diff --git a/.cursor/rules/deobfuscate-on-learn.mdc b/.cursor/rules/deobfuscate-on-learn.mdc new file mode 100644 index 000000000..159963b4e --- /dev/null +++ b/.cursor/rules/deobfuscate-on-learn.mdc @@ -0,0 +1,37 @@ +--- +description: On any evidenced understanding of obfuscated client code, run void-client-deobfuscate skill +alwaysApply: true +--- + +# Deobfuscate when you learn + +When you **figure out** what an obfuscated class / method / field / constant / flow does (call sites, strings, protocol, bit flags — not guesses), **do not leave the names as-is**. + +## Mandatory next step + +1. Read and follow the skill: + `.cursor/skills/void-client-deobfuscate/SKILL.md` +2. Also follow the workspace rename+comment rule (`void-client-deobfuscate.mdc`). +3. Apply a small lote: rename with evidence, comment densely, sync reflection strings if needed, verify. + +## Triggers (any of these) + +- Bugfix that reveals intent (`item` console echo, camera, packets, …) +- You can explain a `method####` / `anInt####` / `aBoolean####` / opaque class in plain English +- A misnamed type (e.g. “NumberFormatter” that is actually an item def) +- User asks to clarify / rename / “desofuscar” + +## Do not skip + +- Waiting for the user to say `/void-client-deobfuscate` — if you learned it, deobfuscate in the same turn (or immediately after the fix). +- Renaming without evidence, global replace of non-unique `methodNNN`, or skipping `check_reflection.py` when hosts look up members by string. + +## Verify before claiming done + +```bash +python3 .cursor/skills/void-client-deobfuscate/scripts/check_reflection.py +./gradlew :client:compileJava +cd ios && ./gradlew compileJava +``` + +Commit / push only when the user asks. diff --git a/.cursor/rules/lean-ctx.mdc b/.cursor/rules/lean-ctx.mdc new file mode 100644 index 000000000..0deff6baf --- /dev/null +++ b/.cursor/rules/lean-ctx.mdc @@ -0,0 +1,38 @@ +--- +description: "lean-ctx hybrid: MUST use ctx_read/ctx_search (MCP) + lean-ctx -c (CLI). NEVER use native Read/Grep/Shell." +alwaysApply: true +--- + +# lean-ctx — Context Engineering Layer + + +## Mode: Hybrid (MCP reads + CLI shell) + +CRITICAL: ALWAYS use lean-ctx tools. This is NOT optional. + +## Tool Mapping (MANDATORY) +| Instead of | MUST USE | Example | +|------------|----------|---------| +| Read/cat/head/tail | `ctx_read(path, mode)` | `ctx_read("src/main.rs")` (omit mode = auto) | +| Grep/rg/find | `ctx_search(pattern, path)` | `ctx_search("fn handle", "src/")` | +| Shell/bash | `lean-ctx -c ""` | `lean-ctx -c "cargo test"` | +| ls/find | `lean-ctx ls [path]` | `lean-ctx ls src/ --depth 3` | +| Edit (when Read unavail.) | `ctx_edit(path, old, new)` | `ctx_edit("f.rs", "old", "new")` | + +## ctx_read Modes (omit mode to auto-select — recommended) +| Goal | Mode | +|------|------| +| Exploring / unsure (default) | `auto` | +| Edit target | `full` | +| API surface | `signatures` | +| Post-edit check | `diff` | +| Overview | `map` | +| Region | `lines:N-M` | + +## Workflow: Orient → Locate → Read → Edit → Verify → Record +Use `ctx_overview` or `ctx_compose` first. Then `ctx_search`/`ctx_semantic_search`. +Read with `ctx_read(path, mode)`. Edit with native Edit or `ctx_edit`. +Verify: `ctx_read(path, "diff")` + `lean-ctx -c "test cmd"`. + +REMINDER: You MUST use lean-ctx tools. NEVER use native Read, Grep, or Shell directly. + diff --git a/.cursor/skills/run-mobile-device/SKILL.md b/.cursor/skills/run-mobile-device/SKILL.md new file mode 100644 index 000000000..ffcbd8dd7 --- /dev/null +++ b/.cursor/skills/run-mobile-device/SKILL.md @@ -0,0 +1,72 @@ +--- +name: run-mobile-device +description: >- + Build, install, and launch Void OSRS on a physical iPad or Android phone. + Use when the user says restart, deploy, run on device, iPad, iOS device, + make android, install, or relaunch the mobile client. +--- + +# Run Void on device + +Game server must already be up on **TCP 43594**. + +This skill lives in the **void-client** repo. Run scripts from `void-client/` (this directory). + +**Always execute the scripts** (do not paste gradle/signing flags by hand): + +| Device | Command | `block_until_ms` | +|--------|---------|------------------| +| iPad | `bash .cursor/skills/run-mobile-device/scripts/ios-device.sh` | `240000` | +| Android USB | `bash .cursor/skills/run-mobile-device/scripts/android-device.sh` | `180000` | + +When the user says **restart** / **deploy** without a platform: + +1. Just edited `ios/` or `GameController.java` → iPad script. +2. Just edited `android/` or `MainActivity.java` → Android script. +3. Else: iPad if `xcrun devicectl list devices` shows a physical iPad `available`; else Android if `adb devices` has `device`. If both, iPad. + +Do **not** use `make ios` for a physical iPad (Simulator only). + +## iOS iPad + +The script: checks arm64 JDK 17 → **`robovmInstall`** (flat signed bundle in `build/robovm/`) → **always** re-wrap into a fresh `Void.app` → **`devicectl install` + `launch`**. + +Do **not** reuse a previous `Void.app` — `robovmInstall` writes beside it; keeping the old wrap installs a stale binary. Do **not** use `launchIOSDevice` (AppLauncher `--console` hangs). + +Defaults (override with env): + +| Env | Default | +|-----|---------| +| `JAVA_17` | `$HOME/.jdks/jdk-17.0.20.1+1/Contents/Home` | +| `IOS_UDID` | `00008120-000E7D8830214932` (hardware UDID, **not** the `Identifier` from `devicectl list`) | +| `IOS_SIGN_IDENTITY` | `Apple Development: Matheus Gois (885DD2XQL9)` | +| `IOS_PROVISIONING_PROFILE` | `bdd4f76c-78f2-493c-b2e0-66f72e688f77` | + +If install fails, re-query UDID: + +```bash +xcrun devicectl list devices +xcrun devicectl device info details --device iPad # Hardware.UDID +``` + +Signing rediscovery: `security find-identity -v -p codesigning`. Team `CTAFH43K36`. + +Bundle id: `world.gregs.voidosrs.ios`. + +Simulator only if asked: `make ios` / `make ios-relaunch`. + +## Android USB + +The script refuses to hang if `adb devices` is empty. Then `make android` (installDebug + reverse `:43594` + launch). + +- Package `world.gregs.voidosrs.android` / `.MainActivity` +- USB reverse → phone uses host `127.0.0.1:43594` +- LAN: `make android-server SERVER_IP=` +- Logs: `make android-log` +- Already installed: `make android-run` + +## Server host + +Saved in `{user.home}/void-server.txt` (in-app picker). Do not change unless asked. + +Overrides: `-Dvoid.server=` (host only, no `http://` / port). Android also `adb shell setprop debug.void.server ` then relaunch. diff --git a/.cursor/skills/run-mobile-device/scripts/android-device.sh b/.cursor/skills/run-mobile-device/scripts/android-device.sh new file mode 100644 index 000000000..cb3c23b6b --- /dev/null +++ b/.cursor/skills/run-mobile-device/scripts/android-device.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env bash +# Install debug APK, adb reverse :43594, launch MainActivity. +set -euo pipefail + +ROOT="$(cd "$(dirname "$0")/../../../.." && pwd)" + +devices="$(adb devices | awk 'NR>1 && $2=="device" {print $1}')" +if [[ -z "$devices" ]]; then + echo "no Android device (adb devices empty / unauthorized). Plug in USB and authorize." >&2 + adb devices -l >&2 + exit 1 +fi + +cd "$ROOT" +make android +echo "OK — android launched" diff --git a/.cursor/skills/run-mobile-device/scripts/ios-device.sh b/.cursor/skills/run-mobile-device/scripts/ios-device.sh new file mode 100644 index 000000000..71d5f6ce5 --- /dev/null +++ b/.cursor/skills/run-mobile-device/scripts/ios-device.sh @@ -0,0 +1,69 @@ +#!/usr/bin/env bash +# Build + sign via robovmInstall, wrap flat installDir into Void.app, then +# install/launch on iPad via devicectl (no AppLauncher --console hang). +set -euo pipefail + +ROOT="$(cd "$(dirname "$0")/../../../.." && pwd)" +IOS="$ROOT/ios" +INSTALL_DIR="$IOS/build/robovm" +APP="$INSTALL_DIR/Void.app" +JAVA_17="${JAVA_17:-$HOME/.jdks/jdk-17.0.20.1+1/Contents/Home}" +UDID="${IOS_UDID:-00008120-000E7D8830214932}" +SIGN_ID="${IOS_SIGN_IDENTITY:-Apple Development: Matheus Gois (885DD2XQL9)}" +PROFILE="${IOS_PROVISIONING_PROFILE:-bdd4f76c-78f2-493c-b2e0-66f72e688f77}" +BUNDLE="${IOS_BUNDLE:-world.gregs.voidosrs.ios}" + +if [[ ! -x "$JAVA_17/bin/java" ]]; then + echo "missing arm64 JDK 17 at JAVA_17=$JAVA_17" >&2 + exit 1 +fi +if ! "$JAVA_17/bin/java" -XshowSettings:properties -version 2>&1 | grep -q 'os.arch = aarch64'; then + echo "JAVA_17 must be arm64 (os.arch=aarch64)" >&2 + "$JAVA_17/bin/java" -XshowSettings:properties -version 2>&1 | grep os.arch >&2 || true + exit 1 +fi + +# robovmInstall always writes flat into INSTALL_DIR. A leftover Void.app from the +# previous wrap makes getAppDir prefer it and our old script would install that +# stale bundle instead of the freshly linked binary. +rm -rf "$APP" + +cd "$IOS" +JAVA_HOME="$JAVA_17" PATH="$JAVA_17/bin:$PATH" ./gradlew --no-daemon robovmInstall \ + -Probovm.arch=arm64 \ + -Probovm.iosSkipSigning=false \ + -Probovm.iosSignIdentity="$SIGN_ID" \ + -Probovm.iosProvisioningProfile="$PROFILE" + +if [[ ! -x "$INSTALL_DIR/Void" || ! -f "$INSTALL_DIR/Info.plist" ]]; then + echo "build finished but flat install missing ($INSTALL_DIR/Void)" >&2 + ls -la "$INSTALL_DIR" >&2 || true + exit 1 +fi + +# Wrap flat installDir → Void.app for devicectl (every run, never reuse stale wrap). +mkdir -p "$APP" +shopt -s nullglob +for item in "$INSTALL_DIR"/*; do + base="$(basename "$item")" + case "$base" in + Void.app|.gitkeep|ipabuild|*.ipa) continue ;; + esac + mv "$item" "$APP/" +done +shopt -u nullglob + +if [[ ! -x "$APP/Void" ]]; then + echo "failed to assemble $APP" >&2 + ls -la "$APP" >&2 || true + exit 1 +fi + +echo "installing $APP ($(du -sh "$APP/Void" | awk '{print $1}'))…" +xcrun devicectl device install app --device "$UDID" "$APP" +if ! xcrun devicectl device process launch --device "$UDID" "$BUNDLE"; then + echo "install OK — unlock the iPad and relaunch:" >&2 + echo " xcrun devicectl device process launch --device $UDID $BUNDLE" >&2 + exit 1 +fi +echo "OK — launched $BUNDLE on $UDID" diff --git a/.cursor/skills/void-client-deobfuscate/SKILL.md b/.cursor/skills/void-client-deobfuscate/SKILL.md new file mode 100644 index 000000000..7e6af4d77 --- /dev/null +++ b/.cursor/skills/void-client-deobfuscate/SKILL.md @@ -0,0 +1,157 @@ +--- +name: void-client-deobfuscate +description: >- + Evidence-based rename of obfuscated Java fields/methods in void-client + (RS634), with aggressive comments, reflection-string sync for mobile hosts, + and desktop/iOS compile gates. Use when the user asks to deobfuscate, rename + obfuscated code, continue deob, lote/batch renames, or clarify + Class*/method####/anInt#### names — especially after camera/viewport/input + renames that touch AwtHost reflection. +--- + +# void-client deobfuscation + +Work from **`void-client/`** (this repo). Canonical sources: **`client/`**. + +Also follow the workspace rule [`void-client-deobfuscate.mdc`](../../../../.cursor/rules/void-client-deobfuscate.mdc) (rename + comment when you understand something). Domain map: [`client/Architecture.md`](../../../client/Architecture.md). + +## Goal + +Rename obfuscated types/fields/methods to descriptive English names **only with evidence**, add dense comments, keep **desktop + iOS** compiling, and **keep mobile reflection strings in sync**. Do **not** treat the job as done while thousands of `method####` remain (check with the script below). + +Commit / push **only when the user asks**. Message style: + +``` +Rename evidenced fields and methods across client deobfuscation. +``` + +## Package model (critical) + +- All 634 types live in the Java **unnamed package**. +- Nested folders under `client/` are Gradle **`srcDir`s**, not packages — never add `package …`. +- Android/iOS flatten + rewrite imports (`java.awt` → `voidawt`, etc.). Edit game logic in `client/` only. + +## Lote workflow + +Repeat until the user stops or the island is exhausted: + +1. **Find** high-evidence islands (`method####`, `anInt####`, `aBoolean####`, `aClass####`, opaque classes). +2. **Prove** uniqueness of each short token (one definition) before global replace. +3. **Rename** whole-word, outside string literals; fix `this.field = field` after field renames. +4. **Sync reflection** if the old name appears in mobile host string literals (mandatory — see below). +5. **Comment** class headers, non-obvious methods, magic constants, “why” on dense blocks. +6. **Verify** reflection check + both compiles (below). +7. Optionally `lean-ctx knowledge remember` / `session decision` for continuity. + +Typical lote: **~15–40** renames with clear evidence — not a blind mass rename. + +### Evidence that counts + +| Signal | Examples | +|--------|----------| +| Strings / UI | console commands, `printConsole`, localized tips | +| Protocol / IO | `Buffer` read/write shapes, UPDATE_INV slots, JS5 | +| Call-site role | camera lerp, FPS ring, ignore list, world map | +| Bit math / flags | `0x800`, `0x18`, plane/bridge flags | +| Stdlib | `quickSort`, `Math.atan2`, `Runtime` memory | + +**Skip:** opaque `anInt++` counters; JNI **`native`** method names; guesses without call-site proof. + +### Unsafe short names + +Tokens like `method83` / `method121` may exist on **multiple** classes. Before `\bmethodNNN\b` replace: + +```bash +python3 .cursor/skills/void-client-deobfuscate/scripts/check_defs.py method2284 method1913 +``` + +If more than one definition → rename only the defining file + `ThatClass.method` / override chain (`Applet_Sub1` + `client`). + +### Rename mechanics + +Prefer a small Python pass: longest-old-first, `\b…\b`, skip `"…"` / `'…'` string ranges. + +**String literals that are reflection targets must still be updated** (hosts look up members by name). After any rename that might touch camera, viewport, console, or game state, run the reflection gate. + +Class renames: update Android stubs under `android/` if shared; iOS prefer: + +```bash +cd ios && ./gradlew clean compileJava +``` + +(Stale `ios/build/generated` breaks builds after renames.) + +## Reflection bridge (mandatory gate) + +Mobile hosts do **not** call client fields directly. They use `Class.forName` + `getDeclaredField` / `getDeclaredMethod` / `setStaticInt` with **string names**. Failures are swallowed (`catch (Throwable ignored)`), so renames silently kill features: + +| Symptom | Broken reflection | +|---------|-------------------| +| 1-finger / right-stick camera dead | `cameraYaw` / `cameraPitch` / `clampCameraAngles` | +| Resize / FS mode wrong | `GlToolkitSub2.anInt7666`, `fullscreenAvailable` | +| Server picker never shows | `Component49.clientState`, `errorCount` | +| Dev console open/close flaky | `openDevConsole` / `closeDevConsole` | + +### Hotspots to update with the rename + +| File | Role | +|------|------| +| `ios/src/main/java/voidawt/AwtHost.java` | camera orbit, viewport sync, console | +| `android/app/src/main/java/voidawt/AwtHost.java` | same (keep in lockstep with iOS) | +| `android/app/src/main/java/world/gregs/voidosrs/ServerPrefs.java` | `clientState` / JS5 `errorCount` (iOS copies this via Gradle) | + +When renaming a field/method/class used there: update **both** AwtHosts (and ServerPrefs if applicable) in the **same lote**. Prefer updating the reflective string + a short comment naming the client member. + +### Check before claiming lote done + +```bash +python3 .cursor/skills/void-client-deobfuscate/scripts/check_reflection.py +``` + +Must print `PASS`. If you add a new reflective bridge, extend `EXPECTED` / `STALE_STRINGS` in that script. + +## Verify (every lote) + +From `void-client/`: + +```bash +python3 .cursor/skills/void-client-deobfuscate/scripts/check_reflection.py +./gradlew :client:compileJava +cd ios && ./gradlew compileJava +``` + +Desktop must be green. iOS must be green before claiming the lote done. After class renames use iOS `clean compileJava`. + +Count remaining: + +```bash +python3 .cursor/skills/void-client-deobfuscate/scripts/count_methods.py +``` + +## Hot areas (still dense) + +| Area | Path hints | +|------|------------| +| Bootstrap / loop | `client/src/client.java`, `Applet_Sub1`, `LoadingManager` | +| Packets | `client/net/packet/PacketReader`, `Buffer` | +| CS2 | `client/script/ClientScriptExecutor` | +| Staging | `client/components/Component*`, `client/misc/DisplayModeManagerContainer*` | +| Toolkit | `client/toolkit/**`, `client/shaders/**` | + +Already clarified islands (do not regress names): camera (`cameraYaw`/`cameraPitch`/`clampCameraAngles`/`cameraFocusX`/…), containers (`NodeSub13.itemIds`/`amounts`, `setContainerSlot`), applet lifecycle (`initializeClient`/`pulseGame`/…), loading (`pulseLoading`, `currentLoadingState`), window mode (`fullscreenAvailable`, `getWindowMode`), game FSM (`Component49.clientState`). + +## Deploy (only if user asks) + +Physical iPad: skill **`run-mobile-device`** → `bash .cursor/skills/run-mobile-device/scripts/ios-device.sh`. + +## Anti-patterns + +- Renaming without reading call sites +- Global replace of non-unique `methodNNN` +- Renaming JNI natives +- Adding Java packages under `client/` +- Renaming client members used via reflection **without** updating `AwtHost` / `ServerPrefs` strings +- Assuming desktop compile proves mobile input/viewport still works (reflection fails silently) +- Committing unprompted +- Marking “deob complete” while `count_methods.py` still shows thousands +- If the member is looked up by **string reflection** in `voidawt.AwtHost` or `ServerPrefs`, update those strings in the same change (failures are swallowed — camera/viewport/server-picker die silently). Gate: `python3 .cursor/skills/void-client-deobfuscate/scripts/check_reflection.py`. diff --git a/.cursor/skills/void-client-deobfuscate/scripts/check_defs.py b/.cursor/skills/void-client-deobfuscate/scripts/check_defs.py new file mode 100644 index 000000000..8f178dd9c --- /dev/null +++ b/.cursor/skills/void-client-deobfuscate/scripts/check_defs.py @@ -0,0 +1,67 @@ +#!/usr/bin/env python3 +"""List definition sites for method#### tokens (uniqueness gate before rename).""" +from __future__ import annotations + +import re +import sys +from pathlib import Path + +# scripts/ → skill → skills → .cursor → void-client +ROOT = Path(__file__).resolve().parents[4] / "client" +DECL = re.compile( + r"(?:(?:public|private|protected|static|final|synchronized)\s+)*" + r"[\w.\[\]]+\s+(method\d+)\s*\(" +) + + +def defs_for(token: str) -> list[str]: + out: list[str] = [] + pat = re.compile(rf"\b{re.escape(token)}\s*\(") + for path in ROOT.rglob("*.java"): + text = path.read_text(errors="replace") + if token not in text: + continue + for i, line in enumerate(text.splitlines(), 1): + if not pat.search(line): + continue + if DECL.search(line) or re.search( + rf"(?:void|boolean|int|long|float|double|String|byte|short|char|[\w.]+)\s+{re.escape(token)}\s*\(", + line, + ): + # Heuristic: looks like a declaration, not only a call + if re.search( + r"\b(static|final|void|boolean|int|private|public|protected|abstract)\b", + line, + ) and "(" in line: + stripped = line.strip() + if stripped.startswith("if ") or stripped.startswith("for ") or stripped.startswith("while "): + continue + if re.search(rf"\.\s*{re.escape(token)}\s*\(", line) and "static" not in line and "void" not in line.split(token)[0][-20:]: + # ClassName.method( — usually a call + if not re.search(rf"(void|boolean|int|[\w.]+)\s+{re.escape(token)}\s*\(", line): + continue + out.append(f"{path.relative_to(ROOT)}:{i}:{stripped[:120]}") + return out + + +def main() -> int: + if len(sys.argv) < 2: + print("usage: check_defs.py method123 [method456 ...]", file=sys.stderr) + return 2 + if not ROOT.is_dir(): + print(f"missing client dir: {ROOT}", file=sys.stderr) + return 1 + bad = 0 + for token in sys.argv[1:]: + found = defs_for(token) + print(f"=== {token} ({len(found)} decl-like) ===") + for row in found: + print(row) + if len(found) != 1: + bad += 1 + print(f"WARN: expected exactly 1 definition for {token}") + return 1 if bad else 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/.cursor/skills/void-client-deobfuscate/scripts/check_reflection.py b/.cursor/skills/void-client-deobfuscate/scripts/check_reflection.py new file mode 100644 index 000000000..4717e2f25 --- /dev/null +++ b/.cursor/skills/void-client-deobfuscate/scripts/check_reflection.py @@ -0,0 +1,175 @@ +#!/usr/bin/env python3 +""" +Validate string-based reflection targets used by mobile hosts against client/. + +Deob renames that leave Class.forName(...).getDeclaredField/Method("old") +break camera orbit, viewport sync, server picker, etc. — hosts catch Throwable +and swallow the failure. + +Usage (from void-client/): + python3 .cursor/skills/void-client-deobfuscate/scripts/check_reflection.py +""" +from __future__ import annotations + +import re +import sys +from pathlib import Path + +SKILL = Path(__file__).resolve().parents[1] +ROOT = SKILL.parents[2] # void-client/ +CLIENT = ROOT / "client" + +HOST_FILES = [ + ROOT / "ios/src/main/java/voidawt/AwtHost.java", + ROOT / "android/app/src/main/java/voidawt/AwtHost.java", + ROOT / "android/app/src/main/java/world/gregs/voidosrs/ServerPrefs.java", +] + +# Hand-parsed targets that matter (setStatic* + known forName chains). +# Keep in sync when adding new reflective bridges. +EXPECTED: list[tuple[str, str, str]] = [ + # kind, class, member + ("field", "Component225", "aFrame476"), + ("field", "InputHandler", "anInt4276"), + ("field", "DisplayModeManagerContainer295", "anInt5911"), + ("field", "DisplayModeManagerContainer23", "anInt1524"), + ("field", "GlToolkitSub2", "anInt7666"), + ("field", "Component236", "anInt4017"), + ("field", "PacketReader", "anInt10432"), + ("field", "SocketConnector", "anInt3473"), + ("field", "NodeSub22", "anInt6857"), + ("field", "NodeSub48", "anInt7129"), + ("field", "DisplayModeManagerContainer147", "anInt4167"), + ("field", "Cp1252Decoder", "fullscreenAvailable"), + ("field", "Component112", "cameraYaw"), + ("field", "DisplayModeManagerContainer154", "cameraPitch"), + ("method", "DisplayModeManagerContainer199", "clampCameraAngles"), + ("field", "StringCache", "devConsoleOpen"), + ("method", "Component192", "openDevConsole"), + ("method", "AbstractShaderSub4", "closeDevConsole"), + ("method", "BuildInfo", "isConsolePromptTap"), + ("field", "Component49", "clientState"), + ("field", "HardwareProbe", "aClass248_6601"), + ("field", "Component253", "errorCount"), +] + +# Old names that must not appear as reflection string literals anymore. +STALE_STRINGS = ( + "ha_Sub2", + "aBoolean5219", + "aBoolean4328", + "anInt4674", + "anInt3213", + "aFloat3938", + "aFloat1287", + "method1725", + "method2363", + "method3543", +) + +SET_INT = re.compile(r'setStaticInt\(\s*"([^"]+)"\s*,\s*"([^"]+)"') +SET_BOOL = re.compile(r'setStaticBoolean\(\s*"([^"]+)"\s*,\s*"([^"]+)"') +FOR_NAME = re.compile(r'Class\.forName\(\s*"([^"]+)"\s*\)') +GET_FIELD = re.compile(r'getDeclaredField\(\s*"([^"]+)"\s*\)') +GET_METHOD = re.compile(r'getDeclaredMethod\(\s*"([^"]+)"\s*') + + +def class_file(name: str) -> Path | None: + hits = list(CLIENT.rglob(f"{name}.java")) + return hits[0] if hits else None + + +def has_member(cls: str, member: str, kind: str) -> tuple[bool, str]: + path = class_file(cls) + if path is None: + return False, "CLASS_MISSING" + text = path.read_text(errors="replace") + if kind == "field": + ok = re.search(rf"\b{re.escape(member)}\b", text) is not None + else: + ok = re.search(rf"\b{re.escape(member)}\s*\(", text) is not None + return ok, str(path.relative_to(CLIENT)) + + +def extract_live_targets() -> set[tuple[str, str, str]]: + """Parse host sources for setStatic* and forName→getDeclared* chains. + + Chains may span lines (``.getDeclaredMethod(...)`` continued), but a new + ``Class.forName`` resets the receiver so we do not cross-wire members. + """ + found: set[tuple[str, str, str]] = set() + for path in HOST_FILES: + if not path.is_file(): + continue + text = path.read_text(errors="replace") + for m in SET_INT.finditer(text): + found.add(("field", m.group(1), m.group(2))) + for m in SET_BOOL.finditer(text): + found.add(("field", m.group(1), m.group(2))) + + current: str | None = None + for line in text.splitlines(): + fm = FOR_NAME.search(line) + if fm: + current = fm.group(1) + if "." in current: + current = None # host / JDK / packaged type + if current is None: + continue + # Instance lookup: js5.getClass().getDeclaredField("errorCount") + if "getClass()" in line and GET_FIELD.search(line): + for ff in GET_FIELD.finditer(line): + found.add(("field", "Component253", ff.group(1))) + continue + for ff in GET_FIELD.finditer(line): + found.add(("field", current, ff.group(1))) + for mm in GET_METHOD.finditer(line): + found.add(("method", current, mm.group(1))) + # Keep `current` across lines so + # Class c = Class.forName("Foo"); + # c.getDeclaredField("bar"); + # pairs correctly. Next forName resets. + return found + + +def main() -> int: + if not CLIENT.is_dir(): + print(f"missing client dir: {CLIENT}", file=sys.stderr) + return 1 + + bad = 0 + print("=== expected reflection bridge ===") + for kind, cls, mem in EXPECTED: + ok, where = has_member(cls, mem, kind) + status = "OK " if ok else "BAD" + print(f" {status} {cls}.{mem} ({kind}) [{where}]") + if not ok: + bad += 1 + + print("\n=== live host string literals ===") + live = extract_live_targets() + for kind, cls, mem in sorted(live): + ok, where = has_member(cls, mem, kind) + status = "OK " if ok else "BAD" + print(f" {status} {cls}.{mem} ({kind}) [{where}]") + if not ok: + bad += 1 + + print("\n=== stale reflection strings (must be absent) ===") + for path in HOST_FILES: + if not path.is_file(): + continue + text = path.read_text(errors="replace") + for stale in STALE_STRINGS: + if f'"{stale}"' in text: + print(f" STALE {path.relative_to(ROOT)} → \"{stale}\"") + bad += 1 + if bad == 0: + print(" (none)") + + print(f"\n{'FAIL' if bad else 'PASS'}: {bad} problem(s)") + return 1 if bad else 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/.cursor/skills/void-client-deobfuscate/scripts/count_methods.py b/.cursor/skills/void-client-deobfuscate/scripts/count_methods.py new file mode 100644 index 000000000..72c9f86e5 --- /dev/null +++ b/.cursor/skills/void-client-deobfuscate/scripts/count_methods.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python3 +"""Count unique method#### tokens under client/.""" +from __future__ import annotations + +import re +import sys +from pathlib import Path + +# scripts/ → skill → skills → .cursor → void-client +ROOT = Path(__file__).resolve().parents[4] / "client" +if not ROOT.is_dir(): + print(f"missing client dir: {ROOT}", file=sys.stderr) + sys.exit(1) + +methods: set[str] = set() +files = 0 +for path in ROOT.rglob("*.java"): + files += 1 + methods.update(re.findall(r"\bmethod\d+\b", path.read_text(errors="replace"))) + +print(f"java files: {files}") +print(f"unique method####: {len(methods)}") diff --git a/.cursorignore b/.cursorignore new file mode 100644 index 000000000..af96d2077 --- /dev/null +++ b/.cursorignore @@ -0,0 +1,35 @@ +# Build outputs +build/ +**/build/ +out/ +**/intermediates/ + +# Gradle caches +.gradle/ +**/.gradle/ + +# Android NDK / local machine config +**/.cxx/ +**/local.properties +android/debug-screenshots/ +android/**/*.png + +# IDE / tooling caches +.idea/ +**/*.iml +.omo/ +.codegraph/ + +# Compiled / packaged artifacts +*.class +*.dex +*.apk +*.aab +*.ipa +*.war +*.ear +*.nar + +# Logs / crash dumps +*.log +hs_err_pid* diff --git a/.cursorrules b/.cursorrules new file mode 100644 index 000000000..1c5bb18eb --- /dev/null +++ b/.cursorrules @@ -0,0 +1,7 @@ + +# lean-ctx + +Prefer lean-ctx MCP tools: ctx_read > Read/cat, ctx_search > Grep/rg, ctx_shell > bash, ctx_tree > ls/find. +Edit/Write/Glob stay native; ctx_edit only when Edit needs an unavailable Read. +Full rules: ~/.cursor/rules/lean-ctx.mdc (auto-loaded) — do not duplicate here. + diff --git a/.gitignore b/.gitignore index e1327be22..c2f80dbfd 100644 --- a/.gitignore +++ b/.gitignore @@ -107,3 +107,5 @@ hs_err_pid* # End of https://www.gitignore.io/api/java,intellij !/graphics/graphics.iml !/client/client.iml + +.gradle/ diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 000000000..cf94511a5 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,10 @@ +# Agent Instructions + + +## lean-ctx + +Prefer lean-ctx MCP tools over native equivalents for token savings: +`ctx_read` > Read/cat, `ctx_search` > Grep/rg, `ctx_shell` > bash, `ctx_tree` > ls/find. +Native Edit/Write/Glob stay as-is; use `ctx_edit` only when Edit needs an unavailable Read. +Full rules: LEAN-CTX.md (open on demand — do not auto-load). + diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md new file mode 100644 index 000000000..edb033dbb --- /dev/null +++ b/ARCHITECTURE.md @@ -0,0 +1,379 @@ +# Void mobile architecture (Android + iOS) + +The desktop client is a decompiled **RuneScape 634** Java applet (`client/src`). Android and iOS run that **same Java**, with a software renderer and a thin native host. OpenGL / DirectX / jaggl natives are stubbed so the toolkit falls back to the CPU pixel buffer. + +Both phones talk to the Void game process on **TCP 43594** (JS5 + login). Start `:game:run` on the Mac before launching either app. + +``` + ┌─────────────────────────────────────────┐ + │ void-client/client/src (Java 634) │ + │ Loader → applet → software ha_* │ + └────────────────┬────────────────────────┘ + │ Gradle rewrite + │ java.awt → voidawt, … + ┌────────────────┴────────────────────────┐ + │ voidawt / voidapplet / stubs │ + │ (shared; Android is source of truth) │ + └────────────┬───────────────┬────────────┘ + │ │ + ┌────────────▼──────┐ ┌─────▼──────────────┐ + │ Android ART │ │ iOS RoboVM AOT │ + │ MainActivity │ │ Main / GameController + │ SurfaceView │ │ UIImageView │ + │ Bitmap present │ │ ArgbBridge present │ + └───────────────────┘ └────────────────────┘ +``` + +## Layout + +| Path | Role | +|------|------| +| `client/src` | Canonical 634 sources. Keep using `java.awt` here. | +| `android/` | Android Gradle app. Owns **shared** `voidawt`, JNI stubs, `MainActivity`. | +| `android/scripts/gen_stubs.py` | Regenerates `jagdx` / `jaggl` / `jaclib` / `jagtheora` / `jagex3` stubs from `refs/2011scape-client`. | +| `ios/` | MobiVM/RoboVM 2.3.25 project. Copies Android Java, overlays iOS-only files. | +| `ios/src/main/java` | iOS host + iOS `voidawt` that cannot compile on Android (`Graphics`, `Font`, `Toolkit`, `AwtHost`). | +| `ios/tools/robovm-gradle-plugin-2.3.25-patched.jar` | Required compiler plugin (see [RoboVM patches](#robovm-patches)). | + +Do **not** edit `android/app/build/generated` or `ios/build/generated`. They are rewrite output. + +## What was built + +### 1. Package rewrite (both platforms) + +The 634 code imports desktop JDK types Android/iOS do not provide. `prepareClientSources` copies `client/src` and rewrites imports: + +| Original | Replacement | Why | +|----------|-------------|-----| +| `java.awt` | `voidawt` | No AWT on ART / RoboVM UIKit | +| `javax.swing` | `voidswing` | Loader still constructs a `JFrame` on desktop; mobile stubs it | +| `javax.sound` | `voidsound` | No JavaSound — real PCM out (see [Audio](#5-audio-voidsound)) | +| `java.applet` | `voidapplet` | No applet container | +| `java.lang.management` / `com.sun.management` | `voidmgmt` / `voidsun.management` | No MXBeans | +| `sun.net` | `voidsun.net` | Internal HTTP auth types | + +Android: `android/app/build.gradle.kts`. +iOS: `ios/build.gradle` (`prepareClientSources` + `prepareSharedSources`). + +`Loader` is still the entry: hosts set `Loader.address`, call `setSize`, `init`. Cache lives under `user.home` (Android app files dir / iOS Documents). + +### 2. AWT shim (`voidawt`) + +A minimal AWT: `Component`, `Canvas`, `Graphics`, `Image`, mouse/key events, `Toolkit` PNG decode. + +The software renderer writes an `int[]` ARGB buffer. `Canvas` / `Graphics` call `AwtHost.present(...)`. The native host blits that buffer to the screen every frame. + +`AwtHost` also: + +- Tracks logical size (`GAME_WIDTH` / `GAME_HEIGHT`, default **800×600** fullscreen). +- Optionally caps the long edge (`LOGICAL_MAX_EDGE`; `0` = fill the view until FS frame locks size). +- Pushes viewport ints into obfuscated statics (`Class92.anInt1524`, …) so HUD/splash match the surface. +- Injects mouse, wheel, keys, and camera orbit (`Class314` / `Class76`) via reflection. + +**Android-only files** (use `android.graphics`): `AwtHost`, `Graphics`, `Font`, `FontMetrics`, `Toolkit`. +**iOS-only overlays** of those five, plus `ArgbBridge`, `Main`, `GameController`, `GameView`. iOS `Graphics.drawString` uses CoreText/`UIFont` (not a handmade bitmap font). + +Everything else under `android/app/src/main/java` (stubs, `voidapplet`, events) is copied to iOS as-is. + +### 3. Native library stubs + +The client links Jagex JNI (`jaggl`, `jagdx`, `jaclib`, `jagtheora`). Natives are stubbed so GPU paths fail closed and **software `ha_*` runs**. + +Regenerate (needs `refs/2011scape-client`): + +```bash +python3 void-client/android/scripts/gen_stubs.py +``` + +Do not reintroduce real Direct3D/OpenGL on mobile unless you replace the whole present path. + +### 4. Input + +Mapped to AWT so `Class373_Sub1` / `Class373_Sub2` keep working. + +| Gesture | AWT | +|---------|-----| +| Tap | Left click (`BUTTON1`) | +| Long-press (~400–500ms) | Right click (`BUTTON3` + `META_MASK` / modifier `0x4`) | +| Drag (one finger, past slop) | Camera yaw/pitch | +| Pinch (2+ fingers) | Mouse wheel (zoom) | +| Four-finger tap | Developer console toggle (same as `` ` ``); opens/closes soft keyboard | +| Tap while console open | Soft keyboard toggle | +| Tap while soft keyboard open (outside text) | Dismiss IME (Android + iOS) | + +`Class373_Sub2` reads **modifiers**, not only `getButton()`. `AwtHost.injectMouse` must set: + +- button 1 → `0x10` (`BUTTON1_MASK`) +- button 2 → `0x08` +- button 3 → `0x04` (`BUTTON3_MASK` / `META_MASK`) + +Android long-press: `Handler.postDelayed` in `MainActivity.GameView`. +iOS long-press: `UILongPressGestureRecognizer` on `GameView` (GCD timers were cancelled by tiny finger jitter). + +#### Soft keyboard (`MobileKeyboard` + host IME) + +Hosts keep a 1px IME field (`EditText` / `UITextField`) and call `AwtHost.requestSoftKeyboard` / `requestHideSoftKeyboard`. The **634** side decides *when* to open: + +| File | Role | +|------|------| +| `client/src/MobileKeyboard.java` | On interface press: open only for **type-4 single-line** text widgets (height ≤ 48). Login root layers have a keyListener and must **not** open IME. | +| `client.java` / `Class348_Sub40_Sub7` | Apply `MobileKeyboard.liftPx` so chatbox draw + hit-test move up with the keyboard | +| `AwtHost.setKeyboardInset` | Host reports IME overlap in **view** pixels; client converts to game Y | + +Chat lift: only the gameframe chat band (not login, not fullscreen layers). Canvas size stays fixed — do **not** pan/resize the whole surface for the keyboard (that letterboxed Android). + +Keyboard FAB / ball is hidden; IME opens from text-field taps. Tap-outside dismiss mirrors Android (`SOFT_KEYBOARD_OPEN` / `keyboardOpen`). + +### 5. Audio (voidsound) + +Desktop uses `javax.sound.sampled` (`Class279_Sub1` → `SourceDataLine`). Mobile rewrites that to `voidsound`. Early stubs threw on `AudioSystem.getLine()`, so the mixer fell through to DirectSound / empty `Class279` and produced **no PCM**. + +Both platforms now implement a real line: + +| Piece | Role | +|-------|------| +| `AudioSystem.getLine` | Returns `PcmSourceDataLine` with format + buffer size from `DataLine.Info` | +| `ByteRing` | JavaSound-style ring; `available()` = **free** bytes (what `Class279_Sub1.method2081` expects) | +| Game mixer | Soft synth + SFX still run in `client/src` (`Class279_Sub1`, `Class348_Sub16_Sub3`, title track “scape main”) | + +#### Android + +- `android/.../voidsound/sampled/PcmSourceDataLine.java` → `AudioTrack` stream + pump thread. +- Resamples **22050→44100** when the device rejects 22050. +- `USAGE_MEDIA` / full volume; `MainActivity.requestAudioFocus()` on create/resume. +- Shared sources live under Android; iOS copies them except the platform line (below). + +```bash +adb logcat -s void-osrs:I | rg 'audio open|peak=' +# Healthy after title music loads: peak > 0 (early peak=0 during splash is normal) +``` + +#### iOS + +- Own `ios/.../voidsound/sampled/PcmSourceDataLine.java` (Android `AudioTrack` version is **excluded** in `ios/build.gradle`). +- **AudioQueue** (16-bit PCM), not `AVAudioEngine` — RoboVM’s `setAudioData(byte[])` only *points* at the Java array; copy into the native `AudioQueueBuffer` via `VM.newDirectByteBuffer`. +- Create/dispose the queue on the **main** thread (`DispatchQueue`) — `AudioQueueNewOutput` from the mixer thread crashes (`objc_retain`). +- Keep `AudioQueue.OutputCallback` as a strong field so the block marshaler cannot GC it. +- `Main` activates `AVAudioSession` category **Playback** at launch. +- Frameworks in `robovm.xml`: `AVFoundation`, `AudioToolbox`, `CoreAudio`. + +```bash +# Simulator: look for +# void-osrs audio open (AudioQueue/main) … +# void-osrs audio write#N … peak=NNNN (NNNN > 0 once music/SFX mix) +``` + +Title music needs JS5 archives (index 6 + instruments). Silence with working hardware usually means cache/music state, not the output path. + +### 6. Networking (JS5 + login) + +Both JS5 (cache) and login use **TCP 43594** against the Void game process (`:game:run` on the Mac). `Loader.modewhere=0` (LIVE) keeps that port; do **not** switch to LOCAL (`4`) unless ports are patched — LOCAL rewrites to `40000+worldid`. + +| Host | Default | +|------|---------| +| Android emulator | `10.0.2.2` (host loopback) | +| Android **device** | Probe `127.0.0.1` first (**adb reverse**), then saved / LAN history | +| iOS Simulator | `127.0.0.1` | +| iOS device | Saved / LAN history (or in-app server picker) | + +Overrides / persistence (first match wins for boot): + +- `-Dvoid.server=` / `System.setProperty("void.server", …)` +- `adb shell setprop debug.void.server ` +- `ServerPrefs` → `user.home/void-server.txt` (newest first, max 5) — shared Android + iOS (`world.gregs.voidosrs.ServerPrefs`) + +Login-screen **Change server** overlay (both hosts) edits that history without rebuilding. Prefer that over hardcoding a LAN IP in source. + +ATS is off for local HTTP (`NSAllowsArbitraryLoads`). Android uses cleartext in debug. + +#### Physical Android **requires** `adb reverse` + +Mac Wi‑Fi firewall typically **blocks** inbound `:43594` from the phone. USB reverse maps phone `127.0.0.1:43594` → host `:43594`: + +```bash +./void-client/android/scripts/adb-reverse.sh +# or: adb reverse tcp:43594 tcp:43594 +``` + +**Re-run after every USB reconnect.** Without reverse, logs show `probe FAIL` / `Connect FAIL … ECONNREFUSED` and the UI ends on `error_game_js5connect`. + +`java.net.preferIPv4Stack=true` is set in `MainActivity` (adb reverse is IPv4-only). `Class297` connects IPv4 literals via `InetAddress.getByAddress` + `Socket.connect(..., 5000)`. + +#### JS5 client knobs (`client/src`) + +| Class | Change | Why | +|-------|--------|-----| +| `Class248` | in-flight queue 20→48; idle timeout 30s→90s | Fewer stalls on slow USB reverse | +| `Class314_Sub1` | local disk queue cap 250→512 | Cache warm path on device | + +Device cache lives at +`/data/data/world.gregs.voidosrs.android/files/.jagex_cache_32/runescape/` (~hundreds of MB after first fill). + +#### Loading stages (what “Checking for updates X%” means) + +`Class56` / `Class164` / `Class52` drive the splash. Useful landmarks: + +| Stage id | Meaning | +|----------|---------| +| 0 | GC / memory settle | +| **1** | Waiting on JS5 **master index** (`Class340.method2674` / archive 255) — stuck here ⇒ no connect | +| 2–3 | Title sprites (archives 13/33/32\|34) — stuck ~3% ⇒ connected but archives not flowing | +| 8+ | Bulk “Checking / Fetching Updates” | +| 19→20 | Fetching done → leave splash | + +Handshake FSM in `client.method101` (`Class47.anInt846`): 0 queue TCP → 1 wait socket → 2 send revision → 3 wait ack → 4 bind `Class248`. Failures go through `method103` then `method82("js5connect"|"js5io"|…)`. + +Debug codes we log: `1000` socket fail, `1001` handshake timeout, `1002` IOException. Four hard fails → fatal `error_game_js5connect` (`Applet_Sub1.aBoolean27`); **must restart the app** after fixing network. + +Healthy phone boot (with reverse): probe/boot → `Connect OK` → stages 1→19 in ~20–30s when cache is warm. + +### 7. Android host + +- Package `world.gregs.voidosrs.android`; device under test: Moto G 50 5G. +- `MainActivity`: landscape `SurfaceView`, present `Bitmap` on the UI thread. +- Soft keyboard: hidden `EditText` IME → `AwtHost.injectKey`; FAB hidden (opens via `MobileKeyboard`). +- Server picker overlay + `ServerPrefs` history; login-screen change-server button polled while on title. +- Touch: leftover finger after pinch ignored until fresh `DOWN`; long-press = right-click. +- Display: pin exclusive FS size across resume/IME inset; crop oversized present buffers so stretch fills (no letterbox). +- `minSdk 26`, `compileSdk 35`, Java 11 bytecode. +- Boot thread: `Class.forName("Loader")`, sets `Loader.address` / `port` / `debug` / `trace`. + +```bash +# Preferred (install + reverse + launch): +cd void-client && bash .cursor/skills/run-mobile-device/scripts/android-device.sh +# or: make android +adb logcat -s void-osrs:I +``` + +#### Android debug surface + +- `System.out` / `err` bridged to logcat tag **`void-osrs`**. +- Bottom on-screen HUD shows last `boot` / `Connect` / `js5` / `load` / `error_game_` line. +- Client (when `Loader.debug`): `Connect:` / `Connect OK:` / `Connect FAIL:`, `js5 fail code=…`, `load … stage=…`. + +#### Display mode / fullscreen fill (mobile patches in `client/src`) + +CS2 compares requested window mode to `Class348_Sub42_Sub12.method3229()`. Lying about resizable while Fixed (wm1) made `getDisplayMode` return 2 → **"Unable to enter display mode"**. + +| File | Behavior | +|------|----------| +| `Class215` | Honest `aBoolean5219 = i_2_ >= 2`; FS fail falls back to **wm2** (not preferred, avoids recurse) | +| `Class164` | After load: prefs **3** + `method830(3, 800, …, 600)` | +| `Class239_Sub8.method1710` | Default display mode **3** (fullscreen) | +| `Class286_Sub5.method2158` | Canvas fill (no letterbox caps) | +| `voidawt.AwtHost` | Default logical **800×600**; `setDisplaySize` locks to FS dims while `Class34.aFrame476` is set | +| `voidawt.GraphicsDevice.getDisplayModes()` | Includes `{800,600}` first for toolkit / CS2 probes | + +#### Critical Android pitfalls (already hit in production) + +1. **`Class311` loading-thread deadlock** + Splash renderer (`Class311.run`) used to `synchronized (this)` around the whole draw. The game thread then blocked on `method2316` / `method2326` → stuck at “Checking for updates 1%” with **no** `Connect:` logs even when reverse was fine. + **Fix:** `method2316` / `method2326` unsynchronized; `run()` no longer holds the instance lock across draw. `aBoolean3908` is `volatile`. + +2. **`jagex3.jagmisc.jagmisc.nanoTime()` stub returned `0`** + `Class241_Sub2` ctor throws on 0 and falls back; after “fixing” it to a real clock, prefer keeping `System.nanoTime()`. Broken timers stall `Applet_Sub1`’s frame pump (`method1861`). + +3. **`Graphics.drawString` used to allocate a full-frame `Bitmap` every call** + On phone resolution that made the splash thread pathologically slow (and worsened lock contention). Now draws into a tight glyph-sized bitmap and blits. + +4. **`error_game_*` is terminal** for that process — fix reverse/server, force-stop, relaunch. + +5. **Gradle JDK transform flake** (`IllegalArgumentException: …/jdkImage`): `./gradlew --stop` and delete the bad `~/.gradle/caches/.../transforms/...` entry, retry. + +### 8. iOS host + +RoboVM **AOT-compiles Java 8** to an arm64 Simulator/device binary (MobiVM 2.3.25). + +- `Main` → `GameController` → `GameView` (`UIImageView`). +- `ArgbBridge` converts `int[]` ARGB → `UIImage` (and PNG decode for `Toolkit`). +- Soft keyboard: near-invisible `UITextField` (must not be `hidden` or `becomeFirstResponder` fails); keyboard notifications → `setKeyboardInset` (no full-canvas pan). +- Server picker overlay + shared `ServerPrefs` (same as Android). +- Fonts: CoreText / `UIFont` (`Font` / `FontMetrics` / `Graphics.drawString`); handmade `BitmapFont` removed. Link `CoreText` in `robovm.xml`. +- Force-link `MobileKeyboard` in `robovm.xml` (reflection from `AwtHost`). +- Landscape only; cache under Documents (`user.home`). +- Simulator: `iosSkipSigning = true`. Physical iPad: signing + `devicectl` (see below). + +**JDK must be arm64** (`uname` / `os.arch = aarch64`). An x86_64 Homebrew JDK makes RoboVM look for `x86_64-simulator` and fail on modern iOS runtimes. + +```bash +# Simulator +export JAVA_HOME="$HOME/.jdks/jdk-17.0.20.1+1/Contents/Home" +cd void-client && make ios + +# Physical iPad (sign + install + launch) +cd void-client && make ios-device +# or: bash .cursor/skills/run-mobile-device/scripts/ios-device.sh +``` + +`gradle.properties` already sets `robovm.arch=arm64` and the device name. Give the daemon **8GB** (`org.gradle.jvmargs=-Xmx8g`). First AOT is slow; later runs reuse `~/.robovm/cache`. + +If `launchIPhoneSimulator` signs the `.app` but SpringBoard crashes, reboot the sim and: + +```bash +xcrun simctl install booted ios/build/robovm.tmp/Void.app +xcrun simctl launch booted world.gregs.voidosrs.ios +``` + +### RoboVM patches + +Stock 2.3.25 cannot AOT this client: + +1. **`forceLinkClasses`**: a lone `**` pulled the world and hung Soot on invokedynamic. Current `ios/robovm.xml` uses `*` plus explicit Jagex / `voidawt` / SSL provider patterns so reflection still finds `Class373_Sub1`, etc. +2. **Invokedynamic transformer**: the client is Java 8 (no bootstrap methods). The plugin’s indy pass is a no-op in the patched jar. +3. **Soot `Typing.minimize`**: obfuscated methods (e.g. `Class66`, `Class237_Sub1`) explode the typing worklist (`O(n²)` ancestor checks). The patched plugin **returns immediately** from `soot.jimple.toolkits.typing.fast.Typing.minimize`. Without that, AOT never finishes. +4. **`DeviceCtl` JSON overflow**: `devicectl` emits unsigned 64-bit ints (e.g. `cpuType.subtype` = `18446744071562067970`) that `json-simple` cannot parse as `Long`. Patched `DeviceCtl` quotes those literals before parsing. Source + reapply: `ios/tools/patches/` (`apply-devicectl-json-fix.sh`). +5. **Device deploy uses `robovmInstall`**: `ios-device.sh` deletes any prior `Void.app`, builds a signed flat bundle in `build/robovm/`, re-wraps into a fresh `Void.app`, then `devicectl` installs/launches. Reusing an old wrap installs a stale binary. Avoid `launchIOSDevice` (`--console` hangs). + +The fat jar is `ios/tools/robovm-gradle-plugin-2.3.25-patched.jar` (`build.gradle` `classpath files(...)`). Do not swap back to Maven `com.mobidevelop.robovm:robovm-gradle-plugin` without re-applying those patches. + +## How to maintain + +**Change game logic / 634 behavior** in `client/src` only. Rebuild the mobile app so `prepareClientSources` rewrites it. Prefer not to fork copies of `Class*.java` inside `android/` or `ios/`. Mobile-specific 634 patches that must ship on phone (display fill, JS5 queues, `Class311` locking, `Class297` IPv4 connect) still live in `client/src` so desktop and mobile stay one tree — keep them minimal and commented. + +**Change AWT / events / stubs** in `android/app/src/main/java`, except the five Android-graphics files. iOS picks those up via `prepareSharedSources`. If you add a new Android-only API (e.g. `android.util.Log`), exclude it in `ios/build.gradle` or the iOS compile will fail. + +**Change present, fonts, PNG, or threading** in both `AwtHost`/`Graphics`/`Toolkit` trees. Keep the `Presenter` contract: Android `Bitmap`, iOS `int[]` + `ArgbBridge`. Avoid full-frame allocations on the hot path (`drawString` already learned this the hard way). + +**Change touch** in `MainActivity.GameView` (Android) and `ios/.../GameView.java` (iOS). Keep the mouse-button + modifier mapping in **both** `AwtHost.injectMouse` implementations. + +**Change networking defaults / debug HUD** in `MainActivity` / `GameController` + `ServerPrefs`. Device workflow: `.cursor/skills/run-mobile-device/` (or `make android` / `make ios-device`). + +**Change soft keyboard open rules / chat lift** in `client/src/MobileKeyboard.java` (and keep host `setKeyboardInset` in sync). Do not pan the whole canvas. + +**New Jagex native class** after a client bump: extend `gen_stubs.py` packages or add a hand stub next to the others. Software renderer must still be the path that runs. Keep `jagmisc.nanoTime()` returning a real clock (`System.nanoTime()`), never `0`. + +**iOS AOT hang** on a new huge method: confirm the patched `Typing.minimize` is the plugin on the classpath (Gradle transform cache can resurrect the stock jar if you switch back to Maven). + +**Do not** enable ProGuard/R8 minify on Android until you keep every reflected `ClassNNN` field. **Do not** strip RoboVM `forceLinkClasses` patterns used by `Class.forName` / `getDeclaredConstructor` (include `MobileKeyboard`). + +## Known limits + +- Software renderer only; no jaggl/DX. +- No JavaSound on desktop path; mobile uses `voidsound` PCM (see §5). +- First launch downloads cache over JS5 (slow); later boots ~20–30s with warm cache + reverse. +- Physical Android depends on **USB + adb reverse** unless Mac firewall allows LAN `:43594`. +- Server IP history is local (`void-server.txt`); empty history still needs a reachable probe/fallback. +- `Loader` has no `canvas` field — `client.method87` reflection fails harmlessly (falls through to `super.method87`). +- iOS plugin jar is large (~61MB) and custom; treat it as part of the toolchain. +- Desktop `./gradlew shadowJar` is unchanged: still a 32-bit-friendly JVM client. + +## Quick map + +| I want to… | Touch | +|------------|--------| +| Fix a 634 bug | `client/src` | +| Fix left/right click on Android | `MainActivity.java` + `android/.../AwtHost.java` | +| Fix left/right click on iOS | `ios/.../GameView.java` + `ios/.../AwtHost.java` | +| Fix login / chat soft keyboard | `MobileKeyboard.java` + host IME (`MainActivity` / `GameController`) | +| Fix chatbox behind keyboard | `MobileKeyboard.liftPx` + `setKeyboardInset` (not canvas pan) | +| Fix server IP / probe | `ServerPrefs` + host picker / `pickReachableServer` | +| Deploy physical iPad | `make ios-device` / `run-mobile-device` iOS script | +| Deploy Android USB | `run-mobile-device` Android script / `make android` | +| Fix frame not showing | `Graphics`/`Canvas` present + host `Presenter` | +| Fix letterbox after resume / IME | Android `AwtHost` pin FS size + present crop | +| Fix “Unable to enter display mode” | Honest `aBoolean5219` / `method3229`; default FS 800×600 via prefs + Frame | +| Fix stuck “Checking for updates” 1% | Reverse + `Class311` locks + `Connect` logs; see §6 | +| Fix `error_game_js5connect` | Reverse/server up, then **restart app** | +| Watch Android client | `adb logcat -s void-osrs:I` + bottom HUD | +| Fix iOS compile/AOT | `ios/build.gradle`, `robovm.xml`, patched plugin, arm64 JDK | +| Fix missing JNI class | `android/scripts/gen_stubs.py` | diff --git a/LEAN-CTX.md b/LEAN-CTX.md new file mode 100644 index 000000000..c9f621c9d --- /dev/null +++ b/LEAN-CTX.md @@ -0,0 +1,50 @@ + +# lean-ctx — Context Engineering Layer + + +## Tool Mapping (MANDATORY — use instead of native equivalents) +| Instead of | Use | Example | +|------------|-----|---------| +| Read/cat/head/tail | `ctx_read(path, mode)` | `ctx_read("src/main.rs")` (omit mode = auto) | +| Grep/rg/find | `ctx_search(pattern, path)` | `ctx_search("fn handle", "src/")` | +| Shell/bash | `ctx_shell(command)` | `ctx_shell("cargo test")` | +| Edit (when Read unavailable) | `ctx_edit(path, old, new)` | `ctx_edit("f.rs", "old", "new")` | + +## ctx_read Mode Selection (omit mode to auto-select — recommended) +| Goal | Mode | When | +|------|------|------| +| Exploring / unsure | `auto` (default) | Omit mode; system picks optimal | +| Edit this file | `full` | Right before an edit | +| Understand API | `signatures` | Context-only, won't edit | +| Large file overview | `map` | >500 lines, won't edit | +| Re-read after edit | `diff` | Post-edit verification | +| Specific region | `lines:N-M` | Know exact location | + +## Workflow (follow this order) +1. **Orient:** `ctx_overview(task)` or `ctx_compose(task, path)` for unfamiliar tasks +2. **Locate:** `ctx_search(pattern, path)` for exact text; `ctx_semantic_search(query)` for concepts +3. **Read:** `ctx_read(path, mode)` with appropriate mode from table above +4. **Edit:** `ctx_edit(path, old_string, new_string)` or native Edit if available +5. **Verify:** `ctx_read(path, "diff")` + `ctx_shell("test command")` +6. **Record:** `ctx_knowledge(action="remember", content="...")` for non-obvious findings + +## Proactive (use without being asked) +- `ctx_overview(task)` — at session start for orientation +- `ctx_compress` — when context grows large (at phase boundaries) +- `ctx_knowledge(action="wakeup")` — at session start to surface prior findings + +## Compression Bypass (only when compressed output hides needed detail) +`ctx_read(path, "lines:N-M")` → `ctx_read(path, "full")` → `ctx_shell(cmd, raw=true)` +Return to compressed defaults after one expanded retrieval. + +## Risk Gate (before high-impact edits) +Before editing exported symbols, auth, DB schemas, or 3+ files: run `ctx_impact(action="analyze")` +and `ctx_callgraph(action="callers")` to confirm blast radius. + +## Session +- **Start:** `ctx_session(action="status")` + `ctx_knowledge(action="wakeup")` +- **End:** `ctx_session(action="decision", content="what was done + next steps")` +- **On [CHECKPOINT]:** `ctx_session(action="task", value="current status")` + +NEVER use native Read/Grep/Shell when ctx_* equivalents are available. + diff --git a/Makefile b/Makefile new file mode 100644 index 000000000..713b641a4 --- /dev/null +++ b/Makefile @@ -0,0 +1,118 @@ +.DEFAULT_GOAL := help + +ANDROID := android +IOS := ios + +JAVA_17 ?= $(HOME)/.jdks/jdk-17.0.20.1+1/Contents/Home + +GAME_PORT ?= 43594 +SERVER_IP ?= + +ANDROID_PKG ?= world.gregs.voidosrs.android +ANDROID_ACT ?= $(ANDROID_PKG)/.MainActivity +IOS_PKG ?= world.gregs.voidosrs.ios +IOS_DEVICE ?= iPhone 17 Pro +IOS_ARCH ?= arm64 + +.PHONY: help \ + desktop desktop-jar desktop-run \ + android android-install android-build android-reverse android-run \ + android-stop android-log android-clean android-server \ + ios ios-sim ios-build ios-relaunch ios-device ios-clean + +help: + @echo "void-client" + @echo " Server must already be running elsewhere on TCP $(GAME_PORT)." + @echo " Point clients with SERVER_IP=… (see android-server / README)." + @echo "" + @echo "desktop" + @echo " make desktop :client:run" + @echo " make desktop-jar :client:shadowJar" + @echo " make desktop-run jar with --address (SERVER_IP or 127.0.0.1)" + @echo "android" + @echo " make android installDebug + reverse + launch" + @echo " make android-install :app:installDebug" + @echo " make android-build :app:assembleDebug" + @echo " make android-reverse adb reverse :$(GAME_PORT)" + @echo " make android-run force-stop + reverse + start" + @echo " make android-stop force-stop" + @echo " make android-log logcat -s void-osrs:I" + @echo " make android-server setprop debug.void.server=\$$SERVER_IP + relaunch" + @echo " make android-clean clean" + @echo "ios" + @echo " make ios launchIPhoneSimulator ($(IOS_DEVICE))" + @echo " make ios-sim alias of ios" + @echo " make ios-build assemble (no launch)" + @echo " make ios-relaunch simctl install + launch" + @echo " make ios-device physical iPad (sign + devicectl)" + @echo " make ios-clean clean" + +check-java17: + @test -x "$(JAVA_17)/bin/java" || (echo "missing arm64 JDK 17 at JAVA_17=$(JAVA_17)"; exit 1) + @$(JAVA_17)/bin/java -XshowSettings:properties -version 2>&1 | grep -q 'os.arch = aarch64' \ + || (echo "JAVA_17 must be arm64 (os.arch=aarch64), got:"; \ + $(JAVA_17)/bin/java -XshowSettings:properties -version 2>&1 | grep os.arch; exit 1) + +# ── desktop ────────────────────────────────────────────────────────────────── + +desktop: + ./gradlew :client:run + +desktop-jar: + ./gradlew :client:shadowJar + +desktop-run: desktop-jar + java -jar client/build/libs/void-client-1.2.0.jar --address $(if $(SERVER_IP),$(SERVER_IP),127.0.0.1) + +# ── android ────────────────────────────────────────────────────────────────── + +android-build: + cd $(ANDROID) && ./gradlew :app:assembleDebug + +android-install: + cd $(ANDROID) && ./gradlew :app:installDebug + +android-reverse: + @$(ANDROID)/scripts/adb-reverse.sh $(GAME_PORT) + +android-stop: + adb shell am force-stop $(ANDROID_PKG) + +android-run: android-stop android-reverse + adb shell am start -n $(ANDROID_ACT) + +android: android-install android-run + +android-log: + adb logcat -s void-osrs:I + +android-server: + @test -n "$(SERVER_IP)" || (echo "usage: make android-server SERVER_IP=192.168.1.10"; exit 1) + adb shell setprop debug.void.server $(SERVER_IP) + $(MAKE) android-run + +android-clean: + cd $(ANDROID) && ./gradlew clean + +# ── ios ────────────────────────────────────────────────────────────────────── + +ios ios-sim: check-java17 + cd $(IOS) && JAVA_HOME="$(JAVA_17)" PATH="$(JAVA_17)/bin:$$PATH" \ + ./gradlew --no-daemon launchIPhoneSimulator \ + -Probovm.arch=$(IOS_ARCH) \ + -Probovm.device.name='$(IOS_DEVICE)' + +ios-build: check-java17 + cd $(IOS) && JAVA_HOME="$(JAVA_17)" PATH="$(JAVA_17)/bin:$$PATH" \ + ./gradlew --no-daemon assemble \ + -Probovm.arch=$(IOS_ARCH) + +ios-relaunch: + xcrun simctl install booted $(IOS)/build/robovm.tmp/Void.app + xcrun simctl launch booted $(IOS_PKG) + +ios-device: + bash .cursor/skills/run-mobile-device/scripts/ios-device.sh + +ios-clean: check-java17 + cd $(IOS) && JAVA_HOME="$(JAVA_17)" PATH="$(JAVA_17)/bin:$$PATH" ./gradlew --no-daemon clean diff --git a/README.md b/README.md index 2a38dcb86..13291f8f9 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,98 @@ # Void Client -Deobfuscated 634 2010-12-14 client +Deobfuscated 634 (2010-12-14) client — desktop JVM, plus Android and iOS ports of the same software renderer. -# Build +Architecture / maintenance: **[ARCHITECTURE.md](ARCHITECTURE.md)**. -Build the client with Gradle, no install needed: +https://github.com/user-attachments/assets/10381f43-aba1-4b22-b725-282112065ff2 -```gradle -./gradlew shadowJar +https://github.com/user-attachments/assets/8af3c16e-3fdd-4318-8e53-485b70628348 + +https://github.com/user-attachments/assets/6ce421c3-5856-49f1-9daa-08f2341a6bbc + +https://github.com/user-attachments/assets/379d17f0-9077-4746-84fc-c9c4796f1507 + +## What's new + +### Auto-login +Credentials are saved on login (`~/void-login.txt`). On the next cold start the title screen restores them and connects once graphics Auto Setup is ready. “Exit to login” stays on the title — auto-login does not loop. + +### Default left-click +Long-press (right-click) an NPC, object, inventory item, or bank item → **Default: …** (lilac). That action becomes the next tap / left-click tip. **Default: Reset** clears it. Skipped when the target only has one real option. Stored in `~/.void-osrs/default-click.properties`. + +### Mobile controls extras +- Soft keyboard on login / chat fields; chat lift above the IME +- DualShock / Xbox / MFi: left stick moves a cursor, ✕ left-click, ○ right-click, L1/L2 zoom, right stick camera (Android + iOS) + +--- + +## Server + +Clients expect a [Void](https://github.com/GregHib/void) (or compatible) game server on **TCP 43594** (JS5 + login). Run that separately, then point each client at the host IP (defaults below). + +```bash +make help +``` + +--- + +## Desktop + +```bash +make desktop # ./gradlew :client:run → 127.0.0.1:43594 +make desktop-jar # shadow jar +make desktop-run SERVER_IP=192.168.1.10 +# or: java -jar client/build/libs/void-client-1.2.0.jar --address 192.168.1.10 +``` + +--- + +## Android + +Needs JDK 17+ and Android SDK / `adb`. + +```bash +make android # installDebug + adb reverse + launch +make android-log +make android-server SERVER_IP=192.168.1.10 # setprop + relaunch ``` -You will find the built `void-client.jar` in `/client/build/libs`. +### Server IP + +| Setup | Default | Override | +|-------|---------|----------| +| USB + `adb reverse` | `127.0.0.1` | usually none | +| Emulator | `10.0.2.2` | — | +| Device on LAN (no reverse) | probe then LAN fallback | `make android-server SERVER_IP=…` | + +Also: `adb shell setprop debug.void.server ` then force-stop / relaunch. + +### Controls + +Tap = left click · long-press = right click · pinch = zoom · drag = camera · tap login/chat field = soft keyboard. -If you're having issues with OpenGL/DirectX make sure you're using or running with a 32bit jre. +More: [android/README.md](android/README.md). + +--- + +## iOS + +Needs Xcode and an **arm64** JDK 17 (`os.arch=aarch64`). Default path: `~/.jdks/jdk-17.0.20.1+1` (override with `JAVA_17=…`). ```bash -java -jar void-client.jar -d32 +make ios # Simulator → 127.0.0.1:43594 +make ios-relaunch # after SpringBoard crash ``` + +### Server IP + +| Setup | Default | +|-------|---------| +| Simulator | `127.0.0.1` | +| Physical device | LAN fallback — set `System.setProperty("void.server", "")` before boot, or change the default in `GameController` | + +### Controls + +Same as Android. Soft keyboard opens on text-field taps. + +More: [ios/README.md](ios/README.md). diff --git a/android/.gitignore b/android/.gitignore new file mode 100644 index 000000000..bdefbb8b6 --- /dev/null +++ b/android/.gitignore @@ -0,0 +1,10 @@ +/.gradle +/build +/app/build +/local.properties +*.iml +.idea + +# adb / device screencaps — keep local only +/debug-screenshots/ +/*.png diff --git a/android/README.md b/android/README.md new file mode 100644 index 000000000..b96761fa8 --- /dev/null +++ b/android/README.md @@ -0,0 +1,11 @@ +# Android + +Software-rendered 634 client on ART. Root runbook: **[README.md](../README.md)**. + +```bash +make android +make android-server SERVER_IP=192.168.1.10 +make android-log +``` + +Defaults: USB reverse → `127.0.0.1`; emulator → `10.0.2.2`; else probe / LAN fallback via `debug.void.server` / `void.server`. diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts new file mode 100644 index 000000000..31c25c410 --- /dev/null +++ b/android/app/build.gradle.kts @@ -0,0 +1,63 @@ +plugins { + id("com.android.application") +} + +android { + namespace = "world.gregs.voidosrs.android" + compileSdk = 35 + + defaultConfig { + applicationId = "world.gregs.voidosrs.android" + minSdk = 26 + targetSdk = 35 + versionCode = 1 + versionName = "0.1.0" + } + + compileOptions { + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 + } + + buildTypes { + release { + isMinifyEnabled = false + } + } + + sourceSets { + getByName("main") { + java.srcDir(layout.buildDirectory.dir("generated/client")) + } + } +} + +val prepareClientSources by tasks.registering(Copy::class) { + // Flat merge into generated/client (all default package). Nested domain folders + // under client/ are organizational only — each .java must land at the dest root. + val clientDir = rootProject.projectDir.resolve("../client") + from(clientDir) { + include("**/*.java") + exclude("build/**") + eachFile { + path = name + } + includeEmptyDirs = false + } + into(layout.buildDirectory.dir("generated/client")) + filter { line -> + line + .replace("javax.swing", "voidswing") + .replace("javax.sound", "voidsound") + .replace("java.applet", "voidapplet") + .replace("java.lang.management", "voidmgmt") + .replace("com.sun.management", "voidsun.management") + .replace("sun.net", "voidsun.net") + .replace("java.awt", "voidawt") + } + duplicatesStrategy = DuplicatesStrategy.INCLUDE +} + +tasks.matching { it.name == "preBuild" || it.name.startsWith("compile") }.configureEach { + dependsOn(prepareClientSources) +} diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml new file mode 100644 index 000000000..5af59e71d --- /dev/null +++ b/android/app/src/main/AndroidManifest.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + diff --git a/android/app/src/main/java/com/ms/awt/WComponentPeer.java b/android/app/src/main/java/com/ms/awt/WComponentPeer.java new file mode 100644 index 000000000..395624b6e --- /dev/null +++ b/android/app/src/main/java/com/ms/awt/WComponentPeer.java @@ -0,0 +1,11 @@ +package com.ms.awt; + +public class WComponentPeer { + public int getHwnd() { + return 0; + } + + public int getTopHwnd() { + return 0; + } +} diff --git a/android/app/src/main/java/com/ms/com/ComFailException.java b/android/app/src/main/java/com/ms/com/ComFailException.java new file mode 100644 index 000000000..4f06819ef --- /dev/null +++ b/android/app/src/main/java/com/ms/com/ComFailException.java @@ -0,0 +1,10 @@ +package com.ms.com; + +public class ComFailException extends RuntimeException { + public ComFailException() { + } + + public ComFailException(String message) { + super(message); + } +} diff --git a/android/app/src/main/java/com/ms/com/IUnknown.java b/android/app/src/main/java/com/ms/com/IUnknown.java new file mode 100644 index 000000000..691f3e8f5 --- /dev/null +++ b/android/app/src/main/java/com/ms/com/IUnknown.java @@ -0,0 +1,4 @@ +package com.ms.com; + +public interface IUnknown { +} diff --git a/android/app/src/main/java/com/ms/directX/DDSurfaceDesc.java b/android/app/src/main/java/com/ms/directX/DDSurfaceDesc.java new file mode 100644 index 000000000..67febf9eb --- /dev/null +++ b/android/app/src/main/java/com/ms/directX/DDSurfaceDesc.java @@ -0,0 +1,8 @@ +package com.ms.directX; + +public class DDSurfaceDesc { + public int width; + public int height; + public int rgbBitCount; + public int refreshRate; +} diff --git a/android/app/src/main/java/com/ms/directX/DSBufferDesc.java b/android/app/src/main/java/com/ms/directX/DSBufferDesc.java new file mode 100644 index 000000000..d382e5924 --- /dev/null +++ b/android/app/src/main/java/com/ms/directX/DSBufferDesc.java @@ -0,0 +1,6 @@ +package com.ms.directX; + +public class DSBufferDesc { + public int flags; + public int bufferBytes; +} diff --git a/android/app/src/main/java/com/ms/directX/DSCursors.java b/android/app/src/main/java/com/ms/directX/DSCursors.java new file mode 100644 index 000000000..0e720b191 --- /dev/null +++ b/android/app/src/main/java/com/ms/directX/DSCursors.java @@ -0,0 +1,6 @@ +package com.ms.directX; + +public class DSCursors { + public int write; + public int play; +} diff --git a/android/app/src/main/java/com/ms/directX/DirectDraw.java b/android/app/src/main/java/com/ms/directX/DirectDraw.java new file mode 100644 index 000000000..12e155448 --- /dev/null +++ b/android/app/src/main/java/com/ms/directX/DirectDraw.java @@ -0,0 +1,18 @@ +package com.ms.directX; + +public class DirectDraw { + public void enumDisplayModes(int flags, Object desc, Object context, IEnumModesCallback callback) { + } + + public void initialize(Object guid) { + } + + public void setCooperativeLevel(Object window, int flags) { + } + + public void setDisplayMode(int width, int height, int bpp, int refresh, int flags) { + } + + public void restoreDisplayMode() { + } +} diff --git a/android/app/src/main/java/com/ms/directX/DirectSound.java b/android/app/src/main/java/com/ms/directX/DirectSound.java new file mode 100644 index 000000000..88b549f0d --- /dev/null +++ b/android/app/src/main/java/com/ms/directX/DirectSound.java @@ -0,0 +1,13 @@ +package com.ms.directX; + +public class DirectSound { + public void initialize(Object guid) { + } + + public void setCooperativeLevel(Object window, int level) { + } + + public DirectSoundBuffer createSoundBuffer(DSBufferDesc desc, WaveFormatEx format) { + return new DirectSoundBuffer(); + } +} diff --git a/android/app/src/main/java/com/ms/directX/DirectSoundBuffer.java b/android/app/src/main/java/com/ms/directX/DirectSoundBuffer.java new file mode 100644 index 000000000..002f70128 --- /dev/null +++ b/android/app/src/main/java/com/ms/directX/DirectSoundBuffer.java @@ -0,0 +1,18 @@ +package com.ms.directX; + +public class DirectSoundBuffer { + public void stop() { + } + + public void setCurrentPosition(int pos) { + } + + public void writeBuffer(int offset, int length, byte[] data, int flags) { + } + + public void play(int flags) { + } + + public void getCurrentPosition(DSCursors cursors) { + } +} diff --git a/android/app/src/main/java/com/ms/directX/IEnumModesCallback.java b/android/app/src/main/java/com/ms/directX/IEnumModesCallback.java new file mode 100644 index 000000000..4ddc6e98b --- /dev/null +++ b/android/app/src/main/java/com/ms/directX/IEnumModesCallback.java @@ -0,0 +1,8 @@ +package com.ms.directX; + +import com.ms.com.IUnknown; + +public interface IEnumModesCallback { + /** Callback for {@link DirectDraw#enumDisplayModes}. */ + void onEnumDisplayMode(DDSurfaceDesc desc, IUnknown unk); +} diff --git a/android/app/src/main/java/com/ms/directX/WaveFormatEx.java b/android/app/src/main/java/com/ms/directX/WaveFormatEx.java new file mode 100644 index 000000000..29ec52589 --- /dev/null +++ b/android/app/src/main/java/com/ms/directX/WaveFormatEx.java @@ -0,0 +1,10 @@ +package com.ms.directX; + +public class WaveFormatEx { + public int avgBytesPerSec; + public int formatTag; + public int bitsPerSample; + public int blockAlign; + public int channels; + public int samplesPerSec; +} diff --git a/android/app/src/main/java/com/ms/dll/Callback.java b/android/app/src/main/java/com/ms/dll/Callback.java new file mode 100644 index 000000000..580069e49 --- /dev/null +++ b/android/app/src/main/java/com/ms/dll/Callback.java @@ -0,0 +1,4 @@ +package com.ms.dll; + +public class Callback { +} diff --git a/android/app/src/main/java/com/ms/dll/Root.java b/android/app/src/main/java/com/ms/dll/Root.java new file mode 100644 index 000000000..3052ba2e9 --- /dev/null +++ b/android/app/src/main/java/com/ms/dll/Root.java @@ -0,0 +1,6 @@ +package com.ms.dll; + +public class Root { + public static void alloc(Object o) { + } +} diff --git a/android/app/src/main/java/com/ms/win32/User32.java b/android/app/src/main/java/com/ms/win32/User32.java new file mode 100644 index 000000000..332438a50 --- /dev/null +++ b/android/app/src/main/java/com/ms/win32/User32.java @@ -0,0 +1,42 @@ +package com.ms.win32; + +public class User32 { + public static int GetWindowLong(int hwnd, int nIndex) { + return 0; + } + + public static int SetWindowLong(int hwnd, int nIndex, int dwNewLong) { + return 0; + } + + public static int SetWindowLong(int hwnd, int nIndex, Object proc) { + return 0; + } + + public static boolean SetWindowPos(int hwnd, int hwndInsertAfter, int x, int y, int cx, int cy, int flags) { + return true; + } + + public static int ShowWindow(int hwnd, int nCmdShow) { + return 0; + } + + public static void SetCursorPos(int x, int y) { + } + + public static int LoadCursor(int instance, int cursor) { + return 0; + } + + public static int SendMessage(int hwnd, int msg, int wParam, int lParam) { + return 0; + } + + public static int SetCursor(int cursor) { + return 0; + } + + public static int CallWindowProc(int prev, int hwnd, int msg, int wParam, int lParam) { + return 0; + } +} diff --git a/android/app/src/main/java/jaclib/hardware_info/HardwareInfo.java b/android/app/src/main/java/jaclib/hardware_info/HardwareInfo.java new file mode 100644 index 000000000..4aa0c17fd --- /dev/null +++ b/android/app/src/main/java/jaclib/hardware_info/HardwareInfo.java @@ -0,0 +1,16 @@ +package jaclib.hardware_info; + + +public final class HardwareInfo { + + public static String[][] getDXDiagDisplayDevicesProps() { return null; } + + public static String[] getOpenGLProps() { return null; } + + public static String[] getDXDiagSystemProps() { return null; } + + public static int[] getCPUInfo() { return null; } + + public HardwareInfo() { + } +} diff --git a/android/app/src/main/java/jaclib/memory/Buffer.java b/android/app/src/main/java/jaclib/memory/Buffer.java new file mode 100644 index 000000000..4024336e7 --- /dev/null +++ b/android/app/src/main/java/jaclib/memory/Buffer.java @@ -0,0 +1,11 @@ +package jaclib.memory; + + +public interface Buffer { + + long getAddress(); + + int getSize(); + + void a(byte[] arg0, int arg1, int arg2, int arg3); +} diff --git a/android/app/src/main/java/jaclib/memory/NativeBuffer.java b/android/app/src/main/java/jaclib/memory/NativeBuffer.java new file mode 100644 index 000000000..f188809b2 --- /dev/null +++ b/android/app/src/main/java/jaclib/memory/NativeBuffer.java @@ -0,0 +1,36 @@ +package jaclib.memory; + + +public class NativeBuffer implements Buffer, Source { + + public long b; + + public int a = -1; + + @Override + public void a(byte[] arg0, int arg1, int arg2, int arg3) { + if (arg2 < 0 | arg0 == null | this.b == 0L | arg1 < 0 | arg0.length < arg1 + arg3 | arg2 + arg3 > this.a) { + throw new RuntimeException(); + } + this.put(this.b, arg0, arg1, arg2, arg3); + } + + protected final void a(long arg0, int arg1) { + this.b = arg0; + this.a = arg1; + } + + @Override + public final long getAddress() { + return this.b; + } + + public void put(long arg0, byte[] arg1, int arg2, int arg3, int arg4) {} + + public void get(long arg0, byte[] arg1, int arg2, int arg3, int arg4) {} + + @Override + public final int getSize() { + return this.a; + } +} diff --git a/android/app/src/main/java/jaclib/memory/Source.java b/android/app/src/main/java/jaclib/memory/Source.java new file mode 100644 index 000000000..2a158b860 --- /dev/null +++ b/android/app/src/main/java/jaclib/memory/Source.java @@ -0,0 +1,9 @@ +package jaclib.memory; + + +public interface Source { + + int getSize(); + + long getAddress(); +} diff --git a/android/app/src/main/java/jaclib/memory/Stream.java b/android/app/src/main/java/jaclib/memory/Stream.java new file mode 100644 index 000000000..f3d997dc7 --- /dev/null +++ b/android/app/src/main/java/jaclib/memory/Stream.java @@ -0,0 +1,161 @@ +package jaclib.memory; + + +public final class Stream { + + public Buffer a; + + public int b; + + public int e; + + public int d; + + public final byte[] c; + + public static byte getLSB(int arg0) { return 0; } + + public static int floatToRawIntBits(float arg0) { return 0; } + + public int b() { + return this.b + this.d; + } + + public Stream(Buffer arg0) { + this(arg0, 0, arg0.getSize()); + } + + public Stream(Buffer arg0, int arg1, int arg2) { + this(arg0.getSize() >= 4096 ? 4096 : arg0.getSize()); + this.a(arg0, arg1, arg2); + } + + public Stream() { + this(4096); + } + + public Stream(int arg0) { + this.c = new byte[arg0]; + } + + public void a(float arg0) { + if (this.b + 3 >= this.c.length) { + this.flush(); + } + int local14 = floatToRawIntBits(arg0); + this.c[this.b++] = (byte) (local14 >> 24); + this.c[this.b++] = (byte) (local14 >> 16); + this.c[this.b++] = (byte) (local14 >> 8); + this.c[this.b++] = (byte) local14; + } + + public int a() { + return this.b + this.d; + } + + public void f(int arg0) { + this.flush(); + this.d = arg0; + } + + public void b(int arg0) { + if (this.c.length <= this.b + 1) { + this.flush(); + } + this.c[this.b++] = (byte) (arg0 >> 8); + this.c[this.b++] = (byte) arg0; + } + + public void c(int arg0) { + if (this.c.length <= this.b + 1) { + this.flush(); + } + this.c[this.b++] = (byte) arg0; + this.c[this.b++] = (byte) (arg0 >> 8); + } + + public void a(Buffer arg0) { + this.a(arg0, 0, arg0.getSize()); + } + + public void a(int arg0, int arg1, int arg2, int arg3) { + if (this.b + 3 >= this.c.length) { + this.flush(); + } + this.c[this.b++] = (byte) arg2; + this.c[this.b++] = (byte) arg1; + this.c[this.b++] = (byte) arg0; + this.c[this.b++] = (byte) arg3; + } + + public void a(int arg0) { + if (this.c.length <= this.b + 3) { + this.flush(); + } + this.c[this.b++] = (byte) arg0; + this.c[this.b++] = (byte) (arg0 >> 8); + this.c[this.b++] = (byte) (arg0 >> 16); + this.c[this.b++] = (byte) (arg0 >> 24); + } + + public void a(Buffer arg0, int arg1, int arg2) { + this.flush(); + this.a = arg0; + this.e = arg2 + arg1; + this.d = arg1; + if (this.e > arg0.getSize()) { + throw new RuntimeException(); + } + } + + public void e(int arg0) { + if (this.b + 3 >= this.c.length) { + this.flush(); + } + this.c[this.b++] = (byte) (arg0 >> 16); + this.c[this.b++] = (byte) (arg0 >> 8); + this.c[this.b++] = (byte) arg0; + this.c[this.b++] = (byte) (arg0 >> 24); + } + + public void d(int arg0) { + if (this.b >= this.c.length) { + this.flush(); + } + this.c[this.b++] = (byte) arg0; + } + + public void b(int arg0, int arg1, int arg2, int arg3) { + if (this.c.length <= this.b + 3) { + this.flush(); + } + this.c[this.b++] = (byte) arg0; + this.c[this.b++] = (byte) arg1; + this.c[this.b++] = (byte) arg2; + this.c[this.b++] = (byte) arg3; + } + + public void b(float arg0) { + if (this.b + 3 >= this.c.length) { + this.flush(); + } + int local18 = floatToRawIntBits(arg0); + this.c[this.b++] = (byte) local18; + this.c[this.b++] = (byte) (local18 >> 8); + this.c[this.b++] = (byte) (local18 >> 16); + this.c[this.b++] = (byte) (local18 >> 24); + } + + public void flush() { + if (this.b <= 0) { + return; + } + if (this.d + this.b > this.e) { + throw new RuntimeException(); + } + this.a.a(this.c, 0, this.d, this.b); + this.d += this.b; + this.b = 0; + } + public static boolean c() { return true; } +} diff --git a/android/app/src/main/java/jaclib/memory/heap/NativeHeap.java b/android/app/src/main/java/jaclib/memory/heap/NativeHeap.java new file mode 100644 index 000000000..c7cef35e7 --- /dev/null +++ b/android/app/src/main/java/jaclib/memory/heap/NativeHeap.java @@ -0,0 +1,55 @@ +package jaclib.memory.heap; + + +public final class NativeHeap { + + public long peer; + + public final int a; + + public boolean b; + + public NativeHeap(int arg0) { + this.a = arg0; + this.allocateHeap(this.a); + this.b = true; + } + + public void allocateHeap(int arg0) {} + + @Override + public synchronized void finalize() throws Throwable { + super.finalize(); + this.b(); + } + + public synchronized void deallocateBuffer(int arg0) {} + + public synchronized int allocateBuffer(int arg0, boolean arg1) { return 0; } + + public void deallocateHeap() {} + + public NativeHeapBuffer a(int arg0, boolean arg1) { + if (!this.b) { + throw new IllegalStateException(); + } + return new NativeHeapBuffer(this, this.allocateBuffer(arg0, arg1), arg0); + } + + public synchronized void put(int arg0, byte[] arg1, int arg2, int arg3, int arg4) {} + + public synchronized void get(int arg0, byte[] arg1, int arg2, int arg3, int arg4) {} + + public synchronized boolean a() { + return this.b; + } + + public synchronized long getBufferAddress(int arg0) { return 0L; } + + public synchronized void b() { + if (this.b) { + this.deallocateHeap(); + } + this.b = false; + } +} diff --git a/android/app/src/main/java/jaclib/memory/heap/NativeHeapBuffer.java b/android/app/src/main/java/jaclib/memory/heap/NativeHeapBuffer.java new file mode 100644 index 000000000..c697c19aa --- /dev/null +++ b/android/app/src/main/java/jaclib/memory/heap/NativeHeapBuffer.java @@ -0,0 +1,56 @@ +package jaclib.memory.heap; + +import jaclib.memory.Buffer; +import jaclib.memory.Source; + +public final class NativeHeapBuffer implements Buffer, Source { + + public boolean d = true; + + public final int b; + + public final NativeHeap a; + + public final int c; + + public NativeHeapBuffer(NativeHeap arg0, int arg1, int arg2) { + this.b = arg2; + this.a = arg0; + this.c = arg1; + } + + @Override + public int getSize() { + return this.b; + } + + @Override + public synchronized void a(byte[] arg0, int arg1, int arg2, int arg3) { + if (arg2 < 0 | arg0 == null | !this.a() | arg1 < 0 | arg1 + arg3 > arg0.length | this.b < arg2 + arg3) { + throw new RuntimeException(); + } + this.a.put(this.c, arg0, arg1, arg2, arg3); + } + + @Override + public long getAddress() { + return this.a.getBufferAddress(this.c); + } + + public synchronized boolean a() { + return this.a.a() && this.d; + } + + public synchronized void b() { + if (this.a()) { + this.a.deallocateBuffer(this.c); + } + this.d = false; + } + + @Override + public synchronized void finalize() throws Throwable { + super.finalize(); + this.b(); + } +} diff --git a/android/app/src/main/java/jaclib/peer/IUnknown.java b/android/app/src/main/java/jaclib/peer/IUnknown.java new file mode 100644 index 000000000..b7dfff50b --- /dev/null +++ b/android/app/src/main/java/jaclib/peer/IUnknown.java @@ -0,0 +1,15 @@ +package jaclib.peer; + + +public class IUnknown extends Peer { + + public IUnknown(ti arg0) { + this.reference = new IUnknownReference(this, arg0); + } + + public long AddRef() { return 0L; } + + public final long a(int arg0) { + return super.a(); + } +} diff --git a/android/app/src/main/java/jaclib/peer/IUnknownReference.java b/android/app/src/main/java/jaclib/peer/IUnknownReference.java new file mode 100644 index 000000000..d178438da --- /dev/null +++ b/android/app/src/main/java/jaclib/peer/IUnknownReference.java @@ -0,0 +1,11 @@ +package jaclib.peer; + + +public final class IUnknownReference extends PeerReference { + + public IUnknownReference(IUnknown arg0, ti arg1) { + super(arg0, arg1); + } + + protected long releasePeer(long arg0) { return 0L; } +} diff --git a/android/app/src/main/java/jaclib/peer/NativeHeapPeerReference.java b/android/app/src/main/java/jaclib/peer/NativeHeapPeerReference.java new file mode 100644 index 000000000..faa65ded4 --- /dev/null +++ b/android/app/src/main/java/jaclib/peer/NativeHeapPeerReference.java @@ -0,0 +1,11 @@ +package jaclib.peer; + + +public final class NativeHeapPeerReference extends PeerReference { + + public NativeHeapPeerReference(os arg0, ti arg1) { + super(arg0, arg1); + } + + protected long releasePeer(long arg0) { return 0L; } +} diff --git a/android/app/src/main/java/jaclib/peer/Peer.java b/android/app/src/main/java/jaclib/peer/Peer.java new file mode 100644 index 000000000..c4041a9a9 --- /dev/null +++ b/android/app/src/main/java/jaclib/peer/Peer.java @@ -0,0 +1,73 @@ +package jaclib.peer; + + +public abstract class Peer { + + // $FF: synthetic field + public static Class a; + + protected PeerReference reference; + + static { + init(a == null ? (a = getClass("jaclib.peer.PeerReference")) : a); + } + + static Class getClass(String name) { + Class instance; + try { + instance = Class.forName(name); + } catch (ClassNotFoundException ex) { + throw (NoClassDefFoundError) new NoClassDefFoundError().initCause(ex); + } + return instance; + } + + public static void init(Class arg0) {} + + public static char[] z(String arg0) { + char[] local1 = arg0.toCharArray(); + if (local1.length < 2) { + local1[0] = (char) (local1[0] ^ 0x37); + } + return local1; + } + + public static String z(char[] arg0) { + int local2 = arg0.length; + char[] local0 = arg0; + int local3 = local2; + for (int local5 = 0; local5 < local3; local5++) { + char local10 = local0[local5]; + byte local15; + switch (local5 % 5) { + case 0: + local15 = 83; + break; + case 1: + local15 = 93; + break; + case 2: + local15 = 47; + break; + case 3: + local15 = 54; + break; + default: + local15 = 55; + } + local0[local5] = (char) (local10 ^ local15); + } + return (new String(local0)).intern(); + } + + protected Peer() { + } + + protected long a() { + return this.reference.b(0); + } + + public final boolean a(byte arg0) { + return this.reference.a(0); + } +} diff --git a/android/app/src/main/java/jaclib/peer/PeerReference.java b/android/app/src/main/java/jaclib/peer/PeerReference.java new file mode 100644 index 000000000..e9f9be109 --- /dev/null +++ b/android/app/src/main/java/jaclib/peer/PeerReference.java @@ -0,0 +1,40 @@ +package jaclib.peer; + + +import java.lang.ref.WeakReference; + +public abstract class PeerReference extends WeakReference { + + public PeerReference b; + + public PeerReference a; + + public long peer; + + protected PeerReference(Peer arg0, ti arg1) { + super(arg0, arg1.b); + arg1.a(this, (byte) 92); + } + + public void setPeer(long arg0) { + this.b(0); + this.peer = arg0; + } + + public final boolean a(int arg0) { + return this.peer != 0L; + } + + public final long b(int arg0) { + long local12; + if (this.peer == 0L) { + local12 = 0L; + } else { + local12 = this.releasePeer(this.peer); + this.peer = 0L; + } + return local12; + } + + protected abstract long releasePeer(long arg0); +} diff --git a/android/app/src/main/java/jaclib/peer/hb.java b/android/app/src/main/java/jaclib/peer/hb.java new file mode 100644 index 000000000..0ec087f02 --- /dev/null +++ b/android/app/src/main/java/jaclib/peer/hb.java @@ -0,0 +1,4 @@ +package jaclib.peer; + +public final class hb extends ti { +} diff --git a/android/app/src/main/java/jaclib/peer/os.java b/android/app/src/main/java/jaclib/peer/os.java new file mode 100644 index 000000000..f84a6ebfd --- /dev/null +++ b/android/app/src/main/java/jaclib/peer/os.java @@ -0,0 +1,9 @@ +package jaclib.peer; + + +public class os extends Peer { + + public os(ti arg0) { + this.reference = new NativeHeapPeerReference(this, arg0); + } +} diff --git a/android/app/src/main/java/jaclib/peer/ti.java b/android/app/src/main/java/jaclib/peer/ti.java new file mode 100644 index 000000000..7166a898e --- /dev/null +++ b/android/app/src/main/java/jaclib/peer/ti.java @@ -0,0 +1,64 @@ +package jaclib.peer; + + +import java.lang.ref.Reference; +import java.lang.ref.ReferenceQueue; + +public class ti { + + public PeerReference a; + + public PeerReference c; + + public final ReferenceQueue b = new ReferenceQueue(); + + public void a(int arg0) { + while (true) { + Reference local3 = this.b.poll(); + if (local3 == null) { + return; + } + PeerReference local9 = (PeerReference) local3; + this.a(local9, arg0 ^ 0x35DD); + } + } + + public void a(PeerReference arg0, byte arg1) { + arg0.b = this.a; + arg0.a = null; + if (this.c == null) { + this.c = arg0; + } else { + this.a.a = arg0; + } + this.a = arg0; + } + + public void a(PeerReference arg0, int arg1) { + arg0.b(0); + if (this.c == arg0) { + this.c = arg0.a; + } + if (this.a == arg0) { + this.a = arg0.b; + } + if (arg0.a != null) { + arg0.a.b = arg0.b; + } + if (arg0.b != null) { + arg0.b.a = arg0.a; + } + } + + public void b(int arg0) { + this.a(26588); + while (this.a != null) { + this.a(this.a, 20993); + } + this.a(26588); + } + + public void c(int arg0) { + this.a(26588); + } +} diff --git a/android/app/src/main/java/jagdx/D3DADAPTER_IDENTIFIER.java b/android/app/src/main/java/jagdx/D3DADAPTER_IDENTIFIER.java new file mode 100644 index 000000000..a6a3d4aa7 --- /dev/null +++ b/android/app/src/main/java/jagdx/D3DADAPTER_IDENTIFIER.java @@ -0,0 +1,23 @@ +package jagdx; + + +public final class D3DADAPTER_IDENTIFIER { + + public String DeviceName; + + public String Description; + + public int VendorID; + + public int Revision; + + public long DriverVersion; + + public int DeviceID; + + public int WHQLLevel; + + public int SubSysID; + + public String Driver; +} diff --git a/android/app/src/main/java/jagdx/D3DCAPS.java b/android/app/src/main/java/jagdx/D3DCAPS.java new file mode 100644 index 000000000..811a877cb --- /dev/null +++ b/android/app/src/main/java/jagdx/D3DCAPS.java @@ -0,0 +1,139 @@ +package jagdx; + + +public final class D3DCAPS { + + public int TextureOpCaps; + + public int Caps2; + + public float GuardBandBottom; + + public int MaxUserClipPlanes; + + public int TextureAddressCaps; + + public int FVFCaps; + + public int PixelShaderVersion; + + public int MaxVolumeExtent; + + public int TextureFilterCaps; + + public int LineCaps; + + public float ExtentsAdjust; + + public int Caps3; + + public int MaxVertexBlendMatrices; + + public int RasterCaps; + + public int MaxActiveLights; + + public int MaxVertexShaderConst; + + public int MaxVertexBlendMatrixIndex; + + public int DestBlendCaps; + + public int DeviceType; + + public int StencilCaps; + + public float MaxVertexW; + + public float GuardBandLeft; + + public int VolumeTextureAddressCaps; + + public int VolumeTextureFilterCaps; + + public int DevCaps; + + public int MaxTextureHeight; + + public int VertexShaderVersion; + + public int VertexProcessingCaps; + + public int PrimitiveMiscCaps; + + public int SrcBlendCaps; + + public int CubeTextureFilterCaps; + + public int Caps; + + public float GuardBandRight; + + public int MaxVertexIndex; + + public int AdapterOrdinal; + + public float GuardBandTop; + + public int MaxSimultaneousTextures; + + public int MaxAnisotropy; + + public int MaxStreams; + + public int CursorCaps; + + public float MaxPointSize; + + public int TextureCaps; + + public int AlphaCmpCaps; + + public int MaxTextureBlendStages; + + public int MaxTextureWidth; + + public int MaxStreamStride; + + public int MaxTextureRepeat; + + public int ShadeCaps; + + public int MaxPrimitiveCount; + + public int MaxTextureAspectRatio; + + public int PresentationIntervals; + + public int ZCmpCaps; + + public float PixelShader1xMaxValue; + + public int DevCaps2; + + public int MaxPixelShader30InstructionSlots; + + public int AdapterOrdinalInGroup; + + public int DeclTypes; + + public int MasterAdapterOrdinal; + + public int MaxVShaderInstructionsExecuted; + + public int NumSimultaneousRTs; + + public int StretchRectFilterCaps; + + public int NumberOfAdaptersInGroup; + + public int MaxPShaderInstructionsExecuted; + + public int VertexTextureFilterCaps; + + public int MaxVertexShader30InstructionSlots; + + public final D3DVSHADERCAPS2_0 VS20Caps = new D3DVSHADERCAPS2_0(); + + public final D3DPSHADERCAPS2_0 PS20Caps = new D3DPSHADERCAPS2_0(); +} diff --git a/android/app/src/main/java/jagdx/D3DDISPLAYMODE.java b/android/app/src/main/java/jagdx/D3DDISPLAYMODE.java new file mode 100644 index 000000000..ae9b6a0a2 --- /dev/null +++ b/android/app/src/main/java/jagdx/D3DDISPLAYMODE.java @@ -0,0 +1,13 @@ +package jagdx; + + +public final class D3DDISPLAYMODE { + + public int Width; + + public int Height; + + public int Format; + + public int RefreshRate; +} diff --git a/android/app/src/main/java/jagdx/D3DLIGHT.java b/android/app/src/main/java/jagdx/D3DLIGHT.java new file mode 100644 index 000000000..f29ed2123 --- /dev/null +++ b/android/app/src/main/java/jagdx/D3DLIGHT.java @@ -0,0 +1,32 @@ +package jagdx; + +import jaclib.peer.os; +import jaclib.peer.ti; + +public final class D3DLIGHT extends os { + + public D3DLIGHT(ti arg0) { + super(arg0); + this.Init(); + } + + public void SetSpotParams(float arg0, float arg1, float arg2) {} + + public void SetPosition(float arg0, float arg1, float arg2) {} + + public void SetRange(float arg0) {} + + public void SetSpecular(float arg0, float arg1, float arg2, float arg3) {} + + public void Init() {} + + public void SetDiffuse(float arg0, float arg1, float arg2, float arg3) {} + + public void SetType(int arg0) {} + + public void SetAttenuation(float arg0, float arg1, float arg2) {} + + public void SetAmbient(float arg0, float arg1, float arg2, float arg3) {} + + public void SetDirection(float arg0, float arg1, float arg2) {} +} diff --git a/android/app/src/main/java/jagdx/D3DPRESENT_PARAMETERS.java b/android/app/src/main/java/jagdx/D3DPRESENT_PARAMETERS.java new file mode 100644 index 000000000..389e2aa3b --- /dev/null +++ b/android/app/src/main/java/jagdx/D3DPRESENT_PARAMETERS.java @@ -0,0 +1,39 @@ +package jagdx; + + +import voidawt.Canvas; + +public final class D3DPRESENT_PARAMETERS { + + public boolean Windowed; + + public int Flags; + + public int FullScreen_RefreshRateInHz; + + public boolean EnableAutoDepthStencil; + + public int BackBufferHeight = 0; + + public int BackBufferWidth = 0; + + public int PresentationInterval = 0; + + public final int BackBufferCount = 0; + + public int MultiSampleQuality = 0; + + public int BackBufferFormat = 0; + + public int MultiSampleType = 0; + + public final int SwapEffect = 1; + + public int AutoDepthStencilFormat = 0; + + public final Canvas DeviceWindow; + + public D3DPRESENT_PARAMETERS(Canvas arg0) { + this.DeviceWindow = arg0; + } +} diff --git a/android/app/src/main/java/jagdx/D3DPSHADERCAPS2_0.java b/android/app/src/main/java/jagdx/D3DPSHADERCAPS2_0.java new file mode 100644 index 000000000..197c966aa --- /dev/null +++ b/android/app/src/main/java/jagdx/D3DPSHADERCAPS2_0.java @@ -0,0 +1,15 @@ +package jagdx; + + +public final class D3DPSHADERCAPS2_0 { + + public int NumInstructionSlots; + + public int StaticFlowControlDepth; + + public int NumTemps; + + public int Caps; + + public int DynamicFlowControlDepth; +} diff --git a/android/app/src/main/java/jagdx/D3DVSHADERCAPS2_0.java b/android/app/src/main/java/jagdx/D3DVSHADERCAPS2_0.java new file mode 100644 index 000000000..8fc2d86fd --- /dev/null +++ b/android/app/src/main/java/jagdx/D3DVSHADERCAPS2_0.java @@ -0,0 +1,13 @@ +package jagdx; + + +public final class D3DVSHADERCAPS2_0 { + + public int DynamicFlowControlDepth; + + public int Caps; + + public int NumTemps; + + public int StaticFlowControlDepth; +} diff --git a/android/app/src/main/java/jagdx/GeometryBuffer.java b/android/app/src/main/java/jagdx/GeometryBuffer.java new file mode 100644 index 000000000..97c42068a --- /dev/null +++ b/android/app/src/main/java/jagdx/GeometryBuffer.java @@ -0,0 +1,31 @@ +package jagdx; + +import jaclib.memory.Buffer; +import jaclib.peer.os; +import jaclib.peer.ti; + +public final class GeometryBuffer extends os implements Buffer { + + public GeometryBuffer(ti arg0) { + super(arg0); + this.init(); + } + + public void putub(byte[] arg0, int arg1, int arg2, int arg3) {} + + public void getub(byte[] arg0, int arg1, int arg2, int arg3) {} + + @Override + public void a(byte[] arg0, int arg1, int arg2, int arg3) { + if (arg0.length < arg1 + arg3 | arg1 < 0 | arg0 == null | arg2 < 0 || arg3 + arg2 > this.getSize()) { + throw new sja(); + } + this.putub(arg0, arg1, arg2, arg3); + } + + public long getAddress() { return 0L; } + + public void init() {} + + public int getSize() { return 0; } +} diff --git a/android/app/src/main/java/jagdx/IDirect3D.java b/android/app/src/main/java/jagdx/IDirect3D.java new file mode 100644 index 000000000..6dced9a85 --- /dev/null +++ b/android/app/src/main/java/jagdx/IDirect3D.java @@ -0,0 +1,74 @@ +package jagdx; + +import jaclib.peer.IUnknown; +import jaclib.peer.ti; + +import voidawt.Canvas; + +public final class IDirect3D extends IUnknown { + + public final ti b; + + public static int _Direct3DCreate(int arg0, IDirect3D arg1) { return 0; } + + public static IDirect3D a(int arg0, ti arg1) { + IDirect3D local4 = new IDirect3D(arg1); + int local8 = _Direct3DCreate(arg0, local4); + if (lh.a(local8, true)) { + throw new sja(String.valueOf(local8)); + } + return local4; + } + + public IDirect3D(ti arg0) { + super(arg0); + this.b = arg0; + } + + public int CheckDeviceFormat(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5) { return 0; } + + public IDirect3DDevice a(int arg0, int arg1, Canvas arg2, int arg3, D3DPRESENT_PARAMETERS arg4) { + IDirect3DDevice local5 = new IDirect3DDevice(this.b); + int local14 = this._CreateDevice(arg0, arg1, arg2, arg3, arg4, local5); + if (lh.a(local14, true)) { + throw new sja(String.valueOf(local14)); + } + return local5; + } + + public int a(int arg0, D3DDISPLAYMODE arg1) { + return this._GetAdapterDisplayMode(arg0, arg1); + } + + public int _GetAdapterDisplayMode(int arg0, D3DDISPLAYMODE arg1) { return 0; } + + public int _GetAdapterIdentifier(int arg0, int arg1, D3DADAPTER_IDENTIFIER arg2) { return 0; } + + public int CheckDepthStencilMatch(int arg0, int arg1, int arg2, int arg3, int arg4) { return 0; } + + public int _GetDeviceCaps(int arg0, int arg1, D3DCAPS arg2) { return 0; } + + public D3DCAPS b(int arg0, int arg1) { + D3DCAPS local3 = new D3DCAPS(); + int local9 = this._GetDeviceCaps(arg0, arg1, local3); + if (lh.a(local9, true)) { + throw new sja(String.valueOf(local9)); + } + return local3; + } + + public int CheckDeviceMultiSampleType(int arg0, int arg1, int arg2, boolean arg3, int arg4) { return 0; } + + public int _CreateDevice(int arg0, int arg1, Canvas arg2, int arg3, D3DPRESENT_PARAMETERS arg4, IDirect3DDevice arg5) { return 0; } + + public D3DADAPTER_IDENTIFIER a(int arg0, int arg1) { + D3DADAPTER_IDENTIFIER local3 = new D3DADAPTER_IDENTIFIER(); + int local9 = this._GetAdapterIdentifier(arg0, arg1, local3); + if (lh.a(local9, true)) { + throw new sja(String.valueOf(local9)); + } + return local3; + } + + public int CheckDeviceType(int arg0, int arg1, int arg2, int arg3, boolean arg4) { return 0; } +} diff --git a/android/app/src/main/java/jagdx/IDirect3DBaseTexture.java b/android/app/src/main/java/jagdx/IDirect3DBaseTexture.java new file mode 100644 index 000000000..9e7ae4e9c --- /dev/null +++ b/android/app/src/main/java/jagdx/IDirect3DBaseTexture.java @@ -0,0 +1,11 @@ +package jagdx; + +import jaclib.peer.IUnknown; +import jaclib.peer.ti; + +public class IDirect3DBaseTexture extends IUnknown { + + public IDirect3DBaseTexture(ti arg0) { + super(arg0); + } +} diff --git a/android/app/src/main/java/jagdx/IDirect3DCubeTexture.java b/android/app/src/main/java/jagdx/IDirect3DCubeTexture.java new file mode 100644 index 000000000..9d60f3885 --- /dev/null +++ b/android/app/src/main/java/jagdx/IDirect3DCubeTexture.java @@ -0,0 +1,14 @@ +package jagdx; + +import jaclib.peer.ti; + +public final class IDirect3DCubeTexture extends IDirect3DBaseTexture { + + public IDirect3DCubeTexture(ti arg0) { + super(arg0); + } + + public boolean UnlockRect(int arg0, int arg1) { return false; } + + public int LockRect(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, PixelBuffer arg7) { return 0; } +} diff --git a/android/app/src/main/java/jagdx/IDirect3DDevice.java b/android/app/src/main/java/jagdx/IDirect3DDevice.java new file mode 100644 index 000000000..404aff6a7 --- /dev/null +++ b/android/app/src/main/java/jagdx/IDirect3DDevice.java @@ -0,0 +1,266 @@ +package jagdx; + +import jaclib.peer.IUnknown; +import jaclib.peer.ti; + +public final class IDirect3DDevice extends IUnknown { + + public static final float[] c = new float[4]; + + public final ti b; + + public IDirect3DDevice(ti arg0) { + super(arg0); + this.b = arg0; + } + + public int SetLight(int arg0, D3DLIGHT arg1) { return 0; } + + public int SetPixelShaderConstantF(int arg0, float[] arg1, int arg2) { return 0; } + + public int _GetDepthStencilSurface(IDirect3DSurface arg0) { return 0; } + + public IDirect3DPixelShader a(byte[] arg0) { + if (arg0 == null) { + return null; + } + IDirect3DPixelShader local10 = new IDirect3DPixelShader(this.b); + int local15 = this._CreatePixelShader(arg0, local10); + if (lh.a(local15, true)) { + throw new sja(String.valueOf(local15)); + } + return local10; + } + + public int SetTextureStageState(int arg0, int arg1, int arg2) { return 0; } + + public int _CreateEventQuery(IDirect3DEventQuery arg0) { return 0; } + + public int _CreateDepthStencilSurface(int arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5, IDirect3DSurface arg6) { return 0; } + + public IDirect3DVertexBuffer a(int arg0, int arg1, int arg2, int arg3, IDirect3DVertexBuffer arg4) { + if (arg4 == null) { + arg4 = new IDirect3DVertexBuffer(this.b); + } else { + arg4.a(-117); + } + int local22 = this._CreateVertexBuffer(arg0, arg1, arg2, arg3, arg4); + if (lh.a(local22, true)) { + throw new sja(String.valueOf(local22)); + } + arg4.b = arg0; + return arg4; + } + + public int _GetSwapChain(int arg0, IDirect3DSwapChain arg1) { return 0; } + + public int a(int arg0, float arg1) { + return this.SetRenderStatef(arg0, arg1); + } + + public IDirect3DSurface c() { + IDirect3DSurface local5 = new IDirect3DSurface(this.b); + int local9 = this._GetDepthStencilSurface(local5); + if (lh.a(local9, true)) { + throw new sja(String.valueOf(local9)); + } + return local5; + } + + public int SetRenderState(int arg0, int arg1) { return 0; } + + public IDirect3DTexture a(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5) { + IDirect3DTexture local5 = new IDirect3DTexture(this.b); + int local15 = this._CreateTexture(arg0, arg1, arg2, arg3, arg4, arg5, local5); + if (lh.a(local15, true)) { + throw new sja(String.valueOf(local15)); + } + return local5; + } + + public boolean LightEnable(int arg0, boolean arg1) { return false; } + + public int SetTransform(int arg0, float[] arg1) { return 0; } + + public int _GetBackBuffer(int arg0, int arg1, int arg2, IDirect3DSurface arg3) { return 0; } + + public IDirect3DCubeTexture a(int arg0, int arg1, int arg2, int arg3, int arg4) { + IDirect3DCubeTexture local5 = new IDirect3DCubeTexture(this.b); + int local14 = this._CreateCubeTexture(arg0, arg1, arg2, arg3, arg4, local5); + if (lh.a(local14, true)) { + throw new sja(String.valueOf(local14)); + } + return local5; + } + + public int _CreateIndexBuffer(int arg0, int arg1, int arg2, int arg3, IDirect3DIndexBuffer arg4) { return 0; } + + public int SetRenderStatef(int arg0, float arg1) { return 0; } + + public int DrawIndexedPrimitive(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5) { return 0; } + + public int _CreateTexture(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, IDirect3DTexture arg6) { return 0; } + + public IDirect3DVolumeTexture a(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6) { + IDirect3DVolumeTexture local5 = new IDirect3DVolumeTexture(this.b); + int local16 = this._CreateVolumeTexture(arg0, arg1, arg2, arg3, arg4, arg5, arg6, local5); + if (lh.a(local16, true)) { + throw new sja(String.valueOf(local16)); + } + return local5; + } + + public int SetSamplerState(int arg0, int arg1, int arg2) { return 0; } + + public int a(int arg0, float arg1, float arg2, float arg3, float arg4) { + c[1] = arg2; + c[2] = arg3; + c[0] = arg1; + c[3] = arg4; + return this.SetVertexShaderConstantF(arg0, c, 1); + } + + public int SetRenderStateb(int arg0, boolean arg1) { return 0; } + + public int _CreatePixelShader(byte[] arg0, IDirect3DPixelShader arg1) { return 0; } + + public int SetVertexShaderConstantF(int arg0, float[] arg1, int arg2) { return 0; } + + public int Reset(D3DPRESENT_PARAMETERS arg0) { return 0; } + + public int SetStreamSource(int arg0, IDirect3DVertexBuffer arg1, int arg2, int arg3) { return 0; } + + public IDirect3DEventQuery b() { + IDirect3DEventQuery local5 = new IDirect3DEventQuery(this.b); + if (lh.a((byte) 68, this._CreateEventQuery(local5))) { + return local5.a((byte) -127) ? local5 : null; + } else { + return null; + } + } + + public int BeginScene() { return 0; } + + public int SetVertexShader(IDirect3DVertexShader arg0) { return 0; } + + public int TestCooperativeLevel() { return 0; } + + public int b(int arg0, float arg1, float arg2, float arg3, float arg4) { + c[0] = arg1; + c[2] = arg3; + c[1] = arg2; + c[3] = arg4; + return this.SetPixelShaderConstantF(arg0, c, 1); + } + + public IDirect3DSurface c(int arg0) { + IDirect3DSurface local5 = new IDirect3DSurface(this.b); + int local10 = this._GetRenderTarget(arg0, local5); + if (lh.a(local10, true)) { + throw new sja(String.valueOf(local10)); + } + return local5; + } + + public IDirect3DVertexShader b(byte[] arg0) { + if (arg0 == null) { + return null; + } + IDirect3DVertexShader local11 = new IDirect3DVertexShader(this.b); + int local16 = this._CreateVertexShader(arg0, local11); + if (lh.a(local16, true)) { + throw new sja(String.valueOf(local16)); + } + return local11; + } + + public int _GetRenderTarget(int arg0, IDirect3DSurface arg1) { return 0; } + + public IDirect3DVertexDeclaration a(VertexElementCollection arg0, IDirect3DVertexDeclaration arg1) { + if (arg1 == null) { + arg1 = new IDirect3DVertexDeclaration(this.b); + } else { + arg1.a(-109); + } + int local19 = this._CreateVertexDeclaration(arg0, arg1); + if (lh.a(local19, true)) { + throw new sja(String.valueOf(local19)); + } + return arg1; + } + + public int SetViewport(int arg0, int arg1, int arg2, int arg3, float arg4, float arg5) { return 0; } + + public IDirect3DSwapChain b(int arg0) { + IDirect3DSwapChain local5 = new IDirect3DSwapChain(this.b); + int local10 = this._GetSwapChain(arg0, local5); + if (lh.a(local10, true)) { + throw new sja(String.valueOf(local10)); + } + return local5; + } + + public int DrawPrimitive(int arg0, int arg1, int arg2) { return 0; } + + public int _CreateVertexBuffer(int arg0, int arg1, int arg2, int arg3, IDirect3DVertexBuffer arg4) { return 0; } + + public IDirect3DIndexBuffer a(int arg0, int arg1, int arg2, int arg3, IDirect3DIndexBuffer arg4) { + if (arg4 == null) { + arg4 = new IDirect3DIndexBuffer(this.b); + } else { + arg4.a(47); + } + int local22 = this._CreateIndexBuffer(arg0, arg1, arg2, arg3, arg4); + if (lh.a(local22, true)) { + throw new sja(String.valueOf(local22)); + } + return arg4; + } + + public int SetTexture(int arg0, IDirect3DBaseTexture arg1) { return 0; } + + public int StretchRect(IDirect3DSurface arg0, int arg1, int arg2, int arg3, int arg4, IDirect3DSurface arg5, int arg6, int arg7, int arg8, int arg9, int arg10) { return 0; } + + public int _CreateVertexDeclaration(VertexElementCollection arg0, IDirect3DVertexDeclaration arg1) { return 0; } + + public int _CreateRenderTarget(int arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5, IDirect3DSurface arg6) { return 0; } + + public int SetFVF(int arg0) { return 0; } + + public int SetScissorRect(int arg0, int arg1, int arg2, int arg3) { return 0; } + + public int _CreateOffscreenPlainSurface(int arg0, int arg1, int arg2, int arg3, IDirect3DSurface arg4) { return 0; } + + public int a(int arg0, float[] arg1) { + return this.SetVertexShaderConstantF(arg0, arg1, arg1.length / 4); + } + + public int SetVertexDeclaration(IDirect3DVertexDeclaration arg0) { return 0; } + + public int a(int arg0, boolean arg1) { + return this.SetRenderStateb(arg0, arg1); + } + + public int Clear(int arg0, int arg1, float arg2, int arg3) { return 0; } + + public int _CreateCubeTexture(int arg0, int arg1, int arg2, int arg3, int arg4, IDirect3DCubeTexture arg5) { return 0; } + + public int SetIndices(IDirect3DIndexBuffer arg0) { return 0; } + + public IDirect3DSurface a(int arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5) { + IDirect3DSurface local5 = new IDirect3DSurface(this.b); + int local15 = this._CreateRenderTarget(arg0, arg1, arg2, arg3, arg4, arg5, local5); + if (lh.a(local15, true)) { + throw new sja(String.valueOf(local15)); + } + return local5; + } + + public int EndScene() { return 0; } + + public int _CreateVertexShader(byte[] arg0, IDirect3DVertexShader arg1) { return 0; } + + public int SetPixelShader(IDirect3DPixelShader arg0) { return 0; } + + public int _CreateVolumeTexture(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, IDirect3DVolumeTexture arg7) { return 0; } +} diff --git a/android/app/src/main/java/jagdx/IDirect3DEventQuery.java b/android/app/src/main/java/jagdx/IDirect3DEventQuery.java new file mode 100644 index 000000000..3aab990ce --- /dev/null +++ b/android/app/src/main/java/jagdx/IDirect3DEventQuery.java @@ -0,0 +1,15 @@ +package jagdx; + +import jaclib.peer.IUnknown; +import jaclib.peer.ti; + +public final class IDirect3DEventQuery extends IUnknown { + + public IDirect3DEventQuery(ti arg0) { + super(arg0); + } + + public int Issue() { return 0; } + + public int IsSignaled() { return 0; } +} diff --git a/android/app/src/main/java/jagdx/IDirect3DIndexBuffer.java b/android/app/src/main/java/jagdx/IDirect3DIndexBuffer.java new file mode 100644 index 000000000..24787807c --- /dev/null +++ b/android/app/src/main/java/jagdx/IDirect3DIndexBuffer.java @@ -0,0 +1,22 @@ +package jagdx; + +import jaclib.peer.IUnknown; +import jaclib.peer.ti; + +public final class IDirect3DIndexBuffer extends IUnknown { + + public IDirect3DIndexBuffer(ti arg0) { + super(arg0); + } + + @Override + protected long a() { + return super.a(); + } + + public boolean _Update(long arg0, int arg1, int arg2) { return false; } + + public int Lock(int arg0, int arg1, int arg2, GeometryBuffer arg3) { return 0; } + + public int Unlock() { return 0; } +} diff --git a/android/app/src/main/java/jagdx/IDirect3DPixelShader.java b/android/app/src/main/java/jagdx/IDirect3DPixelShader.java new file mode 100644 index 000000000..268061082 --- /dev/null +++ b/android/app/src/main/java/jagdx/IDirect3DPixelShader.java @@ -0,0 +1,11 @@ +package jagdx; + +import jaclib.peer.IUnknown; +import jaclib.peer.ti; + +public final class IDirect3DPixelShader extends IUnknown { + + public IDirect3DPixelShader(ti arg0) { + super(arg0); + } +} diff --git a/android/app/src/main/java/jagdx/IDirect3DSurface.java b/android/app/src/main/java/jagdx/IDirect3DSurface.java new file mode 100644 index 000000000..d2d2837ad --- /dev/null +++ b/android/app/src/main/java/jagdx/IDirect3DSurface.java @@ -0,0 +1,15 @@ +package jagdx; + +import jaclib.peer.IUnknown; +import jaclib.peer.ti; + +public final class IDirect3DSurface extends IUnknown { + + public IDirect3DSurface(ti arg0) { + super(arg0); + } + + public int LockRect(int arg0, int arg1, int arg2, int arg3, int arg4, PixelBuffer arg5) { return 0; } + + public boolean UnlockRect() { return false; } +} diff --git a/android/app/src/main/java/jagdx/IDirect3DSwapChain.java b/android/app/src/main/java/jagdx/IDirect3DSwapChain.java new file mode 100644 index 000000000..67d008f86 --- /dev/null +++ b/android/app/src/main/java/jagdx/IDirect3DSwapChain.java @@ -0,0 +1,27 @@ +package jagdx; + +import jaclib.peer.IUnknown; +import jaclib.peer.ti; + +public final class IDirect3DSwapChain extends IUnknown { + + public final ti b; + + public IDirect3DSwapChain(ti arg0) { + super(arg0); + this.b = arg0; + } + + public int Present(int arg0) { return 0; } + + public int _GetBackBuffer(int arg0, int arg1, IDirect3DSurface arg2) { return 0; } + + public IDirect3DSurface a(int arg0, int arg1) { + IDirect3DSurface local5 = new IDirect3DSurface(this.b); + int local11 = this._GetBackBuffer(arg0, arg1, local5); + if (lh.a(local11, true)) { + throw new sja(String.valueOf(local11)); + } + return local5; + } +} diff --git a/android/app/src/main/java/jagdx/IDirect3DTexture.java b/android/app/src/main/java/jagdx/IDirect3DTexture.java new file mode 100644 index 000000000..ef3fe94c6 --- /dev/null +++ b/android/app/src/main/java/jagdx/IDirect3DTexture.java @@ -0,0 +1,14 @@ +package jagdx; + +import jaclib.peer.ti; + +public final class IDirect3DTexture extends IDirect3DBaseTexture { + + public IDirect3DTexture(ti arg0) { + super(arg0); + } + + public boolean UnlockRect(int arg0) { return false; } + + public int LockRect(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, PixelBuffer arg6) { return 0; } +} diff --git a/android/app/src/main/java/jagdx/IDirect3DVertexBuffer.java b/android/app/src/main/java/jagdx/IDirect3DVertexBuffer.java new file mode 100644 index 000000000..b3e640ef2 --- /dev/null +++ b/android/app/src/main/java/jagdx/IDirect3DVertexBuffer.java @@ -0,0 +1,36 @@ +package jagdx; + +import jaclib.memory.Source; +import jaclib.peer.IUnknown; +import jaclib.peer.ti; + +public final class IDirect3DVertexBuffer extends IUnknown { + + public int b; + + public IDirect3DVertexBuffer(ti arg0) { + super(arg0); + } + + public boolean a(Source arg0, int arg1, int arg2, int arg3, int arg4) { + if (arg0 == null || arg1 < 0 || arg3 > arg1 + arg0.getSize()) { + throw new sja(""); + } else if (this.b + arg2 < arg3) { + throw new sja(""); + } else { + return this._Update((long) arg1 + arg0.getAddress(), arg2, arg3, arg4); + } + } + + public boolean _Update(long arg0, int arg1, int arg2, int arg3) { return false; } + + @Override + protected long a() { + this.b = 0; + return super.a(); + } + + public int Lock(int arg0, int arg1, int arg2, GeometryBuffer arg3) { return 0; } + + public int Unlock() { return 0; } +} diff --git a/android/app/src/main/java/jagdx/IDirect3DVertexDeclaration.java b/android/app/src/main/java/jagdx/IDirect3DVertexDeclaration.java new file mode 100644 index 000000000..465acd227 --- /dev/null +++ b/android/app/src/main/java/jagdx/IDirect3DVertexDeclaration.java @@ -0,0 +1,11 @@ +package jagdx; + +import jaclib.peer.IUnknown; +import jaclib.peer.ti; + +public final class IDirect3DVertexDeclaration extends IUnknown { + + public IDirect3DVertexDeclaration(ti arg0) { + super(arg0); + } +} diff --git a/android/app/src/main/java/jagdx/IDirect3DVertexShader.java b/android/app/src/main/java/jagdx/IDirect3DVertexShader.java new file mode 100644 index 000000000..f16297eed --- /dev/null +++ b/android/app/src/main/java/jagdx/IDirect3DVertexShader.java @@ -0,0 +1,11 @@ +package jagdx; + +import jaclib.peer.IUnknown; +import jaclib.peer.ti; + +public final class IDirect3DVertexShader extends IUnknown { + + public IDirect3DVertexShader(ti arg0) { + super(arg0); + } +} diff --git a/android/app/src/main/java/jagdx/IDirect3DVolumeTexture.java b/android/app/src/main/java/jagdx/IDirect3DVolumeTexture.java new file mode 100644 index 000000000..0eea70c71 --- /dev/null +++ b/android/app/src/main/java/jagdx/IDirect3DVolumeTexture.java @@ -0,0 +1,14 @@ +package jagdx; + +import jaclib.peer.ti; + +public final class IDirect3DVolumeTexture extends IDirect3DBaseTexture { + + public IDirect3DVolumeTexture(ti arg0) { + super(arg0); + } + + public int LockBox(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, PixelBuffer arg8) { return 0; } + + public boolean UnlockBox(int arg0) { return false; } +} diff --git a/android/app/src/main/java/jagdx/PixelBuffer.java b/android/app/src/main/java/jagdx/PixelBuffer.java new file mode 100644 index 000000000..4aa90c41f --- /dev/null +++ b/android/app/src/main/java/jagdx/PixelBuffer.java @@ -0,0 +1,56 @@ +package jagdx; + +import jaclib.memory.Buffer; +import jaclib.peer.os; +import jaclib.peer.ti; + +public final class PixelBuffer extends os implements Buffer { + + public PixelBuffer(ti arg0) { + super(arg0); + this.init(); + } + + public void b(int[] arg0, int arg1, int arg2, int arg3) { + if (arg0.length < arg1 + arg3 | arg1 < 0 | arg0 == null | arg2 < 0 || this.getSize() < arg3 * 4 + arg2) { + throw new sja(); + } + this.puti(arg0, arg1, arg2, arg3); + } + + public void getub(byte[] arg0, int arg1, int arg2, int arg3) {} + + public int getSlicePitch() { return 0; } + + public void geti(int[] arg0, int arg1, int arg2, int arg3) {} + + public void a(int[] arg0, int arg1, int arg2, int arg3) { + if (arg1 < 0 | arg0 == null | arg0.length < arg3 + arg1 | arg2 < 0 || this.getSize() < arg3 * 4 + arg2) { + throw new sja(); + } + this.geti(arg0, arg1, arg2, arg3); + } + + public void putub(byte[] arg0, int arg1, int arg2, int arg3) {} + + @Override + public long getAddress() { + return 0L; + } + + public void puti(int[] arg0, int arg1, int arg2, int arg3) {} + + @Override + public void a(byte[] arg0, int arg1, int arg2, int arg3) { + if (arg2 < 0 | arg3 + arg1 > arg0.length | arg0 == null | arg1 < 0 || arg3 + arg2 > this.getSize()) { + throw new sja(); + } + this.putub(arg0, arg1, arg2, arg3); + } + + public int getRowPitch() { return 0; } + + public void init() {} + + public int getSize() { return 0; } +} diff --git a/android/app/src/main/java/jagdx/VertexElementCollection.java b/android/app/src/main/java/jagdx/VertexElementCollection.java new file mode 100644 index 000000000..3675c4668 --- /dev/null +++ b/android/app/src/main/java/jagdx/VertexElementCollection.java @@ -0,0 +1,20 @@ +package jagdx; + +import jaclib.peer.os; +import jaclib.peer.ti; + +public final class VertexElementCollection extends os { + + public VertexElementCollection(ti arg0) { + super(arg0); + this.init(); + } + + public void addElement(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5) {} + + public void init() {} + + public void reset() {} + + public void finish() {} +} diff --git a/android/app/src/main/java/jagdx/fda.java b/android/app/src/main/java/jagdx/fda.java new file mode 100644 index 000000000..82dae21bc --- /dev/null +++ b/android/app/src/main/java/jagdx/fda.java @@ -0,0 +1,6 @@ +package jagdx; + +public class fda extends RuntimeException { + public fda() {} + public fda(String message) { super(message); } +} diff --git a/android/app/src/main/java/jagdx/lh.java b/android/app/src/main/java/jagdx/lh.java new file mode 100644 index 000000000..25442c66a --- /dev/null +++ b/android/app/src/main/java/jagdx/lh.java @@ -0,0 +1,13 @@ +package jagdx; + + +public final class lh { + + public static boolean a(byte arg0, int arg1) { + return arg1 >= 0; + } + + public static boolean a(int arg0, boolean arg1) { + return arg0 < 0; + } +} diff --git a/android/app/src/main/java/jagdx/sja.java b/android/app/src/main/java/jagdx/sja.java new file mode 100644 index 000000000..7d6e2a25a --- /dev/null +++ b/android/app/src/main/java/jagdx/sja.java @@ -0,0 +1,12 @@ +package jagdx; + + +public final class sja extends RuntimeException { + + public sja(String arg0) { + super(arg0); + } + + public sja() { + } +} diff --git a/android/app/src/main/java/jagdx/ue.java b/android/app/src/main/java/jagdx/ue.java new file mode 100644 index 000000000..4922f4550 --- /dev/null +++ b/android/app/src/main/java/jagdx/ue.java @@ -0,0 +1,6 @@ +package jagdx; + +public final class ue { + public static boolean a(byte arg0, int arg1) { return arg1 >= 0; } + public static boolean a(int arg0, boolean arg1) { return arg0 >= 0; } +} diff --git a/android/app/src/main/java/jagex3/graphics2/hw/NativeInterface.java b/android/app/src/main/java/jagex3/graphics2/hw/NativeInterface.java new file mode 100644 index 000000000..a68707033 --- /dev/null +++ b/android/app/src/main/java/jagex3/graphics2/hw/NativeInterface.java @@ -0,0 +1,33 @@ +package jagex3.graphics2.hw; + + +public final class NativeInterface { + + public long peer; + + public NativeInterface(int arg0, int arg1) { + this.init(arg0, arg1); + } + + public void copyNormals(short[] arg0, short[] arg1, short[] arg2, byte[] arg3, float arg4, float arg5, int arg6, int arg7, int arg8, long arg9) {} + + public void release() {} + + public void copyLighting(short[] arg0, byte[] arg1, short[] arg2, short[] arg3, short[] arg4, short[] arg5, byte[] arg6, int arg7, int arg8, short[] arg9, int arg10, int arg11, int arg12, long arg13) {} + + public void init(int arg0, int arg1) {} + + public void initTextureMetrics(int arg0, byte arg1, byte arg2) {} + + public void setSunColour(float arg0, float arg1, float arg2, float arg3, float arg4) {} + + public void setSunDirection(float arg0, float arg1, float arg2) {} + + public void copyPositions(int[] arg0, int[] arg1, int[] arg2, short[] arg3, int arg4, int arg5, int arg6, long arg7) {} + + public void copyTexCoords(float[] arg0, float[] arg1, int arg2, int arg3, int arg4, long arg5) {} + + public void setAmbient(float arg0) {} + + public void copyColours(short[] arg0, byte[] arg1, short[] arg2, int arg3, short[] arg4, int arg5, int arg6, int arg7, long arg8) {} +} diff --git a/android/app/src/main/java/jagex3/jagmisc/jagmisc.java b/android/app/src/main/java/jagex3/jagmisc/jagmisc.java new file mode 100644 index 000000000..4ef06c470 --- /dev/null +++ b/android/app/src/main/java/jagex3/jagmisc/jagmisc.java @@ -0,0 +1,32 @@ +package jagex3.jagmisc; + + +public final class jagmisc { + + public static int ping0(byte arg0, byte arg1, byte arg2, byte arg3, long arg4) { return 0; } + + public static boolean init() { return false; } + + public static void Quit0() {} + + public static long nanoTime() { return System.nanoTime(); } + + public static long getTotalPhysicalMemory() { return 0L; } + + public static long getAvailablePhysicalMemory() { return 0L; } + + public static void quit() { + Quit0(); + } + + public static int ping(byte arg0, byte arg1, byte arg2, byte arg3, long arg4) throws Throwable { + int local6 = ping0(arg0, arg1, arg2, arg3, arg4); + if (local6 < 0) { + throw new Exception(String.valueOf(local6)); + } + return local6; + } + + public jagmisc() { + } +} diff --git a/android/app/src/main/java/jaggl/MapBuffer.java b/android/app/src/main/java/jaggl/MapBuffer.java new file mode 100644 index 000000000..3931ad051 --- /dev/null +++ b/android/app/src/main/java/jaggl/MapBuffer.java @@ -0,0 +1,44 @@ +package jaggl; + +import jaclib.memory.NativeBuffer; + +public final class MapBuffer extends NativeBuffer { + + public int c; + + public boolean a(int arg0, int arg1, int arg2) { + if (this.c != 0) { + return false; + } + long local9 = OpenGL.glMapBufferARB(arg0, arg2); + if (local9 == 0L) { + return false; + } else { + this.a(local9, arg1); + this.c = arg0; + return true; + } + } + + public boolean a() { + return this.c != 0; + } + + @Override + public void a(byte[] arg0, int arg1, int arg2, int arg3) { + if (this.c == 0) { + throw new RuntimeException(); + } + super.a(arg0, arg1, arg2, arg3); + } + + public boolean b() { + boolean local1 = true; + if (this.c != 0) { + local1 = OpenGL.glUnmapBufferARB(this.c); + this.a(0L, 0); + this.c = 0; + } + return local1; + } +} diff --git a/android/app/src/main/java/jaggl/OpenGL.java b/android/app/src/main/java/jaggl/OpenGL.java new file mode 100644 index 000000000..1b4f7f5d7 --- /dev/null +++ b/android/app/src/main/java/jaggl/OpenGL.java @@ -0,0 +1,702 @@ +package jaggl; + + +import voidawt.Canvas; +import java.util.Hashtable; + +public final class OpenGL { + + public static final int GL_POINTS = 0x0; + + public static final int GL_LINES = 0x1; + + public static final int GL_ONE = 0x1; + + public static final int GL_LINE_LOOP = 0x2; + + public static final int GL_TRIANGLES = 0x4; + + public static final int GL_TRIANGLE_FAN = 0x6; + + public static final int GL_QUADS = 0x7; + + public static final int GL_DEPTH_BUFFER_BIT = 0x100; + + public static final int GL_LEQUAL = 0x203; + + public static final int GL_GREATER = 0x204; + + public static final int GL_SRC_COLOR = 0x300; + + public static final int GL_ONE_MINUS_SRC_COLOR = 0x301; + + public static final int GL_SRC_ALPHA = 0x302; + + public static final int GL_ONE_MINUS_SRC_ALPHA = 0x303; + + public static final int GL_DST_COLOR = 0x306; + + public static final int GL_FRONT = 0x404; + + public static final int GL_BACK = 0x405; + + public static final int GL_VIEWPORT_BIT = 0x800; + + public static final int GL_POINT_SMOOTH = 0xB10; + + public static final int GL_POINT_SIZE_RANGE = 0xB12; + + public static final int GL_CULL_FACE = 0xB44; + + public static final int GL_LIGHTING = 0xB50; + + public static final int GL_LIGHT_MODEL_AMBIENT = 0xB53; + + public static final int GL_COLOR_MATERIAL = 0xB57; + + public static final int GL_FOG = 0xB60; + + public static final int GL_FOG_DENSITY = 0xB62; + + public static final int GL_FOG_START = 0xB63; + + public static final int GL_FOG_END = 0xB64; + + public static final int GL_FOG_MODE = 0xB65; + + public static final int GL_FOG_COLOR = 0xB66; + + public static final int GL_DEPTH_TEST = 0xB71; + + public static final int GL_MODELVIEW_MATRIX = 0xBA6; + + public static final int GL_ALPHA_TEST = 0xBC0; + + public static final int GL_BLEND = 0xBE2; + + public static final int GL_SCISSOR_TEST = 0xC11; + + public static final int GL_FOG_HINT = 0xC54; + + public static final int GL_TEXTURE_GEN_S = 0xC60; + + public static final int GL_TEXTURE_GEN_T = 0xC61; + + public static final int GL_TEXTURE_GEN_R = 0xC62; + + public static final int GL_TEXTURE_GEN_Q = 0xC63; + + public static final int GL_UNPACK_ROW_LENGTH = 0xCF2; + + public static final int GL_UNPACK_ALIGNMENT = 0xCF5; + + public static final int GL_RED_SCALE = 0xD14; + + public static final int GL_RED_BIAS = 0xD15; + + public static final int GL_GREEN_SCALE = 0xD18; + + public static final int GL_GREEN_BIAS = 0xD19; + + public static final int GL_BLUE_SCALE = 0xD1A; + + public static final int GL_BLUE_BIAS = 0xD1B; + + public static final int GL_TEXTURE_2D = 0xDE1; + + public static final int GL_FASTEST = 0x1101; + + public static final int GL_AMBIENT = 0x1200; + + public static final int GL_DIFFUSE = 0x1201; + + public static final int GL_POSITION = 0x1203; + + public static final int GL_CONSTANT_ATTENUATION = 0x1207; + + public static final int GL_LINEAR_ATTENUATION = 0x1208; + + public static final int GL_QUADRATIC_ATTENUATION = 0x1209; + + public static final int GL_COMPILE = 0x1300; + + public static final int GL_UNSIGNED_BYTE = 0x1401; + + public static final int GL_FLOAT = 0x1406; + + public static final int GL_AMBIENT_AND_DIFFUSE = 0x1602; + + public static final int GL_MODELVIEW = 0x1700; + + public static final int GL_PROJECTION = 0x1701; + + public static final int GL_TEXTURE = 0x1702; + + public static final int GL_COLOR = 0x1800; + + public static final int GL_ALPHA = 0x1906; + + public static final int GL_RGBA = 0x1908; + + public static final int GL_FILL = 0x1B02; + + public static final int GL_SMOOTH = 0x1D01; + + public static final int GL_VENDOR = 0x1F00; + + public static final int GL_RENDERER = 0x1F01; + + public static final int GL_VERSION = 0x1F02; + + public static final int GL_S = 0x2000; + + public static final int GL_T = 0x2001; + + public static final int GL_R = 0x2002; + + public static final int GL_Q = 0x2003; + + public static final int GL_MODULATE = 0x2100; + + public static final int GL_TEXTURE_ENV_MODE = 0x2200; + + public static final int GL_TEXTURE_ENV_COLOR = 0x2201; + + public static final int GL_TEXTURE_ENV = 0x2300; + + public static final int GL_EYE_LINEAR = 0x2400; + + public static final int GL_OBJECT_LINEAR = 0x2401; + + public static final int GL_TEXTURE_GEN_MODE = 0x2500; + + public static final int GL_OBJECT_PLANE = 0x2501; + + public static final int GL_EYE_PLANE = 0x2502; + + public static final int GL_NEAREST = 0x2600; + + public static final int GL_LINEAR = 0x2601; + + public static final int GL_NEAREST_MIPMAP_NEAREST = 0x2700; + + public static final int GL_LINEAR_MIPMAP_LINEAR = 0x2703; + + public static final int GL_TEXTURE_MAG_FILTER = 0x2800; + + public static final int GL_TEXTURE_MIN_FILTER = 0x2801; + + public static final int GL_TEXTURE_WRAP_S = 0x2802; + + public static final int GL_TEXTURE_WRAP_T = 0x2803; + + public static final int GL_REPEAT = 0x2901; + + public static final int GL_LIGHT0 = 0x4000; + + public static final int GL_COLOR_BUFFER_BIT = 0x4000; + + public static final int GL_LIGHT1 = 0x4001; + + public static final int GL_LIGHT2 = 0x4002; + + public static final int GL_VERTEX_ARRAY = 0x8074; + + public static final int GL_NORMAL_ARRAY = 0x8075; + + public static final int GL_COLOR_ARRAY = 0x8076; + + public static final int GL_TEXTURE_COORD_ARRAY = 0x8078; + + public static final int GL_MULTISAMPLE = 0x809D; + + public static final int GL_BGRA = 0x80E1; + + public static final int GL_CLAMP_TO_EDGE = 0x812F; + + public static final int GL_TEXTURE0 = 0x84C0; + + public static final int GL_TEXTURE1 = 0x84C1; + + public static final int GL_MAX_TEXTURE_UNITS = 0x84E2; + + public static final int GL_NORMAL_MAP = 0x8511; + + public static final int GL_REFLECTION_MAP = 0x8512; + + public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515; + + public static final int GL_COMBINE = 0x8570; + + public static final int GL_COMBINE_RGB = 0x8571; + + public static final int GL_COMBINE_ALPHA = 0x8572; + + public static final int GL_RGB_SCALE = 0x8573; + + public static final int GL_CONSTANT = 0x8576; + + public static final int GL_PREVIOUS = 0x8578; + + public static final int GL_SRC0_RGB = 0x8580; + + public static final int GL_SRC2_RGB = 0x8582; + + public static final int GL_SRC0_ALPHA = 0x8588; + + public static final int GL_SRC2_ALPHA = 0x858A; + + public static final int GL_OPERAND0_RGB = 0x8590; + + public static final int GL_OPERAND0_ALPHA = 0x8598; + + public static final int GL_VERTEX_PROGRAM_ARB = 0x8620; + + public static final int GL_PROGRAM_ERROR_POSITION_ARB = 0x864B; + + public static final int GL_FRAGMENT_PROGRAM_ARB = 0x8804; + + public static final int GL_RGBA16F = 0x881A; + + public static final int GL_MAX_TEXTURE_COORDS = 0x8871; + + public static final int GL_MAX_TEXTURE_IMAGE_UNITS = 0x8872; + + public static final int GL_PROGRAM_FORMAT_ASCII_ARB = 0x8875; + + public static final int GL_ARRAY_BUFFER = 0x8892; + + public static final int GL_ELEMENT_ARRAY_BUFFER = 0x8893; + + public static final int GL_COMPILE_STATUS = 0x8B81; + + public static final int GL_LINK_STATUS = 0x8B82; + + public static final int GL_INFO_LOG_LENGTH = 0x8B84; + + public static final int GL_READ_FRAMEBUFFER = 0x8CA8; + + public static final int GL_DRAW_FRAMEBUFFER = 0x8CA9; + + public static final int GL_FRAMEBUFFER_COMPLETE = 0x8CD5; + + public static final int GL_FRAMEBUFFER = 0x8D40; + + public static final int GL_RENDERBUFFER = 0x8D41; + + public static final Hashtable a = new Hashtable(); + + public long peer; + + public Hashtable c; + + public Thread b; + + public static void glPixelZoom(float xfactor, float yfactor) {} + + public static void glUniform1iARB(int location, int v0) {} + + public static void glColor3f(float red, float green, float blue) {} + + public static void glBufferDataARBa(int arg0, int arg1, long arg2, int arg3) {} + + public static void glMultiTexCoord2i(int target, int s, int t) {} + + public static void glTexCoord3f(float s, float t, float r) {} + + public static void glReadPixelsi(int x, int y, int width, int height, int format, int type, int[] pixels, int pixelsOffset) {} + + public static void glRasterPos2i(int x, int y) {} + + public static void glNormal3f(float nx, float ny, float nz) {} + + public static void glGetTexImageub(int target, int level, int format, int type, byte[] pixels, int pixelsOffset) {} + + public static long glCreateProgramObjectARB() { return 0L; } + + public static void glVertexPointer(int size, int type, int stride, long pointer) {} + + public static void glShaderSourceARB(long shaderObj, String string) {} + + public static void glProgramStringARB(int target, int format, String string) {} + + public static void glGetProgramivARB(int target, int pname, int[] params, int paramsOffset) {} + + public static void glGenFramebuffersEXT(int n, int[] framebuffers, int framebuffersOffset) {} + + public static void glTexParameteri(int target, int pname, int param) {} + + public static void glDeleteBuffersARB(int n, int[] buffers, int buffersOffset) {} + + public static void glDisable(int cap) {} + + public static void glTexSubImage2Di(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, int[] pixels, int pixelsOffset) {} + + public static void glGenBuffersARB(int n, int[] buffers, int buffersOffset) {} + + public static void glTexImage2Dub(int target, int level, int internalformat, int width, int height, int border, int format, int type, byte[] pixels, int pixelsOffset) {} + + public static void glGetInfoLogARB(long obj, int maxLength, int[] length, int lengthOffset, byte[] infoLog, int infoLogOffset) {} + + public static void glColor4ub(byte red, byte green, byte blue, byte alpha) {} + + public static void glUniform1fARB(int location, float v0) {} + + public static void glVertex3f(float x, float y, float z) {} + + public static void glTexCoord2f(float s, float t) {} + + public static void glDeleteObjectARB(long obj) {} + + public static void glDetachObjectARB(long containerObj, long attachedObj) {} + + public static void glColor4f(float red, float green, float blue, float alpha) {} + + public static void glTexImage3Dub(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, byte[] pixels, int pixelsOffset) {} + + public static long glMapBufferARB(int target, int access) { return 0L; } + + public static void glEnable(int cap) {} + + public static void glLinkProgramARB(long programObj) {} + + public static void glFramebufferRenderbufferEXT(int target, int attachment, int renderbuffertarget, int renderbuffer) {} + + public static void glColorMask(boolean red, boolean green, boolean blue, boolean alpha) {} + + public static void glDrawPixelsub(int width, int height, int format, int type, byte[] pixels, int pixelsOffset) {} + + public static void glTexImage2Di(int target, int level, int internalformat, int width, int height, int border, int format, int type, int[] pixels, int pixelsOffset) {} + + public static void glGenRenderbuffersEXT(int n, int[] renderbuffers, int renderbuffersOffset) {} + + public static int glGenLists(int range) { return 0; } + + public static void glTexParameterf(int target, int pname, float param) {} + + public static void glNewList(int list, int mode) {} + + public static void glGetObjectParameterivARB(long obj, int pname, int[] params, int paramsOffset) {} + + public static void glUseProgramObjectARB(long programObj) {} + + public static void glEnd() {} + + public static void glDrawBuffer(int buf) {} + + public static long glCreateShaderObjectARB(int shaderType) { return 0L; } + + public static void glGetIntegerv(int pname, int[] data, int dataOffset) {} + + public static void glColorMaterial(int face, int mode) {} + + public static void glGetTexImagei(int target, int level, int format, int type, int[] pixels, int pixelsOffset) {} + + public static void glUniformMatrix4fvARB(int location, int count, boolean transpose, float[] value, int valueOffset) {} + + public static void glDepthFunc(int func) {} + + public static void glDeleteTextures(int n, int[] textures, int texturesOffset) {} + + public static void glColorPointer(int size, int type, int stride, long pointer) {} + + public static void glFlush() {} + + public static void glTexCoord2i(int s, int t) {} + + public static void glProgramLocalParameter4fARB(int target, int index, float x, float y, float z, float w) {} + + public static void glDrawArrays(int mode, int first, int count) {} + + public static void glBlitFramebufferEXT(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter) {} + + public static void glDrawPixelsi(int width, int height, int format, int type, int[] pixels, int pixelsOffset) {} + + public static void glTexImage1Dub(int target, int level, int internalformat, int width, int border, int format, int type, byte[] pixels, int pixelsOffset) {} + + public static void glAttachObjectARB(long containerObj, long obj) {} + + public static void glMultMatrixf(float[] m, int mOffset) {} + + public static int glGetError() { return 0; } + + public static void glFramebufferTexture3DEXT(int target, int attachment, int textarget, int texture, int level, int zoffset) {} + + public static void glRotatef(float angle, float x, float y, float z) {} + + public static void glPushAttrib(int mask) {} + + public static void glGenerateMipmapEXT(int target) {} + + public static void glViewport(int x, int y, int width, int height) {} + + public static void glGenTextures(int n, int[] textures, int texturesOffset) {} + + public static void glBindFramebufferEXT(int target, int framebuffer) {} + + public static void glPopAttrib() {} + + public static void glDeleteProgramARB(int arg0) {} + + public static void glClientActiveTexture(int texture) {} + + public static void glLightModelfv(int pname, float[] params, int paramsOffset) {} + + public static void glBindRenderbufferEXT(int target, int renderbuffer) {} + + public static void glDepthMask(boolean flag) {} + + public static void glTexSubImage2Dub(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, byte[] pixels, int pixelsOffset) {} + + public static void glMatrixMode(int mode) {} + + public static void glBufferDataARBub(int arg0, int arg1, byte[] arg2, int arg3, int arg4) {} + + public static void glBindBufferARB(int target, int buffer) {} + + public static void glMaterialfv(int face, int pname, float[] params, int paramsOffset) {} + + public static void glLoadIdentity() {} + + public static void glPixelStorei(int pname, int param) {} + + public static void glMultiTexCoord2f(int target, float s, float t) {} + + public static void glGetFloatv(int pname, float[] data, int dataOffset) {} + + public static void glPolygonMode(int face, int mode) {} + + public static void glPointSize(float size) {} + + public static void glRenderbufferStorageEXT(int target, int internalformat, int width, int height) {} + + public static void glFinish() {} + + public static void glScalef(float x, float y, float z) {} + + public static void glCullFace(int mode) {} + + public static void glShaderSourceRawARB(long arg0, byte[] arg1) {} + + public static void glTexEnvfv(int target, int pname, float[] params, int paramsOffset) {} + + public static void glPixelTransferf(int pname, float param) {} + + public static void glMultiTexCoord3i(int target, int s, int t, int r) {} + + public static void glCallList(int list) {} + + public static void glUniformMatrix3fvARB(int location, int count, boolean transpose, float[] value, int valueOffset) {} + + public static void glBindProgramARB(int target, int program) {} + + public static void glTexEnvi(int target, int pname, int param) {} + + public static void glEndList() {} + + public static void glCompileShaderARB(long shaderObj) {} + + public static void glCopyPixels(int x, int y, int width, int height, int type) {} + + public static void glTexImage2Df(int target, int level, int internalformat, int width, int height, int border, int format, int type, float[] pixels, int pixelsOffset) {} + + public static boolean glUnmapBufferARB(int target) { return false; } + + public static void glClearDepth(float depth) {} + + public static void glVertex2i(int x, int y) {} + + public static void glClearColor(float red, float green, float blue, float alpha) {} + + public static void glPushMatrix() {} + + public static void glActiveTexture(int texture) {} + + public static void glTexSubImage2Df(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, float[] pixels, int pixelsOffset) {} + + public static void glScissor(int x, int y, int width, int height) {} + + public static void glColor3ub(byte red, byte green, byte blue) {} + + public static void glClear(int mask) {} + + public static void glDeleteLists(int list, int range) {} + + public static int glGenProgramARB() { return 0; } + + public static void glFogfv(int pname, float[] params, int paramsOffset) {} + + public static void glProgramRawARB(int arg0, int arg1, byte[] arg2) {} + + public static void glTexGenfv(int coord, int pname, float[] params, int paramsOffset) {} + + public static void glFramebufferTexture2DEXT(int target, int attachment, int textarget, int texture, int level) {} + + public static void glUniform4fARB(int location, float v0, float v1, float v2, float v3) {} + + public static void glLightfv(int light, int pname, float[] params, int paramsOffset) {} + + public static void glTexGeni(int coord, int pname, int param) {} + + public static void glDrawBuffersARB(int n, int[] bufs, int bufsOffset) {} + + public static void glLineWidth(float width) {} + + public static String glGetString(int name) { return null; } + + public static void glTexCoordPointer(int size, int type, int stride, long pointer) {} + + public static void glShadeModel(int mode) {} + + public static void glLoadMatrixf(float[] m, int mOffset) {} + + public static void glBlendFunc(int sfactor, int dfactor) {} + + public static int glGetUniformLocationARB(long programObj, String name) { return 0; } + + public static int glCheckFramebufferStatusEXT(int target) { return 0; } + + public static void glUniform3fARB(int location, float v0, float v1, float v2) {} + + public static void glDrawElements(int mode, int count, int type, long indices) {} + + public static void glFogf(int pname, float param) {} + + public static void glTexEnvf(int target, int pname, float param) {} + + public static void glRenderbufferStorageMultisampleEXT(int target, int samples, int internalformat, int width, int height) {} + + public static void glCopyTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height) {} + + public static void glFrustum(double left, double right, double bottom, double top, double zNear, double zFar) {} + + public static void glUniform2fARB(int location, float v0, float v1) {} + + public static void glDeleteFramebuffersEXT(int n, int[] framebuffers, int framebuffersOffset) {} + + public static void glUniformMatrix2fvARB(int location, int count, boolean transpose, float[] value, int valueOffset) {} + + public static void glCopyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) {} + + public static void glCopyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border) {} + + public static void glOrtho(double left, double right, double bottom, double top, double zNear, double zFar) {} + + public static void glBufferSubDataARBub(int arg0, int arg1, int arg2, byte[] arg3, int arg4) {} + + public static void glTexCoord3i(int s, int t, int r) {} + + public static void glTranslatef(float x, float y, float z) {} + + public static void glPopMatrix() {} + + public static void glStencilFunc(int func, int ref, int mask) {} + + public static void glBegin(int mode) {} + + public static void glBindTexture(int target, int texture) {} + + public static void glReadBuffer(int src) {} + + public static void glReadPixelsub(int x, int y, int width, int height, int format, int type, byte[] pixels, int pixelsOffset) {} + + public static void glDeleteRenderbuffersEXT(int n, int[] renderbuffers, int renderbuffersOffset) {} + + public static void glLightf(int light, int pname, float param) {} + + public static void glEnableClientState(int array) {} + + public static void glHint(int target, int mode) {} + + public static void glNormalPointer(int type, int stride, long pointer) {} + + public static void glAlphaFunc(int func, float ref) {} + + public static void glProgramLocalParameter4fvARB(int target, int index, float[] params, int paramsOffset) {} + + public static void glVertex2f(float x, float y) {} + + public static void glStencilOp(int fail, int zfail, int zpass) {} + + public static void glBufferSubDataARBa(int arg0, int arg1, int arg2, long arg3) {} + + public static void glDisableClientState(int array) {} + + public static void glFogi(int pname, int param) {} + + public void release() {} + + public long init(Canvas arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6) { return 0L; } + + public void surfaceResized(long arg0) {} + + public boolean a(String arg0) { + if (this.c == null) { + this.c = new Hashtable(); + String local10 = glGetString(7939); + int local12 = 0; + while (true) { + int local17 = local10.indexOf(32, local12); + if (local17 == -1) { + String local47 = local10.substring(local12).trim(); + if (local47.length() != 0) { + this.c.put(local47, local47); + } + break; + } + String local26 = local10.substring(local12, local17).trim(); + if (local26.length() != 0) { + this.c.put(local26, local26); + } + local12 = local17 + 1; + } + } + return this.c.containsKey(arg0); + } + + public void setPbuffer(long arg0) {} + + public void swapBuffers() {} + + public void releaseSurface(Canvas arg0, long arg1) {} + + public long prepareSurface(Canvas arg0) { return 0L; } + + public long createPbuffer(int arg0, int arg1) { return 0L; } + + public boolean setSurface(long arg0) { return false; } + + public synchronized boolean b() { + Thread local1 = Thread.currentThread(); + if (!this.attachPeer()) { + return false; + } + OpenGL local10 = (OpenGL) a.put(local1, this); + if (local10 != null) { + local10.b = null; + } + this.b = local1; + return true; + } + + public synchronized boolean a() { + if (this.b == Thread.currentThread()) { + this.detachPeer(); + a.remove(this.b); + this.b = null; + return true; + } else { + return false; + } + } + + public void releasePbuffer(long arg0) {} + + public void detachPeer() {} + + public boolean attachPeer() { return false; } + + public void setSwapInterval(int arg0) {} + + public boolean arePbuffersAvailable() { return false; } +} diff --git a/android/app/src/main/java/jagtheora/misc/SimplePeer.java b/android/app/src/main/java/jagtheora/misc/SimplePeer.java new file mode 100644 index 000000000..6e13be81b --- /dev/null +++ b/android/app/src/main/java/jagtheora/misc/SimplePeer.java @@ -0,0 +1,34 @@ +package jagtheora.misc; + + +public abstract class SimplePeer { + + public long peer; + + protected void init() {} + + protected abstract void clear(); + + public final boolean b() { + return this.peer == 0L; + } + + public void setPeer(long arg0) { + this.peer = arg0; + } + + public final void cleanUp() { + if (!this.b()) { + this.clear(); + } + } + + @Override + public final void finalize() throws Throwable { + if (!this.b()) { + this.cleanUp(); + } + super.finalize(); + } + public final void a() { this.cleanUp(); } +} diff --git a/android/app/src/main/java/jagtheora/ogg/OggPacket.java b/android/app/src/main/java/jagtheora/ogg/OggPacket.java new file mode 100644 index 000000000..8de75f70c --- /dev/null +++ b/android/app/src/main/java/jagtheora/ogg/OggPacket.java @@ -0,0 +1,18 @@ +package jagtheora.ogg; + +import jagtheora.misc.SimplePeer; + +public final class OggPacket extends SimplePeer { + + public boolean isTheora() { return false; } + + public int isHeader() { return 0; } + + protected void clear() {} + + public byte[] getData() { return null; } + + public int isKeyFrame() { return 0; } + + public boolean isVorbis() { return false; } +} diff --git a/android/app/src/main/java/jagtheora/ogg/OggPage.java b/android/app/src/main/java/jagtheora/ogg/OggPage.java new file mode 100644 index 000000000..cc6cf5d33 --- /dev/null +++ b/android/app/src/main/java/jagtheora/ogg/OggPage.java @@ -0,0 +1,24 @@ +package jagtheora.ogg; + +import jagtheora.misc.SimplePeer; + +public final class OggPage extends SimplePeer { + + public long getGranulePos() { return 0L; } + + public boolean isBOS() { return false; } + + public int getVersion() { return 0; } + + public int getCompletedPackets() { return 0; } + + public int getSerialNumber() { return 0; } + + public boolean isEOS() { return false; } + + protected void clear() {} + + public boolean isContinued() { return false; } + + public long getPageNumber() { return 0L; } +} diff --git a/android/app/src/main/java/jagtheora/ogg/OggStreamState.java b/android/app/src/main/java/jagtheora/ogg/OggStreamState.java new file mode 100644 index 000000000..1434184b0 --- /dev/null +++ b/android/app/src/main/java/jagtheora/ogg/OggStreamState.java @@ -0,0 +1,32 @@ +package jagtheora.ogg; + +import jagtheora.misc.SimplePeer; + +public final class OggStreamState extends SimplePeer { + + public OggStreamState(int arg0) { + if (!this.init(arg0)) { + throw new IllegalStateException(); + } + } + + public boolean init(int arg0) { return false; } + + public int packetOut() { return 0; } + + public boolean isEOS() { return false; } + + public int packetPeek(OggPacket arg0) { return 0; } + + protected void clear() {} + + public boolean reset() { return false; } + + public int packetOut(OggPacket arg0) { return 0; } + + public int packetPeek() { return 0; } + + public boolean resetSerialNo(int arg0) { return false; } + + public boolean pageIn(OggPage arg0) { return false; } +} diff --git a/android/app/src/main/java/jagtheora/ogg/OggSyncState.java b/android/app/src/main/java/jagtheora/ogg/OggSyncState.java new file mode 100644 index 000000000..d90aeeef7 --- /dev/null +++ b/android/app/src/main/java/jagtheora/ogg/OggSyncState.java @@ -0,0 +1,25 @@ +package jagtheora.ogg; + +import jagtheora.misc.SimplePeer; + +public final class OggSyncState extends SimplePeer { + + public OggSyncState() { + this.init(); + if (this.b()) { + throw new IllegalStateException(); + } + } + + protected void clear() {} + + protected void init() {} + + public long pageSeek(OggPage arg0) { return 0L; } + + public int pageOut(OggPage arg0) { return 0; } + + public boolean write(byte[] arg0, int arg1) { return false; } + + public boolean reset() { return false; } +} diff --git a/android/app/src/main/java/jagtheora/theora/DecoderContext.java b/android/app/src/main/java/jagtheora/theora/DecoderContext.java new file mode 100644 index 000000000..cc5ee0d9b --- /dev/null +++ b/android/app/src/main/java/jagtheora/theora/DecoderContext.java @@ -0,0 +1,32 @@ +package jagtheora.theora; + +import jagtheora.misc.SimplePeer; +import jagtheora.ogg.OggPacket; + +public final class DecoderContext extends SimplePeer { + + public DecoderContext(TheoraInfo arg0, SetupInfo arg1) { + this.init(arg0, arg1); + if (this.b()) { + throw new IllegalArgumentException(""); + } + } + + public double granuleTime(GranulePos arg0) { return 0d; } + + public int decodePacketIn(OggPacket arg0, GranulePos arg1) { return 0; } + + public int getMaxPostProcessingLevel() { return 0; } + + public long granuleFrame(GranulePos arg0) { return 0L; } + + public int setPostProcessingLevel(int arg0) { return 0; } + + public int setGranulePosition(long arg0) { return 0; } + + public int decodeFrame(Frame arg0) { return 0; } + + public void init(TheoraInfo arg0, SetupInfo arg1) {} + + protected void clear() {} +} diff --git a/android/app/src/main/java/jagtheora/theora/Frame.java b/android/app/src/main/java/jagtheora/theora/Frame.java new file mode 100644 index 000000000..d05f23dec --- /dev/null +++ b/android/app/src/main/java/jagtheora/theora/Frame.java @@ -0,0 +1,22 @@ +package jagtheora.theora; + +import jagtheora.misc.SimplePeer; + +public final class Frame extends SimplePeer { + + public final int b; + + public final int a; + + public final int[] pixels; + + protected void init() {} + + public Frame(int arg0, int arg1) { + this.b = arg0; + this.a = arg1; + this.pixels = new int[this.a * this.b]; + } + + protected void clear() {} +} diff --git a/android/app/src/main/java/jagtheora/theora/GranulePos.java b/android/app/src/main/java/jagtheora/theora/GranulePos.java new file mode 100644 index 000000000..74ba46f6a --- /dev/null +++ b/android/app/src/main/java/jagtheora/theora/GranulePos.java @@ -0,0 +1,12 @@ +package jagtheora.theora; + +import jagtheora.misc.SimplePeer; + +public final class GranulePos extends SimplePeer { + + public long position; + + protected void init() {} + + protected void clear() {} +} diff --git a/android/app/src/main/java/jagtheora/theora/SetupInfo.java b/android/app/src/main/java/jagtheora/theora/SetupInfo.java new file mode 100644 index 000000000..bc22aa5ab --- /dev/null +++ b/android/app/src/main/java/jagtheora/theora/SetupInfo.java @@ -0,0 +1,11 @@ +package jagtheora.theora; + +import jagtheora.misc.SimplePeer; +import jagtheora.ogg.OggPacket; + +public final class SetupInfo extends SimplePeer { + + protected void clear() {} + + public int decodeHeader(TheoraInfo arg0, TheoraComment arg1, OggPacket arg2) { return 0; } +} diff --git a/android/app/src/main/java/jagtheora/theora/TheoraComment.java b/android/app/src/main/java/jagtheora/theora/TheoraComment.java new file mode 100644 index 000000000..870a04aa9 --- /dev/null +++ b/android/app/src/main/java/jagtheora/theora/TheoraComment.java @@ -0,0 +1,17 @@ +package jagtheora.theora; + +import jagtheora.misc.SimplePeer; + +public final class TheoraComment extends SimplePeer { + + public TheoraComment() { + this.init(); + if (this.b()) { + throw new IllegalStateException(); + } + } + + protected void init() {} + + protected void clear() {} +} diff --git a/android/app/src/main/java/jagtheora/theora/TheoraInfo.java b/android/app/src/main/java/jagtheora/theora/TheoraInfo.java new file mode 100644 index 000000000..3d2bddfcf --- /dev/null +++ b/android/app/src/main/java/jagtheora/theora/TheoraInfo.java @@ -0,0 +1,53 @@ +package jagtheora.theora; + +import jagtheora.misc.SimplePeer; + +public final class TheoraInfo extends SimplePeer { + + public int frameWidth; + + public int picX; + + public int pixelFormat; + + public int picHeight; + + public int frameHeight; + + public int fpsDenominator; + + public int picY; + + public byte versionSubMinor; + + public int fpsNumerator; + + public int aspectDenominator; + + public int colourSpace; + + public byte versionMinor; + + public byte versionMajor; + + public int picWidth; + + public int aspectNumerator; + + static { + initFields(); + } + + public static void initFields() {} + + public TheoraInfo() { + this.init(); + if (this.b()) { + throw new IllegalStateException(); + } + } + + protected void init() {} + + protected void clear() {} +} diff --git a/android/app/src/main/java/jagtheora/vorbis/DSPState.java b/android/app/src/main/java/jagtheora/vorbis/DSPState.java new file mode 100644 index 000000000..877726a46 --- /dev/null +++ b/android/app/src/main/java/jagtheora/vorbis/DSPState.java @@ -0,0 +1,25 @@ +package jagtheora.vorbis; + +import jagtheora.misc.SimplePeer; + +public final class DSPState extends SimplePeer { + + public DSPState(VorbisInfo arg0) { + this.init(arg0); + if (this.b()) { + throw new IllegalStateException(); + } + } + + public float[][] pcmOut(int arg0) { return null; } + + public void init(VorbisInfo arg0) {} + + public double granuleTime() { return 0d; } + + protected void clear() {} + + public void blockIn(VorbisBlock arg0) {} + + public void read(int arg0) {} +} diff --git a/android/app/src/main/java/jagtheora/vorbis/VorbisBlock.java b/android/app/src/main/java/jagtheora/vorbis/VorbisBlock.java new file mode 100644 index 000000000..2703ddb5c --- /dev/null +++ b/android/app/src/main/java/jagtheora/vorbis/VorbisBlock.java @@ -0,0 +1,20 @@ +package jagtheora.vorbis; + +import jagtheora.misc.SimplePeer; +import jagtheora.ogg.OggPacket; + +public final class VorbisBlock extends SimplePeer { + + public VorbisBlock(DSPState arg0) { + this.init(arg0); + if (this.b()) { + throw new IllegalStateException(); + } + } + + public int synthesis(OggPacket arg0) { return 0; } + + public void init(DSPState arg0) {} + + protected void clear() {} +} diff --git a/android/app/src/main/java/jagtheora/vorbis/VorbisComment.java b/android/app/src/main/java/jagtheora/vorbis/VorbisComment.java new file mode 100644 index 000000000..366b4cab5 --- /dev/null +++ b/android/app/src/main/java/jagtheora/vorbis/VorbisComment.java @@ -0,0 +1,17 @@ +package jagtheora.vorbis; + +import jagtheora.misc.SimplePeer; + +public final class VorbisComment extends SimplePeer { + + public VorbisComment() { + this.init(); + if (this.b()) { + throw new IllegalStateException(); + } + } + + protected void init() {} + + protected void clear() {} +} diff --git a/android/app/src/main/java/jagtheora/vorbis/VorbisInfo.java b/android/app/src/main/java/jagtheora/vorbis/VorbisInfo.java new file mode 100644 index 000000000..cef35da37 --- /dev/null +++ b/android/app/src/main/java/jagtheora/vorbis/VorbisInfo.java @@ -0,0 +1,30 @@ +package jagtheora.vorbis; + +import jagtheora.misc.SimplePeer; +import jagtheora.ogg.OggPacket; + +public final class VorbisInfo extends SimplePeer { + + public int rate; + + public int channels; + + static { + initFields(); + } + + public static void initFields() {} + + public VorbisInfo() { + this.init(); + if (this.b()) { + throw new IllegalStateException(); + } + } + + protected void clear() {} + + public int headerIn(VorbisComment arg0, OggPacket arg1) { return 0; } + + protected void init() {} +} diff --git a/android/app/src/main/java/netscape/javascript/JSObject.java b/android/app/src/main/java/netscape/javascript/JSObject.java new file mode 100644 index 000000000..fe6e68d1e --- /dev/null +++ b/android/app/src/main/java/netscape/javascript/JSObject.java @@ -0,0 +1,17 @@ +package netscape.javascript; + +import voidapplet.Applet; + +public class JSObject { + public static JSObject getWindow(Applet applet) { + return new JSObject(); + } + + public Object eval(String s) { + return null; + } + + public Object call(String name, Object[] args) { + return null; + } +} diff --git a/android/app/src/main/java/voidapplet/Applet.java b/android/app/src/main/java/voidapplet/Applet.java new file mode 100644 index 000000000..d8a405183 --- /dev/null +++ b/android/app/src/main/java/voidapplet/Applet.java @@ -0,0 +1,35 @@ +package voidapplet; + +import voidawt.Panel; + +import java.net.URL; + +public class Applet extends Panel { + public void init() { + } + + public void start() { + } + + public void stop() { + } + + public void destroy() { + } + + public String getParameter(String name) { + return null; + } + + public URL getCodeBase() { + return null; + } + + public URL getDocumentBase() { + return null; + } + + public AppletContext getAppletContext() { + return new AppletContext(); + } +} diff --git a/android/app/src/main/java/voidapplet/AppletContext.java b/android/app/src/main/java/voidapplet/AppletContext.java new file mode 100644 index 000000000..dd520cdfc --- /dev/null +++ b/android/app/src/main/java/voidapplet/AppletContext.java @@ -0,0 +1,14 @@ +package voidapplet; + +import java.net.URL; + +public class AppletContext { + public void showDocument(URL url) { + } + + public void showDocument(URL url, String target) { + } + + public void showStatus(String status) { + } +} diff --git a/android/app/src/main/java/voidawt/AwtHost.java b/android/app/src/main/java/voidawt/AwtHost.java new file mode 100644 index 000000000..1e1a38b3a --- /dev/null +++ b/android/app/src/main/java/voidawt/AwtHost.java @@ -0,0 +1,416 @@ +package voidawt; + +import android.graphics.Bitmap; +import android.os.Handler; +import android.os.Looper; + +import voidawt.event.FocusEvent; +import voidawt.event.KeyEvent; +import voidawt.event.MouseEvent; +import voidawt.event.MouseWheelEvent; + +public final class AwtHost { + /** Default matches fullscreen 800x600 (client boot / display prefs). */ + public static volatile int GAME_WIDTH = 800; + public static volatile int GAME_HEIGHT = 600; + + /** + * Cap longest logical edge, or {@code 0} to use the native SurfaceView size. + * Native size fills the phone; a lower cap makes HUD sprites larger when stretched. + * Ignored while the client holds an exclusive FS frame ({@code Component225.aFrame476}). + */ + public static volatile int LOGICAL_MAX_EDGE = 0; + + public static volatile Presenter presenter; + public static volatile Component root; + public static volatile Canvas gameCanvas; + private static final Handler MAIN = new Handler(Looper.getMainLooper()); + /** Last exclusive-FS dims (800x600). Kept across brief aFrame476 null during resume. */ + private static volatile int lastExclusiveW; + private static volatile int lastExclusiveH; + + public interface Presenter { + void present(Bitmap frame); + } + + /** True while the client holds {@code Component225.aFrame476}, or we still pin last FS size. */ + public static boolean isExclusiveFullscreen() { + return fullscreenLogicalSize() != null + || (lastExclusiveW > 0 && lastExclusiveH > 0); + } + + /** + * Logical game size (aspect-matched to the surface). Android stretches the + * presented frame to fill the SurfaceView when a logical cap is set. + * + * @param pinExclusive if true (resume/inset flash), keep last exclusive FS size + * even when {@code aFrame476} is briefly null so the buffer + * does not inflate to phone resolution with a letterboxed paint. + */ + public static void setDisplaySize(int width, int height) { + setDisplaySize(width, height, false); + } + + public static void setDisplaySize(int width, int height, boolean pinExclusive) { + int[] locked = fullscreenLogicalSize(); + if (locked != null) { + width = locked[0]; + height = locked[1]; + lastExclusiveW = width; + lastExclusiveH = height; + } else if (lastExclusiveW > 0 && lastExclusiveH > 0) { + // Resume/inset often nulls aFrame476 for a beat — keep last FS size. + width = lastExclusiveW; + height = lastExclusiveH; + } else { + // Never adopt phone pixel size into the AWT buffer. The GameView + // stretches 800x600 (default) to fill the screen. Syncing 1600x720 + // here letterboxes: client still paints FS into the top-left. + width = Math.max(1, GAME_WIDTH); + height = Math.max(1, GAME_HEIGHT); + if (LOGICAL_MAX_EDGE > 0) { + int[] logical = logicalSize(width, height); + width = logical[0]; + height = logical[1]; + } + } + // Ignore unused surface hint from callers (kept for API compat / logging). + GAME_WIDTH = width; + GAME_HEIGHT = height; + Component r = root; + if (r != null) { + r.setSize(width, height); + } + Canvas c = gameCanvas; + if (c != null) { + c.setSize(width, height); + } + GraphicsEnvironment.getLocalGraphicsEnvironment() + .getDefaultScreenDevice() + .setDisplayMode(new DisplayMode(width, height, 32, 60)); + // Keep client viewport ints in sync so splash/HUD fill the logical frame. + syncClientViewport(width, height); + } + + /** Keep surface resize from expanding past exclusive FS (e.g. 800x600). */ + private static int[] fullscreenLogicalSize() { + try { + Object frame = Class.forName("Component225").getDeclaredField("aFrame476").get(null); + if (frame == null) { + return null; + } + int fw = Class.forName("InputHandler").getDeclaredField("anInt4276").getInt(null); + int fh = Class.forName("DisplayModeManagerContainer295").getDeclaredField("anInt5911").getInt(null); + if (fw <= 0 || fh <= 0) { + return null; + } + return new int[]{fw, fh}; + } catch (Throwable ignored) { + return null; + } + } + + private static void syncClientViewport(int width, int height) { + try { + setStaticInt("DisplayModeManagerContainer23", "anInt1524", width); + setStaticInt("GlToolkitSub2", "anInt7666", height); + setStaticInt("Component236", "anInt4017", width); + setStaticInt("PacketReader", "anInt10432", height); + setStaticInt("SocketConnector", "anInt3473", width); + setStaticInt("NodeSub22", "anInt6857", height); + setStaticInt("NodeSub48", "anInt7129", 0); + setStaticInt("DisplayModeManagerContainer147", "anInt4167", 0); + // getWindowMode: true → mode 2 (resizable / FS available); aFrame476 → mode 3. + setStaticBoolean("Cp1252Decoder", "fullscreenAvailable", true); + } catch (Throwable ignored) { + } + } + + private static void setStaticInt(String className, String field, int value) throws Exception { + java.lang.reflect.Field f = Class.forName(className).getDeclaredField(field); + f.setAccessible(true); + f.setInt(null, value); + } + + private static void setStaticBoolean(String className, String field, boolean value) throws Exception { + java.lang.reflect.Field f = Class.forName(className).getDeclaredField(field); + f.setAccessible(true); + f.setBoolean(null, value); + } + + /** Aspect-fit surface into {@link #LOGICAL_MAX_EDGE} (no-op when edge is 0). */ + public static int[] logicalSize(int surfaceW, int surfaceH) { + surfaceW = Math.max(1, surfaceW); + surfaceH = Math.max(1, surfaceH); + int maxEdge = LOGICAL_MAX_EDGE; + if (maxEdge <= 0) { + return new int[]{surfaceW, surfaceH}; + } + int longEdge = Math.max(surfaceW, surfaceH); + if (longEdge <= maxEdge) { + return new int[]{surfaceW, surfaceH}; + } + float s = maxEdge / (float) longEdge; + return new int[]{ + Math.max(1, Math.round(surfaceW * s)), + Math.max(1, Math.round(surfaceH * s)) + }; + } + + public static void setRoot(Component component) { + root = component; + if (component != null) { + component.setSize(GAME_WIDTH, GAME_HEIGHT); + } + } + + public static void onGameCanvas(Canvas canvas) { + gameCanvas = canvas; + if (canvas != null) { + canvas.setSize(GAME_WIDTH, GAME_HEIGHT); + } + } + + public static void present(int[] pixels, int width, int height) { + Presenter p = presenter; + if (p == null || pixels == null || width <= 0 || height <= 0) { + return; + } + // Notification / onPause flash can inflate the AWT buffer to the phone + // size while the client still paints the 800x600 FS frame into the + // top-left — crop so Android stretch fills the View instead of + // letterboxing black bars. + int outW = width; + int outH = height; + int[] src = pixels; + int gw = GAME_WIDTH; + int gh = GAME_HEIGHT; + if (gw > 0 && gh > 0 && (width > gw || height > gh)) { + int cw = Math.min(gw, width); + int ch = Math.min(gh, height); + int[] cropped = new int[cw * ch]; + for (int y = 0; y < ch; y++) { + System.arraycopy(pixels, y * width, cropped, y * cw, cw); + } + src = cropped; + outW = cw; + outH = ch; + } + final int fw = outW; + final int fh = outH; + final Bitmap bitmap = Bitmap.createBitmap(fw, fh, Bitmap.Config.ARGB_8888); + int[] argb = new int[fw * fh]; + int n = Math.min(argb.length, src.length); + for (int i = 0; i < n; i++) { + int rgb = src[i]; + argb[i] = (rgb & 0xff000000) == 0 ? rgb | 0xff000000 : rgb; + } + bitmap.setPixels(argb, 0, fw, 0, 0, fw, fh); + MAIN.post(new Runnable() { + public void run() { + p.present(bitmap); + } + }); + } + + public static void injectRightClick(int x, int y) { + injectMouse(MouseEvent.MOUSE_MOVED, x, y, 0, 0); + injectMouse(MouseEvent.MOUSE_PRESSED, x, y, MouseEvent.BUTTON3, 1); + injectMouse(MouseEvent.MOUSE_RELEASED, x, y, MouseEvent.BUTTON3, 1); + injectMouse(MouseEvent.MOUSE_CLICKED, x, y, MouseEvent.BUTTON3, 1); + } + + public static void injectLeftClick(int x, int y) { + injectMouse(MouseEvent.MOUSE_MOVED, x, y, 0, 0); + injectMouse(MouseEvent.MOUSE_PRESSED, x, y, MouseEvent.BUTTON1, 1); + injectMouse(MouseEvent.MOUSE_RELEASED, x, y, MouseEvent.BUTTON1, 1); + injectMouse(MouseEvent.MOUSE_CLICKED, x, y, MouseEvent.BUTTON1, 1); + } + + public static void injectMouse(int id, int x, int y, int button, int clickCount) { + Component target = gameCanvas != null ? gameCanvas : root; + if (target == null) { + return; + } + int modifiers = 0; + if (button == 1) { + modifiers = 16; // BUTTON1_MASK + } else if (button == 2) { + modifiers = 8; // BUTTON2_MASK + } else if (button == 3) { + modifiers = 4; // BUTTON3_MASK / META_MASK + } + MouseEvent e = new MouseEvent(target, id, System.currentTimeMillis(), modifiers, x, y, clickCount, button == 3, button); + if (id == MouseEvent.MOUSE_WHEEL) { + return; + } + target.dispatchMouse(e); + } + + public static void injectWheel(int x, int y, int rotation) { + Component target = gameCanvas != null ? gameCanvas : root; + if (target == null) { + return; + } + MouseWheelEvent e = new MouseWheelEvent(target, MouseEvent.MOUSE_WHEEL, System.currentTimeMillis(), 0, x, y, 0, false, rotation); + target.dispatchWheel(e); + } + + /** + * Orbit camera by view-pixel deltas (two-finger pan / gamepad right stick). + * Writes {@code Component112.cameraYaw} / {@code DisplayModeManagerContainer154.cameraPitch} + * then clamps via {@code DisplayModeManagerContainer199.clampCameraAngles}. + * Positive dx = look right; positive dy = look down. + */ + public static void injectCameraOrbit(float dx, float dy) { + if (dx == 0f && dy == 0f) { + return; + } + try { + float yawScale = 8f; + float pitchScale = 4f; + Class yawCl = Class.forName("Component112"); + java.lang.reflect.Field yawF = yawCl.getDeclaredField("cameraYaw"); + yawF.setAccessible(true); + yawF.setFloat(null, yawF.getFloat(null) + dx * yawScale); + + Class pitchCl = Class.forName("DisplayModeManagerContainer154"); + java.lang.reflect.Field pitchF = pitchCl.getDeclaredField("cameraPitch"); + pitchF.setAccessible(true); + pitchF.setFloat(null, pitchF.getFloat(null) + dy * pitchScale); + + Class.forName("DisplayModeManagerContainer199") + .getDeclaredMethod("clampCameraAngles", int.class) + .invoke(null, 262144); + } catch (Throwable ignored) { + } + } + + public static void injectKey(int id, int keyCode, char keyChar) { + Component target = gameCanvas != null ? gameCanvas : root; + if (target == null) { + return; + } + KeyEvent e = new KeyEvent(target, id, System.currentTimeMillis(), 0, keyCode, keyChar); + target.dispatchKey(e); + } + + /** Toggle developer console (same as desktop ` key). Used by 4-finger tap on mobile. */ + public static void injectDevConsoleToggle() { + injectKey(KeyEvent.KEY_PRESSED, '`', '`'); + injectKey(KeyEvent.KEY_TYPED, 0, '`'); + injectKey(KeyEvent.KEY_RELEASED, '`', '`'); + } + + /** {@code StringCache.devConsoleOpen} — developer console visible. */ + public static boolean isDevConsoleOpen() { + try { + java.lang.reflect.Field f = Class.forName("StringCache").getDeclaredField("devConsoleOpen"); + f.setAccessible(true); + return f.getBoolean(null); + } catch (Throwable ignored) { + return false; + } + } + + /** + * {@code BuildInfo.isConsolePromptTap} — tap on the {@code -->} strip (not history). + * History taps must not dismiss the IME or the inset→0 race lets the click fall through. + */ + public static boolean isConsolePromptTap(int canvasX, int canvasY) { + try { + java.lang.reflect.Method m = Class.forName("BuildInfo") + .getDeclaredMethod("isConsolePromptTap", int.class, int.class); + m.setAccessible(true); + Object r = m.invoke(null, Integer.valueOf(canvasX), Integer.valueOf(canvasY)); + return Boolean.TRUE.equals(r); + } catch (Throwable ignored) { + return false; + } + } + + /** + * Open/close developer console without injecting {@code `} (avoids console text / IME races). + * Mirrors {@code Component192.openDevConsole} / {@code AbstractShaderSub4.closeDevConsole}. + */ + public static void setDevConsoleOpen(boolean open) { + try { + if (open) { + Class.forName("Component192") + .getDeclaredMethod("openDevConsole", int.class) + .invoke(null, -84); + } else { + Class.forName("AbstractShaderSub4") + .getDeclaredMethod("closeDevConsole", byte.class) + .invoke(null, (byte) -89); + } + } catch (Throwable t) { + // Fallback: backtick toggle. + injectDevConsoleToggle(); + } + } + + public static void toggleDevConsole() { + setDevConsoleOpen(!isDevConsoleOpen()); + } + + public interface SoftKeyboardListener { + void showSoftKeyboard(String reason); + void hideSoftKeyboard(String reason); + void toggleSoftKeyboard(String reason); + void syncSoftKeyboardToDevConsole(); + } + + public static volatile SoftKeyboardListener softKeyboardListener; + /** Soft-keyboard overlap in view pixels (0 = hidden). Does not resize the canvas. */ + public static volatile int KEYBOARD_INSET_PX; + public static volatile int VIEW_HEIGHT_PX = 1; + + public static void setKeyboardInset(int insetPx, int viewHeightPx) { + KEYBOARD_INSET_PX = Math.max(0, insetPx); + VIEW_HEIGHT_PX = Math.max(1, viewHeightPx); + try { + Class.forName("MobileKeyboard") + .getDeclaredMethod("setInset", int.class, int.class) + .invoke(null, Integer.valueOf(KEYBOARD_INSET_PX), Integer.valueOf(VIEW_HEIGHT_PX)); + } catch (Throwable ignored) { + } + } + + public static void requestSoftKeyboard(String reason) { + SoftKeyboardListener l = softKeyboardListener; + if (l != null) { + l.showSoftKeyboard(reason); + } + } + + public static void requestHideSoftKeyboard(String reason) { + SoftKeyboardListener l = softKeyboardListener; + if (l != null) { + l.hideSoftKeyboard(reason); + } + } + + public static void requestToggleSoftKeyboard(String reason) { + SoftKeyboardListener l = softKeyboardListener; + if (l != null) { + l.toggleSoftKeyboard(reason); + } + } + + public static void requestSyncSoftKeyboardToDevConsole() { + SoftKeyboardListener l = softKeyboardListener; + if (l != null) { + l.syncSoftKeyboardToDevConsole(); + } + } + + public static void injectFocus(boolean gained) { + Component target = gameCanvas != null ? gameCanvas : root; + if (target == null) { + return; + } + FocusEvent e = new FocusEvent(target, gained ? FocusEvent.FOCUS_GAINED : FocusEvent.FOCUS_LOST); + target.dispatchFocus(e); + } +} diff --git a/android/app/src/main/java/voidawt/BorderLayout.java b/android/app/src/main/java/voidawt/BorderLayout.java new file mode 100644 index 000000000..936ac7c44 --- /dev/null +++ b/android/app/src/main/java/voidawt/BorderLayout.java @@ -0,0 +1,29 @@ +package voidawt; + +public class BorderLayout implements LayoutManager { + public static final String CENTER = "Center"; + public static final String NORTH = "North"; + public static final String SOUTH = "South"; + public static final String EAST = "East"; + public static final String WEST = "West"; + + public BorderLayout() { + } + + public void addLayoutComponent(String name, Component comp) { + } + + public void removeLayoutComponent(Component comp) { + } + + public Dimension preferredLayoutSize(Container parent) { + return parent.getSize(); + } + + public Dimension minimumLayoutSize(Container parent) { + return parent.getSize(); + } + + public void layoutContainer(Container parent) { + } +} diff --git a/android/app/src/main/java/voidawt/Canvas.java b/android/app/src/main/java/voidawt/Canvas.java new file mode 100644 index 000000000..0bd6e172e --- /dev/null +++ b/android/app/src/main/java/voidawt/Canvas.java @@ -0,0 +1,34 @@ +package voidawt; + +import voidawt.image.BufferedImage; +import voidawt.image.ImageObserver; + +/** + * AWT {@code Canvas} shim: owns the software back-buffer and pushes pixels to + * {@link AwtHost#present} after each blit ({@link #drawBackbuffer}). + */ +public class Canvas extends Component { + private BufferedImage buffer; + + public Graphics getGraphics() { + ensureBuffer(); + return new Graphics(buffer, true); + } + + public Image createImage(int w, int h) { + return new BufferedImage(w, h, BufferedImage.TYPE_INT_ARGB); + } + + private void ensureBuffer() { + if (buffer == null || buffer.getWidth() != width || buffer.getHeight() != height) { + buffer = new BufferedImage(Math.max(1, width), Math.max(1, height), BufferedImage.TYPE_INT_ARGB); + } + } + + public boolean drawBackbuffer(Image img, int x, int y, ImageObserver observer) { + ensureBuffer(); + boolean ok = buffer.getGraphics().drawImage(img, x, y, observer); + AwtHost.present(buffer.peekArgb(), buffer.getWidth(), buffer.getHeight()); + return ok; + } +} diff --git a/android/app/src/main/java/voidawt/Color.java b/android/app/src/main/java/voidawt/Color.java new file mode 100644 index 000000000..ed781e223 --- /dev/null +++ b/android/app/src/main/java/voidawt/Color.java @@ -0,0 +1,37 @@ +package voidawt; + +public class Color { + public static final Color black = new Color(0, 0, 0); + public static final Color white = new Color(255, 255, 255); + public static final Color red = new Color(255, 0, 0); + + private final int value; + + public Color(int r, int g, int b) { + this(r, g, b, 255); + } + + public Color(int r, int g, int b, int a) { + this.value = ((a & 255) << 24) | ((r & 255) << 16) | ((g & 255) << 8) | (b & 255); + } + + public Color(int rgb) { + this.value = 0xff000000 | rgb; + } + + public int getRGB() { + return value; + } + + public int getRed() { + return (value >> 16) & 255; + } + + public int getGreen() { + return (value >> 8) & 255; + } + + public int getBlue() { + return value & 255; + } +} diff --git a/android/app/src/main/java/voidawt/Component.java b/android/app/src/main/java/voidawt/Component.java new file mode 100644 index 000000000..aebe68f0b --- /dev/null +++ b/android/app/src/main/java/voidawt/Component.java @@ -0,0 +1,333 @@ +package voidawt; + +import voidawt.event.FocusEvent; +import voidawt.event.FocusListener; +import voidawt.event.KeyEvent; +import voidawt.event.KeyListener; +import voidawt.event.MouseEvent; +import voidawt.event.MouseListener; +import voidawt.event.MouseMotionListener; +import voidawt.event.AWTEvent; +import voidawt.event.MouseWheelEvent; +import voidawt.event.MouseWheelListener; +import voidawt.image.BufferedImage; +import voidawt.image.ImageObserver; +import voidawt.image.ImageProducer; + +import java.util.ArrayList; +import java.util.List; + +/** + * Minimal AWT {@code Component}: bounds, listeners, and dispatch helpers used by + * the client for mouse/key/focus. Not a real native widget — events are injected + * by {@link AwtHost} from the mobile touch/IME layer. + */ +public class Component implements ImageObserver { + Container parent; + int x; + int y; + int width = AwtHost.GAME_WIDTH; + int height = AwtHost.GAME_HEIGHT; + boolean visible = true; + Color background = Color.black; + Font font = new Font("Helvetica", Font.PLAIN, 12); + Cursor cursor; + private final List mouseListeners = new ArrayList(); + private final List mouseMotionListeners = new ArrayList(); + private final List mouseWheelListeners = new ArrayList(); + private final List keyListeners = new ArrayList(); + private final List focusListeners = new ArrayList(); + + public void setSize(int width, int height) { + this.width = Math.max(1, width); + this.height = Math.max(1, height); + } + + public void setSize(Dimension d) { + if (d != null) { + setSize(d.width, d.height); + } + } + + public Dimension getSize() { + return new Dimension(width, height); + } + + public int getWidth() { + return width; + } + + public int getHeight() { + return height; + } + + public void setLocation(int x, int y) { + this.x = x; + this.y = y; + } + + public int getX() { + return x; + } + + public int getY() { + return y; + } + + public void setVisible(boolean visible) { + this.visible = visible; + } + + public void setPreferredSize(Dimension d) { + if (d != null) { + setSize(d); + } + } + + public Dimension getPreferredSize() { + return getSize(); + } + + public boolean isVisible() { + return visible; + } + + public void setBackground(Color color) { + if (color != null) { + this.background = color; + } + } + + public Color getBackground() { + return background; + } + + public void setFont(Font font) { + if (font != null) { + this.font = font; + } + } + + public Font getFont() { + return font; + } + + public FontMetrics getFontMetrics(Font font) { + return new FontMetrics(font == null ? this.font : font); + } + + public Container getParent() { + return parent; + } + + public Toolkit getToolkit() { + return Toolkit.getDefaultToolkit(); + } + + public void setCursor(Cursor cursor) { + this.cursor = cursor; + } + + public Cursor getCursor() { + return cursor; + } + + public void setIgnoreRepaint(boolean ignore) { + } + + public void setBounds(int x, int y, int width, int height) { + setLocation(x, y); + setSize(width, height); + } + + public boolean isShowing() { + return visible; + } + + public void repaint() { + } + + public Object getTreeLock() { + return this; + } + + public Object getPeer() { + return null; + } + + public boolean prepareImage(Image image, ImageObserver observer) { + return true; + } + + public boolean prepareImage(Image image, Component component) { + return true; + } + + public void setFocusTraversalKeysEnabled(boolean enabled) { + } + + public void enableInputMethods(boolean enable) { + } + + public void requestFocus() { + AwtHost.injectFocus(true); + } + + /** Shim no-op: focus is owned by the native AwtHost view, not the canvas. */ + public boolean isFocusOwner() { + return false; + } + + public boolean isFocusable() { + return false; + } + + public void setFocusable(boolean focusable) { + } + + /** Shim no-op: events are injected by AwtHost; DesktopAwtMouse is dead code on mobile. */ + public void dispatchEvent(voidawt.event.AWTEvent e) { + } + + public Graphics getGraphics() { + return null; + } + + public Image createImage(int w, int h) { + return new BufferedImage(w, h, BufferedImage.TYPE_INT_ARGB); + } + + public Image createImage(ImageProducer producer) { + return Toolkit.getDefaultToolkit().createImage(producer); + } + + public void addMouseListener(MouseListener l) { + if (l != null) { + mouseListeners.add(l); + } + } + + public void removeMouseListener(MouseListener l) { + mouseListeners.remove(l); + } + + public void addMouseMotionListener(MouseMotionListener l) { + if (l != null) { + mouseMotionListeners.add(l); + } + } + + public void removeMouseMotionListener(MouseMotionListener l) { + mouseMotionListeners.remove(l); + } + + public void addMouseWheelListener(MouseWheelListener l) { + if (l != null) { + mouseWheelListeners.add(l); + } + } + + public void removeMouseWheelListener(MouseWheelListener l) { + mouseWheelListeners.remove(l); + } + + public void addKeyListener(KeyListener l) { + if (l != null) { + keyListeners.add(l); + } + } + + public void removeKeyListener(KeyListener l) { + keyListeners.remove(l); + } + + public void addFocusListener(FocusListener l) { + if (l != null) { + focusListeners.add(l); + } + } + + public void removeFocusListener(FocusListener l) { + focusListeners.remove(l); + } + + public void paint(Graphics g) { + } + + public void update(Graphics g) { + paint(g); + } + + public boolean imageUpdate(Image img, int infoflags, int x, int y, int width, int height) { + return false; + } + + void dispatchMouse(MouseEvent e) { + int id = e.getID(); + if (id == MouseEvent.MOUSE_MOVED || id == MouseEvent.MOUSE_DRAGGED) { + for (MouseMotionListener l : mouseMotionListeners) { + if (id == MouseEvent.MOUSE_DRAGGED) { + l.mouseDragged(e); + } else { + l.mouseMoved(e); + } + } + return; + } + for (MouseListener l : mouseListeners) { + switch (id) { + case MouseEvent.MOUSE_PRESSED: + l.mousePressed(e); + break; + case MouseEvent.MOUSE_RELEASED: + l.mouseReleased(e); + break; + case MouseEvent.MOUSE_CLICKED: + l.mouseClicked(e); + break; + case MouseEvent.MOUSE_ENTERED: + l.mouseEntered(e); + break; + case MouseEvent.MOUSE_EXITED: + l.mouseExited(e); + break; + default: + break; + } + } + } + + void dispatchWheel(MouseWheelEvent e) { + for (MouseWheelListener l : mouseWheelListeners) { + l.mouseWheelMoved(e); + } + } + + void dispatchKey(KeyEvent e) { + for (KeyListener l : keyListeners) { + switch (e.getID()) { + case KeyEvent.KEY_PRESSED: + l.keyPressed(e); + break; + case KeyEvent.KEY_RELEASED: + l.keyReleased(e); + break; + case KeyEvent.KEY_TYPED: + l.keyTyped(e); + break; + default: + break; + } + } + } + + void dispatchFocus(FocusEvent e) { + for (FocusListener l : focusListeners) { + if (e.getID() == FocusEvent.FOCUS_GAINED) { + l.focusGained(e); + } else { + l.focusLost(e); + } + } + } +} diff --git a/android/app/src/main/java/voidawt/Container.java b/android/app/src/main/java/voidawt/Container.java new file mode 100644 index 000000000..3292c21d9 --- /dev/null +++ b/android/app/src/main/java/voidawt/Container.java @@ -0,0 +1,55 @@ +package voidawt; + +import java.util.ArrayList; +import java.util.List; + +/** AWT {@code Container} stub: child list + optional {@link LayoutManager}. */ +public class Container extends Component { + private final List children = new ArrayList(); + private LayoutManager layout; + + public void setLayout(LayoutManager layout) { + this.layout = layout; + } + + public LayoutManager getLayout() { + return layout; + } + + public Component add(Component comp) { + if (comp == null) { + return null; + } + if (comp.parent != null) { + comp.parent.remove(comp); + } + children.add(comp); + comp.parent = this; + if (comp instanceof Canvas) { + AwtHost.onGameCanvas((Canvas) comp); + } + return comp; + } + + public void add(Component comp, Object constraints) { + add(comp); + } + + public void remove(Component comp) { + if (comp == null) { + return; + } + children.remove(comp); + if (comp.parent == this) { + comp.parent = null; + } + } + + public int getComponentCount() { + return children.size(); + } + + public Component[] getComponents() { + return children.toArray(new Component[0]); + } +} diff --git a/android/app/src/main/java/voidawt/Cursor.java b/android/app/src/main/java/voidawt/Cursor.java new file mode 100644 index 000000000..6399b8004 --- /dev/null +++ b/android/app/src/main/java/voidawt/Cursor.java @@ -0,0 +1,12 @@ +package voidawt; + +public class Cursor { + public static final int DEFAULT_CURSOR = 0; + public static final int WAIT_CURSOR = 3; + + public Cursor() { + } + + public Cursor(int type) { + } +} diff --git a/android/app/src/main/java/voidawt/Dialog.java b/android/app/src/main/java/voidawt/Dialog.java new file mode 100644 index 000000000..54e874c64 --- /dev/null +++ b/android/app/src/main/java/voidawt/Dialog.java @@ -0,0 +1,6 @@ +package voidawt; + +public class Dialog extends Window { + public Dialog(Frame owner) { + } +} diff --git a/android/app/src/main/java/voidawt/Dimension.java b/android/app/src/main/java/voidawt/Dimension.java new file mode 100644 index 000000000..727f0d591 --- /dev/null +++ b/android/app/src/main/java/voidawt/Dimension.java @@ -0,0 +1,14 @@ +package voidawt; + +public class Dimension { + public int width; + public int height; + + public Dimension() { + } + + public Dimension(int width, int height) { + this.width = width; + this.height = height; + } +} diff --git a/android/app/src/main/java/voidawt/DisplayMode.java b/android/app/src/main/java/voidawt/DisplayMode.java new file mode 100644 index 000000000..51c5f5afe --- /dev/null +++ b/android/app/src/main/java/voidawt/DisplayMode.java @@ -0,0 +1,42 @@ +package voidawt; + +public class DisplayMode { + public static final int BIT_DEPTH_MULTI = -1; + public static final int REFRESH_RATE_UNKNOWN = 0; + + private final int width; + private final int height; + private final int bitDepth; + private final int refreshRate; + + public DisplayMode(int width, int height, int bitDepth, int refreshRate) { + this.width = width; + this.height = height; + this.bitDepth = bitDepth; + this.refreshRate = refreshRate; + } + + public int getWidth() { + return width; + } + + public int getHeight() { + return height; + } + + public int getBitDepth() { + return bitDepth; + } + + public int getRefreshRate() { + return refreshRate; + } + + public boolean equals(Object obj) { + if (!(obj instanceof DisplayMode)) { + return false; + } + DisplayMode other = (DisplayMode) obj; + return width == other.width && height == other.height && bitDepth == other.bitDepth && refreshRate == other.refreshRate; + } +} diff --git a/android/app/src/main/java/voidawt/EventQueue.java b/android/app/src/main/java/voidawt/EventQueue.java new file mode 100644 index 000000000..d16a61dd1 --- /dev/null +++ b/android/app/src/main/java/voidawt/EventQueue.java @@ -0,0 +1,25 @@ +package voidawt; + +import voidawt.event.AWTEvent; + +import java.util.LinkedList; + +public class EventQueue { + private final LinkedList events = new LinkedList(); + + public synchronized AWTEvent peekEvent() { + return events.peekFirst(); + } + + public synchronized AWTEvent getNextEvent() throws InterruptedException { + while (events.isEmpty()) { + wait(); + } + return events.removeFirst(); + } + + public synchronized void postEvent(AWTEvent event) { + events.addLast(event); + notifyAll(); + } +} diff --git a/android/app/src/main/java/voidawt/Font.java b/android/app/src/main/java/voidawt/Font.java new file mode 100644 index 000000000..c3b718e52 --- /dev/null +++ b/android/app/src/main/java/voidawt/Font.java @@ -0,0 +1,48 @@ +package voidawt; + +import android.graphics.Paint; +import android.graphics.Typeface; + +/** + * AWT {@code Font} shim for Android. + * Holds a {@link Paint} with the resolved {@link Typeface} so + * {@link Graphics#drawString} / {@link FontMetrics} share one face + * (splash {@code HelveticaFont}, glyph bake {@code FontGlyphCache}). + */ +public class Font { + public static final int PLAIN = 0; + public static final int BOLD = 1; + public static final int ITALIC = 2; + + final String name; + final int style; + final int size; + /** Shared by drawString + FontMetrics; anti-aliased like desktop AWT defaults. */ + final Paint paint; + + public Font(String name, int style, int size) { + this.name = name; + this.style = style; + this.size = size; + this.paint = new Paint(Paint.ANTI_ALIAS_FLAG); + int tf = Typeface.NORMAL; + if ((style & BOLD) != 0 && (style & ITALIC) != 0) { + tf = Typeface.BOLD_ITALIC; + } else if ((style & BOLD) != 0) { + tf = Typeface.BOLD; + } else if ((style & ITALIC) != 0) { + tf = Typeface.ITALIC; + } + // Helvetica → system fallback (usually Roboto) when the face is absent. + paint.setTypeface(Typeface.create(name, tf)); + paint.setTextSize(size); + } + + public int getSize() { + return size; + } + + public int getStyle() { + return style; + } +} diff --git a/android/app/src/main/java/voidawt/FontMetrics.java b/android/app/src/main/java/voidawt/FontMetrics.java new file mode 100644 index 000000000..525ad23bf --- /dev/null +++ b/android/app/src/main/java/voidawt/FontMetrics.java @@ -0,0 +1,44 @@ +package voidawt; + +import android.graphics.Paint; + +/** + * AWT {@code FontMetrics} over the Font's {@link Paint}. + * Must match {@link Graphics#drawString} metrics so {@code FontGlyphCache} glyph + * crops (ascent/width) line up with the baked pixels. + */ +public class FontMetrics { + private final Paint paint; + + FontMetrics(Font font) { + this.paint = font.paint; + } + + public int charWidth(char c) { + return Math.max(1, Math.round(paint.measureText(String.valueOf(c)))); + } + + public int stringWidth(String s) { + return Math.max(1, Math.round(paint.measureText(s == null ? "" : s))); + } + + public int getAscent() { + return Math.round(-paint.ascent()); + } + + public int getMaxAscent() { + return getAscent(); + } + + public int getDescent() { + return Math.round(paint.descent()); + } + + public int getMaxDescent() { + return getDescent(); + } + + public int getHeight() { + return getAscent() + getDescent() + 1; + } +} diff --git a/android/app/src/main/java/voidawt/Frame.java b/android/app/src/main/java/voidawt/Frame.java new file mode 100644 index 000000000..456d7161b --- /dev/null +++ b/android/app/src/main/java/voidawt/Frame.java @@ -0,0 +1,34 @@ +package voidawt; + +/** + * AWT {@code Frame} stub. Exclusive fullscreen in the client sets + * {@code Component225.aFrame476} to an instance of this; {@link AwtHost} reads that + * field to pin logical size at 800×600 (or the chosen FS dims). + */ +public class Frame extends Window { + private String title = ""; + + public Frame() { + } + + public Frame(String title) { + this.title = title; + } + + public void setTitle(String title) { + this.title = title; + } + + public String getTitle() { + return title; + } + + public void setResizable(boolean resizable) { + } + + public void setUndecorated(boolean undecorated) { + } + + public void setIconImages(java.util.List icons) { + } +} diff --git a/android/app/src/main/java/voidawt/Graphics.java b/android/app/src/main/java/voidawt/Graphics.java new file mode 100644 index 000000000..f8ebbc555 --- /dev/null +++ b/android/app/src/main/java/voidawt/Graphics.java @@ -0,0 +1,182 @@ +package voidawt; + +import android.graphics.Bitmap; +import android.graphics.Paint; + +import voidawt.image.BufferedImage; +import voidawt.image.ImageObserver; + +/** + * Software {@code Graphics} over a {@link BufferedImage}. When constructed with + * {@code presentOnDraw=true} (game canvas), each draw also presents the buffer + * to {@link AwtHost} so the native host can blit the frame. + */ +public class Graphics { + private final BufferedImage target; + private Color color = Color.black; + private Font font = new Font("Helvetica", Font.PLAIN, 12); + private Shape clip; + /** When true, {@link #drawImage} presents the buffer (game canvas backbuffer). */ + private final boolean presentOnDraw; + + public Graphics(BufferedImage target) { + this(target, false); + } + + public Graphics(BufferedImage target, boolean presentOnDraw) { + this.target = target; + this.presentOnDraw = presentOnDraw; + this.clip = new Rectangle(0, 0, target.getWidth(), target.getHeight()); + } + + public Color getColor() { + return color; + } + + public void setColor(Color color) { + this.color = color == null ? Color.black : color; + } + + public void setFont(Font font) { + if (font != null) { + this.font = font; + } + } + + public Font getFont() { + return font; + } + + public Shape getClip() { + return clip; + } + + public Rectangle getClipBounds() { + return clip == null ? null : clip.getBounds(); + } + + public void setClip(Shape clip) { + this.clip = clip; + } + + public void setClip(int x, int y, int width, int height) { + this.clip = new Rectangle(x, y, width, height); + } + + public void fillRect(int x, int y, int w, int h) { + int[] px = target.peekArgb(); + int tw = target.getWidth(); + int th = target.getHeight(); + int rgb = color.getRGB(); + int x1 = Math.max(0, x); + int y1 = Math.max(0, y); + int x2 = Math.min(tw, x + w); + int y2 = Math.min(th, y + h); + for (int yy = y1; yy < y2; yy++) { + int row = yy * tw; + for (int xx = x1; xx < x2; xx++) { + px[row + xx] = rgb; + } + } + } + + public void drawRect(int x, int y, int w, int h) { + fillRect(x, y, w, 1); + fillRect(x, y + h, w, 1); + fillRect(x, y, 1, h); + fillRect(x + w, y, 1, h); + } + + /** + * AWT baseline at {@code y}. Renders into a tight glyph-sized bitmap (not a + * full-frame alloc — that killed splash perf) then blits non-empty pixels. + * Callers: splash {@code HelveticaFont}, glyph bake {@code FontGlyphCache}. + */ + public void drawString(String str, int x, int y) { + if (str == null || str.length() == 0) { + return; + } + Paint paint = new Paint(font.paint); + paint.setColor(color.getRGB()); + Paint.FontMetrics fm = paint.getFontMetrics(); + int textW = Math.max(1, (int) Math.ceil(paint.measureText(str))); + int textH = Math.max(1, (int) Math.ceil(fm.bottom - fm.top)); + int pad = 2; + int bw = textW + pad * 2; + int bh = textH + pad * 2; + Bitmap bitmap = Bitmap.createBitmap(bw, bh, Bitmap.Config.ARGB_8888); + android.graphics.Canvas canvas = new android.graphics.Canvas(bitmap); + // -fm.top == ascent; drawText y is baseline within the temp bitmap. + canvas.drawText(str, pad, pad - fm.top, paint); + int[] src = new int[bw * bh]; + bitmap.getPixels(src, 0, bw, 0, 0, bw, bh); + bitmap.recycle(); + int[] dst = target.peekArgb(); + int tw = target.getWidth(); + int th = target.getHeight(); + int dx0 = x - pad; + int dy0 = y - (int) (-fm.top) - pad; + for (int row = 0; row < bh; row++) { + int dy = dy0 + row; + if (dy < 0 || dy >= th) continue; + int sy = row * bw; + int dyOff = dy * tw; + for (int col = 0; col < bw; col++) { + int px = src[sy + col]; + if ((px >>> 24) == 0) continue; + int dx = dx0 + col; + if (dx < 0 || dx >= tw) continue; + dst[dyOff + dx] = px; + } + } + } + + public boolean drawImage(Image img, int x, int y, ImageObserver observer) { + if (img == null) { + return false; + } + int[] src = img.peekArgb(); + int sw = img.getWidth(observer); + int sh = img.getHeight(observer); + if (src == null || sw <= 0 || sh <= 0) { + return false; + } + int[] dst = target.peekArgb(); + int tw = target.getWidth(); + int th = target.getHeight(); + for (int row = 0; row < sh; row++) { + int dy = y + row; + if (dy < 0 || dy >= th) { + continue; + } + int sy = row * sw; + int dyOff = dy * tw; + for (int col = 0; col < sw; col++) { + int dx = x + col; + if (dx < 0 || dx >= tw) { + continue; + } + dst[dyOff + dx] = src[sy + col]; + } + } + if (presentOnDraw) { + AwtHost.present(dst, tw, th); + } + return true; + } + + public boolean drawImage(Image img, int x, int y, int width, int height, ImageObserver observer) { + return drawImage(img, x, y, observer); + } + + public void clipRect(int x, int y, int width, int height) { + setClip(x, y, width, height); + } + + public void clearRect(int x, int y, int w, int h) { + Color old = color; + color = Color.black; + fillRect(x, y, w, h); + color = old; + } +} diff --git a/android/app/src/main/java/voidawt/GraphicsConfiguration.java b/android/app/src/main/java/voidawt/GraphicsConfiguration.java new file mode 100644 index 000000000..9441620f5 --- /dev/null +++ b/android/app/src/main/java/voidawt/GraphicsConfiguration.java @@ -0,0 +1,4 @@ +package voidawt; + +public class GraphicsConfiguration { +} diff --git a/android/app/src/main/java/voidawt/GraphicsDevice.java b/android/app/src/main/java/voidawt/GraphicsDevice.java new file mode 100644 index 000000000..3f9ca43cb --- /dev/null +++ b/android/app/src/main/java/voidawt/GraphicsDevice.java @@ -0,0 +1,52 @@ +package voidawt; + +/** + * Fake screen device. Reports {@link AwtHost} logical size as the current + * {@link DisplayMode}; exclusive fullscreen is supported in name only so the + * client can construct its FS frame without crashing. + */ +public class GraphicsDevice { + private boolean valid = true; + private DisplayMode mode = new DisplayMode(AwtHost.GAME_WIDTH, AwtHost.GAME_HEIGHT, 32, 60); + + public boolean isFullScreenSupported() { + // Keep DisplayModeManager constructable; exclusive FS is faked/no-op on Android. + return true; + } + + public DisplayMode getDisplayMode() { + DisplayMode current = mode; + if (current.getWidth() != AwtHost.GAME_WIDTH || current.getHeight() != AwtHost.GAME_HEIGHT) { + mode = new DisplayMode(AwtHost.GAME_WIDTH, AwtHost.GAME_HEIGHT, 32, 60); + } + return mode; + } + + public void setDisplayMode(DisplayMode dm) { + if (dm != null) { + mode = dm; + } + } + + public DisplayMode[] getDisplayModes() { + int w = Math.max(800, AwtHost.GAME_WIDTH); + int h = Math.max(600, AwtHost.GAME_HEIGHT); + int[][] sizes = { + {800, 600}, {1024, 768}, {1280, 720}, {1280, 1024}, + {1366, 768}, {1600, 900}, {1920, 1080}, + {AwtHost.GAME_WIDTH, AwtHost.GAME_HEIGHT}, {w, h} + }; + DisplayMode[] modes = new DisplayMode[sizes.length]; + for (int i = 0; i < sizes.length; i++) { + modes[i] = new DisplayMode(sizes[i][0], sizes[i][1], 32, 60); + } + return modes; + } + + public void setFullScreenWindow(Window w) { + } + + public Window getFullScreenWindow() { + return null; + } +} diff --git a/android/app/src/main/java/voidawt/GraphicsEnvironment.java b/android/app/src/main/java/voidawt/GraphicsEnvironment.java new file mode 100644 index 000000000..4e310594d --- /dev/null +++ b/android/app/src/main/java/voidawt/GraphicsEnvironment.java @@ -0,0 +1,27 @@ +package voidawt; + +/** Singleton graphics environment exposing the one {@link GraphicsDevice}. */ +public class GraphicsEnvironment { + private static final GraphicsEnvironment INSTANCE = new GraphicsEnvironment(); + private final GraphicsDevice device = new GraphicsDevice(); + + public static GraphicsEnvironment getLocalGraphicsEnvironment() { + return INSTANCE; + } + + public GraphicsDevice getDefaultScreenDevice() { + return device; + } + + public GraphicsDevice[] getScreenDevices() { + return new GraphicsDevice[]{device}; + } + + public boolean isHeadlessInstance() { + return false; + } + + public static boolean isHeadless() { + return false; + } +} diff --git a/android/app/src/main/java/voidawt/Image.java b/android/app/src/main/java/voidawt/Image.java new file mode 100644 index 000000000..16e040df2 --- /dev/null +++ b/android/app/src/main/java/voidawt/Image.java @@ -0,0 +1,23 @@ +package voidawt; + +import voidawt.image.ImageObserver; +import voidawt.image.ImageProducer; + +public abstract class Image { + public abstract int getWidth(ImageObserver observer); + + public abstract int getHeight(ImageObserver observer); + + public Graphics getGraphics() { + return null; + } + + public void flush() { + } + + public ImageProducer getSource() { + return null; + } + + public abstract int[] peekArgb(); +} diff --git a/android/app/src/main/java/voidawt/Insets.java b/android/app/src/main/java/voidawt/Insets.java new file mode 100644 index 000000000..e87ffc406 --- /dev/null +++ b/android/app/src/main/java/voidawt/Insets.java @@ -0,0 +1,15 @@ +package voidawt; + +public class Insets { + public int top; + public int left; + public int bottom; + public int right; + + public Insets(int top, int left, int bottom, int right) { + this.top = top; + this.left = left; + this.bottom = bottom; + this.right = right; + } +} diff --git a/android/app/src/main/java/voidawt/LayoutManager.java b/android/app/src/main/java/voidawt/LayoutManager.java new file mode 100644 index 000000000..a38af69ba --- /dev/null +++ b/android/app/src/main/java/voidawt/LayoutManager.java @@ -0,0 +1,13 @@ +package voidawt; + +public interface LayoutManager { + void addLayoutComponent(String name, Component comp); + + void removeLayoutComponent(Component comp); + + Dimension preferredLayoutSize(Container parent); + + Dimension minimumLayoutSize(Container parent); + + void layoutContainer(Container parent); +} diff --git a/android/app/src/main/java/voidawt/MediaTracker.java b/android/app/src/main/java/voidawt/MediaTracker.java new file mode 100644 index 000000000..fc26a6a24 --- /dev/null +++ b/android/app/src/main/java/voidawt/MediaTracker.java @@ -0,0 +1,18 @@ +package voidawt; + +public class MediaTracker { + public static final int COMPLETE = 8; + + public MediaTracker(Component component) { + } + + public void addImage(Image image, int id) { + } + + public void waitForAll() throws InterruptedException { + } + + public boolean isErrorAny() { + return false; + } +} diff --git a/android/app/src/main/java/voidawt/Panel.java b/android/app/src/main/java/voidawt/Panel.java new file mode 100644 index 000000000..82bf9a741 --- /dev/null +++ b/android/app/src/main/java/voidawt/Panel.java @@ -0,0 +1,4 @@ +package voidawt; + +public class Panel extends Container { +} diff --git a/android/app/src/main/java/voidawt/Point.java b/android/app/src/main/java/voidawt/Point.java new file mode 100644 index 000000000..834755a12 --- /dev/null +++ b/android/app/src/main/java/voidawt/Point.java @@ -0,0 +1,14 @@ +package voidawt; + +public class Point { + public int x; + public int y; + + public Point() { + } + + public Point(int x, int y) { + this.x = x; + this.y = y; + } +} diff --git a/android/app/src/main/java/voidawt/Rectangle.java b/android/app/src/main/java/voidawt/Rectangle.java new file mode 100644 index 000000000..eb84fe2a5 --- /dev/null +++ b/android/app/src/main/java/voidawt/Rectangle.java @@ -0,0 +1,34 @@ +package voidawt; + +public class Rectangle implements Shape { + public int x; + public int y; + public int width; + public int height; + + public Rectangle() { + } + + public Rectangle(int x, int y, int width, int height) { + this.x = x; + this.y = y; + this.width = width; + this.height = height; + } + + public Rectangle(int width, int height) { + this.width = width; + this.height = height; + } + + public Rectangle getBounds() { + return new Rectangle(x, y, width, height); + } + + public void setBounds(int x, int y, int width, int height) { + this.x = x; + this.y = y; + this.width = width; + this.height = height; + } +} diff --git a/android/app/src/main/java/voidawt/Robot.java b/android/app/src/main/java/voidawt/Robot.java new file mode 100644 index 000000000..0b15414a1 --- /dev/null +++ b/android/app/src/main/java/voidawt/Robot.java @@ -0,0 +1,9 @@ +package voidawt; + +public class Robot { + public Robot() throws Exception { + } + + public void mouseMove(int x, int y) { + } +} diff --git a/android/app/src/main/java/voidawt/Shape.java b/android/app/src/main/java/voidawt/Shape.java new file mode 100644 index 000000000..f27f99a49 --- /dev/null +++ b/android/app/src/main/java/voidawt/Shape.java @@ -0,0 +1,5 @@ +package voidawt; + +public interface Shape { + Rectangle getBounds(); +} diff --git a/android/app/src/main/java/voidawt/Toolkit.java b/android/app/src/main/java/voidawt/Toolkit.java new file mode 100644 index 000000000..41eff50e2 --- /dev/null +++ b/android/app/src/main/java/voidawt/Toolkit.java @@ -0,0 +1,125 @@ +package voidawt; + +import android.graphics.Bitmap; +import android.graphics.BitmapFactory; + +import voidawt.datatransfer.Clipboard; +import voidawt.image.BufferedImage; +import voidawt.image.ImageProducer; + +/** + * AWT {@code Toolkit} singleton: screen size from {@link AwtHost}, PNG decode, + * clipboard, and a stub event queue. Enough for the client to boot without a + * real desktop toolkit. + */ +public class Toolkit { + private static final Toolkit INSTANCE = new Toolkit(); + private final Clipboard clipboard = new Clipboard(); + private final EventQueue eventQueue = new EventQueue(); + + public static Toolkit getDefaultToolkit() { + return INSTANCE; + } + + public EventQueue getSystemEventQueue() { + return eventQueue; + } + + public Clipboard getSystemClipboard() { + return clipboard; + } + + public Dimension getScreenSize() { + return new Dimension(AwtHost.GAME_WIDTH, AwtHost.GAME_HEIGHT); + } + + public void sync() { + } + + public Image createImage(byte[] data) { + if (data == null) { + throw new IllegalArgumentException("image data"); + } + BitmapFactory.Options opts = new BitmapFactory.Options(); + opts.inPreferredConfig = Bitmap.Config.ARGB_8888; + opts.inDither = false; + Bitmap bitmap = BitmapFactory.decodeByteArray(data, 0, data.length, opts); + if (bitmap == null) { + throw new IllegalArgumentException("decode failed"); + } + if (bitmap.getConfig() != Bitmap.Config.ARGB_8888) { + Bitmap converted = bitmap.copy(Bitmap.Config.ARGB_8888, false); + bitmap.recycle(); + bitmap = converted; + } + int w = bitmap.getWidth(); + int h = bitmap.getHeight(); + BufferedImage image = new BufferedImage(w, h, BufferedImage.TYPE_INT_ARGB); + int[] pixels = image.peekArgb(); + bitmap.getPixels(pixels, 0, w, 0, 0, w, h); + bitmap.recycle(); + // Game sprite code treats only alpha==255 as opaque. + for (int i = 0; i < pixels.length; i++) { + pixels[i] |= 0xff000000; + } + return image; + } + + public Image createImage(ImageProducer producer) { + if (producer == null) { + return new BufferedImage(1, 1, BufferedImage.TYPE_INT_ARGB); + } + ProducerImage image = new ProducerImage(); + producer.startProduction(image); + return image.image != null ? image.image : new BufferedImage(1, 1, BufferedImage.TYPE_INT_ARGB); + } + + public Cursor createCustomCursor(Image cursor, Point hotSpot, String name) { + return new Cursor(); + } + + public void beep() { + } + + private static final class ProducerImage implements voidawt.image.ImageConsumer { + BufferedImage image; + + public void setDimensions(int width, int height) { + image = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB); + } + + public void setProperties(java.util.Hashtable props) { + } + + public void setColorModel(voidawt.image.ColorModel model) { + } + + public void setHints(int hintflags) { + } + + public void setPixels(int x, int y, int w, int h, voidawt.image.ColorModel model, byte[] pixels, int off, int scansize) { + } + + public void setPixels(int x, int y, int w, int h, voidawt.image.ColorModel model, int[] pixels, int off, int scansize) { + if (image == null) { + setDimensions(x + w, y + h); + } + if (model == null) { + image.setRGB(x, y, w, h, pixels, off, scansize); + return; + } + int[] argb = new int[w * h]; + for (int row = 0; row < h; row++) { + int src = off + row * scansize; + int dst = row * w; + for (int col = 0; col < w; col++) { + argb[dst + col] = model.getRGB(pixels[src + col]); + } + } + image.setRGB(x, y, w, h, argb, 0, w); + } + + public void imageComplete(int status) { + } + } +} diff --git a/android/app/src/main/java/voidawt/Window.java b/android/app/src/main/java/voidawt/Window.java new file mode 100644 index 000000000..8ec127a9a --- /dev/null +++ b/android/app/src/main/java/voidawt/Window.java @@ -0,0 +1,23 @@ +package voidawt; + +/** AWT {@code Window} stub — pack/toFront/dispose are no-ops on mobile. */ +public class Window extends Container { + public void pack() { + } + + public void toFront() { + } + + public void dispose() { + } + + public void addWindowListener(voidawt.event.WindowListener l) { + } + + public void removeWindowListener(voidawt.event.WindowListener l) { + } + + public Insets getInsets() { + return new Insets(0, 0, 0, 0); + } +} diff --git a/android/app/src/main/java/voidawt/datatransfer/Clipboard.java b/android/app/src/main/java/voidawt/datatransfer/Clipboard.java new file mode 100644 index 000000000..aa107900b --- /dev/null +++ b/android/app/src/main/java/voidawt/datatransfer/Clipboard.java @@ -0,0 +1,13 @@ +package voidawt.datatransfer; + +public class Clipboard { + private Transferable contents; + + public synchronized Transferable getContents(Object requestor) { + return contents; + } + + public synchronized void setContents(Transferable contents, ClipboardOwner owner) { + this.contents = contents; + } +} diff --git a/android/app/src/main/java/voidawt/datatransfer/ClipboardOwner.java b/android/app/src/main/java/voidawt/datatransfer/ClipboardOwner.java new file mode 100644 index 000000000..c160782b0 --- /dev/null +++ b/android/app/src/main/java/voidawt/datatransfer/ClipboardOwner.java @@ -0,0 +1,5 @@ +package voidawt.datatransfer; + +public interface ClipboardOwner { + void lostOwnership(Clipboard clipboard, Transferable contents); +} diff --git a/android/app/src/main/java/voidawt/datatransfer/DataFlavor.java b/android/app/src/main/java/voidawt/datatransfer/DataFlavor.java new file mode 100644 index 000000000..16cbfe44e --- /dev/null +++ b/android/app/src/main/java/voidawt/datatransfer/DataFlavor.java @@ -0,0 +1,8 @@ +package voidawt.datatransfer; + +public class DataFlavor { + public static final DataFlavor stringFlavor = new DataFlavor(); + + public DataFlavor() { + } +} diff --git a/android/app/src/main/java/voidawt/datatransfer/StringSelection.java b/android/app/src/main/java/voidawt/datatransfer/StringSelection.java new file mode 100644 index 000000000..cdd403185 --- /dev/null +++ b/android/app/src/main/java/voidawt/datatransfer/StringSelection.java @@ -0,0 +1,23 @@ +package voidawt.datatransfer; + +import java.io.IOException; + +public class StringSelection implements Transferable { + private final String data; + + public StringSelection(String data) { + this.data = data; + } + + public DataFlavor[] getTransferDataFlavors() { + return new DataFlavor[]{DataFlavor.stringFlavor}; + } + + public boolean isDataFlavorSupported(DataFlavor flavor) { + return flavor == DataFlavor.stringFlavor; + } + + public Object getTransferData(DataFlavor flavor) throws IOException { + return data; + } +} diff --git a/android/app/src/main/java/voidawt/datatransfer/Transferable.java b/android/app/src/main/java/voidawt/datatransfer/Transferable.java new file mode 100644 index 000000000..3af93b648 --- /dev/null +++ b/android/app/src/main/java/voidawt/datatransfer/Transferable.java @@ -0,0 +1,11 @@ +package voidawt.datatransfer; + +import java.io.IOException; + +public interface Transferable { + DataFlavor[] getTransferDataFlavors(); + + boolean isDataFlavorSupported(DataFlavor flavor); + + Object getTransferData(DataFlavor flavor) throws IOException; +} diff --git a/android/app/src/main/java/voidawt/event/AWTEvent.java b/android/app/src/main/java/voidawt/event/AWTEvent.java new file mode 100644 index 000000000..9684ae5be --- /dev/null +++ b/android/app/src/main/java/voidawt/event/AWTEvent.java @@ -0,0 +1,25 @@ +package voidawt.event; + +import java.util.EventObject; + +public class AWTEvent extends EventObject { + protected int id; + private boolean consumed; + + public AWTEvent(Object source, int id) { + super(source); + this.id = id; + } + + public int getID() { + return id; + } + + public void consume() { + consumed = true; + } + + public boolean isConsumed() { + return consumed; + } +} diff --git a/android/app/src/main/java/voidawt/event/ActionEvent.java b/android/app/src/main/java/voidawt/event/ActionEvent.java new file mode 100644 index 000000000..50127a34d --- /dev/null +++ b/android/app/src/main/java/voidawt/event/ActionEvent.java @@ -0,0 +1,9 @@ +package voidawt.event; + +public class ActionEvent extends AWTEvent { + public static final int ACTION_PERFORMED = 1001; + + public ActionEvent(Object source, int id, String command) { + super(source, id); + } +} diff --git a/android/app/src/main/java/voidawt/event/ActionListener.java b/android/app/src/main/java/voidawt/event/ActionListener.java new file mode 100644 index 000000000..4ffe7ca9d --- /dev/null +++ b/android/app/src/main/java/voidawt/event/ActionListener.java @@ -0,0 +1,5 @@ +package voidawt.event; + +public interface ActionListener { + void actionPerformed(ActionEvent e); +} diff --git a/android/app/src/main/java/voidawt/event/FocusEvent.java b/android/app/src/main/java/voidawt/event/FocusEvent.java new file mode 100644 index 000000000..bf33ad9e2 --- /dev/null +++ b/android/app/src/main/java/voidawt/event/FocusEvent.java @@ -0,0 +1,12 @@ +package voidawt.event; + +import voidawt.Component; + +public class FocusEvent extends AWTEvent { + public static final int FOCUS_GAINED = 1004; + public static final int FOCUS_LOST = 1005; + + public FocusEvent(Component source, int id) { + super(source, id); + } +} diff --git a/android/app/src/main/java/voidawt/event/FocusListener.java b/android/app/src/main/java/voidawt/event/FocusListener.java new file mode 100644 index 000000000..5a45ec1b5 --- /dev/null +++ b/android/app/src/main/java/voidawt/event/FocusListener.java @@ -0,0 +1,7 @@ +package voidawt.event; + +public interface FocusListener { + void focusGained(FocusEvent e); + + void focusLost(FocusEvent e); +} diff --git a/android/app/src/main/java/voidawt/event/KeyEvent.java b/android/app/src/main/java/voidawt/event/KeyEvent.java new file mode 100644 index 000000000..330a793d2 --- /dev/null +++ b/android/app/src/main/java/voidawt/event/KeyEvent.java @@ -0,0 +1,40 @@ +package voidawt.event; + +import voidawt.Component; + +public class KeyEvent extends AWTEvent { + public static final int KEY_TYPED = 400; + public static final int KEY_PRESSED = 401; + public static final int KEY_RELEASED = 402; + public static final int VK_ENTER = 10; + public static final int VK_BACK_SPACE = 8; + public static final int VK_TAB = 9; + public static final int VK_ESCAPE = 27; + public static final int VK_SPACE = 32; + public static final int VK_LEFT = 37; + public static final int VK_UP = 38; + public static final int VK_RIGHT = 39; + public static final int VK_DOWN = 40; + public static final int VK_DELETE = 127; + public static final int VK_SHIFT = 16; + public static final int VK_CONTROL = 17; + public static final int VK_ALT = 18; + public static final int CHAR_UNDEFINED = 65535; + + private final int keyCode; + private final char keyChar; + + public KeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar) { + super(source, id); + this.keyCode = keyCode; + this.keyChar = keyChar; + } + + public int getKeyCode() { + return keyCode; + } + + public char getKeyChar() { + return keyChar; + } +} diff --git a/android/app/src/main/java/voidawt/event/KeyListener.java b/android/app/src/main/java/voidawt/event/KeyListener.java new file mode 100644 index 000000000..905e539e4 --- /dev/null +++ b/android/app/src/main/java/voidawt/event/KeyListener.java @@ -0,0 +1,9 @@ +package voidawt.event; + +public interface KeyListener { + void keyTyped(KeyEvent e); + + void keyPressed(KeyEvent e); + + void keyReleased(KeyEvent e); +} diff --git a/android/app/src/main/java/voidawt/event/MouseEvent.java b/android/app/src/main/java/voidawt/event/MouseEvent.java new file mode 100644 index 000000000..3d4672c6f --- /dev/null +++ b/android/app/src/main/java/voidawt/event/MouseEvent.java @@ -0,0 +1,86 @@ +package voidawt.event; + +import voidawt.Component; + +public class MouseEvent extends AWTEvent { + public static final int MOUSE_FIRST = 500; + public static final int MOUSE_CLICKED = 500; + public static final int MOUSE_PRESSED = 501; + public static final int MOUSE_RELEASED = 502; + public static final int MOUSE_MOVED = 503; + public static final int MOUSE_ENTERED = 504; + public static final int MOUSE_EXITED = 505; + public static final int MOUSE_DRAGGED = 506; + public static final int MOUSE_WHEEL = 507; + public static final int BUTTON1 = 1; + public static final int BUTTON2 = 2; + public static final int BUTTON3 = 3; + public static final int SHIFT_DOWN_MASK = 1 << 6; + public static final int CTRL_DOWN_MASK = 1 << 7; + public static final int META_DOWN_MASK = 1 << 8; + public static final int ALT_DOWN_MASK = 1 << 9; + public static final int BUTTON1_DOWN_MASK = 1 << 10; + public static final int BUTTON2_DOWN_MASK = 1 << 11; + public static final int BUTTON3_DOWN_MASK = 1 << 12; + + private final int x; + private final int y; + private final int clickCount; + private final boolean popupTrigger; + private final int button; + private final int modifiers; + + public MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger) { + this(source, id, when, modifiers, x, y, clickCount, popupTrigger, 0); + } + + public MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, int button) { + super(source, id); + this.modifiers = modifiers; + this.x = x; + this.y = y; + this.clickCount = clickCount; + this.popupTrigger = popupTrigger; + this.button = button; + } + + public int getX() { + return x; + } + + public int getY() { + return y; + } + + public int getClickCount() { + return clickCount; + } + + public boolean isPopupTrigger() { + return popupTrigger; + } + + public int getButton() { + return button; + } + + public int getModifiers() { + return modifiers; + } + + public boolean isMetaDown() { + return button == BUTTON3 || (modifiers & 4) != 0; + } + + public boolean isShiftDown() { + return (modifiers & 1) != 0; + } + + public boolean isControlDown() { + return (modifiers & 2) != 0; + } + + public boolean isAltDown() { + return (modifiers & 8) != 0; + } +} diff --git a/android/app/src/main/java/voidawt/event/MouseListener.java b/android/app/src/main/java/voidawt/event/MouseListener.java new file mode 100644 index 000000000..7d6d44f20 --- /dev/null +++ b/android/app/src/main/java/voidawt/event/MouseListener.java @@ -0,0 +1,13 @@ +package voidawt.event; + +public interface MouseListener { + void mouseClicked(MouseEvent e); + + void mousePressed(MouseEvent e); + + void mouseReleased(MouseEvent e); + + void mouseEntered(MouseEvent e); + + void mouseExited(MouseEvent e); +} diff --git a/android/app/src/main/java/voidawt/event/MouseMotionListener.java b/android/app/src/main/java/voidawt/event/MouseMotionListener.java new file mode 100644 index 000000000..9351630f0 --- /dev/null +++ b/android/app/src/main/java/voidawt/event/MouseMotionListener.java @@ -0,0 +1,7 @@ +package voidawt.event; + +public interface MouseMotionListener { + void mouseDragged(MouseEvent e); + + void mouseMoved(MouseEvent e); +} diff --git a/android/app/src/main/java/voidawt/event/MouseWheelEvent.java b/android/app/src/main/java/voidawt/event/MouseWheelEvent.java new file mode 100644 index 000000000..e5af341f9 --- /dev/null +++ b/android/app/src/main/java/voidawt/event/MouseWheelEvent.java @@ -0,0 +1,16 @@ +package voidawt.event; + +import voidawt.Component; + +public class MouseWheelEvent extends MouseEvent { + private final int wheelRotation; + + public MouseWheelEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, int wheelRotation) { + super(source, id, when, modifiers, x, y, clickCount, popupTrigger, 0); + this.wheelRotation = wheelRotation; + } + + public int getWheelRotation() { + return wheelRotation; + } +} diff --git a/android/app/src/main/java/voidawt/event/MouseWheelListener.java b/android/app/src/main/java/voidawt/event/MouseWheelListener.java new file mode 100644 index 000000000..343498b2c --- /dev/null +++ b/android/app/src/main/java/voidawt/event/MouseWheelListener.java @@ -0,0 +1,5 @@ +package voidawt.event; + +public interface MouseWheelListener { + void mouseWheelMoved(MouseWheelEvent e); +} diff --git a/android/app/src/main/java/voidawt/event/WindowEvent.java b/android/app/src/main/java/voidawt/event/WindowEvent.java new file mode 100644 index 000000000..48fdf4a94 --- /dev/null +++ b/android/app/src/main/java/voidawt/event/WindowEvent.java @@ -0,0 +1,17 @@ +package voidawt.event; + +import voidawt.Window; + +public class WindowEvent extends AWTEvent { + public static final int WINDOW_CLOSING = 201; + public static final int WINDOW_CLOSED = 202; + public static final int WINDOW_OPENED = 200; + public static final int WINDOW_ICONIFIED = 203; + public static final int WINDOW_DEICONIFIED = 204; + public static final int WINDOW_ACTIVATED = 205; + public static final int WINDOW_DEACTIVATED = 206; + + public WindowEvent(Window source, int id) { + super(source, id); + } +} diff --git a/android/app/src/main/java/voidawt/event/WindowListener.java b/android/app/src/main/java/voidawt/event/WindowListener.java new file mode 100644 index 000000000..1ddc802d1 --- /dev/null +++ b/android/app/src/main/java/voidawt/event/WindowListener.java @@ -0,0 +1,17 @@ +package voidawt.event; + +public interface WindowListener { + void windowOpened(WindowEvent e); + + void windowClosing(WindowEvent e); + + void windowClosed(WindowEvent e); + + void windowIconified(WindowEvent e); + + void windowDeiconified(WindowEvent e); + + void windowActivated(WindowEvent e); + + void windowDeactivated(WindowEvent e); +} diff --git a/android/app/src/main/java/voidawt/image/BufferedImage.java b/android/app/src/main/java/voidawt/image/BufferedImage.java new file mode 100644 index 000000000..f33903218 --- /dev/null +++ b/android/app/src/main/java/voidawt/image/BufferedImage.java @@ -0,0 +1,70 @@ +package voidawt.image; + +import voidawt.Graphics; +import voidawt.Image; + +import java.util.Hashtable; + +public class BufferedImage extends Image { + public static final int TYPE_INT_RGB = 1; + public static final int TYPE_INT_ARGB = 2; + + private final int width; + private final int height; + private final int[] data; + private Graphics graphics; + + public BufferedImage(int width, int height, int type) { + this.width = width; + this.height = height; + this.data = new int[Math.max(1, width * height)]; + } + + public BufferedImage(ColorModel cm, WritableRaster raster, boolean isRasterPremultiplied, Hashtable properties) { + this.width = raster.getWidth(); + this.height = raster.getHeight(); + DataBuffer buffer = raster.getDataBuffer(); + if (buffer instanceof DataBufferInt) { + this.data = ((DataBufferInt) buffer).getData(); + } else { + this.data = new int[width * height]; + } + } + + public int getWidth() { + return width; + } + + public int getHeight() { + return height; + } + + public int getWidth(ImageObserver observer) { + return width; + } + + public int getHeight(ImageObserver observer) { + return height; + } + + public Graphics getGraphics() { + if (graphics == null) { + graphics = new Graphics(this); + } + return graphics; + } + + public void setRGB(int startX, int startY, int w, int h, int[] rgbArray, int offset, int scansize) { + for (int row = 0; row < h; row++) { + int dy = startY + row; + if (dy < 0 || dy >= height) { + continue; + } + System.arraycopy(rgbArray, offset + row * scansize, data, dy * width + startX, Math.min(w, width - startX)); + } + } + + public int[] peekArgb() { + return data; + } +} diff --git a/android/app/src/main/java/voidawt/image/ColorModel.java b/android/app/src/main/java/voidawt/image/ColorModel.java new file mode 100644 index 000000000..4e59206ee --- /dev/null +++ b/android/app/src/main/java/voidawt/image/ColorModel.java @@ -0,0 +1,15 @@ +package voidawt.image; + +public abstract class ColorModel { + protected int pixel_bits; + + public ColorModel(int bits) { + this.pixel_bits = bits; + } + + public abstract SampleModel createCompatibleSampleModel(int w, int h); + + public int getRGB(int pixel) { + return pixel; + } +} diff --git a/android/app/src/main/java/voidawt/image/DataBuffer.java b/android/app/src/main/java/voidawt/image/DataBuffer.java new file mode 100644 index 000000000..b95eb5c64 --- /dev/null +++ b/android/app/src/main/java/voidawt/image/DataBuffer.java @@ -0,0 +1,10 @@ +package voidawt.image; + +public class DataBuffer { + public static final int TYPE_INT = 3; + int size; + + public int getSize() { + return size; + } +} diff --git a/android/app/src/main/java/voidawt/image/DataBufferInt.java b/android/app/src/main/java/voidawt/image/DataBufferInt.java new file mode 100644 index 000000000..5287ff5ae --- /dev/null +++ b/android/app/src/main/java/voidawt/image/DataBufferInt.java @@ -0,0 +1,19 @@ +package voidawt.image; + +public class DataBufferInt extends DataBuffer { + private final int[] data; + + public DataBufferInt(int[] data, int size) { + this.data = data; + this.size = size; + } + + public DataBufferInt(int size) { + this.data = new int[size]; + this.size = size; + } + + public int[] getData() { + return data; + } +} diff --git a/android/app/src/main/java/voidawt/image/DirectColorModel.java b/android/app/src/main/java/voidawt/image/DirectColorModel.java new file mode 100644 index 000000000..51bf95f6b --- /dev/null +++ b/android/app/src/main/java/voidawt/image/DirectColorModel.java @@ -0,0 +1,64 @@ +package voidawt.image; + +public class DirectColorModel extends ColorModel { + private final int rmask; + private final int gmask; + private final int bmask; + private final int amask; + private final int rshift; + private final int gshift; + private final int bshift; + private final int ashift; + + public DirectColorModel(int bits, int rmask, int gmask, int bmask) { + this(bits, rmask, gmask, bmask, 0); + } + + public DirectColorModel(int bits, int rmask, int gmask, int bmask, int amask) { + super(bits); + this.rmask = rmask; + this.gmask = gmask; + this.bmask = bmask; + this.amask = amask; + this.rshift = shift(rmask); + this.gshift = shift(gmask); + this.bshift = shift(bmask); + this.ashift = shift(amask); + } + + private static int shift(int mask) { + if (mask == 0) { + return 0; + } + int s = 0; + while ((mask & 1) == 0) { + mask >>>= 1; + s++; + } + return s; + } + + private static int scale(int value, int mask, int shift) { + if (mask == 0) { + return 0; + } + int bits = Integer.bitCount(mask); + int v = (value & mask) >>> shift; + if (bits == 8) { + return v; + } + return bits == 0 ? 0 : (v * 255) / ((1 << bits) - 1); + } + + public int getRGB(int pixel) { + int r = scale(pixel, rmask, rshift); + int g = scale(pixel, gmask, gshift); + int b = scale(pixel, bmask, bshift); + int a = amask == 0 ? 255 : scale(pixel, amask, ashift); + return (a << 24) | (r << 16) | (g << 8) | b; + } + + public SampleModel createCompatibleSampleModel(int w, int h) { + return new SampleModel(w, h); + } +} diff --git a/android/app/src/main/java/voidawt/image/ImageConsumer.java b/android/app/src/main/java/voidawt/image/ImageConsumer.java new file mode 100644 index 000000000..11d60853a --- /dev/null +++ b/android/app/src/main/java/voidawt/image/ImageConsumer.java @@ -0,0 +1,27 @@ +package voidawt.image; + +public interface ImageConsumer { + int RANDOMPIXELORDER = 1; + int TOPDOWNLEFTRIGHT = 2; + int COMPLETESCANLINES = 4; + int SINGLEPASS = 8; + int SINGLEFRAME = 16; + int IMAGEERROR = 1; + int SINGLEFRAMEDONE = 2; + int STATICIMAGEDONE = 3; + int IMAGEABORTED = 4; + + void setDimensions(int width, int height); + + void setProperties(java.util.Hashtable props); + + void setColorModel(ColorModel model); + + void setHints(int hintflags); + + void setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int off, int scansize); + + void setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int off, int scansize); + + void imageComplete(int status); +} diff --git a/android/app/src/main/java/voidawt/image/ImageObserver.java b/android/app/src/main/java/voidawt/image/ImageObserver.java new file mode 100644 index 000000000..1e4c43841 --- /dev/null +++ b/android/app/src/main/java/voidawt/image/ImageObserver.java @@ -0,0 +1,14 @@ +package voidawt.image; + +public interface ImageObserver { + int WIDTH = 1; + int HEIGHT = 2; + int PROPERTIES = 4; + int SOMEBITS = 8; + int FRAMEBITS = 16; + int ALLBITS = 32; + int ERROR = 64; + int ABORT = 128; + + boolean imageUpdate(voidawt.Image img, int infoflags, int x, int y, int width, int height); +} diff --git a/android/app/src/main/java/voidawt/image/ImageProducer.java b/android/app/src/main/java/voidawt/image/ImageProducer.java new file mode 100644 index 000000000..149d98e18 --- /dev/null +++ b/android/app/src/main/java/voidawt/image/ImageProducer.java @@ -0,0 +1,13 @@ +package voidawt.image; + +public interface ImageProducer { + void addConsumer(ImageConsumer ic); + + boolean isConsumer(ImageConsumer ic); + + void removeConsumer(ImageConsumer ic); + + void startProduction(ImageConsumer ic); + + void requestTopDownLeftRightResend(ImageConsumer ic); +} diff --git a/android/app/src/main/java/voidawt/image/PixelGrabber.java b/android/app/src/main/java/voidawt/image/PixelGrabber.java new file mode 100644 index 000000000..9a63b7ac1 --- /dev/null +++ b/android/app/src/main/java/voidawt/image/PixelGrabber.java @@ -0,0 +1,48 @@ +package voidawt.image; + +import voidawt.Image; + +public class PixelGrabber { + private final Image image; + private final int x; + private final int y; + private final int w; + private final int h; + private final int[] pix; + private final int off; + private final int scansize; + + public PixelGrabber(Image image, int x, int y, int w, int h, int[] pix, int off, int scansize) { + this.image = image; + this.x = x; + this.y = y; + this.w = w; + this.h = h; + this.pix = pix; + this.off = off; + this.scansize = scansize; + } + + public boolean grabPixels() throws InterruptedException { + int[] src = image.peekArgb(); + int iw = image.getWidth(null); + int ih = image.getHeight(null); + if (src == null || iw <= 0) { + return false; + } + for (int row = 0; row < h; row++) { + int sy = y + row; + if (sy < 0 || sy >= ih) { + continue; + } + for (int col = 0; col < w; col++) { + int sx = x + col; + if (sx < 0 || sx >= iw) { + continue; + } + pix[off + row * scansize + col] = src[sy * iw + sx]; + } + } + return true; + } +} diff --git a/android/app/src/main/java/voidawt/image/Raster.java b/android/app/src/main/java/voidawt/image/Raster.java new file mode 100644 index 000000000..ad3f65f47 --- /dev/null +++ b/android/app/src/main/java/voidawt/image/Raster.java @@ -0,0 +1,31 @@ +package voidawt.image; + +import voidawt.Point; + +public class Raster { + SampleModel sampleModel; + DataBuffer dataBuffer; + int width; + int height; + + public static WritableRaster createWritableRaster(SampleModel sm, DataBuffer db, Point location) { + WritableRaster raster = new WritableRaster(); + raster.sampleModel = sm; + raster.dataBuffer = db; + raster.width = sm.width; + raster.height = sm.height; + return raster; + } + + public DataBuffer getDataBuffer() { + return dataBuffer; + } + + public int getWidth() { + return width; + } + + public int getHeight() { + return height; + } +} diff --git a/android/app/src/main/java/voidawt/image/SampleModel.java b/android/app/src/main/java/voidawt/image/SampleModel.java new file mode 100644 index 000000000..072dcaa76 --- /dev/null +++ b/android/app/src/main/java/voidawt/image/SampleModel.java @@ -0,0 +1,11 @@ +package voidawt.image; + +public class SampleModel { + final int width; + final int height; + + public SampleModel(int width, int height) { + this.width = width; + this.height = height; + } +} diff --git a/android/app/src/main/java/voidawt/image/WritableRaster.java b/android/app/src/main/java/voidawt/image/WritableRaster.java new file mode 100644 index 000000000..135c93763 --- /dev/null +++ b/android/app/src/main/java/voidawt/image/WritableRaster.java @@ -0,0 +1,4 @@ +package voidawt.image; + +public class WritableRaster extends Raster { +} diff --git a/android/app/src/main/java/voidmgmt/ManagementFactory.java b/android/app/src/main/java/voidmgmt/ManagementFactory.java new file mode 100644 index 000000000..263f2732e --- /dev/null +++ b/android/app/src/main/java/voidmgmt/ManagementFactory.java @@ -0,0 +1,11 @@ +package voidmgmt; + +public class ManagementFactory { + public static Object getPlatformMBeanServer() { + return null; + } + + public static T newPlatformMXBeanProxy(Object server, String name, Class type) { + return null; + } +} diff --git a/android/app/src/main/java/voidsound/sampled/AudioFormat.java b/android/app/src/main/java/voidsound/sampled/AudioFormat.java new file mode 100644 index 000000000..ffb558f1d --- /dev/null +++ b/android/app/src/main/java/voidsound/sampled/AudioFormat.java @@ -0,0 +1,50 @@ +package voidsound.sampled; + +/** + * PCM format descriptor — mirrors {@code javax.sound.sampled.AudioFormat}. + *

+ * RS634 opens 16-bit little-endian PCM at {@code Component231.anInt339} Hz + * (typically 22050), mono or stereo via {@code Component21.aBoolean3652}. + */ +public class AudioFormat { + private final float sampleRate; + private final int sampleSizeInBits; + private final int channels; + private final boolean signed; + private final boolean bigEndian; + + public AudioFormat(float sampleRate, int sampleSizeInBits, int channels, boolean signed, boolean bigEndian) { + this.sampleRate = sampleRate; + this.sampleSizeInBits = sampleSizeInBits; + this.channels = channels; + this.signed = signed; + this.bigEndian = bigEndian; + } + + public float getSampleRate() { + return sampleRate; + } + + public int getSampleSizeInBits() { + return sampleSizeInBits; + } + + public int getChannels() { + return channels; + } + + public boolean isSigned() { + return signed; + } + + public boolean isBigEndian() { + return bigEndian; + } + + /** Bytes per sample frame (all channels). */ + public int getFrameSize() { + int bits = sampleSizeInBits <= 0 ? 16 : sampleSizeInBits; + int ch = channels <= 0 ? 1 : channels; + return ((bits + 7) / 8) * ch; + } +} diff --git a/android/app/src/main/java/voidsound/sampled/AudioSystem.java b/android/app/src/main/java/voidsound/sampled/AudioSystem.java new file mode 100644 index 000000000..79d05a7c6 --- /dev/null +++ b/android/app/src/main/java/voidsound/sampled/AudioSystem.java @@ -0,0 +1,37 @@ +package voidsound.sampled; + +/** + * Stand-in for {@code javax.sound.sampled.AudioSystem}. + *

+ * The 634 mixer ({@code SourceAudioLine}) calls {@link #getLine} for a + * {@link SourceDataLine}. Returning a real {@link PcmSourceDataLine} is what + * makes music/SFX audible on mobile — stubs that threw here fell through to an + * empty mixer with no PCM output. + */ +public class AudioSystem { + private static final Mixer.Info MIXER = new Mixer.Info(); + + /** Probe used by the client to detect weird mixers (e.g. "SoundMAX"). */ + public static Mixer.Info[] getMixerInfo() { + return new Mixer.Info[] { MIXER }; + } + + /** + * Opens a PCM output line matching {@code info}'s format/buffer size. + * Always returns {@link PcmSourceDataLine} (Android: AudioTrack; iOS has + * its own overlay of that class). + */ + public static Line getLine(Line.Info info) throws LineUnavailableException { + AudioFormat format = null; + int bufferSize = 0; + if (info instanceof DataLine.Info) { + DataLine.Info di = (DataLine.Info) info; + format = di.getFormat(); + bufferSize = di.getBufferSize(); + } + if (format == null) { + throw new LineUnavailableException("no format"); + } + return new PcmSourceDataLine(format, bufferSize); + } +} diff --git a/android/app/src/main/java/voidsound/sampled/ByteRing.java b/android/app/src/main/java/voidsound/sampled/ByteRing.java new file mode 100644 index 000000000..d1ae37892 --- /dev/null +++ b/android/app/src/main/java/voidsound/sampled/ByteRing.java @@ -0,0 +1,83 @@ +package voidsound.sampled; + +/** + * Thread-safe PCM ring between the game mixer thread and the platform pump. + *

+ * JavaSound {@code SourceDataLine.available()} returns free bytes — not + * used bytes. {@link #free()} is what {@link PcmSourceDataLine#available()} + * exposes so {@code SourceAudioLine.method2081} can compute how full the buffer is. + * {@link #write} blocks when full (mixer paces itself); {@link #read} never blocks. + */ +final class ByteRing { + private final byte[] buf; + private int head; + private int size; + + ByteRing(int capacity) { + buf = new byte[Math.max(2048, capacity)]; + } + + synchronized int capacity() { + return buf.length; + } + + /** Bytes that can still be written without blocking. */ + synchronized int free() { + return buf.length - size; + } + + /** Bytes waiting to be played. */ + synchronized int used() { + return size; + } + + synchronized void clear() { + head = 0; + size = 0; + notifyAll(); + } + + /** Blocks until all {@code len} bytes are queued (or interrupted). */ + synchronized int write(byte[] src, int off, int len) { + int done = 0; + while (done < len) { + while (size == buf.length) { + try { + wait(5L); + } catch (InterruptedException e) { + Thread.currentThread().interrupt(); + return done; + } + } + int space = buf.length - size; + int chunk = Math.min(len - done, space); + int tail = (head + size) % buf.length; + int first = Math.min(chunk, buf.length - tail); + System.arraycopy(src, off + done, buf, tail, first); + if (chunk > first) { + System.arraycopy(src, off + done + first, buf, 0, chunk - first); + } + size += chunk; + done += chunk; + notifyAll(); + } + return done; + } + + /** Non-blocking; returns 0 if empty. */ + synchronized int read(byte[] dst, int off, int len) { + if (size == 0 || len <= 0) { + return 0; + } + int chunk = Math.min(len, size); + int first = Math.min(chunk, buf.length - head); + System.arraycopy(buf, head, dst, off, first); + if (chunk > first) { + System.arraycopy(buf, 0, dst, off + first, chunk - first); + } + head = (head + chunk) % buf.length; + size -= chunk; + notifyAll(); + return chunk; + } +} diff --git a/android/app/src/main/java/voidsound/sampled/DataLine.java b/android/app/src/main/java/voidsound/sampled/DataLine.java new file mode 100644 index 000000000..5755a2323 --- /dev/null +++ b/android/app/src/main/java/voidsound/sampled/DataLine.java @@ -0,0 +1,39 @@ +package voidsound.sampled; + +/** + * Writable PCM line — {@code javax.sound.sampled.DataLine} subset used by + * {@code SourceAudioLine} ({@link #available}, {@link #write}). + */ +public interface DataLine extends Line { + /** + * Carries the requested PCM format and hardware buffer size (bytes) that + * {@code SourceAudioLine.method2082} computed from the mixer sample count. + */ + public static class Info extends Line.Info { + private final AudioFormat format; + private final int bufferSize; + + public Info(Class lineClass, AudioFormat format, int bufferSize) { + super(lineClass, format, bufferSize); + this.format = format; + this.bufferSize = bufferSize; + } + + public AudioFormat getFormat() { + return format; + } + + public int getBufferSize() { + return bufferSize; + } + } + + /** + * Free space in the line buffer (bytes). Must match JavaSound semantics — + * {@code SourceAudioLine.method2081} treats this as "how much can still be written". + */ + int available(); + + /** Blocks until {@code len} bytes are queued (or the line closes). */ + int write(byte[] b, int off, int len); +} diff --git a/android/app/src/main/java/voidsound/sampled/Line.java b/android/app/src/main/java/voidsound/sampled/Line.java new file mode 100644 index 000000000..e85860fb0 --- /dev/null +++ b/android/app/src/main/java/voidsound/sampled/Line.java @@ -0,0 +1,20 @@ +package voidsound.sampled; + +/** Minimal {@code javax.sound.sampled.Line} surface used by the 634 audio mixer. */ +public interface Line { + public static class Info { + public Info(Class lineClass, AudioFormat format, int bufferSize) { + } + + public Info(Class lineClass) { + } + } + + void open() throws LineUnavailableException; + + void close(); + + void start(); + + void flush(); +} diff --git a/android/app/src/main/java/voidsound/sampled/LineUnavailableException.java b/android/app/src/main/java/voidsound/sampled/LineUnavailableException.java new file mode 100644 index 000000000..76c9abb78 --- /dev/null +++ b/android/app/src/main/java/voidsound/sampled/LineUnavailableException.java @@ -0,0 +1,11 @@ +package voidsound.sampled; + +/** Thrown when the platform cannot open a PCM output line (no AudioTrack / AudioQueue). */ +public class LineUnavailableException extends Exception { + public LineUnavailableException() { + } + + public LineUnavailableException(String message) { + super(message); + } +} diff --git a/android/app/src/main/java/voidsound/sampled/Mixer.java b/android/app/src/main/java/voidsound/sampled/Mixer.java new file mode 100644 index 000000000..7e652a29d --- /dev/null +++ b/android/app/src/main/java/voidsound/sampled/Mixer.java @@ -0,0 +1,13 @@ +package voidsound.sampled; + +/** + * Stub mixer list for {@link AudioSystem#getMixerInfo}. The client only scans + * names for "soundmax" (SoundMAX reopen workaround in {@code SourceAudioLine}). + */ +public abstract class Mixer { + public static class Info { + public String getName() { + return ""; + } + } +} diff --git a/android/app/src/main/java/voidsound/sampled/PcmSourceDataLine.java b/android/app/src/main/java/voidsound/sampled/PcmSourceDataLine.java new file mode 100644 index 000000000..ab35ab256 --- /dev/null +++ b/android/app/src/main/java/voidsound/sampled/PcmSourceDataLine.java @@ -0,0 +1,236 @@ +package voidsound.sampled; + +import android.media.AudioAttributes; +import android.media.AudioFormat; +import android.media.AudioTrack; +import android.util.Log; + +/** + * Android PCM sink for the 634 mixer ({@code SourceAudioLine}). + *

+ * Mixer thread writes LE 16-bit frames into a {@link ByteRing}; a dedicated + * high-priority pump drains the ring into {@link AudioTrack} (MODE_STREAM). + * Some devices reject 22050 Hz — we fall back to 44100 and duplicate each + * sample frame ({@link #stretch2x}). + *

+ * Shared with iOS via Gradle copy, but iOS excludes this file and ships its + * own AudioQueue-based {@code PcmSourceDataLine}. + */ +final class PcmSourceDataLine implements SourceDataLine { + private static final String TAG = "void-osrs"; + + private final voidsound.sampled.AudioFormat format; + private final int requestedBufferBytes; + + private ByteRing ring; + private AudioTrack track; + private Thread pump; + private volatile boolean running; + private int srcRate; + private int outRate; + private int channels; + private int srcFrameSize; + private boolean logged; + + PcmSourceDataLine(voidsound.sampled.AudioFormat format, int bufferBytes) { + this.format = format; + this.requestedBufferBytes = bufferBytes; + } + + public synchronized void open() throws LineUnavailableException { + if (track != null) { + return; + } + srcRate = Math.max(8000, (int) format.getSampleRate()); + channels = format.getChannels() <= 1 ? 1 : 2; + srcFrameSize = channels * 2; + int channelMask = channels == 2 + ? AudioFormat.CHANNEL_OUT_STEREO + : AudioFormat.CHANNEL_OUT_MONO; + + // Prefer native rate; many phones only accept 44100/48000. + outRate = srcRate; + int min = AudioTrack.getMinBufferSize(outRate, channelMask, AudioFormat.ENCODING_PCM_16BIT); + if (min <= 0) { + outRate = srcRate == 22050 ? 44100 : 48000; + min = AudioTrack.getMinBufferSize(outRate, channelMask, AudioFormat.ENCODING_PCM_16BIT); + } + if (min <= 0) { + throw new LineUnavailableException("min buffer " + srcRate); + } + + int hwBytes = Math.max(min * 2, 4096); + try { + track = new AudioTrack.Builder() + .setAudioAttributes(new AudioAttributes.Builder() + .setUsage(AudioAttributes.USAGE_MEDIA) + .setContentType(AudioAttributes.CONTENT_TYPE_MUSIC) + .build()) + .setAudioFormat(new AudioFormat.Builder() + .setSampleRate(outRate) + .setChannelMask(channelMask) + .setEncoding(AudioFormat.ENCODING_PCM_16BIT) + .build()) + .setTransferMode(AudioTrack.MODE_STREAM) + .setBufferSizeInBytes(hwBytes) + .build(); + } catch (Exception e) { + throw new LineUnavailableException(String.valueOf(e)); + } + if (track.getState() != AudioTrack.STATE_INITIALIZED) { + track.release(); + track = null; + throw new LineUnavailableException("AudioTrack"); + } + track.setVolume(1f); + int ringBytes = requestedBufferBytes > 0 ? requestedBufferBytes : srcRate * srcFrameSize / 2; + ringBytes = Math.max(ringBytes, srcFrameSize * 2048); + ring = new ByteRing(ringBytes); + running = true; + pump = new Thread(new Runnable() { + public void run() { + pumpLoop(); + } + }, "void-pcm"); + pump.setDaemon(true); + pump.setPriority(Thread.MAX_PRIORITY); + pump.start(); + Log.i(TAG, "audio open src=" + srcRate + " out=" + outRate + " ch=" + channels + + " ring=" + ring.capacity() + " hw=" + hwBytes); + } + + public synchronized void close() { + running = false; + if (ring != null) { + ring.clear(); + } + if (pump != null) { + pump.interrupt(); + pump = null; + } + if (track != null) { + try { + track.pause(); + track.flush(); + track.stop(); + } catch (Exception ignored) { + } + track.release(); + track = null; + } + ring = null; + } + + public synchronized void start() { + if (track != null && track.getPlayState() != AudioTrack.PLAYSTATE_PLAYING) { + track.play(); + } + } + + public synchronized void flush() { + if (ring != null) { + ring.clear(); + } + if (track != null) { + try { + track.pause(); + track.flush(); + track.play(); + } catch (Exception ignored) { + } + } + } + + /** Free ring space (JavaSound {@code available()}). */ + public int available() { + ByteRing r = ring; + return r == null ? 0 : r.free(); + } + + public int write(byte[] b, int off, int len) { + ByteRing r = ring; + if (r == null || b == null || len <= 0) { + return 0; + } + // peak=0 during splash is normal; after title music loads it should rise. + if (!logged) { + logged = true; + Log.i(TAG, "audio first write " + len + " peak=" + peak(b, off, len)); + } + return r.write(b, off, len); + } + + /** Drain ring → AudioTrack; stretch when hw rate is 2× game rate. */ + private void pumpLoop() { + byte[] src = new byte[512 * srcFrameSize]; + byte[] stretched = outRate != srcRate ? new byte[src.length * 4] : src; + while (running) { + ByteRing r = ring; + AudioTrack t = track; + if (r == null || t == null) { + break; + } + int n = r.read(src, 0, src.length); + if (n <= 0) { + try { + Thread.sleep(2L); + } catch (InterruptedException e) { + break; + } + continue; + } + if (t.getPlayState() != AudioTrack.PLAYSTATE_PLAYING) { + try { + t.play(); + } catch (Exception ignored) { + } + } + byte[] out = src; + int outLen = n; + if (outRate == srcRate * 2) { + outLen = stretch2x(src, n, stretched); + out = stretched; + } + int w = 0; + while (w < outLen && running) { + int wrote = t.write(out, w, outLen - w, AudioTrack.WRITE_BLOCKING); + if (wrote <= 0) { + try { + t.play(); + } catch (Exception ignored) { + } + break; + } + w += wrote; + } + } + } + + /** Nearest-neighbour upsample: duplicate each frame (22050 → 44100). */ + private int stretch2x(byte[] src, int len, byte[] dst) { + int frames = len / srcFrameSize; + int o = 0; + for (int f = 0; f < frames; f++) { + int i = f * srcFrameSize; + System.arraycopy(src, i, dst, o, srcFrameSize); + o += srcFrameSize; + System.arraycopy(src, i, dst, o, srcFrameSize); + o += srcFrameSize; + } + return o; + } + + /** Max abs amplitude of LE 16-bit samples — debug for "is the mixer silent?". */ + private static int peak(byte[] b, int off, int len) { + int peak = 0; + int end = Math.min(b.length, off + len) - 1; + for (int i = off; i < end; i += 2) { + int s = (b[i] & 0xff) | (b[i + 1] << 8); + int a = Math.abs((short) s); + if (a > peak) { + peak = a; + } + } + return peak; + } +} diff --git a/android/app/src/main/java/voidsound/sampled/SourceDataLine.java b/android/app/src/main/java/voidsound/sampled/SourceDataLine.java new file mode 100644 index 000000000..d67b797b9 --- /dev/null +++ b/android/app/src/main/java/voidsound/sampled/SourceDataLine.java @@ -0,0 +1,9 @@ +package voidsound.sampled; + +/** + * Marker for an output (playback) line. {@code SourceAudioLine} requests this + * class via {@code DataLine.Info}; {@link AudioSystem#getLine} returns + * {@link PcmSourceDataLine}. + */ +public interface SourceDataLine extends DataLine { +} diff --git a/android/app/src/main/java/voidsun/management/HotSpotDiagnosticMXBean.java b/android/app/src/main/java/voidsun/management/HotSpotDiagnosticMXBean.java new file mode 100644 index 000000000..a7e10c679 --- /dev/null +++ b/android/app/src/main/java/voidsun/management/HotSpotDiagnosticMXBean.java @@ -0,0 +1,5 @@ +package voidsun.management; + +public interface HotSpotDiagnosticMXBean { + void dumpHeap(String outputFile, boolean live) throws java.io.IOException; +} diff --git a/android/app/src/main/java/voidsun/net/www/protocol/http/AuthenticationInfo.java b/android/app/src/main/java/voidsun/net/www/protocol/http/AuthenticationInfo.java new file mode 100644 index 000000000..e2bf0f0b8 --- /dev/null +++ b/android/app/src/main/java/voidsun/net/www/protocol/http/AuthenticationInfo.java @@ -0,0 +1,19 @@ +package voidsun.net.www.protocol.http; + +public class AuthenticationInfo { + public static Object getProxyAuth(String host, int port) { + return null; + } + + public boolean supportsPreemptiveAuthorization() { + return false; + } + + public String getHeaderName() { + return ""; + } + + public String getHeaderValue(java.net.URL url, String method) { + return ""; + } +} diff --git a/android/app/src/main/java/voidswing/ImageIcon.java b/android/app/src/main/java/voidswing/ImageIcon.java new file mode 100644 index 000000000..0cd5f2e31 --- /dev/null +++ b/android/app/src/main/java/voidswing/ImageIcon.java @@ -0,0 +1,36 @@ +package voidswing; + +import voidawt.Image; +import voidawt.Toolkit; + +import java.net.URL; + +public class ImageIcon { + private Image image; + + public ImageIcon(URL url) { + if (url != null) { + try { + java.io.InputStream in = url.openStream(); + byte[] data = readAll(in); + image = Toolkit.getDefaultToolkit().createImage(data); + } catch (Exception ignored) { + } + } + } + + public Image getImage() { + return image; + } + + private static byte[] readAll(java.io.InputStream in) throws java.io.IOException { + java.io.ByteArrayOutputStream out = new java.io.ByteArrayOutputStream(); + byte[] buf = new byte[4096]; + int n; + while ((n = in.read(buf)) >= 0) { + out.write(buf, 0, n); + } + in.close(); + return out.toByteArray(); + } +} diff --git a/android/app/src/main/java/voidswing/JFrame.java b/android/app/src/main/java/voidswing/JFrame.java new file mode 100644 index 000000000..86823318d --- /dev/null +++ b/android/app/src/main/java/voidswing/JFrame.java @@ -0,0 +1,28 @@ +package voidswing; + +import voidawt.BorderLayout; +import voidawt.Container; +import voidawt.Frame; +import voidawt.Image; +import voidawt.Panel; + +public class JFrame extends Frame { + public static final int EXIT_ON_CLOSE = 3; + private final Container contentPane = new Panel(); + + public JFrame() { + contentPane.setLayout(new BorderLayout()); + } + + public JFrame(String title) { + super(title); + contentPane.setLayout(new BorderLayout()); + } + + public Container getContentPane() { + return contentPane; + } + + public void setDefaultCloseOperation(int operation) { + } +} diff --git a/android/app/src/main/java/voidswing/JPanel.java b/android/app/src/main/java/voidswing/JPanel.java new file mode 100644 index 000000000..914d3a5ad --- /dev/null +++ b/android/app/src/main/java/voidswing/JPanel.java @@ -0,0 +1,6 @@ +package voidswing; + +import voidawt.Panel; + +public class JPanel extends Panel { +} diff --git a/android/app/src/main/java/world/gregs/voidosrs/ServerPrefs.java b/android/app/src/main/java/world/gregs/voidosrs/ServerPrefs.java new file mode 100644 index 000000000..c1f7a4f97 --- /dev/null +++ b/android/app/src/main/java/world/gregs/voidosrs/ServerPrefs.java @@ -0,0 +1,208 @@ +package world.gregs.voidosrs; + +import java.io.BufferedReader; +import java.io.File; +import java.io.FileReader; +import java.io.FileWriter; +import java.util.ArrayList; + +/** + * Persisted JS5 / login host list and light game-state helpers for the mobile hosts. + *

+ * File: {@code user.home/void-server.txt} (newest first, max {@link #MAX_HISTORY}). + * Shared Android + iOS — lives under the Android tree and is copied into the iOS + * source set by {@code prepareSharedSources}. + *

+ * Game-state helpers read obfuscated statics via reflection so the picker overlay + * can show on title / connect-fail without pulling 634 types into the host package. + */ +public final class ServerPrefs { + public static final int MAX_HISTORY = 5; + + private ServerPrefs() { + } + + /** {@code user.home/void-server.txt} */ + public static File file() { + String home = System.getProperty("user.home", "."); + return new File(home, "void-server.txt"); + } + + /** Most recently used host, or {@code null} if none saved. */ + public static String load() { + String[] all = loadAll(); + return all.length > 0 ? all[0] : null; + } + + /** History newest-first, already normalized and de-duplicated. */ + public static String[] loadAll() { + File f = file(); + if (!f.isFile()) { + return new String[0]; + } + ArrayList out = new ArrayList(); + BufferedReader in = null; + try { + in = new BufferedReader(new FileReader(f)); + String line; + while ((line = in.readLine()) != null && out.size() < MAX_HISTORY) { + String n = normalize(line); + if (n != null && !out.contains(n)) { + out.add(n); + } + } + } catch (Throwable ignored) { + } finally { + if (in != null) { + try { + in.close(); + } catch (Throwable ignored) { + } + } + } + return out.toArray(new String[out.size()]); + } + + /** Push {@code host} to the front of history (creates the file if needed). */ + public static void save(String host) { + String n = normalize(host); + if (n == null) { + return; + } + ArrayList out = new ArrayList(); + out.add(n); + String[] old = loadAll(); + for (int i = 0; i < old.length && out.size() < MAX_HISTORY; i++) { + if (!n.equals(old[i])) { + out.add(old[i]); + } + } + FileWriter w = null; + try { + File f = file(); + File parent = f.getParentFile(); + if (parent != null) { + parent.mkdirs(); + } + w = new FileWriter(f); + for (int i = 0; i < out.size(); i++) { + w.write(out.get(i)); + w.write('\n'); + } + } catch (Throwable t) { + t.printStackTrace(); + } finally { + if (w != null) { + try { + w.close(); + } catch (Throwable ignored) { + } + } + } + } + + /** + * Strip scheme / path / port / userinfo to a bare host. + * {@code http://192.168.1.10:43594/} → {@code 192.168.1.10} + */ + public static String normalize(String raw) { + if (raw == null) { + return null; + } + String s = raw.trim(); + if (s.length() == 0) { + return null; + } + int scheme = s.indexOf("://"); + if (scheme >= 0) { + s = s.substring(scheme + 3); + } + int slash = s.indexOf('/'); + if (slash >= 0) { + s = s.substring(0, slash); + } + int at = s.indexOf('@'); + if (at >= 0) { + s = s.substring(at + 1); + } + if (s.startsWith("[")) { + int end = s.indexOf(']'); + if (end > 0) { + s = s.substring(1, end); + } + } else { + int colon = s.lastIndexOf(':'); + if (colon > 0) { + boolean digits = true; + for (int i = colon + 1; i < s.length(); i++) { + if (s.charAt(i) < '0' || s.charAt(i) > '9') { + digits = false; + break; + } + } + if (digits) { + s = s.substring(0, colon); + } + } + } + s = s.trim(); + return s.length() == 0 ? null : s; + } + + /** + * {@code Component49.clientState} — client game state. + * Splash ≈ 0–2, title/login/lobby ≈ 3–9 / 12, in-world = 10, fatal connect = 14. + */ + public static int gameState() { + try { + java.lang.reflect.Field f = Class.forName("Component49").getDeclaredField("clientState"); + f.setAccessible(true); + return f.getInt(null); + } catch (Throwable ignored) { + return -1; + } + } + + /** Title / lobby / account screens — not splash and not in-world. */ + public static boolean isLoginScreen() { + int state = gameState(); + return state == 3 || state == 4 || state == 5 || state == 6 + || state == 7 || state == 8 || state == 9 || state == 12; + } + + /** Fatal JS5 / connect error page ({@code error_game_js5connect}). */ + public static boolean isConnectFailScreen() { + return gameState() == 14; + } + + /** JS5 retry counter on the live connection object — increments per Connect fail. */ + public static int js5FailCount() { + try { + java.lang.reflect.Field inst = Class.forName("HardwareProbe").getDeclaredField("aClass248_6601"); + inst.setAccessible(true); + Object js5 = inst.get(null); + if (js5 == null) { + return 0; + } + java.lang.reflect.Field c = js5.getClass().getDeclaredField("errorCount"); + c.setAccessible(true); + return c.getInt(js5); + } catch (Throwable ignored) { + return 0; + } + } + + /** Splash still running and JS5 already failed — show picker before state 14. */ + public static boolean isConnectFailing() { + if (isConnectFailScreen()) { + return true; + } + int state = gameState(); + return state >= 0 && state <= 2 && js5FailCount() >= 1; + } + + /** Whether the host should show Change-server / auto-open the picker. */ + public static boolean showsServerPicker() { + return isLoginScreen() || isConnectFailing(); + } +} diff --git a/android/app/src/main/java/world/gregs/voidosrs/android/MainActivity.java b/android/app/src/main/java/world/gregs/voidosrs/android/MainActivity.java new file mode 100644 index 000000000..e6b667cc0 --- /dev/null +++ b/android/app/src/main/java/world/gregs/voidosrs/android/MainActivity.java @@ -0,0 +1,1844 @@ +package world.gregs.voidosrs.android; + +import android.app.Activity; +import android.app.AlertDialog; +import android.content.Context; +import android.os.Build; +import java.io.PrintStream; +import java.io.OutputStream; +import android.util.Log; +import android.os.Handler; +import android.os.Looper; +import android.graphics.Bitmap; +import android.graphics.BitmapFactory; +import android.graphics.Canvas; +import android.graphics.Color; +import android.graphics.Paint; +import android.graphics.Rect; +import android.graphics.RectF; +import android.graphics.drawable.GradientDrawable; +import android.os.Bundle; +import android.text.InputType; +import android.hardware.input.InputManager; +import android.view.Gravity; +import android.view.InputDevice; +import android.view.KeyEvent; +import android.view.MotionEvent; +import android.view.View; +import android.view.ViewConfiguration; +import android.view.ViewGroup; +import android.view.Window; +import android.view.WindowInsets; +import android.view.WindowInsetsAnimation; +import android.view.WindowInsetsController; +import android.view.WindowManager; +import android.view.inputmethod.EditorInfo; +import android.view.inputmethod.InputMethodManager; +import android.media.AudioAttributes; +import android.media.AudioFocusRequest; +import android.media.AudioManager; +import android.widget.EditText; +import android.widget.FrameLayout; +import android.widget.LinearLayout; +import android.widget.TextView; + +import java.util.List; + +import voidawt.AwtHost; +import voidawt.event.MouseEvent; +import world.gregs.voidosrs.ServerPrefs; + +public class MainActivity extends Activity { + private volatile boolean clientStarted; + private TextView debugHud; + private static volatile MainActivity instance; + private EditText imeInput; + private TextView keyboardBall; + private GameView game; + private FrameLayout rootLayout; + private View serverOverlay; + private EditText serverField; + private TextView changeServerBtn; + private TextView serverTitle; + private TextView serverSubtitle; + private View serverCancel; + private LinearLayout serverHistoryRow; + private int lastServerPollState = Integer.MIN_VALUE; + private boolean connectFailOverlayShown; + private boolean keyboardOpen; + private String typedBuffer = ""; + private boolean syncingText; + /** Largest surface size we have accepted (ignores transient resume/IME shrinks). */ + private int stableSurfaceW; + private int stableSurfaceH; + /** Ignore / don't commit shrinks until this uptime (resume inset flash). */ + private long resumeGraceUntilMs; + private final Handler uiHandler = new Handler(Looper.getMainLooper()); + private final Runnable deferredShrinkApply = new Runnable() { + public void run() { + if (game == null || keyboardOpen) { + return; + } + if (android.os.SystemClock.uptimeMillis() < resumeGraceUntilMs) { + uiHandler.postDelayed(this, 200); + return; + } + int w = game.getWidth(); + int h = game.getHeight(); + if (w > 0 && h > 0) { + applySurfaceSize(w, h, "deferred-shrink", true); + } + } + }; + private final Runnable resumeSizeRestore = new Runnable() { + public void run() { + hideSystemUi(); + if (game == null) { + return; + } + int[] win = windowSizePx(); + int vw = game.getWidth(); + int vh = game.getHeight(); + int w = vw > 0 ? vw : win[0]; + int h = vh > 0 ? vh : win[1]; + // If the view is still transiently shrunk, pin client to the larger of + // last stable size and real window metrics (not the shrunk view). + long viewArea = (long) Math.max(0, vw) * Math.max(0, vh); + long stableArea = (long) stableSurfaceW * stableSurfaceH; + long winArea = (long) win[0] * win[1]; + if (stableArea > 0 && viewArea > 0 && viewArea * 100 < stableArea * 85) { + w = Math.max(stableSurfaceW, win[0]); + h = Math.max(stableSurfaceH, win[1]); + } else if (winArea > viewArea && win[0] > 0 && win[1] > 0) { + w = win[0]; + h = win[1]; + } + // Exclusive FS: pin logical 800x600 (aFrame476 is often null for a beat + // after resume) and only re-stretch the View — do not inflate the AWT + // buffer to the phone size (that letterboxes black bars). + if (AwtHost.isExclusiveFullscreen()) { + if (w > 0 && h > 0 && (stableSurfaceW < w || stableSurfaceH < h + || stableSurfaceW == 0)) { + stableSurfaceW = Math.max(stableSurfaceW, w); + stableSurfaceH = Math.max(stableSurfaceH, h); + } + AwtHost.setDisplaySize(AwtHost.GAME_WIDTH, AwtHost.GAME_HEIGHT, true); + } else if (w > 0 && h > 0) { + applySurfaceSize(w, h, "resume-restore", true); + } + game.requestLayout(); + game.invalidate(); + } + }; + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + System.setProperty("user.home", getFilesDir().getAbsolutePath()); + // adb reverse listens on IPv4 127.0.0.1 only — avoid IPv6 dual-stack ECONNREFUSED. + System.setProperty("java.net.preferIPv4Stack", "true"); + + game = new GameView(this); + imeInput = buildImeField(); + keyboardBall = buildKeyboardBall(); + + FrameLayout root = new FrameLayout(this); + rootLayout = root; + root.setBackgroundColor(Color.BLACK); + root.setClipChildren(true); + root.setClipToPadding(true); + root.addView(game, new FrameLayout.LayoutParams( + ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)); + + FrameLayout.LayoutParams imeLp = new FrameLayout.LayoutParams(1, 1); + imeLp.gravity = Gravity.BOTTOM | Gravity.START; + root.addView(imeInput, imeLp); + + // Keyboard ball hidden — soft keyboard opens on in-game text-field taps. + // Keep instance for emergency toggle via long-press on empty corner if needed. + keyboardBall.setVisibility(View.GONE); + + buildServerOverlay(root); + changeServerBtn = buildChangeServerButton(); + FrameLayout.LayoutParams serverBtnLp = new FrameLayout.LayoutParams( + ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT); + serverBtnLp.gravity = Gravity.TOP | Gravity.START; + serverBtnLp.topMargin = 16; + serverBtnLp.leftMargin = 16; + root.addView(changeServerBtn, serverBtnLp); + + setContentView(root); + installKeyboardPan(root); + hideSystemUi(); + requestAudioFocus(); + instance = this; + installLogBridge(); + // On-screen debug HUD off — still mirrors to logcat via installLogBridge. + // debugHud = buildDebugHud(); + // root.addView(debugHud); + AwtHost.presenter = game; + AwtHost.softKeyboardListener = new AwtHost.SoftKeyboardListener() { + public void showSoftKeyboard(String reason) { + Log.i("void-osrs", "softKeyboard show: " + reason); + runOnUiThread(() -> showKeyboard()); + } + + public void hideSoftKeyboard(String reason) { + Log.i("void-osrs", "softKeyboard hide: " + reason); + runOnUiThread(() -> hideKeyboard()); + } + + public void toggleSoftKeyboard(String reason) { + Log.i("void-osrs", "softKeyboard toggle: " + reason + " open=" + keyboardOpen); + runOnUiThread(() -> { + if (keyboardOpen) { + hideKeyboard(); + } else { + showKeyboard(); + } + }); + } + + public void syncSoftKeyboardToDevConsole() { + // No-op: delayed sync raced the game thread and re-opened the IME on close. + } + }; + game.requestFocus(); + if (resolveBootHost() == null) { + showServerOverlay(false); + } + pollLoginButton(); + } + + @Override + public boolean dispatchKeyEvent(KeyEvent event) { + if (game != null && game.handlePadKey(event)) { + return true; + } + return super.dispatchKeyEvent(event); + } + + @Override + public boolean onGenericMotionEvent(MotionEvent event) { + if (game != null && game.handlePadMotion(event)) { + return true; + } + return super.onGenericMotionEvent(event); + } + + @Override + protected void onPause() { + uiHandler.removeCallbacks(resumeSizeRestore); + uiHandler.removeCallbacks(deferredShrinkApply); + if (game != null) { + game.stopPadTick(); + } + super.onPause(); + } + + @Override + protected void onResume() { + super.onResume(); + requestAudioFocus(); + hideSystemUi(); + resumeGraceUntilMs = android.os.SystemClock.uptimeMillis() + 750; + if (game != null) { + game.requestFocus(); + game.kickPadTick(); + // System bars flash on resume and briefly shrink the SurfaceView; that used + // to stick the client viewport at ~half size. Re-hide + re-apply after settle. + uiHandler.removeCallbacks(resumeSizeRestore); + uiHandler.removeCallbacks(deferredShrinkApply); + uiHandler.post(resumeSizeRestore); + uiHandler.postDelayed(resumeSizeRestore, 120); + uiHandler.postDelayed(resumeSizeRestore, 400); + } + } + + /** Real window pixel size (includes cutout area when immersive). */ + private int[] windowSizePx() { + if (Build.VERSION.SDK_INT >= 30) { + android.graphics.Rect b = getWindowManager().getCurrentWindowMetrics().getBounds(); + return new int[]{Math.max(1, b.width()), Math.max(1, b.height())}; + } + android.util.DisplayMetrics dm = new android.util.DisplayMetrics(); + getWindowManager().getDefaultDisplay().getRealMetrics(dm); + return new int[]{Math.max(1, dm.widthPixels), Math.max(1, dm.heightPixels)}; + } + + /** + * Push surface size into the AWT client. Ignores transient shrinks (keyboard / + * immersive bar flash) so the viewport does not stick at a tiny size. + */ + private void applySurfaceSize(int width, int height, String reason, boolean force) { + if (width <= 0 || height <= 0) { + return; + } + if (keyboardOpen && !force) { + return; + } + long area = (long) width * height; + long stableArea = (long) stableSurfaceW * stableSurfaceH; + boolean significantShrink = stableArea > 0 && area * 100 < stableArea * 85; + boolean inResumeGrace = android.os.SystemClock.uptimeMillis() < resumeGraceUntilMs; + boolean pinExclusive = inResumeGrace || "resume-restore".equals(reason) + || "resume-stable".equals(reason); + // Transient inset flash on resume / IME — do not teach the client a tiny viewport. + if (significantShrink && (inResumeGrace || !force || !"deferred-shrink".equals(reason))) { + Log.w("void-osrs", "ignore shrink " + width + "x" + height + + " vs stable " + stableSurfaceW + "x" + stableSurfaceH + + " (" + reason + (inResumeGrace ? " grace" : "") + ")"); + if (!inResumeGrace && !force) { + uiHandler.removeCallbacks(deferredShrinkApply); + uiHandler.postDelayed(deferredShrinkApply, 400); + } + if (stableSurfaceW > 0 && stableSurfaceH > 0 + && (force || "surfaceChanged".equals(reason) || "layout".equals(reason))) { + // Keep client at last good size while the view catches up. + // pinExclusive: notification/resume often nulls aFrame476 briefly. + AwtHost.setDisplaySize(stableSurfaceW, stableSurfaceH, pinExclusive); + } + return; + } + uiHandler.removeCallbacks(deferredShrinkApply); + if (area >= stableArea || "deferred-shrink".equals(reason)) { + stableSurfaceW = width; + stableSurfaceH = height; + } + Log.i("void-osrs", "surface size " + width + "x" + height + + " stable=" + stableSurfaceW + "x" + stableSurfaceH + + " (" + reason + (force ? " force" : "") + ")"); + AwtHost.setDisplaySize(width, height, pinExclusive); + startClientIfReady(width, height); + } + + private String defaultHostHint() { + return isEmulator() ? "10.0.2.2" : "192.168.18.188"; + } + + private String resolveBootHost() { + String override = readServerOverride(); + if (override != null && !override.isEmpty()) { + String n = ServerPrefs.normalize(override); + if (n != null) { + return n; + } + } + return ServerPrefs.load(); + } + + private static final int GOLD = Color.rgb(212, 168, 71); + private static final int CREAM = Color.rgb(247, 242, 224); + private static final int INK = Color.rgb(26, 20, 10); + + private TextView buildChangeServerButton() { + TextView t = styleButton("Server", false); + t.setTextSize(13); + t.setVisibility(View.GONE); + t.setOnClickListener(v -> showServerOverlay(false)); + return t; + } + + private void buildServerOverlay(FrameLayout root) { + FrameLayout overlay = new FrameLayout(this); + overlay.setBackgroundColor(Color.argb(158, 5, 3, 3)); + overlay.setVisibility(View.GONE); + overlay.setClickable(true); + + LinearLayout card = new LinearLayout(this); + card.setOrientation(LinearLayout.VERTICAL); + card.setPadding(44, 40, 44, 44); + GradientDrawable cardBg = new GradientDrawable(); + cardBg.setColor(Color.argb(247, 18, 15, 13)); + cardBg.setCornerRadius(32); + cardBg.setStroke(2, Color.argb(178, 212, 168, 71)); + card.setBackground(cardBg); + + serverTitle = new TextView(this); + serverTitle.setText("Server"); + serverTitle.setTextColor(CREAM); + serverTitle.setTextSize(22); + serverTitle.setTypeface(android.graphics.Typeface.DEFAULT_BOLD); + serverTitle.setPadding(0, 0, 0, 4); + + serverSubtitle = new TextView(this); + serverSubtitle.setTextColor(Color.rgb(237, 158, 122)); + serverSubtitle.setTextSize(13); + serverSubtitle.setPadding(0, 8, 0, 4); + serverSubtitle.setVisibility(View.GONE); + + serverField = new EditText(this); + serverField.setHint(defaultHostHint()); + serverField.setHintTextColor(Color.argb(140, 180, 170, 150)); + serverField.setTextColor(CREAM); + serverField.setTextSize(16); + serverField.setSingleLine(true); + serverField.setPadding(28, 26, 28, 26); + serverField.setBackground(roundRect(Color.rgb(31, 28, 23), Color.argb(90, 212, 168, 71), 20)); + serverField.setInputType(InputType.TYPE_TEXT_VARIATION_URI); + serverField.setImeOptions(EditorInfo.IME_ACTION_GO | EditorInfo.IME_FLAG_NO_FULLSCREEN); + serverField.setOnEditorActionListener((v, actionId, event) -> { + applyServerFromOverlay(); + return true; + }); + LinearLayout.LayoutParams fieldLp = new LinearLayout.LayoutParams( + ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT); + fieldLp.topMargin = 20; + + serverHistoryRow = new LinearLayout(this); + serverHistoryRow.setOrientation(LinearLayout.VERTICAL); + serverHistoryRow.setPadding(0, 8, 0, 0); + + LinearLayout buttons = new LinearLayout(this); + buttons.setOrientation(LinearLayout.HORIZONTAL); + buttons.setPadding(0, 20, 0, 0); + + TextView cancel = styleButton("Cancel", false); + serverCancel = cancel; + cancel.setOnClickListener(v -> hideServerOverlay()); + TextView connect = styleButton("Connect", true); + connect.setOnClickListener(v -> applyServerFromOverlay()); + + LinearLayout.LayoutParams half = new LinearLayout.LayoutParams(0, ViewGroup.LayoutParams.WRAP_CONTENT, 1); + half.rightMargin = 16; + buttons.addView(cancel, half); + buttons.addView(connect, new LinearLayout.LayoutParams(0, ViewGroup.LayoutParams.WRAP_CONTENT, 1)); + + card.addView(serverTitle); + card.addView(serverSubtitle); + card.addView(serverField, fieldLp); + card.addView(serverHistoryRow, new LinearLayout.LayoutParams( + ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT)); + card.addView(buttons); + + FrameLayout.LayoutParams cardLp = new FrameLayout.LayoutParams( + ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT); + cardLp.gravity = Gravity.CENTER; + cardLp.leftMargin = 56; + cardLp.rightMargin = 56; + overlay.addView(card, cardLp); + root.addView(overlay, new FrameLayout.LayoutParams( + ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)); + serverOverlay = overlay; + } + + private GradientDrawable roundRect(int fill, int stroke, int radiusDp) { + GradientDrawable bg = new GradientDrawable(); + bg.setColor(fill); + bg.setCornerRadius(radiusDp); + if (stroke != 0) { + bg.setStroke(2, stroke); + } + return bg; + } + + private TextView styleButton(String label, boolean primary) { + TextView t = new TextView(this); + t.setText(label); + t.setTextSize(15); + t.setTypeface(android.graphics.Typeface.DEFAULT_BOLD); + t.setGravity(Gravity.CENTER); + t.setPadding(20, 26, 20, 26); + if (primary) { + t.setTextColor(INK); + t.setBackground(roundRect(GOLD, 0, 20)); + } else { + t.setTextColor(CREAM); + t.setBackground(roundRect(Color.rgb(36, 33, 28), Color.argb(115, 212, 168, 71), 20)); + } + return t; + } + + private TextView historyRow(String host, boolean selected) { + TextView t = new TextView(this); + t.setText(host); + t.setTextSize(14); + t.setGravity(Gravity.CENTER_VERTICAL | Gravity.START); + t.setPadding(28, 22, 28, 22); + if (selected) { + t.setTextColor(GOLD); + t.setBackground(roundRect(Color.argb(36, 212, 168, 71), GOLD, 20)); + } else { + t.setTextColor(Color.rgb(219, 214, 199)); + t.setBackground(roundRect(Color.rgb(33, 31, 26), Color.argb(16, 255, 255, 255), 20)); + } + return t; + } + + private void showServerOverlay(boolean connectionFailed) { + String current = resolveBootHost(); + if (current == null) { + current = defaultHostHint(); + } + serverField.setText(current); + if (serverTitle != null) { + if (connectionFailed) { + serverTitle.setText("Can't reach server"); + serverSubtitle.setText(current + " isn't working. Try another server, then reopen the app."); + serverSubtitle.setVisibility(View.VISIBLE); + } else { + serverTitle.setText("Server"); + serverSubtitle.setVisibility(View.GONE); + } + } + if (serverCancel != null) { + serverCancel.setVisibility(clientStarted ? View.VISIBLE : View.GONE); + } + serverOverlay.setVisibility(View.VISIBLE); + if (changeServerBtn != null) { + changeServerBtn.setVisibility(View.GONE); + } + refreshServerHistory(); + hideKeyboard(); + serverField.requestFocus(); + InputMethodManager imm = (InputMethodManager) getSystemService(INPUT_METHOD_SERVICE); + if (imm != null) { + imm.showSoftInput(serverField, InputMethodManager.SHOW_IMPLICIT); + } + } + + private void hideServerOverlay() { + InputMethodManager imm = (InputMethodManager) getSystemService(INPUT_METHOD_SERVICE); + if (imm != null) { + imm.hideSoftInputFromWindow(serverField.getWindowToken(), 0); + } + serverOverlay.setVisibility(View.GONE); + } + + private void refreshServerHistory() { + if (serverHistoryRow == null) { + return; + } + serverHistoryRow.removeAllViews(); + String[] history = ServerPrefs.loadAll(); + serverHistoryRow.setVisibility(history.length == 0 ? View.GONE : View.VISIBLE); + if (history.length > 0) { + TextView recent = new TextView(this); + recent.setText("RECENT"); + recent.setTextColor(Color.argb(191, 212, 168, 71)); + recent.setTextSize(11); + recent.setTypeface(android.graphics.Typeface.DEFAULT_BOLD); + recent.setPadding(4, 20, 0, 10); + serverHistoryRow.addView(recent); + } + String selected = ServerPrefs.normalize(serverField.getText().toString()); + for (int i = 0; i < history.length; i++) { + final String host = history[i]; + TextView chip = historyRow(host, host.equals(selected)); + chip.setOnClickListener(v -> { + serverField.setText(host); + refreshServerHistory(); + }); + LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams( + ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT); + if (i > 0) { + lp.topMargin = 10; + } + serverHistoryRow.addView(chip, lp); + } + } + + private void applyServerFromOverlay() { + String host = ServerPrefs.normalize(serverField.getText().toString()); + if (host == null) { + host = ServerPrefs.normalize(defaultHostHint()); + } + if (host == null) { + return; + } + if (!clientStarted) { + ServerPrefs.save(host); + hideServerOverlay(); + int w = game != null ? game.getWidth() : 0; + int h = game != null ? game.getHeight() : 0; + if (w <= 0 || h <= 0) { + int[] win = windowSizePx(); + w = win[0]; + h = win[1]; + } + startClientIfReady(w, h); + return; + } + String previous = ServerPrefs.load(); + if (host.equals(previous)) { + hideServerOverlay(); + return; + } + final String target = host; + new AlertDialog.Builder(this) + .setTitle("Switch server?") + .setMessage("The app will close. Open it again to connect to the new server.") + .setNegativeButton("Cancel", null) + .setPositiveButton("OK", (d, w) -> { + ServerPrefs.save(target); + hideServerOverlay(); + finishAffinity(); + Runtime.getRuntime().exit(0); + }) + .show(); + } + + private void pollLoginButton() { + uiHandler.postDelayed(() -> { + boolean overlayUp = serverOverlay != null && serverOverlay.getVisibility() == View.VISIBLE; + int state = ServerPrefs.gameState(); + boolean failing = ServerPrefs.isConnectFailing(); + boolean show = clientStarted && !overlayUp && ServerPrefs.showsServerPicker(); + if (ServerPrefs.isLoginScreen()) { + connectFailOverlayShown = false; + } + if (state != lastServerPollState) { + lastServerPollState = state; + } + if (clientStarted && !overlayUp && failing && !connectFailOverlayShown) { + connectFailOverlayShown = true; + showServerOverlay(true); + } + if (changeServerBtn != null) { + changeServerBtn.setVisibility(show ? View.VISIBLE : View.GONE); + } + pollLoginButton(); + }, 200); + } + + private void requestAudioFocus() { + AudioManager am = (AudioManager) getSystemService(AUDIO_SERVICE); + if (am == null) { + return; + } + try { + AudioAttributes attrs = new AudioAttributes.Builder() + .setUsage(AudioAttributes.USAGE_MEDIA) + .setContentType(AudioAttributes.CONTENT_TYPE_MUSIC) + .build(); + AudioFocusRequest req = new AudioFocusRequest.Builder(AudioManager.AUDIOFOCUS_GAIN) + .setAudioAttributes(attrs) + .setOnAudioFocusChangeListener(new AudioManager.OnAudioFocusChangeListener() { + public void onAudioFocusChange(int focusChange) { + } + }) + .build(); + am.requestAudioFocus(req); + } catch (Throwable t) { + Log.w("void-osrs", "audio focus", t); + } + } + + @Override + public void onWindowFocusChanged(boolean hasFocus) { + super.onWindowFocusChanged(hasFocus); + if (hasFocus) { + hideSystemUi(); + resumeGraceUntilMs = Math.max(resumeGraceUntilMs, + android.os.SystemClock.uptimeMillis() + 400); + uiHandler.removeCallbacks(resumeSizeRestore); + uiHandler.post(resumeSizeRestore); + uiHandler.postDelayed(resumeSizeRestore, 200); + } + } + + /** Sticky immersive: hide status (clock) + nav (back/home). */ + private void hideSystemUi() { + Window window = getWindow(); + if (window == null) { + return; + } + window.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); + if (Build.VERSION.SDK_INT >= 28) { + WindowManager.LayoutParams lp = window.getAttributes(); + lp.layoutInDisplayCutoutMode = + WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES; + window.setAttributes(lp); + } + View decor = window.getDecorView(); + // Must run after setContentView — DecorView is null before that on some OEMs. + if (decor == null) { + return; + } + if (Build.VERSION.SDK_INT >= 30) { + window.setDecorFitsSystemWindows(false); + WindowInsetsController c = decor.getWindowInsetsController(); + if (c != null) { + c.hide(WindowInsets.Type.statusBars() | WindowInsets.Type.navigationBars()); + c.setSystemBarsBehavior(WindowInsetsController.BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE); + } + } else { + decor.setSystemUiVisibility( + View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY + | View.SYSTEM_UI_FLAG_LAYOUT_STABLE + | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION + | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN + | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION + | View.SYSTEM_UI_FLAG_FULLSCREEN); + } + } + + private EditText buildImeField() { + EditText input = new EditText(this); + input.setBackgroundColor(Color.TRANSPARENT); + input.setTextColor(Color.TRANSPARENT); + input.setHintTextColor(Color.TRANSPARENT); + input.setCursorVisible(false); + input.setSingleLine(true); + input.setImeOptions(EditorInfo.IME_ACTION_DONE | EditorInfo.IME_FLAG_NO_FULLSCREEN); + input.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS); + input.setImportantForAutofill(View.IMPORTANT_FOR_AUTOFILL_NO); + input.setOnEditorActionListener((v, actionId, event) -> { + if (actionId == EditorInfo.IME_ACTION_DONE + || actionId == EditorInfo.IME_ACTION_GO + || actionId == EditorInfo.IME_ACTION_SEND + || (event != null && event.getKeyCode() == android.view.KeyEvent.KEYCODE_ENTER)) { + injectEnter(); + hideKeyboard(); + return true; + } + return false; + }); + input.addTextChangedListener(new android.text.TextWatcher() { + private String last = ""; + + public void beforeTextChanged(CharSequence s, int start, int count, int after) { + } + + public void onTextChanged(CharSequence s, int start, int before, int count) { + if (syncingText) { + last = s == null ? "" : s.toString(); + return; + } + String now = s == null ? "" : s.toString(); + if (now.length() > last.length()) { + for (int i = last.length(); i < now.length(); i++) { + injectChar(now.charAt(i)); + } + } else if (now.length() < last.length()) { + int removed = last.length() - now.length(); + for (int i = 0; i < removed; i++) { + injectBackspace(); + } + } + last = now; + typedBuffer = now; + } + + public void afterTextChanged(android.text.Editable s) { + } + }); + input.setOnFocusChangeListener((v, hasFocus) -> { + if (!hasFocus && keyboardOpen) { + hideKeyboard(); + } + }); + return input; + } + + private TextView buildKeyboardBall() { + TextView ball = new TextView(this); + ball.setText("⌨"); + ball.setTextSize(16f); + ball.setGravity(Gravity.CENTER); + ball.setTextColor(Color.WHITE); + ball.setContentDescription("Open keyboard"); + GradientDrawable bg = new GradientDrawable(); + bg.setShape(GradientDrawable.OVAL); + bg.setColor(0xF2222222); + bg.setStroke(dp(1), 0xFFE0B040); + ball.setBackground(bg); + ball.setElevation(dp(4)); + ball.setOnClickListener(v -> { + if (keyboardOpen) { + hideKeyboard(); + } else { + showKeyboard(); + } + }); + return ball; + } + + /** Slide the game canvas up so chat sits above the IME; size stays full-screen. */ + private void installKeyboardPan(View root) { + if (Build.VERSION.SDK_INT >= 30) { + ImePan30.install(root, this); + return; + } + root.getViewTreeObserver().addOnGlobalLayoutListener(() -> applyImePan(visibleImeCoverPx(root))); + } + + private int visibleImeCoverPx(View root) { + Rect r = new Rect(); + root.getWindowVisibleDisplayFrame(r); + int covered = Math.max(0, root.getHeight() - r.bottom); + int minIme = (int) (80f * getResources().getDisplayMetrics().density); + return covered < minIme ? 0 : covered; + } + + void applyImePan(int imeBottom) { + if (game != null && game.getTranslationY() != 0f) { + game.setTranslationY(0f); + } + boolean overlay = serverOverlay != null && serverOverlay.getVisibility() == View.VISIBLE; + int vh = game != null ? Math.max(1, game.getHeight()) : 1; + int inset = (!overlay && imeBottom > 0) ? imeBottom : 0; + AwtHost.setKeyboardInset(inset, vh); + } + + @android.annotation.TargetApi(30) + private static final class ImePan30 { + static void install(View root, MainActivity host) { + root.setOnApplyWindowInsetsListener((v, insets) -> { + host.applyImePan(insets.getInsets(WindowInsets.Type.ime()).bottom); + return v.onApplyWindowInsets(insets); + }); + root.setWindowInsetsAnimationCallback(new WindowInsetsAnimation.Callback( + WindowInsetsAnimation.Callback.DISPATCH_MODE_CONTINUE_ON_SUBTREE) { + @Override + public WindowInsets onProgress(WindowInsets insets, + List runningAnimations) { + host.applyImePan(insets.getInsets(WindowInsets.Type.ime()).bottom); + return insets; + } + }); + } + } + + private void showKeyboard() { + if (serverOverlay != null && serverOverlay.getVisibility() == View.VISIBLE) { + return; + } + Log.i("void-osrs", "showKeyboard"); + keyboardOpen = true; + uiHandler.removeCallbacks(forceHideImeRunnable); + if (keyboardBall != null) { + keyboardBall.setAlpha(0.35f); + } + if (imeInput == null) { + return; + } + syncingText = true; + imeInput.setText(typedBuffer); + imeInput.setSelection(typedBuffer.length()); + syncingText = false; + imeInput.setFocusable(true); + imeInput.setFocusableInTouchMode(true); + imeInput.requestFocus(); + InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); + if (imm != null) { + imm.restartInput(imeInput); + imm.showSoftInput(imeInput, InputMethodManager.SHOW_FORCED); + } + if (Build.VERSION.SDK_INT >= 30) { + View decor = getWindow().getDecorView(); + WindowInsetsController c = decor.getWindowInsetsController(); + if (c != null) { + c.show(WindowInsets.Type.ime()); + } + } + } + + private final Runnable forceHideImeRunnable = new Runnable() { + public void run() { + if (keyboardOpen) { + return; + } + forceHideIme(); + } + }; + + private void forceHideIme() { + View decor = getWindow() != null ? getWindow().getDecorView() : null; + if (Build.VERSION.SDK_INT >= 30 && decor != null) { + WindowInsetsController c = decor.getWindowInsetsController(); + if (c != null) { + c.hide(WindowInsets.Type.ime()); + } + } + InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); + if (imm != null) { + if (imeInput != null && imeInput.getWindowToken() != null) { + imm.hideSoftInputFromWindow(imeInput.getWindowToken(), 0); + } + if (game != null && game.getWindowToken() != null) { + imm.hideSoftInputFromWindow(game.getWindowToken(), 0); + } + if (decor != null && decor.getWindowToken() != null) { + imm.hideSoftInputFromWindow(decor.getWindowToken(), 0); + } + } + } + + private void hideKeyboard() { + Log.i("void-osrs", "hideKeyboard"); + keyboardOpen = false; + applyImePan(0); + if (keyboardBall != null) { + keyboardBall.setAlpha(1f); + } + if (imeInput != null) { + imeInput.clearFocus(); + // Drop focusability so the IME cannot linger on this field. + imeInput.setFocusable(false); + imeInput.setFocusableInTouchMode(false); + } + if (game != null) { + game.requestFocus(); + game.requestFocusFromTouch(); + } + forceHideIme(); + // IME often ignores the first hide while still animating in. + uiHandler.removeCallbacks(forceHideImeRunnable); + uiHandler.postDelayed(forceHideImeRunnable, 50); + uiHandler.postDelayed(forceHideImeRunnable, 200); + uiHandler.postDelayed(forceHideImeRunnable, 450); + } + + private boolean isImeVisible() { + if (Build.VERSION.SDK_INT >= 30) { + View decor = getWindow() != null ? getWindow().getDecorView() : null; + if (decor != null) { + android.view.WindowInsets insets = decor.getRootWindowInsets(); + if (insets != null) { + return insets.isVisible(WindowInsets.Type.ime()); + } + } + } + return keyboardOpen; + } + + private void injectChar(char c) { + int code = Character.toUpperCase(c); + AwtHost.injectKey(voidawt.event.KeyEvent.KEY_PRESSED, code, c); + AwtHost.injectKey(voidawt.event.KeyEvent.KEY_TYPED, 0, c); + AwtHost.injectKey(voidawt.event.KeyEvent.KEY_RELEASED, code, c); + } + + private void injectBackspace() { + AwtHost.injectKey(voidawt.event.KeyEvent.KEY_PRESSED, voidawt.event.KeyEvent.VK_BACK_SPACE, '\b'); + AwtHost.injectKey(voidawt.event.KeyEvent.KEY_TYPED, 0, '\b'); + AwtHost.injectKey(voidawt.event.KeyEvent.KEY_RELEASED, voidawt.event.KeyEvent.VK_BACK_SPACE, '\b'); + } + + private void injectEnter() { + AwtHost.injectKey(voidawt.event.KeyEvent.KEY_PRESSED, voidawt.event.KeyEvent.VK_ENTER, '\n'); + AwtHost.injectKey(voidawt.event.KeyEvent.KEY_TYPED, 0, '\n'); + AwtHost.injectKey(voidawt.event.KeyEvent.KEY_RELEASED, voidawt.event.KeyEvent.VK_ENTER, '\n'); + typedBuffer = ""; + syncingText = true; + imeInput.setText(""); + syncingText = false; + } + + private int dp(int value) { + return Math.round(value * getResources().getDisplayMetrics().density); + } + + private TextView buildDebugHud() { + TextView tv = new TextView(this); + tv.setTextSize(11f); + tv.setTextColor(0xFFE8E8E8); + tv.setBackgroundColor(0x99000000); + tv.setPadding(dp(8), dp(4), dp(8), dp(4)); + tv.setText("void debug…"); + FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams( + FrameLayout.LayoutParams.MATCH_PARENT, + FrameLayout.LayoutParams.WRAP_CONTENT); + lp.gravity = Gravity.BOTTOM; + tv.setLayoutParams(lp); + return tv; + } + + static void hud(final String msg) { + Log.i("void-osrs", msg); + final MainActivity a = instance; + if (a == null || a.debugHud == null) return; + a.runOnUiThread(() -> a.debugHud.setText(msg)); + } + + private static void installLogBridge() { + PrintStream ps = new PrintStream(new OutputStream() { + private final StringBuilder buf = new StringBuilder(); + + @Override + public synchronized void write(int b) { + if (b == '\n') flushLine(); + else buf.append((char) b); + } + + @Override + public synchronized void write(byte[] b, int off, int len) { + for (int i = 0; i < len; i++) write(b[off + i] & 0xff); + } + + private void flushLine() { + String line = buf.toString(); + buf.setLength(0); + if (line.isEmpty()) return; + Log.i("void-osrs", line); + if (line.startsWith("Connect:") + || line.startsWith("Connect ") + || line.startsWith("js5") + || line.startsWith("load ") + || line.startsWith("error_game_") + || line.startsWith("boot ")) { + hud(line); + } + } + }, true); + System.setOut(ps); + System.setErr(ps); + } + + /** First host that accepts a TCP connect within a short timeout. */ + private static String pickReachableServer(int port, String... hosts) { + for (String host : hosts) { + long t0 = System.currentTimeMillis(); + try { + java.net.Socket s = new java.net.Socket(); + s.connect(new java.net.InetSocketAddress(host, port), 800); + s.close(); + Log.i("void-osrs", "probe OK " + host + ":" + port + + " in " + (System.currentTimeMillis() - t0) + "ms"); + return host; + } catch (Throwable e) { + Log.w("void-osrs", "probe FAIL " + host + ":" + port + + " (" + e.getClass().getSimpleName() + ": " + e.getMessage() + ")" + + " in " + (System.currentTimeMillis() - t0) + "ms"); + } + } + String fallback = hosts.length > 0 ? hosts[0] : "127.0.0.1"; + Log.e("void-osrs", "no reachable JS5 host — falling back to " + fallback + + " (run: adb reverse tcp:" + port + " tcp:" + port + ")"); + return fallback; + } + + /** Reads debug.void.server (setprop) or -Dvoid.server. */ + private static String readServerOverride() { + String fromProp = System.getProperty("void.server"); + if (fromProp != null && !fromProp.isEmpty()) { + return fromProp.trim(); + } + try { + Class sp = Class.forName("android.os.SystemProperties"); + String v = (String) sp.getMethod("get", String.class, String.class) + .invoke(null, "debug.void.server", ""); + if (v != null && !v.isEmpty()) { + return v.trim(); + } + } catch (Throwable ignored) { + } + return null; + } + + private static boolean isEmulator() { + String fingerprint = Build.FINGERPRINT; + String model = Build.MODEL; + String product = Build.PRODUCT; + return fingerprint.startsWith("generic") + || fingerprint.contains("emulator") + || model.contains("Emulator") + || model.contains("sdk_gphone") + || product.contains("sdk") + || product.contains("emulator"); + } + + private void startClientIfReady(int width, int height) { + if (clientStarted || width <= 0 || height <= 0) { + return; + } + final String server = resolveBootHost(); + if (server == null) { + return; + } + clientStarted = true; + AwtHost.setDisplaySize(width, height); + new Thread(() -> { + try { + Class loaderCl = Class.forName("Loader"); + Log.i("void-osrs", "boot server=" + server + ":43594" + + " emu=" + isEmulator() + + " override=" + readServerOverride()); + hud("boot " + server + ":43594"); + loaderCl.getField("address").set(null, server); + loaderCl.getField("port").setInt(null, 43594); + loaderCl.getField("debug").set(null, true); + loaderCl.getField("trace").set(null, true); + Object loader = loaderCl.getDeclaredConstructor().newInstance(); + loaderCl.getMethod("setSize", int.class, int.class).invoke(loader, AwtHost.GAME_WIDTH, AwtHost.GAME_HEIGHT); + AwtHost.setRoot((voidawt.Component) loader); + loaderCl.getMethod("init").invoke(loader); + } catch (Throwable t) { + Log.e("void-osrs", "client boot failed", t); + hud("boot FAIL: " + t.getMessage()); + } + }, "void-client").start(); + } + + final class GameView extends View implements AwtHost.Presenter { + private Bitmap frame; + private final Paint paint = new Paint(Paint.FILTER_BITMAP_FLAG); + private final Paint cursorPaint = new Paint(Paint.FILTER_BITMAP_FLAG | Paint.ANTI_ALIAS_FLAG); + private final Rect src = new Rect(); + private final Rect dst = new Rect(); + private final RectF cursorDst = new RectF(); + private Bitmap cursorBmp; + private float cursorHotX; + private float cursorHotY; + private float cursorDrawW; + private float cursorDrawH; + private boolean down; + private boolean multiTouch; + private boolean dragging; + private boolean longPressFired; + /** Fired once while 4+ fingers are down; reset when all fingers lift. */ + private boolean fourFingerConsoleFired; + private int multiTouchMaxCount; + /** After a 2-finger gesture, ignore leftover single-finger UP/MOVE until a fresh DOWN. */ + private boolean ignoreSingleFinger; + private float downVx; + private float downVy; + private int downX; + private int downY; + private float lastPinchDist = -1f; + private float pinchAccum; + /** Midpoint of the last two-finger sample (camera pan). */ + private float lastPanX; + private float lastPanY; + private boolean panTracked; + private int frameW = AwtHost.GAME_WIDTH; + private int frameH = AwtHost.GAME_HEIGHT; + private static final float PINCH_PX_PER_NOTCH = 28f; + /** + * Hold still within this → long-press right-click. + * Move past this before timeout → left-button mouse drag (map, items, …). + * Two-finger pan → camera orbit; pinch → zoom; pad right stick also orbits. + */ + private static final float LONG_PRESS_CANCEL_SLOP = 28f; + private final Handler touchHandler = new Handler(Looper.getMainLooper()); + // DualShock / gamepad → virtual mouse + private static final float PAD_DEADZONE = 0.15f; + private static final float PAD_CURSOR_SPEED = 14f; + private static final float PAD_ORBIT_SCALE = 10f; + private static final long PAD_ZOOM_INTERVAL_MS = 90L; + private static final float PAD_TRIGGER_THRESHOLD = 0.35f; + private float cursorVx = -1f; + private float cursorVy = -1f; + private boolean padActive; + private int padDeviceId = -1; + private float stickLX; + private float stickLY; + private float stickRX; + private float stickRY; + private float triggerL2; + private boolean l1Held; + private boolean l2DigitalHeld; + private boolean padLeftDown; + private boolean padRightDown; + private boolean padTickRunning; + private long lastPadZoomAt; + private InputManager inputManager; + private final InputManager.InputDeviceListener padDeviceListener = + new InputManager.InputDeviceListener() { + public void onInputDeviceAdded(int deviceId) { + } + + public void onInputDeviceRemoved(int deviceId) { + onPadDeviceGone(deviceId); + } + + public void onInputDeviceChanged(int deviceId) { + if (InputDevice.getDevice(deviceId) == null) { + onPadDeviceGone(deviceId); + } + } + }; + private final Runnable padTick = new Runnable() { + public void run() { + padTickRunning = false; + if (!padActive) { + return; + } + boolean keep = tickPad(); + if (keep) { + padTickRunning = true; + touchHandler.postDelayed(this, 16); + } + } + }; + private final Runnable longPressRunnable = new Runnable() { + public void run() { + if (!down || multiTouch || dragging || longPressFired || ignoreSingleFinger) { + Log.i("void-osrs", "longPress SKIP down=" + down + " drag=" + dragging + + " multi=" + multiTouch + " fired=" + longPressFired); + return; + } + longPressFired = true; + Log.i("void-osrs", "longPress right-click @ " + downX + "," + downY); + AwtHost.injectRightClick(downX, downY); + } + }; + + GameView(MainActivity activity) { + super(activity); + setWillNotDraw(false); + setFocusable(true); + setFocusableInTouchMode(true); + cursorBmp = BitmapFactory.decodeResource(getResources(), R.drawable.cursor_normal_select); + float density = getResources().getDisplayMetrics().density; + cursorDrawW = 32f * density; + cursorDrawH = 32f * density; + cursorHotX = 6f / 32f * cursorDrawW; + cursorHotY = 6f / 32f * cursorDrawH; + addOnLayoutChangeListener((v, left, top, right, bottom, oldLeft, oldTop, oldRight, oldBottom) -> { + if (keyboardOpen) { + return; + } + int w = Math.max(0, right - left); + int h = Math.max(0, bottom - top); + if (w > 0 && h > 0) { + applySurfaceSize(w, h, "layout", false); + if (cursorVx < 0f) { + cursorVx = w * 0.5f; + cursorVy = h * 0.5f; + } else { + cursorVx = Math.min(cursorVx, w - 1); + cursorVy = Math.min(cursorVy, h - 1); + } + } + }); + } + + @Override + protected void onAttachedToWindow() { + super.onAttachedToWindow(); + inputManager = (InputManager) getContext().getSystemService(Context.INPUT_SERVICE); + if (inputManager != null) { + inputManager.registerInputDeviceListener(padDeviceListener, touchHandler); + } + } + + @Override + protected void onDetachedFromWindow() { + if (inputManager != null) { + inputManager.unregisterInputDeviceListener(padDeviceListener); + inputManager = null; + } + super.onDetachedFromWindow(); + } + + void stopPadTick() { + touchHandler.removeCallbacks(padTick); + padTickRunning = false; + } + + void kickPadTick() { + if (padActive && !anyPadConnected()) { + deactivatePad(); + return; + } + if (padActive && needsPadTick()) { + startPadTick(); + } + } + + private void activatePad(int deviceId) { + padActive = true; + if (deviceId >= 0) { + padDeviceId = deviceId; + } + ensureCursor(); + startPadTick(); + redraw(); + } + + private void deactivatePad() { + if (!padActive) { + return; + } + if (padLeftDown || padRightDown) { + int[] xy = map(cursorVx, cursorVy); + if (padLeftDown) { + AwtHost.injectMouse(MouseEvent.MOUSE_RELEASED, xy[0], xy[1], MouseEvent.BUTTON1, 1); + } + if (padRightDown) { + AwtHost.injectMouse(MouseEvent.MOUSE_RELEASED, xy[0], xy[1], MouseEvent.BUTTON3, 1); + } + } + padActive = false; + padDeviceId = -1; + stickLX = 0f; + stickLY = 0f; + stickRX = 0f; + stickRY = 0f; + triggerL2 = 0f; + l1Held = false; + l2DigitalHeld = false; + padLeftDown = false; + padRightDown = false; + stopPadTick(); + redraw(); + } + + private void onPadDeviceGone(int deviceId) { + if (!padActive) { + return; + } + if (padDeviceId >= 0 && deviceId != padDeviceId && anyPadConnected()) { + return; + } + deactivatePad(); + } + + private boolean isPadDevice(InputDevice device) { + if (device == null || device.isVirtual()) { + return false; + } + int src = device.getSources(); + return (src & InputDevice.SOURCE_GAMEPAD) == InputDevice.SOURCE_GAMEPAD + || (src & InputDevice.SOURCE_JOYSTICK) == InputDevice.SOURCE_JOYSTICK; + } + + private boolean anyPadConnected() { + for (int id : InputDevice.getDeviceIds()) { + if (isPadDevice(InputDevice.getDevice(id))) { + return true; + } + } + return false; + } + + private void ensureCursor() { + int w = Math.max(1, getWidth()); + int h = Math.max(1, getHeight()); + if (cursorVx < 0f || cursorVy < 0f) { + cursorVx = w * 0.5f; + cursorVy = h * 0.5f; + } + } + + private void startPadTick() { + if (padTickRunning) { + return; + } + padTickRunning = true; + touchHandler.post(padTick); + } + + private boolean needsPadTick() { + return Math.abs(stickLX) > PAD_DEADZONE + || Math.abs(stickLY) > PAD_DEADZONE + || Math.abs(stickRX) > PAD_DEADZONE + || Math.abs(stickRY) > PAD_DEADZONE + || triggerL2 > PAD_TRIGGER_THRESHOLD + || l2DigitalHeld + || l1Held; + } + + private float dead(float v) { + return Math.abs(v) < PAD_DEADZONE ? 0f : v; + } + + private boolean tickPad() { + ensureCursor(); + float lx = dead(stickLX); + float ly = dead(stickLY); + float rx = dead(stickRX); + float ry = dead(stickRY); + boolean moved = false; + + if (lx != 0f || ly != 0f) { + float w = Math.max(1, getWidth()); + float h = Math.max(1, getHeight()); + cursorVx = Math.max(0f, Math.min(w - 1f, cursorVx + lx * PAD_CURSOR_SPEED)); + cursorVy = Math.max(0f, Math.min(h - 1f, cursorVy + ly * PAD_CURSOR_SPEED)); + int[] xy = map(cursorVx, cursorVy); + if (padLeftDown) { + AwtHost.injectMouse(MouseEvent.MOUSE_DRAGGED, xy[0], xy[1], MouseEvent.BUTTON1, 0); + } else if (padRightDown) { + AwtHost.injectMouse(MouseEvent.MOUSE_DRAGGED, xy[0], xy[1], MouseEvent.BUTTON3, 0); + } else { + AwtHost.injectMouse(MouseEvent.MOUSE_MOVED, xy[0], xy[1], 0, 0); + } + moved = true; + } + + if (rx != 0f || ry != 0f) { + AwtHost.injectCameraOrbit(rx * PAD_ORBIT_SCALE, ry * PAD_ORBIT_SCALE); + moved = true; + } + + boolean zoomIn = triggerL2 > PAD_TRIGGER_THRESHOLD || l2DigitalHeld; + boolean zoomOut = l1Held; + long now = System.currentTimeMillis(); + if ((zoomIn || zoomOut) && now - lastPadZoomAt >= PAD_ZOOM_INTERVAL_MS) { + int[] xy = map(cursorVx, cursorVy); + if (zoomIn) { + AwtHost.injectWheel(xy[0], xy[1], -1); + } + if (zoomOut) { + AwtHost.injectWheel(xy[0], xy[1], 1); + } + lastPadZoomAt = now; + moved = true; + } + + if (moved) { + redraw(); + } + return needsPadTick(); + } + + private boolean isGamepad(KeyEvent event) { + int src = event.getSource(); + if ((src & InputDevice.SOURCE_GAMEPAD) == InputDevice.SOURCE_GAMEPAD + || (src & InputDevice.SOURCE_JOYSTICK) == InputDevice.SOURCE_JOYSTICK) { + return true; + } + int code = event.getKeyCode(); + return code >= KeyEvent.KEYCODE_BUTTON_A && code <= KeyEvent.KEYCODE_BUTTON_MODE; + } + + boolean handlePadKey(KeyEvent event) { + if (!isGamepad(event) && event.getKeyCode() < KeyEvent.KEYCODE_BUTTON_A) { + return false; + } + int code = event.getKeyCode(); + // Ignore repeats for clicks; L1 held is tracked via down/up. + if (event.getAction() == KeyEvent.ACTION_DOWN && event.getRepeatCount() > 0) { + if (code == KeyEvent.KEYCODE_BUTTON_L1) { + return true; + } + if (code == KeyEvent.KEYCODE_BUTTON_L2) { + return true; + } + return code >= KeyEvent.KEYCODE_BUTTON_A && code <= KeyEvent.KEYCODE_BUTTON_MODE; + } + if (code < KeyEvent.KEYCODE_BUTTON_A || code > KeyEvent.KEYCODE_BUTTON_MODE) { + // Still accept if source is gamepad for unknown codes + if (!isGamepad(event)) { + return false; + } + } + + activatePad(event.getDeviceId()); + int[] xy = map(cursorVx, cursorVy); + boolean down = event.getAction() == KeyEvent.ACTION_DOWN; + + switch (code) { + case KeyEvent.KEYCODE_BUTTON_A: // ✕ Cross → left click + if (down) { + padLeftDown = true; + AwtHost.injectMouse(MouseEvent.MOUSE_PRESSED, xy[0], xy[1], MouseEvent.BUTTON1, 1); + } else if (event.getAction() == KeyEvent.ACTION_UP) { + padLeftDown = false; + AwtHost.injectMouse(MouseEvent.MOUSE_RELEASED, xy[0], xy[1], MouseEvent.BUTTON1, 1); + AwtHost.injectMouse(MouseEvent.MOUSE_CLICKED, xy[0], xy[1], MouseEvent.BUTTON1, 1); + } + return true; + case KeyEvent.KEYCODE_BUTTON_B: // ○ Circle → right click + if (down) { + padRightDown = true; + Log.i("void-osrs", "pad ○ right-press @ " + xy[0] + "," + xy[1]); + AwtHost.injectMouse(MouseEvent.MOUSE_MOVED, xy[0], xy[1], 0, 0); + AwtHost.injectMouse(MouseEvent.MOUSE_PRESSED, xy[0], xy[1], MouseEvent.BUTTON3, 1); + } else if (event.getAction() == KeyEvent.ACTION_UP) { + padRightDown = false; + AwtHost.injectMouse(MouseEvent.MOUSE_RELEASED, xy[0], xy[1], MouseEvent.BUTTON3, 1); + AwtHost.injectMouse(MouseEvent.MOUSE_CLICKED, xy[0], xy[1], MouseEvent.BUTTON3, 1); + } + return true; + case KeyEvent.KEYCODE_BUTTON_L1: // zoom out + l1Held = down; + if (down) { + AwtHost.injectWheel(xy[0], xy[1], 1); + lastPadZoomAt = System.currentTimeMillis(); + startPadTick(); + } + return true; + case KeyEvent.KEYCODE_BUTTON_L2: // zoom in (digital) + l2DigitalHeld = down; + if (down) { + AwtHost.injectWheel(xy[0], xy[1], -1); + lastPadZoomAt = System.currentTimeMillis(); + startPadTick(); + } + return true; + default: + return code >= KeyEvent.KEYCODE_BUTTON_A && code <= KeyEvent.KEYCODE_BUTTON_MODE; + } + } + + boolean handlePadMotion(MotionEvent event) { + int src = event.getSource(); + boolean joy = (src & InputDevice.SOURCE_CLASS_JOYSTICK) != 0 + || (src & InputDevice.SOURCE_GAMEPAD) != 0 + || (src & InputDevice.SOURCE_JOYSTICK) != 0; + if (!joy) { + return false; + } + int action = event.getActionMasked(); + if (action == MotionEvent.ACTION_CANCEL) { + onPadDeviceGone(event.getDeviceId()); + return true; + } + if (action != MotionEvent.ACTION_MOVE) { + return false; + } + activatePad(event.getDeviceId()); + stickLX = axis(event, MotionEvent.AXIS_X); + stickLY = axis(event, MotionEvent.AXIS_Y); + + float rz = axis(event, MotionEvent.AXIS_RZ); + float z = axis(event, MotionEvent.AXIS_Z); + float rx = axis(event, MotionEvent.AXIS_RX); + float ry = axis(event, MotionEvent.AXIS_RY); + // Prefer Z/RZ (common DS4 HID); fall back to RX/RY. + if (Math.abs(z) > PAD_DEADZONE || Math.abs(rz) > PAD_DEADZONE) { + stickRX = z; + stickRY = rz; + } else { + stickRX = rx; + stickRY = ry; + } + + float lTrigger = axis(event, MotionEvent.AXIS_LTRIGGER); + float brake = axis(event, MotionEvent.AXIS_BRAKE); + triggerL2 = Math.max(lTrigger, brake); + + startPadTick(); + return true; + } + + private float axis(MotionEvent e, int axis) { + float v = e.getAxisValue(axis); + return Float.isNaN(v) ? 0f : v; + } + + public boolean onTouchEvent(MotionEvent event) { + int action = event.getActionMasked(); + int count = event.getPointerCount(); + + if (action == MotionEvent.ACTION_POINTER_DOWN && count >= 2) { + cancelLongPressWatch(); + // Second finger: abort any in-progress left drag so BUTTON1 isn't stuck. + if (dragging) { + AwtHost.injectMouse(MouseEvent.MOUSE_RELEASED, downX, downY, MouseEvent.BUTTON1, 1); + } + down = false; + dragging = false; + longPressFired = false; + ignoreSingleFinger = true; + if (!multiTouch) { + multiTouchMaxCount = 0; + } + multiTouch = true; + multiTouchMaxCount = Math.max(multiTouchMaxCount, count); + lastPinchDist = spacing(event); + pinchAccum = 0f; + float[] mid = midpoint(event); + lastPanX = mid[0]; + lastPanY = mid[1]; + panTracked = true; + // IME covers the view — dismiss so a 4-finger close can finish. + if (keyboardOpen || isImeVisible()) { + hideKeyboard(); + } + maybeFourFingerConsole(); + return true; + } + + if (multiTouch) { + if (action == MotionEvent.ACTION_MOVE && count >= 2) { + multiTouchMaxCount = Math.max(multiTouchMaxCount, count); + maybeFourFingerConsole(); + float[] mid = midpoint(event); + if (panTracked) { + AwtHost.injectCameraOrbit(mid[0] - lastPanX, mid[1] - lastPanY); + } + lastPanX = mid[0]; + lastPanY = mid[1]; + panTracked = true; + float dist = spacing(event); + if (lastPinchDist > 0f) { + pinchAccum += dist - lastPinchDist; + while (pinchAccum >= PINCH_PX_PER_NOTCH) { + int[] midGame = mapMid(event); + AwtHost.injectWheel(midGame[0], midGame[1], -1); + pinchAccum -= PINCH_PX_PER_NOTCH; + } + while (pinchAccum <= -PINCH_PX_PER_NOTCH) { + int[] midGame = mapMid(event); + AwtHost.injectWheel(midGame[0], midGame[1], 1); + pinchAccum += PINCH_PX_PER_NOTCH; + } + } + lastPinchDist = dist; + return true; + } + if (action == MotionEvent.ACTION_POINTER_UP) { + if (count - 1 < 2) { + multiTouch = false; + ignoreSingleFinger = true; + down = false; + dragging = false; + longPressFired = false; + lastPinchDist = -1f; + pinchAccum = 0f; + panTracked = false; + finishFourFingerGesture(); + } else { + lastPinchDist = spacingAfterPointerUp(event); + float[] mid = midpointAfterPointerUp(event); + lastPanX = mid[0]; + lastPanY = mid[1]; + panTracked = true; + } + return true; + } + if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) { + multiTouch = false; + ignoreSingleFinger = false; + lastPinchDist = -1f; + pinchAccum = 0f; + panTracked = false; + down = false; + dragging = false; + longPressFired = false; + finishFourFingerGesture(); + return true; + } + return true; + } + + if (ignoreSingleFinger) { + if (action == MotionEvent.ACTION_DOWN) { + ignoreSingleFinger = false; + } else if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) { + ignoreSingleFinger = false; + down = false; + dragging = false; + longPressFired = false; + cancelLongPressWatch(); + return true; + } else { + return true; + } + } + + int[] xy = map(event.getX(), event.getY()); + int x = xy[0]; + int y = xy[1]; + if (action == MotionEvent.ACTION_DOWN) { + down = true; + dragging = false; + longPressFired = false; + downVx = event.getX(); + downVy = event.getY(); + downX = x; + downY = y; + cancelLongPressWatch(); + long timeout = Math.max(175, ViewConfiguration.getLongPressTimeout() / 2); + Log.i("void-osrs", "longPress SCHEDULE " + timeout + "ms @ " + downX + "," + downY); + touchHandler.postDelayed(longPressRunnable, timeout); + } else if (action == MotionEvent.ACTION_MOVE && down && !longPressFired) { + float moved = Math.max(Math.abs(event.getX() - downVx), Math.abs(event.getY() - downVy)); + if (!dragging && moved > LONG_PRESS_CANCEL_SLOP) { + // Finger slid → left-button drag (same path as pad ✕ held + stick). + dragging = true; + cancelLongPressWatch(); + Log.i("void-osrs", "drag START moved=" + moved); + AwtHost.injectMouse(MouseEvent.MOUSE_MOVED, downX, downY, 0, 0); + AwtHost.injectMouse(MouseEvent.MOUSE_PRESSED, downX, downY, MouseEvent.BUTTON1, 1); + AwtHost.injectMouse(MouseEvent.MOUSE_DRAGGED, x, y, MouseEvent.BUTTON1, 0); + } else if (dragging) { + AwtHost.injectMouse(MouseEvent.MOUSE_DRAGGED, x, y, MouseEvent.BUTTON1, 0); + } + } else if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL) { + cancelLongPressWatch(); + if (!down) { + // leftover + } else if (longPressFired) { + Log.i("void-osrs", "longPress UP after right-click"); + } else if (dragging) { + Log.i("void-osrs", "drag END @ " + x + "," + y); + AwtHost.injectMouse(MouseEvent.MOUSE_RELEASED, x, y, MouseEvent.BUTTON1, 1); + } else if (action == MotionEvent.ACTION_UP) { + Log.i("void-osrs", "tap left-click @ " + downX + "," + downY + + " frac=" + String.format(java.util.Locale.US, "%.3f,%.3f", + downX / (float) Math.max(1, frameW), + downY / (float) Math.max(1, frameH)) + + " frame=" + frameW + "x" + frameH); + AwtHost.injectLeftClick(downX, downY); + // IME only from the --> write strip. History taps re-run in the client + // and must not raise/hide the keyboard. + if (AwtHost.isDevConsoleOpen()) { + if (AwtHost.isConsolePromptTap(downX, downY)) { + if (isImeVisible() || keyboardOpen) { + hideKeyboard(); + } else { + showKeyboard(); + } + } + } else if (isImeVisible() || keyboardOpen) { + hideKeyboard(); + } + } + down = false; + dragging = false; + longPressFired = false; + } + return true; + } + + private void cancelLongPressWatch() { + touchHandler.removeCallbacks(longPressRunnable); + } + + private void maybeFourFingerConsole() { + if (fourFingerConsoleFired || multiTouchMaxCount < 4) { + return; + } + fourFingerConsoleFired = true; + boolean wasOpen = AwtHost.isDevConsoleOpen(); + Log.i("void-osrs", "4-finger tap → developer console (wasOpen=" + wasOpen + ")"); + if (wasOpen) { + AwtHost.setDevConsoleOpen(false); + hideKeyboard(); + } else { + // Open console only — do not raise IME/chat. Tap later toggles keyboard if needed. + AwtHost.setDevConsoleOpen(true); + } + } + + private void finishFourFingerGesture() { + fourFingerConsoleFired = false; + multiTouchMaxCount = 0; + } + + private float spacing(MotionEvent e) { + float dx = e.getX(0) - e.getX(1); + float dy = e.getY(0) - e.getY(1); + return (float) Math.hypot(dx, dy); + } + + private float spacingAfterPointerUp(MotionEvent e) { + int up = e.getActionIndex(); + int a = -1; + int b = -1; + for (int i = 0; i < e.getPointerCount(); i++) { + if (i == up) { + continue; + } + if (a < 0) { + a = i; + } else { + b = i; + break; + } + } + if (a < 0 || b < 0) { + return -1f; + } + float dx = e.getX(a) - e.getX(b); + float dy = e.getY(a) - e.getY(b); + return (float) Math.hypot(dx, dy); + } + + private float[] midpoint(MotionEvent e) { + return new float[]{(e.getX(0) + e.getX(1)) * 0.5f, (e.getY(0) + e.getY(1)) * 0.5f}; + } + + private float[] midpointAfterPointerUp(MotionEvent e) { + int up = e.getActionIndex(); + float sx = 0f; + float sy = 0f; + int n = 0; + for (int i = 0; i < e.getPointerCount(); i++) { + if (i == up) { + continue; + } + sx += e.getX(i); + sy += e.getY(i); + n++; + } + if (n == 0) { + return new float[]{0f, 0f}; + } + return new float[]{sx / n, sy / n}; + } + + private int[] mapMid(MotionEvent e) { + float[] mid = midpoint(e); + return map(mid[0], mid[1]); + } + + private int[] map(float vx, float vy) { + int vw = Math.max(1, getWidth()); + int vh = Math.max(1, getHeight()); + int gw = Math.max(1, frameW); + int gh = Math.max(1, frameH); + int x = (int) (vx * gw / (float) vw); + int y = (int) (vy * gh / (float) vh); + x = Math.max(0, Math.min(gw - 1, x)); + y = Math.max(0, Math.min(gh - 1, y)); + return new int[]{x, y}; + } + + public void present(Bitmap bitmap) { + Bitmap old = frame; + frame = bitmap; + frameW = bitmap.getWidth(); + frameH = bitmap.getHeight(); + if (old != null && old != bitmap) { + old.recycle(); + } + // View.onDraw always uses the layout size — avoids SurfaceView buffer + // sticking at ~half width after resume on some OEM devices. + postInvalidateOnAnimation(); + } + + @Override + protected void onDraw(Canvas canvas) { + drawFrame(canvas); + } + + @Override + protected void onSizeChanged(int w, int h, int oldw, int oldh) { + super.onSizeChanged(w, h, oldw, oldh); + if (w > 0 && h > 0 && !keyboardOpen) { + applySurfaceSize(w, h, "sizeChanged", false); + } + } + + private void drawFrame(Canvas canvas) { + canvas.drawColor(0xff000000); + Bitmap bmp = frame; + if (bmp != null) { + int bw = bmp.getWidth(); + int bh = bmp.getHeight(); + int srcW = bw; + int srcH = bh; + // If present somehow still has a phone-sized letterboxed buffer, + // only stretch the logical FS content (top-left). + int gw = Math.max(1, AwtHost.GAME_WIDTH); + int gh = Math.max(1, AwtHost.GAME_HEIGHT); + if (bw > gw || bh > gh) { + srcW = Math.min(gw, bw); + srcH = Math.min(gh, bh); + } + src.set(0, 0, srcW, srcH); + int dw = Math.max(1, getWidth()); + int dh = Math.max(1, getHeight()); + dst.set(0, 0, dw, dh); + canvas.drawBitmap(bmp, src, dst, paint); + } + if (padActive && cursorVx >= 0f && cursorVy >= 0f && cursorBmp != null) { + float left = cursorVx - cursorHotX; + float top = cursorVy - cursorHotY; + cursorDst.set(left, top, left + cursorDrawW, top + cursorDrawH); + canvas.drawBitmap(cursorBmp, null, cursorDst, cursorPaint); + } + } + + void redraw() { + invalidate(); + } + } +} diff --git a/android/app/src/main/res/drawable/cursor_normal_select.png b/android/app/src/main/res/drawable/cursor_normal_select.png new file mode 100644 index 000000000..3eb9323e4 Binary files /dev/null and b/android/app/src/main/res/drawable/cursor_normal_select.png differ diff --git a/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 000000000..be438580f --- /dev/null +++ b/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml new file mode 100644 index 000000000..be438580f --- /dev/null +++ b/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..5a100a29c Binary files /dev/null and b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png new file mode 100644 index 000000000..d9eb7ce9f Binary files /dev/null and b/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png new file mode 100644 index 000000000..5a100a29c Binary files /dev/null and b/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..f0c7f95ec Binary files /dev/null and b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png new file mode 100644 index 000000000..9add9fdae Binary files /dev/null and b/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png new file mode 100644 index 000000000..f0c7f95ec Binary files /dev/null and b/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..40e89facf Binary files /dev/null and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png new file mode 100644 index 000000000..2b58d5c69 Binary files /dev/null and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png new file mode 100644 index 000000000..40e89facf Binary files /dev/null and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..405e8cfa0 Binary files /dev/null and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png new file mode 100644 index 000000000..595fbe25f Binary files /dev/null and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png new file mode 100644 index 000000000..405e8cfa0 Binary files /dev/null and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..96aebf5fe Binary files /dev/null and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png new file mode 100644 index 000000000..f6b3f0629 Binary files /dev/null and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png new file mode 100644 index 000000000..96aebf5fe Binary files /dev/null and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ diff --git a/android/app/src/main/res/values/ic_launcher_background.xml b/android/app/src/main/res/values/ic_launcher_background.xml new file mode 100644 index 000000000..e51fc38c1 --- /dev/null +++ b/android/app/src/main/res/values/ic_launcher_background.xml @@ -0,0 +1,4 @@ + + + #FF2A2727 + diff --git a/android/build.gradle.kts b/android/build.gradle.kts new file mode 100644 index 000000000..a0dd15fad --- /dev/null +++ b/android/build.gradle.kts @@ -0,0 +1,3 @@ +plugins { + id("com.android.application") version "8.7.3" apply false +} diff --git a/android/gradle.properties b/android/gradle.properties new file mode 100644 index 000000000..57e2770b5 --- /dev/null +++ b/android/gradle.properties @@ -0,0 +1,3 @@ +org.gradle.jvmargs=-Xmx4g -Dfile.encoding=UTF-8 +android.useAndroidX=true +android.nonTransitiveRClass=true diff --git a/android/gradle/wrapper/gradle-wrapper.jar b/android/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 000000000..249e5832f Binary files /dev/null and b/android/gradle/wrapper/gradle-wrapper.jar differ diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 000000000..19cfdbd04 --- /dev/null +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,6 @@ +#Sun Mar 29 13:56:04 BST 2026 +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.4-bin.zip +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists diff --git a/android/gradlew b/android/gradlew new file mode 100755 index 000000000..1b6c78733 --- /dev/null +++ b/android/gradlew @@ -0,0 +1,234 @@ +#!/bin/sh + +# +# Copyright © 2015-2021 the original authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +############################################################################## +# +# Gradle start up script for POSIX generated by Gradle. +# +# Important for running: +# +# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is +# noncompliant, but you have some other compliant shell such as ksh or +# bash, then to run this script, type that shell name before the whole +# command line, like: +# +# ksh Gradle +# +# Busybox and similar reduced shells will NOT work, because this script +# requires all of these POSIX shell features: +# * functions; +# * expansions «$var», «${var}», «${var:-default}», «${var+SET}», +# «${var#prefix}», «${var%suffix}», and «$( cmd )»; +# * compound commands having a testable exit status, especially «case»; +# * various built-in commands including «command», «set», and «ulimit». +# +# Important for patching: +# +# (2) This script targets any POSIX shell, so it avoids extensions provided +# by Bash, Ksh, etc; in particular arrays are avoided. +# +# The "traditional" practice of packing multiple parameters into a +# space-separated string is a well documented source of bugs and security +# problems, so this is (mostly) avoided, by progressively accumulating +# options in "$@", and eventually passing that to Java. +# +# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, +# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; +# see the in-line comments for details. +# +# There are tweaks for specific operating systems such as AIX, CygWin, +# Darwin, MinGW, and NonStop. +# +# (3) This script is generated from the Groovy template +# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# within the Gradle project. +# +# You can find Gradle at https://github.com/gradle/gradle/. +# +############################################################################## + +# Attempt to set APP_HOME + +# Resolve links: $0 may be a link +app_path=$0 + +# Need this for daisy-chained symlinks. +while + APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path + [ -h "$app_path" ] +do + ls=$( ls -ld "$app_path" ) + link=${ls#*' -> '} + case $link in #( + /*) app_path=$link ;; #( + *) app_path=$APP_HOME$link ;; + esac +done + +APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit + +APP_NAME="Gradle" +APP_BASE_NAME=${0##*/} + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD=maximum + +warn () { + echo "$*" +} >&2 + +die () { + echo + echo "$*" + echo + exit 1 +} >&2 + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +nonstop=false +case "$( uname )" in #( + CYGWIN* ) cygwin=true ;; #( + Darwin* ) darwin=true ;; #( + MSYS* | MINGW* ) msys=true ;; #( + NONSTOP* ) nonstop=true ;; +esac + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD=$JAVA_HOME/jre/sh/java + else + JAVACMD=$JAVA_HOME/bin/java + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD=java + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi + +# Increase the maximum file descriptors if we can. +if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then + case $MAX_FD in #( + max*) + MAX_FD=$( ulimit -H -n ) || + warn "Could not query maximum file descriptor limit" + esac + case $MAX_FD in #( + '' | soft) :;; #( + *) + ulimit -n "$MAX_FD" || + warn "Could not set maximum file descriptor limit to $MAX_FD" + esac +fi + +# Collect all arguments for the java command, stacking in reverse order: +# * args from the command line +# * the main class name +# * -classpath +# * -D...appname settings +# * --module-path (only if needed) +# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables. + +# For Cygwin or MSYS, switch paths to Windows format before running java +if "$cygwin" || "$msys" ; then + APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) + CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) + + JAVACMD=$( cygpath --unix "$JAVACMD" ) + + # Now convert the arguments - kludge to limit ourselves to /bin/sh + for arg do + if + case $arg in #( + -*) false ;; # don't mess with options #( + /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath + [ -e "$t" ] ;; #( + *) false ;; + esac + then + arg=$( cygpath --path --ignore --mixed "$arg" ) + fi + # Roll the args list around exactly as many times as the number of + # args, so each arg winds up back in the position where it started, but + # possibly modified. + # + # NB: a `for` loop captures its iteration list before it begins, so + # changing the positional parameters here affects neither the number of + # iterations, nor the values presented in `arg`. + shift # remove old arg + set -- "$@" "$arg" # push replacement arg + done +fi + +# Collect all arguments for the java command; +# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of +# shell script including quotes and variable substitutions, so put them in +# double quotes to make sure that they get re-expanded; and +# * put everything else in single quotes, so that it's not re-expanded. + +set -- \ + "-Dorg.gradle.appname=$APP_BASE_NAME" \ + -classpath "$CLASSPATH" \ + org.gradle.wrapper.GradleWrapperMain \ + "$@" + +# Use "xargs" to parse quoted args. +# +# With -n1 it outputs one arg per line, with the quotes and backslashes removed. +# +# In Bash we could simply go: +# +# readarray ARGS < <( xargs -n1 <<<"$var" ) && +# set -- "${ARGS[@]}" "$@" +# +# but POSIX shell has neither arrays nor command substitution, so instead we +# post-process each arg (as a line of input to sed) to backslash-escape any +# character that might be a shell metacharacter, then use eval to reverse +# that process (while maintaining the separation between arguments), and wrap +# the whole thing up as a single "set" statement. +# +# This will of course break if any of these variables contains a newline or +# an unmatched quote. +# + +eval "set -- $( + printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | + xargs -n1 | + sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | + tr '\n' ' ' + )" '"$@"' + +exec "$JAVACMD" "$@" diff --git a/android/gradlew.bat b/android/gradlew.bat new file mode 100644 index 000000000..107acd32c --- /dev/null +++ b/android/gradlew.bat @@ -0,0 +1,89 @@ +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem + +@if "%DEBUG%" == "" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if "%ERRORLEVEL%" == "0" goto execute + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/android/scripts/adb-reverse.sh b/android/scripts/adb-reverse.sh new file mode 100755 index 000000000..4a951dcdd --- /dev/null +++ b/android/scripts/adb-reverse.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# Keep JS5/login reachable on a USB-connected phone. +set -euo pipefail +PORT="${1:-43594}" +adb wait-for-device +adb reverse tcp:$PORT tcp:$PORT +adb reverse --list +echo "OK — phone 127.0.0.1:$PORT -> host :$PORT" diff --git a/android/scripts/gen_stubs.py b/android/scripts/gen_stubs.py new file mode 100644 index 000000000..57caa65c1 --- /dev/null +++ b/android/scripts/gen_stubs.py @@ -0,0 +1,111 @@ +#!/usr/bin/env python3 +"""Copy Jagex JNI wrappers from 2011scape and stub native methods.""" +import re +from pathlib import Path + +SRC = Path(__file__).resolve().parents[3] / "refs/2011scape-client/runescape/src/main/java" +DST = Path(__file__).resolve().parents[1] / "app/src/main/java" + +PACKAGES = ["jaggl", "jagdx", "jagtheora", "jagex3", "jaclib"] + +ANN_IMPORT = re.compile(r"^import org\.openrs2\.deob\.annotation\..*\n", re.M) +NATIVE_FN = re.compile( + r"(?P(?:(?:public|protected|private|static|final|synchronized|native)\s+)+)" + r"(?P[\w.<>,\[\]\s]+?)\s+(?P\w+)\s*\((?P[^)]*)\)\s*" + r"(?Pthrows\s+[\w\s,.]+)?\s*;" +) + + +def stub_body(ret: str) -> str: + r = " ".join(ret.split()) + if r == "void": + return "{}" + if r == "boolean": + return "{ return false; }" + if r in ("byte", "short", "int", "char"): + return "{ return 0; }" + if r == "long": + return "{ return 0L; }" + if r == "float": + return "{ return 0f; }" + if r == "double": + return "{ return 0d; }" + return "{ return null; }" + + +def strip_annotations(text: str) -> str: + out = [] + for line in text.splitlines(True): + stripped = line.lstrip() + if stripped.startswith("@OriginalClass") or stripped.startswith("@OriginalMember") or stripped.startswith("@OriginalArg"): + # full-line annotations only + if stripped.startswith("@OriginalClass") or stripped.startswith("@OriginalMember"): + continue + line = re.sub(r"@OriginalArg\(\d+\)\s*", "", line) + line = re.sub(r"@Pc\(\d+\)\s*", "", line) + out.append(line) + return "".join(out) + + +def convert(text: str) -> str: + text = ANN_IMPORT.sub("", text) + text = strip_annotations(text) + text = text.replace("java.awt", "voidawt") + text = text.replace("java.applet", "voidapplet") + + def repl(m: re.Match) -> str: + mods = m.group("mods") + if "native" not in mods: + return m.group(0) + mods = " ".join(p for p in mods.split() if p != "native") + " " + throws = (" " + m.group("throws")) if m.group("throws") else "" + return f"{mods}{m.group('ret')} {m.group('name')}({m.group('args')}){throws} {stub_body(m.group('ret'))}" + + return NATIVE_FN.sub(repl, text) + + +def main() -> None: + copied = 0 + for pkg in PACKAGES: + src = SRC / pkg + if not src.exists(): + raise SystemExit(f"missing {src}") + for path in src.rglob("*.java"): + rel = path.relative_to(SRC) + out = DST / rel + out.parent.mkdir(parents=True, exist_ok=True) + text = convert(path.read_text()) + if path.name == "IDirect3D.java" and out.exists(): + copied += 1 + continue + if path.name == "ti.java": + text = text.replace("public final class ti", "public class ti") + if path.name == "SimplePeer.java": + if "public final void a()" not in text: + text = text.rstrip() + if text.endswith("}"): + text = text[:-1] + " public final void a() { this.cleanUp(); }\n}\n" + if path.name == "Stream.java": + text = text.replace("this.c();", "this.flush();") + text = text.replace("public void c() {", "public void flush() {") + text = text.replace( + "public static boolean b() {\n return getLSB(-65536) == -1;\n }", + "public int b() {\n return this.b + this.d;\n }", + ) + text = text.rstrip() + if text.endswith("}"): + text = text[:-1] + " public static boolean c() { return true; }\n}\n" + out.write_text(text, encoding="utf-8") + copied += 1 + hb = DST / "jaclib/peer/hb.java" + hb.write_text("package jaclib.peer;\n\npublic final class hb extends ti {\n}\n", encoding="utf-8") + (DST / "jagdx/fda.java").write_text( + "package jagdx;\n\npublic class fda extends RuntimeException {\n" + " public fda() {}\n public fda(String message) { super(message); }\n}\n", + encoding="utf-8", + ) + print(f"stubbed {copied} files -> {DST}") + + +if __name__ == "__main__": + main() diff --git a/android/settings.gradle.kts b/android/settings.gradle.kts new file mode 100644 index 000000000..d73154b4b --- /dev/null +++ b/android/settings.gradle.kts @@ -0,0 +1,18 @@ +pluginManagement { + repositories { + google() + mavenCentral() + gradlePluginPortal() + } +} + +dependencyResolutionManagement { + repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) + repositories { + google() + mavenCentral() + } +} + +rootProject.name = "void-client-android" +include(":app") diff --git a/branding/app-icon-1024.png b/branding/app-icon-1024.png new file mode 100644 index 000000000..4a01e7aed Binary files /dev/null and b/branding/app-icon-1024.png differ diff --git a/client/Architecture.md b/client/Architecture.md new file mode 100644 index 000000000..f85c5acdf --- /dev/null +++ b/client/Architecture.md @@ -0,0 +1,255 @@ +# Client architecture + +Canonical **RuneScape 634** (2010-12-14) Java client sources for Void. Same tree drives desktop JVM, Android (ART), and iOS (RoboVM AOT). Mobile hosts rewrite `java.awt` → `voidawt` (and friends); game logic stays here. + +Repo-level mobile host details (AWT shim, audio, `adb reverse`, RoboVM patches): see [`../ARCHITECTURE.md`](../ARCHITECTURE.md). + +``` + ┌──────────────────────────────────────────┐ + │ client/ (this tree — Java 8, unnamed │ + │ package; leaf dirs are Gradle srcDirs) │ + └────────────────────┬─────────────────────┘ + │ + ┌──────────────────────────┼──────────────────────────┐ + │ │ │ + ┌────────▼────────┐ ┌──────────▼──────────┐ ┌─────────▼─────────┐ + │ Desktop │ │ Android │ │ iOS │ + │ :client:run / │ │ prepareClientSources│ │ prepareClientSources + │ shadowJar │ │ → ART + SurfaceView │ │ → RoboVM + UIKit │ + │ real AWT/OpenGL │ │ software ha_* only │ │ software ha_* only│ + └─────────────────┘ └─────────────────────┘ └───────────────────┘ + │ + TCP 43594 → Void game (JS5 + login) +``` + +--- + +## Package model (critical) + +All 634 types live in the Java **unnamed (default) package**. Nested folders on disk are **not** Java packages. + +Each leaf that holds `.java` is registered as its own Gradle `srcDir` in `build.gradle.kts`, so the folder name is never treated as a package. A named package (e.g. `package microbot`) **cannot** reference default-package types — keep new helpers default-package too. + +Android/iOS `prepareClientSources` flattens `client/**/*.java` into generated output and rewrites JDK imports (`java.awt` → `voidawt`, etc.). + +**Do not** invent package declarations under `client/`. + +--- + +## Source roots (domain map) + +| Dir | Role | +|-----|------| +| `src/` | Bootstrap / host loop: `Loader`, `client`, `Applet_*`, loading, debug, console (`CommandHandler`), friends list helpers | +| `void/` | Void-specific bridges: `LoginPrefs`, `MobileKeyboard` | +| `microbot/` | Bot runtime / HUD / mouse backends (see `microbot/README.md`) | +| `rs2/` | `Rs2*` scripting API used by microbot | +| `input/` | Mouse handlers (`MouseHandler`, AWT / basic backends) | +| `menu/` | `MenuEntry`, `DefaultClickSwapper`, `MenuOpener` | +| `fonts/` | `BitmapFont` + software / OpenGL / jaclib backends | +| `text/` | Text builders / formatters / CP1252 helpers | +| `display/` | Display / screen mode managers | +| `toolkit/base/` | `GraphicsToolkit`, `ToolkitFactory`, matrices, abstract `ha_*` | +| `toolkit/gl/` | OpenGL toolkit (`ha_Sub2`, `Gl*`, textures) | +| `toolkit/software/` | Software rasterizer (`ha_Sub1`) — **path used on mobile** | +| `toolkit/d3d/` | Direct3D toolkit (desktop / stubbed on mobile) | +| `shaders/base/` | Shader programs, compilers, abstract shaders | +| `shaders/gl/` | OpenGL / water shaders | +| `shaders/d3d/` | D3D shaders | +| `sprites/` | Sprite hierarchy + related UI blit helpers | +| `scene/graph/` | Scene graph: `Renderable*`, overlays, friend login messages | +| `scene/particles/` | Particle systems / shaders | +| `scene/buffers/` | Heightmap / buffer-cache (`s*`, `t`) | +| `entities/` | `Player`, `Npc`, shared entity parents | +| `nodes/` | Linked structures: `Node*`, `HashNode*`, `HashTable` | +| `defs/` | Config definitions (`*Definition`, `Definition*`) | +| `cache/` | Disk/JS5 store: `CacheStore`, `CacheFileStore`, LRU, inflate, seekable files | +| `net/socket/` | TCP connectors, streams, request processors | +| `net/crypto/` | RSA / login crypto | +| `net/http/` | Browser URL opener, news, cookies | +| `net/packet/` | `Buffer`, `PacketReader`, abstract buffers | +| `media/audio/` | Mixer / PCM lines (desktop JavaSound; mobile → `voidsound`) | +| `media/ogg/` | Ogg streams | +| `media/video/` | Theora / video ads | +| `script/` | `ClientScriptExecutor` (CS2) | +| `ifaces/` | Interface contracts + small impls (`Interface1`–…) | +| `native/` | JNI peers / native library loaders (`za*`, `ya`, …) | +| `components/` | Large opaque `Component*` staging (UI, JS5, prefs, enums, …) — heavy deob target | +| `misc/` | Unclassified leftovers (`DisplayModeManagerContainer*`, enums like `GameType`, `BuildType`) | +| `resources/` | Non-Java resources on the classpath | + +Approximate scale: hundreds of classes under `components/` + `misc/`; toolkit/scene/net are smaller but hot on the frame and IO paths. + +--- + +## Boot sequence + +1. **`Loader`** (`src/Loader.java`) — application entry (`mainClass = "Loader"`). Sets server address (`Loader.address` / `--address` / `void.server`), size, applet params (`modewhere`, world, …), hosts the applet. +2. **`Applet_Sub1` / `client`** — applet lifecycle: `init` → cache dir under `user.home` → JS5 connect → title → login → game. +3. **Toolkit pick** — `ToolkitFactory` / display-mode prefs choose GL, D3D, or software. Mobile stubs force **software** (`ha_Sub1`) and present via `AwtHost`. +4. **Game loop** — pulse networking, CS2, scene compose, blit pixel buffer (or GPU swap on desktop). + +Client state is gated by obfuscated globals (e.g. `Component49.clientState`); post-login vs title changes which subsystems run (console commands, world list, etc.). + +--- + +## Networking + +Both **JS5** (cache download) and **game login** use **TCP 43594** against a Void-compatible game process. + +| Layer | Location | Notes | +|-------|----------|--------| +| Connect / streams | `net/socket/` | IPv4 connect quirks kept minimal for mobile | +| Packet IO | `net/packet/Buffer.java`, `PacketReader` | Opcode decode, ISAAC, buffer pool | +| JS5 TCP session | `components/` (e.g. archive fetch / handshake writers) | Priority queues, XOR key, disconnect codes | +| Disk cache worker | `cache/` + disk-job helpers in `misc/`/`components/` | Enqueue read/write, reference tables, RSA on ref table | +| HTTP extras | `net/http/` | External browser / news — not the game socket | +| Crypto | `net/crypto/` | Login RSA | + +Defaults by host (overridable via `void.server` / `ServerPrefs` / in-app picker): + +| Host | Default target | +|------|----------------| +| Desktop | `127.0.0.1` | +| Android emulator | `10.0.2.2` | +| Android USB | `127.0.0.1` via **adb reverse** | +| iOS Simulator | `127.0.0.1` | +| Physical phone | LAN / saved history | + +`Loader.modewhere=0` (LIVE) keeps port 43594. LOCAL (`4`) remaps to `40000+worldid` — avoid unless ports are patched. + +--- + +## Cache / assets + +``` +JS5 TCP ──► in-memory queues ──► CacheFileStore / CacheStore ──► disk under user.home + │ + ▼ + ReferenceTable + group inflate + │ + ┌─────────────────┼─────────────────┐ + ▼ ▼ ▼ + models/anims maps/locs audio/fonts/… +``` + +- First launch: cold JS5 download (slow). +- Warm cache: title/login much faster. +- Music / SFX need the right archive indexes; silence with working PCM often means missing JS5 groups, not the audio device. + +--- + +## Rendering pipeline + +``` +Scene graph (scene/graph) + entities + │ + ▼ +Toolkit (toolkit/*) ── desktop: GL / D3D / software + ── mobile: software only (natives stubbed) + │ + ▼ +2D overlay: sprites, fonts, interfaces, menu tip + │ + ▼ +Pixel buffer / swap ── desktop: AWT / GPU present + ── mobile: AwtHost.present → Bitmap / UIImage +``` + +- **Shaders** live under `shaders/` and plug into GL/D3D toolkits. +- **Particles** (`scene/particles`) and **buffers** (`scene/buffers`) feed the scene compose. +- Do not reintroduce real jaggl/DX on mobile without replacing the whole present path. + +--- + +## Input & UI + +| Concern | Where | +|---------|--------| +| Raw mouse / keys | `input/`, AWT listeners on desktop; mobile injects via `AwtHost` | +| Right-click / long-press | Host maps long-press → button 3 + modifiers; menu built in `menu/` | +| Default left-click tip | `DefaultClickSwapper` + `~/.void-osrs/default-click.properties` | +| Soft keyboard | `void/MobileKeyboard.java` — open only for type-4 single-line text; chat `liftPx`; hosts call `setKeyboardInset` | +| Dev console | `` ` `` / four-finger tap → open/close; `CommandHandler` parses lines | +| Interfaces / CS2 | `script/ClientScriptExecutor`, interface trees in `components/` | +| Login prefs | `void/LoginPrefs.java` (`~/void-login.txt` auto-login) | + +Mobile gesture map (hosts, not this folder): tap = left, long-press = right, drag = camera, pinch = zoom. + +--- + +## Audio + +Desktop: `javax.sound.sampled` via `media/audio/`. +Mobile: rewritten to `voidsound` (`PcmSourceDataLine` → AudioTrack / AudioQueue). Soft synth + SFX still mix in this tree; only the line implementation is host-specific. + +--- + +## Microbot / Rs2 + +- `microbot/` — overlay bot runtime, panels, mouse backends. +- `rs2/` — high-level scripting helpers calling into 634 types. +- Same unnamed-package rule; see `microbot/README.md`. + +--- + +## Build & run (this module) + +```bash +# from void-client/ +./gradlew :client:compileJava # desktop compile gate +./gradlew :client:run # Loader → 127.0.0.1:43594 +./gradlew :client:shadowJar # fat jar (Java 8 toolchain) + +# iOS compile gate (after class renames: prefer clean) +cd ios && ./gradlew compileJava +# or: ./gradlew clean compileJava +``` + +Toolchain: **Java 8** for `:client`. Android/iOS use JDK 17+ for their Gradle wrappers but consume rewritten copies of these sources. + +Native Jagex libs: `../libs/clientlibs.jar` on the desktop classpath; mobile uses generated stubs (`android/scripts/gen_stubs.py`). + +--- + +## Deobfuscation conventions + +Ongoing rename work: evidence-based names + dense comments (see `.cursor/rules/void-client-deobfuscate.mdc`). + +- Rename only with evidence of role (call sites, protocol, strings). +- Comment class headers, non-obvious methods, magic constants. +- Do **not** rename JNI `native` method names. +- Skip opaque `anInt++` counters with no semantic use. +- After class renames / reflection string changes: update Android stubs if needed; run iOS `clean compileJava` (stale `ios/build/generated`). +- Prefer whole-word, quote-aware renames; after field renames that collide with params, use `this.field = field`. + +Staging leftovers: most remaining `Component*` / `DisplayModeManagerContainer*` / `method####` live under `components/` and `misc/`. + +--- + +## Maintenance cheat sheet + +| I want to… | Touch | +|------------|--------| +| Change game / protocol / UI logic | Files under `client/` (prefer clear domain folder) | +| Change soft-keyboard open rules / chat lift | `void/MobileKeyboard.java` | +| Change auto-login file format | `void/LoginPrefs.java` | +| Change console commands | `src/CommandHandler.java` | +| Change packet shapes | `net/packet/` + call sites in `components/` / `PacketReader` | +| Change cache layout / JS5 | `cache/` + JS5 session classes in `components/` | +| Change renderer backend | `toolkit/*`, `shaders/*` (mobile must stay software-capable) | +| Change bot API | `microbot/`, `rs2/` | +| Change AWT present / touch / IME host | `android/` or `ios/` (not here) — see root `ARCHITECTURE.md` | +| Add a Gradle source root | New leaf dir + entry in `client/build.gradle.kts` `java.srcDirs` | + +--- + +## Related docs + +| Doc | Scope | +|-----|--------| +| [`../ARCHITECTURE.md`](../ARCHITECTURE.md) | Mobile hosts, voidawt, audio, networking ops, RoboVM | +| [`../README.md`](../README.md) | Quick start (desktop / Android / iOS) | +| [`microbot/README.md`](microbot/README.md) | Bot + srcDir domain map (source of the table above) | +| [`../android/README.md`](../android/README.md) | Android deploy | +| [`../ios/README.md`](../ios/README.md) | iOS deploy | diff --git a/client/build.gradle.kts b/client/build.gradle.kts index ba59849f9..b2494e150 100644 --- a/client/build.gradle.kts +++ b/client/build.gradle.kts @@ -17,7 +17,48 @@ dependencies { java { sourceSets { main { - java.srcDirs("src") + // All roots stay in the Java *unnamed* (default) package — a named package + // cannot reference the 634 types. Nested dirs (toolkit/gl, …) are EACH a + // separate srcDir so the directory name is not treated as a package. + // See client/microbot/README.md for the domain map. + java.srcDirs( + "src", + "fonts", + "input", + "menu", + "void", + "microbot", + "rs2", + "toolkit/base", + "toolkit/gl", + "toolkit/software", + "toolkit/d3d", + "shaders/base", + "shaders/gl", + "shaders/d3d", + "sprites", + "scene/graph", + "scene/particles", + "scene/buffers", + "entities", + "nodes", + "defs", + "cache", + "net/socket", + "net/crypto", + "net/http", + "net/packet", + "media/audio", + "media/ogg", + "media/video", + "script", + "ifaces", + "native", + "text", + "display", + "components", + "misc", + ) resources.srcDirs("resources") } } @@ -57,4 +98,4 @@ tasks.register("bundleApp") { from(jrePath) { into("void-bundle/jre") } -} \ No newline at end of file +} diff --git a/client/cache/AssetCacheLoader.java b/client/cache/AssetCacheLoader.java new file mode 100644 index 000000000..3351bd08b --- /dev/null +++ b/client/cache/AssetCacheLoader.java @@ -0,0 +1,122 @@ +/* AssetCacheLoader - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * AssetCacheLoader — gerenciador de cache com LRU dual (antigo `AssetCacheLoader` / `hs`). + *

+ * Mantém dois caches {@code LruCache(256)}: + *

    + *
  • {@code decodedCache} — cache de {@code NodeSub19Sub1} já decodificados (sprites/models)
  • + *
  • {@code intermediateCache} — cache intermediário de {@code NodeSub10} (estruturas cruas)
  • + *
+ * Usa dois {@code CacheStore} (fontes de dados: índice do cache) para resolver + * recursos sob demanda via {@code Component277.method2372} e {@code NodeSub10.method2795}. + * A chave composta é um {@code long} derivado de dois ints com bit-mixing + * (ex.: {@code i ^ (i1 >>>12 | i1<<4)}). Renomeado com base em uso de + * {@code LruCache} + {@code CacheStore} + padrão de cache hit/miss. + */ +/** + * RENAMED from `Class26` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ +final class AssetCacheLoader { + static int anInt373; + /** Cache de decodificados (NodeSub19Sub1) — 256 entradas LRU. */ + private final LruCache intermediateCache = new LruCache(256); + static int anInt375; + static int anInt376; + /** Fonte secundária (índice 2) — ex.: dados de modelo/textura. */ + private final CacheStore secondaryStore; + static int anInt378; + /** Fonte primária (índice 1) — ex.: definições base. */ + private final CacheStore primaryStore; + static int anInt380; + /** Cache principal de resultados (NodeSub19Sub1) — 256 entradas. */ + private final LruCache decodedCache = new LruCache(256); + /** World-test QA channel. */ + static NamedInteger WTQA = new NamedInteger("WTQA", 2); + static int anInt383; + /** Set once {@link Applet_Sub1#shutdown} begins; blocks re-entry. */ + static boolean shuttingDown = false; + static int anInt385 = 0; + static int anInt386; + + public static void method306(boolean bool) { + WTQA = null; + if (bool != true) method311((byte) -5, '\002'); + } + + private final NodeSub19Sub1 method307(int i, int[] is, int i_0_, int i_1_) { + anInt378++; + int i_2_ = i ^ (i_1_ >>> 12 | i_1_ << 4 & 0xfff1); + i_2_ |= i_1_ << 16; + long l = i_2_; + NodeSub19Sub1 class348_sub19_sub1 = (NodeSub19Sub1) decodedCache.get(l, -6008); + if (class348_sub19_sub1 != null) return class348_sub19_sub1; + if (is != null && is[0] <= 0) return null; + Component277 class317 = Component277.method2372(primaryStore, i_1_, i); + if (i_0_ < 50) method311((byte) -60, 'n'); + if (class317 == null) return null; + class348_sub19_sub1 = class317.method2369(); + decodedCache.put((byte) 32, l, class348_sub19_sub1); + if (is != null) is[0] -= (class348_sub19_sub1.aByteArray8984).length; + return class348_sub19_sub1; + } + + final NodeSub19Sub1 method308(int i, int[] is, int i_3_) { + anInt373++; + if ((~primaryStore.getGroupCapacity(-1)) == i_3_) return method307(i, is, 122, 0); + if (primaryStore.getFileCount(0, i) == 1) return method307(0, is, 69, i); + throw new RuntimeException(); + } + + final NodeSub19Sub1 method309(int[] is, int i, int i_4_) { + anInt376++; + if (secondaryStore.getGroupCapacity(i_4_) == 1) return method310(i, 0, (byte) 92, is); + if (secondaryStore.getFileCount(0, i) == 1) return method310(0, i, (byte) 78, is); + if (i_4_ != -1) method307(44, null, -124, -47); + throw new RuntimeException(); + } + + private final NodeSub19Sub1 method310(int i, int i_5_, byte i_6_, int[] is) { + anInt375++; + int i_7_ = i ^ (0xfff0 & i_5_ << 4 | i_5_ >>> 12); + i_7_ |= i_5_ << 16; + int i_8_ = -113 / ((i_6_ - 16) / 34); + long l = (long) i_7_ ^ 0x100000000L; + NodeSub19Sub1 class348_sub19_sub1 = (NodeSub19Sub1) decodedCache.get(l, -6008); + if (class348_sub19_sub1 != null) return class348_sub19_sub1; + if (is != null && is[0] <= 0) return null; + NodeSub10 class348_sub10 = (NodeSub10) intermediateCache.get(l, -6008); + if (class348_sub10 == null) { + class348_sub10 = NodeSub10.method2795(secondaryStore, i_5_, i); + if (class348_sub10 == null) return null; + intermediateCache.put((byte) 108, l, class348_sub10); + } + class348_sub19_sub1 = class348_sub10.method2791(is); + if (class348_sub19_sub1 == null) return null; + class348_sub10.unlink((byte) 27); + decodedCache.put((byte) 117, l, class348_sub19_sub1); + return class348_sub19_sub1; + } + + static final boolean method311(byte i, char c) { + anInt380++; + if (i <= 85) method311((byte) -75, '\014'); + return c == 160 || c == 32 || c == 95 || c == 45; + } + + AssetCacheLoader(CacheStore class45, CacheStore class45_9_) { + try { + secondaryStore = class45_9_; + primaryStore = class45; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("AssetCacheLoader.(" + (class45 != null ? "{...}" : "null") + ',' + (class45_9_ != null ? "{...}" : "null") + ')')); + } + } + + static { + anInt383 = 0; + } +} diff --git a/client/cache/CacheDirectory.java b/client/cache/CacheDirectory.java new file mode 100644 index 000000000..e2f89c918 --- /dev/null +++ b/client/cache/CacheDirectory.java @@ -0,0 +1,95 @@ +/* CacheDirectory - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class201` (JODE-obfuscated). + * Cache/file-store directory locator. Searches filesystem paths (c:/rscache/, /rscache/, .jagex_cache_, .file_store_) via RandomAccessFile/File to locate the on-disk cache store. + */ + +import java.io.File; +import java.io.RandomAccessFile; +import java.util.Hashtable; + +public class CacheDirectory { + /** Cache store id ("jagex_cache_" / "file_store_"). */ + private static int cacheId; + /** Logical name → resolved {@link File} cache. */ + private static final Hashtable resolvedFiles; + /** {@code user.home}/ with trailing slash (or "~/"). */ + private static String userHome; + /** True after {@link #init}; {@link #resolveCacheFile} requires it. */ + private static boolean initialized = false; + /** Optional game subdirectory under the cache root. */ + private static String gameSubdir; + + /** Locate/create {@code string} under rscache / jagex_cache paths; memoized. */ + public static File resolveCacheFile(int i, int i_0_, String string, String string_1_) { + if (!initialized) throw new RuntimeException(""); + File file = (File) resolvedFiles.get(string); + if (file != null) return file; + String[] strings = {"c:/rscache/", "/rscache/", "c:/windows/", "c:/winnt/", "c:/", userHome, "/tmp/", ""}; + String[] strings_2_ = {".jagex_cache_" + i_0_, ".file_store_" + i_0_}; + for (int i_3_ = i; i_3_ < 2; i_3_++) { + for (int i_4_ = 0; strings_2_.length > i_4_; i_4_++) { + for (int i_5_ = 0; strings.length > i_5_; i_5_++) { + String string_6_ = (strings[i_5_] + strings_2_[i_4_] + "/" + (string_1_ == null ? "" : string_1_ + "/") + string); + RandomAccessFile randomaccessfile = null; + try { + File file_7_ = new File(string_6_); + if (i_3_ != 0 || file_7_.exists()) { + String string_8_ = strings[i_5_]; + if (i_3_ != 1 || string_8_.length() <= 0 || new File(string_8_).exists()) { + new File(strings[i_5_] + strings_2_[i_4_]).mkdir(); + if (string_1_ != null) new File(strings[i_5_] + strings_2_[i_4_] + "/" + string_1_).mkdir(); + randomaccessfile = new RandomAccessFile(file_7_, "rw"); + int i_9_ = randomaccessfile.read(); + randomaccessfile.seek(0L); + randomaccessfile.write(i_9_); + randomaccessfile.seek(0L); + randomaccessfile.close(); + resolvedFiles.put(string, file_7_); + return file_7_; + } + } + } catch (Exception exception) { + try { + if (randomaccessfile != null) { + randomaccessfile.close(); + Object object = null; + } + } catch (Exception exception_10_) { + /* empty */ + } + } + } + } + } + throw new RuntimeException(); + } + + /** Set {@link #cacheId}/{@link #gameSubdir} and resolve {@link #userHome}. */ + public static void init(byte i, String string, int i_11_) { + cacheId = i_11_; + if (i != -121) initialized = false; + gameSubdir = string; + try { + userHome = System.getProperty("user.home"); + if (userHome != null) userHome += "/"; + } catch (Exception exception) { + /* empty */ + } + initialized = true; + if (userHome == null) userHome = "~/"; + } + + /** {@link #resolveCacheFile} using {@link #cacheId} and {@link #gameSubdir}. */ + public static File getCacheFile(int i, String string) { + if (i != -2) getCacheFile(75, null); + return resolveCacheFile(0, cacheId, string, gameSubdir); + } + + static { + resolvedFiles = new Hashtable(16); + } +} diff --git a/client/cache/CacheFileStore.java b/client/cache/CacheFileStore.java new file mode 100644 index 000000000..44d596ed2 --- /dev/null +++ b/client/cache/CacheFileStore.java @@ -0,0 +1,148 @@ +/* CacheFileStore - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class340` (JODE-obfuscated). + * Manages an array of archive entries (Component219[]) with RSA BigInteger keys (modulus/exponent) and a Buffer; reload reloads/flushes archives. Cache/file store with signature verification. + */ + +import java.math.BigInteger; + +final class CacheFileStore { + /** JS5 TCP client used to fetch the master reference table and archives. */ + private final Component253 js5Client; + /** RSA public exponent for reference-table signature verify. */ + private final BigInteger rsaExponent; + static int anInt4214; + /** Parsed master reference table (index 255) after RSA/whirlpool verify. */ + private Buffer referenceTableBuffer; + /** Lazily created per-index archive stores. */ + private Component219[] archives; + private DisplayModeManagerContainer67 masterIndex; + /** RSA modulus for reference-table signature verify. */ + private final BigInteger rsaModulus; + static int anInt4219; + /** In-flight request for the index-255 reference table. */ + private HashNodeSub16Sub1 referenceTableRequest; + static int anInt4221; + static int anInt4222; + static StringCache aClass351_4223 = new StringCache(4, 0); + static int anInt4224; + static StringCache aClass351_4225 = new StringCache(43, -1); + + final void reload(int i) { + anInt4222++; + if (archives != null) { + for (int i_0_ = 0; (i_0_ < archives.length); i_0_++) { + if (archives[i_0_] != null) archives[i_0_].processRequestedGroups(0); + } + for (int i_1_ = i; i_1_ < archives.length; i_1_++) { + if (archives[i_1_] != null) archives[i_1_].pulse(-1); + } + } + } + + public static void clearStatics(int i) { + aClass351_4225 = null; + aClass351_4223 = null; + if (i != 0) isReconnectState(92, 5); + } + + /** True for client states 7/8/9 (js5 reconnect / login hop variants). */ + static final boolean isReconnectState(int i, int i_2_) { + anInt4224++; + if (i_2_ >= -89) return true; + return i == 7 || i == 8 || i == 9; + } + + /** Returns (or creates) the archive store for index {@code i}. */ + final Component219 getArchive(CacheIndexReader class137, int i, CacheIndexReader class137_3_, int i_4_) { + try { + anInt4219++; + if (i_4_ != 255) clearStatics(-43); + return createArchive((byte) -123, true, i, class137, class137_3_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("eb.D(" + (class137 != null ? "{...}" : "null") + ',' + i + ',' + (class137_3_ != null ? "{...}" : "null") + ',' + i_4_ + ')')); + } + } + + final boolean isReady(int i) { + anInt4214++; + if (referenceTableBuffer != null) { + return true; + } + if (referenceTableRequest == null) { + if (js5Client.isPriorityQueueFull(-71)) { + return false; + } + referenceTableRequest = js5Client.queueRequest((byte) -84, (byte) 0, true, 255, 255); + } + if (referenceTableRequest.incomplete) { + return false; + } + Buffer class348_sub49 = new Buffer(referenceTableRequest.getData(i ^ 0x17)); + class348_sub49.offset = 5; + int idxCount = class348_sub49.readUnsignedByte(i ^ 0xf8); + class348_sub49.offset += idxCount * 72; + byte[] is = new byte[(class348_sub49.payload.length - class348_sub49.offset)]; + class348_sub49.readBytes(2147483647, 0, is.length, is); + byte[] is_6_; + if (rsaExponent != null && rsaModulus != null) { + BigInteger biginteger = new BigInteger(is); + BigInteger biginteger_7_ = biginteger.modPow(rsaExponent, rsaModulus); + is_6_ = biginteger_7_.toByteArray(); + } else { + is_6_ = is; + } + if (is_6_.length != 65) { + throw new RuntimeException(); + } + byte[] is_8_ = NodeSub1Sub2.whirlpoolDigest(4567, 5, (class348_sub49.payload), (class348_sub49.offset) - (is.length + 5)); + for (int i_9_ = 0; i_9_ < 64; i_9_++) { + if (is_8_[i_9_] != is_6_[i_9_ + 1]) { + throw new RuntimeException(); + } + } + referenceTableBuffer = class348_sub49; + archives = new Component219[idxCount]; + return true; + } + + /** Instantiates {@link Component219} for index {@code i_10_} from the reference table. */ + private final Component219 createArchive(byte i, boolean bool, int i_10_, CacheIndexReader class137, CacheIndexReader class137_11_) { + try { + anInt4221++; + if (referenceTableBuffer == null) throw new RuntimeException(); + if (i_10_ < 0 || i_10_ >= archives.length) throw new RuntimeException(); + if (archives[i_10_] != null) return archives[i_10_]; + referenceTableBuffer.offset = 6 + i_10_ * 72; + int i_12_ = referenceTableBuffer.readInt((byte) -126); + int i_13_ = referenceTableBuffer.readInt((byte) -126); + byte[] is = new byte[64]; + referenceTableBuffer.readBytes(2147483647, 0, 64, is); + if (i >= -18) clearStatics(103); + Component219 class314_sub1 = new Component219(i_10_, class137, class137_11_, js5Client, masterIndex, i_12_, is, i_13_, bool); + archives[i_10_] = class314_sub1; + return class314_sub1; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("eb.E(" + i + ',' + bool + ',' + i_10_ + ',' + (class137 != null ? "{...}" : "null") + ',' + (class137_11_ != null ? "{...}" : "null") + ')')); + } + } + + CacheFileStore(Component253 class248, DisplayModeManagerContainer67 class112, BigInteger biginteger, BigInteger biginteger_14_) { + do { + try { + masterIndex = class112; + rsaModulus = biginteger_14_; + rsaExponent = biginteger; + js5Client = class248; + if (js5Client.isPriorityQueueFull(-31)) break; + referenceTableRequest = js5Client.queueRequest((byte) -80, (byte) 0, true, 255, 255); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("eb.(" + (class248 != null ? "{...}" : "null") + ',' + (class112 != null ? "{...}" : "null") + ',' + (biginteger != null ? "{...}" : "null") + ',' + (biginteger_14_ != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } +} diff --git a/client/cache/CacheIndexReader.java b/client/cache/CacheIndexReader.java new file mode 100644 index 000000000..5742c40f2 --- /dev/null +++ b/client/cache/CacheIndexReader.java @@ -0,0 +1,168 @@ +/* CacheIndexReader - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class137` (JODE-obfuscated). + * Cache index-file reader. Holds two SeekableFile handles (dataFile/indexFile); readEntry(byte,int) seeks to a 6-byte index entry (6*i) and reads the header + data block; writeEntry/writeEntryInternal write/read cache sectors. + */ + +final class CacheIndexReader { + static int anInt1931; + /** Archive index id stamped into each 520-byte sector header. */ + private int indexId; + private SeekableFile dataFile = null; + static int anInt1934; + static int anInt1935; + static int anInt1936; + static int anInt1937; + private SeekableFile indexFile = null; + /** Max single entry length accepted from the index pointer. */ + private int maxEntryLength = 65000; + + final boolean writeEntry(int i, int i_0_, byte[] is, int i_1_) { + if (i_1_ != -7305) return true; + anInt1935++; + synchronized (dataFile) { + if (i < 0 || i > maxEntryLength) throw new IllegalArgumentException(); + boolean bool = writeEntryInternal(is, -15096, i_0_, i, true); + if (!bool) bool = writeEntryInternal(is, -15096, i_0_, i, false); + return bool; + } + } + + final byte[] readEntry(byte i, int i_2_) { + anInt1937++; + synchronized (dataFile) { + try { + if ((long) (6 * i_2_ - -6) > indexFile.length(0)) return null; + indexFile.seek(6 * i_2_, (byte) -106); + indexFile.read(0, Component339.sectorBuffer, 6, i + -16713); + int i_3_ = ((0xff & Component339.sectorBuffer[2]) + ((0xff00 & Component339.sectorBuffer[1] << 8) + (0xff0000 & Component339.sectorBuffer[0] << 16))); + int i_4_ = ((0xff & Component339.sectorBuffer[5]) + ((0xff & Component339.sectorBuffer[3]) << 16) - -((Component339.sectorBuffer[4] & 0xff) << 8)); + if (i_3_ < 0 || maxEntryLength < i_3_) return null; + if (i_4_ <= 0 || (long) i_4_ > dataFile.length(0) / 520L) return null; + byte[] is = new byte[i_3_]; + int i_5_ = 0; + if (i != -4) return null; + int i_6_ = 0; + while (i_3_ > i_5_) { + if (i_4_ == 0) return null; + dataFile.seek(i_4_ * 520, (byte) -103); + int i_7_ = -i_5_ + i_3_; + if (i_7_ > 512) i_7_ = 512; + dataFile.read(0, Component339.sectorBuffer, 8 + i_7_, i ^ 0x414f); + int i_8_ = ((0xff00 & Component339.sectorBuffer[0] << 8) + (Component339.sectorBuffer[1] & 0xff)); + int i_9_ = ((Component339.sectorBuffer[2] << 8 & 0xff00) + (Component339.sectorBuffer[3] & 0xff)); + int i_10_ = (((Component339.sectorBuffer[5] & 0xff) << 8) + (0xff0000 & Component339.sectorBuffer[4] << 16) + (Component339.sectorBuffer[6] & 0xff)); + int i_11_ = 0xff & Component339.sectorBuffer[7]; + if (i_2_ != i_8_ || i_9_ != i_6_ || i_11_ != indexId) return null; + if (i_10_ < 0 || ((long) i_10_ > dataFile.length(i + 4) / 520L)) return null; + i_4_ = i_10_; + i_6_++; + for (int i_12_ = 0; i_12_ < i_7_; i_12_++) + is[i_5_++] = Component339.sectorBuffer[8 + i_12_]; + } + return is; + } catch (java.io.IOException ioexception) { + return null; + } + } + } + + /** Write {@code is} into data sectors; {@code bool} = overwrite existing chain. */ + private final boolean writeEntryInternal(byte[] is, int i, int i_13_, int i_14_, boolean bool) { + anInt1936++; + synchronized (dataFile) { + try { + int i_15_; + if (bool) { + if (indexFile.length(i + 15096) < (long) (i_13_ * 6 - -6)) return false; + indexFile.seek(i_13_ * 6, (byte) 70); + indexFile.read(0, Component339.sectorBuffer, 6, -16717); + i_15_ = ((0xff & Component339.sectorBuffer[5]) + ((0xff & Component339.sectorBuffer[3]) << 16) + ((Component339.sectorBuffer[4] & 0xff) << 8)); + if (i_15_ <= 0 || (dataFile.length(i ^ ~0x3af7) / 520L < (long) i_15_)) return false; + } else { + i_15_ = (int) ((519L + dataFile.length(0)) / 520L); + if (i_15_ == 0) i_15_ = 1; + } + Component339.sectorBuffer[0] = (byte) (i_14_ >> 16); + Component339.sectorBuffer[4] = (byte) (i_15_ >> 8); + Component339.sectorBuffer[2] = (byte) i_14_; + Component339.sectorBuffer[1] = (byte) (i_14_ >> 8); + Component339.sectorBuffer[3] = (byte) (i_15_ >> 16); + Component339.sectorBuffer[5] = (byte) i_15_; + indexFile.seek(i_13_ * 6, (byte) 111); + indexFile.write(0, 6, true, Component339.sectorBuffer); + int i_16_ = 0; + if (i != -15096) indexId = 122; + int i_17_ = 0; + while (i_16_ < i_14_) { + int i_18_ = 0; + if (bool) { + dataFile.seek(520 * i_15_, (byte) -116); + try { + dataFile.read(0, Component339.sectorBuffer, 8, -16717); + } catch (java.io.EOFException eofexception) { + break; + } + int i_19_ = ((0xff & Component339.sectorBuffer[1]) + (0xff00 & (Component339.sectorBuffer[0] << 8))); + i_18_ = ((0xff00 & Component339.sectorBuffer[5] << 8) + (((Component339.sectorBuffer[4] & 0xff) << 16) - -(0xff & Component339.sectorBuffer[6]))); + int i_20_ = ((Component339.sectorBuffer[2] << 8 & 0xff00) + (Component339.sectorBuffer[3] & 0xff)); + int i_21_ = 0xff & Component339.sectorBuffer[7]; + if (i_19_ != i_13_ || i_20_ != i_17_ || i_21_ != indexId) return false; + if (i_18_ < 0 || (dataFile.length(0) / 520L < (long) i_18_)) return false; + } + if (i_18_ == 0) { + bool = false; + i_18_ = (int) ((dataFile.length(0) - -519L) / 520L); + if (i_18_ == 0) i_18_++; + if (i_15_ == i_18_) i_18_++; + } + if (i_14_ + -i_16_ <= 512) i_18_ = 0; + Component339.sectorBuffer[3] = (byte) i_17_; + Component339.sectorBuffer[2] = (byte) (i_17_ >> 8); + Component339.sectorBuffer[0] = (byte) (i_13_ >> 8); + Component339.sectorBuffer[1] = (byte) i_13_; + Component339.sectorBuffer[5] = (byte) (i_18_ >> 8); + Component339.sectorBuffer[6] = (byte) i_18_; + Component339.sectorBuffer[7] = (byte) indexId; + Component339.sectorBuffer[4] = (byte) (i_18_ >> 16); + dataFile.seek(520 * i_15_, (byte) -121); + dataFile.write(0, 8, true, Component339.sectorBuffer); + int i_22_ = -i_16_ + i_14_; + if (i_22_ > 512) i_22_ = 512; + dataFile.write(i_16_, i_22_, true, is); + i_17_++; + i_16_ += i_22_; + i_15_ = i_18_; + } + return true; + } catch (java.io.IOException ioexception) { + return false; + } + } + } + + public final String toString() { + anInt1934++; + return "Cache:" + indexId; + } + + static final boolean hasFlag0x800(int i, byte i_23_, int i_24_) { + int i_25_ = -65 / ((i_23_ - 2) / 55); + anInt1931++; + return (i_24_ & 0x800) != 0; + } + + CacheIndexReader(int i, SeekableFile class78, SeekableFile class78_26_, int i_27_) { + try { + indexId = i; + dataFile = class78; + indexFile = class78_26_; + maxEntryLength = i_27_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("nw.(" + i + ',' + (class78 != null ? "{...}" : "null") + ',' + (class78_26_ != null ? "{...}" : "null") + ',' + i_27_ + ')')); + } + } +} diff --git a/client/cache/CacheStore.java b/client/cache/CacheStore.java new file mode 100644 index 000000000..78cf7078e --- /dev/null +++ b/client/cache/CacheStore.java @@ -0,0 +1,542 @@ +/* CacheStore - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class45` (JODE-obfuscated). + * JS5 archive store: resolve files by name or id via {@link #getFile}. + * Lazy-loads {@link #referenceTable} from {@link #archive}; caches packed groups + * and unpacked files. {@link #discardMode} controls post-read eviction. + */ + +final class CacheStore { + static int anInt626; + static int anInt627; + static int anInt628; + private ReferenceTable referenceTable = null; + static int anInt630; + static int anInt631; + static int anInt632; + static int anInt633; + /** Eviction: {@code 1} drop file after read, {@code 2} drop whole group. */ + int discardMode; + static int anInt635; + static int anInt636; + static int anInt637; + static int anInt638; + static int anInt639; + static int anInt640; + static int anInt641; + static int anInt642; + static StringCache aClass351_643 = new StringCache(3, -1); + static int anInt644; + static int anInt645; + static int anInt646; + static int anInt647; + static int anInt648; + static int anInt649; + static int anInt650; + static int anInt651; + static int anInt652; + static int anInt653; + static int anInt654; + private final boolean discardPacked; + private Object[] packedGroups; + static int anInt657; + static int anInt658; + private Component112 archive; + static int anInt660; + static int anInt661; + static int anInt662; + static int anInt663; + private Object[][] unpackedFiles; + static int anInt665; + static int anInt666; + static long aLong667; + static int anInt668; + static int anInt669 = 0; + static float aFloat670; + + final int getCrc(int i) { + int i_0_ = -117 / ((-60 - i) / 33); + anInt657++; + if (!ensureReferenceTable(false)) throw new IllegalStateException(""); + return referenceTable.crc; + } + + public static void clearStatics(byte i) { + aClass351_643 = null; + if (i != 10) clearStatics((byte) -3); + } + + final byte[] getFile(String string, String string_1_, int i) { + try { + anInt647++; + if (!ensureReferenceTable(false)) return null; + string = string.toLowerCase(); + string_1_ = string_1_.toLowerCase(); + int i_2_ = referenceTable.groupNameTable.lookup(1, Component337.hashString(string, -29286)); + if (!isValidGroup(i_2_, (byte) -40)) return null; + if (i != -29832) isValidGroup(22, (byte) 12); + int i_3_ = (referenceTable.fileNameTables[i_2_].lookup(i ^ ~0x7486, Component337.hashString(string_1_, -29286))); + return getFile(-1860, i_2_, i_3_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("in.EA(" + (string != null ? "{...}" : "null") + ',' + (string_1_ != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + private final boolean isValidGroup(int i, byte i_4_) { + anInt646++; + if (!ensureReferenceTable(false)) return false; + if (i < 0 || referenceTable.fileCounts.length <= i || (referenceTable.fileCounts[i] == 0)) { + if (DebugPanic.aBoolean4741) throw new IllegalArgumentException(Integer.toString(i)); + return false; + } + return i_4_ == -40; + } + + final byte[] getFile(int i, int i_5_, int i_6_, int[] is) { + anInt639++; + if (i_6_ != 2) anInt669 = 51; + if (!isValidFile(i_5_, i_6_ + -2, i)) return null; + if (unpackedFiles[i] == null || unpackedFiles[i][i_5_] == null) { + boolean bool = unpackFile(i_5_, (byte) -78, is, i); + if (!bool) { + loadGroup(i, -117); + bool = unpackFile(i_5_, (byte) -103, is, i); + if (!bool) return null; + } + } + byte[] is_7_ = Cp1252Decoder.unwrapBytes(false, unpackedFiles[i][i_5_], 53146732); + if (this.discardMode == 1) { + unpackedFiles[i][i_5_] = null; + if (referenceTable.fileCounts[i] == 1) unpackedFiles[i] = null; + } else if (this.discardMode == 2) unpackedFiles[i] = null; + return is_7_; + } + + private final boolean unpackFile(int i, byte i_8_, int[] is, int i_9_) { + anInt628++; + if (!isValidGroup(i_9_, (byte) -40)) return false; + if (packedGroups[i_9_] == null) return false; + int i_10_ = referenceTable.fileIdCounts[i_9_]; + int[] is_11_ = referenceTable.fileIds[i_9_]; + if (unpackedFiles[i_9_] == null) unpackedFiles[i_9_] = new Object[referenceTable.fileCounts[i_9_]]; + Object[] objects = unpackedFiles[i_9_]; + boolean bool = true; + for (int i_12_ = 0; i_10_ > i_12_; i_12_++) { + int i_13_; + if (is_11_ == null) i_13_ = i_12_; + else i_13_ = is_11_[i_12_]; + if (objects[i_13_] == null) { + bool = false; + break; + } + } + if (bool) return true; + byte[] is_14_; + if (is == null || (is[0] == 0 && is[1] == 0 && is[2] == 0 && is[3] == 0)) is_14_ = Cp1252Decoder.unwrapBytes(false, packedGroups[i_9_], 53146732); + else { + is_14_ = Cp1252Decoder.unwrapBytes(true, packedGroups[i_9_], 53146732); + Buffer class348_sub49 = new Buffer(is_14_); + class348_sub49.xteaDecrypt(607818341, is, 5, (class348_sub49.payload).length); + } + byte[] is_15_; + try { + is_15_ = NodeSub41.decompressContainer(is_14_, -120); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("T3 - " + (is != null) + "," + i_9_ + "," + is_14_.length + "," + Component210.crc32(5126, is_14_.length, is_14_) + "," + Component210.crc32(5126, -2 + is_14_.length, is_14_) + "," + referenceTable.groupCrcs[i_9_] + "," + referenceTable.crc)); + } + if (discardPacked) packedGroups[i_9_] = null; + if (i_8_ >= -17) getSingletonFile((byte) 70, -7); + if (i_10_ > 1) { + if (this.discardMode == 2) { + int i_30_ = is_15_.length; + int i_31_ = 0xff & is_15_[--i_30_]; + i_30_ -= 4 * (i_31_ * i_10_); + Buffer class348_sub49 = new Buffer(is_15_); + int i_32_ = 0; + int i_33_ = 0; + class348_sub49.offset = i_30_; + for (int i_34_ = 0; i_34_ < i_31_; i_34_++) { + int i_35_ = 0; + for (int i_36_ = 0; i_36_ < i_10_; i_36_++) { + i_35_ += class348_sub49.readInt((byte) -126); + int i_37_; + if (is_11_ == null) i_37_ = i_36_; + else i_37_ = is_11_[i_36_]; + if (i == i_37_) { + i_33_ = i_37_; + i_32_ += i_35_; + } + } + } + if (i_32_ == 0) return true; + byte[] is_38_ = new byte[i_32_]; + class348_sub49.offset = i_30_; + i_32_ = 0; + int i_39_ = 0; + for (int i_40_ = 0; i_40_ < i_31_; i_40_++) { + int i_41_ = 0; + for (int i_42_ = 0; i_42_ < i_10_; i_42_++) { + i_41_ += class348_sub49.readInt((byte) -126); + int i_43_; + if (is_11_ != null) i_43_ = is_11_[i_42_]; + else i_43_ = i_42_; + if (i_43_ == i) { + Component313.arraycopy(is_15_, i_39_, is_38_, i_32_, i_41_); + i_32_ += i_41_; + } + i_39_ += i_41_; + } + } + objects[i_33_] = is_38_; + } else { + int i_16_ = is_15_.length; + int i_17_ = 0xff & is_15_[--i_16_]; + i_16_ -= 4 * (i_10_ * i_17_); + Buffer class348_sub49 = new Buffer(is_15_); + int[] is_18_ = new int[i_10_]; + class348_sub49.offset = i_16_; + for (int i_19_ = 0; i_19_ < i_17_; i_19_++) { + int i_20_ = 0; + for (int i_21_ = 0; i_21_ < i_10_; i_21_++) { + i_20_ += class348_sub49.readInt((byte) -126); + is_18_[i_21_] += i_20_; + } + } + byte[][] is_22_ = new byte[i_10_][]; + for (int i_23_ = 0; i_10_ > i_23_; i_23_++) { + is_22_[i_23_] = new byte[is_18_[i_23_]]; + is_18_[i_23_] = 0; + } + class348_sub49.offset = i_16_; + int i_24_ = 0; + for (int i_25_ = 0; i_25_ < i_17_; i_25_++) { + int i_26_ = 0; + for (int i_27_ = 0; i_10_ > i_27_; i_27_++) { + i_26_ += class348_sub49.readInt((byte) -126); + Component313.arraycopy(is_15_, i_24_, is_22_[i_27_], is_18_[i_27_], i_26_); + i_24_ += i_26_; + is_18_[i_27_] += i_26_; + } + } + for (int i_28_ = 0; i_10_ > i_28_; i_28_++) { + int i_29_; + if (is_11_ == null) i_29_ = i_28_; + else i_29_ = is_11_[i_28_]; + if (this.discardMode != 0) objects[i_29_] = is_22_[i_28_]; + else objects[i_29_] = BrowserDetector.wrapSoft(is_22_[i_28_], false, (byte) 126); + } + } + } else { + int i_44_; + if (is_11_ != null) i_44_ = is_11_[0]; + else i_44_ = 0; + if (this.discardMode != 0) objects[i_44_] = is_15_; + else objects[i_44_] = BrowserDetector.wrapSoft(is_15_, false, (byte) 104); + } + return true; + } + + static final void method395(int i) throws Exception_Sub1 { + if (Buffer.anInt7207 == 1) Component158.aHa326.method3626(NewsFetcher.anInt4211, DefinitionSub8.anInt9157); + else Component158.aHa326.method3626(0, 0); + if (i >= 73) anInt642++; + } + + final int[] getFileIds(int i, int i_45_) { + anInt640++; + if (i_45_ != 0) getCrc(-55); + if (!isValidGroup(i, (byte) -40)) return null; + int[] is = referenceTable.fileIds[i]; + if (is == null) { + is = new int[referenceTable.fileIdCounts[i]]; + for (int i_46_ = 0; i_46_ < is.length; i_46_++) + is[i_46_] = i_46_; + } + return is; + } + + final int getNamedGroupLoadPercent(String string, int i) { + anInt633++; + if (!ensureReferenceTable(false)) return 0; + string = string.toLowerCase(); + if (i != 0) archive = null; + int i_47_ = referenceTable.groupNameTable.lookup(1, Component337.hashString(string, i ^ ~0x7265)); + return getGroupLoadPercent(i, i_47_); + } + + final int getAverageLoadPercent(byte i) { + anInt641++; + if (!ensureReferenceTable(false)) return 0; + int i_48_ = 0; + int i_49_ = 0; + int i_50_ = 0; + if (i != -31) return 50; + for (/**/; packedGroups.length > i_50_; i_50_++) { + if (referenceTable.fileIdCounts[i_50_] > 0) { + i_49_ += getGroupLoadPercent(0, i_50_); + i_48_ += 100; + } + } + if (i_48_ == 0) return 100; + int i_51_ = i_49_ * 100 / i_48_; + return i_51_; + } + + private final boolean ensureReferenceTable(boolean bool) { + anInt652++; + if (referenceTable == null) { + referenceTable = archive.getReferenceTable((byte) 56); + if (referenceTable == null) return false; + packedGroups = new Object[referenceTable.groupCapacity]; + unpackedFiles = new Object[referenceTable.groupCapacity][]; + } + if (bool != false) archive = null; + return true; + } + + final boolean hasGroup(int i, String string) { + anInt635++; + if (!ensureReferenceTable(false)) return false; + if (i != -18308) return false; + string = string.toLowerCase(); + int i_52_ = referenceTable.groupNameTable.lookup(1, Component337.hashString(string, -29286)); + return i_52_ >= 0; + } + + final boolean prefetchMandatory(int i) { + anInt648++; + if (!ensureReferenceTable(false)) return false; + boolean bool = true; + for (int i_53_ = 0; (i_53_ < referenceTable.groupIds.length); i_53_++) { + int i_54_ = referenceTable.groupIds[i_53_]; + if (packedGroups[i_54_] == null) { + loadGroup(i_54_, -128); + if (packedGroups[i_54_] == null) bool = false; + } + } + if (i < 33) getFileCount(100, -92); + return bool; + } + + private final void requestGroupLoad(byte i, int i_55_) { + anInt658++; + if (i < -70) archive.requestGroup((byte) -52, i_55_); + } + + private final boolean containsFile(String string, int i, String string_56_) { + try { + anInt626++; + if (!ensureReferenceTable(false)) return false; + string = string.toLowerCase(); + string_56_ = string_56_.toLowerCase(); + int i_57_ = (referenceTable.groupNameTable.lookup(i ^ 0x1c1a, Component337.hashString(string, -29286))); + if (i != 7195) containsFile(null, -20, null); + if (!isValidGroup(i_57_, (byte) -40)) return false; + int i_58_ = referenceTable.fileNameTables[i_57_].lookup(1, Component337.hashString(string_56_, -29286)); + return isFileReady(i + -17694, i_57_, i_58_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("in.Q(" + (string != null ? "{...}" : "null") + ',' + i + ',' + (string_56_ != null ? "{...}" : "null") + ')')); + } + } + + final void clearNameTables(int i, boolean bool, boolean bool_59_) { + anInt644++; + if (i != 0) getFile(null, null, -3); + if (ensureReferenceTable(false)) { + if (bool_59_) { + referenceTable.groupNameHashes = null; + referenceTable.groupNameTable = null; + } + if (bool) { + referenceTable.fileNameHashes = null; + referenceTable.fileNameTables = null; + } + } + } + + final void clearPacked(int i) { + anInt650++; + if (i != 0) contains((byte) -45, null); + if (packedGroups != null) { + for (int i_60_ = 0; i_60_ < packedGroups.length; i_60_++) + packedGroups[i_60_] = null; + } + } + + private final void loadGroup(int i, int i_61_) { + if (i_61_ > -105) unpackedFiles = null; + if (!discardPacked) packedGroups[i] = BrowserDetector.wrapSoft(archive.getGroupData(i, (byte) 73), false, (byte) 123); + else packedGroups[i] = archive.getGroupData(i, (byte) 12); + anInt665++; + } + + final int getFileCount(int i, int i_62_) { + if (i != 0) getCrc(-61); + anInt645++; + if (!isValidGroup(i_62_, (byte) -40)) return 0; + return referenceTable.fileCounts[i_62_]; + } + + final boolean isGroupReady(byte i, int i_63_) { + anInt632++; + if (!isValidGroup(i_63_, (byte) -40)) return false; + if (packedGroups[i_63_] != null) return true; + loadGroup(i_63_, -124); + if (packedGroups[i_63_] != null) return true; + if (i > -112) this.discardMode = -26; + return false; + } + + final void requestGroupByName(String string, boolean bool) { + anInt663++; + if (bool == true && ensureReferenceTable(false)) { + string = string.toLowerCase(); + int i = referenceTable.groupNameTable.lookup(1, Component337.hashString(string, -29286)); + requestGroupLoad((byte) -86, i); + } + } + + final byte[] getFile(int i, int i_64_, int i_65_) { + if (i != -1860) unpackedFiles = null; + anInt651++; + return getFile(i_64_, i_65_, i ^ ~0x741, null); + } + + final void clearUnpackedGroup(int i, int i_66_) { + anInt627++; + if (i_66_ > -9) unpackFile(-111, (byte) -98, null, -71); + if (isValidGroup(i, (byte) -40)) { + if (unpackedFiles != null) unpackedFiles[i] = null; + } + } + + final void clearUnpacked(byte i) { + if (unpackedFiles != null) { + for (int i_67_ = 0; unpackedFiles.length > i_67_; i_67_++) + unpackedFiles[i_67_] = null; + } + int i_68_ = 52 % ((-46 - i) / 62); + anInt660++; + } + + final boolean isGroupReadyByName(int i, String string) { + anInt636++; + if (!ensureReferenceTable(false)) return false; + string = string.toLowerCase(); + int i_69_ = referenceTable.groupNameTable.lookup(i + -99, Component337.hashString(string, -29286)); + if (i != 100) aFloat670 = 0.37849286F; + return isGroupReady((byte) -120, i_69_); + } + + final int getGroupCapacity(int i) { + anInt637++; + if (i != -1) return 49; + if (!ensureReferenceTable(false)) return -1; + return referenceTable.fileCounts.length; + } + + final byte[] getSingletonFile(byte i, int i_70_) { + anInt630++; + if (!ensureReferenceTable(false)) return null; + if (referenceTable.fileCounts.length == 1) return getFile(i ^ ~0x70a, 0, i_70_); + if (!isValidGroup(i_70_, (byte) -40)) return null; + if (i != 73) unpackedFiles = null; + if (referenceTable.fileCounts[i_70_] == 1) return getFile(i ^ ~0x70a, i_70_, 0); + throw new RuntimeException(); + } + + final boolean contains(byte i, String string) { + anInt631++; + int i_71_ = getGroupId("", i + 74); + if (i_71_ != -1) return containsFile("", 7195, string); + if (i != -74) return false; + return containsFile(string, 7195, ""); + } + + final int getGroupId(String string, int i) { + if (i != 0) return 113; + anInt654++; + if (!ensureReferenceTable(false)) return -1; + string = string.toLowerCase(); + int i_72_ = referenceTable.groupNameTable.lookup(1, Component337.hashString(string, -29286)); + if (!isValidGroup(i_72_, (byte) -40)) return -1; + return i_72_; + } + + private final boolean isValidFile(int i, int i_73_, int i_74_) { + anInt662++; + if (!ensureReferenceTable(false)) return false; + if (i_74_ < i_73_ || i < 0 || (referenceTable.fileCounts.length <= i_74_) || (referenceTable.fileCounts[i_74_] <= i)) { + if (DebugPanic.aBoolean4741) throw new IllegalArgumentException(i_74_ + "," + i); + return false; + } + return true; + } + + private final int getGroupLoadPercent(int i, int i_75_) { + if (i != 0) return -117; + anInt653++; + if (!isValidGroup(i_75_, (byte) -40)) return 0; + if (packedGroups[i_75_] != null) return 100; + return archive.getGroupLoadPercent(i_75_, i + -22197); + } + + final boolean isFileReady(int i, int i_76_, int i_77_) { + anInt638++; + if (!isValidFile(i_77_, 0, i_76_)) return false; + if (unpackedFiles[i_76_] != null && unpackedFiles[i_76_][i_77_] != null) return true; + if (i != -10499) return true; + if (packedGroups[i_76_] != null) return true; + loadGroup(i_76_, -125); + return packedGroups[i_76_] != null; + } + + final boolean isSingletonFileReady(boolean bool, int i) { + anInt661++; + if (!ensureReferenceTable(bool)) return false; + if (referenceTable.fileCounts.length == 1) return isFileReady(-10499, 0, i); + if (!isValidGroup(i, (byte) -40)) return false; + if (referenceTable.fileCounts[i] == 1) return isFileReady(-10499, i, 0); + if (bool != false) return false; + throw new RuntimeException(); + } + + final boolean containsNamed(String string, String string_78_, int i) { + try { + anInt668++; + if (!ensureReferenceTable(false)) return false; + string_78_ = string_78_.toLowerCase(); + if (i > -18) anInt669 = 40; + string = string.toLowerCase(); + int i_79_ = referenceTable.groupNameTable.lookup(1, Component337.hashString(string_78_, -29286)); + if (i_79_ < 0) return false; + int i_80_ = referenceTable.fileNameTables[i_79_].lookup(1, Component337.hashString(string, -29286)); + return i_80_ >= 0; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("in.M(" + (string != null ? "{...}" : "null") + ',' + (string_78_ != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + final int getGroupIdByHash(int i, byte i_81_) { + anInt649++; + if (!ensureReferenceTable(false)) return -1; + int i_82_ = referenceTable.groupNameTable.lookup(1, i); + if (!isValidGroup(i_82_, (byte) -40)) return -1; + int i_83_ = -60 / ((i_81_ - -4) / 56); + return i_82_; + } + + CacheStore(Component112 class314, boolean bool, int i) { + if (i < 0 || i > 2) throw new IllegalArgumentException("js5: Invalid value " + i + " supplied for discardunpacked"); + archive = class314; + discardPacked = bool; + this.discardMode = i; + } + + static { + anInt666 = 100; + } +} diff --git a/client/cache/HuffmanDecoder.java b/client/cache/HuffmanDecoder.java new file mode 100644 index 000000000..9664cf0ce --- /dev/null +++ b/client/cache/HuffmanDecoder.java @@ -0,0 +1,218 @@ +/* HuffmanDecoder - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ +/** + * RENAMED from `Class296` (JODE-obfuscated). + * Huffman codec for Jagex string / packet compression. + * {@link #decompress} expands bitstreams; {@link #compress} emits codewords + * (throws {@code No codeword for data value} when a byte has length 0). + */ + +final class HuffmanDecoder { + static int anInt3765; + private final int[] codewords; + static boolean aBoolean3767 = false; + static int anInt3768; + private final byte[] codeLengths; + static int anInt3770; + static int anInt3771; + static int anInt3772; + static Component183 aClass114_3773 = new Component183(55, 0); + private int[] decodeTree; + static int anInt3775; + + static final boolean method2224(int i, byte i_0_, int i_1_) { + int i_2_ = 41 / ((59 - i_0_) / 37); + anInt3765++; + return (i & 0x800) != 0; + } + + public static void clearStatics(int i) { + if (i != 32) aClass114_3773 = null; + aClass114_3773 = null; + } + + /** Decode {@code is_3_} bits into {@code is}; returns bytes consumed from input. */ + final int decompress(byte[] is, int i, byte[] is_3_, int i_4_, int i_5_, int i_6_) { + try { + anInt3770++; + if (i_4_ == 0) return 0; + i_4_ += i_6_; + int i_7_ = 0; + if (i_5_ != -1) decodeTree = null; + int i_8_ = i; + for (; ; ) { + byte i_9_ = is_3_[i_8_]; + if (i_9_ >= 0) i_7_++; + else i_7_ = decodeTree[i_7_]; + int i_10_; + if ((i_10_ = decodeTree[i_7_]) < 0) { + is[i_6_++] = (byte) (~i_10_); + if (i_4_ <= i_6_) break; + i_7_ = 0; + } + if ((0x40 & i_9_) != 0) i_7_ = decodeTree[i_7_]; + else i_7_++; + if ((i_10_ = decodeTree[i_7_]) < 0) { + is[i_6_++] = (byte) (~i_10_); + if (i_6_ >= i_4_) break; + i_7_ = 0; + } + if ((0x20 & i_9_) == 0) i_7_++; + else i_7_ = decodeTree[i_7_]; + if ((i_10_ = decodeTree[i_7_]) < 0) { + is[i_6_++] = (byte) (~i_10_); + if (i_6_ >= i_4_) break; + i_7_ = 0; + } + if ((i_9_ & 0x10) == 0) i_7_++; + else i_7_ = decodeTree[i_7_]; + if ((i_10_ = decodeTree[i_7_]) < 0) { + is[i_6_++] = (byte) (~i_10_); + if (i_6_ >= i_4_) break; + i_7_ = 0; + } + if ((0x8 & i_9_) == 0) i_7_++; + else i_7_ = decodeTree[i_7_]; + if ((i_10_ = decodeTree[i_7_]) < 0) { + is[i_6_++] = (byte) (~i_10_); + if (i_4_ <= i_6_) break; + i_7_ = 0; + } + if ((i_9_ & 0x4) != 0) i_7_ = decodeTree[i_7_]; + else i_7_++; + if ((i_10_ = decodeTree[i_7_]) < 0) { + is[i_6_++] = (byte) (~i_10_); + if (i_4_ <= i_6_) break; + i_7_ = 0; + } + if ((i_9_ & 0x2) == 0) i_7_++; + else i_7_ = decodeTree[i_7_]; + if ((i_10_ = decodeTree[i_7_]) < 0) { + is[i_6_++] = (byte) (~i_10_); + if (i_4_ <= i_6_) break; + i_7_ = 0; + } + if ((i_9_ & 0x1) != 0) i_7_ = decodeTree[i_7_]; + else i_7_++; + if ((i_10_ = decodeTree[i_7_]) < 0) { + is[i_6_++] = (byte) (~i_10_); + if (i_6_ >= i_4_) break; + i_7_ = 0; + } + i_8_++; + } + return i_8_ + 1 + -i; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wda.A(" + (is != null ? "{...}" : "null") + ',' + i + ',' + (is_3_ != null ? "{...}" : "null") + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ')')); + } + } + + /** Encode {@code is} into bitstream {@code is_14_}; returns bit length. */ + final int compress(int i, int i_11_, int i_12_, byte[] is, int i_13_, byte[] is_14_) { + try { + anInt3771++; + int i_15_ = 0; + i += i_11_; + int i_16_ = i_12_ << 3; + if (i_13_ <= 14) decompress(null, 61, null, 89, 122, 10); + for (/**/; i > i_11_; i_11_++) { + int i_17_ = 0xff & is[i_11_]; + int i_18_ = codewords[i_17_]; + int i_19_ = codeLengths[i_17_]; + if (i_19_ == 0) throw new RuntimeException("No codeword for data value " + i_17_); + int i_20_ = i_16_ >> 3; + int i_21_ = i_16_ & 0x7; + i_15_ &= -i_21_ >> 31; + int i_22_ = (i_21_ - -i_19_ + -1 >> 3) + i_20_; + i_16_ += i_19_; + i_21_ += 24; + is_14_[i_20_] = (byte) (i_15_ = Component224.bitwiseOr(i_15_, i_18_ >>> i_21_)); + if (i_22_ > i_20_) { + i_20_++; + i_21_ -= 8; + is_14_[i_20_] = (byte) (i_15_ = i_18_ >>> i_21_); + if (i_20_ < i_22_) { + i_20_++; + i_21_ -= 8; + is_14_[i_20_] = (byte) (i_15_ = i_18_ >>> i_21_); + if (i_22_ > i_20_) { + i_21_ -= 8; + i_20_++; + is_14_[i_20_] = (byte) (i_15_ = i_18_ >>> i_21_); + if (i_20_ < i_22_) { + i_21_ -= 8; + i_20_++; + is_14_[i_20_] = (byte) (i_15_ = i_18_ << -i_21_); + } + } + } + } + } + return -i_12_ + (i_16_ - -7 >> 3); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wda.C(" + i + ',' + i_11_ + ',' + i_12_ + ',' + (is != null ? "{...}" : "null") + ',' + i_13_ + ',' + (is_14_ != null ? "{...}" : "null") + ')')); + } + } + + static final void method2228(int i) { + if (i == 0) { + ScreenModeManager.method1582(7851); + anInt3772++; + Component381.method3570(false); + } + } + + HuffmanDecoder(byte[] is) { + int i = is.length; + codewords = new int[i]; + codeLengths = is; + decodeTree = new int[8]; + int[] is_23_ = new int[33]; + int i_24_ = 0; + for (int i_25_ = 0; i_25_ < i; i_25_++) { + int i_26_ = is[i_25_]; + if (i_26_ != 0) { + int i_27_ = 1 << 32 - i_26_; + int i_28_ = is_23_[i_26_]; + codewords[i_25_] = i_28_; + int i_29_; + if ((i_27_ & i_28_) == 0) { + for (int i_30_ = -1 + i_26_; i_30_ >= 1; i_30_--) { + int i_31_ = is_23_[i_30_]; + if (i_31_ != i_28_) break; + int i_32_ = 1 << 32 + -i_30_; + if ((i_31_ & i_32_) != 0) { + is_23_[i_30_] = is_23_[i_30_ - 1]; + break; + } + is_23_[i_30_] = Component224.bitwiseOr(i_31_, i_32_); + } + i_29_ = i_27_ | i_28_; + } else i_29_ = is_23_[-1 + i_26_]; + is_23_[i_26_] = i_29_; + for (int i_33_ = i_26_ + 1; i_33_ <= 32; i_33_++) { + if (i_28_ == is_23_[i_33_]) is_23_[i_33_] = i_29_; + } + int i_34_ = 0; + for (int i_35_ = 0; i_35_ < i_26_; i_35_++) { + int i_36_ = -2147483648 >>> i_35_; + if ((i_28_ & i_36_) == 0) i_34_++; + else { + if (decodeTree[i_34_] == 0) decodeTree[i_34_] = i_24_; + i_34_ = decodeTree[i_34_]; + } + i_36_ >>>= 1; + if (decodeTree.length <= i_34_) { + int[] is_37_ = new int[decodeTree.length * 2]; + for (int i_38_ = 0; decodeTree.length > i_38_; i_38_++) + is_37_[i_38_] = decodeTree[i_38_]; + decodeTree = is_37_; + } + } + decodeTree[i_34_] = ~i_25_; + if (i_34_ >= i_24_) i_24_ = 1 + i_34_; + } + } + } +} diff --git a/client/cache/ImageCache.java b/client/cache/ImageCache.java new file mode 100644 index 000000000..57b462c50 --- /dev/null +++ b/client/cache/ImageCache.java @@ -0,0 +1,141 @@ +/* ImageCache - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class191` (JODE-obfuscated). + * Image pixel cache. Holds int[][] RGB pixel buffers (getAllBuffers throws 'Can only retrieve a full image cache'), backed by NodederUtil[] and a NodeList; caches decoded images for reuse. + */ + +final class ImageCache { + static int anInt2556; + private int usedSlots = 0; + static int anInt2558; + private final int capacity; + static int anInt2560; + private NodeList lruList; + private int singleImageId = -1; + private NodederUtil[] slots; + private int[][] buffers; + private int imageCount; + static int anInt2566; + static int anInt2567; + static Component150 aClass227_2568 = new Component150(0); + static int anInt2569; + /** True when the last {@link #getPixels} allocated or reused a different slot. */ + boolean cacheMiss; + static DisplayModeManagerContainer42 aClass304_2571 = new DisplayModeManagerContainer42(2); + + final int[][] getAllBuffers(byte i) { + anInt2558++; + if (capacity != imageCount) throw new RuntimeException("Can only retrieve a full image cache"); + for (int i_0_ = 0; capacity > i_0_; i_0_++) + slots[i_0_] = ShaderSub3.aClass348_Sub6_5206; + if (i != 16) getAllBuffers((byte) -42); + return buffers; + } + + static final void method1428(boolean bool) { + DisplayModeManagerContainer173.anImage4249 = null; + anInt2569++; + StringCache.aFont4329 = null; + if (bool != true) method1431(-122); + } + + static final void method1429(String string, int i) { + ShaderProgramSub2.method2144("", i, (byte) -125, 0, string, "", ""); + anInt2560++; + } + + static final void method1430(int i, byte i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, DisplayModeManagerContainer58 class318_sub1_sub3_sub3, DisplayModeManagerContainer58 class318_sub1_sub3_sub3_8_) { + try { + anInt2567++; + int i_9_ = class318_sub1_sub3_sub3.method2425(-1); + if (i_9_ != -1) { + Object object = null; + Component24 class105 = ((Component24) NodeSub1Sub1.aClass60_8807.get(i_9_, 118)); + if (class105 == null) { + Component170[] class207s = Component170.method1519(Component158.aClass45_322, i_9_, 0); + if (class207s == null) return; + class105 = NodeSub8.toolkit.method3691(class207s[0], true); + NodeSub1Sub1.aClass60_8807.putOne(class105, i_9_, (byte) -115); + } + ShaderSub2.method165(class318_sub1_sub3_sub3_8_.plane, i_5_, 0, i_3_ >> 1, class318_sub1_sub3_sub3_8_.x, class318_sub1_sub3_sub3_8_.method2436((byte) 126) * 256, class318_sub1_sub3_sub3_8_.y, (byte) 92, i_6_ >> 1, i_2_); + int i_10_ = i_7_ + (Component71.anIntArray6062[0] + -18); + int i_11_ = -54 + (Component71.anIntArray6062[1] + i_4_) - 16; + i_10_ += i / 4 * 18; + i_11_ += 18 * (i % 4); + int i_12_ = -76 / ((i_1_ - 3) / 38); + class105.method974(i_10_, i_11_); + if (class318_sub1_sub3_sub3 == class318_sub1_sub3_sub3_8_) NodeSub8.toolkit.method3668(18, -1 + i_11_, -256, i_10_ - 1, 18, 57); + Component103.method2663(-5590, i_10_ + -1, 18 + i_10_, i_11_ + -1, i_11_ - -18); + RenderableSub6 class318_sub6 = AbstractShader.method3529(32564); + class318_sub6.anInt6426 = 16 + i_10_; + class318_sub6.anInt6427 = i_11_; + class318_sub6.aClass318_Sub1_Sub3_Sub3_6431 = class318_sub1_sub3_sub3; + class318_sub6.anInt6425 = i_11_ - -16; + class318_sub6.anInt6429 = i_10_; + InputStream_Sub2.aClass243_83.method1869(-87, class318_sub6); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qk.G(" + i + ',' + i_1_ + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + (class318_sub1_sub3_sub3 != null ? "{...}" : "null") + ',' + ((class318_sub1_sub3_sub3_8_ != null) ? "{...}" : "null") + ')')); + } + } + + public static void method1431(int i) { + aClass304_2571 = null; + aClass227_2568 = null; + if (i != 0) aClass227_2568 = null; + } + + final void clear(byte i) { + for (int i_13_ = 0; i_13_ < capacity; i_13_++) + buffers[i_13_] = null; + anInt2556++; + slots = null; + buffers = null; + lruList.clear(112); + if (i != 124) imageCount = -126; + lruList = null; + } + + final int[] getPixels(int i, int i_14_) { + if (i != 0) getAllBuffers((byte) 108); + anInt2566++; + if (capacity == imageCount) { + this.cacheMiss = slots[i_14_] == null; + slots[i_14_] = ShaderSub3.aClass348_Sub6_5206; + return buffers[i_14_]; + } + if (capacity != 1) { + NodederUtil class348_sub6 = slots[i_14_]; + if (class348_sub6 == null) { + this.cacheMiss = true; + if (usedSlots < capacity) { + class348_sub6 = new NodederUtil(i_14_, usedSlots); + usedSlots++; + } else { + NodederUtil class348_sub6_15_ = (NodederUtil) lruList.last(i + -123); + class348_sub6 = new NodederUtil(i_14_, class348_sub6_15_.anInt6636); + slots[class348_sub6_15_.anInt6630] = null; + class348_sub6_15_.unlink((byte) 80); + } + slots[i_14_] = class348_sub6; + } else this.cacheMiss = false; + lruList.addHead(class348_sub6, -90); + return (buffers[class348_sub6.anInt6636]); + } + this.cacheMiss = i_14_ != singleImageId; + singleImageId = i_14_; + return buffers[0]; + } + + ImageCache(int i, int i_16_, int i_17_) { + lruList = new NodeList(); + this.cacheMiss = false; + capacity = i; + imageCount = i_16_; + slots = new NodederUtil[imageCount]; + buffers = new int[capacity][i_17_]; + } +} diff --git a/client/cache/ImageCacheStore.java b/client/cache/ImageCacheStore.java new file mode 100644 index 000000000..0260a319a --- /dev/null +++ b/client/cache/ImageCacheStore.java @@ -0,0 +1,171 @@ +/* ImageCacheStore - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ +/** + * RENAMED from `Class322` (JODE-obfuscated). + * Full image cache store. Holds int[][][] RGB pixel buffers; getAllBuffers throws 'Can only retrieve a full image cache' if the cache is not fully populated. + */ + +final class ImageCacheStore { + static int anInt4018; + static int anInt4019; + private final int capacity; + private NodeList lruList; + private int singleImageId; + static int anInt4023; + private final int imageCount; + private int usedSlots = 0; + static int anInt4026; + static Component183 aClass114_4027; + static int anInt4028; + private int[][][] buffers; + static int anInt4030; + static int[] anIntArray4031; + static int anInt4032 = -1; + private ClientSystemInfo[] slots; + static int anInt4034; + /** True when the last {@link #getPixels} allocated or reused a different slot. */ + boolean cacheMiss; + static Component17 aClass308_4036; + + static final int method2552(boolean bool, int i, int i_0_, int i_1_) { + if (i_1_ != -24667) method2554((byte) 95); + anInt4023++; + NodeSub13 class348_sub13 = AbstractGlTextureSub4.getContainerNode((byte) 4, i, bool); + if (class348_sub13 == null) return -1; + if (i_0_ < 0 || i_0_ >= class348_sub13.itemIds.length) return -1; + return class348_sub13.itemIds[i_0_]; + } + + final int[][][] getAllBuffers(int i) { + anInt4018++; + if (imageCount != capacity) throw new RuntimeException("Can only retrieve a full image cache"); + for (int i_2_ = i; i_2_ < capacity; i_2_++) + slots[i_2_] = DisplayModeManagerContainer196.aClass348_Sub24_4226; + return buffers; + } + + static final void method2554(byte i) { + if (i != -45) anInt4032 = 61; + anInt4030++; + if (Component37.anInt3931 == 1 || Component37.anInt3931 == 3 || (Component37.anInt3931 != Component178.anInt1447 && (Component37.anInt3931 == 0 || Component178.anInt1447 == 0))) { + NodeSub32.anInt6930 = 0; + Component324.anInt2057 = 0; + Component21.aClass356_3654.clear(0); + } + Component178.anInt1447 = Component37.anInt3931; + } + + public static void method2555(byte i) { + if (i != 28) method2554((byte) 21); + anIntArray4031 = null; + aClass114_4027 = null; + aClass308_4036 = null; + } + + static final void method2556(boolean bool, int i, DisplayModeManagerContainer58 class318_sub1_sub3_sub3) { + anInt4028++; + int i_3_ = -1; + int i_4_ = 0; + if (OpenGlShader.clientCycle < class318_sub1_sub3_sub3.anInt10239) RadixText.method1834(class318_sub1_sub3_sub3, (byte) -16); + else if (OpenGlShader.clientCycle <= (class318_sub1_sub3_sub3.anInt10300)) Component362.method1041(-1, class318_sub1_sub3_sub3); + else { + Component386.method1600(false, 0, class318_sub1_sub3_sub3); + i_3_ = Component366.anInt3062; + i_4_ = Component162.anInt8387; + } + if (bool != false) aClass114_4027 = null; + if ((class318_sub1_sub3_sub3.x < 512) || class318_sub1_sub3_sub3.y < 512 || (-512 + AbstractShaderSub4.anInt7319 * 512 <= class318_sub1_sub3_sub3.x) || (-512 + ParametricDefinition.anInt9109 * 512 <= class318_sub1_sub3_sub3.y)) { + class318_sub1_sub3_sub3.anInt10291 = -1; + class318_sub1_sub3_sub3.anInt10300 = 0; + i_4_ = 0; + i_3_ = -1; + class318_sub1_sub3_sub3.anIntArray10236 = null; + class318_sub1_sub3_sub3.anInt10269 = -1; + class318_sub1_sub3_sub3.anInt10286 = -1; + class318_sub1_sub3_sub3.anInt10239 = 0; + class318_sub1_sub3_sub3.x = (512 * (class318_sub1_sub3_sub3.anIntArray10320[0]) + 256 * class318_sub1_sub3_sub3.method2436((byte) 120)); + class318_sub1_sub3_sub3.y = (512 * (class318_sub1_sub3_sub3.anIntArray10317[0]) + class318_sub1_sub3_sub3.method2436((byte) 88) * 256); + class318_sub1_sub3_sub3.method2427(70); + } + if ((Component72.localPlayer == class318_sub1_sub3_sub3) && (class318_sub1_sub3_sub3.x < 6144 || class318_sub1_sub3_sub3.y < 6144 || (class318_sub1_sub3_sub3.x >= 512 * (AbstractShaderSub4.anInt7319 + -12)) || (512 * (ParametricDefinition.anInt9109 - 12) <= class318_sub1_sub3_sub3.y))) { + class318_sub1_sub3_sub3.anInt10291 = -1; + i_3_ = -1; + class318_sub1_sub3_sub3.anInt10300 = 0; + class318_sub1_sub3_sub3.anInt10269 = -1; + class318_sub1_sub3_sub3.anInt10239 = 0; + i_4_ = 0; + class318_sub1_sub3_sub3.anIntArray10236 = null; + class318_sub1_sub3_sub3.anInt10286 = -1; + class318_sub1_sub3_sub3.x = (512 * (class318_sub1_sub3_sub3.anIntArray10320[0]) + 256 * class318_sub1_sub3_sub3.method2436((byte) 115)); + class318_sub1_sub3_sub3.y = (512 * (class318_sub1_sub3_sub3.anIntArray10317[0]) + 256 * class318_sub1_sub3_sub3.method2436((byte) 115)); + class318_sub1_sub3_sub3.method2427(54); + } + int i_5_ = NodeSub8.method2774((byte) 108, class318_sub1_sub3_sub3); + NodeBaseSub2.method3443(true, class318_sub1_sub3_sub3); + DisplayModeManagerContainer5.method729(i_3_, i_5_, (byte) 67, class318_sub1_sub3_sub3, i_4_); + Component140.method3208(class318_sub1_sub3_sub3, i_3_, -98); + GameType.method1635(-69, class318_sub1_sub3_sub3); + } + + final int[][] getPixels(int i, int i_6_) { + anInt4034++; + if (i >= -75) method2554((byte) -61); + if (capacity != imageCount) { + if (capacity == 1) { + this.cacheMiss = i_6_ != singleImageId; + singleImageId = i_6_; + return buffers[0]; + } + ClientSystemInfo class348_sub24 = slots[i_6_]; + if (class348_sub24 == null) { + this.cacheMiss = true; + if (capacity <= usedSlots) { + ClientSystemInfo class348_sub24_7_ = (ClientSystemInfo) lruList.last(-126); + class348_sub24 = new ClientSystemInfo(i_6_, class348_sub24_7_.anInt6875); + slots[class348_sub24_7_.anInt6872] = null; + class348_sub24_7_.unlink((byte) 56); + } else { + class348_sub24 = new ClientSystemInfo(i_6_, usedSlots); + usedSlots++; + } + slots[i_6_] = class348_sub24; + } else this.cacheMiss = false; + lruList.addHead(class348_sub24, -110); + return (buffers[class348_sub24.anInt6875]); + } + this.cacheMiss = slots[i_6_] == null; + slots[i_6_] = DisplayModeManagerContainer196.aClass348_Sub24_4226; + return buffers[i_6_]; + } + + final void clear(int i) { + anInt4019++; + if (i != 6144) buffers = null; + for (int i_8_ = 0; capacity > i_8_; i_8_++) { + buffers[i_8_][0] = null; + buffers[i_8_][1] = null; + buffers[i_8_][2] = null; + buffers[i_8_] = null; + } + slots = null; + buffers = null; + lruList.clear(99); + lruList = null; + } + + ImageCacheStore(int i, int i_9_, int i_10_) { + singleImageId = -1; + lruList = new NodeList(); + this.cacheMiss = false; + capacity = i; + imageCount = i_9_; + slots = new ClientSystemInfo[imageCount]; + buffers = new int[capacity][3][i_10_]; + } + + static { + aClass114_4027 = new Component183(90, 10); + aClass308_4036 = new Component17(128); + } +} diff --git a/client/cache/InflaterDecompressor.java b/client/cache/InflaterDecompressor.java new file mode 100644 index 000000000..654016b9b --- /dev/null +++ b/client/cache/InflaterDecompressor.java @@ -0,0 +1,107 @@ +/* InflaterDecompressor - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class152` (JODE-obfuscated). + * Zlib/gzip decompressor. Uses java.util.zip.Inflater; decompress(int, byte[]) reads the uncompressed length from a Buffer and inflates the payload. + */ + +import java.util.zip.Inflater; + +final class InflaterDecompressor { + static int anInt2070; + static int anInt2071; + /** Shared java.util.zip inflater (nowrap/GZIP). */ + private Inflater inflater; + static int anInt2073; + static int anInt2074; + static float[] aFloatArray2075 = new float[2]; + static boolean[] aBooleanArray2076 = new boolean[100]; + static Component315 aClass243_2077; + static int anInt2078; + + final byte[] decompress(int i, byte[] is) { + anInt2074++; + Buffer class348_sub49 = new Buffer(is); + class348_sub49.offset = is.length - 4; + int i_0_ = class348_sub49.readIntLittleEndian(-86); + class348_sub49.offset = 0; + if (i != 9) aFloatArray2075 = null; + byte[] is_1_ = new byte[i_0_]; + inflateGzip(is_1_, 29123, class348_sub49); + return is_1_; + } + + /** + * After a login/world failure path: force clientState toward title (3) or reconnect (5) + * depending on the current state (video player / disconnect hooks call this). + */ + static final void returnFromLoginFailure(byte i) { + if (i != 3) disposeSceneEntities(-39, null); + anInt2078++; + if (Component49.clientState != 9) { + if (Component49.clientState == 5 || Component49.clientState == 6) Buffer.setClientState(2, 3); + else if (Component49.clientState == 12) Buffer.setClientState(2, 3); + } else Buffer.setClientState(2, 5); + } + + public static void clearStatics(byte i) { + if (i != -97) aFloatArray2075 = null; + aClass243_2077 = null; + aBooleanArray2076 = null; + aFloatArray2075 = null; + } + + /** Walk the tile grid and dispose {@link Interface10} entities (GPU/native resources). */ + static final void disposeSceneEntities(int i, Component186[][][] class357s) { + anInt2070++; + for (int i_2_ = i; i_2_ < class357s.length; i_2_++) { + Component186[][] class357s_3_ = class357s[i_2_]; + for (int i_4_ = 0; i_4_ < class357s_3_.length; i_4_++) { + for (int i_5_ = 0; (class357s_3_[i_4_].length > i_5_); i_5_++) { + Component186 class357 = class357s_3_[i_4_][i_5_]; + if (class357 != null) { + if (class357.aClass318_Sub1_Sub1_4402 instanceof Interface10) ((Interface10) class357.aClass318_Sub1_Sub1_4402).method40(-12031); + if (class357.aClass318_Sub1_Sub5_4395 instanceof Interface10) ((Interface10) class357.aClass318_Sub1_Sub5_4395).method40(-12031); + if (class357.aClass318_Sub1_Sub5_4407 instanceof Interface10) ((Interface10) class357.aClass318_Sub1_Sub5_4407).method40(-12031); + if (class357.aClass318_Sub1_Sub4_4406 instanceof Interface10) ((Interface10) class357.aClass318_Sub1_Sub4_4406).method40(-12031); + if (class357.aClass318_Sub1_Sub4_4403 instanceof Interface10) ((Interface10) class357.aClass318_Sub1_Sub4_4403).method40(-12031); + for (Component3 class148 = class357.aClass148_4396; class148 != null; class148 = class148.aClass148_2038) { + Component327 class318_sub1_sub3 = (class148.aClass318_Sub1_Sub3_2040); + if (class318_sub1_sub3 instanceof Interface10) ((Interface10) class318_sub1_sub3).method40(i ^ ~0x2efe); + } + } + } + } + } + } + + public InflaterDecompressor() { + this(-1, 1000000, 1000000); + } + + /** Inflate GZIP payload from {@code class348_sub49} into {@code is}. */ + final void inflateGzip(byte[] is, int i, Buffer class348_sub49) { + try { + if (i != 29123) disposeSceneEntities(-91, null); + anInt2073++; + if ((class348_sub49.payload[class348_sub49.offset]) != 31 || (class348_sub49.payload[1 + class348_sub49.offset]) != -117) throw new RuntimeException("Invalid GZIP header!"); + if (inflater == null) inflater = new Inflater(true); + try { + inflater.setInput(class348_sub49.payload, class348_sub49.offset - -10, -8 - (10 + class348_sub49.offset - (class348_sub49.payload).length)); + inflater.inflate(is); + } catch (Exception exception) { + inflater.reset(); + throw new RuntimeException("Invalid GZIP compressed data!"); + } + inflater.reset(); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ol.A(" + (is != null ? "{...}" : "null") + ',' + i + ',' + (class348_sub49 != null ? "{...}" : "null") + ')')); + } + } + + private InflaterDecompressor(int i, int i_6_, int i_7_) { + /* empty */ + } +} diff --git a/client/cache/LruCache.java b/client/cache/LruCache.java new file mode 100644 index 000000000..c9ed27549 --- /dev/null +++ b/client/cache/LruCache.java @@ -0,0 +1,178 @@ +/* LruCache - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class356` (JODE-obfuscated). + * LRU cache of Node entries keyed by long. Bucket array {@link #buckets} (length {@link #capacity}); + * {@link #lookupCursor} / {@link #iteratorCursor} / {@link #iteratorIndex} for get/iteration walks. + */ + +final class LruCache { + Node[] buckets; + static int anInt4375; + static int anInt4376; + int capacity; + static int anInt4378; + static int anInt4379; + static int anInt4380; + static int anInt4381; + static int anInt4382; + public static int anInt4383; + static int anInt4384; + private long aLong4385; + static int anInt4386; + static int anInt4387; + static Component183 aClass114_4388 = new Component183(3, 3); + /** Cursor for {@link #get} / {@link #continueGet} bucket walks. */ + private Node lookupCursor; + /** Cursor for {@link #first} / {@link #next} iteration. */ + private Node iteratorCursor; + /** Bucket index for iterator ({@link #first}/{@link #next}). */ + private int iteratorIndex = 0; + + final int size(int i) { + if (i != 1) method3479(20); + anInt4387++; + int i_0_ = 0; + for (int i_1_ = 0; this.capacity > i_1_; i_1_++) { + Node class348 = this.buckets[i_1_]; + for (Node class348_2_ = class348.next; class348 != class348_2_; class348_2_ = class348_2_.next) + i_0_++; + } + return i_0_; + } + + final int getCapacity(boolean bool) { + anInt4376++; + if (bool != true) method3478(false); + return this.capacity; + } + + final Node continueGet(boolean bool) { + anInt4384++; + if (lookupCursor == null) return null; + Node class348 = (this.buckets[(int) ((long) (this.capacity - 1) & aLong4385)]); + if (bool != true) method3479(4); + for (/**/; lookupCursor != class348; lookupCursor = lookupCursor.next) { + if (lookupCursor.key == aLong4385) { + Node class348_3_ = lookupCursor; + lookupCursor = lookupCursor.next; + return class348_3_; + } + } + lookupCursor = null; + return null; + } + + final int method3477(int i, Node[] class348s) { + if (i != 3) anInt4383 = -76; + anInt4380++; + int i_4_ = 0; + for (int i_5_ = 0; this.capacity > i_5_; i_5_++) { + Node class348 = this.buckets[i_5_]; + for (Node class348_6_ = class348.next; class348 != class348_6_; class348_6_ = class348_6_.next) + class348s[i_4_++] = class348_6_; + } + return i_4_; + } + + public static void method3478(boolean bool) { + aClass114_4388 = null; + if (bool != false) anInt4383 = 67; + } + + static final NodeSub21 method3479(int i) { + anInt4378++; + if (i != -1) anInt4383 = 43; + if (DisplayModeManagerContainer229.aClass262_1254 == null || r.aClass312_9716 == null) return null; + for (NodeSub21 class348_sub21 = (NodeSub21) r.aClass312_9716.method2329(10); class348_sub21 != null; class348_sub21 = (NodeSub21) r.aClass312_9716.method2329(i ^ ~0xa)) { + Component274 class42 = DisplayModeManagerContainer229.aClass153_1238.method1225(class348_sub21.anInt6847, (byte) 92); + if (class42 != null && class42.aBoolean609 && class42.method373(DisplayModeManagerContainer229.anInterface17_1244, 127)) return class348_sub21; + } + return null; + } + + final Node get(long l, int i) { + try { + aLong4385 = l; + anInt4379++; + Node class348 = (this.buckets[(int) (l & (long) (this.capacity + -1))]); + if (i != -6008) first(80); + for (lookupCursor = class348.next; lookupCursor != class348; lookupCursor = lookupCursor.next) { + if (l == lookupCursor.key) { + Node class348_7_ = lookupCursor; + lookupCursor = lookupCursor.next; + return class348_7_; + } + } + lookupCursor = null; + return null; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "eq.C(" + l + ',' + i + ')'); + } + } + + final void clear(int i) { + anInt4375++; + for (int i_8_ = i; this.capacity > i_8_; i_8_++) { + Node class348 = this.buckets[i_8_]; + for (; ; ) { + Node class348_9_ = class348.next; + if (class348_9_ == class348) break; + class348_9_.unlink((byte) 54); + } + } + lookupCursor = null; + iteratorCursor = null; + } + + final Node next(int i) { + anInt4381++; + if (iteratorIndex > i && (iteratorCursor != this.buckets[-1 + iteratorIndex])) { + Node class348 = iteratorCursor; + iteratorCursor = class348.next; + return class348; + } + while (this.capacity > iteratorIndex) { + Node class348 = (this.buckets[iteratorIndex++].next); + if (this.buckets[-1 + iteratorIndex] != class348) { + iteratorCursor = class348.next; + return class348; + } + } + return null; + } + + final void put(byte i, long l, Node class348) { + try { + anInt4382++; + if (i < 18) clear(71); + if (class348.previous != null) class348.unlink((byte) 57); + Node class348_10_ = (this.buckets[(int) (l & (long) (-1 + this.capacity))]); + class348.next = class348_10_; + class348.previous = class348_10_.previous; + class348.previous.next = class348; + class348.next.previous = class348; + class348.key = l; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("eq.K(" + i + ',' + l + ',' + (class348 != null ? "{...}" : "null") + ')')); + } + } + + final Node first(int i) { + iteratorIndex = i; + anInt4386++; + return next(0); + } + + LruCache(int i) { + this.capacity = i; + this.buckets = new Node[i]; + for (int i_11_ = 0; i > i_11_; i_11_++) { + Node class348 = this.buckets[i_11_] = new Node(); + class348.next = class348; + class348.previous = class348; + } + } +} diff --git a/client/cache/RandomAccessFileReader.java b/client/cache/RandomAccessFileReader.java new file mode 100644 index 000000000..e0185c787 --- /dev/null +++ b/client/cache/RandomAccessFileReader.java @@ -0,0 +1,122 @@ +/* RandomAccessFileReader - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class234` (JODE-obfuscated). + * Thin wrapper around java.io.RandomAccessFile. Holds a File (file) and RandomAccessFile (randomAccessFile); read reads bytes, close closes. + */ + +import java.io.EOFException; +import java.io.File; +import java.io.IOException; +import java.io.RandomAccessFile; + +final class RandomAccessFileReader { + private RandomAccessFile randomAccessFile; + /** Hard cap on writable size (EOFException past this). */ + private final long maxLength; + static int anInt3038; + /** Current RAF file pointer. */ + private long position; + static int anInt3040; + static int anInt3041; + static int anInt3042; + static int anInt3043; + static Component161 aClass138_3044; + static int anInt3045; + private final File file; + static int anInt3047 = 0; + static int anInt3048; + static int anInt3049; + + final int read(byte[] is, int i, byte i_0_, int i_1_) throws IOException { + anInt3040++; + int i_2_ = randomAccessFile.read(is, i, i_1_); + int i_3_ = 39 % ((75 - i_0_) / 39); + if (i_2_ > 0) position += i_2_; + return i_2_; + } + + final void close(boolean bool) throws IOException { + anInt3045++; + if (bool != false) getFile(-27); + if (randomAccessFile != null) { + randomAccessFile.close(); + randomAccessFile = null; + } + } + + final void write(byte i, int i_4_, int i_5_, byte[] is) throws IOException { + anInt3043++; + if (maxLength < (long) i_5_ - -position) { + randomAccessFile.seek(maxLength); + randomAccessFile.write(1); + throw new EOFException(); + } + if (i < 108) position = 124L; + randomAccessFile.write(is, i_4_, i_5_); + position += i_5_; + } + + /** Nulls static type-tag handle at shutdown. */ + public static void clearStatics(byte i) { + if (i >= -2) clearStatics((byte) 126); + aClass138_3044 = null; + } + + final File getFile(int i) { + anInt3042++; + if (i <= 64) clearStatics((byte) -48); + return file; + } + + final void seek(int i, long l) throws IOException { + try { + anInt3048++; + if (i != -18968) randomAccessFile = null; + randomAccessFile.seek(l); + position = l; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "so.B(" + i + ',' + l + ')'); + } + } + + /** @return {@link RandomAccessFile#length()}. */ + final long length(byte i) throws IOException { + anInt3038++; + if (i != -46) return 97L; + return randomAccessFile.length(); + } + + protected final void finalize() throws Throwable { + if (randomAccessFile != null) { + System.out.println("Warning! fileondisk " + file + " not closed correctly using close(). Auto-closing instead. "); + close(false); + } + anInt3041++; + } + + RandomAccessFileReader(File file, String string, long l) throws IOException { + try { + if (l == -1) l = 9223372036854775807L; + if (l < file.length()) file.delete(); + randomAccessFile = new RandomAccessFile(file, string); + maxLength = l; + position = 0L; + this.file = file; + int i = randomAccessFile.read(); + if (i != -1 && !string.equals("r")) { + randomAccessFile.seek(0L); + randomAccessFile.write(i); + } + randomAccessFile.seek(0L); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("so.(" + (file != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ',' + l + ')')); + } + } + + static { + aClass138_3044 = new Component161(0, 2, 2, 1); + } +} diff --git a/client/cache/ReferenceHolder.java b/client/cache/ReferenceHolder.java new file mode 100644 index 000000000..b3661f789 --- /dev/null +++ b/client/cache/ReferenceHolder.java @@ -0,0 +1,36 @@ +/* ReferenceHolder - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub42_Sub9` (JODE-obfuscated). + * Abstract reference holder. extends HashNode; declares abstract getReferent(int) (get referent) and isSoftRef(byte) (is alive). Parent of SoftReferenceHolder. + */ + +abstract class ReferenceHolder extends HashNode { + int anInt9556; + static int anInt9557; + static int[] anIntArray9558 = {3, 7, 15}; + Interface14 anInterface14_9559; + + /** True if flag word {@code i_1_} has bit 0x10000 set. */ + static final boolean hasBit16(int i, byte i_0_, int i_1_) { + anInt9557++; + if (i_0_ < 109) return false; + return (i_1_ & 0x10000) != 0; + } + + public static void clearStatics(int i) { + if (i > -64) hasBit16(-45, (byte) 72, -104); + anIntArray9558 = null; + } + + abstract Object getReferent(int i); + + ReferenceHolder(Interface14 interface14, int i) { + this.anInterface14_9559 = interface14; + this.anInt9556 = i; + } + + abstract boolean isSoftRef(byte i); +} diff --git a/client/cache/ReferenceTable.java b/client/cache/ReferenceTable.java new file mode 100644 index 000000000..32c28e2b4 --- /dev/null +++ b/client/cache/ReferenceTable.java @@ -0,0 +1,154 @@ +/* ReferenceTable - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class291` (JODE-obfuscated). + * Archive reference table. Holds child index entries (Component192 groupNameTable / fileNameTables) plus crc/version/whirlpool arrays (fileCounts, fileIdCounts, byte[][] whirlpools). Backing data for CacheStore. + */ + +final class ReferenceTable { + /** CRC32 of the index payload. */ + int crc; + static int anInt3720 = 0; + int[][] fileIds; + /** Per-group version (written into last two bytes of packed group data). */ + int[] groupVersions; + Component192 groupNameTable; + int[] fileCounts; + int[] fileIdCounts; + static int[] anIntArray3726; + int namedGroupCount; + Component192[] fileNameTables; + int[] groupCrcs; + byte[][] whirlpools; + static int anInt3731; + /** Index revision (protocol v6+). */ + int revision; + int[] groupNameHashes; + int groupCapacity; + int[][] fileNameHashes; + /** JS5 group id for bitmap font archive {@code b12_full}. */ + static int b12FullGroupId; + static RenderableObject[] aClass318_Sub1Array3737; + int[] groupIds; + static int anInt3739; + /** Whirlpool of the raw (pre-decode) payload; verified against expected digest. */ + private byte[] payloadWhirlpool; + static int anInt3741; + + /** Clamp HSL lightness channel to 2..126 while keeping hue/sat bits. */ + static final int clampHslLightness(int i, int i_0_, int i_1_) { + i_0_ = i_0_ * (i_1_ & 0x7f) >> 7; + if (i != 0) clampHslLightness(52, -11, 108); + anInt3741++; + if (i_0_ >= 2) { + if (i_0_ > 126) i_0_ = 126; + } else i_0_ = 2; + return (0xff80 & i_1_) - -i_0_; + } + + public static void clearStatics(byte i) { + anIntArray3726 = null; + if (i < 55) aClass318_Sub1Array3737 = null; + aClass318_Sub1Array3737 = null; + } + + /** Parse compressed reference-table bytes into group/file tables. */ + private final void decode(byte i, byte[] is) { + anInt3731++; + Buffer class348_sub49 = new Buffer(NodeSub41.decompressContainer(is, -105)); + int i_2_ = class348_sub49.readUnsignedByte(255); + if (i_2_ < 5 || i_2_ > 6) throw new RuntimeException(); + if (i_2_ < 6) this.revision = 0; + else this.revision = class348_sub49.readInt((byte) -126); + int i_3_ = class348_sub49.readUnsignedByte(255); + boolean bool = (i_3_ & 0x1) != 0; + boolean bool_4_ = (i_3_ & 0x2) != 0; + this.namedGroupCount = class348_sub49.readUnsignedShort(842397944); + int i_5_ = 0; + this.groupIds = new int[this.namedGroupCount]; + int i_6_ = -1; + for (int i_7_ = 0; i_7_ < this.namedGroupCount; i_7_++) { + this.groupIds[i_7_] = i_5_ += class348_sub49.readUnsignedShort(842397944); + if (i_6_ < this.groupIds[i_7_]) i_6_ = this.groupIds[i_7_]; + } + this.groupCapacity = i_6_ - -1; + if (bool_4_) this.whirlpools = new byte[this.groupCapacity][]; + this.groupCrcs = new int[this.groupCapacity]; + this.fileCounts = new int[this.groupCapacity]; + this.fileIdCounts = new int[this.groupCapacity]; + this.groupVersions = new int[this.groupCapacity]; + this.fileIds = new int[this.groupCapacity][]; + if (bool) { + this.groupNameHashes = new int[this.groupCapacity]; + for (int i_8_ = 0; i_8_ < this.groupCapacity; i_8_++) + this.groupNameHashes[i_8_] = -1; + for (int i_9_ = 0; (this.namedGroupCount > i_9_); i_9_++) + this.groupNameHashes[(this.groupIds[i_9_])] = class348_sub49.readInt((byte) -126); + this.groupNameTable = new Component192(this.groupNameHashes); + } + if (i >= -83) decode((byte) 42, null); + for (int i_10_ = 0; i_10_ < this.namedGroupCount; i_10_++) + this.groupCrcs[(this.groupIds[i_10_])] = class348_sub49.readInt((byte) -126); + if (bool_4_) { + for (int i_11_ = 0; i_11_ < this.namedGroupCount; i_11_++) { + byte[] is_12_ = new byte[64]; + class348_sub49.readBytes(2147483647, 0, 64, is_12_); + this.whirlpools[(this.groupIds[i_11_])] = is_12_; + } + } + for (int i_13_ = 0; i_13_ < this.namedGroupCount; i_13_++) + this.groupVersions[(this.groupIds[i_13_])] = class348_sub49.readInt((byte) -126); + for (int i_14_ = 0; this.namedGroupCount > i_14_; i_14_++) + this.fileIdCounts[(this.groupIds[i_14_])] = class348_sub49.readUnsignedShort(842397944); + for (int i_15_ = 0; this.namedGroupCount > i_15_; i_15_++) { + int i_16_ = this.groupIds[i_15_]; + i_5_ = 0; + int i_17_ = this.fileIdCounts[i_16_]; + int i_18_ = -1; + this.fileIds[i_16_] = new int[i_17_]; + for (int i_19_ = 0; i_17_ > i_19_; i_19_++) { + int i_20_ = (this.fileIds[i_16_][i_19_] = i_5_ += class348_sub49.readUnsignedShort(842397944)); + if (i_18_ < i_20_) i_18_ = i_20_; + } + this.fileCounts[i_16_] = i_18_ + 1; + if (1 + i_18_ == i_17_) this.fileIds[i_16_] = null; + } + if (bool) { + this.fileNameHashes = new int[i_6_ + 1][]; + this.fileNameTables = new Component192[1 + i_6_]; + for (int i_21_ = 0; i_21_ < this.namedGroupCount; i_21_++) { + int i_22_ = this.groupIds[i_21_]; + int i_23_ = this.fileIdCounts[i_22_]; + this.fileNameHashes[i_22_] = new int[this.fileCounts[i_22_]]; + for (int i_24_ = 0; this.fileCounts[i_22_] > i_24_; i_24_++) + this.fileNameHashes[i_22_][i_24_] = -1; + for (int i_25_ = 0; i_23_ > i_25_; i_25_++) { + int i_26_; + if (this.fileIds[i_22_] != null) i_26_ = (this.fileIds[i_22_][i_25_]); + else i_26_ = i_25_; + this.fileNameHashes[i_22_][i_26_] = class348_sub49.readInt((byte) -126); + } + this.fileNameTables[i_22_] = new Component192(this.fileNameHashes[i_22_]); + } + } + } + + ReferenceTable(byte[] is, int i, byte[] is_27_) { + try { + this.crc = Component210.crc32(5126, is.length, is); + if (i != this.crc) throw new RuntimeException(); + if (is_27_ != null) { + if (is_27_.length != 64) throw new RuntimeException(); + payloadWhirlpool = NodeSub1Sub2.whirlpoolDigest(4567, 0, is, is.length); + for (int i_28_ = 0; i_28_ < 64; i_28_++) { + if (payloadWhirlpool[i_28_] != is_27_[i_28_]) throw new RuntimeException(); + } + } + decode((byte) -120, is); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("vw.(" + (is != null ? "{...}" : "null") + ',' + i + ',' + (is_27_ != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/cache/SeekableFile.java b/client/cache/SeekableFile.java new file mode 100644 index 000000000..457b259f8 --- /dev/null +++ b/client/cache/SeekableFile.java @@ -0,0 +1,268 @@ +/* SeekableFile - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class78` (JODE-obfuscated). + * Buffered seekable random-access file over {@link RandomAccessFileReader}. + * Throws IOException {@code Invalid seek to …} on negative seeks. + * {@link #position}/{@link #length} are logical; write/read buffers reduce RAF traffic. + */ + +import java.io.EOFException; +import java.io.File; +import java.io.IOException; + +final class SeekableFile { + static int anInt1304; + /** Dirty write-side cache pages. */ + private final byte[] writeBuffer; + static int anInt1306; + static int anInt1307; + static int anInt1308; + static int anInt1309; + static int anInt1310; + /** Read-ahead cache pages. */ + private final byte[] readBuffer; + private final RandomAccessFileReader fileReader; + static int anInt1313; + /** Valid byte count in {@link #writeBuffer}. */ + private int writeBufferLength = 0; + /** Last seek/write position on the underlying RAF. */ + private long rafPosition; + static int anInt1316; + /** Highest byte written through the RAF so far. */ + private long rafLength; + static int anInt1318; + /** File offset of {@link #readBuffer} ({@code -1} = empty). */ + private long readBufferPosition = -1L; + /** Valid byte count in {@link #readBuffer}. */ + private int readBufferLength; + /** File offset of {@link #writeBuffer} ({@code -1} = empty). */ + private long writeBufferPosition = -1L; + static CacheStore aClass45_1322; + /** Logical file length (grows on write past EOF). */ + private long length; + /** Current seek position in the file. */ + private long position; + + final void write(int i, int i_0_, boolean bool, byte[] is) throws IOException { + anInt1310++; + try { + if (position - -(long) i_0_ > length) length = (long) i_0_ + position; + if (writeBufferPosition != -1 && (writeBufferPosition > position || (position > (long) writeBufferLength + writeBufferPosition))) flushWriteBuffer(-1); + if (writeBufferPosition != -1L && (position + (long) i_0_ > (long) writeBuffer.length + writeBufferPosition)) { + int i_1_ = (int) ((long) writeBuffer.length + (writeBufferPosition + -position)); + Component313.arraycopy(is, i, writeBuffer, (int) (-writeBufferPosition + position), i_1_); + i += i_1_; + i_0_ -= i_1_; + position += i_1_; + writeBufferLength = writeBuffer.length; + flushWriteBuffer(-1); + } + if (writeBuffer.length < i_0_) { + if (rafPosition != position) { + fileReader.seek(-18968, position); + rafPosition = position; + } + fileReader.write((byte) 115, i, i_0_, is); + rafPosition += i_0_; + if (rafLength < rafPosition) rafLength = rafPosition; + long l = -1L; + if ((readBufferPosition <= position) && (readBufferPosition + (long) readBufferLength > position)) l = position; + else if ((position <= readBufferPosition) && readBufferPosition < position - -(long) i_0_) l = readBufferPosition; + long l_2_ = -1L; + if ((long) i_0_ + position > readBufferPosition && (long) readBufferLength + readBufferPosition >= position + (long) i_0_) l_2_ = (long) i_0_ + position; + else if ((position < (long) readBufferLength + readBufferPosition) && ((long) i_0_ + position >= readBufferPosition + (long) readBufferLength)) l_2_ = (long) readBufferLength + readBufferPosition; + if (l > -1L && l_2_ > l) { + int i_3_ = (int) (l_2_ + -l); + Component313.arraycopy(is, (int) (-position + l + (long) i), readBuffer, (int) (-readBufferPosition + l), i_3_); + } + position += i_0_; + return; + } + if (i_0_ > 0) { + if (writeBufferPosition == -1L) writeBufferPosition = position; + Component313.arraycopy(is, i, writeBuffer, (int) (-writeBufferPosition + position), i_0_); + position += i_0_; + if (position + -writeBufferPosition > (long) writeBufferLength) writeBufferLength = (int) (-writeBufferPosition + position); + return; + } + } catch (IOException ioexception) { + rafPosition = -1L; + throw ioexception; + } + if (bool != true) writeBufferLength = -69; + } + + final void readFully(int i, byte[] is) throws IOException { + int i_4_ = -98 % ((1 - i) / 40); + read(0, is, is.length, -16717); + anInt1313++; + } + + private final File getFileName(int i) { + anInt1316++; + if (i != -8659) getFileName(-88); + return fileReader.getFile(i ^ ~0x2198); + } + + public static void method786(byte i) { + if (i != 0) aClass45_1322 = null; + aClass45_1322 = null; + } + + final long length(int i) { + if (i != 0) return 26L; + anInt1318++; + return length; + } + + final void read(int i, byte[] is, int i_5_, int i_6_) throws IOException { + anInt1307++; + try { + if (i_5_ + i > is.length) throw new ArrayIndexOutOfBoundsException(i + (i_5_ - is.length)); + if (i_6_ != -16717) return; + if (writeBufferPosition != -1 && position >= writeBufferPosition && (position - -(long) i_5_ <= (long) writeBufferLength + writeBufferPosition)) { + Component313.arraycopy(writeBuffer, (int) (-writeBufferPosition + position), is, i, i_5_); + position += i_5_; + return; + } + long l = position; + int i_7_ = i; + int i_8_ = i_5_; + if (position >= readBufferPosition && (readBufferPosition - -(long) readBufferLength > position)) { + int i_9_ = (int) ((long) readBufferLength - (-readBufferPosition + position)); + if (i_5_ < i_9_) i_9_ = i_5_; + Component313.arraycopy(readBuffer, (int) (position + -readBufferPosition), is, i, i_9_); + position += i_9_; + i_5_ -= i_9_; + i += i_9_; + } + if (i_5_ > readBuffer.length) { + fileReader.seek(i_6_ + -2251, position); + rafPosition = position; + int i_10_; + for (/**/; i_5_ > 0; i_5_ -= i_10_) { + i_10_ = fileReader.read(is, i, (byte) 8, i_5_); + if (i_10_ == -1) break; + i += i_10_; + rafPosition += i_10_; + position += i_10_; + } + } else if (i_5_ > 0) { + fillReadBuffer((byte) -46); + int i_11_ = i_5_; + if (readBufferLength < i_11_) i_11_ = readBufferLength; + Component313.arraycopy(readBuffer, 0, is, i, i_11_); + i += i_11_; + position += i_11_; + i_5_ -= i_11_; + } + if (writeBufferPosition != -1L) { + if (position < writeBufferPosition && i_5_ > 0) { + int i_12_ = (int) (writeBufferPosition - position) + i; + if (i + i_5_ < i_12_) i_12_ = i + i_5_; + while (i_12_ > i) { + is[i++] = (byte) 0; + i_5_--; + position++; + } + } + long l_13_ = -1L; + if (writeBufferPosition < l || (l - -(long) i_8_ <= writeBufferPosition)) { + if (writeBufferPosition <= l && l < writeBufferPosition - -(long) writeBufferLength) l_13_ = l; + } else l_13_ = writeBufferPosition; + long l_14_ = -1L; + if ((long) writeBufferLength + writeBufferPosition <= l || ((long) i_8_ + l < (long) writeBufferLength + writeBufferPosition)) { + if ((writeBufferPosition < l - -(long) i_8_) && ((long) writeBufferLength + writeBufferPosition >= l - -(long) i_8_)) l_14_ = l + (long) i_8_; + } else l_14_ = writeBufferPosition - -(long) writeBufferLength; + if (l_13_ > -1L && (l_13_ < l_14_)) { + int i_15_ = (int) (l_14_ + -l_13_); + Component313.arraycopy(writeBuffer, (int) (l_13_ + -writeBufferPosition), is, i_7_ - -(int) (l_13_ - l), i_15_); + if (l_14_ > position) { + i_5_ -= -position + l_14_; + position = l_14_; + } + } + } + } catch (IOException ioexception) { + rafPosition = -1L; + throw ioexception; + } + if (i_5_ > 0) throw new EOFException(); + } + + final void seek(long l, byte i) throws IOException { + try { + anInt1309++; + if (l < 0) throw new IOException("Invalid seek to " + l + " in file " + getFileName(-8659)); + int i_16_ = -67 / ((i - -49) / 34); + position = l; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "l.A(" + l + ',' + i + ')'); + } + } + + final void close(byte i) throws IOException { + anInt1304++; + flushWriteBuffer(-1); + fileReader.close(false); + int i_17_ = -26 % ((i - -7) / 51); + } + + /** Writes the dirty write-buffer range to disk and invalidates it. */ + private final void flushWriteBuffer(int i) throws IOException { + if (i != -1) writeBufferPosition = 47L; + if (writeBufferPosition != -1) { + if (rafPosition != writeBufferPosition) { + fileReader.seek(-18968, writeBufferPosition); + rafPosition = writeBufferPosition; + } + fileReader.write((byte) 120, 0, writeBufferLength, writeBuffer); + rafPosition += writeBufferLength; + if (rafLength < rafPosition) rafLength = rafPosition; + long l = -1L; + long l_18_ = -1L; + if (readBufferPosition <= writeBufferPosition && (writeBufferPosition < (long) readBufferLength + readBufferPosition)) l = writeBufferPosition; + else if ((readBufferPosition >= writeBufferPosition) && (readBufferPosition < writeBufferPosition - -(long) writeBufferLength)) l = readBufferPosition; + if (((long) writeBufferLength + writeBufferPosition > readBufferPosition) && ((long) writeBufferLength + writeBufferPosition <= (long) readBufferLength + readBufferPosition)) l_18_ = writeBufferPosition - -(long) writeBufferLength; + else if ((writeBufferPosition < readBufferPosition + (long) readBufferLength) && (readBufferPosition + (long) readBufferLength <= (long) writeBufferLength + writeBufferPosition)) l_18_ = (long) readBufferLength + readBufferPosition; + if (l > -1 && l < l_18_) { + int i_19_ = (int) (-l + l_18_); + Component313.arraycopy(writeBuffer, (int) (l - writeBufferPosition), readBuffer, (int) (-readBufferPosition + l), i_19_); + } + writeBufferPosition = -1L; + writeBufferLength = 0; + } + anInt1308++; + } + + /** Refills {@link #readBuffer} from the RAF at {@link #position}. */ + private final void fillReadBuffer(byte i) throws IOException { + readBufferLength = 0; + anInt1306++; + if (i != -46) getFileName(111); + if (rafPosition != position) { + fileReader.seek(-18968, position); + rafPosition = position; + } + readBufferPosition = position; + while (readBufferLength < readBuffer.length) { + int i_20_ = -readBufferLength + readBuffer.length; + if (i_20_ > 200000000) i_20_ = 200000000; + int i_21_ = fileReader.read(readBuffer, readBufferLength, (byte) 125, i_20_); + if (i_21_ == -1) break; + readBufferLength += i_21_; + rafPosition += i_21_; + } + } + + SeekableFile(RandomAccessFileReader class234, int i, int i_22_) throws IOException { + fileReader = class234; + length = rafLength = class234.length((byte) -46); + writeBuffer = new byte[i_22_]; + readBuffer = new byte[i]; + position = 0L; + } +} diff --git a/client/cache/SoftReferenceCacheNode.java b/client/cache/SoftReferenceCacheNode.java new file mode 100644 index 000000000..f10fcba7d --- /dev/null +++ b/client/cache/SoftReferenceCacheNode.java @@ -0,0 +1,30 @@ +/* SoftReferenceCacheNode - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub42_Sub8_Sub1` (JODE-obfuscated). + * Soft-reference cache entry. extends CacheNode; wraps a SoftReference (softReference) and returns its referent via getValue. + */ + +import java.lang.ref.SoftReference; + +final class SoftReferenceCacheNode extends CacheNode { + /** Soft referent for the cached value. */ + private final SoftReference softReference; + + final boolean isSoft(int i) { + if (i != -4) getValue(-41); + return true; + } + + final Object getValue(int i) { + if (i <= 75) return null; + return softReference.get(); + } + + SoftReferenceCacheNode(Object object, int i) { + super(i); + softReference = new SoftReference(object); + } +} diff --git a/client/cache/SoftReferenceHolder.java b/client/cache/SoftReferenceHolder.java new file mode 100644 index 000000000..854210d14 --- /dev/null +++ b/client/cache/SoftReferenceHolder.java @@ -0,0 +1,29 @@ +/* SoftReferenceHolder - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub42_Sub9_Sub2` (JODE-obfuscated). + * Concrete soft-reference holder. extends ReferenceHolder; stores a SoftReference (softReference) and returns it via getReferent. + */ + +import java.lang.ref.SoftReference; + +final class SoftReferenceHolder extends ReferenceHolder { + private SoftReference softReference; + + final Object getReferent(int i) { + if (i != 65536) softReference = null; + return softReference.get(); + } + + final boolean isSoftRef(byte i) { + int i_0_ = -88 % ((-63 - i) / 61); + return true; + } + + SoftReferenceHolder(Interface14 interface14, Object object, int i) { + super(interface14, i); + softReference = new SoftReference(object); + } +} diff --git a/client/components/Component10.java b/client/components/Component10.java new file mode 100644 index 000000000..224570a1f --- /dev/null +++ b/client/components/Component10.java @@ -0,0 +1,43 @@ +/* Component10 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component10 +/** + * RENAMED from `Class298` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3808; + static Component183 aClass114_3809 = new Component183(44, 6); + static int anInt3810; + static boolean fpsOverlayEnabled = false; + + static final int method2250(int i, int i_0_, int i_1_, int i_2_) { + if (i_0_ < 36) fpsOverlayEnabled = true; + anInt3810++; + int i_3_ = -i_1_ + 255; + i_2_ = (~0xff00ff & (i_2_ & 0xff00ff) * i_1_ | 0xff0000 & (0xff00 & i_2_) * i_1_) >>> 8; + return i_2_ + ((i_3_ * (i & 0xff00ff) & ~0xff00ff | i_3_ * (0xff00 & i) & 0xff0000) >>> 8); + } + + public static void method2251(int i) { + if (i != 16711680) aClass114_3809 = null; + aClass114_3809 = null; + } + + static final boolean method2252(boolean bool, int i, int i_4_, byte i_5_, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_) { + anInt3808++; + int i_11_ = (Component72.localPlayer.anIntArray10320[0]); + int i_12_ = (Component72.localPlayer.anIntArray10317[0]); + if (i_11_ < 0 || i_11_ >= AbstractShaderSub4.anInt7319 || i_12_ < 0 || ParametricDefinition.anInt9109 <= i_12_) return false; + if (i < 0 || i >= AbstractShaderSub4.anInt7319 || i_4_ < 0 || ParametricDefinition.anInt9109 <= i_4_) return false; + int i_13_ = (Component317.method574(i, Component72.localPlayer.method2436((byte) 70), i_6_, DefinitionSub11.anIntArray9185, bool, (byte) 120, i_9_, i_11_, i_12_, HashNodeSub14.anIntArray9626, i_4_, (NodeSub45.aClass361Array7108[Component72.localPlayer.plane]), i_8_, i_7_, i_10_)); + if (i_13_ < 1) return false; + Component253.anInt3203 = HashNodeSub14.anIntArray9626[-1 + i_13_]; + Component263.anInt1548 = DefinitionSub11.anIntArray9185[-1 + i_13_]; + NodeSub13.aBoolean6759 = false; + if (i_5_ > -83) fpsOverlayEnabled = true; + Component264.method2264(false); + return true; + } +} diff --git a/client/components/Component100.java b/client/components/Component100.java new file mode 100644 index 000000000..a42d1b4db --- /dev/null +++ b/client/components/Component100.java @@ -0,0 +1,82 @@ +/* Component100 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component100 +/** + * RENAMED from `Class299_Sub1_Sub1` (JODE-obfuscated). + * Evidence: subclass of Component40 (hierarchy) + */ extends Component40 { + private final int anInt8686; + static int anInt8687; + private GlFramebufferTexture aClass258_Sub2_8688; + private final int anInt8689; + private final int anInt8690; + private final int anInt8691; + static int anInt8692; + private final GlToolkitSub2 aHa_Sub2_8693; + static long aLong8694; + private final int anInt8695; + static float aFloat8696; + private final int anInt8697; + + final GlFramebufferTexture method2256(byte i) { + anInt8692++; + if (i != -121) method2256((byte) 33); + if (aClass258_Sub2_8688 == null) { + d var_d = aHa_Sub2_8693.aD4579; + Component17.anIntArray3883[3] = anInt8690; + Component17.anIntArray3883[4] = anInt8686; + Component17.anIntArray3883[2] = anInt8691; + Component17.anIntArray3883[5] = anInt8697; + Component17.anIntArray3883[1] = anInt8695; + Component17.anIntArray3883[0] = anInt8689; + boolean bool = false; + int i_0_ = 0; + for (int i_1_ = 0; i_1_ < 6; i_1_++) { + if (!var_d.method4(i ^ 0x1f68, Component17.anIntArray3883[i_1_])) return null; + Component319 class12 = var_d.method3(Component17.anIntArray3883[i_1_], -6662); + int i_2_ = !class12.aBoolean199 ? 128 : 64; + if (i_0_ < i_2_) i_0_ = i_2_; + if (class12.aByte205 > 0) bool = true; + } + for (int i_3_ = 0; i_3_ < 6; i_3_++) + DisplayModeManagerContainer196.anIntArrayArray4233[i_3_] = var_d.method5(false, Component17.anIntArray3883[i_3_], 1.0F, i_0_, i_0_, i + 192); + aClass258_Sub2_8688 = new GlFramebufferTexture(aHa_Sub2_8693, 6407, i_0_, bool, DisplayModeManagerContainer196.anIntArrayArray4233); + } + return aClass258_Sub2_8688; + } + + static final void method2260(int i, int i_4_, long l, int i_5_, boolean bool, CacheStore class45, byte i_6_, int i_7_) { + do { + try { + Component329.anInt5994 = 10000; + DisplayModeManagerContainer77.aClass45_1848 = class45; + Component255.anInt1059 = i_7_; + Component197.anInt10074 = i; + InputHandler.aBoolean4275 = bool; + DebugPanic.aClass348_Sub16_Sub3_4743 = null; + Renderable.anInt3971 = i_4_; + anInt8687++; + Component205.aLong5971 = l; + PlayerState.anInt7068 = 1; + DefinitionSub35.anInt9444 = i_5_; + if (i_6_ >= 54) break; + method2260(36, 99, 61L, 90, false, null, (byte) 126, -67); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("dq.E(" + i + ',' + i_4_ + ',' + l + ',' + i_5_ + ',' + bool + ',' + (class45 != null ? "{...}" : "null") + ',' + i_6_ + ',' + i_7_ + ')')); + } + break; + } while (false); + } + + Component100(GlToolkitSub2 var_ha_Sub2, int i, int i_8_, int i_9_, int i_10_, int i_11_, int i_12_) { + anInt8691 = i_9_; + anInt8690 = i_10_; + anInt8697 = i_12_; + anInt8689 = i; + anInt8695 = i_8_; + anInt8686 = i_11_; + aHa_Sub2_8693 = var_ha_Sub2; + } +} diff --git a/client/components/Component101.java b/client/components/Component101.java new file mode 100644 index 000000000..f712b43c4 --- /dev/null +++ b/client/components/Component101.java @@ -0,0 +1,554 @@ +/* Component101 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component101 +/** + * RENAMED from `Class154` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2090; + static int anInt2091; + private int[] anIntArray2092; + int anInt2093 = -1; + private long aLong2094; + int[] anIntArray2095; + static int anInt2096; + static int anInt2097; + static int anInt2098; + static int anInt2099; + boolean aBoolean2100; + static int anInt2101 = 0; + private long aLong2102; + private int anInt2103; + static int anInt2104; + static Buffer[] aClass348_Sub49Array2105 = new Buffer[2048]; + static int anInt2106; + static int anInt2107; + + final DisplayModeManagerContainer370 method1226(Interface17 interface17, DisplayModeManagerContainer167 class17, Component280[] class182s, boolean bool, ItemDefinitionProvider class255, int i, DisplayModeManagerContainer167 class17_0_, int i_1_, boolean bool_2_, int i_3_, int[] is, int i_4_, Component324 class150, int i_5_, GraphicsToolkit var_ha, DisplayModeManagerContainer347 class278, Component344 class87, int i_6_, int i_7_, int i_8_, DisplayModeManagerContainer1 class261) { + try { + anInt2097++; + if (this.anInt2093 != -1) return (class278.method2079(this.anInt2093, -1).method800(i, class182s, class87, !bool_2_, class17, i_8_, class261, i_7_, class17_0_, interface17, var_ha, i_3_, is, i_1_, i_6_, i_4_, i_5_)); + int i_9_ = i_4_; + long l = aLong2102; + int[] is_10_ = anIntArray2092; + if (class17_0_ != null && (class17_0_.anInt249 >= 0 || class17_0_.anInt261 >= 0)) { + is_10_ = new int[12]; + for (int i_11_ = 0; i_11_ < 12; i_11_++) + is_10_[i_11_] = anIntArray2092[i_11_]; + if (class17_0_.anInt249 >= 0) { + if (class17_0_.anInt249 == 65535) { + is_10_[5] = 0; + l ^= ~0xffffffffL; + } else { + is_10_[5] = Component224.bitwiseOr((class17_0_.anInt249), 1073741824); + l ^= (long) is_10_[5] << 32; + } + } + if (class17_0_.anInt261 >= 0) { + if (class17_0_.anInt261 == 65535) { + is_10_[3] = 0; + l ^= 0xffffffffL; + } else { + is_10_[3] = Component224.bitwiseOr((class17_0_.anInt261), 1073741824); + l ^= is_10_[3]; + } + } + } + boolean bool_12_ = false; + boolean bool_13_ = false; + boolean bool_14_ = false; + boolean bool_15_ = class17_0_ != null || class17 != null; + int i_16_ = class182s != null ? class182s.length : 0; + for (int i_17_ = 0; i_16_ > i_17_; i_17_++) { + Component181.aClass348_Sub42_Sub17Array1543[i_17_] = null; + if (class182s[i_17_] != null) { + DisplayModeManagerContainer167 class17_18_ = class87.method835((class182s[i_17_].anInt2454), 7); + if (class17_18_.anIntArray237 != null) { + bool_15_ = true; + DisplayModeInfo.aClass17Array1048[i_17_] = class17_18_; + int i_19_ = class182s[i_17_].anInt2451; + int i_20_ = class182s[i_17_].anInt2455; + int i_21_ = class17_18_.anIntArray237[i_19_]; + Component181.aClass348_Sub42_Sub17Array1543[i_17_] = class87.method839(i_21_ >>> 16, 3); + i_21_ &= 0xffff; + Component357.anIntArray2471[i_17_] = i_21_; + if (Component181.aClass348_Sub42_Sub17Array1543[i_17_] != null) { + bool_13_ |= Component181.aClass348_Sub42_Sub17Array1543[i_17_].method3272(i_21_, 0); + bool_12_ |= Component181.aClass348_Sub42_Sub17Array1543[i_17_].method3271(i_21_, 14); + bool_14_ |= Component181.aClass348_Sub42_Sub17Array1543[i_17_].method3267((byte) -109, i_21_); + } + if ((class17_18_.aBoolean241 || DisplayModeManagerContainer332.aBoolean5002) && i_20_ != -1 && (class17_18_.anIntArray237.length > i_20_)) { + Component265.anIntArray1583[i_17_] = class17_18_.anIntArray267[i_19_]; + DisplayModeManagerContainer368.anIntArray5241[i_17_] = class182s[i_17_].anInt2456; + int i_22_ = class17_18_.anIntArray237[i_20_]; + DisplayModeManagerContainer61.aClass348_Sub42_Sub17Array3753[i_17_] = class87.method839(i_22_ >>> 16, 3); + i_22_ &= 0xffff; + Component150.anIntArray2967[i_17_] = i_22_; + if (DisplayModeManagerContainer61.aClass348_Sub42_Sub17Array3753[i_17_] != null) { + bool_13_ |= DisplayModeManagerContainer61.aClass348_Sub42_Sub17Array3753[i_17_].method3272(i_22_, 0); + bool_12_ |= DisplayModeManagerContainer61.aClass348_Sub42_Sub17Array3753[i_17_].method3271(i_22_, 14); + bool_14_ |= DisplayModeManagerContainer61.aClass348_Sub42_Sub17Array3753[i_17_].method3267((byte) -115, i_22_); + } + } else { + Component265.anIntArray1583[i_17_] = 0; + DisplayModeManagerContainer368.anIntArray5241[i_17_] = 0; + DisplayModeManagerContainer61.aClass348_Sub42_Sub17Array3753[i_17_] = null; + Component150.anIntArray2967[i_17_] = -1; + } + } + } + } + int i_23_ = -1; + int i_24_ = -1; + int i_25_ = 0; + HashNodeSub17 class348_sub42_sub17 = null; + HashNodeSub17 class348_sub42_sub17_26_ = null; + int i_27_ = -1; + int i_28_ = -1; + int i_29_ = 0; + HashNodeSub17 class348_sub42_sub17_30_ = null; + HashNodeSub17 class348_sub42_sub17_31_ = null; + if (bool_15_) { + if (class17_0_ != null) { + i_23_ = class17_0_.anIntArray237[i_7_]; + int i_32_ = i_23_ >>> 16; + class348_sub42_sub17 = class87.method839(i_32_, 3); + i_23_ &= 0xffff; + if (class348_sub42_sub17 != null) { + bool_13_ |= class348_sub42_sub17.method3272(i_23_, 0); + bool_12_ |= class348_sub42_sub17.method3271(i_23_, 14); + bool_14_ |= class348_sub42_sub17.method3267((byte) -110, i_23_); + } + if ((class17_0_.aBoolean241 || DisplayModeManagerContainer332.aBoolean5002) && i_1_ != -1 && i_1_ < class17_0_.anIntArray237.length) { + i_24_ = class17_0_.anIntArray237[i_1_]; + i_25_ = class17_0_.anIntArray267[i_7_]; + int i_33_ = i_24_ >>> 16; + class348_sub42_sub17_26_ = (i_32_ == i_33_ ? class348_sub42_sub17 : class87.method839(i_33_, 3)); + i_24_ &= 0xffff; + if (class348_sub42_sub17_26_ != null) { + bool_13_ |= class348_sub42_sub17_26_.method3272(i_24_, 0); + bool_12_ |= class348_sub42_sub17_26_.method3271(i_24_, 14); + bool_14_ |= class348_sub42_sub17_26_.method3267((byte) -106, i_24_); + } + } + } + i_9_ |= 0x20; + if (class17 != null) { + i_27_ = class17.anIntArray237[i_6_]; + int i_34_ = i_27_ >>> 16; + i_27_ &= 0xffff; + class348_sub42_sub17_30_ = class87.method839(i_34_, 3); + if (class348_sub42_sub17_30_ != null) { + bool_13_ |= class348_sub42_sub17_30_.method3272(i_27_, 0); + bool_12_ |= class348_sub42_sub17_30_.method3271(i_27_, 14); + bool_14_ |= class348_sub42_sub17_30_.method3267((byte) -123, i_27_); + } + if ((class17.aBoolean241 || DisplayModeManagerContainer332.aBoolean5002) && i_3_ != -1 && i_3_ < class17.anIntArray237.length) { + i_28_ = class17.anIntArray237[i_3_]; + i_29_ = class17.anIntArray267[i_6_]; + int i_35_ = i_28_ >>> 16; + i_28_ &= 0xffff; + class348_sub42_sub17_31_ = (i_35_ == i_34_ ? class348_sub42_sub17_30_ : class87.method839(i_35_, 3)); + if (class348_sub42_sub17_31_ != null) { + bool_13_ |= class348_sub42_sub17_31_.method3272(i_28_, 0); + bool_12_ |= class348_sub42_sub17_31_.method3271(i_28_, 14); + bool_14_ |= class348_sub42_sub17_31_.method3267((byte) -96, i_28_); + } + } + } + if (bool_13_) i_9_ |= 0x80; + if (bool_12_) i_9_ |= 0x100; + if (bool_14_) i_9_ |= 0x400; + } + DisplayModeManagerContainer370 class64; + synchronized (DisplayModeManagerContainer310.aClass60_355) { + class64 = (DisplayModeManagerContainer370) DisplayModeManagerContainer310.aClass60_355.get(l, -47); + } + Component241 class225 = null; + if (anInt2103 != -1) class225 = class261.get(anInt2103, 32); + if (class64 == null || var_ha.method3667(class64.ua(), i_9_) != 0) { + if (class64 != null) i_9_ = var_ha.bitwiseOr(i_9_, class64.ua()); + int i_36_ = i_9_; + boolean bool_37_ = false; + for (int i_38_ = 0; i_38_ < 12; i_38_++) { + int i_39_ = is_10_[i_38_]; + if ((0x40000000 & i_39_) == 0) { + if ((~0x7fffffff & i_39_) != 0 && !class150.method1203((byte) 33, i_39_ & 0x3fffffff).method348((byte) 34)) bool_37_ = true; + } else if (!class255.getItemDefinition(94, 0x3fffffff & i_39_).method1565(this.aBoolean2100, -1)) bool_37_ = true; + } + if (bool_37_) { + if (aLong2094 != -1) { + synchronized (DisplayModeManagerContainer310.aClass60_355) { + class64 = (DisplayModeManagerContainer370) DisplayModeManagerContainer310.aClass60_355.get(aLong2094, -92); + } + } + if (class64 == null || var_ha.method3667(class64.ua(), i_9_) != 0) return null; + } else { + DisplayModeManagerContainer77[] class124s = new DisplayModeManagerContainer77[12]; + for (int i_40_ = 0; i_40_ < 12; i_40_++) { + int i_41_ = is_10_[i_40_]; + if ((0x40000000 & i_41_) == 0) { + if ((~0x7fffffff & i_41_) != 0) { + DisplayModeManagerContainer77 class124 = class150.method1203((byte) 33, i_41_ & 0x3fffffff).method341(91); + if (class124 != null) class124s[i_40_] = class124; + } + } else { + DisplayModeManagerContainer77 class124 = (class255.getItemDefinition(104, i_41_ & 0x3fffffff).method1558(this.aBoolean2100, !bool_2_)); + if (class124 != null) class124s[i_40_] = class124; + } + } + if (class225 != null && class225.anIntArrayArray2939 != null) { + for (int i_42_ = 0; ((class225.anIntArrayArray2939).length > i_42_); i_42_++) { + if (class124s[i_42_] != null) { + int i_43_ = 0; + int i_44_ = 0; + int i_45_ = 0; + int i_46_ = 0; + int i_47_ = 0; + int i_48_ = 0; + if ((class225.anIntArrayArray2939[i_42_]) != null) { + i_47_ = ((class225.anIntArrayArray2939[i_42_][4]) << 3); + i_44_ = (class225.anIntArrayArray2939[i_42_][1]); + i_48_ = ((class225.anIntArrayArray2939[i_42_][5]) << 3); + i_43_ = (class225.anIntArrayArray2939[i_42_][0]); + i_46_ = ((class225.anIntArrayArray2939[i_42_][3]) << 3); + i_45_ = (class225.anIntArrayArray2939[i_42_][2]); + } + if (i_46_ != 0 || i_47_ != 0 || i_48_ != 0) class124s[i_42_].method1107(6875, i_47_, i_48_, i_46_); + if (i_43_ != 0 || i_44_ != 0 || i_45_ != 0) class124s[i_42_].method1099((byte) -82, i_45_, i_43_, i_44_); + } + } + } + DisplayModeManagerContainer77 class124 = new DisplayModeManagerContainer77(class124s, class124s.length); + i_36_ |= 0x4000; + class64 = var_ha.method3625(class124, i_36_, Component39.anInt2251, 64, 850); + for (int i_49_ = 0; i_49_ < 5; i_49_++) { + for (int i_50_ = 0; (AbstractShaderSub2.aShortArrayArrayArray7290.length > i_50_); i_50_++) { + if ((AbstractShaderSub2.aShortArrayArrayArray7290[i_50_][i_49_]).length > this.anIntArray2095[i_49_]) class64.ia((Component257.aShortArrayArray4791[i_50_][i_49_]), (AbstractShaderSub2.aShortArrayArrayArray7290[i_50_][i_49_][(this.anIntArray2095[i_49_])])); + } + } + if (bool) { + class64.s(i_9_); + synchronized (DisplayModeManagerContainer310.aClass60_355) { + DisplayModeManagerContainer310.aClass60_355.putOne(class64, l, (byte) -98); + } + aLong2094 = l; + } + } + } + DisplayModeManagerContainer370 class64_51_ = class64.method614((byte) 4, i_9_, bool_2_); + boolean bool_52_ = false; + if (is != null) { + for (int i_53_ = 0; i_53_ < 12; i_53_++) { + if (is[i_53_] != -1) bool_52_ = true; + } + } + if (!bool_15_ && !bool_52_) return class64_51_; + DisplayModeManagerContainer204[] class101s = null; + if (class225 != null) class101s = class225.method1618(var_ha, 0); + if (bool_52_ && class101s != null) { + for (int i_54_ = 0; i_54_ < 12; i_54_++) { + if (class101s[i_54_] != null) class64_51_.method610(class101s[i_54_], 1 << i_54_, true); + } + } + int i_55_ = 0; + int i_56_ = 1; + for (/**/; i_16_ > i_55_; i_55_++) { + if (Component181.aClass348_Sub42_Sub17Array1543[i_55_] != null) + class64_51_.method603((byte) -55, -1 + DisplayModeManagerContainer368.anIntArray5241[i_55_], null, i_56_, Component357.anIntArray2471[i_55_], Component150.anIntArray2967[i_55_], DisplayModeManagerContainer61.aClass348_Sub42_Sub17Array3753[i_55_], 0, Component181.aClass348_Sub42_Sub17Array1543[i_55_], false, Component265.anIntArray1583[i_55_]); + i_56_ <<= 1; + } + if (bool_52_) { + for (int i_57_ = 0; i_57_ < 12; i_57_++) { + if (is[i_57_] != -1) { + int i_58_ = is[i_57_] - i; + i_58_ &= 0x3fff; + DisplayModeManagerContainer204 class101 = var_ha.method3654(); + class101.method895(i_58_); + class64_51_.method610(class101, 1 << i_57_, false); + } + } + } + if (bool_52_ && class101s != null) { + for (int i_59_ = 0; i_59_ < 12; i_59_++) { + if (class101s[i_59_] != null) class64_51_.method610(class101s[i_59_], 1 << i_59_, false); + } + } + if (class348_sub42_sub17 != null && class348_sub42_sub17_30_ != null) + class64_51_.method625(class348_sub42_sub17_26_, i_25_, (byte) 121, i_29_, class348_sub42_sub17_30_, i_23_, i_27_, i_5_ - 1, class348_sub42_sub17, false, i_24_, class348_sub42_sub17_31_, i_8_ + -1, class17_0_.aBooleanArray263, i_28_); + else if (class348_sub42_sub17 != null) class64_51_.method617(i_23_, i_25_, class348_sub42_sub17_26_, 0, class348_sub42_sub17, false, false, i_24_, i_5_ + -1); + else if (class348_sub42_sub17_30_ != null) class64_51_.method617(i_27_, i_29_, class348_sub42_sub17_31_, 0, class348_sub42_sub17_30_, false, false, i_28_, i_8_ + -1); + for (int i_60_ = 0; i_16_ > i_60_; i_60_++) { + Component181.aClass348_Sub42_Sub17Array1543[i_60_] = null; + DisplayModeManagerContainer61.aClass348_Sub42_Sub17Array3753[i_60_] = null; + DisplayModeInfo.aClass17Array1048[i_60_] = null; + } + return class64_51_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("oo.C(" + (interface17 != null ? "{...}" : "null") + ',' + (class17 != null ? "{...}" : "null") + ',' + (class182s != null ? "{...}" : "null") + ',' + bool + ',' + (class255 != null ? "{...}" : "null") + ',' + i + ',' + (class17_0_ != null ? "{...}" : "null") + ',' + i_1_ + ',' + bool_2_ + ',' + i_3_ + ',' + (is != null ? "{...}" : "null") + ',' + i_4_ + ',' + (class150 != null ? "{...}" : "null") + ',' + i_5_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + (class278 != null ? "{...}" : "null") + ',' + (class87 != null ? "{...}" : "null") + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ',' + (class261 != null ? "{...}" : "null") + ')')); + } + } + + final void method1227(byte i, int i_61_, int i_62_, ItemDefinitionProvider class255) { + try { + if (i == 42) { + anInt2099++; + if (i_62_ == -1) anIntArray2092[i_61_] = 0; + else if (class255.getItemDefinition(-125, i_62_) != null) { + anIntArray2092[i_61_] = Component224.bitwiseOr(1073741824, i_62_); + method1234(-100); + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("oo.H(" + i + ',' + i_61_ + ',' + i_62_ + ',' + (class255 != null ? "{...}" : "null") + ')')); + } + } + + final void method1228(int i, int i_63_, int i_64_, int[] is, boolean bool, int[] is_65_) { + try { + if (i_64_ != anInt2103) anInt2103 = i_64_; + anIntArray2092 = is; + if (i_63_ <= 54) anIntArray2092 = null; + this.anIntArray2095 = is_65_; + anInt2090++; + this.anInt2093 = i; + this.aBoolean2100 = bool; + method1234(-25); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("oo.F(" + i + ',' + i_63_ + ',' + i_64_ + ',' + (is != null ? "{...}" : "null") + ',' + bool + ',' + (is_65_ != null ? "{...}" : "null") + ')')); + } + } + + final void method1229(byte i, boolean bool) { + anInt2104++; + this.aBoolean2100 = bool; + if (i != -17) this.aBoolean2100 = false; + method1234(-78); + } + + final DisplayModeManagerContainer370 method1230(ItemDefinitionProvider class255, int i, Component344 class87, Component324 class150, Interface17 interface17, DisplayModeManagerContainer347 class278, int i_66_, int i_67_, int i_68_, DisplayModeManagerContainer167 class17, int i_69_, GraphicsToolkit var_ha) { + try { + anInt2107++; + if (this.anInt2093 != -1) return (class278.method2079(this.anInt2093, -1).method803(interface17, var_ha, i_69_, i_67_, class17, class87, i_66_, 121, i_68_)); + int i_70_ = i_68_; + if (class17 != null) { + boolean bool = false; + boolean bool_71_ = false; + boolean bool_72_ = false; + boolean bool_73_ = false; + int i_74_ = -1; + int i_75_ = -1; + Object object = null; + i_70_ |= 0x20; + Object object_76_ = null; + i_74_ = class17.anIntArray237[i_66_]; + int i_77_ = i_74_ >>> 16; + i_74_ &= 0xffff; + HashNodeSub17 class348_sub42_sub17 = class87.method839(i_77_, 3); + if (class348_sub42_sub17 != null) { + bool_71_ |= class348_sub42_sub17.method3272(i_74_, 0); + bool |= class348_sub42_sub17.method3271(i_74_, 14); + bool_73_ |= class348_sub42_sub17.method3267((byte) -125, i_74_); + bool_72_ |= class17.aBoolean242; + } + if ((class17.aBoolean241 || DisplayModeManagerContainer332.aBoolean5002) && i_67_ != -1 && i_67_ < class17.anIntArray237.length) { + i_75_ = class17.anIntArray237[i_67_]; + int i_78_ = i_75_ >>> 16; + HashNodeSub17 class348_sub42_sub17_79_ = (i_78_ != i_77_ ? class87.method839(i_78_, i ^ ~0x17f6eb54) : class348_sub42_sub17); + i_75_ &= 0xffff; + if (class348_sub42_sub17_79_ != null) { + bool_71_ |= class348_sub42_sub17_79_.method3272(i_75_, 0); + bool |= class348_sub42_sub17_79_.method3271(i_75_, 14); + bool_73_ |= class348_sub42_sub17_79_.method3267((byte) -127, i_75_); + } + } + if (bool_71_) i_70_ |= 0x80; + if (bool) i_70_ |= 0x100; + if (bool_72_) i_70_ |= 0x200; + if (bool_73_) i_70_ |= 0x400; + } + if (i != -402058072) aLong2094 = -101L; + DisplayModeManagerContainer370 class64; + synchronized (Component387.aClass60_1894) { + class64 = (DisplayModeManagerContainer370) Component387.aClass60_1894.get(aLong2102, i ^ ~0x17f6eb29); + } + if (class64 == null || var_ha.method3667(class64.ua(), i_70_) != 0) { + if (class64 != null) i_70_ = var_ha.bitwiseOr(i_70_, class64.ua()); + int i_80_ = i_70_; + boolean bool = false; + for (int i_81_ = 0; i_81_ < 12; i_81_++) { + int i_82_ = anIntArray2092[i_81_]; + if ((i_82_ & 0x40000000) != 0) { + if (!class255.getItemDefinition(i ^ 0x17f6eb2c, 0x3fffffff & i_82_).method1555((byte) 97, this.aBoolean2100)) bool = true; + } else if ((~0x7fffffff & i_82_) != 0 && !class150.method1203((byte) 33, i_82_ & 0x3fffffff).method342((byte) 110)) bool = true; + } + if (bool) return null; + DisplayModeManagerContainer77[] class124s = new DisplayModeManagerContainer77[12]; + int i_83_ = 0; + for (int i_84_ = 0; i_84_ < 12; i_84_++) { + int i_85_ = anIntArray2092[i_84_]; + if ((i_85_ & 0x40000000) == 0) { + if ((i_85_ & ~0x7fffffff) != 0) { + DisplayModeManagerContainer77 class124 = class150.method1203((byte) 33, i_85_ & 0x3fffffff).method343((byte) -73); + if (class124 != null) class124s[i_83_++] = class124; + } + } else { + DisplayModeManagerContainer77 class124 = (class255.getItemDefinition(-107, i_85_ & 0x3fffffff).method1554(this.aBoolean2100, -14)); + if (class124 != null) class124s[i_83_++] = class124; + } + } + i_80_ |= 0x4000; + DisplayModeManagerContainer77 class124 = new DisplayModeManagerContainer77(class124s, i_83_); + class64 = var_ha.method3625(class124, i_80_, Component39.anInt2251, 64, 768); + for (int i_86_ = 0; i_86_ < 5; i_86_++) { + for (int i_87_ = 0; (AbstractShaderSub2.aShortArrayArrayArray7290.length > i_87_); i_87_++) { + if (this.anIntArray2095[i_86_] < (AbstractShaderSub2.aShortArrayArrayArray7290[i_87_][i_86_]).length) class64.ia((Component257.aShortArrayArray4791[i_87_][i_86_]), (AbstractShaderSub2.aShortArrayArrayArray7290[i_87_][i_86_][(this.anIntArray2095[i_86_])])); + } + } + class64.s(i_70_); + synchronized (Component387.aClass60_1894) { + Component387.aClass60_1894.putOne(class64, aLong2102, (byte) -97); + } + } + if (class17 == null) return class64; + DisplayModeManagerContainer370 class64_88_ = class64.method614((byte) 4, i_70_, true); + class64_88_ = class17.method269(123, class64, i_67_, i_69_, i_68_, i_66_); + return class64_88_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("oo.J(" + (class255 != null ? "{...}" : "null") + ',' + i + ',' + (class87 != null ? "{...}" : "null") + ',' + (class150 != null ? "{...}" : "null") + ',' + (interface17 != null ? "{...}" : "null") + ',' + (class278 != null ? "{...}" : "null") + ',' + i_66_ + ',' + i_67_ + ',' + i_68_ + ',' + (class17 != null ? "{...}" : "null") + ',' + i_69_ + ',' + (var_ha != null ? "{...}" : "null") + ')')); + } + } + + final void method1231(int i, int i_89_, int i_90_) { + this.anIntArray2095[i] = i_90_; + if (i_89_ == 0) { + anInt2091++; + method1234(-48); + } + } + + final DisplayModeManagerContainer370 method1232(int i, int i_91_, int i_92_, int i_93_, Component344 class87, Component324 class150, int i_94_, int i_95_, int i_96_, GraphicsToolkit var_ha, int i_97_, DisplayModeManagerContainer167 class17) { + try { + anInt2106++; + int i_98_ = i_91_; + if (class17 != null) { + boolean bool = false; + boolean bool_99_ = false; + boolean bool_100_ = false; + boolean bool_101_ = false; + int i_102_ = -1; + int i_103_ = -1; + Object object = null; + Object object_104_ = null; + i_98_ |= 0x20; + i_102_ = class17.anIntArray237[i_97_]; + int i_105_ = i_102_ >>> 16; + HashNodeSub17 class348_sub42_sub17 = class87.method839(i_105_, 3); + i_102_ &= 0xffff; + if (class348_sub42_sub17 != null) { + bool_99_ |= class348_sub42_sub17.method3272(i_102_, i_94_ ^ ~0x3be2); + bool |= class348_sub42_sub17.method3271(i_102_, 14); + bool_101_ |= class348_sub42_sub17.method3267((byte) -125, i_102_); + bool_100_ |= class17.aBoolean242; + } + if ((class17.aBoolean241 || DisplayModeManagerContainer332.aBoolean5002) && i != -1 && i < class17.anIntArray237.length) { + i_103_ = class17.anIntArray237[i]; + int i_106_ = i_103_ >>> 16; + i_103_ &= 0xffff; + HashNodeSub17 class348_sub42_sub17_107_; + if (i_105_ != i_106_) class348_sub42_sub17_107_ = class87.method839(i_103_ >>> 16, 3); + else class348_sub42_sub17_107_ = class348_sub42_sub17; + if (class348_sub42_sub17_107_ != null) { + bool_99_ |= class348_sub42_sub17_107_.method3272(i_103_, 0); + bool |= class348_sub42_sub17_107_.method3271(i_103_, 14); + bool_101_ |= class348_sub42_sub17_107_.method3267((byte) -123, i_103_); + } + } + if (bool_99_) i_98_ |= 0x80; + if (bool) i_98_ |= 0x100; + if (bool_100_) i_98_ |= 0x200; + if (bool_101_) i_98_ |= 0x400; + } + long l = (long) i_95_ | ((long) (i_93_ << 16) | (long) i_92_ << 32); + DisplayModeManagerContainer370 class64; + synchronized (Component387.aClass60_1894) { + class64 = (DisplayModeManagerContainer370) Component387.aClass60_1894.get(l, i_94_ ^ ~0x3bd4); + } + if (class64 == null || var_ha.method3667(class64.ua(), i_98_) != 0) { + if (class64 != null) i_98_ = var_ha.bitwiseOr(i_98_, class64.ua()); + int i_108_ = i_98_; + DisplayModeManagerContainer77[] class124s = new DisplayModeManagerContainer77[3]; + int i_109_ = 0; + if (!class150.method1203((byte) 33, i_95_).method342((byte) 114) || !class150.method1203((byte) 33, i_93_).method342((byte) 102) || !class150.method1203((byte) 33, i_92_).method342((byte) 94)) return null; + DisplayModeManagerContainer77 class124 = class150.method1203((byte) 33, i_95_).method343((byte) -50); + if (class124 != null) class124s[i_109_++] = class124; + class124 = class150.method1203((byte) 33, i_93_).method343((byte) -105); + if (class124 != null) class124s[i_109_++] = class124; + class124 = class150.method1203((byte) 33, i_92_).method343((byte) -30); + if (class124 != null) class124s[i_109_++] = class124; + class124 = new DisplayModeManagerContainer77(class124s, i_109_); + i_108_ |= 0x4000; + class64 = var_ha.method3625(class124, i_108_, Component39.anInt2251, 64, 768); + for (int i_110_ = 0; i_110_ < 5; i_110_++) { + for (int i_111_ = 0; (i_111_ < AbstractShaderSub2.aShortArrayArrayArray7290.length); i_111_++) { + if (this.anIntArray2095[i_110_] < (AbstractShaderSub2.aShortArrayArrayArray7290[i_111_][i_110_]).length) class64.ia((Component257.aShortArrayArray4791[i_111_][i_110_]), (AbstractShaderSub2.aShortArrayArrayArray7290[i_111_][i_110_][(this.anIntArray2095[i_110_])])); + } + } + class64.s(i_98_); + synchronized (Component387.aClass60_1894) { + Component387.aClass60_1894.putOne(class64, l, (byte) -109); + } + } + if (class17 == null) return class64; + if (i_94_ != -15331) return null; + class64 = class64.method614((byte) 4, i_98_, true); + class64 = class17.method269(-32, class64, i, i_96_, i_91_, i_97_); + return class64; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("oo.G(" + i + ',' + i_91_ + ',' + i_92_ + ',' + i_93_ + ',' + (class87 != null ? "{...}" : "null") + ',' + (class150 != null ? "{...}" : "null") + ',' + i_94_ + ',' + i_95_ + ',' + i_96_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_97_ + ',' + (class17 != null ? "{...}" : "null") + ')')); + } + } + + final void method1233(Component324 class150, int i, int i_112_, int i_113_) { + try { + anInt2098++; + int i_114_ = Component69.anIntArray3661[i_113_]; + if (class150.method1203((byte) 33, i) != null) { + if (i_112_ != -1) aLong2094 = -53L; + anIntArray2092[i_114_] = Component224.bitwiseOr(i, -2147483648); + method1234(-54); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("oo.D(" + (class150 != null ? "{...}" : "null") + ',' + i + ',' + i_112_ + ',' + i_113_ + ')')); + } + } + + private final void method1234(int i) { + anInt2096++; + aLong2102 = -1L; + long[] ls = DefinitionSub21.aLongArray9283; + aLong2102 = ls[(int) (((long) (anInt2103 >> 8) ^ aLong2102) & 0xffL)] ^ aLong2102 >>> 8; + if (i > -6) aLong2094 = 43L; + aLong2102 = aLong2102 >>> 8 ^ ls[(int) (0xffL & ((long) anInt2103 ^ aLong2102))]; + for (int i_115_ = 0; i_115_ < 12; i_115_++) { + aLong2102 = (aLong2102 >>> 8 ^ ls[(int) (((long) (anIntArray2092[i_115_] >> 24) ^ aLong2102) & 0xffL)]); + aLong2102 = ls[(int) (0xffL & ((long) (anIntArray2092[i_115_] >> 16) ^ aLong2102))] ^ aLong2102 >>> 8; + aLong2102 = (aLong2102 >>> 8 ^ ls[(int) (0xffL & (aLong2102 ^ (long) (anIntArray2092[i_115_] >> 8)))]); + aLong2102 = (ls[(int) (0xffL & (aLong2102 ^ (long) anIntArray2092[i_115_]))] ^ aLong2102 >>> 8); + } + for (int i_116_ = 0; i_116_ < 5; i_116_++) + aLong2102 = (ls[(int) (0xffL & (aLong2102 ^ (long) (this.anIntArray2095[i_116_])))] ^ aLong2102 >>> 8); + aLong2102 = (aLong2102 >>> 8 ^ ls[(int) (0xffL & (aLong2102 ^ (long) (!this.aBoolean2100 ? 0 : 1)))]); + } + + public static void method1235(byte i) { + if (i != 7) anInt2101 = -42; + aClass348_Sub49Array2105 = null; + } + + public Component101() { + /* empty */ + } +} diff --git a/client/components/Component102.java b/client/components/Component102.java new file mode 100644 index 000000000..5d1c751a3 --- /dev/null +++ b/client/components/Component102.java @@ -0,0 +1,71 @@ +/* Component102 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component102 +/** + * RENAMED from `Class292` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ implements Interface7 { + static int anInt4797 = 0; + static Component183 aClass114_4798; + static int anInt4799; + static int anInt4800; + static int anInt4801; + static int anInt4802; + static int anInt4803 = -1; + private final CacheStore aClass45_4804; + static int anInt4805; + + static final int method2201(int i) { + anInt4805++; + synchronized (DisplayModeManagerContainer310.aClass60_355) { + if (i != 2121) method2202(-113); + return DisplayModeManagerContainer310.aClass60_355.countHard(0); + } + } + + public final int method31(int i) { + anInt4801++; + int i_0_ = 16 / ((i - -43) / 62); + if (aClass45_4804.prefetchMandatory(125)) return 100; + return aClass45_4804.getAverageLoadPercent((byte) -31); + } + + public static void method2202(int i) { + aClass114_4798 = null; + if (i != -17902) anInt4803 = 78; + } + + public final Component325 method32(int i) { + if (i != -15004) return null; + anInt4800++; + return Component325.aClass69_1195; + } + + static final boolean method2203(byte i) { + int i_1_ = 11 % ((12 - i) / 53); + anInt4802++; + try { + return PacketReader.method3201(true); + } catch (java.io.IOException ioexception) { + SocketConnector.forceLogout(106); + return true; + } catch (Exception exception) { + String string = ("T2 - " + (NodeSub3.aClass114_6584 != null ? NodeSub3.aClass114_6584.method1058((byte) 119) : -1) + "," + (Component339.aClass114_3145 != null ? Component339.aClass114_3145.method1058((byte) 119) : -1) + "," + (DefinitionSub36.aClass114_9456 == null ? -1 : DefinitionSub36.aClass114_9456.method1058((byte) 113)) + " - " + DefinitionSub25.anInt9341 + "," + ((Component72.localPlayer.anIntArray10320[0]) + NodeBaseSub2.regionTileX) + "," + (Component330.regionTileY - -(Component72.localPlayer.anIntArray10317[0])) + " - "); + for (int i_2_ = 0; DefinitionSub25.anInt9341 > i_2_ && i_2_ < 50; i_2_++) + string += (Component80.aClass348_Sub49_Sub2_3813.payload[i_2_]) + ","; + ClientErrorReporter.reportError(string, exception, 15004); + LoggedOutDefinition.disconnectAndReset(false, (byte) 11); + return true; + } + } + + Component102(CacheStore class45) { + aClass45_4804 = class45; + } + + static { + aClass114_4798 = new Component183(29, 7); + } +} diff --git a/client/components/Component103.java b/client/components/Component103.java new file mode 100644 index 000000000..164a3bbd3 --- /dev/null +++ b/client/components/Component103.java @@ -0,0 +1,102 @@ +/* Component103 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component103 +/** + * RENAMED from `Class338` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + byte aByte4181; + short aShort4182; + short[] aShortArray4183; + int[] anIntArray4184 = new int[4]; + short aShort4185; + static int anInt4186; + int[] anIntArray4187; + short[] aShortArray4188; + static int anInt4189; + short aShort4190; + int[] anIntArray4191 = new int[4]; + byte aByte4192; + short aShort4193; + short[] aShortArray4194; + static int anInt4195; + static int[] anIntArray4196 = new int[5]; + static Component251 aClass237_Sub1_4197; + + static final NodeSub41 method2661(int i, int i_0_, int i_1_, boolean bool, int i_2_) { + if (i_2_ != 2) method2661(31, -43, 32, true, -110); + anInt4189++; + NodeSub41 class348_sub41 = new NodeSub41(); + class348_sub41.anInt7050 = i; + class348_sub41.anInt7053 = i_1_; + Component15.aClass356_4915.put((byte) 109, i_0_, class348_sub41); + NodeSub7.method2772(i, (byte) 110); + DisplayModeManagerContainer57 class46 = BitmapFont.method2570(i_2_ + 1512932718, i_0_); + if (class46 != null) Component111.markInterfaceDirty(-9343, class46); + if (Component297.aClass46_4730 != null) { + Component111.markInterfaceDirty(-9343, Component297.aClass46_4730); + Component297.aClass46_4730 = null; + } + HashNodeSub17.method3270((byte) 120); + if (class46 != null) Component111.layoutInterfaceTree(!bool, i_2_ + -104, class46); + if (!bool) ClientScriptExecutor.runInterfaceScripts(i); + if (!bool && r.anInt9721 != -1) Component205.method1775((byte) -8, r.anInt9721, 1); + return class348_sub41; + } + + public static void method2662(int i) { + aClass237_Sub1_4197 = null; + anIntArray4196 = null; + if (i != 4) method2663(91, -57, -85, 14, 6); + } + + static final void method2663(int i, int i_3_, int i_4_, int i_5_, int i_6_) { + anInt4195++; + if (Buffer.anInt7207 == 1) { + int i_7_ = i_3_ / Component255.anInt1067; + int i_8_ = i_4_ / Component255.anInt1067; + int i_9_ = i_5_ / AbstractBuffer.anInt4267; + int i_10_ = i_6_ / AbstractBuffer.anInt4267; + if (i_7_ < Component82.anInt425 && i_8_ >= 0 && AudioMixer.anInt3225 > i_9_ && i_10_ >= 0 && i == -5590) { + if (i_8_ >= Component82.anInt425) i_8_ = -1 + Component82.anInt425; + if (i_9_ < 0) i_9_ = 0; + if (i_10_ >= AudioMixer.anInt3225) i_10_ = AudioMixer.anInt3225 + -1; + if (i_7_ < 0) i_7_ = 0; + for (int i_11_ = i_9_; i_11_ <= i_10_; i_11_++) { + int i_12_ = (Component360.method3452(i_11_ + ShaderProgram.anInt3682, (byte) -15, AudioMixer.anInt3225) * Component82.anInt425); + for (int i_13_ = i_7_; i_8_ >= i_13_; i_13_++) { + int i_14_ = (i_12_ + Component360.method3452((ColoredText.anInt6095 + i_13_), (byte) -15, Component82.anInt425)); + Component72.anIntArray1909[i_14_] = Component212.anInt9997; + } + } + } + } + } + + Component103(int i, int i_15_, int i_16_, int i_17_, int i_18_, int i_19_, int i_20_, int i_21_, int i_22_, int i_23_, int i_24_, int i_25_, int i_26_, int i_27_) { + this.aByte4192 = (byte) i; + this.aByte4181 = (byte) i_15_; + this.anIntArray4187 = new int[4]; + this.anIntArray4187[0] = i_16_; + this.anIntArray4187[1] = i_17_; + this.anIntArray4187[3] = i_19_; + this.anIntArray4187[2] = i_18_; + this.anIntArray4191[0] = i_20_; + this.anIntArray4191[2] = i_22_; + this.anIntArray4191[3] = i_23_; + this.anIntArray4191[1] = i_21_; + this.anIntArray4184[1] = i_25_; + this.aShort4185 = (short) (i_16_ >> Component149.anInt4459); + this.anIntArray4184[3] = i_27_; + this.anIntArray4184[0] = i_24_; + this.anIntArray4184[2] = i_26_; + this.aShort4182 = (short) (i_18_ >> Component149.anInt4459); + this.aShort4193 = (short) (i_24_ >> Component149.anInt4459); + this.aShort4190 = (short) (i_26_ >> Component149.anInt4459); + this.aShortArray4188 = new short[4]; + this.aShortArray4183 = new short[4]; + this.aShortArray4194 = new short[4]; + } +} diff --git a/client/components/Component106.java b/client/components/Component106.java new file mode 100644 index 000000000..8b494392f --- /dev/null +++ b/client/components/Component106.java @@ -0,0 +1,23 @@ +/* Component106 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component106 +/** + * RENAMED from `Class41` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt559; + int anInt560; + int anInt561; + + public Component106() { + /* empty */ + } + + Component106(Component106 class41_0_) { + this.anInt561 = class41_0_.anInt561; + this.anInt560 = class41_0_.anInt560; + this.anInt559 = class41_0_.anInt559; + } +} diff --git a/client/components/Component107.java b/client/components/Component107.java new file mode 100644 index 000000000..e5195a3f2 --- /dev/null +++ b/client/components/Component107.java @@ -0,0 +1,83 @@ +/* Component107 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component107 +/** + * RENAMED from `Class343` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private final int anInt4255; + private final int anInt4256; + private final int anInt4257 = NodeSub10.method2789(16); + private final int anInt4258 = NodeSub10.method2789(24); + private final int anInt4259 = NodeSub10.method2789(24); + private final int[] anIntArray4260; + private final int anInt4261; + + final void method2688(float[] fs, int i, boolean bool) { + for (int i_0_ = 0; i_0_ < i; i_0_++) + fs[i_0_] = 0.0F; + if (!bool) { + int i_1_ = (NodeSub10.aClass370Array6718[anInt4261].anInt4514); + int i_2_ = anInt4259 - anInt4258; + int i_3_ = i_2_ / anInt4256; + int[] is = new int[i_3_]; + for (int i_4_ = 0; i_4_ < 8; i_4_++) { + int i_5_ = 0; + while (i_5_ < i_3_) { + if (i_4_ == 0) { + int i_6_ = NodeSub10.aClass370Array6718[anInt4261].method3581(); + for (int i_7_ = i_1_ - 1; i_7_ >= 0; i_7_--) { + if (i_5_ + i_7_ < i_3_) is[i_5_ + i_7_] = i_6_ % anInt4255; + i_6_ /= anInt4255; + } + } + for (int i_8_ = 0; i_8_ < i_1_; i_8_++) { + int i_9_ = is[i_5_]; + int i_10_ = anIntArray4260[i_9_ * 8 + i_4_]; + if (i_10_ >= 0) { + int i_11_ = anInt4258 + i_5_ * anInt4256; + Component367 class370 = NodeSub10.aClass370Array6718[i_10_]; + if (anInt4257 == 0) { + int i_12_ = (anInt4256 / class370.anInt4514); + for (int i_13_ = 0; i_13_ < i_12_; i_13_++) { + float[] fs_14_ = class370.method3582(); + for (int i_15_ = 0; (i_15_ < class370.anInt4514); i_15_++) + fs[i_11_ + i_13_ + i_15_ * i_12_] += fs_14_[i_15_]; + } + } else { + int i_16_ = 0; + while (i_16_ < anInt4256) { + float[] fs_17_ = class370.method3582(); + for (int i_18_ = 0; (i_18_ < class370.anInt4514); i_18_++) { + fs[i_11_ + i_16_] += fs_17_[i_18_]; + i_16_++; + } + } + } + } + if (++i_5_ >= i_3_) break; + } + } + } + } + } + + Component107() { + anInt4256 = NodeSub10.method2789(24) + 1; + anInt4255 = NodeSub10.method2789(6) + 1; + anInt4261 = NodeSub10.method2789(8); + int[] is = new int[anInt4255]; + for (int i = 0; i < anInt4255; i++) { + int i_19_ = 0; + int i_20_ = NodeSub10.method2789(3); + boolean bool = NodeSub10.method2788() != 0; + if (bool) i_19_ = NodeSub10.method2789(5); + is[i] = i_19_ << 3 | i_20_; + } + anIntArray4260 = new int[anInt4255 * 8]; + for (int i = 0; i < anInt4255 * 8; i++) + anIntArray4260[i] = ((is[i >> 3] & 1 << (i & 0x7)) != 0 ? NodeSub10.method2789(8) : -1); + } +} diff --git a/client/components/Component108.java b/client/components/Component108.java new file mode 100644 index 000000000..f39567ec2 --- /dev/null +++ b/client/components/Component108.java @@ -0,0 +1,66 @@ +/* Component108 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component108 +/** + * RENAMED from `Class197` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private int[] anIntArray2602; + int anInt2603; + private int anInt2604 = 2; + private int[] anIntArray2605 = new int[2]; + int anInt2606; + int anInt2607; + private int anInt2608; + private int anInt2609; + private int anInt2610; + private int anInt2611; + private int anInt2612; + + final int method1451(int i) { + if (anInt2609 >= anInt2610) { + anInt2612 = anIntArray2602[anInt2611++] << 15; + if (anInt2611 >= anInt2604) anInt2611 = anInt2604 - 1; + anInt2610 = (int) ((double) anIntArray2605[anInt2611] / 65536.0 * (double) i); + if (anInt2610 > anInt2609) anInt2608 = (((anIntArray2602[anInt2611] << 15) - anInt2612) / (anInt2610 - anInt2609)); + } + anInt2612 += anInt2608; + anInt2609++; + return anInt2612 - anInt2608 >> 15; + } + + final void method1452(Buffer class348_sub49) { + this.anInt2603 = class348_sub49.readUnsignedByte(255); + this.anInt2607 = class348_sub49.readInt((byte) -126); + this.anInt2606 = class348_sub49.readInt((byte) -126); + method1454(class348_sub49); + } + + final void method1453() { + anInt2610 = 0; + anInt2611 = 0; + anInt2608 = 0; + anInt2612 = 0; + anInt2609 = 0; + } + + public Component108() { + anIntArray2602 = new int[2]; + anIntArray2605[0] = 0; + anIntArray2605[1] = 65535; + anIntArray2602[0] = 0; + anIntArray2602[1] = 65535; + } + + final void method1454(Buffer class348_sub49) { + anInt2604 = class348_sub49.readUnsignedByte(255); + anIntArray2605 = new int[anInt2604]; + anIntArray2602 = new int[anInt2604]; + for (int i = 0; i < anInt2604; i++) { + anIntArray2605[i] = class348_sub49.readUnsignedShort(842397944); + anIntArray2602[i] = class348_sub49.readUnsignedShort(842397944); + } + } +} diff --git a/client/components/Component11.java b/client/components/Component11.java new file mode 100644 index 000000000..80cb0dc0e --- /dev/null +++ b/client/components/Component11.java @@ -0,0 +1,96 @@ +/* Component11 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component11 +/** + * RENAMED from `Class277` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt3558 = 64; + int anInt3559; + boolean aBoolean3560; + boolean aBoolean3561 = true; + DisplayModeManagerContainer259 aClass268_3562; + int anInt3563; + int anInt3564 = 8; + static int anInt3565; + boolean aBoolean3566; + static int anInt3567; + static CacheIndexReader aClass137_3568; + int anInt3569; + int anInt3570; + static int anInt3571; + static Component158 aClass21_3572 = new Component158(); + int anInt3573; + int anInt3574; + int anInt3575; + + final void method2067(int i) { + this.anInt3564 = (this.anInt3564 << 8 | this.anInt3573); + if (i != -4860) method2067(-102); + anInt3571++; + } + + static long method2068(long l, long l_0_) { + try { + return l | l_0_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "vd.D(" + l + ',' + l_0_ + ')'); + } + } + + private final void method2069(int i, Buffer class348_sub49, int i_1_) { + anInt3567++; + if (i == -1) { + if (i_1_ != 1) { + if (i_1_ == 2) this.anInt3575 = class348_sub49.readUnsignedByte(255); + else if (i_1_ == 3) { + this.anInt3575 = class348_sub49.readUnsignedShort(842397944); + if (this.anInt3575 == 65535) this.anInt3575 = -1; + } else if (i_1_ != 5) { + if (i_1_ != 7) { + if (i_1_ == 8) this.aClass268_3562.anInt3447 = this.anInt3573; + else if (i_1_ == 9) this.anInt3570 = (class348_sub49.readUnsignedShort(842397944) << 2); + else if (i_1_ == 10) this.aBoolean3566 = false; + else if (i_1_ == 11) this.anInt3564 = class348_sub49.readUnsignedByte(255); + else if (i_1_ != 12) { + if (i_1_ != 13) { + if (i_1_ != 14) { + if (i_1_ == 16) this.anInt3574 = class348_sub49.readUnsignedByte(255); + } else this.anInt3558 = (class348_sub49.readUnsignedByte(255) << 2); + } else this.anInt3559 = class348_sub49.readMedium(-1); + } else this.aBoolean3560 = true; + } else this.anInt3569 = (LoggedOutDefinition.method3140(-67, class348_sub49.readMedium(-1))); + } else this.aBoolean3561 = false; + } else this.anInt3563 = LoggedOutDefinition.method3140(-57, class348_sub49.readMedium(-1)); + } + } + + final void method2070(boolean bool, Buffer class348_sub49) { + if (bool != true) this.aBoolean3561 = false; + for (; ; ) { + int i = class348_sub49.readUnsignedByte(255); + if (i == 0) break; + method2069(-1, class348_sub49, i); + } + anInt3565++; + } + + public static void method2071(int i) { + aClass21_3572 = null; + aClass137_3568 = null; + if (i > -126) aClass21_3572 = null; + } + + public Component11() { + this.anInt3563 = 0; + this.aBoolean3566 = true; + this.aBoolean3560 = false; + this.anInt3569 = -1; + this.anInt3570 = 512; + this.anInt3559 = 1190717; + this.anInt3575 = -1; + this.anInt3574 = 127; + } +} diff --git a/client/components/Component110.java b/client/components/Component110.java new file mode 100644 index 000000000..5011ab113 --- /dev/null +++ b/client/components/Component110.java @@ -0,0 +1,68 @@ +/* Component110 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component110 +/** + * RENAMED from `Class16` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt230; + static Component3 aClass148_231; + static int anInt232; + static CacheStore aClass45_233; + static int anInt234; + + static final void method258(int i, int i_0_) { + Component186 class357 = Component335.aClass357ArrayArrayArray2029[0][i][i_0_]; + for (int i_1_ = 0; i_1_ < 3; i_1_++) { + Component186 class357_2_ = (Component335.aClass357ArrayArrayArray2029[i_1_][i][i_0_] = Component335.aClass357ArrayArrayArray2029[i_1_ + 1][i][i_0_]); + if (class357_2_ != null) { + for (Component3 class148 = class357_2_.aClass148_4396; class148 != null; class148 = class148.aClass148_2038) { + Component327 class318_sub1_sub3 = class148.aClass318_Sub1_Sub3_2040; + if ((class318_sub1_sub3.aShort8743 == i) && (class318_sub1_sub3.aShort8750) == i_0_) class318_sub1_sub3.plane--; + } + if (class357_2_.aClass318_Sub1_Sub1_4402 != null) class357_2_.aClass318_Sub1_Sub1_4402.plane--; + if (class357_2_.aClass318_Sub1_Sub4_4406 != null) class357_2_.aClass318_Sub1_Sub4_4406.plane--; + if (class357_2_.aClass318_Sub1_Sub4_4403 != null) class357_2_.aClass318_Sub1_Sub4_4403.plane--; + if (class357_2_.aClass318_Sub1_Sub5_4395 != null) class357_2_.aClass318_Sub1_Sub5_4395.plane--; + if (class357_2_.aClass318_Sub1_Sub5_4407 != null) class357_2_.aClass318_Sub1_Sub5_4407.plane--; + } + } + if (Component335.aClass357ArrayArrayArray2029[0][i][i_0_] == null) { + Component335.aClass357ArrayArrayArray2029[0][i][i_0_] = new Component186(0); + Component335.aClass357ArrayArrayArray2029[0][i][i_0_].aByte4399 = (byte) 1; + } + Component335.aClass357ArrayArrayArray2029[0][i][i_0_].aClass357_4400 = class357; + Component335.aClass357ArrayArrayArray2029[3][i][i_0_] = null; + } + + static final void method259(int i, int i_3_, boolean bool, String string, int i_4_) { + anInt230++; + DisplayModeManagerContainer109.method1356(false, null, i, i_4_, bool, string, true); + int i_5_ = -1 / ((i_3_ - -33) / 63); + } + + static final int method260(boolean bool) { + if (bool != false) aClass45_233 = null; + anInt232++; + if (Buffer.anInt7207 == 1) return DefinitionSub8.anInt9157; + return 0; + } + + public static void method261(byte i) { + aClass45_233 = null; + aClass148_231 = null; + if (i != -120) method262(-23); + } + + static final void method262(int i) { + anInt234++; + if (i != 0) aClass148_231 = null; + if (!Component214.aBoolean2130) { + Component214.aBoolean2130 = true; + Component275.cameraYawRate += (-Component275.cameraYawRate + -24.0F) / 2.0F; + DummyClass.aBoolean10174 = true; + } + } +} diff --git a/client/components/Component111.java b/client/components/Component111.java new file mode 100644 index 000000000..b3210d66b --- /dev/null +++ b/client/components/Component111.java @@ -0,0 +1,62 @@ +/* Component111 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component111 +/** + * RENAMED from `Class251` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3229; + static int anInt3230; + static int anInt3231; + static StringCache aClass351_3232 = new StringCache(51, 3); + static int anInt3233; + static int anInt3234 = 0; + static int anInt3235; + static int anInt3236; + + public static void clearStatics(int i) { + if (i == 8549) aClass351_3232 = null; + } + + /** Recursively layout/resize {@code class46} and its children / nested interface. */ + static final void layoutInterfaceTree(boolean bool, int i, DisplayModeManagerContainer57 class46) { + anInt3235++; + int i_0_ = -40 % ((-35 - i) / 51); + int i_1_ = (class46.anInt698 == 0 ? class46.anInt709 : class46.anInt698); + int i_2_ = (class46.anInt791 != 0 ? class46.anInt791 : class46.anInt789); + AbstractShaderSub1.method3534(false, class46.anInt830, i_1_, bool, i_2_, (DefinitionSub33.aClass46ArrayArray9427[(class46.anInt830 >> 16)])); + if (class46.aClass46Array798 != null) AbstractShaderSub1.method3534(false, class46.anInt830, i_1_, bool, i_2_, class46.aClass46Array798); + NodeSub41 class348_sub41 = ((NodeSub41) Component15.aClass356_4915.get(class46.anInt830, -6008)); + if (class348_sub41 != null) Component272.method1728(i_2_, -1, (class348_sub41.anInt7050), bool, i_1_); + } + + static final int lowByte(int i, int i_3_) { + anInt3231++; + if (i != -23590) layoutInterfaceTree(false, -115, null); + return i_3_ & 0xff; + } + + public final String toString() { + anInt3230++; + throw new IllegalStateException(); + } + + static final boolean isOrthogonalWallType(byte i, int i_4_) { + if (i != 4) return false; + anInt3233++; + return i_4_ != 1 && i_4_ != 7; + } + + /** Mark the interface component dirty for redraw this client cycle. */ + static final void markInterfaceDirty(int i, DisplayModeManagerContainer57 class46) { + anInt3229++; + if (class46.anInt794 == Component255.anInt1064) InflaterDecompressor.aBooleanArray2076[class46.anInt760] = true; + if (i != -9343) lowByte(-107, 120); + } + + public Component111() { + /* empty */ + } +} diff --git a/client/components/Component112.java b/client/components/Component112.java new file mode 100644 index 000000000..28b1611cd --- /dev/null +++ b/client/components/Component112.java @@ -0,0 +1,58 @@ +/* Component112 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +abstract class Component112 +/** + * RENAMED from `Class314` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + /** Camera yaw in 0..16384 units (wraps in {@code clampCameraAngles}). */ + static float cameraYaw = 0.0F; + static int anInt3939; + static int anInt3940; + static int anInt3941; + static int anInt3942; + static float aFloat3943; + + public Component112() { + /* empty */ + } + + /** Download/load percent for group {@code i_0_} (0..100). */ + abstract int getGroupLoadPercent(int i, int i_0_); + + static final void method2336(Component44 class51, int i, int i_1_, int i_2_, int i_3_) { + anInt3940++; + if (i_3_ > -126) anInt3941 = 15; + for (SceneNode class348_sub9 = (SceneNode) SceneManager.aClass262_2859.first(4); class348_sub9 != null; class348_sub9 = (SceneNode) SceneManager.aClass262_2859.next((byte) 123)) { + if (i_2_ == class348_sub9.anInt6693 && (class348_sub9.anInt6678 == i << 9) && (i_1_ << 9 == class348_sub9.anInt6689) && (class348_sub9.aClass51_6695.anInt941 == class51.anInt941)) { + if (class348_sub9.aClass348_Sub16_Sub5_6676 != null) { + PlayerState.aClass348_Sub16_Sub4_7065.method2880(class348_sub9.aClass348_Sub16_Sub5_6676); + class348_sub9.aClass348_Sub16_Sub5_6676 = null; + } + if (class348_sub9.aClass348_Sub16_Sub5_6673 != null) { + PlayerState.aClass348_Sub16_Sub4_7065.method2880(class348_sub9.aClass348_Sub16_Sub5_6673); + class348_sub9.aClass348_Sub16_Sub5_6673 = null; + } + class348_sub9.unlink((byte) 125); + break; + } + } + } + + static final float method2337(float f, boolean bool, float f_4_, float f_5_) { + if (bool != true) method2337(-0.96692735F, false, 0.1946915F, -1.0497112F); + anInt3942++; + return f + (-f + f_4_) * f_5_; + } + + /** Prefetch packed group {@code i_6_}. */ + abstract void requestGroup(byte i, int i_6_); + + /** Raw packed bytes for group {@code i}. */ + abstract byte[] getGroupData(int i, byte i_7_); + + /** Load/parse the archive reference table, or null if not ready. */ + abstract ReferenceTable getReferenceTable(byte i); +} diff --git a/client/components/Component113.java b/client/components/Component113.java new file mode 100644 index 000000000..acd215c0e --- /dev/null +++ b/client/components/Component113.java @@ -0,0 +1,285 @@ +/* Component113 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component113 +/** + * RENAMED from `Class181` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt2373; + static boolean[] aBooleanArray2374 = new boolean[5]; + private int anInt2375; + boolean aBoolean2376; + int anInt2377; + static int anInt2378; + int anInt2379 = 0; + int[] anIntArray2380; + int anInt2381; + boolean aBoolean2382 = false; + int anInt2383; + int anInt2384; + int[] anIntArray2385; + int anInt2386; + int anInt2387 = -1; + int anInt2388; + int anInt2389; + int anInt2390; + int anInt2391; + int anInt2392; + int anInt2393; + int anInt2394; + int[] anIntArray2395; + static int anInt2396; + boolean aBoolean2397; + static int anInt2398; + int anInt2399; + static int anInt2400; + private int anInt2401; + int[] anIntArray2402; + int anInt2403; + int anInt2404 = -1; + int anInt2405; + boolean aBoolean2406; + int anInt2407; + int anInt2408; + static int anInt2409; + int anInt2410; + boolean aBoolean2411 = true; + private int anInt2412; + int anInt2413; + int anInt2414; + short aShort2415; + int anInt2416; + int anInt2417; + short aShort2418; + private int anInt2419; + private int anInt2420; + int anInt2421; + int anInt2422; + int anInt2423; + boolean aBoolean2424; + int anInt2425; + int anInt2426; + int anInt2427; + private int anInt2428; + int anInt2429; + boolean aBoolean2430; + short aShort2431; + private int anInt2432; + int anInt2433; + private int anInt2434; + boolean aBoolean2435; + int anInt2436; + int anInt2437; + int anInt2438; + int anInt2439; + private int anInt2440; + short aShort2441; + int anInt2442; + boolean aBoolean2443; + private int anInt2444; + + static final void method1367(int i, int i_0_, float f, int i_1_, float[] fs, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, float[] fs_7_) { + try { + i_2_ -= i; + anInt2409++; + i_1_ -= i_3_; + i_4_ -= i_5_; + float f_8_ = (float) i_2_ * fs_7_[2] + (fs_7_[1] * (float) i_4_ + fs_7_[0] * (float) i_1_); + float f_9_ = (float) i_2_ * fs_7_[5] + ((float) i_1_ * fs_7_[3] + (float) i_4_ * fs_7_[4]); + float f_10_ = (fs_7_[6] * (float) i_1_ + (float) i_4_ * fs_7_[7] + (float) i_2_ * fs_7_[8]); + float f_11_ = (float) Math.sqrt(f_8_ * f_8_ + f_9_ * f_9_ + f_10_ * f_10_); + float f_12_ = 0.5F + ((float) Math.atan2(f_8_, f_10_) / 6.2831855F); + if (i_6_ != -4) method1369((byte) 98); + float f_13_ = f + (0.5F + ((float) Math.asin(f_9_ / f_11_) / 3.1415927F)); + if (i_0_ == 1) { + float f_15_ = f_12_; + f_12_ = -f_13_; + f_13_ = f_15_; + } else if (i_0_ == 2) { + f_13_ = -f_13_; + f_12_ = -f_12_; + } else if (i_0_ == 3) { + float f_14_ = f_12_; + f_12_ = f_13_; + f_13_ = -f_14_; + } + fs[0] = f_12_; + fs[1] = f_13_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qb.E(" + i + ',' + i_0_ + ',' + f + ',' + i_1_ + ',' + (fs != null ? "{...}" : "null") + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + (fs_7_ != null ? "{...}" : "null") + ')')); + } + } + + private final void method1368(int i, Buffer class348_sub49, int i_16_) { + if (i >= -43) method1369((byte) -111); + anInt2396++; + if (i_16_ == 1) { + this.aShort2431 = (short) class348_sub49.readUnsignedShort(842397944); + this.aShort2415 = (short) class348_sub49.readUnsignedShort(842397944); + this.aShort2418 = (short) class348_sub49.readUnsignedShort(842397944); + this.aShort2441 = (short) class348_sub49.readUnsignedShort(842397944); + int i_23_ = 3; + this.aShort2431 <<= i_23_; + this.aShort2418 <<= i_23_; + this.aShort2441 <<= i_23_; + this.aShort2415 <<= i_23_; + } else if (i_16_ == 2) class348_sub49.readUnsignedByte(255); + else if (i_16_ == 3) { + this.anInt2392 = class348_sub49.readInt((byte) -126); + this.anInt2438 = class348_sub49.readInt((byte) -126); + } else if (i_16_ == 4) { + this.anInt2436 = class348_sub49.readUnsignedByte(255); + this.anInt2437 = class348_sub49.readByte(-115); + } else if (i_16_ != 5) { + if (i_16_ == 6) { + anInt2428 = class348_sub49.readInt((byte) -126); + anInt2434 = class348_sub49.readInt((byte) -126); + } else if (i_16_ == 7) { + this.anInt2394 = class348_sub49.readUnsignedShort(842397944); + this.anInt2407 = class348_sub49.readUnsignedShort(842397944); + } else if (i_16_ == 8) { + this.anInt2391 = class348_sub49.readUnsignedShort(842397944); + this.anInt2389 = class348_sub49.readUnsignedShort(842397944); + } else if (i_16_ == 9) { + int i_21_ = class348_sub49.readUnsignedByte(255); + this.anIntArray2402 = new int[i_21_]; + for (int i_22_ = 0; i_22_ < i_21_; i_22_++) + this.anIntArray2402[i_22_] = class348_sub49.readUnsignedShort(842397944); + } else if (i_16_ == 10) { + int i_19_ = class348_sub49.readUnsignedByte(255); + this.anIntArray2395 = new int[i_19_]; + for (int i_20_ = 0; (i_20_ < i_19_); i_20_++) + this.anIntArray2395[i_20_] = class348_sub49.readUnsignedShort(842397944); + } else if (i_16_ == 12) this.anInt2384 = class348_sub49.readByte(-112); + else if (i_16_ != 13) { + if (i_16_ == 14) this.anInt2422 = class348_sub49.readUnsignedShort(842397944); + else if (i_16_ != 15) { + if (i_16_ == 16) { + this.aBoolean2406 = class348_sub49.readUnsignedByte(255) == 1; + this.anInt2393 = class348_sub49.readUnsignedShort(842397944); + this.anInt2425 = class348_sub49.readUnsignedShort(842397944); + this.aBoolean2411 = class348_sub49.readUnsignedByte(255) == 1; + } else if (i_16_ == 17) this.anInt2387 = class348_sub49.readUnsignedShort(842397944); + else if (i_16_ == 18) this.anInt2386 = class348_sub49.readInt((byte) -126); + else if (i_16_ != 19) { + if (i_16_ == 20) anInt2375 = class348_sub49.readUnsignedByte(255); + else if (i_16_ != 21) { + if (i_16_ == 22) this.anInt2404 = (class348_sub49.readInt((byte) -126)); + else if (i_16_ != 23) { + if (i_16_ != 24) { + if (i_16_ == 25) { + int i_17_ = (class348_sub49.readUnsignedByte(255)); + this.anIntArray2380 = (new int + [i_17_]); + for (int i_18_ = 0; i_17_ > i_18_; i_18_++) + this.anIntArray2380[i_18_] = (class348_sub49.readUnsignedShort(842397944)); + } else if (i_16_ != 26) { + if (i_16_ == 27) this.anInt2427 = ((class348_sub49.readUnsignedShort(842397944)) << -755800980 << 80752930); + else if (i_16_ == 28) anInt2432 = (class348_sub49.readUnsignedByte(255)); + else if (i_16_ != 29) { + if (i_16_ != 30) { + if (i_16_ == 31) { + this.anInt2442 = class348_sub49.readUnsignedShort(842397944) << 2097170348 << -1512556382; + this.anInt2417 = class348_sub49.readUnsignedShort(842397944) << -355565332 << -2060812222; + } else if (i_16_ != 32) { + if (i_16_ != 33) { + if (i_16_ == 34) this.aBoolean2376 = false; + } else this.aBoolean2424 = true; + } else this.aBoolean2430 = false; + } else this.aBoolean2382 = true; + } else class348_sub49.readShort(13638); + } else this.aBoolean2435 = false; + } else this.aBoolean2443 = false; + } else anInt2401 = class348_sub49.readUnsignedByte(255); + } else anInt2440 = class348_sub49.readUnsignedByte(255); + } else this.anInt2379 = class348_sub49.readUnsignedByte(255); + } else this.anInt2414 = class348_sub49.readUnsignedShort(842397944); + } else this.anInt2423 = class348_sub49.readByte(-124); + } else this.anInt2442 = this.anInt2417 = (class348_sub49.readUnsignedShort(842397944) << -374037204 << 1009462498); + } + + public static void method1369(byte i) { + aBooleanArray2374 = null; + if (i != 2) anInt2398 = 113; + } + + final void method1370(int i, Buffer class348_sub49) { + anInt2400++; + for (; ; ) { + int i_24_ = class348_sub49.readUnsignedByte(255); + if (i_24_ == 0) break; + method1368(-75, class348_sub49, i_24_); + } + int i_25_ = 117 / ((i - -51) / 43); + } + + final void method1371(int i) { + this.anInt2429 = (0xff8084 & anInt2428) >> 16; + anInt2420 = anInt2434 >> 16 & 0xff; + if (this.anInt2384 > -2 || this.anInt2423 > -2) this.aBoolean2397 = true; + anInt2378++; + anInt2419 = anInt2434 >> 8 & 0xff; + this.anInt2390 = 0xff & anInt2428 >> 8; + this.anInt2433 = -this.anInt2429 + anInt2420; + anInt2412 = 0xff & anInt2434; + this.anInt2399 = anInt2428 & 0xff; + this.anInt2403 = anInt2419 - this.anInt2390; + if (i != 4) this.aBoolean2376 = false; + this.anInt2413 = anInt2428 >> 24 & 0xff; + this.anInt2408 = anInt2412 - this.anInt2399; + anInt2444 = 0xff & anInt2434 >> 24; + this.anInt2410 = -this.anInt2413 + anInt2444; + if (this.anInt2427 != -1) { + this.anInt2388 = this.anInt2407 * anInt2432 / 100; + if (this.anInt2388 == 0) this.anInt2388 = 1; + this.anInt2439 = ((this.anInt2427 + -((this.anInt2417 - this.anInt2442) / 2) + -this.anInt2442) / this.anInt2388); + } + if (this.anInt2386 != 0) { + this.anInt2381 = this.anInt2407 * anInt2440 / 100; + this.anInt2373 = anInt2375 * this.anInt2407 / 100; + if (this.anInt2373 == 0) this.anInt2373 = 1; + this.anInt2426 = ((((this.anInt2386 & 0xff61a1) >> 16) + (-this.anInt2429 - this.anInt2433 / 2)) << 8) / this.anInt2373; + this.anInt2405 = (((0xff & this.anInt2386) - (this.anInt2399 - -(this.anInt2408 / 2))) << 8) / this.anInt2373; + if (this.anInt2381 == 0) this.anInt2381 = 1; + this.anInt2421 = ((-(this.anInt2403 / 2) + -this.anInt2390 + ((this.anInt2386 & 0xff16) >> 8)) << 8) / this.anInt2373; + Component113 class181_26_ = this; + class181_26_.anInt2426 = (class181_26_.anInt2426 + (this.anInt2426 > 0 ? -4 : 4)); + Component113 class181_27_ = this; + class181_27_.anInt2405 = (class181_27_.anInt2405 + (this.anInt2405 <= 0 ? 4 : -4)); + this.anInt2416 = (((this.anInt2386 >> 24 & 0xff) - this.anInt2410 / 2 - this.anInt2413) << 8) / this.anInt2381; + Component113 class181_28_ = this; + class181_28_.anInt2421 = (class181_28_.anInt2421 + (this.anInt2421 > 0 ? -4 : 4)); + Component113 class181_29_ = this; + class181_29_.anInt2416 = (class181_29_.anInt2416 + (this.anInt2416 <= 0 ? 4 : -4)); + } + if (this.anInt2404 != -1) { + this.anInt2383 = anInt2401 * this.anInt2407 / 100; + if (this.anInt2383 == 0) this.anInt2383 = 1; + this.anInt2377 = ((-this.anInt2392 + (-((this.anInt2438 + -this.anInt2392) / 2) + this.anInt2404)) / this.anInt2383); + } + } + + public Component113() { + this.anInt2384 = -2; + this.aBoolean2397 = false; + anInt2401 = 100; + this.aBoolean2376 = true; + this.anInt2393 = -1; + this.anInt2423 = -2; + anInt2375 = 100; + this.anInt2427 = -1; + this.anInt2425 = -1; + this.aBoolean2430 = true; + this.anInt2422 = 0; + this.aBoolean2424 = false; + this.anInt2414 = -1; + anInt2432 = 100; + anInt2440 = 100; + this.anInt2436 = 0; + this.aBoolean2435 = true; + this.aBoolean2406 = true; + this.aBoolean2443 = true; + } +} diff --git a/client/components/Component114.java b/client/components/Component114.java new file mode 100644 index 000000000..2abbe46c3 --- /dev/null +++ b/client/components/Component114.java @@ -0,0 +1,72 @@ +/* Component114 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component114 +/** + * RENAMED from `Class302` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt3831; + int anInt3832; + int anInt3833; + int anInt3834 = -1; + int anInt3835; + static int anInt3836; + int anInt3837; + int anInt3838; + int anInt3839; + int anInt3840; + static int anInt3841; + + /** Select/filter a world-list entry and clear the pending world request. */ + static final void selectWorldListEntry(boolean bool, int i, int i_0_, int i_1_, boolean bool_2_) { + Component99.method950(i_0_, 0, Component304.aClass110_Sub1Array1146.length + -1, bool, (byte) 56, i_1_, bool_2_); + anInt3836++; + ScreenModeManager.anInt2834 = i; + Component218.aClass348_Sub26_2332 = null; + } + + /** Per-frame: update follow/orbit camera, particles, and HUD dirty flags. */ + static final void pulseCameraAndHud(byte i, long l) { + try { + anInt3841++; + if (Component335.aClass357ArrayArrayArray2029 != null) { + if (DefinitionSub21.cameraMode != 1 && DefinitionSub21.cameraMode != 5) { + if (DefinitionSub21.cameraMode == 4) CommandHandler.updateOrbitCamera((byte) 125, l); + } else Canvas_Sub1.updateFollowCamera(-1, l); + } + ParticleSystem.method3324(NodeSub8.toolkit, (byte) 83, OpenGlShader.clientCycle); + if (r.anInt9721 != -1) DisplayModeManagerContainer216.method769(r.anInt9721, (byte) 118); + for (int i_3_ = 0; i_3_ < NodeSub38.anInt7008; i_3_++) { + if (InflaterDecompressor.aBooleanArray2076[i_3_]) DisplayModeManagerContainer259.aBooleanArray3438[i_3_] = true; + Component143.aBooleanArray2326[i_3_] = InflaterDecompressor.aBooleanArray2076[i_3_]; + InflaterDecompressor.aBooleanArray2076[i_3_] = false; + } + Component255.anInt1064 = OpenGlShader.clientCycle; + Component2.method198(null, false, -1, -1); + Component143.method1343(-1, null, 1, -1); + if (r.anInt9721 != -1) { + NodeSub38.anInt7008 = 0; + TheoraVideoPlayer.method842(false); + } + NodeSub8.toolkit.la(); + HashNodeSub20.method3281((byte) 46, NodeSub8.toolkit); + int i_4_ = DisplayModeManagerContainer67.getHoveredMenuPriority(3112); + if (i_4_ == -1) i_4_ = Component149.anInt4458; + if (i_4_ == -1) i_4_ = HashNodeSub16Sub1.anInt10447; + Component373.method338(0, i_4_); + if (i == -43) { + int i_5_ = (Component72.localPlayer.method2436((byte) 103) << 8); + DisplayModeManagerContainer147.method2655(98, Component72.localPlayer.plane, NodeSub51.anInt7267, i_5_ + (Component72.localPlayer.y), (Component72.localPlayer.x - -i_5_)); + NodeSub51.anInt7267 = 0; + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "wo.B(" + i + ',' + l + ')'); + } + } + + public Component114() { + /* empty */ + } +} diff --git a/client/components/Component116.java b/client/components/Component116.java new file mode 100644 index 000000000..5e651ed63 --- /dev/null +++ b/client/components/Component116.java @@ -0,0 +1,228 @@ +/* Component116 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component116 +/** + * RENAMED from `Class210` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private static float[] aFloatArray2719 = {1.0649863E-7F, 1.1341951E-7F, 1.2079015E-7F, 1.2863978E-7F, 1.369995E-7F, 1.459025E-7F, 1.5538409E-7F, 1.6548181E-7F, 1.7623574E-7F, 1.8768856E-7F, 1.998856E-7F, 2.128753E-7F, 2.2670913E-7F, 2.4144197E-7F, 2.5713223E-7F, 2.7384212E-7F, 2.9163792E-7F, 3.1059022E-7F, 3.307741E-7F, 3.5226967E-7F, 3.7516213E-7F, 3.995423E-7F, 4.255068E-7F, 4.5315863E-7F, 4.8260745E-7F, 5.1397E-7F, 5.4737063E-7F, 5.829419E-7F, 6.208247E-7F, 6.611694E-7F, 7.041359E-7F, 7.4989464E-7F, 7.98627E-7F, 8.505263E-7F, 9.057983E-7F, 9.646621E-7F, 1.0273513E-6F, 1.0941144E-6F, 1.1652161E-6F, 1.2409384E-6F, 1.3215816E-6F, 1.4074654E-6F, 1.4989305E-6F, 1.5963394E-6F, 1.7000785E-6F, 1.8105592E-6F, 1.9282195E-6F, 2.053526E-6F, 2.1869757E-6F, 2.3290977E-6F, 2.4804558E-6F, 2.6416496E-6F, 2.813319E-6F, 2.9961443E-6F, 3.1908505E-6F, 3.39821E-6F, 3.619045E-6F, 3.8542307E-6F, 4.1047006E-6F, 4.371447E-6F, 4.6555283E-6F, 4.958071E-6F, 5.280274E-6F, 5.623416E-6F, 5.988857E-6F, 6.3780467E-6F, 6.7925284E-6F, 7.2339453E-6F, 7.704048E-6F, 8.2047E-6F, 8.737888E-6F, 9.305725E-6F, 9.910464E-6F, 1.0554501E-5F, 1.1240392E-5F, 1.1970856E-5F, 1.2748789E-5F, 1.3577278E-5F, 1.4459606E-5F, 1.5399271E-5F, 1.6400005E-5F, 1.7465769E-5F, 1.8600793E-5F, 1.9809577E-5F, 2.1096914E-5F, 2.2467912E-5F, 2.3928002E-5F, 2.5482977E-5F, 2.7139005E-5F, 2.890265E-5F, 3.078091E-5F, 3.2781227E-5F, 3.4911533E-5F, 3.718028E-5F, 3.9596467E-5F, 4.2169668E-5F, 4.491009E-5F, 4.7828602E-5F, 5.0936775E-5F, 5.424693E-5F, 5.7772202E-5F, 6.152657E-5F, 6.552491E-5F, 6.9783084E-5F, 7.4317984E-5F, 7.914758E-5F, 8.429104E-5F, 8.976875E-5F, 9.560242E-5F, 1.0181521E-4F, 1.0843174E-4F, 1.1547824E-4F, 1.2298267E-4F, 1.3097477E-4F, 1.3948625E-4F, 1.4855085E-4F, 1.5820454E-4F, 1.6848555E-4F, 1.7943469E-4F, 1.9109536E-4F, 2.0351382E-4F, 2.167393E-4F, 2.3082423E-4F, 2.4582449E-4F, 2.6179955E-4F, 2.7881275E-4F, 2.9693157E-4F, 3.1622787E-4F, 3.3677815E-4F, 3.5866388E-4F, 3.8197188E-4F, 4.0679457E-4F, 4.3323037E-4F, 4.613841E-4F, 4.913675E-4F, 5.2329927E-4F, 5.573062E-4F, 5.935231E-4F, 6.320936E-4F, 6.731706E-4F, 7.16917E-4F, 7.635063E-4F, 8.1312325E-4F, 8.6596457E-4F, 9.2223985E-4F, 9.821722E-4F, 0.0010459992F, 0.0011139743F, 0.0011863665F, 0.0012634633F, 0.0013455702F, 0.0014330129F, 0.0015261382F, 0.0016253153F, 0.0017309374F, 0.0018434235F, 0.0019632196F, 0.0020908006F, 0.0022266726F, 0.0023713743F, 0.0025254795F, 0.0026895993F, 0.0028643848F, 0.0030505287F, 0.003248769F, 0.0034598925F, 0.0036847359F, 0.0039241905F, 0.0041792067F, 0.004450795F, 0.004740033F, 0.005048067F, 0.0053761187F, 0.005725489F, 0.0060975635F, 0.0064938175F, 0.0069158226F, 0.0073652514F, 0.007843887F, 0.008353627F, 0.008896492F, 0.009474637F, 0.010090352F, 0.01074608F, 0.011444421F, 0.012188144F, 0.012980198F, 0.013823725F, 0.014722068F, 0.015678791F, 0.016697686F, 0.017782796F, 0.018938422F, 0.020169148F, 0.021479854F, 0.022875736F, 0.02436233F, 0.025945531F, 0.027631618F, 0.029427277F, 0.031339627F, 0.03337625F, 0.035545226F, 0.037855156F, 0.0403152F, 0.042935107F, 0.045725275F, 0.048696756F, 0.05186135F, 0.05523159F, 0.05882085F, 0.062643364F, 0.06671428F, 0.07104975F, 0.075666964F, 0.08058423F, 0.08582105F, 0.09139818F, 0.097337745F, 0.1036633F, 0.11039993F, 0.11757434F, 0.12521498F, 0.13335215F, 0.14201812F, 0.15124726F, 0.16107617F, 0.1715438F, 0.18269168F, 0.19456401F, 0.20720787F, 0.22067343F, 0.23501402F, 0.25028655F, 0.26655158F, 0.28387362F, 0.3023213F, 0.32196787F, 0.34289113F, 0.36517414F, 0.3889052F, 0.41417846F, 0.44109413F, 0.4697589F, 0.50028646F, 0.53279793F, 0.5674221F, 0.6042964F, 0.64356697F, 0.6853896F, 0.72993004F, 0.777365F, 0.8278826F, 0.88168305F, 0.9389798F, 1.0F}; + private final int[] anIntArray2720; + private static int[] anIntArray2721; + private final int anInt2722; + private final int[] anIntArray2723; + private static int[] anIntArray2724 = {256, 128, 86, 64}; + private final int[] anIntArray2725; + private final int[] anIntArray2726; + private static boolean[] aBooleanArray2727; + private static int[] anIntArray2728; + private final int[] anIntArray2729; + private final int[][] anIntArrayArray2730; + + final void method1530(float[] fs, int i) { + int i_0_ = anIntArray2726.length; + int i_1_ = anIntArray2724[anInt2722 - 1]; + aBooleanArray2727[0] = aBooleanArray2727[1] = true; + for (int i_2_ = 2; i_2_ < i_0_; i_2_++) { + int i_3_ = method1537(anIntArray2721, i_2_); + int i_4_ = method1532(anIntArray2721, i_2_); + int i_5_ = method1533(anIntArray2721[i_3_], anIntArray2728[i_3_], anIntArray2721[i_4_], anIntArray2728[i_4_], anIntArray2721[i_2_]); + int i_6_ = anIntArray2728[i_2_]; + int i_7_ = i_1_ - i_5_; + int i_8_ = i_5_; + int i_9_ = (Math.min(i_7_, i_8_)) << 1; + if (i_6_ == 0) { + aBooleanArray2727[i_2_] = false; + anIntArray2728[i_2_] = i_5_; + } else { + aBooleanArray2727[i_3_] = aBooleanArray2727[i_4_] = true; + aBooleanArray2727[i_2_] = true; + if (i_6_ >= i_9_) anIntArray2728[i_2_] = (i_7_ > i_8_ ? i_6_ - i_8_ + i_5_ : i_5_ - i_6_ + i_7_ - 1); + else anIntArray2728[i_2_] = ((i_6_ & 0x1) != 0 ? i_5_ - (i_6_ + 1) / 2 : i_5_ + i_6_ / 2); + } + } + method1535(0, i_0_ - 1); + int i_10_ = 0; + int i_11_ = anIntArray2728[0] * anInt2722; + for (int i_12_ = 1; i_12_ < i_0_; i_12_++) { + if (aBooleanArray2727[i_12_]) { + int i_13_ = anIntArray2721[i_12_]; + int i_14_ = anIntArray2728[i_12_] * anInt2722; + method1531(i_10_, i_11_, i_13_, i_14_, fs, i); + if (i_13_ >= i) return; + i_10_ = i_13_; + i_11_ = i_14_; + } + } + float f = aFloatArray2719[i_11_]; + for (int i_15_ = i_10_; i_15_ < i; i_15_++) + fs[i_15_] *= f; + } + + private final void method1531(int i, int i_16_, int i_17_, int i_18_, float[] fs, int i_19_) { + int i_20_ = i_18_ - i_16_; + int i_21_ = i_17_ - i; + int i_22_ = i_20_ < 0 ? -i_20_ : i_20_; + int i_23_ = i_20_ / i_21_; + int i_24_ = i_16_; + int i_25_ = 0; + int i_26_ = i_20_ < 0 ? i_23_ - 1 : i_23_ + 1; + i_22_ = i_22_ - (i_23_ < 0 ? -i_23_ : i_23_) * i_21_; + fs[i] *= aFloatArray2719[i_24_]; + if (i_17_ > i_19_) i_17_ = i_19_; + for (int i_27_ = i + 1; i_27_ < i_17_; i_27_++) { + i_25_ += i_22_; + if (i_25_ >= i_21_) { + i_25_ -= i_21_; + i_24_ += i_26_; + } else i_24_ += i_23_; + fs[i_27_] *= aFloatArray2719[i_24_]; + } + } + + private static final int method1532(int[] is, int i) { + int i_28_ = is[i]; + int i_29_ = -1; + int i_30_ = 2147483647; + for (int i_31_ = 0; i_31_ < i; i_31_++) { + int i_32_ = is[i_31_]; + if (i_32_ > i_28_ && i_32_ < i_30_) { + i_29_ = i_31_; + i_30_ = i_32_; + } + } + return i_29_; + } + + private final int method1533(int i, int i_33_, int i_34_, int i_35_, int i_36_) { + int i_37_ = i_35_ - i_33_; + int i_38_ = i_34_ - i; + int i_39_ = i_37_ < 0 ? -i_37_ : i_37_; + int i_40_ = i_39_ * (i_36_ - i); + int i_41_ = i_40_ / i_38_; + if (i_37_ < 0) return i_33_ - i_41_; + return i_33_ + i_41_; + } + + final boolean method1534() { + boolean bool = NodeSub10.method2788() != 0; + if (!bool) return false; + int i = anIntArray2726.length; + for (int i_42_ = 0; i_42_ < i; i_42_++) + anIntArray2721[i_42_] = anIntArray2726[i_42_]; + int i_43_ = anIntArray2724[anInt2722 - 1]; + int i_44_ = Component80.method2253(i_43_ - 1, -17); + anIntArray2728[0] = NodeSub10.method2789(i_44_); + anIntArray2728[1] = NodeSub10.method2789(i_44_); + int i_45_ = 2; + for (int i_46_ = 0; i_46_ < anIntArray2725.length; i_46_++) { + int i_47_ = anIntArray2725[i_46_]; + int i_48_ = anIntArray2720[i_47_]; + int i_49_ = anIntArray2729[i_47_]; + int i_50_ = (1 << i_49_) - 1; + int i_51_ = 0; + if (i_49_ > 0) i_51_ = NodeSub10.aClass370Array6718[anIntArray2723[i_47_]].method3581(); + for (int i_52_ = 0; i_52_ < i_48_; i_52_++) { + int i_53_ = anIntArrayArray2730[i_47_][i_51_ & i_50_]; + i_51_ >>>= i_49_; + anIntArray2728[i_45_++] = (i_53_ >= 0 ? NodeSub10.aClass370Array6718[i_53_].method3581() : 0); + } + } + return true; + } + + private final void method1535(int i, int i_54_) { + if (i < i_54_) { + int i_55_ = i; + int i_56_ = anIntArray2721[i_55_]; + int i_57_ = anIntArray2728[i_55_]; + boolean bool = aBooleanArray2727[i_55_]; + for (int i_58_ = i + 1; i_58_ <= i_54_; i_58_++) { + int i_59_ = anIntArray2721[i_58_]; + if (i_59_ < i_56_) { + anIntArray2721[i_55_] = i_59_; + anIntArray2728[i_55_] = anIntArray2728[i_58_]; + aBooleanArray2727[i_55_] = aBooleanArray2727[i_58_]; + i_55_++; + anIntArray2721[i_58_] = anIntArray2721[i_55_]; + anIntArray2728[i_58_] = anIntArray2728[i_55_]; + aBooleanArray2727[i_58_] = aBooleanArray2727[i_55_]; + } + } + anIntArray2721[i_55_] = i_56_; + anIntArray2728[i_55_] = i_57_; + aBooleanArray2727[i_55_] = bool; + method1535(i, i_55_ - 1); + method1535(i_55_ + 1, i_54_); + } + } + + public static void method1536() { + anIntArray2724 = null; + aFloatArray2719 = null; + anIntArray2721 = null; + anIntArray2728 = null; + aBooleanArray2727 = null; + } + + private static final int method1537(int[] is, int i) { + int i_60_ = is[i]; + int i_61_ = -1; + int i_62_ = -2147483648; + for (int i_63_ = 0; i_63_ < i; i_63_++) { + int i_64_ = is[i_63_]; + if (i_64_ < i_60_ && i_64_ > i_62_) { + i_61_ = i_63_; + i_62_ = i_64_; + } + } + return i_61_; + } + + Component116() { + int i = NodeSub10.method2789(16); + if (i != 1) throw new RuntimeException(); + int i_65_ = NodeSub10.method2789(5); + int i_66_ = 0; + anIntArray2725 = new int[i_65_]; + for (int i_67_ = 0; i_67_ < i_65_; i_67_++) { + int i_68_ = NodeSub10.method2789(4); + anIntArray2725[i_67_] = i_68_; + if (i_68_ >= i_66_) i_66_ = i_68_ + 1; + } + anIntArray2720 = new int[i_66_]; + anIntArray2729 = new int[i_66_]; + anIntArray2723 = new int[i_66_]; + anIntArrayArray2730 = new int[i_66_][]; + for (int i_69_ = 0; i_69_ < i_66_; i_69_++) { + anIntArray2720[i_69_] = NodeSub10.method2789(3) + 1; + int i_70_ = anIntArray2729[i_69_] = NodeSub10.method2789(2); + if (i_70_ != 0) anIntArray2723[i_69_] = NodeSub10.method2789(8); + i_70_ = 1 << i_70_; + int[] is = new int[i_70_]; + anIntArrayArray2730[i_69_] = is; + for (int i_71_ = 0; i_71_ < i_70_; i_71_++) + is[i_71_] = NodeSub10.method2789(8) - 1; + } + anInt2722 = NodeSub10.method2789(2) + 1; + int i_72_ = NodeSub10.method2789(4); + int i_73_ = 2; + for (int i_74_ = 0; i_74_ < i_65_; i_74_++) + i_73_ += anIntArray2720[anIntArray2725[i_74_]]; + anIntArray2726 = new int[i_73_]; + anIntArray2726[0] = 0; + anIntArray2726[1] = 1 << i_72_; + i_73_ = 2; + for (int i_75_ = 0; i_75_ < i_65_; i_75_++) { + int i_76_ = anIntArray2725[i_75_]; + for (int i_77_ = 0; i_77_ < anIntArray2720[i_76_]; i_77_++) + anIntArray2726[i_73_++] = NodeSub10.method2789(i_72_); + } + if (anIntArray2721 == null || anIntArray2721.length < i_73_) { + anIntArray2721 = new int[i_73_]; + anIntArray2728 = new int[i_73_]; + aBooleanArray2727 = new boolean[i_73_]; + } + } +} diff --git a/client/components/Component117.java b/client/components/Component117.java new file mode 100644 index 000000000..36070a126 --- /dev/null +++ b/client/components/Component117.java @@ -0,0 +1,87 @@ +/* Component117 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component117 +/** + * RENAMED from `Class355` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private final NodeCache aClass60_4362; + static int anInt4363; + int anInt4364; + int anInt4365 = 0; + static Object anObject4366; + static long aLong4367 = -1L; + private CacheStore aClass45_4368; + private final CacheStore aClass45_4369; + static int anInt4370; + static int anInt4371; + static int anInt4372; + private Interface15 anInterface15_4373; + + static final void method3470(int i) { + if (i == 1) { + anInt4371++; + if (!Cp1252Decoder.aBoolean5224) { + Cp1252Decoder.aBoolean5224 = true; + DummyClass.aBoolean10174 = true; + NodeSub27.cameraPitchRate += (-12.0F - NodeSub27.cameraPitchRate) / 2.0F; + } + } + } + + final HashNodeSub10 method3471(int i, byte i_0_) { + anInt4363++; + HashNodeSub10 class348_sub42_sub10 = (HashNodeSub10) aClass60_4362.get(i, 70); + if (class348_sub42_sub10 != null) return class348_sub42_sub10; + byte[] is; + if (i >= 32768) is = aClass45_4369.getFile(-1860, 1, 0x7fff & i); + else is = aClass45_4368.getFile(-1860, 1, i); + class348_sub42_sub10 = new HashNodeSub10(); + class348_sub42_sub10.aClass355_9567 = this; + if (is != null) class348_sub42_sub10.method3218(new Buffer(is), 0); + if (i_0_ >= -86) method3473(-12); + if (i >= 32768) class348_sub42_sub10.method3209(false); + aClass60_4362.putOne(class348_sub42_sub10, i, (byte) -125); + return class348_sub42_sub10; + } + + final String method3472(long l, int[] is, int i, Component161 class138) { + try { + if (i != -1) aClass45_4368 = null; + anInt4370++; + if (anInterface15_4373 != null) { + String string = anInterface15_4373.method54(1, l, class138, is); + if (string != null) return string; + } + return Long.toString(l); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("aha.D(" + l + ',' + (is != null ? "{...}" : "null") + ',' + i + ',' + (class138 != null ? "{...}" : "null") + ')')); + } + } + + public static void method3473(int i) { + if (i != 12949) anInt4372 = -30; + anObject4366 = null; + } + + Component117(int i, CacheStore class45, CacheStore class45_1_, Interface15 interface15) { + this.anInt4364 = 0; + aClass60_4362 = new NodeCache(64); + anInterface15_4373 = null; + do { + try { + anInterface15_4373 = interface15; + aClass45_4368 = class45; + aClass45_4369 = class45_1_; + if (aClass45_4368 != null) this.anInt4365 = aClass45_4368.getFileCount(0, 1); + if (aClass45_4369 == null) break; + this.anInt4364 = aClass45_4369.getFileCount(0, 1); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("aha.(" + i + ',' + (class45 != null ? "{...}" : "null") + ',' + (class45_1_ != null ? "{...}" : "null") + ',' + (interface15 != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } +} diff --git a/client/components/Component118.java b/client/components/Component118.java new file mode 100644 index 000000000..97bdfcd63 --- /dev/null +++ b/client/components/Component118.java @@ -0,0 +1,55 @@ +/* Component118 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +class Component118 +/** + * RENAMED from `Class288` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ implements Interface12 { + int anInt4950; + int anInt4951; + DisplayModeManagerContainer196 aClass341_4952; + /** Work-in-progress channel ({@code id}=2). */ + static BuildType WIP = new BuildType("WIP", 2); + static int anInt4954; + Component85 aClass221_4955; + static int anInt4956; + static int anInt4957; + int anInt4958; + + public static void method2185(int i) { + WIP = null; + if (i != 2) WIP = null; + } + + static final int method2186(byte i, String string) { + anInt4954++; + if (i != -114) method2187(-85, -44, 56); + return string.length() + 2; + } + + static final boolean method2187(int i, int i_0_, int i_1_) { + anInt4956++; + if (i_0_ > -70) method2187(-57, -121, 54); + return ((Node.method2709(i_1_, i, -1) | DisplayModeManagerContainer369.method1613(false, i_1_, i) | Component40.method2259(0, i_1_, i)) & DisplayModeManagerContainer370.method616(2, i, i_1_)); + } + + public DisplayModeManagerContainer369 method51(byte i) { + if (i <= 116) method2186((byte) 116, null); + anInt4957++; + return DefinitionSub21.aClass223_9274; + } + + Component118(int i, Component85 class221, DisplayModeManagerContainer196 class341, int i_2_, int i_3_) { + try { + this.anInt4950 = i_2_; + this.anInt4958 = i; + this.anInt4951 = i_3_; + this.aClass221_4955 = class221; + this.aClass341_4952 = class341; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("vr.(" + i + ',' + (class221 != null ? "{...}" : "null") + ',' + (class341 != null ? "{...}" : "null") + ',' + i_2_ + ',' + i_3_ + ')')); + } + } +} diff --git a/client/components/Component119.java b/client/components/Component119.java new file mode 100644 index 000000000..21b64eecc --- /dev/null +++ b/client/components/Component119.java @@ -0,0 +1,155 @@ +/* Component119 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component119 +/** + * RENAMED from `Class267` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3390; + static int anInt3391; + private final Component325 aClass69_3392; + static int anInt3393; + private int anInt3394 = 1; + static int anInt3395; + static Component119 aClass267_3396 = new Component119(Component325.aClass69_1195); + static int anInt3397; + private Interface7 anInterface7_3398; + static int anInt3399; + static int anInt3400; + static Component119 aClass267_3401 = new Component119(Component325.aClass69_1199); + static Component119 aClass267_3402 = new Component119(Component325.aClass69_1199); + static Component119 aClass267_3403 = new Component119(Component325.aClass69_1199); + static Component119 aClass267_3404 = new Component119(Component325.aClass69_1199); + static Component119 aClass267_3405 = new Component119(Component325.aClass69_1199); + static Component119 aClass267_3406 = new Component119(Component325.aClass69_1199); + static Component119 aClass267_3407 = new Component119(Component325.aClass69_1199); + static Component119 aClass267_3408 = new Component119(Component325.aClass69_1195); + static Component119 aClass267_3409 = new Component119(Component325.aClass69_1195); + static Component119 aClass267_3410 = new Component119(Component325.aClass69_1195); + static Component119 aClass267_3411 = new Component119(Component325.aClass69_1195); + static Component119 aClass267_3412 = new Component119(Component325.aClass69_1195); + static Component119 aClass267_3413 = new Component119(Component325.aClass69_1195); + static Component119 aClass267_3414 = new Component119(Component325.aClass69_1195); + static Component119 aClass267_3415 = new Component119(Component325.aClass69_1195); + static Component119 aClass267_3416 = new Component119(Component325.aClass69_1195); + static Component119 aClass267_3417 = new Component119(Component325.aClass69_1195); + static Component119 aClass267_3418 = new Component119(Component325.aClass69_1195); + static Component119 aClass267_3419 = new Component119(Component325.aClass69_1195); + static Component119 aClass267_3420 = new Component119(Component325.aClass69_1195); + static Component119 aClass267_3421 = new Component119(Component325.aClass69_1195); + static Component119 aClass267_3422 = new Component119(Component325.aClass69_1197); + static Component119 aClass267_3423 = new Component119(Component325.aClass69_1195); + static Component119 aClass267_3424 = new Component119(Component325.aClass69_1195); + static Component119 aClass267_3425 = new Component119(Component325.aClass69_1195); + static Component119 aClass267_3426 = new Component119(Component325.aClass69_1198); + static Component183 aClass114_3427 = new Component183(93, -2); + static int anInt3428 = -1; + + final int method2024(int i) { + if (i != -1) return 41; + anInt3390++; + return anInt3394; + } + + final void method2025(Interface7 interface7, boolean bool) { + anInt3399++; + if (bool != false) toString(); + if (interface7.method32(-15004) != aClass69_3392) throw new IllegalArgumentException(); + anInterface7_3398 = interface7; + } + + public static void method2026(int i) { + aClass267_3421 = null; + aClass267_3413 = null; + aClass267_3404 = null; + aClass267_3405 = null; + aClass267_3403 = null; + aClass267_3411 = null; + if (i == 23377) { + aClass267_3410 = null; + aClass267_3420 = null; + aClass267_3414 = null; + aClass267_3409 = null; + aClass267_3418 = null; + aClass267_3426 = null; + aClass267_3412 = null; + aClass267_3423 = null; + aClass267_3424 = null; + aClass267_3408 = null; + aClass267_3416 = null; + aClass267_3407 = null; + aClass267_3406 = null; + aClass267_3419 = null; + aClass267_3401 = null; + aClass267_3425 = null; + aClass267_3402 = null; + aClass267_3415 = null; + aClass267_3396 = null; + aClass114_3427 = null; + aClass267_3422 = null; + aClass267_3417 = null; + } + } + + public final String toString() { + anInt3400++; + throw new IllegalStateException(); + } + + final Interface7 method2027(int i) { + anInt3391++; + if (i <= 68) return null; + return anInterface7_3398; + } + + static final void method2028(int i, Component44 class51, int i_0_, GraphicsToolkit var_ha, int i_1_, int i_2_) { + try { + anInt3395++; + SceneManager class218 = Component245.aClass141_117.method1173((byte) 31, class51.anInt875); + if (class218.anInt2853 != -1) { + if (class51.aBoolean912) { + i_1_ += class51.anInt923; + i_1_ &= 0x3; + } else i_1_ = 0; + Component24 class105 = class218.method1596(i_1_, class51.aBoolean925, 82, var_ha); + if (class105 != null) { + int i_3_ = class51.anInt961; + int i_4_ = class51.anInt926; + int i_5_ = 60 % ((52 - i_2_) / 56); + if ((0x1 & i_1_) == 1) { + i_3_ = class51.anInt926; + i_4_ = class51.anInt961; + } + int i_6_ = class105.method966(); + int i_7_ = class105.method980(); + if (class218.aBoolean2854) { + i_7_ = i_4_ * 4; + i_6_ = i_3_ * 4; + } + if (class218.anInt2856 == 0) class105.method973(i, -((i_4_ + -1) * 4) + i_0_, i_6_, i_7_); + else class105.method970(i, i_0_ - 4 * (-1 + i_4_), i_6_, i_7_, 0, (class218.anInt2856 | ~0xffffff), 1); + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("up.C(" + i + ',' + (class51 != null ? "{...}" : "null") + ',' + i_0_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_1_ + ',' + i_2_ + ')')); + } + } + + static final Component119[] method2029(int i) { + if (i <= 99) return null; + anInt3393++; + return (new Component119[]{aClass267_3396, aClass267_3401, aClass267_3402, aClass267_3403, aClass267_3404, aClass267_3405, aClass267_3406, aClass267_3407, aClass267_3408, aClass267_3409, aClass267_3410, aClass267_3411, aClass267_3412, aClass267_3413, aClass267_3414, aClass267_3415, aClass267_3416, aClass267_3417, aClass267_3418, aClass267_3419, aClass267_3420, aClass267_3421, aClass267_3422, aClass267_3423, aClass267_3424, aClass267_3425, aClass267_3426}); + } + + final void method2030(int i, int i_8_) { + anInt3394 = i_8_; + anInt3397++; + if (i != 1) method2026(34); + } + + private Component119(Component325 class69) { + aClass69_3392 = class69; + } +} diff --git a/client/components/Component12.java b/client/components/Component12.java new file mode 100644 index 000000000..e13099079 --- /dev/null +++ b/client/components/Component12.java @@ -0,0 +1,18 @@ +/* Component12 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +public final class Component12 +/** + * RENAMED from `Class47_Sub2` (JODE-obfuscated). + * Evidence: subclass of DisplayModeManagerContainer32 (hierarchy) + */ extends DisplayModeManagerContainer32 { + public Component12() { + System.nanoTime(); + } + + final long method446(int i) { + if (i != 1) return -111L; + return System.nanoTime(); + } +} diff --git a/client/components/Component120.java b/client/components/Component120.java new file mode 100644 index 000000000..a321bbac7 --- /dev/null +++ b/client/components/Component120.java @@ -0,0 +1,23 @@ +/* Component120 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component120 +/** + * RENAMED from `Class20` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static Component183 aClass114_316 = new Component183(95, 10); + static int anInt317; + static Component183 aClass114_318 = new Component183(19, -2); + /** Camera shake offset on world X (±50); applied when following the local player. */ + static int cameraShakeX = 0; + static int anInt320 = 0; + + public static void clearStatics(int i) { + if (i == 51) { + aClass114_316 = null; + aClass114_318 = null; + } + } +} diff --git a/client/components/Component121.java b/client/components/Component121.java new file mode 100644 index 000000000..a7278556f --- /dev/null +++ b/client/components/Component121.java @@ -0,0 +1,43 @@ +/* Component121 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component121 +/** + * RENAMED from `Class375` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt4539; + static boolean aBoolean4540 = false; + static int anInt4541; + static boolean aBoolean4542 = false; + static NodeCache aClass60_4543 = new NodeCache(8); + static int anInt4544 = -1; + static int anInt4545 = -1; + + static final void method3612(int i, DisplayModeManagerContainer207 class348_sub49_sub2) { + if (i < 59) method3614(-51, 64, -115, null, -96); + for (int i_0_ = 0; i_0_ < MatrixSub3.anInt5768; i_0_++) { + int i_1_ = DisplayModeManagerContainer220.anIntArray279[i_0_]; + Player player = InterfaceRenderer.players[i_1_]; + int i_2_ = class348_sub49_sub2.readUnsignedByte(255); + if ((i_2_ & 0x40) != 0) i_2_ += class348_sub49_sub2.readUnsignedByte(255) << 8; + if ((i_2_ & 0x4000) != 0) i_2_ += class348_sub49_sub2.readUnsignedByte(255) << 16; + HeapDumper.decodePlayerUpdate(class348_sub49_sub2, i_1_, i_2_, 123, player); + } + anInt4541++; + } + + public static void method3613(int i) { + if (i != 64) method3612(-7, null); + aClass60_4543 = null; + } + + static final void method3614(int i, int i_3_, int i_4_, ParticleSystem class348_sub47, int i_5_) { + anInt4539++; + if (i_5_ != -19692) method3613(10); + class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 124, i); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_4_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_3_); + } +} diff --git a/client/components/Component122.java b/client/components/Component122.java new file mode 100644 index 000000000..7a4ff73b1 --- /dev/null +++ b/client/components/Component122.java @@ -0,0 +1,58 @@ +/* Component122 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component122 +/** + * RENAMED from `Class98` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static BrowserUrlOpener aClass348_Sub16_Sub3_1564; + /** + * Frame-accumulated mouse-wheel notches (event type 6 / {@code getClickCount}). + * Positive ≈ wheel toward user. Reset each input drain in {@code client}. + * Consumers: interface scroll scripts, console history ({@link PauseTimer}), + * Ctrl+Shift plane change ({@link ClientSystemInfo}). Sibling per-event value: + * {@link Component233#scrollWheelDiff}. + */ + static int mouseWheelDelta; + static int[][] anIntArrayArray1566 = {{0, 2, 4, 6}, {6, 0, 2, 3, 5, 3}, {6, 0, 2, 4}, {2, 5, 6, 1}, {0, 2, 6}, {6, 0, 2}, {5, 6, 0, 1, 2, 4}, {7, 7, 1, 2, 4, 6}, {2, 4, 4, 7}, {6, 6, 4, 0, 1, 1, 3, 3}, {0, 2, 2, 6, 6, 4}, {0, 2, 2, 3, 7, 0, 4, 3}, {0, 2, 4, 6}}; + static int anInt1567; + static int anInt1568; + TheoraVideoPlayer aClass88_1569 = new TheoraVideoPlayer(); + static int anInt1570; + static int anInt1571; + + static final boolean method877(int i, int i_0_, byte i_1_) { + if (i_1_ != -127) anIntArrayArray1566 = null; + anInt1567++; + return ShaderProgramSub9.method2174((byte) 126, i, i_0_) || Connection.method1475((byte) -107, i_0_, i); + } + + static final byte[] method878(String string, int i) { + anInt1571++; + int i_2_ = string.length(); + if (i_2_ == 0) return new byte[0]; + int i_3_ = ~0x3 & 3 + i_2_; + int i_4_ = i_3_ / 4 * 3; + if (i_3_ + -2 >= i_2_ || Component134.method1399(7, string.charAt(i_3_ + -2)) == -1) i_4_ -= 2; + else if (i_2_ <= i_3_ + -1 || Component134.method1399(7, string.charAt(i_3_ - 1)) == -1) i_4_--; + if (i > -92) method877(-51, -45, (byte) -74); + byte[] is = new byte[i_4_]; + RenderableSub2.method2497(is, (byte) 0, string, 0); + return is; + } + + public Component122() { + /* empty */ + } + + public static void method879(int i) { + aClass348_Sub16_Sub3_1564 = null; + if (i > 67) anIntArrayArray1566 = null; + } + + static { + mouseWheelDelta = 0; + } +} diff --git a/client/components/Component125.java b/client/components/Component125.java new file mode 100644 index 000000000..78a2bf55b --- /dev/null +++ b/client/components/Component125.java @@ -0,0 +1,30 @@ +/* Component125 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaclib.memory.Buffer; + +class Component125 +/** + * RENAMED from `Class119` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + Buffer aBuffer1792; + private final GlToolkitSub2 aHa_Sub2_1793; + + final void method1076(byte[] is, int i) { + if (this.aBuffer1792 == null || this.aBuffer1792.getSize() < i) this.aBuffer1792 = aHa_Sub2_1793.aNativeHeap7730.a(i, false); + this.aBuffer1792.a(is, 0, 0, i); + } + + Component125(GlToolkitSub2 var_ha_Sub2, byte[] is, int i) { + aHa_Sub2_1793 = var_ha_Sub2; + this.aBuffer1792 = aHa_Sub2_1793.aNativeHeap7730.a(i, false); + if (is != null) this.aBuffer1792.a(is, 0, 0, i); + } + + Component125(GlToolkitSub2 var_ha_Sub2, Buffer buffer) { + aHa_Sub2_1793 = var_ha_Sub2; + this.aBuffer1792 = buffer; + } +} diff --git a/client/components/Component126.java b/client/components/Component126.java new file mode 100644 index 000000000..caf9bbec2 --- /dev/null +++ b/client/components/Component126.java @@ -0,0 +1,50 @@ +/* Component126 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component126 +/** + * RENAMED from `Class363` (JODE-obfuscated). + * Holds the developer-console prompt buffer ({@link #consoleInput}). + */ { + /** Current text in the developer-console prompt (before Enter). */ + static String consoleInput = ""; + static int anInt4462; + static int[] anIntArray4463 = new int[8]; + static int anInt4464; + static int anInt4465; + + static final void method3513(int i) { + synchronized (Renderable.aClass243Array3974) { + for (int i_0_ = 0; (i_0_ < Renderable.aClass243Array3974.length); i_0_++) { + Renderable.aClass243Array3974[i_0_] = new Component315(); + Component374.anIntArray4128[i_0_] = 0; + } + } + anInt4462++; + int i_1_ = 60 / ((-36 - i) / 57); + } + + static final void method3514(byte i) { + anInt4465++; + for (NodeSub27 class348_sub27 = ((NodeSub27) HashNodeSub20.aClass262_9711.first(4)); class348_sub27 != null; class348_sub27 = (NodeSub27) HashNodeSub20.aClass262_9711.next((byte) 57)) { + if (class348_sub27.anInt6893 == -1) { + class348_sub27.anInt6894 = 0; + if ((class348_sub27.anInt6905 >= 0) && class348_sub27.anInt6896 >= 0 && (class348_sub27.anInt6905 < AbstractShaderSub4.anInt7319) && (class348_sub27.anInt6896 < ParametricDefinition.anInt9109)) Component357.method1387(i + 26, class348_sub27); + } else class348_sub27.unlink((byte) 39); + } + if (i != -105) method3516(-128); + } + + static final void method3515(int i) { + int i_2_ = 52 / ((33 - i) / 40); + Definition.containers.clear(0); + anInt4464++; + } + + public static void method3516(int i) { + consoleInput = null; + if (i <= 123) anIntArray4463 = null; + anIntArray4463 = null; + } +} diff --git a/client/components/Component127.java b/client/components/Component127.java new file mode 100644 index 000000000..70d68b65e --- /dev/null +++ b/client/components/Component127.java @@ -0,0 +1,65 @@ +/* Component127 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component127 +/** + * RENAMED from `Class226` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static LruCache aClass356_2959 = new LruCache(512); + private final NodeCache aClass60_2960 = new NodeCache(64); + private final CacheStore aClass45_2961; + static int anInt2962; + static int anInt2963; + static int anInt2964 = 64; + private CacheStore aClass45_2965; + + public static void method1624(int i) { + aClass356_2959 = null; + if (i != 28962) aClass356_2959 = null; + } + + final StringDefinition method1625(int i, int i_0_) { + anInt2963++; + StringDefinition class348_sub42_sub11 = (StringDefinition) aClass60_2960.get(i_0_, -51); + if (class348_sub42_sub11 != null) return class348_sub42_sub11; + byte[] is; + if (i_0_ < 32768) is = aClass45_2961.getFile(-1860, 0, i_0_); + else is = aClass45_2965.getFile(-1860, 0, 0x7fff & i_0_); + class348_sub42_sub11 = new StringDefinition(); + if (is != null) class348_sub42_sub11.method3221(117, new Buffer(is)); + if (i_0_ >= 32768) class348_sub42_sub11.method3224((byte) 104); + if (i != 0) aClass45_2965 = null; + aClass60_2960.putOne(class348_sub42_sub11, i_0_, (byte) -123); + return class348_sub42_sub11; + } + + static final void method1626(int i, boolean bool) { + anInt2962++; + int i_1_ = Component372.anInt6043; + int i_2_ = ObjectDeserializer.anInt6964; + if (i == 1) { + if (bool && DisplayModeManagerContainer50.aBoolean3870) { + i_1_ <<= 1; + i_2_ = -i_1_; + } + NodeSub8.toolkit.f(i_2_, i_1_); + } + } + + Component127(int i, CacheStore class45, CacheStore class45_3_) { + do { + try { + aClass45_2961 = class45; + aClass45_2965 = class45_3_; + if (aClass45_2961 != null) aClass45_2961.getFileCount(0, 0); + if (aClass45_2965 == null) break; + aClass45_2965.getFileCount(0, 0); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("sga.(" + i + ',' + (class45 != null ? "{...}" : "null") + ',' + (class45_3_ != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } +} diff --git a/client/components/Component128.java b/client/components/Component128.java new file mode 100644 index 000000000..2fc1f891b --- /dev/null +++ b/client/components/Component128.java @@ -0,0 +1,77 @@ +/* Component128 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaggl.OpenGL; + +final class Component128 +/** + * RENAMED from {@code Class61} (JODE-obfuscated). + * OpenGL display-list helper for glyph/UI lists: {@link #beginDisplayList}, + * {@link #callDisplayList}, {@link #endDisplayList} around {@link #listBase}. + */ { + static int anInt1104; + static int anInt1105; + static int anInt1106; + static int anInt1107; + static int anInt1108; + /** First GL list id from {@link OpenGL#glGenLists}. */ + private final int listBase; + + final void endDisplayList(int i) { + anInt1108++; + OpenGL.glEndList(); + if (i != -1) beginDisplayList((byte) -56, 72); + } + + static final int method592(boolean bool, byte i, boolean bool_0_, int i_1_, int i_2_) { + anInt1105++; + if (i != -128) return -20; + NodeSub13 class348_sub13 = AbstractGlTextureSub4.getContainerNode((byte) -1, i_1_, bool_0_); + if (class348_sub13 == null) return 0; + int i_3_ = 0; + for (int i_4_ = 0; (class348_sub13.itemIds.length > i_4_); i_4_++) { + if (class348_sub13.itemIds[i_4_] >= 0 && (Exception_Sub1.itemDefinitions.itemCount > class348_sub13.itemIds[i_4_])) { + ItemDefinition class213 = (Exception_Sub1.itemDefinitions.getItemDefinition(-127, (class348_sub13.itemIds[i_4_]))); + int i_5_ = class213.method1567((MatrixSub3.aClass326_5764.method2600(i_2_, 28364).anInt3256), 107, i_2_); + if (!bool) i_3_ += i_5_; + else i_3_ += i_5_ * (class348_sub13.amounts[i_4_]); + } + } + return i_3_; + } + + /** + * Build a {@link SocketConnector} for {@code host}:{@code port}, preferring + * {@link ProxySocketConnector} and falling back to {@link DirectSocketConnector}. + */ + static final SocketConnector createSocketConnector(int i, byte i_6_, String string) { + anInt1104++; + SocketConnector class272; + try { + class272 = new ProxySocketConnector(); + } catch (Throwable throwable) { + class272 = new DirectSocketConnector(); + } + if (i_6_ != -90) return null; + class272.host = string; + class272.port = i; + return class272; + } + + final void callDisplayList(char c, int i) { + anInt1107++; + OpenGL.glCallList(listBase - -c); + if (i != 28666) endDisplayList(30); + } + + final void beginDisplayList(byte i, int i_7_) { + OpenGL.glNewList(i_7_ + listBase, 4864); + anInt1106++; + if (i <= 101) callDisplayList('\ufff3', -3); + } + + Component128(GlToolkitSub2 var_ha_Sub2, int i) { + listBase = OpenGL.glGenLists(i); + } +} diff --git a/client/components/Component129.java b/client/components/Component129.java new file mode 100644 index 000000000..1ecbd2502 --- /dev/null +++ b/client/components/Component129.java @@ -0,0 +1,25 @@ +/* Component129 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component129 +/** + * RENAMED from `Class36` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt486; + static int[] anIntArray487 = {0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3}; + static int anInt488; + static int anInt489 = 0; + + static final void method354(int i) { + HashNodeSub3.aBoolean9498 = true; + if (i != 2) method355(84); + anInt488++; + } + + public static void method355(int i) { + anIntArray487 = null; + if (i != 4297) anInt489 = -9; + } +} diff --git a/client/components/Component13.java b/client/components/Component13.java new file mode 100644 index 000000000..10db45bf2 --- /dev/null +++ b/client/components/Component13.java @@ -0,0 +1,105 @@ +/* Component13 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component13 +/** + * RENAMED from `Class349` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int[] anIntArray4299 = new int[2]; + private final int[][][] anIntArrayArrayArray4300; + static int[][] anIntArrayArray4301 = new int[2][8]; + private final int[][][] anIntArrayArrayArray4302; + static int anInt4303; + private final int[] anIntArray4304 = new int[2]; + private static float aFloat4305; + private static float[][] aFloatArrayArray4306 = new float[2][8]; + + final void method3446(Buffer class348_sub49, Component108 class197) { + int i = class348_sub49.readUnsignedByte(255); + this.anIntArray4299[0] = i >> 4; + this.anIntArray4299[1] = i & 0xf; + if (i != 0) { + anIntArray4304[0] = class348_sub49.readUnsignedShort(842397944); + anIntArray4304[1] = class348_sub49.readUnsignedShort(842397944); + int i_0_ = class348_sub49.readUnsignedByte(255); + for (int i_1_ = 0; i_1_ < 2; i_1_++) { + for (int i_2_ = 0; i_2_ < this.anIntArray4299[i_1_]; i_2_++) { + anIntArrayArrayArray4302[i_1_][0][i_2_] = class348_sub49.readUnsignedShort(842397944); + anIntArrayArrayArray4300[i_1_][0][i_2_] = class348_sub49.readUnsignedShort(842397944); + } + } + for (int i_3_ = 0; i_3_ < 2; i_3_++) { + for (int i_4_ = 0; i_4_ < this.anIntArray4299[i_3_]; i_4_++) { + if ((i_0_ & 1 << i_3_ * 4 << i_4_) == 0) { + anIntArrayArrayArray4302[i_3_][1][i_4_] = anIntArrayArrayArray4302[i_3_][0][i_4_]; + anIntArrayArrayArray4300[i_3_][1][i_4_] = anIntArrayArrayArray4300[i_3_][0][i_4_]; + } else { + anIntArrayArrayArray4302[i_3_][1][i_4_] = class348_sub49.readUnsignedShort(842397944); + anIntArrayArrayArray4300[i_3_][1][i_4_] = class348_sub49.readUnsignedShort(842397944); + } + } + } + if (i_0_ != 0 || anIntArray4304[1] != anIntArray4304[0]) class197.method1454(class348_sub49); + } else anIntArray4304[0] = anIntArray4304[1] = 0; + } + + private final float method3447(int i, int i_5_, float f) { + float f_6_ = ((float) anIntArrayArrayArray4302[i][0][i_5_] + f * (float) (anIntArrayArrayArray4302[i][1][i_5_] - anIntArrayArrayArray4302[i][0][i_5_])); + f_6_ *= 1.2207031E-4F; + return method3448(f_6_); + } + + private static final float method3448(float f) { + float f_7_ = 32.703197F * (float) Math.pow(2.0, f); + return f_7_ * 3.1415927F / 11025.0F; + } + + private final float method3449(int i, int i_8_, float f) { + float f_9_ = ((float) anIntArrayArrayArray4300[i][0][i_8_] + f * (float) (anIntArrayArrayArray4300[i][1][i_8_] - anIntArrayArrayArray4300[i][0][i_8_])); + f_9_ *= 0.0015258789F; + return 1.0F - (float) Math.pow(10.0, -f_9_ / 20.0F); + } + + public static void method3450() { + aFloatArrayArray4306 = null; + anIntArrayArray4301 = null; + } + + final int method3451(int i, float f) { + if (i == 0) { + float f_10_ = ((float) anIntArray4304[0] + (float) (anIntArray4304[1] - anIntArray4304[0]) * f); + f_10_ *= 0.0030517578F; + aFloat4305 = (float) Math.pow(0.1, f_10_ / 20.0F); + anInt4303 = (int) (aFloat4305 * 65536.0F); + } + if (this.anIntArray4299[i] == 0) return 0; + float f_11_ = method3449(i, 0, f); + aFloatArrayArray4306[i][0] = -2.0F * f_11_ * (float) Math.cos(method3447(i, 0, f)); + aFloatArrayArray4306[i][1] = f_11_ * f_11_; + for (int i_12_ = 1; i_12_ < this.anIntArray4299[i]; i_12_++) { + f_11_ = method3449(i, i_12_, f); + float f_13_ = (-2.0F * f_11_ * (float) Math.cos(method3447(i, i_12_, f))); + float f_14_ = f_11_ * f_11_; + aFloatArrayArray4306[i][i_12_ * 2 + 1] = aFloatArrayArray4306[i][i_12_ * 2 - 1] * f_14_; + aFloatArrayArray4306[i][i_12_ * 2] = (aFloatArrayArray4306[i][i_12_ * 2 - 1] * f_13_ + aFloatArrayArray4306[i][i_12_ * 2 - 2] * f_14_); + for (int i_15_ = i_12_ * 2 - 1; i_15_ >= 2; i_15_--) + aFloatArrayArray4306[i][i_15_] += (aFloatArrayArray4306[i][i_15_ - 1] * f_13_ + aFloatArrayArray4306[i][i_15_ - 2] * f_14_); + aFloatArrayArray4306[i][1] += aFloatArrayArray4306[i][0] * f_13_ + f_14_; + aFloatArrayArray4306[i][0] += f_13_; + } + if (i == 0) { + for (int i_16_ = 0; i_16_ < this.anIntArray4299[0] * 2; i_16_++) + aFloatArrayArray4306[0][i_16_] *= aFloat4305; + } + for (int i_17_ = 0; i_17_ < this.anIntArray4299[i] * 2; i_17_++) + anIntArrayArray4301[i][i_17_] = (int) (aFloatArrayArray4306[i][i_17_] * 65536.0F); + return this.anIntArray4299[i] * 2; + } + + public Component13() { + anIntArrayArrayArray4302 = new int[2][2][4]; + anIntArrayArrayArray4300 = new int[2][2][4]; + } +} diff --git a/client/components/Component132.java b/client/components/Component132.java new file mode 100644 index 000000000..e1c469eb0 --- /dev/null +++ b/client/components/Component132.java @@ -0,0 +1,29 @@ +/* Component132 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component132 +/** + * RENAMED from `Class123` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + short aShort1810; + Interface2 anInterface2_1811; + byte aByte1812; + static Component361 aClass25_1813; + byte aByte1814; + static CacheStore aClass45_1815; + + public static void method1091(int i) { + if (i != -9341) method1091(-16); + aClass45_1815 = null; + aClass25_1813 = null; + } + + Component132(Interface2 interface2, int i, int i_0_, int i_1_) { + this.aShort1810 = (short) i; + this.aByte1812 = (byte) i_1_; + this.aByte1814 = (byte) i_0_; + this.anInterface2_1811 = interface2; + } +} diff --git a/client/components/Component134.java b/client/components/Component134.java new file mode 100644 index 000000000..5bc035e70 --- /dev/null +++ b/client/components/Component134.java @@ -0,0 +1,159 @@ +/* Component134 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaggl.OpenGL; + +import java.util.Random; + +final class Component134 +/** + * RENAMED from `Class186_Sub1` (JODE-obfuscated). + * Evidence: subclass of DisplayModeManagerContainer51 (hierarchy) + */ extends DisplayModeManagerContainer51 { + private final int[] anIntArray5804 = new int[512]; + static int anInt5805; + static int anInt5806; + static int anInt5807 = 0; + static DisplayModeManagerContainer196 aClass341_5808 = new DisplayModeManagerContainer196(); + static int anInt5809; + static int anInt5810; + static int anInt5811; + static int anInt5812 = 100; + static Component331 aClass111_5813; + static int anInt5814; + + final void method1398(int i, int i_0_, float f, float f_1_, int i_2_, float f_3_, int i_4_, float f_5_, int i_6_, int i_7_, float[] fs) { + anInt5810++; + int i_8_ = (int) (-1.0F + f * (float) i_6_); + i_8_ &= 0xff; + int i_9_ = (int) (-1.0F + (float) i_0_ * f_5_); + i_9_ &= 0xff; + int i_10_ = (int) (-1.0F + (float) i * f_1_); + i_10_ &= 0xff; + float f_11_ = (float) i_7_ * f_1_; + int i_12_ = (int) f_11_; + int i_13_ = i_12_ + 1; + float f_14_ = f_11_ - (float) i_12_; + float f_15_ = (float) i_4_ - f_14_; + float f_16_ = DisplayModeManagerContainer173.method2684(6, f_14_); + i_13_ &= i_10_; + i_12_ &= i_10_; + int i_17_ = anIntArray5804[i_12_]; + int i_18_ = anIntArray5804[i_13_]; + for (int i_19_ = 0; i_0_ > i_19_; i_19_++) { + float f_20_ = f_5_ * (float) i_19_; + int i_21_ = (int) f_20_; + int i_22_ = i_21_ + 1; + float f_23_ = (float) -i_21_ + f_20_; + float f_24_ = -f_23_ + 1.0F; + float f_25_ = DisplayModeManagerContainer173.method2684(i_4_ ^ 0x7, f_23_); + i_21_ &= i_9_; + i_22_ &= i_9_; + int i_26_ = anIntArray5804[i_17_ + i_21_]; + int i_27_ = anIntArray5804[i_17_ + i_22_]; + int i_28_ = anIntArray5804[i_21_ + i_18_]; + int i_29_ = anIntArray5804[i_22_ - -i_18_]; + for (int i_30_ = 0; i_30_ < i_6_; i_30_++) { + float f_31_ = f * (float) i_30_; + int i_32_ = (int) f_31_; + int i_33_ = 1 + i_32_; + float f_34_ = f_31_ - (float) i_32_; + float f_35_ = 1.0F - f_34_; + i_32_ &= i_8_; + i_33_ &= i_8_; + float f_36_ = DisplayModeManagerContainer173.method2684(i_4_ ^ 0x7, f_34_); + fs[i_2_++] = f_3_ * (Component112.method2337((Component112.method2337((Component112.method2337((DebugPanic.method2119(f_24_, GpsOverlay.bitwiseAnd((anIntArray5804[i_26_ + i_32_]), 7), f_15_, -70, f_35_)), true, (DebugPanic.method2119(f_24_, GpsOverlay.bitwiseAnd(7, (anIntArray5804[i_33_ - -i_26_])), f_15_, -73, f_34_)), f_36_)), true, (Component112.method2337((DebugPanic.method2119(f_23_, GpsOverlay.bitwiseAnd(7, (anIntArray5804[i_32_ + i_27_])), f_15_, -75, f_35_)), true, (DebugPanic.method2119(f_23_, GpsOverlay.bitwiseAnd((anIntArray5804[i_27_ + i_33_]), 7), f_15_, -91, f_34_)), f_36_)), f_25_)), true, (Component112.method2337((Component112.method2337((DebugPanic.method2119(f_24_, GpsOverlay.bitwiseAnd((anIntArray5804[i_28_ + i_32_]), 7), f_14_, -72, f_35_)), true, (DebugPanic.method2119(f_24_, GpsOverlay.bitwiseAnd((anIntArray5804[i_28_ + i_33_]), 7), f_14_, -75, f_34_)), f_36_)), true, (Component112.method2337((DebugPanic.method2119(f_23_, GpsOverlay.bitwiseAnd((anIntArray5804[i_29_ + i_32_]), 7), f_14_, -100, f_35_)), true, (DebugPanic.method2119(f_23_, GpsOverlay.bitwiseAnd((anIntArray5804[i_29_ + i_33_]), 7), f_14_, -72, f_34_)), f_36_)), f_25_)), f_16_)); + } + } + } + + static final int method1399(int i, char c) { + anInt5805++; + if (i != 7) method1400(-22); + if (c >= 0 && Component31.anIntArray5902.length > c) return Component31.anIntArray5902[c]; + return -1; + } + + public static void method1400(int i) { + if (i != 1) method1401(null, 48, -14, -102, 78, 29); + aClass341_5808 = null; + aClass111_5813 = null; + } + + static final GlRectangleTexture method1401(GlToolkitSub2 var_ha_Sub2, int i, int i_37_, int i_38_, int i_39_, int i_40_) { + anInt5809++; + if (i_37_ != 34037) aClass341_5808 = null; + if (var_ha_Sub2.aBoolean7793 || Component353.method1436(-20, i_38_) && Component353.method1436(-119, i_40_)) return new GlRectangleTexture(var_ha_Sub2, 3553, i, i_39_, i_38_, i_40_, true); + if (!var_ha_Sub2.aBoolean7837) return new GlRectangleTexture(var_ha_Sub2, i, i_39_, i_38_, i_40_, Component373.nextPowerOfTwo(i_38_, (byte) 108), Component373.nextPowerOfTwo(i_40_, (byte) 108), true); + return new GlRectangleTexture(var_ha_Sub2, 34037, i, i_39_, i_38_, i_40_, true); + } + + Component134(int i) { + Random random = new Random(i); + for (int i_41_ = 0; i_41_ < 256; i_41_++) + anIntArray5804[i_41_] = anIntArray5804[256 + i_41_] = i_41_; + for (int i_42_ = 0; i_42_ < 256; i_42_++) { + int i_43_ = 0xff & random.nextInt(); + int i_44_ = anIntArray5804[i_43_]; + anIntArray5804[i_43_] = anIntArray5804[256 + i_43_] = anIntArray5804[i_42_]; + anIntArray5804[i_42_] = anIntArray5804[256 + i_42_] = i_44_; + } + } + + static final void method1402(int i) { + if (i == 1) { + DisplayModeManagerContainer343.aClass60_8732.clear(0); + anInt5811++; + } + } + + static final void method1403(int i, int i_45_, byte[] is, boolean bool, int i_46_, int i_47_, int i_48_) { + anInt5806++; + if (i_45_ > 0 && !Component353.method1436(69, i_45_)) throw new IllegalArgumentException(""); + if (i > 0 && !Component353.method1436(100, i)) throw new IllegalArgumentException(""); + int i_49_ = Component191.method1382(i_46_, -6409); + int i_50_ = 0; + int i_51_ = Math.min(i_45_, i); + if (bool != false) anInt5807 = -127; + int i_52_ = i_45_ >> 1; + int i_53_ = i >> 1; + byte[] is_54_ = is; + byte[] is_55_ = new byte[i_52_ * (i_53_ * i_49_)]; + for (; ; ) { + OpenGL.glTexImage2Dub(i_47_, i_50_, i_48_, i_45_, i, 0, i_46_, 5121, is_54_, 0); + if (i_51_ <= 1) break; + int i_56_ = i_45_ * i_49_; + byte[] is_57_ = is_55_; + for (int i_58_ = 0; i_49_ > i_58_; i_58_++) { + int i_59_ = i_58_; + int i_60_ = i_58_; + int i_61_ = i_56_ + i_60_; + for (int i_62_ = 0; i_62_ < i_53_; i_62_++) { + for (int i_63_ = 0; i_63_ < i_52_; i_63_++) { + int i_64_ = is_54_[i_60_]; + i_60_ += i_49_; + i_64_ += is_54_[i_60_]; + i_64_ += is_54_[i_61_]; + i_60_ += i_49_; + i_61_ += i_49_; + i_64_ += is_54_[i_61_]; + is_55_[i_59_] = (byte) (i_64_ >> 2); + i_61_ += i_49_; + i_59_ += i_49_; + } + i_61_ += i_56_; + i_60_ += i_56_; + } + } + is_55_ = is_54_; + is_54_ = is_57_; + i = i_53_; + i_45_ = i_52_; + i_53_ >>= 1; + i_50_++; + i_51_ >>= 1; + i_52_ >>= 1; + } + } +} diff --git a/client/components/Component135.java b/client/components/Component135.java new file mode 100644 index 000000000..eb8394f6d --- /dev/null +++ b/client/components/Component135.java @@ -0,0 +1,71 @@ +/* Component135 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component135 +/** + * RENAMED from `Class359` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt4419; + int anInt4420; + static Component183 aClass114_4421 = new Component183(13, -2); + static int anInt4422; + int anInt4423; + static int anInt4424; + int anInt4425; + boolean aBoolean4426; + + static final boolean method3490(boolean bool) { + anInt4419++; + boolean bool_0_ = bool; + if (PrimitiveTypeDefinition.aClass207_9090 == null) { + if (!Component158.aClass45_322.isSingletonFileReady(false, OutputStream_Sub1.anInt98)) bool_0_ = false; + else PrimitiveTypeDefinition.aClass207_9090 = Component170.method1512(Component158.aClass45_322, OutputStream_Sub1.anInt98); + } + if (NodeSub7.aClass207_6643 == null) { + if (Component158.aClass45_322.isSingletonFileReady(!bool, NodeSub32.anInt6938)) NodeSub7.aClass207_6643 = Component170.method1512(Component158.aClass45_322, NodeSub32.anInt6938); + else bool_0_ = false; + } + if (DisplayModeManagerContainer67.aClass207_1727 == null) { + if (!Component158.aClass45_322.isSingletonFileReady(false, DisplayModeManagerContainer61.anInt3762)) bool_0_ = false; + else DisplayModeManagerContainer67.aClass207_1727 = Component170.method1512(Component158.aClass45_322, DisplayModeManagerContainer61.anInt3762); + } + if (Component337.aClass143_3649 == null) { + if (Component65.aClass45_1627.isSingletonFileReady(false, Component120.anInt317)) Component337.aClass143_3649 = Component98.method1766((byte) -89, Component120.anInt317, Component65.aClass45_1627); + else bool_0_ = false; + } + if (Component305.aClass207Array9929 == null) { + if (Component158.aClass45_322.isSingletonFileReady(false, Component120.anInt317)) Component305.aClass207Array9929 = Component170.method1523(Component158.aClass45_322, Component120.anInt317); + else bool_0_ = false; + } + return bool_0_; + } + + public static void method3491(int i) { + aClass114_4421 = null; + if (i != 1) method3491(-30); + } + + static final int method3492(int i, int i_1_) { + anInt4422++; + int i_2_ = 0x3f & i; + int i_3_ = (i_1_ & i) >> 6; + if (i_2_ == 18) { + if (i_3_ == 0) return 1; + if (i_3_ == 1) return 2; + if (i_3_ == 2) return 4; + if (i_3_ == 3) return 8; + } else if (i_2_ == 19 || i_2_ == 21) { + if (i_3_ == 0) return 16; + if (i_3_ == 1) return 32; + if (i_3_ == 2) return 64; + if (i_3_ == 3) return 128; + } + return 0; + } + + public Component135() { + /* empty */ + } +} diff --git a/client/components/Component137.java b/client/components/Component137.java new file mode 100644 index 000000000..74d7dde54 --- /dev/null +++ b/client/components/Component137.java @@ -0,0 +1,96 @@ +/* Component137 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaclib.memory.Buffer; +import jaggl.OpenGL; + +import java.awt.*; + +abstract class Component137 +/** + * RENAMED from `Class135` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private int anInt1921; + static int anInt1922; + private final boolean aBoolean1923; + static int anInt1924; + static int anInt1925; + static int anInt1926; + GlToolkitSub2 aHa_Sub2_1927; + static Color[] aColorArray1928 = {new Color(9179409), new Color(3289650), new Color(3289650), new Color(3289650)}; + int anInt1929; + private final int anInt1930; + + static final void method1148(int i, int i_0_) { + anInt1925++; + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i, (byte) 105, i_0_);//6 + class348_sub42_sub15.method3251(i_0_ ^ ~0x3ebf); + } + + public static void method1149(int i) { + int i_1_ = -90 / ((-50 - i) / 37); + aColorArray1928 = null; + } + + final void method1150(byte[] is, int i, int i_2_) { + anInt1926++; + if (i != 0) method1148(-47, 124); + method1152(i ^ ~0x74); + if (anInt1921 >= i_2_) OpenGL.glBufferSubDataARBub(anInt1930, 0, i_2_, is, 0); + else { + OpenGL.glBufferDataARBub(anInt1930, i_2_, is, 0, !aBoolean1923 ? 35044 : 35040); + this.aHa_Sub2_1927.anInt7747 += -anInt1921 + i_2_; + anInt1921 = i_2_; + } + } + + protected final void finalize() throws Throwable { + anInt1922++; + this.aHa_Sub2_1927.method3780(anInt1921, -1, this.anInt1929); + super.finalize(); + } + + static final Component184 method1151(int i, GraphicsToolkit var_ha, int i_3_) { + anInt1924++; + if (i != -25411) return null; + Component48 class352 = Component272.method1734(i_3_, var_ha, (byte) -81, true); + if (class352 == null) return null; + return class352.aClass143_4333; + } + + abstract void method1152(int i); + + Component137(GlToolkitSub2 var_ha_Sub2, int i, byte[] is, int i_4_, boolean bool) { + try { + aBoolean1923 = bool; + this.aHa_Sub2_1927 = var_ha_Sub2; + anInt1930 = i; + anInt1921 = i_4_; + OpenGL.glGenBuffersARB(1, CacheNodeSub1.anIntArray10478, 0); + this.anInt1929 = CacheNodeSub1.anIntArray10478[0]; + method1152(-111); + OpenGL.glBufferDataARBub(i, anInt1921, is, 0, aBoolean1923 ? 35040 : 35044); + this.aHa_Sub2_1927.anInt7747 += anInt1921; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bi.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + (is != null ? "{...}" : "null") + ',' + i_4_ + ',' + bool + ')')); + } + } + + Component137(GlToolkitSub2 var_ha_Sub2, int i, Buffer buffer, int i_5_, boolean bool) { + try { + anInt1930 = i; + anInt1921 = i_5_; + this.aHa_Sub2_1927 = var_ha_Sub2; + aBoolean1923 = bool; + OpenGL.glGenBuffersARB(1, CacheNodeSub1.anIntArray10478, 0); + this.anInt1929 = CacheNodeSub1.anIntArray10478[0]; + method1152(-126); + OpenGL.glBufferDataARBa(i, anInt1921, buffer.getAddress(), !aBoolean1923 ? 35044 : 35040); + this.aHa_Sub2_1927.anInt7747 += anInt1921; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bi.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + (buffer != null ? "{...}" : "null") + ',' + i_5_ + ',' + bool + ')')); + } + } +} diff --git a/client/components/Component139.java b/client/components/Component139.java new file mode 100644 index 000000000..5cd3db22c --- /dev/null +++ b/client/components/Component139.java @@ -0,0 +1,116 @@ +/* Component139 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component139 +/** + * RENAMED from `Class239_Sub27` (JODE-obfuscated). + * Evidence: subclass of Component339 (hierarchy) + */ extends Component339 { + static int anInt6127; + static DisplayModeManagerContainer196 aClass341_6128; + static int anInt6129; + static int anInt6130; + static int anInt6131; + static int anInt6132; + static int anInt6133; + + static final void method1839(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_) { + anInt6129++; + int i_5_ = 0; + int i_6_ = i_0_; + int i_7_ = i_4_ * i_4_; + int i_8_ = i_0_ * i_0_; + int i_9_ = i_8_ << 1; + int i_10_ = i_7_ << 1; + int i_11_ = i_0_ << 1; + int i_12_ = i_9_ + i_7_ * (-i_11_ + 1); + int i_13_ = -((i_11_ + i_2_) * i_10_) + i_8_; + int i_14_ = i_7_ << 2; + int i_15_ = i_8_ << 2; + int i_16_ = i_9_ * (3 + (i_5_ << 1)); + int i_17_ = i_10_ * (-3 + (i_6_ << 1)); + int i_18_ = i_15_ * (i_5_ - -1); + if (Component72.anInt1910 <= i_1_ && PauseTimer.anInt513 >= i_1_) { + int i_19_ = LogicError.method831(Component22.anInt1745, i + i_4_, Component27.anInt4960, -89); + int i_20_ = LogicError.method831(Component22.anInt1745, -i_4_ + i, Component27.anInt4960, -116); + MenuOpener.fillInts(-27, i_19_, DisplayModeManagerContainer167.anIntArrayArray255[i_1_], i_20_, i_3_); + } + int i_21_ = i_14_ * (i_6_ - 1); + while (i_6_ > 0) { + if (i_12_ < 0) { + while (i_12_ < 0) { + i_13_ += i_18_; + i_12_ += i_16_; + i_5_++; + i_16_ += i_15_; + i_18_ += i_15_; + } + } + if (i_13_ < 0) { + i_12_ += i_16_; + i_13_ += i_18_; + i_16_ += i_15_; + i_18_ += i_15_; + i_5_++; + } + i_13_ += -i_17_; + i_12_ += -i_21_; + i_21_ -= i_14_; + i_17_ -= i_14_; + i_6_--; + int i_22_ = i_1_ + -i_6_; + int i_23_ = i_6_ + i_1_; + if (i_23_ >= Component72.anInt1910 && i_22_ <= PauseTimer.anInt513) { + int i_24_ = LogicError.method831(Component22.anInt1745, i + i_5_, Component27.anInt4960, 86); + int i_25_ = LogicError.method831(Component22.anInt1745, -i_5_ + i, Component27.anInt4960, 32); + if (Component72.anInt1910 <= i_22_) MenuOpener.fillInts(i_2_ + -26, i_24_, DisplayModeManagerContainer167.anIntArrayArray255[i_22_], i_25_, i_3_); + if (PauseTimer.anInt513 >= i_23_) MenuOpener.fillInts(-27, i_24_, DisplayModeManagerContainer167.anIntArrayArray255[i_23_], i_25_, i_3_); + } + } + } + + final int method1840(int i) { + anInt6127++; + if (i != -32350) aClass341_6128 = null; + return this.anInt3138; + } + + public static void method1841(int i) { + if (i != 16878) method1839(-83, -10, 27, 111, 41, 109); + aClass341_6128 = null; + } + + final void method1712(int i, int i_26_) { + this.anInt3138 = i_26_; + anInt6132++; + int i_27_ = 123 / ((82 - i) / 35); + } + + final int method1714(int i, int i_28_) { + if (i != 3) aClass341_6128 = null; + anInt6130++; + return 3; + } + + Component139(int i, NodeSub51 class348_sub51) { + super(i, class348_sub51); + } + + Component139(NodeSub51 class348_sub51) { + super(class348_sub51); + } + + final int method1710(int i) { + anInt6133++; + if (i != 20014) method1716(true); + if ((this.aClass348_Sub51_3136.method3422(674) == RunescapeInfo.RUNESCAPE) && this.aClass348_Sub51_3136.method3425(-111)) return 0; + return 1; + } + + final void method1716(boolean bool) { + anInt6131++; + this.anInt3138 = method1710(20014); + if (bool != false) method1710(98); + } +} diff --git a/client/components/Component14.java b/client/components/Component14.java new file mode 100644 index 000000000..8eceb3235 --- /dev/null +++ b/client/components/Component14.java @@ -0,0 +1,55 @@ +/* Component14 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component14 +/** + * RENAMED from `Class369_Sub2` (JODE-obfuscated). + * Evidence: subclass of Component27 (hierarchy) + */ extends Component27 { + static DisplayModeManagerContainer57[][] aClass46ArrayArray8584; + int anInt8585; + static int anInt8586; + /** Filled count of {@link ArbShaderProgram#consoleLines} (0 = empty console). */ + static int consoleLineCount = 0; + static int anInt8588; + static CacheStore aClass45_8589; + static Component183 aClass114_8590 = new Component183(58, 2); + int anInt8591; + static Object anObject8592; + static int anInt8593; + + public final DisplayModeManagerContainer369 method51(byte i) { + if (i < 116) method3572(118); + anInt8586++; + return Buffer.aClass223_7175; + } + + static final CacheStore method3571(boolean bool, int i, byte i_0_, int i_1_) { + anInt8593++; + if (i_0_ != -23) return null; + CacheIndexReader class137 = null; + if (DisplayModeManagerContainer356.aClass78_6328 != null) class137 = new CacheIndexReader(i, DisplayModeManagerContainer356.aClass78_6328, Component265.aClass78Array1579[i], 1000000); + Component354.aClass314_Sub1Array223[i] = Component143.aClass340_2327.getArchive(class137, i, Component11.aClass137_3568, 255); + Component354.aClass314_Sub1Array223[i].startVerifyPass(27872); + return new CacheStore(Component354.aClass314_Sub1Array223[i], bool, i_1_); + } + + Component14(Component85 class221, DisplayModeManagerContainer196 class341, int i, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_) { + super(class221, class341, i, i_2_, i_3_, i_4_, i_5_, i_6_, i_7_); + try { + this.anInt8585 = i_9_; + this.anInt8591 = i_8_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ou.(" + (class221 != null ? "{...}" : "null") + ',' + (class341 != null ? "{...}" : "null") + ',' + i + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ',' + i_9_ + ')')); + } + } + + public static void method3572(int i) { + aClass114_8590 = null; + aClass45_8589 = null; + if (i != 1000000) method3571(false, -66, (byte) 13, 13); + aClass46ArrayArray8584 = null; + anObject8592 = null; + } +} diff --git a/client/components/Component140.java b/client/components/Component140.java new file mode 100644 index 000000000..72c2a9946 --- /dev/null +++ b/client/components/Component140.java @@ -0,0 +1,64 @@ +/* Component140 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component140 +/** + * RENAMED from `Class348_Sub42_Sub9_Sub1` (JODE-obfuscated). + * Evidence: subclass of ReferenceHolder (hierarchy) + */ extends ReferenceHolder { + static int anInt10439; + private final Object anObject10440; + static int anInt10441; + static LruCache aClass356_10442; + static int anInt10443 = 2; + static int anInt10444; + static int anInt10445; + + final Object getReferent(int i) { + if (i != 65536) getReferent(-30); + anInt10441++; + return anObject10440; + } + + Component140(Interface14 interface14, Object object, int i) { + super(interface14, i); + try { + anObject10440 = object; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ct.(" + (interface14 != null ? "{...}" : "null") + ',' + (object != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + final boolean isSoftRef(byte i) { + int i_0_ = -50 / ((-63 - i) / 61); + anInt10445++; + return false; + } + + public static void method3207(byte i) { + int i_1_ = -126 % ((i - -27) / 61); + aClass356_10442 = null; + } + + static final void method3208(DisplayModeManagerContainer58 class318_sub1_sub3_sub3, int i, int i_2_) { + anInt10439++; + if (class318_sub1_sub3_sub3.anIntArray10236 != null) { + int i_3_ = (class318_sub1_sub3_sub3.anIntArray10236[1 + i]); + if (i_3_ != class318_sub1_sub3_sub3.anInt10286) { + class318_sub1_sub3_sub3.anInt10322 = (class318_sub1_sub3_sub3.anInt10319); + class318_sub1_sub3_sub3.anInt10286 = i_3_; + class318_sub1_sub3_sub3.anInt10244 = 1; + class318_sub1_sub3_sub3.anInt10232 = 0; + class318_sub1_sub3_sub3.anInt10294 = 0; + class318_sub1_sub3_sub3.anInt10267 = 0; + if ((class318_sub1_sub3_sub3.anInt10286) != -1) DisplayModeManagerContainer260.method2178(class318_sub1_sub3_sub3, class318_sub1_sub3_sub3.anInt10267, (RunescapeInfo.aClass87_191.method835(class318_sub1_sub3_sub3.anInt10286, 7)), -83); + } + } + if (i_2_ > -4) method3207((byte) -83); + } + + static { + aClass356_10442 = new LruCache(8); + } +} diff --git a/client/components/Component141.java b/client/components/Component141.java new file mode 100644 index 000000000..483941cf6 --- /dev/null +++ b/client/components/Component141.java @@ -0,0 +1,212 @@ +/* Component141 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component141 +/** + * RENAMED from `Class318_Sub1_Sub1_Sub1` (JODE-obfuscated). + * Evidence: subclass of DisplayModeManagerContainer28 (hierarchy) + */ extends DisplayModeManagerContainer28 implements Interface10 { + static int anInt9943; + static int anInt9944; + private boolean aBoolean9945 = false; + static int anInt9946; + static int anInt9947; + static int anInt9948; + static int[] anIntArray9949 = new int[1]; + private ComponentDownloader aClass30_9950; + static int anInt9951; + static int anInt9952; + static int anInt9953; + static int anInt9954; + Component366 aClass235_9955; + static int anInt9956; + static int anInt9957; + static int anInt9958; + static Component24[] aClass105Array9959; + static int anInt9960; + static int anInt9961; + static int anInt9962; + static int anInt9963; + static int anInt9964; + static int anInt9965; + private boolean aBoolean9966; + static int anInt9967; + static int anInt9968; + + public final int method42(int i) { + anInt9943++; + if (i > -62) aClass30_9950 = null; + return (this.aClass235_9955.anInt3063); + } + + final void method2387(GraphicsToolkit var_ha, int i) { + if (i > -125) method2399(null, -65); + anInt9962++; + DisplayModeManagerContainer370 class64 = this.aClass235_9955.method1668(true, true, -128, 262144, var_ha); + if (class64 != null) { + int i_0_ = this.x >> 9; + int i_1_ = this.y >> 9; + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + class101.method894(this.x, this.anInt6382, this.y); + this.aClass235_9955.method1670(i_0_, class101, i_1_, var_ha, i_0_, class64, false, (byte) -73, i_1_); + } + } + + final int method2394(boolean bool) { + if (bool != true) return -82; + anInt9963++; + return this.aClass235_9955.method1663(109); + } + + public final void method40(int i) { + if (i != -12031) method2399(null, -125); + anInt9954++; + } + + public final int method41(int i) { + anInt9957++; + if (i != -32228) return -36; + return (this.aClass235_9955.anInt3052); + } + + static final boolean method2397(byte i) { + DisplayModeManagerContainer136.anInt4718++; + Component284.aBoolean6147 = true; + if (i > -123) anIntArray9949 = null; + anInt9967++; + return true; + } + + public static void method2398(byte i) { + if (i != -83) anIntArray9949 = null; + aClass105Array9959 = null; + anIntArray9949 = null; + } + + final RenderableSub4 method2386(int i, GraphicsToolkit var_ha) { + anInt9968++; + DisplayModeManagerContainer370 class64 = this.aClass235_9955.method1668(false, true, -128, 2048, var_ha); + if (class64 == null) return null; + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + class101.method894(this.x, this.anInt6382, this.y); + RenderableSub4 class318_sub4 = OutputStream_Sub2.method136(i, aBoolean9966, false); + int i_2_ = this.x >> 9; + int i_3_ = this.y >> 9; + this.aClass235_9955.method1670(i_2_, class101, i_3_, var_ha, i_2_, class64, true, (byte) -73, i_3_); + if (!DisplayModeManagerContainer50.aBoolean3870) class64.method615(class101, (class318_sub4.aClass318_Sub3Array6414[0]), 0); + else class64.method608(class101, (class318_sub4.aClass318_Sub3Array6414[0]), Component72.anInt1906, 0); + if ((this.aClass235_9955.aClass318_Sub10_3081) != null) { + Component122 class98 = this.aClass235_9955.aClass318_Sub10_3081.method2525(); + if (DisplayModeManagerContainer50.aBoolean3870) var_ha.method3685(class98, Component72.anInt1906); + else var_ha.method3684(class98); + } + aBoolean9945 = (class64.F() || (this.aClass235_9955.aClass318_Sub10_3081) != null); + if (aClass30_9950 != null) ItemDefinitionProvider.method1935(this.y, this.anInt6382, aClass30_9950, class64, false, this.x); + else aClass30_9950 = (OggUrlStream.method2967(this.x, class64, this.y, this.anInt6382, 2)); + return class318_sub4; + } + + final void method2380(GraphicsToolkit var_ha, int i, boolean bool, RenderableObject class318_sub1, int i_4_, byte i_5_, int i_6_) { + try { + anInt9946++; + if (i_5_ > -106) this.aClass235_9955 = null; + throw new IllegalStateException(); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("saa.N(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class318_sub1 != null ? "{...}" : "null") + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ')')); + } + } + + Component141(GraphicsToolkit var_ha, Component44 class51, int i, int i_7_, int i_8_, int i_9_, int i_10_, boolean bool, int i_11_, int i_12_) { + super(i_8_, i_9_, i_10_, i, i_7_, class51.anInt930); + try { + this.aClass235_9955 = new Component366(var_ha, class51, 22, i_11_, i, i_7_, this, bool, i_12_); + aBoolean9966 = class51.anInt874 != 0 && !bool; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("saa.(" + (var_ha != null ? "{...}" : "null") + ',' + (class51 != null ? "{...}" : "null") + ',' + i + ',' + i_7_ + ',' + i_8_ + ',' + i_9_ + ',' + i_10_ + ',' + bool + ',' + i_11_ + ',' + i_12_ + ')')); + } + } + + final boolean method2377(byte i) { + anInt9964++; + if (i != 122) this.aClass235_9955 = null; + return aBoolean9945; + } + + final int method2379(int i) { + if (i != -25675) aClass105Array9959 = null; + anInt9965++; + return this.aClass235_9955.method1664(i ^ 0x647d); + } + + final void method2392(boolean bool) { + if (bool != true) this.aClass235_9955 = null; + anInt9953++; + throw new IllegalStateException(); + } + + final boolean method2391(GraphicsToolkit var_ha, int i, int i_13_, int i_14_) { + anInt9952++; + DisplayModeManagerContainer370 class64 = this.aClass235_9955.method1668(false, false, -128, 131072, var_ha); + if (class64 == null) return false; + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + if (i_14_ != 0) return true; + class101.method894(this.x, this.anInt6382, this.y); + if (DisplayModeManagerContainer50.aBoolean3870) return class64.method623(i_13_, i, class101, false, 0, Component72.anInt1906); + return class64.method628(i_13_, i, class101, false, 0); + } + + static final void method2399(String string, int i) { + int i_15_ = 87 / ((i - -7) / 56); + anInt9958++; + if (!string.equals("")) { + TheoraVideoPlayer.anInt1498++; + ParticleSystem class348_sub47 = ParticleShader.method2148(DisplayModeManagerContainer28.aClass351_8724, DisplayModeManagerContainer64.aClass77_9029, -124); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, Component31.method1745(string, -65)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); + HashNodeSub14.method3243(121, class348_sub47); + } + } + + final ComponentDownloader method2381(GraphicsToolkit var_ha, int i) { + if (i != 7) return null; + anInt9960++; + return aClass30_9950; + } + + final boolean method2388(int i) { + anInt9944++; + return i >= -65; + } + + public final boolean method38(int i) { + anInt9948++; + if (i != -18443) method2381(null, -3); + return this.aClass235_9955.method1665(2); + } + + public final void method43(GraphicsToolkit var_ha, int i) { + if (i == -14218) { + this.aClass235_9955.method1674(-1, var_ha); + anInt9951++; + } + } + + final boolean method2376(int i) { + anInt9956++; + if (i >= -12) aClass30_9950 = null; + return false; + } + + public final int method39(int i) { + int i_16_ = 7 / ((-91 - i) / 35); + anInt9947++; + return (this.aClass235_9955.anInt3079); + } + + public final void method44(int i, GraphicsToolkit var_ha) { + if (i != 836) aBoolean9966 = true; + this.aClass235_9955.method1667((byte) 116, var_ha); + anInt9961++; + } +} diff --git a/client/components/Component142.java b/client/components/Component142.java new file mode 100644 index 000000000..f0b7daba1 --- /dev/null +++ b/client/components/Component142.java @@ -0,0 +1,44 @@ +/* Component142 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component142 +/** + * RENAMED from `Class358` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt4411 = 0; + float[][] aFloatArrayArray4412; + static int anInt4413; + int[] anIntArray4414; + int[] anIntArray4415; + int[] anIntArray4416; + static NodeCache aClass60_4417 = new NodeCache(50); + static StringCache aClass351_4418 = new StringCache(33, 8); + + public static void method3488(int i) { + if (i < 25) method3489(30); + aClass351_4418 = null; + aClass60_4417 = null; + } + + static final void method3489(int i) { + NodeCache.aHa1098.DualToolkit(((float) Component192.aClass348_Sub51_3959.aClass239_Sub10_7232.method1764(-32350) * 0.1F + 0.7F) * 1.1523438F); + anInt4413++; + NodeCache.aHa1098.ZA(DisplayModeManagerContainer259.anInt3439, 0.69921875F, 1.2F, -200.0F, -240.0F, -200.0F); + NodeCache.aHa1098.L(DisplayModeManagerContainer259.anInt3444, -1, 0); + int i_0_ = -35 / ((45 - i) / 44); + NodeCache.aHa1098.method3653(HashNodeSub10.aClass299_9571); + } + + Component142(int[] is, int[] is_1_, int[] is_2_, float[][] fs) { + try { + this.anIntArray4414 = is_2_; + this.aFloatArrayArray4412 = fs; + this.anIntArray4415 = is_1_; + this.anIntArray4416 = is; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ew.(" + (is != null ? "{...}" : "null") + ',' + (is_1_ != null ? "{...}" : "null") + ',' + (is_2_ != null ? "{...}" : "null") + ',' + (fs != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/components/Component143.java b/client/components/Component143.java new file mode 100644 index 000000000..7fa472693 --- /dev/null +++ b/client/components/Component143.java @@ -0,0 +1,263 @@ +/* Component143 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component143 +/** + * RENAMED from `Class175` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2310; + private int anInt2311; + private final LruCache aClass356_2312; + static int anInt2313; + static int anInt2314; + static StringCache aClass351_2315; + private HashTable aClass107_2316 = new HashTable(); + static int anInt2317; + static int anInt2318; + static int anInt2319; + static int anInt2320; + static int anInt2321; + static int anInt2322; + static int anInt2323; + private final int anInt2324; + static int anInt2325; + static boolean[] aBooleanArray2326 = new boolean[100]; + static CacheFileStore aClass340_2327; + static int anInt2328; + static boolean aBoolean2329; + static int[] anIntArray2330; + + private final void method1338(int i, Interface14 interface14) { + anInt2321++; + long l = interface14.method52((byte) 117); + for (ReferenceHolder class348_sub42_sub9 = (ReferenceHolder) aClass356_2312.get(l, -6008); class348_sub42_sub9 != null; class348_sub42_sub9 = (ReferenceHolder) aClass356_2312.continueGet(true)) { + if (class348_sub42_sub9.anInterface14_9559.method53(78, interface14)) { + method1342(class348_sub42_sub9, (byte) 79); + break; + } + } + if (i != 7) method1340(-127, null); + } + + final int method1339(int i) { + if (i != 100) return -3; + anInt2310++; + return anInt2324; + } + + final Object method1340(int i, Interface14 interface14) { + anInt2313++; + long l = interface14.method52((byte) 64); + for (ReferenceHolder class348_sub42_sub9 = (ReferenceHolder) aClass356_2312.get(l, -6008); class348_sub42_sub9 != null; class348_sub42_sub9 = (ReferenceHolder) aClass356_2312.continueGet(true)) { + if (class348_sub42_sub9.anInterface14_9559.method53(94, interface14)) { + Object object = class348_sub42_sub9.getReferent(65536); + if (object == null) { + class348_sub42_sub9.unlink((byte) 36); + class348_sub42_sub9.unlink(true); + anInt2311 += (class348_sub42_sub9.anInt9556); + } else { + if (class348_sub42_sub9.isSoftRef((byte) -128)) { + Component140 class348_sub42_sub9_sub1 = (new Component140(interface14, object, (class348_sub42_sub9.anInt9556))); + aClass356_2312.put((byte) 125, (class348_sub42_sub9.key), class348_sub42_sub9_sub1); + aClass107_2316.add(true, class348_sub42_sub9_sub1); + class348_sub42_sub9_sub1.accessAge = 0L; + class348_sub42_sub9.unlink((byte) 65); + class348_sub42_sub9.unlink(true); + } else { + aClass107_2316.add(true, class348_sub42_sub9); + class348_sub42_sub9.accessAge = 0L; + } + return object; + } + } + } + if (i < 66) return null; + return null; + } + + private final void method1341(Object object, Interface14 interface14, int i, int i_0_) { + try { + if (i < -84) { + anInt2314++; + if (anInt2324 < i_0_) throw new IllegalStateException("s>cs"); + method1338(7, interface14); + anInt2311 -= i_0_; + while (anInt2311 < 0) { + ReferenceHolder class348_sub42_sub9 = (ReferenceHolder) aClass107_2316.removeHead(20); + method1342(class348_sub42_sub9, (byte) 60); + } + Component140 class348_sub42_sub9_sub1 = new Component140(interface14, object, i_0_); + aClass356_2312.put((byte) 120, interface14.method52((byte) 120), class348_sub42_sub9_sub1); + aClass107_2316.add(true, class348_sub42_sub9_sub1); + class348_sub42_sub9_sub1.accessAge = 0L; + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("pq.L(" + (object != null ? "{...}" : "null") + ',' + (interface14 != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ')')); + } + } + + private final void method1342(ReferenceHolder class348_sub42_sub9, byte i) { + anInt2317++; + if (i < 51) method1341(null, null, -110, 119); + if (class348_sub42_sub9 != null) { + class348_sub42_sub9.unlink((byte) 42); + class348_sub42_sub9.unlink(true); + anInt2311 += class348_sub42_sub9.anInt9556; + } + } + + static final void method1343(int i, DisplayModeManagerContainer57 class46, int i_1_, int i_2_) { + Component299.anInt451 = i; + NodeSub36.aClass46_6990 = class46; + Component9.anInt4141 = i_2_; + anInt2328++; + if (i_1_ != 1) method1349((byte) 119); + } + + final void method1344(byte i) { + anInt2319++; + for (ReferenceHolder class348_sub42_sub9 = (ReferenceHolder) aClass107_2316.first(-87); class348_sub42_sub9 != null; class348_sub42_sub9 = ((ReferenceHolder) aClass107_2316.next((byte) 69))) { + if (class348_sub42_sub9.isSoftRef((byte) 5)) { + class348_sub42_sub9.unlink((byte) 127); + class348_sub42_sub9.unlink(true); + anInt2311 += class348_sub42_sub9.anInt9556; + } + } + if (i > -34) aBooleanArray2326 = null; + } + + final void method1345(byte i) { + aClass107_2316.clear(2110355138); + anInt2325++; + aClass356_2312.clear(0); + int i_3_ = 18 % ((i - -89) / 35); + anInt2311 = anInt2324; + } + + final void method1346(int i, int i_4_) { + anInt2322++; + if (Component99.aClass345_1607 != null) { + for (ReferenceHolder class348_sub42_sub9 = (ReferenceHolder) aClass107_2316.first(-72); class348_sub42_sub9 != null; class348_sub42_sub9 = ((ReferenceHolder) aClass107_2316.next((byte) 59))) { + if (class348_sub42_sub9.isSoftRef((byte) -124)) { + if (class348_sub42_sub9.getReferent(i + 67027) == null) { + class348_sub42_sub9.unlink((byte) 103); + class348_sub42_sub9.unlink(true); + anInt2311 += (class348_sub42_sub9.anInt9556); + } + } else if (++class348_sub42_sub9.accessAge > (long) i_4_) { + ReferenceHolder class348_sub42_sub9_5_ = Component99.aClass345_1607.method2694(-1, class348_sub42_sub9); + aClass356_2312.put((byte) 120, (class348_sub42_sub9.key), class348_sub42_sub9_5_); + Component317.method573(class348_sub42_sub9_5_, class348_sub42_sub9, (byte) 63); + class348_sub42_sub9.unlink((byte) 70); + class348_sub42_sub9.unlink(true); + } + } + } + if (i != -1491) method1342(null, (byte) 51); + } + + static final float[] method1347(int i, int i_6_, float f, float f_7_, int i_8_, float f_9_, int i_10_, int i_11_) { + anInt2323++; + float[] fs = new float[9]; + float[] fs_12_ = new float[9]; + float f_13_ = (float) Math.cos((float) i_11_ * 0.024543693F); + int i_14_ = -94 / ((i_8_ - 57) / 62); + float f_15_ = (float) Math.sin(0.024543693F * (float) i_11_); + fs[6] = -f_15_; + float f_16_ = -f_13_ + 1.0F; + fs[8] = f_13_; + fs[3] = 0.0F; + fs[1] = 0.0F; + fs[2] = f_15_; + fs[4] = 1.0F; + fs[5] = 0.0F; + fs[0] = f_13_; + fs[7] = 0.0F; + float[] fs_17_ = new float[9]; + float f_18_ = 1.0F; + f_13_ = (float) i_6_ / 32767.0F; + float f_19_ = 0.0F; + f_16_ = -f_13_ + 1.0F; + f_15_ = -(float) Math.sqrt(1.0F - f_13_ * f_13_); + float f_20_ = (float) Math.sqrt(i_10_ * i_10_ + i * i); + if (f_20_ == 0.0F && f_13_ == 0.0F) fs_12_ = fs; + else { + if (f_20_ != 0.0F) { + f_18_ = (float) -i / f_20_; + f_19_ = (float) i_10_ / f_20_; + } + fs_17_[5] = f_18_ * f_15_; + fs_17_[2] = f_18_ * f_19_ * f_16_; + fs_17_[8] = f_13_ + f_16_ * (f_19_ * f_19_); + fs_17_[4] = f_13_; + fs_17_[0] = f_16_ * (f_18_ * f_18_) + f_13_; + fs_17_[6] = f_16_ * (f_19_ * f_18_); + fs_17_[3] = f_15_ * -f_19_; + fs_17_[1] = f_15_ * f_19_; + fs_17_[7] = f_15_ * -f_18_; + fs_12_[0] = fs_17_[0] * fs[0] + fs[1] * fs_17_[3] + fs_17_[6] * fs[2]; + fs_12_[1] = fs_17_[7] * fs[2] + (fs[1] * fs_17_[4] + fs[0] * fs_17_[1]); + fs_12_[2] = fs[1] * fs_17_[5] + fs[0] * fs_17_[2] + fs[2] * fs_17_[8]; + fs_12_[3] = fs_17_[0] * fs[3] + fs[4] * fs_17_[3] + fs_17_[6] * fs[5]; + fs_12_[4] = fs[5] * fs_17_[7] + (fs[3] * fs_17_[1] + fs[4] * fs_17_[4]); + fs_12_[6] = fs_17_[0] * fs[6] + fs[7] * fs_17_[3] + fs_17_[6] * fs[8]; + fs_12_[5] = fs[4] * fs_17_[5] + fs_17_[2] * fs[3] + fs[5] * fs_17_[8]; + fs_12_[7] = fs_17_[1] * fs[6] + fs_17_[4] * fs[7] + fs[8] * fs_17_[7]; + fs_12_[8] = fs_17_[5] * fs[7] + fs[6] * fs_17_[2] + fs[8] * fs_17_[8]; + } + fs_12_[7] *= f; + fs_12_[4] *= f_9_; + fs_12_[3] *= f_9_; + fs_12_[5] *= f_9_; + fs_12_[2] *= f_7_; + fs_12_[8] *= f; + fs_12_[6] *= f; + fs_12_[1] *= f_7_; + fs_12_[0] *= f_7_; + return fs_12_; + } + + final void method1348(int i, Object object, Interface14 interface14) { + do { + try { + anInt2318++; + method1341(object, interface14, -114, 1); + if (i > 62) break; + aClass107_2316 = null; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("pq.K(" + i + ',' + (object != null ? "{...}" : "null") + ',' + (interface14 != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + public static void method1349(byte i) { + anIntArray2330 = null; + aClass340_2327 = null; + aBooleanArray2326 = null; + aClass351_2315 = null; + if (i > -103) aBooleanArray2326 = null; + } + + final int method1350(byte i) { + int i_21_ = -9 % ((73 - i) / 53); + anInt2320++; + return anInt2311; + } + + Component143(int i) { + anInt2311 = i; + anInt2324 = i; + int i_22_; + for (i_22_ = 1; i_22_ + i_22_ < i; i_22_ += i_22_) { + /* empty */ + } + aClass356_2312 = new LruCache(i_22_); + } + + static { + aClass351_2315 = new StringCache(18, 3); + } +} diff --git a/client/components/Component144.java b/client/components/Component144.java new file mode 100644 index 000000000..ae49cbc71 --- /dev/null +++ b/client/components/Component144.java @@ -0,0 +1,105 @@ +/* Component144 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component144 +/** + * RENAMED from `Class319` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3978; + private final CacheStore aClass45_3979; + static double aDouble3980; + CacheStore aClass45_3981; + static Component168[] aClass315Array3982; + static int anInt3983; + static int anInt3984; + static Object anObject3985; + static int anInt3986; + static int anInt3987; + static boolean aBoolean3988 = false; + private final NodeCache aClass60_3989 = new NodeCache(64); + NodeCache aClass60_3990 = new NodeCache(60); + int anInt3991; + + final void method2541(int i, int i_0_) { + anInt3978++; + this.anInt3991 = i_0_; + synchronized (this.aClass60_3990) { + this.aClass60_3990.clear(0); + } + if (i < 72) aClass315Array3982 = null; + } + + final void method2542(int i) { + synchronized (aClass60_3989) { + aClass60_3989.method587(-126); + } + if (i >= -99) aDouble3980 = 0.5896741197263589; + anInt3986++; + synchronized (this.aClass60_3990) { + this.aClass60_3990.method587(-106); + } + } + + final Component63 method2543(byte i, int i_1_) { + if (i <= 38) method2542(-73); + anInt3983++; + Component63 class368; + synchronized (aClass60_3989) { + class368 = (Component63) aClass60_3989.get(i_1_, 101); + } + if (class368 != null) return class368; + byte[] is; + synchronized (aClass45_3979) { + is = aClass45_3979.getFile(-1860, Component349.method2419((byte) 127, i_1_), NodeSub1Sub2.method2729(i_1_, 16)); + } + class368 = new Component63(); + class368.aClass319_4513 = this; + class368.anInt4501 = i_1_; + if (is != null) class368.method3559(28105, new Buffer(is)); + synchronized (aClass60_3989) { + aClass60_3989.putOne(class368, i_1_, (byte) -127); + } + return class368; + } + + final void method2544(int i, byte i_2_) { + synchronized (aClass60_3989) { + aClass60_3989.processSoftEntries(2, i); + if (i_2_ >= -11) this.aClass45_3981 = null; + } + anInt3987++; + synchronized (this.aClass60_3990) { + this.aClass60_3990.processSoftEntries(2, i); + } + } + + public static void method2545(boolean bool) { + if (bool == true) { + aClass315Array3982 = null; + anObject3985 = null; + } + } + + final void method2546(int i) { + anInt3984++; + synchronized (aClass60_3989) { + aClass60_3989.clear(0); + } + synchronized (this.aClass60_3990) { + this.aClass60_3990.clear(0); + } + } + + Component144(GameType class230, int i, CacheStore class45, CacheStore class45_3_) { + try { + this.aClass45_3981 = class45_3_; + aClass45_3979 = class45; + int i_4_ = -1 + aClass45_3979.getGroupCapacity(-1); + aClass45_3979.getFileCount(0, i_4_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("cn.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ',' + (class45_3_ != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/components/Component146.java b/client/components/Component146.java new file mode 100644 index 000000000..51a9f2edd --- /dev/null +++ b/client/components/Component146.java @@ -0,0 +1,73 @@ +/* Component146 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component146 +/** + * RENAMED from `Class159` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2124; + int anInt2125 = 0; + static int anInt2126; + static int anInt2127 = 500; + static int anInt2128; + + private final void method1251(Buffer class348_sub49, int i, int i_0_) { + if (i == 5) this.anInt2125 = class348_sub49.readUnsignedShort(842397944); + anInt2126++; + int i_1_ = 60 % ((i_0_ - 33) / 57); + } + + static final void method1252(int i, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, byte i_8_, int i_9_) { + anInt2124++; + if (Component233.method2547(i_2_, (byte) 84)) { + int i_11_ = 0; + int i_12_ = 0; + int i_13_ = 0; + int i_14_ = 0; + int i_15_ = 0; + if (Component210.gameCanvasAttached) { + i_11_ = Component112.anInt3941; + i_15_ = HashNodeSub16Sub2.anInt10463; + i_13_ = Component112.anInt3939; + i_12_ = Component339.anInt3142; + i_14_ = NodeSub3.anInt6585; + HashNodeSub16Sub2.anInt10463 = 1; + } + int drawY = i; + int loginShift = MobileKeyboard.loginLayerShift(); + if (loginShift > 0 && i_2_ == 744) { + drawY -= loginShift; + } + if (Component14.aClass46ArrayArray8584[i_2_] == null) ImageDefinition.method3064(i_9_, drawY, i_4_ < 0, i_5_, i_3_, i_4_, i_6_, false, (DefinitionSub33.aClass46ArrayArray9427[i_2_]), -1, i_7_); + else ImageDefinition.method3064(i_9_, drawY, i_4_ < 0, i_5_, i_3_, i_4_, i_6_, false, (Component14.aClass46ArrayArray8584[i_2_]), -1, i_7_); + if (i_8_ <= 58) anInt2127 = -84; + if (Component210.gameCanvasAttached) { + if (i_4_ >= 0 && HashNodeSub16Sub2.anInt10463 == 2) Component103.method2663(-5590, Component112.anInt3941, Component112.anInt3939, Component339.anInt3142, NodeSub3.anInt6585); + HashNodeSub16Sub2.anInt10463 = i_15_; + Component112.anInt3939 = i_13_; + Component339.anInt3142 = i_12_; + NodeSub3.anInt6585 = i_14_; + Component112.anInt3941 = i_11_; + } + } else if (i_4_ == -1) { + for (int i_10_ = 0; i_10_ < 100; i_10_++) + InflaterDecompressor.aBooleanArray2076[i_10_] = true; + } else InflaterDecompressor.aBooleanArray2076[i_4_] = true; + } + + final void method1253(Buffer class348_sub49, boolean bool) { + for (; ; ) { + int i = class348_sub49.readUnsignedByte(255); + if (i == 0) break; + method1251(class348_sub49, i, -105); + } + anInt2128++; + if (bool != true) this.anInt2125 = 58; + } + + public Component146() { + /* empty */ + } +} diff --git a/client/components/Component148.java b/client/components/Component148.java new file mode 100644 index 000000000..29ddb8a6b --- /dev/null +++ b/client/components/Component148.java @@ -0,0 +1,18 @@ +/* Component148 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component148 +/** + * RENAMED from `Class270` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + Interface8 anInterface8_3463; + static int[] anIntArray3464 = new int[6]; + static int anInt3465; + + public static void method2043(boolean bool) { + if (bool != true) method2043(false); + anIntArray3464 = null; + } +} diff --git a/client/components/Component149.java b/client/components/Component149.java new file mode 100644 index 000000000..bde9730b1 --- /dev/null +++ b/client/components/Component149.java @@ -0,0 +1,89 @@ +/* Component149 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component149 +/** + * RENAMED from `Class362` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + /** Font for debug overlay lines (Dynamic/Occluders/…); set via {@code setDebugOverlayFont}. */ + static BitmapFont debugOverlayFont; + static int anInt4457; + static int anInt4458 = -1; + static int anInt4459; + static Component191 aClass183_4460; + + static final void method3511(boolean bool, BitmapFont class324, Component184 class143, String string, int i, GraphicsToolkit var_ha) { + try { + if (i != 2) debugOverlayFont = null; + anInt4457++; + boolean bool_0_ = !DisplayModeManagerContainer61.aBoolean3763 || Component135.method3490(true); + if (bool_0_) { + if (DisplayModeManagerContainer61.aBoolean3763 && bool_0_) { + class143 = Component337.aClass143_3649; + class324 = var_ha.method3686(class143, (Component305.aClass207Array9929), true); + int i_1_ = class143.method1187(string, false, 250, null); + int i_2_ = class143.method1185(null, i ^ 0x2, class143.ascent, 250, string); + int i_3_ = NodeSub7.aClass207_6643.anInt2702; + int i_4_ = i_3_ + 4; + i_2_ += 2 * i_4_; + i_1_ += 2 * i_4_; + if (i_2_ < Component209.anInt3451) i_2_ = Component209.anInt3451; + if (i_1_ < Component156.anInt3704) i_1_ = Component156.anInt3704; + int i_5_ = (Component181.aClass221_1542.method1607(DisplayModeManagerContainer23.anInt1524, i_1_, (byte) -107) - -Component200.anInt3712); + int i_6_ = (Component139.aClass341_6128.getAlignedOffset(GlToolkitSub2.anInt7666, i_2_, 1595) + Component272.anInt5871); + if (Component210.gameCanvasAttached) { + i_5_ += BufferCacheSub3.method4008((byte) -124); + i_6_ += Component110.method260(false); + } + var_ha.method3691(DisplayModeManagerContainer67.aClass207_1727, false).method965((PrimitiveTypeDefinition.aClass207_9090.anInt2702) + i_5_, (PrimitiveTypeDefinition.aClass207_9090.anInt2696) + i_6_, -(2 * (PrimitiveTypeDefinition.aClass207_9090.anInt2702)) + i_1_, -((PrimitiveTypeDefinition.aClass207_9090.anInt2696) * 2) + i_2_, 1, 0, 0); + var_ha.method3691(PrimitiveTypeDefinition.aClass207_9090, true).method974(i_5_, i_6_); + PrimitiveTypeDefinition.aClass207_9090.method1518(); + var_ha.method3691(PrimitiveTypeDefinition.aClass207_9090, true).method974(i_5_ + i_1_ - i_3_, i_6_); + PrimitiveTypeDefinition.aClass207_9090.method1514(); + var_ha.method3691(PrimitiveTypeDefinition.aClass207_9090, true).method974(i_5_ - -i_1_ + -i_3_, -i_3_ + (i_6_ - -i_2_)); + PrimitiveTypeDefinition.aClass207_9090.method1518(); + var_ha.method3691(PrimitiveTypeDefinition.aClass207_9090, true).method974(i_5_, -i_3_ + i_6_ - -i_2_); + PrimitiveTypeDefinition.aClass207_9090.method1514(); + var_ha.method3691(NodeSub7.aClass207_6643, true).method972(i_5_, (PrimitiveTypeDefinition.aClass207_9090.anInt2696) + i_6_, i_3_, -(2 * (PrimitiveTypeDefinition.aClass207_9090.anInt2696)) + i_2_); + NodeSub7.aClass207_6643.method1520(); + var_ha.method3691(NodeSub7.aClass207_6643, true).method972((PrimitiveTypeDefinition.aClass207_9090.anInt2702) + i_5_, i_6_, -((PrimitiveTypeDefinition.aClass207_9090.anInt2702) * 2) + i_1_, i_3_); + NodeSub7.aClass207_6643.method1520(); + var_ha.method3691(NodeSub7.aClass207_6643, true).method972(i_5_ - -i_1_ + -i_3_, (PrimitiveTypeDefinition.aClass207_9090.anInt2696) + i_6_, i_3_, -(2 * (PrimitiveTypeDefinition.aClass207_9090.anInt2696)) + i_2_); + NodeSub7.aClass207_6643.method1520(); + var_ha.method3691(NodeSub7.aClass207_6643, true).method972((PrimitiveTypeDefinition.aClass207_9090.anInt2702) + i_5_, -i_3_ + i_6_ - -i_2_, -(2 * (PrimitiveTypeDefinition.aClass207_9090.anInt2702)) + i_1_, i_3_); + NodeSub7.aClass207_6643.method1520(); + class324.method2584(null, 0, -1, null, ~0xffffff | Component328.anInt1479, 1, i_2_ + -(i_4_ * 2), null, i_6_ + i_4_, 0, 0, -(2 * i_4_) + i_1_, i_5_ + i_4_, false, 1, string); + Component354.method226(i_5_, i_1_, i_6_, i ^ 0x2, i_2_); + } else { + int i_7_ = class143.method1187(string, false, 250, null); + int i_8_ = class143.method1190(null, 1, string, 250) * 13; + int i_9_ = 4; + int i_10_ = 6 - -i_9_; + int i_11_ = i_9_ + 6; + var_ha.fillRect(i_10_ + -i_9_, i_11_ + -i_9_, i_9_ + i_7_ + i_9_, i_8_ + (i_9_ - -i_9_), -16777216, 0); + var_ha.method3628(i_10_ - i_9_, -i_9_ + i_11_, i_9_ + (i_7_ + i_9_), i_9_ + i_9_ + i_8_, -1, 0); + class324.method2584(null, 0, -1, null, -1, 1, i_8_, null, i_11_, 0, 0, i_7_, i_10_, false, 1, string); + Component354.method226(i_10_ - i_9_, i_9_ + i_7_ - -i_9_, i_11_ + -i_9_, i + -2, i_9_ + i_8_ - -i_9_); + } + if (bool) { + try { + if (!Component210.gameCanvasAttached) var_ha.method3689((byte) 118); + else CacheStore.method395(i + 79); + } catch (Exception_Sub1 exception_sub1) { + /* empty */ + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("fg.A(" + bool + ',' + (class324 != null ? "{...}" : "null") + ',' + (class143 != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ',' + i + ',' + (var_ha != null ? "{...}" : "null") + ')')); + } + } + + public static void method3512(int i) { + aClass183_4460 = null; + if (i != 4) anInt4458 = 96; + debugOverlayFont = null; + } +} diff --git a/client/components/Component15.java b/client/components/Component15.java new file mode 100644 index 000000000..645f24244 --- /dev/null +++ b/client/components/Component15.java @@ -0,0 +1,84 @@ +/* Component15 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component15 +/** + * RENAMED from `Class125` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ implements Interface12 { + int anInt4913; + boolean aBoolean4914; + static LruCache aClass356_4915; + static int anInt4916; + int anInt4917; + int anInt4918; + static int anInt4919 = 0; + int anInt4920; + static FontGlyphCache aClass323_4921; + Component85 aClass221_4922; + int anInt4923; + int anInt4924; + DisplayModeManagerContainer196 aClass341_4925; + static int anInt4926; + static int anInt4927; + int anInt4928; + int anInt4929; + static int anInt4930 = 0; + + public static void method1109(byte i) { + aClass323_4921 = null; + if (i != -22) method1111(127, -73, -7, -77, -85, 79); + aClass356_4915 = null; + } + + public final DisplayModeManagerContainer369 method51(byte i) { + if (i <= 116) return null; + anInt4927++; + return MatrixSub1.aClass223_5689; + } + + static final boolean method1110(int i, int i_0_, int i_1_, byte i_2_, int i_3_) { + anInt4916++; + if (!DefinitionSub23.aBoolean9307 || !Component234.aBoolean351) return false; + if (Component241.occludedPixelCount < 100) return false; + if (!ShaderSub2.method164(i_1_, i_3_, (byte) -97, i)) return false; + int i_4_ = i_3_ << Component149.anInt4459; + int i_5_ = i << Component149.anInt4459; + if (i_2_ != -79) anInt4919 = 64; + if (Component221.method1084(i_0_, Component148.anInt3465, i_5_, i_4_, ShaderSub1.aSArray5191[i_1_].method3982((byte) -86, i, i_3_), Component148.anInt3465, 18507)) { + DefinitionSub4.occludedCpCount++; + return true; + } + return false; + } + + static final void method1111(int i, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_) { + for (int i_11_ = i_9_; i >= i_11_; i_11_++) + MenuOpener.fillInts(-27, i_7_, DisplayModeManagerContainer167.anIntArrayArray255[i_11_], i_8_, i_10_); + if (i_6_ != 0) anInt4930 = 29; + anInt4926++; + } + + Component15(int i, Component85 class221, DisplayModeManagerContainer196 class341, int i_12_, int i_13_, int i_14_, int i_15_, int i_16_, int i_17_, int i_18_, boolean bool) { + try { + this.aBoolean4914 = bool; + this.anInt4923 = i_15_; + this.anInt4918 = i; + this.anInt4924 = i_12_; + this.anInt4913 = i_16_; + this.anInt4929 = i_14_; + this.anInt4920 = i_13_; + this.anInt4917 = i_18_; + this.aClass341_4925 = class341; + this.anInt4928 = i_17_; + this.aClass221_4922 = class221; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("nha.(" + i + ',' + (class221 != null ? "{...}" : "null") + ',' + (class341 != null ? "{...}" : "null") + ',' + i_12_ + ',' + i_13_ + ',' + i_14_ + ',' + i_15_ + ',' + i_16_ + ',' + i_17_ + ',' + i_18_ + ',' + bool + ')')); + } + } + + static { + aClass356_4915 = new LruCache(8); + } +} diff --git a/client/components/Component150.java b/client/components/Component150.java new file mode 100644 index 000000000..981a7d336 --- /dev/null +++ b/client/components/Component150.java @@ -0,0 +1,34 @@ +/* Component150 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component150 +/** + * RENAMED from `Class227` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2966; + static int[] anIntArray2967; + static int anInt2968 = 0; + static Object anObject2969; + int anInt2970; + + public final String toString() { + anInt2966++; + throw new IllegalStateException(); + } + + public static void method1627(byte i) { + anIntArray2967 = null; + if (i <= 105) method1627((byte) -48); + anObject2969 = null; + } + + Component150(int i) { + this.anInt2970 = i; + } + + static { + anIntArray2967 = new int[14]; + } +} diff --git a/client/components/Component151.java b/client/components/Component151.java new file mode 100644 index 000000000..5af68b7a1 --- /dev/null +++ b/client/components/Component151.java @@ -0,0 +1,39 @@ +/* Component151 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component151 +/** + * RENAMED from `Class118` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt1781; + int anInt1782; + int anInt1783; + int anInt1784; + short aShort1785; + static int[] anIntArray1786 = null; + short aShort1787; + int anInt1788; + byte aByte1789; + short aShort1790; + boolean aBoolean1791; + + public static void method1075(byte i) { + anIntArray1786 = null; + if (i != 17) anIntArray1786 = null; + } + + Component151(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, boolean bool, boolean bool_8_, int i_9_) { + this.anInt1781 = i_0_; + this.anInt1782 = i_2_; + this.anInt1788 = i_1_; + this.anInt1784 = i_9_; + this.aByte1789 = (byte) i_7_; + this.aBoolean1791 = bool_8_; + this.aShort1785 = (short) i_3_; + this.anInt1783 = i; + this.aShort1787 = (short) i_5_; + this.aShort1790 = (short) i_4_; + } +} diff --git a/client/components/Component156.java b/client/components/Component156.java new file mode 100644 index 000000000..39f84af75 --- /dev/null +++ b/client/components/Component156.java @@ -0,0 +1,71 @@ +/* Component156 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component156 +/** + * RENAMED from `Class289` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3696; + static boolean aBoolean3697 = false; + static int anInt3698; + static int anInt3699; + static byte[][][] aByteArrayArrayArray3700; + static DisplayModeManagerContainer57 aClass46_3701 = null; + static int anInt3702; + static int anInt3703; + static int anInt3704; + static NodeList aClass262_3705; + + public static void method2191(int i) { + if (i != 0) method2192((byte) -74); + aClass46_3701 = null; + aByteArrayArrayArray3700 = null; + aClass262_3705 = null; + } + + static final void method2192(byte i) { + AudioMixer.anInt3227 = 0; + anInt3702++; + int i_0_ = (((Component72.localPlayer.x) >> 9) - -NodeBaseSub2.regionTileX); + int i_1_ = (Component330.regionTileY + (Component72.localPlayer.y >> 9)); + if (i != 80) method2192((byte) -34); + if (i_0_ >= 3053 && i_0_ <= 3156 && i_1_ >= 3056 && i_1_ <= 3136) AudioMixer.anInt3227 = 1; + if (i_0_ >= 3072 && i_0_ <= 3118 && i_1_ >= 9492 && i_1_ <= 9535) AudioMixer.anInt3227 = 1; + if (AudioMixer.anInt3227 == 1 && i_0_ >= 3139 && i_0_ <= 3199 && i_1_ >= 3008 && i_1_ <= 3062) AudioMixer.anInt3227 = 0; + } + + static final void method2193(boolean bool, byte i) { + anInt3698++; + Component381.method3570(false); + if (NativeLibLoader.isPostLoginState(true, Component49.clientState)) { + Component53.anInt193++; + if (i < -118 && (Component53.anInt193 >= 50 || bool)) { + Component53.anInt193 = 0; + if (!Component338.aBoolean1712 && DefinitionSub8.aClass238_9165 != null) { + IOException_Sub1.anInt88++; + ParticleSystem class348_sub47 = ParticleShader.method2148((Component98.aClass351_5938), (DisplayModeManagerContainer64.aClass77_9029), -106); + HashNodeSub14.method3243(122, class348_sub47); + try { + Component302.method1802(0); + } catch (java.io.IOException ioexception) { + Component338.aBoolean1712 = true; + } + } + Component381.method3570(false); + } + } + } + + static final int method2194(int i, HashNodeSub13 class348_sub42_sub13) { + anInt3696++; + if (i != -1) return -42; + String string = ColorTagNode.method2812(i + -43, class348_sub42_sub13); + return Component27.aClass143_4962.method1186(string, DisplayModeManagerContainer196.aClass105Array4234, false); + } + + static { + anInt3699 = 0; + } +} diff --git a/client/components/Component157.java b/client/components/Component157.java new file mode 100644 index 000000000..187f55e93 --- /dev/null +++ b/client/components/Component157.java @@ -0,0 +1,25 @@ +/* Component157 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component157 +/** + * RENAMED from `Class266` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + short aShort3379; + int anInt3380; + int anInt3381; + short aShort3382; + short aShort3383; + short aShort3384; + short aShort3385; + byte aByte3386; + int anInt3387; + int anInt3388 = 0; + int anInt3389; + + public Component157() { + /* empty */ + } +} diff --git a/client/components/Component158.java b/client/components/Component158.java new file mode 100644 index 000000000..f226e9062 --- /dev/null +++ b/client/components/Component158.java @@ -0,0 +1,60 @@ +/* Component158 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component158 +/** + * RENAMED from `Class21` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt321; + static CacheStore aClass45_322; + static DisplayModeManagerContainer57 aClass46_323 = null; + static int anInt324; + static int anInt325 = -50; + static GraphicsToolkit aHa326; + static int anInt327; + + public final String toString() { + anInt327++; + throw new IllegalStateException(); + } + + public static void method288(byte i) { + aClass45_322 = null; + if (i > 93) { + aHa326 = null; + aClass46_323 = null; + } + } + + static final void method289(int i, int i_0_, int i_1_, int i_2_) { + anInt324++; + if (Component381.anInt8583 != i_2_ || DisplayModeManagerContainer61.anInt3760 != i_0_ || i_1_ != DisplayModeManagerContainer91.anInt396) { + Component381.anInt8583 = i_2_; + NodeSub16Sub2.aBoolean8870 = true; + DisplayModeManagerContainer91.anInt396 = i_1_; + DisplayModeManagerContainer61.anInt3760 = i_0_; + double d = -((double) (i_2_ * 2) * 3.141592653589793) / 16384.0; + double d_3_ = -(3.141592653589793 * (double) (2 * i_0_)) / 16384.0; + double d_4_ = Math.cos(d_3_); + double d_5_ = Math.sin(d_3_); + double d_6_ = Math.cos(d); + double d_7_ = Math.sin(d); + VideoAdDisplay.aDouble3182 = d_4_; + ColorTagNode.aDouble6774 = d_7_; + DisplayModeManagerContainer61.aDouble3761 = d_6_; + NodeSub16Sub2.aDouble8869 = d_4_ * d_6_; + if (i != -15902) method288((byte) -120); + DefinitionGroup.aDouble9531 = d_7_ * -d_4_; + Component186.aDouble4404 = d_5_; + Component144.aDouble3980 = 0.0; + DisplayModeManagerContainer213.aDouble1083 = d_6_ * -d_5_; + DisplayModeManagerContainer64.aDouble9023 = d_5_ * d_7_; + } + } + + public Component158() { + /* empty */ + } +} diff --git a/client/components/Component16.java b/client/components/Component16.java new file mode 100644 index 000000000..64f4e837c --- /dev/null +++ b/client/components/Component16.java @@ -0,0 +1,43 @@ +/* Component16 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component16 +/** + * RENAMED from `Class172` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2277; + static int anInt2278; + static Component183 aClass114_2279 = new Component183(60, 0); + /** Friend chat ranks / privilege bytes. */ + static int[] friendRanks = new int[200]; + static int anInt2281; + + public static void method1325(int i) { + friendRanks = null; + if (i <= -123) aClass114_2279 = null; + } + + static final BrowserUrlOpener method1326(BrowserUrlOpener class348_sub16_sub3, int i) { + anInt2278++; + BrowserUrlOpener class348_sub16_sub3_0_ = (class348_sub16_sub3 == null ? new BrowserUrlOpener() : new BrowserUrlOpener(class348_sub16_sub3)); + class348_sub16_sub3_0_.method2841(i, -94, 128); + return class348_sub16_sub3_0_; + } + + static final int method1327(int i) { + if (i <= 17) friendRanks = null; + anInt2277++; + return Sprite.anInt6924; + } + + static final void method1328(int i) { + if (i != -26162) friendRanks = null; + StringCache.aClass60_4327.method587(-118); + anInt2281++; + Component142.aClass60_4417.method587(-89); + ColoredText.aClass60_6096.method587(-87); + DefinitionSub9.aClass60_9171.method587(-95); + } +} diff --git a/client/components/Component160.java b/client/components/Component160.java new file mode 100644 index 000000000..331ee6853 --- /dev/null +++ b/client/components/Component160.java @@ -0,0 +1,136 @@ +/* Component160 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component160 +/** + * RENAMED from `Class354` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt4352; + static int anInt4353; + static int anInt4354; + private final GlToolkitSub2 aHa_Sub2_4355; + static int[][][] anIntArrayArrayArray4356; + static int anInt4357; + static int anInt4358; + private final d aD4359; + static int anInt4360; + private NodeCache aClass60_4361 = new NodeCache(256); + + final void method3463(byte i) { + anInt4360++; + aClass60_4361.clear(0); + if (i != -110) aClass60_4361 = null; + } + + static final byte method3464(char c, boolean bool) { + anInt4354++; + if (bool != false) method3464('\uffe1', false); + byte i; + if ((c <= 0 || c >= 128) && (c < 160 || c > 255)) { + if (c != 8364) { + if (c != 8218) { + if (c == 402) i = (byte) -125; + else if (c == 8222) i = (byte) -124; + else if (c == 8230) i = (byte) -123; + else if (c == 8224) i = (byte) -122; + else if (c == 8225) i = (byte) -121; + else if (c != 710) { + if (c == 8240) i = (byte) -119; + else if (c == 352) i = (byte) -118; + else if (c == 8249) i = (byte) -117; + else if (c == 338) i = (byte) -116; + else if (c != 381) { + if (c != 8216) { + if (c == 8217) i = (byte) -110; + else if (c != 8220) { + if (c != 8221) { + if (c == 8226) i = (byte) -107; + else if (c != 8211) { + if (c != 8212) { + if (c == 732) i = (byte) -104; + else if (c == 8482) i = (byte) -103; + else if (c == 353) i = (byte) -102; + else if (c != 8250) { + if (c != 339) { + if (c == 382) i = (byte) -98; + else if (c == 376) i = (byte) -97; + else i = (byte) 63; + } else i = (byte) -100; + } else i = (byte) -101; + } else i = (byte) -105; + } else i = (byte) -106; + } else i = (byte) -108; + } else i = (byte) -109; + } else i = (byte) -111; + } else i = (byte) -114; + } else i = (byte) -120; + } else i = (byte) -126; + } else i = (byte) -128; + } else i = (byte) c; + return i; + } + + static final boolean method3465(int i, int i_0_, Component103 class338) { + anInt4358++; + DefinitionSub4.aClass101_9114.method897(class338.anIntArray4187[i], class338.anIntArray4191[i], class338.anIntArray4184[i], ShaderLinker.anIntArray10172); + int i_1_ = ShaderLinker.anIntArray10172[2]; + if (i_1_ < 50) return false; + class338.aShortArray4194[i] = (short) (Component325.anInt1202 + (ShaderLinker.anIntArray10172[0] * Component211.anInt1962 / i_1_)); + class338.aShortArray4183[i] = (short) ((DebugPanicSub2.anInt8498 * ShaderLinker.anIntArray10172[i_0_] / i_1_) + DisplayModeManagerContainer207.anInt9759); + class338.aShortArray4188[i] = (short) i_1_; + return true; + } + + static final void method3466(int i) { + int i_2_ = 22 / ((-2 - i) / 52); + anInt4352++; + for (int i_3_ = 0; i_3_ < 100; i_3_++) + InflaterDecompressor.aBooleanArray2076[i_3_] = true; + } + + final GlTexture method3467(int i, int i_4_) { + anInt4357++; + Object object = aClass60_4361.get(i, -127); + if (object != null) return (GlTexture) object; + if (!aD4359.method4(-7953, i)) return null; + Component319 class12 = aD4359.method3(i, -6662); + int i_5_ = (!class12.aBoolean199 ? aHa_Sub2_4355.anInt7712 : 64); + GlTexture class258_sub3; + if (class12.aBoolean218 && aHa_Sub2_4355.method3666()) { + float[] fs = aD4359.method1(i_5_, 0.7F, false, -30824, i_5_, i); + class258_sub3 = new GlTexture(aHa_Sub2_4355, 3553, 34842, i_5_, i_5_, class12.aByte205 != 0, fs, 6408); + } else { + int[] is; + if (class12.anInt200 == 2 || !Component111.isOrthogonalWallType((byte) 4, class12.aByte213)) is = aD4359.method6(-21540, i_5_, 0.7F, i, false, i_5_); + else is = aD4359.method5(true, i, 0.7F, i_5_, i_5_, i_4_ + -196); + class258_sub3 = new GlTexture(aHa_Sub2_4355, 3553, 6408, i_5_, i_5_, class12.aByte205 != 0, is, 0, 0, false); + } + class258_sub3.method1965(class12.aBoolean215, class12.aBoolean217, 10243); + if (i_4_ != 256) method3466(22); + aClass60_4361.putOne(class258_sub3, i, (byte) -114); + return class258_sub3; + } + + public static void method3468(int i) { + anIntArrayArrayArray4356 = null; + if (i != -1401) anIntArrayArrayArray4356 = null; + } + + final void method3469(int i) { + if (i == 8218) { + anInt4353++; + aClass60_4361.processSoftEntries(2, 5); + } + } + + Component160(GlToolkitSub2 var_ha_Sub2, d var_d) { + try { + aHa_Sub2_4355 = var_ha_Sub2; + aD4359 = var_d; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("eo.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + (var_d != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/components/Component161.java b/client/components/Component161.java new file mode 100644 index 000000000..27d84fd57 --- /dev/null +++ b/client/components/Component161.java @@ -0,0 +1,38 @@ +/* Component161 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component161 +/** + * RENAMED from `Class138` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static CacheStore aClass45_1940; + int anInt1941; + static DisplayModeManagerContainer57[] aClass46Array1942; + int anInt1943; + int anInt1944; + int anInt1945; + static MenuEntry aMenuEntry_1946; + static int anInt1947; + + public static void method1164(byte i) { + if (i <= -42) { + aClass45_1940 = null; + aMenuEntry_1946 = null; + aClass46Array1942 = null; + } + } + + Component161(int i, int i_0_, int i_1_, int i_2_) { + this.anInt1943 = i_1_; + this.anInt1945 = i_0_; + this.anInt1941 = i; + this.anInt1944 = i_2_; + } + + public final String toString() { + anInt1947++; + throw new IllegalStateException(); + } +} diff --git a/client/components/Component162.java b/client/components/Component162.java new file mode 100644 index 000000000..42ceeb9bb --- /dev/null +++ b/client/components/Component162.java @@ -0,0 +1,91 @@ +/* Component162 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.lang.reflect.Method; + +final class Component162 +/** + * RENAMED from `Class127_Sub1` (JODE-obfuscated). + * Evidence: subclass of Component296 (hierarchy) + */ extends Component296 { + static DisplayModeManagerContainer130 aClass271_8378; + static int anInt8379; + static int anInt8380; + static int anInt8381; + static int anInt8382; + private int anInt8383 = 0; + static Component183 aClass114_8384 = new Component183(18, 0); + static Component183 aClass114_8385; + static boolean aBoolean8386 = false; + static int anInt8387; + static int anInt8388; + /*synthetic*/ static Class aClass8389; + + public final void method9(byte i, boolean bool) { + anInt8379++; + int i_0_ = ((this.aClass288_4659.aClass221_4955.method1607(DisplayModeManagerContainer23.anInt1524, this.aClass105_4655.method966(), (byte) -117)) - -this.aClass288_4659.anInt4950); + int i_1_ = ((this.aClass288_4659.aClass341_4952.getAlignedOffset(GlToolkitSub2.anInt7666, this.aClass105_4655.method980(), 1595)) + this.aClass288_4659.anInt4951); + this.aClass105_4655.method981((float) (this.aClass105_4655.method966() / 2 + i_0_), (float) (this.aClass105_4655.method980() / 2 + i_1_), 4096, anInt8383); + anInt8383 += ((Component383) this.aClass288_4659).anInt8577; + if (i != -49) method9((byte) -26, true); + } + + static final void method1118(boolean bool, boolean bool_2_, NodeSub41 class348_sub41, int i) { + anInt8382++; + int i_3_ = class348_sub41.anInt7050; + int i_4_ = (int) class348_sub41.key; + if (i == 2533) { + class348_sub41.unlink((byte) 35); + if (bool) DisplayModeManagerContainer194.method235(i_3_, (byte) -116); + Component290.method1288(i ^ ~0x9e2, i_3_); + DisplayModeManagerContainer57 class46 = BitmapFont.method2570(1512932720, i_4_); + if (class46 != null) Component111.markInterfaceDirty(-9343, class46); + HashNodeSub17.method3270((byte) 119); + if (!bool_2_ && r.anInt9721 != -1) Component205.method1775((byte) -8, r.anInt9721, 1); + Component79 class333 = new Component79(Component15.aClass356_4915); + for (NodeSub41 class348_sub41_5_ = (NodeSub41) class333.method2644((byte) 123); class348_sub41_5_ != null; class348_sub41_5_ = (NodeSub41) class333.method2646((byte) 99)) { + if (!class348_sub41_5_.isLinked((byte) 4)) { + class348_sub41_5_ = (NodeSub41) class333.method2644((byte) 123); + if (class348_sub41_5_ == null) break; + } + if (class348_sub41_5_.anInt7053 == 3) { + int i_6_ = (int) class348_sub41_5_.key; + if (i_3_ == i_6_ >>> 16) method1118(true, bool_2_, class348_sub41_5_, 2533); + } + } + } + } + + Component162(CacheStore class45, Component383 class288_sub1) { + super(class45, class288_sub1); + } + + static final void method1119(boolean bool) { + anInt8381++; + try { + if (bool != false) method1118(false, false, null, -35); + try { + Runtime runtime = Runtime.getRuntime(); + Integer integer = runtime.availableProcessors(); + DefinitionSub29.anInt9372 = integer.intValue(); + } catch (Throwable throwable) { + /* empty */ + } + } catch (Exception exception) { + /* empty */ + } + } + + public static void method1120(int i) { + aClass114_8384 = null; + aClass271_8378 = null; + aClass114_8385 = null; + if (i != 1) method1119(true); + } + + static { + aClass114_8385 = new Component183(10, -2); + anInt8388 = 0; + } +} diff --git a/client/components/Component163.java b/client/components/Component163.java new file mode 100644 index 000000000..ae5946239 --- /dev/null +++ b/client/components/Component163.java @@ -0,0 +1,62 @@ +/* Component163 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +abstract class Component163 +/** + * RENAMED from `Class246` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int[] anIntArray3173 = {0, 2, 2, 2, 1, 1, 3, 3, 1, 3, 3, 4, 4}; + static boolean aBoolean3174 = false; + static int anInt3175; + static int anInt3176; + static float aFloat3177; + static int anInt3178; + static Component184 aClass143_3179; + + static final void method1885(int i, int i_0_, int i_1_, int i_2_, int i_3_, float[] fs, int i_4_, float f, int i_5_, int i_6_, float f_7_, float[] fs_8_) { + try { + i_4_ -= i_5_; + i_0_ -= i; + anInt3175++; + i_3_ -= i_6_; + float f_9_ = fs_8_[2] * (float) i_0_ + (fs_8_[1] * (float) i_4_ + (float) i_3_ * fs_8_[0]); + float f_10_ = (fs_8_[5] * (float) i_0_ + (fs_8_[3] * (float) i_3_ + (float) i_4_ * fs_8_[4])); + float f_11_ = ((float) i_3_ * fs_8_[6] + fs_8_[7] * (float) i_4_ + (float) i_0_ * fs_8_[i_2_]); + float f_12_ = 0.5F + ((float) Math.atan2(f_9_, f_11_) / 6.2831855F); + if (f_7_ != 1.0F) f_12_ *= f_7_; + float f_13_ = 0.5F + f_10_ + f; + if (i_1_ == 1) { + float f_14_ = f_12_; + f_12_ = -f_13_; + f_13_ = f_14_; + } else if (i_1_ == 2) { + f_12_ = -f_12_; + f_13_ = -f_13_; + } else if (i_1_ == 3) { + float f_15_ = f_12_; + f_12_ = f_13_; + f_13_ = -f_15_; + } + fs[1] = f_13_; + fs[0] = f_12_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ca.D(" + i + ',' + i_0_ + ',' + i_1_ + ',' + i_2_ + ',' + i_3_ + ',' + (fs != null ? "{...}" : "null") + ',' + i_4_ + ',' + f + ',' + i_5_ + ',' + i_6_ + ',' + f_7_ + ',' + (fs_8_ != null ? "{...}" : "null") + ')')); + } + } + + public static void method1886(int i) { + if (i != 4908) method1885(-84, 89, 50, 37, 107, null, -109, 0.5058839F, -21, -30, 0.003914575F, null); + anIntArray3173 = null; + aClass143_3179 = null; + } + + static final boolean method1887(int i, int i_16_, int i_17_) { + anInt3178++; + if (i != 0) return true; + return ParametricDefinition.method3056(63, i_17_, i_16_) | (0x70000 & i_17_) != 0 || Component235.method2015(i_17_, i_16_, i + 7); + } + + abstract CacheNode method1888(int i, CacheNode class348_sub42_sub8); +} diff --git a/client/components/Component166.java b/client/components/Component166.java new file mode 100644 index 000000000..7ea3fe498 --- /dev/null +++ b/client/components/Component166.java @@ -0,0 +1,28 @@ +/* Component166 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.awt.*; + +final class Component166 +/** + * RENAMED from `Class180` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int[] anIntArray2370 = new int[13]; + static Rectangle[] aRectangleArray2371 = new Rectangle[100]; + static Component169 aClass196_2372; + + public static void method1366(byte i) { + aClass196_2372 = null; + anIntArray2370 = null; + aRectangleArray2371 = null; + if (i != -43) aRectangleArray2371 = null; + } + + static { + for (int i = 0; i < 100; i++) + aRectangleArray2371[i] = new Rectangle(); + aClass196_2372 = new Component169(); + } +} diff --git a/client/components/Component168.java b/client/components/Component168.java new file mode 100644 index 000000000..002b384c4 --- /dev/null +++ b/client/components/Component168.java @@ -0,0 +1,134 @@ +/* Component168 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component168 +/** + * RENAMED from `Class315` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3944; + static int anInt3945; + private final Component315 aClass243_3946 = new Component315(); + static int anInt3947; + static int anInt3948; + static int anInt3949; + static int anInt3950; + static int anInt3951; + static int anInt3952; + String aString3953; + static int anInt3954; + static int anInt3955; + private Component176 aClass293_3956; + private volatile int anInt3957; + + final void method2353(RenderableObject class318_sub1, boolean bool) { + class318_sub1.aBoolean6387 = bool; + anInt3944++; + synchronized (aClass243_3946) { + aClass243_3946.method1869(-90, class318_sub1); + anInt3957++; + } + if (aClass293_3956 != null) { + synchronized (aClass293_3956) { + aClass293_3956.notify(); + } + } + } + + static final boolean method2354(NamedInteger class364, int i) { + anInt3954++; + if (i != -1) method2355(-93, (byte) 115, true, null, -92, -67, 6); + return WaterShaderSub8.WTRC == class364 || AssetCacheLoader.WTQA == class364 || Component83.WTWIP == class364 || class364 == DisplayModeManagerContainer173.WTI; + } + + static final void method2355(int i, byte i_0_, boolean bool, CacheStore class45, int i_1_, int i_2_, int i_3_) { + Component255.anInt1059 = i; + anInt3948++; + InputHandler.aBoolean4275 = bool; + DebugPanic.aClass348_Sub16_Sub3_4743 = null; + Component197.anInt10074 = i_1_; + Component329.anInt5994 = i_3_; + PlayerState.anInt7068 = 1; + if (i_0_ != 50) method2357(-59, null); + Renderable.anInt3971 = i_2_; + DisplayModeManagerContainer77.aClass45_1848 = class45; + } + + final void method2356(Component176 class293, byte i) { + aClass293_3956 = class293; + if (i != -108) method2358(-10, -55, 5); + anInt3949++; + } + + static final int method2357(int i, Player player) { + anInt3951++; + int i_4_ = (player.anInt10560); + Component241 class225 = player.method2422((byte) 72); + if (i != (player.anInt10268) && !(player.aBoolean10213)) { + if ((player.anInt10268) != class225.anInt2919 && (player.anInt10268 != class225.anInt2920) && (class225.anInt2949 != (player.anInt10268)) && (player.anInt10268 != class225.anInt2914)) { + if ((class225.anInt2940 == (player.anInt10268)) || (player.anInt10268 == class225.anInt2924) || (player.anInt10268 == class225.anInt2947) || (player.anInt10268 == class225.anInt2958)) + i_4_ = player.anInt10526; + } else i_4_ = player.anInt10519; + } else i_4_ = player.anInt10535; + return i_4_; + } + + static final boolean method2358(int i, int i_5_, int i_6_) { + if (i >= -106) return true; + anInt3945++; + return DisplayModeManagerContainer145.method1087(12644, i_6_, i_5_) || Component224.method2056(i_5_, 107, i_6_); + } + + final void method2359(RenderableSub2 class318_sub2, int i) { + if (i != -1) method2362(45); + synchronized (aClass243_3946) { + aClass243_3946.method1869(-127, class318_sub2); + anInt3957++; + } + anInt3947++; + if (aClass293_3956 != null) { + synchronized (aClass293_3956) { + aClass293_3956.notify(); + } + } + } + + final boolean method2360(int i) { + int i_7_ = 46 % ((i - 10) / 54); + anInt3955++; + return anInt3957 == 0; + } + + final void method2361(int i, RenderableObject class318_sub1) { + class318_sub1.aBoolean6387 = true; + anInt3950++; + synchronized (aClass243_3946) { + aClass243_3946.method1869(-122, class318_sub1); + anInt3957++; + } + if (i != -15481) this.aString3953 = null; + if (aClass293_3956 != null) { + synchronized (aClass293_3956) { + aClass293_3956.notify(); + } + } + } + + final Renderable method2362(int i) { + anInt3952++; + Object object = null; + Renderable class318; + synchronized (aClass243_3946) { + if (i != 25061) method2353(null, true); + class318 = aClass243_3946.method1872(8); + class318.unlink(false); + anInt3957--; + } + return class318; + } + + Component168(String string) { + this.aString3953 = string; + } +} diff --git a/client/components/Component169.java b/client/components/Component169.java new file mode 100644 index 000000000..ab390747a --- /dev/null +++ b/client/components/Component169.java @@ -0,0 +1,28 @@ +/* Component169 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component169 +/** + * RENAMED from `Class196` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2599; + static int anInt2600; + static int anInt2601 = -50; + + final boolean method1450(int i) { + anInt2600++; + if (i >= -1) return true; + return this == Component166.aClass196_2372 | DisplayModeManagerContainer57.aClass196_838 == this; + } + + public final String toString() { + anInt2599++; + throw new IllegalStateException(); + } + + public Component169() { + /* empty */ + } +} diff --git a/client/components/Component17.java b/client/components/Component17.java new file mode 100644 index 000000000..226535425 --- /dev/null +++ b/client/components/Component17.java @@ -0,0 +1,104 @@ +/* Component17 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component17 +/** + * RENAMED from `Class308` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3879; + static int anInt3880; + static int anInt3881; + static byte[][] aByteArrayArray3882; + static int[] anIntArray3883; + static Interface6[] anInterface6Array3884 = new Interface6[75]; + static int anInt3885; + static int anInt3886; + private HashNode aClass348_Sub42_3887 = new HashNode(); + private final LruCache aClass356_3888; + private HashTable aClass107_3889 = new HashTable(); + private final int anInt3890; + private int anInt3891; + + final HashNode method2302(long l, byte i) { + try { + if (i > -25) aClass107_3889 = null; + anInt3885++; + HashNode class348_sub42 = (HashNode) aClass356_3888.get(l, -6008); + if (class348_sub42 != null) aClass107_3889.add(true, class348_sub42); + return class348_sub42; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "wu.D(" + l + ',' + i + ')'); + } + } + + final void method2303(boolean bool) { + anInt3879++; + if (bool != true) method2305(-121L, null, -1); + aClass107_3889.clear(2110355138); + aClass356_3888.clear(0); + aClass348_Sub42_3887 = new HashNode(); + anInt3891 = anInt3890; + } + + final void method2304(int i, long l) { + do { + try { + anInt3880++; + HashNode class348_sub42 = (HashNode) aClass356_3888.get(l, -6008); + if (class348_sub42 != null) { + class348_sub42.unlink((byte) 73); + class348_sub42.unlink(true); + anInt3891++; + } + if (i <= -110) break; + method2304(36, -86L); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "wu.C(" + i + ',' + l + ')'); + } + break; + } while (false); + } + + final void method2305(long l, HashNode class348_sub42, int i) { + try { + anInt3881++; + if ((~anInt3891) == i) { + HashNode class348_sub42_0_ = aClass107_3889.removeHead(20); + class348_sub42_0_.unlink((byte) 113); + class348_sub42_0_.unlink(true); + if (class348_sub42_0_ == aClass348_Sub42_3887) { + class348_sub42_0_ = aClass107_3889.removeHead(20); + class348_sub42_0_.unlink((byte) 79); + class348_sub42_0_.unlink(true); + } + } else anInt3891--; + aClass356_3888.put((byte) 37, l, class348_sub42); + aClass107_3889.add(true, class348_sub42); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wu.E(" + l + ',' + (class348_sub42 != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + public static void method2306(byte i) { + if (i != -90) method2306((byte) -74); + anIntArray3883 = null; + anInterface6Array3884 = null; + aByteArrayArray3882 = null; + } + + Component17(int i) { + anInt3891 = i; + anInt3890 = i; + int i_1_; + for (i_1_ = 1; i_1_ + i_1_ < i; i_1_ += i_1_) { + /* empty */ + } + aClass356_3888 = new LruCache(i_1_); + } + + static { + anIntArray3883 = new int[6]; + } +} diff --git a/client/components/Component170.java b/client/components/Component170.java new file mode 100644 index 000000000..091626178 --- /dev/null +++ b/client/components/Component170.java @@ -0,0 +1,435 @@ +/* Component170 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component170 +/** + * RENAMED from `Class207` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + byte[] aByteArray2695; + int anInt2696; + int[] anIntArray2697; + int anInt2698; + byte[] aByteArray2699; + int anInt2700; + int anInt2701; + int anInt2702; + int anInt2703; + + final int method1510() { + return (this.anInt2702 + this.anInt2703 + this.anInt2698); + } + + final void method1511(int i) { + int i_0_ = -1; + if (this.anIntArray2697.length < 255) { + for (int i_1_ = 0; i_1_ < this.anIntArray2697.length; i_1_++) { + if (this.anIntArray2697[i_1_] == i) { + i_0_ = i_1_; + break; + } + } + if (i_0_ == -1) { + i_0_ = this.anIntArray2697.length; + int[] is = new int[this.anIntArray2697.length + 1]; + Component313.method1578(this.anIntArray2697, 0, is, 0, this.anIntArray2697.length); + this.anIntArray2697 = is; + is[i_0_] = i; + } + } else { + int i_2_ = 2147483647; + int i_3_ = i >> 16 & 0xff; + int i_4_ = i >> 8 & 0xff; + int i_5_ = i & 0xff; + for (int i_6_ = 0; i_6_ < this.anIntArray2697.length; i_6_++) { + int i_7_ = this.anIntArray2697[i_6_]; + int i_8_ = i_7_ >> 16 & 0xff; + int i_9_ = i_7_ >> 8 & 0xff; + int i_10_ = i_7_ & 0xff; + int i_11_ = i_3_ - i_8_; + if (i_11_ < 0) i_11_ = -i_11_; + int i_12_ = i_4_ - i_9_; + if (i_12_ < 0) i_12_ = -i_12_; + int i_13_ = i_5_ - i_10_; + if (i_13_ < 0) i_13_ = -i_13_; + int i_14_ = i_11_ + i_12_ + i_13_; + if (i_14_ < i_2_) { + i_2_ = i_14_; + i_0_ = i_6_; + } + } + } + for (int i_15_ = this.anInt2696 - 1; i_15_ > 0; i_15_--) { + int i_16_ = i_15_ * this.anInt2702; + for (int i_17_ = this.anInt2702 - 1; i_17_ > 0; i_17_--) { + if (((this.anIntArray2697[this.aByteArray2699[i_17_ + i_16_] & 0xff]) == 0) && (this.anIntArray2697[((this.aByteArray2699[i_17_ + i_16_ - 1 - this.anInt2702]) & 0xff)]) != 0) this.aByteArray2699[i_17_ + i_16_] = (byte) i_0_; + } + } + } + + static final Component170 method1512(CacheStore class45, int i) { + byte[] is = class45.getSingletonFile((byte) 73, i); + if (is == null) return null; + return method1517(is)[0]; + } + + final void method1513(int i) { + int i_18_ = method1510(); + int i_19_ = method1522(); + if (this.anInt2702 != i_18_ || this.anInt2696 != i_19_) { + int i_20_ = i; + if (i_20_ > this.anInt2703) i_20_ = this.anInt2703; + int i_21_ = i; + if ((i_21_ + this.anInt2703 + this.anInt2702) > i_18_) i_21_ = (i_18_ - this.anInt2703 - this.anInt2702); + int i_22_ = i; + if (i_22_ > this.anInt2700) i_22_ = this.anInt2700; + int i_23_ = i; + if ((i_23_ + this.anInt2700 + this.anInt2696) > i_19_) i_23_ = (i_19_ - this.anInt2700 - this.anInt2696); + int i_24_ = this.anInt2702 + i_20_ + i_21_; + int i_25_ = this.anInt2696 + i_22_ + i_23_; + byte[] is = new byte[i_24_ * i_25_]; + if (this.aByteArray2695 == null) { + for (int i_26_ = 0; i_26_ < this.anInt2696; i_26_++) { + int i_27_ = i_26_ * this.anInt2702; + int i_28_ = (i_26_ + i_22_) * i_24_ + i_20_; + for (int i_29_ = 0; i_29_ < this.anInt2702; i_29_++) + is[i_28_++] = this.aByteArray2699[i_27_++]; + } + } else { + byte[] is_30_ = new byte[i_24_ * i_25_]; + for (int i_31_ = 0; i_31_ < this.anInt2696; i_31_++) { + int i_32_ = i_31_ * this.anInt2702; + int i_33_ = (i_31_ + i_22_) * i_24_ + i_20_; + for (int i_34_ = 0; i_34_ < this.anInt2702; i_34_++) { + is_30_[i_33_] = this.aByteArray2695[i_32_]; + is[i_33_++] = this.aByteArray2699[i_32_++]; + } + } + this.aByteArray2695 = is_30_; + } + this.anInt2703 -= i_20_; + this.anInt2700 -= i_22_; + this.anInt2698 -= i_21_; + this.anInt2701 -= i_23_; + this.anInt2702 = i_24_; + this.anInt2696 = i_25_; + this.aByteArray2699 = is; + } + } + + final void method1514() { + byte[] is = this.aByteArray2699; + if (this.aByteArray2695 == null) { + for (int i = (this.anInt2696 >> 1) - 1; i >= 0; i--) { + int i_35_ = i * this.anInt2702; + int i_36_ = ((this.anInt2696 - i - 1) * this.anInt2702); + for (int i_37_ = -this.anInt2702; i_37_ < 0; i_37_++) { + byte i_38_ = is[i_35_]; + is[i_35_] = is[i_36_]; + is[i_36_] = i_38_; + i_35_++; + i_36_++; + } + } + } else { + byte[] is_39_ = this.aByteArray2695; + for (int i = (this.anInt2696 >> 1) - 1; i >= 0; i--) { + int i_40_ = i * this.anInt2702; + int i_41_ = ((this.anInt2696 - i - 1) * this.anInt2702); + for (int i_42_ = -this.anInt2702; i_42_ < 0; i_42_++) { + byte i_43_ = is[i_40_]; + is[i_40_] = is[i_41_]; + is[i_41_] = i_43_; + i_43_ = is_39_[i_40_]; + is_39_[i_40_] = is_39_[i_41_]; + is_39_[i_41_] = i_43_; + i_40_++; + i_41_++; + } + } + } + int i = this.anInt2700; + this.anInt2700 = this.anInt2701; + this.anInt2701 = i; + } + + final void method1515(int i) { + int i_44_ = -1; + if (this.anIntArray2697.length < 255) { + for (int i_45_ = 0; i_45_ < this.anIntArray2697.length; i_45_++) { + if (this.anIntArray2697[i_45_] == i) { + i_44_ = i_45_; + break; + } + } + if (i_44_ == -1) { + i_44_ = this.anIntArray2697.length; + int[] is = new int[this.anIntArray2697.length + 1]; + Component313.method1578(this.anIntArray2697, 0, is, 0, this.anIntArray2697.length); + this.anIntArray2697 = is; + is[i_44_] = i; + } + } else { + int i_46_ = 2147483647; + int i_47_ = i >> 16 & 0xff; + int i_48_ = i >> 8 & 0xff; + int i_49_ = i & 0xff; + for (int i_50_ = 0; i_50_ < this.anIntArray2697.length; i_50_++) { + int i_51_ = this.anIntArray2697[i_50_]; + int i_52_ = i_51_ >> 16 & 0xff; + int i_53_ = i_51_ >> 8 & 0xff; + int i_54_ = i_51_ & 0xff; + int i_55_ = i_47_ - i_52_; + if (i_55_ < 0) i_55_ = -i_55_; + int i_56_ = i_48_ - i_53_; + if (i_56_ < 0) i_56_ = -i_56_; + int i_57_ = i_49_ - i_54_; + if (i_57_ < 0) i_57_ = -i_57_; + int i_58_ = i_55_ + i_56_ + i_57_; + if (i_58_ < i_46_) { + i_46_ = i_58_; + i_44_ = i_50_; + } + } + } + int i_59_ = 0; + byte[] is = (new byte + [this.anInt2702 * this.anInt2696]); + for (int i_60_ = 0; i_60_ < this.anInt2696; i_60_++) { + for (int i_61_ = 0; i_61_ < this.anInt2702; i_61_++) { + int i_62_ = this.aByteArray2699[i_59_] & 0xff; + if (this.anIntArray2697[i_62_] == 0) { + if (i_61_ > 0 && (this.anIntArray2697[(this.aByteArray2699[i_59_ - 1] & 0xff)]) != 0) i_62_ = i_44_; + else if (i_60_ > 0 && (this.anIntArray2697[((this.aByteArray2699[i_59_ - this.anInt2702]) & 0xff)]) != 0) i_62_ = i_44_; + else if (i_61_ < this.anInt2702 - 1 && (this.anIntArray2697[(this.aByteArray2699[i_59_ + 1] & 0xff)]) != 0) i_62_ = i_44_; + else if (i_60_ < this.anInt2696 - 1 && (this.anIntArray2697[((this.aByteArray2699[i_59_ + this.anInt2702]) & 0xff)]) != 0) i_62_ = i_44_; + } + is[i_59_++] = (byte) i_62_; + } + } + this.aByteArray2699 = is; + } + + final int[] method1516() { + int i = method1510(); + int[] is = new int[i * method1522()]; + if (this.aByteArray2695 == null) { + for (int i_67_ = 0; i_67_ < this.anInt2696; i_67_++) { + int i_68_ = i_67_ * this.anInt2702; + int i_69_ = (this.anInt2703 + (i_67_ + this.anInt2700) * i); + for (int i_70_ = 0; i_70_ < this.anInt2702; i_70_++) { + int i_71_ = (this.anIntArray2697[this.aByteArray2699[i_68_++] & 0xff]); + if (i_71_ != 0) is[i_69_++] = ~0xffffff | i_71_; + else is[i_69_++] = 0; + } + } + } else { + for (int i_63_ = 0; i_63_ < this.anInt2696; i_63_++) { + int i_64_ = i_63_ * this.anInt2702; + int i_65_ = (this.anInt2703 + (i_63_ + this.anInt2700) * i); + for (int i_66_ = 0; i_66_ < this.anInt2702; i_66_++) { + is[i_65_++] = (this.aByteArray2695[i_64_] << 24 | (this.anIntArray2697[(this.aByteArray2699[i_64_] & 0xff)])); + i_64_++; + } + } + } + return is; + } + + private static final Component170[] method1517(byte[] is) { + Buffer class348_sub49 = new Buffer(is); + class348_sub49.offset = is.length - 2; + int i = class348_sub49.readUnsignedShort(842397944); + Component170[] class207s = new Component170[i]; + for (int i_72_ = 0; i_72_ < i; i_72_++) + class207s[i_72_] = new Component170(); + class348_sub49.offset = is.length - 7 - i * 8; + int i_73_ = class348_sub49.readUnsignedShort(842397944); + int i_74_ = class348_sub49.readUnsignedShort(842397944); + int i_75_ = (class348_sub49.readUnsignedByte(255) & 0xff) + 1; + for (int i_76_ = 0; i_76_ < i; i_76_++) + class207s[i_76_].anInt2703 = class348_sub49.readUnsignedShort(842397944); + for (int i_77_ = 0; i_77_ < i; i_77_++) + class207s[i_77_].anInt2700 = class348_sub49.readUnsignedShort(842397944); + for (int i_78_ = 0; i_78_ < i; i_78_++) + class207s[i_78_].anInt2702 = class348_sub49.readUnsignedShort(842397944); + for (int i_79_ = 0; i_79_ < i; i_79_++) + class207s[i_79_].anInt2696 = class348_sub49.readUnsignedShort(842397944); + for (int i_80_ = 0; i_80_ < i; i_80_++) { + Component170 class207 = class207s[i_80_]; + class207.anInt2698 = (i_73_ - class207.anInt2702 - class207.anInt2703); + class207.anInt2701 = (i_74_ - class207.anInt2696 - class207.anInt2700); + } + class348_sub49.offset = is.length - 7 - i * 8 - (i_75_ - 1) * 3; + int[] is_81_ = new int[i_75_]; + for (int i_82_ = 1; i_82_ < i_75_; i_82_++) { + is_81_[i_82_] = class348_sub49.readMedium(-1); + if (is_81_[i_82_] == 0) is_81_[i_82_] = 1; + } + for (int i_83_ = 0; i_83_ < i; i_83_++) + class207s[i_83_].anIntArray2697 = is_81_; + class348_sub49.offset = 0; + for (int i_84_ = 0; i_84_ < i; i_84_++) { + Component170 class207 = class207s[i_84_]; + int i_85_ = (class207.anInt2702 * class207.anInt2696); + class207.aByteArray2699 = new byte[i_85_]; + int i_86_ = class348_sub49.readUnsignedByte(255); + if ((i_86_ & 0x2) == 0) { + if ((i_86_ & 0x1) == 0) { + for (int i_87_ = 0; i_87_ < i_85_; i_87_++) + class207.aByteArray2699[i_87_] = class348_sub49.readByte(-126); + } else { + for (int i_88_ = 0; i_88_ < class207.anInt2702; i_88_++) { + for (int i_89_ = 0; i_89_ < class207.anInt2696; i_89_++) + class207.aByteArray2699[(i_88_ + i_89_ * class207.anInt2702)] = class348_sub49.readByte(-96); + } + } + } else { + boolean bool = false; + class207.aByteArray2695 = new byte[i_85_]; + if ((i_86_ & 0x1) == 0) { + for (int i_90_ = 0; i_90_ < i_85_; i_90_++) + class207.aByteArray2699[i_90_] = class348_sub49.readByte(-118); + for (int i_91_ = 0; i_91_ < i_85_; i_91_++) { + byte i_92_ = (class207.aByteArray2695[i_91_] = class348_sub49.readByte(-89)); + bool = bool | i_92_ != -1; + } + } else { + for (int i_93_ = 0; i_93_ < class207.anInt2702; i_93_++) { + for (int i_94_ = 0; i_94_ < class207.anInt2696; i_94_++) + class207.aByteArray2699[(i_93_ + i_94_ * class207.anInt2702)] = class348_sub49.readByte(-84); + } + for (int i_95_ = 0; i_95_ < class207.anInt2702; i_95_++) { + for (int i_96_ = 0; i_96_ < class207.anInt2696; i_96_++) { + byte i_97_ = (class207.aByteArray2695[i_95_ + i_96_ * (class207.anInt2702)] = class348_sub49.readByte(-122)); + bool = bool | i_97_ != -1; + } + } + } + if (!bool) class207.aByteArray2695 = null; + } + } + return class207s; + } + + final void method1518() { + byte[] is = this.aByteArray2699; + if (this.aByteArray2695 == null) { + for (int i = this.anInt2696 - 1; i >= 0; i--) { + int i_98_ = i * this.anInt2702; + for (int i_99_ = (i + 1) * this.anInt2702; i_98_ < i_99_; i_98_++) { + i_99_--; + byte i_100_ = is[i_98_]; + is[i_98_] = is[i_99_]; + is[i_99_] = i_100_; + } + } + } else { + byte[] is_101_ = this.aByteArray2695; + for (int i = this.anInt2696 - 1; i >= 0; i--) { + int i_102_ = i * this.anInt2702; + for (int i_103_ = (i + 1) * this.anInt2702; i_102_ < i_103_; i_102_++) { + i_103_--; + byte i_104_ = is[i_102_]; + is[i_102_] = is[i_103_]; + is[i_103_] = i_104_; + i_104_ = is_101_[i_102_]; + is_101_[i_102_] = is_101_[i_103_]; + is_101_[i_103_] = i_104_; + } + } + } + int i = this.anInt2703; + this.anInt2703 = this.anInt2698; + this.anInt2698 = i; + } + + static final Component170[] method1519(CacheStore class45, int i, int i_105_) { + byte[] is = class45.getFile(-1860, i, i_105_); + if (is == null) return null; + return method1517(is); + } + + final void method1520() { + byte[] is = (new byte + [this.anInt2702 * this.anInt2696]); + int i = 0; + if (this.aByteArray2695 == null) { + for (int i_106_ = 0; i_106_ < this.anInt2702; i_106_++) { + for (int i_107_ = this.anInt2696 - 1; i_107_ >= 0; i_107_--) + is[i++] = (this.aByteArray2699[i_106_ + i_107_ * this.anInt2702]); + } + this.aByteArray2699 = is; + } else { + byte[] is_108_ = new byte[(this.anInt2702 * this.anInt2696)]; + for (int i_109_ = 0; i_109_ < this.anInt2702; i_109_++) { + for (int i_110_ = this.anInt2696 - 1; i_110_ >= 0; i_110_--) { + is[i] = (this.aByteArray2699[i_109_ + i_110_ * this.anInt2702]); + is_108_[i++] = (this.aByteArray2695[i_109_ + i_110_ * this.anInt2702]); + } + } + this.aByteArray2699 = is; + this.aByteArray2695 = is_108_; + } + int i_111_ = this.anInt2700; + this.anInt2700 = this.anInt2703; + this.anInt2703 = this.anInt2701; + this.anInt2701 = this.anInt2698; + this.anInt2698 = this.anInt2700; + i_111_ = this.anInt2696; + this.anInt2696 = this.anInt2702; + this.anInt2702 = i_111_; + } + + public Component170() { + /* empty */ + } + + static final Component170 method1521(CacheStore class45, int i, int i_112_) { + byte[] is = class45.getFile(-1860, i, i_112_); + if (is == null) return null; + return method1517(is)[0]; + } + + final int method1522() { + return (this.anInt2696 + this.anInt2700 + this.anInt2701); + } + + static final Component170[] method1523(CacheStore class45, int i) { + byte[] is = class45.getSingletonFile((byte) 73, i); + if (is == null) return null; + return method1517(is); + } + + final void method1524() { + int i = method1510(); + int i_113_ = method1522(); + if (this.anInt2702 != i || this.anInt2696 != i_113_) { + byte[] is = new byte[i * i_113_]; + if (this.aByteArray2695 == null) { + for (int i_119_ = 0; i_119_ < this.anInt2696; i_119_++) { + int i_120_ = i_119_ * this.anInt2702; + int i_121_ = ((i_119_ + this.anInt2700) * i + this.anInt2703); + for (int i_122_ = 0; i_122_ < this.anInt2702; i_122_++) + is[i_121_++] = this.aByteArray2699[i_120_++]; + } + } else { + byte[] is_114_ = new byte[i * i_113_]; + for (int i_115_ = 0; i_115_ < this.anInt2696; i_115_++) { + int i_116_ = i_115_ * this.anInt2702; + int i_117_ = ((i_115_ + this.anInt2700) * i + this.anInt2703); + for (int i_118_ = 0; i_118_ < this.anInt2702; i_118_++) { + is[i_117_] = this.aByteArray2699[i_116_]; + is_114_[i_117_++] = this.aByteArray2695[i_116_++]; + } + } + this.aByteArray2695 = is_114_; + } + this.anInt2703 = this.anInt2698 = this.anInt2700 = this.anInt2701 = 0; + this.anInt2702 = i; + this.anInt2696 = i_113_; + this.aByteArray2699 = is; + } + } +} diff --git a/client/components/Component171.java b/client/components/Component171.java new file mode 100644 index 000000000..f956e7626 --- /dev/null +++ b/client/components/Component171.java @@ -0,0 +1,182 @@ +/* Component171 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component171 +/** + * RENAMED from `Class318_Sub1_Sub4_Sub2` (JODE-obfuscated). + * Evidence: subclass of Component269 (hierarchy) + */ extends Component269 implements Interface10 { + private boolean aBoolean10095 = false; + static int anInt10096 = 0; + static int anInt10097; + static int anInt10098; + static int anInt10099; + static int anInt10100; + static int anInt10101; + static int anInt10102; + static int anInt10103; + static int anInt10104; + static int anInt10105; + static int anInt10106; + static int anInt10107; + static int anInt10108; + static int anInt10109; + static int anInt10110; + static int anInt10111; + static int anInt10112; + static int anInt10113; + private boolean aBoolean10114; + Component366 aClass235_10115; + private ComponentDownloader aClass30_10116; + static int anInt10117; + + public final int method39(int i) { + anInt10105++; + int i_0_ = -66 / ((-91 - i) / 35); + return (this.aClass235_10115.anInt3079); + } + + public final void method44(int i, GraphicsToolkit var_ha) { + this.aClass235_10115.method1667((byte) 116, var_ha); + if (i != 836) method2379(42); + anInt10099++; + } + + final void method2387(GraphicsToolkit var_ha, int i) { + anInt10113++; + if (i >= -125) method2386(111, null); + DisplayModeManagerContainer370 class64 = this.aClass235_10115.method1668(true, true, -128, 262144, var_ha); + if (class64 != null) { + int i_1_ = this.x >> 9; + int i_2_ = this.y >> 9; + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + class101.method894(this.x, this.anInt6382, this.y); + this.aClass235_10115.method1670(i_1_, class101, i_2_, var_ha, i_1_, class64, false, (byte) -73, i_2_); + } + } + + final int method2394(boolean bool) { + if (bool != true) method2381(null, -82); + anInt10107++; + return this.aClass235_10115.method1663(109); + } + + final boolean method2391(GraphicsToolkit var_ha, int i, int i_3_, int i_4_) { + anInt10101++; + DisplayModeManagerContainer370 class64 = this.aClass235_10115.method1668(false, false, -127, 131072, var_ha); + if (class64 == null) return false; + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + class101.method894(this.x, this.anInt6382, this.y); + if (i_4_ != 0) return true; + if (DisplayModeManagerContainer50.aBoolean3870) return class64.method623(i_3_, i, class101, false, 0, Component72.anInt1906); + return class64.method628(i_3_, i, class101, false, 0); + } + + final boolean method2376(int i) { + if (i > -12) method2394(true); + anInt10108++; + return false; + } + + Component171(GraphicsToolkit var_ha, Component44 class51, int i, int i_5_, int i_6_, int i_7_, int i_8_, boolean bool, int i_9_, int i_10_, int i_11_) { + super(i_6_, i_7_, i_8_, i, i_5_, Component181.method868(i_9_, i_10_, false)); + try { + this.aClass235_10115 = new Component366(var_ha, class51, i_9_, i_10_, this.plane, i_5_, this, bool, i_11_); + aBoolean10114 = class51.anInt874 != 0 && !bool; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ju.(" + (var_ha != null ? "{...}" : "null") + ',' + (class51 != null ? "{...}" : "null") + ',' + i + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ',' + bool + ',' + i_9_ + ',' + i_10_ + ',' + i_11_ + ')')); + } + } + + final int method2379(int i) { + anInt10097++; + if (i != -25675) aBoolean10114 = false; + return this.aClass235_10115.method1664(-71); + } + + public final boolean method38(int i) { + anInt10117++; + if (i != -18443) aBoolean10095 = true; + return this.aClass235_10115.method1665(2); + } + + public final int method42(int i) { + if (i > -62) aClass30_10116 = null; + anInt10098++; + return (this.aClass235_10115.anInt3063); + } + + public final void method43(GraphicsToolkit var_ha, int i) { + anInt10110++; + this.aClass235_10115.method1674(-1, var_ha); + if (i != -14218) aBoolean10114 = true; + } + + final RenderableSub4 method2386(int i, GraphicsToolkit var_ha) { + anInt10111++; + DisplayModeManagerContainer370 class64 = this.aClass235_10115.method1668(false, true, i ^ ~0x7f, 2048, var_ha); + if (class64 == null) return null; + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + class101.method894(this.x, this.anInt6382, this.y); + RenderableSub4 class318_sub4 = OutputStream_Sub2.method136(i, aBoolean10114, false); + int i_12_ = this.x >> 9; + int i_13_ = this.y >> 9; + this.aClass235_10115.method1670(i_12_, class101, i_13_, var_ha, i_12_, class64, true, (byte) -73, i_13_); + if (!DisplayModeManagerContainer50.aBoolean3870) class64.method615(class101, (class318_sub4.aClass318_Sub3Array6414[0]), 0); + else class64.method608(class101, (class318_sub4.aClass318_Sub3Array6414[0]), Component72.anInt1906, 0); + if ((this.aClass235_10115.aClass318_Sub10_3081) != null) { + Component122 class98 = this.aClass235_10115.aClass318_Sub10_3081.method2525(); + if (DisplayModeManagerContainer50.aBoolean3870) var_ha.method3685(class98, Component72.anInt1906); + else var_ha.method3684(class98); + } + aBoolean10095 = class64.F() || (this.aClass235_10115.aClass318_Sub10_3081) != null; + if (aClass30_10116 != null) ItemDefinitionProvider.method1935(this.y, this.anInt6382, aClass30_10116, class64, false, this.x); + else aClass30_10116 = (OggUrlStream.method2967(this.x, class64, this.y, this.anInt6382, 2)); + return class318_sub4; + } + + final ComponentDownloader method2381(GraphicsToolkit var_ha, int i) { + anInt10109++; + if (i != 7) return null; + return aClass30_10116; + } + + public final int method41(int i) { + anInt10100++; + if (i != -32228) this.aClass235_10115 = null; + return (this.aClass235_10115.anInt3052); + } + + public final void method40(int i) { + if (i != -12031) aBoolean10114 = false; + anInt10102++; + } + + final boolean method2388(int i) { + if (i >= -65) return true; + anInt10106++; + return false; + } + + final void method2392(boolean bool) { + anInt10103++; + if (bool != true) aBoolean10114 = false; + throw new IllegalStateException(); + } + + final boolean method2377(byte i) { + if (i != 122) return false; + anInt10104++; + return aBoolean10095; + } + + final void method2380(GraphicsToolkit var_ha, int i, boolean bool, RenderableObject class318_sub1, int i_14_, byte i_15_, int i_16_) { + try { + anInt10112++; + if (i_15_ < -106) throw new IllegalStateException(); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ju.N(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class318_sub1 != null ? "{...}" : "null") + ',' + i_14_ + ',' + i_15_ + ',' + i_16_ + ')')); + } + } +} diff --git a/client/components/Component175.java b/client/components/Component175.java new file mode 100644 index 000000000..723e48eb1 --- /dev/null +++ b/client/components/Component175.java @@ -0,0 +1,105 @@ +/* Component175 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component175 +/** + * RENAMED from `Class239_Sub1` (JODE-obfuscated). + * Evidence: subclass of Component339 (hierarchy) + */ extends Component339 { + static int anInt5841; + static int anInt5842; + static int anInt5843; + static int anInt5844; + static int anInt5845; + static int anInt5846; + static short[][] aShortArrayArray5847; + static int anInt5848; + static int anInt5849; + static int anInt5850; + + static final void method1719(boolean bool, String string, String string_0_, int i, int i_1_) { + try { + DisplayModeManagerContainer109.method1356(true, string_0_, i_1_, i, bool, string, true); + anInt5845++; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("aj.G(" + bool + ',' + (string != null ? "{...}" : "null") + ',' + (string_0_ != null ? "{...}" : "null") + ',' + i + ',' + i_1_ + ')')); + } + } + + final int method1720(int i) { + anInt5843++; + if (i != -32350) method1714(82, -89); + return this.anInt3138; + } + + static final void method1721(String string, byte i) { + anInt5849++; + if (r.aBoolean9722 && (0x18 & PauseTimer.anInt500) != 0) { + int i_2_ = -88 / ((i - -33) / 37); + boolean bool = false; + int i_3_ = ShaderCompilerSub1.anInt6513; + int[] is = ShaderProgramSub7.anIntArray6290; + for (int i_4_ = 0; i_3_ > i_4_; i_4_++) { + Player player = (InterfaceRenderer.players[is[i_4_]]); + if (player.username != null && player.username.equalsIgnoreCase(string) && (((player == Component72.localPlayer) && (0x10 & PauseTimer.anInt500) != 0) || (player != null && (PauseTimer.anInt500 & 0x8) != 0))) { + NativeLibraryLoader.anInt2975++; + ParticleSystem class348_sub47 = ParticleShader.method2148(RSACipher.aClass351_4907, (DisplayModeManagerContainer64.aClass77_9029), -102); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, JaclibLoader.anInt169); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(is[i_4_], (byte) 3); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(Component281.anInt3829, (byte) 3); + class348_sub47.aClass348_Sub49_Sub2_7116.writeIntInverseMiddle(Component90.anInt2046, -4086); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByteInverse((byte) -64, 0); + HashNodeSub14.method3243(116, class348_sub47); + bool = true; + Component10.method2252(true, player.anIntArray10320[0], player.anIntArray10317[0], (byte) -99, player.method2436((byte) 54), 0, player.method2436((byte) 91), -2, 0); + break; + } + } + if (!bool) DisplayModeManagerContainer213.method544((FriendsIgnoreList.aClass274_3504.getLocalized(ObjectDeserializer.languageId, 544)) + string, false, 4); + if (r.aBoolean9722) DisplayModeManagerContainer196.method2678(-2049); + } + } + + final void method1716(boolean bool) { + if (this.anInt3138 != 1 && this.anInt3138 != 0) this.anInt3138 = method1710(20014); + if (bool == false) anInt5846++; + } + + Component175(NodeSub51 class348_sub51) { + super(class348_sub51); + } + + static final boolean method1722(int i, int i_5_, byte i_6_) { + int i_7_ = 92 % ((i_6_ - 48) / 32); + anInt5848++; + return (0x10000 & i) != 0; + } + + public static void method1723(byte i) { + aShortArrayArray5847 = null; + if (i != 119) anInt5850 = -51; + } + + final int method1714(int i, int i_8_) { + if (i != 3) anInt5850 = 94; + anInt5841++; + return 1; + } + + final void method1712(int i, int i_9_) { + int i_10_ = -57 / ((82 - i) / 35); + anInt5844++; + this.anInt3138 = i_9_; + } + + Component175(int i, NodeSub51 class348_sub51) { + super(i, class348_sub51); + } + + final int method1710(int i) { + if (i != 20014) anInt5850 = -72; + anInt5842++; + return 1; + } +} diff --git a/client/components/Component176.java b/client/components/Component176.java new file mode 100644 index 000000000..6cc1ade2a --- /dev/null +++ b/client/components/Component176.java @@ -0,0 +1,123 @@ +/* Component176 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component176 +/** + * RENAMED from `Class293` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ implements Runnable { + private long aLong3742; + private Component168 aClass315_3743; + private volatile boolean aBoolean3744; + private volatile boolean aBoolean3745; + private final GraphicsToolkit aHa3746; + private final int[] anIntArray3747; + private final NodeSub1[] aClass348_Sub1Array3748 = new NodeSub1[8]; + private final int anInt3749; + private volatile boolean aBoolean3750; + + final long method2204() { + return aLong3742; + } + + public final void run() { + while (aBoolean3745) method2207(); + } + + final void method2205() { + aBoolean3750 = false; + aBoolean3745 = false; + synchronized (this) { + this.notify(); + } + } + + final void method2206(Component168 class315) { + if (aClass315_3743 != null) aClass315_3743.method2356(null, (byte) -108); + aClass315_3743 = class315; + if (aClass315_3743 != null) aClass315_3743.method2356(this, (byte) -108); + } + + private final void method2207() { + aHa3746.method3659(anInt3749); + while (!aBoolean3750 && aBoolean3745) { + if (aClass315_3743 == null || aClass315_3743.method2360(-112)) { + aBoolean3744 = false; + aLong3742 = Component230.aClass47_5262.method446(1); + synchronized (this) { + try { + this.wait(); + } catch (InterruptedException interruptedexception) { + /* empty */ + } + } + } else { + aBoolean3744 = true; + Renderable class318 = aClass315_3743.method2362(25061); + if (class318 instanceof RenderableObject) { + RenderableObject class318_sub1 = (RenderableObject) class318; + if (class318_sub1.aBoolean6387) class318_sub1.method2387(JaclibLoader.toolkit, -127); + else { + PauseTimer.method365(class318_sub1, aClass348_Sub1Array3748); + if (Component149.debugOverlayFont != null) Component149.debugOverlayFont.drawText(aClass315_3743.aString3953, -256, class318_sub1.anInt6380, class318_sub1.anInt6386, -16777216, -114); + } + } else { + int i = ((RenderableSub2) class318).anInt6394; + if (i >= 1 && i <= 4) { + s var_s = ShaderSub1.aSArray5191[i - 1]; + for (int i_0_ = 0; i_0_ < (Component197.anInt10084 + Component197.anInt10084); i_0_++) { + for (int i_1_ = 0; i_1_ < (Component197.anInt10084 + Component197.anInt10084); i_1_++) { + if (Component95.aBooleanArrayArrayArray1751[i - 1][i_0_][i_1_]) { + int i_2_ = (Component256.anInt6111 - Component197.anInt10084 + i_0_); + int i_3_ = (DebugPanicSub2.anInt8502 - Component197.anInt10084 + i_1_); + if (i_2_ >= 0 && i_2_ < var_s.anInt4587 && i_3_ >= 0 && i_3_ < var_s.anInt4590) { + JaclibLoader.toolkit.H(i_2_ << Component149.anInt4459, var_s.method3982((byte) -86, i_3_, i_2_), i_3_ << Component149.anInt4459, anIntArray3747); + if (WaterSurfaceShader.method2154(anIntArray3747[0]) == anInt3749 - 1) var_s.method3979(i_2_, i_3_); + } + } + } + } + } + } + } + } + aHa3746.method3678(anInt3749); + while (aBoolean3750 && aBoolean3745) { + synchronized (this) { + try { + this.wait(); + } catch (InterruptedException interruptedexception) { + /* empty */ + } + } + } + } + + final void method2208() { + aBoolean3750 = true; + synchronized (this) { + this.notify(); + } + } + + final void method2209() { + aBoolean3750 = false; + synchronized (this) { + this.notify(); + } + } + + final boolean method2210() { + return aClass315_3743 == null || (!aBoolean3744 && aClass315_3743.method2360(70)); + } + + Component176(int i, GraphicsToolkit var_ha) { + anIntArray3747 = new int[3]; + aBoolean3750 = true; + aBoolean3745 = true; + aBoolean3744 = false; + anInt3749 = i; + aHa3746 = var_ha; + } +} diff --git a/client/components/Component177.java b/client/components/Component177.java new file mode 100644 index 000000000..f53fe9b61 --- /dev/null +++ b/client/components/Component177.java @@ -0,0 +1,44 @@ +/* Component177 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component177 +/** + * RENAMED from `Class155` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2108; + static StringCache aClass351_2109 = new StringCache(19, -1); + static boolean aBoolean2110 = false; + + public static void method1236(byte i) { + aClass351_2109 = null; + if (i >= -78) method1237((byte) 54, null); + } + + static final void method1237(byte i, DisplayModeManagerContainer57 class46) { + anInt2108++; + if (i < 69) method1236((byte) -52); + if (r.aBoolean9722) { + HuffmanDecoder.anInt3775++; + if (class46.anObjectArray679 != null) { + DisplayModeManagerContainer57 class46_0_ = NodeSub22.method2957(JaclibLoader.anInt169, (byte) -54, Component90.anInt2046); + if (class46_0_ != null) { + NodeSub36 class348_sub36 = new NodeSub36(); + class348_sub36.aClass46_6989 = class46; + class348_sub36.aClass46_6983 = class46_0_; + class348_sub36.anObjectArray6987 = class46.anObjectArray679; + ClientScriptExecutor.method705(class348_sub36); + } + } + ParticleSystem class348_sub47 = ParticleShader.method2148(AbstractBuffer.aClass351_4266, DisplayModeManagerContainer64.aClass77_9029, -120); + class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 100, class46.anInt830); + class348_sub47.aClass348_Sub49_Sub2_7116.writeIntInverseMiddle(Component90.anInt2046, -4086); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-123, JaclibLoader.anInt169); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, Component281.anInt3829); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(92, class46.anInt704); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, class46.anInt812); + HashNodeSub14.method3243(-89, class348_sub47); + } + } +} diff --git a/client/components/Component178.java b/client/components/Component178.java new file mode 100644 index 000000000..f253e44fd --- /dev/null +++ b/client/components/Component178.java @@ -0,0 +1,60 @@ +/* Component178 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component178 +/** + * RENAMED from `Class83` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + AbstractGlTextureSub1 aClass258_Sub1_1440; + /** Friend list display names (parallel arrays, length {@link DefinitionSub30#friendCount}). */ + static String[] friendNames = new String[200]; + boolean aBoolean1442; + AbstractGlTextureSub1 aClass258_Sub1_1443 = null; + GlTexture[] aClass258_Sub3Array1444 = null; + static int anInt1445; + AbstractGlTextureSub1 aClass258_Sub1_1446 = null; + static int anInt1447 = 0; + GlTexture[] aClass258_Sub3Array1448; + + public static void method815(boolean bool) { + if (bool != false) method815(true); + friendNames = null; + } + + Component178(GlToolkitSub2 var_ha_Sub2) { + this.aClass258_Sub1_1440 = null; + this.aClass258_Sub3Array1448 = null; + this.aBoolean1442 = var_ha_Sub2.aBoolean7831; + NodeSub37.method3030(8, var_ha_Sub2); + if (this.aBoolean1442) { + byte[] is = Cp1252Decoder.unwrapBytes(false, Component244.anObject4177, 53146732); + this.aClass258_Sub1_1440 = new AbstractGlTextureSub1(var_ha_Sub2, 6410, 128, 128, 16, is, 6410); + is = Cp1252Decoder.unwrapBytes(false, Component144.anObject3985, 53146732); + this.aClass258_Sub1_1446 = new AbstractGlTextureSub1(var_ha_Sub2, 6410, 128, 128, 16, is, 6410); + ReliefShader class188 = var_ha_Sub2.aClass188_7736; + if (class188.method1414(35632)) { + is = Cp1252Decoder.unwrapBytes(false, Component14.anObject8592, 53146732); + this.aClass258_Sub1_1443 = new AbstractGlTextureSub1(var_ha_Sub2, 6408, 128, 128, 16); + AbstractGlTextureSub1 class258_sub1 = new AbstractGlTextureSub1(var_ha_Sub2, 6409, 128, 128, 16, is, 6409); + if (!class188.method1413(this.aClass258_Sub1_1443, class258_sub1, -114, 2.0F)) { + this.aClass258_Sub1_1443.method1952(-19948); + this.aClass258_Sub1_1443 = null; + } else this.aClass258_Sub1_1443.method1950(-82); + class258_sub1.method1952(-19948); + } + } else { + this.aClass258_Sub3Array1444 = new GlTexture[16]; + for (int i = 0; i < 16; i++) { + byte[] is = Component75.method1331((byte) 97, Component244.anObject4177, 2 * (128 * i) * 128, 32768); + this.aClass258_Sub3Array1444[i] = new GlTexture(var_ha_Sub2, 3553, 6410, 128, 128, true, is, 6410, false); + } + this.aClass258_Sub3Array1448 = new GlTexture[16]; + for (int i = 0; i < 16; i++) { + byte[] is = Component75.method1331((byte) 110, Component144.anObject3985, 2 * i * 16384, 32768); + this.aClass258_Sub3Array1448[i] = new GlTexture(var_ha_Sub2, 3553, 6410, 128, 128, true, is, 6410, false); + } + } + } +} diff --git a/client/components/Component179.java b/client/components/Component179.java new file mode 100644 index 000000000..b370caa09 --- /dev/null +++ b/client/components/Component179.java @@ -0,0 +1,142 @@ +/* Component179 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jagtheora.ogg.OggPacket; +import jagtheora.ogg.OggStreamState; + +final class Component179 +/** + * RENAMED from `Class348_Sub23_Sub4` (JODE-obfuscated). + * Evidence: subclass of OggStream (hierarchy) + */ extends OggStream { + static int anInt9047; + private float aFloat9048; + static int anInt9049; + static int[] anIntArray9050 = new int[14]; + private String aString9051; + static int anInt9052; + static int anInt9053; + private int anInt9054; + private int anInt9055; + static int anInt9056; + private String aString9057; + private String aString9058; + static int anInt9059; + static int anInt9060; + static int anInt9061; + private float aFloat9062; + static int anInt9063; + + Component179(OggStreamState oggstreamstate) { + super(oggstreamstate); + } + + final void shutdown(byte i) { + anInt9056++; + if (i != 13) aString9058 = null; + } + + final float method2983(byte i) { + if (i <= 61) return -0.49539495F; + anInt9052++; + return aFloat9062; + } + + final float method2984(byte i) { + anInt9060++; + if (i != 97) aFloat9048 = -0.6790166F; + return aFloat9048; + } + + static final boolean method2985(int i, int i_0_, int i_1_) { + if (i != -31735) method2990((byte) -62); + anInt9059++; + return (0x100 & i_1_) != 0; + } + + final void handlePacket(byte i, OggPacket oggpacket) { + anInt9063++; + if (this.anInt6868 <= 0 || "SUB".equals(aString9057)) { + Buffer class348_sub49 = new Buffer(oggpacket.getData()); + int i_2_ = class348_sub49.readUnsignedByte(255); + if (this.anInt6868 <= 8) { + if ((i_2_ | 0x80) == 0) throw new IllegalStateException(); + if (this.anInt6868 == 0) { + class348_sub49.offset += 23; + anInt9055 = class348_sub49.readIntLittleEndian(-89); + anInt9054 = class348_sub49.readIntLittleEndian(-41); + if (anInt9055 == 0 || anInt9054 == 0) throw new IllegalStateException(); + Buffer class348_sub49_3_ = new Buffer(16); + class348_sub49.readBytes(2147483647, 0, 16, (class348_sub49_3_.payload)); + aString9051 = class348_sub49_3_.readString((byte) -91); + class348_sub49_3_.offset = 0; + class348_sub49.readBytes(2147483647, 0, 16, (class348_sub49_3_.payload)); + aString9057 = class348_sub49_3_.readString((byte) -40); + } + } else { + if (i_2_ == 0) { + long l = class348_sub49.readLongLittle((byte) 109); + long l_4_ = class348_sub49.readLongLittle((byte) 90); + long l_5_ = class348_sub49.readLongLittle((byte) 122); + if (l < 0 || l_4_ < 0 || l_5_ < 0 || l_5_ > l) throw new IllegalStateException(); + aFloat9062 = (float) ((long) anInt9054 * l) / (float) anInt9055; + aFloat9048 = ((float) ((l - -l_4_) * (long) anInt9054) / (float) anInt9055); + int i_6_ = class348_sub49.readIntLittleEndian(-93); + if (i_6_ < 0 || i_6_ > (-class348_sub49.offset + (class348_sub49.payload).length)) throw new IllegalStateException(); + aString9058 = (Component66.method1793(class348_sub49.payload, class348_sub49.offset, -123, i_6_)); + } + if ((i_2_ | 0x80) != 0) return; + } + if (i >= -91) anInt9055 = 88; + } + } + + final String method2986(int i) { + anInt9053++; + if (i < 26) method2986(-122); + return aString9051; + } + + static final void method2987(int i, int i_7_, int i_8_, int i_9_, int i_10_) { + anInt9047++; + if (i_7_ == 8 || i_7_ == 16) { + for (int i_11_ = 0; (NodeSub44.anInt7101 > i_11_); i_11_++) { + Component103 class338 = InterfaceRenderer.aClass338Array5060[i_11_]; + if ((class338.aByte4192 == i_7_ && i_10_ == class338.aShort4185 && i_8_ == class338.aShort4193) || ((class338.aShort4182 == i_10_) && (class338.aShort4193 == i_8_))) { + if (i_11_ != NodeSub44.anInt7101) Component313.arraycopyObjects(InterfaceRenderer.aClass338Array5060, 1 + i_11_, InterfaceRenderer.aClass338Array5060, i_11_, (InterfaceRenderer.aClass338Array5060.length + -i_11_ - 1)); + NodeSub44.anInt7101--; + return; + } + } + } else { + Component186 class357 = Component335.aClass357ArrayArrayArray2029[i][i_10_][i_8_]; + if (class357 != null) { + if (i_7_ != 1) { + if (i_7_ == 2) class357.aShort4398 = (short) 0; + } else class357.aShort4409 = (short) 0; + } + ParticleShader.method2152(false); + } + if (i_9_ != -3951) anIntArray9050 = null; + } + + static final void method2988(boolean bool) { + NodeCache.aHa1098.DualToolkit(((float) Component192.aClass348_Sub51_3959.aClass239_Sub10_7232.method1764(-32350) * 0.1F + 0.7F) * Component214.aFloat2137); + anInt9049++; + NodeCache.aHa1098.ZA(DisplayModeManagerContainer96.anInt4703, Component283.aFloat4626, TeleportHandler.aFloat4455, (float) (Component158.anInt325 << 2), (float) (Component349.anInt10023 << 2), (float) (Component169.anInt2601 << 2)); + NodeCache.aHa1098.method3653(HeapDumpHelper.aClass299_4938); + if (bool != true) anIntArray9050 = null; + } + + final String method2989(int i) { + int i_12_ = 4 / ((i - -63) / 50); + anInt9061++; + return aString9058; + } + + public static void method2990(byte i) { + anIntArray9050 = null; + if (i <= 101) anIntArray9050 = null; + } +} diff --git a/client/components/Component18.java b/client/components/Component18.java new file mode 100644 index 000000000..13ff4c804 --- /dev/null +++ b/client/components/Component18.java @@ -0,0 +1,79 @@ +/* Component18 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jagex3.jagmisc.jagmisc; + +final class Component18 +/** + * RENAMED from `Class241_Sub2` (JODE-obfuscated). + * Evidence: subclass of Component41 (hierarchy) + */ extends Component41 { + private long aLong6160; + private long aLong6161 = 0L; + private long aLong6162; + private int anInt6163; + private final long[] aLongArray6164; + private int anInt6165; + + private final long method1864(int i) { + long l = jagmisc.nanoTime(); + long l_0_ = l + -aLong6162; + aLong6162 = l; + if (l_0_ > -5000000000L && l_0_ < 5000000000L) { + aLongArray6164[anInt6163] = l_0_; + if (anInt6165 < 1) anInt6165++; + anInt6163 = (1 + anInt6163) % 10; + } + long l_1_ = 0L; + if (i != 10) method1864(107); + for (int i_2_ = 1; i_2_ <= anInt6165; i_2_++) + l_1_ += aLongArray6164[(10 + (anInt6163 + -i_2_)) % 10]; + return l_1_ / (long) anInt6165; + } + + final long method1858(int i) { + aLong6161 += method1864(10); + if (i > -60) return -8L; + if (aLong6161 < aLong6160) return (-aLong6161 + aLong6160) / 1000000L; + return 0L; + } + + final void method1856(byte i) { + if (i <= 88) method1856((byte) 111); + aLong6162 = 0L; + if (aLong6160 > aLong6161) aLong6161 += -aLong6161 + aLong6160; + } + + final long method1862(int i) { + if (i != -18931) return -56L; + return aLong6161; + } + + Component18() { + aLong6160 = 0L; + anInt6163 = 0; + aLong6162 = 0L; + aLongArray6164 = new long[10]; + anInt6165 = 1; + aLong6160 = aLong6161 = jagmisc.nanoTime(); + if (aLong6161 == 0) throw new RuntimeException(); + } + + final int method1859(int i, long l) { + if (i != 71) method1859(41, -7L); + if (aLong6161 < aLong6160) { + aLong6162 += aLong6160 + -aLong6161; + aLong6161 += -aLong6161 + aLong6160; + aLong6160 += l; + return 1; + } + int i_3_ = 0; + do { + i_3_++; + aLong6160 += l; + } while (i_3_ < 10 && aLong6161 > aLong6160); + if (aLong6160 < aLong6161) aLong6160 = aLong6161; + return i_3_; + } +} diff --git a/client/components/Component180.java b/client/components/Component180.java new file mode 100644 index 000000000..6d88da35d --- /dev/null +++ b/client/components/Component180.java @@ -0,0 +1,21 @@ +/* Component180 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component180 +/** + * RENAMED from `Class102` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt1600 = -1; + short aShort1601; + short aShort1602; + short aShort1603; + short aShort1604; + short aShort1605; + byte aByte1606; + + public Component180() { + /* empty */ + } +} diff --git a/client/components/Component181.java b/client/components/Component181.java new file mode 100644 index 000000000..6b03720a7 --- /dev/null +++ b/client/components/Component181.java @@ -0,0 +1,30 @@ +/* Component181 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component181 +/** + * RENAMED from `Class95` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt1539; + static Component183 aClass114_1540 = new Component183(113, 1); + static CacheStore aClass45_1541; + static Component85 aClass221_1542; + static HashNodeSub17[] aClass348_Sub42_Sub17Array1543 = new HashNodeSub17[14]; + + static final int method868(int i, int i_0_, boolean bool) { + anInt1539++; + if (bool != false) method868(89, 115, true); + if (i == 1 || i == 3) return HashNodeSub10.anIntArray9572[i_0_ & 0x3]; + return HashNodeSub20.anIntArray9714[i_0_ & 0x3]; + } + + public static void method869(int i) { + aClass45_1541 = null; + aClass114_1540 = null; + aClass348_Sub42_Sub17Array1543 = null; + aClass221_1542 = null; + if (i != 3) method869(55); + } +} diff --git a/client/components/Component182.java b/client/components/Component182.java new file mode 100644 index 000000000..7f9cb8ac2 --- /dev/null +++ b/client/components/Component182.java @@ -0,0 +1,221 @@ +/* Component182 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaclib.memory.Stream; + +final class Component182 +/** + * RENAMED from `Class348_Sub49_Sub1` (JODE-obfuscated). + * Evidence: subclass of Buffer (hierarchy) + */ extends Buffer { + static int anInt9741; + static int anInt9742; + static StringCache aClass351_9743 = new StringCache(84, -1); + static int anInt9744; + static int anInt9745; + static boolean aBoolean9746 = true; + static int anInt9747; + static Component161 aClass138_9748 = new Component161(7, 0, 1, 1); + static StringCache aClass351_9749; + static int anInt9750; + static int anInt9751 = 0; + + static final void method3398(boolean bool, byte[][][] is, int i, byte i_0_, int i_1_, int i_2_, boolean bool_3_) { + int i_4_ = bool ? 1 : 0; + Component305.opaqueOnscreenCount = 0; + HashNodeSub3.translucentOnscreenCount = 0; + RandomAccessFileReader.anInt3049++; + if ((i_2_ & 0x2) == 0) { + for (RenderableObject class318_sub1 = Node.aClass318_Sub1Array4293[i_4_]; class318_sub1 != null; class318_sub1 = class318_sub1.aClass318_Sub1_6379) { + if (!SceneNode.method2778(class318_sub1, bool, is, i, i_0_)) { + BufferCacheSub2.method4001(class318_sub1); + if (class318_sub1.anInt6389 != -1) Component71.aClass318_Sub1Array6066[Component305.opaqueOnscreenCount++] = class318_sub1; + } + } + } + if ((i_2_ & 0x1) == 0) { + for (RenderableObject class318_sub1 = AudioMixer.aClass318_Sub1Array3226[i_4_]; class318_sub1 != null; class318_sub1 = class318_sub1.aClass318_Sub1_6379) { + if (!SceneNode.method2778(class318_sub1, bool, is, i, i_0_)) { + BufferCacheSub2.method4001(class318_sub1); + if (class318_sub1.anInt6389 != -1) ReferenceTable.aClass318_Sub1Array3737[HashNodeSub3.translucentOnscreenCount++] = class318_sub1; + } + } + for (RenderableObject class318_sub1 = Component95.aClass318_Sub1Array1754[i_4_]; class318_sub1 != null; class318_sub1 = class318_sub1.aClass318_Sub1_6379) { + if (!SceneNode.method2778(class318_sub1, bool, is, i, i_0_)) { + if (class318_sub1.method2377((byte) 122)) { + BufferCacheSub2.method4001(class318_sub1); + if (class318_sub1.anInt6389 != -1) ReferenceTable.aClass318_Sub1Array3737[HashNodeSub3.translucentOnscreenCount++] = class318_sub1; + } else { + BufferCacheSub2.method4001(class318_sub1); + if (class318_sub1.anInt6389 != -1) Component71.aClass318_Sub1Array6066[Component305.opaqueOnscreenCount++] = class318_sub1; + } + } + } + if (!bool) { + for (int i_5_ = 0; i_5_ < Component328.dynamicOnscreenCount; i_5_++) { + if (!SceneNode.method2778((DisplayModeManagerContainer310.aClass318_Sub1_Sub3Array357[i_5_]), bool, is, i, i_0_)) { + BufferCacheSub2.method4001(DisplayModeManagerContainer310.aClass318_Sub1_Sub3Array357[i_5_]); + if ((DisplayModeManagerContainer310.aClass318_Sub1_Sub3Array357[i_5_].anInt6389) != -1) { + if (DisplayModeManagerContainer310.aClass318_Sub1_Sub3Array357[i_5_].method2377((byte) 122)) ReferenceTable.aClass318_Sub1Array3737[HashNodeSub3.translucentOnscreenCount++] = (DisplayModeManagerContainer310.aClass318_Sub1_Sub3Array357[i_5_]); + else Component71.aClass318_Sub1Array6066[Component305.opaqueOnscreenCount++] = (DisplayModeManagerContainer310.aClass318_Sub1_Sub3Array357[i_5_]); + } + } + } + } + } + if (Component305.opaqueOnscreenCount > 0) { + Component385.method1295(Component71.aClass318_Sub1Array6066, 0, Component305.opaqueOnscreenCount - 1); + for (int i_6_ = 0; i_6_ < Component305.opaqueOnscreenCount; i_6_++) + Component354.method227(Component71.aClass318_Sub1Array6066[i_6_], true, bool_3_); + } + if (DisplayModeManagerContainer58.aBoolean10221) JaclibLoader.toolkit.method3642(0, null); + if ((i_2_ & 0x2) == 0) { + for (int i_7_ = Canvas_Sub1.anInt67; i_7_ < Component291.anInt2524; i_7_++) { + if (i_7_ >= i && is != null) { + int i_8_ = DisplayModeManagerContainer153.aBooleanArrayArray1572.length; + if ((NameFormatter.anInt492 + DisplayModeManagerContainer153.aBooleanArrayArray1572.length) > StaticElementRenderer.anInt6451) i_8_ -= (NameFormatter.anInt492 + DisplayModeManagerContainer153.aBooleanArrayArray1572.length - StaticElementRenderer.anInt6451); + int i_9_ = DisplayModeManagerContainer153.aBooleanArrayArray1572[0].length; + if ((NodeSub34.anInt6974 + DisplayModeManagerContainer153.aBooleanArrayArray1572[0].length) > NodeSub41.anInt7054) i_9_ -= (NodeSub34.anInt6974 + DisplayModeManagerContainer153.aBooleanArrayArray1572[0].length - NodeSub41.anInt7054); + boolean[][] bools = NodeSub8.aBooleanArrayArray6656; + if (DefinitionSub17.aBoolean9242) { + if (DefinitionSub5.aBoolean9121) bools = Component95.aBooleanArrayArrayArray1751[i_7_]; + for (int i_10_ = SpriteSub1.anInt8412; i_10_ < i_8_; i_10_++) { + int i_11_ = (i_10_ + NameFormatter.anInt492 - SpriteSub1.anInt8412); + for (int i_12_ = Component49.anInt4686; i_12_ < i_9_; i_12_++) { + bools[i_10_][i_12_] = false; + if (DisplayModeManagerContainer153.aBooleanArrayArray1572[i_10_][i_12_]) { + int i_13_ = (i_12_ + NodeSub34.anInt6974 - Component49.anInt4686); + for (int i_14_ = i_7_; i_14_ >= 0; i_14_--) { + if ((Component335.aClass357ArrayArrayArray2029[i_14_][i_11_][i_13_]) != null && (Component335.aClass357ArrayArrayArray2029[i_14_][i_11_][i_13_].aByte4399) == i_7_) { + bools[i_10_][i_12_] = (i_14_ < i || (is[i_14_][i_11_][i_13_]) != i_0_) && (!ShaderSub2.method164(i_7_, i_11_, (byte) -97, i_13_)); + break; + } + } + } + } + } + } + if (DefinitionSub5.aBoolean9121) { + if (i_1_ >= 0) ShaderSub1.aSArray5191[i_7_].method3984(0, 0, 0, null, false, i_1_, i_2_); + else ShaderSub1.aSArray5191[i_7_].method3983(0, 0, 0, null, false, i_2_); + for (int i_15_ = 0; i_15_ < Npc.anInt10503; i_15_++) + Component144.aClass315Array3982[i_15_].method2359(new RenderableSub2(i_7_ + 1), -1); + } else if (i_1_ >= 0) ShaderSub1.aSArray5191[i_7_].method3984(Component256.anInt6111, DebugPanicSub2.anInt8502, Component197.anInt10084, NodeSub8.aBooleanArrayArray6656, false, i_1_, i_2_); + else ShaderSub1.aSArray5191[i_7_].method3983(Component256.anInt6111, DebugPanicSub2.anInt8502, Component197.anInt10084, NodeSub8.aBooleanArrayArray6656, false, i_2_); + } else { + int i_16_ = DisplayModeManagerContainer153.aBooleanArrayArray1572.length; + if ((NameFormatter.anInt492 + DisplayModeManagerContainer153.aBooleanArrayArray1572.length) > StaticElementRenderer.anInt6451) i_16_ -= (NameFormatter.anInt492 + DisplayModeManagerContainer153.aBooleanArrayArray1572.length - StaticElementRenderer.anInt6451); + int i_17_ = DisplayModeManagerContainer153.aBooleanArrayArray1572[0].length; + if ((NodeSub34.anInt6974 + DisplayModeManagerContainer153.aBooleanArrayArray1572[0].length) > NodeSub41.anInt7054) i_17_ -= (NodeSub34.anInt6974 + DisplayModeManagerContainer153.aBooleanArrayArray1572[0].length - NodeSub41.anInt7054); + boolean[][] bools = NodeSub8.aBooleanArrayArray6656; + if (DefinitionSub17.aBoolean9242) { + if (DefinitionSub5.aBoolean9121) bools = Component95.aBooleanArrayArrayArray1751[i_7_]; + for (int i_18_ = SpriteSub1.anInt8412; i_18_ < i_16_; i_18_++) { + int i_19_ = (i_18_ + NameFormatter.anInt492 - SpriteSub1.anInt8412); + for (int i_20_ = Component49.anInt4686; i_20_ < i_17_; i_20_++) { + bools[i_18_][i_20_] = (DisplayModeManagerContainer153.aBooleanArrayArray1572[i_18_][i_20_]) && !ShaderSub2.method164(i_7_, i_19_, (byte) -97, (i_20_ + (NodeSub34.anInt6974) - (Component49.anInt4686))); + } + } + } + if (DefinitionSub5.aBoolean9121) { + if (i_1_ >= 0) ShaderSub1.aSArray5191[i_7_].method3984(0, 0, 0, null, false, i_1_, i_2_); + else ShaderSub1.aSArray5191[i_7_].method3983(0, 0, 0, null, false, i_2_); + for (int i_21_ = 0; i_21_ < Npc.anInt10503; i_21_++) + Component144.aClass315Array3982[i_21_].method2359(new RenderableSub2(i_7_ + 1), -1); + } else if (i_1_ >= 0) ShaderSub1.aSArray5191[i_7_].method3984(Component256.anInt6111, DebugPanicSub2.anInt8502, Component197.anInt10084, NodeSub8.aBooleanArrayArray6656, true, i_1_, i_2_); + else ShaderSub1.aSArray5191[i_7_].method3983(Component256.anInt6111, DebugPanicSub2.anInt8502, Component197.anInt10084, NodeSub8.aBooleanArrayArray6656, true, i_2_); + } + } + } + if (HashNodeSub3.translucentOnscreenCount > 0) { + VideoAdPlayer.method718(ReferenceTable.aClass318_Sub1Array3737, 0, HashNodeSub3.translucentOnscreenCount - 1); + for (int i_22_ = 0; i_22_ < HashNodeSub3.translucentOnscreenCount; i_22_++) + Component354.method227(ReferenceTable.aClass318_Sub1Array3737[i_22_], true, bool_3_); + } + } + + final void method3399(int i, float f) { + anInt9741++; + int i_23_ = Stream.floatToRawIntBits(f); + this.payload[this.offset++] = (byte) i_23_; + this.payload[this.offset++] = (byte) (i_23_ >> 8); + if (i != 18291) aBoolean9746 = true; + this.payload[this.offset++] = (byte) (i_23_ >> 16); + this.payload[this.offset++] = (byte) (i_23_ >> 24); + } + + Component182(int i) { + super(i); + } + + final void method3400(float f, byte i) { + anInt9744++; + int i_24_ = Stream.floatToRawIntBits(f); + this.payload[this.offset++] = (byte) (i_24_ >> 24); + this.payload[this.offset++] = (byte) (i_24_ >> 16); + if (i >= -76) aBoolean9746 = true; + this.payload[this.offset++] = (byte) (i_24_ >> 8); + this.payload[this.offset++] = (byte) i_24_; + } + + static final int method3401(int i, int i_25_, byte i_26_) { + anInt9745++; + if (i_26_ <= 10) return -118; + if (i == -1) return 12345678; + i_25_ = (i & 0x7f) * i_25_ >> 7; + if (i_25_ < 2) i_25_ = 2; + else if (i_25_ > 126) i_25_ = 126; + return i_25_ + (i & 0xff80); + } + + static final void method3402(byte i) { + if (ReflectionInvoker.javaVendor.toLowerCase().indexOf("microsoft") == -1) { + DebugPanicSub2.anIntArray8507[46] = 72; + DebugPanicSub2.anIntArray8507[92] = 74; + DebugPanicSub2.anIntArray8507[44] = 71; + DebugPanicSub2.anIntArray8507[61] = 27; + DebugPanicSub2.anIntArray8507[91] = 42; + if (ReflectionInvoker.aMethod3783 == null) { + DebugPanicSub2.anIntArray8507[192] = 58; + DebugPanicSub2.anIntArray8507[222] = 59; + } else { + DebugPanicSub2.anIntArray8507[520] = 59; + DebugPanicSub2.anIntArray8507[192] = 28; + DebugPanicSub2.anIntArray8507[222] = 58; + } + DebugPanicSub2.anIntArray8507[45] = 26; + DebugPanicSub2.anIntArray8507[47] = 73; + DebugPanicSub2.anIntArray8507[59] = 57; + DebugPanicSub2.anIntArray8507[93] = 43; + } else { + DebugPanicSub2.anIntArray8507[222] = 59; + DebugPanicSub2.anIntArray8507[187] = 27; + DebugPanicSub2.anIntArray8507[186] = 57; + DebugPanicSub2.anIntArray8507[221] = 43; + DebugPanicSub2.anIntArray8507[219] = 42; + DebugPanicSub2.anIntArray8507[191] = 73; + DebugPanicSub2.anIntArray8507[190] = 72; + DebugPanicSub2.anIntArray8507[220] = 74; + DebugPanicSub2.anIntArray8507[188] = 71; + DebugPanicSub2.anIntArray8507[189] = 26; + DebugPanicSub2.anIntArray8507[192] = 58; + DebugPanicSub2.anIntArray8507[223] = 28; + } + anInt9742++; + if (i > -20) aBoolean9746 = false; + } + + public static void method3403(int i) { + if (i >= 58) { + aClass138_9748 = null; + aClass351_9749 = null; + aClass351_9743 = null; + } + } + + static { + anInt9750 = 0; + aClass351_9749 = new StringCache(45, 7); + } +} diff --git a/client/components/Component183.java b/client/components/Component183.java new file mode 100644 index 000000000..83335fc77 --- /dev/null +++ b/client/components/Component183.java @@ -0,0 +1,38 @@ +/* Component183 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component183 +/** + * RENAMED from `Class114` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt1746; + private int anInt1747; + static int anInt1748; + int anInt1749; + static int anInt1750; + + final int method1058(byte i) { + if (i <= 108) anInt1747 = 110; + anInt1746++; + return anInt1747; + } + + public final String toString() { + anInt1750++; + throw new IllegalStateException(); + } + + Component183(int i, int i_0_) { + this.anInt1749 = i_0_; + anInt1747 = i; + } + + static final BrowserDetector method1059(byte i, int i_1_) { + anInt1748++; + if (i != 95) method1059((byte) 120, -75); + BrowserDetector class179 = new BrowserDetector(i_1_, false); + return class179; + } +} diff --git a/client/components/Component184.java b/client/components/Component184.java new file mode 100644 index 000000000..532a566bb --- /dev/null +++ b/client/components/Component184.java @@ -0,0 +1,392 @@ +/* Component184 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component184 +/** + * RENAMED from `Class143` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt1978; + private byte[][] aByteArrayArray1979; + static int anInt1980; + static int anInt1981; + static int anInt1982; + static int anInt1983; + static int anInt1984; + static int anInt1985; + private final byte[] aByteArray1986; + static StringCache aClass351_1987 = new StringCache(66, -1); + int maxAscent; + static int anInt1989; + static int anInt1990; + static int anInt1991; + int ascent; + int descent; + + public static void method1180(byte i) { + if (i != -76) method1180((byte) 27); + aClass351_1987 = null; + } + + final String method1181(Component24[] class105s, int i, String string, byte i_0_) { + try { + anInt1989++; + if (i >= method1186(string, class105s, false)) return string; + i -= method1186("...", null, false); + int i_1_ = -1; + if (i_0_ < 54) aClass351_1987 = null; + int i_2_ = -1; + int i_3_ = 0; + int i_4_ = string.length(); + String string_5_ = ""; + for (int i_6_ = 0; i_4_ > i_6_; i_6_++) { + char c = string.charAt(i_6_); + if (c == 60) i_1_ = i_6_; + else { + if (c == 62 && i_1_ != -1) { + String string_7_ = string.substring(i_1_ - -1, i_6_); + i_1_ = -1; + if (!string_7_.equals("lt")) { + if (!string_7_.equals("gt")) { + if (string_7_.equals("nbsp")) c = '\u00a0'; + else if (!string_7_.equals("shy")) { + if (string_7_.equals("times")) c = '\u00d7'; + else if (!string_7_.equals("euro")) { + if (!string_7_.equals("copy")) { + if (!string_7_.equals("reg")) { + if (string_7_.startsWith("img=") && class105s != null) { + try { + int i_8_ = (NodeSub41.parseInt(true, (string_7_.substring(4)))); + i_2_ = -1; + i_3_ += (class105s[i_8_].method966()); + if (i_3_ > i) return (string_5_ + "..."); + string_5_ = (string.substring(0, i_6_ - -1)); + } catch (Exception exception) { + /* empty */ + } + } + continue; + } + c = '\u00ae'; + } else c = '\u00a9'; + } else c = '\u20ac'; + } else c = '\u00ad'; + } else c = '>'; + } else c = '<'; + } + if (i_1_ == -1) { + i_3_ += 0xff & (aByteArray1986[Component160.method3464(c, false) & 0xff]); + if (aByteArrayArray1979 != null && i_2_ != -1) i_3_ += aByteArrayArray1979[i_2_][c]; + i_2_ = c; + int i_9_ = i_3_; + if (aByteArrayArray1979 != null) i_9_ += aByteArrayArray1979[c][46]; + if (i_9_ > i) return string_5_ + "..."; + string_5_ = string.substring(0, i_6_ + 1); + } + } + } + return string; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("oea.I(" + (class105s != null ? "{...}" : "null") + ',' + i + ',' + (string != null ? "{...}" : "null") + ',' + i_0_ + ')')); + } + } + + final int charKerning(int i, byte i_10_, char c) { + if (i_10_ > -47) aClass351_1987 = null; + anInt1985++; + if (aByteArrayArray1979 != null) return aByteArrayArray1979[i][c]; + return 0; + } + + final int stringWidth(boolean bool, String string) { + anInt1981++; + if (bool != true) method1181(null, 54, null, (byte) 21); + return method1186(string, null, false); + } + + final int charWidth(byte i, int i_11_) { + anInt1982++; + if (i != -48) aByteArrayArray1979 = null; + return 0xff & aByteArray1986[i_11_]; + } + + final int method1185(Component24[] class105s, int i, int i_12_, int i_13_, String string) { + try { + anInt1990++; + if (i_12_ == i) i_12_ = this.ascent; + int i_14_ = method1188(string, new int[]{i_13_}, DisplayModeManagerContainer51.aStringArray2494, (byte) 87, class105s); + int i_15_ = (-1 + i_14_) * i_12_; + return (this.maxAscent + (i_15_ + this.descent)); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("oea.A(" + (class105s != null ? "{...}" : "null") + ',' + i + ',' + i_12_ + ',' + i_13_ + ',' + (string != null ? "{...}" : "null") + ')')); + } + } + + final int method1186(String string, Component24[] class105s, boolean bool) { + try { + if (bool != false) this.descent = 95; + anInt1980++; + if (string == null) return 0; + int i = -1; + int i_16_ = -1; + int i_17_ = 0; + int i_18_ = string.length(); + for (int i_19_ = 0; i_19_ < i_18_; i_19_++) { + char c = string.charAt(i_19_); + if (c == 60) i = i_19_; + else { + if (c == 62 && i != -1) { + String string_20_ = string.substring(1 + i, i_19_); + i = -1; + if (string_20_.equals("lt")) c = '<'; + else if (!string_20_.equals("gt")) { + if (!string_20_.equals("nbsp")) { + if (string_20_.equals("shy")) c = '\u00ad'; + else if (!string_20_.equals("times")) { + if (!string_20_.equals("euro")) { + if (!string_20_.equals("copy")) { + if (string_20_.equals("reg")) c = '\u00ae'; + else { + if (string_20_.startsWith("img=") && class105s != null) { + try { + int i_21_ = (NodeSub41.parseInt(true, (string_20_.substring(4)))); + i_16_ = -1; + i_17_ += (class105s[i_21_].method966()); + } catch (Exception exception) { + /* empty */ + } + } + continue; + } + } else c = '\u00a9'; + } else c = '\u20ac'; + } else c = '\u00d7'; + } else c = '\u00a0'; + } else c = '>'; + } + if (i == -1) { + i_17_ += 0xff & (aByteArray1986[Component160.method3464(c, false) & 0xff]); + if (aByteArrayArray1979 != null && i_16_ != -1) i_17_ += aByteArrayArray1979[i_16_][c]; + i_16_ = c; + } + } + } + return i_17_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("oea.F(" + (string != null ? "{...}" : "null") + ',' + (class105s != null ? "{...}" : "null") + ',' + bool + ')')); + } + } + + final int method1187(String string, boolean bool, int i, Component24[] class105s) { + try { + anInt1984++; + int i_22_ = method1188(string, new int[]{i}, DisplayModeManagerContainer51.aStringArray2494, (byte) 87, class105s); + int i_23_ = 0; + if (bool != false) this.maxAscent = -58; + for (int i_24_ = 0; i_22_ > i_24_; i_24_++) { + int i_25_ = method1186(DisplayModeManagerContainer51.aStringArray2494[i_24_], class105s, false); + if (i_25_ > i_23_) i_23_ = i_25_; + } + return i_23_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("oea.K(" + (string != null ? "{...}" : "null") + ',' + bool + ',' + i + ',' + (class105s != null ? "{...}" : "null") + ')')); + } + } + + final int method1188(String string, int[] is, String[] strings, byte i, Component24[] class105s) { + try { + anInt1978++; + if (i != 87) method1190(null, 80, null, 55); + if (string == null) return 0; + int i_26_ = 0; + int i_27_ = 0; + int i_28_ = -1; + int i_29_ = 0; + int i_30_ = 0; + int i_31_ = -1; + int i_32_ = -1; + int i_33_ = 0; + int i_34_ = string.length(); + for (int i_35_ = 0; i_34_ > i_35_; i_35_++) { + int i_36_ = Component160.method3464(string.charAt(i_35_), false) & 0xff; + int i_37_ = 0; + if (i_36_ == 60) i_31_ = i_35_; + else { + int i_38_; + if (i_31_ == -1) { + i_37_ += charWidth((byte) -48, i_36_); + i_38_ = i_35_; + if (aByteArrayArray1979 != null && i_32_ != -1) i_37_ += aByteArrayArray1979[i_32_][i_36_]; + i_32_ = i_36_; + } else { + if (i_36_ != 62) continue; + i_38_ = i_31_; + String string_39_ = string.substring(1 + i_31_, i_35_); + i_31_ = -1; + if (string_39_.equals("br")) { + strings[i_33_] = string.substring(i_27_, i_35_ - -1); + i_33_++; + if (strings.length <= i_33_) return 0; + i_27_ = 1 + i_35_; + i_32_ = -1; + i_26_ = 0; + i_28_ = -1; + continue; + } + if (string_39_.equals("lt")) { + i_37_ += charWidth((byte) -48, 60); + if (aByteArrayArray1979 != null && i_32_ != -1) i_37_ += aByteArrayArray1979[i_32_][60]; + i_32_ = 60; + } else if (string_39_.equals("gt")) { + i_37_ += charWidth((byte) -48, 62); + if (aByteArrayArray1979 != null && i_32_ != -1) i_37_ += aByteArrayArray1979[i_32_][62]; + i_32_ = 62; + } else if (string_39_.equals("nbsp")) { + i_37_ += charWidth((byte) -48, 160); + if (aByteArrayArray1979 != null && i_32_ != -1) i_37_ += aByteArrayArray1979[i_32_][160]; + i_32_ = 160; + } else if (string_39_.equals("shy")) { + i_37_ += charWidth((byte) -48, 173); + if (aByteArrayArray1979 != null && i_32_ != -1) i_37_ += aByteArrayArray1979[i_32_][173]; + i_32_ = 173; + } else if (string_39_.equals("times")) { + i_37_ += charWidth((byte) -48, 215); + if (aByteArrayArray1979 != null && i_32_ != -1) i_37_ += aByteArrayArray1979[i_32_][215]; + i_32_ = 215; + } else if (string_39_.equals("euro")) { + i_37_ += charWidth((byte) -48, 8364); + if (aByteArrayArray1979 != null && i_32_ != -1) i_37_ += (aByteArrayArray1979[i_32_][8364]); + i_32_ = 8364; + } else if (string_39_.equals("copy")) { + i_37_ += charWidth((byte) -48, 169); + if (aByteArrayArray1979 != null && i_32_ != -1) i_37_ += (aByteArrayArray1979[i_32_][169]); + i_32_ = 169; + } else if (string_39_.equals("reg")) { + i_37_ += charWidth((byte) -48, 174); + if (aByteArrayArray1979 != null && i_32_ != -1) i_37_ += (aByteArrayArray1979[i_32_][174]); + i_32_ = 174; + } else if (string_39_.startsWith("img=") && class105s != null) { + try { + int i_40_ = (NodeSub41.parseInt(true, (string_39_.substring(4)))); + i_32_ = -1; + i_37_ += class105s[i_40_].method966(); + } catch (Exception exception) { + /* empty */ + } + } + i_36_ = -1; + } + if (i_37_ > 0) { + i_26_ += i_37_; + if (is != null) { + if (i_36_ == 32) { + i_30_ = 1; + i_29_ = i_26_; + i_28_ = i_35_; + } + if (i_26_ > is[is.length > i_33_ ? i_33_ : is.length + -1]) { + if (i_28_ >= 0) { + strings[i_33_] = string.substring(i_27_, -i_30_ + 1 + i_28_); + if (strings.length <= ++i_33_) return 0; + i_27_ = 1 + i_28_; + i_32_ = -1; + i_28_ = -1; + i_26_ -= i_29_; + } else { + strings[i_33_] = string.substring(i_27_, i_38_); + i_33_++; + if (i_33_ >= strings.length) return 0; + i_27_ = i_38_; + i_32_ = -1; + i_28_ = -1; + i_26_ = i_37_; + } + } + if (i_36_ == 45) { + i_29_ = i_26_; + i_28_ = i_35_; + i_30_ = 0; + } + } + } + } + } + if (i_27_ < string.length()) { + strings[i_33_] = string.substring(i_27_); + i_33_++; + } + return i_33_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("oea.J(" + (string != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ',' + (strings != null ? "{...}" : "null") + ',' + i + ',' + (class105s != null ? "{...}" : "null") + ')')); + } + } + + static final void method1189(int i, int i_41_) { + anInt1991++; + if (i != -1) aClass351_1987 = null; + ColorTagNode class348_sub15 = ((ColorTagNode) DisplayModeManagerContainer91.aClass356_389.get(i_41_, -6008)); + if (class348_sub15 != null) { + class348_sub15.aBoolean6781 = !class348_sub15.aBoolean6781; + class348_sub15.aClass55_Sub1_6768.method514((byte) 116, class348_sub15.aBoolean6781); + } + } + + final int method1190(Component24[] class105s, int i, String string, int i_42_) { + try { + anInt1983++; + if (i != 1) this.ascent = -13; + return method1188(string, new int[]{i_42_}, DisplayModeManagerContainer51.aStringArray2494, (byte) 87, class105s); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("oea.B(" + (class105s != null ? "{...}" : "null") + ',' + i + ',' + (string != null ? "{...}" : "null") + ',' + i_42_ + ')')); + } + } + + Component184(byte[] is) { + Buffer class348_sub49 = new Buffer(is); + int i = class348_sub49.readUnsignedByte(255); + if (i != 0) throw new RuntimeException(""); + boolean bool = class348_sub49.readUnsignedByte(255) == 1; + aByteArray1986 = new byte[256]; + class348_sub49.readBytes(2147483647, 0, 256, aByteArray1986); + if (bool) { + int[] is_43_ = new int[256]; + int[] is_44_ = new int[256]; + for (int i_45_ = 0; i_45_ < 256; i_45_++) + is_43_[i_45_] = class348_sub49.readUnsignedByte(255); + for (int i_46_ = 0; i_46_ < 256; i_46_++) + is_44_[i_46_] = class348_sub49.readUnsignedByte(255); + byte[][] is_47_ = new byte[256][]; + for (int i_48_ = 0; i_48_ < 256; i_48_++) { + is_47_[i_48_] = new byte[is_43_[i_48_]]; + byte i_49_ = 0; + for (int i_50_ = 0; (is_47_[i_48_].length > i_50_); i_50_++) { + i_49_ += class348_sub49.readByte(-83); + is_47_[i_48_][i_50_] = i_49_; + } + } + byte[][] is_51_ = new byte[256][]; + for (int i_52_ = 0; i_52_ < 256; i_52_++) { + is_51_[i_52_] = new byte[is_43_[i_52_]]; + byte i_53_ = 0; + for (int i_54_ = 0; (is_51_[i_52_].length > i_54_); i_54_++) { + i_53_ += class348_sub49.readByte(-115); + is_51_[i_52_][i_54_] = i_53_; + } + } + aByteArrayArray1979 = new byte[256][256]; + for (int i_55_ = 0; i_55_ < 256; i_55_++) { + if (i_55_ != 32 && i_55_ != 160) { + for (int i_56_ = 0; i_56_ < 256; i_56_++) { + if (i_56_ != 32 && i_56_ != 160) aByteArrayArray1979[i_55_][i_56_] = (byte) (DisplayModeManagerContainer295.method1756(aByteArray1986, -34, i_56_, i_55_, is_47_, is_51_, is_44_, is_43_)); + } + } + } + this.ascent = is_44_[32] - -is_43_[32]; + } else this.ascent = class348_sub49.readUnsignedByte(255); + class348_sub49.readUnsignedByte(255); + class348_sub49.readUnsignedByte(255); + this.maxAscent = class348_sub49.readUnsignedByte(255); + this.descent = class348_sub49.readUnsignedByte(255); + } +} diff --git a/client/components/Component185.java b/client/components/Component185.java new file mode 100644 index 000000000..479bfc4a5 --- /dev/null +++ b/client/components/Component185.java @@ -0,0 +1,61 @@ +/* Component185 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +class Component185 +/** + * RENAMED from `Class59_Sub2` (JODE-obfuscated). + * Evidence: subclass of DisplayModeManagerContainer213 (hierarchy) + */ extends DisplayModeManagerContainer213 { + static int anInt5301; + private int anInt5302; + private final int[] anIntArray5303 = new int[this.anInt1071]; + static int anInt5304; + /** Supported language codes (index = {@link ObjectDeserializer#languageId}). */ + static String[] languageNames = {"en", "de", "fr", "pt", "nl"}; + static int[] anIntArray5306 = {36064, 36065, 36066, 36067, 36068, 36069, 36070, 36071, 36096}; + static int anInt5307; + private int anInt5308; + private byte[] aByteArray5309; + static int anInt5310; + + final void method546(int i, int i_0_, int i_1_) { + if (i_1_ != -2) method543(false); + anInt5302 += anIntArray5303[i_0_] * i >> 12; + anInt5304++; + } + + final void method543(boolean bool) { + anInt5307++; + anInt5302 = 0; + anInt5308 = 0; + if (bool != true) anInt5302 = -121; + } + + final void method541(int i) { + anInt5302 = Math.abs(anInt5302); + anInt5301++; + if (anInt5302 >= 4096) anInt5302 = 4095; + method563((byte) 92, anInt5308++, (byte) (anInt5302 >> 4)); + if (i != -1538606516) method546(-74, -93, 118); + anInt5302 = 0; + } + + Component185(int i, int i_2_, int i_3_, int i_4_, int i_5_, float f) { + super(i, i_2_, i_3_, i_4_, i_5_); + for (int i_6_ = 0; i_6_ < this.anInt1071; i_6_++) + anIntArray5303[i_6_] = (short) (int) (Math.pow(f, i_6_) * 4096.0); + } + + void method563(byte i, int i_7_, byte i_8_) { + aByteArray5309[anInt5308++] = (byte) (GpsOverlay.bitwiseAnd(127, i_8_ >> 1) + 127); + if (i < 79) method543(true); + anInt5310++; + } + + public static void method564(byte i) { + languageNames = null; + anIntArray5306 = null; + if (i >= -39) method564((byte) 50); + } +} diff --git a/client/components/Component186.java b/client/components/Component186.java new file mode 100644 index 000000000..4d7effa31 --- /dev/null +++ b/client/components/Component186.java @@ -0,0 +1,90 @@ +/* Component186 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component186 +/** + * RENAMED from `Class357` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt4392; + static int anInt4393; + static StringCache aClass351_4394 = new StringCache(6, -1); + Component203 aClass318_Sub1_Sub5_4395; + Component3 aClass148_4396; + short aShort4397; + short aShort4398; + byte aByte4399; + Component186 aClass357_4400; + short aShort4401; + DisplayModeManagerContainer28 aClass318_Sub1_Sub1_4402; + Component269 aClass318_Sub1_Sub4_4403; + static double aDouble4404; + static StringCache aClass351_4405 = new StringCache(64, -1); + Component269 aClass318_Sub1_Sub4_4406; + Component203 aClass318_Sub1_Sub5_4407; + DisplayModeManagerContainer343 aClass318_Sub1_Sub2_4408; + short aShort4409; + static long[] aLongArray4410 = new long[100]; + + final void method3485(boolean bool) { + Component3 class148; + for (/**/; this.aClass148_4396 != null; this.aClass148_4396 = class148) { + class148 = this.aClass148_4396.aClass148_2038; + this.aClass148_4396.method1199((byte) -106); + } + anInt4393++; + if (bool != true) method3486(41, false, -64, 33L, -50); + } + + static final String method3486(int i, boolean bool, int i_0_, long l, int i_1_) { + try { + anInt4392++; + char c = ','; + char c_2_ = '.'; + if (i_0_ == 0) { + c = '.'; + c_2_ = ','; + } + if (i_0_ == 2) c_2_ = '\u00a0'; + boolean bool_3_ = false; + if (l < 0) { + l = -l; + bool_3_ = true; + } + StringBuffer stringbuffer = new StringBuffer(26); + if (i > 0) { + for (int i_4_ = 0; i > i_4_; i_4_++) { + int i_5_ = (int) l; + l /= 10L; + stringbuffer.append((char) (i_5_ + (48 + -((int) l * 10)))); + } + stringbuffer.append(c); + } + int i_6_ = 0; + for (; ; ) { + int i_7_ = (int) l; + l /= 10L; + stringbuffer.append((char) (i_7_ + (48 - (int) l * 10))); + if (l == 0) break; + if (bool && ++i_6_ % 3 == 0) stringbuffer.append(c_2_); + } + if (bool_3_) stringbuffer.append('-'); + if (i_1_ != 16980) aLongArray4410 = null; + return stringbuffer.reverse().toString(); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("es.C(" + i + ',' + bool + ',' + i_0_ + ',' + l + ',' + i_1_ + ')')); + } + } + + Component186(int i) { + this.aByte4399 = (byte) i; + } + + public static void method3487(int i) { + aLongArray4410 = null; + aClass351_4394 = null; + if (i >= -45) aClass351_4405 = null; + aClass351_4405 = null; + } +} diff --git a/client/components/Component187.java b/client/components/Component187.java new file mode 100644 index 000000000..bd46b6da0 --- /dev/null +++ b/client/components/Component187.java @@ -0,0 +1,451 @@ +/* Component187 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component187 +/** + * RENAMED from `Class212` (JODE-obfuscated). + * Bzip2 decompressor used by {@link NodeSub41#decompressContainer}. + */ { + private static DisplayModeManagerContainer172 aClass40_2750 = new DisplayModeManagerContainer172(); + + private static final int method1545(int i, DisplayModeManagerContainer172 class40) { + for (; ; ) { + if (class40.anInt546 >= i) { + int i_0_ = ((class40.anInt554 >> class40.anInt546 - i) & (1 << i) - 1); + class40.anInt546 -= i; + return i_0_; + } + class40.anInt554 = (class40.anInt554 << 8 | (class40.aByteArray534[class40.anInt522]) & 0xff); + class40.anInt546 += 8; + class40.anInt522++; + class40.anInt536++; + } + } + + private static final void method1546(int[] is, int[] is_1_, int[] is_2_, byte[] is_3_, int i, int i_4_, int i_5_) { + int i_6_ = 0; + for (int i_7_ = i; i_7_ <= i_4_; i_7_++) { + for (int i_8_ = 0; i_8_ < i_5_; i_8_++) { + if (is_3_[i_8_] == i_7_) { + is_2_[i_6_] = i_8_; + i_6_++; + } + } + } + for (int i_9_ = 0; i_9_ < 23; i_9_++) + is_1_[i_9_] = 0; + for (int i_10_ = 0; i_10_ < i_5_; i_10_++) + is_1_[is_3_[i_10_] + 1]++; + for (int i_11_ = 1; i_11_ < 23; i_11_++) + is_1_[i_11_] += is_1_[i_11_ - 1]; + for (int i_12_ = 0; i_12_ < 23; i_12_++) + is[i_12_] = 0; + int i_13_ = 0; + for (int i_14_ = i; i_14_ <= i_4_; i_14_++) { + i_13_ += is_1_[i_14_ + 1] - is_1_[i_14_]; + is[i_14_] = i_13_ - 1; + i_13_ <<= 1; + } + for (int i_15_ = i + 1; i_15_ <= i_4_; i_15_++) + is_1_[i_15_] = (is[i_15_ - 1] + 1 << 1) - is_1_[i_15_]; + } + + /** Bzip2 decompress into {@code is} (JS5 container type 1). */ + static final int decompressBzip2(byte[] is, int i, byte[] is_16_, int i_17_, int i_18_) { + synchronized (aClass40_2750) { + aClass40_2750.aByteArray534 = is_16_; + aClass40_2750.anInt522 = i_18_; + aClass40_2750.aByteArray527 = is; + aClass40_2750.anInt548 = 0; + aClass40_2750.anInt538 = i; + aClass40_2750.anInt546 = 0; + aClass40_2750.anInt554 = 0; + aClass40_2750.anInt536 = 0; + aClass40_2750.anInt524 = 0; + method1552(aClass40_2750); + i -= aClass40_2750.anInt538; + aClass40_2750.aByteArray534 = null; + aClass40_2750.aByteArray527 = null; + return i; + } + } + + private static final byte method1548(DisplayModeManagerContainer172 class40) { + return (byte) method1545(8, class40); + } + + private static final void method1549(DisplayModeManagerContainer172 class40) { + byte i = class40.aByte539; + int i_19_ = class40.anInt533; + int i_20_ = class40.anInt555; + int i_21_ = class40.anInt537; + int[] is = ParticleShader.anIntArray6228; + int i_22_ = class40.anInt552; + byte[] is_23_ = class40.aByteArray527; + int i_24_ = class40.anInt548; + int i_25_ = class40.anInt538; + int i_26_ = i_25_; + int i_27_ = class40.anInt550 + 1; + while_75_: + for (; ; ) { + if (i_19_ > 0) { + for (; ; ) { + if (i_25_ == 0) break while_75_; + if (i_19_ == 1) break; + is_23_[i_24_] = i; + i_19_--; + i_24_++; + i_25_--; + } + if (i_25_ == 0) { + i_19_ = 1; + break; + } + is_23_[i_24_] = i; + i_24_++; + i_25_--; + } + for (; ; ) { + if (i_20_ == i_27_) { + i_19_ = 0; + break while_75_; + } + i = (byte) i_21_; + i_22_ = is[i_22_]; + int i_28_ = (byte) i_22_; + i_22_ >>= 8; + i_20_++; + if (i_28_ == i_21_) { + if (i_20_ != i_27_) break; + if (i_25_ == 0) { + i_19_ = 1; + break while_75_; + } + is_23_[i_24_] = i; + i_24_++; + i_25_--; + } else { + i_21_ = i_28_; + if (i_25_ == 0) { + i_19_ = 1; + break while_75_; + } + is_23_[i_24_] = i; + i_24_++; + i_25_--; + } + } + i_19_ = 2; + i_22_ = is[i_22_]; + int i_29_ = (byte) i_22_; + i_22_ >>= 8; + if (++i_20_ != i_27_) { + if (i_29_ == i_21_) { + i_19_ = 3; + i_22_ = is[i_22_]; + i_29_ = (byte) i_22_; + i_22_ >>= 8; + if (++i_20_ != i_27_) { + if (i_29_ == i_21_) { + i_22_ = is[i_22_]; + i_29_ = (byte) i_22_; + i_22_ >>= 8; + i_20_++; + i_19_ = (i_29_ & 0xff) + 4; + i_22_ = is[i_22_]; + i_21_ = (byte) i_22_; + i_22_ >>= 8; + i_20_++; + } else i_21_ = i_29_; + } + } else i_21_ = i_29_; + } + } + int i_30_ = class40.anInt524; + class40.anInt524 += i_26_ - i_25_; + class40.aByte539 = i; + class40.anInt533 = i_19_; + class40.anInt555 = i_20_; + class40.anInt537 = i_21_; + ParticleShader.anIntArray6228 = is; + class40.anInt552 = i_22_; + class40.aByteArray527 = is_23_; + class40.anInt548 = i_24_; + class40.anInt538 = i_25_; + } + + private static final void method1550(DisplayModeManagerContainer172 class40) { + class40.anInt541 = 0; + for (int i = 0; i < 256; i++) { + if (class40.aBooleanArray523[i]) { + class40.aByteArray528[class40.anInt541] = (byte) i; + class40.anInt541++; + } + } + } + + public static void method1551() { + aClass40_2750 = null; + } + + private static final void method1552(DisplayModeManagerContainer172 class40) { + boolean bool = false; + boolean bool_31_ = false; + boolean bool_32_ = false; + boolean bool_33_ = false; + boolean bool_34_ = false; + boolean bool_35_ = false; + boolean bool_36_ = false; + boolean bool_37_ = false; + boolean bool_38_ = false; + boolean bool_39_ = false; + boolean bool_40_ = false; + boolean bool_41_ = false; + boolean bool_42_ = false; + boolean bool_43_ = false; + boolean bool_44_ = false; + boolean bool_45_ = false; + boolean bool_46_ = false; + boolean bool_47_ = false; + int i = 0; + int[] is = null; + int[] is_48_ = null; + int[] is_49_ = null; + class40.anInt526 = 1; + if (ParticleShader.anIntArray6228 == null) ParticleShader.anIntArray6228 = new int[class40.anInt526 * 100000]; + boolean bool_50_ = true; + while (bool_50_) { + byte i_51_ = method1548(class40); + if (i_51_ == 23) break; + i_51_ = method1548(class40); + i_51_ = method1548(class40); + i_51_ = method1548(class40); + i_51_ = method1548(class40); + i_51_ = method1548(class40); + i_51_ = method1548(class40); + i_51_ = method1548(class40); + i_51_ = method1548(class40); + i_51_ = method1548(class40); + i_51_ = method1553(class40); + class40.anInt530 = 0; + int i_52_ = method1548(class40); + class40.anInt530 = class40.anInt530 << 8 | i_52_ & 0xff; + i_52_ = method1548(class40); + class40.anInt530 = class40.anInt530 << 8 | i_52_ & 0xff; + i_52_ = method1548(class40); + class40.anInt530 = class40.anInt530 << 8 | i_52_ & 0xff; + for (int i_53_ = 0; i_53_ < 16; i_53_++) { + i_51_ = method1553(class40); + class40.aBooleanArray532[i_53_] = i_51_ == 1; + } + for (int i_54_ = 0; i_54_ < 256; i_54_++) + class40.aBooleanArray523[i_54_] = false; + for (int i_55_ = 0; i_55_ < 16; i_55_++) { + if (class40.aBooleanArray532[i_55_]) { + for (int i_56_ = 0; i_56_ < 16; i_56_++) { + i_51_ = method1553(class40); + if (i_51_ == 1) class40.aBooleanArray523[(i_55_ * 16 + i_56_)] = true; + } + } + } + method1550(class40); + int i_57_ = class40.anInt541 + 2; + int i_58_ = method1545(3, class40); + int i_59_ = method1545(15, class40); + for (int i_60_ = 0; i_60_ < i_59_; i_60_++) { + int i_61_ = 0; + for (; ; ) { + i_51_ = method1553(class40); + if (i_51_ == 0) break; + i_61_++; + } + class40.aByteArray544[i_60_] = (byte) i_61_; + } + byte[] is_62_ = new byte[6]; + for (byte i_63_ = 0; i_63_ < i_58_; i_63_++) + is_62_[i_63_] = i_63_; + for (int i_64_ = 0; i_64_ < i_59_; i_64_++) { + byte i_65_ = class40.aByteArray544[i_64_]; + byte i_66_ = is_62_[i_65_]; + for (/**/; i_65_ > 0; i_65_--) + is_62_[i_65_] = is_62_[i_65_ - 1]; + is_62_[0] = i_66_; + class40.aByteArray531[i_64_] = i_66_; + } + for (int i_67_ = 0; i_67_ < i_58_; i_67_++) { + int i_68_ = method1545(5, class40); + for (int i_69_ = 0; i_69_ < i_57_; i_69_++) { + for (; ; ) { + i_51_ = method1553(class40); + if (i_51_ == 0) break; + i_51_ = method1553(class40); + if (i_51_ == 0) i_68_++; + else i_68_--; + } + class40.aByteArrayArray549[i_67_][i_69_] = (byte) i_68_; + } + } + for (int i_70_ = 0; i_70_ < i_58_; i_70_++) { + int i_71_ = 32; + byte i_72_ = 0; + for (int i_73_ = 0; i_73_ < i_57_; i_73_++) { + if (class40.aByteArrayArray549[i_70_][i_73_] > i_72_) i_72_ = (class40.aByteArrayArray549[i_70_][i_73_]); + if (class40.aByteArrayArray549[i_70_][i_73_] < i_71_) i_71_ = (class40.aByteArrayArray549[i_70_][i_73_]); + } + method1546(class40.anIntArrayArray556[i_70_], class40.anIntArrayArray553[i_70_], class40.anIntArrayArray529[i_70_], class40.aByteArrayArray549[i_70_], i_71_, i_72_, i_57_); + class40.anIntArray525[i_70_] = i_71_; + } + int i_74_ = class40.anInt541 + 1; + int i_75_ = -1; + int i_76_ = 0; + for (int i_77_ = 0; i_77_ <= 255; i_77_++) + class40.anIntArray535[i_77_] = 0; + int i_78_ = 4095; + for (int i_79_ = 15; i_79_ >= 0; i_79_--) { + for (int i_80_ = 15; i_80_ >= 0; i_80_--) { + class40.aByteArray545[i_78_] = (byte) (i_79_ * 16 + i_80_); + i_78_--; + } + class40.anIntArray540[i_79_] = i_78_ + 1; + } + int i_81_ = 0; + if (i_76_ == 0) { + i_75_++; + i_76_ = 50; + byte i_82_ = class40.aByteArray531[i_75_]; + i = class40.anIntArray525[i_82_]; + is = class40.anIntArrayArray556[i_82_]; + is_49_ = class40.anIntArrayArray529[i_82_]; + is_48_ = class40.anIntArrayArray553[i_82_]; + } + i_76_--; + int i_83_ = i; + int i_84_; + int i_85_; + for (i_85_ = method1545(i_83_, class40); i_85_ > is[i_83_]; i_85_ = i_85_ << 1 | i_84_) { + i_83_++; + i_84_ = method1553(class40); + } + int i_86_ = is_49_[i_85_ - is_48_[i_83_]]; + while (i_86_ != i_74_) { + if (i_86_ == 0 || i_86_ == 1) { + int i_87_ = -1; + int i_88_ = 1; + do { + if (i_86_ == 0) i_87_ += i_88_; + else if (i_86_ == 1) i_87_ += 2 * i_88_; + i_88_ *= 2; + if (i_76_ == 0) { + i_75_++; + i_76_ = 50; + byte i_89_ = class40.aByteArray531[i_75_]; + i = class40.anIntArray525[i_89_]; + is = class40.anIntArrayArray556[i_89_]; + is_49_ = (class40.anIntArrayArray529[i_89_]); + is_48_ = (class40.anIntArrayArray553[i_89_]); + } + i_76_--; + i_83_ = i; + for (i_85_ = method1545(i_83_, class40); i_85_ > is[i_83_]; i_85_ = i_85_ << 1 | i_84_) { + i_83_++; + i_84_ = method1553(class40); + } + i_86_ = is_49_[i_85_ - is_48_[i_83_]]; + } while (i_86_ == 0 || i_86_ == 1); + i_87_++; + i_52_ = (class40.aByteArray528[(class40.aByteArray545[class40.anIntArray540[0]]) & 0xff]); + class40.anIntArray535[i_52_ & 0xff] += i_87_; + for (/**/; i_87_ > 0; i_87_--) { + ParticleShader.anIntArray6228[i_81_] = i_52_ & 0xff; + i_81_++; + } + } else { + int i_90_ = i_86_ - 1; + if (i_90_ < 16) { + int i_91_ = class40.anIntArray540[0]; + i_51_ = class40.aByteArray545[i_91_ + i_90_]; + for (/**/; i_90_ > 3; i_90_ -= 4) { + int i_92_ = i_91_ + i_90_; + class40.aByteArray545[i_92_] = class40.aByteArray545[i_92_ - 1]; + class40.aByteArray545[i_92_ - 1] = class40.aByteArray545[i_92_ - 2]; + class40.aByteArray545[i_92_ - 2] = class40.aByteArray545[i_92_ - 3]; + class40.aByteArray545[i_92_ - 3] = class40.aByteArray545[i_92_ - 4]; + } + for (/**/; i_90_ > 0; i_90_--) + class40.aByteArray545[i_91_ + i_90_] = (class40.aByteArray545[i_91_ + i_90_ - 1]); + class40.aByteArray545[i_91_] = i_51_; + } else { + int i_93_ = i_90_ / 16; + int i_94_ = i_90_ % 16; + int i_95_ = class40.anIntArray540[i_93_] + i_94_; + i_51_ = class40.aByteArray545[i_95_]; + for (/**/; i_95_ > class40.anIntArray540[i_93_]; i_95_--) + class40.aByteArray545[i_95_] = class40.aByteArray545[i_95_ - 1]; + class40.anIntArray540[i_93_]++; + for (/**/; i_93_ > 0; i_93_--) { + class40.anIntArray540[i_93_]--; + class40.aByteArray545[class40.anIntArray540[i_93_]] = (class40.aByteArray545[(class40.anIntArray540[i_93_ - 1]) + 16 - 1]); + } + class40.anIntArray540[0]--; + class40.aByteArray545[(class40.anIntArray540[0])] = i_51_; + if (class40.anIntArray540[0] == 0) { + int i_96_ = 4095; + for (int i_97_ = 15; i_97_ >= 0; i_97_--) { + for (int i_98_ = 15; i_98_ >= 0; i_98_--) { + class40.aByteArray545[i_96_] = (class40.aByteArray545[(class40.anIntArray540[i_97_]) + i_98_]); + i_96_--; + } + class40.anIntArray540[i_97_] = i_96_ + 1; + } + } + } + class40.anIntArray535[(class40.aByteArray528[i_51_ & 0xff] & 0xff)]++; + ParticleShader.anIntArray6228[i_81_] = (class40.aByteArray528[i_51_ & 0xff] & 0xff); + i_81_++; + if (i_76_ == 0) { + i_75_++; + i_76_ = 50; + byte i_99_ = class40.aByteArray531[i_75_]; + i = class40.anIntArray525[i_99_]; + is = class40.anIntArrayArray556[i_99_]; + is_49_ = class40.anIntArrayArray529[i_99_]; + is_48_ = class40.anIntArrayArray553[i_99_]; + } + i_76_--; + i_83_ = i; + for (i_85_ = method1545(i_83_, class40); i_85_ > is[i_83_]; i_85_ = i_85_ << 1 | i_84_) { + i_83_++; + i_84_ = method1553(class40); + } + i_86_ = is_49_[i_85_ - is_48_[i_83_]]; + } + } + class40.anInt533 = 0; + class40.aByte539 = (byte) 0; + class40.anIntArray557[0] = 0; + for (int i_100_ = 1; i_100_ <= 256; i_100_++) + class40.anIntArray557[i_100_] = class40.anIntArray535[i_100_ - 1]; + for (int i_101_ = 1; i_101_ <= 256; i_101_++) + class40.anIntArray557[i_101_] += class40.anIntArray557[i_101_ - 1]; + for (int i_102_ = 0; i_102_ < i_81_; i_102_++) { + i_52_ = (byte) (ParticleShader.anIntArray6228[i_102_] & 0xff); + ParticleShader.anIntArray6228[(class40.anIntArray557[i_52_ & 0xff])] |= i_102_ << 8; + class40.anIntArray557[i_52_ & 0xff]++; + } + class40.anInt552 = (ParticleShader.anIntArray6228[class40.anInt530] >> 8); + class40.anInt555 = 0; + class40.anInt552 = ParticleShader.anIntArray6228[class40.anInt552]; + class40.anInt537 = (byte) (class40.anInt552 & 0xff); + class40.anInt552 >>= 8; + class40.anInt555++; + class40.anInt550 = i_81_; + method1549(class40); + bool_50_ = (class40.anInt555 == class40.anInt550 + 1) && class40.anInt533 == 0; + } + } + + private static final byte method1553(DisplayModeManagerContainer172 class40) { + return (byte) method1545(1, class40); + } +} diff --git a/client/components/Component188.java b/client/components/Component188.java new file mode 100644 index 000000000..bd803e7ee --- /dev/null +++ b/client/components/Component188.java @@ -0,0 +1,133 @@ +/* Component188 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component188 +/** + * RENAMED from `Class239_Sub28` (JODE-obfuscated). + * Evidence: subclass of Component339 (hierarchy) + */ extends Component339 { + static int anInt6134; + static int anInt6135; + static int anInt6136; + static int anInt6137; + static int anInt6138; + static int anInt6139; + static int anInt6140; + static int anInt6141; + static int anInt6142; + static int anInt6143; + + static final boolean method1842(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_) { + anInt6134++; + if (i_1_ != -1) return false; + if (i_3_ >= i + i_5_ || i_3_ - -i_6_ <= i_5_) return false; + return i_0_ + i_7_ > i_4_ && i_0_ < i_2_ + i_4_; + } + + static final void method1843(int i, int i_8_, DisplayModeManagerContainer57 class46, boolean bool, int i_9_) { + anInt6135++; + if (i_8_ != -326) method1844(32, -33, false, 1, false, 64, -83); + int i_10_ = class46.anInt709; + int i_11_ = class46.anInt789; + if (class46.aByte778 == 0) class46.anInt709 = class46.anInt842; + else if (class46.aByte778 != 1) { + if (class46.aByte778 == 2) class46.anInt709 = class46.anInt842 * i >> 14; + } else class46.anInt709 = -class46.anInt842 + i; + if (class46.aByte724 != 0) { + if (class46.aByte724 != 1) { + if (class46.aByte724 == 2) class46.anInt789 = class46.anInt728 * i_9_ >> 14; + } else class46.anInt789 = i_9_ - class46.anInt728; + } else class46.anInt789 = class46.anInt728; + if (class46.aByte778 == 4) class46.anInt709 = (class46.anInt789 * class46.anInt710 / class46.anInt775); + if (class46.aByte724 == 4) class46.anInt789 = (class46.anInt775 * class46.anInt709 / class46.anInt710); + if (DisplayModeManagerContainer356.aBoolean6327 && (client.method105(class46).anInt7098 != 0 || class46.anInt774 == 0)) { + if (class46.anInt789 < 5 && class46.anInt709 < 5) { + class46.anInt789 = 5; + class46.anInt709 = 5; + } else { + if (class46.anInt789 <= 0) class46.anInt789 = 5; + if (class46.anInt709 <= 0) class46.anInt709 = 5; + } + } + if (Component98.anInt5943 == class46.anInt765) NodeSub1.aClass46_6561 = class46; + if (bool && class46.anObjectArray727 != null && (i_10_ != class46.anInt709 || (i_11_ != class46.anInt789))) { + NodeSub36 class348_sub36 = new NodeSub36(); + class348_sub36.aClass46_6989 = class46; + class348_sub36.anObjectArray6987 = class46.anObjectArray727; + NodeSub1Sub2.aClass262_8810.addTail(class348_sub36, -20180); + } + } + + static final void method1844(int i, int i_12_, boolean bool, int i_13_, boolean bool_14_, int i_15_, int i_16_) { + HashNodeSub4.anInt9515 = i_13_; + Component300.anInt3550 = i_16_; + if (bool_14_ == false) { + DefinitionSub31.anInt9406 = i; + anInt6136++; + NodeSub35.anInt6981 = i_12_; + GlFramebufferTexture.anInt8537 = i_15_; + if (bool && GlFramebufferTexture.anInt8537 >= 100) { + Component317.anInt8685 = 256 + 512 * Component300.anInt3550; + WaterSurfaceShader.anInt6246 = 256 + NodeSub35.anInt6981 * 512; + DisplayModeManagerContainer50.anInt3855 = (Component300.method2064(WaterSurfaceShader.anInt6246, Component117.anInt4372, 11219, Component317.anInt8685) + -HashNodeSub4.anInt9515); + } + DefinitionSub21.cameraMode = 2; + JaclibLoader.anInt167 = ShaderLinker.anInt10163 = -1; + } + } + + Component188(NodeSub51 class348_sub51) { + super(class348_sub51); + } + + final int method1714(int i, int i_17_) { + if (i != 3) method1712(-55, 59); + anInt6139++; + return 1; + } + + Component188(int i, NodeSub51 class348_sub51) { + super(i, class348_sub51); + } + + final void method1716(boolean bool) { + if (bool != false) method1847(null, 64); + anInt6142++; + if (this.anInt3138 != 1 && this.anInt3138 != 0) this.anInt3138 = method1710(20014); + } + + final int method1710(int i) { + if (i != 20014) return 52; + anInt6138++; + return 1; + } + + final int method1845(int i) { + anInt6141++; + if (i != -32350) return -127; + return this.anInt3138; + } + + static final boolean method1846(int i, int i_18_, int i_19_) { + if (i_19_ <= 42) return true; + anInt6143++; + return DisplayModeManagerContainer347.method2075(i_18_, -126, i) | (0x40000 & i_18_) != 0 || Component224.method2056(i_18_, 122, i); + } + + static final String[] method1847(String[] strings, int i) { + anInt6140++; + String[] strings_20_ = new String[5]; + for (int i_21_ = i; i_21_ < 5; i_21_++) { + strings_20_[i_21_] = i_21_ + ": "; + if (strings != null && strings[i_21_] != null) strings_20_[i_21_] = strings_20_[i_21_] + strings[i_21_]; + } + return strings_20_; + } + + final void method1712(int i, int i_22_) { + int i_23_ = -89 / ((82 - i) / 35); + anInt6137++; + this.anInt3138 = i_22_; + } +} diff --git a/client/components/Component189.java b/client/components/Component189.java new file mode 100644 index 000000000..7d739f114 --- /dev/null +++ b/client/components/Component189.java @@ -0,0 +1,75 @@ +/* Component189 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component189 +/** + * RENAMED from {@code Class300} (JODE-obfuscated). + * Small config type with a default short, optional short array, and one extra byte. + */ { + static int anInt3815; + static int anInt3816; + /** Default short value (opcode 1). */ + int defaultValue; + static int anInt3818; + static boolean aBoolean3819 = false; + static int anInt3820; + /** Optional short array (opcode 2). */ + int[] values; + static int anInt3822; + /** Extra unsigned byte (opcode 3); default {@code -1}. */ + int paddingOpcode = -1; + static int anInt3824; + + /** Take a {@link ParticleSystem} from the pool, or allocate a new one. */ + static final ParticleSystem obtainParticleSystem(byte i) { + anInt3824++; + if (i != -103) return null; + if (Component266.anInt5980 == 0) return new ParticleSystem(); + return Component218.aClass348_Sub47Array2334[--Component266.anInt5980]; + } + + /** Friend-list index of {@code string} (case-insensitive), or {@code -1}. */ + static final int findFriendIndex(String string, int i) { + anInt3816++; + if (string == null) return -1; + if (i >= -41) return 97; + for (int i_0_ = 0; (i_0_ < DefinitionSub30.friendCount); i_0_++) { + if (string.equalsIgnoreCase(Component178.friendNames[i_0_])) return i_0_; + } + return -1; + } + + final void decode(Buffer class348_sub49, byte i) { + anInt3818++; + for (; ; ) { + int i_1_ = class348_sub49.readUnsignedByte(255); + if (i_1_ == 0) break; + decodeOpcode(0, class348_sub49, i_1_); + } + int i_2_ = -63 / ((72 - i) / 37); + } + + private final void decodeOpcode(int i, Buffer class348_sub49, int i_3_) { + if (i_3_ == 1) this.defaultValue = class348_sub49.readUnsignedShort(842397944); + else if (i_3_ == 2) { + this.values = new int[class348_sub49.readUnsignedByte(255)]; + for (int i_4_ = 0; (i_4_ < this.values.length); i_4_++) + this.values[i_4_] = class348_sub49.readUnsignedShort(842397944); + } else if (i_3_ == 3) this.paddingOpcode = class348_sub49.readUnsignedByte(255); + if (i != 0) aBoolean3819 = true; + anInt3822++; + } + + static final DisplayModeManagerContainer77 loadFromCache(int i, CacheStore class45, int i_5_, int i_6_) { + if (i_6_ != -1) aBoolean3819 = true; + anInt3815++; + byte[] is = class45.getFile(-1860, i_5_, i); + if (is == null) return null; + return new DisplayModeManagerContainer77(is); + } + + public Component189() { + this.defaultValue = -1; + } +} diff --git a/client/components/Component19.java b/client/components/Component19.java new file mode 100644 index 000000000..8f0bc8b16 --- /dev/null +++ b/client/components/Component19.java @@ -0,0 +1,282 @@ +/* Component19 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaggl.OpenGL; + +final class Component19 +/** + * RENAMED from `Class14_Sub1` (JODE-obfuscated). + * Evidence: subclass of DisplayModeManagerContainer194 (hierarchy) + */ extends DisplayModeManagerContainer194 implements Interface18_Impl3 { + private int anInt8604; + static String aString8605 = null; + static int anInt8606; + static int anInt8607; + static int anInt8608; + static int anInt8609; + static int anInt8610; + static int anInt8611; + private int anInt8612; + static int anInt8613; + static int anInt8614; + static int anInt8615; + static int anInt8616; + static int anInt8617; + static int anInt8618; + + public final float method71(byte i, float f) { + anInt8606++; + if (i >= -24) method242(false); + return f / (float) anInt8604; + } + + Component19(GlExtensionManager class377, int i, int i_0_, boolean bool, int[] is, int i_1_, int i_2_) { + super(class377, 3553, Component83.aClass304_1662, Component342.aClass68_1183, i * i_0_, bool); + try { + anInt8612 = i; + anInt8604 = i_0_; + this.aClass377_5082.method3850((byte) 79, this); + if (bool && i_2_ == 0 && i_1_ == 0) this.method233(i, i_0_, is, this.anInt5093, 255); + else { + OpenGL.glPixelStorei(3314, i_2_); + OpenGL.glTexImage2Di(this.anInt5093, 0, 6408, anInt8612, anInt8604, 0, 32993, this.aClass377_5082.anInt9918, is, 4 * i_1_); + OpenGL.glPixelStorei(3314, 0); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bm.(" + (class377 != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + bool + ',' + (is != null ? "{...}" : "null") + ',' + i_1_ + ',' + i_2_ + ')')); + } + } + + static final void method239(byte i, int i_3_, int i_4_, DisplayModeManagerContainer57 class46) { + anInt8610++; + if (class46.aByte817 != 0) { + if (class46.aByte817 == 1) class46.anInt800 = ((-class46.anInt709 + i_3_) / 2 + class46.anInt788); + else if (class46.aByte817 != 2) { + if (class46.aByte817 != 3) { + if (class46.aByte817 != 4) class46.anInt800 = (-class46.anInt709 + i_3_ + -(i_3_ * class46.anInt788 >> 14)); + else class46.anInt800 = ((-class46.anInt709 + i_3_) / 2 - -(i_3_ * class46.anInt788 >> 14)); + } else class46.anInt800 = i_3_ * class46.anInt788 >> 14; + } else class46.anInt800 = (-class46.anInt788 + (-class46.anInt709 + i_3_)); + } else class46.anInt800 = class46.anInt788; + int i_5_ = 83 % ((i - 50) / 50); + if (class46.aByte681 != 0) { + if (class46.aByte681 == 1) class46.anInt750 = ((i_4_ + -class46.anInt789) / 2 - -class46.anInt739); + else if (class46.aByte681 == 2) class46.anInt750 = (i_4_ - class46.anInt789 - class46.anInt739); + else if (class46.aByte681 != 3) { + if (class46.aByte681 != 4) class46.anInt750 = (-(i_4_ * class46.anInt739 >> 14) + (i_4_ + -class46.anInt789)); + else class46.anInt750 = ((i_4_ * class46.anInt739 >> 14) + (-class46.anInt789 + i_4_) / 2); + } else class46.anInt750 = class46.anInt739 * i_4_ >> 14; + } else class46.anInt750 = class46.anInt739; + if (DisplayModeManagerContainer356.aBoolean6327 && (client.method105(class46).anInt7098 != 0 || class46.anInt774 == 0)) { + if (class46.anInt750 < 0) class46.anInt750 = 0; + else if (i_4_ < (class46.anInt789 + class46.anInt750)) class46.anInt750 = i_4_ - class46.anInt789; + if (class46.anInt800 >= 0) { + if (i_3_ < (class46.anInt800 - -class46.anInt709)) class46.anInt800 = i_3_ + -class46.anInt709; + } else class46.anInt800 = 0; + } + } + + Component19(GlExtensionManager class377, DisplayModeManagerContainer42 class304, int i, int i_6_, boolean bool, byte[] is, int i_7_, int i_8_) { + super(class377, 3553, class304, Component342.aClass68_1183, i_6_ * i, bool); + try { + anInt8612 = i; + anInt8604 = i_6_; + this.aClass377_5082.method3850((byte) -102, this); + OpenGL.glPixelStorei(3317, 1); + if (!bool || i_8_ != 0 || i_7_ != 0) { + OpenGL.glPixelStorei(3314, i_8_); + OpenGL.glTexImage2Dub(this.anInt5093, 0, this.method228(109), i, i_6_, 0, (ParametricDefinition.method3055(121, this.aClass304_5084)), 5121, is, i_7_); + OpenGL.glPixelStorei(3314, 0); + } else this.method230(7365, i, is, i_6_, this.anInt5093); + OpenGL.glPixelStorei(3317, 4); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bm.(" + (class377 != null ? "{...}" : "null") + ',' + (class304 != null ? "{...}" : "null") + ',' + i + ',' + i_6_ + ',' + bool + ',' + (is != null ? "{...}" : "null") + ',' + i_7_ + ',' + i_8_ + ')')); + } + } + + public final float method67(float f, int i) { + anInt8611++; + if (i <= 69) method72(84); + return f / (float) anInt8612; + } + + final void method240(int i, byte i_9_, float[] fs, DisplayModeManagerContainer42 class304, int i_10_, int i_11_, int i_12_, int i_13_, int i_14_) { + try { + int i_15_ = 108 / ((-45 - i_9_) / 49); + anInt8614++; + this.aClass377_5082.method3850((byte) -106, this); + OpenGL.glPixelStorei(3314, i); + OpenGL.glTexSubImage2Df(this.anInt5093, 0, i_12_, i_10_, i_13_, i_14_, ParametricDefinition.method3055(106, class304), 5121, fs, i_11_); + OpenGL.glPixelStorei(3314, 0); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bm.CA(" + i + ',' + i_9_ + ',' + (fs != null ? "{...}" : "null") + ',' + (class304 != null ? "{...}" : "null") + ',' + i_10_ + ',' + i_11_ + ',' + i_12_ + ',' + i_13_ + ',' + i_14_ + ')')); + } + } + + static final void method241(byte i) { + anInt8617++; + int i_16_ = NodeSub35.anInt6981 * 512 + 256; + int i_17_ = 512 * Component300.anInt3550 + 256; + int i_18_ = (Component300.method2064(i_16_, Component117.anInt4372, 11219, i_17_) + -HashNodeSub4.anInt9515); + if (GlFramebufferTexture.anInt8537 >= 100) { + Component317.anInt8685 = 256 + 512 * Component300.anInt3550; + WaterSurfaceShader.anInt6246 = NodeSub35.anInt6981 * 512 + 256; + DisplayModeManagerContainer50.anInt3855 = (Component300.method2064(WaterSurfaceShader.anInt6246, Component117.anInt4372, 11219, Component317.anInt8685) + -HashNodeSub4.anInt9515); + } else { + if (WaterSurfaceShader.anInt6246 < i_16_) { + WaterSurfaceShader.anInt6246 += (DefinitionSub31.anInt9406 + (GlFramebufferTexture.anInt8537 * (i_16_ + -WaterSurfaceShader.anInt6246) / 1000)); + if (i_16_ < WaterSurfaceShader.anInt6246) WaterSurfaceShader.anInt6246 = i_16_; + } + if (WaterSurfaceShader.anInt6246 > i_16_) { + WaterSurfaceShader.anInt6246 -= (DefinitionSub31.anInt9406 - -(GlFramebufferTexture.anInt8537 * (-i_16_ + WaterSurfaceShader.anInt6246) / 1000)); + if (WaterSurfaceShader.anInt6246 < i_16_) WaterSurfaceShader.anInt6246 = i_16_; + } + if (DisplayModeManagerContainer50.anInt3855 < i_18_) { + DisplayModeManagerContainer50.anInt3855 += ((-DisplayModeManagerContainer50.anInt3855 + i_18_) * GlFramebufferTexture.anInt8537 / 1000) + DefinitionSub31.anInt9406; + if (i_18_ < DisplayModeManagerContainer50.anInt3855) DisplayModeManagerContainer50.anInt3855 = i_18_; + } + if (Component317.anInt8685 < i_17_) { + Component317.anInt8685 += (DefinitionSub31.anInt9406 - -((i_17_ + -Component317.anInt8685) * GlFramebufferTexture.anInt8537 / 1000)); + if (Component317.anInt8685 > i_17_) Component317.anInt8685 = i_17_; + } + if (i_18_ < DisplayModeManagerContainer50.anInt3855) { + DisplayModeManagerContainer50.anInt3855 -= ((DisplayModeManagerContainer50.anInt3855 - i_18_) * GlFramebufferTexture.anInt8537 / 1000) + DefinitionSub31.anInt9406; + if (i_18_ > DisplayModeManagerContainer50.anInt3855) DisplayModeManagerContainer50.anInt3855 = i_18_; + } + if (Component317.anInt8685 > i_17_) { + Component317.anInt8685 -= (DefinitionSub31.anInt9406 + ((Component317.anInt8685 - i_17_) * GlFramebufferTexture.anInt8537 / 1000)); + if (i_17_ > Component317.anInt8685) Component317.anInt8685 = i_17_; + } + } + i_17_ = 256 + Component337.anInt3647 * 512; + i_16_ = 256 + 512 * Component48.anInt4336; + i_18_ = (Component300.method2064(i_16_, Component117.anInt4372, 11219, i_17_) - Component221.anInt1797); + int i_19_ = -WaterSurfaceShader.anInt6246 + i_16_; + int i_20_ = -DisplayModeManagerContainer50.anInt3855 + i_18_; + int i_21_ = -Component317.anInt8685 + i_17_; + int i_22_ = (int) Math.sqrt(i_19_ * i_19_ - -(i_21_ * i_21_)); + int i_23_ = ((int) (Math.atan2(i_20_, i_22_) * 2607.5945876176133) & 0x3fff); + if (i < 126) aString8605 = null; + if (i_23_ < 1024) i_23_ = 1024; + int i_24_ = 0x3fff & (int) (-2607.5945876176133 * Math.atan2(i_19_, i_21_)); + if (i_23_ > 3072) i_23_ = 3072; + if (i_23_ > HashNodeSub19.anInt9701) { + HashNodeSub19.anInt9701 += (Component205.anInt5973 * (i_23_ - HashNodeSub19.anInt9701 >> 3) / 1000) + OpenGlShader.anInt7403 << 3; + if (i_23_ < HashNodeSub19.anInt9701) HashNodeSub19.anInt9701 = i_23_; + } + if (HashNodeSub19.anInt9701 > i_23_) { + HashNodeSub19.anInt9701 -= (((-i_23_ + HashNodeSub19.anInt9701 >> 3) * Component205.anInt5973 / 1000) + OpenGlShader.anInt7403) << 3; + if (HashNodeSub19.anInt9701 < i_23_) HashNodeSub19.anInt9701 = i_23_; + } + int i_25_ = -Component298.anInt4638 + i_24_; + if (i_25_ > 8192) i_25_ -= 16384; + if (i_25_ < -8192) i_25_ += 16384; + i_25_ >>= 3; + if (i_25_ > 0) { + Component298.anInt4638 += (OpenGlShader.anInt7403 + Component205.anInt5973 * i_25_ / 1000) << 3; + Component298.anInt4638 &= 0x3fff; + } + if (i_25_ < 0) { + Component298.anInt4638 -= OpenGlShader.anInt7403 - -(-i_25_ * Component205.anInt5973 / 1000) << 3; + Component298.anInt4638 &= 0x3fff; + } + int i_26_ = i_24_ - Component298.anInt4638; + if (i_26_ > 8192) i_26_ -= 16384; + if (i_26_ < -8192) i_26_ += 16384; + Component103.anInt4186 = 0; + if (i_26_ < 0 && i_25_ > 0 || i_26_ > 0 && i_25_ < 0) Component298.anInt4638 = i_24_; + } + + public final void method70(int i, int i_27_, byte i_28_, int i_29_, int i_30_, int i_31_, int i_32_, byte[] is, DisplayModeManagerContainer42 class304) { + try { + anInt8608++; + this.aClass377_5082.method3850((byte) -24, this); + OpenGL.glPixelStorei(3317, 1); + OpenGL.glPixelStorei(3314, i_29_); + OpenGL.glTexSubImage2Dub(this.anInt5093, 0, i_32_, i, i_31_, i_30_, ParametricDefinition.method3055(103, class304), 5121, is, i_27_); + if (i_28_ >= -4) anInt8612 = 33; + OpenGL.glPixelStorei(3314, 0); + OpenGL.glPixelStorei(3317, 4); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bm.T(" + i + ',' + i_27_ + ',' + i_28_ + ',' + i_29_ + ',' + i_30_ + ',' + i_31_ + ',' + i_32_ + ',' + (is != null ? "{...}" : "null") + ',' + (class304 != null ? "{...}" : "null") + ')')); + } + } + + public final void method65(int i, int[] is, int i_33_, int i_34_, int i_35_, byte i_36_, int i_37_) { + anInt8613++; + int[] is_38_ = new int[anInt8612 * anInt8604]; + this.aClass377_5082.method3850((byte) -32, this); + OpenGL.glGetTexImagei(this.anInt5093, 0, 32993, 5121, is_38_, 0); + if (i_36_ == 112) { + for (int i_39_ = 0; i_35_ > i_39_; i_39_++) + Component313.method1578(is_38_, ((-i_39_ + i_35_ + (-1 + i_34_)) * anInt8612), is, i_33_ * i_39_ + i_37_, i_33_); + } + } + + public final int method69(boolean bool) { + anInt8607++; + if (bool != false) return -121; + return anInt8612; + } + + public final int method72(int i) { + anInt8609++; + int i_40_ = -48 / ((55 - i) / 63); + return anInt8604; + } + + public final boolean method73(int i) { + anInt8618++; + return i >= 84; + } + + public static void method242(boolean bool) { + if (bool == true) aString8605 = null; + } + + public final void method68(int i, int i_41_, int[] is, int i_42_, int i_43_, int i_44_, int i_45_, int i_46_) { + this.aClass377_5082.method3850((byte) -116, this); + if (i_41_ != 22809) aString8605 = null; + anInt8616++; + OpenGL.glPixelStorei(3314, i); + OpenGL.glTexSubImage2Di(this.anInt5093, 0, i_42_, i_45_, i_44_, i_46_, 32993, (this.aClass377_5082.anInt9918), is, i_43_); + OpenGL.glPixelStorei(3314, 0); + } + + Component19(GlExtensionManager class377, DisplayModeManagerContainer42 class304, Component342 class68, int i, int i_47_) { + super(class377, 3553, class304, class68, i_47_ * i, false); + try { + anInt8612 = i; + anInt8604 = i_47_; + this.aClass377_5082.method3850((byte) 110, this); + OpenGL.glTexImage2Dub(this.anInt5093, 0, this.method228(113), i, i_47_, 0, ParametricDefinition.method3055(113, this.aClass304_5084), Component387.method1128(-112, this.aClass68_5088), null, 0); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bm.(" + (class377 != null ? "{...}" : "null") + ',' + (class304 != null ? "{...}" : "null") + ',' + (class68 != null ? "{...}" : "null") + ',' + i + ',' + i_47_ + ')')); + } + } + + public final void method66(boolean bool, boolean bool_48_, int i) { + this.aClass377_5082.method3850((byte) -29, this); + anInt8615++; + OpenGL.glTexParameteri(this.anInt5093, 10242, !bool ? 33071 : 10497); + OpenGL.glTexParameteri(this.anInt5093, 10243, !bool_48_ ? 33071 : 10497); + if (i != 25688) anInt8604 = -90; + } + + Component19(GlExtensionManager class377, DisplayModeManagerContainer42 class304, int i, int i_49_, boolean bool, float[] fs, int i_50_, int i_51_) { + super(class377, 3553, class304, Component342.aClass68_1187, i * i_49_, bool); + try { + anInt8612 = i; + anInt8604 = i_49_; + this.aClass377_5082.method3850((byte) -67, this); + if (bool || i_51_ != 0 || i_50_ != 0) { + OpenGL.glPixelStorei(3314, i_51_); + OpenGL.glTexImage2Df(this.anInt5093, 0, this.method228(111), i, i_49_, 0, (ParametricDefinition.method3055(106, this.aClass304_5084)), 5126, fs, 4 * i_50_); + OpenGL.glPixelStorei(3314, 0); + } else this.method238(this.anInt5093, 1, i, fs, i_49_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bm.(" + (class377 != null ? "{...}" : "null") + ',' + (class304 != null ? "{...}" : "null") + ',' + i + ',' + i_49_ + ',' + bool + ',' + (fs != null ? "{...}" : "null") + ',' + i_50_ + ',' + i_51_ + ')')); + } + } +} diff --git a/client/components/Component191.java b/client/components/Component191.java new file mode 100644 index 000000000..c1aceea8d --- /dev/null +++ b/client/components/Component191.java @@ -0,0 +1,138 @@ +/* Component191 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component191 +/** + * RENAMED from `Class183` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2457; + private final NodeCache aClass60_2458 = new NodeCache(128); + static int anInt2459; + static int anInt2460; + private final CacheStore aClass45_2461; + static AudioMixer aClass250_2462; + static int anInt2463; + static int anInt2464; + static int anInt2465; + static int[] anIntArray2466 = new int[14]; + static int anInt2467; + + static final void method1376(RenderableObject class318_sub1) { + if (class318_sub1 != null) { + for (int i = 0; i < 2; i++) { + RenderableObject class318_sub1_0_ = null; + for (RenderableObject class318_sub1_1_ = Node.aClass318_Sub1Array4293[i]; class318_sub1_1_ != null; class318_sub1_1_ = (class318_sub1_1_.aClass318_Sub1_6379)) { + if (class318_sub1_1_ == class318_sub1) { + if (class318_sub1_0_ != null) class318_sub1_0_.aClass318_Sub1_6379 = (class318_sub1_1_.aClass318_Sub1_6379); + else Node.aClass318_Sub1Array4293[i] = (class318_sub1_1_.aClass318_Sub1_6379); + NodeSub16Sub2.aBoolean8870 = true; + return; + } + class318_sub1_0_ = class318_sub1_1_; + } + class318_sub1_0_ = null; + for (RenderableObject class318_sub1_2_ = AudioMixer.aClass318_Sub1Array3226[i]; class318_sub1_2_ != null; class318_sub1_2_ = (class318_sub1_2_.aClass318_Sub1_6379)) { + if (class318_sub1_2_ == class318_sub1) { + if (class318_sub1_0_ != null) class318_sub1_0_.aClass318_Sub1_6379 = (class318_sub1_2_.aClass318_Sub1_6379); + else AudioMixer.aClass318_Sub1Array3226[i] = (class318_sub1_2_.aClass318_Sub1_6379); + NodeSub16Sub2.aBoolean8870 = true; + return; + } + class318_sub1_0_ = class318_sub1_2_; + } + class318_sub1_0_ = null; + for (RenderableObject class318_sub1_3_ = Component95.aClass318_Sub1Array1754[i]; class318_sub1_3_ != null; class318_sub1_3_ = (class318_sub1_3_.aClass318_Sub1_6379)) { + if (class318_sub1_3_ == class318_sub1) { + if (class318_sub1_0_ != null) class318_sub1_0_.aClass318_Sub1_6379 = (class318_sub1_3_.aClass318_Sub1_6379); + else Component95.aClass318_Sub1Array1754[i] = (class318_sub1_3_.aClass318_Sub1_6379); + NodeSub16Sub2.aBoolean8870 = true; + return; + } + class318_sub1_0_ = class318_sub1_3_; + } + } + } + } + + final void method1377(int i) { + anInt2457++; + if (i != 2) method1376(null); + synchronized (aClass60_2458) { + aClass60_2458.method587(-125); + } + } + + public static void method1378(int i) { + aClass250_2462 = null; + anIntArray2466 = null; + if (i != 14) method1382(99, -102); + } + + static final boolean method1379(int i, int i_4_, int i_5_) { + anInt2459++; + if (i != 4) return true; + return (CacheNode.method3194(i_5_, i_4_, (byte) 126) & RadixText.method1837(i_4_, 46, i_5_)); + } + + final Component231 method1380(boolean bool, int i) { + anInt2460++; + if (bool != true) return null; + Component231 class22; + synchronized (aClass60_2458) { + class22 = (Component231) aClass60_2458.get(i, 77); + } + if (class22 != null) return class22; + byte[] is; + synchronized (aClass45_2461) { + is = aClass45_2461.getFile(-1860, 1, i); + } + class22 = new Component231(); + if (is != null) class22.method290(new Buffer(is), -1); + synchronized (aClass60_2458) { + aClass60_2458.putOne(class22, i, (byte) -124); + } + return class22; + } + + final void method1381(boolean bool) { + synchronized (aClass60_2458) { + if (bool != true) method1382(-96, 76); + aClass60_2458.clear(0); + } + anInt2465++; + } + + static final int method1382(int i, int i_6_) { + anInt2463++; + if (i != 6406) { + if (i != 6409) { + if (i == 32841) return 1; + if (i != 6410) { + if (i == 6407) return 3; + if (i == 6408) return 4; + } else return 2; + } else return 1; + } else return 1; + if (i_6_ != -6409) anIntArray2466 = null; + throw new IllegalArgumentException(""); + } + + final void method1383(int i, int i_7_) { + anInt2467++; + synchronized (aClass60_2458) { + aClass60_2458.processSoftEntries(2, i_7_); + } + if (i != 32841) anInt2464 = 86; + } + + Component191(GameType class230, int i, CacheStore class45) { + try { + aClass45_2461 = class45; + aClass45_2461.getFileCount(0, 1); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qe.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/components/Component192.java b/client/components/Component192.java new file mode 100644 index 000000000..f0b373f83 --- /dev/null +++ b/client/components/Component192.java @@ -0,0 +1,132 @@ +/* Component192 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component192 +/** + * RENAMED from `Class316` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3958; + static NodeSub51 aClass348_Sub51_3959; + static int anInt3960; + /** Open-addressed hash → id pairs for archive names. */ + private final int[] buckets; + static int anInt3962; + /** + * Left-click / tip menu row — the action that fires when the user clicks + * without opening the full menu. Set in {@link DisplayModeManagerContainer1#updateMenuTip}; + * consumed by {@link Component272#method1731} → {@link ColoredTextBuilder#processMenuAction}. + * Microbot forces this to {@link Microbot#targetMenu} when injecting. + */ + static MenuEntry menuTip; + static int anInt3964; + static int anInt3965; + static int anInt3966; + + /** Open the in-game developer console when available. */ + static final void openDevConsole(int i) { + if (i <= -39) { + anInt3958++; + if (Component300.method2066((byte) 106)) { + if (ArbShaderProgram.consoleLines == null) DisplayModeManagerContainer288.initDevConsole(2); + Component39.consoleFadeAlpha = 0; + StringCache.devConsoleOpen = true; + } + } + } + + /** Plot a cubic Bezier segment (12.12 fixed) via {@link NewsFetcher#method2665}. */ + static final void drawBezier(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_) { + if (i_7_ == 3) { + if (i_3_ != i_1_ || i_2_ != i_6_ || i_5_ != i_0_ || i_8_ != i_4_) { + int i_9_ = i_1_; + int i_10_ = i_6_; + int i_11_ = i_1_ * 3; + int i_12_ = 3 * i_6_; + int i_13_ = i_3_ * 3; + int i_14_ = 3 * i_2_; + int i_15_ = 3 * i_0_; + int i_16_ = i_4_ * 3; + int i_17_ = -i_1_ + (i_13_ + i_5_) + -i_15_; + int i_18_ = -i_6_ + (i_8_ + (-i_16_ - -i_14_)); + int i_19_ = -i_13_ + -i_13_ + (i_15_ + i_11_); + int i_20_ = i_12_ + -i_14_ + (i_16_ - i_14_); + int i_21_ = -i_11_ + i_13_; + int i_22_ = -i_12_ + i_14_; + for (int i_23_ = 128; i_23_ <= 4096; i_23_ += 128) { + int i_24_ = i_23_ * i_23_ >> 12; + int i_25_ = i_24_ * i_23_ >> 12; + int i_26_ = i_17_ * i_25_; + int i_27_ = i_18_ * i_25_; + int i_28_ = i_19_ * i_24_; + int i_29_ = i_24_ * i_20_; + int i_30_ = i_23_ * i_21_; + int i_31_ = i_22_ * i_23_; + int i_32_ = i_1_ - -(i_26_ - (-i_28_ + -i_30_) >> 12); + int i_33_ = i_6_ - -(i_29_ + (i_27_ - -i_31_) >> 12); + NewsFetcher.method2665(i_9_, (byte) 109, i, i_10_, i_33_, i_32_); + i_9_ = i_32_; + i_10_ = i_33_; + } + } else NewsFetcher.method2665(i_1_, (byte) 73, i, i_6_, i_8_, i_5_); + anInt3964++; + } + } + + Component192(int[] is) { + int i; + for (i = 1; is.length - -(is.length >> 1) >= i; i <<= 1) { + /* empty */ + } + buckets = new int[i + i]; + for (int i_34_ = 0; i_34_ < i + i; i_34_++) + buckets[i_34_] = -1; + for (int i_35_ = 0; is.length > i_35_; i_35_++) { + int i_36_; + for (i_36_ = is[i_35_] & -1 + i; buckets[i_36_ - -i_36_ - -1] != -1; i_36_ = -1 + i & 1 + i_36_) { + /* empty */ + } + buckets[i_36_ + i_36_] = is[i_35_]; + buckets[i_36_ - (-i_36_ + -1)] = i_35_; + } + } + + /** Name-table lookup: hash → child id, or {@code -1}. */ + final int lookup(int i, int i_37_) { + anInt3960++; + if (i != 1) lookup(-74, 111); + int i_38_ = -1 + (buckets.length >> 1); + int i_39_ = i_38_ & i_37_; + for (; ; ) { + int i_40_ = buckets[i_39_ + i_39_ - -1]; + if (i_40_ == -1) return -1; + if (i_37_ == buckets[i_39_ + i_39_]) return i_40_; + i_39_ = i_38_ & 1 + i_39_; + } + } + + public static void clearStatics(boolean bool) { + menuTip = null; + aClass348_Sub51_3959 = null; + if (bool != true) clearSoftCache(46); + } + + /** Format a menu row as {@code option -> target -> extraTarget} with localized separators. */ + static final String formatMenuEntry(byte i, MenuEntry class348_sub42_sub12) { + anInt3962++; + int i_41_ = 9 / ((79 - i) / 46); + if (class348_sub42_sub12.extraTarget == null || class348_sub42_sub12.extraTarget.length() == 0) { + if ((class348_sub42_sub12.target == null) || class348_sub42_sub12.target.length() <= 0) return (class348_sub42_sub12.option); + return (class348_sub42_sub12.option + FriendsIgnoreList.aClass274_3515.getLocalized(ObjectDeserializer.languageId, 544) + (class348_sub42_sub12.target)); + } + if (class348_sub42_sub12.target == null || class348_sub42_sub12.target.length() <= 0) return (class348_sub42_sub12.option + FriendsIgnoreList.aClass274_3515.getLocalized(ObjectDeserializer.languageId, 544) + (class348_sub42_sub12.extraTarget)); + return (class348_sub42_sub12.option + FriendsIgnoreList.aClass274_3515.getLocalized(ObjectDeserializer.languageId, 544) + class348_sub42_sub12.target + FriendsIgnoreList.aClass274_3515.getLocalized(ObjectDeserializer.languageId, 544) + class348_sub42_sub12.extraTarget); + } + + static final void clearSoftCache(int i) { + Component279.aClass60_225.clear(0); + anInt3965++; + if (i != -1) aClass348_Sub51_3959 = null; + } +} diff --git a/client/components/Component193.java b/client/components/Component193.java new file mode 100644 index 000000000..bd8ee4ffb --- /dev/null +++ b/client/components/Component193.java @@ -0,0 +1,84 @@ +/* Component193 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component193 +/** + * RENAMED from `Class253` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt3244; + int anInt3245 = 0; + static int anInt3246 = 0; + static int anInt3247; + /** Priority for the audio mixer thread ({@link ReflectionInvoker#startThread}). */ + static int audioThreadPriority; + int anInt3249; + static int anInt3250; + int anInt3251; + static int anInt3252; + static int anInt3253; + static int anInt3254; + static int anInt3255; + + static final void method1919(int i, float f, byte[] is, float f_0_, int i_1_, float f_2_, DisplayModeManagerContainer51 class186, float f_3_, int i_4_, byte i_5_, int i_6_, float f_7_, int i_8_) { + try { + int i_9_ = 0; + if (i_5_ < 11) method1919(97, -1.4756906F, null, 0.7518226F, 93, -0.33127537F, null, -0.6670833F, 25, (byte) -96, 123, -1.8054857F, 43); + for (/**/; i_9_ < i_6_; i_9_++) { + Player.method2460(f, i_1_, f_0_, i_4_, i, f_7_, class186, i_9_, (byte) 30, i_8_, f_3_, is, i_6_, f_2_); + i_1_ += i * i_8_; + } + anInt3250++; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("u.B(" + i + ',' + f + ',' + (is != null ? "{...}" : "null") + ',' + f_0_ + ',' + i_1_ + ',' + f_2_ + ',' + (class186 != null ? "{...}" : "null") + ',' + f_3_ + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + f_7_ + ',' + i_8_ + ')')); + } + } + + static final int method1920(int i, int i_10_) { + if (i != 127) return -32; + anInt3252++; + return 0x7f & i_10_; + } + + final void method1921(byte i, Buffer class348_sub49) { + if (i != -69) method1923(-117, -120, null); + anInt3255++; + for (; ; ) { + int i_11_ = class348_sub49.readUnsignedByte(255); + if (i_11_ == 0) break; + method1923(i_11_, 4, class348_sub49); + } + } + + static final void method1922(String string, int i, String string_12_, boolean bool) { + try { + if (bool == true) { + anInt3247++; + RuntimeException_Sub1.anInt4596 = i; + Component205.anInt5969 = 2; + Component72.method1138(string_12_, false, string, (byte) -45); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("u.E(" + (string != null ? "{...}" : "null") + ',' + i + ',' + (string_12_ != null ? "{...}" : "null") + ',' + bool + ')')); + } + } + + private final void method1923(int i, int i_13_, Buffer class348_sub49) { + anInt3254++; + if (i_13_ == 4) { + if (i != 1) { + if (i != 2) { + if (i == 3) this.anInt3244 = class348_sub49.readUnsignedShort(i_13_ ^ 0x3235f8fc); + else if (i == 4) this.anInt3251 = class348_sub49.readShort(13638); + } else this.anInt3249 = class348_sub49.readUnsignedShort(i_13_ + 842397940); + } else this.anInt3245 = class348_sub49.readUnsignedByte(255); + } + } + + public Component193() { + this.anInt3244 = 2048; + this.anInt3249 = 2048; + this.anInt3251 = 0; + } +} diff --git a/client/components/Component195.java b/client/components/Component195.java new file mode 100644 index 000000000..a0c028d44 --- /dev/null +++ b/client/components/Component195.java @@ -0,0 +1,122 @@ +/* Component195 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component195 +/** + * RENAMED from `Class195` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ implements Interface16 { + static int anInt5003; + static int anInt5004; + static int anInt5005; + private final DisplayModeManagerContainer260 aClass287_5006; + static int[] anIntArray5007 = new int[4]; + static int anInt5008; + static int anInt5009; + private GraphicsToolkit aHa5010; + private boolean aBoolean5011; + private final Interface1[] anInterface1Array5012; + static boolean aBoolean5013 = false; + static int anInt5014; + static StringCache aClass351_5015; + static int anInt5016 = 0; + static ReflectionInvoker aClass297_5017; + static int anInt5018; + static int anInt5019; + + public static void method1447(int i) { + if (i == 76) { + anIntArray5007 = null; + aClass297_5017 = null; + aClass351_5015 = null; + } + } + + static final void method1448(int i) { + anInt5003++; + if (i <= -55) ImageDefinition.aMenuEntry_9144 = new MenuEntry((FriendsIgnoreList.aClass274_3487.getLocalized(ObjectDeserializer.languageId, 544)), "", Component149.anInt4458, 1004, -1, 0L, 0, 0, true, false, 0L, true); + } + + public final void method57(int i) { + anInt5004++; + if (aHa5010 != NodeSub8.toolkit) { + aHa5010 = NodeSub8.toolkit; + aBoolean5011 = true; + } + aHa5010.GA(0); + Interface1[] interface1s = anInterface1Array5012; + for (int i_0_ = 0; interface1s.length > i_0_; i_0_++) { + Interface1 interface1 = interface1s[i_0_]; + if (interface1 != null) interface1.method7(10286); + } + if (i <= 84) method56((byte) 2, 40L); + } + + public final void method58(boolean bool, int i) { + anInt5018++; + bool = true; + Interface1[] interface1s = anInterface1Array5012; + for (int i_1_ = 0; interface1s.length > i_1_; i_1_++) { + Interface1 interface1 = interface1s[i_1_]; + if (interface1 != null) interface1.method9((byte) -49, bool || aBoolean5011); + } + if (i > -69) method1447(-38); + aBoolean5011 = false; + } + + public final void method59(int i) { + anInt5008++; + if (i != -9719) aClass351_5015 = null; + } + + public final int method55(byte i) { + anInt5009++; + if (i != -58) method58(false, -122); + return aClass287_5006.anInt3687; + } + + static final Component3 method1449(int i, int i_2_, int i_3_) { + Component186 class357 = Component335.aClass357ArrayArrayArray2029[i][i_2_][i_3_]; + if (class357 == null) return null; + return class357.aClass148_4396; + } + + public final boolean method56(byte i, long l) { + try { + anInt5005++; + if (i < 30) method1449(-81, 10, -115); + return l - -(long) aClass287_5006.anInt3690 <= Component240.currentTimeMillis(-97); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "qt.I(" + i + ',' + l + ')'); + } + } + + Component195(DisplayModeManagerContainer260 class287, KeyStoreLoader class106) { + try { + aClass287_5006 = class287; + anInterface1Array5012 = new Interface1[(aClass287_5006.anInterface12Array3688).length]; + for (int i = 0; (i < anInterface1Array5012.length); i++) + anInterface1Array5012[i] = class106.createProvider(true, (aClass287_5006.anInterface12Array3688[i])); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qt.(" + (class287 != null ? "{...}" : "null") + ',' + (class106 != null ? "{...}" : "null") + ')')); + } + } + + public final int method60(int i) { + if (i != -19079) method58(false, 116); + anInt5014++; + int i_4_ = 0; + Interface1[] interface1s = anInterface1Array5012; + for (int i_5_ = 0; interface1s.length > i_5_; i_5_++) { + Interface1 interface1 = interface1s[i_5_]; + if (interface1 == null || interface1.method8((byte) -121)) i_4_++; + } + return i_4_ * 100 / anInterface1Array5012.length; + } + + static { + aClass351_5015 = new StringCache(76, 4); + anInt5019 = 0; + } +} diff --git a/client/components/Component197.java b/client/components/Component197.java new file mode 100644 index 000000000..65ce5911c --- /dev/null +++ b/client/components/Component197.java @@ -0,0 +1,252 @@ +/* Component197 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component197 +/** + * RENAMED from `Class318_Sub1_Sub4_Sub1` (JODE-obfuscated). + * Evidence: subclass of Component269 (hierarchy) + */ extends Component269 implements Interface10 { + private byte aByte10062; + static int anInt10063; + private final boolean aBoolean10064; + static int anInt10065; + private boolean aBoolean10066; + static int anInt10067; + static int anInt10068; + static int anInt10069; + static int anInt10070; + DisplayModeManagerContainer370 aClass64_10071; + static int anInt10072; + static int anInt10073; + static int anInt10074; + static int anInt10075; + private final boolean aBoolean10076; + static int anInt10077; + static int anInt10078; + private byte aByte10079; + static int anInt10080; + private short aShort10081; + private ComponentDownloader aClass30_10082; + static int anInt10083; + static int anInt10084; + static int anInt10085; + static int anInt10086; + static int anInt10087; + static int anInt10088; + static int anInt10089; + private boolean aBoolean10090; + static int anInt10091; + static int anInt10092; + static int anInt10093; + private r aR10094; + + Component197(GraphicsToolkit var_ha, Component44 class51, int i, int i_0_, int i_1_, int i_2_, int i_3_, boolean bool, int i_4_, int i_5_, boolean bool_6_) { + super(i_1_, i_2_, i_3_, i, i_0_, ShaderProgramSub9.method2175(i_5_, (byte) -34, i_4_)); + do { + try { + aShort10081 = (short) class51.anInt941; + aBoolean10066 = bool; + aBoolean10090 = bool_6_; + this.x = i_1_; + aBoolean10076 = (class51.anInt874 != 0 && !bool); + this.y = i_3_; + aByte10079 = (byte) i_4_; + aByte10062 = (byte) i_5_; + aBoolean10064 = (var_ha.method3682() && class51.aBoolean894 && !aBoolean10066 && Component192.aClass348_Sub51_3959.aClass239_Sub7_7238.method1748(-32350) != 0); + int i_7_ = 2048; + if (aBoolean10090) i_7_ |= 0x10000; + Component245 class2 = method2481(aBoolean10064, i_7_, -4, var_ha); + if (class2 == null) break; + aR10094 = class2.aR118; + this.aClass64_10071 = class2.aClass64_119; + if (!aBoolean10090) break; + this.aClass64_10071 = this.aClass64_10071.method614((byte) 0, i_7_, false); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ge.(" + (var_ha != null ? "{...}" : "null") + ',' + (class51 != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + i_1_ + ',' + i_2_ + ',' + i_3_ + ',' + bool + ',' + i_4_ + ',' + i_5_ + ',' + bool_6_ + ')')); + } + break; + } while (false); + } + + public final int method39(int i) { + anInt10080++; + int i_8_ = 69 % ((i - -91) / 35); + return aByte10079; + } + + public final void method40(int i) { + anInt10077++; + if (this.aClass64_10071 != null) this.aClass64_10071.method612(); + if (i != -12031) method38(-122); + } + + final boolean method2391(GraphicsToolkit var_ha, int i, int i_9_, int i_10_) { + anInt10070++; + DisplayModeManagerContainer370 class64 = method2482(var_ha, (byte) 126, 131072); + if (i_10_ != 0) method41(-96); + if (class64 != null) { + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + class101.method894(this.x, this.anInt6382, this.y); + if (DisplayModeManagerContainer50.aBoolean3870) return class64.method623(i_9_, i, class101, false, 0, Component72.anInt1906); + return class64.method628(i_9_, i, class101, false, 0); + } + return false; + } + + final void method2387(GraphicsToolkit var_ha, int i) { + if (i > -125) method42(115); + anInt10067++; + } + + public final int method41(int i) { + anInt10087++; + if (i != -32228) return 1; + return aByte10062; + } + + final void method2392(boolean bool) { + anInt10091++; + if (bool != true) method2394(true); + aBoolean10090 = false; + if (this.aClass64_10071 != null) this.aClass64_10071.s(this.aClass64_10071.ua() & ~0x10000); + } + + final ComponentDownloader method2381(GraphicsToolkit var_ha, int i) { + anInt10075++; + if (aClass30_10082 == null) aClass30_10082 = (OggUrlStream.method2967(this.x, method2482(var_ha, (byte) 117, 0), this.y, this.anInt6382, i + -5)); + if (i != 7) aBoolean10066 = false; + return aClass30_10082; + } + + public final int method42(int i) { + anInt10088++; + if (i > -62) return -96; + return aShort10081 & 0xffff; + } + + final int method2379(int i) { + anInt10063++; + if (i != -25675) aByte10079 = (byte) 53; + if (this.aClass64_10071 != null) return this.aClass64_10071.ma(); + return 0; + } + + public final boolean method38(int i) { + anInt10078++; + if (i != -18443) aShort10081 = (short) 37; + return aBoolean10064; + } + + final void method2380(GraphicsToolkit var_ha, int i, boolean bool, RenderableObject class318_sub1, int i_11_, byte i_12_, int i_13_) { + try { + if (i_12_ > -106) method2388(-102); + if (class318_sub1 instanceof Component197) { + Component197 class318_sub1_sub4_sub1_14_ = (Component197) class318_sub1; + if (this.aClass64_10071 != null && (class318_sub1_sub4_sub1_14_.aClass64_10071) != null) this.aClass64_10071.method613(class318_sub1_sub4_sub1_14_.aClass64_10071, i_13_, i, i_11_, bool); + } else if (class318_sub1 instanceof Component349) { + Component349 class318_sub1_sub3_sub1 = (Component349) class318_sub1; + if (this.aClass64_10071 != null && (class318_sub1_sub3_sub1.aClass64_10028) != null) this.aClass64_10071.method613((class318_sub1_sub3_sub1.aClass64_10028), i_13_, i, i_11_, bool); + } + anInt10083++; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ge.N(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class318_sub1 != null ? "{...}" : "null") + ',' + i_11_ + ',' + i_12_ + ',' + i_13_ + ')')); + } + } + + public final void method44(int i, GraphicsToolkit var_ha) { + anInt10092++; + Object object = null; + r var_r; + if (aR10094 == null && aBoolean10064) { + Component245 class2 = method2481(true, 262144, -4, var_ha); + var_r = class2 == null ? null : class2.aR118; + } else { + var_r = aR10094; + aR10094 = null; + } + if (var_r != null) Component387.method1130(var_r, this.aByte6376, this.x, this.y, null); + if (i != 836) aR10094 = null; + } + + private final Component245 method2481(boolean bool, int i, int i_15_, GraphicsToolkit var_ha) { + if (i_15_ != -4) aClass30_10082 = null; + anInt10086++; + Component44 class51 = GradientPreset.aClass263_9195.method2005(0, aShort10081 & 0xffff); + s var_s; + s var_s_16_; + if (aBoolean10066) { + var_s = NodeSub1Sub1.aSArray8801[0]; + var_s_16_ = Component9.aSArray4142[this.aByte6376]; + } else { + var_s_16_ = (NodeSub1Sub1.aSArray8801[this.aByte6376]); + if (this.aByte6376 < 3) var_s = (NodeSub1Sub1.aSArray8801[1 + this.aByte6376]); + else var_s = null; + } + return class51.method476(var_ha, var_s, aByte10079, i, this.x, bool, var_s_16_, this.anInt6382, this.y, aByte10062, i_15_ + 132); + } + + final RenderableSub4 method2386(int i, GraphicsToolkit var_ha) { + anInt10069++; + if (this.aClass64_10071 == null) return null; + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + class101.method894(this.x, this.anInt6382, this.y); + RenderableSub4 class318_sub4 = OutputStream_Sub2.method136(i, aBoolean10076, false); + if (!DisplayModeManagerContainer50.aBoolean3870) this.aClass64_10071.method615(class101, class318_sub4.aClass318_Sub3Array6414[0], 0); + else this.aClass64_10071.method608(class101, class318_sub4.aClass318_Sub3Array6414[0], Component72.anInt1906, 0); + return class318_sub4; + } + + private final DisplayModeManagerContainer370 method2482(GraphicsToolkit var_ha, byte i, int i_17_) { + if (i <= 113) method2387(null, -99); + anInt10072++; + if (this.aClass64_10071 != null && var_ha.method3667(this.aClass64_10071.ua(), i_17_) == 0) return this.aClass64_10071; + Component245 class2 = method2481(false, i_17_, -4, var_ha); + if (class2 != null) return class2.aClass64_119; + return null; + } + + final int method2394(boolean bool) { + anInt10093++; + if (bool != true) aByte10062 = (byte) -75; + if (this.aClass64_10071 == null) return 0; + return this.aClass64_10071.fa(); + } + + final boolean method2388(int i) { + anInt10089++; + if (i > -65) return true; + return aBoolean10090; + } + + final boolean method2377(byte i) { + anInt10065++; + if (i != 122) return true; + if (this.aClass64_10071 == null) return false; + return this.aClass64_10071.F(); + } + + final boolean method2376(int i) { + if (i >= -12) method2388(-68); + anInt10085++; + if (this.aClass64_10071 != null) { + return !this.aClass64_10071.r(); + } + return true; + } + + public final void method43(GraphicsToolkit var_ha, int i) { + if (i != -14218) aClass30_10082 = null; + anInt10068++; + Object object = null; + r var_r; + if (aR10094 == null && aBoolean10064) { + Component245 class2 = method2481(true, 262144, -4, var_ha); + var_r = class2 == null ? null : class2.aR118; + } else { + var_r = aR10094; + aR10094 = null; + } + if (var_r != null) RequestProcessor.method1301(var_r, this.aByte6376, this.x, this.y, null); + } +} diff --git a/client/components/Component198.java b/client/components/Component198.java new file mode 100644 index 000000000..02c31c1cc --- /dev/null +++ b/client/components/Component198.java @@ -0,0 +1,182 @@ +/* Component198 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component198 +/** + * RENAMED from `Class204` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private static byte[] aByteArray2676 = {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 1, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + private final Buffer aClass348_Sub49_2677; + private int[] anIntArray2678; + private int[] anIntArray2679; + private long aLong2680; + int[] anIntArray2681; + private int[] anIntArray2682; + int anInt2683; + private int anInt2684; + + final boolean method1480() { + int i = anIntArray2682.length; + for (int i_0_ = 0; i_0_ < i; i_0_++) { + if (anIntArray2682[i_0_] >= 0) return false; + } + return true; + } + + private final int method1481(int i, int i_1_) { + if (i_1_ == 255) { + int i_2_ = aClass348_Sub49_2677.readUnsignedByte(255); + int i_3_ = aClass348_Sub49_2677.readVarInt((byte) 112); + if (i_2_ == 47) { + aClass348_Sub49_2677.offset += i_3_; + return 1; + } + if (i_2_ == 81) { + int i_4_ = aClass348_Sub49_2677.readMedium(-1); + i_3_ -= 3; + int i_5_ = this.anIntArray2681[i]; + aLong2680 += (long) i_5_ * (long) (anInt2684 - i_4_); + anInt2684 = i_4_; + aClass348_Sub49_2677.offset += i_3_; + return 2; + } + aClass348_Sub49_2677.offset += i_3_; + return 3; + } + byte i_6_ = aByteArray2676[i_1_ - 128]; + int i_7_ = i_1_; + if (i_6_ >= 1) i_7_ |= aClass348_Sub49_2677.readUnsignedByte(255) << 8; + if (i_6_ >= 2) i_7_ |= aClass348_Sub49_2677.readUnsignedByte(255) << 16; + return i_7_; + } + + final void method1482(byte[] is) { + aClass348_Sub49_2677.payload = is; + aClass348_Sub49_2677.offset = 10; + int i = aClass348_Sub49_2677.readUnsignedShort(842397944); + this.anInt2683 = aClass348_Sub49_2677.readUnsignedShort(842397944); + anInt2684 = 500000; + anIntArray2679 = new int[i]; + int i_8_ = 0; + while (i_8_ < i) { + int i_9_ = aClass348_Sub49_2677.readInt((byte) -126); + int i_10_ = aClass348_Sub49_2677.readInt((byte) -126); + if (i_9_ == 1297379947) { + anIntArray2679[i_8_] = aClass348_Sub49_2677.offset; + i_8_++; + } + aClass348_Sub49_2677.offset += i_10_; + } + aLong2680 = 0L; + anIntArray2682 = new int[i]; + for (int i_11_ = 0; i_11_ < i; i_11_++) + anIntArray2682[i_11_] = anIntArray2679[i_11_]; + this.anIntArray2681 = new int[i]; + anIntArray2678 = new int[i]; + } + + final int method1483() { + return anIntArray2682.length; + } + + final void method1484(long l) { + aLong2680 = l; + int i = anIntArray2682.length; + for (int i_12_ = 0; i_12_ < i; i_12_++) { + this.anIntArray2681[i_12_] = 0; + anIntArray2678[i_12_] = 0; + aClass348_Sub49_2677.offset = anIntArray2679[i_12_]; + method1485(i_12_); + anIntArray2682[i_12_] = aClass348_Sub49_2677.offset; + } + } + + final void method1485(int i) { + int i_13_ = aClass348_Sub49_2677.readVarInt((byte) 98); + this.anIntArray2681[i] += i_13_; + } + + final void method1486(int i) { + anIntArray2682[i] = aClass348_Sub49_2677.offset; + } + + final void method1487() { + aClass348_Sub49_2677.payload = null; + anIntArray2679 = null; + anIntArray2682 = null; + this.anIntArray2681 = null; + anIntArray2678 = null; + } + + final long method1488(int i) { + return aLong2680 + (long) i * (long) anInt2684; + } + + private final int method1489(int i) { + int i_14_ = (aClass348_Sub49_2677.payload[aClass348_Sub49_2677.offset]); + if (i_14_ < 0) { + i_14_ &= 0xff; + anIntArray2678[i] = i_14_; + aClass348_Sub49_2677.offset++; + } else i_14_ = anIntArray2678[i]; + if (i_14_ == 240 || i_14_ == 247) { + int i_15_ = aClass348_Sub49_2677.readVarInt((byte) 40); + if (i_14_ == 247 && i_15_ > 0) { + int i_16_ = ((aClass348_Sub49_2677.payload[aClass348_Sub49_2677.offset]) & 0xff); + if (i_16_ >= 241 && i_16_ <= 243 || i_16_ == 246 || i_16_ == 248 || i_16_ >= 250 && i_16_ <= 252 || i_16_ == 254) { + aClass348_Sub49_2677.offset++; + anIntArray2678[i] = i_16_; + return method1481(i, i_16_); + } + } + aClass348_Sub49_2677.offset += i_15_; + return 0; + } + return method1481(i, i_14_); + } + + final int method1490() { + int i = anIntArray2682.length; + int i_17_ = -1; + int i_18_ = 2147483647; + for (int i_19_ = 0; i_19_ < i; i_19_++) { + if (anIntArray2682[i_19_] >= 0 && this.anIntArray2681[i_19_] < i_18_) { + i_17_ = i_19_; + i_18_ = this.anIntArray2681[i_19_]; + } + } + return i_17_; + } + + final boolean method1491() { + return aClass348_Sub49_2677.payload != null; + } + + final void method1492(int i) { + aClass348_Sub49_2677.offset = anIntArray2682[i]; + } + + public static void method1493() { + aByteArray2676 = null; + } + + final int method1494(int i) { + int i_20_ = method1489(i); + return i_20_; + } + + final void method1495() { + aClass348_Sub49_2677.offset = -1; + } + + public Component198() { + aClass348_Sub49_2677 = new Buffer(null); + } + + Component198(byte[] is) { + aClass348_Sub49_2677 = new Buffer(null); + method1482(is); + } +} diff --git a/client/components/Component2.java b/client/components/Component2.java new file mode 100644 index 000000000..74b206456 --- /dev/null +++ b/client/components/Component2.java @@ -0,0 +1,110 @@ +/* Component2 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component2 +/** + * RENAMED from `Class5_Sub2` (JODE-obfuscated). + * Evidence: subclass of Component298 (hierarchy) + */ extends Component298 { + static int anInt8353; + static int anInt8354; + static int anInt8355; + static Component224 aClass273_8356 = new Component224("", 11); + static int anInt8357; + static int anInt8358; + static int anInt8359; + static int anInt8360; + static boolean[][][] aBooleanArrayArrayArray8361; + static int anInt8362; + static int anInt8363; + static int anInt8364; + static Component183 aClass114_8365 = new Component183(30, -1); + + static final void method191(boolean bool, int i, int i_0_) { + if (Component21.anInt3655 != 1) { + if (Component21.anInt3655 == 2) { + if (!Component210.gameCanvasAttached) DisplayModeManagerContainer42.method2291((byte) -127, i, i_0_); + else DisplayModeManagerContainer42.method2291((byte) -122, i + BufferCacheSub3.method4008((byte) -128), Component110.method260(!bool) + i_0_); + } + } else ColoredTextBuilder.processMenuAction((byte) 101, Component161.aMenuEntry_1946, i_0_, i); + anInt8354++; + Component21.anInt3655 = 0; + Component161.aMenuEntry_1946 = null; + if (bool != true) method197(true); + } + + static final void method192(DisplayModeManagerContainer56 class190, int i, int i_1_, int i_2_) { + NodeList.aClass190ArrayArray3335[i_1_][i_2_] = class190; + anInt8362++; + if (i != 10000) anInt8363 = 32; + } + + public static void method193(int i) { + if (i == 30) { + aClass273_8356 = null; + aBooleanArrayArrayArray8361 = null; + aClass114_8365 = null; + } + } + + static final byte[] method194(int i, int i_3_, int i_4_, float f, int i_5_, float f_6_, float f_7_, float f_8_, float f_9_, DisplayModeManagerContainer51 class186, int i_10_) { + anInt8353++; + if (i_3_ != -1922) aClass273_8356 = null; + byte[] is = new byte[i * i_5_ * i_10_]; + Component193.method1919(i, f_8_, is, f_6_, 0, f_9_, class186, f_7_, i_4_, (byte) 119, i_10_, f, i_5_); + return is; + } + + static final boolean method195(int i, boolean bool, int i_11_) { + anInt8364++; + Component44 class51 = GradientPreset.aClass263_9195.method2005(0, i_11_); + if (i == 11) i = 10; + if (bool != false) return false; + if (i >= 5 && i <= 8) i = 4; + return class51.method478(i, -31076); + } + + Component2(CacheStore class45, CacheStore class45_12_, Component14 class369_sub2) { + super(class45, class45_12_, class369_sub2); + } + + static final void method196(boolean bool, int i, int i_13_, int i_14_, int i_15_) { + if (bool != true) method192(null, -119, 63, 12); + if (Component72.anInt1910 <= i_15_ && PauseTimer.anInt513 >= i_15_) { + i_14_ = LogicError.method831(Component22.anInt1745, i_14_, Component27.anInt4960, 71); + i = LogicError.method831(Component22.anInt1745, i, Component27.anInt4960, -87); + Component319.method223(i, i_13_, i_15_, i_14_, (byte) 39); + } + anInt8357++; + } + + static final int method197(boolean bool) { + anInt8358++; + if (bool != false) aClass273_8356 = null; + return NodederUtil.anInt6637; + } + + final void method178(int i, boolean bool, byte i_16_, int i_17_) { + NodeSub8.toolkit.method3628(-2 + i, i_17_, 4 + this.aClass369_4635.anInt4971, 2 + this.aClass369_4635.anInt4963, (((Component14) this.aClass369_4635).anInt8585), 0); + anInt8360++; + NodeSub8.toolkit.method3628(i - 1, 1 + i_17_, this.aClass369_4635.anInt4971 - -2, this.aClass369_4635.anInt4963, 0, 0); + if (i_16_ > -6) aClass114_8365 = null; + } + + final void method182(int i, int i_18_, int i_19_, boolean bool) { + anInt8355++; + int i_20_ = -110 / ((-20 - i) / 57); + int i_21_ = (this.method183(116) * this.aClass369_4635.anInt4971 / 10000); + NodeSub8.toolkit.fillRect(i_19_, 2 + i_18_, i_21_, (this.aClass369_4635.anInt4963) - 2, ((Component14) this.aClass369_4635).anInt8591, 0); + NodeSub8.toolkit.fillRect(i_21_ + i_19_, 2 + i_18_, this.aClass369_4635.anInt4971 - i_21_, this.aClass369_4635.anInt4963 - 2, 0, 0); + } + + static final void method198(DisplayModeManagerContainer57 class46, boolean bool, int i, int i_22_) { + TcpSocketStream.anInt5832 = i; + Component247.anInt4911 = i_22_; + Component158.aClass46_323 = class46; + anInt8359++; + if (bool != false) anInt8363 = 112; + } +} diff --git a/client/components/Component20.java b/client/components/Component20.java new file mode 100644 index 000000000..78ba29fc3 --- /dev/null +++ b/client/components/Component20.java @@ -0,0 +1,71 @@ +/* Component20 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component20 +/** + * RENAMED from `Class239_Sub20` (JODE-obfuscated). + * Evidence: subclass of Component339 (hierarchy) + */ extends Component339 { + static int anInt6048 = 0; + static int anInt6049; + static int anInt6050; + static int anInt6051; + static int anInt6052; + static int anInt6053; + static int[][] anIntArrayArray6054 = {{12, 12, 12, 12}, {12, 12, 12, 12}, {5, 5, 5}, {5, 5, 5}, {5, 5, 5}, {5, 5, 5}, {12, 12, 12, 12, 12, 12}, {1, 1, 1, 7}, {1, 1, 7, 1}, {8, 9, 9, 8, 8, 9}, {8, 8, 9, 8, 9, 9}, {10, 10, 11, 11, 11, 10}, {12, 12, 12, 12}}; + static int anInt6055; + static Component183 aClass114_6056 = new Component183(26, 11); + + final int method1710(int i) { + if (i != 20014) return -9; + anInt6055++; + return 0; + } + + final int method1714(int i, int i_0_) { + anInt6051++; + if (!Node.method2714(7351, this.aClass348_Sub51_3136.aClass239_Sub25_7271.method1829(-32350))) return 3; + if (i != 3) method1807((byte) 64); + return 1; + } + + Component20(int i, NodeSub51 class348_sub51) { + super(i, class348_sub51); + } + + final boolean method1806(int i) { + if (i < 85) method1714(-53, -119); + anInt6049++; + return Node.method2714(7351, this.aClass348_Sub51_3136.aClass239_Sub25_7271.method1829(-32350)); + } + + public static void method1807(byte i) { + anIntArrayArray6054 = null; + if (i != -121) anIntArrayArray6054 = null; + aClass114_6056 = null; + } + + Component20(NodeSub51 class348_sub51) { + super(class348_sub51); + } + + final int method1808(int i) { + anInt6053++; + if (i != -32350) anInt6048 = -97; + return this.anInt3138; + } + + final void method1712(int i, int i_1_) { + int i_2_ = 38 / ((82 - i) / 35); + anInt6052++; + this.anInt3138 = i_1_; + } + + final void method1716(boolean bool) { + anInt6050++; + if (bool != false) method1714(-51, -128); + if (this.aClass348_Sub51_3136.aClass239_Sub25_7271.method1830((byte) -123) && !Node.method2714(7351, this.aClass348_Sub51_3136.aClass239_Sub25_7271.method1829(-32350))) this.anInt3138 = 0; + if (this.anInt3138 < 0 || this.anInt3138 > 2) this.anInt3138 = method1710(20014); + } +} diff --git a/client/components/Component200.java b/client/components/Component200.java new file mode 100644 index 000000000..d150143cd --- /dev/null +++ b/client/components/Component200.java @@ -0,0 +1,51 @@ +/* Component200 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component200 +/** + * RENAMED from `Class290` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static boolean aBoolean3706; + static int anInt3707; + Interface5_Impl1 anInterface5_Impl1_3708; + boolean aBoolean3709; + static float aFloat3710; + Interface5_Impl1 anInterface5_Impl1_3711; + static int anInt3712; + static int anInt3713 = 0; + boolean aBoolean3714; + static int anInt3715; + static int anInt3716; + static int anInt3717 = 1338; + static int anInt3718; + + final void method2195(boolean bool) { + if (this.anInterface5_Impl1_3708 != null) this.anInterface5_Impl1_3708.method21(23315); + anInt3715++; + this.aBoolean3714 = bool; + } + + static final void method2196(byte i) { + Component372.anInt6043 = (int) ((double) AbstractShaderSub4.anInt7319 * 34.46); + ObjectDeserializer.anInt6964 = 200; + anInt3716++; + if (i == -9) { + Component372.anInt6043 <<= 2; + if (NodeSub8.toolkit.method3670()) Component372.anInt6043 += 512; + Component127.method1626(1, false); + } + Component372.anInt6043 = (int) (Component372.anInt6043 * Loader.CULLING_DISTANCE_MULTIPLIER); + } + + final boolean method2197(byte i) { + if (i >= -4) method2195(true); + anInt3718++; + return this.aBoolean3714 && !this.aBoolean3709; + } + + Component200(boolean bool) { + this.aBoolean3709 = bool; + } +} diff --git a/client/components/Component201.java b/client/components/Component201.java new file mode 100644 index 000000000..8ad535b3d --- /dev/null +++ b/client/components/Component201.java @@ -0,0 +1,102 @@ +/* Component201 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component201 +/** + * RENAMED from `Class299_Sub2_Sub1` (JODE-obfuscated). + * Evidence: subclass of DisplayModeManagerContainer356 (hierarchy) + */ extends DisplayModeManagerContainer356 { + private final int anInt8708; + static int anInt8709; + static int anInt8710; + private final int anInt8711; + static int[] anIntArray8712; + static double aDouble8713 = -1.0; + private final int anInt8714; + private final int anInt8715; + private final int anInt8716; + private final int anInt8717; + private final GlToolkitSub3 aHa_Sub3_8718; + private Interface18_Impl2 anInterface18_Impl2_8719; + static int anInt8720; + + final Interface18_Impl2 method2266(boolean bool) { + if (bool != true) return null; + anInt8720++; + if (anInterface18_Impl2_8719 == null) { + Component148.anIntArray3464[3] = anInt8711; + Component148.anIntArray3464[1] = anInt8717; + Component148.anIntArray3464[4] = anInt8708; + d var_d = aHa_Sub3_8718.aD4579; + Component148.anIntArray3464[5] = anInt8714; + Component148.anIntArray3464[2] = anInt8715; + Component148.anIntArray3464[0] = anInt8716; + boolean bool_0_ = false; + int i = 0; + for (int i_1_ = 0; i_1_ < 6; i_1_++) { + if (!var_d.method4(-7953, Component148.anIntArray3464[i_1_])) return null; + Component319 class12 = var_d.method3(Component148.anIntArray3464[i_1_], -6662); + int i_2_ = class12.aBoolean199 ? 64 : 128; + if (i < i_2_) i = i_2_; + if (class12.aByte205 > 0) bool_0_ = true; + } + for (int i_3_ = 0; i_3_ < 6; i_3_++) + Component329.anIntArrayArray5991[i_3_] = var_d.method5(false, Component148.anIntArray3464[i_3_], 1.0F, i, i, 81); + anInterface18_Impl2_8719 = aHa_Sub3_8718.method3900(Component329.anIntArrayArray5991, bool_0_, 61, i); + } + return anInterface18_Impl2_8719; + } + + static final void method2270(int i, int i_4_, GraphicsToolkit var_ha, String string, boolean bool, int i_5_, int i_6_, int i_7_) { + try { + if (OutputStream_Sub2.aClass105_106 == null || Component221.aClass105_1800 == null) { + if (Component158.aClass45_322.isSingletonFileReady(false, BuildType.anInt2996) && Component158.aClass45_322.isSingletonFileReady(false, ToolbarRefreshDefinition.anInt9231)) { + OutputStream_Sub2.aClass105_106 = (var_ha.method3691(Component170.method1521(Component158.aClass45_322, BuildType.anInt2996, 0), true)); + Component170 class207 = Component170.method1521(Component158.aClass45_322, ToolbarRefreshDefinition.anInt9231, 0); + Component221.aClass105_1800 = var_ha.method3691(class207, true); + class207.method1518(); + NodeSub5.aClass105_6627 = var_ha.method3691(class207, true); + } else var_ha.fillRect(i_4_, i_5_, i, i_7_, (255 + -Component44.anInt948 << 24 | Component235.anInt3376), 1); + } + anInt8709++; + if (OutputStream_Sub2.aClass105_106 != null && Component221.aClass105_1800 != null) { + int i_8_ = ((i - 2 * Component221.aClass105_1800.method971()) / OutputStream_Sub2.aClass105_106.method971()); + for (int i_9_ = 0; i_9_ < i_8_; i_9_++) + OutputStream_Sub2.aClass105_106.method974((Component221.aClass105_1800.method971() + i_4_ + (OutputStream_Sub2.aClass105_106.method971() * i_9_)), i_5_); + Component221.aClass105_1800.method974(i_4_, i_5_); + NodeSub5.aClass105_6627.method974((-NodeSub5.aClass105_6627.method971() + i_4_ - -i), i_5_); + } + if (bool == false) { + NodeList.aClass324_3326.drawText(string, (StringDefinition.anInt9586) | ~0xffffff, 14 + i_5_, 3 + i_4_, -1, -127); + var_ha.fillRect(i_4_, i_7_ + i_5_, i, i_6_ + -i_7_, (Component235.anInt3376 | 255 + -Component44.anInt948 << 24), 1); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("kv.G(" + i + ',' + i_4_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ',' + bool + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ')')); + } + } + + static final void method2271(int i) { + anInt8710++; + if (!Component326.aBoolean5265) { + InflaterDecompressor.disposeSceneEntities(0, Component304.aClass357ArrayArrayArray1148); + if (ImageProducerSprite.aClass357ArrayArrayArray9082 != null) InflaterDecompressor.disposeSceneEntities(0, (ImageProducerSprite.aClass357ArrayArrayArray9082)); + Component326.aBoolean5265 = true; + } + } + + public static void method2272(int i) { + if (i < 85) method2271(-124); + anIntArray8712 = null; + } + + Component201(GlToolkitSub3 var_ha_Sub3, int i, int i_10_, int i_11_, int i_12_, int i_13_, int i_14_) { + anInt8715 = i_11_; + anInt8708 = i_13_; + anInt8716 = i; + anInt8711 = i_12_; + anInt8717 = i_10_; + anInt8714 = i_14_; + aHa_Sub3_8718 = var_ha_Sub3; + } +} diff --git a/client/components/Component202.java b/client/components/Component202.java new file mode 100644 index 000000000..851e55dac --- /dev/null +++ b/client/components/Component202.java @@ -0,0 +1,261 @@ +/* Component202 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.util.Random; + +final class Component202 +/** + * RENAMED from `Class80` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt1407 = 0; + private Component108 aClass197_1408; + private static int[] anIntArray1409; + private final int[] anIntArray1410 = new int[5]; + private final int[] anIntArray1411 = new int[5]; + private static int[] anIntArray1412; + private Component108 aClass197_1413; + private Component108 aClass197_1414; + private Component108 aClass197_1415; + private static int[] anIntArray1416 = new int[32768]; + private Component108 aClass197_1417; + private Component108 aClass197_1418; + private Component13 aClass349_1419; + private Component108 aClass197_1420; + int anInt1421; + private int anInt1422 = 100; + private Component108 aClass197_1423; + private static int[] anIntArray1424; + private Component108 aClass197_1425; + private static int[] anIntArray1426; + private int anInt1427; + private final int[] anIntArray1428; + private static int[] anIntArray1429; + private static int[] anIntArray1430; + private static int[] anIntArray1431; + + private final int method806(int i, int i_0_, int i_1_) { + if (i_1_ == 1) { + if ((i & 0x7fff) < 16384) return i_0_; + return -i_0_; + } + if (i_1_ == 2) return anIntArray1412[i & 0x7fff] * i_0_ >> 14; + if (i_1_ == 3) return ((i & 0x7fff) * i_0_ >> 14) - i_0_; + if (i_1_ == 4) return anIntArray1416[i / 2607 & 0x7fff] * i_0_; + return 0; + } + + final void method807(Buffer class348_sub49) { + aClass197_1418 = new Component108(); + aClass197_1418.method1452(class348_sub49); + aClass197_1408 = new Component108(); + aClass197_1408.method1452(class348_sub49); + int i = class348_sub49.readUnsignedByte(255); + if (i != 0) { + class348_sub49.offset--; + aClass197_1415 = new Component108(); + aClass197_1415.method1452(class348_sub49); + aClass197_1425 = new Component108(); + aClass197_1425.method1452(class348_sub49); + } + i = class348_sub49.readUnsignedByte(255); + if (i != 0) { + class348_sub49.offset--; + aClass197_1413 = new Component108(); + aClass197_1413.method1452(class348_sub49); + aClass197_1423 = new Component108(); + aClass197_1423.method1452(class348_sub49); + } + i = class348_sub49.readUnsignedByte(255); + if (i != 0) { + class348_sub49.offset--; + aClass197_1414 = new Component108(); + aClass197_1414.method1452(class348_sub49); + aClass197_1420 = new Component108(); + aClass197_1420.method1452(class348_sub49); + } + for (int i_2_ = 0; i_2_ < 10; i_2_++) { + int i_3_ = class348_sub49.readSmart(-118); + if (i_3_ == 0) break; + anIntArray1410[i_2_] = i_3_; + anIntArray1411[i_2_] = class348_sub49.readSmartSigned((byte) 77); + anIntArray1428[i_2_] = class348_sub49.readSmart(-121); + } + anInt1427 = class348_sub49.readSmart(-120); + anInt1422 = class348_sub49.readSmart(-122); + this.anInt1421 = class348_sub49.readUnsignedShort(842397944); + this.anInt1407 = class348_sub49.readUnsignedShort(842397944); + aClass349_1419 = new Component13(); + aClass197_1417 = new Component108(); + aClass349_1419.method3446(class348_sub49, aClass197_1417); + } + + public static void method808() { + anIntArray1409 = null; + anIntArray1416 = null; + anIntArray1412 = null; + anIntArray1431 = null; + anIntArray1424 = null; + anIntArray1430 = null; + anIntArray1429 = null; + anIntArray1426 = null; + } + + final int[] method809(int i, int i_4_) { + Component313.method1573(anIntArray1409, 0, i); + if (i_4_ < 10) return anIntArray1409; + double d = (double) i / ((double) i_4_ + 0.0); + aClass197_1418.method1453(); + aClass197_1408.method1453(); + int i_5_ = 0; + int i_6_ = 0; + int i_7_ = 0; + if (aClass197_1415 != null) { + aClass197_1415.method1453(); + aClass197_1425.method1453(); + i_5_ = (int) ((double) (aClass197_1415.anInt2606 - aClass197_1415.anInt2607) * 32.768 / d); + i_6_ = (int) ((double) aClass197_1415.anInt2607 * 32.768 / d); + } + int i_8_ = 0; + int i_9_ = 0; + int i_10_ = 0; + if (aClass197_1413 != null) { + aClass197_1413.method1453(); + aClass197_1423.method1453(); + i_8_ = (int) ((double) (aClass197_1413.anInt2606 - aClass197_1413.anInt2607) * 32.768 / d); + i_9_ = (int) ((double) aClass197_1413.anInt2607 * 32.768 / d); + } + for (int i_11_ = 0; i_11_ < 5; i_11_++) { + if (anIntArray1410[i_11_] != 0) { + anIntArray1431[i_11_] = 0; + anIntArray1424[i_11_] = (int) ((double) anIntArray1428[i_11_] * d); + anIntArray1430[i_11_] = (anIntArray1410[i_11_] << 14) / 100; + anIntArray1429[i_11_] = (int) ((double) (aClass197_1418.anInt2606 - aClass197_1418.anInt2607) * 32.768 * Math.pow(1.0057929410678534, anIntArray1411[i_11_]) / d); + anIntArray1426[i_11_] = (int) ((double) aClass197_1418.anInt2607 * 32.768 / d); + } + } + for (int i_12_ = 0; i_12_ < i; i_12_++) { + int i_13_ = aClass197_1418.method1451(i); + int i_14_ = aClass197_1408.method1451(i); + if (aClass197_1415 != null) { + int i_15_ = aClass197_1415.method1451(i); + int i_16_ = aClass197_1425.method1451(i); + i_13_ += method806(i_7_, i_16_, aClass197_1415.anInt2603) >> 1; + i_7_ += (i_15_ * i_5_ >> 16) + i_6_; + } + if (aClass197_1413 != null) { + int i_17_ = aClass197_1413.method1451(i); + int i_18_ = aClass197_1423.method1451(i); + i_14_ = (i_14_ * ((method806(i_10_, i_18_, aClass197_1413.anInt2603) >> 1) + 32768)) >> 15; + i_10_ += (i_17_ * i_8_ >> 16) + i_9_; + } + for (int i_19_ = 0; i_19_ < 5; i_19_++) { + if (anIntArray1410[i_19_] != 0) { + int i_20_ = i_12_ + anIntArray1424[i_19_]; + if (i_20_ < i) { + anIntArray1409[i_20_] += method806(anIntArray1431[i_19_], i_14_ * anIntArray1430[i_19_] >> 15, (aClass197_1418.anInt2603)); + anIntArray1431[i_19_] += ((i_13_ * anIntArray1429[i_19_] >> 16) + anIntArray1426[i_19_]); + } + } + } + } + if (aClass197_1414 != null) { + aClass197_1414.method1453(); + aClass197_1420.method1453(); + int i_21_ = 0; + boolean bool = false; + boolean bool_22_ = true; + for (int i_23_ = 0; i_23_ < i; i_23_++) { + int i_24_ = aClass197_1414.method1451(i); + int i_25_ = aClass197_1420.method1451(i); + int i_26_; + if (bool_22_) i_26_ = (aClass197_1414.anInt2607 + ((aClass197_1414.anInt2606 - aClass197_1414.anInt2607) * i_24_ >> 8)); + else i_26_ = (aClass197_1414.anInt2607 + ((aClass197_1414.anInt2606 - aClass197_1414.anInt2607) * i_25_ >> 8)); + i_21_ += 256; + if (i_21_ >= i_26_) { + i_21_ = 0; + bool_22_ = !bool_22_; + } + if (bool_22_) anIntArray1409[i_23_] = 0; + } + } + if (anInt1427 > 0 && anInt1422 > 0) { + int i_27_ = (int) ((double) anInt1427 * d); + for (int i_28_ = i_27_; i_28_ < i; i_28_++) + anIntArray1409[i_28_] += anIntArray1409[i_28_ - i_27_] * anInt1422 / 100; + } + if (aClass349_1419.anIntArray4299[0] > 0 || aClass349_1419.anIntArray4299[1] > 0) { + aClass197_1417.method1453(); + int i_29_ = aClass197_1417.method1451(i + 1); + int i_30_ = aClass349_1419.method3451(0, (float) i_29_ / 65536.0F); + int i_31_ = aClass349_1419.method3451(1, (float) i_29_ / 65536.0F); + if (i >= i_30_ + i_31_) { + int i_32_ = 0; + int i_33_ = i_31_; + if (i_33_ > i - i_30_) i_33_ = i - i_30_; + for (/**/; i_32_ < i_33_; i_32_++) { + int i_34_ = (int) (((long) anIntArray1409[i_32_ + i_30_] * (long) Component13.anInt4303) >> 16); + for (int i_35_ = 0; i_35_ < i_30_; i_35_++) + i_34_ += (int) (((long) (anIntArray1409[i_32_ + i_30_ - 1 - i_35_]) * (long) (Component13.anIntArrayArray4301[0][i_35_])) >> 16); + for (int i_36_ = 0; i_36_ < i_32_; i_36_++) + i_34_ -= (int) (((long) anIntArray1409[i_32_ - 1 - i_36_] * (long) (Component13.anIntArrayArray4301[1][i_36_])) >> 16); + anIntArray1409[i_32_] = i_34_; + i_29_ = aClass197_1417.method1451(i + 1); + } + i_33_ = 128; + for (; ; ) { + if (i_33_ > i - i_30_) i_33_ = i - i_30_; + for (/**/; i_32_ < i_33_; i_32_++) { + int i_37_ = (int) (((long) anIntArray1409[i_32_ + i_30_] * (long) Component13.anInt4303) >> 16); + for (int i_38_ = 0; i_38_ < i_30_; i_38_++) + i_37_ += (int) (((long) (anIntArray1409[i_32_ + i_30_ - 1 - i_38_]) * (long) (Component13.anIntArrayArray4301[0][i_38_])) >> 16); + for (int i_39_ = 0; i_39_ < i_31_; i_39_++) + i_37_ -= (int) (((long) (anIntArray1409[i_32_ - 1 - i_39_]) * (long) (Component13.anIntArrayArray4301[1][i_39_])) >> 16); + anIntArray1409[i_32_] = i_37_; + i_29_ = aClass197_1417.method1451(i + 1); + } + if (i_32_ >= i - i_30_) break; + i_30_ = aClass349_1419.method3451(0, (float) i_29_ / 65536.0F); + i_31_ = aClass349_1419.method3451(1, (float) i_29_ / 65536.0F); + i_33_ += 128; + } + for (/**/; i_32_ < i; i_32_++) { + int i_40_ = 0; + for (int i_41_ = i_32_ + i_30_ - i; i_41_ < i_30_; i_41_++) + i_40_ += (int) (((long) (anIntArray1409[i_32_ + i_30_ - 1 - i_41_]) * (long) (Component13.anIntArrayArray4301[0][i_41_])) >> 16); + for (int i_42_ = 0; i_42_ < i_31_; i_42_++) + i_40_ -= (int) (((long) anIntArray1409[i_32_ - 1 - i_42_] * (long) (Component13.anIntArrayArray4301[1][i_42_])) >> 16); + anIntArray1409[i_32_] = i_40_; + i_29_ = aClass197_1417.method1451(i + 1); + } + } + } + for (int i_43_ = 0; i_43_ < i; i_43_++) { + if (anIntArray1409[i_43_] < -32768) anIntArray1409[i_43_] = -32768; + if (anIntArray1409[i_43_] > 32767) anIntArray1409[i_43_] = 32767; + } + return anIntArray1409; + } + + public Component202() { + this.anInt1421 = 500; + anIntArray1428 = new int[5]; + anInt1427 = 0; + } + + static { + Random random = new Random(0L); + for (int i = 0; i < 32768; i++) + anIntArray1416[i] = (random.nextInt() & 0x2) - 1; + anIntArray1412 = new int[32768]; + for (int i = 0; i < 32768; i++) + anIntArray1412[i] = (int) (Math.sin((double) i / 5215.1903) * 16384.0); + anIntArray1409 = new int[220500]; + anIntArray1424 = new int[5]; + anIntArray1426 = new int[5]; + anIntArray1429 = new int[5]; + anIntArray1431 = new int[5]; + anIntArray1430 = new int[5]; + } +} diff --git a/client/components/Component203.java b/client/components/Component203.java new file mode 100644 index 000000000..a7ae4f828 --- /dev/null +++ b/client/components/Component203.java @@ -0,0 +1,109 @@ +/* Component203 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +abstract class Component203 +/** + * RENAMED from `Class318_Sub1_Sub5` (JODE-obfuscated). + * Evidence: subclass of RenderableObject (hierarchy) + */ extends RenderableObject { + static Task aClass144_8766; + static int anInt8767; + static int anInt8768; + short aShort8769; + static int anInt8770 = 0; + static int anInt8771; + static int anInt8772; + static boolean aBoolean8773 = false; + static int anInt8774; + static int anInt8775 = 2; + static int anInt8776; + static int anInt8777; + static int anInt8778; + static int anInt8779; + static int anInt8780 = 0; + short aShort8781; + + static final int method2483(int i, int i_0_) { + if (Component175.aShortArrayArray5847 != null) return Component175.aShortArrayArray5847[i][i_0_] & 0xffff; + return 0; + } + + final boolean method2378(int i) { + if (i != 0) method2378(29); + anInt8767++; + return (DisplayModeManagerContainer153.aBooleanArrayArray1572[(-Component256.anInt6111 + ((this.x >> Component149.anInt4459) - -Component197.anInt10084))][(Component197.anInt10084 + (-DebugPanicSub2.anInt8502 + (this.y >> Component149.anInt4459)))]); + } + + public static void method2484(int i) { + if (i != 0) method2487(-24); + aClass144_8766 = null; + } + + static final boolean method2485(int i) { + anInt8776++; + if (MenuOpener.menuTipSecondary == null) return false; + if ((MenuOpener.menuTipSecondary.opcode) >= 2000) MenuOpener.menuTipSecondary.opcode -= 2000; + int i_1_ = -53 % ((-41 - i) / 54); + return (MenuOpener.menuTipSecondary.opcode) == 1011; + } + + final boolean method2382(byte i) { + anInt8774++; + if (i >= -51) method2486(-102, 81, -103, -31, -95, -90); + return Component15.method1110((this.y >> Component149.anInt4459), this.method2394(true), this.aByte6376, (byte) -79, (this.x >> Component149.anInt4459)); + } + + final void method2380(GraphicsToolkit var_ha, int i, boolean bool, RenderableObject class318_sub1, int i_2_, byte i_3_, int i_4_) { + try { + anInt8768++; + if (i_3_ >= -106) method2384(null, 52); + throw new IllegalStateException(); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("un.N(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class318_sub1 != null ? "{...}" : "null") + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ')')); + } + } + + final boolean method2388(int i) { + if (i >= -65) return false; + anInt8772++; + return false; + } + + final void method2392(boolean bool) { + if (bool == true) { + anInt8779++; + throw new IllegalStateException(); + } + } + + static final void method2486(int i, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_) { + if (i_8_ >= Component27.anInt4960 && i_5_ <= Component22.anInt1745 && Component72.anInt1910 <= i_9_ && PauseTimer.anInt513 >= i_7_) Component15.method1111(i_7_, i, i_5_, i_8_, i_9_, i_6_); + else Component25.method1792(i_9_, i_8_, i_7_, i_5_, (byte) -114, i_6_); + if (i != 0) anInt8780 = 42; + anInt8777++; + } + + final int method2384(NodeSub1[] class348_sub1s, int i) { + anInt8771++; + int i_10_ = 122 % ((-14 - i) / 61); + return this.method2390(class348_sub1s, (this.x >> Component149.anInt4459), -2, (this.y >> Component149.anInt4459)); + } + + Component203(int i, int i_11_, int i_12_, int i_13_, int i_14_, int i_15_, int i_16_) { + this.aShort8769 = (short) i_16_; + this.aByte6376 = (byte) i_14_; + this.anInt6382 = i_11_; + this.x = i; + this.aShort8781 = (short) i_15_; + this.y = i_12_; + this.plane = (byte) i_13_; + } + + static final Component362 method2487(int i) { + anInt8778++; + NodeSub36.anInt6985 = 0; + if (i >= -91) anInt8775 = -63; + return Component245.method170(true); + } +} diff --git a/client/components/Component205.java b/client/components/Component205.java new file mode 100644 index 000000000..cc4d29db2 --- /dev/null +++ b/client/components/Component205.java @@ -0,0 +1,90 @@ +/* Component205 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component205 +/** + * RENAMED from `Class239_Sub12` (JODE-obfuscated). + * Evidence: subclass of Component339 (hierarchy) + */ extends Component339 { + static int anInt5960; + static int anInt5961; + static int anInt5962; + static int anInt5963; + static CacheStore aClass45_5964; + static int anInt5965; + /** Last settings cookie payload ({@link CookieBuilder#setSettingsCookie}). */ + static String settingsCookie = null; + static int anInt5967; + static int anInt5968; + static int anInt5969; + static int anInt5970; + static long aLong5971; + static int anInt5972; + static int anInt5973; + + final int method1714(int i, int i_0_) { + anInt5972++; + if (i != 3) return 121; + if (!Node.method2714(7351, this.aClass348_Sub51_3136.aClass239_Sub25_7271.method1829(-32350))) return 3; + return 1; + } + + final int method1771(int i) { + anInt5960++; + if (i != -32350) method1714(80, -99); + return this.anInt3138; + } + + final void method1712(int i, int i_1_) { + int i_2_ = -19 % ((82 - i) / 35); + this.anInt3138 = i_1_; + anInt5963++; + } + + static final void method1772(int i) { + anInt5968++; + ColorTagNode class348_sub15 = (ColorTagNode) DisplayModeManagerContainer91.aClass356_389.first(0); + if (i <= 4) settingsCookie = null; + for (/**/; class348_sub15 != null; class348_sub15 = (ColorTagNode) DisplayModeManagerContainer91.aClass356_389.next(0)) + DisplayModeManagerContainer282.method690((byte) 108, (class348_sub15.anInt6773)); + } + + public static void method1773(byte i) { + int i_3_ = -86 / ((i - 13) / 45); + settingsCookie = null; + aClass45_5964 = null; + } + + Component205(NodeSub51 class348_sub51) { + super(class348_sub51); + } + + final void method1716(boolean bool) { + if (bool != false) method1716(false); + anInt5962++; + if (this.aClass348_Sub51_3136.aClass239_Sub25_7271.method1830((byte) -119) && !Node.method2714(7351, this.aClass348_Sub51_3136.aClass239_Sub25_7271.method1829(-32350))) this.anInt3138 = 0; + if (this.anInt3138 < 0 || this.anInt3138 > 1) this.anInt3138 = method1710(20014); + } + + Component205(int i, NodeSub51 class348_sub51) { + super(i, class348_sub51); + } + + final boolean method1774(int i) { + if (i < 85) method1773((byte) 116); + anInt5961++; + return Node.method2714(7351, this.aClass348_Sub51_3136.aClass239_Sub25_7271.method1829(-32350)); + } + + final int method1710(int i) { + anInt5970++; + if (i != 20014) anInt5965 = -58; + return 0; + } + + static final void method1775(byte i, int i_4_, int i_5_) { + anInt5967++; + if (i == -8 && Component233.method2547(i_4_, (byte) 84)) DefinitionSub19.method3097((DefinitionSub33.aClass46ArrayArray9427[i_4_]), i_5_, 119); + } +} diff --git a/client/components/Component208.java b/client/components/Component208.java new file mode 100644 index 000000000..cc8969cf9 --- /dev/null +++ b/client/components/Component208.java @@ -0,0 +1,154 @@ +/* Component208 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component208 +/** + * RENAMED from {@code Class117} (JODE-obfuscated). + * CS2/enum config type: maps int keys to int or String values with typed + * {@link #keyType}/{@link #valueType} chars, defaults, and optional reverse lookup. + */ { + static int anInt1763; + /** Default int returned by {@link #getInt} when the key is missing. */ + private int defaultInt; + static int anInt1765; + static StringCache aClass351_1766 = new StringCache(74, -1); + /** Forward map: key → {@link NodeSub35} (int) or {@link NodeSub50} (String). */ + LruCache values; + static int anInt1768; + static int anInt1769; + /** Reverse map built on demand for contains*Value queries. */ + private LruCache reverseLookup; + static int anInt1771; + static int anInt1772; + static int anInt1773; + /** Default String returned by {@link #getString} when the key is missing. */ + private String defaultString = "null"; + static int anInt1775; + static int anInt1776; + static int anInt1777; + /** Script type char for keys (e.g. {@code i}/{@code s}). */ + char keyType; + /** Script type char for values. */ + char valueType; + static int anInt1780 = 0; + + /** Nulls static string-cache handle. */ + public static void clearStatics(int i) { + if (i != -3) aClass351_1766 = null; + aClass351_1766 = null; + } + + /** Decodes one enum opcode from {@code class348_sub49} (types, defaults, value table). */ + private final void decodeOpcode(Buffer class348_sub49, int i, int i_0_) { + if (i_0_ == 1) this.keyType = Cp1252Decoder.method462(class348_sub49.readByte(-91), -128); + else if (i_0_ == 2) this.valueType = Cp1252Decoder.method462(class348_sub49.readByte(-119), -128); + else if (i_0_ == 3) defaultString = class348_sub49.readString((byte) 86); + else if (i_0_ == 4) defaultInt = class348_sub49.readInt((byte) -126); + else if (i_0_ == 5 || i_0_ == 6) { + int i_1_ = class348_sub49.readUnsignedShort(i ^ ~0x3235ab57); + this.values = new LruCache(Component373.nextPowerOfTwo(i_1_, (byte) 108)); + for (int i_2_ = 0; i_2_ < i_1_; i_2_++) { + int i_3_ = class348_sub49.readInt((byte) -126); + Node class348; + if (i_0_ != 5) class348 = new NodeSub35(class348_sub49.readInt((byte) -126)); + else class348 = new NodeSub50(class348_sub49.readString((byte) -35)); + this.values.put((byte) 21, i_3_, class348); + } + } + anInt1765++; + if (i != -21424) buildIntReverseLookup((byte) -15); + } + + /** True if any mapped String value equals {@code string} (builds reverse lookup). */ + final boolean containsStringValue(boolean bool, String string) { + anInt1776++; + if (this.values == null) return false; + if (bool != false) reverseLookup = null; + if (reverseLookup == null) buildStringReverseLookup(true); + for (NodeSub46 class348_sub46 = ((NodeSub46) reverseLookup.get(DisplayModeManagerContainer260.hashString(string, (byte) 109), -6008)); class348_sub46 != null; class348_sub46 = (NodeSub46) reverseLookup.continueGet(true)) { + if (class348_sub46.name.equals(string)) return true; + } + return false; + } + + /** True if any mapped int value equals {@code i} (builds reverse lookup). */ + final boolean containsIntValue(boolean bool, int i) { + anInt1773++; + if (this.values == null) return false; + if (bool != true) return true; + if (reverseLookup == null) buildIntReverseLookup((byte) 120); + NodeSub35 class348_sub35 = (NodeSub35) reverseLookup.get(i, -6008); + return class348_sub35 != null; + } + + /** Builds reverseLookup keyed by int value → original key node. */ + private final void buildIntReverseLookup(byte i) { + anInt1772++; + reverseLookup = new LruCache(this.values.getCapacity(true)); + for (NodeSub35 class348_sub35 = ((NodeSub35) this.values.first(0)); class348_sub35 != null; class348_sub35 = (NodeSub35) this.values.next(0)) { + NodeSub35 class348_sub35_4_ = new NodeSub35((int) class348_sub35.key); + reverseLookup.put((byte) 26, class348_sub35.intValue, class348_sub35_4_); + } + if (i < 85) decode(111, null); + } + + /** Reads the full enum definition (opcode stream terminated by 0). */ + final void decode(int i, Buffer class348_sub49) { + anInt1763++; + for (; ; ) { + int i_5_ = class348_sub49.readUnsignedByte(i + 255); + if (i_5_ == 0) break; + decodeOpcode(class348_sub49, i + -21424, i_5_); + } + if (i != 0) defaultString = null; + } + + /** Ensures {@link DisplayModeManagerContainer207#anIntArray9757} can hold {@code i_6_} ints. */ + static final void ensureIntArrayCapacity(byte i, int i_6_) { + if (i < 109) anInt1780 = 10; + anInt1769++; + if (DisplayModeManagerContainer207.anIntArray9757 == null || DisplayModeManagerContainer207.anIntArray9757.length < i_6_) DisplayModeManagerContainer207.anIntArray9757 = new int[i_6_]; + } + + /** Builds reverseLookup keyed by {@link DisplayModeManagerContainer260#hashString} of values. */ + private final void buildStringReverseLookup(boolean bool) { + reverseLookup = new LruCache(this.values.getCapacity(bool)); + anInt1768++; + for (NodeSub50 class348_sub50 = ((NodeSub50) this.values.first(0)); class348_sub50 != null; class348_sub50 = (NodeSub50) this.values.next(0)) { + NodeSub46 class348_sub46 = new NodeSub46((class348_sub50.stringValue), (int) (class348_sub50.key)); + reverseLookup.put((byte) 102, DisplayModeManagerContainer260.hashString((class348_sub50.stringValue), (byte) 120), class348_sub46); + } + } + + /** Sets the JS5 store used when loading enum definitions. */ + static final void setEnumCacheStore(CacheStore class45, byte i) { + if (i >= -91) ensureIntArrayCapacity((byte) -93, 92); + Component205.aClass45_5964 = class45; + anInt1771++; + } + + /** Returns the int value for key {@code i}, or {@link #defaultInt}. */ + final int getInt(boolean bool, int i) { + if (bool != false) containsIntValue(false, -31); + anInt1775++; + if (this.values == null) return defaultInt; + NodeSub35 class348_sub35 = ((NodeSub35) this.values.get(i, -6008)); + if (class348_sub35 == null) return defaultInt; + return class348_sub35.intValue; + } + + public Component208() { + /* empty */ + } + + /** Returns the String value for key {@code i}, or {@link #defaultString}. */ + final String getString(int i, int i_7_) { + anInt1777++; + if (i_7_ <= 60) return null; + if (this.values == null) return defaultString; + NodeSub50 class348_sub50 = ((NodeSub50) this.values.get(i, -6008)); + if (class348_sub50 == null) return defaultString; + return class348_sub50.stringValue; + } +} diff --git a/client/components/Component209.java b/client/components/Component209.java new file mode 100644 index 000000000..5394be375 --- /dev/null +++ b/client/components/Component209.java @@ -0,0 +1,107 @@ +/* Component209 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component209 +/** + * RENAMED from `Class269` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3450; + static int anInt3451; + Interface18_Impl1 anInterface18_Impl1_3452 = null; + static Component46 aClass217_3453; + private Interface18_Impl3[] anInterface18_Impl3Array3454; + Interface18_Impl1 anInterface18_Impl1_3455 = null; + static int anInt3456; + private final GlToolkitSub3 aHa_Sub3_3457; + boolean aBoolean3458; + Interface18_Impl3[] anInterface18_Impl3Array3459; + static int anInt3460; + static int anInt3461; + static float aFloat3462; + + final boolean method2039(int i) { + anInt3461++; + if (i < 81) this.anInterface18_Impl1_3452 = null; + if (!this.aBoolean3458) { + return this.anInterface18_Impl3Array3459 != null; + } + return this.anInterface18_Impl1_3452 != null; + } + + static final void method2040(int i, boolean bool) { + Component316.anInt2482 = i; + if (bool != true) aFloat3462 = -0.54794437F; + anInt3450++; + synchronized (DisplayModeManagerContainer173.aClass60_4254) { + DisplayModeManagerContainer173.aClass60_4254.clear(0); + } + } + + final boolean method2041(byte i) { + if (i < 42) aFloat3462 = 2.1357973F; + if (this.anInterface18_Impl1_3455 == null) { + if (NodeList.anObject3331 == null) { + byte[] is = Component2.method194(128, -1922, 8, 0.6F, 128, 4.0F, 4.0F, 0.5F, 16.0F, new Component134(419684), 16); + NodeList.anObject3331 = BrowserDetector.wrapSoft(is, false, (byte) 87); + } + byte[] is = Cp1252Decoder.unwrapBytes(false, NodeList.anObject3331, 53146732); + byte[] is_0_ = new byte[4 * is.length]; + int i_1_ = 0; + for (int i_2_ = 0; i_2_ < 16; i_2_++) { + int i_3_ = 128 * (i_2_ * 128); + int i_4_ = i_3_; + for (int i_5_ = 0; i_5_ < 128; i_5_++) { + int i_6_ = 128 * i_5_ + i_4_; + int i_7_ = (0x7f & -1 + i_5_) * 128 + i_4_; + int i_8_ = i_4_ + 128 * (0x7f & 1 + i_5_); + for (int i_9_ = 0; i_9_ < 128; i_9_++) { + float f = (float) ((is[i_9_ + i_7_] & 0xff) - (is[i_9_ + i_8_] & 0xff)); + float f_10_ = (float) ((0xff & is[(-1 + i_9_ & 0x7f) + i_6_]) - (0xff & is[i_6_ - -(i_9_ - -1 & 0x7f)])); + float f_11_ = (float) (128.0 / (Math.sqrt(f * f + (16384.0F + f_10_ * f_10_)))); + is_0_[i_1_++] = (byte) (int) (f_10_ * f_11_ + 127.0F); + is_0_[i_1_++] = (byte) (int) (128.0F * f_11_ + 127.0F); + is_0_[i_1_++] = (byte) (int) (f_11_ * f + 127.0F); + is_0_[i_1_++] = is[i_3_++]; + } + } + } + this.anInterface18_Impl1_3455 = aHa_Sub3_3457.method3872(16, 128, Component83.aClass304_1662, true, 128, is_0_); + } + anInt3456++; + return this.anInterface18_Impl1_3455 != null; + } + + public static void method2042(byte i) { + if (i == -67) aClass217_3453 = null; + } + + Component209(GlToolkitSub3 var_ha_Sub3) { + anInterface18_Impl3Array3454 = null; + this.anInterface18_Impl3Array3459 = null; + aHa_Sub3_3457 = var_ha_Sub3; + this.aBoolean3458 = aHa_Sub3_3457.aBoolean8159; + if (this.aBoolean3458 && !aHa_Sub3_3457.method3931(true, ImageCache.aClass304_2571, Component342.aClass68_1183)) this.aBoolean3458 = false; + if (this.aBoolean3458 || aHa_Sub3_3457.method3880(Component342.aClass68_1183, ImageCache.aClass304_2571, (byte) 123)) { + OutputStream_Sub1.method134((byte) -126); + if (this.aBoolean3458) { + byte[] is = Cp1252Decoder.unwrapBytes(false, Component117.anObject4366, 53146732); + this.anInterface18_Impl1_3452 = aHa_Sub3_3457.method3872(16, 128, ImageCache.aClass304_2571, true, 128, is); + is = Cp1252Decoder.unwrapBytes(false, Component150.anObject2969, 53146732); + aHa_Sub3_3457.method3872(16, 128, ImageCache.aClass304_2571, true, 128, is); + } else { + this.anInterface18_Impl3Array3459 = new Interface18_Impl3[16]; + for (int i = 0; i < 16; i++) { + byte[] is = Component75.method1331((byte) 100, Component117.anObject4366, 128 * (i * 128 * 2), 32768); + this.anInterface18_Impl3Array3459[i] = aHa_Sub3_3457.method3944(is, 128, ImageCache.aClass304_2571, 2, true, 128); + } + anInterface18_Impl3Array3454 = new Interface18_Impl3[16]; + for (int i = 0; i < 16; i++) { + byte[] is = Component75.method1331((byte) 120, Component150.anObject2969, 128 * (128 * i) * 2, 32768); + anInterface18_Impl3Array3454[i] = aHa_Sub3_3457.method3944(is, 128, ImageCache.aClass304_2571, 2, true, 128); + } + } + } + } +} diff --git a/client/components/Component21.java b/client/components/Component21.java new file mode 100644 index 000000000..7965b6927 --- /dev/null +++ b/client/components/Component21.java @@ -0,0 +1,73 @@ +/* Component21 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component21 +/** + * RENAMED from `Class282` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3651; + /** True for stereo PCM (2 channels). */ + static boolean stereo; + static int anInt3653; + static LruCache aClass356_3654; + static int anInt3655 = 0; + + static final void method2109(int i) { + anInt3653++; + HashNodeSub18 class348_sub42_sub18 = ((HashNodeSub18) DefinitionSub17.aClass262_9240.first(4)); + if (i != 512) method2110(-125, 79, 70); + for (/**/; class348_sub42_sub18 != null; class348_sub42_sub18 = (HashNodeSub18) DefinitionSub17.aClass262_9240.next((byte) 56)) { + DisplayModeManagerContainer174 class318_sub1_sub3_sub5 = (class348_sub42_sub18.aClass318_Sub1_Sub3_Sub5_9682); + if (OpenGlShader.clientCycle > class318_sub1_sub3_sub5.anInt10392) { + class348_sub42_sub18.unlink((byte) 101); + class318_sub1_sub3_sub5.method2472(-2159); + } else if ((class318_sub1_sub3_sub5.anInt10411) <= OpenGlShader.clientCycle) { + class318_sub1_sub3_sub5.method2474((byte) 121); + if ((class318_sub1_sub3_sub5.anInt10412) > 0) { + NodeSub22 class348_sub22 = ((NodeSub22) (aClass356_3654.get(-1 + class318_sub1_sub3_sub5.anInt10412, -6008))); + if (class348_sub22 != null) { + Npc npc = (class348_sub22.npc); + if ((npc.x) >= 0 && (AbstractShaderSub4.anInt7319 * 512 > npc.x) && (npc.y) >= 0 && (512 * ParametricDefinition.anInt9109 > npc.y)) + class318_sub1_sub3_sub5.method2471((byte) -103, ((Component300.method2064(npc.x, (class318_sub1_sub3_sub5.plane), 11219, npc.y)) + -class318_sub1_sub3_sub5.anInt10366), npc.y, OpenGlShader.clientCycle, npc.x); + } + } + if ((class318_sub1_sub3_sub5.anInt10412) < 0) { + int i_0_ = -(class318_sub1_sub3_sub5.anInt10412) - 1; + Player player; + if (i_0_ == StringDefinition.anInt9591) player = Component72.localPlayer; + else player = (InterfaceRenderer.players[i_0_]); + if (player != null && (player.x) >= 0 && ((player.x) < 512 * AbstractShaderSub4.anInt7319) && (player.y) >= 0 && (player.y) < 512 * ParametricDefinition.anInt9109) + class318_sub1_sub3_sub5.method2471((byte) -103, ((Component300.method2064((player.x), (class318_sub1_sub3_sub5.plane), 11219, (player.y))) - class318_sub1_sub3_sub5.anInt10366), (player.y), OpenGlShader.clientCycle, (player.x)); + } + class318_sub1_sub3_sub5.method2475((byte) 75, NodeSub51.anInt7267); + Component84.method850(class318_sub1_sub3_sub5, true); + } + } + } + + static final DisplayModeManagerContainer343 method2110(int i, int i_1_, int i_2_) { + Component186 class357 = Component335.aClass357ArrayArrayArray2029[i][i_1_][i_2_]; + if (class357 == null) return null; + DisplayModeManagerContainer343 class318_sub1_sub2 = class357.aClass318_Sub1_Sub2_4408; + class357.aClass318_Sub1_Sub2_4408 = null; + Component191.method1376(class318_sub1_sub2); + return class318_sub1_sub2; + } + + public static void method2111(byte i) { + aClass356_3654 = null; + if (i <= 56) method2111((byte) -49); + } + + static final boolean method2112(int i, int i_3_) { + anInt3651++; + if (i <= 121) return false; + return i_3_ == 3 || i_3_ == 4; + } + + static { + aClass356_3654 = new LruCache(64); + } +} diff --git a/client/components/Component210.java b/client/components/Component210.java new file mode 100644 index 000000000..7babcfed5 --- /dev/null +++ b/client/components/Component210.java @@ -0,0 +1,345 @@ +/* Component210 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaggl.OpenGL; + +class Component210 +/** + * RENAMED from {@code Class59_Sub1}. OpenGL mipmap / noise texture helper + * ({@link DisplayModeManagerContainer213} subclass) — and hosts static + * developer-console helpers that JODE parked here: + * {@link #submitConsoleLine}, {@link #decorateItemConsoleEcho}, {@link #stripItemConsoleEcho}. + *

+ * {@link #gameCanvasAttached} mirrors the graphics pref that binds the game canvas + * to the toolkit (alternate present path when true). + */ extends DisplayModeManagerContainer213 { + static int anInt5277; + private final int anInt5278; + private final int anInt5279; + private int anInt5280; + static int anInt5281; + static int anInt5282; + static int anInt5283; + static int anInt5284; + private int anInt5285; + static int anInt5286; + private int anInt5287; + static StringCache aClass351_5288 = new StringCache(7, 6); + private int anInt5289; + private int anInt5290; + static int anInt5291; + static int anInt5292; + static int anInt5293; + static Component24[] aClass105Array5294; + static int anInt5295; + private byte[] aByteArray5296; + static ReflectionInvoker aClass297_5297; + private final int anInt5298; + static float aFloat5299; + /** + * True when the active graphics preference has attached {@code gameCanvas} to the + * toolkit ({@code HashNodeSub3} sync). Gates toolkit present vs software blit paths. + */ + static boolean gameCanvasAttached = false; + + void method550(int i, byte i_0_, byte i_1_) { + if (i_1_ != 14) submitConsoleLine(true, -38); + anInt5281++; + aByteArray5296[i] = i_0_; + } + + final void method543(boolean bool) { + anInt5287 = 0; + if (bool != true) submitConsoleLine(false, -53); + anInt5290 = 0; + anInt5291++; + } + + static final void method551(int i, int i_2_, int i_3_, float[] fs, int i_4_, int i_5_, int i_6_) { + anInt5277++; + if (i_4_ < i && !Component353.method1436(i_4_ + -23, i)) throw new IllegalArgumentException(""); + if (i_5_ > 0 && !Component353.method1436(56, i_5_)) throw new IllegalArgumentException(""); + int i_7_ = Component191.method1382(i_2_, -6409); + int i_8_ = 0; + int i_9_ = Math.min(i_5_, i); + int i_10_ = i >> 1; + int i_11_ = i_5_ >> 1; + float[] fs_12_ = fs; + float[] fs_13_ = new float[i_7_ * i_10_ * i_11_]; + for (; ; ) { + OpenGL.glTexImage2Df(i_3_, i_8_, i_6_, i, i_5_, 0, i_2_, 5126, fs_12_, 0); + if (i_9_ <= 1) break; + int i_14_ = i * i_7_; + float[] fs_15_ = fs_13_; + for (int i_16_ = 0; i_16_ < i_7_; i_16_++) { + int i_17_ = i_16_; + int i_18_ = i_16_; + int i_19_ = i_14_ + i_18_; + for (int i_20_ = 0; i_11_ > i_20_; i_20_++) { + for (int i_21_ = 0; i_10_ > i_21_; i_21_++) { + float f = fs_12_[i_18_]; + i_18_ += i_7_; + f += fs_12_[i_18_]; + i_18_ += i_7_; + f += fs_12_[i_19_]; + i_19_ += i_7_; + f += fs_12_[i_19_]; + i_19_ += i_7_; + fs_13_[i_17_] = f * 0.25F; + i_17_ += i_7_; + } + i_18_ += i_14_; + i_19_ += i_14_; + } + } + fs_13_ = fs_12_; + fs_12_ = fs_15_; + i = i_10_; + i_5_ = i_11_; + i_8_++; + i_9_ >>= 1; + i_10_ >>= 1; + i_11_ >>= 1; + } + } + + Component210(int i, int i_22_, int i_23_, int i_24_, int i_25_, float f, float f_26_, float f_27_) { + super(i, i_22_, i_23_, i_24_, i_25_); + anInt5298 = (int) (4096.0F * f_27_); + anInt5278 = (int) (f_26_ * 4096.0F); + anInt5285 = anInt5279 = (int) (Math.pow(0.5, -f) * 4096.0); + } + + static final boolean method552(int i, int i_28_, byte i_29_, int i_30_, int i_31_, int i_32_, byte[] is) { + anInt5282++; + int i_33_ = i_31_ % i_30_; + int i_34_ = 39 / ((31 - i_29_) / 63); + int i_35_; + if (i_33_ != 0) i_35_ = i_30_ - i_33_; + else i_35_ = 0; + int i_36_ = -((i_28_ - -i_30_ + -1) / i_30_); + int i_37_ = -((i_30_ + i_31_ - 1) / i_30_); + for (int i_38_ = i_36_; i_38_ < 0; i_38_++) { + for (int i_39_ = i_37_; i_39_ < 0; i_39_++) { + if (is[i_32_] == 0) return true; + i_32_ += i_30_; + } + i_32_ -= i_35_; + if (is[i_32_ + -1] == 0) return true; + i_32_ += i; + } + return false; + } + + final void method546(int i, int i_40_, int i_41_) { + if (i_41_ == -2) { + if (i_40_ == 0) { + anInt5280 = -(i >= 0 ? i : -i) + anInt5278; + anInt5289 = 4096; + anInt5280 = anInt5280 * anInt5280 >> 12; + anInt5290 = anInt5280; + } else { + anInt5289 = anInt5280 * anInt5298 >> 12; + if (anInt5289 < 0) anInt5289 = 0; + else if (anInt5289 > 4096) anInt5289 = 4096; + anInt5280 = anInt5278 + -(i < 0 ? -i : i); + anInt5280 = anInt5280 * anInt5280 >> 12; + anInt5280 = anInt5289 * anInt5280 >> 12; + anInt5290 += anInt5280 * anInt5285 >> 12; + anInt5285 = anInt5285 * anInt5279 >> 12; + } + anInt5292++; + } + } + + public static void method553(int i) { + aClass105Array5294 = null; + aClass351_5288 = null; + if (i != 0) aClass297_5297 = null; + aClass297_5297 = null; + } + + /** CRC32 over {@code is[0..i_42_)}. {@code i} must be 5126. */ + static final int crc32(int i, int i_42_, byte[] is) { + if (i != 5126) method553(52); + anInt5284++; + return Component382.computeCrc32(i_42_, true, is, 0); + } + + /** + * Submits {@link Component126#consoleInput} to {@link CommandHandler#handleCommand} + * (console enter). When {@code silent} is false, echoes {@code --> ...} and clears the line. + *

+ * {@code item ...} echoes with the item name appended for readability + * ({@code item 12345 1 (Abyssal whip)}); the string sent to the server stays undecorated. + *

+ * On mobile, hides the soft keyboard after a real submit so the purple band shrinks + * back to compact height and the inventory / world underneath are visible again + * (history re-run used to leave the IME up and cover the whole game view). + * + * @param silent when {@code true}, run the command without echoing / clearing the prompt + * (e.g. console key path that peeks without Enter). + * @param lengthGuard must differ from {@link Component126#consoleInput}{@ + * (obfuscator junk — callers pass {@code 0}). + */ + static final void submitConsoleLine(boolean silent, int lengthGuard) { + anInt5286++; + if (lengthGuard != Component126.consoleInput.length()) { + // Strip any prior "(name)" decoration (e.g. history up-arrow / re-run) before send. + String raw = stripItemConsoleEcho(Component126.consoleInput); + CommandHandler.handleCommand(raw, false, silent, (byte) -79); + if (!silent) { + Applet_Sub1.printConsole("--> " + decorateItemConsoleEcho(raw), 110); + NodeSub38.consoleCursor = 0; + Component126.consoleInput = ""; + Component92.consoleHistoryDepth = 0; + // History taps deliberately skip host IME toggle; still drop the keyboard + // here so spawn commands (item/tele/…) are not hidden under the expanded band. + MobileKeyboard.requestHide("console-submit"); + } + } + } + + /** + * True when {@code s} is an {@code item} admin command ({@code item} / {@code item ...}). + */ + private static boolean isItemCommand(String s) { + if (s == null) { + return false; + } + String t = s.trim(); + if (t.length() < 4 || !t.regionMatches(true, 0, "item", 0, 4)) { + return false; + } + return t.length() == 4 || t.charAt(4) == ' '; + } + + /** + * End index (exclusive) of {@code item [amount]} in a trimmed item command, + * or {@code -1} if the id is missing. Ignores a trailing {@code (name)} decoration + * so names with nested parens (e.g. {@code Overload (4)}) do not confuse strip/decorate. + */ + private static int itemCommandArgsEnd(String trimmed) { + if (!isItemCommand(trimmed)) { + return -1; + } + int i = 4; // after "item" + int n = trimmed.length(); + while (i < n && trimmed.charAt(i) == ' ') { + i++; + } + if (i >= n) { + return -1; + } + // item-id (non-space token) + while (i < n && trimmed.charAt(i) != ' ') { + i++; + } + int afterId = i; + while (i < n && trimmed.charAt(i) == ' ') { + i++; + } + // optional item-amount (digits only — decoration starts with '(') + if (i < n && trimmed.charAt(i) >= '0' && trimmed.charAt(i) <= '9') { + while (i < n && trimmed.charAt(i) >= '0' && trimmed.charAt(i) <= '9') { + i++; + } + return i; + } + return afterId; + } + + /** + * True when {@code trimmed} is {@code item [amount] (…)} display decoration + * (name may itself contain parentheses). + */ + private static boolean hasItemConsoleDecoration(String trimmed) { + int end = itemCommandArgsEnd(trimmed); + if (end < 0) { + return false; + } + String rest = trimmed.substring(end).trim(); + return rest.length() >= 2 && rest.charAt(0) == '(' && rest.charAt(rest.length() - 1) == ')'; + } + + /** + * Appends {@code (itemName)} to {@code item ...} for console history display. + * Leaves non-item lines and already-decorated lines unchanged. + */ + static String decorateItemConsoleEcho(String cmd) { + if (cmd == null) { + return null; + } + String trimmed = cmd.trim(); + if (trimmed.length() == 0) { + return cmd; + } + if (!isItemCommand(trimmed)) { + return cmd; + } + // Already decorated: "item 12345 1 (Name)" / "item 15332 (Overload (4))" + if (hasItemConsoleDecoration(trimmed)) { + return cmd; + } + int argsEnd = itemCommandArgsEnd(trimmed); + if (argsEnd < 0) { + return cmd; + } + String args = trimmed.substring(0, argsEnd).trim(); + String[] parts = args.split("\\s+"); + if (parts.length < 2) { + return cmd; + } + int id; + try { + id = Integer.parseInt(parts[1]); + } catch (NumberFormatException e) { + return cmd; + } + if (Exception_Sub1.itemDefinitions == null) { + return cmd; + } + try { + // First arg is obfuscator junk — must keep (junk-13)/59 != 0 or getItemDefinition divides by zero. + ItemDefinition def = Exception_Sub1.itemDefinitions.getItemDefinition(90, id); + if (def == null || def.itemName == null || def.itemName.length() == 0 + || "null".equals(def.itemName)) { + return cmd; + } + return args + " (" + def.itemName + ")"; + } catch (RuntimeException e) { + // Never block console submit on a bad/missing item def. + return cmd; + } + } + + /** + * Removes a trailing {@code (itemName)} decoration from an {@code item ...} console line + * so history recall / re-run still sends a clean admin command to the server. + * Names with nested parens (e.g. {@code Overload (4)}) must not truncate mid-name. + */ + static String stripItemConsoleEcho(String cmd) { + if (cmd == null) { + return null; + } + String trimmed = cmd.trim(); + if (!hasItemConsoleDecoration(trimmed)) { + return cmd; + } + int end = itemCommandArgsEnd(trimmed); + return trimmed.substring(0, end).trim(); + } + + final void method541(int i) { + anInt5285 = anInt5279; + anInt5290 >>= 4; + anInt5295++; + if (anInt5290 >= 0) { + if (anInt5290 > 255) anInt5290 = 255; + } else anInt5290 = 0; + if (i != -1538606516) anInt5289 = 17; + method550(anInt5287++, (byte) anInt5290, (byte) 14); + anInt5290 = 0; + } +} diff --git a/client/components/Component211.java b/client/components/Component211.java new file mode 100644 index 000000000..420b8374d --- /dev/null +++ b/client/components/Component211.java @@ -0,0 +1,84 @@ +/* Component211 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.awt.*; + +final class Component211 +/** + * RENAMED from `Class140` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt1956; + static int anInt1957; + static int anInt1958; + static Component183 aClass114_1959 = new Component183(81, 6); + static int anInt1960; + static StringCache aClass351_1961 = new StringCache(77, -1); + static int anInt1962; + + static final void method1168(int i, int i_0_, Rectangle[] rectangles) throws Exception_Sub1 { + anInt1957++; + if (Buffer.anInt7207 != 1) Component158.aHa326.method3707(rectangles, i, 0, 0); + else Component158.aHa326.method3707(rectangles, i, NewsFetcher.anInt4211, DefinitionSub8.anInt9157); + if (i_0_ != 0) aClass351_1961 = null; + } + + public static void method1169(boolean bool) { + aClass351_1961 = null; + aClass114_1959 = null; + if (bool != false) aClass351_1961 = null; + } + + static final void method1170(byte i) { + anInt1956++; + if (Component225.aFrame476 == null) { + int i_1_ = NodeSub48.anInt7129; + int i_2_ = DisplayModeManagerContainer147.anInt4167; + if (i > -25) method1172((byte) -22, -1); + int i_3_ = -i_1_ + -Component236.anInt4017 + SocketConnector.anInt3473; + int i_4_ = -i_2_ + (NodeSub22.anInt6857 + -PacketReader.anInt10432); + do { + if (i_1_ > 0 || i_3_ > 0 || i_2_ > 0 || i_4_ > 0) { + try { + java.awt.Container container; + if (RSACipher.aFrame4904 == null) { + if (ToolkitFactory.anApplet1530 == null) container = DefinitionSub9.anApplet_Sub1_9169; + else container = ToolkitFactory.anApplet1530; + } else container = RSACipher.aFrame4904; + int i_5_ = 0; + int i_6_ = 0; + if (container == RSACipher.aFrame4904) { + Insets insets = RSACipher.aFrame4904.getInsets(); + i_5_ = insets.left; + i_6_ = insets.top; + } + Graphics graphics = container.getGraphics(); + graphics.setColor(Color.black); + if (i_1_ > 0) graphics.fillRect(i_5_, i_6_, i_1_, NodeSub22.anInt6857); + if (i_2_ > 0) graphics.fillRect(i_5_, i_6_, SocketConnector.anInt3473, i_2_); + if (i_3_ > 0) graphics.fillRect((-i_3_ + SocketConnector.anInt3473 + i_5_), i_6_, i_3_, NodeSub22.anInt6857); + if (i_4_ <= 0) break; + graphics.fillRect(i_5_, NodeSub22.anInt6857 + (i_6_ - i_4_), SocketConnector.anInt3473, i_4_); + } catch (Exception exception) { + break; + } + break; + } + } while (false); + } + } + + static final String method1171(int i, int i_7_, boolean bool) { + if (i_7_ < 43) return null; + anInt1958++; + if (!bool || i < 0) return Integer.toString(i); + return WaterShader.method3551(8320, 10, i, bool); + } + + static final boolean method1172(byte i, int i_8_) { + anInt1960++; + int i_9_ = 35 / ((-45 - i) / 38); + return (i_8_ >= 0 && i_8_ <= 3) || i_8_ == 9; + } +} diff --git a/client/components/Component212.java b/client/components/Component212.java new file mode 100644 index 000000000..0c171394c --- /dev/null +++ b/client/components/Component212.java @@ -0,0 +1,284 @@ +/* Component212 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component212 +/** + * RENAMED from `Class318_Sub1_Sub1_Sub2` (JODE-obfuscated). + * Evidence: subclass of DisplayModeManagerContainer28 (hierarchy) + */ extends DisplayModeManagerContainer28 implements Interface10 { + static int anInt9969; + static int anInt9970; + static int anInt9971 = 0; + static int anInt9972; + static int anInt9973; + private final boolean aBoolean9974; + static int anInt9975; + private r aR9976; + static int anInt9977; + static int anInt9978; + static int anInt9979; + private final byte aByte9980; + static int[] anIntArray9981 = new int[5]; + static int anInt9982; + private boolean aBoolean9983; + static int anInt9984; + static int anInt9985; + static int anInt9986; + static int anInt9987; + private final boolean aBoolean9988; + private boolean aBoolean9989; + static int anInt9990; + private short aShort9991; + static int anInt9992; + private DisplayModeManagerContainer370 aClass64_9993; + static int anInt9994; + static int anInt9995; + static int anInt9996; + static int anInt9997 = 1; + static int anInt9998; + private ComponentDownloader aClass30_9999; + static int anInt10000; + static int anInt10001; + static int anInt10002; + + public static void method2400(byte i) { + if (i != 3) anIntArray9981 = null; + anIntArray9981 = null; + } + + final void method2380(GraphicsToolkit var_ha, int i, boolean bool, RenderableObject class318_sub1, int i_0_, byte i_1_, int i_2_) { + do { + try { + anInt9970++; + if (i_1_ > -106) method2402(-5, (byte) 56); + if (!(class318_sub1 instanceof Component212)) break; + Component212 class318_sub1_sub1_sub2_3_ = (Component212) class318_sub1; + if (aClass64_9993 == null || class318_sub1_sub1_sub2_3_.aClass64_9993 == null) break; + aClass64_9993.method613((class318_sub1_sub1_sub2_3_.aClass64_9993), i_2_, i, i_0_, bool); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("uo.N(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class318_sub1 != null ? "{...}" : "null") + ',' + i_0_ + ',' + i_1_ + ',' + i_2_ + ')')); + } + break; + } while (false); + } + + final int method2379(int i) { + anInt10000++; + if (i != -25675) return -120; + if (aClass64_9993 == null) return 0; + return aClass64_9993.ma(); + } + + public final void method43(GraphicsToolkit var_ha, int i) { + anInt9995++; + if (i != -14218) method2404(null, -47, 49); + Object object = null; + r var_r; + if (aR9976 == null && aBoolean9988) { + Component245 class2 = method2401(var_ha, 262144, true, 22); + var_r = class2 == null ? null : class2.aR118; + } else { + var_r = aR9976; + aR9976 = null; + } + if (var_r != null) RequestProcessor.method1301(var_r, this.aByte6376, this.x, this.y, null); + } + + private final Component245 method2401(GraphicsToolkit var_ha, int i, boolean bool, int i_4_) { + anInt9985++; + if (i_4_ != 22) method2404(null, -21, -25); + Component44 class51 = GradientPreset.aClass263_9195.method2005(0, aShort9991 & 0xffff); + s var_s; + s var_s_5_; + if (aBoolean9983) { + var_s = Component9.aSArray4142[this.aByte6376]; + var_s_5_ = NodeSub1Sub1.aSArray8801[0]; + } else { + var_s = (NodeSub1Sub1.aSArray8801[this.aByte6376]); + if (this.aByte6376 < 3) var_s_5_ = (NodeSub1Sub1.aSArray8801[1 + this.aByte6376]); + else var_s_5_ = null; + } + return class51.method476(var_ha, var_s_5_, 22, i, this.x, bool, var_s, this.anInt6382, this.y, aByte9980, 128); + } + + static final boolean method2402(int i, byte i_6_) { + anInt9994++; + if (i_6_ >= -52) return true; + return i == 4 || i == 8 || i == 11; + } + + final void method2392(boolean bool) { + anInt9972++; + if (bool == true) { + aBoolean9989 = false; + if (aClass64_9993 != null) aClass64_9993.s(~0x10000 & aClass64_9993.ua()); + } + } + + public final int method42(int i) { + anInt9969++; + if (i >= -62) return -1; + return aShort9991 & 0xffff; + } + + final RenderableSub4 method2386(int i, GraphicsToolkit var_ha) { + anInt9990++; + if (aClass64_9993 == null) return null; + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + class101.method894(this.x, this.anInt6382, this.y); + RenderableSub4 class318_sub4 = OutputStream_Sub2.method136(i, aBoolean9974, false); + if (DisplayModeManagerContainer50.aBoolean3870) aClass64_9993.method608(class101, (class318_sub4.aClass318_Sub3Array6414[0]), Component72.anInt1906, 0); + else aClass64_9993.method615(class101, (class318_sub4.aClass318_Sub3Array6414[0]), 0); + return class318_sub4; + } + + public final boolean method38(int i) { + if (i != -18443) aClass30_9999 = null; + anInt10002++; + return aBoolean9988; + } + + final boolean method2388(int i) { + if (i > -65) return true; + anInt9978++; + return aBoolean9989; + } + + final boolean method2376(int i) { + if (i >= -12) method2392(true); + anInt9975++; + if (aClass64_9993 != null) { + return !aClass64_9993.r(); + } + return true; + } + + final int method2394(boolean bool) { + anInt9979++; + if (bool != true) method38(-4); + if (aClass64_9993 != null) return aClass64_9993.fa(); + return 0; + } + + public final int method41(int i) { + anInt10001++; + if (i != -32228) method2394(false); + return aByte9980; + } + + static final void method2403(int i, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_, int i_12_) { + anInt9977++; + if (i_10_ != 19206) method2402(-3, (byte) 46); + Component114[] class302s = NodeSub27.aClass302Array6897; + for (int i_13_ = 0; i_13_ < class302s.length; i_13_++) { + Component114 class302 = class302s[i_13_]; + if (class302 != null && class302.anInt3840 == 2) { + RenderableSub5.method2505(i_9_ >> 1, 2 * class302.anInt3839, 0, i_12_, i_11_ >> 1, class302.anInt3838, class302.anInt3832, i_7_, class302.anInt3835); + if (Component71.anIntArray6062[0] > -1 && OpenGlShader.clientCycle % 20 < 10) { + Component24 class105 = (Component379.aClass105Array5933[class302.anInt3831]); + int i_14_ = -12 + (i - -Component71.anIntArray6062[0]); + int i_15_ = i_8_ - -Component71.anIntArray6062[1] - 28; + class105.method974(i_14_, i_15_); + Component103.method2663(-5590, i_14_, i_14_ - -class105.method966(), i_15_, class105.method980() + i_15_); + } + } + } + } + + public final void method40(int i) { + if (i == -12031) { + anInt9982++; + if (aClass64_9993 != null) aClass64_9993.method612(); + } + } + + final boolean method2377(byte i) { + if (i != 122) method40(3); + anInt9973++; + if (aClass64_9993 == null) return false; + return aClass64_9993.F(); + } + + public final void method44(int i, GraphicsToolkit var_ha) { + anInt9986++; + Object object = null; + r var_r; + if (aR9976 != null || !aBoolean9988) { + var_r = aR9976; + aR9976 = null; + } else { + Component245 class2 = method2401(var_ha, 262144, true, 22); + var_r = class2 == null ? null : class2.aR118; + } + if (var_r != null) Component387.method1130(var_r, this.aByte6376, this.x, this.y, null); + if (i != 836) aShort9991 = (short) 86; + } + + final boolean method2391(GraphicsToolkit var_ha, int i, int i_16_, int i_17_) { + if (i_17_ != 0) anInt9997 = -51; + anInt9996++; + DisplayModeManagerContainer370 class64 = method2404(var_ha, 69, 131072); + if (class64 != null) { + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + class101.method894(this.x, this.anInt6382, this.y); + if (DisplayModeManagerContainer50.aBoolean3870) return class64.method623(i_16_, i, class101, false, 0, Component72.anInt1906); + return class64.method628(i_16_, i, class101, false, 0); + } + return false; + } + + private final DisplayModeManagerContainer370 method2404(GraphicsToolkit var_ha, int i, int i_18_) { + anInt9984++; + int i_19_ = 65 / ((-34 - i) / 53); + if (aClass64_9993 != null && var_ha.method3667(aClass64_9993.ua(), i_18_) == 0) return aClass64_9993; + Component245 class2 = method2401(var_ha, i_18_, false, 22); + if (class2 != null) return class2.aClass64_119; + return null; + } + + Component212(GraphicsToolkit var_ha, Component44 class51, int i, int i_20_, int i_21_, int i_22_, int i_23_, boolean bool, int i_24_, boolean bool_25_) { + super(i_21_, i_22_, i_23_, i, i_20_, class51.anInt930); + do { + try { + aBoolean9983 = bool; + aBoolean9974 = (class51.anInt874 != 0 && !bool); + this.y = i_23_; + aBoolean9989 = bool_25_; + this.x = i_21_; + aByte9980 = (byte) i_24_; + aShort9991 = (short) class51.anInt941; + aBoolean9988 = (var_ha.method3682() && class51.aBoolean894 && !aBoolean9983 && Component192.aClass348_Sub51_3959.aClass239_Sub7_7238.method1748(-32350) != 0); + int i_26_ = 2048; + if (aBoolean9989) i_26_ |= 0x10000; + Component245 class2 = method2401(var_ha, i_26_, aBoolean9988, 22); + if (class2 == null) break; + aClass64_9993 = class2.aClass64_119; + aR9976 = class2.aR118; + if (!aBoolean9989) break; + aClass64_9993 = aClass64_9993.method614((byte) 0, i_26_, false); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("uo.(" + (var_ha != null ? "{...}" : "null") + ',' + (class51 != null ? "{...}" : "null") + ',' + i + ',' + i_20_ + ',' + i_21_ + ',' + i_22_ + ',' + i_23_ + ',' + bool + ',' + i_24_ + ',' + bool_25_ + ')')); + } + break; + } while (false); + } + + final ComponentDownloader method2381(GraphicsToolkit var_ha, int i) { + if (aClass30_9999 == null) aClass30_9999 = (OggUrlStream.method2967(this.x, method2404(var_ha, 86, 0), this.y, this.anInt6382, i ^ 0x5)); + if (i != 7) return null; + anInt9998++; + return aClass30_9999; + } + + final void method2387(GraphicsToolkit var_ha, int i) { + if (i >= -125) aBoolean9983 = false; + anInt9987++; + } + + public final int method39(int i) { + int i_27_ = -125 % ((i - -91) / 35); + anInt9992++; + return 22; + } +} diff --git a/client/components/Component214.java b/client/components/Component214.java new file mode 100644 index 000000000..19b8daed6 --- /dev/null +++ b/client/components/Component214.java @@ -0,0 +1,58 @@ +/* Component214 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component214 +/** + * RENAMED from `Class160` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2129; + static boolean aBoolean2130; + static float[] aFloatArray2131; + char aChar2132; + static boolean[][] aBooleanArrayArray2133 = {{true, true, true, true, true, true, true, true, true, true, true, true, true}, {true, true, true, false, false, false, true, true, false, false, false, false, true}, {true, false, false, false, false, true, true, true, false, false, false, false, false}, {false, false, true, true, true, true, false, false, false, false, false, false, false}, {true, true, true, true, true, true, false, false, false, false, false, false, false}, {true, true, true, false, false, true, true, true, false, false, false, false, false}, {true, true, false, false, false, true, true, true, false, false, false, false, true}, {true, true, false, false, false, false, false, true, false, false, false, false, false}, {false, true, true, true, true, true, true, true, false, false, false, false, false}, {true, false, false, false, true, true, true, true, true, true, false, false, false}, {true, true, true, true, true, false, false, false, true, true, false, false, false}, {true, true, true, false, false, false, false, false, false, false, true, true, false}, new boolean[13], {true, true, true, true, true, true, true, true, true, true, true, true, true}, new boolean[13]}; + static int anInt2134; + int anInt2135 = 1; + static int anInt2136; + static float aFloat2137; + + public static void method1254(byte i) { + aBooleanArrayArray2133 = null; + aFloatArray2131 = null; + if (i <= 11) aBooleanArrayArray2133 = null; + } + + final void method1255(Buffer class348_sub49, int i) { + for (; ; ) { + int i_0_ = class348_sub49.readUnsignedByte(255); + if (i_0_ == 0) break; + method1256(-90, i_0_, class348_sub49); + } + if (i != -1) aBoolean2130 = false; + anInt2129++; + } + + private final void method1256(int i, int i_1_, Buffer class348_sub49) { + anInt2136++; + if (i_1_ != 1) { + if (i_1_ == 2) this.anInt2135 = 0; + } else this.aChar2132 = Cp1252Decoder.method462(class348_sub49.readByte(-119), -128); + if (i >= -73) method1255(null, -43); + } + + static final boolean method1257(int i, int i_2_, int i_3_) { + if (i > -23) aBooleanArrayArray2133 = null; + anInt2134++; + return (0x20 & i_3_) != 0; + } + + public Component214() { + /* empty */ + } + + static { + aFloatArray2131 = new float[4]; + aBoolean2130 = false; + } +} diff --git a/client/components/Component215.java b/client/components/Component215.java new file mode 100644 index 000000000..0a2e9097f --- /dev/null +++ b/client/components/Component215.java @@ -0,0 +1,14 @@ +/* Component215 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component215 +/** + * RENAMED from `Class246_Sub1` (JODE-obfuscated). + * Evidence: subclass of Component163 (hierarchy) + */ extends Component163 { + final CacheNode method1888(int i, CacheNode class348_sub42_sub8) { + if (i != 3) return null; + return new SoftReferenceCacheNode(class348_sub42_sub8.getValue(i + 95), class348_sub42_sub8.weight); + } +} diff --git a/client/components/Component217.java b/client/components/Component217.java new file mode 100644 index 000000000..4f1222f2a --- /dev/null +++ b/client/components/Component217.java @@ -0,0 +1,32 @@ +/* Component217 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component217 +/** + * RENAMED from `Class249` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3216; + static Component158 aClass21_3217 = new Component158(); + + public static void method1907(byte i) { + aClass21_3217 = null; + int i_0_ = -55 / ((i - -39) / 60); + } + + static final int method1908(int i, int i_1_, int i_2_, boolean bool, int i_3_, int i_4_, int i_5_) { + i_2_ &= 0x3; + anInt3216++; + if (bool != true) aClass21_3217 = null; + if ((i_5_ & 0x1) == 1) { + int i_6_ = i_4_; + i_4_ = i_3_; + i_3_ = i_6_; + } + if (i_2_ == 0) return i_1_; + if (i_2_ == 1) return i; + if (i_2_ == 2) return 7 + -i_1_ + (-i_4_ + 1); + return -i_3_ - (-1 - (7 - i)); + } +} diff --git a/client/components/Component218.java b/client/components/Component218.java new file mode 100644 index 000000000..0f98643f8 --- /dev/null +++ b/client/components/Component218.java @@ -0,0 +1,29 @@ +/* Component218 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component218 +/** + * RENAMED from `Class176` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static Component183 aClass114_2331 = new Component183(120, -2); + static Request aClass348_Sub26_2332; + static FontGlyphCache aClass323_2333; + static ParticleSystem[] aClass348_Sub47Array2334 = new ParticleSystem[300]; + static Component183 aClass114_2335; + + public static void clearStatics(int i) { + aClass114_2331 = null; + aClass348_Sub26_2332 = null; + aClass114_2335 = null; + if (i != 1) aClass114_2331 = null; + aClass348_Sub47Array2334 = null; + aClass323_2333 = null; + } + + static { + aClass348_Sub26_2332 = null; + aClass114_2335 = new Component183(80, 0); + } +} diff --git a/client/components/Component219.java b/client/components/Component219.java new file mode 100644 index 000000000..ea8049a0b --- /dev/null +++ b/client/components/Component219.java @@ -0,0 +1,471 @@ +/* Component219 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component219 +/** + * RENAMED from {@code Class314_Sub1} (JODE-obfuscated). + * Per-index JS5 archive store: loads {@link ReferenceTable}, fetches groups via + * {@link Component253} and/or local {@link CacheIndexReader}, verifies CRC/Whirlpool, + * and tracks per-group load status for prefetch/verify passes. + */ extends Component112 { + static Component183 aClass114_6340 = new Component183(74, 28); + static int anInt6341; + /** Parsed index reference table once ready. */ + private ReferenceTable referenceTable; + static int anInt6343; + /** Expected CRC of the reference table (from master index). */ + private final int expectedCrc; + static int anInt6345; + /** Expected 64-byte Whirlpool of the reference table. */ + private final byte[] expectedWhirlpool; + /** JS5 TCP client for network fetches. */ + private final Component253 js5Client; + static int anInt6348; + static int anInt6349; + /** JS5 index id (0..254). */ + private final int indexId; + /** + * Per-group status: {@code 0} unset, {@code 1} verified/loaded, + * {@code -1} failed disk verify (force network). + */ + private byte[] groupLoadStatus; + private int expectedRevision; + static int anInt6353; + /** Local disk cache helper ({@link DisplayModeManagerContainer67}). */ + private final DisplayModeManagerContainer67 diskCache; + /** In-flight reference-table request (index 255 child = this index). */ + private HashNodeSub16 referenceTableRequest; + static int anInt6356; + static int anInt6357; + static int anInt6358; + static int anInt6359; + /** Active group download nodes keyed by group id. */ + private final LruCache activeRequests; + /** Count of groups with status 1. */ + private int loadedGroupCount = 0; + static int anInt6362; + static int anInt6363; + /** Disk index for the reference table itself. */ + private final CacheIndexReader metaIndex; + /** Disk index for group payloads. */ + private final CacheIndexReader dataIndex; + static int anInt6366; + static int anInt6367; + /** True while bulk-prefetching missing groups from disk. */ + private boolean prefetching; + /** Groups explicitly requested via {@link #requestGroup}. */ + private final NodeList requestedGroups; + static int anInt6370; + /** True while bulk-verifying groups over the network. */ + private boolean verifying; + /** Work list for prefetch/verify sweeps. */ + private NodeList workQueue; + /** Cursor into {@link ReferenceTable#fileIdCounts} during sweeps. */ + private int workCursor; + /** Next wall-clock ms to discard stale non-priority requests. */ + private long nextDiscardMillis; + /** When true, completed non-priority requests are discarded after ~1s. */ + private boolean discardStaleRequests; + + /** Prefetch progress: named group count, or current work-queue head while prefetching. */ + final int getPrefetchProgress(int i) { + anInt6370++; + if (referenceTable == null) return 0; + if (!prefetching) return referenceTable.namedGroupCount; + if (i != 24940) getGroupCount(-32); + Node class348 = workQueue.first(i ^ 0x6168); + if (class348 == null) return 0; + return (int) class348.key; + } + + /** Service explicitly requested groups (disk load / network fallback). */ + final void processRequestedGroups(int i) { + anInt6349++; + if (i != 0) discardStaleRequests = false; + if (workQueue != null && getReferenceTable((byte) 56) != null) { + for (Node class348 = requestedGroups.first(4); class348 != null; class348 = requestedGroups.next((byte) 112)) { + int i_0_ = (int) class348.key; + if (i_0_ < 0 || (referenceTable.groupCapacity <= i_0_) || referenceTable.fileIdCounts[i_0_] == 0) class348.unlink((byte) 37); + else { + if (groupLoadStatus[i_0_] == 0) fetchGroup(i_0_, (byte) 65, 1); + if (groupLoadStatus[i_0_] == -1) fetchGroup(i_0_, (byte) 65, 2); + if (groupLoadStatus[i_0_] == 1) class348.unlink((byte) 29); + } + } + } + } + + /** Pulse prefetch/verify sweeps and optional stale-request discard. */ + final void pulse(int i) { + anInt6356++; + if (workQueue != null) { + if (getReferenceTable((byte) 56) == null) return; + if (prefetching) { + boolean bool = true; + for (Node class348 = workQueue.first(4); class348 != null; class348 = workQueue.next((byte) 106)) { + int i_1_ = (int) class348.key; + if (groupLoadStatus[i_1_] == 0) fetchGroup(i_1_, (byte) 65, 1); + if (groupLoadStatus[i_1_] != 0) class348.unlink((byte) 22); + else bool = false; + } + while (referenceTable.fileIdCounts.length > workCursor) { + if (referenceTable.fileIdCounts[workCursor] == 0) workCursor++; + else { + if (diskCache.pendingCount >= 512) { + bool = false; + break; + } + if (groupLoadStatus[workCursor] == 0) fetchGroup(workCursor, (byte) 65, 1); + if (groupLoadStatus[workCursor] == 0) { + Node class348 = new Node(); + class348.key = workCursor; + workQueue.addTail(class348, -20180); + bool = false; + } + workCursor++; + } + } + if (bool) { + workCursor = 0; + prefetching = false; + } + } else if (verifying) { + boolean bool = true; + for (Node class348 = workQueue.first(4); class348 != null; class348 = workQueue.next((byte) 43)) { + int i_2_ = (int) class348.key; + if (groupLoadStatus[i_2_] != 1) fetchGroup(i_2_, (byte) 65, 2); + if (groupLoadStatus[i_2_] != 1) bool = false; + else class348.unlink((byte) 60); + } + while (referenceTable.fileIdCounts.length > workCursor) { + if (referenceTable.fileIdCounts[workCursor] == 0) workCursor++; + else { + if (js5Client.isNormalQueueFull(-124)) { + bool = false; + break; + } + if (groupLoadStatus[workCursor] != 1) fetchGroup(workCursor, (byte) 65, 2); + if (groupLoadStatus[workCursor] != 1) { + Node class348 = new Node(); + class348.key = workCursor; + bool = false; + workQueue.addTail(class348, i + -20179); + } + workCursor++; + } + } + if (bool) { + workCursor = 0; + verifying = false; + } + } else workQueue = null; + } + if (i == -1) { + if (discardStaleRequests && Component240.currentTimeMillis(-94) >= nextDiscardMillis) { + for (HashNodeSub16 class348_sub42_sub16 = (HashNodeSub16) activeRequests.first(0); class348_sub42_sub16 != null; class348_sub42_sub16 = ((HashNodeSub16) activeRequests.next(0))) { + if (!class348_sub42_sub16.incomplete) { + if (class348_sub42_sub16.markedForDiscard) { + if (!class348_sub42_sub16.priority) throw new RuntimeException(); + class348_sub42_sub16.unlink((byte) 116); + } else class348_sub42_sub16.markedForDiscard = true; + } + } + nextDiscardMillis = Component240.currentTimeMillis(-82) - -1000L; + } + } + } + + public static void clearStatics(int i) { + if (i == 0) aClass114_6340 = null; + } + + final int getGroupCount(int i) { + anInt6357++; + if (referenceTable == null) return 0; + if (i != 0) requestGroup((byte) -34, 120); + return referenceTable.namedGroupCount; + } + + /** Raw packed bytes for group {@code i}. */ + final byte[] getGroupData(int i, byte i_3_) { + int i_4_ = -16 / ((i_3_ - -44) / 37); + anInt6363++; + HashNodeSub16 class348_sub42_sub16 = fetchGroup(i, (byte) 65, 0); + if (class348_sub42_sub16 == null) return null; + byte[] is = class348_sub42_sub16.getData(16); + class348_sub42_sub16.unlink((byte) 33); + return is; + } + + final void startVerifyPass(int i) { + if (i == 27872) { + anInt6366++; + if (dataIndex != null) { + verifying = true; + if (workQueue == null) workQueue = new NodeList(); + } + } + } + + /** Prefetch packed group {@code i_5_}. */ + final void requestGroup(byte i, int i_5_) { + anInt6345++; + if (i != -52) referenceTable = null; + if (dataIndex != null) { + for (Node class348 = requestedGroups.first(i ^ ~0x37); class348 != null; class348 = requestedGroups.next((byte) 124)) { + if ((long) i_5_ == class348.key) return; + } + Node class348 = new Node(); + class348.key = i_5_; + requestedGroups.addTail(class348, -20180); + } + } + + static final String getMenuTarget(byte i) { + if (i != -119) return null; + anInt6343++; + if (Component364.aBoolean8335 || Component192.menuTip == null) return ""; + if (((Component192.menuTip.target) == null || Component192.menuTip.target.length() == 0) && (Component192.menuTip.extraTarget) != null && Component192.menuTip.extraTarget.length() > 0) + return (Component192.menuTip.extraTarget); + return (Component192.menuTip.target); + } + + static final int method2348(int i) { + anInt6353++; + if (i != -8454) method2352(44, -11, 126); + int i_6_; + if (Component127.anInt2964 < 96) { + GradientPreset.method3076(0, true); + i_6_ = 1; + } else { + int i_7_ = Component94.benchmarkToolkitMs(-26584); + if (i_7_ > 100) { + if (i_7_ <= 500) { + i_6_ = 3; + DisplayModeManagerContainer32.method447((byte) -59); + } else if (i_7_ <= 1000) { + i_6_ = 2; + DisplayModeManagerContainer254.method1263(true); + } else { + GradientPreset.method3076(0, true); + i_6_ = 1; + } + } else { + i_6_ = 4; + HeapDumper.resetGraphicsPreferences(58); + } + } + if (Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) != 0) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub25_7251), 0); + SoftwareFallbackShader.method3553(false, (byte) 120, 0); + } + DisplayModeManagerContainer389.method243(37); + return i_6_; + } + + final int getReferenceTableProgress(int i) { + if (i != 1) getGroupLoadPercent(11, -116); + anInt6367++; + if (getReferenceTable((byte) 56) == null) { + if (referenceTableRequest == null) return 0; + return referenceTableRequest.getProgressPercent(16); + } + return 100; + } + + final int getGroupLoadPercent(int i, int i_8_) { + anInt6341++; + HashNodeSub16 class348_sub42_sub16 = ((HashNodeSub16) activeRequests.get(i, -6008)); + if (i_8_ != -22197) expectedRevision = 21; + if (class348_sub42_sub16 != null) return class348_sub42_sub16.getProgressPercent(16); + return 0; + } + + /** + * Fetch group {@code i}: mode 0 = priority load, 1 = disk prefetch, 2 = network verify. + * Verifies CRC/Whirlpool and updates {@link #groupLoadStatus}. + */ + private final HashNodeSub16 fetchGroup(int i, byte i_9_, int i_10_) { + if (i_9_ != 65) groupLoadStatus = null; + anInt6362++; + HashNodeSub16 class348_sub42_sub16 = ((HashNodeSub16) activeRequests.get(i, -6008)); + if (class348_sub42_sub16 != null && i_10_ == 0 && !class348_sub42_sub16.priority && class348_sub42_sub16.incomplete) { + class348_sub42_sub16.unlink((byte) 66); + class348_sub42_sub16 = null; + } + if (class348_sub42_sub16 == null) { + if (i_10_ == 0) { + if (dataIndex == null || groupLoadStatus[i] == -1) { + if (js5Client.isPriorityQueueFull(-9)) return null; + class348_sub42_sub16 = js5Client.queueRequest((byte) -125, (byte) 2, true, i, indexId); + } else class348_sub42_sub16 = diskCache.readImmediate(dataIndex, i, (byte) -110); + } else if (i_10_ == 1) { + if (dataIndex == null) throw new RuntimeException(); + class348_sub42_sub16 = diskCache.enqueueRead(dataIndex, i, (byte) -112); + } else { + if (i_10_ != 2) throw new RuntimeException(); + if (dataIndex == null) throw new RuntimeException(); + if (groupLoadStatus[i] != -1) throw new RuntimeException(); + if (js5Client.isNormalQueueFull(-120)) return null; + class348_sub42_sub16 = js5Client.queueRequest((byte) 97, (byte) 2, false, i, indexId); + } + activeRequests.put((byte) 73, i, class348_sub42_sub16); + } + if (class348_sub42_sub16.incomplete) return null; + byte[] is = class348_sub42_sub16.getData(16); + if (!(class348_sub42_sub16 instanceof HashNodeSub16Sub2)) { + try { + if (is == null || is.length <= 2) throw new RuntimeException(); + DisplayModeManagerContainer260.aCRC32_3691.reset(); + DisplayModeManagerContainer260.aCRC32_3691.update(is, 0, -2 + is.length); + int i_11_ = (int) DisplayModeManagerContainer260.aCRC32_3691.getValue(); + if (referenceTable.groupCrcs[i] != i_11_) throw new RuntimeException(); + if (referenceTable.whirlpools != null && (referenceTable.whirlpools[i] != null)) { + byte[] is_12_ = referenceTable.whirlpools[i]; + byte[] is_13_ = NodeSub1Sub2.whirlpoolDigest(i_9_ ^ 0x1196, 0, is, is.length + -2); + for (int i_14_ = 0; i_14_ < 64; i_14_++) { + if (is_12_[i_14_] != is_13_[i_14_]) throw new RuntimeException(); + } + } + js5Client.errorCount = 0; + js5Client.disconnectCode = 0; + } catch (RuntimeException runtimeexception) { + js5Client.forceDisconnect(-1); + class348_sub42_sub16.unlink((byte) 44); + if (class348_sub42_sub16.priority && !js5Client.isPriorityQueueFull(i_9_ ^ 0x1f)) { + HashNodeSub16Sub1 class348_sub42_sub16_sub1 = js5Client.queueRequest((byte) 111, (byte) 2, true, i, indexId); + activeRequests.put((byte) 84, i, class348_sub42_sub16_sub1); + } + return null; + } + is[is.length - 2] = (byte) (referenceTable.groupVersions[i] >>> 8); + is[is.length - 1] = (byte) referenceTable.groupVersions[i]; + if (dataIndex != null) { + diskCache.enqueueWrite(is, dataIndex, (byte) 10, i); + if (groupLoadStatus[i] != 1) { + loadedGroupCount++; + groupLoadStatus[i] = (byte) 1; + } + } + if (!class348_sub42_sub16.priority) class348_sub42_sub16.unlink((byte) 110); + return class348_sub42_sub16; + } + try { + if (is == null || is.length <= 2) throw new RuntimeException(); + DisplayModeManagerContainer260.aCRC32_3691.reset(); + DisplayModeManagerContainer260.aCRC32_3691.update(is, 0, is.length + -2); + int i_15_ = (int) DisplayModeManagerContainer260.aCRC32_3691.getValue(); + if (i_15_ != referenceTable.groupCrcs[i]) throw new RuntimeException(); + if (referenceTable.whirlpools != null && (referenceTable.whirlpools[i] != null)) { + byte[] is_16_ = referenceTable.whirlpools[i]; + byte[] is_17_ = NodeSub1Sub2.whirlpoolDigest(i_9_ + 4502, 0, is, is.length - 2); + for (int i_18_ = 0; i_18_ < 64; i_18_++) { + if (is_17_[i_18_] != is_16_[i_18_]) throw new RuntimeException(); + } + } + int i_19_ = ((0xff00 & is[-2 + is.length] << 8) + (0xff & is[is.length + -1])); + if ((referenceTable.groupVersions[i] & 0xffff) != i_19_) throw new RuntimeException(); + if (groupLoadStatus[i] != 1) { + loadedGroupCount++; + groupLoadStatus[i] = (byte) 1; + } + if (!class348_sub42_sub16.priority) class348_sub42_sub16.unlink((byte) 115); + return class348_sub42_sub16; + } catch (Exception exception) { + groupLoadStatus[i] = (byte) -1; + class348_sub42_sub16.unlink((byte) 121); + if (class348_sub42_sub16.priority && !js5Client.isPriorityQueueFull(-30)) { + HashNodeSub16Sub1 class348_sub42_sub16_sub1 = js5Client.queueRequest((byte) 99, (byte) 2, true, i, indexId); + activeRequests.put((byte) 66, i, class348_sub42_sub16_sub1); + } + return null; + } + } + + final int getLoadedGroupCount(int i) { + if (i != 0) return -19; + anInt6359++; + return loadedGroupCount; + } + + /** Load/parse the archive reference table, or null if not ready. */ + final ReferenceTable getReferenceTable(byte i) { + anInt6348++; + if (referenceTable != null) return referenceTable; + if (i != 56) return null; + if (referenceTableRequest == null) { + if (js5Client.isPriorityQueueFull(-14)) return null; + referenceTableRequest = js5Client.queueRequest((byte) -114, (byte) 0, true, indexId, 255); + } + if (referenceTableRequest.incomplete) return null; + byte[] is = referenceTableRequest.getData(16); + do { + if (referenceTableRequest instanceof HashNodeSub16Sub2) { + try { + if (is == null) throw new RuntimeException(); + referenceTable = new ReferenceTable(is, expectedCrc, expectedWhirlpool); + if (expectedRevision != referenceTable.revision) throw new RuntimeException(); + break; + } catch (RuntimeException runtimeexception) { + referenceTable = null; + if (js5Client.isPriorityQueueFull(i + 66)) referenceTableRequest = null; + else referenceTableRequest = js5Client.queueRequest((byte) -95, (byte) 0, true, indexId, 255); + return null; + } + } + try { + if (is == null) throw new RuntimeException(); + referenceTable = new ReferenceTable(is, expectedCrc, expectedWhirlpool); + } catch (RuntimeException runtimeexception) { + js5Client.forceDisconnect(i + -57); + referenceTable = null; + if (js5Client.isPriorityQueueFull(i ^ ~0x16)) referenceTableRequest = null; + else referenceTableRequest = js5Client.queueRequest((byte) 47, (byte) 0, true, indexId, 255); + return null; + } + if (metaIndex != null) diskCache.enqueueWrite(is, metaIndex, (byte) 10, indexId); + } while (false); + referenceTableRequest = null; + if (dataIndex != null) { + loadedGroupCount = 0; + groupLoadStatus = new byte[referenceTable.groupCapacity]; + } + return referenceTable; + } + + static final boolean method2352(int i, int i_20_, int i_21_) { + anInt6358++; + int i_22_ = -38 / ((60 - i) / 40); + return (0x10 & i_21_) != 0; + } + + Component219(int i, CacheIndexReader class137, CacheIndexReader class137_23_, Component253 class248, DisplayModeManagerContainer67 class112, int i_24_, byte[] is, int i_25_, boolean bool) { + activeRequests = new LruCache(16); + workCursor = 0; + requestedGroups = new NodeList(); + nextDiscardMillis = 0L; + do { + try { + indexId = i; + dataIndex = class137; + if (dataIndex != null) { + prefetching = true; + workQueue = new NodeList(); + } else prefetching = false; + expectedCrc = i_24_; + expectedWhirlpool = is; + expectedRevision = i_25_; + metaIndex = class137_23_; + discardStaleRequests = bool; + js5Client = class248; + diskCache = class112; + if (metaIndex == null) break; + referenceTableRequest = diskCache.readImmediate(metaIndex, indexId, (byte) -112); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bja.(" + i + ',' + (class137 != null ? "{...}" : "null") + ',' + (class137_23_ != null ? "{...}" : "null") + ',' + (class248 != null ? "{...}" : "null") + ',' + (class112 != null ? "{...}" : "null") + ',' + i_24_ + ',' + (is != null ? "{...}" : "null") + ',' + i_25_ + ',' + bool + ')')); + } + break; + } while (false); + } +} diff --git a/client/components/Component22.java b/client/components/Component22.java new file mode 100644 index 000000000..48a498797 --- /dev/null +++ b/client/components/Component22.java @@ -0,0 +1,43 @@ +/* Component22 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component22 +/** + * RENAMED from `Class113` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static long aLong1739 = 0L; + static int anInt1740; + static int anInt1741; + static int anInt1742; + static CacheStore aClass45_1743; + static Component24[] aClass105Array1744; + static int anInt1745 = 100; + + public Component22() { + /* empty */ + } + + public final String toString() { + anInt1741++; + throw new IllegalStateException(); + } + + static final int method1056(int i, int i_0_, char c) { + if (i_0_ != 30316) return 27; + anInt1740++; + int i_1_ = c << 4; + if (Character.isUpperCase(c) || Character.isTitleCase(c)) { + int i_2_ = Character.toLowerCase(c); + i_1_ = 1 + (i_2_ << 4); + } + return i_1_; + } + + public static void method1057(boolean bool) { + aClass45_1743 = null; + aClass105Array1744 = null; + if (bool != true) method1056(110, -57, '\uffd1'); + } +} diff --git a/client/components/Component221.java b/client/components/Component221.java new file mode 100644 index 000000000..cbba6fd29 --- /dev/null +++ b/client/components/Component221.java @@ -0,0 +1,89 @@ +/* Component221 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component221 +/** + * RENAMED from `Class121` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt1794; + static int anInt1795; + static int anInt1796 = 0; + static int anInt1797; + static int anInt1798; + static int anInt1799; + static Component24 aClass105_1800; + + public static void method1081(byte i) { + int i_0_ = -38 % ((i - 57) / 62); + aClass105_1800 = null; + } + + static final int method1082(int i, boolean bool) { + anInt1795++; + int i_1_ = Buffer.anInt7207; + while_44_: + do { + do { + if (i_1_ == 0) { + if (bool) return 0; + return NewsFetcher.anInt4211; + } else if (i_1_ != 1) { + if (i_1_ == 2) break; + break while_44_; + } + return NewsFetcher.anInt4211; + } while (false); + return 0; + } while (false); + i_1_ = -103 / ((i - -37) / 39); + return 0; + } + + static final void method1083(GraphicsToolkit var_ha, int i, byte i_2_, int i_3_, int i_4_, int i_5_) { + anInt1798++; + Component158.aHa326 = var_ha; + Component44.aClass101_905 = Component158.aHa326.method3654(); + Component352.aClass101_624 = Component158.aHa326.method3654(); + r.aClass101_9720 = Component158.aHa326.method3654(); + Component140.anInt10444 = i_4_; + Buffer.anInt7207 = 0; + DisplayModeManagerContainer159.anInt2747 = i; + Component72.anIntArray1909 = null; + DisplayModeManagerContainer23.anInterface4Array1525 = null; + LogicError.method828((byte) 38, i_3_, i_5_); + DisplayModeManagerContainer91.anInt396 = -1; + DisplayModeManagerContainer61.anInt3760 = -1; + Component381.anInt8583 = -1; + int i_6_ = 90 % ((70 - i_2_) / 33); + } + + static final boolean method1084(int i, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_, int i_12_) { + anInt1799++; + int i_13_ = i_9_ - -i_7_; + int i_14_ = i + i_10_; + int i_15_ = i_8_ + i_11_; + if (!ShaderProgramSub7.method2169(i_9_, i_13_, i_8_, i_9_, i_15_, i_14_, i_14_, i_14_, i_15_, false)) return false; + if (i_12_ != 18507) method1082(-107, false); + if (!ShaderProgramSub7.method2169(i_9_, i_13_, i_8_, i_13_, i_15_, i_14_, i_14_, i_14_, i_8_, false)) return false; + if (Component258.anInt1974 > i_9_) { + if (!ShaderProgramSub7.method2169(i_9_, i_9_, i_15_, i_9_, i_15_, i_14_, i_14_, i_10_, i_8_, false)) return false; + if (!ShaderProgramSub7.method2169(i_9_, i_9_, i_15_, i_9_, i_8_, i_14_, i_10_, i_10_, i_8_, false)) return false; + } else { + if (!ShaderProgramSub7.method2169(i_13_, i_13_, i_15_, i_13_, i_15_, i_14_, i_14_, i_10_, i_8_, false)) return false; + if (!ShaderProgramSub7.method2169(i_13_, i_13_, i_15_, i_13_, i_8_, i_14_, i_10_, i_10_, i_8_, false)) return false; + } + if (i_8_ >= DefinitionSub27.anInt9360) { + if (!ShaderProgramSub7.method2169(i_9_, i_13_, i_15_, i_9_, i_15_, i_14_, i_14_, i_10_, i_15_, false)) return false; + return ShaderProgramSub7.method2169(i_9_, i_13_, i_15_, i_13_, i_15_, i_14_, i_10_, i_10_, i_15_, false); + } else { + if (!ShaderProgramSub7.method2169(i_9_, i_13_, i_8_, i_9_, i_8_, i_14_, i_14_, i_10_, i_8_, false)) return false; + return ShaderProgramSub7.method2169(i_9_, i_13_, i_8_, i_13_, i_8_, i_14_, i_10_, i_10_, i_8_, false); + } + } + + static { + anInt1794 = -1; + } +} diff --git a/client/components/Component222.java b/client/components/Component222.java new file mode 100644 index 000000000..16162481f --- /dev/null +++ b/client/components/Component222.java @@ -0,0 +1,115 @@ +/* Component222 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.io.IOException; +import java.io.OutputStream; + +/** + * Async ring-buffer writer over an {@link OutputStream} (daemon thread). + * Used by {@link TcpSocketStream} for non-blocking socket writes. + */ +final class Component222 implements Runnable { + private IOException exception; + private int readPos = 0; + private final byte[] buffer; + static NodeList aClass262_2707 = new NodeList(); + private final Thread thread; + static int anInt2709; + static int anInt2710; + static int anInt2711; + private OutputStream outputStream; + private int writePos = 0; + static int anInt2714; + private final int capacity; + + public static void method1525(byte i) { + if (i != 4) aClass262_2707 = null; + aClass262_2707 = null; + } + + public final void run() { + anInt2710++; + for (; ; ) { + int i; + synchronized (this) { + for (; ; ) { + if (exception != null) return; + if (readPos > writePos) i = -readPos + capacity - -writePos; + else i = writePos - readPos; + if (i > 0) break; + try { + this.wait(); + } catch (InterruptedException interruptedexception) { + /* empty */ + } + } + } + try { + if (capacity >= readPos - -i) outputStream.write(buffer, readPos, i); + else { + int i_0_ = -readPos + capacity; + outputStream.write(buffer, readPos, i_0_); + outputStream.write(buffer, 0, -i_0_ + i); + } + } catch (IOException ioexception) { + synchronized (this) { + exception = ioexception; + break; + } + } + synchronized (this) { + readPos = (readPos + i) % capacity; + } + } + } + + final void closeAndJoin(byte i) { + synchronized (this) { + if (exception == null) exception = new IOException(""); + this.notifyAll(); + } + anInt2714++; + if (i != -99) exception = null; + try { + thread.join(); + } catch (InterruptedException interruptedexception) { + /* empty */ + } + } + + final void detachOutput(int i) { + if (i != -21179) method1525((byte) 113); + anInt2711++; + outputStream = new OutputStream_Sub1(); + } + + final void queueWrite(byte i, int i_1_, int i_2_, byte[] is) throws IOException { + anInt2709++; + if (i_1_ < 0 || i_2_ < 0 || i_1_ + i_2_ > is.length) throw new IOException(); + synchronized (this) { + if (exception != null) throw new IOException(exception.toString()); + int i_3_; + if (readPos <= writePos) i_3_ = readPos + capacity - (writePos - -1); + else i_3_ = -1 + (-writePos + readPos); + if (i_3_ < i_1_) throw new IOException(""); + if (i < 4) detachOutput(65); + if (i_1_ + writePos > capacity) { + int i_4_ = capacity - writePos; + Component313.arraycopy(is, i_2_, buffer, writePos, i_4_); + Component313.arraycopy(is, i_2_ - -i_4_, buffer, 0, -i_4_ + i_1_); + } else Component313.arraycopy(is, i_2_, buffer, writePos, i_1_); + writePos = (i_1_ + writePos) % capacity; + this.notifyAll(); + } + } + + Component222(OutputStream outputstream, int i) { + outputStream = outputstream; + capacity = 1 + i; + buffer = new byte[capacity]; + thread = new Thread(this); + thread.setDaemon(true); + thread.start(); + } +} diff --git a/client/components/Component223.java b/client/components/Component223.java new file mode 100644 index 000000000..5e122dd7a --- /dev/null +++ b/client/components/Component223.java @@ -0,0 +1,36 @@ +/* Component223 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component223 +/** + * RENAMED from `Class3` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static Component183 aClass114_123 = new Component183(110, 10); + static int anInt124; + static DisplayModeManagerContainer254 aClass161_125; + + static final void method175(byte i) { + DisplayModeManagerContainer61.anInt3760 = -1; + DisplayModeManagerContainer167.anInterface4_252 = null; + r.aClass101_9720 = null; + Component72.anIntArray1909 = null; + DisplayModeManagerContainer23.anInterface4Array1525 = null; + Component158.aHa326 = null; + Component352.aClass101_624 = null; + anInt124++; + int i_0_ = 9 / ((62 - i) / 47); + DisplayModeManagerContainer91.anInt396 = -1; + Component44.aClass101_905 = null; + Buffer.anInt7207 = -1; + Component381.anInt8583 = -1; + PacketReader.aClass76_10436.method775((byte) 69); + } + + public static void method176(int i) { + aClass114_123 = null; + aClass161_125 = null; + if (i != -1) method176(-19); + } +} diff --git a/client/components/Component224.java b/client/components/Component224.java new file mode 100644 index 000000000..3ba2efc91 --- /dev/null +++ b/client/components/Component224.java @@ -0,0 +1,44 @@ +/* Component224 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component224 +/** + * RENAMED from `Class273` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ implements Interface21 { + static int[] anIntArray5165 = {-1, -1, 1, 1}; + static int anInt5166; + /** Packed type/opcode id for this constant. */ + int id; + static int anInt5168; + static Component75 aClass173_5169 = new Component75(); + + public static void method2055(int i) { + anIntArray5165 = null; + aClass173_5169 = null; + if (i != 1) anIntArray5165 = null; + } + + static final boolean method2056(int i, int i_0_, int i_1_) { + if (i_0_ < 80) method2055(17); + anInt5168++; + if (!Component334.method1193(i_1_, i, true)) return false; + if (DisplayModeManagerContainer145.method1087(12644, i_1_, i) | (i & 0xb000) != 0 | DisplayModeManagerContainer347.method2075(i, -128, i_1_)) return true; + return ((ClientErrorReporter.hasCollisionBlockFlags(i_1_, i, -128) | Component175.method1722(i, i_1_, (byte) 92)) & (0x37 & i_1_) == 0); + } + + /** {@code i | i_2_}. */ + static int bitwiseOr(int i, int i_2_) { + return i | i_2_; + } + + public final String toString() { + anInt5166++; + throw new IllegalStateException(); + } + + Component224(String string, int i) { + this.id = i; + } +} diff --git a/client/components/Component225.java b/client/components/Component225.java new file mode 100644 index 000000000..0cac9c5f8 --- /dev/null +++ b/client/components/Component225.java @@ -0,0 +1,231 @@ +/* Component225 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.awt.*; + +final class Component225 +/** + * RENAMED from `Class34` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt462; + static NodeCache aClass60_463 = new NodeCache(8); + private final int[] anIntArray464 = {-1, -1, -1, -1, -1}; + private short[] aShortArray465; + static int anInt466; + static int anInt467; + static int anInt468; + static int anInt469; + static int anInt470; + static int anInt471; + private int[] anIntArray472; + static int anInt473; + private short[] aShortArray474; + Component324 aClass150_475; + static Frame aFrame476; + private short[] aShortArray477; + static int anInt478; + static int anInt479; + private short[] aShortArray480; + static int anInt481; + static long aLong482 = -1L; + + final DisplayModeManagerContainer77 method341(int i) { + anInt468++; + if (anIntArray472 == null) return null; + DisplayModeManagerContainer77[] class124s = new DisplayModeManagerContainer77[anIntArray472.length]; + synchronized (this.aClass150_475.aClass45_2054) { + for (int i_0_ = 0; i_0_ < anIntArray472.length; i_0_++) + class124s[i_0_] = Component189.loadFromCache(0, (this.aClass150_475.aClass45_2054), anIntArray472[i_0_], -1); + } + for (int i_1_ = 0; anIntArray472.length > i_1_; i_1_++) { + if (class124s[i_1_].anInt1830 < 13) class124s[i_1_].method1092(2, 113); + } + DisplayModeManagerContainer77 class124; + if (class124s.length != 1) class124 = new DisplayModeManagerContainer77(class124s, class124s.length); + else class124 = class124s[0]; + if (class124 == null) return null; + if (i < 53) method341(-22); + if (aShortArray474 != null) { + for (int i_2_ = 0; i_2_ < aShortArray474.length; i_2_++) + class124.method1098(aShortArray474[i_2_], (byte) 126, aShortArray480[i_2_]); + } + if (aShortArray465 != null) { + for (int i_3_ = 0; i_3_ < aShortArray465.length; i_3_++) + class124.method1095(aShortArray465[i_3_], 0, aShortArray477[i_3_]); + } + return class124; + } + + final boolean method342(byte i) { + anInt470++; + boolean bool = true; + synchronized (this.aClass150_475.aClass45_2054) { + for (int i_4_ = 0; i_4_ < 5; i_4_++) { + if (anIntArray464[i_4_] != -1 && !this.aClass150_475.aClass45_2054.isFileReady(-10499, anIntArray464[i_4_], 0)) bool = false; + } + if (i <= 87) method351(96); + } + return bool; + } + + final DisplayModeManagerContainer77 method343(byte i) { + anInt471++; + DisplayModeManagerContainer77[] class124s = new DisplayModeManagerContainer77[5]; + int i_5_ = 0; + synchronized (this.aClass150_475.aClass45_2054) { + for (int i_6_ = 0; i_6_ < 5; i_6_++) { + if (anIntArray464[i_6_] != -1) class124s[i_5_++] = Component189.loadFromCache(0, (this.aClass150_475.aClass45_2054), anIntArray464[i_6_], -1); + } + } + for (int i_7_ = 0; i_7_ < 5; i_7_++) { + if (class124s[i_7_] != null && class124s[i_7_].anInt1830 < 13) class124s[i_7_].method1092(2, 99); + } + if (i > -27) return null; + DisplayModeManagerContainer77 class124 = new DisplayModeManagerContainer77(class124s, i_5_); + if (aShortArray474 != null) { + for (int i_8_ = 0; aShortArray474.length > i_8_; i_8_++) + class124.method1098(aShortArray474[i_8_], (byte) 126, aShortArray480[i_8_]); + } + if (aShortArray465 != null) { + for (int i_9_ = 0; aShortArray465.length > i_9_; i_9_++) + class124.method1095(aShortArray465[i_9_], 0, aShortArray477[i_9_]); + } + return class124; + } + + private final void method344(int i, Buffer class348_sub49, byte i_10_) { + if (i != 1) { + if (i == 2) { + int i_11_ = class348_sub49.readUnsignedByte(i_10_ + 320); + anIntArray472 = new int[i_11_]; + for (int i_12_ = 0; i_12_ < i_11_; i_12_++) + anIntArray472[i_12_] = class348_sub49.readUnsignedShort(842397944); + } else if (i != 3) { + if (i == 40) { + int i_13_ = class348_sub49.readUnsignedByte(i_10_ ^ ~0xbf); + aShortArray480 = new short[i_13_]; + aShortArray474 = new short[i_13_]; + for (int i_14_ = 0; i_14_ < i_13_; i_14_++) { + aShortArray474[i_14_] = (short) class348_sub49.readUnsignedShort(842397944); + aShortArray480[i_14_] = (short) class348_sub49.readUnsignedShort(842397944); + } + } else if (i == 41) { + int i_15_ = class348_sub49.readUnsignedByte(255); + aShortArray465 = new short[i_15_]; + aShortArray477 = new short[i_15_]; + for (int i_16_ = 0; i_15_ > i_16_; i_16_++) { + aShortArray465[i_16_] = (short) class348_sub49.readUnsignedShort(i_10_ + 842398009); + aShortArray477[i_16_] = (short) class348_sub49.readUnsignedShort(842397944); + } + } else if (i >= 60 && i < 70) anIntArray464[i + -60] = class348_sub49.readUnsignedShort(842397944); + } + } else class348_sub49.readUnsignedByte(i_10_ + 320); + anInt479++; + if (i_10_ != -65) aLong482 = -90L; + } + + static final void method345(int i, byte i_17_) { + anInt469++; + if (PlayerState.anInt7068 == 0) Component122.aClass348_Sub16_Sub3_1564.method2861(0, i); + else Component255.anInt1059 = i; + if (i_17_ > -26) method349(-111); + } + + final void method346(int i, Buffer class348_sub49) { + anInt467++; + for (; ; ) { + int i_18_ = class348_sub49.readUnsignedByte(255); + if (i_18_ == 0) break; + method344(i_18_, class348_sub49, (byte) -65); + } + int i_19_ = -5 / ((73 - i) / 49); + } + + static final void method347(int[] is, int[] is_20_, int i, int i_21_, int i_22_) { + do { + try { + anInt473++; + if (i_21_ != -22222) aClass60_463 = null; + if (i >= i_22_) break; + int i_23_ = (i - -i_22_) / 2; + int i_24_ = i; + int i_25_ = is[i_23_]; + is[i_23_] = is[i_22_]; + is[i_22_] = i_25_; + int i_26_ = is_20_[i_23_]; + is_20_[i_23_] = is_20_[i_22_]; + is_20_[i_22_] = i_26_; + int i_27_ = i_25_ == 2147483647 ? 0 : 1; + for (int i_28_ = i; i_28_ < i_22_; i_28_++) { + if (is[i_28_] < (i_28_ & i_27_) + i_25_) { + int i_29_ = is[i_28_]; + is[i_28_] = is[i_24_]; + is[i_24_] = i_29_; + int i_30_ = is_20_[i_28_]; + is_20_[i_28_] = is_20_[i_24_]; + is_20_[i_24_++] = i_30_; + } + } + is[i_22_] = is[i_24_]; + is[i_24_] = i_25_; + is_20_[i_22_] = is_20_[i_24_]; + is_20_[i_24_] = i_26_; + method347(is, is_20_, i, -22222, -1 + i_24_); + method347(is, is_20_, i_24_ - -1, i_21_, i_22_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ic.K(" + (is != null ? "{...}" : "null") + ',' + (is_20_ != null ? "{...}" : "null") + ',' + i + ',' + i_21_ + ',' + i_22_ + ')')); + } + break; + } while (false); + } + + final boolean method348(byte i) { + anInt478++; + if (i != 34) method348((byte) -15); + if (anIntArray472 == null) return true; + boolean bool = true; + synchronized (this.aClass150_475.aClass45_2054) { + for (int i_31_ = 0; anIntArray472.length > i_31_; i_31_++) { + if (!this.aClass150_475.aClass45_2054.isFileReady(-10499, anIntArray472[i_31_], 0)) bool = false; + } + } + return bool; + } + + static final void method349(int i) { + anInt462++; + int i_32_ = ShaderCompilerSub1.anInt6513; + int[] is = ShaderProgramSub7.anIntArray6290; + for (int i_33_ = 0; i_33_ < i_32_; i_33_++) { + Player player = InterfaceRenderer.players[is[i_33_]]; + if (player != null) ImageCacheStore.method2556(false, player.method2436((byte) 60), player); + } + if (i != 4740) method347(null, null, 79, -21, 64); + } + + static final void method350(int i, int i_34_, int i_35_, int i_36_, int i_37_) { + anInt466++; + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i_36_, (byte) 105, 10); + class348_sub42_sub15.method3246(-25490); + class348_sub42_sub15.anInt9651 = i_34_; + int i_38_ = 112 % ((i_35_ - 76) / 44); + class348_sub42_sub15.anInt9650 = i_37_; + class348_sub42_sub15.anInt9652 = i; + } + + public Component225() { + /* empty */ + } + + public static void method351(int i) { + aClass60_463 = null; + int i_39_ = 90 / ((i - 19) / 43); + aFrame476 = null; + } + + static { + anInt481 = -1; + } +} diff --git a/client/components/Component226.java b/client/components/Component226.java new file mode 100644 index 000000000..ee5687b51 --- /dev/null +++ b/client/components/Component226.java @@ -0,0 +1,28 @@ +/* Component226 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component226 +/** + * RENAMED from `Class336` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt4170; + static int anInt4171; + static short[] aShortArray4172 = new short[256]; + + static final void method2656(int i, int i_0_, byte i_1_, int i_2_, int i_3_) { + anInt4170++; + if (i_1_ < 66) method2656(119, -53, (byte) -62, 54, -62); + if (i_0_ >= Component27.anInt4960 && Component22.anInt1745 >= i_0_) { + i = LogicError.method831(PauseTimer.anInt513, i, Component72.anInt1910, -123); + i_3_ = LogicError.method831(PauseTimer.anInt513, i_3_, Component72.anInt1910, 123); + Component9.method2641(i_3_, i, -76, i_0_, i_2_); + } + } + + public static void method2657(byte i) { + aShortArray4172 = null; + if (i < 118) aShortArray4172 = null; + } +} diff --git a/client/components/Component227.java b/client/components/Component227.java new file mode 100644 index 000000000..f85952f5c --- /dev/null +++ b/client/components/Component227.java @@ -0,0 +1,27 @@ +/* Component227 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component227 +/** + * RENAMED from `Class63` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt1117; + int anInt1118; + int anInt1119; + static Component183 aClass114_1120 = new Component183(53, -2); + static int anInt1121 = 0; + int anInt1122; + static Component183 aClass114_1123 = new Component183(78, -1); + + public static void method601(byte i) { + aClass114_1120 = null; + aClass114_1123 = null; + if (i != -85) method601((byte) -70); + } + + public Component227() { + /* empty */ + } +} diff --git a/client/components/Component228.java b/client/components/Component228.java new file mode 100644 index 000000000..e5eb979a2 --- /dev/null +++ b/client/components/Component228.java @@ -0,0 +1,159 @@ +/* Component228 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component228 +/** + * RENAMED from `Class232` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private GlTexture aClass258_Sub3_2998; + private final Component65 aClass104_2999; + private final GlToolkitSub2 aHa_Sub2_3000; + private Interface8 anInterface8_3001; + private final int anInt3002; + private final int anInt3003; + static int anInt3004; + static int anInt3005; + static int anInt3006; + static int anInt3007; + private final int anInt3008; + boolean aBoolean3009 = true; + private int anInt3010 = -1; + private Component261 aClass119_Sub2_3011; + static int anInt3012; + static int anInt3013; + static int[] anIntArray3014 = new int[1]; + + final void method1643(byte[] is, int i, int i_0_, byte i_1_) { + aClass119_Sub2_3011.method35(is, i, 110, aHa_Sub2_3000.method3785(i, 4) * i_0_); + anInt3005++; + method1646(aClass119_Sub2_3011, 113, i_0_); + if (i_1_ < 8) method1648((byte) 82); + } + + final void method1644(byte i) { + if (i > -83) anInt3006 = -60; + anInt3013++; + method1646(anInterface8_3001, 115, anInt3008); + } + + public static void method1645(int i) { + if (i >= 35) anIntArray3014 = null; + } + + private final void method1646(Interface8 interface8, int i, int i_2_) { + anInt3007++; + if (i_2_ != 0) { + method1648((byte) 121); + if (i <= 107) method1647(-124, -86); + aHa_Sub2_3000.method3771((byte) -93, aClass258_Sub3_2998); + aHa_Sub2_3000.method3759(i_2_, -128, 4, interface8, 0); + } + } + + static final void method1647(int i, int i_3_) { + if (i != -128) anIntArray3014 = null; + anInt3012++; + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i_3_, (byte) 105, 1); + class348_sub42_sub15.method3251(-16058); + } + + Component228(GlToolkitSub2 var_ha_Sub2, Component65 class104, BufferCacheSub2 var_s_Sub2, int i, int i_4_, int i_5_, int i_6_, int i_7_) { + try { + aHa_Sub2_3000 = var_ha_Sub2; + aClass104_2999 = class104; + anInt3003 = i_6_; + anInt3002 = i_7_; + int i_8_ = 1 << i_5_; + int i_9_ = 0; + int i_10_ = i << i_5_; + int i_11_ = i_4_ << i_5_; + for (int i_12_ = 0; i_8_ > i_12_; i_12_++) { + int i_13_ = var_s_Sub2.anInt4587 * (i_11_ - -i_12_) - -i_10_; + for (int i_14_ = 0; i_14_ < i_8_; i_14_++) { + short[] is = var_s_Sub2.aShortArrayArray8267[i_13_++]; + if (is != null) i_9_ += is.length; + } + } + anInt3008 = i_9_; + if (i_9_ <= 0) aClass258_Sub3_2998 = null; + else { + Buffer class348_sub49 = new Buffer(i_9_ * 2); + if (aHa_Sub2_3000.aBoolean7775) { + for (int i_19_ = 0; i_8_ > i_19_; i_19_++) { + int i_20_ = (i_10_ + (i_19_ + i_11_) * var_s_Sub2.anInt4587); + for (int i_21_ = 0; i_8_ > i_21_; i_21_++) { + short[] is = (var_s_Sub2.aShortArrayArray8267[i_20_++]); + if (is != null) { + for (int i_22_ = 0; (i_22_ < is.length); i_22_++) + class348_sub49.writeShort((byte) 107, (is[i_22_] & 0xffff)); + } + } + } + } else { + for (int i_15_ = 0; i_8_ > i_15_; i_15_++) { + int i_16_ = ((i_11_ - -i_15_) * var_s_Sub2.anInt4587 - -i_10_); + for (int i_17_ = 0; i_8_ > i_17_; i_17_++) { + short[] is = (var_s_Sub2.aShortArrayArray8267[i_16_++]); + if (is != null) { + for (int i_18_ = 0; is.length > i_18_; i_18_++) + class348_sub49.writeShortLE(87, is[i_18_] & 0xffff); + } + } + } + } + anInterface8_3001 = (aHa_Sub2_3000.method3733(5123, -39, class348_sub49.offset, class348_sub49.payload, false)); + aClass119_Sub2_3011 = new Component261(aHa_Sub2_3000, 5123, null, 1); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("sm.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + (class104 != null ? "{...}" : "null") + ',' + (var_s_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ')')); + } + } + + private final void method1648(byte i) { + anInt3004++; + if (this.aBoolean3009) { + this.aBoolean3009 = false; + byte[] is = aClass104_2999.aByteArray1617; + byte[] is_23_ = aHa_Sub2_3000.aByteArray7879; + if (i > 115) { + int i_24_ = 0; + int i_25_ = aClass104_2999.anInt1624; + int i_26_ = (anInt3003 - -(anInt3002 * aClass104_2999.anInt1624)); + for (int i_27_ = -128; i_27_ < 0; i_27_++) { + i_24_ = (i_24_ << 8) + -i_24_; + for (int i_28_ = -128; i_28_ < 0; i_28_++) { + if (is[i_26_++] != 0) i_24_++; + } + i_26_ += i_25_ - 128; + } + if (aClass258_Sub3_2998 != null && i_24_ == anInt3010) this.aBoolean3009 = false; + else { + anInt3010 = i_24_; + i_26_ = anInt3003 - -(i_25_ * anInt3002); + int i_29_ = 0; + for (int i_30_ = -128; i_30_ < 0; i_30_++) { + for (int i_31_ = -128; i_31_ < 0; i_31_++) { + if (is[i_26_] == 0) { + int i_32_ = 0; + if (is[i_26_ - 1] != 0) i_32_++; + if (is[1 + i_26_] != 0) i_32_++; + if (is[-i_25_ + i_26_] != 0) i_32_++; + if (is[i_25_ + i_26_] != 0) i_32_++; + is_23_[i_29_++] = (byte) (i_32_ * 17); + } else is_23_[i_29_++] = (byte) 68; + i_26_++; + } + i_26_ += aClass104_2999.anInt1624 - 128; + } + if (aClass258_Sub3_2998 == null) { + aClass258_Sub3_2998 = new GlTexture(aHa_Sub2_3000, 3553, 6406, 128, 128, false, (aHa_Sub2_3000.aByteArray7879), 6406, false); + aClass258_Sub3_2998.method1965(false, false, 10243); + aClass258_Sub3_2998.method1957(9728, true); + } else aClass258_Sub3_2998.method1970(0, 0, 128, false, 0, 128, 6406, -69, aHa_Sub2_3000.aByteArray7879, 0); + } + } + } + } +} diff --git a/client/components/Component230.java b/client/components/Component230.java new file mode 100644 index 000000000..bda007977 --- /dev/null +++ b/client/components/Component230.java @@ -0,0 +1,90 @@ +/* Component230 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component230 +/** + * RENAMED from `Class50_Sub4` (JODE-obfuscated). + * Evidence: subclass of Component47 (hierarchy) + */ extends Component47 { + private final int anInt5255; + static int anInt5256; + static int anInt5257; + private final int anInt5258; + private final int anInt5259; + static int anInt5260; + static int anInt5261; + static DisplayModeManagerContainer32 aClass47_5262; + static int anInt5263; + private int anInt5264; + + final void method455(int i, int i_0_, int i_1_) { + anInt5256++; + if (i_1_ >= -98) decodeMapElement(-91, null); + } + + final void method457(int i, int i_2_, int i_3_) { + anInt5261++; + int i_4_ = i_2_ * anInt5255 >> 12; + if (i_3_ >= -29) anInt5264 = 119; + int i_5_ = i_2_ * anInt5264 >> 12; + int i_6_ = anInt5259 * i >> 12; + int i_7_ = anInt5258 * i >> 12; + NewsFetcher.method2665(i_4_, (byte) 118, this.anInt865, i_6_, i_7_, i_5_); + } + + public static void method471(int i) { + if (i == -30065) aClass47_5262 = null; + } + + final void method456(int i, int i_8_, int i_9_) { + if (i < 87) anInt5264 = 33; + anInt5260++; + } + + Component230(int i, int i_10_, int i_11_, int i_12_, int i_13_, int i_14_) { + super(-1, i_13_, i_14_); + anInt5258 = i_12_; + anInt5264 = i_11_; + anInt5255 = i; + anInt5259 = i_10_; + } + + /** Decode a world-map label/element record from {@code class348_sub49}. */ + static final HeapDumpHelper decodeMapElement(int i, Buffer class348_sub49) { + anInt5263++; + String string = class348_sub49.readString((byte) 90); + Component85 class221 = HeapDumpHelper.method1248(127)[class348_sub49.readUnsignedByte(i ^ ~0x6c6e)]; + if (i != -27794) return null; + DisplayModeManagerContainer196 class341 = Component240.method596(i + 47794)[class348_sub49.readUnsignedByte(255)]; + int i_15_ = class348_sub49.readShort(13638); + int i_16_ = class348_sub49.readShort(13638); + int i_17_ = class348_sub49.readUnsignedByte(255); + int i_18_ = class348_sub49.readUnsignedByte(255); + int i_19_ = class348_sub49.readUnsignedByte(255); + int i_20_ = class348_sub49.readUnsignedShort(i ^ ~0x32359469); + int i_21_ = class348_sub49.readUnsignedShort(842397944); + int i_22_ = class348_sub49.readInt((byte) -126); + int i_23_ = class348_sub49.readInt((byte) -126); + int i_24_ = class348_sub49.readInt((byte) -126); + return new HeapDumpHelper(string, class221, class341, i_15_, i_16_, i_17_, i_18_, i_19_, i_20_, i_21_, i_22_, i_23_, i_24_); + } + + static final int method473(byte i, int i_25_, Component362 class110_sub1, int i_26_, boolean bool, boolean bool_27_, Component362 class110_sub1_28_) { + try { + anInt5257++; + int i_29_ = DisplayModeManagerContainer295.method1749(class110_sub1_28_, class110_sub1, bool, i_25_, (byte) -30); + if (i_29_ != 0) { + if (!bool) return i_29_; + return -i_29_; + } + if (i_26_ == -1) return 0; + if (i >= -42) return -65; + int i_30_ = DisplayModeManagerContainer295.method1749(class110_sub1_28_, class110_sub1, bool_27_, i_26_, (byte) -30); + if (bool_27_) return -i_30_; + return i_30_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("o.B(" + i + ',' + i_25_ + ',' + (class110_sub1 != null ? "{...}" : "null") + ',' + i_26_ + ',' + bool + ',' + bool_27_ + ',' + (class110_sub1_28_ != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/components/Component231.java b/client/components/Component231.java new file mode 100644 index 000000000..d8a452537 --- /dev/null +++ b/client/components/Component231.java @@ -0,0 +1,150 @@ +/* Component231 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.awt.*; + +final class Component231 +/** + * RENAMED from `Class22` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt328; + static int anInt329; + static Component183 aClass114_330 = new Component183(65, -1); + int anInt331 = -1; + int anInt332; + static int anInt333; + boolean aBoolean334; + int anInt335; + int anInt336 = 512; + private int anInt337 = 0; + static int anInt338; + /** Mix / output sample rate in Hz (e.g. 22050). */ + static int sampleRate; + static int anInt340; + int anInt341; + boolean aBoolean342; + int anInt343; + + final void method290(Buffer class348_sub49, int i) { + if (i != -1) this.anInt332 = 25; + for (; ; ) { + int i_0_ = class348_sub49.readUnsignedByte(255); + if (i_0_ == 0) break; + method291(i_0_, -4, class348_sub49); + } + anInt329++; + } + + private final void method291(int i, int i_1_, Buffer class348_sub49) { + if (i == 1) { + anInt337 = class348_sub49.readMedium(-1); + method292(anInt337, (byte) 117); + } else if (i == 2) { + this.anInt331 = class348_sub49.readUnsignedShort(i_1_ + 842397948); + if (this.anInt331 == 65535) this.anInt331 = -1; + } else if (i != 3) { + if (i != 4) { + if (i == 5) this.aBoolean334 = false; + } else this.aBoolean342 = false; + } else this.anInt336 = class348_sub49.readUnsignedShort(842397944) << 2; + if (i_1_ != -4) method290(null, 12); + anInt333++; + } + + private final void method292(int i, byte i_2_) { + anInt340++; + double d = (double) (0xff & i >> 16) / 256.0; + double d_3_ = (double) ((0xff2b & i) >> 8) / 256.0; + double d_4_ = (double) (0xff & i) / 256.0; + double d_5_ = d; + if (d_3_ < d_5_) d_5_ = d_3_; + if (d_4_ < d_5_) d_5_ = d_4_; + double d_6_ = d; + if (d_3_ > d_6_) d_6_ = d_3_; + if (d_4_ > d_6_) d_6_ = d_4_; + double d_7_ = 0.0; + double d_8_ = 0.0; + double d_9_ = (d_5_ + d_6_) / 2.0; + if (d_6_ != d_5_) { + if (d_9_ < 0.5) d_8_ = (d_6_ - d_5_) / (d_5_ + d_6_); + if (d != d_6_) { + if (d_6_ != d_3_) { + if (d_6_ == d_4_) d_7_ = (d - d_3_) / (-d_5_ + d_6_) + 4.0; + } else d_7_ = (-d + d_4_) / (d_6_ - d_5_) + 2.0; + } else d_7_ = (-d_4_ + d_3_) / (d_6_ - d_5_); + if (d_9_ >= 0.5) d_8_ = (d_6_ - d_5_) / (-d_5_ + (2.0 - d_6_)); + } + this.anInt332 = (int) (256.0 * d_8_); + d_7_ /= 6.0; + this.anInt335 = (int) (256.0 * d_9_); + if (this.anInt332 >= 0) { + if (this.anInt332 > 255) this.anInt332 = 255; + } else this.anInt332 = 0; + if (d_9_ > 0.5) this.anInt343 = (int) (512.0 * ((1.0 - d_9_) * d_8_)); + else this.anInt343 = (int) (512.0 * (d_9_ * d_8_)); + if (this.anInt335 < 0) this.anInt335 = 0; + else if (this.anInt335 > 255) this.anInt335 = 255; + if (this.anInt343 < 1) this.anInt343 = 1; + int i_10_ = 39 % ((i_2_ - 61) / 55); + this.anInt341 = (int) (d_7_ * (double) this.anInt343); + } + + public static void method293(byte i) { + aClass114_330 = null; + if (i >= -40) method295(-6, -74, -119, null, -35, null, 125, 67, -102); + } + + static final void method294(GraphicsToolkit var_ha, int i) { + anInt328++; + if (Component305.aClass262_9931.size(i) != 0) { + if (Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) == 0) { + for (NodeSub7 class348_sub7 = ((NodeSub7) Component305.aClass262_9931.first(4)); class348_sub7 != null; class348_sub7 = (NodeSub7) Component305.aClass262_9931.next((byte) 31)) { + Exception_Sub1.itemDefinitions.method1932(var_ha, class348_sub7.anInt6647, class348_sub7.anInt6648, Component49.aClass324_4684, (!class348_sub7.aBoolean6650 ? null : (Component72.localPlayer.appearance)), class348_sub7.anInt6642, false, (byte) 83, var_ha, class348_sub7.anInt6649, false, class348_sub7.anInt6645); + class348_sub7.unlink((byte) 29); + } + Component160.method3466(i + -113); + } else { + if (NodeSub34.aHa6968 == null) { + Canvas canvas = new Canvas(); + canvas.setSize(36, 32); + NodeSub34.aHa6968 = Component65.method958(true, 0, DefinitionSub4.aD9113, 0, canvas, Component257.aClass45_4796); + DefinitionSub9.aClass324_9173 = (NodeSub34.aHa6968.method3686(Component388.method1819(LoadingState.p11FullGroupId, 0, -44, Component65.aClass45_1627), Component170.method1519(Component158.aClass45_322, LoadingState.p11FullGroupId, 0), true)); + } + for (NodeSub7 class348_sub7 = ((NodeSub7) Component305.aClass262_9931.first(i + 4)); class348_sub7 != null; class348_sub7 = (NodeSub7) Component305.aClass262_9931.next((byte) 118)) { + Exception_Sub1.itemDefinitions.method1932(NodeSub34.aHa6968, class348_sub7.anInt6647, class348_sub7.anInt6648, DefinitionSub9.aClass324_9173, (class348_sub7.aBoolean6650 ? (Component72.localPlayer.appearance) : null), class348_sub7.anInt6642, false, (byte) 83, var_ha, class348_sub7.anInt6649, false, class348_sub7.anInt6645); + class348_sub7.unlink((byte) 21); + } + } + } + } + + static final void method295(int i, int i_11_, int i_12_, byte[] is, int i_13_, byte[] is_14_, int i_15_, int i_16_, int i_17_) { + try { + anInt338++; + int i_18_ = -(i_13_ >> 2); + i_13_ = -(0x3 & i_13_); + if (i_12_ != 256) sampleRate = -63; + for (int i_19_ = -i_15_; i_19_ < 0; i_19_++) { + for (int i_20_ = i_18_; i_20_ < 0; i_20_++) { + is_14_[i_16_++] += is[i_11_++]; + is_14_[i_16_++] += is[i_11_++]; + is_14_[i_16_++] += is[i_11_++]; + is_14_[i_16_++] += is[i_11_++]; + } + for (int i_21_ = i_13_; i_21_ < 0; i_21_++) + is_14_[i_16_++] += is[i_11_++]; + i_16_ += i_17_; + i_11_ += i; + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("hk.E(" + i + ',' + i_11_ + ',' + i_12_ + ',' + (is != null ? "{...}" : "null") + ',' + i_13_ + ',' + (is_14_ != null ? "{...}" : "null") + ',' + i_15_ + ',' + i_16_ + ',' + i_17_ + ')')); + } + } + + public Component231() { + this.aBoolean334 = true; + this.aBoolean342 = true; + } +} diff --git a/client/components/Component233.java b/client/components/Component233.java new file mode 100644 index 000000000..79d9ed89a --- /dev/null +++ b/client/components/Component233.java @@ -0,0 +1,42 @@ +/* Component233 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component233 +/** + * RENAMED from `Class320` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static short aShort3992 = 320; + static int anInt3993; + static int zoomStep = Loader.ZOOM_OFFSET_DEFAULT; + static boolean overGameScreen = false; + static int scrollWheelDiff = 0; + static float aFloat3994; + + static final boolean method2547(int i, byte i_0_) { + anInt3993++; + if (ImageTagText.aBooleanArray2162[i]) return true; + if (!Component267.aClass45_2978.isGroupReady((byte) -124, i)) return false; + int i_1_ = Component267.aClass45_2978.getFileCount(0, i); + if (i_1_ == 0) { + ImageTagText.aBooleanArray2162[i] = true; + return true; + } + if (DefinitionSub33.aClass46ArrayArray9427[i] == null) DefinitionSub33.aClass46ArrayArray9427[i] = new DisplayModeManagerContainer57[i_1_]; + for (int i_2_ = 0; i_1_ > i_2_; i_2_++) { + if (DefinitionSub33.aClass46ArrayArray9427[i][i_2_] == null) { + byte[] is = Component267.aClass45_2978.getFile(i_0_ ^ ~0x717, i, i_2_); + if (is != null) { + DisplayModeManagerContainer57 class46 = (DefinitionSub33.aClass46ArrayArray9427[i][i_2_] = new DisplayModeManagerContainer57()); + class46.anInt830 = i_2_ + (i << 16); + if (is[0] != -1) throw new IllegalStateException("if1"); + class46.method433(new Buffer(is), true); + } + } + } + if (i_0_ != 84) aFloat3994 = -0.8522395F; + ImageTagText.aBooleanArray2162[i] = true; + return true; + } +} diff --git a/client/components/Component234.java b/client/components/Component234.java new file mode 100644 index 000000000..ea55a6f3f --- /dev/null +++ b/client/components/Component234.java @@ -0,0 +1,24 @@ +/* Component234 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component234 +/** + * RENAMED from `Class23` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + byte[] aByteArray344; + int anInt345; + int anInt346; + int anInt347; + byte[] aByteArray348; + int anInt349; + int anInt350; + static boolean aBoolean351 = true; + int anInt352; + int anInt353; + + public Component234() { + /* empty */ + } +} diff --git a/client/components/Component235.java b/client/components/Component235.java new file mode 100644 index 000000000..052340b9e --- /dev/null +++ b/client/components/Component235.java @@ -0,0 +1,126 @@ +/* Component235 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component235 +/** + * RENAMED from `Class264` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3364; + private int anInt3365; + static int anInt3366; + static int anInt3367; + static Component183 aClass114_3368 = new Component183(112, 4); + static int anInt3369; + int anInt3370; + static Component183 aClass114_3371 = new Component183(63, 5); + static int anInt3372; + static int anInt3373 = 0; + static int anInt3374; + static int anInt3375; + static int anInt3376; + static int anInt3377; + static Component24[] aClass105Array3378; + + static final boolean method2015(int i, int i_0_, int i_1_) { + anInt3375++; + if (i_1_ != 7) return false; + return ((InterfaceRenderer.method2217(i_0_, i, i_1_ ^ 0x7) | ParametricDefinition.method3056(115, i, i_0_) | DefinitionSub9.method3073(i_0_, i, (byte) 50)) & DisplayModeManagerContainer254.method1258(i, -9301, i_0_)); + } + + final void method2016(int i, int i_2_) { + if (i != 15615) method2019((byte) 98); + anInt3365 = 0; + this.anInt3370 = i_2_; + anInt3377++; + } + + static final void method2017(int i, DisplayModeManagerContainer167 class17, int i_3_) { + anInt3367++; + if (Component335.anInt2021 < 50 && (class17 != null && class17.anIntArrayArray264 != null && (class17.anIntArrayArray264.length > i) && class17.anIntArrayArray264[i] != null)) { + int i_4_ = class17.anIntArrayArray264[i][0]; + int i_5_ = i_4_ >> 8; + if (class17.anIntArrayArray264[i].length > 1) { + int i_6_ = (int) (Math.random() * (double) (class17.anIntArrayArray264[i]).length); + if (i_6_ > 0) i_5_ = class17.anIntArrayArray264[i][i_6_]; + } + int i_7_ = 0x7 & i_4_ >> 5; + if (i_3_ > 8) { + int i_8_ = 256; + if (class17.anIntArray236 != null && class17.anIntArray265 != null) i_8_ = Component40.method2257((class17.anIntArray265[i]), (class17.anIntArray236[i]), (byte) -125); + if (class17.aBoolean268) AudioLine.method2090(i_7_, i_8_, false, (byte) -35, 255, 0, i_5_); + else NodeSub20.method2947(true, 255, i_5_, i_7_, 0, i_8_); + } + } + } + + public static void method2018(int i) { + aClass105Array3378 = null; + aClass114_3371 = null; + aClass114_3368 = null; + if (i != 0) method2015(30, 1, -62); + } + + final int method2019(byte i) { + if (i >= -18) anInt3373 = 32; + anInt3369++; + return this.anInt3370 & 0x3fff; + } + + final boolean method2020(int i, int i_9_, int i_10_, byte i_11_) { + anInt3366++; + int i_12_ = anInt3365; + if (this.anInt3370 == i_9_ && anInt3365 == 0) return false; + if (i_11_ > -8) return true; + boolean bool; + if (anInt3365 == 0) { + if ((i_9_ > this.anInt3370 && i_9_ <= i_10_ + this.anInt3370) || (i_9_ < this.anInt3370 && (this.anInt3370 - i_10_ <= i_9_))) { + this.anInt3370 = i_9_; + return false; + } + bool = true; + } else if (anInt3365 > 0 && this.anInt3370 < i_9_) { + int i_13_ = anInt3365 * anInt3365 / (2 * i_10_); + int i_14_ = i_13_ + this.anInt3370; + bool = i_14_ < i_9_ && this.anInt3370 <= i_14_; + } else if (anInt3365 < 0 && i_9_ < this.anInt3370) { + int i_15_ = anInt3365 * anInt3365 / (2 * i_10_); + int i_16_ = this.anInt3370 - i_15_; + bool = i_9_ < i_16_ && i_16_ <= this.anInt3370; + } else bool = false; + if (bool) { + if (this.anInt3370 >= i_9_) { + anInt3365 -= i_10_; + if (i != 0 && anInt3365 < -i) anInt3365 = -i; + } else { + anInt3365 += i_10_; + if (i != 0 && i < anInt3365) anInt3365 = i; + } + if (i_12_ != anInt3365) { + int i_17_ = anInt3365 * anInt3365 / (2 * i_10_); + if (i_9_ > this.anInt3370) { + if (i_9_ < this.anInt3370 - -i_17_) anInt3365 = i_12_; + } else if (this.anInt3370 > i_9_ && i_9_ > this.anInt3370 - i_17_) anInt3365 = i_12_; + } + } else if (anInt3365 <= 0) { + anInt3365 += i_10_; + if (anInt3365 > 0) anInt3365 = 0; + } else { + anInt3365 -= i_10_; + if (anInt3365 < 0) anInt3365 = 0; + } + this.anInt3370 += anInt3365 + i_12_ >> 1; + return bool; + } + + final void method2021(byte i) { + anInt3364++; + this.anInt3370 &= 0x3fff; + if (i < 77) method2021((byte) 36); + } + + public Component235() { + /* empty */ + } +} diff --git a/client/components/Component236.java b/client/components/Component236.java new file mode 100644 index 000000000..ee88bc8dd --- /dev/null +++ b/client/components/Component236.java @@ -0,0 +1,150 @@ +/* Component236 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component236 +/** + * RENAMED from `Class321` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3995; + private int[][] anIntArrayArray3996; + private int[][] anIntArrayArray3997; + private int[] anIntArray3998; + static int anInt3999; + int anInt4000 = -1; + private int[] anIntArray4001; + private int[][] anIntArrayArray4002; + private int[] anIntArray4003; + private int[] anIntArray4004; + static int anInt4005 = -1; + private LruCache aClass356_4006; + private int[] anIntArray4007; + private int[] anIntArray4008; + private int[] anIntArray4009; + private String aString4010; + private String[] aStringArray4011; + private String aString4012; + static int anInt4013; + private int[] anIntArray4014; + static Component183 aClass114_4015 = new Component183(116, 6); + private String[] aStringArray4016; + static int anInt4017; + + final void method2548(byte i) { + if (i <= 117) method2550(null, -119, (byte) 18); + anInt3999++; + if (aString4010 == null) aString4010 = aString4012; + } + + public static void method2549(byte i) { + if (i > -74) method2549((byte) 75); + aClass114_4015 = null; + } + + private final void method2550(Buffer class348_sub49, int i, byte i_0_) { + if (i_0_ != 52) anIntArray4014 = null; + anInt4013++; + if (i != 1) { + if (i == 2) aString4010 = class348_sub49.readGjstr2(i_0_ ^ ~0x349a); + else if (i == 3) { + int i_1_ = class348_sub49.readUnsignedByte(i_0_ ^ 0xcb); + anIntArrayArray3997 = new int[i_1_][3]; + for (int i_2_ = 0; i_1_ > i_2_; i_2_++) { + anIntArrayArray3997[i_2_][0] = class348_sub49.readUnsignedShort(842397944); + anIntArrayArray3997[i_2_][1] = class348_sub49.readInt((byte) -126); + anIntArrayArray3997[i_2_][2] = class348_sub49.readInt((byte) -126); + } + } else if (i == 4) { + int i_17_ = class348_sub49.readUnsignedByte(255); + anIntArrayArray3996 = new int[i_17_][3]; + for (int i_18_ = 0; i_17_ > i_18_; i_18_++) { + anIntArrayArray3996[i_18_][0] = class348_sub49.readUnsignedShort(842397944); + anIntArrayArray3996[i_18_][1] = class348_sub49.readInt((byte) -126); + anIntArrayArray3996[i_18_][2] = class348_sub49.readInt((byte) -126); + } + } else if (i != 5) { + if (i == 6) class348_sub49.readUnsignedByte(255); + else if (i == 7) class348_sub49.readUnsignedByte(255); + else if (i != 8) { + if (i != 9) { + if (i == 10) { + int i_3_ = class348_sub49.readUnsignedByte(i_0_ + 203); + anIntArray4008 = new int[i_3_]; + for (int i_4_ = 0; i_3_ > i_4_; i_4_++) + anIntArray4008[i_4_] = class348_sub49.readInt((byte) -126); + } else if (i != 12) { + if (i == 13) { + int i_15_ = class348_sub49.readUnsignedByte(255); + anIntArray4004 = new int[i_15_]; + for (int i_16_ = 0; i_16_ < i_15_; i_16_++) + anIntArray4004[i_16_] = class348_sub49.readUnsignedShort(842397944); + } else if (i == 14) { + int i_13_ = class348_sub49.readUnsignedByte(i_0_ ^ 0xcb); + anIntArrayArray4002 = new int[i_13_][2]; + for (int i_14_ = 0; i_14_ < i_13_; i_14_++) { + anIntArrayArray4002[i_14_][0] = class348_sub49.readUnsignedByte(255); + anIntArrayArray4002[i_14_][1] = (class348_sub49.readUnsignedByte(NodeSub21.bitwiseXor(i_0_, 203))); + } + } else if (i == 15) class348_sub49.readUnsignedShort(842397944); + else if (i == 17) this.anInt4000 = class348_sub49.readUnsignedShort(842397944); + else if (i == 18) { + int i_5_ = class348_sub49.readUnsignedByte(255); + anIntArray4014 = new int[i_5_]; + aStringArray4011 = new String[i_5_]; + anIntArray4007 = new int[i_5_]; + anIntArray4001 = new int[i_5_]; + for (int i_6_ = 0; (i_6_ < i_5_); i_6_++) { + anIntArray4014[i_6_] = (class348_sub49.readInt((byte) -126)); + anIntArray4001[i_6_] = (class348_sub49.readInt((byte) -126)); + anIntArray4007[i_6_] = (class348_sub49.readInt((byte) -126)); + aStringArray4011[i_6_] = (class348_sub49.readString((byte) 123)); + } + } else if (i == 19) { + int i_7_ = class348_sub49.readUnsignedByte(255); + aStringArray4016 = new String[i_7_]; + anIntArray4003 = new int[i_7_]; + anIntArray4009 = new int[i_7_]; + anIntArray3998 = new int[i_7_]; + for (int i_8_ = 0; (i_8_ < i_7_); i_8_++) { + anIntArray4009[i_8_] = (class348_sub49.readInt((byte) -126)); + anIntArray3998[i_8_] = (class348_sub49.readInt((byte) -126)); + anIntArray4003[i_8_] = (class348_sub49.readInt((byte) -126)); + aStringArray4016[i_8_] = (class348_sub49.readString((byte) -25)); + } + } else if (i == 249) { + int i_9_ = class348_sub49.readUnsignedByte(255); + if (aClass356_4006 == null) { + int i_10_ = (Component373.nextPowerOfTwo(i_9_, (byte) 108)); + aClass356_4006 = new LruCache(i_10_); + } + for (int i_11_ = 0; i_9_ > i_11_; i_11_++) { + boolean bool = (class348_sub49.readUnsignedByte(255) == 1); + int i_12_ = class348_sub49.readMedium(-1); + Node class348; + if (!bool) class348 = (new NodeSub35(class348_sub49.readInt((byte) -126))); + else class348 = (new NodeSub50(class348_sub49.readString((byte) -98))); + aClass356_4006.put((byte) 123, i_12_, class348); + } + } + } else class348_sub49.readInt((byte) -126); + } else class348_sub49.readUnsignedByte(255); + } + } else class348_sub49.readUnsignedShort(842397944); + } else aString4012 = class348_sub49.readGjstr2(-13487); + } + + final void method2551(int i, Buffer class348_sub49) { + int i_19_ = -14 / ((i - -56) / 61); + anInt3995++; + for (; ; ) { + int i_20_ = class348_sub49.readUnsignedByte(255); + if (i_20_ == 0) break; + method2550(class348_sub49, i_20_, (byte) 52); + } + } + + public Component236() { + /* empty */ + } +} diff --git a/client/components/Component237.java b/client/components/Component237.java new file mode 100644 index 000000000..c2e475244 --- /dev/null +++ b/client/components/Component237.java @@ -0,0 +1,413 @@ +/* Component237 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaggl.OpenGL; + +final class Component237 +/** + * RENAMED from `Class233` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static float[] aFloatArray3015 = new float[16]; + static int anInt3016; + static int anInt3017; + static int anInt3018; + static int anInt3019; + private final Component182 aClass348_Sub49_Sub1_3020; + static int anInt3021; + static HashTable aClass107_3022 = new HashTable(); + static int anInt3023; + private final float[] aFloatArray3024 = new float[16]; + private Component132 aClass123_3025; + private final int anInt3026; + private Interface2 anInterface2_3027; + private Component132 aClass123_3028; + private Component132 aClass123_3029; + private final RenderableSub9Sub2[][] aClass318_Sub9_Sub2ArrayArray3030; + private final RenderableSub9Sub2[][] aClass318_Sub9_Sub2ArrayArray3031; + private final int[] anIntArray3032; + private final int[] anIntArray3033; + private int anInt3034; + private final int[] anIntArray3035; + + private final void method1649(GlToolkitSub2 var_ha_Sub2, int i, int i_0_) { + anInt3019++; + Component328.aFloat1478 = var_ha_Sub2.aFloat7768; + if (i_0_ != 24484) method1655(null, -66, 67); + var_ha_Sub2.method3789((byte) -119, (float) i); + var_ha_Sub2.method3760(i_0_ + -24483); + OpenGL.glDisable(16384); + OpenGL.glDisable(16385); + var_ha_Sub2.method3748(0, false); + OpenGL.glNormal3f(0.0F, -1.0F, 0.0F); + } + + private final void method1650(GlToolkitSub2 var_ha_Sub2, byte i) { + var_ha_Sub2.method3748(0, true); + anInt3016++; + OpenGL.glEnable(16384); + OpenGL.glEnable(16385); + if (i != -5) aFloatArray3015 = null; + if (Component328.aFloat1478 != var_ha_Sub2.aFloat7768) var_ha_Sub2.DualToolkit(Component328.aFloat1478); + } + + final void method1651(GlToolkitSub2 var_ha_Sub2, byte i, int i_1_, Component122 class98) { + try { + anInt3017++; + if (var_ha_Sub2.aClass101_Sub3_7760 != null) { + if (i_1_ >= 0) method1649(var_ha_Sub2, i_1_, 24484); + else method1652(false, var_ha_Sub2); + float f = (var_ha_Sub2.aClass101_Sub3_7760.aFloat5756); + float f_2_ = (var_ha_Sub2.aClass101_Sub3_7760.aFloat5754); + float f_3_ = (var_ha_Sub2.aClass101_Sub3_7760.aFloat5784); + float f_4_ = (var_ha_Sub2.aClass101_Sub3_7760.aFloat5751); + try { + int i_5_ = 0; + int i_6_ = 2147483647; + int i_7_ = 0; + RenderableSub9 class318_sub9 = (class98.aClass88_1569.aClass318_Sub9_1503); + for (RenderableSub9 class318_sub9_8_ = (class318_sub9.aClass318_Sub9_6469); class318_sub9_8_ != class318_sub9; class318_sub9_8_ = (class318_sub9_8_.aClass318_Sub9_6469)) { + RenderableSub9Sub2 class318_sub9_sub2 = (RenderableSub9Sub2) class318_sub9_8_; + int i_9_ = (int) (f_4_ + ((float) (class318_sub9_sub2.anInt8796 >> 12) * f_2_ + (float) ((class318_sub9_sub2.anInt8791) >> 12) * f + (float) ((class318_sub9_sub2.anInt8789) >> 12) * f_3_)); + if (i_7_ < i_9_) i_7_ = i_9_; + if (i_6_ > i_9_) i_6_ = i_9_; + anIntArray3032[i_5_++] = i_9_; + } + int i_10_ = i_7_ - i_6_; + int i_11_; + if (2 + i_10_ > 1600) { + i_11_ = 1 - -Component80.method2253(i_10_, -86) - anInt3026; + i_10_ = (i_10_ >> i_11_) + 2; + } else { + i_10_ += 2; + i_11_ = 0; + } + i_5_ = 0; + RenderableSub9 class318_sub9_12_ = class318_sub9.aClass318_Sub9_6469; + int i_13_ = -2; + if (i > -23) aClass107_3022 = null; + boolean bool = true; + boolean bool_14_ = true; + while (class318_sub9 != class318_sub9_12_) { + anInt3034 = 0; + for (int i_15_ = 0; i_10_ > i_15_; i_15_++) + anIntArray3033[i_15_] = 0; + for (int i_16_ = 0; i_16_ < 64; i_16_++) + anIntArray3035[i_16_] = 0; + for (/**/; class318_sub9 != class318_sub9_12_; class318_sub9_12_ = (class318_sub9_12_.aClass318_Sub9_6469)) { + RenderableSub9Sub2 class318_sub9_sub2 = (RenderableSub9Sub2) class318_sub9_12_; + if (bool_14_) { + bool = class318_sub9_sub2.aBoolean8794; + i_13_ = class318_sub9_sub2.anInt8792; + bool_14_ = false; + } + if (i_5_ > 0 && ((class318_sub9_sub2.anInt8792) != i_13_ || (class318_sub9_sub2.aBoolean8794 == !bool))) { + bool_14_ = true; + break; + } + int i_17_ = anIntArray3032[i_5_++] + -i_6_ >> i_11_; + if (i_17_ < 1600) { + if (anIntArray3033[i_17_] < 64) aClass318_Sub9_Sub2ArrayArray3031[i_17_][anIntArray3033[i_17_]++] = class318_sub9_sub2; + else { + if (anIntArray3033[i_17_] == 64) { + if (anInt3034 == 64) continue; + anIntArray3033[i_17_] += anInt3034++ + 1; + } + aClass318_Sub9_Sub2ArrayArray3030[-1 + (-64 + anIntArray3033[i_17_])][anIntArray3035[(anIntArray3033[i_17_] - 64 + -1)]++] = class318_sub9_sub2; + } + } + } + if (i_13_ < 0) var_ha_Sub2.method3757(-1, -124); + else var_ha_Sub2.method3757(i_13_, -100); + if (!bool || (Component328.aFloat1478 == var_ha_Sub2.aFloat7768)) { + if (var_ha_Sub2.aFloat7768 != 1.0F) var_ha_Sub2.DualToolkit(1.0F); + } else var_ha_Sub2.DualToolkit(Component328.aFloat1478); + method1655(var_ha_Sub2, i_10_, 785980556); + } + } catch (Exception exception) { + /* empty */ + } + method1650(var_ha_Sub2, (byte) -5); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("sn.G(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_1_ + ',' + (class98 != null ? "{...}" : "null") + ')')); + } + } + + private final void method1652(boolean bool, GlToolkitSub2 var_ha_Sub2) { + Component328.aFloat1478 = var_ha_Sub2.aFloat7768; + anInt3021++; + var_ha_Sub2.method3784((byte) -62); + OpenGL.glDisable(16384); + OpenGL.glDisable(16385); + var_ha_Sub2.method3748(0, bool); + OpenGL.glNormal3f(0.0F, -1.0F, 0.0F); + } + + public static void method1653(int i) { + aClass107_3022 = null; + aFloatArray3015 = null; + if (i != 1489574736) aClass107_3022 = null; + } + + final void method1654(int i, GlToolkitSub2 var_ha_Sub2) { + if (i == 643267468) { + anInt3023++; + anInterface2_3027 = var_ha_Sub2.method3731(2, true, 24, null, 196584); + aClass123_3025 = new Component132(anInterface2_3027, 5126, 2, 0); + aClass123_3029 = new Component132(anInterface2_3027, 5126, 3, 8); + aClass123_3028 = new Component132(anInterface2_3027, 5121, 4, 20); + } + } + + private final void method1655(GlToolkitSub2 var_ha_Sub2, int i, int i_18_) { + anInt3018++; + if (i_18_ == 785980556) { + OpenGL.glGetFloatv(2982, aFloatArray3024, 0); + float f = aFloatArray3024[0]; + float f_19_ = aFloatArray3024[4]; + float f_20_ = aFloatArray3024[8]; + float f_21_ = aFloatArray3024[1]; + float f_22_ = aFloatArray3024[5]; + float f_23_ = aFloatArray3024[9]; + float f_24_ = f_21_ + f; + float f_25_ = f_22_ + f_19_; + float f_26_ = f_23_ + f_20_; + float f_27_ = f - f_21_; + float f_28_ = -f_22_ + f_19_; + float f_29_ = -f_23_ + f_20_; + float f_30_ = -f + f_21_; + float f_31_ = -f_19_ + f_22_; + aClass348_Sub49_Sub1_3020.offset = 0; + float f_32_ = -f_20_ + f_23_; + if (var_ha_Sub2.aBoolean7775) { + for (int i_56_ = i - 1; i_56_ >= 0; i_56_--) { + int i_57_ = (Math.min(anIntArray3033[i_56_], 64)); + if (i_57_ > 0) { + for (int i_58_ = -1 + i_57_; i_58_ >= 0; i_58_--) { + RenderableSub9Sub2 class318_sub9_sub2 = (aClass318_Sub9_Sub2ArrayArray3031[i_56_][i_58_]); + int i_59_ = (class318_sub9_sub2.anInt8790); + byte i_60_ = (byte) (i_59_ >> 16); + byte i_61_ = (byte) (i_59_ >> 8); + byte i_62_ = (byte) i_59_; + byte i_63_ = (byte) (i_59_ >>> 24); + float f_64_ = (float) (class318_sub9_sub2.anInt8791 >> 12); + float f_65_ = (float) (class318_sub9_sub2.anInt8796 >> 12); + float f_66_ = (float) (class318_sub9_sub2.anInt8789 >> 12); + int i_67_ = ((class318_sub9_sub2.anInt8793) >> 12); + aClass348_Sub49_Sub1_3020.method3400(0.0F, (byte) -88); + aClass348_Sub49_Sub1_3020.method3400(0.0F, (byte) -96); + aClass348_Sub49_Sub1_3020.method3400((float) -i_67_ * f_24_ + f_64_, (byte) -96); + aClass348_Sub49_Sub1_3020.method3400(f_65_ + f_25_ * (float) -i_67_, (byte) -84); + aClass348_Sub49_Sub1_3020.method3400(f_66_ + f_26_ * (float) -i_67_, (byte) -119); + aClass348_Sub49_Sub1_3020.writeByte(false, i_60_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_61_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_62_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_63_); + aClass348_Sub49_Sub1_3020.method3400(1.0F, (byte) -114); + aClass348_Sub49_Sub1_3020.method3400(0.0F, (byte) -116); + aClass348_Sub49_Sub1_3020.method3400((float) i_67_ * f_27_ + f_64_, (byte) -121); + aClass348_Sub49_Sub1_3020.method3400((float) i_67_ * f_28_ + f_65_, (byte) -95); + aClass348_Sub49_Sub1_3020.method3400(f_66_ + (float) i_67_ * f_29_, (byte) -78); + aClass348_Sub49_Sub1_3020.writeByte(false, i_60_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_61_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_62_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_63_); + aClass348_Sub49_Sub1_3020.method3400(1.0F, (byte) -128); + aClass348_Sub49_Sub1_3020.method3400(1.0F, (byte) -91); + aClass348_Sub49_Sub1_3020.method3400(f_64_ + f_24_ * (float) i_67_, (byte) -101); + aClass348_Sub49_Sub1_3020.method3400(f_25_ * (float) i_67_ + f_65_, (byte) -128); + aClass348_Sub49_Sub1_3020.method3400(f_66_ + (float) i_67_ * f_26_, (byte) -123); + aClass348_Sub49_Sub1_3020.writeByte(false, i_60_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_61_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_62_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_63_); + aClass348_Sub49_Sub1_3020.method3400(0.0F, (byte) -94); + aClass348_Sub49_Sub1_3020.method3400(1.0F, (byte) -101); + aClass348_Sub49_Sub1_3020.method3400(f_30_ * (float) i_67_ + f_64_, (byte) -84); + aClass348_Sub49_Sub1_3020.method3400(f_65_ + f_31_ * (float) i_67_, (byte) -87); + aClass348_Sub49_Sub1_3020.method3400(f_32_ * (float) i_67_ + f_66_, (byte) -120); + aClass348_Sub49_Sub1_3020.writeByte(false, i_60_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_61_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_62_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_63_); + } + if (anIntArray3033[i_56_] > 64) { + int i_68_ = -64 + anIntArray3033[i_56_] - 1; + for (int i_69_ = anIntArray3035[i_68_] - 1; i_69_ >= 0; i_69_--) { + RenderableSub9Sub2 class318_sub9_sub2 = (aClass318_Sub9_Sub2ArrayArray3030[i_68_][i_69_]); + int i_70_ = (class318_sub9_sub2.anInt8790); + byte i_71_ = (byte) (i_70_ >> 16); + byte i_72_ = (byte) (i_70_ >> 8); + byte i_73_ = (byte) i_70_; + byte i_74_ = (byte) (i_70_ >>> 24); + float f_75_ = (float) (class318_sub9_sub2.anInt8791 >> 12); + float f_76_ = (float) (class318_sub9_sub2.anInt8796 >> 12); + float f_77_ = (float) (class318_sub9_sub2.anInt8789 >> 12); + int i_78_ = (class318_sub9_sub2.anInt8793 >> 12); + aClass348_Sub49_Sub1_3020.method3400(0.0F, (byte) -77); + aClass348_Sub49_Sub1_3020.method3400(0.0F, (byte) -103); + aClass348_Sub49_Sub1_3020.method3400((float) -i_78_ * f_24_ + f_75_, (byte) -79); + aClass348_Sub49_Sub1_3020.method3400(f_76_ + f_25_ * (float) -i_78_, (byte) -102); + aClass348_Sub49_Sub1_3020.method3400(f_77_ + f_26_ * (float) -i_78_, (byte) -79); + aClass348_Sub49_Sub1_3020.writeByte(false, i_71_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_72_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_73_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_74_); + aClass348_Sub49_Sub1_3020.method3400(1.0F, (byte) -119); + aClass348_Sub49_Sub1_3020.method3400(0.0F, (byte) -118); + aClass348_Sub49_Sub1_3020.method3400((float) i_78_ * f_27_ + f_75_, (byte) -126); + aClass348_Sub49_Sub1_3020.method3400(f_76_ + f_28_ * (float) i_78_, (byte) -103); + aClass348_Sub49_Sub1_3020.method3400(f_77_ + (float) i_78_ * f_29_, (byte) -94); + aClass348_Sub49_Sub1_3020.writeByte(false, i_71_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_72_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_73_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_74_); + aClass348_Sub49_Sub1_3020.method3400(1.0F, (byte) -128); + aClass348_Sub49_Sub1_3020.method3400(1.0F, (byte) -127); + aClass348_Sub49_Sub1_3020.method3400(f_24_ * (float) i_78_ + f_75_, (byte) -125); + aClass348_Sub49_Sub1_3020.method3400(f_25_ * (float) i_78_ + f_76_, (byte) -98); + aClass348_Sub49_Sub1_3020.method3400(f_77_ + (float) i_78_ * f_26_, (byte) -119); + aClass348_Sub49_Sub1_3020.writeByte(false, i_71_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_72_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_73_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_74_); + aClass348_Sub49_Sub1_3020.method3400(0.0F, (byte) -116); + aClass348_Sub49_Sub1_3020.method3400(1.0F, (byte) -116); + aClass348_Sub49_Sub1_3020.method3400((float) i_78_ * f_30_ + f_75_, (byte) -124); + aClass348_Sub49_Sub1_3020.method3400((float) i_78_ * f_31_ + f_76_, (byte) -83); + aClass348_Sub49_Sub1_3020.method3400((float) i_78_ * f_32_ + f_77_, (byte) -80); + aClass348_Sub49_Sub1_3020.writeByte(false, i_71_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_72_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_73_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_74_); + } + } + } + } + } else { + for (int i_33_ = -1 + i; i_33_ >= 0; i_33_--) { + int i_34_ = (Math.min(anIntArray3033[i_33_], 64)); + if (i_34_ > 0) { + for (int i_35_ = -1 + i_34_; i_35_ >= 0; i_35_--) { + RenderableSub9Sub2 class318_sub9_sub2 = (aClass318_Sub9_Sub2ArrayArray3031[i_33_][i_35_]); + int i_36_ = (class318_sub9_sub2.anInt8790); + byte i_37_ = (byte) (i_36_ >> 16); + byte i_38_ = (byte) (i_36_ >> 8); + byte i_39_ = (byte) i_36_; + byte i_40_ = (byte) (i_36_ >>> 24); + float f_41_ = (float) (class318_sub9_sub2.anInt8791 >> 12); + float f_42_ = (float) (class318_sub9_sub2.anInt8796 >> 12); + float f_43_ = (float) (class318_sub9_sub2.anInt8789 >> 12); + int i_44_ = ((class318_sub9_sub2.anInt8793) >> 12); + aClass348_Sub49_Sub1_3020.method3399(18291, 0.0F); + aClass348_Sub49_Sub1_3020.method3399(18291, 0.0F); + aClass348_Sub49_Sub1_3020.method3399(18291, (float) -i_44_ * f_24_ + f_41_); + aClass348_Sub49_Sub1_3020.method3399(18291, (float) -i_44_ * f_25_ + f_42_); + aClass348_Sub49_Sub1_3020.method3399(18291, f_26_ * (float) -i_44_ + f_43_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_37_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_38_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_39_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_40_); + aClass348_Sub49_Sub1_3020.method3399(18291, 1.0F); + aClass348_Sub49_Sub1_3020.method3399(18291, 0.0F); + aClass348_Sub49_Sub1_3020.method3399(18291, f_41_ + f_27_ * (float) i_44_); + aClass348_Sub49_Sub1_3020.method3399(18291, f_42_ + f_28_ * (float) i_44_); + aClass348_Sub49_Sub1_3020.method3399(18291, f_43_ + f_29_ * (float) i_44_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_37_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_38_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_39_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_40_); + aClass348_Sub49_Sub1_3020.method3399(18291, 1.0F); + aClass348_Sub49_Sub1_3020.method3399(i_18_ + -785962265, 1.0F); + aClass348_Sub49_Sub1_3020.method3399(18291, (float) i_44_ * f_24_ + f_41_); + aClass348_Sub49_Sub1_3020.method3399(18291, f_42_ + (float) i_44_ * f_25_); + aClass348_Sub49_Sub1_3020.method3399(i_18_ ^ 0x2ed95bff, f_43_ + f_26_ * (float) i_44_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_37_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_38_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_39_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_40_); + aClass348_Sub49_Sub1_3020.method3399(18291, 0.0F); + aClass348_Sub49_Sub1_3020.method3399(i_18_ + -785962265, 1.0F); + aClass348_Sub49_Sub1_3020.method3399(18291, f_41_ + f_30_ * (float) i_44_); + aClass348_Sub49_Sub1_3020.method3399(18291, (float) i_44_ * f_31_ + f_42_); + aClass348_Sub49_Sub1_3020.method3399(i_18_ ^ 0x2ed95bff, (float) i_44_ * f_32_ + f_43_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_37_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_38_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_39_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_40_); + } + if (anIntArray3033[i_33_] > 64) { + int i_45_ = -65 + anIntArray3033[i_33_]; + for (int i_46_ = -1 + anIntArray3035[i_45_]; i_46_ >= 0; i_46_--) { + RenderableSub9Sub2 class318_sub9_sub2 = (aClass318_Sub9_Sub2ArrayArray3030[i_45_][i_46_]); + int i_47_ = (class318_sub9_sub2.anInt8790); + byte i_48_ = (byte) (i_47_ >> 16); + byte i_49_ = (byte) (i_47_ >> 8); + byte i_50_ = (byte) i_47_; + byte i_51_ = (byte) (i_47_ >>> 24); + float f_52_ = (float) (class318_sub9_sub2.anInt8791 >> 12); + float f_53_ = (float) (class318_sub9_sub2.anInt8796 >> 12); + float f_54_ = (float) (class318_sub9_sub2.anInt8789 >> 12); + int i_55_ = (class318_sub9_sub2.anInt8793 >> 12); + aClass348_Sub49_Sub1_3020.method3399(i_18_ + -785962265, 0.0F); + aClass348_Sub49_Sub1_3020.method3399(18291, 0.0F); + aClass348_Sub49_Sub1_3020.method3399(i_18_ ^ 0x2ed95bff, f_52_ + (float) -i_55_ * f_24_); + aClass348_Sub49_Sub1_3020.method3399(18291, f_53_ + f_25_ * (float) -i_55_); + aClass348_Sub49_Sub1_3020.method3399(18291, f_54_ + f_26_ * (float) -i_55_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_48_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_49_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_50_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_51_); + aClass348_Sub49_Sub1_3020.method3399(18291, 1.0F); + aClass348_Sub49_Sub1_3020.method3399(18291, 0.0F); + aClass348_Sub49_Sub1_3020.method3399(i_18_ ^ 0x2ed95bff, f_27_ * (float) i_55_ + f_52_); + aClass348_Sub49_Sub1_3020.method3399(18291, (float) i_55_ * f_28_ + f_53_); + aClass348_Sub49_Sub1_3020.method3399(18291, f_29_ * (float) i_55_ + f_54_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_48_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_49_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_50_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_51_); + aClass348_Sub49_Sub1_3020.method3399(18291, 1.0F); + aClass348_Sub49_Sub1_3020.method3399(i_18_ ^ 0x2ed95bff, 1.0F); + aClass348_Sub49_Sub1_3020.method3399(i_18_ ^ 0x2ed95bff, (float) i_55_ * f_24_ + f_52_); + aClass348_Sub49_Sub1_3020.method3399(18291, (float) i_55_ * f_25_ + f_53_); + aClass348_Sub49_Sub1_3020.method3399(18291, (float) i_55_ * f_26_ + f_54_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_48_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_49_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_50_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_51_); + aClass348_Sub49_Sub1_3020.method3399(i_18_ ^ 0x2ed95bff, 0.0F); + aClass348_Sub49_Sub1_3020.method3399(18291, 1.0F); + aClass348_Sub49_Sub1_3020.method3399(i_18_ + -785962265, (float) i_55_ * f_30_ + f_52_); + aClass348_Sub49_Sub1_3020.method3399(18291, (float) i_55_ * f_31_ + f_53_); + aClass348_Sub49_Sub1_3020.method3399(18291, (float) i_55_ * f_32_ + f_54_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_48_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_49_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_50_); + aClass348_Sub49_Sub1_3020.writeByte(false, i_51_); + } + } + } + } + } + if (aClass348_Sub49_Sub1_3020.offset != 0) { + anInterface2_3027.method11(24, aClass348_Sub49_Sub1_3020.offset, (aClass348_Sub49_Sub1_3020.payload), -9894); + var_ha_Sub2.method3794(aClass123_3029, aClass123_3028, i_18_ + -786006967, aClass123_3025, null); + var_ha_Sub2.method3756((aClass348_Sub49_Sub1_3020.offset / 24), 7, 0, 120); + } + } + } + + Component237() { + aClass348_Sub49_Sub1_3020 = new Component182(786336); + anInt3026 = Component80.method2253(1600, 124); + anIntArray3032 = new int[8191]; + aClass318_Sub9_Sub2ArrayArray3031 = new RenderableSub9Sub2[1600][64]; + anIntArray3033 = new int[1600]; + anInt3034 = 0; + aClass318_Sub9_Sub2ArrayArray3030 = new RenderableSub9Sub2[64][768]; + anIntArray3035 = new int[64]; + } +} diff --git a/client/components/Component239.java b/client/components/Component239.java new file mode 100644 index 000000000..05dcd6b7c --- /dev/null +++ b/client/components/Component239.java @@ -0,0 +1,154 @@ +/* Component239 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.io.EOFException; +import java.io.IOException; +import java.io.InputStream; + +/** + * Async ring-buffer reader over an {@link InputStream} (daemon thread). + * Used by {@link TcpSocketStream} for non-blocking socket reads. + */ +final class Component239 implements Runnable { + private int capacity; + static int anInt4547; + private InputStream inputStream; + static int anInt4549; + static int anInt4550; + static int anInt4551; + static int anInt4552; + static int anInt4553; + private final byte[] buffer; + static int anInt4555; + private int readPos = 0; + private final Thread thread; + private int writePos = 0; + static int anInt4559 = 0; + private IOException exception; + + final void closeAndJoin(int i) { + synchronized (this) { + if (i != 15984) run(); + if (exception == null) exception = new IOException(""); + this.notifyAll(); + } + anInt4552++; + try { + thread.join(); + } catch (InterruptedException interruptedexception) { + /* empty */ + } + } + + static final void method3616(int i) { + anInt4549++; + if (Component280.anInterface16Array2447 != null) { + Interface16[] interface16s = Component280.anInterface16Array2447; + for (int i_0_ = 0; i_0_ < interface16s.length; i_0_++) { + Interface16 interface16 = interface16s[i_0_]; + interface16.method57(108); + } + } + if (i != 12639) anInt4559 = 72; + } + + public final void run() { + anInt4553++; + for (; ; ) { + int i; + synchronized (this) { + for (; ; ) { + if (exception != null) return; + if (readPos != 0) { + if (readPos < writePos) i = -writePos + capacity; + else i = -1 + readPos - writePos; + } else i = -1 + (capacity + -writePos); + if (i > 0) break; + try { + this.wait(); + } catch (InterruptedException interruptedexception) { + /* empty */ + } + } + } + int i_1_; + try { + i_1_ = inputStream.read(buffer, writePos, i); + if (i_1_ == -1) throw new EOFException(); + } catch (IOException ioexception) { + synchronized (this) { + exception = ioexception; + break; + } + } + synchronized (this) { + writePos = (i_1_ + writePos) % capacity; + } + } + } + + final int method3617(int i, int i_2_, int i_3_, byte[] is) throws IOException { + anInt4555++; + if (i < 0 || i_2_ < 0 || is.length < i_2_ + i) throw new IOException(); + synchronized (this) { + int i_4_; + if (readPos <= writePos) i_4_ = writePos + -readPos; + else i_4_ = capacity + (-readPos - -writePos); + if (i_4_ < i) i = i_4_; + if (i_3_ == i && exception != null) throw new IOException(exception.toString()); + if (capacity < i + readPos) { + int i_5_ = capacity - readPos; + Component313.arraycopy(buffer, readPos, is, i_2_, i_5_); + Component313.arraycopy(buffer, 0, is, i_2_ - -i_5_, i - i_5_); + } else Component313.arraycopy(buffer, readPos, is, i_2_, i); + readPos = (readPos - -i) % capacity; + this.notifyAll(); + return i; + } + } + + final void detachInput(int i) { + anInt4550++; + if (i != 0) capacity = 110; + inputStream = new InputStream_Sub1(); + } + + final boolean hasBytes(int i, boolean bool) throws IOException { + anInt4551++; + if (i <= 0 || i >= capacity) throw new IOException(); + synchronized (this) { + int i_6_; + if (readPos > writePos) i_6_ = -readPos + capacity - -writePos; + else i_6_ = writePos - readPos; + if (i > i_6_) { + if (exception != null) throw new IOException(exception.toString()); + return false; + } + return bool == false; + } + } + + Component239(InputStream inputstream, int i) { + capacity = i - -1; + inputStream = inputstream; + buffer = new byte[capacity]; + thread = new Thread(this); + thread.setDaemon(true); + thread.start(); + } + + static final Component3 method3620(Component327 class318_sub1_sub3, int i) { + if (i < 9) anInt4559 = -27; + anInt4547++; + Component3 class148; + if (Component110.aClass148_231 != null) { + class148 = Component110.aClass148_231; + Component110.aClass148_231 = Component110.aClass148_231.aClass148_2038; + class148.aClass148_2038 = null; + GlToolkitSub2.anInt7722--; + } else class148 = new Component3(); + class148.aClass318_Sub1_Sub3_2040 = class318_sub1_sub3; + return class148; + } +} diff --git a/client/components/Component240.java b/client/components/Component240.java new file mode 100644 index 000000000..a0cfbfbb6 --- /dev/null +++ b/client/components/Component240.java @@ -0,0 +1,77 @@ +/* Component240 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component240 +/** + * RENAMED from `Class62` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt1110; + static int anInt1111; + static int anInt1112; + static int anInt1113; + static Component315 aClass243_1114 = new Component315(); + static int anInt1115; + static int[][][] anIntArrayArrayArray1116; + + static final DisplayModeManagerContainer196[] method596(int i) { + if (i != 20000) anIntArrayArrayArray1116 = null; + anInt1112++; + return (new DisplayModeManagerContainer196[]{Component134.aClass341_5808, DisplayModeManagerContainer91.aClass341_399, Component251.aClass341_5821}); + } + + public static void method597(byte i) { + aClass243_1114 = null; + anIntArrayArrayArray1116 = null; + int i_0_ = -116 / ((6 - i) / 60); + } + + static final void method598(int i) { + anInt1111++; + if (i != 9013) method597((byte) 86); + for (ColorTagNode class348_sub15 = (ColorTagNode) DisplayModeManagerContainer91.aClass356_389.first(0); class348_sub15 != null; class348_sub15 = (ColorTagNode) DisplayModeManagerContainer91.aClass356_389.next(0)) { + if (!class348_sub15.aBoolean6772) DisplayModeManagerContainer282.method690((byte) -94, (class348_sub15.anInt6773)); + else class348_sub15.aBoolean6772 = false; + } + } + + /** Monotonic millis: wall clock + {@link DisplayModeManagerContainer28#clockSkewMillis}. */ + static final synchronized long currentTimeMillis(int i) { + if (i > -52) return -121L; + anInt1113++; + long l = System.currentTimeMillis(); + if (MatrixSub1.lastWallClockMillis > l) DisplayModeManagerContainer28.clockSkewMillis += MatrixSub1.lastWallClockMillis - l; + MatrixSub1.lastWallClockMillis = l; + return l + DisplayModeManagerContainer28.clockSkewMillis; + } + + static final int method600(byte i, int i_1_, int i_2_) { + anInt1115++; + int i_3_; + if (i_2_ <= 20000) { + if (i_2_ <= 10000) { + if (i_2_ <= 5000) { + GradientPreset.method3076(0, true); + i_3_ = 1; + } else { + i_3_ = 2; + DisplayModeManagerContainer254.method1263(true); + } + } else { + i_3_ = 3; + DisplayModeManagerContainer32.method447((byte) -59); + } + } else { + HeapDumper.resetGraphicsPreferences(120); + i_3_ = 4; + } + if (i_1_ != Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350)) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub25_7251), i_1_); + SoftwareFallbackShader.method3553(false, (byte) 122, i_1_); + } + if (i >= -20) aClass243_1114 = null; + DisplayModeManagerContainer389.method243(37); + return i_3_; + } +} diff --git a/client/components/Component241.java b/client/components/Component241.java new file mode 100644 index 000000000..4ce469973 --- /dev/null +++ b/client/components/Component241.java @@ -0,0 +1,291 @@ +/* Component241 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component241 +/** + * RENAMED from `Class225` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt2901; + static int anInt2902; + static int anInt2903; + int anInt2904; + int anInt2905; + int[] anIntArray2906; + int[] anIntArray2907; + int anInt2908 = -1; + int anInt2909; + int[][] anIntArrayArray2910; + int anInt2911; + int anInt2912; + boolean aBoolean2913; + int anInt2914; + int[] anIntArray2915; + int anInt2916; + int anInt2917; + int anInt2918; + int anInt2919; + int anInt2920; + static int anInt2921; + int anInt2922; + int anInt2923; + int anInt2924; + private DisplayModeManagerContainer204[] aClass101Array2925; + int anInt2926; + int anInt2927; + int anInt2928; + int[] anIntArray2929; + private int anInt2930; + static Component241 aClass225_2931 = new Component241(); + int anInt2932; + static int anInt2933; + int anInt2934; + int anInt2935; + int anInt2936; + int anInt2937; + int anInt2938; + int[][] anIntArrayArray2939; + int anInt2940; + int anInt2941; + private final int anInt2942; + int anInt2943; + static Component75 aClass173_2944; + int anInt2945; + static int occludedPixelCount = 0; + int anInt2947; + int anInt2948; + int anInt2949; + int anInt2950; + int anInt2951; + static int anInt2952; + int anInt2953; + int anInt2954; + static int anInt2955; + static int anInt2956; + static Component315 aClass243_2957; + int anInt2958; + + final DisplayModeManagerContainer204[] method1618(GraphicsToolkit var_ha, int i) { + anInt2952++; + if (aClass101Array2925 != null && var_ha.anInt4567 == anInt2942) return aClass101Array2925; + if (this.anIntArrayArray2939 == null) return null; + aClass101Array2925 = new DisplayModeManagerContainer204[this.anIntArrayArray2939.length]; + for (int i_0_ = i; (this.anIntArrayArray2939.length > i_0_); i_0_++) { + int i_1_ = 0; + int i_2_ = 0; + int i_3_ = 0; + int i_4_ = 0; + int i_5_ = 0; + int i_6_ = 0; + if (this.anIntArrayArray2939[i_0_] != null) { + i_2_ = this.anIntArrayArray2939[i_0_][1]; + i_3_ = this.anIntArrayArray2939[i_0_][2]; + i_4_ = (this.anIntArrayArray2939[i_0_][3] << 3); + i_1_ = this.anIntArrayArray2939[i_0_][0]; + i_5_ = (this.anIntArrayArray2939[i_0_][4] << 3); + i_6_ = (this.anIntArrayArray2939[i_0_][5] << 3); + } + if (i_1_ != 0 || i_2_ != 0 || i_3_ != 0 || i_4_ != 0 || i_5_ != 0 || i_6_ != 0) { + DisplayModeManagerContainer204 class101 = aClass101Array2925[i_0_] = var_ha.method3654(); + if (i_6_ != 0) class101.method908(i_6_); + if (i_4_ != 0) class101.method900(i_4_); + if (i_5_ != 0) class101.method896(i_5_); + class101.method891(i_1_, i_2_, i_3_); + } + } + return aClass101Array2925; + } + + public static void method1619(byte i) { + aClass225_2931 = null; + aClass173_2944 = null; + int i_7_ = 86 / ((i - 41) / 40); + aClass243_2957 = null; + } + + final void method1620(Buffer class348_sub49, int i) { + for (; ; ) { + int i_8_ = class348_sub49.readUnsignedByte(255); + if (i_8_ == 0) break; + method1622(class348_sub49, 48, i_8_); + } + if (i >= -27) method1621((byte) 109); + anInt2933++; + } + + final int method1621(byte i) { + anInt2921++; + if (this.anInt2918 != -1) return this.anInt2918; + if (this.anIntArray2915 != null) { + int i_9_ = (int) ((double) anInt2930 * Math.random()); + int i_10_; + for (i_10_ = 0; i_9_ >= this.anIntArray2929[i_10_]; i_10_++) + i_9_ -= this.anIntArray2929[i_10_]; + return this.anIntArray2915[i_10_]; + } + int i_11_ = -62 % ((-71 - i) / 52); + return -1; + } + + private final void method1622(Buffer class348_sub49, int i, int i_12_) { + anInt2903++; + if (i_12_ == 1) { + this.anInt2918 = class348_sub49.readUnsignedShort(i ^ 0x3235f8c8); + this.anInt2951 = class348_sub49.readUnsignedShort(842397944); + if (this.anInt2951 == 65535) this.anInt2951 = -1; + if (this.anInt2918 == 65535) this.anInt2918 = -1; + } else if (i_12_ != 2) { + if (i_12_ == 3) this.anInt2924 = class348_sub49.readUnsignedShort(i + 842397896); + else if (i_12_ == 4) this.anInt2958 = class348_sub49.readUnsignedShort(842397944); + else if (i_12_ == 5) this.anInt2947 = class348_sub49.readUnsignedShort(842397944); + else if (i_12_ != 6) { + if (i_12_ == 7) this.anInt2920 = class348_sub49.readUnsignedShort(842397944); + else if (i_12_ != 8) { + if (i_12_ != 9) { + if (i_12_ == 26) { + this.anInt2932 = (short) (class348_sub49.readUnsignedByte(i ^ 0xcf) * 4); + this.anInt2941 = (short) (class348_sub49.readUnsignedByte(255) * 4); + } else if (i_12_ == 27) { + if (this.anIntArrayArray2939 == null) this.anIntArrayArray2939 = new int[12][]; + int i_13_ = class348_sub49.readUnsignedByte(255); + this.anIntArrayArray2939[i_13_] = new int[6]; + for (int i_14_ = 0; i_14_ < 6; i_14_++) + this.anIntArrayArray2939[i_13_][i_14_] = class348_sub49.readShort(13638); + } else if (i_12_ == 28) { + this.anIntArray2906 = new int[12]; + for (int i_21_ = 0; i_21_ < 12; i_21_++) { + this.anIntArray2906[i_21_] = class348_sub49.readUnsignedByte(255); + if ((this.anIntArray2906[i_21_]) == 255) this.anIntArray2906[i_21_] = -1; + } + } else if (i_12_ != 29) { + if (i_12_ == 30) this.anInt2917 = class348_sub49.readUnsignedShort(842397944); + else if (i_12_ != 31) { + if (i_12_ == 32) this.anInt2935 = class348_sub49.readUnsignedShort(842397944); + else if (i_12_ == 33) this.anInt2950 = class348_sub49.readShort(13638); + else if (i_12_ != 34) { + if (i_12_ != 35) { + if (i_12_ != 36) { + if (i_12_ == 37) this.anInt2945 = (class348_sub49.readUnsignedByte(255)); + else if (i_12_ != 38) { + if (i_12_ != 39) { + if (i_12_ == 40) this.anInt2938 = (class348_sub49.readUnsignedShort(842397944)); + else if (i_12_ == 41) this.anInt2937 = (class348_sub49.readUnsignedShort(i + 842397896)); + else if (i_12_ != 42) { + if (i_12_ == 43) this.anInt2909 = (class348_sub49.readUnsignedShort(842397944)); + else if (i_12_ != 44) { + if (i_12_ != 45) { + if (i_12_ != 46) { + if (i_12_ == 47) this.anInt2927 = class348_sub49.readUnsignedShort(842397944); + else if (i_12_ != 48) { + if (i_12_ == 49) this.anInt2911 = class348_sub49.readUnsignedShort(842397944); + else if (i_12_ == 50) this.anInt2934 = class348_sub49.readUnsignedShort(842397944); + else if (i_12_ != 51) { + if (i_12_ == 52) { + int i_15_ = class348_sub49.readUnsignedByte(i ^ 0xcf); + this.anIntArray2915 = new int[i_15_]; + this.anIntArray2929 = new int[i_15_]; + for (int i_16_ = 0; i_16_ < i_15_; i_16_++) { + this.anIntArray2915[i_16_] = class348_sub49.readUnsignedShort(842397944); + int i_17_ = class348_sub49.readUnsignedByte(255); + this.anIntArray2929[i_16_] = i_17_; + anInt2930 += i_17_; + } + } else if (i_12_ == 53) this.aBoolean2913 = false; + else if (i_12_ == 54) { + this.anInt2912 = class348_sub49.readUnsignedByte(255) << 6; + this.anInt2943 = class348_sub49.readUnsignedByte(i + 207) << 6; + } else if (i_12_ == 55) { + if (this.anIntArray2907 == null) this.anIntArray2907 = new int[12]; + int i_18_ = class348_sub49.readUnsignedByte(i ^ 0xcf); + this.anIntArray2907[i_18_] = class348_sub49.readUnsignedShort(i + 842397896); + } else if (i_12_ == 56) { + if (this.anIntArrayArray2910 == null) this.anIntArrayArray2910 = new int[12][]; + int i_19_ = class348_sub49.readUnsignedByte(255); + this.anIntArrayArray2910[i_19_] = new int[3]; + for (int i_20_ = 0; i_20_ < 3; i_20_++) + this.anIntArrayArray2910[i_19_][i_20_] = class348_sub49.readShort(i + 13590); + } + } else this.anInt2953 = class348_sub49.readUnsignedShort(842397944); + } else this.anInt2905 = class348_sub49.readUnsignedShort(842397944); + } else this.anInt2908 = class348_sub49.readUnsignedShort(842397944); + } else this.anInt2928 = class348_sub49.readUnsignedShort(842397944); + } else this.anInt2923 = (class348_sub49.readUnsignedShort(842397944)); + } else this.anInt2954 = (class348_sub49.readUnsignedShort(842397944)); + } else this.anInt2922 = (class348_sub49.readUnsignedShort(842397944)); + } else this.anInt2916 = (class348_sub49.readUnsignedShort(842397944)); + } else this.anInt2926 = (class348_sub49.readShort(i ^ 0x3576)); + } else this.anInt2904 = (class348_sub49.readUnsignedShort(i + 842397896)); + } else this.anInt2936 = class348_sub49.readUnsignedByte(255); + } else this.anInt2901 = class348_sub49.readUnsignedByte(255); + } else this.anInt2948 = class348_sub49.readUnsignedByte(255); + } else this.anInt2949 = class348_sub49.readUnsignedShort(842397944); + } else this.anInt2914 = class348_sub49.readUnsignedShort(842397944); + } else this.anInt2919 = class348_sub49.readUnsignedShort(842397944); + } else this.anInt2940 = class348_sub49.readUnsignedShort(i + 842397896); + if (i != 48) this.anInt2928 = -71; + } + + final boolean method1623(int i, int i_22_) { + if (i_22_ >= -32) method1618(null, 16); + anInt2902++; + if (i == -1) return false; + if (this.anInt2918 == i) return true; + if (this.anIntArray2915 != null) { + for (int i_23_ = 0; this.anIntArray2915.length > i_23_; i_23_++) { + if (this.anIntArray2915[i_23_] == i) return true; + } + } + return false; + } + + public Component241() { + this.anInt2901 = 0; + this.anInt2911 = -1; + this.anIntArray2915 = null; + this.anInt2904 = 0; + this.anInt2923 = -1; + this.anInt2918 = -1; + this.anInt2909 = -1; + this.anInt2920 = -1; + this.anInt2916 = -1; + this.anInt2922 = -1; + this.anInt2932 = 0; + this.anInt2912 = 0; + this.anInt2917 = 0; + this.anInt2914 = -1; + this.anIntArray2929 = null; + this.anInt2919 = -1; + this.anInt2935 = 0; + this.anInt2927 = -1; + this.anInt2937 = -1; + this.anInt2926 = 0; + this.anInt2928 = -1; + this.anInt2941 = 0; + this.anInt2938 = -1; + this.anInt2945 = -1; + this.anInt2943 = 0; + this.anInt2905 = -1; + anInt2930 = 0; + this.aBoolean2913 = true; + this.anInt2950 = 0; + this.anInt2940 = -1; + this.anInt2934 = -1; + anInt2942 = -1; + this.anInt2951 = -1; + this.anInt2949 = -1; + this.anInt2948 = 0; + this.anInt2947 = -1; + this.anInt2924 = -1; + this.anInt2954 = -1; + this.anInt2953 = -1; + this.anInt2936 = 0; + this.anInt2958 = -1; + } + + static { + aClass173_2944 = new Component75(); + anInt2955 = 0; + aClass243_2957 = new Component315(); + } +} diff --git a/client/components/Component242.java b/client/components/Component242.java new file mode 100644 index 000000000..800f3bc5b --- /dev/null +++ b/client/components/Component242.java @@ -0,0 +1,25 @@ +/* Component242 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component242 +/** + * RENAMED from `Class360` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt4427; + int anInt4428; + int anInt4429; + int anInt4430; + + public Component242() { + /* empty */ + } + + Component242(Component242 class360_0_) { + this.anInt4430 = class360_0_.anInt4430; + this.anInt4428 = class360_0_.anInt4428; + this.anInt4427 = class360_0_.anInt4427; + this.anInt4429 = class360_0_.anInt4429; + } +} diff --git a/client/components/Component243.java b/client/components/Component243.java new file mode 100644 index 000000000..1ca3225e6 --- /dev/null +++ b/client/components/Component243.java @@ -0,0 +1,39 @@ +/* Component243 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component243 +/** + * RENAMED from `Class35` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt483; + static int anInt484; + static int anInt485; + + static final void method352(int i) { + anInt483++; + DisplayModeManagerContainer133.method1265(i + 15); + IOException_Sub1.configureAudio(Component192.aClass348_Sub51_3959.aClass239_Sub5_7240.method1739(-32350) == 1, 2, true, 22050); + Definition.aClass279_7042 = Component321.method1439(22050, OggUrlStream.aClass297_8992, DisplayModeManagerContainer50.gameCanvas, 0, 7); + HashNodeSub18.method3273(true, i + -82, Component16.method1326(null, 9)); + Component276.aClass279_2596 = Component321.method1439(2048, OggUrlStream.aClass297_8992, DisplayModeManagerContainer50.gameCanvas, i, 7); + Component276.aClass279_2596.method2088(false, PlayerState.aClass348_Sub16_Sub4_7065); + } + + static final int method353(int i, int i_0_, int i_1_) { + anInt485++; + if (i_1_ == -2) return 12345678; + if (i_0_ > -25) return 58; + if (i_1_ == -1) { + if (i >= 2) { + if (i > 126) i = 126; + } else i = 2; + return i; + } + i = (0x7f & i_1_) * i >> 7; + if (i < 2) i = 2; + else if (i > 126) i = 126; + return i + (0xff80 & i_1_); + } +} diff --git a/client/components/Component244.java b/client/components/Component244.java new file mode 100644 index 000000000..e9c347225 --- /dev/null +++ b/client/components/Component244.java @@ -0,0 +1,53 @@ +/* Component244 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component244 +/** + * RENAMED from `Class337` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private final GlToolkitSub2 aHa_Sub2_4173; + static float[][] aFloatArrayArray4174 = {{-0.333333F, -0.333333F, -0.333333F}, {0.333333F, -0.333333F, -0.333333F}, {-0.333333F, 0.333333F, -0.333333F}, {0.333333F, 0.333333F, -0.333333F}, {-0.333333F, -0.333333F, 0.333333F}, {0.333333F, -0.333333F, 0.333333F}, {-0.333333F, 0.333333F, 0.333333F}, {0.333333F, 0.333333F, 0.333333F}}; + static int anInt4175; + static int anInt4176; + static Object anObject4177; + long aLong4178; + static int anInt4179 = -1; + static int anInt4180; + + public static void method2658(boolean bool) { + aFloatArrayArray4174 = null; + anObject4177 = null; + if (bool != true) aFloatArrayArray4174 = null; + } + + protected final void finalize() throws Throwable { + aHa_Sub2_4173.method3769(this.aLong4178, false); + anInt4175++; + super.finalize(); + } + + Component244(GlToolkitSub2 var_ha_Sub2, long l, Component359[] class242s) { + try { + aHa_Sub2_4173 = var_ha_Sub2; + this.aLong4178 = l; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("dw.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + l + ',' + (class242s != null ? "{...}" : "null") + ')')); + } + } + + static final boolean method2659(byte i, int i_0_, int i_1_) { + int i_2_ = 24 % ((i - 76) / 42); + anInt4176++; + return (0x70000 & i_0_) != 0 | Node.method2709(i_1_, i_0_, -1) || Component118.method2187(i_0_, -84, i_1_); + } + + static final Component383 method2660(byte i, Buffer class348_sub49) { + anInt4180++; + if (i != 26) return null; + Component118 class288 = Component383.method2189(class348_sub49, i + 59); + int i_3_ = class348_sub49.readSignedMedium((byte) 125); + return new Component383(class288.anInt4958, class288.aClass221_4955, class288.aClass341_4952, class288.anInt4950, class288.anInt4951, i_3_); + } +} diff --git a/client/components/Component245.java b/client/components/Component245.java new file mode 100644 index 000000000..b2b3d5379 --- /dev/null +++ b/client/components/Component245.java @@ -0,0 +1,63 @@ +/* Component245 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component245 +/** + * RENAMED from `Class2` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt116; + static Component258 aClass141_117; + r aR118; + DisplayModeManagerContainer370 aClass64_119; + static int anInt120; + static int anInt121; + static int anInt122; + + static final Component362 method170(boolean bool) { + if (bool != true) method174(-106, -36); + anInt122++; + if (NodeSub36.anInt6985 < Component304.aClass110_Sub1Array1146.length) return Component304.aClass110_Sub1Array1146[NodeSub36.anInt6985++]; + return null; + } + + public static void method171(byte i) { + aClass141_117 = null; + if (i != 72) method173(39, null, null); + } + + static final void method172(int i, CacheStore class45) { + if (i != 30284) method170(true); + anInt116++; + Component54.aClass45_8670 = class45; + } + + static final void method173(int i, DisplayModeManagerContainer57 class46, DisplayModeManagerContainer57 class46_0_) { + try { + anInt120++; + NodeSub38.anInt7009++; + ParticleSystem class348_sub47 = ParticleShader.method2148(Component379.aClass351_5934, DisplayModeManagerContainer64.aClass77_9029, -104); + class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 112, class46.anInt830); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(class46_0_.anInt704, (byte) 3); + class348_sub47.aClass348_Sub49_Sub2_7116.writeIntMiddle(class46_0_.anInt830, (byte) 44); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, class46_0_.anInt812); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, class46.anInt704); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, class46.anInt812); + if (i > -50) aClass141_117 = null; + HashNodeSub14.method3243(-100, class348_sub47); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ak.E(" + i + ',' + (class46 != null ? "{...}" : "null") + ',' + (class46_0_ != null ? "{...}" : "null") + ')')); + } + } + + static final void method174(int i, int i_1_) { + if (i_1_ != -30742) aClass141_117 = null; + anInt121++; + Component9.aClass60_4139.processSoftEntries(2, i); + } + + public Component245() { + /* empty */ + } +} diff --git a/client/components/Component246.java b/client/components/Component246.java new file mode 100644 index 000000000..1a444e45b --- /dev/null +++ b/client/components/Component246.java @@ -0,0 +1,28 @@ +/* Component246 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component246 +/** + * RENAMED from `Class209` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2716; + static Component183 aClass114_2717 = new Component183(118, -2); + static BrowserUrlOpener aClass348_Sub16_Sub3_2718; + + public static void method1529(boolean bool) { + aClass114_2717 = null; + if (bool != true) aClass114_2717 = null; + aClass348_Sub16_Sub3_2718 = null; + } + + public final String toString() { + anInt2716++; + throw new IllegalStateException(); + } + + public Component246() { + /* empty */ + } +} diff --git a/client/components/Component247.java b/client/components/Component247.java new file mode 100644 index 000000000..03d2cdede --- /dev/null +++ b/client/components/Component247.java @@ -0,0 +1,35 @@ +/* Component247 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component247 +/** + * RENAMED from `Class120` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ implements Interface12 { + static int anInt4908; + static int anInt4909; + static int anInt4910; + static int anInt4911 = -1; + int anInt4912; + + public final DisplayModeManagerContainer369 method51(byte i) { + if (i < 116) method1080(81, 13, -51, -26); + anInt4909++; + return Component90.aClass223_2045; + } + + static final void method1080(int i, int i_0_, int i_1_, int i_2_) { + anInt4908++; + if (i_0_ == -23697) { + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i_2_, (byte) 105, 11); + class348_sub42_sub15.method3246(i_0_ + -1793); + class348_sub42_sub15.anInt9652 = i; + class348_sub42_sub15.anInt9651 = i_1_; + } + } + + Component247(int i) { + this.anInt4912 = i; + } +} diff --git a/client/components/Component248.java b/client/components/Component248.java new file mode 100644 index 000000000..ea41a0165 --- /dev/null +++ b/client/components/Component248.java @@ -0,0 +1,76 @@ +/* Component248 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component248 +/** + * RENAMED from `Class19` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static Component183 aClass114_304; + static int anInt305; + String aString306; + static int anInt307; + int anInt308; + static int anInt309; + byte aByte310; + static RadixParser[] aClass174Array311 = new RadixParser[16]; + String aString312; + String aString313; + String aString314; + static Component183 aClass114_315; + + static final void method283(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_) { + for (RenderableSub5 class318_sub5 = (RenderableSub5) Component241.aClass243_2957.method1872(8); class318_sub5 != null; class318_sub5 = ((RenderableSub5) Component241.aClass243_2957.method1878((byte) 0))) { + if (class318_sub5.anInt6421 <= OpenGlShader.clientCycle) class318_sub5.unlink(false); + else { + RenderableSub5.method2505(i_0_ >> 1, class318_sub5.anInt6420 * 2, 0, i_5_, i_2_ >> 1, class318_sub5.anInt6418, 256 + (class318_sub5.anInt6422 << 9), i_1_, (class318_sub5.anInt6419 << 9) + 256); + NodeList.aClass324_3326.drawTextCentred((byte) 122, i_3_ - -Component71.anIntArray6062[0], ~0xffffff | class318_sub5.anInt6415, class318_sub5.aString6416, 0, i_4_ - -Component71.anIntArray6062[1]); + } + } + anInt305++; + if (i >= -108) aClass114_304 = null; + } + + public static void method284(byte i) { + aClass114_315 = null; + aClass114_304 = null; + if (i == 51) aClass174Array311 = null; + } + + static final DisplayModeManagerContainer369[] method285(int i) { + anInt309++; + if (i > -62) getDisplayModes((byte) 66, null); + return (new DisplayModeManagerContainer369[]{Component386.aClass223_2868, Buffer.aClass223_7175, Component55.aClass223_3934, Component316.aClass223_2489, MatrixSub1.aClass223_5689, DefinitionSub21.aClass223_9274, DisplayModeManagerContainer332.aClass223_4997, RadixParser.aClass223_2307, Component90.aClass223_2045, Component38.aClass223_2507}); + } + + /** Query host display modes via {@link ReflectionInvoker#getLocalHost} result ints. */ + static final DisplayModeInfo[] getDisplayModes(byte i, ReflectionInvoker class297) { + anInt307++; + if (!class297.hasFullscreenSupport(-4)) return new DisplayModeInfo[0]; + int i_6_ = 52 / ((39 - i) / 61); + Task class144 = class297.getLocalHost(972476528); + while (class144.status == 0) SpriteAtlasShader.sleep((byte) -97, 10L); + if (class144.status == 2) return new DisplayModeInfo[0]; + int[] is = (int[]) class144.result; + DisplayModeInfo[] class57s = new DisplayModeInfo[is.length >> 2]; + for (int i_7_ = 0; class57s.length > i_7_; i_7_++) { + DisplayModeInfo class57 = new DisplayModeInfo(); + class57s[i_7_] = class57; + class57.width = is[i_7_ << 2]; + class57.height = is[1 + (i_7_ << 2)]; + class57.bitDepth = is[2 + (i_7_ << 2)]; + class57.refreshRate = is[(i_7_ << 2) + 3]; + } + return class57s; + } + + public Component248() { + /* empty */ + } + + static { + aClass114_304 = new Component183(70, -2); + aClass114_315 = new Component183(15, 16); + } +} diff --git a/client/components/Component25.java b/client/components/Component25.java new file mode 100644 index 000000000..e95001d5a --- /dev/null +++ b/client/components/Component25.java @@ -0,0 +1,154 @@ +/* Component25 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component25 +/** + * RENAMED from `Class239_Sub16` (JODE-obfuscated). + * Evidence: subclass of Component339 (hierarchy) + */ extends Component339 { + static int anInt6007; + static int anInt6008; + static int anInt6009; + static int anInt6010; + static int anInt6011; + static int anInt6012 = 1; + static int anInt6013; + static int anInt6014; + static int anInt6015; + static int anInt6016; + static int anInt6017; + + static final String method1788(byte i, long l) { + try { + anInt6016++; + if (l <= 0L || l >= 6582952005840035281L) return null; + if (l % 37L == 0L) return null; + int i_0_ = 0; + long l_1_ = l; + int i_2_ = -20 % ((i - -6) / 62); + for (/**/; l_1_ != 0L; l_1_ /= 37L) + i_0_++; + StringBuffer stringbuffer = new StringBuffer(i_0_); + while (l != 0) { + long l_3_ = l; + l /= 37L; + char c = Component377.aCharArray852[(int) (l_3_ + -(37L * l))]; + if (c == 95) { + int i_4_ = stringbuffer.length() + -1; + stringbuffer.setCharAt(i_4_, Character.toUpperCase(stringbuffer.charAt(i_4_))); + c = '\u00a0'; + } + stringbuffer.append(c); + } + stringbuffer.reverse(); + stringbuffer.setCharAt(0, Character.toUpperCase(stringbuffer.charAt(0))); + return stringbuffer.toString(); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "sba.F(" + i + ',' + l + ')'); + } + } + + final int method1714(int i, int i_5_) { + if (i != 3) anInt6012 = -22; + anInt6014++; + if (i_5_ == 0 || this.aClass348_Sub51_3136.aClass239_Sub9_7256.method1759(i ^ ~0x7e5e) == 1) return 1; + return 2; + } + + final void method1716(boolean bool) { + if (bool != false) anInt6012 = 46; + if (this.anInt3138 != 0 && this.aClass348_Sub51_3136.aClass239_Sub9_7256.method1759(-32350) != 1) this.anInt3138 = 0; + anInt6007++; + if (this.anInt3138 < 0 || this.anInt3138 > 1) this.anInt3138 = method1710(20014); + } + + final int method1789(int i) { + if (i != -32350) anInt6008 = 32; + anInt6017++; + return this.anInt3138; + } + + Component25(NodeSub51 class348_sub51) { + super(class348_sub51); + } + + final void method1712(int i, int i_6_) { + anInt6011++; + int i_7_ = -19 / ((i - 82) / 35); + this.anInt3138 = i_6_; + } + + final boolean method1790(int i) { + if (i < 85) anInt6012 = -109; + anInt6015++; + return true; + } + + Component25(int i, NodeSub51 class348_sub51) { + super(i, class348_sub51); + } + + static final void method1791(int i, int[] is, int i_8_, Player player) { + do { + try { + anInt6009++; + if ((player.anIntArray10236) != null) { + boolean bool = true; + for (int i_9_ = 0; (player.anIntArray10236.length > i_9_); i_9_++) { + if ((player.anIntArray10236[i_9_]) != is[i_9_]) { + bool = false; + break; + } + } + if (bool && player.anInt10286 != -1) { + DisplayModeManagerContainer167 class17 = (RunescapeInfo.aClass87_191.method835(player.anInt10286, 7)); + int i_10_ = class17.anInt248; + if (i_10_ == 1) { + player.anInt10232 = 0; + player.anInt10267 = 0; + player.anInt10294 = 0; + player.anInt10218 = i_8_; + player.anInt10244 = 1; + if (!player.aBoolean10309) DisplayModeManagerContainer260.method2178(player, player.anInt10267, class17, i ^ ~0x5df4); + } + if (i_10_ == 2) player.anInt10294 = 0; + } + } + boolean bool = true; + if (i != 23946) method1791(126, null, -73, null); + for (int i_11_ = 0; is.length > i_11_; i_11_++) { + if (is[i_11_] != -1) bool = false; + if (player.anIntArray10236 == null || (player.anIntArray10236[i_11_]) == -1 || (RunescapeInfo.aClass87_191.method835((player.anIntArray10236[i_11_]), 7).anInt239 <= (RunescapeInfo.aClass87_191.method835(is[i_11_], i ^ 0x5d8d).anInt239))) { + player.anInt10218 = i_8_; + player.anIntArray10236 = is; + break; + } + } + if (!bool) break; + player.anIntArray10236 = is; + player.anInt10218 = i_8_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("sba.E(" + i + ',' + (is != null ? "{...}" : "null") + ',' + i_8_ + ',' + (player != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + final int method1710(int i) { + if (i != 20014) method1789(40); + anInt6010++; + return 1; + } + + static final void method1792(int i, int i_12_, int i_13_, int i_14_, byte i_15_, int i_16_) { + anInt6013++; + int i_17_ = LogicError.method831(PauseTimer.anInt513, i, Component72.anInt1910, -90); + int i_18_ = LogicError.method831(PauseTimer.anInt513, i_13_, Component72.anInt1910, -94); + int i_19_ = LogicError.method831(Component22.anInt1745, i_12_, Component27.anInt4960, 77); + int i_20_ = LogicError.method831(Component22.anInt1745, i_14_, Component27.anInt4960, 59); + int i_21_ = -27 / ((i_15_ - -6) / 55); + for (int i_22_ = i_17_; i_22_ <= i_18_; i_22_++) + MenuOpener.fillInts(-27, i_20_, DisplayModeManagerContainer167.anIntArrayArray255[i_22_], i_19_, i_16_); + } +} diff --git a/client/components/Component250.java b/client/components/Component250.java new file mode 100644 index 000000000..e070bbe63 --- /dev/null +++ b/client/components/Component250.java @@ -0,0 +1,25 @@ +/* Component250 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component250 +/** + * RENAMED from `Class198` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + short[] aShortArray2613; + short[] aShortArray2614; + int[] anIntArray2615; + short[] aShortArray2616; + byte[] aByteArray2617; + short[] aShortArray2618; + short aShort2619; + short aShort2620; + short[] aShortArray2621; + short[] aShortArray2622; + int[] anIntArray2623; + + public Component250() { + /* empty */ + } +} diff --git a/client/components/Component251.java b/client/components/Component251.java new file mode 100644 index 000000000..a3996a62a --- /dev/null +++ b/client/components/Component251.java @@ -0,0 +1,780 @@ +/* Component251 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component251 +/** + * RENAMED from `Class237_Sub1` (JODE-obfuscated). + * Evidence: subclass of DisplayModeManagerContainer87 (hierarchy) + */ extends DisplayModeManagerContainer87 { + static int anInt5815; + static int anInt5816; + static int anInt5817; + static int anInt5818; + static int anInt5819; + static int anInt5820; + static DisplayModeManagerContainer196 aClass341_5821 = new DisplayModeManagerContainer196(); + static int anInt5822; + static int anInt5823; + int anInt5824 = 99; + static int anInt5825; + static int anInt5826; + /*synthetic*/ static Class aClass5827; + + final void method1689(int i, int i_0_, int i_1_, GraphicsToolkit var_ha, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, TeleportHandler class361) { + try { + anInt5823++; + if (Component192.aClass348_Sub51_3959.aClass239_Sub27_7261.method1840(i_3_ ^ ~0x7e6f) != 0 || Component255.method536(i_5_, false, i, Component385.anInt2204, i_2_)) { + if (this.anInt5824 > i_0_) this.anInt5824 = i_0_; + Component44 class51 = GradientPreset.aClass263_9195.method2005(0, i_1_); + if (Component192.aClass348_Sub51_3959.aClass239_Sub24_7235.method1820(i_3_ + -32400) != 0 || !class51.aBoolean931) { + int i_8_; + int i_9_; + if (i_7_ == 1 || i_7_ == 3) { + i_8_ = class51.anInt961; + i_9_ = class51.anInt926; + } else { + i_8_ = class51.anInt926; + i_9_ = class51.anInt961; + } + if (i_3_ != 50) method1695(null, null, -32, null, -51, 80); + int i_10_; + int i_11_; + if (i - -i_9_ <= this.anInt3117) { + i_10_ = (i_9_ >> 1) + i; + i_11_ = i + (1 + i_9_ >> 1); + } else { + i_10_ = i; + i_11_ = 1 + i; + } + int i_12_; + int i_13_; + if (this.anInt3114 < i_8_ + i_5_) { + i_12_ = i_5_ + 1; + i_13_ = i_5_; + } else { + i_12_ = (1 + i_8_ >> 1) + i_5_; + i_13_ = (i_8_ >> 1) + i_5_; + } + s var_s = ShaderSub1.aSArray5191[i_2_]; + int i_14_ = ((var_s.method3982((byte) -86, i_13_, i_10_) + var_s.method3982((byte) -86, i_13_, i_11_) - (-var_s.method3982((byte) -86, i_12_, i_10_) - var_s.method3982((byte) -86, i_12_, i_11_))) >> 2); + int i_15_ = (i << 9) - -(i_9_ << 8); + int i_16_ = (i_8_ << 8) + (i_5_ << 9); + boolean bool = (HashNodeSub3.aBoolean9498 && !this.aBoolean3109 && class51.aBoolean906); + if (class51.method474((byte) 82)) DisplayModeManagerContainer369.method1614(979190089, null, i_0_, i_5_, i, null, class51, i_7_); + boolean bool_17_ = (i_6_ == -1 && class51.anInt868 == -1 && class51.anIntArray943 == null && class51.anIntArray945 == null && !class51.aBoolean929); + if (!Component297.aBoolean4728 || ((!Component211.method1172((byte) -85, i_4_) || class51.anInt955 == 1) && (!BuildType.method1639(i_4_, i_3_ ^ 0x3918) || class51.anInt955 != 0))) { + if (i_4_ == 22) { + if ((Component192.aClass348_Sub51_3959.aClass239_Sub4_7220.method1737(-32350) != 0) || (class51.anInt874 != 0) || (class51.anInt920 == 1) || class51.aBoolean947) { + DisplayModeManagerContainer28 class318_sub1_sub1; + if (bool_17_) { + Component212 class318_sub1_sub1_sub2 = (new Component212(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_7_, bool)); + class318_sub1_sub1 = class318_sub1_sub1_sub2; + if (class318_sub1_sub1_sub2.method38(-18443)) class318_sub1_sub1_sub2.method44(836, var_ha); + } else class318_sub1_sub1 = (new Component141(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_7_, i_6_)); + DisplayModeManagerContainer216.method770(i_0_, i, i_5_, class318_sub1_sub1); + if (class51.anInt920 == 1 && class361 != null) class361.method3496(i_5_, i, 1); + } + } else if (i_4_ == 10 || i_4_ == 11) { + Component349 class318_sub1_sub3_sub1 = null; + Component327 class318_sub1_sub3; + int i_18_; + if (bool_17_) { + Component349 class318_sub1_sub3_sub1_19_ = (new Component349(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i, i_9_ + (i + -1), i_5_, -1 + (i_8_ + i_5_), i_4_, i_7_, bool)); + class318_sub1_sub3 = class318_sub1_sub3_sub1_19_; + class318_sub1_sub3_sub1 = class318_sub1_sub3_sub1_19_; + i_18_ = class318_sub1_sub3_sub1_19_.method2416(15); + } else { + i_18_ = 15; + class318_sub1_sub3 = (new Component29(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i, i_9_ + (i + -1), i_5_, -1 + (i_5_ + i_8_), i_4_, i_7_, i_6_)); + } + if (Component84.method850(class318_sub1_sub3, false)) { + if (class318_sub1_sub3_sub1 != null && class318_sub1_sub3_sub1.method38(-18443)) class318_sub1_sub3_sub1.method44(836, var_ha); + if (class51.aBoolean918 && HashNodeSub3.aBoolean9498) { + if (i_18_ > 30) i_18_ = 30; + for (int i_20_ = 0; (i_20_ <= i_9_); i_20_++) { + for (int i_21_ = 0; i_8_ >= i_21_; i_21_++) + var_s.ka(i_20_ + i, i_5_ + i_21_, i_18_); + } + } + } + if ((class51.anInt920 != 0) && class361 != null) class361.method3505(!(class51.aBoolean876), i_9_, i_5_, true, i, (class51.aBoolean896), i_8_); + } else if (i_4_ >= 12 && i_4_ <= 17 || (i_4_ >= 18 && i_4_ <= 21)) { + Component327 class318_sub1_sub3; + if (bool_17_) { + Component349 class318_sub1_sub3_sub1 = (new Component349(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i, -1 + (i_9_ + i), i_5_, -1 + i_5_ + i_8_, i_4_, i_7_, bool)); + class318_sub1_sub3 = class318_sub1_sub3_sub1; + if (class318_sub1_sub3_sub1.method38(-18443)) class318_sub1_sub3_sub1.method44(i_3_ + 786, var_ha); + } else class318_sub1_sub3 = (new Component29(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i, i + (i_9_ - 1), i_5_, i_5_ - (-i_8_ - -1), i_4_, i_7_, i_6_)); + Component84.method850(class318_sub1_sub3, false); + if (HashNodeSub3.aBoolean9498 && !this.aBoolean3109 && i_4_ >= 12 && i_4_ <= 17 && i_4_ != 13 && i_0_ > 0 && (class51.anInt955 != 0)) this.aByteArrayArrayArray3108[i_0_][i][i_5_] = (byte) (Component224.bitwiseOr((this.aByteArrayArrayArray3108[i_0_][i][i_5_]), 4)); + if ((class51.anInt920 != 0) && class361 != null) class361.method3505(!(class51.aBoolean876), i_9_, i_5_, true, i, (class51.aBoolean896), i_8_); + } else if (i_4_ == 0) { + int i_22_ = class51.anInt955; + if (DefinitionSub10.aBoolean9184 && (class51.anInt955 == -1)) i_22_ = 1; + Component269 class318_sub1_sub4; + if (bool_17_) { + Component197 class318_sub1_sub4_sub1 = (new Component197(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_4_, i_7_, bool)); + if (class318_sub1_sub4_sub1.method38(-18443)) class318_sub1_sub4_sub1.method44(836, var_ha); + class318_sub1_sub4 = class318_sub1_sub4_sub1; + } else class318_sub1_sub4 = (new Component171(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_4_, i_7_, i_6_)); + HashNodeSub16.method3254(i_0_, i, i_5_, class318_sub1_sub4, null); + if (i_7_ == 0) { + if (HashNodeSub3.aBoolean9498 && class51.aBoolean918) { + var_s.ka(i, i_5_, 50); + var_s.ka(i, i_5_ - -1, 50); + } + if (i_22_ == 1 && !this.aBoolean3109) Component71.method1810(i, class51.anInt953, class51.anInt909, i_5_, i_3_ + -51, i_0_, 1); + } else if (i_7_ == 1) { + if (HashNodeSub3.aBoolean9498 && class51.aBoolean918) { + var_s.ka(i, 1 + i_5_, 50); + var_s.ka(1 + i, 1 + i_5_, 50); + } + if (i_22_ == 1 && !this.aBoolean3109) Component71.method1810(i, -class51.anInt953, class51.anInt909, 1 + i_5_, -1, i_0_, 2); + } else if (i_7_ == 2) { + if (HashNodeSub3.aBoolean9498 && class51.aBoolean918) { + var_s.ka(i - -1, i_5_, 50); + var_s.ka(1 + i, 1 + i_5_, 50); + } + if (i_22_ == 1 && !this.aBoolean3109) Component71.method1810(1 + i, -class51.anInt953, class51.anInt909, i_5_, i_3_ + -51, i_0_, 1); + } else if (i_7_ == 3) { + if (HashNodeSub3.aBoolean9498 && class51.aBoolean918) { + var_s.ka(i, i_5_, 50); + var_s.ka(1 + i, i_5_, 50); + } + if (i_22_ == 1 && !this.aBoolean3109) Component71.method1810(i, class51.anInt953, class51.anInt909, i_5_, -1, i_0_, 2); + } + if (class51.anInt920 != 0 && class361 != null) class361.method3510(i_5_, i, i_3_ ^ ~0x1b, i_4_, i_7_, !(class51.aBoolean876), (class51.aBoolean896)); + if (class51.anInt883 != 64) Component49.method1852(i_0_, i, i_5_, (class51.anInt883)); + } else if (i_4_ == 1) { + Component269 class318_sub1_sub4; + if (bool_17_) { + Component197 class318_sub1_sub4_sub1 = (new Component197(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_4_, i_7_, bool)); + if (class318_sub1_sub4_sub1.method38(-18443)) class318_sub1_sub4_sub1.method44(836, var_ha); + class318_sub1_sub4 = class318_sub1_sub4_sub1; + } else class318_sub1_sub4 = (new Component171(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_4_, i_7_, i_6_)); + HashNodeSub16.method3254(i_0_, i, i_5_, class318_sub1_sub4, null); + if (class51.aBoolean918 && HashNodeSub3.aBoolean9498) { + if (i_7_ == 0) var_s.ka(i, i_5_ + 1, 50); + else if (i_7_ != 1) { + if (i_7_ != 2) { + if (i_7_ == 3) var_s.ka(i, i_5_, 50); + } else var_s.ka(1 + i, i_5_, 50); + } else var_s.ka(1 + i, 1 + i_5_, 50); + } + if ((class51.anInt920 != 0) && class361 != null) class361.method3510(i_5_, i, -63, i_4_, i_7_, !(class51.aBoolean876), (class51.aBoolean896)); + } else if (i_4_ == 2) { + int i_23_ = i_7_ - -1 & 0x3; + Component269 class318_sub1_sub4; + Component269 class318_sub1_sub4_24_; + if (bool_17_) { + Component197 class318_sub1_sub4_sub1 = (new Component197(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_4_, 4 + i_7_, bool)); + Component197 class318_sub1_sub4_sub1_25_ = (new Component197(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_4_, i_23_, bool)); + if (class318_sub1_sub4_sub1.method38(-18443)) class318_sub1_sub4_sub1.method44(836, var_ha); + class318_sub1_sub4_24_ = class318_sub1_sub4_sub1_25_; + class318_sub1_sub4 = class318_sub1_sub4_sub1; + if (class318_sub1_sub4_sub1_25_.method38(i_3_ ^ ~0x4838)) class318_sub1_sub4_sub1_25_.method44(836, var_ha); + } else { + class318_sub1_sub4 = (new Component171(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_4_, i_7_ + 4, i_6_)); + class318_sub1_sub4_24_ = (new Component171(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_4_, i_23_, i_6_)); + } + HashNodeSub16.method3254(i_0_, i, i_5_, class318_sub1_sub4, class318_sub1_sub4_24_); + if (((class51.anInt955 == 1) || (DefinitionSub10.aBoolean9184 && class51.anInt955 == -1)) && !this.aBoolean3109) { + if (i_7_ == 0) { + Component71.method1810(i, class51.anInt953, class51.anInt909, i_5_, -1, i_0_, 1); + Component71.method1810(i, class51.anInt953, class51.anInt909, 1 + i_5_, -1, i_0_, 2); + } else if (i_7_ == 1) { + Component71.method1810(1 + i, class51.anInt953, class51.anInt909, i_5_, -1, i_0_, 1); + Component71.method1810(i, class51.anInt953, class51.anInt909, i_5_ + 1, -1, i_0_, 2); + } else if (i_7_ == 2) { + Component71.method1810(1 + i, class51.anInt953, class51.anInt909, i_5_, -1, i_0_, 1); + Component71.method1810(i, class51.anInt953, class51.anInt909, i_5_, -1, i_0_, 2); + } else if (i_7_ == 3) { + Component71.method1810(i, (class51.anInt953), (class51.anInt909), i_5_, -1, i_0_, 1); + Component71.method1810(i, (class51.anInt953), (class51.anInt909), i_5_, -1, i_0_, 2); + } + } + if ((class51.anInt920 != 0) && class361 != null) class361.method3510(i_5_, i, -102, i_4_, i_7_, !(class51.aBoolean876), (class51.aBoolean896)); + if (class51.anInt883 != 64) Component49.method1852(i_0_, i, i_5_, (class51.anInt883)); + } else if (i_4_ == 3) { + Component269 class318_sub1_sub4; + if (bool_17_) { + Component197 class318_sub1_sub4_sub1 = (new Component197(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_4_, i_7_, bool)); + if (class318_sub1_sub4_sub1.method38(i_3_ + -18493)) class318_sub1_sub4_sub1.method44(836, var_ha); + class318_sub1_sub4 = class318_sub1_sub4_sub1; + } else class318_sub1_sub4 = (new Component171(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_4_, i_7_, i_6_)); + HashNodeSub16.method3254(i_0_, i, i_5_, class318_sub1_sub4, null); + if (class51.aBoolean918 && HashNodeSub3.aBoolean9498) { + if (i_7_ == 0) var_s.ka(i, 1 + i_5_, 50); + else if (i_7_ == 1) var_s.ka(1 + i, 1 + i_5_, 50); + else if (i_7_ != 2) { + if (i_7_ == 3) var_s.ka(i, i_5_, 50); + } else var_s.ka(i + 1, i_5_, 50); + } + if ((class51.anInt920 != 0) && class361 != null) class361.method3510(i_5_, i, i_3_ ^ ~0x46, i_4_, i_7_, !(class51.aBoolean876), (class51.aBoolean896)); + } else if (i_4_ == 9) { + Component327 class318_sub1_sub3; + if (bool_17_) { + Component349 class318_sub1_sub3_sub1 = (new Component349(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i, i, i_5_, i_5_, i_4_, i_7_, bool)); + if (class318_sub1_sub3_sub1.method38(i_3_ + -18493)) class318_sub1_sub3_sub1.method44(836, var_ha); + class318_sub1_sub3 = class318_sub1_sub3_sub1; + } else class318_sub1_sub3 = (new Component29(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i, -1 + i + i_9_, i_5_, i_5_ + (i_8_ - 1), i_4_, i_7_, i_6_)); + Component84.method850(class318_sub1_sub3, false); + if ((class51.anInt955 == 1) && !this.aBoolean3109) { + int i_26_; + if ((i_7_ & 0x1) == 0) i_26_ = 8; + else i_26_ = 16; + Component71.method1810(i, 0, (class51.anInt909), i_5_, -1, i_0_, i_26_); + } + if (class51.anInt920 != 0 && class361 != null) class361.method3505(!(class51.aBoolean876), i_9_, i_5_, true, i, (class51.aBoolean896), i_8_); + if (class51.anInt883 != 64) Component49.method1852(i_0_, i, i_5_, (class51.anInt883)); + } else if (i_4_ == 4) { + Component203 class318_sub1_sub5; + if (bool_17_) { + Component289 class318_sub1_sub5_sub1 = (new Component289(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, 0, 0, i_4_, i_7_)); + if (class318_sub1_sub5_sub1.method38(-18443)) class318_sub1_sub5_sub1.method44(i_3_ + 786, var_ha); + class318_sub1_sub5 = class318_sub1_sub5_sub1; + } else class318_sub1_sub5 = (new ShaderLinker(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, 0, 0, i_4_, i_7_, i_6_)); + Component352.method388(i_0_, i, i_5_, class318_sub1_sub5, null); + } else if (i_4_ == 5) { + int i_27_ = 65; + Interface10 interface10 = ((Interface10) CacheNodeSub2.method3297(i_0_, i, i_5_)); + if (interface10 != null) i_27_ = 1 + (GradientPreset.aClass263_9195.method2005(0, interface10.method42(-93)).anInt883); + Component203 class318_sub1_sub5; + if (bool_17_) { + Component289 class318_sub1_sub5_sub1 = (new Component289(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_27_ * Component3.anIntArray2039[i_7_], (ToolbarRefreshDefinition.anIntArray9230[i_7_]) * i_27_, i_4_, i_7_)); + if (class318_sub1_sub5_sub1.method38(-18443)) class318_sub1_sub5_sub1.method44(836, var_ha); + class318_sub1_sub5 = class318_sub1_sub5_sub1; + } else class318_sub1_sub5 = (new ShaderLinker(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, Component3.anIntArray2039[i_7_] * i_27_, i_27_ * (ToolbarRefreshDefinition.anIntArray9230[i_7_]), i_4_, i_7_, i_6_)); + Component352.method388(i_0_, i, i_5_, class318_sub1_sub5, null); + } else if (i_4_ == 6) { + int i_28_ = 33; + Interface10 interface10 = ((Interface10) CacheNodeSub2.method3297(i_0_, i, i_5_)); + if (interface10 != null) i_28_ = 1 + (GradientPreset.aClass263_9195.method2005(0, interface10.method42(-117)).anInt883) / 2; + Component203 class318_sub1_sub5; + if (bool_17_) { + Component289 class318_sub1_sub5_sub1 = (new Component289(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_28_ * Component3.anIntArray2039[i_7_], (ToolbarRefreshDefinition.anIntArray9230[i_7_]) * i_28_, i_4_, 4 + i_7_)); + if (class318_sub1_sub5_sub1.method38(-18443)) class318_sub1_sub5_sub1.method44(836, var_ha); + class318_sub1_sub5 = class318_sub1_sub5_sub1; + } else class318_sub1_sub5 = (new ShaderLinker(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, (OutputStream_Sub1.anIntArray99[i_7_] * i_28_), i_28_ * Component224.anIntArray5165[i_7_], i_4_, 4 + i_7_, i_6_)); + Component352.method388(i_0_, i, i_5_, class318_sub1_sub5, null); + } else if (i_4_ == 7) { + int i_29_ = 0x3 & 2 + i_7_; + Component203 class318_sub1_sub5; + if (bool_17_) { + Component289 class318_sub1_sub5_sub1 = (new Component289(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, 0, 0, i_4_, 4 + i_29_)); + if (class318_sub1_sub5_sub1.method38(i_3_ ^ ~0x4838)) class318_sub1_sub5_sub1.method44(836, var_ha); + class318_sub1_sub5 = class318_sub1_sub5_sub1; + } else class318_sub1_sub5 = (new ShaderLinker(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, 0, 0, i_4_, 4 + i_29_, i_6_)); + Component352.method388(i_0_, i, i_5_, class318_sub1_sub5, null); + } else if (i_4_ == 8) { + int i_30_ = 2 + i_7_ & 0x3; + int i_31_ = 33; + Interface10 interface10 = ((Interface10) CacheNodeSub2.method3297(i_0_, i, i_5_)); + if (interface10 != null) i_31_ = (GradientPreset.aClass263_9195.method2005(i_3_ + -50, interface10.method42(-122)).anInt883) / 2 + 1; + Component203 class318_sub1_sub5; + Component203 class318_sub1_sub5_32_; + if (bool_17_) { + Component289 class318_sub1_sub5_sub1 = (new Component289(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_31_ * (OutputStream_Sub1.anIntArray99[i_7_]), Component224.anIntArray5165[i_7_] * i_31_, i_4_, 4 + i_7_)); + Component289 class318_sub1_sub5_sub1_34_ = (new Component289(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, 0, 0, i_4_, 4 + i_30_)); + if (class318_sub1_sub5_sub1.method38(-18443)) class318_sub1_sub5_sub1.method44(836, var_ha); + if (class318_sub1_sub5_sub1_34_.method38(i_3_ ^ ~0x4838)) class318_sub1_sub5_sub1_34_.method44(836, var_ha); + class318_sub1_sub5 = class318_sub1_sub5_sub1_34_; + class318_sub1_sub5_32_ = class318_sub1_sub5_sub1; + } else { + ShaderLinker class318_sub1_sub5_sub2 = (new ShaderLinker(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_31_ * (OutputStream_Sub1.anIntArray99[i_7_]), i_31_ * Component224.anIntArray5165[i_7_], i_4_, i_7_ - -4, i_6_)); + ShaderLinker class318_sub1_sub5_sub2_33_ = (new ShaderLinker(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, 0, 0, i_4_, i_30_ + 4, i_6_)); + class318_sub1_sub5_32_ = class318_sub1_sub5_sub2; + class318_sub1_sub5 = class318_sub1_sub5_sub2_33_; + } + Component352.method388(i_0_, i, i_5_, class318_sub1_sub5_32_, class318_sub1_sub5); + } + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("vaa.W(" + i + ',' + i_0_ + ',' + i_1_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + (class361 != null ? "{...}" : "null") + ')')); + } + } + + private final Interface10 method1690(int i, int i_35_, int i_36_, int i_37_, int i_38_) { + anInt5822++; + Interface10 interface10 = null; + if (i == 0) interface10 = (Interface10) CacheNodeSub2.method3297(i_37_, i_36_, i_35_); + if (i == 1) interface10 = (Interface10) DefinitionSub32.method3135(i_37_, i_36_, i_35_); + if (i == 2) interface10 = ((Interface10) DisplayModeManagerContainer249.method1353(i_37_, i_36_, i_35_, (aClass5827 != null ? aClass5827 : (aClass5827 = Interface10.class)))); + if (i_38_ != 30987) method1698(-120); + if (i == 3) interface10 = (Interface10) BrowserUrlOpener.method2878(i_37_, i_36_, i_35_); + return interface10; + } + + final void method1691(int i, GraphicsToolkit var_ha, Buffer class348_sub49, int[] is, int i_39_, byte i_40_) { + do { + try { + anInt5818++; + if (!this.aBoolean3109) { + boolean bool = false; + DisplayModeManagerContainer56 class190 = null; + int i_41_ = -112 / ((-71 - i_40_) / 38); + if (is != null) is[0] = -1; + while (class348_sub49.offset < (class348_sub49.payload).length) { + int i_42_ = class348_sub49.readUnsignedByte(255); + if (i_42_ == 0) class190 = new DisplayModeManagerContainer56(class348_sub49); + else if (i_42_ == 1) { + int i_58_ = class348_sub49.readUnsignedByte(255); + if (i_58_ > 0) { + for (int i_59_ = 0; i_58_ > i_59_; i_59_++) { + DisplayModeManagerContainer159 class211 = new DisplayModeManagerContainer159(var_ha, class348_sub49, 2); + if (class211.anInt2734 == 31) { + Component193 class253 = (NodeSub1.aClass185_6559.method1391((byte) -1, class348_sub49.readUnsignedShort(842397944))); + class211.method1539(class253.anInt3251, (byte) 115, class253.anInt3249, class253.anInt3245, class253.anInt3244); + } + if (var_ha.method3704() > 0) { + NodeSub1 class348_sub1 = (class211.aClass348_Sub1_2745); + int i_60_ = ((i_39_ << 9) + class348_sub1.method2724(-1)); + int i_61_ = (class348_sub1.method2717((byte) 93) + (i << 9)); + int i_62_ = i_60_ >> 9; + int i_63_ = i_61_ >> 9; + if (i_62_ >= 0 && i_63_ >= 0 && (this.anInt3117 > i_62_) && (this.anInt3114 > i_63_)) { + class348_sub1.method2725(i_60_, (byte) 70, i_61_, ((this.anIntArrayArrayArray3122[(class211.anInt2731)][i_62_][i_63_]) + -class348_sub1.method2722(120))); + HashNodeSub19.method3276(class211); + } + } + } + } + } else if (i_42_ == 2) { + if (class190 == null) class190 = new DisplayModeManagerContainer56(); + class190.method1423(8, class348_sub49); + } else if (i_42_ != 128) { + if (i_42_ == 129) { + if ((this.aByteArrayArrayArray3104) == null) this.aByteArrayArrayArray3104 = new byte[4][][]; + for (int i_43_ = 0; i_43_ < 4; i_43_++) { + byte i_44_ = class348_sub49.readByte(-102); + if (i_44_ != 0 || (this.aByteArrayArrayArray3104[i_43_]) == null) { + if (i_44_ == 1) { + if ((this.aByteArrayArrayArray3104[i_43_]) == null) this.aByteArrayArrayArray3104[i_43_] = (new byte + [1 + (this.anInt3117)] + [1 + (this.anInt3114)]); + for (int i_49_ = 0; (i_49_ < 64); i_49_ += 4) { + for (int i_50_ = 0; (i_50_ < 64); i_50_ += 4) { + byte i_51_ = (class348_sub49.readByte(-103)); + for (int i_52_ = (i_49_ + i_39_); (i_52_ < (4 + i_49_ + i_39_)); i_52_++) { + for (int i_53_ = i + i_50_; ((4 + i + i_50_) > i_53_); i_53_++) { + if (i_52_ >= 0 && (this.anInt3117 > i_52_) && (i_53_ >= 0) && (i_53_ < (this.anInt3114))) this.aByteArrayArrayArray3104[i_43_][i_52_][i_53_] = i_51_; + } + } + } + } + } else if (i_44_ == 2) { + if ((this.aByteArrayArrayArray3104[i_43_]) == null) this.aByteArrayArrayArray3104[i_43_] = (new byte + [((this.anInt3117) - -1)] + [((this.anInt3114) + 1)]); + if (i_43_ > 0) { + int i_45_ = i_39_; + int i_46_ = 64 + i_39_; + int i_47_ = i; + if (i_46_ >= 0) { + if ((this.anInt3117) <= i_46_) i_46_ = (this.anInt3117); + } else i_46_ = 0; + if (i_47_ < 0) i_47_ = 0; + else if ((this.anInt3114) <= i_47_) i_47_ = (this.anInt3114); + int i_48_ = 64 + i; + if (i_45_ >= 0) { + if ((this.anInt3117) <= i_45_) i_45_ = (this.anInt3117); + } else i_45_ = 0; + if (i_48_ >= 0) { + if (i_48_ >= (this.anInt3114)) i_48_ = (this.anInt3114); + } else i_48_ = 0; + for (/**/; (i_46_ > i_45_); i_45_++) { + for (/**/; (i_48_ > i_47_); i_47_++) + this.aByteArrayArrayArray3104[i_43_][i_45_][i_47_] = (this.aByteArrayArrayArray3104[(-1 + i_43_)][i_45_][i_47_]); + } + } + } + } else { + int i_54_ = i_39_; + int i_55_ = i_39_ - -64; + int i_56_ = i; + if (i_56_ < 0) i_56_ = 0; + else if ((this.anInt3114) <= i_56_) i_56_ = (this.anInt3114); + if (i_54_ >= 0) { + if ((this.anInt3117) <= i_54_) i_54_ = (this.anInt3117); + } else i_54_ = 0; + int i_57_ = i - -64; + if (i_55_ < 0) i_55_ = 0; + else if (i_55_ >= (this.anInt3117)) i_55_ = (this.anInt3117); + if (i_57_ < 0) i_57_ = 0; + else if ((this.anInt3114) <= i_57_) i_57_ = (this.anInt3114); + for (/**/; i_54_ < i_55_; i_54_++) { + for (/**/; i_57_ > i_56_; i_56_++) + this.aByteArrayArrayArray3104[i_43_][i_54_][i_56_] = (byte) 0; + } + } + } + bool = true; + } else throw new IllegalStateException(""); + } else if (is != null) { + is[0] = class348_sub49.readUnsignedShort(842397944); + is[1] = class348_sub49.readShort(13638); + is[2] = class348_sub49.readShort(13638); + is[3] = class348_sub49.readShort(13638); + is[4] = class348_sub49.readUnsignedShort(842397944); + } else class348_sub49.offset += 10; + } + if (class190 != null) { + for (int i_64_ = 0; i_64_ < 8; i_64_++) { + for (int i_65_ = 0; i_65_ < 8; i_65_++) { + int i_66_ = i_64_ + (i_39_ >> 3); + int i_67_ = (i >> 3) - -i_65_; + if (i_66_ >= 0 && ((this.anInt3117 >> 3) > i_66_) && i_67_ >= 0 && i_67_ < (this.anInt3114 >> 3)) Component2.method192(class190, 10000, i_66_, i_67_); + } + } + } + if (bool || this.aByteArrayArrayArray3104 == null) break; + for (int i_68_ = 0; i_68_ < 4; i_68_++) { + if (this.aByteArrayArrayArray3104[i_68_] != null) { + for (int i_69_ = 0; i_69_ < 16; i_69_++) { + for (int i_70_ = 0; i_70_ < 16; i_70_++) { + int i_71_ = (i_39_ >> 2) + i_69_; + int i_72_ = i_70_ + (i >> 2); + if (i_71_ >= 0 && i_71_ < 26 && i_72_ >= 0 && i_72_ < 26) this.aByteArrayArrayArray3104[i_68_][i_71_][i_72_] = (byte) 0; + } + } + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("vaa.AA(" + i + ',' + (var_ha != null ? "{...}" : "null") + ',' + (class348_sub49 != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ',' + i_39_ + ',' + i_40_ + ')')); + } + break; + } while (false); + } + + final void method1692(int i, int i_73_, byte[] is, int i_74_, int i_75_, GraphicsToolkit var_ha, int i_76_, int i_77_, int i_78_, TeleportHandler[] class361s, int i_79_) { + try { + anInt5826++; + if (i_78_ != 7) method1693('\uffb8', -54); + Buffer class348_sub49 = new Buffer(is); + int i_80_ = -1; + for (; ; ) { + int i_81_ = class348_sub49.readLargeSmart(-85); + if (i_81_ == 0) break; + i_80_ += i_81_; + int i_82_ = 0; + for (; ; ) { + int i_83_ = class348_sub49.readSmart(-117); + if (i_83_ == 0) break; + i_82_ += -1 + i_83_; + int i_84_ = i_82_ & 0x3f; + int i_85_ = i_82_ >> 6 & 0x3f; + int i_86_ = i_82_ >> 12; + int i_87_ = class348_sub49.readUnsignedByte(255); + int i_88_ = i_87_ >> 2; + int i_89_ = i_87_ & 0x3; + if (i_74_ == i_86_ && i <= i_85_ && i - -8 > i_85_ && i_75_ <= i_84_ && i_75_ - -8 > i_84_) { + Component44 class51 = GradientPreset.aClass263_9195.method2005(0, i_80_); + int i_90_ = Component217.method1908(0x7 & i_84_, i_85_ & 0x7, i_73_, true, class51.anInt926, class51.anInt961, i_89_) + i_77_; + int i_91_ = i_76_ + Component331.method1045(0x7 & i_85_, (class51.anInt926), i_89_, (class51.anInt961), i_84_ & 0x7, i_73_, (byte) 16); + if (i_90_ > 0 && i_91_ > 0 && i_90_ < -1 + this.anInt3117 && -1 + this.anInt3114 > i_91_) { + TeleportHandler class361 = null; + if (!this.aBoolean3109) { + int i_92_ = i_79_; + if ((0x2 & (ObjectDeserializer.aByteArrayArrayArray6962[1][i_90_][i_91_])) == 2) i_92_--; + if (i_92_ >= 0) class361 = class361s[i_92_]; + } + method1689(i_90_, i_79_, i_80_, var_ha, i_79_, 50, i_88_, i_91_, -1, i_89_ - -i_73_ & 0x3, class361); + } + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("vaa.S(" + i + ',' + i_73_ + ',' + (is != null ? "{...}" : "null") + ',' + i_74_ + ',' + i_75_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_76_ + ',' + i_77_ + ',' + i_78_ + ',' + (class361s != null ? "{...}" : "null") + ',' + i_79_ + ')')); + } + } + + static final boolean method1693(char c, int i) { + anInt5815++; + if (i > -100) method1693('\uffa3', 97); + if (c >= 32 && c <= 126) return true; + if (c >= 160 && c <= 255) return true; + return c == 8364 || c == 338 || c == 8212 || c == 339 || c == 376; + } + + final void method1694(TeleportHandler class361, int i, int i_93_, GraphicsToolkit var_ha, int i_94_, int i_95_, byte i_96_) { + while_77_: + do { + do { + try { + anInt5817++; + Interface10 interface10 = method1690(i, i_95_, i_94_, i_93_, 30987); + if (i_96_ <= 66) anInt5819 = -107; + if (interface10 == null) break while_77_; + Component44 class51 = GradientPreset.aClass263_9195.method2005(0, interface10.method42(-89)); + int i_97_ = interface10.method39(-128); + int i_98_ = interface10.method41(-32228); + if (class51.method474((byte) -50)) Component112.method2336(class51, i_94_, i_95_, i_93_, -128); + if (interface10.method38(-18443)) interface10.method43(var_ha, -14218); + if (i == 0) { + DefinitionSub4.method3058(i_93_, i_94_, i_95_); + if (class51.anInt920 != 0) class361.method3506((class51.aBoolean896), i_98_, i_94_, i_97_, i_95_, !(class51.aBoolean876), 29216); + if (class51.anInt955 == 1) { + if (i_98_ == 0) { + Component179.method2987(i_93_, 1, i_95_, -3951, i_94_); + break; + } else if (i_98_ != 1) { + if (i_98_ != 2) { + if (i_98_ == 3) Component179.method2987(i_93_, 2, i_95_, -3951, i_94_); + } else Component179.method2987(i_93_, 1, i_95_, -3951, 1 + i_94_); + } else Component179.method2987(i_93_, 2, 1 + i_95_, -3951, i_94_); + break; + } + } else { + if (i != 1) { + if (i == 2) { + HashNodeSub16.method3253(i_93_, i_94_, i_95_, (aClass5827 != null ? aClass5827 : (aClass5827 = Interface10.class))); + if (class51.anInt920 != 0 && (class51.anInt961 + i_94_ < this.anInt3117) && (i_95_ - -class51.anInt961 < this.anInt3114) && (class51.anInt926 + i_94_ < this.anInt3117) && (this.anInt3114 > (i_95_ + class51.anInt926))) + class361.method3509(i_98_, !class51.aBoolean876, class51.aBoolean896, i_94_, i_95_, class51.anInt926, 84, class51.anInt961); + if (i_97_ != 9) break; + if ((0x1 & i_98_) != 0) Component179.method2987(i_93_, 16, i_95_, -3951, i_94_); + else Component179.method2987(i_93_, 8, i_95_, -3951, i_94_); + } else if (i == 3) { + BrowserUrlOpener.method2879(i_93_, i_94_, i_95_); + if (class51.anInt920 == 1) class361.method3499((byte) -52, i_94_, i_95_); + } + break; + } + ShaderProgramSub7.method2168(i_93_, i_94_, i_95_); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("vaa.U(" + (class361 != null ? "{...}" : "null") + ',' + i + ',' + i_93_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_94_ + ',' + i_95_ + ',' + i_96_ + ')')); + } + } while (false); + break; + } while (false); + } + + final void method1695(byte[] is, TeleportHandler[] class361s, int i, GraphicsToolkit var_ha, int i_99_, int i_100_) { + try { + anInt5820++; + if (i_100_ == 1359) { + Buffer class348_sub49 = new Buffer(is); + int i_101_ = -1; + for (; ; ) { + int i_102_ = class348_sub49.readLargeSmart(-57); + if (i_102_ == 0) break; + i_101_ += i_102_; + int i_103_ = 0; + for (; ; ) { + int i_104_ = class348_sub49.readSmart(-122); + if (i_104_ == 0) break; + i_103_ += i_104_ + -1; + int i_105_ = 0x3f & i_103_; + int i_106_ = i_103_ >> 6 & 0x3f; + int i_107_ = i_103_ >> 12; + int i_108_ = class348_sub49.readUnsignedByte(255); + int i_109_ = i_108_ >> 2; + int i_110_ = 0x3 & i_108_; + int i_111_ = i_99_ + i_106_; + int i_112_ = i + i_105_; + if (i_111_ > 0 && i_112_ > 0 && (i_111_ < this.anInt3117 - 1) && i_112_ < this.anInt3114 - 1) { + TeleportHandler class361 = null; + if (!this.aBoolean3109) { + int i_113_ = i_107_; + if ((0x2 & (ObjectDeserializer.aByteArrayArrayArray6962[1][i_111_][i_112_])) == 2) i_113_--; + if (i_113_ >= 0) class361 = class361s[i_113_]; + } + method1689(i_111_, i_107_, i_101_, var_ha, i_107_, i_100_ ^ 0x57d, i_109_, i_112_, -1, i_110_, class361); + } + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("vaa.R(" + (is != null ? "{...}" : "null") + ',' + (class361s != null ? "{...}" : "null") + ',' + i + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_99_ + ',' + i_100_ + ')')); + } + } + + Component251(int i, int i_114_, int i_115_, boolean bool) { + super(i, i_114_, i_115_, bool, Component267.aClass268_2979, Component149.aClass183_4460); + } + + final void method1696(Buffer class348_sub49, boolean bool, int i, int i_116_, int i_117_, int i_118_, int i_119_, int i_120_, GraphicsToolkit var_ha, int[] is, int i_121_) { + do { + try { + anInt5825++; + if (!this.aBoolean3109) { + boolean bool_122_ = bool; + DisplayModeManagerContainer56 class190 = null; + if (is != null) is[0] = -1; + int i_123_ = 8 * (0x7 & i_116_); + int i_124_ = (i & 0x7) * 8; + while ((class348_sub49.payload).length > class348_sub49.offset) { + int i_125_ = class348_sub49.readUnsignedByte(255); + if (i_125_ != 0) { + if (i_125_ == 1) { + int i_126_ = class348_sub49.readUnsignedByte(255); + if (i_126_ > 0) { + for (int i_127_ = 0; (i_126_ > i_127_); i_127_++) { + DisplayModeManagerContainer159 class211 = new DisplayModeManagerContainer159(var_ha, class348_sub49, 2); + if (class211.anInt2734 == 31) { + Component193 class253 = (NodeSub1.aClass185_6559.method1391((byte) 111, (class348_sub49.readUnsignedShort(842397944)))); + class211.method1539((class253.anInt3251), (byte) 124, (class253.anInt3249), (class253.anInt3245), (class253.anInt3244)); + } + if (var_ha.method3704() > 0) { + NodeSub1 class348_sub1 = (class211.aClass348_Sub1_2745); + int i_128_ = (class348_sub1.method2724(-1) >> 9); + int i_129_ = (class348_sub1.method2717((byte) 79) >> 9); + if ((i_121_ == (class211.anInt2731)) && (i_123_ <= i_128_) && (i_123_ + 8 > i_128_) && i_124_ <= i_129_ && (i_124_ - -8 > i_129_)) { + int i_130_ = ((i_117_ << 9) + (Component90.method1201((0xfff & (class348_sub1.method2717((byte) 95))), (0xfff & (class348_sub1.method2724(-1))), -2, i_119_))); + int i_131_ = ((i_120_ << 9) + (Component261.method1079(4095, i_119_, (0xfff & (class348_sub1.method2717((byte) 119))), (0xfff & (class348_sub1.method2724(-1)))))); + i_128_ = i_130_ >> 9; + i_129_ = i_131_ >> 9; + if (i_128_ >= 0 && (i_129_ >= 0) && (i_128_ < (this.anInt3117)) && ((this.anInt3114) > i_129_)) { + class348_sub1.method2725(i_130_, (byte) 70, i_131_, ((this.anIntArrayArrayArray3122[i_121_][i_128_][i_129_]) - (class348_sub1.method2722(124)))); + HashNodeSub19.method3276(class211); + } + } + } + } + } + } else if (i_125_ == 2) { + if (class190 == null) class190 = new DisplayModeManagerContainer56(); + class190.method1423(8, class348_sub49); + } else if (i_125_ == 128) { + if (is != null) { + is[0] = class348_sub49.readUnsignedShort(842397944); + is[1] = class348_sub49.readShort(13638); + is[2] = class348_sub49.readShort(13638); + is[3] = class348_sub49.readShort(13638); + is[4] = class348_sub49.readUnsignedShort(842397944); + } else class348_sub49.offset += 10; + } else if (i_125_ == 129) { + if (this.aByteArrayArrayArray3104 == null) this.aByteArrayArrayArray3104 = new byte[4][][]; + for (int i_132_ = 0; i_132_ < 4; i_132_++) { + byte i_133_ = class348_sub49.readByte(-112); + if (i_133_ == 0 && ((this.aByteArrayArrayArray3104[i_118_]) != null)) { + if (i_121_ >= i_132_) { + int i_134_ = i_117_; + int i_135_ = i_117_ - -7; + int i_136_ = i_120_; + if (i_135_ >= 0) { + if (this.anInt3117 <= i_135_) i_135_ = (this.anInt3117); + } else i_135_ = 0; + if (i_134_ < 0) i_134_ = 0; + else if (i_134_ >= (this.anInt3117)) i_134_ = (this.anInt3117); + int i_137_ = i_120_ - -7; + if (i_136_ < 0) i_136_ = 0; + else if ((this.anInt3114) <= i_136_) i_136_ = (this.anInt3114); + if (i_137_ >= 0) { + if (i_137_ >= (this.anInt3114)) i_137_ = (this.anInt3114); + } else i_137_ = 0; + for (/**/; (i_134_ < i_135_); i_134_++) { + for (/**/; i_136_ < i_137_; i_136_++) + this.aByteArrayArrayArray3104[i_118_][i_134_][i_136_] = (byte) 0; + } + } + } else if (i_133_ == 1) { + if ((this.aByteArrayArrayArray3104[i_118_]) == null) this.aByteArrayArrayArray3104[i_118_] = (new byte + [(this.anInt3117) + 1] + [1 + (this.anInt3114)]); + for (int i_138_ = 0; i_138_ < 64; i_138_ += 4) { + for (int i_139_ = 0; i_139_ < 64; i_139_ += 4) { + byte i_140_ = class348_sub49.readByte(-113); + if (i_132_ <= i_121_) { + for (int i_141_ = i_138_; (i_141_ < i_138_ - -4); i_141_++) { + for (int i_142_ = i_139_; (i_142_ < i_139_ - -4); i_142_++) { + if ((i_141_ >= i_123_) && (i_141_ < 8 + i_123_) && (i_124_ <= i_142_) && (8 + i_124_ > i_124_)) { + int i_143_ = (i_117_ - -(DisplayModeManagerContainer61.method2220((0x7 & i_142_), i_119_, (i_141_ & 0x7), (byte) 71))); + int i_144_ = (i_120_ + (Component344.method837((i_141_ & 0x7), true, (0x7 & i_142_), i_119_))); + if (i_143_ >= 0 && (this.anInt3117 > i_143_) && (i_144_ >= 0) && ((this.anInt3114) > i_144_)) this.aByteArrayArrayArray3104[i_118_][i_143_][i_144_] = i_140_; + } + } + } + } + } + } + } + } + } else throw new IllegalStateException(""); + } else class190 = new DisplayModeManagerContainer56(class348_sub49); + } + if (class190 != null) Component2.method192(class190, 10000, i_117_ >> 3, i_120_ >> 3); + if (bool_122_ || this.aByteArrayArrayArray3104 == null || (this.aByteArrayArrayArray3104[i_118_] == null)) break; + int i_145_ = 7 + i_117_; + int i_146_ = 7 + i_120_; + for (int i_147_ = i_117_; i_145_ > i_147_; i_147_++) { + for (int i_148_ = i_120_; i_148_ < i_146_; i_148_++) + this.aByteArrayArrayArray3104[i_118_][i_147_][i_148_] = (byte) 0; + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("vaa.O(" + (class348_sub49 != null ? "{...}" : "null") + ',' + bool + ',' + i + ',' + i_116_ + ',' + i_117_ + ',' + i_118_ + ',' + i_119_ + ',' + i_120_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ',' + i_121_ + ')')); + } + break; + } while (false); + } + + final void method1697(boolean bool, GraphicsToolkit var_ha, int i) { + try { + DisplayModeManagerContainer173.method2686(); + anInt5816++; + if (!bool) { + if (this.anInt3130 > 1) { + for (int i_149_ = 0; this.anInt3117 > i_149_; i_149_++) { + for (int i_150_ = 0; this.anInt3114 > i_150_; i_150_++) { + if ((0x2 & (ObjectDeserializer.aByteArrayArrayArray6962[1][i_149_][i_150_])) == 2) Component110.method258(i_149_, i_150_); + } + } + } + for (int i_151_ = 0; (this.anInt3130 > i_151_); i_151_++) { + for (int i_152_ = 0; this.anInt3114 >= i_152_; i_152_++) { + for (int i_153_ = 0; (this.anInt3117 >= i_153_); i_153_++) { + if ((0x4 & (this.aByteArrayArrayArray3108[i_151_][i_153_][i_152_])) != 0) { + int i_154_ = i_153_; + int i_155_ = i_153_; + int i_156_ = i_152_; + int i_157_ = i_152_; + for (/**/; (i_156_ > 0 && ((this.aByteArrayArrayArray3108[i_151_][i_153_][-1 + i_156_]) & 0x4) != 0); i_156_--) { + if (i_157_ - i_156_ >= 10) break; + } + for (/**/; (this.anInt3114 > i_157_ && (0x4 & (this.aByteArrayArrayArray3108[i_151_][i_153_][i_157_ + 1])) != 0); i_157_++) { + if (-i_156_ + i_157_ >= 10) break; + } + while_78_: + for (/**/; i_154_ > 0; i_154_--) { + if (i_155_ + -i_154_ >= 10) break; + for (int i_158_ = i_156_; (i_158_ <= i_157_); i_158_++) { + if (((this.aByteArrayArrayArray3108[i_151_][-1 + i_154_][i_158_]) & 0x4) == 0) break while_78_; + } + } + while_79_: + for (/**/; (i_155_ < this.anInt3117 && -i_154_ + i_155_ < 10); i_155_++) { + for (int i_159_ = i_156_; (i_157_ >= i_159_); i_159_++) { + if (((this.aByteArrayArrayArray3108[i_151_][i_155_ + 1][i_159_]) & 0x4) == 0) break while_79_; + } + } + if (((1 + (-i_156_ + i_157_)) * (i_155_ + (-i_154_ + 1))) >= 4) { + int i_160_ = (this.anIntArrayArrayArray3122[i_151_][i_154_][i_156_]); + GlTexture.method1966(512 + (i_155_ << 9), i_160_, i_156_ << 9, i_160_, (byte) 0, 4, (i_157_ << 9) + 512, i_151_, i_154_ << 9); + for (int i_161_ = i_154_; (i_161_ <= i_155_); i_161_++) { + for (int i_162_ = i_156_; (i_157_ >= i_162_); i_162_++) + this.aByteArrayArrayArray3108[i_151_][i_161_][i_162_] = (byte) (GpsOverlay.bitwiseAnd((this.aByteArrayArrayArray3108[i_151_][i_161_][i_162_]), -5)); + } + } + } + } + } + } + ShaderCompilerSub3.method2616(12); + } + if (i < -6) this.aByteArrayArrayArray3108 = null; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("vaa.T(" + bool + ',' + (var_ha != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + public static void method1698(int i) { + aClass341_5821 = null; + if (i != 1) method1698(-10); + } + +} diff --git a/client/components/Component252.java b/client/components/Component252.java new file mode 100644 index 000000000..e66e0ba93 --- /dev/null +++ b/client/components/Component252.java @@ -0,0 +1,200 @@ +/* Component252 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component252 +/** + * RENAMED from `Class318_Sub1_Sub2_Sub1` (JODE-obfuscated). + * Evidence: subclass of DisplayModeManagerContainer343 (hierarchy) + */ extends DisplayModeManagerContainer343 { + static int anInt10179; + int anInt10180 = -1; + int anInt10181; + static int anInt10182; + static int anInt10183; + private int anInt10184 = 0; + int anInt10185; + int anInt10186; + static int anInt10187; + static int anInt10188; + int anInt10189; + int anInt10190; + private boolean aBoolean10191 = false; + static int anInt10192; + static int anInt10193; + static Component161 aClass138_10194; + static String[] aStringArray10195 = new String[8]; + int anInt10196; + static int anInt10197; + static int anInt10198; + static float aFloat10199; + + final int method2393(int i) { + anInt10197++; + if (i > -109) aStringArray10195 = null; + ItemDefinition class213 = (Exception_Sub1.itemDefinitions.getItemDefinition(-115, this.anInt10181)); + int i_0_ = class213.anInt2784; + if (this.anInt10189 != -1) { + ItemDefinition class213_1_ = (Exception_Sub1.itemDefinitions.getItemDefinition(74, this.anInt10189)); + if (class213_1_.anInt2784 > i_0_) i_0_ = class213_1_.anInt2784; + } + if (this.anInt10180 != -1) { + ItemDefinition class213_2_ = (Exception_Sub1.itemDefinitions.getItemDefinition(-88, this.anInt10180)); + if (i_0_ < class213_2_.anInt2784) i_0_ = class213_2_.anInt2784; + } + return i_0_; + } + + final ComponentDownloader method2381(GraphicsToolkit var_ha, int i) { + if (i != 7) method2386(-74, null); + anInt10182++; + return null; + } + + Component252(int i, int i_3_, int i_4_, int i_5_, int i_6_) { + super(i, i_3_, i_4_, i_5_, i_6_); + this.anInt10189 = -1; + this.anInt10196 = 0; + } + + final int method2394(boolean bool) { + if (bool != true) this.anInt10196 = 68; + anInt10183++; + return -10; + } + + final void method2387(GraphicsToolkit var_ha, int i) { + anInt10198++; + if (i > -125) this.anInt10196 = 71; + } + + final boolean method2391(GraphicsToolkit var_ha, int i, int i_7_, int i_8_) { + anInt10188++; + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + class101.method894(this.x, -10 + this.anInt6382, this.y); + ItemDefinition class213 = (Exception_Sub1.itemDefinitions.getItemDefinition(i_8_ ^ 0x6b, this.anInt10181)); + DisplayModeManagerContainer370 class64 = class213.method1559(null, null, var_ha, 131072, 0, this.anInt10185, 0, (byte) 88, -1); + if (class64 != null && (DisplayModeManagerContainer50.aBoolean3870 ? class64.method623(i_7_, i, class101, true, class213.anInt2784, Component72.anInt1906) : class64.method628(i_7_, i, class101, true, class213.anInt2784))) return true; + if ((~this.anInt10189) != i_8_) { + ItemDefinition class213_9_ = (Exception_Sub1.itemDefinitions.getItemDefinition(-88, this.anInt10189)); + class64 = class213_9_.method1559(null, null, var_ha, 131072, 0, (this.anInt10190), 0, (byte) 88, -1); + if (class64 != null && (DisplayModeManagerContainer50.aBoolean3870 ? class64.method623(i_7_, i, class101, true, class213_9_.anInt2784, Component72.anInt1906) : class64.method628(i_7_, i, class101, true, class213_9_.anInt2784))) return true; + } + if (this.anInt10180 != -1) { + ItemDefinition class213_10_ = (Exception_Sub1.itemDefinitions.getItemDefinition(-99, this.anInt10180)); + class64 = class213_10_.method1559(null, null, var_ha, 131072, 0, (this.anInt10186), 0, (byte) 88, -1); + return class64 != null && (!DisplayModeManagerContainer50.aBoolean3870 ? class64.method628(i_7_, i, class101, true, class213_10_.anInt2784) : class64.method623(i_7_, i, class101, true, class213_10_.anInt2784, Component72.anInt1906)); + } + return false; + } + + public static void method2407(boolean bool) { + aStringArray10195 = null; + aClass138_10194 = null; + if (bool != false) method2407(true); + } + + final RenderableSub4 method2386(int i, GraphicsToolkit var_ha) { + if (i != 1) method2386(60, null); + anInt10179++; + Component3 class148 = Component195.method1449(this.plane, (this.x >> Component149.anInt4459), (this.y >> Component149.anInt4459)); + if (class148 != null && class148.aClass318_Sub1_Sub3_2040.aBoolean8741) { + int i_11_ = class148.aClass318_Sub1_Sub3_2040.method2394(true); + if (this.anInt10196 != i_11_) { + this.anInt6382 -= this.anInt10196; + this.anInt10196 = i_11_; + this.anInt6382 += i_11_; + } + } + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + class101.method910(); + if (class148 == null || !(class148.aClass318_Sub1_Sub3_2040.aBoolean8741)) { + boolean bool = false; + boolean bool_12_ = false; + boolean bool_13_ = false; + s var_s = ShaderSub1.aSArray5191[this.aByte6376]; + int i_14_ = anInt10184 << 1; + int i_15_ = i_14_; + int i_16_ = -i_14_ / 2; + int i_17_ = -i_15_ / 2; + int i_18_ = var_s.method3986(this.x + i_16_, this.y + i_17_, (byte) -102); + int i_19_ = i_14_ / 2; + int i_20_ = -i_15_ / 2; + int i_21_ = var_s.method3986(i_19_ + this.x, this.y - -i_20_, (byte) 94); + int i_22_ = -i_14_ / 2; + int i_23_ = i_15_ / 2; + int i_24_ = var_s.method3986(this.x + i_22_, i_23_ + this.y, (byte) -102); + int i_25_ = i_14_ / 2; + int i_26_ = i_15_ / 2; + int i_27_ = var_s.method3986(this.x + i_25_, this.y + i_26_, (byte) 5); + int i_28_ = Math.min(i_18_, i_21_); + int i_29_ = Math.min(i_24_, i_27_); + int i_30_ = Math.min(i_27_, i_21_); + if (i_15_ != 0) { + int i_31_ = ((int) (2607.5945876176133 * Math.atan2(i_28_ + -i_29_, i_15_)) & 0x3fff); + if (i_31_ != 0) class101.method900(i_31_); + } + int i_32_ = Math.min(i_24_, i_18_); + int i_33_ = i_18_ - -i_27_; + if (i_14_ != 0) { + int i_34_ = ((int) (2607.5945876176133 * Math.atan2(i_32_ - i_30_, i_14_)) & 0x3fff); + if (i_34_ != 0) class101.method908(-i_34_); + } + if (i_24_ + i_21_ < i_33_) i_33_ = i_24_ + i_21_; + i_33_ = (i_33_ >> 1) + -this.anInt6382; + if (i_33_ != 0) class101.method891(0, i_33_, 0); + } + class101.method891(this.x, -10 + this.anInt6382, this.y); + RenderableSub4 class318_sub4 = OutputStream_Sub2.method136(3, true, false); + aBoolean10191 = false; + anInt10184 = 0; + if (this.anInt10180 != -1) { + DisplayModeManagerContainer370 class64 = (Exception_Sub1.itemDefinitions.getItemDefinition(i ^ 0x6c, this.anInt10180).method1559(null, null, var_ha, 2048, 0, this.anInt10186, 0, (byte) 88, -1)); + if (class64 != null) { + if (DisplayModeManagerContainer50.aBoolean3870) class64.method608(class101, (class318_sub4.aClass318_Sub3Array6414[2]), Component72.anInt1906, 0); + else class64.method615(class101, (class318_sub4.aClass318_Sub3Array6414[2]), 0); + aBoolean10191 |= class64.F(); + anInt10184 = class64.ma(); + } + } + if (this.anInt10189 != -1) { + DisplayModeManagerContainer370 class64 = (Exception_Sub1.itemDefinitions.getItemDefinition(i ^ ~0x3b, this.anInt10189).method1559(null, null, var_ha, 2048, 0, this.anInt10190, 0, (byte) 88, -1)); + if (class64 != null) { + if (!DisplayModeManagerContainer50.aBoolean3870) class64.method615(class101, (class318_sub4.aClass318_Sub3Array6414[1]), 0); + else class64.method608(class101, (class318_sub4.aClass318_Sub3Array6414[1]), Component72.anInt1906, 0); + aBoolean10191 |= class64.F(); + if (anInt10184 < class64.ma()) anInt10184 = class64.ma(); + } + } + DisplayModeManagerContainer370 class64 = (Exception_Sub1.itemDefinitions.getItemDefinition(-48, this.anInt10181).method1559(null, null, var_ha, 2048, 0, this.anInt10185, 0, (byte) 88, -1)); + if (class64 != null) { + if (!DisplayModeManagerContainer50.aBoolean3870) class64.method615(class101, (class318_sub4.aClass318_Sub3Array6414[0]), 0); + else class64.method608(class101, (class318_sub4.aClass318_Sub3Array6414[0]), Component72.anInt1906, 0); + aBoolean10191 |= class64.F(); + if (anInt10184 < class64.ma()) anInt10184 = class64.ma(); + } + return class318_sub4; + } + + final int method2379(int i) { + anInt10193++; + if (i != -25675) aClass138_10194 = null; + return anInt10184; + } + + final boolean method2377(byte i) { + anInt10192++; + if (i != 122) method2394(true); + return aBoolean10191; + } + + final boolean method2376(int i) { + if (i >= -12) this.anInt10180 = -23; + anInt10187++; + return false; + } + + static { + aClass138_10194 = new Component161(13, 0, 1, 0); + } +} diff --git a/client/components/Component253.java b/client/components/Component253.java new file mode 100644 index 000000000..0d4c0559b --- /dev/null +++ b/client/components/Component253.java @@ -0,0 +1,409 @@ +/* Component253 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.io.IOException; + +final class Component253 +/** + * RENAMED from {@code Class248} (JODE-obfuscated). + * JS5-over-TCP on-demand client: queues archive requests (priority opcode 1 / + * normal opcode 0), reads 8-byte headers + 512-byte blocks, optional XOR cipher. + * Handshake opcode 6; login-state opcodes 2/3; close opcode 7; rekey opcode 4. + */ { + static int anInt3185; + static int anInt3186; + static int anInt3187; + static int anInt3188; + static int anInt3189; + static int anInt3190; + static int anInt3191; + static int anInt3192; + static int anInt3193; + static int anInt3194; + static int anInt3195; + static Component267 aClass229_3196 = new Component267(); + /** Priority requests not yet written (opcode 1). */ + private final HashTable pendingPriority = new HashTable(); + static int anInt3198; + static int anInt3199; + static int anInt3200; + static int anInt3201; + static int anInt3202; + static int anInt3203 = -1; + /** Priority requests written, awaiting response. */ + private final HashTable sentPriority = new HashTable(); + /** Normal requests not yet written (opcode 0). */ + private final HashTable pendingNormal = new HashTable(); + /** Normal requests written, awaiting response. */ + private final HashTable sentNormal = new HashTable(); + /** Wall-clock ms of last successful IO (idle timeout). */ + private long lastIoMillis; + /** 4-byte outbound scratch for control opcodes. */ + private final Buffer outBuffer = new Buffer(4); + /** Live socket connection, or null when disconnected. */ + private Connection connection; + /** Accumulated idle ms since last bytes; disconnect past 90s. */ + private int idleMillis; + /** 8-byte inbound header buffer (index/archive/flags/length). */ + private final Buffer headerBuffer; + /** Per-connection XOR key applied to inbound bytes when non-zero. */ + private byte xorKey = 0; + /** Count of IO failures / forced reconnects. */ + volatile int errorCount = 0; + /** Last disconnect reason code ({@code -2} = IO error). */ + volatile int disconnectCode = 0; + /** In-flight archive response currently being filled. */ + private HashNodeSub16Sub1 currentResponse; + + /** + * Writes login-state opcode: {@code 2} if logged in, {@code 3} otherwise. + */ + final void writeLoginState(int i, boolean bool) { + anInt3194++; + if (connection != null) { + try { + outBuffer.offset = 0; + outBuffer.writeByte(false, bool ? 2 : 3); + outBuffer.writeMedium(-9912, 0); + if (i < -66) connection.write((outBuffer.payload), 4, 0, -1); + } catch (IOException ioexception) { + try { + connection.close((byte) -121); + } catch (Exception exception) { + /* empty */ + } + this.errorCount++; + connection = null; + this.disconnectCode = -2; + } + } + } + + /** Pulse: flush queued requests, read headers/blocks, enforce 90s idle timeout. */ + final boolean process(byte i) { + if (connection != null) { + long l = Component240.currentTimeMillis(-106); + int i_0_ = (int) (-lastIoMillis + l); + if (i_0_ > 200) i_0_ = 200; + lastIoMillis = l; + idleMillis += i_0_; + if (idleMillis > 90000) { + try { + connection.close((byte) -121); + } catch (Exception exception) { + /* empty */ + } + connection = null; + } + } + anInt3190++; + if (connection == null) { + return priorityQueueSize(4) == 0 && normalQueueSize(4350) == 0; + } + try { + connection.checkError(true); + for (HashNodeSub16Sub1 class348_sub42_sub16_sub1 = ((HashNodeSub16Sub1) pendingPriority.first(-30)); class348_sub42_sub16_sub1 != null; class348_sub42_sub16_sub1 = ((HashNodeSub16Sub1) pendingPriority.next((byte) 65))) { + outBuffer.offset = 0; + outBuffer.writeByte(false, 1); + outBuffer.writeMedium(-9912, (int) (class348_sub42_sub16_sub1.accessAge)); + connection.write((outBuffer.payload), 4, 0, -1); + sentPriority.add(true, class348_sub42_sub16_sub1); + } + HashNodeSub16Sub1 class348_sub42_sub16_sub1 = (HashNodeSub16Sub1) pendingNormal.first(-75); + if (i <= 72) return false; + for (/**/; class348_sub42_sub16_sub1 != null; class348_sub42_sub16_sub1 = ((HashNodeSub16Sub1) pendingNormal.next((byte) 102))) { + outBuffer.offset = 0; + outBuffer.writeByte(false, 0); + outBuffer.writeMedium(-9912, (int) (class348_sub42_sub16_sub1.accessAge)); + connection.write((outBuffer.payload), 4, 0, -1); + sentNormal.add(true, class348_sub42_sub16_sub1); + } + for (int i_1_ = 0; i_1_ < 100; i_1_++) { + int i_2_ = connection.available((byte) 83); + if (i_2_ < 0) throw new IOException(); + if (i_2_ == 0) break; + idleMillis = 0; + int i_3_ = 0; + if (currentResponse == null) i_3_ = 8; + else if (currentResponse.blockPosition == 0) i_3_ = 1; + if (i_3_ <= 0) { + int i_4_ = (currentResponse.buffer.payload.length + -currentResponse.padding); + int i_5_ = (-currentResponse.blockPosition + 512); + if (i_5_ > -(currentResponse.buffer.offset) + i_4_) i_5_ = i_4_ - currentResponse.buffer.offset; + if (i_2_ < i_5_) i_5_ = i_2_; + connection.readFully((currentResponse.buffer.payload), currentResponse.buffer.offset, (byte) -72, i_5_); + if (xorKey != 0) { + for (int i_6_ = 0; i_5_ > i_6_; i_6_++) + currentResponse.buffer.payload[i_6_ + currentResponse.buffer.offset] = (byte) (NodeSub21.bitwiseXor((currentResponse.buffer.payload[(i_6_ + (currentResponse.buffer.offset))]), xorKey)); + } + currentResponse.blockPosition += i_5_; + currentResponse.buffer.offset += i_5_; + if (i_4_ == currentResponse.buffer.offset) { + currentResponse.unlink(true); + currentResponse.incomplete = false; + currentResponse = null; + } else if (currentResponse.blockPosition == 512) currentResponse.blockPosition = 0; + } else { + int i_7_ = i_3_ + -(headerBuffer.offset); + if (i_2_ < i_7_) i_7_ = i_2_; + connection.readFully((headerBuffer.payload), headerBuffer.offset, (byte) -72, i_7_); + if (xorKey != 0) { + for (int i_8_ = 0; i_8_ < i_7_; i_8_++) + headerBuffer.payload[i_8_ + headerBuffer.offset] = (byte) (NodeSub21.bitwiseXor((headerBuffer.payload[i_8_ + (headerBuffer.offset)]), xorKey)); + } + headerBuffer.offset += i_7_; + if (headerBuffer.offset >= i_3_) { + if (currentResponse == null) { + headerBuffer.offset = 0; + int i_9_ = headerBuffer.readUnsignedByte(255); + int i_10_ = headerBuffer.readUnsignedShort(842397944); + int i_11_ = headerBuffer.readUnsignedByte(255); + int i_12_ = headerBuffer.readInt((byte) -126); + int i_13_ = 0x7f & i_11_; + boolean bool = (0x80 & i_11_) != 0; + long l = (i_9_ << 16) + i_10_; + Object object = null; + HashNodeSub16Sub1 class348_sub42_sub16_sub1_14_; + if (bool) { + for (class348_sub42_sub16_sub1_14_ = ((HashNodeSub16Sub1) sentNormal.first(-89)); class348_sub42_sub16_sub1_14_ != null; class348_sub42_sub16_sub1_14_ = ((HashNodeSub16Sub1) sentNormal.next((byte) 98))) { + if (l == (class348_sub42_sub16_sub1_14_.accessAge)) break; + } + } else { + for (class348_sub42_sub16_sub1_14_ = ((HashNodeSub16Sub1) sentPriority.first(-108)); class348_sub42_sub16_sub1_14_ != null; class348_sub42_sub16_sub1_14_ = ((HashNodeSub16Sub1) sentPriority.next((byte) 90))) { + if (l == (class348_sub42_sub16_sub1_14_.accessAge)) break; + } + } + if (class348_sub42_sub16_sub1_14_ == null) throw new IOException(); + int i_15_ = i_13_ == 0 ? 5 : 9; + currentResponse = class348_sub42_sub16_sub1_14_; + currentResponse.buffer = (new Buffer((currentResponse.padding) + i_15_ + i_12_)); + currentResponse.buffer.writeByte(false, i_13_); + currentResponse.buffer.writeInt((byte) 97, i_12_); + headerBuffer.offset = 0; + currentResponse.blockPosition = 8; + } else if ((currentResponse.blockPosition) == 0) { + if ((headerBuffer.payload[0]) == -1) { + currentResponse.blockPosition = 1; + headerBuffer.offset = 0; + } else currentResponse = null; + } else throw new IOException(); + } + } + } + return true; + } catch (IOException ioexception) { + try { + connection.close((byte) -122); + } catch (Exception exception) { + /* empty */ + } + this.disconnectCode = -2; + this.errorCount++; + connection = null; + return priorityQueueSize(4) == 0 && normalQueueSize(4350) == 0; + } + } + + /** Size of pending+sent normal (opcode 0) request queues. */ + private final int normalQueueSize(int i) { + anInt3199++; + if (i != 4350) return 29; + return pendingNormal.size(0) - -sentNormal.size(0); + } + + static final void method1895(int i, byte[] is, int i_16_, int i_17_, int i_18_, int i_19_, byte[] is_20_, int i_21_, byte i_22_) { + try { + anInt3198++; + int i_23_ = -(i_21_ >> 2); + i_21_ = -(0x3 & i_21_); + if (i_22_ != 121) aClass229_3196 = null; + for (int i_24_ = -i_16_; i_24_ < 0; i_24_++) { + for (int i_25_ = i_23_; i_25_ < 0; i_25_++) { + is[i_17_++] += -is_20_[i++]; + is[i_17_++] += -is_20_[i++]; + is[i_17_++] += -is_20_[i++]; + is[i_17_++] += -is_20_[i++]; + } + for (int i_26_ = i_21_; i_26_ < 0; i_26_++) + is[i_17_++] += -is_20_[i++]; + i_17_ += i_18_; + i += i_19_; + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("tha.M(" + i + ',' + (is != null ? "{...}" : "null") + ',' + i_16_ + ',' + i_17_ + ',' + i_18_ + ',' + i_19_ + ',' + (is_20_ != null ? "{...}" : "null") + ',' + i_21_ + ',' + i_22_ + ')')); + } + } + + /** Writes JS5 handshake opcode 6. */ + private final void writeHandshake(int i) { + if (i <= -58) { + anInt3191++; + if (connection != null) { + try { + outBuffer.offset = 0; + outBuffer.writeByte(false, 6); + outBuffer.writeMedium(-9912, 3); + connection.write((outBuffer.payload), 4, 0, -1); + } catch (IOException ioexception) { + try { + connection.close((byte) -123); + } catch (Exception exception) { + /* empty */ + } + this.disconnectCode = -2; + connection = null; + this.errorCount++; + } + } + } + } + + /** Nulls static scratch at shutdown. */ + public static void clearStatics(byte i) { + if (i == 119) aClass229_3196 = null; + } + + /** Replaces live streams with discard stubs via {@link Connection#detachStreams}. */ + final void detachStreams(boolean bool) { + if (connection != null) connection.detachStreams(72); + if (bool != true) forceDisconnect(99); + anInt3185++; + } + + /** True when normal queue size ≥ 48. */ + final boolean isNormalQueueFull(int i) { + if (i > -91) this.disconnectCode = -39; + anInt3186++; + return normalQueueSize(4350) >= 48; + } + + /** True when priority queue size ≥ 48. */ + final boolean isPriorityQueueFull(int i) { + int i_27_ = -51 % ((41 - i) / 47); + anInt3195++; + return priorityQueueSize(4) >= 48; + } + + /** Closes the socket connection if present. */ + final void closeConnection(int i) { + if (i > -27) closeConnection(21); + if (connection != null) connection.close((byte) -122); + anInt3200++; + } + + /** Size of pending+sent priority (opcode 1) request queues. */ + final int priorityQueueSize(int i) { + anInt3192++; + if (i != 4) this.errorCount = 18; + return pendingPriority.size(0) + sentPriority.size(0); + } + + /** Swap connection, handshake, restore unsent queues, optional XOR rekey (opcode 4). */ + final void setConnection(boolean bool, boolean bool_28_, Connection class202) { + if (connection != null) { + try { + connection.close((byte) -124); + } catch (Exception exception) { + /* empty */ + } + connection = null; + } + anInt3193++; + connection = class202; + writeHandshake(-92); + writeLoginState(-92, bool_28_); + headerBuffer.offset = 0; + currentResponse = null; + if (bool != false) lastIoMillis = -35L; + for (; ; ) { + HashNodeSub16Sub1 class348_sub42_sub16_sub1 = (HashNodeSub16Sub1) sentPriority.removeHead(20); + if (class348_sub42_sub16_sub1 == null) break; + pendingPriority.add(true, class348_sub42_sub16_sub1); + } + for (; ; ) { + HashNodeSub16Sub1 class348_sub42_sub16_sub1 = (HashNodeSub16Sub1) sentNormal.removeHead(20); + if (class348_sub42_sub16_sub1 == null) break; + pendingNormal.add(!bool, class348_sub42_sub16_sub1); + } + if (xorKey != 0) { + try { + outBuffer.offset = 0; + outBuffer.writeByte(bool, 4); + outBuffer.writeByte(bool, xorKey); + outBuffer.writeShort((byte) 107, 0); + connection.write((outBuffer.payload), 4, 0, -1); + } catch (IOException ioexception) { + try { + connection.close((byte) -126); + } catch (Exception exception) { + /* empty */ + } + this.disconnectCode = -2; + this.errorCount++; + connection = null; + } + } + idleMillis = 0; + lastIoMillis = Component240.currentTimeMillis(-105); + } + + /** Force-close and pick a new random XOR key for the next connection. */ + final void forceDisconnect(int i) { + try { + connection.close((byte) -123); + } catch (Exception exception) { + /* empty */ + } + anInt3189++; + connection = null; + this.errorCount++; + xorKey = (byte) (int) (Math.random() * 255.0 + 1.0); + this.disconnectCode = i; + } + + /** Writes JS5 close opcode 7. */ + final void writeClose(int i) { + anInt3188++; + if (connection != null) { + try { + outBuffer.offset = i; + outBuffer.writeByte(false, 7); + outBuffer.writeMedium(-9912, 0); + connection.write((outBuffer.payload), 4, 0, ~i); + } catch (IOException ioexception) { + try { + connection.close((byte) -125); + } catch (Exception exception) { + /* empty */ + } + this.disconnectCode = -2; + this.errorCount++; + connection = null; + } + } + } + + /** Enqueue archive request ({@code bool}=priority). Key is {@code (index<<16)|archive}. */ + final HashNodeSub16Sub1 queueRequest(byte i, byte i_29_, boolean bool, int i_30_, int i_31_) { + anInt3187++; + int i_32_ = -118 % ((i - -15) / 61); + long l = (i_31_ << 16) - -i_30_; + HashNodeSub16Sub1 class348_sub42_sub16_sub1 = new HashNodeSub16Sub1(); + class348_sub42_sub16_sub1.priority = bool; + class348_sub42_sub16_sub1.accessAge = l; + class348_sub42_sub16_sub1.padding = i_29_; + if (bool) { + if (priorityQueueSize(4) >= 48) throw new RuntimeException(); + pendingPriority.add(true, class348_sub42_sub16_sub1); + } else { + if (normalQueueSize(4350) >= 48) throw new RuntimeException(); + pendingNormal.add(true, class348_sub42_sub16_sub1); + } + return class348_sub42_sub16_sub1; + } + + public Component253() { + headerBuffer = new Buffer(8); + } +} diff --git a/client/components/Component255.java b/client/components/Component255.java new file mode 100644 index 000000000..0c557bcfe --- /dev/null +++ b/client/components/Component255.java @@ -0,0 +1,99 @@ +/* Component255 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component255 +/** + * RENAMED from `Class58` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt1056; + private long aLong1057; + private int anInt1058; + static int anInt1059; + static int anInt1060; + static int anInt1061; + static int anInt1062; + static int anInt1063; + static int anInt1064 = -2; + static int anInt1065; + static int anInt1066; + static int anInt1067; + + static final int method532(int i, int i_0_, boolean bool, int i_1_) { + anInt1061++; + NodeSub13 class348_sub13 = AbstractGlTextureSub4.getContainerNode((byte) -120, i_0_, bool); + if (class348_sub13 == null) return 0; + if (i == -1) return 0; + int i_2_ = 0; + for (int i_3_ = 0; (i_3_ < class348_sub13.amounts.length); i_3_++) { + if (class348_sub13.itemIds[i_3_] == i) i_2_ += class348_sub13.amounts[i_3_]; + } + int i_4_ = 73 % ((i_1_ - -52) / 63); + return i_2_; + } + + private final void method533(ColoredTextBuilder class325, int i) { + aLong1057 |= class325.anInt4070 << anInt1058++ * ColoredTextBuilder.anInt4081; + anInt1063++; + int i_5_ = 0 % ((28 - i) / 59); + } + + private final int method534(byte i, int i_6_) { + anInt1065++; + if (i != 0) return -115; + return (int) (aLong1057 >> ColoredTextBuilder.anInt4081 * i_6_) & 0xf; + } + + static final void method535(int i, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_, byte i_12_) { + anInt1062++; + int i_13_ = LogicError.method831(PauseTimer.anInt513, i_11_, Component72.anInt1910, 111); + int i_14_ = LogicError.method831(PauseTimer.anInt513, i_7_, Component72.anInt1910, -104); + if (i_12_ >= -62) method535(80, -63, -10, 41, -65, 39, (byte) -89); + int i_15_ = LogicError.method831(Component22.anInt1745, i, Component27.anInt4960, -79); + int i_16_ = LogicError.method831(Component22.anInt1745, i_9_, Component27.anInt4960, 92); + int i_17_ = LogicError.method831(PauseTimer.anInt513, i_11_ + i_8_, Component72.anInt1910, 32); + int i_18_ = LogicError.method831(PauseTimer.anInt513, -i_8_ + i_7_, Component72.anInt1910, 41); + for (int i_19_ = i_13_; i_17_ > i_19_; i_19_++) + MenuOpener.fillInts(-27, i_16_, DisplayModeManagerContainer167.anIntArrayArray255[i_19_], i_15_, i_10_); + for (int i_20_ = i_14_; i_18_ < i_20_; i_20_--) + MenuOpener.fillInts(-27, i_16_, DisplayModeManagerContainer167.anIntArrayArray255[i_20_], i_15_, i_10_); + int i_21_ = LogicError.method831(Component22.anInt1745, i_8_ + i, Component27.anInt4960, 121); + int i_22_ = LogicError.method831(Component22.anInt1745, -i_8_ + i_9_, Component27.anInt4960, -101); + for (int i_23_ = i_17_; i_23_ <= i_18_; i_23_++) { + int[] is = DisplayModeManagerContainer167.anIntArrayArray255[i_23_]; + MenuOpener.fillInts(-27, i_21_, is, i_15_, i_10_); + MenuOpener.fillInts(-27, i_16_, is, i_22_, i_10_); + } + } + + Component255(ColoredTextBuilder class325) { + aLong1057 = class325.anInt4070; + anInt1058 = 1; + } + + Component255(ColoredTextBuilder[] class325s) { + for (int i = 0; i < class325s.length; i++) + method533(class325s[i], 92); + } + + static final boolean method536(int i, boolean bool, int i_24_, int i_25_, int i_26_) { + if (bool != false) method536(-65, true, 105, -126, 39); + anInt1066++; + if ((ObjectDeserializer.aByteArrayArrayArray6962[0][i_24_][i] & 0x2) != 0) return true; + if ((0x10 & ObjectDeserializer.aByteArrayArrayArray6962[i_26_][i_24_][i]) != 0) return false; + return i_25_ == Component98.getEffectivePlane(-55, i_26_, i, i_24_); + } + + final ColoredTextBuilder method537(int i, int i_27_) { + anInt1060++; + int i_28_ = 4 % ((-35 - i_27_) / 53); + return ColoredTextBuilder.method2598(method534((byte) 0, i), -109); + } + + final int method538(byte i) { + anInt1056++; + if (i >= -114) method538((byte) 105); + return anInt1058; + } +} diff --git a/client/components/Component256.java b/client/components/Component256.java new file mode 100644 index 000000000..7d3e2178c --- /dev/null +++ b/client/components/Component256.java @@ -0,0 +1,169 @@ +/* Component256 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component256 +/** + * RENAMED from `Class239_Sub25` (JODE-obfuscated). + * Evidence: subclass of Component339 (hierarchy) + */ extends Component339 { + static int anInt6099; + static int anInt6100; + static int anInt6101; + static int anInt6102; + static RenderableSub9Sub2Sub1[] aClass318_Sub9_Sub2_Sub1Array6103; + static int anInt6104; + static int anInt6105; + static int anInt6106; + static int anInt6107; + static int anInt6108; + static int anInt6109; + private boolean aBoolean6110 = true; + static int anInt6111; + static int anInt6112; + boolean aBoolean6113 = false; + + final int method1714(int i, int i_0_) { + anInt6100++; + if (i != 3) aBoolean6110 = false; + if (!this.aClass348_Sub51_3136.method3428((byte) -89).method1460(-38)) return 3; + if (i_0_ == 3 && !Applet_Sub1.isNativeLibraryCached("jagdx", i ^ 0x3)) return 3; + return 2; + } + + final void method1712(int i, int i_1_) { + int i_2_ = -50 / ((i - 82) / 35); + this.anInt3138 = i_1_; + anInt6106++; + this.aBoolean6113 = false; + } + + static final void method1825(int i, int i_3_, int i_4_) { + anInt6102++; + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(0, (byte) 105, 15); + class348_sub42_sub15.method3246(-25490); + class348_sub42_sub15.anInt9652 = i_4_; + class348_sub42_sub15.anInt9651 = i_3_; + if (i < 57) method1828(5); + } + + final void method1826(boolean bool, int i) { + aBoolean6110 = bool; + anInt6109++; + if (i != -142238264) method1828(20); + } + + static final void method1827(int i) { + anInt6112++; + if (Component380.anIntArray4983 == null) Component380.anIntArray4983 = new int[65536]; + else return; + double d = 0.7 + (0.03 * Math.random() - 0.015); + int i_5_ = 0; + if (i == 1415665776) { + for (int i_6_ = 0; i_6_ < 512; i_6_++) { + float f = (((float) (i_6_ >> 3) / 64.0F + 0.0078125F) * 360.0F); + float f_7_ = (float) (i_6_ & 0x7) / 8.0F + 0.0625F; + for (int i_8_ = 0; i_8_ < 128; i_8_++) { + float f_9_ = (float) i_8_ / 128.0F; + float f_10_ = 0.0F; + float f_11_ = 0.0F; + float f_12_ = 0.0F; + float f_13_ = f / 60.0F; + int i_14_ = (int) f_13_; + int i_15_ = i_14_ % 6; + float f_16_ = (float) -i_14_ + f_13_; + float f_17_ = f_9_ * (-f_7_ + 1.0F); + float f_18_ = f_9_ * (1.0F - f_16_ * f_7_); + float f_19_ = (1.0F - (1.0F - f_16_) * f_7_) * f_9_; + if (i_15_ == 0) { + f_10_ = f_9_; + f_11_ = f_19_; + f_12_ = f_17_; + } else if (i_15_ == 1) { + f_11_ = f_9_; + f_10_ = f_18_; + f_12_ = f_17_; + } else if (i_15_ == 2) { + f_12_ = f_19_; + f_10_ = f_17_; + f_11_ = f_9_; + } else if (i_15_ == 3) { + f_12_ = f_9_; + f_11_ = f_18_; + f_10_ = f_17_; + } else if (i_15_ == 4) { + f_12_ = f_9_; + f_11_ = f_17_; + f_10_ = f_19_; + } else if (i_15_ == 5) { + f_10_ = f_9_; + f_11_ = f_17_; + f_12_ = f_18_; + } + f_10_ = (float) Math.pow(f_10_, d); + f_11_ = (float) Math.pow(f_11_, d); + f_12_ = (float) Math.pow(f_12_, d); + int i_20_ = (int) (f_10_ * 256.0F); + int i_21_ = (int) (256.0F * f_11_); + int i_22_ = (int) (256.0F * f_12_); + int i_23_ = ((i_21_ << 8) + ((i_20_ << 16) + (-16777216 + i_22_))); + Component380.anIntArray4983[i_5_++] = i_23_; + } + } + } + } + + final int method1710(int i) { + this.aBoolean6113 = true; + anInt6101++; + if (i != 20014) aBoolean6110 = false; + if (!this.aClass348_Sub51_3136.method3428((byte) -113).method1460(i + -20083)) return 0; + return 2; + } + + Component256(int i, NodeSub51 class348_sub51) { + super(i, class348_sub51); + } + + Component256(NodeSub51 class348_sub51) { + super(class348_sub51); + } + + static final void method1828(int i) { + if (i < 20) method1832(47); + anInt6104++; + synchronized (DisplayModeManagerContainer173.aClass60_4254) { + DisplayModeManagerContainer173.aClass60_4254.clear(0); + } + } + + final void method1716(boolean bool) { + anInt6108++; + if (!this.aClass348_Sub51_3136.method3428((byte) -106).method1460(-33)) this.anInt3138 = 0; + if (bool != false) method1829(31); + if (this.anInt3138 < 0 || this.anInt3138 > 5) this.anInt3138 = method1710(20014); + } + + final int method1829(int i) { + anInt6107++; + if (i != -32350) aBoolean6110 = false; + return this.anInt3138; + } + + final boolean method1830(byte i) { + anInt6099++; + if (i >= -93) aBoolean6110 = false; + return aBoolean6110; + } + + final boolean method1831(int i) { + anInt6105++; + if (i < 85) return true; + return this.aClass348_Sub51_3136.method3428((byte) -124).method1460(-59); + } + + public static void method1832(int i) { + if (i != 1) method1828(33); + aClass318_Sub9_Sub2_Sub1Array6103 = null; + } +} diff --git a/client/components/Component257.java b/client/components/Component257.java new file mode 100644 index 000000000..e7b48e8dc --- /dev/null +++ b/client/components/Component257.java @@ -0,0 +1,48 @@ +/* Component257 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component257 +/** + * RENAMED from `Class136` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ implements Interface7 { + static Component304 aClass65_4787; + private final String aString4788; + private final CacheStore aClass45_4789; + static int anInt4790; + static short[][] aShortArrayArray4791; + static int anInt4792; + static int anInt4793 = 1405; + static int anInt4794; + static int anInt4795; + static CacheStore aClass45_4796; + + public static void method1159(byte i) { + aShortArrayArray4791 = null; + aClass65_4787 = null; + if (i >= 36) aClass45_4796 = null; + } + + Component257(CacheStore class45, String string) { + try { + aString4788 = string; + aClass45_4789 = class45; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("nv.(" + (class45 != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ')')); + } + } + + public final Component325 method32(int i) { + anInt4794++; + if (i != -15004) method1159((byte) -110); + return Component325.aClass69_1198; + } + + public final int method31(int i) { + anInt4790++; + if (aClass45_4789.isGroupReadyByName(100, aString4788)) return 100; + int i_0_ = 31 % ((-43 - i) / 62); + return aClass45_4789.getNamedGroupLoadPercent(aString4788, 0); + } +} diff --git a/client/components/Component258.java b/client/components/Component258.java new file mode 100644 index 000000000..3344c2fd6 --- /dev/null +++ b/client/components/Component258.java @@ -0,0 +1,116 @@ +/* Component258 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component258 +/** + * RENAMED from `Class141` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private NodeCache aClass60_1963 = new NodeCache(64); + static int anInt1964; + CacheStore aClass45_1965; + static Component224 aClass273_1966; + static int anInt1967; + static int anInt1968; + static int anInt1969; + static int anInt1970; + private final CacheStore aClass45_1971; + static int anInt1972; + static int[] anIntArray1973 = {0, 1, 2, 3, 4, 5, 6, 14}; + static int anInt1974; + static int[] anIntArray1975; + NodeCache aClass60_1976 = new NodeCache(64); + static AssetCacheLoader aClass26_1977; + + final SceneManager method1173(byte i, int i_0_) { + anInt1964++; + SceneManager class218; + synchronized (aClass60_1963) { + class218 = (SceneManager) aClass60_1963.get(i_0_, 118); + } + if (class218 != null) return class218; + byte[] is; + synchronized (aClass45_1971) { + is = aClass45_1971.getFile(i + -1891, 34, i_0_); + } + class218 = new SceneManager(); + if (i != 31) return null; + class218.aClass141_2851 = this; + if (is != null) class218.method1597((byte) -114, new Buffer(is)); + synchronized (aClass60_1963) { + aClass60_1963.putOne(class218, i_0_, (byte) -108); + } + return class218; + } + + final void method1174(byte i) { + synchronized (aClass60_1963) { + aClass60_1963.method587(-87); + } + anInt1969++; + synchronized (this.aClass60_1976) { + if (i > -89) { + /* empty */ + } else this.aClass60_1976.method587(-79); + } + } + + final void method1175(byte i) { + synchronized (aClass60_1963) { + aClass60_1963.clear(i + -125); + } + anInt1967++; + if (i == 125) { + synchronized (this.aClass60_1976) { + this.aClass60_1976.clear(0); + } + } + } + + final void method1176(int i, byte i_1_) { + if (i_1_ < 31) method1177((byte) -119); + synchronized (aClass60_1963) { + aClass60_1963.processSoftEntries(2, i); + } + anInt1968++; + synchronized (this.aClass60_1976) { + this.aClass60_1976.processSoftEntries(2, i); + } + } + + static final void method1177(byte i) { + ReferenceTable.anIntArray3726 = AbstractShaderSub1.method3533((byte) 127, 2048, 4, 8, 0.4F, 35, true, 8); + if (i == 122) anInt1970++; + } + + final void method1178(int i, int i_2_, int i_3_) { + anInt1972++; + if (i_2_ != 1) aClass273_1966 = null; + aClass60_1963 = new NodeCache(i_3_); + this.aClass60_1976 = new NodeCache(i); + } + + public static void method1179(byte i) { + anIntArray1975 = null; + aClass26_1977 = null; + anIntArray1973 = null; + aClass273_1966 = null; + if (i >= -111) method1177((byte) 47); + } + + Component258(GameType class230, int i, CacheStore class45, CacheStore class45_4_) { + try { + this.aClass45_1965 = class45_4_; + aClass45_1971 = class45; + aClass45_1971.getFileCount(0, 34); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("oda.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ',' + (class45_4_ != null ? "{...}" : "null") + ')')); + } + } + + static { + aClass273_1966 = new Component224("", 18); + anIntArray1975 = new int[1]; + } +} diff --git a/client/components/Component261.java b/client/components/Component261.java new file mode 100644 index 000000000..7b491150b --- /dev/null +++ b/client/components/Component261.java @@ -0,0 +1,69 @@ +/* Component261 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component261 +/** + * RENAMED from `Class119_Sub2` (JODE-obfuscated). + * Evidence: subclass of Component125 (hierarchy) + */ extends Component125 implements Interface8 { + static int anInt4826; + private int anInt4827; + static int anInt4828; + static int anInt4829; + static int anInt4830; + static int anInt4831; + static int anInt4832; + + static final short[] method1078(short[] is, int i, int i_0_) { + anInt4829++; + if (i_0_ < 87) method1078(null, 22, -24); + short[] is_1_ = new short[i]; + Component313.arraycopyShorts(is, 0, is_1_, 0, i); + return is_1_; + } + + public final int method33(int i) { + if (i != -23923) return 92; + anInt4830++; + return 0; + } + + public final long method36(byte i) { + if (i <= 76) anInt4827 = 68; + anInt4832++; + return this.aBuffer1792.getAddress(); + } + + static final int method1079(int i, int i_2_, int i_3_, int i_4_) { + anInt4826++; + if (i != 4095) return 14; + i_2_ &= 0x3; + if (i_2_ == 0) return i_3_; + if (i_2_ == 1) return 4095 - i_4_; + if (i_2_ == 2) return 4095 + -i_3_; + return i_4_; + } + + public final int method34(int i) { + anInt4831++; + if (i != -5711) method35(null, -107, -123, -39); + return anInt4827; + } + + public final void method35(byte[] is, int i, int i_5_, int i_6_) { + this.method1076(is, i_6_); + anInt4828++; + anInt4827 = i; + if (i_5_ < 18) anInt4827 = -41; + } + + Component261(GlToolkitSub2 var_ha_Sub2, int i, byte[] is, int i_7_) { + super(var_ha_Sub2, is, i_7_); + try { + anInt4827 = i; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wv.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + (is != null ? "{...}" : "null") + ',' + i_7_ + ')')); + } + } +} diff --git a/client/components/Component262.java b/client/components/Component262.java new file mode 100644 index 000000000..08eabf111 --- /dev/null +++ b/client/components/Component262.java @@ -0,0 +1,65 @@ +/* Component262 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.io.IOException; + +final class Component262 +/** + * RENAMED from `Class116` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt1758; + static boolean shiftClick = true; + static int anInt1760; + /** Applet {@code quiturl} parameter (fallback browser quit target). */ + static String quitUrl; + static Component183 aClass114_1762; + + public static void clearStatics(byte i) { + if (i == 35) { + aClass114_1762 = null; + quitUrl = null; + } + } + + /** + * Load client preferences from the {@code "2"} cache RAF + * (same file written by {@link DisplayModeManagerContainer343#saveClientPreferences}). + */ + static final void loadPreferences(int i) { + if (i != 1) quitUrl = null; + anInt1760++; + RandomAccessFileReader class234 = null; + try { + Task class144 = OggUrlStream.aClass297_8992.openCacheFile((byte) -46, "2", true); + while (class144.status == 0) SpriteAtlasShader.sleep((byte) 63, 1L); + if (class144.status == 1) { + class234 = (RandomAccessFileReader) class144.result; + byte[] is = new byte[(int) class234.length((byte) -46)]; + int i_0_; + for (int i_1_ = 0; is.length > i_1_; i_1_ += i_0_) { + i_0_ = class234.read(is, i_1_, (byte) -12, is.length + -i_1_); + if (i_0_ == -1) throw new IOException("EOF"); + } + Sprite.readPreferences(new Buffer(is), (byte) -40); + } + } catch (Exception exception) { + /* empty */ + } + do { + try { + if (class234 == null) break; + class234.close(false); + } catch (Exception exception) { + break; + } + break; + } while (false); + } + + static { + anInt1758 = 0; + aClass114_1762 = new Component183(50, -1); + } +} diff --git a/client/components/Component263.java b/client/components/Component263.java new file mode 100644 index 000000000..045330b1f --- /dev/null +++ b/client/components/Component263.java @@ -0,0 +1,219 @@ +/* Component263 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaclib.memory.Buffer; +import jaclib.memory.Stream; + +final class Component263 +/** + * RENAMED from `Class97` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private final int anInt1544; + static int anInt1545; + private int anInt1546; + private int anInt1547; + static int anInt1548 = -1; + static int anInt1549; + static int anInt1550 = 0; + private Interface5_Impl2 anInterface5_Impl2_1551; + static int anInt1552; + static int anInt1553; + static int anInt1554; + static int anInt1555; + private Interface18_Impl3 anInterface18_Impl3_1556; + static int anInt1557; + private int anInt1558 = -1; + private final int anInt1559; + private final Component301 aClass330_1560; + private final GlToolkitSub3 aHa_Sub3_1561; + boolean aBoolean1562 = true; + int anInt1563; + + final void method871(byte i) { + anInt1552++; + if (i >= 77) method875(-126, anInterface5_Impl2_1551, this.anInt1563); + } + + static final void method872(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_) { + anInt1554++; + if (i_5_ >= Component27.anInt4960 && Component22.anInt1745 >= i_4_ && Component72.anInt1910 <= i_2_ && PauseTimer.anInt513 >= i_3_) { + if (i_1_ == 1) Component357.method1388(i_2_, i, i_0_ + 107, i_4_, i_5_, i_3_); + else Component84.method849(i_1_, i_2_, i_5_, i_4_, i_3_, 100, i); + } else if (i_1_ != 1) Component255.method535(i_5_, i_3_, i_1_, i_4_, i, i_2_, (byte) -106); + else DummyClass.method3575((byte) 103, i_4_, i, i_3_, i_2_, i_5_); + if (i_0_ != 1) method873(47, 5, null, 1); + } + + static final void method873(int i, int i_6_, GraphicsToolkit var_ha, int i_7_) { + NodeCache.aHa1098 = var_ha; + NodeList.aClass190ArrayArray3335 = new DisplayModeManagerContainer56[i][i_7_]; + if (i_6_ == 21719) { + anInt1549++; + if (Component268.anIntArray1432 != null) HashNodeSub10.aClass299_9571 = GameType.method1636(Component268.anIntArray1432[4], Component268.anIntArray1432[3], Component268.anIntArray1432[0], Component268.anIntArray1432[5], Component268.anIntArray1432[1], -1, Component268.anIntArray1432[2]); + FriendsIgnoreList.aClass190_3547 = new DisplayModeManagerContainer56(); + GlToolkitSub3.method3936(0); + } + } + + private final void method874(int i) { + anInt1553++; + if (this.aBoolean1562) { + this.aBoolean1562 = false; + byte[] is = aClass330_1560.aByteArray4112; + int i_8_ = 0; + int i_9_ = aClass330_1560.anInt4113; + int i_10_ = (aClass330_1560.anInt4113 * anInt1559 + anInt1544); + for (int i_11_ = -128; i_11_ < 0; i_11_++) { + i_8_ = (i_8_ << 8) - i_8_; + for (int i_12_ = -128; i_12_ < 0; i_12_++) { + if (is[i_10_++] != 0) i_8_++; + } + i_10_ += i_9_ - 128; + } + if (anInterface18_Impl3_1556 != null && i_8_ == anInt1558) this.aBoolean1562 = false; + else { + anInt1558 = i_8_; + if (i != -12763) anInt1546 = -8; + int i_13_ = 0; + i_10_ = anInt1544 + anInt1559 * i_9_; + if (aHa_Sub3_1561.method3880(Component342.aClass68_1183, (DefinitionSub38.aClass304_9471), (byte) 122)) { + if (OpenGlShader.aByteArray7394 == null) OpenGlShader.aByteArray7394 = new byte[16384]; + byte[] is_14_ = OpenGlShader.aByteArray7394; + for (int i_15_ = -128; i_15_ < 0; i_15_++) { + for (int i_16_ = -128; i_16_ < 0; i_16_++) { + if (is[i_10_] == 0) { + int i_17_ = 0; + if (is[i_10_ + -1] != 0) i_17_++; + if (is[1 + i_10_] != 0) i_17_++; + if (is[i_10_ + -i_9_] != 0) i_17_++; + if (is[i_9_ + i_10_] != 0) i_17_++; + is_14_[i_13_++] = (byte) (17 * i_17_); + } else is_14_[i_13_++] = (byte) 68; + i_10_++; + } + i_10_ += -128 + aClass330_1560.anInt4113; + } + if (anInterface18_Impl3_1556 == null) { + anInterface18_Impl3_1556 = aHa_Sub3_1561.method3944((OpenGlShader.aByteArray7394), 128, (DefinitionSub38.aClass304_9471), i ^ ~0x31d8, false, 128); + anInterface18_Impl3_1556.method66(false, false, i ^ ~0x5582); + } else anInterface18_Impl3_1556.method70(0, 0, (byte) -45, 128, 128, 128, 0, (OpenGlShader.aByteArray7394), (DefinitionSub38.aClass304_9471)); + } else { + if (DisplayModeManagerContainer172.anIntArray543 == null) DisplayModeManagerContainer172.anIntArray543 = new int[16384]; + int[] is_18_ = DisplayModeManagerContainer172.anIntArray543; + for (int i_19_ = -128; i_19_ < 0; i_19_++) { + for (int i_20_ = -128; i_20_ < 0; i_20_++) { + if (is[i_10_] == 0) { + int i_21_ = 0; + if (is[i_10_ + -1] != 0) i_21_++; + if (is[i_10_ - -1] != 0) i_21_++; + if (is[i_10_ + -i_9_] != 0) i_21_++; + if (is[i_9_ + i_10_] != 0) i_21_++; + is_18_[i_13_++] = i_21_ * 17 << 24; + } else is_18_[i_13_++] = 1140850688; + i_10_++; + } + i_10_ += -128 + aClass330_1560.anInt4113; + } + if (anInterface18_Impl3_1556 == null) { + anInterface18_Impl3_1556 = aHa_Sub3_1561.method3839(128, 128, -15137, false, DisplayModeManagerContainer172.anIntArray543); + anInterface18_Impl3_1556.method66(false, false, i + 38451); + } else anInterface18_Impl3_1556.method68(128, i + 35572, (DisplayModeManagerContainer172.anIntArray543), 0, 0, 128, 0, 128); + } + } + } + } + + final void method875(int i, Interface5_Impl2 interface5_impl2, int i_22_) { + if (i_22_ > 0) { + method874(-12763); + aHa_Sub3_1561.method3850((byte) 119, anInterface18_Impl3_1556); + aHa_Sub3_1561.method3938(VideoAdDisplay.aClass21_3181, i_22_, interface5_impl2, anInt1547, 0, -anInt1547 + (anInt1546 - -1), 47); + } + anInt1545++; + if (i > -47) this.anInt1563 = 75; + } + + static final void method876(int i, int i_23_) { + anInt1557++; + synchronized (DisplayModeManagerContainer310.aClass60_355) { + DisplayModeManagerContainer310.aClass60_355.processSoftEntries(2, i); + } + synchronized (Component387.aClass60_1894) { + Component387.aClass60_1894.processSoftEntries(2, i); + if (i_23_ != 0) method876(51, 108); + } + } + + Component263(GlToolkitSub3 var_ha_Sub3, Component301 class330, BufferCacheSub3 var_s_Sub3, int i, int i_24_, int i_25_, int i_26_, int i_27_) { + try { + aHa_Sub3_1561 = var_ha_Sub3; + anInt1544 = i_26_; + anInt1559 = i_27_; + aClass330_1560 = class330; + int i_28_ = 1 << i_25_; + int i_29_ = 0; + int i_30_ = i << i_25_; + int i_31_ = i_24_ << i_25_; + for (int i_32_ = 0; i_28_ > i_32_; i_32_++) { + int i_33_ = i_30_ + (i_32_ + i_31_) * var_s_Sub3.anInt4587; + for (int i_34_ = 0; i_28_ > i_34_; i_34_++) { + short[] is = var_s_Sub3.aShortArrayArray8299[i_33_++]; + if (is != null) i_29_ += is.length; + } + } + if (i_29_ <= 0) { + this.anInt1563 = 0; + anInterface18_Impl3_1556 = null; + } else { + anInt1546 = -2147483648; + anInt1547 = 2147483647; + anInterface5_Impl2_1551 = aHa_Sub3_1561.method3840(-28633, false); + anInterface5_Impl2_1551.method23(15959, i_29_); + for (int i_35_ = 0; i_35_ < 4; i_35_++) { + Buffer buffer = anInterface5_Impl2_1551.method24(true, false); + if (buffer != null) { + Stream stream = aHa_Sub3_1561.method3893(buffer, 9179); + if (Stream.c()) { + for (int i_41_ = 0; i_41_ < i_28_; i_41_++) { + int i_42_ = (var_s_Sub3.anInt4587 * (i_41_ + i_31_) - -i_30_); + for (int i_43_ = 0; (i_28_ > i_43_); i_43_++) { + short[] is = (var_s_Sub3.aShortArrayArray8299[i_42_++]); + if (is != null) { + for (int i_44_ = 0; (is.length > i_44_); i_44_++) { + int i_45_ = 0xffff & is[i_44_]; + if (anInt1546 < i_45_) anInt1546 = i_45_; + if (i_45_ < anInt1547) anInt1547 = i_45_; + stream.d(i_45_); + } + } + } + } + } else { + for (int i_36_ = 0; i_36_ < i_28_; i_36_++) { + int i_37_ = (var_s_Sub3.anInt4587 * (i_31_ - -i_36_) + i_30_); + for (int i_38_ = 0; (i_38_ < i_28_); i_38_++) { + short[] is = (var_s_Sub3.aShortArrayArray8299[i_37_++]); + if (is != null) { + for (int i_39_ = 0; (i_39_ < is.length); i_39_++) { + int i_40_ = 0xffff & is[i_39_]; + if (anInt1547 > i_40_) anInt1547 = i_40_; + if (i_40_ > anInt1546) anInt1546 = i_40_; + stream.a(i_40_); + } + } + } + } + } + stream.a(); + if (anInterface5_Impl2_1551.method22(-23)) break; + } + } + this.anInt1563 = i_29_ / 3; + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("mc.(" + (var_ha_Sub3 != null ? "{...}" : "null") + ',' + (class330 != null ? "{...}" : "null") + ',' + (var_s_Sub3 != null ? "{...}" : "null") + ',' + i + ',' + i_24_ + ',' + i_25_ + ',' + i_26_ + ',' + i_27_ + ')')); + } + } +} diff --git a/client/components/Component264.java b/client/components/Component264.java new file mode 100644 index 000000000..481b95fe0 --- /dev/null +++ b/client/components/Component264.java @@ -0,0 +1,225 @@ +/* Component264 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaggl.OpenGL; + +final class Component264 +/** + * RENAMED from `Class299_Sub1_Sub2` (JODE-obfuscated). + * Evidence: subclass of Component40 (hierarchy) + */ extends Component40 { + static Buffer aClass348_Sub49_8698; + static int anInt8699; + static int anInt8700; + private final GlFramebufferTexture aClass258_Sub2_8701; + static int anInt8702; + static int anInt8703; + static int anInt8704; + static int anInt8705; + static StringCache aClass351_8706 = new StringCache(79, 3); + private GlToolkitSub2 aHa_Sub2_8707; + + final boolean method2261(GlFramebufferTexture class258_sub2, float f, int i, GlFramebufferTexture class258_sub2_0_) { + try { + anInt8703++; + boolean bool = true; + DisplayModeManagerContainer105 class206 = aHa_Sub2_8707.aClass206_7778; + aHa_Sub2_8707.K(NodederUtil.anIntArray6635); + aHa_Sub2_8707.la(); + aHa_Sub2_8707.method3755(-32); + OpenGL.glMatrixMode(5889); + OpenGL.glLoadIdentity(); + OpenGL.glOrtho(0.0, 1.0, 0.0, 1.0, -1.0, 1.0); + OpenGL.glMatrixMode(5888); + OpenGL.glLoadIdentity(); + OpenGL.glPushAttrib(2048); + OpenGL.glViewport(0, 0, aClass258_Sub2_8701.anInt8538, aClass258_Sub2_8701.anInt8538); + aHa_Sub2_8707.method3807(false, i + -65532); + aHa_Sub2_8707.method3728(false, i + -65411); + aHa_Sub2_8707.method3752(114, false); + aHa_Sub2_8707.method3748(i + -65534, false); + aHa_Sub2_8707.method3757(-2, -91); + aHa_Sub2_8707.method3738(-15039, 1); + aHa_Sub2_8707.method3749(f, 0.0F, 0.0F, (byte) 110, 0.0F); + aHa_Sub2_8707.method3729(34165, (byte) -115, 34165); + aHa_Sub2_8707.method3771((byte) -95, class258_sub2_0_); + aHa_Sub2_8707.method3738(-15039, 0); + aHa_Sub2_8707.method3761(0, 1); + aHa_Sub2_8707.method3771((byte) -90, class258_sub2); + aHa_Sub2_8707.method3773(i ^ ~0xfffe, class206); + for (int i_1_ = 0; i_1_ < 6; i_1_++) { + int i_2_ = 34069 + i_1_; + class206.method1498(0, i + -65591, i_2_, aClass258_Sub2_8701); + class206.method1503(0, (byte) 3); + if (class206.method1507(-116)) { + OpenGL.glBegin(7); + int i_3_ = i_2_; + while_101_: + do { + while_100_: + do { + while_99_: + do { + while_98_: + do { + do { + if (i_3_ == 34069) { + OpenGL.glTexCoord3i(65535, 65534, 65534); + OpenGL.glMultiTexCoord3i(33985, 65535, 65534, 65534); + OpenGL.glVertex2f(0.0F, 0.0F); + OpenGL.glTexCoord3i(65535, 65534, -65534); + OpenGL.glMultiTexCoord3i(33985, 65535, 65534, -65534); + OpenGL.glVertex2f(1.0F, 0.0F); + OpenGL.glTexCoord3i(65535, -65534, -65534); + OpenGL.glMultiTexCoord3i(33985, 65535, -65534, -65534); + OpenGL.glVertex2f(1.0F, 1.0F); + OpenGL.glTexCoord3i(65535, -65534, 65534); + OpenGL.glMultiTexCoord3i(33985, 65535, -65534, 65534); + OpenGL.glVertex2f(0.0F, 1.0F); + break while_101_; + } else if (i_3_ != 34070) { + if (i_3_ != 34071) { + if (i_3_ != 34072) { + if (i_3_ != 34073) { + if (i_3_ != 34074) break while_101_; + } else break while_99_; + break while_100_; + } + } else break; + break while_98_; + } + OpenGL.glTexCoord3i(-65535, 65534, -65534); + OpenGL.glMultiTexCoord3i(33985, -65535, 65534, -65534); + OpenGL.glVertex2f(0.0F, 0.0F); + OpenGL.glTexCoord3i(-65535, 65534, 65534); + OpenGL.glMultiTexCoord3i(33985, -65535, 65534, 65534); + OpenGL.glVertex2f(1.0F, 0.0F); + OpenGL.glTexCoord3i(-65535, -65534, 65534); + OpenGL.glMultiTexCoord3i(33985, -65535, -65534, 65534); + OpenGL.glVertex2f(1.0F, 1.0F); + OpenGL.glTexCoord3i(-65535, -65534, -65534); + OpenGL.glMultiTexCoord3i(33985, -65535, -65534, -65534); + OpenGL.glVertex2f(0.0F, 1.0F); + break while_101_; + } while (false); + OpenGL.glTexCoord3i(-65534, 65535, -65534); + OpenGL.glMultiTexCoord3i(33985, -65534, 65535, -65534); + OpenGL.glVertex2f(0.0F, 0.0F); + OpenGL.glTexCoord3i(65534, 65535, -65534); + OpenGL.glMultiTexCoord3i(33985, 65534, 65535, -65534); + OpenGL.glVertex2f(1.0F, 0.0F); + OpenGL.glTexCoord3i(65534, 65535, 65534); + OpenGL.glMultiTexCoord3i(33985, 65534, 65535, 65534); + OpenGL.glVertex2f(1.0F, 1.0F); + OpenGL.glTexCoord3i(-65534, 65535, 65534); + OpenGL.glMultiTexCoord3i(33985, -65534, 65535, 65534); + OpenGL.glVertex2f(0.0F, 1.0F); + break while_101_; + } while (false); + OpenGL.glTexCoord3i(-65534, -65535, 65534); + OpenGL.glMultiTexCoord3i(33985, -65534, -65535, 65534); + OpenGL.glVertex2f(0.0F, 0.0F); + OpenGL.glTexCoord3i(65534, -65535, 65534); + OpenGL.glMultiTexCoord3i(33985, 65534, -65535, 65534); + OpenGL.glVertex2f(1.0F, 0.0F); + OpenGL.glTexCoord3i(65534, -65535, -65534); + OpenGL.glMultiTexCoord3i(33985, 65534, -65535, -65534); + OpenGL.glVertex2f(1.0F, 1.0F); + OpenGL.glTexCoord3i(-65534, -65535, -65534); + OpenGL.glMultiTexCoord3i(33985, -65534, -65535, -65534); + OpenGL.glVertex2f(0.0F, 1.0F); + break while_101_; + } while (false); + OpenGL.glTexCoord3i(-65534, 65534, 65535); + OpenGL.glMultiTexCoord3i(33985, -65534, 65534, 65535); + OpenGL.glVertex2f(0.0F, 0.0F); + OpenGL.glTexCoord3i(65534, 65534, 65535); + OpenGL.glMultiTexCoord3i(33985, 65534, 65534, 65535); + OpenGL.glVertex2f(1.0F, 0.0F); + OpenGL.glTexCoord3i(65534, -65534, 65535); + OpenGL.glMultiTexCoord3i(33985, 65534, -65534, 65535); + OpenGL.glVertex2f(1.0F, 1.0F); + OpenGL.glTexCoord3i(-65534, -65534, 65535); + OpenGL.glMultiTexCoord3i(33985, -65534, -65534, 65535); + OpenGL.glVertex2f(0.0F, 1.0F); + break while_101_; + } while (false); + OpenGL.glTexCoord3i(65534, 65534, -65535); + OpenGL.glMultiTexCoord3i(33985, 65534, 65534, -65535); + OpenGL.glVertex2f(0.0F, 0.0F); + OpenGL.glTexCoord3i(-65534, 65534, -65535); + OpenGL.glMultiTexCoord3i(33985, -65534, 65534, -65535); + OpenGL.glVertex2f(1.0F, 0.0F); + OpenGL.glTexCoord3i(-65534, -65534, -65535); + OpenGL.glMultiTexCoord3i(33985, -65534, -65534, -65535); + OpenGL.glVertex2f(1.0F, 1.0F); + OpenGL.glTexCoord3i(65534, -65534, -65535); + OpenGL.glMultiTexCoord3i(33985, 65534, -65534, -65535); + OpenGL.glVertex2f(0.0F, 1.0F); + } while (false); + OpenGL.glEnd(); + } else { + bool = false; + break; + } + } + class206.method1500(2983, 0); + aHa_Sub2_8707.method3770(-422613672, class206); + aHa_Sub2_8707.method3738(i + -80573, 1); + if (i != 65534) return true; + aHa_Sub2_8707.method3771((byte) -95, null); + aHa_Sub2_8707.method3729(8448, (byte) 121, 8448); + aHa_Sub2_8707.method3738(-15039, 0); + aHa_Sub2_8707.method3771((byte) -88, null); + OpenGL.glPopAttrib(); + aHa_Sub2_8707.KA(NodederUtil.anIntArray6635[0], NodederUtil.anIntArray6635[1], NodederUtil.anIntArray6635[2], NodederUtil.anIntArray6635[3]); + if (bool && !aHa_Sub2_8707.aBoolean7847) aClass258_Sub2_8701.method1950(69); + return bool; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qda.L(" + (class258_sub2 != null ? "{...}" : "null") + ',' + f + ',' + i + ',' + (class258_sub2_0_ != null ? "{...}" : "null") + ')')); + } + } + + final GlFramebufferTexture method2256(byte i) { + anInt8700++; + if (i != -121) return null; + return aClass258_Sub2_8701; + } + + final int method2262(int i) { + if (i != 65534) aHa_Sub2_8707 = null; + anInt8699++; + return aClass258_Sub2_8701.anInt8538; + } + + static final Component24 method2263(GraphicsToolkit var_ha, int i, int i_4_) { + anInt8705++; + ColorTagNode class348_sub15 = ((ColorTagNode) DisplayModeManagerContainer91.aClass356_389.get(i_4_, -6008)); + if (class348_sub15 != null) { + DisplayModeManagerContainer64 class348_sub23_sub2 = class348_sub15.aClass55_Sub1_6768.method506(false); + class348_sub15.aBoolean6772 = true; + if (class348_sub23_sub2 != null) return class348_sub23_sub2.method2975(var_ha, 0); + } + if (i != 0) aClass351_8706 = null; + return null; + } + + static final void method2264(boolean bool) { + if (bool != false) aClass348_Sub49_8698 = null; + anInt8704++; + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(0, (byte) 105, 15); + class348_sub42_sub15.method3251(-16058); + } + + public static void method2265(int i) { + aClass348_Sub49_8698 = null; + if (i != -10794) aClass351_8706 = null; + aClass351_8706 = null; + } + + Component264(GlToolkitSub2 var_ha_Sub2, int i) { + aHa_Sub2_8707 = var_ha_Sub2; + aClass258_Sub2_8701 = new GlFramebufferTexture(var_ha_Sub2, 6408, i); + } +} diff --git a/client/components/Component265.java b/client/components/Component265.java new file mode 100644 index 000000000..b72b9ac07 --- /dev/null +++ b/client/components/Component265.java @@ -0,0 +1,118 @@ +/* Component265 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component265 +/** + * RENAMED from `Class100` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt1577; + private int anInt1578; + static SeekableFile[] aClass78Array1579 = new SeekableFile[37]; + static int anInt1580; + private final GlToolkitSub2 aHa_Sub2_1581; + private Component178 aClass83_1582; + static int[] anIntArray1583 = new int[14]; + private int anInt1584 = 0; + static LruCache aClass356_1585 = new LruCache(16); + ArbShaderProgram aClass286_Sub1_1586; + static int anInt1587; + private final ShaderProgram[] aClass286Array1588; + static int anInt1589; + static int anInt1590; + static Component150 aClass227_1591 = new Component150(1); + private int anInt1592; + + final void method884(int i, boolean bool, int i_0_, int i_1_, byte i_2_, boolean bool_3_) { + anInt1587++; + bool_3_ &= aHa_Sub2_1581.method3639(); + if (!bool_3_ && (i_0_ == 4 || i_0_ == 8 || i_0_ == 9)) { + if (i_0_ == 4) i_1_ = i; + i_0_ = 2; + } + if (i_0_ != 0 && bool) i_0_ |= ~0x7fffffff; + if (anInt1578 != i_0_) { + if (anInt1578 != 0) aClass286Array1588[0x7fffffff & anInt1578].method2133(-93); + if (i_0_ != 0) { + aClass286Array1588[i_0_ & 0x7fffffff].method2134(bool, false); + aClass286Array1588[0x7fffffff & i_0_].method2139(bool, (byte) -115); + aClass286Array1588[i_0_ & 0x7fffffff].method2136(i, i_1_, (byte) -106); + } + anInt1578 = i_0_; + anInt1584 = i_1_; + anInt1592 = i; + } else if (anInt1578 != 0) { + aClass286Array1588[0x7fffffff & anInt1578].method2139(bool, (byte) -101); + if (i != anInt1592 || anInt1584 != i_1_) { + aClass286Array1588[0x7fffffff & anInt1578].method2136(i, i_1_, (byte) -98); + anInt1592 = i; + anInt1584 = i_1_; + } + } + if (i_2_ <= 9) aClass83_1582 = null; + } + + final boolean method885(int i, byte i_4_, AbstractGlTexture class258) { + anInt1590++; + if (anInt1578 == 0) return false; + if (i_4_ != -124) method889((byte) 99, 7); + aClass286Array1588[0x7fffffff & anInt1578].method2140(class258, (byte) -98, i); + return true; + } + + public static void method886(int i) { + aClass356_1585 = null; + aClass78Array1579 = null; + if (i != 16) aClass78Array1579 = null; + anIntArray1583 = null; + aClass227_1591 = null; + } + + static final void method887(DisplayModeManagerContainer57 class46, int i, int i_5_, int i_6_) { + if (i_6_ == 2147483647) { + anInt1589++; + if (Component156.aClass46_3701 == null && !Component364.aBoolean8335 && (class46 != null && (Exception_Sub1.method141(class46, (byte) -79) != null))) { + Component156.aClass46_3701 = class46; + Component374.aClass46_4130 = Exception_Sub1.method141(class46, (byte) -117); + RenderableObject.anInt6392 = 0; + Component386.anInt2872 = i_5_; + RenderableSub4.anInt6411 = i; + Component189.aBoolean3819 = false; + } + } + } + + static final int method888(byte i, int i_7_, DisplayModeManagerContainer57 class46) { + anInt1580++; + if (i != 57) method886(7); + if (!client.method105(class46).method3301(i_7_, false) && class46.anObjectArray741 == null) return -1; + if (class46.anIntArray706 != null && i_7_ < class46.anIntArray706.length) return class46.anIntArray706[i_7_]; + return -1; + } + + final boolean method889(byte i, int i_8_) { + if (i >= -45) method885(7, (byte) -70, null); + anInt1577++; + return aClass286Array1588[i_8_].method2137(-112); + } + + Component265(GlToolkitSub2 var_ha_Sub2) { + anInt1578 = 0; + anInt1592 = 0; + aHa_Sub2_1581 = var_ha_Sub2; + aClass83_1582 = new Component178(var_ha_Sub2); + aClass286Array1588 = new ShaderProgram[10]; + aClass286Array1588[1] = new ShaderProgramSub9(var_ha_Sub2); + aClass286Array1588[2] = new ParticleShader(var_ha_Sub2, aClass83_1582); + aClass286Array1588[4] = new ShaderProgramSub7(var_ha_Sub2, aClass83_1582); + aClass286Array1588[5] = new SpriteAtlasShader(var_ha_Sub2, aClass83_1582); + aClass286Array1588[6] = new ShaderProgramSub2(var_ha_Sub2); + aClass286Array1588[7] = new CookieManager(var_ha_Sub2); + aClass286Array1588[3] = this.aClass286_Sub1_1586 = new ArbShaderProgram(var_ha_Sub2); + aClass286Array1588[8] = new WaterShaderProgram(var_ha_Sub2, aClass83_1582); + aClass286Array1588[9] = new WaterSurfaceShader(var_ha_Sub2, aClass83_1582); + if (!aClass286Array1588[8].method2137(-33)) aClass286Array1588[8] = aClass286Array1588[4]; + if (!aClass286Array1588[9].method2137(-82)) aClass286Array1588[9] = aClass286Array1588[8]; + } +} diff --git a/client/components/Component266.java b/client/components/Component266.java new file mode 100644 index 000000000..534abb12e --- /dev/null +++ b/client/components/Component266.java @@ -0,0 +1,71 @@ +/* Component266 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component266 +/** + * RENAMED from `Class239_Sub13` (JODE-obfuscated). + * Evidence: subclass of Component339 (hierarchy) + */ extends Component339 { + static int anInt5974; + static int anInt5975; + static int anInt5976; + static int anInt5977; + static int anInt5978; + static int anInt5979; + static int anInt5980 = 0; + static int anInt5981; + + final int method1776(int i) { + if (i != -32350) anInt5980 = 42; + anInt5978++; + return this.anInt3138; + } + + final void method1716(boolean bool) { + if (this.aClass348_Sub51_3136.method3422(674) == WorldNameText.STELLARDAWN) this.anInt3138 = 2; + if (bool == false) { + anInt5974++; + if (this.anInt3138 < 0 || this.anInt3138 > 2) this.anInt3138 = method1710(20014); + } + } + + static final void method1777(int i, DisplayModeManagerContainer58 class318_sub1_sub3_sub3) { + if (i == -3) { + if (class318_sub1_sub3_sub3 instanceof Npc) { + Npc npc = (Npc) class318_sub1_sub3_sub3; + if (npc.definition != null) ParticleShader.addNpcMenuOptions(((Component72.localPlayer.plane) != (npc.plane)), false, npc); + } else if (class318_sub1_sub3_sub3 instanceof Player) { + Player player = ((Player) class318_sub1_sub3_sub3); + PlayerState.method3298((byte) 105, ((player.plane) != (Component72.localPlayer.plane)), player); + } + anInt5981++; + } + } + + final int method1714(int i, int i_0_) { + if (i != 3) return 3; + anInt5979++; + return 1; + } + + Component266(int i, NodeSub51 class348_sub51) { + super(i, class348_sub51); + } + + final void method1712(int i, int i_1_) { + anInt5977++; + this.anInt3138 = i_1_; + int i_2_ = -54 / ((82 - i) / 35); + } + + final int method1710(int i) { + anInt5975++; + if (i != 20014) return 70; + return 1; + } + + Component266(NodeSub51 class348_sub51) { + super(class348_sub51); + } +} diff --git a/client/components/Component267.java b/client/components/Component267.java new file mode 100644 index 000000000..9478ccea6 --- /dev/null +++ b/client/components/Component267.java @@ -0,0 +1,47 @@ +/* Component267 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component267 +/** + * RENAMED from `Class229` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2976; + static int anInt2977; + static CacheStore aClass45_2978; + static DisplayModeManagerContainer259 aClass268_2979; + static int anInt2980; + static Component276 aClass194_2981; + + static final Component41 method1631(boolean bool) { + anInt2980++; + if (bool != false) aClass194_2981 = null; + try { + return new Component18(); + } catch (Throwable throwable) { + try { + return new Component73(); + } catch (Throwable throwable_0_) { + return new Component384(); + } + } + } + + public static void method1632(int i) { + aClass45_2978 = null; + int i_1_ = -20 / ((-87 - i) / 34); + aClass194_2981 = null; + aClass268_2979 = null; + } + + public Component267() { + /* empty */ + } + + static final boolean method1633(boolean bool, int i, int i_2_) { + if (bool != false) method1633(false, 85, -80); + anInt2977++; + return (0x400 & i) != 0; + } +} diff --git a/client/components/Component268.java b/client/components/Component268.java new file mode 100644 index 000000000..913346cf3 --- /dev/null +++ b/client/components/Component268.java @@ -0,0 +1,16 @@ +/* Component268 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component268 +/** + * RENAMED from `Class81` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int[] anIntArray1432; + static int anInt1433; + + public static void method810(boolean bool) { + if (bool == true) anIntArray1432 = null; + } +} diff --git a/client/components/Component269.java b/client/components/Component269.java new file mode 100644 index 000000000..baf37f526 --- /dev/null +++ b/client/components/Component269.java @@ -0,0 +1,140 @@ +/* Component269 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.math.BigInteger; + +abstract class Component269 +/** + * RENAMED from `Class318_Sub1_Sub4` (JODE-obfuscated). + * Evidence: subclass of RenderableObject (hierarchy) + */ extends RenderableObject { + static int anInt8757; + static int anInt8758; + short aShort8759; + static int anInt8760; + static int anInt8761; + static BigInteger aBigInteger8762 = new BigInteger("10001", 16); + static int anInt8763; + static AudioLine aClass279_8764; + static int anInt8765; + + final int method2384(NodeSub1[] class348_sub1s, int i) { + anInt8758++; + int i_0_ = this.x >> Component149.anInt4459; + int i_1_ = this.y >> Component149.anInt4459; + int i_2_ = -103 / ((i - -14) / 61); + int i_3_ = 0; + if (Component256.anInt6111 == i_0_) i_3_++; + else if (Component256.anInt6111 < i_0_) i_3_ += 2; + if (i_1_ == DebugPanicSub2.anInt8502) i_3_ += 3; + else if (i_1_ < DebugPanicSub2.anInt8502) i_3_ += 6; + int i_4_ = RenderableSub9Sub2.anIntArray8797[i_3_]; + if ((this.aShort8759 & i_4_) != 0) return this.method2390(class348_sub1s, i_0_, -2, i_1_); + if (this.aShort8759 == 1 && i_0_ > 0) return this.method2390(class348_sub1s, -1 + i_0_, -2, i_1_); + if (this.aShort8759 == 4 && i_0_ <= StaticElementRenderer.anInt6451) return this.method2390(class348_sub1s, 1 + i_0_, -2, i_1_); + if (this.aShort8759 == 8 && i_1_ > 0) return this.method2390(class348_sub1s, i_0_, -2, -1 + i_1_); + if (this.aShort8759 == 2 && i_1_ <= NodeSub41.anInt7054) return this.method2390(class348_sub1s, i_0_, -2, i_1_ + 1); + if (this.aShort8759 == 16 && i_0_ > 0 && i_1_ <= NodeSub41.anInt7054) return this.method2390(class348_sub1s, -1 + i_0_, -2, i_1_ + 1); + if (this.aShort8759 == 32 && StaticElementRenderer.anInt6451 >= i_0_ && NodeSub41.anInt7054 >= i_1_) return this.method2390(class348_sub1s, i_0_ + 1, -2, i_1_ + 1); + if (this.aShort8759 == 128 && i_0_ > 0 && i_1_ > 0) return this.method2390(class348_sub1s, i_0_ - 1, -2, i_1_ - 1); + if (this.aShort8759 == 64 && i_0_ <= StaticElementRenderer.anInt6451 && i_1_ > 0) return this.method2390(class348_sub1s, 1 + i_0_, -2, -1 + i_1_); + throw new RuntimeException(""); + } + + static final int method2478(int i) { + if (i != 1000) return -103; + anInt8763++; + boolean bool = false; + boolean bool_5_ = false; + boolean bool_6_ = false; + if (OggUrlStream.aClass297_8992.signed && !OggUrlStream.aClass297_8992.useDirectDraw) { + bool = (DefinitionSub20.aClass348_Sub4_9264.anInt6609) >= 512 || (DefinitionSub20.aClass348_Sub4_9264.anInt6609) == 0; + if (ReflectionInvoker.aString3803.startsWith("win")) { + bool_6_ = true; + bool_5_ = true; + } else bool_5_ = true; + } + if (Component85.aBoolean2881) bool = false; + if (Component301.aBoolean4117) bool_5_ = false; + if (NodeSub1.aBoolean6558) bool_6_ = false; + if (!bool && !bool_5_ && !bool_6_) return Component219.method2348(-8454); + int i_7_ = -1; + int i_8_ = -1; + int i_9_ = -1; + if (bool) { + try { + i_7_ = Component329.method1781(2, -126, 1000); + } catch (Exception exception) { + /* empty */ + } + } + do { + if (bool_6_) { + try { + i_9_ = Component329.method1781(3, -70, 1000); + if (Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(i + -33350) == 3) { + Component6 class365 = NodeSub8.toolkit.c(); + long l = (0xffffffffffffL & class365.aLong4471); + int i_10_ = class365.anInt4476; + if (i_10_ == 4318) { + bool_5_ = bool_5_ & (l >= 64425238954L); + break; + } else if (i_10_ != 4098) break; + bool_5_ = bool_5_ & (l >= 60129613779L); + } + } catch (Exception exception) { + /* empty */ + } + } + } while (false); + if (bool_5_) { + try { + i_8_ = Component329.method1781(1, i ^ ~0x3ab, 1000); + } catch (Exception exception) { + /* empty */ + } + } + if (i_7_ == -1 && i_8_ == -1 && i_9_ == -1) return Component219.method2348(i + -9454); + i_9_ *= 1.1F; + i_8_ *= 1.1F; + if (i_7_ > i_9_ && i_8_ < i_7_) return Component297.method454(i_7_, (byte) -116); + if (i_9_ <= i_8_) return Component240.method600((byte) -59, 1, i_8_); + return Component240.method600((byte) -80, 3, i_9_); + } + + final boolean method2382(byte i) { + if (i >= -51) return false; + anInt8760++; + return InputStream_Sub1.method125((this.y >> Component149.anInt4459), (this.x >> Component149.anInt4459), this.aByte6376, this, (byte) 120); + } + + public static void method2479(int i) { + if (i == 19424) { + aBigInteger8762 = null; + aClass279_8764 = null; + } + } + + Component269(int i, int i_11_, int i_12_, int i_13_, int i_14_, int i_15_) { + this.x = i; + this.anInt6382 = i_11_; + this.aByte6376 = (byte) i_14_; + this.y = i_12_; + this.plane = (byte) i_13_; + this.aShort8759 = (short) i_15_; + } + + final boolean method2378(int i) { + anInt8757++; + if (i != 0) method2378(-104); + return (DisplayModeManagerContainer153.aBooleanArrayArray1572[(-Component256.anInt6111 + (this.x >> Component149.anInt4459) + Component197.anInt10084)][(Component197.anInt10084 + -DebugPanicSub2.anInt8502 + (this.y >> Component149.anInt4459))]); + } + + static final void method2480(int i) { + if (i == -1) { + anInt8761++; + NodeSub35.aClass262_6978 = new NodeList(); + } + } +} diff --git a/client/components/Component27.java b/client/components/Component27.java new file mode 100644 index 000000000..813a1fd37 --- /dev/null +++ b/client/components/Component27.java @@ -0,0 +1,70 @@ +/* Component27 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +class Component27 +/** + * RENAMED from `Class369` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ implements Interface12 { + int anInt4959; + static int anInt4960 = 0; + int anInt4961; + static Component184 aClass143_4962; + int anInt4963; + static int anInt4964; + int anInt4965; + int anInt4966; + static int anInt4967; + Component85 aClass221_4968; + static int anInt4969; + int anInt4970; + int anInt4971; + static boolean aBoolean4972 = false; + DisplayModeManagerContainer196 aClass341_4973; + + public static void method3567(int i) { + aClass143_4962 = null; + int i_0_ = 105 % ((-15 - i) / 36); + } + + static final void method3568(GraphicsToolkit var_ha, int i) { + anInt4964++; + Component49.aClass324_4684 = DisplayModeManagerContainer194.method232(var_ha, (byte) -53, true, LoadingState.p11FullGroupId); + AbstractGlTextureSub1.aClass143_8527 = Component137.method1151(-25411, var_ha, LoadingState.p11FullGroupId); + if (i != 4) aClass143_4962 = null; + Applet_Sub1.aClass324_20 = DisplayModeManagerContainer194.method232(var_ha, (byte) -53, true, DisplayModeManagerContainer167.p12FullGroupId); + Component163.aClass143_3179 = Component137.method1151(-25411, var_ha, DisplayModeManagerContainer167.p12FullGroupId); + NodeList.aClass324_3326 = DisplayModeManagerContainer194.method232(var_ha, (byte) -53, true, ReferenceTable.b12FullGroupId); + aClass143_4962 = Component137.method1151(-25411, var_ha, ReferenceTable.b12FullGroupId); + } + + static final void method3569(int i, int i_1_) { + anInt4969++; + int i_2_ = 83 % ((i_1_ - -87) / 37); + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i, (byte) 105, 4); + class348_sub42_sub15.method3251(-16058); + } + + public DisplayModeManagerContainer369 method51(byte i) { + if (i < 116) return null; + anInt4967++; + return null; + } + + Component27(Component85 class221, DisplayModeManagerContainer196 class341, int i, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_) { + try { + this.anInt4961 = i_8_; + this.anInt4971 = i_4_; + this.anInt4965 = i_7_; + this.anInt4966 = i_6_; + this.anInt4959 = i_3_; + this.aClass341_4973 = class341; + this.anInt4970 = i; + this.aClass221_4968 = class221; + this.anInt4963 = i_5_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("fn.(" + (class221 != null ? "{...}" : "null") + ',' + (class341 != null ? "{...}" : "null") + ',' + i + ',' + i_3_ + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ')')); + } + } +} diff --git a/client/components/Component270.java b/client/components/Component270.java new file mode 100644 index 000000000..80d92b741 --- /dev/null +++ b/client/components/Component270.java @@ -0,0 +1,66 @@ +/* Component270 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component270 +/** + * RENAMED from `Class157` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2121; + static int anInt2122; + static DisplayModeManagerContainer204 aClass101_2123; + + static final void method1244(int i, DisplayModeManagerContainer207 class348_sub49_sub2) { + if (i < 10) aClass101_2123 = null; + class348_sub49_sub2.writeInt((byte) 121, NodeSub29.aClass45_6909.getCrc(26)); + anInt2121++; + class348_sub49_sub2.writeInt((byte) 112, DisplayModeManagerContainer51.aClass45_2490.getCrc(-106)); + class348_sub49_sub2.writeInt((byte) 118, Component181.aClass45_1541.getCrc(-109)); + class348_sub49_sub2.writeInt((byte) 120, NodeSub35.aClass45_6980.getCrc(-108)); + class348_sub49_sub2.writeInt((byte) 93, Component30.aClass45_1878.getCrc(-104)); + class348_sub49_sub2.writeInt((byte) 90, SoftwareFallbackShader.aClass45_7382.getCrc(-122)); + class348_sub49_sub2.writeInt((byte) 92, Component54.aClass45_8667.getCrc(9)); + class348_sub49_sub2.writeInt((byte) 90, ShaderSub3.aClass45_5207.getCrc(120)); + class348_sub49_sub2.writeInt((byte) 99, Component158.aClass45_322.getCrc(64)); + class348_sub49_sub2.writeInt((byte) 90, Component14.aClass45_8589.getCrc(-123)); + class348_sub49_sub2.writeInt((byte) 115, Component110.aClass45_233.getCrc(-113)); + class348_sub49_sub2.writeInt((byte) 94, DisplayModeManagerContainer64.aClass45_9033.getCrc(-113)); + class348_sub49_sub2.writeInt((byte) 121, Component22.aClass45_1743.getCrc(-110)); + class348_sub49_sub2.writeInt((byte) 123, Component65.aClass45_1627.getCrc(72)); + class348_sub49_sub2.writeInt((byte) 120, Component323.aClass45_5878.getCrc(37)); + class348_sub49_sub2.writeInt((byte) 115, Component132.aClass45_1815.getCrc(-115)); + class348_sub49_sub2.writeInt((byte) 126, Component97.aClass45_1538.getCrc(104)); + class348_sub49_sub2.writeInt((byte) 93, VideoAdDisplay.aClass45_3183.getCrc(28)); + class348_sub49_sub2.writeInt((byte) 115, Component43.aClass45_4975.getCrc(-96)); + class348_sub49_sub2.writeInt((byte) 102, RadixParser.aClass45_2306.getCrc(98)); + class348_sub49_sub2.writeInt((byte) 97, CacheNodeSub2.aClass45_10480.getCrc(114)); + class348_sub49_sub2.writeInt((byte) 123, SeekableFile.aClass45_1322.getCrc(-104)); + class348_sub49_sub2.writeInt((byte) 97, BrowserUrlOpener.aClass45_8926.getCrc(-96)); + class348_sub49_sub2.writeInt((byte) 111, NodeSub32.aClass45_6950.getCrc(109)); + class348_sub49_sub2.writeInt((byte) 108, Component387.aClass45_1897.getCrc(-106)); + class348_sub49_sub2.writeInt((byte) 102, CommandHandler.aClass45_1434.getCrc(102)); + class348_sub49_sub2.writeInt((byte) 113, NodeSub11.aClass45_4770.getCrc(-122)); + class348_sub49_sub2.writeInt((byte) 86, Component339.aClass45_3146.getCrc(97)); + class348_sub49_sub2.writeInt((byte) 96, WaterShaderSub8.aClass45_7362.getCrc(-6)); + class348_sub49_sub2.writeInt((byte) 96, NodeList.aClass45_3323.getCrc(-122)); + class348_sub49_sub2.writeInt((byte) 107, Component380.aClass45_4984.getCrc(-107)); + class348_sub49_sub2.writeInt((byte) 125, Component257.aClass45_4796.getCrc(-118)); + class348_sub49_sub2.writeInt((byte) 90, Component16.method1327(31)); + class348_sub49_sub2.writeInt((byte) 120, MatrixSub1.method912(0)); + class348_sub49_sub2.writeInt((byte) 87, Component334.aClass45_2015.getCrc(-94)); + } + + static final String method1245(String string, boolean bool) { + if (bool != false) method1244(22, null); + anInt2122++; + String string_0_ = Component25.method1788((byte) 115, DisplayModeManagerContainer259.method2031(-1994, string)); + if (string_0_ == null) string_0_ = ""; + return string_0_; + } + + public static void method1246(int i) { + if (i >= -71) method1244(-50, null); + aClass101_2123 = null; + } +} diff --git a/client/components/Component272.java b/client/components/Component272.java new file mode 100644 index 000000000..8c0070ddf --- /dev/null +++ b/client/components/Component272.java @@ -0,0 +1,166 @@ +/* Component272 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component272 +/** + * RENAMED from `Class239_Sub3` (JODE-obfuscated). + * Evidence: subclass of Component339 (hierarchy) + */ extends Component339 { + static int anInt5858; + static int anInt5859; + static int anInt5860; + static int anInt5861; + static int anInt5862; + static int anInt5863; + static int anInt5864; + static int anInt5865; + static int anInt5866; + static int anInt5867; + static int anInt5868; + static int anInt5869; + static int anInt5870; + static int anInt5871; + + final void method1712(int i, int i_0_) { + this.anInt3138 = i_0_; + anInt5862++; + int i_1_ = -40 / ((i - 82) / 35); + } + + final int method1727(int i) { + if (i != -32350) anInt5871 = 39; + anInt5869++; + return this.anInt3138; + } + + static final void method1728(int i, int i_2_, int i_3_, boolean bool, int i_4_) { + anInt5860++; + if (Component233.method2547(i_3_, (byte) 84)) AbstractShaderSub1.method3534(false, i_2_, i_4_, bool, i, (DefinitionSub33.aClass46ArrayArray9427[i_3_])); + } + + Component272(NodeSub51 class348_sub51) { + super(class348_sub51); + } + + final int method1710(int i) { + if (i != 20014) anInt5871 = -72; + anInt5867++; + return 0; + } + + Component272(int i, NodeSub51 class348_sub51) { + super(i, class348_sub51); + } + + final boolean method1729(int i) { + if (i <= 85) return true; + anInt5861++; + return true; + } + + static final void method1730(int i, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_) { + if (i_10_ != -128) method1730(-6, -95, 101, -81, 56, 14, -29, -19); + anInt5868++; + int i_12_ = -i_9_ + i_5_; + int i_13_ = i_9_ + i_6_; + for (int i_14_ = i_6_; i_14_ < i_13_; i_14_++) + MenuOpener.fillInts(-27, i_7_, DisplayModeManagerContainer167.anIntArrayArray255[i_14_], i_11_, i); + int i_15_ = i_7_ + -i_9_; + int i_16_ = i_9_ + i_11_; + for (int i_17_ = i_5_; i_12_ < i_17_; i_17_--) + MenuOpener.fillInts(i_10_ + 101, i_7_, DisplayModeManagerContainer167.anIntArrayArray255[i_17_], i_11_, i); + for (int i_18_ = i_13_; i_18_ <= i_12_; i_18_++) { + int[] is = DisplayModeManagerContainer167.anIntArrayArray255[i_18_]; + MenuOpener.fillInts(-27, i_16_, is, i_11_, i); + MenuOpener.fillInts(-27, i_15_, is, i_16_, i_8_); + MenuOpener.fillInts(-27, i_7_, is, i_15_, i); + } + } + + static final void method1731(int i) { + anInt5863++; + NodeSub45 class348_sub45 = ((NodeSub45) Component327.aClass262_8744.first(i ^ 0x5)); + boolean bool = (Component156.aClass46_3701 != null || HashNode.anInt7059 > 0); + int i_19_ = class348_sub45.getX((byte) -128); + int i_20_ = class348_sub45.getY(119); + if (bool) Component21.anInt3655 = 1; + if (!bool) ColoredTextBuilder.processMenuAction((byte) 109, Component192.menuTip, i_20_, i_19_); + else Component161.aMenuEntry_1946 = Component192.menuTip; + if (i != 1) method1734(-88, null, (byte) -126, false); + } + + static final boolean method1732(byte i, int i_21_) { + anInt5865++; + int i_22_ = i & 0xff; + if (i_22_ == 0) return false; + return i_21_ < (~i_22_) || i_22_ >= 160 || Component352.cp1252HighChars[i_22_ + -128] != 0; + } + + final void method1716(boolean bool) { + anInt5864++; + if (method1735(bool)) { + if (this.aClass348_Sub51_3136.aClass239_Sub25_7271.method1830((byte) -97) && !DisplayModeManagerContainer346.method1210((byte) -94, this.aClass348_Sub51_3136.aClass239_Sub25_7271.method1829(-32350))) this.anInt3138 = 1; + if (this.aClass348_Sub51_3136.aClass239_Sub8_7254.method1751(-32350) == 1) this.anInt3138 = 1; + } + if (this.anInt3138 == 3) this.anInt3138 = 2; + if (bool != false) method1716(true); + if (this.anInt3138 < 0 || this.anInt3138 > 3) this.anInt3138 = method1710(20014); + } + + static final void method1733(byte i, int i_23_) { + anInt5870++; + if (i != -78) method1732((byte) 80, -38); + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i_23_, (byte) 105, 11); + class348_sub42_sub15.method3251(-16058); + } + + final int method1714(int i, int i_24_) { + anInt5866++; + if (NodeCache.method576(i_24_, 29)) { + if (this.aClass348_Sub51_3136.aClass239_Sub25_7271.method1830((byte) -97) && !DisplayModeManagerContainer346.method1210((byte) -113, this.aClass348_Sub51_3136.aClass239_Sub25_7271.method1829(-32350))) return 3; + if (this.aClass348_Sub51_3136.aClass239_Sub8_7254.method1751(-32350) == 1) return 3; + } + if (i_24_ == i) return 3; + if (NodeCache.method576(i_24_, i ^ 0x56)) return 2; + return 1; + } + + static final Component48 method1734(int i, GraphicsToolkit var_ha, byte i_25_, boolean bool) { + try { + anInt5859++; + if (i == -1) return null; + if (NodeSub1.anIntArray6547 != null) { + for (int i_26_ = 0; i_26_ < NodeSub1.anIntArray6547.length; i_26_++) { + if (NodeSub1.anIntArray6547[i_26_] == i) return HelveticaFont.aClass352Array2636[i_26_]; + } + } + Component48 class352 = (Component48) Component9.aClass60_4139.get(i, -92); + if (class352 != null) { + if (bool && class352.aClass143_4333 == null) { + Component184 class143 = Component98.method1766((byte) -76, i, s.aClass45_4585); + if (class143 == null) return null; + class352.aClass143_4333 = class143; + } + return class352; + } + int i_27_ = -118 / ((-33 - i_25_) / 44); + Component170[] class207s = Component170.method1523(DisplayModeManagerContainer271.aClass45_518, i); + if (class207s == null) return null; + Component184 class143 = Component98.method1766((byte) -39, i, s.aClass45_4585); + if (class143 == null) return null; + if (!bool) class352 = new Component48(var_ha.method3686(class143, class207s, true)); + else class352 = new Component48(var_ha.method3686(class143, class207s, true), class143); + Component9.aClass60_4139.putOne(class352, i, (byte) -109); + return class352; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("jaa.K(" + i + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_25_ + ',' + bool + ')')); + } + } + + final boolean method1735(boolean bool) { + if (bool != false) anInt5871 = -86; + anInt5858++; + return NodeCache.method576(this.anInt3138, 29); + } +} diff --git a/client/components/Component274.java b/client/components/Component274.java new file mode 100644 index 000000000..8ade3e341 --- /dev/null +++ b/client/components/Component274.java @@ -0,0 +1,248 @@ +/* Component274 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component274 +/** + * RENAMED from `Class42` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int occludedWallCount; + static int anInt563; + byte[] aByteArray564; + String aString565; + int anInt566; + int anInt567; + int anInt568; + boolean aBoolean569; + int anInt570 = -2147483648; + static int anInt571; + int[] anIntArray572; + private int anInt573 = -1; + boolean aBoolean574; + int anInt575 = -1; + int anInt576; + String[] aStringArray577; + int anInt578; + static int anInt579; + int anInt580; + int anInt581; + int anInt582; + private int anInt583; + int anInt584; + private int anInt585; + private int anInt586; + private int anInt587; + private LruCache aClass356_588; + static int anInt589; + private int anInt590; + int[] anIntArray591; + private int anInt592; + Component62 aClass153_593; + static int anInt594; + int anInt595; + int anInt596; + String aString597; + private int anInt598; + boolean aBoolean599; + static int anInt600; + int anInt601; + int anInt602; + int anInt603; + int anInt604; + int anInt605; + private int anInt606; + int anInt607; + static int anInt608; + boolean aBoolean609; + static int anInt610; + + final void method372(int i) { + anInt608++; + if (i != -25359) this.anInt578 = -106; + if (this.anIntArray591 != null) { + for (int i_0_ = 0; (this.anIntArray591.length > i_0_); i_0_ += 2) { + if (this.anIntArray591[i_0_] >= this.anInt603) { + if (this.anIntArray591[i_0_] > this.anInt595) this.anInt595 = this.anIntArray591[i_0_]; + } else this.anInt603 = this.anIntArray591[i_0_]; + if (this.anIntArray591[i_0_ + 1] >= this.anInt607) { + if (this.anIntArray591[1 + i_0_] > this.anInt570) this.anInt570 = this.anIntArray591[i_0_ - -1]; + } else this.anInt607 = this.anIntArray591[i_0_ + 1]; + } + } + } + + final boolean method373(Interface17 interface17, int i) { + anInt594++; + int i_1_; + if (anInt606 == -1) { + if (anInt590 == -1) return true; + i_1_ = interface17.method62(anInt590, -65536); + } else i_1_ = interface17.method61(anInt606, (byte) -16); + if (i_1_ < anInt585 || i_1_ > anInt592) return false; + if (i < 26) anInt586 = 11; + boolean bool = false; + int i_2_; + if (anInt583 == -1) { + if (anInt573 != -1) i_2_ = interface17.method62(anInt573, -65536); + else return true; + } else i_2_ = interface17.method61(anInt583, (byte) -16); + return i_2_ >= anInt587 && i_2_ <= anInt586; + } + + final Component24 method374(boolean bool, GraphicsToolkit var_ha, byte i) { + anInt579++; + int i_3_ = bool ? this.anInt605 : this.anInt578; + if (i != 127) return null; + int i_4_ = i_3_ | var_ha.anInt4567 << 29; + Component24 class105 = (Component24) this.aClass153_593.aClass60_2089.get(i_4_, 64); + if (class105 != null) return class105; + if (!this.aClass153_593.aClass45_2087.isSingletonFileReady(false, i_3_)) return null; + Component170 class207 = Component170.method1521((this.aClass153_593.aClass45_2087), i_3_, 0); + if (class207 != null) { + class105 = var_ha.method3691(class207, true); + this.aClass153_593.aClass60_2089.putOne(class105, i_4_, (byte) -111); + } + return class105; + } + + final Component24 method375(GraphicsToolkit var_ha, boolean bool) { + anInt563++; + if (bool != false) method375(null, true); + Component24 class105 = (Component24) (this.aClass153_593.aClass60_2089.get(anInt598 | 0x20000 | var_ha.anInt4567 << 29, -75)); + if (class105 != null) return class105; + this.aClass153_593.aClass45_2087.isSingletonFileReady(bool, anInt598); + Component170 class207 = Component170.method1521((this.aClass153_593.aClass45_2087), anInt598, 0); + if (class207 != null) { + class105 = var_ha.method3691(class207, true); + this.aClass153_593.aClass60_2089.putOne(class105, var_ha.anInt4567 << 29 | (anInt598 | 0x20000), (byte) -121); + } + return class105; + } + + final String method376(String string, int i, byte i_5_) { + anInt589++; + int i_6_ = -100 / ((63 - i_5_) / 58); + if (aClass356_588 == null) return string; + NodeSub50 class348_sub50 = (NodeSub50) aClass356_588.get(i, -6008); + if (class348_sub50 == null) return string; + return class348_sub50.stringValue; + } + + private final void method377(int i, Buffer class348_sub49, int i_7_) { + anInt571++; + if (i != 1) { + if (i == 2) this.anInt605 = class348_sub49.readUnsignedShort(842397944); + else if (i == 3) this.aString597 = class348_sub49.readString((byte) 93); + else if (i != 4) { + if (i == 5) this.anInt567 = class348_sub49.readMedium(-1); + else if (i == 6) this.anInt576 = class348_sub49.readUnsignedByte(255); + else if (i == 7) { + int i_8_ = class348_sub49.readUnsignedByte(255); + if ((0x1 & i_8_) == 0) this.aBoolean574 = false; + if ((i_8_ & 0x2) == 2) this.aBoolean569 = true; + } else if (i == 8) this.aBoolean599 = class348_sub49.readUnsignedByte(255) == 1; + else if (i == 9) { + anInt590 = class348_sub49.readUnsignedShort(842397944); + if (anInt590 == 65535) anInt590 = -1; + anInt606 = class348_sub49.readUnsignedShort(842397944); + if (anInt606 == 65535) anInt606 = -1; + anInt585 = class348_sub49.readInt((byte) -126); + anInt592 = class348_sub49.readInt((byte) -126); + } else if (i >= 10 && i <= 14) this.aStringArray577[-10 + i] = class348_sub49.readString((byte) -45); + else if (i == 15) { + int i_9_ = class348_sub49.readUnsignedByte(255); + this.anIntArray591 = new int[i_9_ * 2]; + for (int i_10_ = 0; i_10_ < i_9_ * 2; i_10_++) + this.anIntArray591[i_10_] = class348_sub49.readShort(13638); + this.anInt582 = class348_sub49.readInt((byte) -126); + int i_11_ = class348_sub49.readUnsignedByte(255); + this.anIntArray572 = new int[i_11_]; + for (int i_12_ = 0; (this.anIntArray572.length > i_12_); i_12_++) + this.anIntArray572[i_12_] = class348_sub49.readInt((byte) -126); + this.aByteArray564 = new byte[i_9_]; + for (int i_13_ = 0; i_9_ > i_13_; i_13_++) + this.aByteArray564[i_13_] = class348_sub49.readByte(-107); + } else if (i != 16) { + if (i == 17) this.aString565 = class348_sub49.readString((byte) 117); + else if (i == 18) anInt598 = class348_sub49.readUnsignedShort(842397944); + else if (i == 19) this.anInt596 = class348_sub49.readUnsignedShort(842397944); + else if (i == 20) { + anInt573 = class348_sub49.readUnsignedShort(842397944); + if (anInt573 == 65535) anInt573 = -1; + anInt583 = class348_sub49.readUnsignedShort(842397944); + if (anInt583 == 65535) anInt583 = -1; + anInt587 = class348_sub49.readInt((byte) -126); + anInt586 = class348_sub49.readInt((byte) -126); + } else if (i != 21) { + if (i == 22) this.anInt602 = class348_sub49.readInt((byte) -126); + else if (i == 23) { + this.anInt584 = class348_sub49.readUnsignedByte(255); + this.anInt575 = class348_sub49.readUnsignedByte(255); + this.anInt601 = class348_sub49.readUnsignedByte(255); + } else if (i == 24) { + this.anInt566 = class348_sub49.readShort(13638); + this.anInt568 = class348_sub49.readShort(13638); + } else if (i == 249) { + int i_14_ = class348_sub49.readUnsignedByte(255); + if (aClass356_588 == null) { + int i_15_ = Component373.nextPowerOfTwo(i_14_, (byte) 108); + aClass356_588 = new LruCache(i_15_); + } + for (int i_16_ = 0; (i_16_ < i_14_); i_16_++) { + boolean bool = (class348_sub49.readUnsignedByte(255) == 1); + int i_17_ = class348_sub49.readMedium(-1); + Node class348; + if (!bool) class348 = (new NodeSub35(class348_sub49.readInt((byte) -126))); + else class348 = (new NodeSub50(class348_sub49.readString((byte) -41))); + aClass356_588.put((byte) 60, i_17_, class348); + } + } + } else this.anInt604 = class348_sub49.readInt((byte) -126); + } else this.aBoolean609 = false; + } else this.anInt580 = class348_sub49.readMedium(-1); + } else this.anInt578 = class348_sub49.readUnsignedShort(842397944); + if (i_7_ > -113) method375(null, true); + } + + final int method378(int i, int i_18_, boolean bool) { + anInt600++; + if (aClass356_588 == null) return i; + if (bool != false) return -1; + NodeSub35 class348_sub35 = (NodeSub35) aClass356_588.get(i_18_, -6008); + if (class348_sub35 == null) return i; + return class348_sub35.intValue; + } + + final void method379(Buffer class348_sub49, int i) { + if (i < 81) anInt590 = 17; + anInt610++; + for (; ; ) { + int i_19_ = class348_sub49.readUnsignedByte(255); + if (i_19_ == 0) break; + method377(i_19_, class348_sub49, -121); + } + } + + public Component274() { + this.aBoolean574 = true; + this.anInt578 = -1; + anInt583 = -1; + this.anInt596 = -1; + this.aBoolean599 = true; + this.anInt567 = -1; + this.anInt576 = 0; + this.aStringArray577 = new String[5]; + anInt598 = -1; + this.anInt595 = -2147483648; + this.anInt584 = -1; + this.anInt603 = 2147483647; + anInt590 = -1; + anInt606 = -1; + this.aBoolean609 = true; + this.aBoolean569 = false; + this.anInt601 = -1; + this.anInt607 = 2147483647; + this.anInt605 = -1; + } +} diff --git a/client/components/Component275.java b/client/components/Component275.java new file mode 100644 index 000000000..76266e7d9 --- /dev/null +++ b/client/components/Component275.java @@ -0,0 +1,137 @@ +/* Component275 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component275 +/** + * RENAMED from `Class205` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2685; + static StringCache aClass351_2686; + /** Per-frame yaw delta applied in follow/orbit camera ticks. */ + static float cameraYawRate = 0.0F; + static int anInt2688; + static int anInt2689; + static int anInt2690; + static StringCache aClass351_2691; + static NodeSub44 aClass348_Sub44_2692; + static Component183 aClass114_2693; + static int[] anIntArray2694; + + static final void method1496(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_) { + Component208.ensureIntArrayCapacity((byte) 118, i_2_); + anInt2685++; + int i_6_ = 0; + int i_7_ = -i_4_ + i_2_; + if (i_7_ < 0) i_7_ = 0; + int i_8_ = i_2_; + int i_9_ = -i_2_; + int i_10_ = i_7_; + int i_11_ = -i_7_; + int i_12_ = -1; + if (i_0_ >= Component72.anInt1910 && i_0_ <= PauseTimer.anInt513) { + int[] is = DisplayModeManagerContainer167.anIntArrayArray255[i_0_]; + int i_13_ = LogicError.method831(Component22.anInt1745, -i_2_ + i_5_, Component27.anInt4960, -104); + int i_14_ = LogicError.method831(Component22.anInt1745, i_5_ - -i_2_, Component27.anInt4960, i_3_ + -94); + int i_15_ = LogicError.method831(Component22.anInt1745, i_5_ - i_7_, Component27.anInt4960, -82); + int i_16_ = LogicError.method831(Component22.anInt1745, i_5_ - -i_7_, Component27.anInt4960, -96); + MenuOpener.fillInts(-27, i_15_, is, i_13_, i); + MenuOpener.fillInts(-27, i_16_, is, i_15_, i_1_); + MenuOpener.fillInts(-27, i_14_, is, i_16_, i); + } + int i_17_ = -1; + while (i_6_ < i_8_) { + i_12_ += 2; + i_17_ += 2; + i_11_ += i_17_; + i_9_ += i_12_; + if (i_11_ >= 0 && i_10_ >= 1) { + i_10_--; + DisplayModeManagerContainer207.anIntArray9757[i_10_] = i_6_; + i_11_ -= i_10_ << 1; + } + i_6_++; + if (i_9_ >= 0) { + i_8_--; + i_9_ -= i_8_ << 1; + int i_18_ = i_0_ - i_8_; + int i_19_ = i_0_ + i_8_; + if (Component72.anInt1910 <= i_19_ && PauseTimer.anInt513 >= i_18_) { + if (i_8_ >= i_7_) { + int i_20_ = LogicError.method831(Component22.anInt1745, i_6_ + i_5_, Component27.anInt4960, i_3_ ^ 0x36); + int i_21_ = LogicError.method831(Component22.anInt1745, i_5_ - i_6_, Component27.anInt4960, 112); + if (i_19_ <= PauseTimer.anInt513) MenuOpener.fillInts(-27, i_20_, (DisplayModeManagerContainer167.anIntArrayArray255[i_19_]), i_21_, i); + if (Component72.anInt1910 <= i_18_) MenuOpener.fillInts(-27, i_20_, (DisplayModeManagerContainer167.anIntArrayArray255[i_18_]), i_21_, i); + } else { + int i_22_ = DisplayModeManagerContainer207.anIntArray9757[i_8_]; + int i_23_ = LogicError.method831(Component22.anInt1745, i_6_ + i_5_, Component27.anInt4960, -123); + int i_24_ = LogicError.method831(Component22.anInt1745, -i_6_ + i_5_, Component27.anInt4960, 110); + int i_25_ = LogicError.method831(Component22.anInt1745, i_22_ + i_5_, Component27.anInt4960, 85); + int i_26_ = LogicError.method831(Component22.anInt1745, i_5_ - i_22_, Component27.anInt4960, 84); + if (PauseTimer.anInt513 >= i_19_) { + int[] is = DisplayModeManagerContainer167.anIntArrayArray255[i_19_]; + MenuOpener.fillInts(-27, i_26_, is, i_24_, i); + MenuOpener.fillInts(-27, i_25_, is, i_26_, i_1_); + MenuOpener.fillInts(-27, i_23_, is, i_25_, i); + } + if (Component72.anInt1910 <= i_18_) { + int[] is = DisplayModeManagerContainer167.anIntArrayArray255[i_18_]; + MenuOpener.fillInts(-27, i_26_, is, i_24_, i); + MenuOpener.fillInts(-27, i_25_, is, i_26_, i_1_); + MenuOpener.fillInts(-27, i_23_, is, i_25_, i); + } + } + } + } + int i_27_ = -i_6_ + i_0_; + int i_28_ = i_0_ + i_6_; + if (Component72.anInt1910 <= i_28_ && i_27_ <= PauseTimer.anInt513) { + int i_29_ = i_8_ + i_5_; + int i_30_ = i_5_ + -i_8_; + if (Component27.anInt4960 <= i_29_ && i_30_ <= Component22.anInt1745) { + i_29_ = LogicError.method831(Component22.anInt1745, i_29_, Component27.anInt4960, 102); + i_30_ = LogicError.method831(Component22.anInt1745, i_30_, Component27.anInt4960, -100); + if (i_6_ >= i_7_) { + if (PauseTimer.anInt513 >= i_28_) MenuOpener.fillInts(-27, i_29_, (DisplayModeManagerContainer167.anIntArrayArray255[i_28_]), i_30_, i); + if (i_27_ >= Component72.anInt1910) MenuOpener.fillInts(-27, i_29_, (DisplayModeManagerContainer167.anIntArrayArray255[i_27_]), i_30_, i); + } else { + int i_31_ = (i_6_ > i_10_ ? DisplayModeManagerContainer207.anIntArray9757[i_6_] : i_10_); + int i_32_ = LogicError.method831(Component22.anInt1745, i_31_ + i_5_, Component27.anInt4960, 71); + int i_33_ = LogicError.method831(Component22.anInt1745, -i_31_ + i_5_, Component27.anInt4960, 65); + if (i_28_ <= PauseTimer.anInt513) { + int[] is = DisplayModeManagerContainer167.anIntArrayArray255[i_28_]; + MenuOpener.fillInts(-27, i_33_, is, i_30_, i); + MenuOpener.fillInts(-27, i_32_, is, i_33_, i_1_); + MenuOpener.fillInts(-27, i_29_, is, i_32_, i); + } + if (Component72.anInt1910 <= i_27_) { + int[] is = DisplayModeManagerContainer167.anIntArrayArray255[i_27_]; + MenuOpener.fillInts(i_3_ + -29, i_33_, is, i_30_, i); + MenuOpener.fillInts(-27, i_32_, is, i_33_, i_1_); + MenuOpener.fillInts(-27, i_29_, is, i_32_, i); + } + } + } + } + } + if (i_3_ != 2) method1497(79); + } + + public static void method1497(int i) { + anIntArray2694 = null; + aClass348_Sub44_2692 = null; + aClass351_2691 = null; + aClass114_2693 = null; + if (i != 16384) method1496(-23, 118, -17, -52, 33, 108, 2); + aClass351_2686 = null; + } + + static { + aClass351_2686 = new StringCache(41, -1); + aClass351_2691 = new StringCache(46, 2); + aClass348_Sub44_2692 = new NodeSub44(0, -1); + anIntArray2694 = new int[4096]; + aClass114_2693 = new Component183(94, -1); + } +} diff --git a/client/components/Component276.java b/client/components/Component276.java new file mode 100644 index 000000000..be3132a4c --- /dev/null +++ b/client/components/Component276.java @@ -0,0 +1,91 @@ +/* Component276 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component276 +/** + * RENAMED from `Class194` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2591; + static int anInt2592; + static int anInt2593; + private NodeCache aClass60_2594 = new NodeCache(64); + static int anInt2595; + static AudioLine aClass279_2596; + private final CacheStore aClass45_2597; + static int anInt2598; + + public static void method1441(byte i) { + aClass279_2596 = null; + if (i != 18) aClass279_2596 = null; + } + + final void method1442(int i, byte i_0_) { + anInt2598++; + synchronized (aClass60_2594) { + if (i_0_ != 1) aClass60_2594 = null; + aClass60_2594.processSoftEntries(2, i); + } + } + + final void method1443(int i) { + anInt2595++; + int i_1_ = 14 % ((-39 - i) / 51); + synchronized (aClass60_2594) { + aClass60_2594.method587(-80); + } + } + + final void method1444(int i, int i_2_) { + int i_3_ = -6 % ((67 - i_2_) / 47); + anInt2591++; + synchronized (aClass60_2594) { + aClass60_2594.clear(0); + aClass60_2594 = new NodeCache(i); + } + } + + final void method1445(int i) { + anInt2592++; + if (i == 64) { + synchronized (aClass60_2594) { + aClass60_2594.clear(0); + } + } + } + + final Component334 method1446(int i, int i_4_) { + anInt2593++; + Component334 class146; + synchronized (aClass60_2594) { + class146 = (Component334) aClass60_2594.get(i, 76); + } + if (class146 != null) return class146; + byte[] is; + synchronized (aClass45_2597) { + is = aClass45_2597.getFile(i_4_ ^ 0x743, BrowserDetector.unpackHighBits(true, i), NodeSub14.method2806(false, i)); + } + class146 = new Component334(); + if (i_4_ != -1) return null; + if (is != null) class146.method1191(i_4_ ^ ~0x800, new Buffer(is)); + synchronized (aClass60_2594) { + aClass60_2594.putOne(class146, i, (byte) -105); + } + return class146; + } + + Component276(GameType class230, int i, CacheStore class45) { + do { + try { + aClass45_2597 = class45; + if (aClass45_2597 == null) break; + int i_5_ = aClass45_2597.getGroupCapacity(-1) + -1; + aClass45_2597.getFileCount(0, i_5_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qs.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } +} diff --git a/client/components/Component277.java b/client/components/Component277.java new file mode 100644 index 000000000..1ce58fd48 --- /dev/null +++ b/client/components/Component277.java @@ -0,0 +1,82 @@ +/* Component277 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component277 +/** + * RENAMED from `Class317` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private int anInt3967; + private int anInt3968; + private final Component202[] aClass80Array3969; + + final NodeSub19Sub1 method2369() { + byte[] is = method2371(); + return new NodeSub19Sub1(22050, is, 22050 * anInt3967 / 1000, 22050 * anInt3968 / 1000); + } + + final int method2370() { + int i = 9999999; + for (int i_0_ = 0; i_0_ < 10; i_0_++) { + if (aClass80Array3969[i_0_] != null && aClass80Array3969[i_0_].anInt1407 / 20 < i) i = aClass80Array3969[i_0_].anInt1407 / 20; + } + if (anInt3967 < anInt3968 && anInt3967 / 20 < i) i = anInt3967 / 20; + if (i == 9999999 || i == 0) return 0; + for (int i_1_ = 0; i_1_ < 10; i_1_++) { + if (aClass80Array3969[i_1_] != null) aClass80Array3969[i_1_].anInt1407 -= i * 20; + } + if (anInt3967 < anInt3968) { + anInt3967 -= i * 20; + anInt3968 -= i * 20; + } + return i; + } + + private final byte[] method2371() { + int i = 0; + for (int i_2_ = 0; i_2_ < 10; i_2_++) { + if (aClass80Array3969[i_2_] != null && (aClass80Array3969[i_2_].anInt1421 + aClass80Array3969[i_2_].anInt1407) > i) i = (aClass80Array3969[i_2_].anInt1421 + aClass80Array3969[i_2_].anInt1407); + } + if (i == 0) return new byte[0]; + int i_3_ = 22050 * i / 1000; + byte[] is = new byte[i_3_]; + for (int i_4_ = 0; i_4_ < 10; i_4_++) { + if (aClass80Array3969[i_4_] != null) { + int i_5_ = (aClass80Array3969[i_4_].anInt1421 * 22050 / 1000); + int i_6_ = (aClass80Array3969[i_4_].anInt1407 * 22050 / 1000); + int[] is_7_ = (aClass80Array3969[i_4_].method809(i_5_, aClass80Array3969[i_4_].anInt1421)); + for (int i_8_ = 0; i_8_ < i_5_; i_8_++) { + int i_9_ = is[i_8_ + i_6_] + (is_7_[i_8_] >> 8); + if ((i_9_ + 128 & ~0xff) != 0) i_9_ = i_9_ >> 31 ^ 0x7f; + is[i_8_ + i_6_] = (byte) i_9_; + } + } + } + return is; + } + + private Component277(Buffer class348_sub49) { + aClass80Array3969 = new Component202[10]; + for (int i = 0; i < 10; i++) { + int i_10_ = class348_sub49.readUnsignedByte(255); + if (i_10_ != 0) { + class348_sub49.offset--; + aClass80Array3969[i] = new Component202(); + aClass80Array3969[i].method807(class348_sub49); + } + } + anInt3967 = class348_sub49.readUnsignedShort(842397944); + anInt3968 = class348_sub49.readUnsignedShort(842397944); + } + + private Component277() { + aClass80Array3969 = new Component202[10]; + } + + static final Component277 method2372(CacheStore class45, int i, int i_11_) { + byte[] is = class45.getFile(-1860, i, i_11_); + if (is == null) return null; + return new Component277(new Buffer(is)); + } +} diff --git a/client/components/Component278.java b/client/components/Component278.java new file mode 100644 index 000000000..2ddd40b74 --- /dev/null +++ b/client/components/Component278.java @@ -0,0 +1,38 @@ +/* Component278 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component278 +/** + * RENAMED from `Class252` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static StringCache aClass351_3237 = new StringCache(80, 7); + int[] anIntArray3238; + int[] anIntArray3239; + static Component183 aClass114_3240 = new Component183(43, 4); + int anInt3241; + static float aFloat3242; + static int anInt3243; + + public static void method1917(int i) { + if (i != 40960) aClass114_3240 = null; + aClass351_3237 = null; + aClass114_3240 = null; + } + + static final int method1918(int i, int i_0_) { + if (i != -3358) return 126; + anInt3243++; + int i_1_ = i_0_ * (i_0_ * i_0_ >> 12) >> 12; + int i_2_ = i_0_ * 6 + -61440; + int i_3_ = 40960 - -(i_2_ * i_0_ >> 12); + return i_3_ * i_1_ >> 12; + } + + Component278(int i) { + this.anInt3241 = i; + this.anIntArray3239 = new int[this.anInt3241]; + this.anIntArray3238 = new int[this.anInt3241]; + } +} diff --git a/client/components/Component279.java b/client/components/Component279.java new file mode 100644 index 000000000..fa0bb795a --- /dev/null +++ b/client/components/Component279.java @@ -0,0 +1,39 @@ +/* Component279 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component279 +/** + * RENAMED from `Class15` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static NodeCache aClass60_225 = new NodeCache(4); + static int anInt226; + static int anInt227; + static int anInt228; + static Component183 aClass114_229 = new Component183(51, 17); + + public static void method255(int i) { + aClass60_225 = null; + if (i != 6725) aClass60_225 = null; + aClass114_229 = null; + } + + static final int method256(int i, byte i_0_) { + anInt228++; + if (i_0_ < 61) countChar(-27, null, 'G'); + return i >>> 7; + } + + /** Count occurrences of {@code c} in {@code string}. */ + static final int countChar(int i, String string, char c) { + anInt227++; + int i_1_ = 0; + if (i != 4) aClass114_229 = null; + int i_2_ = string.length(); + for (int i_3_ = 0; i_2_ > i_3_; i_3_++) { + if (c == string.charAt(i_3_)) i_1_++; + } + return i_1_; + } +} diff --git a/client/components/Component280.java b/client/components/Component280.java new file mode 100644 index 000000000..5c813ec8e --- /dev/null +++ b/client/components/Component280.java @@ -0,0 +1,62 @@ +/* Component280 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component280 +/** + * RENAMED from `Class182` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt2445; + static int anInt2446; + static Interface16[] anInterface16Array2447; + int anInt2448; + static InputHandler aClass346_2449; + static int anInt2450; + int anInt2451; + static int anInt2452; + static int anInt2453; + int anInt2454; + int anInt2455; + int anInt2456; + + static final void method1372(int i) { + RuntimeException_Sub1.anInt4596 = i; + Component205.anInt5969 = 1; + anInt2452++; + long l = 0L; + if (OggStreamReader.aString9043 == null) { + WorldNameText.method254(35, (byte) -101); + return; + } else { + Buffer class348_sub49 = new Buffer(Component122.method878((Component362.method1039((OggStreamReader.aString9043), true)), -125)); + l = class348_sub49.readLong(-456577760); + ObjectDeserializer.userHash = class348_sub49.readLong(-456577760); + } + Component72.method1138(DisplayModeManagerContainer91.method313(l, -100), true, "", (byte) -115); + } + + static final void method1373(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_) { + anInt2450++; + if (Component233.method2547(i, (byte) 84) && i_5_ == -1391) { + if (Component14.aClass46ArrayArray8584[i] == null) client.method107((DefinitionSub33.aClass46ArrayArray9427[i]), -1, i_1_, i_10_, i_2_, i_7_, i_0_, i_8_, i_4_, i_3_, i_6_, i_9_); + else client.method107(Component14.aClass46ArrayArray8584[i], -1, i_1_, i_10_, i_2_, i_7_, i_0_, i_8_, i_4_, i_3_, i_6_, i_9_); + } + } + + static final Component230 method1374(int i, Buffer class348_sub49) { + if (i < 106) aClass346_2449 = null; + anInt2453++; + return new Component230(class348_sub49.readShort(13638), class348_sub49.readShort(13638), class348_sub49.readShort(13638), class348_sub49.readShort(13638), class348_sub49.readMedium(-1), class348_sub49.readUnsignedByte(255)); + } + + public static void method1375(int i) { + if (i != 5616) aClass346_2449 = null; + aClass346_2449 = null; + anInterface16Array2447 = null; + } + + public Component280() { + /* empty */ + } +} diff --git a/client/components/Component281.java b/client/components/Component281.java new file mode 100644 index 000000000..6924de034 --- /dev/null +++ b/client/components/Component281.java @@ -0,0 +1,74 @@ +/* Component281 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component281 +/** + * RENAMED from `Class301` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static StringCache aClass351_3825; + static int anInt3826; + static int anInt3827; + static int anInt3828; + static int anInt3829 = -1; + static int anInt3830; + + static final int method2278(int i, int i_0_, byte i_1_, int i_2_) { + anInt3830++; + int i_3_ = -114 / ((i_1_ - 74) / 45); + int i_4_ = i_2_ / i; + int i_5_ = -1 + i & i_2_; + int i_6_ = i_0_ / i; + int i_7_ = i_0_ & -1 + i; + int i_8_ = Component352.method384(i_4_, -1, i_6_); + int i_9_ = Component352.method384(i_4_ - -1, -1, i_6_); + int i_10_ = Component352.method384(i_4_, -1, 1 + i_6_); + int i_11_ = Component352.method384(i_4_ + 1, -1, i_6_ + 1); + int i_12_ = DisplayModeManagerContainer145.mixCosine(i_9_, (byte) 22, i, i_5_, i_8_); + int i_13_ = DisplayModeManagerContainer145.mixCosine(i_11_, (byte) 22, i, i_5_, i_10_); + return DisplayModeManagerContainer145.mixCosine(i_13_, (byte) 22, i, i_7_, i_12_); + } + + static final int method2279(boolean bool, int i, int i_14_, int i_15_, int i_16_) { + anInt3828++; + int i_17_ = i & 0xf; + if (bool != true) aClass351_3825 = null; + int i_18_ = i_17_ < 8 ? i_16_ : i_15_; + int i_19_ = (i_17_ < 4 ? i_15_ : i_17_ == 12 || i_17_ == 14 ? i_16_ : i_14_); + return (((i_17_ & 0x1) != 0 ? -i_18_ : i_18_) - -((0x2 & i_17_) == 0 ? i_19_ : -i_19_)); + } + + static final void method2280(byte i, int i_20_) { + anInt3826++; + if (Component156.aByteArrayArrayArray3700 == null) Component156.aByteArrayArrayArray3700 = (new byte[4][AbstractShaderSub4.anInt7319] + [ParametricDefinition.anInt9109]); + if (i_20_ != 28587) method2278(35, -47, (byte) 56, -93); + for (int i_21_ = 0; i_21_ < 4; i_21_++) { + for (int i_22_ = 0; AbstractShaderSub4.anInt7319 > i_22_; i_22_++) { + for (int i_23_ = 0; (ParametricDefinition.anInt9109 > i_23_); i_23_++) + Component156.aByteArrayArrayArray3700[i_21_][i_22_][i_23_] = i; + } + } + } + + public static void method2281(int i) { + aClass351_3825 = null; + if (i != 1) method2278(-115, 106, (byte) -74, -75); + } + + static final void method2282(int i) { + anInt3827++; + HashNodeSub3.method3177(i ^ 0x315e, false); + if (i == -12648) { + if (Component331.anInt1720 >= 0 && Component331.anInt1720 != 0) { + SoftwareFallbackShader.method3553(false, (byte) 116, Component331.anInt1720); + Component331.anInt1720 = -1; + } + } + } + + static { + aClass351_3825 = new StringCache(82, 18); + } +} diff --git a/client/components/Component283.java b/client/components/Component283.java new file mode 100644 index 000000000..9b52cb2a2 --- /dev/null +++ b/client/components/Component283.java @@ -0,0 +1,159 @@ +/* Component283 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component283 +/** + * RENAMED from `Class244` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ implements d { + static int anInt4609 = -1; + static int anInt4610; + private final Component319[] aClass12Array4611; + static int anInt4612; + static int anInt4613; + static int anInt4614; + static long aLong4615; + static int anInt4616; + static int anInt4617; + static int anInt4618; + private final CacheStore aClass45_4619; + static int anInt4620; + static int anInt4621; + private final Component17 aClass308_4622 = new Component17(256); + static int[] anIntArray4623 = new int[8]; + private final CacheStore aClass45_4624; + private final int anInt4625; + static float aFloat4626; + + public final int[] method6(int i, int i_0_, float f, int i_1_, boolean bool, int i_2_) { + if (i != -21540) method3(-46, 6); + anInt4617++; + return method1881(i_1_, false).method3183(this, i_2_, i_0_, (aClass12Array4611[i_1_].aBoolean207), f, aClass45_4624, (byte) 11); + } + + public static void method1880(int i) { + if (i >= -103) anInt4610 = -87; + anIntArray4623 = null; + } + + private final DefinitionGroup method1881(int i, boolean bool) { + anInt4620++; + HashNode class348_sub42 = aClass308_4622.method2302(i, (byte) -34); + if (class348_sub42 != null) return (DefinitionGroup) class348_sub42; + byte[] is = aClass45_4619.getSingletonFile((byte) 73, i); + if (is == null) return null; + if (bool != false) method1(-58, 1.9039171F, false, -106, -22, -18); + DefinitionGroup class348_sub42_sub5 = new DefinitionGroup(new Buffer(is)); + aClass308_4622.method2305(i, class348_sub42_sub5, -1); + return class348_sub42_sub5; + } + + public final Component319 method3(int i, int i_3_) { + anInt4621++; + if (i_3_ != -6662) return null; + return aClass12Array4611[i]; + } + + public final int[] method5(boolean bool, int i, float f, int i_4_, int i_5_, int i_6_) { + int i_7_ = 41 / ((i_6_ - -69) / 48); + anInt4614++; + return method1881(i, false).method3185(i_4_, this, 0, aClass12Array4611[i].aBoolean207, f, bool, aClass45_4624, i_5_); + } + + public final boolean method4(int i, int i_8_) { + anInt4616++; + DefinitionGroup class348_sub42_sub5 = method1881(i_8_, false); + if (i != -7953) method4(56, -109); + return class348_sub42_sub5 != null && class348_sub42_sub5.method3184(this, aClass45_4624, -85); + } + + public final float[] method1(int i, float f, boolean bool, int i_9_, int i_10_, int i_11_) { + if (i_9_ != -30824) return null; + anInt4612++; + return method1881(i_11_, false).method3186(i, this, (aClass12Array4611[i_11_].aBoolean207), i_10_, aClass45_4624, -20); + } + + public final int method2(boolean bool) { + anInt4618++; + if (bool != true) aLong4615 = -52L; + return anInt4625; + } + + Component283(CacheStore class45, CacheStore class45_12_, CacheStore class45_13_) { + try { + aClass45_4619 = class45_12_; + aClass45_4624 = class45_13_; + Buffer class348_sub49 = new Buffer(class45.getFile(-1860, 0, 0)); + anInt4625 = class348_sub49.readUnsignedShort(842397944); + aClass12Array4611 = new Component319[anInt4625]; + for (int i = 0; anInt4625 > i; i++) { + if (class348_sub49.readUnsignedByte(255) == 1) aClass12Array4611[i] = new Component319(); + } + for (int i = 0; i < anInt4625; i++) { + if (aClass12Array4611[i] != null) aClass12Array4611[i].aBoolean209 = class348_sub49.readUnsignedByte(255) == 0; + } + for (int i = 0; i < anInt4625; i++) { + if (aClass12Array4611[i] != null) aClass12Array4611[i].aBoolean199 = class348_sub49.readUnsignedByte(255) == 1; + } + for (int i = 0; anInt4625 > i; i++) { + if (aClass12Array4611[i] != null) aClass12Array4611[i].aBoolean204 = class348_sub49.readUnsignedByte(255) == 1; + } + for (int i = 0; i < anInt4625; i++) { + if (aClass12Array4611[i] != null) aClass12Array4611[i].aByte216 = class348_sub49.readByte(-85); + } + for (int i = 0; i < anInt4625; i++) { + if (aClass12Array4611[i] != null) aClass12Array4611[i].aByte201 = class348_sub49.readByte(-113); + } + for (int i = 0; i < anInt4625; i++) { + if (aClass12Array4611[i] != null) aClass12Array4611[i].aByte213 = class348_sub49.readByte(-97); + } + for (int i = 0; i < anInt4625; i++) { + if (aClass12Array4611[i] != null) aClass12Array4611[i].aByte202 = class348_sub49.readByte(-82); + } + for (int i = 0; i < anInt4625; i++) { + if (aClass12Array4611[i] != null) aClass12Array4611[i].aShort208 = (short) class348_sub49.readUnsignedShort(842397944); + } + for (int i = 0; anInt4625 > i; i++) { + if (aClass12Array4611[i] != null) aClass12Array4611[i].aByte198 = class348_sub49.readByte(-86); + } + for (int i = 0; anInt4625 > i; i++) { + if (aClass12Array4611[i] != null) aClass12Array4611[i].aByte211 = class348_sub49.readByte(-104); + } + for (int i = 0; anInt4625 > i; i++) { + if (aClass12Array4611[i] != null) aClass12Array4611[i].aBoolean212 = class348_sub49.readUnsignedByte(255) == 1; + } + for (int i = 0; anInt4625 > i; i++) { + if (aClass12Array4611[i] != null) aClass12Array4611[i].aBoolean207 = class348_sub49.readUnsignedByte(255) == 1; + } + for (int i = 0; i < anInt4625; i++) { + if (aClass12Array4611[i] != null) aClass12Array4611[i].aByte205 = class348_sub49.readByte(-77); + } + for (int i = 0; i < anInt4625; i++) { + if (aClass12Array4611[i] != null) aClass12Array4611[i].aBoolean217 = class348_sub49.readUnsignedByte(255) == 1; + } + for (int i = 0; anInt4625 > i; i++) { + if (aClass12Array4611[i] != null) aClass12Array4611[i].aBoolean215 = class348_sub49.readUnsignedByte(255) == 1; + } + for (int i = 0; anInt4625 > i; i++) { + if (aClass12Array4611[i] != null) aClass12Array4611[i].aBoolean218 = class348_sub49.readUnsignedByte(255) == 1; + } + for (int i = 0; i < anInt4625; i++) { + if (aClass12Array4611[i] != null) aClass12Array4611[i].anInt203 = class348_sub49.readUnsignedByte(255); + } + for (int i = 0; anInt4625 > i; i++) { + if (aClass12Array4611[i] != null) aClass12Array4611[i].anInt206 = class348_sub49.readInt((byte) -126); + } + for (int i = 0; anInt4625 > i; i++) { + if (aClass12Array4611[i] != null) aClass12Array4611[i].anInt200 = class348_sub49.readUnsignedByte(255); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("tda.(" + (class45 != null ? "{...}" : "null") + ',' + (class45_12_ != null ? "{...}" : "null") + ',' + (class45_13_ != null ? "{...}" : "null") + ')')); + } + } + + static { + anInt4610 = 328; + aLong4615 = 0L; + } +} diff --git a/client/components/Component284.java b/client/components/Component284.java new file mode 100644 index 000000000..d87d9561b --- /dev/null +++ b/client/components/Component284.java @@ -0,0 +1,101 @@ +/* Component284 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component284 +/** + * RENAMED from `Class239_Sub29` (JODE-obfuscated). + * Evidence: subclass of Component339 (hierarchy) + */ extends Component339 { + static int anInt6144; + static int anInt6145; + static int anInt6146; + static boolean aBoolean6147 = false; + static int anInt6148; + static int anInt6149; + static int anInt6150; + static int anInt6151; + static int anInt6152; + static int anInt6153; + + final int method1848(int i) { + if (i != -32350) method1714(100, 29); + anInt6145++; + return this.anInt3138; + } + + Component284(NodeSub51 class348_sub51) { + super(class348_sub51); + } + + final int method1710(int i) { + anInt6153++; + if (i != 20014) method1716(true); + return 0; + } + + Component284(int i, NodeSub51 class348_sub51) { + super(i, class348_sub51); + } + + final void method1712(int i, int i_0_) { + int i_1_ = -10 / ((i - 82) / 35); + this.anInt3138 = i_0_; + anInt6148++; + } + + static final boolean method1849(char c, int i) { + anInt6149++; + if (Character.isISOControl(c)) return false; + if (Npc.method2446(c, (byte) 105)) return true; + char[] cs = Component316.aCharArray2488; + for (int i_2_ = 0; cs.length > i_2_; i_2_++) { + int i_3_ = cs[i_2_]; + if (c == i_3_) return true; + } + int i_4_ = -127 / ((i - 44) / 45); + char[] cs_5_ = Component286.aCharArray1903; + for (int i_6_ = 0; cs_5_.length > i_6_; i_6_++) { + int i_7_ = cs_5_[i_6_]; + if (i_7_ == c) return true; + } + return false; + } + + static final int method1850(int i, int i_8_) { + anInt6144++; + int i_9_ = 101 % ((-20 - i_8_) / 37); + return i >>> 8; + } + + final int method1714(int i, int i_10_) { + anInt6146++; + if (i != 3) aBoolean6147 = false; + return 1; + } + + static final void method1851(byte i) { + anInt6152++; + for (int i_11_ = 0; i_11_ < 5; i_11_++) + Component113.aBooleanArray2374[i_11_] = false; + Component135.anInt4424 = Component317.anInt8685; + Component69.anInt3662 = HashNodeSub19.anInt9701; + DisplayModeManagerContainer89.anInt8368 = DisplayModeManagerContainer50.anInt3855; + Component182.anInt9751 = OpenGlShader.clientCycle; + JaclibLoader.anInt167 = ShaderLinker.anInt10163 = -1; + Component29.anInt10047 = WaterSurfaceShader.anInt6246; + int i_12_ = -99 % ((i - 11) / 56); + Component205.anInt5973 = 0; + Component193.anInt3253 = Component298.anInt4638; + OpenGlShader.anInt7403 = 0; + DefinitionSub21.cameraMode = 5; + NodeBaseSub1.anInt9775 = -1; + Component102.anInt4803 = -1; + } + + final void method1716(boolean bool) { + if (this.anInt3138 < 0 || this.anInt3138 > 4) this.anInt3138 = method1710(20014); + anInt6150++; + if (bool != false) anInt6151 = 62; + } +} diff --git a/client/components/Component285.java b/client/components/Component285.java new file mode 100644 index 000000000..e691b0e47 --- /dev/null +++ b/client/components/Component285.java @@ -0,0 +1,87 @@ +/* Component285 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component285 +/** + * RENAMED from `Class54` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private byte aByte966; + int anInt967; + static int anInt968; + int anInt969; + static int anInt970; + static int anInt971; + static int anInt972; + int anInt973; + static String[] aStringArray974; + static int anInt975; + int anInt976; + int anInt977; + + final int method499(int i) { + anInt972++; + if (i != 21110) return -38; + if ((aByte966 & 0x8) != 8) return 0; + return 1; + } + + static final int method500(int i, int i_0_) { + anInt975++; + if (i != 7) return -107; + return i_0_ >>> 8; + } + + public static void method501(int i) { + aStringArray974 = null; + if (i != 1) method501(-15); + } + + final int method502(byte i) { + anInt971++; + int i_1_ = 4 / ((3 - i) / 43); + return aByte966 & 0x7; + } + + public Component285() { + /* empty */ + } + + static final void method503(int i, int i_2_, byte i_3_, int i_4_, int i_5_) { + anInt968++; + int i_6_ = HashNodeSub16Sub2.anInt10463; + while_4_: + do { + do { + if (i_6_ != 0) { + if (i_6_ != 1) { + if (i_6_ == 2) break; + break while_4_; + } + } else return; + NodeSub3.anInt6585 = i; + Component112.anInt3941 = i_2_; + Component339.anInt3142 = i_5_; + HashNodeSub16Sub2.anInt10463 = 2; + Component112.anInt3939 = i_4_; + return; + } while (false); + if (Component112.anInt3939 < i_4_) Component112.anInt3939 = i_4_; + if (Component112.anInt3941 > i_2_) Component112.anInt3941 = i_2_; + if (Component339.anInt3142 > i_5_) Component339.anInt3142 = i_5_; + if (i > NodeSub3.anInt6585) NodeSub3.anInt6585 = i; + return; + } while (false); + if (i_3_ != -74) method501(46); + } + + Component285(Buffer class348_sub49) { + aByte966 = class348_sub49.readByte(-113); + this.anInt969 = class348_sub49.readUnsignedShort(842397944); + this.anInt976 = class348_sub49.readInt((byte) -126); + this.anInt967 = class348_sub49.readInt((byte) -126); + this.anInt977 = class348_sub49.readInt((byte) -126); + this.anInt973 = class348_sub49.readInt((byte) -126); + } +} diff --git a/client/components/Component286.java b/client/components/Component286.java new file mode 100644 index 000000000..f40c86ecf --- /dev/null +++ b/client/components/Component286.java @@ -0,0 +1,27 @@ +/* Component286 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component286 +/** + * RENAMED from `Class131` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static Component183 aClass114_1901 = new Component183(38, -1); + static int anInt1902; + static char[] aCharArray1903 = {'[', ']', '#'}; + static StringCache aClass351_1904; + + public static void method1136(byte i) { + aCharArray1903 = null; + if (i == -98) { + aClass114_1901 = null; + aClass351_1904 = null; + } + } + + static { + anInt1902 = 0; + aClass351_1904 = new StringCache(61, 11); + } +} diff --git a/client/components/Component287.java b/client/components/Component287.java new file mode 100644 index 000000000..4cc088972 --- /dev/null +++ b/client/components/Component287.java @@ -0,0 +1,60 @@ +/* Component287 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component287 +/** + * RENAMED from `Class239_Sub22` (JODE-obfuscated). + * Evidence: subclass of Component339 (hierarchy) + */ extends Component339 { + static int anInt6070; + static int anInt6071; + static int anInt6072; + static int anInt6073; + static int anInt6074; + static Component183 aClass114_6075 = new Component183(89, 0); + static int anInt6076; + + final int method1710(int i) { + anInt6072++; + if (i != 20014) return 63; + return 1; + } + + final void method1716(boolean bool) { + if (this.anInt3138 != 1 && this.anInt3138 != 0) this.anInt3138 = method1710(20014); + anInt6070++; + if (bool != false) anInt6076 = 59; + } + + final void method1712(int i, int i_0_) { + anInt6074++; + this.anInt3138 = i_0_; + int i_1_ = 126 / ((82 - i) / 35); + } + + Component287(NodeSub51 class348_sub51) { + super(class348_sub51); + } + + final int method1815(int i) { + if (i != -32350) method1816(84); + anInt6071++; + return this.anInt3138; + } + + Component287(int i, NodeSub51 class348_sub51) { + super(class348_sub51); + } + + public static void method1816(int i) { + aClass114_6075 = null; + if (i != 1) aClass114_6075 = null; + } + + final int method1714(int i, int i_2_) { + anInt6073++; + if (i != 3) anInt6076 = -121; + return 1; + } +} diff --git a/client/components/Component289.java b/client/components/Component289.java new file mode 100644 index 000000000..a10e24a74 --- /dev/null +++ b/client/components/Component289.java @@ -0,0 +1,232 @@ +/* Component289 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component289 +/** + * RENAMED from `Class318_Sub1_Sub5_Sub1` (JODE-obfuscated). + * Evidence: subclass of Component203 (hierarchy) + */ extends Component203 implements Interface10 { + private final byte aByte10118; + static int anInt10119; + static double aDouble10120; + static int anInt10121; + static int anInt10122; + static int anInt10123; + private DisplayModeManagerContainer370 aClass64_10124; + static NodeList aClass262_10125 = new NodeList(); + static int anInt10126; + private ComponentDownloader aClass30_10127; + private r aR10128; + private final short aShort10129; + private boolean aBoolean10130; + static int anInt10131; + static int anInt10132; + static int anInt10133; + static StringCache aClass351_10134 = new StringCache(62, 3); + static int anInt10135; + static int anInt10136; + private boolean aBoolean10137; + private boolean aBoolean10138; + static int anInt10139; + static int anInt10140; + static int anInt10141; + static int anInt10142; + static int anInt10143; + static int anInt10144; + private byte aByte10145; + static int anInt10146; + static int anInt10147; + + private final DisplayModeManagerContainer370 method2488(int i, int i_0_, GraphicsToolkit var_ha) { + if (i_0_ != 0) return null; + anInt10126++; + if (aClass64_10124 != null && var_ha.method3667(aClass64_10124.ua(), i) == 0) return aClass64_10124; + Component245 class2 = method2491((byte) -51, false, i, var_ha); + if (class2 == null) return null; + return class2.aClass64_119; + } + + static final int method2489(byte i) { + anInt10135++; + if (Component364.aBoolean8335) return 6; + if (Component192.menuTip == null) return 0; + if (i >= -11) return -42; + int i_1_ = (Component192.menuTip.opcode); + if (Component66.method1796(80, i_1_)) return 1; + if (Component3.method1197(-12081, i_1_)) return 2; + if (Component71.method1813(8806, i_1_)) return 3; + if (WaterShaderSub8.method3549(i_1_, (byte) 126)) return 4; + return 5; + } + + final RenderableSub4 method2386(int i, GraphicsToolkit var_ha) { + anInt10122++; + if (aClass64_10124 == null) return null; + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + class101.method894((this.x - -this.aShort8781), this.anInt6382, (this.y - -this.aShort8769)); + RenderableSub4 class318_sub4 = OutputStream_Sub2.method136(i, aBoolean10130, false); + if (DisplayModeManagerContainer50.aBoolean3870) aClass64_10124.method608(class101, (class318_sub4.aClass318_Sub3Array6414[0]), Component72.anInt1906, 0); + else aClass64_10124.method615(class101, (class318_sub4.aClass318_Sub3Array6414[0]), 0); + return class318_sub4; + } + + public final void method40(int i) { + if (i != -12031) aByte10145 = (byte) -104; + anInt10147++; + if (aClass64_10124 != null) aClass64_10124.method612(); + } + + final boolean method2377(byte i) { + if (i != 122) aBoolean10137 = false; + anInt10131++; + if (aClass64_10124 != null) return aClass64_10124.F(); + return false; + } + + public final int method42(int i) { + anInt10143++; + if (i >= -62) method39(-120); + return 0xffff & aShort10129; + } + + public static void method2490(int i) { + aClass351_10134 = null; + if (i != 4) method2490(-26); + aClass262_10125 = null; + } + + final int method2379(int i) { + anInt10123++; + if (i != -25675) aClass64_10124 = null; + if (aClass64_10124 != null) return aClass64_10124.ma(); + return 0; + } + + final boolean method2391(GraphicsToolkit var_ha, int i, int i_2_, int i_3_) { + anInt10119++; + DisplayModeManagerContainer370 class64 = method2488(131072, i_3_, var_ha); + if (class64 != null) { + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + class101.method894(this.x, this.anInt6382, this.y); + if (DisplayModeManagerContainer50.aBoolean3870) return class64.method623(i_2_, i, class101, false, 0, Component72.anInt1906); + return class64.method628(i_2_, i, class101, false, 0); + } + return false; + } + + final boolean method2376(int i) { + anInt10136++; + if (i > -12) return false; + if (aClass64_10124 != null) { + return !aClass64_10124.r(); + } + return true; + } + + public final int method39(int i) { + anInt10141++; + int i_4_ = -57 % ((-91 - i) / 35); + return aByte10145; + } + + public final void method43(GraphicsToolkit var_ha, int i) { + if (i != -14218) aClass30_10127 = null; + anInt10144++; + Object object = null; + r var_r; + if (aR10128 != null || !aBoolean10137) { + var_r = aR10128; + aR10128 = null; + } else { + Component245 class2 = method2491((byte) -51, true, 262144, var_ha); + var_r = class2 == null ? null : class2.aR118; + } + if (var_r != null) RequestProcessor.method1301(var_r, this.aByte6376, this.x, this.y, null); + } + + final void method2387(GraphicsToolkit var_ha, int i) { + if (i < -125) anInt10133++; + } + + public final void method44(int i, GraphicsToolkit var_ha) { + anInt10121++; + Object object = null; + r var_r; + if (aR10128 == null && aBoolean10137) { + Component245 class2 = method2491((byte) -51, true, 262144, var_ha); + var_r = class2 == null ? null : class2.aR118; + } else { + var_r = aR10128; + aR10128 = null; + } + if (var_r != null) Component387.method1130(var_r, this.aByte6376, this.x, this.y, null); + if (i != 836) method2391(null, -123, 0, -64); + } + + final ComponentDownloader method2381(GraphicsToolkit var_ha, int i) { + if (i != 7) method2381(null, -71); + if (aClass30_10127 == null) aClass30_10127 = (OggUrlStream.method2967(this.x, method2488(0, 0, var_ha), this.y, this.anInt6382, 2)); + anInt10140++; + return aClass30_10127; + } + + private final Component245 method2491(byte i, boolean bool, int i_5_, GraphicsToolkit var_ha) { + if (i != -51) aClass262_10125 = null; + anInt10142++; + Component44 class51 = GradientPreset.aClass263_9195.method2005(0, 0xffff & aShort10129); + s var_s; + s var_s_6_; + if (aBoolean10138) { + var_s = Component9.aSArray4142[this.aByte6376]; + var_s_6_ = NodeSub1Sub1.aSArray8801[0]; + } else { + var_s = (NodeSub1Sub1.aSArray8801[this.aByte6376]); + if (this.aByte6376 < 3) var_s_6_ = (NodeSub1Sub1.aSArray8801[this.aByte6376 - -1]); + else var_s_6_ = null; + } + return class51.method476(var_ha, var_s_6_, aByte10145, i_5_, this.x, bool, var_s, this.anInt6382, this.y, aByte10118, 128); + } + + final int method2394(boolean bool) { + if (bool != true) aBoolean10138 = false; + anInt10139++; + if (aClass64_10124 != null) return aClass64_10124.fa(); + return 0; + } + + Component289(GraphicsToolkit var_ha, Component44 class51, int i, int i_7_, int i_8_, int i_9_, int i_10_, boolean bool, int i_11_, int i_12_, int i_13_, int i_14_) { + super(i_8_, i_9_, i_10_, i, i_7_, i_11_, i_12_); + do { + try { + aBoolean10130 = class51.anInt874 != 0 && !bool; + aByte10145 = (byte) i_13_; + aShort10129 = (short) class51.anInt941; + this.y = i_10_; + aBoolean10138 = bool; + this.x = i_8_; + aByte10118 = (byte) i_14_; + aBoolean10137 = (var_ha.method3682() && class51.aBoolean894 && !aBoolean10138 && Component192.aClass348_Sub51_3959.aClass239_Sub7_7238.method1748(-32350) != 0); + Component245 class2 = method2491((byte) -51, aBoolean10137, 2048, var_ha); + if (class2 == null) break; + aClass64_10124 = class2.aClass64_119; + aR10128 = class2.aR118; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("co.(" + (var_ha != null ? "{...}" : "null") + ',' + (class51 != null ? "{...}" : "null") + ',' + i + ',' + i_7_ + ',' + i_8_ + ',' + i_9_ + ',' + i_10_ + ',' + bool + ',' + i_11_ + ',' + i_12_ + ',' + i_13_ + ',' + i_14_ + ')')); + } + break; + } while (false); + } + + public final int method41(int i) { + if (i != -32228) aBoolean10130 = true; + anInt10146++; + return aByte10118; + } + + public final boolean method38(int i) { + anInt10132++; + if (i != -18443) aClass30_10127 = null; + return aBoolean10137; + } +} diff --git a/client/components/Component29.java b/client/components/Component29.java new file mode 100644 index 000000000..d8461c0bf --- /dev/null +++ b/client/components/Component29.java @@ -0,0 +1,181 @@ +/* Component29 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component29 +/** + * RENAMED from `Class318_Sub1_Sub3_Sub2` (JODE-obfuscated). + * Evidence: subclass of Component327 (hierarchy) + */ extends Component327 implements Interface10 { + static int anInt10038; + static int anInt10039; + static int anInt10040; + static int anInt10041; + static int anInt10042; + static int anInt10043; + static int anInt10044; + Component366 aClass235_10045; + static boolean aBoolean10046 = false; + static int anInt10047; + static int anInt10048; + static int anInt10049; + static int anInt10050; + private ComponentDownloader aClass30_10051; + static int anInt10052; + static int anInt10053; + static int anInt10054; + private boolean aBoolean10055 = false; + private final boolean aBoolean10056; + static int anInt10057; + static int anInt10058; + static int anInt10059; + static int anInt10060; + static int anInt10061; + + final boolean method2376(int i) { + anInt10041++; + if (i > -12) return false; + return false; + } + + Component29(GraphicsToolkit var_ha, Component44 class51, int i, int i_0_, int i_1_, int i_2_, int i_3_, boolean bool, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_) { + super(i, i_0_, i_1_, i_2_, i_3_, i_4_, i_5_, i_6_, i_7_, class51.anInt895 == 1, Component7.method1606(i_9_, -27939, i_8_)); + try { + this.aClass235_10045 = new Component366(var_ha, class51, i_8_, i_9_, this.plane, i_0_, this, bool, i_10_); + aBoolean10056 = class51.anInt874 != 0 && !bool; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("fea.(" + (var_ha != null ? "{...}" : "null") + ',' + (class51 != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + i_1_ + ',' + i_2_ + ',' + i_3_ + ',' + bool + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ',' + i_9_ + ',' + i_10_ + ')')); + } + } + + final int method2379(int i) { + if (i != -25675) return -125; + anInt10061++; + return this.aClass235_10045.method1664(i ^ 0x6462); + } + + final boolean method2388(int i) { + anInt10050++; + if (i > -65) return false; + return false; + } + + public final void method40(int i) { + anInt10048++; + if (i != -12031) this.aClass235_10045 = null; + } + + final boolean method2391(GraphicsToolkit var_ha, int i, int i_11_, int i_12_) { + anInt10040++; + DisplayModeManagerContainer370 class64 = this.aClass235_10045.method1668(false, false, i_12_ + -127, 131072, var_ha); + if (class64 == null) return false; + if (i_12_ != 0) return false; + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + class101.method894(this.x, this.anInt6382, this.y); + if (!DisplayModeManagerContainer50.aBoolean3870) return class64.method628(i_11_, i, class101, false, 0); + return class64.method623(i_11_, i, class101, false, 0, Component72.anInt1906); + } + + public final int method41(int i) { + if (i != -32228) aClass30_10051 = null; + anInt10044++; + return (this.aClass235_10045.anInt3052); + } + + final ComponentDownloader method2381(GraphicsToolkit var_ha, int i) { + anInt10053++; + if (i != 7) return null; + return aClass30_10051; + } + + final boolean method2377(byte i) { + anInt10052++; + if (i != 122) method41(-49); + return aBoolean10055; + } + + public final void method43(GraphicsToolkit var_ha, int i) { + anInt10049++; + if (i != -14218) aClass30_10051 = null; + this.aClass235_10045.method1674(-1, var_ha); + } + + final RenderableSub4 method2386(int i, GraphicsToolkit var_ha) { + anInt10057++; + DisplayModeManagerContainer370 class64 = this.aClass235_10045.method1668(false, true, -127, 2048, var_ha); + if (class64 == null) return null; + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + class101.method894(this.x, this.anInt6382, this.y); + RenderableSub4 class318_sub4 = OutputStream_Sub2.method136(i, aBoolean10056, false); + this.aClass235_10045.method1670(this.aShort8751, class101, this.aShort8747, var_ha, this.aShort8743, class64, true, (byte) -73, this.aShort8750); + if (!DisplayModeManagerContainer50.aBoolean3870) class64.method615(class101, (class318_sub4.aClass318_Sub3Array6414[0]), 0); + else class64.method608(class101, (class318_sub4.aClass318_Sub3Array6414[0]), Component72.anInt1906, 0); + if ((this.aClass235_10045.aClass318_Sub10_3081) != null) { + Component122 class98 = this.aClass235_10045.aClass318_Sub10_3081.method2525(); + if (DisplayModeManagerContainer50.aBoolean3870) var_ha.method3685(class98, Component72.anInt1906); + else var_ha.method3684(class98); + } + aBoolean10055 = class64.F() || (this.aClass235_10045.aClass318_Sub10_3081) != null; + if (aClass30_10051 != null) ItemDefinitionProvider.method1935(this.y, this.anInt6382, aClass30_10051, class64, false, this.x); + else aClass30_10051 = (OggUrlStream.method2967(this.x, class64, this.y, this.anInt6382, 2)); + return class318_sub4; + } + + public final int method39(int i) { + anInt10058++; + int i_13_ = -40 / ((i - -91) / 35); + return (this.aClass235_10045.anInt3079); + } + + final void method2392(boolean bool) { + if (bool == true) { + anInt10060++; + throw new IllegalStateException(); + } + } + + public final int method42(int i) { + anInt10042++; + if (i >= -62) method2377((byte) 97); + return (this.aClass235_10045.anInt3063); + } + + public final void method44(int i, GraphicsToolkit var_ha) { + if (i != 836) method44(-65, null); + anInt10059++; + this.aClass235_10045.method1667((byte) 116, var_ha); + } + + final void method2380(GraphicsToolkit var_ha, int i, boolean bool, RenderableObject class318_sub1, int i_14_, byte i_15_, int i_16_) { + try { + anInt10054++; + if (i_15_ >= -106) method44(97, null); + throw new IllegalStateException(); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("fea.N(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class318_sub1 != null ? "{...}" : "null") + ',' + i_14_ + ',' + i_15_ + ',' + i_16_ + ')')); + } + } + + public final boolean method38(int i) { + if (i != -18443) return true; + anInt10043++; + return this.aClass235_10045.method1665(2); + } + + final void method2387(GraphicsToolkit var_ha, int i) { + anInt10039++; + DisplayModeManagerContainer370 class64 = this.aClass235_10045.method1668(true, true, -127, 262144, var_ha); + if (class64 != null) { + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + class101.method894(this.x, this.anInt6382, this.y); + this.aClass235_10045.method1670(this.aShort8751, class101, this.aShort8747, var_ha, this.aShort8743, class64, false, (byte) -73, this.aShort8750); + } + if (i >= -125) method2380(null, -30, false, null, 74, (byte) -52, 38); + } + + final int method2394(boolean bool) { + if (bool != true) return 68; + anInt10038++; + return this.aClass235_10045.method1663(80); + } +} diff --git a/client/components/Component290.java b/client/components/Component290.java new file mode 100644 index 000000000..1d330362b --- /dev/null +++ b/client/components/Component290.java @@ -0,0 +1,137 @@ +/* Component290 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.io.File; + +final class Component290 +/** + * RENAMED from `Class166` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2178; + static int anInt2179; + CacheStore aClass45_2180; + static int anInt2181; + static int anInt2182; + static Component183 aClass114_2183 = new Component183(0, -1); + static int anInt2184; + private final NodeCache aClass60_2185 = new NodeCache(64); + static int anInt2186; + static NodeList aClass262_2187 = new NodeList(); + private final CacheStore aClass45_2188; + static int anInt2189; + NodeCache aClass60_2190 = new NodeCache(2); + + final void method1283(int i) { + synchronized (aClass60_2185) { + aClass60_2185.method587(-76); + } + anInt2178++; + synchronized (this.aClass60_2190) { + this.aClass60_2190.method587(-110); + } + if (i != 1) method1286(null, -124, null); + } + + public static void method1284(int i) { + aClass114_2183 = null; + if (i == -21165) aClass262_2187 = null; + } + + final void method1285(int i, int i_0_) { + anInt2189++; + synchronized (aClass60_2185) { + aClass60_2185.processSoftEntries(2, i); + } + synchronized (this.aClass60_2190) { + if (i_0_ != 8) this.aClass45_2180 = null; + this.aClass60_2190.processSoftEntries(i_0_ + -6, i); + } + } + + static final void method1286(File file, int i, String string) { + do { + try { + anInt2181++; + Component300.aHashtable3548.put(string, file); + if (i == 64) break; + aClass114_2183 = null; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("pg.F(" + (file != null ? "{...}" : "null") + ',' + i + ',' + (string != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + final Component303 method1287(byte i, int i_1_) { + anInt2182++; + Component303 class222; + synchronized (aClass60_2185) { + class222 = (Component303) aClass60_2185.get(i_1_, i ^ ~0x1d); + } + if (class222 != null) return class222; + if (i != -104) this.aClass60_2190 = null; + byte[] is; + synchronized (aClass45_2188) { + is = aClass45_2188.getFile(-1860, 33, i_1_); + } + class222 = new Component303(); + class222.aClass166_2886 = this; + if (is != null) class222.method1611(new Buffer(is), false); + synchronized (aClass60_2185) { + aClass60_2185.putOne(class222, i_1_, (byte) -116); + } + return class222; + } + + static final void method1288(int i, int i_2_) { + anInt2186++; + for (Node class348 = Component127.aClass356_2959.first(0); class348 != null; class348 = Component127.aClass356_2959.next(0)) { + if ((class348.key >> 48 & 0xffffL) == (long) i_2_) class348.unlink((byte) 119); + } + } + + static final void method1289(int i, int i_3_, int i_4_, int i_5_, int i_6_) { + anInt2179++; + int i_7_ = AssetCacheLoader.anInt385; + if (i_5_ != 8) method1284(-59); + int i_8_ = ToolkitFactory.anInt1534; + if (Component210.gameCanvasAttached) { + i_7_ += BufferCacheSub3.method4008((byte) -126); + i_8_ += Component110.method260(false); + } + if (Component20.anInt6048 == 1) { + Component24 class105 = (DefinitionSub37.aClass105Array9467[Node.anInt4292 / 100]); + class105.method974(i_7_ - 8, i_8_ + -8); + Component103.method2663(-5590, -8 + i_7_, -8 + (i_7_ - -class105.method966()), -8 + i_8_, class105.method980() + -8 + i_8_); + } + if (Component20.anInt6048 == 2) { + Component24 class105 = (DefinitionSub37.aClass105Array9467[Node.anInt4292 / 100 + 4]); + class105.method974(i_7_ + -8, -8 + i_8_); + Component103.method2663(-5590, i_7_ - 8, class105.method966() + i_7_ + -8, -8 + i_8_, class105.method980() + -8 + i_8_); + } + Component156.method2192((byte) 80); + } + + final void method1290(int i) { + anInt2184++; + synchronized (aClass60_2185) { + aClass60_2185.clear(0); + } + synchronized (this.aClass60_2190) { + this.aClass60_2190.clear(0); + if (i != -8) aClass114_2183 = null; + } + } + + Component290(GameType class230, int i, CacheStore class45, CacheStore class45_9_) { + try { + aClass45_2188 = class45; + this.aClass45_2180 = class45_9_; + aClass45_2188.getFileCount(0, 33); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("pg.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ',' + (class45_9_ != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/components/Component291.java b/client/components/Component291.java new file mode 100644 index 000000000..fff8454ca --- /dev/null +++ b/client/components/Component291.java @@ -0,0 +1,258 @@ +/* Component291 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component291 +/** + * RENAMED from `Class189` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2521; + boolean aBoolean2522 = false; + static int anInt2523 = 0; + static int anInt2524; + int anInt2525; + int anInt2526; + static Component183 aClass114_2527 = new Component183(98, -2); + static int anInt2528; + static DisplayModeManagerContainer347 aClass278_2529; + int anInt2530; + boolean aBoolean2531 = false; + static int anInt2532; + int anInt2533 = 1; + int anInt2534; + + private final void method1418(int i, int i_0_, Buffer class348_sub49, byte i_1_) { + if (i_1_ != 94) this.anInt2526 = -81; + anInt2532++; + if (i == 1) { + this.anInt2525 = class348_sub49.readUnsignedShort(842397944); + if (this.anInt2525 == 65535) this.anInt2525 = -1; + } else if (i == 2) { + this.anInt2526 = 1 + class348_sub49.readUnsignedShort(842397944); + this.anInt2530 = class348_sub49.readUnsignedShort(842397944) - -1; + } else if (i != 3) { + if (i == 4) this.anInt2534 = class348_sub49.readUnsignedByte(255); + else if (i != 5) { + if (i == 6) this.aBoolean2522 = true; + else if (i == 7) this.aBoolean2531 = true; + } else this.anInt2533 = class348_sub49.readUnsignedByte(255); + } else class348_sub49.readByte(-106); + } + + final void method1419(int i, Buffer class348_sub49, byte i_2_) { + anInt2528++; + int i_3_ = 93 / ((i_2_ - -24) / 55); + for (; ; ) { + int i_4_ = class348_sub49.readUnsignedByte(255); + if (i_4_ == 0) break; + method1418(i_4_, i, class348_sub49, (byte) 94); + } + } + + static final boolean method1420(int i, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_, int i_12_, TeleportHandler class361, int i_13_, int i_14_) { + anInt2521++; + int i_15_ = i_10_; + int i_16_ = i_7_; + int i_17_ = 64; + int i_18_ = 64; + int i_19_ = i_10_ - i_17_; + if (i_6_ >= -65) method1420(115, 22, 74, 19, 100, -62, 111, 76, 26, null, -41, -28); + r.anIntArrayArray9723[i_17_][i_18_] = 99; + int i_20_ = i_7_ + -i_18_; + DisplayModeManagerContainer369.anIntArrayArray2900[i_17_][i_18_] = 0; + int i_21_ = 0; + OpenGlShader.anIntArray7397[i_21_] = i_15_; + int i_22_ = 0; + Component275.anIntArray2694[i_21_++] = i_16_; + int[][] is = class361.anIntArrayArray4438; + while_56_: + while (i_22_ != i_21_) { + i_16_ = Component275.anIntArray2694[i_22_]; + i_15_ = OpenGlShader.anIntArray7397[i_22_]; + i_17_ = i_15_ + -i_19_; + i_18_ = -i_20_ + i_16_; + i_22_ = 0xfff & i_22_ - -1; + int i_23_ = i_15_ - class361.anInt4453; + int i_24_ = i_16_ - class361.anInt4441; + int i_25_ = i_13_; + while_48_: + do { + while_47_: + do { + while_46_: + do { + while_45_: + do { + do { + if (i_25_ == -4) { + if (i_15_ == i_9_ && (i_16_ == i_14_)) { + DefinitionSub30.anInt9388 = i_15_; + Component95.anInt1753 = i_16_; + return true; + } + break while_48_; + } else if (i_25_ != -3) { + if (i_25_ != -2) { + if (i_25_ != -1) { + if (i_25_ == 0 || i_25_ == 1 || i_25_ == 2 || i_25_ == 3 || i_25_ == 9) break while_46_; + break while_47_; + } + } else break; + break while_45_; + } + if (Component188.method1842(i, i_14_, -1, i_12_, i_15_, i_16_, i_9_, i_12_, i_8_)) { + Component95.anInt1753 = i_16_; + DefinitionSub30.anInt9388 = i_15_; + return true; + } + break while_48_; + } while (false); + if (class361.method3497(-28388, i_9_, i_11_, i_12_, i_8_, i_15_, i_12_, i_16_, i_14_, i)) { + DefinitionSub30.anInt9388 = i_15_; + Component95.anInt1753 = i_16_; + return true; + } + break while_48_; + } while (false); + if (class361.method3503(i_15_, (byte) -98, i_14_, i_12_, i_8_, i, i_11_, i_16_, i_9_)) { + DefinitionSub30.anInt9388 = i_15_; + Component95.anInt1753 = i_16_; + return true; + } + break while_48_; + } while (false); + if (class361.method3495(i_9_, i_16_, i_12_, i_5_, i_15_, i_14_, i_13_, -71)) { + DefinitionSub30.anInt9388 = i_15_; + Component95.anInt1753 = i_16_; + return true; + } + break while_48_; + } while (false); + if (class361.method3504(i_14_, i_16_, i_9_, i_15_, i_13_, 1, i_5_, i_12_)) { + Component95.anInt1753 = i_16_; + DefinitionSub30.anInt9388 = i_15_; + return true; + } + } while (false); + i_25_ = DisplayModeManagerContainer369.anIntArrayArray2900[i_17_][i_18_] + 1; + while_49_: + do { + if (i_17_ > 0 && r.anIntArrayArray9723[-1 + i_17_][i_18_] == 0 && (is[-1 + i_23_][i_24_] & 0x43a40000) == 0 && ((is[-1 + i_23_][-1 + i_12_ + i_24_] & 0x4e240000) == 0)) { + for (int i_26_ = 1; -1 + i_12_ > i_26_; i_26_++) { + if ((is[i_23_ - 1][i_26_ + i_24_] & 0x4fa40000) != 0) break while_49_; + } + OpenGlShader.anIntArray7397[i_21_] = i_15_ - 1; + Component275.anIntArray2694[i_21_] = i_16_; + i_21_ = i_21_ - -1 & 0xfff; + r.anIntArrayArray9723[i_17_ - 1][i_18_] = 2; + DisplayModeManagerContainer369.anIntArrayArray2900[-1 + i_17_][i_18_] = i_25_; + } + } while (false); + while_50_: + do { + if (i_17_ < -i_12_ + 128 && r.anIntArrayArray9723[i_17_ + 1][i_18_] == 0 && (is[i_23_ + i_12_][i_24_] & 0x60e40000) == 0 && ((is[i_12_ + i_23_][-1 + (i_24_ - -i_12_)] & 0x78240000) == 0)) { + for (int i_27_ = 1; i_12_ - 1 > i_27_; i_27_++) { + if ((is[i_12_ + i_23_][i_24_ - -i_27_] & 0x78e40000) != 0) break while_50_; + } + OpenGlShader.anIntArray7397[i_21_] = 1 + i_15_; + Component275.anIntArray2694[i_21_] = i_16_; + r.anIntArrayArray9723[1 + i_17_][i_18_] = 8; + i_21_ = 0xfff & i_21_ - -1; + DisplayModeManagerContainer369.anIntArrayArray2900[i_17_ + 1][i_18_] = i_25_; + } + } while (false); + while_51_: + do { + if (i_18_ > 0 && r.anIntArrayArray9723[i_17_][-1 + i_18_] == 0 && (0x43a40000 & is[i_23_][i_24_ - 1]) == 0 && (0x60e40000 & is[-1 + (i_23_ + i_12_)][i_24_ - 1]) == 0) { + for (int i_28_ = 1; i_12_ - 1 > i_28_; i_28_++) { + if ((0x63e40000 & is[i_23_ - -i_28_][-1 + i_24_]) != 0) break while_51_; + } + OpenGlShader.anIntArray7397[i_21_] = i_15_; + Component275.anIntArray2694[i_21_] = -1 + i_16_; + r.anIntArrayArray9723[i_17_][-1 + i_18_] = 1; + i_21_ = 0xfff & 1 + i_21_; + DisplayModeManagerContainer369.anIntArrayArray2900[i_17_][-1 + i_18_] = i_25_; + } + } while (false); + while_52_: + do { + if (i_18_ < -i_12_ + 128 && (r.anIntArrayArray9723[i_17_][1 + i_18_] == 0) && ((0x4e240000 & is[i_23_][i_24_ - -i_12_]) == 0) && ((0x78240000 & is[-1 + i_12_ + i_23_][i_24_ + i_12_]) == 0)) { + for (int i_29_ = 1; -1 + i_12_ > i_29_; i_29_++) { + if ((0x7e240000 & is[i_23_ + i_29_][i_12_ + i_24_]) != 0) break while_52_; + } + OpenGlShader.anIntArray7397[i_21_] = i_15_; + Component275.anIntArray2694[i_21_] = i_16_ - -1; + r.anIntArrayArray9723[i_17_][1 + i_18_] = 4; + i_21_ = i_21_ - -1 & 0xfff; + DisplayModeManagerContainer369.anIntArrayArray2900[i_17_][i_18_ + 1] = i_25_; + } + } while (false); + while_53_: + do { + if (i_17_ > 0 && i_18_ > 0 && r.anIntArrayArray9723[i_17_ - 1][-1 + i_18_] == 0 && ((is[i_23_ + -1][-1 + i_24_] & 0x43a40000) == 0)) { + for (int i_30_ = 1; i_12_ > i_30_; i_30_++) { + if ((0x4fa40000 & is[-1 + i_23_][i_24_ + (-1 + i_30_)]) != 0 || (0x63e40000 & is[i_23_ - (1 + -i_30_)][i_24_ - 1]) != 0) break while_53_; + } + OpenGlShader.anIntArray7397[i_21_] = i_15_ - 1; + Component275.anIntArray2694[i_21_] = -1 + i_16_; + i_21_ = 1 + i_21_ & 0xfff; + r.anIntArrayArray9723[i_17_ - 1][-1 + i_18_] = 3; + DisplayModeManagerContainer369.anIntArrayArray2900[i_17_ + -1][-1 + i_18_] = i_25_; + } + } while (false); + while_54_: + do { + if (128 - i_12_ > i_17_ && i_18_ > 0 && r.anIntArrayArray9723[1 + i_17_][i_18_ + -1] == 0 && (0x60e40000 & is[i_23_ + i_12_][-1 + i_24_]) == 0) { + for (int i_31_ = 1; i_12_ > i_31_; i_31_++) { + if ((0x78e40000 & is[i_23_ - -i_12_][i_31_ + (i_24_ - 1)]) != 0 || ((is[i_23_ + i_31_][-1 + i_24_] & 0x63e40000) != 0)) break while_54_; + } + OpenGlShader.anIntArray7397[i_21_] = i_15_ - -1; + Component275.anIntArray2694[i_21_] = -1 + i_16_; + r.anIntArrayArray9723[1 + i_17_][-1 + i_18_] = 9; + i_21_ = 0xfff & i_21_ - -1; + DisplayModeManagerContainer369.anIntArrayArray2900[1 + i_17_][-1 + i_18_] = i_25_; + } + } while (false); + while_55_: + do { + if (i_17_ > 0 && i_18_ < -i_12_ + 128 && r.anIntArrayArray9723[-1 + i_17_][1 + i_18_] == 0 && (is[i_23_ - 1][i_12_ + i_24_] & 0x4e240000) == 0) { + for (int i_32_ = 1; i_32_ < i_12_; i_32_++) { + if ((is[-1 + i_23_][i_32_ + i_24_] & 0x4fa40000) != 0 || (is[i_32_ + (i_23_ + -1)][i_24_ - -i_12_] & 0x7e240000) != 0) break while_55_; + } + OpenGlShader.anIntArray7397[i_21_] = i_15_ - 1; + Component275.anIntArray2694[i_21_] = i_16_ - -1; + r.anIntArrayArray9723[i_17_ - 1][i_18_ - -1] = 6; + i_21_ = i_21_ - -1 & 0xfff; + DisplayModeManagerContainer369.anIntArrayArray2900[-1 + i_17_][i_18_ - -1] = i_25_; + } + } while (false); + if (i_17_ < 128 + -i_12_ && i_18_ < 128 + -i_12_ && (r.anIntArrayArray9723[i_17_ + 1][1 + i_18_] == 0) && (0x78240000 & is[i_12_ + i_23_][i_24_ + i_12_]) == 0) { + for (int i_33_ = 1; i_12_ > i_33_; i_33_++) { + if ((0x7e240000 & is[i_23_ + i_33_][i_24_ - -i_12_]) != 0 || ((is[i_12_ + i_23_][i_24_ - -i_33_] & 0x78e40000) != 0)) continue while_56_; + } + OpenGlShader.anIntArray7397[i_21_] = i_15_ - -1; + Component275.anIntArray2694[i_21_] = i_16_ - -1; + i_21_ = 0xfff & 1 + i_21_; + r.anIntArrayArray9723[i_17_ - -1][1 + i_18_] = 12; + DisplayModeManagerContainer369.anIntArrayArray2900[i_17_ + 1][i_18_ - -1] = i_25_; + } + } + Component95.anInt1753 = i_16_; + DefinitionSub30.anInt9388 = i_15_; + return false; + } + + public static void method1421(byte i) { + aClass278_2529 = null; + if (i != -85) method1421((byte) 39); + aClass114_2527 = null; + } + + public Component291() { + this.anInt2526 = 64; + this.anInt2530 = 64; + this.anInt2525 = -1; + this.anInt2534 = 2; + } +} diff --git a/client/components/Component293.java b/client/components/Component293.java new file mode 100644 index 000000000..60fd306d9 --- /dev/null +++ b/client/components/Component293.java @@ -0,0 +1,54 @@ +/* Component293 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component293 +/** + * RENAMED from `Class259` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private final CacheStore aClass45_3299; + static byte[] aByteArray3300 = new byte[2048]; + static NodeCache aClass60_3301 = new NodeCache(30); + static int anInt3302; + private final NodeCache aClass60_3303 = new NodeCache(64); + static DisplayModeManagerContainer50 aClass305_3304; + int anInt3305; + static int anInt3306 = 0; + + public static void method1975(byte i) { + aClass60_3301 = null; + int i_0_ = -54 / ((i - 77) / 37); + aClass305_3304 = null; + aByteArray3300 = null; + } + + final Component214 method1976(int i, int i_1_) { + anInt3302++; + Component214 class160; + synchronized (aClass60_3303) { + class160 = (Component214) aClass60_3303.get(i, -51); + } + if (class160 != null) return class160; + int i_2_ = 44 % ((-41 - i_1_) / 33); + byte[] is; + synchronized (aClass45_3299) { + is = aClass45_3299.getFile(-1860, 19, i); + } + class160 = new Component214(); + if (is != null) class160.method1255(new Buffer(is), -1); + synchronized (aClass60_3303) { + aClass60_3303.putOne(class160, i, (byte) -120); + } + return class160; + } + + Component293(GameType class230, int i, CacheStore class45) { + try { + aClass45_3299 = class45; + this.anInt3305 = aClass45_3299.getFileCount(0, 19); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("uea.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/components/Component294.java b/client/components/Component294.java new file mode 100644 index 000000000..6acfd0dda --- /dev/null +++ b/client/components/Component294.java @@ -0,0 +1,176 @@ +/* Component294 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jagdx.IDirect3DBaseTexture; +import jagdx.IDirect3DTexture; +import jagdx.PixelBuffer; +import jagdx.ue; + +final class Component294 +/** + * RENAMED from `Class310_Sub2` (JODE-obfuscated). + * Evidence: subclass of DisplayModeManagerContainer318 (hierarchy) + */ extends DisplayModeManagerContainer318 implements Interface18_Impl3 { + private final int anInt6331; + private final IDirect3DTexture anIDirect3DTexture6332; + private final int anInt6333; + boolean aBoolean6334; + boolean aBoolean6335; + + Component294(D3DToolkit class378, int i, int i_0_, boolean bool, int[] is, int i_1_, int i_2_) { + super(class378, Component83.aClass304_1662, Component342.aClass68_1183, bool && class378.aBoolean9798, i_0_ * i); + if (this.aClass378_3893.aBoolean9792) { + anInt6331 = i_0_; + anInt6333 = i; + } else { + anInt6333 = Component373.nextPowerOfTwo(i, (byte) 108); + anInt6331 = Component373.nextPowerOfTwo(i_0_, (byte) 108); + } + if (!bool) anIDirect3DTexture6332 = this.aClass378_3893.anIDirect3DDevice9810.a(anInt6333, anInt6331, 1, 0, 21, 1); + else anIDirect3DTexture6332 = this.aClass378_3893.anIDirect3DDevice9810.a(anInt6333, anInt6331, 0, 1024, 21, 1); + PixelBuffer pixelbuffer = (this.aClass378_3893.aPixelBuffer9803); + int i_3_ = anIDirect3DTexture6332.LockRect(0, 0, 0, i, i_0_, 0, pixelbuffer); + if (ue.a(i_3_, false)) { + if (0 == i_2_) i_2_ = i; + int i_4_ = pixelbuffer.getRowPitch(); + if (i_4_ == 4 * i && i == i_2_) pixelbuffer.a(is, i_1_, 0, i * i_0_); + else { + for (int i_5_ = 0; i_0_ > i_5_; i_5_++) + pixelbuffer.a(is, i_5_ * i_2_ + i_1_, i_4_ * i_5_, i); + } + anIDirect3DTexture6332.UnlockRect(0); + } + } + + Component294(D3DToolkit class378, DisplayModeManagerContainer42 class304, Component342 class68, int i, int i_6_) { + super(class378, class304, class68, false, i_6_ * i); + if (this.aClass378_3893.aBoolean9792) { + anInt6333 = i; + anInt6331 = i_6_; + } else { + anInt6333 = Component373.nextPowerOfTwo(i, (byte) 108); + anInt6331 = Component373.nextPowerOfTwo(i_6_, (byte) 108); + } + anIDirect3DTexture6332 = (this.aClass378_3893.anIDirect3DDevice9810.a(i, i_6_, 1, 0, D3DToolkit.method3958(22, this.aClass68_3895, this.aClass304_3896), 1)); + } + + public final void method64(Component246 class209, int i) { + super.method64(class209, i); + } + + final IDirect3DBaseTexture method2314(int i) { + if (i != 17723) return null; + return anIDirect3DTexture6332; + } + + public final int method69(boolean bool) { + if (bool) return -95; + return anInt6333; + } + + public final int method72(int i) { + int i_7_ = -47 % ((55 - i) / 63); + return anInt6331; + } + + public final void method65(int i, int[] is, int i_8_, int i_9_, int i_10_, byte i_11_, int i_12_) { + if (Component83.aClass304_1662 != this.aClass304_3896 || this.aClass68_3895 != Component342.aClass68_1183) throw new RuntimeException(); + if (i_11_ != 112) this.aBoolean6334 = false; + PixelBuffer pixelbuffer = (this.aClass378_3893.aPixelBuffer9803); + int i_13_ = anIDirect3DTexture6332.LockRect(0, i, i_9_, i_8_, i_10_, 16, pixelbuffer); + if (ue.a(i_13_, false)) { + int i_14_ = pixelbuffer.getRowPitch(); + if (i_14_ != 4 * i_8_) { + for (int i_15_ = 0; i_15_ < i_10_; i_15_++) + pixelbuffer.b(is, i_12_ - -(i_8_ * i_15_), i_15_ * i_14_, i_8_); + } else pixelbuffer.b(is, i_12_, 0, is.length); + anIDirect3DTexture6332.UnlockRect(0); + } + } + + Component294(D3DToolkit class378, DisplayModeManagerContainer42 class304, int i, int i_16_, boolean bool, byte[] is, int i_17_, int i_18_) { + super(class378, class304, Component342.aClass68_1183, bool && class378.aBoolean9798, i * i_16_); + if (this.aClass378_3893.aBoolean9792) { + anInt6333 = i; + anInt6331 = i_16_; + } else { + anInt6333 = Component373.nextPowerOfTwo(i, (byte) 108); + anInt6331 = Component373.nextPowerOfTwo(i_16_, (byte) 108); + } + if (bool) anIDirect3DTexture6332 = (this.aClass378_3893.anIDirect3DDevice9810.a(anInt6333, anInt6331, 0, 1024, D3DToolkit.method3958(22, Component342.aClass68_1183, this.aClass304_3896), 1)); + else anIDirect3DTexture6332 = (this.aClass378_3893.anIDirect3DDevice9810.a(anInt6333, anInt6331, 1, 0, D3DToolkit.method3958(22, Component342.aClass68_1183, this.aClass304_3896), 1)); + PixelBuffer pixelbuffer = (this.aClass378_3893.aPixelBuffer9803); + int i_19_ = anIDirect3DTexture6332.LockRect(0, 0, 0, i, i_16_, 0, pixelbuffer); + if (ue.a(i_19_, false)) { + if (0 == i_18_) i_18_ = i; + i *= this.aClass304_3896.anInt3850; + i_18_ *= (this.aClass304_3896.anInt3850); + int i_20_ = pixelbuffer.getRowPitch(); + if (i != i_20_ || i != i_18_) { + for (int i_21_ = 0; i_16_ > i_21_; i_21_++) + pixelbuffer.a(is, i_21_ * i_18_ + i_17_, i_20_ * i_21_, i); + } else pixelbuffer.a(is, i_17_, 0, i * i_16_); + anIDirect3DTexture6332.UnlockRect(0); + } + } + + public final float method71(byte i, float f) { + if (i > -24) return -0.2576451F; + return f / (float) anInt6331; + } + + public final void method68(int i, int i_22_, int[] is, int i_23_, int i_24_, int i_25_, int i_26_, int i_27_) { + if (this.aClass304_3896 != Component83.aClass304_1662 || this.aClass68_3895 != Component342.aClass68_1183) throw new RuntimeException(); + PixelBuffer pixelbuffer = (this.aClass378_3893.aPixelBuffer9803); + int i_28_ = anIDirect3DTexture6332.LockRect(0, i_23_, i_26_, i_25_, i_27_, 0, pixelbuffer); + if (ue.a(i_28_, false)) { + int i_29_ = pixelbuffer.getRowPitch(); + if (i_29_ != i_25_ * 4 || i_25_ != i) { + for (int i_30_ = 0; i_27_ > i_30_; i_30_++) + pixelbuffer.a(is, i_24_ + i * i_30_, i_30_ * i_29_, i_25_); + } else pixelbuffer.a(is, i_24_, 0, i_27_ * i_25_); + anIDirect3DTexture6332.UnlockRect(0); + } + if (i_22_ != 22809) this.aBoolean6334 = false; + } + + public final float method67(float f, int i) { + if (i < 69) return 0.44069603F; + return f / (float) anInt6333; + } + + public final void method63(byte i) { + if (i > -21) method64(null, 39); + this.aClass378_3893.method3954(13700, this); + } + + public final void method70(int i, int i_31_, byte i_32_, int i_33_, int i_34_, int i_35_, int i_36_, byte[] is, DisplayModeManagerContainer42 class304) { + if (this.aClass304_3896 != class304 || this.aClass68_3895 != Component342.aClass68_1183) throw new RuntimeException(); + if (i_32_ < -4) { + PixelBuffer pixelbuffer = (this.aClass378_3893.aPixelBuffer9803); + int i_37_ = anIDirect3DTexture6332.LockRect(0, i_36_, i, i_35_, i_34_, 0, pixelbuffer); + if (ue.a(i_37_, false)) { + i_33_ *= (this.aClass304_3896.anInt3850); + i_35_ *= (this.aClass304_3896.anInt3850); + int i_38_ = pixelbuffer.getRowPitch(); + if (i_38_ == i_35_ && i_33_ == i_35_) pixelbuffer.a(is, i_31_, 0, i_35_ * i_34_); + else { + for (int i_39_ = 0; i_34_ > i_39_; i_39_++) + pixelbuffer.a(is, i_31_ + i_39_ * i_33_, i_39_ * i_38_, i_35_); + } + anIDirect3DTexture6332.UnlockRect(0); + } + } + } + + public final boolean method73(int i) { + if (i <= 84) method67(1.9572803F, 45); + return true; + } + + public final void method66(boolean bool, boolean bool_40_, int i) { + this.aBoolean6335 = bool_40_; + if (i == 25688) this.aBoolean6334 = bool; + } +} diff --git a/client/components/Component296.java b/client/components/Component296.java new file mode 100644 index 000000000..c364d2136 --- /dev/null +++ b/client/components/Component296.java @@ -0,0 +1,73 @@ +/* Component296 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +class Component296 +/** + * RENAMED from `Class127` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ implements Interface1 { + static int anInt4652; + static int anInt4653; + static int[] anIntArray4654; + Component24 aClass105_4655; + static int anInt4656 = 0; + static int anInt4657; + static int anInt4658; + Component118 aClass288_4659; + static int anInt4660; + private final CacheStore aClass45_4661; + static int anInt4662; + + public final boolean method8(byte i) { + int i_0_ = -79 / ((i - 25) / 52); + anInt4658++; + return aClass45_4661.isSingletonFileReady(false, (this.aClass288_4659.anInt4958)); + } + + public void method9(byte i, boolean bool) { + anInt4653++; + if (bool) { + int i_1_ = ((this.aClass288_4659.aClass221_4955.method1607(DisplayModeManagerContainer23.anInt1524, this.aClass105_4655.method966(), (byte) -117)) + this.aClass288_4659.anInt4950); + int i_2_ = ((this.aClass288_4659.aClass341_4952.getAlignedOffset(GlToolkitSub2.anInt7666, this.aClass105_4655.method980(), 1595)) - -this.aClass288_4659.anInt4951); + this.aClass105_4655.method974(i_1_, i_2_); + } + if (i != -49) anInt4656 = 26; + } + + static final int method1115(int i, int i_3_, byte i_4_) { + anInt4652++; + int i_5_ = i - -(57 * i_3_); + i_5_ ^= i_5_ << 13; + int i_6_ = -76 / ((i_4_ - 22) / 60); + int i_7_ = 1376312589 + i_5_ * (15731 * i_5_ * i_5_ + 789221) & 0x7fffffff; + return (i_7_ & 0x7fa112f) >> 19; + } + + static final void method1116(int i, int i_8_, int i_9_, int i_10_, byte i_11_) { + if (Component27.anInt4960 > i_9_ + -i_10_ || Component22.anInt1745 < i_10_ + i_9_ || Component72.anInt1910 > i - i_10_ || i - -i_10_ > PauseTimer.anInt513) BuildInfo.method203(-107, i_9_, i_8_, i, i_10_); + else WorldNameText.method253(i, i_9_, -648, i_8_, i_10_); + anInt4662++; + int i_12_ = -68 / ((40 - i_11_) / 36); + } + + public static void method1117(int i) { + anIntArray4654 = null; + int i_13_ = -13 / ((i - 57) / 47); + } + + public final void method7(int i) { + if (i != 10286) anInt4656 = -123; + this.aClass105_4655 = DummyClass.method3577((this.aClass288_4659.anInt4958), (byte) -60, aClass45_4661); + anInt4660++; + } + + Component296(CacheStore class45, Component118 class288) { + try { + aClass45_4661 = class45; + this.aClass288_4659 = class288; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("nl.(" + (class45 != null ? "{...}" : "null") + ',' + (class288 != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/components/Component297.java b/client/components/Component297.java new file mode 100644 index 000000000..f1a31955a --- /dev/null +++ b/client/components/Component297.java @@ -0,0 +1,89 @@ +/* Component297 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component297 +/** + * RENAMED from `Class49` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ implements Interface4 { + float[] aFloatArray4719; + static float aFloat4720; + static int anInt4721; + int anInt4722; + static int anInt4723; + private Component43 aClass216_4724; + int anInt4725; + static volatile boolean aBoolean4726 = true; + static int anInt4727; + static boolean aBoolean4728 = false; + private final GlToolkitSub1 aHa_Sub1_4729; + static DisplayModeManagerContainer57 aClass46_4730 = null; + int[] anIntArray4731; + + public static void method453(int i) { + if (i == -2001) aClass46_4730 = null; + } + + static final int method454(int i, byte i_0_) { + int i_1_ = 20 / ((i_0_ - -4) / 37); + anInt4727++; + int i_2_; + if (i > 12000) { + HeapDumper.resetGraphicsPreferences(73); + i_2_ = 4; + } else if (i > 5000) { + DisplayModeManagerContainer32.method447((byte) -59); + i_2_ = 3; + } else if (i <= 2000) { + i_2_ = 1; + GradientPreset.method3076(0, true); + } else { + i_2_ = 2; + DisplayModeManagerContainer254.method1263(true); + } + if (Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) != 2) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub25_7251), 2); + SoftwareFallbackShader.method3553(false, (byte) 119, 2); + } + DisplayModeManagerContainer389.method243(37); + return i_2_; + } + + public final void method14(int i, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, boolean bool, boolean bool_8_) { + anInt4723++; + ItemDefinition.method1568((aHa_Sub1_4729.aClass348_Sub31_7469.anIntArray6916), i_3_, i, i_7_, bool_8_ ? aHa_Sub1_4729.aFloatArray7502 : null, bool ? this.anIntArray4731 : null, i_4_, 115, i_5_, (aHa_Sub1_4729.aClass348_Sub31_7469.anInt6917), this.anInt4725, i_6_, !bool_8_ ? null : this.aFloatArray4719); + } + + public final void method15(int i, int i_9_, int i_10_, int i_11_, int i_12_, int i_13_, boolean bool, boolean bool_14_) { + anInt4721++; + ItemDefinition.method1568(this.anIntArray4731, i_9_, i, i_13_, bool_14_ ? this.aFloatArray4719 : null, !bool ? null : (aHa_Sub1_4729.aClass348_Sub31_7469.anIntArray6916), i_10_, 113, i_11_, this.anInt4725, (aHa_Sub1_4729.aClass348_Sub31_7469.anInt6917), i_12_, bool_14_ ? aHa_Sub1_4729.aFloatArray7502 : null); + } + + Component297(GlToolkitSub1 var_ha_Sub1, Component24 class105, Component43 class216) { + do { + try { + aHa_Sub1_4729 = var_ha_Sub1; + if (class105 instanceof SpriteCapture) { + SpriteCapture class105_sub3_sub1 = (SpriteCapture) class105; + this.anIntArray4731 = (class105_sub3_sub1.anIntArray9933); + this.anInt4722 = class105_sub3_sub1.anInt8470; + this.anInt4725 = class105_sub3_sub1.anInt8471; + } else { + if (!(class105 instanceof SpriteSub3Sub3)) throw new RuntimeException(); + SpriteSub3Sub3 class105_sub3_sub3 = (SpriteSub3Sub3) class105; + this.anInt4725 = class105_sub3_sub3.anInt8471; + this.anInt4722 = class105_sub3_sub3.anInt8470; + this.anIntArray4731 = (class105_sub3_sub3.anIntArray9936); + } + if (class216 == null) break; + aClass216_4724 = class216; + if ((aClass216_4724.anInt4974 != this.anInt4725) || (this.anInt4722 != aClass216_4724.anInt4978)) throw new RuntimeException(); + this.aFloatArray4719 = aClass216_4724.aFloatArray4980; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("it.(" + (var_ha_Sub1 != null ? "{...}" : "null") + ',' + (class105 != null ? "{...}" : "null") + ',' + (class216 != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } +} diff --git a/client/components/Component298.java b/client/components/Component298.java new file mode 100644 index 000000000..8c68849a2 --- /dev/null +++ b/client/components/Component298.java @@ -0,0 +1,122 @@ +/* Component298 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +abstract class Component298 +/** + * RENAMED from `Class5` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ implements Interface1 { + static int anInt4627; + static int anInt4628; + static int anInt4629; + private int anInt4630; + private final CacheStore aClass45_4631; + CacheStore aClass45_4632; + static int anInt4633; + static int anInt4634; + Component27 aClass369_4635; + static NodeCache aClass60_4636 = new NodeCache(64); + private BitmapFont aClass324_4637; + static int anInt4638; + static int anInt4639; + private long aLong4640; + static int anInt4641; + + abstract void method178(int i, boolean bool, byte i_0_, int i_1_); + + public boolean method8(byte i) { + int i_2_ = -94 % ((i - 25) / 52); + anInt4641++; + boolean bool = true; + if (!this.aClass45_4632.isSingletonFileReady(false, this.aClass369_4635.anInt4965)) bool = false; + if (!aClass45_4631.isSingletonFileReady(false, this.aClass369_4635.anInt4965)) bool = false; + return bool; + } + + public void method7(int i) { + anInt4639++; + if (i == 10286) { + Component184 class143 = Component98.method1766((byte) -85, (this.aClass369_4635.anInt4965), aClass45_4631); + aClass324_4637 = (NodeSub8.toolkit.method3686(class143, Component170.method1523(this.aClass45_4632, (this.aClass369_4635.anInt4965)), true)); + } + } + + static final Component381 method179(int i, Buffer class348_sub49) { + anInt4629++; + Component27 class369 = NodeSub16Sub2.method2834((byte) -127, class348_sub49); + int i_3_ = class348_sub49.readInt((byte) -126); + int i_4_ = class348_sub49.readInt((byte) -126); + if (i != 16533) aClass60_4636 = null; + int i_5_ = class348_sub49.readUnsignedShort(842397944); + return new Component381(class369.aClass221_4968, class369.aClass341_4973, class369.anInt4970, class369.anInt4959, class369.anInt4971, class369.anInt4963, class369.anInt4966, class369.anInt4965, class369.anInt4961, i_3_, i_4_, i_5_); + } + + public static void method180(int i) { + aClass60_4636 = null; + if (i != -19960) method180(-71); + } + + static final void method181(boolean bool, Npc npc) { + if (bool != true) method180(54); + anInt4627++; + for (SceneNode class348_sub9 = (SceneNode) client.aClass262_5185.first(4); class348_sub9 != null; class348_sub9 = ((SceneNode) client.aClass262_5185.next((byte) 78))) { + if ((class348_sub9.aNpc_6691) == npc) { + if (class348_sub9.aClass348_Sub16_Sub5_6676 != null) { + PlayerState.aClass348_Sub16_Sub4_7065.method2880(class348_sub9.aClass348_Sub16_Sub5_6676); + class348_sub9.aClass348_Sub16_Sub5_6676 = null; + } + class348_sub9.unlink((byte) 27); + break; + } + } + } + + abstract void method182(int i, int i_6_, int i_7_, boolean bool); + + final int method183(int i) { + anInt4633++; + if (i <= 16) this.aClass369_4635 = null; + int i_8_ = Component44.aClass311_897.method2320((byte) 106); + int i_9_ = 100 * i_8_; + if (anInt4630 != i_8_ || i_8_ == 0) { + anInt4630 = i_8_; + aLong4640 = Component240.currentTimeMillis(-125); + } else { + int i_10_ = Component44.aClass311_897.method2315((byte) 121); + if (i_8_ < i_10_) { + long l = aLong4640 - Component44.aClass311_897.method2323(0); + if (l > 0L) { + long l_11_ = (long) (i_10_ - i_8_) * (10000L * l / (long) i_8_); + long l_12_ = (-aLong4640 + Component240.currentTimeMillis(-89)) * 10000L; + if (l_11_ > l_12_) i_9_ = (int) ((long) (i_8_ * 100) + ((long) (i_10_ + -i_8_) * (l_12_ * 100L) / l_11_)); + else i_9_ = i_10_ * 100; + } + } + } + return i_9_; + } + + public final void method9(byte i, boolean bool) { + if (i == -49) { + anInt4634++; + int i_13_ = ((this.aClass369_4635.aClass221_4968.method1607(DisplayModeManagerContainer23.anInt1524, this.aClass369_4635.anInt4971, (byte) -123)) + this.aClass369_4635.anInt4970); + int i_14_ = ((this.aClass369_4635.aClass341_4973.getAlignedOffset(GlToolkitSub2.anInt7666, this.aClass369_4635.anInt4963, i ^ ~0x60b)) + this.aClass369_4635.anInt4959); + method178(i_13_, bool, (byte) -84, i_14_); + method182(63, i_14_, i_13_, bool); + String string = Component44.aClass311_897.method2318(i ^ 0x245b); + if (-aLong4640 + Component240.currentTimeMillis(-100) > 10000L) string += " (" + Component44.aClass311_897.method2324(i + 149).getStageId(-117) + ")"; + aClass324_4637.drawTextCentred((byte) 115, (i_13_ + this.aClass369_4635.anInt4971 / 2), this.aClass369_4635.anInt4961, string, -1, (this.aClass369_4635.anInt4966 + 4 + (i_14_ - -(this.aClass369_4635.anInt4963 / 2)))); + } + } + + Component298(CacheStore class45, CacheStore class45_15_, Component27 class369) { + try { + aClass45_4631 = class45_15_; + this.aClass45_4632 = class45; + this.aClass369_4635 = class369; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("gl.(" + (class45 != null ? "{...}" : "null") + ',' + (class45_15_ != null ? "{...}" : "null") + ',' + (class369 != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/components/Component299.java b/client/components/Component299.java new file mode 100644 index 000000000..0980b2672 --- /dev/null +++ b/client/components/Component299.java @@ -0,0 +1,80 @@ +/* Component299 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component299 +/** + * RENAMED from `Class32` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt447; + private final int anInt448; + static int anInt449; + static int anInt450; + static int anInt451 = -1; + private final HashNode[] aClass348_Sub42Array452; + private long aLong453; + private HashNode aClass348_Sub42_454; + static int anInt455; + + final HashNode method334(long l, byte i) { + try { + aLong453 = l; + anInt449++; + HashNode class348_sub42 = aClass348_Sub42Array452[(int) ((long) (anInt448 - 1) & l)]; + for (aClass348_Sub42_454 = class348_sub42.next; class348_sub42 != aClass348_Sub42_454; aClass348_Sub42_454 = (aClass348_Sub42_454.next)) { + if (aClass348_Sub42_454.accessAge == l) { + HashNode class348_sub42_0_ = aClass348_Sub42_454; + aClass348_Sub42_454 = (aClass348_Sub42_454.next); + return class348_sub42_0_; + } + } + if (i <= 0) aClass348_Sub42_454 = null; + aClass348_Sub42_454 = null; + return null; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "ib.C(" + l + ',' + i + ')'); + } + } + + final void method335(HashNode class348_sub42, int i, long l) { + try { + anInt447++; + if (i != -8098) aClass348_Sub42_454 = null; + if (class348_sub42.previous != null) class348_sub42.unlink(true); + HashNode class348_sub42_1_ = aClass348_Sub42Array452[(int) (l & (long) (anInt448 - 1))]; + class348_sub42.previous = class348_sub42_1_.previous; + class348_sub42.next = class348_sub42_1_; + class348_sub42.previous.next = class348_sub42; + class348_sub42.next.previous = class348_sub42; + class348_sub42.accessAge = l; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ib.A(" + (class348_sub42 != null ? "{...}" : "null") + ',' + i + ',' + l + ')')); + } + } + + Component299(int i) { + aClass348_Sub42Array452 = new HashNode[i]; + anInt448 = i; + for (int i_2_ = 0; i_2_ < i; i_2_++) { + HashNode class348_sub42 = aClass348_Sub42Array452[i_2_] = new HashNode(); + class348_sub42.next = class348_sub42; + class348_sub42.previous = class348_sub42; + } + } + + final HashNode method336(boolean bool) { + anInt455++; + if (aClass348_Sub42_454 == null) return null; + if (bool != true) return null; + for (HashNode class348_sub42 = aClass348_Sub42Array452[(int) (aLong453 & (long) (-1 + anInt448))]; class348_sub42 != aClass348_Sub42_454; aClass348_Sub42_454 = (aClass348_Sub42_454.next)) { + if (aLong453 == aClass348_Sub42_454.accessAge) { + HashNode class348_sub42_3_ = aClass348_Sub42_454; + aClass348_Sub42_454 = (aClass348_Sub42_454.next); + return class348_sub42_3_; + } + } + aClass348_Sub42_454 = null; + return null; + } +} diff --git a/client/components/Component3.java b/client/components/Component3.java new file mode 100644 index 000000000..58c0d820c --- /dev/null +++ b/client/components/Component3.java @@ -0,0 +1,41 @@ +/* Component3 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component3 +/** + * RENAMED from `Class148` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2037; + Component3 aClass148_2038; + static int[] anIntArray2039 = {1, 0, -1, 0}; + Component327 aClass318_Sub1_Sub3_2040; + static int anInt2041; + static Component169 aClass196_2042 = new Component169(); + static int anInt2043; + + static final boolean method1197(int i, int i_0_) { + if (i != -12081) return true; + anInt2041++; + if (i_0_ == 21 || i_0_ == 10 || i_0_ == 47 || i_0_ == 22 || i_0_ == 5) return true; + return i_0_ == 49 || i_0_ == 1010; + } + + public static void method1198(int i) { + if (i == 1010) { + anIntArray2039 = null; + aClass196_2042 = null; + } + } + + final void method1199(byte i) { + anInt2043++; + if (i == -106 && GlToolkitSub2.anInt7722 < 500) { + this.aClass318_Sub1_Sub3_2040 = null; + this.aClass148_2038 = Component110.aClass148_231; + Component110.aClass148_231 = this; + GlToolkitSub2.anInt7722++; + } + } +} diff --git a/client/components/Component30.java b/client/components/Component30.java new file mode 100644 index 000000000..b7c029538 --- /dev/null +++ b/client/components/Component30.java @@ -0,0 +1,67 @@ +/* Component30 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component30 +/** + * RENAMED from `Class129` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt1873; + int anInt1874; + byte aByte1875; + int anInt1876; + int anInt1877; + static CacheStore aClass45_1878; + static int anInt1879; + int anInt1880; + int anInt1881; + int anInt1882; + int anInt1883; + int anInt1884; + static int[] anIntArray1885 = new int[32]; + private final int anInt1886; + static byte[][] aByteArrayArray1887; + Component30 aClass129_1888; + int anInt1889; + int anInt1890; + int anInt1891; + int anInt1892; + static int anInt1893; + + final Component30 method1124(int i, int i_0_, int i_1_, int i_2_) { + anInt1893++; + if (i_0_ != -1) return null; + return new Component30(anInt1886, i_2_, i, i_1_, this.aByte1875); + } + + final Component113 method1125(byte i) { + anInt1873++; + if (i != 59) this.anInt1880 = -51; + return MouseHandler.getOrLoadConfig(anInt1886, i ^ 0x3b); + } + + public static void method1126(int i) { + if (i == 32) { + aClass45_1878 = null; + aByteArrayArray1887 = null; + anIntArray1885 = null; + } + } + + Component30(int i, int i_3_, int i_4_, int i_5_, byte i_6_) { + anInt1886 = i; + this.aByte1875 = i_6_; + this.anInt1881 = i_3_; + this.anInt1892 = i_5_; + this.anInt1877 = i_4_; + } + + static { + int i = 2; + for (int i_7_ = 0; i_7_ < 32; i_7_++) { + anIntArray1885[i_7_] = -1 + i; + i += i; + } + } +} diff --git a/client/components/Component300.java b/client/components/Component300.java new file mode 100644 index 000000000..f39711cde --- /dev/null +++ b/client/components/Component300.java @@ -0,0 +1,48 @@ +/* Component300 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.util.Hashtable; + +final class Component300 +/** + * RENAMED from `Class275` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static Hashtable aHashtable3548 = new Hashtable(); + static int anInt3549; + static int anInt3550; + static int[] anIntArray3551; + static int[] anIntArray3552 = new int[5]; + static int anInt3553; + + static final int method2064(int i, int i_0_, int i_1_, int i_2_) { + anInt3549++; + if (ShaderSub1.aSArray5191 == null) return 0; + int i_3_ = i >> 9; + int i_4_ = i_2_ >> 9; + if (i_3_ < 0 || i_4_ < 0 || i_3_ > -1 + AbstractShaderSub4.anInt7319 || (i_4_ > ParametricDefinition.anInt9109 + -1)) return 0; + int i_5_ = i_0_; + if (i_5_ < 3 && (ObjectDeserializer.aByteArrayArrayArray6962[1][i_3_][i_4_] & 0x2) != 0) i_5_++; + if (i_1_ != 11219) aHashtable3548 = null; + return ShaderSub1.aSArray5191[i_5_].method3986(i, i_2_, (byte) -113); + } + + public static void method2065(int i) { + anIntArray3552 = null; + anIntArray3551 = null; + aHashtable3548 = null; + if (i != 31913) anInt3550 = 52; + } + + static final boolean method2066(byte i) { + anInt3553++; + if (Component49.clientState < 1) return false; + if (i < 101) method2065(66); + return true; + } + + static { + anIntArray3551 = new int[]{2047, 16383, 65535}; + } +} diff --git a/client/components/Component301.java b/client/components/Component301.java new file mode 100644 index 000000000..fa43bce39 --- /dev/null +++ b/client/components/Component301.java @@ -0,0 +1,292 @@ +/* Component301 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaclib.memory.Buffer; +import jaclib.memory.Stream; + +final class Component301 +/** + * RENAMED from `Class330` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt4110; + private final GlToolkitSub3 aHa_Sub3_4111; + byte[] aByteArray4112; + int anInt4113; + static int anInt4114; + static int anInt4115; + private final BufferCacheSub3 aS_Sub3_4116; + static boolean aBoolean4117 = false; + private final int anInt4118; + static int anInt4119; + static int anInt4120; + private final int anInt4121; + private Component263[][] aClass97ArrayArray4122; + private final int anInt4123; + private final int anInt4124; + static int anInt4125; + static Component183 aClass114_4126 = new Component183(5, 8); + static boolean aBoolean4127 = false; + + final boolean method2628(int i, byte i_0_, r var_r, int i_1_) { + anInt4119++; + CacheNodeSub1 var_r_Sub1 = (CacheNodeSub1) var_r; + int i_2_ = 13 % ((i_0_ - -21) / 45); + i_1_ += var_r_Sub1.anInt10474 + 1; + i += var_r_Sub1.anInt10468 - -1; + int i_3_ = i_1_ * this.anInt4113 + i; + int i_4_ = var_r_Sub1.anInt10467; + int i_5_ = var_r_Sub1.anInt10466; + int i_6_ = -i_5_ + this.anInt4113; + if (i_1_ <= 0) { + int i_7_ = 1 + -i_1_; + i_4_ -= i_7_; + i_3_ += this.anInt4113 * i_7_; + i_1_ = 1; + } + if (anInt4123 <= i_4_ + i_1_) { + int i_8_ = -anInt4123 + (i_4_ + i_1_) - -1; + i_4_ -= i_8_; + } + if (i <= 0) { + int i_9_ = -i + 1; + i = 1; + i_6_ += i_9_; + i_5_ -= i_9_; + i_3_ += i_9_; + } + if (i_5_ + i >= this.anInt4113) { + int i_10_ = 1 + i + (i_5_ + -this.anInt4113); + i_5_ -= i_10_; + i_6_ += i_10_; + } + if (i_5_ <= 0 || i_4_ <= 0) return false; + int i_11_ = 8; + i_6_ += (i_11_ + -1) * this.anInt4113; + return RenderableSub4.method2503(i_6_, i_3_, i_11_, this.aByteArray4112, i_5_, -16259, i_4_); + } + + final void method2629(int i, r var_r, int i_12_, int i_13_) { + anInt4114++; + CacheNodeSub1 var_r_Sub1 = (CacheNodeSub1) var_r; + i_13_ += 1 + var_r_Sub1.anInt10468; + i += i_12_ + var_r_Sub1.anInt10474; + int i_14_ = i * this.anInt4113 + i_13_; + int i_15_ = 0; + int i_16_ = var_r_Sub1.anInt10467; + int i_17_ = var_r_Sub1.anInt10466; + int i_18_ = this.anInt4113 + -i_17_; + if (i <= 0) { + int i_19_ = -i + 1; + i_14_ += this.anInt4113 * i_19_; + i_16_ -= i_19_; + i = 1; + i_15_ += i_19_ * i_17_; + } + int i_20_ = 0; + if (anInt4123 <= i_16_ + i) { + int i_21_ = -anInt4123 + i - -i_16_ + 1; + i_16_ -= i_21_; + } + if (i_13_ <= 0) { + int i_22_ = 1 + -i_13_; + i_20_ += i_22_; + i_18_ += i_22_; + i_13_ = 1; + i_14_ += i_22_; + i_15_ += i_22_; + i_17_ -= i_22_; + } + if (i_13_ + i_17_ >= this.anInt4113) { + int i_23_ = 1 + i_17_ + (i_13_ - this.anInt4113); + i_18_ += i_23_; + i_17_ -= i_23_; + i_20_ += i_23_; + } + if (i_17_ > 0 && i_16_ > 0) { + DefinitionSub37.method3146(i_18_, i_17_, (byte) -116, i_20_, i_16_, i_14_, this.aByteArray4112, (var_r_Sub1.aByteArray10471), i_15_); + method2634(i, -1, i_13_, i_16_, i_17_); + } + } + + final void method2630(int i, int i_24_, int i_25_, boolean bool, boolean[][] bools, int i_26_) { + anInt4115++; + aHa_Sub3_4111.method3866(false, true); + aHa_Sub3_4111.method3946(-32, false); + aHa_Sub3_4111.method3817(79, 1); + aHa_Sub3_4111.method3923(true, 1); + aHa_Sub3_4111.method3814(false, false, -2, (byte) 82); + float f = 1.0F / (float) (aHa_Sub3_4111.anInt8125 * i); + if (bool) { + for (int i_27_ = 0; anInt4118 > i_27_; i_27_++) { + int i_28_ = i_27_ << anInt4124; + int i_29_ = 1 + i_27_ << anInt4124; + for (int i_30_ = 0; anInt4121 > i_30_; i_30_++) { + if (aClass97ArrayArray4122[i_30_][i_27_] != null) { + int i_31_ = i_30_ << anInt4124; + int i_32_ = i_30_ + 1 << anInt4124; + while_119_: + for (int i_33_ = i_31_; i_33_ < i_32_; i_33_++) { + if (-i_25_ + i_33_ >= -i_24_ && i_24_ >= -i_25_ + i_33_) { + for (int i_34_ = i_28_; (i_29_ > i_34_); i_34_++) { + if (-i_24_ <= i_34_ + -i_26_ && i_24_ >= -i_26_ + i_34_ && (bools[i_24_ + (-i_25_ + i_33_)][-i_26_ + i_34_ + i_24_])) { + MatrixSub2 class101_sub2 = aHa_Sub3_4111.method3820(false); + class101_sub2.method932(1.0F, f, f, (byte) -65); + class101_sub2.method891(-i_30_, -i_27_, 0); + aHa_Sub3_4111.method3853(i ^ ~0x9f, Component302.aClass251_6030); + aClass97ArrayArray4122[i_30_][i_27_].method871((byte) 116); + break while_119_; + } + } + } + } + } + } + } + } else { + for (int i_35_ = 0; anInt4118 > i_35_; i_35_++) { + int i_36_ = i_35_ << anInt4124; + int i_37_ = 1 + i_35_ << anInt4124; + for (int i_38_ = 0; i_38_ < anInt4121; i_38_++) { + Component263 class97 = aClass97ArrayArray4122[i_38_][i_35_]; + if (class97 != null) { + Interface5_Impl2 interface5_impl2 = aHa_Sub3_4111.method3822(118, (class97.anInt1563) * 3); + Buffer buffer = interface5_impl2.method24(true, false); + if (buffer != null) { + Stream stream = aHa_Sub3_4111.method3893(buffer, 9179); + int i_39_ = 0; + int i_40_ = i_38_ << anInt4124; + int i_41_ = i_38_ + 1 << anInt4124; + for (int i_42_ = i_36_; i_42_ < i_37_; i_42_++) { + if (-i_26_ + i_42_ >= -i_24_ && (i_42_ - i_26_ <= i_24_)) { + int i_43_ = (i_42_ * aS_Sub3_4116.anInt4587 - -i_40_); + for (int i_44_ = i_40_; (i_44_ < i_41_); i_44_++) { + if ((-i_25_ + i_44_ >= -i_24_) && i_24_ >= i_44_ - i_25_ && (bools[i_24_ + (i_44_ + -i_25_)][i_24_ + -i_26_ + i_42_])) { + short[] is = (aS_Sub3_4116.aShortArrayArray8299[i_43_]); + if (is != null) { + if (Stream.c()) { + for (int i_46_ = 0; (is.length > i_46_); i_46_++) { + stream.d(is[i_46_] & 0xffff); + i_39_++; + } + } else { + for (int i_45_ = 0; is.length > i_45_; i_45_++) { + i_39_++; + stream.a(is[i_45_] & 0xffff); + } + } + } + } + i_43_++; + } + } + } + stream.a(); + if (interface5_impl2.method22(-23) && i_39_ > 0) { + MatrixSub2 class101_sub2 = aHa_Sub3_4111.method3820(false); + class101_sub2.method932(1.0F, f, f, (byte) -62); + class101_sub2.method891(-i_38_, -i_35_, 0); + aHa_Sub3_4111.method3853(i ^ ~0x9f, (Component302.aClass251_6030)); + class97.method875(-82, interface5_impl2, i_39_ / 3); + } + } + } + } + } + } + aHa_Sub3_4111.method3879(-8629); + } + + public static void method2631(int i) { + int i_47_ = -46 / ((65 - i) / 61); + aClass114_4126 = null; + } + + final void method2632(int i) { + aClass97ArrayArray4122 = new Component263[anInt4121][anInt4118]; + anInt4125++; + if (i != 128) method2630(-93, -74, 10, false, null, 48); + for (int i_48_ = 0; anInt4118 > i_48_; i_48_++) { + for (int i_49_ = 0; i_49_ < anInt4121; i_49_++) { + aClass97ArrayArray4122[i_49_][i_48_] = new Component263(aHa_Sub3_4111, this, aS_Sub3_4116, i_49_, i_48_, anInt4124, 128 * i_49_ - -1, 128 * i_48_ + 1); + if (aClass97ArrayArray4122[i_49_][i_48_].anInt1563 == 0) aClass97ArrayArray4122[i_49_][i_48_] = null; + } + } + } + + final void method2633(int i, int i_50_, r var_r, int i_51_) { + anInt4120++; + CacheNodeSub1 var_r_Sub1 = (CacheNodeSub1) var_r; + i_51_ += var_r_Sub1.anInt10474 + 1; + i_50_ += 1 + var_r_Sub1.anInt10468; + if (i != 287) method2634(-49, -3, 16, -9, -115); + int i_52_ = i_50_ + this.anInt4113 * i_51_; + int i_53_ = 0; + int i_54_ = var_r_Sub1.anInt10467; + int i_55_ = var_r_Sub1.anInt10466; + int i_56_ = -i_55_ + this.anInt4113; + if (i_51_ <= 0) { + int i_57_ = -i_51_ + 1; + i_52_ += this.anInt4113 * i_57_; + i_54_ -= i_57_; + i_53_ += i_57_ * i_55_; + i_51_ = 1; + } + int i_58_ = 0; + if (anInt4123 <= i_54_ + i_51_) { + int i_59_ = -anInt4123 + (i_51_ - -i_54_) + 1; + i_54_ -= i_59_; + } + if (i_50_ <= 0) { + int i_60_ = 1 + -i_50_; + i_53_ += i_60_; + i_56_ += i_60_; + i_58_ += i_60_; + i_52_ += i_60_; + i_50_ = 1; + i_55_ -= i_60_; + } + if (i_55_ + i_50_ >= this.anInt4113) { + int i_61_ = 1 + (i_55_ + (i_50_ + -this.anInt4113)); + i_58_ += i_61_; + i_55_ -= i_61_; + i_56_ += i_61_; + } + if (i_55_ > 0 && i_54_ > 0) { + DisplayModeManagerContainer153.method880(i_55_, this.aByteArray4112, var_r_Sub1.aByteArray10471, i_53_, i + 13593, i_54_, i_52_, i_56_, i_58_); + method2634(i_51_, -1, i_50_, i_54_, i_55_); + } + } + + private final void method2634(int i, int i_62_, int i_63_, int i_64_, int i_65_) { + anInt4110++; + if (aClass97ArrayArray4122 != null) { + int i_66_ = -1 + i_63_ >> 7; + int i_67_ = -1 + (i_65_ + i_63_ - 1) >> 7; + int i_68_ = i + -1 >> 7; + int i_69_ = i_62_ + (-1 + (i - -i_64_)) >> 7; + for (int i_70_ = i_66_; i_67_ >= i_70_; i_70_++) { + Component263[] class97s = aClass97ArrayArray4122[i_70_]; + for (int i_71_ = i_68_; i_69_ >= i_71_; i_71_++) { + if (class97s[i_71_] != null) class97s[i_71_].aBoolean1562 = true; + } + } + } + } + + Component301(GlToolkitSub3 var_ha_Sub3, BufferCacheSub3 var_s_Sub3) { + try { + aHa_Sub3_4111 = var_ha_Sub3; + aS_Sub3_4116 = var_s_Sub3; + this.anInt4113 = 2 + ((aS_Sub3_4116.anInt4587 * aS_Sub3_4116.anInt4592) >> aHa_Sub3_4111.anInt8107); + anInt4123 = (aS_Sub3_4116.anInt4592 * aS_Sub3_4116.anInt4590 >> aHa_Sub3_4111.anInt8107) + 2; + this.aByteArray4112 = new byte[this.anInt4113 * anInt4123]; + anInt4124 = (-aS_Sub3_4116.anInt4588 + (7 + aHa_Sub3_4111.anInt8107)); + anInt4121 = aS_Sub3_4116.anInt4587 >> anInt4124; + anInt4118 = aS_Sub3_4116.anInt4590 >> anInt4124; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("dg.(" + (var_ha_Sub3 != null ? "{...}" : "null") + ',' + (var_s_Sub3 != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/components/Component302.java b/client/components/Component302.java new file mode 100644 index 000000000..b716adda8 --- /dev/null +++ b/client/components/Component302.java @@ -0,0 +1,96 @@ +/* Component302 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.io.IOException; + +final class Component302 +/** + * RENAMED from `Class239_Sub18` (JODE-obfuscated). + * Evidence: subclass of Component339 (hierarchy) + */ extends Component339 { + static int anInt6029; + static Component111 aClass251_6030 = new Component111(); + static int anInt6031; + static int anInt6032; + static int anInt6033; + static int anInt6034; + static int[] anIntArray6035; + static int anInt6036; + static int anInt6037; + static int anInt6038; + + Component302(int i, NodeSub51 class348_sub51) { + super(i, class348_sub51); + } + + public static void method1799(int i) { + int i_0_ = 51 / ((i - 33) / 40); + anIntArray6035 = null; + aClass251_6030 = null; + } + + final int method1714(int i, int i_1_) { + anInt6034++; + if (i != 3) return -46; + if (this.aClass348_Sub51_3136.method3425(-62)) return 3; + if (i_1_ == 0 || this.aClass348_Sub51_3136.aClass239_Sub9_7256.method1759(-32350) == 1) return 1; + return 2; + } + + final int method1710(int i) { + if (i != 20014) anIntArray6035 = null; + anInt6029++; + return 1; + } + + final int method1800(int i) { + anInt6031++; + if (i != -32350) anIntArray6035 = null; + return this.anInt3138; + } + + final void method1716(boolean bool) { + anInt6036++; + if (bool == false) { + if (this.aClass348_Sub51_3136.method3425(-94)) this.anInt3138 = 0; + if (this.anInt3138 < 0 && this.anInt3138 > 2) this.anInt3138 = method1710(20014); + } + } + + final boolean method1801(int i) { + if (i <= 85) method1800(90); + anInt6037++; + return !this.aClass348_Sub51_3136.method3425(-70); + } + + static final void method1802(int i) throws IOException { + if (DefinitionSub8.aClass238_9165 != null && NodeSub34.anInt6969 > 0) { + int i_2_ = 0; + for (; ; ) { + ParticleSystem class348_sub47 = (ParticleSystem) DefinitionSub13.aClass262_9201.first(i ^ 0x4); + if (class348_sub47 == null) break; + DefinitionSub8.aClass238_9165.writeBytes(0, i ^ 0x77, class348_sub47.anInt7119, (class348_sub47.aClass348_Sub49_Sub2_7116.payload)); + i_2_ += class348_sub47.anInt7119; + NodeSub34.anInt6969 -= class348_sub47.anInt7119; + class348_sub47.unlink((byte) 74); + class348_sub47.aClass348_Sub49_Sub2_7116.release((byte) -69); + class348_sub47.method3326((byte) -45); + } + Component53.anInt193 = 0; + Component268.anInt1433 += i_2_; + } + if (i != 0) method1799(58); + anInt6038++; + } + + final void method1712(int i, int i_3_) { + this.anInt3138 = i_3_; + anInt6032++; + int i_4_ = 65 / ((82 - i) / 35); + } + + Component302(NodeSub51 class348_sub51) { + super(class348_sub51); + } +} diff --git a/client/components/Component303.java b/client/components/Component303.java new file mode 100644 index 000000000..56f82efc9 --- /dev/null +++ b/client/components/Component303.java @@ -0,0 +1,61 @@ +/* Component303 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component303 +/** + * RENAMED from `Class222` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt2883; + static int anInt2884 = 0; + static Component161 aClass138_2885 = new Component161(4, 1, 1, 1); + Component290 aClass166_2886; + static int anInt2887; + static int anInt2888; + static int anInt2889; + int anInt2890; + private int anInt2891; + static StringCache aClass351_2892 = new StringCache(39, 8); + + private final void method1608(int i, Buffer class348_sub49, byte i_0_) { + anInt2887++; + if (i == 1) anInt2891 = class348_sub49.readUnsignedShort(842397944); + else if (i == 2) { + this.anInt2883 = class348_sub49.readUnsignedByte(255); + this.anInt2890 = class348_sub49.readUnsignedByte(255); + } + if (i_0_ != 4) method1608(-8, null, (byte) 81); + } + + public static void method1609(byte i) { + if (i <= -71) { + aClass351_2892 = null; + aClass138_2885 = null; + } + } + + final synchronized Component170 method1610(byte i) { + anInt2888++; + Component170 class207 = (Component170) this.aClass166_2886.aClass60_2190.get(anInt2891, -70); + if (class207 != null) return class207; + class207 = Component170.method1521(this.aClass166_2886.aClass45_2180, anInt2891, 0); + if (i < 49) method1609((byte) 93); + if (class207 != null) this.aClass166_2886.aClass60_2190.putOne(class207, anInt2891, (byte) -120); + return class207; + } + + final void method1611(Buffer class348_sub49, boolean bool) { + for (; ; ) { + int i = class348_sub49.readUnsignedByte(255); + if (i == 0) break; + method1608(i, class348_sub49, (byte) 4); + } + anInt2889++; + if (bool != false) method1610((byte) -86); + } + + public Component303() { + /* empty */ + } +} diff --git a/client/components/Component304.java b/client/components/Component304.java new file mode 100644 index 000000000..174f44a22 --- /dev/null +++ b/client/components/Component304.java @@ -0,0 +1,112 @@ +/* Component304 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component304 +/** + * RENAMED from `Class65` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt1138; + static int anInt1139; + static int anInt1140; + private final CacheStore aClass45_1141; + static int anInt1142; + static int anInt1143; + static StringCache aClass351_1144; + private final NodeCache aClass60_1145 = new NodeCache(256); + static Component362[] aClass110_Sub1Array1146 = new Component362[0]; + static int anInt1147; + static Component186[][][] aClass357ArrayArrayArray1148; + + final void method694(int i) { + anInt1140++; + if (i != -1007) method700(14, 98); + synchronized (aClass60_1145) { + aClass60_1145.method587(i + 883); + } + } + + final void method695(boolean bool) { + if (bool != true) aClass351_1144 = null; + synchronized (aClass60_1145) { + aClass60_1145.clear(0); + } + anInt1139++; + } + + static final void method696(int i, int i_0_, int i_1_, int i_2_) { + if (i_2_ == -1007) { + if (i == 1009) ClientScriptExecutor.runScript(DisplayModeManagerContainer363.aClass273_4091, i_1_, i_0_); + else if (i != 1012) { + if (i == 1002) ClientScriptExecutor.runScript(DefinitionSub32.aClass273_9415, i_1_, i_0_); + else if (i == 1003) ClientScriptExecutor.runScript(NodeSub12.aClass273_6743, i_1_, i_0_); + else if (i == 1006) ClientScriptExecutor.runScript(Component66.aClass273_6018, i_1_, i_0_); + } else ClientScriptExecutor.runScript(Component2.aClass273_8356, i_1_, i_0_); + anInt1138++; + } + } + + final void method697(int i, int i_3_) { + if (i_3_ == 26) { + anInt1142++; + synchronized (aClass60_1145) { + aClass60_1145.processSoftEntries(i_3_ ^ 0x18, i); + } + } + } + + public static void method698(int i) { + aClass351_1144 = null; + if (i != 2) aClass357ArrayArrayArray1148 = null; + aClass357ArrayArrayArray1148 = null; + aClass110_Sub1Array1146 = null; + } + + static final void method699(CacheStore class45, byte i, CacheStore class45_4_, CacheStore class45_5_, CacheStore class45_6_) { + try { + DefinitionSub28.aClass45_9365 = class45_6_; + anInt1147++; + Component327.aClass45_8755 = class45_5_; + Component267.aClass45_2978 = class45_4_; + DefinitionSub33.aClass46ArrayArray9427 = new DisplayModeManagerContainer57[Component267.aClass45_2978.getGroupCapacity(-1)][]; + ImageTagText.aBooleanArray2162 = new boolean[Component267.aClass45_2978.getGroupCapacity(-1)]; + int i_7_ = -72 % ((35 - i) / 41); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("kb.F(" + (class45 != null ? "{...}" : "null") + ',' + i + ',' + (class45_4_ != null ? "{...}" : "null") + ',' + (class45_5_ != null ? "{...}" : "null") + ',' + (class45_6_ != null ? "{...}" : "null") + ')')); + } + } + + final HashNodeSub1 method700(int i, int i_8_) { + anInt1143++; + int i_9_ = -128 / ((-3 - i_8_) / 49); + HashNodeSub1 class348_sub42_sub1; + synchronized (aClass60_1145) { + class348_sub42_sub1 = (HashNodeSub1) aClass60_1145.get(i, -101); + } + if (class348_sub42_sub1 != null) return class348_sub42_sub1; + byte[] is; + synchronized (aClass45_1141) { + is = aClass45_1141.getFile(-1860, 26, i); + } + class348_sub42_sub1 = new HashNodeSub1(); + if (is != null) class348_sub42_sub1.method3168(new Buffer(is), (byte) -101); + synchronized (aClass60_1145) { + aClass60_1145.putOne(class348_sub42_sub1, i, (byte) -114); + } + return class348_sub42_sub1; + } + + Component304(GameType class230, int i, CacheStore class45) { + try { + aClass45_1141 = class45; + aClass45_1141.getFileCount(0, 26); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("kb.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); + } + } + + static { + aClass351_1144 = new StringCache(37, 2); + } +} diff --git a/client/components/Component305.java b/client/components/Component305.java new file mode 100644 index 000000000..f1cb83732 --- /dev/null +++ b/client/components/Component305.java @@ -0,0 +1,34 @@ +/* Component305 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component305 +/** + * RENAMED from `Class5_Sub1_Sub1` (JODE-obfuscated). + * Evidence: subclass of Component364 (hierarchy) + */ extends Component364 { + static int anInt9928; + static Component170[] aClass207Array9929; + static int opaqueOnscreenCount; + static NodeList aClass262_9931 = new NodeList(); + static int[] anIntArray9932 = new int[1000]; + + public static void method190(byte i) { + if (i < 23) anIntArray9932 = null; + aClass207Array9929 = null; + aClass262_9931 = null; + anIntArray9932 = null; + } + + Component305(CacheStore class45, CacheStore class45_0_, DummyClass class369_sub3_sub1) { + super(class45, class45_0_, class369_sub3_sub1); + } + + final void method186(int i, int i_1_, byte i_2_, int i_3_, int i_4_) { + if (i_2_ <= 21) aClass207Array9929 = null; + anInt9928++; + int i_5_ = this.aClass105_8350.method966(); + int i_6_ = (((DummyClass) this.aClass369_4635).anInt10177 * ShaderSub2.method163(512) / 10 % i_5_); + this.aClass105_8350.method972(i_3_ - (i_5_ - i_6_), i, -i_6_ + (i_4_ - -i_5_), i_1_); + } +} diff --git a/client/components/Component307.java b/client/components/Component307.java new file mode 100644 index 000000000..0b8ecfdd2 --- /dev/null +++ b/client/components/Component307.java @@ -0,0 +1,38 @@ +/* Component307 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component307 +/** + * RENAMED from `Class371` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt4520; + static int anInt4521; + int anInt4522; + static int anInt4523; + int anInt4524; + int anInt4525; + + static final GlRectangleTexture method3583(boolean bool, byte[] is, int i, int i_0_, GlToolkitSub2 var_ha_Sub2, int i_1_, int i_2_, int i_3_) { + try { + anInt4521++; + if (i_1_ > -17) return null; + if (var_ha_Sub2.aBoolean7793 || Component353.method1436(-58, i_3_) && Component353.method1436(-68, i_0_)) return new GlRectangleTexture(var_ha_Sub2, 3553, i_2_, i_3_, i_0_, bool, is, i); + if (var_ha_Sub2.aBoolean7837) return new GlRectangleTexture(var_ha_Sub2, 34037, i_2_, i_3_, i_0_, bool, is, i); + return new GlRectangleTexture(var_ha_Sub2, i_2_, i_3_, i_0_, Component373.nextPowerOfTwo(i_3_, (byte) 108), Component373.nextPowerOfTwo(i_0_, (byte) 108), is, i); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("fr.B(" + bool + ',' + (is != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i_1_ + ',' + i_2_ + ',' + i_3_ + ')')); + } + } + + static final boolean method3584(int i, int i_4_) { + if (i_4_ != 1) return false; + anInt4523++; + return i == 0 || i == 1 || i == 2; + } + + public Component307() { + /* empty */ + } +} diff --git a/client/components/Component308.java b/client/components/Component308.java new file mode 100644 index 000000000..769a51198 --- /dev/null +++ b/client/components/Component308.java @@ -0,0 +1,64 @@ +/* Component308 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component308 +/** + * RENAMED from `Class50_Sub2` (JODE-obfuscated). + * Evidence: subclass of Component47 (hierarchy) + */ extends Component47 { + private final int anInt5227; + static int anInt5228; + static int anInt5229; + private final int anInt5230; + private int anInt5231; + private final int anInt5232; + static boolean aBoolean5233 = false; + static int anInt5234; + static int anInt5235; + + final void method455(int i, int i_0_, int i_1_) { + anInt5228++; + int i_2_ = i * anInt5231 >> 12; + int i_3_ = anInt5232 * i >> 12; + int i_4_ = i_0_ * anInt5227 >> 12; + if (i_1_ > -98) aBoolean5233 = false; + int i_5_ = i_0_ * anInt5230 >> 12; + DisplayModeManagerContainer292.method1308(this.anInt864, i_4_, i_2_, this.anInt865, (byte) -123, this.anInt862, i_3_, i_5_); + } + + static final void method464(int i) { + anInt5229++; + NativeLibLoader.anInt4155 = i; + Component83.aClass105_1664 = null; + } + + Component308(int i, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_) { + super(i_9_, i_10_, i_11_); + anInt5231 = i; + anInt5227 = i_6_; + anInt5230 = i_8_; + anInt5232 = i_7_; + } + + final void method457(int i, int i_12_, int i_13_) { + anInt5235++; + int i_14_ = i_12_ * anInt5231 >> 12; + if (i_13_ <= -29) { + int i_15_ = i_12_ * anInt5232 >> 12; + int i_16_ = i * anInt5227 >> 12; + int i_17_ = i * anInt5230 >> 12; + Component263.method872(this.anInt865, 1, this.anInt862, i_16_, i_17_, i_15_, i_14_); + } + } + + final void method456(int i, int i_18_, int i_19_) { + anInt5234++; + int i_20_ = i_18_ * anInt5231 >> 12; + int i_21_ = anInt5232 * i_18_ >> 12; + if (i <= 87) anInt5231 = 56; + int i_22_ = i_19_ * anInt5227 >> 12; + int i_23_ = i_19_ * anInt5230 >> 12; + Component203.method2486(0, i_21_, this.anInt864, i_23_, i_20_, i_22_); + } +} diff --git a/client/components/Component309.java b/client/components/Component309.java new file mode 100644 index 000000000..6fb2b5c12 --- /dev/null +++ b/client/components/Component309.java @@ -0,0 +1,369 @@ +/* Component309 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component309 +/** + * RENAMED from `Class263` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private final CacheStore aClass45_3343; + static int anInt3344; + CacheStore aClass45_3345; + static int anInt3346; + static int[] anIntArray3347 = new int[1000]; + static int anInt3348; + static int anInt3349; + private NodeCache aClass60_3350; + static int anInt3351; + private static char[] aCharArray3352 = new char[64]; + static int anInt3353; + static int anInt3354; + boolean aBoolean3355 = false; + static int anInt3356; + static int anInt3357; + static int anInt3358; + boolean aBoolean3359; + NodeCache aClass60_3360; + NodeCache aClass60_3361; + NodeCache aClass60_3362; + int anInt3363; + + final void method2004(boolean bool, byte i) { + anInt3346++; + if (bool == !this.aBoolean3359) { + this.aBoolean3359 = bool; + if (i != 25) aClass60_3350 = null; + method2012(i + -23853); + } + } + + final Component44 method2005(int i, int i_0_) { + anInt3351++; + Component44 class51; + synchronized (aClass60_3350) { + class51 = (Component44) aClass60_3350.get(i_0_, i ^ 0x32); + } + if (class51 != null) return class51; + byte[] is; + synchronized (aClass45_3343) { + is = aClass45_3343.getFile(i + -1860, Component284.method1850(i_0_, 111), Component364.method185(i_0_, (byte) -90)); + } + class51 = new Component44(); + class51.anInt941 = i_0_; + class51.aClass263_933 = this; + if (is != null) class51.method479((byte) 0, new Buffer(is)); + class51.method488(-105); + if (i != 0) this.aClass60_3361 = null; + if (!this.aBoolean3359 && class51.aBoolean942) { + class51.anIntArray917 = null; + class51.aStringArray913 = null; + } + if (class51.aBoolean876) { + class51.anInt920 = 0; + class51.aBoolean896 = false; + } + synchronized (aClass60_3350) { + aClass60_3350.putOne(class51, i_0_, (byte) -109); + } + return class51; + } + + final void method2006(int i) { + if (i >= 68) { + anInt3353++; + synchronized (aClass60_3350) { + aClass60_3350.method587(-106); + } + synchronized (this.aClass60_3360) { + this.aClass60_3360.method587(-125); + } + synchronized (this.aClass60_3361) { + this.aClass60_3361.method587(-122); + } + synchronized (this.aClass60_3362) { + this.aClass60_3362.method587(-101); + } + } + } + + static final boolean method2007(int i, int i_1_, int i_2_, TeleportHandler class361, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_) { + anInt3354++; + int i_10_ = i_8_; + int i_11_ = i_4_; + int i_12_ = 64; + int i_13_ = 64; + int i_14_ = -i_12_ + i_8_; + int i_15_ = -i_13_ + i_4_; + r.anIntArrayArray9723[i_12_][i_13_] = 99; + if (i_1_ >= -27) method2011((byte) 103); + DisplayModeManagerContainer369.anIntArrayArray2900[i_12_][i_13_] = 0; + int i_16_ = 0; + OpenGlShader.anIntArray7397[i_16_] = i_10_; + int i_17_ = 0; + Component275.anIntArray2694[i_16_++] = i_11_; + int[][] is = class361.anIntArrayArray4438; + while (i_16_ != i_17_) { + i_11_ = Component275.anIntArray2694[i_17_]; + i_10_ = OpenGlShader.anIntArray7397[i_17_]; + i_17_ = 0xfff & 1 + i_17_; + i_12_ = i_10_ - i_14_; + i_13_ = -i_15_ + i_11_; + int i_18_ = i_10_ + -class361.anInt4453; + int i_19_ = -class361.anInt4441 + i_11_; + int i_20_ = i; + while_85_: + do { + while_84_: + do { + while_83_: + do { + while_82_: + do { + do { + if (i_20_ == -4) { + if (i_10_ == i_3_ && i_2_ == i_11_) { + DefinitionSub30.anInt9388 = i_10_; + Component95.anInt1753 = i_11_; + return true; + } + break while_85_; + } else if (i_20_ != -3) { + if (i_20_ != -2) { + if (i_20_ != -1) { + if (i_20_ == 0 || i_20_ == 1 || i_20_ == 2 || i_20_ == 3 || (i_20_ == 9)) break while_83_; + break while_84_; + } + } else break; + break while_82_; + } + if (Component188.method1842(i_5_, i_2_, -1, 2, i_10_, i_11_, i_3_, 2, i_6_)) { + Component95.anInt1753 = i_11_; + DefinitionSub30.anInt9388 = i_10_; + return true; + } + break while_85_; + } while (false); + if (class361.method3497(-28388, i_3_, i_7_, 2, i_6_, i_10_, 2, i_11_, i_2_, i_5_)) { + DefinitionSub30.anInt9388 = i_10_; + Component95.anInt1753 = i_11_; + return true; + } + break while_85_; + } while (false); + if (class361.method3503(i_10_, (byte) -82, i_2_, 2, i_6_, i_5_, i_7_, i_11_, i_3_)) { + DefinitionSub30.anInt9388 = i_10_; + Component95.anInt1753 = i_11_; + return true; + } + break while_85_; + } while (false); + if (class361.method3495(i_3_, i_11_, 2, i_9_, i_10_, i_2_, i, -53)) { + DefinitionSub30.anInt9388 = i_10_; + Component95.anInt1753 = i_11_; + return true; + } + break while_85_; + } while (false); + if (class361.method3504(i_2_, i_11_, i_3_, i_10_, i, 1, i_9_, 2)) { + DefinitionSub30.anInt9388 = i_10_; + Component95.anInt1753 = i_11_; + return true; + } + } while (false); + i_20_ = DisplayModeManagerContainer369.anIntArrayArray2900[i_12_][i_13_] + 1; + if (i_12_ > 0 && r.anIntArrayArray9723[i_12_ + -1][i_13_] == 0 && (0x43a40000 & is[i_18_ - 1][i_19_]) == 0 && (0x4e240000 & is[i_18_ - 1][1 + i_19_]) == 0) { + OpenGlShader.anIntArray7397[i_16_] = -1 + i_10_; + Component275.anIntArray2694[i_16_] = i_11_; + r.anIntArrayArray9723[-1 + i_12_][i_13_] = 2; + i_16_ = i_16_ + 1 & 0xfff; + DisplayModeManagerContainer369.anIntArrayArray2900[i_12_ + -1][i_13_] = i_20_; + } + if (i_12_ < 126 && (r.anIntArrayArray9723[i_12_ - -1][i_13_] == 0) && (0x60e40000 & is[2 + i_18_][i_19_]) == 0 && (is[i_18_ + 2][i_19_ + 1] & 0x78240000) == 0) { + OpenGlShader.anIntArray7397[i_16_] = 1 + i_10_; + Component275.anIntArray2694[i_16_] = i_11_; + r.anIntArrayArray9723[1 + i_12_][i_13_] = 8; + i_16_ = i_16_ + 1 & 0xfff; + DisplayModeManagerContainer369.anIntArrayArray2900[1 + i_12_][i_13_] = i_20_; + } + if (i_13_ > 0 && r.anIntArrayArray9723[i_12_][-1 + i_13_] == 0 && (0x43a40000 & is[i_18_][i_19_ - 1]) == 0 && ((is[i_18_ + 1][-1 + i_19_] & 0x60e40000) == 0)) { + OpenGlShader.anIntArray7397[i_16_] = i_10_; + Component275.anIntArray2694[i_16_] = i_11_ - 1; + r.anIntArrayArray9723[i_12_][i_13_ + -1] = 1; + i_16_ = 1 + i_16_ & 0xfff; + DisplayModeManagerContainer369.anIntArrayArray2900[i_12_][i_13_ + -1] = i_20_; + } + if (i_13_ < 126 && r.anIntArrayArray9723[i_12_][i_13_ + 1] == 0 && (is[i_18_][2 + i_19_] & 0x4e240000) == 0 && ((0x78240000 & is[1 + i_18_][2 + i_19_]) == 0)) { + OpenGlShader.anIntArray7397[i_16_] = i_10_; + Component275.anIntArray2694[i_16_] = 1 + i_11_; + i_16_ = 1 + i_16_ & 0xfff; + r.anIntArrayArray9723[i_12_][1 + i_13_] = 4; + DisplayModeManagerContainer369.anIntArrayArray2900[i_12_][i_13_ - -1] = i_20_; + } + if (i_12_ > 0 && i_13_ > 0 && r.anIntArrayArray9723[-1 + i_12_][i_13_ + -1] == 0 && (is[i_18_ + -1][i_19_] & 0x4fa40000) == 0 && (is[i_18_ - 1][i_19_ - 1] & 0x43a40000) == 0 && (is[i_18_][i_19_ - 1] & 0x63e40000) == 0) { + OpenGlShader.anIntArray7397[i_16_] = -1 + i_10_; + Component275.anIntArray2694[i_16_] = i_11_ - 1; + i_16_ = 0xfff & 1 + i_16_; + r.anIntArrayArray9723[i_12_ - 1][i_13_ - 1] = 3; + DisplayModeManagerContainer369.anIntArrayArray2900[-1 + i_12_][-1 + i_13_] = i_20_; + } + if (i_12_ < 126 && i_13_ > 0 && (r.anIntArrayArray9723[i_12_ + 1][-1 + i_13_] == 0) && (is[i_18_ - -1][i_19_ + -1] & 0x63e40000) == 0 && (0x60e40000 & is[2 + i_18_][-1 + i_19_]) == 0 && (is[i_18_ - -2][i_19_] & 0x78e40000) == 0) { + OpenGlShader.anIntArray7397[i_16_] = 1 + i_10_; + Component275.anIntArray2694[i_16_] = i_11_ + -1; + r.anIntArrayArray9723[1 + i_12_][-1 + i_13_] = 9; + i_16_ = 0xfff & i_16_ - -1; + DisplayModeManagerContainer369.anIntArrayArray2900[i_12_ - -1][i_13_ - 1] = i_20_; + } + if (i_12_ > 0 && i_13_ < 126 && r.anIntArrayArray9723[i_12_ - 1][1 + i_13_] == 0 && (is[i_18_ - 1][1 + i_19_] & 0x4fa40000) == 0 && (0x4e240000 & is[i_18_ - 1][2 + i_19_]) == 0 && (is[i_18_][i_19_ - -2] & 0x7e240000) == 0) { + OpenGlShader.anIntArray7397[i_16_] = i_10_ - 1; + Component275.anIntArray2694[i_16_] = i_11_ + 1; + r.anIntArrayArray9723[i_12_ + -1][1 + i_13_] = 6; + i_16_ = 1 + i_16_ & 0xfff; + DisplayModeManagerContainer369.anIntArrayArray2900[-1 + i_12_][1 + i_13_] = i_20_; + } + if (i_12_ < 126 && i_13_ < 126 && r.anIntArrayArray9723[i_12_ + 1][1 + i_13_] == 0 && (is[i_18_ - -1][i_19_ + 2] & 0x7e240000) == 0 && (is[i_18_ + 2][i_19_ - -2] & 0x78240000) == 0 && ((0x78e40000 & is[i_18_ + 2][1 + i_19_]) == 0)) { + OpenGlShader.anIntArray7397[i_16_] = i_10_ - -1; + Component275.anIntArray2694[i_16_] = 1 + i_11_; + i_16_ = 1 + i_16_ & 0xfff; + r.anIntArrayArray9723[1 + i_12_][i_13_ - -1] = 12; + DisplayModeManagerContainer369.anIntArrayArray2900[1 + i_12_][1 + i_13_] = i_20_; + } + } + DefinitionSub30.anInt9388 = i_10_; + Component95.anInt1753 = i_11_; + return false; + } + + final void method2008(int i, boolean bool) { + anInt3344++; + if (!this.aBoolean3355 == bool) { + this.aBoolean3355 = bool; + if (i >= -27) this.aClass60_3361 = null; + method2012(-23828); + } + } + + final void method2009(int i, byte i_21_) { + this.anInt3363 = i; + anInt3348++; + synchronized (this.aClass60_3360) { + this.aClass60_3360.clear(0); + } + synchronized (this.aClass60_3361) { + this.aClass60_3361.clear(0); + } + if (i_21_ < 94) anIntArray3347 = null; + synchronized (this.aClass60_3362) { + this.aClass60_3362.clear(0); + } + } + + final void method2010(int i, int i_22_) { + anInt3349++; + synchronized (aClass60_3350) { + aClass60_3350.processSoftEntries(2, i); + } + synchronized (this.aClass60_3360) { + this.aClass60_3360.processSoftEntries(i_22_ ^ ~0x2, i); + } + synchronized (this.aClass60_3361) { + this.aClass60_3361.processSoftEntries(i_22_ ^ ~0x2, i); + } + synchronized (this.aClass60_3362) { + this.aClass60_3362.processSoftEntries(2, i); + if (i_22_ != -1) method2013(null, (byte) 96); + } + } + + public static void method2011(byte i) { + anIntArray3347 = null; + if (i > -19) aCharArray3352 = null; + aCharArray3352 = null; + } + + final void method2012(int i) { + synchronized (aClass60_3350) { + aClass60_3350.clear(0); + } + anInt3356++; + synchronized (this.aClass60_3360) { + this.aClass60_3360.clear(0); + } + synchronized (this.aClass60_3361) { + this.aClass60_3361.clear(0); + } + synchronized (this.aClass60_3362) { + this.aClass60_3362.clear(0); + } + } + + static final void method2013(byte[] is, byte i) { + if (i != 112) method2007(84, 119, -100, null, 92, -110, 96, 62, 31, 11, 62); + anInt3357++; + Buffer class348_sub49 = new Buffer(is); + for (; ; ) { + int i_23_ = class348_sub49.readUnsignedByte(255); + if (i_23_ == 0) break; + if (i_23_ == 1) { + int[] is_28_ = Component268.anIntArray1432 = new int[6]; + is_28_[0] = class348_sub49.readUnsignedShort(i + 842397832); + is_28_[1] = class348_sub49.readUnsignedShort(i + 842397832); + is_28_[2] = class348_sub49.readUnsignedShort(842397944); + is_28_[3] = class348_sub49.readUnsignedShort(842397944); + is_28_[4] = class348_sub49.readUnsignedShort(842397944); + is_28_[5] = class348_sub49.readUnsignedShort(842397944); + } else if (i_23_ == 4) { + int i_24_ = class348_sub49.readUnsignedByte(255); + RuntimeException_Sub1.anIntArray4603 = new int[i_24_]; + for (int i_25_ = 0; i_24_ > i_25_; i_25_++) { + RuntimeException_Sub1.anIntArray4603[i_25_] = class348_sub49.readUnsignedShort(842397944); + if (RuntimeException_Sub1.anIntArray4603[i_25_] == 65535) RuntimeException_Sub1.anIntArray4603[i_25_] = -1; + } + } else if (i_23_ == 5) { + int i_26_ = class348_sub49.readUnsignedByte(255); + Component66.anIntArray6021 = new int[i_26_]; + for (int i_27_ = 0; i_27_ < i_26_; i_27_++) { + Component66.anIntArray6021[i_27_] = class348_sub49.readUnsignedShort(842397944); + if (Component66.anIntArray6021[i_27_] == 65535) Component66.anIntArray6021[i_27_] = -1; + } + } + } + } + + final void method2014(int i, boolean bool) { + aClass60_3350 = new NodeCache(i); + anInt3358++; + if (bool != true) this.aClass60_3362 = null; + } + + Component309(GameType class230, int i, boolean bool, CacheStore class45, CacheStore class45_29_) { + aClass60_3350 = new NodeCache(64); + this.aClass60_3360 = new NodeCache(500); + this.aClass60_3361 = new NodeCache(30); + this.aClass60_3362 = new NodeCache(50); + do { + try { + this.aBoolean3359 = bool; + this.aClass45_3345 = class45_29_; + aClass45_3343 = class45; + if (aClass45_3343 == null) break; + int i_30_ = aClass45_3343.getGroupCapacity(-1) + -1; + aClass45_3343.getFileCount(0, i_30_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("uha.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class45 != null ? "{...}" : "null") + ',' + (class45_29_ != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + static { + for (int i = 0; i < 26; i++) + aCharArray3352[i] = (char) (65 + i); + for (int i = 26; i < 52; i++) + aCharArray3352[i] = (char) (97 + i - 26); + for (int i = 52; i < 62; i++) + aCharArray3352[i] = (char) (-52 + (i + 48)); + aCharArray3352[62] = '+'; + aCharArray3352[63] = '/'; + } +} diff --git a/client/components/Component31.java b/client/components/Component31.java new file mode 100644 index 000000000..6ae3d9abe --- /dev/null +++ b/client/components/Component31.java @@ -0,0 +1,98 @@ +/* Component31 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component31 +/** + * RENAMED from `Class239_Sub6` (JODE-obfuscated). + * Evidence: subclass of Component339 (hierarchy) + */ extends Component339 { + static int[][] anIntArrayArray5894; + static int anInt5895; + static int anInt5896; + static int anInt5897; + static int anInt5898; + static int anInt5899; + static Component117 aClass355_5900; + static int anInt5901; + static int[] anIntArray5902 = new int[128]; + static int anInt5903; + + final int method1710(int i) { + if (i != 20014) method1712(-15, 91); + anInt5898++; + return 0; + } + + final int method1743(int i) { + anInt5896++; + if (i != -32350) return -65; + return this.anInt3138; + } + + final boolean method1744(int i) { + if (i <= 85) method1743(-113); + anInt5903++; + int i_0_ = this.aClass348_Sub51_3136.method3428((byte) -93).method1458(-23688); + return i_0_ >= 96; + } + + final void method1716(boolean bool) { + anInt5897++; + int i = this.aClass348_Sub51_3136.method3428((byte) -105).method1458(-23688); + if (i < 96) this.anInt3138 = 0; + if (bool != false) aClass355_5900 = null; + if (this.anInt3138 > 1 && i < 128) this.anInt3138 = 1; + if (this.anInt3138 > 2 && i < 192) this.anInt3138 = 2; + if (this.anInt3138 < 0 || this.anInt3138 > 3) this.anInt3138 = method1710(20014); + } + + final int method1714(int i, int i_1_) { + anInt5899++; + int i_2_ = this.aClass348_Sub51_3136.method3428((byte) -104).method1458(i ^ ~0x5c84); + if (i_2_ < 96) return 3; + if (i_1_ > 1 && i_2_ < 128) return 3; + if (i_1_ > i && i_2_ < 192) return 3; + return 1; + } + + final void method1712(int i, int i_3_) { + int i_4_ = -32 / ((82 - i) / 35); + anInt5901++; + this.anInt3138 = i_3_; + } + + static final int method1745(String string, int i) { + if (i != -65) method1745(null, 67); + anInt5895++; + return string.length() + 1; + } + + Component31(int i, NodeSub51 class348_sub51) { + super(i, class348_sub51); + } + + public static void method1746(int i) { + anIntArray5902 = null; + if (i != -15628) aClass355_5900 = null; + aClass355_5900 = null; + anIntArrayArray5894 = null; + } + + Component31(NodeSub51 class348_sub51) { + super(class348_sub51); + } + + static { + for (int i = 0; anIntArray5902.length > i; i++) + anIntArray5902[i] = -1; + for (int i = 65; i <= 90; i++) + anIntArray5902[i] = -65 + i; + for (int i = 97; i <= 122; i++) + anIntArray5902[i] = i - 97 + 26; + for (int i = 48; i <= 57; i++) + anIntArray5902[i] = i + -48 - -52; + anIntArray5902[42] = anIntArray5902[43] = 62; + anIntArray5902[45] = anIntArray5902[47] = 63; + } +} diff --git a/client/components/Component311.java b/client/components/Component311.java new file mode 100644 index 000000000..25c42e17e --- /dev/null +++ b/client/components/Component311.java @@ -0,0 +1,74 @@ +/* Component311 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component311 +/** + * RENAMED from `Class326` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt4083; + static int anInt4084; + private final CacheStore aClass45_4085; + static int anInt4086 = 0; + private NodeCache aClass60_4087 = new NodeCache(64); + static int anInt4088; + static int anInt4089; + + final Component355 method2600(int i, int i_0_) { + anInt4084++; + Component355 class254; + synchronized (aClass60_4087) { + class254 = (Component355) aClass60_4087.get(i, -67); + } + if (class254 != null) return class254; + if (i_0_ != 28364) anInt4086 = 117; + byte[] is; + synchronized (aClass45_4085) { + is = aClass45_4085.getFile(-1860, 11, i); + } + class254 = new Component355(); + if (is != null) class254.method1924(new Buffer(is), (byte) -127); + synchronized (aClass60_4087) { + aClass60_4087.putOne(class254, i, (byte) -114); + } + return class254; + } + + final void method2601(byte i) { + synchronized (aClass60_4087) { + aClass60_4087.clear(0); + int i_1_ = -46 / ((i - 3) / 47); + } + anInt4088++; + } + + final void method2602(int i) { + anInt4089++; + synchronized (aClass60_4087) { + aClass60_4087.method587(-91); + if (i != 0) aClass60_4087 = null; + } + } + + final void method2603(int i, int i_2_) { + synchronized (aClass60_4087) { + if (i_2_ != 11) return; + aClass60_4087.processSoftEntries(2, i); + } + anInt4083++; + } + + Component311(GameType class230, int i, CacheStore class45) { + do { + try { + aClass45_4085 = class45; + if (aClass45_4085 == null) break; + aClass45_4085.getFileCount(0, 11); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("dc.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } +} diff --git a/client/components/Component312.java b/client/components/Component312.java new file mode 100644 index 000000000..7cccc6c51 --- /dev/null +++ b/client/components/Component312.java @@ -0,0 +1,54 @@ +/* Component312 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jagdx.IDirect3DSurface; +import jagdx.IDirect3DSwapChain; + +final class Component312 +/** + * RENAMED from `Class53` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private IDirect3DSwapChain anIDirect3DSwapChain963; + private IDirect3DSurface anIDirect3DSurface964; + private IDirect3DSurface anIDirect3DSurface965; + + final int method495(byte i, int i_0_) { + if (i != 91) anIDirect3DSurface964 = null; + return anIDirect3DSwapChain963.Present(i_0_); + } + + final void method496(byte i) { + if (null != anIDirect3DSurface965) { + anIDirect3DSurface965.a(9275); + anIDirect3DSurface965 = null; + } + if (anIDirect3DSurface964 != null) { + anIDirect3DSurface964.a(9275); + anIDirect3DSurface964 = null; + } + int i_1_ = -115 / ((i - -20) / 51); + if (anIDirect3DSwapChain963 != null) { + anIDirect3DSwapChain963.a(9275); + anIDirect3DSwapChain963 = null; + } + } + + final void method497(IDirect3DSwapChain idirect3dswapchain, byte i, IDirect3DSurface idirect3dsurface) { + anIDirect3DSurface964 = idirect3dsurface; + if (i == -107) { + anIDirect3DSwapChain963 = idirect3dswapchain; + anIDirect3DSurface965 = anIDirect3DSwapChain963.a(0, 0); + } + } + + final boolean method498(int i) { + int i_2_ = -21 / ((7 - i) / 51); + return null != anIDirect3DSwapChain963; + } + + Component312(IDirect3DSwapChain idirect3dswapchain, IDirect3DSurface idirect3dsurface) { + method497(idirect3dswapchain, (byte) -107, idirect3dsurface); + } +} diff --git a/client/components/Component313.java b/client/components/Component313.java new file mode 100644 index 000000000..b94d8a61c --- /dev/null +++ b/client/components/Component313.java @@ -0,0 +1,244 @@ +/* Component313 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component313 +/** + * RENAMED from `Class214` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static final void method1573(int[] is, int i, int i_0_) { + i_0_ = i + i_0_ - 7; + while (i < i_0_) { + is[i++] = 0; + is[i++] = 0; + is[i++] = 0; + is[i++] = 0; + is[i++] = 0; + is[i++] = 0; + is[i++] = 0; + is[i++] = 0; + } + i_0_ += 7; + while (i < i_0_) is[i++] = 0; + } + + static final void method1574(float[] fs, int i, float[] fs_1_, int i_2_, int i_3_) { + if (fs == fs_1_) { + if (i == i_2_) return; + if (i_2_ > i && i_2_ < i + i_3_) { + i_3_--; + i += i_3_; + i_2_ += i_3_; + i_3_ = i - i_3_; + i_3_ += 7; + while (i >= i_3_) { + fs_1_[i_2_--] = fs[i--]; + fs_1_[i_2_--] = fs[i--]; + fs_1_[i_2_--] = fs[i--]; + fs_1_[i_2_--] = fs[i--]; + fs_1_[i_2_--] = fs[i--]; + fs_1_[i_2_--] = fs[i--]; + fs_1_[i_2_--] = fs[i--]; + fs_1_[i_2_--] = fs[i--]; + } + i_3_ -= 7; + while (i >= i_3_) fs_1_[i_2_--] = fs[i--]; + return; + } + } + i_3_ += i; + i_3_ -= 7; + while (i < i_3_) { + fs_1_[i_2_++] = fs[i++]; + fs_1_[i_2_++] = fs[i++]; + fs_1_[i_2_++] = fs[i++]; + fs_1_[i_2_++] = fs[i++]; + fs_1_[i_2_++] = fs[i++]; + fs_1_[i_2_++] = fs[i++]; + fs_1_[i_2_++] = fs[i++]; + fs_1_[i_2_++] = fs[i++]; + } + i_3_ += 7; + while (i < i_3_) fs_1_[i_2_++] = fs[i++]; + } + + /** Overlap-safe {@code Object[]} copy. */ + static final void arraycopyObjects(Object[] objects, int i, Object[] objects_4_, int i_5_, int i_6_) { + if (objects == objects_4_) { + if (i == i_5_) return; + if (i_5_ > i && i_5_ < i + i_6_) { + i_6_--; + i += i_6_; + i_5_ += i_6_; + i_6_ = i - i_6_; + i_6_ += 7; + while (i >= i_6_) { + objects_4_[i_5_--] = objects[i--]; + objects_4_[i_5_--] = objects[i--]; + objects_4_[i_5_--] = objects[i--]; + objects_4_[i_5_--] = objects[i--]; + objects_4_[i_5_--] = objects[i--]; + objects_4_[i_5_--] = objects[i--]; + objects_4_[i_5_--] = objects[i--]; + objects_4_[i_5_--] = objects[i--]; + } + i_6_ -= 7; + while (i >= i_6_) objects_4_[i_5_--] = objects[i--]; + return; + } + } + i_6_ += i; + i_6_ -= 7; + while (i < i_6_) { + objects_4_[i_5_++] = objects[i++]; + objects_4_[i_5_++] = objects[i++]; + objects_4_[i_5_++] = objects[i++]; + objects_4_[i_5_++] = objects[i++]; + objects_4_[i_5_++] = objects[i++]; + objects_4_[i_5_++] = objects[i++]; + objects_4_[i_5_++] = objects[i++]; + objects_4_[i_5_++] = objects[i++]; + } + i_6_ += 7; + while (i < i_6_) objects_4_[i_5_++] = objects[i++]; + } + + /** Overlap-safe {@code short[]} copy. */ + static final void arraycopyShorts(short[] is, int i, short[] is_7_, int i_8_, int i_9_) { + if (is == is_7_) { + if (i == i_8_) return; + if (i_8_ > i && i_8_ < i + i_9_) { + i_9_--; + i += i_9_; + i_8_ += i_9_; + i_9_ = i - i_9_; + i_9_ += 7; + while (i >= i_9_) { + is_7_[i_8_--] = is[i--]; + is_7_[i_8_--] = is[i--]; + is_7_[i_8_--] = is[i--]; + is_7_[i_8_--] = is[i--]; + is_7_[i_8_--] = is[i--]; + is_7_[i_8_--] = is[i--]; + is_7_[i_8_--] = is[i--]; + is_7_[i_8_--] = is[i--]; + } + i_9_ -= 7; + while (i >= i_9_) is_7_[i_8_--] = is[i--]; + return; + } + } + i_9_ += i; + i_9_ -= 7; + while (i < i_9_) { + is_7_[i_8_++] = is[i++]; + is_7_[i_8_++] = is[i++]; + is_7_[i_8_++] = is[i++]; + is_7_[i_8_++] = is[i++]; + is_7_[i_8_++] = is[i++]; + is_7_[i_8_++] = is[i++]; + is_7_[i_8_++] = is[i++]; + is_7_[i_8_++] = is[i++]; + } + i_9_ += 7; + while (i < i_9_) is_7_[i_8_++] = is[i++]; + } + + /** Overlap-safe {@code byte[]} copy (like {@link System#arraycopy}). */ + static final void arraycopy(byte[] is, int i, byte[] is_10_, int i_11_, int i_12_) { + if (is == is_10_) { + if (i == i_11_) return; + if (i_11_ > i && i_11_ < i + i_12_) { + i_12_--; + i += i_12_; + i_11_ += i_12_; + i_12_ = i - i_12_; + i_12_ += 7; + while (i >= i_12_) { + is_10_[i_11_--] = is[i--]; + is_10_[i_11_--] = is[i--]; + is_10_[i_11_--] = is[i--]; + is_10_[i_11_--] = is[i--]; + is_10_[i_11_--] = is[i--]; + is_10_[i_11_--] = is[i--]; + is_10_[i_11_--] = is[i--]; + is_10_[i_11_--] = is[i--]; + } + i_12_ -= 7; + while (i >= i_12_) is_10_[i_11_--] = is[i--]; + return; + } + } + i_12_ += i; + i_12_ -= 7; + while (i < i_12_) { + is_10_[i_11_++] = is[i++]; + is_10_[i_11_++] = is[i++]; + is_10_[i_11_++] = is[i++]; + is_10_[i_11_++] = is[i++]; + is_10_[i_11_++] = is[i++]; + is_10_[i_11_++] = is[i++]; + is_10_[i_11_++] = is[i++]; + is_10_[i_11_++] = is[i++]; + } + i_12_ += 7; + while (i < i_12_) is_10_[i_11_++] = is[i++]; + } + + static final void method1578(int[] is, int i, int[] is_13_, int i_14_, int i_15_) { + if (is == is_13_) { + if (i == i_14_) return; + if (i_14_ > i && i_14_ < i + i_15_) { + i_15_--; + i += i_15_; + i_14_ += i_15_; + i_15_ = i - i_15_; + i_15_ += 7; + while (i >= i_15_) { + is_13_[i_14_--] = is[i--]; + is_13_[i_14_--] = is[i--]; + is_13_[i_14_--] = is[i--]; + is_13_[i_14_--] = is[i--]; + is_13_[i_14_--] = is[i--]; + is_13_[i_14_--] = is[i--]; + is_13_[i_14_--] = is[i--]; + is_13_[i_14_--] = is[i--]; + } + i_15_ -= 7; + while (i >= i_15_) is_13_[i_14_--] = is[i--]; + return; + } + } + i_15_ += i; + i_15_ -= 7; + while (i < i_15_) { + is_13_[i_14_++] = is[i++]; + is_13_[i_14_++] = is[i++]; + is_13_[i_14_++] = is[i++]; + is_13_[i_14_++] = is[i++]; + is_13_[i_14_++] = is[i++]; + is_13_[i_14_++] = is[i++]; + is_13_[i_14_++] = is[i++]; + is_13_[i_14_++] = is[i++]; + } + i_15_ += 7; + while (i < i_15_) is_13_[i_14_++] = is[i++]; + } + + static final void method1579(int[] is, int i, int i_16_, int i_17_) { + i_16_ = i + i_16_ - 7; + while (i < i_16_) { + is[i++] = i_17_; + is[i++] = i_17_; + is[i++] = i_17_; + is[i++] = i_17_; + is[i++] = i_17_; + is[i++] = i_17_; + is[i++] = i_17_; + is[i++] = i_17_; + } + i_16_ += 7; + while (i < i_16_) is[i++] = i_17_; + } +} diff --git a/client/components/Component314.java b/client/components/Component314.java new file mode 100644 index 000000000..978f1f84f --- /dev/null +++ b/client/components/Component314.java @@ -0,0 +1,45 @@ +/* Component314 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.awt.*; + +final class Component314 +/** + * RENAMED from `Class306` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3872 = -1; + static int[] anIntArray3873 = new int[13]; + static int anInt3874; + static int anInt3875; + static int anInt3876; + + /** Construct an {@link OpenGLToolkit} for {@code canvas} (desktop GL path). */ + static final GraphicsToolkit createOpenGLToolkit(int i, int i_0_, d var_d, Canvas canvas, int i_1_) { + try { + if (i != -6) createOpenGLToolkit(23, -44, null, null, -57); + anInt3875++; + return new OpenGLToolkit(canvas, var_d, i_1_, i_0_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ws.C(" + i + ',' + i_0_ + ',' + (var_d != null ? "{...}" : "null") + ',' + (canvas != null ? "{...}" : "null") + ',' + i_1_ + ')')); + } + } + + static final void method2298(byte i, String string) { + anInt3876++; + if (RequestProcessor.aClass19Array2261 != null) { + DisplayModeManagerContainer96.anInt4698++; + ParticleSystem class348_sub47 = ParticleShader.method2148(Component186.aClass351_4405, DisplayModeManagerContainer64.aClass77_9029, -97); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, Component31.method1745(string, -65)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); + if (i > -50) createOpenGLToolkit(104, 26, null, null, -19); + HashNodeSub14.method3243(-43, class348_sub47); + } + } + + public static void method2299(byte i) { + anIntArray3873 = null; + if (i != -128) createOpenGLToolkit(66, -48, null, null, 100); + } +} diff --git a/client/components/Component315.java b/client/components/Component315.java new file mode 100644 index 000000000..0cc57862d --- /dev/null +++ b/client/components/Component315.java @@ -0,0 +1,132 @@ +/* Component315 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component315 +/** + * RENAMED from `Class243` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3157; + static int anInt3158; + static int anInt3159; + static int anInt3160; + static int anInt3161; + static int anInt3162; + static int anInt3163; + static int anInt3164; + static StringCache aClass351_3165 = new StringCache(60, 8); + private final Renderable aClass318_3166 = new Renderable(); + private Renderable aClass318_3167; + static int anInt3168; + + final void method1869(int i, Renderable class318) { + if (class318.previous != null) class318.unlink(false); + anInt3158++; + class318.previous = aClass318_3166.previous; + if (i > -81) aClass318_3167 = null; + class318.next = aClass318_3166; + class318.previous.next = class318; + class318.next.previous = class318; + } + + final Renderable method1870(int i) { + if (i > -103) aClass318_3167 = null; + anInt3162++; + Renderable class318 = aClass318_3166.previous; + if (aClass318_3166 == class318) { + aClass318_3167 = null; + return null; + } + aClass318_3167 = class318.previous; + return class318; + } + + final boolean method1871(byte i) { + anInt3157++; + if (i <= 98) method1879(true); + return aClass318_3166 == aClass318_3166.next; + } + + final Renderable method1872(int i) { + anInt3163++; + Renderable class318 = aClass318_3166.next; + if (i != 8) method1878((byte) 126); + if (class318 == aClass318_3166) { + aClass318_3167 = null; + return null; + } + aClass318_3167 = class318.next; + return class318; + } + + public static void method1873(byte i) { + if (i > -111) aClass351_3165 = null; + aClass351_3165 = null; + } + + final int method1874(int i) { + anInt3161++; + int i_0_ = i; + for (Renderable class318 = aClass318_3166.next; aClass318_3166 != class318; class318 = class318.next) + i_0_++; + return i_0_; + } + + final Renderable method1875(int i) { + anInt3160++; + Renderable class318 = aClass318_3166.next; + if (class318 == aClass318_3166) return null; + class318.unlink(false); + if (i != 60) method1878((byte) 16); + return class318; + } + + final void method1876(byte i) { + if (i == -45) { + anInt3168++; + for (; ; ) { + Renderable class318 = aClass318_3166.next; + if (class318 == aClass318_3166) break; + class318.unlink(false); + } + aClass318_3167 = null; + } + } + + static final void method1877(GraphicsToolkit var_ha, int i) { + anInt3164++; + if (i >= -20) method1877(null, -112); + for (RenderableSub10 class318_sub10 = (RenderableSub10) InflaterDecompressor.aClass243_2077.method1872(8); class318_sub10 != null; class318_sub10 = (RenderableSub10) InflaterDecompressor.aClass243_2077.method1878((byte) 124)) { + if (class318_sub10.aBoolean6482) class318_sub10.method2528(var_ha); + } + } + + final Renderable method1878(byte i) { + anInt3159++; + Renderable class318 = aClass318_3167; + int i_1_ = -59 % ((67 - i) / 55); + if (class318 == aClass318_3166) { + aClass318_3167 = null; + return null; + } + aClass318_3167 = class318.next; + return class318; + } + + static final void method1879(boolean bool) { + if (bool) { + Component335.aClass357ArrayArrayArray2029 = ImageProducerSprite.aClass357ArrayArrayArray9082; + ShaderSub1.aSArray5191 = Component9.aSArray4142; + } else { + Component335.aClass357ArrayArrayArray2029 = Component304.aClass357ArrayArrayArray1148; + ShaderSub1.aSArray5191 = NodeSub1Sub1.aSArray8801; + } + Component291.anInt2524 = Component335.aClass357ArrayArrayArray2029.length; + } + + public Component315() { + aClass318_3166.previous = aClass318_3166; + aClass318_3166.next = aClass318_3166; + } +} diff --git a/client/components/Component316.java b/client/components/Component316.java new file mode 100644 index 000000000..2ea336ed6 --- /dev/null +++ b/client/components/Component316.java @@ -0,0 +1,95 @@ +/* Component316 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component316 +/** + * RENAMED from `Class185` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private final NodeCache aClass60_2479 = new NodeCache(64); + private final CacheStore aClass45_2480; + static int anInt2481; + static int anInt2482; + static Component183 aClass114_2483; + static int anInt2484; + static int anInt2485; + static int anInt2486; + static int anInt2487; + static char[] aCharArray2488 = {' ', '\u00a0', '_', '-', '\u00e0', '\u00e1', '\u00e2', '\u00e4', '\u00e3', '\u00c0', '\u00c1', '\u00c2', '\u00c4', '\u00c3', '\u00e8', '\u00e9', '\u00ea', '\u00eb', '\u00c8', '\u00c9', '\u00ca', '\u00cb', '\u00ed', '\u00ee', '\u00ef', '\u00cd', '\u00ce', '\u00cf', '\u00f2', '\u00f3', '\u00f4', '\u00f6', '\u00f5', '\u00d2', '\u00d3', '\u00d4', '\u00d6', '\u00d5', '\u00f9', '\u00fa', '\u00fb', '\u00fc', '\u00d9', '\u00da', '\u00db', '\u00dc', '\u00e7', '\u00c7', '\u00ff', '\u0178', '\u00f1', '\u00d1', '\u00df'}; + static DisplayModeManagerContainer369 aClass223_2489; + + final void method1390(int i) { + synchronized (aClass60_2479) { + int i_0_ = 25 / ((i - 69) / 33); + aClass60_2479.method587(-98); + } + anInt2486++; + } + + final Component193 method1391(byte i, int i_1_) { + anInt2485++; + Component193 class253; + synchronized (aClass60_2479) { + class253 = (Component193) aClass60_2479.get(i_1_, 96); + } + if (class253 != null) return class253; + byte[] is; + synchronized (aClass45_2480) { + is = aClass45_2480.getFile(-1860, 31, i_1_); + } + class253 = new Component193(); + int i_2_ = 50 / ((i - -63) / 56); + if (is != null) class253.method1921((byte) -69, new Buffer(is)); + synchronized (aClass60_2479) { + aClass60_2479.putOne(class253, i_1_, (byte) -108); + } + return class253; + } + + final void method1392(int i, int i_3_) { + synchronized (aClass60_2479) { + aClass60_2479.processSoftEntries(2, i_3_); + } + if (i >= 12) anInt2484++; + } + + final void method1393(byte i) { + synchronized (aClass60_2479) { + aClass60_2479.clear(0); + int i_4_ = -89 % ((42 - i) / 50); + } + anInt2487++; + } + + static final void method1394(int i, int i_5_, int i_6_) { + boolean bool = (Component335.aClass357ArrayArrayArray2029[0][i_5_][i_6_] != null && Component335.aClass357ArrayArrayArray2029[0][i_5_][i_6_].aClass357_4400 != null); + for (int i_7_ = i; i_7_ >= 0; i_7_--) { + if (Component335.aClass357ArrayArrayArray2029[i_7_][i_5_][i_6_] == null) { + Component186 class357 = (Component335.aClass357ArrayArrayArray2029[i_7_][i_5_][i_6_] = new Component186(i_7_)); + if (bool) class357.aByte4399++; + } + } + } + + Component316(GameType class230, int i, CacheStore class45) { + try { + aClass45_2480 = class45; + aClass45_2480.getFileCount(0, 31); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qf.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); + } + } + + public static void method1395(byte i) { + aClass114_2483 = null; + aCharArray2488 = null; + aClass223_2489 = null; + if (i != 82) method1394(120, -36, -100); + } + + static { + aClass114_2483 = new Component183(47, 6); + aClass223_2489 = new DisplayModeManagerContainer369(3, 2); + } +} diff --git a/client/components/Component317.java b/client/components/Component317.java new file mode 100644 index 000000000..ca012fe73 --- /dev/null +++ b/client/components/Component317.java @@ -0,0 +1,192 @@ +/* Component317 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component317 +/** + * RENAMED from `Class59_Sub2_Sub2` (JODE-obfuscated). + * Evidence: subclass of Component185 (hierarchy) + */ extends Component185 { + static int anInt8675; + static int anInt8676; + static int anInt8677; + static int anInt8678; + static LruCache aClass356_8679 = new LruCache(16); + static int anInt8680; + private byte[] aByteArray8681; + static int anInt8682; + static Component183 aClass114_8683 = new Component183(100, -1); + static int[] anIntArray8684; + static int anInt8685; + + static final void method569(byte i, Buffer class348_sub49) { + anInt8675++; + int i_0_ = class348_sub49.readSmart(-128); + BasicMouseHandler.aClass283Array7446 = new Component69[i_0_]; + for (int i_1_ = 0; i_0_ > i_1_; i_1_++) { + BasicMouseHandler.aClass283Array7446[i_1_] = new Component69(); + BasicMouseHandler.aClass283Array7446[i_1_].anInt3657 = class348_sub49.readSmart(-124); + BasicMouseHandler.aClass283Array7446[i_1_].aString3663 = class348_sub49.readGjstr2(-13487); + } + DisplayModeManagerContainer343.anInt8731 = class348_sub49.readSmart(-127); + Component284.anInt6151 = class348_sub49.readSmart(-119); + Component241.anInt2956 = class348_sub49.readSmart(-122); + OutputStream_Sub1.aClass110_Sub1Array97 = new Component362[1 + (Component284.anInt6151 + -DisplayModeManagerContainer343.anInt8731)]; + for (int i_2_ = 0; Component241.anInt2956 > i_2_; i_2_++) { + int i_3_ = class348_sub49.readSmart(-126); + Component362 class110_sub1 = (OutputStream_Sub1.aClass110_Sub1Array97[i_3_] = new Component362()); + class110_sub1.anInt1711 = class348_sub49.readUnsignedByte(255); + class110_sub1.anInt1708 = class348_sub49.readInt((byte) -126); + class110_sub1.anInt5786 = DisplayModeManagerContainer343.anInt8731 + i_3_; + class110_sub1.aString5787 = class348_sub49.readGjstr2(-13487); + class110_sub1.aString5794 = class348_sub49.readGjstr2(-13487); + } + Component364.anInt8349 = class348_sub49.readInt((byte) -126); + Component195.aBoolean5013 = true; + if (i > -110) method569((byte) -34, null); + } + + public static void method570(int i) { + if (i < 51) method570(-85); + aClass114_8683 = null; + anIntArray8684 = null; + aClass356_8679 = null; + } + + public Component317() { + super(12, 5, 16, 2, 2, 0.45F); + } + + final byte[] method571(int i, byte i_4_, int i_5_, int i_6_) { + aByteArray8681 = new byte[i_5_ * (i_6_ * (i * 2))]; + int i_7_ = -82 % ((i_4_ - 70) / 37); + anInt8678++; + this.method542(i, i_6_, 0, i_5_); + return aByteArray8681; + } + + final void method563(byte i, int i_8_, byte i_9_) { + anInt8682++; + i_9_ = (byte) (127 + ((0xff & i_9_) >> 1)); + int i_10_ = 2 * i_8_; + aByteArray8681[i_10_++] = i_9_; + aByteArray8681[i_10_] = i_9_; + if (i <= 79) method574(-29, -37, 73, null, true, (byte) -64, 2, -112, 50, null, -65, null, -92, 30, -5); + } + + /** Escape {@code <}/{@code >} as {@code }/{@code } for safe display. */ + static final String escapeAngleBrackets(String string, int i) { + anInt8677++; + if (i != 23034) aClass356_8679 = null; + int i_11_ = string.length(); + int i_12_ = 0; + for (int i_13_ = 0; i_11_ > i_13_; i_13_++) { + char c = string.charAt(i_13_); + if (c == '<' || c == '>') i_12_ += 3; + } + StringBuffer stringbuffer = new StringBuffer(i_12_ + i_11_); + for (int i_14_ = 0; i_14_ < i_11_; i_14_++) { + char c = string.charAt(i_14_); + if (c != 60) { + if (c != 62) stringbuffer.append(c); + else stringbuffer.append(""); + } else stringbuffer.append(""); + } + return stringbuffer.toString(); + } + + static final void method573(HashNode class348_sub42, HashNode class348_sub42_15_, byte i) { + try { + if (class348_sub42.previous != null) class348_sub42.unlink(true); + anInt8680++; + class348_sub42.previous = class348_sub42_15_; + class348_sub42.next = class348_sub42_15_.next; + if (i != 63) anInt8685 = 110; + class348_sub42.previous.next = class348_sub42; + class348_sub42.next.previous = class348_sub42; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wd.F(" + (class348_sub42 != null ? "{...}" : "null") + ',' + (class348_sub42_15_ != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + static final int method574(int i, int i_16_, int i_17_, int[] is, boolean bool, byte i_18_, int i_19_, int i_20_, int i_21_, int[] is_22_, int i_23_, TeleportHandler class361, int i_24_, int i_25_, int i_26_) { + try { + for (int i_27_ = 0; i_27_ < 128; i_27_++) { + for (int i_28_ = 0; i_28_ < 128; i_28_++) { + r.anIntArrayArray9723[i_27_][i_28_] = 0; + DisplayModeManagerContainer369.anIntArrayArray2900[i_27_][i_28_] = 99999999; + } + } + anInt8676++; + boolean bool_29_; + if (i_16_ != 1) { + if (i_16_ == 2) bool_29_ = Component309.method2007(i_19_, -125, i_23_, class361, i, i_21_, i_24_, i_17_, i_25_, i_20_, i_26_); + else bool_29_ = Component291.method1420(i_24_, i_26_, -73, i_21_, i_17_, i, i_20_, i_25_, i_16_, class361, i_19_, i_23_); + } else bool_29_ = Component364.method187(i, i_23_, i_21_, i_26_, i_25_, i_24_, class361, i_19_, i_17_, i_20_, 1109655552); + int i_30_ = i_20_ - 64; + int i_31_ = i_21_ + -64; + int i_32_ = DefinitionSub30.anInt9388; + int i_33_ = Component95.anInt1753; + if (!bool_29_) { + if (!bool) return -1; + int i_34_ = 2147483647; + int i_35_ = 2147483647; + int i_36_ = 10; + for (int i_37_ = -i_36_ + i; i - -i_36_ >= i_37_; i_37_++) { + for (int i_38_ = i_23_ - i_36_; i_38_ <= i_23_ - -i_36_; i_38_++) { + int i_39_ = i_37_ - i_30_; + int i_40_ = -i_31_ + i_38_; + if (i_39_ >= 0 && i_40_ >= 0 && i_39_ < 128 && i_40_ < 128 && (DisplayModeManagerContainer369.anIntArrayArray2900[i_39_][i_40_] < 100)) { + int i_41_ = 0; + if (i <= i_37_) { + if (-1 + i_24_ + i < i_37_) i_41_ = i_37_ - -1 - (i + i_24_); + } else i_41_ = -i_37_ + i; + int i_42_ = 0; + if (i_38_ >= i_23_) { + if (i_17_ + (i_23_ - 1) < i_38_) i_42_ = -i_17_ - i_23_ - (-1 - i_38_); + } else i_42_ = -i_38_ + i_23_; + int i_43_ = i_41_ * i_41_ + i_42_ * i_42_; + if (i_43_ < i_34_ || i_34_ == i_43_ && ((DisplayModeManagerContainer369.anIntArrayArray2900[i_39_][i_40_]) < i_35_)) { + i_34_ = i_43_; + i_32_ = i_37_; + i_35_ = (DisplayModeManagerContainer369.anIntArrayArray2900[i_39_][i_40_]); + i_33_ = i_38_; + } + } + } + } + if (i_34_ == 2147483647) return -1; + } + if (i_20_ == i_32_ && i_33_ == i_21_) return 0; + int i_44_ = 0; + if (i_18_ != 120) aClass114_8683 = null; + OpenGlShader.anIntArray7397[i_44_] = i_32_; + Component275.anIntArray2694[i_44_++] = i_33_; + int i_46_; + int i_45_ = (i_46_ = r.anIntArrayArray9723[i_32_ + -i_30_][-i_31_ + i_33_]); + while (i_32_ != i_20_ || i_33_ != i_21_) { + if (i_46_ != i_45_) { + OpenGlShader.anIntArray7397[i_44_] = i_32_; + i_46_ = i_45_; + Component275.anIntArray2694[i_44_++] = i_33_; + } + if ((i_45_ & 0x2) == 0) { + if ((0x8 & i_45_) != 0) i_32_--; + } else i_32_++; + if ((0x1 & i_45_) == 0) { + if ((0x4 & i_45_) != 0) i_33_--; + } else i_33_++; + i_45_ = r.anIntArrayArray9723[-i_30_ + i_32_][i_33_ + -i_31_]; + } + int i_47_ = 0; + while (i_44_-- > 0) { + is_22_[i_47_] = OpenGlShader.anIntArray7397[i_44_]; + is[i_47_++] = Component275.anIntArray2694[i_44_]; + if (is_22_.length <= i_47_) break; + } + return i_47_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wd.B(" + i + ',' + i_16_ + ',' + i_17_ + ',' + (is != null ? "{...}" : "null") + ',' + bool + ',' + i_18_ + ',' + i_19_ + ',' + i_20_ + ',' + i_21_ + ',' + (is_22_ != null ? "{...}" : "null") + ',' + i_23_ + ',' + (class361 != null ? "{...}" : "null") + ',' + i_24_ + ',' + i_25_ + ',' + i_26_ + ')')); + } + } +} diff --git a/client/components/Component319.java b/client/components/Component319.java new file mode 100644 index 000000000..215ae6289 --- /dev/null +++ b/client/components/Component319.java @@ -0,0 +1,50 @@ +/* Component319 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component319 +/** + * RENAMED from `Class12` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + byte aByte198; + boolean aBoolean199; + int anInt200; + byte aByte201; + byte aByte202; + int anInt203; + boolean aBoolean204; + byte aByte205; + int anInt206; + boolean aBoolean207; + short aShort208; + boolean aBoolean209; + static int anInt210; + byte aByte211; + boolean aBoolean212; + byte aByte213; + static int anInt214; + boolean aBoolean215; + byte aByte216; + boolean aBoolean217; + boolean aBoolean218; + + static final void method223(int i, int i_0_, int i_1_, int i_2_, byte i_3_) { + if (i_2_ > i) MenuOpener.fillInts(-27, i_2_, DisplayModeManagerContainer167.anIntArrayArray255[i_1_], i, i_0_); + else MenuOpener.fillInts(-27, i, DisplayModeManagerContainer167.anIntArrayArray255[i_1_], i_2_, i_0_); + anInt214++; + if (i_3_ >= 20) { + /* empty */ + } + } + + static final void method224(byte i, int[][] is) { + DisplayModeManagerContainer167.anIntArrayArray255 = is; + anInt210++; + if (i != -40) method224((byte) 100, null); + } + + public Component319() { + /* empty */ + } +} diff --git a/client/components/Component321.java b/client/components/Component321.java new file mode 100644 index 000000000..9cefe9e3e --- /dev/null +++ b/client/components/Component321.java @@ -0,0 +1,89 @@ +/* Component321 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.awt.*; + +final class Component321 +/** + * RENAMED from `Class193` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2583; + int anInt2584; + private final GlExtensionManager aClass377_2585; + static int anInt2586; + static StringCache aClass351_2587 = new StringCache(38, 7); + static int anInt2588; + static Connection aClass202_2589; + static int anInt2590; + + static final AudioLine method1439(int i, ReflectionInvoker class297, Component component, int i_0_, int i_1_) { + try { + anInt2583++; + if (Component231.sampleRate == 0) throw new IllegalStateException(); + if (i_0_ < 0 || i_0_ >= 2) throw new IllegalArgumentException(); + if (i < 256) i = 256; + try { + AudioLine class279 = new SourceAudioLine(); + class279.anInt3620 = i; + class279.anIntArray3603 = new int[(Component21.stereo ? 2 : 1) * 256]; + class279.initOnComponent(component); + class279.anInt3613 = (i & ~0x3ff) + 1024; + if (class279.anInt3613 > 16384) class279.anInt3613 = 16384; + class279.open(class279.anInt3613); + if (Component193.audioThreadPriority > 0 && Component191.aClass250_2462 == null) { + Component191.aClass250_2462 = new AudioMixer(); + Component191.aClass250_2462.invoker = class297; + class297.startThread(Component191.aClass250_2462, -10240, Component193.audioThreadPriority); + } + if (Component191.aClass250_2462 != null) { + if ((Component191.aClass250_2462.lines[i_0_]) != null) throw new IllegalArgumentException(); + Component191.aClass250_2462.lines[i_0_] = class279; + } + if (i_1_ != 7) method1440(107); + return class279; + } catch (Throwable throwable) { + try { + AudioLineSub2 class279_sub2 = new AudioLineSub2(class297, i_0_); + class279_sub2.anInt3620 = i; + class279_sub2.anIntArray3603 = new int[(!Component21.stereo ? 1 : 2) * 256]; + class279_sub2.initOnComponent(component); + class279_sub2.anInt3613 = 16384; + class279_sub2.open(class279_sub2.anInt3613); + if (Component193.audioThreadPriority > 0 && Component191.aClass250_2462 == null) { + Component191.aClass250_2462 = new AudioMixer(); + Component191.aClass250_2462.invoker = class297; + class297.startThread(Component191.aClass250_2462, -10240, Component193.audioThreadPriority); + } + if (Component191.aClass250_2462 != null) { + if ((Component191.aClass250_2462.lines[i_0_]) != null) throw new IllegalArgumentException(); + Component191.aClass250_2462.lines[i_0_] = class279_sub2; + } + return class279_sub2; + } catch (Throwable throwable_2_) { + return new AudioLine(); + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qr.A(" + i + ',' + (class297 != null ? "{...}" : "null") + ',' + (component != null ? "{...}" : "null") + ',' + i_0_ + ',' + i_1_ + ')')); + } + } + + protected final void finalize() throws Throwable { + anInt2588++; + aClass377_2585.method3971(16386, this.anInt2584); + super.finalize(); + } + + Component321(GlExtensionManager class377, int i, int i_3_) { + aClass377_2585 = class377; + this.anInt2584 = i_3_; + } + + public static void method1440(int i) { + aClass202_2589 = null; + int i_4_ = -79 / ((i - -45) / 46); + aClass351_2587 = null; + } +} diff --git a/client/components/Component323.java b/client/components/Component323.java new file mode 100644 index 000000000..6a0fed79b --- /dev/null +++ b/client/components/Component323.java @@ -0,0 +1,90 @@ +/* Component323 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component323 +/** + * RENAMED from `Class239_Sub4` (JODE-obfuscated). + * Evidence: subclass of Component339 (hierarchy) + */ extends Component339 { + static int anInt5872; + static int anInt5873; + static float[] aFloatArray5874 = new float[16384]; + static int anInt5875; + static float[] aFloatArray5876 = new float[16384]; + static int anInt5877; + static CacheStore aClass45_5878; + static int anInt5879; + static int anInt5880; + static Request aClass348_Sub26_5881; + static String aString5882; + static Component183 aClass114_5883; + + final void method1716(boolean bool) { + if (bool != false) method1736(-57); + anInt5880++; + if (this.aClass348_Sub51_3136.method3422(674) != RunescapeInfo.RUNESCAPE) this.anInt3138 = 1; + else if (this.aClass348_Sub51_3136.method3425(-95)) this.anInt3138 = 0; + if (this.anInt3138 != 0 && this.anInt3138 != 1) this.anInt3138 = method1710(20014); + } + + final void method1712(int i, int i_0_) { + int i_1_ = 107 / ((i - 82) / 35); + anInt5879++; + this.anInt3138 = i_0_; + } + + final boolean method1736(int i) { + anInt5873++; + if (this.aClass348_Sub51_3136.method3425(-80)) return false; + if (i < 85) method1716(true); + return this.aClass348_Sub51_3136.method3422(674) == RunescapeInfo.RUNESCAPE; + } + + Component323(NodeSub51 class348_sub51) { + super(class348_sub51); + } + + final int method1710(int i) { + if (i != 20014) aClass114_5883 = null; + anInt5877++; + return 1; + } + + final int method1737(int i) { + if (i != -32350) method1716(true); + anInt5875++; + return this.anInt3138; + } + + final int method1714(int i, int i_2_) { + if (i != 3) aString5882 = null; + anInt5872++; + if (this.aClass348_Sub51_3136.method3425(-63)) return 3; + if (this.aClass348_Sub51_3136.method3422(674) == RunescapeInfo.RUNESCAPE) return 1; + return 3; + } + + public static void method1738(int i) { + aClass45_5878 = null; + aFloatArray5874 = null; + aString5882 = null; + if (i != 21921) method1738(11); + aFloatArray5876 = null; + aClass348_Sub26_5881 = null; + aClass114_5883 = null; + } + + Component323(int i, NodeSub51 class348_sub51) { + super(i, class348_sub51); + } + + static { + double d = 3.834951969714103E-4; + for (int i = 0; i < 16384; i++) { + aFloatArray5874[i] = (float) Math.sin(d * (double) i); + aFloatArray5876[i] = (float) Math.cos((double) i * d); + } + aClass114_5883 = new Component183(34, 12); + } +} diff --git a/client/components/Component324.java b/client/components/Component324.java new file mode 100644 index 000000000..ab71aa134 --- /dev/null +++ b/client/components/Component324.java @@ -0,0 +1,111 @@ +/* Component324 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component324 +/** + * RENAMED from `Class150` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static Component22 aClass113_2047; + private CacheStore aClass45_2048; + static int anInt2049; + private final NodeCache aClass60_2050 = new NodeCache(64); + static int anInt2051; + static int anInt2052; + static int anInt2053; + CacheStore aClass45_2054; + static int anInt2055; + static int anInt2056; + static int anInt2057 = 0; + + static final void method1202(int i) { + anInt2052++; + int[] is = new int[Exception_Sub1.itemDefinitions.itemCount]; + int i_0_ = i; + for (int i_1_ = 0; Exception_Sub1.itemDefinitions.itemCount > i_1_; i_1_++) { + ItemDefinition class213 = Exception_Sub1.itemDefinitions.getItemDefinition(-104, i_1_); + if (class213.anInt2815 >= 0 || class213.anInt2788 >= 0) is[i_0_++] = i_1_; + } + Component361.anIntArray369 = new int[i_0_]; + for (int i_2_ = 0; i_2_ < i_0_; i_2_++) + Component361.anIntArray369[i_2_] = is[i_2_]; + } + + final Component225 method1203(byte i, int i_3_) { + anInt2056++; + if (i != 33) aClass45_2048 = null; + Component225 class34; + synchronized (aClass60_2050) { + class34 = (Component225) aClass60_2050.get(i_3_, -58); + } + if (class34 != null) return class34; + byte[] is; + synchronized (aClass45_2048) { + is = aClass45_2048.getFile(i + -1893, 3, i_3_); + } + class34 = new Component225(); + class34.aClass150_475 = this; + if (is != null) class34.method346(~i, new Buffer(is)); + synchronized (aClass60_2050) { + aClass60_2050.putOne(class34, i_3_, (byte) -109); + } + return class34; + } + + final void method1204(int i) { + synchronized (aClass60_2050) { + aClass60_2050.method587(-93); + } + anInt2049++; + if (i != 0) aClass45_2048 = null; + } + + static final HashNodeSub14 method1205(int i, boolean bool, CacheStore class45, int i_4_) { + anInt2053++; + Buffer class348_sub49 = new Buffer(class45.getFile(-1860, i_4_, i)); + if (bool != true) method1208(102); + HashNodeSub14 class348_sub42_sub14 = new HashNodeSub14(i, class348_sub49.readString((byte) 88), class348_sub49.readString((byte) 120), class348_sub49.readInt((byte) -126), class348_sub49.readInt((byte) -126), class348_sub49.readUnsignedByte(255) == 1, class348_sub49.readUnsignedByte(255), class348_sub49.readUnsignedByte(255)); + int i_5_ = class348_sub49.readUnsignedByte(255); + for (int i_6_ = 0; i_6_ < i_5_; i_6_++) + class348_sub42_sub14.aClass262_9629.addTail(new NodeSub18(class348_sub49.readUnsignedByte(255), class348_sub49.readUnsignedShort(842397944), class348_sub49.readUnsignedShort(842397944), class348_sub49.readUnsignedShort(842397944), class348_sub49.readUnsignedShort(842397944), class348_sub49.readUnsignedShort(842397944), class348_sub49.readUnsignedShort(842397944), class348_sub49.readUnsignedShort(842397944), class348_sub49.readUnsignedShort(842397944)), -20180); + class348_sub42_sub14.method3240((byte) 37); + return class348_sub42_sub14; + } + + final void method1206(byte i) { + if (i != -37) aClass45_2048 = null; + anInt2051++; + synchronized (aClass60_2050) { + aClass60_2050.clear(0); + } + } + + final void method1207(int i, int i_7_) { + anInt2055++; + if (i == -17452) { + synchronized (aClass60_2050) { + aClass60_2050.processSoftEntries(i + 17454, i_7_); + } + } + } + + public static void method1208(int i) { + aClass113_2047 = null; + int i_8_ = -65 / ((i - -58) / 57); + } + + Component324(GameType class230, int i, CacheStore class45, CacheStore class45_9_) { + try { + this.aClass45_2054 = class45_9_; + aClass45_2048 = class45; + aClass45_2048.getFileCount(0, 3); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("oha.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ',' + (class45_9_ != null ? "{...}" : "null") + ')')); + } + } + + static { + aClass113_2047 = new Component22(); + } +} diff --git a/client/components/Component325.java b/client/components/Component325.java new file mode 100644 index 000000000..e839fcc4d --- /dev/null +++ b/client/components/Component325.java @@ -0,0 +1,82 @@ +/* Component325 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component325 +/** + * RENAMED from `Class69` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt1191; + static int anInt1192; + static int anInt1193; + static int anInt1194; + static Component325 aClass69_1195 = new Component325(); + static int anInt1196; + static Component325 aClass69_1197 = new Component325(); + static Component325 aClass69_1198 = new Component325(); + static Component325 aClass69_1199 = new Component325(); + static int occluderCountB; + static Component75 aClass173_1201 = new Component75(); + static int anInt1202; + + static final void method720(int i, int i_0_) { + anInt1193++; + Component39.anInt2251 = i; + synchronized (Component387.aClass60_1894) { + if (i_0_ != 1226) aClass173_1201 = null; + Component387.aClass60_1894.clear(0); + } + synchronized (DisplayModeManagerContainer310.aClass60_355) { + DisplayModeManagerContainer310.aClass60_355.clear(0); + } + } + + static final void method721(HashNode class348_sub42, HashNode class348_sub42_1_, int i) { + do { + try { + if (class348_sub42_1_.previous != null) class348_sub42_1_.unlink(true); + anInt1194++; + class348_sub42_1_.next = class348_sub42; + class348_sub42_1_.previous = class348_sub42.previous; + class348_sub42_1_.previous.next = class348_sub42_1_; + class348_sub42_1_.next.previous = class348_sub42_1_; + if (i == -1) break; + aClass69_1199 = null; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("kea.B(" + (class348_sub42 != null ? "{...}" : "null") + ',' + (class348_sub42_1_ != null ? "{...}" : "null") + ',' + i + ')')); + } + break; + } while (false); + } + + public Component325() { + /* empty */ + } + + public static void method722(int i) { + aClass69_1198 = null; + if (i != 13569) aClass69_1199 = null; + aClass69_1197 = null; + aClass69_1195 = null; + aClass69_1199 = null; + aClass173_1201 = null; + } + + static final boolean method723(int i, int i_2_, byte i_3_) { + anInt1196++; + if (i_3_ >= -66) return true; + return (Component219.method2352(113, i_2_, i) & ClientErrorReporter.hasRoofFlag(i, i_2_, -29)); + } + + static final boolean method724(int i, int i_4_, int i_5_) { + anInt1191++; + if (i_5_ != 393216) method723(25, 30, (byte) -113); + return Component219.method2352(124, i_4_, i) | (0x60000 & i) != 0 || Component224.method2056(i, 90, i_4_) || method723(i, i_4_, (byte) -120); + } + + public final String toString() { + anInt1192++; + throw new IllegalStateException(); + } +} diff --git a/client/components/Component326.java b/client/components/Component326.java new file mode 100644 index 000000000..8cc021402 --- /dev/null +++ b/client/components/Component326.java @@ -0,0 +1,109 @@ +/* Component326 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.io.IOException; + +final class Component326 +/** + * RENAMED from `Class55_Sub1` (JODE-obfuscated). + * Evidence: subclass of JagTheoraDecoder (hierarchy) + */ extends JagTheoraDecoder { + static boolean aBoolean5265 = false; + static int anInt5266; + private final CacheStore aClass45_5267; + static int anInt5268; + private int[] anIntArray5269; + private int anInt5270; + /** Live world-list channel. */ + static NamedInteger LIVE = new NamedInteger("LIVE", 0); + private final int anInt5272; + static int anInt5273; + private final Buffer aClass348_Sub49_5274; + private byte[][] aByteArrayArray5275 = new byte[10][]; + private final Buffer aClass348_Sub49_5276; + + final void method522(byte i) { + anInt5266++; + if (anIntArray5269 != null && i < -27) { + for (int i_0_ = 0; i_0_ < 10 && anIntArray5269.length > anInt5270 + i_0_; i_0_++) { + if (aByteArrayArray5275[i_0_] == null && aClass45_5267.isFileReady(-10499, (anIntArray5269[i_0_ + anInt5270]), 0)) aByteArrayArray5275[i_0_] = aClass45_5267.getFile(-1860, (anIntArray5269[anInt5270 + i_0_]), 0); + } + } + } + + public static void method523(int i) { + if (i <= 80) method524(-87, true, 104, 0); + LIVE = null; + } + + private Component326(int i, CacheStore class45, int i_1_) { + super(i); + aClass348_Sub49_5274 = new Buffer(null); + aClass348_Sub49_5276 = new Buffer(null); + aClass45_5267 = class45; + anInt5272 = i_1_; + } + + static final void method524(int i, boolean bool, int i_2_, int i_3_) { + if (i_3_ > -108) aBoolean5265 = false; + if (DisplayModeManagerContainer91.aClass356_389.get(i_2_, -6008) == null) { + if (PauseTimer.aBoolean510) { + ColorTagNode class348_sub15 = new ColorTagNode(i_2_, new Component326(4096, (Component334.aClass45_2015), i_2_), i, bool); + class348_sub15.aClass55_Sub1_6768.method509(-92, Component185.languageNames[ObjectDeserializer.languageId]); + DisplayModeManagerContainer91.aClass356_389.put((byte) 35, i_2_, class348_sub15); + } else DisplayModeManagerContainer165.method2285(bool, (byte) -90, i_2_); + } + anInt5268++; + } + + final int method516(byte i, byte[] is) throws IOException { + anInt5273++; + if (anIntArray5269 == null) { + if (!aClass45_5267.isFileReady(-10499, anInt5272, 0)) return 0; + byte[] is_4_ = aClass45_5267.getFile(-1860, anInt5272, 0); + if (is_4_ == null) throw new IllegalStateException(""); + aClass348_Sub49_5276.payload = is_4_; + aClass348_Sub49_5276.offset = 0; + int i_5_ = is_4_.length >> 1; + anIntArray5269 = new int[i_5_]; + for (int i_6_ = 0; i_6_ < i_5_; i_6_++) + anIntArray5269[i_6_] = aClass348_Sub49_5276.readUnsignedShort(842397944); + } + if (anInt5270 >= anIntArray5269.length) return -1; + method522((byte) -74); + if (i != 21) aByteArrayArray5275 = null; + aClass348_Sub49_5276.payload = is; + aClass348_Sub49_5276.offset = 0; + while (aClass348_Sub49_5276.offset < aClass348_Sub49_5276.payload.length) { + if (aClass348_Sub49_5274.payload == null) { + if (aByteArrayArray5275[0] == null) { + aClass348_Sub49_5276.payload = null; + return aClass348_Sub49_5276.offset; + } + aClass348_Sub49_5274.payload = aByteArrayArray5275[0]; + } + int i_7_ = (-aClass348_Sub49_5276.offset + (aClass348_Sub49_5276.payload).length); + int i_8_ = (-aClass348_Sub49_5274.offset + (aClass348_Sub49_5274.payload).length); + if (i_8_ <= i_7_) { + aClass348_Sub49_5276.writeBytes(i_8_, aClass348_Sub49_5274.offset, aClass348_Sub49_5274.payload, -58); + aClass348_Sub49_5274.offset = 0; + aClass348_Sub49_5274.payload = null; + anInt5270++; + for (int i_9_ = 0; i_9_ < 9; i_9_++) + aByteArrayArray5275[i_9_] = aByteArrayArray5275[i_9_ - -1]; + aByteArrayArray5275[9] = null; + if (anInt5270 >= anIntArray5269.length) { + aClass348_Sub49_5276.payload = null; + return aClass348_Sub49_5276.offset; + } + } else { + aClass348_Sub49_5274.readBytes(2147483647, aClass348_Sub49_5276.offset, i_7_, aClass348_Sub49_5276.payload); + aClass348_Sub49_5276.payload = null; + return is.length; + } + } + aClass348_Sub49_5276.payload = null; + return is.length; + } +} diff --git a/client/components/Component328.java b/client/components/Component328.java new file mode 100644 index 000000000..67c665e68 --- /dev/null +++ b/client/components/Component328.java @@ -0,0 +1,16 @@ +/* Component328 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component328 +/** + * RENAMED from `Class86` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int dynamicOnscreenCount = 0; + static float aFloat1478; + static int anInt1479; + static int anInt1480 = -1; + static int anInt1481; + static int anInt1482 = 0; +} diff --git a/client/components/Component329.java b/client/components/Component329.java new file mode 100644 index 000000000..3f2fe902e --- /dev/null +++ b/client/components/Component329.java @@ -0,0 +1,130 @@ +/* Component329 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.awt.*; + +final class Component329 +/** + * RENAMED from `Class239_Sub14` (JODE-obfuscated). + * Evidence: subclass of Component339 (hierarchy) + */ extends Component339 { + static int anInt5982; + static int anInt5983; + static int anInt5984; + static int anInt5985; + static int anInt5986; + static int anInt5987; + static int anInt5988; + static Component111 aClass251_5989 = new Component111(); + static DisplayModeManagerContainer56 aClass190_5990; + static int[][] anIntArrayArray5991 = new int[6][]; + static Component183 aClass114_5992 = new Component183(17, 4); + static DisplayModeManagerContainer159[] aClass211Array5993; + static int anInt5994; + static Component293 aClass259_5995; + + final int method1778(int i) { + if (i != -32350) aClass190_5990 = null; + anInt5984++; + return this.anInt3138; + } + + final void method1716(boolean bool) { + if (this.aClass348_Sub51_3136.aClass239_Sub3_7222.method1735(bool) && this.anInt3138 == 2) this.anInt3138 = 1; + anInt5988++; + if (this.anInt3138 < 0 || this.anInt3138 > 2) this.anInt3138 = method1710(20014); + } + + Component329(int i, NodeSub51 class348_sub51) { + super(i, class348_sub51); + } + + Component329(NodeSub51 class348_sub51) { + super(class348_sub51); + } + + static final void method1779(byte i) { + anInt5985++; + NamedInteger.clearCaches(73); + NodeList.aClass190ArrayArray3335 = null; + NodeCache.aHa1098 = null; + if (i <= 89) anInt5994 = -75; + ColoredText.aClass299_6098 = null; + HeapDumpHelper.aClass299_4938 = null; + HashNodeSub10.aClass299_9571 = null; + } + + public static void method1780(int i) { + aClass114_5992 = null; + int i_0_ = 108 % ((-24 - i) / 54); + aClass251_5989 = null; + anIntArrayArray5991 = null; + aClass259_5995 = null; + aClass211Array5993 = null; + aClass190_5990 = null; + } + + static final int method1781(int i, int i_1_, int i_2_) { + anInt5983++; + if (Sprite.anInt6923 == -1) return 1; + if (i != Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350)) { + GlRectangleTexture.method1971(-2, FriendsIgnoreList.aClass274_3496.getLocalized(ObjectDeserializer.languageId, 544), true, i); + if (i != Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350)) return -1; + } + try { + Dimension dimension = DisplayModeManagerContainer50.gameCanvas.getSize(); + Component149.method3511(true, Applet_Sub1.aClass324_20, Component163.aClass143_3179, FriendsIgnoreList.aClass274_3496.getLocalized(ObjectDeserializer.languageId, 544), 2, NodeSub8.toolkit); + DisplayModeManagerContainer77 class124 = Component189.loadFromCache(0, ShaderSub3.aClass45_5207, Sprite.anInt6923, -1); + long l = Component240.currentTimeMillis(-88); + NodeSub8.toolkit.la(); + Component270.aClass101_2123.method894(0, DisplayModeManagerContainer64.anInt9037, 0); + NodeSub8.toolkit.method3638(Component270.aClass101_2123); + NodeSub8.toolkit.DA(dimension.width / 2, dimension.height / 2, 512, 512); + NodeSub8.toolkit.DualToolkit(1.0F); + if (i_1_ >= -66) aClass190_5990 = null; + NodeSub8.toolkit.ZA(16777215, 0.5F, 0.5F, 20.0F, -50.0F, 30.0F); + DisplayModeManagerContainer370 class64 = NodeSub8.toolkit.method3625(class124, 2048, 64, 64, 768); + int i_3_ = 0; + while_80_: + for (int i_4_ = 0; i_4_ < 500; i_4_++) { + NodeSub8.toolkit.GA(0); + NodeSub8.toolkit.NativeHandle(); + for (int i_5_ = 15; i_5_ >= 0; i_5_--) { + for (int i_6_ = 0; i_6_ <= i_5_; i_6_++) { + Cp1252Decoder.aClass101_5209.method894((int) ((-((float) i_5_ / 2.0F) + (float) i_6_) * (float) Component148.anInt3465), 0, (i_5_ + 1) * Component148.anInt3465); + i_3_++; + class64.method615(Cp1252Decoder.aClass101_5209, null, 0); + if (Component240.currentTimeMillis(-105) + -l >= (long) i_2_) break while_80_; + } + } + } + NodeSub8.toolkit.method3633(); + long l_7_ = (long) (1000 * i_3_) / (Component240.currentTimeMillis(-86) + -l); + NodeSub8.toolkit.GA(0); + NodeSub8.toolkit.NativeHandle(); + return (int) l_7_; + } catch (Throwable throwable) { + throwable.printStackTrace(); + return -1; + } + } + + final void method1712(int i, int i_8_) { + this.anInt3138 = i_8_; + anInt5987++; + int i_9_ = -73 / ((82 - i) / 35); + } + + final int method1710(int i) { + anInt5982++; + if (i != 20014) aClass211Array5993 = null; + return 2; + } + + final int method1714(int i, int i_10_) { + if (i != 3) return 23; + anInt5986++; + return 1; + } +} diff --git a/client/components/Component33.java b/client/components/Component33.java new file mode 100644 index 000000000..863832bb4 --- /dev/null +++ b/client/components/Component33.java @@ -0,0 +1,20 @@ +/* Component33 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component33 +/** + * RENAMED from `Class200` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static StringCache aClass351_2638 = new StringCache(59, 8); + static Component127 aClass226_2639; + static Component24[] aClass105Array2640; + + public static void method1463(byte i) { + aClass351_2638 = null; + aClass105Array2640 = null; + if (i != 25) aClass105Array2640 = null; + aClass226_2639 = null; + } +} diff --git a/client/components/Component330.java b/client/components/Component330.java new file mode 100644 index 000000000..77e05f518 --- /dev/null +++ b/client/components/Component330.java @@ -0,0 +1,103 @@ +/* Component330 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component330 +/** + * RENAMED from `Class90` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static Component224 aClass273_1512 = new Component224("", 15); + static int anInt1513; + static int anInt1514; + static int anInt1515; + static long aLong1516; + static int regionTileY; + static int[] anIntArray1518 = new int[14]; + + public static void method852(int i) { + aClass273_1512 = null; + if (i != 6) aLong1516 = 20L; + anIntArray1518 = null; + } + + static final void method853(byte i) { + anInt1515++; + int i_0_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + int i_1_ = Component80.aClass348_Sub49_Sub2_3813.readShortAddLittle(-121); + boolean bool = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(i + 156) == 1; + int i_2_ = Component80.aClass348_Sub49_Sub2_3813.readShortAdd(i + -172); + Component37.anInt3931 = Component80.aClass348_Sub49_Sub2_3813.readByteAdd((byte) -112); + ImageCacheStore.method2554((byte) -45); + DefinitionSub22.method3111(125, i_0_); + Component80.aClass348_Sub49_Sub2_3813.startBitAccess(-122); + for (int i_3_ = 0; i_3_ < 4; i_3_++) { + for (int i_4_ = 0; (AbstractShaderSub4.anInt7319 >> 3 > i_4_); i_4_++) { + for (int i_5_ = 0; (i_5_ < ParametricDefinition.anInt9109 >> 3); i_5_++) { + int i_6_ = Component80.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 1); + if (i_6_ != 1) Component240.anIntArrayArrayArray1116[i_3_][i_4_][i_5_] = -1; + else Component240.anIntArrayArrayArray1116[i_3_][i_4_][i_5_] = Component80.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 26); + } + } + } + Component80.aClass348_Sub49_Sub2_3813.stopBitAccess(false); + int i_7_ = (-Component80.aClass348_Sub49_Sub2_3813.offset + DefinitionSub25.anInt9341) / 16; + Component31.anIntArrayArray5894 = new int[i_7_][4]; + int i_8_ = 0; + if (i != 99) method852(-55); + for (/**/; i_8_ < i_7_; i_8_++) { + for (int i_9_ = 0; i_9_ < 4; i_9_++) + Component31.anIntArrayArray5894[i_8_][i_9_] = Component80.aClass348_Sub49_Sub2_3813.readInt((byte) -126); + } + ImageCacheStore.anIntArray4031 = null; + Applet_Sub1.anIntArray38 = new int[i_7_]; + r.anIntArray9724 = new int[i_7_]; + ShaderSub1.anIntArray5192 = new int[i_7_]; + OggStreamReader.anIntArray9042 = new int[i_7_]; + DisplayModeManagerContainer61.anIntArray3759 = new int[i_7_]; + NodeSub50.aByteArrayArray7212 = null; + OggUrlStream.aByteArrayArray8996 = new byte[i_7_][]; + Component30.aByteArrayArray1887 = new byte[i_7_][]; + WorldNameText.aByteArrayArray8642 = new byte[i_7_][]; + DisplayModeManagerContainer322.aByteArrayArray4281 = new byte[i_7_][]; + i_7_ = 0; + for (int i_10_ = 0; i_10_ < 4; i_10_++) { + for (int i_11_ = 0; (AbstractShaderSub4.anInt7319 >> 3 > i_11_); i_11_++) { + for (int i_12_ = 0; i_12_ < ParametricDefinition.anInt9109 >> 3; i_12_++) { + int i_13_ = (Component240.anIntArrayArrayArray1116[i_10_][i_11_][i_12_]); + if (i_13_ != -1) { + int i_14_ = i_13_ >> 14 & 0x3ff; + int i_15_ = (i_13_ & 0x3ff9) >> 3; + int i_16_ = i_15_ / 8 + (i_14_ / 8 << 8); + for (int i_17_ = 0; i_7_ > i_17_; i_17_++) { + if (i_16_ == OggStreamReader.anIntArray9042[i_17_]) { + i_16_ = -1; + break; + } + } + if (i_16_ != -1) { + OggStreamReader.anIntArray9042[i_7_] = i_16_; + int i_18_ = 0xff & i_16_ >> 8; + int i_19_ = 0xff & i_16_; + ShaderSub1.anIntArray5192[i_7_] = (SoftwareFallbackShader.aClass45_7382.getGroupId("m" + i_18_ + "_" + i_19_, NodeSub21.bitwiseXor(i, 99))); + Applet_Sub1.anIntArray38[i_7_] = SoftwareFallbackShader.aClass45_7382.getGroupId("l" + i_18_ + "_" + i_19_, 0); + DisplayModeManagerContainer61.anIntArray3759[i_7_] = (SoftwareFallbackShader.aClass45_7382.getGroupId("um" + i_18_ + "_" + i_19_, 0)); + r.anIntArray9724[i_7_] = (SoftwareFallbackShader.aClass45_7382.getGroupId("ul" + i_18_ + "_" + i_19_, 0)); + i_7_++; + } + } + } + } + } + NodeSub41.method3157(i_1_, (byte) 124, i_2_, 11, bool); + } + + public Component330() { + /* empty */ + } + + static final void method854(byte i) { + anInt1513++; + if (Component241.anInt2955 == 5 && i < -48) Component241.anInt2955 = 6; + } +} diff --git a/client/components/Component331.java b/client/components/Component331.java new file mode 100644 index 000000000..cdc482df8 --- /dev/null +++ b/client/components/Component331.java @@ -0,0 +1,157 @@ +/* Component331 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.util.Random; + +final class Component331 +/** + * RENAMED from `Class111` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private final int anInt1715; + static int anInt1716; + static int anInt1717; + private final CacheStore aClass45_1718; + static int anInt1719; + static int anInt1720 = -1; + static int anInt1721; + static Component183 aClass114_1722 = new Component183(8, -2); + static int anInt1723; + private int[][] anIntArrayArray1724; + private final boolean[] aBooleanArray1725; + + final DisplayModeManagerContainer260 method1043(int i, byte i_0_) { + anInt1721++; + byte[] is = aClass45_1718.getFile(-1860, 1, i); + if (i_0_ < 12) return null; + DisplayModeManagerContainer260 class287 = new DisplayModeManagerContainer260(); + class287.method2183(new Buffer(is), 21890); + return class287; + } + + final boolean method1044(int i) { + if (i < 15) anIntArrayArray1724 = null; + anInt1717++; + return anInt1715 != -1; + } + + static final int method1045(int i, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, byte i_6_) { + i_5_ &= 0x3; + anInt1716++; + if ((i_2_ & 0x1) == 1) { + int i_7_ = i_3_; + i_3_ = i_1_; + i_1_ = i_7_; + } + if (i_5_ == 0) return i_4_; + if (i_6_ != 16) return -78; + if (i_5_ == 1) return 7 + -i - i_3_ - -1; + if (i_5_ == 2) return -i_4_ + 7 - -1 - i_1_; + return i; + } + + final int[] method1046(int i, int i_8_) { + anInt1719++; + if (i < 0 || anIntArrayArray1724.length <= i) { + if (anInt1715 == -1) return new int[0]; + return new int[]{anInt1715}; + } + if (!aBooleanArray1725[i] || anIntArrayArray1724[i].length <= 1) return anIntArrayArray1724[i]; + int i_9_ = i_8_ == (~anInt1715) ? 0 : 1; + Random random = new Random(); + int[] is = new int[anIntArrayArray1724[i].length]; + Component313.method1578(anIntArrayArray1724[i], 0, is, 0, is.length); + for (int i_10_ = i_9_; is.length > i_10_; i_10_++) { + int i_11_ = i_9_ + DisplayModeManagerContainer77.method1097((byte) 80, is.length - i_9_, random); + int i_12_ = is[i_10_]; + is[i_10_] = is[i_11_]; + is[i_11_] = i_12_; + } + return is; + } + + public static void method1047(int i) { + if (i != 1) anInt1720 = 93; + aClass114_1722 = null; + } + + static final void method1048(DisplayModeManagerContainer57 class46, int i) { + anInt1723++; + int i_13_ = 113 % ((-25 - i) / 59); + DisplayModeManagerContainer57 class46_14_ = DisplayModeManagerContainer87.method1687(class46, 3); + int i_15_; + int i_16_; + if (class46_14_ == null) { + i_15_ = PacketReader.anInt10432; + i_16_ = Component236.anInt4017; + } else { + i_15_ = class46_14_.anInt789; + i_16_ = class46_14_.anInt709; + } + Component188.method1843(i_16_, -326, class46, false, i_15_); + Component19.method239((byte) -114, i_16_, i_15_, class46); + } + + Component331(GameType class230, int i, CacheStore class45) { + try { + aClass45_1718 = class45; + aClass45_1718.getFileCount(0, 1); + Buffer class348_sub49 = new Buffer(aClass45_1718.getFile(-1860, 0, 0)); + int i_17_ = class348_sub49.readUnsignedByte(255); + if (i_17_ > 3) { + anIntArrayArray1724 = new int[0][]; + aBooleanArray1725 = new boolean[0]; + anInt1715 = -1; + } else { + int i_18_ = class348_sub49.readUnsignedByte(255); + DisplayModeManagerContainer369[] class223s = Component248.method285(-122); + boolean bool = true; + if (class223s.length == i_18_) { + for (int i_19_ = 0; (class223s.length > i_19_); i_19_++) { + int i_20_ = class348_sub49.readUnsignedByte(255); + if (i_20_ != class223s[i_19_].anInt2896) { + bool = false; + break; + } + } + } else bool = false; + if (bool) { + int i_21_ = class348_sub49.readUnsignedByte(255); + int i_22_ = class348_sub49.readUnsignedByte(255); + if (i_17_ > 2) anInt1715 = class348_sub49.readShort(13638); + else anInt1715 = -1; + anIntArrayArray1724 = new int[i_22_ - -1][]; + aBooleanArray1725 = new boolean[i_22_ + 1]; + for (int i_23_ = 0; i_21_ > i_23_; i_23_++) { + int i_24_ = class348_sub49.readUnsignedByte(255); + aBooleanArray1725[i_24_] = class348_sub49.readUnsignedByte(255) == 1; + int i_25_ = class348_sub49.readUnsignedShort(842397944); + if (anInt1715 == -1) { + anIntArrayArray1724[i_24_] = new int[i_25_]; + for (int i_26_ = 0; i_25_ > i_26_; i_26_++) + anIntArrayArray1724[i_24_][i_26_] = class348_sub49.readUnsignedShort(842397944); + } else { + anIntArrayArray1724[i_24_] = new int[1 + i_25_]; + anIntArrayArray1724[i_24_][0] = anInt1715; + for (int i_27_ = 0; i_25_ > i_27_; i_27_++) + anIntArrayArray1724[i_24_][1 + i_27_] = class348_sub49.readUnsignedShort(842397944); + } + } + for (int i_28_ = 0; i_22_ + 1 > i_28_; i_28_++) { + if (anIntArrayArray1724[i_28_] == null) { + if (anInt1715 != -1) anIntArrayArray1724[i_28_] = new int[]{anInt1715}; + else anIntArrayArray1724[i_28_] = new int[0]; + } + } + } else { + aBooleanArray1725 = new boolean[0]; + anIntArrayArray1724 = new int[0][]; + anInt1715 = -1; + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("mt.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/components/Component333.java b/client/components/Component333.java new file mode 100644 index 000000000..4cf265dd9 --- /dev/null +++ b/client/components/Component333.java @@ -0,0 +1,452 @@ +/* Component333 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaclib.memory.Buffer; +import jaclib.memory.Stream; + +final class Component333 +/** + * RENAMED from `Class280` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3625; + private int anInt3626; + private final int[] anIntArray3627 = new int[64]; + static int anInt3628; + static int anInt3629; + private final Interface5_Impl1 anInterface5_Impl1_3630; + private int[] anIntArray3631; + private final RenderableSub9Sub2[][] aClass318_Sub9_Sub2ArrayArray3632; + static int anInt3633; + static int anInt3634; + private final Interface5_Impl2 anInterface5_Impl2_3635; + private final int[] anIntArray3636; + private final Component387 aClass130_3637; + private final Interface5_Impl1 anInterface5_Impl1_3638; + static int anInt3639; + static int anInt3640; + static Component183 aClass114_3641 = new Component183(79, 3); + private RenderableSub9Sub2[][] aClass318_Sub9_Sub2ArrayArray3642; + static int anInt3643 = 0; + + private final void method2098(GlToolkitSub3 var_ha_Sub3, int i, int i_0_) { + anInt3629++; + Component210.aFloat5299 = var_ha_Sub3.aFloat8093; + int i_1_ = 75 % ((2 - i) / 34); + var_ha_Sub3.method3867((float) i_0_, -86); + var_ha_Sub3.method3857((byte) 92); + var_ha_Sub3.method3865(false, 36); + var_ha_Sub3.method3946(-32, false); + var_ha_Sub3.method3942(5); + } + + private final void method2099(int i, GlToolkitSub3 var_ha_Sub3) { + anInt3628++; + var_ha_Sub3.method3946(i + -26358, true); + var_ha_Sub3.method3865(true, 54); + if (i != 26326) anIntArray3631 = null; + if (Component210.aFloat5299 != var_ha_Sub3.aFloat8093) var_ha_Sub3.DualToolkit(Component210.aFloat5299); + } + + final void method2100(byte i, GlToolkitSub3 var_ha_Sub3) { + anInterface5_Impl1_3638.method20(786336, (byte) 123, 24); + int i_2_ = -125 / ((i - 65) / 49); + anInt3625++; + } + + final void method2101(GlToolkitSub3 var_ha_Sub3, Component122 class98, int i, int i_3_) { + try { + anInt3633++; + if (var_ha_Sub3.aClass101_Sub2_8080 != null) { + if (i >= 0) method2098(var_ha_Sub3, -121, i); + else method2103((byte) -33, var_ha_Sub3); + float f = (var_ha_Sub3.aClass101_Sub2_8080.aFloat5736); + float f_4_ = (var_ha_Sub3.aClass101_Sub2_8080.aFloat5691); + float f_5_ = (var_ha_Sub3.aClass101_Sub2_8080.aFloat5716); + float f_6_ = (var_ha_Sub3.aClass101_Sub2_8080.aFloat5724); + try { + int i_7_ = 0; + int i_8_ = 2147483647; + int i_9_ = i_3_; + RenderableSub9 class318_sub9 = (class98.aClass88_1569.aClass318_Sub9_1503); + for (RenderableSub9 class318_sub9_10_ = (class318_sub9.aClass318_Sub9_6469); class318_sub9 != class318_sub9_10_; class318_sub9_10_ = (class318_sub9_10_.aClass318_Sub9_6469)) { + RenderableSub9Sub2 class318_sub9_sub2 = (RenderableSub9Sub2) class318_sub9_10_; + int i_11_ = (int) ((float) (class318_sub9_sub2.anInt8791 >> 12) * f + f_4_ * (float) ((class318_sub9_sub2.anInt8796) >> 12) + (float) (class318_sub9_sub2.anInt8789 >> 12) * f_5_ + f_6_); + if (i_9_ < i_11_) i_9_ = i_11_; + anIntArray3631[i_7_++] = i_11_; + if (i_8_ > i_11_) i_8_ = i_11_; + } + int i_12_ = -i_8_ + i_9_; + int i_13_; + if (2 + i_12_ > 1600) { + i_13_ = (Component80.method2253(i_12_, i_3_ + 119) + 1 + -RequestProcessor.anInt2265); + i_12_ = 2 + (i_12_ >> i_13_); + } else { + i_13_ = 0; + i_12_ += 2; + } + RenderableSub9 class318_sub9_14_ = class318_sub9.aClass318_Sub9_6469; + i_7_ = 0; + int i_15_ = -2; + boolean bool = true; + boolean bool_16_ = true; + while (class318_sub9_14_ != class318_sub9) { + anInt3626 = 0; + for (int i_17_ = 0; i_12_ > i_17_; i_17_++) + anIntArray3636[i_17_] = 0; + for (int i_18_ = 0; i_18_ < 64; i_18_++) + anIntArray3627[i_18_] = 0; + for (/**/; class318_sub9_14_ != class318_sub9; class318_sub9_14_ = (class318_sub9_14_.aClass318_Sub9_6469)) { + RenderableSub9Sub2 class318_sub9_sub2 = (RenderableSub9Sub2) class318_sub9_14_; + if (bool_16_) { + bool = class318_sub9_sub2.aBoolean8794; + i_15_ = class318_sub9_sub2.anInt8792; + bool_16_ = false; + } + if (i_7_ > 0 && (i_15_ != class318_sub9_sub2.anInt8792 || !bool != !(class318_sub9_sub2.aBoolean8794))) { + bool_16_ = true; + break; + } + int i_19_ = -i_8_ + anIntArray3631[i_7_++] >> i_13_; + if (i_19_ < 1600) { + if (anIntArray3636[i_19_] < 64) aClass318_Sub9_Sub2ArrayArray3632[i_19_][anIntArray3636[i_19_]++] = class318_sub9_sub2; + else { + if (anIntArray3636[i_19_] == 64) { + if (anInt3626 == 64) continue; + anIntArray3636[i_19_] += anInt3626++ + 1; + } + aClass318_Sub9_Sub2ArrayArray3642[-65 + anIntArray3636[i_19_]][anIntArray3627[(anIntArray3636[i_19_] + -65)]++] = class318_sub9_sub2; + } + } + } + var_ha_Sub3.method3814(false, false, i_15_ >= 0 ? i_15_ : -1, (byte) 117); + if (bool && (Component210.aFloat5299 != var_ha_Sub3.aFloat8093)) var_ha_Sub3.DualToolkit(Component210.aFloat5299); + else if (var_ha_Sub3.aFloat8093 != 1.0F) var_ha_Sub3.DualToolkit(1.0F); + method2102(false, var_ha_Sub3, i_12_); + } + } catch (Exception exception) { + /* empty */ + } + method2099(i_3_ ^ 0x66d6, var_ha_Sub3); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ve.G(" + (var_ha_Sub3 != null ? "{...}" : "null") + ',' + (class98 != null ? "{...}" : "null") + ',' + i + ',' + i_3_ + ')')); + } + } + + private final void method2102(boolean bool, GlToolkitSub3 var_ha_Sub3, int i) { + anInt3640++; + if (bool != false) method2098(null, 21, -85); + int i_20_ = 0; + MatrixSub2 class101_sub2 = var_ha_Sub3.method3948(-22036); + float f = class101_sub2.aFloat5711; + float f_21_ = class101_sub2.aFloat5700; + float f_22_ = class101_sub2.aFloat5704; + float f_23_ = class101_sub2.aFloat5708; + float f_24_ = class101_sub2.aFloat5722; + float f_25_ = class101_sub2.aFloat5732; + float f_26_ = f_23_ + f; + float f_27_ = f_21_ + f_24_; + float f_28_ = f_22_ + f_25_; + float f_29_ = f - f_23_; + float f_30_ = f_21_ - f_24_; + float f_31_ = -f_25_ + f_22_; + float f_32_ = f_23_ - f; + float f_33_ = -f_21_ + f_24_; + float f_34_ = -f_22_ + f_25_; + Buffer buffer = anInterface5_Impl1_3638.method19(true, 26775); + if (buffer != null) { + Stream stream = var_ha_Sub3.method3893(buffer, 9179); + if (Stream.c()) { + for (int i_58_ = i + -1; i_58_ >= 0; i_58_--) { + int i_59_ = (Math.min(anIntArray3636[i_58_], 64)); + if (i_59_ > 0) { + for (int i_60_ = i_59_ + -1; i_60_ >= 0; i_60_--) { + RenderableSub9Sub2 class318_sub9_sub2 = (aClass318_Sub9_Sub2ArrayArray3632[i_58_][i_60_]); + int i_61_ = (class318_sub9_sub2.anInt8790); + byte i_62_ = (byte) (i_61_ >> 16); + byte i_63_ = (byte) (i_61_ >> 8); + byte i_64_ = (byte) i_61_; + byte i_65_ = (byte) (i_61_ >>> 24); + float f_66_ = (float) (class318_sub9_sub2.anInt8791 >> 12); + float f_67_ = (float) (class318_sub9_sub2.anInt8796 >> 12); + float f_68_ = (float) (class318_sub9_sub2.anInt8789 >> 12); + int i_69_ = ((class318_sub9_sub2.anInt8793) >> 12); + stream.a(f_26_ * (float) -i_69_ + f_66_); + stream.a(f_67_ + f_27_ * (float) -i_69_); + stream.a(f_68_ + (float) -i_69_ * f_28_); + if (var_ha_Sub3.anInt8178 != 0) stream.a(i_62_, i_63_, i_64_, i_65_); + else stream.b(i_62_, i_63_, i_64_, i_65_); + stream.a(0.0F); + stream.a(0.0F); + stream.a(f_29_ * (float) i_69_ + f_66_); + stream.a((float) i_69_ * f_30_ + f_67_); + stream.a(f_68_ + f_31_ * (float) i_69_); + if (var_ha_Sub3.anInt8178 != 0) stream.a(i_62_, i_63_, i_64_, i_65_); + else stream.b(i_62_, i_63_, i_64_, i_65_); + stream.a(1.0F); + stream.a(0.0F); + stream.a(f_66_ + f_26_ * (float) i_69_); + stream.a(f_67_ + f_27_ * (float) i_69_); + stream.a(f_28_ * (float) i_69_ + f_68_); + if (var_ha_Sub3.anInt8178 != 0) stream.a(i_62_, i_63_, i_64_, i_65_); + else stream.b(i_62_, i_63_, i_64_, i_65_); + stream.a(1.0F); + stream.a(1.0F); + stream.a(f_66_ + f_32_ * (float) i_69_); + stream.a(f_67_ + f_33_ * (float) i_69_); + stream.a(f_68_ + f_34_ * (float) i_69_); + if (var_ha_Sub3.anInt8178 != 0) stream.a(i_62_, i_63_, i_64_, i_65_); + else stream.b(i_62_, i_63_, i_64_, i_65_); + stream.a(0.0F); + i_20_++; + stream.a(1.0F); + } + if (anIntArray3636[i_58_] > 64) { + int i_70_ = anIntArray3636[i_58_] - 65; + for (int i_71_ = -1 + anIntArray3627[i_70_]; i_71_ >= 0; i_71_--) { + RenderableSub9Sub2 class318_sub9_sub2 = (aClass318_Sub9_Sub2ArrayArray3642[i_70_][i_71_]); + int i_72_ = (class318_sub9_sub2.anInt8790); + byte i_73_ = (byte) (i_72_ >> 16); + byte i_74_ = (byte) (i_72_ >> 8); + byte i_75_ = (byte) i_72_; + byte i_76_ = (byte) (i_72_ >>> 24); + float f_77_ = (float) (class318_sub9_sub2.anInt8791 >> 12); + float f_78_ = (float) (class318_sub9_sub2.anInt8796 >> 12); + float f_79_ = (float) (class318_sub9_sub2.anInt8789 >> 12); + int i_80_ = (class318_sub9_sub2.anInt8793 >> 12); + stream.a(f_26_ * (float) -i_80_ + f_77_); + stream.a((float) -i_80_ * f_27_ + f_78_); + stream.a(f_79_ + f_28_ * (float) -i_80_); + if (var_ha_Sub3.anInt8178 == 0) stream.b(i_73_, i_74_, i_75_, i_76_); + else stream.a(i_73_, i_74_, i_75_, i_76_); + stream.a(0.0F); + stream.a(0.0F); + stream.a(f_29_ * (float) i_80_ + f_77_); + stream.a((float) i_80_ * f_30_ + f_78_); + stream.a((float) i_80_ * f_31_ + f_79_); + if (var_ha_Sub3.anInt8178 == 0) stream.b(i_73_, i_74_, i_75_, i_76_); + else stream.a(i_73_, i_74_, i_75_, i_76_); + stream.a(1.0F); + stream.a(0.0F); + stream.a(f_77_ + (float) i_80_ * f_26_); + stream.a((float) i_80_ * f_27_ + f_78_); + stream.a((float) i_80_ * f_28_ + f_79_); + if (var_ha_Sub3.anInt8178 != 0) stream.a(i_73_, i_74_, i_75_, i_76_); + else stream.b(i_73_, i_74_, i_75_, i_76_); + stream.a(1.0F); + stream.a(1.0F); + stream.a((float) i_80_ * f_32_ + f_77_); + stream.a((float) i_80_ * f_33_ + f_78_); + stream.a(f_79_ + (float) i_80_ * f_34_); + if (var_ha_Sub3.anInt8178 != 0) stream.a(i_73_, i_74_, i_75_, i_76_); + else stream.b(i_73_, i_74_, i_75_, i_76_); + stream.a(0.0F); + i_20_++; + stream.a(1.0F); + } + } + } + } + } else { + for (int i_35_ = -1 + i; i_35_ >= 0; i_35_--) { + int i_36_ = (Math.min(anIntArray3636[i_35_], 64)); + if (i_36_ > 0) { + for (int i_37_ = i_36_ + -1; i_37_ >= 0; i_37_--) { + RenderableSub9Sub2 class318_sub9_sub2 = (aClass318_Sub9_Sub2ArrayArray3632[i_35_][i_37_]); + int i_38_ = (class318_sub9_sub2.anInt8790); + byte i_39_ = (byte) (i_38_ >> 16); + byte i_40_ = (byte) (i_38_ >> 8); + byte i_41_ = (byte) i_38_; + byte i_42_ = (byte) (i_38_ >>> 24); + float f_43_ = (float) (class318_sub9_sub2.anInt8791 >> 12); + float f_44_ = (float) (class318_sub9_sub2.anInt8796 >> 12); + float f_45_ = (float) (class318_sub9_sub2.anInt8789 >> 12); + int i_46_ = ((class318_sub9_sub2.anInt8793) >> 12); + stream.b((float) -i_46_ * f_26_ + f_43_); + stream.b(f_44_ + (float) -i_46_ * f_27_); + stream.b((float) -i_46_ * f_28_ + f_45_); + if (var_ha_Sub3.anInt8178 == 0) stream.b(i_39_, i_40_, i_41_, i_42_); + else stream.a(i_39_, i_40_, i_41_, i_42_); + stream.b(0.0F); + stream.b(0.0F); + stream.b(f_43_ + (float) i_46_ * f_29_); + stream.b(f_44_ + (float) i_46_ * f_30_); + stream.b(f_45_ + (float) i_46_ * f_31_); + if (var_ha_Sub3.anInt8178 != 0) stream.a(i_39_, i_40_, i_41_, i_42_); + else stream.b(i_39_, i_40_, i_41_, i_42_); + stream.b(1.0F); + stream.b(0.0F); + stream.b(f_43_ + f_26_ * (float) i_46_); + stream.b(f_27_ * (float) i_46_ + f_44_); + stream.b(f_28_ * (float) i_46_ + f_45_); + if (var_ha_Sub3.anInt8178 == 0) stream.b(i_39_, i_40_, i_41_, i_42_); + else stream.a(i_39_, i_40_, i_41_, i_42_); + stream.b(1.0F); + stream.b(1.0F); + stream.b(f_32_ * (float) i_46_ + f_43_); + stream.b((float) i_46_ * f_33_ + f_44_); + stream.b(f_45_ + f_34_ * (float) i_46_); + if (var_ha_Sub3.anInt8178 == 0) stream.b(i_39_, i_40_, i_41_, i_42_); + else stream.a(i_39_, i_40_, i_41_, i_42_); + stream.b(0.0F); + i_20_++; + stream.b(1.0F); + } + if (anIntArray3636[i_35_] > 64) { + int i_47_ = -64 + anIntArray3636[i_35_] + -1; + for (int i_48_ = anIntArray3627[i_47_] + -1; i_48_ >= 0; i_48_--) { + RenderableSub9Sub2 class318_sub9_sub2 = (aClass318_Sub9_Sub2ArrayArray3642[i_47_][i_48_]); + int i_49_ = (class318_sub9_sub2.anInt8790); + byte i_50_ = (byte) (i_49_ >> 16); + byte i_51_ = (byte) (i_49_ >> 8); + byte i_52_ = (byte) i_49_; + byte i_53_ = (byte) (i_49_ >>> 24); + float f_54_ = (float) (class318_sub9_sub2.anInt8791 >> 12); + float f_55_ = (float) (class318_sub9_sub2.anInt8796 >> 12); + float f_56_ = (float) (class318_sub9_sub2.anInt8789 >> 12); + int i_57_ = (class318_sub9_sub2.anInt8793 >> 12); + stream.b(f_54_ + (float) -i_57_ * f_26_); + stream.b((float) -i_57_ * f_27_ + f_55_); + stream.b(f_56_ + f_28_ * (float) -i_57_); + if (var_ha_Sub3.anInt8178 == 0) stream.b(i_50_, i_51_, i_52_, i_53_); + else stream.a(i_50_, i_51_, i_52_, i_53_); + stream.b(0.0F); + stream.b(0.0F); + stream.b(f_54_ + (float) i_57_ * f_29_); + stream.b(f_30_ * (float) i_57_ + f_55_); + stream.b(f_31_ * (float) i_57_ + f_56_); + if (var_ha_Sub3.anInt8178 != 0) stream.a(i_50_, i_51_, i_52_, i_53_); + else stream.b(i_50_, i_51_, i_52_, i_53_); + stream.b(1.0F); + stream.b(0.0F); + stream.b(f_54_ + (float) i_57_ * f_26_); + stream.b((float) i_57_ * f_27_ + f_55_); + stream.b(f_28_ * (float) i_57_ + f_56_); + if (var_ha_Sub3.anInt8178 == 0) stream.b(i_50_, i_51_, i_52_, i_53_); + else stream.a(i_50_, i_51_, i_52_, i_53_); + stream.b(1.0F); + stream.b(1.0F); + stream.b(f_54_ + f_32_ * (float) i_57_); + stream.b(f_55_ + (float) i_57_ * f_33_); + stream.b((float) i_57_ * f_34_ + f_56_); + if (var_ha_Sub3.anInt8178 != 0) stream.a(i_50_, i_51_, i_52_, i_53_); + else stream.b(i_50_, i_51_, i_52_, i_53_); + stream.b(0.0F); + stream.b(1.0F); + i_20_++; + } + } + } + } + } + stream.a(); + if (anInterface5_Impl1_3638.method18(6331)) { + var_ha_Sub3.method3925(66, anInterface5_Impl1_3638, 0); + var_ha_Sub3.method3925(68, anInterface5_Impl1_3630, 1); + var_ha_Sub3.method3862(0, aClass130_3637); + var_ha_Sub3.method3938(VideoAdDisplay.aClass21_3181, 2 * i_20_, anInterface5_Impl2_3635, 0, 0, i_20_ * 4, 118); + } + } + } + + private final void method2103(byte i, GlToolkitSub3 var_ha_Sub3) { + if (i != -33) aClass318_Sub9_Sub2ArrayArray3642 = null; + anInt3639++; + Component210.aFloat5299 = var_ha_Sub3.aFloat8093; + var_ha_Sub3.method3825(8); + var_ha_Sub3.method3865(false, i + 89); + var_ha_Sub3.method3946(-32, false); + var_ha_Sub3.method3942(5); + } + + public static void method2104(int i) { + aClass114_3641 = null; + if (i < 66) method2104(127); + } + + final void method2105(int i) { + if (i > -118) aClass114_3641 = null; + anInt3634++; + anInterface5_Impl1_3638.method21(23315); + } + + Component333(GlToolkitSub3 var_ha_Sub3) { + anInt3626 = 0; + aClass318_Sub9_Sub2ArrayArray3632 = new RenderableSub9Sub2[1600][64]; + anIntArray3631 = new int[8191]; + aClass318_Sub9_Sub2ArrayArray3642 = new RenderableSub9Sub2[64][768]; + anIntArray3636 = new int[1600]; + aClass130_3637 = (var_ha_Sub3.method3812(0, (new Component255[]{new Component255(new ColoredTextBuilder[]{ColoredTextBuilder.aClass325_4073, ColoredTextBuilder.aClass325_4076, ColoredTextBuilder.aClass325_4078}), new Component255(ColoredTextBuilder.aClass325_4075)}))); + anInterface5_Impl1_3638 = var_ha_Sub3.method3889(true, 16711680); + anInterface5_Impl1_3630 = var_ha_Sub3.method3889(false, 16711680); + anInterface5_Impl1_3630.method20(393168, (byte) 124, 12); + anInterface5_Impl2_3635 = var_ha_Sub3.method3840(-28633, false); + anInterface5_Impl2_3635.method23(15959, 49146); + Buffer buffer = anInterface5_Impl2_3635.method24(true, false); + if (buffer != null) { + Stream stream = var_ha_Sub3.method3893(buffer, 9179); + if (Stream.c()) { + for (int i = 0; i < 8191; i++) { + int i_82_ = i * 4; + stream.d(i_82_); + stream.d(i_82_ + 1); + stream.d(i_82_ + 2); + stream.d(2 + i_82_); + stream.d(3 + i_82_); + stream.d(i_82_); + } + } else { + for (int i = 0; i < 8191; i++) { + int i_81_ = 4 * i; + stream.a(i_81_); + stream.a(1 + i_81_); + stream.a(2 + i_81_); + stream.a(2 + i_81_); + stream.a(3 + i_81_); + stream.a(i_81_); + } + } + stream.a(); + anInterface5_Impl2_3635.method22(-23); + } + Buffer buffer_83_ = anInterface5_Impl1_3630.method19(true, 26775); + if (buffer_83_ != null) { + Stream stream = var_ha_Sub3.method3893(buffer_83_, 9179); + if (Stream.c()) { + for (int i = 0; i < 8191; i++) { + stream.a(0.0F); + stream.a(-1.0F); + stream.a(0.0F); + stream.a(0.0F); + stream.a(-1.0F); + stream.a(0.0F); + stream.a(0.0F); + stream.a(-1.0F); + stream.a(0.0F); + stream.a(0.0F); + stream.a(-1.0F); + stream.a(0.0F); + } + } else { + for (int i = 0; i < 8191; i++) { + stream.b(0.0F); + stream.b(-1.0F); + stream.b(0.0F); + stream.b(0.0F); + stream.b(-1.0F); + stream.b(0.0F); + stream.b(0.0F); + stream.b(-1.0F); + stream.b(0.0F); + stream.b(0.0F); + stream.b(-1.0F); + stream.b(0.0F); + } + } + stream.a(); + anInterface5_Impl1_3630.method18(6331); + } + } +} diff --git a/client/components/Component334.java b/client/components/Component334.java new file mode 100644 index 000000000..592d14a93 --- /dev/null +++ b/client/components/Component334.java @@ -0,0 +1,56 @@ +/* Component334 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component334 +/** + * RENAMED from `Class146` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2012; + static long[] aLongArray2013 = new long[10]; + static int anInt2014; + static CacheStore aClass45_2015; + int anInt2016; + static int anInt2017; + static int anInt2018; + int anInt2019; + int anInt2020; + + final void method1191(int i, Buffer class348_sub49) { + if (i == 2048) { + anInt2018++; + for (; ; ) { + int i_0_ = class348_sub49.readUnsignedByte(255); + if (i_0_ == 0) break; + method1192(i_0_, class348_sub49, (byte) 17); + } + } + } + + private final void method1192(int i, Buffer class348_sub49, byte i_1_) { + anInt2014++; + if (i_1_ != 17) method1194(-80); + if (i == 1) { + this.anInt2019 = class348_sub49.readUnsignedShort(842397944); + this.anInt2016 = class348_sub49.readUnsignedByte(255); + this.anInt2020 = class348_sub49.readUnsignedByte(i_1_ ^ 0xee); + } + } + + static final boolean method1193(int i, int i_2_, boolean bool) { + if (bool != true) return true; + anInt2017++; + return (i_2_ & 0x800) != 0; + } + + public static void method1194(int i) { + if (i != 10) method1193(91, -68, true); + aLongArray2013 = null; + aClass45_2015 = null; + } + + public Component334() { + /* empty */ + } +} diff --git a/client/components/Component335.java b/client/components/Component335.java new file mode 100644 index 000000000..576ab32c4 --- /dev/null +++ b/client/components/Component335.java @@ -0,0 +1,68 @@ +/* Component335 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component335 +/** + * RENAMED from `Class147` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2021 = 0; + String aString2022; + static int anInt2023; + String aString2024; + String aString2025; + int anInt2026; + int anInt2027; + String aString2028; + static Component186[][][] aClass357ArrayArrayArray2029; + int anInt2030; + int anInt2031; + int anInt2032; + String aString2033; + static Component103[] aClass338Array2034; + static int anInt2035 = 0; + static int anInt2036; + + public static void method1195(byte i) { + if (i < 73) method1195((byte) 61); + aClass357ArrayArrayArray2029 = null; + aClass338Array2034 = null; + } + + Component335(int i, int i_0_, String string, String string_1_, String string_2_, String string_3_, int i_4_, String string_5_) { + try { + this.anInt2031 = Component327.method2408((byte) 53); + this.aString2028 = string_5_; + this.anInt2032 = i; + this.aString2033 = string_1_; + this.aString2025 = string_2_; + this.aString2022 = string_3_; + this.anInt2030 = OpenGlShader.clientCycle; + this.aString2024 = string; + this.anInt2027 = i_0_; + this.anInt2026 = i_4_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("og.(" + i + ',' + i_0_ + ',' + (string != null ? "{...}" : "null") + ',' + (string_1_ != null ? "{...}" : "null") + ',' + (string_2_ != null ? "{...}" : "null") + ',' + (string_3_ != null ? "{...}" : "null") + ',' + i_4_ + ',' + (string_5_ != null ? "{...}" : "null") + ')')); + } + } + + final void method1196(int i, int i_6_, String string, String string_7_, String string_8_, int i_9_, int i_10_, String string_11_, String string_12_) { + try { + this.anInt2031 = Component327.method2408((byte) -91); + anInt2036++; + this.aString2033 = string_7_; + this.aString2024 = string_11_; + this.anInt2030 = OpenGlShader.clientCycle; + this.aString2025 = string; + this.anInt2032 = i; + this.aString2022 = string_8_; + this.aString2028 = string_12_; + this.anInt2027 = i_6_; + if (i_9_ != -18691) this.anInt2027 = -83; + this.anInt2026 = i_10_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("og.A(" + i + ',' + i_6_ + ',' + (string != null ? "{...}" : "null") + ',' + (string_7_ != null ? "{...}" : "null") + ',' + (string_8_ != null ? "{...}" : "null") + ',' + i_9_ + ',' + i_10_ + ',' + (string_11_ != null ? "{...}" : "null") + ',' + (string_12_ != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/components/Component336.java b/client/components/Component336.java new file mode 100644 index 000000000..3bf7126ad --- /dev/null +++ b/client/components/Component336.java @@ -0,0 +1,23 @@ +/* Component336 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component336 +/** + * RENAMED from `Class29` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt400; + static int anInt401 = 0; + static int anInt402; + static int anInt403; + + public final String toString() { + anInt402++; + throw new IllegalStateException(); + } + + Component336(int i, int i_0_) { + this.anInt400 = i; + } +} diff --git a/client/components/Component337.java b/client/components/Component337.java new file mode 100644 index 000000000..36055ae17 --- /dev/null +++ b/client/components/Component337.java @@ -0,0 +1,57 @@ +/* Component337 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component337 +/** + * RENAMED from `Class281` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static StringCache aClass351_3644 = new StringCache(42, 8); + static int anInt3645; + static int anInt3646; + static int anInt3647; + static StringCache aClass351_3648 = new StringCache(55, 4); + static Component184 aClass143_3649; + static int anInt3650; + + static final void method2106(String string, int i) { + anInt3645++; + ParticleSystem class348_sub47 = DisplayModeManagerContainer351.method1478(true); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, DisplayModeManagerContainer109.aClass29_2353.anInt400); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, 0); + int i_0_ = (class348_sub47.aClass348_Sub49_Sub2_7116.offset); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, 634); + int[] is = Cp1252Decoder.method463(class348_sub47, false); + int i_1_ = (class348_sub47.aClass348_Sub49_Sub2_7116.offset); + class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, ObjectDeserializer.languageId); + class348_sub47.aClass348_Sub49_Sub2_7116.offset += 7; + class348_sub47.aClass348_Sub49_Sub2_7116.xteaEncrypt(i_1_, true, is, class348_sub47.aClass348_Sub49_Sub2_7116.offset); + class348_sub47.aClass348_Sub49_Sub2_7116.writeLengthShort(1809639944, -i_0_ + (class348_sub47.aClass348_Sub49_Sub2_7116.offset)); + HashNodeSub14.method3243(118, class348_sub47); + if (i <= 99) hashString(null, 70); + AbstractShaderSub2.anInt7297 = 1; + Component48.anInt4337 = -3; + RequestProcessor.anInt2264 = 0; + SpriteSub1.anInt8398 = 0; + } + + public static void method2107(byte i) { + aClass351_3648 = null; + aClass143_3649 = null; + aClass351_3644 = null; + if (i != 77) method2107((byte) -107); + } + + /** Jagex string hash used for archive name tables. */ + static final int hashString(String string, int i) { + anInt3646++; + int i_2_ = string.length(); + int i_3_ = 0; + for (int i_4_ = 0; i_2_ > i_4_; i_4_++) + i_3_ = (Component160.method3464(string.charAt(i_4_), false) + ((i_3_ << 5) - i_3_)); + if (i != -29286) return 0; + return i_3_; + } +} diff --git a/client/components/Component338.java b/client/components/Component338.java new file mode 100644 index 000000000..01bba4542 --- /dev/null +++ b/client/components/Component338.java @@ -0,0 +1,162 @@ +/* Component338 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.awt.*; +import java.lang.reflect.Field; + +abstract class Component338 +/** + * RENAMED from `Class110` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt1699; + static short aShort1700 = 256; + static int anInt1701; + static Component183 aClass114_1702; + static int anInt1703; + int anInt1704; + static int anInt1705; + static Component24 aClass105_1706; + static int anInt1707; + int anInt1708; + static int anInt1709; + static int anInt1710; + int anInt1711; + static boolean aBoolean1712 = false; + /*synthetic*/ static Class aClass1713; + /*synthetic*/ static Class aClass1714; + + final boolean method1029(boolean bool) { + anInt1707++; + if (bool != true) aBoolean1712 = false; + return (this.anInt1708 & 0x1) != 0; + } + + public static void method1030(int i) { + aClass114_1702 = null; + aClass105_1706 = null; + if (i > -19) method1034(-89, null, null, -72); + } + + final boolean method1031(int i) { + int i_0_ = 101 / ((54 - i) / 47); + anInt1699++; + return (0x4 & this.anInt1708) != 0; + } + + static final int method1032(int i) { + anInt1701++; + int i_1_ = 0; + if (i != -1) method1034(117, null, null, 29); + Field[] fields = (aClass1713 != null ? aClass1713 : (aClass1713 = NodeSub51.class)).getDeclaredFields(); + Field[] fields_2_ = fields; + for (int i_3_ = 0; fields_2_.length > i_3_; i_3_++) { + Field field = fields_2_[i_3_]; + if ((aClass1714 != null ? aClass1714 : (aClass1714 = Component339.class)).isAssignableFrom(field.getType())) i_1_++; + } + return i_1_ - -1; + } + + final boolean method1033(int i) { + anInt1703++; + int i_4_ = -62 % ((i - -5) / 47); + return (0x8 & this.anInt1708) != 0; + } + + static final void method1034(int i, Buffer class348_sub49, ReflectionInvoker class297, int i_5_) { + try { + anInt1710++; + NodeSub48 class348_sub48 = new NodeSub48(); + class348_sub48.anInt7126 = class348_sub49.readUnsignedByte(255); + class348_sub48.anInt7130 = class348_sub49.readInt((byte) -126); + class348_sub48.anIntArray7132 = new int[class348_sub48.anInt7126]; + class348_sub48.aByteArrayArrayArray7128 = new byte[class348_sub48.anInt7126][][]; + class348_sub48.aClass144Array7127 = new Task[class348_sub48.anInt7126]; + if (i_5_ > 90) { + class348_sub48.aClass144Array7135 = (new Task + [class348_sub48.anInt7126]); + class348_sub48.anIntArray7131 = new int[class348_sub48.anInt7126]; + class348_sub48.anIntArray7136 = new int[class348_sub48.anInt7126]; + for (int i_6_ = 0; i_6_ < class348_sub48.anInt7126; i_6_++) { + try { + int i_7_ = class348_sub49.readUnsignedByte(255); + if (i_7_ != 0 && i_7_ != 1 && i_7_ != 2) { + if (i_7_ == 3 || i_7_ == 4) { + String string = class348_sub49.readString((byte) 89); + String string_8_ = class348_sub49.readString((byte) -81); + int i_9_ = class348_sub49.readUnsignedByte(255); + String[] strings = new String[i_9_]; + for (int i_10_ = 0; i_9_ > i_10_; i_10_++) + strings[i_10_] = class348_sub49.readString((byte) -23); + byte[][] is = new byte[i_9_][]; + if (i_7_ == 3) { + for (int i_11_ = 0; i_11_ < i_9_; i_11_++) { + int i_12_ = class348_sub49.readInt((byte) -126); + is[i_11_] = new byte[i_12_]; + class348_sub49.readBytes(2147483647, 0, i_12_, is[i_11_]); + } + } + class348_sub48.anIntArray7132[i_6_] = i_7_; + Class[] var_classes = new Class[i_9_]; + for (int i_13_ = 0; (i_13_ < i_9_); i_13_++) + var_classes[i_13_] = (PrimitiveTypeDefinition.method3052(11012, strings[i_13_])); + class348_sub48.aClass144Array7127[i_6_] = (class297.getDeclaredMethod(var_classes, 76, PrimitiveTypeDefinition.method3052(11012, string), string_8_)); + class348_sub48.aByteArrayArrayArray7128[i_6_] = is; + } + } else { + String string = class348_sub49.readString((byte) 103); + String string_14_ = class348_sub49.readString((byte) 109); + int i_15_ = 0; + if (i_7_ == 1) i_15_ = class348_sub49.readInt((byte) -126); + class348_sub48.anIntArray7132[i_6_] = i_7_; + class348_sub48.anIntArray7136[i_6_] = i_15_; + class348_sub48.aClass144Array7135[i_6_] = (class297.getDeclaredField(0, string_14_, PrimitiveTypeDefinition.method3052(11012, string))); + } + } catch (ClassNotFoundException classnotfoundexception) { + class348_sub48.anIntArray7131[i_6_] = -1; + } catch (SecurityException securityexception) { + class348_sub48.anIntArray7131[i_6_] = -2; + } catch (NullPointerException nullpointerexception) { + class348_sub48.anIntArray7131[i_6_] = -3; + } catch (Exception exception) { + class348_sub48.anIntArray7131[i_6_] = -4; + } catch (Throwable throwable) { + class348_sub48.anIntArray7131[i_6_] = -5; + } + } + NodeSub35.aClass262_6978.addTail(class348_sub48, -20180); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("mr.E(" + i + ',' + (class348_sub49 != null ? "{...}" : "null") + ',' + (class297 != null ? "{...}" : "null") + ',' + i_5_ + ')')); + } + } + + static final Sprite method1035(int i, int i_16_, Canvas canvas, int i_17_) { + anInt1705++; + if (i != 9029) return null; + try { + Sprite class348_sub31 = new BufferedImageSprite(); + class348_sub31.method3008(canvas, i_17_, -90, i_16_); + return class348_sub31; + } catch (Throwable throwable) { + ImageProducerSprite class348_sub31_sub2 = new ImageProducerSprite(); + class348_sub31_sub2.method3008(canvas, i_17_, -128, i_16_); + return class348_sub31_sub2; + } + } + + final boolean method1036(byte i) { + anInt1709++; + if (i != -35) method1034(11, null, null, -12); + return (this.anInt1708 & 0x2) != 0; + } + + public Component338() { + /* empty */ + } + + static { + aClass114_1702 = new Component183(24, 6); + } +} diff --git a/client/components/Component339.java b/client/components/Component339.java new file mode 100644 index 000000000..22682b926 --- /dev/null +++ b/client/components/Component339.java @@ -0,0 +1,92 @@ +/* Component339 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +abstract class Component339 +/** + * RENAMED from `Class239` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3134; + static Component183 aClass114_3135 = new Component183(108, 5); + NodeSub51 aClass348_Sub51_3136; + static int anInt3137; + int anInt3138; + static int anInt3139; + static int anInt3140; + static int anInt3141; + static int anInt3142; + static Component183 aClass114_3143; + /** Shared 520+ byte sector scratch for {@link CacheIndexReader}. */ + static byte[] sectorBuffer = new byte[520]; + static Component183 aClass114_3145; + static CacheStore aClass45_3146; + static Component290 aClass166_3147; + + /** All {@link BuildType}s: LIVE, RC, WIP. */ + static final BuildType[] values(int i) { + if (i > -110) method1715(97); + anInt3141++; + return (new BuildType[]{Component342.LIVE, DefinitionSub20.RC, Component118.WIP}); + } + + abstract int method1710(int i); + + static final void method1711(int i, CacheStore class45, int i_0_, CacheStore class45_1_) { + try { + MenuOpener.aClass45_4843 = class45_1_; + anInt3140++; + if (i != 7) aClass45_3146 = null; + Component161.aClass45_1940 = class45; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("su.Q(" + i + ',' + (class45 != null ? "{...}" : "null") + ',' + i_0_ + ',' + (class45_1_ != null ? "{...}" : "null") + ')')); + } + } + + abstract void method1712(int i, int i_2_); + + static final void method1713(boolean bool, int i) { + Component272.method1728(PacketReader.anInt10432, -1, r.anInt9721, bool, Component236.anInt4017); + if (i == 520) anInt3137++; + } + + abstract int method1714(int i, int i_3_); + + public static void method1715(int i) { + aClass114_3145 = null; + aClass114_3143 = null; + aClass45_3146 = null; + aClass114_3135 = null; + sectorBuffer = null; + aClass166_3147 = null; + if (i < 13) values(-99); + } + + abstract void method1716(boolean bool); + + Component339(NodeSub51 class348_sub51) { + this.aClass348_Sub51_3136 = class348_sub51; + this.anInt3138 = method1710(20014); + } + + static final void method1717(int i, int i_4_, int i_5_, int i_6_) { + ObjectDeserializer.aByteArrayArrayArray6962 = new byte[i_6_][i_5_][i_4_]; + if (i != 19278) method1717(35, 126, -83, 85); + anInt3134++; + } + + Component339(int i, NodeSub51 class348_sub51) { + this.aClass348_Sub51_3136 = class348_sub51; + this.anInt3138 = i; + } + + final void method1718(int i, int i_7_) { + if (i_7_ < 3) method1712(12, 42); + anInt3139++; + if (method1714(3, i) != 3) method1712(124, i); + } + + static { + aClass114_3143 = new Component183(7, 3); + } +} diff --git a/client/components/Component340.java b/client/components/Component340.java new file mode 100644 index 000000000..38e6d03cf --- /dev/null +++ b/client/components/Component340.java @@ -0,0 +1,14 @@ +/* Component340 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component340 +/** + * RENAMED from `Class345_Sub1` (JODE-obfuscated). + * Evidence: subclass of Component35 (hierarchy) + */ extends Component35 { + final ReferenceHolder method2694(int i, ReferenceHolder class348_sub42_sub9) { + if (i != -1) return null; + return (new SoftReferenceHolder((class348_sub42_sub9.anInterface14_9559), class348_sub42_sub9.getReferent(i + 65537), class348_sub42_sub9.anInt9556)); + } +} diff --git a/client/components/Component342.java b/client/components/Component342.java new file mode 100644 index 000000000..cce545329 --- /dev/null +++ b/client/components/Component342.java @@ -0,0 +1,53 @@ +/* Component342 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component342 +/** + * RENAMED from `Class68` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt1178; + static Component342 aClass68_1179 = new Component342(1); + static int anInt1180; + static Component342 aClass68_1181 = new Component342(2); + static Component342 aClass68_1182 = new Component342(4); + static Component342 aClass68_1183 = new Component342(1); + static Component342 aClass68_1184 = new Component342(2); + static Component342 aClass68_1185 = new Component342(4); + static Component342 aClass68_1186 = new Component342(2); + static Component342 aClass68_1187 = new Component342(4); + /** Pixel height of one developer-console history row (ascent+descent+pad). */ + static int consoleLineHeight; + /** Production build channel ({@code id}=0). */ + static BuildType LIVE; + static int[][] anIntArrayArray1190 = {{2, 4}, {2, 4}, {5, 2, 4}, {4, 5, 2}, {2, 4, 5}, {5, 2, 4}, {1, 6, 2, 5}, {1, 6, 7, 1}, {6, 7, 1, 1}, {0, 8, 9, 8, 9, 4}, {8, 9, 4, 0, 8, 9}, {2, 10, 0, 10, 11, 11}, {2, 4}, {1, 6, 7, 1}, {1, 6, 7, 1}}; + + public static void method719(byte i) { + aClass68_1183 = null; + aClass68_1184 = null; + aClass68_1181 = null; + if (i == 72) { + aClass68_1182 = null; + anIntArrayArray1190 = null; + aClass68_1187 = null; + LIVE = null; + aClass68_1179 = null; + aClass68_1186 = null; + aClass68_1185 = null; + } + } + + private Component342(int i) { + this.anInt1178 = i; + } + + public final String toString() { + anInt1180++; + throw new IllegalStateException(); + } + + static { + LIVE = new BuildType("LIVE", 0); + } +} diff --git a/client/components/Component344.java b/client/components/Component344.java new file mode 100644 index 000000000..12072fbcf --- /dev/null +++ b/client/components/Component344.java @@ -0,0 +1,113 @@ +/* Component344 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component344 +/** + * RENAMED from `Class87` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt1483; + static int anInt1484; + static int anInt1485; + static int anInt1486; + private NodeCache aClass60_1487 = new NodeCache(64); + private final CacheStore aClass45_1488; + static int anInt1489; + static int anInt1490; + private NodeCache aClass60_1491 = new NodeCache(100); + + final void method834(byte i) { + synchronized (aClass60_1487) { + aClass60_1487.clear(0); + if (i >= -43) method838(-67); + } + anInt1490++; + synchronized (aClass60_1491) { + aClass60_1491.clear(0); + } + } + + final DisplayModeManagerContainer167 method835(int i, int i_0_) { + anInt1483++; + DisplayModeManagerContainer167 class17; + synchronized (aClass60_1487) { + class17 = (DisplayModeManagerContainer167) aClass60_1487.get(i, i_0_ + -68); + } + if (i_0_ != 7) aClass60_1491 = null; + if (class17 != null) return class17; + byte[] is; + synchronized (aClass45_1488) { + is = aClass45_1488.getFile(-1860, Component279.method256(i, (byte) 125), RSACipher.method494(i_0_ ^ 0x55, i)); + } + class17 = new DisplayModeManagerContainer167(); + class17.anInt269 = i; + class17.aClass87_251 = this; + if (is != null) class17.method267(new Buffer(is), false); + class17.method270((byte) 124); + synchronized (aClass60_1487) { + aClass60_1487.putOne(class17, i, (byte) -126); + } + return class17; + } + + final void method836(int i, int i_1_) { + anInt1485++; + synchronized (aClass60_1487) { + aClass60_1487.processSoftEntries(2, i); + } + synchronized (aClass60_1491) { + aClass60_1491.processSoftEntries(2, i); + } + int i_2_ = -75 % ((i_1_ - 26) / 35); + } + + static final int method837(int i, boolean bool, int i_3_, int i_4_) { + i_4_ &= 0x3; + anInt1486++; + if (i_4_ == 0) return i_3_; + if (bool != true) return -75; + if (i_4_ == 1) return 7 - i; + if (i_4_ == 2) return 7 - i_3_; + return i; + } + + final void method838(int i) { + synchronized (aClass60_1487) { + aClass60_1487.method587(-121); + } + if (i != 7) method838(-111); + anInt1489++; + synchronized (aClass60_1491) { + aClass60_1491.method587(-127); + } + } + + final HashNodeSub17 method839(int i, int i_5_) { + anInt1484++; + HashNodeSub17 class348_sub42_sub17; + synchronized (aClass60_1491) { + if (i_5_ != 3) aClass60_1487 = null; + class348_sub42_sub17 = (HashNodeSub17) aClass60_1491.get(i, -60); + if (class348_sub42_sub17 == null) { + class348_sub42_sub17 = new HashNodeSub17(i); + aClass60_1491.putOne(class348_sub42_sub17, i, (byte) -127); + } + if (!class348_sub42_sub17.method3268(-122)) return null; + } + return class348_sub42_sub17; + } + + Component344(GameType class230, int i, CacheStore class45, CacheStore class45_6_, CacheStore class45_7_) { + try { + aClass45_1488 = class45; + if (aClass45_1488 != null) { + int i_8_ = aClass45_1488.getGroupCapacity(-1) + -1; + aClass45_1488.getFileCount(0, i_8_); + } + Component339.method1711(7, class45_6_, 2, class45_7_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("lfa.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ',' + (class45_6_ != null ? "{...}" : "null") + ',' + (class45_7_ != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/components/Component349.java b/client/components/Component349.java new file mode 100644 index 000000000..578e5aa3f --- /dev/null +++ b/client/components/Component349.java @@ -0,0 +1,285 @@ +/* Component349 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component349 +/** + * RENAMED from `Class318_Sub1_Sub3_Sub1` (JODE-obfuscated). + * Evidence: subclass of Component327 (hierarchy) + */ extends Component327 implements Interface10 { + private final boolean aBoolean10003; + static int anInt10004; + static int anInt10005; + static int anInt10006; + static int anInt10007; + static int anInt10008; + static int anInt10009; + static HashNodeSub17[] aClass348_Sub42_Sub17Array10010 = new HashNodeSub17[14]; + static int anInt10011; + static int anInt10012; + static int anInt10013; + private final boolean aBoolean10014; + private byte aByte10015; + static int anInt10016; + private final boolean aBoolean10017; + static int anInt10018; + private boolean aBoolean10019; + static int anInt10020; + static int anInt10021; + static int anInt10022; + static int anInt10023 = -60; + private final byte aByte10024; + private ComponentDownloader aClass30_10025; + static int anInt10026; + static int anInt10027; + DisplayModeManagerContainer370 aClass64_10028; + static int anInt10029; + static int anInt10030; + static int anInt10031; + private short aShort10032; + static int anInt10033; + static int anInt10034; + static int anInt10035; + private r aR10036; + static int anInt10037; + + public final void method40(int i) { + if (i == -12031) { + if (this.aClass64_10028 != null) this.aClass64_10028.method612(); + anInt10022++; + } + } + + final int method2394(boolean bool) { + if (bool != true) return 109; + anInt10006++; + if (this.aClass64_10028 == null) return 0; + return this.aClass64_10028.fa(); + } + + public final void method44(int i, GraphicsToolkit var_ha) { + anInt10008++; + Object object = null; + r var_r; + if (aR10036 != null || !aBoolean10003) { + var_r = aR10036; + aR10036 = null; + } else { + Component245 class2 = method2417(0, var_ha, 262144, true); + var_r = class2 != null ? class2.aR118 : null; + } + if (i != 836) method41(-125); + if (var_r != null) Component387.method1130(var_r, this.aByte6376, this.x, this.y, null); + } + + Component349(GraphicsToolkit var_ha, Component44 class51, int i, int i_0_, int i_1_, int i_2_, int i_3_, boolean bool, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_, boolean bool_10_) { + super(i, i_0_, i_1_, i_2_, i_3_, i_4_, i_5_, i_6_, i_7_, class51.anInt895 == 1, SceneNode.method2782(i_9_, i_8_, 0)); + do { + try { + aShort10032 = (short) class51.anInt941; + aByte10015 = (byte) i_9_; + aByte10024 = (byte) i_8_; + aBoolean10014 = class51.anInt874 != 0 && !bool; + aBoolean10017 = bool; + aBoolean10019 = bool_10_; + this.aByte6376 = (byte) i_0_; + aBoolean10003 = (var_ha.method3682() && class51.aBoolean894 && !aBoolean10017 && Component192.aClass348_Sub51_3959.aClass239_Sub7_7238.method1748(-32350) != 0); + int i_11_ = 2048; + if (aBoolean10019) i_11_ |= 0x10000; + Component245 class2 = method2417(0, var_ha, i_11_, aBoolean10003); + if (class2 == null) break; + this.aClass64_10028 = class2.aClass64_119; + aR10036 = class2.aR118; + if (!aBoolean10019) break; + this.aClass64_10028 = this.aClass64_10028.method614((byte) 0, i_11_, false); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("dm.(" + (var_ha != null ? "{...}" : "null") + ',' + (class51 != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + i_1_ + ',' + i_2_ + ',' + i_3_ + ',' + bool + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ',' + i_9_ + ',' + bool_10_ + ')')); + } + break; + } while (false); + } + + final int method2379(int i) { + if (i != -25675) method2418(null, (byte) -68); + anInt10027++; + if (this.aClass64_10028 != null) return this.aClass64_10028.ma(); + return 0; + } + + public final boolean method38(int i) { + if (i != -18443) return false; + anInt10037++; + return aBoolean10003; + } + + final boolean method2391(GraphicsToolkit var_ha, int i, int i_12_, int i_13_) { + anInt10005++; + if (i_13_ != 0) return false; + DisplayModeManagerContainer370 class64 = method2414(-1, var_ha, 131072); + if (class64 != null) { + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + class101.method894(this.x, this.anInt6382, this.y); + if (DisplayModeManagerContainer50.aBoolean3870) return class64.method623(i_12_, i, class101, false, 0, Component72.anInt1906); + return class64.method628(i_12_, i, class101, false, 0); + } + return false; + } + + private final DisplayModeManagerContainer370 method2414(int i, GraphicsToolkit var_ha, int i_14_) { + if (i != -1) method2392(false); + anInt10004++; + if (this.aClass64_10028 != null && var_ha.method3667(this.aClass64_10028.ua(), i_14_) == 0) return this.aClass64_10028; + Component245 class2 = method2417(0, var_ha, i_14_, false); + if (class2 == null) return null; + return class2.aClass64_119; + } + + final void method2387(GraphicsToolkit var_ha, int i) { + anInt10033++; + if (i > -125) aShort10032 = (short) -95; + } + + public static void method2415(int i) { + aClass348_Sub42_Sub17Array10010 = null; + int i_15_ = 93 / ((i - -62) / 35); + } + + final int method2416(int i) { + if (i != 15) aByte10015 = (byte) 66; + anInt10009++; + if (this.aClass64_10028 != null) return this.aClass64_10028.ShaderImpl() / 4; + return 15; + } + + final boolean method2388(int i) { + anInt10035++; + if (i > -65) return true; + return aBoolean10019; + } + + public final int method41(int i) { + if (i != -32228) this.aClass64_10028 = null; + anInt10030++; + return aByte10015; + } + + final void method2380(GraphicsToolkit var_ha, int i, boolean bool, RenderableObject class318_sub1, int i_16_, byte i_17_, int i_18_) { + do { + try { + anInt10034++; + if (class318_sub1 instanceof Component197) { + Component197 class318_sub1_sub4_sub1 = (Component197) class318_sub1; + if (this.aClass64_10028 != null && (class318_sub1_sub4_sub1.aClass64_10071) != null) this.aClass64_10028.method613(class318_sub1_sub4_sub1.aClass64_10071, i_18_, i, i_16_, bool); + } else if (class318_sub1 instanceof Component349) { + Component349 class318_sub1_sub3_sub1_19_ = (Component349) class318_sub1; + if (this.aClass64_10028 != null && (class318_sub1_sub3_sub1_19_.aClass64_10028 != null)) this.aClass64_10028.method613(class318_sub1_sub3_sub1_19_.aClass64_10028, i_18_, i, i_16_, bool); + } + if (i_17_ < -106) break; + method2392(false); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("dm.N(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class318_sub1 != null ? "{...}" : "null") + ',' + i_16_ + ',' + i_17_ + ',' + i_18_ + ')')); + } + break; + } while (false); + } + + public final int method42(int i) { + if (i > -62) return 126; + anInt10012++; + return aShort10032 & 0xffff; + } + + final void method2392(boolean bool) { + anInt10020++; + if (bool != true) method38(120); + aBoolean10019 = false; + if (this.aClass64_10028 != null) this.aClass64_10028.s(~0x10000 & this.aClass64_10028.ua()); + } + + final ComponentDownloader method2381(GraphicsToolkit var_ha, int i) { + if (aClass30_10025 == null) aClass30_10025 = (OggUrlStream.method2967(this.x, method2414(i + -8, var_ha, 0), this.y, this.anInt6382, 2)); + if (i != 7) return null; + anInt10013++; + return aClass30_10025; + } + + private final Component245 method2417(int i, GraphicsToolkit var_ha, int i_20_, boolean bool) { + anInt10007++; + Component44 class51 = GradientPreset.aClass263_9195.method2005(i, 0xffff & aShort10032); + s var_s; + s var_s_21_; + if (aBoolean10017) { + var_s = Component9.aSArray4142[this.aByte6376]; + var_s_21_ = NodeSub1Sub1.aSArray8801[0]; + } else { + var_s = (NodeSub1Sub1.aSArray8801[this.aByte6376]); + if (this.aByte6376 >= 3) var_s_21_ = null; + else var_s_21_ = (NodeSub1Sub1.aSArray8801[this.aByte6376 - -1]); + } + return class51.method476(var_ha, var_s_21_, (aByte10024 != 11 ? aByte10024 : 10), i_20_, this.x, bool, var_s, this.anInt6382, this.y, (aByte10024 != 11 ? (int) aByte10015 : aByte10015 + 4), 128); + } + + final boolean method2376(int i) { + if (i > -12) return false; + anInt10029++; + if (this.aClass64_10028 != null) { + return !this.aClass64_10028.r(); + } + return true; + } + + final boolean method2377(byte i) { + if (i != 122) method2381(null, -44); + anInt10021++; + if (this.aClass64_10028 != null) return this.aClass64_10028.F(); + return false; + } + + public final void method43(GraphicsToolkit var_ha, int i) { + if (i != -14218) aBoolean10019 = false; + anInt10016++; + Object object = null; + r var_r; + if (aR10036 == null && aBoolean10003) { + Component245 class2 = method2417(i + 14218, var_ha, 262144, true); + var_r = class2 != null ? class2.aR118 : null; + } else { + var_r = aR10036; + aR10036 = null; + } + if (var_r != null) RequestProcessor.method1301(var_r, this.aByte6376, this.x, this.y, null); + } + + static final int method2418(String string, byte i) { + anInt10011++; + int i_22_ = -51 / ((i - 3) / 42); + int i_23_ = string.length(); + int i_24_ = 0; + for (int i_25_ = 0; i_23_ > i_25_; i_25_++) + i_24_ = string.charAt(i_25_) + ((i_24_ << 5) + -i_24_); + return i_24_; + } + + static final int method2419(byte i, int i_26_) { + anInt10018++; + if (i < 122) return -49; + return i_26_ >>> 8; + } + + public final int method39(int i) { + int i_27_ = -116 / ((-91 - i) / 35); + anInt10026++; + return aByte10024; + } + + final RenderableSub4 method2386(int i, GraphicsToolkit var_ha) { + anInt10031++; + if (this.aClass64_10028 == null) return null; + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + class101.method894(this.x, this.anInt6382, this.y); + RenderableSub4 class318_sub4 = OutputStream_Sub2.method136(i, aBoolean10014, false); + if (!DisplayModeManagerContainer50.aBoolean3870) this.aClass64_10028.method615(class101, class318_sub4.aClass318_Sub3Array6414[0], 0); + else this.aClass64_10028.method608(class101, class318_sub4.aClass318_Sub3Array6414[0], Component72.anInt1906, 0); + return class318_sub4; + } +} diff --git a/client/components/Component35.java b/client/components/Component35.java new file mode 100644 index 000000000..906352b2a --- /dev/null +++ b/client/components/Component35.java @@ -0,0 +1,26 @@ +/* Component35 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +abstract class Component35 +/** + * RENAMED from `Class345` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static float aFloat4268; + static Component183 aClass114_4269 = new Component183(87, 1); + static int anInt4270 = -1; + static int[] anIntArray4271; + static Component183 aClass114_4272 = new Component183(67, 3); + static NodeCache aClass60_4273 = new NodeCache(128, 4); + + public static void method2693(int i) { + if (i != 3) aClass114_4269 = null; + aClass114_4272 = null; + anIntArray4271 = null; + aClass114_4269 = null; + aClass60_4273 = null; + } + + abstract ReferenceHolder method2694(int i, ReferenceHolder class348_sub42_sub9); +} diff --git a/client/components/Component350.java b/client/components/Component350.java new file mode 100644 index 000000000..d3bd136a5 --- /dev/null +++ b/client/components/Component350.java @@ -0,0 +1,351 @@ +/* Component350 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component350 +/** + * RENAMED from `Class59_Sub1_Sub1` (JODE-obfuscated). + * Evidence: subclass of Component210 (hierarchy) + */ extends Component210 { + static int anInt8652; + static int anInt8653; + static int anInt8654; + static int anInt8655; + static int anInt8656; + private byte[] aByteArray8657; + static int anInt8658; + + public Component350() { + super(8, 5, 8, 8, 2, 0.1F, 0.55F, 3.0F); + } + + static final void method556(boolean bool) { + anInt8656++; + if (Component44.aClass311_897 != null) Component44.aClass311_897.method2319((byte) -75); + if (bool == false) { + if (NodeSub32.aThread6946 != null) { + for (; ; ) { + try { + NodeSub32.aThread6946.join(); + break; + } catch (InterruptedException interruptedexception) { + /* empty */ + } + } + } + } + } + + static final Definition method557(int i, byte i_0_) { + int i_1_ = 22 / ((i_0_ - 37) / 63); + anInt8653++; + int i_2_ = i; + while_42_: + do { + while_41_: + do { + while_40_: + do { + while_39_: + do { + while_38_: + do { + while_37_: + do { + while_36_: + do { + while_35_: + do { + while_34_: + do { + while_33_: + do { + while_32_: + do { + while_31_: + do { + while_30_: + do { + while_29_: + do { + while_28_: + do { + while_27_: + do { + while_26_: + do { + while_25_: + do { + while_24_: + do { + while_23_: + do { + while_22_: + do { + while_21_: + do { + while_20_: + do { + while_19_: + do { + while_18_: + do { + while_17_: + do { + while_16_: + do { + while_15_: + do { + while_14_: + do { + while_13_: + do { + while_12_: + do { + while_11_: + do { + while_10_: + do { + while_9_: + do { + while_8_: + do { + while_7_: + do { + while_6_: + do { + while_5_: + do { + do { + if (i_2_ != 0) { + if (i_2_ != 1) { + if (i_2_ != 2) { + if (i_2_ != 3) { + if (i_2_ != 4) { + if (i_2_ != 5) { + if (i_2_ != 6) { + if (i_2_ != 7) { + if (i_2_ != 8) { + if (i_2_ != 9) { + if (i_2_ != 10) { + if (i_2_ != 11) { + if (i_2_ != 12) { + if (i_2_ != 13) { + if (i_2_ != 14) { + if (i_2_ != 15) { + if (i_2_ != 16) { + if (i_2_ != 17) { + if (i_2_ != 18) { + if (i_2_ != 19) { + if (i_2_ != 20) { + if (i_2_ != 21) { + if (i_2_ != 22) { + if (i_2_ != 23) { + if (i_2_ != 24) { + if (i_2_ != 25) { + if (i_2_ != 26) { + if (i_2_ != 27) { + if (i_2_ != 28) { + if (i_2_ != 29) { + if (i_2_ != 30) { + if (i_2_ != 31) { + if (i_2_ != 32) { + if (i_2_ != 33) { + if (i_2_ != 34) { + if (i_2_ != 35) { + if (i_2_ != 36) { + if (i_2_ != 37) { + if (i_2_ != 38) { + if (i_2_ != 39) + break while_42_; + } else + break while_40_; + break while_41_; + } + } else + break while_38_; + break while_39_; + } + } else + break while_36_; + break while_37_; + } + } else + break while_34_; + break while_35_; + } + } else + break while_32_; + break while_33_; + } + } else break while_30_; + break while_31_; + } + } else break while_28_; + break while_29_; + } + } else break while_26_; + break while_27_; + } + } else break while_24_; + break while_25_; + } + } else break while_22_; + break while_23_; + } + } else break while_20_; + break while_21_; + } + } else break while_18_; + break while_19_; + } + } else break while_16_; + break while_17_; + } + } else break while_14_; + break while_15_; + } + } else break while_12_; + break while_13_; + } + } else break while_10_; + break while_11_; + } + } else break while_8_; + break while_9_; + } + } else break while_6_; + break while_7_; + } + } else break; + break while_5_; + } + } else return new DefinitionSub15(); + return new NsnDefinition(); + } while (false); + return new DefinitionSub19(); + } while (false); + return new DefinitionSub4(); + } while (false); + return new DefinitionSub22(); + } while (false); + return new DefinitionSub37(); + } while (false); + return new DefinitionSub38(); + } while (false); + return new ToolbarRefreshDefinition(); + } while (false); + return new CurvePreset(); + } while (false); + return new ImageDefinition(); + } while (false); + return new GradientPreset(); + } while (false); + return new DefinitionSub26(); + } while (false); + return new DefinitionSub36(); + } while (false); + return new DefinitionSub20(); + } while (false); + return new DefinitionSub11(); + } while (false); + return new DefinitionSub5(); + } while (false); + return new DefinitionSub2(); + } while (false); + return new DefinitionSub30(); + } while (false); + return new DefinitionSub17Sub1(); + } while (false); + return new DefinitionSub6(); + } while (false); + return new DefinitionSub31(); + } while (false); + return new DefinitionSub27(); + } while (false); + return new DefinitionSub32(); + } while (false); + return new DefinitionSub33(); + } while (false); + return new DefinitionSub13(); + } while (false); + return (new PrimitiveTypeDefinition()); + } while (false); + return (new ParametricDefinition()); + } while (false); + return (new DefinitionSub24()); + } while (false); + return (new DefinitionSub23()); + } while (false); + return (new DefinitionSub39()); + } while (false); + return (new DefinitionSub10()); + } while (false); + return new DefinitionSub25(); + } while (false); + return new DefinitionSub35(); + } while (false); + return new LoggedOutDefinition(); + } while (false); + return new DefinitionSub8(); + } while (false); + return new DefinitionSub9(); + } while (false); + return new DefinitionSub29(); + } while (false); + return new DefinitionSub21(); + } while (false); + return new DefinitionSub28(); + } while (false); + return new DefinitionSub17(); + } while (false); + return null; + } + + final void method550(int i, byte i_3_, byte i_4_) { + if (i_4_ == 14) { + anInt8654++; + int i_5_ = i * 2; + aByteArray8657[i_5_++] = (byte) -1; + int i_6_ = i_3_ & 0xff; + aByteArray8657[i_5_] = (byte) (i_6_ * 3 >> 5); + } + } + + static final Component35 method558(int i) { + int i_7_ = -98 % ((i - -34) / 33); + anInt8658++; + try { + return new Component340(); + } catch (Throwable throwable) { + return null; + } + } + + final byte[] method559(int i, int i_8_, byte i_9_, int i_10_) { + aByteArray8657 = new byte[2 * (i_8_ * i) * i_10_]; + if (i_9_ < 85) aByteArray8657 = null; + anInt8655++; + this.method542(i_8_, i, 0, i_10_); + return aByteArray8657; + } + + static final void method560(RenderableSub4 class318_sub4, int i) { + try { + anInt8652++; + class318_sub4.aClass318_Sub1_6410 = null; + int i_11_ = (class318_sub4.aClass318_Sub3Array6414).length; + int i_12_ = 127 / ((i - 82) / 32); + for (int i_13_ = 0; i_13_ < i_11_; i_13_++) + class318_sub4.aClass318_Sub3Array6414[i_13_].aBoolean6401 = false; + synchronized (Renderable.aClass243Array3974) { + if (Renderable.aClass243Array3974.length > i_11_ && Component374.anIntArray4128[i_11_] < 200) { + Renderable.aClass243Array3974[i_11_].method1869(-126, class318_sub4); + Component374.anIntArray4128[i_11_]++; + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("hha.E(" + (class318_sub4 != null ? "{...}" : "null") + ',' + i + ')')); + } + } +} diff --git a/client/components/Component352.java b/client/components/Component352.java new file mode 100644 index 000000000..9ea297252 --- /dev/null +++ b/client/components/Component352.java @@ -0,0 +1,125 @@ +/* Component352 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component352 +/** + * RENAMED from `Class44` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt621; + static int anInt622; + static int anInt623; + static DisplayModeManagerContainer204 aClass101_624; + /** CP1252 mapping for bytes 0x80–0x9F (nul = unmapped → '?'). */ + static char[] cp1252HighChars = {'\u20ac', '\0', '\u201a', '\u0192', '\u201e', '\u2026', '\u2020', '\u2021', '\u02c6', '\u2030', '\u0160', '\u2039', '\u0152', '\0', '\u017d', '\0', '\0', '\u2018', '\u2019', '\u201c', '\u201d', '\u2022', '\u2013', '\u2014', '\u02dc', '\u2122', '\u0161', '\u203a', '\u0153', '\0', '\u017e', '\u0178'}; + + static final int method384(int i, int i_0_, int i_1_) { + anInt623++; + int i_2_ = (Component296.method1115(i - 1, i_1_ - 1, (byte) 91) - (-Component296.method1115(i - -1, i_1_ + -1, (byte) -53) + -Component296.method1115(-1 + i, 1 + i_1_, (byte) -90)) + Component296.method1115(i - -1, i_1_ - -1, (byte) -82)); + int i_3_ = (Component296.method1115(i + -1, i_1_, (byte) -118) + (Component296.method1115(i - i_0_, i_1_, (byte) 118) - (-Component296.method1115(i, -1 + i_1_, (byte) 109) + -Component296.method1115(i, 1 + i_1_, (byte) 89)))); + int i_4_ = Component296.method1115(i, i_1_, (byte) -59); + return i_4_ / 4 + i_3_ / 8 + i_2_ / 16; + } + + static final void method385(boolean bool, Component251 class237_sub1, byte[][] is) { + do { + try { + anInt622++; + int[] is_5_ = {-1, 0, 0, 0, 0}; + for (int i = 0; i < class237_sub1.anInt3130; i++) { + Component381.method3570(false); + for (int i_6_ = 0; (AbstractShaderSub4.anInt7319 >> 3 > i_6_); i_6_++) { + for (int i_7_ = 0; i_7_ < ParametricDefinition.anInt9109 >> 3; i_7_++) { + int i_8_ = (Component240.anIntArrayArrayArray1116[i][i_6_][i_7_]); + if (i_8_ != -1) { + int i_9_ = i_8_ >> 24 & 0x3; + if (!class237_sub1.aBoolean3109 || i_9_ == 0) { + int i_10_ = (i_8_ & 0x6) >> 1; + int i_11_ = (i_8_ & 0xffd064) >> 14; + int i_12_ = i_8_ >> 3 & 0x7ff; + int i_13_ = ((i_11_ / 8 << 8) - -(i_12_ / 8)); + for (int i_14_ = 0; i_14_ < (OggStreamReader.anIntArray9042).length; i_14_++) { + if ((i_13_ == (OggStreamReader.anIntArray9042[i_14_])) && is[i_14_] != null) { + Buffer class348_sub49 = new Buffer(is[i_14_]); + class237_sub1.method1684(i_6_ * 8, i, -1, class348_sub49, i_12_, 8 * i_7_, i_11_, (NodeSub45.aClass361Array7108), i_10_, i_9_); + class237_sub1.method1696(class348_sub49, false, i_12_, i_11_, 8 * i_6_, i, i_10_, 8 * i_7_, NodeSub8.toolkit, is_5_[0] != -1 ? null : is_5_, i_9_); + break; + } + } + } + } + } + } + } + for (int i = 0; class237_sub1.anInt3130 > i; i++) { + Component381.method3570(false); + for (int i_15_ = 0; (i_15_ < AbstractShaderSub4.anInt7319 >> 3); i_15_++) { + for (int i_16_ = 0; (i_16_ < ParametricDefinition.anInt9109 >> 3); i_16_++) { + int i_17_ = (Component240.anIntArrayArrayArray1116[i][i_15_][i_16_]); + if (i_17_ == -1) class237_sub1.method1678(i_15_ * 8, 8, i_16_ * 8, -100, 8, i); + } + } + } + if (is_5_[0] != -1) { + Component293.aClass305_3304 = ComponentDownloader.aClass84_413.method823(is_5_[2], is_5_[3], is_5_[1], -109, (Component132.aClass25_1813), is_5_[0]); + Component316.anInt2481 = is_5_[4]; + } + if (bool == false) break; + method387(26); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ik.D(" + bool + ',' + (class237_sub1 != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + static final void method386(byte i) { + anInt621++; + if (i != -106) method386((byte) 21); + Component279.aClass60_225.method587(i + 9); + } + + public static void method387(int i) { + aClass101_624 = null; + cp1252HighChars = null; + if (i < 33) cp1252HighChars = null; + } + + static final void method388(int i, int i_18_, int i_19_, Component203 class318_sub1_sub5, Component203 class318_sub1_sub5_20_) { + Component186 class357 = NodeSub46.method3321(i, i_18_, i_19_); + if (class357 != null) { + class357.aClass318_Sub1_Sub5_4395 = class318_sub1_sub5; + class357.aClass318_Sub1_Sub5_4407 = class318_sub1_sub5_20_; + int i_21_ = ShaderSub1.aSArray5191 == Component9.aSArray4142 ? 1 : 0; + if (class318_sub1_sub5.method2376(-62)) { + if (class318_sub1_sub5.method2377((byte) 122)) { + class318_sub1_sub5.aClass318_Sub1_6379 = AudioMixer.aClass318_Sub1Array3226[i_21_]; + AudioMixer.aClass318_Sub1Array3226[i_21_] = class318_sub1_sub5; + } else { + class318_sub1_sub5.aClass318_Sub1_6379 = Node.aClass318_Sub1Array4293[i_21_]; + Node.aClass318_Sub1Array4293[i_21_] = class318_sub1_sub5; + NodeSub16Sub2.aBoolean8870 = true; + } + } else { + class318_sub1_sub5.aClass318_Sub1_6379 = Component95.aClass318_Sub1Array1754[i_21_]; + Component95.aClass318_Sub1Array1754[i_21_] = class318_sub1_sub5; + } + if (class318_sub1_sub5_20_ != null) { + if (class318_sub1_sub5_20_.method2376(-110)) { + if (class318_sub1_sub5_20_.method2377((byte) 122)) { + class318_sub1_sub5_20_.aClass318_Sub1_6379 = AudioMixer.aClass318_Sub1Array3226[i_21_]; + AudioMixer.aClass318_Sub1Array3226[i_21_] = class318_sub1_sub5_20_; + } else { + class318_sub1_sub5_20_.aClass318_Sub1_6379 = Node.aClass318_Sub1Array4293[i_21_]; + Node.aClass318_Sub1Array4293[i_21_] = class318_sub1_sub5_20_; + NodeSub16Sub2.aBoolean8870 = true; + } + } else { + class318_sub1_sub5_20_.aClass318_Sub1_6379 = Component95.aClass318_Sub1Array1754[i_21_]; + Component95.aClass318_Sub1Array1754[i_21_] = class318_sub1_sub5_20_; + } + } + } + } +} diff --git a/client/components/Component353.java b/client/components/Component353.java new file mode 100644 index 000000000..01f495ddd --- /dev/null +++ b/client/components/Component353.java @@ -0,0 +1,70 @@ +/* Component353 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component353 +/** + * RENAMED from `Class192` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + Interface5_Impl2 anInterface5_Impl2_2572; + static int anInt2573; + boolean aBoolean2574; + static int anInt2575; + Interface5_Impl2 anInterface5_Impl2_2576; + boolean aBoolean2577; + /** Camera focus world Z (lerped toward player/orbit target). */ + static int cameraFocusZ; + static short[] aShortArray2579; + static int anInt2580; + static int anInt2581 = 0; + static int anInt2582; + + static final void method1434(int i) { + anInt2573++; + for (RenderableSub6 class318_sub6 = (RenderableSub6) InputStream_Sub2.aClass243_83.method1875(60); class318_sub6 != null; class318_sub6 = ((RenderableSub6) InputStream_Sub2.aClass243_83.method1875(60))) + DisplayModeManagerContainer104.method2461(class318_sub6, true); + int i_0_; + int i_1_; + if (Component192.aClass348_Sub51_3959.aClass239_Sub27_7261.method1840(-32350) == 1) { + i_0_ = 0; + i_1_ = 3; + } else i_0_ = i_1_ = Component385.anInt2204; + client.method115(); + for (int i_2_ = i_0_; i_2_ <= i_1_; i_2_++) { + client.method109(); + client.method117(i_2_); + client.method104(i_2_); + } + client.method106(); + if (i == -14988) client.method112(); + } + + final void method1435(byte i) { + if (i >= -6) this.aBoolean2577 = true; + anInt2575++; + if (this.anInterface5_Impl2_2576 != null) this.anInterface5_Impl2_2576.method21(23315); + this.aBoolean2577 = false; + } + + static final boolean method1436(int i, int i_3_) { + int i_4_ = 22 % ((i - 16) / 35); + anInt2582++; + return i_3_ == (i_3_ & -i_3_); + } + + Component353(boolean bool) { + this.aBoolean2574 = bool; + } + + final boolean method1437(byte i) { + anInt2580++; + if (i != -100) this.anInterface5_Impl2_2572 = null; + return this.aBoolean2577 && !this.aBoolean2574; + } + + public static void method1438(int i) { + int i_5_ = 85 % ((i - -28) / 60); + aShortArray2579 = null; + } +} diff --git a/client/components/Component354.java b/client/components/Component354.java new file mode 100644 index 000000000..4795c5eea --- /dev/null +++ b/client/components/Component354.java @@ -0,0 +1,57 @@ +/* Component354 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.awt.*; + +final class Component354 +/** + * RENAMED from `Class13` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt219; + static Component183 aClass114_220 = new Component183(40, -1); + static int anInt221; + static int[] anIntArray222; + static Component219[] aClass314_Sub1Array223 = new Component219[37]; + static int[] anIntArray224; + + public static void method225(byte i) { + if (i > 54) { + aClass114_220 = null; + anIntArray224 = null; + anIntArray222 = null; + aClass314_Sub1Array223 = null; + } + } + + static final void method226(int i, int i_0_, int i_1_, int i_2_, int i_3_) { + for (int i_4_ = i_2_; NodeSub38.anInt7008 > i_4_; i_4_++) { + Rectangle rectangle = Component166.aRectangleArray2371[i_4_]; + if (i < rectangle.width + rectangle.x && i_0_ + i > rectangle.x && (i_1_ < rectangle.y - -rectangle.height) && rectangle.y < i_1_ + i_3_) InflaterDecompressor.aBooleanArray2076[i_4_] = true; + } + anInt219++; + Component103.method2663(i_2_ + -5590, i, i - -i_0_, i_1_, i_3_ + i_1_); + } + + static final void method227(RenderableObject class318_sub1, boolean bool, boolean bool_5_) { + class318_sub1.aBoolean6391 = bool_5_; + if (DefinitionSub5.aBoolean9121) { + if (bool) Component144.aClass315Array3982[Component144.aClass315Array3982.length - 1].method2353(class318_sub1, false); + else { + int i = WaterSurfaceShader.method2154(class318_sub1.anInt6386); + int i_6_ = (RSACipher.anIntArray4906[2] * class318_sub1.method2379(-25675) / class318_sub1.anInt6389); + int i_7_ = WaterSurfaceShader.method2154((class318_sub1.anInt6386) - i_6_); + int i_8_ = WaterSurfaceShader.method2154((class318_sub1.anInt6386) + i_6_); + if (i_7_ == i_8_) Component144.aClass315Array3982[i].method2353(class318_sub1, false); + else if (i_8_ - i_7_ == 1) Component144.aClass315Array3982[DisplayModeManagerContainer216.anInt5652 + i_7_].method2353(class318_sub1, false); + else Component144.aClass315Array3982[Component144.aClass315Array3982.length - 1].method2353(class318_sub1, false); + } + } else PauseTimer.method365(class318_sub1, Component95.aClass348_Sub1Array1752); + } + + static { + anIntArray222 = new int[3]; + anIntArray224 = new int[250]; + } +} diff --git a/client/components/Component355.java b/client/components/Component355.java new file mode 100644 index 000000000..7b09c7237 --- /dev/null +++ b/client/components/Component355.java @@ -0,0 +1,61 @@ +/* Component355 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component355 +/** + * RENAMED from `Class254` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt3256; + static int anInt3257; + String aString3258; + private char aChar3259; + static int anInt3260; + boolean aBoolean3261 = true; + static int anInt3262; + static int anInt3263; + static Component183 aClass114_3264 = new Component183(6, 2); + + final void method1924(Buffer class348_sub49, byte i) { + int i_0_ = -47 % ((i - -74) / 49); + for (; ; ) { + int i_1_ = class348_sub49.readUnsignedByte(255); + if (i_1_ == 0) break; + method1927(true, class348_sub49, i_1_); + } + anInt3263++; + } + + final boolean method1925(boolean bool) { + anInt3262++; + if (bool != false) return true; + return aChar3259 == 115; + } + + public static void method1926(int i) { + if (i >= -125) aClass114_3264 = null; + aClass114_3264 = null; + } + + private final void method1927(boolean bool, Buffer class348_sub49, int i) { + anInt3257++; + if (i != 1) { + if (i == 2) this.anInt3256 = class348_sub49.readInt((byte) -126); + else if (i == 4) this.aBoolean3261 = false; + else if (i == 5) this.aString3258 = class348_sub49.readString((byte) 91); + } else aChar3259 = Cp1252Decoder.method462(class348_sub49.readByte(-115), -128); + if (bool != true) this.aBoolean3261 = true; + } + + static final int method1928(int i, int i_2_, int i_3_) { + anInt3260++; + int i_4_ = i_3_ >>> 31; + if (i_2_ > 0) method1928(82, -44, -111); + return (i_3_ - -i_4_) / i + -i_4_; + } + + public Component355() { + /* empty */ + } +} diff --git a/client/components/Component357.java b/client/components/Component357.java new file mode 100644 index 000000000..eae3b0a5b --- /dev/null +++ b/client/components/Component357.java @@ -0,0 +1,91 @@ +/* Component357 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component357 +/** + * RENAMED from `Class184` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int[] anIntArray2468; + static boolean aBoolean2469; + static int anInt2470; + static int[] anIntArray2471 = new int[14]; + static int anInt2472; + String[] aStringArray2473; + HashNodeSub19 aClass348_Sub42_Sub19_2474; + static int anInt2475; + static int anInt2476; + int anInt2477 = -1; + /*synthetic*/ static Class aClass2478; + + static final int method1384(int i, int i_0_, int i_1_) { + i_1_ = (0x7f & i) * i_1_ >> 7; + if (i_0_ != 1421041063) return -72; + anInt2476++; + if (i_1_ >= 2) { + if (i_1_ > 126) i_1_ = 126; + } else i_1_ = 2; + return i_1_ + (0xff80 & i); + } + + static final void method1385(boolean bool, byte[] is, byte i) { + anInt2475++; + if (Component264.aClass348_Sub49_8698 == null) Component264.aClass348_Sub49_8698 = new Buffer(20000); + Component264.aClass348_Sub49_8698.writeBytes(is.length, 0, is, 97); + if (bool) { + Component385.method1294((byte) -113, (Component264.aClass348_Sub49_8698.payload)); + Component304.aClass110_Sub1Array1146 = new Component362[Component241.anInt2956]; + int i_2_ = 0; + for (int i_3_ = DisplayModeManagerContainer343.anInt8731; (Component284.anInt6151 >= i_3_); i_3_++) { + Component362 class110_sub1 = DisplayModeManagerContainer348.method1742(false, i_3_); + if (class110_sub1 != null) Component304.aClass110_Sub1Array1146[i_2_++] = class110_sub1; + } + Component387.aBoolean1899 = false; + Component49.aLong4683 = Component240.currentTimeMillis(-92); + Component264.aClass348_Sub49_8698 = null; + } + if (i > -21) aBoolean2469 = true; + } + + public static void method1386(boolean bool) { + anIntArray2471 = null; + if (bool != true) aBoolean2469 = true; + } + + static final void method1387(int i, NodeSub27 class348_sub27) { + anInt2470++; + if (Component335.aClass357ArrayArrayArray2029 != null) { + if (i >= -38) method1384(-77, 22, 77); + Interface10 interface10 = null; + if (class348_sub27.anInt6904 == 0) interface10 = ((Interface10) CacheNodeSub2.method3297((class348_sub27.anInt6899), (class348_sub27.anInt6905), (class348_sub27.anInt6896))); + if (class348_sub27.anInt6904 == 1) interface10 = ((Interface10) (DefinitionSub32.method3135(class348_sub27.anInt6899, class348_sub27.anInt6905, class348_sub27.anInt6896))); + if (class348_sub27.anInt6904 == 2) interface10 = ((Interface10) (DisplayModeManagerContainer249.method1353(class348_sub27.anInt6899, class348_sub27.anInt6905, class348_sub27.anInt6896, (aClass2478 != null ? aClass2478 : (aClass2478 = Interface10.class))))); + if (class348_sub27.anInt6904 == 3) interface10 = ((Interface10) (BrowserUrlOpener.method2878(class348_sub27.anInt6899, class348_sub27.anInt6905, class348_sub27.anInt6896))); + if (interface10 == null) { + class348_sub27.anInt6892 = 0; + class348_sub27.anInt6902 = -1; + class348_sub27.anInt6903 = 0; + } else { + class348_sub27.anInt6902 = interface10.method42(-103); + class348_sub27.anInt6903 = interface10.method39(111); + class348_sub27.anInt6892 = interface10.method41(-32228); + } + } + } + + static final void method1388(int i, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_) { + MenuOpener.fillInts(-27, i_6_, DisplayModeManagerContainer167.anIntArrayArray255[i++], i_7_, i_4_); + anInt2472++; + MenuOpener.fillInts(-27, i_6_, DisplayModeManagerContainer167.anIntArrayArray255[i_8_--], i_7_, i_4_); + int i_9_ = -52 / ((i_5_ - -32) / 55); + for (int i_10_ = i; i_8_ >= i_10_; i_10_++) { + int[] is = DisplayModeManagerContainer167.anIntArrayArray255[i_10_]; + is[i_7_] = is[i_6_] = i_4_; + } + } + + static { + aBoolean2469 = false; + } +} diff --git a/client/components/Component358.java b/client/components/Component358.java new file mode 100644 index 000000000..74c492ad8 --- /dev/null +++ b/client/components/Component358.java @@ -0,0 +1,58 @@ +/* Component358 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component358 +/** + * RENAMED from `Class307` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3877; + static int anInt3878; + + /** + * Load a named {@code *_staticelements} table from {@code class45}: pairs of + * (id, secondary) skipping members with flag 1 when {@code bool} is false. + */ + static final Component278 loadStaticElements(CacheStore class45, String string, boolean bool, byte i) { + try { + anInt3877++; + int i_0_ = class45.getGroupId(string, 0); + if (i != -91) return null; + if (i_0_ == -1) return new Component278(0); + int[] is = class45.getFileIds(i_0_, i ^ ~0x5a); + Component278 class252 = new Component278(is.length); + int i_1_ = 0; + int i_2_ = 0; + while (i_1_ < class252.anInt3241) { + Buffer class348_sub49 = new Buffer(class45.getFile(-1860, i_0_, is[i_2_++])); + int i_3_ = class348_sub49.readInt((byte) -126); + int i_4_ = class348_sub49.readUnsignedShort(i ^ ~0x3235f8a2); + int i_5_ = class348_sub49.readUnsignedByte(255); + if (!bool && i_5_ == 1) class252.anInt3241--; + else { + class252.anIntArray3238[i_1_] = i_3_; + class252.anIntArray3239[i_1_] = i_4_; + i_1_++; + } + } + return class252; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wt.A(" + (class45 != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ',' + bool + ',' + i + ')')); + } + } + + static final int countEmptyInvSlots(byte i, int i_6_, boolean bool) { + anInt3878++; + if (bool) return 0; + NodeSub13 class348_sub13 = AbstractGlTextureSub4.getContainerNode((byte) -9, i_6_, bool); + if (class348_sub13 == null) return (Component162.aClass271_8378.method2044(109, i_6_).anInt9542); + int i_7_ = 0; + for (int i_8_ = 0; (i_8_ < class348_sub13.itemIds.length); i_8_++) { + if (class348_sub13.itemIds[i_8_] == -1) i_7_++; + } + if (i != 35) countEmptyInvSlots((byte) -102, 43, true); + i_7_ += (Component162.aClass271_8378.method2044(82, i_6_).anInt9542 + -class348_sub13.itemIds.length); + return i_7_; + } +} diff --git a/client/components/Component359.java b/client/components/Component359.java new file mode 100644 index 000000000..cf4ec4d05 --- /dev/null +++ b/client/components/Component359.java @@ -0,0 +1,60 @@ +/* Component359 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component359 +/** + * RENAMED from `Class242` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3151; + static HashNodeSub13 aClass348_Sub42_Sub13_3152 = null; + private final GlToolkitSub2 aHa_Sub2_3153; + static int anInt3154; + static int anInt3155; + long aLong3156; + + public static void method1866(int i) { + if (i != 0) aClass348_Sub42_Sub13_3152 = null; + aClass348_Sub42_Sub13_3152 = null; + } + + static final void method1867(int i) { + if (i < 44) method1868((byte) -81, null); + anInt3155++; + TheoraVideoPlayer.anInt1498++; + ParticleSystem class348_sub47 = ParticleShader.method2148(DisplayModeManagerContainer28.aClass351_8724, DisplayModeManagerContainer64.aClass77_9029, -99); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 0); + HashNodeSub14.method3243(118, class348_sub47); + } + + protected final void finalize() throws Throwable { + anInt3151++; + aHa_Sub2_3153.method3769(this.aLong3156, false); + super.finalize(); + } + + static final void method1868(byte i, HashNodeSub13 class348_sub42_sub13) { + int i_0_ = -104 / ((i - 38) / 54); + anInt3154++; + class348_sub42_sub13.unlink(true); + boolean bool = false; + for (HashNodeSub13 class348_sub42_sub13_1_ = ((HashNodeSub13) Component237.aClass107_3022.first(-85)); class348_sub42_sub13_1_ != null; class348_sub42_sub13_1_ = ((HashNodeSub13) Component237.aClass107_3022.next((byte) 84))) { + if (RenderableSub2.method2496(class348_sub42_sub13_1_.method3235(-17937), class348_sub42_sub13.method3235(-17937), true)) { + Component325.method721(class348_sub42_sub13_1_, class348_sub42_sub13, -1); + bool = true; + break; + } + } + if (!bool) Component237.aClass107_3022.add(true, class348_sub42_sub13); + } + + Component359(GlToolkitSub2 var_ha_Sub2, long l, int i) { + try { + aHa_Sub2_3153 = var_ha_Sub2; + this.aLong3156 = l; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("tba.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + l + ',' + i + ')')); + } + } +} diff --git a/client/components/Component36.java b/client/components/Component36.java new file mode 100644 index 000000000..fc20d7987 --- /dev/null +++ b/client/components/Component36.java @@ -0,0 +1,53 @@ +/* Component36 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component36 +/** + * RENAMED from `Class257` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private static boolean aBoolean3296 = false; + private static final NodeList aClass262_3297; + private static int anInt3298 = 0; + + static final synchronized void method1945(byte i, boolean bool) { + if (i < -120) aBoolean3296 = bool; + } + + static final synchronized void method1946(int i) { + anInt3298--; + if (i >= -83) method1947(-1, null); + if (anInt3298 == 0) method1948((byte) -109); + } + + static final synchronized void method1947(int i, Interface19 interface19) { + if (!aBoolean3296) { + if (i >= anInt3298) interface19.w(false); + else { + NodeSub28 class348_sub28 = new NodeSub28(); + class348_sub28.anInterface19_6908 = interface19; + aClass262_3297.addTail(class348_sub28, -20180); + } + } + } + + static final synchronized void method1948(byte i) { + for (; ; ) { + NodeSub28 class348_sub28 = (NodeSub28) aClass262_3297.peekFirst(8); + if (class348_sub28 == null) break; + class348_sub28.anInterface19_6908.w(true); + class348_sub28.unlink((byte) 69); + } + if (i > -22) aBoolean3296 = false; + } + + static final synchronized void method1949(byte i) { + anInt3298++; + int i_0_ = -68 % ((i - -79) / 45); + } + + static { + aClass262_3297 = new NodeList(); + } +} diff --git a/client/components/Component360.java b/client/components/Component360.java new file mode 100644 index 000000000..f420f43ea --- /dev/null +++ b/client/components/Component360.java @@ -0,0 +1,63 @@ +/* Component360 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component360 +/** + * RENAMED from `Class350` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt4307; + int anInt4308; + int anInt4309; + int anInt4310; + int anInt4311 = 128; + int anInt4312; + int anInt4313; + int anInt4314 = 128; + static int anInt4315; + int anInt4316; + int anInt4317; + static int anInt4318; + static int anInt4319; + int anInt4320; + static int anInt4321; + + static final int method3452(int i, byte i_0_, int i_1_) { + if (i_0_ != -15) method3452(80, (byte) 123, -88); + anInt4315++; + int i_2_ = i_1_ + -1 & i >> 31; + return (i + (i >>> 31)) % i_1_ + i_2_; + } + + final Component360 method3453(boolean bool) { + anInt4318++; + if (bool != true) method3453(false); + return new Component360(this.anInt4313, this.anInt4314, this.anInt4311, this.anInt4316, this.anInt4317, this.anInt4308); + } + + final void method3454(Component360 class350_3_, boolean bool) { + this.anInt4308 = class350_3_.anInt4308; + this.anInt4314 = class350_3_.anInt4314; + if (bool == true) { + this.anInt4316 = class350_3_.anInt4316; + this.anInt4317 = class350_3_.anInt4317; + anInt4321++; + this.anInt4313 = class350_3_.anInt4313; + this.anInt4311 = class350_3_.anInt4311; + } + } + + Component360(int i) { + this.anInt4313 = i; + } + + private Component360(int i, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_) { + this.anInt4317 = i_7_; + this.anInt4313 = i; + this.anInt4316 = i_6_; + this.anInt4311 = i_5_; + this.anInt4308 = i_8_; + this.anInt4314 = i_4_; + } +} diff --git a/client/components/Component361.java b/client/components/Component361.java new file mode 100644 index 000000000..9f93d5297 --- /dev/null +++ b/client/components/Component361.java @@ -0,0 +1,106 @@ +/* Component361 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component361 +/** + * RENAMED from `Class25` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private NodeCache aClass60_360 = new NodeCache(16); + static int anInt361; + static int anInt362; + static int anInt363; + static StringCache aClass351_364 = new StringCache(12, 3); + static int anInt365; + private CacheStore aClass45_366; + static Component24[] aClass105Array367; + static boolean aBoolean368 = false; + static int[] anIntArray369; + static int anInt370; + static int anInt371; + static int anInt372; + + final void method299(int i, int i_0_) { + if (i_0_ != 16) aClass45_366 = null; + synchronized (aClass60_360) { + aClass60_360.processSoftEntries(2, i); + } + anInt365++; + } + + final void method300(byte i) { + anInt371++; + int i_1_ = 111 % ((i - -40) / 57); + synchronized (aClass60_360) { + aClass60_360.clear(0); + } + } + + final PauseTimer method301(int i, int i_2_) { + anInt361++; + PauseTimer class38; + synchronized (aClass60_360) { + class38 = (PauseTimer) aClass60_360.get(i, -91); + } + if (class38 != null) return class38; + byte[] is; + synchronized (aClass45_366) { + is = aClass45_366.getFile(-1860, 30, i); + } + if (i_2_ < 6) aClass60_360 = null; + class38 = new PauseTimer(); + if (is != null) class38.method364(new Buffer(is), (byte) 54); + synchronized (aClass60_360) { + aClass60_360.putOne(class38, i, (byte) -109); + } + return class38; + } + + final void method302(int i) { + synchronized (aClass60_360) { + if (i != -797644856) aClass105Array367 = null; + aClass60_360.method587(i ^ 0x2f8b186f); + } + anInt372++; + } + + static final short method303(int i, int i_3_) { + anInt362++; + int i_4_ = (i & 0xfe66) >> 10; + int i_5_ = i >> 3 & 0x70; + int i_6_ = i & 0x7f; + i_5_ = (i_6_ <= 64 ? i_6_ * i_5_ >> 7 : i_5_ * (127 + -i_6_) >> 7); + int i_7_ = i_5_ + i_6_; + int i_8_; + if (i_7_ != 0) i_8_ = (i_5_ << 8) / i_7_; + else i_8_ = i_5_ << 1; + int i_9_ = i_7_; + if (i_3_ != 30) return (short) 79; + return (short) (i_9_ | (i_8_ >> 4 << 7 | i_4_ << 10)); + } + + static final void method304(int i, int i_10_, int i_11_) { + anInt363++; + if (i_10_ != 437853543) aBoolean368 = true; + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i_11_, (byte) 105, 16); + class348_sub42_sub15.method3246(-25490); + class348_sub42_sub15.anInt9652 = i; + } + + public static void method305(byte i) { + anIntArray369 = null; + if (i != 79) method303(-22, -13); + aClass351_364 = null; + aClass105Array367 = null; + } + + Component361(GameType class230, int i, CacheStore class45) { + try { + aClass45_366 = class45; + aClass45_366.getFileCount(0, 30); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("hq.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/components/Component362.java b/client/components/Component362.java new file mode 100644 index 000000000..a06e0a4c7 --- /dev/null +++ b/client/components/Component362.java @@ -0,0 +1,97 @@ +/* Component362 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component362 +/** + * RENAMED from `Class110_Sub1` (JODE-obfuscated). + * Evidence: subclass of Component338 (hierarchy) + */ extends Component338 { + int anInt5786; + String aString5787; + int anInt5788 = -1; + static int anInt5789; + static int anInt5790; + static float[] aFloatArray5791 = new float[4]; + static int anInt5792; + static int anInt5793; + String aString5794; + + final Component69 method1038(boolean bool) { + if (bool != false) method1040(-125); + anInt5789++; + return BasicMouseHandler.aClass283Array7446[this.anInt1711]; + } + + static final String method1039(String string, boolean bool) { + anInt5793++; + StringBuffer stringbuffer = new StringBuffer(); + int i = string.length(); + if (bool != true) aFloatArray5791 = null; + for (int i_0_ = 0; i > i_0_; i_0_++) { + char c = string.charAt(i_0_); + if (c == 37 && i > 2 + i_0_) { + int i_1_ = string.charAt(i_0_ + 1); + boolean bool_2_ = false; + int i_3_; + if (i_1_ < 48 || i_1_ > 57) { + if (i_1_ < 97 || i_1_ > 102) { + if (i_1_ >= 65 && i_1_ <= 70) i_3_ = -55 + i_1_; + else { + stringbuffer.append('%'); + continue; + } + } else i_3_ = -97 + (10 + i_1_); + } else i_3_ = i_1_ - 48; + i_1_ = string.charAt(i_0_ + 2); + i_3_ *= 16; + if (i_1_ >= 48 && i_1_ <= 57) i_3_ += i_1_ - 48; + else if (i_1_ < 97 || i_1_ > 102) { + if (i_1_ >= 65 && i_1_ <= 70) i_3_ += -65 + (10 + i_1_); + else { + stringbuffer.append('%'); + continue; + } + } else i_3_ += 10 + (i_1_ - 97); + if (i_3_ != 0 && Component272.method1732((byte) i_3_, -129)) stringbuffer.append(Cp1252Decoder.method462((byte) i_3_, -128)); + i_0_ += 2; + } else if (c != 43) stringbuffer.append(c); + else stringbuffer.append(' '); + } + return stringbuffer.toString(); + } + + public static void method1040(int i) { + if (i == 512) aFloatArray5791 = null; + } + + static final void method1041(int i, DisplayModeManagerContainer58 class318_sub1_sub3_sub3) { + anInt5790++; + boolean bool = false; + if ((OpenGlShader.clientCycle != class318_sub1_sub3_sub3.anInt10300) && class318_sub1_sub3_sub3.anInt10286 != -1 && class318_sub1_sub3_sub3.anInt10218 == 0) { + DisplayModeManagerContainer167 class17 = RunescapeInfo.aClass87_191.method835((class318_sub1_sub3_sub3.anInt10286), i + 8); + if (class17.aBoolean241 || ((class17.anIntArray267[(class318_sub1_sub3_sub3.anInt10267)]) < 1 + (class318_sub1_sub3_sub3.anInt10232))) bool = true; + } else bool = true; + if (bool) { + int i_4_ = ((class318_sub1_sub3_sub3.anInt10300) + -(class318_sub1_sub3_sub3.anInt10239)); + int i_5_ = (OpenGlShader.clientCycle + -(class318_sub1_sub3_sub3.anInt10239)); + int i_6_ = ((class318_sub1_sub3_sub3.anInt10293) * 512 + 256 * class318_sub1_sub3_sub3.method2436((byte) 90)); + int i_7_ = (512 * (class318_sub1_sub3_sub3.anInt10314) - -(class318_sub1_sub3_sub3.method2436((byte) 44) * 256)); + int i_8_ = (512 * (class318_sub1_sub3_sub3.anInt10241) + 256 * class318_sub1_sub3_sub3.method2436((byte) 98)); + int i_9_ = ((class318_sub1_sub3_sub3.anInt10288) * 512 - -(class318_sub1_sub3_sub3.method2436((byte) 76) * 256)); + class318_sub1_sub3_sub3.x = (i_8_ * i_5_ + (i_4_ - i_5_) * i_6_) / i_4_; + class318_sub1_sub3_sub3.y = (i_7_ * (-i_5_ + i_4_) - -(i_5_ * i_9_)) / i_4_; + } + class318_sub1_sub3_sub3.anInt10326 = 0; + if ((~class318_sub1_sub3_sub3.anInt10231) == i) class318_sub1_sub3_sub3.method2435((byte) -108, 8192, false); + if (class318_sub1_sub3_sub3.anInt10231 == 1) class318_sub1_sub3_sub3.method2435((byte) -108, 12288, false); + if (class318_sub1_sub3_sub3.anInt10231 == 2) class318_sub1_sub3_sub3.method2435((byte) -108, 0, false); + if (class318_sub1_sub3_sub3.anInt10231 == 3) class318_sub1_sub3_sub3.method2435((byte) -108, 4096, false); + } + + static final void method1042(byte i) { + anInt5792++; + DisplayModeManagerContainer249.anInt4666 = Component328.anInt1482 = Component150.anInt2968 = NodeBaseSub1.anInt9776 = 0; + int i_10_ = 58 % ((i - -66) / 39); + } +} diff --git a/client/components/Component364.java b/client/components/Component364.java new file mode 100644 index 000000000..550cea8c2 --- /dev/null +++ b/client/components/Component364.java @@ -0,0 +1,279 @@ +/* Component364 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +class Component364 +/** + * RENAMED from `Class5_Sub1` (JODE-obfuscated). + * Evidence: subclass of Component298 (hierarchy) + */ extends Component298 { + static int anInt8334; + static boolean aBoolean8335 = false; + static int anInt8336; + static int anInt8337; + private Component24 aClass105_8338; + private Component24 aClass105_8339; + static int anInt8340; + static int anInt8341; + private Component24 aClass105_8342; + private Component24 aClass105_8343; + static Component85 aClass221_8344; + static int anInt8345; + static int anInt8346; + private Component24 aClass105_8347; + static int anInt8348; + static int anInt8349; + Component24 aClass105_8350; + static int anInt8351; + static int anInt8352 = 0; + + Component364(CacheStore class45, CacheStore class45_0_, Component76 class369_sub3) { + super(class45, class45_0_, class369_sub3); + } + + static final int[] method184(int i) { + anInt8346++; + if (i != 1084489728) method189((byte) 33); + return (new int[]{LoadingState.p11FullGroupId, DisplayModeManagerContainer167.p12FullGroupId, ReferenceTable.b12FullGroupId}); + } + + public final boolean method8(byte i) { + anInt8351++; + if (!super.method8((byte) -125)) return false; + Component76 class369_sub3 = (Component76) this.aClass369_4635; + if (!this.aClass45_4632.isSingletonFileReady(false, class369_sub3.anInt8599)) return false; + if (!this.aClass45_4632.isSingletonFileReady(false, class369_sub3.anInt8595)) return false; + if (!this.aClass45_4632.isSingletonFileReady(false, class369_sub3.anInt8603)) return false; + if (!this.aClass45_4632.isSingletonFileReady(false, class369_sub3.anInt8602)) return false; + int i_1_ = 47 / ((25 - i) / 52); + if (!this.aClass45_4632.isSingletonFileReady(false, class369_sub3.anInt8600)) return false; + return this.aClass45_4632.isSingletonFileReady(false, class369_sub3.anInt8597); + } + + static final int method185(int i, byte i_2_) { + if (i_2_ > 0) anInt8352 = 48; + anInt8340++; + return 0xff & i; + } + + void method186(int i, int i_3_, byte i_4_, int i_5_, int i_6_) { + this.aClass105_8350.method972(i_5_, i, i_6_, i_3_); + anInt8341++; + if (i_4_ <= 21) method8((byte) 68); + } + + static final boolean method187(int i, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_, TeleportHandler class361, int i_12_, int i_13_, int i_14_, int i_15_) { + anInt8348++; + int i_16_ = i_14_; + int i_17_ = i_8_; + int i_18_ = 64; + int i_19_ = 64; + int i_20_ = i_14_ + -i_18_; + r.anIntArrayArray9723[i_18_][i_19_] = 99; + int i_21_ = -i_19_ + i_8_; + DisplayModeManagerContainer369.anIntArrayArray2900[i_18_][i_19_] = 0; + int i_22_ = 0; + int i_23_ = 0; + OpenGlShader.anIntArray7397[i_22_] = i_16_; + Component275.anIntArray2694[i_22_++] = i_17_; + int[][] is = class361.anIntArrayArray4438; + while (i_22_ != i_23_) { + i_17_ = Component275.anIntArray2694[i_23_]; + i_16_ = OpenGlShader.anIntArray7397[i_23_]; + int i_24_ = -class361.anInt4441 + i_17_; + i_18_ = -i_20_ + i_16_; + i_19_ = i_17_ - i_21_; + int i_25_ = i_16_ + -class361.anInt4453; + i_23_ = 0xfff & 1 + i_23_; + int i_26_ = i_12_; + while_3_: + do { + while_2_: + do { + while_1_: + do { + while_0_: + do { + do { + if (i_26_ == -4) { + if (i_16_ == i && (i_17_ == i_7_)) { + DefinitionSub30.anInt9388 = i_16_; + Component95.anInt1753 = i_17_; + return true; + } + break while_3_; + } else if (i_26_ != -3) { + if (i_26_ != -2) { + if (i_26_ != -1) { + if (i_26_ == 0 || (i_26_ == 1) || (i_26_ == 2) || (i_26_ == 3) || i_26_ == 9) break while_1_; + break while_2_; + } + } else break; + break while_0_; + } + if (Component188.method1842(i_11_, i_7_, -1, 1, i_16_, i_17_, i, 1, i_13_)) { + Component95.anInt1753 = i_17_; + DefinitionSub30.anInt9388 = i_16_; + return true; + } + break while_3_; + } while (false); + if (class361.method3497(-28388, i, i_10_, 1, i_13_, i_16_, 1, i_17_, i_7_, i_11_)) { + Component95.anInt1753 = i_17_; + DefinitionSub30.anInt9388 = i_16_; + return true; + } + break while_3_; + } while (false); + if (class361.method3503(i_16_, (byte) 110, i_7_, 1, i_13_, i_11_, i_10_, i_17_, i)) { + DefinitionSub30.anInt9388 = i_16_; + Component95.anInt1753 = i_17_; + return true; + } + break while_3_; + } while (false); + if (class361.method3495(i, i_17_, 1, i_9_, i_16_, i_7_, i_12_, 91)) { + Component95.anInt1753 = i_17_; + DefinitionSub30.anInt9388 = i_16_; + return true; + } + break while_3_; + } while (false); + if (class361.method3504(i_7_, i_17_, i, i_16_, i_12_, 1, i_9_, 1)) { + DefinitionSub30.anInt9388 = i_16_; + Component95.anInt1753 = i_17_; + return true; + } + } while (false); + i_26_ = 1 + DisplayModeManagerContainer369.anIntArrayArray2900[i_18_][i_19_]; + if (i_18_ > 0 && (r.anIntArrayArray9723[i_18_ + -1][i_19_] == 0) && (is[-1 + i_25_][i_24_] & 0x42240000) == 0) { + OpenGlShader.anIntArray7397[i_22_] = -1 + i_16_; + Component275.anIntArray2694[i_22_] = i_17_; + i_22_ = 0xfff & i_22_ - -1; + r.anIntArrayArray9723[i_18_ + -1][i_19_] = 2; + DisplayModeManagerContainer369.anIntArrayArray2900[-1 + i_18_][i_19_] = i_26_; + } + if (i_18_ < 127 && r.anIntArrayArray9723[1 + i_18_][i_19_] == 0 && (0x60240000 & is[1 + i_25_][i_24_]) == 0) { + OpenGlShader.anIntArray7397[i_22_] = i_16_ + 1; + Component275.anIntArray2694[i_22_] = i_17_; + r.anIntArrayArray9723[1 + i_18_][i_19_] = 8; + i_22_ = 0xfff & i_22_ - -1; + DisplayModeManagerContainer369.anIntArrayArray2900[1 + i_18_][i_19_] = i_26_; + } + if (i_19_ > 0 && (r.anIntArrayArray9723[i_18_][i_19_ + -1] == 0) && (is[i_25_][i_24_ - 1] & 0x40a40000) == 0) { + OpenGlShader.anIntArray7397[i_22_] = i_16_; + Component275.anIntArray2694[i_22_] = -1 + i_17_; + r.anIntArrayArray9723[i_18_][-1 + i_19_] = 1; + i_22_ = 0xfff & 1 + i_22_; + DisplayModeManagerContainer369.anIntArrayArray2900[i_18_][-1 + i_19_] = i_26_; + } + if (i_19_ < 127 && r.anIntArrayArray9723[i_18_][1 + i_19_] == 0 && (0x48240000 & is[i_25_][i_24_ - -1]) == 0) { + OpenGlShader.anIntArray7397[i_22_] = i_16_; + Component275.anIntArray2694[i_22_] = i_17_ + 1; + r.anIntArrayArray9723[i_18_][i_19_ - -1] = 4; + i_22_ = 0xfff & i_22_ + 1; + DisplayModeManagerContainer369.anIntArrayArray2900[i_18_][i_19_ + 1] = i_26_; + } + if (i_18_ > 0 && i_19_ > 0 && r.anIntArrayArray9723[-1 + i_18_][i_19_ + -1] == 0 && (is[-1 + i_25_][i_24_ - 1] & 0x43a40000) == 0 && (is[-1 + i_25_][i_24_] & 0x42240000) == 0 && (0x40a40000 & is[i_25_][i_24_ - 1]) == 0) { + OpenGlShader.anIntArray7397[i_22_] = -1 + i_16_; + Component275.anIntArray2694[i_22_] = i_17_ - 1; + i_22_ = 1 + i_22_ & 0xfff; + r.anIntArrayArray9723[i_18_ + -1][-1 + i_19_] = 3; + DisplayModeManagerContainer369.anIntArrayArray2900[i_18_ + -1][-1 + i_19_] = i_26_; + } + if (i_18_ < 127 && i_19_ > 0 && (r.anIntArrayArray9723[i_18_ + 1][i_19_ - 1] == 0) && (0x60e40000 & is[i_25_ - -1][i_24_ + -1]) == 0 && (is[1 + i_25_][i_24_] & 0x60240000) == 0 && (is[i_25_][-1 + i_24_] & 0x40a40000) == 0) { + OpenGlShader.anIntArray7397[i_22_] = i_16_ + 1; + Component275.anIntArray2694[i_22_] = i_17_ - 1; + i_22_ = 0xfff & 1 + i_22_; + r.anIntArrayArray9723[1 + i_18_][-1 + i_19_] = 9; + DisplayModeManagerContainer369.anIntArrayArray2900[1 + i_18_][i_19_ + -1] = i_26_; + } + if (i_18_ > 0 && i_19_ < 127 && r.anIntArrayArray9723[-1 + i_18_][i_19_ - -1] == 0 && (is[i_25_ + -1][i_24_ - -1] & 0x4e240000) == 0 && (0x42240000 & is[i_25_ - 1][i_24_]) == 0 && (0x48240000 & is[i_25_][1 + i_24_]) == 0) { + OpenGlShader.anIntArray7397[i_22_] = i_16_ - 1; + Component275.anIntArray2694[i_22_] = i_17_ + 1; + r.anIntArrayArray9723[i_18_ + -1][i_19_ - -1] = 6; + i_22_ = 1 + i_22_ & 0xfff; + DisplayModeManagerContainer369.anIntArrayArray2900[-1 + i_18_][1 + i_19_] = i_26_; + } + if (i_18_ < 127 && i_19_ < 127 && (r.anIntArrayArray9723[1 + i_18_][1 + i_19_] == 0) && (0x78240000 & is[i_25_ - -1][1 + i_24_]) == 0 && (0x60240000 & is[1 + i_25_][i_24_]) == 0 && (0x48240000 & is[i_25_][i_24_ - -1]) == 0) { + OpenGlShader.anIntArray7397[i_22_] = i_16_ - -1; + Component275.anIntArray2694[i_22_] = 1 + i_17_; + r.anIntArrayArray9723[1 + i_18_][i_19_ + 1] = 12; + i_22_ = 0xfff & 1 + i_22_; + DisplayModeManagerContainer369.anIntArrayArray2900[1 + i_18_][1 + i_19_] = i_26_; + } + } + if (i_15_ != 1109655552) aBoolean8335 = false; + DefinitionSub30.anInt9388 = i_16_; + Component95.anInt1753 = i_17_; + return false; + } + + final void method178(int i, boolean bool, byte i_27_, int i_28_) { + if (bool) { + int[] is = new int[4]; + NodeSub8.toolkit.K(is); + NodeSub8.toolkit.KA(i, i_28_, i - -this.aClass369_4635.anInt4971, (i_28_ + this.aClass369_4635.anInt4963)); + int i_29_ = aClass105_8342.method966(); + int i_30_ = aClass105_8342.method980(); + int i_31_ = aClass105_8339.method966(); + int i_32_ = aClass105_8339.method980(); + aClass105_8342.method974(i, i_28_ - -(((this.aClass369_4635.anInt4963) + -i_30_) / 2)); + aClass105_8339.method974((this.aClass369_4635.anInt4971 + (i + -i_31_)), i_28_ + (this.aClass369_4635.anInt4963 + -i_32_) / 2); + NodeSub8.toolkit.KA(i, i_28_, (this.aClass369_4635.anInt4971 + i), i_28_ - -aClass105_8343.method980()); + aClass105_8343.method972(i + i_29_, i_28_, -i_29_ + (this.aClass369_4635.anInt4971) - i_31_, this.aClass369_4635.anInt4963); + int i_33_ = aClass105_8338.method980(); + NodeSub8.toolkit.KA(i, (-i_33_ + i_28_ - -this.aClass369_4635.anInt4963), this.aClass369_4635.anInt4971 + i, (i_28_ + this.aClass369_4635.anInt4963)); + aClass105_8338.method972(i_29_ + i, (-i_33_ + i_28_ + this.aClass369_4635.anInt4963), (-i_29_ + this.aClass369_4635.anInt4971 + -i_31_), this.aClass369_4635.anInt4963); + NodeSub8.toolkit.KA(is[0], is[1], is[2], is[3]); + } + anInt8334++; + if (i_27_ > -6) aClass105_8347 = null; + } + + static final Component336[] method188(byte i) { + anInt8345++; + int i_34_ = -7 / ((-67 - i) / 44); + return (new Component336[]{DisplayModeManagerContainer109.aClass29_2339, DisplayModeManagerContainer109.aClass29_2341, DisplayModeManagerContainer109.aClass29_2342, DisplayModeManagerContainer109.aClass29_2343, DisplayModeManagerContainer109.aClass29_2344, DisplayModeManagerContainer109.aClass29_2345, DisplayModeManagerContainer109.aClass29_2346, DisplayModeManagerContainer109.aClass29_2347, DisplayModeManagerContainer109.aClass29_2348, DisplayModeManagerContainer109.aClass29_2349, DisplayModeManagerContainer109.aClass29_2350, DisplayModeManagerContainer109.aClass29_2351, DisplayModeManagerContainer109.aClass29_2352, DisplayModeManagerContainer109.aClass29_2353}); + } + + public static void method189(byte i) { + if (i < 112) anInt8352 = -87; + aClass221_8344 = null; + } + + final void method182(int i, int i_35_, int i_36_, boolean bool) { + int i_37_ = -45 / ((-20 - i) / 57); + anInt8336++; + int i_38_ = aClass105_8342.method966() + i_36_; + int i_39_ = (this.aClass369_4635.anInt4971 + (i_36_ + -aClass105_8339.method966())); + int i_40_ = i_35_ - -aClass105_8343.method980(); + int i_41_ = (i_35_ + this.aClass369_4635.anInt4963 - aClass105_8338.method980()); + int i_42_ = -i_38_ + i_39_; + int i_43_ = -i_40_ + i_41_; + int i_44_ = this.method183(124) * i_42_ / 10000; + int[] is = new int[4]; + NodeSub8.toolkit.K(is); + NodeSub8.toolkit.KA(i_38_, i_40_, i_44_ + i_38_, i_41_); + method186(i_40_, i_43_, (byte) 33, i_38_, i_42_); + NodeSub8.toolkit.KA(i_44_ + i_38_, i_40_, i_39_, i_41_); + aClass105_8347.method972(i_38_, i_40_, i_42_, i_43_); + NodeSub8.toolkit.KA(is[0], is[1], is[2], is[3]); + } + + public final void method7(int i) { + super.method7(i); + anInt8337++; + Component76 class369_sub3 = (Component76) this.aClass369_4635; + this.aClass105_8350 = DummyClass.method3577((class369_sub3.anInt8599), (byte) -19, this.aClass45_4632); + aClass105_8347 = DummyClass.method3577((class369_sub3.anInt8595), (byte) 106, this.aClass45_4632); + aClass105_8342 = DummyClass.method3577((class369_sub3.anInt8603), (byte) -19, this.aClass45_4632); + aClass105_8339 = DummyClass.method3577((class369_sub3.anInt8602), (byte) -121, this.aClass45_4632); + aClass105_8343 = DummyClass.method3577((class369_sub3.anInt8600), (byte) 124, this.aClass45_4632); + aClass105_8338 = DummyClass.method3577((class369_sub3.anInt8597), (byte) 115, this.aClass45_4632); + } + + static { + aClass221_8344 = new Component85(); + } +} diff --git a/client/components/Component366.java b/client/components/Component366.java new file mode 100644 index 000000000..a265bd701 --- /dev/null +++ b/client/components/Component366.java @@ -0,0 +1,340 @@ +/* Component366 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component366 +/** + * RENAMED from `Class235` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3050; + private final RenderableObject aClass318_Sub1_3051; + int anInt3052; + private int anInt3053; + private int anInt3054; + private int anInt3055; + private int anInt3056; + private DisplayModeManagerContainer167 aClass17_3057; + static int anInt3058; + private DisplayModeManagerContainer370 aClass64_3059; + private int anInt3060 = 0; + static int anInt3061; + static int anInt3062; + int anInt3063; + private boolean aBoolean3064; + private final boolean aBoolean3065; + static int anInt3066; + private final byte aByte3067; + static int[] anIntArray3068; + private boolean aBoolean3069; + static int anInt3070; + private r aR3071; + private boolean[] aBooleanArray3072; + private int anInt3073; + private int anInt3074; + static SeekableFile aClass78_3075; + static int anInt3076; + static int anInt3077; + static int anInt3078; + int anInt3079; + static int anInt3080; + RenderableSub10 aClass318_Sub10_3081; + static int anInt3082; + private int anInt3083; + private int anInt3084; + private final byte aByte3085; + static int anInt3086; + static int anInt3087; + + final int method1663(int i) { + if (i < 31) return 48; + anInt3087++; + return anInt3060; + } + + final int method1664(int i) { + if (i > -20) finalize(); + anInt3076++; + return anInt3055; + } + + final boolean method1665(int i) { + if (i != 2) anInt3056 = -73; + anInt3070++; + return aBoolean3065; + } + + private final void method1666(byte i, int i_0_) { + anInt3077++; + if (i != 69) aClass64_3059 = null; + int i_1_ = i_0_; + boolean bool = false; + if (i_1_ == -1) { + Component44 class51 = GradientPreset.aClass263_9195.method2005(i ^ 0x45, this.anInt3063); + Component44 class51_2_ = class51; + if (class51.anIntArray945 != null) class51 = class51.method480((DisplayModeManagerContainer58.aClass170_10209), (byte) 47); + if (class51 == null) return; + if (class51_2_ == class51) class51_2_ = null; + if (class51.anIntArray943 == null) { + if (class51.anInt868 != -1) { + if (anInt3053 != class51.anInt941) { + i_1_ = class51.anInt868; + bool = class51.aBoolean924; + } + } else if (class51_2_ != null && class51_2_.anIntArray943 != null) { + if (aClass17_3057 != null && class51_2_.method481((byte) 105, (aClass17_3057.anInt269))) return; + i_1_ = class51_2_.method489(i ^ ~0x45); + if (anInt3053 != class51_2_.anInt941) bool = class51_2_.aBoolean924; + } else if (class51_2_ != null && (class51_2_.anInt868 != -1) && (anInt3053 != class51_2_.anInt941)) { + bool = class51_2_.aBoolean924; + i_1_ = class51_2_.anInt868; + } + } else { + if (aClass17_3057 != null && class51.method481((byte) 73, aClass17_3057.anInt269)) return; + i_1_ = class51.method489(i + -70); + if (anInt3053 != class51.anInt941) bool = class51.aBoolean924; + } + } + if (i_1_ == -1) aClass17_3057 = null; + else { + aClass64_3059 = null; + if (aClass17_3057 != null && i_1_ == aClass17_3057.anInt269) { + if (aClass17_3057.anInt248 == 0) return; + } else aClass17_3057 = RunescapeInfo.aClass87_191.method835(i_1_, i + -62); + if (aClass17_3057.anIntArray237 == null) aClass17_3057 = null; + else { + if (bool) { + anInt3084 = (int) ((double) (aClass17_3057.anIntArray237).length * Math.random()); + anInt3054 = 1 + (int) ((double) (aClass17_3057.anIntArray267[anInt3084]) * Math.random()); + } else { + anInt3084 = 0; + anInt3054 = 1; + } + anInt3083 = anInt3084 - -1; + if (anInt3083 < 0 || anInt3083 >= aClass17_3057.anIntArray237.length) anInt3083 = -1; + anInt3074 = -anInt3054 + OpenGlShader.clientCycle; + } + } + } + + final void method1667(byte i, GraphicsToolkit var_ha) { + anInt3061++; + method1668(true, true, i + -244, 262144, var_ha); + if (i != 116) this.anInt3063 = 99; + } + + final DisplayModeManagerContainer370 method1668(boolean bool, boolean bool_3_, int i, int i_4_, GraphicsToolkit var_ha) { + anInt3082++; + Component44 class51 = GradientPreset.aClass263_9195.method2005(0, this.anInt3063); + if (class51.anIntArray945 != null) class51 = class51.method480(DisplayModeManagerContainer58.aClass170_10209, (byte) 47); + if (class51 == null) { + method1674(-1, var_ha); + anInt3073 = -1; + anInt3056 = -1; + anInt3053 = -1; + return null; + } + if (!aBoolean3064 && class51.anInt941 != anInt3053) { + aClass64_3059 = null; + method1666((byte) 69, -1); + } + method1672(aClass318_Sub1_3051, true); + if (bool_3_) { + bool_3_ = bool_3_ & (aBoolean3065 & Component192.aClass348_Sub51_3959.aClass239_Sub7_7238.method1748(-32350) != 0); + bool_3_ = (bool_3_ & (class51.anInt941 != anInt3056 || (aClass17_3057 != null && Component192.aClass348_Sub51_3959.aClass239_Sub7_7238.method1748(-32350) >= 2 && (anInt3084 != anInt3073 || ((aClass17_3057.aBoolean254 || DisplayModeManagerContainer332.aBoolean5002) && (anInt3083 != anInt3084)))))); + } + if (bool && !bool_3_) { + anInt3053 = class51.anInt941; + return null; + } + if (bool_3_) { + RequestProcessor.method1301(aR3071, aByte3067, (aClass318_Sub1_3051.x), (aClass318_Sub1_3051.y), aBooleanArray3072); + anInt3056 = -1; + anInt3073 = -1; + } + if (i > -126) return null; + s var_s = ShaderSub1.aSArray5191[aByte3067]; + s var_s_5_; + if (!aBoolean3069) var_s_5_ = aByte3067 >= 3 ? null : ShaderSub1.aSArray5191[1 + aByte3067]; + else var_s_5_ = NodeSub1Sub1.aSArray8801[0]; + DisplayModeManagerContainer370 class64 = null; + if (aClass17_3057 == null) { + if (aClass64_3059 == null || i_4_ != (i_4_ & aClass64_3059.ua()) || (anInt3053 != class51.anInt941)) { + if (aClass64_3059 != null) i_4_ |= aClass64_3059.ua(); + Component245 class2 = (class51.method476(var_ha, var_s_5_, (this.anInt3079 != 11 ? this.anInt3079 : 10), i_4_, aClass318_Sub1_3051.x, bool_3_, var_s, var_s.method3986((aClass318_Sub1_3051.x), (aClass318_Sub1_3051.y), (byte) -114), aClass318_Sub1_3051.y, (this.anInt3079 == 11 ? 4 + this.anInt3052 : this.anInt3052), 128)); + if (class2 == null) { + anInt3055 = 0; + aBooleanArray3072 = null; + aR3071 = null; + anInt3060 = 0; + aClass64_3059 = null; + } else { + aClass64_3059 = class64 = class2.aClass64_119; + if (bool_3_) { + aBooleanArray3072 = null; + aR3071 = class2.aR118; + Component387.method1130(aR3071, aByte3067, aClass318_Sub1_3051.x, aClass318_Sub1_3051.y, null); + anInt3073 = -1; + anInt3056 = class51.anInt941; + } + anInt3060 = class64.fa(); + anInt3055 = class64.ma(); + } + } else class64 = aClass64_3059; + } else { + if (bool_3_) i_4_ |= 0x40000; + class64 = (class51.method483(anInt3083, anInt3054, (this.anInt3079 == 11 ? 10 : this.anInt3079), var_s.method3986((aClass318_Sub1_3051.x), (aClass318_Sub1_3051.y), (byte) -2), var_ha, (this.anInt3079 == 11 ? this.anInt3052 + 4 : this.anInt3052), i_4_, (byte) 76, var_s_5_, aClass318_Sub1_3051.y, anInt3084, aClass318_Sub1_3051.x, aClass17_3057, var_s)); + if (class64 == null) { + anInt3055 = 0; + aBooleanArray3072 = null; + anInt3060 = 0; + aR3071 = null; + } else { + if (bool_3_) { + if (aBooleanArray3072 == null) aBooleanArray3072 = new boolean[4]; + aR3071 = class64.BufferedToolkit(aR3071); + Component387.method1130(aR3071, aByte3067, (aClass318_Sub1_3051.x), (aClass318_Sub1_3051.y), aBooleanArray3072); + anInt3073 = anInt3084; + anInt3056 = class51.anInt941; + } + anInt3060 = class64.fa(); + anInt3055 = class64.ma(); + } + aClass64_3059 = null; + } + anInt3053 = class51.anInt941; + return class64; + } + + static final String method1669(int i, int i_6_) { + if (i != -19918) method1669(75, 33); + anInt3066++; + return ((0xff & i_6_ >> 24) + "." + ((i_6_ & 0xffb428) >> 16) + "." + (i_6_ >> 8 & 0xff) + "." + (i_6_ & 0xff)); + } + + final void method1670(int i, DisplayModeManagerContainer204 class101, int i_7_, GraphicsToolkit var_ha, int i_8_, DisplayModeManagerContainer370 class64, boolean bool, byte i_9_, int i_10_) { + do { + try { + anInt3058++; + if (i_9_ != -73) this.anInt3052 = 62; + Component30[] class129s = class64.method619(); + DisplayModeManagerContainer173[] class342s = class64.method604(); + if ((this.aClass318_Sub10_3081 == null || this.aClass318_Sub10_3081.aBoolean6470) && (class129s != null || class342s != null)) { + Component44 class51 = GradientPreset.aClass263_9195.method2005(0, this.anInt3063); + if (class51.anIntArray945 != null) class51 = class51.method480((DisplayModeManagerContainer58.aClass170_10209), (byte) 47); + if (class51 != null) this.aClass318_Sub10_3081 = RenderableSub10.method2526(OpenGlShader.clientCycle, true); + } + if (this.aClass318_Sub10_3081 == null) break; + class64.method620(class101); + if (bool) this.aClass318_Sub10_3081.method2536(var_ha, OpenGlShader.clientCycle, class129s, class342s, false); + else this.aClass318_Sub10_3081.method2540(OpenGlShader.clientCycle); + this.aClass318_Sub10_3081.method2533(aByte3085, i_8_, i, i_10_, i_7_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bv.E(" + i + ',' + (class101 != null ? "{...}" : "null") + ',' + i_7_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_8_ + ',' + (class64 != null ? "{...}" : "null") + ',' + bool + ',' + i_9_ + ',' + i_10_ + ')')); + } + break; + } while (false); + } + + final void method1671(int i, int i_11_) { + aBoolean3064 = true; + anInt3078++; + method1666((byte) 69, i_11_); + if (i != 262144) aClass78_3075 = null; + } + + protected final void finalize() { + anInt3080++; + if (this.aClass318_Sub10_3081 != null) this.aClass318_Sub10_3081.method2534(); + } + + private final void method1672(RenderableObject class318_sub1, boolean bool) { + if (bool != true) method1674(-55, null); + anInt3086++; + int i; + while_76_: + for (; ; ) { + if (aClass17_3057 == null) { + if (aBoolean3064) return; + method1666((byte) 69, -1); + if (aClass17_3057 == null) return; + } + i = -anInt3074 + OpenGlShader.clientCycle; + if (i > 100 && aClass17_3057.anInt238 > 0) { + int i_12_; + for (i_12_ = (-aClass17_3057.anInt238 + aClass17_3057.anIntArray237.length); (anInt3084 < i_12_ && (aClass17_3057.anIntArray267[anInt3084] < i)); anInt3084++) + i -= aClass17_3057.anIntArray267[anInt3084]; + if (i_12_ <= anInt3084) { + int i_13_ = 0; + for (int i_14_ = i_12_; (aClass17_3057.anIntArray237.length > i_14_); i_14_++) + i_13_ += aClass17_3057.anIntArray267[i_14_]; + i %= i_13_; + } + anInt3083 = 1 + anInt3084; + if (anInt3083 >= aClass17_3057.anIntArray237.length) { + anInt3083 -= aClass17_3057.anInt238; + if (anInt3083 < 0 || anInt3083 >= aClass17_3057.anIntArray237.length) anInt3083 = -1; + } + } + for (; ; ) { + if (aClass17_3057.anIntArray267[anInt3084] >= i) break while_76_; + DisplayModeManagerContainer260.method2178(class318_sub1, anInt3084, aClass17_3057, -99); + i -= aClass17_3057.anIntArray267[anInt3084]; + anInt3084++; + if (aClass17_3057.anIntArray237.length <= anInt3084) { + anInt3084 -= aClass17_3057.anInt238; + if (anInt3084 < 0 || anInt3084 >= aClass17_3057.anIntArray237.length) { + aClass17_3057 = null; + break; + } + } + anInt3083 = anInt3084 + 1; + if (aClass17_3057.anIntArray237.length <= anInt3083) { + anInt3083 -= aClass17_3057.anInt238; + if (anInt3083 < 0 || (anInt3083 >= aClass17_3057.anIntArray237.length)) anInt3083 = -1; + } + } + } + anInt3054 = i; + anInt3074 = -i + OpenGlShader.clientCycle; + } + + public static void method1673(int i) { + aClass78_3075 = null; + anIntArray3068 = null; + if (i >= -19) method1669(-110, -13); + } + + Component366(GraphicsToolkit var_ha, Component44 class51, int i, int i_15_, int i_16_, int i_17_, RenderableObject class318_sub1, boolean bool, int i_18_) { + anInt3055 = 0; + aBoolean3064 = false; + anInt3053 = -1; + aBoolean3069 = false; + anInt3056 = -1; + anInt3073 = -1; + try { + this.anInt3079 = i; + this.anInt3063 = class51.anInt941; + aClass318_Sub1_3051 = class318_sub1; + aByte3085 = (byte) i_16_; + aByte3067 = (byte) i_17_; + aBoolean3069 = bool; + this.anInt3052 = i_15_; + aBoolean3065 = (var_ha.method3682() && class51.aBoolean894 && !aBoolean3069); + if (i_18_ != -1) aBoolean3064 = true; + method1666((byte) 69, i_18_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bv.(" + (var_ha != null ? "{...}" : "null") + ',' + (class51 != null ? "{...}" : "null") + ',' + i + ',' + i_15_ + ',' + i_16_ + ',' + i_17_ + ',' + (class318_sub1 != null ? "{...}" : "null") + ',' + bool + ',' + i_18_ + ')')); + } + } + + final void method1674(int i, GraphicsToolkit var_ha) { + if (i != -1) aBoolean3064 = false; + if (aR3071 != null) { + RequestProcessor.method1301(aR3071, aByte3067, (aClass318_Sub1_3051.x), (aClass318_Sub1_3051.y), aBooleanArray3072); + aR3071 = null; + aBooleanArray3072 = null; + } + anInt3050++; + } +} diff --git a/client/components/Component367.java b/client/components/Component367.java new file mode 100644 index 000000000..c1821460b --- /dev/null +++ b/client/components/Component367.java @@ -0,0 +1,156 @@ +/* Component367 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component367 +/** + * RENAMED from `Class370` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt4514; + private float[][] aFloatArrayArray4515; + private final int[] anIntArray4516; + private int[] anIntArray4517; + private final int anInt4518; + private int[] anIntArray4519; + + private final void method3579() { + int[] is = new int[anInt4518]; + int[] is_0_ = new int[33]; + for (int i = 0; i < anInt4518; i++) { + int i_1_ = anIntArray4516[i]; + if (i_1_ != 0) { + int i_2_ = 1 << 32 - i_1_; + int i_3_ = is_0_[i_1_]; + is[i] = i_3_; + int i_4_; + if ((i_3_ & i_2_) == 0) { + i_4_ = i_3_ | i_2_; + for (int i_5_ = i_1_ - 1; i_5_ >= 1; i_5_--) { + int i_6_ = is_0_[i_5_]; + if (i_6_ != i_3_) break; + int i_7_ = 1 << 32 - i_5_; + if ((i_6_ & i_7_) != 0) { + is_0_[i_5_] = is_0_[i_5_ - 1]; + break; + } + is_0_[i_5_] = i_6_ | i_7_; + } + } else i_4_ = is_0_[i_1_ - 1]; + is_0_[i_1_] = i_4_; + for (int i_8_ = i_1_ + 1; i_8_ <= 32; i_8_++) { + int i_9_ = is_0_[i_8_]; + if (i_9_ == i_3_) is_0_[i_8_] = i_4_; + } + } + } + anIntArray4519 = new int[8]; + int i = 0; + for (int i_10_ = 0; i_10_ < anInt4518; i_10_++) { + int i_11_ = anIntArray4516[i_10_]; + if (i_11_ != 0) { + int i_12_ = is[i_10_]; + int i_13_ = 0; + for (int i_14_ = 0; i_14_ < i_11_; i_14_++) { + int i_15_ = -2147483648 >>> i_14_; + if ((i_12_ & i_15_) != 0) { + if (anIntArray4519[i_13_] == 0) anIntArray4519[i_13_] = i; + i_13_ = anIntArray4519[i_13_]; + } else i_13_++; + if (i_13_ >= anIntArray4519.length) { + int[] is_16_ = new int[anIntArray4519.length * 2]; + for (int i_17_ = 0; i_17_ < anIntArray4519.length; i_17_++) + is_16_[i_17_] = anIntArray4519[i_17_]; + anIntArray4519 = is_16_; + } + i_15_ >>>= 1; + } + anIntArray4519[i_13_] = ~i_10_; + if (i_13_ >= i) i = i_13_ + 1; + } + } + } + + private static final int method3580(int i, int i_18_) { + int i_19_; + for (i_19_ = (int) Math.pow(i, 1.0 / (double) i_18_) + 1; Buffer.pow(i_18_, (byte) 64, i_19_) > i; i_19_--) { + /* empty */ + } + return i_19_; + } + + final int method3581() { + int i; + for (i = 0; anIntArray4519[i] >= 0; i = (NodeSub10.method2788() != 0 ? anIntArray4519[i] : i + 1)) { + /* empty */ + } + return ~anIntArray4519[i]; + } + + final float[] method3582() { + return aFloatArrayArray4515[method3581()]; + } + + Component367() { + NodeSub10.method2789(24); + this.anInt4514 = NodeSub10.method2789(16); + anInt4518 = NodeSub10.method2789(24); + anIntArray4516 = new int[anInt4518]; + boolean bool = NodeSub10.method2788() != 0; + if (bool) { + int i = 0; + int i_20_ = NodeSub10.method2789(5) + 1; + while (i < anInt4518) { + int i_21_ = NodeSub10.method2789(Component80.method2253(anInt4518 - i, 126)); + for (int i_22_ = 0; i_22_ < i_21_; i_22_++) + anIntArray4516[i++] = i_20_; + i_20_++; + } + } else { + boolean bool_23_ = NodeSub10.method2788() != 0; + for (int i = 0; i < anInt4518; i++) { + if (bool_23_ && NodeSub10.method2788() == 0) anIntArray4516[i] = 0; + else anIntArray4516[i] = NodeSub10.method2789(5) + 1; + } + } + method3579(); + int i = NodeSub10.method2789(4); + if (i > 0) { + float f = NodeSub10.method2786(NodeSub10.method2789(32)); + float f_24_ = NodeSub10.method2786(NodeSub10.method2789(32)); + int i_25_ = NodeSub10.method2789(4) + 1; + boolean bool_26_ = NodeSub10.method2788() != 0; + int i_27_; + if (i == 1) i_27_ = method3580(anInt4518, this.anInt4514); + else i_27_ = anInt4518 * this.anInt4514; + anIntArray4517 = new int[i_27_]; + for (int i_28_ = 0; i_28_ < i_27_; i_28_++) + anIntArray4517[i_28_] = NodeSub10.method2789(i_25_); + aFloatArrayArray4515 = new float[anInt4518][this.anInt4514]; + if (i == 1) { + for (int i_29_ = 0; i_29_ < anInt4518; i_29_++) { + float f_30_ = 0.0F; + int i_31_ = 1; + for (int i_32_ = 0; i_32_ < this.anInt4514; i_32_++) { + int i_33_ = i_29_ / i_31_ % i_27_; + float f_34_ = ((float) anIntArray4517[i_33_] * f_24_ + f + f_30_); + aFloatArrayArray4515[i_29_][i_32_] = f_34_; + if (bool_26_) f_30_ = f_34_; + i_31_ *= i_27_; + } + } + } else { + for (int i_35_ = 0; i_35_ < anInt4518; i_35_++) { + float f_36_ = 0.0F; + int i_37_ = i_35_ * this.anInt4514; + for (int i_38_ = 0; i_38_ < this.anInt4514; i_38_++) { + float f_39_ = ((float) anIntArray4517[i_37_] * f_24_ + f + f_36_); + aFloatArrayArray4515[i_35_][i_38_] = f_39_; + if (bool_26_) f_36_ = f_39_; + i_37_++; + } + } + } + } + } +} diff --git a/client/components/Component37.java b/client/components/Component37.java new file mode 100644 index 000000000..8e0132086 --- /dev/null +++ b/client/components/Component37.java @@ -0,0 +1,109 @@ +/* Component37 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component37 +/** + * RENAMED from `Class312` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private Node aClass348_3922; + private NodeList aClass262_3923; + static int anInt3924; + static Component183 aClass114_3925; + static int anInt3926; + static int anInt3927; + static int anInt3928; + static int anInt3929; + static int anInt3930 = 2; + static int anInt3931; + static int anInt3932; + + final Node method2327(byte i) { + anInt3929++; + Node class348 = (aClass262_3923.sentinel.next); + if (i != -53) method2329(-21); + if (aClass262_3923.sentinel == class348) { + aClass348_3922 = null; + return null; + } + aClass348_3922 = class348.next; + return class348; + } + + final void method2328(NodeList class262, int i) { + anInt3927++; + if (i <= 73) method2327((byte) -67); + aClass262_3923 = class262; + } + + final Node method2329(int i) { + anInt3928++; + if (i != 10) method2330((byte) -25); + Node class348 = aClass348_3922; + if (aClass262_3923.sentinel == class348) { + aClass348_3922 = null; + return null; + } + aClass348_3922 = class348.next; + return class348; + } + + static final void method2330(byte i) { + NodeSub3.method2739(0); + anInt3924++; + if (i == 86) { + DefinitionSub25.anInt9341 = 0; + DefinitionSub36.aClass114_9456 = null; + Component80.aClass348_Sub49_Sub2_3813.offset = 0; + SocketStream.aClass114_3133 = null; + Component339.aClass114_3145 = null; + NodeSub50.anInt7213 = 0; + NodeSub3.aClass114_6584 = null; + Component156.anInt3699 = 0; + DefinitionSub39.method3153(0); + DefinitionSub37.method3147((byte) 27); + for (int i_0_ = 0; i_0_ < 2048; i_0_++) + InterfaceRenderer.players[i_0_] = null; + Component72.localPlayer = null; + for (int i_1_ = 0; NodeSub32.anInt6930 > i_1_; i_1_++) { + Npc npc = (DefinitionSub23.aClass348_Sub22Array9319[i_1_].npc); + if (npc != null) npc.anInt10275 = -1; + } + Component126.method3515(i + 36); + JaclibLoader.anInt167 = ShaderLinker.anInt10163 = -1; + DefinitionSub21.cameraMode = 1; + Buffer.setClientState(2, 10); + for (int i_2_ = 0; i_2_ < 100; i_2_++) + InflaterDecompressor.aBooleanArray2076[i_2_] = true; + ShaderProgramSub2.method2145(-24498); + Component323.aClass348_Sub26_5881 = null; + MatrixSub2.aLong5745 = 0L; + } + } + + public static void method2331(boolean bool) { + aClass114_3925 = null; + if (bool != true) anInt3930 = -53; + } + + static final boolean method2332(int i, byte i_3_, int i_4_) { + if (i_3_ <= 120) anInt3930 = 6; + anInt3926++; + return (0x20 & i_4_) != 0; + } + + public Component37() { + /* empty */ + } + + Component37(NodeList class262) { + aClass262_3923 = class262; + } + + static { + aClass114_3925 = new Component183(27, 3); + anInt3931 = 0; + anInt3932 = 1403; + } +} diff --git a/client/components/Component371.java b/client/components/Component371.java new file mode 100644 index 000000000..775de209d --- /dev/null +++ b/client/components/Component371.java @@ -0,0 +1,91 @@ +/* Component371 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaclib.memory.Buffer; +import jaclib.memory.Source; +import jagdx.IDirect3DVertexBuffer; +import jagdx.ue; + +final class Component371 +/** + * RENAMED from `Class366` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ implements Interface5_Impl1 { + private int anInt8508; + private final boolean aBoolean8509; + private boolean aBoolean8510 = false; + IDirect3DVertexBuffer anIDirect3DVertexBuffer8511; + private final D3DToolkit aClass378_8512; + private byte aByte8513; + private int anInt8514; + + public final int method16(boolean bool) { + if (bool) method3519(-55); + return anInt8508; + } + + public final void method21(int i) { + if (this.anIDirect3DVertexBuffer8511 != null) { + this.anIDirect3DVertexBuffer8511.a(9275); + this.anIDirect3DVertexBuffer8511 = null; + } + if (i != 23315) method17(null, -80, -30, (byte) 72); + anInt8514 = 0; + anInt8508 = 0; + } + + public final boolean method20(int i, byte i_0_, int i_1_) { + aByte8513 = (byte) i_1_; + if (i_0_ < 122) method20(-127, (byte) 52, -18); + anInt8508 = i; + if (anInt8508 > anInt8514) { + int i_2_ = 8; + int i_3_; + if (aBoolean8509) { + i_2_ |= 0x200; + i_3_ = 0; + } else i_3_ = 1; + if (this.anIDirect3DVertexBuffer8511 != null) this.anIDirect3DVertexBuffer8511.a(9275); + this.anIDirect3DVertexBuffer8511 = (aClass378_8512.anIDirect3DDevice9810.a(anInt8508, i_2_, 0, i_3_, this.anIDirect3DVertexBuffer8511)); + anInt8514 = anInt8508; + } + return null != this.anIDirect3DVertexBuffer8511; + } + + public final Buffer method19(boolean bool, int i) { + if (this.anIDirect3DVertexBuffer8511 == null) return null; + bool &= aBoolean8509; + if (i != 26775) method21(93); + if (!aBoolean8510 && ue.a((this.anIDirect3DVertexBuffer8511.Lock(0, anInt8514, !bool ? 0 : 8192, aClass378_8512.aGeometryBuffer9811)), false)) { + aBoolean8510 = true; + return aClass378_8512.aGeometryBuffer9811; + } + return null; + } + + public final boolean method17(Source source, int i, int i_4_, byte i_5_) { + if (method20(i_4_, (byte) 125, i)) return this.anIDirect3DVertexBuffer8511.a(source, 0, 0, anInt8508, !aBoolean8509 ? 0 : 8192); + if (i_5_ >= -15) anInt8508 = 71; + return false; + } + + public final boolean method18(int i) { + if (aBoolean8510 && ue.a(this.anIDirect3DVertexBuffer8511.Unlock(), false)) { + aBoolean8510 = false; + return true; + } + if (i != 6331) return false; + return false; + } + + final int method3519(int i) { + if (i != 3545) method21(-87); + return aByte8513; + } + + Component371(D3DToolkit class378, boolean bool) { + aClass378_8512 = class378; + aBoolean8509 = bool; + } +} diff --git a/client/components/Component372.java b/client/components/Component372.java new file mode 100644 index 000000000..da7355cbf --- /dev/null +++ b/client/components/Component372.java @@ -0,0 +1,70 @@ +/* Component372 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component372 +/** + * RENAMED from `Class239_Sub19` (JODE-obfuscated). + * Evidence: subclass of Component339 (hierarchy) + */ extends Component339 { + static int anInt6039; + static int anInt6040; + static int anInt6041; + static int anInt6042; + static int anInt6043; + static int anInt6044; + static int anInt6045; + static int anInt6046; + static int anInt6047; + + final int method1710(int i) { + anInt6041++; + if (i != 20014) return -14; + return 0; + } + + Component372(NodeSub51 class348_sub51) { + super(class348_sub51); + } + + Component372(int i, NodeSub51 class348_sub51) { + super(i, class348_sub51); + } + + final void method1716(boolean bool) { + anInt6045++; + if (bool != false) anInt6043 = 2; + } + + final int method1714(int i, int i_0_) { + if (i != 3) anInt6043 = 15; + anInt6039++; + return 1; + } + + static final void method1803(int i, String string, int i_1_) { + anInt6047++; + if (i_1_ != -32394) method1803(93, null, 106); + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i, (byte) 105, 3); + class348_sub42_sub15.method3246(i_1_ ^ 0x1d18); + class348_sub42_sub15.aString9654 = string; + } + + final void method1712(int i, int i_2_) { + anInt6046++; + this.anInt3138 = i_2_; + int i_3_ = -25 / ((82 - i) / 35); + } + + static final void method1804(int i) { + HashNodeSub10.method3211((byte) 60); + if (i != 8839) anInt6042 = 63; + anInt6040++; + } + + final int method1805(int i) { + if (i != -32350) return -40; + anInt6044++; + return this.anInt3138; + } +} diff --git a/client/components/Component373.java b/client/components/Component373.java new file mode 100644 index 000000000..f1fc4004e --- /dev/null +++ b/client/components/Component373.java @@ -0,0 +1,98 @@ +/* Component373 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.awt.*; + +final class Component373 +/** + * RENAMED from `Class33` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt456; + static int anInt457; + private final CacheStore aClass45_458; + static int anInt459; + private final NodeCache aClass60_460 = new NodeCache(128); + static int anInt461; + + final Component208 method337(boolean bool, int i) { + anInt457++; + Component208 class117; + synchronized (aClass60_460) { + class117 = (Component208) aClass60_460.get(i, 111); + } + if (class117 != null) return class117; + byte[] is = aClass45_458.getFile(-1860, DisplayModeManagerContainer89.method200(-107, i), Sprite.method3013(i, bool)); + class117 = new Component208(); + if (is != null) class117.decode(0, new Buffer(is)); + synchronized (aClass60_460) { + aClass60_460.putOne(class117, i, (byte) -102); + } + return class117; + } + + static final void method338(int i, int i_0_) { + if (i == Component192.aClass348_Sub51_3959.aClass239_Sub22_7253.method1815(-32350)) i_0_ = -1; + anInt456++; + if (i_0_ != Component244.anInt4179) { + if (i_0_ != -1) { + Component303 class222 = Component339.aClass166_3147.method1287((byte) -104, i_0_); + Component170 class207 = class222.method1610((byte) 71); + if (class207 == null) i_0_ = -1; + else { + OggUrlStream.aClass297_8992.setCustomCursor(class207.method1522(), class207.method1516(), 17, new Point(class222.anInt2883, class222.anInt2890), DisplayModeManagerContainer50.gameCanvas, class207.method1510()); + Component244.anInt4179 = i_0_; + } + } + if (i_0_ == -1 && Component244.anInt4179 != -1) { + OggUrlStream.aClass297_8992.setCustomCursor(-1, null, i + 17, new Point(), (DisplayModeManagerContainer50.gameCanvas), -1); + Component244.anInt4179 = -1; + } + } + } + + static final void method339(int i, int i_1_, byte[] is, int i_2_, int i_3_, int i_4_) { + anInt461++; + if (i_4_ > i_1_) { + i += i_1_; + i_2_ = -i_1_ + i_4_ >> 2; + while (--i_2_ >= 0) { + is[i++] = (byte) 1; + is[i++] = (byte) 1; + is[i++] = (byte) 1; + is[i++] = (byte) 1; + } + if (i_3_ == 1354705384) { + i_2_ = 0x3 & i_4_ - i_1_; + while (--i_2_ >= 0) is[i++] = (byte) 1; + } + } + } + + /** Smallest power of two {@code > i-1} (bit-smear idiom). */ + static final int nextPowerOfTwo(int i, byte i_5_) { + anInt459++; + i = --i | i >>> 1; + i |= i >>> 2; + i |= i >>> 4; + if (i_5_ != 108) return 34; + i |= i >>> 8; + i |= i >>> 16; + return 1 + i; + } + + Component373(GameType class230, int i, CacheStore class45) { + do { + try { + aClass45_458 = class45; + if (aClass45_458 == null) break; + int i_6_ = -1 + aClass45_458.getGroupCapacity(-1); + aClass45_458.getFileCount(0, i_6_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("iba.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } +} diff --git a/client/components/Component374.java b/client/components/Component374.java new file mode 100644 index 000000000..6c4aa6ff2 --- /dev/null +++ b/client/components/Component374.java @@ -0,0 +1,76 @@ +/* Component374 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component374 +/** + * RENAMED from `Class331` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int[] anIntArray4128 = new int[5]; + static String[] aStringArray4129 = {"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"}; + static DisplayModeManagerContainer57 aClass46_4130; + static int anInt4131; + static int anInt4132; + static int anInt4133 = 0; + static int anInt4134; + static int anInt4135; + static int anInt4136; + static int anInt4137; + + static final int method2635(float f, boolean bool, float f_0_, float f_1_) { + anInt4131++; + float f_2_ = !(f_1_ < 0.0F) ? f_1_ : -f_1_; + float f_3_ = f < 0.0F ? -f : f; + if (bool != false) method2637(-85); + float f_4_ = !(f_0_ < 0.0F) ? f_0_ : -f_0_; + if (!(f_2_ < f_3_) || !(f_3_ > f_4_)) { + if (!(f_4_ > f_2_) || !(f_3_ < f_4_)) { + if (!(f_1_ > 0.0F)) return 5; + return 4; + } + if (f_0_ > 0.0F) return 2; + return 3; + } + if (f > 0.0F) return 0; + return 1; + } + + static final void method2636(int i) { + int i_5_ = -114 % ((i - 22) / 33); + anInt4137++; + Component265.aClass356_1585.clear(0); + BufferCacheSub2.aClass107_8241.clear(2110355138); + AbstractShaderSub4.aClass107_7325.clear(2110355138); + } + + public static void method2637(int i) { + aStringArray4129 = null; + aClass46_4130 = null; + if (i != 0) aClass46_4130 = null; + anIntArray4128 = null; + } + + static final void method2638(int i) { + synchronized (DisplayModeManagerContainer310.aClass60_355) { + DisplayModeManagerContainer310.aClass60_355.method587(-98); + } + anInt4136++; + synchronized (Component387.aClass60_1894) { + Component387.aClass60_1894.method587(i + 4530); + } + if (i != -4631) anInt4135 = 37; + } + + static final short[] method2639(byte i, short[] is, int i_6_) { + int i_7_ = 77 / ((i - -32) / 47); + anInt4132++; + short[] is_8_ = new short[i_6_]; + Component313.arraycopyShorts(is, 0, is_8_, 0, i_6_); + return is_8_; + } + + static { + aClass46_4130 = null; + } +} diff --git a/client/components/Component375.java b/client/components/Component375.java new file mode 100644 index 000000000..897d6d4cd --- /dev/null +++ b/client/components/Component375.java @@ -0,0 +1,18 @@ +/* Component375 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component375 +/** + * RENAMED from `Class47_Sub1` (JODE-obfuscated). + * Evidence: subclass of DisplayModeManagerContainer32 (hierarchy) + */ extends DisplayModeManagerContainer32 { + final long method446(int i) { + if (i != 1) method446(76); + return 1000000L * Component240.currentTimeMillis(i ^ ~0x71); + } + + public Component375() { + /* empty */ + } +} diff --git a/client/components/Component376.java b/client/components/Component376.java new file mode 100644 index 000000000..350fd07d5 --- /dev/null +++ b/client/components/Component376.java @@ -0,0 +1,112 @@ +/* Component376 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component376 +/** + * RENAMED from `Class4` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt126; + private static short[] aShortArray127 = new short[500]; + short[] aShortArray128; + boolean aBoolean129; + short[] aShortArray130; + boolean aBoolean131 = false; + byte[] aByteArray132; + private static short[] aShortArray133 = new short[500]; + ObjectDeserializer aClass348_Sub33_134; + short[] aShortArray135; + private static byte[] aByteArray136 = new byte[500]; + short[] aShortArray137; + private static short[] aShortArray138 = new short[500]; + boolean aBoolean139; + short[] aShortArray140; + private static short[] aShortArray141; + private static short[] aShortArray142 = new short[500]; + + Component376(byte[] is, ObjectDeserializer class348_sub33) { + this.aBoolean129 = false; + this.aClass348_Sub33_134 = null; + this.aBoolean139 = false; + this.anInt126 = 0; + this.aClass348_Sub33_134 = class348_sub33; + try { + Buffer class348_sub49 = new Buffer(is); + Buffer class348_sub49_0_ = new Buffer(is); + class348_sub49.readUnsignedByte(255); + class348_sub49.offset += 2; + int i = class348_sub49.readUnsignedByte(255);//byte + int i_1_ = 0; + int i_2_ = -1; + int i_3_ = -1; + class348_sub49_0_.offset = class348_sub49.offset + i; + for (int i_4_ = 0; i_4_ < i; i_4_++) { + int i_5_ = (this.aClass348_Sub33_134.anIntArray6957[i_4_]); + if (i_5_ == 0) i_2_ = i_4_; + int i_6_ = class348_sub49.readUnsignedByte(255);//byte + if (i_6_ > 0) { + if (i_5_ == 0) i_3_ = i_4_; + aShortArray141[i_1_] = (short) i_4_; + short i_7_ = 0; + if (i_5_ == 3 || i_5_ == 10) i_7_ = (short) 128; + if ((i_6_ & 0x1) != 0) aShortArray127[i_1_] = (short) class348_sub49_0_.readSmartSigned((byte) 77);//smart + else aShortArray127[i_1_] = i_7_; + if ((i_6_ & 0x2) != 0) aShortArray133[i_1_] = (short) class348_sub49_0_.readSmartSigned((byte) 77);//smart + else aShortArray133[i_1_] = i_7_; + if ((i_6_ & 0x4) != 0) aShortArray142[i_1_] = (short) class348_sub49_0_.readSmartSigned((byte) 77);//smart + else aShortArray142[i_1_] = i_7_; + aByteArray136[i_1_] = (byte) (i_6_ >>> 3 & 0x3); + if (i_5_ == 2 || i_5_ == 9) { + aShortArray127[i_1_] = (short) (aShortArray127[i_1_] << 2 & 0x3fff); + aShortArray133[i_1_] = (short) (aShortArray133[i_1_] << 2 & 0x3fff); + aShortArray142[i_1_] = (short) (aShortArray142[i_1_] << 2 & 0x3fff); + } + aShortArray138[i_1_] = (short) -1; + if (i_5_ == 1 || i_5_ == 2 || i_5_ == 3) { + if (i_2_ > i_3_) { + aShortArray138[i_1_] = (short) i_2_; + i_3_ = i_2_; + } + } else if (i_5_ == 5) this.aBoolean139 = true; + else if (i_5_ == 7) this.aBoolean131 = true; + else if (i_5_ == 9 || i_5_ == 10 || i_5_ == 8) this.aBoolean129 = true; + i_1_++; + } + } + if (class348_sub49_0_.offset != is.length) throw new RuntimeException(); + this.anInt126 = i_1_; + this.aShortArray130 = new short[i_1_]; + this.aShortArray140 = new short[i_1_]; + this.aShortArray137 = new short[i_1_]; + this.aShortArray135 = new short[i_1_]; + this.aShortArray128 = new short[i_1_]; + this.aByteArray132 = new byte[i_1_]; + for (int i_8_ = 0; i_8_ < i_1_; i_8_++) { + this.aShortArray130[i_8_] = aShortArray141[i_8_]; + this.aShortArray140[i_8_] = aShortArray127[i_8_]; + this.aShortArray137[i_8_] = aShortArray133[i_8_]; + this.aShortArray135[i_8_] = aShortArray142[i_8_]; + this.aShortArray128[i_8_] = aShortArray138[i_8_]; + this.aByteArray132[i_8_] = aByteArray136[i_8_]; + } + } catch (Exception exception) { + this.anInt126 = 0; + this.aBoolean139 = false; + this.aBoolean131 = false; + } + } + + public static void method177() { + aShortArray141 = null; + aShortArray127 = null; + aShortArray133 = null; + aShortArray142 = null; + aShortArray138 = null; + aByteArray136 = null; + } + + static { + aShortArray141 = new short[500]; + } +} diff --git a/client/components/Component377.java b/client/components/Component377.java new file mode 100644 index 000000000..acd90eb31 --- /dev/null +++ b/client/components/Component377.java @@ -0,0 +1,115 @@ +/* Component377 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component377 +/** + * RENAMED from `Class48` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt847; + static int anInt848; + static int anInt849; + static int anInt850; + static short aShort851; + static char[] aCharArray852 = {'_', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'}; + int anInt853; + int anInt854; + static int anInt855; + int anInt856; + int anInt857 = 128; + int anInt858; + static int anInt859; + static int[] anIntArray860; + + public static void method448(byte i) { + aCharArray852 = null; + anIntArray860 = null; + int i_0_ = -50 % ((37 - i) / 40); + } + + static final void method449(String string, String string_1_, boolean bool, int i, boolean bool_2_) { + do { + try { + anInt849++; + ParticleSystem class348_sub47 = DisplayModeManagerContainer351.method1478(true); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(bool, DisplayModeManagerContainer109.aClass29_2348.anInt400); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, 0); + int i_3_ = (class348_sub47.aClass348_Sub49_Sub2_7116.offset); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, 634); + int[] is = Cp1252Decoder.method463(class348_sub47, false); + int i_4_ = (class348_sub47.aClass348_Sub49_Sub2_7116.offset); + class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string_1_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, Connection.affiliateId); + class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); + class348_sub47.aClass348_Sub49_Sub2_7116.writeLong(Component283.aLong4615, (byte) 104); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(bool, ObjectDeserializer.languageId); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(bool, (PacketReader.currentGameType.id)); + BufferCacheSub2.method4002((class348_sub47.aClass348_Sub49_Sub2_7116), (byte) 55); + String string_5_ = Component19.aString8605; + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, string_5_ == null ? 0 : 1); + if (string_5_ != null) class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string_5_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, i); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, !bool_2_ ? 0 : 1); + class348_sub47.aClass348_Sub49_Sub2_7116.offset += 7; + class348_sub47.aClass348_Sub49_Sub2_7116.xteaEncrypt(i_4_, true, is, (class348_sub47.aClass348_Sub49_Sub2_7116.offset)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeLengthShort(1809639944, (class348_sub47.aClass348_Sub49_Sub2_7116.offset + -i_3_)); + HashNodeSub14.method3243(2, class348_sub47); + Component48.anInt4337 = -3; + AbstractShaderSub2.anInt7297 = 1; + RequestProcessor.anInt2264 = 0; + SpriteSub1.anInt8398 = 0; + if (i >= 13) break; + Component301.aBoolean4127 = true; + CookieManager.method2172(60); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("iq.D(" + (string != null ? "{...}" : "null") + ',' + (string_1_ != null ? "{...}" : "null") + ',' + bool + ',' + i + ',' + bool_2_ + ')')); + } + break; + } while (false); + } + + static final int method450(int i, String string, int i_6_) { + if (i != -20188) return 88; + anInt850++; + return RadixText.parseIntRadix(-123, i_6_, true, string); + } + + final void method451(Component377 class48_7_, byte i) { + this.anInt857 = class48_7_.anInt857; + this.anInt858 = class48_7_.anInt858; + this.anInt856 = class48_7_.anInt856; + this.anInt854 = class48_7_.anInt854; + anInt855++; + this.anInt847 = class48_7_.anInt847; + this.anInt853 = class48_7_.anInt853; + if (i != -110) method448((byte) -93); + } + + final Component377 method452(boolean bool) { + anInt848++; + if (bool != true) method448((byte) -81); + return new Component377(this.anInt858, this.anInt856, this.anInt857, this.anInt854, this.anInt847, this.anInt853); + } + + Component377(int i) { + this.anInt856 = 128; + this.anInt858 = i; + } + + private Component377(int i, int i_8_, int i_9_, int i_10_, int i_11_, int i_12_) { + this.anInt856 = 128; + this.anInt847 = i_11_; + this.anInt854 = i_10_; + this.anInt853 = i_12_; + this.anInt858 = i; + this.anInt856 = i_8_; + this.anInt857 = i_9_; + } + + static { + aShort851 = (short) 32767; + anInt859 = -1; + anIntArray860 = new int[]{4, 2, 1, 1, 2, 2, 3, 1, 3, 3, 3, 2, 0}; + } +} diff --git a/client/components/Component378.java b/client/components/Component378.java new file mode 100644 index 000000000..72fc8ad5b --- /dev/null +++ b/client/components/Component378.java @@ -0,0 +1,62 @@ +/* Component378 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jagdx.IDirect3DBaseTexture; +import jagdx.IDirect3DVolumeTexture; +import jagdx.PixelBuffer; +import jagdx.ue; + +final class Component378 +/** + * RENAMED from `Class310_Sub3` (JODE-obfuscated). + * Evidence: subclass of DisplayModeManagerContainer318 (hierarchy) + */ extends DisplayModeManagerContainer318 implements Interface18_Impl1 { + private final IDirect3DVolumeTexture anIDirect3DVolumeTexture6336; + private final int anInt6337; + private int anInt6338; + private final int anInt6339; + + public final void method63(byte i) { + this.aClass378_3893.method3959(-101, this); + if (i >= -21) method2314(78); + } + + final IDirect3DBaseTexture method2314(int i) { + if (i != 17723) anInt6338 = -39; + return anIDirect3DVolumeTexture6336; + } + + public final void method64(Component246 class209, int i) { + super.method64(class209, i); + } + + Component378(D3DToolkit class378, DisplayModeManagerContainer42 class304, int i, int i_0_, int i_1_, byte[] is) { + super(class378, class304, Component342.aClass68_1183, false, i_1_ * i_0_ * i); + anInt6338 = i; + anInt6337 = i_1_; + anInt6339 = i_0_; + anIDirect3DVolumeTexture6336 = (this.aClass378_3893.anIDirect3DDevice9810.a(i, i_0_, i_1_, 1, 0, D3DToolkit.method3958(22, this.aClass68_3895, class304), 1)); + PixelBuffer pixelbuffer = (this.aClass378_3893.aPixelBuffer9803); + int i_2_ = anIDirect3DVolumeTexture6336.LockBox(0, 0, 0, 0, i, i_0_, i_1_, 0, pixelbuffer); + if (ue.a(i_2_, false)) { + int i_3_ = (this.aClass304_3896.anInt3850 * anInt6338); + int i_4_ = i_3_ * anInt6339; + int i_5_ = pixelbuffer.getSlicePitch(); + if (i_5_ == i_4_) pixelbuffer.a(is, 0, 0, anInt6337 * (i_3_ * anInt6339)); + else { + int i_6_ = pixelbuffer.getRowPitch(); + if (i_3_ == i_6_) { + for (int i_9_ = 0; anInt6337 > i_9_; i_9_++) + pixelbuffer.a(is, i_4_ * i_9_, i_9_ * i_5_, i_4_); + } else { + for (int i_7_ = 0; i_7_ < anInt6337; i_7_++) { + for (int i_8_ = 0; anInt6339 > i_8_; i_8_++) + pixelbuffer.a(is, i_3_ * i_8_ + i_4_ * i_7_, i_8_ * i_6_ + i_7_ * i_5_, i_3_); + } + } + } + anIDirect3DVolumeTexture6336.UnlockBox(0); + } + } +} diff --git a/client/components/Component379.java b/client/components/Component379.java new file mode 100644 index 000000000..0256e35e1 --- /dev/null +++ b/client/components/Component379.java @@ -0,0 +1,85 @@ +/* Component379 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component379 +/** + * RENAMED from `Class239_Sub9` (JODE-obfuscated). + * Evidence: subclass of Component339 (hierarchy) + */ extends Component339 { + static int anInt5925; + static int anInt5926; + static int anInt5927; + static int anInt5928; + static StringCache aClass351_5929 = new StringCache(25, 3); + static int anInt5930; + static int anInt5931; + /** Alternate product slot game4 ({@code id}=3). */ + static GameType GAME4 = new GameType("game4", 3); + static Component24[] aClass105Array5933; + static StringCache aClass351_5934 = new StringCache(78, 16); + + Component379(int i, NodeSub51 class348_sub51) { + super(i, class348_sub51); + } + + final void method1712(int i, int i_0_) { + anInt5925++; + int i_1_ = -123 % ((82 - i) / 35); + this.anInt3138 = i_0_; + } + + final boolean method1757(int i) { + anInt5927++; + if (this.aClass348_Sub51_3136.method3425(-122)) return false; + if (i < 85) method1759(117); + return this.aClass348_Sub51_3136.method3422(674) == RunescapeInfo.RUNESCAPE; + } + + public static void method1758(int i) { + if (i != -16211) aClass351_5934 = null; + GAME4 = null; + aClass351_5929 = null; + aClass105Array5933 = null; + aClass351_5934 = null; + } + + final int method1714(int i, int i_2_) { + anInt5926++; + if (this.aClass348_Sub51_3136.method3425(-114)) return 3; + if (this.aClass348_Sub51_3136.method3422(674) == RunescapeInfo.RUNESCAPE) { + if (i_2_ == 0) { + if (this.aClass348_Sub51_3136.aClass239_Sub16_7247.method1789(-32350) == 1) return 2; + if (this.aClass348_Sub51_3136.aClass239_Sub24_7235.method1820(i + -32353) == 1) return 2; + if (this.aClass348_Sub51_3136.aClass239_Sub18_7259.method1800(-32350) > 0) return 2; + } + return 1; + } + if (i != 3) method1710(57); + return 3; + } + + final void method1716(boolean bool) { + anInt5931++; + if (bool != false) aClass351_5929 = null; + if (this.aClass348_Sub51_3136.method3422(674) != RunescapeInfo.RUNESCAPE) this.anInt3138 = 1; + else if (this.aClass348_Sub51_3136.method3425(-125)) this.anInt3138 = 0; + if (this.anInt3138 != 0 && this.anInt3138 != 1) this.anInt3138 = method1710(20014); + } + + final int method1759(int i) { + anInt5930++; + if (i != -32350) method1714(-83, -18); + return this.anInt3138; + } + + Component379(NodeSub51 class348_sub51) { + super(class348_sub51); + } + + final int method1710(int i) { + if (i != 20014) aClass351_5934 = null; + anInt5928++; + return 1; + } +} diff --git a/client/components/Component38.java b/client/components/Component38.java new file mode 100644 index 000000000..a300a2c61 --- /dev/null +++ b/client/components/Component38.java @@ -0,0 +1,106 @@ +/* Component38 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component38 +/** + * RENAMED from `Class187` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private CacheStore aClass45_2498; + static int anInt2499; + static int anInt2500; + private NodeCache aClass60_2501 = new NodeCache(64); + static int anInt2502; + static int anInt2503; + static int anInt2504; + static int anInt2505; + static int anInt2506; + static DisplayModeManagerContainer369 aClass223_2507 = new DisplayModeManagerContainer369(9, 2); + static int anInt2508; + static int[] anIntArray2509 = new int[2]; + static int anInt2510; + + final void method1404(byte i) { + synchronized (aClass60_2501) { + aClass60_2501.clear(0); + if (i >= -20) method1407((byte) -33); + } + anInt2508++; + } + + static final void method1405(int i, boolean bool, boolean bool_0_) { + anInt2506++; + NodeSub13 class348_sub13 = AbstractGlTextureSub4.getContainerNode((byte) 42, i, bool); + if (class348_sub13 != null && bool_0_ == true) { + for (int i_1_ = 0; (class348_sub13.itemIds.length > i_1_); i_1_++) { + class348_sub13.itemIds[i_1_] = -1; + class348_sub13.amounts[i_1_] = 0; + } + } + } + + static final void method1406(boolean bool) { + if (bool == true) { + Component223.method175((byte) -6); + anInt2505++; + Component210.gameCanvasAttached = false; + } + } + + public static void method1407(byte i) { + int i_2_ = 92 / ((-3 - i) / 60); + anIntArray2509 = null; + aClass223_2507 = null; + } + + final Component236 method1408(int i, int i_3_) { + anInt2504++; + Component236 class321; + synchronized (aClass60_2501) { + class321 = (Component236) aClass60_2501.get(i_3_, 76); + } + if (class321 != null) return class321; + byte[] is; + synchronized (aClass45_2498) { + is = aClass45_2498.getFile(-1860, 35, i_3_); + } + class321 = new Component236(); + if (is != null) class321.method2551(-125, new Buffer(is)); + if (i != -12637) aClass60_2501 = null; + class321.method2548((byte) 127); + synchronized (aClass60_2501) { + aClass60_2501.putOne(class321, i_3_, (byte) -99); + } + return class321; + } + + final void method1409(int i, int i_4_) { + synchronized (aClass60_2501) { + if (i_4_ != -20721) aClass45_2498 = null; + aClass60_2501.processSoftEntries(i_4_ + 20723, i); + } + anInt2503++; + } + + final void method1410(int i) { + synchronized (aClass60_2501) { + if (i != -27995) method1409(-42, 23); + aClass60_2501.method587(-85); + } + anInt2502++; + } + + Component38(GameType class230, int i, CacheStore class45) { + do { + try { + aClass45_2498 = class45; + if (aClass45_2498 == null) break; + aClass45_2498.getFileCount(0, 35); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qga.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } +} diff --git a/client/components/Component380.java b/client/components/Component380.java new file mode 100644 index 000000000..a846e7179 --- /dev/null +++ b/client/components/Component380.java @@ -0,0 +1,84 @@ +/* Component380 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component380 +/** + * RENAMED from `Class126` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ implements Interface14 { + int anInt4981; + int anInt4982; + static int[] anIntArray4983; + static CacheStore aClass45_4984; + static int anInt4985 = 0; + static int anInt4986; + static Component119[] aClass267Array4987; + static int anInt4988; + int anInt4989; + boolean aBoolean4990; + int anInt4991; + int anInt4992; + int anInt4993; + static int anInt4994; + static int anInt4995; + + public static void method1112(int i) { + if (i != 1) aClass267Array4987 = null; + aClass45_4984 = null; + anIntArray4983 = null; + aClass267Array4987 = null; + } + + static final boolean method1113(int i, int i_0_, int i_1_) { + anInt4995++; + if (i_1_ >= -3) aClass45_4984 = null; + return (ReliefShader.method1412((byte) -35, i_0_, i) & (FriendsIgnoreList.hasCollisionBlockFlags(i, i_0_, 72) | (i & 0x2000) != 0 | ReferenceHolder.hasBit16(i_0_, (byte) 114, i))); + } + + public final long method52(byte i) { + anInt4988++; + long[] ls = DefinitionSub21.aLongArray9283; + long l = -1L; + l = (ls[(int) ((l ^ (long) this.anInt4991) & 0xffL)] ^ l >>> 8); + l = (l >>> 8 ^ ls[(int) (0xffL & ((long) (this.anInt4992 >> 8) ^ l))]); + l = (l >>> 8 ^ ls[(int) ((l ^ (long) this.anInt4992) & 0xffL)]); + l = (l >>> 8 ^ ls[(int) (0xffL & (l ^ (long) (this.anInt4989 >> 24)))]); + l = ls[(int) (0xffL & ((long) (this.anInt4989 >> 16) ^ l))] ^ l >>> 8; + l = (l >>> 8 ^ ls[(int) (0xffL & (l ^ (long) (this.anInt4989 >> 8)))]); + l = (l >>> 8 ^ ls[(int) ((l ^ (long) this.anInt4989) & 0xffL)]); + l = (l >>> 8 ^ ls[(int) (0xffL & ((long) this.anInt4993 ^ l))]); + l = ls[(int) ((l ^ (long) (this.anInt4982 >> 24)) & 0xffL)] ^ l >>> 8; + l = (l >>> 8 ^ ls[(int) ((l ^ (long) (this.anInt4982 >> 16)) & 0xffL)]); + if (i < 46) return -94L; + l = ls[(int) ((l ^ (long) (this.anInt4982 >> 8)) & 0xffL)] ^ l >>> 8; + l = (l >>> 8 ^ ls[(int) (0xffL & ((long) this.anInt4982 ^ l))]); + l = (ls[(int) (0xffL & (l ^ (long) this.anInt4981))] ^ l >>> 8); + l = (l >>> 8 ^ ls[(int) (0xffL & ((long) (this.aBoolean4990 ? 1 : 0) ^ l))]); + return l; + } + + static final void method1114(int i, int i_2_) { + anInt4986++; + if (i < 0 || i > 2) i = 0; + NodederUtil.anInt6637 = i; + NodeSub51.aClass318_Sub10Array7249 = new RenderableSub10[1 + (ReferenceHolder.anIntArray9558[NodederUtil.anInt6637])]; + GlTexture.anInt8550 = 0; + if (i_2_ >= -118) method1114(-43, -71); + Component239.anInt4559 = 0; + } + + public final boolean method53(int i, Interface14 interface14) { + anInt4994++; + if (!(interface14 instanceof Component380)) return false; + Component380 class126_3_ = (Component380) interface14; + if (this.anInt4991 != class126_3_.anInt4991) return false; + if (i <= 50) return true; + if (this.anInt4992 != class126_3_.anInt4992) return false; + if (this.anInt4989 != class126_3_.anInt4989) return false; + if (this.anInt4993 != class126_3_.anInt4993) return false; + if (class126_3_.anInt4982 != this.anInt4982) return false; + if (this.anInt4981 != class126_3_.anInt4981) return false; + return !class126_3_.aBoolean4990 == !this.aBoolean4990; + } +} diff --git a/client/components/Component381.java b/client/components/Component381.java new file mode 100644 index 000000000..2ae26e482 --- /dev/null +++ b/client/components/Component381.java @@ -0,0 +1,38 @@ +/* Component381 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component381 +/** + * RENAMED from `Class369_Sub1` (JODE-obfuscated). + * Evidence: subclass of Component27 (hierarchy) + */ extends Component27 { + static int anInt8579; + int anInt8580; + static int anInt8581; + int anInt8582; + static int anInt8583 = -1; + + public final DisplayModeManagerContainer369 method51(byte i) { + if (i <= 116) method51((byte) -95); + anInt8581++; + return Component55.aClass223_3934; + } + + Component381(Component85 class221, DisplayModeManagerContainer196 class341, int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_) { + super(class221, class341, i, i_0_, i_1_, i_2_, i_3_, i_4_, i_5_); + try { + this.anInt8580 = i_7_; + this.anInt8582 = i_8_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("kh.(" + (class221 != null ? "{...}" : "null") + ',' + (class341 != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + i_1_ + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ')')); + } + } + + static final void method3570(boolean bool) { + if (Definition.aClass279_7042 != null) Definition.aClass279_7042.process(-6858); + anInt8579++; + if (Component276.aClass279_2596 != null) Component276.aClass279_2596.process(-6858); + if (bool != false) anInt8583 = 30; + } +} diff --git a/client/components/Component382.java b/client/components/Component382.java new file mode 100644 index 000000000..d52186c6c --- /dev/null +++ b/client/components/Component382.java @@ -0,0 +1,161 @@ +/* Component382 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component382 +/** + * RENAMED from `Class171` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2267; + private final GlToolkitSub2 aHa_Sub2_2268; + static short aShort2269 = 32767; + int anInt2270; + static int anInt2271; + static int[] anIntArray2272; + static int anInt2273; + static int anInt2274; + static int anInt2275; + /*synthetic*/ static Class aClass2276; + + /** + * CRC-32 over {@code is[i_0_..i)} using the shared table + * {@link Component84#anIntArray1508}. Final result is inverted. + */ + static final int computeCrc32(int i, boolean bool, byte[] is, int i_0_) { + anInt2267++; + if (bool != true) return 63; + int i_1_ = -1; + for (int i_2_ = i_0_; i_2_ < i; i_2_++) + i_1_ = (i_1_ >>> 8 ^ Component84.anIntArray1508[(i_1_ ^ is[i_2_]) & 0xff]); + i_1_ ^= 0xffffffff; + return i_1_; + } + + static final void method1320() { + for (int i = 0; i < Component374.anInt4135; i++) { + if (!r.aBooleanArray9718[i]) { + DisplayModeManagerContainer159 class211 = Component329.aClass211Array5993[i]; + NodeSub1 class348_sub1 = class211.aClass348_Sub1_2745; + int i_3_ = class211.anInt2731; + int i_4_ = (class348_sub1.method2723(-1) - DisplayModeManagerContainer64.anInt9037); + int i_5_ = 1 + (2 * i_4_ >> Component149.anInt4459); + int i_6_ = 0; + int[] is = new int[i_5_ * i_5_]; + int i_7_ = (class348_sub1.method2724(-1) - i_4_ >> Component149.anInt4459); + int i_8_ = (class348_sub1.method2717((byte) 79) - i_4_ >> Component149.anInt4459); + int i_9_ = (class348_sub1.method2717((byte) 113) + i_4_ >> Component149.anInt4459); + if (i_8_ < 0) { + i_6_ -= i_8_; + i_8_ = 0; + } + if (i_9_ >= NodeSub41.anInt7054) i_9_ = NodeSub41.anInt7054 - 1; + for (int i_10_ = i_8_; i_10_ <= i_9_; i_10_++) { + int i_11_ = class211.aShortArray2742[i_6_]; + int i_12_ = i_11_ >>> 8; + int i_13_ = i_6_ * i_5_ + i_12_; + int i_14_ = i_7_ + (i_11_ >>> 8); + int i_15_ = i_14_ + (i_11_ & 0xff) - 1; + if (i_14_ < 0) { + i_13_ -= i_14_; + i_14_ = 0; + } + if (i_15_ >= StaticElementRenderer.anInt6451) i_15_ = StaticElementRenderer.anInt6451 - 1; + for (int i_16_ = i_14_; i_16_ <= i_15_; i_16_++) { + int i_17_ = 1; + Component327 class318_sub1_sub3 = (DisplayModeManagerContainer249.method1353(i_3_, i_16_, i_10_, (aClass2276 != null ? aClass2276 : (aClass2276 = Component327.class)))); + if (class318_sub1_sub3 != null && (class318_sub1_sub3.aByte8745) != 0) { + if ((class318_sub1_sub3.aByte8745) == 1) { + boolean bool = i_16_ - 1 >= i_14_; + boolean bool_18_ = i_16_ + 1 <= i_15_; + if (!bool && i_10_ + 1 <= i_9_) { + int i_19_ = (class211.aShortArray2742[i_6_ + 1]); + int i_20_ = i_7_ + (i_19_ >>> 8); + int i_21_ = i_20_ + (i_19_ & 0xff); + bool = i_16_ > i_20_ && i_16_ < i_21_; + } + if (!bool_18_ && i_10_ - 1 >= i_8_) { + int i_22_ = (class211.aShortArray2742[i_6_ - 1]); + int i_23_ = i_7_ + (i_22_ >>> 8); + int i_24_ = i_23_ + (i_22_ & 0xff); + bool_18_ = i_16_ > i_23_ && i_16_ < i_24_; + } + if (bool && !bool_18_) i_17_ = 4; + else if (bool_18_ && !bool) i_17_ = 2; + } else { + boolean bool = i_16_ - 1 >= i_14_; + boolean bool_25_ = i_16_ + 1 <= i_15_; + if (!bool && i_10_ - 1 >= i_8_) { + int i_26_ = (class211.aShortArray2742[i_6_ - 1]); + int i_27_ = i_7_ + (i_26_ >>> 8); + int i_28_ = i_27_ + (i_26_ & 0xff); + bool = i_16_ > i_27_ && i_16_ < i_28_; + } + if (!bool_25_ && i_10_ + 1 <= i_9_) { + int i_29_ = (class211.aShortArray2742[i_6_ + 1]); + int i_30_ = i_7_ + (i_29_ >>> 8); + int i_31_ = i_30_ + (i_29_ & 0xff); + bool_25_ = i_16_ > i_30_ && i_16_ < i_31_; + } + if (bool && !bool_25_) i_17_ = 3; + else if (bool_25_ && !bool) i_17_ = 5; + } + } + is[i_13_++] = i_17_; + } + i_6_++; + } + r.aBooleanArray9718[i] = true; + ShaderSub1.aSArray5191[i_3_].method3981(class348_sub1, is); + } + } + } + + protected final void finalize() throws Throwable { + aHa_Sub2_2268.method3765((byte) 65, this.anInt2270); + anInt2274++; + super.finalize(); + } + + static final int method1321(byte i, int i_32_, int i_33_, int i_34_, int i_35_, int i_36_) { + int i_37_ = 4 / ((-51 - i) / 63); + anInt2273++; + if (ShaderSub1.aSArray5191 == null) return 0; + if (i_35_ < 3) { + int i_38_ = i_32_ >> 9; + int i_39_ = i_33_ >> 9; + if (i_34_ < 0 || i_36_ < 0 || -1 + AbstractShaderSub4.anInt7319 < i_34_ || (i_36_ > ParametricDefinition.anInt9109 - 1)) return 0; + if (i_38_ < 1 || i_39_ < 1 || -1 + AbstractShaderSub4.anInt7319 < i_38_ || -1 + ParametricDefinition.anInt9109 < i_39_) return 0; + boolean bool = ((0x2 & (ObjectDeserializer.aByteArrayArrayArray6962[1][i_32_ >> 9][i_33_ >> 9])) != 0); + if ((i_32_ & 0x1ff) == 0) { + boolean bool_40_ = ((0x2 & (ObjectDeserializer.aByteArrayArrayArray6962[1][-1 + i_38_][i_33_ >> 9])) != 0); + boolean bool_41_ = ((0x2 & (ObjectDeserializer.aByteArrayArrayArray6962[1][i_38_][i_33_ >> 9])) != 0); + if (bool_40_ == !bool_41_) bool = (0x2 & (ObjectDeserializer.aByteArrayArrayArray6962[1][i_34_][i_36_])) != 0; + } + if ((i_33_ & 0x1ff) == 0) { + boolean bool_42_ = ((ObjectDeserializer.aByteArrayArrayArray6962[1][i_32_ >> 9][-1 + i_39_]) & 0x2) != 0; + boolean bool_43_ = ((0x2 & (ObjectDeserializer.aByteArrayArrayArray6962[1][i_32_ >> 9][i_39_])) != 0); + if (bool_42_ == !bool_43_) bool = (0x2 & (ObjectDeserializer.aByteArrayArrayArray6962[1][i_34_][i_36_])) != 0; + } + if (bool) i_35_++; + } + return ShaderSub1.aSArray5191[i_35_].method3986(i_32_, i_33_, (byte) 22); + } + + public static void method1322(byte i) { + if (i == -28) anIntArray2272 = null; + } + + static final void method1323(int i, int i_44_) { + synchronized (DisplayModeManagerContainer173.aClass60_4254) { + DisplayModeManagerContainer173.aClass60_4254.processSoftEntries(2, i); + } + if (i_44_ == 26603) anInt2271++; + } + + Component382(GlToolkitSub2 var_ha_Sub2, int i, int i_45_) { + aHa_Sub2_2268 = var_ha_Sub2; + this.anInt2270 = i_45_; + } + +} diff --git a/client/components/Component383.java b/client/components/Component383.java new file mode 100644 index 000000000..524040e47 --- /dev/null +++ b/client/components/Component383.java @@ -0,0 +1,52 @@ +/* Component383 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component383 +/** + * RENAMED from `Class288_Sub1` (JODE-obfuscated). + * Evidence: subclass of Component118 (hierarchy) + */ extends Component118 { + static int anInt8574; + static float[] aFloatArray8575 = {1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F}; + static int anInt8576; + int anInt8577; + static int anInt8578; + + Component383(int i, Component85 class221, DisplayModeManagerContainer196 class341, int i_0_, int i_1_, int i_2_) { + super(i, class221, class341, i_0_, i_1_); + try { + this.anInt8577 = i_2_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wg.(" + i + ',' + (class221 != null ? "{...}" : "null") + ',' + (class341 != null ? "{...}" : "null") + ',' + i_0_ + ',' + i_1_ + ',' + i_2_ + ')')); + } + } + + static final int method2188(int i) { + anInt8578++; + if (i != -30477) aFloatArray8575 = null; + return 16; + } + + static final Component118 method2189(Buffer class348_sub49, int i) { + anInt8576++; + int i_3_ = class348_sub49.readUnsignedShort(842397944); + Component85 class221 = HeapDumpHelper.method1248(48)[class348_sub49.readUnsignedByte(255)]; + DisplayModeManagerContainer196 class341 = Component240.method596(20000)[class348_sub49.readUnsignedByte(255)]; + if (i <= 27) method2189(null, -35); + int i_4_ = class348_sub49.readShort(13638); + int i_5_ = class348_sub49.readShort(13638); + return new Component118(i_3_, class221, class341, i_4_, i_5_); + } + + public final DisplayModeManagerContainer369 method51(byte i) { + anInt8574++; + if (i <= 116) method2190(false); + return DisplayModeManagerContainer332.aClass223_4997; + } + + public static void method2190(boolean bool) { + if (bool != true) aFloatArray8575 = null; + aFloatArray8575 = null; + } +} diff --git a/client/components/Component384.java b/client/components/Component384.java new file mode 100644 index 000000000..b3cb6c606 --- /dev/null +++ b/client/components/Component384.java @@ -0,0 +1,76 @@ +/* Component384 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component384 +/** + * RENAMED from `Class241_Sub1` (JODE-obfuscated). + * Evidence: subclass of Component41 (hierarchy) + */ extends Component41 { + private long aLong6154; + private long aLong6155; + private int anInt6156 = 1; + private final long[] aLongArray6157; + private long aLong6158; + private int anInt6159; + + final long method1862(int i) { + if (i != -18931) anInt6159 = 65; + return aLong6158; + } + + final int method1859(int i, long l) { + if (i != 71) return 127; + if (aLong6154 > aLong6158) { + aLong6155 += aLong6154 - aLong6158; + aLong6158 += -aLong6158 + aLong6154; + aLong6154 += l; + return 1; + } + int i_0_ = 0; + do { + i_0_++; + aLong6154 += l; + } while (i_0_ < 10 && (aLong6154 < aLong6158)); + if (aLong6154 < aLong6158) aLong6154 = aLong6158; + return i_0_; + } + + final long method1858(int i) { + if (i >= -60) anInt6156 = 64; + aLong6158 += method1863(56); + if (aLong6158 < aLong6154) return (aLong6154 - aLong6158) / 1000000L; + return 0L; + } + + final void method1856(byte i) { + aLong6155 = 0L; + if (aLong6154 > aLong6158) aLong6158 += -aLong6158 + aLong6154; + if (i < 88) aLong6158 = -33L; + } + + private final long method1863(int i) { + long l = Component240.currentTimeMillis(-56) * 1000000L; + long l_1_ = l + -aLong6155; + aLong6155 = l; + if (l_1_ > -5000000000L && l_1_ < 5000000000L) { + aLongArray6157[anInt6159] = l_1_; + if (anInt6156 < 10) anInt6156++; + anInt6159 = (anInt6159 - -1) % 10; + } + long l_2_ = 0L; + int i_3_ = 1; + if (i <= 0) method1859(91, -39L); + for (/**/; anInt6156 >= i_3_; i_3_++) + l_2_ += aLongArray6157[(10 + (anInt6159 + -i_3_)) % 10]; + return l_2_ / (long) anInt6156; + } + + Component384() { + aLong6155 = 0L; + aLongArray6157 = new long[10]; + aLong6154 = 0L; + anInt6159 = 0; + aLong6158 = 0L; + } +} diff --git a/client/components/Component385.java b/client/components/Component385.java new file mode 100644 index 000000000..772fa87dc --- /dev/null +++ b/client/components/Component385.java @@ -0,0 +1,222 @@ +/* Component385 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component385 +/** + * RENAMED from `Class167` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private final GlToolkitSub1 aHa_Sub1_2191; + int anInt2192; + static int anInt2193; + static int anInt2194; + boolean aBoolean2195 = false; + static Component183 aClass114_2196 = new Component183(111, -1); + int anInt2197; + Runnable aRunnable2198; + static int anInt2199; + static int anInt2200; + boolean aBoolean2201; + boolean aBoolean2202; + static float aFloat2203; + static int anInt2204 = 0; + int anInt2205; + static int anInt2206; + static Component267 aClass229_2207 = new Component267(); + static CacheStore aClass45_2208; + MatrixSub1 aClass101_Sub1_2209; + int anInt2210; + int anInt2211; + int[] anIntArray2212; + int[] anIntArray2213; + int[] anIntArray2214; + int anInt2215; + int[] anIntArray2216; + int[] anIntArray2217; + int[] anIntArray2218; + DisplayModeManagerContainer164 aClass64_Sub1_2219; + Component8 aClass109_2220; + int anInt2221; + int[] anIntArray2222; + DisplayModeManagerContainer164 aClass64_Sub1_2223; + DisplayModeManagerContainer164 aClass64_Sub1_2224; + DisplayModeManagerContainer164 aClass64_Sub1_2225; + float[] aFloatArray2226; + DisplayModeManagerContainer164 aClass64_Sub1_2227; + int[] anIntArray2228; + int anInt2229; + int[] anIntArray2230; + DisplayModeManagerContainer164 aClass64_Sub1_2231; + int[] anIntArray2232; + DisplayModeManagerContainer164 aClass64_Sub1_2233; + int[] anIntArray2234; + int[] anIntArray2235; + int[] anIntArray2236; + int[] anIntArray2237; + int[] anIntArray2238; + DisplayModeManagerContainer164 aClass64_Sub1_2239; + int[] anIntArray2240; + int[] anIntArray2241; + int[] anIntArray2242; + DisplayModeManagerContainer164 aClass64_Sub1_2243; + int[] anIntArray2244; + int[] anIntArray2245; + DisplayModeManagerContainer164 aClass64_Sub1_2246; + int[] anIntArray2247; + + final void method1291(int i, Runnable runnable) { + if (i == 10000) { + this.aRunnable2198 = runnable; + anInt2193++; + } + } + + final void method1292(int i) { + if (i == 64) { + anInt2194++; + this.aClass109_2220 = new Component8(aHa_Sub1_2191, this); + } + } + + public static void method1293(int i) { + aClass114_2196 = null; + aClass45_2208 = null; + aClass229_2207 = null; + if (i != 1) method1295(null, -117, -102); + } + + static final boolean method1294(byte i, byte[] is) { + anInt2199++; + Buffer class348_sub49 = new Buffer(is); + if (i > -98) method1294((byte) 73, null); + int i_0_ = class348_sub49.readUnsignedByte(255); + if (i_0_ != 2) return false; + boolean bool = class348_sub49.readUnsignedByte(255) == 1; + if (bool) Component317.method569((byte) -123, class348_sub49); + PauseHandler.readWorldPopulations((byte) -67, class348_sub49); + return true; + } + + static final void method1295(RenderableObject[] class318_sub1s, int i, int i_1_) { + if (i < i_1_) { + int i_2_ = (i + i_1_) / 2; + int i_3_ = i; + RenderableObject class318_sub1 = class318_sub1s[i_2_]; + class318_sub1s[i_2_] = class318_sub1s[i_1_]; + class318_sub1s[i_1_] = class318_sub1; + int i_4_ = class318_sub1.anInt6389; + for (int i_5_ = i; i_5_ < i_1_; i_5_++) { + if (class318_sub1s[i_5_].anInt6389 < i_4_ + (i_5_ & 0x1)) { + RenderableObject class318_sub1_6_ = class318_sub1s[i_5_]; + class318_sub1s[i_5_] = class318_sub1s[i_3_]; + class318_sub1s[i_3_++] = class318_sub1_6_; + } + } + class318_sub1s[i_1_] = class318_sub1s[i_3_]; + class318_sub1s[i_3_] = class318_sub1; + method1295(class318_sub1s, i, i_3_ - 1); + method1295(class318_sub1s, i_3_ + 1, i_1_); + } + } + + static final boolean method1296(boolean bool) { + if (bool != true) method1297((byte) 88, null, null, null, null); + anInt2200++; + if (PlayerState.anInt7068 != 0) return true; + return Component122.aClass348_Sub16_Sub3_1564.method2860(120); + } + + static final void method1297(byte i, Player player, int[] is, int[] is_7_, int[] is_8_) { + try { + anInt2206++; + if (i > -96) aFloat2203 = 0.6824298F; + for (int i_9_ = 0; is_7_.length > i_9_; i_9_++) { + int i_10_ = is_7_[i_9_]; + int i_11_ = is[i_9_]; + int i_12_ = is_8_[i_9_]; + for (int i_13_ = 0; i_11_ != 0 && i_13_ < (player.aClass182Array10308).length; i_11_ >>>= 1) { + if ((i_11_ & 0x1) != 0) { + if (i_10_ != -1) { + DisplayModeManagerContainer167 class17 = RunescapeInfo.aClass87_191.method835(i_10_, 7); + int i_14_ = class17.anInt248; + Component280 class182 = (player.aClass182Array10308[i_13_]); + if (class182 != null) { + if (class182.anInt2454 == i_10_) { + if (i_14_ == 0) class182 = player.aClass182Array10308[i_13_] = null; + else if (i_14_ == 1) { + class182.anInt2448 = i_12_; + class182.anInt2455 = 1; + class182.anInt2456 = 0; + class182.anInt2451 = 0; + class182.anInt2445 = 0; + if (!player.aBoolean10309) DisplayModeManagerContainer260.method2178(player, 0, class17, -54); + } else if (i_14_ == 2) class182.anInt2445 = 0; + } else if (class17.anInt239 >= RunescapeInfo.aClass87_191.method835((class182.anInt2454), 7).anInt239) class182 = player.aClass182Array10308[i_13_] = null; + } + if (class182 == null) { + class182 = player.aClass182Array10308[i_13_] = new Component280(); + class182.anInt2445 = 0; + class182.anInt2455 = 1; + class182.anInt2448 = i_12_; + class182.anInt2456 = 0; + class182.anInt2454 = i_10_; + class182.anInt2451 = 0; + if (!player.aBoolean10309) DisplayModeManagerContainer260.method2178(player, 0, class17, -123); + } + } else player.aClass182Array10308[i_13_] = null; + } + i_13_++; + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("pga.G(" + i + ',' + (player != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ',' + (is_7_ != null ? "{...}" : "null") + ',' + (is_8_ != null ? "{...}" : "null") + ')')); + } + } + + Component385(GlToolkitSub1 var_ha_Sub1) { + this.anInt2192 = 0; + this.anInt2197 = 0; + this.anInt2205 = 0; + this.aBoolean2202 = true; + this.anInt2211 = 0; + this.aClass101_Sub1_2209 = new MatrixSub1(); + this.anIntArray2213 = new int[DisplayModeManagerContainer164.anInt5350]; + this.anIntArray2214 = new int[DisplayModeManagerContainer164.anInt5350]; + this.anIntArray2212 = new int[64]; + this.aFloatArray2226 = new float[2]; + this.anIntArray2216 = new int[10000]; + this.anIntArray2222 = new int[DisplayModeManagerContainer164.anInt5350]; + this.anIntArray2232 = new int[64]; + this.anIntArray2218 = new int[8]; + this.anIntArray2237 = new int[DisplayModeManagerContainer164.anInt5350]; + this.anIntArray2236 = new int[10000]; + this.anIntArray2230 = new int[DisplayModeManagerContainer164.anInt5350]; + this.anIntArray2240 = new int[10]; + this.anIntArray2228 = new int[64]; + this.anIntArray2238 = new int[10]; + this.anIntArray2241 = new int[8]; + this.anIntArray2235 = new int[10]; + this.anIntArray2245 = new int[8]; + this.anIntArray2217 = new int[64]; + this.anIntArray2244 = new int[DisplayModeManagerContainer164.anInt5350]; + this.anIntArray2247 = new int[10]; + this.anIntArray2234 = new int[DisplayModeManagerContainer164.anInt5350]; + aHa_Sub1_2191 = var_ha_Sub1; + this.anInt2210 = aHa_Sub1_2191.anInt7494 + -255; + this.aClass109_2220 = new Component8(var_ha_Sub1, this); + this.aClass64_Sub1_2243 = new DisplayModeManagerContainer164(aHa_Sub1_2191); + this.aClass64_Sub1_2224 = new DisplayModeManagerContainer164(aHa_Sub1_2191); + this.aClass64_Sub1_2219 = new DisplayModeManagerContainer164(aHa_Sub1_2191); + this.aClass64_Sub1_2239 = new DisplayModeManagerContainer164(aHa_Sub1_2191); + this.aClass64_Sub1_2233 = new DisplayModeManagerContainer164(aHa_Sub1_2191); + this.aClass64_Sub1_2231 = new DisplayModeManagerContainer164(aHa_Sub1_2191); + this.aClass64_Sub1_2223 = new DisplayModeManagerContainer164(aHa_Sub1_2191); + this.aClass64_Sub1_2227 = new DisplayModeManagerContainer164(aHa_Sub1_2191); + this.aClass64_Sub1_2246 = new DisplayModeManagerContainer164(aHa_Sub1_2191); + this.aClass64_Sub1_2225 = new DisplayModeManagerContainer164(aHa_Sub1_2191); + this.anIntArray2242 = new int[DisplayModeManagerContainer164.anInt5346]; + for (int i = 0; DisplayModeManagerContainer164.anInt5346 > i; i++) + this.anIntArray2242[i] = -1; + } +} diff --git a/client/components/Component386.java b/client/components/Component386.java new file mode 100644 index 000000000..2fd021858 --- /dev/null +++ b/client/components/Component386.java @@ -0,0 +1,262 @@ +/* Component386 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component386 +/** + * RENAMED from `Class219` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + NodeCache aClass60_2862 = new NodeCache(20); + static int anInt2863; + static Component169 aClass196_2864 = new Component169(); + static int anInt2865; + private final CacheStore aClass45_2866; + static int anInt2867; + static DisplayModeManagerContainer369 aClass223_2868 = new DisplayModeManagerContainer369(0, 1); + static int anInt2869; + static int anInt2870; + static byte aByte2871; + static int anInt2872 = 0; + CacheStore aClass45_2873; + static int anInt2874; + private final NodeCache aClass60_2875 = new NodeCache(64); + + final void method1598(int i) { + anInt2863++; + synchronized (aClass60_2875) { + aClass60_2875.method587(-103); + } + synchronized (this.aClass60_2862) { + if (i <= 42) method1598(36); + this.aClass60_2862.method587(-126); + } + } + + static final boolean method1599(byte i, int i_0_, int i_1_) { + anInt2869++; + if (i > -65) return false; + return (i_0_ & 0xc580) != 0; + } + + static final void method1600(boolean bool, int i, DisplayModeManagerContainer58 class318_sub1_sub3_sub3) { + anInt2867++; + Component241 class225 = class318_sub1_sub3_sub3.method2422((byte) 72); + if (class318_sub1_sub3_sub3.anInt10319 == 0) { + class318_sub1_sub3_sub3.anInt10326 = 0; + Component366.anInt3062 = -1; + Component162.anInt8387 = 0; + } else { + if (i != (~(class318_sub1_sub3_sub3.anInt10286)) && (class318_sub1_sub3_sub3.anInt10218) == 0) { + DisplayModeManagerContainer167 class17 = (RunescapeInfo.aClass87_191.method835((class318_sub1_sub3_sub3.anInt10286), i + 7)); + if ((class318_sub1_sub3_sub3.anInt10322) > 0 && class17.anInt262 == 0) { + Component366.anInt3062 = -1; + Component162.anInt8387 = 0; + class318_sub1_sub3_sub3.anInt10326++; + return; + } + if ((class318_sub1_sub3_sub3.anInt10322) <= 0 && class17.anInt245 == 0) { + Component162.anInt8387 = 0; + Component366.anInt3062 = -1; + class318_sub1_sub3_sub3.anInt10326++; + return; + } + } + if (class318_sub1_sub3_sub3.anInt10269 != -1 && (class318_sub1_sub3_sub3.anInt10225) <= OpenGlShader.clientCycle) { + Component63 class368 = (NsnDefinition.aClass319_9245.method2543((byte) 118, (class318_sub1_sub3_sub3.anInt10269))); + if (class368.aBoolean4487 && class368.anInt4503 != -1) { + DisplayModeManagerContainer167 class17 = RunescapeInfo.aClass87_191.method835(class368.anInt4503, 7); + if ((class318_sub1_sub3_sub3.anInt10322) > 0 && class17.anInt262 == 0) { + Component162.anInt8387 = 0; + class318_sub1_sub3_sub3.anInt10326++; + Component366.anInt3062 = -1; + return; + } + if ((class318_sub1_sub3_sub3.anInt10322) <= 0 && class17.anInt245 == 0) { + Component366.anInt3062 = -1; + Component162.anInt8387 = 0; + class318_sub1_sub3_sub3.anInt10326++; + return; + } + } + } + if (class318_sub1_sub3_sub3.anInt10269 != -1 && ((class318_sub1_sub3_sub3.anInt10225) <= OpenGlShader.clientCycle)) { + Component63 class368 = (NsnDefinition.aClass319_9245.method2543((byte) 98, (class318_sub1_sub3_sub3.anInt10269))); + if (class368.aBoolean4487 && class368.anInt4503 != -1) { + DisplayModeManagerContainer167 class17 = RunescapeInfo.aClass87_191.method835((class368.anInt4503), i ^ 0x7); + if ((class318_sub1_sub3_sub3.anInt10322) > 0 && class17.anInt262 == 0) { + Component162.anInt8387 = 0; + class318_sub1_sub3_sub3.anInt10326++; + Component366.anInt3062 = -1; + return; + } + if ((class318_sub1_sub3_sub3.anInt10322) <= 0 && class17.anInt245 == 0) { + Component366.anInt3062 = -1; + Component162.anInt8387 = 0; + class318_sub1_sub3_sub3.anInt10326++; + return; + } + } + } + int i_2_ = class318_sub1_sub3_sub3.x; + int i_3_ = class318_sub1_sub3_sub3.y; + int i_4_ = (512 * (class318_sub1_sub3_sub3.anIntArray10320[-1 + class318_sub1_sub3_sub3.anInt10319]) + class318_sub1_sub3_sub3.method2436((byte) 117) * 256); + int i_5_ = (512 * (class318_sub1_sub3_sub3.anIntArray10317[-1 + class318_sub1_sub3_sub3.anInt10319]) - -(class318_sub1_sub3_sub3.method2436((byte) 72) * 256)); + if (i_2_ >= i_4_) { + if (i_4_ < i_2_) { + if (i_5_ > i_3_) class318_sub1_sub3_sub3.method2440((byte) 49, 6144); + else if (i_5_ < i_3_) class318_sub1_sub3_sub3.method2440((byte) 49, 2048); + else class318_sub1_sub3_sub3.method2440((byte) 49, 4096); + } else if (i_5_ <= i_3_) { + if (i_3_ > i_5_) class318_sub1_sub3_sub3.method2440((byte) 49, 0); + } else class318_sub1_sub3_sub3.method2440((byte) 49, 8192); + } else if (i_3_ >= i_5_) { + if (i_5_ < i_3_) class318_sub1_sub3_sub3.method2440((byte) 49, 14336); + else class318_sub1_sub3_sub3.method2440((byte) 49, 12288); + } else class318_sub1_sub3_sub3.method2440((byte) 49, 10240); + byte i_6_ = (class318_sub1_sub3_sub3.aByteArray10321[-1 + (class318_sub1_sub3_sub3.anInt10319)]); + if (!bool && (i_4_ - i_2_ > 1024 || i_4_ + -i_2_ < -1024 || -i_3_ + i_5_ > 1024 || i_5_ + -i_3_ < -1024)) { + class318_sub1_sub3_sub3.y = i_5_; + class318_sub1_sub3_sub3.x = i_4_; + class318_sub1_sub3_sub3.method2435((byte) -108, (class318_sub1_sub3_sub3.anInt10282), false); + Component366.anInt3062 = -1; + class318_sub1_sub3_sub3.anInt10319--; + if ((class318_sub1_sub3_sub3.anInt10322) > 0) class318_sub1_sub3_sub3.anInt10322--; + Component162.anInt8387 = 0; + } else { + int i_7_ = 16; + boolean bool_8_ = true; + if (class318_sub1_sub3_sub3 instanceof Npc) bool_8_ = ((Npc) class318_sub1_sub3_sub3).definition.aBoolean1331; + if (bool_8_) { + int i_9_ = ((class318_sub1_sub3_sub3.anInt10282) - class318_sub1_sub3_sub3.aClass264_10217.anInt3370); + if (i_9_ != 0 && class318_sub1_sub3_sub3.anInt10275 == -1 && (class318_sub1_sub3_sub3.anInt10310) != 0) i_7_ = 8; + if (!bool && (class318_sub1_sub3_sub3.anInt10319) > 2) i_7_ = 24; + if (!bool && (class318_sub1_sub3_sub3.anInt10319) > 3) i_7_ = 32; + } else { + if (!bool && class318_sub1_sub3_sub3.anInt10319 > 1) i_7_ = 24; + if (!bool && class318_sub1_sub3_sub3.anInt10319 > 2) i_7_ = 32; + } + if ((class318_sub1_sub3_sub3.anInt10326) > 0 && (class318_sub1_sub3_sub3.anInt10319) > 1) { + i_7_ = 32; + class318_sub1_sub3_sub3.anInt10326--; + } + if (i_6_ == 2) i_7_ <<= 1; + else if (i_6_ == 0) i_7_ >>= 1; + Component162.anInt8387 = 0; + if (class225.anInt2945 != -1) { + i_7_ <<= 9; + if ((class318_sub1_sub3_sub3.anInt10319) == 1) { + int i_10_ = (class318_sub1_sub3_sub3.anInt10325 * class318_sub1_sub3_sub3.anInt10325); + int i_11_ = ((i_4_ >= class318_sub1_sub3_sub3.x ? -(class318_sub1_sub3_sub3.x) + i_4_ : (class318_sub1_sub3_sub3.x) + -i_4_) << 9); + int i_12_ = (((class318_sub1_sub3_sub3.y) <= i_5_ ? i_5_ - class318_sub1_sub3_sub3.y : (class318_sub1_sub3_sub3.y) + -i_5_) << 9); + int i_13_ = Math.max(i_12_, i_11_); + int i_14_ = class225.anInt2945 * 2 * i_13_; + if (i_10_ <= i_14_) { + if (i_13_ < i_10_ / 2) { + class318_sub1_sub3_sub3.anInt10325 -= class225.anInt2945; + if (class318_sub1_sub3_sub3.anInt10325 < 0) class318_sub1_sub3_sub3.anInt10325 = 0; + } else if (i_7_ > class318_sub1_sub3_sub3.anInt10325) { + class318_sub1_sub3_sub3.anInt10325 += class225.anInt2945; + if (class318_sub1_sub3_sub3.anInt10325 > i_7_) class318_sub1_sub3_sub3.anInt10325 = i_7_; + } + } else class318_sub1_sub3_sub3.anInt10325 /= 2; + } else if (i_7_ <= class318_sub1_sub3_sub3.anInt10325) { + if (class318_sub1_sub3_sub3.anInt10325 > 0) { + class318_sub1_sub3_sub3.anInt10325 -= class225.anInt2945; + if (class318_sub1_sub3_sub3.anInt10325 < 0) class318_sub1_sub3_sub3.anInt10325 = 0; + } + } else { + class318_sub1_sub3_sub3.anInt10325 += class225.anInt2945; + if (i_7_ < class318_sub1_sub3_sub3.anInt10325) class318_sub1_sub3_sub3.anInt10325 = i_7_; + } + i_7_ = (class318_sub1_sub3_sub3.anInt10325) >> 9; + if (i_7_ < 1) i_7_ = 1; + } + if (i_2_ == i_4_ && i_5_ == i_3_) Component366.anInt3062 = -1; + else { + if (i_4_ > i_2_) { + Component162.anInt8387 |= 0x4; + class318_sub1_sub3_sub3.x += i_7_; + if (i_4_ < (class318_sub1_sub3_sub3.x)) class318_sub1_sub3_sub3.x = i_4_; + } else if (i_4_ < i_2_) { + Component162.anInt8387 |= 0x8; + class318_sub1_sub3_sub3.x -= i_7_; + if (class318_sub1_sub3_sub3.x < i_4_) class318_sub1_sub3_sub3.x = i_4_; + } + if (i_7_ >= 32) Component366.anInt3062 = 2; + else Component366.anInt3062 = i_6_; + if (i_3_ < i_5_) { + Component162.anInt8387 |= 0x1; + class318_sub1_sub3_sub3.y += i_7_; + if (i_5_ < (class318_sub1_sub3_sub3.y)) class318_sub1_sub3_sub3.y = i_5_; + } else if (i_5_ < i_3_) { + Component162.anInt8387 |= 0x2; + class318_sub1_sub3_sub3.y -= i_7_; + if (i_5_ > (class318_sub1_sub3_sub3.y)) class318_sub1_sub3_sub3.y = i_5_; + } + } + if (i_4_ == class318_sub1_sub3_sub3.x && i_5_ == (class318_sub1_sub3_sub3.y)) { + if ((class318_sub1_sub3_sub3.anInt10322) > 0) class318_sub1_sub3_sub3.anInt10322--; + class318_sub1_sub3_sub3.anInt10319--; + } + } + } + } + + final Component82 method1601(int i, int i_15_) { + anInt2874++; + Component82 class31; + synchronized (aClass60_2875) { + class31 = (Component82) aClass60_2875.get(i_15_, i + -148); + } + if (class31 != null) return class31; + byte[] is; + synchronized (aClass45_2866) { + is = aClass45_2866.getFile(-1860, i, i_15_); + } + class31 = new Component82(); + class31.aClass219_438 = this; + if (is != null) class31.method332(i ^ ~0x55, new Buffer(is)); + synchronized (aClass60_2875) { + aClass60_2875.putOne(class31, i_15_, (byte) -109); + } + return class31; + } + + final void method1602(int i) { + synchronized (aClass60_2875) { + aClass60_2875.clear(i); + } + anInt2865++; + synchronized (this.aClass60_2862) { + this.aClass60_2862.clear(0); + } + } + + final void method1603(int i, int i_16_) { + anInt2870++; + synchronized (aClass60_2875) { + aClass60_2875.processSoftEntries(2, i); + if (i_16_ >= -22) this.aClass45_2873 = null; + } + synchronized (this.aClass60_2862) { + this.aClass60_2862.processSoftEntries(2, i); + } + } + + public static void method1604(int i) { + aClass196_2864 = null; + aClass223_2868 = null; + if (i != 11868) anInt2872 = -94; + } + + Component386(GameType class230, int i, CacheStore class45, CacheStore class45_17_) { + try { + this.aClass45_2873 = class45_17_; + aClass45_2866 = class45; + aClass45_2866.getFileCount(0, 46); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("sb.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ',' + (class45_17_ != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/components/Component387.java b/client/components/Component387.java new file mode 100644 index 000000000..9632413a2 --- /dev/null +++ b/client/components/Component387.java @@ -0,0 +1,75 @@ +/* Component387 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +abstract class Component387 +/** + * RENAMED from `Class130` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static NodeCache aClass60_1894 = new NodeCache(5); + static LruCache aClass356_1895 = new LruCache(64); + static int anInt1896; + static CacheStore aClass45_1897; + static int anInt1898; + static boolean aBoolean1899 = false; + static boolean aBoolean1900 = false; + + public static void method1127(int i) { + aClass45_1897 = null; + aClass356_1895 = null; + if (i == 5125) aClass60_1894 = null; + } + + public Component387() { + /* empty */ + } + + static final int method1128(int i, Component342 class68) { + anInt1896++; + if (Component342.aClass68_1179 != class68) { + if (class68 != Component342.aClass68_1181) { + if (class68 == Component342.aClass68_1182) return 5124; + if (Component342.aClass68_1183 != class68) { + if (class68 != Component342.aClass68_1184) { + if (class68 == Component342.aClass68_1185) return 5125; + if (Component342.aClass68_1186 != class68) { + if (Component342.aClass68_1187 == class68) return 5126; + } else return 5131; + } else return 5123; + } else return 5121; + } else return 5122; + } else return 5120; + if (i > -19) method1129(-7, -90); + throw new IllegalArgumentException(""); + } + + static final void method1129(int i, int i_0_) { + WaterShader.anInt7379 = 3; + LoadingManager.anInt2173 = i_0_; + Component225.anInt481 = -1; + DefinitionSub30.anInt9399 = i; + anInt1898++; + } + + static final boolean method1130(r var_r, int i, int i_1_, int i_2_, boolean[] bools) { + boolean bool = false; + if (ShaderSub1.aSArray5191 != Component9.aSArray4142) { + int i_3_ = NodeSub1Sub1.aSArray8801[i].method3986(i_1_, i_2_, (byte) -109); + int i_4_ = 0; + for (/**/; i_4_ <= i; i_4_++) { + s var_s = NodeSub1Sub1.aSArray8801[i_4_]; + if (var_s != null) { + int i_5_ = i_3_ - var_s.method3986(i_1_, i_2_, (byte) 72); + if (bools != null) { + bools[i_4_] = var_s.method3989(var_r, i_1_, i_5_, i_2_, 0, false); + if (!bools[i_4_]) continue; + } + var_s.CA(var_r, i_1_, i_5_, i_2_, 0, false); + bool = true; + } + } + } + return bool; + } +} diff --git a/client/components/Component388.java b/client/components/Component388.java new file mode 100644 index 000000000..685596196 --- /dev/null +++ b/client/components/Component388.java @@ -0,0 +1,76 @@ +/* Component388 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component388 +/** + * RENAMED from `Class239_Sub23` (JODE-obfuscated). + * Evidence: subclass of Component339 (hierarchy) + */ extends Component339 { + static int anInt6077; + static int anInt6078; + static int anInt6079; + static int anInt6080; + static int anInt6081; + static int anInt6082; + static int anInt6083; + + final int method1710(int i) { + anInt6077++; + if (i != 20014) return -71; + if (!this.aClass348_Sub51_3136.method3425(-109)) { + if (this.aClass348_Sub51_3136.aClass239_Sub25_7271.method1830((byte) -107) && WorldNameText.method252(this.aClass348_Sub51_3136.aClass239_Sub25_7271.method1829(-32350), 5126)) return 1; + return 0; + } + return 2; + } + + Component388(int i, NodeSub51 class348_sub51) { + super(i, class348_sub51); + } + + final void method1716(boolean bool) { + if (bool == false) { + if (this.aClass348_Sub51_3136.method3425(-68)) this.anInt3138 = 2; + anInt6079++; + if (this.anInt3138 < 0 || this.anInt3138 > 2) this.anInt3138 = method1710(20014); + } + } + + final boolean method1817(int i) { + if (i < 85) return false; + anInt6078++; + return !this.aClass348_Sub51_3136.method3425(-108); + } + + final int method1818(int i) { + if (i != -32350) return 29; + anInt6082++; + return this.anInt3138; + } + + final int method1714(int i, int i_0_) { + if (i != 3) method1716(true); + anInt6080++; + if (this.aClass348_Sub51_3136.method3425(-109)) return 3; + return 1; + } + + static final Component184 method1819(int i, int i_1_, int i_2_, CacheStore class45) { + anInt6081++; + byte[] is = class45.getFile(-1860, i, i_1_); + if (i_2_ >= -31) method1819(65, -4, -97, null); + if (is == null) return null; + return new Component184(is); + } + + final void method1712(int i, int i_3_) { + anInt6083++; + this.anInt3138 = i_3_; + int i_4_ = 7 % ((82 - i) / 35); + } + + Component388(NodeSub51 class348_sub51) { + super(class348_sub51); + } +} diff --git a/client/components/Component39.java b/client/components/Component39.java new file mode 100644 index 000000000..ee0fde5e4 --- /dev/null +++ b/client/components/Component39.java @@ -0,0 +1,45 @@ +/* Component39 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component39 +/** + * RENAMED from `Class168` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static Component183 aClass114_2248; + static DisplayModeManagerContainer57 aClass46_2249; + static short aShort2250 = 205; + static int anInt2251; + static FontGlyphCache aClass323_2252; + static int anInt2253; + /** + * Developer-console purple overlay fade (0 → ~102). + * Reset on open ({@link Component192#openDevConsole}); ramps in + * {@link PauseTimer#processDevConsoleInput}; packed into fill alpha as {@code << 24}. + */ + static int consoleFadeAlpha = 0; + static Component183 aClass114_2255; + static volatile Object anObject2256; + + public static void method1298(int i) { + if (i != -1) aClass46_2249 = null; + anObject2256 = null; + aClass114_2255 = null; + aClass46_2249 = null; + aClass114_2248 = null; + aClass323_2252 = null; + } + + static final boolean method1299(int i, int i_0_, int i_1_) { + anInt2253++; + if (i != 393216) anInt2251 = -106; + return HashNodeSub16Sub1.hasFlag0x10(i_0_, i_1_, 102) | (i_0_ & 0x60000) != 0 || SceneNode.method2783(i_1_, (byte) -99, i_0_); + } + + static { + aClass114_2248 = new Component183(25, 6); + aClass114_2255 = new Component183(99, -1); + anObject2256 = null; + } +} diff --git a/client/components/Component4.java b/client/components/Component4.java new file mode 100644 index 000000000..5db76fa5f --- /dev/null +++ b/client/components/Component4.java @@ -0,0 +1,28 @@ +/* Component4 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component4 +/** + * RENAMED from `Class236` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + short[] aShortArray3088; + short aShort3089; + short[] aShortArray3090; + short[] aShortArray3091; + int[] anIntArray3092; + int[] anIntArray3093; + short[] aShortArray3094; + short[] aShortArray3095; + short[] aShortArray3096; + short[] aShortArray3097; + short[] aShortArray3098; + short aShort3099; + byte aByte3100; + short[] aShortArray3101; + + public Component4() { + /* empty */ + } +} diff --git a/client/components/Component40.java b/client/components/Component40.java new file mode 100644 index 000000000..01d590c0d --- /dev/null +++ b/client/components/Component40.java @@ -0,0 +1,39 @@ +/* Component40 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.io.FileOutputStream; + +abstract class Component40 +/** + * RENAMED from `Class299_Sub1` (JODE-obfuscated). + * Evidence: subclass of Component80 (hierarchy) + */ extends Component80 { + static int anInt6320; + static Component161 aClass138_6321 = new Component161(1, 2, 2, 0); + static int anInt6322; + /** Optional tee of console lines (opened by "output" command). */ + static FileOutputStream consoleLogStream; + + abstract GlFramebufferTexture method2256(byte i); + + static final int method2257(int i, int i_0_, byte i_1_) { + anInt6322++; + double d = Math.log(i) / Math.log(2.0); + double d_2_ = Math.log(i_0_) / Math.log(2.0); + int i_3_ = -43 % ((i_1_ - 11) / 59); + double d_4_ = (d - d_2_) * Math.random() + d_2_; + return (int) (0.5 + Math.pow(2.0, d_4_)); + } + + public static void method2258(byte i) { + aClass138_6321 = null; + if (i < -119) consoleLogStream = null; + } + + static final boolean method2259(int i, int i_5_, int i_6_) { + anInt6320++; + if (i != 0) aClass138_6321 = null; + return (0x34 & i_6_) != 0; + } +} diff --git a/client/components/Component41.java b/client/components/Component41.java new file mode 100644 index 000000000..40e3b4ff4 --- /dev/null +++ b/client/components/Component41.java @@ -0,0 +1,47 @@ +/* Component41 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +abstract class Component41 +/** + * RENAMED from `Class241` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3148; + static int anInt3149; + static StringCache aClass351_3150 = new StringCache(71, 2); + + abstract void method1856(byte i); + + static final long method1857(byte i) { + anInt3148++; + if (i != -45) return -58L; + return NodeSub8.aClass241_6660.method1862(-18931); + } + + abstract long method1858(int i); + + abstract int method1859(int i, long l); + + public static void method1860(byte i) { + aClass351_3150 = null; + int i_0_ = -52 / ((-22 - i) / 55); + } + + public Component41() { + /* empty */ + } + + final int method1861(int i, long l) { + try { + anInt3149++; + long l_1_ = method1858(-73); + if ((long) i < l_1_) SpriteAtlasShader.sleep((byte) 61, l_1_); + return method1859(71, l); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "tb.H(" + i + ',' + l + ')'); + } + } + + abstract long method1862(int i); +} diff --git a/client/components/Component43.java b/client/components/Component43.java new file mode 100644 index 000000000..b668077d4 --- /dev/null +++ b/client/components/Component43.java @@ -0,0 +1,54 @@ +/* Component43 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component43 +/** + * RENAMED from `Class216` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ implements Interface13 { + int anInt4974; + static CacheStore aClass45_4975; + static int anInt4976; + static int anInt4977; + int anInt4978; + static int anInt4979; + float[] aFloatArray4980; + + static final void method1583(byte i) { + anInt4977++; + if (r.anInt9721 != -1) { + int i_0_ = AbstractGlTextureSub4.mouseHandler.getCursorX(true); + int i_1_ = AbstractGlTextureSub4.mouseHandler.getCursorY((byte) 72); + NodeSub45 class348_sub45 = ((NodeSub45) Component327.aClass262_8744.first(4)); + if (class348_sub45 != null) { + i_0_ = class348_sub45.getX((byte) -128); + i_1_ = class348_sub45.getY(58); + } + // Purple console is drawn over ifaces — don't build tips / fire clicks under it. + if (BuildInfo.consoleContains(i_0_, i_1_)) { + return; + } + int i_2_ = 0; + if (i != -73) anInt4976 = 105; + int i_3_ = 0; + if (Component210.gameCanvasAttached) { + i_2_ = BufferCacheSub3.method4008((byte) -128); + i_3_ = Component110.method260(false); + } + Component280.method1373(r.anInt9721, i_2_, i_2_, Component236.anInt4017 + i_2_, i_1_, i_0_, -1391, i_0_ + i_2_, PacketReader.anInt10432 + i_3_, i_3_, i_3_ + i_1_, i_3_); + if (Component39.aClass46_2249 != null) NativeLibraryLoader.method1630(0, i_3_ + i_1_, i_2_ + i_0_); + } + } + + public static void method1584(byte i) { + if (i != -64) method1584((byte) -48); + aClass45_4975 = null; + } + + Component43(int i, int i_4_) { + this.anInt4978 = i_4_; + this.anInt4974 = i; + this.aFloatArray4980 = new float[i * i_4_]; + } +} diff --git a/client/components/Component44.java b/client/components/Component44.java new file mode 100644 index 000000000..7f169e437 --- /dev/null +++ b/client/components/Component44.java @@ -0,0 +1,731 @@ +/* Component44 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component44 +/** + * RENAMED from `Class51` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt866; + static int anInt867; + int anInt868 = -1; + int anInt869; + static int anInt870; + static int anInt871; + private byte[] aByteArray872; + private int anInt873; + int anInt874; + int anInt875; + boolean aBoolean876 = false; + int anInt877; + int anInt878; + private byte aByte879; + private int anInt880; + private LruCache aClass356_881; + private int anInt882; + int anInt883; + String aString884; + private byte[] aByteArray885; + private byte aByte886; + int anInt887; + boolean aBoolean888; + int anInt889; + private int anInt890; + static int anInt891; + private short[] aShortArray892; + private int anInt893; + boolean aBoolean894; + int anInt895; + boolean aBoolean896; + static ResourceLoader aClass311_897; + static int anInt898; + static int anInt899; + private int anInt900; + static int anInt901; + boolean aBoolean902; + boolean aBoolean903; + int[] anIntArray904; + static DisplayModeManagerContainer204 aClass101_905; + boolean aBoolean906; + private int[][] anIntArrayArray907; + private short[] aShortArray908; + int anInt909; + static int anInt910; + private int anInt911; + boolean aBoolean912; + String[] aStringArray913; + int anInt914; + private int anInt915; + int anInt916; + int[] anIntArray917; + boolean aBoolean918; + private short[] aShortArray919; + int anInt920; + int anInt921; + private byte aByte922; + int anInt923; + boolean aBoolean924; + boolean aBoolean925; + int anInt926; + static int anInt927; + private int anInt928; + boolean aBoolean929; + int anInt930; + boolean aBoolean931; + /** Ignore-list primary names (parallel arrays, length {@link MenuEntry#ignoreCount}). */ + static String[] ignoreNames = new String[100]; + Component309 aClass263_933; + private int anInt934; + private int anInt935; + int anInt936; + int anInt937; + static int anInt938; + private int anInt939; + private short[] aShortArray940; + int anInt941; + boolean aBoolean942; + int[] anIntArray943; + private byte aByte944; + int[] anIntArray945; + private int anInt946; + boolean aBoolean947; + static int anInt948; + private int anInt949; + int anInt950; + int anInt951; + private byte aByte952; + int anInt953; + private int anInt954; + int anInt955; + static int anInt956; + static int anInt957; + static int anInt958; + private int[] anIntArray959; + static int anInt960; + int anInt961; + int anInt962; + + final boolean method474(byte i) { + anInt891++; + if (this.anIntArray945 == null) { + return this.anInt887 != -1 || this.anIntArray904 != null; + } + for (int i_0_ = 0; i_0_ < this.anIntArray945.length; i_0_++) { + if (this.anIntArray945[i_0_] != -1) { + Component44 class51_1_ = this.aClass263_933.method2005(0, this.anIntArray945[i_0_]); + if (class51_1_.anInt887 != -1 || class51_1_.anIntArray904 != null) return true; + } + } + int i_2_ = -28 % ((i - 3) / 46); + return false; + } + + final String method475(String string, int i, int i_3_) { + anInt866++; + if (aClass356_881 == null) return string; + if (i_3_ != -16) return null; + NodeSub50 class348_sub50 = (NodeSub50) aClass356_881.get(i, -6008); + if (class348_sub50 == null) return string; + return class348_sub50.stringValue; + } + + final Component245 method476(GraphicsToolkit var_ha, s var_s, int i, int i_4_, int i_5_, boolean bool, s var_s_6_, int i_7_, int i_8_, int i_9_, int i_10_) { + try { + if (Component65.method955(22311, i)) i = 4; + anInt938++; + long l = i_9_ + (i << 3) + (this.anInt941 << 10); + l |= var_ha.anInt4567 << 29; + int i_11_ = i_4_; + if (aByte886 == 3) i_11_ |= 0x7; + else { + if (aByte886 != 0 || anInt954 != 0) i_11_ |= 0x2; + if (anInt893 != 0) i_11_ |= 0x1; + if (anInt890 != 0) i_11_ |= 0x4; + } + if (bool) i_11_ |= 0x40000; + Component245 class2; + synchronized (this.aClass263_933.aClass60_3361) { + class2 = (Component245) this.aClass263_933.aClass60_3361.get(l, i_10_ + -25); + } + DisplayModeManagerContainer370 class64 = class2 == null ? null : class2.aClass64_119; + r var_r = null; + if (class64 == null || var_ha.method3667(class64.ua(), i_11_) != 0) { + if (class64 != null) i_11_ = var_ha.bitwiseOr(i_11_, class64.ua()); + int i_12_ = i_11_; + if (i == 10 && i_9_ > 3) i_12_ |= 0x5; + class64 = method477(i_9_, var_ha, i, i_10_ ^ ~0xec, i_12_); + if (class64 == null) return null; + if (i == 10 && i_9_ > 3) class64.a(2048); + if (bool) var_r = class64.BufferedToolkit(null); + class64.s(i_11_); + class2 = new Component245(); + class2.aClass64_119 = class64; + class2.aR118 = var_r; + synchronized (this.aClass263_933.aClass60_3361) { + this.aClass263_933.aClass60_3361.putOne(class2, l, (byte) -120); + } + } else { + class64 = class2.aClass64_119; + var_r = class2.aR118; + if (bool && var_r == null) var_r = class2.aR118 = class64.BufferedToolkit(null); + } + if (i_10_ != 128) method477(-4, null, 72, 42, -33); + boolean bool_13_ = (aByte886 != 0 && (var_s_6_ != null || var_s != null)); + boolean bool_14_ = (anInt893 != 0 || anInt954 != 0 || anInt890 != 0); + if (bool_13_ || bool_14_) { + class64 = class64.method614((byte) 0, i_11_, true); + if (bool_13_) class64.p(aByte886, anInt915, var_s_6_, var_s, i_5_, i_7_, i_8_); + if (bool_14_) class64.H(anInt893, anInt954, anInt890); + class64.s(i_4_); + } else class64 = class64.method614((byte) 0, i_4_, true); + HashNode.aClass2_7058.aClass64_119 = class64; + HashNode.aClass2_7058.aR118 = var_r; + return HashNode.aClass2_7058; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("iv.B(" + (var_ha != null ? "{...}" : "null") + ',' + (var_s != null ? "{...}" : "null") + ',' + i + ',' + i_4_ + ',' + i_5_ + ',' + bool + ',' + (var_s_6_ != null ? "{...}" : "null") + ',' + i_7_ + ',' + i_8_ + ',' + i_9_ + ',' + i_10_ + ')')); + } + } + + private final DisplayModeManagerContainer370 method477(int i, GraphicsToolkit var_ha, int i_15_, int i_16_, int i_17_) { + anInt958++; + int i_18_ = anInt949 - -64; + int i_19_ = 850 + anInt880; + int i_20_ = i_17_; + boolean bool = (this.aBoolean902 || i_15_ == 2 && i > 3); + if (bool) i_17_ |= 0x10; + if (i == 0) { + if (anInt928 != 128 || anInt900 != 0) i_17_ |= 0x1; + if (anInt882 != 128 || anInt946 != 0) i_17_ |= 0x4; + } else i_17_ |= 0xd; + if (anInt935 != 128 || anInt873 != 0) i_17_ |= 0x2; + if (i_16_ > -97) aByte944 = (byte) -69; + if (aShortArray940 != null) i_17_ |= 0x4000; + if (aShortArray919 != null) i_17_ |= 0x8000; + if (aByte922 != 0) i_17_ |= 0x80000; + DisplayModeManagerContainer370 class64 = null; + if (aByteArray885 == null) return null; + int i_21_ = -1; + for (int i_22_ = 0; aByteArray885.length > i_22_; i_22_++) { + if (aByteArray885[i_22_] == i_15_) { + i_21_ = i_22_; + break; + } + } + if (i_21_ == -1) return null; + int i_23_ = anIntArrayArray907[i_21_].length; + if (i_23_ > 0) { + long l = var_ha.anInt4567; + for (int i_24_ = 0; i_23_ > i_24_; i_24_++) + l = l * 67783L + (long) anIntArrayArray907[i_21_][i_24_]; + synchronized (this.aClass263_933.aClass60_3360) { + class64 = (DisplayModeManagerContainer370) this.aClass263_933.aClass60_3360.get(l, 78); + } + if (class64 != null) { + if (i_18_ != class64.WA()) i_17_ |= 0x1000; + if (i_19_ != class64.da()) i_17_ |= 0x2000; + } + if (class64 == null || var_ha.method3667(class64.ua(), i_17_) != 0) { + int i_25_ = i_17_ | 0x1f01f; + if (class64 != null) i_25_ = var_ha.bitwiseOr(i_25_, class64.ua()); + DisplayModeManagerContainer77 class124 = null; + synchronized (DisplayModeManagerContainer196.aClass124Array4236) { + for (int i_26_ = 0; i_26_ < i_23_; i_26_++) { + synchronized (this.aClass263_933.aClass45_3345) { + class124 = Component189.loadFromCache(0, (this.aClass263_933.aClass45_3345), (0xffff & (anIntArrayArray907[i_21_][i_26_])), -1); + } + if (class124 == null) return null; + if (class124.anInt1830 < 13) class124.method1092(2, 96); + if (i_23_ > 1) DisplayModeManagerContainer196.aClass124Array4236[i_26_] = class124; + } + if (i_23_ > 1) class124 = new DisplayModeManagerContainer77(DisplayModeManagerContainer196.aClass124Array4236, i_23_); + } + class64 = var_ha.method3625(class124, i_25_, (this.aClass263_933.anInt3363), i_18_, i_19_); + synchronized (this.aClass263_933.aClass60_3360) { + this.aClass263_933.aClass60_3360.putOne(class64, l, (byte) -95); + } + } + } + DisplayModeManagerContainer370 class64_27_ = class64.method614((byte) 0, i_17_, true); + if (i_18_ != class64.WA()) class64_27_.C(i_18_); + if (class64.da() != i_19_) class64_27_.LA(i_19_); + if (bool) class64_27_.v(); + if (i_15_ == 4 && i > 3) { + class64_27_.k(2048); + class64_27_.H(180, 0, -180); + } + i &= 0x3; + if (i == 1) class64_27_.k(4096); + else if (i != 2) { + if (i == 3) class64_27_.k(12288); + } else class64_27_.k(8192); + if (aShortArray940 != null) { + for (int i_28_ = 0; aShortArray940.length > i_28_; i_28_++) { + if (aByteArray872 != null && aByteArray872.length > i_28_) class64_27_.ia(aShortArray940[i_28_], (Request.aShortArray6889[0xff & aByteArray872[i_28_]])); + else class64_27_.ia(aShortArray940[i_28_], aShortArray908[i_28_]); + } + } + if (aShortArray919 != null) { + for (int i_29_ = 0; i_29_ < aShortArray919.length; i_29_++) + class64_27_.Shader(aShortArray919[i_29_], aShortArray892[i_29_]); + } + if (aByte922 != 0) class64_27_.method624(aByte944, aByte952, aByte879, 0xff & aByte922); + if (anInt928 != 128 || anInt935 != 128 || anInt882 != 128) class64_27_.O(anInt928, anInt935, anInt882); + if (anInt900 != 0 || anInt873 != 0 || anInt946 != 0) class64_27_.H(anInt900, anInt873, anInt946); + class64_27_.s(i_20_); + return class64_27_; + } + + final boolean method478(int i, int i_30_) { + if (i_30_ != -31076) return false; + anInt901++; + if (anIntArrayArray907 == null) return true; + synchronized (this.aClass263_933.aClass45_3345) { + for (int i_31_ = 0; aByteArray885.length > i_31_; i_31_++) { + if (aByteArray885[i_31_] == i) { + for (int i_32_ = 0; (anIntArrayArray907[i_31_].length > i_32_); i_32_++) { + if (!this.aClass263_933.aClass45_3345.isFileReady(i_30_ ^ 0x5061, anIntArrayArray907[i_31_][i_32_], 0)) return false; + } + return true; + } + } + } + return true; + } + + final void method479(byte i, Buffer class348_sub49) { + anInt867++; + for (; ; ) { + int i_33_ = class348_sub49.readUnsignedByte(255); + if (i_33_ == 0) break; + method482(class348_sub49, i_33_, (byte) -101); + } + if (i != 0) method486(-77); + } + + final Component44 method480(Interface17 interface17, byte i) { + anInt870++; + int i_34_ = -1; + if (anInt934 == -1) { + if (anInt939 != -1) i_34_ = interface17.method61(anInt939, (byte) -16); + } else i_34_ = interface17.method62(anInt934, i + -65583); + if (i != 47) method478(101, 42); + if (i_34_ < 0 || -1 + this.anIntArray945.length <= i_34_ || this.anIntArray945[i_34_] == -1) { + int i_35_ = (this.anIntArray945[-1 + this.anIntArray945.length]); + if (i_35_ == -1) return null; + return this.aClass263_933.method2005(0, i_35_); + } + return this.aClass263_933.method2005(i + -47, this.anIntArray945[i_34_]); + } + + final boolean method481(byte i, int i_36_) { + anInt957++; + if (i_36_ == -1) return false; + if (i_36_ == this.anInt868) return true; + if (this.anIntArray943 != null) { + for (int i_37_ = 0; i_37_ < this.anIntArray943.length; i_37_++) { + if (this.anIntArray943[i_37_] == i_36_) return true; + } + } + if (i < 67) method481((byte) 127, 25); + return false; + } + + private final void method482(Buffer class348_sub49, int i, byte i_38_) { + anInt960++; + if (i == 1 || i == 5) { + if (i == 5 && this.aClass263_933.aBoolean3355) method484(class348_sub49, -528); + int i_59_ = class348_sub49.readUnsignedByte(255); + anIntArrayArray907 = new int[i_59_][]; + aByteArray885 = new byte[i_59_]; + for (int i_60_ = 0; i_60_ < i_59_; i_60_++) { + aByteArray885[i_60_] = class348_sub49.readByte(-110); + int i_61_ = class348_sub49.readUnsignedByte(255); + anIntArrayArray907[i_60_] = new int[i_61_]; + for (int i_62_ = 0; i_62_ < i_61_; i_62_++) + anIntArrayArray907[i_60_][i_62_] = class348_sub49.readUnsignedShort(842397944); + } + if (i == 5 && !this.aClass263_933.aBoolean3355) method484(class348_sub49, -528); + } else if (i == 2) this.aString884 = class348_sub49.readString((byte) 121); + else if (i == 14) this.anInt961 = class348_sub49.readUnsignedByte(255); + else if (i != 15) { + if (i == 17) { + this.aBoolean896 = false; + this.anInt920 = 0; + } else if (i == 18) this.aBoolean896 = false; + else if (i != 19) { + if (i == 21) aByte886 = (byte) 1; + else if (i != 22) { + if (i == 23) this.anInt955 = 1; + else if (i == 24) { + this.anInt868 = class348_sub49.readUnsignedShort(842397944); + if (this.anInt868 == 65535) this.anInt868 = -1; + } else if (i == 27) this.anInt920 = 1; + else if (i != 28) { + if (i != 29) { + if (i == 39) anInt880 = class348_sub49.readByte(-86) * 5; + else if (i >= 30 && i < 35) this.aStringArray913[-30 + i] = class348_sub49.readString((byte) 88); + else if (i == 40) { + int i_57_ = class348_sub49.readUnsignedByte(255); + aShortArray940 = new short[i_57_]; + aShortArray908 = new short[i_57_]; + for (int i_58_ = 0; (i_58_ < i_57_); i_58_++) { + aShortArray940[i_58_] = (short) (class348_sub49.readUnsignedShort(842397944)); + aShortArray908[i_58_] = (short) (class348_sub49.readUnsignedShort(842397944)); + } + } else if (i == 41) { + int i_55_ = class348_sub49.readUnsignedByte(255); + aShortArray892 = new short[i_55_]; + aShortArray919 = new short[i_55_]; + for (int i_56_ = 0; i_56_ < i_55_; i_56_++) { + aShortArray919[i_56_] = (short) (class348_sub49.readUnsignedShort(842397944)); + aShortArray892[i_56_] = (short) (class348_sub49.readUnsignedShort(842397944)); + } + } else if (i == 42) { + int i_53_ = class348_sub49.readUnsignedByte(255); + aByteArray872 = new byte[i_53_]; + for (int i_54_ = 0; i_53_ > i_54_; i_54_++) + aByteArray872[i_54_] = class348_sub49.readByte(-92); + } else if (i == 62) this.aBoolean902 = true; + else if (i != 64) { + if (i == 65) anInt928 = (class348_sub49.readUnsignedShort(842397944)); + else if (i != 66) { + if (i != 67) { + if (i == 69) this.anInt914 = (class348_sub49.readUnsignedByte(255)); + else if (i != 70) { + if (i == 71) anInt873 = ((class348_sub49.readShort(13638)) << 2); + else if (i != 72) { + if (i == 73) this.aBoolean947 = true; + else if (i == 74) this.aBoolean876 = true; + else if (i != 75) { + if (i != 77 && (i != 92)) { + if (i == 78) { + this.anInt887 = class348_sub49.readUnsignedShort(842397944); + this.anInt889 = class348_sub49.readUnsignedByte(255); + } else if (i == 79) { + this.anInt962 = class348_sub49.readUnsignedShort(842397944); + this.anInt937 = class348_sub49.readUnsignedShort(842397944); + this.anInt889 = class348_sub49.readUnsignedByte(255); + int i_48_ = class348_sub49.readUnsignedByte(255); + this.anIntArray904 = new int[i_48_]; + for (int i_49_ = 0; i_48_ > i_49_; i_49_++) + this.anIntArray904[i_49_] = class348_sub49.readUnsignedShort(842397944); + } else if (i == 81) { + aByte886 = (byte) 2; + anInt915 = class348_sub49.readUnsignedByte(255) * 256; + } else if (i != 82) { + if (i == 88) this.aBoolean894 = false; + else if (i != 89) { + if (i == 91) this.aBoolean942 = true; + else if (i == 93) { + aByte886 = (byte) 3; + anInt915 = class348_sub49.readUnsignedShort(842397944); + } else if (i == 94) aByte886 = (byte) 4; + else if (i == 95) { + aByte886 = (byte) 5; + anInt915 = class348_sub49.readShort(13638); + } else if (i != 97) { + if (i != 98) { + if (i == 99) { + this.anInt950 = class348_sub49.readUnsignedByte(255); + this.anInt869 = class348_sub49.readUnsignedShort(842397944); + } else if (i == 100) { + this.anInt951 = class348_sub49.readUnsignedByte(255); + this.anInt877 = class348_sub49.readUnsignedShort(842397944); + } else if (i != 101) { + if (i == 102) this.anInt875 = class348_sub49.readUnsignedShort(842397944); + else if (i != 103) { + if (i == 104) this.anInt936 = class348_sub49.readUnsignedByte(255); + else if (i != 105) { + if (i == 106) { + int i_39_ = class348_sub49.readUnsignedByte(255); + this.anIntArray943 = new int[i_39_]; + anIntArray959 = new int[i_39_]; + for (int i_40_ = 0; i_40_ < i_39_; i_40_++) { + this.anIntArray943[i_40_] = class348_sub49.readUnsignedShort(842397944); + int i_41_ = class348_sub49.readUnsignedByte(255); + anIntArray959[i_40_] = i_41_; + anInt911 += i_41_; + } + } else if (i != 107) { + if (i >= 150 && i < 155) { + this.aStringArray913[i + -150] = class348_sub49.readString((byte) -41); + if (!this.aClass263_933.aBoolean3359) this.aStringArray913[-150 + i] = null; + } else if (i == 160) { + int i_46_ = class348_sub49.readUnsignedByte(255); + this.anIntArray917 = new int[i_46_]; + for (int i_47_ = 0; i_46_ > i_47_; i_47_++) + this.anIntArray917[i_47_] = class348_sub49.readUnsignedShort(842397944); + } else if (i == 162) { + aByte886 = (byte) 3; + anInt915 = class348_sub49.readInt((byte) -126); + } else if (i == 163) { + aByte944 = class348_sub49.readByte(-118); + aByte952 = class348_sub49.readByte(-83); + aByte879 = class348_sub49.readByte(-87); + aByte922 = class348_sub49.readByte(-111); + } else if (i != 164) { + if (i != 165) { + if (i != 166) { + if (i == 167) this.anInt930 = class348_sub49.readUnsignedShort(842397944); + else if (i != 168) { + if (i != 169) { + if (i != 170) { + if (i == 171) this.anInt953 = class348_sub49.readSmart(-121); + else if (i == 173) { + this.anInt878 = class348_sub49.readUnsignedShort(842397944); + this.anInt916 = class348_sub49.readUnsignedShort(842397944); + } else if (i == 249) { + int i_42_ = class348_sub49.readUnsignedByte(255); + if (aClass356_881 == null) { + int i_43_ = Component373.nextPowerOfTwo(i_42_, (byte) 108); + aClass356_881 = new LruCache(i_43_); + } + for (int i_44_ = 0; i_44_ < i_42_; i_44_++) { + boolean bool = class348_sub49.readUnsignedByte(255) == 1; + int i_45_ = class348_sub49.readMedium(-1); + Node class348; + if (!bool) class348 = new NodeSub35(class348_sub49.readInt((byte) -126)); + else class348 = new NodeSub50(class348_sub49.readString((byte) -87)); + aClass356_881.put((byte) 86, i_45_, class348); + } + } + } else this.anInt909 = class348_sub49.readSmart(-121); + } else this.aBoolean903 = true; + } else this.aBoolean888 = true; + } else anInt890 = class348_sub49.readShort(13638); + } else anInt954 = class348_sub49.readShort(13638); + } else anInt893 = class348_sub49.readShort(13638); + } else this.anInt921 = class348_sub49.readUnsignedShort(842397944); + } else this.aBoolean925 = true; + } else this.anInt955 = 0; + } else this.anInt923 = class348_sub49.readUnsignedByte(255); + } else this.aBoolean929 = true; + } else this.aBoolean912 = true; + } else this.aBoolean924 = false; + } else this.aBoolean931 = true; + } else { + anInt934 = class348_sub49.readUnsignedShort(842397944); + if (anInt934 == 65535) anInt934 = -1; + anInt939 = class348_sub49.readUnsignedShort(842397944); + if (anInt939 == 65535) anInt939 = -1; + int i_50_ = -1; + if (i == 92) { + i_50_ = class348_sub49.readUnsignedShort(842397944); + if (i_50_ == 65535) i_50_ = -1; + } + int i_51_ = class348_sub49.readUnsignedByte(255); + this.anIntArray945 = new int[2 + i_51_]; + for (int i_52_ = 0; i_51_ >= i_52_; i_52_++) { + this.anIntArray945[i_52_] = class348_sub49.readUnsignedShort(842397944); + if (this.anIntArray945[i_52_] == 65535) this.anIntArray945[i_52_] = -1; + } + this.anIntArray945[i_51_ + 1] = i_50_; + } + } else this.anInt895 = (class348_sub49.readUnsignedByte(255)); + } else anInt946 = ((class348_sub49.readShort(13638)) << 2); + } else anInt900 = ((class348_sub49.readShort(13638)) << 2); + } else anInt882 = (class348_sub49.readUnsignedShort(842397944)); + } else anInt935 = (class348_sub49.readUnsignedShort(842397944)); + } else this.aBoolean918 = false; + } else anInt949 = class348_sub49.readByte(-77); + } else this.anInt883 = (class348_sub49.readUnsignedByte(255) << 2); + } else this.aBoolean906 = true; + } else this.anInt874 = class348_sub49.readUnsignedByte(255); + } else this.anInt926 = class348_sub49.readUnsignedByte(255); + if (i_38_ >= -93) aByteArray885 = null; + } + + final DisplayModeManagerContainer370 method483(int i, int i_63_, int i_64_, int i_65_, GraphicsToolkit var_ha, int i_66_, int i_67_, byte i_68_, s var_s, int i_69_, int i_70_, int i_71_, DisplayModeManagerContainer167 class17, s var_s_72_) { + try { + if (Component65.method955(22311, i_64_)) i_64_ = 4; + anInt910++; + long l = (this.anInt941 << 10) + ((i_64_ << 3) - -i_66_); + int i_73_ = i_67_; + l |= var_ha.anInt4567 << 29; + if (class17 != null) i_67_ |= class17.method263(i, 123, i_70_, false); + if (aByte886 != 3) { + if (aByte886 != 0 || anInt954 != 0) i_67_ |= 0x2; + if (anInt893 != 0) i_67_ |= 0x1; + if (anInt890 != 0) i_67_ |= 0x4; + } else i_67_ |= 0x7; + if (i_64_ == 10 && i_66_ > 3) i_67_ |= 0x5; + DisplayModeManagerContainer370 class64; + synchronized (this.aClass263_933.aClass60_3362) { + class64 = (DisplayModeManagerContainer370) this.aClass263_933.aClass60_3362.get(l, 100); + } + if (class64 == null || var_ha.method3667(class64.ua(), i_67_) != 0) { + if (class64 != null) i_67_ = var_ha.bitwiseOr(i_67_, class64.ua()); + class64 = method477(i_66_, var_ha, i_64_, -125, i_67_); + if (class64 == null) return null; + synchronized (this.aClass263_933.aClass60_3362) { + this.aClass263_933.aClass60_3362.putOne(class64, l, (byte) -127); + } + } + boolean bool = false; + if (i_68_ <= 38) return null; + if (class17 != null) { + class64 = class17.method266(class64, 0x3 & i_66_, i, (byte) 1, i_70_, i_63_, 663780816, i_67_); + bool = true; + } + if (i_64_ == 10 && i_66_ > 3) { + if (!bool) { + class64 = class64.method614((byte) 3, i_67_, true); + bool = true; + } + class64.a(2048); + } + if (aByte886 != 0) { + if (!bool) { + bool = true; + class64 = class64.method614((byte) 3, i_67_, true); + } + class64.p(aByte886, anInt915, var_s_72_, var_s, i_71_, i_65_, i_69_); + } + if (anInt893 != 0 || anInt954 != 0 || anInt890 != 0) { + if (!bool) { + bool = true; + class64 = class64.method614((byte) 3, i_67_, true); + } + class64.H(anInt893, anInt954, anInt890); + } + if (bool) class64.s(i_73_); + return class64; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("iv.L(" + i + ',' + i_63_ + ',' + i_64_ + ',' + i_65_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_66_ + ',' + i_67_ + ',' + i_68_ + ',' + (var_s != null ? "{...}" : "null") + ',' + i_69_ + ',' + i_70_ + ',' + i_71_ + ',' + (class17 != null ? "{...}" : "null") + ',' + (var_s_72_ != null ? "{...}" : "null") + ')')); + } + } + + private final void method484(Buffer class348_sub49, int i) { + if (i != -528) method486(79); + anInt871++; + int i_74_ = class348_sub49.readUnsignedByte(255); + for (int i_75_ = 0; i_75_ < i_74_; i_75_++) { + class348_sub49.offset++; + int i_76_ = class348_sub49.readUnsignedByte(i ^ ~0x2f0); + class348_sub49.offset += i_76_ * 2; + } + } + + final boolean method485(int i) { + anInt899++; + if (i != 9773) method485(-109); + if (anIntArrayArray907 == null) return true; + boolean bool = true; + synchronized (this.aClass263_933.aClass45_3345) { + for (int i_77_ = 0; i_77_ < anIntArrayArray907.length; i_77_++) { + for (int i_78_ = 0; (anIntArrayArray907[i_77_].length > i_78_); i_78_++) + bool &= (this.aClass263_933.aClass45_3345.isFileReady(-10499, anIntArrayArray907[i_77_][i_78_], 0)); + } + } + return bool; + } + + public static void method486(int i) { + ignoreNames = null; + if (i > -19) method486(-34); + aClass101_905 = null; + aClass311_897 = null; + } + + final int method487(int i, int i_79_, int i_80_) { + int i_81_ = 81 % ((i_80_ - -53) / 44); + anInt898++; + if (aClass356_881 == null) return i_79_; + NodeSub35 class348_sub35 = (NodeSub35) aClass356_881.get(i, -6008); + if (class348_sub35 == null) return i_79_; + return class348_sub35.intValue; + } + + final void method488(int i) { + if (this.anInt874 == -1) { + this.anInt874 = 0; + if (aByteArray885 != null && aByteArray885.length == 1 && aByteArray885[0] == 10) this.anInt874 = 1; + for (int i_82_ = 0; i_82_ < 5; i_82_++) { + if (this.aStringArray913[i_82_] != null) { + this.anInt874 = 1; + break; + } + } + } + anInt956++; + int i_83_ = -118 / ((-55 - i) / 46); + if (this.anInt895 == -1) this.anInt895 = this.anInt920 != 0 ? 1 : 0; + } + + final int method489(int i) { + anInt927++; + if (this.anIntArray943 != null) { + int i_84_ = (int) (Math.random() * (double) anInt911); + int i_85_; + for (i_85_ = 0; i_84_ >= anIntArray959[i_85_]; i_85_++) + i_84_ -= anIntArray959[i_85_]; + return this.anIntArray943[i_85_]; + } + if (i != -1) method483(-2, 60, -13, 88, null, -68, 4, (byte) 52, null, -111, -120, 102, null, null); + return -1; + } + + public Component44() { + this.anInt869 = -1; + anInt890 = 0; + this.aBoolean896 = true; + this.anInt874 = -1; + anInt882 = 128; + this.aString884 = "null"; + anInt880 = 0; + aByte886 = (byte) 0; + this.aBoolean888 = false; + this.aBoolean906 = false; + this.aBoolean903 = false; + this.anInt877 = -1; + this.anInt914 = 0; + this.anInt875 = -1; + this.aStringArray913 = new String[5]; + this.aBoolean912 = false; + this.aBoolean894 = true; + this.aBoolean924 = true; + this.anInt923 = 0; + anInt873 = 0; + this.aBoolean931 = false; + anInt911 = 0; + this.anInt916 = 256; + this.anInt921 = -1; + anInt939 = -1; + this.anInt883 = 64; + this.anInt926 = 1; + anInt928 = 128; + this.anInt909 = 960; + anInt934 = -1; + this.anInt889 = 0; + this.anInt895 = -1; + aByte922 = (byte) 0; + this.aBoolean947 = false; + this.anInt878 = 256; + anInt893 = 0; + this.anInt936 = 255; + this.anIntArray943 = null; + this.aBoolean902 = false; + this.aBoolean918 = true; + anInt949 = 0; + this.aBoolean942 = false; + this.anInt953 = 0; + anInt954 = 0; + this.anInt937 = 0; + anInt900 = 0; + this.anInt930 = 0; + anInt915 = -1; + this.anInt951 = -1; + this.anInt955 = -1; + this.aBoolean925 = false; + anInt946 = 0; + this.anInt950 = -1; + anIntArray959 = null; + this.anInt920 = 2; + this.anInt961 = 1; + this.aBoolean929 = false; + anInt935 = 128; + this.anInt962 = 0; + this.anInt887 = -1; + } +} diff --git a/client/components/Component45.java b/client/components/Component45.java new file mode 100644 index 000000000..050553920 --- /dev/null +++ b/client/components/Component45.java @@ -0,0 +1,141 @@ +/* Component45 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaggl.OpenGL; + +final class Component45 +/** + * RENAMED from `Class353` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static float aFloat4338; + int anInt4339; + short aShort4340; + short aShort4341; + int anInt4342; + byte aByte4343; + int anInt4344; + static int anInt4345; + static NodeCache aClass60_4346 = new NodeCache(4); + int anInt4347; + short aShort4348; + int anInt4349; + boolean aBoolean4350; + static int anInt4351; + + static final void method3460(int i, int i_0_, int i_1_, int i_2_, int i_3_, int[] is, int i_4_, int i_5_) { + anInt4345++; + if (i_3_ > 0 && !Component353.method1436(-86, i_3_)) throw new IllegalArgumentException(""); + if (i_1_ > 0 && !Component353.method1436(88, i_1_)) throw new IllegalArgumentException(""); + if (i_4_ != 32993) throw new IllegalArgumentException(""); + int i_6_ = 0; + int i_7_ = Math.min(i_1_, i_3_); + if (i_5_ >= -54) method3462(106); + int i_8_ = i_3_ >> 1; + int i_9_ = i_1_ >> 1; + int[] is_10_ = is; + int[] is_11_ = new int[i_9_ * i_8_]; + for (; ; ) { + OpenGL.glTexImage2Di(i, i_6_, i_0_, i_3_, i_1_, 0, i_4_, i_2_, is_10_, 0); + if (i_7_ <= 1) break; + int i_12_ = 0; + int i_13_ = 0; + int i_14_ = i_3_ + i_13_; + int[] is_15_ = is_11_; + for (int i_16_ = 0; i_16_ < i_9_; i_16_++) { + for (int i_17_ = 0; i_17_ < i_8_; i_17_++) { + int i_18_ = is_10_[i_13_++]; + int i_19_ = is_10_[i_13_++]; + int i_20_ = is_10_[i_14_++]; + int i_21_ = i_18_ & 0xff; + int i_22_ = (0xff2fb7 & i_18_) >> 16; + int i_23_ = 0xff & i_18_ >> 24; + int i_24_ = (i_18_ & 0xff43) >> 8; + int i_25_ = is_10_[i_14_++]; + i_23_ += 0xff & i_19_ >> 24; + i_22_ += (i_19_ & 0xff6a76) >> 16; + i_21_ += 0xff & i_19_; + i_24_ += (i_19_ & 0xff5a) >> 8; + i_23_ += 0xff & i_20_ >> 24; + i_22_ += (i_20_ & 0xff2819) >> 16; + i_24_ += (i_20_ & 0xff76) >> 8; + i_21_ += i_20_ & 0xff; + i_21_ += 0xff & i_25_; + i_24_ += i_25_ >> 8 & 0xff; + i_23_ += 0xff & i_25_ >> 24; + i_22_ += (0xff943a & i_25_) >> 16; + is_11_[i_12_++] = (Component224.bitwiseOr((Component224.bitwiseOr(GpsOverlay.bitwiseAnd(i_24_ << 6, 65280), Component224.bitwiseOr((GpsOverlay.bitwiseAnd(1020, i_22_) << 14), (GpsOverlay.bitwiseAnd(i_23_, 1020) << 22)))), GpsOverlay.bitwiseAnd(i_21_, 1020) >> 2)); + } + i_13_ += i_3_; + i_14_ += i_3_; + } + is_11_ = is_10_; + i_1_ = i_9_; + i_3_ = i_8_; + is_10_ = is_15_; + i_6_++; + i_8_ >>= 1; + i_7_ >>= 1; + i_9_ >>= 1; + } + } + + static final void method3461(int i, Object[] objects, int i_26_, long[] ls, int i_27_) { + do { + try { + anInt4351++; + if (i_26_ > i) { + int i_28_ = (i + i_26_) / 2; + int i_29_ = i; + long l = ls[i_28_]; + ls[i_28_] = ls[i_26_]; + ls[i_26_] = l; + Object object = objects[i_28_]; + objects[i_28_] = objects[i_26_]; + objects[i_26_] = object; + int i_30_ = (l != 9223372036854775807L ? 1 : 0); + for (int i_31_ = i; i_26_ > i_31_; i_31_++) { + if ((long) (i_31_ & i_30_) + l > ls[i_31_]) { + long l_32_ = ls[i_31_]; + ls[i_31_] = ls[i_29_]; + ls[i_29_] = l_32_; + Object object_33_ = objects[i_31_]; + objects[i_31_] = objects[i_29_]; + objects[i_29_++] = object_33_; + } + } + ls[i_26_] = ls[i_29_]; + ls[i_29_] = l; + objects[i_26_] = objects[i_29_]; + objects[i_29_] = object; + method3461(i, objects, i_29_ + -1, ls, 9455); + method3461(i_29_ + 1, objects, i_26_, ls, 9455); + } + if (i_27_ == 9455) break; + aClass60_4346 = null; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("en.B(" + i + ',' + (objects != null ? "{...}" : "null") + ',' + i_26_ + ',' + (ls != null ? "{...}" : "null") + ',' + i_27_ + ')')); + } + break; + } while (false); + } + + public static void method3462(int i) { + aClass60_4346 = null; + if (i != -30094) method3461(-108, null, -26, null, 42); + } + + Component45(int i, int i_34_, int i_35_, int i_36_, int i_37_, int i_38_, int i_39_, int i_40_, int i_41_, boolean bool, boolean bool_42_, int i_43_) { + this.anInt4339 = i_36_; + this.anInt4349 = i_34_; + this.aShort4340 = (short) i_38_; + this.anInt4344 = i_35_; + this.anInt4347 = i_43_; + this.aByte4343 = (byte) i_41_; + this.anInt4342 = i; + this.aShort4341 = (short) i_37_; + this.aBoolean4350 = bool_42_; + this.aShort4348 = (short) i_39_; + } +} diff --git a/client/components/Component46.java b/client/components/Component46.java new file mode 100644 index 000000000..6a222bc42 --- /dev/null +++ b/client/components/Component46.java @@ -0,0 +1,84 @@ +/* Component46 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component46 +/** + * RENAMED from `Class217` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2840; + static int anInt2841; + private final CacheStore aClass45_2842; + static int anInt2843; + static NodeCache aClass60_2844 = new NodeCache(64); + int anInt2845; + static int anInt2846; + static int anInt2847; + private NodeCache aClass60_2848 = new NodeCache(64); + + public static void method1585(int i) { + if (i != -1) method1585(-34); + aClass60_2844 = null; + } + + static final void method1586(boolean bool, byte i, String string) { + if (i >= -51) aClass60_2844 = null; + anInt2840++; + Component110.method259(-1, 113, bool, string, -1); + } + + final void method1587(int i, int i_0_) { + if (i_0_ != 3758) aClass60_2848 = null; + synchronized (aClass60_2848) { + aClass60_2848.processSoftEntries(2, i); + } + anInt2841++; + } + + final Component146 method1588(int i, int i_1_) { + anInt2847++; + Component146 class159; + synchronized (aClass60_2848) { + class159 = (Component146) aClass60_2848.get(i_1_, -126); + } + if (class159 != null) return class159; + byte[] is; + synchronized (aClass45_2842) { + is = aClass45_2842.getFile(-1860, 16, i_1_); + if (i >= -17) aClass60_2848 = null; + } + class159 = new Component146(); + if (is != null) class159.method1253(new Buffer(is), true); + synchronized (aClass60_2848) { + aClass60_2848.putOne(class159, i_1_, (byte) -124); + } + return class159; + } + + final void method1589(byte i) { + anInt2843++; + synchronized (aClass60_2848) { + aClass60_2848.clear(0); + } + if (i < 126) method1588(-98, -35); + } + + final void method1590(int i) { + anInt2846++; + if (i != 0) this.anInt2845 = -97; + synchronized (aClass60_2848) { + aClass60_2848.method587(i ^ ~0x6b); + } + } + + Component46(GameType class230, int i, CacheStore class45) { + try { + aClass45_2842 = class45; + if (aClass45_2842 != null) this.anInt2845 = aClass45_2842.getFileCount(0, 16); + else this.anInt2845 = 0; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("rv.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/components/Component47.java b/client/components/Component47.java new file mode 100644 index 000000000..0b6b12bfa --- /dev/null +++ b/client/components/Component47.java @@ -0,0 +1,53 @@ +/* Component47 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaggl.OpenGL; + +abstract class Component47 +/** + * RENAMED from `Class50` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt861; + int anInt862; + static String aString863 = null; + int anInt864; + int anInt865; + + abstract void method455(int i, int i_0_, int i_1_); + + abstract void method456(int i, int i_2_, int i_3_); + + abstract void method457(int i, int i_4_, int i_5_); + + public static void method458(int i) { + if (i != -14487) method459(-97, null, null, true); + aString863 = null; + } + + static final Component382 method459(int i, GlToolkitSub2 var_ha_Sub2, String string, boolean bool) { + try { + anInt861++; + int i_6_ = OpenGL.glGenProgramARB(); + OpenGL.glBindProgramARB(i, i_6_); + if (bool != false) return null; + OpenGL.glProgramStringARB(i, 34933, string); + OpenGL.glGetIntegerv(34379, ImageProducerSprite.anIntArray9069, 0); + if (ImageProducerSprite.anIntArray9069[0] != -1) { + OpenGL.glBindProgramARB(i, 0); + return null; + } + OpenGL.glBindProgramARB(i, 0); + return new Component382(var_ha_Sub2, i, i_6_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("iu.I(" + i + ',' + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ',' + bool + ')')); + } + } + + Component47(int i, int i_7_, int i_8_) { + this.anInt862 = i_8_; + this.anInt864 = i; + this.anInt865 = i_7_; + } +} diff --git a/client/components/Component48.java b/client/components/Component48.java new file mode 100644 index 000000000..be6625d05 --- /dev/null +++ b/client/components/Component48.java @@ -0,0 +1,63 @@ +/* Component48 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component48 +/** + * RENAMED from `Class352` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt4330; + static Component183 aClass114_4331 = new Component183(31, -1); + BitmapFont aClass324_4332; + Component184 aClass143_4333 = null; + static int anInt4334; + static int anInt4335; + static int anInt4336; + static int anInt4337 = -2; + + public static void method3458(int i) { + if (i != 2672) method3459(null, -32, 14, -44, 95); + aClass114_4331 = null; + } + + static final void method3459(NodeSub34 class348_sub34, int i, int i_0_, int i_1_, int i_2_) { + anInt4330++; + long l = i_0_ << 14 | i << 28 | i_1_; + NodeSub37 class348_sub37 = (NodeSub37) Component387.aClass356_1895.get(l, -6008); + if (class348_sub37 == null) { + class348_sub37 = new NodeSub37(); + Component387.aClass356_1895.put((byte) 50, l, class348_sub37); + class348_sub37.aClass262_6998.addTail(class348_sub34, -20180); + } else { + ItemDefinition class213 = Exception_Sub1.itemDefinitions.getItemDefinition(i_2_ ^ ~0x72, (class348_sub34.anInt6973)); + int i_3_ = class213.anInt2819; + if (i_2_ == (~class213.anInt2820)) i_3_ *= 1 + class348_sub34.anInt6971; + for (NodeSub34 class348_sub34_4_ = (NodeSub34) class348_sub37.aClass262_6998.first(i_2_ + 6); class348_sub34_4_ != null; class348_sub34_4_ = (NodeSub34) class348_sub37.aClass262_6998.next((byte) 34)) { + class213 = (Exception_Sub1.itemDefinitions.getItemDefinition(104, class348_sub34_4_.anInt6973)); + int i_5_ = class213.anInt2819; + if (class213.anInt2820 == 1) i_5_ *= class348_sub34_4_.anInt6971 - -1; + if (i_3_ > i_5_) { + HashNodeSub16Sub2.method3265(i_2_ ^ 0x6c, class348_sub34, class348_sub34_4_); + return; + } + } + class348_sub37.aClass262_6998.addTail(class348_sub34, i_2_ ^ 0x4ed2); + } + } + + Component48(BitmapFont class324) { + this.aClass324_4332 = null; + this.aClass324_4332 = class324; + } + + Component48(BitmapFont class324, Component184 class143) { + this.aClass324_4332 = null; + try { + this.aClass143_4333 = class143; + this.aClass324_4332 = class324; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("el.(" + (class324 != null ? "{...}" : "null") + ',' + (class143 != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/components/Component49.java b/client/components/Component49.java new file mode 100644 index 000000000..754e837f0 --- /dev/null +++ b/client/components/Component49.java @@ -0,0 +1,108 @@ +/* Component49 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component49 +/** + * RENAMED from `Class240` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ implements Interface1 { + static FontGlyphCache aClass323_4672; + static float aFloat4673; + /** + * Client FSM state (title / lobby / world / …). Examples used in-tree: + * 3 title, 5–6 connecting, 7 lobby/chat-ish, 10–11 world, 12–14 logout/error. + * Prefer {@link Component72#localPlayer}{@code != null} for “in world” checks. + */ + static int clientState = 0; + static int anInt4675; + static int anInt4676; + static int anInt4677; + static int anInt4678; + static Component24[] aClass105Array4679; + static int anInt4680; + static int anInt4681; + private final NewsFetcher aClass339_4682; + static long aLong4683; + static BitmapFont aClass324_4684; + private final Component15 aClass125_4685; + static int anInt4686; + + public final boolean method8(byte i) { + anInt4678++; + int i_0_ = -50 / ((25 - i) / 52); + return aClass339_4682.method2668(-21913); + } + + static final void method1852(int i, int i_1_, int i_2_, int i_3_) { + Component186 class357 = Component335.aClass357ArrayArrayArray2029[i][i_1_][i_2_]; + if (class357 != null) { + Component203 class318_sub1_sub5 = class357.aClass318_Sub1_Sub5_4395; + Component203 class318_sub1_sub5_4_ = class357.aClass318_Sub1_Sub5_4407; + if (class318_sub1_sub5 != null) { + class318_sub1_sub5.aShort8781 = (short) ((class318_sub1_sub5.aShort8781) * i_3_ / (16 << Component149.anInt4459 - 7)); + class318_sub1_sub5.aShort8769 = (short) ((class318_sub1_sub5.aShort8769) * i_3_ / (16 << Component149.anInt4459 - 7)); + } + if (class318_sub1_sub5_4_ != null) { + class318_sub1_sub5_4_.aShort8781 = (short) ((class318_sub1_sub5_4_.aShort8781) * i_3_ / (16 << Component149.anInt4459 - 7)); + class318_sub1_sub5_4_.aShort8769 = (short) ((class318_sub1_sub5_4_.aShort8769) * i_3_ / (16 << Component149.anInt4459 - 7)); + } + } + } + + public static void method1853(byte i) { + aClass105Array4679 = null; + if (i != 48) clientState = -62; + aClass323_4672 = null; + aClass324_4684 = null; + } + + static final int method1854(int i, int i_5_, boolean bool, int i_6_) { + if (i < 45) method1852(83, 33, 101, -55); + anInt4681++; + NodeSub13 class348_sub13 = AbstractGlTextureSub4.getContainerNode((byte) 37, i_5_, bool); + if (class348_sub13 == null) return 0; + if (i_6_ < 0 || i_6_ >= class348_sub13.amounts.length) return 0; + return class348_sub13.amounts[i_6_]; + } + + public final void method7(int i) { + if (i == 10286) anInt4675++; + } + + public final void method9(byte i, boolean bool) { + anInt4676++; + DisplayModeManagerContainer61 class295 = aClass339_4682.method2667(false, aClass125_4685.anInt4918); + if (class295 != null) { + int i_7_ = ((aClass125_4685.aClass221_4922.method1607(DisplayModeManagerContainer23.anInt1524, aClass125_4685.anInt4929, (byte) -118)) - -aClass125_4685.anInt4924); + int i_8_ = ((aClass125_4685.aClass341_4925.getAlignedOffset(GlToolkitSub2.anInt7666, aClass125_4685.anInt4923, i ^ ~0x60b)) - -aClass125_4685.anInt4920); + if (aClass125_4685.aBoolean4914) NodeSub8.toolkit.method3628(i_7_, i_8_, aClass125_4685.anInt4929, aClass125_4685.anInt4923, aClass125_4685.anInt4917, 0); + i_8_ += method1855(5, class295.aString3756, true, NodeList.aClass324_3326, i_7_, i_8_) * 12; + i_8_ += 8; + if (aClass125_4685.aBoolean4914) NodeSub8.toolkit.method3709(i_7_, i_8_, i_7_ + aClass125_4685.anInt4929 + -1, i_8_, aClass125_4685.anInt4917, 0); + i_8_ = ++i_8_ + method1855(5, class295.aString3754, true, NodeList.aClass324_3326, i_7_, i_8_) * 12; + i_8_ += 5; + i_8_ += method1855(5, class295.aString3758, true, NodeList.aClass324_3326, i_7_, i_8_) * 12; + } + if (i != -49) method8((byte) 12); + } + + private final int method1855(int i, String string, boolean bool, BitmapFont class324, int i_9_, int i_10_) { + try { + if (bool != true) return -62; + anInt4677++; + return (class324.method2584(null, 0, aClass125_4685.anInt4928, null, aClass125_4685.anInt4913, 0, -(i * 2) + aClass125_4685.anInt4923, null, i + i_10_, 0, 0, -(i * 2) + aClass125_4685.anInt4929, i_9_ + i, false, 0, string)); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ta.A(" + i + ',' + (string != null ? "{...}" : "null") + ',' + bool + ',' + (class324 != null ? "{...}" : "null") + ',' + i_9_ + ',' + i_10_ + ')')); + } + } + + Component49(NewsFetcher class339, Component15 class125) { + try { + aClass125_4685 = class125; + aClass339_4682 = class339; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ta.(" + (class339 != null ? "{...}" : "null") + ',' + (class125 != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/components/Component52.java b/client/components/Component52.java new file mode 100644 index 000000000..6d7483c40 --- /dev/null +++ b/client/components/Component52.java @@ -0,0 +1,35 @@ +/* Component52 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component52 +/** + * RENAMED from `Class256` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3294; + static int[] anIntArray3295 = new int[25]; + + static final RadixParser method1943(boolean bool, int i) { + anInt3294++; + RadixParser class174 = ((RadixParser) DisplayModeManagerContainer343.aClass60_8732.get(i, -78)); + if (class174 != null) return class174; + byte[] is = Component54.aClass45_8670.getFile(-1860, 1, i); + class174 = new RadixParser(); + if (bool != false) method1944(64); + class174.anInt2303 = i; + if (is != null) class174.method1336(83, new Buffer(is)); + class174.method1337(-1); + if (class174.anInt2296 == 2 && (Component317.aClass356_8679.get(i, -6008) == null)) { + Component317.aClass356_8679.put((byte) 87, i, new NodeSub35(DebugPanicSub1.anInt8492)); + Component248.aClass174Array311[DebugPanicSub1.anInt8492++] = class174; + } + DisplayModeManagerContainer343.aClass60_8732.putOne(class174, i, (byte) -109); + return class174; + } + + public static void method1944(int i) { + anIntArray3295 = null; + if (i != 1) method1944(-45); + } +} diff --git a/client/components/Component53.java b/client/components/Component53.java new file mode 100644 index 000000000..2a7c568c2 --- /dev/null +++ b/client/components/Component53.java @@ -0,0 +1,29 @@ +/* Component53 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component53 +/** + * RENAMED from `Class11` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt193 = 0; + static int anInt194; + static int anInt195; + /** Active {@link BuildType} for this session. */ + static BuildType currentBuildType; + static int anInt197 = 0; + + public static void method221(int i) { + if (i != 0) anInt197 = -100; + currentBuildType = null; + } + + static final void method222(Player player, int i, byte i_0_, int i_1_) { + anInt195++; + if (i_0_ != 4) anInt194 = -100; + int[] is = new int[4]; + Component313.method1579(is, 0, is.length, i); + Component25.method1791(23946, is, i_1_, player); + } +} diff --git a/client/components/Component54.java b/client/components/Component54.java new file mode 100644 index 000000000..e672f8364 --- /dev/null +++ b/client/components/Component54.java @@ -0,0 +1,150 @@ +/* Component54 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component54 +/** + * RENAMED from `Class59_Sub2_Sub1` (JODE-obfuscated). + * Evidence: subclass of Component185 (hierarchy) + */ extends Component185 { + static CacheStore aClass45_8667; + static int anInt8668; + static int anInt8669; + static CacheStore aClass45_8670; + static int anInt8671; + static int anInt8672; + static int anInt8673; + private byte[] aByteArray8674; + + static final Component142 method565(int i, int i_0_, DisplayModeManagerContainer77 class124, int[] is) { + try { + anInt8673++; + int[] is_1_ = null; + if (i != 255) aClass45_8670 = null; + int[] is_2_ = null; + int[] is_3_ = null; + float[][] fs = null; + if (class124.aByteArray1820 != null) { + int i_4_ = class124.anInt1818; + int[] is_5_ = new int[i_4_]; + int[] is_6_ = new int[i_4_]; + int[] is_7_ = new int[i_4_]; + int[] is_8_ = new int[i_4_]; + int[] is_9_ = new int[i_4_]; + int[] is_10_ = new int[i_4_]; + for (int i_11_ = 0; i_11_ < i_4_; i_11_++) { + is_5_[i_11_] = 2147483647; + is_6_[i_11_] = -2147483647; + is_7_[i_11_] = 2147483647; + is_8_[i_11_] = -2147483647; + is_9_[i_11_] = 2147483647; + is_10_[i_11_] = -2147483647; + } + fs = new float[i_4_][]; + is_3_ = new int[i_4_]; + is_2_ = new int[i_4_]; + for (int i_12_ = 0; i_12_ < i_0_; i_12_++) { + int i_13_ = is[i_12_]; + if (class124.aByteArray1820[i_13_] != -1) { + int i_14_ = (class124.aByteArray1820[i_13_] & 0xff); + for (int i_15_ = 0; i_15_ < 3; i_15_++) { + short i_16_; + if (i_15_ != 0) { + if (i_15_ == 1) i_16_ = (class124.aShortArray1835[i_13_]); + else i_16_ = (class124.aShortArray1855[i_13_]); + } else i_16_ = (class124.aShortArray1863[i_13_]); + int i_17_ = class124.anIntArray1841[i_16_]; + int i_18_ = class124.anIntArray1847[i_16_]; + int i_19_ = class124.anIntArray1852[i_16_]; + if (i_17_ < is_5_[i_14_]) is_5_[i_14_] = i_17_; + if (is_6_[i_14_] < i_17_) is_6_[i_14_] = i_17_; + if (is_7_[i_14_] > i_18_) is_7_[i_14_] = i_18_; + if (i_18_ > is_8_[i_14_]) is_8_[i_14_] = i_18_; + if (i_19_ < is_9_[i_14_]) is_9_[i_14_] = i_19_; + if (i_19_ > is_10_[i_14_]) is_10_[i_14_] = i_19_; + } + } + } + is_1_ = new int[i_4_]; + for (int i_20_ = 0; i_4_ > i_20_; i_20_++) { + byte i_21_ = class124.aByteArray1823[i_20_]; + if (i_21_ > 0) { + is_1_[i_20_] = (is_6_[i_20_] + is_5_[i_20_]) / 2; + is_2_[i_20_] = (is_8_[i_20_] + is_7_[i_20_]) / 2; + is_3_[i_20_] = (is_9_[i_20_] + is_10_[i_20_]) / 2; + float f; + float f_22_; + float f_23_; + if (i_21_ == 1) { + int i_24_ = class124.anIntArray1859[i_20_]; + if (i_24_ == 0) { + f_22_ = 1.0F; + f_23_ = 1.0F; + } else if (i_24_ <= 0) { + f_22_ = 1.0F; + f_23_ = (float) -i_24_ / 1024.0F; + } else { + f_23_ = 1.0F; + f_22_ = (float) i_24_ / 1024.0F; + } + f = 64.0F / (float) (class124.anIntArray1816[i_20_]); + } else if (i_21_ == 2) { + f = 64.0F / (float) (class124.anIntArray1816[i_20_]); + f_22_ = 64.0F / (float) (class124.anIntArray1844[i_20_]); + f_23_ = 64.0F / (float) (class124.anIntArray1859[i_20_]); + } else { + f = (float) (class124.anIntArray1816[i_20_]) / 1024.0F; + f_22_ = (float) (class124.anIntArray1844[i_20_]) / 1024.0F; + f_23_ = (float) (class124.anIntArray1859[i_20_]) / 1024.0F; + } + fs[i_20_] = (Component143.method1347(class124.aShortArray1825[i_20_], class124.aShortArray1849[i_20_], f_22_, f_23_, 126, f, class124.aShortArray1829[i_20_], GpsOverlay.bitwiseAnd(255, (class124.aByteArray1833[i_20_])))); + } + } + } + return new Component142(is_1_, is_2_, is_3_, fs); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("dha.B(" + i + ',' + i_0_ + ',' + (class124 != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ')')); + } + } + + static final void method566(boolean bool, boolean bool_25_, byte i) { + anInt8671++; + int i_26_ = -94 / ((-67 - i) / 59); + if (bool) { + DefinitionSub26.anInt9346++; + Component256.method1827(1415665776); + } + if (bool_25_) { + AssetCacheLoader.anInt383++; + NodederUtil.method2770(2); + } + } + + final void method563(byte i, int i_27_, byte i_28_) { + if (i > 79) { + anInt8669++; + i_28_ = (byte) (((i_28_ & 0xff) >> 1) + 127); + int i_29_ = 2 * i_27_; + aByteArray8674[i_29_++] = i_28_; + aByteArray8674[i_29_] = i_28_; + } + } + + public Component54() { + super(12, 5, 16, 2, 2, 0.45F); + } + + final byte[] method567(int i, byte i_30_, int i_31_, int i_32_) { + anInt8672++; + aByteArray8674 = new byte[2 * i_32_ * i * i_31_]; + this.method542(i, i_32_, 0, i_31_); + int i_33_ = -61 % ((70 - i_30_) / 37); + return aByteArray8674; + } + + public static void method568(boolean bool) { + aClass45_8670 = null; + aClass45_8667 = null; + if (bool != true) aClass45_8670 = null; + } +} diff --git a/client/components/Component55.java b/client/components/Component55.java new file mode 100644 index 000000000..0fc48da32 --- /dev/null +++ b/client/components/Component55.java @@ -0,0 +1,28 @@ +/* Component55 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component55 +/** + * RENAMED from `Class313` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3933; + static DisplayModeManagerContainer369 aClass223_3934 = new DisplayModeManagerContainer369(2, 2); + static float aFloat3935; + static int anInt3936 = 0; + static int anInt3937; + + public static void method2333(boolean bool) { + if (bool == false) aClass223_3934 = null; + } + + static final void method2334(int i) { + DisplayModeManagerContainer104.anInt10340++; + if (i != 0) method2333(true); + anInt3933++; + ParticleSystem class348_sub47 = ParticleShader.method2148(ShaderSub3.aClass351_5200, DisplayModeManagerContainer64.aClass77_9029, i ^ ~0x53); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, DisplayModeManagerContainer136.anInt4718); + HashNodeSub14.method3243(118, class348_sub47); + } +} diff --git a/client/components/Component59.java b/client/components/Component59.java new file mode 100644 index 000000000..979916a5f --- /dev/null +++ b/client/components/Component59.java @@ -0,0 +1,30 @@ +/* Component59 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component59 +/** + * RENAMED from `Class128` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt1870; + static Component183 aClass114_1871 = new Component183(52, -1); + static int anInt1872 = 0; + + static final void method1122(int i) { + for (int i_0_ = i; i_0_ < 5; i_0_++) + Component113.aBooleanArray2374[i_0_] = false; + anInt1870++; + JaclibLoader.anInt167 = ShaderLinker.anInt10163 = -1; + DefinitionSub21.cameraMode = 1; + NodeBaseSub1.anInt9775 = -1; + Component205.anInt5973 = 0; + Component102.anInt4803 = -1; + OpenGlShader.anInt7403 = 0; + } + + public static void method1123(int i) { + aClass114_1871 = null; + if (i != -1) method1122(-78); + } +} diff --git a/client/components/Component6.java b/client/components/Component6.java new file mode 100644 index 000000000..0f323c6e1 --- /dev/null +++ b/client/components/Component6.java @@ -0,0 +1,41 @@ +/* Component6 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component6 +/** + * RENAMED from `Class365` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + String aString4470; + long aLong4471; + String aString4472; + static NodeList aClass262_4473; + static int anInt4474 = 0; + int anInt4475; + int anInt4476; + static Component183 aClass114_4477; + + public static void method3518(int i) { + aClass262_4473 = null; + if (i != 88) method3518(-49); + aClass114_4477 = null; + } + + Component6(int i, String string, int i_0_, String string_1_, long l) { + try { + this.aLong4471 = l; + this.anInt4475 = i_0_; + this.anInt4476 = i; + this.aString4472 = string_1_; + this.aString4470 = string; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("fia.(" + i + ',' + (string != null ? "{...}" : "null") + ',' + i_0_ + ',' + (string_1_ != null ? "{...}" : "null") + ',' + l + ')')); + } + } + + static { + aClass262_4473 = new NodeList(); + aClass114_4477 = new Component183(88, 10); + } +} diff --git a/client/components/Component60.java b/client/components/Component60.java new file mode 100644 index 000000000..539a906df --- /dev/null +++ b/client/components/Component60.java @@ -0,0 +1,67 @@ +/* Component60 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component60 +/** + * RENAMED from `Class239_Sub7` (JODE-obfuscated). + * Evidence: subclass of Component339 (hierarchy) + */ extends Component339 { + static int anInt5904; + static int anInt5905; + static int anInt5906; + static int anInt5907; + static int anInt5908; + static int anInt5909 = -1; + static int anInt5910; + + final int method1714(int i, int i_0_) { + anInt5905++; + if (this.aClass348_Sub51_3136.method3425(-93)) return 3; + if (this.aClass348_Sub51_3136.aClass239_Sub24_7235.method1820(i ^ ~0x7e5e) == 0) return 3; + if (i != 3) anInt5909 = -111; + return 1; + } + + Component60(int i, NodeSub51 class348_sub51) { + super(i, class348_sub51); + } + + Component60(NodeSub51 class348_sub51) { + super(class348_sub51); + } + + final void method1716(boolean bool) { + if (this.aClass348_Sub51_3136.method3425(-82)) this.anInt3138 = 0; + anInt5904++; + if (this.aClass348_Sub51_3136.aClass239_Sub24_7235.method1820(-32350) == 0) this.anInt3138 = 0; + if (bool != false) method1712(-60, 72); + if (this.anInt3138 < 0 || this.anInt3138 > 2) this.anInt3138 = method1710(20014); + } + + final void method1712(int i, int i_1_) { + anInt5906++; + int i_2_ = -93 % ((82 - i) / 35); + this.anInt3138 = i_1_; + } + + final boolean method1747(int i) { + anInt5908++; + if (this.aClass348_Sub51_3136.method3425(-127)) return false; + if (this.aClass348_Sub51_3136.aClass239_Sub24_7235.method1820(-32350) == 0) return false; + if (i < 85) method1747(105); + return true; + } + + final int method1748(int i) { + if (i != -32350) return 111; + anInt5910++; + return this.anInt3138; + } + + final int method1710(int i) { + anInt5907++; + if (i != 20014) anInt5909 = 100; + return 2; + } +} diff --git a/client/components/Component62.java b/client/components/Component62.java new file mode 100644 index 000000000..7058b08a7 --- /dev/null +++ b/client/components/Component62.java @@ -0,0 +1,152 @@ +/* Component62 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component62 +/** + * RENAMED from `Class153` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2079; + static int anInt2080; + static int anInt2081; + static int anInt2082; + private NodeCache aClass60_2083 = new NodeCache(128); + private final CacheStore aClass45_2084; + static int anInt2085; + static int anInt2086; + CacheStore aClass45_2087; + static int anInt2088; + NodeCache aClass60_2089 = new NodeCache(64); + + final void method1219(int i) { + anInt2080++; + synchronized (aClass60_2083) { + aClass60_2083.clear(0); + } + synchronized (this.aClass60_2089) { + if (i != 7851) { + /* empty */ + } else this.aClass60_2089.clear(i + -7851); + } + } + + final void method1220(byte i, int i_0_, int i_1_) { + anInt2081++; + aClass60_2083 = new NodeCache(i_1_); + this.aClass60_2089 = new NodeCache(i_0_); + int i_2_ = 11 / ((i - -46) / 43); + } + + static final boolean method1221(int i, int i_3_, int i_4_) { + if (i != -3157) return false; + anInt2088++; + return Component40.method2259(0, i_4_, i_3_) | (i_3_ & 0x70000) != 0 || Component118.method2187(i_3_, -79, i_4_); + } + + final void method1222(boolean bool) { + if (bool != true) method1222(false); + synchronized (aClass60_2083) { + aClass60_2083.method587(-99); + } + anInt2082++; + synchronized (this.aClass60_2089) { + this.aClass60_2089.method587(-78); + } + } + + static final HashNodeSub19 method1223(int i, int i_5_, int i_6_, Component224 class273) { + anInt2086++; + int i_7_ = class273.id | i << 10; + HashNodeSub19 class348_sub42_sub19 = ((HashNodeSub19) ImageCacheStore.aClass308_4036.method2302((long) i_7_ << 16, (byte) -91)); + if (class348_sub42_sub19 != null) return class348_sub42_sub19; + byte[] is = (Component22.aClass45_1743.getSingletonFile((byte) 73, Component22.aClass45_1743.getGroupIdByHash(i_7_, (byte) -90))); + if (is != null) { + if (is.length <= 1) return null; + try { + class348_sub42_sub19 = RenderableSub4.method2502(is, -85); + } catch (Exception exception) { + throw new RuntimeException(exception.getMessage() + " S: " + i_7_); + } + class348_sub42_sub19.aClass273_9691 = class273; + ImageCacheStore.aClass308_4036.method2305((long) i_7_ << 16, class348_sub42_sub19, -1); + return class348_sub42_sub19; + } + i_7_ = class273.id | 65536 + i_5_ << 10; + class348_sub42_sub19 = ((HashNodeSub19) ImageCacheStore.aClass308_4036.method2302((long) i_7_ << 16, (byte) -31)); + if (class348_sub42_sub19 != null) return class348_sub42_sub19; + is = (Component22.aClass45_1743.getSingletonFile((byte) 73, Component22.aClass45_1743.getGroupIdByHash(i_7_, (byte) -107))); + if (is != null) { + if (is.length <= 1) return null; + try { + class348_sub42_sub19 = RenderableSub4.method2502(is, -101); + } catch (Exception exception) { + throw new RuntimeException(exception.getMessage() + " S: " + i_7_); + } + class348_sub42_sub19.aClass273_9691 = class273; + ImageCacheStore.aClass308_4036.method2305((long) i_7_ << 16, class348_sub42_sub19, -1); + return class348_sub42_sub19; + } + i_7_ = class273.id | 0x3fffc00; + class348_sub42_sub19 = ((HashNodeSub19) ImageCacheStore.aClass308_4036.method2302((long) i_7_ << 16, (byte) -107)); + if (class348_sub42_sub19 != null) return class348_sub42_sub19; + is = (Component22.aClass45_1743.getSingletonFile((byte) 73, Component22.aClass45_1743.getGroupIdByHash(i_7_, (byte) 104))); + if (is != null) { + if (is.length <= 1) return null; + try { + class348_sub42_sub19 = RenderableSub4.method2502(is, -110); + } catch (Exception exception) { + throw new RuntimeException(exception.getMessage() + " S: " + i_7_); + } + class348_sub42_sub19.aClass273_9691 = class273; + ImageCacheStore.aClass308_4036.method2305((long) i_7_ << 16, class348_sub42_sub19, -1); + return class348_sub42_sub19; + } + if (i_6_ != 96837648) return null; + return null; + } + + final void method1224(int i, byte i_8_) { + synchronized (aClass60_2083) { + if (i_8_ > -95) method1225(-75, (byte) -61); + aClass60_2083.processSoftEntries(2, i); + } + anInt2079++; + synchronized (this.aClass60_2089) { + this.aClass60_2089.processSoftEntries(2, i); + } + } + + final Component274 method1225(int i, byte i_9_) { + anInt2085++; + Component274 class42; + synchronized (aClass60_2083) { + class42 = (Component274) aClass60_2083.get(i, 91); + } + if (class42 != null) return class42; + if (i_9_ < 36) return null; + byte[] is; + synchronized (aClass45_2084) { + is = aClass45_2084.getFile(-1860, 36, i); + } + class42 = new Component274(); + class42.aClass153_593 = this; + class42.anInt581 = i; + if (is != null) class42.method379(new Buffer(is), 109); + class42.method372(-25359); + synchronized (aClass60_2083) { + aClass60_2083.putOne(class42, i, (byte) -106); + } + return class42; + } + + Component62(GameType class230, int i, CacheStore class45, CacheStore class45_10_) { + try { + aClass45_2084 = class45; + this.aClass45_2087 = class45_10_; + aClass45_2084.getFileCount(0, 36); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("on.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ',' + (class45_10_ != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/components/Component63.java b/client/components/Component63.java new file mode 100644 index 000000000..f2f1ebdf4 --- /dev/null +++ b/client/components/Component63.java @@ -0,0 +1,216 @@ +/* Component63 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component63 +/** + * RENAMED from `Class368` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt4486; + boolean aBoolean4487; + byte aByte4488 = 0; + private int anInt4489; + private short[] aShortArray4490; + static int anInt4491; + private int anInt4492; + static int anInt4493; + static int anInt4494; + static int anInt4495; + static int anInt4496; + static int anInt4497; + private int anInt4498 = 128; + private short[] aShortArray4499; + static Component183 aClass114_4500 = new Component183(117, 1); + int anInt4501; + private short[] aShortArray4502; + int anInt4503; + private short[] aShortArray4504; + static int anInt4505; + private int anInt4506; + private int anInt4507; + private int anInt4508; + static int anInt4509; + static int anInt4510; + static int anInt4511; + private int anInt4512; + Component144 aClass319_4513; + + final DisplayModeManagerContainer370 method3558(int i, int i_0_, GraphicsToolkit var_ha, int i_1_, int i_2_, Component344 class87, int i_3_) { + try { + if (i_2_ != 3172) aShortArray4504 = null; + anInt4505++; + return method3566(var_ha, i_3_, i_1_, null, 0, class87, i, (byte) 5, null, 0, false, 0, (byte) -68, i_0_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("fk.B(" + i + ',' + i_0_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_1_ + ',' + i_2_ + ',' + (class87 != null ? "{...}" : "null") + ',' + i_3_ + ')')); + } + } + + final void method3559(int i, Buffer class348_sub49) { + anInt4497++; + if (i == 28105) { + for (; ; ) { + int i_4_ = class348_sub49.readUnsignedByte(255); + if (i_4_ == 0) break; + method3564(i ^ ~0x6db5, class348_sub49, i_4_); + } + } + } + + public static void method3560(int i) { + if (i != -13) method3563(-34, (byte) 21, -111); + aClass114_4500 = null; + } + + static final String method3561(int i, DisplayModeManagerContainer57 class46, boolean bool) { + anInt4495++; + if (bool != true) method3560(68); + if (!client.method105(class46).method3301(i, !bool) && class46.anObjectArray741 == null) return null; + if (class46.aStringArray833 == null || (i >= class46.aStringArray833.length) || class46.aStringArray833[i] == null || class46.aStringArray833[i].trim().length() == 0) { + if (DisplayModeManagerContainer356.aBoolean6327) return "Hidden-" + i; + return null; + } + return class46.aStringArray833[i]; + } + + final DisplayModeManagerContainer370 method3562(int i, GraphicsToolkit var_ha, int i_5_, int i_6_, int i_7_, Component344 class87, byte i_8_) { + try { + if (i_8_ <= 24) return null; + anInt4511++; + return method3566(var_ha, i, i_6_, null, 0, class87, i_5_, (byte) 2, null, 0, false, 0, (byte) -68, i_7_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("fk.A(" + i + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + (class87 != null ? "{...}" : "null") + ',' + i_8_ + ')')); + } + } + + static final boolean method3563(int i, byte i_9_, int i_10_) { + anInt4493++; + if (i_9_ != 56) method3563(-107, (byte) 118, 32); + return (i & 0x800) != 0; + } + + private final void method3564(int i, Buffer class348_sub49, int i_11_) { + anInt4486++; + if (i < -119) { + if (i_11_ == 1) anInt4506 = class348_sub49.readUnsignedShort(842397944); + else if (i_11_ != 2) { + if (i_11_ == 4) anInt4498 = class348_sub49.readUnsignedShort(842397944); + else if (i_11_ != 5) { + if (i_11_ != 6) { + if (i_11_ != 7) { + if (i_11_ != 8) { + if (i_11_ == 9) { + anInt4507 = 8224; + this.aByte4488 = (byte) 3; + } else if (i_11_ != 10) { + if (i_11_ != 11) { + if (i_11_ == 12) this.aByte4488 = (byte) 4; + else if (i_11_ == 13) this.aByte4488 = (byte) 5; + else if (i_11_ == 14) { + this.aByte4488 = (byte) 2; + anInt4507 = class348_sub49.readUnsignedByte(255) * 256; + } else if (i_11_ == 15) { + this.aByte4488 = (byte) 3; + anInt4507 = class348_sub49.readUnsignedShort(842397944); + } else if (i_11_ == 16) { + this.aByte4488 = (byte) 3; + anInt4507 = (class348_sub49.readInt((byte) -126)); + } else if (i_11_ == 40) { + int i_14_ = class348_sub49.readUnsignedByte(255); + aShortArray4490 = new short[i_14_]; + aShortArray4502 = new short[i_14_]; + for (int i_15_ = 0; i_14_ > i_15_; i_15_++) { + aShortArray4490[i_15_] = (short) (class348_sub49.readUnsignedShort(842397944)); + aShortArray4502[i_15_] = (short) (class348_sub49.readUnsignedShort(842397944)); + } + } else if (i_11_ == 41) { + int i_12_ = (class348_sub49.readUnsignedByte(255)); + aShortArray4504 = new short[i_12_]; + aShortArray4499 = new short[i_12_]; + for (int i_13_ = 0; i_12_ > i_13_; i_13_++) { + aShortArray4499[i_13_] = (short) (class348_sub49.readUnsignedShort(842397944)); + aShortArray4504[i_13_] = (short) (class348_sub49.readUnsignedShort(842397944)); + } + } + } else this.aByte4488 = (byte) 1; + } else this.aBoolean4487 = true; + } else anInt4512 = class348_sub49.readUnsignedByte(255); + } else anInt4489 = class348_sub49.readUnsignedByte(255); + } else anInt4508 = class348_sub49.readUnsignedShort(842397944); + } else anInt4492 = class348_sub49.readUnsignedShort(842397944); + } else this.anInt4503 = class348_sub49.readUnsignedShort(842397944); + } + } + + final DisplayModeManagerContainer370 method3565(int i, int i_16_, int i_17_, int i_18_, boolean bool, GraphicsToolkit var_ha, int i_19_, int i_20_, int i_21_, Component344 class87, s var_s, int i_22_, s var_s_23_) { + try { + anInt4496++; + if (i_21_ != -129) method3566(null, 36, -84, null, 43, null, 2, (byte) 54, null, -17, true, -42, (byte) 95, -81); + return method3566(var_ha, i_16_, i_18_, var_s, i_22_, class87, i, (byte) 2, var_s_23_, i_17_, bool, i_20_, (byte) -68, i_19_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("fk.F(" + i + ',' + i_16_ + ',' + i_17_ + ',' + i_18_ + ',' + bool + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_19_ + ',' + i_20_ + ',' + i_21_ + ',' + (class87 != null ? "{...}" : "null") + ',' + (var_s != null ? "{...}" : "null") + ',' + i_22_ + ',' + (var_s_23_ != null ? "{...}" : "null") + ')')); + } + } + + public Component63() { + this.aBoolean4487 = false; + anInt4508 = 0; + this.anInt4503 = -1; + anInt4507 = -1; + anInt4492 = 128; + anInt4489 = 0; + anInt4512 = 0; + } + + private final DisplayModeManagerContainer370 method3566(GraphicsToolkit var_ha, int i, int i_24_, s var_s, int i_25_, Component344 class87, int i_26_, byte i_27_, s var_s_28_, int i_29_, boolean bool, int i_30_, byte i_31_, int i_32_) { + try { + anInt4491++; + int i_33_ = i_24_; + DisplayModeManagerContainer167 class17 = (this.anInt4503 != -1 && i != -1 ? class87.method835(this.anInt4503, 7) : null); + bool = bool & this.aByte4488 != 0; + if (class17 != null) i_33_ |= class17.method263(i_32_, 110, i, false); + if (bool) i_33_ = i_33_ | (this.aByte4488 != 3 ? 2 : 7); + if (anInt4492 != 128) i_33_ |= 0x2; + if (anInt4498 != 128 || anInt4508 != 0) i_33_ |= 0x5; + DisplayModeManagerContainer370 class64; + synchronized (this.aClass319_4513.aClass60_3990) { + class64 = ((DisplayModeManagerContainer370) (this.aClass319_4513.aClass60_3990.get(this.anInt4501 |= var_ha.anInt4567 << 29, -122))); + } + if (class64 == null || var_ha.method3667(class64.ua(), i_33_) != 0) { + if (class64 != null) i_33_ = var_ha.bitwiseOr(i_33_, class64.ua()); + int i_34_ = i_33_; + if (aShortArray4490 != null) i_34_ |= 0x4000; + if (aShortArray4499 != null) i_34_ |= 0x8000; + DisplayModeManagerContainer77 class124 = Component189.loadFromCache(0, (this.aClass319_4513.aClass45_3981), anInt4506, -1); + if (class124 == null) return null; + if (class124.anInt1830 < 13) class124.method1092(2, 114); + class64 = var_ha.method3625(class124, i_34_, (this.aClass319_4513.anInt3991), 64 + anInt4489, anInt4512 - -850); + if (aShortArray4490 != null) { + for (int i_35_ = 0; (i_35_ < aShortArray4490.length); i_35_++) + class64.ia(aShortArray4490[i_35_], aShortArray4502[i_35_]); + } + if (aShortArray4499 != null) { + for (int i_36_ = 0; (aShortArray4499.length > i_36_); i_36_++) + class64.Shader(aShortArray4499[i_36_], aShortArray4504[i_36_]); + } + class64.s(i_33_); + synchronized (this.aClass319_4513.aClass60_3990) { + this.aClass319_4513.aClass60_3990.putOne(class64, this.anInt4501 |= var_ha.anInt4567 << 29, (byte) -113); + } + } + if (i_31_ != -68) return null; + DisplayModeManagerContainer370 class64_37_ = (class17 != null ? class17.method266(class64, 0, i_32_, i_27_, i, i_26_, 663780816, i_33_) : class64.method614(i_27_, i_33_, true)); + if (anInt4498 != 128 || anInt4492 != 128) class64_37_.O(anInt4498, anInt4492, anInt4498); + if (anInt4508 != 0) { + if (anInt4508 == 90) class64_37_.a(4096); + if (anInt4508 == 180) class64_37_.a(8192); + if (anInt4508 == 270) class64_37_.a(12288); + } + if (bool) class64_37_.p(this.aByte4488, anInt4507, var_s_28_, var_s, i_30_, i_29_, i_25_); + class64_37_.s(i_24_); + return class64_37_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("fk.I(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + i_24_ + ',' + (var_s != null ? "{...}" : "null") + ',' + i_25_ + ',' + (class87 != null ? "{...}" : "null") + ',' + i_26_ + ',' + i_27_ + ',' + (var_s_28_ != null ? "{...}" : "null") + ',' + i_29_ + ',' + bool + ',' + i_30_ + ',' + i_31_ + ',' + i_32_ + ')')); + } + } +} diff --git a/client/components/Component65.java b/client/components/Component65.java new file mode 100644 index 000000000..6fe78f40a --- /dev/null +++ b/client/components/Component65.java @@ -0,0 +1,322 @@ +/* Component65 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaggl.OpenGL; + +import java.awt.*; + +final class Component65 +/** + * RENAMED from `Class104` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt1610; + static int anInt1611; + private final int anInt1612; + private final int anInt1613; + static int anInt1614; + static int anInt1615; + private final GlToolkitSub2 aHa_Sub2_1616; + byte[] aByteArray1617; + private final int anInt1618; + static int anInt1619; + static Component85 aClass221_1620 = new Component85(); + static int anInt1621; + private final BufferCacheSub2 aS_Sub2_1622; + private Component228[][] aClass232ArrayArray1623; + int anInt1624; + private final int anInt1625; + static int[] anIntArray1626 = new int[1]; + static CacheStore aClass45_1627; + static int anInt1628; + static int anInt1629; + static int anInt1630; + + final void method951(r var_r, int i, int i_0_, int i_1_) { + anInt1619++; + CacheNodeSub2 var_r_Sub2 = (CacheNodeSub2) var_r; + i += var_r_Sub2.anInt10489 - -1; + i_0_ += var_r_Sub2.anInt10484 + 1; + int i_2_ = this.anInt1624 * i_0_ + i; + int i_3_ = 0; + int i_4_ = var_r_Sub2.anInt10487; + int i_5_ = var_r_Sub2.anInt10482; + int i_6_ = this.anInt1624 - i_5_; + int i_7_ = 0; + if (i_0_ <= 0) { + int i_8_ = -i_0_ + 1; + i_3_ += i_8_ * i_5_; + i_4_ -= i_8_; + i_0_ = 1; + i_2_ += i_8_ * this.anInt1624; + } + if (anInt1612 <= i_0_ + i_4_) { + int i_9_ = 1 + (i_4_ + i_0_ + -anInt1612); + i_4_ -= i_9_; + } + if (i <= 0) { + int i_10_ = 1 - i; + i_5_ -= i_10_; + i_2_ += i_10_; + i = 1; + i_6_ += i_10_; + i_7_ += i_10_; + i_3_ += i_10_; + } + if (i_5_ + i >= this.anInt1624) { + int i_11_ = 1 + (i - -i_5_ + -this.anInt1624); + i_7_ += i_11_; + i_6_ += i_11_; + i_5_ -= i_11_; + } + int i_12_ = 101 / ((-30 - i_1_) / 62); + if (i_5_ > 0 && i_4_ > 0) { + Component253.method1895(i_3_, this.aByteArray1617, i_4_, i_2_, i_6_, i_7_, var_r_Sub2.aByteArray10486, i_5_, (byte) 121); + method952(i_4_, i_5_, i, -1, i_0_); + } + } + + private final void method952(int i, int i_13_, int i_14_, int i_15_, int i_16_) { + anInt1629++; + if (aClass232ArrayArray1623 != null) { + int i_17_ = i_14_ + -1 >> 7; + int i_18_ = -1 + i_14_ - 1 - -i_13_ >> 7; + int i_19_ = i_15_ + i_16_ >> 7; + int i_20_ = -1 + i + i_16_ - 1 >> 7; + for (int i_21_ = i_17_; i_18_ >= i_21_; i_21_++) { + Component228[] class232s = aClass232ArrayArray1623[i_21_]; + for (int i_22_ = i_19_; i_22_ <= i_20_; i_22_++) + class232s[i_22_].aBoolean3009 = true; + } + } + } + + public static void method953(byte i) { + anIntArray1626 = null; + aClass45_1627 = null; + aClass221_1620 = null; + if (i != 9) aClass221_1620 = null; + } + + final boolean method954(int i, byte i_23_, int i_24_, r var_r) { + anInt1630++; + CacheNodeSub2 var_r_Sub2 = (CacheNodeSub2) var_r; + i_24_ += 1 + var_r_Sub2.anInt10484; + if (i_23_ != 88) aClass232ArrayArray1623 = null; + i += 1 + var_r_Sub2.anInt10489; + int i_25_ = i_24_ * this.anInt1624 + i; + int i_26_ = var_r_Sub2.anInt10487; + int i_27_ = var_r_Sub2.anInt10482; + int i_28_ = -i_27_ + this.anInt1624; + if (i_24_ <= 0) { + int i_29_ = -i_24_ + 1; + i_26_ -= i_29_; + i_24_ = 1; + i_25_ += this.anInt1624 * i_29_; + } + if (i_26_ + i_24_ >= anInt1612) { + int i_30_ = -anInt1612 + (1 + (i_24_ + i_26_)); + i_26_ -= i_30_; + } + if (i <= 0) { + int i_31_ = -i + 1; + i_27_ -= i_31_; + i_25_ += i_31_; + i_28_ += i_31_; + i = 1; + } + if (this.anInt1624 <= i - -i_27_) { + int i_32_ = -this.anInt1624 + 1 + (i + i_27_); + i_27_ -= i_32_; + i_28_ += i_32_; + } + if (i_27_ <= 0 || i_26_ <= 0) return false; + int i_33_ = 8; + i_28_ += (-1 + i_33_) * this.anInt1624; + return Component210.method552(i_28_, i_26_, (byte) 112, i_33_, i_27_, i_25_, this.aByteArray1617); + } + + static final boolean method955(int i, int i_34_) { + if (i != 22311) aClass221_1620 = null; + anInt1615++; + return i_34_ >= 4 && i_34_ <= 8; + } + + final void method956(boolean bool, int i, boolean[][] bools, int i_35_, int i_36_, int i_37_) { + aHa_Sub2_1616.method3728(false, 114); + int i_38_ = 80 / ((i - 15) / 60); + anInt1614++; + aHa_Sub2_1616.method3748(0, false); + aHa_Sub2_1616.method3757(-2, -119); + aHa_Sub2_1616.method3761(0, 1); + aHa_Sub2_1616.method3753(1, 1); + float f = 1.0F / (float) (aHa_Sub2_1616.anInt7733 * 128); + if (bool) { + for (int i_51_ = 0; i_51_ < anInt1625; i_51_++) { + int i_52_ = i_51_ << anInt1613; + int i_53_ = 1 + i_51_ << anInt1613; + for (int i_54_ = 0; i_54_ < anInt1618; i_54_++) { + int i_55_ = i_54_ << anInt1613; + int i_56_ = 1 + i_54_ << anInt1613; + while_43_: + for (int i_57_ = i_55_; i_56_ > i_57_; i_57_++) { + if (-i_35_ <= i_57_ + -i_37_ && i_35_ >= -i_37_ + i_57_) { + for (int i_58_ = i_52_; i_53_ > i_58_; i_58_++) { + if (-i_35_ <= -i_36_ + i_58_ && -i_36_ + i_58_ <= i_35_ && (bools[i_35_ + i_57_ - i_37_][i_35_ + i_58_ + -i_36_])) { + OpenGL.glMatrixMode(5890); + OpenGL.glLoadIdentity(); + OpenGL.glScalef(f, f, 1.0F); + OpenGL.glTranslatef((float) -i_54_ / f, (float) -i_51_ / f, 1.0F); + OpenGL.glMatrixMode(5888); + aClass232ArrayArray1623[i_54_][i_51_].method1644((byte) -121); + break while_43_; + } + } + } + } + } + } + } else { + for (int i_39_ = 0; anInt1625 > i_39_; i_39_++) { + int i_40_ = i_39_ << anInt1613; + int i_41_ = i_39_ + 1 << anInt1613; + for (int i_42_ = 0; anInt1618 > i_42_; i_42_++) { + int i_43_ = 0; + int i_44_ = i_42_ << anInt1613; + int i_45_ = 1 + i_42_ << anInt1613; + Component182 class348_sub49_sub1 = aHa_Sub2_1616.aClass348_Sub49_Sub1_7798; + class348_sub49_sub1.offset = 0; + for (int i_46_ = i_40_; i_41_ > i_46_; i_46_++) { + if (-i_35_ <= -i_36_ + i_46_ && -i_36_ + i_46_ <= i_35_) { + int i_47_ = i_44_ + i_46_ * aS_Sub2_1622.anInt4587; + for (int i_48_ = i_44_; i_45_ > i_48_; i_48_++) { + if ((-i_35_ <= -i_37_ + i_48_) && -i_37_ + i_48_ <= i_35_ && (bools[i_35_ + i_48_ - i_37_][i_35_ + i_46_ + -i_36_])) { + short[] is = (aS_Sub2_1622.aShortArrayArray8267[i_47_]); + if (is != null) { + if (aHa_Sub2_1616.aBoolean7775) { + for (int i_50_ = 0; (i_50_ < is.length); i_50_++) { + i_43_++; + class348_sub49_sub1.writeShort((byte) 107, 0xffff & is[i_50_]); + } + } else { + for (int i_49_ = 0; is.length > i_49_; i_49_++) { + class348_sub49_sub1.writeShortLE(111, is[i_49_] & 0xffff); + i_43_++; + } + } + } + } + i_47_++; + } + } + } + if (i_43_ > 0) { + OpenGL.glMatrixMode(5890); + OpenGL.glLoadIdentity(); + OpenGL.glScalef(f, f, 1.0F); + OpenGL.glTranslatef((float) -i_42_ / f, (float) -i_39_ / f, 1.0F); + OpenGL.glMatrixMode(5888); + aClass232ArrayArray1623[i_42_][i_39_].method1643((class348_sub49_sub1.payload), 5123, i_43_, (byte) 70); + } + } + } + } + OpenGL.glMatrixMode(5890); + OpenGL.glLoadIdentity(); + OpenGL.glMatrixMode(5888); + } + + final void method957(int i) { + anInt1628++; + aClass232ArrayArray1623 = new Component228[anInt1618][anInt1625]; + for (int i_59_ = i; i_59_ < anInt1625; i_59_++) { + for (int i_60_ = 0; anInt1618 > i_60_; i_60_++) + aClass232ArrayArray1623[i_60_][i_59_] = new Component228(aHa_Sub2_1616, this, aS_Sub2_1622, i_60_, i_59_, anInt1613, 1 + 128 * i_60_, 128 * i_59_ + 1); + } + } + + static final GraphicsToolkit method958(boolean bool, int i, d var_d, int i_61_, Canvas canvas, CacheStore class45) { + try { + if (bool != true) aClass221_1620 = null; + anInt1610++; + int i_62_ = 0; + int i_63_ = 0; + if (canvas != null) { + Dimension dimension = canvas.getSize(); + i_63_ = dimension.height; + i_62_ = dimension.width; + } + return GraphicsToolkit.method3692(i_61_, i_63_, i_62_, class45, 0, var_d, canvas, i); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("mha.E(" + bool + ',' + i + ',' + (var_d != null ? "{...}" : "null") + ',' + i_61_ + ',' + (canvas != null ? "{...}" : "null") + ',' + (class45 != null ? "{...}" : "null") + ')')); + } + } + + final void method959(int i, int i_64_, byte i_65_, r var_r) { + anInt1621++; + CacheNodeSub2 var_r_Sub2 = (CacheNodeSub2) var_r; + i_64_ += 1 + var_r_Sub2.anInt10484; + i += 1 + var_r_Sub2.anInt10489; + int i_66_ = this.anInt1624 * i_64_ + i; + int i_67_ = 0; + int i_68_ = var_r_Sub2.anInt10487; + int i_69_ = var_r_Sub2.anInt10482; + if (i_65_ < 67) method957(-40); + int i_70_ = this.anInt1624 - i_69_; + if (i_64_ <= 0) { + int i_71_ = -i_64_ + 1; + i_67_ += i_69_ * i_71_; + i_68_ -= i_71_; + i_64_ = 1; + i_66_ += i_71_ * this.anInt1624; + } + int i_72_ = 0; + if (i_64_ - -i_68_ >= anInt1612) { + int i_73_ = -anInt1612 + (1 + i_64_) - -i_68_; + i_68_ -= i_73_; + } + if (i <= 0) { + int i_74_ = -i + 1; + i_69_ -= i_74_; + i_66_ += i_74_; + i = 1; + i_72_ += i_74_; + i_67_ += i_74_; + i_70_ += i_74_; + } + if (this.anInt1624 <= i_69_ + i) { + int i_75_ = -this.anInt1624 + (1 + (i_69_ + i)); + i_72_ += i_75_; + i_69_ -= i_75_; + i_70_ += i_75_; + } + if (i_69_ > 0 && i_68_ > 0) { + Component231.method295(i_72_, i_67_, 256, var_r_Sub2.aByteArray10486, i_69_, this.aByteArray1617, i_68_, i_66_, i_70_); + method952(i_68_, i_69_, i, -1, i_64_); + } + } + + static final void method960(int i) { + Component122.aClass348_Sub16_Sub3_1564.method2877(-128); + anInt1611++; + DebugPanic.aClass348_Sub16_Sub3_4743 = null; + PlayerState.anInt7068 = i; + DisplayModeManagerContainer77.aClass45_1848 = null; + } + + Component65(GlToolkitSub2 var_ha_Sub2, BufferCacheSub2 var_s_Sub2) { + try { + aHa_Sub2_1616 = var_ha_Sub2; + aS_Sub2_1622 = var_s_Sub2; + this.anInt1624 = (aS_Sub2_1622.anInt4592 * aS_Sub2_1622.anInt4587 >> aHa_Sub2_1616.anInt7731) + 2; + anInt1612 = (aS_Sub2_1622.anInt4592 * aS_Sub2_1622.anInt4590 >> aHa_Sub2_1616.anInt7731) + 2; + anInt1613 = (-aS_Sub2_1622.anInt4588 + (7 + aHa_Sub2_1616.anInt7731)); + this.aByteArray1617 = new byte[this.anInt1624 * anInt1612]; + anInt1618 = aS_Sub2_1622.anInt4587 >> anInt1613; + anInt1625 = aS_Sub2_1622.anInt4590 >> anInt1613; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("mha.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + (var_s_Sub2 != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/components/Component66.java b/client/components/Component66.java new file mode 100644 index 000000000..f7ee887d6 --- /dev/null +++ b/client/components/Component66.java @@ -0,0 +1,178 @@ +/* Component66 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component66 +/** + * RENAMED from `Class239_Sub17` (JODE-obfuscated). + * Evidence: subclass of Component339 (hierarchy) + */ extends Component339 { + static Component224 aClass273_6018 = new Component224("", 14); + static int anInt6019; + static int anInt6020; + static int[] anIntArray6021; + static int anInt6022; + static int anInt6023; + static int anInt6024; + static int anInt6025; + static int anInt6026; + static int anInt6027; + static int anInt6028; + + static final String method1793(byte[] is, int i, int i_0_, int i_1_) { + anInt6020++; + char[] cs = new char[i_1_]; + int i_2_ = 0; + if (i_0_ >= -82) return null; + int i_3_ = i; + int i_4_ = i_1_ + i; + while (i_4_ > i_3_) { + int i_5_ = 0xff & is[i_3_++]; + int i_6_; + if (i_5_ < 128) { + if (i_5_ == 0) i_6_ = 65533; + else i_6_ = i_5_; + } else if (i_5_ >= 192) { + if (i_5_ >= 224) { + if (i_5_ < 240) { + if (i_3_ + 1 < i_4_ && (is[i_3_] & 0xc0) == 128 && (0xc0 & is[1 + i_3_]) == 128) { + i_6_ = ((i_5_ & 0xf) << 12 | is[i_3_++] << 6 & 0xfc0 | is[i_3_++] & 0x3f); + if (i_6_ < 2048) i_6_ = 65533; + } else i_6_ = 65533; + } else if (i_5_ >= 248) i_6_ = 65533; + else if (i_4_ <= i_3_ - -2 || (0xc0 & is[i_3_]) != 128 || (0xc0 & is[1 + i_3_]) != 128 || (is[2 + i_3_] & 0xc0) != 128) i_6_ = 65533; + else { + i_6_ = (i_5_ << 18 & 0x1c0000 | (is[i_3_++] & 0x3f) << 12 | 0xfc0 & is[i_3_++] << 6 | 0x3f & is[i_3_++]); + if (i_6_ >= 65536 && i_6_ <= 1114111) i_6_ = 65533; + else i_6_ = 65533; + } + } else if (i_3_ >= i_4_ || (0xc0 & is[i_3_]) != 128) i_6_ = 65533; + else { + i_6_ = is[i_3_++] & 0x3f | i_5_ << 6 & 0x7c0; + if (i_6_ < 128) i_6_ = 65533; + } + } else i_6_ = 65533; + cs[i_2_++] = (char) i_6_; + } + return new String(cs, 0, i_2_); + } + + final int method1714(int i, int i_7_) { + anInt6023++; + if (i != 3) return 49; + return 1; + } + + final void method1712(int i, int i_8_) { + int i_9_ = -117 % ((82 - i) / 35); + this.anInt3138 = i_8_; + anInt6025++; + } + + public static void method1794(int i) { + if (i != 63) anIntArray6021 = null; + aClass273_6018 = null; + anIntArray6021 = null; + } + + final void method1716(boolean bool) { + if (bool != false) method1793(null, 50, -30, -126); + if (this.anInt3138 < 0 && this.anInt3138 > 4) this.anInt3138 = method1710(20014); + anInt6024++; + } + + static final String method1795(byte[] is, boolean bool) { + if (bool != true) method1797(4, -104, null, (byte) -82); + anInt6026++; + return WaterShaderSub8.decodeCp1252(is, 0, is.length, 0); + } + + static final boolean method1796(int i, int i_10_) { + if (i < 53) return true; + anInt6019++; + return i_10_ == 18 || i_10_ == 6 || i_10_ == 1011 || i_10_ == 13 || i_10_ == 16; + } + + /** + * Builds right-click options for an interface component (inventory, bank, …). + * When the component holds an item ({@code anInt812}), preferred left-click + * is boosted and {@link DefaultClickSwapper} Default rows are injected. + */ + static final void method1797(int i, int i_11_, DisplayModeManagerContainer57 class46, byte i_12_) { + // Preferred inventory/bank action for this item id (Wear, Withdraw-All, …). + String preferredItem = DefaultClickSwapper.getPreferredItemAction(class46.anInt812); + if (r.aBoolean9722) { + Component355 class254 = (Component163.anInt3176 != -1 ? MatrixSub3.aClass326_5764.method2600(Component163.anInt3176, 28364) : null); + if (client.method105(class46).method3303(1) && (PauseTimer.anInt500 & 0x20) != 0 && (class254 == null || (class46.method428(class254.anInt3256, Component163.anInt3176, -128) != class254.anInt3256))) { + Component82.anInt436++; + DisplayModeManagerContainer368.addMenuEntry(false, (DisplayModeManagerContainer332.aString5000 + " -> " + class46.aString752) + Loader.getDebug(class46.anInt830 >> 16, class46.anInt830 & 0xffff), class46.anInt830, (byte) -90, false, class46.anInt704, class46.anInt812, true, 6, class46.anInt830 | (class46.anInt704 << 0), DisplayModeManagerContainer332.aString5001, 0L, Component182.anInt9747); + } + } + anInt6022++; + for (int i_13_ = 9; i_13_ >= 5; i_13_--) { + String string = Component63.method3561(i_13_, class46, true); + if (string != null) { + int prio = Component265.method888((byte) 57, i_13_, class46); + // Preferred must use opcode 18 — 1011 makes left-click open the menu. + int opcode = 1011; + if (preferredItem != null && preferredItem.equalsIgnoreCase(string)) { + prio = DefaultClickSwapper.PRIORITY_PREFERRED; + opcode = 18; + } + DisplayModeManagerContainer368.addMenuEntry(false, class46.aString752 + Loader.getDebug(class46.anInt830 >> 16, class46.anInt830 & 0xffff), class46.anInt830, (byte) -122, false, class46.anInt704, class46.anInt812, true, opcode, (class46.anInt704 << 0) | class46.anInt830, string, 1 + i_13_, prio); + DisplayModeManagerContainer147.anInt4169++; + } + } + String string = DisplayModeManagerContainer295.method1753(0, class46); + if (string != null) { + int usePrio = class46.anInt713; + if (preferredItem != null && preferredItem.equalsIgnoreCase(string)) { + usePrio = DefaultClickSwapper.PRIORITY_PREFERRED; + } + DisplayModeManagerContainer368.addMenuEntry(false, class46.aString752 + Loader.getDebug(class46.anInt830 >> 16, class46.anInt830 & 0xffff), class46.anInt830, (byte) -83, false, class46.anInt704, class46.anInt812, true, 13, (class46.anInt704 << 0) | class46.anInt830, string, 0L, usePrio); + DisplayModeManagerContainer109.anInt2340++; + } + if (i_12_ >= -55) method1793(null, -19, 70, -103); + for (int i_14_ = 4; i_14_ >= 0; i_14_--) { + String string_15_ = Component63.method3561(i_14_, class46, true); + if (string_15_ != null) { + int prio = Component265.method888((byte) 57, i_14_, class46); + if (preferredItem != null && preferredItem.equalsIgnoreCase(string_15_)) { + prio = DefaultClickSwapper.PRIORITY_PREFERRED; + } + DisplayModeManagerContainer368.addMenuEntry(false, class46.aString752, class46.anInt830, (byte) -67, false, class46.anInt704, class46.anInt812, true, 18, (class46.anInt704 << 0) | class46.anInt830, string_15_, 1 + i_14_, prio); + DisplayModeManagerContainer147.anInt4169++; + } + } + if (client.method105(class46).method3305(0)) { + if (class46.aString816 != null) DisplayModeManagerContainer368.addMenuEntry(false, "", class46.anInt830, (byte) -118, false, class46.anInt704, class46.anInt812, true, 16, (class46.anInt704 << 0) | class46.anInt830, class46.aString816, 0L, -1); + else DisplayModeManagerContainer368.addMenuEntry(false, "", class46.anInt830, (byte) -79, false, class46.anInt704, class46.anInt812, true, 16, class46.anInt704 << 0 | class46.anInt830, FriendsIgnoreList.aClass274_3492.getLocalized(ObjectDeserializer.languageId, 544), 0L, -1); + RSARequest.anInt9655++; + } + // Inventory / bank item: inject lilac Default: Wear / Withdraw-All / … + if (class46.anInt812 > 0) { + DefaultClickSwapper.injectItemMenu(class46); + } + } + + Component66(NodeSub51 class348_sub51) { + super(class348_sub51); + } + + Component66(int i, NodeSub51 class348_sub51) { + super(i, class348_sub51); + } + + final int method1798(int i) { + anInt6028++; + if (i != -32350) return 61; + return this.anInt3138; + } + + final int method1710(int i) { + if (i != 20014) aClass273_6018 = null; + anInt6027++; + if (this.aClass348_Sub51_3136.method3428((byte) -96).method1462(-113) > 1) return 4; + return 2; + } +} diff --git a/client/components/Component68.java b/client/components/Component68.java new file mode 100644 index 000000000..117afe402 --- /dev/null +++ b/client/components/Component68.java @@ -0,0 +1,210 @@ +/* Component68 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component68 +/** + * RENAMED from `Class329` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private static int anInt4102; + private static int anInt4103; + private static int anInt4104; + private static int anInt4105; + private static int anInt4106; + private static int[] anIntArray4107; + private static int anInt4108; + private static int anInt4109; + + private static final void method2618(int i) { + if (anInt4105 < 0) { + anInt4104 = anInt4102 = anInt4109 = 0; + anInt4103 = 2147483646; + } else { + method2625(0, anInt4105); + int i_0_ = anIntArray4107[1]; + if (i_0_ < i) i_0_ = i; + int i_1_ = 0; + int i_2_; + for (i_2_ = 0; i_2_ < anInt4105; i_2_ += 4) { + int i_3_ = anIntArray4107[i_2_ + 1]; + if (i_0_ < i_3_) break; + int i_4_ = anIntArray4107[i_2_]; + int i_5_ = anIntArray4107[i_2_ + 2]; + int i_6_ = anIntArray4107[i_2_ + 3]; + int i_7_ = (i_5_ - i_4_ << 16) / (i_6_ - i_3_); + int i_8_ = (i_4_ << 16) + 32768; + anIntArray4107[i_2_] = i_8_ + (i_0_ - i_3_) * i_7_; + anIntArray4107[i_2_ + 2] = i_7_; + } + anInt4104 = i_1_; + anInt4102 = i_2_; + anInt4109 = i_2_; + anInt4103 = i_0_ - 1; + } + } + + static final void method2619(GraphicsToolkit var_ha, int[] is, int i, int[] is_9_, int[] is_10_) { + method2623(var_ha, is, 0, is.length, i, is_9_, is_10_); + } + + static final void method2620(GraphicsToolkit var_ha, int[] is, int i) { + method2623(var_ha, is, 0, is.length, i, null, null); + } + + public static void method2621() { + anIntArray4107 = null; + } + + private static final void method2622(int[] is, int i, int i_11_) { + int i_12_ = anInt4105 + (i_11_ << 1); + if (anIntArray4107 == null || anIntArray4107.length < i_12_) { + int[] is_13_ = new int[i_12_]; + for (int i_14_ = 0; i_14_ < anInt4105; i_14_++) + is_13_[i_14_] = anIntArray4107[i_14_]; + anIntArray4107 = is_13_; + } + i_11_ += i; + int i_15_ = i_11_ - 2; + for (int i_16_ = i; i_16_ < i_11_; i_16_ += 2) { + int i_17_ = is[i_15_ + 1]; + int i_18_ = is[i_16_ + 1]; + if (i_17_ < i_18_) { + anIntArray4107[anInt4105++] = is[i_15_]; + anIntArray4107[anInt4105++] = i_17_; + anIntArray4107[anInt4105++] = is[i_16_]; + anIntArray4107[anInt4105++] = i_18_; + } else if (i_18_ < i_17_) { + anIntArray4107[anInt4105++] = is[i_16_]; + anIntArray4107[anInt4105++] = i_18_; + anIntArray4107[anInt4105++] = is[i_15_]; + anIntArray4107[anInt4105++] = i_17_; + } + i_15_ = i_16_; + } + } + + private static final void method2623(GraphicsToolkit var_ha, int[] is, int i, int i_19_, int i_20_, int[] is_21_, int[] is_22_) { + int[] is_23_ = new int[4]; + var_ha.K(is_23_); + if (is_21_ != null && is_23_[3] - is_23_[1] != is_21_.length) throw new IllegalStateException(); + method2624(); + method2622(is, i, i_19_); + method2618(is_23_[1]); + while (method2627(is_23_[3])) { + int i_24_ = anInt4106; + int i_25_ = anInt4108; + int i_26_ = anInt4103; + if (is_21_ != null) { + int i_27_ = i_26_ - is_23_[1]; + if (i_24_ < is_21_[i_27_] + is_23_[0]) i_24_ = is_21_[i_27_] + is_23_[0]; + if (i_25_ > is_21_[i_27_] + is_22_[i_27_] + is_23_[0]) i_25_ = is_21_[i_27_] + is_22_[i_27_] + is_23_[0]; + if (i_25_ - i_24_ <= 0) continue; + } + var_ha.U(i_24_, i_26_, i_25_ - i_24_, i_20_, 1); + } + } + + private static final void method2624() { + anInt4105 = 0; + } + + private static final void method2625(int i, int i_28_) { + if (i_28_ > i + 4) { + int i_29_ = i; + int i_30_ = anIntArray4107[i_29_]; + int i_31_ = anIntArray4107[i_29_ + 1]; + int i_32_ = anIntArray4107[i_29_ + 2]; + int i_33_ = anIntArray4107[i_29_ + 3]; + for (int i_34_ = i + 4; i_34_ < i_28_; i_34_ += 4) { + int i_35_ = anIntArray4107[i_34_ + 1]; + if (i_35_ < i_31_) { + anIntArray4107[i_29_] = anIntArray4107[i_34_]; + anIntArray4107[i_29_ + 1] = i_35_; + anIntArray4107[i_29_ + 2] = anIntArray4107[i_34_ + 2]; + anIntArray4107[i_29_ + 3] = anIntArray4107[i_34_ + 3]; + i_29_ += 4; + anIntArray4107[i_34_] = anIntArray4107[i_29_]; + anIntArray4107[i_34_ + 1] = anIntArray4107[i_29_ + 1]; + anIntArray4107[i_34_ + 2] = anIntArray4107[i_29_ + 2]; + anIntArray4107[i_34_ + 3] = anIntArray4107[i_29_ + 3]; + } + } + anIntArray4107[i_29_] = i_30_; + anIntArray4107[i_29_ + 1] = i_31_; + anIntArray4107[i_29_ + 2] = i_32_; + anIntArray4107[i_29_ + 3] = i_33_; + method2625(i, i_29_); + method2625(i_29_ + 4, i_28_); + } + } + + private static final void method2626(int i, int i_36_) { + for (/**/; i_36_ >= i + 8; i_36_ -= 4) { + boolean bool = true; + for (int i_37_ = i + 4; i_37_ < i_36_; i_37_ += 4) { + int i_38_ = anIntArray4107[i_37_ - 4]; + int i_39_ = anIntArray4107[i_37_]; + if (i_38_ > i_39_) { + bool = false; + anIntArray4107[i_37_ - 4] = i_39_; + anIntArray4107[i_37_] = i_38_; + i_38_ = anIntArray4107[i_37_ - 2]; + anIntArray4107[i_37_ - 2] = anIntArray4107[i_37_ + 2]; + anIntArray4107[i_37_ + 2] = i_38_; + i_38_ = anIntArray4107[i_37_ - 1]; + anIntArray4107[i_37_ - 1] = anIntArray4107[i_37_ + 3]; + anIntArray4107[i_37_ + 3] = i_38_; + } + } + if (bool) break; + } + } + + private static final boolean method2627(int i) { + int i_40_ = anInt4102; + int i_41_ = anInt4109; + int i_42_ = anInt4103; + int i_43_; + for (/**/; i_41_ >= i_40_; i_41_ = i_43_) { + anInt4103 = ++i_42_; + if (i_42_ >= i) return false; + i_43_ = anInt4104; + for (/**/; i_40_ < anInt4105; i_40_ += 4) { + int i_44_ = anIntArray4107[i_40_ + 1]; + if (i_42_ < i_44_) break; + int i_45_ = anIntArray4107[i_40_]; + int i_46_ = anIntArray4107[i_40_ + 2]; + int i_47_ = anIntArray4107[i_40_ + 3]; + int i_48_ = (i_46_ - i_45_ << 16) / (i_47_ - i_44_); + int i_49_ = (i_45_ << 16) + 32768; + anIntArray4107[i_40_] = i_49_; + anIntArray4107[i_40_ + 2] = i_48_; + } + for (int i_50_ = i_43_; i_50_ < i_40_; i_50_ += 4) { + int i_51_ = anIntArray4107[i_50_ + 3]; + if (i_42_ >= i_51_) { + anIntArray4107[i_50_] = anIntArray4107[i_43_]; + anIntArray4107[i_50_ + 1] = anIntArray4107[i_43_ + 1]; + anIntArray4107[i_50_ + 2] = anIntArray4107[i_43_ + 2]; + anIntArray4107[i_50_ + 3] = anIntArray4107[i_43_ + 3]; + i_43_ += 4; + } + } + if (i_43_ == anInt4105) { + anInt4105 = 0; + return false; + } + method2626(i_43_, i_40_); + anInt4104 = i_43_; + anInt4102 = i_40_; + } + anInt4106 = anIntArray4107[i_41_] >> 16; + anInt4108 = anIntArray4107[i_41_ + 4] >> 16; + anIntArray4107[i_41_] += anIntArray4107[i_41_ + 2]; + anIntArray4107[i_41_ + 4] += anIntArray4107[i_41_ + 6]; + i_41_ += 8; + anInt4109 = i_41_; + return true; + } +} diff --git a/client/components/Component69.java b/client/components/Component69.java new file mode 100644 index 000000000..2eccd8154 --- /dev/null +++ b/client/components/Component69.java @@ -0,0 +1,35 @@ +/* Component69 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component69 +/** + * RENAMED from `Class283` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3656; + int anInt3657; + static float[] aFloatArray3658 = new float[2]; + static int[] anIntArray3659; + static long aLong3660; + static int[] anIntArray3661 = {8, 11, 4, 6, 9, 7, 10, 0}; + static int anInt3662; + String aString3663; + + public static void method2113(byte i) { + anIntArray3659 = null; + anIntArray3661 = null; + if (i != 74) method2113((byte) -2); + aFloatArray3658 = null; + } + + static final boolean method2114(int i, boolean bool) { + anInt3656++; + if (bool != true) method2114(90, true); + return i == 3 || i == 5 || i == 6; + } + + static { + anIntArray3659 = new int[]{0, 4, 3, 3, 1, 1, 3, 5, 1, 5, 3, 6, 4}; + } +} diff --git a/client/components/Component7.java b/client/components/Component7.java new file mode 100644 index 000000000..717ceb76c --- /dev/null +++ b/client/components/Component7.java @@ -0,0 +1,35 @@ +/* Component7 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component7 +/** + * RENAMED from `Class220` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2876; + static int anInt2877; + static int anInt2878; + + static final void method1605(int i) { + if (Component366.anIntArray3068 == null || Component296.anIntArray4654 == null) { + Component296.anIntArray4654 = new int[256]; + Component366.anIntArray3068 = new int[256]; + for (int i_0_ = 0; i_0_ < 256; i_0_++) { + double d = 6.283185307179586 * ((double) i_0_ / 255.0); + Component366.anIntArray3068[i_0_] = (int) (4096.0 * Math.sin(d)); + Component296.anIntArray4654[i_0_] = (int) (4096.0 * Math.cos(d)); + } + } + anInt2878++; + if (i != 26188) method1606(-76, 98, 86); + } + + static final byte method1606(int i, int i_1_, int i_2_) { + anInt2876++; + if (i_2_ != 9) return (byte) 0; + if (i_1_ != -27939) return (byte) -50; + if ((i & 0x1) == 0) return (byte) 1; + return (byte) 2; + } +} diff --git a/client/components/Component70.java b/client/components/Component70.java new file mode 100644 index 000000000..e6eae5e4b --- /dev/null +++ b/client/components/Component70.java @@ -0,0 +1,25 @@ +/* Component70 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component70 +/** + * RENAMED from `Class145` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int[] anIntArray2001; + short[] aShortArray2002; + short aShort2003; + byte aByte2004; + short[] aShortArray2005; + short[] aShortArray2006; + short[] aShortArray2007; + short[] aShortArray2008; + short[] aShortArray2009; + short aShort2010; + int[] anIntArray2011; + + public Component70() { + /* empty */ + } +} diff --git a/client/components/Component71.java b/client/components/Component71.java new file mode 100644 index 000000000..bb54ed024 --- /dev/null +++ b/client/components/Component71.java @@ -0,0 +1,187 @@ +/* Component71 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component71 +/** + * RENAMED from `Class239_Sub21` (JODE-obfuscated). + * Evidence: subclass of Component339 (hierarchy) + */ extends Component339 { + static int anInt6057; + static Component183 aClass114_6058; + static int anInt6059; + static int anInt6060; + static int[] anIntArray6061; + static int[] anIntArray6062 = new int[3]; + static int anInt6063; + static int anInt6064; + static int anInt6065; + static RenderableObject[] aClass318_Sub1Array6066; + static int anInt6067; + static int anInt6068; + static int anInt6069; + + final int method1710(int i) { + anInt6065++; + if (i != 20014) return -81; + return 1; + } + + final boolean method1809(int i) { + anInt6063++; + if (i < 85) method1813(11, 68); + return !this.aClass348_Sub51_3136.method3425(-104); + } + + static final void method1810(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_) { + if (i_5_ != 8 && i_5_ != 16) { + Component186 class357 = Component335.aClass357ArrayArrayArray2029[i_4_][i][i_2_]; + if (class357 == null) class357 = new Component186(i_4_); + if (i_5_ == 1) { + class357.aShort4401 = (short) i_0_; + class357.aShort4409 = (short) i_1_; + } else if (i_5_ == 2) { + class357.aShort4398 = (short) i_1_; + class357.aShort4397 = (short) i_0_; + } + if (Cp1252Decoder.aBoolean5226) ParticleShader.method2152(false); + } else if (i_5_ == 8) { + int i_12_ = i << Component149.anInt4459; + int i_13_ = Component148.anInt3465 + i_12_; + int i_14_ = i_2_ << Component149.anInt4459; + int i_15_ = Component148.anInt3465 + i_14_; + int i_16_ = NodeSub1Sub1.aSArray8801[i_4_].method3982((byte) -86, i_2_, i); + int i_17_ = NodeSub1Sub1.aSArray8801[i_4_].method3982((byte) -86, 1 + i_2_, i - -1); + InterfaceRenderer.aClass338Array5060[NodeSub44.anInt7101++] = new Component103(i_5_, i_4_, i_12_, i_13_, i_13_, i_12_, i_16_, i_17_, -i_1_ + i_17_, -i_1_ + i_16_, i_14_, i_15_, i_15_, i_14_); + } else { + int i_6_ = Component148.anInt3465 + (i << Component149.anInt4459); + int i_7_ = -Component148.anInt3465 + i_6_; + int i_8_ = i_2_ << Component149.anInt4459; + int i_9_ = i_8_ + Component148.anInt3465; + int i_10_ = NodeSub1Sub1.aSArray8801[i_4_].method3982((byte) -86, i_2_, i + 1); + int i_11_ = NodeSub1Sub1.aSArray8801[i_4_].method3982((byte) -86, 1 + i_2_, i); + InterfaceRenderer.aClass338Array5060[NodeSub44.anInt7101++] = new Component103(i_5_, i_4_, i_6_, i_7_, i_7_, i_6_, i_10_, i_11_, -i_1_ + i_11_, i_10_ - i_1_, i_8_, i_9_, i_9_, i_8_); + } + if (i_3_ != -1) method1811(31, null, 115, null); + anInt6067++; + } + + static final int method1811(int i, String string, int i_18_, String string_19_) { + try { + anInt6060++; + int i_20_ = string_19_.length(); + int i_21_ = string.length(); + int i_22_ = 0; + int i_23_ = 0; + char c = '\0'; + char c_24_ = '\0'; + while_81_: + do { + char c_25_; + char c_26_; + for (; ; ) { + if (-c + i_22_ >= i_20_ && -c_24_ + i_23_ >= i_21_) break while_81_; + if (-c + i_22_ >= i_20_) return -1; + if (i_21_ <= -c_24_ + i_23_) return 1; + if (c != 0) { + c_25_ = c; + boolean bool = false; + } else c_25_ = string_19_.charAt(i_22_++); + if (c_24_ != 0) { + c_26_ = c_24_; + boolean bool = false; + } else c_26_ = string.charAt(i_23_++); + c = SpriteSub2.method990(c_25_, (byte) -39); + c_24_ = SpriteSub2.method990(c_26_, (byte) -127); + c_25_ = Component98.method1765(c_25_, i_18_, 105); + c_26_ = Component98.method1765(c_26_, i_18_, 105); + if (c_25_ != c_26_ && (Character.toUpperCase(c_26_) != Character.toUpperCase(c_25_))) { + c_25_ = Character.toLowerCase(c_25_); + c_26_ = Character.toLowerCase(c_26_); + if (c_25_ != c_26_) break; + } + } + return (Component22.method1056(i_18_, 30316, c_25_) + -Component22.method1056(i_18_, i ^ 0x55ac, c_26_)); + } while (false); + int i_27_ = Math.min(i_20_, i_21_); + for (int i_28_ = 0; i_27_ > i_28_; i_28_++) { + if (i_18_ == 2) { + i_23_ = -i_28_ + (i_21_ - 1); + i_22_ = i_20_ - (1 - -i_28_); + } else i_22_ = i_23_ = i_28_; + char c_29_ = string_19_.charAt(i_22_); + char c_30_ = string.charAt(i_23_); + if (c_29_ != c_30_ && (Character.toUpperCase(c_29_) != Character.toUpperCase(c_30_))) { + c_29_ = Character.toLowerCase(c_29_); + c_30_ = Character.toLowerCase(c_30_); + if (c_30_ != c_29_) return (Component22.method1056(i_18_, 30316, c_29_) + -Component22.method1056(i_18_, 30316, c_30_)); + } + } + if (i != 9152) method1810(-67, 60, -16, -117, -17, -84, 39); + int i_31_ = -i_21_ + i_20_; + if (i_31_ != 0) return i_31_; + for (int i_32_ = 0; i_27_ > i_32_; i_32_++) { + char c_33_ = string_19_.charAt(i_32_); + char c_34_ = string.charAt(i_32_); + if (c_34_ != c_33_) return (Component22.method1056(i_18_, 30316, c_33_) - Component22.method1056(i_18_, 30316, c_34_)); + } + return 0; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("vu.F(" + i + ',' + (string != null ? "{...}" : "null") + ',' + i_18_ + ',' + (string_19_ != null ? "{...}" : "null") + ')')); + } + } + + final void method1712(int i, int i_35_) { + this.anInt3138 = i_35_; + anInt6059++; + int i_36_ = -103 % ((i - 82) / 35); + } + + final int method1714(int i, int i_37_) { + if (i != 3) return 91; + anInt6064++; + if (this.aClass348_Sub51_3136.method3425(i ^ ~0x4b)) return 3; + return 1; + } + + Component71(NodeSub51 class348_sub51) { + super(class348_sub51); + } + + final void method1716(boolean bool) { + if (this.aClass348_Sub51_3136.method3425(-112)) this.anInt3138 = 0; + anInt6057++; + if (bool != false) aClass318_Sub1Array6066 = null; + if (this.anInt3138 != 1 && this.anInt3138 != 0) this.anInt3138 = method1710(20014); + } + + Component71(int i, NodeSub51 class348_sub51) { + super(i, class348_sub51); + } + + final int method1812(int i) { + if (i != -32350) anIntArray6062 = null; + anInt6068++; + return this.anInt3138; + } + + static final boolean method1813(int i, int i_38_) { + anInt6069++; + if (i != 8806) method1813(-86, 33); + if (i_38_ == 3 || i_38_ == 4 || i_38_ == 9 || i_38_ == 59 || i_38_ == 1007) return true; + return i_38_ == 2 || i_38_ == 1001; + } + + public static void method1814(byte i) { + aClass318_Sub1Array6066 = null; + anIntArray6062 = null; + int i_39_ = 41 % ((i - -32) / 32); + anIntArray6061 = null; + aClass114_6058 = null; + } + + static { + anIntArray6061 = new int[32]; + aClass114_6058 = new Component183(46, -1); + } +} diff --git a/client/components/Component72.java b/client/components/Component72.java new file mode 100644 index 000000000..9eb3cb459 --- /dev/null +++ b/client/components/Component72.java @@ -0,0 +1,54 @@ +/* Component72 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component72 +/** + * RENAMED from `Class132` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt1905 = 4; + static int anInt1906; + /** The local player avatar in the world (null on title / disconnect). */ + static Player localPlayer; + static int anInt1908; + static int[] anIntArray1909; + static int anInt1910 = 0; + static int anInt1911 = 7000; + + public static void method1137(int i) { + if (i != 3) method1138(null, true, null, (byte) 70); + anIntArray1909 = null; + localPlayer = null; + } + + static final void method1138(String string, boolean bool, String string_0_, byte i) { + try { + anInt1908++; + DisplayModeManagerContainer282.username = string; + DisplayModeManagerContainer51.password = string_0_; + DisplayModeManagerContainer58.aBoolean10238 = bool; + if (!DisplayModeManagerContainer58.aBoolean10238 && (DisplayModeManagerContainer282.username.equals("") || DisplayModeManagerContainer51.password.equals(""))) WorldNameText.method254(3, (byte) -100); + else { + // Persist for next launch / auto-login (desktop + mobile). + LoginPrefs.remember(DisplayModeManagerContainer282.username, DisplayModeManagerContainer51.password); + int i_1_ = 34 % ((16 - i) / 55); + if (Component205.anInt5969 != 1) { + Component227.anInt1121 = 0; + HashNodeSub7.anInt9541 = -1; + } + Component338.aBoolean1712 = false; + WorldNameText.method254(-3, (byte) -94); + Component241.anInt2955 = 1; + Component53.anInt197 = 0; + Component212.anInt9971 = 0; + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("nr.A(" + (string != null ? "{...}" : "null") + ',' + bool + ',' + (string_0_ != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + static { + anInt1906 = anInt1911; + } +} diff --git a/client/components/Component73.java b/client/components/Component73.java new file mode 100644 index 000000000..ff34937a2 --- /dev/null +++ b/client/components/Component73.java @@ -0,0 +1,74 @@ +/* Component73 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component73 +/** + * RENAMED from `Class241_Sub3` (JODE-obfuscated). + * Evidence: subclass of Component41 (hierarchy) + */ extends Component41 { + private long aLong6166 = 0L; + private long aLong6167 = 0L; + private int anInt6168; + private long aLong6169 = 0L; + private int anInt6170 = 0; + private final long[] aLongArray6171; + + final long method1858(int i) { + aLong6166 += method1865(10); + if (i > -60) aLong6169 = 17L; + if (aLong6167 > aLong6166) return (-aLong6166 + aLong6167) / 1000000L; + return 0L; + } + + final void method1856(byte i) { + aLong6169 = 0L; + if (i < 88) method1856((byte) -4); + if (aLong6166 < aLong6167) aLong6166 += aLong6167 + -aLong6166; + } + + private final long method1865(int i) { + long l = System.nanoTime(); + long l_0_ = -aLong6169 + l; + if (i != 10) return -56L; + aLong6169 = l; + if (l_0_ > -5000000000L && l_0_ < 5000000000L) { + aLongArray6171[anInt6170] = l_0_; + if (anInt6168 < 1) anInt6168++; + anInt6170 = (1 + anInt6170) % 10; + } + long l_1_ = 0L; + for (int i_2_ = 1; i_2_ <= anInt6168; i_2_++) + l_1_ += aLongArray6171[(-i_2_ + anInt6170 - -10) % 10]; + return l_1_ / (long) anInt6168; + } + + final int method1859(int i, long l) { + if (i != 71) return 22; + if (aLong6167 <= aLong6166) { + int i_3_ = 0; + do { + i_3_++; + aLong6167 += l; + } while (i_3_ < 10 && (aLong6167 < aLong6166)); + if (aLong6167 < aLong6166) aLong6167 = aLong6166; + return i_3_; + } + aLong6169 += -aLong6166 + aLong6167; + aLong6166 += aLong6167 + -aLong6166; + aLong6167 += l; + return 1; + } + + final long method1862(int i) { + if (i != -18931) return -36L; + return aLong6166; + } + + Component73() { + anInt6168 = 1; + aLongArray6171 = new long[10]; + aLong6166 = System.nanoTime(); + aLong6167 = System.nanoTime(); + } +} diff --git a/client/components/Component75.java b/client/components/Component75.java new file mode 100644 index 000000000..f274dc05e --- /dev/null +++ b/client/components/Component75.java @@ -0,0 +1,52 @@ +/* Component75 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component75 +/** + * RENAMED from `Class173` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2282; + static int anInt2283; + static int anInt2284; + static Component183 aClass114_2285 = new Component183(77, 4); + static long aLong2286 = 0L; + + public final String toString() { + anInt2282++; + throw new IllegalStateException(); + } + + public static void method1329(int i) { + if (i != 4) method1329(95); + aClass114_2285 = null; + } + + static final void method1330(int i, int i_0_, int i_1_) { + anInt2284++; + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i_1_, (byte) 105, 5); + class348_sub42_sub15.method3246(-25490); + if (i_0_ != -19906) method1329(71); + class348_sub42_sub15.anInt9652 = i; + } + + static final byte[] method1331(byte i, Object object, int i_2_, int i_3_) { + anInt2283++; + if (object == null) return null; + if (object instanceof byte[]) { + byte[] is = (byte[]) object; + return ToolkitFactory.method864(i_2_, is, i_3_, -104); + } + if (i < 89) aClass114_2285 = null; + if (object instanceof AbstractBuffer) { + AbstractBuffer class344 = (AbstractBuffer) object; + return class344.getBytes(2, i_3_, i_2_); + } + throw new IllegalArgumentException(); + } + + public Component75() { + /* empty */ + } +} diff --git a/client/components/Component76.java b/client/components/Component76.java new file mode 100644 index 000000000..1297dee3f --- /dev/null +++ b/client/components/Component76.java @@ -0,0 +1,58 @@ +/* Component76 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +class Component76 +/** + * RENAMED from `Class369_Sub3` (JODE-obfuscated). + * Evidence: subclass of Component27 (hierarchy) + */ extends Component27 { + static int anInt8594; + int anInt8595; + static boolean[][] aBooleanArrayArray8596; + int anInt8597; + static int anInt8598; + int anInt8599; + int anInt8600; + static CacheStore aClass45_8601; + int anInt8602; + int anInt8603; + + public DisplayModeManagerContainer369 method51(byte i) { + anInt8594++; + if (i <= 116) return null; + return Component316.aClass223_2489; + } + + static final void method3573(int i) { + synchronized (DisplayModeManagerContainer310.aClass60_355) { + DisplayModeManagerContainer310.aClass60_355.clear(0); + } + anInt8598++; + synchronized (Component387.aClass60_1894) { + Component387.aClass60_1894.clear(0); + } + if (i != -15326) method3573(-67); + } + + Component76(Component85 class221, DisplayModeManagerContainer196 class341, int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_) { + super(class221, class341, i, i_0_, i_1_, i_2_, i_3_, i_4_, i_5_); + try { + this.anInt8600 = i_10_; + this.anInt8602 = i_9_; + this.anInt8603 = i_8_; + this.anInt8599 = i_6_; + this.anInt8597 = i_11_; + this.anInt8595 = i_7_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("um.(" + (class221 != null ? "{...}" : "null") + ',' + (class341 != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + i_1_ + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ',' + i_9_ + ',' + i_10_ + ',' + i_11_ + ')')); + } + } + + public static void method3574(int i) { + if (i == 19499) { + aBooleanArrayArray8596 = null; + aClass45_8601 = null; + } + } +} diff --git a/client/components/Component78.java b/client/components/Component78.java new file mode 100644 index 000000000..c2823dd07 --- /dev/null +++ b/client/components/Component78.java @@ -0,0 +1,51 @@ +/* Component78 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jagdx.IDirect3DBaseTexture; +import jagdx.IDirect3DCubeTexture; +import jagdx.PixelBuffer; +import jagdx.ue; + +final class Component78 +/** + * RENAMED from `Class310_Sub1` (JODE-obfuscated). + * Evidence: subclass of DisplayModeManagerContainer318 (hierarchy) + */ extends DisplayModeManagerContainer318 implements Interface18_Impl2 { + private final int anInt6329; + private final IDirect3DCubeTexture anIDirect3DCubeTexture6330; + + public final void method63(byte i) { + this.aClass378_3893.method3956((byte) -128, this); + if (i > -21) method2314(88); + } + + Component78(D3DToolkit class378, int i, boolean bool, int[][] is) { + super(class378, Component83.aClass304_1662, Component342.aClass68_1183, bool && class378.aBoolean9802, 6 * i * i); + anInt6329 = i; + if (this.aBoolean3892) anIDirect3DCubeTexture6330 = this.aClass378_3893.anIDirect3DDevice9810.a(anInt6329, 0, 1024, 21, 1); + else anIDirect3DCubeTexture6330 = this.aClass378_3893.anIDirect3DDevice9810.a(anInt6329, 1, 0, 21, 1); + PixelBuffer pixelbuffer = (this.aClass378_3893.aPixelBuffer9803); + for (int i_0_ = 0; i_0_ < 6; i_0_++) { + int i_1_ = anIDirect3DCubeTexture6330.LockRect(i_0_, 0, 0, 0, anInt6329, anInt6329, 0, pixelbuffer); + if (ue.a(i_1_, false)) { + int i_2_ = pixelbuffer.getRowPitch(); + if (i_2_ == anInt6329 * 4) pixelbuffer.a(is[i_0_], 0, 0, anInt6329 * anInt6329); + else { + for (int i_3_ = 0; anInt6329 > i_3_; i_3_++) + pixelbuffer.a(is[i_0_], anInt6329 * i_3_, i_3_ * i_2_, anInt6329); + } + anIDirect3DCubeTexture6330.UnlockRect(i_0_, 0); + } + } + } + + final IDirect3DBaseTexture method2314(int i) { + if (i != 17723) method2314(-17); + return anIDirect3DCubeTexture6330; + } + + public final void method64(Component246 class209, int i) { + super.method64(class209, i); + } +} diff --git a/client/components/Component79.java b/client/components/Component79.java new file mode 100644 index 000000000..8fd32f58d --- /dev/null +++ b/client/components/Component79.java @@ -0,0 +1,61 @@ +/* Component79 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component79 +/** + * RENAMED from `Class333` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt4144 = -1; + static int anInt4145; + private LruCache aClass356_4146; + static CacheStore aClass45_4147; + private int anInt4148 = 0; + static int anInt4149; + private Node aClass348_4150; + + static final void method2643(int i, int i_0_, int i_1_, int i_2_, int i_3_) { + if (DisplayModeManagerContainer173.anIntArrayArray4253 != null) DisplayModeManagerContainer173.anIntArrayArray4253[i][i_0_] = ~0xffffff | i_1_; + if (Component175.aShortArrayArray5847 != null) Component175.aShortArrayArray5847[i][i_0_] = (short) i_2_; + if (NodeSub1Sub2.aByteArrayArray8816 != null) NodeSub1Sub2.aByteArrayArray8816[i][i_0_] = (byte) i_3_; + } + + final Node method2644(byte i) { + anInt4148 = 0; + if (i != 123) method2643(-115, 5, -49, 81, 25); + anInt4145++; + return method2646((byte) 117); + } + + public static void method2645(int i) { + if (i != -16777216) method2643(-59, 61, -83, 34, -32); + aClass45_4147 = null; + } + + final Node method2646(byte i) { + anInt4149++; + int i_4_ = -49 / ((i - 44) / 40); + if (anInt4148 > 0 && (aClass356_4146.buckets[-1 + anInt4148] != aClass348_4150)) { + Node class348 = aClass348_4150; + aClass348_4150 = class348.next; + return class348; + } + while (aClass356_4146.capacity > anInt4148) { + Node class348 = (aClass356_4146.buckets[anInt4148++].next); + if (aClass356_4146.buckets[anInt4148 + -1] != class348) { + aClass348_4150 = class348.next; + return class348; + } + } + return null; + } + + public Component79() { + /* empty */ + } + + Component79(LruCache class356) { + aClass356_4146 = class356; + } +} diff --git a/client/components/Component8.java b/client/components/Component8.java new file mode 100644 index 000000000..a5731d202 --- /dev/null +++ b/client/components/Component8.java @@ -0,0 +1,4471 @@ +/* Component8 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component8 +/** + * RENAMED from `Class109` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt1665; + private final GlToolkitSub1 aHa_Sub1_1666; + boolean aBoolean1667 = false; + int anInt1668; + boolean aBoolean1669; + private final Component385 aClass167_1670; + boolean aBoolean1671; + int anInt1672; + private final int[] anIntArray1673; + int anInt1674 = 0; + private boolean aBoolean1675 = false; + int[] anIntArray1676 = new int[4096]; + private final float[] aFloatArray1677; + private final int anInt1678; + int anInt1679; + private final boolean aBoolean1680; + private float aFloat1681; + private float aFloat1682; + private int anInt1683; + private float aFloat1684; + private int[] anIntArray1685; + private int anInt1686; + private final int anInt1687; + private int anInt1688; + private final int anInt1689; + private int anInt1690; + private int anInt1691; + private int[] anIntArray1692; + private int anInt1693; + private boolean aBoolean1694; + private int anInt1695; + private int anInt1696; + private final int anInt1697; + private int[] anIntArray1698; + + private final void method1016(int[] is, int[] is_0_, int i, int i_1_, int i_2_, float f, float f_3_, float f_4_, float f_5_, float f_6_, float f_7_, float f_8_, float f_9_, float f_10_, float f_11_, float f_12_, float f_13_, float f_14_, float f_15_, float f_16_, float f_17_) { + int i_18_ = i_2_ - i_1_; + float f_19_ = 1.0F / (float) i_18_; + float f_20_ = (f_3_ - f) * f_19_; + float f_21_ = (f_5_ - f_4_) * f_19_; + float f_22_ = (f_7_ - f_6_) * f_19_; + float f_23_ = (f_9_ - f_8_) * f_19_; + float f_24_ = (f_11_ - f_10_) * f_19_; + float f_25_ = (f_13_ - f_12_) * f_19_; + float f_26_ = (f_15_ - f_14_) * f_19_; + float f_27_ = (f_17_ - f_16_) * f_19_; + if (this.aBoolean1671) { + if (i_2_ > this.anInt1679) i_2_ = this.anInt1679; + if (i_1_ < 0) { + f -= f_20_ * (float) i_1_; + f_4_ -= f_21_ * (float) i_1_; + f_6_ -= f_22_ * (float) i_1_; + f_8_ -= f_23_ * (float) i_1_; + f_10_ -= f_24_ * (float) i_1_; + f_12_ -= f_25_ * (float) i_1_; + f_14_ -= f_26_ * (float) i_1_; + f_16_ -= f_27_ * (float) i_1_; + i_1_ = 0; + } + } + if (i_1_ < i_2_) { + i_18_ = i_2_ - i_1_; + i += i_1_; + while (i_18_-- > 0) { + float f_28_ = 1.0F / f; + if (f_28_ < aFloatArray1677[i]) { + int i_29_ = (int) (f_4_ * f_28_ * (float) anInt1693); + if (aBoolean1694) i_29_ &= anInt1690; + else if (i_29_ < 0) i_29_ = 0; + else if (i_29_ > anInt1690) i_29_ = anInt1690; + int i_30_ = (int) (f_6_ * f_28_ * (float) anInt1693); + if (aBoolean1694) i_30_ &= anInt1690; + else if (i_30_ < 0) i_30_ = 0; + else if (i_30_ > anInt1690) i_30_ = anInt1690; + int i_31_ = anIntArray1698[i_30_ * anInt1693 + i_29_]; + int i_32_ = 255; + if (anInt1683 == 2) i_32_ = i_31_ >> 24 & 0xff; + else if (anInt1683 == 1) i_32_ = i_31_ == 0 ? 0 : 255; + else i_32_ = (int) f_10_; + if (i_32_ != 0) { + if (i_32_ == 255) { + int i_38_ = (~0xffffff | ((int) (f_12_ * (float) (i_31_ >> 16 & 0xff)) << 8 & 0xff0000) | (int) (f_14_ * (float) (i_31_ >> 8 & 0xff)) & 0xff00 | ((int) (f_16_ * (float) (i_31_ & 0xff)) >> 8)); + if (f_8_ != 0.0F) { + int i_39_ = (int) (255.0F - f_8_); + int i_40_ = ((((anInt1696 & 0xff00ff) * (int) f_8_ & ~0xff00ff) | ((anInt1696 & 0xff00) * (int) f_8_ & 0xff0000)) >>> 8); + i_38_ = (((i_38_ & 0xff00ff) * i_39_ & ~0xff00ff | (i_38_ & 0xff00) * i_39_ & 0xff0000) >>> 8) + i_40_; + } + is[i] = i_38_; + aFloatArray1677[i] = f_28_; + } else { + int i_33_ = (~0xffffff | ((int) (f_12_ * (float) (i_31_ >> 16 & 0xff)) << 8 & 0xff0000) | (int) (f_14_ * (float) (i_31_ >> 8 & 0xff)) & 0xff00 | ((int) (f_16_ * (float) (i_31_ & 0xff)) >> 8)); + if (f_8_ != 0.0F) { + int i_34_ = (int) (255.0F - f_8_); + int i_35_ = ((((anInt1696 & 0xff00ff) * (int) f_8_ & ~0xff00ff) | ((anInt1696 & 0xff00) * (int) f_8_ & 0xff0000)) >>> 8); + i_33_ = (((i_33_ & 0xff00ff) * i_34_ & ~0xff00ff | (i_33_ & 0xff00) * i_34_ & 0xff0000) >>> 8) + i_35_; + } + int i_36_ = is[i]; + int i_37_ = 255 - i_32_; + i_33_ = ((((i_36_ & 0xff00ff) * i_37_ + (i_33_ & 0xff00ff) * i_32_) & ~0xff00ff) + (((i_36_ & 0xff00) * i_37_ + (i_33_ & 0xff00) * i_32_) & 0xff0000)) >> 8; + is[i] = i_33_; + aFloatArray1677[i] = f_28_; + } + } + } + i++; + f += f_20_; + f_4_ += f_21_; + f_6_ += f_22_; + f_8_ += f_23_; + f_10_ += f_24_; + f_12_ += f_25_; + f_14_ += f_26_; + f_16_ += f_27_; + } + } + } + + final int method1017() { + return this.anIntArray1676[0] / anInt1678; + } + + final void method1018(float f, float f_41_, float f_42_, float f_43_, float f_44_, float f_45_, float f_46_, float f_47_, float f_48_, int i) { + if (aBoolean1675) { + aHa_Sub1_1666.method3645((int) f, (int) f_43_, (int) f_44_, -8003, i, (int) f_41_); + aHa_Sub1_1666.method3645((int) f_41_, (int) f_44_, (int) f_45_, -8003, i, (int) f_42_); + aHa_Sub1_1666.method3645((int) f_42_, (int) f_45_, (int) f_43_, -8003, i, (int) f); + } else { + float f_49_ = f_44_ - f_43_; + float f_50_ = f_41_ - f; + float f_51_ = f_45_ - f_43_; + float f_52_ = f_42_ - f; + float f_53_ = f_47_ - f_46_; + float f_54_ = f_48_ - f_46_; + float f_55_ = 0.0F; + if (f_41_ != f) f_55_ = (f_44_ - f_43_) / (f_41_ - f); + float f_56_ = 0.0F; + if (f_42_ != f_41_) f_56_ = (f_45_ - f_44_) / (f_42_ - f_41_); + float f_57_ = 0.0F; + if (f_42_ != f) f_57_ = (f_43_ - f_45_) / (f - f_42_); + float f_58_ = f_49_ * f_52_ - f_51_ * f_50_; + if (f_58_ != 0.0F) { + float f_59_ = (f_53_ * f_52_ - f_54_ * f_50_) / f_58_; + float f_60_ = (f_54_ * f_49_ - f_53_ * f_51_) / f_58_; + if (f <= f_41_ && f <= f_42_) { + if (!(f >= (float) this.anInt1672)) { + if (f_41_ > (float) this.anInt1672) f_41_ = (float) this.anInt1672; + if (f_42_ > (float) this.anInt1672) f_42_ = (float) this.anInt1672; + f_46_ = f_46_ - f_59_ * f_43_ + f_59_; + if (f_41_ < f_42_) { + f_45_ = f_43_; + if (f < 0.0F) { + f_45_ -= f_57_ * f; + f_43_ -= f_55_ * f; + f_46_ -= f_60_ * f; + f = 0.0F; + } + if (f_41_ < 0.0F) { + f_44_ -= f_56_ * f_41_; + f_41_ = 0.0F; + } + if (f != f_41_ && f_57_ < f_55_ || f == f_41_ && f_57_ > f_56_) { + f_42_ -= f_41_; + f_41_ -= f; + f = (float) (this.anIntArray1676[(int) f]); + while (--f_41_ >= 0.0F) { + method1026(anIntArray1673, aFloatArray1677, (int) f, i, 0, (int) f_45_, (int) f_43_, f_46_, f_59_); + f_45_ += f_57_; + f_43_ += f_55_; + f_46_ += f_60_; + f += (float) anInt1678; + } + while (--f_42_ >= 0.0F) { + method1026(anIntArray1673, aFloatArray1677, (int) f, i, 0, (int) f_45_, (int) f_44_, f_46_, f_59_); + f_45_ += f_57_; + f_44_ += f_56_; + f_46_ += f_60_; + f += (float) anInt1678; + } + } else { + f_42_ -= f_41_; + f_41_ -= f; + f = (float) (this.anIntArray1676[(int) f]); + while (--f_41_ >= 0.0F) { + method1026(anIntArray1673, aFloatArray1677, (int) f, i, 0, (int) f_43_, (int) f_45_, f_46_, f_59_); + f_45_ += f_57_; + f_43_ += f_55_; + f_46_ += f_60_; + f += (float) anInt1678; + } + while (--f_42_ >= 0.0F) { + method1026(anIntArray1673, aFloatArray1677, (int) f, i, 0, (int) f_44_, (int) f_45_, f_46_, f_59_); + f_45_ += f_57_; + f_44_ += f_56_; + f_46_ += f_60_; + f += (float) anInt1678; + } + } + } else { + f_44_ = f_43_; + if (f < 0.0F) { + f_44_ -= f_57_ * f; + f_43_ -= f_55_ * f; + f_46_ -= f_60_ * f; + f = 0.0F; + } + if (f_42_ < 0.0F) { + f_45_ -= f_56_ * f_42_; + f_42_ = 0.0F; + } + if (f != f_42_ && f_57_ < f_55_ || f == f_42_ && f_56_ > f_55_) { + f_41_ -= f_42_; + f_42_ -= f; + f = (float) (this.anIntArray1676[(int) f]); + while (--f_42_ >= 0.0F) { + method1026(anIntArray1673, aFloatArray1677, (int) f, i, 0, (int) f_44_, (int) f_43_, f_46_, f_59_); + f_44_ += f_57_; + f_43_ += f_55_; + f_46_ += f_60_; + f += (float) anInt1678; + } + while (--f_41_ >= 0.0F) { + method1026(anIntArray1673, aFloatArray1677, (int) f, i, 0, (int) f_45_, (int) f_43_, f_46_, f_59_); + f_45_ += f_56_; + f_43_ += f_55_; + f_46_ += f_60_; + f += (float) anInt1678; + } + } else { + f_41_ -= f_42_; + f_42_ -= f; + f = (float) (this.anIntArray1676[(int) f]); + while (--f_42_ >= 0.0F) { + method1026(anIntArray1673, aFloatArray1677, (int) f, i, 0, (int) f_43_, (int) f_44_, f_46_, f_59_); + f_44_ += f_57_; + f_43_ += f_55_; + f_46_ += f_60_; + f += (float) anInt1678; + } + while (--f_41_ >= 0.0F) { + method1026(anIntArray1673, aFloatArray1677, (int) f, i, 0, (int) f_43_, (int) f_45_, f_46_, f_59_); + f_45_ += f_56_; + f_43_ += f_55_; + f_46_ += f_60_; + f += (float) anInt1678; + } + } + } + } + } else if (f_41_ <= f_42_) { + if (!(f_41_ >= (float) this.anInt1672)) { + if (f_42_ > (float) this.anInt1672) f_42_ = (float) this.anInt1672; + if (f > (float) this.anInt1672) f = (float) this.anInt1672; + f_47_ = f_47_ - f_59_ * f_44_ + f_59_; + if (f_42_ < f) { + f_43_ = f_44_; + if (f_41_ < 0.0F) { + f_43_ -= f_55_ * f_41_; + f_44_ -= f_56_ * f_41_; + f_47_ -= f_60_ * f_41_; + f_41_ = 0.0F; + } + if (f_42_ < 0.0F) { + f_45_ -= f_57_ * f_42_; + f_42_ = 0.0F; + } + if (f_41_ != f_42_ && f_55_ < f_56_ || f_41_ == f_42_ && f_55_ > f_57_) { + f -= f_42_; + f_42_ -= f_41_; + f_41_ = (float) (this.anIntArray1676[(int) f_41_]); + while (--f_42_ >= 0.0F) { + method1026(anIntArray1673, aFloatArray1677, (int) f_41_, i, 0, (int) f_43_, (int) f_44_, f_47_, f_59_); + f_43_ += f_55_; + f_44_ += f_56_; + f_47_ += f_60_; + f_41_ += (float) anInt1678; + } + while (--f >= 0.0F) { + method1026(anIntArray1673, aFloatArray1677, (int) f_41_, i, 0, (int) f_43_, (int) f_45_, f_47_, f_59_); + f_43_ += f_55_; + f_45_ += f_57_; + f_47_ += f_60_; + f_41_ += (float) anInt1678; + } + } else { + f -= f_42_; + f_42_ -= f_41_; + f_41_ = (float) (this.anIntArray1676[(int) f_41_]); + while (--f_42_ >= 0.0F) { + method1026(anIntArray1673, aFloatArray1677, (int) f_41_, i, 0, (int) f_44_, (int) f_43_, f_47_, f_59_); + f_43_ += f_55_; + f_44_ += f_56_; + f_47_ += f_60_; + f_41_ += (float) anInt1678; + } + while (--f >= 0.0F) { + method1026(anIntArray1673, aFloatArray1677, (int) f_41_, i, 0, (int) f_45_, (int) f_43_, f_47_, f_59_); + f_43_ += f_55_; + f_45_ += f_57_; + f_47_ += f_60_; + f_41_ += (float) anInt1678; + } + } + } else { + f_45_ = f_44_; + if (f_41_ < 0.0F) { + f_45_ -= f_55_ * f_41_; + f_44_ -= f_56_ * f_41_; + f_47_ -= f_60_ * f_41_; + f_41_ = 0.0F; + } + if (f < 0.0F) { + f_43_ -= f_57_ * f; + f = 0.0F; + } + if (f_55_ < f_56_) { + f_42_ -= f; + f -= f_41_; + f_41_ = (float) (this.anIntArray1676[(int) f_41_]); + while (--f >= 0.0F) { + method1026(anIntArray1673, aFloatArray1677, (int) f_41_, i, 0, (int) f_45_, (int) f_44_, f_47_, f_59_); + f_45_ += f_55_; + f_44_ += f_56_; + f_47_ += f_60_; + f_41_ += (float) anInt1678; + } + while (--f_42_ >= 0.0F) { + method1026(anIntArray1673, aFloatArray1677, (int) f_41_, i, 0, (int) f_43_, (int) f_44_, f_47_, f_59_); + f_43_ += f_57_; + f_44_ += f_56_; + f_47_ += f_60_; + f_41_ += (float) anInt1678; + } + } else { + f_42_ -= f; + f -= f_41_; + f_41_ = (float) (this.anIntArray1676[(int) f_41_]); + while (--f >= 0.0F) { + method1026(anIntArray1673, aFloatArray1677, (int) f_41_, i, 0, (int) f_44_, (int) f_45_, f_47_, f_59_); + f_45_ += f_55_; + f_44_ += f_56_; + f_47_ += f_60_; + f_41_ += (float) anInt1678; + } + while (--f_42_ >= 0.0F) { + method1026(anIntArray1673, aFloatArray1677, (int) f_41_, i, 0, (int) f_44_, (int) f_43_, f_47_, f_59_); + f_43_ += f_57_; + f_44_ += f_56_; + f_47_ += f_60_; + f_41_ += (float) anInt1678; + } + } + } + } + } else if (!(f_42_ >= (float) this.anInt1672)) { + if (f > (float) this.anInt1672) f = (float) this.anInt1672; + if (f_41_ > (float) this.anInt1672) f_41_ = (float) this.anInt1672; + f_48_ = f_48_ - f_59_ * f_45_ + f_59_; + if (f < f_41_) { + f_44_ = f_45_; + if (f_42_ < 0.0F) { + f_44_ -= f_56_ * f_42_; + f_45_ -= f_57_ * f_42_; + f_48_ -= f_60_ * f_42_; + f_42_ = 0.0F; + } + if (f < 0.0F) { + f_43_ -= f_55_ * f; + f = 0.0F; + } + if (f_56_ < f_57_) { + f_41_ -= f; + f -= f_42_; + f_42_ = (float) (this.anIntArray1676[(int) f_42_]); + while (--f >= 0.0F) { + method1026(anIntArray1673, aFloatArray1677, (int) f_42_, i, 0, (int) f_44_, (int) f_45_, f_48_, f_59_); + f_44_ += f_56_; + f_45_ += f_57_; + f_48_ += f_60_; + f_42_ += (float) anInt1678; + } + while (--f_41_ >= 0.0F) { + method1026(anIntArray1673, aFloatArray1677, (int) f_42_, i, 0, (int) f_44_, (int) f_43_, f_48_, f_59_); + f_44_ += f_56_; + f_43_ += f_55_; + f_48_ += f_60_; + f_42_ += (float) anInt1678; + } + } else { + f_41_ -= f; + f -= f_42_; + f_42_ = (float) (this.anIntArray1676[(int) f_42_]); + while (--f >= 0.0F) { + method1026(anIntArray1673, aFloatArray1677, (int) f_42_, i, 0, (int) f_45_, (int) f_44_, f_48_, f_59_); + f_44_ += f_56_; + f_45_ += f_57_; + f_48_ += f_60_; + f_42_ += (float) anInt1678; + } + while (--f_41_ >= 0.0F) { + method1026(anIntArray1673, aFloatArray1677, (int) f_42_, i, 0, (int) f_43_, (int) f_44_, f_48_, f_59_); + f_44_ += f_56_; + f_43_ += f_55_; + f_48_ += f_60_; + f_42_ += (float) anInt1678; + } + } + } else { + f_43_ = f_45_; + if (f_42_ < 0.0F) { + f_43_ -= f_56_ * f_42_; + f_45_ -= f_57_ * f_42_; + f_48_ -= f_60_ * f_42_; + f_42_ = 0.0F; + } + if (f_41_ < 0.0F) { + f_44_ -= f_55_ * f_41_; + f_41_ = 0.0F; + } + if (f_56_ < f_57_) { + f -= f_41_; + f_41_ -= f_42_; + f_42_ = (float) (this.anIntArray1676[(int) f_42_]); + while (--f_41_ >= 0.0F) { + method1026(anIntArray1673, aFloatArray1677, (int) f_42_, i, 0, (int) f_43_, (int) f_45_, f_48_, f_59_); + f_43_ += f_56_; + f_45_ += f_57_; + f_48_ += f_60_; + f_42_ += (float) anInt1678; + } + while (--f >= 0.0F) { + method1026(anIntArray1673, aFloatArray1677, (int) f_42_, i, 0, (int) f_44_, (int) f_45_, f_48_, f_59_); + f_44_ += f_55_; + f_45_ += f_57_; + f_48_ += f_60_; + f_42_ += (float) anInt1678; + } + } else { + f -= f_41_; + f_41_ -= f_42_; + f_42_ = (float) (this.anIntArray1676[(int) f_42_]); + while (--f_41_ >= 0.0F) { + method1026(anIntArray1673, aFloatArray1677, (int) f_42_, i, 0, (int) f_45_, (int) f_43_, f_48_, f_59_); + f_43_ += f_56_; + f_45_ += f_57_; + f_48_ += f_60_; + f_42_ += (float) anInt1678; + } + while (--f >= 0.0F) { + method1026(anIntArray1673, aFloatArray1677, (int) f_42_, i, 0, (int) f_45_, (int) f_44_, f_48_, f_59_); + f_44_ += f_55_; + f_45_ += f_57_; + f_48_ += f_60_; + f_42_ += (float) anInt1678; + } + } + } + } + } + } + } + + private final void method1019(int[] is, float[] fs, int i, int i_61_, int i_62_, int i_63_, int i_64_, float f, float f_65_, float f_66_, float f_67_) { + if (this.aBoolean1671) { + if (i_64_ > this.anInt1679) i_64_ = this.anInt1679; + if (i_63_ < 0) i_63_ = 0; + } + if (i_63_ < i_64_) { + i += i_63_ - 1; + f += f_65_ * (float) i_63_; + f_66_ += f_67_ * (float) i_63_; + if (aClass167_1670.aBoolean2202) { + do { + if (this.aBoolean1669) { + i_62_ = i_64_ - i_63_ >> 2; + f_65_ *= 4.0F; + if (this.anInt1674 == 0) { + if (i_62_ > 0) { + do { + i_61_ = Component380.anIntArray4983[(int) f]; + f += f_65_; + if (f_66_ < fs[++i]) { + is[i] = i_61_; + fs[i] = f_66_; + } + f_66_ += f_67_; + if (f_66_ < fs[++i]) { + is[i] = i_61_; + fs[i] = f_66_; + } + f_66_ += f_67_; + if (f_66_ < fs[++i]) { + is[i] = i_61_; + fs[i] = f_66_; + } + f_66_ += f_67_; + if (f_66_ < fs[++i]) { + is[i] = i_61_; + fs[i] = f_66_; + } + f_66_ += f_67_; + } while (--i_62_ > 0); + } + i_62_ = i_64_ - i_63_ & 0x3; + if (i_62_ > 0) { + i_61_ = Component380.anIntArray4983[(int) f]; + do { + if (f_66_ < fs[++i]) { + is[i] = i_61_; + fs[i] = f_66_; + } + f_66_ += f_67_; + } while (--i_62_ > 0); + } + } else { + int i_68_ = this.anInt1674; + int i_69_ = 256 - this.anInt1674; + if (i_62_ > 0) { + do { + i_61_ = Component380.anIntArray4983[(int) f]; + f += f_65_; + i_61_ = (((i_61_ & 0xff00ff) * i_69_ >> 8 & 0xff00ff) + ((i_61_ & 0xff00) * i_69_ >> 8 & 0xff00)); + if (f_66_ < fs[++i]) { + int i_70_ = is[i]; + is[i] = (i_61_ + (((i_70_ & 0xff00ff) * i_68_ >> 8) & 0xff00ff) + ((i_70_ & 0xff00) * i_68_ >> 8 & 0xff00)); + fs[i] = f_66_; + } + f_66_ += f_67_; + if (f_66_ < fs[++i]) { + int i_71_ = is[i]; + is[i] = (i_61_ + (((i_71_ & 0xff00ff) * i_68_ >> 8) & 0xff00ff) + ((i_71_ & 0xff00) * i_68_ >> 8 & 0xff00)); + fs[i] = f_66_; + } + f_66_ += f_67_; + if (f_66_ < fs[++i]) { + int i_72_ = is[i]; + is[i] = (i_61_ + (((i_72_ & 0xff00ff) * i_68_ >> 8) & 0xff00ff) + ((i_72_ & 0xff00) * i_68_ >> 8 & 0xff00)); + fs[i] = f_66_; + } + f_66_ += f_67_; + if (f_66_ < fs[++i]) { + int i_73_ = is[i]; + is[i] = (i_61_ + (((i_73_ & 0xff00ff) * i_68_ >> 8) & 0xff00ff) + ((i_73_ & 0xff00) * i_68_ >> 8 & 0xff00)); + fs[i] = f_66_; + } + f_66_ += f_67_; + } while (--i_62_ > 0); + } + i_62_ = i_64_ - i_63_ & 0x3; + if (i_62_ <= 0) break; + i_61_ = Component380.anIntArray4983[(int) f]; + i_61_ = (((i_61_ & 0xff00ff) * i_69_ >> 8 & 0xff00ff) + ((i_61_ & 0xff00) * i_69_ >> 8 & 0xff00)); + do { + if (f_66_ < fs[++i]) { + int i_74_ = is[i]; + is[i] = (i_61_ + ((i_74_ & 0xff00ff) * i_68_ >> 8 & 0xff00ff) + ((i_74_ & 0xff00) * i_68_ >> 8 & 0xff00)); + fs[i] = f_66_; + } + f_66_ += f_67_; + } while (--i_62_ > 0); + } + break; + } + i_62_ = i_64_ - i_63_; + if (this.anInt1674 == 0) { + do { + if (f_66_ < fs[++i]) { + is[i] = Component380.anIntArray4983[(int) f]; + fs[i] = f_66_; + } + f_66_ += f_67_; + f += f_65_; + } while (--i_62_ > 0); + break; + } + int i_75_ = this.anInt1674; + int i_76_ = 256 - this.anInt1674; + do { + if (f_66_ < fs[++i]) { + i_61_ = Component380.anIntArray4983[(int) f]; + i_61_ = (((i_61_ & 0xff00ff) * i_76_ >> 8 & 0xff00ff) + ((i_61_ & 0xff00) * i_76_ >> 8 & 0xff00)); + int i_77_ = is[i]; + is[i] = (i_61_ + ((i_77_ & 0xff00ff) * i_75_ >> 8 & 0xff00ff) + ((i_77_ & 0xff00) * i_75_ >> 8 & 0xff00)); + fs[i] = f_66_; + } + f += f_65_; + f_66_ += f_67_; + } while (--i_62_ > 0); + } while (false); + } else { + do { + if (this.aBoolean1669) { + i_62_ = i_64_ - i_63_ >> 2; + f_65_ *= 4.0F; + if (this.anInt1674 == 0) { + if (i_62_ > 0) { + do { + i_61_ = Component380.anIntArray4983[(int) f]; + f += f_65_; + if (f_66_ < fs[++i]) is[i] = i_61_; + f_66_ += f_67_; + if (f_66_ < fs[++i]) is[i] = i_61_; + f_66_ += f_67_; + if (f_66_ < fs[++i]) is[i] = i_61_; + f_66_ += f_67_; + if (f_66_ < fs[++i]) is[i] = i_61_; + f_66_ += f_67_; + } while (--i_62_ > 0); + } + i_62_ = i_64_ - i_63_ & 0x3; + if (i_62_ > 0) { + i_61_ = Component380.anIntArray4983[(int) f]; + do { + if (f_66_ < fs[++i]) is[i] = i_61_; + f_66_ += f_67_; + } while (--i_62_ > 0); + } + } else { + int i_78_ = this.anInt1674; + int i_79_ = 256 - this.anInt1674; + if (i_62_ > 0) { + do { + i_61_ = Component380.anIntArray4983[(int) f]; + f += f_65_; + i_61_ = (((i_61_ & 0xff00ff) * i_79_ >> 8 & 0xff00ff) + ((i_61_ & 0xff00) * i_79_ >> 8 & 0xff00)); + if (f_66_ < fs[++i]) { + int i_80_ = is[i]; + is[i] = (i_61_ + (((i_80_ & 0xff00ff) * i_78_ >> 8) & 0xff00ff) + ((i_80_ & 0xff00) * i_78_ >> 8 & 0xff00)); + } + f_66_ += f_67_; + if (f_66_ < fs[++i]) { + int i_81_ = is[i]; + is[i] = (i_61_ + (((i_81_ & 0xff00ff) * i_78_ >> 8) & 0xff00ff) + ((i_81_ & 0xff00) * i_78_ >> 8 & 0xff00)); + } + f_66_ += f_67_; + if (f_66_ < fs[++i]) { + int i_82_ = is[i]; + is[i] = (i_61_ + (((i_82_ & 0xff00ff) * i_78_ >> 8) & 0xff00ff) + ((i_82_ & 0xff00) * i_78_ >> 8 & 0xff00)); + } + f_66_ += f_67_; + if (f_66_ < fs[++i]) { + int i_83_ = is[i]; + is[i] = (i_61_ + (((i_83_ & 0xff00ff) * i_78_ >> 8) & 0xff00ff) + ((i_83_ & 0xff00) * i_78_ >> 8 & 0xff00)); + } + f_66_ += f_67_; + } while (--i_62_ > 0); + } + i_62_ = i_64_ - i_63_ & 0x3; + if (i_62_ <= 0) break; + i_61_ = Component380.anIntArray4983[(int) f]; + i_61_ = (((i_61_ & 0xff00ff) * i_79_ >> 8 & 0xff00ff) + ((i_61_ & 0xff00) * i_79_ >> 8 & 0xff00)); + do { + if (f_66_ < fs[++i]) { + int i_84_ = is[i]; + is[i] = (i_61_ + ((i_84_ & 0xff00ff) * i_78_ >> 8 & 0xff00ff) + ((i_84_ & 0xff00) * i_78_ >> 8 & 0xff00)); + } + f_66_ += f_67_; + } while (--i_62_ > 0); + } + break; + } + i_62_ = i_64_ - i_63_; + if (this.anInt1674 == 0) { + do { + if (f_66_ < fs[++i]) is[i] = Component380.anIntArray4983[(int) f]; + f_66_ += f_67_; + f += f_65_; + } while (--i_62_ > 0); + break; + } + int i_85_ = this.anInt1674; + int i_86_ = 256 - this.anInt1674; + do { + if (f_66_ < fs[++i]) { + i_61_ = Component380.anIntArray4983[(int) f]; + i_61_ = (((i_61_ & 0xff00ff) * i_86_ >> 8 & 0xff00ff) + ((i_61_ & 0xff00) * i_86_ >> 8 & 0xff00)); + int i_87_ = is[i]; + is[i] = (i_61_ + ((i_87_ & 0xff00ff) * i_85_ >> 8 & 0xff00ff) + ((i_87_ & 0xff00) * i_85_ >> 8 & 0xff00)); + } + f += f_65_; + f_66_ += f_67_; + } while (--i_62_ > 0); + } while (false); + } + } + } + + final void method1020(float f, float f_88_, float f_89_, float f_90_, float f_91_, float f_92_, float f_93_, float f_94_, float f_95_, float f_96_, float f_97_, float f_98_, float f_99_, float f_100_, float f_101_, int i, int i_102_, int i_103_, int i_104_, int i_105_, int i_106_, int i_107_, int i_108_, float f_109_, int i_110_, float f_111_, int i_112_, float f_113_) { + if (i_108_ != anInt1697) { + anIntArray1698 = aHa_Sub1_1666.method3718(i_108_); + if (anIntArray1698 == null) { + method1027((float) (int) f, (float) (int) f_88_, (float) (int) f_89_, (float) (int) f_90_, (float) (int) f_91_, (float) (int) f_92_, (float) (int) f_93_, (float) (int) f_94_, (float) (int) f_95_, BuildInfo.method206(i, i_104_ | i_105_ << 24, 255), BuildInfo.method206(i_102_, i_104_ | i_106_ << 24, 255), BuildInfo.method206(i_103_, i_104_ | i_107_ << 24, 255)); + return; + } + anInt1693 = (aHa_Sub1_1666.method3727(i_108_) ? 64 : aHa_Sub1_1666.anInt7501); + anInt1690 = anInt1693 - 1; + anInt1683 = aHa_Sub1_1666.method3726(i_108_); + } + aFloat1681 = f_109_; + if (i_110_ != anInt1689) { + anIntArray1685 = aHa_Sub1_1666.method3718(i_110_); + if (anIntArray1685 == null) { + method1027((float) (int) f, (float) (int) f_88_, (float) (int) f_89_, (float) (int) f_90_, (float) (int) f_91_, (float) (int) f_92_, (float) (int) f_93_, (float) (int) f_94_, (float) (int) f_95_, BuildInfo.method206(i, i_104_ | i_105_ << 24, 255), BuildInfo.method206(i_102_, i_104_ | i_106_ << 24, 255), BuildInfo.method206(i_103_, i_104_ | i_107_ << 24, 255)); + return; + } + anInt1691 = (aHa_Sub1_1666.method3727(i_110_) ? 64 : aHa_Sub1_1666.anInt7501); + anInt1686 = anInt1691 - 1; + } + aFloat1684 = f_111_; + if (i_112_ != anInt1687) { + anIntArray1692 = aHa_Sub1_1666.method3718(i_112_); + if (anIntArray1692 == null) { + method1027((float) (int) f, (float) (int) f_88_, (float) (int) f_89_, (float) (int) f_90_, (float) (int) f_91_, (float) (int) f_92_, (float) (int) f_93_, (float) (int) f_94_, (float) (int) f_95_, BuildInfo.method206(i, i_104_ | i_105_ << 24, 255), BuildInfo.method206(i_102_, i_104_ | i_106_ << 24, 255), BuildInfo.method206(i_103_, i_104_ | i_107_ << 24, 255)); + return; + } + anInt1695 = (aHa_Sub1_1666.method3727(i_112_) ? 64 : aHa_Sub1_1666.anInt7501); + anInt1688 = anInt1695 - 1; + } + aFloat1682 = f_113_; + anInt1696 = i_104_; + float f_114_ = (float) (i >> 24 & 0xff); + float f_115_ = (float) (i_102_ >> 24 & 0xff); + float f_116_ = (float) (i_103_ >> 24 & 0xff); + float f_117_ = (float) (i >> 16 & 0xff); + float f_118_ = (float) (i_102_ >> 16 & 0xff); + float f_119_ = (float) (i_103_ >> 16 & 0xff); + float f_120_ = (float) (i >> 8 & 0xff); + float f_121_ = (float) (i_102_ >> 8 & 0xff); + float f_122_ = (float) (i_103_ >> 8 & 0xff); + float f_123_ = (float) (i & 0xff); + float f_124_ = (float) (i_102_ & 0xff); + float f_125_ = (float) (i_103_ & 0xff); + f_96_ /= f_93_; + f_97_ /= f_94_; + f_98_ /= f_95_; + f_99_ /= f_93_; + f_100_ /= f_94_; + f_101_ /= f_95_; + f_93_ = 1.0F / f_93_; + f_94_ = 1.0F / f_94_; + f_95_ = 1.0F / f_95_; + float f_126_ = 1.0F; + float f_127_ = 0.0F; + float f_128_ = 0.0F; + float f_129_ = 0.0F; + float f_130_ = 1.0F; + float f_131_ = 0.0F; + float f_132_ = 0.0F; + float f_133_ = 0.0F; + float f_134_ = 0.0F; + float f_135_ = 0.0F; + float f_136_ = 0.0F; + float f_137_ = 0.0F; + float f_138_ = 0.0F; + float f_139_ = 0.0F; + float f_140_ = 0.0F; + float f_141_ = 0.0F; + float f_142_ = 0.0F; + if (f_88_ != f) { + float f_143_ = f_88_ - f; + f_132_ = (f_91_ - f_90_) / f_143_; + f_133_ = (f_94_ - f_93_) / f_143_; + f_134_ = (f_97_ - f_96_) / f_143_; + f_135_ = (f_100_ - f_99_) / f_143_; + f_136_ = (float) (i_106_ - i_105_) / f_143_; + f_137_ = (f_115_ - f_114_) / f_143_; + f_138_ = (f_118_ - f_117_) / f_143_; + f_139_ = (f_121_ - f_120_) / f_143_; + f_140_ = (f_124_ - f_123_) / f_143_; + f_141_ = (f_127_ - f_126_) / f_143_; + f_142_ = (f_130_ - f_129_) / f_143_; + } + float f_144_ = 0.0F; + float f_145_ = 0.0F; + float f_146_ = 0.0F; + float f_147_ = 0.0F; + float f_148_ = 0.0F; + float f_149_ = 0.0F; + float f_150_ = 0.0F; + float f_151_ = 0.0F; + float f_152_ = 0.0F; + float f_153_ = 0.0F; + float f_154_ = 0.0F; + if (f_89_ != f_88_) { + float f_155_ = f_89_ - f_88_; + f_144_ = (f_92_ - f_91_) / f_155_; + f_145_ = (f_95_ - f_94_) / f_155_; + f_146_ = (f_98_ - f_97_) / f_155_; + f_147_ = (f_101_ - f_100_) / f_155_; + f_148_ = (float) (i_107_ - i_106_) / f_155_; + f_149_ = (f_116_ - f_115_) / f_155_; + f_150_ = (f_119_ - f_118_) / f_155_; + f_151_ = (f_122_ - f_121_) / f_155_; + f_152_ = (f_125_ - f_124_) / f_155_; + f_153_ = (f_128_ - f_127_) / f_155_; + f_154_ = (f_131_ - f_130_) / f_155_; + } + float f_156_ = 0.0F; + float f_157_ = 0.0F; + float f_158_ = 0.0F; + float f_159_ = 0.0F; + float f_160_ = 0.0F; + float f_161_ = 0.0F; + float f_162_ = 0.0F; + float f_163_ = 0.0F; + float f_164_ = 0.0F; + float f_165_ = 0.0F; + float f_166_ = 0.0F; + if (f != f_89_) { + float f_167_ = f - f_89_; + f_156_ = (f_90_ - f_92_) / f_167_; + f_157_ = (f_93_ - f_95_) / f_167_; + f_158_ = (f_96_ - f_98_) / f_167_; + f_159_ = (f_99_ - f_101_) / f_167_; + f_160_ = (float) (i_105_ - i_107_) / f_167_; + f_161_ = (f_114_ - f_116_) / f_167_; + f_162_ = (f_117_ - f_119_) / f_167_; + f_163_ = (f_120_ - f_122_) / f_167_; + f_164_ = (f_123_ - f_125_) / f_167_; + f_165_ = (f_126_ - f_128_) / f_167_; + f_166_ = (f_129_ - f_131_) / f_167_; + } + if (f <= f_88_ && f <= f_89_) { + if (!(f >= (float) this.anInt1672)) { + if (f_88_ > (float) this.anInt1672) f_88_ = (float) this.anInt1672; + if (f_89_ > (float) this.anInt1672) f_89_ = (float) this.anInt1672; + if (f_88_ < f_89_) { + f_92_ = f_90_; + f_95_ = f_93_; + f_98_ = f_96_; + f_101_ = f_99_; + i_107_ = i_105_; + f_116_ = f_114_; + f_119_ = f_117_; + f_122_ = f_120_; + f_125_ = f_123_; + f_128_ = f_126_; + f_131_ = f_129_; + if (f < 0.0F) { + f_90_ -= f_132_ * f; + f_92_ -= f_156_ * f; + f_93_ -= f_133_ * f; + f_95_ -= f_157_ * f; + f_96_ -= f_134_ * f; + f_98_ -= f_158_ * f; + f_99_ -= f_135_ * f; + f_101_ -= f_159_ * f; + i_105_ -= f_136_ * f; + i_107_ -= f_160_ * f; + f_114_ -= f_137_ * f; + f_116_ -= f_161_ * f; + f_117_ -= f_138_ * f; + f_119_ -= f_162_ * f; + f_120_ -= f_139_ * f; + f_122_ -= f_163_ * f; + f_123_ -= f_140_ * f; + f_125_ -= f_164_ * f; + f_126_ -= f_141_ * f; + f_128_ -= f_165_ * f; + f_129_ -= f_142_ * f; + f_131_ -= f_166_ * f; + f = 0.0F; + } + if (f_88_ < 0.0F) { + f_91_ -= f_144_ * f_88_; + f_94_ -= f_145_ * f_88_; + f_97_ -= f_146_ * f_88_; + f_100_ -= f_147_ * f_88_; + i_106_ -= f_148_ * f_88_; + f_115_ -= f_149_ * f_88_; + f_118_ -= f_150_ * f_88_; + f_121_ -= f_151_ * f_88_; + f_124_ -= f_152_ * f_88_; + f_127_ -= f_153_ * f_88_; + f_130_ -= f_154_ * f_88_; + f_88_ = 0.0F; + } + if (f != f_88_ && f_156_ < f_132_ || f == f_88_ && f_156_ > f_144_) { + f_89_ -= f_88_; + f_88_ -= f; + f = (float) this.anIntArray1676[(int) f]; + while (--f_88_ >= 0.0F) { + method1025(anIntArray1673, anIntArray1698, (int) f, (int) f_92_, (int) f_90_, f_95_, f_93_, f_98_, f_96_, f_101_, f_99_, (float) i_107_, (float) i_105_, f_116_, f_114_, f_119_, f_117_, f_122_, f_120_, f_125_, f_123_, f_128_, f_126_, f_131_, f_129_); + f_90_ += f_132_; + f_92_ += f_156_; + f_93_ += f_133_; + f_95_ += f_157_; + f_96_ += f_134_; + f_98_ += f_158_; + f_99_ += f_135_; + f_101_ += f_159_; + i_105_ += f_136_; + i_107_ += f_160_; + f_114_ += f_137_; + f_116_ += f_161_; + f_117_ += f_138_; + f_119_ += f_162_; + f_120_ += f_139_; + f_122_ += f_163_; + f_123_ += f_140_; + f_125_ += f_164_; + f_126_ += f_141_; + f_128_ += f_165_; + f_129_ += f_142_; + f_131_ += f_142_; + f += (float) anInt1678; + } + while (--f_89_ >= 0.0F) { + method1025(anIntArray1673, anIntArray1698, (int) f, (int) f_92_, (int) f_91_, f_95_, f_94_, f_98_, f_97_, f_101_, f_100_, (float) i_107_, (float) i_106_, f_116_, f_115_, f_119_, f_118_, f_122_, f_121_, f_125_, f_124_, f_128_, f_127_, f_131_, f_130_); + f_91_ += f_144_; + f_92_ += f_156_; + f_94_ += f_145_; + f_95_ += f_157_; + f_97_ += f_146_; + f_98_ += f_158_; + f_100_ += f_147_; + f_101_ += f_159_; + i_106_ += f_148_; + i_107_ += f_160_; + f_115_ += f_149_; + f_116_ += f_161_; + f_118_ += f_150_; + f_119_ += f_162_; + f_121_ += f_151_; + f_122_ += f_163_; + f_124_ += f_152_; + f_125_ += f_164_; + f_127_ += f_153_; + f_128_ += f_165_; + f_130_ += f_154_; + f_131_ += f_166_; + f += (float) anInt1678; + } + } else { + f_89_ -= f_88_; + f_88_ -= f; + f = (float) this.anIntArray1676[(int) f]; + while (--f_88_ >= 0.0F) { + method1025(anIntArray1673, anIntArray1698, (int) f, (int) f_90_, (int) f_92_, f_93_, f_95_, f_96_, f_98_, f_99_, f_101_, (float) i_105_, (float) i_107_, f_114_, f_116_, f_117_, f_119_, f_120_, f_122_, f_123_, f_125_, f_126_, f_128_, f_129_, f_131_); + f_90_ += f_132_; + f_92_ += f_156_; + f_93_ += f_133_; + f_95_ += f_157_; + f_96_ += f_134_; + f_98_ += f_158_; + f_99_ += f_135_; + f_101_ += f_159_; + i_105_ += f_136_; + i_107_ += f_160_; + f_114_ += f_137_; + f_116_ += f_161_; + f_117_ += f_138_; + f_119_ += f_162_; + f_120_ += f_139_; + f_122_ += f_163_; + f_123_ += f_140_; + f_125_ += f_164_; + f_126_ += f_141_; + f_128_ += f_165_; + f_129_ += f_142_; + f_131_ += f_166_; + f += (float) anInt1678; + } + while (--f_89_ >= 0.0F) { + method1025(anIntArray1673, anIntArray1698, (int) f, (int) f_91_, (int) f_92_, f_94_, f_95_, f_97_, f_98_, f_100_, f_101_, (float) i_106_, (float) i_107_, f_115_, f_116_, f_118_, f_119_, f_121_, f_122_, f_124_, f_125_, f_127_, f_128_, f_130_, f_131_); + f_91_ += f_144_; + f_92_ += f_156_; + f_94_ += f_145_; + f_95_ += f_157_; + f_97_ += f_146_; + f_98_ += f_158_; + f_100_ += f_147_; + f_101_ += f_159_; + i_106_ += f_148_; + i_107_ += f_160_; + f_115_ += f_149_; + f_116_ += f_161_; + f_118_ += f_150_; + f_119_ += f_162_; + f_121_ += f_151_; + f_122_ += f_163_; + f_124_ += f_152_; + f_125_ += f_164_; + f_127_ += f_153_; + f_128_ += f_165_; + f_130_ += f_154_; + f_131_ += f_166_; + f += (float) anInt1678; + } + } + } else { + f_91_ = f_90_; + f_94_ = f_93_; + f_97_ = f_96_; + f_100_ = f_99_; + i_106_ = i_105_; + f_115_ = f_114_; + f_118_ = f_117_; + f_121_ = f_120_; + f_124_ = f_123_; + f_127_ = f_126_; + f_130_ = f_129_; + if (f < 0.0F) { + f_90_ -= f_132_ * f; + f_91_ -= f_156_ * f; + f_93_ -= f_133_ * f; + f_94_ -= f_157_ * f; + f_96_ -= f_134_ * f; + f_97_ -= f_158_ * f; + f_99_ -= f_135_ * f; + f_100_ -= f_159_ * f; + i_105_ -= f_136_ * f; + i_106_ -= f_160_ * f; + f_114_ -= f_137_ * f; + f_115_ -= f_161_ * f; + f_117_ -= f_138_ * f; + f_118_ -= f_162_ * f; + f_120_ -= f_139_ * f; + f_121_ -= f_163_ * f; + f_123_ -= f_140_ * f; + f_124_ -= f_164_ * f; + f_126_ -= f_141_ * f; + f_127_ -= f_165_ * f; + f_129_ -= f_142_ * f; + f_130_ -= f_166_ * f; + f = 0.0F; + } + if (f_89_ < 0.0F) { + f_92_ -= f_144_ * f_89_; + f_95_ -= f_145_ * f_89_; + f_98_ -= f_146_ * f_89_; + f_101_ -= f_147_ * f_89_; + i_107_ -= f_148_ * f_89_; + f_116_ -= f_149_ * f_89_; + f_119_ -= f_150_ * f_89_; + f_122_ -= f_151_ * f_89_; + f_125_ -= f_152_ * f_89_; + f_128_ -= f_153_ * f_89_; + f_131_ -= f_154_ * f_89_; + f_89_ = 0.0F; + } + if (f != f_89_ && f_156_ < f_132_ || f == f_89_ && f_144_ > f_132_) { + f_88_ -= f_89_; + f_89_ -= f; + f = (float) this.anIntArray1676[(int) f]; + while (--f_89_ >= 0.0F) { + method1025(anIntArray1673, anIntArray1698, (int) f, (int) f_91_, (int) f_90_, f_94_, f_93_, f_97_, f_96_, f_100_, f_99_, (float) i_106_, (float) i_105_, f_115_, f_114_, f_118_, f_117_, f_121_, f_120_, f_124_, f_123_, f_127_, f_126_, f_130_, f_129_); + f_90_ += f_132_; + f_91_ += f_156_; + f_93_ += f_133_; + f_94_ += f_157_; + f_96_ += f_134_; + f_97_ += f_158_; + f_99_ += f_135_; + f_100_ += f_159_; + i_105_ += f_136_; + i_106_ += f_160_; + f_114_ += f_137_; + f_115_ += f_161_; + f_117_ += f_138_; + f_118_ += f_162_; + f_120_ += f_139_; + f_121_ += f_163_; + f_123_ += f_140_; + f_124_ += f_164_; + f_126_ += f_141_; + f_127_ += f_165_; + f_129_ += f_142_; + f_130_ += f_166_; + f += (float) anInt1678; + } + while (--f_88_ >= 0.0F) { + method1025(anIntArray1673, anIntArray1698, (int) f, (int) f_92_, (int) f_90_, f_95_, f_93_, f_98_, f_96_, f_101_, f_99_, (float) i_107_, (float) i_105_, f_116_, f_114_, f_119_, f_117_, f_122_, f_120_, f_125_, f_123_, f_128_, f_126_, f_131_, f_129_); + f_92_ += f_144_; + f_90_ += f_132_; + f_95_ += f_145_; + f_93_ += f_133_; + f_98_ += f_146_; + f_96_ += f_134_; + f_101_ += f_147_; + f_99_ += f_135_; + i_107_ += f_148_; + i_105_ += f_136_; + f_116_ += f_149_; + f_114_ += f_137_; + f_119_ += f_150_; + f_117_ += f_138_; + f_122_ += f_151_; + f_120_ += f_139_; + f_125_ += f_152_; + f_123_ += f_140_; + f_128_ += f_153_; + f_126_ += f_141_; + f_131_ += f_154_; + f_129_ += f_142_; + f += (float) anInt1678; + } + } else { + f_88_ -= f_89_; + f_89_ -= f; + f = (float) this.anIntArray1676[(int) f]; + while (--f_89_ >= 0.0F) { + method1025(anIntArray1673, anIntArray1698, (int) f, (int) f_90_, (int) f_91_, f_93_, f_94_, f_96_, f_97_, f_99_, f_100_, (float) i_105_, (float) i_106_, f_114_, f_115_, f_117_, f_118_, f_120_, f_121_, f_123_, f_124_, f_126_, f_127_, f_129_, f_130_); + f_91_ += f_156_; + f_90_ += f_132_; + f_94_ += f_157_; + f_93_ += f_133_; + f_97_ += f_158_; + f_96_ += f_134_; + f_100_ += f_159_; + f_99_ += f_135_; + i_106_ += f_160_; + i_105_ += f_136_; + f_115_ += f_161_; + f_114_ += f_137_; + f_118_ += f_162_; + f_117_ += f_138_; + f_121_ += f_163_; + f_120_ += f_139_; + f_124_ += f_164_; + f_123_ += f_140_; + f_127_ += f_165_; + f_126_ += f_141_; + f_130_ += f_166_; + f_129_ += f_142_; + f += (float) anInt1678; + } + while (--f_88_ >= 0.0F) { + method1025(anIntArray1673, anIntArray1698, (int) f, (int) f_90_, (int) f_92_, f_93_, f_95_, f_96_, f_98_, f_99_, f_101_, (float) i_105_, (float) i_107_, f_114_, f_116_, f_117_, f_119_, f_120_, f_122_, f_123_, f_125_, f_126_, f_128_, f_129_, f_131_); + f_90_ += f_132_; + f_92_ += f_144_; + f_93_ += f_133_; + f_95_ += f_145_; + f_96_ += f_134_; + f_98_ += f_146_; + f_99_ += f_135_; + f_101_ += f_147_; + i_105_ += f_136_; + i_107_ += f_148_; + f_114_ += f_137_; + f_116_ += f_149_; + f_117_ += f_138_; + f_119_ += f_150_; + f_120_ += f_139_; + f_122_ += f_151_; + f_123_ += f_140_; + f_125_ += f_152_; + f_126_ += f_141_; + f_128_ += f_153_; + f_129_ += f_142_; + f_131_ += f_154_; + f += (float) anInt1678; + } + } + } + } + } else if (f_88_ <= f_89_) { + if (!(f_88_ >= (float) this.anInt1672)) { + if (f_89_ > (float) this.anInt1672) f_89_ = (float) this.anInt1672; + if (f > (float) this.anInt1672) f = (float) this.anInt1672; + if (f_89_ < f) { + f_90_ = f_91_; + f_93_ = f_94_; + f_96_ = f_97_; + f_99_ = f_100_; + i_105_ = i_106_; + f_114_ = f_115_; + f_117_ = f_118_; + f_120_ = f_121_; + f_123_ = f_124_; + f_126_ = f_127_; + f_129_ = f_130_; + if (f_88_ < 0.0F) { + f_90_ -= f_132_ * f_88_; + f_91_ -= f_144_ * f_88_; + f_93_ -= f_133_ * f_88_; + f_94_ -= f_145_ * f_88_; + f_96_ -= f_134_ * f_88_; + f_97_ -= f_146_ * f_88_; + f_99_ -= f_135_ * f_88_; + f_100_ -= f_147_ * f_88_; + i_105_ -= f_136_ * f_88_; + i_106_ -= f_148_ * f_88_; + f_114_ -= f_137_ * f_88_; + f_115_ -= f_149_ * f_88_; + f_117_ -= f_138_ * f_88_; + f_118_ -= f_150_ * f_88_; + f_120_ -= f_139_ * f_88_; + f_121_ -= f_151_ * f_88_; + f_123_ -= f_140_ * f_88_; + f_124_ -= f_152_ * f_88_; + f_126_ -= f_141_ * f_88_; + f_127_ -= f_153_ * f_88_; + f_129_ -= f_142_ * f_88_; + f_130_ -= f_154_ * f_88_; + f_88_ = 0.0F; + } + if (f_89_ < 0.0F) { + f_92_ -= f_156_ * f_89_; + f_95_ -= f_157_ * f_89_; + f_98_ -= f_158_ * f_89_; + f_101_ -= f_159_ * f_89_; + i_107_ -= f_160_ * f_89_; + f_116_ -= f_161_ * f_89_; + f_119_ -= f_162_ * f_89_; + f_122_ -= f_163_ * f_89_; + f_125_ -= f_164_ * f_89_; + f_128_ -= f_165_ * f_89_; + f_131_ -= f_166_ * f_89_; + f_89_ = 0.0F; + } + if (f_88_ != f_89_ && f_132_ < f_144_ || f_88_ == f_89_ && f_132_ > f_156_) { + f -= f_89_; + f_89_ -= f_88_; + f_88_ = (float) (this.anIntArray1676[(int) f_88_]); + while (--f_89_ >= 0.0F) { + method1025(anIntArray1673, anIntArray1698, (int) f_88_, (int) f_90_, (int) f_91_, f_93_, f_94_, f_96_, f_97_, f_99_, f_100_, (float) i_105_, (float) i_106_, f_114_, f_115_, f_117_, f_118_, f_120_, f_121_, f_123_, f_124_, f_126_, f_127_, f_129_, f_130_); + f_90_ += f_132_; + f_91_ += f_144_; + f_93_ += f_133_; + f_94_ += f_145_; + f_96_ += f_134_; + f_97_ += f_146_; + f_99_ += f_135_; + f_100_ += f_147_; + i_105_ += f_136_; + i_106_ += f_148_; + f_114_ += f_137_; + f_115_ += f_149_; + f_117_ += f_138_; + f_118_ += f_150_; + f_120_ += f_139_; + f_121_ += f_151_; + f_123_ += f_140_; + f_124_ += f_152_; + f_126_ += f_141_; + f_127_ += f_153_; + f_129_ += f_142_; + f_130_ += f_154_; + f_88_ += (float) anInt1678; + } + while (--f >= 0.0F) { + method1025(anIntArray1673, anIntArray1698, (int) f_88_, (int) f_90_, (int) f_92_, f_93_, f_95_, f_96_, f_98_, f_99_, f_101_, (float) i_105_, (float) i_107_, f_114_, f_116_, f_117_, f_119_, f_120_, f_122_, f_123_, f_125_, f_126_, f_128_, f_129_, f_131_); + f_90_ += f_132_; + f_92_ += f_156_; + f_93_ += f_133_; + f_95_ += f_157_; + f_96_ += f_134_; + f_98_ += f_158_; + f_99_ += f_135_; + f_101_ += f_159_; + i_105_ += f_136_; + i_107_ += f_160_; + f_114_ += f_137_; + f_116_ += f_161_; + f_117_ += f_138_; + f_119_ += f_162_; + f_120_ += f_139_; + f_122_ += f_163_; + f_123_ += f_140_; + f_125_ += f_164_; + f_126_ += f_141_; + f_128_ += f_165_; + f_129_ += f_142_; + f_131_ += f_166_; + f_88_ += (float) anInt1678; + } + } else { + f -= f_89_; + f_89_ -= f_88_; + f_88_ = (float) (this.anIntArray1676[(int) f_88_]); + while (--f_89_ >= 0.0F) { + method1025(anIntArray1673, anIntArray1698, (int) f_88_, (int) f_91_, (int) f_90_, f_94_, f_93_, f_97_, f_96_, f_100_, f_99_, (float) i_106_, (float) i_105_, f_115_, f_114_, f_118_, f_117_, f_121_, f_120_, f_124_, f_123_, f_127_, f_126_, f_130_, f_129_); + f_91_ += f_144_; + f_90_ += f_132_; + f_94_ += f_145_; + f_93_ += f_133_; + f_97_ += f_146_; + f_96_ += f_134_; + f_100_ += f_147_; + f_99_ += f_135_; + i_106_ += f_148_; + i_105_ += f_136_; + f_115_ += f_149_; + f_114_ += f_137_; + f_118_ += f_150_; + f_117_ += f_138_; + f_121_ += f_151_; + f_120_ += f_139_; + f_124_ += f_152_; + f_123_ += f_140_; + f_128_ += f_153_; + f_126_ += f_141_; + f_130_ += f_154_; + f_129_ += f_142_; + f_88_ += (float) anInt1678; + } + while (--f >= 0.0F) { + method1025(anIntArray1673, anIntArray1698, (int) f_88_, (int) f_92_, (int) f_90_, f_95_, f_93_, f_98_, f_96_, f_101_, f_99_, (float) i_107_, (float) i_105_, f_116_, f_114_, f_119_, f_117_, f_122_, f_120_, f_125_, f_123_, f_128_, f_126_, f_131_, f_129_); + f_92_ += f_156_; + f_90_ += f_132_; + f_95_ += f_157_; + f_93_ += f_133_; + f_98_ += f_158_; + f_96_ += f_134_; + f_101_ += f_159_; + f_99_ += f_135_; + i_107_ += f_160_; + i_105_ += f_136_; + f_116_ += f_161_; + f_114_ += f_137_; + f_119_ += f_162_; + f_117_ += f_138_; + f_122_ += f_163_; + f_120_ += f_139_; + f_125_ += f_164_; + f_123_ += f_140_; + f_128_ += f_165_; + f_126_ += f_141_; + f_131_ += f_166_; + f_129_ += f_142_; + f_88_ += (float) anInt1678; + } + } + } else { + f_92_ = f_91_; + f_95_ = f_94_; + f_98_ = f_97_; + f_101_ = f_100_; + i_107_ = i_106_; + f_116_ = f_115_; + f_119_ = f_118_; + f_122_ = f_121_; + f_125_ = f_124_; + f_128_ = f_127_; + f_131_ = f_130_; + if (f_88_ < 0.0F) { + f_92_ -= f_132_ * f_88_; + f_91_ -= f_144_ * f_88_; + f_95_ -= f_133_ * f_88_; + f_94_ -= f_145_ * f_88_; + f_98_ -= f_134_ * f_88_; + f_97_ -= f_146_ * f_88_; + f_101_ -= f_135_ * f_88_; + f_100_ -= f_147_ * f_88_; + i_107_ -= f_136_ * f_88_; + i_106_ -= f_148_ * f_88_; + f_116_ -= f_137_ * f_88_; + f_115_ -= f_149_ * f_88_; + f_119_ -= f_138_ * f_88_; + f_118_ -= f_150_ * f_88_; + f_122_ -= f_139_ * f_88_; + f_121_ -= f_151_ * f_88_; + f_125_ -= f_140_ * f_88_; + f_124_ -= f_152_ * f_88_; + f_128_ -= f_141_ * f_88_; + f_127_ -= f_153_ * f_88_; + f_131_ -= f_142_ * f_88_; + f_130_ -= f_154_ * f_88_; + f_88_ = 0.0F; + } + if (f < 0.0F) { + f_90_ -= f_156_ * f; + f_93_ -= f_157_ * f; + f_96_ -= f_158_ * f; + f_99_ -= f_159_ * f; + i_105_ -= f_160_ * f; + f_114_ -= f_161_ * f; + f_117_ -= f_162_ * f; + f_120_ -= f_163_ * f; + f_123_ -= f_164_ * f; + f_126_ -= f_165_ * f; + f_129_ -= f_166_ * f; + f = 0.0F; + } + f_89_ -= f; + f -= f_88_; + f_88_ = (float) (this.anIntArray1676[(int) f_88_]); + if (f_132_ < f_144_) { + while (--f >= 0.0F) { + method1025(anIntArray1673, anIntArray1698, (int) f_88_, (int) f_92_, (int) f_91_, f_95_, f_94_, f_98_, f_97_, f_101_, f_100_, (float) i_107_, (float) i_106_, f_116_, f_115_, f_119_, f_118_, f_122_, f_121_, f_125_, f_124_, f_128_, f_127_, f_131_, f_130_); + f_92_ += f_132_; + f_91_ += f_144_; + f_95_ += f_133_; + f_94_ += f_145_; + f_98_ += f_134_; + f_97_ += f_146_; + f_101_ += f_135_; + f_100_ += f_147_; + i_107_ += f_136_; + i_106_ += f_148_; + f_116_ += f_137_; + f_115_ += f_149_; + f_119_ += f_138_; + f_118_ += f_150_; + f_122_ += f_139_; + f_121_ += f_151_; + f_125_ += f_140_; + f_124_ += f_152_; + f_128_ += f_141_; + f_127_ += f_153_; + f_131_ += f_142_; + f_130_ += f_154_; + f_88_ += (float) anInt1678; + } + while (--f_89_ >= 0.0F) { + method1025(anIntArray1673, anIntArray1698, (int) f_88_, (int) f_90_, (int) f_91_, f_93_, f_94_, f_96_, f_97_, f_99_, f_100_, (float) i_105_, (float) i_106_, f_114_, f_115_, f_117_, f_118_, f_120_, f_121_, f_123_, f_124_, f_126_, f_127_, f_129_, f_130_); + f_90_ += f_156_; + f_91_ += f_144_; + f_93_ += f_157_; + f_94_ += f_145_; + f_96_ += f_158_; + f_97_ += f_146_; + f_99_ += f_159_; + f_100_ += f_147_; + i_105_ += f_160_; + i_106_ += f_148_; + f_114_ += f_161_; + f_115_ += f_149_; + f_117_ += f_162_; + f_118_ += f_150_; + f_120_ += f_163_; + f_121_ += f_151_; + f_123_ += f_164_; + f_124_ += f_152_; + f_126_ += f_165_; + f_127_ += f_153_; + f_129_ += f_166_; + f_130_ += f_154_; + f_88_ += (float) anInt1678; + } + } else { + while (--f >= 0.0F) { + method1025(anIntArray1673, anIntArray1698, (int) f_88_, (int) f_91_, (int) f_92_, f_94_, f_95_, f_97_, f_98_, f_100_, f_101_, (float) i_106_, (float) i_107_, f_115_, f_116_, f_118_, f_119_, f_121_, f_122_, f_124_, f_125_, f_127_, f_128_, f_130_, f_131_); + f_91_ += f_144_; + f_92_ += f_132_; + f_94_ += f_145_; + f_95_ += f_133_; + f_97_ += f_146_; + f_98_ += f_134_; + f_100_ += f_147_; + f_101_ += f_135_; + i_106_ += f_148_; + i_107_ += f_136_; + f_115_ += f_149_; + f_116_ += f_137_; + f_118_ += f_150_; + f_119_ += f_138_; + f_121_ += f_151_; + f_122_ += f_139_; + f_124_ += f_152_; + f_125_ += f_140_; + f_127_ += f_153_; + f_128_ += f_141_; + f_130_ += f_154_; + f_131_ += f_142_; + f_88_ += (float) anInt1678; + } + while (--f_89_ >= 0.0F) { + method1025(anIntArray1673, anIntArray1698, (int) f_88_, (int) f_91_, (int) f_90_, f_94_, f_93_, f_97_, f_96_, f_100_, f_99_, (float) i_106_, (float) i_105_, f_115_, f_114_, f_118_, f_117_, f_121_, f_120_, f_124_, f_123_, f_127_, f_126_, f_130_, f_129_); + f_91_ += f_144_; + f_90_ += f_156_; + f_94_ += f_145_; + f_93_ += f_157_; + f_97_ += f_146_; + f_96_ += f_158_; + f_100_ += f_147_; + f_99_ += f_159_; + i_106_ += f_148_; + i_105_ += f_160_; + f_115_ += f_149_; + f_114_ += f_161_; + f_118_ += f_150_; + f_117_ += f_162_; + f_121_ += f_151_; + f_120_ += f_163_; + f_124_ += f_152_; + f_123_ += f_164_; + f_127_ += f_153_; + f_126_ += f_165_; + f_130_ += f_154_; + f_129_ += f_166_; + f_88_ += (float) anInt1678; + } + } + } + } + } else if (!(f_89_ >= (float) this.anInt1672)) { + if (f > (float) this.anInt1672) f = (float) this.anInt1672; + if (f_88_ > (float) this.anInt1672) f_88_ = (float) this.anInt1672; + if (f < f_88_) { + f_91_ = f_92_; + f_94_ = f_95_; + f_97_ = f_98_; + f_100_ = f_101_; + i_106_ = i_107_; + f_115_ = f_116_; + f_118_ = f_119_; + f_121_ = f_122_; + f_124_ = f_125_; + f_127_ = f_128_; + f_130_ = f_131_; + if (f_89_ < 0.0F) { + f_92_ -= f_156_ * f_89_; + f_91_ -= f_144_ * f_89_; + f_95_ -= f_157_ * f_89_; + f_94_ -= f_145_ * f_89_; + f_98_ -= f_158_ * f_89_; + f_97_ -= f_146_ * f_89_; + f_101_ -= f_159_ * f_89_; + f_100_ -= f_147_ * f_89_; + i_107_ -= f_160_ * 3.0F; + i_106_ -= f_148_ * f_89_; + f_116_ -= f_161_ * f_89_; + f_115_ -= f_149_ * f_89_; + f_119_ -= f_162_ * f_89_; + f_118_ -= f_150_ * f_89_; + f_122_ -= f_163_ * f_89_; + f_121_ -= f_151_ * f_89_; + f_125_ -= f_164_ * f_89_; + f_124_ -= f_152_ * f_89_; + f_128_ -= f_165_ * f_89_; + f_127_ -= f_153_ * f_89_; + f_131_ -= f_166_ * f_89_; + f_130_ -= f_154_ * f_89_; + f_89_ = 0.0F; + } + if (f < 0.0F) { + f_90_ -= f_132_ * f; + f_93_ -= f_133_ * f; + f_96_ -= f_134_ * f; + f_99_ -= f_135_ * f; + i_105_ -= f_136_ * f; + f_114_ -= f_137_ * f; + f_117_ -= f_138_ * f; + f_120_ -= f_139_ * f; + f_123_ -= f_140_ * f; + f_126_ -= f_141_ * f; + f_129_ -= f_142_ * f; + f = 0.0F; + } + if (f_144_ < f_156_) { + f_88_ -= f; + f -= f_89_; + f_89_ = (float) (this.anIntArray1676[(int) f_89_]); + while (--f >= 0.0F) { + method1025(anIntArray1673, anIntArray1698, (int) f_89_, (int) f_91_, (int) f_92_, f_94_, f_95_, f_97_, f_98_, f_100_, f_101_, (float) i_106_, (float) i_107_, f_115_, f_116_, f_118_, f_119_, f_121_, f_122_, f_124_, f_125_, f_127_, f_128_, f_130_, f_131_); + f_91_ += f_144_; + f_92_ += f_156_; + f_94_ += f_145_; + f_95_ += f_157_; + f_97_ += f_146_; + f_98_ += f_158_; + f_100_ += f_147_; + f_101_ += f_159_; + i_106_ += f_148_; + i_107_ += f_160_; + f_115_ += f_149_; + f_116_ += f_161_; + f_118_ += f_150_; + f_119_ += f_162_; + f_121_ += f_151_; + f_122_ += f_163_; + f_124_ += f_152_; + f_125_ += f_164_; + f_127_ += f_153_; + f_128_ += f_165_; + f_130_ += f_154_; + f_131_ += f_166_; + f_89_ += (float) anInt1678; + } + while (--f_88_ >= 0.0F) { + method1025(anIntArray1673, anIntArray1698, (int) f_89_, (int) f_91_, (int) f_90_, f_94_, f_93_, f_97_, f_96_, f_100_, f_99_, (float) i_106_, (float) i_105_, f_115_, f_114_, f_118_, f_117_, f_121_, f_120_, f_124_, f_123_, f_127_, f_126_, f_130_, f_129_); + f_91_ += f_144_; + f_90_ += f_132_; + f_94_ += f_145_; + f_93_ += f_133_; + f_97_ += f_146_; + f_96_ += f_134_; + f_100_ += f_147_; + f_99_ += f_135_; + i_106_ += f_148_; + i_105_ += f_136_; + f_115_ += f_149_; + f_114_ += f_137_; + f_118_ += f_150_; + f_117_ += f_138_; + f_121_ += f_151_; + f_120_ += f_139_; + f_124_ += f_152_; + f_123_ += f_140_; + f_127_ += f_153_; + f_126_ += f_141_; + f_130_ += f_154_; + f_129_ += f_142_; + f_89_ += (float) anInt1678; + } + } else { + f_88_ -= f; + f -= f_89_; + f_89_ = (float) (this.anIntArray1676[(int) f_89_]); + while (--f >= 0.0F) { + method1025(anIntArray1673, anIntArray1698, (int) f_89_, (int) f_92_, (int) f_91_, f_95_, f_94_, f_98_, f_97_, f_101_, f_100_, (float) i_107_, (float) i_106_, f_116_, f_115_, f_119_, f_118_, f_122_, f_121_, f_125_, f_124_, f_128_, f_127_, f_131_, f_130_); + f_92_ += f_156_; + f_91_ += f_144_; + f_95_ += f_157_; + f_94_ += f_145_; + f_98_ += f_158_; + f_97_ += f_146_; + f_101_ += f_159_; + f_100_ += f_147_; + i_107_ += f_160_; + i_106_ += f_148_; + f_116_ += f_161_; + f_115_ += f_149_; + f_119_ += f_162_; + f_118_ += f_150_; + f_122_ += f_163_; + f_121_ += f_151_; + f_125_ += f_164_; + f_124_ += f_152_; + f_128_ += f_165_; + f_127_ += f_153_; + f_131_ += f_166_; + f_130_ += f_154_; + f_89_ += (float) anInt1678; + } + while (--f_88_ >= 0.0F) { + method1025(anIntArray1673, anIntArray1698, (int) f_89_, (int) f_90_, (int) f_91_, f_93_, f_94_, f_96_, f_97_, f_99_, f_100_, (float) i_105_, (float) i_106_, f_114_, f_115_, f_117_, f_118_, f_120_, f_121_, f_123_, f_124_, f_126_, f_127_, f_129_, f_130_); + f_90_ += f_132_; + f_91_ += f_144_; + f_93_ += f_133_; + f_94_ += f_145_; + f_96_ += f_134_; + f_97_ += f_146_; + f_99_ += f_135_; + f_100_ += f_147_; + i_105_ += f_136_; + i_106_ += f_148_; + f_114_ += f_137_; + f_115_ += f_149_; + f_117_ += f_138_; + f_118_ += f_150_; + f_120_ += f_139_; + f_121_ += f_151_; + f_123_ += f_140_; + f_124_ += f_152_; + f_126_ += f_141_; + f_127_ += f_153_; + f_129_ += f_142_; + f_130_ += f_154_; + f_89_ += (float) anInt1678; + } + } + } else { + f_90_ = f_92_; + f_93_ = f_95_; + f_96_ = f_98_; + f_99_ = f_101_; + i_105_ = i_107_; + f_114_ = f_116_; + f_117_ = f_119_; + f_120_ = f_122_; + f_123_ = f_125_; + f_126_ = f_128_; + f_129_ = f_131_; + if (f_89_ < 0.0F) { + f_92_ -= f_156_ * f_89_; + f_90_ -= f_144_ * f_89_; + f_95_ -= f_157_ * f_89_; + f_93_ -= f_145_ * f_89_; + f_98_ -= f_158_ * f_89_; + f_96_ -= f_146_ * f_89_; + f_101_ -= f_159_ * f_89_; + f_99_ -= f_147_ * f_89_; + i_107_ -= f_160_ * 3.0F; + i_105_ -= f_148_ * f_89_; + f_116_ -= f_161_ * f_89_; + f_114_ -= f_149_ * f_89_; + f_119_ -= f_162_ * f_89_; + f_117_ -= f_150_ * f_89_; + f_122_ -= f_163_ * f_89_; + f_120_ -= f_151_ * f_89_; + f_125_ -= f_164_ * f_89_; + f_123_ -= f_152_ * f_89_; + f_128_ -= f_165_ * f_89_; + f_126_ -= f_153_ * f_89_; + f_131_ -= f_166_ * f_89_; + f_129_ -= f_154_ * f_89_; + f_89_ = 0.0F; + } + if (f_88_ < 0.0F) { + f_91_ -= f_132_ * f_88_; + f_94_ -= f_133_ * f_88_; + f_97_ -= f_134_ * f_88_; + f_100_ -= f_135_ * f_88_; + i_106_ -= f_136_ * f_88_; + f_115_ -= f_137_ * f_88_; + f_118_ -= f_138_ * f_88_; + f_121_ -= f_139_ * f_88_; + f_124_ -= f_140_ * f_88_; + f_127_ -= f_141_ * f_88_; + f_130_ -= f_142_ * f_88_; + f_88_ = 0.0F; + } + if (f_144_ < f_156_) { + f -= f_88_; + f_88_ -= f_89_; + f_89_ = (float) (this.anIntArray1676[(int) f_89_]); + while (--f_88_ >= 0.0F) { + method1025(anIntArray1673, anIntArray1698, (int) f_89_, (int) f_90_, (int) f_92_, f_93_, f_95_, f_96_, f_98_, f_99_, f_101_, (float) i_105_, (float) i_107_, f_114_, f_116_, f_117_, f_119_, f_120_, f_122_, f_123_, f_125_, f_126_, f_128_, f_129_, f_131_); + f_90_ += f_144_; + f_92_ += f_156_; + f_93_ += f_145_; + f_95_ += f_157_; + f_96_ += f_146_; + f_98_ += f_158_; + f_99_ += f_147_; + f_101_ += f_159_; + i_105_ += f_148_; + i_107_ += f_160_; + f_114_ += f_149_; + f_116_ += f_161_; + f_117_ += f_150_; + f_119_ += f_162_; + f_120_ += f_151_; + f_122_ += f_163_; + f_123_ += f_152_; + f_125_ += f_164_; + f_126_ += f_153_; + f_128_ += f_165_; + f_129_ += f_154_; + f_131_ += f_166_; + f_89_ += (float) anInt1678; + } + while (--f >= 0.0F) { + method1025(anIntArray1673, anIntArray1698, (int) f_89_, (int) f_91_, (int) f_92_, f_94_, f_95_, f_97_, f_98_, f_100_, f_101_, (float) i_106_, (float) i_107_, f_115_, f_116_, f_118_, f_119_, f_121_, f_122_, f_124_, f_125_, f_127_, f_128_, f_130_, f_131_); + f_91_ += f_132_; + f_92_ += f_156_; + f_94_ += f_133_; + f_95_ += f_157_; + f_97_ += f_134_; + f_98_ += f_158_; + f_100_ += f_135_; + f_101_ += f_159_; + i_106_ += f_136_; + i_107_ += f_160_; + f_115_ += f_137_; + f_116_ += f_161_; + f_118_ += f_138_; + f_119_ += f_162_; + f_121_ += f_139_; + f_122_ += f_163_; + f_124_ += f_140_; + f_125_ += f_164_; + f_127_ += f_141_; + f_128_ += f_165_; + f_130_ += f_142_; + f_131_ += f_166_; + f_89_ += (float) anInt1678; + } + } else { + f -= f_88_; + f_88_ -= f_89_; + f_89_ = (float) (this.anIntArray1676[(int) f_89_]); + while (--f_88_ >= 0.0F) { + method1025(anIntArray1673, anIntArray1698, (int) f_89_, (int) f_92_, (int) f_90_, f_95_, f_93_, f_98_, f_96_, f_101_, f_99_, (float) i_107_, (float) i_105_, f_116_, f_114_, f_119_, f_117_, f_122_, f_120_, f_125_, f_123_, f_128_, f_126_, f_131_, f_129_); + f_92_ += f_156_; + f_90_ += f_144_; + f_95_ += f_157_; + f_93_ += f_145_; + f_98_ += f_158_; + f_96_ += f_146_; + f_101_ += f_159_; + f_99_ += f_147_; + i_107_ += f_160_; + i_105_ += f_148_; + f_116_ += f_161_; + f_114_ += f_149_; + f_119_ += f_162_; + f_117_ += f_150_; + f_122_ += f_163_; + f_120_ += f_151_; + f_125_ += f_164_; + f_123_ += f_152_; + f_128_ += f_165_; + f_126_ += f_153_; + f_131_ += f_166_; + f_129_ += f_154_; + f_89_ += (float) anInt1678; + } + while (--f >= 0.0F) { + method1025(anIntArray1673, anIntArray1698, (int) f_89_, (int) f_92_, (int) f_91_, f_95_, f_94_, f_98_, f_97_, f_101_, f_100_, (float) i_107_, (float) i_106_, f_116_, f_115_, f_119_, f_118_, f_122_, f_121_, f_125_, f_124_, f_128_, f_127_, f_131_, f_130_); + f_92_ += f_156_; + f_91_ += f_132_; + f_95_ += f_157_; + f_94_ += f_133_; + f_98_ += f_158_; + f_97_ += f_134_; + f_101_ += f_159_; + f_100_ += f_135_; + i_107_ += f_160_; + i_106_ += f_136_; + f_116_ += f_161_; + f_115_ += f_137_; + f_119_ += f_162_; + f_118_ += f_138_; + f_122_ += f_163_; + f_121_ += f_139_; + f_125_ += f_164_; + f_124_ += f_140_; + f_128_ += f_165_; + f_127_ += f_141_; + f_131_ += f_166_; + f_130_ += f_142_; + f_89_ += (float) anInt1678; + } + } + } + } + } + + private final void method1021(int[] is, float[] fs, int i, int i_168_, int i_169_, int i_170_, int i_171_, float f, float f_172_, float f_173_, float f_174_, float f_175_, float f_176_, float f_177_, float f_178_) { + if (this.aBoolean1671) { + if (i_171_ > this.anInt1679) i_171_ = this.anInt1679; + if (i_170_ < 0) i_170_ = 0; + } + if (i_170_ < i_171_) { + if (aBoolean1680) { + i += i_170_; + f_173_ += f_174_ * (float) i_170_; + f_175_ += f_176_ * (float) i_170_; + f_177_ += f_178_ * (float) i_170_; + if (this.aBoolean1669) { + i_169_ = i_171_ - i_170_ >> 2; + f_174_ *= 4.0F; + f_176_ *= 4.0F; + f_178_ *= 4.0F; + if (this.anInt1674 == 0) { + if (i_169_ > 0) { + do { + i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); + f_173_ += f_174_; + f_175_ += f_176_; + f_177_ += f_178_; + is[i++] = i_168_; + is[i++] = i_168_; + is[i++] = i_168_; + is[i++] = i_168_; + } while (--i_169_ > 0); + } + i_169_ = i_171_ - i_170_ & 0x3; + if (i_169_ > 0) { + i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); + do is[i++] = i_168_; while (--i_169_ > 0); + } + } else if (this.aBoolean1667) { + if (i_169_ > 0) { + do { + i_168_ = ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); + f_173_ += f_174_; + f_175_ += f_176_; + f_177_ += f_178_; + int[] is_183_ = is; + int i_184_ = i++; + int i_185_ = i_168_; + int i_186_ = is_183_[i_184_]; + int i_187_ = i_185_ + i_186_; + int i_188_ = ((i_185_ & 0xff00ff) + (i_186_ & 0xff00ff)); + i_186_ = (i_188_ & 0x1000100) + (i_187_ - i_188_ & 0x10000); + is_183_[i_184_] = (~0xffffff | i_187_ - i_186_ | i_186_ - (i_186_ >>> 8)); + int[] is_189_ = is; + int i_190_ = i++; + int i_191_ = i_168_; + int i_192_ = is_189_[i_190_]; + int i_193_ = i_191_ + i_192_; + int i_194_ = ((i_191_ & 0xff00ff) + (i_192_ & 0xff00ff)); + i_192_ = (i_194_ & 0x1000100) + (i_193_ - i_194_ & 0x10000); + is_189_[i_190_] = (~0xffffff | i_193_ - i_192_ | i_192_ - (i_192_ >>> 8)); + int[] is_195_ = is; + int i_196_ = i++; + int i_197_ = i_168_; + int i_198_ = is_195_[i_196_]; + int i_199_ = i_197_ + i_198_; + int i_200_ = ((i_197_ & 0xff00ff) + (i_198_ & 0xff00ff)); + i_198_ = (i_200_ & 0x1000100) + (i_199_ - i_200_ & 0x10000); + is_195_[i_196_] = (~0xffffff | i_199_ - i_198_ | i_198_ - (i_198_ >>> 8)); + int[] is_201_ = is; + int i_202_ = i++; + int i_203_ = i_168_; + int i_204_ = is_201_[i_202_]; + int i_205_ = i_203_ + i_204_; + int i_206_ = ((i_203_ & 0xff00ff) + (i_204_ & 0xff00ff)); + i_204_ = (i_206_ & 0x1000100) + (i_205_ - i_206_ & 0x10000); + is_201_[i_202_] = (~0xffffff | i_205_ - i_204_ | i_204_ - (i_204_ >>> 8)); + } while (--i_169_ > 0); + } + i_169_ = i_171_ - i_170_ & 0x3; + if (i_169_ > 0) { + i_168_ = ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); + do { + int[] is_207_ = is; + int i_208_ = i++; + int i_209_ = i_168_; + int i_210_ = is_207_[i_208_]; + int i_211_ = i_209_ + i_210_; + int i_212_ = ((i_209_ & 0xff00ff) + (i_210_ & 0xff00ff)); + i_210_ = (i_212_ & 0x1000100) + (i_211_ - i_212_ & 0x10000); + is_207_[i_208_] = (~0xffffff | i_211_ - i_210_ | i_210_ - (i_210_ >>> 8)); + } while (--i_169_ > 0); + } + } else { + int i_179_ = this.anInt1674; + int i_180_ = 256 - this.anInt1674; + if (i_169_ > 0) { + do { + i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); + f_173_ += f_174_; + f_175_ += f_176_; + f_177_ += f_178_; + i_168_ = (((i_168_ & 0xff00ff) * i_180_ >> 8 & 0xff00ff) + ((i_168_ & 0xff00) * i_180_ >> 8 & 0xff00)); + int i_181_ = is[i]; + is[i++] = (i_168_ + ((i_181_ & 0xff00ff) * i_179_ >> 8 & 0xff00ff) + ((i_181_ & 0xff00) * i_179_ >> 8 & 0xff00)); + i_181_ = is[i]; + is[i++] = (i_168_ + ((i_181_ & 0xff00ff) * i_179_ >> 8 & 0xff00ff) + ((i_181_ & 0xff00) * i_179_ >> 8 & 0xff00)); + i_181_ = is[i]; + is[i++] = (i_168_ + ((i_181_ & 0xff00ff) * i_179_ >> 8 & 0xff00ff) + ((i_181_ & 0xff00) * i_179_ >> 8 & 0xff00)); + i_181_ = is[i]; + is[i++] = (i_168_ + ((i_181_ & 0xff00ff) * i_179_ >> 8 & 0xff00ff) + ((i_181_ & 0xff00) * i_179_ >> 8 & 0xff00)); + } while (--i_169_ > 0); + } + i_169_ = i_171_ - i_170_ & 0x3; + if (i_169_ > 0) { + i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); + i_168_ = (((i_168_ & 0xff00ff) * i_180_ >> 8 & 0xff00ff) + ((i_168_ & 0xff00) * i_180_ >> 8 & 0xff00)); + do { + int i_182_ = is[i]; + is[i++] = (i_168_ + ((i_182_ & 0xff00ff) * i_179_ >> 8 & 0xff00ff) + ((i_182_ & 0xff00) * i_179_ >> 8 & 0xff00)); + } while (--i_169_ > 0); + } + } + } else { + i_169_ = i_171_ - i_170_; + if (this.anInt1674 == 0) { + do { + is[i++] = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); + f_173_ += f_174_; + f_175_ += f_176_; + f_177_ += f_178_; + } while (--i_169_ > 0); + } else if (this.aBoolean1667) { + do { + int[] is_216_ = is; + int i_217_ = i++; + int i_218_ = ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); + int i_219_ = is_216_[i_217_]; + int i_220_ = i_218_ + i_219_; + int i_221_ = (i_218_ & 0xff00ff) + (i_219_ & 0xff00ff); + i_219_ = (i_221_ & 0x1000100) + (i_220_ - i_221_ & 0x10000); + is_216_[i_217_] = (~0xffffff | i_220_ - i_219_ | i_219_ - (i_219_ >>> 8)); + f_173_ += f_174_; + f_175_ += f_176_; + f_177_ += f_178_; + } while (--i_169_ > 0); + } else { + int i_213_ = this.anInt1674; + int i_214_ = 256 - this.anInt1674; + do { + i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); + f_173_ += f_174_; + f_175_ += f_176_; + f_177_ += f_178_; + i_168_ = (((i_168_ & 0xff00ff) * i_214_ >> 8 & 0xff00ff) + ((i_168_ & 0xff00) * i_214_ >> 8 & 0xff00)); + int i_215_ = is[i]; + is[i++] = (i_168_ + ((i_215_ & 0xff00ff) * i_213_ >> 8 & 0xff00ff) + ((i_215_ & 0xff00) * i_213_ >> 8 & 0xff00)); + } while (--i_169_ > 0); + } + } + } else { + i += i_170_ - 1; + f += f_172_ * (float) i_170_; + f_173_ += f_174_ * (float) i_170_; + f_175_ += f_176_ * (float) i_170_; + f_177_ += f_178_ * (float) i_170_; + if (aClass167_1670.aBoolean2202) { + if (this.aBoolean1669) { + i_169_ = i_171_ - i_170_ >> 2; + f_174_ *= 4.0F; + f_176_ *= 4.0F; + f_178_ *= 4.0F; + if (this.anInt1674 == 0) { + if (i_169_ > 0) { + do { + i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); + f_173_ += f_174_; + f_175_ += f_176_; + f_177_ += f_178_; + if (f < fs[++i]) { + is[i] = i_168_; + fs[i] = f; + } + f += f_172_; + if (f < fs[++i]) { + is[i] = i_168_; + fs[i] = f; + } + f += f_172_; + if (f < fs[++i]) { + is[i] = i_168_; + fs[i] = f; + } + f += f_172_; + if (f < fs[++i]) { + is[i] = i_168_; + fs[i] = f; + } + f += f_172_; + } while (--i_169_ > 0); + } + i_169_ = i_171_ - i_170_ & 0x3; + if (i_169_ > 0) { + i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); + do { + if (f < fs[++i]) { + is[i] = i_168_; + fs[i] = f; + } + f += f_172_; + } while (--i_169_ > 0); + } + } else if (this.aBoolean1667) { + if (i_169_ > 0) { + do { + i_168_ = ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); + f_173_ += f_174_; + f_175_ += f_176_; + f_177_ += f_178_; + if (f < fs[++i]) { + int[] is_229_ = is; + int i_230_ = i; + int i_231_ = i_168_; + int i_232_ = is_229_[i_230_]; + int i_233_ = i_231_ + i_232_; + int i_234_ = ((i_231_ & 0xff00ff) + (i_232_ & 0xff00ff)); + i_232_ = ((i_234_ & 0x1000100) + (i_233_ - i_234_ & 0x10000)); + is_229_[i_230_] = (~0xffffff | i_233_ - i_232_ | i_232_ - (i_232_ >>> 8)); + fs[i] = f; + } + f += f_172_; + if (f < fs[++i]) { + int[] is_235_ = is; + int i_236_ = i; + int i_237_ = i_168_; + int i_238_ = is_235_[i_236_]; + int i_239_ = i_237_ + i_238_; + int i_240_ = ((i_237_ & 0xff00ff) + (i_238_ & 0xff00ff)); + i_238_ = ((i_240_ & 0x1000100) + (i_239_ - i_240_ & 0x10000)); + is_235_[i_236_] = (~0xffffff | i_239_ - i_238_ | i_238_ - (i_238_ >>> 8)); + fs[i] = f; + } + f += f_172_; + if (f < fs[++i]) { + int[] is_241_ = is; + int i_242_ = i; + int i_243_ = i_168_; + int i_244_ = is_241_[i_242_]; + int i_245_ = i_243_ + i_244_; + int i_246_ = ((i_243_ & 0xff00ff) + (i_244_ & 0xff00ff)); + i_244_ = ((i_246_ & 0x1000100) + (i_245_ - i_246_ & 0x10000)); + is_241_[i_242_] = (~0xffffff | i_245_ - i_244_ | i_244_ - (i_244_ >>> 8)); + fs[i] = f; + } + f += f_172_; + if (f < fs[++i]) { + int[] is_247_ = is; + int i_248_ = i; + int i_249_ = i_168_; + int i_250_ = is_247_[i_248_]; + int i_251_ = i_249_ + i_250_; + int i_252_ = ((i_249_ & 0xff00ff) + (i_250_ & 0xff00ff)); + i_250_ = ((i_252_ & 0x1000100) + (i_251_ - i_252_ & 0x10000)); + is_247_[i_248_] = (~0xffffff | i_251_ - i_250_ | i_250_ - (i_250_ >>> 8)); + fs[i] = f; + } + f += f_172_; + } while (--i_169_ > 0); + } + i_169_ = i_171_ - i_170_ & 0x3; + if (i_169_ > 0) { + i_168_ = ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); + do { + if (f < fs[++i]) { + int[] is_253_ = is; + int i_254_ = i; + int i_255_ = i_168_; + int i_256_ = is_253_[i_254_]; + int i_257_ = i_255_ + i_256_; + int i_258_ = ((i_255_ & 0xff00ff) + (i_256_ & 0xff00ff)); + i_256_ = ((i_258_ & 0x1000100) + (i_257_ - i_258_ & 0x10000)); + is_253_[i_254_] = (~0xffffff | i_257_ - i_256_ | i_256_ - (i_256_ >>> 8)); + fs[i] = f; + } + f += f_172_; + } while (--i_169_ > 0); + } + } else { + int i_222_ = this.anInt1674; + int i_223_ = 256 - this.anInt1674; + if (i_169_ > 0) { + do { + i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); + f_173_ += f_174_; + f_175_ += f_176_; + f_177_ += f_178_; + i_168_ = (((i_168_ & 0xff00ff) * i_223_ >> 8 & 0xff00ff) + ((i_168_ & 0xff00) * i_223_ >> 8 & 0xff00)); + if (f < fs[++i]) { + int i_224_ = is[i]; + is[i] = (i_168_ + (((i_224_ & 0xff00ff) * i_222_ >> 8) & 0xff00ff) + (((i_224_ & 0xff00) * i_222_ >> 8) & 0xff00)); + fs[i] = f; + } + f += f_172_; + if (f < fs[++i]) { + int i_225_ = is[i]; + is[i] = (i_168_ + (((i_225_ & 0xff00ff) * i_222_ >> 8) & 0xff00ff) + (((i_225_ & 0xff00) * i_222_ >> 8) & 0xff00)); + fs[i] = f; + } + f += f_172_; + if (f < fs[++i]) { + int i_226_ = is[i]; + is[i] = (i_168_ + (((i_226_ & 0xff00ff) * i_222_ >> 8) & 0xff00ff) + (((i_226_ & 0xff00) * i_222_ >> 8) & 0xff00)); + fs[i] = f; + } + f += f_172_; + if (f < fs[++i]) { + int i_227_ = is[i]; + is[i] = (i_168_ + (((i_227_ & 0xff00ff) * i_222_ >> 8) & 0xff00ff) + (((i_227_ & 0xff00) * i_222_ >> 8) & 0xff00)); + fs[i] = f; + } + f += f_172_; + } while (--i_169_ > 0); + } + i_169_ = i_171_ - i_170_ & 0x3; + if (i_169_ > 0) { + i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); + i_168_ = (((i_168_ & 0xff00ff) * i_223_ >> 8 & 0xff00ff) + ((i_168_ & 0xff00) * i_223_ >> 8 & 0xff00)); + do { + if (f < fs[++i]) { + int i_228_ = is[i]; + is[i] = (i_168_ + (((i_228_ & 0xff00ff) * i_222_ >> 8) & 0xff00ff) + (((i_228_ & 0xff00) * i_222_ >> 8) & 0xff00)); + fs[i] = f; + } + f += f_172_; + } while (--i_169_ > 0); + } + } + } else { + i_169_ = i_171_ - i_170_; + if (this.anInt1674 == 0) { + do { + if (f < fs[++i]) { + is[i] = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); + fs[i] = f; + } + f += f_172_; + f_173_ += f_174_; + f_175_ += f_176_; + f_177_ += f_178_; + } while (--i_169_ > 0); + } else if (this.aBoolean1667) { + do { + if (f < fs[++i]) { + int[] is_262_ = is; + int i_263_ = i; + int i_264_ = ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); + int i_265_ = is_262_[i_263_]; + int i_266_ = i_264_ + i_265_; + int i_267_ = ((i_264_ & 0xff00ff) + (i_265_ & 0xff00ff)); + i_265_ = ((i_267_ & 0x1000100) + (i_266_ - i_267_ & 0x10000)); + is_262_[i_263_] = (~0xffffff | i_266_ - i_265_ | i_265_ - (i_265_ >>> 8)); + fs[i] = f; + } + f += f_172_; + f_173_ += f_174_; + f_175_ += f_176_; + f_177_ += f_178_; + } while (--i_169_ > 0); + } else { + int i_259_ = this.anInt1674; + int i_260_ = 256 - this.anInt1674; + do { + if (f < fs[++i]) { + i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); + i_168_ = (((i_168_ & 0xff00ff) * i_260_ >> 8 & 0xff00ff) + ((i_168_ & 0xff00) * i_260_ >> 8 & 0xff00)); + int i_261_ = is[i]; + is[i] = (i_168_ + ((i_261_ & 0xff00ff) * i_259_ >> 8 & 0xff00ff) + ((i_261_ & 0xff00) * i_259_ >> 8 & 0xff00)); + fs[i] = f; + } + f += f_172_; + f_173_ += f_174_; + f_175_ += f_176_; + f_177_ += f_178_; + } while (--i_169_ > 0); + } + } + } else if (this.aBoolean1669) { + i_169_ = i_171_ - i_170_ >> 2; + f_174_ *= 4.0F; + f_176_ *= 4.0F; + f_178_ *= 4.0F; + if (this.anInt1674 == 0) { + if (i_169_ > 0) { + do { + i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); + f_173_ += f_174_; + f_175_ += f_176_; + f_177_ += f_178_; + if (f < fs[++i]) is[i] = i_168_; + f += f_172_; + if (f < fs[++i]) is[i] = i_168_; + f += f_172_; + if (f < fs[++i]) is[i] = i_168_; + f += f_172_; + if (f < fs[++i]) is[i] = i_168_; + f += f_172_; + } while (--i_169_ > 0); + } + i_169_ = i_171_ - i_170_ & 0x3; + if (i_169_ > 0) { + i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); + do { + if (f < fs[++i]) is[i] = i_168_; + f += f_172_; + } while (--i_169_ > 0); + } + } else if (this.aBoolean1667) { + if (i_169_ > 0) { + do { + i_168_ = ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); + f_173_ += f_174_; + f_175_ += f_176_; + f_177_ += f_178_; + if (f < fs[++i]) { + int[] is_275_ = is; + int i_276_ = i; + int i_277_ = i_168_; + int i_278_ = is_275_[i_276_]; + int i_279_ = i_277_ + i_278_; + int i_280_ = ((i_277_ & 0xff00ff) + (i_278_ & 0xff00ff)); + i_278_ = ((i_280_ & 0x1000100) + (i_279_ - i_280_ & 0x10000)); + is_275_[i_276_] = (~0xffffff | i_279_ - i_278_ | i_278_ - (i_278_ >>> 8)); + } + f += f_172_; + if (f < fs[++i]) { + int[] is_281_ = is; + int i_282_ = i; + int i_283_ = i_168_; + int i_284_ = is_281_[i_282_]; + int i_285_ = i_283_ + i_284_; + int i_286_ = ((i_283_ & 0xff00ff) + (i_284_ & 0xff00ff)); + i_284_ = ((i_286_ & 0x1000100) + (i_285_ - i_286_ & 0x10000)); + is_281_[i_282_] = (~0xffffff | i_285_ - i_284_ | i_284_ - (i_284_ >>> 8)); + } + f += f_172_; + if (f < fs[++i]) { + int[] is_287_ = is; + int i_288_ = i; + int i_289_ = i_168_; + int i_290_ = is_287_[i_288_]; + int i_291_ = i_289_ + i_290_; + int i_292_ = ((i_289_ & 0xff00ff) + (i_290_ & 0xff00ff)); + i_290_ = ((i_292_ & 0x1000100) + (i_291_ - i_292_ & 0x10000)); + is_287_[i_288_] = (~0xffffff | i_291_ - i_290_ | i_290_ - (i_290_ >>> 8)); + } + f += f_172_; + if (f < fs[++i]) { + int[] is_293_ = is; + int i_294_ = i; + int i_295_ = i_168_; + int i_296_ = is_293_[i_294_]; + int i_297_ = i_295_ + i_296_; + int i_298_ = ((i_295_ & 0xff00ff) + (i_296_ & 0xff00ff)); + i_296_ = ((i_298_ & 0x1000100) + (i_297_ - i_298_ & 0x10000)); + is_293_[i_294_] = (~0xffffff | i_297_ - i_296_ | i_296_ - (i_296_ >>> 8)); + } + f += f_172_; + } while (--i_169_ > 0); + } + i_169_ = i_171_ - i_170_ & 0x3; + if (i_169_ > 0) { + i_168_ = ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); + do { + if (f < fs[++i]) { + int[] is_299_ = is; + int i_300_ = i; + int i_301_ = i_168_; + int i_302_ = is_299_[i_300_]; + int i_303_ = i_301_ + i_302_; + int i_304_ = ((i_301_ & 0xff00ff) + (i_302_ & 0xff00ff)); + i_302_ = ((i_304_ & 0x1000100) + (i_303_ - i_304_ & 0x10000)); + is_299_[i_300_] = (~0xffffff | i_303_ - i_302_ | i_302_ - (i_302_ >>> 8)); + } + f += f_172_; + } while (--i_169_ > 0); + } + } else { + int i_268_ = this.anInt1674; + int i_269_ = 256 - this.anInt1674; + if (i_169_ > 0) { + do { + i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); + f_173_ += f_174_; + f_175_ += f_176_; + f_177_ += f_178_; + i_168_ = (((i_168_ & 0xff00ff) * i_269_ >> 8 & 0xff00ff) + ((i_168_ & 0xff00) * i_269_ >> 8 & 0xff00)); + if (f < fs[++i]) { + int i_270_ = is[i]; + is[i] = (i_168_ + ((i_270_ & 0xff00ff) * i_268_ >> 8 & 0xff00ff) + ((i_270_ & 0xff00) * i_268_ >> 8 & 0xff00)); + } + f += f_172_; + if (f < fs[++i]) { + int i_271_ = is[i]; + is[i] = (i_168_ + ((i_271_ & 0xff00ff) * i_268_ >> 8 & 0xff00ff) + ((i_271_ & 0xff00) * i_268_ >> 8 & 0xff00)); + } + f += f_172_; + if (f < fs[++i]) { + int i_272_ = is[i]; + is[i] = (i_168_ + ((i_272_ & 0xff00ff) * i_268_ >> 8 & 0xff00ff) + ((i_272_ & 0xff00) * i_268_ >> 8 & 0xff00)); + } + f += f_172_; + if (f < fs[++i]) { + int i_273_ = is[i]; + is[i] = (i_168_ + ((i_273_ & 0xff00ff) * i_268_ >> 8 & 0xff00ff) + ((i_273_ & 0xff00) * i_268_ >> 8 & 0xff00)); + } + f += f_172_; + } while (--i_169_ > 0); + } + i_169_ = i_171_ - i_170_ & 0x3; + if (i_169_ > 0) { + i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); + i_168_ = (((i_168_ & 0xff00ff) * i_269_ >> 8 & 0xff00ff) + ((i_168_ & 0xff00) * i_269_ >> 8 & 0xff00)); + do { + if (f < fs[++i]) { + int i_274_ = is[i]; + is[i] = (i_168_ + ((i_274_ & 0xff00ff) * i_268_ >> 8 & 0xff00ff) + ((i_274_ & 0xff00) * i_268_ >> 8 & 0xff00)); + } + f += f_172_; + } while (--i_169_ > 0); + } + } + } else { + i_169_ = i_171_ - i_170_; + if (this.anInt1674 == 0) { + do { + if (f < fs[++i]) is[i] = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); + f += f_172_; + f_173_ += f_174_; + f_175_ += f_176_; + f_177_ += f_178_; + } while (--i_169_ > 0); + } else if (this.aBoolean1667) { + do { + if (f < fs[++i]) { + int[] is_308_ = is; + int i_309_ = i; + int i_310_ = ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); + int i_311_ = is_308_[i_309_]; + int i_312_ = i_310_ + i_311_; + int i_313_ = ((i_310_ & 0xff00ff) + (i_311_ & 0xff00ff)); + i_311_ = (i_313_ & 0x1000100) + (i_312_ - i_313_ & 0x10000); + is_308_[i_309_] = (~0xffffff | i_312_ - i_311_ | i_311_ - (i_311_ >>> 8)); + } + f += f_172_; + f_173_ += f_174_; + f_175_ += f_176_; + f_177_ += f_178_; + } while (--i_169_ > 0); + } else { + int i_305_ = this.anInt1674; + int i_306_ = 256 - this.anInt1674; + do { + if (f < fs[++i]) { + i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); + i_168_ = (((i_168_ & 0xff00ff) * i_306_ >> 8 & 0xff00ff) + ((i_168_ & 0xff00) * i_306_ >> 8 & 0xff00)); + int i_307_ = is[i]; + is[i] = (i_168_ + ((i_307_ & 0xff00ff) * i_305_ >> 8 & 0xff00ff) + ((i_307_ & 0xff00) * i_305_ >> 8 & 0xff00)); + } + f += f_172_; + f_173_ += f_174_; + f_175_ += f_176_; + f_177_ += f_178_; + } while (--i_169_ > 0); + } + } + } + } + } + + final void method1022(float f, float f_314_, float f_315_, float f_316_, float f_317_, float f_318_, float f_319_, float f_320_, float f_321_, float f_322_, float f_323_, float f_324_) { + if (aBoolean1675) { + aHa_Sub1_1666.method3645((int) f, (int) f_316_, (int) f_317_, -8003, Component380.anIntArray4983[(int) f_322_], (int) f_314_); + aHa_Sub1_1666.method3645((int) f_314_, (int) f_317_, (int) f_318_, -8003, Component380.anIntArray4983[(int) f_322_], (int) f_315_); + aHa_Sub1_1666.method3645((int) f_315_, (int) f_318_, (int) f_316_, -8003, Component380.anIntArray4983[(int) f_322_], (int) f); + } else { + float f_325_ = f_317_ - f_316_; + float f_326_ = f_314_ - f; + float f_327_ = f_318_ - f_316_; + float f_328_ = f_315_ - f; + float f_329_ = f_323_ - f_322_; + float f_330_ = f_324_ - f_322_; + float f_331_ = f_320_ - f_319_; + float f_332_ = f_321_ - f_319_; + float f_333_; + if (f_315_ != f_314_) f_333_ = (f_318_ - f_317_) / (f_315_ - f_314_); + else f_333_ = 0.0F; + float f_334_; + if (f_314_ != f) f_334_ = f_325_ / f_326_; + else f_334_ = 0.0F; + float f_335_; + if (f_315_ != f) f_335_ = f_327_ / f_328_; + else f_335_ = 0.0F; + float f_336_ = f_325_ * f_328_ - f_327_ * f_326_; + if (f_336_ != 0.0F) { + float f_337_ = (f_329_ * f_328_ - f_330_ * f_326_) / f_336_; + float f_338_ = (f_330_ * f_325_ - f_329_ * f_327_) / f_336_; + float f_339_ = (f_331_ * f_328_ - f_332_ * f_326_) / f_336_; + float f_340_ = (f_332_ * f_325_ - f_331_ * f_327_) / f_336_; + if (f <= f_314_ && f <= f_315_) { + if (!(f >= (float) this.anInt1672)) { + if (f_314_ > (float) this.anInt1672) f_314_ = (float) this.anInt1672; + if (f_315_ > (float) this.anInt1672) f_315_ = (float) this.anInt1672; + f_322_ = f_322_ - f_337_ * f_316_ + f_337_; + f_319_ = f_319_ - f_339_ * f_316_ + f_339_; + if (f_314_ < f_315_) { + f_318_ = f_316_; + if (f < 0.0F) { + f_318_ -= f_335_ * f; + f_316_ -= f_334_ * f; + f_322_ -= f_338_ * f; + f_319_ -= f_340_ * f; + f = 0.0F; + } + if (f_314_ < 0.0F) { + f_317_ -= f_333_ * f_314_; + f_314_ = 0.0F; + } + if (f != f_314_ && f_335_ < f_334_ || f == f_314_ && f_335_ > f_333_) { + f_315_ -= f_314_; + f_314_ -= f; + f = (float) (this.anIntArray1676[(int) f]); + while (--f_314_ >= 0.0F) { + method1019(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_318_, (int) f_316_, f_322_, f_337_, f_319_, f_339_); + f_318_ += f_335_; + f_316_ += f_334_; + f_322_ += f_338_; + f_319_ += f_340_; + f += (float) anInt1678; + } + while (--f_315_ >= 0.0F) { + method1019(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_318_, (int) f_317_, f_322_, f_337_, f_319_, f_339_); + f_318_ += f_335_; + f_317_ += f_333_; + f_322_ += f_338_; + f_319_ += f_340_; + f += (float) anInt1678; + } + } else { + f_315_ -= f_314_; + f_314_ -= f; + f = (float) (this.anIntArray1676[(int) f]); + while (--f_314_ >= 0.0F) { + method1019(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_316_, (int) f_318_, f_322_, f_337_, f_319_, f_339_); + f_318_ += f_335_; + f_316_ += f_334_; + f_322_ += f_338_; + f_319_ += f_340_; + f += (float) anInt1678; + } + while (--f_315_ >= 0.0F) { + method1019(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_317_, (int) f_318_, f_322_, f_337_, f_319_, f_339_); + f_318_ += f_335_; + f_317_ += f_333_; + f_322_ += f_338_; + f_319_ += f_340_; + f += (float) anInt1678; + } + } + } else { + f_317_ = f_316_; + if (f < 0.0F) { + f_317_ -= f_335_ * f; + f_316_ -= f_334_ * f; + f_322_ -= f_338_ * f; + f_319_ -= f_340_ * f; + f = 0.0F; + } + if (f_315_ < 0.0F) { + f_318_ -= f_333_ * f_315_; + f_315_ = 0.0F; + } + if (f != f_315_ && f_335_ < f_334_ || f == f_315_ && f_333_ > f_334_) { + f_314_ -= f_315_; + f_315_ -= f; + f = (float) (this.anIntArray1676[(int) f]); + while (--f_315_ >= 0.0F) { + method1019(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_317_, (int) f_316_, f_322_, f_337_, f_319_, f_339_); + f_317_ += f_335_; + f_316_ += f_334_; + f_322_ += f_338_; + f_319_ += f_340_; + f += (float) anInt1678; + } + while (--f_314_ >= 0.0F) { + method1019(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_318_, (int) f_316_, f_322_, f_337_, f_319_, f_339_); + f_318_ += f_333_; + f_316_ += f_334_; + f_322_ += f_338_; + f_319_ += f_340_; + f += (float) anInt1678; + } + } else { + f_314_ -= f_315_; + f_315_ -= f; + f = (float) (this.anIntArray1676[(int) f]); + while (--f_315_ >= 0.0F) { + method1019(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_316_, (int) f_317_, f_322_, f_337_, f_319_, f_339_); + f_317_ += f_335_; + f_316_ += f_334_; + f_322_ += f_338_; + f_319_ += f_340_; + f += (float) anInt1678; + } + while (--f_314_ >= 0.0F) { + method1019(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_316_, (int) f_318_, f_322_, f_337_, f_319_, f_339_); + f_318_ += f_333_; + f_316_ += f_334_; + f_322_ += f_338_; + f_319_ += f_340_; + f += (float) anInt1678; + } + } + } + } + } else if (f_314_ <= f_315_) { + if (!(f_314_ >= (float) this.anInt1672)) { + if (f_315_ > (float) this.anInt1672) f_315_ = (float) this.anInt1672; + if (f > (float) this.anInt1672) f = (float) this.anInt1672; + f_323_ = f_323_ - f_337_ * f_317_ + f_337_; + f_320_ = f_320_ - f_339_ * f_317_ + f_339_; + if (f_315_ < f) { + f_316_ = f_317_; + if (f_314_ < 0.0F) { + f_316_ -= f_334_ * f_314_; + f_317_ -= f_333_ * f_314_; + f_323_ -= f_338_ * f_314_; + f_320_ -= f_340_ * f_314_; + f_314_ = 0.0F; + } + if (f_315_ < 0.0F) { + f_318_ -= f_335_ * f_315_; + f_315_ = 0.0F; + } + if (f_314_ != f_315_ && f_334_ < f_333_ || f_314_ == f_315_ && f_334_ > f_335_) { + f -= f_315_; + f_315_ -= f_314_; + f_314_ = (float) (this.anIntArray1676[(int) f_314_]); + while (--f_315_ >= 0.0F) { + method1019(anIntArray1673, aFloatArray1677, (int) f_314_, 0, 0, (int) f_316_, (int) f_317_, f_323_, f_337_, f_320_, f_339_); + f_316_ += f_334_; + f_317_ += f_333_; + f_323_ += f_338_; + f_320_ += f_340_; + f_314_ += (float) anInt1678; + } + while (--f >= 0.0F) { + method1019(anIntArray1673, aFloatArray1677, (int) f_314_, 0, 0, (int) f_316_, (int) f_318_, f_323_, f_337_, f_320_, f_339_); + f_316_ += f_334_; + f_318_ += f_335_; + f_323_ += f_338_; + f_320_ += f_340_; + f_314_ += (float) anInt1678; + } + } else { + f -= f_315_; + f_315_ -= f_314_; + f_314_ = (float) (this.anIntArray1676[(int) f_314_]); + while (--f_315_ >= 0.0F) { + method1019(anIntArray1673, aFloatArray1677, (int) f_314_, 0, 0, (int) f_317_, (int) f_316_, f_323_, f_337_, f_320_, f_339_); + f_316_ += f_334_; + f_317_ += f_333_; + f_323_ += f_338_; + f_320_ += f_340_; + f_314_ += (float) anInt1678; + } + while (--f >= 0.0F) { + method1019(anIntArray1673, aFloatArray1677, (int) f_314_, 0, 0, (int) f_318_, (int) f_316_, f_323_, f_337_, f_320_, f_339_); + f_316_ += f_334_; + f_318_ += f_335_; + f_323_ += f_338_; + f_320_ += f_340_; + f_314_ += (float) anInt1678; + } + } + } else { + f_318_ = f_317_; + if (f_314_ < 0.0F) { + f_318_ -= f_334_ * f_314_; + f_317_ -= f_333_ * f_314_; + f_323_ -= f_338_ * f_314_; + f_320_ -= f_340_ * f_314_; + f_314_ = 0.0F; + } + if (f < 0.0F) { + f_316_ -= f_335_ * f; + f = 0.0F; + } + if (f_334_ < f_333_) { + f_315_ -= f; + f -= f_314_; + f_314_ = (float) (this.anIntArray1676[(int) f_314_]); + while (--f >= 0.0F) { + method1019(anIntArray1673, aFloatArray1677, (int) f_314_, 0, 0, (int) f_318_, (int) f_317_, f_323_, f_337_, f_320_, f_339_); + f_318_ += f_334_; + f_317_ += f_333_; + f_323_ += f_338_; + f_320_ += f_340_; + f_314_ += (float) anInt1678; + } + while (--f_315_ >= 0.0F) { + method1019(anIntArray1673, aFloatArray1677, (int) f_314_, 0, 0, (int) f_316_, (int) f_317_, f_323_, f_337_, f_320_, f_339_); + f_316_ += f_335_; + f_317_ += f_333_; + f_323_ += f_338_; + f_320_ += f_340_; + f_314_ += (float) anInt1678; + } + } else { + f_315_ -= f; + f -= f_314_; + f_314_ = (float) (this.anIntArray1676[(int) f_314_]); + while (--f >= 0.0F) { + method1019(anIntArray1673, aFloatArray1677, (int) f_314_, 0, 0, (int) f_317_, (int) f_318_, f_323_, f_337_, f_320_, f_339_); + f_318_ += f_334_; + f_317_ += f_333_; + f_323_ += f_338_; + f_320_ += f_340_; + f_314_ += (float) anInt1678; + } + while (--f_315_ >= 0.0F) { + method1019(anIntArray1673, aFloatArray1677, (int) f_314_, 0, 0, (int) f_317_, (int) f_316_, f_323_, f_337_, f_320_, f_339_); + f_316_ += f_335_; + f_317_ += f_333_; + f_323_ += f_338_; + f_320_ += f_340_; + f_314_ += (float) anInt1678; + } + } + } + } + } else if (!(f_315_ >= (float) this.anInt1672)) { + if (f > (float) this.anInt1672) f = (float) this.anInt1672; + if (f_314_ > (float) this.anInt1672) f_314_ = (float) this.anInt1672; + f_324_ = f_324_ - f_337_ * f_318_ + f_337_; + f_321_ = f_321_ - f_339_ * f_318_ + f_339_; + if (f < f_314_) { + f_317_ = f_318_; + if (f_315_ < 0.0F) { + f_317_ -= f_333_ * f_315_; + f_318_ -= f_335_ * f_315_; + f_324_ -= f_338_ * f_315_; + f_321_ -= f_340_ * f_315_; + f_315_ = 0.0F; + } + if (f < 0.0F) { + f_316_ -= f_334_ * f; + f = 0.0F; + } + if (f_333_ < f_335_) { + f_314_ -= f; + f -= f_315_; + f_315_ = (float) (this.anIntArray1676[(int) f_315_]); + while (--f >= 0.0F) { + method1019(anIntArray1673, aFloatArray1677, (int) f_315_, 0, 0, (int) f_317_, (int) f_318_, f_324_, f_337_, f_321_, f_339_); + f_317_ += f_333_; + f_318_ += f_335_; + f_324_ += f_338_; + f_321_ += f_340_; + f_315_ += (float) anInt1678; + } + while (--f_314_ >= 0.0F) { + method1019(anIntArray1673, aFloatArray1677, (int) f_315_, 0, 0, (int) f_317_, (int) f_316_, f_324_, f_337_, f_321_, f_339_); + f_317_ += f_333_; + f_316_ += f_334_; + f_324_ += f_338_; + f_321_ += f_340_; + f_315_ += (float) anInt1678; + } + } else { + f_314_ -= f; + f -= f_315_; + f_315_ = (float) (this.anIntArray1676[(int) f_315_]); + while (--f >= 0.0F) { + method1019(anIntArray1673, aFloatArray1677, (int) f_315_, 0, 0, (int) f_318_, (int) f_317_, f_324_, f_337_, f_321_, f_339_); + f_317_ += f_333_; + f_318_ += f_335_; + f_324_ += f_338_; + f_321_ += f_340_; + f_315_ += (float) anInt1678; + } + while (--f_314_ >= 0.0F) { + method1019(anIntArray1673, aFloatArray1677, (int) f_315_, 0, 0, (int) f_316_, (int) f_317_, f_324_, f_337_, f_321_, f_339_); + f_317_ += f_333_; + f_316_ += f_334_; + f_324_ += f_338_; + f_321_ += f_340_; + f_315_ += (float) anInt1678; + } + } + } else { + f_316_ = f_318_; + if (f_315_ < 0.0F) { + f_316_ -= f_333_ * f_315_; + f_318_ -= f_335_ * f_315_; + f_324_ -= f_338_ * f_315_; + f_321_ -= f_340_ * f_315_; + f_315_ = 0.0F; + } + if (f_314_ < 0.0F) { + f_317_ -= f_334_ * f_314_; + f_314_ = 0.0F; + } + if (f_333_ < f_335_) { + f -= f_314_; + f_314_ -= f_315_; + f_315_ = (float) (this.anIntArray1676[(int) f_315_]); + while (--f_314_ >= 0.0F) { + method1019(anIntArray1673, aFloatArray1677, (int) f_315_, 0, 0, (int) f_316_, (int) f_318_, f_324_, f_337_, f_321_, f_339_); + f_316_ += f_333_; + f_318_ += f_335_; + f_324_ += f_338_; + f_321_ += f_340_; + f_315_ += (float) anInt1678; + } + while (--f >= 0.0F) { + method1019(anIntArray1673, aFloatArray1677, (int) f_315_, 0, 0, (int) f_317_, (int) f_318_, f_324_, f_337_, f_321_, f_339_); + f_317_ += f_334_; + f_318_ += f_335_; + f_324_ += f_338_; + f_321_ += f_340_; + f_315_ += (float) anInt1678; + } + } else { + f -= f_314_; + f_314_ -= f_315_; + f_315_ = (float) (this.anIntArray1676[(int) f_315_]); + while (--f_314_ >= 0.0F) { + method1019(anIntArray1673, aFloatArray1677, (int) f_315_, 0, 0, (int) f_318_, (int) f_316_, f_324_, f_337_, f_321_, f_339_); + f_316_ += f_333_; + f_318_ += f_335_; + f_324_ += f_338_; + f_321_ += f_340_; + f_315_ += (float) anInt1678; + } + while (--f >= 0.0F) { + method1019(anIntArray1673, aFloatArray1677, (int) f_315_, 0, 0, (int) f_318_, (int) f_317_, f_324_, f_337_, f_321_, f_339_); + f_317_ += f_334_; + f_318_ += f_335_; + f_324_ += f_338_; + f_321_ += f_340_; + f_315_ += (float) anInt1678; + } + } + } + } + } + } + } + + final void method1023(boolean bool) { + aBoolean1675 = bool; + } + + final void method1024(float f, float f_341_, float f_342_, float f_343_, float f_344_, float f_345_, float f_346_, float f_347_, float f_348_, float f_349_, float f_350_, float f_351_, float f_352_, float f_353_, float f_354_, int i, int i_355_, int i_356_, int i_357_, int i_358_, int i_359_, int i_360_, int i_361_) { + if (i_361_ != anInt1697) { + anIntArray1698 = aHa_Sub1_1666.method3719(i_361_); + if (anIntArray1698 == null) { + method1027((float) (int) f, (float) (int) f_341_, (float) (int) f_342_, (float) (int) f_343_, (float) (int) f_344_, (float) (int) f_345_, (float) (int) f_346_, (float) (int) f_347_, (float) (int) f_348_, BuildInfo.method206(i, i_357_ | i_358_ << 24, 255), BuildInfo.method206(i_355_, i_357_ | i_359_ << 24, 255), BuildInfo.method206(i_356_, i_357_ | i_360_ << 24, 255)); + return; + } + anInt1693 = (aHa_Sub1_1666.method3727(i_361_) ? 64 : aHa_Sub1_1666.anInt7501); + anInt1690 = anInt1693 - 1; + anInt1683 = aHa_Sub1_1666.method3726(i_361_); + aBoolean1694 = aHa_Sub1_1666.method3714(i_361_); + } + anInt1696 = i_357_; + float f_362_ = (float) (i >> 24 & 0xff); + float f_363_ = (float) (i_355_ >> 24 & 0xff); + float f_364_ = (float) (i_356_ >> 24 & 0xff); + float f_365_ = (float) (i >> 16 & 0xff); + float f_366_ = (float) (i_355_ >> 16 & 0xff); + float f_367_ = (float) (i_356_ >> 16 & 0xff); + float f_368_ = (float) (i >> 8 & 0xff); + float f_369_ = (float) (i_355_ >> 8 & 0xff); + float f_370_ = (float) (i_356_ >> 8 & 0xff); + float f_371_ = (float) (i & 0xff); + float f_372_ = (float) (i_355_ & 0xff); + float f_373_ = (float) (i_356_ & 0xff); + f_349_ /= f_346_; + f_350_ /= f_347_; + f_351_ /= f_348_; + f_352_ /= f_346_; + f_353_ /= f_347_; + f_354_ /= f_348_; + f_346_ = 1.0F / f_346_; + f_347_ = 1.0F / f_347_; + f_348_ = 1.0F / f_348_; + float f_374_ = 0.0F; + float f_375_ = 0.0F; + float f_376_ = 0.0F; + float f_377_ = 0.0F; + float f_378_ = 0.0F; + float f_379_ = 0.0F; + float f_380_ = 0.0F; + float f_381_ = 0.0F; + float f_382_ = 0.0F; + if (f_341_ != f) { + float f_383_ = f_341_ - f; + f_374_ = (f_344_ - f_343_) / f_383_; + f_375_ = (f_347_ - f_346_) / f_383_; + f_376_ = (f_350_ - f_349_) / f_383_; + f_377_ = (f_353_ - f_352_) / f_383_; + f_378_ = (float) (i_359_ - i_358_) / f_383_; + f_379_ = (f_363_ - f_362_) / f_383_; + f_380_ = (f_366_ - f_365_) / f_383_; + f_381_ = (f_369_ - f_368_) / f_383_; + f_382_ = (f_372_ - f_371_) / f_383_; + } + float f_384_ = 0.0F; + float f_385_ = 0.0F; + float f_386_ = 0.0F; + float f_387_ = 0.0F; + float f_388_ = 0.0F; + float f_389_ = 0.0F; + float f_390_ = 0.0F; + float f_391_ = 0.0F; + float f_392_ = 0.0F; + if (f_342_ != f_341_) { + float f_393_ = f_342_ - f_341_; + f_384_ = (f_345_ - f_344_) / f_393_; + f_385_ = (f_348_ - f_347_) / f_393_; + f_386_ = (f_351_ - f_350_) / f_393_; + f_387_ = (f_354_ - f_353_) / f_393_; + f_388_ = (float) (i_360_ - i_359_) / f_393_; + f_389_ = (f_364_ - f_363_) / f_393_; + f_390_ = (f_367_ - f_366_) / f_393_; + f_391_ = (f_370_ - f_369_) / f_393_; + f_392_ = (f_373_ - f_372_) / f_393_; + } + float f_394_ = 0.0F; + float f_395_ = 0.0F; + float f_396_ = 0.0F; + float f_397_ = 0.0F; + float f_398_ = 0.0F; + float f_399_ = 0.0F; + float f_400_ = 0.0F; + float f_401_ = 0.0F; + float f_402_ = 0.0F; + if (f != f_342_) { + float f_403_ = f - f_342_; + f_394_ = (f_343_ - f_345_) / f_403_; + f_395_ = (f_346_ - f_348_) / f_403_; + f_396_ = (f_349_ - f_351_) / f_403_; + f_397_ = (f_352_ - f_354_) / f_403_; + f_398_ = (float) (i_358_ - i_360_) / f_403_; + f_399_ = (f_362_ - f_364_) / f_403_; + f_400_ = (f_365_ - f_367_) / f_403_; + f_401_ = (f_368_ - f_370_) / f_403_; + f_402_ = (f_371_ - f_373_) / f_403_; + } + if (f <= f_341_ && f <= f_342_) { + if (!(f >= (float) this.anInt1672)) { + if (f_341_ > (float) this.anInt1672) f_341_ = (float) this.anInt1672; + if (f_342_ > (float) this.anInt1672) f_342_ = (float) this.anInt1672; + if (f_341_ < f_342_) { + f_345_ = f_343_; + f_348_ = f_346_; + f_351_ = f_349_; + f_354_ = f_352_; + i_360_ = i_358_; + f_364_ = f_362_; + f_367_ = f_365_; + f_370_ = f_368_; + f_373_ = f_371_; + if (f < 0.0F) { + f_343_ -= f_374_ * f; + f_345_ -= f_394_ * f; + f_346_ -= f_375_ * f; + f_348_ -= f_395_ * f; + f_349_ -= f_376_ * f; + f_351_ -= f_396_ * f; + f_352_ -= f_377_ * f; + f_354_ -= f_397_ * f; + i_358_ -= f_378_ * f; + i_360_ -= f_398_ * f; + f_362_ -= f_379_ * f; + f_364_ -= f_399_ * f; + f_365_ -= f_379_ * f; + f_367_ -= f_399_ * f; + f_368_ -= f_379_ * f; + f_370_ -= f_399_ * f; + f_371_ -= f_379_ * f; + f_373_ -= f_399_ * f; + f = 0.0F; + } + if (f_341_ < 0.0F) { + f_344_ -= f_384_ * f_341_; + f_347_ -= f_385_ * f_341_; + f_350_ -= f_386_ * f_341_; + f_353_ -= f_387_ * f_341_; + i_359_ -= f_388_ * f_341_; + f_363_ -= f_389_ * f_341_; + f_366_ -= f_390_ * f_341_; + f_369_ -= f_391_ * f_341_; + f_372_ -= f_392_ * f_341_; + f_341_ = 0.0F; + } + if (f != f_341_ && f_394_ < f_374_ || f == f_341_ && f_394_ > f_384_) { + f_342_ -= f_341_; + f_341_ -= f; + f = (float) this.anIntArray1676[(int) f]; + while (--f_341_ >= 0.0F) { + method1016(anIntArray1673, anIntArray1698, (int) f, (int) f_345_, (int) f_343_, f_348_, f_346_, f_351_, f_349_, f_354_, f_352_, (float) i_360_, (float) i_358_, f_364_, f_362_, f_367_, f_365_, f_370_, f_368_, f_373_, f_371_); + f_343_ += f_374_; + f_345_ += f_394_; + f_346_ += f_375_; + f_348_ += f_395_; + f_349_ += f_376_; + f_351_ += f_396_; + f_352_ += f_377_; + f_354_ += f_397_; + i_358_ += f_378_; + i_360_ += f_398_; + f_362_ += f_379_; + f_364_ += f_399_; + f_365_ += f_380_; + f_367_ += f_400_; + f_368_ += f_381_; + f_370_ += f_401_; + f_371_ += f_382_; + f_373_ += f_402_; + f += (float) anInt1678; + } + while (--f_342_ >= 0.0F) { + method1016(anIntArray1673, anIntArray1698, (int) f, (int) f_345_, (int) f_344_, f_348_, f_347_, f_351_, f_350_, f_354_, f_353_, (float) i_360_, (float) i_359_, f_364_, f_363_, f_367_, f_366_, f_370_, f_369_, f_373_, f_372_); + f_344_ += f_384_; + f_345_ += f_394_; + f_347_ += f_385_; + f_348_ += f_395_; + f_350_ += f_386_; + f_351_ += f_396_; + f_353_ += f_387_; + f_354_ += f_397_; + i_359_ += f_388_; + i_360_ += f_398_; + f_363_ += f_389_; + f_364_ += f_399_; + f_366_ += f_390_; + f_367_ += f_400_; + f_369_ += f_391_; + f_370_ += f_401_; + f_372_ += f_392_; + f_373_ += f_402_; + f += (float) anInt1678; + } + } else { + f_342_ -= f_341_; + f_341_ -= f; + f = (float) this.anIntArray1676[(int) f]; + while (--f_341_ >= 0.0F) { + method1016(anIntArray1673, anIntArray1698, (int) f, (int) f_343_, (int) f_345_, f_346_, f_348_, f_349_, f_351_, f_352_, f_354_, (float) i_358_, (float) i_360_, f_362_, f_364_, f_365_, f_367_, f_368_, f_370_, f_371_, f_373_); + f_343_ += f_374_; + f_345_ += f_394_; + f_346_ += f_375_; + f_348_ += f_395_; + f_349_ += f_376_; + f_351_ += f_396_; + f_352_ += f_377_; + f_354_ += f_397_; + i_358_ += f_378_; + i_360_ += f_398_; + f_362_ += f_379_; + f_364_ += f_399_; + f_365_ += f_380_; + f_367_ += f_400_; + f_368_ += f_381_; + f_370_ += f_401_; + f_371_ += f_382_; + f_373_ += f_402_; + f += (float) anInt1678; + } + while (--f_342_ >= 0.0F) { + method1016(anIntArray1673, anIntArray1698, (int) f, (int) f_344_, (int) f_345_, f_347_, f_348_, f_350_, f_351_, f_353_, f_354_, (float) i_359_, (float) i_360_, f_363_, f_364_, f_366_, f_367_, f_369_, f_370_, f_372_, f_373_); + f_344_ += f_384_; + f_345_ += f_394_; + f_347_ += f_385_; + f_348_ += f_395_; + f_350_ += f_386_; + f_351_ += f_396_; + f_353_ += f_387_; + f_354_ += f_397_; + i_359_ += f_388_; + i_360_ += f_398_; + f_363_ += f_389_; + f_364_ += f_399_; + f_366_ += f_390_; + f_367_ += f_400_; + f_369_ += f_391_; + f_370_ += f_401_; + f_372_ += f_392_; + f_373_ += f_402_; + f += (float) anInt1678; + } + } + } else { + f_344_ = f_343_; + f_347_ = f_346_; + f_350_ = f_349_; + f_353_ = f_352_; + i_359_ = i_358_; + f_363_ = f_362_; + f_366_ = f_365_; + f_369_ = f_368_; + f_372_ = f_371_; + if (f < 0.0F) { + f_343_ -= f_374_ * f; + f_344_ -= f_394_ * f; + f_346_ -= f_375_ * f; + f_347_ -= f_395_ * f; + f_349_ -= f_376_ * f; + f_350_ -= f_396_ * f; + f_352_ -= f_377_ * f; + f_353_ -= f_397_ * f; + i_358_ -= f_378_ * f; + i_359_ -= f_398_ * f; + f_362_ -= f_379_ * f; + f_363_ -= f_399_ * f; + f_365_ -= f_379_ * f; + f_366_ -= f_399_ * f; + f_368_ -= f_379_ * f; + f_369_ -= f_399_ * f; + f_371_ -= f_379_ * f; + f_372_ -= f_399_ * f; + f = 0.0F; + } + if (f_342_ < 0.0F) { + f_345_ -= f_384_ * f_342_; + f_348_ -= f_385_ * f_342_; + f_351_ -= f_386_ * f_342_; + f_354_ -= f_387_ * f_342_; + i_360_ -= f_388_ * f_342_; + f_364_ -= f_389_ * f_342_; + f_367_ -= f_390_ * f_342_; + f_370_ -= f_391_ * f_342_; + f_373_ -= f_392_ * f_342_; + f_342_ = 0.0F; + } + if (f != f_342_ && f_394_ < f_374_ || f == f_342_ && f_384_ > f_374_) { + f_341_ -= f_342_; + f_342_ -= f; + f = (float) this.anIntArray1676[(int) f]; + while (--f_342_ >= 0.0F) { + method1016(anIntArray1673, anIntArray1698, (int) f, (int) f_344_, (int) f_343_, f_347_, f_346_, f_350_, f_349_, f_353_, f_352_, (float) i_359_, (float) i_358_, f_363_, f_362_, f_366_, f_365_, f_369_, f_368_, f_372_, f_371_); + f_343_ += f_374_; + f_344_ += f_394_; + f_346_ += f_375_; + f_347_ += f_395_; + f_349_ += f_376_; + f_350_ += f_396_; + f_352_ += f_377_; + f_353_ += f_397_; + i_358_ += f_378_; + i_359_ += f_398_; + f_362_ += f_379_; + f_363_ += f_399_; + f_365_ += f_380_; + f_366_ += f_400_; + f_368_ += f_381_; + f_369_ += f_401_; + f_371_ += f_382_; + f_372_ += f_402_; + f += (float) anInt1678; + } + while (--f_341_ >= 0.0F) { + method1016(anIntArray1673, anIntArray1698, (int) f, (int) f_345_, (int) f_343_, f_348_, f_346_, f_351_, f_349_, f_354_, f_352_, (float) i_360_, (float) i_358_, f_364_, f_362_, f_367_, f_365_, f_370_, f_368_, f_373_, f_371_); + f_345_ += f_384_; + f_343_ += f_374_; + f_348_ += f_385_; + f_346_ += f_375_; + f_351_ += f_386_; + f_349_ += f_376_; + f_354_ += f_387_; + f_352_ += f_377_; + i_360_ += f_388_; + i_358_ += f_378_; + f_364_ += f_389_; + f_362_ += f_379_; + f_367_ += f_390_; + f_365_ += f_380_; + f_370_ += f_391_; + f_368_ += f_381_; + f_373_ += f_392_; + f_371_ += f_382_; + f += (float) anInt1678; + } + } else { + f_341_ -= f_342_; + f_342_ -= f; + f = (float) this.anIntArray1676[(int) f]; + while (--f_342_ >= 0.0F) { + method1016(anIntArray1673, anIntArray1698, (int) f, (int) f_343_, (int) f_344_, f_346_, f_347_, f_349_, f_350_, f_352_, f_353_, (float) i_358_, (float) i_359_, f_362_, f_363_, f_365_, f_366_, f_368_, f_369_, f_371_, f_372_); + f_344_ += f_394_; + f_343_ += f_374_; + f_347_ += f_395_; + f_346_ += f_375_; + f_350_ += f_396_; + f_349_ += f_376_; + f_353_ += f_397_; + f_352_ += f_377_; + i_359_ += f_398_; + i_358_ += f_378_; + f_363_ += f_399_; + f_362_ += f_379_; + f_366_ += f_400_; + f_365_ += f_380_; + f_369_ += f_401_; + f_368_ += f_381_; + f_372_ += f_402_; + f_371_ += f_382_; + f += (float) anInt1678; + } + while (--f_341_ >= 0.0F) { + method1016(anIntArray1673, anIntArray1698, (int) f, (int) f_343_, (int) f_345_, f_346_, f_348_, f_349_, f_351_, f_352_, f_354_, (float) i_358_, (float) i_360_, f_362_, f_364_, f_365_, f_367_, f_368_, f_370_, f_371_, f_373_); + f_343_ += f_374_; + f_345_ += f_384_; + f_346_ += f_375_; + f_348_ += f_385_; + f_349_ += f_376_; + f_351_ += f_386_; + f_352_ += f_377_; + f_354_ += f_387_; + i_358_ += f_378_; + i_360_ += f_388_; + f_362_ += f_379_; + f_364_ += f_389_; + f_365_ += f_380_; + f_367_ += f_390_; + f_368_ += f_381_; + f_370_ += f_391_; + f_371_ += f_382_; + f_373_ += f_392_; + f += (float) anInt1678; + } + } + } + } + } else if (f_341_ <= f_342_) { + if (!(f_341_ >= (float) this.anInt1672)) { + if (f_342_ > (float) this.anInt1672) f_342_ = (float) this.anInt1672; + if (f > (float) this.anInt1672) f = (float) this.anInt1672; + if (f_342_ < f) { + f_343_ = f_344_; + f_346_ = f_347_; + f_349_ = f_350_; + f_352_ = f_353_; + i_358_ = i_359_; + f_362_ = f_363_; + f_365_ = f_366_; + f_368_ = f_369_; + f_371_ = f_372_; + if (f_341_ < 0.0F) { + f_343_ -= f_374_ * f_341_; + f_344_ -= f_384_ * f_341_; + f_346_ -= f_375_ * f_341_; + f_347_ -= f_385_ * f_341_; + f_349_ -= f_376_ * f_341_; + f_350_ -= f_386_ * f_341_; + f_352_ -= f_377_ * f_341_; + f_353_ -= f_387_ * f_341_; + i_358_ -= f_378_ * f_341_; + i_359_ -= f_388_ * f_341_; + f_362_ -= f_379_ * f_341_; + f_363_ -= f_389_ * f_341_; + f_365_ -= f_380_ * f_341_; + f_366_ -= f_390_ * f_341_; + f_368_ -= f_381_ * f_341_; + f_369_ -= f_391_ * f_341_; + f_371_ -= f_382_ * f_341_; + f_372_ -= f_392_ * f_341_; + f_341_ = 0.0F; + } + if (f_342_ < 0.0F) { + f_345_ -= f_394_ * f_342_; + f_348_ -= f_395_ * f_342_; + f_351_ -= f_396_ * f_342_; + f_354_ -= f_397_ * f_342_; + i_360_ -= f_398_ * f_342_; + f_364_ -= f_399_ * f_342_; + f_367_ -= f_400_ * f_342_; + f_370_ -= f_401_ * f_342_; + f_373_ -= f_402_ * f_342_; + f_342_ = 0.0F; + } + if (f_341_ != f_342_ && f_374_ < f_384_ || f_341_ == f_342_ && f_374_ > f_394_) { + f -= f_342_; + f_342_ -= f_341_; + f_341_ = (float) (this.anIntArray1676[(int) f_341_]); + while (--f_342_ >= 0.0F) { + method1016(anIntArray1673, anIntArray1698, (int) f_341_, (int) f_343_, (int) f_344_, f_346_, f_347_, f_349_, f_350_, f_352_, f_353_, (float) i_358_, (float) i_359_, f_362_, f_363_, f_365_, f_366_, f_368_, f_369_, f_371_, f_372_); + f_343_ += f_374_; + f_344_ += f_384_; + f_346_ += f_375_; + f_347_ += f_385_; + f_349_ += f_376_; + f_350_ += f_386_; + f_352_ += f_377_; + f_353_ += f_387_; + i_358_ += f_378_; + i_359_ += f_388_; + f_362_ += f_379_; + f_363_ += f_389_; + f_365_ += f_380_; + f_366_ += f_390_; + f_368_ += f_381_; + f_369_ += f_391_; + f_371_ += f_382_; + f_372_ += f_392_; + f_341_ += (float) anInt1678; + } + while (--f >= 0.0F) { + method1016(anIntArray1673, anIntArray1698, (int) f_341_, (int) f_343_, (int) f_345_, f_346_, f_348_, f_349_, f_351_, f_352_, f_354_, (float) i_358_, (float) i_360_, f_362_, f_364_, f_365_, f_367_, f_368_, f_370_, f_371_, f_373_); + f_343_ += f_374_; + f_345_ += f_394_; + f_346_ += f_375_; + f_348_ += f_395_; + f_349_ += f_376_; + f_351_ += f_396_; + f_352_ += f_377_; + f_354_ += f_397_; + i_358_ += f_378_; + i_360_ += f_398_; + f_362_ += f_379_; + f_364_ += f_399_; + f_365_ += f_380_; + f_367_ += f_400_; + f_368_ += f_381_; + f_370_ += f_401_; + f_371_ += f_382_; + f_373_ += f_402_; + f_341_ += (float) anInt1678; + } + } else { + f -= f_342_; + f_342_ -= f_341_; + f_341_ = (float) (this.anIntArray1676[(int) f_341_]); + while (--f_342_ >= 0.0F) { + method1016(anIntArray1673, anIntArray1698, (int) f_341_, (int) f_344_, (int) f_343_, f_347_, f_346_, f_350_, f_349_, f_353_, f_352_, (float) i_359_, (float) i_358_, f_363_, f_362_, f_366_, f_365_, f_369_, f_368_, f_372_, f_371_); + f_344_ += f_384_; + f_343_ += f_374_; + f_347_ += f_385_; + f_346_ += f_375_; + f_350_ += f_386_; + f_349_ += f_376_; + f_353_ += f_387_; + f_352_ += f_377_; + i_359_ += f_388_; + i_358_ += f_378_; + f_363_ += f_389_; + f_362_ += f_379_; + f_366_ += f_390_; + f_365_ += f_380_; + f_369_ += f_391_; + f_368_ += f_381_; + f_372_ += f_392_; + f_371_ += f_382_; + f_341_ += (float) anInt1678; + } + while (--f >= 0.0F) { + method1016(anIntArray1673, anIntArray1698, (int) f_341_, (int) f_345_, (int) f_343_, f_348_, f_346_, f_351_, f_349_, f_354_, f_352_, (float) i_360_, (float) i_358_, f_364_, f_362_, f_367_, f_365_, f_370_, f_368_, f_373_, f_371_); + f_345_ += f_394_; + f_343_ += f_374_; + f_348_ += f_395_; + f_346_ += f_375_; + f_351_ += f_396_; + f_349_ += f_376_; + f_354_ += f_397_; + f_352_ += f_377_; + i_360_ += f_398_; + i_358_ += f_378_; + f_364_ += f_399_; + f_362_ += f_379_; + f_367_ += f_400_; + f_365_ += f_380_; + f_370_ += f_401_; + f_368_ += f_381_; + f_373_ += f_402_; + f_371_ += f_382_; + f_341_ += (float) anInt1678; + } + } + } else { + f_345_ = f_344_; + f_348_ = f_347_; + f_351_ = f_350_; + f_354_ = f_353_; + i_360_ = i_359_; + f_364_ = f_363_; + f_367_ = f_366_; + f_370_ = f_369_; + f_373_ = f_372_; + if (f_341_ < 0.0F) { + f_345_ -= f_374_ * f_341_; + f_344_ -= f_384_ * f_341_; + f_348_ -= f_375_ * f_341_; + f_347_ -= f_385_ * f_341_; + f_351_ -= f_376_ * f_341_; + f_350_ -= f_386_ * f_341_; + f_354_ -= f_377_ * f_341_; + f_353_ -= f_387_ * f_341_; + i_360_ -= f_378_ * f_341_; + i_359_ -= f_388_ * f_341_; + f_364_ -= f_379_ * f_341_; + f_363_ -= f_389_ * f_341_; + f_367_ -= f_380_ * f_341_; + f_366_ -= f_390_ * f_341_; + f_370_ -= f_381_ * f_341_; + f_369_ -= f_391_ * f_341_; + f_373_ -= f_382_ * f_341_; + f_372_ -= f_392_ * f_341_; + f_341_ = 0.0F; + } + if (f < 0.0F) { + f_343_ -= f_394_ * f; + f_346_ -= f_395_ * f; + f_349_ -= f_396_ * f; + f_352_ -= f_397_ * f; + i_358_ -= f_398_ * f; + f_362_ -= f_399_ * f; + f_365_ -= f_400_ * f; + f_368_ -= f_401_ * f; + f_371_ -= f_402_ * f; + f = 0.0F; + } + f_342_ -= f; + f -= f_341_; + f_341_ = (float) (this.anIntArray1676[(int) f_341_]); + if (f_374_ < f_384_) { + while (--f >= 0.0F) { + method1016(anIntArray1673, anIntArray1698, (int) f_341_, (int) f_345_, (int) f_344_, f_348_, f_347_, f_351_, f_350_, f_354_, f_353_, (float) i_360_, (float) i_359_, f_364_, f_363_, f_367_, f_366_, f_370_, f_369_, f_373_, f_372_); + f_345_ += f_374_; + f_344_ += f_384_; + f_348_ += f_375_; + f_347_ += f_385_; + f_351_ += f_376_; + f_350_ += f_386_; + f_354_ += f_377_; + f_353_ += f_387_; + i_360_ += f_378_; + i_359_ += f_388_; + f_364_ += f_379_; + f_363_ += f_389_; + f_367_ += f_380_; + f_366_ += f_390_; + f_370_ += f_381_; + f_369_ += f_391_; + f_373_ += f_382_; + f_372_ += f_392_; + f_341_ += (float) anInt1678; + } + while (--f_342_ >= 0.0F) { + method1016(anIntArray1673, anIntArray1698, (int) f_341_, (int) f_343_, (int) f_344_, f_346_, f_347_, f_349_, f_350_, f_352_, f_353_, (float) i_358_, (float) i_359_, f_362_, f_363_, f_365_, f_366_, f_368_, f_369_, f_371_, f_372_); + f_343_ += f_394_; + f_344_ += f_384_; + f_346_ += f_395_; + f_347_ += f_385_; + f_349_ += f_396_; + f_350_ += f_386_; + f_352_ += f_397_; + f_353_ += f_387_; + i_358_ += f_398_; + i_359_ += f_388_; + f_362_ += f_399_; + f_363_ += f_389_; + f_365_ += f_400_; + f_366_ += f_390_; + f_368_ += f_401_; + f_369_ += f_391_; + f_371_ += f_402_; + f_372_ += f_392_; + f_341_ += (float) anInt1678; + } + } else { + while (--f >= 0.0F) { + method1016(anIntArray1673, anIntArray1698, (int) f_341_, (int) f_344_, (int) f_345_, f_347_, f_348_, f_350_, f_351_, f_353_, f_354_, (float) i_359_, (float) i_360_, f_363_, f_364_, f_366_, f_367_, f_369_, f_370_, f_372_, f_373_); + f_344_ += f_384_; + f_345_ += f_374_; + f_347_ += f_385_; + f_348_ += f_375_; + f_350_ += f_386_; + f_351_ += f_376_; + f_353_ += f_387_; + f_354_ += f_377_; + i_359_ += f_388_; + i_360_ += f_378_; + f_363_ += f_389_; + f_364_ += f_379_; + f_366_ += f_390_; + f_367_ += f_380_; + f_369_ += f_391_; + f_370_ += f_381_; + f_372_ += f_392_; + f_373_ += f_382_; + f_341_ += (float) anInt1678; + } + while (--f_342_ >= 0.0F) { + method1016(anIntArray1673, anIntArray1698, (int) f_341_, (int) f_344_, (int) f_343_, f_347_, f_346_, f_350_, f_349_, f_353_, f_352_, (float) i_359_, (float) i_358_, f_363_, f_362_, f_366_, f_365_, f_369_, f_368_, f_372_, f_371_); + f_344_ += f_384_; + f_343_ += f_394_; + f_347_ += f_385_; + f_346_ += f_395_; + f_350_ += f_386_; + f_349_ += f_396_; + f_353_ += f_387_; + f_352_ += f_397_; + i_359_ += f_388_; + i_358_ += f_398_; + f_363_ += f_389_; + f_362_ += f_399_; + f_366_ += f_390_; + f_365_ += f_400_; + f_369_ += f_391_; + f_368_ += f_401_; + f_372_ += f_392_; + f_371_ += f_402_; + f_341_ += (float) anInt1678; + } + } + } + } + } else if (!(f_342_ >= (float) this.anInt1672)) { + if (f > (float) this.anInt1672) f = (float) this.anInt1672; + if (f_341_ > (float) this.anInt1672) f_341_ = (float) this.anInt1672; + if (f < f_341_) { + f_344_ = f_345_; + f_347_ = f_348_; + f_350_ = f_351_; + f_353_ = f_354_; + i_359_ = i_360_; + f_363_ = f_364_; + f_366_ = f_367_; + f_369_ = f_370_; + f_372_ = f_373_; + if (f_342_ < 0.0F) { + f_345_ -= f_394_ * f_342_; + f_344_ -= f_384_ * f_342_; + f_348_ -= f_395_ * f_342_; + f_347_ -= f_385_ * f_342_; + f_351_ -= f_396_ * f_342_; + f_350_ -= f_386_ * f_342_; + f_354_ -= f_397_ * f_342_; + f_353_ -= f_387_ * f_342_; + i_360_ -= f_398_ * 3.0F; + i_359_ -= f_388_ * f_342_; + f_364_ -= f_399_ * f_342_; + f_363_ -= f_389_ * f_342_; + f_367_ -= f_400_ * f_342_; + f_366_ -= f_390_ * f_342_; + f_370_ -= f_401_ * f_342_; + f_369_ -= f_391_ * f_342_; + f_373_ -= f_402_ * f_342_; + f_372_ -= f_392_ * f_342_; + f_342_ = 0.0F; + } + if (f < 0.0F) { + f_343_ -= f_374_ * f; + f_346_ -= f_375_ * f; + f_349_ -= f_376_ * f; + f_352_ -= f_377_ * f; + i_358_ -= f_378_ * f; + f_362_ -= f_379_ * f; + f_365_ -= f_380_ * f; + f_368_ -= f_381_ * f; + f_371_ -= f_382_ * f; + f = 0.0F; + } + if (f_384_ < f_394_) { + f_341_ -= f; + f -= f_342_; + f_342_ = (float) (this.anIntArray1676[(int) f_342_]); + while (--f >= 0.0F) { + method1016(anIntArray1673, anIntArray1698, (int) f_342_, (int) f_344_, (int) f_345_, f_347_, f_348_, f_350_, f_351_, f_353_, f_354_, (float) i_359_, (float) i_360_, f_363_, f_364_, f_366_, f_367_, f_369_, f_370_, f_372_, f_373_); + f_344_ += f_384_; + f_345_ += f_394_; + f_347_ += f_385_; + f_348_ += f_395_; + f_350_ += f_386_; + f_351_ += f_396_; + f_353_ += f_387_; + f_354_ += f_397_; + i_359_ += f_388_; + i_360_ += f_398_; + f_363_ += f_389_; + f_364_ += f_399_; + f_366_ += f_390_; + f_367_ += f_400_; + f_369_ += f_391_; + f_370_ += f_401_; + f_372_ += f_392_; + f_373_ += f_402_; + f_342_ += (float) anInt1678; + } + while (--f_341_ >= 0.0F) { + method1016(anIntArray1673, anIntArray1698, (int) f_342_, (int) f_344_, (int) f_343_, f_347_, f_346_, f_350_, f_349_, f_353_, f_352_, (float) i_359_, (float) i_358_, f_363_, f_362_, f_366_, f_365_, f_369_, f_368_, f_372_, f_371_); + f_344_ += f_384_; + f_343_ += f_374_; + f_347_ += f_385_; + f_346_ += f_375_; + f_350_ += f_386_; + f_349_ += f_376_; + f_353_ += f_387_; + f_352_ += f_377_; + i_359_ += f_388_; + i_358_ += f_378_; + f_363_ += f_389_; + f_362_ += f_379_; + f_366_ += f_390_; + f_365_ += f_380_; + f_369_ += f_391_; + f_368_ += f_381_; + f_372_ += f_392_; + f_371_ += f_382_; + f_342_ += (float) anInt1678; + } + } else { + f_341_ -= f; + f -= f_342_; + f_342_ = (float) (this.anIntArray1676[(int) f_342_]); + while (--f >= 0.0F) { + method1016(anIntArray1673, anIntArray1698, (int) f_342_, (int) f_345_, (int) f_344_, f_348_, f_347_, f_351_, f_350_, f_354_, f_353_, (float) i_360_, (float) i_359_, f_364_, f_363_, f_367_, f_366_, f_370_, f_369_, f_373_, f_372_); + f_345_ += f_394_; + f_344_ += f_384_; + f_348_ += f_395_; + f_347_ += f_385_; + f_351_ += f_396_; + f_350_ += f_386_; + f_354_ += f_397_; + f_353_ += f_387_; + i_360_ += f_398_; + i_359_ += f_388_; + f_364_ += f_399_; + f_363_ += f_389_; + f_367_ += f_400_; + f_366_ += f_390_; + f_370_ += f_401_; + f_369_ += f_391_; + f_373_ += f_402_; + f_372_ += f_392_; + f_342_ += (float) anInt1678; + } + while (--f_341_ >= 0.0F) { + method1016(anIntArray1673, anIntArray1698, (int) f_342_, (int) f_343_, (int) f_344_, f_346_, f_347_, f_349_, f_350_, f_352_, f_353_, (float) i_358_, (float) i_359_, f_362_, f_363_, f_365_, f_366_, f_368_, f_369_, f_371_, f_372_); + f_343_ += f_374_; + f_344_ += f_384_; + f_346_ += f_375_; + f_347_ += f_385_; + f_349_ += f_376_; + f_350_ += f_386_; + f_352_ += f_377_; + f_353_ += f_387_; + i_358_ += f_378_; + i_359_ += f_388_; + f_362_ += f_379_; + f_363_ += f_389_; + f_365_ += f_380_; + f_366_ += f_390_; + f_368_ += f_381_; + f_369_ += f_391_; + f_371_ += f_382_; + f_372_ += f_392_; + f_342_ += (float) anInt1678; + } + } + } else { + f_343_ = f_345_; + f_346_ = f_348_; + f_349_ = f_351_; + f_352_ = f_354_; + i_358_ = i_360_; + f_362_ = f_364_; + f_365_ = f_367_; + f_368_ = f_370_; + f_371_ = f_373_; + if (f_342_ < 0.0F) { + f_345_ -= f_394_ * f_342_; + f_343_ -= f_384_ * f_342_; + f_348_ -= f_395_ * f_342_; + f_346_ -= f_385_ * f_342_; + f_351_ -= f_396_ * f_342_; + f_349_ -= f_386_ * f_342_; + f_354_ -= f_397_ * f_342_; + f_352_ -= f_387_ * f_342_; + i_360_ -= f_398_ * 3.0F; + i_358_ -= f_388_ * f_342_; + f_364_ -= f_399_ * f_342_; + f_362_ -= f_389_ * f_342_; + f_367_ -= f_400_ * f_342_; + f_365_ -= f_390_ * f_342_; + f_370_ -= f_401_ * f_342_; + f_368_ -= f_391_ * f_342_; + f_373_ -= f_402_ * f_342_; + f_371_ -= f_392_ * f_342_; + f_342_ = 0.0F; + } + if (f_341_ < 0.0F) { + f_344_ -= f_374_ * f_341_; + f_347_ -= f_375_ * f_341_; + f_350_ -= f_376_ * f_341_; + f_353_ -= f_377_ * f_341_; + i_359_ -= f_378_ * f_341_; + f_363_ -= f_379_ * f_341_; + f_366_ -= f_380_ * f_341_; + f_369_ -= f_381_ * f_341_; + f_372_ -= f_382_ * f_341_; + f_341_ = 0.0F; + } + if (f_384_ < f_394_) { + f -= f_341_; + f_341_ -= f_342_; + f_342_ = (float) (this.anIntArray1676[(int) f_342_]); + while (--f_341_ >= 0.0F) { + method1016(anIntArray1673, anIntArray1698, (int) f_342_, (int) f_343_, (int) f_345_, f_346_, f_348_, f_349_, f_351_, f_352_, f_354_, (float) i_358_, (float) i_360_, f_362_, f_364_, f_365_, f_367_, f_368_, f_370_, f_371_, f_373_); + f_343_ += f_384_; + f_345_ += f_394_; + f_346_ += f_385_; + f_348_ += f_395_; + f_349_ += f_386_; + f_351_ += f_396_; + f_352_ += f_387_; + f_354_ += f_397_; + i_358_ += f_388_; + i_360_ += f_398_; + f_362_ += f_389_; + f_364_ += f_399_; + f_365_ += f_390_; + f_367_ += f_400_; + f_368_ += f_391_; + f_370_ += f_401_; + f_371_ += f_392_; + f_373_ += f_402_; + f_342_ += (float) anInt1678; + } + while (--f >= 0.0F) { + method1016(anIntArray1673, anIntArray1698, (int) f_342_, (int) f_344_, (int) f_345_, f_347_, f_348_, f_350_, f_351_, f_353_, f_354_, (float) i_359_, (float) i_360_, f_363_, f_364_, f_366_, f_367_, f_369_, f_370_, f_372_, f_373_); + f_344_ += f_374_; + f_345_ += f_394_; + f_347_ += f_375_; + f_348_ += f_395_; + f_350_ += f_376_; + f_351_ += f_396_; + f_353_ += f_377_; + f_354_ += f_397_; + i_359_ += f_378_; + i_360_ += f_398_; + f_363_ += f_379_; + f_364_ += f_399_; + f_366_ += f_380_; + f_367_ += f_400_; + f_369_ += f_381_; + f_370_ += f_401_; + f_372_ += f_382_; + f_373_ += f_402_; + f_342_ += (float) anInt1678; + } + } else { + f -= f_341_; + f_341_ -= f_342_; + f_342_ = (float) (this.anIntArray1676[(int) f_342_]); + while (--f_341_ >= 0.0F) { + method1016(anIntArray1673, anIntArray1698, (int) f_342_, (int) f_345_, (int) f_343_, f_348_, f_346_, f_351_, f_349_, f_354_, f_352_, (float) i_360_, (float) i_358_, f_364_, f_362_, f_367_, f_365_, f_370_, f_368_, f_373_, f_371_); + f_345_ += f_394_; + f_343_ += f_384_; + f_348_ += f_395_; + f_346_ += f_385_; + f_351_ += f_396_; + f_349_ += f_386_; + f_354_ += f_397_; + f_352_ += f_387_; + i_360_ += f_398_; + i_358_ += f_388_; + f_364_ += f_399_; + f_362_ += f_389_; + f_367_ += f_400_; + f_365_ += f_390_; + f_370_ += f_401_; + f_368_ += f_391_; + f_373_ += f_402_; + f_371_ += f_392_; + f_342_ += (float) anInt1678; + } + while (--f >= 0.0F) { + method1016(anIntArray1673, anIntArray1698, (int) f_342_, (int) f_345_, (int) f_344_, f_348_, f_347_, f_351_, f_350_, f_354_, f_353_, (float) i_360_, (float) i_359_, f_364_, f_363_, f_367_, f_366_, f_370_, f_369_, f_373_, f_372_); + f_345_ += f_394_; + f_344_ += f_374_; + f_348_ += f_395_; + f_347_ += f_375_; + f_351_ += f_396_; + f_350_ += f_376_; + f_354_ += f_397_; + f_353_ += f_377_; + i_360_ += f_398_; + i_359_ += f_378_; + f_364_ += f_399_; + f_363_ += f_379_; + f_367_ += f_400_; + f_366_ += f_380_; + f_370_ += f_401_; + f_369_ += f_381_; + f_373_ += f_402_; + f_372_ += f_382_; + f_342_ += (float) anInt1678; + } + } + } + } + } + + private final void method1025(int[] is, int[] is_404_, int i, int i_405_, int i_406_, float f, float f_407_, float f_408_, float f_409_, float f_410_, float f_411_, float f_412_, float f_413_, float f_414_, float f_415_, float f_416_, float f_417_, float f_418_, float f_419_, float f_420_, float f_421_, float f_422_, float f_423_, float f_424_, float f_425_) { + int i_426_ = i_406_ - i_405_; + float f_427_ = 1.0F / (float) i_426_; + float f_428_ = (f_407_ - f) * f_427_; + float f_429_ = (f_409_ - f_408_) * f_427_; + float f_430_ = (f_411_ - f_410_) * f_427_; + float f_431_ = (f_413_ - f_412_) * f_427_; + float f_432_ = (f_417_ - f_416_) * f_427_; + float f_433_ = (f_419_ - f_418_) * f_427_; + float f_434_ = (f_421_ - f_420_) * f_427_; + float f_435_ = (f_423_ - f_422_) * f_427_; + float f_436_ = (f_425_ - f_424_) * f_427_; + if (this.aBoolean1671) { + if (i_406_ > this.anInt1679) i_406_ = this.anInt1679; + if (i_405_ < 0) { + f -= f_428_ * (float) i_405_; + f_408_ -= f_429_ * (float) i_405_; + f_410_ -= f_430_ * (float) i_405_; + f_412_ -= f_431_ * (float) i_405_; + f_416_ -= f_432_ * (float) i_405_; + f_418_ -= f_433_ * (float) i_405_; + f_420_ -= f_434_ * (float) i_405_; + f_422_ -= f_435_ * (float) i_405_; + f_424_ -= f_436_ * (float) i_405_; + i_405_ = 0; + } + } + if (i_405_ < i_406_) { + i_426_ = i_406_ - i_405_; + i += i_405_; + while (i_426_-- > 0) { + float f_437_ = 1.0F / f; + if (f_437_ < aFloatArray1677[i]) { + float f_438_ = f_408_ * f_437_; + float f_439_ = f_410_ * f_437_; + int i_440_ = ((int) (f_438_ * (float) anInt1693 * aFloat1681) & anInt1690); + int i_441_ = ((int) (f_439_ * (float) anInt1693 * aFloat1681) & anInt1690); + int i_442_ = anIntArray1698[i_441_ * anInt1693 + i_440_]; + i_440_ = ((int) (f_438_ * (float) anInt1691 * aFloat1684) & anInt1686); + i_441_ = ((int) (f_439_ * (float) anInt1691 * aFloat1684) & anInt1686); + int i_443_ = anIntArray1685[i_441_ * anInt1691 + i_440_]; + i_440_ = ((int) (f_438_ * (float) anInt1695 * aFloat1682) & anInt1688); + i_441_ = ((int) (f_439_ * (float) anInt1695 * aFloat1682) & anInt1688); + int i_444_ = anIntArray1692[i_441_ * anInt1695 + i_440_]; + float f_445_ = 1.0F - (f_422_ + f_424_); + i_442_ = (~0xffffff | ((int) (f_422_ * (float) (i_442_ >> 16 & 0xff)) << 16) | (int) (f_422_ * (float) (i_442_ >> 8 & 0xff)) << 8 | (int) (f_422_ * (float) (i_442_ & 0xff))); + i_443_ = (~0xffffff | ((int) (f_424_ * (float) (i_443_ >> 16 & 0xff)) << 16) | (int) (f_424_ * (float) (i_443_ >> 8 & 0xff)) << 8 | (int) (f_424_ * (float) (i_443_ & 0xff))); + i_444_ = (~0xffffff | ((int) (f_445_ * (float) (i_444_ >> 16 & 0xff)) << 16) | (int) (f_445_ * (float) (i_444_ >> 8 & 0xff)) << 8 | (int) (f_445_ * (float) (i_444_ & 0xff))); + int i_446_ = i_442_ + i_443_ + i_444_; + int i_447_ = (~0xffffff | ((int) (f_416_ * (float) (i_446_ >> 16 & 0xff)) << 8) & 0xff0000 | ((int) (f_418_ * (float) (i_446_ >> 8 & 0xff)) & 0xff00) | (int) (f_420_ * (float) (i_446_ & 0xff)) >> 8); + if (f_412_ != 0.0F) { + int i_448_ = (int) (255.0F - f_412_); + int i_449_ = ((((anInt1696 & 0xff00ff) * (int) f_412_ & ~0xff00ff) | ((anInt1696 & 0xff00) * (int) f_412_ & 0xff0000)) >>> 8); + i_447_ = (((i_447_ & 0xff00ff) * i_448_ & ~0xff00ff | (i_447_ & 0xff00) * i_448_ & 0xff0000) >>> 8) + i_449_; + } + is[i] = i_447_; + aFloatArray1677[i] = f_437_; + } + i++; + f += f_428_; + f_408_ += f_429_; + f_410_ += f_430_; + f_412_ += f_431_; + f_416_ += f_432_; + f_418_ += f_433_; + f_420_ += f_434_; + f_422_ += f_435_; + f_424_ += f_436_; + } + } + } + + private final void method1026(int[] is, float[] fs, int i, int i_450_, int i_451_, int i_452_, int i_453_, float f, float f_454_) { + if (this.aBoolean1671) { + if (i_453_ > this.anInt1679) i_453_ = this.anInt1679; + if (i_452_ < 0) i_452_ = 0; + } + if (i_452_ < i_453_) { + i += i_452_ - 1; + i_451_ = i_453_ - i_452_ >> 2; + f += f_454_ * (float) i_452_; + if (aClass167_1670.aBoolean2202) { + if (this.anInt1674 == 0) { + while (--i_451_ >= 0) { + if (f < fs[++i]) { + is[i] = i_450_; + fs[i] = f; + } + f += f_454_; + if (f < fs[++i]) { + is[i] = i_450_; + fs[i] = f; + } + f += f_454_; + if (f < fs[++i]) { + is[i] = i_450_; + fs[i] = f; + } + f += f_454_; + if (f < fs[++i]) { + is[i] = i_450_; + fs[i] = f; + } + f += f_454_; + } + i_451_ = i_453_ - i_452_ & 0x3; + while (--i_451_ >= 0) { + if (f < fs[++i]) { + is[i] = i_450_; + fs[i] = f; + } + f += f_454_; + } + } else if (this.anInt1674 == 254) { + if (i_452_ != 0 && i_453_ <= this.anInt1679 - 1) { + while (--i_451_ >= 0) { + if (f < fs[++i]) is[i - 1] = is[i]; + f += f_454_; + if (f < fs[++i]) is[i - 1] = is[i]; + f += f_454_; + if (f < fs[++i]) is[i - 1] = is[i]; + f += f_454_; + if (f < fs[++i]) is[i - 1] = is[i]; + f += f_454_; + } + i_451_ = i_453_ - i_452_ & 0x3; + while (--i_451_ >= 0) { + if (f < fs[++i]) is[i - 1] = is[i]; + f += f_454_; + } + } + } else { + int i_455_ = this.anInt1674; + int i_456_ = 256 - this.anInt1674; + i_450_ = (((i_450_ & 0xff00ff) * i_456_ >> 8 & 0xff00ff) + ((i_450_ & 0xff00) * i_456_ >> 8 & 0xff00)); + while (--i_451_ >= 0) { + if (f < fs[++i]) { + int i_457_ = is[i]; + is[i] = (i_450_ + ((i_457_ & 0xff00ff) * i_455_ >> 8 & 0xff00ff) + ((i_457_ & 0xff00) * i_455_ >> 8 & 0xff00)); + fs[i] = f; + } + f += f_454_; + if (f < fs[++i]) { + int i_458_ = is[i]; + is[i] = (i_450_ + ((i_458_ & 0xff00ff) * i_455_ >> 8 & 0xff00ff) + ((i_458_ & 0xff00) * i_455_ >> 8 & 0xff00)); + fs[i] = f; + } + f += f_454_; + if (f < fs[++i]) { + int i_459_ = is[i]; + is[i] = (i_450_ + ((i_459_ & 0xff00ff) * i_455_ >> 8 & 0xff00ff) + ((i_459_ & 0xff00) * i_455_ >> 8 & 0xff00)); + fs[i] = f; + } + f += f_454_; + if (f < fs[++i]) { + int i_460_ = is[i]; + is[i] = (i_450_ + ((i_460_ & 0xff00ff) * i_455_ >> 8 & 0xff00ff) + ((i_460_ & 0xff00) * i_455_ >> 8 & 0xff00)); + fs[i] = f; + } + f += f_454_; + } + i_451_ = i_453_ - i_452_ & 0x3; + while (--i_451_ >= 0) { + if (f < fs[++i]) { + int i_461_ = is[i]; + is[i] = (i_450_ + ((i_461_ & 0xff00ff) * i_455_ >> 8 & 0xff00ff) + ((i_461_ & 0xff00) * i_455_ >> 8 & 0xff00)); + fs[i] = f; + } + f += f_454_; + } + } + } else if (this.anInt1674 == 0) { + while (--i_451_ >= 0) { + if (f < fs[++i]) is[i] = i_450_; + f += f_454_; + if (f < fs[++i]) is[i] = i_450_; + f += f_454_; + if (f < fs[++i]) is[i] = i_450_; + f += f_454_; + if (f < fs[++i]) is[i] = i_450_; + f += f_454_; + } + i_451_ = i_453_ - i_452_ & 0x3; + while (--i_451_ >= 0) { + if (f < fs[++i]) is[i] = i_450_; + f += f_454_; + } + } else if (this.anInt1674 == 254) { + if (i_452_ != 0 && i_453_ <= this.anInt1679 - 1) { + while (--i_451_ >= 0) { + if (f < fs[++i]) is[i - 1] = is[i]; + f += f_454_; + if (f < fs[++i]) is[i - 1] = is[i]; + f += f_454_; + if (f < fs[++i]) is[i - 1] = is[i]; + f += f_454_; + if (f < fs[++i]) is[i - 1] = is[i]; + f += f_454_; + } + i_451_ = i_453_ - i_452_ & 0x3; + while (--i_451_ >= 0) { + if (f < fs[++i]) is[i - 1] = is[i]; + f += f_454_; + } + } + } else { + int i_462_ = this.anInt1674; + int i_463_ = 256 - this.anInt1674; + i_450_ = (((i_450_ & 0xff00ff) * i_463_ >> 8 & 0xff00ff) + ((i_450_ & 0xff00) * i_463_ >> 8 & 0xff00)); + while (--i_451_ >= 0) { + if (f < fs[++i]) { + int i_464_ = is[i]; + is[i] = (i_450_ + ((i_464_ & 0xff00ff) * i_462_ >> 8 & 0xff00ff) + ((i_464_ & 0xff00) * i_462_ >> 8 & 0xff00)); + } + f += f_454_; + if (f < fs[++i]) { + int i_465_ = is[i]; + is[i] = (i_450_ + ((i_465_ & 0xff00ff) * i_462_ >> 8 & 0xff00ff) + ((i_465_ & 0xff00) * i_462_ >> 8 & 0xff00)); + } + f += f_454_; + if (f < fs[++i]) { + int i_466_ = is[i]; + is[i] = (i_450_ + ((i_466_ & 0xff00ff) * i_462_ >> 8 & 0xff00ff) + ((i_466_ & 0xff00) * i_462_ >> 8 & 0xff00)); + } + f += f_454_; + if (f < fs[++i]) { + int i_467_ = is[i]; + is[i] = (i_450_ + ((i_467_ & 0xff00ff) * i_462_ >> 8 & 0xff00ff) + ((i_467_ & 0xff00) * i_462_ >> 8 & 0xff00)); + } + f += f_454_; + } + i_451_ = i_453_ - i_452_ & 0x3; + while (--i_451_ >= 0) { + if (f < fs[++i]) { + int i_468_ = is[i]; + is[i] = (i_450_ + ((i_468_ & 0xff00ff) * i_462_ >> 8 & 0xff00ff) + ((i_468_ & 0xff00) * i_462_ >> 8 & 0xff00)); + } + f += f_454_; + } + } + } + } + + final void method1027(float f, float f_469_, float f_470_, float f_471_, float f_472_, float f_473_, float f_474_, float f_475_, float f_476_, int i, int i_477_, int i_478_) { + if (aBoolean1675) { + aHa_Sub1_1666.method3645((int) f, (int) f_471_, (int) f_472_, -8003, ~0xffffff | i, (int) f_469_); + aHa_Sub1_1666.method3645((int) f_469_, (int) f_472_, (int) f_473_, -8003, ~0xffffff | i, (int) f_470_); + aHa_Sub1_1666.method3645((int) f_470_, (int) f_473_, (int) f_471_, -8003, ~0xffffff | i, (int) f); + } else { + float f_479_ = f_472_ - f_471_; + float f_480_ = f_469_ - f; + float f_481_ = f_473_ - f_471_; + float f_482_ = f_470_ - f; + float f_483_ = f_475_ - f_474_; + float f_484_ = f_476_ - f_474_; + float f_485_ = (float) ((i_477_ & 0xff0000) - (i & 0xff0000)); + float f_486_ = (float) ((i_478_ & 0xff0000) - (i & 0xff0000)); + float f_487_ = (float) ((i_477_ & 0xff00) - (i & 0xff00)); + float f_488_ = (float) ((i_478_ & 0xff00) - (i & 0xff00)); + float f_489_ = (float) ((i_477_ & 0xff) - (i & 0xff)); + float f_490_ = (float) ((i_478_ & 0xff) - (i & 0xff)); + float f_491_; + if (f_470_ != f_469_) f_491_ = (f_473_ - f_472_) / (f_470_ - f_469_); + else f_491_ = 0.0F; + float f_492_; + if (f_469_ != f) f_492_ = f_479_ / f_480_; + else f_492_ = 0.0F; + float f_493_; + if (f_470_ != f) f_493_ = f_481_ / f_482_; + else f_493_ = 0.0F; + float f_494_ = f_479_ * f_482_ - f_481_ * f_480_; + if (f_494_ != 0.0F) { + float f_495_ = (f_483_ * f_482_ - f_484_ * f_480_) / f_494_; + float f_496_ = (f_484_ * f_479_ - f_483_ * f_481_) / f_494_; + float f_497_ = (f_485_ * f_482_ - f_486_ * f_480_) / f_494_; + float f_498_ = (f_486_ * f_479_ - f_485_ * f_481_) / f_494_; + float f_499_ = (f_487_ * f_482_ - f_488_ * f_480_) / f_494_; + float f_500_ = (f_488_ * f_479_ - f_487_ * f_481_) / f_494_; + float f_501_ = (f_489_ * f_482_ - f_490_ * f_480_) / f_494_; + float f_502_ = (f_490_ * f_479_ - f_489_ * f_481_) / f_494_; + if (f <= f_469_ && f <= f_470_) { + if (!(f >= (float) this.anInt1672)) { + if (f_469_ > (float) this.anInt1672) f_469_ = (float) this.anInt1672; + if (f_470_ > (float) this.anInt1672) f_470_ = (float) this.anInt1672; + f_474_ = f_474_ - f_495_ * f_471_ + f_495_; + float f_503_ = ((float) (i & 0xff0000) - f_497_ * f_471_ + f_497_); + float f_504_ = (float) (i & 0xff00) - f_499_ * f_471_ + f_499_; + float f_505_ = (float) (i & 0xff) - f_501_ * f_471_ + f_501_; + if (f_469_ < f_470_) { + f_473_ = f_471_; + if (f < 0.0F) { + f_473_ -= f_493_ * f; + f_471_ -= f_492_ * f; + f_474_ -= f_496_ * f; + f_503_ -= f_498_ * f; + f_504_ -= f_500_ * f; + f_505_ -= f_502_ * f; + f = 0.0F; + } + if (f_469_ < 0.0F) { + f_472_ -= f_491_ * f_469_; + f_469_ = 0.0F; + } + if (f != f_469_ && f_493_ < f_492_ || f == f_469_ && f_493_ > f_491_) { + f_470_ -= f_469_; + f_469_ -= f; + f = (float) (this.anIntArray1676[(int) f]); + while (--f_469_ >= 0.0F) { + method1021(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_473_, (int) f_471_, f_474_, f_495_, f_503_, f_497_, f_504_, f_499_, f_505_, f_501_); + f_473_ += f_493_; + f_471_ += f_492_; + f_474_ += f_496_; + f_503_ += f_498_; + f_504_ += f_500_; + f_505_ += f_502_; + f += (float) anInt1678; + } + while (--f_470_ >= 0.0F) { + method1021(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_473_, (int) f_472_, f_474_, f_495_, f_503_, f_497_, f_504_, f_499_, f_505_, f_501_); + f_473_ += f_493_; + f_472_ += f_491_; + f_474_ += f_496_; + f_503_ += f_498_; + f_504_ += f_500_; + f_505_ += f_502_; + f += (float) anInt1678; + } + } else { + f_470_ -= f_469_; + f_469_ -= f; + f = (float) (this.anIntArray1676[(int) f]); + while (--f_469_ >= 0.0F) { + method1021(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_471_, (int) f_473_, f_474_, f_495_, f_503_, f_497_, f_504_, f_499_, f_505_, f_501_); + f_473_ += f_493_; + f_471_ += f_492_; + f_474_ += f_496_; + f_503_ += f_498_; + f_504_ += f_500_; + f_505_ += f_502_; + f += (float) anInt1678; + } + while (--f_470_ >= 0.0F) { + method1021(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_472_, (int) f_473_, f_474_, f_495_, f_503_, f_497_, f_504_, f_499_, f_505_, f_501_); + f_473_ += f_493_; + f_472_ += f_491_; + f_474_ += f_496_; + f_503_ += f_498_; + f_504_ += f_500_; + f_505_ += f_502_; + f += (float) anInt1678; + } + } + } else { + f_472_ = f_471_; + if (f < 0.0F) { + f_472_ -= f_493_ * f; + f_471_ -= f_492_ * f; + f_474_ -= f_496_ * f; + f_503_ -= f_498_ * f; + f_504_ -= f_500_ * f; + f_505_ -= f_502_ * f; + f = 0.0F; + } + if (f_470_ < 0.0F) { + f_473_ -= f_491_ * f_470_; + f_470_ = 0.0F; + } + if (f != f_470_ && f_493_ < f_492_ || f == f_470_ && f_491_ > f_492_) { + f_469_ -= f_470_; + f_470_ -= f; + f = (float) (this.anIntArray1676[(int) f]); + while (--f_470_ >= 0.0F) { + method1021(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_472_, (int) f_471_, f_474_, f_495_, f_503_, f_497_, f_504_, f_499_, f_505_, f_501_); + f_472_ += f_493_; + f_471_ += f_492_; + f_474_ += f_496_; + f_503_ += f_498_; + f_504_ += f_500_; + f_505_ += f_502_; + f += (float) anInt1678; + } + while (--f_469_ >= 0.0F) { + method1021(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_473_, (int) f_471_, f_474_, f_495_, f_503_, f_497_, f_504_, f_499_, f_505_, f_501_); + f_473_ += f_491_; + f_471_ += f_492_; + f_474_ += f_496_; + f_503_ += f_498_; + f_504_ += f_500_; + f_505_ += f_502_; + f += (float) anInt1678; + } + } else { + f_469_ -= f_470_; + f_470_ -= f; + f = (float) (this.anIntArray1676[(int) f]); + while (--f_470_ >= 0.0F) { + method1021(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_471_, (int) f_472_, f_474_, f_495_, f_503_, f_497_, f_504_, f_499_, f_505_, f_501_); + f_472_ += f_493_; + f_471_ += f_492_; + f_474_ += f_496_; + f_503_ += f_498_; + f_504_ += f_500_; + f_505_ += f_502_; + f += (float) anInt1678; + } + while (--f_469_ >= 0.0F) { + method1021(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_471_, (int) f_473_, f_474_, f_495_, f_503_, f_497_, f_504_, f_499_, f_505_, f_501_); + f_473_ += f_491_; + f_471_ += f_492_; + f_474_ += f_496_; + f_503_ += f_498_; + f_504_ += f_500_; + f_505_ += f_502_; + f += (float) anInt1678; + } + } + } + } + } else if (f_469_ <= f_470_) { + if (!(f_469_ >= (float) this.anInt1672)) { + if (f_470_ > (float) this.anInt1672) f_470_ = (float) this.anInt1672; + if (f > (float) this.anInt1672) f = (float) this.anInt1672; + f_475_ = f_475_ - f_495_ * f_472_ + f_495_; + float f_506_ = ((float) (i_477_ & 0xff0000) - f_497_ * f_472_ + f_497_); + float f_507_ = ((float) (i_477_ & 0xff00) - f_499_ * f_472_ + f_499_); + float f_508_ = ((float) (i_477_ & 0xff) - f_501_ * f_472_ + f_501_); + if (f_470_ < f) { + f_471_ = f_472_; + if (f_469_ < 0.0F) { + f_471_ -= f_492_ * f_469_; + f_472_ -= f_491_ * f_469_; + f_475_ -= f_496_ * f_469_; + f_506_ -= f_498_ * f_469_; + f_507_ -= f_500_ * f_469_; + f_508_ -= f_502_ * f_469_; + f_469_ = 0.0F; + } + if (f_470_ < 0.0F) { + f_473_ -= f_493_ * f_470_; + f_470_ = 0.0F; + } + if (f_469_ != f_470_ && f_492_ < f_491_ || f_469_ == f_470_ && f_492_ > f_493_) { + f -= f_470_; + f_470_ -= f_469_; + f_469_ = (float) (this.anIntArray1676[(int) f_469_]); + while (--f_470_ >= 0.0F) { + method1021(anIntArray1673, aFloatArray1677, (int) f_469_, 0, 0, (int) f_471_, (int) f_472_, f_475_, f_495_, f_506_, f_497_, f_507_, f_499_, f_508_, f_501_); + f_471_ += f_492_; + f_472_ += f_491_; + f_475_ += f_496_; + f_506_ += f_498_; + f_507_ += f_500_; + f_508_ += f_502_; + f_469_ += (float) anInt1678; + } + while (--f >= 0.0F) { + method1021(anIntArray1673, aFloatArray1677, (int) f_469_, 0, 0, (int) f_471_, (int) f_473_, f_475_, f_495_, f_506_, f_497_, f_507_, f_499_, f_508_, f_501_); + f_471_ += f_492_; + f_473_ += f_493_; + f_475_ += f_496_; + f_506_ += f_498_; + f_507_ += f_500_; + f_508_ += f_502_; + f_469_ += (float) anInt1678; + } + } else { + f -= f_470_; + f_470_ -= f_469_; + f_469_ = (float) (this.anIntArray1676[(int) f_469_]); + while (--f_470_ >= 0.0F) { + method1021(anIntArray1673, aFloatArray1677, (int) f_469_, 0, 0, (int) f_472_, (int) f_471_, f_475_, f_495_, f_506_, f_497_, f_507_, f_499_, f_508_, f_501_); + f_471_ += f_492_; + f_472_ += f_491_; + f_475_ += f_496_; + f_506_ += f_498_; + f_507_ += f_500_; + f_508_ += f_502_; + f_469_ += (float) anInt1678; + } + while (--f >= 0.0F) { + method1021(anIntArray1673, aFloatArray1677, (int) f_469_, 0, 0, (int) f_473_, (int) f_471_, f_475_, f_495_, f_506_, f_497_, f_507_, f_499_, f_508_, f_501_); + f_471_ += f_492_; + f_473_ += f_493_; + f_475_ += f_496_; + f_506_ += f_498_; + f_507_ += f_500_; + f_508_ += f_502_; + f_469_ += (float) anInt1678; + } + } + } else { + f_473_ = f_472_; + if (f_469_ < 0.0F) { + f_473_ -= f_492_ * f_469_; + f_472_ -= f_491_ * f_469_; + f_475_ -= f_496_ * f_469_; + f_506_ -= f_498_ * f_469_; + f_507_ -= f_500_ * f_469_; + f_508_ -= f_502_ * f_469_; + f_469_ = 0.0F; + } + if (f < 0.0F) { + f_471_ -= f_493_ * f; + f = 0.0F; + } + if (f_492_ < f_491_) { + f_470_ -= f; + f -= f_469_; + f_469_ = (float) (this.anIntArray1676[(int) f_469_]); + while (--f >= 0.0F) { + method1021(anIntArray1673, aFloatArray1677, (int) f_469_, 0, 0, (int) f_473_, (int) f_472_, f_475_, f_495_, f_506_, f_497_, f_507_, f_499_, f_508_, f_501_); + f_473_ += f_492_; + f_472_ += f_491_; + f_475_ += f_496_; + f_506_ += f_498_; + f_507_ += f_500_; + f_508_ += f_502_; + f_469_ += (float) anInt1678; + } + while (--f_470_ >= 0.0F) { + method1021(anIntArray1673, aFloatArray1677, (int) f_469_, 0, 0, (int) f_471_, (int) f_472_, f_475_, f_495_, f_506_, f_497_, f_507_, f_499_, f_508_, f_501_); + f_471_ += f_493_; + f_472_ += f_491_; + f_475_ += f_496_; + f_506_ += f_498_; + f_507_ += f_500_; + f_508_ += f_502_; + f_469_ += (float) anInt1678; + } + } else { + f_470_ -= f; + f -= f_469_; + f_469_ = (float) (this.anIntArray1676[(int) f_469_]); + while (--f >= 0.0F) { + method1021(anIntArray1673, aFloatArray1677, (int) f_469_, 0, 0, (int) f_472_, (int) f_473_, f_475_, f_495_, f_506_, f_497_, f_507_, f_499_, f_508_, f_501_); + f_473_ += f_492_; + f_472_ += f_491_; + f_475_ += f_496_; + f_506_ += f_498_; + f_507_ += f_500_; + f_508_ += f_502_; + f_469_ += (float) anInt1678; + } + while (--f_470_ >= 0.0F) { + method1021(anIntArray1673, aFloatArray1677, (int) f_469_, 0, 0, (int) f_472_, (int) f_471_, f_475_, f_495_, f_506_, f_497_, f_507_, f_499_, f_508_, f_501_); + f_471_ += f_493_; + f_472_ += f_491_; + f_475_ += f_496_; + f_506_ += f_498_; + f_507_ += f_500_; + f_508_ += f_502_; + f_469_ += (float) anInt1678; + } + } + } + } + } else if (!(f_470_ >= (float) this.anInt1672)) { + if (f > (float) this.anInt1672) f = (float) this.anInt1672; + if (f_469_ > (float) this.anInt1672) f_469_ = (float) this.anInt1672; + f_476_ = f_476_ - f_495_ * f_473_ + f_495_; + float f_509_ = ((float) (i_478_ & 0xff0000) - f_497_ * f_473_ + f_497_); + float f_510_ = (float) (i_478_ & 0xff00) - f_499_ * f_473_ + f_499_; + float f_511_ = (float) (i_478_ & 0xff) - f_501_ * f_473_ + f_501_; + if (f < f_469_) { + f_472_ = f_473_; + if (f_470_ < 0.0F) { + f_472_ -= f_491_ * f_470_; + f_473_ -= f_493_ * f_470_; + f_476_ -= f_496_ * f_470_; + f_509_ -= f_498_ * f_470_; + f_510_ -= f_500_ * f_470_; + f_511_ -= f_502_ * f_470_; + f_470_ = 0.0F; + } + if (f < 0.0F) { + f_471_ -= f_492_ * f; + f = 0.0F; + } + if (f_491_ < f_493_) { + f_469_ -= f; + f -= f_470_; + f_470_ = (float) (this.anIntArray1676[(int) f_470_]); + while (--f >= 0.0F) { + method1021(anIntArray1673, aFloatArray1677, (int) f_470_, 0, 0, (int) f_472_, (int) f_473_, f_476_, f_495_, f_509_, f_497_, f_510_, f_499_, f_511_, f_501_); + f_472_ += f_491_; + f_473_ += f_493_; + f_476_ += f_496_; + f_509_ += f_498_; + f_510_ += f_500_; + f_511_ += f_502_; + f_470_ += (float) anInt1678; + } + while (--f_469_ >= 0.0F) { + method1021(anIntArray1673, aFloatArray1677, (int) f_470_, 0, 0, (int) f_472_, (int) f_471_, f_476_, f_495_, f_509_, f_497_, f_510_, f_499_, f_511_, f_501_); + f_472_ += f_491_; + f_471_ += f_492_; + f_476_ += f_496_; + f_509_ += f_498_; + f_510_ += f_500_; + f_511_ += f_502_; + f_470_ += (float) anInt1678; + } + } else { + f_469_ -= f; + f -= f_470_; + f_470_ = (float) (this.anIntArray1676[(int) f_470_]); + while (--f >= 0.0F) { + method1021(anIntArray1673, aFloatArray1677, (int) f_470_, 0, 0, (int) f_473_, (int) f_472_, f_476_, f_495_, f_509_, f_497_, f_510_, f_499_, f_511_, f_501_); + f_472_ += f_491_; + f_473_ += f_493_; + f_476_ += f_496_; + f_509_ += f_498_; + f_510_ += f_500_; + f_511_ += f_502_; + f_470_ += (float) anInt1678; + } + while (--f_469_ >= 0.0F) { + method1021(anIntArray1673, aFloatArray1677, (int) f_470_, 0, 0, (int) f_471_, (int) f_472_, f_476_, f_495_, f_509_, f_497_, f_510_, f_499_, f_511_, f_501_); + f_472_ += f_491_; + f_471_ += f_492_; + f_476_ += f_496_; + f_509_ += f_498_; + f_510_ += f_500_; + f_511_ += f_502_; + f_470_ += (float) anInt1678; + } + } + } else { + f_471_ = f_473_; + if (f_470_ < 0.0F) { + f_471_ -= f_491_ * f_470_; + f_473_ -= f_493_ * f_470_; + f_476_ -= f_496_ * f_470_; + f_509_ -= f_498_ * f_470_; + f_510_ -= f_500_ * f_470_; + f_511_ -= f_502_ * f_470_; + f_470_ = 0.0F; + } + if (f_469_ < 0.0F) { + f_472_ -= f_492_ * f_469_; + f_469_ = 0.0F; + } + if (f_491_ < f_493_) { + f -= f_469_; + f_469_ -= f_470_; + f_470_ = (float) (this.anIntArray1676[(int) f_470_]); + while (--f_469_ >= 0.0F) { + method1021(anIntArray1673, aFloatArray1677, (int) f_470_, 0, 0, (int) f_471_, (int) f_473_, f_476_, f_495_, f_509_, f_497_, f_510_, f_499_, f_511_, f_501_); + f_471_ += f_491_; + f_473_ += f_493_; + f_476_ += f_496_; + f_509_ += f_498_; + f_510_ += f_500_; + f_511_ += f_502_; + f_470_ += (float) anInt1678; + } + while (--f >= 0.0F) { + method1021(anIntArray1673, aFloatArray1677, (int) f_470_, 0, 0, (int) f_472_, (int) f_473_, f_476_, f_495_, f_509_, f_497_, f_510_, f_499_, f_511_, f_501_); + f_472_ += f_492_; + f_473_ += f_493_; + f_476_ += f_496_; + f_509_ += f_498_; + f_510_ += f_500_; + f_511_ += f_502_; + f_470_ += (float) anInt1678; + } + } else { + f -= f_469_; + f_469_ -= f_470_; + f_470_ = (float) (this.anIntArray1676[(int) f_470_]); + while (--f_469_ >= 0.0F) { + method1021(anIntArray1673, aFloatArray1677, (int) f_470_, 0, 0, (int) f_473_, (int) f_471_, f_476_, f_495_, f_509_, f_497_, f_510_, f_499_, f_511_, f_501_); + f_471_ += f_491_; + f_473_ += f_493_; + f_476_ += f_496_; + f_509_ += f_498_; + f_510_ += f_500_; + f_511_ += f_502_; + f_470_ += (float) anInt1678; + } + while (--f >= 0.0F) { + method1021(anIntArray1673, aFloatArray1677, (int) f_470_, 0, 0, (int) f_473_, (int) f_472_, f_476_, f_495_, f_509_, f_497_, f_510_, f_499_, f_511_, f_501_); + f_472_ += f_492_; + f_473_ += f_493_; + f_476_ += f_496_; + f_509_ += f_498_; + f_510_ += f_500_; + f_511_ += f_502_; + f_470_ += (float) anInt1678; + } + } + } + } + } + } + } + + final int method1028() { + return this.anIntArray1676[0] % anInt1678; + } + + Component8(GlToolkitSub1 var_ha_Sub1, Component385 class167) { + this.aBoolean1669 = true; + this.aBoolean1671 = false; + aBoolean1680 = false; + aFloat1682 = 0.0F; + anIntArray1685 = null; + anInt1687 = -1; + aFloat1684 = 0.0F; + anInt1693 = 0; + anInt1691 = 0; + anIntArray1692 = null; + anInt1689 = -1; + anInt1683 = 0; + aFloat1681 = 0.0F; + aBoolean1694 = true; + anInt1688 = 0; + anInt1695 = 0; + anInt1686 = 0; + anInt1690 = 0; + anInt1697 = -1; + anIntArray1698 = null; + aHa_Sub1_1666 = var_ha_Sub1; + aClass167_1670 = class167; + anInt1678 = aHa_Sub1_1666.anInt7477; + anIntArray1673 = aHa_Sub1_1666.anIntArray7483; + aFloatArray1677 = aHa_Sub1_1666.aFloatArray7511; + } +} diff --git a/client/components/Component80.java b/client/components/Component80.java new file mode 100644 index 000000000..35fe6f0e9 --- /dev/null +++ b/client/components/Component80.java @@ -0,0 +1,126 @@ +/* Component80 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +abstract class Component80 +/** + * RENAMED from `Class299` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3812; + static DisplayModeManagerContainer207 aClass348_Sub49_Sub2_3813 = new DisplayModeManagerContainer207(7500); + static int anInt3814; + + static final int method2253(int i, int i_0_) { + anInt3814++; + int i_1_ = -124 % ((i_0_ - 55) / 63); + int i_2_ = 0; + if (i < 0 || i >= 65536) { + i_2_ += 16; + i >>>= 16; + } + if (i >= 256) { + i >>>= 8; + i_2_ += 8; + } + if (i >= 16) { + i_2_ += 4; + i >>>= 4; + } + if (i >= 4) { + i_2_ += 2; + i >>>= 2; + } + if (i >= 1) { + i >>>= 1; + i_2_++; + } + return i_2_ - -i; + } + + public Component80() { + /* empty */ + } + + public static void method2254(int i) { + aClass348_Sub49_Sub2_3813 = null; + if (i != -14804) aClass348_Sub49_Sub2_3813 = null; + } + + static final void method2255(int i, int i_3_, byte i_4_, int i_5_, int i_6_, int i_7_, int i_8_) { + Component208.ensureIntArrayCapacity((byte) 117, i); + anInt3812++; + if (i_4_ >= -65) method2255(-118, -20, (byte) -121, 100, -62, 77, -119); + int i_9_ = 0; + int i_10_ = -i_5_ + i; + if (i_10_ < 0) i_10_ = 0; + int i_11_ = i; + int i_12_ = -i; + int i_13_ = i_10_; + int i_14_ = -i_10_; + int i_15_ = -1; + int i_16_ = -1; + int[] is = DisplayModeManagerContainer167.anIntArrayArray255[i_6_]; + int i_17_ = i_3_ + -i_10_; + int i_18_ = i_10_ + i_3_; + MenuOpener.fillInts(-27, i_17_, is, -i + i_3_, i_8_); + MenuOpener.fillInts(-27, i_18_, is, i_17_, i_7_); + MenuOpener.fillInts(-27, i + i_3_, is, i_18_, i_8_); + while (i_11_ > i_9_) { + i_16_ += 2; + i_15_ += 2; + i_14_ += i_16_; + i_12_ += i_15_; + if (i_14_ >= 0 && i_13_ >= 1) { + DisplayModeManagerContainer207.anIntArray9757[i_13_] = i_9_; + i_13_--; + i_14_ -= i_13_ << 1; + } + i_9_++; + if (i_12_ >= 0) { + i_11_--; + i_12_ -= i_11_ << 1; + if (i_10_ <= i_11_) { + int[] is_19_ = DisplayModeManagerContainer167.anIntArrayArray255[i_11_ + i_6_]; + int[] is_20_ = DisplayModeManagerContainer167.anIntArrayArray255[i_6_ + -i_11_]; + int i_21_ = i_3_ - -i_9_; + int i_22_ = -i_9_ + i_3_; + MenuOpener.fillInts(-27, i_21_, is_19_, i_22_, i_8_); + MenuOpener.fillInts(-27, i_21_, is_20_, i_22_, i_8_); + } else { + int[] is_23_ = DisplayModeManagerContainer167.anIntArrayArray255[i_6_ - -i_11_]; + int[] is_24_ = DisplayModeManagerContainer167.anIntArrayArray255[-i_11_ + i_6_]; + int i_25_ = DisplayModeManagerContainer207.anIntArray9757[i_11_]; + int i_26_ = i_9_ + i_3_; + int i_27_ = i_3_ - i_9_; + int i_28_ = i_3_ - -i_25_; + int i_29_ = -i_25_ + i_3_; + MenuOpener.fillInts(-27, i_29_, is_23_, i_27_, i_8_); + MenuOpener.fillInts(-27, i_28_, is_23_, i_29_, i_7_); + MenuOpener.fillInts(-27, i_26_, is_23_, i_28_, i_8_); + MenuOpener.fillInts(-27, i_29_, is_24_, i_27_, i_8_); + MenuOpener.fillInts(-27, i_28_, is_24_, i_29_, i_7_); + MenuOpener.fillInts(-27, i_26_, is_24_, i_28_, i_8_); + } + } + int[] is_30_ = DisplayModeManagerContainer167.anIntArrayArray255[i_6_ + i_9_]; + int[] is_31_ = DisplayModeManagerContainer167.anIntArrayArray255[-i_9_ + i_6_]; + int i_32_ = i_3_ - -i_11_; + int i_33_ = i_3_ - i_11_; + if (i_10_ > i_9_) { + int i_34_ = (i_9_ <= i_13_ ? i_13_ : DisplayModeManagerContainer207.anIntArray9757[i_9_]); + int i_35_ = i_34_ + i_3_; + int i_36_ = i_3_ + -i_34_; + MenuOpener.fillInts(-27, i_36_, is_30_, i_33_, i_8_); + MenuOpener.fillInts(-27, i_35_, is_30_, i_36_, i_7_); + MenuOpener.fillInts(-27, i_32_, is_30_, i_35_, i_8_); + MenuOpener.fillInts(-27, i_36_, is_31_, i_33_, i_8_); + MenuOpener.fillInts(-27, i_35_, is_31_, i_36_, i_7_); + MenuOpener.fillInts(-27, i_32_, is_31_, i_35_, i_8_); + } else { + MenuOpener.fillInts(-27, i_32_, is_30_, i_33_, i_8_); + MenuOpener.fillInts(-27, i_32_, is_31_, i_33_, i_8_); + } + } + } +} diff --git a/client/components/Component81.java b/client/components/Component81.java new file mode 100644 index 000000000..47382235f --- /dev/null +++ b/client/components/Component81.java @@ -0,0 +1,29 @@ +/* Component81 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component81 +/** + * RENAMED from `Class276` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int[] anIntArray3554; + int anInt3555; + int[] anIntArray3556; + int anInt3557; + + Component81() { + NodeSub10.method2789(16); + this.anInt3555 = (NodeSub10.method2788() != 0 ? NodeSub10.method2789(4) + 1 : 1); + if (NodeSub10.method2788() != 0) NodeSub10.method2789(8); + NodeSub10.method2789(2); + if (this.anInt3555 > 1) this.anInt3557 = NodeSub10.method2789(4); + this.anIntArray3556 = new int[this.anInt3555]; + this.anIntArray3554 = new int[this.anInt3555]; + for (int i = 0; i < this.anInt3555; i++) { + NodeSub10.method2789(8); + this.anIntArray3556[i] = NodeSub10.method2789(8); + this.anIntArray3554[i] = NodeSub10.method2789(8); + } + } +} diff --git a/client/components/Component82.java b/client/components/Component82.java new file mode 100644 index 000000000..ea0551c3c --- /dev/null +++ b/client/components/Component82.java @@ -0,0 +1,188 @@ +/* Component82 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component82 +/** + * RENAMED from `Class31` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt420; + private int anInt421; + int anInt422; + private String aString423; + int anInt424; + static int anInt425; + int anInt426 = -1; + static int anInt427; + static int anInt428; + private int anInt429 = -1; + static Component22 aClass113_430; + int anInt431; + static int anInt432; + private int anInt433; + int anInt434; + int anInt435; + static int anInt436; + static int anInt437; + Component386 aClass219_438; + private int anInt439; + static int anInt440; + static int anInt441; + static int anInt442; + static int anInt443 = 1; + int anInt444; + static int anInt445; + static int anInt446; + + final Component24 method324(GraphicsToolkit var_ha, boolean bool) { + anInt440++; + if (bool != true) return null; + if (anInt429 < 0) return null; + Component24 class105 = (Component24) this.aClass219_438.aClass60_2862.get(anInt429, -62); + if (class105 == null) { + method330(var_ha, -41); + class105 = (Component24) this.aClass219_438.aClass60_2862.get(anInt429, 53); + } + return class105; + } + + final Component24 method325(GraphicsToolkit var_ha, int i) { + anInt428++; + if (anInt439 < 0) return null; + Component24 class105 = (Component24) this.aClass219_438.aClass60_2862.get(anInt439, -59); + if (i < 23) return null; + if (class105 == null) { + method330(var_ha, -118); + class105 = (Component24) this.aClass219_438.aClass60_2862.get(anInt439, 123); + } + return class105; + } + + static final void method326(byte i) { + anInt442++; + if (!Cp1252Decoder.aBoolean5224) { + DummyClass.aBoolean10174 = true; + NodeSub27.cameraPitchRate += (12.0F - NodeSub27.cameraPitchRate) / 2.0F; + Cp1252Decoder.aBoolean5224 = true; + if (i != 68) aClass113_430 = null; + } + } + + final Component24 method327(GraphicsToolkit var_ha, byte i) { + anInt432++; + if (anInt421 < 0) return null; + Component24 class105 = (Component24) this.aClass219_438.aClass60_2862.get(anInt421, 118); + if (class105 == null) { + method330(var_ha, -66); + class105 = (Component24) this.aClass219_438.aClass60_2862.get(anInt421, 119); + } + int i_0_ = 20 % ((i - 19) / 51); + return class105; + } + + public static void method328(int i) { + if (i != 0) anInt425 = -128; + aClass113_430 = null; + } + + private final void method329(Buffer class348_sub49, int i, int i_1_) { + if (i_1_ != 1) { + if (i_1_ != 2) { + if (i_1_ == 3) anInt421 = class348_sub49.readUnsignedShort(842397944); + else if (i_1_ != 4) { + if (i_1_ == 5) anInt433 = class348_sub49.readUnsignedShort(842397944); + else if (i_1_ == 6) anInt439 = class348_sub49.readUnsignedShort(842397944); + else if (i_1_ != 7) { + if (i_1_ != 8) { + if (i_1_ != 9) { + if (i_1_ != 10) { + if (i_1_ == 11) this.anInt426 = 0; + else if (i_1_ == 12) this.anInt431 = class348_sub49.readUnsignedByte(255); + else if (i_1_ == 13) this.anInt420 = class348_sub49.readShort(i ^ ~0x3547); + else if (i_1_ == 14) this.anInt426 = class348_sub49.readUnsignedShort(842397944); + } else this.anInt422 = class348_sub49.readShort(13638); + } else this.anInt434 = class348_sub49.readUnsignedShort(842397944); + } else aString423 = class348_sub49.readGjstr2(i ^ 0x34af); + } else this.anInt424 = class348_sub49.readShort(13638); + } else anInt429 = class348_sub49.readUnsignedShort(842397944); + } else this.anInt444 = class348_sub49.readMedium(-1); + } else this.anInt435 = class348_sub49.readUnsignedShort(842397944); + if (i != -2) method333(-112, 38); + anInt437++; + } + + private final void method330(GraphicsToolkit var_ha, int i) { + anInt446++; + CacheStore class45 = this.aClass219_438.aClass45_2873; + if (anInt421 >= 0 && this.aClass219_438.aClass60_2862.get(anInt421, 121) == null && class45.isSingletonFileReady(false, anInt421)) { + Component170 class207 = Component170.method1512(class45, anInt421); + this.aClass219_438.aClass60_2862.putOne(var_ha.method3691(class207, true), anInt421, (byte) -112); + } + if (anInt433 >= 0 && this.aClass219_438.aClass60_2862.get(anInt433, -99) == null && class45.isSingletonFileReady(false, anInt433)) { + Component170 class207 = Component170.method1512(class45, anInt433); + this.aClass219_438.aClass60_2862.putOne(var_ha.method3691(class207, true), anInt433, (byte) -128); + } + if (anInt429 >= 0 && this.aClass219_438.aClass60_2862.get(anInt429, 86) == null && class45.isSingletonFileReady(false, anInt429)) { + Component170 class207 = Component170.method1512(class45, anInt429); + this.aClass219_438.aClass60_2862.putOne(var_ha.method3691(class207, true), anInt429, (byte) -108); + } + if (i > -7) this.anInt434 = -14; + if (anInt439 >= 0 && this.aClass219_438.aClass60_2862.get(anInt439, -83) == null && class45.isSingletonFileReady(false, anInt439)) { + Component170 class207 = Component170.method1512(class45, anInt439); + this.aClass219_438.aClass60_2862.putOne(var_ha.method3691(class207, true), anInt439, (byte) -101); + } + } + + final Component24 method331(GraphicsToolkit var_ha, byte i) { + anInt441++; + if (anInt433 < 0) return null; + int i_2_ = -84 % ((i - 32) / 35); + Component24 class105 = (Component24) this.aClass219_438.aClass60_2862.get(anInt433, -50); + if (class105 == null) { + method330(var_ha, -89); + class105 = (Component24) this.aClass219_438.aClass60_2862.get(anInt433, -117); + } + return class105; + } + + final void method332(int i, Buffer class348_sub49) { + if (i > -119) method333(119, -71); + for (; ; ) { + int i_3_ = class348_sub49.readUnsignedByte(255); + if (i_3_ == 0) break; + method329(class348_sub49, -2, i_3_); + } + anInt427++; + } + + final String method333(int i, int i_4_) { + anInt445++; + String string = aString423; + if (i_4_ != 0) return null; + for (; ; ) { + int i_5_ = string.indexOf("%1"); + if (i_5_ < 0) break; + string = (string.substring(0, i_5_) + Component211.method1171(i, 55, false) + string.substring(i_5_ - -2)); + } + return string; + } + + public Component82() { + aString423 = ""; + this.anInt424 = 0; + anInt433 = -1; + this.anInt422 = 0; + anInt439 = -1; + this.anInt431 = -1; + this.anInt434 = 70; + this.anInt435 = -1; + anInt421 = -1; + this.anInt420 = 0; + this.anInt444 = 16777215; + } + + static { + aClass113_430 = new Component22(); + } +} diff --git a/client/components/Component83.java b/client/components/Component83.java new file mode 100644 index 000000000..06ad9f481 --- /dev/null +++ b/client/components/Component83.java @@ -0,0 +1,87 @@ +/* Component83 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component83 +/** + * RENAMED from `Class108` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt1656 = 0; + /** World-test WIP channel. */ + static NamedInteger WTWIP = new NamedInteger("WTWIP", 3); + static int anInt1658; + static int anInt1659; + static int anInt1660; + static boolean aBoolean1661 = true; + static DisplayModeManagerContainer42 aClass304_1662 = new DisplayModeManagerContainer42(4); + static int anInt1663; + static Component24 aClass105_1664; + + static final float method1012(float f, float f_0_, float f_1_, float f_2_, int i, float f_3_, byte i_4_, float f_5_) { + anInt1659++; + float f_6_ = 0.0F; + float f_7_ = -f_3_ + f_0_; + float f_8_ = -f + f_5_; + float f_9_ = -f_1_ + f_2_; + if (i_4_ < 99) method1015(-13, -42, false); + float f_10_ = 0.0F; + float f_11_ = 0.0F; + float f_12_ = 0.0F; + while (f_6_ < 1.1F) { + float f_13_ = f_7_ * f_6_ + f_3_; + float f_14_ = f + f_6_ * f_8_; + float f_15_ = f_1_ + f_9_ * f_6_; + int i_16_ = (int) f_13_ >> 9; + int i_17_ = (int) f_15_ >> 9; + if (i_16_ > 0 && i_17_ > 0 && AbstractShaderSub4.anInt7319 > i_16_ && (i_17_ < ParametricDefinition.anInt9109)) { + int i_18_ = (Component72.localPlayer.plane); + if (i_18_ < 3 && ((ObjectDeserializer.aByteArrayArrayArray6962[1][i_16_][i_17_]) & 0x2) != 0) i_18_++; + int i_19_ = NodeSub1Sub1.aSArray8801[i_18_].method3986((int) f_13_, (int) f_15_, (byte) 109); + if (f_14_ > (float) i_19_) { + if (i < 2) return f_6_; + return (f_6_ - 0.1F + method1012(f_11_, f_13_, f_12_, f_15_, i - 1, f_10_, (byte) 122, f_14_) * 0.1F); + } + } + f_10_ = f_13_; + f_11_ = f_14_; + f_6_ += 0.1F; + f_12_ = f_15_; + } + return -1.0F; + } + + public static void method1013(byte i) { + WTWIP = null; + if (i < 111) method1013((byte) 17); + aClass304_1662 = null; + aClass105_1664 = null; + } + + static final void method1014(int i) { + anInt1660++; + for (PauseHandler class348_sub42_sub6 = (PauseHandler) CacheNodeSub2.aClass262_10492.first(4); class348_sub42_sub6 != null; class348_sub42_sub6 = ((PauseHandler) CacheNodeSub2.aClass262_10492.next((byte) 55))) { + DisplayModeManagerContainer104 class318_sub1_sub3_sub4 = (class348_sub42_sub6.aClass318_Sub1_Sub3_Sub4_9538); + if (class318_sub1_sub3_sub4.aBoolean10345) { + class348_sub42_sub6.unlink((byte) 76); + class318_sub1_sub3_sub4.method2466(false); + } else if (OpenGlShader.clientCycle >= (class318_sub1_sub3_sub4.anInt10349)) { + class318_sub1_sub3_sub4.method2470(NodeSub51.anInt7267, (byte) -16); + if (class318_sub1_sub3_sub4.aBoolean10345) class348_sub42_sub6.unlink((byte) 42); + else Component84.method850(class318_sub1_sub3_sub4, true); + } + } + if (i != -4) aBoolean1661 = false; + } + + static final void method1015(int i, int i_20_, boolean bool) { + anInt1658++; + DisplayModeManagerContainer56 class190 = NodeList.aClass190ArrayArray3335[i][i_20_]; + if (class190 != null) { + Component169.anInt2601 = class190.anInt2535; + Component158.anInt325 = class190.anInt2538; + Component349.anInt10023 = class190.anInt2548; + } + Component179.method2988(bool); + } +} diff --git a/client/components/Component84.java b/client/components/Component84.java new file mode 100644 index 000000000..ba524b571 --- /dev/null +++ b/client/components/Component84.java @@ -0,0 +1,126 @@ +/* Component84 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component84 +/** + * RENAMED from `Class89` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private final GlExtensionManager aClass377_1506; + static long aLong1507; + static int[] anIntArray1508 = new int[256]; + static int anInt1509; + long aLong1510; + static int anInt1511; + + static final void method849(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_) { + anInt1511++; + if (i_4_ <= 80) method851(-7); + int i_6_ = i_0_ + i; + int i_7_ = -i + i_3_; + for (int i_8_ = i_0_; i_8_ < i_6_; i_8_++) + MenuOpener.fillInts(-27, i_2_, DisplayModeManagerContainer167.anIntArrayArray255[i_8_], i_1_, i_5_); + int i_9_ = -i + i_2_; + for (int i_10_ = i_3_; i_10_ > i_7_; i_10_--) + MenuOpener.fillInts(-27, i_2_, DisplayModeManagerContainer167.anIntArrayArray255[i_10_], i_1_, i_5_); + int i_11_ = i + i_1_; + for (int i_12_ = i_6_; i_7_ >= i_12_; i_12_++) { + int[] is = DisplayModeManagerContainer167.anIntArrayArray255[i_12_]; + MenuOpener.fillInts(-27, i_11_, is, i_1_, i_5_); + MenuOpener.fillInts(-27, i_2_, is, i_9_, i_5_); + } + } + + protected final void finalize() throws Throwable { + anInt1509++; + aClass377_1506.method3966(this.aLong1510, 34192); + super.finalize(); + } + + static final boolean method850(Component327 class318_sub1_sub3, boolean bool) { + boolean bool_13_ = ShaderSub1.aSArray5191 == Component9.aSArray4142; + int i = 0; + short i_14_ = 0; + byte i_15_ = 0; + class318_sub1_sub3.method2409((byte) -116); + if (class318_sub1_sub3.aShort8743 < 0 || class318_sub1_sub3.aShort8750 < 0 || (class318_sub1_sub3.aShort8751 >= StaticElementRenderer.anInt6451) || (class318_sub1_sub3.aShort8747 >= NodeSub41.anInt7054)) return false; + short i_16_ = 0; + for (int i_17_ = class318_sub1_sub3.aShort8743; i_17_ <= class318_sub1_sub3.aShort8751; i_17_++) { + for (int i_18_ = class318_sub1_sub3.aShort8750; i_18_ <= class318_sub1_sub3.aShort8747; i_18_++) { + Component186 class357 = NodeSub46.method3321(class318_sub1_sub3.plane, i_17_, i_18_); + if (class357 != null) { + Component3 class148 = Component239.method3620(class318_sub1_sub3, 118); + Component3 class148_19_ = class357.aClass148_4396; + if (class148_19_ == null) class357.aClass148_4396 = class148; + else { + for (/**/; class148_19_.aClass148_2038 != null; class148_19_ = class148_19_.aClass148_2038) { + /* empty */ + } + class148_19_.aClass148_2038 = class148; + } + if (bool_13_ && (DisplayModeManagerContainer173.anIntArrayArray4253[i_17_][i_18_] & ~0xffffff) != 0) { + i = DisplayModeManagerContainer173.anIntArrayArray4253[i_17_][i_18_]; + i_14_ = Component175.aShortArrayArray5847[i_17_][i_18_]; + i_15_ = (NodeSub1Sub2.aByteArrayArray8816[i_17_][i_18_]); + } + if (!bool && (class357.aClass318_Sub1_Sub1_4402 != null) && (class357.aClass318_Sub1_Sub1_4402.aShort8727) > i_16_) i_16_ = (class357.aClass318_Sub1_Sub1_4402.aShort8727); + } + } + } + if (bool_13_ && (i & ~0xffffff) != 0) { + for (int i_20_ = class318_sub1_sub3.aShort8743; i_20_ <= class318_sub1_sub3.aShort8751; i_20_++) { + for (int i_21_ = (class318_sub1_sub3.aShort8750); (i_21_ <= class318_sub1_sub3.aShort8747); i_21_++) { + if ((DisplayModeManagerContainer173.anIntArrayArray4253[i_20_][i_21_] & ~0xffffff) == 0) { + DisplayModeManagerContainer173.anIntArrayArray4253[i_20_][i_21_] = i; + Component175.aShortArrayArray5847[i_20_][i_21_] = i_14_; + NodeSub1Sub2.aByteArrayArray8816[i_20_][i_21_] = i_15_; + } + } + } + } + if (bool) DisplayModeManagerContainer310.aClass318_Sub1_Sub3Array357[Component328.dynamicOnscreenCount++] = class318_sub1_sub3; + else { + int i_22_ = ShaderSub1.aSArray5191 == Component9.aSArray4142 ? 1 : 0; + if (class318_sub1_sub3.method2376(-118)) { + if (class318_sub1_sub3.method2377((byte) 122)) { + class318_sub1_sub3.aClass318_Sub1_6379 = AudioMixer.aClass318_Sub1Array3226[i_22_]; + AudioMixer.aClass318_Sub1Array3226[i_22_] = class318_sub1_sub3; + } else { + class318_sub1_sub3.aClass318_Sub1_6379 = Node.aClass318_Sub1Array4293[i_22_]; + Node.aClass318_Sub1Array4293[i_22_] = class318_sub1_sub3; + NodeSub16Sub2.aBoolean8870 = true; + } + } else { + class318_sub1_sub3.aClass318_Sub1_6379 = Component95.aClass318_Sub1Array1754[i_22_]; + Component95.aClass318_Sub1Array1754[i_22_] = class318_sub1_sub3; + } + } + if (bool) class318_sub1_sub3.anInt6382 -= i_16_; + return true; + } + + public static void method851(int i) { + if (i == 1) anIntArray1508 = null; + } + + Component84(GlExtensionManager class377, long l, DisplayModeManagerContainer271[] class39s) { + try { + this.aLong1510 = l; + aClass377_1506 = class377; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("lha.(" + (class377 != null ? "{...}" : "null") + ',' + l + ',' + (class39s != null ? "{...}" : "null") + ')')); + } + } + + static { + for (int i = 0; i < 256; i++) { + int i_23_ = i; + for (int i_24_ = 0; i_24_ < 8; i_24_++) { + if ((i_23_ & 0x1) != 1) i_23_ >>>= 1; + else i_23_ = i_23_ >>> 1 ^ ~0x12477cdf; + } + anIntArray1508[i] = i_23_; + } + } +} diff --git a/client/components/Component85.java b/client/components/Component85.java new file mode 100644 index 000000000..c5fe9dfe7 --- /dev/null +++ b/client/components/Component85.java @@ -0,0 +1,33 @@ +/* Component85 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component85 +/** + * RENAMED from `Class221` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2879; + static int anInt2880; + static boolean aBoolean2881 = false; + static int anInt2882; + + public Component85() { + /* empty */ + } + + final int method1607(int i, int i_0_, byte i_1_) { + anInt2882++; + int i_2_ = (Math.max(Component236.anInt4017, i)); + if (Component364.aClass221_8344 == this) return 0; + if (i_1_ >= -103) aBoolean2881 = true; + if (this == DisplayModeManagerContainer369.aClass221_2893) return i_2_ - i_0_; + if (Component65.aClass221_1620 == this) return (-i_0_ + i_2_) / 2; + return 0; + } + + public final String toString() { + anInt2879++; + throw new IllegalStateException(); + } +} diff --git a/client/components/Component86.java b/client/components/Component86.java new file mode 100644 index 000000000..2c80ee196 --- /dev/null +++ b/client/components/Component86.java @@ -0,0 +1,60 @@ +/* Component86 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component86 +/** + * RENAMED from `Class372` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private final GlToolkitSub3 aHa_Sub3_4526; + static int anInt4527; + private final d aD4528; + static int anInt4529; + static int anInt4530; + private final NodeCache aClass60_4531 = new NodeCache(256); + static int anInt4532 = 1407; + + final void method3585(int i) { + anInt4530++; + if (i == 7271) aClass60_4531.clear(0); + } + + final void method3586(int i) { + aClass60_4531.processSoftEntries(2, 5); + if (i != -16130) method3586(-94); + anInt4527++; + } + + final Interface18_Impl3 method3587(byte i, int i_0_) { + anInt4529++; + Object object = aClass60_4531.get(i_0_, 107); + if (object != null) return (Interface18_Impl3) object; + if (!aD4528.method4(-7953, i_0_)) return null; + if (i > -30) anInt4532 = 37; + Component319 class12 = aD4528.method3(i_0_, -6662); + int i_1_ = (!class12.aBoolean199 ? aHa_Sub3_4526.anInt8150 : 64); + Interface18_Impl3 interface18_impl3; + if (class12.aBoolean218 && aHa_Sub3_4526.method3666()) { + float[] fs = aD4528.method1(i_1_, 0.7F, false, -30824, i_1_, i_0_); + interface18_impl3 = aHa_Sub3_4526.method3891(fs, i_1_, i_1_, Component83.aClass304_1662, -109, class12.aByte205 != 0); + } else { + int[] is; + if (class12.anInt200 == 2 || !Component111.isOrthogonalWallType((byte) 4, class12.aByte213)) is = aD4528.method6(-21540, i_1_, 0.7F, i_0_, false, i_1_); + else is = aD4528.method5(true, i_0_, 0.7F, i_1_, i_1_, 83); + interface18_impl3 = aHa_Sub3_4526.method3839(i_1_, i_1_, -15137, class12.aByte205 != 0, is); + } + interface18_impl3.method66(class12.aBoolean217, class12.aBoolean215, 25688); + aClass60_4531.putOne(interface18_impl3, i_0_, (byte) -107); + return interface18_impl3; + } + + Component86(GlToolkitSub3 var_ha_Sub3, d var_d) { + try { + aHa_Sub3_4526 = var_ha_Sub3; + aD4528 = var_d; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("fw.(" + (var_ha_Sub3 != null ? "{...}" : "null") + ',' + (var_d != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/components/Component9.java b/client/components/Component9.java new file mode 100644 index 000000000..2edf54df1 --- /dev/null +++ b/client/components/Component9.java @@ -0,0 +1,51 @@ +/* Component9 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.awt.*; + +final class Component9 +/** + * RENAMED from `Class332` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt4138; + static NodeCache aClass60_4139; + static int anInt4140; + static int anInt4141 = -1; + static s[] aSArray4142; + static int anInt4143; + + public static void method2640(boolean bool) { + aClass60_4139 = null; + aSArray4142 = null; + if (bool != true) anInt4143 = 110; + } + + static final void method2641(int i, int i_0_, int i_1_, int i_2_, int i_3_) { + anInt4140++; + if (i_1_ >= -6) aClass60_4139 = null; + if (i < i_0_) { + for (int i_4_ = i; i_0_ > i_4_; i_4_++) + DisplayModeManagerContainer167.anIntArrayArray255[i_4_][i_2_] = i_3_; + } else { + for (int i_5_ = i_0_; i > i_5_; i_5_++) + DisplayModeManagerContainer167.anIntArrayArray255[i_5_][i_2_] = i_3_; + } + } + + static final void method2642(int i, int i_6_, boolean bool, int i_7_, int i_8_) { + anInt4138++; + for (int i_9_ = 0; NodeSub38.anInt7008 > i_9_; i_9_++) { + Rectangle rectangle = Component166.aRectangleArray2371[i_9_]; + if (rectangle.width + rectangle.x > i_7_ && rectangle.x < i + i_7_ && rectangle.height + rectangle.y > i_6_ && rectangle.y < i_8_ + i_6_) DisplayModeManagerContainer259.aBooleanArray3438[i_9_] = true; + } + Component103.method2663(-5590, i_7_, i_7_ + i, i_6_, i_6_ - -i_8_); + if (bool != true) method2642(-120, -24, false, -125, -16); + } + + static { + aClass60_4139 = new NodeCache(20); + anInt4143 = -1; + } +} diff --git a/client/components/Component90.java b/client/components/Component90.java new file mode 100644 index 000000000..4ff94b840 --- /dev/null +++ b/client/components/Component90.java @@ -0,0 +1,27 @@ +/* Component90 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component90 +/** + * RENAMED from `Class149` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2044; + static DisplayModeManagerContainer369 aClass223_2045 = new DisplayModeManagerContainer369(8, 1); + static int anInt2046; + + public static void method1200(boolean bool) { + aClass223_2045 = null; + if (bool != false) anInt2046 = 37; + } + + static final int method1201(int i, int i_0_, int i_1_, int i_2_) { + i_2_ &= 0x3; + anInt2044++; + if (i_2_ == 0) return i_0_; + if ((~i_2_) == i_1_) return i; + if (i_2_ == 2) return -i_0_ + 4095; + return -i + 4095; + } +} diff --git a/client/components/Component92.java b/client/components/Component92.java new file mode 100644 index 000000000..ccd579420 --- /dev/null +++ b/client/components/Component92.java @@ -0,0 +1,42 @@ +/* Component92 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component92 +/** + * RENAMED from `Class260` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static Component183 aClass114_3307 = new Component183(56, 2); + static int anInt3308; + static CacheStore aClass45_3309; + /** Camera shake offset on world Z/Y (±55); applied when following the local player. */ + static int cameraShakeZ; + static int[] anIntArray3311; + /** How many {@code -->} history steps above the newest line (console up/down recall). */ + static int consoleHistoryDepth = 0; + + static final boolean method1977(byte i, int i_0_) { + if (i != -79) return false; + anInt3308++; + return i_0_ == 3 || i_0_ == 7 || i_0_ == 10; + } + + static final void method1978() { + for (int i = 0; i < LoggedOutDefinition.aClass293Array9432.length; i++) + LoggedOutDefinition.aClass293Array9432[i].method2205(); + LoggedOutDefinition.aClass293Array9432 = null; + } + + public static void method1979(byte i) { + aClass45_3309 = null; + anIntArray3311 = null; + if (i < 105) method1978(); + aClass114_3307 = null; + } + + static { + cameraShakeZ = 0; + anIntArray3311 = new int[1]; + } +} diff --git a/client/components/Component93.java b/client/components/Component93.java new file mode 100644 index 000000000..004f6722f --- /dev/null +++ b/client/components/Component93.java @@ -0,0 +1,83 @@ +/* Component93 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaclib.memory.Buffer; +import jagdx.IDirect3DIndexBuffer; +import jagdx.ue; + +final class Component93 +/** + * RENAMED from `Class142` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ implements Interface5_Impl2 { + private final D3DToolkit aClass378_8515; + private int anInt8516; + IDirect3DIndexBuffer anIDirect3DIndexBuffer8517; + private Component342 aClass68_8518; + private final boolean aBoolean8519; + private boolean aBoolean8520 = false; + private int anInt8521; + + public final Component342 method25(byte i) { + if (i <= 19) aClass68_8518 = null; + return aClass68_8518; + } + + public final boolean method22(int i) { + if (i != -23) anInt8516 = 118; + if (aBoolean8520 && ue.a(this.anIDirect3DIndexBuffer8517.Unlock(), false)) { + aBoolean8520 = false; + return true; + } + return false; + } + + public final void method23(int i, int i_0_) { + if (i != 15959) anInt8516 = -78; + anInt8516 = aClass68_8518.anInt1178 * i_0_; + if (anInt8521 < anInt8516) { + int i_1_ = 8; + int i_2_; + if (aBoolean8519) { + i_1_ |= 0x200; + i_2_ = 0; + } else i_2_ = 1; + if (null != this.anIDirect3DIndexBuffer8517) this.anIDirect3DIndexBuffer8517.a(9275); + this.anIDirect3DIndexBuffer8517 = (aClass378_8515.anIDirect3DDevice9810.a(anInt8516, i_1_, aClass68_8518 != Component342.aClass68_1184 ? 102 : 101, i_2_, this.anIDirect3DIndexBuffer8517)); + anInt8521 = anInt8516; + } + } + + public final Buffer method24(boolean bool, boolean bool_3_) { + if (null == this.anIDirect3DIndexBuffer8517) return null; + if (bool_3_) method23(-111, 54); + bool &= aBoolean8519; + if (!aBoolean8520 && ue.a((this.anIDirect3DIndexBuffer8517.Lock(0, anInt8521, !bool ? 0 : 8192, aClass378_8515.aGeometryBuffer9811)), false)) { + aBoolean8520 = true; + return aClass378_8515.aGeometryBuffer9811; + } + return null; + } + + public final int method16(boolean bool) { + if (bool) method25((byte) 116); + return anInt8516; + } + + public final void method21(int i) { + if (null != this.anIDirect3DIndexBuffer8517) { + this.anIDirect3DIndexBuffer8517.a(9275); + this.anIDirect3DIndexBuffer8517 = null; + } + if (i != 23315) method23(65, -35); + anInt8521 = 0; + anInt8516 = 0; + } + + Component93(D3DToolkit class378, Component342 class68, boolean bool) { + aClass378_8515 = class378; + aBoolean8519 = bool; + aClass68_8518 = class68; + } +} diff --git a/client/components/Component94.java b/client/components/Component94.java new file mode 100644 index 000000000..8519ce52e --- /dev/null +++ b/client/components/Component94.java @@ -0,0 +1,79 @@ +/* Component94 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.awt.*; + +final class Component94 +/** + * RENAMED from `Class284` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3664; + static int anInt3665; + int anInt3666; + int anInt3667; + int anInt3668; + int anInt3669; + int anInt3670; + int anInt3671; + int anInt3672; + int anInt3673; + static int anInt3674; + int anInt3675; + /** + * First visible line index into {@link ArbShaderProgram#consoleLines}. + * 0 = newest at bottom (near prompt); higher = scrolled into older history. + * Wheel ({@link PauseTimer#processDevConsoleInput}) and one-finger drag adjust this. + */ + static int consoleScroll = 0; + static int[][] anIntArrayArray3677 = {{2, 4, 6, 0}, {0, 2, 4, 6}, {0, 2, 4}, {4, 0, 2}, {2, 4, 0}, {0, 2, 4}, {6, 0, 1, 2, 4, 5}, {0, 4, 7, 6}, {4, 7, 6, 0}, {0, 8, 6, 2, 9, 4}, {2, 9, 4, 0, 8, 6}, {2, 11, 4, 6, 10, 0}, {2, 4, 6, 0}}; + int anInt3678; + int anInt3679; + int anInt3680; + + final boolean method2115(Component94 class284_0_, boolean bool) { + if (bool != true) return true; + anInt3664++; + return class284_0_.anInt3673 == this.anInt3673 && (this.anInt3667 == class284_0_.anInt3667) && (this.anInt3671 == class284_0_.anInt3671); + } + + /** Time (ms) to draw 10k triangles with the current/fallback toolkit. */ + static final int benchmarkToolkitMs(int i) { + anInt3665++; + GraphicsToolkit var_ha = NodeSub8.toolkit; + boolean bool = false; + if (Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(i + -5766) != 0) { + Canvas canvas = new Canvas(); + canvas.setSize(100, 100); + var_ha = Component65.method958(true, 0, null, 0, canvas, null); + bool = true; + } + long l = Component240.currentTimeMillis(i + 26482); + for (int i_1_ = 0; i_1_ < 10000; i_1_++) + var_ha.method3676(5, 10, 100, 75, 50, 100, 15, 90, 100, -65536, -65536, -65536, 1); + int i_2_ = (int) (-l + Component240.currentTimeMillis(-71)); + if (i != -26584) benchmarkToolkitMs(-124); + var_ha.method3675(100, (byte) -125, 0, 0, 100, -16777216); + if (bool) var_ha.method3635((byte) 121); + return i_2_; + } + + public static void method2117(int i) { + if (i == 0) anIntArrayArray3677 = null; + } + + static final Component163 method2118(byte i) { + anInt3674++; + try { + if (i != -42) consoleScroll = -23; + return new Component215(); + } catch (Throwable throwable) { + return null; + } + } + + public Component94() { + /* empty */ + } +} diff --git a/client/components/Component95.java b/client/components/Component95.java new file mode 100644 index 000000000..34d597ebb --- /dev/null +++ b/client/components/Component95.java @@ -0,0 +1,31 @@ +/* Component95 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component95 +/** + * RENAMED from `Class115` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static boolean[][][] aBooleanArrayArrayArray1751; + static NodeSub1[] aClass348_Sub1Array1752 = new NodeSub1[8]; + static int anInt1753; + static RenderableObject[] aClass318_Sub1Array1754; + static int anInt1755; + static int anInt1756; + static int[] anIntArray1757 = {16776960, 16711680, 65280, 65535, 16711935, 16777215}; + + static final int method1060(int i, byte i_0_) { + if (i_0_ != 69) aClass348_Sub1Array1752 = null; + anInt1755++; + return i >>> 7; + } + + public static void method1061(int i) { + aBooleanArrayArrayArray1751 = null; + if (i != 16711680) aClass348_Sub1Array1752 = null; + aClass318_Sub1Array1754 = null; + aClass348_Sub1Array1752 = null; + anIntArray1757 = null; + } +} diff --git a/client/components/Component97.java b/client/components/Component97.java new file mode 100644 index 000000000..656d63ed4 --- /dev/null +++ b/client/components/Component97.java @@ -0,0 +1,35 @@ +/* Component97 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component97 +/** + * RENAMED from `Class94` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt1535; + static int anInt1536; + static int anInt1537; + static CacheStore aClass45_1538; + + static final void method865(int i, int i_0_) { + anInt1536++; + if (i != -8186) method866(-99); + Component279.aClass60_225.processSoftEntries(2, i_0_); + } + + public static void method866(int i) { + if (i == -14603) aClass45_1538 = null; + } + + static final void method867(boolean bool) { + NodeSub8.aClass241_6660.method1856((byte) 106); + if (bool != true) aClass45_1538 = null; + anInt1535++; + for (int i = 0; i < 32; i++) + Buffer.aLongArray7206[i] = 0L; + for (int i = 0; i < 32; i++) + ShaderCompilerSub2Sub1.aLongArray8800[i] = 0L; + MatrixSub2.anInt5744 = 0; + } +} diff --git a/client/components/Component98.java b/client/components/Component98.java new file mode 100644 index 000000000..6620ca9a2 --- /dev/null +++ b/client/components/Component98.java @@ -0,0 +1,143 @@ +/* Component98 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component98 +/** + * RENAMED from `Class239_Sub10` (JODE-obfuscated). + * Evidence: subclass of Component339 (hierarchy) + */ extends Component339 { + static int anInt5935; + static int anInt5936; + static int anInt5937; + static StringCache aClass351_5938 = new StringCache(0, 0); + static int anInt5939; + static int anInt5940; + static int anInt5941; + static int anInt5942; + static int anInt5943 = 1337; + static int anInt5944; + static float aFloat5945; + static int anInt5946; + static int anInt5947; + static int anInt5948; + + Component98(int i, NodeSub51 class348_sub51) { + super(i, class348_sub51); + } + + /** Enqueue an area/world ambient sound when the matching SFX preference is enabled. */ + static final void queueAreaSound(int i, int i_0_, boolean bool, int i_1_, byte i_2_, int i_3_, int i_4_, int i_5_) { + if (i_2_ > -85) getEffectivePlane(-14, 70, 13, -100); + anInt5940++; + if ((bool ? Component192.aClass348_Sub51_3959.aClass239_Sub26_7215.method1838(-32350) : Component192.aClass348_Sub51_3959.aClass239_Sub26_7272.method1838(-32350)) != 0 && i_3_ != 0 && Component335.anInt2021 < 50 && i != -1) + GlFramebufferTexture.aClass10Array8531[Component335.anInt2021++] = new RunescapeInfo(!bool ? (byte) 2 : (byte) 3, i, i_3_, i_5_, i_0_, i_1_, i_4_, null); + } + + final void method1716(boolean bool) { + anInt5941++; + if (bool != false) method1712(-34, -61); + if (this.anInt3138 < 0 || this.anInt3138 > 4) this.anInt3138 = method1710(20014); + } + + /** Present HUD overlays (no camera tick): particles, root interface, menu tip priority. */ + static final void redrawHud(int i) { + anInt5935++; + ParticleSystem.method3324(NodeSub8.toolkit, (byte) 105, OpenGlShader.clientCycle); + if (i != 85) anInt5943 = -99; + if (r.anInt9721 != -1) DisplayModeManagerContainer216.method769(r.anInt9721, (byte) 118); + for (int i_6_ = 0; NodeSub38.anInt7008 > i_6_; i_6_++) { + if (InflaterDecompressor.aBooleanArray2076[i_6_]) DisplayModeManagerContainer259.aBooleanArray3438[i_6_] = true; + Component143.aBooleanArray2326[i_6_] = InflaterDecompressor.aBooleanArray2076[i_6_]; + InflaterDecompressor.aBooleanArray2076[i_6_] = false; + } + Component255.anInt1064 = OpenGlShader.clientCycle; + if (r.anInt9721 != -1) { + NodeSub38.anInt7008 = 0; + TheoraVideoPlayer.method842(false); + } + NodeSub8.toolkit.la(); + HashNodeSub20.method3281((byte) 77, NodeSub8.toolkit); + int i_7_ = DisplayModeManagerContainer67.getHoveredMenuPriority(3112); + if (i_7_ == -1) i_7_ = Component149.anInt4458; + if (i_7_ == -1) i_7_ = HashNodeSub16Sub1.anInt10447; + Component373.method338(0, i_7_); + NodeSub51.anInt7267 = 0; + } + + final void method1712(int i, int i_8_) { + anInt5939++; + this.anInt3138 = i_8_; + int i_9_ = -17 / ((82 - i) / 35); + } + + /** Effective render plane for tile (x,z), accounting for bridge/underlay flags. */ + static final int getEffectivePlane(int i, int i_10_, int i_11_, int i_12_) { + int i_13_ = 56 / ((i - 74) / 43); + anInt5947++; + if ((0x8 & ObjectDeserializer.aByteArrayArrayArray6962[i_10_][i_12_][i_11_]) != 0) return 0; + if (i_10_ > 0 && ((0x2 & ObjectDeserializer.aByteArrayArrayArray6962[1][i_12_][i_11_]) != 0)) return i_10_ + -1; + return i_10_; + } + + public static void method1763(int i) { + aClass351_5938 = null; + if (i != -15596) method1763(-92); + } + + final int method1764(int i) { + anInt5942++; + if (i != -32350) method1763(18); + return this.anInt3138; + } + + final int method1714(int i, int i_14_) { + anInt5936++; + if (i != 3) method1710(-95); + return 1; + } + + static final char method1765(char c, int i, int i_15_) { + anInt5946++; + if (c >= 192 && c <= 255) { + if (c >= 192 && c <= 198) return 'A'; + if (c == 199) return 'C'; + if (c >= 200 && c <= 203) return 'E'; + if (c >= 204 && c <= 207) return 'I'; + if (c >= 210 && c <= 214) return 'O'; + if (c >= 217 && c <= 220) return 'U'; + if (c == 221) return 'Y'; + if (c == 223) return 's'; + if (c >= 224 && c <= 230) return 'a'; + if (c == 231) return 'c'; + if (c >= 232 && c <= 235) return 'e'; + if (c >= 236 && c <= 239) return 'i'; + if (c >= 242 && c <= 246) return 'o'; + if (c >= 249 && c <= 252) return 'u'; + if (c == 253 || c == 255) return 'y'; + } + if (i_15_ != 105) aClass351_5938 = null; + if (c == 338) return 'O'; + if (c == 339) return 'o'; + if (c == 376) return 'Y'; + return c; + } + + static final Component184 method1766(byte i, int i_16_, CacheStore class45) { + anInt5944++; + if (i >= -24) return null; + byte[] is = class45.getSingletonFile((byte) 73, i_16_); + if (is == null) return null; + return new Component184(is); + } + + final int method1710(int i) { + if (i != 20014) return 118; + anInt5937++; + return 3; + } + + Component98(NodeSub51 class348_sub51) { + super(class348_sub51); + } +} diff --git a/client/components/Component99.java b/client/components/Component99.java new file mode 100644 index 000000000..65e452629 --- /dev/null +++ b/client/components/Component99.java @@ -0,0 +1,52 @@ +/* Component99 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Component99 +/** + * RENAMED from `Class103` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static Component35 aClass345_1607 = Component350.method558(96); + static int anInt1608; + static int anInt1609; + + public static void method948(boolean bool) { + aClass345_1607 = null; + if (bool != false) aClass345_1607 = null; + } + + static final boolean method949(int i, int i_0_, int i_1_, byte i_2_, int i_3_, int i_4_) { + if (i_2_ < 117) aClass345_1607 = null; + anInt1609++; + for (int i_5_ = i_3_; i_0_ >= i_5_; i_5_++) { + for (int i_6_ = i; i_4_ >= i_6_; i_6_++) { + if ((HashNodeSub17.anIntArrayArray9678[i_5_][i_6_] == i_1_) && DisplayModeManagerContainer295.anIntArrayArray5921[i_5_][i_6_] <= 1) return true; + } + } + return false; + } + + static final void method950(int i, int i_7_, int i_8_, boolean bool, byte i_9_, int i_10_, boolean bool_11_) { + int i_12_ = 73 % ((i_9_ - -31) / 40); + if (i_8_ > i_7_) { + int i_13_ = (i_8_ + i_7_) / 2; + int i_14_ = i_7_; + Component362 class110_sub1 = Component304.aClass110_Sub1Array1146[i_13_]; + Component304.aClass110_Sub1Array1146[i_13_] = Component304.aClass110_Sub1Array1146[i_8_]; + Component304.aClass110_Sub1Array1146[i_8_] = class110_sub1; + for (int i_15_ = i_7_; i_15_ < i_8_; i_15_++) { + if (Component230.method473((byte) -122, i_10_, class110_sub1, i, bool_11_, bool, (Component304.aClass110_Sub1Array1146[i_15_])) <= 0) { + Component362 class110_sub1_16_ = Component304.aClass110_Sub1Array1146[i_15_]; + Component304.aClass110_Sub1Array1146[i_15_] = Component304.aClass110_Sub1Array1146[i_14_]; + Component304.aClass110_Sub1Array1146[i_14_++] = class110_sub1_16_; + } + } + Component304.aClass110_Sub1Array1146[i_8_] = Component304.aClass110_Sub1Array1146[i_14_]; + Component304.aClass110_Sub1Array1146[i_14_] = class110_sub1; + method950(i, i_7_, i_14_ + -1, bool, (byte) 114, i_10_, bool_11_); + method950(i, i_14_ - -1, i_8_, bool, (byte) 50, i_10_, bool_11_); + } + anInt1608++; + } +} diff --git a/client/components/ComponentDownloader.java b/client/components/ComponentDownloader.java new file mode 100644 index 000000000..0b4135854 --- /dev/null +++ b/client/components/ComponentDownloader.java @@ -0,0 +1,106 @@ +/* ComponentDownloader - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class30` (JODE-obfuscated). + * Native component downloader. Fetches per-platform native libraries from paths like 'universal/', 'windows/', 'msjava/'. + */ + +final class ComponentDownloader { + private int anInt404; + private int anInt405; + private int anInt406; + static int[] anIntArray407 = new int[1]; + private int anInt408; + private int anInt409; + static int anInt410; + static int anInt411; + private int anInt412; + static DisplayModeManagerContainer26 aClass84_413; + static int anInt414; + static int anInt415; + private int anInt416; + private int anInt417; + private int anInt418; + private int anInt419; + + static final void method319(int i, int i_0_, byte i_1_, int i_2_, int i_3_) { + if (i_1_ != -18) method322(73); + anInt414++; + Component226.anInt4171 = i_2_; + DisplayModeManagerContainer50.anInt3861 = i_0_; + DisplayModeManagerContainer220.anInt282 = i; + Component275.anInt2688 = i_3_; + } + + final void method320(int i, int i_4_, byte i_5_, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_, int i_12_, int i_13_) { + anInt415++; + anInt409 = i_6_; + anInt417 = i_12_; + anInt405 = i_7_ * i_7_; + anInt408 = i_8_; + anInt404 = i_10_ + anInt408; + anInt412 = anInt408 + i_11_; + anInt419 = anInt409 + i_13_; + anInt418 = i_9_ + anInt409; + anInt416 = i_4_ + anInt417; + anInt406 = anInt417 - -i; + if (i_5_ != -4) aClass84_413 = null; + } + + final boolean method321(int i, int i_14_, int i_15_, int i_16_) { + anInt411++; + if (anInt418 > i_16_ || i_16_ > anInt419) return false; + if (anInt416 > i_15_ || i_15_ > anInt406) return false; + if (i_14_ < anInt412 || anInt404 < i_14_) return false; + if (i != -14735) method323(null, null, (byte) 29); + int i_17_ = -anInt409 + i_16_; + int i_18_ = i_14_ + -anInt408; + return anInt405 > i_17_ * i_17_ + i_18_ * i_18_; + } + + public static void method322(int i) { + anIntArray407 = null; + aClass84_413 = null; + if (i != 1) method322(-112); + } + + static final void method323(CacheStore class45, ReflectionInvoker class297, byte i) { + try { + NodeSub41.aString7048 = ""; + Component210.aClass297_5297 = class297; + anInt410++; + Component385.aClass45_2208 = class45; + if (!ClientSystemInfo.aString6877.startsWith("win")) { + if (!ClientSystemInfo.aString6877.startsWith("linux")) { + if (ClientSystemInfo.aString6877.startsWith("mac")) NodeSub41.aString7048 += "macos/"; + } else NodeSub41.aString7048 += "linux/"; + } else NodeSub41.aString7048 += "windows/"; + if (i != 95) anIntArray407 = null; + if (!Component210.aClass297_5297.useDirectDraw) { + if (!ClientSystemInfo.aString6876.startsWith("amd64") && !ClientSystemInfo.aString6876.startsWith("x86_64")) { + if (!ClientSystemInfo.aString6876.startsWith("i386") && !ClientSystemInfo.aString6876.startsWith("i486") && !ClientSystemInfo.aString6876.startsWith("i586") && !ClientSystemInfo.aString6876.startsWith("x86")) { + if (!ClientSystemInfo.aString6876.startsWith("ppc")) NodeSub41.aString7048 += "universal/"; + else NodeSub41.aString7048 += "ppc/"; + } else NodeSub41.aString7048 += "x86/"; + } else NodeSub41.aString7048 += "x86_64/"; + } else NodeSub41.aString7048 += "msjava/"; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("hw.A(" + (class45 != null ? "{...}" : "null") + ',' + (class297 != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + ComponentDownloader(int i, int i_19_, int i_20_, int i_21_, int i_22_, int i_23_, int i_24_, int i_25_, int i_26_, int i_27_) { + anInt408 = i_20_; + anInt417 = i_19_; + anInt405 = i_21_ * i_21_; + anInt409 = i; + anInt412 = anInt408 + i_26_; + anInt406 = i_25_ + anInt417; + anInt416 = i_24_ + anInt417; + anInt404 = i_27_ + anInt408; + anInt419 = i_23_ + anInt409; + anInt418 = anInt409 - -i_22_; + } +} diff --git a/client/components/DirectDrawDisplay.java b/client/components/DirectDrawDisplay.java new file mode 100644 index 000000000..0f7c8956f --- /dev/null +++ b/client/components/DirectDrawDisplay.java @@ -0,0 +1,72 @@ +/* DirectDrawDisplay - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import com.ms.awt.WComponentPeer; +import com.ms.com.IUnknown; +import com.ms.directX.DDSurfaceDesc; +import com.ms.directX.DirectDraw; +import com.ms.directX.IEnumModesCallback; +import com.ms.win32.User32; + +import java.awt.*; + +/** + * RENAMED from {@code Class134} (JODE-obfuscated). + * Microsoft DirectDraw display-mode / fullscreen helper ({@link IEnumModesCallback}). + * Used when {@link ReflectionInvoker#useDirectDraw}. + */ +final class DirectDrawDisplay implements IEnumModesCallback { + private static int[] modeBuffer; + private final DirectDraw directDraw = new DirectDraw(); + private static int modeBufferPos; + + /** {@link IEnumModesCallback}: append one mode into {@link #modeBuffer}. */ + public final void onEnumDisplayMode(DDSurfaceDesc ddsurfacedesc, IUnknown iunknown) { + if (modeBuffer == null) modeBufferPos += 4; + else { + modeBuffer[modeBufferPos++] = ddsurfacedesc.width; + modeBuffer[modeBufferPos++] = ddsurfacedesc.height; + modeBuffer[modeBufferPos++] = ddsurfacedesc.rgbBitCount; + modeBuffer[modeBufferPos++] = ddsurfacedesc.refreshRate; + } + } + + /** Enumerate display modes as packed [w,h,bpp,hz, …]. */ + final int[] getDisplayModesPacked(boolean bool) { + directDraw.enumDisplayModes(0, null, null, this); + modeBuffer = new int[modeBufferPos]; + modeBufferPos = 0; + directDraw.enumDisplayModes(0, null, null, this); + if (bool != true) modeBufferPos = 52; + int[] is = modeBuffer; + modeBuffer = null; + modeBufferPos = 0; + return is; + } + + /** Enter DirectDraw fullscreen: cooperative level + display mode on {@code frame}. */ + final void enterFullscreen(int i, int i_0_, int i_1_, int i_2_, int i_3_, Frame frame) { + frame.setVisible(true); + WComponentPeer wcomponentpeer = (WComponentPeer) frame.getPeer(); + int i_4_ = wcomponentpeer.getHwnd(); + User32.SetWindowLong(i_4_, -16, -2147483648); + User32.SetWindowLong(i_4_, -20, 8); + directDraw.setCooperativeLevel((java.awt.Component) frame, 17); + directDraw.setDisplayMode(i_1_, i, i_0_, i_3_, 0); + frame.setBounds(0, 0, i_1_, i); + frame.toFront(); + frame.requestFocus(); + int i_5_ = -104 / ((32 - i_2_) / 39); + } + + /** Leave exclusive mode and reset cooperative level on {@code frame}. */ + final void restoreDisplayMode(Frame frame, int i) { + directDraw.restoreDisplayMode(); + directDraw.setCooperativeLevel((java.awt.Component) frame, i); + } + + public DirectDrawDisplay() { + directDraw.initialize(null); + } +} diff --git a/client/components/DirectSoundAudio.java b/client/components/DirectSoundAudio.java new file mode 100644 index 000000000..415489814 --- /dev/null +++ b/client/components/DirectSoundAudio.java @@ -0,0 +1,137 @@ +/* DirectSoundAudio - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import com.ms.com.ComFailException; +import com.ms.directX.*; + +import java.awt.*; + +/** + * RENAMED from {@code Class1} (JODE-obfuscated). + * Microsoft DirectSound audio backend ({@link NativeAudio}) for the signed Microsoft JVM path. + * Created as {@link ReflectionInvoker#nativeInterface} when {@link ReflectionInvoker#useDirectDraw}. + */ +public final class DirectSoundAudio implements NativeAudio { + private final DSBufferDesc[] aDSBufferDescArray5152; + private final DirectSoundBuffer[] aDirectSoundBufferArray5153; + private int[] anIntArray5154; + private final DSCursors[] aDSCursorsArray5155 = new DSCursors[2]; + private final boolean[] aBooleanArray5156; + private int anInt5157; + private int anInt5158; + private final byte[][] aByteArrayArray5159; + private final int[] anIntArray5160; + private int anInt5161; + private DirectSound aDirectSound5162; + private final WaveFormatEx aWaveFormatEx5163; + private final int[] anIntArray5164; + + public final void flush(byte i, int i_0_) { + try { + aDirectSoundBufferArray5153[i_0_].stop(); + } catch (ComFailException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + aBooleanArray5156[i_0_] = false; + if (i > 96) { + aDirectSoundBufferArray5153[i_0_].setCurrentPosition(0); + anIntArray5160[i_0_] = 0; + } + } + + public final void close(int i, byte i_1_) { + if (aDirectSoundBufferArray5153[i] != null) { + try { + aDirectSoundBufferArray5153[i].stop(); + } catch (com.ms.com.ComFailException comfailexception) { + /* empty */ + } + aDirectSoundBufferArray5153[i] = null; + } + int i_2_ = 73 / ((i_1_ - 79) / 43); + } + + public final void writeSamples(int i, int[] is) { + int i_3_ = is.length; + if (i_3_ != 256 * anInt5157) throw new IllegalArgumentException(); + int i_4_ = anIntArray5160[i] * anInt5161; + for (int i_5_ = 0; i_5_ < i_3_; i_5_++) { + int i_6_ = is[i_5_]; + if ((i_6_ + 8388608 & ~0xffffff) != 0) i_6_ = 0x7fffff ^ i_6_ >> 31; + aByteArrayArray5159[i][i_4_ + i_5_ * 2] = (byte) (i_6_ >> 8); + aByteArrayArray5159[i][i_4_ + i_5_ * 2 + 1] = (byte) (i_6_ >> 16); + } + aDirectSoundBufferArray5153[i].writeBuffer(i_4_, i_3_ * 2, aByteArrayArray5159[i], 0); + anIntArray5160[i] = anIntArray5160[i] + i_3_ / anInt5157 & 0xffff; + if (!aBooleanArray5156[i]) { + aDirectSoundBufferArray5153[i].play(1); + aBooleanArray5156[i] = true; + } + } + + public final int getBufferedSamples(byte i, int i_7_) { + if (i >= -79) return -15; + if (!aBooleanArray5156[i_7_]) return 0; + aDirectSoundBufferArray5153[i_7_].getCurrentPosition(aDSCursorsArray5155[i_7_]); + int i_8_ = aDSCursorsArray5155[i_7_].write / anInt5161; + int i_9_ = anIntArray5160[i_7_] + -i_8_ & 0xffff; + if (i_9_ > anIntArray5164[i_7_]) { + for (int i_10_ = 0xffff & i_8_ + -anIntArray5160[i_7_]; i_10_ > 0; i_10_ -= 256) + writeSamples(i_7_, anIntArray5154); + i_9_ = 0xffff & -i_8_ + anIntArray5160[i_7_]; + } + return i_9_; + } + + public final void initOnComponent(int i, boolean bool, Component component, int i_11_) throws Exception { + if (anInt5158 == 0) { + if (i < 8000 || i > 48000) throw new IllegalArgumentException(); + anInt5157 = !bool ? 1 : 2; + if (i_11_ != 27929) aDirectSound5162 = null; + anInt5161 = bool ? 4 : 2; + anIntArray5154 = new int[anInt5157 * 256]; + aDirectSound5162.initialize(null); + aDirectSound5162.setCooperativeLevel(component, 2); + for (int i_12_ = 0; i_12_ < 2; i_12_++) + aDSBufferDescArray5152[i_12_].flags = 16384; + aWaveFormatEx5163.avgBytesPerSec = anInt5161 * i; + aWaveFormatEx5163.formatTag = 1; + aWaveFormatEx5163.bitsPerSample = 16; + aWaveFormatEx5163.blockAlign = anInt5161; + aWaveFormatEx5163.channels = anInt5157; + anInt5158 = i; + aWaveFormatEx5163.samplesPerSec = i; + } + } + + public final void open(int i, int i_13_, byte i_14_) throws Exception { + if (anInt5158 == 0 || aDirectSoundBufferArray5153[i_13_] != null) throw new IllegalStateException(); + int i_15_ = anInt5161 * 65536; + if (aByteArrayArray5159[i_13_] == null || i_15_ != aByteArrayArray5159[i_13_].length) { + aByteArrayArray5159[i_13_] = new byte[i_15_]; + aDSBufferDescArray5152[i_13_].bufferBytes = i_15_; + } + aDirectSoundBufferArray5153[i_13_] = aDirectSound5162.createSoundBuffer(aDSBufferDescArray5152[i_13_], aWaveFormatEx5163); + aBooleanArray5156[i_13_] = false; + if (i_14_ < 106) close(-6, (byte) -123); + anIntArray5160[i_13_] = 0; + anIntArray5164[i_13_] = i; + } + + public DirectSoundAudio() throws Exception { + aDSBufferDescArray5152 = new DSBufferDesc[2]; + aBooleanArray5156 = new boolean[2]; + aDirectSoundBufferArray5153 = new DirectSoundBuffer[2]; + aByteArrayArray5159 = new byte[2][]; + anIntArray5160 = new int[2]; + anIntArray5164 = new int[2]; + aDirectSound5162 = new DirectSound(); + aWaveFormatEx5163 = new WaveFormatEx(); + for (int i = 0; i < 2; i++) + aDSBufferDescArray5152[i] = new DSBufferDesc(); + for (int i = 0; i < 2; i++) + aDSCursorsArray5155[i] = new DSCursors(); + } +} diff --git a/client/defs/Definition.java b/client/defs/Definition.java new file mode 100644 index 000000000..164a050a6 --- /dev/null +++ b/client/defs/Definition.java @@ -0,0 +1,266 @@ +/* Definition - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub40` (JODE-obfuscated). + * Abstract base for cacheable definition entries (extends Node). Parent of ParametricDefinition and other *Definition cache entries. + */ + +abstract class Definition extends Node { + static int anInt7026; + static int anInt7027; + static int anInt7028; + static int anInt7029; + static int anInt7030; + Definition[] aClass348_Sub40Array7031; + ImageCache imageCache; + ImageCacheStore imageCacheStore; + static int anInt7034; + static int anInt7035; + int anInt7036; + static int anInt7037; + static int anInt7038; + static int anInt7039; + static int anInt7040; + /** Inventory/container table keyed by id (high bit = secondary bank-style list). */ + static LruCache containers = new LruCache(32); + static AudioLine aClass279_7042; + static int anInt7043; + static int anInt7044; + boolean use2dImageCache; + + static final Component308 method3036(Buffer class348_sub49, int i) { + anInt7026++; + if (i > -4) return null; + return new Component308(class348_sub49.readShort(13638), class348_sub49.readShort(13638), class348_sub49.readShort(13638), class348_sub49.readShort(13638), class348_sub49.readMedium(-1), class348_sub49.readMedium(-1), class348_sub49.readUnsignedByte(255)); + } + + int method3037(int i) { + if (i >= -113) method3048(-125, -85, 60); + anInt7027++; + return -1; + } + + static final void method3038(int i) { + anInt7044++; + int i_0_ = 0; + if (Component192.aClass348_Sub51_3959.aClass239_Sub28_7230.method1845(-32350) == 1) { + i_0_ |= 0x1; + i_0_ |= 0x10; + i_0_ |= 0x20; + i_0_ |= 0x2; + i_0_ |= 0x4; + } + if ((~Component192.aClass348_Sub51_3959.aClass239_Sub24_7235.method1820(-32350)) == i) i_0_ |= 0x40; + DisplayModeManagerContainer58.method2420(i_0_, i); + GradientPreset.aClass263_9195.method2009(i_0_, (byte) 109); + Exception_Sub1.itemDefinitions.method1942(i_0_, (byte) -125); + Component291.aClass278_2529.method2073(-25032, i_0_); + NsnDefinition.aClass319_9245.method2541(119, i_0_); + AbstractShaderSub1.method3535(i_0_, ~i); + Component209.method2040(i_0_, true); + Component325.method720(i_0_, i + 1227); + DisplayModeManagerContainer295.method1750(14056, i_0_); + NodeSub20.method2953((byte) -106); + } + + final int[][] method3039(byte i, int i_1_, int i_2_) { + anInt7039++; + int i_3_ = 9 / ((6 - i) / 37); + if (this.aClass348_Sub40Array7031[i_2_].use2dImageCache) { + int[] is = this.aClass348_Sub40Array7031[i_2_].getMonochromeOutput(i_1_, 255); + int[][] is_4_ = new int[3][]; + is_4_[2] = is; + is_4_[1] = is; + is_4_[0] = is; + return is_4_; + } + return this.aClass348_Sub40Array7031[i_2_].getColourOutput(i_1_, -1564599039); + } + + public static void method3040(boolean bool) { + aClass279_7042 = null; + if (bool != true) method3036(null, -43); + containers = null; + } + + static final void method3041(int i, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_) { + anInt7030++; + int i_12_ = 0; + int i_13_ = i_8_; + int i_14_ = 0; + int i_15_ = -i_11_ + i; + int i_16_ = i_8_ - i_11_; + int i_17_ = i * i; + int i_18_ = i_8_ * i_8_; + int i_19_ = i_15_ * i_15_; + int i_20_ = i_16_ * i_16_; + int i_21_ = i_18_ << 1; + int i_22_ = i_17_ << 1; + int i_23_ = i_20_ << 1; + int i_24_ = i_19_ << 1; + int i_25_ = i_8_ << 1; + int i_26_ = i_16_ << 1; + int i_27_ = i_21_ + i_17_ * (-i_25_ + 1); + int i_28_ = i_18_ + -(i_22_ * (-1 + i_25_)); + int i_29_ = (1 - i_26_) * i_19_ + i_23_; + int i_30_ = i_20_ + -(i_24_ * (-1 + i_26_)); + int i_31_ = i_17_ << 2; + int i_32_ = i_18_ << 2; + int i_33_ = i_19_ << 2; + int i_34_ = i_20_ << 2; + int i_35_ = 3 * i_21_; + int i_36_ = i_22_ * (-3 + i_25_); + int i_37_ = 3 * i_23_; + int i_38_ = (i_26_ - 3) * i_24_; + int i_39_ = i_32_; + int i_40_ = i_31_ * (i_7_ + i_8_); + int i_41_ = i_34_; + int i_42_ = i_33_ * (-1 + i_16_); + if (i_6_ >= Component72.anInt1910 && PauseTimer.anInt513 >= i_6_) { + int[] is = DisplayModeManagerContainer167.anIntArrayArray255[i_6_]; + int i_43_ = LogicError.method831(Component22.anInt1745, i_5_ + -i, Component27.anInt4960, 77); + int i_44_ = LogicError.method831(Component22.anInt1745, i + i_5_, Component27.anInt4960, -68); + int i_45_ = LogicError.method831(Component22.anInt1745, i_5_ + -i_15_, Component27.anInt4960, i_7_ + -115); + int i_46_ = LogicError.method831(Component22.anInt1745, i_5_ + i_15_, Component27.anInt4960, 97); + MenuOpener.fillInts(-27, i_45_, is, i_43_, i_10_); + MenuOpener.fillInts(-27, i_46_, is, i_45_, i_9_); + MenuOpener.fillInts(-27, i_44_, is, i_46_, i_10_); + } + while (i_13_ > 0) { + boolean bool = i_16_ >= i_13_; + if (bool) { + if (i_29_ < 0) { + while (i_29_ < 0) { + i_29_ += i_37_; + i_30_ += i_41_; + i_41_ += i_34_; + i_14_++; + i_37_ += i_34_; + } + } + if (i_30_ < 0) { + i_29_ += i_37_; + i_30_ += i_41_; + i_41_ += i_34_; + i_37_ += i_34_; + i_14_++; + } + i_29_ += -i_42_; + i_30_ += -i_38_; + i_42_ -= i_33_; + i_38_ -= i_33_; + } + if (i_27_ < 0) { + while (i_27_ < 0) { + i_27_ += i_35_; + i_28_ += i_39_; + i_12_++; + i_39_ += i_32_; + i_35_ += i_32_; + } + } + if (i_28_ < 0) { + i_28_ += i_39_; + i_27_ += i_35_; + i_35_ += i_32_; + i_12_++; + i_39_ += i_32_; + } + i_27_ += -i_40_; + i_28_ += -i_36_; + i_13_--; + i_36_ -= i_31_; + i_40_ -= i_31_; + int i_47_ = -i_13_ + i_6_; + int i_48_ = i_13_ + i_6_; + if (i_48_ >= Component72.anInt1910 && PauseTimer.anInt513 >= i_47_) { + int i_49_ = LogicError.method831(Component22.anInt1745, i_12_ + i_5_, Component27.anInt4960, 36); + int i_50_ = LogicError.method831(Component22.anInt1745, -i_12_ + i_5_, Component27.anInt4960, 97); + if (bool) { + int i_51_ = LogicError.method831(Component22.anInt1745, i_5_ - -i_14_, Component27.anInt4960, i_7_ ^ ~0x5c); + int i_52_ = LogicError.method831(Component22.anInt1745, -i_14_ + i_5_, Component27.anInt4960, 32); + if (Component72.anInt1910 <= i_47_) { + int[] is = DisplayModeManagerContainer167.anIntArrayArray255[i_47_]; + MenuOpener.fillInts(-27, i_52_, is, i_50_, i_10_); + MenuOpener.fillInts(-27, i_51_, is, i_52_, i_9_); + MenuOpener.fillInts(i_7_ + -26, i_49_, is, i_51_, i_10_); + } + if (PauseTimer.anInt513 >= i_48_) { + int[] is = DisplayModeManagerContainer167.anIntArrayArray255[i_48_]; + MenuOpener.fillInts(i_7_ ^ 0x1a, i_52_, is, i_50_, i_10_); + MenuOpener.fillInts(-27, i_51_, is, i_52_, i_9_); + MenuOpener.fillInts(-27, i_49_, is, i_51_, i_10_); + } + } else { + if (i_47_ >= Component72.anInt1910) MenuOpener.fillInts(-27, i_49_, (DisplayModeManagerContainer167.anIntArrayArray255[i_47_]), i_50_, i_10_); + if (i_48_ <= PauseTimer.anInt513) MenuOpener.fillInts(-27, i_49_, (DisplayModeManagerContainer167.anIntArrayArray255[i_48_]), i_50_, i_10_); + } + } + } + } + + /** Monochrome filter output, or throws if unsupported. */ + int[] getMonochromeOutput(int i, int i_53_) { + if (i_53_ != 255) return null; + anInt7035++; + throw new IllegalStateException("This operation does not have a monochrome output"); + } + + int getOutputColourType(int i) { + anInt7037++; + if (i != -1) this.imageCacheStore = null; + return -1; + } + + /** Called after buffer decode to validate / build derived tables. */ + void postDecode(int i) { + if (i <= 108) this.imageCache = null; + anInt7029++; + } + + /** Allocate {@link ImageCache} or {@link ImageCacheStore} for filter output. */ + void initImageCache(int i, int i_54_, int i_55_) { + anInt7043++; + int i_56_ = (i_55_ != (~this.anInt7036) ? this.anInt7036 : i_54_); + if (this.use2dImageCache) this.imageCache = new ImageCache(i_56_, i_54_, i); + else this.imageCacheStore = new ImageCacheStore(i_56_, i_54_, i); + } + + void clearImageCache(byte i) { + anInt7038++; + if (i > -102) clearImageCache((byte) -112); + if (this.use2dImageCache) { + this.imageCache.clear((byte) 124); + this.imageCache = null; + } else { + this.imageCacheStore.clear(6144); + this.imageCacheStore = null; + } + } + + /** RGB filter output, or throws if unsupported. */ + int[][] getColourOutput(int i, int i_57_) { + anInt7040++; + if (i_57_ != -1564599039) method3048(-4, -64, 20); + throw new IllegalStateException("This operation does not have a colour output"); + } + + final int[] method3048(int i, int i_58_, int i_59_) { + anInt7034++; + if (i_58_ != 633706337) this.imageCache = null; + if (!this.aClass348_Sub40Array7031[i_59_].use2dImageCache) return (this.aClass348_Sub40Array7031[i_59_].getColourOutput(i, -1564599039)[0]); + return this.aClass348_Sub40Array7031[i_59_].getMonochromeOutput(i, i_58_ + -633706082); + } + + void method3049(Buffer class348_sub49, int i, int i_60_) { + anInt7028++; + if (i_60_ != 31015) method3038(-16); + } + + Definition(int i, boolean bool) { + this.aClass348_Sub40Array7031 = new Definition[i]; + this.use2dImageCache = bool; + } +} diff --git a/client/defs/DefinitionGroup.java b/client/defs/DefinitionGroup.java new file mode 100644 index 000000000..6f956ff4e --- /dev/null +++ b/client/defs/DefinitionGroup.java @@ -0,0 +1,292 @@ +/* DefinitionGroup - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub42_Sub5` (JODE-obfuscated). + * Group/set of Definitions cached as a HashNode. Holds Definition[] (aClass348_Sub40Array9520) plus parallel int[] index arrays (anIntArray9523/anIntArray9524) and a Component161; aggregates several related Definition entries. + */ + +final class DefinitionGroup extends HashNode { + private final Definition[] aClass348_Sub40Array9520; + private final Definition aClass348_Sub40_9521; + static int anInt9522; + private final int[] anIntArray9523; + private final int[] anIntArray9524; + static int anInt9525; + static int anInt9526; + private final Definition aClass348_Sub40_9527; + private final Definition aClass348_Sub40_9528; + static int anInt9529; + static Component161 aClass138_9530 = new Component161(6, 0, 4, 2); + static double aDouble9531; + static int anInt9532; + static StringCache aClass351_9533; + static Interface6[] anInterface6Array9534 = new Interface6[128]; + + final int[] method3183(d var_d, int i, int i_0_, boolean bool, double d, CacheStore class45, byte i_1_) { + try { + anInt9522++; + SpriteAtlasShader.aD6247 = var_d; + Node.aClass45_4286 = class45; + for (int i_2_ = 0; aClass348_Sub40Array9520.length > i_2_; i_2_++) + aClass348_Sub40Array9520[i_2_].initImageCache(i, i_0_, -256); + HashNodeSub13.method3232(d, (byte) -122); + NpcComposition.method797(i_0_, i, (byte) 114); + int[] is = new int[i * i_0_]; + int i_3_ = 0; + for (int i_4_ = 0; i_0_ > i_4_; i_4_++) { + int[] is_5_; + int[] is_6_; + int[] is_7_; + if (aClass348_Sub40_9521.use2dImageCache) { + int[] is_8_ = aClass348_Sub40_9521.getMonochromeOutput(i_4_, 255); + is_7_ = is_8_; + is_5_ = is_8_; + is_6_ = is_8_; + } else { + int[][] is_9_ = aClass348_Sub40_9521.getColourOutput(i_4_, -1564599039); + is_5_ = is_9_[2]; + is_6_ = is_9_[1]; + is_7_ = is_9_[0]; + } + if (bool) i_3_ = i_4_; + int[] is_10_; + if (aClass348_Sub40_9527.use2dImageCache) is_10_ = aClass348_Sub40_9527.getMonochromeOutput(i_4_, i_1_ + 244); + else is_10_ = (aClass348_Sub40_9527.getColourOutput(i_4_, -1564599039)[0]); + for (int i_11_ = i - 1; i_11_ >= 0; i_11_--) { + int i_12_ = is_7_[i_11_] >> 4; + if (i_12_ > 255) i_12_ = 255; + if (i_12_ < 0) i_12_ = 0; + int i_13_ = is_6_[i_11_] >> 4; + if (i_13_ > 255) i_13_ = 255; + if (i_13_ < 0) i_13_ = 0; + int i_14_ = is_5_[i_11_] >> 4; + if (i_14_ > 255) i_14_ = 255; + i_13_ = DisplayModeManagerContainer58.anIntArray10266[i_13_]; + if (i_14_ < 0) i_14_ = 0; + i_12_ = DisplayModeManagerContainer58.anIntArray10266[i_12_]; + i_14_ = DisplayModeManagerContainer58.anIntArray10266[i_14_]; + int i_15_; + if (i_12_ == 0 && i_13_ == 0 && i_14_ == 0) i_15_ = 0; + else { + i_15_ = is_10_[i_11_] >> 4; + if (i_15_ > 255) i_15_ = 255; + if (i_15_ < 0) i_15_ = 0; + } + is[i_3_++] = (i_14_ + (i_15_ << 24) + ((i_12_ << 16) + (i_13_ << 8))); + if (bool) i_3_ += -1 + i; + } + } + for (int i_16_ = 0; (i_16_ < aClass348_Sub40Array9520.length); i_16_++) + aClass348_Sub40Array9520[i_16_].clearImageCache((byte) -116); + if (i_1_ != 11) anInt9532 = 97; + return is; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("lr.D(" + (var_d != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + bool + ',' + d + ',' + (class45 != null ? "{...}" : "null") + ',' + i_1_ + ')')); + } + } + + final boolean method3184(d var_d, CacheStore class45, int i) { + try { + anInt9529++; + if (MatrixSub2.anInt5713 < 0) { + for (int i_17_ = 0; (anIntArray9524.length > i_17_); i_17_++) { + if (!class45.isSingletonFileReady(false, anIntArray9524[i_17_])) return false; + } + } else { + for (int i_18_ = 0; (i_18_ < anIntArray9524.length); i_18_++) { + if (!class45.isFileReady(-10499, MatrixSub2.anInt5713, anIntArray9524[i_18_])) return false; + } + } + int i_19_ = 0; + int i_20_ = -109 / ((10 - i) / 60); + for (/**/; i_19_ < anIntArray9523.length; i_19_++) { + if (!var_d.method4(-7953, anIntArray9523[i_19_])) return false; + } + return true; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("lr.B(" + (var_d != null ? "{...}" : "null") + ',' + (class45 != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + final int[] method3185(int i, d var_d, int i_21_, boolean bool, double d, boolean bool_22_, CacheStore class45, int i_23_) { + try { + SpriteAtlasShader.aD6247 = var_d; + Node.aClass45_4286 = class45; + anInt9526++; + for (int i_24_ = 0; aClass348_Sub40Array9520.length > i_24_; i_24_++) + aClass348_Sub40Array9520[i_24_].initImageCache(i, i_23_, i_21_ + -256); + HashNodeSub13.method3232(d, (byte) -89); + NpcComposition.method797(i_23_, i, (byte) 122); + int[] is = new int[i_23_ * i]; + int i_25_; + int i_26_; + int i_27_; + if (bool_22_) { + i_25_ = i - 1; + i_26_ = -1; + i_27_ = -1; + } else { + i_25_ = 0; + i_26_ = 1; + i_27_ = i; + } + int i_28_ = 0; + for (int i_29_ = 0; i_23_ > i_29_; i_29_++) { + int[] is_30_; + int[] is_31_; + int[] is_32_; + if (aClass348_Sub40_9521.use2dImageCache) { + int[] is_33_ = aClass348_Sub40_9521.getMonochromeOutput(i_29_, 255); + is_30_ = is_33_; + is_31_ = is_33_; + is_32_ = is_33_; + } else { + int[][] is_34_ = aClass348_Sub40_9521.getColourOutput(i_29_, -1564599039); + is_30_ = is_34_[1]; + is_31_ = is_34_[0]; + is_32_ = is_34_[2]; + } + if (bool) i_28_ = i_29_; + for (int i_35_ = i_25_; i_35_ != i_27_; i_35_ += i_26_) { + int i_36_ = is_31_[i_35_] >> 4; + if (i_36_ > 255) i_36_ = 255; + if (i_36_ < 0) i_36_ = 0; + int i_37_ = is_30_[i_35_] >> 4; + if (i_37_ > 255) i_37_ = 255; + if (i_37_ < 0) i_37_ = 0; + int i_38_ = is_32_[i_35_] >> 4; + if (i_38_ > 255) i_38_ = 255; + i_37_ = DisplayModeManagerContainer58.anIntArray10266[i_37_]; + i_36_ = DisplayModeManagerContainer58.anIntArray10266[i_36_]; + if (i_38_ < 0) i_38_ = 0; + i_38_ = DisplayModeManagerContainer58.anIntArray10266[i_38_]; + int i_39_ = (i_37_ << 8) + (i_36_ << 16) + i_38_; + if (i_39_ != 0) i_39_ |= ~0xffffff; + is[i_28_++] = i_39_; + if (bool) i_28_ += -1 + i; + } + } + for (int i_40_ = i_21_; (aClass348_Sub40Array9520.length > i_40_); i_40_++) + aClass348_Sub40Array9520[i_40_].clearImageCache((byte) -106); + return is; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("lr.C(" + i + ',' + (var_d != null ? "{...}" : "null") + ',' + i_21_ + ',' + bool + ',' + d + ',' + bool_22_ + ',' + (class45 != null ? "{...}" : "null") + ',' + i_23_ + ')')); + } + } + + final float[] method3186(int i, d var_d, boolean bool, int i_41_, CacheStore class45, int i_42_) { + try { + anInt9525++; + Node.aClass45_4286 = class45; + SpriteAtlasShader.aD6247 = var_d; + if (i_42_ >= -1) method3183(null, -60, 98, false, -0.11623531533038078, null, (byte) -72); + for (int i_43_ = 0; aClass348_Sub40Array9520.length > i_43_; i_43_++) + aClass348_Sub40Array9520[i_43_].initImageCache(i, i_41_, -256); + NpcComposition.method797(i_41_, i, (byte) 115); + float[] fs = new float[4 * i * i_41_]; + int i_44_ = 0; + for (int i_45_ = 0; i_41_ > i_45_; i_45_++) { + int[] is; + int[] is_46_; + int[] is_47_; + if (aClass348_Sub40_9521.use2dImageCache) { + int[] is_49_ = aClass348_Sub40_9521.getMonochromeOutput(i_45_, 255); + is = is_49_; + is_46_ = is_49_; + is_47_ = is_49_; + } else { + int[][] is_48_ = aClass348_Sub40_9521.getColourOutput(i_45_, -1564599039); + is_46_ = is_48_[1]; + is_47_ = is_48_[0]; + is = is_48_[2]; + } + int[] is_50_; + if (aClass348_Sub40_9527.use2dImageCache) is_50_ = aClass348_Sub40_9527.getMonochromeOutput(i_45_, 255); + else is_50_ = (aClass348_Sub40_9527.getColourOutput(i_45_, -1564599039)[0]); + int[] is_51_; + if (aClass348_Sub40_9528.use2dImageCache) is_51_ = aClass348_Sub40_9528.getMonochromeOutput(i_45_, 255); + else is_51_ = (aClass348_Sub40_9528.getColourOutput(i_45_, -1564599039)[0]); + if (bool) i_44_ = i_45_ << 2; + for (int i_52_ = i + -1; i_52_ >= 0; i_52_--) { + float f = (float) is_50_[i_52_] / 4096.0F; + float f_53_ = ((31.0F * (float) is_51_[i_52_] / 4096.0F + 1.0F) / 4096.0F); + if (!(f < 0.0F)) { + if (f > 1.0F) f = 1.0F; + } else f = 0.0F; + fs[i_44_++] = (float) is_47_[i_52_] * f_53_; + fs[i_44_++] = f_53_ * (float) is_46_[i_52_]; + fs[i_44_++] = (float) is[i_52_] * f_53_; + fs[i_44_++] = f; + if (bool) i_44_ += -4 + (i << 2); + } + } + for (int i_54_ = 0; (aClass348_Sub40Array9520.length > i_54_); i_54_++) + aClass348_Sub40Array9520[i_54_].clearImageCache((byte) -125); + return fs; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("lr.A(" + i + ',' + (var_d != null ? "{...}" : "null") + ',' + bool + ',' + i_41_ + ',' + (class45 != null ? "{...}" : "null") + ',' + i_42_ + ')')); + } + } + + public static void method3187(byte i) { + anInterface6Array9534 = null; + int i_55_ = 19 % ((76 - i) / 39); + aClass351_9533 = null; + aClass138_9530 = null; + } + + public DefinitionGroup() { + anIntArray9523 = new int[0]; + anIntArray9524 = new int[0]; + aClass348_Sub40_9528 = new DefinitionSub15(0); + aClass348_Sub40_9528.anInt7036 = 1; + aClass348_Sub40_9521 = new DefinitionSub15(); + aClass348_Sub40_9521.anInt7036 = 1; + aClass348_Sub40_9527 = new DefinitionSub15(); + aClass348_Sub40Array9520 = new Definition[]{aClass348_Sub40_9521, aClass348_Sub40_9527, aClass348_Sub40_9528}; + aClass348_Sub40_9527.anInt7036 = 1; + } + + DefinitionGroup(Buffer class348_sub49) { + int i = class348_sub49.readUnsignedByte(255); + int i_56_ = 0; + int i_57_ = 0; + int[][] is = new int[i][]; + aClass348_Sub40Array9520 = new Definition[i]; + for (int i_58_ = 0; i_58_ < i; i_58_++) { + Definition class348_sub40 = NodeSub37.method3031(125, class348_sub49); + if (class348_sub40.method3037(-121) >= 0) i_56_++; + if (class348_sub40.getOutputColourType(-1) >= 0) i_57_++; + int i_59_ = (class348_sub40.aClass348_Sub40Array7031).length; + is[i_58_] = new int[i_59_]; + for (int i_60_ = 0; i_60_ < i_59_; i_60_++) + is[i_58_][i_60_] = class348_sub49.readUnsignedByte(255); + aClass348_Sub40Array9520[i_58_] = class348_sub40; + } + anIntArray9524 = new int[i_56_]; + anIntArray9523 = new int[i_57_]; + i_56_ = 0; + i_57_ = 0; + for (int i_61_ = 0; i > i_61_; i_61_++) { + Definition class348_sub40 = aClass348_Sub40Array9520[i_61_]; + int i_62_ = (class348_sub40.aClass348_Sub40Array7031).length; + for (int i_63_ = 0; i_62_ > i_63_; i_63_++) + class348_sub40.aClass348_Sub40Array7031[i_63_] = aClass348_Sub40Array9520[is[i_61_][i_63_]]; + int i_64_ = class348_sub40.method3037(-119); + int i_65_ = class348_sub40.getOutputColourType(-1); + if (i_64_ > 0) anIntArray9524[i_56_++] = i_64_; + if (i_65_ > 0) anIntArray9523[i_57_++] = i_65_; + is[i_61_] = null; + } + aClass348_Sub40_9521 = aClass348_Sub40Array9520[class348_sub49.readUnsignedByte(255)]; + aClass348_Sub40_9527 = aClass348_Sub40Array9520[class348_sub49.readUnsignedByte(255)]; + aClass348_Sub40_9528 = aClass348_Sub40Array9520[class348_sub49.readUnsignedByte(255)]; + Object object = null; + } + + static { + aClass351_9533 = new StringCache(57, 3); + } +} diff --git a/client/defs/DefinitionSub10.java b/client/defs/DefinitionSub10.java new file mode 100644 index 000000000..441568be7 --- /dev/null +++ b/client/defs/DefinitionSub10.java @@ -0,0 +1,99 @@ +/* DefinitionSub10 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DefinitionSub10 +/** + * RENAMED from `Class348_Sub40_Sub10` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + static int anInt9174; + private int anInt9175; + private int anInt9176 = 1024; + static int anInt9177; + static int anInt9178; + static int anInt9179; + static Component17 aClass308_9180; + static boolean aBoolean9181 = false; + private int anInt9182; + static int[] anIntArray9183; + static boolean aBoolean9184; + + final void method3049(Buffer class348_sub49, int i, int i_0_) { + anInt9179++; + int i_1_ = i; + while_152_: + do { + do { + if (i_1_ == 0) { + anInt9176 = class348_sub49.readUnsignedShort(i_0_ ^ 0x323581df); + break while_152_; + } else if (i_1_ != 1) { + if (i_1_ == 2) break; + break while_152_; + } + anInt9175 = class348_sub49.readUnsignedShort(842397944); + break while_152_; + } while (false); + this.use2dImageCache = class348_sub49.readUnsignedByte(255) == 1; + } while (false); + if (i_0_ != 31015) method3049(null, -85, -85); + } + + final void postDecode(int i) { + anInt9174++; + anInt9182 = anInt9175 - anInt9176; + if (i < 108) getMonochromeOutput(-31, 9); + } + + final int[] getMonochromeOutput(int i, int i_2_) { + anInt9177++; + int[] is = this.imageCache.getPixels(0, i); + if (this.imageCache.cacheMiss) { + int[] is_3_ = this.method3048(i, 633706337, 0); + for (int i_4_ = 0; DefinitionSub6.anInt9139 > i_4_; i_4_++) + is[i_4_] = anInt9176 - -(anInt9182 * is_3_[i_4_] >> 12); + } + if (i_2_ != 255) return null; + return is; + } + + final int[][] getColourOutput(int i, int i_5_) { + anInt9178++; + int[][] is = this.imageCacheStore.getPixels(-113, i); + if (i_5_ != -1564599039) method3049(null, -10, -112); + if (this.imageCacheStore.cacheMiss) { + int[][] is_6_ = this.method3039((byte) -55, i, 0); + int[] is_7_ = is_6_[0]; + int[] is_8_ = is_6_[1]; + int[] is_9_ = is_6_[2]; + int[] is_10_ = is[0]; + int[] is_11_ = is[1]; + int[] is_12_ = is[2]; + for (int i_13_ = 0; (DefinitionSub6.anInt9139 > i_13_); i_13_++) { + is_10_[i_13_] = (anInt9182 * is_7_[i_13_] >> 12) + anInt9176; + is_11_[i_13_] = (anInt9182 * is_8_[i_13_] >> 12) + anInt9176; + is_12_[i_13_] = (is_9_[i_13_] * anInt9182 >> 12) + anInt9176; + } + } + return is; + } + + public static void method3074(int i) { + anIntArray9183 = null; + aClass308_9180 = null; + if (i != 0) anIntArray9183 = null; + } + + public DefinitionSub10() { + super(1, false); + anInt9175 = 3072; + anInt9182 = 2048; + } + + static { + aClass308_9180 = new Component17(64); + anIntArray9183 = new int[4]; + aBoolean9184 = false; + } +} diff --git a/client/defs/DefinitionSub11.java b/client/defs/DefinitionSub11.java new file mode 100644 index 000000000..611ff4bd6 --- /dev/null +++ b/client/defs/DefinitionSub11.java @@ -0,0 +1,69 @@ +/* DefinitionSub11 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DefinitionSub11 +/** + * RENAMED from `Class348_Sub40_Sub11` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + static int[] anIntArray9185 = new int[50]; + static int anInt9186; + private int anInt9187 = 585; + static int anInt9188; + + public static void method3075(boolean bool) { + anIntArray9185 = null; + if (bool != false) anIntArray9185 = null; + } + + public DefinitionSub11() { + super(0, true); + } + + final int[] getMonochromeOutput(int i, int i_0_) { + anInt9186++; + int[] is = this.imageCache.getPixels(0, i); + if (i_0_ != 255) anIntArray9185 = null; + if (this.imageCache.cacheMiss) { + int i_1_ = Component302.anIntArray6035[i]; + for (int i_2_ = 0; (i_2_ < DefinitionSub6.anInt9139); i_2_++) { + int i_3_ = RenderableSub6.anIntArray6432[i_2_]; + if (anInt9187 < i_3_ && 4096 - anInt9187 > i_3_ && i_1_ > 2048 + -anInt9187 && i_1_ < 2048 + anInt9187) { + int i_4_ = -i_3_ + 2048; + i_4_ = i_4_ < 0 ? -i_4_ : i_4_; + i_4_ <<= 12; + i_4_ /= 2048 - anInt9187; + is[i_2_] = -i_4_ + 4096; + } else if (2048 - anInt9187 < i_3_ && anInt9187 + 2048 > i_3_) { + int i_5_ = i_1_ + -2048; + i_5_ = i_5_ < 0 ? -i_5_ : i_5_; + i_5_ -= anInt9187; + i_5_ <<= 12; + is[i_2_] = i_5_ / (2048 + -anInt9187); + } else if (anInt9187 > i_1_ || i_1_ > 4096 - anInt9187) { + int i_6_ = -2048 + i_3_; + i_6_ = i_6_ >= 0 ? i_6_ : -i_6_; + i_6_ -= anInt9187; + i_6_ <<= 12; + is[i_2_] = i_6_ / (2048 + -anInt9187); + } else if (i_3_ < anInt9187 || i_3_ > 4096 + -anInt9187) { + int i_7_ = 2048 + -i_1_; + i_7_ = i_7_ < 0 ? -i_7_ : i_7_; + i_7_ <<= 12; + i_7_ /= 2048 + -anInt9187; + is[i_2_] = 4096 - i_7_; + } else is[i_2_] = 0; + } + } + return is; + } + + final void method3049(Buffer class348_sub49, int i, int i_8_) { + anInt9188++; + if (i_8_ == 31015) { + int i_9_ = i; + if (i_9_ == 0) anInt9187 = class348_sub49.readUnsignedShort(842397944); + } + } +} diff --git a/client/defs/DefinitionSub13.java b/client/defs/DefinitionSub13.java new file mode 100644 index 000000000..59b2a7ef3 --- /dev/null +++ b/client/defs/DefinitionSub13.java @@ -0,0 +1,43 @@ +/* DefinitionSub13 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DefinitionSub13 +/** + * RENAMED from `Class348_Sub40_Sub13` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + static NodeList aClass262_9201; + static int anInt9202; + static int anInt9203 = -1; + static float aFloat9204; + + public static void method3080(byte i) { + aClass262_9201 = null; + if (i < 39) method3080((byte) 100); + } + + public DefinitionSub13() { + super(1, true); + } + + final int[] getMonochromeOutput(int i, int i_0_) { + anInt9202++; + int[] is = this.imageCache.getPixels(i_0_ + -255, i); + if (i_0_ != 255) getMonochromeOutput(19, -84); + if (this.imageCache.cacheMiss) { + int[][] is_1_ = this.method3039((byte) -119, i, 0); + int[] is_2_ = is_1_[0]; + int[] is_3_ = is_1_[1]; + int[] is_4_ = is_1_[2]; + for (int i_5_ = 0; DefinitionSub6.anInt9139 > i_5_; i_5_++) + is[i_5_] = (is_2_[i_5_] - (-is_3_[i_5_] - is_4_[i_5_])) / 3; + } + return is; + } + + static { + aClass262_9201 = new NodeList(); + aFloat9204 = 0.25F; + } +} diff --git a/client/defs/DefinitionSub15.java b/client/defs/DefinitionSub15.java new file mode 100644 index 000000000..8e6ed2d31 --- /dev/null +++ b/client/defs/DefinitionSub15.java @@ -0,0 +1,63 @@ +/* DefinitionSub15 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DefinitionSub15 +/** + * RENAMED from `Class348_Sub40_Sub15` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + static Component183 aClass114_9216 = new Component183(91, 2); + static int anInt9217; + static int anInt9218; + static int anInt9219; + private int anInt9220 = 4096; + static int anInt9221; + + final void method3049(Buffer class348_sub49, int i, int i_0_) { + int i_1_ = i; + if (i_1_ == 0) anInt9220 = (class348_sub49.readUnsignedByte(255) << 12) / 255; + if (i_0_ == 31015) anInt9217++; + } + + static final void method3084(int i, byte i_2_, int i_3_) { + anInt9218++; + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i_3_, (byte) 105, 17); + class348_sub42_sub15.method3246(-25490); + class348_sub42_sub15.anInt9652 = i; + int i_4_ = 59 / ((i_2_ - -7) / 49); + } + + public static void method3085(int i) { + aClass114_9216 = null; + if (i != 0) aClass114_9216 = null; + } + + DefinitionSub15(int i) { + super(0, true); + anInt9220 = i; + } + + static final void method3086(int i, BrowserUrlOpener class348_sub16_sub3, int i_5_, CacheStore class45, boolean bool, int i_6_, int i_7_) { + try { + anInt9219++; + if (i != 2) aClass114_9216 = null; + NodeSub1Sub3.method2732(i_6_, i_7_, bool, 96, class45, i_5_); + DebugPanic.aClass348_Sub16_Sub3_4743 = class348_sub16_sub3; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("pba.D(" + i + ',' + (class348_sub16_sub3 != null ? "{...}" : "null") + ',' + i_5_ + ',' + (class45 != null ? "{...}" : "null") + ',' + bool + ',' + i_6_ + ',' + i_7_ + ')')); + } + } + + final int[] getMonochromeOutput(int i, int i_8_) { + anInt9221++; + int[] is = this.imageCache.getPixels(0, i); + if (this.imageCache.cacheMiss) Component313.method1579(is, 0, DefinitionSub6.anInt9139, anInt9220); + if (i_8_ != 255) method3085(63); + return is; + } + + public DefinitionSub15() { + this(4096); + } +} diff --git a/client/defs/DefinitionSub17.java b/client/defs/DefinitionSub17.java new file mode 100644 index 000000000..71bb42894 --- /dev/null +++ b/client/defs/DefinitionSub17.java @@ -0,0 +1,97 @@ +/* DefinitionSub17 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +class DefinitionSub17 +/** + * RENAMED from `Class348_Sub40_Sub17` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + int[] anIntArray9232; + static int anInt9233; + static StringCache aClass351_9234 = new StringCache(67, -1); + static int anInt9235; + static int anInt9236; + int anInt9237; + static int anInt9238; + static int anInt9239; + static NodeList aClass262_9240 = new NodeList(); + int anInt9241; + static boolean aBoolean9242; + private int anInt9243 = -1; + + final boolean method3090(boolean bool) { + anInt9235++; + if (bool != true) return true; + if (this.anIntArray9232 != null) return true; + if (anInt9243 >= 0) { + Component170 class207 = (MatrixSub2.anInt5713 >= 0 ? Component170.method1521(Node.aClass45_4286, MatrixSub2.anInt5713, anInt9243) : Component170.method1512(Node.aClass45_4286, anInt9243)); + class207.method1524(); + this.anIntArray9232 = class207.method1516(); + this.anInt9237 = class207.anInt2702; + this.anInt9241 = class207.anInt2696; + return true; + } + return false; + } + + public DefinitionSub17() { + super(0, false); + } + + final void method3049(Buffer class348_sub49, int i, int i_0_) { + if (i_0_ == 31015) { + if (i == 0) anInt9243 = class348_sub49.readUnsignedShort(842397944); + anInt9236++; + } + } + + final int method3037(int i) { + anInt9233++; + if (i > -113) aBoolean9242 = false; + return anInt9243; + } + + final void clearImageCache(byte i) { + super.clearImageCache((byte) -112); + if (i < -102) { + anInt9238++; + this.anIntArray9232 = null; + } + } + + int[][] getColourOutput(int i, int i_1_) { + anInt9239++; + if (i_1_ != -1564599039) getColourOutput(8, -86); + int[][] is = this.imageCacheStore.getPixels(-108, i); + if (this.imageCacheStore.cacheMiss && method3090(true)) { + int[] is_2_ = is[0]; + int[] is_3_ = is[1]; + int[] is_4_ = is[2]; + int i_5_ = (this.anInt9237 * ((this.anInt9241 != ShaderProgramSub2.anInt6212) ? (this.anInt9241 * i / ShaderProgramSub2.anInt6212) : i)); + if (DefinitionSub6.anInt9139 == this.anInt9237) { + for (int i_6_ = 0; (DefinitionSub6.anInt9139 > i_6_); i_6_++) { + int i_7_ = this.anIntArray9232[i_5_++]; + is_4_[i_6_] = GpsOverlay.bitwiseAnd(4080, i_7_ << 4); + is_3_[i_6_] = GpsOverlay.bitwiseAnd(65280, i_7_) >> 4; + is_2_[i_6_] = GpsOverlay.bitwiseAnd(4080, i_7_ >> 12); + } + } else { + for (int i_8_ = 0; (DefinitionSub6.anInt9139 > i_8_); i_8_++) { + int i_9_ = (this.anInt9237 * i_8_ / DefinitionSub6.anInt9139); + int i_10_ = (this.anIntArray9232[i_9_ + i_5_]); + is_4_[i_8_] = GpsOverlay.bitwiseAnd(i_10_, 255) << 4; + is_3_[i_8_] = GpsOverlay.bitwiseAnd(i_10_ >> 4, 4080); + is_2_[i_8_] = GpsOverlay.bitwiseAnd(i_10_, 16711680) >> 12; + } + } + } + return is; + } + + public static void method3091(boolean bool) { + aClass351_9234 = null; + aClass262_9240 = null; + if (bool != true) method3091(false); + } +} diff --git a/client/defs/DefinitionSub17Sub1.java b/client/defs/DefinitionSub17Sub1.java new file mode 100644 index 000000000..84ad01f2c --- /dev/null +++ b/client/defs/DefinitionSub17Sub1.java @@ -0,0 +1,48 @@ +/* DefinitionSub17Sub1 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DefinitionSub17Sub1 +/** + * RENAMED from `Class348_Sub40_Sub17_Sub1` (JODE-obfuscated). + * Evidence: subclass of DefinitionSub17 (hierarchy) + */ extends DefinitionSub17 { + static int anInt10425; + static CacheStore aClass45_10426; + static int anInt10427; + + public DefinitionSub17Sub1() { + /* empty */ + } + + final int[][] getColourOutput(int i, int i_0_) { + if (i_0_ != -1564599039) method3093(54); + anInt10425++; + int[][] is = this.imageCacheStore.getPixels(-93, i); + if (this.imageCacheStore.cacheMiss && this.method3090(true)) { + int[] is_1_ = is[0]; + int[] is_2_ = is[1]; + int[] is_3_ = is[2]; + int i_4_ = (this.anInt9241 * (i % this.anInt9241)); + for (int i_5_ = 0; i_5_ < DefinitionSub6.anInt9139; i_5_++) { + int i_6_ = (this.anIntArray9232[(i_5_ % this.anInt9237 + i_4_)]); + is_3_[i_5_] = GpsOverlay.bitwiseAnd(4080, i_6_ << 4); + is_2_[i_5_] = GpsOverlay.bitwiseAnd(65280, i_6_) >> 4; + is_1_[i_5_] = GpsOverlay.bitwiseAnd(4080, i_6_ >> 12); + } + } + return is; + } + + public static void method3092(int i) { + if (i != -1) aClass45_10426 = null; + aClass45_10426 = null; + } + + static final void method3093(int i) { + if (i > 85) { + anInt10427++; + NodeSub5.method2755(-1, 255, -1); + } + } +} diff --git a/client/defs/DefinitionSub19.java b/client/defs/DefinitionSub19.java new file mode 100644 index 000000000..80eb20ff1 --- /dev/null +++ b/client/defs/DefinitionSub19.java @@ -0,0 +1,84 @@ +/* DefinitionSub19 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DefinitionSub19 +/** + * RENAMED from `Class348_Sub40_Sub19` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + static int anInt9253; + static Component183 aClass114_9254 = new Component183(73, 3); + static int anInt9255; + static int anInt9256; + static Component183 aClass114_9257; + static int anInt9258; + static int[] anIntArray9259 = new int[2]; + /*synthetic*/ static Class aClass9260; + + static final void method3097(DisplayModeManagerContainer57[] class46s, int i, int i_0_) { + if (i_0_ >= 116) { + for (int i_1_ = 0; class46s.length > i_1_; i_1_++) { + DisplayModeManagerContainer57 class46 = class46s[i_1_]; + if (class46 != null) { + if (class46.anInt774 == 0) { + if (class46.aClass46Array798 != null) method3097(class46.aClass46Array798, i, 125); + NodeSub41 class348_sub41 = ((NodeSub41) (Component15.aClass356_4915.get(class46.anInt830, -6008))); + if (class348_sub41 != null) Component205.method1775((byte) -8, (class348_sub41.anInt7050), i); + } + if (i == 0 && class46.anObjectArray840 != null) { + NodeSub36 class348_sub36 = new NodeSub36(); + class348_sub36.aClass46_6989 = class46; + class348_sub36.anObjectArray6987 = class46.anObjectArray840; + ClientScriptExecutor.method705(class348_sub36); + } + if (i == 1 && class46.anObjectArray701 != null) { + if (class46.anInt704 >= 0) { + DisplayModeManagerContainer57 class46_2_ = BitmapFont.method2570(1512932720, (class46.anInt830)); + if (class46_2_ == null || (class46_2_.aClass46Array798 == null) || (class46.anInt704 >= (class46_2_.aClass46Array798).length) || class46 != (class46_2_.aClass46Array798[class46.anInt704])) continue; + } + NodeSub36 class348_sub36 = new NodeSub36(); + class348_sub36.aClass46_6989 = class46; + class348_sub36.anObjectArray6987 = class46.anObjectArray701; + ClientScriptExecutor.method705(class348_sub36); + } + } + } + anInt9258++; + } + } + + final int[] getMonochromeOutput(int i, int i_3_) { + if (i_3_ != 255) aClass114_9254 = null; + anInt9256++; + return RenderableSub6.anIntArray6432; + } + + public DefinitionSub19() { + super(0, true); + } + + /** Try {@link NodederUtil#loadNativeLibrary} for {@code string} (e.g. {@code jagtheora}). */ + static final boolean tryLoadNativeLibrary(int i, String string) { + if (i != -30282) return true; + anInt9255++; + return NodederUtil.loadNativeLibrary((aClass9260 != null ? aClass9260 : (aClass9260 = Component330.class)), (byte) 20, string); + } + + public static void method3099(byte i) { + aClass114_9254 = null; + aClass114_9257 = null; + anIntArray9259 = null; + if (i >= -63) anIntArray9259 = null; + } + + static final boolean method3100(int i, boolean bool, int i_4_) { + anInt9253++; + if (bool != false) anIntArray9259 = null; + return GameType.method1637(i, 32768, i_4_) | (0x800 & i_4_) != 0 || Component224.method2056(i_4_, 86, i); + } + + static { + aClass114_9257 = new Component183(102, 3); + } +} diff --git a/client/defs/DefinitionSub2.java b/client/defs/DefinitionSub2.java new file mode 100644 index 000000000..b64b31f37 --- /dev/null +++ b/client/defs/DefinitionSub2.java @@ -0,0 +1,93 @@ +/* DefinitionSub2 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DefinitionSub2 +/** + * RENAMED from `Class348_Sub40_Sub2` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + private int anInt9095 = 1; + static int[] anIntArray9096 = new int[2]; + static int anInt9097; + private int anInt9098 = 204; + private int anInt9099 = 1; + static int anInt9100; + static int anInt9101 = -1; + + final void method3049(Buffer class348_sub49, int i, int i_0_) { + anInt9100++; + int i_1_ = i; + while_132_: + do { + do { + if (i_1_ == 0) { + anInt9099 = class348_sub49.readUnsignedByte(i_0_ ^ 0x79d8); + break while_132_; + } else if (i_1_ != 1) { + if (i_1_ == 2) break; + break while_132_; + } + anInt9095 = class348_sub49.readUnsignedByte(255); + break while_132_; + } while (false); + anInt9098 = class348_sub49.readUnsignedShort(842397944); + } while (false); + if (i_0_ != 31015) getMonochromeOutput(-14, -114); + } + + public DefinitionSub2() { + super(0, true); + } + + public static void method3053(int i) { + if (i == 4) anIntArray9096 = null; + } + + final int[] getMonochromeOutput(int i, int i_2_) { + anInt9097++; + int[] is = this.imageCache.getPixels(0, i); + if (this.imageCache.cacheMiss) { + int i_3_ = 0; + for (/**/; i_3_ < DefinitionSub6.anInt9139; i_3_++) { + int i_4_ = RenderableSub6.anIntArray6432[i_3_]; + int i_5_ = Component302.anIntArray6035[i]; + int i_6_ = anInt9099 * i_4_ >> 12; + int i_7_ = anInt9095 * i_5_ >> 12; + int i_8_ = i_4_ % (4096 / anInt9099) * anInt9099; + int i_9_ = i_5_ % (4096 / anInt9095) * anInt9095; + if (i_9_ < anInt9098) { + for (i_6_ -= i_7_; i_6_ < 0; i_6_ += 4) { + /* empty */ + } + for (/**/; i_6_ > 3; i_6_ -= 4) { + /* empty */ + } + if (i_6_ != 1) { + is[i_3_] = 0; + continue; + } + if (anInt9098 > i_8_) { + is[i_3_] = 0; + continue; + } + } + if (i_8_ < anInt9098) { + for (i_6_ -= i_7_; i_6_ < 0; i_6_ += 4) { + /* empty */ + } + for (/**/; i_6_ > 3; i_6_ -= 4) { + /* empty */ + } + if (i_6_ > 0) { + is[i_3_] = 0; + continue; + } + } + is[i_3_] = 4096; + } + } + if (i_2_ != 255) anIntArray9096 = null; + return is; + } +} diff --git a/client/defs/DefinitionSub20.java b/client/defs/DefinitionSub20.java new file mode 100644 index 000000000..aa6d6e8a2 --- /dev/null +++ b/client/defs/DefinitionSub20.java @@ -0,0 +1,57 @@ +/* DefinitionSub20 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DefinitionSub20 +/** + * RENAMED from `Class348_Sub40_Sub20` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + static int anInt9261; + static int anInt9262; + /** Release-candidate channel ({@code id}=1). */ + static BuildType RC = new BuildType("RC", 1); + static HardwareProbe aClass348_Sub4_9264; + static int anInt9265; + + static final void method3102(int i) { + if (i != 22385) aClass348_Sub4_9264 = null; + anInt9265++; + Component9.aClass60_4139.method587(-110); + } + + private final int method3103(int i, int i_0_, int i_1_) { + anInt9262++; + if (i_1_ < 14) aClass348_Sub4_9264 = null; + int i_2_ = i_0_ - -(57 * i); + i_2_ ^= i_2_ << 1; + return (-(((789221 + 15731 * (i_2_ * i_2_)) * i_2_ + 1376312589 & 0x7fffffff) / 262144) + 4096); + } + + public DefinitionSub20() { + super(0, true); + } + + public static void method3104(boolean bool) { + if (bool == false) { + aClass348_Sub4_9264 = null; + RC = null; + } + } + + final int[] getMonochromeOutput(int i, int i_3_) { + anInt9261++; + int[] is = this.imageCache.getPixels(0, i); + if (this.imageCache.cacheMiss) { + int i_4_ = Component302.anIntArray6035[i]; + for (int i_5_ = 0; (i_5_ < DefinitionSub6.anInt9139); i_5_++) + is[i_5_] = method3103(i_4_, RenderableSub6.anIntArray6432[i_5_], 22) % 4096; + } + if (i_3_ != 255) getMonochromeOutput(38, -42); + return is; + } + + static { + new Component224("", 73); + } +} diff --git a/client/defs/DefinitionSub21.java b/client/defs/DefinitionSub21.java new file mode 100644 index 000000000..831603ef8 --- /dev/null +++ b/client/defs/DefinitionSub21.java @@ -0,0 +1,178 @@ +/* DefinitionSub21 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DefinitionSub21 +/** + * RENAMED from `Class348_Sub40_Sub21` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + private int anInt9266 = 0; + static int anInt9267; + static int anInt9268; + private int anInt9269 = 2048; + static int anInt9270; + static int anInt9271; + static int anInt9272; + static int anInt9273; + static DisplayModeManagerContainer369 aClass223_9274; + /** Ignore-list last/previous names. */ + static String[] ignoreLastNames = new String[100]; + private int anInt9276 = 4096; + private int anInt9277; + private int anInt9278 = 0; + private int anInt9279 = 12288; + static int anInt9280; + private int anInt9281; + /** + * Camera mode: 1=follow, 2/3=scripted, 4=orbit/free, 5=cutscene-style. + * Selects which camera update tick runs each frame. + */ + static int cameraMode; + static long[] aLongArray9283; + + final int[] getMonochromeOutput(int i, int i_0_) { + anInt9267++; + int[] is = this.imageCache.getPixels(0, i); + if (i_0_ != 255) method3108(-114, -119, -89); + if (this.imageCache.cacheMiss) { + int i_1_ = -2048 + Component302.anIntArray6035[i]; + for (int i_2_ = 0; (i_2_ < DefinitionSub6.anInt9139); i_2_++) { + int i_3_ = -2048 + RenderableSub6.anIntArray6432[i_2_]; + int i_4_ = i_3_ - -anInt9269; + i_4_ = i_4_ < -2048 ? 4096 + i_4_ : i_4_; + i_4_ = i_4_ <= 2048 ? i_4_ : -4096 + i_4_; + int i_5_ = anInt9278 + i_1_; + i_5_ = i_5_ < -2048 ? i_5_ - -4096 : i_5_; + i_5_ = i_5_ <= 2048 ? i_5_ : i_5_ - 4096; + int i_6_ = i_3_ - -anInt9266; + i_6_ = i_6_ < -2048 ? i_6_ + 4096 : i_6_; + i_6_ = i_6_ > 2048 ? i_6_ - 4096 : i_6_; + int i_7_ = anInt9281 + i_1_; + i_7_ = i_7_ < -2048 ? i_7_ - -4096 : i_7_; + i_7_ = i_7_ > 2048 ? -4096 + i_7_ : i_7_; + is[i_2_] = (method3108(i_5_, 9619, i_4_) || method3105(i_7_, -7981, i_6_)) ? 4096 : 0; + } + } + return is; + } + + final void postDecode(int i) { + anInt9272++; + if (i <= 108) getMonochromeOutput(69, 74); + Component7.method1605(26188); + } + + private final boolean method3105(int i, int i_8_, int i_9_) { + anInt9273++; + int i_10_ = (i_9_ + i) * anInt9279 >> 12; + int i_11_ = Component296.anIntArray4654[(i_10_ * 255 & 0xfff2f) >> 12]; + if (i_8_ != -7981) anInt9266 = -52; + i_11_ = (i_11_ << 12) / anInt9279; + i_11_ = (i_11_ << 12) / anInt9277; + i_11_ = i_11_ * anInt9276 >> 12; + return i_11_ > i + -i_9_ && -i_9_ + i > -i_11_; + } + + public static void method3106(byte i) { + aLongArray9283 = null; + ignoreLastNames = null; + aClass223_9274 = null; + int i_12_ = 69 % ((19 - i) / 41); + } + + final void method3049(Buffer class348_sub49, int i, int i_13_) { + anInt9268++; + if (i_13_ != 31015) getMonochromeOutput(72, 12); + int i_14_ = i; + while_183_: + do { + while_182_: + do { + while_181_: + do { + while_180_: + do { + while_179_: + do { + do { + if (i_14_ == 0) { + anInt9269 = class348_sub49.readUnsignedShort(842397944); + return; + } else if (i_14_ != 1) { + if (i_14_ != 2) { + if (i_14_ != 3) { + if (i_14_ != 4) { + if (i_14_ != 5) { + if (i_14_ == 6) break while_182_; + break while_183_; + } + } else break while_180_; + break while_181_; + } + } else break; + break while_179_; + } + anInt9278 = class348_sub49.readUnsignedShort(842397944); + return; + } while (false); + anInt9266 = class348_sub49.readUnsignedShort(842397944); + return; + } while (false); + anInt9281 = class348_sub49.readUnsignedShort(842397944); + return; + } while (false); + anInt9279 = class348_sub49.readUnsignedShort(842397944); + return; + } while (false); + anInt9276 = class348_sub49.readUnsignedShort(842397944); + return; + } while (false); + anInt9277 = class348_sub49.readUnsignedShort(842397944); + } while (false); + } + + static final long method3107(byte i, Interface10 interface10, int i_15_, int i_16_) { + anInt9270++; + long l = 4194304L; + long l_17_ = -9223372036854775808L; + Component44 class51 = GradientPreset.aClass263_9195.method2005(0, interface10.method42(-107)); + long l_18_ = interface10.method39(-14) << 14 | (i_16_ | i_15_ << 7) | interface10.method41(-32228) << 20 | 0x40000000; + if (class51.anInt874 == 0) l_18_ |= l_17_; + if (class51.anInt895 == 1) l_18_ |= l; + int i_19_ = 57 % ((-24 - i) / 57); + l_18_ |= (long) interface10.method42(-102) << 32; + return l_18_; + } + + private final boolean method3108(int i, int i_20_, int i_21_) { + if (i_20_ != 9619) return true; + anInt9271++; + int i_22_ = anInt9279 * (i - i_21_) >> 12; + int i_23_ = Component296.anIntArray4654[(0xff530 & 255 * i_22_) >> 12]; + i_23_ = (i_23_ << 12) / anInt9279; + i_23_ = (i_23_ << 12) / anInt9277; + i_23_ = anInt9276 * i_23_ >> 12; + return i_23_ > i_21_ - -i && -i_23_ < i + i_21_; + } + + public DefinitionSub21() { + super(0, true); + anInt9277 = 8192; + anInt9281 = 2048; + } + + static { + aClass223_9274 = new DisplayModeManagerContainer369(5, 1); + anInt9280 = 0; + aLongArray9283 = new long[256]; + for (int i = 0; i < 256; i++) { + long l = i; + for (int i_24_ = 0; i_24_ < 8; i_24_++) { + if ((0x1L & l) == 1L) l = ~0x3693a86a2878f0bdL ^ l >>> 1; + else l >>>= 1; + } + aLongArray9283[i] = l; + } + } +} diff --git a/client/defs/DefinitionSub22.java b/client/defs/DefinitionSub22.java new file mode 100644 index 000000000..7dafacd8b --- /dev/null +++ b/client/defs/DefinitionSub22.java @@ -0,0 +1,215 @@ +/* DefinitionSub22 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.util.Random; + +final class DefinitionSub22 +/** + * RENAMED from `Class348_Sub40_Sub22` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + private int anInt9284 = 1024; + static Component183 aClass114_9285 = new Component183(104, 1); + private int[][] anIntArrayArray9286; + private int[][] anIntArrayArray9287; + private int anInt9288 = 1024; + static int anInt9289; + static int anInt9290; + private int anInt9291; + static int anInt9292; + private int anInt9293 = 0; + private int anInt9294; + static int anInt9295; + static int anInt9296; + private int[] anIntArray9297; + private int anInt9298; + private int anInt9299 = 4; + private int anInt9300; + private int anInt9301; + private int anInt9302; + static DisplayModeManagerContainer42 aClass304_9303 = new DisplayModeManagerContainer42(1); + static StringCache aClass351_9304 = new StringCache(20, -1); + private int anInt9305; + + private final void method3109(byte i) { + anInt9289++; + Random random = new Random(anInt9301); + anInt9298 = anInt9294 / 2; + anInt9291 = 4096 / anInt9299; + anInt9300 = 4096 / anInt9301; + int i_0_ = anInt9291 / 2; + anIntArray9297 = new int[anInt9301 + 1]; + int i_1_ = anInt9300 / 2; + anIntArrayArray9287 = new int[anInt9301][1 + anInt9299]; + anIntArrayArray9286 = new int[anInt9301][anInt9299]; + anIntArray9297[0] = 0; + if (i >= -111) method3109((byte) 67); + for (int i_2_ = 0; i_2_ < anInt9301; i_2_++) { + if (i_2_ > 0) { + int i_3_ = anInt9300; + int i_4_ = ((DisplayModeManagerContainer77.method1097((byte) 90, 4096, random) - 2048) * anInt9305 >> 12); + i_3_ += i_4_ * i_1_ >> 12; + anIntArray9297[i_2_] = i_3_ + anIntArray9297[-1 + i_2_]; + } + anIntArrayArray9287[i_2_][0] = 0; + for (int i_5_ = 0; anInt9299 > i_5_; i_5_++) { + if (i_5_ > 0) { + int i_6_ = anInt9291; + int i_7_ = ((DisplayModeManagerContainer77.method1097((byte) 117, 4096, random) - 2048) * anInt9302 >> 12); + i_6_ += i_0_ * i_7_ >> 12; + anIntArrayArray9287[i_2_][i_5_] = anIntArrayArray9287[i_2_][i_5_ + -1] + i_6_; + } + anIntArrayArray9286[i_2_][i_5_] = (anInt9284 <= 0 ? 4096 : (-DisplayModeManagerContainer77.method1097((byte) 124, anInt9284, random) + 4096)); + } + anIntArrayArray9287[i_2_][anInt9299] = 4096; + } + anIntArray9297[anInt9301] = 4096; + } + + public DefinitionSub22() { + super(0, true); + anInt9294 = 81; + anInt9302 = 409; + anInt9305 = 204; + anInt9301 = 8; + } + + public static void method3110(int i) { + aClass351_9304 = null; + aClass304_9303 = null; + if (i != -1633784916) aClass304_9303 = null; + aClass114_9285 = null; + } + + final void method3049(Buffer class348_sub49, int i, int i_8_) { + anInt9292++; + if (i_8_ != 31015) method3111(106, 16); + int i_9_ = i; + while_189_: + do { + while_188_: + do { + while_187_: + do { + while_186_: + do { + while_185_: + do { + while_184_: + do { + do { + if (i_9_ == 0) { + anInt9299 = class348_sub49.readUnsignedByte(255); + return; + } else if (i_9_ != 1) { + if (i_9_ != 2) { + if (i_9_ != 3) { + if (i_9_ != 4) { + if (i_9_ != 5) { + if (i_9_ != 6) { + if (i_9_ != 7) break while_189_; + } else break while_187_; + break while_188_; + } + } else break while_185_; + break while_186_; + } + } else break; + break while_184_; + } + anInt9301 = class348_sub49.readUnsignedByte(255); + return; + } while (false); + anInt9302 = class348_sub49.readUnsignedShort(842397944); + return; + } while (false); + anInt9305 = class348_sub49.readUnsignedShort(842397944); + return; + } while (false); + anInt9288 = class348_sub49.readUnsignedShort(842397944); + return; + } while (false); + anInt9293 = class348_sub49.readUnsignedShort(842397944); + return; + } while (false); + anInt9294 = class348_sub49.readUnsignedShort(842397944); + return; + } while (false); + anInt9284 = class348_sub49.readUnsignedShort(i_8_ + 842366929); + } while (false); + } + + final int[] getMonochromeOutput(int i, int i_10_) { + anInt9296++; + int[] is = this.imageCache.getPixels(0, i); + if (this.imageCache.cacheMiss) { + int i_11_ = 0; + int i_12_; + for (i_12_ = anInt9293 + Component302.anIntArray6035[i]; i_12_ < 0; i_12_ += 4096) { + /* empty */ + } + for (/**/; i_12_ > 4096; i_12_ -= 4096) { + /* empty */ + } + for (/**/; i_11_ < anInt9301; i_11_++) { + if (i_12_ < anIntArray9297[i_11_]) break; + } + int i_13_ = -1 + i_11_; + boolean bool = (0x1 & i_11_) == 0; + int i_14_ = anIntArray9297[i_11_]; + int i_15_ = anIntArray9297[i_11_ - 1]; + if (anInt9298 + i_15_ < i_12_ && i_12_ < i_14_ - anInt9298) { + for (int i_16_ = 0; DefinitionSub6.anInt9139 > i_16_; i_16_++) { + int i_17_ = 0; + int i_18_ = !bool ? -anInt9288 : anInt9288; + int i_19_; + for (i_19_ = (RenderableSub6.anIntArray6432[i_16_] + (i_18_ * anInt9291 >> 12)); i_19_ < 0; i_19_ += 4096) { + /* empty */ + } + for (/**/; i_19_ > 4096; i_19_ -= 4096) { + /* empty */ + } + for (/**/; i_17_ < anInt9299; i_17_++) { + if (anIntArrayArray9287[i_13_][i_17_] > i_19_) break; + } + int i_20_ = i_17_ - 1; + int i_21_ = anIntArrayArray9287[i_13_][i_20_]; + int i_22_ = anIntArrayArray9287[i_13_][i_17_]; + if (anInt9298 + i_21_ >= i_19_ || i_19_ >= -anInt9298 + i_22_) is[i_16_] = 0; + else is[i_16_] = anIntArrayArray9286[i_13_][i_20_]; + } + } else Component313.method1579(is, 0, DefinitionSub6.anInt9139, 0); + } + if (i_10_ != 255) method3110(44); + return is; + } + + static final void method3111(int i, int i_23_) { + anInt9290++; + if (i_23_ != ColorTagNode.anInt6769) { + if (i < 18) aClass304_9303 = null; + AbstractShaderSub4.anInt7319 = ParametricDefinition.anInt9109 = DisplayModeManagerContainer306.anIntArray4780[i_23_]; + Component200.method2196((byte) -9); + Component240.anIntArrayArrayArray1116 = (new int[4][AbstractShaderSub4.anInt7319 >> 3] + [ParametricDefinition.anInt9109 >> 3]); + DisplayModeManagerContainer295.anIntArrayArray5921 = (new int[AbstractShaderSub4.anInt7319] + [ParametricDefinition.anInt9109]); + HashNodeSub17.anIntArrayArray9678 = (new int[AbstractShaderSub4.anInt7319] + [ParametricDefinition.anInt9109]); + for (int i_24_ = 0; i_24_ < 4; i_24_++) + NodeSub45.aClass361Array7108[i_24_] = SpriteSub1.method988(ParametricDefinition.anInt9109, 1, AbstractShaderSub4.anInt7319); + Component156.aByteArrayArrayArray3700 = (new byte[4][AbstractShaderSub4.anInt7319] + [ParametricDefinition.anInt9109]); + Component339.method1717(19278, ParametricDefinition.anInt9109, AbstractShaderSub4.anInt7319, 4); + Component263.method873(AbstractShaderSub4.anInt7319 >> 3, 21719, NodeSub8.toolkit, ParametricDefinition.anInt9109 >> 3); + ColorTagNode.anInt6769 = i_23_; + } + } + + final void postDecode(int i) { + if (i <= 108) method3111(-110, -119); + anInt9295++; + method3109((byte) -125); + } +} diff --git a/client/defs/DefinitionSub23.java b/client/defs/DefinitionSub23.java new file mode 100644 index 000000000..5470717be --- /dev/null +++ b/client/defs/DefinitionSub23.java @@ -0,0 +1,352 @@ +/* DefinitionSub23 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.util.Random; + +final class DefinitionSub23 +/** + * RENAMED from `Class348_Sub40_Sub23` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + private int anInt9306; + static boolean aBoolean9307 = true; + static int anInt9308; + static int anInt9309; + private int anInt9310; + private int anInt9311 = 1024; + private int anInt9312 = 0; + static int anInt9313; + private int anInt9314; + static int anInt9315; + static int anInt9316; + private int anInt9317; + private int anInt9318; + static NodeSub22[] aClass348_Sub22Array9319 = new NodeSub22[1024]; + private int anInt9320; + static int anInt9321; + private int anInt9322; + private int anInt9323; + + final void method3049(Buffer class348_sub49, int i, int i_0_) { + anInt9308++; + if (i_0_ != 31015) aBoolean9307 = true; + int i_1_ = i; + while_196_: + do { + while_195_: + do { + while_194_: + do { + while_193_: + do { + while_192_: + do { + while_191_: + do { + while_190_: + do { + do { + if (i_1_ == 0) { + anInt9318 = class348_sub49.readUnsignedByte(255); + return; + } else if (i_1_ != 1) { + if (i_1_ != 2) { + if (i_1_ != 3) { + if (i_1_ != 4) { + if (i_1_ != 5) { + if (i_1_ != 6) { + if (i_1_ != 7) { + if (i_1_ == 8) break while_195_; + break while_196_; + } + } else break while_193_; + break while_194_; + } + } else break while_191_; + break while_192_; + } + } else break; + break while_190_; + } + anInt9317 = class348_sub49.readUnsignedShort(842397944); + return; + } while (false); + anInt9320 = class348_sub49.readUnsignedShort(842397944); + return; + } while (false); + anInt9322 = class348_sub49.readUnsignedShort(i_0_ ^ 0x323581df); + return; + } while (false); + anInt9323 = class348_sub49.readUnsignedShort(842397944); + return; + } while (false); + anInt9311 = class348_sub49.readUnsignedShort(842397944); + return; + } while (false); + anInt9312 = class348_sub49.readUnsignedByte(i_0_ ^ 0x79d8); + return; + } while (false); + anInt9314 = class348_sub49.readUnsignedShort(842397944); + return; + } while (false); + anInt9310 = class348_sub49.readUnsignedShort(842397944); + } while (false); + } + + final void postDecode(int i) { + if (i >= 108) anInt9316++; + } + + private final void method3112(int i, int i_2_, int[][] is, Random random, int i_3_, int i_4_, int i_5_) { + try { + anInt9309++; + int i_6_ = (anInt9310 <= 0 ? 4096 : 4096 - DisplayModeManagerContainer77.method1097((byte) 117, anInt9310, random)); + int i_7_ = 88 % ((i - 57) / 55); + int i_8_ = anInt9306 * anInt9314 >> 12; + int i_9_ = (anInt9306 - (i_8_ > 0 ? DisplayModeManagerContainer77.method1097((byte) 82, i_8_, random) : 0)); + if (DefinitionSub6.anInt9139 <= i_3_) i_3_ -= DefinitionSub6.anInt9139; + if (i_9_ <= 0) { + if (DefinitionSub6.anInt9139 < i_3_ + i_5_) { + int i_10_ = DefinitionSub6.anInt9139 + -i_3_; + for (int i_11_ = 0; i_11_ < i_2_; i_11_++) { + int[] is_12_ = is[i_11_ + i_4_]; + Component313.method1579(is_12_, i_3_, i_10_, i_6_); + Component313.method1579(is_12_, 0, i_5_ - i_10_, i_6_); + } + } else { + for (int i_13_ = 0; i_2_ > i_13_; i_13_++) + Component313.method1579(is[i_13_ + i_4_], i_3_, i_5_, i_6_); + } + } else if (i_2_ > 0 && i_5_ > 0) { + int i_14_ = i_5_ / 2; + int i_15_ = i_2_ / 2; + int i_16_ = Math.min(i_14_, i_9_); + int i_17_ = Math.min(i_15_, i_9_); + int i_18_ = i_3_ - -i_16_; + int i_19_ = i_5_ - i_16_ * 2; + for (int i_20_ = 0; i_20_ < i_2_; i_20_++) { + int[] is_21_ = is[i_20_ - -i_4_]; + if (i_20_ < i_17_) { + int i_22_ = i_6_ * i_20_ / i_17_; + if (anInt9312 == 0) { + for (int i_23_ = 0; i_23_ < i_16_; i_23_++) { + int i_24_ = i_6_ * i_23_ / i_16_; + is_21_[GpsOverlay.bitwiseAnd(i_23_ + i_3_, (Component287.anInt6076))] = is_21_[(GpsOverlay.bitwiseAnd(Component287.anInt6076, i_3_ - (-i_5_ + (i_23_ - -1))))] = i_22_ * i_24_ >> 12; + } + } else { + for (int i_25_ = 0; i_16_ > i_25_; i_25_++) { + int i_26_ = i_6_ * i_25_ / i_16_; + is_21_[GpsOverlay.bitwiseAnd((Component287.anInt6076), i_25_ + i_3_)] = is_21_[(GpsOverlay.bitwiseAnd(i_3_ - -i_5_ + (-i_25_ - 1), Component287.anInt6076))] = Math.min(i_26_, i_22_); + } + } + if (DefinitionSub6.anInt9139 >= i_19_ + i_18_) Component313.method1579(is_21_, i_18_, i_19_, i_22_); + else { + int i_27_ = -i_18_ + DefinitionSub6.anInt9139; + Component313.method1579(is_21_, i_18_, i_27_, i_22_); + Component313.method1579(is_21_, 0, i_19_ - i_27_, i_22_); + } + } else { + int i_28_ = -1 + (-i_20_ + i_2_); + if (i_17_ > i_28_) { + int i_29_ = i_28_ * i_6_ / i_17_; + if (anInt9312 == 0) { + for (int i_30_ = 0; i_16_ > i_30_; i_30_++) { + int i_31_ = i_6_ * i_30_ / i_16_; + is_21_[GpsOverlay.bitwiseAnd((Component287.anInt6076), i_30_ + i_3_)] = is_21_[(GpsOverlay.bitwiseAnd(Component287.anInt6076, -1 + i_5_ + i_3_ - i_30_))] = i_31_ * i_29_ >> 12; + } + } else { + for (int i_32_ = 0; (i_16_ > i_32_); i_32_++) { + int i_33_ = i_32_ * i_6_ / i_16_; + is_21_[GpsOverlay.bitwiseAnd((Component287.anInt6076), i_3_ + i_32_)] = is_21_[(GpsOverlay.bitwiseAnd(Component287.anInt6076, -i_32_ + i_5_ + (i_3_ + -1)))] = Math.min(i_29_, i_33_); + } + } + if (i_19_ + i_18_ <= DefinitionSub6.anInt9139) Component313.method1579(is_21_, i_18_, i_19_, i_29_); + else { + int i_34_ = -i_18_ + DefinitionSub6.anInt9139; + Component313.method1579(is_21_, i_18_, i_34_, i_29_); + Component313.method1579(is_21_, 0, -i_34_ + i_19_, i_29_); + } + } else { + for (int i_35_ = 0; i_35_ < i_16_; i_35_++) + is_21_[GpsOverlay.bitwiseAnd(i_35_ + i_3_, (Component287.anInt6076))] = is_21_[(GpsOverlay.bitwiseAnd(Component287.anInt6076, -i_35_ + (i_3_ - (-i_5_ + 1))))] = i_6_ * i_35_ / i_16_; + if (DefinitionSub6.anInt9139 >= i_18_ - -i_19_) Component313.method1579(is_21_, i_18_, i_19_, i_6_); + else { + int i_36_ = -i_18_ + DefinitionSub6.anInt9139; + Component313.method1579(is_21_, i_18_, i_36_, i_6_); + Component313.method1579(is_21_, 0, i_19_ - i_36_, i_6_); + } + } + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("cc.C(" + i + ',' + i_2_ + ',' + (is != null ? "{...}" : "null") + ',' + (random != null ? "{...}" : "null") + ',' + i_3_ + ',' + i_4_ + ',' + i_5_ + ')')); + } + } + + /** Split {@code string} on delimiter {@code c} (keeps empty segments). */ + static final String[] splitByChar(char c, boolean bool, String string) { + anInt9315++; + int i = Component279.countChar(4, string, c); + String[] strings = new String[i - -1]; + int i_37_ = 0; + int i_38_ = 0; + if (bool != true) method3114((byte) -76); + for (int i_39_ = 0; i_39_ < i; i_39_++) { + int i_40_; + for (i_40_ = i_38_; string.charAt(i_40_) != c; i_40_++) { + /* empty */ + } + strings[i_37_++] = string.substring(i_38_, i_40_); + i_38_ = 1 + i_40_; + } + strings[i] = string.substring(i_38_); + return strings; + } + + public static void method3114(byte i) { + aClass348_Sub22Array9319 = null; + if (i > -63) method3114((byte) -91); + } + + public DefinitionSub23() { + super(0, true); + anInt9310 = 1024; + anInt9314 = 1024; + anInt9318 = 0; + anInt9317 = 1024; + anInt9320 = 2048; + anInt9322 = 409; + anInt9323 = 819; + } + + final int[] getMonochromeOutput(int i, int i_41_) { + anInt9321++; + if (i_41_ != 255) anInt9312 = 113; + int[] is = this.imageCache.getPixels(0, i); + if (this.imageCache.cacheMiss) { + int[][] is_42_ = this.imageCache.getAllBuffers((byte) 16); + int i_43_ = 0; + int i_44_ = 0; + int i_45_ = 0; + int i_46_ = 0; + int i_47_ = 0; + boolean bool = true; + boolean bool_48_ = true; + int i_49_ = 0; + int i_50_ = 0; + int i_51_ = anInt9317 * DefinitionSub6.anInt9139 >> 12; + int i_52_ = DefinitionSub6.anInt9139 * anInt9320 >> 12; + int i_53_ = anInt9322 * ShaderProgramSub2.anInt6212 >> 12; + int i_54_ = ShaderProgramSub2.anInt6212 * anInt9323 >> 12; + if (i_54_ <= 1) return is_42_[i]; + anInt9306 = DefinitionSub6.anInt9139 / 8 * anInt9311 >> 12; + int i_55_ = 1 + DefinitionSub6.anInt9139 / i_51_; + int[][] is_56_ = new int[i_55_][3]; + int[][] is_57_ = new int[i_55_][3]; + Random random = new Random(anInt9318); + for (; ; ) { + int i_58_ = i_51_ + DisplayModeManagerContainer77.method1097((byte) 106, i_52_ - i_51_, random); + int i_59_ = (DisplayModeManagerContainer77.method1097((byte) 117, -i_53_ + i_54_, random) + i_53_); + int i_60_ = i_46_ + i_58_; + if (i_60_ > DefinitionSub6.anInt9139) { + i_60_ = DefinitionSub6.anInt9139; + i_58_ = DefinitionSub6.anInt9139 - i_46_; + } + int i_61_; + if (bool_48_) i_61_ = 0; + else { + int i_62_ = i_47_; + int[] is_63_ = is_57_[i_47_]; + int i_64_ = 0; + int i_65_ = i_43_ + i_60_; + if (i_65_ < 0) i_65_ += DefinitionSub6.anInt9139; + if (i_65_ > DefinitionSub6.anInt9139) i_65_ -= DefinitionSub6.anInt9139; + for (; ; ) { + int[] is_66_ = is_57_[i_62_]; + if (i_65_ >= is_66_[0] && is_66_[1] >= i_65_) break; + if (i_49_ <= ++i_62_) i_62_ = 0; + i_64_++; + } + i_61_ = is_63_[2]; + if (i_62_ != i_47_) { + int i_67_ = i_46_ - -i_43_; + if (i_67_ < 0) i_67_ += DefinitionSub6.anInt9139; + if (DefinitionSub6.anInt9139 < i_67_) i_67_ -= DefinitionSub6.anInt9139; + for (int i_68_ = 1; i_64_ >= i_68_; i_68_++) { + int[] is_69_ = is_57_[(i_68_ + i_47_) % i_49_]; + i_61_ = Math.max(i_61_, is_69_[2]); + } + for (int i_70_ = 0; i_70_ <= i_64_; i_70_++) { + int[] is_71_ = is_57_[(i_47_ - -i_70_) % i_49_]; + int i_72_ = is_71_[2]; + if (i_61_ != i_72_) { + int i_73_ = is_71_[0]; + int i_74_ = is_71_[1]; + int i_75_; + int i_76_; + if (i_67_ >= i_65_) { + if (i_73_ == 0) { + i_75_ = 0; + i_76_ = Math.min(i_65_, i_74_); + } else { + i_75_ = Math.max(i_67_, i_73_); + i_76_ = DefinitionSub6.anInt9139; + } + } else { + i_75_ = Math.max(i_67_, i_73_); + i_76_ = Math.min(i_65_, i_74_); + } + method3112(124, i_61_ - i_72_, is_42_, random, i_45_ + i_75_, i_72_, -i_75_ + i_76_); + } + } + } + i_47_ = i_62_; + } + if (ShaderProgramSub2.anInt6212 >= i_59_ + i_61_) bool = false; + else i_59_ = -i_61_ + ShaderProgramSub2.anInt6212; + if (i_60_ == DefinitionSub6.anInt9139) { + method3112(-59, i_59_, is_42_, random, i_46_ + i_44_, i_61_, i_58_); + if (bool) break; + bool = true; + int[] is_78_ = is_56_[i_50_++]; + is_78_[1] = i_60_; + is_78_[2] = i_59_ + i_61_; + is_78_[0] = i_46_; + int[][] is_79_ = is_57_; + is_57_ = is_56_; + is_56_ = is_79_; + i_49_ = i_50_; + i_45_ = i_44_; + i_50_ = 0; + i_44_ = DisplayModeManagerContainer77.method1097((byte) 113, DefinitionSub6.anInt9139, random); + i_43_ = -i_45_ + i_44_; + i_46_ = 0; + int i_80_ = i_43_; + if (i_80_ < 0) i_80_ += DefinitionSub6.anInt9139; + i_47_ = 0; + if (i_80_ > DefinitionSub6.anInt9139) i_80_ -= DefinitionSub6.anInt9139; + bool_48_ = false; + for (; ; ) { + int[] is_81_ = is_57_[i_47_]; + if (i_80_ >= is_81_[0] && i_80_ <= is_81_[1]) break; + if (i_49_ <= ++i_47_) i_47_ = 0; + } + } else { + int[] is_77_ = is_56_[i_50_++]; + is_77_[1] = i_60_; + is_77_[0] = i_46_; + is_77_[2] = i_59_ + i_61_; + method3112(112, i_59_, is_42_, random, i_46_ + i_44_, i_61_, i_58_); + i_46_ = i_60_; + } + } + } + return is; + } + + static { + anInt9313 = 0; + } +} diff --git a/client/defs/DefinitionSub24.java b/client/defs/DefinitionSub24.java new file mode 100644 index 000000000..9dcc6b546 --- /dev/null +++ b/client/defs/DefinitionSub24.java @@ -0,0 +1,122 @@ +/* DefinitionSub24 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DefinitionSub24 +/** + * RENAMED from `Class348_Sub40_Sub24` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + static Component183 aClass114_9324 = new Component183(85, 4); + private int anInt9325 = 0; + static int anInt9326; + static int anInt9327 = 0; + static int anInt9328; + private int anInt9329 = 10; + static int anInt9330; + static int anInt9331; + private int[] anIntArray9332; + private int[] anIntArray9333; + private int anInt9334 = 2048; + + final int[] getMonochromeOutput(int i, int i_0_) { + if (i_0_ != 255) anIntArray9333 = null; + anInt9328++; + int[] is = this.imageCache.getPixels(0, i); + if (this.imageCache.cacheMiss) { + int i_1_ = Component302.anIntArray6035[i]; + if (anInt9325 == 0) { + int i_7_ = 0; + for (int i_8_ = 0; i_8_ < anInt9329; i_8_++) { + if (i_1_ >= anIntArray9332[i_8_] && (i_1_ < anIntArray9332[i_8_ + 1])) { + if (anIntArray9333[i_8_] > i_1_) i_7_ = 4096; + break; + } + } + Component313.method1579(is, 0, DefinitionSub6.anInt9139, i_7_); + } else { + for (int i_2_ = 0; i_2_ < DefinitionSub6.anInt9139; i_2_++) { + int i_3_ = 0; + int i_4_ = 0; + int i_5_ = RenderableSub6.anIntArray6432[i_2_]; + int i_6_ = anInt9325; + while_197_: + do { + do { + if (i_6_ == 1) { + i_3_ = i_5_; + break while_197_; + } else if (i_6_ != 2) { + if (i_6_ == 3) break; + break while_197_; + } + i_3_ = ((i_5_ + (-4096 - -i_1_) >> 1) + 2048); + break while_197_; + } while (false); + i_3_ = 2048 + (i_5_ - i_1_ >> 1); + } while (false); + for (i_6_ = 0; i_6_ < anInt9329; i_6_++) { + if (i_3_ >= anIntArray9332[i_6_] && i_3_ < anIntArray9332[1 + i_6_]) { + if (i_3_ < anIntArray9333[i_6_]) i_4_ = 4096; + break; + } + } + is[i_2_] = i_4_; + } + } + } + return is; + } + + final void postDecode(int i) { + if (i < 108) method3049(null, -68, -1); + anInt9330++; + method3116((byte) -111); + } + + final void method3049(Buffer class348_sub49, int i, int i_9_) { + anInt9331++; + int i_10_ = i; + while_198_: + do { + do { + if (i_10_ == 0) { + anInt9329 = class348_sub49.readUnsignedByte(255); + break while_198_; + } else if (i_10_ != 1) { + if (i_10_ == 2) break; + break while_198_; + } + anInt9334 = class348_sub49.readUnsignedShort(842397944); + break while_198_; + } while (false); + anInt9325 = class348_sub49.readUnsignedByte(i_9_ ^ 0x79d8); + } while (false); + if (i_9_ != 31015) method3049(null, 38, 1); + } + + public static void method3115(int i) { + if (i <= -72) aClass114_9324 = null; + } + + private final void method3116(byte i) { + anInt9326++; + int i_11_ = 0; + anIntArray9333 = new int[anInt9329 - -1]; + anIntArray9332 = new int[anInt9329 - -1]; + int i_12_ = 4096 / anInt9329; + int i_13_ = i_12_ * anInt9334 >> 12; + for (int i_14_ = 0; anInt9329 > i_14_; i_14_++) { + anIntArray9332[i_14_] = i_11_; + anIntArray9333[i_14_] = i_13_ + i_11_; + i_11_ += i_12_; + } + if (i != -111) anIntArray9332 = null; + anIntArray9332[anInt9329] = 4096; + anIntArray9333[anInt9329] = 4096 - -anIntArray9333[0]; + } + + public DefinitionSub24() { + super(0, true); + } +} diff --git a/client/defs/DefinitionSub25.java b/client/defs/DefinitionSub25.java new file mode 100644 index 000000000..43c27c05b --- /dev/null +++ b/client/defs/DefinitionSub25.java @@ -0,0 +1,83 @@ +/* DefinitionSub25 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DefinitionSub25 +/** + * RENAMED from `Class348_Sub40_Sub25` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + static int anInt9335 = -1; + static int anInt9336; + static int anInt9337; + private int anInt9338 = 0; + private int anInt9339 = 0; + private int anInt9340 = 1365; + static int anInt9341 = 0; + static Component324 aClass150_9342; + private int anInt9343 = 20; + + final void method3049(Buffer class348_sub49, int i, int i_0_) { + if (i_0_ != 31015) method3049(null, 44, 80); + int i_1_ = i; + while_200_: + do { + while_199_: + do { + do { + if (i_1_ == 0) { + anInt9340 = class348_sub49.readUnsignedShort(842397944); + break while_200_; + } else if (i_1_ != 1) { + if (i_1_ != 2) { + if (i_1_ != 3) break while_200_; + } else break; + break while_199_; + } + anInt9343 = class348_sub49.readUnsignedShort(i_0_ + 842366929); + break while_200_; + } while (false); + anInt9339 = class348_sub49.readUnsignedShort(i_0_ + 842366929); + break while_200_; + } while (false); + anInt9338 = class348_sub49.readUnsignedShort(842397944); + } while (false); + anInt9337++; + } + + final int[] getMonochromeOutput(int i, int i_2_) { + anInt9336++; + int[] is = this.imageCache.getPixels(0, i); + if (i_2_ != 255) return null; + if (this.imageCache.cacheMiss) { + for (int i_3_ = 0; i_3_ < DefinitionSub6.anInt9139; i_3_++) { + int i_4_ = anInt9339 + (RenderableSub6.anIntArray6432[i_3_] << 12) / anInt9340; + int i_5_ = anInt9338 + (Component302.anIntArray6035[i] << 12) / anInt9340; + int i_6_ = i_4_; + int i_7_ = i_5_; + int i_8_ = i_4_; + int i_9_ = i_5_; + int i_10_ = i_4_ * i_4_ >> 12; + int i_11_ = i_5_ * i_5_ >> 12; + int i_12_; + for (i_12_ = 0; (i_11_ + i_10_ < 16384 && anInt9343 > i_12_); i_10_ = i_8_ * i_8_ >> 12) { + i_9_ = i_7_ + 2 * (i_9_ * i_8_ >> 12); + i_8_ = i_6_ + i_10_ - i_11_; + i_12_++; + i_11_ = i_9_ * i_9_ >> 12; + } + is[i_3_] = (i_12_ >= anInt9343 - 1 ? 0 : (i_12_ << 12) / anInt9343); + } + } + return is; + } + + public static void method3117(int i) { + aClass150_9342 = null; + if (i < 10) anInt9335 = 113; + } + + public DefinitionSub25() { + super(0, true); + } +} diff --git a/client/defs/DefinitionSub26.java b/client/defs/DefinitionSub26.java new file mode 100644 index 000000000..c0fcb7d95 --- /dev/null +++ b/client/defs/DefinitionSub26.java @@ -0,0 +1,142 @@ +/* DefinitionSub26 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DefinitionSub26 +/** + * RENAMED from `Class348_Sub40_Sub26` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + private int anInt9344 = 4096; + static int anInt9345; + static int anInt9346 = 0; + private int anInt9347 = 4096; + static int anInt9348; + static int anInt9349; + static int anInt9350; + static boolean[] aBooleanArray9351; + static boolean aBoolean9352 = true; + static int anInt9353; + private int anInt9354 = 4096; + static int anInt9355; + + public static void method3118(byte i) { + aBooleanArray9351 = null; + int i_0_ = 37 / ((28 - i) / 61); + } + + static final boolean method3119(int i, int i_1_, int i_2_) { + if (i_1_ <= 39) method3119(-106, 118, -21); + anInt9355++; + return (i & 0xc580) != 0; + } + + final int[][] getColourOutput(int i, int i_3_) { + if (i_3_ != -1564599039) return null; + anInt9353++; + int[][] is = this.imageCacheStore.getPixels(i_3_ + 1564598957, i); + if (this.imageCacheStore.cacheMiss) { + int[][] is_4_ = this.method3039((byte) -60, i, 0); + int[] is_5_ = is_4_[0]; + int[] is_6_ = is_4_[1]; + int[] is_7_ = is_4_[2]; + int[] is_8_ = is[0]; + int[] is_9_ = is[1]; + int[] is_10_ = is[2]; + for (int i_11_ = 0; (i_11_ < DefinitionSub6.anInt9139); i_11_++) { + int i_12_ = is_5_[i_11_]; + int i_13_ = is_7_[i_11_]; + int i_14_ = is_6_[i_11_]; + if (i_13_ != i_12_ || i_13_ != i_14_) { + is_8_[i_11_] = anInt9344; + is_9_[i_11_] = anInt9354; + is_10_[i_11_] = anInt9347; + } else { + is_8_[i_11_] = i_12_ * anInt9344 >> 12; + is_9_[i_11_] = anInt9354 * i_13_ >> 12; + is_10_[i_11_] = anInt9347 * i_14_ >> 12; + } + } + } + return is; + } + + static final void method3120(int i) { + Component37.anInt3931 = 0; + anInt9345++; + int i_15_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -118); + int i_16_ = Component80.aClass348_Sub49_Sub2_3813.readShortAddLittle(-117); + int i_17_ = Component80.aClass348_Sub49_Sub2_3813.readShortLittle(false); + boolean bool = (Component80.aClass348_Sub49_Sub2_3813.readByteInverse((byte) 21) == 1); + + ImageCacheStore.method2554((byte) -45); + DefinitionSub22.method3111(111, i_15_); + int i_18_ = (-Component80.aClass348_Sub49_Sub2_3813.offset + DefinitionSub25.anInt9341) / 16; + Component31.anIntArrayArray5894 = new int[i_18_][4]; + for (int i_19_ = 0; i_19_ < i_18_; i_19_++) { + for (int i_20_ = 0; i_20_ < 4; i_20_++) + Component31.anIntArrayArray5894[i_19_][i_20_] = Component80.aClass348_Sub49_Sub2_3813.readInt((byte) -126); + } + OggUrlStream.aByteArrayArray8996 = new byte[i_18_][]; + Component30.aByteArrayArray1887 = new byte[i_18_][]; + ShaderSub1.anIntArray5192 = new int[i_18_]; + WorldNameText.aByteArrayArray8642 = new byte[i_18_][]; + Applet_Sub1.anIntArray38 = new int[i_18_]; + NodeSub50.aByteArrayArray7212 = null; + r.anIntArray9724 = new int[i_18_]; + ImageCacheStore.anIntArray4031 = null; + DisplayModeManagerContainer322.aByteArrayArray4281 = new byte[i_18_][]; + if (i >= -47) anInt9349 = -54; + DisplayModeManagerContainer61.anIntArray3759 = new int[i_18_]; + OggStreamReader.anIntArray9042 = new int[i_18_]; + i_18_ = 0; + for (int i_21_ = (-(AbstractShaderSub4.anInt7319 >> 4) + i_17_) / 8; i_21_ <= (i_17_ + (AbstractShaderSub4.anInt7319 >> 4)) / 8; i_21_++) { + for (int i_22_ = (i_16_ - (ParametricDefinition.anInt9109 >> 4)) / 8; (i_22_ <= ((ParametricDefinition.anInt9109 >> 4) + i_16_) / 8); i_22_++) { + OggStreamReader.anIntArray9042[i_18_] = i_22_ + (i_21_ << 8); + ShaderSub1.anIntArray5192[i_18_] = SoftwareFallbackShader.aClass45_7382.getGroupId("m" + i_21_ + "_" + i_22_, 0); + Applet_Sub1.anIntArray38[i_18_] = SoftwareFallbackShader.aClass45_7382.getGroupId("l" + i_21_ + "_" + i_22_, 0); + DisplayModeManagerContainer61.anIntArray3759[i_18_] = SoftwareFallbackShader.aClass45_7382.getGroupId("um" + i_21_ + "_" + i_22_, 0); + r.anIntArray9724[i_18_] = SoftwareFallbackShader.aClass45_7382.getGroupId("ul" + i_21_ + "_" + i_22_, 0); + i_18_++; + } + } + NodeSub41.method3157(i_16_, (byte) 123, i_17_, 11, bool); + } + + final void method3049(Buffer class348_sub49, int i, int i_23_) { + do { + try { + int i_24_ = i; + while_201_: + do { + do { + if (i_24_ == 0) { + anInt9344 = class348_sub49.readUnsignedShort(i_23_ + 842366929); + break while_201_; + } else if (i_24_ != 1) { + if (i_24_ == 2) break; + break while_201_; + } + anInt9354 = class348_sub49.readUnsignedShort(842397944); + break while_201_; + } while (false); + anInt9347 = class348_sub49.readUnsignedShort(842397944); + } while (false); + anInt9350++; + if (i_23_ == 31015) break; + method3118((byte) 96); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("uf.F(" + (class348_sub49 != null ? "{...}" : "null") + ',' + i + ',' + i_23_ + ')')); + } + break; + } while (false); + } + + public DefinitionSub26() { + super(1, false); + } + + static { + aBooleanArray9351 = new boolean[8]; + } +} diff --git a/client/defs/DefinitionSub27.java b/client/defs/DefinitionSub27.java new file mode 100644 index 000000000..6b9546863 --- /dev/null +++ b/client/defs/DefinitionSub27.java @@ -0,0 +1,89 @@ +/* DefinitionSub27 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.awt.datatransfer.Clipboard; + +final class DefinitionSub27 +/** + * RENAMED from `Class348_Sub40_Sub27` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + static int anInt9356; + static Clipboard aClipboard9357; + static int anInt9358; + static int anInt9359; + static int anInt9360; + + final int[][] getColourOutput(int i, int i_0_) { + if (i_0_ != -1564599039) return null; + anInt9356++; + int[][] is = this.imageCacheStore.getPixels(-90, i); + if (this.imageCacheStore.cacheMiss) { + int[] is_1_ = this.method3048(i, i_0_ + -2096661920, 2); + int[][] is_2_ = this.method3039((byte) -74, i, 0); + int[][] is_3_ = this.method3039((byte) -58, i, 1); + int[] is_4_ = is[0]; + int[] is_5_ = is[1]; + int[] is_6_ = is[2]; + int[] is_7_ = is_2_[0]; + int[] is_8_ = is_2_[1]; + int[] is_9_ = is_2_[2]; + int[] is_10_ = is_3_[0]; + int[] is_11_ = is_3_[1]; + int[] is_12_ = is_3_[2]; + for (int i_13_ = 0; (i_13_ < DefinitionSub6.anInt9139); i_13_++) { + int i_14_ = is_1_[i_13_]; + if (i_14_ == 4096) { + is_4_[i_13_] = is_7_[i_13_]; + is_5_[i_13_] = is_8_[i_13_]; + is_6_[i_13_] = is_9_[i_13_]; + } else if (i_14_ == 0) { + is_4_[i_13_] = is_10_[i_13_]; + is_5_[i_13_] = is_11_[i_13_]; + is_6_[i_13_] = is_12_[i_13_]; + } else { + int i_15_ = 4096 + -i_14_; + is_4_[i_13_] = (is_10_[i_13_] * i_15_ + is_7_[i_13_] * i_14_ >> 12); + is_5_[i_13_] = (is_11_[i_13_] * i_15_ + is_8_[i_13_] * i_14_ >> 12); + is_6_[i_13_] = (is_9_[i_13_] * i_14_ - -(is_12_[i_13_] * i_15_) >> 12); + } + } + } + return is; + } + + final int[] getMonochromeOutput(int i, int i_16_) { + if (i_16_ != 255) return null; + anInt9359++; + int[] is = this.imageCache.getPixels(0, i); + if (this.imageCache.cacheMiss) { + int[] is_17_ = this.method3048(i, i_16_ ^ 0x25c5979e, 0); + int[] is_18_ = this.method3048(i, 633706337, 1); + int[] is_19_ = this.method3048(i, i_16_ + 633706082, 2); + for (int i_20_ = 0; DefinitionSub6.anInt9139 > i_20_; i_20_++) { + int i_21_ = is_19_[i_20_]; + if (i_21_ != 4096) { + if (i_21_ == 0) is[i_20_] = is_18_[i_20_]; + else is[i_20_] = (i_21_ * is_17_[i_20_] - -(is_18_[i_20_] * (-i_21_ + 4096)) >> 12); + } else is[i_20_] = is_17_[i_20_]; + } + } + return is; + } + + public static void method3121(byte i) { + aClipboard9357 = null; + if (i <= 21) aClipboard9357 = null; + } + + public DefinitionSub27() { + super(3, false); + } + + final void method3049(Buffer class348_sub49, int i, int i_22_) { + anInt9358++; + if (i_22_ != 31015) anInt9360 = -16; + if (i == 0) this.use2dImageCache = class348_sub49.readUnsignedByte(255) == 1; + } +} diff --git a/client/defs/DefinitionSub28.java b/client/defs/DefinitionSub28.java new file mode 100644 index 000000000..3c64348aa --- /dev/null +++ b/client/defs/DefinitionSub28.java @@ -0,0 +1,144 @@ +/* DefinitionSub28 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.util.Random; + +final class DefinitionSub28 +/** + * RENAMED from `Class348_Sub40_Sub28` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + static int anInt9361; + private int anInt9362; + static int anInt9363; + private int anInt9364 = 4096; + static CacheStore aClass45_9365; + static int anInt9366; + private int anInt9367; + private int anInt9368 = 16; + private int anInt9369 = 0; + static int anInt9370; + + final void postDecode(int i) { + anInt9363++; + Component7.method1605(26188); + if (i < 108) method3122((byte) -111); + } + + static final NamedInteger[] method3122(byte i) { + if (i < 86) aClass45_9365 = null; + anInt9361++; + return (new NamedInteger[]{Component326.LIVE, WaterShaderSub8.WTRC, AssetCacheLoader.WTQA, Component83.WTWIP, DisplayModeManagerContainer154.LOCAL, DisplayModeManagerContainer173.WTI}); + } + + public static void method3123(int i) { + aClass45_9365 = null; + if (i != 0) method3122((byte) -98); + } + + final void method3049(Buffer class348_sub49, int i, int i_0_) { + anInt9370++; + if (i_0_ != 31015) anInt9364 = -29; + int i_1_ = i; + while_204_: + do { + while_203_: + do { + while_202_: + do { + do { + if (i_1_ == 0) { + anInt9367 = class348_sub49.readUnsignedByte(255); + return; + } else if (i_1_ != 1) { + if (i_1_ != 2) { + if (i_1_ != 3) { + if (i_1_ == 4) break while_203_; + break while_204_; + } + } else break; + break while_202_; + } + anInt9362 = class348_sub49.readUnsignedShort(842397944); + return; + } while (false); + anInt9368 = class348_sub49.readUnsignedByte(255); + return; + } while (false); + anInt9369 = class348_sub49.readUnsignedShort(842397944); + return; + } while (false); + anInt9364 = class348_sub49.readUnsignedShort(842397944); + } while (false); + } + + final int[] getMonochromeOutput(int i, int i_2_) { + anInt9366++; + if (i_2_ != 255) postDecode(-48); + int[] is = this.imageCache.getPixels(0, i); + if (this.imageCache.cacheMiss) { + int i_3_ = anInt9364 >> 1; + int[][] is_4_ = this.imageCache.getAllBuffers((byte) 16); + Random random = new Random(anInt9367); + for (int i_5_ = 0; anInt9362 > i_5_; i_5_++) { + int i_6_ = (anInt9364 > 0 ? anInt9369 + DisplayModeManagerContainer77.method1097((byte) 92, anInt9364, random) + -i_3_ : anInt9369); + i_6_ = i_6_ >> 4 & 0xff; + int i_7_ = DisplayModeManagerContainer77.method1097((byte) 81, DefinitionSub6.anInt9139, random); + int i_8_ = DisplayModeManagerContainer77.method1097((byte) 123, ShaderProgramSub2.anInt6212, random); + int i_9_ = i_7_ - -(anInt9368 * Component296.anIntArray4654[i_6_] >> 12); + int i_10_ = ((Component366.anIntArray3068[i_6_] * anInt9368 >> 12) + i_8_); + int i_11_ = -i_8_ + i_10_; + int i_12_ = -i_7_ + i_9_; + if (i_12_ != 0 || i_11_ != 0) { + if (i_11_ < 0) i_11_ = -i_11_; + if (i_12_ < 0) i_12_ = -i_12_; + boolean bool = i_12_ < i_11_; + if (bool) { + int i_13_ = i_7_; + int i_14_ = i_9_; + i_7_ = i_8_; + i_8_ = i_13_; + i_9_ = i_10_; + i_10_ = i_14_; + } + if (i_9_ < i_7_) { + int i_15_ = i_7_; + i_7_ = i_9_; + int i_16_ = i_8_; + i_9_ = i_15_; + i_8_ = i_10_; + i_10_ = i_16_; + } + int i_17_ = i_8_; + int i_18_ = -i_7_ + i_9_; + int i_19_ = -i_8_ + i_10_; + int i_20_ = -i_18_ / 2; + int i_21_ = 2048 / i_18_; + int i_22_ = 1024 - (DisplayModeManagerContainer77.method1097((byte) 90, 4096, random) >> 2); + if (i_19_ < 0) i_19_ = -i_19_; + int i_23_ = i_10_ <= i_8_ ? -1 : 1; + for (int i_24_ = i_7_; i_24_ < i_9_; i_24_++) { + int i_25_ = (i_24_ - i_7_) * i_21_ + (i_22_ + 1024); + int i_26_ = Component287.anInt6076 & i_24_; + int i_27_ = i_17_ & DisplayModeManagerContainer356.anInt6325; + if (bool) is_4_[i_27_][i_26_] = i_25_; + else is_4_[i_26_][i_27_] = i_25_; + i_20_ += i_19_; + if (i_20_ > 0) { + i_17_ -= -i_23_; + i_20_ = -i_18_ + i_20_; + } + } + } + } + } + return is; + } + + public DefinitionSub28() { + super(0, true); + anInt9362 = 2000; + anInt9367 = 0; + } +} diff --git a/client/defs/DefinitionSub29.java b/client/defs/DefinitionSub29.java new file mode 100644 index 000000000..a78b97407 --- /dev/null +++ b/client/defs/DefinitionSub29.java @@ -0,0 +1,458 @@ +/* DefinitionSub29 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DefinitionSub29 +/** + * RENAMED from `Class348_Sub40_Sub29` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + static int anInt9371; + static int anInt9372 = 1; + static int anInt9373; + private int anInt9374; + private int[] anIntArray9375; + static int anInt9376; + static int anInt9377; + static int anInt9378; + private int anInt9379; + private int anInt9380 = -1; + static int anInt9381; + static int anInt9382; + + final int[][] getColourOutput(int i, int i_0_) { + if (i_0_ != -1564599039) return null; + anInt9378++; + int[][] is = this.imageCacheStore.getPixels(-94, i); + if (this.imageCacheStore.cacheMiss) { + int i_1_ = (anInt9374 * (ShaderProgramSub2.anInt6212 == anInt9379 ? i : anInt9379 * i / ShaderProgramSub2.anInt6212)); + int[] is_2_ = is[0]; + int[] is_3_ = is[1]; + int[] is_4_ = is[2]; + if (DefinitionSub6.anInt9139 == anInt9374) { + for (int i_8_ = 0; (DefinitionSub6.anInt9139 > i_8_); i_8_++) { + int i_9_ = anIntArray9375[i_1_++]; + is_4_[i_8_] = GpsOverlay.bitwiseAnd(255, i_9_) << 4; + is_3_[i_8_] = GpsOverlay.bitwiseAnd(i_9_ >> 4, 4080); + is_2_[i_8_] = GpsOverlay.bitwiseAnd(16711680, i_9_) >> 12; + } + } else { + for (int i_5_ = 0; i_5_ < DefinitionSub6.anInt9139; i_5_++) { + int i_6_ = anInt9374 * i_5_ / DefinitionSub6.anInt9139; + int i_7_ = anIntArray9375[i_6_ + i_1_]; + is_4_[i_5_] = GpsOverlay.bitwiseAnd(i_7_, 255) << 4; + is_3_[i_5_] = GpsOverlay.bitwiseAnd(65280, i_7_) >> 4; + is_2_[i_5_] = GpsOverlay.bitwiseAnd(i_7_ >> 12, 4080); + } + } + } + return is; + } + + final void initImageCache(int i, int i_10_, int i_11_) { + super.initImageCache(i, i_10_, i_11_); + anInt9382++; + if (anInt9380 >= 0 && SpriteAtlasShader.aD6247 != null) { + int i_12_ = (!(SpriteAtlasShader.aD6247.method3(anInt9380, -6662).aBoolean199) ? 128 : 64); + anIntArray9375 = SpriteAtlasShader.aD6247.method5(false, anInt9380, 1.0F, i_12_, i_12_, -123); + anInt9379 = i_12_; + anInt9374 = i_12_; + } + } + + public DefinitionSub29() { + super(0, false); + } + + final void clearImageCache(byte i) { + if (i >= -102) anInt9374 = -104; + anInt9373++; + super.clearImageCache((byte) -107); + anIntArray9375 = null; + } + + static final boolean method3124(int i, byte i_13_, int i_14_) { + anInt9371++; + if (i_13_ > -55) method3124(-76, (byte) -110, -59); + return (i_14_ & 0x40000) != 0 | Component179.method2985(-31735, i, i_14_) || PacketReader.method3200(i_14_, i, (byte) -120); + } + + final void method3049(Buffer class348_sub49, int i, int i_15_) { + if (i_15_ == 31015) { + if (i == 0) anInt9380 = class348_sub49.readUnsignedShort(842397944); + anInt9376++; + } + } + + static final boolean method3125(int i, int i_16_, int i_17_, int i_18_, int i_19_, byte i_20_, int i_21_, int i_22_, int i_23_, int i_24_) { + anInt9377++; + if (i_16_ > 2000 || i_21_ > 2000 || i_24_ > 2000 || i_23_ > 2000 || i_17_ > 2000 || i > 2000) return false; + if (i_16_ < -2000 || i_21_ < -2000 || i_24_ < -2000 || i_23_ < -2000 || i_17_ < -2000 || i < -2000) return false; + if (Component360.anInt4319 == 2) { + int i_25_ = i_23_ + i_16_ * Component314.anInt3872; + if (i_25_ >= 0 && DisplayModeManagerContainer194.anIntArray5091.length > i_25_ && DisplayModeManagerContainer194.anIntArray5091[i_25_] > -38400 + (i_22_ << 8)) return false; + i_25_ = i_17_ + i_21_ * Component314.anInt3872; + if (i_25_ >= 0 && DisplayModeManagerContainer194.anIntArray5091.length > i_25_ && ((i_19_ << 8) + -38400 < DisplayModeManagerContainer194.anIntArray5091[i_25_])) return false; + i_25_ = i + i_24_ * Component314.anInt3872; + if (i_25_ >= 0 && DisplayModeManagerContainer194.anIntArray5091.length > i_25_ && (DisplayModeManagerContainer194.anIntArray5091[i_25_] > (i_18_ << 8) - 38400)) return false; + } + int i_26_ = -i_23_ + i_17_; + int i_27_ = i_21_ - i_16_; + int i_28_ = -i_23_ + i; + int i_29_ = -i_16_ + i_24_; + int i_30_ = -i_22_ + i_19_; + if (i_16_ < i_21_ && i_24_ > i_24_) { + i_16_--; + if (i_24_ < i_21_) i_21_++; + else i_24_++; + } else if (i_21_ >= i_24_) { + i_24_--; + if (i_21_ < i_16_) i_16_++; + else i_21_++; + } else { + i_21_--; + if (i_16_ > i_24_) i_16_++; + else i_24_++; + } + int i_31_ = -i_22_ + i_18_; + int i_32_ = 0; + if (i_21_ != i_16_) i_32_ = (i_17_ - i_23_ << 12) / (i_21_ - i_16_); + int i_33_ = 0; + if (i_21_ != i_24_) i_33_ = (-i_17_ + i << 12) / (i_24_ + -i_21_); + if (i_20_ >= -7) anInt9372 = 8; + int i_34_ = 0; + if (i_24_ != i_16_) i_34_ = (i_23_ + -i << 12) / (i_16_ - i_24_); + int i_35_ = -(i_27_ * i_28_) + i_29_ * i_26_; + if (i_35_ == 0) return false; + int i_36_ = (-(i_31_ * i_27_) + i_30_ * i_29_ << 8) / i_35_; + int i_37_ = (i_26_ * i_31_ + -(i_30_ * i_28_) << 8) / i_35_; + if (i_16_ > i_21_ || i_24_ < i_16_) { + if (i_24_ < i_21_) { + if (Component328.anInt1480 <= i_24_) return true; + i_18_ = -(i_36_ * i) + ((i_18_ << 8) - -i_36_); + if (Component328.anInt1480 < i_16_) i_16_ = Component328.anInt1480; + if (Component328.anInt1480 < i_21_) i_21_ = Component328.anInt1480; + if (i_21_ > i_16_) { + i_17_ = i <<= -1549996884; + i_23_ <<= 869809292; + if (i_24_ < 0) { + i_18_ -= i_24_ * i_37_; + i -= i_34_ * i_24_; + i_17_ -= i_24_ * i_33_; + i_24_ = 0; + } + if (i_16_ < 0) { + i_23_ -= i_16_ * i_32_; + i_16_ = 0; + } + if (i_34_ > i_33_) { + i_21_ -= i_16_; + i_16_ -= i_24_; + i_24_ *= Component314.anInt3872; + while (--i_16_ >= 0) { + if (!DisplayModeManagerContainer154.method771(i_36_, (byte) -25, i_18_, 0, 1 + (i >> 12), (i_17_ >> 12) - 1, DisplayModeManagerContainer194.anIntArray5091, i_24_)) return false; + i_24_ += Component314.anInt3872; + i += i_34_; + i_17_ += i_33_; + i_18_ += i_37_; + } + while (--i_21_ >= 0) { + if (!DisplayModeManagerContainer154.method771(i_36_, (byte) -25, i_18_, 0, 1 + (i_23_ >> 12), -1 + (i_17_ >> 12), DisplayModeManagerContainer194.anIntArray5091, i_24_)) return false; + i_24_ += Component314.anInt3872; + i_23_ += i_32_; + i_18_ += i_37_; + i_17_ += i_33_; + } + return true; + } + i_21_ -= i_16_; + i_16_ -= i_24_; + i_24_ *= Component314.anInt3872; + while (--i_16_ >= 0) { + if (!DisplayModeManagerContainer154.method771(i_36_, (byte) -25, i_18_, 0, (i_17_ >> 12) + 1, -1 + (i >> 12), DisplayModeManagerContainer194.anIntArray5091, i_24_)) return false; + i_18_ += i_37_; + i_17_ += i_33_; + i_24_ += Component314.anInt3872; + i += i_34_; + } + while (--i_21_ >= 0) { + if (!DisplayModeManagerContainer154.method771(i_36_, (byte) -25, i_18_, 0, (i_17_ >> 12) - -1, (i_23_ >> 12) - 1, DisplayModeManagerContainer194.anIntArray5091, i_24_)) return false; + i_18_ += i_37_; + i_17_ += i_33_; + i_24_ += Component314.anInt3872; + i_23_ += i_32_; + } + return true; + } + i_23_ = i <<= -384535508; + if (i_24_ < 0) { + i_23_ -= i_33_ * i_24_; + i -= i_34_ * i_24_; + i_18_ -= i_24_ * i_37_; + i_24_ = 0; + } + i_17_ <<= 1142396620; + if (i_21_ < 0) { + i_17_ -= i_21_ * i_32_; + i_21_ = 0; + } + if (i_33_ >= i_34_) { + i_16_ -= i_21_; + i_21_ -= i_24_; + i_24_ *= Component314.anInt3872; + while (--i_21_ >= 0) { + if (!DisplayModeManagerContainer154.method771(i_36_, (byte) -25, i_18_, 0, (i_23_ >> 12) - -1, (i >> 12) - 1, DisplayModeManagerContainer194.anIntArray5091, i_24_)) return false; + i_18_ += i_37_; + i_24_ += Component314.anInt3872; + i_23_ += i_33_; + i += i_34_; + } + while (--i_16_ >= 0) { + if (!DisplayModeManagerContainer154.method771(i_36_, (byte) -25, i_18_, 0, (i_17_ >> 12) - -1, (i >> 12) + -1, DisplayModeManagerContainer194.anIntArray5091, i_24_)) return false; + i += i_34_; + i_17_ += i_32_; + i_18_ += i_37_; + i_24_ += Component314.anInt3872; + } + return true; + } + i_16_ -= i_21_; + i_21_ -= i_24_; + i_24_ = Component314.anInt3872 * i_24_; + while (--i_21_ >= 0) { + if (!DisplayModeManagerContainer154.method771(i_36_, (byte) -25, i_18_, 0, 1 + (i >> 12), -1 + (i_23_ >> 12), DisplayModeManagerContainer194.anIntArray5091, i_24_)) return false; + i += i_34_; + i_24_ += Component314.anInt3872; + i_23_ += i_33_; + i_18_ += i_37_; + } + while (--i_16_ >= 0) { + if (!DisplayModeManagerContainer154.method771(i_36_, (byte) -25, i_18_, 0, (i >> 12) - -1, -1 + (i_17_ >> 12), DisplayModeManagerContainer194.anIntArray5091, i_24_)) return false; + i_18_ += i_37_; + i_17_ += i_32_; + i_24_ += Component314.anInt3872; + i += i_34_; + } + return true; + } + if (Component328.anInt1480 <= i_21_) return true; + i_19_ = i_36_ + -(i_17_ * i_36_) + (i_19_ << 8); + if (Component328.anInt1480 < i_24_) i_24_ = Component328.anInt1480; + if (Component328.anInt1480 < i_16_) i_16_ = Component328.anInt1480; + if (i_24_ >= i_16_) { + i = i_17_ <<= 1841711244; + i_23_ <<= -258927156; + if (i_21_ < 0) { + i -= i_32_ * i_21_; + i_19_ -= i_21_ * i_37_; + i_17_ -= i_33_ * i_21_; + i_21_ = 0; + } + if (i_16_ < 0) { + i_23_ -= i_34_ * i_16_; + i_16_ = 0; + } + if (i_32_ >= i_33_) { + i_24_ -= i_16_; + i_16_ -= i_21_; + i_21_ = Component314.anInt3872 * i_21_; + while (--i_16_ >= 0) { + if (!DisplayModeManagerContainer154.method771(i_36_, (byte) -25, i_19_, 0, (i >> 12) - -1, (i_17_ >> 12) - 1, DisplayModeManagerContainer194.anIntArray5091, i_21_)) return false; + i_17_ += i_33_; + i_19_ += i_37_; + i_21_ += Component314.anInt3872; + i += i_32_; + } + while (--i_24_ >= 0) { + if (!DisplayModeManagerContainer154.method771(i_36_, (byte) -25, i_19_, 0, (i_23_ >> 12) - -1, -1 + (i_17_ >> 12), DisplayModeManagerContainer194.anIntArray5091, i_21_)) return false; + i_19_ += i_37_; + i_21_ += Component314.anInt3872; + i_17_ += i_33_; + i_23_ += i_34_; + } + return true; + } + i_24_ -= i_16_; + i_16_ -= i_21_; + i_21_ = Component314.anInt3872 * i_21_; + while (--i_16_ >= 0) { + if (!DisplayModeManagerContainer154.method771(i_36_, (byte) -25, i_19_, 0, 1 + (i_17_ >> 12), (i >> 12) - 1, DisplayModeManagerContainer194.anIntArray5091, i_21_)) return false; + i_21_ += Component314.anInt3872; + i_17_ += i_33_; + i_19_ += i_37_; + i += i_32_; + } + while (--i_24_ >= 0) { + if (!DisplayModeManagerContainer154.method771(i_36_, (byte) -25, i_19_, 0, 1 + (i_17_ >> 12), (i_23_ >> 12) - 1, DisplayModeManagerContainer194.anIntArray5091, i_21_)) return false; + i_17_ += i_33_; + i_23_ += i_34_; + i_19_ += i_37_; + i_21_ += Component314.anInt3872; + } + return true; + } + i_23_ = i_17_ <<= -575323604; + i <<= 1434108396; + if (i_21_ < 0) { + i_23_ -= i_32_ * i_21_; + i_17_ -= i_21_ * i_33_; + i_19_ -= i_37_ * i_21_; + i_21_ = 0; + } + if (i_24_ < 0) { + i -= i_34_ * i_24_; + i_24_ = 0; + } + if (i_24_ != i_21_ && i_33_ > i_32_ || (i_24_ == i_21_ && i_32_ > i_34_)) { + i_16_ -= i_24_; + i_24_ -= i_21_; + i_21_ = Component314.anInt3872 * i_21_; + while (--i_24_ >= 0) { + if (!DisplayModeManagerContainer154.method771(i_36_, (byte) -25, i_19_, 0, (i_17_ >> 12) - -1, -1 + (i_23_ >> 12), DisplayModeManagerContainer194.anIntArray5091, i_21_)) return false; + i_23_ += i_32_; + i_19_ += i_37_; + i_21_ += Component314.anInt3872; + i_17_ += i_33_; + } + while (--i_16_ >= 0) { + if (!DisplayModeManagerContainer154.method771(i_36_, (byte) -25, i_19_, 0, (i >> 12) - -1, -1 + (i_23_ >> 12), DisplayModeManagerContainer194.anIntArray5091, i_21_)) return false; + i_23_ += i_32_; + i += i_34_; + i_19_ += i_37_; + i_21_ += Component314.anInt3872; + } + return true; + } + i_16_ -= i_24_; + i_24_ -= i_21_; + i_21_ = Component314.anInt3872 * i_21_; + while (--i_24_ >= 0) { + if (!DisplayModeManagerContainer154.method771(i_36_, (byte) -25, i_19_, 0, (i_23_ >> 12) - -1, (i_17_ >> 12) - 1, DisplayModeManagerContainer194.anIntArray5091, i_21_)) return false; + i_17_ += i_33_; + i_23_ += i_32_; + i_21_ += Component314.anInt3872; + i_19_ += i_37_; + } + while (--i_16_ >= 0) { + if (!DisplayModeManagerContainer154.method771(i_36_, (byte) -25, i_19_, 0, (i_23_ >> 12) - -1, -1 + (i >> 12), DisplayModeManagerContainer194.anIntArray5091, i_21_)) return false; + i_19_ += i_37_; + i_21_ += Component314.anInt3872; + i_23_ += i_32_; + i += i_34_; + } + return true; + } + if (i_16_ >= Component328.anInt1480) return true; + i_22_ = (i_22_ << 8) - (i_23_ * i_36_ + -i_36_); + if (Component328.anInt1480 < i_24_) i_24_ = Component328.anInt1480; + if (Component328.anInt1480 < i_21_) i_21_ = Component328.anInt1480; + if (i_24_ > i_21_) { + i = i_23_ <<= 1361045260; + if (i_16_ < 0) { + i_23_ -= i_32_ * i_16_; + i_22_ -= i_16_ * i_37_; + i -= i_16_ * i_34_; + i_16_ = 0; + } + i_17_ <<= 1453497388; + if (i_21_ < 0) { + i_17_ -= i_21_ * i_33_; + i_21_ = 0; + } + if (i_21_ != i_16_ && i_32_ > i_34_ || (i_16_ == i_21_ && i_34_ > i_33_)) { + i_24_ -= i_21_; + i_21_ -= i_16_; + i_16_ *= Component314.anInt3872; + while (--i_21_ >= 0) { + if (!DisplayModeManagerContainer154.method771(i_36_, (byte) -25, i_22_, 0, 1 + (i_23_ >> 12), -1 + (i >> 12), DisplayModeManagerContainer194.anIntArray5091, i_16_)) return false; + i_22_ += i_37_; + i_16_ += Component314.anInt3872; + i_23_ += i_32_; + i += i_34_; + } + while (--i_24_ >= 0) { + if (!DisplayModeManagerContainer154.method771(i_36_, (byte) -25, i_22_, 0, 1 + (i_17_ >> 12), (i >> 12) + -1, DisplayModeManagerContainer194.anIntArray5091, i_16_)) return false; + i_17_ += i_33_; + i += i_34_; + i_22_ += i_37_; + i_16_ += Component314.anInt3872; + } + return true; + } + i_24_ -= i_21_; + i_21_ -= i_16_; + i_16_ *= Component314.anInt3872; + while (--i_21_ >= 0) { + if (!DisplayModeManagerContainer154.method771(i_36_, (byte) -25, i_22_, 0, 1 + (i >> 12), (i_23_ >> 12) + -1, DisplayModeManagerContainer194.anIntArray5091, i_16_)) return false; + i_16_ += Component314.anInt3872; + i_22_ += i_37_; + i += i_34_; + i_23_ += i_32_; + } + while (--i_24_ >= 0) { + if (!DisplayModeManagerContainer154.method771(i_36_, (byte) -25, i_22_, 0, (i >> 12) - -1, -1 + (i_17_ >> 12), DisplayModeManagerContainer194.anIntArray5091, i_16_)) return false; + i_17_ += i_33_; + i_16_ += Component314.anInt3872; + i_22_ += i_37_; + i += i_34_; + } + return true; + } + i_17_ = i_23_ <<= 1488621804; + if (i_16_ < 0) { + i_17_ -= i_34_ * i_16_; + i_22_ -= i_16_ * i_37_; + i_23_ -= i_32_ * i_16_; + i_16_ = 0; + } + i <<= -1533082100; + if (i_24_ < 0) { + i -= i_24_ * i_33_; + i_24_ = 0; + } + if ((i_16_ == i_24_ || i_32_ <= i_34_) && (i_24_ != i_16_ || i_32_ >= i_33_)) { + i_21_ -= i_24_; + i_24_ -= i_16_; + i_16_ = Component314.anInt3872 * i_16_; + while (--i_24_ >= 0) { + if (!DisplayModeManagerContainer154.method771(i_36_, (byte) -25, i_22_, 0, 1 + (i_17_ >> 12), -1 + (i_23_ >> 12), DisplayModeManagerContainer194.anIntArray5091, i_16_)) return false; + i_17_ += i_34_; + i_23_ += i_32_; + i_22_ += i_37_; + i_16_ += Component314.anInt3872; + } + while (--i_21_ >= 0) { + if (!DisplayModeManagerContainer154.method771(i_36_, (byte) -25, i_22_, 0, (i >> 12) - -1, -1 + (i_23_ >> 12), DisplayModeManagerContainer194.anIntArray5091, i_16_)) return false; + i_23_ += i_32_; + i_22_ += i_37_; + i += i_33_; + i_16_ += Component314.anInt3872; + } + return true; + } + i_21_ -= i_24_; + i_24_ -= i_16_; + i_16_ *= Component314.anInt3872; + while (--i_24_ >= 0) { + if (!DisplayModeManagerContainer154.method771(i_36_, (byte) -25, i_22_, 0, 1 + (i_23_ >> 12), -1 + (i_17_ >> 12), DisplayModeManagerContainer194.anIntArray5091, i_16_)) return false; + i_16_ += Component314.anInt3872; + i_23_ += i_32_; + i_22_ += i_37_; + i_17_ += i_34_; + } + while (--i_21_ >= 0) { + if (!DisplayModeManagerContainer154.method771(i_36_, (byte) -25, i_22_, 0, (i_23_ >> 12) - -1, (i >> 12) - 1, DisplayModeManagerContainer194.anIntArray5091, i_16_)) return false; + i_16_ += Component314.anInt3872; + i += i_33_; + i_22_ += i_37_; + i_23_ += i_32_; + } + return true; + } + + final int getOutputColourType(int i) { + if (i != -1) anInt9379 = 10; + anInt9381++; + return anInt9380; + } +} diff --git a/client/defs/DefinitionSub30.java b/client/defs/DefinitionSub30.java new file mode 100644 index 000000000..2780be333 --- /dev/null +++ b/client/defs/DefinitionSub30.java @@ -0,0 +1,277 @@ +/* DefinitionSub30 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DefinitionSub30 +/** + * RENAMED from `Class348_Sub40_Sub30` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + /** Number of entries in the friend parallel arrays. */ + static int friendCount = 0; + static int anInt9384; + static int anInt9385 = 0; + private int anInt9386; + static int anInt9387; + static int anInt9388; + private int anInt9389; + private int anInt9390 = 0; + static int anInt9391; + private int anInt9392; + static int anInt9393; + static int anInt9394; + static int anInt9395; + private int anInt9396; + static int anInt9397; + private int anInt9398 = 0; + static int anInt9399 = -1; + private int anInt9400; + private int anInt9401; + private int anInt9402 = 0; + static boolean aBoolean9403 = false; + + static final void method3126(byte i) { + if (i != 98) anInt9388 = 46; + NodeCache.aHa1098.method3700(Component98.aFloat5945, NodeSub3.aFloat6586, Component209.aFloat3462); + anInt9387++; + } + + public DefinitionSub30() { + super(1, false); + } + + static final RSARequest method3127(int i) { + anInt9395++; + if (i != 2681) aBoolean9403 = true; + RSARequest class348_sub42_sub15 = ((RSARequest) AbstractShaderSub4.aClass107_7325.first(-47)); + if (class348_sub42_sub15 != null) { + class348_sub42_sub15.unlink((byte) 81); + class348_sub42_sub15.unlink(true); + return class348_sub42_sub15; + } + do { + class348_sub42_sub15 = (RSARequest) BufferCacheSub2.aClass107_8241.first(-87); + if (class348_sub42_sub15 == null) return null; + if (Component240.currentTimeMillis(-59) < class348_sub42_sub15.method3250((byte) -51)) return null; + class348_sub42_sub15.unlink((byte) 113); + class348_sub42_sub15.unlink(true); + } while ((~0x7fffffffffffffffL & class348_sub42_sub15.accessAge) == 0L); + return class348_sub42_sub15; + } + + static final void method3128(int i, String string) { + do { + try { + anInt9391++; + if (string != null) { + if (friendCount >= 200 && !DisplayModeManagerContainer105.aBoolean4888 || friendCount >= 200) { + DisplayModeManagerContainer213.method544((FriendsIgnoreList.aClass274_3493.getLocalized(ObjectDeserializer.languageId, 544)), false, 4); + String string_0_ = FriendsIgnoreList.aClass274_3494.getLocalized(ObjectDeserializer.languageId, 544); + if (string_0_ != null) DisplayModeManagerContainer213.method544(string_0_, false, 4); + } else { + String string_1_ = DebugPanicSub1.method2127(2, string); + if (string_1_ != null) { + for (int i_2_ = 0; (friendCount > i_2_); i_2_++) { + String string_3_ = (DebugPanicSub1.method2127(2, Component178.friendNames[i_2_])); + if (string_3_ != null && string_3_.equals(string_1_)) { + DisplayModeManagerContainer213.method544((string + (FriendsIgnoreList.aClass274_3521.getLocalized((ObjectDeserializer.languageId), 544))), false, 4); + return; + } + if (ShaderProgramSub2.friendFormerNames[i_2_] != null) { + String string_4_ = (DebugPanicSub1.method2127(2, (ShaderProgramSub2.friendFormerNames[i_2_]))); + if (string_4_ != null && string_4_.equals(string_1_)) { + DisplayModeManagerContainer213.method544((string + (FriendsIgnoreList.aClass274_3521.getLocalized(ObjectDeserializer.languageId, 544))), false, 4); + return; + } + } + } + for (int i_5_ = 0; i_5_ < MenuEntry.ignoreCount; i_5_++) { + String string_6_ = (DebugPanicSub1.method2127(2, Component44.ignoreNames[i_5_])); + if (string_6_ != null && string_6_.equals(string_1_)) { + DisplayModeManagerContainer213.method544(((FriendsIgnoreList.aClass274_3526.getLocalized(ObjectDeserializer.languageId, 544)) + string + (FriendsIgnoreList.aClass274_3527.getLocalized(ObjectDeserializer.languageId, 544))), false, 4); + return; + } + if (DefinitionSub21.ignoreLastNames[i_5_] != null) { + String string_7_ = (DebugPanicSub1.method2127(2, (DefinitionSub21.ignoreLastNames[i_5_]))); + if (string_7_ != null && string_7_.equals(string_1_)) { + DisplayModeManagerContainer213.method544(((FriendsIgnoreList.aClass274_3526.getLocalized(ObjectDeserializer.languageId, 544)) + string + (FriendsIgnoreList.aClass274_3527.getLocalized(ObjectDeserializer.languageId, 544))), false, 4); + return; + } + } + } + if (DebugPanicSub1.method2127(2, (Component72.localPlayer.username)).equals(string_1_)) DisplayModeManagerContainer213.method544((FriendsIgnoreList.aClass274_3524.getLocalized(ObjectDeserializer.languageId, 544)), false, 4); + else { + Component334.anInt2012++; + ParticleSystem class348_sub47 = (ParticleShader.method2148(InterfaceRenderer.aClass351_5057, DisplayModeManagerContainer64.aClass77_9029, -85)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, Component31.method1745(string, -65)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); + HashNodeSub14.method3243(123, class348_sub47); + if (i <= -31) break; + method3127(-4); + } + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("vj.B(" + i + ',' + (string != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + final int[][] getColourOutput(int i, int i_8_) { + anInt9393++; + int[][] is = this.imageCacheStore.getPixels(-105, i); + if (this.imageCacheStore.cacheMiss) { + int[][] is_9_ = this.method3039((byte) 50, i, 0); + int[] is_10_ = is_9_[0]; + int[] is_11_ = is_9_[1]; + int[] is_12_ = is_9_[2]; + int[] is_13_ = is[0]; + int[] is_14_ = is[1]; + int[] is_15_ = is[2]; + for (int i_16_ = 0; (i_16_ < DefinitionSub6.anInt9139); i_16_++) { + method3129(is_10_[i_16_], is_11_[i_16_], (byte) 82, is_12_[i_16_]); + anInt9401 += anInt9390; + anInt9400 += anInt9402; + anInt9389 += anInt9398; + for (/**/; anInt9400 < 0; anInt9400 += 4096) { + /* empty */ + } + if (anInt9401 < 0) anInt9401 = 0; + for (/**/; anInt9400 > 4096; anInt9400 -= 4096) { + /* empty */ + } + if (anInt9389 < 0) anInt9389 = 0; + if (anInt9401 > 4096) anInt9401 = 4096; + if (anInt9389 > 4096) anInt9389 = 4096; + method3130(anInt9389, anInt9400, (byte) -120, anInt9401); + is_13_[i_16_] = anInt9386; + is_14_[i_16_] = anInt9396; + is_15_[i_16_] = anInt9392; + } + } + if (i_8_ != -1564599039) anInt9399 = 25; + return is; + } + + private final void method3129(int i, int i_17_, byte i_18_, int i_19_) { + anInt9394++; + int i_20_ = Math.max(i_17_, i); + if (i_18_ == 82) { + i_20_ = Math.max(i_19_, i_20_); + int i_21_ = Math.min(i, i_17_); + i_21_ = Math.min(i_19_, i_21_); + anInt9389 = (i_20_ + i_21_) / 2; + int i_22_ = i_20_ - i_21_; + if (i_22_ > 0) { + int i_23_ = (i_20_ + -i << 12) / i_22_; + int i_24_ = (i_20_ + -i_17_ << 12) / i_22_; + int i_25_ = (-i_19_ + i_20_ << 12) / i_22_; + if (i == i_20_) anInt9400 = (i_17_ != i_21_ ? 4096 + -i_24_ : i_25_ + 20480); + else if (i_17_ != i_20_) anInt9400 = i != i_21_ ? -i_23_ + 20480 : 12288 - -i_24_; + else anInt9400 = (i_21_ == i_19_ ? 4096 + i_23_ : -i_25_ + 12288); + anInt9400 /= 6; + } else anInt9400 = 0; + if (anInt9389 > 0 && anInt9389 < 4096) anInt9401 = (i_22_ << 12) / (anInt9389 > 2048 ? 8192 - anInt9389 * 2 : anInt9389 * 2); + else anInt9401 = 0; + } + } + + private final void method3130(int i, int i_26_, byte i_27_, int i_28_) { + anInt9397++; + int i_29_ = 31 / ((i_27_ - -74) / 40); + int i_30_ = (i > 2048 ? i_28_ + (i - (i * i_28_ >> 12)) : i * (4096 - -i_28_) >> 12); + if (i_30_ <= 0) anInt9386 = anInt9396 = anInt9392 = i; + else { + i_26_ *= 6; + int i_31_ = -i_30_ + i - -i; + int i_32_ = (-i_31_ + i_30_ << 12) / i_30_; + int i_33_ = i_26_ >> 12; + int i_34_ = i_26_ + -(i_33_ << 12); + int i_35_ = i_30_; + i_35_ = i_35_ * i_32_ >> 12; + i_35_ = i_35_ * i_34_ >> 12; + int i_36_ = i_35_ + i_31_; + int i_37_ = i_30_ - i_35_; + int i_38_ = i_33_; + while_208_: + do { + while_207_: + do { + while_206_: + do { + while_205_: + do { + do { + if (i_38_ == 0) { + anInt9396 = i_36_; + anInt9386 = i_30_; + anInt9392 = i_31_; + return; + } else if (i_38_ != 1) { + if (i_38_ != 2) { + if (i_38_ != 3) { + if (i_38_ != 4) { + if (i_38_ != 5) break while_208_; + } else break while_206_; + break while_207_; + } + } else break; + break while_205_; + } + anInt9392 = i_31_; + anInt9386 = i_37_; + anInt9396 = i_30_; + return; + } while (false); + anInt9392 = i_36_; + anInt9386 = i_31_; + anInt9396 = i_30_; + return; + } while (false); + anInt9396 = i_37_; + anInt9386 = i_31_; + anInt9392 = i_30_; + return; + } while (false); + anInt9396 = i_31_; + anInt9386 = i_36_; + anInt9392 = i_30_; + return; + } while (false); + anInt9386 = i_30_; + anInt9392 = i_37_; + anInt9396 = i_31_; + } while (false); + } + } + + final void method3049(Buffer class348_sub49, int i, int i_39_) { + while_209_: + do { + try { + anInt9384++; + if (i_39_ == 31015) { + int i_40_ = i; + do { + if (i_40_ == 0) { + anInt9402 = class348_sub49.readShort(13638); + return; + } else if (i_40_ != 1) { + if (i_40_ == 2) break; + break while_209_; + } + anInt9390 = (class348_sub49.readByte(-83) << 12) / 100; + return; + } while (false); + anInt9398 = (class348_sub49.readByte(i_39_ + -31101) << 12) / 100; + break; + } + break; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("vj.F(" + (class348_sub49 != null ? "{...}" : "null") + ',' + i + ',' + i_39_ + ')')); + } + } while (false); + } +} diff --git a/client/defs/DefinitionSub31.java b/client/defs/DefinitionSub31.java new file mode 100644 index 000000000..63050a879 --- /dev/null +++ b/client/defs/DefinitionSub31.java @@ -0,0 +1,104 @@ +/* DefinitionSub31 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DefinitionSub31 +/** + * RENAMED from `Class348_Sub40_Sub31` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + static int anInt9404; + private int anInt9405 = 4; + static int anInt9406; + static int anInt9407; + static int anInt9408 = 0; + static int anInt9409; + private int anInt9410 = 4; + static int anInt9411; + static int anInt9412 = 0; + static int anInt9413; + + public DefinitionSub31() { + super(1, false); + } + + final int[][] getColourOutput(int i, int i_0_) { + anInt9407++; + if (i_0_ != -1564599039) return null; + int[][] is = this.imageCacheStore.getPixels(-111, i); + if (this.imageCacheStore.cacheMiss) { + int i_1_ = DefinitionSub6.anInt9139 / anInt9405; + int i_2_ = ShaderProgramSub2.anInt6212 / anInt9410; + int[][] is_3_; + if (i_2_ > 0) { + int i_4_ = i % i_2_; + is_3_ = this.method3039((byte) -86, ShaderProgramSub2.anInt6212 * i_4_ / i_2_, 0); + } else is_3_ = this.method3039((byte) 105, 0, 0); + int[] is_5_ = is_3_[0]; + int[] is_6_ = is_3_[1]; + int[] is_7_ = is_3_[2]; + int[] is_8_ = is[0]; + int[] is_9_ = is[1]; + int[] is_10_ = is[2]; + for (int i_11_ = 0; (i_11_ < DefinitionSub6.anInt9139); i_11_++) { + int i_12_; + if (i_1_ <= 0) i_12_ = 0; + else { + int i_13_ = i_11_ % i_1_; + i_12_ = DefinitionSub6.anInt9139 * i_13_ / i_1_; + } + is_8_[i_11_] = is_5_[i_12_]; + is_9_[i_11_] = is_6_[i_12_]; + is_10_[i_11_] = is_7_[i_12_]; + } + } + return is; + } + + final void method3049(Buffer class348_sub49, int i, int i_14_) { + if (i_14_ == 31015) { + int i_15_ = i; + do { + if (i_15_ == 0) { + anInt9405 = class348_sub49.readUnsignedByte(255); + break; + } else if (i_15_ != 1) break; + anInt9410 = class348_sub49.readUnsignedByte(255); + } while (false); + anInt9413++; + } + } + + static final boolean method3131(byte i, String string) { + if (i != 50) method3131((byte) -33, null); + anInt9404++; + return Player.aHashtable10565.containsKey(string); + } + + final int[] getMonochromeOutput(int i, int i_16_) { + if (i_16_ != 255) return null; + anInt9409++; + int[] is = this.imageCache.getPixels(0, i); + if (this.imageCache.cacheMiss) { + int i_17_ = DefinitionSub6.anInt9139 / anInt9405; + int i_18_ = ShaderProgramSub2.anInt6212 / anInt9410; + int[] is_19_; + if (i_18_ > 0) { + int i_20_ = i % i_18_; + is_19_ = this.method3048(i_20_ * ShaderProgramSub2.anInt6212 / i_18_, 633706337, 0); + } else is_19_ = this.method3048(0, 633706337, 0); + for (int i_21_ = 0; DefinitionSub6.anInt9139 > i_21_; i_21_++) { + if (i_17_ <= 0) is[i_21_] = is_19_[0]; + else { + int i_22_ = i_21_ % i_17_; + is[i_21_] = is_19_[(DefinitionSub6.anInt9139 * i_22_ / i_17_)]; + } + } + } + return is; + } + + static { + anInt9411 = 0; + } +} diff --git a/client/defs/DefinitionSub32.java b/client/defs/DefinitionSub32.java new file mode 100644 index 000000000..68af93a36 --- /dev/null +++ b/client/defs/DefinitionSub32.java @@ -0,0 +1,136 @@ +/* DefinitionSub32 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DefinitionSub32 +/** + * RENAMED from `Class348_Sub40_Sub32` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + static int anInt9414; + static Component224 aClass273_9415 = new Component224("", 12); + static int anInt9416; + static int anInt9417; + static int anInt9418; + static int anInt9419; + static int anInt9420; + private static short[] aShortArray9421 = {-10304, 9104, 25485, 4620, 4540}; + private static short[] aShortArray9422 = {-1, -1, -1, -1, -1}; + private static short[] aShortArray9423 = {6798, 8741, 25238, 4626, 4550}; + static short[][] aShortArrayArray9424 = {aShortArray9423, aShortArray9421, aShortArray9422}; + + static final GlRectangleTexture method3132(int[] is, int i, int i_0_, int i_1_, int i_2_, GlToolkitSub2 var_ha_Sub2, boolean bool, byte i_3_) { + try { + if (i_3_ != 12) method3134(9); + anInt9418++; + if (!var_ha_Sub2.aBoolean7793 && (!Component353.method1436(-74, i_2_) || !Component353.method1436(127, i_1_))) { + if (!var_ha_Sub2.aBoolean7837) return (new GlRectangleTexture(var_ha_Sub2, i_2_, i_1_, Component373.nextPowerOfTwo(i_2_, (byte) 108), Component373.nextPowerOfTwo(i_1_, (byte) 108), is)); + return new GlRectangleTexture(var_ha_Sub2, 34037, i_2_, i_1_, bool, is, i_0_, i); + } + return new GlRectangleTexture(var_ha_Sub2, 3553, i_2_, i_1_, bool, is, i_0_, i); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wi.C(" + (is != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + i_1_ + ',' + i_2_ + ',' + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + bool + ',' + i_3_ + ')')); + } + } + + public static void method3133(byte i) { + aClass273_9415 = null; + if (i != -109) aClass273_9415 = null; + aShortArray9423 = null; + aShortArray9421 = null; + aShortArrayArray9424 = null; + aShortArray9422 = null; + } + + static final void method3134(int i) { + anInt9419++; + if ((~SpriteAtlasShader.anInt6248) <= i) { + long l = Component240.currentTimeMillis(i ^ 0x3c); + SpriteAtlasShader.anInt6248 -= -ObjectDeserializer.aLong6963 + l; + if (SpriteAtlasShader.anInt6248 > 0) { + int i_4_ = ((SpriteAtlasShader.anInt6248 << 8) / DisplayModeManagerContainer105.anInt4889); + int i_5_ = -i_4_ + 255; + float f = (float) i_4_ / 255.0F; + float f_6_ = 1.0F - f; + DisplayModeManagerContainer96.anInt4703 = (((i_5_ * ((Component329.aClass190_5990.anInt2540) & 0xff00ff) + (Component327.anInt8739 & 0xff00ff) * i_4_) & ~0xff00ff) - -(0xff0000 & (i_4_ * (0xff00 & Component327.anInt8739) + (0xff00 & (Component329.aClass190_5990.anInt2540)) * i_5_))) >>> 8; + Component98.aFloat5945 = (AbstractGlTextureSub4.aFloat8560 + f_6_ * ((Component329.aClass190_5990.aFloat2551) - AbstractGlTextureSub4.aFloat8560)); + NodeSub3.aFloat6586 = (Component329.aClass190_5990.aFloat2545 - CacheStore.aFloat670) * f_6_ + CacheStore.aFloat670; + Component129.anInt486 = (i_4_ * Component372.anInt6042 + (Component329.aClass190_5990.anInt2546 * i_5_)) >> 8; + Component214.aFloat2137 = (DisplayModeManagerContainer28.aFloat8725 + (-DisplayModeManagerContainer28.aFloat8725 + (Component329.aClass190_5990.aFloat2547)) * f_6_); + Component283.aFloat4626 = (DisplayModeManagerContainer370.aFloat1136 + f_6_ * ((Component329.aClass190_5990.aFloat2544) - DisplayModeManagerContainer370.aFloat1136)); + Component38.anInt2500 = (((i_4_ * (0xff00 & Canvas_Sub1.anInt70) + (0xff00 & (Component329.aClass190_5990.anInt2549)) * i_5_) & 0xff0000) + (~0xff00ff & (i_4_ * (0xff00ff & Canvas_Sub1.anInt70) - -(i_5_ * (0xff00ff & (Component329.aClass190_5990.anInt2549)))))) >>> 8; + TeleportHandler.aFloat4455 = (Component163.aFloat3177 + f_6_ * (-Component163.aFloat3177 + (Component329.aClass190_5990.aFloat2536))); + Component209.aFloat3462 = (DebugOverlay.aFloat3172 + (Component329.aClass190_5990.aFloat2542 - DebugOverlay.aFloat3172) * f_6_); + if (ColoredText.aClass299_6098 != (Component329.aClass190_5990.aClass299_2541)) HeapDumpHelper.aClass299_4938 = (NodeCache.aHa1098.method3706(ColoredText.aClass299_6098, (Component329.aClass190_5990.aClass299_2541), f_6_, HeapDumpHelper.aClass299_4938)); + } else { + HeapDumpHelper.aClass299_4938 = (Component329.aClass190_5990.aClass299_2541); + Component283.aFloat4626 = Component329.aClass190_5990.aFloat2544; + NodeSub3.aFloat6586 = Component329.aClass190_5990.aFloat2545; + Component98.aFloat5945 = Component329.aClass190_5990.aFloat2551; + Component129.anInt486 = Component329.aClass190_5990.anInt2546; + Component209.aFloat3462 = Component329.aClass190_5990.aFloat2542; + TeleportHandler.aFloat4455 = Component329.aClass190_5990.aFloat2536; + SpriteAtlasShader.anInt6248 = -1; + Component38.anInt2500 = Component329.aClass190_5990.anInt2549; + DisplayModeManagerContainer96.anInt4703 = Component329.aClass190_5990.anInt2540; + Component214.aFloat2137 = Component329.aClass190_5990.aFloat2547; + } + ObjectDeserializer.aLong6963 = l; + } + } + + static final Component203 method3135(int i, int i_7_, int i_8_) { + Component186 class357 = Component335.aClass357ArrayArrayArray2029[i][i_7_][i_8_]; + if (class357 == null) return null; + return class357.aClass318_Sub1_Sub5_4395; + } + + final int[][] getColourOutput(int i, int i_9_) { + if (i_9_ != -1564599039) method3133((byte) 4); + anInt9417++; + int[][] is = this.imageCacheStore.getPixels(-78, i); + if (this.imageCacheStore.cacheMiss) { + int[][] is_10_ = this.method3039((byte) -104, i, 0); + int[] is_11_ = is_10_[0]; + int[] is_12_ = is_10_[1]; + int[] is_13_ = is_10_[2]; + int[] is_14_ = is[0]; + int[] is_15_ = is[1]; + int[] is_16_ = is[2]; + for (int i_17_ = 0; DefinitionSub6.anInt9139 > i_17_; i_17_++) { + is_14_[i_17_] = -is_11_[i_17_] + 4096; + is_15_[i_17_] = 4096 + -is_12_[i_17_]; + is_16_[i_17_] = -is_13_[i_17_] + 4096; + } + } + return is; + } + + public DefinitionSub32() { + super(1, false); + } + + final int[] getMonochromeOutput(int i, int i_18_) { + anInt9420++; + int[] is = this.imageCache.getPixels(0, i); + if (i_18_ != 255) getColourOutput(-113, -46); + if (this.imageCache.cacheMiss) { + int[] is_19_ = this.method3048(i, 633706337, 0); + for (int i_20_ = 0; (i_20_ < DefinitionSub6.anInt9139); i_20_++) + is[i_20_] = 4096 + -is_19_[i_20_]; + } + return is; + } + + final void method3049(Buffer class348_sub49, int i, int i_21_) { + anInt9414++; + if (i_21_ != 31015) aClass273_9415 = null; + if (i == 0) this.use2dImageCache = class348_sub49.readUnsignedByte(255) == 1; + } + + static final String method3136(byte i, Buffer class348_sub49) { + anInt9416++; + if (i != 64) aShortArray9423 = null; + return BasicMouseHandler.readJagStringLimited(32767, class348_sub49, -77); + } +} diff --git a/client/defs/DefinitionSub33.java b/client/defs/DefinitionSub33.java new file mode 100644 index 000000000..86bb21a97 --- /dev/null +++ b/client/defs/DefinitionSub33.java @@ -0,0 +1,122 @@ +/* DefinitionSub33 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DefinitionSub33 +/** + * RENAMED from `Class348_Sub40_Sub33` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + static int anInt9425; + static int anInt9426; + static DisplayModeManagerContainer57[][] aClass46ArrayArray9427; + static int anInt9428; + static int anInt9429; + static int anInt9430; + + static final boolean method3137(boolean bool, byte i) { + anInt9426++; + boolean bool_0_ = NodeSub8.toolkit.method3666(); + if (i != -24) return true; + if (!bool_0_ == !bool) return true; + if (!bool) NodeSub8.toolkit.method3710(); + else if (!NodeSub8.toolkit.method3671()) bool = false; + if (bool_0_ == bool) return false; + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub12_7243), bool ? 1 : 0); + DisplayModeManagerContainer389.method243(37); + return true; + } + + public static void method3138(byte i) { + aClass46ArrayArray9427 = null; + int i_1_ = 93 % ((-58 - i) / 55); + } + + final int[][] getColourOutput(int i, int i_2_) { + anInt9429++; + int[][] is = this.imageCacheStore.getPixels(-97, i); + if (i_2_ != -1564599039) aClass46ArrayArray9427 = null; + if (this.imageCacheStore.cacheMiss) { + int[] is_3_ = is[0]; + int[] is_4_ = is[1]; + int[] is_5_ = is[2]; + for (int i_6_ = 0; (DefinitionSub6.anInt9139 > i_6_); i_6_++) { + method3139(i_6_, i, (byte) -31); + int[][] is_7_ = this.method3039((byte) 43, AbstractBuffer.anInt4265, 0); + is_3_[i_6_] = is_7_[0][Component221.anInt1796]; + is_4_[i_6_] = is_7_[1][Component221.anInt1796]; + is_5_[i_6_] = is_7_[2][Component221.anInt1796]; + } + } + return is; + } + + final int[] getMonochromeOutput(int i, int i_8_) { + anInt9428++; + if (i_8_ != 255) aClass46ArrayArray9427 = null; + int[] is = this.imageCache.getPixels(0, i); + if (this.imageCache.cacheMiss) { + for (int i_9_ = 0; (i_9_ < DefinitionSub6.anInt9139); i_9_++) { + method3139(i_9_, i, (byte) -31); + int[] is_10_ = this.method3048(AbstractBuffer.anInt4265, i_8_ ^ 0x25c5979e, 0); + is[i_9_] = is_10_[Component221.anInt1796]; + } + } + return is; + } + + final void method3049(Buffer class348_sub49, int i, int i_11_) { + if (i_11_ != 31015) aClass46ArrayArray9427 = null; + anInt9430++; + if (i == 0) this.use2dImageCache = class348_sub49.readUnsignedByte(255) == 1; + } + + public DefinitionSub33() { + super(1, false); + } + + private final void method3139(int i, int i_12_, byte i_13_) { + anInt9425++; + int i_14_ = RenderableSub6.anIntArray6432[i]; + int i_15_ = Component302.anIntArray6035[i_12_]; + if (i_13_ != -31) method3139(-44, -111, (byte) 48); + float f = (float) Math.atan2(i_14_ + -2048, i_15_ + -2048); + if ((double) f >= -3.141592653589793 && (double) f <= -2.356194490192345) { + AbstractBuffer.anInt4265 = i_12_; + Component221.anInt1796 = i; + } else if (!((double) f <= -1.5707963267948966) || !((double) f >= -2.356194490192345)) { + if (!((double) f <= -0.7853981633974483) || !((double) f >= -1.5707963267948966)) { + if (!(f <= 0.0F) || !((double) f >= -0.7853981633974483)) { + if (!(f >= 0.0F) || !((double) f <= 0.7853981633974483)) { + if (!((double) f >= 0.7853981633974483) || !((double) f <= 1.5707963267948966)) { + if ((double) f >= 1.5707963267948966 && (double) f <= 2.356194490192345) { + AbstractBuffer.anInt4265 = ShaderProgramSub2.anInt6212 + -i; + Component221.anInt1796 = i_12_; + } else if ((double) f >= 2.356194490192345 && (double) f <= 3.141592653589793) { + AbstractBuffer.anInt4265 = i_12_; + Component221.anInt1796 = -i + DefinitionSub6.anInt9139; + } + } else { + Component221.anInt1796 = -i_12_ + DefinitionSub6.anInt9139; + AbstractBuffer.anInt4265 = -i + ShaderProgramSub2.anInt6212; + } + } else { + Component221.anInt1796 = -i + DefinitionSub6.anInt9139; + AbstractBuffer.anInt4265 = -i_12_ + ShaderProgramSub2.anInt6212; + } + } else { + Component221.anInt1796 = i; + AbstractBuffer.anInt4265 = ShaderProgramSub2.anInt6212 - i_12_; + } + } else { + Component221.anInt1796 = DefinitionSub6.anInt9139 - i_12_; + AbstractBuffer.anInt4265 = i; + } + } else { + AbstractBuffer.anInt4265 = i; + Component221.anInt1796 = i_12_; + } + AbstractBuffer.anInt4265 &= DisplayModeManagerContainer356.anInt6325; + Component221.anInt1796 &= Component287.anInt6076; + } +} diff --git a/client/defs/DefinitionSub35.java b/client/defs/DefinitionSub35.java new file mode 100644 index 000000000..1333eb96c --- /dev/null +++ b/client/defs/DefinitionSub35.java @@ -0,0 +1,105 @@ +/* DefinitionSub35 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DefinitionSub35 +/** + * RENAMED from `Class348_Sub40_Sub35` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + static int anInt9440; + static int anInt9441; + static int anInt9442; + static DisplayModeManagerContainer254 aClass161_9443; + static int anInt9444; + private int anInt9445 = 3216; + static int anInt9446; + private int anInt9447 = 3216; + private int anInt9448 = 4096; + private final int[] anIntArray9449 = new int[3]; + + private final void method3143(int i) { + anInt9440++; + if (i >= -118) method3143(-88); + double d = Math.cos((float) anInt9445 / 4096.0F); + anIntArray9449[0] = (int) (d * Math.sin((float) anInt9447 / 4096.0F) * 4096.0); + anIntArray9449[1] = (int) (d * Math.cos((float) anInt9447 / 4096.0F) * 4096.0); + anIntArray9449[2] = (int) (Math.sin((float) anInt9445 / 4096.0F) * 4096.0); + int i_0_ = anIntArray9449[0] * anIntArray9449[0] >> 12; + int i_1_ = anIntArray9449[1] * anIntArray9449[1] >> 12; + int i_2_ = anIntArray9449[2] * anIntArray9449[2] >> 12; + int i_3_ = (int) (4096.0 * Math.sqrt(i_1_ + i_0_ + i_2_ >> 12)); + if (i_3_ != 0) { + anIntArray9449[1] = (anIntArray9449[1] << 12) / i_3_; + anIntArray9449[0] = (anIntArray9449[0] << 12) / i_3_; + anIntArray9449[2] = (anIntArray9449[2] << 12) / i_3_; + } + } + + final int[] getMonochromeOutput(int i, int i_4_) { + anInt9446++; + int[] is = this.imageCache.getPixels(0, i); + if (this.imageCache.cacheMiss) { + int i_5_ = Component253.anInt3201 * anInt9448 >> 12; + int[] is_6_ = this.method3048(DisplayModeManagerContainer356.anInt6325 & -1 + i, 633706337, 0); + int[] is_7_ = this.method3048(i, 633706337, 0); + int[] is_8_ = this.method3048(DisplayModeManagerContainer356.anInt6325 & i - -1, i_4_ + 633706082, 0); + for (int i_9_ = 0; DefinitionSub6.anInt9139 > i_9_; i_9_++) { + int i_10_ = i_5_ * (is_8_[i_9_] - is_6_[i_9_]) >> 12; + int i_11_ = (i_5_ * (-is_7_[Component287.anInt6076 & i_9_ - -1] + is_7_[-1 + i_9_ & Component287.anInt6076]) >> 12); + int i_12_ = i_11_ >> 4; + int i_13_ = i_10_ >> 4; + if (i_12_ < 0) i_12_ = -i_12_; + if (i_13_ < 0) i_13_ = -i_13_; + if (i_12_ > 255) i_12_ = 255; + if (i_13_ > 255) i_13_ = 255; + int i_14_ = (DisplayModeManagerContainer57.aByteArray821[i_12_ + (i_13_ * (1 + i_13_) >> 1)] & 0xff); + int i_15_ = i_14_ * 4096 >> 8; + int i_16_ = i_14_ * i_11_ >> 8; + int i_17_ = i_10_ * i_14_ >> 8; + i_17_ = i_17_ * anIntArray9449[1] >> 12; + i_16_ = i_16_ * anIntArray9449[0] >> 12; + i_15_ = anIntArray9449[2] * i_15_ >> 12; + is[i_9_] = i_15_ + i_16_ - -i_17_; + } + } + if (i_4_ != 255) return null; + return is; + } + + public static void method3144(byte i) { + aClass161_9443 = null; + if (i < 34) method3144((byte) 127); + } + + final void postDecode(int i) { + if (i <= 108) method3143(38); + anInt9441++; + method3143(-119); + } + + final void method3049(Buffer class348_sub49, int i, int i_18_) { + int i_19_ = i; + while_210_: + do { + do { + if (i_19_ == 0) { + anInt9448 = class348_sub49.readUnsignedShort(i_18_ ^ 0x323581df); + break while_210_; + } else if (i_19_ != 1) { + if (i_19_ == 2) break; + break while_210_; + } + anInt9447 = class348_sub49.readUnsignedShort(842397944); + break while_210_; + } while (false); + anInt9445 = class348_sub49.readUnsignedShort(842397944); + } while (false); + anInt9442++; + if (i_18_ != 31015) aClass161_9443 = null; + } + + public DefinitionSub35() { + super(1, true); + } +} diff --git a/client/defs/DefinitionSub36.java b/client/defs/DefinitionSub36.java new file mode 100644 index 000000000..f77e3fd4c --- /dev/null +++ b/client/defs/DefinitionSub36.java @@ -0,0 +1,84 @@ +/* DefinitionSub36 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DefinitionSub36 +/** + * RENAMED from `Class348_Sub40_Sub36` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + static int anInt9450; + private int anInt9451 = 0; + static int anInt9452; + private int anInt9453 = 1; + static int anInt9454; + private int anInt9455 = 0; + static Component183 aClass114_9456; + + public DefinitionSub36() { + super(0, true); + } + + final void method3049(Buffer class348_sub49, int i, int i_0_) { + anInt9450++; + if (i_0_ != 31015) anInt9451 = -15; + int i_1_ = i; + while_211_: + do { + do { + if (i_1_ == 0) { + anInt9451 = class348_sub49.readUnsignedByte(255); + return; + } else if (i_1_ != 1) { + if (i_1_ == 3) break; + break while_211_; + } + anInt9455 = class348_sub49.readUnsignedByte(255); + return; + } while (false); + anInt9453 = class348_sub49.readUnsignedByte(255); + } while (false); + } + + final void postDecode(int i) { + Component7.method1605(26188); + if (i <= 108) method3145(-17); + anInt9452++; + } + + public static void method3145(int i) { + if (i != 0) aClass114_9456 = null; + aClass114_9456 = null; + } + + final int[] getMonochromeOutput(int i, int i_2_) { + anInt9454++; + int[] is = this.imageCache.getPixels(0, i); + if (i_2_ != 255) anInt9451 = -74; + if (this.imageCache.cacheMiss) { + int i_3_ = Component302.anIntArray6035[i]; + int i_4_ = -2048 + i_3_ >> 1; + for (int i_5_ = 0; (i_5_ < DefinitionSub6.anInt9139); i_5_++) { + int i_6_ = RenderableSub6.anIntArray6432[i_5_]; + int i_7_ = -2048 + i_6_ >> 1; + int i_8_; + if (anInt9451 == 0) i_8_ = anInt9453 * (-i_3_ + i_6_); + else { + int i_9_ = i_7_ * i_7_ + i_4_ * i_4_ >> 12; + i_8_ = (int) (4096.0 * Math.sqrt((float) i_9_ / 4096.0F)); + i_8_ = (int) (3.141592653589793 * (double) (anInt9453 * i_8_)); + } + i_8_ -= ~0xfff & i_8_; + if (anInt9455 != 0) { + if (anInt9455 == 2) { + i_8_ -= 2048; + if (i_8_ < 0) i_8_ = -i_8_; + i_8_ = 2048 - i_8_ << 1; + } + } else i_8_ = 4096 + (Component366.anIntArray3068[i_8_ >> 4 & 0xff]) >> 1; + is[i_5_] = i_8_; + } + } + return is; + } +} diff --git a/client/defs/DefinitionSub37.java b/client/defs/DefinitionSub37.java new file mode 100644 index 000000000..b1a179994 --- /dev/null +++ b/client/defs/DefinitionSub37.java @@ -0,0 +1,189 @@ +/* DefinitionSub37 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DefinitionSub37 +/** + * RENAMED from `Class348_Sub40_Sub37` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + static int anInt9457; + static int[] anIntArray9458; + static int anInt9459; + static int anInt9460; + static int anInt9461 = -1; + static int anInt9462; + private int anInt9463 = 1; + static int anInt9464; + static long[] aLongArray9465; + private int anInt9466 = 1; + static Component24[] aClass105Array9467; + + static final void method3146(int i, int i_0_, byte i_1_, int i_2_, int i_3_, int i_4_, byte[] is, byte[] is_5_, int i_6_) { + try { + anInt9464++; + int i_7_ = -(i_0_ >> 2); + i_0_ = -(i_0_ & 0x3); + if (i_1_ >= -12) method3148(true); + for (int i_8_ = -i_3_; i_8_ < 0; i_8_++) { + for (int i_9_ = i_7_; i_9_ < 0; i_9_++) { + is[i_4_++] += -is_5_[i_6_++]; + is[i_4_++] += -is_5_[i_6_++]; + is[i_4_++] += -is_5_[i_6_++]; + is[i_4_++] += -is_5_[i_6_++]; + } + for (int i_10_ = i_0_; i_10_ < 0; i_10_++) + is[i_4_++] += -is_5_[i_6_++]; + i_4_ += i; + i_6_ += i_2_; + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("fd.D(" + i + ',' + i_0_ + ',' + i_1_ + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ',' + (is != null ? "{...}" : "null") + ',' + (is_5_ != null ? "{...}" : "null") + ',' + i_6_ + ')')); + } + } + + final void method3049(Buffer class348_sub49, int i, int i_11_) { + anInt9460++; + if (i_11_ != 31015) method3147((byte) 32); + int i_12_ = i; + while_212_: + do { + do { + if (i_12_ == 0) { + anInt9466 = class348_sub49.readUnsignedByte(255); + return; + } else if (i_12_ != 1) { + if (i_12_ == 2) break; + break while_212_; + } + anInt9463 = class348_sub49.readUnsignedByte(255); + return; + } while (false); + this.use2dImageCache = class348_sub49.readUnsignedByte(i_11_ ^ 0x79d8) == 1; + } while (false); + } + + final int[] getMonochromeOutput(int i, int i_13_) { + anInt9457++; + int[] is = this.imageCache.getPixels(0, i); + if (i_13_ != 255) method3148(true); + if (this.imageCache.cacheMiss) { + int i_14_ = 1 + (anInt9463 + anInt9463); + int i_15_ = 65536 / i_14_; + int i_16_ = 1 + anInt9466 + anInt9466; + int i_17_ = 65536 / i_16_; + int[][] is_18_ = new int[i_14_][]; + for (int i_19_ = -anInt9463 + i; i - -anInt9463 >= i_19_; i_19_++) { + int[] is_20_ = this.method3048(DisplayModeManagerContainer356.anInt6325 & i_19_, 633706337, 0); + int[] is_21_ = new int[DefinitionSub6.anInt9139]; + int i_22_ = 0; + for (int i_23_ = -anInt9466; anInt9466 >= i_23_; i_23_++) + i_22_ += is_20_[i_23_ & Component287.anInt6076]; + int i_24_ = 0; + while (i_24_ < DefinitionSub6.anInt9139) { + is_21_[i_24_] = i_17_ * i_22_ >> 16; + i_22_ -= (is_20_[-anInt9466 + i_24_ & Component287.anInt6076]); + i_24_++; + i_22_ += (is_20_[i_24_ + anInt9466 & Component287.anInt6076]); + } + is_18_[-i + (i_19_ + anInt9463)] = is_21_; + } + for (int i_25_ = 0; DefinitionSub6.anInt9139 > i_25_; i_25_++) { + int i_26_ = 0; + for (int i_27_ = 0; i_14_ > i_27_; i_27_++) + i_26_ += is_18_[i_27_][i_25_]; + is[i_25_] = i_26_ * i_15_ >> 16; + } + } + return is; + } + + static final void method3147(byte i) { + if (i != 27) method3146(-85, 87, (byte) 91, 46, -77, 54, null, null, -117); + Component253.anInt3203 = -1; + Component263.anInt1548 = -1; + Component293.anInt3306 = 0; + anInt9459++; + } + + final int[][] getColourOutput(int i, int i_28_) { + if (i_28_ != -1564599039) return null; + anInt9462++; + int[][] is = this.imageCacheStore.getPixels(i_28_ ^ 0x5d41e2a6, i); + if (this.imageCacheStore.cacheMiss) { + int i_29_ = 1 + (anInt9463 + anInt9463); + int i_30_ = 65536 / i_29_; + int i_31_ = anInt9466 + (anInt9466 + 1); + int i_32_ = 65536 / i_31_; + int[][][] is_33_ = new int[i_29_][][]; + for (int i_34_ = i + -anInt9463; i_34_ <= anInt9463 + i; i_34_++) { + int[][] is_35_ = this.method3039((byte) 55, DisplayModeManagerContainer356.anInt6325 & i_34_, 0); + int[][] is_36_ = new int[3][DefinitionSub6.anInt9139]; + int i_37_ = 0; + int i_38_ = 0; + int i_39_ = 0; + int[] is_40_ = is_35_[0]; + int[] is_41_ = is_35_[1]; + int[] is_42_ = is_35_[2]; + for (int i_43_ = -anInt9466; i_43_ <= anInt9466; i_43_++) { + int i_44_ = Component287.anInt6076 & i_43_; + i_39_ += is_42_[i_44_]; + i_37_ += is_40_[i_44_]; + i_38_ += is_41_[i_44_]; + } + int[] is_45_ = is_36_[0]; + int[] is_46_ = is_36_[1]; + int[] is_47_ = is_36_[2]; + int i_48_ = 0; + while (DefinitionSub6.anInt9139 > i_48_) { + is_45_[i_48_] = i_37_ * i_32_ >> 16; + is_46_[i_48_] = i_38_ * i_32_ >> 16; + is_47_[i_48_] = i_39_ * i_32_ >> 16; + int i_49_ = Component287.anInt6076 & -anInt9466 + i_48_; + i_37_ -= is_40_[i_49_]; + i_48_++; + i_38_ -= is_41_[i_49_]; + i_39_ -= is_42_[i_49_]; + i_49_ = i_48_ - -anInt9466 & Component287.anInt6076; + i_39_ += is_42_[i_49_]; + i_38_ += is_41_[i_49_]; + i_37_ += is_40_[i_49_]; + } + is_33_[i_34_ + anInt9463 + -i] = is_36_; + } + int[] is_50_ = is[0]; + int[] is_51_ = is[1]; + int[] is_52_ = is[2]; + for (int i_53_ = 0; DefinitionSub6.anInt9139 > i_53_; i_53_++) { + int i_54_ = 0; + int i_55_ = 0; + int i_56_ = 0; + for (int i_57_ = 0; i_57_ < i_29_; i_57_++) { + int[][] is_58_ = is_33_[i_57_]; + i_54_ += is_58_[0][i_53_]; + i_55_ += is_58_[1][i_53_]; + i_56_ += is_58_[2][i_53_]; + } + is_50_[i_53_] = i_54_ * i_30_ >> 16; + is_51_[i_53_] = i_55_ * i_30_ >> 16; + is_52_[i_53_] = i_30_ * i_56_ >> 16; + } + } + return is; + } + + public DefinitionSub37() { + super(1, false); + } + + public static void method3148(boolean bool) { + anIntArray9458 = null; + aLongArray9465 = null; + if (bool != true) method3146(79, -54, (byte) -128, -109, 85, -107, null, null, 58); + aClass105Array9467 = null; + } + + static { + anIntArray9458 = new int[1000]; + } +} diff --git a/client/defs/DefinitionSub38.java b/client/defs/DefinitionSub38.java new file mode 100644 index 000000000..bf40f47ed --- /dev/null +++ b/client/defs/DefinitionSub38.java @@ -0,0 +1,113 @@ +/* DefinitionSub38 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DefinitionSub38 +/** + * RENAMED from `Class348_Sub40_Sub38` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + static int anInt9468; + static int anInt9469; + private int anInt9470 = 4096; + static DisplayModeManagerContainer42 aClass304_9471 = new DisplayModeManagerContainer42(1); + static int anInt9472; + static int anInt9473; + private int anInt9474 = 0; + static DisplayModeManagerContainer238 aClass74_9475 = new DisplayModeManagerContainer238(12, 7); + static int anInt9476; + static Component111 aClass251_9477 = new Component111(); + static NodeList aClass262_9478 = new NodeList(); + static int anInt9479 = 0; + static int[] anIntArray9480 = new int[13]; + + public DefinitionSub38() { + super(1, false); + } + + final void method3049(Buffer class348_sub49, int i, int i_0_) { + if (i_0_ != 31015) anInt9470 = -15; + int i_1_ = i; + while_213_: + do { + do { + if (i_1_ == 0) { + anInt9474 = class348_sub49.readUnsignedShort(i_0_ + 842366929); + break while_213_; + } else if (i_1_ != 1) { + if (i_1_ == 2) break; + break while_213_; + } + anInt9470 = class348_sub49.readUnsignedShort(i_0_ + 842366929); + break while_213_; + } while (false); + this.use2dImageCache = class348_sub49.readUnsignedByte(i_0_ + -30760) == 1; + } while (false); + anInt9472++; + } + + final int[][] getColourOutput(int i, int i_2_) { + if (i_2_ != -1564599039) method3150(true); + anInt9468++; + int[][] is = this.imageCacheStore.getPixels(-117, i); + if (this.imageCacheStore.cacheMiss) { + int[][] is_3_ = this.method3039((byte) -88, i, 0); + int[] is_4_ = is_3_[0]; + int[] is_5_ = is_3_[1]; + int[] is_6_ = is_3_[2]; + int[] is_7_ = is[0]; + int[] is_8_ = is[1]; + int[] is_9_ = is[2]; + for (int i_10_ = 0; (i_10_ < DefinitionSub6.anInt9139); i_10_++) { + int i_11_ = is_4_[i_10_]; + int i_12_ = is_5_[i_10_]; + int i_13_ = is_6_[i_10_]; + if (i_11_ < anInt9474) is_7_[i_10_] = anInt9474; + else is_7_[i_10_] = Math.min(i_11_, anInt9470); + if (anInt9474 > i_12_) is_8_[i_10_] = anInt9474; + else is_8_[i_10_] = Math.min(i_12_, anInt9470); + if (anInt9474 <= i_13_) { + is_9_[i_10_] = Math.min(i_13_, anInt9470); + } else is_9_[i_10_] = anInt9474; + } + } + return is; + } + + public static void method3149(int i) { + aClass74_9475 = null; + anIntArray9480 = null; + aClass304_9471 = null; + aClass251_9477 = null; + aClass262_9478 = null; + if (i < 32) method3149(58); + } + + static final void method3150(boolean bool) { + anInt9469++; + int i = 0; + if (bool != true) method3150(false); + for (/**/; Component324.anInt2057 > i; i++) { + int i_14_ = DisplayModeManagerContainer238.anIntArray1233[i]; + NodeSub22 class348_sub22 = ((NodeSub22) Component21.aClass356_3654.get(i_14_, -6008)); + if (class348_sub22 != null) { + Npc npc = (class348_sub22.npc); + ImageCacheStore.method2556(false, npc.definition.anInt1399, npc); + } + } + } + + final int[] getMonochromeOutput(int i, int i_15_) { + anInt9476++; + int[] is = this.imageCache.getPixels(0, i); + if (this.imageCache.cacheMiss) { + int[] is_16_ = this.method3048(i, 633706337, 0); + for (int i_17_ = 0; i_17_ < DefinitionSub6.anInt9139; i_17_++) { + int i_18_ = is_16_[i_17_]; + if (anInt9474 > i_18_) is[i_17_] = anInt9474; + else is[i_17_] = Math.min(i_18_, anInt9470); + } + } + return is; + } +} diff --git a/client/defs/DefinitionSub39.java b/client/defs/DefinitionSub39.java new file mode 100644 index 000000000..5aae536e1 --- /dev/null +++ b/client/defs/DefinitionSub39.java @@ -0,0 +1,130 @@ +/* DefinitionSub39 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DefinitionSub39 +/** + * RENAMED from `Class348_Sub40_Sub39` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + private Component47[] aClass50Array9481; + static int anInt9482; + static int anInt9483; + static int anInt9484; + static DisplayModeManagerContainer88 aClass70_9485 = new DisplayModeManagerContainer88(); + static int anInt9486; + static int anInt9487; + + private final void method3151(int[][] is, byte i) { + anInt9487++; + if (i != -27) method3152(86); + int i_0_ = DefinitionSub6.anInt9139; + int i_1_ = ShaderProgramSub2.anInt6212; + Component319.method224((byte) -40, is); + NodeSub27.method3000(Component287.anInt6076, 0, DisplayModeManagerContainer356.anInt6325, 0, i ^ 0x28); + if (aClass50Array9481 != null) { + for (int i_2_ = 0; aClass50Array9481.length > i_2_; i_2_++) { + Component47 class50 = aClass50Array9481[i_2_]; + int i_3_ = class50.anInt864; + int i_4_ = class50.anInt865; + if (i_3_ < 0) { + if (i_4_ >= 0) class50.method457(i_1_, i_0_, -43); + } else if (i_4_ < 0) class50.method456(i ^ ~0x6a, i_0_, i_1_); + else class50.method455(i_0_, i_1_, -124); + } + } + } + + public static void method3152(int i) { + aClass70_9485 = null; + if (i != 255) method3152(-42); + } + + final int[] getMonochromeOutput(int i, int i_5_) { + anInt9486++; + int[] is = this.imageCache.getPixels(i_5_ + -255, i); + if (this.imageCache.cacheMiss) method3151(this.imageCache.getAllBuffers((byte) 16), (byte) -27); + if (i_5_ != 255) method3049(null, 66, -50); + return is; + } + + static final void method3153(int i) { + anInt9482++; + for (HashNodeSub13 class348_sub42_sub13 = ((HashNodeSub13) Component237.aClass107_3022.first(-49)); class348_sub42_sub13 != null; class348_sub42_sub13 = ((HashNodeSub13) Component237.aClass107_3022.next((byte) 51))) { + if (class348_sub42_sub13.anInt9615 > 1) { + class348_sub42_sub13.anInt9615 = 0; + Component293.aClass60_3301.putOne(class348_sub42_sub13, ((MenuEntry) class348_sub42_sub13.aClass107_9621.sentinel.next).groupKey, (byte) -108); + class348_sub42_sub13.aClass107_9621.clear(i ^ 0x7dc976c2); + } + } + DisplayModeManagerContainer345.anInt166 = 0; + DisplayModeManagerContainer306.menuEntryCount = i; + DefinitionSub4.menuEntries.clear(125); + MenuEntry.aClass356_9603.clear(0); + Component237.aClass107_3022.clear(2110355138); + Component364.aBoolean8335 = false; + } + + final void method3049(Buffer class348_sub49, int i, int i_6_) { + if (i_6_ != 31015) aClass70_9485 = null; + if (i == 0) { + aClass50Array9481 = new Component47[class348_sub49.readUnsignedByte(255)]; + while_216_: + for (int i_7_ = 0; aClass50Array9481.length > i_7_; i_7_++) { + int i_8_ = class348_sub49.readUnsignedByte(255); + int i_9_ = i_8_; + while_214_: + do { + do { + if (i_9_ == 0) { + aClass50Array9481[i_7_] = Component280.method1374(107, class348_sub49); + continue while_216_; + } else if (i_9_ != 1) { + if (i_9_ != 2) { + if (i_9_ != 3) continue while_216_; + } else break; + break while_214_; + } + aClass50Array9481[i_7_] = (OggUrlStream.method2970(NodeSub21.bitwiseXor(i_6_, 31013), class348_sub49)); + continue while_216_; + } while (false); + aClass50Array9481[i_7_] = (Definition.method3036(class348_sub49, NodeSub21.bitwiseXor(i_6_, -31102))); + continue while_216_; + } while (false); + aClass50Array9481[i_7_] = DisplayModeManagerContainer232.method2022(class348_sub49, 0); + } + } else if (i == 1) this.use2dImageCache = class348_sub49.readUnsignedByte(255) == 1; + anInt9484++; + } + + final int[][] getColourOutput(int i, int i_10_) { + anInt9483++; + int[][] is = this.imageCacheStore.getPixels(i_10_ + 1564598923, i); + if (i_10_ != -1564599039) aClass70_9485 = null; + if (this.imageCacheStore.cacheMiss) { + int i_11_ = DefinitionSub6.anInt9139; + int i_12_ = ShaderProgramSub2.anInt6212; + int[][] is_13_ = new int[i_12_][i_11_]; + int[][][] is_14_ = this.imageCacheStore.getAllBuffers(0); + method3151(is_13_, (byte) -27); + for (int i_15_ = 0; ShaderProgramSub2.anInt6212 > i_15_; i_15_++) { + int[] is_16_ = is_13_[i_15_]; + int[][] is_17_ = is_14_[i_15_]; + int[] is_18_ = is_17_[0]; + int[] is_19_ = is_17_[1]; + int[] is_20_ = is_17_[2]; + for (int i_21_ = 0; i_21_ < DefinitionSub6.anInt9139; i_21_++) { + int i_22_ = is_16_[i_21_]; + is_20_[i_21_] = GpsOverlay.bitwiseAnd(i_22_, 255) << 4; + is_19_[i_21_] = GpsOverlay.bitwiseAnd(i_22_ >> 4, 4080); + is_18_[i_21_] = GpsOverlay.bitwiseAnd(4080, i_22_ >> 12); + } + } + } + return is; + } + + public DefinitionSub39() { + super(0, true); + } +} diff --git a/client/defs/DefinitionSub4.java b/client/defs/DefinitionSub4.java new file mode 100644 index 000000000..31ac0c7f7 --- /dev/null +++ b/client/defs/DefinitionSub4.java @@ -0,0 +1,45 @@ +/* DefinitionSub4 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DefinitionSub4 +/** + * RENAMED from `Class348_Sub40_Sub4` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + /** Linked list of open {@link MenuEntry} rows for the current hover. */ + static NodeList menuEntries = new NodeList(); + static int occludedCpCount; + static d aD9113; + static DisplayModeManagerContainer204 aClass101_9114; + static int anInt9115; + + final int[] getMonochromeOutput(int i, int i_0_) { + anInt9115++; + if (i_0_ != 255) menuEntries = null; + int[] is = this.imageCache.getPixels(0, i); + if (this.imageCache.cacheMiss) Component313.method1579(is, 0, DefinitionSub6.anInt9139, Component302.anIntArray6035[i]); + return is; + } + + public static void method3057(byte i) { + if (i > -32) method3058(-76, 25, -12); + aClass101_9114 = null; + menuEntries = null; + aD9113 = null; + } + + public DefinitionSub4() { + super(0, true); + } + + static final void method3058(int i, int i_1_, int i_2_) { + Component186 class357 = Component335.aClass357ArrayArrayArray2029[i][i_1_][i_2_]; + if (class357 != null) { + Component191.method1376(class357.aClass318_Sub1_Sub4_4406); + Component191.method1376(class357.aClass318_Sub1_Sub4_4403); + if (class357.aClass318_Sub1_Sub4_4406 != null) class357.aClass318_Sub1_Sub4_4406 = null; + if (class357.aClass318_Sub1_Sub4_4403 != null) class357.aClass318_Sub1_Sub4_4403 = null; + } + } +} diff --git a/client/defs/DefinitionSub5.java b/client/defs/DefinitionSub5.java new file mode 100644 index 000000000..2eacaf6d9 --- /dev/null +++ b/client/defs/DefinitionSub5.java @@ -0,0 +1,235 @@ +/* DefinitionSub5 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.util.Random; + +final class DefinitionSub5 +/** + * RENAMED from `Class348_Sub40_Sub5` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + private short[] aShortArray9116 = new short[512]; + private int anInt9117; + private int anInt9118 = 1; + private byte[] aByteArray9119 = new byte[512]; + static int anInt9120; + static boolean aBoolean9121 = false; + private int anInt9122; + static int anInt9123; + private int anInt9124; + private int anInt9125 = 2048; + static int anInt9126; + static int anInt9127; + static int anInt9128; + private int anInt9129; + static StringCache aClass351_9130 = new StringCache(1, -1); + + public static void method3059(int i) { + aClass351_9130 = null; + if (i >= -111) method3059(-83); + } + + static final int method3060(int i, boolean bool) { + anInt9128++; + if (bool != true) aClass351_9130 = null; + return 0x7f & i >> 11; + } + + private final void method3061(boolean bool) { + anInt9120++; + if (bool == true) { + Random random = new Random(anInt9122); + aShortArray9116 = new short[512]; + if (anInt9125 > 0) { + for (int i = 0; i < 512; i++) + aShortArray9116[i] = (short) DisplayModeManagerContainer77.method1097((byte) 81, anInt9125, random); + } + } + } + + public DefinitionSub5() { + super(0, true); + anInt9124 = 2; + anInt9122 = 0; + anInt9117 = 5; + anInt9129 = 5; + } + + final void postDecode(int i) { + if (i > 108) { + aByteArray9119 = GraphicsToolkit.method3664(anInt9122, 124); + anInt9126++; + method3061(true); + } + } + + final int[] getMonochromeOutput(int i, int i_0_) { + anInt9123++; + int[] is = this.imageCache.getPixels(0, i); + if (i_0_ != 255) postDecode(-57); + if (this.imageCache.cacheMiss) { + int i_1_ = anInt9117 * Component302.anIntArray6035[i] + 2048; + int i_2_ = i_1_ >> 12; + int i_3_ = 1 + i_2_; + int i_4_ = 0; + while_140_: + for (/**/; DefinitionSub6.anInt9139 > i_4_; i_4_++) { + HashNodeSub20.anInt9715 = ScreenModeManager.anInt2835 = Component335.anInt2023 = DisplayModeManagerContainer136.anInt4715 = 2147483647; + int i_5_ = 2048 - -(RenderableSub6.anIntArray6432[i_4_] * anInt9129); + int i_6_ = i_5_ >> 12; + int i_7_ = i_6_ + 1; + for (int i_8_ = i_2_ + -1; i_8_ <= i_3_; i_8_++) { + int i_9_ = 0xff & aByteArray9119[0xff & (i_8_ >= anInt9117 ? i_8_ + -anInt9117 : i_8_)]; + for (int i_10_ = -1 + i_6_; i_7_ >= i_10_; i_10_++) { + int i_11_ = 2 * (0xff & aByteArray9119[((anInt9129 > i_10_ ? i_10_ : -anInt9129 + i_10_) + i_9_) & 0xff]); + int i_12_ = (-(i_10_ << 12) - (aShortArray9116[i_11_++] - i_5_)); + int i_13_ = (-(i_8_ << 12) + (-aShortArray9116[i_11_] + i_1_)); + int i_14_ = anInt9118; + int i_15_; + while_136_: + do { + while_135_: + do { + while_134_: + do { + while_133_: + do { + do { + if (i_14_ == 1) { + i_15_ = ((i_13_ * i_13_ + i_12_ * i_12_) >> 12); + break while_136_; + } else if (i_14_ != 3) { + if (i_14_ != 4) { + if (i_14_ != 5) { + if (i_14_ == 2) break while_134_; + break while_135_; + } + } else break; + break while_133_; + } + i_12_ = i_12_ < 0 ? -i_12_ : i_12_; + i_13_ = (i_13_ < 0 ? -i_13_ : i_13_); + i_15_ = (Math.max(i_12_, i_13_)); + break while_136_; + } while (false); + i_12_ = (int) ((Math.sqrt((float) ((i_12_ < 0) ? -i_12_ : i_12_) / 4096.0F)) * 4096.0); + i_13_ = (int) (4096.0 * (Math.sqrt((float) ((i_13_ < 0) ? -i_13_ : i_13_) / 4096.0F))); + i_15_ = i_13_ + i_12_; + i_15_ = i_15_ * i_15_ >> 12; + break while_136_; + } while (false); + i_13_ *= i_13_; + i_12_ *= i_12_; + i_15_ = (int) (4096.0 * (Math.sqrt(Math.sqrt((float) (i_12_ + i_13_) / 1.6777216E7F)))); + break while_136_; + } while (false); + i_15_ = ((i_12_ < 0 ? -i_12_ : i_12_) - -(i_13_ >= 0 ? i_13_ : -i_13_)); + break while_136_; + } while (false); + i_15_ = (int) (4096.0 * (Math.sqrt((float) (i_12_ * i_12_ - -(i_13_ * i_13_)) / 1.6777216E7F))); + } while (false); + if (HashNodeSub20.anInt9715 <= i_15_) { + if (i_15_ >= ScreenModeManager.anInt2835) { + if (i_15_ < Component335.anInt2023) { + DisplayModeManagerContainer136.anInt4715 = Component335.anInt2023; + Component335.anInt2023 = i_15_; + } else if (i_15_ < DisplayModeManagerContainer136.anInt4715) DisplayModeManagerContainer136.anInt4715 = i_15_; + } else { + DisplayModeManagerContainer136.anInt4715 = Component335.anInt2023; + Component335.anInt2023 = ScreenModeManager.anInt2835; + ScreenModeManager.anInt2835 = i_15_; + } + } else { + DisplayModeManagerContainer136.anInt4715 = Component335.anInt2023; + Component335.anInt2023 = ScreenModeManager.anInt2835; + ScreenModeManager.anInt2835 = HashNodeSub20.anInt9715; + HashNodeSub20.anInt9715 = i_15_; + } + } + } + int i_16_ = anInt9124; + while_138_: + do { + while_137_: + do { + do { + if (i_16_ == 0) { + is[i_4_] = HashNodeSub20.anInt9715; + continue while_140_; + } else if (i_16_ != 1) { + if (i_16_ != 3) { + if (i_16_ != 4) { + if (i_16_ == 2) break while_138_; + continue while_140_; + } + } else break; + break while_137_; + } + is[i_4_] = ScreenModeManager.anInt2835; + continue while_140_; + } while (false); + is[i_4_] = Component335.anInt2023; + continue while_140_; + } while (false); + is[i_4_] = DisplayModeManagerContainer136.anInt4715; + continue while_140_; + } while (false); + is[i_4_] = ScreenModeManager.anInt2835 + -HashNodeSub20.anInt9715; + } + } + return is; + } + + final void method3049(Buffer class348_sub49, int i, int i_17_) { + if (i_17_ == 31015) { + int i_18_ = i; + while_145_: + do { + while_144_: + do { + while_143_: + do { + while_142_: + do { + while_141_: + do { + do { + if (i_18_ == 0) { + anInt9129 = anInt9117 = class348_sub49.readUnsignedByte(i_17_ ^ 0x79d8); + break while_145_; + } else if (i_18_ != 1) { + if (i_18_ != 2) { + if (i_18_ != 3) { + if (i_18_ != 4) { + if (i_18_ != 5) { + if (i_18_ == 6) break while_144_; + break while_145_; + } + } else break while_142_; + break while_143_; + } + } else break; + break while_141_; + } + anInt9122 = class348_sub49.readUnsignedByte(i_17_ + -30760); + break while_145_; + } while (false); + anInt9125 = class348_sub49.readUnsignedShort(842397944); + break while_145_; + } while (false); + anInt9124 = class348_sub49.readUnsignedByte(i_17_ ^ 0x79d8); + break while_145_; + } while (false); + anInt9118 = class348_sub49.readUnsignedByte(i_17_ ^ 0x79d8); + break while_145_; + } while (false); + anInt9129 = class348_sub49.readUnsignedByte(255); + break while_145_; + } while (false); + anInt9117 = class348_sub49.readUnsignedByte(255); + } while (false); + anInt9127++; + } + } +} diff --git a/client/defs/DefinitionSub6.java b/client/defs/DefinitionSub6.java new file mode 100644 index 000000000..c9ef50855 --- /dev/null +++ b/client/defs/DefinitionSub6.java @@ -0,0 +1,103 @@ +/* DefinitionSub6 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DefinitionSub6 +/** + * RENAMED from `Class348_Sub40_Sub6` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + static int anInt9131; + static int anInt9132; + private int anInt9133 = 32768; + static byte[][][] aByteArrayArrayArray9134; + static int[] anIntArray9135; + static int anInt9136; + static int anInt9137; + static int anInt9138; + static int anInt9139; + + public DefinitionSub6() { + super(3, false); + } + + final int[] getMonochromeOutput(int i, int i_0_) { + anInt9137++; + int[] is = this.imageCache.getPixels(0, i); + if (i_0_ != 255) method3049(null, -123, 82); + if (this.imageCache.cacheMiss) { + int[] is_1_ = this.method3048(i, i_0_ + 633706082, 1); + int[] is_2_ = this.method3048(i, i_0_ ^ 0x25c5979e, 2); + for (int i_3_ = 0; i_3_ < anInt9139; i_3_++) { + int i_4_ = 0xff & is_1_[i_3_] >> 4; + int i_5_ = anInt9133 * is_2_[i_3_] >> 12; + int i_6_ = Component296.anIntArray4654[i_4_] * i_5_ >> 12; + int i_7_ = Component366.anIntArray3068[i_4_] * i_5_ >> 12; + int i_8_ = i_3_ - -(i_6_ >> 12) & Component287.anInt6076; + int i_9_ = i - -(i_7_ >> 12) & DisplayModeManagerContainer356.anInt6325; + int[] is_10_ = this.method3048(i_9_, 633706337, 0); + is[i_3_] = is_10_[i_8_]; + } + } + return is; + } + + public static void method3062(boolean bool) { + if (bool != true) aByteArrayArrayArray9134 = null; + anIntArray9135 = null; + aByteArrayArrayArray9134 = null; + } + + final void method3049(Buffer class348_sub49, int i, int i_11_) { + int i_12_ = i; + do { + if (i_12_ == 0) { + anInt9133 = class348_sub49.readUnsignedShort(842397944) << 4; + break; + } else if (i_12_ != 1) break; + this.use2dImageCache = class348_sub49.readUnsignedByte(255) == 1; + } while (false); + if (i_11_ != 31015) method3062(false); + anInt9138++; + } + + final void postDecode(int i) { + Component7.method1605(26188); + anInt9136++; + if (i < 108) anInt9139 = 126; + } + + final int[][] getColourOutput(int i, int i_13_) { + anInt9131++; + int[][] is = this.imageCacheStore.getPixels(i_13_ ^ 0x5d41e284, i); + if (i_13_ != -1564599039) aByteArrayArrayArray9134 = null; + if (this.imageCacheStore.cacheMiss) { + int[] is_14_ = this.method3048(i, 633706337, 1); + int[] is_15_ = this.method3048(i, 633706337, 2); + int[] is_16_ = is[0]; + int[] is_17_ = is[1]; + int[] is_18_ = is[2]; + for (int i_19_ = 0; anInt9139 > i_19_; i_19_++) { + int i_20_ = 0xff & 255 * is_14_[i_19_] >> 12; + int i_21_ = anInt9133 * is_15_[i_19_] >> 12; + int i_22_ = i_21_ * Component296.anIntArray4654[i_20_] >> 12; + int i_23_ = i_21_ * Component366.anIntArray3068[i_20_] >> 12; + int i_24_ = i_19_ + (i_22_ >> 12) & Component287.anInt6076; + int i_25_ = (i_23_ >> 12) + i & DisplayModeManagerContainer356.anInt6325; + int[][] is_26_ = this.method3039((byte) -57, i_25_, 0); + is_16_[i_19_] = is_26_[0][i_24_]; + is_17_[i_19_] = is_26_[1][i_24_]; + is_18_[i_19_] = is_26_[2][i_24_]; + } + } + return is; + } + + static final int method3063(boolean bool) { + anInt9132++; + int i = RSARequest.currentLoadingState.getStageId(-125); + if (bool != false) anIntArray9135 = null; + if (i < ShaderCompilerSub2.aClass56Array6515.length + -1) RSARequest.currentLoadingState = ShaderCompilerSub2.aClass56Array6515[1 + i]; + return 100; + } +} diff --git a/client/defs/DefinitionSub8.java b/client/defs/DefinitionSub8.java new file mode 100644 index 000000000..b8cadd805 --- /dev/null +++ b/client/defs/DefinitionSub8.java @@ -0,0 +1,254 @@ +/* DefinitionSub8 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.awt.*; + +final class DefinitionSub8 +/** + * RENAMED from `Class348_Sub40_Sub8` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + static int anInt9148; + int anInt9149 = 1638; + int anInt9150; + static int anInt9151; + private byte[] aByteArray9152 = new byte[512]; + static int anInt9153; + static int anInt9154; + static int anInt9155; + int anInt9156; + static int anInt9157; + int anInt9158; + private short[] aShortArray9159; + boolean aBoolean9160 = true; + static int anInt9161; + private short[] aShortArray9162; + static Color[] aColorArray9163 = {new Color(9179409), new Color(16777215), new Color(16726277), new Color(16726277)}; + int anInt9164; + static SocketStream aClass238_9165; + + final void method3049(Buffer class348_sub49, int i, int i_0_) { + int i_1_ = i; + while_151_: + do { + while_150_: + do { + while_149_: + do { + while_148_: + do { + while_147_: + do { + do { + if (i_1_ == 0) { + this.aBoolean9160 = class348_sub49.readUnsignedByte(i_0_ ^ 0x79d8) == 1; + break while_151_; + } else if (i_1_ != 1) { + if (i_1_ != 2) { + if (i_1_ != 3) { + if (i_1_ != 4) { + if (i_1_ != 5) { + if (i_1_ == 6) break while_150_; + break while_151_; + } + } else break while_148_; + break while_149_; + } + } else break; + break while_147_; + } + this.anInt9150 = class348_sub49.readUnsignedByte(i_0_ ^ 0x79d8); + break while_151_; + } while (false); + this.anInt9149 = class348_sub49.readShort(13638); + if (this.anInt9149 < 0) { + aShortArray9159 = new short[(this.anInt9150)]; + for (i_1_ = 0; (this.anInt9150 > i_1_); i_1_++) + aShortArray9159[i_1_] = (short) class348_sub49.readShort(13638); + } + break while_151_; + } while (false); + this.anInt9158 = this.anInt9164 = class348_sub49.readUnsignedByte(255); + break while_151_; + } while (false); + this.anInt9156 = class348_sub49.readUnsignedByte(255); + break while_151_; + } while (false); + this.anInt9158 = class348_sub49.readUnsignedByte(255); + break while_151_; + } while (false); + this.anInt9164 = class348_sub49.readUnsignedByte(255); + } while (false); + if (i_0_ != 31015) method3070(20, 127, -38, 124, -110, true, 16); + anInt9153++; + } + + final int[] getMonochromeOutput(int i, int i_2_) { + anInt9154++; + int[] is = this.imageCache.getPixels(0, i); + if (this.imageCache.cacheMiss) method3069(i, is, (byte) 98); + return is; + } + + public DefinitionSub8() { + super(0, true); + this.anInt9150 = 4; + this.anInt9156 = 0; + this.anInt9164 = 4; + this.anInt9158 = 4; + } + + final void postDecode(int i) { + aByteArray9152 = GraphicsToolkit.method3664(this.anInt9156, 95); + anInt9148++; + method3067((byte) -98); + int i_3_ = this.anInt9150 + -1; + if (i < 108) aClass238_9165 = null; + for (/**/; i_3_ >= 1; i_3_--) { + short i_4_ = aShortArray9159[i_3_]; + if (i_4_ > 8) break; + if (i_4_ < -8) break; + this.anInt9150--; + } + } + + private final void method3067(byte i) { + int i_5_ = 25 / ((i - -28) / 57); + if (this.anInt9149 > 0) { + aShortArray9162 = new short[this.anInt9150]; + aShortArray9159 = new short[this.anInt9150]; + for (int i_6_ = 0; this.anInt9150 > i_6_; i_6_++) { + aShortArray9159[i_6_] = (short) (int) ((Math.pow((float) this.anInt9149 / 4096.0F, i_6_)) * 4096.0); + aShortArray9162[i_6_] = (short) (int) Math.pow(2.0, i_6_); + } + } else if (aShortArray9159 != null && (this.anInt9150 == aShortArray9159.length)) { + aShortArray9162 = new short[this.anInt9150]; + for (int i_7_ = 0; (i_7_ < this.anInt9150); i_7_++) + aShortArray9162[i_7_] = (short) (int) Math.pow(2.0, i_7_); + } + anInt9151++; + } + + public static void method3068(int i) { + aColorArray9163 = null; + if (i != 13715) aClass238_9165 = null; + aClass238_9165 = null; + } + + final void method3069(int i, int[] is, byte i_8_) { + anInt9161++; + int i_9_ = (Component302.anIntArray6035[i] * this.anInt9164); + if (i_8_ > 91) { + if (this.anInt9150 == 1) { + int i_39_ = aShortArray9162[0] << 12; + int i_40_ = aShortArray9159[0]; + int i_41_ = i_39_ * i_9_ >> 12; + int i_42_ = (i_39_ * this.anInt9158 >> 12); + int i_43_ = (this.anInt9164 * i_39_ >> 12); + int i_44_ = i_41_ >> 12; + int i_45_ = 1 + i_44_; + i_41_ &= 0xfff; + if (i_45_ >= i_43_) i_45_ = 0; + int i_46_ = aByteArray9152[0xff & i_45_] & 0xff; + int i_47_ = HelveticaFont.anIntArray2631[i_41_]; + int i_48_ = aByteArray9152[0xff & i_44_] & 0xff; + if (this.aBoolean9160) { + for (int i_52_ = 0; (DefinitionSub6.anInt9139 > i_52_); i_52_++) { + int i_53_ = (this.anInt9158 * RenderableSub6.anIntArray6432[i_52_]); + int i_54_ = method3070(i_46_, i_41_, i_42_, i_53_ * i_39_ >> 12, i_47_, true, i_48_); + i_54_ = i_40_ * i_54_ >> 12; + is[i_52_] = (i_54_ >> 1) + 2048; + } + } else { + for (int i_49_ = 0; i_49_ < DefinitionSub6.anInt9139; i_49_++) { + int i_50_ = (this.anInt9158 * RenderableSub6.anIntArray6432[i_49_]); + int i_51_ = method3070(i_46_, i_41_, i_42_, i_39_ * i_50_ >> 12, i_47_, true, i_48_); + is[i_49_] = i_51_ * i_40_ >> 12; + } + } + } else { + int i_10_ = aShortArray9159[0]; + if (i_10_ > 8 || i_10_ < -8) { + int i_11_ = aShortArray9162[0] << 12; + int i_12_ = i_11_ * i_9_ >> 12; + int i_13_ = (this.anInt9158 * i_11_ >> 12); + int i_14_ = (this.anInt9164 * i_11_ >> 12); + int i_15_ = i_12_ >> 12; + int i_16_ = 1 + i_15_; + if (i_16_ >= i_14_) i_16_ = 0; + i_12_ &= 0xfff; + int i_17_ = aByteArray9152[0xff & i_16_] & 0xff; + int i_18_ = aByteArray9152[0xff & i_15_] & 0xff; + int i_19_ = HelveticaFont.anIntArray2631[i_12_]; + for (int i_20_ = 0; DefinitionSub6.anInt9139 > i_20_; i_20_++) { + int i_21_ = (RenderableSub6.anIntArray6432[i_20_] * this.anInt9158); + int i_22_ = method3070(i_17_, i_12_, i_13_, i_11_ * i_21_ >> 12, i_19_, true, i_18_); + is[i_20_] = i_10_ * i_22_ >> 12; + } + } + for (int i_23_ = 1; this.anInt9150 > i_23_; i_23_++) { + i_10_ = aShortArray9159[i_23_]; + if (i_10_ > 8 || i_10_ < -8) { + int i_24_ = aShortArray9162[i_23_] << 12; + int i_25_ = i_24_ * i_9_ >> 12; + int i_26_ = (this.anInt9158 * i_24_ >> 12); + int i_27_ = (this.anInt9164 * i_24_ >> 12); + int i_28_ = i_25_ >> 12; + int i_29_ = 1 + i_28_; + i_25_ &= 0xfff; + if (i_29_ >= i_27_) i_29_ = 0; + int i_30_ = aByteArray9152[i_28_ & 0xff] & 0xff; + int i_31_ = HelveticaFont.anIntArray2631[i_25_]; + int i_32_ = 0xff & aByteArray9152[i_29_ & 0xff]; + if (this.aBoolean9160 && (this.anInt9150 - 1 == i_23_)) { + for (int i_33_ = 0; DefinitionSub6.anInt9139 > i_33_; i_33_++) { + int i_34_ = (RenderableSub6.anIntArray6432[i_33_] * (this.anInt9158)); + int i_35_ = method3070(i_32_, i_25_, i_26_, i_34_ * i_24_ >> 12, i_31_, true, i_30_); + i_35_ = is[i_33_] - -(i_35_ * i_10_ >> 12); + is[i_33_] = (i_35_ >> 1) + 2048; + } + } else { + for (int i_36_ = 0; (i_36_ < DefinitionSub6.anInt9139); i_36_++) { + int i_37_ = (this.anInt9158 * RenderableSub6.anIntArray6432[i_36_]); + int i_38_ = method3070(i_32_, i_25_, i_26_, i_37_ * i_24_ >> 12, i_31_, true, i_30_); + is[i_36_] += i_10_ * i_38_ >> 12; + } + } + } + } + } + } + } + + private final int method3070(int i, int i_55_, int i_56_, int i_57_, int i_58_, boolean bool, int i_59_) { + anInt9155++; + int i_60_ = i_57_ >> 12; + int i_61_ = i_60_ - -1; + i_60_ &= 0xff; + i_57_ &= 0xfff; + if (i_56_ <= i_61_) i_61_ = 0; + i_61_ &= 0xff; + int i_62_ = -4096 + i_57_; + int i_63_ = i_55_ + -4096; + int i_64_ = 0x3 & aByteArray9152[i_59_ + i_60_]; + int i_65_ = HelveticaFont.anIntArray2631[i_57_]; + int i_66_; + if (i_64_ > 1) i_66_ = i_64_ == 2 ? i_57_ - i_55_ : -i_55_ + -i_57_; + else i_66_ = i_64_ != 0 ? i_55_ - i_57_ : i_57_ + i_55_; + i_64_ = 0x3 & aByteArray9152[i_59_ + i_61_]; + int i_67_; + if (i_64_ <= 1) i_67_ = i_64_ == 0 ? i_62_ + i_55_ : i_55_ + -i_62_; + else i_67_ = i_64_ != 2 ? -i_55_ + -i_62_ : -i_55_ + i_62_; + i_64_ = aByteArray9152[i + i_60_] & 0x3; + if (bool != true) return -82; + int i_68_ = i_66_ - -(i_65_ * (i_67_ + -i_66_) >> 12); + if (i_64_ > 1) i_66_ = i_64_ == 2 ? -i_63_ + i_57_ : -i_57_ - i_63_; + else i_66_ = i_64_ != 0 ? -i_57_ + i_63_ : i_57_ - -i_63_; + i_64_ = 0x3 & aByteArray9152[i + i_61_]; + if (i_64_ > 1) i_67_ = i_64_ == 2 ? -i_63_ + i_62_ : -i_62_ - i_63_; + else i_67_ = i_64_ == 0 ? i_62_ - -i_63_ : i_63_ + -i_62_; + int i_69_ = ((-i_66_ + i_67_) * i_65_ >> 12) + i_66_; + return i_68_ - -(i_58_ * (-i_68_ + i_69_) >> 12); + } +} diff --git a/client/defs/DefinitionSub9.java b/client/defs/DefinitionSub9.java new file mode 100644 index 000000000..7c94285bb --- /dev/null +++ b/client/defs/DefinitionSub9.java @@ -0,0 +1,80 @@ +/* DefinitionSub9 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DefinitionSub9 +/** + * RENAMED from `Class348_Sub40_Sub9` (JODE-obfuscated). + * Evidence: subclass of Definition (hierarchy) + */ extends Definition { + static int anInt9166; + private int anInt9167 = 4096; + static int anInt9168; + static Applet_Sub1 anApplet_Sub1_9169 = null; + static int anInt9170; + static NodeCache aClass60_9171 = new NodeCache(4); + static int anInt9172; + static BitmapFont aClass324_9173; + + public static void method3071(byte i) { + if (i != 59) anApplet_Sub1_9169 = null; + aClass60_9171 = null; + aClass324_9173 = null; + } + + public DefinitionSub9() { + super(1, true); + } + + static final void method3072(byte i) { + anInt9168++; + int i_0_ = Component192.aClass348_Sub51_3959.aClass239_Sub14_7264.method1778(-32350); + int i_1_ = 14 / ((i - -34) / 61); + if (i_0_ == 0) { + Component156.aByteArrayArrayArray3700 = null; + DisplayModeManagerContainer57.method440(0, (byte) -61); + } else if (i_0_ == 1) { + Component281.method2280((byte) 0, 28587); + DisplayModeManagerContainer57.method440(512, (byte) -61); + if (ObjectDeserializer.aByteArrayArrayArray6962 != null) DisplayModeManagerContainer104.method2468(3613); + } else { + Component281.method2280((byte) (-4 + DisplayModeManagerContainer341.anInt6006 & 0xff), 28587); + DisplayModeManagerContainer57.method440(2, (byte) -61); + } + DisplayModeManagerContainer174.anInt10395 = Component117.anInt4372; + } + + final void method3049(Buffer class348_sub49, int i, int i_2_) { + if (i_2_ != 31015) getMonochromeOutput(-111, 25); + anInt9170++; + if (i == 0) anInt9167 = class348_sub49.readUnsignedShort(842397944); + } + + static final boolean method3073(int i, int i_3_, byte i_4_) { + anInt9172++; + if (i_4_ != 50) return false; + return (0x34 & i_3_) != 0; + } + + final int[] getMonochromeOutput(int i, int i_5_) { + anInt9166++; + int[] is = this.imageCache.getPixels(0, i); + if (this.imageCache.cacheMiss) { + int[] is_6_ = this.method3048(DisplayModeManagerContainer356.anInt6325 & -1 + i, 633706337, 0); + int[] is_7_ = this.method3048(i, 633706337, 0); + int[] is_8_ = this.method3048(i - -1 & DisplayModeManagerContainer356.anInt6325, 633706337, 0); + for (int i_9_ = 0; DefinitionSub6.anInt9139 > i_9_; i_9_++) { + int i_10_ = anInt9167 * (-is_6_[i_9_] + is_8_[i_9_]); + int i_11_ = (anInt9167 * (-is_7_[Component287.anInt6076 & -1 + i_9_] + is_7_[Component287.anInt6076 & i_9_ - -1])); + int i_12_ = i_11_ >> 12; + int i_13_ = i_10_ >> 12; + int i_14_ = i_12_ * i_12_ >> 12; + int i_15_ = i_13_ * i_13_ >> 12; + int i_16_ = (int) (4096.0 * Math.sqrt((float) (i_15_ + (i_14_ - -4096)) / 4096.0F)); + int i_17_ = i_16_ != 0 ? 16777216 / i_16_ : 0; + is[i_9_] = 4096 - i_17_; + } + } + return is; + } +} diff --git a/client/defs/ImageDefinition.java b/client/defs/ImageDefinition.java new file mode 100644 index 000000000..17fc93ee1 --- /dev/null +++ b/client/defs/ImageDefinition.java @@ -0,0 +1,530 @@ +/* ImageDefinition - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub40_Sub7` (JODE-obfuscated). + * Image/sprite definition (extends renamed Definition). getColourOutput() builds RGB int[][] pixel buffers (R/G/B channels) from a config cache (ImageCacheStore) and applies horizontal flip; produces decoded image data for the cache. + */ + +final class ImageDefinition extends Definition { + private boolean aBoolean9140 = true; + static int anInt9141; + static int anInt9142; + static int anInt9143; + static MenuEntry aMenuEntry_9144; + static int anInt9145; + static int anInt9146; + private boolean aBoolean9147 = true; + + final int[][] getColourOutput(int i, int i_0_) { + anInt9141++; + int[][] is = this.imageCacheStore.getPixels(-119, i); + if (this.imageCacheStore.cacheMiss) { + int[][] is_1_ = this.method3039((byte) 120, (aBoolean9147 ? -i + DisplayModeManagerContainer356.anInt6325 : i), 0); + int[] is_2_ = is_1_[0]; + int[] is_3_ = is_1_[1]; + int[] is_4_ = is_1_[2]; + int[] is_5_ = is[0]; + int[] is_6_ = is[1]; + int[] is_7_ = is[2]; + if (aBoolean9140) { + for (int i_8_ = 0; i_8_ < DefinitionSub6.anInt9139; i_8_++) { + is_5_[i_8_] = is_2_[Component287.anInt6076 + -i_8_]; + is_6_[i_8_] = is_3_[Component287.anInt6076 - i_8_]; + is_7_[i_8_] = is_4_[-i_8_ + Component287.anInt6076]; + } + } else { + for (int i_9_ = 0; (i_9_ < DefinitionSub6.anInt9139); i_9_++) { + is_5_[i_9_] = is_2_[i_9_]; + is_6_[i_9_] = is_3_[i_9_]; + is_7_[i_9_] = is_4_[i_9_]; + } + } + } + if (i_0_ != -1564599039) method3065(-40, true, 93); + return is; + } + + static final void method3064(int i, int i_10_, boolean bool, int i_11_, int i_12_, int i_13_, int i_14_, boolean bool_15_, DisplayModeManagerContainer57[] class46s, int i_16_, int i_17_) { + try { + NodeSub8.toolkit.KA(i, i_12_, i_14_, i_17_); + if (bool_15_ == false) { + anInt9145++; + int i_18_ = 0; + for (/**/; class46s.length > i_18_; i_18_++) { + DisplayModeManagerContainer57 class46 = class46s[i_18_]; + if (class46 != null && (class46.anInt834 == i_16_ || (i_16_ == -1412584499 && Component156.aClass46_3701 == class46))) { + int i_19_ = i_11_ + class46.anInt800; + int i_20_ = class46.anInt750 + i_10_; + i_20_ -= MobileKeyboard.liftPx(class46, i_19_, i_20_); + int i_21_ = 1 + (class46.anInt709 + i_19_); + int i_22_ = class46.anInt789 + i_20_ - -1; + int i_23_; + if (i_13_ == -1) { + Component166.aRectangleArray2371[NodeSub38.anInt7008].setBounds(i_19_, i_20_, class46.anInt709, class46.anInt789); + i_23_ = NodeSub38.anInt7008++; + } else i_23_ = i_13_; + class46.anInt794 = OpenGlShader.clientCycle; + class46.anInt760 = i_23_; + if (!client.method111(class46)) { + if (class46.anInt765 != 0) NodeSub18.method2942(class46, (byte) -36); + int i_24_ = i_19_; + int i_25_ = i_20_; + int i_26_ = 0; + int i_27_ = 0; + if (Component210.gameCanvasAttached) { + i_26_ = BufferCacheSub3.method4008((byte) -124); + i_27_ = Component110.method260(bool_15_); + } + int i_28_ = class46.anInt696; + if (DisplayModeManagerContainer356.aBoolean6327 && (client.method105(class46).anInt7098 != 0 || class46.anInt774 == 0) && i_28_ > 127) i_28_ = 127; + if (class46 == Component156.aClass46_3701) { + if (i_16_ != -1412584499 && ((Component37.anInt3930 == class46.anInt797) || (InputStream_Sub1.anInt78 == (class46.anInt797)))) { + Component257.anInt4792 = i_10_; + NodeSub1.anInt6555 = i_11_; + Component161.aClass46Array1942 = class46s; + continue; + } + if (Component189.aBoolean3819 && Component162.aBoolean8386) { + int i_29_ = (AbstractGlTextureSub4.mouseHandler.getCursorX(true) - -i_26_); + int i_30_ = (AbstractGlTextureSub4.mouseHandler.getCursorY((byte) 101) + i_27_); + i_29_ -= RenderableSub4.anInt6411; + i_30_ -= Component386.anInt2872; + if (DefinitionSub37.anInt9461 > i_29_) i_29_ = DefinitionSub37.anInt9461; + if (i_30_ < DisplayModeManagerContainer172.anInt558) i_30_ = DisplayModeManagerContainer172.anInt558; + if (class46.anInt709 + i_29_ > ((Component374.aClass46_4130.anInt709) + DefinitionSub37.anInt9461)) i_29_ = (-class46.anInt709 + ((DefinitionSub37.anInt9461) + (Component374.aClass46_4130.anInt709))); + if (i_30_ + class46.anInt789 > (Component374.aClass46_4130.anInt789) + DisplayModeManagerContainer172.anInt558) i_30_ = (-class46.anInt789 + (DisplayModeManagerContainer172.anInt558 - -(Component374.aClass46_4130.anInt789))); + i_24_ = i_29_; + i_25_ = i_30_; + } + if (class46.anInt797 == InputStream_Sub1.anInt78) i_28_ = 128; + } + int i_31_; + int i_32_; + int i_33_; + int i_34_; + if (class46.anInt774 == 2) { + i_31_ = i; + i_32_ = i_12_; + i_33_ = i_17_; + i_34_ = i_14_; + } else { + int i_35_ = i_24_ - -class46.anInt709; + int i_36_ = i_25_ + class46.anInt789; + if (class46.anInt774 == 9) { + i_36_++; + i_35_++; + } + i_31_ = Math.max(i, i_24_); + i_32_ = (Math.max(i_12_, i_25_)); + i_34_ = Math.min(i_14_, i_35_); + i_33_ = (Math.min(i_17_, i_36_)); + } + if (i_31_ < i_34_ && i_32_ < i_33_) { + if (class46.anInt765 != 0) { + if ((Component98.anInt5943 == class46.anInt765) || (class46.anInt765 == Component37.anInt3932)) { + Component2.method198(class46, false, i_25_, i_24_); + if (!Component210.gameCanvasAttached) { + OutputStream_Sub1.method132(124, (Component37.anInt3932 == (class46.anInt765)), class46.anInt709, i_24_, class46.anInt789, i_25_); + NodeSub8.toolkit.KA(i, i_12_, i_14_, i_17_); + } + InflaterDecompressor.aBooleanArray2076[i_23_] = true; + continue; + } + if (class46.anInt765 == Component200.anInt3717) { + if (class46.method425((NodeSub8.toolkit), (byte) 8) != null) { + Component381.method3570(false); + HashTable.method1007(class46, (NodeSub8.toolkit), i_24_, i_25_, 22960); + DisplayModeManagerContainer259.aBooleanArray3438[i_23_] = true; + NodeSub8.toolkit.KA(i, i_12_, i_14_, i_17_); + if (Component210.gameCanvasAttached) { + if (bool) Component103.method2663(-5590, i_19_, i_21_, i_20_, i_22_); + else Component285.method503(i_22_, i_19_, (byte) -74, i_21_, i_20_); + } + } + continue; + } + if (class46.anInt765 == LibraryCreditsText.anInt5951) { + if (class46.method425((NodeSub8.toolkit), (byte) 26) != null) { + DisplayModeManagerContainer220.method271(i_25_, class46, (byte) -98, i_24_); + DisplayModeManagerContainer259.aBooleanArray3438[i_23_] = true; + NodeSub8.toolkit.KA(i, i_12_, i_14_, i_17_); + if (Component210.gameCanvasAttached) { + if (!bool) Component285.method503(i_22_, i_19_, (byte) -74, i_21_, i_20_); + else Component103.method2663(-5590, i_19_, i_21_, i_20_, i_22_); + } + } + continue; + } + if (class46.anInt765 == NodeSub45.anInt7102) { + DisplayModeManagerContainer104.method2464((byte) -7, i_24_, class46.anInt709, class46.anInt789, NodeSub8.toolkit, i_25_, DefinitionSub4.aD9113); + InflaterDecompressor.aBooleanArray2076[i_23_] = true; + NodeSub8.toolkit.KA(i, i_12_, i_14_, i_17_); + continue; + } + if (SceneManager.anInt2861 == class46.anInt765) { + TeleportHandler.method3498(class46.anInt789, NodeSub8.toolkit, i_24_, class46.anInt709, true, i_25_); + InflaterDecompressor.aBooleanArray2076[i_23_] = true; + NodeSub8.toolkit.KA(i, i_12_, i_14_, i_17_); + continue; + } + if (Component257.anInt4793 == class46.anInt765) { + if (Component10.fpsOverlayEnabled || ReliefShader.aBoolean2514) { + int i_37_ = (class46.anInt709 + i_24_); + int i_38_ = 15 + i_25_; + if (Component210.gameCanvasAttached) { + if (!bool) Component285.method503(i_22_, i_19_, (byte) -74, i_21_, i_20_); + else Component103.method2663(-5590, i_19_, i_21_, i_20_, i_22_); + } + if (Component10.fpsOverlayEnabled) { + int i_39_ = -256; + if (DisplayModeManagerContainer348.fps < 20) i_39_ = -65536; + Applet_Sub1.aClass324_20.drawTextRightAligned("Fps:" + (DisplayModeManagerContainer348.fps), i_38_, i_39_, i_37_, -128, -1); + i_38_ += 15; + Runtime runtime = Runtime.getRuntime(); + int i_40_ = (int) (((runtime.totalMemory()) + -(runtime.freeMemory())) / 1024L); + int i_41_ = -256; + if (i_40_ > 98304) { + i_41_ = -65536; + if (DisplayModeManagerContainer254.aBoolean2151) { + DisplayModeManagerContainer57.method427(-35); + for (int i_42_ = 0; i_42_ < 10; i_42_++) + System.gc(); + i_40_ = (int) (((runtime.totalMemory()) - (runtime.freeMemory())) / 1024L); + if (i_40_ > 65536) DisplayModeManagerContainer213.method544("WARNING: Memory usage over 64MB! Please inform whoever is responsible for the content/area you are using/in.", false, 4); + } + } + Applet_Sub1.aClass324_20.drawTextRightAligned("Mem:" + i_40_ + "k", i_38_, i_41_, i_37_, -124, -1); + i_38_ += 15; + Applet_Sub1.aClass324_20.drawTextRightAligned(("In:" + Component235.anInt3372 + "B/s Out:" + (NodeSub48.anInt7134) + "B/s"), i_38_, -256, i_37_, -127, -1); + i_38_ += 15; + int i_43_ = (NodeSub8.toolkit.E() / 1024); + Applet_Sub1.aClass324_20.drawTextRightAligned("Offheap:" + i_43_ + "k", i_38_, (i_43_ <= 65536 ? -256 : -65536), i_37_, -125, -1); + i_38_ += 15; + int i_44_ = 0; + int i_45_ = 0; + int i_46_ = 0; + for (int i_47_ = 0; (i_47_ < 37); i_47_++) { + if ((Component354.aClass314_Sub1Array223[i_47_]) != null) { + i_44_ += (Component354.aClass314_Sub1Array223[i_47_].getGroupCount(0)); + i_45_ += (Component354.aClass314_Sub1Array223[i_47_].getLoadedGroupCount(0)); + i_46_ += (Component354.aClass314_Sub1Array223[i_47_].getPrefetchProgress(24940)); + } + } + int i_48_ = i_46_ * 100 / i_44_; + int i_49_ = 10000 * i_45_ / i_44_; + String string = ("Cache:" + (Component186.method3486(2, true, 0, i_49_, 16980)) + "% (" + i_48_ + "%)"); + Component49.aClass324_4684.drawTextRightAligned(string, i_38_, -256, i_37_, -127, -1); + i_38_ += 12; + if (Loader.showCoordinates) { + int playerX = (Component72.localPlayer.x >> 9) + NodeBaseSub2.regionTileX; + int playerY = (Component72.localPlayer.y >> 9) + Component330.regionTileY; + Component49.aClass324_4684.drawTextRightAligned("Coordinates: " + playerX + ", " + playerY + ", " + Component72.localPlayer.plane, i_38_, -256, i_37_, -127, -1); + i_38_ += 12; + Component49.aClass324_4684.drawTextRightAligned("Region id: " + (((playerX >> 6) << 8) + (playerY >> 6)) + " (" + (playerX >> 6) + ", " + (playerY >> 6) + ")", i_38_, -256, i_37_, -127, -1); + i_38_ += 12; + Component49.aClass324_4684.drawTextRightAligned("Chunk: " + (playerX >> 3) + ", " + (playerY >> 3), i_38_, -256, i_37_, -127, -1); + i_38_ += 12; + } + } + if (Component55.anInt3936 > 0) Component49.aClass324_4684.drawTextRightAligned(("Particles: " + (Component203.anInt8780) + " / " + Component55.anInt3936), i_38_, -256, i_37_, -121, -1); + i_38_ += 12; + if (ReliefShader.aBoolean2514) { + Component49.aClass324_4684.drawTextRightAligned(("Polys: " + NodeSub8.toolkit.I() + " Models: " + NodeSub8.toolkit.M()), i_38_, -256, i_37_, -127, -1); + i_38_ += 12; + Component49.aClass324_4684.drawTextRightAligned(("Ls: " + DisplayModeManagerContainer249.anInt4666 + " La: " + Component328.anInt1482 + " NPC: " + Component150.anInt2968 + " Pl: " + NodeBaseSub1.anInt9776), i_38_, -256, i_37_, -122, -1); + Component362.method1042((byte) -123); + i_38_ += 12; + } + InflaterDecompressor.aBooleanArray2076[i_23_] = true; + } + continue; + } + } + if (class46.anInt774 == 0) { + if ((class46.anInt765 == Component86.anInt4532) && NodeSub8.toolkit.method3666()) NodeSub8.toolkit.method3658(i_24_, i_25_, class46.anInt709, class46.anInt789); + method3064(i_31_, -class46.anInt755 + i_25_, bool, i_24_ - class46.anInt747, i_32_, i_23_, i_34_, false, class46s, class46.anInt830, i_33_); + if (class46.aClass46Array798 != null) method3064(i_31_, -(class46.anInt755) + i_25_, bool, i_24_ - (class46.anInt747), i_32_, i_23_, i_34_, false, (class46.aClass46Array798), (class46.anInt830), i_33_); + NodeSub41 class348_sub41 = ((NodeSub41) (Component15.aClass356_4915.get(class46.anInt830, -6008))); + if (class348_sub41 != null) Component146.method1252(i_25_, (class348_sub41.anInt7050), i_32_, i_23_, i_24_, i_34_, i_33_, (byte) 60, i_31_); + if ((class46.anInt765 == Component86.anInt4532) && NodeSub8.toolkit.method3666()) NodeSub8.toolkit.method3698(); + NodeSub8.toolkit.KA(i, i_12_, i_14_, i_17_); + } + if (Component143.aBooleanArray2326[i_23_] || GlToolkitSub3.anInt8045 > 1) { + if (class46.anInt774 == 3) { + if (i_28_ == 0) { + if (class46.aBoolean810) NodeSub8.toolkit.fillRect(i_24_, i_25_, (class46.anInt709), (class46.anInt789), (class46.anInt749), 0); + else NodeSub8.toolkit.method3628(i_24_, i_25_, (class46.anInt709), (class46.anInt789), (class46.anInt749), 0); + } else if (!class46.aBoolean810) NodeSub8.toolkit.method3628(i_24_, i_25_, class46.anInt709, class46.anInt789, (0xffffff & class46.anInt749 | (-(i_28_ & 0xff) + 255 << 24)), 1); + else NodeSub8.toolkit.fillRect(i_24_, i_25_, class46.anInt709, class46.anInt789, (0xffffff & class46.anInt749 | (-(0xff & i_28_) + 255 << 24)), 1); + if (Component210.gameCanvasAttached) { + if (bool) Component103.method2663(-5590, i_19_, i_21_, i_20_, i_22_); + else Component285.method503(i_22_, i_19_, (byte) -74, i_21_, i_20_); + } + } else if (class46.anInt774 == 4) { + BitmapFont class324 = class46.method426((NodeSub8.toolkit), (byte) 68); + if (class324 == null) { + if (HashNodeSub13.aBoolean9616) Component111.markInterfaceDirty(-9343, class46); + } else { + int i_50_ = class46.anInt749; + String string = (class46.aString792); + if (class46.anInt812 != -1) { + ItemDefinition class213 = (Exception_Sub1.itemDefinitions.getItemDefinition(-67, (class46.anInt812))); + string = (class213.itemName); + if (string == null) string = "null"; + if (((class213.anInt2820) == 1 || (class46.anInt781) != 1) && (class46.anInt781) != -1) string = ("" + string + " x" + (NameFormatter.formatQuantity(-127, (class46.anInt781)))); + } + if (class46.anInt806 != -1) { + string = (WaterSurfaceShader.method2157((class46.anInt806), -1431655765)); + if (string == null) string = ""; + } + if (Component297.aClass46_4730 == class46) { + string = (FriendsIgnoreList.aClass274_3514.getLocalized((ObjectDeserializer.languageId), 544)); + i_50_ = (class46.anInt749); + } + if (Component29.aBoolean10046) NodeSub8.toolkit.T(i_24_, i_25_, (class46.anInt709) + i_24_, (class46.anInt789) + i_25_); + class324.method2568(null, class46.anInt789, (byte) -77, null, 0, Component22.aClass105Array1744, (-(i_28_ & 0xff) + 255 << 24) | i_50_, i_25_, class46.anInt709, class46.anInt700, string, 0, i_24_, class46.anInt762, (!(class46.aBoolean769) ? -1 : (-(0xff & i_28_) + 255 << 24)), class46.anInt773, class46.anInt673); + if (Component29.aBoolean10046) NodeSub8.toolkit.KA(i, i_12_, i_14_, i_17_); + if (string.trim().length() > 0) { + if (Component29.aBoolean10046) { + if (Component210.gameCanvasAttached) { + if (!bool) Component285.method503(i_22_, i_19_, (byte) -74, i_21_, i_20_); + else Component103.method2663(-5590, i_19_, i_21_, i_20_, i_22_); + } + } else { + Component184 class143 = (Component137.method1151(-25411, (NodeSub8.toolkit), (class46.anInt702))); + int i_51_ = (class143.method1187(string, bool_15_, class46.anInt709, (Component22.aClass105Array1744))); + int i_52_ = (class143.method1185((Component22.aClass105Array1744), 0, class46.anInt673, class46.anInt709, string)); + if (Component210.gameCanvasAttached) { + if (!bool) Component285.method503(i_25_ + i_52_, i_24_, (byte) -74, (i_24_ - -i_51_), i_25_); + else Component103.method2663(-5590, i_24_, i_51_ + i_24_, i_25_, (i_25_ + i_52_)); + } + } + } + } + } else if (class46.anInt774 == 5) { + if (class46.anInt705 >= 0) + class46.method444(bool_15_, Component132.aClass25_1813, ComponentDownloader.aClass84_413).method2293(0, NodeSub8.toolkit, (byte) -35, i_24_, class46.anInt709, i_25_, (class46.anInt835 << 3), (class46.anInt759 << 3), 0, class46.anInt789); + else { + Component24 class105; + if (class46.anInt812 != -1) { + Component101 class154 = ((class46.aBoolean720) ? (Component72.localPlayer.appearance) : null); + class105 = (Exception_Sub1.itemDefinitions.method1941((class46.anInt672), (byte) -74, (class46.anInt812), (class46.anInt781), (~0xffffff | (class46.anInt809)), (class46.anInt678), NodeSub8.toolkit, class154)); + } else if ((class46.anInt806) == -1) class105 = (class46.method443(NodeSub8.toolkit, (byte) -57)); + else class105 = (Component264.method2263(NodeSub8.toolkit, 0, (class46.anInt806))); + if (class105 == null) { + if (HashNodeSub13.aBoolean9616) Component111.markInterfaceDirty(-9343, class46); + } else { + int i_53_ = class105.method966(); + int i_54_ = class105.method980(); + int i_55_ = ((-(i_28_ & 0xff) + 255 << 24) | ((class46.anInt749) != 0 ? (class46.anInt749 & 0xffffff) : 16777215)); + if (class46.aBoolean697) { + NodeSub8.toolkit.T(i_24_, i_25_, i_24_ - -(class46.anInt709), (class46.anInt789) + i_25_); + if ((class46.anInt828) != 0) { + int i_56_ = ((i_53_ - 1 + (class46.anInt709)) / i_53_); + int i_57_ = ((i_54_ - 1 + (class46.anInt789)) / i_54_); + for (int i_58_ = 0; i_58_ < i_56_; i_58_++) { + for (int i_59_ = 0; i_59_ < i_57_; i_59_++) { + if ((class46.anInt749) == 0) class105.method981((((float) i_53_ / 2.0F) + (float) (i_24_ - -(i_53_ * i_58_))), (((float) i_54_ / 2.0F) + (float) (i_59_ * i_54_ + i_25_)), 4096, (class46.anInt828)); + else class105.method977((((float) i_53_ / 2.0F) + (float) (i_53_ * i_58_ + i_24_)), (((float) i_54_ / 2.0F) + (float) (i_25_ + i_59_ * i_54_)), 4096, (class46.anInt828), 0, i_55_, 1); + } + } + } else if ((class46.anInt749) != 0 || (i_28_ != 0)) class105.method965(i_24_, i_25_, (class46.anInt709), (class46.anInt789), 0, i_55_, 1); + else class105.method972(i_24_, i_25_, (class46.anInt709), (class46.anInt789)); + NodeSub8.toolkit.KA(i, i_12_, i_14_, i_17_); + } else if ((class46.anInt749) == 0 && i_28_ == 0) { + if ((class46.anInt828) != 0) class105.method981(((float) i_24_ + ((float) (class46.anInt709) / 2.0F)), (((float) (class46.anInt789) / 2.0F) + (float) i_25_), (4096 * (class46.anInt709) / i_53_), (class46.anInt828)); + else if ((i_53_ == (class46.anInt709)) && ((class46.anInt789) == i_54_)) class105.method974(i_24_, i_25_); + else class105.method973(i_24_, i_25_, (class46.anInt709), (class46.anInt789)); + } else if (class46.anInt828 != 0) class105.method977(((float) i_24_ + ((float) (class46.anInt709) / 2.0F)), ((float) i_25_ + ((float) (class46.anInt789) / 2.0F)), (4096 * class46.anInt709 / i_53_), (class46.anInt828), 0, i_55_, 1); + else if (((class46.anInt709) == i_53_) && (class46.anInt789 == i_54_)) class105.method964(i_24_, i_25_, 0, i_55_, 1); + else class105.method970(i_24_, i_25_, (class46.anInt709), (class46.anInt789), 0, i_55_, 1); + } + } + if (Component210.gameCanvasAttached) { + if (!bool) Component285.method503(i_22_, i_19_, (byte) -74, i_21_, i_20_); + else Component103.method2663(-5590, i_19_, i_21_, i_20_, i_22_); + } + } else if (class46.anInt774 == 6) { + Component142.method3489(115); + DisplayModeManagerContainer370 class64 = null; + int i_60_ = 0; + if (class46.anInt812 != -1) { + ItemDefinition class213 = (Exception_Sub1.itemDefinitions.getItemDefinition(103, (class46.anInt812))); + if (class213 != null) { + class213 = (class213.method1560((class46.anInt781), (byte) 97)); + DisplayModeManagerContainer167 class17 = ((class46.anInt699) == -1 ? null : (RunescapeInfo.aClass87_191.method835((class46.anInt699), 7))); + Component101 class154 = (!(class46.aBoolean720) ? null : (Component72.localPlayer.appearance)); + class64 = (class213.method1559(class154, class17, NodeSub8.toolkit, 2048, (class46.anInt841), 1, (class46.anInt795), (byte) 88, (class46.anInt730))); + if (class64 != null) i_60_ = (-class64.fa() >> 1); + else Component111.markInterfaceDirty(-9343, class46); + } + } else if ((class46.anInt770) == 5) { + int i_61_ = class46.anInt753; + if (i_61_ >= 0 && (i_61_ < 2048)) { + Player player = (InterfaceRenderer.players[i_61_]); + DisplayModeManagerContainer167 class17 = ((class46.anInt699) == -1 ? null : (RunescapeInfo.aClass87_191.method835((class46.anInt699), 7))); + if ((player != null) && ((i_61_ == (StringDefinition.anInt9591)) || ((class46.anInt779) == (Component349.method2418((player.username), (byte) -50))))) + class64 = (player.appearance.method1226((DisplayModeManagerContainer58.aClass170_10209), null, null, true, (Exception_Sub1.itemDefinitions), 0, class17, class46.anInt730, true, -1, null, 2048, (DefinitionSub25.aClass150_9342), class46.anInt841, (NodeSub8.toolkit), (Component291.aClass278_2529), (RunescapeInfo.aClass87_191), 0, class46.anInt795, 0, (DisplayModeManagerContainer282.aClass261_5558))); + } + } else if ((class46.anInt770) == 8 || (class46.anInt770) == 9) { + NodeSub13 class348_sub13 = (AbstractGlTextureSub4.getContainerNode((byte) -123, (class46.anInt753), false)); + DisplayModeManagerContainer167 class17 = ((class46.anInt699) == -1 ? null : (RunescapeInfo.aClass87_191.method835((class46.anInt699), 7))); + if (class348_sub13 != null) { + Component101 class154 = ((class46.aBoolean720) ? (Component72.localPlayer.appearance) : null); + class64 = (class348_sub13.method2803(class17, class154, (class46.anInt779), (class46.anInt795), (class46.anInt841), (class46.anInt730), 2048, NodeSub8.toolkit, (class46.anInt770) == 9, -1)); + } + } else if (class46.anInt699 == -1) { + class64 = (class46.method430((DefinitionSub25.aClass150_9342), RunescapeInfo.aClass87_191, 2048, NodeSub8.toolkit, -1, 0, (Exception_Sub1.itemDefinitions), (DisplayModeManagerContainer58.aClass170_10209), 255, (Component72.localPlayer.appearance), null, (DisplayModeManagerContainer282.aClass261_5558), (Component291.aClass278_2529), -1)); + if (class64 == null && (HashNodeSub13.aBoolean9616)) Component111.markInterfaceDirty(-9343, class46); + } else { + DisplayModeManagerContainer167 class17 = (RunescapeInfo.aClass87_191.method835((class46.anInt699), 7)); + class64 = (class46.method430((DefinitionSub25.aClass150_9342), RunescapeInfo.aClass87_191, 2048, NodeSub8.toolkit, (class46.anInt795), (class46.anInt841), (Exception_Sub1.itemDefinitions), (DisplayModeManagerContainer58.aClass170_10209), 255, (Component72.localPlayer.appearance), class17, (DisplayModeManagerContainer282.aClass261_5558), (Component291.aClass278_2529), (class46.anInt730))); + if (class64 == null && (HashNodeSub13.aBoolean9616)) Component111.markInterfaceDirty(-9343, class46); + } + if (class64 != null) { + int i_62_; + if (class46.anInt796 > 0) i_62_ = (((class46.anInt709) << 9) / (class46.anInt796)); + else i_62_ = 512; + int i_63_; + if (class46.anInt826 <= 0) i_63_ = 512; + else i_63_ = (((class46.anInt789) << 9) / (class46.anInt826)); + int i_64_ = (i_24_ - -((class46.anInt709) / 2)); + int i_65_ = i_25_ + (class46.anInt789) / 2; + if (!class46.aBoolean784) { + i_64_ += (i_62_ * (class46.anInt688) >> 9); + i_65_ += (i_63_ * (class46.anInt799) >> 9); + } + Component270.aClass101_2123.method910(); + NodeSub8.toolkit.method3638(Component270.aClass101_2123); + NodeSub8.toolkit.DA(i_64_, i_65_, i_62_, i_63_); + NodeSub8.toolkit.NativeHandle(); + if (class46.aBoolean754) NodeSub8.toolkit.C(false); + if (class46.aBoolean784) { + Cp1252Decoder.aClass101_5209.method899(class46.anInt757); + Cp1252Decoder.aClass101_5209.method896(class46.anInt675); + Cp1252Decoder.aClass101_5209.method908(class46.anInt717); + Cp1252Decoder.aClass101_5209.method891((class46.anInt688), (class46.anInt799), (class46.anInt787)); + } else { + int i_66_ = ((((class46.anInt716) << 2) * (DisplayModeManagerContainer88.anIntArray1207[(class46.anInt757 << 3)])) >> 14); + int i_67_ = (((DisplayModeManagerContainer88.anIntArray1204[((class46.anInt757) << 3)]) * ((class46.anInt716) << 2)) >> 14); + Cp1252Decoder.aClass101_5209.method902(-(class46.anInt717) << 3); + Cp1252Decoder.aClass101_5209.method896((class46.anInt675) << 3); + Cp1252Decoder.aClass101_5209.method891(((class46.anInt808) << 2), (((class46.anInt786) << 2) + (i_66_ + i_60_)), ((class46.anInt786) << 2) + i_67_); + Cp1252Decoder.aClass101_5209.method900((class46.anInt757) << 3); + } + class46.method437(-20154, class64, NodeSub8.toolkit, OpenGlShader.clientCycle, Cp1252Decoder.aClass101_5209); + if (Component29.aBoolean10046) NodeSub8.toolkit.T(i_24_, i_25_, (class46.anInt709) + i_24_, (i_25_ + (class46.anInt789))); + if (!class46.aBoolean784) { + if (!class46.aBoolean689) { + class64.method615((Cp1252Decoder.aClass101_5209), null, 1); + if ((class46.aClass318_Sub10_740) != null) NodeSub8.toolkit.method3684(class46.aClass318_Sub10_740.method2539()); + } else class64.method608((Cp1252Decoder.aClass101_5209), null, ((class46.anInt716) << 2), 1); + } else if (class46.aBoolean689) class64.method608((Cp1252Decoder.aClass101_5209), null, (class46.anInt716), 1); + else { + class64.method615((Cp1252Decoder.aClass101_5209), null, 1); + if ((class46.aClass318_Sub10_740) != null) NodeSub8.toolkit.method3684(class46.aClass318_Sub10_740.method2539()); + } + if (Component29.aBoolean10046) NodeSub8.toolkit.KA(i, i_12_, i_14_, i_17_); + if (class46.aBoolean754) NodeSub8.toolkit.C(true); + } + if (Component210.gameCanvasAttached) { + if (bool) Component103.method2663(-5590, i_19_, i_21_, i_20_, i_22_); + else Component285.method503(i_22_, i_19_, (byte) -74, i_21_, i_20_); + } + } else if (class46.anInt774 == 9) { + int i_68_; + int i_69_; + int i_70_; + int i_71_; + if (class46.aBoolean744) { + i_68_ = (class46.anInt789 + i_25_); + i_69_ = i_24_; + i_70_ = (class46.anInt709 + i_24_); + i_71_ = i_25_; + } else { + i_71_ = i_25_ + (class46.anInt789); + i_70_ = (class46.anInt709 + i_24_); + i_68_ = i_25_; + i_69_ = i_24_; + } + if (class46.anInt690 != 1) NodeSub8.toolkit.method3688(i_69_, i_68_, i_70_, i_71_, class46.anInt749, class46.anInt690, 0); + else NodeSub8.toolkit.method3709(i_69_, i_68_, i_70_, i_71_, class46.anInt749, 0); + if (Component210.gameCanvasAttached) { + if (bool) Component103.method2663(-5590, i_19_, i_21_, i_20_, i_22_); + else Component285.method503(i_22_, i_19_, (byte) -74, i_21_, i_20_); + } + } + } + } + } + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("jia.B(" + i + ',' + i_10_ + ',' + bool + ',' + i_11_ + ',' + i_12_ + ',' + i_13_ + ',' + i_14_ + ',' + bool_15_ + ',' + (class46s != null ? "{...}" : "null") + ',' + i_16_ + ',' + i_17_ + ')')); + } + } + + final void method3049(Buffer class348_sub49, int i, int i_72_) { + while_146_: + do { + try { + anInt9146++; + if (i_72_ == 31015) { + int i_73_ = i; + do { + if (i_73_ == 0) { + aBoolean9140 = class348_sub49.readUnsignedByte(255) == 1; + return; + } else if (i_73_ != 1) { + if (i_73_ == 2) break; + break while_146_; + } + aBoolean9147 = class348_sub49.readUnsignedByte(255) == 1; + return; + } while (false); + this.use2dImageCache = class348_sub49.readUnsignedByte(255) == 1; + break; + } + break; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("jia.F(" + (class348_sub49 != null ? "{...}" : "null") + ',' + i + ',' + i_72_ + ')')); + } + } while (false); + } + + public ImageDefinition() { + super(1, false); + } + + static final void method3065(int i, boolean bool, int i_74_) { + Component269.anInt8765++; + anInt9142++; + if (bool != false) method3065(-42, true, 43); + ParticleSystem class348_sub47 = ParticleShader.method2148(PrimitiveTypeDefinition.aClass351_9089, DisplayModeManagerContainer64.aClass77_9029, -97); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(52, i_74_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeIntMiddle(i, (byte) 44); + HashNodeSub14.method3243(25, class348_sub47); + } + + final int[] getMonochromeOutput(int i, int i_75_) { + anInt9143++; + if (i_75_ != 255) aMenuEntry_9144 = null; + int[] is = this.imageCache.getPixels(0, i); + if (this.imageCache.cacheMiss) { + int[] is_76_ = this.method3048((aBoolean9147 ? DisplayModeManagerContainer356.anInt6325 - i : i), i_75_ + 633706082, 0); + if (aBoolean9140) { + for (int i_77_ = 0; (i_77_ < DefinitionSub6.anInt9139); i_77_++) + is[i_77_] = is_76_[Component287.anInt6076 + -i_77_]; + } else Component313.method1578(is_76_, 0, is, 0, DefinitionSub6.anInt9139); + } + return is; + } + + public static void method3066(int i) { + if (i != -1) aMenuEntry_9144 = null; + aMenuEntry_9144 = null; + } +} diff --git a/client/defs/LoggedOutDefinition.java b/client/defs/LoggedOutDefinition.java new file mode 100644 index 000000000..83f379f6e --- /dev/null +++ b/client/defs/LoggedOutDefinition.java @@ -0,0 +1,154 @@ +/* LoggedOutDefinition - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class LoggedOutDefinition +/** + * RENAMED from `Class348_Sub40_Sub34` (JODE-obfuscated). + * Evidence: distinctive string present; subclass of Definition (hierarchy) + */ extends Definition { + static int[] anIntArray9431 = new int[1]; + static Component176[] aClass293Array9432; + static int anInt9433; + static int anInt9434; + static int anInt9435; + static int[] anIntArray9436 = new int[2]; + static int anInt9437; + private int anInt9438 = 4096; + private boolean aBoolean9439 = true; + + static final int method3140(int i, int i_0_) { + int i_1_ = 40 / ((i - 19) / 63); + anInt9435++; + if (i_0_ == 16711935) return -1; + return Shader.method160(27076, i_0_); + } + + /** + * Tear down the game session: close socket, clear entities/scene, stop music. + * When {@code bool} is true, advances client state to 12 (logged-out). + */ + static final void disconnectAndReset(boolean bool, byte i) { + if (DefinitionSub8.aClass238_9165 != null) { + DefinitionSub8.aClass238_9165.close((byte) 36); + DefinitionSub8.aClass238_9165 = null; + } + anInt9437++; + Component241.anInt2955 = 0; + NodeSub18.method2938((byte) 87); + DisplayModeManagerContainer58.method2433(); + if (i != 11) anIntArray9436 = null; + for (int i_2_ = 0; i_2_ < 4; i_2_++) + NodeSub45.aClass361Array7108[i_2_].method3500(700); + HashNodeSub3.method3177(-50, false); + BuildInfo.maybeGc(); + Sprite.resetMusic(2, 22684); + DisplayModeManagerContainer238.aBoolean1236 = false; + Component119.anInt3428 = -1; + DefinitionSub17Sub1.method3093(i + 79); + MatrixSub2.method921((byte) 99, true); + Component330.regionTileY = 0; + NodeBaseSub2.regionTileX = 0; + GraphicsToolkit.anInt4581 = 0; + DisplayModeManagerContainer363.anInt4095 = 0; + Component178.anInt1447 = Component37.anInt3931 = 0; + for (int i_3_ = 0; (i_3_ < NodeSub27.aClass302Array6897.length); i_3_++) + NodeSub27.aClass302Array6897[i_3_] = null; + HashNode.method3163((byte) -114); + for (int i_4_ = 0; i_4_ < 2048; i_4_++) + InterfaceRenderer.players[i_4_] = null; + Component324.anInt2057 = 0; + Component21.aClass356_3654.clear(i ^ 0xb); + NodeSub32.anInt6930 = 0; + Component387.aClass356_1895.clear(0); + Component59.method1122(0); + DisplayModeManagerContainer136.anInt4718 = 0; + DisplayModeManagerContainer58.aClass170_10209.method1314((byte) -107); + Component281.method2282(-12648); + DisplayModeManagerContainer368.method465(i + -1636518175); + MatrixSub2.aLong5745 = 0L; + Component323.aClass348_Sub26_5881 = null; + if (bool) Buffer.setClientState(2, 12); + else { + Buffer.setClientState(i + -9, 3); + try { + AppletInvoker.callAppletNoArgs((byte) 125, ToolkitFactory.anApplet1530, "loggedout"); + } catch (Throwable throwable) { + /* empty */ + } + } + } + + final void method3049(Buffer class348_sub49, int i, int i_5_) { + do { + try { + if (i_5_ != 31015) method3140(-77, 55); + anInt9433++; + int i_6_ = i; + if (i_6_ == 0) { + anInt9438 = class348_sub49.readUnsignedShort(842397944); + break; + } else if (i_6_ != 1) break; + aBoolean9439 = class348_sub49.readUnsignedByte(255) == 1; + break; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("cfa.F(" + (class348_sub49 != null ? "{...}" : "null") + ',' + i + ',' + i_5_ + ')')); + } + } while (false); + } + + public LoggedOutDefinition() { + super(1, false); + } + + public static void method3142(int i) { + anIntArray9431 = null; + anIntArray9436 = null; + if (i != 0) aClass293Array9432 = null; + aClass293Array9432 = null; + } + + final int[][] getColourOutput(int i, int i_7_) { + anInt9434++; + int[][] is = this.imageCacheStore.getPixels(-111, i); + if (i_7_ != -1564599039) method3140(72, -13); + if (this.imageCacheStore.cacheMiss) { + int[] is_8_ = this.method3048(-1 + i & DisplayModeManagerContainer356.anInt6325, 633706337, 0); + int[] is_9_ = this.method3048(i, i_7_ + -2096661920, 0); + int[] is_10_ = this.method3048(DisplayModeManagerContainer356.anInt6325 & 1 + i, 633706337, 0); + int[] is_11_ = is[0]; + int[] is_12_ = is[1]; + int[] is_13_ = is[2]; + for (int i_14_ = 0; DefinitionSub6.anInt9139 > i_14_; i_14_++) { + int i_15_ = (-is_8_[i_14_] + is_10_[i_14_]) * anInt9438; + int i_16_ = (anInt9438 * (is_9_[1 + i_14_ & Component287.anInt6076] - is_9_[Component287.anInt6076 & -1 + i_14_])); + int i_17_ = i_16_ >> 12; + int i_18_ = i_15_ >> 12; + int i_19_ = i_17_ * i_17_ >> 12; + int i_20_ = i_18_ * i_18_ >> 12; + int i_21_ = (int) (Math.sqrt((float) (i_19_ - (-i_20_ + -4096)) / 4096.0F) * 4096.0); + int i_22_; + int i_23_; + int i_24_; + if (i_21_ == 0) { + i_22_ = 0; + i_23_ = 0; + i_24_ = 0; + } else { + i_23_ = i_16_ / i_21_; + i_22_ = i_15_ / i_21_; + i_24_ = 16777216 / i_21_; + } + if (aBoolean9439) { + i_24_ = (i_24_ >> 1) + 2048; + i_23_ = (i_23_ >> 1) + 2048; + i_22_ = (i_22_ >> 1) + 2048; + } + is_11_[i_14_] = i_23_; + is_12_[i_14_] = i_22_; + is_13_[i_14_] = i_24_; + } + } + return is; + } +} diff --git a/client/defs/NsnDefinition.java b/client/defs/NsnDefinition.java new file mode 100644 index 000000000..9343abff6 --- /dev/null +++ b/client/defs/NsnDefinition.java @@ -0,0 +1,155 @@ +/* NsnDefinition - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NsnDefinition +/** + * RENAMED from `Class348_Sub40_Sub18` (JODE-obfuscated). + * Evidence: distinctive string present; subclass of Definition (hierarchy) + */ extends Definition { + private int anInt9244; + static Component144 aClass319_9245; + static int anInt9246; + static int anInt9247; + static int anInt9248; + static int[] anIntArray9249 = {2, 1, 1, 1, 2, 2, 2, 1, 3, 3, 3, 2, 0, 4, 0}; + private int anInt9250; + static int anInt9251; + private int anInt9252; + + static final void method3094(int i, DisplayModeManagerContainer207 class348_sub49_sub2) { + anInt9247++; + int i_0_ = 0; + class348_sub49_sub2.startBitAccess(-87); + for (int i_1_ = 0; i_1_ < ShaderCompilerSub1.anInt6513; i_1_++) { + int i_2_ = ShaderProgramSub7.anIntArray6290[i_1_]; + if ((0x1 & NodeSub5.aByteArray6624[i_2_]) == 0) { + if (i_0_ > 0) { + NodeSub5.aByteArray6624[i_2_] = (byte) Component224.bitwiseOr((NodeSub5.aByteArray6624[i_2_]), 2); + i_0_--; + } else { + int i_3_ = class348_sub49_sub2.readBits((byte) -24, 1); + if (i_3_ == 0) { + i_0_ = Component327.method2413(1, class348_sub49_sub2); + NodeSub5.aByteArray6624[i_2_] = (byte) Component224.bitwiseOr((NodeSub5.aByteArray6624[i_2_]), 2); + } else { + ShaderProgramSub9.method2177(1, i_2_, class348_sub49_sub2); + } + } + } + } + class348_sub49_sub2.stopBitAccess(false); + if (i_0_ != 0) throw new RuntimeException("nsn0"); + class348_sub49_sub2.startBitAccess(-65); + for (int i_4_ = 0; i_4_ < ShaderCompilerSub1.anInt6513; i_4_++) { + int i_5_ = ShaderProgramSub7.anIntArray6290[i_4_]; + if ((0x1 & NodeSub5.aByteArray6624[i_5_]) != 0) { + if (i_0_ > 0) { + NodeSub5.aByteArray6624[i_5_] = (byte) Component224.bitwiseOr((NodeSub5.aByteArray6624[i_5_]), 2); + i_0_--; + } else { + int i_6_ = class348_sub49_sub2.readBits((byte) -24, 1); + if (i_6_ == 0) { + i_0_ = Component327.method2413(1, class348_sub49_sub2); + NodeSub5.aByteArray6624[i_5_] = (byte) Component224.bitwiseOr((NodeSub5.aByteArray6624[i_5_]), 2); + } else ShaderProgramSub9.method2177(i ^ ~0x53e4, i_5_, class348_sub49_sub2); + } + } + } + class348_sub49_sub2.stopBitAccess(false); + if (i_0_ != 0) throw new RuntimeException("nsn1"); + class348_sub49_sub2.startBitAccess(i ^ ~0x5398); + for (int i_7_ = 0; (i_7_ < HashNodeSub4.anInt9513); i_7_++) { + int i_8_ = DisplayModeManagerContainer136.anIntArray4709[i_7_]; + if ((0x1 & NodeSub5.aByteArray6624[i_8_]) != 0) { + if (i_0_ > 0) { + NodeSub5.aByteArray6624[i_8_] = (byte) Component224.bitwiseOr((NodeSub5.aByteArray6624[i_8_]), 2); + i_0_--; + } else { + int i_9_ = class348_sub49_sub2.readBits((byte) -24, 1); + if (i_9_ == 0) { + i_0_ = Component327.method2413(i + 21479, class348_sub49_sub2); + NodeSub5.aByteArray6624[i_8_] = (byte) Component224.bitwiseOr((NodeSub5.aByteArray6624[i_8_]), 2); + } else if (DisplayModeManagerContainer159.method1538(i_8_, (byte) 105, class348_sub49_sub2)) NodeSub5.aByteArray6624[i_8_] = (byte) Component224.bitwiseOr((NodeSub5.aByteArray6624[i_8_]), 2); + } + } + } + class348_sub49_sub2.stopBitAccess(false); + if (i == -21478) { + if (i_0_ != 0) throw new RuntimeException("nsn2"); + class348_sub49_sub2.startBitAccess(36); + for (int i_10_ = 0; (HashNodeSub4.anInt9513 > i_10_); i_10_++) { + int i_11_ = DisplayModeManagerContainer136.anIntArray4709[i_10_]; + if ((NodeSub5.aByteArray6624[i_11_] & 0x1) == 0) { + if (i_0_ > 0) { + NodeSub5.aByteArray6624[i_11_] = (byte) Component224.bitwiseOr((NodeSub5.aByteArray6624[i_11_]), 2); + i_0_--; + } else { + int i_12_ = class348_sub49_sub2.readBits((byte) -24, 1); + if (i_12_ == 0) { + i_0_ = Component327.method2413(1, class348_sub49_sub2); + NodeSub5.aByteArray6624[i_11_] = (byte) Component224.bitwiseOr((NodeSub5.aByteArray6624[i_11_]), 2); + } else if (DisplayModeManagerContainer159.method1538(i_11_, (byte) 105, class348_sub49_sub2)) NodeSub5.aByteArray6624[i_11_] = (byte) Component224.bitwiseOr((NodeSub5.aByteArray6624[i_11_]), 2); + } + } + } + class348_sub49_sub2.stopBitAccess(false); + if (i_0_ != 0) throw new RuntimeException("nsn3"); + ShaderCompilerSub1.anInt6513 = 0; + HashNodeSub4.anInt9513 = 0; + for (int i_13_ = 1; i_13_ < 2048; i_13_++) { + NodeSub5.aByteArray6624[i_13_] >>= 1; + Player player = InterfaceRenderer.players[i_13_]; + if (player == null) DisplayModeManagerContainer136.anIntArray4709[HashNodeSub4.anInt9513++] = i_13_; + else ShaderProgramSub7.anIntArray6290[ShaderCompilerSub1.anInt6513++] = i_13_; + } + } + } + + private NsnDefinition(int i) { + super(0, false); + method3095(-104, i); + } + + final int[][] getColourOutput(int i, int i_14_) { + anInt9246++; + int[][] is = this.imageCacheStore.getPixels(i_14_ ^ 0x5d41e2b0, i); + if (this.imageCacheStore.cacheMiss) { + int[] is_15_ = is[0]; + int[] is_16_ = is[1]; + int[] is_17_ = is[2]; + for (int i_18_ = 0; i_18_ < DefinitionSub6.anInt9139; i_18_++) { + is_15_[i_18_] = anInt9244; + is_16_[i_18_] = anInt9252; + is_17_[i_18_] = anInt9250; + } + } + if (i_14_ != -1564599039) method3095(102, 6); + return is; + } + + private final void method3095(int i, int i_19_) { + anInt9244 = 0xff0 & i_19_ >> 12; + anInt9252 = i_19_ >> 4 & 0xff0; + anInt9248++; + anInt9250 = (i_19_ & 0xff) << 4; + if (i >= -54) anInt9250 = -42; + } + + public static void method3096(int i) { + anIntArray9249 = null; + aClass319_9245 = null; + if (i != 32462) aClass319_9245 = null; + } + + final void method3049(Buffer class348_sub49, int i, int i_20_) { + int i_21_ = i; + if (i_21_ == 0) method3095(-124, class348_sub49.readMedium(-1)); + anInt9251++; + if (i_20_ != 31015) anInt9250 = 105; + } + + public NsnDefinition() { + this(0); + } +} diff --git a/client/defs/ParametricDefinition.java b/client/defs/ParametricDefinition.java new file mode 100644 index 000000000..e23fad32b --- /dev/null +++ b/client/defs/ParametricDefinition.java @@ -0,0 +1,91 @@ +/* ParametricDefinition - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * ParametricDefinition — definição com faixa parametrizada (antigo `ParametricDefinition`). + *

+ * Lê dois limites de um buffer ({@code anInt9104} inferior e {@code anInt9107} + * superior, padrão 0..4096) via {@code method3049}. {@code getMonochromeOutput} + * mapeia um array de valores para 4096 se estiver dentro da faixa, senão 0 — + * padrão comum de varp/varbit/filtro de estado. {@code method3055} traduz + * {@code DisplayModeManagerContainer42} (enum de tipo) para opcode ClientScript (6407..6410). + * Renomeado com base em faixa 0..4096 + uso de {@code readUnsignedShort}. + */ +/** + * RENAMED from `Class348_Sub40_Sub3` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ +final class ParametricDefinition extends Definition { + static int anInt9102; + static boolean aBoolean9103 = false; + /** Limite inferior da faixa (lido do cache, opcode 0). */ + private int anInt9104; + static int anInt9105; + static int anInt9106; + /** Limite superior da faixa (lido do cache, opcode 1; padrão 4096). */ + private int anInt9107 = 4096; + static int anInt9108; + static int anInt9109 = 104; + static int anInt9110; + + final void method3049(Buffer class348_sub49, int i, int i_0_) { + int i_1_ = i; + do { + if (i_1_ == 0) { + anInt9104 = class348_sub49.readUnsignedShort(842397944); + break; + } else if (i_1_ != 1) break; + anInt9107 = class348_sub49.readUnsignedShort(842397944); + } while (false); + anInt9102++; + if (i_0_ != 31015) method3056(-75, 18, 53); + } + + static final void method3054(boolean bool, int i, int i_2_) { + anInt9105++; + if (i_2_ < -127) { + NodeSub13 class348_sub13 = AbstractGlTextureSub4.getContainerNode((byte) -122, i, bool); + if (class348_sub13 != null) class348_sub13.unlink((byte) 97); + } + } + + public ParametricDefinition() { + super(1, true); + anInt9104 = 0; + } + + static final int method3055(int i, DisplayModeManagerContainer42 class304) { + anInt9106++; + if (i < 94) method3054(false, -98, -116); + if (class304 != NodeSub45.aClass304_7103) { + if (Component83.aClass304_1662 == class304) return 6408; + if (class304 == DefinitionSub38.aClass304_9471) return 6406; + if (DefinitionSub22.aClass304_9303 != class304) { + if (class304 == ImageCache.aClass304_2571) return 6410; + if (class304 == Renderable.aClass304_3977) return 6145; + } else return 6409; + } else return 6407; + throw new IllegalStateException(); + } + + final int[] getMonochromeOutput(int i, int i_3_) { + anInt9110++; + if (i_3_ != 255) anInt9107 = -121; + int[] is = this.imageCache.getPixels(i_3_ + -255, i); + if (this.imageCache.cacheMiss) { + int[] is_4_ = this.method3048(i, 633706337, 0); + for (int i_5_ = 0; (DefinitionSub6.anInt9139 > i_5_); i_5_++) { + int i_6_ = is_4_[i_5_]; + is[i_5_] = i_6_ >= anInt9104 && (i_6_ <= anInt9107) ? 4096 : 0; + } + } + return is; + } + + static final boolean method3056(int i, int i_7_, int i_8_) { + if (i < 0) anInt9109 = 114; + anInt9108++; + return (0x22 & i_7_) != 0; + } +} diff --git a/client/defs/PrimitiveTypeDefinition.java b/client/defs/PrimitiveTypeDefinition.java new file mode 100644 index 000000000..0cbd68769 --- /dev/null +++ b/client/defs/PrimitiveTypeDefinition.java @@ -0,0 +1,144 @@ +/* PrimitiveTypeDefinition - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class PrimitiveTypeDefinition +/** + * RENAMED from `Class348_Sub40_Sub1` (JODE-obfuscated). + * Evidence: distinctive string present; subclass of Definition (hierarchy) + */ extends Definition { + private int anInt9084 = 4096; + static int anInt9085; + private final int[] anIntArray9086 = new int[3]; + static int anInt9087; + static int anInt9088; + static StringCache aClass351_9089 = new StringCache(2, 6); + static Component170 aClass207_9090; + private int anInt9091 = 4096; + private int anInt9092 = 4096; + static int anInt9093; + private int anInt9094 = 409; + + public PrimitiveTypeDefinition() { + super(1, false); + } + + public static void method3050(boolean bool) { + aClass351_9089 = null; + aClass207_9090 = null; + if (bool != true) method3050(true); + } + + final void method3049(Buffer class348_sub49, int i, int i_0_) { + anInt9087++; + if (i_0_ != 31015) anInt9094 = 115; + int i_1_ = i; + while_131_: + do { + while_130_: + do { + while_129_: + do { + do { + if (i_1_ == 0) { + anInt9094 = class348_sub49.readUnsignedShort(i_0_ + 842366929); + return; + } else if (i_1_ != 1) { + if (i_1_ != 2) { + if (i_1_ != 3) { + if (i_1_ == 4) break while_130_; + break while_131_; + } + } else break; + break while_129_; + } + anInt9084 = class348_sub49.readUnsignedShort(842397944); + return; + } while (false); + anInt9091 = class348_sub49.readUnsignedShort(842397944); + return; + } while (false); + anInt9092 = class348_sub49.readUnsignedShort(i_0_ + 842366929); + return; + } while (false); + int i_2_ = class348_sub49.readMedium(-1); + anIntArray9086[2] = GpsOverlay.bitwiseAnd(0, i_2_ >> 12); + anIntArray9086[1] = GpsOverlay.bitwiseAnd(i_2_, 65280) >> 4; + anIntArray9086[0] = GpsOverlay.bitwiseAnd(i_2_ << 4, 267386880); + } while (false); + } + + static final int method3051(int i, int i_3_) { + if (i_3_ != 4096) return -68; + anInt9085++; + int i_4_ = i >>> 1; + i_4_ |= i_4_ >>> 1; + i_4_ |= i_4_ >>> 2; + i_4_ |= i_4_ >>> 4; + i_4_ |= i_4_ >>> 8; + i_4_ |= i_4_ >>> 16; + return (~i_4_) & i; + } + + final int[][] getColourOutput(int i, int i_5_) { + if (i_5_ != -1564599039) anInt9091 = 64; + anInt9093++; + int[][] is = this.imageCacheStore.getPixels(-127, i); + if (this.imageCacheStore.cacheMiss) { + int[][] is_6_ = this.method3039((byte) 62, i, 0); + int[] is_7_ = is_6_[0]; + int[] is_8_ = is_6_[1]; + int[] is_9_ = is_6_[2]; + int[] is_10_ = is[0]; + int[] is_11_ = is[1]; + int[] is_12_ = is[2]; + for (int i_13_ = 0; DefinitionSub6.anInt9139 > i_13_; i_13_++) { + int i_14_ = is_7_[i_13_]; + int i_15_ = i_14_ - anIntArray9086[0]; + if (i_15_ < 0) i_15_ = -i_15_; + if (anInt9094 < i_15_) { + is_10_[i_13_] = i_14_; + is_11_[i_13_] = is_8_[i_13_]; + is_12_[i_13_] = is_9_[i_13_]; + } else { + int i_16_ = is_8_[i_13_]; + i_15_ = -anIntArray9086[1] + i_16_; + if (i_15_ < 0) i_15_ = -i_15_; + if (anInt9094 < i_15_) { + is_10_[i_13_] = i_14_; + is_11_[i_13_] = i_16_; + is_12_[i_13_] = is_9_[i_13_]; + } else { + int i_17_ = is_9_[i_13_]; + i_15_ = -anIntArray9086[2] + i_17_; + if (i_15_ < 0) i_15_ = -i_15_; + if (i_15_ > anInt9094) { + is_10_[i_13_] = i_14_; + is_11_[i_13_] = i_16_; + is_12_[i_13_] = i_17_; + } else { + is_10_[i_13_] = i_14_ * anInt9092 >> 12; + is_11_[i_13_] = i_16_ * anInt9091 >> 12; + is_12_[i_13_] = i_17_ * anInt9084 >> 12; + } + } + } + } + } + return is; + } + + static final Class method3052(int i, String string) throws ClassNotFoundException { + if (i != 11012) aClass351_9089 = null; + anInt9088++; + if (string.equals("B")) return Byte.TYPE; + if (string.equals("I")) return Integer.TYPE; + if (string.equals("S")) return Short.TYPE; + if (string.equals("J")) return Long.TYPE; + if (string.equals("Z")) return Boolean.TYPE; + if (string.equals("F")) return Float.TYPE; + if (string.equals("D")) return Double.TYPE; + if (string.equals("C")) return Character.TYPE; + return Class.forName(string); + } +} diff --git a/client/defs/ToolbarRefreshDefinition.java b/client/defs/ToolbarRefreshDefinition.java new file mode 100644 index 000000000..a4ec148fd --- /dev/null +++ b/client/defs/ToolbarRefreshDefinition.java @@ -0,0 +1,380 @@ +/* ToolbarRefreshDefinition - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class ToolbarRefreshDefinition +/** + * RENAMED from `Class348_Sub40_Sub16` (JODE-obfuscated). + * Evidence: distinctive string present; subclass of Definition (hierarchy) + */ extends Definition { + static int anInt9222; + static int anInt9223; + static int anInt9224; + static Component183 aClass114_9225; + private int anInt9226 = 6; + static int anInt9227; + static int anInt9228; + static volatile boolean aBoolean9229 = true; + static int[] anIntArray9230 = {0, -1, 0, 1}; + static int anInt9231; + + final void method3049(Buffer class348_sub49, int i, int i_0_) { + if (i_0_ != 31015) anInt9226 = -83; + int i_1_ = i; + do { + if (i_1_ == 0) { + anInt9226 = class348_sub49.readUnsignedByte(255); + break; + } else if (i_1_ != 1) break; + this.use2dImageCache = class348_sub49.readUnsignedByte(255) == 1; + } while (false); + anInt9227++; + } + + final int[][] getColourOutput(int i, int i_2_) { + if (i_2_ != -1564599039) method3089(-88); + anInt9223++; + int[][] is = this.imageCacheStore.getPixels(i_2_ ^ 0x5d41e2a7, i); + while_168_: + do { + if (this.imageCacheStore.cacheMiss) { + int[][] is_3_ = this.method3039((byte) -51, i, 0); + int[][] is_4_ = this.method3039((byte) -66, i, 1); + int[] is_5_ = is[0]; + int[] is_6_ = is[1]; + int[] is_7_ = is[2]; + int[] is_8_ = is_3_[0]; + int[] is_9_ = is_3_[1]; + int[] is_10_ = is_3_[2]; + int[] is_11_ = is_4_[0]; + int[] is_12_ = is_4_[1]; + int[] is_13_ = is_4_[2]; + int i_14_ = anInt9226; + while_167_: + do { + while_166_: + do { + while_165_: + do { + while_164_: + do { + while_163_: + do { + while_162_: + do { + while_161_: + do { + while_160_: + do { + while_159_: + do { + do { + if (i_14_ == 1) { + for (i_14_ = 0; ((DefinitionSub6.anInt9139) > i_14_); i_14_++) { + is_5_[i_14_] = ((is_11_[i_14_]) + (is_8_[i_14_])); + is_6_[i_14_] = ((is_9_[i_14_]) + (is_12_[i_14_])); + is_7_[i_14_] = ((is_10_[i_14_]) + (is_13_[i_14_])); + } + break while_168_; + } else if (i_14_ != 2) { + if (i_14_ != 3) { + if (i_14_ != 4) { + if (i_14_ != 5) { + if (i_14_ != 6) { + if (i_14_ != 7) { + if (i_14_ != 8) { + if (i_14_ != 9) { + if (i_14_ != 10) { + if (i_14_ != 11) { + if (i_14_ != 12) break while_168_; + } else break while_166_; + break while_167_; + } + } else break while_164_; + break while_165_; + } + } else break while_162_; + break while_163_; + } + } else break while_160_; + break while_161_; + } + } else break; + break while_159_; + } + for (i_14_ = 0; ((DefinitionSub6.anInt9139) > i_14_); i_14_++) { + is_5_[i_14_] = (is_8_[i_14_] - (is_11_[i_14_])); + is_6_[i_14_] = (is_9_[i_14_] + -(is_12_[i_14_])); + is_7_[i_14_] = (-(is_13_[i_14_]) + (is_10_[i_14_])); + } + break while_168_; + } while (false); + for (i_14_ = 0; (i_14_ < (DefinitionSub6.anInt9139)); i_14_++) { + is_5_[i_14_] = ((is_11_[i_14_] * is_8_[i_14_]) >> 12); + is_6_[i_14_] = ((is_12_[i_14_] * is_9_[i_14_]) >> 12); + is_7_[i_14_] = ((is_10_[i_14_] * (is_13_[i_14_])) >> 12); + } + break while_168_; + } while (false); + for (i_14_ = 0; (i_14_ < (DefinitionSub6.anInt9139)); i_14_++) { + int i_15_ = is_11_[i_14_]; + int i_16_ = is_13_[i_14_]; + int i_17_ = is_12_[i_14_]; + is_5_[i_14_] = (i_15_ != 0 ? ((is_8_[i_14_] << 12) / i_15_) : 4096); + is_6_[i_14_] = (i_17_ == 0 ? 4096 : ((is_9_[i_14_] << 12) / i_17_)); + is_7_[i_14_] = (i_16_ == 0 ? 4096 : ((is_10_[i_14_] << 12) / i_16_)); + } + break while_168_; + } while (false); + for (i_14_ = 0; (i_14_ < (DefinitionSub6.anInt9139)); i_14_++) { + is_5_[i_14_] = (4096 + -(((-is_11_[i_14_] + 4096) * (4096 - is_8_[i_14_])) >> 12)); + is_6_[i_14_] = (4096 + -(((4096 + -is_12_[i_14_]) * (4096 - is_9_[i_14_])) >> 12)); + is_7_[i_14_] = (4096 - (((-is_13_[i_14_] + 4096) * (4096 - is_10_[i_14_])) >> 12)); + } + break while_168_; + } while (false); + for (i_14_ = 0; (DefinitionSub6.anInt9139 > i_14_); i_14_++) { + int i_18_ = is_11_[i_14_]; + int i_19_ = is_13_[i_14_]; + int i_20_ = is_12_[i_14_]; + is_5_[i_14_] = ((i_18_ >= 2048) ? -(((4096 - is_8_[i_14_]) * (-i_18_ + 4096)) >> 11) + 4096 : (is_8_[i_14_] * i_18_ >> 11)); + is_6_[i_14_] = (i_20_ >= 2048 ? -(((-i_20_ + 4096) * (4096 - is_9_[i_14_])) >> 11) + 4096 : (i_20_ * is_9_[i_14_] >> 11)); + is_7_[i_14_] = (i_19_ < 2048 ? (i_19_ * is_10_[i_14_] >> 11) : -(((-is_10_[i_14_] + 4096) * (-i_19_ + 4096)) >> 11) + 4096); + } + break while_168_; + } while (false); + for (i_14_ = 0; DefinitionSub6.anInt9139 > i_14_; i_14_++) { + int i_21_ = is_10_[i_14_]; + int i_22_ = is_9_[i_14_]; + int i_23_ = is_8_[i_14_]; + is_5_[i_14_] = (i_23_ == 4096 ? 4096 : ((is_11_[i_14_] << 12) / (-i_23_ + 4096))); + is_6_[i_14_] = (i_22_ != 4096 ? ((is_12_[i_14_] << 12) / (-i_22_ + 4096)) : 4096); + is_7_[i_14_] = (i_21_ == 4096 ? 4096 : ((is_13_[i_14_] << 12) / (4096 - i_21_))); + } + break while_168_; + } while (false); + for (i_14_ = 0; (DefinitionSub6.anInt9139 > i_14_); i_14_++) { + int i_24_ = is_9_[i_14_]; + int i_25_ = is_8_[i_14_]; + int i_26_ = is_10_[i_14_]; + is_5_[i_14_] = (i_25_ == 0 ? 0 : -((-is_11_[i_14_] + 4096 << 12) / i_25_) + 4096); + is_6_[i_14_] = i_24_ != 0 ? -((4096 + -is_12_[i_14_] << 12) / i_24_) + 4096 : 0; + is_7_[i_14_] = (i_26_ == 0 ? 0 : -((-is_13_[i_14_] + 4096 << 12) / i_26_) + 4096); + } + break while_168_; + } while (false); + for (i_14_ = 0; i_14_ < DefinitionSub6.anInt9139; i_14_++) { + int i_27_ = is_9_[i_14_]; + int i_28_ = is_12_[i_14_]; + int i_29_ = is_13_[i_14_]; + int i_30_ = is_11_[i_14_]; + int i_31_ = is_10_[i_14_]; + int i_32_ = is_8_[i_14_]; + is_5_[i_14_] = (Math.min(i_30_, i_32_)); + is_6_[i_14_] = (Math.min(i_28_, i_27_)); + is_7_[i_14_] = Math.min(i_29_, i_31_); + } + break while_168_; + } while (false); + for (i_14_ = 0; (DefinitionSub6.anInt9139 > i_14_); i_14_++) { + int i_33_ = is_9_[i_14_]; + int i_34_ = is_10_[i_14_]; + int i_35_ = is_12_[i_14_]; + int i_36_ = is_11_[i_14_]; + int i_37_ = is_13_[i_14_]; + int i_38_ = is_8_[i_14_]; + is_5_[i_14_] = Math.max(i_36_, i_38_); + is_6_[i_14_] = (Math.max(i_33_, i_35_)); + is_7_[i_14_] = (Math.max(i_37_, i_34_)); + } + break while_168_; + } while (false); + for (i_14_ = 0; DefinitionSub6.anInt9139 > i_14_; i_14_++) { + int i_39_ = is_13_[i_14_]; + int i_40_ = is_9_[i_14_]; + int i_41_ = is_10_[i_14_]; + int i_42_ = is_11_[i_14_]; + int i_43_ = is_8_[i_14_]; + int i_44_ = is_12_[i_14_]; + is_5_[i_14_] = (i_43_ > i_42_ ? -i_42_ + i_43_ : i_42_ - i_43_); + is_6_[i_14_] = (i_44_ >= i_40_ ? i_44_ + -i_40_ : -i_44_ + i_40_); + is_7_[i_14_] = i_41_ <= i_39_ ? i_39_ - i_41_ : -i_39_ + i_41_; + } + break while_168_; + } while (false); + for (i_14_ = 0; (DefinitionSub6.anInt9139 > i_14_); i_14_++) { + int i_45_ = is_8_[i_14_]; + int i_46_ = is_10_[i_14_]; + int i_47_ = is_13_[i_14_]; + int i_48_ = is_11_[i_14_]; + int i_49_ = is_9_[i_14_]; + int i_50_ = is_12_[i_14_]; + is_5_[i_14_] = -(i_45_ * i_48_ >> 11) + (i_48_ + i_45_); + is_6_[i_14_] = -(i_49_ * i_50_ >> 11) + (i_49_ + i_50_); + is_7_[i_14_] = i_47_ + i_46_ - (i_46_ * i_47_ >> 11); + } + } + } while (false); + return is; + } + + public static void method3087(boolean bool) { + anIntArray9230 = null; + aClass114_9225 = null; + if (bool != false) method3089(-42); + } + + public ToolbarRefreshDefinition() { + super(2, false); + } + + final int[] getMonochromeOutput(int i, int i_51_) { + if (i_51_ != 255) getColourOutput(50, -18); + anInt9224++; + int[] is = this.imageCache.getPixels(0, i); + while_178_: + do { + if (this.imageCache.cacheMiss) { + int[] is_52_ = this.method3048(i, 633706337, 0); + int[] is_53_ = this.method3048(i, 633706337, 1); + int i_54_ = anInt9226; + while_177_: + do { + while_176_: + do { + while_175_: + do { + while_174_: + do { + while_173_: + do { + while_172_: + do { + while_171_: + do { + while_170_: + do { + while_169_: + do { + do { + if (i_54_ == 1) { + for (i_54_ = 0; ((DefinitionSub6.anInt9139) > i_54_); i_54_++) + is[i_54_] = ((is_52_[i_54_]) + (is_53_[i_54_])); + break while_178_; + } else if (i_54_ != 2) { + if (i_54_ != 3) { + if (i_54_ != 4) { + if (i_54_ != 5) { + if (i_54_ != 6) { + if (i_54_ != 7) { + if (i_54_ != 8) { + if (i_54_ != 9) { + if (i_54_ != 10) { + if (i_54_ != 11) { + if (i_54_ != 12) break while_178_; + } else break while_176_; + break while_177_; + } + } else break while_174_; + break while_175_; + } + } else break while_172_; + break while_173_; + } + } else break while_170_; + break while_171_; + } + } else break; + break while_169_; + } + for (i_54_ = 0; ((DefinitionSub6.anInt9139) > i_54_); i_54_++) + is[i_54_] = ((is_52_[i_54_]) + -(is_53_[i_54_])); + break while_178_; + } while (false); + for (i_54_ = 0; ((DefinitionSub6.anInt9139) > i_54_); i_54_++) + is[i_54_] = ((is_53_[i_54_] * (is_52_[i_54_])) >> 12); + break while_178_; + } while (false); + for (i_54_ = 0; ((DefinitionSub6.anInt9139) > i_54_); i_54_++) { + int i_55_ = is_53_[i_54_]; + is[i_54_] = (i_55_ != 0 ? ((is_52_[i_54_] << 12) / i_55_) : 4096); + } + break while_178_; + } while (false); + for (i_54_ = 0; (DefinitionSub6.anInt9139 > i_54_); i_54_++) + is[i_54_] = -(((4096 - is_52_[i_54_]) * (4096 - is_53_[i_54_])) >> 12) + 4096; + break while_178_; + } while (false); + for (i_54_ = 0; (i_54_ < DefinitionSub6.anInt9139); i_54_++) { + int i_56_ = is_53_[i_54_]; + is[i_54_] = (i_56_ >= 2048 ? (4096 + -(((-i_56_ + 4096) * (4096 - is_52_[i_54_])) >> 11)) : (i_56_ * is_52_[i_54_] >> 11)); + } + break while_178_; + } while (false); + for (i_54_ = 0; i_54_ < DefinitionSub6.anInt9139; i_54_++) { + int i_57_ = is_52_[i_54_]; + is[i_54_] = (i_57_ != 4096 ? ((is_53_[i_54_] << 12) / (-i_57_ + 4096)) : 4096); + } + break while_178_; + } while (false); + for (i_54_ = 0; i_54_ < DefinitionSub6.anInt9139; i_54_++) { + int i_58_ = is_52_[i_54_]; + is[i_54_] = (i_58_ == 0 ? 0 : -((4096 - is_53_[i_54_] << 12) / i_58_) + 4096); + } + break while_178_; + } while (false); + for (i_54_ = 0; i_54_ < DefinitionSub6.anInt9139; i_54_++) { + int i_59_ = is_53_[i_54_]; + int i_60_ = is_52_[i_54_]; + is[i_54_] = (Math.min(i_59_, i_60_)); + } + break while_178_; + } while (false); + for (i_54_ = 0; DefinitionSub6.anInt9139 > i_54_; i_54_++) { + int i_61_ = is_53_[i_54_]; + int i_62_ = is_52_[i_54_]; + is[i_54_] = Math.max(i_62_, i_61_); + } + break while_178_; + } while (false); + for (i_54_ = 0; i_54_ < DefinitionSub6.anInt9139; i_54_++) { + int i_63_ = is_53_[i_54_]; + int i_64_ = is_52_[i_54_]; + is[i_54_] = (i_63_ >= i_64_ ? i_63_ + -i_64_ : i_64_ - i_63_); + } + break while_178_; + } while (false); + for (i_54_ = 0; DefinitionSub6.anInt9139 > i_54_; i_54_++) { + int i_65_ = is_53_[i_54_]; + int i_66_ = is_52_[i_54_]; + is[i_54_] = i_66_ - -i_65_ - (i_66_ * i_65_ >> 11); + } + } + } while (false); + return is; + } + + static final void method3088(int i) { + anInt9228++; + if (DisplayModeManagerContainer154.LOCAL != DisplayModeManagerContainer345.aClass364_165 && i == 9) { + try { + AppletInvoker.callAppletNoArgs((byte) 125, NpcComposition.aClient1367, "tbrefresh"); + } catch (Throwable throwable) { + /* empty */ + } + } + } + + static final void method3089(int i) { + Component253.anInt3203 = -1; + Component263.anInt1548 = -1; + NativeLibLoader.anInt4155 = -1; + anInt9222++; + Component293.anInt3306 = 0; + int i_67_ = -95 % ((i - -46) / 52); + } + + static { + aClass114_9225 = new Component183(28, -2); + } +} diff --git a/client/display/DisplayModeManager.java b/client/display/DisplayModeManager.java new file mode 100644 index 000000000..c59041bb9 --- /dev/null +++ b/client/display/DisplayModeManager.java @@ -0,0 +1,122 @@ +/* DisplayModeManager - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class7` (JODE-obfuscated). + * Fullscreen/display-mode manager. Holds a GraphicsDevice; setDisplayMode(Frame,int,int,int,int) enumerates and applies DisplayMode/setDisplayMode for resolution switching. + */ + +import java.awt.*; +import java.lang.reflect.Field; + +public final class DisplayModeManager { + private GraphicsDevice graphicsDevice; + private DisplayMode previousDisplayMode; + + public final void setDisplayMode(Frame frame, int i, int i_0_, int i_1_, int i_2_) { + previousDisplayMode = graphicsDevice.getDisplayMode(); + if (previousDisplayMode == null) throw new NullPointerException(); + frame.setUndecorated(true); + frame.enableInputMethods(false); + setFullscreenFrame(frame, (byte) 51); + if (0 == i_2_) { + int i_3_ = previousDisplayMode.getRefreshRate(); + DisplayMode[] displaymodes = graphicsDevice.getDisplayModes(); + boolean bool = false; + for (int i_4_ = 0; i_4_ < displaymodes.length; i_4_++) { + if (i == displaymodes[i_4_].getWidth() && i_0_ == displaymodes[i_4_].getHeight() && displaymodes[i_4_].getBitDepth() == i_1_) { + int i_5_ = displaymodes[i_4_].getRefreshRate(); + if (!bool || Math.abs(-i_3_ + i_5_) < Math.abs(i_2_ + -i_3_)) { + bool = true; + i_2_ = i_5_; + } + } + } + if (!bool) i_2_ = i_3_; + } + graphicsDevice.setDisplayMode(new DisplayMode(i, i_0_, i_1_, i_2_)); + } + + public final int[] getDisplayModesPacked() { + DisplayMode[] displaymodes = graphicsDevice.getDisplayModes(); + int[] is = new int[displaymodes.length << 2]; + for (int i = 0; i < displaymodes.length; i++) { + is[i << 2] = displaymodes[i].getWidth(); + is[1 + (i << 2)] = displaymodes[i].getHeight(); + is[(i << 2) + 2] = displaymodes[i].getBitDepth(); + is[(i << 2) + 3] = displaymodes[i].getRefreshRate(); + } + return is; + } + + public final void restoreDisplayMode() { + if (previousDisplayMode != null) { + graphicsDevice.setDisplayMode(previousDisplayMode); + if (!graphicsDevice.getDisplayMode().equals(previousDisplayMode)) throw new RuntimeException("Did not return to correct resolution!"); + previousDisplayMode = null; + } + setFullscreenFrame(null, (byte) 104); + } + + public DisplayModeManager() throws Exception { + GraphicsEnvironment graphicsenvironment = GraphicsEnvironment.getLocalGraphicsEnvironment(); + graphicsDevice = graphicsenvironment.getDefaultScreenDevice(); + if (!graphicsDevice.isFullScreenSupported()) { + GraphicsDevice[] graphicsdevices = graphicsenvironment.getScreenDevices(); + GraphicsDevice[] graphicsdevices_6_ = graphicsdevices; + for (int i = 0; graphicsdevices_6_.length > i; i++) { + GraphicsDevice graphicsdevice = graphicsdevices_6_[i]; + if (null != graphicsdevice && graphicsdevice.isFullScreenSupported()) { + graphicsDevice = graphicsdevice; + return; + } + } + throw new Exception(); + } + } + + private final void setFullscreenFrame(Frame frame, byte i) { + boolean bool = false; + if (i <= 47) setFullscreenFrame(null, (byte) -25); + try { + Field field = GraphicsDevice.class.getDeclaredField("valid"); + field.setAccessible(true); + boolean bool_7_ = ((Boolean) field.get(graphicsDevice)).booleanValue(); + if (bool_7_) { + field.set(graphicsDevice, Boolean.FALSE); + bool = true; + } + } catch (Throwable throwable) { + if (Loader.trace) { + throwable.printStackTrace(); + } + /* empty */ + } + try { + graphicsDevice.setFullScreenWindow(frame); + } catch (Throwable object) { + if (bool) { + try { + Field field = GraphicsDevice.class.getDeclaredField("valid"); + field.set(graphicsDevice, Boolean.TRUE); + } catch (Exception e) { + if (Loader.trace) { + e.printStackTrace(); + } + } + } + } + if (bool) { + try { + Field field = GraphicsDevice.class.getDeclaredField("valid"); + field.set(graphicsDevice, Boolean.TRUE); + } catch (Throwable throwable) { + if (Loader.trace) { + throwable.printStackTrace(); + } + /* empty */ + } + } + } +} diff --git a/client/display/ScreenModeManager.java b/client/display/ScreenModeManager.java new file mode 100644 index 000000000..478420436 --- /dev/null +++ b/client/display/ScreenModeManager.java @@ -0,0 +1,138 @@ +/* ScreenModeManager - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ +/** + * RENAMED from `Class215` (JODE-obfuscated). + * Display/screen-mode helper. Creates and manages Frames (DisplayModeManagerContainer104.createFrame) and resolves display modes; the CS2 error 'unable to enter display mode' originates here. + */ + +import java.awt.*; + +final class ScreenModeManager { + static int anInt2834 = 0; + static int anInt2835; + static float aFloat2836; + static int anInt2837; + static int anInt2838; + static int anInt2839; + + static final void setScreenMode(byte i, boolean bool, int i_0_, int i_1_, int i_2_, int i_3_) { + if (Component225.aFrame476 != null && (i_2_ != 3 || i_0_ != InputHandler.anInt4276 || i_3_ != DisplayModeManagerContainer295.anInt5911)) { + LoadingState.startLoadingTask(Component225.aFrame476, OggUrlStream.aClass297_8992, false); + Component225.aFrame476 = null; + } + anInt2839++; + int i_4_ = -33 / ((-74 - i) / 51); + if (i_2_ == 3 && Component225.aFrame476 == null) { + Component225.aFrame476 = DisplayModeManagerContainer104.createFrame(i_3_, i_0_, (OggUrlStream.aClass297_8992), 0, 14199, 0); + if (Component225.aFrame476 != null) { + InputHandler.anInt4276 = i_0_; + DisplayModeManagerContainer295.anInt5911 = i_3_; + DisplayModeManagerContainer389.method243(37); + } + } + // Prefer fallback to resizable (2) — not preferred prefs — if exclusive FS + // fails; preferred may itself be 3 and would recurse forever. + if (i_2_ == 3 && Component225.aFrame476 == null) setScreenMode((byte) -126, true, -1, i_1_, 2, -1); + else { + java.awt.Container container; + if (Component225.aFrame476 != null) { + NodeSub22.anInt6857 = i_3_; + SocketConnector.anInt3473 = i_0_; + container = Component225.aFrame476; + } else if (RSACipher.aFrame4904 == null) { + if (ToolkitFactory.anApplet1530 == null) container = DefinitionSub9.anApplet_Sub1_9169; + else container = ToolkitFactory.anApplet1530; + SocketConnector.anInt3473 = container.getSize().width; + NodeSub22.anInt6857 = container.getSize().height; + } else { + Insets insets = RSACipher.aFrame4904.getInsets(); + SocketConnector.anInt3473 = RSACipher.aFrame4904.getSize().width + (-insets.left + -insets.right); + NodeSub22.anInt6857 = RSACipher.aFrame4904.getSize().height - (insets.top - -insets.bottom); + container = RSACipher.aFrame4904; + } + if (i_2_ == 1) { + // Fill the container instead of centering a fixed 765x503 canvas. + DisplayModeManagerContainer23.anInt1524 = SocketConnector.anInt3473; + GlToolkitSub2.anInt7666 = NodeSub22.anInt6857; + Component236.anInt4017 = SocketConnector.anInt3473; + PacketReader.anInt10432 = NodeSub22.anInt6857; + NodeSub48.anInt7129 = 0; + DisplayModeManagerContainer147.anInt4167 = 0; + } else SpriteAtlasShader.method2158((byte) 56); + if (Component326.LIVE != DisplayModeManagerContainer345.aClass364_165) { + if (Component236.anInt4017 < 1024 && (PacketReader.anInt10432 < 768)) { + /* empty */ + } + } + if (bool) ParticleSystem.method3327(1406); + else { + DisplayModeManagerContainer50.gameCanvas.setSize(Component236.anInt4017, (PacketReader.anInt10432)); + if (!Component210.gameCanvasAttached) NodeSub8.toolkit.method3669(DisplayModeManagerContainer50.gameCanvas, Component236.anInt4017, (PacketReader.anInt10432)); + else s.method3980(86, DisplayModeManagerContainer50.gameCanvas); + if (RSACipher.aFrame4904 == container) { + Insets insets = RSACipher.aFrame4904.getInsets(); + DisplayModeManagerContainer50.gameCanvas.setLocation((NodeSub48.anInt7129 + insets.left), (insets.top - -DisplayModeManagerContainer147.anInt4167)); + } else DisplayModeManagerContainer50.gameCanvas.setLocation(NodeSub48.anInt7129, DisplayModeManagerContainer147.anInt4167); + } + // Must match getWindowMode (1=fixed, 2=resizable) or CS2 shows "unable to enter display mode". + Cp1252Decoder.fullscreenAvailable = i_2_ >= 2; + if (r.anInt9721 != -1) Component339.method1713(true, 520); + if (DefinitionSub8.aClass238_9165 != null && NativeLibLoader.isPostLoginState(true, Component49.clientState)) ShaderProgramSub2.method2145(-24498); + for (int i_5_ = 0; i_5_ < 100; i_5_++) + InflaterDecompressor.aBooleanArray2076[i_5_] = true; + Component297.aBoolean4726 = true; + } + } + + static final boolean method1581(int i, char c) { + anInt2838++; + if (i >= -18) return false; + return (c >= 65 && c <= 90) || (c >= 97 && c <= 122); + } + + static final void method1582(int i) { + anInt2837++; + if (i == 7851) { + do { + try { + if (PlayerState.anInt7068 == 1) { + int i_6_ = Component122.aClass348_Sub16_Sub3_1564.method2844((byte) 123); + if (i_6_ > 0 && Component122.aClass348_Sub16_Sub3_1564.method2860(124)) { + i_6_ -= Component329.anInt5994; + if (i_6_ < 0) i_6_ = 0; + Component122.aClass348_Sub16_Sub3_1564.method2861(0, i_6_); + break; + } + Component122.aClass348_Sub16_Sub3_1564.method2877(-128); + Component122.aClass348_Sub16_Sub3_1564.method2867(i ^ 0x1eaf); + Component258.aClass26_1977 = null; + if (DisplayModeManagerContainer77.aClass45_1848 != null) PlayerState.anInt7068 = 2; + else PlayerState.anInt7068 = 0; + ShaderProgram.aClass348_Sub2_3683 = null; + } + if (PlayerState.anInt7068 != 3) break; + int i_7_ = Component122.aClass348_Sub16_Sub3_1564.method2844((byte) -87); + if (i_7_ < Component255.anInt1059 && Component122.aClass348_Sub16_Sub3_1564.method2860(95)) { + i_7_ += DefinitionSub35.anInt9444; + if (Component255.anInt1059 < i_7_) i_7_ = Component255.anInt1059; + Component122.aClass348_Sub16_Sub3_1564.method2861(i ^ 0x1eab, i_7_); + } else { + DefinitionSub35.anInt9444 = 0; + PlayerState.anInt7068 = 0; + } + } catch (Exception exception) { + exception.printStackTrace(); + Component122.aClass348_Sub16_Sub3_1564.method2877(-128); + DisplayModeManagerContainer77.aClass45_1848 = null; + ShaderProgram.aClass348_Sub2_3683 = null; + DebugPanic.aClass348_Sub16_Sub3_4743 = null; + Component258.aClass26_1977 = null; + PlayerState.anInt7068 = 0; + break; + } + break; + } while (false); + } + } +} diff --git a/client/entities/Component327.java b/client/entities/Component327.java new file mode 100644 index 000000000..04d9a05e1 --- /dev/null +++ b/client/entities/Component327.java @@ -0,0 +1,208 @@ +/* Component327 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +abstract class Component327 +/** + * RENAMED from `Class318_Sub1_Sub3` (JODE-obfuscated). + * Evidence: subclass of RenderableObject (hierarchy) + */ extends RenderableObject { + static int anInt8739; + static int anInt8740; + boolean aBoolean8741; + static int anInt8742; + short aShort8743; + static NodeList aClass262_8744 = new NodeList(); + byte aByte8745; + static int anInt8746; + short aShort8747; + static int anInt8748; + static int anInt8749; + short aShort8750; + short aShort8751; + static int anInt8752; + static int anInt8753; + static int anInt8754; + static CacheStore aClass45_8755; + static Component183 aClass114_8756 = new Component183(107, 6); + + final boolean method2378(int i) { + anInt8740++; + if (i != 0) this.aShort8747 = (short) -75; + for (int i_0_ = this.aShort8743; i_0_ <= this.aShort8751; i_0_++) { + for (int i_1_ = this.aShort8750; (i_1_ <= this.aShort8747); i_1_++) { + int i_2_ = (-Component256.anInt6111 + i_0_ + Component197.anInt10084); + if (i_2_ >= 0 && (DisplayModeManagerContainer153.aBooleanArrayArray1572.length > i_2_)) { + int i_3_ = (Component197.anInt10084 + (i_1_ - DebugPanicSub2.anInt8502)); + if (i_3_ >= 0 && (DisplayModeManagerContainer153.aBooleanArrayArray1572.length > i_3_) && DisplayModeManagerContainer153.aBooleanArrayArray1572[i_2_][i_3_]) return true; + } + } + } + return false; + } + + final boolean method2382(byte i) { + anInt8748++; + if (i > -51) return true; + return RenderableSub2.method2499(this.aByte6376, this.aShort8747, this.aShort8750, this.method2394(true), this.aShort8743, (byte) 116, (this.aShort8751)); + } + + static final int method2408(byte i) { + anInt8754++; + int i_4_ = -71 % ((-2 - i) / 44); + return DefinitionSub31.anInt9411++; + } + + void method2409(byte i) { + if (i <= -109) anInt8746++; + } + + static final boolean method2410(byte i, int i_5_, int i_6_) { + anInt8752++; + if (i >= -21) return true; + if (!Component364.aBoolean8335) return false; + int i_7_ = i_6_ >> 16; + int i_8_ = i_6_ & 0xffff; + if (DefinitionSub33.aClass46ArrayArray9427[i_7_] == null || DefinitionSub33.aClass46ArrayArray9427[i_7_][i_8_] == null) return false; + DisplayModeManagerContainer57 class46 = DefinitionSub33.aClass46ArrayArray9427[i_7_][i_8_]; + if (i_5_ == -1 && class46.anInt774 == 0) { + for (MenuEntry class348_sub42_sub12 = ((MenuEntry) DefinitionSub4.menuEntries.first(4)); class348_sub42_sub12 != null; class348_sub42_sub12 = (MenuEntry) DefinitionSub4.menuEntries.next((byte) 56)) { + if (class348_sub42_sub12.opcode == 6 || class348_sub42_sub12.opcode == 1011 || (class348_sub42_sub12.opcode == 13) || (class348_sub42_sub12.opcode == 18) || (class348_sub42_sub12.opcode == 16)) { + for (DisplayModeManagerContainer57 class46_9_ = BitmapFont.method2570(1512932720, (class348_sub42_sub12.param1)); class46_9_ != null; class46_9_ = DisplayModeManagerContainer87.method1687(class46_9_, 3)) { + if (class46_9_.anInt830 == class46.anInt830) return true; + } + } + } + } else { + for (MenuEntry class348_sub42_sub12 = ((MenuEntry) DefinitionSub4.menuEntries.first(4)); class348_sub42_sub12 != null; class348_sub42_sub12 = (MenuEntry) DefinitionSub4.menuEntries.next((byte) 93)) { + if ((class348_sub42_sub12.param0 == i_5_) && (class348_sub42_sub12.param1 == class46.anInt830) && ((class348_sub42_sub12.opcode) == 6 || (class348_sub42_sub12.opcode) == 1011 || (class348_sub42_sub12.opcode) == 13 || (class348_sub42_sub12.opcode) == 18 || (class348_sub42_sub12.opcode) == 16)) + return true; + } + } + return false; + } + + Component327(int i, int i_10_, int i_11_, int i_12_, int i_13_, int i_14_, int i_15_, int i_16_, int i_17_, boolean bool, byte i_18_) { + this.anInt6382 = i_12_; + this.aBoolean8741 = bool; + this.aShort8747 = (short) i_17_; + this.x = i_11_; + this.aByte8745 = i_18_; + this.aShort8751 = (short) i_15_; + this.y = i_13_; + this.plane = (byte) i; + this.aShort8750 = (short) i_16_; + this.aShort8743 = (short) i_14_; + this.aByte6376 = (byte) i_10_; + } + + static final int method2411(Component22 class113, int i) { + anInt8742++; + if (class113 == NodeBaseSub1.aClass113_9773) return 9216; + if (class113 == Component82.aClass113_430) return 34065; + if (DisplayModeManagerContainer1.aClass113_3314 == class113) return 34066; + if (i != 25602) method2413(-121, null); + throw new IllegalArgumentException(); + } + + public static void method2412(boolean bool) { + aClass45_8755 = null; + aClass114_8756 = null; + aClass262_8744 = null; + if (bool != true) method2408((byte) -121); + } + + final int method2384(NodeSub1[] class348_sub1s, int i) { + anInt8753++; + int i_19_ = 0; + while_104_: + for (int i_20_ = this.aShort8743; (i_20_ <= this.aShort8751); i_20_++) { + for (int i_21_ = this.aShort8750; this.aShort8747 >= i_21_; i_21_++) { + long l = (PacketReader.aLongArrayArrayArray10431[this.plane][i_20_][i_21_]); + long l_22_ = 0L; + while_103_: + while (l_22_ <= 48L) { + int i_23_ = (int) (l >>> (int) l_22_ & 0xffffL); + if (i_23_ <= 0) break; + DisplayModeManagerContainer159 class211 = Component329.aClass211Array5993[-1 + i_23_]; + for (int i_24_ = 0; i_19_ > i_24_; i_24_++) { + if (class211.aClass348_Sub1_2745 == class348_sub1s[i_24_]) { + l_22_ += 16L; + continue while_103_; + } + } + class348_sub1s[i_19_++] = class211.aClass348_Sub1_2745; + if (i_19_ == 4) break while_104_; + l_22_ += 16L; + } + } + } + int i_25_ = 17 % ((i - -14) / 61); + for (int i_26_ = i_19_; i_26_ < 4; i_26_++) + class348_sub1s[i_26_] = null; + if (this.aByte8745 != 0) { + int i_27_ = (this.aShort8743 + -Component256.anInt6111); + int i_28_ = (-DebugPanicSub2.anInt8502 + this.aShort8750); + int i_29_; + short i_30_; + int i_31_; + short i_32_; + if (this.aByte8745 == 1) { + if (i_27_ >= i_28_) { + i_32_ = this.aShort8743; + i_30_ = this.aShort8750; + i_31_ = this.aShort8750 - -1; + i_29_ = this.aShort8743 - 1; + } else { + i_30_ = this.aShort8750; + i_31_ = this.aShort8750 + -1; + i_32_ = this.aShort8743; + i_29_ = 1 + this.aShort8743; + } + } else if (-i_27_ < i_28_) { + i_29_ = this.aShort8743 + -1; + i_30_ = this.aShort8750; + i_31_ = -1 + this.aShort8750; + i_32_ = this.aShort8743; + } else { + i_31_ = this.aShort8750 + 1; + i_32_ = this.aShort8743; + i_30_ = this.aShort8750; + i_29_ = 1 + this.aShort8743; + } + int i_33_ = 0; + while_106_: + for (/**/; i_19_ > i_33_; i_33_++) { + long l = (PacketReader.aLongArrayArrayArray10431[this.plane][i_32_][i_31_]); + while (l != 0L) { + DisplayModeManagerContainer159 class211 = (Component329.aClass211Array5993[(int) (-1L + (l & 0xffffL))]); + l >>>= 16; + if (class211.aClass348_Sub1_2745 == class348_sub1s[i_33_]) continue while_106_; + } + l = (PacketReader.aLongArrayArrayArray10431[this.plane][i_29_][i_30_]); + while (l != 0) { + DisplayModeManagerContainer159 class211 = (Component329.aClass211Array5993[(int) (-1L + (0xffffL & l))]); + l >>>= 16; + if (class348_sub1s[i_33_] == class211.aClass348_Sub1_2745) continue while_106_; + } + for (int i_34_ = i_33_; i_34_ < i_19_ - 1; i_34_++) + class348_sub1s[i_34_] = class348_sub1s[i_34_ - -1]; + i_19_--; + } + } + return i_19_; + } + + static final int method2413(int i, DisplayModeManagerContainer207 class348_sub49_sub2) { + anInt8749++; + int i_35_ = class348_sub49_sub2.readBits((byte) -24, 2); + if (i != 1) aClass262_8744 = null; + int i_36_; + if (i_35_ != 0) { + if (i_35_ == 1) i_36_ = class348_sub49_sub2.readBits((byte) -24, 5); + else if (i_35_ != 2) i_36_ = class348_sub49_sub2.readBits((byte) -24, 11); + else i_36_ = class348_sub49_sub2.readBits((byte) -24, 8); + } else i_36_ = 0; + return i_36_; + } +} diff --git a/client/entities/DisplayModeManagerContainer58.java b/client/entities/DisplayModeManagerContainer58.java new file mode 100644 index 000000000..7046d6977 --- /dev/null +++ b/client/entities/DisplayModeManagerContainer58.java @@ -0,0 +1,819 @@ +/* DisplayModeManagerContainer58 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +abstract class DisplayModeManagerContainer58 +/** + * RENAMED from `Class318_Sub1_Sub3_Sub3` (JODE-obfuscated). + * Evidence: subclass of Component327 (hierarchy) + */ extends Component327 { + static int anInt10200; + int anInt10201; + int anInt10202; + int anInt10203; + private static short[][] aShortArrayArray10204; + static int anInt10205; + byte aByte10206; + int anInt10207; + int anInt10208; + static DisplayModeManagerContainer292 aClass170_10209; + int anInt10210; + int anInt10211; + static int anInt10212; + boolean aBoolean10213 = false; + static int anInt10214; + int anInt10215; + static int anInt10216; + Component235 aClass264_10217; + int anInt10218; + int[] anIntArray10219; + int anInt10220; + static boolean aBoolean10221; + private byte aByte10222; + int anInt10223; + int anInt10224; + int anInt10225; + boolean aBoolean10226; + int anInt10227; + static int anInt10228; + int[] anIntArray10229; + int anInt10230; + int anInt10231; + int anInt10232; + static int anInt10233; + int anInt10234; + static int anInt10235; + int[] anIntArray10236 = null; + int anInt10237; + static boolean aBoolean10238; + int anInt10239; + int anInt10240; + int anInt10241; + int[] anIntArray10242; + int anInt10243; + int anInt10244; + int anInt10245; + private static short[][] aShortArrayArray10246 = {new short[0], new short[0], new short[0], new short[0], new short[0]}; + int anInt10247; + int anInt10248; + static int anInt10249; + int anInt10250; + static int anInt10251; + int anInt10252; + static short[][][] aShortArrayArrayArray10253; + static int anInt10254; + byte aByte10255; + static int anInt10256; + static int anInt10257; + private static short[][] aShortArrayArray10258; + int[] anIntArray10259; + int anInt10260; + int anInt10261; + static int anInt10262; + static int anInt10263; + int anInt10264; + int anInt10265; + static int[] anIntArray10266 = new int[256]; + int anInt10267; + int anInt10268; + int anInt10269; + byte aByte10270; + int anInt10271; + static int anInt10272; + int anInt10273; + int anInt10274; + int anInt10275; + int anInt10276; + static int anInt10277; + int anInt10278; + byte aByte10279; + private int anInt10280; + static int anInt10281; + int anInt10282; + int anInt10283; + int[] anIntArray10284; + int anInt10285; + int anInt10286; + int anInt10287; + int anInt10288; + int anInt10289; + int anInt10290; + int anInt10291; + String aString10292; + int anInt10293; + int anInt10294; + int anInt10295; + int[] anIntArray10296; + static int anInt10297; + static int anInt10298; + static int anInt10299; + int anInt10300; + int anInt10301; + int anInt10302; + int[] anIntArray10303; + int[] anIntArray10304; + int anInt10305; + int anInt10306; + static int anInt10307; + Component280[] aClass182Array10308; + boolean aBoolean10309; + int anInt10310; + static int anInt10311; + int anInt10312; + static int anInt10313; + int anInt10314; + private final Component235 aClass264_10315; + private final Component235 aClass264_10316; + int[] anIntArray10317; + boolean aBoolean10318; + int anInt10319; + int[] anIntArray10320; + byte[] aByteArray10321; + int anInt10322; + DisplayModeManagerContainer370[] aClass64Array10323; + boolean aBoolean10324; + int anInt10325; + int anInt10326; + RenderableSub10 aClass318_Sub10_10327; + + static final void method2420(int i, int i_0_) { + if (i_0_ != -1) aBoolean10238 = false; + DisplayModeManagerContainer288.anInt8628 = i; + anInt10272++; + Component142.aClass60_4417.clear(0); + } + + abstract int method2421(byte i); + + final Component241 method2422(byte i) { + if (i != 72) method2438(-88, 93, -127, 68, 7, -76, 116, (byte) 122); + anInt10249++; + int i_1_ = method2421((byte) 127); + if (i_1_ != -1) return DisplayModeManagerContainer282.aClass261_5558.get(i_1_, 32); + return Component241.aClass225_2931; + } + + final void method2409(byte i) { + anInt10307++; + int i_2_ = 240 + (-1 + anInt10280 << 8); + this.aShort8747 = (short) (i_2_ + this.y >> 9); + this.aShort8750 = (short) (-i_2_ + this.y >> 9); + this.aShort8751 = (short) (i_2_ + this.x >> 9); + if (i >= -109) aShortArrayArray10258 = null; + this.aShort8743 = (short) (this.x + -i_2_ >> 9); + } + + final boolean method2423(int i, int i_3_, int i_4_) { + anInt10251++; + if (this.anIntArray10296 == null) { + if (i_4_ == -1) return true; + this.anIntArray10296 = new int[12]; + for (int i_5_ = 0; i_5_ < 12; i_5_++) + this.anIntArray10296[i_5_] = -1; + } + int i_6_ = 3 / ((-22 - i) / 58); + Component241 class225 = method2422((byte) 72); + int i_7_ = 256; + if (class225.anIntArray2907 != null && class225.anIntArray2907[i_3_] > 0) i_7_ = class225.anIntArray2907[i_3_]; + if (i_4_ == -1) { + if (this.anIntArray10296[i_3_] == -1) return true; + int i_8_ = this.aClass264_10217.method2019((byte) -41); + int i_9_ = this.anIntArray10296[i_3_]; + int i_10_ = -i_9_ + i_8_; + if (i_10_ >= -i_7_ && i_10_ <= i_7_) { + this.anIntArray10296[i_3_] = -1; + for (int i_11_ = 0; i_11_ < 12; i_11_++) { + if (this.anIntArray10296[i_11_] != -1) return true; + } + this.anIntArray10296 = null; + return true; + } + if (i_10_ > 0 && i_10_ <= 8192 || i_10_ <= -8192) this.anIntArray10296[i_3_] = GpsOverlay.bitwiseAnd(16383, i_9_ - -i_7_); + else this.anIntArray10296[i_3_] = GpsOverlay.bitwiseAnd(-i_7_ + i_9_, 16383); + return false; + } + if (this.anIntArray10296[i_3_] == -1) this.anIntArray10296[i_3_] = this.aClass264_10217.method2019((byte) -104); + int i_12_ = this.anIntArray10296[i_3_]; + int i_13_ = -i_12_ + i_4_; + if (i_13_ >= -i_7_ && i_7_ >= i_13_) { + this.anIntArray10296[i_3_] = i_4_; + return true; + } + if ((i_13_ <= 0 || i_13_ > 8192) && i_13_ > -8192) this.anIntArray10296[i_3_] = GpsOverlay.bitwiseAnd(16383, i_12_ - i_7_); + else this.anIntArray10296[i_3_] = GpsOverlay.bitwiseAnd(16383, i_12_ - -i_7_); + return false; + } + + final void method2424(int i, int i_14_, int i_15_, int i_16_, byte i_17_, int i_18_) { + anInt10263++; + int i_19_ = ((this.aShort8743 + this.aShort8751) >> 1); + int i_20_ = ((this.aShort8750 + this.aShort8747) >> 1); + int i_21_ = DisplayModeManagerContainer88.anIntArray1207[i]; + int i_22_ = DisplayModeManagerContainer88.anIntArray1204[i]; + int i_23_ = -i_14_ / 2; + int i_24_ = -i_16_ / 2; + int i_25_ = i_23_ * i_22_ + i_24_ * i_21_ >> 14; + int i_26_ = -(i_21_ * i_23_) + i_24_ * i_22_ >> 14; + int i_27_ = Component382.method1321((byte) -125, i_25_ + this.x, i_26_ + this.y, i_19_, this.plane, i_20_); + int i_28_ = i_14_ / 2; + int i_29_ = -i_16_ / 2; + int i_30_ = i_28_ * i_22_ + i_21_ * i_29_ >> 14; + int i_31_ = -(i_21_ * i_28_) + i_29_ * i_22_ >> 14; + int i_32_ = Component382.method1321((byte) -119, i_30_ + this.x, this.y + i_31_, i_19_, this.plane, i_20_); + int i_33_ = -i_14_ / 2; + int i_34_ = i_16_ / 2; + int i_35_ = i_34_ * i_21_ - -(i_33_ * i_22_) >> 14; + int i_36_ = -(i_33_ * i_21_) + i_34_ * i_22_ >> 14; + int i_37_ = Component382.method1321((byte) 101, i_35_ + this.x, this.y + i_36_, i_19_, this.plane, i_20_); + if (i_17_ <= 63) this.anInt10243 = -62; + int i_38_ = i_14_ / 2; + int i_39_ = i_16_ / 2; + int i_40_ = i_22_ * i_38_ + i_39_ * i_21_ >> 14; + int i_41_ = i_22_ * i_39_ + -(i_21_ * i_38_) >> 14; + int i_42_ = Component382.method1321((byte) -114, i_40_ + this.x, this.y + i_41_, i_19_, this.plane, i_20_); + int i_43_ = Math.min(i_32_, i_27_); + int i_44_ = Math.min(i_37_, i_42_); + int i_45_ = Math.min(i_42_, i_32_); + this.anInt10302 = 0x3fff & (int) (Math.atan2(i_43_ + -i_44_, i_16_) * 2607.5945876176133); + int i_46_ = Math.min(i_27_, i_37_); + this.anInt10208 = 0x3fff & (int) (2607.5945876176133 * Math.atan2(i_46_ - i_45_, i_14_)); + if (this.anInt10302 != 0 && i_18_ != 0) { + int i_47_ = -i_18_ + 16384; + if (this.anInt10302 <= 8192) { + if (this.anInt10302 > i_18_) this.anInt10302 = i_18_; + } else if (this.anInt10302 < i_47_) this.anInt10302 = i_47_; + } + if (this.anInt10208 != 0 && i_15_ != 0) { + int i_48_ = -i_15_ + 16384; + if (this.anInt10208 > 8192) { + if (i_48_ > this.anInt10208) this.anInt10208 = i_48_; + } else if (this.anInt10208 > i_15_) this.anInt10208 = i_15_; + } + this.anInt10252 = i_27_ - -i_42_; + if (i_32_ - -i_37_ < this.anInt10252) this.anInt10252 = i_32_ - -i_37_; + this.anInt10252 = (-this.anInt6382 + (this.anInt10252 >> 1)); + } + + abstract int method2425(int i); + + int method2426(int i) { + anInt10214++; + Component241 class225 = method2422((byte) 72); + if (class225.anInt2928 != -1) return class225.anInt2928; + if (this.anInt10207 == -32768) return 200; + if (i != 200) method2377((byte) -40); + return -this.anInt10207; + } + + final void method2427(int i) { + anInt10313++; + if (i < 13) method2429(6); + this.anInt10319 = 0; + this.anInt10322 = 0; + } + + public DisplayModeManagerContainer58() { + super(0, 0, 0, 0, 0, 0, 0, 0, 0, false, (byte) 0); + this.anInt10201 = 0; + this.anInt10230 = 0; + this.anInt10234 = 0; + this.anInt10250 = -1; + this.anInt10268 = -1; + this.anInt10240 = 0; + this.anInt10264 = 100; + this.anInt10274 = 0; + this.anInt10215 = -1; + this.anInt10247 = 0; + this.anInt10269 = -1; + this.anInt10224 = 0; + this.anIntArray10229 = new int[Component72.anInt1905]; + this.anInt10278 = -1; + this.anInt10265 = 0; + this.anInt10244 = -1; + this.anIntArray10259 = new int[Component72.anInt1905]; + this.anInt10218 = 0; + this.anInt10287 = -1000; + this.anInt10291 = -1; + this.anInt10261 = 0; + aByte10222 = (byte) 0; + this.anInt10276 = -1; + this.anInt10285 = 0; + this.aString10292 = null; + this.anInt10289 = -1; + this.aByte10279 = (byte) 0; + this.anInt10203 = 0; + anInt10280 = 1; + this.aBoolean10226 = false; + this.anInt10294 = 0; + this.anInt10248 = -1; + this.anInt10275 = -1; + this.anIntArray10219 = new int[Component72.anInt1905]; + this.anInt10245 = 0; + this.anIntArray10303 = new int[Component72.anInt1905]; + this.anInt10273 = 0; + this.anInt10306 = 0; + this.anInt10243 = 0; + this.anInt10305 = 0; + this.anInt10267 = 0; + this.anInt10286 = -1; + this.anInt10283 = -1; + this.aBoolean10309 = true; + this.anInt10232 = 0; + this.anInt10310 = 256; + this.aClass182Array10308 = new Component280[12]; + this.anInt10312 = -1; + this.anInt10207 = -32768; + this.anIntArray10304 = new int[Component72.anInt1905]; + this.anIntArray10284 = new int[Component72.anInt1905]; + this.anInt10223 = -1000; + this.aClass264_10217 = new Component235(); + aClass264_10315 = new Component235(); + aClass264_10316 = new Component235(); + this.aBoolean10318 = false; + this.anIntArray10317 = new int[10]; + this.anInt10322 = 0; + this.aBoolean10324 = false; + this.aByteArray10321 = new byte[10]; + this.anInt10325 = 0; + this.aClass64Array10323 = new DisplayModeManagerContainer370[3]; + this.anInt10319 = 0; + this.anIntArray10320 = new int[10]; + this.anInt10326 = 0; + } + + final int method2428(int i) { + anInt10200++; + Component241 class225 = method2422((byte) 72); + if (i != 2) method2376(11); + int i_49_ = (this.aClass264_10217.anInt3370); + boolean bool; + if (class225.anInt2948 == 0) bool = (this.aClass264_10217.method2020(this.anInt10310, this.anInt10282, this.anInt10310, (byte) -113)); + else bool = (this.aClass264_10217.method2020(class225.anInt2917, this.anInt10282, class225.anInt2948, (byte) -107)); + int i_50_ = -i_49_ + this.aClass264_10217.anInt3370; + if (i_50_ == 0) { + this.anInt10247 = 0; + this.aClass264_10217.method2016(15615, this.anInt10282); + } else this.anInt10247++; + if (bool) { + if (class225.anInt2901 != 0) { + if (i_50_ <= 0) aClass264_10315.method2020(class225.anInt2935, -(class225.anInt2950), class225.anInt2901, (byte) -47); + else aClass264_10315.method2020(class225.anInt2935, class225.anInt2950, class225.anInt2901, (byte) -77); + } + if (class225.anInt2936 != 0) aClass264_10316.method2020(class225.anInt2904, class225.anInt2926, class225.anInt2936, (byte) -127); + } else { + if (class225.anInt2901 == 0) aClass264_10315.method2016(15615, 0); + else aClass264_10315.method2020(class225.anInt2935, 0, class225.anInt2901, (byte) -26); + if (class225.anInt2936 != 0) aClass264_10316.method2020(class225.anInt2904, 0, class225.anInt2936, (byte) -66); + else aClass264_10316.method2016(15615, 0); + } + return i_50_; + } + + public static void method2429(int i) { + aClass170_10209 = null; + aShortArrayArray10246 = null; + anIntArray10266 = null; + aShortArrayArray10204 = null; + aShortArrayArrayArray10253 = null; + if (i > -101) aShortArrayArray10246 = null; + aShortArrayArray10258 = null; + } + + final void method2430(int[] is, int[] is_51_, int i) { + do { + try { + anInt10233++; + if (this.anIntArray10242 != null || is_51_ == null) { + if (is_51_ == null) { + this.anIntArray10242 = null; + break; + } + } else this.anIntArray10242 = new int[12]; + for (int i_52_ = 0; i_52_ < (this.anIntArray10242).length; i_52_++) + this.anIntArray10242[i_52_] = -1; + for (int i_53_ = 0; i_53_ < is_51_.length; i_53_++) { + int i_54_ = is[i_53_]; + for (int i_55_ = 0; i_55_ < (this.anIntArray10242).length; i_55_++) { + if ((0x1 & i_54_) != 0) this.anIntArray10242[i_55_] = is_51_[i_53_]; + i_54_ >>= 1; + } + } + if (i < -71) break; + this.anIntArray10236 = null; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("kda.DB(" + (is != null ? "{...}" : "null") + ',' + (is_51_ != null ? "{...}" : "null") + ',' + i + ')')); + } + break; + } while (false); + } + + static final void method2431(int i, int i_56_, HashNodeSub13 class348_sub42_sub13, int i_57_, int i_58_, int i_59_, int i_60_, GraphicsToolkit var_ha, int i_61_, int i_62_, int i_63_, int i_64_) { + try { + if (i_62_ < 111) aShortArrayArray10246 = null; + if (i_63_ < i_57_ && i_57_ < i_58_ + i_63_ && i_60_ > i_56_ - 13 && i_60_ < 3 + i_56_) i = i_59_; + anInt10212++; + String string = ColorTagNode.method2812(-44, class348_sub42_sub13); + NodeList.aClass324_3326.method2567(i_56_, string, (byte) 120, i, 0, i_63_ - -3, DisplayModeManagerContainer196.aClass105Array4234, Component143.anIntArray2330); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("kda.VA(" + i + ',' + i_56_ + ',' + (class348_sub42_sub13 != null ? "{...}" : "null") + ',' + i_57_ + ',' + i_58_ + ',' + i_59_ + ',' + i_60_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_61_ + ',' + i_62_ + ',' + i_63_ + ',' + i_64_ + ')')); + } + } + + final void method2432(GraphicsToolkit var_ha, int i, DisplayModeManagerContainer204 class101, boolean bool, DisplayModeManagerContainer370[] class64s) { + do { + try { + if (i == -15074) { + anInt10256++; + if (!bool) { + DisplayModeManagerContainer370 class64 = class64s[0]; + DisplayModeManagerContainer370 class64_65_ = class64s[1]; + DisplayModeManagerContainer370 class64_66_ = class64s[2]; + if (class64 != null) { + class64.method620(class101); + int i_67_ = 0; + int i_68_ = 0; + int i_69_ = 0; + int i_70_ = 0; + Component30[] class129s = class64.method619(); + DisplayModeManagerContainer173[] class342s = class64.method604(); + if (class342s != null) { + i_70_++; + i_69_ += class342s.length; + } + if (class129s != null) { + i_67_ += class129s.length; + i_68_++; + } + Component30[] class129s_71_ = null; + DisplayModeManagerContainer173[] class342s_72_ = null; + if (class64_65_ != null) { + class64_65_.method620(class101); + class129s_71_ = class64_65_.method619(); + class342s_72_ = class64_65_.method604(); + } + if (class342s_72_ != null) { + i_70_++; + i_69_ += class342s_72_.length; + } + if (class129s_71_ != null) { + i_68_++; + i_67_ += class129s_71_.length; + } + Component30[] class129s_73_ = null; + DisplayModeManagerContainer173[] class342s_74_ = null; + if (class64_66_ != null) { + class64_66_.method620(class101); + class129s_73_ = class64_66_.method619(); + class342s_74_ = class64_66_.method604(); + } + if (class342s_74_ != null) { + i_70_++; + i_69_ += class342s_74_.length; + } + if (class129s_73_ != null) { + i_67_ += class129s_73_.length; + i_68_++; + } + if (((this.aClass318_Sub10_10327) == null || this.aClass318_Sub10_10327.aBoolean6470) && (i_68_ > 0 || i_70_ > 0)) this.aClass318_Sub10_10327 = RenderableSub10.method2526((OpenGlShader.clientCycle), true); + if ((this.aClass318_Sub10_10327) != null) { + Object object = null; + Component30[] class129s_75_; + if (i_68_ != 1) { + class129s_75_ = new Component30[i_67_]; + int i_76_ = 0; + if (class129s != null) { + Component313.arraycopyObjects(class129s, 0, class129s_75_, i_76_, class129s.length); + i_76_ += class129s.length; + } + if (class129s_71_ != null) { + Component313.arraycopyObjects(class129s_71_, 0, class129s_75_, i_76_, class129s_71_.length); + i_76_ += class129s_71_.length; + } + if (class129s_73_ != null) Component313.arraycopyObjects(class129s_73_, 0, class129s_75_, i_76_, class129s_73_.length); + } else if (class129s_71_ != null) class129s_75_ = class129s_71_; + else if (class129s_73_ != null) class129s_75_ = class129s_73_; + else class129s_75_ = class129s; + Object object_77_ = null; + DisplayModeManagerContainer173[] class342s_78_; + if (i_70_ == 1) { + if (class342s_72_ != null) class342s_78_ = class342s_72_; + else if (class342s_74_ == null) class342s_78_ = class342s; + else class342s_78_ = class342s_74_; + } else { + class342s_78_ = new DisplayModeManagerContainer173[i_69_]; + int i_79_ = 0; + if (class342s != null) { + Component313.arraycopyObjects(class342s, 0, class342s_78_, i_79_, class342s.length); + i_79_ += class342s.length; + } + if (class342s_72_ != null) { + Component313.arraycopyObjects(class342s_72_, 0, class342s_78_, i_79_, class342s_72_.length); + i_79_ += class342s_72_.length; + } + if (class342s_74_ != null) Component313.arraycopyObjects(class342s_74_, 0, class342s_78_, i_79_, class342s_74_.length); + } + this.aClass318_Sub10_10327.method2536(var_ha, OpenGlShader.clientCycle, class129s_75_, class342s_78_, false); + } + this.aBoolean10318 = true; + } + } else if ((this.aClass318_Sub10_10327) != null) this.aClass318_Sub10_10327.method2540(OpenGlShader.clientCycle); + if (this.aClass318_Sub10_10327 == null) break; + this.aClass318_Sub10_10327.method2533(this.plane, this.aShort8743, this.aShort8751, this.aShort8750, this.aShort8747); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("kda.L(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + (class101 != null ? "{...}" : "null") + ',' + bool + ',' + (class64s != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + protected final void finalize() { + if (this.aClass318_Sub10_10327 != null) this.aClass318_Sub10_10327.method2534(); + anInt10297++; + } + + static final void method2433() { + if (Component304.aClass357ArrayArrayArray1148 != null) { + for (int i = 0; i < Component304.aClass357ArrayArrayArray1148.length; i++) { + for (int i_80_ = 0; i_80_ < StaticElementRenderer.anInt6451; i_80_++) { + for (int i_81_ = 0; i_81_ < NodeSub41.anInt7054; i_81_++) { + if ((Component304.aClass357ArrayArrayArray1148[i][i_80_][i_81_]) != null) Component304.aClass357ArrayArrayArray1148[i][i_80_][i_81_].method3485(true); + Component304.aClass357ArrayArrayArray1148[i][i_80_][i_81_] = null; + } + } + } + } + Component304.aClass357ArrayArrayArray1148 = null; + NodeSub1Sub1.aSArray8801 = null; + if (ImageProducerSprite.aClass357ArrayArrayArray9082 != null) { + for (int i = 0; i < ImageProducerSprite.aClass357ArrayArrayArray9082.length; i++) { + for (int i_82_ = 0; i_82_ < StaticElementRenderer.anInt6451; i_82_++) { + for (int i_83_ = 0; i_83_ < NodeSub41.anInt7054; i_83_++) { + if ((ImageProducerSprite.aClass357ArrayArrayArray9082[i][i_82_][i_83_]) != null) ImageProducerSprite.aClass357ArrayArrayArray9082[i][i_82_][i_83_].method3485(true); + ImageProducerSprite.aClass357ArrayArrayArray9082[i][i_82_][i_83_] = null; + } + } + } + } + ImageProducerSprite.aClass357ArrayArrayArray9082 = null; + Component9.aSArray4142 = null; + Component335.aClass357ArrayArrayArray2029 = null; + ShaderSub1.aSArray5191 = null; + DisplayModeManagerContainer153.aBooleanArrayArray1572 = null; + NodeSub8.aBooleanArrayArray6656 = null; + Component382.anIntArray2272 = null; + Component95.aBooleanArrayArrayArray1751 = null; + Component2.aBooleanArrayArrayArray8361 = null; + FriendsIgnoreList.clearOccluders((byte) 89); + if (DisplayModeManagerContainer310.aClass318_Sub1_Sub3Array357 != null) { + for (int i = 0; i < Component328.dynamicOnscreenCount; i++) + DisplayModeManagerContainer310.aClass318_Sub1_Sub3Array357[i] = null; + Component328.dynamicOnscreenCount = 0; + } + Node.aClass318_Sub1Array4293 = null; + AudioMixer.aClass318_Sub1Array3226 = null; + Component95.aClass318_Sub1Array1754 = null; + if (Component71.aClass318_Sub1Array6066 != null) { + for (int i = 0; i < Component71.aClass318_Sub1Array6066.length; i++) + Component71.aClass318_Sub1Array6066[i] = null; + Component305.opaqueOnscreenCount = 0; + } + if (ReferenceTable.aClass318_Sub1Array3737 != null) { + for (int i = 0; i < ReferenceTable.aClass318_Sub1Array3737.length; i++) + ReferenceTable.aClass318_Sub1Array3737[i] = null; + HashNodeSub3.translucentOnscreenCount = 0; + } + if (Component329.aClass211Array5993 != null) { + for (int i = 0; i < Component374.anInt4135; i++) + Component329.aClass211Array5993[i] = null; + for (int i = 0; i < Component291.anInt2524; i++) { + for (int i_84_ = 0; i_84_ < StaticElementRenderer.anInt6451; i_84_++) { + for (int i_85_ = 0; i_85_ < NodeSub41.anInt7054; i_85_++) + PacketReader.aLongArrayArrayArray10431[i][i_84_][i_85_] = 0L; + } + } + Component374.anInt4135 = 0; + } + Component126.method3513(-120); + DisplayModeManagerContainer5.aClass76_1208 = DisplayModeManagerContainer5.aClass76_1210; + DisplayModeManagerContainer5.aClass76_1208.method775((byte) 69); + NodeSub1Sub2.aByteArrayArray8816 = null; + DisplayModeManagerContainer173.anIntArrayArray4253 = null; + Component175.aShortArrayArray5847 = null; + if (LoggedOutDefinition.aClass293Array9432 != null) { + Component92.method1978(); + JaclibLoader.toolkit.method3631(1); + JaclibLoader.toolkit.method3659(0); + } + if (Component144.aClass315Array3982 != null) Component144.aClass315Array3982 = null; + JaclibLoader.toolkit = null; + } + + final void method2434(byte i, int i_86_) { + if (i <= 20) this.anInt10295 = -101; + anInt10235++; + anInt10280 = i_86_; + } + + final void method2435(byte i, int i_87_, boolean bool) { + anInt10298++; + Component241 class225 = method2422((byte) 72); + if (bool || class225.anInt2948 != 0 || this.anInt10310 != 0) { + if (i != -108) method2438(-11, -118, -110, -2, -57, -110, 126, (byte) 93); + this.anInt10282 = 0x3fff & i_87_; + this.aClass264_10217.method2016(15615, this.anInt10282); + } + } + + final int method2379(int i) { + if (i != -25675) return -109; + anInt10311++; + return this.anInt10230; + } + + final int method2394(boolean bool) { + anInt10254++; + if (bool != true) this.anIntArray10296 = null; + if (this.anInt10207 == -32768) return 0; + return this.anInt10207; + } + + int method2436(byte i) { + anInt10299++; + if (i < 39) method2420(-75, 84); + return anInt10280; + } + + final boolean method2376(int i) { + anInt10281++; + return i > -12; + } + + final boolean method2377(byte i) { + if (i != 122) anInt10257 = -72; + anInt10262++; + return this.aBoolean10324; + } + + final void method2437(int i, int i_88_, int i_89_, int i_90_, boolean bool, int i_91_) { + anInt10216++; + int i_92_ = (!bool ? this.anInt10269 : this.anInt10291); + if (i_88_ != -1 && i_92_ != -1) { + if (i_92_ == i_88_) { + Component63 class368 = NsnDefinition.aClass319_9245.method2543((byte) 65, i_88_); + if (class368.aBoolean4487 && class368.anInt4503 != -1) { + DisplayModeManagerContainer167 class17 = RunescapeInfo.aClass87_191.method835(class368.anInt4503, 7); + int i_95_ = class17.anInt248; + if (i_95_ == 0) return; + if (i_95_ == 2) { + if (bool) { + this.anInt10265 = 0; + return; + } else this.anInt10305 = 0; + return; + } + } + } else { + Component63 class368 = NsnDefinition.aClass319_9245.method2543((byte) 109, i_88_); + Component63 class368_93_ = NsnDefinition.aClass319_9245.method2543((byte) 99, i_92_); + if (class368.anInt4503 != -1 && class368_93_.anInt4503 != -1) { + DisplayModeManagerContainer167 class17 = RunescapeInfo.aClass87_191.method835(class368.anInt4503, 7); + DisplayModeManagerContainer167 class17_94_ = RunescapeInfo.aClass87_191.method835((class368_93_.anInt4503), i_89_ ^ ~0x3c5664d6); + if (class17_94_.anInt239 > class17.anInt239) return; + } + } + } + int i_96_ = OpenGlShader.clientCycle; + if (i_89_ != -1012294866) method2423(84, 124, 113); + if (bool) { + this.anInt10276 = 1; + this.anInt10260 = i_91_ >> 16; + this.anInt10291 = i_88_; + this.anInt10211 = (0xffff & i_91_) + i_96_; + this.anInt10224 = 0; + this.anInt10289 = i_90_; + this.anInt10202 = i; + this.anInt10273 = 0; + if (i_96_ < this.anInt10211) this.anInt10224 = -1; + if (this.anInt10291 != -1 && (this.anInt10211 == i_96_)) { + int i_97_ = (NsnDefinition.aClass319_9245.method2543((byte) 98, this.anInt10291).anInt4503); + if (i_97_ != -1) { + DisplayModeManagerContainer167 class17 = RunescapeInfo.aClass87_191.method835(i_97_, 7); + if (class17 != null && class17.anIntArray237 != null && !this.aBoolean10309) DisplayModeManagerContainer260.method2178(this, 0, class17, i_89_ + 1012294835); + } + } + } else { + this.anInt10243 = 0; + this.anInt10278 = i_90_; + this.anInt10237 = i; + this.anInt10225 = (0xffff & i_91_) + i_96_; + this.anInt10283 = 1; + this.anInt10240 = 0; + this.anInt10269 = i_88_; + this.anInt10220 = i_91_ >> 16; + if (i_96_ < this.anInt10225) this.anInt10240 = -1; + if (this.anInt10269 != -1 && this.anInt10225 == i_96_) { + int i_98_ = (NsnDefinition.aClass319_9245.method2543((byte) 103, this.anInt10269).anInt4503); + if (i_98_ != -1) { + DisplayModeManagerContainer167 class17 = RunescapeInfo.aClass87_191.method835(i_98_, 7); + if (class17 != null && class17.anIntArray237 != null && !this.aBoolean10309) DisplayModeManagerContainer260.method2178(this, 0, class17, -128); + } + } + } + } + + final void method2438(int i, int i_99_, int i_100_, int i_101_, int i_102_, int i_103_, int i_104_, byte i_105_) { + anInt10228++; + boolean bool = true; + boolean bool_106_ = true; + if (i_105_ > 91) { + for (int i_107_ = 0; Component72.anInt1905 > i_107_; i_107_++) { + if (this.anIntArray10219[i_107_] > i_99_) bool = false; + else bool_106_ = false; + } + int i_108_ = -1; + int i_109_ = -1; + int i_110_ = 0; + if (i_100_ >= 0) { + Component82 class31 = DisplayModeManagerContainer306.aClass219_4782.method1601(46, i_100_); + i_109_ = class31.anInt431; + i_110_ = class31.anInt434; + } + if (bool_106_) { + if (i_109_ == -1) return; + i_108_ = 0; + int i_113_ = 0; + if (i_109_ != 0) { + if (i_109_ == 1) i_113_ = (this.anIntArray10229[0]); + } else i_113_ = this.anIntArray10219[0]; + for (int i_114_ = 1; i_114_ < Component72.anInt1905; i_114_++) { + if (i_109_ == 0) { + if (i_113_ > (this.anIntArray10219[i_114_])) { + i_113_ = (this.anIntArray10219[i_114_]); + i_108_ = i_114_; + } + } else if (i_109_ == 1 && (this.anIntArray10229[i_114_]) < i_113_) { + i_113_ = (this.anIntArray10229[i_114_]); + i_108_ = i_114_; + } + } + if (i_109_ == 1 && i_113_ >= i) return; + } else { + if (bool) aByte10222 = (byte) 0; + for (int i_111_ = 0; i_111_ < Component72.anInt1905; i_111_++) { + int i_112_ = aByte10222; + aByte10222 = (byte) ((aByte10222 + 1) % Component72.anInt1905); + if (i_99_ >= (this.anIntArray10219[i_112_])) { + i_108_ = i_112_; + break; + } + } + } + if (i_108_ >= 0) { + this.anIntArray10259[i_108_] = i_100_; + this.anIntArray10229[i_108_] = i; + this.anIntArray10304[i_108_] = i_102_; + this.anIntArray10284[i_108_] = i_101_; + this.anIntArray10219[i_108_] = i_103_ + (i_110_ + i_99_); + this.anIntArray10303[i_108_] = i_104_; + } + } + } + + final void method2439(int i, DisplayModeManagerContainer370 class64) { + try { + anInt10205++; + int i_115_ = aClass264_10315.anInt3370; + if (i >= -110) this.anInt10325 = 90; + int i_116_ = aClass264_10316.anInt3370; + if (i_115_ != 0 || i_116_ != 0) { + int i_117_ = class64.fa() / 2; + class64.H(0, -i_117_, 0); + class64.VA(0x3fff & i_115_); + class64.FA(0x3fff & i_116_); + class64.H(0, i_117_, 0); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("kda.GB(" + i + ',' + (class64 != null ? "{...}" : "null") + ')')); + } + } + + final void method2440(byte i, int i_118_) { + anInt10277++; + Component241 class225 = method2422((byte) 72); + if (class225.anInt2948 != 0 || this.anInt10310 != 0) { + this.aClass264_10217.method2021((byte) 119); + if (i != 49) method2376(113); + int i_119_ = (0x3fff & i_118_ - this.aClass264_10217.anInt3370); + if (i_119_ <= 8192) this.anInt10282 = this.aClass264_10217.anInt3370 - -i_119_; + else this.anInt10282 = (this.aClass264_10217.anInt3370 - 16384 - -i_119_); + } + } + + static { + aBoolean10238 = false; + aShortArrayArray10258 = (new short[][]{{6798, 12, 78, 8384, 14511, 9162, 5056, 939, 5025, 4760, 9108, 7719, 14241, 22443, 30247, -29781, -25675, -21568, -17472, -12373, -8256, -3545}, {8741, 12, 78, 8384, 14511, 9162, 5056, 939, 5025, 4760, 9108, 7719, 14241, 22443, 30247, -29781, -25675, -21568, -17472, -12373, -8256, -3545}, {25238, 12, 78, 8384, 14511, 9162, 5056, 939, 5025, 4760, 9108, 7719, 14241, 22443, 30247, -29781, -25675, -21568, -17472, -12373, -8256, -3545}, {4626, 12, 78, 8384, 14511, 9162, 5056, 939, 5025, 4760, 9108, 7719, 14241, 22443, 30247, -29781, -25675, -21568, -17472, -12373, -8256, -3545}, {4550, 12, 78, 8384, 14511, 9162, 5056, 939, 5025, 4760, 9108, 7719, 14241, 22443, 30247, -29781, -25675, -21568, -17472, -12373, -8256, -3545}}); + aShortArrayArray10204 = new short[][]{new short[0], new short[0], new short[0], new short[0], new short[0]}; + aShortArrayArrayArray10253 = new short[][][]{aShortArrayArray10258, aShortArrayArray10204, aShortArrayArray10246}; + } +} diff --git a/client/entities/Npc.java b/client/entities/Npc.java new file mode 100644 index 000000000..663fa7859 --- /dev/null +++ b/client/entities/Npc.java @@ -0,0 +1,441 @@ +/* Npc - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class318_Sub1_Sub3_Sub3_Sub1` (JODE-obfuscated). + * Evidence: JODE header recorded original obfuscated name + */ +final class Npc extends DisplayModeManagerContainer58 { + static int anInt10493; + static int anInt10494; + static int anInt10495; + static int anInt10496; + static int anInt10497; + static int anInt10498; + int anInt10499 = -1; + static int anInt10500; + static int anInt10501; + static int anInt10502; + static int anInt10503; + static int anInt10504; + NpcComposition definition; + static int anInt10506; + static int anInt10507; + static int anInt10508; + static int anInt10509; + static int anInt10510; + static int anInt10511; + int anInt10512 = -1; + static int anInt10513; + static int anInt10514; + static int anInt10515; + + static final void method2441(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_) { + if (i_2_ != -22728) anInt10503 = 121; + if (i_5_ - i_0_ >= Component27.anInt4960 && Component22.anInt1745 >= i_0_ + i_5_ && -i_0_ + i_3_ >= Component72.anInt1910 && i_3_ + i_0_ <= PauseTimer.anInt513) Component80.method2255(i_0_, i_5_, (byte) -68, i_1_, i_3_, i_4_, i); + else Component275.method1496(i, i_3_, i_4_, i_0_, 2, i_1_, i_5_); + anInt10498++; + } + + private final boolean method2442(int i) { + if (i != 1810797122) this.anInt10499 = -103; + anInt10510++; + return (this.definition.interactive); + } + + final void method2380(GraphicsToolkit var_ha, int i, boolean bool, RenderableObject class318_sub1, int i_6_, byte i_7_, int i_8_) { + try { + if (i_7_ > -106) this.definition = null; + anInt10513++; + throw new IllegalStateException(); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ff.N(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class318_sub1 != null ? "{...}" : "null") + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ')')); + } + } + + final void method2392(boolean bool) { + anInt10507++; + if (bool != true) this.anInt10499 = -13; + throw new IllegalStateException(); + } + + final boolean method2391(GraphicsToolkit var_ha, int i, int i_9_, int i_10_) { + anInt10514++; + if (this.definition == null || !method2447(97, 131072, var_ha)) return false; + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + int i_11_ = this.aClass264_10217.method2019((byte) -78); + class101.method895(i_11_); + class101.method891(this.x, this.anInt6382, this.y); + boolean bool = false; + for (int i_12_ = i_10_; (this.aClass64Array10323.length > i_12_); i_12_++) { + if (this.aClass64Array10323[i_12_] != null) { + boolean bool_13_ = (this.definition.anInt1337 > 0 || (this.definition.anInt1333 != -1 ? this.definition.anInt1333 == 1 : this.definition.anInt1399 == 1)); + boolean bool_14_; + if (DisplayModeManagerContainer50.aBoolean3870) bool_14_ = (this.aClass64Array10323[i_12_].method623(i_9_, i, class101, bool_13_, this.definition.anInt1337, Component72.anInt1906)); + else bool_14_ = (this.aClass64Array10323[i_12_].method628(i_9_, i, class101, bool_13_, this.definition.anInt1337)); + if (bool_14_) { + bool = true; + break; + } + } + } + this.aClass64Array10323[0] = this.aClass64Array10323[1] = this.aClass64Array10323[2] = null; + return bool; + } + + final void method2443(int i, int i_15_, int i_16_) { + anInt10497++; + int i_17_ = this.anIntArray10320[0]; + int i_18_ = this.anIntArray10317[0]; + if (i == 0) i_18_++; + if (i == 1) { + i_17_++; + i_18_++; + } + if (i == 2) i_17_++; + if (i == 3) { + i_17_++; + i_18_--; + } + if (i == 4) i_18_--; + if (i == 5) { + i_17_--; + i_18_--; + } + if (i == 6) i_17_--; + if (i == 7) { + i_17_--; + i_18_++; + } + if (this.anInt10286 != -1 && RunescapeInfo.aClass87_191.method835(this.anInt10286, 7).anInt245 == 1) { + this.anInt10286 = -1; + this.anIntArray10236 = null; + } + if (this.anInt10269 != -1) { + Component63 class368 = (NsnDefinition.aClass319_9245.method2543((byte) 118, this.anInt10269)); + if (class368.aBoolean4487 && class368.anInt4503 != -1 && (RunescapeInfo.aClass87_191.method835(class368.anInt4503, 7).anInt245) == 1) this.anInt10269 = -1; + } + if (this.anInt10291 != -1) { + Component63 class368 = (NsnDefinition.aClass319_9245.method2543((byte) 77, this.anInt10291)); + if (class368.aBoolean4487 && class368.anInt4503 != -1 && (RunescapeInfo.aClass87_191.method835(class368.anInt4503, 7).anInt245) == 1) this.anInt10291 = -1; + } + if ((~this.anInt10319) > i_16_) this.anInt10319++; + for (int i_19_ = this.anInt10319; i_19_ > 0; i_19_--) { + this.anIntArray10320[i_19_] = this.anIntArray10320[-1 + i_19_]; + this.anIntArray10317[i_19_] = this.anIntArray10317[-1 + i_19_]; + this.aByteArray10321[i_19_] = this.aByteArray10321[i_19_ + -1]; + } + this.anIntArray10320[0] = i_17_; + this.anIntArray10317[0] = i_18_; + this.aByteArray10321[0] = (byte) i_15_; + } + + final RenderableSub4 method2386(int i, GraphicsToolkit var_ha) { + anInt10501++; + if (this.definition == null || !method2447(i + 114, 2048, var_ha)) return null; + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + int i_20_ = this.aClass264_10217.method2019((byte) -69); + class101.method895(i_20_); + Component186 class357 = (Component335.aClass357ArrayArrayArray2029[this.plane][this.x >> Component149.anInt4459][this.y >> Component149.anInt4459]); + if (class357 != null && class357.aClass318_Sub1_Sub1_4402 != null) { + int i_21_ = (-class357.aClass318_Sub1_Sub1_4402.aShort8727 + this.anInt10274); + this.anInt10274 -= (float) i_21_ / 10.0F; + } else this.anInt10274 -= (float) this.anInt10274 / 10.0F; + class101.method891(this.x, (-this.anInt10274 + this.anInt6382 + -20), this.y); + Component241 class225 = this.method2422((byte) 72); + NpcComposition class79 = (this.definition.anIntArray1377 != null ? this.definition.method794(DisplayModeManagerContainer58.aClass170_10209, -1) : this.definition); + this.aBoolean10324 = false; + RenderableSub4 class318_sub4 = null; + if (Component192.aClass348_Sub51_3959.aClass239_Sub21_7270.method1812(-32350) == i && class79.aBoolean1369 && class225.aBoolean2913) { + DisplayModeManagerContainer167 class17 = ((this.anInt10286 == -1 || this.anInt10218 != 0) ? null : RunescapeInfo.aClass87_191.method835(this.anInt10286, 7)); + DisplayModeManagerContainer167 class17_22_ = ((this.anInt10268 == -1 || (this.aBoolean10213 && class17 != null)) ? null : RunescapeInfo.aClass87_191.method835(this.anInt10268, 7)); + DisplayModeManagerContainer370 class64 = (Node.method2711(this.anInt10302, i_20_, this.aClass64Array10323[0], this.anInt10208, false, (class17_22_ == null ? this.anInt10267 : this.anInt10245), 0xffff & this.definition.aShort1339, this.definition.anInt1399, this.anInt10252, var_ha, 0xff & this.definition.aByte1353, this.definition.aShort1350 & 0xffff, this.definition.aByte1347 & 0xff, class17_22_ == null ? class17 : class17_22_)); + if (class64 != null) { + class318_sub4 = (OutputStream_Sub2.method136(1 + (this.aClass64Array10323).length, method2442(1810797122), false)); + this.aBoolean10324 = true; + var_ha.C(false); + if (!DisplayModeManagerContainer50.aBoolean3870) class64.method615(class101, (class318_sub4.aClass318_Sub3Array6414[(this.aClass64Array10323).length]), 0); + else class64.method608(class101, (class318_sub4.aClass318_Sub3Array6414[(this.aClass64Array10323).length]), Component72.anInt1906, 0); + var_ha.C(true); + } + } + class101.method895(i_20_); + class101.method891(this.x, (-this.anInt10274 + (-5 + this.anInt6382)), this.y); + if (class318_sub4 == null) class318_sub4 = OutputStream_Sub2.method136((this.aClass64Array10323).length, method2442(1810797122), false); + this.method2432(var_ha, -15074, class101, false, this.aClass64Array10323); + if (DisplayModeManagerContainer50.aBoolean3870) { + for (int i_24_ = 0; (this.aClass64Array10323.length > i_24_); i_24_++) { + if (this.aClass64Array10323[i_24_] != null) this.aClass64Array10323[i_24_].method608(class101, (class318_sub4.aClass318_Sub3Array6414[i_24_]), Component72.anInt1906, 0); + } + } else { + for (int i_23_ = 0; (this.aClass64Array10323.length > i_23_); i_23_++) { + if (this.aClass64Array10323[i_23_] != null) this.aClass64Array10323[i_23_].method615(class101, (class318_sub4.aClass318_Sub3Array6414[i_23_]), 0); + } + } + if (this.aClass318_Sub10_10327 != null) { + Component122 class98 = this.aClass318_Sub10_10327.method2525(); + if (DisplayModeManagerContainer50.aBoolean3870) var_ha.method3685(class98, Component72.anInt1906); + else var_ha.method3684(class98); + } + for (int i_25_ = 0; (this.aClass64Array10323.length > i_25_); i_25_++) { + if (this.aClass64Array10323[i_25_] != null) this.aBoolean10324 |= this.aClass64Array10323[i_25_].F(); + } + this.anInt10301 = DisplayModeManagerContainer341.anInt6006; + this.aClass64Array10323[0] = this.aClass64Array10323[1] = this.aClass64Array10323[2] = null; + return class318_sub4; + } + + final int method2421(byte i) { + anInt10495++; + if ((this.definition.anIntArray1377) != null) { + NpcComposition class79 = this.definition.method794(DisplayModeManagerContainer58.aClass170_10209, -1); + if (class79 != null && class79.anInt1366 != -1) return class79.anInt1366; + } + if (i < 113) method2448(null, 88); + return (this.definition.anInt1366); + } + + final int method2393(int i) { + anInt10506++; + if (i >= -109) this.anInt10499 = -47; + if (this.definition == null) return 0; + return (this.definition.anInt1337); + } + + final void method2444(int i, boolean bool, int i_26_, int i_27_, int i_28_, int i_29_) { + this.plane = this.aByte6376 = (byte) i_29_; + anInt10515++; + if (NpcComposition.method802(i, i_26_, true)) this.aByte6376++; + if (this.anInt10286 != -1 && RunescapeInfo.aClass87_191.method835(this.anInt10286, 7).anInt245 == 1) { + this.anIntArray10236 = null; + this.anInt10286 = -1; + } + if (this.anInt10269 != -1) { + Component63 class368 = (NsnDefinition.aClass319_9245.method2543((byte) 117, this.anInt10269)); + if (class368.aBoolean4487 && class368.anInt4503 != -1 && (RunescapeInfo.aClass87_191.method835(class368.anInt4503, 7).anInt245) == 1) this.anInt10269 = -1; + } + if (this.anInt10291 != -1) { + Component63 class368 = (NsnDefinition.aClass319_9245.method2543((byte) 56, this.anInt10291)); + if (class368.aBoolean4487 && class368.anInt4503 != -1 && (RunescapeInfo.aClass87_191.method835(class368.anInt4503, 7).anInt245) == 1) this.anInt10291 = -1; + } + if (!bool) { + int i_30_ = i_26_ - this.anIntArray10320[0]; + int i_31_ = i + -this.anIntArray10317[0]; + if (i_30_ >= -8 && i_30_ <= 8 && i_31_ >= -8 && i_31_ <= 8) { + if (this.anInt10319 < 9) this.anInt10319++; + for (int i_32_ = this.anInt10319; i_32_ > 0; i_32_--) { + this.anIntArray10320[i_32_] = (this.anIntArray10320[i_32_ - 1]); + this.anIntArray10317[i_32_] = (this.anIntArray10317[i_32_ + -1]); + this.aByteArray10321[i_32_] = (this.aByteArray10321[i_32_ + -1]); + } + this.anIntArray10320[0] = i_26_; + this.anIntArray10317[0] = i; + this.aByteArray10321[0] = (byte) 1; + return; + } + } + this.anInt10322 = 0; + this.anInt10319 = 0; + this.anIntArray10320[0] = i_26_; + if (i_27_ >= 91) { + this.anInt10326 = 0; + this.anIntArray10317[0] = i; + this.x = (this.anIntArray10320[0] << 9) + (i_28_ << 8); + this.y = (this.anIntArray10317[0] << 9) + (i_28_ << 8); + if (this.aClass318_Sub10_10327 != null) this.aClass318_Sub10_10327.method2529(); + } + } + + final ComponentDownloader method2381(GraphicsToolkit var_ha, int i) { + if (i != 7) this.anInt10512 = 102; + anInt10493++; + return null; + } + + final boolean method2445(byte i) { + anInt10500++; + if (this.definition == null) return false; + int i_33_ = 116 % ((-44 - i) / 38); + return true; + } + + final int method2425(int i) { + anInt10496++; + if ((this.definition.anIntArray1377) != null) { + NpcComposition class79 = this.definition.method794(DisplayModeManagerContainer58.aClass170_10209, -1); + if (class79 != null && class79.anInt1336 != -1) return class79.anInt1336; + } + if (i != -1) this.anInt10499 = -69; + return (this.definition.anInt1336); + } + + final boolean method2388(int i) { + anInt10502++; + return i > -65; + } + + final int method2426(int i) { + anInt10504++; + if (i != 200) return 115; + if ((this.definition.anIntArray1377) != null) { + NpcComposition class79 = this.definition.method794(DisplayModeManagerContainer58.aClass170_10209, -1); + if (class79 != null && class79.anInt1390 != -1) return class79.anInt1390; + } + if ((this.definition.anInt1390) == -1) return super.method2426(200); + return (this.definition.anInt1390); + } + + final void method2387(GraphicsToolkit var_ha, int i) { + anInt10509++; + if (this.definition != null && (this.aBoolean10318 || method2447(123, 0, var_ha))) { + if (i > -125) method2391(null, -2, -103, 34); + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + class101.method895(this.aClass264_10217.method2019((byte) -118)); + class101.method891(this.x, -20 + this.anInt6382, this.y); + this.method2432(var_ha, -15074, class101, this.aBoolean10318, (this.aClass64Array10323)); + this.aClass64Array10323[0] = this.aClass64Array10323[1] = this.aClass64Array10323[2] = null; + } + } + + public Npc() { + /* empty */ + } + + static final boolean method2446(char c, byte i) { + if (i != 105) anInt10503 = 124; + anInt10508++; + return (c >= 48 && c <= 57) || (c >= 65 && c <= 90) || (c >= 97 && c <= 122); + } + + private final boolean method2447(int i, int i_34_, GraphicsToolkit var_ha) { + if (i <= 84) this.definition = null; + anInt10494++; + int i_35_ = i_34_; + Component241 class225 = this.method2422((byte) 72); + DisplayModeManagerContainer167 class17 = ((this.anInt10286 == -1 || this.anInt10218 != 0) ? null : RunescapeInfo.aClass87_191.method835(this.anInt10286, 7)); + DisplayModeManagerContainer167 class17_36_ = ((this.anInt10268 != -1 && (!this.aBoolean10213 || class17 == null)) ? RunescapeInfo.aClass87_191.method835(this.anInt10268, 7) : null); + int i_37_ = class225.anInt2932; + int i_38_ = class225.anInt2941; + if (i_37_ != 0 || i_38_ != 0 || class225.anInt2950 != 0 || class225.anInt2926 != 0) i_34_ |= 0x7; + boolean bool = (this.aByte10279 != 0 && (OpenGlShader.clientCycle >= this.anInt10248) && (OpenGlShader.clientCycle < this.anInt10250)); + if (bool) i_34_ |= 0x80000; + int i_39_ = this.aClass264_10217.method2019((byte) -25); + DisplayModeManagerContainer370 class64 = (this.aClass64Array10323[0] = (this.definition.method800(i_39_, this.aClass182Array10308, RunescapeInfo.aClass87_191, false, class17_36_, this.anInt10203, DisplayModeManagerContainer282.aClass261_5558, this.anInt10267, class17, DisplayModeManagerContainer58.aClass170_10209, var_ha, this.anInt10312, this.anIntArray10296, this.anInt10244, this.anInt10245, i_34_, this.anInt10232))); + if (class64 == null) return false; + this.anInt10207 = class64.fa(); + this.anInt10230 = class64.ma(); + this.method2439(-125, class64); + if (i_37_ != 0 || i_38_ != 0) { + this.method2424(i_39_, i_37_, class225.anInt2943, i_38_, (byte) 78, class225.anInt2912); + if (this.anInt10302 != 0) this.aClass64Array10323[0].FA(this.anInt10302); + if (this.anInt10208 != 0) this.aClass64Array10323[0].VA(this.anInt10208); + if (this.anInt10252 != 0) this.aClass64Array10323[0].H(0, this.anInt10252, 0); + } else this.method2424(i_39_, this.method2436((byte) 78) << 9, 0, this.method2436((byte) 108) << 9, (byte) 92, 0); + if (bool) class64.method624(this.aByte10255, this.aByte10206, this.aByte10270, (0xff & this.aByte10279)); + if (this.anInt10269 == -1 || this.anInt10240 == -1) this.aClass64Array10323[1] = null; + else { + Component63 class368 = (NsnDefinition.aClass319_9245.method2543((byte) 56, this.anInt10269)); + boolean bool_40_ = (class368.aByte4488 == 3 && (i_37_ != 0 || i_38_ != 0)); + int i_41_ = i_35_; + if (!bool_40_) { + if (this.anInt10237 != 0) i_41_ |= 0x5; + if (this.anInt10220 != 0) i_41_ |= 0x2; + if (this.anInt10278 >= 0) i_41_ |= 0x7; + } else i_41_ |= 0x7; + DisplayModeManagerContainer370 class64_42_ = (this.aClass64Array10323[1] = (class368.method3562(this.anInt10240, var_ha, this.anInt10243, i_41_, this.anInt10283, RunescapeInfo.aClass87_191, (byte) 78))); + if (class64_42_ != null) { + if (this.anInt10278 < 0) { + if (this.anInt10237 != 0) class64_42_.a(2048 * (this.anInt10237)); + } else { + int i_43_ = 0; + int i_44_ = 0; + int i_45_ = 0; + if (class225.anIntArrayArray2939 != null && ((class225.anIntArrayArray2939[this.anInt10278]) != null)) { + i_45_ += (class225.anIntArrayArray2939[this.anInt10278][2]); + i_43_ += (class225.anIntArrayArray2939[this.anInt10278][0]); + i_44_ += (class225.anIntArrayArray2939[this.anInt10278][1]); + } + if (class225.anIntArrayArray2910 != null && ((class225.anIntArrayArray2910[this.anInt10278]) != null)) { + i_44_ += (class225.anIntArrayArray2910[this.anInt10278][1]); + i_43_ += (class225.anIntArrayArray2910[this.anInt10278][0]); + i_45_ += (class225.anIntArrayArray2910[this.anInt10278][2]); + } + if (i_45_ != 0 || i_43_ != 0) { + int i_46_ = i_39_; + if ((this.anIntArray10296 != null) && ((this.anIntArray10296[this.anInt10278]) != -1)) i_46_ = (this.anIntArray10296[(this.anInt10278)]); + int i_47_ = (-i_39_ + (i_46_ + 2048 * this.anInt10237) & 0x3fff); + if (i_47_ != 0) class64_42_.a(i_47_); + int i_48_ = DisplayModeManagerContainer88.anIntArray1207[i_47_]; + int i_49_ = DisplayModeManagerContainer88.anIntArray1204[i_47_]; + int i_50_ = i_45_ * i_48_ - -(i_43_ * i_49_) >> 14; + i_45_ = i_45_ * i_49_ + -(i_43_ * i_48_) >> 14; + i_43_ = i_50_; + } + class64_42_.H(i_43_, i_44_, i_45_); + } + if (this.anInt10220 != 0) class64_42_.H(0, (-this.anInt10220 << 2), 0); + if (bool_40_) { + if (this.anInt10302 != 0) class64_42_.FA(this.anInt10302); + if (this.anInt10208 != 0) class64_42_.VA(this.anInt10208); + if (this.anInt10252 != 0) class64_42_.H(0, (this.anInt10252), 0); + } + } + } + if (this.anInt10291 == -1 || this.anInt10224 == -1) this.aClass64Array10323[2] = null; + else { + Component63 class368 = (NsnDefinition.aClass319_9245.method2543((byte) 98, this.anInt10291)); + boolean bool_51_ = (class368.aByte4488 == 3 && (i_37_ != 0 || i_38_ != 0)); + int i_52_ = i_35_; + if (!bool_51_) { + if (this.anInt10202 != 0) i_52_ |= 0x5; + if (this.anInt10260 != 0) i_52_ |= 0x2; + if (this.anInt10289 >= 0) i_52_ |= 0x7; + } else i_52_ |= 0x7; + DisplayModeManagerContainer370 class64_53_ = (this.aClass64Array10323[2] = (class368.method3558(this.anInt10273, this.anInt10276, var_ha, i_52_, 3172, RunescapeInfo.aClass87_191, this.anInt10224))); + if (class64_53_ != null) { + if (this.anInt10289 >= 0 && class225.anIntArrayArray2939 != null && ((class225.anIntArrayArray2939[this.anInt10289]) != null)) { + int i_54_ = 0; + int i_55_ = 0; + int i_56_ = 0; + if (class225.anIntArrayArray2939 != null && ((class225.anIntArrayArray2939[this.anInt10289]) != null)) { + i_55_ += (class225.anIntArrayArray2939[this.anInt10289][1]); + i_54_ += (class225.anIntArrayArray2939[this.anInt10289][0]); + i_56_ += (class225.anIntArrayArray2939[this.anInt10289][2]); + } + if (class225.anIntArrayArray2910 != null && ((class225.anIntArrayArray2910[this.anInt10289]) != null)) { + i_55_ += (class225.anIntArrayArray2910[this.anInt10289][1]); + i_54_ += (class225.anIntArrayArray2910[this.anInt10289][0]); + i_56_ += (class225.anIntArrayArray2910[this.anInt10289][2]); + } + if (i_56_ != 0 || i_54_ != 0) { + int i_57_ = i_39_; + if ((this.anIntArray10296 != null) && ((this.anIntArray10296[this.anInt10289]) != -1)) i_57_ = (this.anIntArray10296[(this.anInt10289)]); + int i_58_ = (0x3fff & -i_39_ + (i_57_ + 2048 * this.anInt10202)); + if (i_58_ != 0) class64_53_.a(i_58_); + int i_59_ = DisplayModeManagerContainer88.anIntArray1207[i_58_]; + int i_60_ = DisplayModeManagerContainer88.anIntArray1204[i_58_]; + int i_61_ = i_56_ * i_59_ - -(i_60_ * i_54_) >> 14; + i_56_ = i_60_ * i_56_ - i_59_ * i_54_ >> 14; + i_54_ = i_61_; + } + class64_53_.H(i_54_, i_55_, i_56_); + } else if (this.anInt10202 != 0) class64_53_.a(2048 * this.anInt10202); + if (this.anInt10260 != 0) class64_53_.H(0, (-this.anInt10260 << 2), 0); + if (bool_51_) { + if (this.anInt10302 != 0) class64_53_.FA(this.anInt10302); + if (this.anInt10208 != 0) class64_53_.VA(this.anInt10208); + if (this.anInt10252 != 0) class64_53_.H(0, (this.anInt10252), 0); + } + } + } + return true; + } + + final void method2448(NpcComposition class79, int i) { + anInt10511++; + this.definition = class79; + if (i != -2) this.anInt10512 = 69; + if (this.aClass318_Sub10_10327 != null) this.aClass318_Sub10_10327.method2529(); + } +} diff --git a/client/entities/NpcDefinition.java b/client/entities/NpcDefinition.java new file mode 100644 index 000000000..48ce91d31 --- /dev/null +++ b/client/entities/NpcDefinition.java @@ -0,0 +1,423 @@ +/* NpcDefinition - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub17` (JODE-obfuscated). + * NPC definition/config node (extends renamed Node). Holds model/animation data (byte[] vertex/face buffers, short[] indices, Component234 model, NodeSub19Sub1 animation) and a 2048-slot Component135[] array; referenced in NPC-related code. + */ + +final class NpcDefinition extends Node { + static boolean aBoolean6788 = false; + static int anInt6789; + static int anInt6790; + static long aLong6791 = 0L; + byte[] aByteArray6792; + private int[] anIntArray6793; + static int anInt6794; + short[] aShortArray6795; + Component234[] aClass23Array6796; + int anInt6797; + byte[] aByteArray6798; + byte[] aByteArray6799; + NodeSub19Sub1[] aClass348_Sub19_Sub1Array6800; + static int anInt6801; + static Component135[] aClass359Array6802 = new Component135[2048]; + static int anInt6803; + + static final void method2928(boolean bool) { + if (bool == true) { + GlFramebufferTexture.aClass10Array8531 = new RunescapeInfo[50]; + anInt6790++; + Component335.anInt2021 = 0; + } + } + + /** Wraps {@code throwable} with a client {@link RuntimeException_Sub1} tagged by {@code string}. */ + static final RuntimeException_Sub1 wrapThrowable(Throwable throwable, String string) { + anInt6789++; + if (Loader.trace) { + throwable.printStackTrace(); + } + RuntimeException_Sub1 runtimeexception_sub1; + if (throwable instanceof RuntimeException_Sub1) { + runtimeexception_sub1 = (RuntimeException_Sub1) throwable; + runtimeexception_sub1.detail += ' ' + string; + } else runtimeexception_sub1 = new RuntimeException_Sub1(throwable, string); + return runtimeexception_sub1; + } + + public static void method2930(byte i) { + aClass359Array6802 = null; + int i_0_ = -14 / ((i - 61) / 43); + } + + static final void method2931(int i, byte i_1_, int[] is, Npc npc) { + do { + try { + anInt6801++; + if ((npc.anIntArray10236) != null) { + boolean bool = true; + for (int i_2_ = 0; i_2_ < npc.anIntArray10236.length; i_2_++) { + if ((npc.anIntArray10236[i_2_]) != is[i_2_]) { + bool = false; + break; + } + } + if (bool && npc.anInt10286 != -1) { + DisplayModeManagerContainer167 class17 = (RunescapeInfo.aClass87_191.method835(npc.anInt10286, 7)); + int i_3_ = class17.anInt248; + if (i_3_ == 1) { + npc.anInt10232 = 0; + npc.anInt10218 = i; + npc.anInt10294 = 0; + npc.anInt10267 = 0; + npc.anInt10244 = 1; + if (!npc.aBoolean10309) DisplayModeManagerContainer260.method2178(npc, npc.anInt10267, class17, -72); + } + if (i_3_ == 2) npc.anInt10294 = 0; + } + } + boolean bool = true; + for (int i_4_ = 0; is.length > i_4_; i_4_++) { + if (is[i_4_] != -1) bool = false; + if (npc.anIntArray10236 == null || (npc.anIntArray10236[i_4_]) == -1 || (RunescapeInfo.aClass87_191.method835(is[i_4_], 7).anInt239 >= RunescapeInfo.aClass87_191.method835((npc.anIntArray10236[i_4_]), 7).anInt239)) { + npc.anInt10218 = i; + npc.anInt10322 = npc.anInt10319; + npc.anIntArray10236 = is; + } + } + if (i_1_ <= 31) method2931(-66, (byte) 125, null, null); + if (!bool) break; + npc.anIntArray10236 = is; + npc.anInt10218 = i; + npc.anInt10322 = (npc.anInt10319); + } catch (RuntimeException runtimeexception) { + throw wrapThrowable(runtimeexception, ("jf.E(" + i + ',' + i_1_ + ',' + (is != null ? "{...}" : "null") + ',' + (npc != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + final boolean method2932(AssetCacheLoader class26, int[] is, byte[] is_5_, int i) { + try { + anInt6803++; + boolean bool = true; + int i_6_ = 0; + NodeSub19Sub1 class348_sub19_sub1 = null; + for (int i_7_ = i; i_7_ < 128; i_7_++) { + if (is_5_ == null || is_5_[i_7_] != 0) { + int i_8_ = anIntArray6793[i_7_]; + if (i_8_ != 0) { + if (i_8_ != i_6_) { + i_6_ = i_8_; + if ((--i_8_ & 0x1) == 0) class348_sub19_sub1 = class26.method308(i_8_ >> 2, is, -2); + else class348_sub19_sub1 = class26.method309(is, i_8_ >> 2, -1); + if (class348_sub19_sub1 == null) bool = false; + } + if (class348_sub19_sub1 != null) { + this.aClass348_Sub19_Sub1Array6800[i_7_] = class348_sub19_sub1; + anIntArray6793[i_7_] = 0; + } + } + } + } + return bool; + } catch (RuntimeException runtimeexception) { + throw wrapThrowable(runtimeexception, ("jf.B(" + (class26 != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ',' + (is_5_ != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + final void method2933(byte i) { + anInt6794++; + if (i >= -65) this.aClass23Array6796 = null; + anIntArray6793 = null; + } + + public NpcDefinition() { + /* empty */ + } + + NpcDefinition(byte[] is) { + this.aShortArray6795 = new short[128]; + this.aByteArray6792 = new byte[128]; + this.aByteArray6798 = new byte[128]; + this.aByteArray6799 = new byte[128]; + this.aClass348_Sub19_Sub1Array6800 = new NodeSub19Sub1[128]; + this.aClass23Array6796 = new Component234[128]; + anIntArray6793 = new int[128]; + Buffer class348_sub49 = new Buffer(is); + int i; + for (i = 0; ((class348_sub49.payload[i + class348_sub49.offset]) != 0); i++) { + /* empty */ + } + byte[] is_9_ = new byte[i]; + for (int i_10_ = 0; i > i_10_; i_10_++) + is_9_[i_10_] = class348_sub49.readByte(-128); + class348_sub49.offset++; + i++; + int i_11_ = class348_sub49.offset; + class348_sub49.offset += i; + int i_12_; + for (i_12_ = 0; ((class348_sub49.payload[i_12_ + class348_sub49.offset]) != 0); i_12_++) { + /* empty */ + } + byte[] is_13_ = new byte[i_12_]; + for (int i_14_ = 0; i_12_ > i_14_; i_14_++) + is_13_[i_14_] = class348_sub49.readByte(-81); + i_12_++; + class348_sub49.offset++; + int i_15_ = class348_sub49.offset; + class348_sub49.offset += i_12_; + int i_16_; + for (i_16_ = 0; ((class348_sub49.payload[class348_sub49.offset + i_16_]) != 0); i_16_++) { + /* empty */ + } + byte[] is_17_ = new byte[i_16_]; + for (int i_18_ = 0; i_16_ > i_18_; i_18_++) + is_17_[i_18_] = class348_sub49.readByte(-82); + class348_sub49.offset++; + byte[] is_19_ = new byte[++i_16_]; + int i_20_; + if (i_16_ > 1) { + is_19_[1] = (byte) 1; + i_20_ = 2; + int i_21_ = 1; + for (int i_22_ = 2; i_16_ > i_22_; i_22_++) { + int i_23_ = class348_sub49.readUnsignedByte(255); + if (i_23_ == 0) i_21_ = i_20_++; + else { + if (i_23_ <= i_21_) i_23_--; + i_21_ = i_23_; + } + is_19_[i_22_] = (byte) i_21_; + } + } else i_20_ = i_16_; + Component234[] class23s = new Component234[i_20_]; + for (int i_24_ = 0; i_24_ < class23s.length; i_24_++) { + Component234 class23 = class23s[i_24_] = new Component234(); + int i_25_ = class348_sub49.readUnsignedByte(255); + if (i_25_ > 0) class23.aByteArray348 = new byte[i_25_ * 2]; + i_25_ = class348_sub49.readUnsignedByte(255); + if (i_25_ > 0) { + class23.aByteArray344 = new byte[i_25_ * 2 + 2]; + class23.aByteArray344[1] = (byte) 64; + } + } + int i_26_ = class348_sub49.readUnsignedByte(255); + byte[] is_27_ = i_26_ > 0 ? new byte[i_26_ * 2] : null; + i_26_ = class348_sub49.readUnsignedByte(255); + byte[] is_28_ = i_26_ > 0 ? new byte[2 * i_26_] : null; + int i_29_; + for (i_29_ = 0; ((class348_sub49.payload[class348_sub49.offset - -i_29_]) != 0); i_29_++) { + /* empty */ + } + byte[] is_30_ = new byte[i_29_]; + for (int i_31_ = 0; i_29_ > i_31_; i_31_++) + is_30_[i_31_] = class348_sub49.readByte(-108); + class348_sub49.offset++; + i_29_++; + int i_32_ = 0; + for (int i_33_ = 0; i_33_ < 128; i_33_++) { + i_32_ += class348_sub49.readUnsignedByte(255); + this.aShortArray6795[i_33_] = (short) i_32_; + } + i_32_ = 0; + for (int i_34_ = 0; i_34_ < 128; i_34_++) { + i_32_ += class348_sub49.readUnsignedByte(255); + this.aShortArray6795[i_34_] += i_32_ << 8; + } + int i_35_ = 0; + int i_36_ = 0; + int i_37_ = 0; + for (int i_38_ = 0; i_38_ < 128; i_38_++) { + if (i_35_ == 0) { + if (i_36_ < is_30_.length) i_35_ = is_30_[i_36_++]; + else i_35_ = -1; + i_37_ = class348_sub49.readVarInt((byte) 124); + } + this.aShortArray6795[i_38_] += GpsOverlay.bitwiseAnd(32768, i_37_ + -1 << 14); + i_35_--; + anIntArray6793[i_38_] = i_37_; + } + i_36_ = 0; + i_35_ = 0; + int i_39_ = 0; + for (int i_40_ = 0; i_40_ < 128; i_40_++) { + if (anIntArray6793[i_40_] != 0) { + if (i_35_ == 0) { + i_39_ = -1 + (class348_sub49.payload[i_11_++]); + if (i_36_ < is_9_.length) i_35_ = is_9_[i_36_++]; + else i_35_ = -1; + } + i_35_--; + this.aByteArray6798[i_40_] = (byte) i_39_; + } + } + i_36_ = 0; + i_35_ = 0; + int i_41_ = 0; + for (int i_42_ = 0; i_42_ < 128; i_42_++) { + if (anIntArray6793[i_42_] != 0) { + if (i_35_ == 0) { + if (i_36_ >= is_13_.length) i_35_ = -1; + else i_35_ = is_13_[i_36_++]; + i_41_ = 16 + (class348_sub49.payload[i_15_++]) << 2; + } + i_35_--; + this.aByteArray6792[i_42_] = (byte) i_41_; + } + } + i_35_ = 0; + i_36_ = 0; + Component234 class23 = null; + for (int i_43_ = 0; i_43_ < 128; i_43_++) { + if (anIntArray6793[i_43_] != 0) { + if (i_35_ == 0) { + class23 = class23s[is_19_[i_36_]]; + if (i_36_ < is_17_.length) i_35_ = is_17_[i_36_++]; + else i_35_ = -1; + } + i_35_--; + this.aClass23Array6796[i_43_] = class23; + } + } + i_35_ = 0; + i_36_ = 0; + int i_44_ = 0; + for (int i_45_ = 0; i_45_ < 128; i_45_++) { + if (i_35_ == 0) { + if (is_30_.length > i_36_) i_35_ = is_30_[i_36_++]; + else i_35_ = -1; + if (anIntArray6793[i_45_] > 0) i_44_ = class348_sub49.readUnsignedByte(255) + 1; + } + this.aByteArray6799[i_45_] = (byte) i_44_; + i_35_--; + } + this.anInt6797 = class348_sub49.readUnsignedByte(255) - -1; + for (int i_46_ = 0; i_20_ > i_46_; i_46_++) { + Component234 class23_47_ = class23s[i_46_]; + if (class23_47_.aByteArray348 != null) { + for (int i_48_ = 1; i_48_ < class23_47_.aByteArray348.length; i_48_ += 2) + class23_47_.aByteArray348[i_48_] = class348_sub49.readByte(-93); + } + if (class23_47_.aByteArray344 != null) { + for (int i_49_ = 3; -2 + class23_47_.aByteArray344.length > i_49_; i_49_ += 2) + class23_47_.aByteArray344[i_49_] = class348_sub49.readByte(-89); + } + } + if (is_27_ != null) { + for (int i_50_ = 1; i_50_ < is_27_.length; i_50_ += 2) + is_27_[i_50_] = class348_sub49.readByte(-82); + } + if (is_28_ != null) { + for (int i_51_ = 1; is_28_.length > i_51_; i_51_ += 2) + is_28_[i_51_] = class348_sub49.readByte(-126); + } + for (int i_52_ = 0; i_52_ < i_20_; i_52_++) { + Component234 class23_53_ = class23s[i_52_]; + if (class23_53_.aByteArray344 != null) { + i_32_ = 0; + for (int i_54_ = 2; i_54_ < class23_53_.aByteArray344.length; i_54_ += 2) { + i_32_ = 1 + i_32_ - -class348_sub49.readUnsignedByte(255); + class23_53_.aByteArray344[i_54_] = (byte) i_32_; + } + } + } + for (int i_55_ = 0; i_20_ > i_55_; i_55_++) { + Component234 class23_56_ = class23s[i_55_]; + if (class23_56_.aByteArray348 != null) { + i_32_ = 0; + for (int i_57_ = 2; i_57_ < class23_56_.aByteArray348.length; i_57_ += 2) { + i_32_ = 1 + (i_32_ - -class348_sub49.readUnsignedByte(255)); + class23_56_.aByteArray348[i_57_] = (byte) i_32_; + } + } + } + if (is_27_ != null) { + i_32_ = class348_sub49.readUnsignedByte(255); + is_27_[0] = (byte) i_32_; + for (int i_58_ = 2; i_58_ < is_27_.length; i_58_ += 2) { + i_32_ = 1 + (i_32_ - -class348_sub49.readUnsignedByte(255)); + is_27_[i_58_] = (byte) i_32_; + } + int i_59_ = is_27_[0]; + int i_60_ = is_27_[1]; + for (int i_61_ = 0; i_59_ > i_61_; i_61_++) + this.aByteArray6799[i_61_] = (byte) (32 + i_60_ * (this.aByteArray6799[i_61_]) >> 6); + int i_62_ = 2; + while (is_27_.length > i_62_) { + int i_63_ = is_27_[i_62_]; + int i_64_ = is_27_[1 + i_62_]; + int i_65_ = (-i_59_ + i_63_) / 2 + (-i_59_ + i_63_) * i_60_; + for (int i_66_ = i_59_; i_66_ < i_63_; i_66_++) { + int i_67_ = Component355.method1928(-i_59_ + i_63_, -110, i_65_); + this.aByteArray6799[i_66_] = (byte) (32 + (this.aByteArray6799[i_66_]) * i_67_ >> 6); + i_65_ += -i_60_ + i_64_; + } + i_59_ = i_63_; + i_62_ += 2; + i_60_ = i_64_; + } + for (int i_68_ = i_59_; i_68_ < 128; i_68_++) + this.aByteArray6799[i_68_] = (byte) (32 + i_60_ * (this.aByteArray6799[i_68_]) >> 6); + Object object = null; + } + if (is_28_ != null) { + i_32_ = class348_sub49.readUnsignedByte(255); + is_28_[0] = (byte) i_32_; + for (int i_69_ = 2; i_69_ < is_28_.length; i_69_ += 2) { + i_32_ = class348_sub49.readUnsignedByte(255) + (1 + i_32_); + is_28_[i_69_] = (byte) i_32_; + } + int i_70_ = is_28_[0]; + int i_71_ = is_28_[1] << 1; + for (int i_72_ = 0; i_70_ > i_72_; i_72_++) { + int i_73_ = ((this.aByteArray6792[i_72_] & 0xff) + i_71_); + if (i_73_ < 0) i_73_ = 0; + if (i_73_ > 128) i_73_ = 128; + this.aByteArray6792[i_72_] = (byte) i_73_; + } + for (int i_74_ = 2; is_28_.length > i_74_; i_74_ += 2) { + int i_75_ = is_28_[i_74_]; + int i_76_ = is_28_[i_74_ - -1] << 1; + int i_77_ = (-i_70_ + i_75_) * i_71_ + (-i_70_ + i_75_) / 2; + for (int i_78_ = i_70_; i_75_ > i_78_; i_78_++) { + int i_79_ = Component355.method1928(-i_70_ + i_75_, -34, i_77_); + int i_80_ = ((0xff & this.aByteArray6792[i_78_]) + i_79_); + if (i_80_ < 0) i_80_ = 0; + if (i_80_ > 128) i_80_ = 128; + this.aByteArray6792[i_78_] = (byte) i_80_; + i_77_ += -i_71_ + i_76_; + } + i_71_ = i_76_; + i_70_ = i_75_; + } + Object object = null; + for (int i_81_ = i_70_; i_81_ < 128; i_81_++) { + int i_82_ = i_71_ + (this.aByteArray6792[i_81_] & 0xff); + if (i_82_ < 0) i_82_ = 0; + if (i_82_ > 128) i_82_ = 128; + this.aByteArray6792[i_81_] = (byte) i_82_; + } + } + for (int i_83_ = 0; i_20_ > i_83_; i_83_++) + class23s[i_83_].anInt347 = class348_sub49.readUnsignedByte(255); + for (int i_84_ = 0; i_84_ < i_20_; i_84_++) { + Component234 class23_85_ = class23s[i_84_]; + if (class23_85_.aByteArray348 != null) class23_85_.anInt345 = class348_sub49.readUnsignedByte(255); + if (class23_85_.aByteArray344 != null) class23_85_.anInt349 = class348_sub49.readUnsignedByte(255); + if (class23_85_.anInt347 > 0) class23_85_.anInt350 = class348_sub49.readUnsignedByte(255); + } + for (int i_86_ = 0; i_20_ > i_86_; i_86_++) + class23s[i_86_].anInt352 = class348_sub49.readUnsignedByte(255); + for (int i_87_ = 0; i_87_ < i_20_; i_87_++) { + Component234 class23_88_ = class23s[i_87_]; + if (class23_88_.anInt352 > 0) class23_88_.anInt353 = class348_sub49.readUnsignedByte(255); + } + for (int i_89_ = 0; i_20_ > i_89_; i_89_++) { + Component234 class23_90_ = class23s[i_89_]; + if (class23_90_.anInt353 > 0) class23_90_.anInt346 = class348_sub49.readUnsignedByte(255); + } + } +} diff --git a/client/entities/Player.java b/client/entities/Player.java new file mode 100644 index 000000000..e42fe9537 --- /dev/null +++ b/client/entities/Player.java @@ -0,0 +1,672 @@ +/* Player - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.util.Arrays; +import java.util.Hashtable; + +/** + * RENAMED from `Class318_Sub1_Sub3_Sub3_Sub2` (JODE-obfuscated). + * Evidence: JODE header recorded original obfuscated name + */ +final class Player extends DisplayModeManagerContainer58 { + /** Combat level from the appearance / player-info packet (unsigned byte). */ + int combatLevel; + boolean aBoolean10517 = false; + static int anInt10518; + int anInt10519; + private int anInt10520; + boolean aBoolean10521; + int anInt10522; + static int anInt10523; + int anInt10524; + static int anInt10525; + int anInt10526; + static int anInt10527; + static int anInt10528; + static int anInt10529; + static int anInt10530; + int anInt10531; + static int anInt10532; + static int anInt10533; + static int anInt10534; + int anInt10535; + Component101 appearance; + String displayName; + private byte aByte10538; + boolean aBoolean10539; + int anInt10540; + static int anInt10541; + int anInt10542; + static int anInt10543; + String username; + static int anInt10545; + static int anInt10546; + static int anInt10547; + static int anInt10548; + int anInt10549; + static int anInt10550; + boolean aBoolean10551; + private byte aByte10552; + int anInt10553; + boolean aBoolean10554; + static int anInt10555; + private byte aByte10556; + int anInt10557; + int anInt10558; + static int anInt10559; + int anInt10560; + int anInt10561; + static int anInt10562; + static int anInt10563; + int anInt10564; + static Hashtable aHashtable10565 = new Hashtable(); + static int[] anIntArray10566; + static int anInt10567 = -1; + + final void method2387(GraphicsToolkit var_ha, int i) { + anInt10533++; + if (this.appearance != null && (this.aBoolean10318 || method2459(0, var_ha, -123))) { + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + if (i >= -125) method2457((byte) -106); + class101.method895(this.aClass264_10217.method2019((byte) -116)); + class101.method891(this.x, -5 + this.anInt6382, this.y); + this.method2432(var_ha, -15074, class101, this.aBoolean10318, (this.aClass64Array10323)); + this.aClass64Array10323[0] = this.aClass64Array10323[1] = this.aClass64Array10323[2] = null; + } + } + + final void method2449(int i, int i_0_, byte i_1_) { + anInt10541++; + this.anInt10322 = 0; + this.anIntArray10320[0] = i_0_; + this.anInt10319 = 0; + this.anInt10326 = 0; + this.anIntArray10317[0] = i; + if (i_1_ <= 55) anInt10567 = -3; + int i_2_ = method2436((byte) 103); + this.y = (256 * i_2_ + 512 * this.anIntArray10317[0]); + this.x = (this.anIntArray10320[0] * 512 + i_2_ * 256); + if (Component72.localPlayer == this) DisplayModeManagerContainer154.method773(true); + if (this.aClass318_Sub10_10327 != null) this.aClass318_Sub10_10327.method2529(); + } + + final String getName(boolean bool, int i) { + if (i > -67) this.aBoolean10554 = false; + anInt10555++; + if (bool) return this.displayName; + return this.username; + } + + final void method2451(byte i, int i_3_, int i_4_, int i_5_) { + if (i_4_ != -29034) this.anInt10557 = -47; + anInt10528++; + if (this.anInt10319 < 9) this.anInt10319++; + for (int i_6_ = this.anInt10319; i_6_ > 0; i_6_--) { + this.anIntArray10320[i_6_] = this.anIntArray10320[-1 + i_6_]; + this.anIntArray10317[i_6_] = this.anIntArray10317[i_6_ + -1]; + this.aByteArray10321[i_6_] = this.aByteArray10321[-1 + i_6_]; + } + this.anIntArray10320[0] = i_3_; + this.aByteArray10321[0] = i; + this.anIntArray10317[0] = i_5_; + } + + final boolean method2391(GraphicsToolkit var_ha, int i, int i_7_, int i_8_) { + anInt10562++; + if (this.appearance == null || !method2459(131072, var_ha, 113)) return false; + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + int i_9_ = this.aClass264_10217.method2019((byte) -31); + class101.method895(i_9_); + class101.method891(this.x, this.anInt6382, this.y); + boolean bool = false; + for (int i_10_ = 0; (this.aClass64Array10323.length > i_10_); i_10_++) { + if ((this.aClass64Array10323[i_10_] != null) && (DisplayModeManagerContainer50.aBoolean3870 ? (this.aClass64Array10323[i_10_].method623(i_7_, i, class101, true, 0, Component72.anInt1906)) : this.aClass64Array10323[i_10_].method628(i_7_, i, class101, true, 0))) { + bool = true; + break; + } + } + this.aClass64Array10323[i_8_] = this.aClass64Array10323[1] = this.aClass64Array10323[2] = null; + return bool; + } + + final void method2452(byte i, Buffer class348_sub49) { + anInt10547++; + class348_sub49.offset = 0; + int i_11_ = class348_sub49.readUnsignedByte(255); + aByte10538 = (byte) (i_11_ & 0x1); + boolean bool = this.aBoolean10517; + this.aBoolean10517 = (0x2 & i_11_) != 0; + boolean bool_12_ = (i_11_ & 0x4) != 0; + int i_13_ = super.method2436((byte) 68); + this.method2434((byte) 51, 1 + ((0x3f & i_11_) >> 3)); + aByte10552 = (byte) (i_11_ >> 6 & 0x3); + this.x += -i_13_ + method2436((byte) 47) << 8; + this.y += method2436((byte) 96) + -i_13_ << 8; + aByte10556 = class348_sub49.readByte(-114); + this.anInt10540 = class348_sub49.readByte(-89); + this.anInt10522 = class348_sub49.readByte(i ^ ~0x1); + this.aBoolean10551 = class348_sub49.readByte(i + -199) == 1; + if (DisplayModeManagerContainer345.aClass364_165 == Component326.LIVE && Component353.anInt2581 >= 2) this.aBoolean10551 = false; + this.anInt10542 = 0; + int i_14_ = -1; + int[] is = new int[12]; + for (int i_15_ = 0; i_15_ < 12; i_15_++) { + int i_16_ = class348_sub49.readUnsignedByte(255); + if (i_16_ == 0) is[i_15_] = 0; + else { + int i_17_ = class348_sub49.readUnsignedByte(255); + int i_18_ = i_17_ + (i_16_ << 8); + if (i_15_ == 0 && i_18_ == 65535) { + i_14_ = class348_sub49.readUnsignedShort(842397944); + this.anInt10542 = class348_sub49.readUnsignedByte(255); + break; + } + if (i_18_ >= 32768) { + i_18_ = Component361.anIntArray369[-32768 + i_18_]; + is[i_15_] = Component224.bitwiseOr(1073741824, i_18_); + int i_19_ = (Exception_Sub1.itemDefinitions.getItemDefinition(-111, i_18_).anInt2827); + if (i_19_ != 0) this.anInt10542 = i_19_; + } else is[i_15_] = Component224.bitwiseOr(-256 + i_18_, -2147483648); + } + } + int[] is_20_ = new int[5]; + for (int i_21_ = 0; i_21_ < 5; i_21_++) { + int i_22_ = class348_sub49.readUnsignedByte(255); + if (AbstractShaderSub2.aShortArrayArrayArray7290.length < 1 || i_22_ < 0 || i_22_ >= AbstractShaderSub2.aShortArrayArrayArray7290[0][i_21_].length) i_22_ = 0; + is_20_[i_21_] = i_22_; + } + anInt10520 = class348_sub49.readUnsignedShort(842397944); + this.displayName = class348_sub49.readString((byte) -47); + this.username = this.displayName; + if (this == Component72.localPlayer) BufferCacheSub2.aString8265 = this.displayName; + this.combatLevel = class348_sub49.readUnsignedByte(i ^ 0xab); + if (i != 84) anInt10520 = 87; + if (bool_12_) { + this.anInt10564 = class348_sub49.readUnsignedShort(842397944); + this.anInt10557 = this.combatLevel; + if (this.anInt10564 == 65535) this.anInt10564 = -1; + this.anInt10561 = -1; + } else { + this.anInt10564 = 0; + this.anInt10557 = class348_sub49.readUnsignedByte(255); + this.anInt10561 = class348_sub49.readUnsignedByte(255); + if (this.anInt10561 == 255) this.anInt10561 = -1; + } + int i_23_ = this.anInt10553; + this.anInt10553 = class348_sub49.readUnsignedByte(255); + if (this.anInt10553 == 0) DisplayModeManagerContainer61.method2221(this, -28482); + else { + int i_24_ = this.anInt10535; + int i_25_ = this.anInt10526; + int i_26_ = this.anInt10560; + int i_27_ = this.anInt10519; + int i_28_ = this.anInt10558; + this.anInt10535 = class348_sub49.readUnsignedShort(842397944); + this.anInt10526 = class348_sub49.readUnsignedShort(842397944); + this.anInt10560 = class348_sub49.readUnsignedShort(842397944); + this.anInt10519 = class348_sub49.readUnsignedShort(842397944); + this.anInt10558 = class348_sub49.readUnsignedByte(i ^ 0xab); + if (!this.aBoolean10517 != !bool || this.anInt10553 != i_23_ || i_24_ != this.anInt10535 || i_25_ != this.anInt10526 || (this.anInt10560 != i_26_) || this.anInt10519 != i_27_ || i_28_ != this.anInt10558) DisplayModeManagerContainer23.method858(true, this); + } + if (this.appearance == null) this.appearance = new Component101(); + int i_29_ = (this.appearance.anInt2093); + int[] is_30_ = (this.appearance.anIntArray2095); + this.appearance.method1228(i_14_, 105, method2421((byte) 121), is, aByte10538 == 1, is_20_); + if (i_14_ != i_29_) { + this.x = (this.anIntArray10320[0] << 9) - -(method2436((byte) 89) << 8); + this.y = (this.anIntArray10317[0] << 9) - -(method2436((byte) 98) << 8); + } + if ((StringDefinition.anInt9591 == this.anInt10290) && is_30_ != null) { + for (int i_31_ = 0; i_31_ < is_20_.length; i_31_++) { + if (is_20_[i_31_] != is_30_[i_31_]) { + Exception_Sub1.itemDefinitions.method1936(72); + break; + } + } + } + if (this.aClass318_Sub10_10327 != null) this.aClass318_Sub10_10327.method2529(); + if (this.anInt10268 != -1 && this.aBoolean10213) { + Component241 class225 = this.method2422((byte) 72); + if (!class225.method1623((this.anInt10268), -40)) { + this.aBoolean10213 = false; + this.anInt10268 = -1; + } + } + } + + private final void method2453(int i, GraphicsToolkit var_ha, int i_32_, DisplayModeManagerContainer370 class64, int i_33_, int i_34_, DisplayModeManagerContainer204 class101, int i_35_) { + do { + try { + anInt10548++; + if (i_33_ == 0) { + int i_36_ = i * i + i_34_ * i_34_; + if (i_36_ >= 262144 && i_32_ >= i_36_) { + int i_37_ = 0x3fff & (int) (Math.atan2(i, i_34_) * 2607.5945876176133); + DisplayModeManagerContainer370 class64_38_ = (Canvas_Sub1.getCachedModel(this.anInt10252, this.anInt10302, this.anInt10208, i_37_, i_35_, (byte) -35, var_ha)); + if (class64_38_ == null) break; + var_ha.C(false); + class64_38_.method615(class101, null, 0); + var_ha.C(true); + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ke.OB(" + i + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_32_ + ',' + (class64 != null ? "{...}" : "null") + ',' + i_33_ + ',' + i_34_ + ',' + (class101 != null ? "{...}" : "null") + ',' + i_35_ + ')')); + } + break; + } while (false); + } + + private final void method2454(int i, int i_39_, int i_40_, int i_41_, DisplayModeManagerContainer370 class64, int i_42_, DisplayModeManagerContainer204 class101, GraphicsToolkit var_ha, int i_43_) { + do { + try { + if (i != 6253) this.username = null; + anInt10563++; + int i_44_ = i_43_ * i_43_ + i_39_ * i_39_; + if (i_44_ >= 262144 && i_44_ <= i_42_) { + int i_45_ = ((int) (2607.5945876176133 * Math.atan2(i_39_, i_43_)) & 0x3fff); + DisplayModeManagerContainer370 class64_46_ = (Canvas_Sub1.getCachedModel(this.anInt10252, this.anInt10302, this.anInt10208, i_45_, i_41_, (byte) -35, var_ha)); + if (class64_46_ == null) break; + var_ha.C(false); + class64_46_.method608(class101, null, i_40_, 0); + var_ha.C(true); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ke.V(" + i + ',' + i_39_ + ',' + i_40_ + ',' + i_41_ + ',' + (class64 != null ? "{...}" : "null") + ',' + i_42_ + ',' + (class101 != null ? "{...}" : "null") + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_43_ + ')')); + } + break; + } while (false); + } + + final ComponentDownloader method2381(GraphicsToolkit var_ha, int i) { + if (i != 7) this.username = null; + anInt10518++; + return null; + } + + final void method2392(boolean bool) { + if (bool != true) this.username = null; + anInt10534++; + throw new IllegalStateException(); + } + + final void method2380(GraphicsToolkit var_ha, int i, boolean bool, RenderableObject class318_sub1, int i_47_, byte i_48_, int i_49_) { + try { + if (i_48_ >= -106) anInt10520 = 116; + anInt10545++; + throw new IllegalStateException(); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ke.N(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class318_sub1 != null ? "{...}" : "null") + ',' + i_47_ + ',' + i_48_ + ',' + i_49_ + ')')); + } + } + + final void method2455(int i, int i_50_, byte i_51_, int i_52_) { + anInt10529++; + if (i_50_ != -26443) method2451((byte) -35, 9, 26, 87); + if (this.anInt10286 != -1 && RunescapeInfo.aClass87_191.method835(this.anInt10286, 7).anInt245 == 1) { + this.anInt10286 = -1; + this.anIntArray10236 = null; + } + if (this.anInt10269 != -1) { + Component63 class368 = (NsnDefinition.aClass319_9245.method2543((byte) 59, this.anInt10269)); + if (class368.aBoolean4487 && class368.anInt4503 != -1 && RunescapeInfo.aClass87_191.method835((class368.anInt4503), i_50_ ^ ~0x674d).anInt245 == 1) this.anInt10269 = -1; + } + if (this.anInt10291 != -1) { + Component63 class368 = (NsnDefinition.aClass319_9245.method2543((byte) 124, this.anInt10291)); + if (class368.aBoolean4487 && class368.anInt4503 != -1 && (RunescapeInfo.aClass87_191.method835(class368.anInt4503, 7).anInt245) == 1) this.anInt10291 = -1; + } + this.anInt10524 = -1; + if (i_52_ >= 0 && AbstractShaderSub4.anInt7319 > i_52_ && i >= 0 && ParametricDefinition.anInt9109 > i) { + if (this.anIntArray10320[0] >= 0 && (this.anIntArray10320[0] < AbstractShaderSub4.anInt7319) && this.anIntArray10317[0] >= 0 && (ParametricDefinition.anInt9109 > this.anIntArray10317[0])) { + if (i_51_ == 2) SceneManager.method1592((byte) 2, i, 4, i_52_, this); + method2451(i_51_, i_52_, -29034, i); + } else method2449(i, i_52_, (byte) 111); + } else method2449(i, i_52_, (byte) 112); + } + + final RenderableSub4 method2386(int i, GraphicsToolkit var_ha) { + anInt10527++; + if (this.appearance == null || !method2459(2048, var_ha, -95)) return null; + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + int i_53_ = this.aClass264_10217.method2019((byte) -126); + class101.method895(i_53_); + Component186 class357 = (Component335.aClass357ArrayArrayArray2029[this.plane][this.x >> Component149.anInt4459][this.y >> Component149.anInt4459]); + if (class357 == null || class357.aClass318_Sub1_Sub1_4402 == null) this.anInt10274 -= (float) this.anInt10274 / 10.0F; + else { + int i_54_ = (this.anInt10274 + -(class357.aClass318_Sub1_Sub1_4402.aShort8727)); + this.anInt10274 -= (float) i_54_ / 10.0F; + } + class101.method891(this.x, (-20 + (this.anInt6382 - this.anInt10274)), this.y); + RenderableSub4 class318_sub4 = null; + this.aBoolean10324 = false; + if (Component192.aClass348_Sub51_3959.aClass239_Sub21_7270.method1812(-32350) == 1) { + Component241 class225 = this.method2422((byte) 72); + if (class225.aBoolean2913 && (this.appearance.anInt2093 == -1 || Component291.aClass278_2529.method2079(this.appearance.anInt2093, i + -2).aBoolean1369)) { + DisplayModeManagerContainer167 class17 = ((this.anInt10286 != -1 && this.anInt10218 == 0) ? (RunescapeInfo.aClass87_191.method835(this.anInt10286, 7)) : null); + DisplayModeManagerContainer167 class17_55_ = ((this.anInt10268 == -1 || this.aBoolean10521 || (this.aBoolean10213 && class17 != null)) ? null : (RunescapeInfo.aClass87_191.method835(this.anInt10268, 7))); + DisplayModeManagerContainer370 class64 = (Node.method2711(this.anInt10302, i_53_, this.aClass64Array10323[0], this.anInt10208, false, (class17_55_ == null ? this.anInt10267 : this.anInt10245), 0, 1, this.anInt10252, var_ha, 160, 0, 240, class17_55_ == null ? class17 : class17_55_)); + if (class64 != null) { + class318_sub4 = (OutputStream_Sub2.method136(1 + (this.aClass64Array10323).length, true, false)); + this.aBoolean10324 = true; + var_ha.C(false); + if (DisplayModeManagerContainer50.aBoolean3870) class64.method608(class101, (class318_sub4.aClass318_Sub3Array6414[(this.aClass64Array10323).length]), Component72.anInt1906, 0); + else class64.method615(class101, (class318_sub4.aClass318_Sub3Array6414[(this.aClass64Array10323).length]), 0); + var_ha.C(true); + } + } + } + if (this == Component72.localPlayer) { + class101.method894(this.x, this.anInt6382, this.y); + for (int i_56_ = -1 + NodeSub27.aClass302Array6897.length; i_56_ >= 0; i_56_--) { + Component114 class302 = NodeSub27.aClass302Array6897[i_56_]; + if (class302 != null && class302.anInt3834 != -1) { + if (class302.anInt3840 == 1) { + NodeSub22 class348_sub22 = ((NodeSub22) (Component21.aClass356_3654.get(class302.anInt3833, -6008))); + if (class348_sub22 != null) { + Npc npc = (class348_sub22.npc); + int i_57_ = (-(Component72.localPlayer.x) + npc.x); + int i_58_ = (-(Component72.localPlayer.y) + npc.y); + if (DisplayModeManagerContainer50.aBoolean3870) method2454(6253, i_57_, Component72.anInt1906, class302.anInt3834, (this.aClass64Array10323[0]), 92160000, class101, var_ha, i_58_); + else method2453(i_57_, var_ha, 92160000, (this.aClass64Array10323[0]), 0, i_58_, class101, class302.anInt3834); + } + } + if (class302.anInt3840 == 2) { + int i_59_ = (-(Component72.localPlayer.x) + 256 + class302.anInt3835); + int i_60_ = (-(Component72.localPlayer.y) + 256 + class302.anInt3832); + int i_61_ = class302.anInt3837 << 9; + i_61_ *= i_61_; + if (DisplayModeManagerContainer50.aBoolean3870) method2454(6253, i_59_, Component72.anInt1906, class302.anInt3834, (this.aClass64Array10323[0]), i_61_, class101, var_ha, i_60_); + else method2453(i_59_, var_ha, i_61_, (this.aClass64Array10323[0]), 0, i_60_, class101, class302.anInt3834); + } + if (class302.anInt3840 == 10 && class302.anInt3833 >= 0 && (class302.anInt3833 < (InterfaceRenderer.players).length)) { + Player player_62_ = (InterfaceRenderer.players[class302.anInt3833]); + if (player_62_ != null) { + int i_63_ = (-(Component72.localPlayer.x) + (player_62_.x)); + int i_64_ = (-(Component72.localPlayer.y) + (player_62_.y)); + if (DisplayModeManagerContainer50.aBoolean3870) method2454(6253, i_63_, Component72.anInt1906, class302.anInt3834, (this.aClass64Array10323[0]), 92160000, class101, var_ha, i_64_); + else method2453(i_63_, var_ha, 92160000, (this.aClass64Array10323[0]), i ^ 0x1, i_64_, class101, class302.anInt3834); + } + } + } + } + class101.method895(i_53_); + class101.method891(this.x, this.anInt6382, this.y); + } + class101.method895(i_53_); + class101.method891(this.x, (this.anInt6382 + (-5 + -(this.anInt10274))), this.y); + if (class318_sub4 == null) class318_sub4 = OutputStream_Sub2.method136((this.aClass64Array10323).length, true, false); + this.method2432(var_ha, -15074, class101, false, this.aClass64Array10323); + if (DisplayModeManagerContainer50.aBoolean3870) { + for (int i_65_ = 0; i_65_ < (this.aClass64Array10323).length; i_65_++) { + if (this.aClass64Array10323[i_65_] != null) this.aClass64Array10323[i_65_].method608(class101, (class318_sub4.aClass318_Sub3Array6414[i_65_]), Component72.anInt1906, (this != Component72.localPlayer ? 0 : 1)); + } + } else { + for (int i_66_ = 0; i_66_ < (this.aClass64Array10323).length; i_66_++) { + if (this.aClass64Array10323[i_66_] != null) this.aClass64Array10323[i_66_].method615(class101, (class318_sub4.aClass318_Sub3Array6414[i_66_]), (this == Component72.localPlayer ? 1 : 0)); + } + } + if (this.aClass318_Sub10_10327 != null) { + Component122 class98 = this.aClass318_Sub10_10327.method2525(); + if (DisplayModeManagerContainer50.aBoolean3870) var_ha.method3685(class98, Component72.anInt1906); + else var_ha.method3684(class98); + } + for (int i_67_ = 0; (i_67_ < this.aClass64Array10323.length); i_67_++) { + if (this.aClass64Array10323[i_67_] != null) this.aBoolean10324 |= this.aClass64Array10323[i_67_].F(); + } + this.aClass64Array10323[0] = this.aClass64Array10323[i] = this.aClass64Array10323[2] = null; + this.anInt10301 = DisplayModeManagerContainer341.anInt6006; + return class318_sub4; + } + + final String method2456(boolean bool, int i) { + anInt10550++; + String string = ""; + if (WaterShader.aStringArray7378 != null) string += WaterShader.aStringArray7378[aByte10552]; + int[] is; + if (aByte10538 != 1 || Component66.anIntArray6021 == null) is = RuntimeException_Sub1.anIntArray4603; + else is = Component66.anIntArray6021; + if (i != 255) anInt10567 = 81; + if (is != null && is[aByte10552] != -1) { + Component208 class117 = NodeSub7.aClass33_6653.method337(true, is[aByte10552]); + if (class117.valueType != 115) { + ClientErrorReporter.reportError("gdn1", new Throwable(), 15004); + is[aByte10552] = -1; + } else string += class117.getString(0xff & aByte10556, i + -145); + } + if (!bool) string += this.username; + else string += this.displayName; + if (Component285.aStringArray974 != null) string += Component285.aStringArray974[aByte10552]; + return string; + } + + final int method2425(int i) { + anInt10532++; + if (i != -1) return 82; + return -1; + } + + final boolean method2457(byte i) { + anInt10530++; + int i_68_ = 86 / ((-44 - i) / 38); + return this.appearance != null; + } + + final boolean method2388(int i) { + anInt10523++; + if (i >= -65) method2449(-64, -39, (byte) 37); + return false; + } + + final int method2436(byte i) { + if (i <= 39) method2455(-97, -62, (byte) 0, 103); + anInt10546++; + if (this.appearance != null && this.appearance.anInt2093 != -1) return (Component291.aClass278_2529.method2079(this.appearance.anInt2093, -1).anInt1399); + return super.method2436((byte) 72); + } + + public static void method2458(boolean bool) { + anIntArray10566 = null; + if (bool != true) method2458(false); + aHashtable10565 = null; + } + + private final boolean method2459(int i, GraphicsToolkit var_ha, int i_69_) { + anInt10525++; + int i_70_ = i; + Component241 class225 = this.method2422((byte) 72); + DisplayModeManagerContainer167 class17 = ((this.anInt10286 == -1 || this.anInt10218 != 0) ? null : RunescapeInfo.aClass87_191.method835(this.anInt10286, 7)); + DisplayModeManagerContainer167 class17_71_ = ((this.anInt10268 != -1 && !this.aBoolean10521 && (!this.aBoolean10213 || class17 == null)) ? RunescapeInfo.aClass87_191.method835(this.anInt10268, 7) : null); + int i_72_ = class225.anInt2932; + int i_73_ = class225.anInt2941; + if (i_72_ != 0 || i_73_ != 0 || class225.anInt2950 != 0 || class225.anInt2926 != 0) i |= 0x7; + int i_74_ = this.aClass264_10217.method2019((byte) -106); + boolean bool = (this.aByte10279 != 0 && (this.anInt10248 <= OpenGlShader.clientCycle) && (OpenGlShader.clientCycle < this.anInt10250)); + if (bool) i |= 0x80000; + DisplayModeManagerContainer370 class64 = (this.aClass64Array10323[0] = (this.appearance.method1226(DisplayModeManagerContainer58.aClass170_10209, class17_71_, this.aClass182Array10308, true, Exception_Sub1.itemDefinitions, i_74_, class17, this.anInt10244, true, this.anInt10312, this.anIntArray10296, i, DefinitionSub25.aClass150_9342, this.anInt10232, var_ha, Component291.aClass278_2529, RunescapeInfo.aClass87_191, this.anInt10245, this.anInt10267, this.anInt10203, DisplayModeManagerContainer282.aClass261_5558))); + int i_75_ = Component102.method2201(2121); + if (Component127.anInt2964 < 96 && i_75_ > 50) Component201.method2271(31268); + int i_76_ = 3 % ((63 - i_69_) / 47); + if (Component326.LIVE != DisplayModeManagerContainer345.aClass364_165 && i_75_ < 50) { + int i_77_; + for (i_77_ = -i_75_ + 50; Component162.anInt8388 < i_77_; Component162.anInt8388++) + Component17.aByteArrayArray3882[Component162.anInt8388] = new byte[102400]; + while (Component162.anInt8388 > i_77_) { + Component162.anInt8388--; + Component17.aByteArrayArray3882[Component162.anInt8388] = null; + } + } else if (DisplayModeManagerContainer345.aClass364_165 != Component326.LIVE) { + Component162.anInt8388 = 0; + Component17.aByteArrayArray3882 = new byte[50][]; + } + if (class64 == null) return false; + this.anInt10207 = class64.fa(); + this.anInt10230 = class64.ma(); + this.method2439(-115, class64); + if (i_72_ != 0 || i_73_ != 0) { + this.method2424(i_74_, i_72_, class225.anInt2943, i_73_, (byte) 108, class225.anInt2912); + if (this.anInt10302 != 0) class64.FA(this.anInt10302); + if (this.anInt10208 != 0) class64.VA(this.anInt10208); + if (this.anInt10252 != 0) class64.H(0, this.anInt10252, 0); + } else this.method2424(i_74_, method2436((byte) 124) << 9, 0, method2436((byte) 58) << 9, (byte) 65, 0); + if (bool) class64.method624(this.aByte10255, this.aByte10206, this.aByte10270, (this.aByte10279 & 0xff)); + if (!this.aBoolean10521 && this.anInt10269 != -1 && this.anInt10240 != -1) { + Component63 class368 = (NsnDefinition.aClass319_9245.method2543((byte) 76, this.anInt10269)); + boolean bool_78_ = (class368.aByte4488 == 3 && (i_72_ != 0 || i_73_ != 0)); + int i_79_ = i_70_; + if (!bool_78_) { + if (this.anInt10237 != 0) i_79_ |= 0x5; + if (this.anInt10220 != 0) i_79_ |= 0x2; + if (this.anInt10278 >= 0) i_79_ |= 0x7; + } else i_79_ |= 0x7; + DisplayModeManagerContainer370 class64_80_ = (this.aClass64Array10323[1] = (class368.method3562(this.anInt10240, var_ha, this.anInt10243, i_79_, this.anInt10283, RunescapeInfo.aClass87_191, (byte) 46))); + if (class64_80_ != null) { + if (this.anInt10278 >= 0 && class225.anIntArrayArray2939 != null && ((class225.anIntArrayArray2939[this.anInt10278]) != null)) { + int i_81_ = 0; + int i_82_ = 0; + int i_83_ = 0; + if (class225.anIntArrayArray2939 != null && ((class225.anIntArrayArray2939[this.anInt10278]) != null)) { + i_82_ += (class225.anIntArrayArray2939[this.anInt10278][1]); + i_83_ += (class225.anIntArrayArray2939[this.anInt10278][2]); + i_81_ += (class225.anIntArrayArray2939[this.anInt10278][0]); + } + if (class225.anIntArrayArray2910 != null && ((class225.anIntArrayArray2910[this.anInt10278]) != null)) { + i_82_ += (class225.anIntArrayArray2910[this.anInt10278][1]); + i_83_ += (class225.anIntArrayArray2910[this.anInt10278][2]); + i_81_ += (class225.anIntArrayArray2910[this.anInt10278][0]); + } + if (i_83_ != 0 || i_81_ != 0) { + int i_84_ = i_74_; + if ((this.anIntArray10296 != null) && ((this.anIntArray10296[this.anInt10278]) != -1)) i_84_ = (this.anIntArray10296[(this.anInt10278)]); + int i_85_ = (i_84_ + (this.anInt10237) * 2048 + -i_74_ & 0x3fff); + if (i_85_ != 0) class64_80_.a(i_85_); + int i_86_ = DisplayModeManagerContainer88.anIntArray1207[i_85_]; + int i_87_ = DisplayModeManagerContainer88.anIntArray1204[i_85_]; + int i_88_ = i_87_ * i_81_ + i_83_ * i_86_ >> 14; + i_83_ = -(i_81_ * i_86_) + i_83_ * i_87_ >> 14; + i_81_ = i_88_; + } + class64_80_.H(i_81_, i_82_, i_83_); + } else if (this.anInt10237 != 0) class64_80_.a(2048 * this.anInt10237); + if (this.anInt10220 != 0) class64_80_.H(0, (-this.anInt10220 << 2), 0); + if (bool_78_) { + if (this.anInt10302 != 0) class64_80_.FA(this.anInt10302); + if (this.anInt10208 != 0) class64_80_.VA(this.anInt10208); + if (this.anInt10252 != 0) class64_80_.H(0, (this.anInt10252), 0); + } + } + } else this.aClass64Array10323[1] = null; + if (this.aBoolean10521 || this.anInt10291 == -1 || this.anInt10224 == -1) this.aClass64Array10323[2] = null; + else { + Component63 class368 = (NsnDefinition.aClass319_9245.method2543((byte) 76, this.anInt10291)); + boolean bool_89_ = (class368.aByte4488 == 3 && (i_72_ != 0 || i_73_ != 0)); + int i_90_ = i_70_; + if (bool_89_) i_90_ |= 0x7; + else { + if (this.anInt10202 != 0) i_90_ |= 0x5; + if (this.anInt10260 != 0) i_90_ |= 0x2; + if (this.anInt10289 >= 0) i_90_ |= 0x7; + } + DisplayModeManagerContainer370 class64_91_ = (this.aClass64Array10323[2] = (class368.method3558(this.anInt10273, this.anInt10276, var_ha, i_90_, 3172, RunescapeInfo.aClass87_191, this.anInt10224))); + if (class64_91_ != null) { + if (this.anInt10289 < 0 || class225.anIntArrayArray2939 == null || ((class225.anIntArrayArray2939[this.anInt10289]) == null)) { + if (this.anInt10202 != 0) class64_91_.a(2048 * (this.anInt10202)); + } else { + int i_92_ = 0; + int i_93_ = 0; + int i_94_ = 0; + if (class225.anIntArrayArray2939 != null && ((class225.anIntArrayArray2939[this.anInt10289]) != null)) { + i_92_ += (class225.anIntArrayArray2939[this.anInt10289][0]); + i_93_ += (class225.anIntArrayArray2939[this.anInt10289][1]); + i_94_ += (class225.anIntArrayArray2939[this.anInt10289][2]); + } + if (class225.anIntArrayArray2910 != null && ((class225.anIntArrayArray2910[this.anInt10289]) != null)) { + i_92_ += (class225.anIntArrayArray2910[this.anInt10289][0]); + i_93_ += (class225.anIntArrayArray2910[this.anInt10289][1]); + i_94_ += (class225.anIntArrayArray2910[this.anInt10289][2]); + } + if (i_94_ != 0 || i_92_ != 0) { + int i_95_ = i_74_; + if ((this.anIntArray10296 != null) && ((this.anIntArray10296[this.anInt10289]) != -1)) i_95_ = (this.anIntArray10296[(this.anInt10289)]); + int i_96_ = (0x3fff & -i_74_ + ((this.anInt10202) * 2048 + i_95_)); + if (i_96_ != 0) class64_91_.a(i_96_); + int i_97_ = DisplayModeManagerContainer88.anIntArray1207[i_96_]; + int i_98_ = DisplayModeManagerContainer88.anIntArray1204[i_96_]; + int i_99_ = i_94_ * i_97_ + i_98_ * i_92_ >> 14; + i_94_ = -(i_97_ * i_92_) + i_98_ * i_94_ >> 14; + i_92_ = i_99_; + } + class64_91_.H(i_92_, i_93_, i_94_); + } + if (this.anInt10260 != 0) class64_91_.H(0, (-this.anInt10260 << 2), 0); + if (bool_89_) { + if (this.anInt10302 != 0) class64_91_.FA(this.anInt10302); + if (this.anInt10208 != 0) class64_91_.VA(this.anInt10208); + if (this.anInt10252 != 0) class64_91_.H(0, (this.anInt10252), 0); + } + } + } + return true; + } + + final int method2421(byte i) { + if (i < 113) this.anInt10535 = 60; + anInt10543++; + return anInt10520; + } + + static final void method2460(float f, int i, float f_100_, int i_101_, int i_102_, float f_103_, DisplayModeManagerContainer51 class186, int i_104_, byte i_105_, int i_106_, float f_107_, byte[] is, int i_108_, float f_109_) { + do { + try { + anInt10559++; + int i_110_ = i_102_ * i_106_; + float[] fs = new float[i_110_]; + for (int i_111_ = 0; i_101_ > i_111_; i_111_++) { + int i_112_ = i; + class186.method1398(i_108_, i_102_, f_100_ / (float) i_106_, f_109_ / (float) i_108_, 0, f * 127.0F, 1, f_107_ / (float) i_102_, i_106_, i_104_, fs); + f_107_ *= 2.0F; + f_100_ *= 2.0F; + for (int i_113_ = 0; i_110_ > i_113_; i_113_++) { + is[i_112_] += fs[i_113_]; + i_112_++; + } + f_109_ *= 2.0F; + f *= f_103_; + } + int i_114_ = i; + for (int i_115_ = 0; i_115_ < i_110_; i_115_++) { + is[i_114_] = (byte) (127 + is[i_114_]); + i_114_++; + } + if (i_105_ == 30) break; + aHashtable10565 = null; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ke.LB(" + f + ',' + i + ',' + f_100_ + ',' + i_101_ + ',' + i_102_ + ',' + f_103_ + ',' + (class186 != null ? "{...}" : "null") + ',' + i_104_ + ',' + i_105_ + ',' + i_106_ + ',' + f_107_ + ',' + (is != null ? "{...}" : "null") + ',' + i_108_ + ',' + f_109_ + ')')); + } + break; + } while (false); + } + + public Player() { + this.combatLevel = 0; + this.anInt10535 = -1; + this.aBoolean10521 = false; + this.anInt10526 = -1; + this.aBoolean10539 = false; + this.anInt10519 = -1; + this.anInt10522 = -1; + this.aBoolean10554 = false; + this.anInt10557 = 0; + this.anInt10524 = -1; + this.aBoolean10551 = false; + this.anInt10560 = -1; + this.anInt10542 = 0; + this.anInt10553 = 0; + aByte10556 = (byte) 0; + this.anInt10558 = 255; + this.anInt10540 = -1; + aByte10552 = (byte) 0; + aByte10538 = (byte) 0; + this.anInt10561 = -1; + this.anInt10564 = 0; + } +} diff --git a/client/entities/PlayerState.java b/client/entities/PlayerState.java new file mode 100644 index 000000000..78d180a44 --- /dev/null +++ b/client/entities/PlayerState.java @@ -0,0 +1,121 @@ +/* PlayerState - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub43` (JODE-obfuscated). + * Player state node (extends renamed Node). Aggregates player-related sub-objects (NodeSub19Sub1, NodeSub16Sub5, NpcDefinition) plus numerous int state fields and an int[][][] lookup. + */ + +final class PlayerState extends Node { + static NodeSub16Sub4 aClass348_Sub16_Sub4_7065; + int anInt7066; + int anInt7067; + static int anInt7068; + int anInt7069; + int anInt7070; + int anInt7071; + int anInt7072; + static int anInt7073; + int anInt7074; + Component234 aClass23_7075; + int anInt7076; + NodeSub19Sub1 aClass348_Sub19_Sub1_7077; + static int anInt7078; + static int[][][] anIntArrayArrayArray7079 = new int[2][][]; + int anInt7080; + NodeSub16Sub5 aClass348_Sub16_Sub5_7081; + int anInt7082; + int anInt7083; + int anInt7084; + NpcDefinition aClass348_Sub17_7085; + int anInt7086; + int anInt7087; + int anInt7088; + int anInt7089; + int anInt7090; + + static final void method3298(byte i, boolean bool, Player player) { + anInt7073++; + if (DisplayModeManagerContainer306.menuEntryCount < 400) { + if (Component72.localPlayer == player) { + if (r.aBoolean9722 && (PauseTimer.anInt500 & 0x10) != 0) { + Component299.anInt450++; + DisplayModeManagerContainer368.addMenuEntry(false, (DisplayModeManagerContainer332.aString5000 + " -> " + FriendsIgnoreList.aClass274_3520.getLocalized(ObjectDeserializer.languageId, 544)), 0, (byte) -109, false, 0, -1, true, 50, player.anInt10290, DisplayModeManagerContainer332.aString5001, 0L, Component182.anInt9747); + } + } else { + String string; + if (player.anInt10564 == 0) { + boolean bool_0_ = true; + if ((Component72.localPlayer.anInt10561) != -1 && player.anInt10561 != -1) { + int i_1_ = (Math.max(player.combatLevel, (Component72.localPlayer.combatLevel))); + int i_2_ = (Math.min((Component72.localPlayer.anInt10561), player.anInt10561)); + int i_3_ = 5 - (-(10 * i_1_ / 100) + -i_2_); + int i_4_ = (-player.combatLevel + (Component72.localPlayer.combatLevel)); + if (i_4_ < 0) i_4_ = -i_4_; + if (i_3_ < i_4_) bool_0_ = false; + } + String string_5_ = ((WorldNameText.STELLARDAWN == PacketReader.currentGameType) ? FriendsIgnoreList.aClass274_3513.getLocalized(ObjectDeserializer.languageId, 544) : FriendsIgnoreList.aClass274_3511.getLocalized(ObjectDeserializer.languageId, 544)); + if (player.combatLevel >= player.anInt10557) + string = (player.method2456(true, 255) + (!bool_0_ ? "" : (WorldNameText.method250((Component72.localPlayer.combatLevel), true, (player.combatLevel)))) + " (" + string_5_ + player.combatLevel + ")"); + else + string = (player.method2456(true, 255) + (bool_0_ ? (WorldNameText.method250((Component72.localPlayer.combatLevel), true, (player.combatLevel))) : "") + " (" + string_5_ + player.combatLevel + "+" + (-player.combatLevel + player.anInt10557) + ")"); + } else if (player.anInt10564 == -1) string = player.method2456(true, 255); + else string = (player.method2456(true, 255) + " (" + FriendsIgnoreList.aClass274_3512.getLocalized(ObjectDeserializer.languageId, 544) + player.anInt10564 + ")"); + if (r.aBoolean9722 && !bool && (0x8 & PauseTimer.anInt500) != 0) { + DisplayModeManagerContainer368.addMenuEntry(false, DisplayModeManagerContainer332.aString5000 + " -> " + string, 0, (byte) -109, false, 0, -1, true, 51, player.anInt10290, DisplayModeManagerContainer332.aString5001, player.anInt10290, Component182.anInt9747); + DisplayModeManagerContainer196.anInt4228++; + } + if (i <= 89) anInt7068 = -113; + if (bool) DisplayModeManagerContainer368.addMenuEntry(true, "", 0, (byte) -115, false, 0, 0, false, -1, player.anInt10290, "" + string, 0L, -1); + else { + for (int i_6_ = 7; i_6_ >= 0; i_6_--) { + if (Component252.aStringArray10195[i_6_] != null) { + short i_7_ = 0; + if ((PacketReader.currentGameType != RunescapeInfo.RUNESCAPE) || !(Component252.aStringArray10195[i_6_].equalsIgnoreCase(FriendsIgnoreList.aClass274_3506.getLocalized(ObjectDeserializer.languageId, 544)))) { + if (DisplayModeManagerContainer5.aBooleanArray1214[i_6_]) i_7_ = (short) 2000; + } else { + if ((Component72.localPlayer.combatLevel) < (player.combatLevel)) i_7_ = (short) 2000; + if ((Component72.localPlayer.anInt10542) != 0 && (player.anInt10542) != 0) { + if ((player.anInt10542) != (Component72.localPlayer.anInt10542)) i_7_ = (short) 0; + else i_7_ = (short) 2000; + } + } + short i_8_ = (short) (i_7_ + (DisplayModeManagerContainer207.aShortArray9768[i_6_])); + int i_9_ = (Canvas_Sub1.anIntArray60[i_6_] == -1 ? PauseTimer.anInt506 : Canvas_Sub1.anIntArray60[i_6_]); + DisplayModeManagerContainer368.addMenuEntry(false, "" + string, 0, (byte) -105, false, 0, -1, true, i_8_, player.anInt10290, (Component252.aStringArray10195[i_6_]), player.anInt10290, i_9_); + Canvas_Sub1.anInt69++; + } + } + } + if (!bool) { + for (MenuEntry class348_sub42_sub12 = (MenuEntry) DefinitionSub4.menuEntries.first(4); class348_sub42_sub12 != null; class348_sub42_sub12 = ((MenuEntry) DefinitionSub4.menuEntries.next((byte) 105))) { + if ((class348_sub42_sub12.opcode) == 19) { + class348_sub42_sub12.extraTarget = "" + string; + break; + } + } + } + } + } + } + + final void method3299(byte i) { + anInt7078++; + this.aClass348_Sub16_Sub5_7081 = null; + this.aClass348_Sub19_Sub1_7077 = null; + int i_10_ = 71 / ((i - -26) / 58); + this.aClass23_7075 = null; + this.aClass348_Sub17_7085 = null; + } + + public static void method3300(int i) { + anIntArrayArrayArray7079 = null; + aClass348_Sub16_Sub4_7065 = null; + if (i != 0) method3300(-61); + } + + static { + anInt7068 = 0; + } +} diff --git a/client/fonts/BitmapFont.java b/client/fonts/BitmapFont.java new file mode 100644 index 000000000..81296eb6b --- /dev/null +++ b/client/fonts/BitmapFont.java @@ -0,0 +1,559 @@ +/* BitmapFont - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaggl.OpenGL; + +import java.util.Random; + +/** + * Bitmap font / text drawer used by the 634 UI (chat, FPS overlay, console, + * Microbot panel, etc.). + *

+ * Common draw helpers (coords are canvas pixels, colours are packed ARGB — + * FPS overlay often uses {@code -256} yellow / {@code -1} white): + *

    + *
  • {@link #drawText} — left-aligned at {@code (x, y)}
  • + *
  • {@link #drawTextCentred} — centred on X ({@code centreX}), Y separate
  • + *
  • {@link #drawTextRightAligned} — right-aligned to {@code rightX}
  • + *
+ * Prefer {@link #drawText} for overlays you layout yourself (e.g. Microbot HUD). + */ +abstract class BitmapFont { + static int anInt4045; + static int anInt4046; + static int anInt4047; + private GraphicsToolkit toolkit; + static int anInt4049; + static int anInt4050; + static int anInt4051; + static int anInt4052; + static int anInt4053; + static int anInt4054; + static int anInt4055; + static int anInt4056; + static int anInt4057; + static int anInt4058; + static int anInt4059; + static int anInt4060; + static int anInt4061; + static Component161 aClass138_4062 = new Component161(2, 4, 4, 0); + private Component184 metrics; + static int anInt4064; + static int anInt4065; + + private final void method2566(Component24[] class105s, int[] is, int i, int[] is_0_, int[] is_1_, int i_2_, String string, int i_3_) { + try { + i_2_ -= metrics.ascent; + anInt4058++; + int i_4_ = -1; + int i_5_ = -1; + int i_6_ = 0; + if (i_3_ == 174) { + int i_7_ = string.length(); + int i_8_ = 0; + for (/**/; i_7_ > i_8_; i_8_++) { + char c = (char) (Component160.method3464(string.charAt(i_8_), false) & 0xff); + if (c == 60) i_4_ = i_8_; + else { + if (c == 62 && i_4_ != -1) { + String string_9_ = string.substring(1 + i_4_, i_8_); + i_4_ = -1; + if (string_9_.equals("lt")) c = '<'; + else if (!string_9_.equals("gt")) { + if (string_9_.equals("nbsp")) c = '\u00a0'; + else if (!string_9_.equals("shy")) { + if (string_9_.equals("times")) c = '\u00d7'; + else if (!string_9_.equals("euro")) { + if (string_9_.equals("copy")) c = '\u00a9'; + else if (string_9_.equals("reg")) c = '\u00ae'; + else { + if (string_9_.startsWith("img=")) { + try { + int i_10_; + if (is_1_ != null) i_10_ = is_1_[i_6_]; + else i_10_ = 0; + int i_11_; + if (is != null) i_11_ = is[i_6_]; + else i_11_ = 0; + i_6_++; + int i_12_ = (NodeSub41.parseInt(true, (string_9_.substring(4)))); + Component24 class105 = class105s[i_12_]; + int i_13_ = (is_0_ == null ? class105.method980() : is_0_[i_12_]); + class105.method964(i + i_10_, (-i_13_ + (metrics.ascent) + (i_2_ - -i_11_)), 1, 0, 1); + i += class105s[i_12_].method966(); + i_5_ = -1; + } catch (Exception exception) { + /* empty */ + } + } else method2573((byte) -92, string_9_); + continue; + } + } else c = '\u20ac'; + } else c = '\u00ad'; + } else c = '>'; + } + if (i_4_ == -1) { + if (i_5_ != -1) i += metrics.charKerning(i_5_, (byte) -104, c); + int i_14_; + if (is_1_ == null) i_14_ = 0; + else i_14_ = is_1_[i_6_]; + int i_15_; + if (is == null) i_15_ = 0; + else i_15_ = is[i_6_]; + if (c != 32) { + if ((Component120.anInt320 & ~0xffffff) != 0) fa(c, 1 + i - -i_14_, i_2_ - -1 + i_15_, Component120.anInt320, true); + fa(c, i + i_14_, i_2_ + i_15_, HashNodeSub1.anInt9492, false); + } else if (Component286.anInt1902 > 0) { + AbstractGlTexture.anInt4848 += Component286.anInt1902; + i += AbstractGlTexture.anInt4848 >> 8; + AbstractGlTexture.anInt4848 &= 0xff; + } + i_6_++; + int i_16_ = metrics.charWidth((byte) -48, c); + if (Player.anInt10567 != -1) toolkit.method3649((byte) -103, i_16_, i_2_ - -(int) ((double) (metrics.ascent) * 0.7), Player.anInt10567, i); + if (DefinitionSub2.anInt9101 != -1) toolkit.method3649((byte) -96, i_16_, (metrics.ascent) + i_2_, (DefinitionSub2.anInt9101), i); + i_5_ = c; + i += i_16_; + } + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("da.V(" + (class105s != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ',' + i + ',' + (is_0_ != null ? "{...}" : "null") + ',' + (is_1_ != null ? "{...}" : "null") + ',' + i_2_ + ',' + (string != null ? "{...}" : "null") + ',' + i_3_ + ')')); + } + } + + final void method2567(int i, String string, byte i_17_, int i_18_, int i_19_, int i_20_, Component24[] class105s, int[] is) { + try { + anInt4056++; + if (i_17_ > 114 && string != null) { + method2579(i_19_, -78, i_18_); + method2583(0, i, 0, class105s, null, string, is, 25625, i_20_); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("da.R(" + i + ',' + (string != null ? "{...}" : "null") + ',' + i_17_ + ',' + i_18_ + ',' + i_19_ + ',' + i_20_ + ',' + (class105s != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ')')); + } + } + + final int method2568(int[] is, int i, byte i_21_, Shader var_aa, int i_22_, Component24[] class105s, int i_23_, int i_24_, int i_25_, int i_26_, String string, int i_27_, int i_28_, int i_29_, int i_30_, int i_31_, int i_32_) { + try { + anInt4054++; + if (string == null) return 0; + method2579(i_30_, -76, i_23_); + if (i_32_ == 0) i_32_ = metrics.ascent; + int[] is_33_; + if ((metrics.descent + metrics.maxAscent - -i_32_) <= i || i_32_ + i_32_ <= i) is_33_ = new int[]{i_25_}; + else is_33_ = null; + int i_34_ = metrics.method1188(string, is_33_, ClientErrorReporter.aStringArray2113, (byte) 87, class105s); + if (i_31_ == -1) { + i_31_ = i / i_32_; + if (i_31_ <= 0) i_31_ = 1; + } + if (i_31_ > 0 && i_31_ <= i_34_) { + ClientErrorReporter.aStringArray2113[i_31_ - 1] = metrics.method1181(class105s, i_25_, (ClientErrorReporter.aStringArray2113[i_31_ - 1]), (byte) 55); + i_34_ = i_31_; + } + if (i_26_ == 3 && i_34_ == 1) i_26_ = 1; + int i_35_ = -116 % ((i_21_ - -28) / 43); + int i_36_; + if (i_26_ == 0) i_36_ = metrics.maxAscent + i_24_; + else if (i_26_ != 1) { + if (i_26_ != 2) { + int i_37_ = ((-(i_32_ * (i_34_ + -1)) + (i + (-metrics.maxAscent + -metrics.descent))) / (1 + i_34_)); + if (i_37_ < 0) i_37_ = 0; + i_32_ += i_37_; + i_36_ = metrics.maxAscent + (i_24_ - -i_37_); + } else i_36_ = (-metrics.descent + i + (i_24_ - (i_34_ + -1) * i_32_)); + } else i_36_ = ((-metrics.descent + (-metrics.maxAscent + i + -(i_32_ * (-1 + i_34_)))) / 2 + (metrics.maxAscent + i_24_)); + for (int i_38_ = 0; i_38_ < i_34_; i_38_++) { + if (i_29_ == 0) method2583(i_27_, i_36_, i_22_, class105s, var_aa, ClientErrorReporter.aStringArray2113[i_38_], is, 25625, i_28_); + else if (i_29_ == 1) method2583(i_27_, i_36_, i_22_, class105s, var_aa, ClientErrorReporter.aStringArray2113[i_38_], is, 25625, (-metrics.stringWidth(true, (ClientErrorReporter.aStringArray2113[i_38_])) + i_25_) / 2 + i_28_); + else if (i_29_ == 2) method2583(i_27_, i_36_, i_22_, class105s, var_aa, ClientErrorReporter.aStringArray2113[i_38_], is, 25625, (-metrics.stringWidth(true, (ClientErrorReporter.aStringArray2113[i_38_])) + (i_25_ + i_28_))); + else if (i_38_ != i_34_ - 1) { + method2580(ClientErrorReporter.aStringArray2113[i_38_], 0, i_25_); + method2583(i_27_, i_36_, i_22_, class105s, var_aa, ClientErrorReporter.aStringArray2113[i_38_], is, 25625, i_28_); + Component286.anInt1902 = 0; + } else method2583(i_27_, i_36_, i_22_, class105s, var_aa, ClientErrorReporter.aStringArray2113[i_38_], is, 25625, i_28_); + i_36_ += i_32_; + } + return i_34_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("da.W(" + (is != null ? "{...}" : "null") + ',' + i + ',' + i_21_ + ',' + (var_aa != null ? "{...}" : "null") + ',' + i_22_ + ',' + (class105s != null ? "{...}" : "null") + ',' + i_23_ + ',' + i_24_ + ',' + i_25_ + ',' + i_26_ + ',' + (string != null ? "{...}" : "null") + ',' + i_27_ + ',' + i_28_ + ',' + i_29_ + ',' + i_30_ + ',' + i_31_ + ',' + i_32_ + ')')); + } + } + + abstract void fa(char c, int i, int i_39_, int i_40_, boolean bool); + + /** + * Draw {@code string} right-aligned to {@code rightX}. + * + * @param string text + * @param y baseline Y + * @param colour ARGB (e.g. {@code -256} yellow, {@code -1} white) + * @param rightX right edge X — glyphs end here + * @param unused must be {@code <= -119} or the call no-ops + * @param shadow ARGB shadow (often {@code -1} or {@code -16777216}) + */ + final void drawTextRightAligned(String string, int y, int colour, int rightX, int unused, int shadow) { + anInt4052++; + if (unused >= -119) method2571(-128, -30, null, null, -107, -80, null, -6, -122, null); + if (string != null) { + method2579(shadow, 122, colour); + method2583(0, y, 0, null, null, string, null, 25625, -metrics.stringWidth(true, string) + rightX); + } + } + + static final DisplayModeManagerContainer57 method2570(int i, int i_45_) { + anInt4055++; + if (i != 1512932720) return null; + int i_46_ = i_45_ >> 16; + int i_47_ = i_45_ & 0xffff; + if (DefinitionSub33.aClass46ArrayArray9427[i_46_] == null || (DefinitionSub33.aClass46ArrayArray9427[i_46_][i_47_] == null)) { + boolean bool = Component233.method2547(i_46_, (byte) 84); + if (!bool) return null; + } + return DefinitionSub33.aClass46ArrayArray9427[i_46_][i_47_]; + } + + final int method2571(int i, int i_48_, int[] is, String string, int i_49_, int i_50_, Component24[] class105s, int i_51_, int i_52_, Random random) { + try { + anInt4047++; + if (string == null) return 0; + random.setSeed(i_48_); + int i_53_ = (random.nextInt() & 0x1f) + 192; + method2579(i_53_ << 24 | 0xffffff & i_50_, i ^ ~0x79, i_53_ << 24 | i_49_ & 0xffffff); + int i_54_ = string.length(); + if (i != -1) aClass138_4062 = null; + int[] is_55_ = new int[i_54_]; + int i_56_ = 0; + for (int i_57_ = 0; i_54_ > i_57_; i_57_++) { + is_55_[i_57_] = i_56_; + if ((0x3 & random.nextInt()) == 0) i_56_++; + } + method2566(class105s, null, i_52_, is, is_55_, i_51_, string, 174); + return i_56_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("da.BA(" + i + ',' + i_48_ + ',' + (is != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ',' + i_49_ + ',' + i_50_ + ',' + (class105s != null ? "{...}" : "null") + ',' + i_51_ + ',' + i_52_ + ',' + (random != null ? "{...}" : "null") + ')')); + } + } + + public static void method2572(byte i) { + aClass138_4062 = null; + if (i != 23) aClass138_4062 = null; + } + + private final void method2573(byte i, String string) { + anInt4046++; + try { + if (i <= -78) { + if (string.startsWith("col=")) HashNodeSub1.anInt9492 = (HashNodeSub1.anInt9492 & ~0xffffff | Component377.method450(-20188, string.substring(4), 16) & 0xffffff); + else if (string.equals("/col")) HashNodeSub1.anInt9492 = (HashNodeSub1.anInt9492 & ~0xffffff | 0xffffff & Component134.anInt5807); + if (string.startsWith("argb=")) HashNodeSub1.anInt9492 = Component377.method450(-20188, string.substring(5), 16); + else if (!string.equals("/argb")) { + if (!string.startsWith("str=")) { + if (string.equals("str")) Player.anInt10567 = (HashNodeSub1.anInt9492 & ~0xffffff | 0x800000); + else if (!string.equals("/str")) { + if (!string.startsWith("u=")) { + if (!string.equals("u")) { + if (!string.equals("/u")) { + if (!string.equalsIgnoreCase("shad=-1")) { + if (string.startsWith("shad=")) Component120.anInt320 = ((~0xffffff & (HashNodeSub1.anInt9492)) | (Component377.method450(-20188, string.substring(5), 16))); + else if (string.equals("shad")) Component120.anInt320 = (~0xffffff & (HashNodeSub1.anInt9492)); + else if (!string.equals("/shad")) { + if (string.equals("br")) method2579((DisplayModeManagerContainer346.anInt2061), 117, (Component134.anInt5807)); + } else Component120.anInt320 = DisplayModeManagerContainer346.anInt2061; + } else Component120.anInt320 = 0; + } else DefinitionSub2.anInt9101 = -1; + } else DefinitionSub2.anInt9101 = (HashNodeSub1.anInt9492 & ~0xffffff); + } else DefinitionSub2.anInt9101 = ((HashNodeSub1.anInt9492 & ~0xffffff) | Component377.method450(-20188, string.substring(2), 16)); + } else Player.anInt10567 = -1; + } else Player.anInt10567 = (HashNodeSub1.anInt9492 & ~0xffffff | Component377.method450(-20188, string.substring(4), 16)); + } else HashNodeSub1.anInt9492 = Component134.anInt5807; + } + } catch (Exception exception) { + /* empty */ + } + } + + final void method2574(int i, int i_58_, String string, int i_59_, int i_60_, int i_61_, boolean bool) { + anInt4059++; + if (string != null) { + method2579(i_60_, 108, i); + int i_62_ = string.length(); + int[] is = new int[i_62_]; + if (bool != false) toolkit = null; + for (int i_63_ = 0; i_63_ < i_62_; i_63_++) + is[i_63_] = (int) (5.0 * Math.sin((double) i_63_ / 2.0 + (double) i_61_ / 5.0)); + method2566(null, is, -(metrics.stringWidth(!bool, string) / 2) + i_59_, null, null, i_58_, string, 174); + } + } + + /** + * Draw {@code string} centred on {@code centreX} at baseline {@code y}. + *

+ * Args are easy to swap with {@link #drawText} — wrong order stacks glyphs. + * Prefer {@link #drawText} for left-aligned overlays. + * + * @param unused obfuscation pad (any byte; unused for control flow) + * @param centreX horizontal centre of the string + * @param colour ARGB + * @param string text + * @param shadow ARGB shadow + * @param y baseline Y + */ + final void drawTextCentred(byte unused, int centreX, int colour, String string, int shadow, int y) { + anInt4060++; + if (string != null) { + method2579(shadow, 115, colour); + method2583(0, y, 0, null, null, string, null, 25625, -(metrics.stringWidth(true, string) / 2) + centreX); + int i_68_ = 7 % ((66 - unused) / 44); + } + } + + /** + * Draw {@code string} left-aligned at {@code (x, y)}. + * Used by the developer console and {@code MicrobotPanel}. + * + * @param string text + * @param colour ARGB + * @param y baseline Y + * @param x left edge X + * @param shadow ARGB shadow + * @param pad must be {@code <= -108} or the call no-ops (obfuscation guard) + */ + final void drawText(String string, int colour, int y, int x, int shadow, int pad) { + if (pad <= -108) { + anInt4045++; + if (string != null) { + method2579(shadow, 110, colour); + method2583(0, y, 0, null, null, string, null, 25625, x); + } + } + } + + final void method2577(int i, int i_73_, String string, int i_74_, int i_75_, int i_76_, int i_77_, int i_78_) { + anInt4051++; + if (string != null) { + method2579(i_75_, -104, i_74_); + double d = 7.0 - (double) i_76_ / 8.0; + if (d < 0.0) d = 0.0; + int i_79_ = string.length(); + if (i_78_ != -20509) fa('\ufff3', -40, -44, -36, true); + int[] is = new int[i_79_]; + for (int i_80_ = 0; i_79_ > i_80_; i_80_++) + is[i_80_] = (int) (Math.sin((double) i + (double) i_80_ / 1.5) * d); + method2566(null, is, i_77_ + -(metrics.stringWidth(true, string) / 2), null, null, i_73_, string, 174); + } + } + + abstract void method2578(char c, int i, int i_81_, int i_82_, boolean bool, Shader var_aa, int i_83_, int i_84_); + + private final void method2579(int i, int i_85_, int i_86_) { + DefinitionSub2.anInt9101 = -1; + if (i == -1) i = 0; + HashNodeSub1.anInt9492 = Component134.anInt5807 = i_86_; + AbstractGlTexture.anInt4848 = 0; + Component286.anInt1902 = 0; + int i_87_ = -28 / ((56 - i_85_) / 49); + anInt4053++; + Player.anInt10567 = -1; + Component120.anInt320 = DisplayModeManagerContainer346.anInt2061 = i; + } + + private final void method2580(String string, int i, int i_88_) { + anInt4064++; + int i_89_ = 0; + boolean bool = false; + for (int i_90_ = i; i_90_ < string.length(); i_90_++) { + int i_91_ = string.charAt(i_90_); + if (i_91_ != 60) { + if (i_91_ == 62) bool = false; + else if (!bool && i_91_ == 32) i_89_++; + } else bool = true; + } + if (i_89_ > 0) Component286.anInt1902 = (-metrics.stringWidth(true, string) + i_88_ << 8) / i_89_; + } + + final void method2581(String string, int i, int i_92_, int i_93_, byte i_94_, int i_95_, int i_96_) { + anInt4049++; + if (string != null) { + method2579(i_95_, 117, i); + if (i_94_ > -12) metrics = null; + int i_97_ = string.length(); + int[] is = new int[i_97_]; + int[] is_98_ = new int[i_97_]; + for (int i_99_ = 0; i_97_ > i_99_; i_99_++) { + is[i_99_] = (int) (5.0 * Math.sin((double) i_92_ / 5.0 + (double) i_99_ / 5.0)); + is_98_[i_99_] = (int) (5.0 * Math.sin((double) i_99_ / 3.0 + (double) i_92_ / 5.0)); + } + method2566(null, is_98_, -(metrics.stringWidth(true, string) / 2) + i_96_, null, is, i_93_, string, 174); + } + } + + static final Component84 method2582(GlExtensionManager class377, DisplayModeManagerContainer271[] class39s, int i) { + try { + anInt4065++; + if (i != -2113) aClass138_4062 = null; + for (int i_100_ = 0; class39s.length > i_100_; i_100_++) { + if (class39s[i_100_] == null || class39s[i_100_].aLong517 <= 0) return null; + } + long l = OpenGL.glCreateProgramObjectARB(); + for (int i_101_ = 0; class39s.length > i_101_; i_101_++) + OpenGL.glAttachObjectARB(l, (class39s[i_101_].aLong517)); + OpenGL.glLinkProgramARB(l); + OpenGL.glGetObjectParameterivARB(l, 35714, DisplayModeManagerContainer159.anIntArray2744, 0); + if (DisplayModeManagerContainer159.anIntArray2744[0] == 0) { + if (DisplayModeManagerContainer159.anIntArray2744[0] == 0) System.out.println("aa linking failed:"); + OpenGL.glGetObjectParameterivARB(l, 35716, DisplayModeManagerContainer159.anIntArray2744, 1); + if (DisplayModeManagerContainer159.anIntArray2744[1] > 1) { + byte[] is = new byte[DisplayModeManagerContainer159.anIntArray2744[1]]; + OpenGL.glGetInfoLogARB(l, DisplayModeManagerContainer159.anIntArray2744[1], DisplayModeManagerContainer159.anIntArray2744, 0, is, 0); + System.out.println(new String(is)); + } + if (DisplayModeManagerContainer159.anIntArray2744[0] == 0) { + for (int i_102_ = 0; class39s.length > i_102_; i_102_++) + OpenGL.glDetachObjectARB(l, (class39s[i_102_].aLong517)); + OpenGL.glDeleteObjectARB(l); + return null; + } + } + return new Component84(class377, l, class39s); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("da.M(" + (class377 != null ? "{...}" : "null") + ',' + (class39s != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + private final void method2583(int i, int i_103_, int i_104_, Component24[] class105s, Shader var_aa, String string, int[] is, int i_105_, int i_106_) { + try { + i_103_ -= metrics.ascent; + anInt4061++; + int i_107_ = -1; + int i_108_ = -1; + int i_109_ = string.length(); + if (i_105_ == 25625) { + int i_110_ = 0; + for (/**/; i_110_ < i_109_; i_110_++) { + char c = (char) (Component160.method3464(string.charAt(i_110_), false) & 0xff); + if (c == 60) i_107_ = i_110_; + else { + if (c == 62 && i_107_ != -1) { + String string_111_ = string.substring(i_107_ - -1, i_110_); + i_107_ = -1; + if (string_111_.equals("lt")) c = '<'; + else if (string_111_.equals("gt")) c = '>'; + else if (!string_111_.equals("nbsp")) { + if (string_111_.equals("shy")) c = '\u00ad'; + else if (!string_111_.equals("times")) { + if (!string_111_.equals("euro")) { + if (string_111_.equals("copy")) c = '\u00a9'; + else if (string_111_.equals("reg")) c = '\u00ae'; + else { + if (string_111_.startsWith("img=")) { + try { + int i_112_ = (NodeSub41.parseInt(true, (string_111_.substring(4)))); + Component24 class105 = class105s[i_112_]; + int i_113_ = (is == null ? class105.method980() : is[i_112_]); + if (((HashNodeSub1.anInt9492) & ~0xffffff) != -16777216) class105.method964(i_106_, (-i_113_ + (metrics.ascent) + i_103_), 0, (0xffffff | (~0xffffff & (HashNodeSub1.anInt9492))), 1); + else class105.method964(i_106_, ((metrics.ascent) + (i_103_ - i_113_)), 1, 0, 1); + i_108_ = -1; + i_106_ += class105s[i_112_].method966(); + } catch (Exception exception) { + /* empty */ + } + } else method2573((byte) -118, string_111_); + continue; + } + } else c = '\u20ac'; + } else c = '\u00d7'; + } else c = '\u00a0'; + } + if (i_107_ == -1) { + if (i_108_ != -1) i_106_ += metrics.charKerning(i_108_, (byte) -90, c); + if (c != 32) { + if (var_aa == null) { + if ((Component120.anInt320 & ~0xffffff) != 0) fa(c, i_106_ + 1, 1 + i_103_, Component120.anInt320, true); + fa(c, i_106_, i_103_, HashNodeSub1.anInt9492, false); + } else { + if ((~0xffffff & Component120.anInt320) != 0) method2578(c, 1 + i_106_, i_103_ + 1, Component120.anInt320, true, var_aa, i_104_, i); + method2578(c, i_106_, i_103_, HashNodeSub1.anInt9492, false, var_aa, i_104_, i); + } + } else if (Component286.anInt1902 > 0) { + AbstractGlTexture.anInt4848 += Component286.anInt1902; + i_106_ += AbstractGlTexture.anInt4848 >> 8; + AbstractGlTexture.anInt4848 &= 0xff; + } + int i_114_ = metrics.charWidth((byte) -48, c); + if (Player.anInt10567 != -1) toolkit.method3649((byte) -119, i_114_, (int) ((double) metrics.ascent * 0.7) + i_103_, Player.anInt10567, i_106_); + if (DefinitionSub2.anInt9101 != -1) toolkit.method3649((byte) -114, i_114_, (metrics.ascent) + (i_103_ + 1), (DefinitionSub2.anInt9101), i_106_); + i_106_ += i_114_; + i_108_ = c; + } + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("da.AA(" + i + ',' + i_103_ + ',' + i_104_ + ',' + (class105s != null ? "{...}" : "null") + ',' + (var_aa != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ',' + i_105_ + ',' + i_106_ + ')')); + } + } + + BitmapFont(GraphicsToolkit var_ha, Component184 class143) { + try { + metrics = class143; + toolkit = var_ha; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("da.(" + (var_ha != null ? "{...}" : "null") + ',' + (class143 != null ? "{...}" : "null") + ')')); + } + } + + final int method2584(int[] is, int i, int i_115_, Component24[] class105s, int i_116_, int i_117_, int i_118_, Shader var_aa, int i_119_, int i_120_, int i_121_, int i_122_, int i_123_, boolean bool, int i_124_, String string) { + try { + if (bool != false) method2570(-23, 41); + anInt4057++; + return method2568(is, i_118_, (byte) 97, var_aa, i_120_, class105s, i_116_, i_119_, i_122_, i_117_, string, i_121_, i_123_, i_124_, i_115_, 0, i); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("da.J(" + (is != null ? "{...}" : "null") + ',' + i + ',' + i_115_ + ',' + (class105s != null ? "{...}" : "null") + ',' + i_116_ + ',' + i_117_ + ',' + i_118_ + ',' + (var_aa != null ? "{...}" : "null") + ',' + i_119_ + ',' + i_120_ + ',' + i_121_ + ',' + i_122_ + ',' + i_123_ + ',' + bool + ',' + i_124_ + ',' + (string != null ? "{...}" : "null") + ')')); + } + } + + final int method2585(int[] is, int i, Component24[] class105s, int i_125_, int i_126_, int i_127_, int i_128_, Random random, int i_129_, int i_130_, int i_131_, int i_132_, int i_133_, String string, int[] is_134_) { + try { + anInt4050++; + if (string == null) return 0; + random.setSeed(i_131_); + int i_135_ = (0x1f & random.nextInt()) + 192; + method2579(i_135_ << 24 | i_128_ & 0xffffff, -45, 0xffffff & i_126_ | i_135_ << 24); + int i_136_ = string.length(); + int[] is_137_ = new int[i_136_]; + int i_138_ = 0; + for (int i_139_ = 0; i_136_ > i_139_; i_139_++) { + is_137_[i_139_] = i_138_; + if ((0x3 & random.nextInt()) == 0) i_138_++; + } + int i_140_ = i_133_; + int i_141_ = metrics.maxAscent + i_130_; + int i_142_ = -1; + if (i_125_ == 1) i_141_ += (-metrics.maxAscent + i_127_ + -metrics.descent) / 2; + else if (i_125_ == 2) i_141_ = -metrics.descent + (i_127_ + i_130_); + if (i_132_ != -33) method2578('\ufffe', 83, -110, 26, true, null, 113, 97); + if (i_129_ == 1) { + i_142_ = metrics.stringWidth(true, string) + i_138_; + i_140_ += (i + -i_142_) / 2; + } else if (i_129_ == 2) { + i_142_ = metrics.stringWidth(true, string) - -i_138_; + i_140_ += -i_142_ + i; + } + method2566(class105s, null, i_140_, is, is_137_, i_141_, string, 174); + if (is_134_ != null) { + if (i_142_ == -1) i_142_ = metrics.stringWidth(true, string) - -i_138_; + is_134_[2] = i_142_; + is_134_[3] = (metrics.descent + metrics.maxAscent); + is_134_[0] = i_140_; + is_134_[1] = -metrics.maxAscent + i_141_; + } + return i_138_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("da.P(" + (is != null ? "{...}" : "null") + ',' + i + ',' + (class105s != null ? "{...}" : "null") + ',' + i_125_ + ',' + i_126_ + ',' + i_127_ + ',' + i_128_ + ',' + (random != null ? "{...}" : "null") + ',' + i_129_ + ',' + i_130_ + ',' + i_131_ + ',' + i_132_ + ',' + i_133_ + ',' + (string != null ? "{...}" : "null") + ',' + (is_134_ != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/fonts/FontGlyphCache.java b/client/fonts/FontGlyphCache.java new file mode 100644 index 000000000..30ef79cd6 --- /dev/null +++ b/client/fonts/FontGlyphCache.java @@ -0,0 +1,141 @@ +/* FontGlyphCache - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class323` (JODE-obfuscated). + * Font glyph texture cache. method2559(GraphicsToolkit,Font,FontMetrics,char,...) rasterizes a glyph into a texture (aClass105Array4042[i]=var_ha.method3662(...)); method2561 renders cached glyphs for a String. + */ + +import java.awt.*; +import java.awt.image.PixelGrabber; + +final class FontGlyphCache { + private boolean aBoolean4037 = false; + private static final int anInt4038 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!\"\u00a3$%^&*()-_=+[{]};:'@#~,<.>/?\\| \u00c4\u00cb\u00cf\u00d6\u00dc\u00e4\u00eb\u00ef\u00f6\u00fc\u00ff\u00df\u00c1\u00c0\u00c9\u00c8\u00cd\u00cc\u00d3\u00d2\u00da\u00d9\u00e1\u00e0\u00e9\u00e8\u00ed\u00ec\u00f3\u00f2\u00fa\u00f9\u00c2\u00ca\u00ce\u00d4\u00db\u00e2\u00ea\u00ee\u00f4\u00fb\u00c6\u00e6\u00e3\u00c3\u00f5\u00d5\u00e7\u00c7".length(); + private final int[] anIntArray4039; + private int anInt4040; + private int anInt4041; + private final Component24[] aClass105Array4042; + private static int[] anIntArray4043 = new int[256]; + private final int[] anIntArray4044 = new int[4]; + + private final void method2559(GraphicsToolkit var_ha, Font font, FontMetrics fontmetrics, char c, int i, boolean bool) { + int i_0_ = fontmetrics.charWidth(c); + int i_1_ = i_0_; + if (bool) { + try { + if (c == '/') bool = false; + if (c == 'f' || c == 't' || c == 'w' || c == 'v' || c == 'k' || c == 'x' || c == 'y' || c == 'A' || c == 'V' || c == 'W') i_0_++; + } catch (Exception exception) { + /* empty */ + } + } + int i_2_ = fontmetrics.getMaxAscent(); + int i_3_ = fontmetrics.getMaxAscent() + fontmetrics.getMaxDescent(); + int i_4_ = fontmetrics.getHeight(); + Image image = DisplayModeManagerContainer50.gameCanvas.createImage(i_0_, i_3_); + Graphics graphics = image.getGraphics(); + graphics.setColor(Color.black); + graphics.fillRect(0, 0, i_0_, i_3_); + graphics.setColor(Color.white); + graphics.setFont(font); + graphics.drawString(String.valueOf(c), 0, i_2_); + if (bool) graphics.drawString(String.valueOf(c), 1, i_2_); + int[] is = new int[i_0_ * i_3_]; + PixelGrabber pixelgrabber = new PixelGrabber(image, 0, 0, i_0_, i_3_, is, 0, i_0_); + try { + pixelgrabber.grabPixels(); + } catch (Exception exception) { + /* empty */ + } + image.flush(); + Object object = null; + int i_5_ = 0; + while_113_: + for (int i_6_ = 0; i_6_ < i_3_; i_6_++) { + for (int i_7_ = 0; i_7_ < i_0_; i_7_++) { + int i_8_ = is[i_7_ + i_6_ * i_0_]; + if ((i_8_ & 0xffffff) != 0) { + i_5_ = i_6_; + break while_113_; + } + } + } + for (int i_9_ = 0; i_9_ < is.length; i_9_++) { + if ((is[i_9_] & 0xffffff) == 0) is[i_9_] = 0; + } + anInt4041 = i_2_ - i_5_; + anInt4040 = i_4_; + anIntArray4039[i] = i_1_; + aClass105Array4042[i] = var_ha.method3662(i_0_, is, (byte) 94, 0, i_0_, i_3_); + } + + final int method2560() { + return anInt4041; + } + + private final void method2561(GraphicsToolkit var_ha, String string, int[] is, int i, int i_10_, int i_11_, boolean bool) { + if (i_11_ == 0) bool = false; + i_11_ |= ~0xffffff; + for (int i_12_ = 0; i_12_ < string.length(); i_12_++) { + int i_13_ = anIntArray4043[string.charAt(i_12_)]; + if (bool) aClass105Array4042[i_13_].method964(i + 1, i_10_ + 1, 0, -16777216, 1); + aClass105Array4042[i_13_].method964(i, i_10_, 0, i_11_, 1); + i += anIntArray4039[i_13_]; + } + } + + public static void method2562() { + anIntArray4043 = null; + } + + final void method2563(GraphicsToolkit var_ha, String string, int i, int i_14_, int i_15_, boolean bool) { + int i_16_ = method2564(string) / 2; + var_ha.K(anIntArray4044); + if (i - i_16_ <= anIntArray4044[2] && i + i_16_ >= anIntArray4044[0] && i_14_ - anInt4041 <= anIntArray4044[3] && i_14_ + anInt4040 >= anIntArray4044[1]) method2561(var_ha, string, anIntArray4044, i - i_16_, i_14_, i_15_, bool); + } + + final int method2564(String string) { + int i = 0; + for (int i_17_ = 0; i_17_ < string.length(); i_17_++) { + int i_18_ = anIntArray4043[string.charAt(i_17_)]; + i += anIntArray4039[i_18_]; + } + return i; + } + + final int method2565() { + return anInt4040 - 1; + } + + FontGlyphCache(GraphicsToolkit var_ha, int i, boolean bool, Component component) { + aBoolean4037 = false; + aClass105Array4042 = new Component24[256]; + anIntArray4039 = new int[256]; + Font font = new Font("Helvetica", bool ? 1 : 0, i); + FontMetrics fontmetrics = component.getFontMetrics(font); + for (int i_19_ = 0; i_19_ < anInt4038; i_19_++) + method2559(var_ha, font, fontmetrics, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!\"\u00a3$%^&*()-_=+[{]};:'@#~,<.>/?\\| \u00c4\u00cb\u00cf\u00d6\u00dc\u00e4\u00eb\u00ef\u00f6\u00fc\u00ff\u00df\u00c1\u00c0\u00c9\u00c8\u00cd\u00cc\u00d3\u00d2\u00da\u00d9\u00e1\u00e0\u00e9\u00e8\u00ed\u00ec\u00f3\u00f2\u00fa\u00f9\u00c2\u00ca\u00ce\u00d4\u00db\u00e2\u00ea\u00ee\u00f4\u00fb\u00c6\u00e6\u00e3\u00c3\u00f5\u00d5\u00e7\u00c7".charAt(i_19_), i_19_, false); + if (bool && aBoolean4037) { + aBoolean4037 = false; + font = new Font("Helvetica", 0, i); + fontmetrics = component.getFontMetrics(font); + for (int i_20_ = 0; i_20_ < anInt4038; i_20_++) + method2559(var_ha, font, fontmetrics, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!\"\u00a3$%^&*()-_=+[{]};:'@#~,<.>/?\\| \u00c4\u00cb\u00cf\u00d6\u00dc\u00e4\u00eb\u00ef\u00f6\u00fc\u00ff\u00df\u00c1\u00c0\u00c9\u00c8\u00cd\u00cc\u00d3\u00d2\u00da\u00d9\u00e1\u00e0\u00e9\u00e8\u00ed\u00ec\u00f3\u00f2\u00fa\u00f9\u00c2\u00ca\u00ce\u00d4\u00db\u00e2\u00ea\u00ee\u00f4\u00fb\u00c6\u00e6\u00e3\u00c3\u00f5\u00d5\u00e7\u00c7".charAt(i_20_), i_20_, false); + if (!aBoolean4037) { + aBoolean4037 = false; + for (int i_21_ = 0; i_21_ < anInt4038; i_21_++) + method2559(var_ha, font, fontmetrics, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!\"\u00a3$%^&*()-_=+[{]};:'@#~,<.>/?\\| \u00c4\u00cb\u00cf\u00d6\u00dc\u00e4\u00eb\u00ef\u00f6\u00fc\u00ff\u00df\u00c1\u00c0\u00c9\u00c8\u00cd\u00cc\u00d3\u00d2\u00da\u00d9\u00e1\u00e0\u00e9\u00e8\u00ed\u00ec\u00f3\u00f2\u00fa\u00f9\u00c2\u00ca\u00ce\u00d4\u00db\u00e2\u00ea\u00ee\u00f4\u00fb\u00c6\u00e6\u00e3\u00c3\u00f5\u00d5\u00e7\u00c7".charAt(i_21_), i_21_, true); + } + } + } + + static { + for (int i = 0; i < 256; i++) { + int i_22_ = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!\"\u00a3$%^&*()-_=+[{]};:'@#~,<.>/?\\| \u00c4\u00cb\u00cf\u00d6\u00dc\u00e4\u00eb\u00ef\u00f6\u00fc\u00ff\u00df\u00c1\u00c0\u00c9\u00c8\u00cd\u00cc\u00d3\u00d2\u00da\u00d9\u00e1\u00e0\u00e9\u00e8\u00ed\u00ec\u00f3\u00f2\u00fa\u00f9\u00c2\u00ca\u00ce\u00d4\u00db\u00e2\u00ea\u00ee\u00f4\u00fb\u00c6\u00e6\u00e3\u00c3\u00f5\u00d5\u00e7\u00c7".indexOf(i); + if (i_22_ == -1) i_22_ = 74; + anIntArray4043[i] = i_22_; + } + } +} diff --git a/client/fonts/JaclibBitmapFont.java b/client/fonts/JaclibBitmapFont.java new file mode 100644 index 000000000..494e2f573 --- /dev/null +++ b/client/fonts/JaclibBitmapFont.java @@ -0,0 +1,184 @@ +/* JaclibBitmapFont - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaclib.memory.Buffer; +import jaclib.memory.Stream; + +/** Jaclib / toolkit-3 ({@link GlToolkitSub3}) bitmap-font backend. */ +final class JaclibBitmapFont extends BitmapFont { + private final Interface18_Impl3 anInterface18_Impl3_6492; + private final boolean aBoolean6493; + private final GlToolkitSub3 aHa_Sub3_6494; + private final Interface5_Impl1 anInterface5_Impl1_6495; + + final void method2578(char c, int i, int i_0_, int i_1_, boolean bool, Shader var_aa, int i_2_, int i_3_) { + /* empty */ + } + + JaclibBitmapFont(GlToolkitSub3 var_ha_Sub3, Component184 class143, Component170[] class207s, boolean bool) { + super(var_ha_Sub3, class143); + aHa_Sub3_6494 = var_ha_Sub3; + int i = 0; + for (int i_4_ = 0; i_4_ < 256; i_4_++) { + Component170 class207 = class207s[i_4_]; + if (class207.anInt2696 > i) i = class207.anInt2696; + if (class207.anInt2702 > i) i = class207.anInt2702; + } + int i_5_ = i * 16; + if (bool) { + byte[] is = new byte[i_5_ * i_5_]; + for (int i_6_ = 0; i_6_ < 256; i_6_++) { + Component170 class207 = class207s[i_6_]; + int i_7_ = class207.anInt2696; + int i_8_ = class207.anInt2702; + int i_9_ = i_6_ % 16 * i; + int i_10_ = i_6_ / 16 * i; + int i_11_ = i_10_ * i_5_ + i_9_; + int i_12_ = 0; + if (class207.aByteArray2695 == null) { + byte[] is_13_ = class207.aByteArray2699; + for (int i_14_ = 0; i_14_ < i_7_; i_14_++) { + for (int i_15_ = 0; i_15_ < i_8_; i_15_++) + is[i_11_++] = (byte) (is_13_[i_12_++] == 0 ? 0 : -1); + i_11_ += i_5_ - i_8_; + } + } else { + byte[] is_16_ = class207.aByteArray2695; + for (int i_17_ = 0; i_17_ < i_7_; i_17_++) { + for (int i_18_ = 0; i_18_ < i_8_; i_18_++) + is[i_11_++] = is_16_[i_12_++]; + i_11_ += i_5_ - i_8_; + } + } + } + if (!var_ha_Sub3.method3880(Component342.aClass68_1183, DefinitionSub38.aClass304_9471, (byte) 126)) { + int[] is_19_ = new int[is.length]; + for (int i_20_ = 0; i_20_ < is.length; i_20_++) + is_19_[i_20_] = is[i_20_] << 24; + anInterface18_Impl3_6492 = var_ha_Sub3.method3839(i_5_, i_5_, -15137, false, is_19_); + } else anInterface18_Impl3_6492 = var_ha_Sub3.method3944(is, i_5_, (DefinitionSub38.aClass304_9471), 2, false, i_5_); + aBoolean6493 = true; + } else { + int[] is = new int[i_5_ * i_5_]; + for (int i_21_ = 0; i_21_ < 256; i_21_++) { + Component170 class207 = class207s[i_21_]; + int[] is_22_ = class207.anIntArray2697; + byte[] is_23_ = class207.aByteArray2695; + byte[] is_24_ = class207.aByteArray2699; + int i_25_ = class207.anInt2696; + int i_26_ = class207.anInt2702; + int i_27_ = i_21_ % 16 * i; + int i_28_ = i_21_ / 16 * i; + int i_29_ = i_28_ * i_5_ + i_27_; + int i_30_ = 0; + if (is_23_ == null) { + for (int i_33_ = 0; i_33_ < i_25_; i_33_++) { + for (int i_34_ = 0; i_34_ < i_26_; i_34_++) { + int i_35_; + if ((i_35_ = is_24_[i_30_++]) != 0) is[i_29_++] = ~0xffffff | is_22_[i_35_ & 0xff]; + else i_29_++; + } + i_29_ += i_5_ - i_26_; + } + } else { + for (int i_31_ = 0; i_31_ < i_25_; i_31_++) { + for (int i_32_ = 0; i_32_ < i_26_; i_32_++) { + is[i_29_++] = (is_23_[i_30_] << 24 | is_22_[is_24_[i_30_] & 0xff]); + i_30_++; + } + i_29_ += i_5_ - i_26_; + } + } + } + anInterface18_Impl3_6492 = var_ha_Sub3.method3839(i_5_, i_5_, -15137, false, is); + aBoolean6493 = false; + } + anInterface18_Impl3_6492.method64(DisplayModeManagerContainer105.aClass209_4874, -22095); + anInterface5_Impl1_6495 = var_ha_Sub3.method3889(false, 16711680); + anInterface5_Impl1_6495.method20(20480, (byte) 126, 20); + for (int i_36_ = 0; i_36_ < 4; i_36_++) { + Buffer buffer = anInterface5_Impl1_6495.method19(true, 26775); + if (buffer != null) { + Stream stream = aHa_Sub3_6494.method3893(buffer, 9179); + float f = (anInterface18_Impl3_6492.method67((float) i_5_, 96) / (float) i_5_); + float f_37_ = (anInterface18_Impl3_6492.method71((byte) -45, (float) i_5_) / (float) i_5_); + for (int i_38_ = 0; i_38_ < 256; i_38_++) { + Component170 class207 = class207s[i_38_]; + int i_39_ = class207.anInt2696; + int i_40_ = class207.anInt2702; + int i_41_ = class207.anInt2700; + int i_42_ = class207.anInt2703; + float f_43_ = (float) (i_38_ % 16 * i); + float f_44_ = (float) (i_38_ / 16 * i); + float f_45_ = f_43_ * f; + float f_46_ = f_44_ * f_37_; + float f_47_ = (f_43_ + (float) i_40_) * f; + float f_48_ = (f_44_ + (float) i_39_) * f_37_; + if (Stream.c()) { + stream.a((float) i_42_); + stream.a((float) i_41_); + stream.a(0.0F); + stream.a(f_45_); + stream.a(f_46_); + stream.a((float) i_42_); + stream.a((float) (i_41_ + i_39_)); + stream.a(0.0F); + stream.a(f_45_); + stream.a(f_48_); + stream.a((float) (i_42_ + i_40_)); + stream.a((float) (i_41_ + i_39_)); + stream.a(0.0F); + stream.a(f_47_); + stream.a(f_48_); + stream.a((float) (i_42_ + i_40_)); + stream.a((float) i_41_); + stream.a(0.0F); + stream.a(f_47_); + stream.a(f_46_); + } else { + stream.b((float) i_42_); + stream.b((float) i_41_); + stream.b(0.0F); + stream.b(f_45_); + stream.b(f_46_); + stream.b((float) i_42_); + stream.b((float) (i_41_ + i_39_)); + stream.b(0.0F); + stream.b(f_45_); + stream.b(f_48_); + stream.b((float) (i_42_ + i_40_)); + stream.b((float) (i_41_ + i_39_)); + stream.b(0.0F); + stream.b(f_47_); + stream.b(f_48_); + stream.b((float) (i_42_ + i_40_)); + stream.b((float) i_41_); + stream.b(0.0F); + stream.b(f_47_); + stream.b(f_46_); + } + } + stream.a(); + if (anInterface5_Impl1_6495.method18(6331)) break; + } + } + } + + final void fa(char c, int i, int i_49_, int i_50_, boolean bool) { + aHa_Sub3_6494.method3927(true); + aHa_Sub3_6494.method3850((byte) -41, anInterface18_Impl3_6492); + if (aBoolean6493 || bool) { + aHa_Sub3_6494.method3874(Component385.aClass229_2207, 112, ShaderCompilerSub3.aClass229_6519); + aHa_Sub3_6494.method3849((byte) 47, 0, DefinitionSub39.aClass70_9485); + aHa_Sub3_6494.method3894(-28186, i_50_); + } else aHa_Sub3_6494.method3874(ShaderCompilerSub3.aClass229_6519, 126, ShaderCompilerSub3.aClass229_6519); + MatrixSub2 class101_sub2 = aHa_Sub3_6494.method3934(-99); + class101_sub2.method894(i, i_49_, 0); + aHa_Sub3_6494.method3915(0); + aHa_Sub3_6494.method3925(54, anInterface5_Impl1_6495, 0); + aHa_Sub3_6494.method3862(0, aHa_Sub3_6494.aClass130_8204); + aHa_Sub3_6494.method3899(2, c * '\004', HashNodeSub16.aClass21_9661, true); + if (aBoolean6493 || bool) aHa_Sub3_6494.method3849((byte) 47, 0, DisplayModeManagerContainer173.aClass70_4247); + } +} diff --git a/client/fonts/OpenGLBitmapFont.java b/client/fonts/OpenGLBitmapFont.java new file mode 100644 index 000000000..b9bbd5524 --- /dev/null +++ b/client/fonts/OpenGLBitmapFont.java @@ -0,0 +1,165 @@ +/* OpenGLBitmapFont - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaggl.OpenGL; + +/** OpenGL ({@link GlToolkitSub2} / jaggl) bitmap-font backend. */ +final class OpenGLBitmapFont extends BitmapFont { + private final GlToolkitSub2 aHa_Sub2_6509; + private final Component128 aClass61_6510; + private final GlRectangleTexture aClass258_Sub3_Sub1_6511; + private final boolean aBoolean6512; + + OpenGLBitmapFont(GlToolkitSub2 var_ha_Sub2, Component184 class143, Component170[] class207s, boolean bool) { + super(var_ha_Sub2, class143); + aHa_Sub2_6509 = var_ha_Sub2; + int i = 0; + for (int i_0_ = 0; i_0_ < 256; i_0_++) { + Component170 class207 = class207s[i_0_]; + if (class207.anInt2696 > i) i = class207.anInt2696; + if (class207.anInt2702 > i) i = class207.anInt2702; + } + int i_1_ = i * 16; + if (bool) { + byte[] is = new byte[i_1_ * i_1_]; + for (int i_2_ = 0; i_2_ < 256; i_2_++) { + Component170 class207 = class207s[i_2_]; + int i_3_ = class207.anInt2696; + int i_4_ = class207.anInt2702; + int i_5_ = i_2_ % 16 * i; + int i_6_ = i_2_ / 16 * i; + int i_7_ = i_6_ * i_1_ + i_5_; + int i_8_ = 0; + if (class207.aByteArray2695 == null) { + byte[] is_9_ = class207.aByteArray2699; + for (int i_10_ = 0; i_10_ < i_3_; i_10_++) { + for (int i_11_ = 0; i_11_ < i_4_; i_11_++) + is[i_7_++] = (byte) (is_9_[i_8_++] == 0 ? 0 : -1); + i_7_ += i_1_ - i_4_; + } + } else { + byte[] is_12_ = class207.aByteArray2695; + for (int i_13_ = 0; i_13_ < i_3_; i_13_++) { + for (int i_14_ = 0; i_14_ < i_4_; i_14_++) + is[i_7_++] = is_12_[i_8_++]; + i_7_ += i_1_ - i_4_; + } + } + } + aClass258_Sub3_Sub1_6511 = Component307.method3583(false, is, 6406, i_1_, var_ha_Sub2, -86, 6406, i_1_); + aBoolean6512 = true; + } else { + int[] is = new int[i_1_ * i_1_]; + for (int i_15_ = 0; i_15_ < 256; i_15_++) { + Component170 class207 = class207s[i_15_]; + int[] is_16_ = class207.anIntArray2697; + byte[] is_17_ = class207.aByteArray2695; + byte[] is_18_ = class207.aByteArray2699; + int i_19_ = class207.anInt2696; + int i_20_ = class207.anInt2702; + int i_21_ = i_15_ % 16 * i; + int i_22_ = i_15_ / 16 * i; + int i_23_ = i_22_ * i_1_ + i_21_; + int i_24_ = 0; + if (is_17_ == null) { + for (int i_27_ = 0; i_27_ < i_19_; i_27_++) { + for (int i_28_ = 0; i_28_ < i_20_; i_28_++) { + int i_29_; + if ((i_29_ = is_18_[i_24_++]) != 0) is[i_23_++] = ~0xffffff | is_16_[i_29_ & 0xff]; + else i_23_++; + } + i_23_ += i_1_ - i_20_; + } + } else { + for (int i_25_ = 0; i_25_ < i_19_; i_25_++) { + for (int i_26_ = 0; i_26_ < i_20_; i_26_++) { + is[i_23_++] = (is_17_[i_24_] << 24 | is_16_[is_18_[i_24_] & 0xff]); + i_24_++; + } + i_23_ += i_1_ - i_20_; + } + } + } + aClass258_Sub3_Sub1_6511 = DefinitionSub32.method3132(is, 0, 0, i_1_, i_1_, var_ha_Sub2, false, (byte) 12); + aBoolean6512 = false; + } + aClass258_Sub3_Sub1_6511.method1957(9728, false); + aClass61_6510 = new Component128(var_ha_Sub2, 256); + float f = (aClass258_Sub3_Sub1_6511.aFloat9937 / (float) (aClass258_Sub3_Sub1_6511.anInt9940)); + float f_30_ = (aClass258_Sub3_Sub1_6511.aFloat9938 / (float) (aClass258_Sub3_Sub1_6511.anInt9939)); + for (int i_31_ = 0; i_31_ < 256; i_31_++) { + Component170 class207 = class207s[i_31_]; + int i_32_ = class207.anInt2696; + int i_33_ = class207.anInt2702; + int i_34_ = class207.anInt2700; + int i_35_ = class207.anInt2703; + float f_36_ = (float) (i_31_ % 16 * i); + float f_37_ = (float) (i_31_ / 16 * i); + float f_38_ = f_36_ * f; + float f_39_ = f_37_ * f_30_; + float f_40_ = (f_36_ + (float) i_33_) * f; + float f_41_ = (f_37_ + (float) i_32_) * f_30_; + aClass61_6510.beginDisplayList((byte) 123, i_31_); + OpenGL.glBegin(7); + OpenGL.glTexCoord2f(f_38_, aClass258_Sub3_Sub1_6511.aFloat9938 - f_39_); + OpenGL.glVertex2i(i_35_, i_34_); + OpenGL.glTexCoord2f(f_38_, aClass258_Sub3_Sub1_6511.aFloat9938 - f_41_); + OpenGL.glVertex2i(i_35_, i_34_ + i_32_); + OpenGL.glTexCoord2f(f_40_, aClass258_Sub3_Sub1_6511.aFloat9938 - f_41_); + OpenGL.glVertex2i(i_35_ + i_33_, i_34_ + i_32_); + OpenGL.glTexCoord2f(f_40_, aClass258_Sub3_Sub1_6511.aFloat9938 - f_39_); + OpenGL.glVertex2i(i_35_ + i_33_, i_34_); + OpenGL.glEnd(); + aClass61_6510.endDisplayList(-1); + } + } + + final void method2578(char c, int i, int i_42_, int i_43_, boolean bool, Shader var_aa, int i_44_, int i_45_) { + ShaderSub1 var_aa_Sub1 = (ShaderSub1) var_aa; + GlRectangleTexture class258_sub3_sub1 = var_aa_Sub1.aClass258_Sub3_Sub1_5193; + aHa_Sub2_6509.method3735(9473); + aHa_Sub2_6509.method3771((byte) -109, aClass258_Sub3_Sub1_6511); + if (aBoolean6512 || bool) { + aHa_Sub2_6509.method3729(7681, (byte) -38, 8448); + aHa_Sub2_6509.method3762(34168, 768, (byte) -87, 0); + } else aHa_Sub2_6509.method3729(7681, (byte) -55, 7681); + aHa_Sub2_6509.method3738(-15039, 1); + aHa_Sub2_6509.method3771((byte) -127, class258_sub3_sub1); + aHa_Sub2_6509.method3729(7681, (byte) 97, 8448); + aHa_Sub2_6509.method3762(34168, 768, (byte) -87, 0); + OpenGL.glTexGeni(8192, 9472, 9216); + OpenGL.glTexGeni(8193, 9472, 9216); + float f = (class258_sub3_sub1.aFloat9937 / (float) class258_sub3_sub1.anInt9940); + float f_46_ = (class258_sub3_sub1.aFloat9938 / (float) class258_sub3_sub1.anInt9939); + OpenGL.glTexGenfv(8192, 9474, new float[]{f, 0.0F, 0.0F, (float) -i_44_ * f}, 0); + OpenGL.glTexGenfv(8193, 9474, new float[]{0.0F, f_46_, 0.0F, (float) -i_45_ * f_46_}, 0); + OpenGL.glEnable(3168); + OpenGL.glEnable(3169); + OpenGL.glColor4ub((byte) (i_43_ >> 16), (byte) (i_43_ >> 8), (byte) i_43_, (byte) (i_43_ >> 24)); + OpenGL.glTranslatef((float) i, (float) i_42_, 0.0F); + aClass61_6510.callDisplayList(c, 28666); + OpenGL.glLoadIdentity(); + OpenGL.glDisable(3168); + OpenGL.glDisable(3169); + aHa_Sub2_6509.method3762(5890, 768, (byte) -87, 0); + aHa_Sub2_6509.method3729(8448, (byte) -96, 8448); + aHa_Sub2_6509.method3771((byte) -91, null); + aHa_Sub2_6509.method3738(-15039, 0); + if (aBoolean6512 || bool) aHa_Sub2_6509.method3762(5890, 768, (byte) -87, 0); + } + + final void fa(char c, int i, int i_47_, int i_48_, boolean bool) { + aHa_Sub2_6509.method3735(9473); + aHa_Sub2_6509.method3771((byte) -96, aClass258_Sub3_Sub1_6511); + if (aBoolean6512 || bool) { + aHa_Sub2_6509.method3729(7681, (byte) 117, 8448); + aHa_Sub2_6509.method3762(34168, 768, (byte) -87, 0); + } else aHa_Sub2_6509.method3729(7681, (byte) 117, 7681); + OpenGL.glColor4ub((byte) (i_48_ >> 16), (byte) (i_48_ >> 8), (byte) i_48_, (byte) (i_48_ >> 24)); + OpenGL.glTranslatef((float) i, (float) i_47_, 0.0F); + aClass61_6510.callDisplayList(c, 28666); + OpenGL.glLoadIdentity(); + if (aBoolean6512 || bool) aHa_Sub2_6509.method3762(5890, 768, (byte) -87, 0); + } +} diff --git a/client/fonts/SoftwareBitmapFont.java b/client/fonts/SoftwareBitmapFont.java new file mode 100644 index 000000000..61c125e0b --- /dev/null +++ b/client/fonts/SoftwareBitmapFont.java @@ -0,0 +1,246 @@ +/* SoftwareBitmapFont - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** Software ({@link GlToolkitSub1}) bitmap-font backend. */ +final class SoftwareBitmapFont extends BitmapFont { + private final GlToolkitSub1 aHa_Sub1_6486; + private final int[] anIntArray6487; + private final int[] anIntArray6488; + private final int[] anIntArray6489; + private final byte[][] aByteArrayArray6490; + private final int[] anIntArray6491; + + final void fa(char c, int i, int i_0_, int i_1_, boolean bool) { + i += anIntArray6491[c]; + i_0_ += anIntArray6487[c]; + int i_2_ = anIntArray6489[c]; + int i_3_ = anIntArray6488[c]; + int i_4_ = aHa_Sub1_6486.anInt7477; + int i_5_ = i + i_0_ * i_4_; + int i_6_ = i_4_ - i_2_; + int i_7_ = 0; + int i_8_ = 0; + if (i_0_ < aHa_Sub1_6486.anInt7476) { + int i_9_ = aHa_Sub1_6486.anInt7476 - i_0_; + i_3_ -= i_9_; + i_0_ = aHa_Sub1_6486.anInt7476; + i_8_ += i_9_ * i_2_; + i_5_ += i_9_ * i_4_; + } + if (i_0_ + i_3_ > aHa_Sub1_6486.anInt7503) i_3_ -= i_0_ + i_3_ - aHa_Sub1_6486.anInt7503; + if (i < aHa_Sub1_6486.anInt7496) { + int i_10_ = aHa_Sub1_6486.anInt7496 - i; + i_2_ -= i_10_; + i = aHa_Sub1_6486.anInt7496; + i_8_ += i_10_; + i_5_ += i_10_; + i_7_ += i_10_; + i_6_ += i_10_; + } + if (i + i_2_ > aHa_Sub1_6486.anInt7507) { + int i_11_ = i + i_2_ - aHa_Sub1_6486.anInt7507; + i_2_ -= i_11_; + i_7_ += i_11_; + i_6_ += i_11_; + } + if (i_2_ > 0 && i_3_ > 0) { + if ((i_1_ & ~0xffffff) == -16777216) method2588(aByteArrayArray6490[c], aHa_Sub1_6486.anIntArray7483, i_1_, i_8_, i_5_, i_2_, i_3_, i_6_, i_7_); + else if ((i_1_ & ~0xffffff) != 0) method2586(aByteArrayArray6490[c], aHa_Sub1_6486.anIntArray7483, i_1_, i_8_, i_5_, i_2_, i_3_, i_6_, i_7_); + } + } + + private final void method2586(byte[] is, int[] is_12_, int i, int i_13_, int i_14_, int i_15_, int i_16_, int i_17_, int i_18_) { + int i_19_ = i >>> 24; + int i_20_ = 255 - i_19_; + for (int i_21_ = -i_16_; i_21_ < 0; i_21_++) { + for (int i_22_ = -i_15_; i_22_ < 0; i_22_++) { + if (is[i_13_++] != 0) { + int i_23_ = ((((i & 0xff00ff) * i_19_ & ~0xff00ff) + ((i & 0xff00) * i_19_ & 0xff0000)) >> 8); + int i_24_ = is_12_[i_14_]; + is_12_[i_14_++] = ((((i_24_ & 0xff00ff) * i_20_ & ~0xff00ff) + ((i_24_ & 0xff00) * i_20_ & 0xff0000)) >> 8) + i_23_; + } else i_14_++; + } + i_14_ += i_17_; + i_13_ += i_18_; + } + } + + private final void method2587(byte[] is, int[] is_25_, int i, int i_26_, int i_27_, int i_28_, int i_29_, int i_30_, int i_31_, int i_32_, int i_33_, int i_34_, Shader var_aa, int i_35_, int i_36_) { + ShaderSub3 var_aa_Sub3 = (ShaderSub3) var_aa; + int[] is_37_ = var_aa_Sub3.anIntArray5201; + int[] is_38_ = var_aa_Sub3.anIntArray5202; + int i_39_ = i_33_; + if (i_36_ > i_39_) { + i_39_ = i_36_; + i_27_ += (i_36_ - i_33_) * aHa_Sub1_6486.anInt7477; + i_26_ += (i_36_ - i_33_) * i_34_; + } + int i_40_ = (Math.min(i_36_ + is_37_.length, i_33_ + i_29_)); + for (int i_41_ = i_39_; i_41_ < i_40_; i_41_++) { + int i_42_ = i_35_ + is_37_[i_41_ - i_36_]; + int i_43_ = is_38_[i_41_ - i_36_]; + int i_44_ = i_28_; + if (i_32_ > i_42_) { + int i_45_ = i_32_ - i_42_; + if (i_45_ >= i_43_) { + i_26_ += i_28_ + i_31_; + i_27_ += i_28_ + i_30_; + continue; + } + i_43_ -= i_45_; + } else { + int i_46_ = i_42_ - i_32_; + if (i_46_ >= i_28_) { + i_26_ += i_28_ + i_31_; + i_27_ += i_28_ + i_30_; + continue; + } + i_26_ += i_46_; + i_44_ -= i_46_; + i_27_ += i_46_; + } + int i_47_ = 0; + if (i_44_ < i_43_) i_43_ = i_44_; + else i_47_ = i_44_ - i_43_; + for (int i_48_ = 0; i_48_ < i_43_; i_48_++) { + if (is[i_26_++] != 0) is_25_[i_27_++] = i; + else i_27_++; + } + i_26_ += i_47_ + i_31_; + i_27_ += i_47_ + i_30_; + } + } + + private final void method2588(byte[] is, int[] is_49_, int i, int i_50_, int i_51_, int i_52_, int i_53_, int i_54_, int i_55_) { + int i_56_ = -(i_52_ >> 2); + i_52_ = -(i_52_ & 0x3); + for (int i_57_ = -i_53_; i_57_ < 0; i_57_++) { + for (int i_58_ = i_56_; i_58_ < 0; i_58_++) { + if (is[i_50_++] != 0) is_49_[i_51_++] = i; + else i_51_++; + if (is[i_50_++] != 0) is_49_[i_51_++] = i; + else i_51_++; + if (is[i_50_++] != 0) is_49_[i_51_++] = i; + else i_51_++; + if (is[i_50_++] != 0) is_49_[i_51_++] = i; + else i_51_++; + } + for (int i_59_ = i_52_; i_59_ < 0; i_59_++) { + if (is[i_50_++] != 0) is_49_[i_51_++] = i; + else i_51_++; + } + i_51_ += i_54_; + i_50_ += i_55_; + } + } + + final void method2578(char c, int i, int i_60_, int i_61_, boolean bool, Shader var_aa, int i_62_, int i_63_) { + if (var_aa == null) fa(c, i, i_60_, i_61_, bool); + else { + i += anIntArray6491[c]; + i_60_ += anIntArray6487[c]; + int i_64_ = anIntArray6489[c]; + int i_65_ = anIntArray6488[c]; + int i_66_ = aHa_Sub1_6486.anInt7477; + int i_67_ = i + i_60_ * i_66_; + int i_68_ = i_66_ - i_64_; + int i_69_ = 0; + int i_70_ = 0; + if (i_60_ < aHa_Sub1_6486.anInt7476) { + int i_71_ = aHa_Sub1_6486.anInt7476 - i_60_; + i_65_ -= i_71_; + i_60_ = aHa_Sub1_6486.anInt7476; + i_70_ += i_71_ * i_64_; + i_67_ += i_71_ * i_66_; + } + if (i_60_ + i_65_ > aHa_Sub1_6486.anInt7503) i_65_ -= i_60_ + i_65_ - aHa_Sub1_6486.anInt7503; + if (i < aHa_Sub1_6486.anInt7496) { + int i_72_ = aHa_Sub1_6486.anInt7496 - i; + i_64_ -= i_72_; + i = aHa_Sub1_6486.anInt7496; + i_70_ += i_72_; + i_67_ += i_72_; + i_69_ += i_72_; + i_68_ += i_72_; + } + if (i + i_64_ > aHa_Sub1_6486.anInt7507) { + int i_73_ = i + i_64_ - aHa_Sub1_6486.anInt7507; + i_64_ -= i_73_; + i_69_ += i_73_; + i_68_ += i_73_; + } + if (i_64_ > 0 && i_65_ > 0) { + if ((i_61_ & ~0xffffff) == -16777216) method2587(aByteArrayArray6490[c], aHa_Sub1_6486.anIntArray7483, i_61_, i_70_, i_67_, i_64_, i_65_, i_68_, i_69_, i, i_60_, anIntArray6489[c], var_aa, i_62_, i_63_); + else method2589(aByteArrayArray6490[c], aHa_Sub1_6486.anIntArray7483, i_61_, i_70_, i_67_, i_64_, i_65_, i_68_, i_69_, i, i_60_, anIntArray6489[c], var_aa, i_62_, i_63_); + } + } + } + + private final void method2589(byte[] is, int[] is_74_, int i, int i_75_, int i_76_, int i_77_, int i_78_, int i_79_, int i_80_, int i_81_, int i_82_, int i_83_, Shader var_aa, int i_84_, int i_85_) { + ShaderSub3 var_aa_Sub3 = (ShaderSub3) var_aa; + int[] is_86_ = var_aa_Sub3.anIntArray5201; + int[] is_87_ = var_aa_Sub3.anIntArray5202; + int i_88_ = i_81_ - aHa_Sub1_6486.anInt7496; + int i_89_ = i_82_; + if (i_85_ > i_89_) { + i_89_ = i_85_; + i_76_ += (i_85_ - i_82_) * aHa_Sub1_6486.anInt7477; + i_75_ += (i_85_ - i_82_) * i_83_; + } + int i_90_ = (Math.min(i_85_ + is_86_.length, i_82_ + i_78_)); + int i_91_ = i >>> 24; + int i_92_ = 255 - i_91_; + for (int i_93_ = i_89_; i_93_ < i_90_; i_93_++) { + int i_94_ = is_86_[i_93_ - i_85_] + i_84_; + int i_95_ = is_87_[i_93_ - i_85_]; + int i_96_ = i_77_; + if (i_88_ > i_94_) { + int i_97_ = i_88_ - i_94_; + if (i_97_ >= i_95_) { + i_75_ += i_77_ + i_80_; + i_76_ += i_77_ + i_79_; + continue; + } + i_95_ -= i_97_; + } else { + int i_98_ = i_94_ - i_88_; + if (i_98_ >= i_77_) { + i_75_ += i_77_ + i_80_; + i_76_ += i_77_ + i_79_; + continue; + } + i_75_ += i_98_; + i_96_ -= i_98_; + i_76_ += i_98_; + } + int i_99_ = 0; + if (i_96_ < i_95_) i_95_ = i_96_; + else i_99_ = i_96_ - i_95_; + for (int i_100_ = -i_95_; i_100_ < 0; i_100_++) { + if (is[i_75_++] != 0) { + int i_101_ = ((((i & 0xff00ff) * i_91_ & ~0xff00ff) + ((i & 0xff00) * i_91_ & 0xff0000)) >> 8); + int i_102_ = is_74_[i_76_]; + is_74_[i_76_++] = ((((i_102_ & 0xff00ff) * i_92_ & ~0xff00ff) + ((i_102_ & 0xff00) * i_92_ & 0xff0000)) >> 8) + i_101_; + } else i_76_++; + } + i_75_ += i_99_ + i_80_; + i_76_ += i_99_ + i_79_; + } + } + + SoftwareBitmapFont(GlToolkitSub1 var_ha_Sub1, Component184 class143, Component170[] class207s, int[] is, int[] is_103_) { + super(var_ha_Sub1, class143); + aHa_Sub1_6486 = var_ha_Sub1; + anIntArray6489 = is; + anIntArray6488 = is_103_; + aByteArrayArray6490 = new byte[class207s.length][]; + anIntArray6487 = new int[class207s.length]; + anIntArray6491 = new int[class207s.length]; + for (int i = 0; i < class207s.length; i++) { + aByteArrayArray6490[i] = class207s[i].aByteArray2699; + anIntArray6487[i] = class207s[i].anInt2700; + anIntArray6491[i] = class207s[i].anInt2703; + } + } +} diff --git a/client/fonts/SoftwareBitmapFont2.java b/client/fonts/SoftwareBitmapFont2.java new file mode 100644 index 000000000..b6fe287a8 --- /dev/null +++ b/client/fonts/SoftwareBitmapFont2.java @@ -0,0 +1,257 @@ +/* SoftwareBitmapFont2 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** Software ({@link GlToolkitSub1}) bitmap-font backend (variant). */ +final class SoftwareBitmapFont2 extends BitmapFont { + private final int[] anIntArray6496; + private final int[] anIntArray6497; + private final int[] anIntArray6498; + private GlToolkitSub1 aHa_Sub1_6499; + private final int[] anIntArray6500; + private final int[] anIntArray6501; + private final byte[][] aByteArrayArray6502; + + private final void method2590(byte[] is, int[] is_0_, int i, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_) { + int i_7_ = -(i_3_ >> 2); + i_3_ = -(i_3_ & 0x3); + for (int i_8_ = -i_4_; i_8_ < 0; i_8_++) { + for (int i_9_ = i_7_; i_9_ < 0; i_9_++) { + if (is[i_1_++] != 0) is_0_[i_2_++] = i; + else i_2_++; + if (is[i_1_++] != 0) is_0_[i_2_++] = i; + else i_2_++; + if (is[i_1_++] != 0) is_0_[i_2_++] = i; + else i_2_++; + if (is[i_1_++] != 0) is_0_[i_2_++] = i; + else i_2_++; + } + for (int i_10_ = i_3_; i_10_ < 0; i_10_++) { + if (is[i_1_++] != 0) is_0_[i_2_++] = i; + else i_2_++; + } + i_2_ += i_5_; + i_1_ += i_6_; + } + } + + private final void method2591(byte[] is, int[] is_11_, int[] is_12_, int i, int i_13_, int i_14_, int i_15_, int i_16_, int i_17_) { + int i_18_ = -(i_14_ >> 2); + i_14_ = -(i_14_ & 0x3); + boolean bool = false; + for (int i_19_ = -i_15_; i_19_ < 0; i_19_++) { + for (int i_20_ = i_18_; i_20_ < 0; i_20_++) { + int i_21_; + if ((i_21_ = is[i++]) != 0) is_11_[i_13_++] = is_12_[i_21_ & 0xff]; + else i_13_++; + if ((i_21_ = is[i++]) != 0) is_11_[i_13_++] = is_12_[i_21_ & 0xff]; + else i_13_++; + if ((i_21_ = is[i++]) != 0) is_11_[i_13_++] = is_12_[i_21_ & 0xff]; + else i_13_++; + if ((i_21_ = is[i++]) != 0) is_11_[i_13_++] = is_12_[i_21_ & 0xff]; + else i_13_++; + } + for (int i_22_ = i_14_; i_22_ < 0; i_22_++) { + int i_23_; + if ((i_23_ = is[i++]) != 0) is_11_[i_13_++] = is_12_[i_23_ & 0xff]; + else i_13_++; + } + i_13_ += i_16_; + i += i_17_; + } + } + + private final void method2592(byte[] is, int[] is_24_, int i, int i_25_, int i_26_, int i_27_, int i_28_, int i_29_, int i_30_, int i_31_, int i_32_, int i_33_, Shader var_aa, int i_34_, int i_35_) { + ShaderSub3 var_aa_Sub3 = (ShaderSub3) var_aa; + int[] is_36_ = var_aa_Sub3.anIntArray5201; + int[] is_37_ = var_aa_Sub3.anIntArray5202; + int i_38_ = i_31_ - aHa_Sub1_6499.anInt7496; + int i_39_ = i_32_; + if (i_35_ > i_39_) { + i_39_ = i_35_; + i_26_ += (i_35_ - i_32_) * aHa_Sub1_6499.anInt7477; + i_25_ += (i_35_ - i_32_) * i_33_; + } + int i_40_ = (Math.min(i_35_ + is_36_.length, i_32_ + i_28_)); + for (int i_41_ = i_39_; i_41_ < i_40_; i_41_++) { + int i_42_ = is_36_[i_41_ - i_35_] + i_34_; + int i_43_ = is_37_[i_41_ - i_35_]; + int i_44_ = i_27_; + if (i_38_ > i_42_) { + int i_45_ = i_38_ - i_42_; + if (i_45_ >= i_43_) { + i_25_ += i_27_ + i_30_; + i_26_ += i_27_ + i_29_; + continue; + } + i_43_ -= i_45_; + } else { + int i_46_ = i_42_ - i_38_; + if (i_46_ >= i_27_) { + i_25_ += i_27_ + i_30_; + i_26_ += i_27_ + i_29_; + continue; + } + i_25_ += i_46_; + i_44_ -= i_46_; + i_26_ += i_46_; + } + int i_47_ = 0; + if (i_44_ < i_43_) i_43_ = i_44_; + else i_47_ = i_44_ - i_43_; + for (int i_48_ = -i_43_; i_48_ < 0; i_48_++) { + if (is[i_25_++] != 0) is_24_[i_26_++] = i; + else i_26_++; + } + i_25_ += i_47_ + i_25_; + i_26_ += i_47_ + i_29_; + } + } + + SoftwareBitmapFont2(GlToolkitSub1 var_ha_Sub1, Component184 class143, Component170[] class207s, int[] is, int[] is_49_) { + super(var_ha_Sub1, class143); + aHa_Sub1_6499 = var_ha_Sub1; + aHa_Sub1_6499 = var_ha_Sub1; + anIntArray6500 = is; + anIntArray6497 = is_49_; + aByteArrayArray6502 = new byte[class207s.length][]; + anIntArray6501 = new int[class207s.length]; + anIntArray6498 = new int[class207s.length]; + for (int i = 0; i < class207s.length; i++) { + aByteArrayArray6502[i] = class207s[i].aByteArray2699; + anIntArray6501[i] = class207s[i].anInt2700; + anIntArray6498[i] = class207s[i].anInt2703; + } + anIntArray6496 = class207s[0].anIntArray2697; + } + + final void method2578(char c, int i, int i_50_, int i_51_, boolean bool, Shader var_aa, int i_52_, int i_53_) { + if (var_aa == null) fa(c, i, i_50_, i_51_, bool); + else { + i += anIntArray6498[c]; + i_50_ += anIntArray6501[c]; + int i_54_ = anIntArray6500[c]; + int i_55_ = anIntArray6497[c]; + int i_56_ = aHa_Sub1_6499.anInt7477; + int i_57_ = i + i_50_ * i_56_; + int i_58_ = i_56_ - i_54_; + int i_59_ = 0; + int i_60_ = 0; + if (i_50_ < aHa_Sub1_6499.anInt7476) { + int i_61_ = aHa_Sub1_6499.anInt7476 - i_50_; + i_55_ -= i_61_; + i_50_ = aHa_Sub1_6499.anInt7476; + i_60_ += i_61_ * i_54_; + i_57_ += i_61_ * i_56_; + } + if (i_50_ + i_55_ > aHa_Sub1_6499.anInt7503) i_55_ -= i_50_ + i_55_ - aHa_Sub1_6499.anInt7503; + if (i < aHa_Sub1_6499.anInt7496) { + int i_62_ = aHa_Sub1_6499.anInt7496 - i; + i_54_ -= i_62_; + i = aHa_Sub1_6499.anInt7496; + i_60_ += i_62_; + i_57_ += i_62_; + i_59_ += i_62_; + i_58_ += i_62_; + } + if (i + i_54_ > aHa_Sub1_6499.anInt7507) { + int i_63_ = i + i_54_ - aHa_Sub1_6499.anInt7507; + i_54_ -= i_63_; + i_59_ += i_63_; + i_58_ += i_63_; + } + if (i_54_ > 0 && i_55_ > 0) { + if (bool) method2592(aByteArrayArray6502[c], aHa_Sub1_6499.anIntArray7483, i_51_, i_60_, i_57_, i_54_, i_55_, i_58_, i_59_, i, i_50_, anIntArray6500[c], var_aa, i_52_, i_53_); + else method2593(aByteArrayArray6502[c], aHa_Sub1_6499.anIntArray7483, anIntArray6496, i_51_, i_60_, i_57_, i_54_, i_55_, i_58_, i_59_, i, i_50_, anIntArray6500[c], var_aa, i_52_, i_53_); + } + } + } + + final void fa(char c, int i, int i_64_, int i_65_, boolean bool) { + i += anIntArray6498[c]; + i_64_ += anIntArray6501[c]; + int i_66_ = anIntArray6500[c]; + int i_67_ = anIntArray6497[c]; + int i_68_ = aHa_Sub1_6499.anInt7477; + int i_69_ = i + i_64_ * i_68_; + int i_70_ = i_68_ - i_66_; + int i_71_ = 0; + int i_72_ = 0; + if (i_64_ < aHa_Sub1_6499.anInt7476) { + int i_73_ = aHa_Sub1_6499.anInt7476 - i_64_; + i_67_ -= i_73_; + i_64_ = aHa_Sub1_6499.anInt7476; + i_72_ += i_73_ * i_66_; + i_69_ += i_73_ * i_68_; + } + if (i_64_ + i_67_ > aHa_Sub1_6499.anInt7503) i_67_ -= i_64_ + i_67_ - aHa_Sub1_6499.anInt7503; + if (i < aHa_Sub1_6499.anInt7496) { + int i_74_ = aHa_Sub1_6499.anInt7496 - i; + i_66_ -= i_74_; + i = aHa_Sub1_6499.anInt7496; + i_72_ += i_74_; + i_69_ += i_74_; + i_71_ += i_74_; + i_70_ += i_74_; + } + if (i + i_66_ > aHa_Sub1_6499.anInt7507) { + int i_75_ = i + i_66_ - aHa_Sub1_6499.anInt7507; + i_66_ -= i_75_; + i_71_ += i_75_; + i_70_ += i_75_; + } + if (i_66_ > 0 && i_67_ > 0) { + if (bool) method2590(aByteArrayArray6502[c], aHa_Sub1_6499.anIntArray7483, i_65_, i_72_, i_69_, i_66_, i_67_, i_70_, i_71_); + else method2591(aByteArrayArray6502[c], aHa_Sub1_6499.anIntArray7483, anIntArray6496, i_72_, i_69_, i_66_, i_67_, i_70_, i_71_); + } + } + + private final void method2593(byte[] is, int[] is_76_, int[] is_77_, int i, int i_78_, int i_79_, int i_80_, int i_81_, int i_82_, int i_83_, int i_84_, int i_85_, int i_86_, Shader var_aa, int i_87_, int i_88_) { + ShaderSub3 var_aa_Sub3 = (ShaderSub3) var_aa; + int[] is_89_ = var_aa_Sub3.anIntArray5201; + int[] is_90_ = var_aa_Sub3.anIntArray5202; + int i_91_ = i_84_ - aHa_Sub1_6499.anInt7496; + int i_92_ = i_85_; + if (i_88_ > i_92_) { + i_92_ = i_88_; + i_79_ += (i_88_ - i_85_) * aHa_Sub1_6499.anInt7477; + i_78_ += (i_88_ - i_85_) * i_86_; + } + int i_93_ = (Math.min(i_88_ + is_89_.length, i_85_ + i_81_)); + boolean bool = false; + for (int i_94_ = i_92_; i_94_ < i_93_; i_94_++) { + int i_95_ = is_89_[i_94_ - i_88_] + i_87_; + int i_96_ = is_90_[i_94_ - i_88_]; + int i_97_ = i_80_; + if (i_91_ > i_95_) { + int i_98_ = i_91_ - i_95_; + if (i_98_ >= i_96_) { + i_78_ += i_80_ + i_83_; + i_79_ += i_80_ + i_82_; + continue; + } + i_96_ -= i_98_; + } else { + int i_99_ = i_95_ - i_91_; + if (i_99_ >= i_80_) { + i_78_ += i_80_ + i_83_; + i_79_ += i_80_ + i_82_; + continue; + } + i_78_ += i_99_; + i_97_ -= i_99_; + i_79_ += i_99_; + } + int i_100_ = 0; + if (i_97_ < i_96_) i_96_ = i_97_; + else i_100_ = i_97_ - i_96_; + for (int i_101_ = -i_96_; i_101_ < 0; i_101_++) { + int i_102_; + if ((i_102_ = is[i_78_++]) != 0) is_76_[i_79_++] = is_77_[i_102_ & 0xff]; + else i_79_++; + } + i_78_ += i_100_ + i_83_; + i_79_ += i_100_ + i_82_; + } + } +} diff --git a/client/fonts/SoftwareBitmapFont3.java b/client/fonts/SoftwareBitmapFont3.java new file mode 100644 index 000000000..89223fb55 --- /dev/null +++ b/client/fonts/SoftwareBitmapFont3.java @@ -0,0 +1,178 @@ +/* SoftwareBitmapFont3 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** Software ({@link GlToolkitSub1}) bitmap-font backend (variant). */ +final class SoftwareBitmapFont3 extends BitmapFont { + private final int[] anIntArray6503; + private final byte[][] aByteArrayArray6504; + private final int[] anIntArray6505; + private GlToolkitSub1 aHa_Sub1_6506; + private final int[] anIntArray6507; + private final int[] anIntArray6508; + + SoftwareBitmapFont3(GlToolkitSub1 var_ha_Sub1, Component184 class143, Component170[] class207s, int[] is, int[] is_0_) { + super(var_ha_Sub1, class143); + aHa_Sub1_6506 = var_ha_Sub1; + aHa_Sub1_6506 = var_ha_Sub1; + anIntArray6503 = is; + anIntArray6505 = is_0_; + aByteArrayArray6504 = new byte[class207s.length][]; + anIntArray6508 = new int[class207s.length]; + anIntArray6507 = new int[class207s.length]; + for (int i = 0; i < class207s.length; i++) { + Component170 class207 = class207s[i]; + if (class207.aByteArray2695 == null) { + byte[] is_1_ = class207.aByteArray2699; + byte[] is_2_ = aByteArrayArray6504[i] = new byte[is_1_.length]; + for (int i_3_ = 0; i_3_ < is_1_.length; i_3_++) + is_2_[i_3_] = (byte) (is_1_[i_3_] == 0 ? 0 : -1); + } else aByteArrayArray6504[i] = class207.aByteArray2695; + anIntArray6508[i] = class207.anInt2700; + anIntArray6507[i] = class207.anInt2703; + } + } + + private final void method2594(byte[] is, int[] is_4_, int i, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_, int i_12_, int i_13_, Shader var_aa, int i_14_, int i_15_) { + ShaderSub3 var_aa_Sub3 = (ShaderSub3) var_aa; + int[] is_16_ = var_aa_Sub3.anIntArray5201; + int[] is_17_ = var_aa_Sub3.anIntArray5202; + int i_18_ = i_11_ - aHa_Sub1_6506.anInt7496; + int i_19_ = i_12_; + if (i_15_ > i_19_) { + i_19_ = i_15_; + i_6_ += (i_15_ - i_12_) * aHa_Sub1_6506.anInt7477; + i_5_ += (i_15_ - i_12_) * i_13_; + } + int i_20_ = (Math.min(i_15_ + is_16_.length, i_12_ + i_8_)); + for (int i_21_ = i_19_; i_21_ < i_20_; i_21_++) { + int i_22_ = is_16_[i_21_ - i_15_] + i_14_; + int i_23_ = is_17_[i_21_ - i_15_]; + int i_24_ = i_7_; + if (i_18_ > i_22_) { + int i_25_ = i_18_ - i_22_; + if (i_25_ >= i_23_) { + i_5_ += i_7_ + i_10_; + i_6_ += i_7_ + i_9_; + continue; + } + i_23_ -= i_25_; + } else { + int i_26_ = i_22_ - i_18_; + if (i_26_ >= i_7_) { + i_5_ += i_7_ + i_10_; + i_6_ += i_7_ + i_9_; + continue; + } + i_5_ += i_26_; + i_24_ -= i_26_; + i_6_ += i_26_; + } + int i_27_ = 0; + if (i_24_ < i_23_) i_23_ = i_24_; + else i_27_ = i_24_ - i_23_; + for (int i_28_ = -i_23_; i_28_ < 0; i_28_++) { + int i_29_ = is[i_5_++] & 0xff; + if (i_29_ != 0) { + int i_30_ = ((((i & 0xff00ff) * i_29_ & ~0xff00ff) + ((i & 0xff00) * i_29_ & 0xff0000)) >> 8); + i_29_ = 256 - i_29_; + int i_31_ = is_4_[i_6_]; + is_4_[i_6_++] = ((((i_31_ & 0xff00ff) * i_29_ & ~0xff00ff) + ((i_31_ & 0xff00) * i_29_ & 0xff0000)) >> 8) + i_30_; + } else i_6_++; + } + i_5_ += i_27_ + i_10_; + i_6_ += i_27_ + i_9_; + } + } + + private final void method2595(byte[] is, int[] is_32_, int i, int i_33_, int i_34_, int i_35_, int i_36_, int i_37_, int i_38_) { + for (int i_39_ = -i_36_; i_39_ < 0; i_39_++) { + for (int i_40_ = -i_35_; i_40_ < 0; i_40_++) { + int i_41_ = is[i_33_++] & 0xff; + if (i_41_ != 0) { + int i_42_ = ((((i & 0xff00ff) * i_41_ & ~0xff00ff) + ((i & 0xff00) * i_41_ & 0xff0000)) >> 8); + i_41_ = 256 - i_41_; + int i_43_ = is_32_[i_34_]; + is_32_[i_34_++] = ((((i_43_ & 0xff00ff) * i_41_ & ~0xff00ff) + ((i_43_ & 0xff00) * i_41_ & 0xff0000)) >> 8) + i_42_; + } else i_34_++; + } + i_34_ += i_37_; + i_33_ += i_38_; + } + } + + final void method2578(char c, int i, int i_44_, int i_45_, boolean bool, Shader var_aa, int i_46_, int i_47_) { + if (var_aa == null) fa(c, i, i_44_, i_45_, bool); + else { + i += anIntArray6507[c]; + i_44_ += anIntArray6508[c]; + int i_48_ = anIntArray6503[c]; + int i_49_ = anIntArray6505[c]; + int i_50_ = aHa_Sub1_6506.anInt7477; + int i_51_ = i + i_44_ * i_50_; + int i_52_ = i_50_ - i_48_; + int i_53_ = 0; + int i_54_ = 0; + if (i_44_ < aHa_Sub1_6506.anInt7476) { + int i_55_ = aHa_Sub1_6506.anInt7476 - i_44_; + i_49_ -= i_55_; + i_44_ = aHa_Sub1_6506.anInt7476; + i_54_ += i_55_ * i_48_; + i_51_ += i_55_ * i_50_; + } + if (i_44_ + i_49_ > aHa_Sub1_6506.anInt7503) i_49_ -= i_44_ + i_49_ - aHa_Sub1_6506.anInt7503; + if (i < aHa_Sub1_6506.anInt7496) { + int i_56_ = aHa_Sub1_6506.anInt7496 - i; + i_48_ -= i_56_; + i = aHa_Sub1_6506.anInt7496; + i_54_ += i_56_; + i_51_ += i_56_; + i_53_ += i_56_; + i_52_ += i_56_; + } + if (i + i_48_ > aHa_Sub1_6506.anInt7507) { + int i_57_ = i + i_48_ - aHa_Sub1_6506.anInt7507; + i_48_ -= i_57_; + i_53_ += i_57_; + i_52_ += i_57_; + } + if (i_48_ > 0 && i_49_ > 0) method2594(aByteArrayArray6504[c], aHa_Sub1_6506.anIntArray7483, i_45_, i_54_, i_51_, i_48_, i_49_, i_52_, i_53_, i, i_44_, anIntArray6503[c], var_aa, i_46_, i_47_); + } + } + + final void fa(char c, int i, int i_58_, int i_59_, boolean bool) { + i += anIntArray6507[c]; + i_58_ += anIntArray6508[c]; + int i_60_ = anIntArray6503[c]; + int i_61_ = anIntArray6505[c]; + int i_62_ = aHa_Sub1_6506.anInt7477; + int i_63_ = i + i_58_ * i_62_; + int i_64_ = i_62_ - i_60_; + int i_65_ = 0; + int i_66_ = 0; + if (i_58_ < aHa_Sub1_6506.anInt7476) { + int i_67_ = aHa_Sub1_6506.anInt7476 - i_58_; + i_61_ -= i_67_; + i_58_ = aHa_Sub1_6506.anInt7476; + i_66_ += i_67_ * i_60_; + i_63_ += i_67_ * i_62_; + } + if (i_58_ + i_61_ > aHa_Sub1_6506.anInt7503) i_61_ -= i_58_ + i_61_ - aHa_Sub1_6506.anInt7503; + if (i < aHa_Sub1_6506.anInt7496) { + int i_68_ = aHa_Sub1_6506.anInt7496 - i; + i_60_ -= i_68_; + i = aHa_Sub1_6506.anInt7496; + i_66_ += i_68_; + i_63_ += i_68_; + i_65_ += i_68_; + i_64_ += i_68_; + } + if (i + i_60_ > aHa_Sub1_6506.anInt7507) { + int i_69_ = i + i_60_ - aHa_Sub1_6506.anInt7507; + i_60_ -= i_69_; + i_65_ += i_69_; + i_64_ += i_69_; + } + if (i_60_ > 0 && i_61_ > 0) method2595(aByteArrayArray6504[c], aHa_Sub1_6506.anIntArray7483, i_59_, i_66_, i_63_, i_60_, i_61_, i_64_, i_65_); + } +} diff --git a/client/fonts/h.java b/client/fonts/h.java new file mode 100644 index 000000000..9433b72a8 --- /dev/null +++ b/client/fonts/h.java @@ -0,0 +1,44 @@ +/* h - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class h +/** + * RENAMED from `h` (JODE-obfuscated). + * Evidence: extends BitmapFont; implements Interface19; 4 native font methods + */ extends BitmapFont implements Interface19 { + long nativeid; + + h(OpenGLToolkit var_oa, NativeHandle var_ya, Component184 class143, Component170[] class207s, Component24[] class105s) { + super(var_oa, class143); + byte[][] is = new byte[class207s.length][]; + int[] is_0_ = new int[class207s.length]; + int[] is_1_ = new int[class207s.length]; + int[] is_2_ = new int[class207s.length]; + int[] is_3_ = new int[class207s.length]; + for (int i = 0; i < class207s.length; i++) { + is[i] = class207s[i].aByteArray2699; + is_0_[i] = class207s[i].anInt2702; + is_1_[i] = class207s[i].anInt2696; + is_2_[i] = class207s[i].anInt2703; + is_3_[i] = class207s[i].anInt2700; + } + JA(var_oa, var_ya, is, is_0_, is_1_, is_2_, is_3_); + } + + protected final void finalize() { + if (this.nativeid != 0L) Component36.method1947(0, this); + } + + public final native void w(boolean bool); + + final native void fa(char c, int i, int i_4_, int i_5_, boolean bool); + + final void method2578(char c, int i, int i_6_, int i_7_, boolean bool, Shader var_aa, int i_8_, int i_9_) { + NA(c, i, i_6_, i_7_, bool, var_aa, i_8_, i_9_); + } + + private final native void NA(char c, int i, int i_10_, int i_11_, boolean bool, Shader var_aa, int i_12_, int i_13_); + + private final native void JA(OpenGLToolkit var_oa, NativeHandle var_ya, byte[][] is, int[] is_14_, int[] is_15_, int[] is_16_, int[] is_17_); +} diff --git a/client/fonts/n.java b/client/fonts/n.java new file mode 100644 index 000000000..f494490fd --- /dev/null +++ b/client/fonts/n.java @@ -0,0 +1,44 @@ +/* n - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class n +/** + * RENAMED from `n` (JODE-obfuscated). + * Evidence: extends BitmapFont; implements Interface19; 4 native font methods + */ extends BitmapFont implements Interface19 { + long nativeid; + + private final native void S(OpenGLToolkit var_oa, NativeHandle var_ya, byte[][] is, int[] is_0_, int[] is_1_, int[] is_2_, int[] is_3_, int[] is_4_); + + n(OpenGLToolkit var_oa, NativeHandle var_ya, Component184 class143, Component170[] class207s, Component24[] class105s) { + super(var_oa, class143); + byte[][] is = new byte[class207s.length][]; + int[] is_5_ = new int[class207s.length]; + int[] is_6_ = new int[class207s.length]; + int[] is_7_ = new int[class207s.length]; + int[] is_8_ = new int[class207s.length]; + for (int i = 0; i < class207s.length; i++) { + is[i] = class207s[i].aByteArray2699; + is_5_[i] = class207s[i].anInt2702; + is_6_[i] = class207s[i].anInt2696; + is_7_[i] = class207s[i].anInt2703; + is_8_[i] = class207s[i].anInt2700; + } + S(var_oa, var_ya, is, class207s[0].anIntArray2697, is_5_, is_6_, is_7_, is_8_); + } + + public final native void w(boolean bool); + + protected final void finalize() { + if (this.nativeid != 0L) Component36.method1947(0, this); + } + + final native void fa(char c, int i, int i_9_, int i_10_, boolean bool); + + private final native void PA(char c, int i, int i_11_, int i_12_, boolean bool, Shader var_aa, int i_13_, int i_14_); + + final void method2578(char c, int i, int i_15_, int i_16_, boolean bool, Shader var_aa, int i_17_, int i_18_) { + PA(c, i, i_15_, i_16_, bool, var_aa, i_17_, i_18_); + } +} diff --git a/client/src/Interface1.java b/client/ifaces/Interface1.java similarity index 100% rename from client/src/Interface1.java rename to client/ifaces/Interface1.java diff --git a/client/ifaces/Interface10.java b/client/ifaces/Interface10.java new file mode 100644 index 000000000..038e20898 --- /dev/null +++ b/client/ifaces/Interface10.java @@ -0,0 +1,19 @@ +/* Interface10 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +interface Interface10 { + boolean method38(int i); + + int method39(int i); + + void method40(int i); + + int method41(int i); + + int method42(int i); + + void method43(GraphicsToolkit var_ha, int i); + + void method44(int i, GraphicsToolkit var_ha); +} diff --git a/client/src/Interface11.java b/client/ifaces/Interface11.java similarity index 100% rename from client/src/Interface11.java rename to client/ifaces/Interface11.java diff --git a/client/ifaces/Interface12.java b/client/ifaces/Interface12.java new file mode 100644 index 000000000..c8a3e1bec --- /dev/null +++ b/client/ifaces/Interface12.java @@ -0,0 +1,7 @@ +/* Interface12 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +interface Interface12 { + DisplayModeManagerContainer369 method51(byte i); +} diff --git a/client/src/Interface13.java b/client/ifaces/Interface13.java similarity index 100% rename from client/src/Interface13.java rename to client/ifaces/Interface13.java diff --git a/client/src/Interface14.java b/client/ifaces/Interface14.java similarity index 100% rename from client/src/Interface14.java rename to client/ifaces/Interface14.java diff --git a/client/ifaces/Interface15.java b/client/ifaces/Interface15.java new file mode 100644 index 000000000..34bc28e7f --- /dev/null +++ b/client/ifaces/Interface15.java @@ -0,0 +1,7 @@ +/* Interface15 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +interface Interface15 { + String method54(int i, long l, Component161 class138, int[] is); +} diff --git a/client/src/Interface16.java b/client/ifaces/Interface16.java similarity index 100% rename from client/src/Interface16.java rename to client/ifaces/Interface16.java diff --git a/client/src/Interface17.java b/client/ifaces/Interface17.java similarity index 100% rename from client/src/Interface17.java rename to client/ifaces/Interface17.java diff --git a/client/ifaces/Interface18.java b/client/ifaces/Interface18.java new file mode 100644 index 000000000..95d6f4201 --- /dev/null +++ b/client/ifaces/Interface18.java @@ -0,0 +1,9 @@ +/* Interface18 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +interface Interface18 { + void method63(byte i); + + void method64(Component246 class209, int i); +} diff --git a/client/src/Interface18_Impl1.java b/client/ifaces/Interface18_Impl1.java similarity index 100% rename from client/src/Interface18_Impl1.java rename to client/ifaces/Interface18_Impl1.java diff --git a/client/src/Interface18_Impl2.java b/client/ifaces/Interface18_Impl2.java similarity index 100% rename from client/src/Interface18_Impl2.java rename to client/ifaces/Interface18_Impl2.java diff --git a/client/src/Interface18_Impl3.java b/client/ifaces/Interface18_Impl3.java similarity index 88% rename from client/src/Interface18_Impl3.java rename to client/ifaces/Interface18_Impl3.java index fac2dd7da..0392509e8 100644 --- a/client/src/Interface18_Impl3.java +++ b/client/ifaces/Interface18_Impl3.java @@ -13,7 +13,7 @@ interface Interface18_Impl3 extends Interface18 { int method69(boolean bool); - void method70(int i, int i_12_, byte i_13_, int i_14_, int i_15_, int i_16_, int i_17_, byte[] is, Class304 class304); + void method70(int i, int i_12_, byte i_13_, int i_14_, int i_15_, int i_16_, int i_17_, byte[] is, DisplayModeManagerContainer42 class304); float method71(byte i, float f); diff --git a/client/src/Interface19.java b/client/ifaces/Interface19.java similarity index 100% rename from client/src/Interface19.java rename to client/ifaces/Interface19.java diff --git a/client/src/Interface2.java b/client/ifaces/Interface2.java similarity index 100% rename from client/src/Interface2.java rename to client/ifaces/Interface2.java diff --git a/client/src/Interface21.java b/client/ifaces/Interface21.java similarity index 100% rename from client/src/Interface21.java rename to client/ifaces/Interface21.java diff --git a/client/src/Interface3.java b/client/ifaces/Interface3.java similarity index 100% rename from client/src/Interface3.java rename to client/ifaces/Interface3.java diff --git a/client/src/Interface4.java b/client/ifaces/Interface4.java similarity index 100% rename from client/src/Interface4.java rename to client/ifaces/Interface4.java diff --git a/client/src/Interface5.java b/client/ifaces/Interface5.java similarity index 100% rename from client/src/Interface5.java rename to client/ifaces/Interface5.java diff --git a/client/src/Interface5_Impl1.java b/client/ifaces/Interface5_Impl1.java similarity index 100% rename from client/src/Interface5_Impl1.java rename to client/ifaces/Interface5_Impl1.java diff --git a/client/src/Interface5_Impl2.java b/client/ifaces/Interface5_Impl2.java similarity index 89% rename from client/src/Interface5_Impl2.java rename to client/ifaces/Interface5_Impl2.java index 96978ce07..747412a80 100644 --- a/client/src/Interface5_Impl2.java +++ b/client/ifaces/Interface5_Impl2.java @@ -13,5 +13,5 @@ interface Interface5_Impl2 extends Interface5 { Buffer method24(boolean bool, boolean bool_1_); - Class68 method25(byte i); + Component342 method25(byte i); } diff --git a/client/ifaces/Interface6.java b/client/ifaces/Interface6.java new file mode 100644 index 000000000..ad9f0b9b6 --- /dev/null +++ b/client/ifaces/Interface6.java @@ -0,0 +1,26 @@ +/* Interface6 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * Queued keyboard event API implemented by {@link NodeSub11}. + * Popped via {@link InputHandler#popKeyEvent}. + *

+ * {@link #getEventType}: 0=press, 1=release, 2=repeat/held, 3=typed, -1=focus lost. + */ +interface Interface6 { + /** Modifier bitfield (shift/ctrl/alt style flags from focus handler). */ + int getModifiers(int i); + + /** Press / release / typed / focus-lost kind. */ + int getEventType(int i); + + /** Typed character, or {@code '\0'} for non-typed events. */ + char getKeyChar(byte i); + + /** Enqueue timestamp (client millis). */ + long getWhen(byte i); + + /** Mapped key code (client keymap), or held-key index. */ + int getKeyCode(boolean bool); +} diff --git a/client/src/Interface7.java b/client/ifaces/Interface7.java similarity index 79% rename from client/src/Interface7.java rename to client/ifaces/Interface7.java index 9654ba875..163f0722e 100644 --- a/client/src/Interface7.java +++ b/client/ifaces/Interface7.java @@ -5,5 +5,5 @@ interface Interface7 { int method31(int i); - Class69 method32(int i); + Component325 method32(int i); } diff --git a/client/src/Interface8.java b/client/ifaces/Interface8.java similarity index 100% rename from client/src/Interface8.java rename to client/ifaces/Interface8.java diff --git a/client/src/Interface9.java b/client/ifaces/Interface9.java similarity index 100% rename from client/src/Interface9.java rename to client/ifaces/Interface9.java diff --git a/client/ifaces/InterfaceRenderer.java b/client/ifaces/InterfaceRenderer.java new file mode 100644 index 000000000..0368b37ad --- /dev/null +++ b/client/ifaces/InterfaceRenderer.java @@ -0,0 +1,278 @@ +/* InterfaceRenderer - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class294` (JODE-obfuscated). + * 2D interface/widget skin renderer (implements Interface16). Loads skin images ('bar','background','left','right','top','bottom') via reflection from the applet class; holds StringCache, Player[], and Component103[] for widget drawing. + */ + +import java.awt.*; +import java.lang.reflect.Field; + +final class InterfaceRenderer implements Interface16 { + private boolean aBoolean5020; + private int anInt5021; + private boolean aBoolean5022; + private int anInt5023; + private FontMetrics aFontMetrics5024; + static int anInt5025; + private Image anImage5026; + static int anInt5027; + static int anInt5028; + private int anInt5029; + private Image anImage5030; + static int anInt5031; + private Image anImage5032; + static int anInt5033; + private Color aColor5034; + private Image anImage5035; + private int anInt5036; + private Image anImage5037; + static int anInt5038; + static int anInt5039; + private int anInt5040; + private Image anImage5041; + private int anInt5042; + static int anInt5043; + static int anInt5044; + private boolean aBoolean5045; + private int anInt5046; + private Image anImage5047; + static int anInt5048; + static int anInt5049; + private int anInt5050; + private int anInt5051; + static int anInt5052; + private Font aFont5053; + private Image anImage5054; + static int anInt5055; + private Image anImage5056; + static StringCache aClass351_5057 = new StringCache(10, -1); + static Player[] players = new Player[2048]; + private Image anImage5059; + static Component103[] aClass338Array5060; + static int anInt5061; + + private final void method2211(boolean bool) throws IllegalAccessException, NoSuchFieldException { + anInt5055++; + Class var_class = ToolkitFactory.anApplet1530.getClass(); + anImage5047 = (Image) method2213(var_class, 2, "bar"); + anImage5035 = (Image) method2213(var_class, 2, "background"); + anImage5032 = (Image) method2213(var_class, 2, "left"); + anImage5037 = (Image) method2213(var_class, 2, "right"); + anImage5054 = (Image) method2213(var_class, 2, "top"); + anImage5041 = (Image) method2213(var_class, 2, "bottom"); + anImage5030 = (Image) method2213(var_class, 2, "bodyLeft"); + anImage5026 = (Image) method2213(var_class, 2, "bodyRight"); + anImage5056 = (Image) method2213(var_class, 2, "bodyFill"); + aFont5053 = (Font) method2213(var_class, 2, "bf"); + aFontMetrics5024 = (FontMetrics) method2213(var_class, 2, "bfm"); + aColor5034 = (Color) method2213(var_class, 2, "colourtext"); + Object object = method2213(var_class, 2, "lb"); + Class var_class_0_ = object.getClass(); + aBoolean5020 = method2216(object, bool, var_class_0_, "xMiddle"); + aBoolean5045 = method2216(object, bool, var_class_0_, "yMiddle"); + anInt5021 = method2212(object, var_class_0_, "xOffset", 95); + anInt5051 = method2212(object, var_class_0_, "yOffset", -124); + anInt5023 = method2212(object, var_class_0_, "width", 104); + anInt5036 = method2212(object, var_class_0_, "height", -45); + anInt5029 = method2212(object, var_class_0_, "boxXOffset", -91); + anInt5040 = method2212(object, var_class_0_, "boxYOffset", -74); + anInt5050 = method2212(object, var_class_0_, "boxWidth", 120); + anInt5046 = method2212(object, var_class_0_, "textYOffset", -47); + anInt5042 = method2212(object, var_class_0_, "offsetPerTenCycles", 107); + } + + private final int method2212(Object object, Class var_class, String string, int i) throws IllegalAccessException, NoSuchFieldException { + try { + int i_1_ = -38 / ((i - 24) / 60); + anInt5039++; + Field field = var_class.getDeclaredField(string); + return field.getInt(object); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wba.K(" + (object != null ? "{...}" : "null") + ',' + (var_class != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + private final Object method2213(Class var_class, int i, String string) throws IllegalAccessException, NoSuchFieldException { + try { + if (i != 2) return null; + anInt5038++; + Field field = var_class.getDeclaredField(string); + Object object = field.get(ToolkitFactory.anApplet1530); + field.set(ToolkitFactory.anApplet1530, null); + return object; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wba.C(" + (var_class != null ? "{...}" : "null") + ',' + i + ',' + (string != null ? "{...}" : "null") + ')')); + } + } + + public final int method55(byte i) { + if (i != -58) return -26; + anInt5052++; + return 0; + } + + public final boolean method56(byte i, long l) { + try { + if (i < 30) method2215((byte) 25, -63); + anInt5061++; + return true; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "wba.I(" + i + ',' + l + ')'); + } + } + + public static void method2214(int i) { + aClass351_5057 = null; + if (i != 0) players = null; + aClass338Array5060 = null; + players = null; + } + + public final int method60(int i) { + if (i != -19079) anInt5023 = -66; + anInt5049++; + return 100; + } + + private final int method2215(byte i, int i_2_) { + anInt5033++; + if (i < 23) anImage5030 = null; + if (aBoolean5020) return (-i_2_ + Component236.anInt4017) / 2; + return 0; + } + + public final void method57(int i) { + anInt5043++; + if (i <= 84) anInt5023 = -93; + } + + public final void method59(int i) { + ImageCache.method1428(true); + anInt5025++; + if (i != -9719) aBoolean5022 = false; + } + + private final boolean method2216(Object object, boolean bool, Class var_class, String string) throws IllegalAccessException, NoSuchFieldException { + try { + if (bool != true) method2217(4, -90, 15); + anInt5048++; + Field field = var_class.getDeclaredField(string); + return field.getBoolean(object); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wba.H(" + (object != null ? "{...}" : "null") + ',' + bool + ',' + (var_class != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ')')); + } + } + + static final boolean method2217(int i, int i_3_, int i_4_) { + anInt5027++; + if (i_4_ != 0) aClass338Array5060 = null; + return (i_3_ & 0x21) != 0; + } + + public final void method58(boolean bool, int i) { + anInt5044++; + if (i > -69) method2215((byte) -61, -24); + if (!aBoolean5022) { + if (ToolkitFactory.anApplet1530 == null) aBoolean5022 = true; + else if (aFont5053 == null) { + try { + method2211(true); + } catch (Exception exception) { + aBoolean5022 = true; + } + } + } + if (aBoolean5022) method2219(33); + else { + Graphics graphics = DisplayModeManagerContainer50.gameCanvas.getGraphics(); + if (graphics != null) { + try { + int i_5_ = Component44.aClass311_897.method2320((byte) 103); + String string = Component44.aClass311_897.method2318(-9324); + if (DisplayModeManagerContainer173.anImage4249 == null) DisplayModeManagerContainer173.anImage4249 = (DisplayModeManagerContainer50.gameCanvas.createImage(Component236.anInt4017, PacketReader.anInt10432)); + Graphics graphics_6_ = DisplayModeManagerContainer173.anImage4249.getGraphics(); + graphics_6_.clearRect(0, 0, Component236.anInt4017, PacketReader.anInt10432); + int i_7_ = anImage5030.getWidth(null); + int i_8_ = anImage5026.getWidth(null); + int i_9_ = anImage5056.getWidth(null); + int i_10_ = anImage5030.getHeight(null); + int i_11_ = anImage5026.getHeight(null); + int i_12_ = anImage5056.getHeight(null); + graphics_6_.drawImage(anImage5030, (method2215((byte) 84, i_7_) - (-anInt5029 + anInt5050 / 2)), method2218(i_10_, -6277) + anInt5040, null); + int i_13_ = i_7_ + -(anInt5050 / 2) + anInt5029; + int i_14_ = anInt5029 + anInt5050 / 2; + for (int i_15_ = i_13_; i_14_ >= i_15_; i_15_ += i_9_) + graphics_6_.drawImage(anImage5056, i_15_ + (method2215((byte) 77, i_7_) - -anInt5029), (method2218(i_12_, -6277) + anInt5040), null); + graphics_6_.drawImage(anImage5026, (method2215((byte) 25, i_8_) - (-anInt5029 - anInt5050 / 2)), (method2218(i_11_, -6277) - -anInt5040), null); + int i_16_ = anImage5032.getWidth(null); + int i_17_ = anImage5032.getHeight(null); + int i_18_ = anImage5037.getWidth(null); + int i_19_ = anImage5037.getHeight(null); + int i_20_ = anImage5041.getHeight(null); + int i_21_ = anImage5054.getWidth(null); + int i_22_ = anImage5054.getHeight(null); + int i_23_ = anImage5041.getWidth(null); + int i_24_ = anImage5047.getWidth(null); + int i_25_ = anImage5035.getWidth(null); + int i_26_ = method2215((byte) 122, anInt5023) + anInt5021; + int i_27_ = method2218(anInt5036, -6277) - -anInt5051; + graphics_6_.drawImage(anImage5032, i_26_, i_27_ - -((anInt5036 + -i_17_) / 2), null); + graphics_6_.drawImage(anImage5037, anInt5023 + i_26_ - i_18_, (anInt5036 - i_19_) / 2 + i_27_, null); + if (anImage5059 == null) anImage5059 = (DisplayModeManagerContainer50.gameCanvas.createImage(-i_18_ + (-i_16_ + anInt5023), anInt5036)); + Graphics graphics_28_ = anImage5059.getGraphics(); + for (int i_29_ = 0; (-i_18_ + (anInt5023 + -i_16_) > i_29_); i_29_ += i_21_) + graphics_28_.drawImage(anImage5054, i_29_, 0, null); + for (int i_30_ = 0; (i_30_ < anInt5023 - (i_16_ + i_18_)); i_30_ += i_23_) + graphics_28_.drawImage(anImage5041, i_30_, -i_20_ + anInt5036, null); + int i_31_ = i_5_ * (-i_18_ + (-i_16_ + anInt5023)) / 100; + if (i_31_ > 0) { + Image image = DisplayModeManagerContainer50.gameCanvas.createImage(i_31_, (-i_22_ + (anInt5036 + -i_20_))); + int i_32_ = image.getWidth(null); + Graphics graphics_33_ = image.getGraphics(); + int i_34_ = anInt5042 * ShaderSub2.method163(512) / 10 % i_24_; + for (int i_35_ = -i_24_ + i_34_; i_35_ < i_32_; i_35_ += i_24_) + graphics_33_.drawImage(anImage5047, i_35_, 0, null); + graphics_28_.drawImage(image, 0, i_22_, null); + } + int i_36_ = i_31_; + i_31_ = -i_31_ + -i_18_ + anInt5023 + -i_16_; + if (i_31_ > 0) { + Image image = DisplayModeManagerContainer50.gameCanvas.createImage(i_31_, (-i_22_ + (anInt5036 + -i_20_))); + int i_37_ = image.getWidth(null); + Graphics graphics_38_ = image.getGraphics(); + for (int i_39_ = 0; i_39_ < i_37_; i_39_ += i_25_) + graphics_38_.drawImage(anImage5035, i_39_, 0, null); + graphics_28_.drawImage(image, i_36_, i_22_, null); + } + graphics_6_.drawImage(anImage5059, i_16_ + i_26_, i_27_, null); + graphics_6_.setFont(aFont5053); + graphics_6_.setColor(aColor5034); + graphics_6_.drawString(string, i_26_ + (anInt5023 + -aFontMetrics5024.stringWidth(string)) / 2, anInt5046 + (4 + anInt5036 / 2 + i_27_)); + graphics.drawImage(DisplayModeManagerContainer173.anImage4249, 0, 0, null); + } catch (Exception exception) { + aBoolean5022 = true; + } + } else DisplayModeManagerContainer50.gameCanvas.repaint(); + } + } + + private final int method2218(int i, int i_40_) { + anInt5028++; + if (aBoolean5045) return (-i + PacketReader.anInt10432) / 2; + if (i_40_ != -6277) anImage5026 = null; + return 0; + } + + private final void method2219(int i) { + anInt5031++; + HelveticaFont.method1455(Component44.aClass311_897.method2320((byte) 78), Component137.aColorArray1928[Component303.anInt2884], Component44.aClass311_897.method2318(-9324), (DefinitionSub8.aColorArray9163[Component303.anInt2884]), (byte) -100, DisplayModeManagerContainer368.aColorArray5242[Component303.anInt2884]); + if (i != 33) method55((byte) 1); + } + + public InterfaceRenderer() { + /* empty */ + } +} diff --git a/client/ifaces/NativeAudio.java b/client/ifaces/NativeAudio.java new file mode 100644 index 000000000..049460cb2 --- /dev/null +++ b/client/ifaces/NativeAudio.java @@ -0,0 +1,29 @@ +/* NativeAudio - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.awt.*; + +/** + * Native audio backend (DirectSound on Microsoft JVM). + * Implemented by {@link DirectSoundAudio}; driven by {@link AudioLineSub2}. + */ +interface NativeAudio { + /** Destroy channel buffer {@code i}. */ + void close(int i, byte i_0_); + + /** Samples still queued for channel {@code i_1_}. */ + int getBufferedSamples(byte i, int i_1_); + + /** Write PCM ints for channel {@code i}. */ + void writeSamples(int i, int[] is); + + /** Stop and rewind channel {@code i_2_}. */ + void flush(byte i, int i_2_); + + /** Init DirectSound against {@code component} at sample-rate {@code i}. */ + void initOnComponent(int i, boolean bool, Component component, int i_3_) throws Exception; + + /** Open secondary buffer for channel {@code i_4_} with capacity {@code i}. */ + void open(int i, int i_4_, byte i_5_) throws Exception; +} diff --git a/client/input/AwtMouseHandler.java b/client/input/AwtMouseHandler.java new file mode 100644 index 000000000..0ab7d3de8 --- /dev/null +++ b/client/input/AwtMouseHandler.java @@ -0,0 +1,183 @@ +/* AwtMouseHandler - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.awt.*; +import java.awt.event.*; + +/** + * Desktop AWT mouse handler (preferred): press / motion / wheel listeners on the game canvas. + * Constructed via reflection from {@link NodeSub18#createMouseHandler}; falls back to + * {@link BasicMouseHandler} when wheel support is unavailable. + */ +final class AwtMouseHandler extends MouseHandler implements MouseListener, MouseMotionListener, MouseWheelListener { + /** Published cursor X (swapped from pending each sync). */ + private int cursorX; + /** Published cursor Y. */ + private int cursorY; + /** Events ready for {@link #popEvent}. */ + private NodeList eventQueue = new NodeList(); + /** Published button bitfield: 1=left, 2=middle, 4=right. */ + private int buttonState; + /** Events enqueued this frame before sync. */ + private NodeList pendingEvents = new NodeList(); + private int pendingX; + private int pendingButtons; + private int pendingY; + /** When true, motion also synthesizes type=-1 events. */ + private final boolean recordMotionEvents; + /** Canvas Component listeners are attached to. */ + private Component target; + + final boolean isMiddleButtonDown(int i) { + int i_0_ = -59 % ((i - -38) / 48); + return (buttonState & 0x2) != 0; + } + + private final void enqueueEvent(int i, int i_1_, int i_2_, int i_3_, boolean bool) { + NodeSub45Sub1 class348_sub45_sub1 = new NodeSub45Sub1(); + class348_sub45_sub1.y = i_3_; + class348_sub45_sub1.eventType = i_1_; + class348_sub45_sub1.x = i; + class348_sub45_sub1.when = Component240.currentTimeMillis(-115); + class348_sub45_sub1.clickCount = i_2_; + if (bool) mouseDragged(null); + pendingEvents.addTail(class348_sub45_sub1, -20180); + } + + public final synchronized void mouseReleased(MouseEvent mouseevent) { + int i = buttonMask(mouseevent, -75); + if ((i & pendingButtons) == 0) i = pendingButtons; + if (0 != (0x1 & i)) enqueueEvent(mouseevent.getX(), 3, mouseevent.getClickCount(), mouseevent.getY(), false); + if ((i & 0x4) != 0) enqueueEvent(mouseevent.getX(), 5, mouseevent.getClickCount(), mouseevent.getY(), false); + if ((0x2 & i) != 0) enqueueEvent(mouseevent.getX(), 4, mouseevent.getClickCount(), mouseevent.getY(), false); + pendingButtons &= ~i; + if (mouseevent.isPopupTrigger()) mouseevent.consume(); + } + + final int getCursorY(byte i) { + if (i < 69) enqueueEvent(92, 34, 59, 2, false); + return cursorX; + } + + private final void updateCursor(int i, int i_4_, int i_5_) { + if (i_4_ == -1) { + pendingX = i_5_; + pendingY = i; + if (recordMotionEvents) enqueueEvent(i, -1, 0, i_5_, false); + } + } + + final boolean isRightButtonDown(byte i) { + if (i <= 112) return false; + return (buttonState & 0x4) != 0; + } + + public final synchronized void mousePressed(MouseEvent mouseevent) { + int i = buttonMask(mouseevent, -90); + if (1 == i) enqueueEvent(mouseevent.getX(), 0, mouseevent.getClickCount(), mouseevent.getY(), false); + else if (i == 4) enqueueEvent(mouseevent.getX(), 2, mouseevent.getClickCount(), mouseevent.getY(), false); + else if (i == 2) enqueueEvent(mouseevent.getX(), 1, mouseevent.getClickCount(), mouseevent.getY(), false); + pendingButtons |= i; + if (mouseevent.isPopupTrigger()) mouseevent.consume(); + } + + final int getCursorX(boolean bool) { + if (bool != true) return 27; + return cursorY; + } + + private final int buttonMask(MouseEvent mouseevent, int i) { + if (mouseevent.getButton() == 1) { + if (mouseevent.isMetaDown()) return 4; + return 1; + } + if (mouseevent.getButton() == 2) return 2; + int i_6_ = -27 % ((57 - i) / 63); + if (mouseevent.getButton() == 3) return 4; + return 0; + } + + public final synchronized void mouseEntered(MouseEvent mouseevent) { + updateCursor(mouseevent.getX(), -1, mouseevent.getY()); + } + + public final synchronized void mouseClicked(MouseEvent mouseevent) { + if (mouseevent.isPopupTrigger()) mouseevent.consume(); + } + + final boolean isLeftButtonDown(int i) { + if (i >= -67) mouseMoved(null); + return (buttonState & 0x1) != 0; + } + + final NodeSub45 popEvent(int i) { + if (i != 0) mouseReleased(null); + return (NodeSub45) eventQueue.peekFirst(8); + } + + public final synchronized void mouseMoved(MouseEvent mouseevent) { + updateCursor(mouseevent.getX(), -1, mouseevent.getY()); + } + + private final void detachListeners(int i) { + if (null != target) { + int i_7_ = 11 % ((i - -21) / 55); + target.removeMouseWheelListener(this); + target.removeMouseMotionListener(this); + target.removeMouseListener(this); + target = null; + pendingY = pendingX = pendingButtons = 0; + cursorY = cursorX = buttonState = 0; + eventQueue = null; + pendingEvents = null; + } + } + + final synchronized void syncEvents(int i) { + cursorX = pendingX; + cursorY = pendingY; + buttonState = pendingButtons; + if (i == 0) { + NodeList class262 = eventQueue; + eventQueue = pendingEvents; + pendingEvents = class262; + pendingEvents.clear(127); + } + } + + public final synchronized void mouseWheelMoved(MouseWheelEvent mousewheelevent) { + int i = mousewheelevent.getX(); + int i_8_ = mousewheelevent.getY(); + int i_9_ = mousewheelevent.getWheelRotation(); + enqueueEvent(i, 6, i_9_, i_8_, false); + mousewheelevent.consume(); + } + + public final synchronized void mouseExited(MouseEvent mouseevent) { + updateCursor(mouseevent.getX(), -1, mouseevent.getY()); + } + + public final synchronized void mouseDragged(MouseEvent mouseevent) { + updateCursor(mouseevent.getX(), -1, mouseevent.getY()); + } + + final void destroy(int i) { + if (i == 0) detachListeners(46); + } + + /** Attach mouse/motion/wheel listeners to {@code component}. */ + private final void attachListeners(int i, Component component) { + detachListeners(i ^ 0x6e); + target = component; + if (i != 0) target = null; + target.addMouseListener(this); + target.addMouseMotionListener(this); + target.addMouseWheelListener(this); + } + + AwtMouseHandler(Component component, boolean bool) { + attachListeners(0, component); + recordMotionEvents = bool; + } +} diff --git a/client/input/BasicMouseHandler.java b/client/input/BasicMouseHandler.java new file mode 100644 index 000000000..c1b44c359 --- /dev/null +++ b/client/input/BasicMouseHandler.java @@ -0,0 +1,242 @@ +/* BasicMouseHandler - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.awt.*; +import java.awt.event.MouseEvent; +import java.awt.event.MouseListener; +import java.awt.event.MouseMotionListener; + +/** + * Fallback AWT mouse handler without wheel support. + * Used when {@link AwtMouseHandler} construction fails (see {@link NodeSub18#createMouseHandler}). + * Also hosts unrelated static dump fields left by the obfuscator. + */ +final class BasicMouseHandler extends MouseHandler implements MouseListener, MouseMotionListener { + static int anInt7426; + static int anInt7427; + static int anInt7428; + static int anInt7429; + static int anInt7430; + static int anInt7431; + /** Published button bitfield: 1=left, 2=middle, 4=right. */ + private int buttonState; + static int anInt7433; + static int anInt7434; + static int anInt7435; + static int anInt7436; + static int anInt7437; + static int anInt7438; + static int anInt7439; + static int anInt7440; + /** Events ready for {@link #popEvent}. */ + private NodeList eventQueue = new NodeList(); + /** Published cursor X. */ + private int cursorX; + static int anInt7443; + static boolean aBoolean7444 = false; + static int anInt7445; + static Component69[] aClass283Array7446; + static int anInt7447; + /** Published cursor Y. */ + private int cursorY; + static int anInt7449; + /** Events enqueued this frame before sync. */ + private NodeList pendingEvents = new NodeList(); + static int anInt7451; + static int anInt7452; + private int pendingY; + private int pendingX; + static int anInt7455; + private int pendingButtons; + static int anInt7457; + /** When true, motion synthesises type=-1 events. */ + private final boolean recordMotionEvents; + /** Canvas Component listeners are attached to. */ + private Component target; + + private final void attachListeners(byte i, Component component) { + anInt7447++; + if (i >= -83) mouseExited(null); + detachListeners(85); + target = component; + target.addMouseListener(this); + target.addMouseMotionListener(this); + } + + public final synchronized void mouseDragged(MouseEvent mouseevent) { + updateCursor(mouseevent.getY(), (byte) -76, mouseevent.getX()); + anInt7427++; + } + + public final synchronized void mouseEntered(MouseEvent mouseevent) { + updateCursor(mouseevent.getY(), (byte) -76, mouseevent.getX()); + anInt7426++; + } + + private final int buttonMask(int i, MouseEvent mouseevent) { + anInt7436++; + int i_0_ = mouseevent.getModifiers(); + boolean bool = (0x10 & i_0_) != 0; + boolean bool_1_ = (i_0_ & 0x8) != 0; + boolean bool_2_ = (0x4 & i_0_) != 0; + if (bool_1_ && (bool || bool_2_)) bool_1_ = false; + if (bool && bool_2_) return 4; + if (bool) return 1; + if (bool_1_) return 2; + if (i != -6345) popEvent(-12); + if (bool_2_) return 4; + return 0; + } + + public final synchronized void mouseExited(MouseEvent mouseevent) { + updateCursor(mouseevent.getY(), (byte) -76, mouseevent.getX()); + anInt7452++; + } + + final boolean isRightButtonDown(byte i) { + anInt7457++; + if (i <= 112) enqueueEvent(-77, 6, -104, -59, 86); + return (buttonState & 0x4) != 0; + } + + final synchronized void syncEvents(int i) { + if (i != 0) syncEvents(-46); + buttonState = pendingButtons; + anInt7440++; + cursorY = pendingY; + cursorX = pendingX; + NodeList class262 = eventQueue; + eventQueue = pendingEvents; + pendingEvents = class262; + pendingEvents.clear(i ^ 0x66); + } + + public final synchronized void mouseMoved(MouseEvent mouseevent) { + anInt7435++; + updateCursor(mouseevent.getY(), (byte) -76, mouseevent.getX()); + } + + private final void updateCursor(int i, byte i_3_, int i_4_) { + anInt7445++; + pendingX = i_4_; + if (i_3_ != -76) anInt7429 = 51; + pendingY = i; + if (recordMotionEvents) enqueueEvent(-1, i, i_4_, 0, -125); + } + + final int getCursorY(byte i) { + anInt7430++; + if (i <= 69) return -123; + return cursorY; + } + + final NodeSub45 popEvent(int i) { + if (i != 0) mouseReleased(null); + anInt7437++; + return (NodeSub45) eventQueue.peekFirst(i + 8); + } + + private final void enqueueEvent(int i, int i_5_, int i_6_, int i_7_, int i_8_) { + anInt7439++; + NodeSub45Sub2 class348_sub45_sub2 = new NodeSub45Sub2(); + class348_sub45_sub2.x = i_6_; + class348_sub45_sub2.y = i_5_; + class348_sub45_sub2.clickCount = i_7_; + class348_sub45_sub2.eventType = i; + class348_sub45_sub2.when = Component240.currentTimeMillis(-110); + pendingEvents.addTail(class348_sub45_sub2, -20180); + if (i_8_ >= -110) readJagStringLimited(28, null, -68); + } + + public final synchronized void mouseClicked(MouseEvent mouseevent) { + if (mouseevent.isPopupTrigger()) mouseevent.consume(); + anInt7438++; + } + + final void destroy(int i) { + if (i != 0) getCursorX(false); + anInt7433++; + detachListeners(84); + } + + final boolean isMiddleButtonDown(int i) { + int i_9_ = -108 % ((-38 - i) / 48); + anInt7434++; + return (buttonState & 0x2) != 0; + } + + final boolean isLeftButtonDown(int i) { + anInt7455++; + if (i >= -67) mouseExited(null); + return (buttonState & 0x1) != 0; + } + + /** Reads a length-capped Jagex string from {@code class348_sub49} (returns {@code "Cabbage"} on error). */ + static final String readJagStringLimited(int i, Buffer class348_sub49, int i_10_) { + int i_11_ = 17 % ((9 - i_10_) / 59); + anInt7451++; + try { + int i_12_ = class348_sub49.readSmart(-122); + if (i < i_12_) i_12_ = i; + byte[] is = new byte[i_12_]; + class348_sub49.offset += (DisplayModeManagerContainer370.huffman.decompress(is, class348_sub49.offset, class348_sub49.payload, i_12_, -1, 0)); + String string = WaterShaderSub8.decodeCp1252(is, 0, i_12_, 0); + return string; + } catch (Exception exception) { + return "Cabbage"; + } + } + + public final synchronized void mouseReleased(MouseEvent mouseevent) { + anInt7428++; + int i = buttonMask(-6345, mouseevent); + if ((i & pendingButtons) == 0) i = pendingButtons; + if ((i & 0x1) != 0) enqueueEvent(3, mouseevent.getY(), mouseevent.getX(), mouseevent.getClickCount(), -116); + if ((0x4 & i) != 0) enqueueEvent(5, mouseevent.getY(), mouseevent.getX(), mouseevent.getClickCount(), -119); + if ((0x2 & i) != 0) enqueueEvent(4, mouseevent.getY(), mouseevent.getX(), mouseevent.getClickCount(), -117); + pendingButtons &= ~i; + if (mouseevent.isPopupTrigger()) mouseevent.consume(); + } + + private final void detachListeners(int i) { + anInt7431++; + if (target != null) { + target.removeMouseMotionListener(this); + target.removeMouseListener(this); + target = null; + eventQueue = null; + pendingEvents = null; + cursorX = cursorY = buttonState = 0; + int i_13_ = -106 / ((-57 - i) / 46); + pendingX = pendingY = pendingButtons = 0; + } + } + + final int getCursorX(boolean bool) { + if (bool != true) pendingY = -101; + anInt7443++; + return cursorX; + } + + public final synchronized void mousePressed(MouseEvent mouseevent) { + anInt7449++; + int i = buttonMask(-6345, mouseevent); + if (i != 1) { + if (i == 4) enqueueEvent(2, mouseevent.getY(), mouseevent.getX(), mouseevent.getClickCount(), -112); + else if (i == 2) enqueueEvent(1, mouseevent.getY(), mouseevent.getX(), mouseevent.getClickCount(), -121); + } else enqueueEvent(0, mouseevent.getY(), mouseevent.getX(), mouseevent.getClickCount(), -126); + pendingButtons |= i; + if (mouseevent.isPopupTrigger()) mouseevent.consume(); + } + + public static void clearStatics(byte i) { + int i_14_ = 49 % ((i - -35) / 41); + aClass283Array7446 = null; + } + + BasicMouseHandler(Component component, boolean bool) { + attachListeners((byte) -108, component); + recordMotionEvents = bool; + } +} diff --git a/client/input/MouseHandler.java b/client/input/MouseHandler.java new file mode 100644 index 000000000..acc37d938 --- /dev/null +++ b/client/input/MouseHandler.java @@ -0,0 +1,70 @@ +/* MouseHandler - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * Mouse input abstraction over the game canvas. + * Desktop: {@link AwtMouseHandler} (AWT listeners). Mobile: voidawt-backed subclass. + *

+ * Live cursor: {@link #getCursorX} = X, {@link #getCursorY} = Y (canvas pixels). + * Button held: {@link #isLeftButtonDown} left, {@link #isMiddleButtonDown} middle, {@link #isRightButtonDown} right. + * Queued events: {@link #popEvent} yields {@link NodeSub45} + * ({@code getEventType}: 0=left press, 1=middle, 2=right, 3/4/5=releases, 6=wheel). + * Singleton used by the client: {@link AbstractGlTextureSub4#mouseHandler}. + */ +abstract class MouseHandler { + static int anInt4533; + /** Y origin used when laying out the right-click menu. */ + static int menuOriginY; + static int anInt4535; + + /** Middle mouse button currently held. */ + abstract boolean isMiddleButtonDown(int i); + + /** Sync pending AWT events into the click / motion queues (called once per frame). */ + abstract void syncEvents(int i); + + public MouseHandler() { + /* empty */ + } + + /** Right mouse button currently held. */ + abstract boolean isRightButtonDown(byte i); + + /** + * Load {@link Component113} config id {@code i} from archive {@code i_0_} (LRU-cached). + * Used by floor/static-element renderers. + */ + static final Component113 getOrLoadConfig(int i, int i_0_) { + anInt4535++; + Component113 class181 = (Component113) Component298.aClass60_4636.get(i, i_0_ + -128); + if (class181 != null) return class181; + byte[] is = Component205.aClass45_5964.getFile(-1860, i_0_, i); + class181 = new Component113(); + if (is != null) class181.method1370(24, new Buffer(is)); + class181.method1371(4); + Component298.aClass60_4636.putOne(class181, i, (byte) -103); + return class181; + } + + abstract void destroy(int i); + + /** Any mouse button currently held. */ + final boolean isAnyButtonDown(int i) { + anInt4533++; + if (i <= 91) isAnyButtonDown(53); + return isLeftButtonDown(-83) || isMiddleButtonDown(-121) || isRightButtonDown((byte) 125); + } + + /** Current cursor Y in canvas pixels. */ + abstract int getCursorY(byte i); + + /** Left mouse button currently held. */ + abstract boolean isLeftButtonDown(int i); + + /** Pop next queued mouse event, or {@code null} when empty. */ + abstract NodeSub45 popEvent(int i); + + /** Current cursor X in canvas pixels. */ + abstract int getCursorX(boolean bool); +} diff --git a/client/media/audio/AudioLine.java b/client/media/audio/AudioLine.java new file mode 100644 index 000000000..b22f7daea --- /dev/null +++ b/client/media/audio/AudioLine.java @@ -0,0 +1,322 @@ +/* AudioLine - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class279` (JODE-obfuscated). + * Abstract audio output line. {@link #open}/{@link #close}/{@link #flush}/{@link #process} + * drive the mix pump; {@link #getBufferedSamples} reports queued PCM. + * Subclasses: {@link SourceAudioLine}, AudioLineSub2. + */ + +import java.awt.*; + +class AudioLine { + static int anInt3594; + static int anInt3595; + static int anInt3596; + static int anInt3597; + static int anInt3598; + static int anInt3599; + static int anInt3600; + private final int anInt3601 = 32; + private long aLong3602; + int[] anIntArray3603; + private NodeSub16 aClass348_Sub16_3604; + static int anInt3605; + static int anInt3606; + static int anInt3607; + static int anInt3608; + static int anInt3609; + private boolean aBoolean3610 = false; + static int anInt3611; + static int anInt3612; + int anInt3613; + private long aLong3614; + private int anInt3615; + private int anInt3616; + private int anInt3617; + private long aLong3618; + private final NodeSub16[] aClass348_Sub16Array3619; + int anInt3620; + private final NodeSub16[] aClass348_Sub16Array3621; + private int anInt3622; + private boolean aBoolean3623; + private int anInt3624; + + int getBufferedSamples() throws Exception { + anInt3605++; + return this.anInt3613; + } + + void open(int i) throws Exception { + anInt3607++; + } + + void flush() throws Exception { + anInt3606++; + } + + final synchronized void process(int i) { + anInt3595++; + if (!aBoolean3610) { + long l = Component240.currentTimeMillis(-107); + try { + if (l > aLong3602 + 6000L) aLong3602 = -6000L + l; + if (i != -6858) anInt3616 = 114; + for (/**/; aLong3602 + 5000L < l; l = Component240.currentTimeMillis(-96)) { + method2089(256, (byte) -99); + aLong3602 += 256000 / Component231.sampleRate; + } + } catch (Exception exception) { + aLong3602 = l; + } + if (this.anIntArray3603 != null) { + try { + if (aLong3614 != 0) { + if (aLong3614 > l) return; + open(this.anInt3613); + aBoolean3623 = true; + aLong3614 = 0L; + } + int i_0_ = getBufferedSamples(); + if (-i_0_ + anInt3622 > anInt3624) anInt3624 = -i_0_ + anInt3622; + int i_1_ = this.anInt3620 - -anInt3616; + if (i_1_ - -256 > 16384) i_1_ = 16128; + if (256 + i_1_ > this.anInt3613) { + this.anInt3613 += 1024; + if (this.anInt3613 > 16384) this.anInt3613 = 16384; + close(); + open(this.anInt3613); + i_0_ = 0; + aBoolean3623 = true; + if (256 + i_1_ > this.anInt3613) { + i_1_ = this.anInt3613 + -256; + anInt3616 = -this.anInt3620 + i_1_; + } + } + for (/**/; i_0_ < i_1_; i_0_ += 256) { + method2086(this.anIntArray3603, 256); + writeSamples(); + } + if (l > aLong3618) { + if (!aBoolean3623) { + if (anInt3624 == 0 && anInt3617 == 0) { + close(); + aLong3614 = 2000L + l; + return; + } + anInt3616 = Math.min(anInt3617, anInt3624); + anInt3617 = anInt3624; + } else aBoolean3623 = false; + aLong3618 = l - -2000L; + anInt3624 = 0; + } + anInt3622 = i_0_; + } catch (Exception exception) { + close(); + aLong3614 = 2000L + l; + } + } + } + } + + private final void method2085(int i, NodeSub16 class348_sub16, int i_2_) { + anInt3597++; + int i_3_ = i_2_ >> 5; + if (i != -1846918107) method2088(true, null); + NodeSub16 class348_sub16_4_ = aClass348_Sub16Array3621[i_3_]; + if (class348_sub16_4_ != null) class348_sub16_4_.aClass348_Sub16_6785 = class348_sub16; + else aClass348_Sub16Array3619[i_3_] = class348_sub16; + aClass348_Sub16Array3621[i_3_] = class348_sub16; + class348_sub16.anInt6786 = i_2_; + } + + private final void method2086(int[] is, int i) { + int i_5_ = i; + if (Component21.stereo) i_5_ <<= 1; + Component313.method1573(is, 0, i_5_); + anInt3615 -= i; + if (aClass348_Sub16_3604 != null && anInt3615 <= 0) { + anInt3615 += Component231.sampleRate >> 4; + ColorTagNode.method2814(aClass348_Sub16_3604, 112); + method2085(-1846918107, aClass348_Sub16_3604, aClass348_Sub16_3604.method2820()); + int i_6_ = 0; + int i_7_ = 255; + int i_8_ = 7; + while_88_: + while (i_7_ != 0) { + int i_9_; + int i_10_; + if (i_8_ < 0) { + i_9_ = i_8_ & 0x3; + i_10_ = -(i_8_ >> 2); + } else { + i_9_ = i_8_; + i_10_ = 0; + } + for (int i_11_ = i_7_ >>> i_9_ & 0x11111111; i_11_ != 0; i_11_ >>>= 4) { + if ((i_11_ & 0x1) != 0) { + i_7_ &= ~(1 << i_9_); + NodeSub16 class348_sub16 = null; + NodeSub16 class348_sub16_12_ = aClass348_Sub16Array3619[i_9_]; + while (class348_sub16_12_ != null) { + NodeSub19 class348_sub19 = (class348_sub16_12_.aClass348_Sub19_6787); + if (class348_sub19 != null && (class348_sub19.anInt6824 > i_10_)) { + i_7_ |= 1 << i_9_; + class348_sub16 = class348_sub16_12_; + class348_sub16_12_ = (class348_sub16_12_.aClass348_Sub16_6785); + } else { + class348_sub16_12_.aBoolean6784 = true; + int i_13_ = class348_sub16_12_.method2821(); + i_6_ += i_13_; + if (class348_sub19 != null) class348_sub19.anInt6824 += i_13_; + if (i_6_ >= anInt3601) break while_88_; + NodeSub16 class348_sub16_14_ = class348_sub16_12_.method2816(); + if (class348_sub16_14_ != null) { + int i_15_ = (class348_sub16_12_.anInt6786); + for (/**/; class348_sub16_14_ != null; class348_sub16_14_ = class348_sub16_12_.method2818()) + method2085(-1846918107, class348_sub16_14_, (i_15_ * class348_sub16_14_.method2820() >> 8)); + } + NodeSub16 class348_sub16_16_ = (class348_sub16_12_.aClass348_Sub16_6785); + class348_sub16_12_.aClass348_Sub16_6785 = null; + if (class348_sub16 == null) aClass348_Sub16Array3619[i_9_] = class348_sub16_16_; + else class348_sub16.aClass348_Sub16_6785 = class348_sub16_16_; + if (class348_sub16_16_ == null) aClass348_Sub16Array3621[i_9_] = class348_sub16; + class348_sub16_12_ = class348_sub16_16_; + } + } + } + i_9_ += 4; + i_10_++; + } + i_8_--; + } + for (int i_17_ = 0; i_17_ < 8; i_17_++) { + NodeSub16 class348_sub16 = aClass348_Sub16Array3619[i_17_]; + aClass348_Sub16Array3619[i_17_] = aClass348_Sub16Array3621[i_17_] = null; + NodeSub16 class348_sub16_18_; + for (/**/; class348_sub16 != null; class348_sub16 = class348_sub16_18_) { + class348_sub16_18_ = (class348_sub16.aClass348_Sub16_6785); + class348_sub16.aClass348_Sub16_6785 = null; + } + } + } + if (anInt3615 < 0) anInt3615 = 0; + if (aClass348_Sub16_3604 != null) aClass348_Sub16_3604.method2817(is, 0, i); + aLong3602 = Component240.currentTimeMillis(-102); + } + + final synchronized void method2087(int i) { + aBoolean3623 = true; + anInt3599++; + try { + if (i >= -110) aLong3602 = -66L; + flush(); + } catch (Exception exception) { + close(); + aLong3614 = 2000L + Component240.currentTimeMillis(-96); + } + } + + final synchronized void method2088(boolean bool, NodeSub16 class348_sub16) { + if (bool != false) method2085(0, null, 69); + aClass348_Sub16_3604 = class348_sub16; + anInt3600++; + } + + private final void method2089(int i, byte i_19_) { + anInt3611++; + anInt3615 -= i; + if (anInt3615 < 0) anInt3615 = 0; + if (aClass348_Sub16_3604 != null) aClass348_Sub16_3604.method2819(i); + if (i_19_ > -75) method2090(13, 6, true, (byte) 40, 67, -121, -107); + } + + static final void method2090(int i, int i_20_, boolean bool, byte i_21_, int i_22_, int i_23_, int i_24_) { + if ((bool ? Component192.aClass348_Sub51_3959.aClass239_Sub26_7215.method1838(-32350) : Component192.aClass348_Sub51_3959.aClass239_Sub26_7272.method1838(-32350)) != 0 && i != 0 && Component335.anInt2021 < 50 && i_24_ != -1) + GlFramebufferTexture.aClass10Array8531[Component335.anInt2021++] = new RunescapeInfo(!bool ? (byte) 2 : (byte) 3, i_24_, i, i_23_, i_22_, 0, i_20_, null); + if (i_21_ == -35) anInt3608++; + } + + void close() { + anInt3598++; + } + + static final void method2092(int i, int i_25_, int[] is, int i_26_, Object[] objects) { + try { + int i_27_ = -92 / ((i_26_ - -55) / 57); + if (i_25_ < i) { + int i_28_ = (i + i_25_) / 2; + int i_29_ = i_25_; + int i_30_ = is[i_28_]; + is[i_28_] = is[i]; + is[i] = i_30_; + Object object = objects[i_28_]; + objects[i_28_] = objects[i]; + objects[i] = object; + int i_31_ = i_30_ != 2147483647 ? 1 : 0; + for (int i_32_ = i_25_; i_32_ < i; i_32_++) { + if (is[i_32_] < (i_31_ & i_32_) + i_30_) { + int i_33_ = is[i_32_]; + is[i_32_] = is[i_29_]; + is[i_29_] = i_33_; + Object object_34_ = objects[i_32_]; + objects[i_32_] = objects[i_29_]; + objects[i_29_++] = object_34_; + } + } + is[i] = is[i_29_]; + is[i_29_] = i_30_; + objects[i] = objects[i_29_]; + objects[i_29_] = object; + method2092(-1 + i_29_, i_25_, is, 9, objects); + method2092(i, i_29_ - -1, is, -127, objects); + } + anInt3594++; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("cba.K(" + i + ',' + i_25_ + ',' + (is != null ? "{...}" : "null") + ',' + i_26_ + ',' + (objects != null ? "{...}" : "null") + ')')); + } + } + + final synchronized void method2093(boolean bool) { + anInt3609++; + if (Component191.aClass250_2462 != null) { + boolean bool_35_ = true; + for (int i = 0; i < 2; i++) { + if (Component191.aClass250_2462.lines[i] == this) Component191.aClass250_2462.lines[i] = null; + if (Component191.aClass250_2462.lines[i] != null) bool_35_ = false; + } + if (bool_35_) { + Component191.aClass250_2462.stopRequested = true; + while (Component191.aClass250_2462.running) SpriteAtlasShader.sleep((byte) 68, 50L); + Component191.aClass250_2462 = null; + } + } + close(); + this.anIntArray3603 = null; + aBoolean3610 = bool; + } + + /** Write pending PCM to the backend (SourceDataLine / DirectSound). */ + void writeSamples() throws Exception { + anInt3612++; + } + + void initOnComponent(Component component) throws Exception { + anInt3596++; + } + + public AudioLine() { + aLong3602 = Component240.currentTimeMillis(-99); + aLong3614 = 0L; + aLong3618 = 0L; + anInt3615 = 0; + anInt3617 = 0; + aClass348_Sub16Array3621 = new NodeSub16[8]; + aBoolean3623 = true; + anInt3622 = 0; + aClass348_Sub16Array3619 = new NodeSub16[8]; + anInt3624 = 0; + } +} diff --git a/client/media/audio/AudioLineSub2.java b/client/media/audio/AudioLineSub2.java new file mode 100644 index 000000000..57465a038 --- /dev/null +++ b/client/media/audio/AudioLineSub2.java @@ -0,0 +1,52 @@ +/* AudioLineSub2 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.awt.*; + +final class AudioLineSub2 +/** + * RENAMED from `Class279_Sub2` (JODE-obfuscated). + * Evidence: subclass of AudioLine (hierarchy) + */ extends AudioLine { + /** Native audio channel index. */ + private final int channelId; + /** Shared {@link DirectSoundAudio} peer from {@link ReflectionInvoker}. */ + private static NativeAudio nativeAudio; + + final void flush() { + nativeAudio.flush((byte) 98, channelId); + } + + final int getBufferedSamples() { + return nativeAudio.getBufferedSamples((byte) -93, channelId); + } + + /** Drop the static native peer reference. */ + public static void clearNativeAudio() { + nativeAudio = null; + } + + final void close() { + nativeAudio.close(channelId, (byte) 122); + } + + final void initOnComponent(Component component) throws Exception { + nativeAudio.initOnComponent(Component231.sampleRate, Component21.stereo, component, 27929); + } + + /** Push mixed PCM into the native channel. */ + final void writeSamples() { + nativeAudio.writeSamples(channelId, this.anIntArray3603); + } + + AudioLineSub2(ReflectionInvoker class297, int i) { + nativeAudio = (NativeAudio) class297.getNativeInterface(21); + channelId = i; + } + + final void open(int i) throws Exception { + if (i > 32768) throw new IllegalArgumentException(); + nativeAudio.open(i, channelId, (byte) 112); + } +} diff --git a/client/media/audio/AudioMixer.java b/client/media/audio/AudioMixer.java new file mode 100644 index 000000000..e1064f529 --- /dev/null +++ b/client/media/audio/AudioMixer.java @@ -0,0 +1,82 @@ +/* AudioMixer - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class250` (JODE-obfuscated). + * Audio mixer thread (implements Runnable). run() pumps an array of AudioLine (lines), calling process on each and sleeping; mixes client audio. + */ + +final class AudioMixer implements Runnable { + /** Primary / secondary output lines. */ + volatile AudioLine[] lines = new AudioLine[2]; + static int anInt3219; + static int[] anIntArray3220; + /** Set to stop the mixer loop. */ + volatile boolean stopRequested = false; + static int anInt3222; + /** True while {@link #run} is inside the mix loop. */ + volatile boolean running = false; + static int anInt3224; + static int anInt3225; + static RenderableObject[] aClass318_Sub1Array3226; + static int anInt3227 = 0; + ReflectionInvoker invoker; + + /** Mask {@code directlogin} password chars with {@code *} for console echo. */ + static final String redactConsoleLine(byte i, String string) { + if (i != 31) method1911((byte) 87); + anInt3222++; + String string_0_ = null; + int i_1_ = string.indexOf("--> "); + if (i_1_ >= 0) { + string_0_ = string.substring(0, 4 + i_1_); + string = string.substring(i_1_ + 4); + } + if (string.startsWith("directlogin ")) { + int i_2_ = string.indexOf(" ", "directlogin ".length()); + if (i_2_ >= 0) { + int i_3_ = string.length(); + string = string.substring(0, i_2_) + " "; + for (int i_4_ = 1 + i_2_; i_4_ < i_3_; i_4_++) + string += "*"; + } + } + if (string_0_ == null) return string; + return string_0_ + string; + } + + public final void run() { + this.running = true; + anInt3224++; + try { + while (!this.stopRequested) { + for (int i = 0; i < 2; i++) { + AudioLine class279 = this.lines[i]; + if (class279 != null) class279.process(-6858); + } + SpriteAtlasShader.sleep((byte) -107, 10L); + DummyClass.pulseAwtQueue((byte) -42, null, (this.invoker)); + } + } catch (Exception exception) { + ClientErrorReporter.reportError(null, exception, 15004); + } finally { + this.running = false; + } + } + + public static void method1910(int i) { + anIntArray3220 = null; + if (i != 0) method1910(-18); + aClass318_Sub1Array3226 = null; + } + + static final void method1911(byte i) { + if (i != 99) anIntArray3220 = null; + OpenGlShader.aClass32_7415 = new Component299(8); + anInt3219++; + StaticElementRenderer.anInt6450 = 0; + for (RenderableSub10 class318_sub10 = (RenderableSub10) InflaterDecompressor.aClass243_2077.method1872(8); class318_sub10 != null; class318_sub10 = (RenderableSub10) InflaterDecompressor.aClass243_2077.method1878((byte) -115)) + class318_sub10.method2530(); + } +} diff --git a/client/media/audio/SourceAudioLine.java b/client/media/audio/SourceAudioLine.java new file mode 100644 index 000000000..a42de577c --- /dev/null +++ b/client/media/audio/SourceAudioLine.java @@ -0,0 +1,91 @@ +/* SourceAudioLine - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class279_Sub1` (JODE-obfuscated). + * Audio output line backed by a javax.sound SourceDataLine. Opens/closes the line (open/2091) and writes PCM via AudioSystem. + */ + +import javax.sound.sampled.*; +import java.awt.*; + +final class SourceAudioLine extends AudioLine { + /** SourceDataLine buffer size in samples. */ + private int bufferSize; + /** Scratch PCM bytes for {@link #writeSamples}. */ + private byte[] pcmBytes; + /** Active javax.sound output line. */ + private SourceDataLine sourceDataLine; + /** True if a "SoundMax" mixer was detected (needs reopen-on-flush). */ + private boolean soundmaxMixer = false; + /** Output {@link AudioFormat} (16-bit, sampleRate, mono/stereo). */ + private AudioFormat audioFormat; + static Class aClass6180; + + final void close() { + if (null != sourceDataLine) { + sourceDataLine.close(); + sourceDataLine = null; + } + } + + final void open(int i) throws LineUnavailableException { + try { + DataLine.Info info = (new DataLine.Info((aClass6180 == null ? (aClass6180 = SourceDataLine.class) : aClass6180), audioFormat, i << (Component21.stereo ? 2 : 1))); + sourceDataLine = (SourceDataLine) AudioSystem.getLine(info); + sourceDataLine.open(); + sourceDataLine.start(); + bufferSize = i; + } catch (LineUnavailableException lineunavailableexception) { + if (1 == WaterSurfaceShader.bitCount(i, (byte) 43)) { + sourceDataLine = null; + throw lineunavailableexception; + } else open(Component373.nextPowerOfTwo(i, (byte) 108)); + } + } + + final void initOnComponent(Component component) { + Mixer.Info[] infos = AudioSystem.getMixerInfo(); + if (null != infos) { + Mixer.Info[] infos_0_ = infos; + for (int i = 0; i < infos_0_.length; i++) { + Mixer.Info info = infos_0_[i]; + if (info != null) { + String string = info.getName(); + if (null != string && string.toLowerCase().indexOf("soundmax") >= 0) soundmaxMixer = true; + } + } + } + audioFormat = new AudioFormat((float) Component231.sampleRate, 16, Component21.stereo ? 2 : 1, true, false); + pcmBytes = new byte[256 << (!Component21.stereo ? 1 : 2)]; + } + + final int getBufferedSamples() { + return bufferSize - (sourceDataLine.available() >> (Component21.stereo ? 2 : 1)); + } + + final void flush() throws LineUnavailableException { + sourceDataLine.flush(); + if (soundmaxMixer) { + sourceDataLine.close(); + sourceDataLine = null; + DataLine.Info info = (new DataLine.Info((aClass6180 == null ? (aClass6180 = SourceDataLine.class) : aClass6180), audioFormat, bufferSize << (!Component21.stereo ? 1 : 2))); + sourceDataLine = (SourceDataLine) AudioSystem.getLine(info); + sourceDataLine.open(); + sourceDataLine.start(); + } + } + + final void writeSamples() { + int i = 256; + if (Component21.stereo) i <<= 1; + for (int i_1_ = 0; i_1_ < i; i_1_++) { + int i_2_ = this.anIntArray3603[i_1_]; + if ((i_2_ + 8388608 & ~0xffffff) != 0) i_2_ = 0x7fffff ^ i_2_ >> 31; + pcmBytes[i_1_ * 2] = (byte) (i_2_ >> 8); + pcmBytes[i_1_ * 2 + 1] = (byte) (i_2_ >> 16); + } + sourceDataLine.write(pcmBytes, 0, i << 1); + } +} diff --git a/client/media/ogg/OggStream.java b/client/media/ogg/OggStream.java new file mode 100644 index 000000000..93c9ca54d --- /dev/null +++ b/client/media/ogg/OggStream.java @@ -0,0 +1,157 @@ +/* OggStream - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub23` (JODE-obfuscated). + * Abstract Ogg audio-stream decoder (extends Node). Declares shutdown(byte) and handlePacket(byte,OggPacket); concrete subclasses decode Ogg packets from various sources. + */ + +import jagtheora.ogg.OggPacket; +import jagtheora.ogg.OggStreamState; + +abstract class OggStream extends Node { + static int anInt6863; + static int anInt6864; + static float[] aFloatArray6865 = new float[16384]; + static int anInt6866; + static float[] aFloatArray6867 = new float[16384]; + int anInt6868; + OggStreamState anOggStreamState6869; + static int anInt6870; + + static final int method2960(boolean bool, int i) { + if (i >= -16) aFloatArray6865 = null; + anInt6870++; + int i_0_ = Buffer.anInt7207; + while_128_: + do { + do { + if (i_0_ == 0) { + if (bool) return 0; + return DefinitionSub8.anInt9157; + } else if (i_0_ != 1) { + if (i_0_ == 2) break; + break while_128_; + } + return DefinitionSub8.anInt9157; + } while (false); + return 0; + } while (false); + return 0; + } + + abstract void shutdown(byte i); + + public static void method2962(int i) { + aFloatArray6865 = null; + aFloatArray6867 = null; + if (i != -31055) method2966(-119, -98, true); + } + + final void method2963(OggPacket oggpacket, int i) { + handlePacket((byte) -120, oggpacket); + if (i != 16384) aFloatArray6867 = null; + anInt6863++; + this.anInt6868++; + } + + abstract void handlePacket(byte i, OggPacket oggpacket); + + static final void method2965(String string, int i, boolean bool, int i_1_) { + anInt6866++; + Component38.method1406(true); + if (i == 0) { + NodeSub8.toolkit = Component65.method958(true, 0, DefinitionSub4.aD9113, Component192.aClass348_Sub51_3959.aClass239_Sub20_7248.method1808(-32350) * 2, DisplayModeManagerContainer50.gameCanvas, Component257.aClass45_4796); + if (string != null) { + NodeSub8.toolkit.GA(0); + Component184 class143 = Component388.method1819(DisplayModeManagerContainer167.p12FullGroupId, 0, -117, Component65.aClass45_1627); + BitmapFont class324 = (NodeSub8.toolkit.method3686(class143, Component170.method1519(Component158.aClass45_322, DisplayModeManagerContainer167.p12FullGroupId, 0), true)); + Component211.method1170((byte) -89); + Component149.method3511(true, class324, class143, string, 2, NodeSub8.toolkit); + } + } else { + GraphicsToolkit var_ha = null; + if (string != null) { + var_ha = Component65.method958(true, 0, DefinitionSub4.aD9113, 0, DisplayModeManagerContainer50.gameCanvas, Component257.aClass45_4796); + var_ha.GA(0); + Component184 class143 = Component388.method1819(DisplayModeManagerContainer167.p12FullGroupId, 0, -115, Component65.aClass45_1627); + BitmapFont class324 = var_ha.method3686(class143, Component170.method1519((Component158.aClass45_322), DisplayModeManagerContainer167.p12FullGroupId, 0), true); + Component211.method1170((byte) -107); + Component149.method3511(true, class324, class143, string, i_1_ + 2, var_ha); + } + try { + NodeSub8.toolkit = Component65.method958(true, i, DefinitionSub4.aD9113, 2 * Component192.aClass348_Sub51_3959.aClass239_Sub20_7248.method1808(i_1_ + -32350), DisplayModeManagerContainer50.gameCanvas, Component257.aClass45_4796); + if (string != null) { + var_ha.GA(0); + Component184 class143 = Component388.method1819(DisplayModeManagerContainer167.p12FullGroupId, 0, -51, Component65.aClass45_1627); + BitmapFont class324 = (var_ha.method3686(class143, Component170.method1519(Component158.aClass45_322, DisplayModeManagerContainer167.p12FullGroupId, 0), true)); + Component211.method1170((byte) -26); + Component149.method3511(true, class324, class143, string, i_1_ + 2, var_ha); + } + if (NodeSub8.toolkit.method3693()) { + boolean bool_2_ = true; + try { + bool_2_ = (DefinitionSub20.aClass348_Sub4_9264.anInt6609) > 256; + } catch (Throwable throwable) { + /* empty */ + } + NodeBase var_za; + if (!bool_2_) var_za = NodeSub8.toolkit.method3702(104857600); + else var_za = NodeSub8.toolkit.method3702(146800640); + NodeSub8.toolkit.method3651(var_za); + } + } catch (Throwable throwable) { + int i_3_ = Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350); + if (i_3_ == 2) GpsOverlay.aBoolean1952 = true; + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub25_7271), 0); + method2965(string, i_3_, bool, i_1_); + return; + } finally { + if (var_ha != null) { + try { + var_ha.method3635((byte) -111); + } catch (Throwable throwable) { + /* empty */ + } + } + } + } + Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1826(!bool, -142238264); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub25_7271), i); + Buffer.disposeActiveToolkit(i_1_ + -78); + NodeSub8.toolkit.method3650(10000); + NodeSub8.toolkit.X(32); + Component270.aClass101_2123 = NodeSub8.toolkit.method3654(); + Cp1252Decoder.aClass101_5209 = NodeSub8.toolkit.method3654(); + Component200.method2196((byte) -9); + NodeSub8.toolkit.method3630(Component192.aClass348_Sub51_3959.aClass239_Sub2_7228.method1726(-32350) == 1); + if (NodeSub8.toolkit.method3627()) DefinitionSub33.method3137(Component192.aClass348_Sub51_3959.aClass239_Sub12_7243.method1771(-32350) == 1, (byte) -24); + Component263.method873(AbstractShaderSub4.anInt7319 >> 3, 21719, NodeSub8.toolkit, ParametricDefinition.anInt9109 >> 3); + DisplayModeManagerContainer154.method773(true); + r.aBoolean9719 = false; + NativeLibraryLoader.cachedDisplayModes = null; + RuntimeException_Sub1.aBoolean4604 = true; + HashNodeSub3.method3179(i_1_); + } + + OggStream(OggStreamState oggstreamstate) { + this.anOggStreamState6869 = oggstreamstate; + } + + static final void method2966(int i, int i_4_, boolean bool) { + anInt6864++; + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i, (byte) 105, 14); + if (bool != false) aFloatArray6865 = null; + class348_sub42_sub15.method3246(-25490); + class348_sub42_sub15.anInt9652 = i_4_; + } + + static { + double d = 3.834951969714103E-4; + for (int i = 0; i < 16384; i++) { + aFloatArray6865[i] = (float) Math.sin(d * (double) i); + aFloatArray6867[i] = (float) Math.cos((double) i * d); + } + } +} diff --git a/client/media/ogg/OggStreamReader.java b/client/media/ogg/OggStreamReader.java new file mode 100644 index 000000000..076d01798 --- /dev/null +++ b/client/media/ogg/OggStreamReader.java @@ -0,0 +1,50 @@ +/* OggStreamReader - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub23_Sub3` (JODE-obfuscated). + * Ogg stream read over a network Socket (extends OggStream). openSocketStream(Socket,byte,int) opens the stream; handlePacket consumes OggPacket. + */ + +import jagtheora.ogg.OggPacket; +import jagtheora.ogg.OggStreamState; + +import java.io.IOException; +import java.net.Socket; + +final class OggStreamReader extends OggStream { + static int anInt9040; + static int anInt9041 = 0; + static int[] anIntArray9042; + static String aString9043 = null; + static short aShort9044 = 256; + static int anInt9045; + static int anInt9046; + + final void handlePacket(byte i, OggPacket oggpacket) { + if (i >= -91) anInt9041 = -51; + anInt9046++; + } + + public static void method2981(boolean bool) { + anIntArray9042 = null; + if (bool != false) anInt9041 = -95; + aString9043 = null; + } + + static final SocketStream openSocketStream(Socket socket, byte i, int i_0_) throws IOException { + int i_1_ = -41 / ((i - -40) / 42); + anInt9040++; + return new TcpSocketStream(socket, i_0_); + } + + final void shutdown(byte i) { + anInt9045++; + if (i != 13) shutdown((byte) -50); + } + + OggStreamReader(OggStreamState oggstreamstate) { + super(oggstreamstate); + } +} diff --git a/client/media/ogg/OggUrlStream.java b/client/media/ogg/OggUrlStream.java new file mode 100644 index 000000000..bec99c47d --- /dev/null +++ b/client/media/ogg/OggUrlStream.java @@ -0,0 +1,152 @@ +/* OggUrlStream - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub23_Sub1` (JODE-obfuscated). + * URL-backed Ogg audio stream. extends OggStream; reads Ogg data from a java.net.URL (method2967 builds the stream from a DisplayModeManagerContainer370 resource). + */ + +import jagtheora.ogg.OggPacket; +import jagtheora.ogg.OggStreamState; +import jagtheora.vorbis.DSPState; +import jagtheora.vorbis.VorbisBlock; +import jagtheora.vorbis.VorbisComment; +import jagtheora.vorbis.VorbisInfo; + +import java.net.URL; + +final class OggUrlStream extends OggStream { + static int anInt8989; + static int anInt8990; + static int anInt8991; + static ReflectionInvoker aClass297_8992; + private DSPState aDSPState8993; + private ImageTagText aClass163_8994; + private NodeSub16Sub2 aClass348_Sub16_Sub2_8995; + static byte[][] aByteArrayArray8996; + static int anInt8997; + static int anInt8998; + static int anInt8999; + private VorbisBlock aVorbisBlock9000; + private int anInt9001; + private VorbisComment aVorbisComment9002; + static int anInt9003; + static int anInt9004; + private double aDouble9005; + private final VorbisInfo aVorbisInfo9006 = new VorbisInfo(); + + static final ComponentDownloader method2967(int i, DisplayModeManagerContainer370 class64, int i_0_, int i_1_, int i_2_) { + anInt8991++; + if (i_2_ != 2) aByteArrayArray8996 = null; + if (class64 == null) return null; + ComponentDownloader class30 = new ComponentDownloader(i, i_1_, i_0_, class64.ShaderImpl(), class64.V(), class64.RA(), class64.fa(), class64.EA(), class64.HA(), class64.G()); + return class30; + } + + OggUrlStream(OggStreamState oggstreamstate) { + super(oggstreamstate); + aVorbisComment9002 = new VorbisComment(); + } + + public static void method2968(byte i) { + aClass297_8992 = null; + aByteArrayArray8996 = null; + if (i > -114) method2968((byte) -12); + } + + final int method2969(int i) { + if (i != -11020) aVorbisComment9002 = null; + anInt8989++; + if (aClass348_Sub16_Sub2_8995 != null) return aClass348_Sub16_Sub2_8995.method2829(i + 10949); + return 0; + } + + static final DisplayModeManagerContainer368 method2970(int i, Buffer class348_sub49) { + anInt8998++; + if (i != 2) method2972(null, -114, 15); + return new DisplayModeManagerContainer368(class348_sub49.readShort(13638), class348_sub49.readShort(i + 13636), class348_sub49.readShort(13638), class348_sub49.readShort(i ^ 0x3544), class348_sub49.readShort(13638), class348_sub49.readShort(i + 13636), class348_sub49.readShort(13638), class348_sub49.readShort(13638), class348_sub49.readMedium(-1), class348_sub49.readUnsignedByte(255)); + } + + final NodeSub16Sub2 method2971(int i) { + if (i > -6) return null; + anInt8997++; + return aClass348_Sub16_Sub2_8995; + } + + static final boolean method2972(String string, int i, int i_3_) { + anInt9004++; + if (aClass297_8992.signed) { + Component223.aClass161_125 = new DisplayModeManagerContainer254(); + Component223.aClass161_125.anInt2143 = i; + Component223.aClass161_125.aString2147 = string; + if (DisplayModeManagerContainer345.aClass364_165 != Component326.LIVE) { + Component223.aClass161_125.anInt2138 = 50000 - -Component223.aClass161_125.anInt2143; + Component223.aClass161_125.anInt2148 = 40000 - -Component223.aClass161_125.anInt2143; + } + if (i < Component304.aClass110_Sub1Array1146.length && Component304.aClass110_Sub1Array1146[i] != null) Component111.anInt3234 = (Component304.aClass110_Sub1Array1146[i].anInt1708); + return true; + } + String string_4_ = ""; + if (Component326.LIVE != DisplayModeManagerContainer345.aClass364_165) string_4_ = ":" + (7000 + i); + String string_5_ = ""; + if (Component205.settingsCookie != null) string_5_ = "/p=" + Component205.settingsCookie; + String string_6_ = ("http://" + string + string_4_ + "/l=" + ObjectDeserializer.languageId + "/a=" + Connection.affiliateId + string_5_ + "/j" + (!Component156.aBoolean3697 ? "0" : "1") + ",o" + (NodeSub37.aBoolean6997 ? "1" : "0") + ",a2"); + try { + NpcComposition.aClient1367.getAppletContext().showDocument(new URL(string_6_), "_self"); + if (i_3_ >= -17) aClass297_8992 = null; + } catch (Exception exception) { + return false; + } + return true; + } + + final double method2973(byte i) { + anInt8999++; + double d = aDouble9005; + if (i != 123) return 0.20418061173976032; + if (aClass348_Sub16_Sub2_8995 != null) { + d = aClass348_Sub16_Sub2_8995.method2837(i ^ ~0x5599); + if (d < 0.0) d = aDouble9005; + } + return (double) -(256.0F / (float) Component231.sampleRate) + d; + } + + final void shutdown(byte i) { + if (aVorbisBlock9000 != null) aVorbisBlock9000.a(); + anInt9003++; + if (aDSPState8993 != null) aDSPState8993.a(); + aVorbisComment9002.a(); + if (i != 13) method2967(-99, null, -83, -13, 63); + aVorbisInfo9006.a(); + if (aClass348_Sub16_Sub2_8995 != null) aClass348_Sub16_Sub2_8995.method2836(-1); + } + + final void handlePacket(byte i, OggPacket oggpacket) { + anInt8990++; + if (this.anInt6868 < 3) { + int i_7_ = aVorbisInfo9006.headerIn(aVorbisComment9002, oggpacket); + if (i_7_ < 0) throw new IllegalStateException(String.valueOf(i_7_)); + if (this.anInt6868 == 2) { + if (aVorbisInfo9006.channels > 2 || aVorbisInfo9006.channels < 1) throw new RuntimeException(String.valueOf(aVorbisInfo9006.channels)); + aDSPState8993 = new DSPState(aVorbisInfo9006); + aVorbisBlock9000 = new VorbisBlock(aDSPState8993); + aClass163_8994 = new ImageTagText(aVorbisInfo9006.rate, Component231.sampleRate); + aClass348_Sub16_Sub2_8995 = new NodeSub16Sub2(aVorbisInfo9006.channels); + } + } else { + if (aVorbisBlock9000.synthesis(oggpacket) == 0) aDSPState8993.blockIn(aVorbisBlock9000); + float[][] fs = aDSPState8993.pcmOut(aVorbisInfo9006.channels); + aDouble9005 = aDSPState8993.granuleTime(); + if (aDouble9005 == -1.0) aDouble9005 = (float) anInt9001 / (float) aVorbisInfo9006.rate; + aDSPState8993.read(fs[0].length); + anInt9001 += fs[0].length; + HashNodeSub4 class348_sub42_sub4 = aClass348_Sub16_Sub2_8995.method2838(fs[0].length, aDouble9005, 1401320384); + InputHandler.quantizeFloatsToShorts(16383, (class348_sub42_sub4.aShortArrayArray9518), fs); + for (int i_8_ = 0; i_8_ < aVorbisInfo9006.channels; i_8_++) + class348_sub42_sub4.aShortArrayArray9518[i_8_] = aClass163_8994.method1268(-56, (class348_sub42_sub4.aShortArrayArray9518[i_8_])); + aClass348_Sub16_Sub2_8995.method2835(class348_sub42_sub4, 30700); + } + if (i > -91) shutdown((byte) -106); + } +} diff --git a/client/media/video/JagTheoraDecoder.java b/client/media/video/JagTheoraDecoder.java new file mode 100644 index 000000000..a38c6dae2 --- /dev/null +++ b/client/media/video/JagTheoraDecoder.java @@ -0,0 +1,365 @@ +/* JagTheoraDecoder - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class55` (JODE-obfuscated). + * JagTheora OGG/video decoder. abstract class; imports jagtheora.ogg.* (OggPacket/OggPage/OggStreamState/OggSyncState) and loads the native 'jagtheora' library (logs 'Failed to load jagtheora library'). + */ + +import jagtheora.ogg.OggPacket; +import jagtheora.ogg.OggPage; +import jagtheora.ogg.OggStreamState; +import jagtheora.ogg.OggSyncState; + +import java.io.IOException; + +abstract class JagTheoraDecoder { + static int anInt978; + static boolean aBoolean979; + static int anInt980; + private OggPage anOggPage981; + static int anInt982; + private boolean aBoolean983; + static int anInt984 = 4; + static int anInt985; + static int anInt986; + private final OggSyncState anOggSyncState987; + static int anInt988; + static int anInt989; + static int anInt990; + private boolean aBoolean991; + static int anInt992; + private final OggPacket anOggPacket993; + static int anInt994; + private byte[] aByteArray995; + static int anInt996; + static int anInt997; + static int anInt998; + private Component179 aClass348_Sub23_Sub4_999; + static int anInt1000; + private DisplayModeManagerContainer64 aClass348_Sub23_Sub2_1001; + static int anInt1002; + static int anInt1003; + static int anInt1004; + static int anInt1005; + private boolean aBoolean1006; + private boolean aBoolean1007; + private OggUrlStream aClass348_Sub23_Sub1_1008; + private String aString1009; + static float aFloat1010; + private final LruCache aClass356_1011; + + private final void method504(int i) { + if (i != 1999) aByteArray995 = null; + anInt982++; + for (OggStream class348_sub23 = (OggStream) aClass356_1011.first(0); class348_sub23 != null; class348_sub23 = (OggStream) aClass356_1011.next(0)) { + if (class348_sub23 instanceof Component179) { + Component179 class348_sub23_sub4 = (Component179) class348_sub23; + while (class348_sub23_sub4.anInt6868 <= 8 || (method519(i ^ 0x7b2) > (double) class348_sub23_sub4.method2984((byte) 97))) { + if (class348_sub23_sub4.anOggStreamState6869.packetOut(anOggPacket993) != 1) break; + class348_sub23_sub4.method2963(anOggPacket993, i + 14385); + } + } + } + method509(i + -2012, aString1009); + } + + private final void method505(byte i) throws IOException { + anInt996++; + while (aClass348_Sub23_Sub2_1001.anOggStreamState6869.packetOut(anOggPacket993) != 1) { + OggStream class348_sub23 = method521(1); + if (class348_sub23 == null) { + if (aBoolean991) method511(-2); + return; + } else if (class348_sub23 == aClass348_Sub23_Sub4_999) method504(1999); + } + aClass348_Sub23_Sub2_1001.method2963(anOggPacket993, 16384); + if (i < 58) anOggPage981 = null; + } + + final DisplayModeManagerContainer64 method506(boolean bool) { + anInt1002++; + if (bool != false) return null; + return aClass348_Sub23_Sub2_1001; + } + + private final boolean method507(boolean bool) { + if (bool != false) method511(-113); + anInt986++; + if (aClass348_Sub23_Sub1_1008 != null) { + return !aClass348_Sub23_Sub2_1001.method2976(-1) || method519(126) > aClass348_Sub23_Sub2_1001.method2980((byte) 100); + } + double d = aClass348_Sub23_Sub2_1001.method2977(0); + return d == 0.0 || (double) Component240.currentTimeMillis(-74) >= 1000.0 / d + (double) aClass348_Sub23_Sub2_1001.method2979(30); + } + + final void method508(int i) { + anInt989++; + if (!aBoolean1007) { + OggStream class348_sub23 = (OggStream) aClass356_1011.first(0); + if (i != 1) aBoolean991 = true; + for (/**/; class348_sub23 != null; class348_sub23 = (OggStream) aClass356_1011.next(i ^ 0x1)) { + class348_sub23.shutdown((byte) 13); + class348_sub23.anOggStreamState6869.a(); + } + anOggPacket993.a(); + anOggPage981.a(); + anOggSyncState987.a(); + aBoolean1007 = true; + } + } + + final void method509(int i, String string) { + anInt980++; + aString1009 = string; + if (aString1009 == null) aClass348_Sub23_Sub4_999 = null; + else { + if (i > -4) anInt984 = -61; + if (aClass348_Sub23_Sub4_999 != null && !aString1009.equals(aClass348_Sub23_Sub4_999.method2986(52))) aClass348_Sub23_Sub4_999 = null; + if (aClass348_Sub23_Sub4_999 == null) { + for (OggStream class348_sub23 = (OggStream) aClass356_1011.first(0); class348_sub23 != null; class348_sub23 = (OggStream) aClass356_1011.next(0)) { + if (class348_sub23 instanceof Component179) { + Component179 class348_sub23_sub4 = (Component179) class348_sub23; + if (aString1009.equals(class348_sub23_sub4.method2986(41))) { + aClass348_Sub23_Sub4_999 = class348_sub23_sub4; + break; + } + } + } + } + } + } + + final boolean method510(byte i) { + anInt1004++; + int i_0_ = 65 / ((i - -74) / 47); + if (!aBoolean1007 && !aBoolean991) return false; + return aClass348_Sub23_Sub1_1008 == null || aClass348_Sub23_Sub1_1008.method2969(-11020) <= 0; + } + + private final void method511(int i) { + anInt1003++; + for (OggStream class348_sub23 = (OggStream) aClass356_1011.first(0); class348_sub23 != null; class348_sub23 = (OggStream) aClass356_1011.next(i + 2)) { + if (class348_sub23 != aClass348_Sub23_Sub2_1001) { + while (class348_sub23.anOggStreamState6869.packetOut() == 1) class348_sub23.method2963(anOggPacket993, i ^ ~0x4001); + } + } + if (aClass348_Sub23_Sub2_1001 != null) { + if (i != -2) method518(null, (byte) 10); + for (int i_1_ = 0; i_1_ < 10 && method507(false); i_1_++) { + if (aClass348_Sub23_Sub2_1001.anOggStreamState6869.packetOut() != 1) { + method508(1); + break; + } + aClass348_Sub23_Sub2_1001.method2963(anOggPacket993, 16384); + } + } + } + + final OggUrlStream method512(int i) { + if (i != 0) method512(120); + anInt1005++; + return aClass348_Sub23_Sub1_1008; + } + + final Component179 method513(int i) { + anInt978++; + if (i != 50) aClass348_Sub23_Sub1_1008 = null; + return aClass348_Sub23_Sub4_999; + } + + final void method514(byte i, boolean bool) { + anInt985++; + if (aClass348_Sub23_Sub1_1008 != null) { + NodeSub16Sub2 class348_sub16_sub2 = aClass348_Sub23_Sub1_1008.method2971(-96); + if (class348_sub16_sub2 != null) class348_sub16_sub2.method2833(1, bool); + } + if (i <= 114) aBoolean991 = true; + aBoolean1006 = !aBoolean1006; + } + + static final void method515(int i, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_) { + anInt990++; + int i_7_ = 0; + int i_8_ = i_4_; + int i_9_ = i_5_ * i_5_; + int i_10_ = i_4_ * i_4_; + int i_11_ = i_10_ << 1; + int i_12_ = i_9_ << 1; + int i_13_ = -27 / ((38 - i_6_) / 62); + int i_14_ = i_4_ << 1; + int i_15_ = i_11_ + i_9_ * (1 + -i_14_); + int i_16_ = -(i_12_ * (i_14_ - 1)) + i_10_; + int i_17_ = i_9_ << 2; + int i_18_ = i_10_ << 2; + int i_19_ = (3 + (i_7_ << 1)) * i_11_; + int i_20_ = i_12_ * ((i_8_ << 1) - 3); + int i_21_ = i_18_ * (i_7_ + 1); + MenuOpener.fillInts(-27, i_2_ + i_5_, DisplayModeManagerContainer167.anIntArrayArray255[i_3_], -i_5_ + i_2_, i); + int i_22_ = i_17_ * (-1 + i_8_); + while (i_8_ > 0) { + if (i_15_ < 0) { + while (i_15_ < 0) { + i_16_ += i_21_; + i_15_ += i_19_; + i_7_++; + i_21_ += i_18_; + i_19_ += i_18_; + } + } + if (i_16_ < 0) { + i_16_ += i_21_; + i_15_ += i_19_; + i_7_++; + i_21_ += i_18_; + i_19_ += i_18_; + } + i_16_ += -i_20_; + i_15_ += -i_22_; + i_22_ -= i_17_; + i_20_ -= i_17_; + int i_23_ = /*---*/i_8_ + i_3_; + int i_24_ = i_3_ - -i_8_; + int i_25_ = i_2_ - -i_7_; + int i_26_ = i_2_ + -i_7_; + MenuOpener.fillInts(-27, i_25_, DisplayModeManagerContainer167.anIntArrayArray255[i_23_], i_26_, i); + MenuOpener.fillInts(-27, i_25_, DisplayModeManagerContainer167.anIntArrayArray255[i_24_], i_26_, i); + } + } + + abstract int method516(byte i, byte[] is) throws IOException; + + final void method517(int i) throws IOException { + if (i == -2) { + anInt988++; + if (!aBoolean1006) { + while (!aBoolean1007) { + OggStream class348_sub23; + if (!aBoolean983) { + class348_sub23 = method521(1); + if (class348_sub23 == null) { + if (aBoolean991) method511(i); + break; + } + if (class348_sub23 == null) throw new IllegalStateException(); + aBoolean983 = true; + } else class348_sub23 = ((OggStream) (aClass356_1011.get(anOggPage981.getSerialNumber(), -6008))); + if (aClass348_Sub23_Sub1_1008 == class348_sub23) { + if (aClass348_Sub23_Sub1_1008.method2969(-11020) >= 50) break; + while (aClass348_Sub23_Sub1_1008.anOggStreamState6869.packetOut(anOggPacket993) == 1) { + aClass348_Sub23_Sub1_1008.method2963(anOggPacket993, i + 16386); + method504(1999); + if (aClass348_Sub23_Sub2_1001 != null) { + double d = aClass348_Sub23_Sub2_1001.method2980((byte) 100); + for (int i_27_ = 0; i_27_ < 10 && method507(false); i_27_++) { + method505((byte) 98); + if (aBoolean1007) return; + } + if (aClass348_Sub23_Sub2_1001.method2980((byte) 100) > d) return; + } + if (aClass348_Sub23_Sub1_1008.method2969(-11020) >= 50) return; + } + } else if (!(class348_sub23 instanceof Component179)) { + if (class348_sub23 == aClass348_Sub23_Sub2_1001) { + if (aClass348_Sub23_Sub1_1008 == null && !aBoolean1006) { + for (int i_28_ = 0; i_28_ < 10 && method507(false); i_28_++) { + method505((byte) 80); + if (aBoolean1007) break; + } + break; + } + } else { + while (class348_sub23.anOggStreamState6869.packetOut(anOggPacket993) == 1) { + if ((class348_sub23.anInt6868) == 1 && (class348_sub23 instanceof Component179)) method509(-22, aString1009); + class348_sub23.method2963(anOggPacket993, 16384); + } + } + } else method504(1999); + aBoolean983 = false; + } + } + } + } + + static final void method518(String string, byte i) { + System.exit(1); + anInt997++; + int i_29_ = 97 % ((-66 - i) / 54); + } + + final double method519(int i) { + int i_30_ = 6 % ((i - 89) / 35); + anInt992++; + if (aClass348_Sub23_Sub1_1008 != null) return aClass348_Sub23_Sub1_1008.method2973((byte) 123); + if (aClass348_Sub23_Sub2_1001 != null) return aClass348_Sub23_Sub2_1001.method2980((byte) 100); + return 0.0; + } + + static final boolean method520(Interface10 interface10, int i) { + anInt1000++; + Component44 class51 = GradientPreset.aClass263_9195.method2005(0, interface10.method42(-94)); + if (class51.anInt875 == -1) return true; + SceneManager class218 = Component245.aClass141_117.method1173((byte) 31, class51.anInt875); + if (i == class218.anInt2853) return true; + return class218.method1593(106); + } + + private final OggStream method521(int i) throws IOException { + anInt998++; + if (aBoolean1007) throw new IllegalStateException(); + if (aBoolean991) return null; + while (anOggSyncState987.pageOut(anOggPage981) <= 0) { + int i_31_ = method516((byte) 21, aByteArray995); + if (i_31_ == -1) { + aBoolean991 = true; + return null; + } + if (i_31_ == 0) return null; + if (!anOggSyncState987.write(aByteArray995, i_31_)) throw new RuntimeException(""); + } + int i_32_ = anOggPage981.getSerialNumber(); + if (i != 1) aClass348_Sub23_Sub1_1008 = null; + if (!anOggPage981.isBOS()) { + OggStream class348_sub23 = ((OggStream) aClass356_1011.get(i_32_, -6008)); + if (!class348_sub23.anOggStreamState6869.pageIn(anOggPage981)) throw new IllegalStateException(); + return class348_sub23; + } + OggStreamState oggstreamstate = new OggStreamState(i_32_); + if (!oggstreamstate.pageIn(anOggPage981)) throw new IllegalStateException(); + if (oggstreamstate.packetPeek(anOggPacket993) != 1) throw new IllegalStateException(); + OggStream class348_sub23; + if (aClass348_Sub23_Sub2_1001 == null && anOggPacket993.isTheora()) { + aClass348_Sub23_Sub2_1001 = new DisplayModeManagerContainer64(oggstreamstate); + class348_sub23 = aClass348_Sub23_Sub2_1001; + } else if (aClass348_Sub23_Sub1_1008 == null && anOggPacket993.isVorbis()) { + aClass348_Sub23_Sub1_1008 = new OggUrlStream(oggstreamstate); + class348_sub23 = aClass348_Sub23_Sub1_1008; + } else { + byte[] is = anOggPacket993.getData(); + StringBuffer stringbuffer = new StringBuffer(); + for (int i_33_ = 1; is.length > i_33_; i_33_++) { + if (!Character.isLetterOrDigit((char) is[i_33_])) break; + stringbuffer.append((char) is[i_33_]); + } + String string = stringbuffer.toString(); + if (string.equals("kate")) class348_sub23 = new Component179(oggstreamstate); + else class348_sub23 = new OggStreamReader(oggstreamstate); + } + aClass356_1011.put((byte) 92, i_32_, class348_sub23); + return class348_sub23; + } + + JagTheoraDecoder(int i) { + if (!DefinitionSub19.tryLoadNativeLibrary(-30282, "jagtheora")) throw new RuntimeException("Failed to load jagtheora library"); + aByteArray995 = new byte[i]; + anOggSyncState987 = new OggSyncState(); + anOggPage981 = new OggPage(); + anOggPacket993 = new OggPacket(); + aClass356_1011 = new LruCache(8); + } + + static { + aBoolean979 = false; + } +} diff --git a/client/media/video/TheoraVideoPlayer.java b/client/media/video/TheoraVideoPlayer.java new file mode 100644 index 000000000..624e8c991 --- /dev/null +++ b/client/media/video/TheoraVideoPlayer.java @@ -0,0 +1,489 @@ +/* TheoraVideoPlayer - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class88` (JODE-obfuscated). + * Theora video player. Uses the jagtheora native library to decode and play .ogg/theora video (cutscenes); wraps playback with Throwable/Exception guards. + */ + +import java.io.IOException; +import java.net.Socket; +import java.net.URL; + +final class TheoraVideoPlayer { + static int anInt1492; + static int anInt1493; + static int anInt1494; + static int anInt1495; + static int anInt1496; + static int anInt1497 = 0; + static int anInt1498; + static int anInt1499; + static boolean aBoolean1500 = false; + static int anInt1501; + static int anInt1502; + RenderableSub9 aClass318_Sub9_1503 = new RenderableSub9(); + static int anInt1504; + private RenderableSub9 aClass318_Sub9_1505; + + final int method840(int i) { + anInt1496++; + int i_0_ = i; + RenderableSub9 class318_sub9 = (this.aClass318_Sub9_1503.aClass318_Sub9_6469); + while (this.aClass318_Sub9_1503 != class318_sub9) { + class318_sub9 = class318_sub9.aClass318_Sub9_6469; + i_0_++; + } + return i_0_; + } + + static final Component150[] method841(int i) { + if (i > -126) printClientError(null, -66); + anInt1504++; + return (new Component150[]{ImageCache.aClass227_2568, Component265.aClass227_1591, BuildInfo.aClass227_151}); + } + + static final void method842(boolean bool) { + anInt1501++; + Component161.aClass46Array1942 = null; + if (Component210.gameCanvasAttached && MenuEntry.getWindowMode(-82) != 1) OutputStream_Sub1.method132(106, (Component49.clientState == 3) || Component49.clientState == 7, NodeBaseSub1.method3439(107), 0, NodeSub44.method3306((byte) -111), 0); + int i = 0; + if (bool != false) printClientError(null, -110); + int i_1_ = 0; + if (Component210.gameCanvasAttached) { + i = BufferCacheSub3.method4008((byte) -124); + i_1_ = Component110.method260(false); + } + Component146.method1252(i_1_, r.anInt9721, i_1_, -1, i, i + Component236.anInt4017, i_1_ - -PacketReader.anInt10432, (byte) 116, i); + if (Component161.aClass46Array1942 != null) { + ImageDefinition.method3064(i, Component257.anInt4792, true, NodeSub1.anInt6555, i_1_, Component374.aClass46_4130.anInt760, i + Component236.anInt4017, false, Component161.aClass46Array1942, -1412584499, i_1_ - -PacketReader.anInt10432); + Component161.aClass46Array1942 = null; + } + } + + static final void method843(byte i) { + anInt1499++; + LoginPrefs.tick(); + if (Component241.anInt2955 != 0 && Component241.anInt2955 != 5) { + try { + int i_2_; + if (Component212.anInt9971 != 0) i_2_ = 2000; + else i_2_ = 250; + if (i_2_ < ++Component53.anInt197) { + if (DefinitionSub8.aClass238_9165 != null) { + DefinitionSub8.aClass238_9165.close((byte) 36); + DefinitionSub8.aClass238_9165 = null; + } + if (Component212.anInt9971 >= 3) { + Component241.anInt2955 = 0; + WorldNameText.method254(-5, (byte) -111); + return; + } + if (Component205.anInt5969 != 2) ItemDefinitionProvider.aClass161_3285.method1259(0); + else Component223.aClass161_125.method1259(0); + Component212.anInt9971++; + Component241.anInt2955 = 1; + Component53.anInt197 = 0; + } + if (Component241.anInt2955 == 1) { + if (Component205.anInt5969 == 2 && !Loader.splitPorts) DisplayModeManagerContainer273.aClass144_5800 = (Component223.aClass161_125.method1262(OggUrlStream.aClass297_8992, (byte) 36)); + else DisplayModeManagerContainer273.aClass144_5800 = (ItemDefinitionProvider.aClass161_3285.method1262(OggUrlStream.aClass297_8992, (byte) 36)); + Component241.anInt2955 = 2; + } + if (Component241.anInt2955 == 2) { + if (DisplayModeManagerContainer273.aClass144_5800.status == 2) throw new IOException(); + if (DisplayModeManagerContainer273.aClass144_5800.status != 1) return; + DefinitionSub8.aClass238_9165 = OggStreamReader.openSocketStream(((Socket) (DisplayModeManagerContainer273.aClass144_5800.result)), (byte) -118, 7500); + DisplayModeManagerContainer273.aClass144_5800 = null; + NodeSub3.method2739(0); + ParticleSystem class348_sub47 = DisplayModeManagerContainer351.method1478(true); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, DisplayModeManagerContainer109.aClass29_2339.anInt400); + HashNodeSub14.method3243(9, class348_sub47); + Component302.method1802(0); + Component241.anInt2955 = 3; + } + if (Component241.anInt2955 == 3) { + if (!DefinitionSub8.aClass238_9165.availableAtLeast(1, 107)) return; + DefinitionSub8.aClass238_9165.readBytes(1, 0, (byte) -118, (Component80.aClass348_Sub49_Sub2_3813.payload)); + int i_3_ = ((Component80.aClass348_Sub49_Sub2_3813.payload[0]) & 0xff); + if (i_3_ != 0) { + Component241.anInt2955 = 0; + WorldNameText.method254(i_3_, (byte) -113); + DefinitionSub8.aClass238_9165.close((byte) 36); + DefinitionSub8.aClass238_9165 = null; + InflaterDecompressor.returnFromLoginFailure((byte) 3); + return; + } + Component80.aClass348_Sub49_Sub2_3813.offset = 0; + Buffer class348_sub49 = new Buffer(518); + int[] is = new int[4]; + is[0] = (int) (Math.random() * 9.9999999E7); + is[1] = (int) (9.9999999E7 * Math.random()); + is[3] = (int) (9.9999999E7 * Math.random()); + is[2] = (int) (9.9999999E7 * Math.random()); + class348_sub49.writeByte(false, 10); + class348_sub49.writeInt((byte) 91, is[0]); + class348_sub49.writeInt((byte) 96, is[1]); + class348_sub49.writeInt((byte) 95, is[2]); + class348_sub49.writeInt((byte) 127, is[3]); + class348_sub49.writeLong(0L, (byte) 70); + class348_sub49.writeString((byte) -5, DisplayModeManagerContainer51.password); + class348_sub49.writeLong(ObjectDeserializer.userHash, (byte) -124); + class348_sub49.writeLong(OutputStream_Sub2.aLong108, (byte) -112); + class348_sub49.applyRsa(Sprite.aBigInteger6921, (byte) -76, (Component269.aBigInteger8762)); + NodeSub3.method2739(0); + ParticleSystem class348_sub47 = DisplayModeManagerContainer351.method1478(true); + DisplayModeManagerContainer207 class348_sub49_sub2 = (class348_sub47.aClass348_Sub49_Sub2_7116); + if (Component205.anInt5969 == 2) { + if (Component49.clientState != 13) class348_sub49_sub2.writeByte(false, DisplayModeManagerContainer109.aClass29_2342.anInt400); + else class348_sub49_sub2.writeByte(false, DisplayModeManagerContainer109.aClass29_2344.anInt400); + class348_sub49_sub2.writeShort((byte) 107, 0); + int i_6_ = class348_sub49_sub2.offset; + class348_sub49_sub2.writeInt((byte) 117, 634); + class348_sub49_sub2.writeBytes(class348_sub49.offset, 0, class348_sub49.payload, 92); + int i_7_ = class348_sub49_sub2.offset; + class348_sub49_sub2.writeString((byte) -5, DisplayModeManagerContainer282.username); + class348_sub49_sub2.writeByte(false, (RuntimeException_Sub1.anInt4596)); + class348_sub49_sub2.writeByte(false, MenuEntry.getWindowMode(-71)); + class348_sub49_sub2.writeShort((byte) 107, Component236.anInt4017); + class348_sub49_sub2.writeShort((byte) 107, PacketReader.anInt10432); + class348_sub49_sub2.writeByte(false, Component192.aClass348_Sub51_3959.aClass239_Sub20_7248.method1808(-32350)); + BufferCacheSub2.method4002(class348_sub49_sub2, (byte) 55); + class348_sub49_sub2.writeString((byte) -5, Component205.settingsCookie); + class348_sub49_sub2.writeInt((byte) 120, Connection.affiliateId); + Buffer class348_sub49_8_ = Component192.aClass348_Sub51_3959.method3427(24); + class348_sub49_sub2.writeByte(false, (class348_sub49_8_.offset)); + class348_sub49_sub2.writeBytes(class348_sub49_8_.offset, 0, (class348_sub49_8_.payload), 74); + r.aBoolean9719 = true; + Buffer class348_sub49_9_ = new Buffer(DefinitionSub20.aClass348_Sub4_9264.method2746((byte) -76)); + DefinitionSub20.aClass348_Sub4_9264.method2747(1, class348_sub49_9_); + class348_sub49_sub2.writeBytes((class348_sub49_9_.payload).length, 0, (class348_sub49_9_.payload), -73); + class348_sub49_sub2.writeShort((byte) 107, DisplayModeManagerContainer136.anInt4718); + class348_sub49_sub2.writeLong(Component283.aLong4615, (byte) -63); + class348_sub49_sub2.writeByte(false, Component19.aString8605 == null ? 0 : 1); + if (Component19.aString8605 != null) class348_sub49_sub2.writeString((byte) -5, (Component19.aString8605)); + class348_sub49_sub2.writeByte(false, (!DefinitionSub31.method3131((byte) 50, "jagtheora") ? 0 : 1)); + Component270.method1244(64, class348_sub49_sub2); + class348_sub49_sub2.xteaEncrypt(i_7_, true, is, (class348_sub49_sub2.offset)); + class348_sub49_sub2.writeLengthShort(1809639944, -i_6_ + (class348_sub49_sub2.offset)); + } else { + class348_sub49_sub2.writeByte(false, DisplayModeManagerContainer109.aClass29_2345.anInt400); + class348_sub49_sub2.writeShort((byte) 107, 0); + int i_4_ = class348_sub49_sub2.offset; + class348_sub49_sub2.writeInt((byte) 119, 634); + class348_sub49_sub2.writeBytes(class348_sub49.offset, 0, class348_sub49.payload, -109); + int i_5_ = class348_sub49_sub2.offset; + class348_sub49_sub2.writeString((byte) -5, DisplayModeManagerContainer282.username); + class348_sub49_sub2.writeByte(false, PacketReader.currentGameType.id); + class348_sub49_sub2.writeByte(false, ObjectDeserializer.languageId); + BufferCacheSub2.method4002(class348_sub49_sub2, (byte) 55); + class348_sub49_sub2.writeString((byte) -5, Component205.settingsCookie); + class348_sub49_sub2.writeInt((byte) 106, Connection.affiliateId); + Component270.method1244(92, class348_sub49_sub2); + class348_sub49_sub2.xteaEncrypt(i_5_, true, is, (class348_sub49_sub2.offset)); + class348_sub49_sub2.writeLengthShort(1809639944, -i_4_ + (class348_sub49_sub2.offset)); + } + HashNodeSub14.method3243(-48, class348_sub47); + Component302.method1802(0); + DisplayModeManagerContainer64.aClass77_9029 = new DisplayModeManagerContainer123(is); + for (int i_10_ = 0; i_10_ < 4; i_10_++) + is[i_10_] += 50; + Component80.aClass348_Sub49_Sub2_3813.method3406(-111, is); + Component241.anInt2955 = 4; + } + if (Component241.anInt2955 == 4) { + if (!DefinitionSub8.aClass238_9165.availableAtLeast(1, 94)) return; + DefinitionSub8.aClass238_9165.readBytes(1, 0, (byte) -117, (Component80.aClass348_Sub49_Sub2_3813.payload)); + int i_11_ = ((Component80.aClass348_Sub49_Sub2_3813.payload[0]) & 0xff); + if (i_11_ != 21) { + if (i_11_ == 29) Component241.anInt2955 = 13; + else { + if (i_11_ == 1) { + Component241.anInt2955 = 5; + WorldNameText.method254(i_11_, (byte) -125); + return; + } + if (i_11_ != 2) { + if (i_11_ != 15) { + if (i_11_ == 23 && Component212.anInt9971 < 3) { + Component241.anInt2955 = 1; + Component212.anInt9971++; + Component53.anInt197 = 0; + DefinitionSub8.aClass238_9165.close((byte) 36); + DefinitionSub8.aClass238_9165 = null; + } else { + Component241.anInt2955 = 0; + WorldNameText.method254(i_11_, (byte) -87); + DefinitionSub8.aClass238_9165.close((byte) 36); + DefinitionSub8.aClass238_9165 = null; + InflaterDecompressor.returnFromLoginFailure((byte) 3); + return; + } + return; + } + Component241.anInt2955 = 14; + DefinitionSub25.anInt9341 = -2; + } else Component241.anInt2955 = 8; + } + } else Component241.anInt2955 = 7; + } + if (Component241.anInt2955 == 6) { + NodeSub3.method2739(0); + ParticleSystem class348_sub47 = DisplayModeManagerContainer351.method1478(true); + DisplayModeManagerContainer207 class348_sub49_sub2 = (class348_sub47.aClass348_Sub49_Sub2_7116); + class348_sub49_sub2.method3416(-18, DisplayModeManagerContainer64.aClass77_9029); + class348_sub49_sub2.method3408((DisplayModeManagerContainer109.aClass29_2351.anInt400), 18676); + HashNodeSub14.method3243(-87, class348_sub47); + Component302.method1802(0); + Component241.anInt2955 = 4; + } else if (Component241.anInt2955 == 7) { + if (DefinitionSub8.aClass238_9165.availableAtLeast(1, 118)) { + DefinitionSub8.aClass238_9165.readBytes(1, 0, (byte) -109, (Component80.aClass348_Sub49_Sub2_3813.payload)); + int i_12_ = 0xff & (Component80.aClass348_Sub49_Sub2_3813.payload[0]); + Component241.anInt2955 = 0; + Component227.anInt1121 = (3 + i_12_) * 60; + WorldNameText.method254(21, (byte) -95); + DefinitionSub8.aClass238_9165.close((byte) 36); + DefinitionSub8.aClass238_9165 = null; + InflaterDecompressor.returnFromLoginFailure((byte) 3); + } + } else if (Component241.anInt2955 == 13) { + if (DefinitionSub8.aClass238_9165.availableAtLeast(1, 102)) { + DefinitionSub8.aClass238_9165.readBytes(1, 0, (byte) -128, (Component80.aClass348_Sub49_Sub2_3813.payload)); + Component241.anInt2955 = 0; + HashNodeSub7.anInt9541 = 0xff & (Component80.aClass348_Sub49_Sub2_3813.payload[0]); + WorldNameText.method254(29, (byte) -97); + DefinitionSub8.aClass238_9165.close((byte) 36); + DefinitionSub8.aClass238_9165 = null; + InflaterDecompressor.returnFromLoginFailure((byte) 3); + } + } else if (Component241.anInt2955 == 8) { + if (DefinitionSub8.aClass238_9165.availableAtLeast(1, 107)) { + DefinitionSub8.aClass238_9165.readBytes(1, 0, (byte) -107, (Component80.aClass348_Sub49_Sub2_3813.payload)); + DisplayModeManagerContainer154.anInt1288 = 0xff & (Component80.aClass348_Sub49_Sub2_3813.payload[0]); + Component241.anInt2955 = 9; + } + } else { + if (Component241.anInt2955 == 9) { + DisplayModeManagerContainer207 class348_sub49_sub2 = Component80.aClass348_Sub49_Sub2_3813; + if (Component205.anInt5969 == 2) { + if (!DefinitionSub8.aClass238_9165.availableAtLeast(DisplayModeManagerContainer154.anInt1288, 93)) return; + DefinitionSub8.aClass238_9165.readBytes(DisplayModeManagerContainer154.anInt1288, 0, (byte) 60, (class348_sub49_sub2.payload)); + class348_sub49_sub2.offset = 0; + Component353.anInt2581 = class348_sub49_sub2.readUnsignedByte(255); + Component15.anInt4919 = class348_sub49_sub2.readUnsignedByte(255); + ParametricDefinition.aBoolean9103 = class348_sub49_sub2.readUnsignedByte(255) == 1; + HeapDumper.aBoolean1915 = class348_sub49_sub2.readUnsignedByte(255) == 1; + RSACipher.aBoolean4903 = class348_sub49_sub2.readUnsignedByte(255) == 1; + Component308.aBoolean5233 = class348_sub49_sub2.readUnsignedByte(255) == 1; + StringDefinition.anInt9591 = class348_sub49_sub2.readUnsignedShort(842397944); + DisplayModeManagerContainer105.aBoolean4888 = class348_sub49_sub2.readUnsignedByte(255) == 1; + DisplayModeManagerContainer310.anInt359 = class348_sub49_sub2.readSignedMedium((byte) 125); + Component387.aBoolean1900 = class348_sub49_sub2.readUnsignedByte(255) == 1; + GradientPreset.aClass263_9195.method2004(Component387.aBoolean1900, (byte) 25); + Exception_Sub1.itemDefinitions.method1934((byte) 11, Component387.aBoolean1900); + Component291.aClass278_2529.method2072((byte) 88, Component387.aBoolean1900); + } else { + if (!DefinitionSub8.aClass238_9165.availableAtLeast(DisplayModeManagerContainer154.anInt1288, 107)) return; + DefinitionSub8.aClass238_9165.readBytes(DisplayModeManagerContainer154.anInt1288, 0, (byte) 85, (class348_sub49_sub2.payload)); + class348_sub49_sub2.offset = 0; + Component353.anInt2581 = class348_sub49_sub2.readUnsignedByte(255); + Component15.anInt4919 = class348_sub49_sub2.readUnsignedByte(255); + ParametricDefinition.aBoolean9103 = class348_sub49_sub2.readUnsignedByte(255) == 1; + HeapDumper.aBoolean1915 = class348_sub49_sub2.readUnsignedByte(255) == 1; + RSACipher.aBoolean4903 = class348_sub49_sub2.readUnsignedByte(255) == 1; + Component262.anInt1758 = class348_sub49_sub2.readShort(13638); + DisplayModeManagerContainer105.aBoolean4888 = Component262.anInt1758 > 0; + DisplayModeManagerContainer136.anInt4716 = class348_sub49_sub2.readUnsignedShort(842397944); + ImageCacheStore.anInt4026 = class348_sub49_sub2.readUnsignedShort(842397944); + DisplayModeManagerContainer105.anInt4870 = class348_sub49_sub2.readUnsignedShort(842397944); + DisplayModeManagerContainer292.anInt5065 = class348_sub49_sub2.readInt((byte) -126); + PauseHandler.aClass144_9536 = OggUrlStream.aClass297_8992.reverseDns(116, DisplayModeManagerContainer292.anInt5065); + Component43.anInt4976 = class348_sub49_sub2.readUnsignedByte(255); + DisplayModeManagerContainer273.anInt5797 = class348_sub49_sub2.readUnsignedShort(842397944); + NodederUtil.anInt6632 = class348_sub49_sub2.readUnsignedShort(842397944); + Component200.aBoolean3706 = class348_sub49_sub2.readUnsignedByte(255) == 1; + Component72.localPlayer.username = Component72.localPlayer.displayName = BufferCacheSub2.aString8265 = class348_sub49_sub2.readGjstr2(-13487); + Applet_Sub1.anInt37 = class348_sub49_sub2.readUnsignedByte(255); + NodeSub1.anInt6551 = class348_sub49_sub2.readInt((byte) -126); + ShaderSub2.aClass161_5199 = new DisplayModeManagerContainer254(); + ShaderSub2.aClass161_5199.anInt2143 = class348_sub49_sub2.readUnsignedShort(842397944); + if (ShaderSub2.aClass161_5199.anInt2143 == 65535) ShaderSub2.aClass161_5199.anInt2143 = -1; + ShaderSub2.aClass161_5199.aString2147 = class348_sub49_sub2.readGjstr2(-13487); + if (Component326.LIVE != DisplayModeManagerContainer345.aClass364_165) { + ShaderSub2.aClass161_5199.anInt2138 = (50000 + (ShaderSub2.aClass161_5199.anInt2143)); + ShaderSub2.aClass161_5199.anInt2148 = (40000 + (ShaderSub2.aClass161_5199.anInt2143)); + } + if (DisplayModeManagerContainer345.aClass364_165 != DisplayModeManagerContainer154.LOCAL && ((Component223.aClass161_125.method1264((byte) 94, MenuOpener.aClass161_4839)) || (Component223.aClass161_125.method1264((byte) 112, (DefinitionSub35.aClass161_9443))))) HashNodeSub20.method3283(114); + } + if ((!ParametricDefinition.aBoolean9103 || RSACipher.aBoolean4903) && !DisplayModeManagerContainer105.aBoolean4888) { + try { + AppletInvoker.callAppletNoArgs((byte) 125, ToolkitFactory.anApplet1530, "unzap"); + } catch (Throwable throwable) { + /* empty */ + } + } else { + try { + AppletInvoker.callAppletNoArgs((byte) 125, ToolkitFactory.anApplet1530, "zap"); + } catch (Throwable throwable) { + if (Component203.aBoolean8773) { + try { + ToolkitFactory.anApplet1530.getAppletContext().showDocument(new URL(ToolkitFactory.anApplet1530.getCodeBase(), "blank.ws"), "tbi"); + } catch (Exception exception) { + /* empty */ + } + } + } + } + if (DisplayModeManagerContainer345.aClass364_165 == Component326.LIVE) { + try { + AppletInvoker.callAppletNoArgs((byte) 125, ToolkitFactory.anApplet1530, "loggedin"); + } catch (Throwable throwable) { + /* empty */ + } + } + if (Component205.anInt5969 == 2) Component241.anInt2955 = 11; + else { + Component241.anInt2955 = 0; + WorldNameText.method254(2, (byte) -92); + Component372.method1804(8839); + Buffer.setClientState(2, 7); + NodeSub3.aClass114_6584 = null; + return; + } + } + if (Component241.anInt2955 == 11) { + if (!DefinitionSub8.aClass238_9165.availableAtLeast(3, 94)) return; + DefinitionSub8.aClass238_9165.readBytes(3, 0, (byte) 11, (Component80.aClass348_Sub49_Sub2_3813.payload)); + Component241.anInt2955 = 12; + } + if (Component241.anInt2955 == 12) { + DisplayModeManagerContainer207 class348_sub49_sub2 = Component80.aClass348_Sub49_Sub2_3813; + class348_sub49_sub2.offset = 0; + if (class348_sub49_sub2.method3404(-1510)) { + if (!DefinitionSub8.aClass238_9165.availableAtLeast(1, 110)) return; + DefinitionSub8.aClass238_9165.readBytes(1, 3, (byte) -127, (class348_sub49_sub2.payload)); + } + NodeSub3.aClass114_6584 = (DisplayModeManagerContainer288.allPacketTypes(-11271)[class348_sub49_sub2.method3407(15295)]); + DefinitionSub25.anInt9341 = class348_sub49_sub2.readUnsignedShort(842397944); + Component241.anInt2955 = 10; + } + if (Component241.anInt2955 == 10) { + if (DefinitionSub8.aClass238_9165.availableAtLeast(DefinitionSub25.anInt9341, 96)) { + DefinitionSub8.aClass238_9165.readBytes(DefinitionSub25.anInt9341, 0, (byte) 28, (Component80.aClass348_Sub49_Sub2_3813.payload)); + Component80.aClass348_Sub49_Sub2_3813.offset = 0; + Component241.anInt2955 = 0; + int i_13_ = DefinitionSub25.anInt9341; + WorldNameText.method254(2, (byte) -124); + DisplayModeManagerContainer273.method1135(0); + DisplayModeManagerContainer348.method1741(Component80.aClass348_Sub49_Sub2_3813, (byte) 118); + GraphicsToolkit.anInt4581 = -1; + if (NodeSub3.aClass114_6584 != Component248.aClass114_304) DefinitionSub26.method3120(-92); + else Component330.method853((byte) 99); + if (i_13_ != Component80.aClass348_Sub49_Sub2_3813.offset) throw new RuntimeException("lswp pos:" + (Component80.aClass348_Sub49_Sub2_3813.offset) + " psize:" + i_13_); + NodeSub3.aClass114_6584 = null; + } + } else { + int i_14_ = -128 / (-i / 53); + if (Component241.anInt2955 == 14) { + if (DefinitionSub25.anInt9341 == -2) { + if (!DefinitionSub8.aClass238_9165.availableAtLeast(2, 106)) return; + DefinitionSub8.aClass238_9165.readBytes(2, 0, (byte) -128, (Component80.aClass348_Sub49_Sub2_3813.payload)); + Component80.aClass348_Sub49_Sub2_3813.offset = 0; + DefinitionSub25.anInt9341 = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + } + if (DefinitionSub8.aClass238_9165.availableAtLeast(DefinitionSub25.anInt9341, 117)) { + DefinitionSub8.aClass238_9165.readBytes(DefinitionSub25.anInt9341, 0, (byte) -104, (Component80.aClass348_Sub49_Sub2_3813.payload)); + Component80.aClass348_Sub49_Sub2_3813.offset = 0; + int i_15_ = DefinitionSub25.anInt9341; + Component241.anInt2955 = 0; + WorldNameText.method254(15, (byte) -120); + Component37.method2330((byte) 86); + DisplayModeManagerContainer348.method1741(Component80.aClass348_Sub49_Sub2_3813, (byte) 118); + if (i_15_ != (Component80.aClass348_Sub49_Sub2_3813.offset)) throw new RuntimeException("lswpr pos:" + (Component80.aClass348_Sub49_Sub2_3813.offset) + " psize:" + i_15_); + NodeSub3.aClass114_6584 = null; + } + } + } + } + } catch (IOException ioexception) { + if (DefinitionSub8.aClass238_9165 != null) { + DefinitionSub8.aClass238_9165.close((byte) 36); + DefinitionSub8.aClass238_9165 = null; + } + if (Component212.anInt9971 >= 3) { + Component241.anInt2955 = 0; + WorldNameText.method254(-4, (byte) -87); + InflaterDecompressor.returnFromLoginFailure((byte) 3); + } else { + if (Component205.anInt5969 != 2) ItemDefinitionProvider.aClass161_3285.method1259(0); + else Component223.aClass161_125.method1259(0); + Component212.anInt9971++; + Component53.anInt197 = 0; + Component241.anInt2955 = 1; + } + } + } + } + + final void method844(RenderableSub9 class318_sub9, boolean bool) { + try { + anInt1495++; + if (class318_sub9.aClass318_Sub9_6468 != null) class318_sub9.method2514(93); + class318_sub9.aClass318_Sub9_6469 = this.aClass318_Sub9_1503; + class318_sub9.aClass318_Sub9_6468 = (this.aClass318_Sub9_1503.aClass318_Sub9_6468); + if (bool != true) this.aClass318_Sub9_1503 = null; + class318_sub9.aClass318_Sub9_6468.aClass318_Sub9_6469 = class318_sub9; + class318_sub9.aClass318_Sub9_6469.aClass318_Sub9_6468 = class318_sub9; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("lh.A(" + (class318_sub9 != null ? "{...}" : "null") + ',' + bool + ')')); + } + } + + final void method845(byte i) { + for (; ; ) { + RenderableSub9 class318_sub9 = (this.aClass318_Sub9_1503.aClass318_Sub9_6469); + if (class318_sub9 == this.aClass318_Sub9_1503) break; + class318_sub9.method2514(54); + } + if (i < 23) aClass318_Sub9_1505 = null; + anInt1493++; + aClass318_Sub9_1505 = null; + } + + final RenderableSub9 method846(byte i) { + anInt1494++; + RenderableSub9 class318_sub9 = aClass318_Sub9_1505; + if (class318_sub9 == this.aClass318_Sub9_1503) { + aClass318_Sub9_1505 = null; + return null; + } + if (i > -34) aClass318_Sub9_1505 = null; + aClass318_Sub9_1505 = class318_sub9.aClass318_Sub9_6469; + return class318_sub9; + } + + static final void printClientError(String string, int i) { + System.out.println("Error: " + DisplayModeManagerContainer196.replaceAll("\n", true, "%0a", string)); + anInt1492++; + if (i != -5192) method843((byte) 17); + } + + final RenderableSub9 method848(int i) { + if (i != 8) return null; + anInt1502++; + RenderableSub9 class318_sub9 = (this.aClass318_Sub9_1503.aClass318_Sub9_6469); + if (class318_sub9 == this.aClass318_Sub9_1503) { + aClass318_Sub9_1505 = null; + return null; + } + aClass318_Sub9_1505 = class318_sub9.aClass318_Sub9_6469; + return class318_sub9; + } + + public TheoraVideoPlayer() { + this.aClass318_Sub9_1503.aClass318_Sub9_6468 = this.aClass318_Sub9_1503; + this.aClass318_Sub9_1503.aClass318_Sub9_6469 = this.aClass318_Sub9_1503; + } +} diff --git a/client/media/video/VideoAdDisplay.java b/client/media/video/VideoAdDisplay.java new file mode 100644 index 000000000..2b0cbeb92 --- /dev/null +++ b/client/media/video/VideoAdDisplay.java @@ -0,0 +1,46 @@ +/* VideoAdDisplay - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class247` (JODE-obfuscated). + * Video advertisement display. Owns the 'showingVideoAd' state and drives ad playback surfaces for the client's video-ad integration. + */ + +final class VideoAdDisplay { + static int anInt3180; + static Component158 aClass21_3181 = new Component158(); + static double aDouble3182; + static CacheStore aClass45_3183; + static int anInt3184; + + public static void method1889(int i) { + if (i != 255) method1889(-18); + aClass21_3181 = null; + aClass45_3183 = null; + } + + static final int method1890(int i, byte i_0_, int i_1_, int i_2_) { + anInt3180++; + int i_3_ = 88 % (-i_0_ / 55); + if (i > 243) i_1_ >>= 4; + else if (i <= 217) { + if (i > 192) i_1_ >>= 2; + else if (i > 179) i_1_ >>= 1; + } else i_1_ >>= 3; + return ((i >> 1) + (i_1_ >> 5 << 7) + ((0xff & i_2_) >> 2 << 10)); + } + + static final boolean method1891(int i) { + if (i != 314376967) method1890(-22, (byte) -36, 19, 113); + anInt3184++; + if (Component156.aBoolean3697) { + try { + return !((Boolean) AppletInvoker.callAppletNoArgs((byte) 125, ToolkitFactory.anApplet1530, "showingVideoAd")).booleanValue(); + } catch (Throwable throwable) { + /* empty */ + } + } + return true; + } +} diff --git a/client/media/video/VideoAdPlayer.java b/client/media/video/VideoAdPlayer.java new file mode 100644 index 000000000..7cfbffe80 --- /dev/null +++ b/client/media/video/VideoAdPlayer.java @@ -0,0 +1,98 @@ +/* VideoAdPlayer - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class67` (JODE-obfuscated). + * Video advertisement player. Implements Interface1; starts/stops ad playback ('showVideoAd') and reports playback state back to the ad display. + */ + +final class VideoAdPlayer implements Interface1 { + static int anInt4642; + static Component24 aClass105_4643; + static int anInt4644; + static int anInt4645; + private final HeapDumpHelper aClass158_4646; + static int anInt4647; + static int[] anIntArray4648 = new int[14]; + private BitmapFont aClass324_4649; + private final CacheStore aClass45_4650; + private final CacheStore aClass45_4651; + + public static void method716(int i) { + if (i == 1) { + aClass105_4643 = null; + anIntArray4648 = null; + } + } + + public final void method9(byte i, boolean bool) { + if (bool) { + int i_0_ = ((aClass158_4646.aClass221_4948.method1607(DisplayModeManagerContainer23.anInt1524, aClass158_4646.anInt4931, (byte) -119)) + aClass158_4646.anInt4947); + int i_1_ = ((aClass158_4646.aClass341_4945.getAlignedOffset(GlToolkitSub2.anInt7666, aClass158_4646.anInt4936, i + 1644)) + aClass158_4646.anInt4932); + aClass324_4649.method2584(null, aClass158_4646.anInt4937, aClass158_4646.anInt4940, null, aClass158_4646.anInt4935, aClass158_4646.anInt4946, aClass158_4646.anInt4936, null, i_1_, 0, 0, aClass158_4646.anInt4931, i_0_, false, aClass158_4646.anInt4943, aClass158_4646.aString4942); + } + if (i == -49) anInt4642++; + } + + public final boolean method8(byte i) { + anInt4644++; + boolean bool = true; + if (!aClass45_4650.isSingletonFileReady(false, aClass158_4646.anInt4944)) bool = false; + if (!aClass45_4651.isSingletonFileReady(false, aClass158_4646.anInt4944)) bool = false; + int i_2_ = -53 % ((i - 25) / 52); + return bool; + } + + static final boolean method717(int i) { + anInt4645++; + if (Component156.aBoolean3697) { + try { + AppletInvoker.callAppletNoArgs((byte) 125, ToolkitFactory.anApplet1530, "showVideoAd"); + return true; + } catch (Throwable throwable) { + /* empty */ + } + } + if (i != -2511) method716(-67); + return false; + } + + public final void method7(int i) { + anInt4647++; + Component184 class143 = Component98.method1766((byte) -45, aClass158_4646.anInt4944, aClass45_4651); + if (i == 10286) aClass324_4649 = (NodeSub8.toolkit.method3686(class143, Component170.method1523(aClass45_4650, aClass158_4646.anInt4944), true)); + } + + VideoAdPlayer(CacheStore class45, CacheStore class45_3_, HeapDumpHelper class158) { + try { + aClass45_4651 = class45_3_; + aClass158_4646 = class158; + aClass45_4650 = class45; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("kd.(" + (class45 != null ? "{...}" : "null") + ',' + (class45_3_ != null ? "{...}" : "null") + ',' + (class158 != null ? "{...}" : "null") + ')')); + } + } + + static final void method718(RenderableObject[] class318_sub1s, int i, int i_4_) { + if (i < i_4_) { + int i_5_ = (i + i_4_) / 2; + int i_6_ = i; + RenderableObject class318_sub1 = class318_sub1s[i_5_]; + class318_sub1s[i_5_] = class318_sub1s[i_4_]; + class318_sub1s[i_4_] = class318_sub1; + int i_7_ = class318_sub1.anInt6389; + for (int i_8_ = i; i_8_ < i_4_; i_8_++) { + if (class318_sub1s[i_8_].anInt6389 > i_7_ + (i_8_ & 0x1)) { + RenderableObject class318_sub1_9_ = class318_sub1s[i_8_]; + class318_sub1s[i_8_] = class318_sub1s[i_6_]; + class318_sub1s[i_6_++] = class318_sub1_9_; + } + } + class318_sub1s[i_4_] = class318_sub1s[i_6_]; + class318_sub1s[i_6_] = class318_sub1; + method718(class318_sub1s, i, i_6_ - 1); + method718(class318_sub1s, i_6_ + 1, i_4_); + } + } +} diff --git a/client/menu/DefaultClickSwapper.java b/client/menu/DefaultClickSwapper.java new file mode 100644 index 000000000..996e50cd3 --- /dev/null +++ b/client/menu/DefaultClickSwapper.java @@ -0,0 +1,489 @@ +import java.io.File; +import java.io.FileInputStream; +import java.io.FileOutputStream; +import java.util.HashMap; +import java.util.Map; +import java.util.Properties; + +/** + * Left-click default swapper for NPCs, scenery, and interface items + * (inventory backpack + bank slots). + *

+ * Right-click → {@code Default: Wear} / {@code Default: Withdraw-All}. Persists + * id → action name; menus promote that action to the left-click / tap tip. + */ +final class DefaultClickSwapper { + + static final int OPCODE_SET_NPC = 1900; + static final int OPCODE_RESET_NPC = 1901; + static final int OPCODE_SET_OBJECT = 1902; + static final int OPCODE_RESET_OBJECT = 1903; + static final int OPCODE_SET_ITEM = 1904; + static final int OPCODE_RESET_ITEM = 1905; + + /** NPC action-slot opcodes (index 0..4). */ + private static final int[] NPC_OPCODES = {25, 20, 44, 46, 60}; + /** Object action-slot opcodes (index 0..4). */ + private static final int[] OBJECT_OPCODES = {3, 4, 9, 59, 1007}; + /** + * Interface item / component ops used by inventory + bank. + * 18 / 1011 = CC_OP slots; 13 = Use / target. + */ + private static final int[] ITEM_OPCODES = {18, 1011, 13}; + + static final int PRIORITY_PREFERRED = 0x7ffffffe; + + private static final String FILE_NAME = "default-click.properties"; + /** Lilac — same vivid palette as NPC yellow / object cyan. */ + private static final String COL_ACCENT = ""; + private static final String COL_END = ""; + + private static final Map npcDefaults = new HashMap(); + private static final Map objectDefaults = new HashMap(); + /** Item def id → preferred option name (Wear, Drop, Withdraw-All, …). */ + private static final Map itemDefaults = new HashMap(); + private static boolean loaded; + + private DefaultClickSwapper() { + } + + static String getPreferredNpcAction(int compositionId) { + ensureLoaded(); + return npcDefaults.get(Integer.valueOf(compositionId)); + } + + /** @deprecated use {@link #getPreferredNpcAction(int)} */ + static String getPreferredAction(int compositionId) { + return getPreferredNpcAction(compositionId); + } + + static String getPreferredObjectAction(int objectId) { + ensureLoaded(); + return objectDefaults.get(Integer.valueOf(objectId)); + } + + static String getPreferredItemAction(int itemId) { + ensureLoaded(); + if (itemId <= 0) { + return null; + } + return itemDefaults.get(Integer.valueOf(itemId)); + } + + static void injectNpcMenu(Npc npc, NpcComposition composition) { + if (npc == null || composition == null) { + return; + } + ensureLoaded(); + String[] actions = composition.actions; + if (actions == null) { + return; + } + int compositionId = composition.id; + String current = npcDefaults.get(Integer.valueOf(compositionId)); + injectActionRows(actions, current, OPCODE_SET_NPC, OPCODE_RESET_NPC, compositionId); + } + + static void injectObjectMenu(Component44 object) { + if (object == null) { + return; + } + ensureLoaded(); + String[] actions = object.aStringArray913; + if (actions == null) { + return; + } + int objectId = object.anInt941; + String current = objectDefaults.get(Integer.valueOf(objectId)); + injectActionRows(actions, current, OPCODE_SET_OBJECT, OPCODE_RESET_OBJECT, objectId); + } + + /** + * Inject Default rows for an inventory / bank item component. + * Options come from the widget strings already used to build the menu + * ({@link Component63#method3561}) — covers Wear/Drop and bank Withdraw-*. + */ + static void injectItemMenu(DisplayModeManagerContainer57 component) { + if (component == null || component.anInt812 <= 0) { + return; + } + ensureLoaded(); + int itemId = component.anInt812; + String current = itemDefaults.get(Integer.valueOf(itemId)); + // Collect unique option labels from the same slots the menu builder uses. + java.util.LinkedHashSet unique = new java.util.LinkedHashSet(); + for (int i = 0; i <= 9; i++) { + String opt = Component63.method3561(i, component, true); + if (opt == null || opt.length() == 0) { + continue; + } + if (opt.startsWith("Hidden-")) { + continue; + } + if (isSkippedItemOption(opt)) { + continue; + } + unique.add(opt); + } + String use = DisplayModeManagerContainer295.method1753(0, component); + if (use != null && use.length() > 0 && !isSkippedItemOption(use)) { + unique.add(use); + } + // Nothing to choose when left-click already has only one real option. + if (unique.size() <= 1) { + return; + } + for (Object o : unique) { + String action = (String) o; + if (current != null && current.equalsIgnoreCase(action)) { + continue; + } + DisplayModeManagerContainer368.addMenuEntry( + false, "", 0, (byte) -93, true, 0, -1, true, + OPCODE_SET_ITEM, 0L, COL_ACCENT + "Default: " + COL_END + action, (long) itemId, 0); + } + if (current != null) { + DisplayModeManagerContainer368.addMenuEntry( + false, "", 0, (byte) -93, true, 0, -1, true, + OPCODE_RESET_ITEM, 0L, COL_ACCENT + "Default: " + COL_END + "Reset", (long) itemId, 0); + } + } + + private static boolean isSkippedItemOption(String action) { + if (action.equalsIgnoreCase("Examine") || action.equalsIgnoreCase("Cancel") + || action.equalsIgnoreCase("Walk here") || action.equalsIgnoreCase("Continue")) { + return true; + } + return false; + } + + private static void injectActionRows(String[] actions, String current, int setOp, int resetOp, int id) { + int optionCount = 0; + for (int i = 0; i < actions.length && i < 5; i++) { + String action = actions[i]; + if (action != null && action.length() > 0) { + optionCount++; + } + } + // Nothing to choose when left-click already has only one real option. + if (optionCount <= 1) { + return; + } + for (int i = 0; i < actions.length && i < 5; i++) { + String action = actions[i]; + if (action == null || action.length() == 0) { + continue; + } + if (current != null && current.equalsIgnoreCase(action)) { + continue; + } + // Include Attack / Chop / everything — only "Default: " is lilac. + DisplayModeManagerContainer368.addMenuEntry( + false, "", 0, (byte) -93, true, 0, -1, true, + setOp, 0L, COL_ACCENT + "Default: " + COL_END + action, (long) id, 0); + } + if (current != null) { + DisplayModeManagerContainer368.addMenuEntry( + false, "", 0, (byte) -93, true, 0, -1, true, + resetOp, 0L, COL_ACCENT + "Default: " + COL_END + "Reset", (long) id, 0); + } + } + + /** + * @return entry that should be left-click tip, or null + */ + static MenuEntry applySwaps() { + ensureLoaded(); + if ((npcDefaults.isEmpty() && objectDefaults.isEmpty() && itemDefaults.isEmpty()) + || DisplayModeManagerContainer306.menuEntryCount <= 1) { + return null; + } + MenuEntry preferred = null; + for (MenuEntry entry = (MenuEntry) DefinitionSub4.menuEntries.first(4); + entry != null; + entry = (MenuEntry) DefinitionSub4.menuEntries.next((byte) 83)) { + if (entry.option == null) { + continue; + } + int opcode = entry.opcode; + if (opcode >= 2000) { + opcode -= 2000; + } + String wanted = null; + if (isNpcOpcode(opcode)) { + NpcComposition composition = compositionForNpcEntry(entry); + if (composition != null) { + wanted = npcDefaults.get(Integer.valueOf(composition.id)); + } + } else if (isObjectOpcode(opcode)) { + int objectId = (int) (entry.identifier >>> 32); + wanted = objectDefaults.get(Integer.valueOf(objectId)); + } else if (isItemOpcode(opcode)) { + // itemId = item id (class46.anInt812) for CC_OP / Use rows + int itemId = entry.itemId; + if (itemId > 0) { + wanted = itemDefaults.get(Integer.valueOf(itemId)); + } + } + if (wanted != null && entry.option.equalsIgnoreCase(wanted)) { + preferred = entry; + } + } + if (preferred == null) { + return null; + } + preferred.priority = PRIORITY_PREFERRED; + DefinitionSub4.menuEntries.addTail(preferred, -20180); + int prefOp = preferred.opcode >= 2000 ? preferred.opcode - 2000 : preferred.opcode; + // Opcode 1011 = high CC_OP: client treats tip-1011 as "open menu" on left-click + // (Component203.method2485). Same packet path as 18 — rewrite so tap executes. + if (prefOp == 1011) { + preferred.opcode = preferred.opcode >= 2000 ? 2018 : 18; + prefOp = 18; + } + if (isNpcOpcode(prefOp) && !preferred.option.equalsIgnoreCase(attackLabel())) { + demoteAttackNear(preferred); + } + System.out.println("void-osrs default-click apply → '" + preferred.option + + "' op=" + preferred.opcode); + return preferred; + } + + /** @deprecated use {@link #applySwaps()} */ + static MenuEntry applyNpcSwaps() { + return applySwaps(); + } + + static boolean handleMenuAction(MenuEntry entry) { + if (entry == null) { + return false; + } + int opcode = entry.opcode; + if (opcode >= 2000) { + opcode -= 2000; + } + int id = (int) entry.identifier; + String label = stripDefaultLabel(entry.option); + if (opcode == OPCODE_SET_NPC) { + setDefault(npcDefaults, "npc", id, label); + return true; + } + if (opcode == OPCODE_RESET_NPC) { + clearDefault(npcDefaults, "npc", id); + return true; + } + if (opcode == OPCODE_SET_OBJECT) { + setDefault(objectDefaults, "object", id, label); + return true; + } + if (opcode == OPCODE_RESET_OBJECT) { + clearDefault(objectDefaults, "object", id); + return true; + } + if (opcode == OPCODE_SET_ITEM) { + setDefault(itemDefaults, "item", id, label); + return true; + } + if (opcode == OPCODE_RESET_ITEM) { + clearDefault(itemDefaults, "item", id); + return true; + } + return false; + } + + private static String stripDefaultLabel(String label) { + if (label == null) { + return null; + } + label = label.replace(COL_ACCENT, "").replace("", "") + .replace("", "").replace("", "") + .replace(COL_END, ""); + if (label.startsWith("Default: ")) { + label = label.substring(9); + } + return label.trim(); + } + + private static void setDefault(Map map, String kind, int id, String actionName) { + ensureLoaded(); + if (id <= 0 || actionName == null || actionName.length() == 0) { + System.out.println("void-osrs default-click refuse " + kind + " id=" + id + " action=" + actionName); + return; + } + map.put(Integer.valueOf(id), actionName); + save(); + ShaderProgramSub2.method2144("", 5, (byte) -100, 0, + COL_ACCENT + "Default left-click set to '" + actionName + "'." + COL_END, "", ""); + System.out.println("void-osrs default-click " + kind + "=" + id + " → " + actionName); + } + + private static void clearDefault(Map map, String kind, int id) { + ensureLoaded(); + map.remove(Integer.valueOf(id)); + save(); + ShaderProgramSub2.method2144("", 5, (byte) -100, 0, + COL_ACCENT + "Default left-click reset." + COL_END, "", ""); + System.out.println("void-osrs default-click " + kind + "=" + id + " reset"); + } + + private static void demoteAttackNear(MenuEntry preferred) { + String attack = attackLabel(); + int npcIndex = (int) preferred.identifier; + for (MenuEntry entry = (MenuEntry) DefinitionSub4.menuEntries.first(4); + entry != null; + entry = (MenuEntry) DefinitionSub4.menuEntries.next((byte) 83)) { + if (!isNpcOpcode(entry.opcode >= 2000 ? entry.opcode - 2000 : entry.opcode)) { + continue; + } + if ((int) entry.identifier != npcIndex) { + continue; + } + if (entry.option == null || !entry.option.equalsIgnoreCase(attack)) { + continue; + } + if (entry.opcode < 2000) { + entry.opcode += 2000; + } + entry.priority = 0; + } + } + + private static boolean isNpcOpcode(int opcode) { + for (int i = 0; i < NPC_OPCODES.length; i++) { + if (NPC_OPCODES[i] == opcode) { + return true; + } + } + return false; + } + + private static boolean isObjectOpcode(int opcode) { + for (int i = 0; i < OBJECT_OPCODES.length; i++) { + if (OBJECT_OPCODES[i] == opcode) { + return true; + } + } + return false; + } + + private static boolean isItemOpcode(int opcode) { + for (int i = 0; i < ITEM_OPCODES.length; i++) { + if (ITEM_OPCODES[i] == opcode) { + return true; + } + } + return false; + } + + private static NpcComposition compositionForNpcEntry(MenuEntry entry) { + NodeSub22 node = (NodeSub22) Component21.aClass356_3654.get((int) entry.identifier, -6008); + if (node == null) { + return null; + } + Npc npc = node.npc; + if (npc == null) { + return null; + } + NpcComposition composition = npc.definition; + if (composition != null && composition.anIntArray1377 != null) { + composition = composition.method794(DisplayModeManagerContainer58.aClass170_10209, -1); + } + return composition; + } + + private static String attackLabel() { + return FriendsIgnoreList.aClass274_3506.getLocalized(ObjectDeserializer.languageId, 544); + } + + private static void ensureLoaded() { + if (loaded) { + return; + } + loaded = true; + File file = storageFile(); + if (!file.isFile()) { + return; + } + Properties props = new Properties(); + FileInputStream in = null; + try { + in = new FileInputStream(file); + props.load(in); + for (Map.Entry e : props.entrySet()) { + String key = String.valueOf(e.getKey()); + String value = String.valueOf(e.getValue()).trim(); + if (value.length() == 0 || value.matches("\\d+")) { + continue; + } + try { + if (key.startsWith("npc_")) { + int id = Integer.parseInt(key.substring(4)); + if (id > 0) { + npcDefaults.put(Integer.valueOf(id), value); + } + } else if (key.startsWith("object_")) { + int id = Integer.parseInt(key.substring(7)); + if (id > 0) { + objectDefaults.put(Integer.valueOf(id), value); + } + } else if (key.startsWith("item_")) { + int id = Integer.parseInt(key.substring(5)); + if (id > 0) { + itemDefaults.put(Integer.valueOf(id), value); + } + } + } catch (NumberFormatException ignored) { + // skip + } + } + System.out.println("void-osrs default-click loaded npc=" + npcDefaults.size() + + " object=" + objectDefaults.size() + " item=" + itemDefaults.size()); + } catch (Exception e) { + System.out.println("void-osrs default-click load failed: " + e.getMessage()); + } finally { + if (in != null) { + try { + in.close(); + } catch (Exception ignored) { + } + } + } + } + + private static void save() { + Properties props = new Properties(); + for (Map.Entry e : npcDefaults.entrySet()) { + props.setProperty("npc_" + e.getKey().intValue(), e.getValue()); + } + for (Map.Entry e : objectDefaults.entrySet()) { + props.setProperty("object_" + e.getKey().intValue(), e.getValue()); + } + for (Map.Entry e : itemDefaults.entrySet()) { + props.setProperty("item_" + e.getKey().intValue(), e.getValue()); + } + File file = storageFile(); + FileOutputStream out = null; + try { + File parent = file.getParentFile(); + if (parent != null && !parent.exists()) { + parent.mkdirs(); + } + out = new FileOutputStream(file); + props.store(out, "void-osrs default left-click (npc_/object_/item_=actionName)"); + } catch (Exception e) { + System.out.println("void-osrs default-click save failed: " + e.getMessage()); + } finally { + if (out != null) { + try { + out.close(); + } catch (Exception ignored) { + } + } + } + } + + private static File storageFile() { + String home = System.getProperty("user.home", "."); + return new File(new File(home, ".void-osrs"), FILE_NAME); + } +} diff --git a/client/menu/MenuEntry.java b/client/menu/MenuEntry.java new file mode 100644 index 000000000..2ea8edf39 --- /dev/null +++ b/client/menu/MenuEntry.java @@ -0,0 +1,195 @@ +/** + * One right-click / left-click menu row (option + target + opcode + params). + *

+ * Built by {@link DisplayModeManagerContainer368#addMenuEntry} while hovering NPCs / objects / + * widgets; sorted into {@link DefinitionSub4#menuEntries}; the tip row + * lives in {@link Component192#menuTip}. Left-click or menu pick runs + * {@link ColoredTextBuilder#processMenuAction}, which turns the opcode into a game packet. + *

+ * Custom Void opcodes in the 1900-range (DefaultClickSwapper, Microbot toggle) + * are intercepted client-side and never sent. + *

+ * Microbot plants synthetic rows with real game opcodes, then calls + * {@link ColoredTextBuilder#processMenuAction} on the client thread. + */ +final class MenuEntry extends HashNode { + + /** + * Left-side option text shown in the menu, e.g. {@code "Attack"}, + * {@code "Walk here"}, {@code "Wear"}. May include {@code } tags. + */ + String option; + + /** Unused / leftover deob field (kept for binary layout parity). */ + static int anInt9594; + /** + * Optional third tip fragment after {@link #option} / {@link #target} + * (e.g. player name painted onto Walk-here when hovering a player). + */ + String extraTarget; + static int anInt9596; + + /** Construction flag from {@link DisplayModeManagerContainer368#addMenuEntry} (bool arg). */ + boolean aBoolean9597; + static int anInt9598; + + /** + * Item id on interface / inventory rows ({@link DisplayModeManagerContainer57#anInt812}), or + * {@code -1} for world entities. + */ + int itemId; + + /** + * Submenu / target grouping key (NPC index, object hash, …) used when + * collapsing rows that share a target string. + */ + long groupKey; + + /** + * Right-side target text, e.g. {@code "Goblin"} or widget name. + */ + String target; + + /** + * First action param — local tile X for walk / object, component child for + * interface ops ({@link DisplayModeManagerContainer57#anInt704}). + */ + int param0; + + static LruCache aClass356_9603; + /** Number of ignore-list entries (max 100). */ + static int ignoreCount = 0; + + /** + * Entity / action identifier consumed by {@link ColoredTextBuilder#processMenuAction}: + * NPC index, packed object id (high bits), walk flag, etc. + */ + long identifier; + + static int anInt9606; + + /** + * Second action param — local tile Y for walk / object, packed interface id + * for CC_OP ({@link DisplayModeManagerContainer57#anInt830}). + */ + int param1; + + /** + * Menu opcode. Stock game values (Attack=25/20/…, Walk=19, object 3/4/9/…). + * Values {@code >= 2000} are shift-variants ({@code opcode - 2000} before send). + * Void client-only ops live in 1900–1907. + */ + int opcode; + + /** + * Sort / tip priority — higher wins left-click tip. Microbot / DefaultClick + * force near {@code Integer.MAX_VALUE}. + */ + int priority; + + boolean aBoolean9610; + boolean aBoolean9611; + static int[] anIntArray9612; + + public static void clearStatics(int i) { + anIntArray9612 = null; + int i_0_ = 29 / ((31 - i) / 43); + aClass356_9603 = null; + } + + /** + * Current window mode id: {@code 3}=fullscreen Frame, {@code 2}=FS available, + * {@code 1}=windowed / FS unavailable. Used by display-mode and error paths. + */ + static final int getWindowMode(int i) { + anInt9596++; + if (Component225.aFrame476 != null) return 3; + if (i >= -59) ignoreCount = 79; + if (!Cp1252Decoder.fullscreenAvailable) return 1; + return 2; + } + + /** Install (or clear) the size-bucketed {@code byte[][][]} pools used by buffer allocators. */ + static final void initArrayPools(int[] is, int[] is_1_, int i) { + try { + anInt9606++; + if (is == null || is_1_ == null) { + DefinitionSub6.aByteArrayArrayArray9134 = null; + DisplayModeManagerContainer56.anIntArray2552 = null; + Component317.anIntArray8684 = null; + } else { + Component317.anIntArray8684 = is; + DisplayModeManagerContainer56.anIntArray2552 = new int[is.length]; + DefinitionSub6.aByteArrayArrayArray9134 = new byte[is.length][][]; + for (int i_2_ = i; i_2_ < Component317.anIntArray8684.length; i_2_++) + DefinitionSub6.aByteArrayArrayArray9134[i_2_] = new byte[is_1_[i_2_]][]; + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("db.D(" + (is != null ? "{...}" : "null") + ',' + (is_1_ != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + /** + * Scripted/cutscene camera: aim at tile ({@code i_3_},{@code i}) with height offset, + * set {@link DefinitionSub21#cameraMode}=2, and compute pitch/yaw toward the target. + */ + static final void setCutsceneCamera(int i, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_) { + if (i_7_ > -123) getWindowMode(14); + Component205.anInt5973 = i_5_; + Component221.anInt1797 = i_4_; + Component48.anInt4336 = i_3_; + OpenGlShader.anInt7403 = i_6_; + anInt9598++; + Component337.anInt3647 = i; + if (Component205.anInt5973 >= 100) { + int i_8_ = Component48.anInt4336 * 512 - -256; + int i_9_ = Component337.anInt3647 * 512 - -256; + int i_10_ = (Component300.method2064(i_8_, Component117.anInt4372, 11219, i_9_) + -Component221.anInt1797); + int i_11_ = i_8_ - WaterSurfaceShader.anInt6246; + int i_12_ = -DisplayModeManagerContainer50.anInt3855 + i_10_; + int i_13_ = i_9_ - Component317.anInt8685; + int i_14_ = (int) Math.sqrt(i_11_ * i_11_ + i_13_ * i_13_); + HashNodeSub19.anInt9701 = (int) (Math.atan2(i_12_, i_14_) * 2607.5945876176133) & 0x3fff; + Component298.anInt4638 = (int) (-2607.5945876176133 * Math.atan2(i_11_, i_13_)) & 0x3fff; + if (HashNodeSub19.anInt9701 < 1024) HashNodeSub19.anInt9701 = 1024; + Component103.anInt4186 = 0; + if (HashNodeSub19.anInt9701 > 3072) HashNodeSub19.anInt9701 = 3072; + } + DefinitionSub21.cameraMode = 2; + JaclibLoader.anInt167 = ShaderLinker.anInt10163 = -1; + } + + /** + * @param option menu option label + * @param target coloured target name + * @param priority tip sort weight + * @param opcode menu opcode (see field docs) + * @param itemId item id or -1 + * @param identifier entity/action id (see field docs) + * @param param0 first param (tile X / child) + * @param param1 second param (tile Y / iface) + */ + MenuEntry(String option, String target, int priority, int opcode, int itemId, long identifier, int param0, int param1, boolean bool, boolean bool_20_, long groupKey, boolean bool_22_) { + try { + this.param1 = param1; + this.opcode = opcode; + this.itemId = itemId; + this.identifier = identifier; + this.aBoolean9610 = bool; + this.aBoolean9597 = bool_20_; + this.target = target; + this.aBoolean9611 = bool_22_; + this.option = option; + this.priority = priority; + this.groupKey = groupKey; + this.param0 = param0; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("db.(" + (option != null ? "{...}" : "null") + ',' + (target != null ? "{...}" : "null") + ',' + priority + ',' + opcode + ',' + itemId + ',' + identifier + ',' + param0 + ',' + param1 + ',' + bool + ',' + bool_20_ + ',' + groupKey + ',' + bool_22_ + ')')); + } + } + + static { + aClass356_9603 = new LruCache(16); + anIntArray9612 = new int[8]; + } +} diff --git a/client/menu/MenuOpener.java b/client/menu/MenuOpener.java new file mode 100644 index 000000000..205a03e89 --- /dev/null +++ b/client/menu/MenuOpener.java @@ -0,0 +1,134 @@ +/* MenuOpener - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class135_Sub2` (JODE-obfuscated). + * Menu opener. Extends Component137 (Interface8); triggers the 'open menu' action for right-click / context menus on game entities. + */ + +final class MenuOpener extends Component137 implements Interface8 { + static int anInt4833; + static int anInt4834; + static Component111 aClass251_4835 = new Component111(); + static int anInt4836; + private int anInt4837; + static int anInt4838; + static DisplayModeManagerContainer254 aClass161_4839; + static int anInt4840; + static int anInt4841; + static int anInt4842; + static CacheStore aClass45_4843; + static int anInt4844; + private static char[] aCharArray4845 = new char[64]; + /** + * Secondary tip used for shift-click / "open menu" (opcode 1011) checks + * ({@link Component203#method2485}). Usually mirrors {@link Component192#menuTip}. + */ + static MenuEntry menuTipSecondary; + + final void method1152(int i) { + anInt4840++; + this.aHa_Sub2_1927.method3793(1, this); + if (i >= -78) aClass161_4839 = null; + } + + public final int method34(int i) { + anInt4838++; + if (i != -5711) method35(null, -82, 99, -89); + return anInt4837; + } + + public final void method35(byte[] is, int i, int i_0_, int i_1_) { + if (i_0_ > 18) { + this.method1150(is, 0, i_1_); + anInt4833++; + anInt4837 = i; + } + } + + public static void method1155(byte i) { + aClass251_4835 = null; + aClass161_4839 = null; + int i_2_ = -29 / ((i - -49) / 43); + aClass45_4843 = null; + aCharArray4845 = null; + menuTipSecondary = null; + } + + public final int method33(int i) { + if (i != -23923) method35(null, -47, -115, -72); + anInt4836++; + return this.anInt1929; + } + + /** Fill {@code is[i_4_+1 .. i_3_)} with {@code i_5_} (unrolled x8). */ + static final void fillInts(int i, int i_3_, int[] is, int i_4_, int i_5_) { + i_4_--; + anInt4841++; + int i_6_ = --i_3_ - 7; + if (i == -27) { + while (i_6_ > i_4_) { + is[++i_4_] = i_5_; + is[++i_4_] = i_5_; + is[++i_4_] = i_5_; + is[++i_4_] = i_5_; + is[++i_4_] = i_5_; + is[++i_4_] = i_5_; + is[++i_4_] = i_5_; + is[++i_4_] = i_5_; + } + while (i_3_ > i_4_) is[++i_4_] = i_5_; + } + } + + static final void method1157(int i, byte i_7_) { + if (i_7_ < -77) { + Component205.anInt5969 = 2; + anInt4834++; + RuntimeException_Sub1.anInt4596 = i; + long l = 0L; + if (OggStreamReader.aString9043 == null) { + WorldNameText.method254(35, (byte) -87); + return; + } else { + Buffer class348_sub49 = (new Buffer(Component122.method878((Component362.method1039(OggStreamReader.aString9043, true)), -126))); + l = class348_sub49.readLong(-456577760); + ObjectDeserializer.userHash = class348_sub49.readLong(-456577760); + } + Component72.method1138(DisplayModeManagerContainer91.method313(l, -95), true, "", (byte) 79); + } + } + + public final long method36(byte i) { + if (i < 76) aClass251_4835 = null; + anInt4842++; + return 0L; + } + + MenuOpener(GlToolkitSub2 var_ha_Sub2, int i, byte[] is, int i_8_, boolean bool) { + super(var_ha_Sub2, 34963, is, i_8_, bool); + try { + anInt4837 = i; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("kaa.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + (is != null ? "{...}" : "null") + ',' + i_8_ + ',' + bool + ')')); + } + } + + static final boolean method1158(int i, int i_9_, int i_10_) { + if (i_9_ != -1) aClass161_4839 = null; + anInt4844++; + return (i_10_ & 0x180) != 0; + } + + static { + for (int i = 0; i < 26; i++) + aCharArray4845[i] = (char) (65 + i); + for (int i = 26; i < 52; i++) + aCharArray4845[i] = (char) (i + 71); + for (int i = 52; i < 62; i++) + aCharArray4845[i] = (char) (-4 + i); + aCharArray4845[63] = '-'; + aCharArray4845[62] = '*'; + } +} diff --git a/client/microbot/DesktopAwtMouse.java b/client/microbot/DesktopAwtMouse.java new file mode 100644 index 000000000..7972a0c58 --- /dev/null +++ b/client/microbot/DesktopAwtMouse.java @@ -0,0 +1,74 @@ +import java.awt.Canvas; +import java.awt.event.MouseEvent; + +/** + * Desktop VirtualMouse backend — synthesizes AWT mouse events on the game canvas. + * Temporarily clears focusable when the canvas is not the focus owner so Jagex + * MOUSE_PRESSED handlers do not steal OS keyboard focus (Microbot upstream trick). + */ +final class DesktopAwtMouse implements MicrobotMouseBackend { + + DesktopAwtMouse() { + } + + private Canvas canvas() { + return DisplayModeManagerContainer50.gameCanvas; + } + + public void mouseMoved(int x, int y) { + dispatch(MouseEvent.MOUSE_MOVED, x, y, 0, 0); + } + + public void mousePressed(int x, int y, int button) { + dispatch(MouseEvent.MOUSE_PRESSED, x, y, button, 1); + } + + public void mouseReleased(int x, int y, int button) { + dispatch(MouseEvent.MOUSE_RELEASED, x, y, button, 1); + } + + public void mouseClicked(int x, int y, int button) { + dispatch(MouseEvent.MOUSE_CLICKED, x, y, button, 1); + } + + public int canvasWidth() { + Canvas c = canvas(); + return c != null ? c.getWidth() : 765; + } + + public int canvasHeight() { + Canvas c = canvas(); + return c != null ? c.getHeight() : 503; + } + + private void dispatch(int id, int x, int y, int button, int clickCount) { + Canvas canvas = canvas(); + if (canvas == null) { + return; + } + int modifiers = 0; + if (button == MouseEvent.BUTTON1) { + modifiers = MouseEvent.BUTTON1_DOWN_MASK; + } else if (button == MouseEvent.BUTTON3) { + modifiers = MouseEvent.BUTTON3_DOWN_MASK | MouseEvent.META_DOWN_MASK; + } + MouseEvent event = new MouseEvent(canvas, id, System.currentTimeMillis(), modifiers, x, y, clickCount, + button == MouseEvent.BUTTON3, button); + dispatchWithoutFocusGrab(canvas, event); + } + + private static void dispatchWithoutFocusGrab(Canvas canvas, MouseEvent event) { + boolean canvasIsFocused = canvas.isFocusOwner(); + boolean wasFocusable = canvas.isFocusable(); + try { + if (!canvasIsFocused && wasFocusable) { + canvas.setFocusable(false); + } + canvas.dispatchEvent(event); + } finally { + if (!canvasIsFocused && wasFocusable) { + canvas.setFocusable(true); + } + } + } +} diff --git a/client/microbot/ExampleCombatScript.java b/client/microbot/ExampleCombatScript.java new file mode 100644 index 000000000..531e3b2e2 --- /dev/null +++ b/client/microbot/ExampleCombatScript.java @@ -0,0 +1,104 @@ +/** + * Example Microbot combat script — attacks nearest Attack-able NPC within 12 tiles. + * Toggle via lilac menu: {@code Microbot: Combat} / {@code Stop Combat}. + *

+ * Gate: only issues Attack when {@link Rs2Player#inCombat()} is false. While + * engaged (interacting index set), holds. Cooldown avoids frame-rate spam while + * walking into range before the server sets interacting. + */ +final class ExampleCombatScript { + + private static final int MAX_DIST = 12; + private static final int HEARTBEAT_FRAMES = 200; + /** Frames to wait after Attack before re-checking (walk-in before interact). */ + private static final int ATTACK_COOLDOWN_FRAMES = 40; + + private volatile boolean running; + private int heartbeat; + private int attackCooldown; + private boolean dumpedActions; + + ExampleCombatScript() { + } + + void start() { + running = true; + heartbeat = 0; + attackCooldown = 0; + dumpedActions = false; + Microbot.log("ExampleCombat started"); + } + + void shutdown() { + running = false; + attackCooldown = 0; + Microbot.log("ExampleCombat stopped"); + } + + boolean isRunning() { + return running; + } + + /** + * Called once per {@link client#processGameTick} while {@link #isRunning()}. + */ + void pulse() { + if (!running || Component72.localPlayer == null) { + return; + } + if (++heartbeat % HEARTBEAT_FRAMES == 1) { + Microbot.log("combat hb=" + heartbeat + + " inCombat=" + Rs2Player.inCombat() + + " cd=" + attackCooldown + + " npcs=" + MicrobotRuntime.npcCache.size()); + } + if (!dumpedActions) { + dumpedActions = true; + dumpNpcActions(); + } + + // Already fighting — hold until interact clears. + if (Rs2Player.inCombat()) { + attackCooldown = 0; + return; + } + + if (attackCooldown > 0) { + attackCooldown--; + return; + } + + Npc target = Rs2Npc.getNearestAttackable(); + if (target == null || Rs2Player.distanceTo(target) > MAX_DIST) { + return; + } + + if (Rs2Npc.attack(target)) { + attackCooldown = ATTACK_COOLDOWN_FRAMES; + String name = target.definition != null ? target.definition.name : "?"; + Microbot.log("attack → " + name + + " idx=" + target.anInt10290 + + " dist=" + Rs2Player.distanceTo(target)); + } + } + + private static void dumpNpcActions() { + Microbot.log("attackLabel='" + Rs2Npc.attackLabelPublic() + "'"); + Npc[] all = Rs2Npc.getAll(); + int limit = Math.min(all.length, 4); + for (int i = 0; i < limit; i++) { + Npc n = all[i]; + if (n == null || n.definition == null) { + continue; + } + NpcComposition def = n.definition; + if (def.anIntArray1377 != null) { + NpcComposition t = def.method794(DisplayModeManagerContainer58.aClass170_10209, -1); + if (t != null) { + def = t; + } + } + Microbot.log("npc '" + def.name + "' dist=" + Rs2Player.distanceTo(n)); + } + } +} diff --git a/client/microbot/Microbot.java b/client/microbot/Microbot.java new file mode 100644 index 000000000..71dbb5e70 --- /dev/null +++ b/client/microbot/Microbot.java @@ -0,0 +1,103 @@ +/** + * Microbot static locator — Guice-free port of Microbot's singleton. + *

+ * Scripts reach client state via here. {@link #doInvoke} queues a menu entry for + * {@link ColoredTextBuilder#method2599} on the next {@link MicrobotRuntime#tick()} — same + * packet path as a real tip click, without depending on canvas hit-testing. + */ +final class Microbot { + + /** Master kill-switch (Loader / debug). */ + static boolean enabled = true; + + /** When true, {@link MicrobotScript#run()} returns false. */ + static volatile boolean pauseAllScripts = false; + + /** + * Intended menu action (tip force while pending). Cleared after + * {@link ColoredTextBuilder#method2599}. + */ + static volatile NewMenuEntry targetMenu; + + /** Request {@link MicrobotMenu#injectPending()} on the next client tick. */ + static volatile boolean pendingMenuInject; + + /** Entry to run through {@link ColoredTextBuilder#method2599} on the client thread. */ + static volatile NewMenuEntry pendingDispatch; + + static volatile int pendingClickX; + static volatile int pendingClickY; + + static final VirtualMouse mouse = new VirtualMouse(); + + private static volatile Thread clientThread; + private static ExampleCombatScript exampleCombat; + private static boolean started; + + private Microbot() { + } + + static void markClientThread() { + clientThread = Thread.currentThread(); + } + + static boolean isClientThread() { + return clientThread != null && Thread.currentThread() == clientThread; + } + + /** In-world gate: local player present (FSM state varies; 7 is lobby/game UI). */ + static boolean isLoggedIn() { + return Component72.localPlayer != null; + } + + /** + * Queue {@code entry} for client-thread menu dispatch. + * Optional {@code x,y} become the click coords passed to method2599 + * (cursor feedback); negative → canvas centre. + */ + static void doInvoke(NewMenuEntry entry, int x, int y) { + if (!enabled || entry == null) { + return; + } + targetMenu = entry; + pendingMenuInject = true; + pendingDispatch = entry; + if (x >= 0 && y >= 0) { + pendingClickX = x; + pendingClickY = y; + } else { + try { + mouse.ensureBackend(); + pendingClickX = Math.max(10, mouse.getBackend().canvasWidth() / 2); + pendingClickY = Math.max(10, mouse.getBackend().canvasHeight() / 2); + } catch (Throwable t) { + pendingClickX = 400; + pendingClickY = 300; + } + } + } + + static void doInvoke(NewMenuEntry entry) { + doInvoke(entry, -1, -1); + } + + /** Console-only debug — never writes to in-game chat. */ + static void log(String msg) { + System.out.println("microbot: " + msg); + } + + static ExampleCombatScript getExampleCombat() { + if (exampleCombat == null) { + exampleCombat = new ExampleCombatScript(); + } + return exampleCombat; + } + + static boolean isStarted() { + return started; + } + + static void setStarted(boolean v) { + started = v; + } +} diff --git a/client/microbot/MicrobotBlockingEvents.java b/client/microbot/MicrobotBlockingEvents.java new file mode 100644 index 000000000..ab3bbf9dc --- /dev/null +++ b/client/microbot/MicrobotBlockingEvents.java @@ -0,0 +1,12 @@ +/** + * Minimal blocking-event gate — pauses scripts when there is no local player. + */ +final class MicrobotBlockingEvents { + + private MicrobotBlockingEvents() { + } + + static boolean isBlocking() { + return Component72.localPlayer == null; + } +} diff --git a/client/microbot/MicrobotGlobal.java b/client/microbot/MicrobotGlobal.java new file mode 100644 index 000000000..89801936a --- /dev/null +++ b/client/microbot/MicrobotGlobal.java @@ -0,0 +1,72 @@ +import java.util.concurrent.Callable; + +/** + * Sleep / wait helpers for Microbot scripts (off the client thread). + *

+ * Never call from {@link client#processGameTick} — sleeping on the game thread freezes + * rendering and packet IO. Scripts run on a daemon executor (~600 ms). + *

+ * Uses a local {@link Condition} instead of {@code java.util.function.BooleanSupplier} + * so RoboVM AOT does not hit a phantom {@code java.util.function} class. + */ +class MicrobotGlobal { + + /** Predicate for {@link #sleepUntil} — keep off {@code java.util.function} for RoboVM. */ + interface Condition { + boolean getAsBoolean(); + } + + MicrobotGlobal() { + } + + static void sleep(long ms) { + if (ms <= 0) { + return; + } + try { + Thread.sleep(ms); + } catch (InterruptedException e) { + Thread.currentThread().interrupt(); + } + } + + /** + * Sleeps until {@code condition} is true or {@code timeoutMs} elapses. + * + * @return true if condition became true + */ + static boolean sleepUntil(Condition condition, long timeoutMs) { + return sleepUntil(condition, timeoutMs, 100); + } + + static boolean sleepUntil(Condition condition, long timeoutMs, long pollMs) { + long deadline = System.currentTimeMillis() + timeoutMs; + while (System.currentTimeMillis() < deadline) { + try { + if (condition != null && condition.getAsBoolean()) { + return true; + } + } catch (Throwable ignored) { + } + sleep(pollMs); + } + try { + return condition != null && condition.getAsBoolean(); + } catch (Throwable t) { + return false; + } + } + + static boolean sleepUntilTrue(Callable condition, long timeoutMs) { + return sleepUntil(new Condition() { + public boolean getAsBoolean() { + try { + Object v = condition.call(); + return v instanceof Boolean && ((Boolean) v).booleanValue(); + } catch (Throwable t) { + return false; + } + } + }, timeoutMs); + } +} diff --git a/client/microbot/MicrobotMenu.java b/client/microbot/MicrobotMenu.java new file mode 100644 index 000000000..1593d07f7 --- /dev/null +++ b/client/microbot/MicrobotMenu.java @@ -0,0 +1,164 @@ +/** + * Menu-inject helpers — 634 equivalent of Microbot's MenuEntryAdded rewrite. + *

+ * Primary invoke path: build a {@link MenuEntry} and call + * {@link ColoredTextBuilder#method2599} on the client thread (same handler as a real tip + * click). Centre-canvas VirtualMouse is unreliable under fullscreen widgets. + */ +final class MicrobotMenu { + + /** Priority so tip wins over Attack / Examine. */ + private static final int PRIORITY_FORCE = 0x7fffffff; + + private MicrobotMenu() { + } + + /** + * Called on the client thread during menu tip selection. + * + * @return forced tip entry, or null when Microbot is idle + */ + static MenuEntry applyTargetMenu() { + NewMenuEntry target = Microbot.targetMenu; + if (target == null || !Microbot.enabled) { + return null; + } + MenuEntry match = findMatching(target); + if (match == null) { + match = plant(target); + } + if (match == null) { + return null; + } + match.priority = PRIORITY_FORCE; + Component192.menuTip = match; + MenuOpener.menuTipSecondary = match; + return match; + } + + /** + * Eager inject when hover never built rows ({@link Microbot#pendingMenuInject}). + */ + static void injectPending() { + if (!Microbot.pendingMenuInject || Microbot.targetMenu == null) { + return; + } + Microbot.pendingMenuInject = false; + applyTargetMenu(); + } + + /** + * Client-thread: turn {@link Microbot#pendingDispatch} into a real + * {@link ColoredTextBuilder#method2599} call (stock opcode path). + */ + static void dispatchPending() { + NewMenuEntry t = Microbot.pendingDispatch; + if (t == null || !Microbot.enabled) { + return; + } + Microbot.pendingDispatch = null; + try { + MenuEntry entry = buildEntry(t); + int cx = Microbot.pendingClickX; + int cy = Microbot.pendingClickY; + Microbot.log("dispatch op=" + t.getOpcode() + " id=" + t.getIdentifier() + + " '" + t.getOption() + "'"); + ColoredTextBuilder.processMenuAction((byte) 109, entry, cy, cx); + } catch (Throwable ex) { + System.out.println("microbot dispatch failed: " + ex.getMessage()); + ex.printStackTrace(); + Microbot.targetMenu = null; + } + } + + /** Build a menu row matching {@link DisplayModeManagerContainer368#method466} field layout. */ + static MenuEntry buildEntry(NewMenuEntry t) { + return new MenuEntry( + t.getOption(), + t.getTarget(), + PRIORITY_FORCE, + t.getOpcode(), + t.getItemId(), + t.getIdentifier(), + t.getParam0(), + t.getParam1(), + true, + false, + t.getIdentifier(), + false); + } + + /** Clears tip bookkeeping after {@link ColoredTextBuilder#method2599} consumes an action. */ + static void onMenuOptionClicked() { + Microbot.targetMenu = null; + Microbot.pendingMenuInject = false; + } + + private static MenuEntry findMatching(NewMenuEntry target) { + int wantOp = target.getOpcode(); + if (wantOp >= 2000) { + wantOp -= 2000; + } + for (MenuEntry entry = (MenuEntry) DefinitionSub4.menuEntries.first(4); + entry != null; + entry = (MenuEntry) DefinitionSub4.menuEntries.next((byte) 83)) { + int op = entry.opcode; + if (op >= 2000) { + op -= 2000; + } + if (op != wantOp) { + continue; + } + if (target.getIdentifier() != 0L && (int) entry.identifier != (int) target.getIdentifier()) { + continue; + } + if (target.getOption() != null && target.getOption().length() > 0) { + if (!entry.option.equalsIgnoreCase(target.getOption()) + && !stripCol(entry.option).equalsIgnoreCase(stripCol(target.getOption()))) { + continue; + } + } + return entry; + } + return null; + } + + private static MenuEntry plant(NewMenuEntry t) { + try { + DefinitionSub4.menuEntries.clear(103); + DisplayModeManagerContainer306.menuEntryCount = 0; + DisplayModeManagerContainer368.addMenuEntry(false, "", 0, (byte) -93, false, 0, -1, true, + 1006, 0L, "Cancel", 0L, -1); + DisplayModeManagerContainer368.addMenuEntry(false, t.getTarget(), t.getParam1(), (byte) -93, false, + t.getParam0(), t.getItemId(), true, t.getOpcode(), t.getIdentifier(), + t.getOption(), t.getIdentifier(), PRIORITY_FORCE); + return findMatching(t); + } catch (Throwable ex) { + System.out.println("microbot plant menu failed: " + ex.getMessage()); + return null; + } + } + + private static String stripCol(String s) { + if (s == null) { + return ""; + } + StringBuilder b = new StringBuilder(s.length()); + boolean in = false; + for (int i = 0; i < s.length(); i++) { + char c = s.charAt(i); + if (c == '<') { + in = true; + continue; + } + if (c == '>') { + in = false; + continue; + } + if (!in) { + b.append(c); + } + } + return b.toString().trim(); + } +} diff --git a/client/microbot/MicrobotMouseBackend.java b/client/microbot/MicrobotMouseBackend.java new file mode 100644 index 000000000..8b4e7d4f6 --- /dev/null +++ b/client/microbot/MicrobotMouseBackend.java @@ -0,0 +1,20 @@ +/** + * Platform mouse backend for Microbot VirtualMouse. + * Desktop dispatches AWT events on {@link DisplayModeManagerContainer50#gameCanvas}; mobile uses + * voidawt {@code AwtHost} inject APIs (resolved by reflection so desktop builds + * do not hard-depend on android sources). + */ +interface MicrobotMouseBackend { + + void mouseMoved(int x, int y); + + void mousePressed(int x, int y, int button); + + void mouseReleased(int x, int y, int button); + + void mouseClicked(int x, int y, int button); + + int canvasWidth(); + + int canvasHeight(); +} diff --git a/client/microbot/MicrobotPanel.java b/client/microbot/MicrobotPanel.java new file mode 100644 index 000000000..b445815b3 --- /dev/null +++ b/client/microbot/MicrobotPanel.java @@ -0,0 +1,188 @@ +/** + * Microbot mini HUD — canvas overlay (not an RS {@link DisplayModeManagerContainer57} iface, not Swing). + *

+ * Draw: {@link GraphicsToolkit#fillRect} for the translucent box + {@link BitmapFont#drawText} + * for left-aligned labels (same stack as the developer console / FPS overlay). + * Wired from {@code client} after the console draw so the panel sits on top of the + * game world. + *

+ * Input: {@link #pollInput()} runs right after mouse events are copied into + * {@link Component327#aClass262_8744}. Left-presses inside the panel are + * unlinked ({@link Node#unlink}) so walk / tip menus never see them. + * {@link DisplayModeManagerContainer1#updateMenuTip} also bails when {@link #isMouseOver()} so right-click + * menus don't open through the HUD. + *

+ * Rows (expanded): header → Combat toggle → Pause all scripts. + */ +final class MicrobotPanel { + + /** Canvas-space top-left — below the tip / "X more options" strip. */ + private static final int PANEL_X = 8; + private static final int PANEL_Y = 28; + private static final int WIDTH = 150; + /** Pixel height of one text row (hit-test + layout). */ + private static final int ROW_H = 16; + private static final int PAD = 4; + + /** ARGB fill — dark translucent purple. */ + private static final int BG = 0xC01a1028; + /** Header / accent (cyan). */ + private static final int ACCENT = 0xFF00FFFF; + private static final int ON = 0xFF66FF66; + private static final int OFF = 0xFFFF8888; + private static final int SHADOW = 0xFF000000; + + /** When true, only the header row is drawn / clickable. */ + private static boolean collapsed; + /** + * Cursor currently over the panel bounds — refreshed each {@link #pollInput()}. + * Used by {@link DisplayModeManagerContainer1} to suppress menus under the HUD. + */ + private static boolean mouseOver; + + private MicrobotPanel() { + } + + /** True when Microbot is enabled and a local player exists. */ + static boolean isVisible() { + return Loader.microbotEnabled && Microbot.enabled && Microbot.isLoggedIn(); + } + + /** Current panel pixel height (collapsed = header only). */ + static int height() { + return collapsed ? ROW_H + PAD * 2 : ROW_H * 3 + PAD * 2; + } + + /** + * Hit-test in canvas coordinates (same space as + * {@link MouseHandler#getCursorX} / {@link MouseHandler#getCursorY}). + */ + static boolean contains(int x, int y) { + if (!isVisible()) { + return false; + } + return x >= PANEL_X && x < PANEL_X + WIDTH + && y >= PANEL_Y && y < PANEL_Y + height(); + } + + /** {@code true} when the cursor is over the panel this frame. */ + static boolean isMouseOver() { + return mouseOver && isVisible(); + } + + /** + * Paint the panel into the current frame buffer. + * Prefer {@link BitmapFont#drawText} (left-aligned) — {@link BitmapFont#drawTextCentred} + * is centre-X and easy to mis-wire (garbled / stacked glyphs). + * + * @param renderer active toolkit ({@link NodeSub8#toolkit}) + */ + static void draw(GraphicsToolkit renderer) { + if (!isVisible() || renderer == null) { + return; + } + try { + BitmapFont font = Applet_Sub1.aClass324_20; + if (font == null) { + font = Component49.aClass324_4684; + } + if (font == null) { + return; + } + int h = height(); + // Shader(x, y, width, height, argb, mode) — filled rect. + renderer.fillRect(PANEL_X, PANEL_Y, WIDTH, h, BG, 1); + renderer.fillRect(PANEL_X, PANEL_Y, WIDTH, 1, ACCENT, 1); + + int textX = PANEL_X + PAD; + int y = PANEL_Y + PAD + 12; + String header = collapsed ? "Microbot [+]" : "Microbot [-]"; + font.drawText(header, ACCENT, y, textX, SHADOW, -110); + + if (!collapsed) { + y += ROW_H; + boolean combatOn = Microbot.getExampleCombat().isRunning(); + font.drawText(combatOn ? "Combat: ON" : "Combat: OFF", + combatOn ? ON : OFF, y, textX, SHADOW, -110); + y += ROW_H; + boolean paused = Microbot.pauseAllScripts; + font.drawText(paused ? "Pause: ON" : "Pause: OFF", + paused ? OFF : ON, y, textX, SHADOW, -110); + } + } catch (Throwable t) { + System.out.println("microbot panel draw: " + t.getMessage()); + } + } + + /** + * Consume left-presses that land on a panel row. + *

+ * Must run after mouse drain into {@link Component327#aClass262_8744} + * and before {@link DisplayModeManagerContainer1#updateMenuTip} / walk packet builders. + * Click type {@code 0} = left press ({@link AwtMouseHandler#mousePressed}). + */ + static void pollInput() { + mouseOver = false; + if (!isVisible() || AbstractGlTextureSub4.mouseHandler == null) { + return; + } + try { + int mx = AbstractGlTextureSub4.mouseHandler.getCursorX(true); + int my = AbstractGlTextureSub4.mouseHandler.getCursorY((byte) 100); + mouseOver = contains(mx, my); + + Node node = Component327.aClass262_8744.first(4); + while (node != null) { + Node next = Component327.aClass262_8744.next((byte) 79); + if (node instanceof NodeSub45) { + NodeSub45 click = (NodeSub45) node; + int type = click.getEventType(86); + if (type == 0) { + int cx = click.getX((byte) -128); + int cy = click.getY(33); + if (contains(cx, cy)) { + onClick(cx, cy); + click.unlink((byte) 97); + } + } + } + node = next; + } + } catch (Throwable t) { + System.out.println("microbot panel input: " + t.getMessage()); + } + } + + /** + * Map a canvas click to a row action. + * Row 0 = collapse/expand; 1 = combat; 2 = pause. + */ + private static void onClick(int x, int y) { + int relY = y - PANEL_Y - PAD; + int row = relY / ROW_H; + if (row <= 0) { + collapsed = !collapsed; + Microbot.log("panel " + (collapsed ? "collapsed" : "expanded")); + return; + } + if (collapsed) { + return; + } + if (row == 1) { + toggleCombat(); + } else if (row == 2) { + Microbot.pauseAllScripts = !Microbot.pauseAllScripts; + Microbot.log("pause=" + Microbot.pauseAllScripts); + } + } + + /** Start/stop {@link ExampleCombatScript} (shared with lilac NPC menu opcode 1907). */ + static void toggleCombat() { + ExampleCombatScript script = Microbot.getExampleCombat(); + if (script.isRunning()) { + script.shutdown(); + } else { + script.start(); + } + } +} diff --git a/client/microbot/MicrobotRuntime.java b/client/microbot/MicrobotRuntime.java new file mode 100644 index 000000000..937bbeae8 --- /dev/null +++ b/client/microbot/MicrobotRuntime.java @@ -0,0 +1,125 @@ +/** + * Client-thread Microbot pump — wired from {@link client#processGameTick}. + * Refreshes caches, injects pending menus, runs walk assists, starts example script toggle hook. + */ +final class MicrobotRuntime { + + static final Rs2NpcCache npcCache = new Rs2NpcCache(); + static final Rs2PlayerCache playerCache = new Rs2PlayerCache(); + static final Rs2TileObjectCache tileObjectCache = new Rs2TileObjectCache(); + static final Rs2TileItemCache tileItemCache = new Rs2TileItemCache(); + + private static int walkAssistX = -1; + private static int walkAssistY = -1; + private static int walkAssistTicks; + + /** Client-only menu opcode: toggle ExampleCombatScript. */ + static final int OPCODE_TOGGLE_COMBAT = 1907; + + private MicrobotRuntime() { + } + + static void ensureStarted() { + if (Microbot.isStarted() || !Microbot.enabled || !Loader.microbotEnabled) { + return; + } + Microbot.markClientThread(); + Microbot.mouse.ensureBackend(); + Microbot.setStarted(true); + Microbot.log("runtime started"); + } + + /** Per-tick hook — must stay cheap. */ + static void tick() { + if (!Loader.microbotEnabled) { + return; + } + ensureStarted(); + Microbot.markClientThread(); + if (!Microbot.isLoggedIn()) { + return; + } + npcCache.refreshIfNeeded(); + playerCache.refreshIfNeeded(); + tileObjectCache.refreshIfNeeded(); + tileItemCache.refreshIfNeeded(); + MicrobotMenu.injectPending(); + MicrobotMenu.dispatchPending(); + // Example combat (and future always-on pulses) — client thread, not executor. + try { + ExampleCombatScript combat = Microbot.getExampleCombat(); + if (combat.isRunning() && !Microbot.pauseAllScripts) { + combat.pulse(); + } + } catch (Throwable t) { + System.out.println("microbot combat pulse error: " + t.getMessage()); + t.printStackTrace(); + } + if (walkAssistX >= 0 && walkAssistTicks > 0) { + walkAssistTicks--; + try { + Component10.method2252(true, walkAssistX, walkAssistY, (byte) -120, 1, 0, 1, -4, 0); + } catch (Throwable ignored) { + } + if (walkAssistTicks <= 0) { + walkAssistX = -1; + walkAssistY = -1; + } + } + } + + static void queueWalkAssist(int localX, int localY) { + walkAssistX = localX; + walkAssistY = localY; + walkAssistTicks = 2; + } + + /** + * Inject lilac toggle row on attackable NPC menus: + * {@code Microbot: Combat} when off, {@code Stop Combat} when on. + */ + static void injectNpcMenu(Npc npc, NpcComposition composition) { + if (!Loader.microbotEnabled || npc == null || composition == null) { + return; + } + try { + String attack = FriendsIgnoreList.aClass274_3506.getLocalized(ObjectDeserializer.languageId, 544); + String[] actions = composition.actions; + boolean hasAttack = false; + if (actions != null) { + for (int i = 0; i < actions.length && i < 5; i++) { + if (actions[i] != null && actions[i].equalsIgnoreCase(attack)) { + hasAttack = true; + break; + } + } + } + if (!hasAttack) { + return; + } + // Off → enable; on → disable. + String label = Microbot.getExampleCombat().isRunning() + ? "Stop Combat" + : "Microbot: Combat"; + DisplayModeManagerContainer368.addMenuEntry(false, "", 0, (byte) -93, true, 0, -1, true, + OPCODE_TOGGLE_COMBAT, (long) npc.anInt10290, + "" + label + "", (long) npc.anInt10290, 0); + } catch (Throwable ignored) { + } + } + + static boolean handleMenuAction(MenuEntry entry) { + if (entry == null) { + return false; + } + int op = entry.opcode; + if (op >= 2000) { + op -= 2000; + } + if (op != OPCODE_TOGGLE_COMBAT) { + return false; + } + MicrobotPanel.toggleCombat(); + return true; + } +} diff --git a/client/microbot/MicrobotScript.java b/client/microbot/MicrobotScript.java new file mode 100644 index 000000000..83a61e2ef --- /dev/null +++ b/client/microbot/MicrobotScript.java @@ -0,0 +1,98 @@ +import java.util.concurrent.Executors; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.ScheduledFuture; +import java.util.concurrent.ThreadFactory; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.atomic.AtomicBoolean; + +/** + * Base Microbot script: daemon scheduled loop (~1 game tick). + *

+ * Subclasses schedule work via {@link #schedule(Runnable, long)}; {@link #run()} + * is the pre-loop gate (login / pause / blocking events). Call {@link #shutdown()} + * from plugin/script stop paths. + */ +abstract class MicrobotScript extends MicrobotGlobal { + + /** Default script cadence — ~1 RS tick. */ + static final long DEFAULT_DELAY_MS = 600L; + + // Anonymous ThreadFactory — RoboVM/Soot cannot AOT lambdas (invokedynamic). + private final ScheduledExecutorService executor = + Executors.newSingleThreadScheduledExecutor(new ThreadFactory() { + public Thread newThread(Runnable r) { + Thread t = new Thread(r, "microbot-script"); + t.setDaemon(true); + return t; + } + }); + + private final AtomicBoolean running = new AtomicBoolean(false); + private ScheduledFuture mainFuture; + + /** + * Pre-loop guard used inside scheduled tasks. + * + * @return false when the script should skip this iteration + */ + protected boolean run() { + if (!Microbot.isLoggedIn()) { + return false; + } + if (Microbot.pauseAllScripts) { + return false; + } + if (MicrobotBlockingEvents.isBlocking()) { + return false; + } + return true; + } + + /** + * Schedules {@code task} at a fixed delay. Cancels any previous schedule. + */ + protected void schedule(Runnable task, long delayMs) { + shutdownScheduleOnly(); + running.set(true); + long delay = delayMs > 0 ? delayMs : DEFAULT_DELAY_MS; + mainFuture = executor.scheduleWithFixedDelay(new Runnable() { + public void run() { + if (!running.get()) { + return; + } + try { + if (!MicrobotScript.this.run()) { + return; + } + task.run(); + } catch (Throwable t) { + System.out.println("microbot script error: " + t.getMessage()); + t.printStackTrace(); + } + } + }, 0, delay, TimeUnit.MILLISECONDS); + } + + /** Stops the loop; executor stays alive so {@link #schedule} can restart. */ + public void shutdown() { + running.set(false); + shutdownScheduleOnly(); + } + + /** Stops the loop and shuts down the executor (final dispose). */ + public void dispose() { + shutdown(); + executor.shutdownNow(); + } + + private void shutdownScheduleOnly() { + if (mainFuture != null) { + mainFuture.cancel(false); + mainFuture = null; + } + } + + boolean isRunning() { + return running.get(); + } +} diff --git a/client/microbot/MicrobotWidgets.java b/client/microbot/MicrobotWidgets.java new file mode 100644 index 000000000..c9d7d5373 --- /dev/null +++ b/client/microbot/MicrobotWidgets.java @@ -0,0 +1,56 @@ +/** + * 634 widget / inventory / bank group ids discovered for Void. + * Do not copy OSRS Microbot globval — revise as ifaces are confirmed in-game. + */ +final class MicrobotWidgets { + + /** + * Inventory backpack root — common RS2-era id; overridden by scan when + * {@link #findInventoryRoot()} finds a panel with item children. + */ + static int INVENTORY_GROUP = 149; + + /** Bank main interface (placeholder — scan prefers open bank by item grid). */ + static int BANK_GROUP = 762; + + private MicrobotWidgets() { + } + + static DisplayModeManagerContainer57 get(int packedId) { + try { + return BitmapFont.method2570(1512932720, packedId); + } catch (Throwable t) { + return null; + } + } + + static DisplayModeManagerContainer57 getChild(int packedParent, int child) { + try { + return NodeSub22.method2957(child, (byte) -54, packedParent); + } catch (Throwable t) { + return null; + } + } + + /** Absolute scene tile X for local player. */ + static int localAbsX() { + Player p = Component72.localPlayer; + if (p == null) { + return -1; + } + return p.anIntArray10320[0] + NodeBaseSub2.regionTileX; + } + + static int localAbsY() { + Player p = Component72.localPlayer; + if (p == null) { + return -1; + } + return p.anIntArray10317[0] + Component330.regionTileY; + } + + static int localPlane() { + Player p = Component72.localPlayer; + return p != null ? p.plane : 0; + } +} diff --git a/client/microbot/NewMenuEntry.java b/client/microbot/NewMenuEntry.java new file mode 100644 index 000000000..9886a5bc3 --- /dev/null +++ b/client/microbot/NewMenuEntry.java @@ -0,0 +1,110 @@ +/** + * Desired menu action for Microbot menu-inject. + *

+ * Mirrors Microbot's {@code NewMenuEntry}: scripts build one of these, then + * {@link Microbot#doInvoke} sets {@link Microbot#targetMenu} and clicks; the + * client tip is forced to this entry so {@link ColoredTextBuilder#method2599} runs the + * real game opcode (not a Void 1900-range client-only op). + *

+ * Field mapping onto {@link MenuEntry}: + *

    + *
  • option → {@code option}
  • + *
  • target → {@code target}
  • + *
  • opcode → {@code opcode}
  • + *
  • identifier → {@code identifier} (NPC index, object packed id, …)
  • + *
  • param0 → {@code param0} (local tile X / slot)
  • + *
  • param1 → {@code param1} (local tile Y / iface packed)
  • + *
  • itemId → {@code itemId}
  • + *
+ */ +final class NewMenuEntry { + + private String option = ""; + private String target = ""; + private int opcode; + private long identifier; + private int param0; + private int param1; + private int itemId = -1; + + NewMenuEntry() { + } + + NewMenuEntry(String option, String target, int opcode, long identifier, int param0, int param1, int itemId) { + this.option = option != null ? option : ""; + this.target = target != null ? target : ""; + this.opcode = opcode; + this.identifier = identifier; + this.param0 = param0; + this.param1 = param1; + this.itemId = itemId; + } + + String getOption() { + return option; + } + + NewMenuEntry setOption(String option) { + this.option = option != null ? option : ""; + return this; + } + + String getTarget() { + return target; + } + + NewMenuEntry setTarget(String target) { + this.target = target != null ? target : ""; + return this; + } + + int getOpcode() { + return opcode; + } + + NewMenuEntry setOpcode(int opcode) { + this.opcode = opcode; + return this; + } + + long getIdentifier() { + return identifier; + } + + NewMenuEntry setIdentifier(long identifier) { + this.identifier = identifier; + return this; + } + + int getParam0() { + return param0; + } + + NewMenuEntry setParam0(int param0) { + this.param0 = param0; + return this; + } + + int getParam1() { + return param1; + } + + NewMenuEntry setParam1(int param1) { + this.param1 = param1; + return this; + } + + int getItemId() { + return itemId; + } + + NewMenuEntry setItemId(int itemId) { + this.itemId = itemId; + return this; + } + + public String toString() { + return "NewMenuEntry{op=" + option + " target=" + target + " opcode=" + opcode + + " id=" + identifier + " p0=" + param0 + " p1=" + param1 + " item=" + itemId + "}"; + } +} diff --git a/client/microbot/README.md b/client/microbot/README.md new file mode 100644 index 000000000..c32182ac9 --- /dev/null +++ b/client/microbot/README.md @@ -0,0 +1,58 @@ +# Microbot (void-client) + +Bot runtime + HUD / mouse backends for the RS634 client. + +**Why this folder, no `package microbot`?** +The 634 sources live in the Java *unnamed* (default) package. A named package cannot +reference those types. So these files stay default-package but sit in a separate +Gradle source root for clarity. + +`Rs2*` scripting helpers live next door in `rs2/` (same rule). + +## Client source roots + +Nested folders on disk; **each leaf that holds `.java` is its own Gradle `srcDir`** +so the path is never treated as a package name. + +| Dir | Contents | +|-----|----------| +| `src` | Bootstrap / host loop (`Loader`, `client`, `Applet_*`, loading, debug) | +| `fonts` | `BitmapFont` + software / OpenGL / jaclib backends | +| `input` | `MouseHandler`, `AwtMouseHandler`, `BasicMouseHandler` | +| `menu` | `MenuEntry`, `DefaultClickSwapper`, `MenuOpener` | +| `void` | `LoginPrefs`, `MobileKeyboard` | +| `microbot` | bot runtime / panel / mouse backends | +| `rs2` | `Rs2*` scripting API (used by microbot) | +| `toolkit/base` | `ha`, `ha_Sub3`, `ToolkitFactory`, matrix helpers | +| `toolkit/gl` | `oa`, `ha_Sub2`, `Gl*`, `AbstractGlTexture*` | +| `toolkit/software` | `ha_Sub1` | +| `toolkit/d3d` | `D3DToolkit`, `dxVertexLayout`, peers | +| `shaders/base` | `aa*`, `AbstractShader*`, `ShaderProgram*`, compilers | +| `shaders/gl` | OpenGL / water shaders | +| `shaders/d3d` | `D3DShader` | +| `sprites` | `Sprite*` + `Component24` tree | +| `scene/graph` | `Renderable*`, `SceneManager`, overlays | +| `scene/particles` | `Particle*` | +| `scene/buffers` | `s*`, `t` heightmap / buffer-cache | +| `entities` | `Player`, `Npc`, shared parents | +| `nodes` | `Node*`, `HashNode*`, `HashTable` | +| `defs` | `Definition*`, `*Definition` | +| `cache` | `Cache*`, LRU, seekable file, inflate | +| `net/socket` | streams, connectors, request processor | +| `net/crypto` | RSA | +| `net/http` | browser / news / cookies | +| `net/packet` | `Buffer`, `PacketReader`, abstract buffers | +| `media/audio` | audio lines / mixer | +| `media/ogg` | Ogg streams | +| `media/video` | Theora / video ads | +| `script` | `ClientScriptExecutor` | +| `ifaces` | `Interface1`–`21` + impls | +| `native` | `za*` / `ya` / `r*` JNI peers + loaders | +| `text` | text builders / formatters | +| `display` | `DisplayModeManager`, `ScreenModeManager` | +| `components` | opaque `Component*` staging | +| `misc` | unclassified `DisplayModeManagerContainer*` | + +Wired from: +- `client/build.gradle.kts` → `java.srcDirs(...)` lists every leaf above +- Android / iOS `prepareClientSources` flattens `client/**/*.java` into `generated/client` diff --git a/client/microbot/VirtualMouse.java b/client/microbot/VirtualMouse.java new file mode 100644 index 000000000..8decdc168 --- /dev/null +++ b/client/microbot/VirtualMouse.java @@ -0,0 +1,105 @@ +import java.awt.event.MouseEvent; +import java.util.concurrent.Executors; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.ThreadFactory; +import java.util.concurrent.TimeUnit; + +/** + * Synthetic mouse for Microbot — sets {@link Microbot#targetMenu} then dispatches + * press/release/click through the active {@link MicrobotMouseBackend}. + *

+ * If invoked from the client thread, the click is offloaded to a daemon scheduler + * so we never nest AWT dispatch inside {@code processGameTick}. + */ +final class VirtualMouse { + + // Anonymous ThreadFactory — RoboVM/Soot cannot AOT lambdas (invokedynamic). + private final ScheduledExecutorService scheduler = + Executors.newSingleThreadScheduledExecutor(new ThreadFactory() { + public Thread newThread(Runnable r) { + Thread t = new Thread(r, "microbot-mouse"); + t.setDaemon(true); + return t; + } + }); + + private MicrobotMouseBackend backend; + private int lastX = 400; + private int lastY = 300; + + VirtualMouse() { + } + + void ensureBackend() { + if (backend != null) { + return; + } + VoidAwtHostMouse mobile = VoidAwtHostMouse.tryCreate(); + if (mobile != null) { + backend = mobile; + System.out.println("microbot: using VoidAwtHostMouse backend"); + } else { + backend = new DesktopAwtMouse(); + System.out.println("microbot: using DesktopAwtMouse backend"); + } + } + + MicrobotMouseBackend getBackend() { + ensureBackend(); + return backend; + } + + /** + * Left-click at {@code (x,y)} intending {@code entry}. Sets + * {@link Microbot#targetMenu} before press so menu rewrite / tip force can + * plant the real opcode. + */ + void click(int x, int y, NewMenuEntry entry) { + ensureBackend(); + Runnable action = new Runnable() { + public void run() { + try { + Microbot.targetMenu = entry; + Microbot.pendingMenuInject = true; + backend.mouseMoved(x, y); + MicrobotGlobal.sleep(20 + (int) (Math.random() * 40)); + backend.mousePressed(x, y, MouseEvent.BUTTON1); + MicrobotGlobal.sleep(30 + (int) (Math.random() * 40)); + backend.mouseReleased(x, y, MouseEvent.BUTTON1); + backend.mouseClicked(x, y, MouseEvent.BUTTON1); + lastX = x; + lastY = y; + } catch (Throwable t) { + System.out.println("microbot VirtualMouse.click failed: " + t.getMessage()); + } + } + }; + if (Microbot.isClientThread()) { + scheduler.schedule(action, 0, TimeUnit.MILLISECONDS); + } else { + action.run(); + } + } + + void clickCenter(NewMenuEntry entry) { + ensureBackend(); + int x = Math.max(10, backend.canvasWidth() / 2); + int y = Math.max(10, backend.canvasHeight() / 2); + click(x, y, entry); + } + + void move(int x, int y) { + ensureBackend(); + backend.mouseMoved(x, y); + lastX = x; + lastY = y; + } + + int getLastX() { + return lastX; + } + + int getLastY() { + return lastY; + } +} diff --git a/client/microbot/VoidAwtHostMouse.java b/client/microbot/VoidAwtHostMouse.java new file mode 100644 index 000000000..b4a40dd5e --- /dev/null +++ b/client/microbot/VoidAwtHostMouse.java @@ -0,0 +1,54 @@ +/** + * Mobile VirtualMouse backend — reflects into {@code voidawt.AwtHost}. + * Event ids match AWT/voidawt: CLICKED=500, PRESSED=501, RELEASED=502, MOVED=503. + */ +final class VoidAwtHostMouse implements MicrobotMouseBackend { + + private final java.lang.reflect.Method injectMouse; + + VoidAwtHostMouse(Class hostClass) throws Exception { + injectMouse = hostClass.getMethod("injectMouse", int.class, int.class, int.class, int.class, int.class); + } + + static VoidAwtHostMouse tryCreate() { + try { + Class c = Class.forName("voidawt.AwtHost"); + return new VoidAwtHostMouse(c); + } catch (Throwable t) { + return null; + } + } + + public void mouseMoved(int x, int y) { + invoke(503, x, y, 0, 0); + } + + public void mousePressed(int x, int y, int button) { + invoke(501, x, y, button, 1); + } + + public void mouseReleased(int x, int y, int button) { + invoke(502, x, y, button, 1); + } + + public void mouseClicked(int x, int y, int button) { + invoke(500, x, y, button, 1); + } + + public int canvasWidth() { + return Component236.anInt4017 > 0 ? Component236.anInt4017 : 765; + } + + public int canvasHeight() { + return PacketReader.anInt10432 > 0 ? PacketReader.anInt10432 : 503; + } + + private void invoke(int id, int x, int y, int button, int clickCount) { + try { + injectMouse.invoke(null, Integer.valueOf(id), Integer.valueOf(x), Integer.valueOf(y), + Integer.valueOf(button), Integer.valueOf(clickCount)); + } catch (Throwable t) { + System.out.println("microbot VoidAwtHostMouse inject failed: " + t.getMessage()); + } + } +} diff --git a/client/misc/BuildType.java b/client/misc/BuildType.java new file mode 100644 index 000000000..ab490c7ea --- /dev/null +++ b/client/misc/BuildType.java @@ -0,0 +1,102 @@ +/* BuildType - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from {@code Class231} (JODE-obfuscated). + * Client build channel: {@link Component342#LIVE}, {@link DefinitionSub20#RC}, {@link Component118#WIP}. + * Selected via applet {@code modewhat} / CLI; {@link #id} is 0/1/2. + */ +final class BuildType { + static int anInt2990; + static int anInt2991; + static int anInt2992; + static ReflectionInvoker aClass297_2993; + static int anInt2994; + /** 0=LIVE, 1=RC, 2=WIP. */ + int id; + static int anInt2996; + static int anInt2997; + + static final float[] method1638(int i, float[] fs, int i_0_) { + anInt2990++; + if (i_0_ != -1) aClass297_2993 = null; + float[] fs_1_ = new float[i]; + Component313.method1574(fs, 0, fs_1_, 0, i); + return fs_1_; + } + + public final String toString() { + anInt2992++; + throw new IllegalStateException(); + } + + static final boolean method1639(int i, int i_2_) { + if (i_2_ != 14634) method1638(-102, null, 28); + anInt2994++; + return i >= 12 && i <= 17; + } + + /** {@link #id}. */ + final int getId(int i) { + if (i != 0) return -76; + anInt2991++; + return this.id; + } + + public static void method1641(byte i) { + aClass297_2993 = null; + if (i != 85) aClass297_2993 = null; + } + + static final void method1642(byte i, GraphicsToolkit var_ha) { + anInt2997++; + int i_3_ = 0; + int i_4_ = 0; + if (Component210.gameCanvasAttached) { + i_3_ = BufferCacheSub3.method4008((byte) -124); + i_4_ = Component110.method260(false); + } + int i_5_ = -10660793; + StaticElementRenderer.method2509(Component227.anInt1117, DefinitionGroup.anInt9532 - -i_4_, var_ha, DisplayModeManagerContainer136.anInt4717 - -i_3_, i_5_, true, Component251.anInt5819, -16777216); + if (i > 98) { + NodeList.aClass324_3326.drawText(FriendsIgnoreList.aClass274_3507.getLocalized(ObjectDeserializer.languageId, 544), i_5_, i_4_ + (DefinitionGroup.anInt9532 - -14), i_3_ + (DisplayModeManagerContainer136.anInt4717 + 3), -1, -125); + int i_6_ = AbstractGlTextureSub4.mouseHandler.getCursorX(true) - -i_3_; + int i_7_ = i_4_ + AbstractGlTextureSub4.mouseHandler.getCursorY((byte) 127); + if (PauseHandler.aBoolean9535) { + int i_8_ = 0; + for (HashNodeSub13 class348_sub42_sub13 = ((HashNodeSub13) Component237.aClass107_3022.first(-119)); class348_sub42_sub13 != null; class348_sub42_sub13 = ((HashNodeSub13) Component237.aClass107_3022.next((byte) 44))) { + int i_9_ = (31 + i_4_ + DefinitionGroup.anInt9532 + i_8_ * 16); + i_8_++; + if ((class348_sub42_sub13.anInt9615) == 1) + RenderableSub2.method2494(i_4_ + DefinitionGroup.anInt9532, -256, i_9_, var_ha, ((MenuEntry) (class348_sub42_sub13.aClass107_9621.sentinel.next)), Component227.anInt1117, i_7_, -1, (byte) 124, Component251.anInt5819, DisplayModeManagerContainer136.anInt4717 - -i_3_, i_6_); + else DisplayModeManagerContainer58.method2431(-1, i_9_, class348_sub42_sub13, i_6_, Component227.anInt1117, -256, i_7_, var_ha, DefinitionGroup.anInt9532 + i_4_, 126, DisplayModeManagerContainer136.anInt4717 - -i_3_, Component251.anInt5819); + } + if (Component359.aClass348_Sub42_Sub13_3152 != null) { + StaticElementRenderer.method2509(NodeSub1Sub1.anInt8806, MouseHandler.menuOriginY, var_ha, DisplayModeManagerContainer368.anInt5252, i_5_, true, DisplayModeManagerContainer249.anInt4669, -16777216); + i_8_ = 0; + NodeList.aClass324_3326.drawText(Component359.aClass348_Sub42_Sub13_3152.aString9617, i_5_, MouseHandler.menuOriginY - -14, 3 + DisplayModeManagerContainer368.anInt5252, -1, -126); + for (MenuEntry class348_sub42_sub12 = ((MenuEntry) Component359.aClass348_Sub42_Sub13_3152.aClass107_9621.first(-84)); class348_sub42_sub12 != null; class348_sub42_sub12 = ((MenuEntry) Component359.aClass348_Sub42_Sub13_3152.aClass107_9621.next((byte) 73))) { + int i_10_ = 31 + (MouseHandler.menuOriginY + i_8_ * 16); + i_8_++; + RenderableSub2.method2494(MouseHandler.menuOriginY, -256, i_10_, var_ha, class348_sub42_sub12, NodeSub1Sub1.anInt8806, i_7_, -1, (byte) 125, DisplayModeManagerContainer249.anInt4669, DisplayModeManagerContainer368.anInt5252, i_6_); + } + Component9.method2642(NodeSub1Sub1.anInt8806, MouseHandler.menuOriginY, true, DisplayModeManagerContainer368.anInt5252, DisplayModeManagerContainer249.anInt4669); + } + } else { + int i_11_ = 0; + for (MenuEntry class348_sub42_sub12 = ((MenuEntry) DefinitionSub4.menuEntries.first(4)); class348_sub42_sub12 != null; class348_sub42_sub12 = (MenuEntry) DefinitionSub4.menuEntries.next((byte) 55)) { + int i_12_ = 31 + (i_4_ + DefinitionGroup.anInt9532 - -((-i_11_ + -1 + DisplayModeManagerContainer306.menuEntryCount) * 16)); + RenderableSub2.method2494(i_4_ + DefinitionGroup.anInt9532, -256, i_12_, var_ha, class348_sub42_sub12, Component227.anInt1117, i_7_, -1, (byte) 124, Component251.anInt5819, DisplayModeManagerContainer136.anInt4717 - -i_3_, i_6_); + i_11_++; + } + } + Component9.method2642(Component227.anInt1117, DefinitionGroup.anInt9532 - -i_4_, true, DisplayModeManagerContainer136.anInt4717 + i_3_, Component251.anInt5819); + } + } + + /** {@code string} is label only (LIVE/RC/WIP); stored key is {@code i}. */ + BuildType(String string, int i) { + this.id = i; + } +} diff --git a/client/misc/DisplayModeInfo.java b/client/misc/DisplayModeInfo.java new file mode 100644 index 000000000..b9b6f009b --- /dev/null +++ b/client/misc/DisplayModeInfo.java @@ -0,0 +1,56 @@ +/* DisplayModeInfo - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from {@code Class57} (JODE-obfuscated). + * Packed display mode from {@link Component248#getDisplayModes}: width×height, bit depth, refresh. + */ +final class DisplayModeInfo { + /** Colour depth in bits (prefer ≥24). */ + int bitDepth; + /** Mode width in pixels. */ + int width; + static DisplayModeManagerContainer167[] aClass17Array1048 = new DisplayModeManagerContainer167[14]; + static int anInt1049; + static ImageTagText aClass163_1050; + static Component111 aClass251_1051 = new Component111(); + /** Vertical refresh rate in Hz (0 = any). */ + int refreshRate; + static int anInt1053; + /** Mode height in pixels. */ + int height; + static Component150 aClass227_1055; + + static final void method529(int i, boolean bool) { + anInt1053++; + if (bool != true) method530(-105); + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i, (byte) 105, 2); + class348_sub42_sub15.method3251(-16058); + } + + public static void method530(int i) { + aClass17Array1048 = null; + aClass227_1055 = null; + aClass163_1050 = null; + aClass251_1051 = null; + if (i != 14) aClass251_1051 = null; + } + + static final int method531(byte i, DisplayModeManagerContainer88 class70) { + int i_0_ = -45 / ((i - 54) / 43); + anInt1049++; + if (DisplayModeManagerContainer173.aClass70_4247 != class70) { + if (class70 != DebugPanicSub2.aClass70_8503) { + if (DisplayModeManagerContainer343.aClass70_8737 != class70) { + if (DefinitionSub39.aClass70_9485 == class70) return 34166; + } else return 34168; + } else return 34167; + } else return 5890; + throw new IllegalArgumentException(); + } + + public DisplayModeInfo() { + /* empty */ + } +} diff --git a/client/misc/DisplayModeManagerContainer1.java b/client/misc/DisplayModeManagerContainer1.java new file mode 100644 index 000000000..566a57104 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer1.java @@ -0,0 +1,323 @@ +/* DisplayModeManagerContainer1 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer1 +/** + * RENAMED from `Class261` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3313; + static Component22 aClass113_3314 = new Component22(); + static int anInt3315; + static int anInt3316; + static int anInt3317; + static int anInt3318; + private final CacheStore cacheStore; + static int anInt3320; + private final NodeCache cache = new NodeCache(64); + static int anInt3322; + + public static void clearStatics(int i) { + if (i > 92) aClass113_3314 = null; + } + + /** + * Replace every occurrence of {@code c} in {@code string} with {@code string_0_}. + */ + static final String replaceChar(String string, byte i, char c, String string_0_) { + try { + anInt3322++; + int i_1_ = string.length(); + int i_2_ = string_0_.length(); + int i_3_ = i_1_; + int i_4_ = -1 + i_2_; + if (i_4_ != 0) { + int i_5_ = 0; + for (; ; ) { + i_5_ = string.indexOf(c, i_5_); + if (i_5_ < 0) break; + i_5_++; + i_3_ += i_4_; + } + } + StringBuffer stringbuffer = new StringBuffer(i_3_); + int i_6_ = 0; + if (i > -77) return null; + for (; ; ) { + int i_7_ = string.indexOf(c, i_6_); + if (i_7_ < 0) break; + stringbuffer.append(string, i_6_, i_7_); + stringbuffer.append(string_0_); + i_6_ = i_7_ + 1; + } + stringbuffer.append(string.substring(i_6_)); + return stringbuffer.toString(); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("uga.H(" + (string != null ? "{...}" : "null") + ',' + i + ',' + c + ',' + (string_0_ != null ? "{...}" : "null") + ')')); + } + } + + /** Send a length-prefixed string packet (script/chat helper). */ + static final void sendStringPacket(int i, int i_8_, String string) { + MenuEntry.anInt9594++; + anInt3318++; + ParticleSystem class348_sub47 = ParticleShader.method2148(Component208.aClass351_1766, DisplayModeManagerContainer64.aClass77_9029, i + -107); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 1 - -Component31.method1745(string, -65)); + if (i == 16) { + class348_sub47.aClass348_Sub49_Sub2_7116.writeByteSubtract((byte) -70, i_8_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); + HashNodeSub14.method3243(117, class348_sub47); + } + } + + /** Load {@link Component241} id {@code i} from the cache (cached in {@link #cache}). */ + final Component241 get(int i, int i_9_) { + anInt3320++; + Component241 class225; + synchronized (cache) { + class225 = (Component241) cache.get(i, 69); + } + if (class225 != null) return class225; + byte[] is; + synchronized (cacheStore) { + is = cacheStore.getFile(-1860, i_9_, i); + } + class225 = new Component241(); + if (is != null) class225.method1620(new Buffer(is), -108); + synchronized (cache) { + cache.putOne(class225, i, (byte) -109); + } + return class225; + } + + final void processSoftEntries(byte i, int i_10_) { + synchronized (cache) { + cache.processSoftEntries(2, i_10_); + } + anInt3315++; + if (i < 36) clearStatics(-32); + } + + final void clearCache(int i) { + anInt3317++; + synchronized (cache) { + cache.clear(i); + } + } + + final void removeSoft(byte i) { + synchronized (cache) { + cache.method587(-112); + } + int i_11_ = 119 / ((i - 47) / 55); + anInt3316++; + } + + /** Rebuild {@link Component192#menuTip} / secondary tip from the current menu list. */ + static final void updateMenuTip(int i) { + int i_12_ = 81 % ((i - -70) / 35); + anInt3313++; + if (!Component364.aBoolean8335) PauseHandler.aBoolean9535 = ((Component9.anInt4143 != -1 && DisplayModeManagerContainer306.menuEntryCount >= Component9.anInt4143) || (PacketReader.anInt10432 < 16 * DisplayModeManagerContainer306.menuEntryCount - -(!DisplayModeManagerContainer5.aBoolean1211 ? 22 : 26))); + Component290.aClass262_2187.clear(103); + DefinitionSub38.aClass262_9478.clear(104); + for (MenuEntry class348_sub42_sub12 = ((MenuEntry) DefinitionSub4.menuEntries.first(4)); class348_sub42_sub12 != null; class348_sub42_sub12 = (MenuEntry) DefinitionSub4.menuEntries.next((byte) 83)) { + int i_13_ = class348_sub42_sub12.opcode; + if (i_13_ < 1000) { + class348_sub42_sub12.unlink((byte) 97); + if (i_13_ == 15 || i_13_ == 2 || i_13_ == 30 || i_13_ == 49 || i_13_ == 51 || i_13_ == 50 || i_13_ == 6) DefinitionSub38.aClass262_9478.addTail(class348_sub42_sub12, -20180); + else Component290.aClass262_2187.addTail(class348_sub42_sub12, -20180); + } + } + Component290.aClass262_2187.transferFrom(DefinitionSub4.menuEntries, (byte) -115); + DefinitionSub38.aClass262_9478.transferFrom(DefinitionSub4.menuEntries, (byte) -115); + MenuEntry swapped = DefaultClickSwapper.applySwaps(); + // Microbot menu-inject: force tip to targetMenu when a script is clicking. + MenuEntry microTip = MicrobotMenu.applyTargetMenu(); + if (microTip != null) { + swapped = microTip; + } + if (microTip != null) { + Component192.menuTip = microTip; + MenuOpener.menuTipSecondary = microTip; + } else if (DisplayModeManagerContainer306.menuEntryCount > 1) { + if (swapped != null) { + // Force tip — list front alone loses to Attack priority on some NPCs. + Component192.menuTip = swapped; + MenuOpener.menuTipSecondary = swapped; + } else if (!Component262.shiftClick || !Component280.aClass346_2449.isKeyDown(81, -122) || DisplayModeManagerContainer306.menuEntryCount <= 2) { + Component192.menuTip = ((MenuEntry) DefinitionSub4.menuEntries.sentinel.previous); + MenuOpener.menuTipSecondary = Component192.menuTip; + } else { + Component192.menuTip = ((MenuEntry) DefinitionSub4.menuEntries.sentinel.previous.previous); + MenuOpener.menuTipSecondary = ((MenuEntry) DefinitionSub4.menuEntries.sentinel.previous); + } + } else { + Component192.menuTip = null; + MenuOpener.menuTipSecondary = null; + } + // Don't open menus / walk through overlays drawn on top of the game. + // Dev console (purple band) and Microbot HUD — script tip inject still allowed above. + if (BuildInfo.isMouseOverConsole() + || (Loader.microbotEnabled && Microbot.targetMenu == null && MicrobotPanel.isMouseOver())) { + Component192.menuTip = null; + MenuOpener.menuTipSecondary = null; + return; + } + int i_14_ = -1; + NodeSub45 class348_sub45 = (NodeSub45) Component327.aClass262_8744.first(4); + if (class348_sub45 != null) i_14_ = class348_sub45.getEventType(58); + if (Component364.aBoolean8335) { + if (i_14_ == -1) { + int i_15_ = AbstractGlTextureSub4.mouseHandler.getCursorX(true); + int i_16_ = AbstractGlTextureSub4.mouseHandler.getCursorY((byte) 116); + boolean bool = false; + if (Component359.aClass348_Sub42_Sub13_3152 != null) { + if (DisplayModeManagerContainer368.anInt5252 + -10 > i_15_ || ((DisplayModeManagerContainer368.anInt5252 - -NodeSub1Sub1.anInt8806 + 10) < i_15_) || -10 + MouseHandler.menuOriginY > i_16_ || (DisplayModeManagerContainer249.anInt4669 + MouseHandler.menuOriginY + 10 < i_16_)) HashNodeSub19.method3277((byte) -48); + else bool = true; + } + if (!bool) { + if (DisplayModeManagerContainer136.anInt4717 - 10 <= i_15_ && i_15_ <= (10 + DisplayModeManagerContainer136.anInt4717 - -Component227.anInt1117) && i_16_ >= -10 + DefinitionGroup.anInt9532 && i_16_ <= (10 + DefinitionGroup.anInt9532 - -Component251.anInt5819)) { + if (PauseHandler.aBoolean9535) { + int i_17_ = -1; + int i_18_ = -1; + for (int i_19_ = 0; i_19_ < DisplayModeManagerContainer345.anInt166; i_19_++) { + if (DisplayModeManagerContainer5.aBoolean1211) { + int i_21_ = (16 * i_19_ + 33 + DefinitionGroup.anInt9532); + if ((i_16_ > -13 + i_21_) && i_21_ + 4 > i_16_) { + i_18_ = -13 + i_21_; + i_17_ = i_19_; + break; + } + } else { + int i_20_ = (16 * i_19_ + DefinitionGroup.anInt9532 - -31); + if (i_20_ + -13 < i_16_ && (i_20_ + 3 > i_16_)) { + i_18_ = i_20_ + -13; + i_17_ = i_19_; + break; + } + } + } + if (i_17_ != -1) { + int i_22_ = 0; + ClientErrorReporter class156 = new ClientErrorReporter(Component237.aClass107_3022); + for (HashNodeSub13 class348_sub42_sub13 = ((HashNodeSub13) class156.firstHashNode(75)); class348_sub42_sub13 != null; class348_sub42_sub13 = ((HashNodeSub13) class156.nextHashNode((byte) 74))) { + if (i_17_ == i_22_) { + if (class348_sub42_sub13.anInt9615 > 1) DisplayModeManagerContainer153.method881(class348_sub42_sub13, i_16_, true, i_18_); + break; + } + i_22_++; + } + } + } + } else ShaderProgramSub2.method2146((byte) 70); + } + } + if (i_14_ == 0) { + int i_23_ = class348_sub45.getX((byte) -128); + int i_24_ = class348_sub45.getY(33); + if (Component359.aClass348_Sub42_Sub13_3152 != null && DisplayModeManagerContainer368.anInt5252 <= i_23_ && (NodeSub1Sub1.anInt8806 + DisplayModeManagerContainer368.anInt5252 >= i_23_) && i_24_ >= MouseHandler.menuOriginY && MouseHandler.menuOriginY + DisplayModeManagerContainer249.anInt4669 >= i_24_) { + int i_25_ = -1; + for (int i_26_ = 0; (Component359.aClass348_Sub42_Sub13_3152.anInt9615 > i_26_); i_26_++) { + if (DisplayModeManagerContainer5.aBoolean1211) { + int i_27_ = 33 + (MouseHandler.menuOriginY + i_26_ * 16); + if (i_24_ > -13 + i_27_ && i_24_ < 4 + i_27_) i_25_ = i_26_; + } else { + int i_28_ = i_26_ * 16 + 31 + MouseHandler.menuOriginY; + if (i_28_ + -13 < i_24_ && i_24_ < 3 + i_28_) i_25_ = i_26_; + } + } + if (i_25_ != -1) { + int i_29_ = 0; + ClientErrorReporter class156 = new ClientErrorReporter(Component359.aClass348_Sub42_Sub13_3152.aClass107_9621); + for (MenuEntry class348_sub42_sub12 = ((MenuEntry) class156.firstHashNode(98)); class348_sub42_sub12 != null; class348_sub42_sub12 = ((MenuEntry) class156.nextHashNode((byte) 122))) { + if (i_29_ == i_25_) { + ColoredTextBuilder.processMenuAction((byte) 126, class348_sub42_sub12, i_24_, i_23_); + break; + } + i_29_++; + } + } + ShaderProgramSub2.method2146((byte) 78); + } else if (DisplayModeManagerContainer136.anInt4717 <= i_23_ && (i_23_ <= DisplayModeManagerContainer136.anInt4717 - -Component227.anInt1117) && i_24_ >= DefinitionGroup.anInt9532 && ((DefinitionGroup.anInt9532 - -Component251.anInt5819) >= i_24_)) { + if (PauseHandler.aBoolean9535) { + int i_30_ = -1; + for (int i_31_ = 0; i_31_ < DisplayModeManagerContainer345.anInt166; i_31_++) { + if (DisplayModeManagerContainer5.aBoolean1211) { + int i_33_ = (DefinitionGroup.anInt9532 + 33 - -(i_31_ * 16)); + if (i_24_ > -13 + i_33_ && i_33_ + 4 > i_24_) { + i_30_ = i_31_; + break; + } + } else { + int i_32_ = (DefinitionGroup.anInt9532 + 31 + i_31_ * 16); + if (i_24_ > i_32_ - 13 && i_32_ + 3 > i_24_) { + i_30_ = i_31_; + break; + } + } + } + if (i_30_ != -1) { + int i_34_ = 0; + ClientErrorReporter class156 = new ClientErrorReporter(Component237.aClass107_3022); + for (HashNodeSub13 class348_sub42_sub13 = ((HashNodeSub13) class156.firstHashNode(18)); class348_sub42_sub13 != null; class348_sub42_sub13 = ((HashNodeSub13) class156.nextHashNode((byte) 55))) { + if (i_34_ == i_30_) { + ColoredTextBuilder.processMenuAction((byte) 122, ((MenuEntry) (class348_sub42_sub13.aClass107_9621.sentinel.next)), i_24_, i_23_); + ShaderProgramSub2.method2146((byte) 118); + break; + } + i_34_++; + } + } + } else { + int i_35_ = -1; + for (int i_36_ = 0; (i_36_ < DisplayModeManagerContainer306.menuEntryCount); i_36_++) { + if (DisplayModeManagerContainer5.aBoolean1211) { + int i_37_ = (33 + DefinitionGroup.anInt9532 + 16 * (DisplayModeManagerContainer306.menuEntryCount - (1 - -i_36_))); + if (i_37_ - 13 < i_24_ && 4 + i_37_ > i_24_) i_35_ = i_36_; + } else { + int i_38_ = (DefinitionGroup.anInt9532 + (31 - -((DisplayModeManagerContainer306.menuEntryCount - 1 - i_36_) * 16))); + if (i_38_ - 13 < i_24_ && (i_24_ < i_38_ - -3)) i_35_ = i_36_; + } + } + if (i_35_ != -1) { + int i_39_ = 0; + Component37 class312 = new Component37(DefinitionSub4.menuEntries); + for (MenuEntry class348_sub42_sub12 = ((MenuEntry) class312.method2327((byte) -53)); class348_sub42_sub12 != null; class348_sub42_sub12 = ((MenuEntry) class312.method2329(10))) { + if (i_35_ == i_39_) { + ColoredTextBuilder.processMenuAction((byte) 107, class348_sub42_sub12, i_24_, i_23_); + break; + } + i_39_++; + } + } + ShaderProgramSub2.method2146((byte) -46); + } + } + } + } else { + if (i_14_ == 0 && ((Component203.anInt8770 == 1 && DisplayModeManagerContainer306.menuEntryCount > 2) || Component203.method2485(-100))) i_14_ = 2; + if (i_14_ == 2 && DisplayModeManagerContainer306.menuEntryCount > 0 && class348_sub45 != null) { + if (Component156.aClass46_3701 == null && HashNode.anInt7059 == 0) DisplayModeManagerContainer42.method2291((byte) -124, class348_sub45.getX((byte) -127), class348_sub45.getY(-104)); + else Component21.anInt3655 = 2; + } + if (i_14_ == 0) { + if (Component192.menuTip != null) Component272.method1731(1); + else if (r.aBoolean9722) DisplayModeManagerContainer196.method2678(-2049); + } + if (Component156.aClass46_3701 == null && HashNode.anInt7059 == 0) { + Component161.aMenuEntry_1946 = null; + Component21.anInt3655 = 0; + } + } + } + + DisplayModeManagerContainer1(GameType class230, int i, CacheStore class45) { + try { + cacheStore = class45; + cacheStore.getFileCount(0, 32); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("uga.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/misc/DisplayModeManagerContainer104.java b/client/misc/DisplayModeManagerContainer104.java new file mode 100644 index 000000000..bd02a7c51 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer104.java @@ -0,0 +1,341 @@ +/* DisplayModeManagerContainer104 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.awt.*; + +final class DisplayModeManagerContainer104 +/** + * RENAMED from `Class318_Sub1_Sub3_Sub4` (JODE-obfuscated). + * Evidence: subclass of Component327 (hierarchy) + */ extends Component327 { + static int anInt10328; + static int anInt10329; + static Component103[] aClass338Array10330; + private int anInt10331; + private DisplayModeManagerContainer167 aClass17_10332; + static int anInt10333; + private int anInt10334; + private int anInt10335 = 0; + static DisplayModeManagerContainer57 aClass46_10336 = null; + static int anInt10337; + private boolean aBoolean10338; + private int anInt10339 = 0; + static int anInt10340; + private RenderableSub10 aClass318_Sub10_10341; + static int anInt10342; + static int anInt10343; + static int anInt10344; + boolean aBoolean10345; + static int anInt10346; + static int anInt10347; + static int anInt10348; + int anInt10349; + private final int anInt10350; + static int anInt10351; + static int anInt10352; + static int anInt10353; + static int anInt10354; + private final int anInt10355; + private int anInt10356; + static int anInt10357; + static int anInt10358; + static int anInt10359; + static int anInt10360; + static int anInt10361; + static int anInt10362; + static int anInt10363; + static int anInt10364; + + final RenderableSub4 method2386(int i, GraphicsToolkit var_ha) { + anInt10352++; + DisplayModeManagerContainer370 class64 = method2465(var_ha, anInt10355, (anInt10334 == 0 ? 0 : 5) | 0x800, (byte) -82); + if (class64 == null) return null; + if (anInt10334 != 0) class64.a(anInt10334 * 2048); + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + class101.method894(this.x, this.anInt6382, this.y); + method2467(class64, var_ha, -1, class101); + RenderableSub4 class318_sub4 = OutputStream_Sub2.method136(i, false, false); + if (DisplayModeManagerContainer50.aBoolean3870) class64.method608(class101, (class318_sub4.aClass318_Sub3Array6414[0]), Component72.anInt1906, 0); + else class64.method615(class101, (class318_sub4.aClass318_Sub3Array6414[0]), 0); + if (aClass318_Sub10_10341 != null) { + Component122 class98 = aClass318_Sub10_10341.method2525(); + if (!DisplayModeManagerContainer50.aBoolean3870) var_ha.method3684(class98); + else var_ha.method3685(class98, Component72.anInt1906); + } + aBoolean10338 = class64.F(); + anInt10331 = class64.fa(); + anInt10356 = class64.ma(); + return class318_sub4; + } + + final int method2394(boolean bool) { + if (bool != true) return 18; + anInt10337++; + return anInt10331; + } + + static final void method2461(RenderableSub6 class318_sub6, boolean bool) { + if (bool != true) aClass46_10336 = null; + class318_sub6.aClass318_Sub1_Sub3_Sub3_6431 = null; + anInt10361++; + if (Component6.anInt4474 < 20) { + Component240.aClass243_1114.method1869(-89, class318_sub6); + Component6.anInt4474++; + } + } + + final void method2380(GraphicsToolkit var_ha, int i, boolean bool, RenderableObject class318_sub1, int i_0_, byte i_1_, int i_2_) { + try { + anInt10347++; + if (i_1_ > -106) this.aBoolean10345 = false; + throw new IllegalStateException(); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("lf.N(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class318_sub1 != null ? "{...}" : "null") + ',' + i_0_ + ',' + i_1_ + ',' + i_2_ + ')')); + } + } + + protected final void finalize() { + anInt10329++; + if (aClass318_Sub10_10341 != null) aClass318_Sub10_10341.method2534(); + } + + final void method2392(boolean bool) { + anInt10343++; + if (bool != true) aClass17_10332 = null; + throw new IllegalStateException(); + } + + static final int method2462(int i, int i_3_, int i_4_) { + anInt10351++; + int i_5_ = (Component281.method2278(4, 91923 + i_4_, (byte) 120, i_3_ + 45365) - 128 + ((Component281.method2278(2, 37821 + i_4_, (byte) 122, 10294 + i_3_) - 128 >> 1) + (-128 + Component281.method2278(1, i_4_, (byte) 120, i_3_) >> 2))); + i_5_ = (int) (0.3 * (double) i_5_) + 35; + if (i_5_ >= 10) { + if (i_5_ > 60) i_5_ = 60; + } else i_5_ = 10; + if (i >= -35) createFrame(36, -58, null, 49, -2, 122); + return i_5_; + } + + final boolean method2376(int i) { + if (i > -12) return false; + anInt10362++; + return false; + } + + static final Frame createFrame(int i, int i_6_, ReflectionInvoker class297, int i_7_, int i_8_, int i_9_) { + anInt10344++; + if (!class297.hasFullscreenSupport(-4)) return null; + if (i_7_ == 0) { + DisplayModeInfo[] class57s = Component248.getDisplayModes((byte) -49, class297); + if (class57s == null) return null; + boolean bool = false; + for (int i_10_ = 0; class57s.length > i_10_; i_10_++) { + if (i_6_ == class57s[i_10_].width && (i == class57s[i_10_].height) && (i_9_ == 0 || (class57s[i_10_].refreshRate == i_9_)) && (!bool || (class57s[i_10_].bitDepth > i_7_))) { + i_7_ = class57s[i_10_].bitDepth; + bool = true; + } + } + if (!bool) return null; + } + Task class144 = class297.createFullscreenFrame(i_9_, i, i_7_, i_6_, (byte) -11); + while (class144.status == 0) SpriteAtlasShader.sleep((byte) 19, 10L); + Frame frame = (Frame) class144.result; + if (frame == null) return null; + if (i_8_ != 14199) return null; + if (class144.status == 2) { + LoadingState.startLoadingTask(frame, class297, false); + return null; + } + return frame; + } + + static final void method2464(byte i, int i_11_, int i_12_, int i_13_, GraphicsToolkit var_ha, int i_14_, d var_d) { + do { + try { + anInt10357++; + if (Node.anInt4290 < 100) StaticElementRenderer.method2512(var_d, var_ha, i ^ 0x74); + var_ha.KA(i_11_, i_14_, i_12_ + i_11_, i_14_ + i_13_); + if (Node.anInt4290 < 100) { + int i_15_ = 20; + int i_16_ = i_12_ / 2 + i_11_; + int i_17_ = i_14_ - -(i_13_ / 2) - 18 - i_15_; + var_ha.fillRect(i_11_, i_14_, i_12_, i_13_, -16777216, 0); + var_ha.method3628(-152 + i_16_, i_17_, 304, 34, DefinitionSub8.aColorArray9163[Component303.anInt2884].getRGB(), 0); + var_ha.fillRect(i_16_ - 150, 2 + i_17_, Node.anInt4290 * 3, 30, Component137.aColorArray1928[Component303.anInt2884].getRGB(), 0); + NodeList.aClass324_3326.drawTextCentred((byte) -116, i_16_, DisplayModeManagerContainer368.aColorArray5242[Component303.anInt2884].getRGB(), FriendsIgnoreList.aClass274_3501.getLocalized(ObjectDeserializer.languageId, i + 551), -1, i_15_ + i_17_); + } else { + int i_18_ = (NodeSub36.anInt6992 + -(int) ((float) i_12_ / DisplayModeManagerContainer229.aFloat1247)); + int i_19_ = ((int) ((float) i_13_ / DisplayModeManagerContainer229.aFloat1247) + DebugOverlay.anInt3170); + int i_20_ = ((int) ((float) i_12_ / DisplayModeManagerContainer229.aFloat1247) + NodeSub36.anInt6992); + DisplayModeManagerContainer34.anInt8665 = DebugOverlay.anInt3170 + -(int) ((float) i_13_ / DisplayModeManagerContainer229.aFloat1247); + Component63.anInt4509 = (NodeSub36.anInt6992 + -(int) ((float) i_12_ / DisplayModeManagerContainer229.aFloat1247)); + int i_21_ = (DebugOverlay.anInt3170 + -(int) ((float) i_13_ / DisplayModeManagerContainer229.aFloat1247)); + Component280.anInt2446 = (int) ((float) (2 * i_13_) / DisplayModeManagerContainer229.aFloat1247); + Component361.anInt370 = (int) ((float) (i_12_ * 2) / DisplayModeManagerContainer229.aFloat1247); + DisplayModeManagerContainer229.method751(i_18_ + DisplayModeManagerContainer229.anInt1266, i_19_ + DisplayModeManagerContainer229.anInt1263, i_20_ - -DisplayModeManagerContainer229.anInt1266, DisplayModeManagerContainer229.anInt1263 + i_21_, i_11_, i_14_, i_12_ + i_11_, i_13_ + i_14_ + 1); + DisplayModeManagerContainer229.method748(var_ha); + if (i != -7) method2462(63, -7, -14); + NodeList class262 = DisplayModeManagerContainer229.method758(var_ha); + DisplayModeManagerContainer74.method2312(-13084, 0, class262, 0, var_ha); + if (WaterShader.anInt7379 > 0) { + LoadingManager.anInt2173--; + if (LoadingManager.anInt2173 == 0) { + WaterShader.anInt7379--; + LoadingManager.anInt2173 = 20; + } + } + if (!Component10.fpsOverlayEnabled) break; + int i_22_ = -5 + i_11_ + i_12_; + int i_23_ = -8 + i_13_ + i_14_; + Applet_Sub1.aClass324_20.drawTextRightAligned("Fps:" + (DisplayModeManagerContainer348.fps), i_23_, 16776960, i_22_, i + -116, -1); + i_23_ -= 15; + Runtime runtime = Runtime.getRuntime(); + int i_24_ = (int) ((runtime.totalMemory() + -runtime.freeMemory()) / 1024L); + int i_25_ = 16776960; + if (i_24_ > 65536) i_25_ = 16711680; + Applet_Sub1.aClass324_20.drawTextRightAligned("Mem:" + i_24_ + "k", i_23_, i_25_, i_22_, -127, -1); + i_23_ -= 15; + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("lf.L(" + i + ',' + i_11_ + ',' + i_12_ + ',' + i_13_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_14_ + ',' + (var_d != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + private final DisplayModeManagerContainer370 method2465(GraphicsToolkit var_ha, int i, int i_26_, byte i_27_) { + anInt10353++; + if (i_27_ != -82) return null; + Component63 class368 = NsnDefinition.aClass319_9245.method2543((byte) 122, i); + s var_s = NodeSub1Sub1.aSArray8801[this.plane]; + s var_s_28_ = (this.aByte6376 < 3 ? (NodeSub1Sub1.aSArray8801[1 + this.aByte6376]) : null); + if (!this.aBoolean10345) return class368.method3565(anInt10339, anInt10335, this.anInt6382, i_26_, true, var_ha, anInt10350, this.x, -129, RunescapeInfo.aClass87_191, var_s_28_, this.y, var_s); + return class368.method3565(0, -1, this.anInt6382, i_26_, true, var_ha, -1, this.x, -129, RunescapeInfo.aClass87_191, var_s_28_, this.y, var_s); + } + + final void method2466(boolean bool) { + if (bool == false) { + if (aClass318_Sub10_10341 != null) aClass318_Sub10_10341.method2534(); + anInt10359++; + } + } + + final boolean method2377(byte i) { + anInt10358++; + if (i != 122) method2388(-40); + return aBoolean10338; + } + + private final void method2467(DisplayModeManagerContainer370 class64, GraphicsToolkit var_ha, int i, DisplayModeManagerContainer204 class101) { + do { + try { + class64.method620(class101); + anInt10360++; + Component30[] class129s = class64.method619(); + DisplayModeManagerContainer173[] class342s = class64.method604(); + if (i == -1) { + if ((aClass318_Sub10_10341 == null || (aClass318_Sub10_10341.aBoolean6470)) && (class129s != null || class342s != null)) aClass318_Sub10_10341 = RenderableSub10.method2526(OpenGlShader.clientCycle, true); + if (aClass318_Sub10_10341 == null) break; + aClass318_Sub10_10341.method2536(var_ha, OpenGlShader.clientCycle, class129s, class342s, false); + aClass318_Sub10_10341.method2533(this.plane, this.aShort8743, this.aShort8751, this.aShort8750, this.aShort8747); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("lf.BA(" + (class64 != null ? "{...}" : "null") + ',' + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + (class101 != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + final int method2379(int i) { + anInt10342++; + if (i != -25675) anInt10334 = 73; + return anInt10356; + } + + final ComponentDownloader method2381(GraphicsToolkit var_ha, int i) { + if (i != 7) method2387(null, -106); + anInt10363++; + return null; + } + + final boolean method2388(int i) { + if (i >= -65) return false; + anInt10328++; + return false; + } + + final void method2387(GraphicsToolkit var_ha, int i) { + if (i >= -125) anInt10331 = 38; + anInt10354++; + DisplayModeManagerContainer370 class64 = method2465(var_ha, anInt10355, 0, (byte) -82); + if (class64 != null) { + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + class101.method894(this.x, this.anInt6382, this.y); + method2467(class64, var_ha, -1, class101); + } + } + + final boolean method2391(GraphicsToolkit var_ha, int i, int i_29_, int i_30_) { + anInt10346++; + if (i_30_ != 0) return false; + return false; + } + + static final void method2468(int i) { + anInt10348++; + if (i == 3613) { + int i_31_ = 0; + for (int i_32_ = 0; AbstractShaderSub4.anInt7319 > i_32_; i_32_++) { + for (int i_33_ = 0; ParametricDefinition.anInt9109 > i_33_; i_33_++) { + if (AbstractShaderSub4.method3542(i_33_, Component335.aClass357ArrayArrayArray2029, i_32_, 0, i_31_, true)) i_31_++; + if (i_31_ >= 512) return; + } + } + } + } + + public static void method2469(boolean bool) { + aClass46_10336 = null; + if (bool == true) aClass338Array10330 = null; + } + + DisplayModeManagerContainer104(int i, int i_34_, int i_35_, int i_36_, int i_37_, int i_38_, int i_39_, int i_40_, int i_41_, int i_42_, int i_43_, int i_44_, int i_45_) { + super(i_36_, i_37_, i_38_, i_39_, i_40_, i_41_, i_42_, i_43_, i_44_, false, (byte) 0); + aBoolean10338 = true; + this.aBoolean10345 = false; + anInt10331 = 0; + anInt10334 = 0; + anInt10350 = -1; + anInt10356 = 0; + anInt10355 = i; + anInt10334 = i_45_; + this.anInt10349 = i_35_ + i_34_; + Component63 class368 = NsnDefinition.aClass319_9245.method2543((byte) 57, anInt10355); + int i_46_ = class368.anInt4503; + if (i_46_ == -1) this.aBoolean10345 = true; + else { + aClass17_10332 = RunescapeInfo.aClass87_191.method835(i_46_, 7); + this.aBoolean10345 = false; + } + if (this.anInt10349 == i_35_) DisplayModeManagerContainer260.method2178(this, anInt10335, aClass17_10332, -99); + } + + final void method2470(int i, byte i_47_) { + if (i_47_ <= -14) { + anInt10333++; + if (!this.aBoolean10345) { + anInt10339 += i; + while (aClass17_10332.anIntArray267[anInt10335] < anInt10339) { + anInt10339 -= (aClass17_10332.anIntArray267[anInt10335]); + anInt10335++; + if (aClass17_10332.anIntArray237.length <= anInt10335) { + this.aBoolean10345 = true; + break; + } + } + if (!this.aBoolean10345) DisplayModeManagerContainer260.method2178(this, anInt10335, aClass17_10332, -59); + } + } + } +} diff --git a/client/misc/DisplayModeManagerContainer105.java b/client/misc/DisplayModeManagerContainer105.java new file mode 100644 index 000000000..5c4b7764a --- /dev/null +++ b/client/misc/DisplayModeManagerContainer105.java @@ -0,0 +1,295 @@ +/* DisplayModeManagerContainer105 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaggl.OpenGL; + +final class DisplayModeManagerContainer105 +/** + * RENAMED from `Class206` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ implements Interface11 { + static int anInt4864; + static int anInt4865; + static int anInt4866; + static int anInt4867; + static int anInt4868; + static int anInt4869; + static int anInt4870; + static int anInt4871; + private int anInt4872; + private int anInt4873; + static Component246 aClass209_4874; + private final Interface9[] anInterface9Array4875 = new Interface9[9]; + static int anInt4876; + static int anInt4877; + static int anInt4878; + static int anInt4879; + static int anInt4880; + static int anInt4881; + private int anInt4882; + private final GlToolkitSub2 aHa_Sub2_4883; + private int anInt4884; + static int anInt4885; + private int anInt4886; + static int anInt4887; + static boolean aBoolean4888 = false; + static int anInt4889; + static int anInt4890; + private int anInt4891; + static int anInt4892; + static int anInt4893; + + public final void method45(byte i) { + anInt4865++; + OpenGL.glBindFramebufferEXT(36008, 0); + if (i == -47) { + anInt4872 &= ~0x1; + anInt4873 = method1504(-114); + } + } + + final void method1498(int i, int i_0_, int i_1_, GlFramebufferTexture class258_sub2) { + method1502(0, (byte) -38, class258_sub2, i, i_1_); + if (i_0_ < -49) anInt4887++; + } + + public final void method46(int i) { + OpenGL.glBindFramebufferEXT(36160, anInt4891); + anInt4867++; + anInt4872 |= 0x4; + if (i != -11762) anInt4889 = 110; + anInt4873 = method1504(-115); + } + + public static void method1499(int i) { + if (i < -124) aClass209_4874 = null; + } + + final void method1500(int i, int i_2_) { + if (anInterface9Array4875[i_2_] != null) anInterface9Array4875[i_2_].method37(-3022); + if (i != 2983) anInt4891 = -116; + anInt4866++; + anInt4884 &= ~(1 << i_2_); + anInterface9Array4875[i_2_] = null; + } + + static final void method1501(int i) { + int i_3_ = 56 / ((i - -56) / 42); + for (int i_4_ = 0; i_4_ < Component335.anInt2021; i_4_++) { + RunescapeInfo class10 = GlFramebufferTexture.aClass10Array8531[i_4_]; + boolean bool = false; + if (class10.aClass348_Sub16_Sub5_176 == null) { + class10.anInt188--; + if (class10.anInt188 >= (!class10.isPositionalSound((byte) -66) ? -10 : -1500)) { + if (class10.aByte180 == 1 && class10.aClass317_183 == null) { + class10.aClass317_183 = Component277.method2372(Component30.aClass45_1878, class10.anInt185, 0); + if (class10.aClass317_183 == null) continue; + class10.anInt188 += class10.aClass317_183.method2370(); + } else if (class10.isPositionalSound((byte) -39) && ((class10.aClass348_Sub10_192 == null) || (class10.aClass348_Sub19_Sub1_189) == null)) { + if (class10.aClass348_Sub10_192 == null) class10.aClass348_Sub10_192 = NodeSub10.method2793((Component323.aClass45_5878), (class10.anInt185)); + if (class10.aClass348_Sub10_192 == null) continue; + if (class10.aClass348_Sub19_Sub1_189 == null) { + class10.aClass348_Sub19_Sub1_189 = class10.aClass348_Sub10_192.method2791(new int[]{22050}); + if (class10.aClass348_Sub19_Sub1_189 == null) continue; + } + } + if (class10.anInt188 < 0) { + int i_5_ = 8192; + int i_6_; + if (class10.anInt178 == 0) i_6_ = ((class10.anInt184 * (class10.aByte180 == 3 ? Component192.aClass348_Sub51_3959.aClass239_Sub26_7215.method1838(-32350) : Component192.aClass348_Sub51_3959.aClass239_Sub26_7272.method1838(-32350))) >> 2); + else { + int i_7_ = 0x3 & (class10.anInt178 >> 24); + if ((Component72.localPlayer.plane) == i_7_) { + int i_8_ = 0x1fe00 & (class10.anInt178 << 9); + int i_9_ = (Component72.localPlayer.method2436((byte) 52) << 8); + int i_10_ = ((class10.anInt178 & 0xff7e29) >> 16); + int i_11_ = (-(Component72.localPlayer.x) + 256 + (i_10_ << 9) + i_9_); + int i_12_ = ((class10.anInt178 & 0xffc1) >> 8); + int i_13_ = (256 + (i_12_ << 9) - ((Component72.localPlayer.y) - i_9_)); + int i_14_ = (Math.abs(i_11_) + (Math.abs(i_13_) + -512)); + if (i_8_ < i_14_) { + class10.anInt188 = -99999; + continue; + } + if (i_14_ < 0) i_14_ = 0; + i_6_ = ((i_8_ + -i_14_) * (Component192.aClass348_Sub51_3959.aClass239_Sub26_7234.method1838(-32350) * class10.anInt184) / i_8_) >> 2; + if ((class10.aClass318_Sub1_172 != null) && (class10.aClass318_Sub1_172 instanceof Component327)) { + Component327 class318_sub1_sub3 = ((Component327) (class10.aClass318_Sub1_172)); + short i_15_ = (class318_sub1_sub3.aShort8743); + short i_16_ = (class318_sub1_sub3.aShort8750); + } + if (i_11_ != 0 || i_13_ != 0) { + int i_17_ = (0x3fff & (-4096 + -Component298.anInt4638 + -(int) (2607.5945876176133 * (Math.atan2(i_11_, i_13_))))); + if (i_17_ > 8192) i_17_ = 16384 + -i_17_; + int i_18_; + if (i_14_ <= 0) i_18_ = 8192; + else if (i_14_ >= 4096) i_18_ = 16384; + else i_18_ = 8192 + (-i_14_ + 8192) / 4096; + i_5_ = ((-i_18_ + 16384 >> 1) + i_18_ * i_17_ / 8192); + } + } else i_6_ = 0; + } + if (i_6_ > 0) { + NodeSub19Sub1 class348_sub19_sub1 = null; + if (class10.aByte180 != 1) { + if (class10.isPositionalSound((byte) -112)) class348_sub19_sub1 = (class10.aClass348_Sub19_Sub1_189); + } else class348_sub19_sub1 = class10.aClass317_183.method2369().method2944(DisplayModeInfo.aClass163_1050); + NodeSub16Sub5 class348_sub16_sub5 = (class10.aClass348_Sub16_Sub5_176 = (NodeSub16Sub5.method2911(class348_sub19_sub1, class10.anInt173, i_6_, i_5_))); + class348_sub16_sub5.method2917(-1 + class10.anInt177); + PlayerState.aClass348_Sub16_Sub4_7065.method2883(class348_sub16_sub5); + } + } + } else bool = true; + } else if (!class10.aClass348_Sub16_Sub5_176.isLinked((byte) 4)) bool = true; + if (bool) { + Component335.anInt2021--; + for (int i_19_ = i_4_; Component335.anInt2021 > i_19_; i_19_++) + GlFramebufferTexture.aClass10Array8531[i_19_] = GlFramebufferTexture.aClass10Array8531[i_19_ - -1]; + i_4_--; + } + } + anInt4890++; + if (DisplayModeManagerContainer238.aBoolean1236 && !Component385.method1296(true)) { + if (Component192.aClass348_Sub51_3959.aClass239_Sub26_7260.method1838(-32350) != 0 && Component119.anInt3428 != -1) { + if (Component246.aClass348_Sub16_Sub3_2718 != null) DefinitionSub15.method3086(2, Component246.aClass348_Sub16_Sub3_2718, Component192.aClass348_Sub51_3959.aClass239_Sub26_7260.method1838(-32350), Component54.aClass45_8667, false, 0, Component119.anInt3428); + else NodeSub1Sub3.method2732(0, Component119.anInt3428, false, 124, Component54.aClass45_8667, Component192.aClass348_Sub51_3959.aClass239_Sub26_7260.method1838(-32350)); + } + DisplayModeManagerContainer238.aBoolean1236 = false; + Component246.aClass348_Sub16_Sub3_2718 = null; + } else if (Component192.aClass348_Sub51_3959.aClass239_Sub26_7260.method1838(-32350) != 0 && Component119.anInt3428 != -1 && !Component385.method1296(true)) { + Renderable.anInt3973++; + ParticleSystem class348_sub47 = ParticleShader.method2148(GlToolkitSub2.aClass351_7554, DisplayModeManagerContainer64.aClass77_9029, -107); + class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 118, Component119.anInt3428); + HashNodeSub14.method3243(-54, class348_sub47); + Component119.anInt3428 = -1; + } + } + + private final void method1502(int i, byte i_20_, GlFramebufferTexture class258_sub2, int i_21_, int i_22_) { + anInt4876++; + if (anInt4873 == -1) throw new RuntimeException(); + int i_23_ = 1 << i_21_; + if (i_20_ > -16) aBoolean4888 = false; + if ((anInt4884 & (~i_23_)) == 0) { + anInt4882 = class258_sub2.anInt8538; + anInt4886 = class258_sub2.anInt8538; + } else if (class258_sub2.anInt8538 != anInt4882 || anInt4886 != class258_sub2.anInt8538) throw new RuntimeException(); + class258_sub2.method1961(anInt4873, i_22_, Component185.anIntArray5306[i_21_], i, -1); + anInterface9Array4875[i_21_] = class258_sub2; + anInt4884 |= i_23_; + } + + final void method1503(int i, byte i_24_) { + anInt4885++; + if (i_24_ != 3) aClass209_4874 = null; + if (anInt4873 == -1) throw new RuntimeException(); + OpenGL.glDrawBuffer(Component185.anIntArray5306[i]); + } + + public final void method48(int i) { + anInt4871++; + OpenGL.glBindFramebufferEXT(36160, 0); + int i_25_ = 46 % ((84 - i) / 32); + anInt4872 &= ~0x4; + anInt4873 = method1504(-124); + } + + private final int method1504(int i) { + anInt4869++; + if ((0x4 & anInt4872) != 0) return 36160; + if (i >= -112) method1502(84, (byte) -103, null, 17, 11); + if ((0x2 & anInt4872) != 0) return 36009; + if ((0x1 & anInt4872) != 0) return 36008; + return -1; + } + + public final void method50(int i) { + if (i != -32502) method1498(-50, 9, 123, null); + OpenGL.glBindFramebufferEXT(36009, 0); + anInt4878++; + anInt4872 &= ~0x2; + anInt4873 = method1504(i + 32374); + } + + final void method1505(int i, int i_26_) { + anInt4880++; + if ((~anInt4873) == i) throw new RuntimeException(); + OpenGL.glReadBuffer(Component185.anIntArray5306[i_26_]); + } + + private final void method1506(int i, GlTexture class258_sub3, int i_27_, int i_28_) { + anInt4892++; + if (anInt4873 == -1) throw new RuntimeException(); + int i_29_ = 1 << i_27_; + if (i_28_ == (~((~i_29_) & anInt4884))) { + anInt4882 = class258_sub3.anInt8547; + anInt4886 = class258_sub3.anInt8551; + } else if ((anInt4882 != class258_sub3.anInt8547) || class258_sub3.anInt8551 != anInt4886) throw new RuntimeException(); + class258_sub3.method1963(anInt4873, i, 0, Component185.anIntArray5306[i_27_]); + anInterface9Array4875[i_27_] = class258_sub3; + anInt4884 |= i_29_; + } + + public final void method47(int i) { + OpenGL.glBindFramebufferEXT(36009, anInt4891); + if (i != -11421) method1508(119, null, 117); + anInt4877++; + anInt4872 |= 0x2; + anInt4873 = method1504(i ^ 0x2cec); + } + + final boolean method1507(int i) { + anInt4868++; + int i_30_ = OpenGL.glCheckFramebufferStatusEXT(anInt4873); + int i_31_ = -56 / ((71 - i) / 45); + return i_30_ == 36053; + } + + final void method1508(int i, HashNodeSub2 class348_sub42_sub2, int i_32_) { + anInt4881++; + if (anInt4873 == -1) throw new RuntimeException(); + int i_33_ = 1 << i; + if ((anInt4884 & (~i_33_)) == 0) { + anInt4886 = class348_sub42_sub2.anInt8565; + anInt4882 = class348_sub42_sub2.anInt8572; + } else if ((class348_sub42_sub2.anInt8572 != anInt4882) || (anInt4886 != class348_sub42_sub2.anInt8565)) throw new RuntimeException(); + int i_34_ = -68 / ((i_32_ - 64) / 49); + class348_sub42_sub2.method3173(36161, Component185.anIntArray5306[i], anInt4873); + anInterface9Array4875[i] = class348_sub42_sub2; + anInt4884 |= i_33_; + } + + final void method1509(GlTexture class258_sub3, int i, int i_35_) { + method1506(i, class258_sub3, i_35_, -1); + anInt4879++; + } + + public final void method49(int i) { + anInt4893++; + OpenGL.glBindFramebufferEXT(36008, anInt4891); + anInt4872 |= 0x1; + anInt4873 = method1504(i ^ 0x6a7c); + if (i != -27141) aBoolean4888 = false; + } + + protected final void finalize() throws Throwable { + anInt4864++; + aHa_Sub2_4883.method3800(96, anInt4891); + super.finalize(); + } + + DisplayModeManagerContainer105(GlToolkitSub2 var_ha_Sub2) { + anInt4872 = 0; + anInt4873 = -1; + if (!var_ha_Sub2.aBoolean7820) throw new IllegalStateException(""); + aHa_Sub2_4883 = var_ha_Sub2; + OpenGL.glGenFramebuffersEXT(1, KeyStoreLoader.anIntArray1635, 0); + anInt4891 = KeyStoreLoader.anIntArray1635[0]; + } + + static { + aClass209_4874 = new Component246(); + anInt4889 = 0; + } +} diff --git a/client/misc/DisplayModeManagerContainer109.java b/client/misc/DisplayModeManagerContainer109.java new file mode 100644 index 000000000..f4ab66228 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer109.java @@ -0,0 +1,108 @@ +/* DisplayModeManagerContainer109 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer109 +/** + * RENAMED from `Class178` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2336; + static int anInt2337; + static Component183 aClass114_2338 = new Component183(92, -1); + static Component336 aClass29_2339 = new Component336(14, 0); + static int anInt2340; + static Component336 aClass29_2341 = new Component336(15, 4); + static Component336 aClass29_2342 = new Component336(16, -2); + static Component336 aClass29_2343 = new Component336(17, 0); + static Component336 aClass29_2344 = new Component336(18, -2); + static Component336 aClass29_2345 = new Component336(19, -2); + static Component336 aClass29_2346 = new Component336(20, 6); + static Component336 aClass29_2347 = new Component336(21, 9); + static Component336 aClass29_2348 = new Component336(22, -2); + static Component336 aClass29_2349 = new Component336(23, 4); + static Component336 aClass29_2350 = new Component336(24, -1); + static Component336 aClass29_2351 = new Component336(26, 0); + static Component336 aClass29_2352 = new Component336(27, 0); + static Component336 aClass29_2353 = new Component336(28, -2); + private static Component336[] aClass29Array2354 = new Component336[32]; + + public static void method1355(int i) { + aClass29_2346 = null; + aClass29_2349 = null; + aClass29_2344 = null; + aClass29_2352 = null; + aClass114_2338 = null; + if (i > -74) method1356(true, null, -116, -47, true, null, true); + aClass29_2350 = null; + aClass29Array2354 = null; + aClass29_2353 = null; + aClass29_2351 = null; + aClass29_2339 = null; + aClass29_2343 = null; + aClass29_2341 = null; + aClass29_2345 = null; + aClass29_2342 = null; + aClass29_2348 = null; + aClass29_2347 = null; + } + + static final void method1356(boolean bool, String string, int i, int i_0_, boolean bool_1_, String string_2_, boolean bool_3_) { + try { + anInt2337++; + RadixParser.aClass45_2306.discardMode = 1; + string_2_ = string_2_.toLowerCase(); + short[] is = new short[16]; + int i_4_ = -1; + String string_5_ = null; + if (i_0_ != -1) { + Component355 class254 = MatrixSub3.aClass326_5764.method2600(i_0_, 28364); + if (class254 == null || bool != class254.method1925(!bool_3_)) return; + if (class254.method1925(!bool_3_)) string_5_ = class254.aString3258; + else i_4_ = class254.anInt3256; + } + int i_6_ = 0; + int i_7_ = 0; + if (bool_3_ != true) aClass29_2352 = null; + for (/**/; i_7_ < Exception_Sub1.itemDefinitions.itemCount; i_7_++) { + ItemDefinition class213 = Exception_Sub1.itemDefinitions.getItemDefinition(-74, i_7_); + if ((!bool_1_ || class213.aBoolean2755) && class213.anInt2833 == -1 && class213.anInt2812 == -1 && class213.anInt2799 == 0 && class213.itemName.toLowerCase().indexOf(string_2_) != -1) { + if (i_0_ != -1) { + if (bool) { + if (!string.equals(class213.method1561(string_5_, i_0_, -1511086397))) continue; + } else if (class213.method1567(i_4_, -116, i_0_) != i) continue; + } + if (i_6_ >= 250) { + Component353.aShortArray2579 = null; + DisplayModeManagerContainer154.anInt1285 = -1; + return; + } + if (is.length <= i_6_) { + short[] is_8_ = new short[2 * is.length]; + for (int i_9_ = 0; i_9_ < i_6_; i_9_++) + is_8_[i_9_] = is[i_9_]; + is = is_8_; + } + is[i_6_++] = (short) i_7_; + } + } + Component353.aShortArray2579 = is; + DisplayModeManagerContainer154.anInt1285 = i_6_; + Component3.anInt2037 = 0; + String[] strings = new String[DisplayModeManagerContainer154.anInt1285]; + for (int i_10_ = 0; DisplayModeManagerContainer154.anInt1285 > i_10_; i_10_++) + strings[i_10_] = Exception_Sub1.itemDefinitions.getItemDefinition(123, is[i_10_]).itemName; + RadixParser.method1333(Component353.aShortArray2579, 26073, strings); + RadixParser.aClass45_2306.clearUnpacked((byte) 116); + RadixParser.aClass45_2306.discardMode = 2; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qa.A(" + bool + ',' + (string != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + bool_1_ + ',' + (string_2_ != null ? "{...}" : "null") + ',' + bool_3_ + ')')); + } + } + + static { + Component336[] class29s = Component364.method188((byte) 59); + for (int i = 0; i < class29s.length; i++) + aClass29Array2354[class29s[i].anInt400] = class29s[i]; + } +} diff --git a/client/misc/DisplayModeManagerContainer123.java b/client/misc/DisplayModeManagerContainer123.java new file mode 100644 index 000000000..4e6e46f9c --- /dev/null +++ b/client/misc/DisplayModeManagerContainer123.java @@ -0,0 +1,220 @@ +/* DisplayModeManagerContainer123 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer123 +/** + * RENAMED from `Class77` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private int[] anIntArray1289; + static int anInt1290 = 0; + private int anInt1291; + private int anInt1292; + private int anInt1293; + private int anInt1294; + static int anInt1295; + private int[] anIntArray1296; + static int anInt1297; + static Component224 aClass273_1298 = new Component224("", 16); + static int anInt1299; + static int anInt1300; + static int anInt1301; + static int anInt1302; + static int[] anIntArray1303; + + static final boolean method776(int i, int i_0_, int i_1_) { + anInt1297++; + if (i_1_ != 65536) method780(-106, -24, 57); + boolean bool = ((i & 0x37) != 0 ? Component380.method1113(i_0_, i, -7) : PacketReader.method3200(i_0_, i, (byte) 111)); + return bool | (FriendsIgnoreList.hasCollisionBlockFlags(i_0_, i, i_1_ ^ 0x1003d) | (0x10000 & i_0_) != 0); + } + + private DisplayModeManagerContainer123() { + /* empty */ + } + + DisplayModeManagerContainer123(int[] is) { + anIntArray1296 = new int[256]; + anIntArray1289 = new int[256]; + for (int i = 0; is.length > i; i++) + anIntArray1289[i] = is[i]; + method777(-94); + } + + private final void method777(int i) { + anInt1302++; + int i_3_; + int i_4_; + int i_5_; + int i_6_; + int i_7_; + int i_8_; + int i_9_; + int i_2_ = i_3_ = i_4_ = i_5_ = i_6_ = i_7_ = i_8_ = i_9_ = -1640531527; + for (int i_10_ = 0; i_10_ < 4; i_10_++) { + i_2_ ^= i_3_ << 11; + i_5_ += i_2_; + i_3_ += i_4_; + i_3_ ^= i_4_ >>> 2; + i_6_ += i_3_; + i_4_ += i_5_; + i_4_ ^= i_5_ << 8; + i_5_ += i_6_; + i_7_ += i_4_; + i_5_ ^= i_6_ >>> 16; + i_8_ += i_5_; + i_6_ += i_7_; + i_6_ ^= i_7_ << 10; + i_7_ += i_8_; + i_9_ += i_6_; + i_7_ ^= i_8_ >>> 4; + i_2_ += i_7_; + i_8_ += i_9_; + i_8_ ^= i_9_ << 8; + i_3_ += i_8_; + i_9_ += i_2_; + i_9_ ^= i_2_ >>> 9; + i_2_ += i_3_; + i_4_ += i_9_; + } + for (int i_11_ = 0; i_11_ < 256; i_11_ += 8) { + i_4_ += anIntArray1289[i_11_ - -2]; + i_9_ += anIntArray1289[i_11_ + 7]; + i_5_ += anIntArray1289[3 + i_11_]; + i_7_ += anIntArray1289[5 + i_11_]; + i_8_ += anIntArray1289[i_11_ - -6]; + i_3_ += anIntArray1289[1 + i_11_]; + i_6_ += anIntArray1289[4 + i_11_]; + i_2_ += anIntArray1289[i_11_]; + i_2_ ^= i_3_ << 11; + i_3_ += i_4_; + i_5_ += i_2_; + i_3_ ^= i_4_ >>> 2; + i_4_ += i_5_; + i_6_ += i_3_; + i_4_ ^= i_5_ << 8; + i_7_ += i_4_; + i_5_ += i_6_; + i_5_ ^= i_6_ >>> 16; + i_8_ += i_5_; + i_6_ += i_7_; + i_6_ ^= i_7_ << 10; + i_9_ += i_6_; + i_7_ += i_8_; + i_7_ ^= i_8_ >>> 4; + i_8_ += i_9_; + i_2_ += i_7_; + i_8_ ^= i_9_ << 8; + i_9_ += i_2_; + i_3_ += i_8_; + i_9_ ^= i_2_ >>> 9; + i_4_ += i_9_; + i_2_ += i_3_; + anIntArray1296[i_11_] = i_2_; + anIntArray1296[1 + i_11_] = i_3_; + anIntArray1296[i_11_ + 2] = i_4_; + anIntArray1296[i_11_ + 3] = i_5_; + anIntArray1296[i_11_ + 4] = i_6_; + anIntArray1296[i_11_ - -5] = i_7_; + anIntArray1296[i_11_ - -6] = i_8_; + anIntArray1296[i_11_ - -7] = i_9_; + } + int i_12_ = 0; + if (i > -72) anIntArray1296 = null; + for (/**/; i_12_ < 256; i_12_ += 8) { + i_4_ += anIntArray1296[2 + i_12_]; + i_5_ += anIntArray1296[i_12_ - -3]; + i_9_ += anIntArray1296[i_12_ + 7]; + i_7_ += anIntArray1296[i_12_ - -5]; + i_3_ += anIntArray1296[i_12_ + 1]; + i_8_ += anIntArray1296[6 + i_12_]; + i_2_ += anIntArray1296[i_12_]; + i_6_ += anIntArray1296[i_12_ - -4]; + i_2_ ^= i_3_ << 11; + i_5_ += i_2_; + i_3_ += i_4_; + i_3_ ^= i_4_ >>> 2; + i_6_ += i_3_; + i_4_ += i_5_; + i_4_ ^= i_5_ << 8; + i_7_ += i_4_; + i_5_ += i_6_; + i_5_ ^= i_6_ >>> 16; + i_8_ += i_5_; + i_6_ += i_7_; + i_6_ ^= i_7_ << 10; + i_7_ += i_8_; + i_9_ += i_6_; + i_7_ ^= i_8_ >>> 4; + i_8_ += i_9_; + i_2_ += i_7_; + i_8_ ^= i_9_ << 8; + i_3_ += i_8_; + i_9_ += i_2_; + i_9_ ^= i_2_ >>> 9; + i_4_ += i_9_; + i_2_ += i_3_; + anIntArray1296[i_12_] = i_2_; + anIntArray1296[i_12_ + 1] = i_3_; + anIntArray1296[2 + i_12_] = i_4_; + anIntArray1296[3 + i_12_] = i_5_; + anIntArray1296[4 + i_12_] = i_6_; + anIntArray1296[i_12_ - -5] = i_7_; + anIntArray1296[i_12_ + 6] = i_8_; + anIntArray1296[7 + i_12_] = i_9_; + } + method779(false); + anInt1292 = 256; + } + + final int method778(byte i) { + anInt1300++; + if (anInt1292 == 0) { + method779(false); + anInt1292 = 256; + } + if (i <= 12) return 116; + return anIntArray1289[anInt1292 - 1]; + } + + private final void method779(boolean bool) { + anInt1301++; + anInt1291 += ++anInt1294; + for (int i = 0; i < 256; i++) { + int i_13_ = anIntArray1296[i]; + if ((i & 0x2) != 0) { + if ((0x1 & i) == 0) anInt1293 ^= anInt1293 << 2; + else anInt1293 ^= anInt1293 >>> 16; + } else if ((0x1 & i) != 0) anInt1293 ^= anInt1293 >>> 6; + else anInt1293 ^= anInt1293 << 13; + anInt1293 += anIntArray1296[0xff & 128 + i]; + int i_14_; + anIntArray1296[i] = i_14_ = (anIntArray1296[GpsOverlay.bitwiseAnd(255, i_13_ >> 2)] - (-anInt1293 - anInt1291)); + anIntArray1289[i] = anInt1291 = i_13_ + anIntArray1296[(GpsOverlay.bitwiseAnd(261268, i_14_) >> 278777480 >> 242087490)]; + } + if (bool != false) method776(-33, -56, 52); + } + + static final boolean method780(int i, int i_15_, int i_16_) { + if (i_15_ != 0) return true; + anInt1299++; + return (0x400 & i_16_) != 0; + } + + final int method781(byte i) { + if (anInt1292 == 0) { + method779(false); + anInt1292 = 256; + } + anInt1295++; + if (i >= -47) method779(false); + return anIntArray1289[--anInt1292]; + } + + public static void method782(int i) { + anIntArray1303 = null; + if (i != 1) anInt1290 = 114; + aClass273_1298 = null; + } +} diff --git a/client/misc/DisplayModeManagerContainer130.java b/client/misc/DisplayModeManagerContainer130.java new file mode 100644 index 000000000..934f5216b --- /dev/null +++ b/client/misc/DisplayModeManagerContainer130.java @@ -0,0 +1,52 @@ +/* DisplayModeManagerContainer130 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer130 +/** + * RENAMED from `Class271` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private final NodeCache aClass60_3466 = new NodeCache(64); + static Component183 aClass114_3467 = new Component183(45, 8); + private final CacheStore aClass45_3468; + static int anInt3469; + + final HashNodeSub7 method2044(int i, int i_0_) { + anInt3469++; + HashNodeSub7 class348_sub42_sub7; + synchronized (aClass60_3466) { + class348_sub42_sub7 = (HashNodeSub7) aClass60_3466.get(i_0_, -85); + } + if (class348_sub42_sub7 != null) return class348_sub42_sub7; + byte[] is; + synchronized (aClass45_3468) { + is = aClass45_3468.getFile(-1860, 5, i_0_); + } + class348_sub42_sub7 = new HashNodeSub7(); + if (i < 78) method2046(); + if (is != null) class348_sub42_sub7.method3192((byte) 16, new Buffer(is)); + synchronized (aClass60_3466) { + aClass60_3466.putOne(class348_sub42_sub7, i_0_, (byte) -93); + } + return class348_sub42_sub7; + } + + public static void method2045(byte i) { + aClass114_3467 = null; + if (i != 62) method2046(); + } + + static final void method2046() { + DisplayModeManagerContainer5.aClass76_1208 = DisplayModeManagerContainer5.aClass76_1210; + } + + DisplayModeManagerContainer130(GameType class230, int i, CacheStore class45) { + try { + aClass45_3468 = class45; + aClass45_3468.getFileCount(0, 5); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ut.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/misc/DisplayModeManagerContainer133.java b/client/misc/DisplayModeManagerContainer133.java new file mode 100644 index 000000000..d07455e3f --- /dev/null +++ b/client/misc/DisplayModeManagerContainer133.java @@ -0,0 +1,42 @@ +/* DisplayModeManagerContainer133 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer133 +/** + * RENAMED from `Class162` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2152; + int anInt2153; + static int anInt2154; + int anInt2155; + int anInt2156; + static DisplayModeManagerContainer238 aClass74_2157 = new DisplayModeManagerContainer238(5, 16); + int anInt2158; + + static final void method1265(int i) { + anInt2152++; + if (i != 16) aClass74_2157 = null; + if (Definition.aClass279_7042 != null) Definition.aClass279_7042.method2093(true); + if (Component276.aClass279_2596 != null) Component276.aClass279_2596.method2093(true); + } + + final DisplayModeManagerContainer133 method1266(int i, int i_0_) { + if (i != 5) method1266(82, -25); + anInt2154++; + return new DisplayModeManagerContainer133(this.anInt2153, i_0_, this.anInt2156, this.anInt2158); + } + + DisplayModeManagerContainer133(int i, int i_1_, int i_2_, int i_3_) { + this.anInt2156 = i_2_; + this.anInt2155 = i_1_; + this.anInt2158 = i_3_; + this.anInt2153 = i; + } + + public static void method1267(byte i) { + aClass74_2157 = null; + if (i != 85) method1267((byte) 121); + } +} diff --git a/client/misc/DisplayModeManagerContainer136.java b/client/misc/DisplayModeManagerContainer136.java new file mode 100644 index 000000000..274be5151 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer136.java @@ -0,0 +1,160 @@ +/* DisplayModeManagerContainer136 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaclib.memory.Buffer; + +final class DisplayModeManagerContainer136 +/** + * RENAMED from `Class135_Sub1` (JODE-obfuscated). + * Evidence: subclass of Component137 (hierarchy) + */ extends Component137 implements Interface2 { + static int anInt4706; + static Component183 aClass114_4707; + private int anInt4708; + static int[] anIntArray4709 = new int[2048]; + static int anInt4710; + static int anInt4711; + static int anInt4712; + static int anInt4713; + static int anInt4714; + static int anInt4715; + static int anInt4716; + static int anInt4717; + static int anInt4718; + + public final int method13(byte i) { + anInt4706++; + if (i != -97) method10(false); + return anInt4708; + } + + final void method1152(int i) { + this.aHa_Sub2_1927.method3750(91, this); + if (i >= -78) method10(false); + anInt4710++; + } + + public final void method11(int i, int i_0_, byte[] is, int i_1_) { + this.method1150(is, 0, i_0_); + anInt4711++; + anInt4708 = i; + if (i_1_ != -9894) method12((byte) -37); + } + + DisplayModeManagerContainer136(GlToolkitSub2 var_ha_Sub2, int i, byte[] is, int i_2_, boolean bool) { + super(var_ha_Sub2, 34962, is, i_2_, bool); + try { + anInt4708 = i; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("jt.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + (is != null ? "{...}" : "null") + ',' + i_2_ + ',' + bool + ')')); + } + } + + DisplayModeManagerContainer136(GlToolkitSub2 var_ha_Sub2, int i, Buffer buffer, int i_3_, boolean bool) { + super(var_ha_Sub2, 34962, buffer, i_3_, bool); + try { + anInt4708 = i; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("jt.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + (buffer != null ? "{...}" : "null") + ',' + i_3_ + ',' + bool + ')')); + } + } + + static final void method1153(GraphicsToolkit var_ha, int i) { + anInt4713++; + int i_4_ = 0; + int i_5_ = 0; + if (Component210.gameCanvasAttached) { + i_4_ = BufferCacheSub3.method4008((byte) -122); + i_5_ = Component110.method260(false); + } + int i_6_ = i_4_ + anInt4717; + int i_7_ = DefinitionGroup.anInt9532 + i_5_; + int i_8_ = Component227.anInt1117; + int i_9_ = -3 + Component251.anInt5819; + int i_10_ = 20; + Component201.method2270(Component227.anInt1117, i_4_ + anInt4717, var_ha, FriendsIgnoreList.aClass274_3507.getLocalized(ObjectDeserializer.languageId, i + 528), false, i_5_ + DefinitionGroup.anInt9532, Component251.anInt5819, i_10_); + int i_11_ = i_4_ + AbstractGlTextureSub4.mouseHandler.getCursorX(true); + if (i != 16) method1154((byte) 9); + int i_12_ = i_5_ + AbstractGlTextureSub4.mouseHandler.getCursorY((byte) 95); + if (PauseHandler.aBoolean9535) { + int i_15_ = 0; + for (HashNodeSub13 class348_sub42_sub13 = ((HashNodeSub13) Component237.aClass107_3022.first(-73)); class348_sub42_sub13 != null; class348_sub42_sub13 = ((HashNodeSub13) Component237.aClass107_3022.next((byte) 61))) { + int i_16_ = 16 * i_15_ + i_7_ - (-i_10_ + -13); + if (i_4_ + anInt4717 < i_11_ && i_11_ < Component227.anInt1117 + (i_4_ + anInt4717) && i_12_ > -13 + i_16_ && i_16_ - -4 > i_12_ && ((class348_sub42_sub13.anInt9615) > 1 || ((MenuEntry) class348_sub42_sub13.aClass107_9621.sentinel.next).aBoolean9610)) + var_ha.fillRect(anInt4717 + i_4_, -12 + i_16_, Component227.anInt1117, 16, (255 + -HashNodeSub4.anInt9511 << 24) | Component235.anInt3374, 1); + i_15_++; + } + if (Component359.aClass348_Sub42_Sub13_3152 != null) { + i_15_ = 0; + Component201.method2270(NodeSub1Sub1.anInt8806, DisplayModeManagerContainer368.anInt5252, var_ha, (Component359.aClass348_Sub42_Sub13_3152.aString9617), false, MouseHandler.menuOriginY, DisplayModeManagerContainer249.anInt4669, i_10_); + for (MenuEntry class348_sub42_sub12 = ((MenuEntry) Component359.aClass348_Sub42_Sub13_3152.aClass107_9621.first(-44)); class348_sub42_sub12 != null; class348_sub42_sub12 = ((MenuEntry) Component359.aClass348_Sub42_Sub13_3152.aClass107_9621.next((byte) 71))) { + int i_17_ = i_15_ * 16 + (MouseHandler.menuOriginY + i_10_ - -13); + if (DisplayModeManagerContainer368.anInt5252 < i_11_ && (DisplayModeManagerContainer368.anInt5252 - -NodeSub1Sub1.anInt8806) > i_11_ && -13 + i_17_ < i_12_ && i_17_ - -4 > i_12_ && (class348_sub42_sub12.aBoolean9610)) + var_ha.fillRect(DisplayModeManagerContainer368.anInt5252, i_17_ - 12, NodeSub1Sub1.anInt8806, 16, (-HashNodeSub4.anInt9511 + 255 << 24) | Component235.anInt3374, 1); + i_15_++; + } + DisplayModeManagerContainer26.method826(i_10_, DisplayModeManagerContainer368.anInt5252, NodeSub1Sub1.anInt8806, DisplayModeManagerContainer249.anInt4669, 125, MouseHandler.menuOriginY, var_ha); + } + } else { + int i_13_ = 0; + for (MenuEntry class348_sub42_sub12 = ((MenuEntry) DefinitionSub4.menuEntries.first(4)); class348_sub42_sub12 != null; class348_sub42_sub12 = (MenuEntry) DefinitionSub4.menuEntries.next((byte) 101)) { + int i_14_ = (16 * (-1 + (DisplayModeManagerContainer306.menuEntryCount - i_13_)) + 13 + (i_7_ + i_10_)); + if (i_11_ > anInt4717 - -i_4_ && anInt4717 + i_4_ - -Component227.anInt1117 > i_11_ && i_12_ > i_14_ - 13 && 4 + i_14_ > i_12_ && (class348_sub42_sub12.aBoolean9610)) + var_ha.fillRect(i_4_ + anInt4717, -12 + i_14_, Component227.anInt1117, 16, (255 + -HashNodeSub4.anInt9511 << 24) | Component235.anInt3374, 1); + i_13_++; + } + } + DisplayModeManagerContainer26.method826(i_10_, anInt4717 + i_4_, Component227.anInt1117, Component251.anInt5819, -75, DefinitionGroup.anInt9532 - -i_5_, var_ha); + if (PauseHandler.aBoolean9535) { + int i_20_ = 0; + for (HashNodeSub13 class348_sub42_sub13 = ((HashNodeSub13) Component237.aClass107_3022.first(-77)); class348_sub42_sub13 != null; class348_sub42_sub13 = ((HashNodeSub13) Component237.aClass107_3022.next((byte) 111))) { + int i_21_ = i_10_ + (i_5_ + DefinitionGroup.anInt9532 + 13 - -(16 * i_20_)); + i_20_++; + if (class348_sub42_sub13.anInt9615 == 1) + RenderableSub2.method2494(DefinitionGroup.anInt9532 - -i_5_, ~0xffffff | Component2.anInt8363, i_21_, var_ha, ((MenuEntry) class348_sub42_sub13.aClass107_9621.sentinel.next), Component227.anInt1117, i_12_, StringDefinition.anInt9586 | ~0xffffff, (byte) 125, Component251.anInt5819, anInt4717 - -i_4_, i_11_); + else DisplayModeManagerContainer58.method2431(~0xffffff | StringDefinition.anInt9586, i_21_, class348_sub42_sub13, i_11_, Component227.anInt1117, ~0xffffff | Component2.anInt8363, i_12_, var_ha, DefinitionGroup.anInt9532 - -i_5_, i ^ 0x60, i_4_ + anInt4717, Component251.anInt5819); + } + if (Component359.aClass348_Sub42_Sub13_3152 != null) { + i_20_ = 0; + for (MenuEntry class348_sub42_sub12 = ((MenuEntry) Component359.aClass348_Sub42_Sub13_3152.aClass107_9621.first(-118)); class348_sub42_sub12 != null; class348_sub42_sub12 = ((MenuEntry) Component359.aClass348_Sub42_Sub13_3152.aClass107_9621.next((byte) 111))) { + int i_22_ = i_20_ * 16 + 13 + (MouseHandler.menuOriginY + i_10_); + i_20_++; + RenderableSub2.method2494(MouseHandler.menuOriginY, Component2.anInt8363 | ~0xffffff, i_22_, var_ha, class348_sub42_sub12, NodeSub1Sub1.anInt8806, i_12_, (StringDefinition.anInt9586 | ~0xffffff), (byte) 127, DisplayModeManagerContainer249.anInt4669, DisplayModeManagerContainer368.anInt5252, i_11_); + } + Component9.method2642(NodeSub1Sub1.anInt8806, MouseHandler.menuOriginY, true, DisplayModeManagerContainer368.anInt5252, DisplayModeManagerContainer249.anInt4669); + } + } else { + int i_18_ = 0; + for (MenuEntry class348_sub42_sub12 = ((MenuEntry) DefinitionSub4.menuEntries.first(4)); class348_sub42_sub12 != null; class348_sub42_sub12 = (MenuEntry) DefinitionSub4.menuEntries.next((byte) 71)) { + int i_19_ = (i_7_ - -i_10_ - (-13 - (DisplayModeManagerContainer306.menuEntryCount + (-1 + -i_18_)) * 16)); + i_18_++; + RenderableSub2.method2494(i_7_, ~0xffffff | Component2.anInt8363, i_19_, var_ha, class348_sub42_sub12, i_8_, i_12_, (~0xffffff | StringDefinition.anInt9586), (byte) 125, i_9_, i_6_, i_11_); + } + } + Component9.method2642(Component227.anInt1117, DefinitionGroup.anInt9532 - -i_5_, true, i_4_ + anInt4717, Component251.anInt5819); + } + + public final int method10(boolean bool) { + anInt4714++; + if (bool != true) method12((byte) -54); + return this.anInt1929; + } + + public static void method1154(byte i) { + int i_23_ = -93 / ((i - -75) / 36); + anIntArray4709 = null; + aClass114_4707 = null; + } + + public final long method12(byte i) { + if (i != 42) aClass114_4707 = null; + anInt4712++; + return 0L; + } + + static { + aClass114_4707 = new Component183(39, 8); + anInt4718 = 0; + } +} diff --git a/client/misc/DisplayModeManagerContainer145.java b/client/misc/DisplayModeManagerContainer145.java new file mode 100644 index 000000000..67f1bbfa5 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer145.java @@ -0,0 +1,96 @@ +/* DisplayModeManagerContainer145 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer145 +/** + * RENAMED from `Class122` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static boolean aBoolean1801; + static int anInt1802; + static int anInt1803; + static int anInt1804; + static int anInt1805; + /** Whether each friend entry is marked referred. */ + static boolean[] friendReferred = new boolean[200]; + static int anInt1807; + /** Ignore-list display names. */ + static String[] ignoreDisplayNames; + static int anInt1809; + + static final void method1085(int i, int i_0_, byte i_1_, int i_2_, int i_3_) { + anInt1805++; + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i_3_, (byte) 105, 8); + class348_sub42_sub15.method3246(-25490); + class348_sub42_sub15.anInt9652 = i_0_; + if (i_1_ < -57) { + class348_sub42_sub15.anInt9650 = i; + class348_sub42_sub15.anInt9651 = i_2_; + } + } + + /** Nulls friend/ignore static arrays at shutdown. */ + public static void clearStatics(boolean bool) { + if (bool != true) anInt1803 = -25; + ignoreDisplayNames = null; + friendReferred = null; + } + + static final boolean method1087(int i, int i_4_, int i_5_) { + if (i != 12644) method1085(55, -60, (byte) -29, -35, -112); + anInt1809++; + return (0x84080 & i_5_) != 0; + } + + /** + * Cosine-weighted mix of {@code i} and {@code i_9_}; {@code i_8_}/{@code i_7_} pick the + * angle into {@link DisplayModeManagerContainer88#anIntArray1204}. + */ + static final int mixCosine(int i, byte i_6_, int i_7_, int i_8_, int i_9_) { + anInt1804++; + int i_10_ = -DisplayModeManagerContainer88.anIntArray1204[8192 * i_8_ / i_7_] + 65536 >> 1; + if (i_6_ != 22) return -73; + return ((i_10_ * i >> 16) + (i_9_ * (65536 + -i_10_) >> 16)); + } + + /** True if {@code c} is representable in the client's CP1252 text encoding. */ + static final boolean isCp1252Char(int i, char c) { + anInt1807++; + if (i >= -107) friendReferred = null; + if (c > 0 && c < 128 || c >= 160 && c <= 255) return true; + if (c != 0) { + char[] cs = Component352.cp1252HighChars; + for (int i_11_ = 0; cs.length > i_11_; i_11_++) { + int i_12_ = cs[i_11_]; + if (c == i_12_) return true; + } + } + return false; + } + + static final void method1090(byte[][] is, int i, Component251 class237_sub1) { + try { + anInt1802++; + int i_13_ = DisplayModeManagerContainer322.aByteArrayArray4281.length; + if (i == 65536) { + for (int i_14_ = 0; i_14_ < i_13_; i_14_++) { + byte[] is_15_ = is[i_14_]; + if (is_15_ != null) { + int i_16_ = (64 * (OggStreamReader.anIntArray9042[i_14_] >> 8) + -NodeBaseSub2.regionTileX); + int i_17_ = ((OggStreamReader.anIntArray9042[i_14_] & 0xff) * 64 - Component330.regionTileY); + Component381.method3570(false); + class237_sub1.method1695(is_15_, (NodeSub45.aClass361Array7108), i_17_, NodeSub8.toolkit, i_16_, i ^ 0x1054f); + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("nga.C(" + (is != null ? "{...}" : "null") + ',' + i + ',' + (class237_sub1 != null ? "{...}" : "null") + ')')); + } + } + + static { + anInt1803 = 0; + ignoreDisplayNames = new String[100]; + } +} diff --git a/client/misc/DisplayModeManagerContainer147.java b/client/misc/DisplayModeManagerContainer147.java new file mode 100644 index 000000000..313d09c11 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer147.java @@ -0,0 +1,108 @@ +/* DisplayModeManagerContainer147 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer147 +/** + * RENAMED from `Class335` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt4166; + static int anInt4167 = 0; + static int anInt4168 = 0; + static int anInt4169; + + static final void method2655(int i, int i_0_, int i_1_, int i_2_, int i_3_) { + anInt4166++; + for (SceneNode class348_sub9 = (SceneNode) SceneManager.aClass262_2859.first(4); class348_sub9 != null; class348_sub9 = ((SceneNode) SceneManager.aClass262_2859.next((byte) 97))) + TcpSocketStream.method1708(i_1_, i_3_, i_0_, i_2_, (byte) -78, class348_sub9); + for (SceneNode class348_sub9 = (SceneNode) client.aClass262_5185.first(4); class348_sub9 != null; class348_sub9 = ((SceneNode) client.aClass262_5185.next((byte) 85))) { + int i_4_ = 1; + Component241 class225 = class348_sub9.aNpc_6691.method2422((byte) 72); + if (class348_sub9.aNpc_6691.anInt10268 == -1 || class348_sub9.aNpc_6691.aBoolean10213) i_4_ = 0; + else if ((class225.anInt2919 == class348_sub9.aNpc_6691.anInt10268) || (class225.anInt2920 == class348_sub9.aNpc_6691.anInt10268) || (class225.anInt2949 == class348_sub9.aNpc_6691.anInt10268) || (class348_sub9.aNpc_6691.anInt10268 == class225.anInt2914)) + i_4_ = 2; + else if ((class348_sub9.aNpc_6691.anInt10268 == class225.anInt2940) || (class225.anInt2924 == class348_sub9.aNpc_6691.anInt10268) || (class225.anInt2947 == class348_sub9.aNpc_6691.anInt10268) || (class348_sub9.aNpc_6691.anInt10268 == class225.anInt2958)) + i_4_ = 3; + if (class348_sub9.anInt6675 != i_4_) { + int i_5_ = DisplayModeManagerContainer345.method214((class348_sub9.aNpc_6691), -1); + NpcComposition class79 = (class348_sub9.aNpc_6691.definition); + if (class79.anIntArray1377 != null) class79 = class79.method794((DisplayModeManagerContainer58.aClass170_10209), -1); + if (class79 == null || i_5_ == -1) { + class348_sub9.anInt6675 = i_4_; + class348_sub9.aBoolean6674 = false; + class348_sub9.anInt6685 = -1; + } else if ((class348_sub9.anInt6685 == i_5_) && (!class79.aBoolean1370 != class348_sub9.aBoolean6674)) { + class348_sub9.anInt6677 = class79.anInt1356; + class348_sub9.anInt6675 = i_4_; + } else { + boolean bool = false; + if ((class348_sub9.aClass348_Sub16_Sub5_6676) == null) bool = true; + else { + class348_sub9.anInt6677 -= 512; + if (class348_sub9.anInt6677 <= 0) { + PlayerState.aClass348_Sub16_Sub4_7065.method2880(class348_sub9.aClass348_Sub16_Sub5_6676); + bool = true; + class348_sub9.aClass348_Sub16_Sub5_6676 = null; + } + } + if (bool) { + class348_sub9.aBoolean6674 = class79.aBoolean1370; + class348_sub9.anInt6685 = i_5_; + class348_sub9.aClass348_Sub19_Sub1_6686 = null; + class348_sub9.aClass348_Sub10_6688 = null; + class348_sub9.anInt6675 = i_4_; + class348_sub9.anInt6677 = class79.anInt1356; + } + } + } + class348_sub9.anInt6678 = (class348_sub9.aNpc_6691.x); + class348_sub9.anInt6698 = ((class348_sub9.aNpc_6691.x) - -(class348_sub9.aNpc_6691.method2436((byte) 55) << 8)); + class348_sub9.anInt6689 = (class348_sub9.aNpc_6691.y); + class348_sub9.anInt6687 = ((class348_sub9.aNpc_6691.y) + (class348_sub9.aNpc_6691.method2436((byte) 92) << 8)); + TcpSocketStream.method1708(i_1_, i_3_, i_0_, i_2_, (byte) -78, class348_sub9); + } + SceneNode class348_sub9 = ((SceneNode) HashNodeSub16Sub2.aClass356_10465.first(0)); + int i_6_ = -122 / (-i / 47); + for (/**/; class348_sub9 != null; class348_sub9 = ((SceneNode) HashNodeSub16Sub2.aClass356_10465.next(0))) { + int i_7_ = 1; + Component241 class225 = class348_sub9.aPlayer_6679.method2422((byte) 72); + if (class348_sub9.aPlayer_6679.anInt10268 != -1 && !class348_sub9.aPlayer_6679.aBoolean10213) { + if ((class348_sub9.aPlayer_6679.anInt10268 != class225.anInt2919) && (class225.anInt2920 != class348_sub9.aPlayer_6679.anInt10268) && (class225.anInt2949 != class348_sub9.aPlayer_6679.anInt10268) && (class348_sub9.aPlayer_6679.anInt10268 != class225.anInt2914)) { + if ((class348_sub9.aPlayer_6679.anInt10268 == class225.anInt2940) || (class225.anInt2924 == class348_sub9.aPlayer_6679.anInt10268) || ((class348_sub9.aPlayer_6679.anInt10268) == class225.anInt2947) || (class225.anInt2958 == class348_sub9.aPlayer_6679.anInt10268)) + i_7_ = 3; + } else i_7_ = 2; + } else i_7_ = 0; + if (class348_sub9.anInt6675 != i_7_) { + int i_8_ = (Component168.method2357(-1, (class348_sub9.aPlayer_6679))); + if (i_8_ == class348_sub9.anInt6685 && (class348_sub9.aPlayer_6679.aBoolean10517 == class348_sub9.aBoolean6674)) { + class348_sub9.anInt6677 = class348_sub9.aPlayer_6679.anInt10558; + class348_sub9.anInt6675 = i_7_; + } else { + boolean bool = false; + if ((class348_sub9.aClass348_Sub16_Sub5_6676) != null) { + class348_sub9.anInt6677 -= 512; + if (class348_sub9.anInt6677 <= 0) { + PlayerState.aClass348_Sub16_Sub4_7065.method2880(class348_sub9.aClass348_Sub16_Sub5_6676); + class348_sub9.aClass348_Sub16_Sub5_6676 = null; + bool = true; + } + } else bool = true; + if (bool) { + class348_sub9.aBoolean6674 = (class348_sub9.aPlayer_6679.aBoolean10517); + class348_sub9.anInt6677 = (class348_sub9.aPlayer_6679.anInt10558); + class348_sub9.aClass348_Sub10_6688 = null; + class348_sub9.anInt6685 = i_8_; + class348_sub9.aClass348_Sub19_Sub1_6686 = null; + class348_sub9.anInt6675 = i_7_; + } + } + } + class348_sub9.anInt6678 = (class348_sub9.aPlayer_6679.x); + class348_sub9.anInt6698 = ((class348_sub9.aPlayer_6679.x) + (class348_sub9.aPlayer_6679.method2436((byte) 123) << 8)); + class348_sub9.anInt6689 = (class348_sub9.aPlayer_6679.y); + class348_sub9.anInt6687 = ((class348_sub9.aPlayer_6679.y) - -(class348_sub9.aPlayer_6679.method2436((byte) 126) << 8)); + TcpSocketStream.method1708(i_1_, i_3_, i_0_, i_2_, (byte) -78, class348_sub9); + } + } +} diff --git a/client/misc/DisplayModeManagerContainer152.java b/client/misc/DisplayModeManagerContainer152.java new file mode 100644 index 000000000..f3be49a18 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer152.java @@ -0,0 +1,38 @@ +/* DisplayModeManagerContainer152 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.io.*; + +final class DisplayModeManagerContainer152 +/** + * RENAMED from `Class374` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt4536; + static DisplayModeManagerContainer238 aClass74_4537 = new DisplayModeManagerContainer238(3, 2); + static SeekableFile aClass78_4538; + + /** Read up to {@code i_0_} bytes from {@code file} into {@code is} (EOF tolerated). */ + static final void readFileFully(byte[] is, byte i, int i_0_, File file) throws IOException { + try { + anInt4536++; + DataInputStream datainputstream = (new DataInputStream(new BufferedInputStream(new FileInputStream(file)))); + try { + int i_1_ = -11 % ((-43 - i) / 33); + datainputstream.readFully(is, 0, i_0_); + } catch (java.io.EOFException eofexception) { + /* empty */ + } + datainputstream.close(); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("gca.A(" + (is != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + (file != null ? "{...}" : "null") + ')')); + } + } + + public static void method3611(boolean bool) { + if (bool != true) aClass74_4537 = null; + aClass74_4537 = null; + aClass78_4538 = null; + } +} diff --git a/client/misc/DisplayModeManagerContainer153.java b/client/misc/DisplayModeManagerContainer153.java new file mode 100644 index 000000000..84801d9e0 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer153.java @@ -0,0 +1,79 @@ +/* DisplayModeManagerContainer153 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer153 +/** + * RENAMED from `Class99` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static boolean[][] aBooleanArrayArray1572; + static int anInt1573; + static int[] anIntArray1574 = new int[3]; + static int anInt1575; + static int anInt1576; + + static final void method880(int i, byte[] is, byte[] is_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_) { + try { + anInt1575++; + int i_7_ = -(i >> 2); + i = -(i & 0x3); + if (i_2_ != 13880) method880(9, null, null, -128, 85, -75, 62, 85, -51); + for (int i_8_ = -i_3_; i_8_ < 0; i_8_++) { + for (int i_9_ = i_7_; i_9_ < 0; i_9_++) { + is[i_4_++] += is_0_[i_1_++]; + is[i_4_++] += is_0_[i_1_++]; + is[i_4_++] += is_0_[i_1_++]; + is[i_4_++] += is_0_[i_1_++]; + } + for (int i_10_ = i; i_10_ < 0; i_10_++) + is[i_4_++] += is_0_[i_1_++]; + i_4_ += i_5_; + i_1_ += i_6_; + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("me.D(" + i + ',' + (is != null ? "{...}" : "null") + ',' + (is_0_ != null ? "{...}" : "null") + ',' + i_1_ + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ')')); + } + } + + static final void method881(HashNodeSub13 class348_sub42_sub13, int i, boolean bool, int i_11_) { + anInt1576++; + if (Component364.aBoolean8335) { + int i_12_ = 0; + for (MenuEntry class348_sub42_sub12 = ((MenuEntry) class348_sub42_sub13.aClass107_9621.first(-59)); class348_sub42_sub12 != null; class348_sub42_sub12 = ((MenuEntry) class348_sub42_sub13.aClass107_9621.next((byte) 108))) { + int i_13_ = OutputStream_Sub2.method138(class348_sub42_sub12, false); + if (i_13_ > i_12_) i_12_ = i_13_; + } + i_12_ += 8; + if (bool == true) { + DisplayModeManagerContainer249.anInt4669 = 16 * (class348_sub42_sub13.anInt9615) + (!DisplayModeManagerContainer5.aBoolean1211 ? 22 : 26); + int i_14_ = 21 + (class348_sub42_sub13.anInt9615) * 16; + int i_15_ = Component227.anInt1117 + DisplayModeManagerContainer136.anInt4717; + if (i_12_ + i_15_ > Component236.anInt4017) i_15_ = -i_12_ + DisplayModeManagerContainer136.anInt4717; + if (i_15_ < 0) i_15_ = 0; + int i_16_ = !DisplayModeManagerContainer5.aBoolean1211 ? 31 : 33; + int i_17_ = 13 + i_11_ + -i_16_; + if (i_17_ + i_14_ > PacketReader.anInt10432) i_17_ = PacketReader.anInt10432 - i_14_; + DisplayModeManagerContainer368.anInt5252 = i_15_; + if (i_17_ < 0) i_17_ = 0; + Component359.aClass348_Sub42_Sub13_3152 = class348_sub42_sub13; + NodeSub1Sub1.anInt8806 = i_12_; + MouseHandler.menuOriginY = i_17_; + } + } + } + + static final void method882(byte i) { + if (i != 11) method882((byte) -62); + DefinitionSub33.aClass46ArrayArray9427 = new DisplayModeManagerContainer57[Component267.aClass45_2978.getGroupCapacity(-1)][]; + anInt1573++; + Component14.aClass46ArrayArray8584 = new DisplayModeManagerContainer57[Component267.aClass45_2978.getGroupCapacity(-1)][]; + ImageTagText.aBooleanArray2162 = new boolean[Component267.aClass45_2978.getGroupCapacity(-1)]; + } + + public static void method883(byte i) { + aBooleanArrayArray1572 = null; + anIntArray1574 = null; + int i_18_ = -74 / ((i - 17) / 46); + } +} diff --git a/client/misc/DisplayModeManagerContainer154.java b/client/misc/DisplayModeManagerContainer154.java new file mode 100644 index 000000000..715ea7273 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer154.java @@ -0,0 +1,131 @@ +/* DisplayModeManagerContainer154 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer154 +/** + * RENAMED from `Class76` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt1278; + /** Local/dev world-list channel. */ + static NamedInteger LOCAL = new NamedInteger("LOCAL", 4); + static int anInt1280; + static int anInt1281; + Component315 aClass243_1282 = new Component315(); + boolean aBoolean1283 = false; + static int anInt1284; + static int anInt1285; + static RequestProcessor aClass169_1286; + /** Camera pitch; clamped by {@code clampCameraAngles} (typically 1024..3072/4096). */ + static float cameraPitch = 1024.0F; + static int anInt1288; + + static final boolean method771(int i, byte i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int[] is, int i_5_) { + anInt1281++; + if (i_3_ > Component314.anInt3872) i_3_ = Component314.anInt3872; + if (i_4_ < 0) i_4_ = 0; + if (i_0_ != -25) anInt1288 = -32; + if (i_4_ >= i_3_) return true; + i_5_ += -1 + i_4_; + i_1_ += i * i_4_; + i_2_ = -i_4_ + i_3_ >> 2; + if (Component360.anInt4319 == 1) { + Component241.occludedPixelCount += i_2_; + while (--i_2_ >= 0) { + if (is[++i_5_] > i_1_) is[i_5_] = i_1_; + i_1_ += i; + if (is[++i_5_] > i_1_) is[i_5_] = i_1_; + i_1_ += i; + if (i_1_ < is[++i_5_]) is[i_5_] = i_1_; + i_1_ += i; + if (is[++i_5_] > i_1_) is[i_5_] = i_1_; + i_1_ += i; + } + i_2_ = 0x3 & i_3_ - i_4_; + while (--i_2_ >= 0) { + if (is[++i_5_] > i_1_) is[i_5_] = i_1_; + i_1_ += i; + } + } else { + i_1_ -= 38400; + while (--i_2_ >= 0) { + if (is[++i_5_] > i_1_) return false; + i_1_ += i; + if (is[++i_5_] > i_1_) return false; + i_1_ += i; + if (i_1_ < is[++i_5_]) return false; + i_1_ += i; + if (is[++i_5_] > i_1_) return false; + i_1_ += i; + } + i_2_ = 0x3 & i_3_ - i_4_; + while (--i_2_ >= 0) { + if (i_1_ < is[++i_5_]) return false; + i_1_ += i; + } + } + return true; + } + + public static void method772(byte i) { + aClass169_1286 = null; + LOCAL = null; + if (i >= -110) method771(-68, (byte) 45, 58, 119, 101, -92, null, 79); + } + + static final void method773(boolean bool) { + DefinitionSub10.aBoolean9181 = bool; + anInt1284++; + } + + final void method774(RenderableSub4 class318_sub4, int i) { + anInt1280++; + RenderableObject class318_sub1 = class318_sub4.aClass318_Sub1_6410; + boolean bool = true; + RenderableSub3[] class318_sub3s = class318_sub4.aClass318_Sub3Array6414; + for (int i_6_ = 0; class318_sub3s.length > i_6_; i_6_++) { + if (class318_sub3s[i_6_].aBoolean6401) { + bool = false; + break; + } + } + if (!bool) { + if (this.aBoolean1283) { + for (RenderableSub4 class318_sub4_7_ = ((RenderableSub4) this.aClass243_1282.method1872(8)); class318_sub4_7_ != null; class318_sub4_7_ = (RenderableSub4) this.aClass243_1282.method1878((byte) -103)) { + if (class318_sub1 == (class318_sub4_7_.aClass318_Sub1_6410)) { + class318_sub4_7_.unlink(false); + Component350.method560(class318_sub4_7_, -41); + } + } + } + for (RenderableSub4 class318_sub4_8_ = ((RenderableSub4) this.aClass243_1282.method1872(8)); class318_sub4_8_ != null; class318_sub4_8_ = (RenderableSub4) this.aClass243_1282.method1878((byte) -44)) { + if (class318_sub1.anInt6389 >= class318_sub4_8_.aClass318_Sub1_6410.anInt6389) { + DebugOverlay.linkRenderable(class318_sub4_8_, class318_sub4, true); + return; + } + } + if (i != 18802) aClass169_1286 = null; + this.aClass243_1282.method1869(-107, class318_sub4); + } + } + + final void method775(byte i) { + for (; ; ) { + RenderableSub4 class318_sub4 = ((RenderableSub4) this.aClass243_1282.method1875(60)); + if (class318_sub4 == null) break; + class318_sub4.unlink(false); + Component350.method560(class318_sub4, 123); + } + anInt1278++; + if (i != 69) anInt1288 = -20; + } + + DisplayModeManagerContainer154(boolean bool) { + this.aBoolean1283 = bool; + } + + static { + aClass169_1286 = new RequestProcessor(); + } +} diff --git a/client/misc/DisplayModeManagerContainer159.java b/client/misc/DisplayModeManagerContainer159.java new file mode 100644 index 000000000..504fa72af --- /dev/null +++ b/client/misc/DisplayModeManagerContainer159.java @@ -0,0 +1,385 @@ +/* DisplayModeManagerContainer159 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer159 +/** + * RENAMED from `Class211` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt2731; + static int anInt2732; + static int anInt2733; + int anInt2734; + private int anInt2735; + static int anInt2736; + boolean aBoolean2737; + private int anInt2738; + private int anInt2739; + private int anInt2740; + static int anInt2741; + short[] aShortArray2742; + private int anInt2743; + static int[] anIntArray2744 = new int[2]; + NodeSub1 aClass348_Sub1_2745; + static int anInt2746; + static int anInt2747; + static int anInt2748; + boolean aBoolean2749; + + static final boolean method1538(int i, byte i_0_, DisplayModeManagerContainer207 class348_sub49_sub2) { + anInt2732++; + int i_1_ = class348_sub49_sub2.readBits((byte) -24, 2); + if (i_1_ == 0) { + if (class348_sub49_sub2.readBits((byte) -24, 1) != 0) method1538(i, (byte) 105, class348_sub49_sub2); + int i_2_ = class348_sub49_sub2.readBits((byte) -24, 6); + int i_3_ = class348_sub49_sub2.readBits((byte) -24, 6); + boolean bool = (class348_sub49_sub2.readBits((byte) -24, 1) == 1); + if (bool) DisplayModeManagerContainer220.anIntArray279[MatrixSub3.anInt5768++] = i; + if (InterfaceRenderer.players[i] != null) throw new RuntimeException("hr:lr"); + Component135 class359 = NpcDefinition.aClass359Array6802[i]; + Player player = (InterfaceRenderer.players[i] = new Player()); + player.anInt10290 = i; + if (Component101.aClass348_Sub49Array2105[i] != null) player.method2452((byte) 84, Component101.aClass348_Sub49Array2105[i]); + player.method2435((byte) -108, (class359.anInt4423), true); + player.anInt10275 = class359.anInt4425; + int i_4_ = class359.anInt4420; + int i_5_ = i_4_ >> 28; + int i_6_ = (0x3fcd8e & i_4_) >> 14; + int i_7_ = 0xff & i_4_; + int i_8_ = -NodeBaseSub2.regionTileX + i_2_ + (i_6_ << 6); + player.aBoolean10554 = class359.aBoolean4426; + int i_9_ = -Component330.regionTileY + i_3_ + (i_7_ << 6); + player.aByteArray10321[0] = Component293.aByteArray3300[i]; + player.plane = player.aByte6376 = (byte) i_5_; + if (NpcComposition.method802(i_9_, i_8_, true)) player.aByte6376++; + player.method2449(i_9_, i_8_, (byte) 102); + player.aBoolean10539 = false; + NpcDefinition.aClass359Array6802[i] = null; + return true; + } + if (i_1_ == 1) { + int i_10_ = class348_sub49_sub2.readBits((byte) -24, 2); + int i_11_ = NpcDefinition.aClass359Array6802[i].anInt4420; + NpcDefinition.aClass359Array6802[i].anInt4420 = (0xfffffff & i_11_) + (((i_11_ >> 28) + i_10_ & 0x3) << 28); + return false; + } + if (i_1_ == 2) { + int i_12_ = class348_sub49_sub2.readBits((byte) -24, 5); + int i_13_ = i_12_ >> 3; + int i_14_ = 0x7 & i_12_; + int i_15_ = NpcDefinition.aClass359Array6802[i].anInt4420; + int i_16_ = 0x3 & i_13_ + (i_15_ >> 28); + int i_17_ = (i_15_ & 0x3fd366) >> 14; + int i_18_ = 0xff & i_15_; + if (i_14_ == 0) { + i_17_--; + i_18_--; + } + if (i_14_ == 1) i_18_--; + if (i_14_ == 2) { + i_18_--; + i_17_++; + } + if (i_14_ == 3) i_17_--; + if (i_14_ == 4) i_17_++; + if (i_14_ == 5) { + i_17_--; + i_18_++; + } + if (i_14_ == 6) i_18_++; + if (i_14_ == 7) { + i_17_++; + i_18_++; + } + NpcDefinition.aClass359Array6802[i].anInt4420 = i_18_ + ((i_16_ << 28) + (i_17_ << 14)); + return false; + } + int i_19_ = class348_sub49_sub2.readBits((byte) -24, 18); + int i_20_ = i_19_ >> 16; + int i_21_ = 0xff & i_19_ >> 8; + int i_22_ = 0xff & i_19_; + int i_23_ = NpcDefinition.aClass359Array6802[i].anInt4420; + int i_24_ = 0x3 & (i_23_ >> 28) - -i_20_; + int i_25_ = i_21_ + (i_23_ >> 14) & 0xff; + if (i_0_ != 105) anIntArray2744 = null; + int i_26_ = 0xff & i_23_ + i_22_; + NpcDefinition.aClass359Array6802[i].anInt4420 = i_26_ + (i_24_ << 28) - -(i_25_ << 14); + return false; + } + + final void method1539(int i, byte i_27_, int i_28_, int i_29_, int i_30_) { + anInt2741++; + if (i_27_ <= 114) method1538(-108, (byte) -46, null); + anInt2735 = i_28_; + anInt2738 = i; + anInt2743 = i_30_; + anInt2740 = i_29_; + } + + static final void method1540(int i, int i_31_, int i_32_) { + anInt2746++; + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i_31_, (byte) 105, 13); + class348_sub42_sub15.method3246(-25490); + class348_sub42_sub15.anInt9652 = i_32_; + if (i >= -84) anIntArray2744 = null; + } + + private final void method1541(int i, GraphicsToolkit var_ha, int i_33_, int i_34_, int i_35_, int i_36_, int i_37_) { + anInt2736++; + if (i_35_ == 3) this.aClass348_Sub1_2745 = var_ha.method3690(i_34_, i, i_33_, i_37_, i_36_, 1.0F); + } + + private final void method1542(int i) { + int i_38_ = this.anInt2734; + while_70_: + do { + while_69_: + do { + while_68_: + do { + while_67_: + do { + while_66_: + do { + while_65_: + do { + while_64_: + do { + while_63_: + do { + while_62_: + do { + while_61_: + do { + while_60_: + do { + while_59_: + do { + while_58_: + do { + while_57_: + do { + do { + if (i_38_ == 2) { + anInt2743 = 2048; + anInt2738 = 0; + anInt2735 = 2048; + anInt2740 = 1; + break while_70_; + } else if (i_38_ != 3) { + if (i_38_ != 4) { + if (i_38_ != 5) { + if (i_38_ != 12) { + if (i_38_ != 13) { + if (i_38_ != 10) { + if (i_38_ != 11) { + if (i_38_ != 6) { + if (i_38_ != 7) { + if (i_38_ != 8) { + if (i_38_ != 9) { + if (i_38_ != 14) { + if (i_38_ != 15) { + if (i_38_ == 16) break while_68_; + break while_69_; + } + } else break while_66_; + break while_67_; + } + } else break while_64_; + break while_65_; + } + } else break while_62_; + break while_63_; + } + } else break while_60_; + break while_61_; + } + } else break while_58_; + break while_59_; + } + } else break; + break while_57_; + } + anInt2738 = 0; + anInt2743 = 2048; + anInt2740 = 1; + anInt2735 = 4096; + break while_70_; + } while (false); + anInt2738 = 0; + anInt2740 = 4; + anInt2743 = 2048; + anInt2735 = 2048; + break while_70_; + } while (false); + anInt2735 = 8192; + anInt2740 = 4; + anInt2743 = 2048; + anInt2738 = 0; + break while_70_; + } while (false); + anInt2735 = 2048; + anInt2740 = 2; + anInt2738 = 0; + anInt2743 = 2048; + break while_70_; + } while (false); + anInt2743 = 2048; + anInt2738 = 0; + anInt2740 = 2; + anInt2735 = 8192; + break while_70_; + } while (false); + anInt2743 = 512; + anInt2740 = 3; + anInt2738 = 1536; + anInt2735 = 2048; + break while_70_; + } while (false); + anInt2740 = 3; + anInt2743 = 512; + anInt2738 = 1536; + anInt2735 = 4096; + break while_70_; + } while (false); + anInt2738 = 1280; + anInt2740 = 3; + anInt2743 = 768; + anInt2735 = 2048; + break while_70_; + } while (false); + anInt2738 = 1280; + anInt2740 = 3; + anInt2735 = 4096; + anInt2743 = 768; + break while_70_; + } while (false); + anInt2738 = 1024; + anInt2735 = 2048; + anInt2743 = 1024; + anInt2740 = 3; + break while_70_; + } while (false); + anInt2743 = 1024; + anInt2735 = 4096; + anInt2740 = 3; + anInt2738 = 1024; + break while_70_; + } while (false); + anInt2740 = 1; + anInt2738 = 1280; + anInt2735 = 2048; + anInt2743 = 768; + break while_70_; + } while (false); + anInt2735 = 4096; + anInt2743 = 512; + anInt2740 = 1; + anInt2738 = 1536; + break while_70_; + } while (false); + anInt2735 = 8192; + anInt2740 = 1; + anInt2743 = 256; + anInt2738 = 1792; + break while_70_; + } while (false); + anInt2735 = 2048; + anInt2743 = 2048; + anInt2738 = 0; + anInt2740 = 0; + } while (false); + if (i == 32402) anInt2748++; + } + + public static void method1543(int i) { + anIntArray2744 = null; + if (i != -4524) anInt2747 = 24; + } + + final void method1544(int i, boolean bool, int i_39_) { + if (i != 8688) method1544(86, false, 92); + anInt2733++; + int i_40_; + while_74_: + do { + if (bool) i_40_ = 2048; + else { + int i_41_ = 0x7ff & anInt2735 * i_39_ / 50 + anInt2739; + int i_42_ = anInt2740; + while_73_: + do { + while_72_: + do { + while_71_: + do { + do { + if (i_42_ == 1) { + i_40_ = ((DisplayModeManagerContainer88.anIntArray1207[i_41_ << 3]) >> 4) + 1024; + break while_74_; + } else if (i_42_ != 3) { + if (i_42_ != 4) { + if (i_42_ != 2) { + if (i_42_ == 5) break while_72_; + break while_73_; + } + } else break; + break while_71_; + } + i_40_ = (ReferenceTable.anIntArray3726[i_41_] >> 1); + break while_74_; + } while (false); + i_40_ = i_41_ >> 10 << 11; + break while_74_; + } while (false); + i_40_ = i_41_; + break while_74_; + } while (false); + i_40_ = (i_41_ >= 1024 ? -i_41_ + 2048 : i_41_) << 1; + break while_74_; + } while (false); + i_40_ = 2048; + } + } while (false); + this.aClass348_Sub1_2745.method2716(-1, ((float) ((anInt2743 * i_40_ >> 11) + anInt2738) / 2048.0F)); + } + + protected DisplayModeManagerContainer159() { + if (ReferenceTable.anIntArray3726 == null) Component258.method1177((byte) 122); + method1542(32402); + } + + DisplayModeManagerContainer159(GraphicsToolkit var_ha, Buffer class348_sub49, int i) { + try { + if (ReferenceTable.anIntArray3726 == null) Component258.method1177((byte) 122); + this.anInt2731 = class348_sub49.readUnsignedByte(255); + this.aBoolean2737 = (0x8 & this.anInt2731) != 0; + this.aBoolean2749 = (this.anInt2731 & 0x10) != 0; + this.anInt2731 = 0x7 & this.anInt2731; + int i_43_ = class348_sub49.readUnsignedShort(842397944) << i; + int i_44_ = class348_sub49.readUnsignedShort(842397944) << i; + int i_45_ = class348_sub49.readUnsignedShort(842397944) << i; + int i_46_ = class348_sub49.readUnsignedByte(255); + int i_47_ = 1 + i_46_ * 2; + this.aShortArray2742 = new short[i_47_]; + for (int i_48_ = 0; (i_48_ < this.aShortArray2742.length); i_48_++) { + int i_49_ = (short) class348_sub49.readUnsignedShort(842397944); + int i_50_ = i_49_ >>> 8; + if (i_47_ <= i_50_) i_50_ = i_47_ - 1; + int i_51_ = 0xff & i_49_; + if (-i_50_ + i_47_ < i_51_) i_51_ = i_47_ - i_50_; + this.aShortArray2742[i_48_] = (short) Component224.bitwiseOr(i_51_, i_50_ << 8); + } + i_46_ = ((i_46_ << Component149.anInt4459) + DisplayModeManagerContainer64.anInt9037); + int i_52_ = (RunescapeInfo.anIntArray179 == null ? (Component380.anIntArray4983[Component361.method303(class348_sub49.readUnsignedShort(842397944), 30) & 0xffff]) : (RunescapeInfo.anIntArray179[class348_sub49.readUnsignedShort(842397944)])); + int i_53_ = class348_sub49.readUnsignedByte(255); + anInt2739 = (0xe0 & i_53_) << 3; + this.anInt2734 = 0x1f & i_53_; + if (this.anInt2734 != 31) method1542(32402); + method1541(i_45_, var_ha, i_44_, i_43_, 3, i_52_, i_46_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ro.(" + (var_ha != null ? "{...}" : "null") + ',' + (class348_sub49 != null ? "{...}" : "null") + ',' + i + ')')); + } + } +} diff --git a/client/misc/DisplayModeManagerContainer164.java b/client/misc/DisplayModeManagerContainer164.java new file mode 100644 index 000000000..eb33e0abc --- /dev/null +++ b/client/misc/DisplayModeManagerContainer164.java @@ -0,0 +1,3231 @@ +/* DisplayModeManagerContainer164 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer164 +/** + * RENAMED from `Class64_Sub1` (JODE-obfuscated). + * Evidence: subclass of DisplayModeManagerContainer370 (hierarchy) + */ extends DisplayModeManagerContainer370 { + private short[] aShortArray5311; + private int[] anIntArray5312; + private Component242[] aClass360Array5313; + private float[][] aFloatArrayArray5314; + private int[] anIntArray5315; + private int anInt5316; + private short[] aShortArray5317; + private int[] anIntArray5318; + private DisplayModeManagerContainer164 aClass64_Sub1_5319; + private MatrixSub1 aClass101_Sub1_5320; + private int[] anIntArray5321; + private Component30[] aClass129Array5322; + private boolean aBoolean5323 = false; + private short aShort5324; + private byte[] aByteArray5325; + private int[] anIntArray5326; + private short[] aShortArray5327; + private DisplayModeManagerContainer164 aClass64_Sub1_5328; + private short aShort5329; + private int[][] anIntArrayArray5330; + private short aShort5331; + private int[] anIntArray5332; + private short[] aShortArray5333; + private int[][] anIntArrayArray5334; + private DisplayModeManagerContainer173[] aClass342Array5335; + private Component385 aClass167_5336; + private int[] anIntArray5337; + private int anInt5338; + private DisplayModeManagerContainer164 aClass64_Sub1_5339; + private int anInt5340 = 0; + private static int anInt5341; + private int anInt5342; + private int[] anIntArray5343; + private int anInt5344; + private float[][] aFloatArrayArray5345; + static int anInt5346 = 4096; + private DisplayModeManagerContainer164 aClass64_Sub1_5347; + private short aShort5348; + private int anInt5349; + static int anInt5350; + private int anInt5351; + private short aShort5352; + private final GlToolkitSub1 aHa_Sub1_5353; + private int anInt5354; + private int[] anIntArray5355; + private int[] anIntArray5356; + private boolean aBoolean5357 = false; + private byte[] aByteArray5358; + private int[] anIntArray5359; + private Component242[] aClass360Array5360; + private BuildInfo[] aClass6Array5361; + private int[] anIntArray5362; + private Component360[] aClass350Array5363; + private short[] aShortArray5364; + private short aShort5365; + private int[] anIntArray5366; + private Component385 aClass167_5367; + private int[] anIntArray5368; + private boolean aBoolean5369; + private short[] aShortArray5370; + private int[] anIntArray5371; + private boolean aBoolean5372; + private int[] anIntArray5373; + private DisplayModeManagerContainer164 aClass64_Sub1_5374; + private int anInt5375; + private DisplayModeManagerContainer164 aClass64_Sub1_5376; + private int[] anIntArray5377; + private DisplayModeManagerContainer164 aClass64_Sub1_5378; + private int[][] anIntArrayArray5379; + private boolean aBoolean5380; + private int[] anIntArray5381; + private boolean aBoolean5382; + private Component8 aClass109_5383; + private int[] anIntArray5384; + private Component106[] aClass41Array5385; + private byte[] aByteArray5386; + private int anInt5387; + private short[] aShortArray5388; + private int anInt5389; + private DisplayModeManagerContainer164 aClass64_Sub1_5390; + private boolean aBoolean5391; + private int[] anIntArray5392; + private short aShort5393; + private short[] aShortArray5394; + private short aShort5395; + private DisplayModeManagerContainer164 aClass64_Sub1_5396; + private DisplayModeManagerContainer164 aClass64_Sub1_5397; + private int[] anIntArray5398; + private int[] anIntArray5399; + private int[] anIntArray5400; + + private final boolean method629(int i) { + if (aByteArray5325 == null) return false; + return aByteArray5325[i] != 0; + } + + private final boolean method630(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_) { + if (i_0_ < i_1_ && i_0_ < i_2_ && i_0_ < i_3_) return false; + if (i_0_ > i_1_ && i_0_ > i_2_ && i_0_ > i_3_) return false; + if (i < i_4_ && i < i_5_ && i < i_6_) return false; + return i <= i_4_ || i <= i_5_ || i <= i_6_; + } + + private final void method631() { + aClass360Array5360 = null; + aClass360Array5313 = null; + aClass41Array5385 = null; + aBoolean5323 = false; + } + + final int EA() { + if (!aBoolean5323) method655(); + return aShort5365; + } + + private final void method632(Thread thread) { + Component385 class167 = aHa_Sub1_5353.method3724(thread); + aClass109_5383 = class167.aClass109_2220; + if (class167 != aClass167_5367) { + aClass167_5367 = class167; + anIntArray5362 = aClass167_5367.anIntArray2222; + anIntArray5399 = aClass167_5367.anIntArray2244; + anIntArray5384 = aClass167_5367.anIntArray2214; + anIntArray5392 = aClass167_5367.anIntArray2237; + anIntArray5321 = aClass167_5367.anIntArray2234; + anIntArray5343 = aClass167_5367.anIntArray2230; + anIntArray5355 = aClass167_5367.anIntArray2213; + anIntArray5359 = aClass167_5367.anIntArray2218; + anIntArray5373 = aClass167_5367.anIntArray2241; + anIntArray5398 = aClass167_5367.anIntArray2245; + anIntArray5315 = aClass167_5367.anIntArray2238; + anIntArray5371 = aClass167_5367.anIntArray2247; + anIntArray5381 = aClass167_5367.anIntArray2235; + anIntArray5377 = aClass167_5367.anIntArray2240; + anIntArray5326 = aClass167_5367.anIntArray2236; + anIntArray5318 = aClass167_5367.anIntArray2216; + anIntArray5400 = aClass167_5367.anIntArray2242; + } + } + + private final DisplayModeManagerContainer370 method633(DisplayModeManagerContainer164 class64_sub1_7_, DisplayModeManagerContainer164 class64_sub1_8_, int i, boolean bool, boolean bool_9_) { + class64_sub1_7_.aBoolean5323 = aBoolean5323; + if (aBoolean5323) { + class64_sub1_7_.aShort5393 = aShort5393; + class64_sub1_7_.aShort5365 = aShort5365; + class64_sub1_7_.aShort5331 = aShort5331; + class64_sub1_7_.aShort5395 = aShort5395; + class64_sub1_7_.aShort5329 = aShort5329; + class64_sub1_7_.aShort5352 = aShort5352; + class64_sub1_7_.aShort5324 = aShort5324; + class64_sub1_7_.aShort5348 = aShort5348; + } + class64_sub1_7_.anInt5344 = anInt5344; + class64_sub1_7_.anInt5349 = anInt5349; + class64_sub1_7_.anInt5340 = anInt5340; + class64_sub1_7_.anInt5387 = anInt5387; + class64_sub1_7_.anInt5351 = anInt5351; + class64_sub1_7_.anInt5389 = anInt5389; + if ((i & 0x100) != 0) class64_sub1_7_.aBoolean5382 = true; + else class64_sub1_7_.aBoolean5382 = aBoolean5382; + class64_sub1_7_.aBoolean5391 = aBoolean5391; + boolean bool_10_ = (i & 0x7) == 7 | (i & 0x20) != 0; + boolean bool_11_ = bool_10_ || (i & 0x1) != 0; + boolean bool_12_ = bool_10_ || (i & 0x2) != 0; + boolean bool_13_ = bool_10_ || (i & 0x4) != 0 || (i & 0x10) != 0; + if (bool_11_ || bool_12_ || bool_13_) { + if (bool_11_) { + if (class64_sub1_8_.anIntArray5356 == null || class64_sub1_8_.anIntArray5356.length < anInt5340) class64_sub1_7_.anIntArray5356 = class64_sub1_8_.anIntArray5356 = new int[anInt5340]; + else class64_sub1_7_.anIntArray5356 = class64_sub1_8_.anIntArray5356; + for (int i_14_ = 0; i_14_ < anInt5340; i_14_++) + class64_sub1_7_.anIntArray5356[i_14_] = anIntArray5356[i_14_]; + } else class64_sub1_7_.anIntArray5356 = anIntArray5356; + if (bool_12_) { + if (class64_sub1_8_.anIntArray5332 == null || class64_sub1_8_.anIntArray5332.length < anInt5340) class64_sub1_7_.anIntArray5332 = class64_sub1_8_.anIntArray5332 = new int[anInt5340]; + else class64_sub1_7_.anIntArray5332 = class64_sub1_8_.anIntArray5332; + for (int i_15_ = 0; i_15_ < anInt5340; i_15_++) + class64_sub1_7_.anIntArray5332[i_15_] = anIntArray5332[i_15_]; + } else class64_sub1_7_.anIntArray5332 = anIntArray5332; + if (bool_13_) { + if (class64_sub1_8_.anIntArray5312 == null || class64_sub1_8_.anIntArray5312.length < anInt5340) class64_sub1_7_.anIntArray5312 = class64_sub1_8_.anIntArray5312 = new int[anInt5340]; + else class64_sub1_7_.anIntArray5312 = class64_sub1_8_.anIntArray5312; + for (int i_16_ = 0; i_16_ < anInt5340; i_16_++) + class64_sub1_7_.anIntArray5312[i_16_] = anIntArray5312[i_16_]; + } else class64_sub1_7_.anIntArray5312 = anIntArray5312; + } else { + class64_sub1_7_.anIntArray5356 = anIntArray5356; + class64_sub1_7_.anIntArray5332 = anIntArray5332; + class64_sub1_7_.anIntArray5312 = anIntArray5312; + } + if ((i & 0x84080) != 0) { + if (class64_sub1_8_.aShortArray5311 == null || class64_sub1_8_.aShortArray5311.length < anInt5351) { + int i_17_ = anInt5351; + class64_sub1_7_.aShortArray5311 = class64_sub1_8_.aShortArray5311 = new short[i_17_]; + } else class64_sub1_7_.aShortArray5311 = class64_sub1_8_.aShortArray5311; + for (int i_18_ = 0; i_18_ < anInt5351; i_18_++) + class64_sub1_7_.aShortArray5311[i_18_] = aShortArray5311[i_18_]; + } else class64_sub1_7_.aShortArray5311 = aShortArray5311; + if ((i & 0x97018) != 0) { + class64_sub1_7_.anInt5354 = 0; + class64_sub1_7_.anIntArray5368 = class64_sub1_7_.anIntArray5337 = class64_sub1_7_.anIntArray5366 = null; + } else if ((i & 0x80) == 0) { + if (bool_9_) method634(false); + class64_sub1_7_.anIntArray5368 = anIntArray5368; + class64_sub1_7_.anIntArray5337 = anIntArray5337; + class64_sub1_7_.anIntArray5366 = anIntArray5366; + class64_sub1_7_.anInt5354 = anInt5354; + } else { + if (bool_9_) method634(false); + if (anIntArray5368 != null) { + if (class64_sub1_8_.anIntArray5368 == null || class64_sub1_8_.anIntArray5368.length < anInt5351) { + int i_19_ = anInt5351; + class64_sub1_7_.anIntArray5368 = class64_sub1_8_.anIntArray5368 = new int[i_19_]; + class64_sub1_7_.anIntArray5337 = class64_sub1_8_.anIntArray5337 = new int[i_19_]; + class64_sub1_7_.anIntArray5366 = class64_sub1_8_.anIntArray5366 = new int[i_19_]; + } else { + class64_sub1_7_.anIntArray5368 = class64_sub1_8_.anIntArray5368; + class64_sub1_7_.anIntArray5337 = class64_sub1_8_.anIntArray5337; + class64_sub1_7_.anIntArray5366 = class64_sub1_8_.anIntArray5366; + } + for (int i_20_ = 0; i_20_ < anInt5351; i_20_++) { + class64_sub1_7_.anIntArray5368[i_20_] = anIntArray5368[i_20_]; + class64_sub1_7_.anIntArray5337[i_20_] = anIntArray5337[i_20_]; + class64_sub1_7_.anIntArray5366[i_20_] = anIntArray5366[i_20_]; + } + } + class64_sub1_7_.anInt5354 = anInt5354; + } + if ((i & 0x100) != 0) { + if (class64_sub1_8_.aByteArray5325 == null || class64_sub1_8_.aByteArray5325.length < anInt5351) { + int i_21_ = anInt5351; + class64_sub1_7_.aByteArray5325 = class64_sub1_8_.aByteArray5325 = new byte[i_21_]; + } else class64_sub1_7_.aByteArray5325 = class64_sub1_8_.aByteArray5325; + if (aByteArray5325 == null) { + for (int i_23_ = 0; i_23_ < anInt5351; i_23_++) + class64_sub1_7_.aByteArray5325[i_23_] = (byte) 0; + } else { + for (int i_22_ = 0; i_22_ < anInt5351; i_22_++) + class64_sub1_7_.aByteArray5325[i_22_] = aByteArray5325[i_22_]; + } + } else class64_sub1_7_.aByteArray5325 = aByteArray5325; + if ((i & 0x8) != 0 || (i & 0x10) != 0) { + if (class64_sub1_8_.aClass360Array5360 == null || class64_sub1_8_.aClass360Array5360.length < anInt5387) { + int i_24_ = anInt5387; + class64_sub1_7_.aClass360Array5360 = class64_sub1_8_.aClass360Array5360 = new Component242[i_24_]; + } else class64_sub1_7_.aClass360Array5360 = class64_sub1_8_.aClass360Array5360; + if (aClass360Array5360 != null) { + for (int i_25_ = 0; i_25_ < anInt5387; i_25_++) + class64_sub1_7_.aClass360Array5360[i_25_] = new Component242(aClass360Array5360[i_25_]); + } else class64_sub1_7_.aClass360Array5360 = null; + if (aClass41Array5385 != null) { + if (class64_sub1_8_.aClass41Array5385 == null || class64_sub1_8_.aClass41Array5385.length < anInt5351) { + int i_26_ = anInt5351; + class64_sub1_7_.aClass41Array5385 = class64_sub1_8_.aClass41Array5385 = new Component106[i_26_]; + } else class64_sub1_7_.aClass41Array5385 = class64_sub1_8_.aClass41Array5385; + for (int i_27_ = 0; i_27_ < anInt5351; i_27_++) + class64_sub1_7_.aClass41Array5385[i_27_] = (aClass41Array5385[i_27_] != null ? new Component106(aClass41Array5385[i_27_]) : null); + } else class64_sub1_7_.aClass41Array5385 = null; + } else { + if (bool_9_) method636(); + class64_sub1_7_.aClass360Array5360 = aClass360Array5360; + class64_sub1_7_.aClass41Array5385 = aClass41Array5385; + } + if ((i & 0x8000) != 0) { + if (aShortArray5388 == null) class64_sub1_7_.aShortArray5388 = null; + else { + if (class64_sub1_8_.aShortArray5388 == null || class64_sub1_8_.aShortArray5388.length < anInt5351) { + int i_28_ = anInt5351; + class64_sub1_7_.aShortArray5388 = class64_sub1_8_.aShortArray5388 = new short[i_28_]; + } else class64_sub1_7_.aShortArray5388 = class64_sub1_8_.aShortArray5388; + for (int i_29_ = 0; i_29_ < anInt5351; i_29_++) + class64_sub1_7_.aShortArray5388[i_29_] = aShortArray5388[i_29_]; + } + } else class64_sub1_7_.aShortArray5388 = aShortArray5388; + if ((i & 0x10000) != 0) { + if (aByteArray5386 == null) class64_sub1_7_.aByteArray5386 = null; + else { + if (class64_sub1_8_.aByteArray5386 == null || class64_sub1_8_.aByteArray5386.length < anInt5351) { + int i_30_ = bool ? anInt5351 + 100 : anInt5351; + class64_sub1_7_.aByteArray5386 = class64_sub1_8_.aByteArray5386 = new byte[i_30_]; + } else class64_sub1_7_.aByteArray5386 = class64_sub1_8_.aByteArray5386; + for (int i_31_ = 0; i_31_ < anInt5351; i_31_++) + class64_sub1_7_.aByteArray5386[i_31_] = aByteArray5386[i_31_]; + } + } else class64_sub1_7_.aByteArray5386 = aByteArray5386; + if ((i & 0xc580) != 0) { + if (class64_sub1_8_.aClass350Array5363 == null || class64_sub1_8_.aClass350Array5363.length < anInt5389) { + int i_32_ = anInt5389; + class64_sub1_7_.aClass350Array5363 = class64_sub1_8_.aClass350Array5363 = new Component360[i_32_]; + for (int i_33_ = 0; i_33_ < anInt5389; i_33_++) + class64_sub1_7_.aClass350Array5363[i_33_] = aClass350Array5363[i_33_].method3453(true); + } else { + class64_sub1_7_.aClass350Array5363 = class64_sub1_8_.aClass350Array5363; + for (int i_34_ = 0; i_34_ < anInt5389; i_34_++) + class64_sub1_7_.aClass350Array5363[i_34_].method3454(aClass350Array5363[i_34_], true); + } + } else class64_sub1_7_.aClass350Array5363 = aClass350Array5363; + if (aFloatArrayArray5314 == null || (i & 0x10) == 0) { + class64_sub1_7_.aFloatArrayArray5314 = aFloatArrayArray5314; + class64_sub1_7_.aFloatArrayArray5345 = aFloatArrayArray5345; + } else { + if (class64_sub1_8_.aFloatArrayArray5314 == null || class64_sub1_8_.aFloatArrayArray5314.length < anInt5351) { + int i_35_ = bool ? anInt5351 + 100 : anInt5351; + class64_sub1_7_.aFloatArrayArray5314 = class64_sub1_8_.aFloatArrayArray5314 = new float[i_35_][3]; + } else class64_sub1_7_.aFloatArrayArray5314 = class64_sub1_8_.aFloatArrayArray5314; + for (int i_36_ = 0; i_36_ < anInt5351; i_36_++) { + if (aFloatArrayArray5314[i_36_] != null) { + class64_sub1_7_.aFloatArrayArray5314[i_36_][0] = aFloatArrayArray5314[i_36_][0]; + class64_sub1_7_.aFloatArrayArray5314[i_36_][1] = aFloatArrayArray5314[i_36_][1]; + class64_sub1_7_.aFloatArrayArray5314[i_36_][2] = aFloatArrayArray5314[i_36_][2]; + } + } + if (class64_sub1_8_.aFloatArrayArray5345 == null || class64_sub1_8_.aFloatArrayArray5345.length < anInt5351) { + int i_37_ = bool ? anInt5351 + 100 : anInt5351; + class64_sub1_7_.aFloatArrayArray5345 = class64_sub1_8_.aFloatArrayArray5345 = new float[i_37_][3]; + } else class64_sub1_7_.aFloatArrayArray5345 = class64_sub1_8_.aFloatArrayArray5345; + for (int i_38_ = 0; i_38_ < anInt5351; i_38_++) { + if (aFloatArrayArray5345[i_38_] != null) { + class64_sub1_7_.aFloatArrayArray5345[i_38_][0] = aFloatArrayArray5345[i_38_][0]; + class64_sub1_7_.aFloatArrayArray5345[i_38_][1] = aFloatArrayArray5345[i_38_][1]; + class64_sub1_7_.aFloatArrayArray5345[i_38_][2] = aFloatArrayArray5345[i_38_][2]; + } + } + } + class64_sub1_7_.anIntArrayArray5334 = anIntArrayArray5334; + class64_sub1_7_.anIntArrayArray5330 = anIntArrayArray5330; + class64_sub1_7_.anIntArrayArray5379 = anIntArrayArray5379; + class64_sub1_7_.aShortArray5333 = aShortArray5333; + class64_sub1_7_.aShortArray5370 = aShortArray5370; + class64_sub1_7_.aByteArray5358 = aByteArray5358; + class64_sub1_7_.aShortArray5317 = aShortArray5317; + class64_sub1_7_.aShortArray5394 = aShortArray5394; + class64_sub1_7_.aShortArray5364 = aShortArray5364; + class64_sub1_7_.aClass129Array5322 = aClass129Array5322; + class64_sub1_7_.aClass342Array5335 = aClass342Array5335; + class64_sub1_7_.aClass6Array5361 = aClass6Array5361; + class64_sub1_7_.aShortArray5327 = aShortArray5327; + class64_sub1_7_.anInt5316 = i; + return class64_sub1_7_; + } + + private final void method634(boolean bool) { + if (aHa_Sub1_5353.anInt7485 > 1) { + synchronized (this) { + method657(bool); + } + } else method657(bool); + } + + final Component30[] method619() { + return aClass129Array5322; + } + + final int V() { + if (!aBoolean5323) method655(); + return aShort5395; + } + + private final void method635(int i) { + short i_39_ = aShortArray5317[i]; + short i_40_ = aShortArray5394[i]; + short i_41_ = aShortArray5364[i]; + if (aShortArray5388 == null || aShortArray5388[i] == -1) { + if (aByteArray5325 == null) aClass109_5383.anInt1674 = 0; + else aClass109_5383.anInt1674 = aByteArray5325[i] & 0xff; + if (anIntArray5366[i] == -1) + aClass109_5383.method1018((float) anIntArray5343[i_39_], (float) anIntArray5343[i_40_], (float) anIntArray5343[i_41_], (float) anIntArray5321[i_39_], (float) anIntArray5321[i_40_], (float) anIntArray5321[i_41_], (float) anIntArray5355[i_39_], (float) anIntArray5355[i_40_], (float) anIntArray5355[i_41_], (Component380.anIntArray4983[anIntArray5368[i] & 0xffff])); + else + aClass109_5383.method1022((float) anIntArray5343[i_39_], (float) anIntArray5343[i_40_], (float) anIntArray5343[i_41_], (float) anIntArray5321[i_39_], (float) anIntArray5321[i_40_], (float) anIntArray5321[i_41_], (float) anIntArray5355[i_39_], (float) anIntArray5355[i_40_], (float) anIntArray5355[i_41_], (float) (anIntArray5368[i] & 0xffff), (float) (anIntArray5337[i] & 0xffff), (float) (anIntArray5366[i] & 0xffff)); + } else { + int i_42_ = -16777216; + if (aByteArray5325 != null) i_42_ = 255 - (aByteArray5325[i] & 0xff) << 24; + if (anIntArray5366[i] == -1) { + int i_43_ = i_42_ | anIntArray5368[i] & 0xffffff; + aClass109_5383.method1024((float) anIntArray5343[i_39_], (float) anIntArray5343[i_40_], (float) anIntArray5343[i_41_], (float) anIntArray5321[i_39_], (float) anIntArray5321[i_40_], (float) anIntArray5321[i_41_], (float) anIntArray5355[i_39_], (float) anIntArray5355[i_40_], (float) anIntArray5355[i_41_], aFloatArrayArray5314[i][0], aFloatArrayArray5314[i][1], aFloatArrayArray5314[i][2], aFloatArrayArray5345[i][0], aFloatArrayArray5345[i][1], aFloatArrayArray5345[i][2], i_43_, i_43_, i_43_, aClass167_5367.anInt2192, 0, 0, 0, aShortArray5388[i]); + } else + aClass109_5383.method1024((float) anIntArray5343[i_39_], (float) anIntArray5343[i_40_], (float) anIntArray5343[i_41_], (float) anIntArray5321[i_39_], (float) anIntArray5321[i_40_], (float) anIntArray5321[i_41_], (float) anIntArray5355[i_39_], (float) anIntArray5355[i_40_], (float) anIntArray5355[i_41_], aFloatArrayArray5314[i][0], aFloatArrayArray5314[i][1], aFloatArrayArray5314[i][2], aFloatArrayArray5345[i][0], aFloatArrayArray5345[i][1], aFloatArrayArray5345[i][2], i_42_ | anIntArray5368[i] & 0xffffff, i_42_ | anIntArray5337[i] & 0xffffff, i_42_ | anIntArray5366[i] & 0xffffff, (aClass167_5367.anInt2192), 0, 0, 0, aShortArray5388[i]); + } + } + + final void method615(DisplayModeManagerContainer204 class101, RenderableSub3 class318_sub3, int i) { + method654(class101, class318_sub3, -1, i); + } + + final int HA() { + if (!aBoolean5323) method655(); + return aShort5352; + } + + final void method605(int i, int[] is, int i_44_, int i_45_, int i_46_, int i_47_, boolean bool) { + int i_48_ = is.length; + if (i == 0) { + i_44_ <<= 4; + i_45_ <<= 4; + i_46_ <<= 4; + if (!aBoolean5372) { + for (int i_49_ = 0; i_49_ < anInt5340; i_49_++) { + anIntArray5356[i_49_] <<= 4; + anIntArray5332[i_49_] <<= 4; + anIntArray5312[i_49_] <<= 4; + } + aBoolean5372 = true; + } + int i_50_ = 0; + anInt5338 = 0; + anInt5375 = 0; + anInt5342 = 0; + for (int i_51_ = 0; i_51_ < i_48_; i_51_++) { + int i_52_ = is[i_51_]; + if (i_52_ < anIntArrayArray5334.length) { + int[] is_53_ = anIntArrayArray5334[i_52_]; + for (int i_54_ = 0; i_54_ < is_53_.length; i_54_++) { + int i_55_ = is_53_[i_54_]; + anInt5338 += anIntArray5356[i_55_]; + anInt5375 += anIntArray5332[i_55_]; + anInt5342 += anIntArray5312[i_55_]; + i_50_++; + } + } + } + if (i_50_ > 0) { + anInt5338 = anInt5338 / i_50_ + i_44_; + anInt5375 = anInt5375 / i_50_ + i_45_; + anInt5342 = anInt5342 / i_50_ + i_46_; + } else { + anInt5338 = i_44_; + anInt5375 = i_45_; + anInt5342 = i_46_; + } + } else if (i == 1) { + i_44_ <<= 4; + i_45_ <<= 4; + i_46_ <<= 4; + if (!aBoolean5372) { + for (int i_56_ = 0; i_56_ < anInt5340; i_56_++) { + anIntArray5356[i_56_] <<= 4; + anIntArray5332[i_56_] <<= 4; + anIntArray5312[i_56_] <<= 4; + } + aBoolean5372 = true; + } + for (int i_57_ = 0; i_57_ < i_48_; i_57_++) { + int i_58_ = is[i_57_]; + if (i_58_ < anIntArrayArray5334.length) { + int[] is_59_ = anIntArrayArray5334[i_58_]; + for (int i_60_ = 0; i_60_ < is_59_.length; i_60_++) { + int i_61_ = is_59_[i_60_]; + anIntArray5356[i_61_] += i_44_; + anIntArray5332[i_61_] += i_45_; + anIntArray5312[i_61_] += i_46_; + } + } + } + } else if (i == 2) { + for (int i_62_ = 0; i_62_ < i_48_; i_62_++) { + int i_63_ = is[i_62_]; + if (i_63_ < anIntArrayArray5334.length) { + int[] is_64_ = anIntArrayArray5334[i_63_]; + if ((i_47_ & 0x1) == 0) { + for (int i_65_ = 0; i_65_ < is_64_.length; i_65_++) { + int i_66_ = is_64_[i_65_]; + anIntArray5356[i_66_] -= anInt5338; + anIntArray5332[i_66_] -= anInt5375; + anIntArray5312[i_66_] -= anInt5342; + if (i_46_ != 0) { + int i_67_ = DisplayModeManagerContainer88.anIntArray1207[i_46_]; + int i_68_ = DisplayModeManagerContainer88.anIntArray1204[i_46_]; + int i_69_ = ((anIntArray5332[i_66_] * i_67_ + anIntArray5356[i_66_] * i_68_ + 16383) >> 14); + anIntArray5332[i_66_] = (anIntArray5332[i_66_] * i_68_ - anIntArray5356[i_66_] * i_67_ + 16383) >> 14; + anIntArray5356[i_66_] = i_69_; + } + if (i_44_ != 0) { + int i_70_ = DisplayModeManagerContainer88.anIntArray1207[i_44_]; + int i_71_ = DisplayModeManagerContainer88.anIntArray1204[i_44_]; + int i_72_ = ((anIntArray5332[i_66_] * i_71_ - anIntArray5312[i_66_] * i_70_ + 16383) >> 14); + anIntArray5312[i_66_] = (anIntArray5332[i_66_] * i_70_ + anIntArray5312[i_66_] * i_71_ + 16383) >> 14; + anIntArray5332[i_66_] = i_72_; + } + if (i_45_ != 0) { + int i_73_ = DisplayModeManagerContainer88.anIntArray1207[i_45_]; + int i_74_ = DisplayModeManagerContainer88.anIntArray1204[i_45_]; + int i_75_ = ((anIntArray5312[i_66_] * i_73_ + anIntArray5356[i_66_] * i_74_ + 16383) >> 14); + anIntArray5312[i_66_] = (anIntArray5312[i_66_] * i_74_ - anIntArray5356[i_66_] * i_73_ + 16383) >> 14; + anIntArray5356[i_66_] = i_75_; + } + anIntArray5356[i_66_] += anInt5338; + anIntArray5332[i_66_] += anInt5375; + anIntArray5312[i_66_] += anInt5342; + } + } else { + for (int i_76_ = 0; i_76_ < is_64_.length; i_76_++) { + int i_77_ = is_64_[i_76_]; + anIntArray5356[i_77_] -= anInt5338; + anIntArray5332[i_77_] -= anInt5375; + anIntArray5312[i_77_] -= anInt5342; + if (i_44_ != 0) { + int i_78_ = DisplayModeManagerContainer88.anIntArray1207[i_44_]; + int i_79_ = DisplayModeManagerContainer88.anIntArray1204[i_44_]; + int i_80_ = ((anIntArray5332[i_77_] * i_79_ - anIntArray5312[i_77_] * i_78_ + 16383) >> 14); + anIntArray5312[i_77_] = (anIntArray5332[i_77_] * i_78_ + anIntArray5312[i_77_] * i_79_ + 16383) >> 14; + anIntArray5332[i_77_] = i_80_; + } + if (i_46_ != 0) { + int i_81_ = DisplayModeManagerContainer88.anIntArray1207[i_46_]; + int i_82_ = DisplayModeManagerContainer88.anIntArray1204[i_46_]; + int i_83_ = ((anIntArray5332[i_77_] * i_81_ + anIntArray5356[i_77_] * i_82_ + 16383) >> 14); + anIntArray5332[i_77_] = (anIntArray5332[i_77_] * i_82_ - anIntArray5356[i_77_] * i_81_ + 16383) >> 14; + anIntArray5356[i_77_] = i_83_; + } + if (i_45_ != 0) { + int i_84_ = DisplayModeManagerContainer88.anIntArray1207[i_45_]; + int i_85_ = DisplayModeManagerContainer88.anIntArray1204[i_45_]; + int i_86_ = ((anIntArray5312[i_77_] * i_84_ + anIntArray5356[i_77_] * i_85_ + 16383) >> 14); + anIntArray5312[i_77_] = (anIntArray5312[i_77_] * i_85_ - anIntArray5356[i_77_] * i_84_ + 16383) >> 14; + anIntArray5356[i_77_] = i_86_; + } + anIntArray5356[i_77_] += anInt5338; + anIntArray5332[i_77_] += anInt5375; + anIntArray5312[i_77_] += anInt5342; + } + } + } + } + } else if (i == 3) { + for (int i_87_ = 0; i_87_ < i_48_; i_87_++) { + int i_88_ = is[i_87_]; + if (i_88_ < anIntArrayArray5334.length) { + int[] is_89_ = anIntArrayArray5334[i_88_]; + for (int i_90_ = 0; i_90_ < is_89_.length; i_90_++) { + int i_91_ = is_89_[i_90_]; + anIntArray5356[i_91_] -= anInt5338; + anIntArray5332[i_91_] -= anInt5375; + anIntArray5312[i_91_] -= anInt5342; + anIntArray5356[i_91_] = anIntArray5356[i_91_] * i_44_ / 128; + anIntArray5332[i_91_] = anIntArray5332[i_91_] * i_45_ / 128; + anIntArray5312[i_91_] = anIntArray5312[i_91_] * i_46_ / 128; + anIntArray5356[i_91_] += anInt5338; + anIntArray5332[i_91_] += anInt5375; + anIntArray5312[i_91_] += anInt5342; + } + } + } + } else if (i == 5) { + if (anIntArrayArray5330 != null && aByteArray5325 != null) { + for (int i_92_ = 0; i_92_ < i_48_; i_92_++) { + int i_93_ = is[i_92_]; + if (i_93_ < anIntArrayArray5330.length) { + int[] is_94_ = anIntArrayArray5330[i_93_]; + for (int i_95_ = 0; i_95_ < is_94_.length; i_95_++) { + int i_96_ = is_94_[i_95_]; + int i_97_ = (aByteArray5325[i_96_] & 0xff) + i_44_ * 8; + if (i_97_ < 0) i_97_ = 0; + else if (i_97_ > 255) i_97_ = 255; + aByteArray5325[i_96_] = (byte) i_97_; + } + } + } + if (aClass6Array5361 != null) { + for (int i_98_ = 0; i_98_ < anInt5389; i_98_++) { + BuildInfo class6 = aClass6Array5361[i_98_]; + Component360 class350 = aClass350Array5363[i_98_]; + class350.anInt4313 = (class350.anInt4313 & 0xffffff | (255 - (aByteArray5325[class6.anInt144] & 0xff)) << 24); + } + } + } + } else if (i == 7) { + if (anIntArrayArray5330 != null) { + for (int i_99_ = 0; i_99_ < i_48_; i_99_++) { + int i_100_ = is[i_99_]; + if (i_100_ < anIntArrayArray5330.length) { + int[] is_101_ = anIntArrayArray5330[i_100_]; + for (int i_102_ = 0; i_102_ < is_101_.length; i_102_++) { + int i_103_ = is_101_[i_102_]; + int i_104_ = aShortArray5311[i_103_] & 0xffff; + int i_105_ = i_104_ >> 10 & 0x3f; + int i_106_ = i_104_ >> 7 & 0x7; + int i_107_ = i_104_ & 0x7f; + i_105_ = i_105_ + i_44_ & 0x3f; + i_106_ += i_45_; + if (i_106_ < 0) i_106_ = 0; + else if (i_106_ > 7) i_106_ = 7; + i_107_ += i_46_; + if (i_107_ < 0) i_107_ = 0; + else if (i_107_ > 127) i_107_ = 127; + aShortArray5311[i_103_] = (short) (i_105_ << 10 | i_106_ << 7 | i_107_); + } + aBoolean5380 = true; + } + } + if (aClass6Array5361 != null) { + for (int i_108_ = 0; i_108_ < anInt5389; i_108_++) { + BuildInfo class6 = aClass6Array5361[i_108_]; + Component360 class350 = aClass350Array5363[i_108_]; + class350.anInt4313 = (class350.anInt4313 & ~0xffffff | ((Component380.anIntArray4983[Component361.method303((aShortArray5311[(class6.anInt144)]) & 0xffff, 30) & 0xffff]) & 0xffffff)); + } + } + } + } else if (i == 8) { + if (anIntArrayArray5379 != null) { + for (int i_109_ = 0; i_109_ < i_48_; i_109_++) { + int i_110_ = is[i_109_]; + if (i_110_ < anIntArrayArray5379.length) { + int[] is_111_ = anIntArrayArray5379[i_110_]; + for (int i_112_ = 0; i_112_ < is_111_.length; i_112_++) { + Component360 class350 = aClass350Array5363[is_111_[i_112_]]; + class350.anInt4316 += i_44_; + class350.anInt4317 += i_45_; + } + } + } + } + } else if (i == 10) { + if (anIntArrayArray5379 != null) { + for (int i_113_ = 0; i_113_ < i_48_; i_113_++) { + int i_114_ = is[i_113_]; + if (i_114_ < anIntArrayArray5379.length) { + int[] is_115_ = anIntArrayArray5379[i_114_]; + for (int i_116_ = 0; i_116_ < is_115_.length; i_116_++) { + Component360 class350 = aClass350Array5363[is_115_[i_116_]]; + class350.anInt4314 = class350.anInt4314 * i_44_ >> 7; + class350.anInt4311 = class350.anInt4311 * i_45_ >> 7; + } + } + } + } + } else if (i == 9 && anIntArrayArray5379 != null) { + for (int i_117_ = 0; i_117_ < i_48_; i_117_++) { + int i_118_ = is[i_117_]; + if (i_118_ < anIntArrayArray5379.length) { + int[] is_119_ = anIntArrayArray5379[i_118_]; + for (int i_120_ = 0; i_120_ < is_119_.length; i_120_++) { + Component360 class350 = aClass350Array5363[is_119_[i_120_]]; + class350.anInt4308 = class350.anInt4308 + i_44_ & 0x3fff; + } + } + } + } + } + + final void FA(int i) { + if ((anInt5316 & 0x6) != 6) throw new IllegalStateException(); + int i_121_ = DisplayModeManagerContainer88.anIntArray1207[i]; + int i_122_ = DisplayModeManagerContainer88.anIntArray1204[i]; + synchronized (this) { + for (int i_123_ = 0; i_123_ < anInt5340; i_123_++) { + int i_124_ = ((anIntArray5332[i_123_] * i_122_ - anIntArray5312[i_123_] * i_121_) >> 14); + anIntArray5312[i_123_] = (anIntArray5332[i_123_] * i_121_ + anIntArray5312[i_123_] * i_122_) >> 14; + anIntArray5332[i_123_] = i_124_; + } + method631(); + } + } + + final void method622() { + if (aHa_Sub1_5353.anInt7485 > 1) { + synchronized (this) { + while (this.aBoolean1124) { + try { + this.wait(); + } catch (InterruptedException interruptedexception) { + /* empty */ + } + } + this.aBoolean1124 = true; + } + } + } + + final int G() { + if (!aBoolean5323) method655(); + return aShort5331; + } + + final void I(int i, int[] is, int i_125_, int i_126_, int i_127_, boolean bool, int i_128_, int[] is_129_) { + int i_130_ = is.length; + if (i == 0) { + i_125_ <<= 4; + i_126_ <<= 4; + i_127_ <<= 4; + if (!aBoolean5372) { + for (int i_131_ = 0; i_131_ < anInt5340; i_131_++) { + anIntArray5356[i_131_] <<= 4; + anIntArray5332[i_131_] <<= 4; + anIntArray5312[i_131_] <<= 4; + } + aBoolean5372 = true; + } + int i_132_ = 0; + anInt5338 = 0; + anInt5375 = 0; + anInt5342 = 0; + for (int i_133_ = 0; i_133_ < i_130_; i_133_++) { + int i_134_ = is[i_133_]; + if (i_134_ < anIntArrayArray5334.length) { + int[] is_135_ = anIntArrayArray5334[i_134_]; + for (int i_136_ = 0; i_136_ < is_135_.length; i_136_++) { + int i_137_ = is_135_[i_136_]; + if (aShortArray5333 == null || (i_128_ & aShortArray5333[i_137_]) != 0) { + anInt5338 += anIntArray5356[i_137_]; + anInt5375 += anIntArray5332[i_137_]; + anInt5342 += anIntArray5312[i_137_]; + i_132_++; + } + } + } + } + if (i_132_ > 0) { + anInt5338 = anInt5338 / i_132_ + i_125_; + anInt5375 = anInt5375 / i_132_ + i_126_; + anInt5342 = anInt5342 / i_132_ + i_127_; + aBoolean5369 = true; + } else { + anInt5338 = i_125_; + anInt5375 = i_126_; + anInt5342 = i_127_; + } + } else if (i == 1) { + if (is_129_ != null) { + int i_138_ = ((is_129_[0] * i_125_ + is_129_[1] * i_126_ + is_129_[2] * i_127_ + 8192) >> 14); + int i_139_ = ((is_129_[3] * i_125_ + is_129_[4] * i_126_ + is_129_[5] * i_127_ + 8192) >> 14); + int i_140_ = ((is_129_[6] * i_125_ + is_129_[7] * i_126_ + is_129_[8] * i_127_ + 8192) >> 14); + i_125_ = i_138_; + i_126_ = i_139_; + i_127_ = i_140_; + } + i_125_ <<= 4; + i_126_ <<= 4; + i_127_ <<= 4; + if (!aBoolean5372) { + for (int i_141_ = 0; i_141_ < anInt5340; i_141_++) { + anIntArray5356[i_141_] <<= 4; + anIntArray5332[i_141_] <<= 4; + anIntArray5312[i_141_] <<= 4; + } + aBoolean5372 = true; + } + for (int i_142_ = 0; i_142_ < i_130_; i_142_++) { + int i_143_ = is[i_142_]; + if (i_143_ < anIntArrayArray5334.length) { + int[] is_144_ = anIntArrayArray5334[i_143_]; + for (int i_145_ = 0; i_145_ < is_144_.length; i_145_++) { + int i_146_ = is_144_[i_145_]; + if (aShortArray5333 == null || (i_128_ & aShortArray5333[i_146_]) != 0) { + anIntArray5356[i_146_] += i_125_; + anIntArray5332[i_146_] += i_126_; + anIntArray5312[i_146_] += i_127_; + } + } + } + } + } else if (i == 2) { + if (is_129_ == null) { + for (int i_196_ = 0; i_196_ < i_130_; i_196_++) { + int i_197_ = is[i_196_]; + if (i_197_ < anIntArrayArray5334.length) { + int[] is_198_ = anIntArrayArray5334[i_197_]; + for (int i_199_ = 0; i_199_ < is_198_.length; i_199_++) { + int i_200_ = is_198_[i_199_]; + if (aShortArray5333 == null || (i_128_ & aShortArray5333[i_200_]) != 0) { + anIntArray5356[i_200_] -= anInt5338; + anIntArray5332[i_200_] -= anInt5375; + anIntArray5312[i_200_] -= anInt5342; + if (i_127_ != 0) { + int i_201_ = DisplayModeManagerContainer88.anIntArray1207[i_127_]; + int i_202_ = DisplayModeManagerContainer88.anIntArray1204[i_127_]; + int i_203_ = ((anIntArray5332[i_200_] * i_201_ + anIntArray5356[i_200_] * i_202_ + 16383) >> 14); + anIntArray5332[i_200_] = (anIntArray5332[i_200_] * i_202_ - anIntArray5356[i_200_] * i_201_ + 16383) >> 14; + anIntArray5356[i_200_] = i_203_; + } + if (i_125_ != 0) { + int i_204_ = DisplayModeManagerContainer88.anIntArray1207[i_125_]; + int i_205_ = DisplayModeManagerContainer88.anIntArray1204[i_125_]; + int i_206_ = ((anIntArray5332[i_200_] * i_205_ - anIntArray5312[i_200_] * i_204_ + 16383) >> 14); + anIntArray5312[i_200_] = (anIntArray5332[i_200_] * i_204_ + anIntArray5312[i_200_] * i_205_ + 16383) >> 14; + anIntArray5332[i_200_] = i_206_; + } + if (i_126_ != 0) { + int i_207_ = DisplayModeManagerContainer88.anIntArray1207[i_126_]; + int i_208_ = DisplayModeManagerContainer88.anIntArray1204[i_126_]; + int i_209_ = ((anIntArray5312[i_200_] * i_207_ + anIntArray5356[i_200_] * i_208_ + 16383) >> 14); + anIntArray5312[i_200_] = (anIntArray5312[i_200_] * i_208_ - anIntArray5356[i_200_] * i_207_ + 16383) >> 14; + anIntArray5356[i_200_] = i_209_; + } + anIntArray5356[i_200_] += anInt5338; + anIntArray5332[i_200_] += anInt5375; + anIntArray5312[i_200_] += anInt5342; + } + } + } + } + } else { + if (!aBoolean5372) { + for (int i_147_ = 0; i_147_ < anInt5340; i_147_++) { + anIntArray5356[i_147_] <<= 4; + anIntArray5332[i_147_] <<= 4; + anIntArray5312[i_147_] <<= 4; + } + aBoolean5372 = true; + } + int i_148_ = is_129_[9] << 4; + int i_149_ = is_129_[10] << 4; + int i_150_ = is_129_[11] << 4; + int i_151_ = is_129_[12] << 4; + int i_152_ = is_129_[13] << 4; + int i_153_ = is_129_[14] << 4; + if (aBoolean5369) { + int i_154_ = ((is_129_[0] * anInt5338 + is_129_[3] * anInt5375 + is_129_[6] * anInt5342 + 8192) >> 14); + int i_155_ = ((is_129_[1] * anInt5338 + is_129_[4] * anInt5375 + is_129_[7] * anInt5342 + 8192) >> 14); + int i_156_ = ((is_129_[2] * anInt5338 + is_129_[5] * anInt5375 + is_129_[8] * anInt5342 + 8192) >> 14); + i_154_ += i_151_; + i_155_ += i_152_; + i_156_ += i_153_; + anInt5338 = i_154_; + anInt5375 = i_155_; + anInt5342 = i_156_; + aBoolean5369 = false; + } + int[] is_157_ = new int[9]; + int i_158_ = DisplayModeManagerContainer88.anIntArray1204[i_125_]; + int i_159_ = DisplayModeManagerContainer88.anIntArray1207[i_125_]; + int i_160_ = DisplayModeManagerContainer88.anIntArray1204[i_126_]; + int i_161_ = DisplayModeManagerContainer88.anIntArray1207[i_126_]; + int i_162_ = DisplayModeManagerContainer88.anIntArray1204[i_127_]; + int i_163_ = DisplayModeManagerContainer88.anIntArray1207[i_127_]; + int i_164_ = i_159_ * i_162_ + 8192 >> 14; + int i_165_ = i_159_ * i_163_ + 8192 >> 14; + is_157_[0] = i_160_ * i_162_ + i_161_ * i_165_ + 8192 >> 14; + is_157_[1] = -i_160_ * i_163_ + i_161_ * i_164_ + 8192 >> 14; + is_157_[2] = i_161_ * i_158_ + 8192 >> 14; + is_157_[3] = i_158_ * i_163_ + 8192 >> 14; + is_157_[4] = i_158_ * i_162_ + 8192 >> 14; + is_157_[5] = -i_159_; + is_157_[6] = -i_161_ * i_162_ + i_160_ * i_165_ + 8192 >> 14; + is_157_[7] = i_161_ * i_163_ + i_160_ * i_164_ + 8192 >> 14; + is_157_[8] = i_160_ * i_158_ + 8192 >> 14; + int i_166_ = (is_157_[0] * -anInt5338 + is_157_[1] * -anInt5375 + is_157_[2] * -anInt5342 + 8192) >> 14; + int i_167_ = (is_157_[3] * -anInt5338 + is_157_[4] * -anInt5375 + is_157_[5] * -anInt5342 + 8192) >> 14; + int i_168_ = (is_157_[6] * -anInt5338 + is_157_[7] * -anInt5375 + is_157_[8] * -anInt5342 + 8192) >> 14; + int i_169_ = i_166_ + anInt5338; + int i_170_ = i_167_ + anInt5375; + int i_171_ = i_168_ + anInt5342; + int[] is_172_ = new int[9]; + for (int i_173_ = 0; i_173_ < 3; i_173_++) { + for (int i_174_ = 0; i_174_ < 3; i_174_++) { + int i_175_ = 0; + for (int i_176_ = 0; i_176_ < 3; i_176_++) + i_175_ += (is_157_[i_173_ * 3 + i_176_] * is_129_[i_174_ * 3 + i_176_]); + is_172_[i_173_ * 3 + i_174_] = i_175_ + 8192 >> 14; + } + } + int i_177_ = ((is_157_[0] * i_151_ + is_157_[1] * i_152_ + is_157_[2] * i_153_ + 8192) >> 14); + int i_178_ = ((is_157_[3] * i_151_ + is_157_[4] * i_152_ + is_157_[5] * i_153_ + 8192) >> 14); + int i_179_ = ((is_157_[6] * i_151_ + is_157_[7] * i_152_ + is_157_[8] * i_153_ + 8192) >> 14); + i_177_ += i_169_; + i_178_ += i_170_; + i_179_ += i_171_; + int[] is_180_ = new int[9]; + for (int i_181_ = 0; i_181_ < 3; i_181_++) { + for (int i_182_ = 0; i_182_ < 3; i_182_++) { + int i_183_ = 0; + for (int i_184_ = 0; i_184_ < 3; i_184_++) + i_183_ += (is_129_[i_181_ * 3 + i_184_] * is_172_[i_182_ + i_184_ * 3]); + is_180_[i_181_ * 3 + i_182_] = i_183_ + 8192 >> 14; + } + } + int i_185_ = ((is_129_[0] * i_177_ + is_129_[1] * i_178_ + is_129_[2] * i_179_ + 8192) >> 14); + int i_186_ = ((is_129_[3] * i_177_ + is_129_[4] * i_178_ + is_129_[5] * i_179_ + 8192) >> 14); + int i_187_ = ((is_129_[6] * i_177_ + is_129_[7] * i_178_ + is_129_[8] * i_179_ + 8192) >> 14); + i_185_ += i_148_; + i_186_ += i_149_; + i_187_ += i_150_; + for (int i_188_ = 0; i_188_ < i_130_; i_188_++) { + int i_189_ = is[i_188_]; + if (i_189_ < anIntArrayArray5334.length) { + int[] is_190_ = anIntArrayArray5334[i_189_]; + for (int i_191_ = 0; i_191_ < is_190_.length; i_191_++) { + int i_192_ = is_190_[i_191_]; + if (aShortArray5333 == null || (i_128_ & aShortArray5333[i_192_]) != 0) { + int i_193_ = ((is_180_[0] * anIntArray5356[i_192_] + is_180_[1] * anIntArray5332[i_192_] + is_180_[2] * anIntArray5312[i_192_] + 8192) >> 14); + int i_194_ = ((is_180_[3] * anIntArray5356[i_192_] + is_180_[4] * anIntArray5332[i_192_] + is_180_[5] * anIntArray5312[i_192_] + 8192) >> 14); + int i_195_ = ((is_180_[6] * anIntArray5356[i_192_] + is_180_[7] * anIntArray5332[i_192_] + is_180_[8] * anIntArray5312[i_192_] + 8192) >> 14); + i_193_ += i_185_; + i_194_ += i_186_; + i_195_ += i_187_; + anIntArray5356[i_192_] = i_193_; + anIntArray5332[i_192_] = i_194_; + anIntArray5312[i_192_] = i_195_; + } + } + } + } + } + } else if (i == 3) { + if (is_129_ == null) { + for (int i_249_ = 0; i_249_ < i_130_; i_249_++) { + int i_250_ = is[i_249_]; + if (i_250_ < anIntArrayArray5334.length) { + int[] is_251_ = anIntArrayArray5334[i_250_]; + for (int i_252_ = 0; i_252_ < is_251_.length; i_252_++) { + int i_253_ = is_251_[i_252_]; + if (aShortArray5333 == null || (i_128_ & aShortArray5333[i_253_]) != 0) { + anIntArray5356[i_253_] -= anInt5338; + anIntArray5332[i_253_] -= anInt5375; + anIntArray5312[i_253_] -= anInt5342; + anIntArray5356[i_253_] = anIntArray5356[i_253_] * i_125_ / 128; + anIntArray5332[i_253_] = anIntArray5332[i_253_] * i_126_ / 128; + anIntArray5312[i_253_] = anIntArray5312[i_253_] * i_127_ / 128; + anIntArray5356[i_253_] += anInt5338; + anIntArray5332[i_253_] += anInt5375; + anIntArray5312[i_253_] += anInt5342; + } + } + } + } + } else { + if (!aBoolean5372) { + for (int i_210_ = 0; i_210_ < anInt5340; i_210_++) { + anIntArray5356[i_210_] <<= 4; + anIntArray5332[i_210_] <<= 4; + anIntArray5312[i_210_] <<= 4; + } + aBoolean5372 = true; + } + int i_211_ = is_129_[9] << 4; + int i_212_ = is_129_[10] << 4; + int i_213_ = is_129_[11] << 4; + int i_214_ = is_129_[12] << 4; + int i_215_ = is_129_[13] << 4; + int i_216_ = is_129_[14] << 4; + if (aBoolean5369) { + int i_217_ = ((is_129_[0] * anInt5338 + is_129_[3] * anInt5375 + is_129_[6] * anInt5342 + 8192) >> 14); + int i_218_ = ((is_129_[1] * anInt5338 + is_129_[4] * anInt5375 + is_129_[7] * anInt5342 + 8192) >> 14); + int i_219_ = ((is_129_[2] * anInt5338 + is_129_[5] * anInt5375 + is_129_[8] * anInt5342 + 8192) >> 14); + i_217_ += i_214_; + i_218_ += i_215_; + i_219_ += i_216_; + anInt5338 = i_217_; + anInt5375 = i_218_; + anInt5342 = i_219_; + aBoolean5369 = false; + } + int i_220_ = i_125_ << 15 >> 7; + int i_221_ = i_126_ << 15 >> 7; + int i_222_ = i_127_ << 15 >> 7; + int i_223_ = i_220_ * -anInt5338 + 8192 >> 14; + int i_224_ = i_221_ * -anInt5375 + 8192 >> 14; + int i_225_ = i_222_ * -anInt5342 + 8192 >> 14; + int i_226_ = i_223_ + anInt5338; + int i_227_ = i_224_ + anInt5375; + int i_228_ = i_225_ + anInt5342; + int[] is_229_ = new int[9]; + is_229_[0] = i_220_ * is_129_[0] + 8192 >> 14; + is_229_[1] = i_220_ * is_129_[3] + 8192 >> 14; + is_229_[2] = i_220_ * is_129_[6] + 8192 >> 14; + is_229_[3] = i_221_ * is_129_[1] + 8192 >> 14; + is_229_[4] = i_221_ * is_129_[4] + 8192 >> 14; + is_229_[5] = i_221_ * is_129_[7] + 8192 >> 14; + is_229_[6] = i_222_ * is_129_[2] + 8192 >> 14; + is_229_[7] = i_222_ * is_129_[5] + 8192 >> 14; + is_229_[8] = i_222_ * is_129_[8] + 8192 >> 14; + int i_230_ = i_220_ * i_214_ + 8192 >> 14; + int i_231_ = i_221_ * i_215_ + 8192 >> 14; + int i_232_ = i_222_ * i_216_ + 8192 >> 14; + i_230_ += i_226_; + i_231_ += i_227_; + i_232_ += i_228_; + int[] is_233_ = new int[9]; + for (int i_234_ = 0; i_234_ < 3; i_234_++) { + for (int i_235_ = 0; i_235_ < 3; i_235_++) { + int i_236_ = 0; + for (int i_237_ = 0; i_237_ < 3; i_237_++) + i_236_ += (is_129_[i_234_ * 3 + i_237_] * is_229_[i_235_ + i_237_ * 3]); + is_233_[i_234_ * 3 + i_235_] = i_236_ + 8192 >> 14; + } + } + int i_238_ = ((is_129_[0] * i_230_ + is_129_[1] * i_231_ + is_129_[2] * i_232_ + 8192) >> 14); + int i_239_ = ((is_129_[3] * i_230_ + is_129_[4] * i_231_ + is_129_[5] * i_232_ + 8192) >> 14); + int i_240_ = ((is_129_[6] * i_230_ + is_129_[7] * i_231_ + is_129_[8] * i_232_ + 8192) >> 14); + i_238_ += i_211_; + i_239_ += i_212_; + i_240_ += i_213_; + for (int i_241_ = 0; i_241_ < i_130_; i_241_++) { + int i_242_ = is[i_241_]; + if (i_242_ < anIntArrayArray5334.length) { + int[] is_243_ = anIntArrayArray5334[i_242_]; + for (int i_244_ = 0; i_244_ < is_243_.length; i_244_++) { + int i_245_ = is_243_[i_244_]; + if (aShortArray5333 == null || (i_128_ & aShortArray5333[i_245_]) != 0) { + int i_246_ = ((is_233_[0] * anIntArray5356[i_245_] + is_233_[1] * anIntArray5332[i_245_] + is_233_[2] * anIntArray5312[i_245_] + 8192) >> 14); + int i_247_ = ((is_233_[3] * anIntArray5356[i_245_] + is_233_[4] * anIntArray5332[i_245_] + is_233_[5] * anIntArray5312[i_245_] + 8192) >> 14); + int i_248_ = ((is_233_[6] * anIntArray5356[i_245_] + is_233_[7] * anIntArray5332[i_245_] + is_233_[8] * anIntArray5312[i_245_] + 8192) >> 14); + i_246_ += i_238_; + i_247_ += i_239_; + i_248_ += i_240_; + anIntArray5356[i_245_] = i_246_; + anIntArray5332[i_245_] = i_247_; + anIntArray5312[i_245_] = i_248_; + } + } + } + } + } + } else if (i == 5) { + if (anIntArrayArray5330 != null && aByteArray5325 != null) { + for (int i_254_ = 0; i_254_ < i_130_; i_254_++) { + int i_255_ = is[i_254_]; + if (i_255_ < anIntArrayArray5330.length) { + int[] is_256_ = anIntArrayArray5330[i_255_]; + for (int i_257_ = 0; i_257_ < is_256_.length; i_257_++) { + int i_258_ = is_256_[i_257_]; + if (aShortArray5370 == null || (i_128_ & aShortArray5370[i_258_]) != 0) { + int i_259_ = ((aByteArray5325[i_258_] & 0xff) + i_125_ * 8); + if (i_259_ < 0) i_259_ = 0; + else if (i_259_ > 255) i_259_ = 255; + aByteArray5325[i_258_] = (byte) i_259_; + } + } + } + } + if (aClass6Array5361 != null) { + for (int i_260_ = 0; i_260_ < anInt5389; i_260_++) { + BuildInfo class6 = aClass6Array5361[i_260_]; + Component360 class350 = aClass350Array5363[i_260_]; + class350.anInt4313 = (class350.anInt4313 & 0xffffff | (255 - (aByteArray5325[class6.anInt144] & 0xff)) << 24); + } + } + } + } else if (i == 7) { + if (anIntArrayArray5330 != null) { + for (int i_261_ = 0; i_261_ < i_130_; i_261_++) { + int i_262_ = is[i_261_]; + if (i_262_ < anIntArrayArray5330.length) { + int[] is_263_ = anIntArrayArray5330[i_262_]; + for (int i_264_ = 0; i_264_ < is_263_.length; i_264_++) { + int i_265_ = is_263_[i_264_]; + if (aShortArray5370 == null || (i_128_ & aShortArray5370[i_265_]) != 0) { + int i_266_ = aShortArray5311[i_265_] & 0xffff; + int i_267_ = i_266_ >> 10 & 0x3f; + int i_268_ = i_266_ >> 7 & 0x7; + int i_269_ = i_266_ & 0x7f; + i_267_ = i_267_ + i_125_ & 0x3f; + i_268_ += i_126_; + if (i_268_ < 0) i_268_ = 0; + else if (i_268_ > 7) i_268_ = 7; + i_269_ += i_127_; + if (i_269_ < 0) i_269_ = 0; + else if (i_269_ > 127) i_269_ = 127; + aShortArray5311[i_265_] = (short) (i_267_ << 10 | i_268_ << 7 | i_269_); + } + } + aBoolean5380 = true; + } + } + if (aClass6Array5361 != null) { + for (int i_270_ = 0; i_270_ < anInt5389; i_270_++) { + BuildInfo class6 = aClass6Array5361[i_270_]; + Component360 class350 = aClass350Array5363[i_270_]; + class350.anInt4313 = (class350.anInt4313 & ~0xffffff | ((Component380.anIntArray4983[Component361.method303((aShortArray5311[(class6.anInt144)]) & 0xffff, 30) & 0xffff]) & 0xffffff)); + } + } + } + } else if (i == 8) { + if (anIntArrayArray5379 != null) { + for (int i_271_ = 0; i_271_ < i_130_; i_271_++) { + int i_272_ = is[i_271_]; + if (i_272_ < anIntArrayArray5379.length) { + int[] is_273_ = anIntArrayArray5379[i_272_]; + for (int i_274_ = 0; i_274_ < is_273_.length; i_274_++) { + Component360 class350 = aClass350Array5363[is_273_[i_274_]]; + class350.anInt4316 += i_125_; + class350.anInt4317 += i_126_; + } + } + } + } + } else if (i == 10) { + if (anIntArrayArray5379 != null) { + for (int i_275_ = 0; i_275_ < i_130_; i_275_++) { + int i_276_ = is[i_275_]; + if (i_276_ < anIntArrayArray5379.length) { + int[] is_277_ = anIntArrayArray5379[i_276_]; + for (int i_278_ = 0; i_278_ < is_277_.length; i_278_++) { + Component360 class350 = aClass350Array5363[is_277_[i_278_]]; + class350.anInt4314 = (class350.anInt4314 * i_125_ >> 7); + class350.anInt4311 = (class350.anInt4311 * i_126_ >> 7); + } + } + } + } + } else if (i == 9 && anIntArrayArray5379 != null) { + for (int i_279_ = 0; i_279_ < i_130_; i_279_++) { + int i_280_ = is[i_279_]; + if (i_280_ < anIntArrayArray5379.length) { + int[] is_281_ = anIntArrayArray5379[i_280_]; + for (int i_282_ = 0; i_282_ < is_281_.length; i_282_++) { + Component360 class350 = aClass350Array5363[is_281_[i_282_]]; + class350.anInt4308 = (class350.anInt4308 + i_125_ & 0x3fff); + } + } + } + } + } + + private final void method636() { + if (anInt5354 == 0 && aClass360Array5360 == null) { + if (aHa_Sub1_5353.anInt7485 > 1) { + synchronized (this) { + method649(); + } + } else method649(); + } + } + + final void Interface4Impl() { + if (aBoolean5372) { + for (int i = 0; i < anInt5340; i++) { + anIntArray5356[i] = anIntArray5356[i] + 7 >> 4; + anIntArray5332[i] = anIntArray5332[i] + 7 >> 4; + anIntArray5312[i] = anIntArray5312[i] + 7 >> 4; + } + aBoolean5372 = false; + } + if (aBoolean5380) { + method647(); + aBoolean5380 = false; + } + aBoolean5323 = false; + } + + final int fa() { + if (!aBoolean5323) method655(); + return aShort5329; + } + + private final int method637(int i, int i_283_) { + i_283_ = i_283_ * (i & 0x7f) >> 7; + if (i_283_ < 2) i_283_ = 2; + else if (i_283_ > 126) i_283_ = 126; + return (i & 0xff80) + i_283_; + } + + private final boolean method638(int i) { + if (anIntArray5400 == null) return false; + return anIntArray5400[i] != -1; + } + + final int da() { + return anInt5349; + } + + private final void method639() { + synchronized (this) { + for (int i = 0; i < anInt5340; i++) { + int i_284_ = anIntArray5312[i]; + anIntArray5312[i] = anIntArray5356[i]; + anIntArray5356[i] = -i_284_; + } + method631(); + } + } + + final boolean method618() { + if (aShortArray5388 == null) return true; + for (int i = 0; i < aShortArray5388.length; i++) { + if (aShortArray5388[i] != -1 && !aHa_Sub1_5353.method3725(aShortArray5388[i])) return false; + } + return true; + } + + final void method620(DisplayModeManagerContainer204 class101) { + MatrixSub1 class101_sub1 = (MatrixSub1) class101; + if (aClass129Array5322 != null) { + for (int i = 0; i < aClass129Array5322.length; i++) { + Component30 class129 = aClass129Array5322[i]; + Component30 class129_285_ = class129; + if (class129.aClass129_1888 != null) class129_285_ = class129.aClass129_1888; + class129_285_.anInt1882 = (int) (class101_sub1.aFloat5686 + ((class101_sub1.aFloat5672 * (float) (anIntArray5356[class129.anInt1881])) + (class101_sub1.aFloat5673 * (float) (anIntArray5332[(class129.anInt1881)])) + (class101_sub1.aFloat5669 * (float) (anIntArray5312[(class129.anInt1881)])))); + class129_285_.anInt1891 = (int) (class101_sub1.aFloat5685 + ((class101_sub1.aFloat5655 * (float) (anIntArray5356[class129.anInt1881])) + (class101_sub1.aFloat5678 * (float) (anIntArray5332[(class129.anInt1881)])) + (class101_sub1.aFloat5666 * (float) (anIntArray5312[(class129.anInt1881)])))); + class129_285_.anInt1889 = (int) (class101_sub1.aFloat5681 + ((class101_sub1.aFloat5662 * (float) (anIntArray5356[class129.anInt1881])) + (class101_sub1.aFloat5680 * (float) (anIntArray5332[(class129.anInt1881)])) + (class101_sub1.aFloat5664 * (float) (anIntArray5312[(class129.anInt1881)])))); + class129_285_.anInt1883 = (int) (class101_sub1.aFloat5686 + ((class101_sub1.aFloat5672 * (float) (anIntArray5356[class129.anInt1877])) + (class101_sub1.aFloat5673 * (float) (anIntArray5332[(class129.anInt1877)])) + (class101_sub1.aFloat5669 * (float) (anIntArray5312[(class129.anInt1877)])))); + class129_285_.anInt1890 = (int) (class101_sub1.aFloat5685 + ((class101_sub1.aFloat5655 * (float) (anIntArray5356[class129.anInt1877])) + (class101_sub1.aFloat5678 * (float) (anIntArray5332[(class129.anInt1877)])) + (class101_sub1.aFloat5666 * (float) (anIntArray5312[(class129.anInt1877)])))); + class129_285_.anInt1880 = (int) (class101_sub1.aFloat5681 + ((class101_sub1.aFloat5662 * (float) (anIntArray5356[class129.anInt1877])) + (class101_sub1.aFloat5680 * (float) (anIntArray5332[(class129.anInt1877)])) + (class101_sub1.aFloat5664 * (float) (anIntArray5312[(class129.anInt1877)])))); + class129_285_.anInt1876 = (int) (class101_sub1.aFloat5686 + ((class101_sub1.aFloat5672 * (float) (anIntArray5356[class129.anInt1892])) + (class101_sub1.aFloat5673 * (float) (anIntArray5332[(class129.anInt1892)])) + (class101_sub1.aFloat5669 * (float) (anIntArray5312[(class129.anInt1892)])))); + class129_285_.anInt1874 = (int) (class101_sub1.aFloat5685 + ((class101_sub1.aFloat5655 * (float) (anIntArray5356[class129.anInt1892])) + (class101_sub1.aFloat5678 * (float) (anIntArray5332[(class129.anInt1892)])) + (class101_sub1.aFloat5666 * (float) (anIntArray5312[(class129.anInt1892)])))); + class129_285_.anInt1884 = (int) (class101_sub1.aFloat5681 + ((class101_sub1.aFloat5662 * (float) (anIntArray5356[class129.anInt1892])) + (class101_sub1.aFloat5680 * (float) (anIntArray5332[(class129.anInt1892)])) + (class101_sub1.aFloat5664 * (float) (anIntArray5312[(class129.anInt1892)])))); + } + } + if (aClass342Array5335 != null) { + for (int i = 0; i < aClass342Array5335.length; i++) { + DisplayModeManagerContainer173 class342 = aClass342Array5335[i]; + DisplayModeManagerContainer173 class342_286_ = class342; + if (class342.aClass342_4248 != null) class342_286_ = class342.aClass342_4248; + if (class342.aClass101_4252 != null) class342.aClass101_4252.method898(class101_sub1); + else class342.aClass101_4252 = class101_sub1.method907(); + class342_286_.anInt4238 = (int) (class101_sub1.aFloat5686 + ((class101_sub1.aFloat5672 * (float) (anIntArray5356[class342.anInt4244])) + (class101_sub1.aFloat5673 * (float) (anIntArray5332[(class342.anInt4244)])) + (class101_sub1.aFloat5669 * (float) (anIntArray5312[(class342.anInt4244)])))); + class342_286_.anInt4239 = (int) (class101_sub1.aFloat5685 + ((class101_sub1.aFloat5655 * (float) (anIntArray5356[class342.anInt4244])) + (class101_sub1.aFloat5678 * (float) (anIntArray5332[(class342.anInt4244)])) + (class101_sub1.aFloat5666 * (float) (anIntArray5312[(class342.anInt4244)])))); + class342_286_.anInt4240 = (int) (class101_sub1.aFloat5681 + ((class101_sub1.aFloat5662 * (float) (anIntArray5356[class342.anInt4244])) + (class101_sub1.aFloat5680 * (float) (anIntArray5332[(class342.anInt4244)])) + (class101_sub1.aFloat5664 * (float) (anIntArray5312[(class342.anInt4244)])))); + } + } + } + + private final void method640() { + for (int i = 0; i < anInt5351; i++) { + short i_287_ = aShortArray5388 != null ? aShortArray5388[i] : (short) -1; + if (i_287_ == -1) { + int i_288_ = aShortArray5311[i] & 0xffff; + int i_289_ = (i_288_ & 0x7f) * anInt5344 >> 7; + short i_290_ = Component361.method303(i_288_ & ~0x7f | i_289_, 30); + if (anIntArray5366[i] == -1) { + int i_291_ = anIntArray5368[i] & ~0x1ffff; + anIntArray5368[i] = i_291_ | ReferenceTable.clampHslLightness(0, i_291_ >> 17, i_290_); + } else if (anIntArray5366[i] != -2) { + int i_292_ = anIntArray5368[i] & ~0x1ffff; + anIntArray5368[i] = i_292_ | ReferenceTable.clampHslLightness(0, i_292_ >> 17, i_290_); + i_292_ = anIntArray5337[i] & ~0x1ffff; + anIntArray5337[i] = i_292_ | ReferenceTable.clampHslLightness(0, i_292_ >> 17, i_290_); + i_292_ = anIntArray5366[i] & ~0x1ffff; + anIntArray5366[i] = i_292_ | ReferenceTable.clampHslLightness(0, i_292_ >> 17, i_290_); + } + } + } + anInt5354 = 2; + } + + final void k(int i) { + if ((anInt5316 & 0xd) != 13) throw new IllegalStateException(); + if (aClass360Array5360 != null) { + if (i == 4096) method653(); + else if (i == 8192) method652(); + else if (i == 12288) method641(); + else { + int i_293_ = DisplayModeManagerContainer88.anIntArray1207[i]; + int i_294_ = DisplayModeManagerContainer88.anIntArray1204[i]; + synchronized (this) { + for (int i_295_ = 0; i_295_ < anInt5387; i_295_++) { + int i_296_ = ((anIntArray5312[i_295_] * i_293_ + anIntArray5356[i_295_] * i_294_) >> 14); + anIntArray5312[i_295_] = (anIntArray5312[i_295_] * i_294_ - anIntArray5356[i_295_] * i_293_) >> 14; + anIntArray5356[i_295_] = i_296_; + if (aClass360Array5360[i_295_] != null) { + i_296_ = ((aClass360Array5360[i_295_].anInt4427) * i_293_ + (aClass360Array5360[i_295_].anInt4430) * i_294_) >> 14; + aClass360Array5360[i_295_].anInt4427 = ((aClass360Array5360[i_295_].anInt4427) * i_294_ - (aClass360Array5360[i_295_].anInt4430) * i_293_) >> 14; + aClass360Array5360[i_295_].anInt4430 = i_296_; + } + } + if (aClass41Array5385 != null) { + for (int i_297_ = 0; i_297_ < anInt5351; i_297_++) { + if (aClass41Array5385[i_297_] != null) { + int i_298_ = ((aClass41Array5385[i_297_].anInt559) * i_293_ + (aClass41Array5385[i_297_].anInt561) * i_294_) >> 14; + aClass41Array5385[i_297_].anInt559 = ((aClass41Array5385[i_297_].anInt559) * i_294_ - (aClass41Array5385[i_297_].anInt561) * i_293_) >> 14; + aClass41Array5385[i_297_].anInt561 = i_298_; + } + } + } + for (int i_299_ = anInt5387; i_299_ < anInt5340; i_299_++) { + int i_300_ = ((anIntArray5312[i_299_] * i_293_ + anIntArray5356[i_299_] * i_294_) >> 14); + anIntArray5312[i_299_] = (anIntArray5312[i_299_] * i_294_ - anIntArray5356[i_299_] * i_293_) >> 14; + anIntArray5356[i_299_] = i_300_; + } + anInt5354 = 0; + aBoolean5323 = false; + } + } + } else a(i); + } + + final void method610(DisplayModeManagerContainer204 class101, int i, boolean bool) { + if (aShortArray5333 != null) { + int[] is = new int[3]; + for (int i_301_ = 0; i_301_ < anInt5387; i_301_++) { + if ((i & aShortArray5333[i_301_]) != 0) { + if (bool) class101.method892(anIntArray5356[i_301_], anIntArray5332[i_301_], anIntArray5312[i_301_], is); + else class101.method897(anIntArray5356[i_301_], anIntArray5332[i_301_], anIntArray5312[i_301_], is); + anIntArray5356[i_301_] = is[0]; + anIntArray5332[i_301_] = is[1]; + anIntArray5312[i_301_] = is[2]; + } + } + } + } + + final void method612() { + /* empty */ + } + + private final void method641() { + synchronized (this) { + for (int i = 0; i < anInt5387; i++) { + int i_302_ = anIntArray5312[i]; + anIntArray5312[i] = anIntArray5356[i]; + anIntArray5356[i] = -i_302_; + if (aClass360Array5360[i] != null) { + i_302_ = aClass360Array5360[i].anInt4427; + aClass360Array5360[i].anInt4427 = aClass360Array5360[i].anInt4430; + aClass360Array5360[i].anInt4430 = -i_302_; + } + } + if (aClass41Array5385 != null) { + for (int i = 0; i < anInt5351; i++) { + if (aClass41Array5385[i] != null) { + int i_303_ = aClass41Array5385[i].anInt559; + aClass41Array5385[i].anInt559 = aClass41Array5385[i].anInt561; + aClass41Array5385[i].anInt561 = -i_303_; + } + } + } + for (int i = anInt5387; i < anInt5340; i++) { + int i_304_ = anIntArray5312[i]; + anIntArray5312[i] = anIntArray5356[i]; + anIntArray5356[i] = -i_304_; + } + anInt5354 = 0; + aBoolean5323 = false; + } + } + + private final int method642(int i, short i_305_, int i_306_) { + int i_307_ = RunescapeInfo.anIntArray179[method637(i, i_306_)]; + Component319 class12 = aHa_Sub1_5353.aD4579.method3(i_305_ & 0xffff, -6662); + int i_308_ = class12.aByte201 & 0xff; + if (i_308_ != 0) { + int i_309_ = 131586 * i_306_; + if (i_308_ == 256) i_307_ = i_309_; + else { + int i_310_ = i_308_; + int i_311_ = 256 - i_308_; + i_307_ = ((((i_309_ & 0xff00ff) * i_310_ + (i_307_ & 0xff00ff) * i_311_) & ~0xff00ff) + (((i_309_ & 0xff00) * i_310_ + (i_307_ & 0xff00) * i_311_) & 0xff0000)) >> 8; + } + } + int i_312_ = class12.aByte216 & 0xff; + if (i_312_ != 0) { + i_312_ += 256; + int i_313_ = ((i_307_ & 0xff0000) >> 16) * i_312_; + if (i_313_ > 65535) i_313_ = 65535; + int i_314_ = ((i_307_ & 0xff00) >> 8) * i_312_; + if (i_314_ > 65535) i_314_ = 65535; + int i_315_ = (i_307_ & 0xff) * i_312_; + if (i_315_ > 65535) i_315_ = 65535; + i_307_ = (i_313_ << 8 & 0xff0000) + (i_314_ & 0xff00) + (i_315_ >> 8); + } + return i_307_; + } + + final void method608(DisplayModeManagerContainer204 class101, RenderableSub3 class318_sub3, int i, int i_316_) { + method654(class101, class318_sub3, i, i_316_); + } + + final boolean NA() { + if (anIntArrayArray5334 == null) return false; + anInt5338 = 0; + anInt5375 = 0; + anInt5342 = 0; + return true; + } + + private final void method643(int i, boolean bool, boolean bool_317_) { + if (anIntArray5366[i] != -2) { + short i_318_ = aShortArray5317[i]; + short i_319_ = aShortArray5394[i]; + short i_320_ = aShortArray5364[i]; + int i_321_ = anIntArray5321[i_318_]; + int i_322_ = anIntArray5321[i_319_]; + int i_323_ = anIntArray5321[i_320_]; + if (bool && (i_321_ == -5000 || i_322_ == -5000 || i_323_ == -5000)) { + int i_324_ = anIntArray5399[i_318_]; + int i_325_ = anIntArray5399[i_319_]; + int i_326_ = anIntArray5399[i_320_]; + int i_327_ = anIntArray5384[i_318_]; + int i_328_ = anIntArray5384[i_319_]; + int i_329_ = anIntArray5384[i_320_]; + int i_330_ = anIntArray5392[i_318_]; + int i_331_ = anIntArray5392[i_319_]; + int i_332_ = anIntArray5392[i_320_]; + i_324_ -= i_325_; + i_326_ -= i_325_; + i_327_ -= i_328_; + i_329_ -= i_328_; + i_330_ -= i_331_; + i_332_ -= i_331_; + int i_333_ = i_327_ * i_332_ - i_330_ * i_329_; + int i_334_ = i_330_ * i_326_ - i_324_ * i_332_; + int i_335_ = i_324_ * i_329_ - i_327_ * i_326_; + if (i_325_ * i_333_ + i_328_ * i_334_ + i_331_ * i_335_ > 0) method646(i); + } else if (anIntArray5400[i] != -1 || ((i_321_ - i_322_) * (anIntArray5343[i_320_] - anIntArray5343[i_319_]) - ((anIntArray5343[i_318_] - anIntArray5343[i_319_]) * (i_323_ - i_322_))) > 0) { + aClass109_5383.aBoolean1671 = i_321_ < 0 || i_322_ < 0 || i_323_ < 0 || i_321_ > aClass167_5367.anInt2221 || i_322_ > aClass167_5367.anInt2221 || i_323_ > aClass167_5367.anInt2221; + if (bool_317_) { + int i_336_ = anIntArray5400[i]; + if (i_336_ == -1 || !aClass6Array5361[i_336_].aBoolean145) method658(i); + } else { + int i_337_ = anIntArray5400[i]; + if (i_337_ != -1) { + BuildInfo class6 = aClass6Array5361[i_337_]; + Component360 class350 = aClass350Array5363[i_337_]; + if (!class6.aBoolean145) method635(i); + aHa_Sub1_5353.method3720(class350.anInt4312, class350.anInt4310, class350.anInt4320, class350.anInt4309, class350.anInt4307, class350.anInt4308, class6.aShort146 & 0xffff, class350.anInt4313, class6.aByte148, class6.aByte156); + } else method635(i); + } + } + } + } + + final boolean F() { + return aBoolean5382; + } + + final void P(int i, int i_338_, int i_339_, int i_340_) { + if (i == 0) { + int i_341_ = 0; + anInt5338 = 0; + anInt5375 = 0; + anInt5342 = 0; + for (int i_342_ = 0; i_342_ < anInt5340; i_342_++) { + anInt5338 += anIntArray5356[i_342_]; + anInt5375 += anIntArray5332[i_342_]; + anInt5342 += anIntArray5312[i_342_]; + i_341_++; + } + if (i_341_ > 0) { + anInt5338 = anInt5338 / i_341_ + i_338_; + anInt5375 = anInt5375 / i_341_ + i_339_; + anInt5342 = anInt5342 / i_341_ + i_340_; + } else { + anInt5338 = i_338_; + anInt5375 = i_339_; + anInt5342 = i_340_; + } + } else if (i == 1) { + for (int i_343_ = 0; i_343_ < anInt5340; i_343_++) { + anIntArray5356[i_343_] += i_338_; + anIntArray5332[i_343_] += i_339_; + anIntArray5312[i_343_] += i_340_; + } + } else if (i == 2) { + for (int i_344_ = 0; i_344_ < anInt5340; i_344_++) { + anIntArray5356[i_344_] -= anInt5338; + anIntArray5332[i_344_] -= anInt5375; + anIntArray5312[i_344_] -= anInt5342; + if (i_340_ != 0) { + int i_345_ = DisplayModeManagerContainer88.anIntArray1207[i_340_]; + int i_346_ = DisplayModeManagerContainer88.anIntArray1204[i_340_]; + int i_347_ = ((anIntArray5332[i_344_] * i_345_ + anIntArray5356[i_344_] * i_346_ + 16383) >> 14); + anIntArray5332[i_344_] = (anIntArray5332[i_344_] * i_346_ - anIntArray5356[i_344_] * i_345_ + 16383) >> 14; + anIntArray5356[i_344_] = i_347_; + } + if (i_338_ != 0) { + int i_348_ = DisplayModeManagerContainer88.anIntArray1207[i_338_]; + int i_349_ = DisplayModeManagerContainer88.anIntArray1204[i_338_]; + int i_350_ = ((anIntArray5332[i_344_] * i_349_ - anIntArray5312[i_344_] * i_348_ + 16383) >> 14); + anIntArray5312[i_344_] = (anIntArray5332[i_344_] * i_348_ + anIntArray5312[i_344_] * i_349_ + 16383) >> 14; + anIntArray5332[i_344_] = i_350_; + } + if (i_339_ != 0) { + int i_351_ = DisplayModeManagerContainer88.anIntArray1207[i_339_]; + int i_352_ = DisplayModeManagerContainer88.anIntArray1204[i_339_]; + int i_353_ = ((anIntArray5312[i_344_] * i_351_ + anIntArray5356[i_344_] * i_352_ + 16383) >> 14); + anIntArray5312[i_344_] = (anIntArray5312[i_344_] * i_352_ - anIntArray5356[i_344_] * i_351_ + 16383) >> 14; + anIntArray5356[i_344_] = i_353_; + } + anIntArray5356[i_344_] += anInt5338; + anIntArray5332[i_344_] += anInt5375; + anIntArray5312[i_344_] += anInt5342; + } + } else if (i == 3) { + for (int i_354_ = 0; i_354_ < anInt5340; i_354_++) { + anIntArray5356[i_354_] -= anInt5338; + anIntArray5332[i_354_] -= anInt5375; + anIntArray5312[i_354_] -= anInt5342; + anIntArray5356[i_354_] = anIntArray5356[i_354_] * i_338_ / 128; + anIntArray5332[i_354_] = anIntArray5332[i_354_] * i_339_ / 128; + anIntArray5312[i_354_] = anIntArray5312[i_354_] * i_340_ / 128; + anIntArray5356[i_354_] += anInt5338; + anIntArray5332[i_354_] += anInt5375; + anIntArray5312[i_354_] += anInt5342; + } + } else if (i == 5) { + for (int i_355_ = 0; i_355_ < anInt5351; i_355_++) { + int i_356_ = (aByteArray5325[i_355_] & 0xff) + i_338_ * 8; + if (i_356_ < 0) i_356_ = 0; + else if (i_356_ > 255) i_356_ = 255; + aByteArray5325[i_355_] = (byte) i_356_; + } + if (aClass6Array5361 != null) { + for (int i_357_ = 0; i_357_ < anInt5389; i_357_++) { + BuildInfo class6 = aClass6Array5361[i_357_]; + Component360 class350 = aClass350Array5363[i_357_]; + class350.anInt4313 = (class350.anInt4313 & 0xffffff | 255 - (aByteArray5325[class6.anInt144] & 0xff) << 24); + } + } + } else if (i == 7) { + for (int i_358_ = 0; i_358_ < anInt5351; i_358_++) { + int i_359_ = aShortArray5311[i_358_] & 0xffff; + int i_360_ = i_359_ >> 10 & 0x3f; + int i_361_ = i_359_ >> 7 & 0x7; + int i_362_ = i_359_ & 0x7f; + i_360_ = i_360_ + i_338_ & 0x3f; + i_361_ += i_339_; + if (i_361_ < 0) i_361_ = 0; + else if (i_361_ > 7) i_361_ = 7; + i_362_ += i_340_; + if (i_362_ < 0) i_362_ = 0; + else if (i_362_ > 127) i_362_ = 127; + aShortArray5311[i_358_] = (short) (i_360_ << 10 | i_361_ << 7 | i_362_); + } + aBoolean5380 = true; + if (aClass6Array5361 != null) { + for (int i_363_ = 0; i_363_ < anInt5389; i_363_++) { + BuildInfo class6 = aClass6Array5361[i_363_]; + Component360 class350 = aClass350Array5363[i_363_]; + class350.anInt4313 = (class350.anInt4313 & ~0xffffff | (Component380.anIntArray4983[Component361.method303((aShortArray5311[(class6.anInt144)]) & 0xffff, 30) & 0xffff]) & 0xffffff); + } + } + } else if (i == 8) { + for (int i_364_ = 0; i_364_ < anInt5389; i_364_++) { + Component360 class350 = aClass350Array5363[i_364_]; + class350.anInt4316 += i_338_; + class350.anInt4317 += i_339_; + } + } else if (i == 10) { + for (int i_365_ = 0; i_365_ < anInt5389; i_365_++) { + Component360 class350 = aClass350Array5363[i_365_]; + class350.anInt4314 = class350.anInt4314 * i_338_ >> 7; + class350.anInt4311 = class350.anInt4311 * i_339_ >> 7; + } + } else if (i == 9) { + for (int i_366_ = 0; i_366_ < anInt5389; i_366_++) { + Component360 class350 = aClass350Array5363[i_366_]; + class350.anInt4308 = class350.anInt4308 + i_338_ & 0x3fff; + } + } + } + + final int ShaderImpl() { + if (!aBoolean5323) method655(); + return aShort5324; + } + + final r BufferedToolkit(r var_r) { + return null; + } + + final void p(int i, int i_367_, s var_s, s var_s_368_, int i_369_, int i_370_, int i_371_) { + if (i == 3) { + if ((anInt5316 & 0x7) != 7) throw new IllegalStateException(); + } else if ((anInt5316 & 0x2) != 2) throw new IllegalStateException(); + if (!aBoolean5323) method655(); + int i_372_ = i_369_ + aShort5395; + int i_373_ = i_369_ + aShort5393; + int i_374_ = i_371_ + aShort5352; + int i_375_ = i_371_ + aShort5331; + if (i == 4 || (i_372_ >= 0 && (i_373_ + var_s.anInt4592 >> var_s.anInt4588 < var_s.anInt4587) && i_374_ >= 0 && (i_375_ + var_s.anInt4592 >> var_s.anInt4588 < var_s.anInt4590))) { + int[][] is = var_s.anIntArrayArray4584; + int[][] is_376_ = null; + if (var_s_368_ != null) is_376_ = var_s_368_.anIntArrayArray4584; + if (i == 4 || i == 5) { + if (var_s_368_ == null || (i_372_ < 0 || ((i_373_ + var_s_368_.anInt4592 >> var_s_368_.anInt4588) >= var_s_368_.anInt4587) || i_374_ < 0 || ((i_375_ + var_s_368_.anInt4592 >> var_s_368_.anInt4588) >= var_s_368_.anInt4590))) return; + } else { + i_372_ >>= var_s.anInt4588; + i_373_ = (i_373_ + (var_s.anInt4592 - 1) >> var_s.anInt4588); + i_374_ >>= var_s.anInt4588; + i_375_ = (i_375_ + (var_s.anInt4592 - 1) >> var_s.anInt4588); + if (is[i_372_][i_374_] == i_370_ && is[i_373_][i_374_] == i_370_ && is[i_372_][i_375_] == i_370_ && is[i_373_][i_375_] == i_370_) return; + } + synchronized (this) { + if (i == 1) { + int i_377_ = var_s.anInt4592 - 1; + for (int i_378_ = 0; i_378_ < anInt5387; i_378_++) { + int i_379_ = anIntArray5356[i_378_] + i_369_; + int i_380_ = anIntArray5312[i_378_] + i_371_; + int i_381_ = i_379_ & i_377_; + int i_382_ = i_380_ & i_377_; + int i_383_ = i_379_ >> var_s.anInt4588; + int i_384_ = i_380_ >> var_s.anInt4588; + int i_385_ = ((is[i_383_][i_384_] * (var_s.anInt4592 - i_381_) + is[i_383_ + 1][i_384_] * i_381_) >> var_s.anInt4588); + int i_386_ = ((is[i_383_][i_384_ + 1] * (var_s.anInt4592 - i_381_) + is[i_383_ + 1][i_384_ + 1] * i_381_) >> var_s.anInt4588); + int i_387_ = (i_385_ * (var_s.anInt4592 - i_382_) + i_386_ * i_382_ >> var_s.anInt4588); + anIntArray5332[i_378_] = anIntArray5332[i_378_] + i_387_ - i_370_; + } + for (int i_388_ = anInt5387; i_388_ < anInt5340; i_388_++) { + int i_389_ = anIntArray5356[i_388_] + i_369_; + int i_390_ = anIntArray5312[i_388_] + i_371_; + int i_391_ = i_389_ & i_377_; + int i_392_ = i_390_ & i_377_; + int i_393_ = i_389_ >> var_s.anInt4588; + int i_394_ = i_390_ >> var_s.anInt4588; + if (i_393_ >= 0 && i_393_ < is.length - 1 && i_394_ >= 0 && i_394_ < is[0].length - 1) { + int i_395_ = ((is[i_393_][i_394_] * (var_s.anInt4592 - i_391_) + is[i_393_ + 1][i_394_] * i_391_) >> var_s.anInt4588); + int i_396_ = (((is[i_393_][i_394_ + 1] * (var_s.anInt4592 - i_391_)) + is[i_393_ + 1][i_394_ + 1] * i_391_) >> var_s.anInt4588); + int i_397_ = (i_395_ * (var_s.anInt4592 - i_392_) + i_396_ * i_392_ >> var_s.anInt4588); + anIntArray5332[i_388_] = anIntArray5332[i_388_] + i_397_ - i_370_; + } + } + } else if (i == 2) { + int i_398_ = var_s.anInt4592 - 1; + for (int i_399_ = 0; i_399_ < anInt5387; i_399_++) { + int i_400_ = (anIntArray5332[i_399_] << 16) / aShort5329; + if (i_400_ < i_367_) { + int i_401_ = anIntArray5356[i_399_] + i_369_; + int i_402_ = anIntArray5312[i_399_] + i_371_; + int i_403_ = i_401_ & i_398_; + int i_404_ = i_402_ & i_398_; + int i_405_ = i_401_ >> var_s.anInt4588; + int i_406_ = i_402_ >> var_s.anInt4588; + int i_407_ = ((is[i_405_][i_406_] * (var_s.anInt4592 - i_403_) + is[i_405_ + 1][i_406_] * i_403_) >> var_s.anInt4588); + int i_408_ = (((is[i_405_][i_406_ + 1] * (var_s.anInt4592 - i_403_)) + is[i_405_ + 1][i_406_ + 1] * i_403_) >> var_s.anInt4588); + int i_409_ = (i_407_ * (var_s.anInt4592 - i_404_) + i_408_ * i_404_ >> var_s.anInt4588); + anIntArray5332[i_399_] = anIntArray5332[i_399_] + ((i_409_ - i_370_) * (i_367_ - i_400_) / i_367_); + } else anIntArray5332[i_399_] = anIntArray5332[i_399_]; + } + for (int i_410_ = anInt5387; i_410_ < anInt5340; i_410_++) { + int i_411_ = (anIntArray5332[i_410_] << 16) / aShort5329; + if (i_411_ < i_367_) { + int i_412_ = anIntArray5356[i_410_] + i_369_; + int i_413_ = anIntArray5312[i_410_] + i_371_; + int i_414_ = i_412_ & i_398_; + int i_415_ = i_413_ & i_398_; + int i_416_ = i_412_ >> var_s.anInt4588; + int i_417_ = i_413_ >> var_s.anInt4588; + if (i_416_ >= 0 && i_416_ < var_s.anInt4587 - 1 && i_417_ >= 0 && i_417_ < var_s.anInt4590 - 1) { + int i_418_ = (((is[i_416_][i_417_] * (var_s.anInt4592 - i_414_)) + is[i_416_ + 1][i_417_] * i_414_) >> var_s.anInt4588); + int i_419_ = (((is[i_416_][i_417_ + 1] * (var_s.anInt4592 - i_414_)) + is[i_416_ + 1][i_417_ + 1] * i_414_) >> var_s.anInt4588); + int i_420_ = (i_418_ * (var_s.anInt4592 - i_415_) + i_419_ * i_415_ >> var_s.anInt4588); + anIntArray5332[i_410_] = (anIntArray5332[i_410_] + ((i_420_ - i_370_) * (i_367_ - i_411_) / i_367_)); + } + } else anIntArray5332[i_410_] = anIntArray5332[i_410_]; + } + } else if (i == 3) { + int i_421_ = (i_367_ & 0xff) * 4; + int i_422_ = (i_367_ >> 8 & 0xff) * 4; + int i_423_ = (i_367_ >> 16 & 0xff) << 6; + int i_424_ = (i_367_ >> 24 & 0xff) << 6; + if (i_369_ - (i_421_ >> 1) < 0 || (i_369_ + (i_421_ >> 1) + var_s.anInt4592 >= var_s.anInt4587 << var_s.anInt4588) || i_371_ - (i_422_ >> 1) < 0 || (i_371_ + (i_422_ >> 1) + var_s.anInt4592 >= var_s.anInt4590 << var_s.anInt4588)) return; + this.method626(i_421_, 10947, i_424_, i_369_, i_422_, i_370_, i_423_, var_s, i_371_); + } else if (i == 4) { + int i_425_ = var_s_368_.anInt4592 - 1; + int i_426_ = aShort5365 - aShort5329; + for (int i_427_ = 0; i_427_ < anInt5387; i_427_++) { + int i_428_ = anIntArray5356[i_427_] + i_369_; + int i_429_ = anIntArray5312[i_427_] + i_371_; + int i_430_ = i_428_ & i_425_; + int i_431_ = i_429_ & i_425_; + int i_432_ = i_428_ >> var_s_368_.anInt4588; + int i_433_ = i_429_ >> var_s_368_.anInt4588; + int i_434_ = (((is_376_[i_432_][i_433_] * (var_s_368_.anInt4592 - i_430_)) + is_376_[i_432_ + 1][i_433_] * i_430_) >> var_s_368_.anInt4588); + int i_435_ = (((is_376_[i_432_][i_433_ + 1] * (var_s_368_.anInt4592 - i_430_)) + is_376_[i_432_ + 1][i_433_ + 1] * i_430_) >> var_s_368_.anInt4588); + int i_436_ = (i_434_ * (var_s_368_.anInt4592 - i_431_) + i_435_ * i_431_ >> var_s_368_.anInt4588); + anIntArray5332[i_427_] = (anIntArray5332[i_427_] + (i_436_ - i_370_) + i_426_); + } + for (int i_437_ = anInt5387; i_437_ < anInt5340; i_437_++) { + int i_438_ = anIntArray5356[i_437_] + i_369_; + int i_439_ = anIntArray5312[i_437_] + i_371_; + int i_440_ = i_438_ & i_425_; + int i_441_ = i_439_ & i_425_; + int i_442_ = i_438_ >> var_s_368_.anInt4588; + int i_443_ = i_439_ >> var_s_368_.anInt4588; + if (i_442_ >= 0 && i_442_ < var_s_368_.anInt4587 - 1 && i_443_ >= 0 && i_443_ < var_s_368_.anInt4590 - 1) { + int i_444_ = (((is_376_[i_442_][i_443_] * (var_s_368_.anInt4592 - i_440_)) + is_376_[i_442_ + 1][i_443_] * i_440_) >> var_s_368_.anInt4588); + int i_445_ = (((is_376_[i_442_][i_443_ + 1] * (var_s_368_.anInt4592 - i_440_)) + is_376_[i_442_ + 1][i_443_ + 1] * i_440_) >> var_s_368_.anInt4588); + int i_446_ = (i_444_ * (var_s_368_.anInt4592 - i_441_) + i_445_ * i_441_ >> var_s_368_.anInt4588); + anIntArray5332[i_437_] = (anIntArray5332[i_437_] + (i_446_ - i_370_) + i_426_); + } + } + } else if (i == 5) { + int i_447_ = var_s_368_.anInt4592 - 1; + int i_448_ = aShort5365 - aShort5329; + for (int i_449_ = 0; i_449_ < anInt5387; i_449_++) { + int i_450_ = anIntArray5356[i_449_] + i_369_; + int i_451_ = anIntArray5312[i_449_] + i_371_; + int i_452_ = i_450_ & i_447_; + int i_453_ = i_451_ & i_447_; + int i_454_ = i_450_ >> var_s.anInt4588; + int i_455_ = i_451_ >> var_s.anInt4588; + int i_456_ = ((is[i_454_][i_455_] * (var_s.anInt4592 - i_452_) + is[i_454_ + 1][i_455_] * i_452_) >> var_s.anInt4588); + int i_457_ = ((is[i_454_][i_455_ + 1] * (var_s.anInt4592 - i_452_) + is[i_454_ + 1][i_455_ + 1] * i_452_) >> var_s.anInt4588); + int i_458_ = (i_456_ * (var_s.anInt4592 - i_453_) + i_457_ * i_453_ >> var_s.anInt4588); + i_456_ = (((is_376_[i_454_][i_455_] * (var_s_368_.anInt4592 - i_452_)) + is_376_[i_454_ + 1][i_455_] * i_452_) >> var_s_368_.anInt4588); + i_457_ = (((is_376_[i_454_][i_455_ + 1] * (var_s_368_.anInt4592 - i_452_)) + is_376_[i_454_ + 1][i_455_ + 1] * i_452_) >> var_s_368_.anInt4588); + int i_459_ = (i_456_ * (var_s_368_.anInt4592 - i_453_) + i_457_ * i_453_ >> var_s_368_.anInt4588); + int i_460_ = i_458_ - i_459_ - i_367_; + anIntArray5332[i_449_] = ((anIntArray5332[i_449_] << 8) / i_448_ * i_460_ >> 8) - (i_370_ - i_458_); + } + for (int i_461_ = anInt5387; i_461_ < anInt5340; i_461_++) { + int i_462_ = anIntArray5356[i_461_] + i_369_; + int i_463_ = anIntArray5312[i_461_] + i_371_; + int i_464_ = i_462_ & i_447_; + int i_465_ = i_463_ & i_447_; + int i_466_ = i_462_ >> var_s.anInt4588; + int i_467_ = i_463_ >> var_s.anInt4588; + if (i_466_ >= 0 && i_466_ < var_s.anInt4587 - 1 && i_466_ < var_s_368_.anInt4587 - 1 && i_467_ >= 0 && i_467_ < var_s.anInt4590 - 1 && i_467_ < var_s_368_.anInt4590 - 1) { + int i_468_ = ((is[i_466_][i_467_] * (var_s.anInt4592 - i_464_) + is[i_466_ + 1][i_467_] * i_464_) >> var_s.anInt4588); + int i_469_ = (((is[i_466_][i_467_ + 1] * (var_s.anInt4592 - i_464_)) + is[i_466_ + 1][i_467_ + 1] * i_464_) >> var_s.anInt4588); + int i_470_ = (i_468_ * (var_s.anInt4592 - i_465_) + i_469_ * i_465_ >> var_s.anInt4588); + i_468_ = (((is_376_[i_466_][i_467_] * (var_s_368_.anInt4592 - i_464_)) + is_376_[i_466_ + 1][i_467_] * i_464_) >> var_s_368_.anInt4588); + i_469_ = (((is_376_[i_466_][i_467_ + 1] * (var_s_368_.anInt4592 - i_464_)) + is_376_[i_466_ + 1][i_467_ + 1] * i_464_) >> var_s_368_.anInt4588); + int i_471_ = (i_468_ * (var_s_368_.anInt4592 - i_465_) + i_469_ * i_465_ >> var_s_368_.anInt4588); + int i_472_ = i_470_ - i_471_ - i_367_; + anIntArray5332[i_461_] = (((anIntArray5332[i_461_] << 8) / i_448_ * i_472_) >> 8) - (i_370_ - i_470_); + } + } + } + aBoolean5323 = false; + } + } + } + + final void C(int i) { + if ((anInt5316 & 0x1000) != 4096) throw new IllegalStateException(); + anInt5344 = i; + anInt5354 = 0; + } + + private final void method644() { + synchronized (this) { + for (int i = 0; i < anInt5340; i++) { + int i_473_ = anIntArray5356[i]; + anIntArray5356[i] = anIntArray5312[i]; + anIntArray5312[i] = -i_473_; + } + method631(); + } + } + + final int RA() { + if (!aBoolean5323) method655(); + return aShort5393; + } + + final boolean method623(int i, int i_474_, DisplayModeManagerContainer204 class101, boolean bool, int i_475_, int i_476_) { + return method645(i, i_474_, class101, bool, i_475_, i_476_); + } + + final DisplayModeManagerContainer173[] method604() { + return aClass342Array5335; + } + + final int WA() { + return anInt5344; + } + + final void s(int i) { + if (aHa_Sub1_5353.anInt7485 > 1) { + synchronized (this) { + if ((anInt5316 & 0x10000) == 65536 && (i & 0x10000) == 0) method634(true); + anInt5316 = i; + } + } else { + if ((anInt5316 & 0x10000) == 65536 && (i & 0x10000) == 0) method634(true); + anInt5316 = i; + } + } + + final void method621() { + if (aHa_Sub1_5353.anInt7485 > 1) { + synchronized (this) { + this.aBoolean1124 = false; + this.notifyAll(); + } + } + } + + final void method624(int i, int i_477_, int i_478_, int i_479_) { + if ((anInt5316 & 0x80000) != 524288) throw new IllegalStateException("FMT"); + for (int i_480_ = 0; i_480_ < anInt5351; i_480_++) { + int i_481_ = aShortArray5311[i_480_] & 0xffff; + int i_482_ = i_481_ >> 10 & 0x3f; + int i_483_ = i_481_ >> 7 & 0x7; + int i_484_ = i_481_ & 0x7f; + if (i != -1) i_482_ += (i - i_482_) * i_479_ >> 7; + if (i_477_ != -1) i_483_ += (i_477_ - i_483_) * i_479_ >> 7; + if (i_478_ != -1) i_484_ += (i_478_ - i_484_) * i_479_ >> 7; + aShortArray5311[i_480_] = (short) (i_482_ << 10 | i_483_ << 7 | i_484_); + } + if (aClass6Array5361 != null) { + for (int i_485_ = 0; i_485_ < anInt5389; i_485_++) { + BuildInfo class6 = aClass6Array5361[i_485_]; + Component360 class350 = aClass350Array5363[i_485_]; + class350.anInt4313 = (class350.anInt4313 & ~0xffffff | (Component380.anIntArray4983[Component361.method303(((aShortArray5311[class6.anInt144]) & 0xffff), 30)]) & 0xffffff); + } + } + if (anInt5354 == 2) anInt5354 = 1; + } + + final boolean method628(int i, int i_486_, DisplayModeManagerContainer204 class101, boolean bool, int i_487_) { + return method645(i, i_486_, class101, bool, i_487_, -1); + } + + final int ma() { + if (!aBoolean5323) method655(); + return aShort5348; + } + + private final boolean method645(int i, int i_488_, DisplayModeManagerContainer204 class101, boolean bool, int i_489_, int i_490_) { + aClass101_Sub1_5320 = (MatrixSub1) class101; + MatrixSub1 class101_sub1 = aHa_Sub1_5353.aClass101_Sub1_7492; + float f = (class101_sub1.aFloat5686 + ((class101_sub1.aFloat5672 * aClass101_Sub1_5320.aFloat5686) + (class101_sub1.aFloat5673 * aClass101_Sub1_5320.aFloat5685) + (class101_sub1.aFloat5669 * aClass101_Sub1_5320.aFloat5681))); + float f_491_ = (class101_sub1.aFloat5685 + ((class101_sub1.aFloat5655 * aClass101_Sub1_5320.aFloat5686) + (class101_sub1.aFloat5678 * aClass101_Sub1_5320.aFloat5685) + (class101_sub1.aFloat5666 * aClass101_Sub1_5320.aFloat5681))); + float f_492_ = (class101_sub1.aFloat5681 + ((class101_sub1.aFloat5662 * aClass101_Sub1_5320.aFloat5686) + (class101_sub1.aFloat5680 * aClass101_Sub1_5320.aFloat5685) + (class101_sub1.aFloat5664 * aClass101_Sub1_5320.aFloat5681))); + float f_493_ = ((class101_sub1.aFloat5672 * aClass101_Sub1_5320.aFloat5672) + (class101_sub1.aFloat5673 * aClass101_Sub1_5320.aFloat5655) + (class101_sub1.aFloat5669 * aClass101_Sub1_5320.aFloat5662)); + float f_494_ = ((class101_sub1.aFloat5672 * aClass101_Sub1_5320.aFloat5673) + (class101_sub1.aFloat5673 * aClass101_Sub1_5320.aFloat5678) + (class101_sub1.aFloat5669 * aClass101_Sub1_5320.aFloat5680)); + float f_495_ = ((class101_sub1.aFloat5672 * aClass101_Sub1_5320.aFloat5669) + (class101_sub1.aFloat5673 * aClass101_Sub1_5320.aFloat5666) + (class101_sub1.aFloat5669 * aClass101_Sub1_5320.aFloat5664)); + float f_496_ = ((class101_sub1.aFloat5655 * aClass101_Sub1_5320.aFloat5672) + (class101_sub1.aFloat5678 * aClass101_Sub1_5320.aFloat5655) + (class101_sub1.aFloat5666 * aClass101_Sub1_5320.aFloat5662)); + float f_497_ = ((class101_sub1.aFloat5655 * aClass101_Sub1_5320.aFloat5673) + (class101_sub1.aFloat5678 * aClass101_Sub1_5320.aFloat5678) + (class101_sub1.aFloat5666 * aClass101_Sub1_5320.aFloat5680)); + float f_498_ = ((class101_sub1.aFloat5655 * aClass101_Sub1_5320.aFloat5669) + (class101_sub1.aFloat5678 * aClass101_Sub1_5320.aFloat5666) + (class101_sub1.aFloat5666 * aClass101_Sub1_5320.aFloat5664)); + float f_499_ = ((class101_sub1.aFloat5662 * aClass101_Sub1_5320.aFloat5672) + (class101_sub1.aFloat5680 * aClass101_Sub1_5320.aFloat5655) + (class101_sub1.aFloat5664 * aClass101_Sub1_5320.aFloat5662)); + float f_500_ = ((class101_sub1.aFloat5662 * aClass101_Sub1_5320.aFloat5673) + (class101_sub1.aFloat5680 * aClass101_Sub1_5320.aFloat5678) + (class101_sub1.aFloat5664 * aClass101_Sub1_5320.aFloat5680)); + float f_501_ = ((class101_sub1.aFloat5662 * aClass101_Sub1_5320.aFloat5669) + (class101_sub1.aFloat5680 * aClass101_Sub1_5320.aFloat5666) + (class101_sub1.aFloat5664 * aClass101_Sub1_5320.aFloat5664)); + boolean bool_502_ = false; + int i_503_ = aHa_Sub1_5353.anInt7510; + int i_504_ = aHa_Sub1_5353.anInt7504; + int i_505_ = aHa_Sub1_5353.anInt7491; + int i_506_ = aHa_Sub1_5353.anInt7497; + int i_507_ = 2147483647; + int i_508_ = -2147483648; + int i_509_ = 2147483647; + int i_510_ = -2147483648; + method632(Thread.currentThread()); + if (!aBoolean5323) method655(); + int i_511_ = aShort5393 - aShort5395 >> 1; + int i_512_ = aShort5365 - aShort5329 >> 1; + int i_513_ = aShort5331 - aShort5352 >> 1; + int i_514_ = aShort5395 + i_511_; + int i_515_ = aShort5329 + i_512_; + int i_516_ = aShort5352 + i_513_; + int i_517_ = i_514_ - (i_511_ << i_489_); + int i_518_ = i_515_ - (i_512_ << i_489_); + int i_519_ = i_516_ - (i_513_ << i_489_); + int i_520_ = i_514_ + (i_511_ << i_489_); + int i_521_ = i_515_ + (i_512_ << i_489_); + int i_522_ = i_516_ + (i_513_ << i_489_); + anIntArray5359[0] = i_517_; + anIntArray5373[0] = i_518_; + anIntArray5398[0] = i_519_; + anIntArray5359[1] = i_520_; + anIntArray5373[1] = i_518_; + anIntArray5398[1] = i_519_; + anIntArray5359[2] = i_517_; + anIntArray5373[2] = i_521_; + anIntArray5398[2] = i_519_; + anIntArray5359[3] = i_520_; + anIntArray5373[3] = i_521_; + anIntArray5398[3] = i_519_; + anIntArray5359[4] = i_517_; + anIntArray5373[4] = i_518_; + anIntArray5398[4] = i_522_; + anIntArray5359[5] = i_520_; + anIntArray5373[5] = i_518_; + anIntArray5398[5] = i_522_; + anIntArray5359[6] = i_517_; + anIntArray5373[6] = i_521_; + anIntArray5398[6] = i_522_; + anIntArray5359[7] = i_520_; + anIntArray5373[7] = i_521_; + anIntArray5398[7] = i_522_; + for (int i_523_ = 0; i_523_ < 8; i_523_++) { + int i_524_ = anIntArray5359[i_523_]; + int i_525_ = anIntArray5373[i_523_]; + int i_526_ = anIntArray5398[i_523_]; + float f_527_ = f + (f_493_ * (float) i_524_ + f_494_ * (float) i_525_ + f_495_ * (float) i_526_); + float f_528_ = f_491_ + (f_496_ * (float) i_524_ + f_497_ * (float) i_525_ + f_498_ * (float) i_526_); + float f_529_ = f_492_ + (f_499_ * (float) i_524_ + f_500_ * (float) i_525_ + f_501_ * (float) i_526_); + if (f_529_ >= (float) aHa_Sub1_5353.anInt7482) { + if (i_490_ > 0) f_529_ = (float) i_490_; + int i_530_ = i_503_ + (int) (f_527_ * (float) i_505_ / f_529_); + int i_531_ = i_504_ + (int) (f_528_ * (float) i_506_ / f_529_); + if (i_530_ < i_507_) i_507_ = i_530_; + if (i_530_ > i_508_) i_508_ = i_530_; + if (i_531_ < i_509_) i_509_ = i_531_; + if (i_531_ > i_510_) i_510_ = i_531_; + bool_502_ = true; + } + } + if (bool_502_ && i > i_507_ && i < i_508_ && i_488_ > i_509_ && i_488_ < i_510_) { + if (bool) return true; + for (int i_532_ = 0; i_532_ < anInt5340; i_532_++) { + int i_533_ = anIntArray5356[i_532_]; + int i_534_ = anIntArray5332[i_532_]; + int i_535_ = anIntArray5312[i_532_]; + float f_536_ = f + (f_493_ * (float) i_533_ + f_494_ * (float) i_534_ + f_495_ * (float) i_535_); + float f_537_ = f_491_ + (f_496_ * (float) i_533_ + f_497_ * (float) i_534_ + f_498_ * (float) i_535_); + float f_538_ = f_492_ + (f_499_ * (float) i_533_ + f_500_ * (float) i_534_ + f_501_ * (float) i_535_); + if (f_538_ >= (float) aHa_Sub1_5353.anInt7482) { + if (i_490_ > 0) f_538_ = (float) i_490_; + anIntArray5321[i_532_] = i_503_ + (int) (f_536_ * (float) i_505_ / f_538_); + anIntArray5343[i_532_] = i_504_ + (int) (f_537_ * (float) i_506_ / f_538_); + } else anIntArray5321[i_532_] = -999999; + } + for (int i_539_ = 0; i_539_ < anInt5351; i_539_++) { + if (anIntArray5321[aShortArray5317[i_539_]] != -999999 && anIntArray5321[aShortArray5394[i_539_]] != -999999 && anIntArray5321[aShortArray5364[i_539_]] != -999999 && method630(i, i_488_, anIntArray5343[aShortArray5317[i_539_]], anIntArray5343[aShortArray5394[i_539_]], anIntArray5343[aShortArray5364[i_539_]], anIntArray5321[aShortArray5317[i_539_]], anIntArray5321[aShortArray5394[i_539_]], anIntArray5321[aShortArray5364[i_539_]])) + return true; + } + } + return false; + } + + private final void method646(int i) { + int i_540_ = 0; + int i_541_ = aHa_Sub1_5353.anInt7482; + short i_542_ = aShortArray5317[i]; + short i_543_ = aShortArray5394[i]; + short i_544_ = aShortArray5364[i]; + int i_545_ = anIntArray5392[i_542_]; + int i_546_ = anIntArray5392[i_543_]; + int i_547_ = anIntArray5392[i_544_]; + if (aByteArray5325 == null) aClass109_5383.anInt1674 = 0; + else aClass109_5383.anInt1674 = aByteArray5325[i] & 0xff; + if (i_545_ >= i_541_) { + anIntArray5315[i_540_] = anIntArray5321[i_542_]; + anIntArray5371[i_540_] = anIntArray5343[i_542_]; + anIntArray5381[i_540_] = anIntArray5355[i_542_]; + anIntArray5377[i_540_++] = anIntArray5368[i] & 0xffff; + } else { + int i_548_ = anIntArray5399[i_542_]; + int i_549_ = anIntArray5384[i_542_]; + int i_550_ = anIntArray5368[i] & 0xffff; + if (i_547_ >= i_541_) { + int i_551_ = (i_541_ - i_545_) * (65536 / (i_547_ - i_545_)); + anIntArray5315[i_540_] = (aClass167_5367.anInt2229 + ((i_548_ + ((anIntArray5399[i_544_] - i_548_) * i_551_ >> 16)) * aHa_Sub1_5353.anInt7491 / i_541_)); + anIntArray5371[i_540_] = (aClass167_5367.anInt2215 + ((i_549_ + ((anIntArray5384[i_544_] - i_549_) * i_551_ >> 16)) * aHa_Sub1_5353.anInt7497 / i_541_)); + anIntArray5381[i_540_] = i_541_; + anIntArray5377[i_540_++] = (i_550_ + (((anIntArray5366[i] & 0xffff) - i_550_) * i_551_ >> 16)); + } + if (i_546_ >= i_541_) { + int i_552_ = (i_541_ - i_545_) * (65536 / (i_546_ - i_545_)); + anIntArray5315[i_540_] = (aClass167_5367.anInt2229 + ((i_548_ + ((anIntArray5399[i_543_] - i_548_) * i_552_ >> 16)) * aHa_Sub1_5353.anInt7491 / i_541_)); + anIntArray5371[i_540_] = (aClass167_5367.anInt2215 + ((i_549_ + ((anIntArray5384[i_543_] - i_549_) * i_552_ >> 16)) * aHa_Sub1_5353.anInt7497 / i_541_)); + anIntArray5381[i_540_] = i_541_; + anIntArray5377[i_540_++] = (i_550_ + (((anIntArray5337[i] & 0xffff) - i_550_) * i_552_ >> 16)); + } + } + if (i_546_ >= i_541_) { + anIntArray5315[i_540_] = anIntArray5321[i_543_]; + anIntArray5371[i_540_] = anIntArray5343[i_543_]; + anIntArray5381[i_540_] = anIntArray5355[i_543_]; + anIntArray5377[i_540_++] = anIntArray5337[i] & 0xffff; + } else { + int i_553_ = anIntArray5399[i_543_]; + int i_554_ = anIntArray5384[i_543_]; + int i_555_ = anIntArray5337[i] & 0xffff; + if (i_545_ >= i_541_) { + int i_556_ = (i_541_ - i_546_) * (65536 / (i_545_ - i_546_)); + anIntArray5315[i_540_] = (aClass167_5367.anInt2229 + ((i_553_ + ((anIntArray5399[i_542_] - i_553_) * i_556_ >> 16)) * aHa_Sub1_5353.anInt7491 / i_541_)); + anIntArray5371[i_540_] = (aClass167_5367.anInt2215 + ((i_554_ + ((anIntArray5384[i_542_] - i_554_) * i_556_ >> 16)) * aHa_Sub1_5353.anInt7497 / i_541_)); + anIntArray5381[i_540_] = i_541_; + anIntArray5377[i_540_++] = (i_555_ + (((anIntArray5368[i] & 0xffff) - i_555_) * i_556_ >> 16)); + } + if (i_547_ >= i_541_) { + int i_557_ = (i_541_ - i_546_) * (65536 / (i_547_ - i_546_)); + anIntArray5315[i_540_] = (aClass167_5367.anInt2229 + ((i_553_ + ((anIntArray5399[i_544_] - i_553_) * i_557_ >> 16)) * aHa_Sub1_5353.anInt7491 / i_541_)); + anIntArray5371[i_540_] = (aClass167_5367.anInt2215 + ((i_554_ + ((anIntArray5384[i_544_] - i_554_) * i_557_ >> 16)) * aHa_Sub1_5353.anInt7497 / i_541_)); + anIntArray5381[i_540_] = i_541_; + anIntArray5377[i_540_++] = (i_555_ + (((anIntArray5366[i] & 0xffff) - i_555_) * i_557_ >> 16)); + } + } + if (i_547_ >= i_541_) { + anIntArray5315[i_540_] = anIntArray5321[i_544_]; + anIntArray5371[i_540_] = anIntArray5343[i_544_]; + anIntArray5381[i_540_] = anIntArray5355[i_544_]; + anIntArray5377[i_540_++] = anIntArray5366[i] & 0xffff; + } else { + int i_558_ = anIntArray5399[i_544_]; + int i_559_ = anIntArray5384[i_544_]; + int i_560_ = anIntArray5366[i] & 0xffff; + if (i_546_ >= i_541_) { + int i_561_ = (i_541_ - i_547_) * (65536 / (i_546_ - i_547_)); + anIntArray5315[i_540_] = (aClass167_5367.anInt2229 + ((i_558_ + ((anIntArray5399[i_543_] - i_558_) * i_561_ >> 16)) * aHa_Sub1_5353.anInt7491 / i_541_)); + anIntArray5371[i_540_] = (aClass167_5367.anInt2215 + ((i_559_ + ((anIntArray5384[i_543_] - i_559_) * i_561_ >> 16)) * aHa_Sub1_5353.anInt7497 / i_541_)); + anIntArray5381[i_540_] = i_541_; + anIntArray5377[i_540_++] = (i_560_ + (((anIntArray5337[i] & 0xffff) - i_560_) * i_561_ >> 16)); + } + if (i_545_ >= i_541_) { + int i_562_ = (i_541_ - i_547_) * (65536 / (i_545_ - i_547_)); + anIntArray5315[i_540_] = (aClass167_5367.anInt2229 + ((i_558_ + ((anIntArray5399[i_542_] - i_558_) * i_562_ >> 16)) * aHa_Sub1_5353.anInt7491 / i_541_)); + anIntArray5371[i_540_] = (aClass167_5367.anInt2215 + ((i_559_ + ((anIntArray5384[i_542_] - i_559_) * i_562_ >> 16)) * aHa_Sub1_5353.anInt7497 / i_541_)); + anIntArray5381[i_540_] = i_541_; + anIntArray5377[i_540_++] = (i_560_ + (((anIntArray5368[i] & 0xffff) - i_560_) * i_562_ >> 16)); + } + } + int i_563_ = anIntArray5315[0]; + int i_564_ = anIntArray5315[1]; + int i_565_ = anIntArray5315[2]; + int i_566_ = anIntArray5371[0]; + int i_567_ = anIntArray5371[1]; + int i_568_ = anIntArray5371[2]; + i_545_ = anIntArray5381[0]; + i_546_ = anIntArray5381[1]; + i_547_ = anIntArray5381[2]; + aClass109_5383.aBoolean1671 = false; + if (i_540_ == 3) { + if (i_563_ < 0 || i_564_ < 0 || i_565_ < 0 || i_563_ > aClass167_5367.anInt2221 || i_564_ > aClass167_5367.anInt2221 || i_565_ > aClass167_5367.anInt2221) aClass109_5383.aBoolean1671 = true; + if (aShortArray5388 == null || aShortArray5388[i] == -1) { + if (anIntArray5366[i] == -1) aClass109_5383.method1018((float) i_566_, (float) i_567_, (float) i_568_, (float) i_563_, (float) i_564_, (float) i_565_, (float) i_545_, (float) i_546_, (float) i_547_, (Component380.anIntArray4983[anIntArray5368[i] & 0xffff])); + else aClass109_5383.method1022((float) i_566_, (float) i_567_, (float) i_568_, (float) i_563_, (float) i_564_, (float) i_565_, (float) i_545_, (float) i_546_, (float) i_547_, (float) anIntArray5377[0], (float) anIntArray5377[1], (float) anIntArray5377[2]); + } else { + int i_569_ = -16777216; + if (aByteArray5325 != null) i_569_ = 255 - (aByteArray5325[i] & 0xff) << 24; + int i_570_ = i_569_ | anIntArray5368[i] & 0xffffff; + if (anIntArray5366[i] == -1) + aClass109_5383.method1024((float) i_566_, (float) i_567_, (float) i_568_, (float) i_563_, (float) i_564_, (float) i_565_, (float) i_545_, (float) i_546_, (float) i_547_, aFloatArrayArray5314[i][0], aFloatArrayArray5314[i][1], aFloatArrayArray5314[i][2], aFloatArrayArray5345[i][0], aFloatArrayArray5345[i][1], aFloatArrayArray5345[i][2], i_570_, i_570_, i_570_, (aClass167_5367.anInt2192), 0, 0, 0, aShortArray5388[i]); + else + aClass109_5383.method1024((float) i_566_, (float) i_567_, (float) i_568_, (float) i_563_, (float) i_564_, (float) i_565_, (float) i_545_, (float) i_546_, (float) i_547_, aFloatArrayArray5314[i][0], aFloatArrayArray5314[i][1], aFloatArrayArray5314[i][2], aFloatArrayArray5345[i][0], aFloatArrayArray5345[i][1], aFloatArrayArray5345[i][2], i_570_, i_570_, i_570_, (aClass167_5367.anInt2192), 0, 0, 0, aShortArray5388[i]); + } + } + if (i_540_ == 4) { + if (i_563_ < 0 || i_564_ < 0 || i_565_ < 0 || i_563_ > aClass167_5367.anInt2221 || i_564_ > aClass167_5367.anInt2221 || i_565_ > aClass167_5367.anInt2221 || anIntArray5315[3] < 0 || anIntArray5315[3] > aClass167_5367.anInt2221) aClass109_5383.aBoolean1671 = true; + if (aShortArray5388 == null || aShortArray5388[i] == -1) { + if (anIntArray5366[i] == -1) { + int i_571_ = Component380.anIntArray4983[anIntArray5368[i] & 0xffff]; + aClass109_5383.method1018((float) i_566_, (float) i_567_, (float) i_568_, (float) i_563_, (float) i_564_, (float) i_565_, (float) i_545_, (float) i_546_, (float) i_547_, i_571_); + aClass109_5383.method1018((float) i_566_, (float) i_568_, (float) anIntArray5371[3], (float) i_563_, (float) i_565_, (float) anIntArray5315[3], (float) i_545_, (float) i_546_, (float) anIntArray5381[3], i_571_); + } else { + aClass109_5383.method1022((float) i_566_, (float) i_567_, (float) i_568_, (float) i_563_, (float) i_564_, (float) i_565_, (float) i_545_, (float) i_546_, (float) i_547_, (float) anIntArray5377[0], (float) anIntArray5377[1], (float) anIntArray5377[2]); + aClass109_5383.method1022((float) i_566_, (float) i_568_, (float) anIntArray5371[3], (float) i_563_, (float) i_565_, (float) anIntArray5315[3], (float) i_545_, (float) i_546_, (float) anIntArray5381[3], (float) anIntArray5377[0], (float) anIntArray5377[2], (float) anIntArray5377[3]); + } + } else { + int i_572_ = -16777216; + if (aByteArray5325 != null) i_572_ = 255 - (aByteArray5325[i] & 0xff) << 24; + int i_573_ = i_572_ | anIntArray5368[i] & 0xffffff; + if (anIntArray5366[i] == -1) { + aClass109_5383.method1024((float) i_566_, (float) i_567_, (float) i_568_, (float) i_563_, (float) i_564_, (float) i_565_, (float) i_545_, (float) i_546_, (float) i_547_, aFloatArrayArray5314[i][0], aFloatArrayArray5314[i][1], aFloatArrayArray5314[i][2], aFloatArrayArray5345[i][0], aFloatArrayArray5345[i][1], aFloatArrayArray5345[i][2], i_573_, i_573_, i_573_, (aClass167_5367.anInt2192), 0, 0, 0, aShortArray5388[i]); + aClass109_5383.method1024((float) i_566_, (float) i_568_, (float) anIntArray5371[3], (float) i_563_, (float) i_565_, (float) anIntArray5315[3], (float) i_545_, (float) i_547_, (float) anIntArray5381[3], aFloatArrayArray5314[i][0], aFloatArrayArray5314[i][1], aFloatArrayArray5314[i][2], aFloatArrayArray5345[i][0], aFloatArrayArray5345[i][1], aFloatArrayArray5345[i][2], i_573_, i_573_, i_573_, (aClass167_5367.anInt2192), 0, 0, 0, aShortArray5388[i]); + } else { + aClass109_5383.method1024((float) i_566_, (float) i_567_, (float) i_568_, (float) i_563_, (float) i_564_, (float) i_565_, (float) i_545_, (float) i_546_, (float) i_547_, aFloatArrayArray5314[i][0], aFloatArrayArray5314[i][1], aFloatArrayArray5314[i][2], aFloatArrayArray5345[i][0], aFloatArrayArray5345[i][1], aFloatArrayArray5345[i][2], i_573_, i_573_, i_573_, (aClass167_5367.anInt2192), 0, 0, 0, aShortArray5388[i]); + aClass109_5383.method1024((float) i_566_, (float) i_568_, (float) anIntArray5371[3], (float) i_563_, (float) i_565_, (float) anIntArray5315[3], (float) i_545_, (float) i_547_, (float) anIntArray5381[3], aFloatArrayArray5314[i][0], aFloatArrayArray5314[i][1], aFloatArrayArray5314[i][2], aFloatArrayArray5345[i][0], aFloatArrayArray5345[i][1], aFloatArrayArray5345[i][2], i_573_, i_573_, i_573_, (aClass167_5367.anInt2192), 0, 0, 0, aShortArray5388[i]); + } + } + } + } + + private final void method647() { + if (anInt5354 == 0) method634(false); + else if (aHa_Sub1_5353.anInt7485 > 1) { + synchronized (this) { + method640(); + } + } else method640(); + } + + private final void method648(Thread thread) { + Component385 class167 = aHa_Sub1_5353.method3724(thread); + if (class167 != aClass167_5336) { + aClass167_5336 = class167; + aClass64_Sub1_5378 = aClass167_5336.aClass64_Sub1_2243; + aClass64_Sub1_5339 = aClass167_5336.aClass64_Sub1_2224; + aClass64_Sub1_5396 = aClass167_5336.aClass64_Sub1_2219; + aClass64_Sub1_5347 = aClass167_5336.aClass64_Sub1_2239; + aClass64_Sub1_5390 = aClass167_5336.aClass64_Sub1_2233; + aClass64_Sub1_5374 = aClass167_5336.aClass64_Sub1_2231; + aClass64_Sub1_5328 = aClass167_5336.aClass64_Sub1_2223; + aClass64_Sub1_5376 = aClass167_5336.aClass64_Sub1_2227; + aClass64_Sub1_5397 = aClass167_5336.aClass64_Sub1_2246; + aClass64_Sub1_5319 = aClass167_5336.aClass64_Sub1_2225; + } + } + + final void LA(int i) { + if ((anInt5316 & 0x2000) != 8192) throw new IllegalStateException(); + anInt5349 = i; + anInt5354 = 0; + } + + final void VA(int i) { + if ((anInt5316 & 0x3) != 3) throw new IllegalStateException(); + int i_574_ = DisplayModeManagerContainer88.anIntArray1207[i]; + int i_575_ = DisplayModeManagerContainer88.anIntArray1204[i]; + synchronized (this) { + for (int i_576_ = 0; i_576_ < anInt5340; i_576_++) { + int i_577_ = ((anIntArray5332[i_576_] * i_574_ + anIntArray5356[i_576_] * i_575_) >> 14); + anIntArray5332[i_576_] = (anIntArray5332[i_576_] * i_575_ - anIntArray5356[i_576_] * i_574_) >> 14; + anIntArray5356[i_576_] = i_577_; + } + method631(); + } + } + + final void a(int i) { + if ((anInt5316 & 0x5) != 5) throw new IllegalStateException(); + if (i == 4096) method644(); + else if (i == 8192) method651(); + else if (i == 12288) method639(); + else { + int i_578_ = DisplayModeManagerContainer88.anIntArray1207[i]; + int i_579_ = DisplayModeManagerContainer88.anIntArray1204[i]; + synchronized (this) { + for (int i_580_ = 0; i_580_ < anInt5340; i_580_++) { + int i_581_ = ((anIntArray5312[i_580_] * i_578_ + anIntArray5356[i_580_] * i_579_) >> 14); + anIntArray5312[i_580_] = (anIntArray5312[i_580_] * i_579_ - anIntArray5356[i_580_] * i_578_) >> 14; + anIntArray5356[i_580_] = i_581_; + } + method631(); + } + } + } + + final void Shader(short i, short i_582_) { + if (aShortArray5388 != null) { + if (!aBoolean5391 && i_582_ >= 0) { + Component319 class12 = aHa_Sub1_5353.aD4579.method3(i_582_ & 0xffff, -6662); + if (class12.aByte198 != 0 || class12.aByte211 != 0) aBoolean5391 = true; + } + for (int i_583_ = 0; i_583_ < anInt5351; i_583_++) { + if (aShortArray5388[i_583_] == i) aShortArray5388[i_583_] = i_582_; + } + } + } + + final void method613(DisplayModeManagerContainer370 class64, int i, int i_584_, int i_585_, boolean bool) { + DisplayModeManagerContainer164 class64_sub1_586_ = (DisplayModeManagerContainer164) class64; + if ((anInt5316 & 0x10000) != 65536) throw new IllegalStateException(""); + if ((class64_sub1_586_.anInt5316 & 0x10000) != 65536) throw new IllegalStateException(""); + method632(Thread.currentThread()); + method655(); + method636(); + class64_sub1_586_.method655(); + class64_sub1_586_.method636(); + anInt5341++; + int i_587_ = 0; + int[] is = class64_sub1_586_.anIntArray5356; + int i_588_ = class64_sub1_586_.anInt5387; + for (int i_589_ = 0; i_589_ < anInt5387; i_589_++) { + Component242 class360 = aClass360Array5360[i_589_]; + if (class360.anInt4429 != 0) { + int i_590_ = anIntArray5332[i_589_] - i_584_; + if (i_590_ >= class64_sub1_586_.aShort5329 && i_590_ <= class64_sub1_586_.aShort5365) { + int i_591_ = anIntArray5356[i_589_] - i; + if (i_591_ >= class64_sub1_586_.aShort5395 && i_591_ <= class64_sub1_586_.aShort5393) { + int i_592_ = anIntArray5312[i_589_] - i_585_; + if (i_592_ >= class64_sub1_586_.aShort5352 && i_592_ <= class64_sub1_586_.aShort5331) { + for (int i_593_ = 0; i_593_ < i_588_; i_593_++) { + Component242 class360_594_ = (class64_sub1_586_.aClass360Array5360[i_593_]); + if (i_591_ == is[i_593_] && i_592_ == (class64_sub1_586_.anIntArray5312[i_593_]) && i_590_ == (class64_sub1_586_.anIntArray5332[i_593_]) && (class360_594_.anInt4429 != 0)) { + if (aClass360Array5313 == null) aClass360Array5313 = new Component242[anInt5387]; + if (class64_sub1_586_.aClass360Array5313 == null) class64_sub1_586_.aClass360Array5313 = new Component242[i_588_]; + Component242 class360_595_ = aClass360Array5313[i_589_]; + if (class360_595_ == null) class360_595_ = aClass360Array5313[i_589_] = new Component242(class360); + Component242 class360_596_ = (class64_sub1_586_.aClass360Array5313[i_593_]); + if (class360_596_ == null) class360_596_ = class64_sub1_586_.aClass360Array5313[i_593_] = new Component242(class360_594_); + class360_595_.anInt4430 += (class360_594_.anInt4430); + class360_595_.anInt4428 += (class360_594_.anInt4428); + class360_595_.anInt4427 += (class360_594_.anInt4427); + class360_595_.anInt4429 += (class360_594_.anInt4429); + class360_596_.anInt4430 += class360.anInt4430; + class360_596_.anInt4428 += class360.anInt4428; + class360_596_.anInt4427 += class360.anInt4427; + class360_596_.anInt4429 += class360.anInt4429; + i_587_++; + anIntArray5326[i_589_] = anInt5341; + anIntArray5318[i_593_] = anInt5341; + } + } + } + } + } + } + } + if (i_587_ >= 3 && bool) { + for (int i_597_ = 0; i_597_ < anInt5351; i_597_++) { + if (anIntArray5326[aShortArray5317[i_597_]] == anInt5341 && anIntArray5326[aShortArray5394[i_597_]] == anInt5341 && anIntArray5326[aShortArray5364[i_597_]] == anInt5341) { + if (aByteArray5386 == null) aByteArray5386 = new byte[anInt5351]; + aByteArray5386[i_597_] = (byte) 2; + } + } + for (int i_598_ = 0; i_598_ < class64_sub1_586_.anInt5351; i_598_++) { + if ((anIntArray5318[class64_sub1_586_.aShortArray5317[i_598_]] == anInt5341) && anIntArray5318[(class64_sub1_586_.aShortArray5394[i_598_])] == anInt5341 && anIntArray5318[(class64_sub1_586_.aShortArray5364[i_598_])] == anInt5341) { + if (class64_sub1_586_.aByteArray5386 == null) class64_sub1_586_.aByteArray5386 = new byte[class64_sub1_586_.anInt5351]; + class64_sub1_586_.aByteArray5386[i_598_] = (byte) 2; + } + } + } + } + + private final void method649() { + aClass360Array5360 = new Component242[anInt5387]; + for (int i = 0; i < anInt5387; i++) + aClass360Array5360[i] = new Component242(); + for (int i = 0; i < anInt5351; i++) { + short i_599_ = aShortArray5317[i]; + short i_600_ = aShortArray5394[i]; + short i_601_ = aShortArray5364[i]; + int i_602_ = anIntArray5356[i_600_] - anIntArray5356[i_599_]; + int i_603_ = anIntArray5332[i_600_] - anIntArray5332[i_599_]; + int i_604_ = anIntArray5312[i_600_] - anIntArray5312[i_599_]; + int i_605_ = anIntArray5356[i_601_] - anIntArray5356[i_599_]; + int i_606_ = anIntArray5332[i_601_] - anIntArray5332[i_599_]; + int i_607_ = anIntArray5312[i_601_] - anIntArray5312[i_599_]; + int i_608_ = i_603_ * i_607_ - i_606_ * i_604_; + int i_609_ = i_604_ * i_605_ - i_607_ * i_602_; + int i_610_; + for (i_610_ = i_602_ * i_606_ - i_605_ * i_603_; (i_608_ > 8192 || i_609_ > 8192 || i_610_ > 8192 || i_608_ < -8192 || i_609_ < -8192 || i_610_ < -8192); i_610_ >>= 1) { + i_608_ >>= 1; + i_609_ >>= 1; + } + int i_611_ = (int) Math.sqrt(i_608_ * i_608_ + i_609_ * i_609_ + i_610_ * i_610_); + if (i_611_ <= 0) i_611_ = 1; + i_608_ = i_608_ * 256 / i_611_; + i_609_ = i_609_ * 256 / i_611_; + i_610_ = i_610_ * 256 / i_611_; + byte i_612_; + if (aByteArray5386 == null) i_612_ = (byte) 0; + else i_612_ = aByteArray5386[i]; + if (i_612_ == 0) { + Component242 class360 = aClass360Array5360[i_599_]; + class360.anInt4430 += i_608_; + class360.anInt4428 += i_609_; + class360.anInt4427 += i_610_; + class360.anInt4429++; + class360 = aClass360Array5360[i_600_]; + class360.anInt4430 += i_608_; + class360.anInt4428 += i_609_; + class360.anInt4427 += i_610_; + class360.anInt4429++; + class360 = aClass360Array5360[i_601_]; + class360.anInt4430 += i_608_; + class360.anInt4428 += i_609_; + class360.anInt4427 += i_610_; + class360.anInt4429++; + } else if (i_612_ == 1) { + if (aClass41Array5385 == null) aClass41Array5385 = new Component106[anInt5351]; + Component106 class41 = aClass41Array5385[i] = new Component106(); + class41.anInt561 = i_608_; + class41.anInt560 = i_609_; + class41.anInt559 = i_610_; + } + } + } + + final void H(int i, int i_613_, int i_614_) { + if (i != 0 && (anInt5316 & 0x1) != 1) throw new IllegalStateException(); + if (i_613_ != 0 && (anInt5316 & 0x2) != 2) throw new IllegalStateException(); + if (i_614_ != 0 && (anInt5316 & 0x4) != 4) throw new IllegalStateException(); + synchronized (this) { + for (int i_615_ = 0; i_615_ < anInt5340; i_615_++) { + anIntArray5356[i_615_] += i; + anIntArray5332[i_615_] += i_613_; + anIntArray5312[i_615_] += i_614_; + } + } + } + + final void v() { + if ((anInt5316 & 0x10) != 16) throw new IllegalStateException(); + synchronized (this) { + for (int i = 0; i < anInt5340; i++) + anIntArray5312[i] = -anIntArray5312[i]; + if (aClass360Array5360 != null) { + for (int i = 0; i < anInt5387; i++) { + if (aClass360Array5360[i] != null) aClass360Array5360[i].anInt4427 = -aClass360Array5360[i].anInt4427; + } + } + if (aClass360Array5313 != null) { + for (int i = 0; i < anInt5387; i++) { + if (aClass360Array5313[i] != null) aClass360Array5313[i].anInt4427 = -aClass360Array5313[i].anInt4427; + } + } + if (aClass41Array5385 != null) { + for (int i = 0; i < anInt5351; i++) { + if (aClass41Array5385[i] != null) aClass41Array5385[i].anInt559 = -aClass41Array5385[i].anInt559; + } + } + short[] is = aShortArray5317; + aShortArray5317 = aShortArray5364; + aShortArray5364 = is; + if (aFloatArrayArray5314 != null) { + for (int i = 0; i < anInt5351; i++) { + if (aFloatArrayArray5314[i] != null) { + float f = aFloatArrayArray5314[i][0]; + aFloatArrayArray5314[i][0] = aFloatArrayArray5314[i][2]; + aFloatArrayArray5314[i][2] = f; + } + if (aFloatArrayArray5345[i] != null) { + float f = aFloatArrayArray5345[i][0]; + aFloatArrayArray5345[i][0] = aFloatArrayArray5345[i][2]; + aFloatArrayArray5345[i][2] = f; + } + } + } + aBoolean5323 = false; + anInt5354 = 0; + } + } + + private final void method650(boolean bool, boolean bool_616_, int i, int i_617_) { + if (aClass6Array5361 != null) { + for (int i_618_ = 0; i_618_ < anInt5389; i_618_++) { + BuildInfo class6 = aClass6Array5361[i_618_]; + anIntArray5400[class6.anInt144] = i_618_; + } + } + if (aBoolean5382 || aClass6Array5361 != null) { + if ((anInt5316 & 0x100) == 0 && aShortArray5327 != null) { + for (int i_619_ = 0; i_619_ < anInt5351; i_619_++) { + short i_620_ = aShortArray5327[i_619_]; + method643(i_620_, bool, bool_616_); + } + } else { + for (int i_621_ = 0; i_621_ < anInt5351; i_621_++) { + if (!method629(i_621_) && !method638(i_621_)) method643(i_621_, bool, bool_616_); + } + if (aByteArray5358 == null) { + for (int i_622_ = 0; i_622_ < anInt5351; i_622_++) { + if (method629(i_622_) || method638(i_622_)) method643(i_622_, bool, bool_616_); + } + } else { + for (int i_623_ = 0; i_623_ < 12; i_623_++) { + for (int i_624_ = 0; i_624_ < anInt5351; i_624_++) { + if (aByteArray5358[i_624_] == i_623_ && (method629(i_624_) || method638(i_624_))) method643(i_624_, bool, bool_616_); + } + } + } + } + } else { + for (int i_625_ = 0; i_625_ < anInt5351; i_625_++) + method643(i_625_, bool, bool_616_); + } + } + + private final void method651() { + synchronized (this) { + for (int i = 0; i < anInt5340; i++) { + anIntArray5356[i] = -anIntArray5356[i]; + anIntArray5312[i] = -anIntArray5312[i]; + } + method631(); + } + } + + final void ia(short i, short i_626_) { + for (int i_627_ = 0; i_627_ < anInt5351; i_627_++) { + if (aShortArray5311[i_627_] == i) aShortArray5311[i_627_] = i_626_; + } + if (aClass6Array5361 != null) { + for (int i_628_ = 0; i_628_ < anInt5389; i_628_++) { + BuildInfo class6 = aClass6Array5361[i_628_]; + Component360 class350 = aClass350Array5363[i_628_]; + class350.anInt4313 = (class350.anInt4313 & ~0xffffff | (Component380.anIntArray4983[Component361.method303((aShortArray5311[class6.anInt144]), 30) & 0xffff]) & 0xffffff); + } + } + if (anInt5354 == 2) anInt5354 = 1; + } + + private final void method652() { + synchronized (this) { + for (int i = 0; i < anInt5387; i++) { + anIntArray5356[i] = -anIntArray5356[i]; + anIntArray5312[i] = -anIntArray5312[i]; + if (aClass360Array5360[i] != null) { + aClass360Array5360[i].anInt4430 = -aClass360Array5360[i].anInt4430; + aClass360Array5360[i].anInt4427 = -aClass360Array5360[i].anInt4427; + } + } + if (aClass41Array5385 != null) { + for (int i = 0; i < anInt5351; i++) { + if (aClass41Array5385[i] != null) { + aClass41Array5385[i].anInt561 = -aClass41Array5385[i].anInt561; + aClass41Array5385[i].anInt559 = -aClass41Array5385[i].anInt559; + } + } + } + for (int i = anInt5387; i < anInt5340; i++) { + anIntArray5356[i] = -anIntArray5356[i]; + anIntArray5312[i] = -anIntArray5312[i]; + } + anInt5354 = 0; + aBoolean5323 = false; + } + } + + private final void method653() { + synchronized (this) { + for (int i = 0; i < anInt5387; i++) { + int i_629_ = anIntArray5356[i]; + anIntArray5356[i] = anIntArray5312[i]; + anIntArray5312[i] = -i_629_; + if (aClass360Array5360[i] != null) { + i_629_ = aClass360Array5360[i].anInt4430; + aClass360Array5360[i].anInt4430 = aClass360Array5360[i].anInt4427; + aClass360Array5360[i].anInt4427 = -i_629_; + } + } + if (aClass41Array5385 != null) { + for (int i = 0; i < anInt5351; i++) { + if (aClass41Array5385[i] != null) { + int i_630_ = aClass41Array5385[i].anInt561; + aClass41Array5385[i].anInt561 = aClass41Array5385[i].anInt559; + aClass41Array5385[i].anInt559 = -i_630_; + } + } + } + for (int i = anInt5387; i < anInt5340; i++) { + int i_631_ = anIntArray5356[i]; + anIntArray5356[i] = anIntArray5312[i]; + anIntArray5312[i] = -i_631_; + } + anInt5354 = 0; + aBoolean5323 = false; + } + } + + private final void method654(DisplayModeManagerContainer204 class101, RenderableSub3 class318_sub3, int i, int i_632_) { + if (anInt5387 >= 1) { + aClass101_Sub1_5320 = (MatrixSub1) class101; + MatrixSub1 class101_sub1 = aHa_Sub1_5353.aClass101_Sub1_7492; + if (!aBoolean5323) method655(); + boolean bool = false; + if (aClass101_Sub1_5320.aFloat5672 == 16384.0F && aClass101_Sub1_5320.aFloat5673 == 0.0F && aClass101_Sub1_5320.aFloat5669 == 0.0F && aClass101_Sub1_5320.aFloat5655 == 0.0F && aClass101_Sub1_5320.aFloat5678 == 16384.0F && aClass101_Sub1_5320.aFloat5666 == 0.0F && aClass101_Sub1_5320.aFloat5662 == 0.0F && aClass101_Sub1_5320.aFloat5680 == 0.0F && (aClass101_Sub1_5320.aFloat5664 == 16384.0F)) + bool = true; + float f = (class101_sub1.aFloat5681 + (class101_sub1.aFloat5662 * aClass101_Sub1_5320.aFloat5686) + (class101_sub1.aFloat5680 * aClass101_Sub1_5320.aFloat5685) + (class101_sub1.aFloat5664 * aClass101_Sub1_5320.aFloat5681)); + float f_633_ = (bool ? class101_sub1.aFloat5680 : ((class101_sub1.aFloat5662 * aClass101_Sub1_5320.aFloat5673) + (class101_sub1.aFloat5680 * aClass101_Sub1_5320.aFloat5678) + (class101_sub1.aFloat5664 * aClass101_Sub1_5320.aFloat5680))); + int i_634_ = (int) (f + (float) aShort5329 * f_633_); + int i_635_ = (int) (f + (float) aShort5365 * f_633_); + int i_636_; + int i_637_; + if (i_634_ > i_635_) { + i_636_ = i_635_ - aShort5324; + i_637_ = i_634_ + aShort5324; + } else { + i_636_ = i_634_ - aShort5324; + i_637_ = i_635_ + aShort5324; + } + if (i_636_ < aHa_Sub1_5353.anInt7494 && i_637_ > aHa_Sub1_5353.anInt7482) { + float f_638_ = (class101_sub1.aFloat5686 + (class101_sub1.aFloat5672 * aClass101_Sub1_5320.aFloat5686) + (class101_sub1.aFloat5673 * aClass101_Sub1_5320.aFloat5685) + (class101_sub1.aFloat5669 * aClass101_Sub1_5320.aFloat5681)); + float f_639_ = (bool ? class101_sub1.aFloat5673 : ((class101_sub1.aFloat5672 * aClass101_Sub1_5320.aFloat5673) + (class101_sub1.aFloat5673 * (aClass101_Sub1_5320.aFloat5678)) + (class101_sub1.aFloat5669 * (aClass101_Sub1_5320.aFloat5680)))); + int i_640_ = (int) (f_638_ + (float) aShort5329 * f_639_); + int i_641_ = (int) (f_638_ + (float) aShort5365 * f_639_); + int i_642_; + int i_643_; + if (i_640_ > i_641_) { + i_642_ = ((i_641_ - aShort5324) * aHa_Sub1_5353.anInt7491); + i_643_ = ((i_640_ + aShort5324) * aHa_Sub1_5353.anInt7491); + } else { + i_642_ = ((i_640_ - aShort5324) * aHa_Sub1_5353.anInt7491); + i_643_ = ((i_641_ + aShort5324) * aHa_Sub1_5353.anInt7491); + } + if (i == -1) { + if (i_642_ / i_637_ >= aHa_Sub1_5353.anInt7508 || (i_643_ / i_637_ <= aHa_Sub1_5353.anInt7509)) return; + } else if (i_642_ / i >= aHa_Sub1_5353.anInt7508 || (i_643_ / i <= aHa_Sub1_5353.anInt7509)) return; + float f_644_ = (class101_sub1.aFloat5685 + (class101_sub1.aFloat5655 * aClass101_Sub1_5320.aFloat5686) + (class101_sub1.aFloat5678 * aClass101_Sub1_5320.aFloat5685) + (class101_sub1.aFloat5666 * aClass101_Sub1_5320.aFloat5681)); + float f_645_ = (bool ? class101_sub1.aFloat5678 : ((class101_sub1.aFloat5655 * aClass101_Sub1_5320.aFloat5673) + (class101_sub1.aFloat5678 * (aClass101_Sub1_5320.aFloat5678)) + (class101_sub1.aFloat5666 * (aClass101_Sub1_5320.aFloat5680)))); + int i_646_ = (int) (f_644_ + (float) aShort5329 * f_645_); + int i_647_ = (int) (f_644_ + (float) aShort5365 * f_645_); + int i_648_; + int i_649_; + if (i_646_ > i_647_) { + i_648_ = ((i_647_ - aShort5324) * aHa_Sub1_5353.anInt7497); + i_649_ = ((i_646_ + aShort5324) * aHa_Sub1_5353.anInt7497); + } else { + i_648_ = ((i_646_ - aShort5324) * aHa_Sub1_5353.anInt7497); + i_649_ = ((i_647_ + aShort5324) * aHa_Sub1_5353.anInt7497); + } + if (i == -1) { + if (i_648_ / i_637_ >= aHa_Sub1_5353.anInt7506 || (i_649_ / i_637_ <= aHa_Sub1_5353.anInt7490)) return; + } else if (i_648_ / i >= aHa_Sub1_5353.anInt7506 || (i_649_ / i <= aHa_Sub1_5353.anInt7490)) return; + float f_650_; + float f_651_; + float f_652_; + float f_653_; + float f_654_; + float f_655_; + if (bool) { + f_650_ = class101_sub1.aFloat5672; + f_651_ = class101_sub1.aFloat5655; + f_652_ = class101_sub1.aFloat5662; + f_653_ = class101_sub1.aFloat5669; + f_654_ = class101_sub1.aFloat5666; + f_655_ = class101_sub1.aFloat5664; + } else { + f_650_ = ((class101_sub1.aFloat5672 * aClass101_Sub1_5320.aFloat5672) + (class101_sub1.aFloat5673 * (aClass101_Sub1_5320.aFloat5655)) + (class101_sub1.aFloat5669 * (aClass101_Sub1_5320.aFloat5662))); + f_651_ = ((class101_sub1.aFloat5655 * aClass101_Sub1_5320.aFloat5672) + (class101_sub1.aFloat5678 * (aClass101_Sub1_5320.aFloat5655)) + (class101_sub1.aFloat5666 * (aClass101_Sub1_5320.aFloat5662))); + f_652_ = ((class101_sub1.aFloat5662 * aClass101_Sub1_5320.aFloat5672) + (class101_sub1.aFloat5680 * (aClass101_Sub1_5320.aFloat5655)) + (class101_sub1.aFloat5664 * (aClass101_Sub1_5320.aFloat5662))); + f_653_ = ((class101_sub1.aFloat5672 * aClass101_Sub1_5320.aFloat5669) + (class101_sub1.aFloat5673 * (aClass101_Sub1_5320.aFloat5666)) + (class101_sub1.aFloat5669 * (aClass101_Sub1_5320.aFloat5664))); + f_654_ = ((class101_sub1.aFloat5655 * aClass101_Sub1_5320.aFloat5669) + (class101_sub1.aFloat5678 * (aClass101_Sub1_5320.aFloat5666)) + (class101_sub1.aFloat5666 * (aClass101_Sub1_5320.aFloat5664))); + f_655_ = ((class101_sub1.aFloat5662 * aClass101_Sub1_5320.aFloat5669) + (class101_sub1.aFloat5680 * (aClass101_Sub1_5320.aFloat5666)) + (class101_sub1.aFloat5664 * (aClass101_Sub1_5320.aFloat5664))); + } + if (aHa_Sub1_5353.anInt7485 > 1) { + synchronized (this) { + while (aBoolean5357) { + try { + this.wait(); + } catch (InterruptedException interruptedexception) { + /* empty */ + } + } + aBoolean5357 = true; + } + } + method632(Thread.currentThread()); + aClass109_5383.method1023((i_632_ & 0x2) != 0); + boolean bool_656_ = false; + boolean bool_657_ = i_636_ <= aHa_Sub1_5353.anInt7482; + boolean bool_658_ = (bool_657_ || aClass129Array5322 != null || aClass342Array5335 != null); + aClass167_5367.anInt2221 = aClass109_5383.anInt1679; + aClass167_5367.anInt2229 = aClass109_5383.anInt1665; + aClass167_5367.anInt2215 = aClass109_5383.anInt1668; + int i_659_ = aHa_Sub1_5353.anInt7491; + int i_660_ = aHa_Sub1_5353.anInt7497; + int i_661_ = aHa_Sub1_5353.anInt7482; + if (i == -1) { + for (int i_662_ = 0; i_662_ < anInt5340; i_662_++) { + int i_663_ = anIntArray5356[i_662_]; + int i_664_ = anIntArray5332[i_662_]; + int i_665_ = anIntArray5312[i_662_]; + float f_666_ = (f_638_ + f_650_ * (float) i_663_ + f_639_ * (float) i_664_ + f_653_ * (float) i_665_); + float f_667_ = (f_644_ + f_651_ * (float) i_663_ + f_645_ * (float) i_664_ + f_654_ * (float) i_665_); + float f_668_ = (f + f_652_ * (float) i_663_ + f_633_ * (float) i_664_ + f_655_ * (float) i_665_); + anIntArray5355[i_662_] = (int) f_668_; + if (f_668_ >= (float) i_661_) { + anIntArray5321[i_662_] = (aClass167_5367.anInt2229 + (int) (f_666_ * (float) i_659_ / f_668_)); + anIntArray5343[i_662_] = (aClass167_5367.anInt2215 + (int) (f_667_ * (float) i_660_ / f_668_)); + } else { + anIntArray5321[i_662_] = -5000; + bool_656_ = true; + } + if (bool_658_) { + anIntArray5399[i_662_] = (int) f_666_; + anIntArray5384[i_662_] = (int) f_667_; + anIntArray5392[i_662_] = (int) f_668_; + } + if (aClass167_5367.aBoolean2195) anIntArray5362[i_662_] = (int) ((aClass101_Sub1_5320.aFloat5685) + ((aClass101_Sub1_5320.aFloat5655 * (float) i_663_) + (aClass101_Sub1_5320.aFloat5678 * (float) i_664_) + (aClass101_Sub1_5320.aFloat5666 * (float) i_665_))); + } + if (aClass6Array5361 != null) { + for (int i_669_ = 0; i_669_ < anInt5389; i_669_++) { + BuildInfo class6 = aClass6Array5361[i_669_]; + Component360 class350 = aClass350Array5363[i_669_]; + short i_670_ = aShortArray5317[class6.anInt144]; + short i_671_ = aShortArray5394[class6.anInt144]; + short i_672_ = aShortArray5364[class6.anInt144]; + int i_673_ = ((anIntArray5356[i_670_] + anIntArray5356[i_671_] + anIntArray5356[i_672_]) / 3); + int i_674_ = ((anIntArray5332[i_670_] + anIntArray5332[i_671_] + anIntArray5332[i_672_]) / 3); + int i_675_ = ((anIntArray5312[i_670_] + anIntArray5312[i_671_] + anIntArray5312[i_672_]) / 3); + float f_676_ = ((float) class350.anInt4316 + (f_638_ + f_650_ * (float) i_673_ + f_639_ * (float) i_674_ + f_653_ * (float) i_675_)); + float f_677_ = ((float) class350.anInt4317 + (f_644_ + f_651_ * (float) i_673_ + f_645_ * (float) i_674_ + f_654_ * (float) i_675_)); + float f_678_ = (f + f_652_ * (float) i_673_ + f_633_ * (float) i_674_ + f_655_ * (float) i_675_); + if (f_678_ > (float) (aHa_Sub1_5353.anInt7482)) { + class350.anInt4312 = (aHa_Sub1_5353.anInt7510 + (int) (f_676_ * (float) i_659_ / f_678_)); + class350.anInt4310 = (aHa_Sub1_5353.anInt7504 + (int) (f_677_ * (float) i_660_ / f_678_)); + class350.anInt4320 = ((int) f_678_ - class6.anInt154); + class350.anInt4309 = (int) ((float) ((class350.anInt4314) * (class6.aShort150) * i_659_) / (f_678_ * 128.0F)); + class350.anInt4307 = (int) ((float) ((class350.anInt4311) * (class6.aShort143) * i_660_) / (f_678_ * 128.0F)); + } else class350.anInt4309 = class350.anInt4307 = 0; + } + } + } else { + for (int i_679_ = 0; i_679_ < anInt5340; i_679_++) { + int i_680_ = anIntArray5356[i_679_]; + int i_681_ = anIntArray5332[i_679_]; + int i_682_ = anIntArray5312[i_679_]; + float f_683_ = (f_638_ + f_650_ * (float) i_680_ + f_639_ * (float) i_681_ + f_653_ * (float) i_682_); + float f_684_ = (f_644_ + f_651_ * (float) i_680_ + f_645_ * (float) i_681_ + f_654_ * (float) i_682_); + float f_685_ = (f + f_652_ * (float) i_680_ + f_633_ * (float) i_681_ + f_655_ * (float) i_682_); + anIntArray5355[i_679_] = (int) f_685_; + anIntArray5321[i_679_] = (aClass167_5367.anInt2229 + (int) (f_683_ * (float) i_659_ / (float) i)); + anIntArray5343[i_679_] = (aClass167_5367.anInt2215 + (int) (f_684_ * (float) i_660_ / (float) i)); + if (bool_658_) { + anIntArray5399[i_679_] = (int) f_683_; + anIntArray5384[i_679_] = (int) f_684_; + anIntArray5392[i_679_] = i; + } + if (aClass167_5367.aBoolean2195) anIntArray5362[i_679_] = (int) ((aClass101_Sub1_5320.aFloat5685) + ((aClass101_Sub1_5320.aFloat5655 * (float) i_680_) + (aClass101_Sub1_5320.aFloat5678 * (float) i_681_) + (aClass101_Sub1_5320.aFloat5666 * (float) i_682_))); + } + if (aClass6Array5361 != null) { + for (int i_686_ = 0; i_686_ < anInt5389; i_686_++) { + BuildInfo class6 = aClass6Array5361[i_686_]; + Component360 class350 = aClass350Array5363[i_686_]; + short i_687_ = aShortArray5317[class6.anInt144]; + short i_688_ = aShortArray5394[class6.anInt144]; + short i_689_ = aShortArray5364[class6.anInt144]; + int i_690_ = ((anIntArray5356[i_687_] + anIntArray5356[i_688_] + anIntArray5356[i_689_]) / 3); + int i_691_ = ((anIntArray5332[i_687_] + anIntArray5332[i_688_] + anIntArray5332[i_689_]) / 3); + int i_692_ = ((anIntArray5312[i_687_] + anIntArray5312[i_688_] + anIntArray5312[i_689_]) / 3); + float f_693_ = (f_638_ + f_650_ * (float) i_690_ + f_639_ * (float) i_691_ + f_653_ * (float) i_692_); + float f_694_ = (f_644_ + f_651_ * (float) i_690_ + f_645_ * (float) i_691_ + f_654_ * (float) i_692_); + float f_695_ = (f + f_652_ * (float) i_690_ + f_633_ * (float) i_691_ + f_655_ * (float) i_692_); + class350.anInt4312 = (aHa_Sub1_5353.anInt7510 + (int) (f_693_ * (float) i_659_ / (float) i)); + class350.anInt4310 = (aHa_Sub1_5353.anInt7504 + (int) (f_694_ * (float) i_660_ / (float) i)); + class350.anInt4320 = i - class6.anInt154; + class350.anInt4309 = (class350.anInt4314 * class6.aShort150 * i_659_ / (i << 7)); + class350.anInt4307 = (class350.anInt4311 * class6.aShort143 * i_660_ / (i << 7)); + } + } + } + if (class318_sub3 != null) { + boolean bool_696_ = false; + boolean bool_697_ = true; + int i_698_ = aShort5395 + aShort5393 >> 1; + int i_699_ = aShort5352 + aShort5331 >> 1; + int i_700_ = i_698_; + short i_701_ = aShort5329; + int i_702_ = i_699_; + float f_703_ = (f_638_ + f_650_ * (float) i_700_ + f_639_ * (float) i_701_ + f_653_ * (float) i_702_); + float f_704_ = (f_644_ + f_651_ * (float) i_700_ + f_645_ * (float) i_701_ + f_654_ * (float) i_702_); + float f_705_ = (f + f_652_ * (float) i_700_ + f_633_ * (float) i_701_ + f_655_ * (float) i_702_); + if (f_705_ >= (float) i_661_) { + int i_706_ = (int) f_705_; + if (i != -1) i_706_ = i; + class318_sub3.anInt6405 = (aHa_Sub1_5353.anInt7510 + (int) (f_703_ * (float) i_659_ / (float) i_706_)); + class318_sub3.anInt6402 = (aHa_Sub1_5353.anInt7504 + (int) (f_704_ * (float) i_660_ / (float) i_706_)); + } else bool_696_ = true; + i_700_ = i_698_; + i_701_ = aShort5365; + i_702_ = i_699_; + float f_707_ = (f_638_ + f_650_ * (float) i_700_ + f_639_ * (float) i_701_ + f_653_ * (float) i_702_); + float f_708_ = (f_644_ + f_651_ * (float) i_700_ + f_645_ * (float) i_701_ + f_654_ * (float) i_702_); + float f_709_ = (f + f_652_ * (float) i_700_ + f_633_ * (float) i_701_ + f_655_ * (float) i_702_); + if (f_709_ >= (float) i_661_) { + int i_710_ = (int) f_709_; + if (i != -1) i_710_ = i; + class318_sub3.anInt6406 = (aHa_Sub1_5353.anInt7510 + (int) (f_707_ * (float) i_659_ / (float) i_710_)); + class318_sub3.anInt6404 = (aHa_Sub1_5353.anInt7504 + (int) (f_708_ * (float) i_660_ / (float) i_710_)); + } else bool_696_ = true; + if (bool_696_) { + if (f_705_ < (float) i_661_ && f_709_ < (float) i_661_) bool_697_ = false; + else if (f_705_ < (float) i_661_) { + float f_711_ = ((f_709_ - (float) (aHa_Sub1_5353.anInt7482)) / (f_709_ - f_705_)); + int i_712_ = (int) (f_707_ + (f_707_ - f_703_) * f_711_); + int i_713_ = (int) (f_708_ + (f_708_ - f_704_) * f_711_); + int i_714_ = i_661_; + if (i != -1) i_714_ = i; + class318_sub3.anInt6405 = (aHa_Sub1_5353.anInt7510 + i_712_ * i_659_ / i_714_); + class318_sub3.anInt6402 = (aHa_Sub1_5353.anInt7504 + i_713_ * i_660_ / i_714_); + } else if (f_709_ < (float) i_661_) { + float f_715_ = ((f_705_ - (float) i_661_) / (f_705_ - f_709_)); + int i_716_ = (int) (f_703_ + (f_703_ - f_707_) * f_715_); + int i_717_ = (int) (f_704_ + (f_704_ - f_708_) * f_715_); + int i_718_ = i_661_; + if (i != -1) i_718_ = i; + class318_sub3.anInt6405 = (aHa_Sub1_5353.anInt7510 + i_716_ * i_659_ / i_718_); + class318_sub3.anInt6402 = (aHa_Sub1_5353.anInt7504 + i_717_ * i_660_ / i_718_); + } + } + if (bool_697_) { + if (f_705_ > f_709_) { + int i_719_ = (int) f_705_; + if (i != -1) i_719_ = i; + class318_sub3.anInt6403 = (aHa_Sub1_5353.anInt7510 + (int) ((f_703_ + (float) aShort5324) * (float) i_659_ / (float) i_719_) - (class318_sub3.anInt6405)); + } else { + int i_720_ = (int) f_709_; + if (i != -1) i_720_ = i; + class318_sub3.anInt6403 = (aHa_Sub1_5353.anInt7510 + (int) ((f_707_ + (float) aShort5324) * (float) i_659_ / (float) i_720_) - (class318_sub3.anInt6406)); + } + class318_sub3.aBoolean6401 = true; + } + } + method634(true); + aClass109_5383.aBoolean1669 = (i_632_ & 0x1) == 0; + aClass109_5383.aBoolean1667 = false; + try { + method650(bool_656_, ((aClass167_5367.aBoolean2201 && (i_637_ > aClass167_5367.anInt2210)) || aClass167_5367.aBoolean2195), i_636_, i_637_ - i_636_); + } catch (Exception exception) { + /* empty */ + } + if (aClass6Array5361 != null) { + for (int i_721_ = 0; i_721_ < anInt5351; i_721_++) + anIntArray5400[i_721_] = -1; + } + aClass109_5383 = null; + if (aHa_Sub1_5353.anInt7485 > 1) { + synchronized (this) { + aBoolean5357 = false; + this.notifyAll(); + } + } + } + } + } + + final boolean r() { + return aBoolean5391; + } + + private final void method655() { + if (!aBoolean5323) { + int i = 0; + int i_722_ = 0; + int i_723_ = 32767; + int i_724_ = 32767; + int i_725_ = 32767; + int i_726_ = -32768; + int i_727_ = -32768; + int i_728_ = -32768; + for (int i_729_ = 0; i_729_ < anInt5387; i_729_++) { + int i_730_ = anIntArray5356[i_729_]; + int i_731_ = anIntArray5332[i_729_]; + int i_732_ = anIntArray5312[i_729_]; + if (i_730_ < i_723_) i_723_ = i_730_; + if (i_730_ > i_726_) i_726_ = i_730_; + if (i_731_ < i_724_) i_724_ = i_731_; + if (i_731_ > i_727_) i_727_ = i_731_; + if (i_732_ < i_725_) i_725_ = i_732_; + if (i_732_ > i_728_) i_728_ = i_732_; + int i_733_ = i_730_ * i_730_ + i_732_ * i_732_; + if (i_733_ > i) i = i_733_; + i_733_ += i_731_ * i_731_; + if (i_733_ > i_722_) i_722_ = i_733_; + } + aShort5395 = (short) i_723_; + aShort5393 = (short) i_726_; + aShort5329 = (short) i_724_; + aShort5365 = (short) i_727_; + aShort5352 = (short) i_725_; + aShort5331 = (short) i_728_; + aShort5324 = (short) (int) (Math.sqrt(i) + 0.99); + aShort5348 = (short) (int) (Math.sqrt(i_722_) + 0.99); + aBoolean5323 = true; + } + } + + private final int method656(int i) { + if (i < 2) i = 2; + else if (i > 126) i = 126; + return i; + } + + private final void method657(boolean bool) { + if (anInt5354 == 1) method647(); + else if (anInt5354 == 2) { + if ((anInt5316 & 0x97098) == 0 && aFloatArrayArray5314 == null) aShortArray5311 = null; + if (bool) aByteArray5386 = null; + } else { + method636(); + int i = aHa_Sub1_5353.anInt7484; + int i_734_ = aHa_Sub1_5353.anInt7473; + int i_735_ = aHa_Sub1_5353.anInt7479; + int i_736_ = aHa_Sub1_5353.anInt7500 >> 8; + int i_737_ = aHa_Sub1_5353.anInt7474 * 768 / anInt5349; + int i_738_ = aHa_Sub1_5353.anInt7478 * 768 / anInt5349; + if (anIntArray5368 == null) { + anIntArray5368 = new int[anInt5351]; + anIntArray5337 = new int[anInt5351]; + anIntArray5366 = new int[anInt5351]; + } + for (int i_739_ = 0; i_739_ < anInt5351; i_739_++) { + byte i_740_; + if (aByteArray5386 == null) i_740_ = (byte) 0; + else i_740_ = aByteArray5386[i_739_]; + byte i_741_; + if (aByteArray5325 == null) i_741_ = (byte) 0; + else i_741_ = aByteArray5325[i_739_]; + short i_742_; + if (aShortArray5388 == null) i_742_ = (short) -1; + else i_742_ = aShortArray5388[i_739_]; + if (i_741_ == -2) i_740_ = (byte) 3; + if (i_741_ == -1) i_740_ = (byte) 2; + if (i_742_ == -1) { + if (i_740_ == 0) { + int i_743_ = aShortArray5311[i_739_] & 0xffff; + int i_744_ = (i_743_ & 0x7f) * anInt5344 >> 7; + short i_745_ = Component361.method303(i_743_ & ~0x7f | i_744_, 30); + Component242 class360; + if (aClass360Array5313 != null && (aClass360Array5313[aShortArray5317[i_739_]] != null)) class360 = aClass360Array5313[aShortArray5317[i_739_]]; + else class360 = aClass360Array5360[aShortArray5317[i_739_]]; + int i_746_ = (((i * class360.anInt4430 + i_734_ * class360.anInt4428 + i_735_ * class360.anInt4427) / class360.anInt4429) >> 16); + int i_747_ = i_746_ > 256 ? i_737_ : i_738_; + int i_748_ = (i_736_ >> 1) + (i_747_ * i_746_ >> 17); + anIntArray5368[i_739_] = i_748_ << 17 | ReferenceTable.clampHslLightness(0, i_748_, i_745_); + if (aClass360Array5313 != null && (aClass360Array5313[aShortArray5394[i_739_]] != null)) class360 = aClass360Array5313[aShortArray5394[i_739_]]; + else class360 = aClass360Array5360[aShortArray5394[i_739_]]; + i_746_ = ((i * class360.anInt4430 + i_734_ * class360.anInt4428 + i_735_ * class360.anInt4427) / class360.anInt4429) >> 16; + i_747_ = i_746_ > 256 ? i_737_ : i_738_; + i_748_ = (i_736_ >> 1) + (i_747_ * i_746_ >> 17); + anIntArray5337[i_739_] = i_748_ << 17 | ReferenceTable.clampHslLightness(0, i_748_, i_745_); + if (aClass360Array5313 != null && (aClass360Array5313[aShortArray5364[i_739_]] != null)) class360 = aClass360Array5313[aShortArray5364[i_739_]]; + else class360 = aClass360Array5360[aShortArray5364[i_739_]]; + i_746_ = ((i * class360.anInt4430 + i_734_ * class360.anInt4428 + i_735_ * class360.anInt4427) / class360.anInt4429) >> 16; + i_747_ = i_746_ > 256 ? i_737_ : i_738_; + i_748_ = (i_736_ >> 1) + (i_747_ * i_746_ >> 17); + anIntArray5366[i_739_] = i_748_ << 17 | ReferenceTable.clampHslLightness(0, i_748_, i_745_); + } else if (i_740_ == 1) { + int i_749_ = aShortArray5311[i_739_] & 0xffff; + int i_750_ = (i_749_ & 0x7f) * anInt5344 >> 7; + short i_751_ = Component361.method303(i_749_ & ~0x7f | i_750_, 30); + Component106 class41 = aClass41Array5385[i_739_]; + int i_752_ = ((i * class41.anInt561 + i_734_ * class41.anInt560 + i_735_ * class41.anInt559) >> 16); + int i_753_ = i_752_ > 256 ? i_737_ : i_738_; + int i_754_ = (i_736_ >> 1) + (i_753_ * i_752_ >> 17); + anIntArray5368[i_739_] = i_754_ << 17 | ReferenceTable.clampHslLightness(0, i_754_, i_751_); + anIntArray5366[i_739_] = -1; + } else if (i_740_ == 3) { + anIntArray5368[i_739_] = 128; + anIntArray5366[i_739_] = -1; + } else anIntArray5366[i_739_] = -2; + } else { + int i_755_ = aShortArray5311[i_739_] & 0xffff; + if (i_740_ == 0) { + Component242 class360; + if (aClass360Array5313 != null && (aClass360Array5313[aShortArray5317[i_739_]] != null)) class360 = aClass360Array5313[aShortArray5317[i_739_]]; + else class360 = aClass360Array5360[aShortArray5317[i_739_]]; + int i_756_ = (((i * class360.anInt4430 + i_734_ * class360.anInt4428 + i_735_ * class360.anInt4427) / class360.anInt4429) >> 16); + int i_757_ = i_756_ > 256 ? i_737_ : i_738_; + int i_758_ = method656((i_736_ >> 2) + (i_757_ * i_756_ >> 18)); + anIntArray5368[i_739_] = i_758_ << 24 | method642(i_755_, i_742_, i_758_); + if (aClass360Array5313 != null && (aClass360Array5313[aShortArray5394[i_739_]] != null)) class360 = aClass360Array5313[aShortArray5394[i_739_]]; + else class360 = aClass360Array5360[aShortArray5394[i_739_]]; + i_756_ = ((i * class360.anInt4430 + i_734_ * class360.anInt4428 + i_735_ * class360.anInt4427) / class360.anInt4429) >> 16; + i_757_ = i_756_ > 256 ? i_737_ : i_738_; + i_758_ = method656((i_736_ >> 2) + (i_757_ * i_756_ >> 18)); + anIntArray5337[i_739_] = i_758_ << 24 | method642(i_755_, i_742_, i_758_); + if (aClass360Array5313 != null && (aClass360Array5313[aShortArray5364[i_739_]] != null)) class360 = aClass360Array5313[aShortArray5364[i_739_]]; + else class360 = aClass360Array5360[aShortArray5364[i_739_]]; + i_756_ = ((i * class360.anInt4430 + i_734_ * class360.anInt4428 + i_735_ * class360.anInt4427) / class360.anInt4429) >> 16; + i_757_ = i_756_ > 256 ? i_737_ : i_738_; + i_758_ = method656((i_736_ >> 2) + (i_757_ * i_756_ >> 18)); + anIntArray5366[i_739_] = i_758_ << 24 | method642(i_755_, i_742_, i_758_); + } else if (i_740_ == 1) { + Component106 class41 = aClass41Array5385[i_739_]; + int i_759_ = ((i * class41.anInt561 + i_734_ * class41.anInt560 + i_735_ * class41.anInt559) >> 16); + int i_760_ = i_759_ > 256 ? i_737_ : i_738_; + int i_761_ = method656((i_736_ >> 2) + (i_760_ * i_759_ >> 18)); + anIntArray5368[i_739_] = i_761_ << 24 | method642(i_755_, i_742_, i_761_); + anIntArray5366[i_739_] = -1; + } else anIntArray5366[i_739_] = -2; + } + } + aClass360Array5360 = null; + aClass360Array5313 = null; + aClass41Array5385 = null; + if ((anInt5316 & 0x97098) == 0 && aFloatArrayArray5314 == null) aShortArray5311 = null; + if (bool) aByteArray5386 = null; + anInt5354 = 2; + } + } + + final DisplayModeManagerContainer370 method614(byte i, int i_762_, boolean bool) { + method648(Thread.currentThread()); + DisplayModeManagerContainer164 class64_sub1_763_; + DisplayModeManagerContainer164 class64_sub1_764_; + if (i == 1) { + class64_sub1_763_ = aClass64_Sub1_5374; + class64_sub1_764_ = aClass64_Sub1_5378; + } else if (i == 2) { + class64_sub1_763_ = aClass64_Sub1_5328; + class64_sub1_764_ = aClass64_Sub1_5339; + } else if (i == 3) { + class64_sub1_763_ = aClass64_Sub1_5376; + class64_sub1_764_ = aClass64_Sub1_5396; + } else if (i == 4) { + class64_sub1_763_ = aClass64_Sub1_5397; + class64_sub1_764_ = aClass64_Sub1_5347; + } else if (i == 5) { + class64_sub1_763_ = aClass64_Sub1_5319; + class64_sub1_764_ = aClass64_Sub1_5390; + } else class64_sub1_764_ = class64_sub1_763_ = new DisplayModeManagerContainer164(aHa_Sub1_5353); + return method633(class64_sub1_764_, class64_sub1_763_, i_762_, i != 0, bool); + } + + final void O(int i, int i_765_, int i_766_) { + if (i != 128 && (anInt5316 & 0x1) != 1) throw new IllegalStateException(); + if (i_765_ != 128 && (anInt5316 & 0x2) != 2) throw new IllegalStateException(); + if (i_766_ != 128 && (anInt5316 & 0x4) != 4) throw new IllegalStateException(); + synchronized (this) { + for (int i_767_ = 0; i_767_ < anInt5340; i_767_++) { + anIntArray5356[i_767_] = anIntArray5356[i_767_] * i >> 7; + anIntArray5332[i_767_] = anIntArray5332[i_767_] * i_765_ >> 7; + anIntArray5312[i_767_] = anIntArray5312[i_767_] * i_766_ >> 7; + } + aBoolean5323 = false; + } + } + + final int ua() { + return anInt5316; + } + + private final void method658(int i) { + if (aClass167_5367.aBoolean2195) { + short i_777_ = aShortArray5317[i]; + short i_778_ = aShortArray5394[i]; + short i_779_ = aShortArray5364[i]; + int i_780_ = 0; + int i_781_ = 0; + int i_782_ = 0; + if (anIntArray5362[i_777_] > aClass167_5367.anInt2197) i_780_ = 255; + else if (anIntArray5362[i_777_] > aClass167_5367.anInt2211) i_780_ = ((aClass167_5367.anInt2211 - anIntArray5362[i_777_]) * 255 / (aClass167_5367.anInt2211 - aClass167_5367.anInt2197)); + if (anIntArray5362[i_778_] > aClass167_5367.anInt2197) i_781_ = 255; + else if (anIntArray5362[i_778_] > aClass167_5367.anInt2211) i_781_ = ((aClass167_5367.anInt2211 - anIntArray5362[i_778_]) * 255 / (aClass167_5367.anInt2211 - aClass167_5367.anInt2197)); + if (anIntArray5362[i_779_] > aClass167_5367.anInt2197) i_782_ = 255; + else if (anIntArray5362[i_779_] > aClass167_5367.anInt2211) i_782_ = ((aClass167_5367.anInt2211 - anIntArray5362[i_779_]) * 255 / (aClass167_5367.anInt2211 - aClass167_5367.anInt2197)); + if (aByteArray5325 == null) aClass109_5383.anInt1674 = 0; + else aClass109_5383.anInt1674 = aByteArray5325[i] & 0xff; + if (aShortArray5388 == null || aShortArray5388[i] == -1) { + if (anIntArray5366[i] == -1) + aClass109_5383.method1027((float) anIntArray5343[i_777_], (float) anIntArray5343[i_778_], (float) anIntArray5343[i_779_], (float) anIntArray5321[i_777_], (float) anIntArray5321[i_778_], (float) anIntArray5321[i_779_], (float) anIntArray5355[i_777_], (float) anIntArray5355[i_778_], (float) anIntArray5355[i_779_], BuildInfo.method206((Component380.anIntArray4983[anIntArray5368[i] & 0xffff]), (i_780_ << 24 | (aClass167_5367.anInt2192)), 255), BuildInfo.method206((Component380.anIntArray4983[anIntArray5368[i] & 0xffff]), (i_781_ << 24 | (aClass167_5367.anInt2192)), 255), BuildInfo.method206((Component380.anIntArray4983[anIntArray5368[i] & 0xffff]), (i_782_ << 24 | (aClass167_5367.anInt2192)), 255)); + else + aClass109_5383.method1027((float) anIntArray5343[i_777_], (float) anIntArray5343[i_778_], (float) anIntArray5343[i_779_], (float) anIntArray5321[i_777_], (float) anIntArray5321[i_778_], (float) anIntArray5321[i_779_], (float) anIntArray5355[i_777_], (float) anIntArray5355[i_778_], (float) anIntArray5355[i_779_], BuildInfo.method206((Component380.anIntArray4983[anIntArray5368[i] & 0xffff]), (i_780_ << 24 | (aClass167_5367.anInt2192)), 255), BuildInfo.method206((Component380.anIntArray4983[anIntArray5337[i] & 0xffff]), (i_781_ << 24 | (aClass167_5367.anInt2192)), 255), BuildInfo.method206((Component380.anIntArray4983[anIntArray5366[i] & 0xffff]), (i_782_ << 24 | (aClass167_5367.anInt2192)), 255)); + } else { + int i_783_ = -16777216; + if (aByteArray5325 != null) i_783_ = 255 - (aByteArray5325[i] & 0xff) << 24; + if (anIntArray5366[i] == -1) { + int i_784_ = i_783_ | anIntArray5368[i] & 0xffffff; + aClass109_5383.method1024((float) anIntArray5343[i_777_], (float) anIntArray5343[i_778_], (float) anIntArray5343[i_779_], (float) anIntArray5321[i_777_], (float) anIntArray5321[i_778_], (float) anIntArray5321[i_779_], (float) anIntArray5355[i_777_], (float) anIntArray5355[i_778_], (float) anIntArray5355[i_779_], aFloatArrayArray5314[i][0], aFloatArrayArray5314[i][1], aFloatArrayArray5314[i][2], aFloatArrayArray5345[i][0], aFloatArrayArray5345[i][1], aFloatArrayArray5345[i][2], i_784_, i_784_, i_784_, (aClass167_5367.anInt2192), i_780_, i_781_, i_782_, aShortArray5388[i]); + } else + aClass109_5383.method1024((float) anIntArray5343[i_777_], (float) anIntArray5343[i_778_], (float) anIntArray5343[i_779_], (float) anIntArray5321[i_777_], (float) anIntArray5321[i_778_], (float) anIntArray5321[i_779_], (float) anIntArray5355[i_777_], (float) anIntArray5355[i_778_], (float) anIntArray5355[i_779_], aFloatArrayArray5314[i][0], aFloatArrayArray5314[i][1], aFloatArrayArray5314[i][2], aFloatArrayArray5345[i][0], aFloatArrayArray5345[i][1], aFloatArrayArray5345[i][2], i_783_ | anIntArray5368[i] & 0xffffff, i_783_ | anIntArray5337[i] & 0xffffff, i_783_ | anIntArray5366[i] & 0xffffff, aClass167_5367.anInt2192, i_780_, i_781_, i_782_, aShortArray5388[i]); + } + } else { + short i_768_ = aShortArray5317[i]; + short i_769_ = aShortArray5394[i]; + short i_770_ = aShortArray5364[i]; + int i_771_ = (anIntArray5355[i_768_] - aClass167_5367.anInt2210); + if (i_771_ > 255) i_771_ = 255; + else if (i_771_ < 0) i_771_ = 0; + int i_772_ = (anIntArray5355[i_769_] - aClass167_5367.anInt2210); + if (i_772_ > 255) i_772_ = 255; + else if (i_772_ < 0) i_772_ = 0; + int i_773_ = (anIntArray5355[i_770_] - aClass167_5367.anInt2210); + if (i_773_ > 255) i_773_ = 255; + else if (i_773_ < 0) i_773_ = 0; + int i_774_ = i_771_ + i_772_ + i_773_; + if (i_774_ != 765) { + if (i_774_ == 0) method635(i); + else { + if (aByteArray5325 == null) aClass109_5383.anInt1674 = 0; + else aClass109_5383.anInt1674 = aByteArray5325[i] & 0xff; + if (aShortArray5388 == null || aShortArray5388[i] == -1) { + if (anIntArray5366[i] == -1) + aClass109_5383.method1027((float) anIntArray5343[i_768_], (float) anIntArray5343[i_769_], (float) anIntArray5343[i_770_], (float) anIntArray5321[i_768_], (float) anIntArray5321[i_769_], (float) anIntArray5321[i_770_], (float) anIntArray5355[i_768_], (float) anIntArray5355[i_769_], (float) anIntArray5355[i_770_], BuildInfo.method206((Component380.anIntArray4983[(anIntArray5368[i] & 0xffff)]), (i_771_ << 24 | (aClass167_5367.anInt2192)), 255), BuildInfo.method206((Component380.anIntArray4983[(anIntArray5368[i] & 0xffff)]), (i_772_ << 24 | (aClass167_5367.anInt2192)), 255), BuildInfo.method206((Component380.anIntArray4983[(anIntArray5368[i] & 0xffff)]), (i_773_ << 24 | (aClass167_5367.anInt2192)), 255)); + else + aClass109_5383.method1027((float) anIntArray5343[i_768_], (float) anIntArray5343[i_769_], (float) anIntArray5343[i_770_], (float) anIntArray5321[i_768_], (float) anIntArray5321[i_769_], (float) anIntArray5321[i_770_], (float) anIntArray5355[i_768_], (float) anIntArray5355[i_769_], (float) anIntArray5355[i_770_], BuildInfo.method206((Component380.anIntArray4983[(anIntArray5368[i] & 0xffff)]), (i_771_ << 24 | (aClass167_5367.anInt2192)), 255), BuildInfo.method206((Component380.anIntArray4983[(anIntArray5337[i] & 0xffff)]), (i_772_ << 24 | (aClass167_5367.anInt2192)), 255), BuildInfo.method206((Component380.anIntArray4983[(anIntArray5366[i] & 0xffff)]), (i_773_ << 24 | (aClass167_5367.anInt2192)), 255)); + } else { + int i_775_ = -16777216; + if (aByteArray5325 != null) i_775_ = 255 - (aByteArray5325[i] & 0xff) << 24; + if (anIntArray5366[i] == -1) { + int i_776_ = i_775_ | anIntArray5368[i] & 0xffffff; + aClass109_5383.method1024((float) anIntArray5343[i_768_], (float) anIntArray5343[i_769_], (float) anIntArray5343[i_770_], (float) anIntArray5321[i_768_], (float) anIntArray5321[i_769_], (float) anIntArray5321[i_770_], (float) anIntArray5355[i_768_], (float) anIntArray5355[i_769_], (float) anIntArray5355[i_770_], aFloatArrayArray5314[i][0], aFloatArrayArray5314[i][1], aFloatArrayArray5314[i][2], aFloatArrayArray5345[i][0], aFloatArrayArray5345[i][1], aFloatArrayArray5345[i][2], i_776_, i_776_, i_776_, aClass167_5367.anInt2192, i_771_, i_772_, i_773_, aShortArray5388[i]); + } else + aClass109_5383.method1024((float) anIntArray5343[i_768_], (float) anIntArray5343[i_769_], (float) anIntArray5343[i_770_], (float) anIntArray5321[i_768_], (float) anIntArray5321[i_769_], (float) anIntArray5321[i_770_], (float) anIntArray5355[i_768_], (float) anIntArray5355[i_769_], (float) anIntArray5355[i_770_], aFloatArrayArray5314[i][0], aFloatArrayArray5314[i][1], aFloatArrayArray5314[i][2], aFloatArrayArray5345[i][0], aFloatArrayArray5345[i][1], aFloatArrayArray5345[i][2], i_775_ | anIntArray5368[i] & 0xffffff, i_775_ | anIntArray5337[i] & 0xffffff, i_775_ | anIntArray5366[i] & 0xffffff, aClass167_5367.anInt2192, i_771_, i_772_, i_773_, aShortArray5388[i]); + } + } + } + } + } + + DisplayModeManagerContainer164(GlToolkitSub1 var_ha_Sub1) { + anInt5354 = 0; + aBoolean5369 = false; + anInt5351 = 0; + aBoolean5372 = false; + aBoolean5391 = false; + anInt5387 = 0; + aBoolean5382 = false; + aHa_Sub1_5353 = var_ha_Sub1; + } + + DisplayModeManagerContainer164(GlToolkitSub1 var_ha_Sub1, DisplayModeManagerContainer77 class124, int i, int i_785_, int i_786_, int i_787_) { + anInt5354 = 0; + aBoolean5369 = false; + anInt5351 = 0; + aBoolean5372 = false; + aBoolean5391 = false; + anInt5387 = 0; + aBoolean5382 = false; + aHa_Sub1_5353 = var_ha_Sub1; + anInt5316 = i; + anInt5344 = i_785_; + anInt5349 = i_786_; + d var_d = aHa_Sub1_5353.aD4579; + anInt5340 = class124.anInt1836; + anInt5387 = class124.anInt1821; + anIntArray5356 = class124.anIntArray1841; + anIntArray5332 = class124.anIntArray1847; + anIntArray5312 = class124.anIntArray1852; + anInt5351 = class124.anInt1817; + aShortArray5317 = class124.aShortArray1863; + aShortArray5394 = class124.aShortArray1835; + aShortArray5364 = class124.aShortArray1855; + aByteArray5358 = class124.aByteArray1839; + aShortArray5311 = class124.aShortArray1862; + aByteArray5325 = class124.aByteArray1834; + aShortArray5370 = class124.aShortArray1856; + aByteArray5386 = class124.aByteArray1843; + aClass129Array5322 = class124.aClass129Array1846; + aClass342Array5335 = class124.aClass342Array1866; + aShortArray5333 = class124.aShortArray1842; + int[] is = new int[anInt5351]; + for (int i_788_ = 0; i_788_ < anInt5351; i_788_++) + is[i_788_] = i_788_; + long[] ls = new long[anInt5351]; + boolean bool = (anInt5316 & 0x100) != 0; + for (int i_789_ = 0; i_789_ < anInt5351; i_789_++) { + int i_790_ = is[i_789_]; + Component319 class12 = null; + int i_791_ = 0; + int i_792_ = 0; + int i_793_ = 0; + int i_794_ = 0; + if (class124.aClass162Array1832 != null) { + boolean bool_795_ = false; + for (int i_796_ = 0; i_796_ < class124.aClass162Array1832.length; i_796_++) { + DisplayModeManagerContainer133 class162 = class124.aClass162Array1832[i_796_]; + if (i_790_ == class162.anInt2155) { + Component291 class189 = DisplayModeManagerContainer306.method742(104, (class162.anInt2153)); + if (class189.aBoolean2531) bool_795_ = true; + if (class189.anInt2525 != -1) { + Component319 class12_797_ = var_d.method3((class189.anInt2525), -6662); + if (class12_797_.anInt200 == 2) aBoolean5382 = true; + } + } + } + if (bool_795_) ls[i_789_] = 9223372036854775807L; + } + int i_798_ = -1; + if (class124.aShortArray1822 != null) { + i_798_ = class124.aShortArray1822[i_790_]; + if (i_798_ != -1) { + class12 = var_d.method3(i_798_ & 0xffff, -6662); + if ((i_787_ & 0x40) == 0 || !class12.aBoolean209) { + i_793_ = class12.aByte213; + i_794_ = class12.aByte202; + } else i_798_ = -1; + } + } + boolean bool_799_ = (aByteArray5325 != null && aByteArray5325[i_790_] != 0 || class12 != null && class12.anInt200 == 2); + if ((bool || bool_799_) && aByteArray5358 != null) i_791_ += aByteArray5358[i_790_] << 17; + if (bool_799_) i_791_ += 65536; + i_791_ += (i_793_ & 0xff) << 8; + i_791_ += i_794_ & 0xff; + i_792_ += (i_798_ & 0xffff) << 16; + i_792_ += i_789_ & 0xffff; + ls[i_789_] = ((long) i_791_ << 32) + (long) i_792_; + aBoolean5382 |= bool_799_; + } + NodeSub16Sub2.method2832(is, ls, 0); + if (class124.aClass162Array1832 != null) { + anInt5389 = class124.aClass162Array1832.length; + aClass6Array5361 = new BuildInfo[anInt5389]; + aClass350Array5363 = new Component360[anInt5389]; + for (int i_800_ = 0; i_800_ < class124.aClass162Array1832.length; i_800_++) { + DisplayModeManagerContainer133 class162 = class124.aClass162Array1832[i_800_]; + Component291 class189 = DisplayModeManagerContainer306.method742(104, class162.anInt2153); + int i_801_ = ((Component380.anIntArray4983[(class124.aShortArray1862[class162.anInt2155]) & 0xffff]) & 0xffffff); + i_801_ = (i_801_ | 255 - (class124.aByteArray1834 != null ? (class124.aByteArray1834[class162.anInt2155]) & 0xff : 0) << 24); + aClass6Array5361[i_800_] = new BuildInfo(class162.anInt2155, (class124.aShortArray1863[class162.anInt2155]), (class124.aShortArray1835[class162.anInt2155]), (class124.aShortArray1855[class162.anInt2155]), class189.anInt2526, class189.anInt2530, class189.anInt2525, class189.anInt2533, class189.anInt2534, class189.aBoolean2531, class162.anInt2158); + aClass350Array5363[i_800_] = new Component360(i_801_); + } + } + aFloatArrayArray5314 = new float[anInt5351][]; + aFloatArrayArray5345 = new float[anInt5351][]; + Component142 class358 = Component54.method565(255, anInt5351, class124, is); + Component385 class167 = aHa_Sub1_5353.method3724(Thread.currentThread()); + float[] fs = class167.aFloatArray2226; + boolean bool_802_ = false; + for (int i_803_ = 0; i_803_ < anInt5351; i_803_++) { + int i_804_ = is[i_803_]; + int i_805_; + if (class124.aByteArray1820 == null) i_805_ = -1; + else i_805_ = class124.aByteArray1820[i_804_]; + int i_806_ = (class124.aShortArray1822 == null ? -1 : class124.aShortArray1822[i_804_]); + if (i_806_ != -1 && (i_787_ & 0x40) != 0) { + Component319 class12 = var_d.method3(i_806_ & 0xffff, -6662); + if (class12.aBoolean209) i_806_ = -1; + } + if (i_806_ != -1) { + bool_802_ = true; + float[] fs_807_ = aFloatArrayArray5314[i_804_] = new float[3]; + float[] fs_808_ = aFloatArrayArray5345[i_804_] = new float[3]; + boolean bool_809_ = false; + if (i_805_ == -1) { + fs_807_[0] = 0.0F; + fs_808_[0] = 1.0F; + fs_807_[1] = 1.0F; + fs_808_[1] = 1.0F; + fs_807_[2] = 0.0F; + fs_808_[2] = 0.0F; + } else { + i_805_ &= 0xff; + byte i_810_ = class124.aByteArray1823[i_805_]; + if (i_810_ == 0) { + short i_811_ = aShortArray5317[i_804_]; + short i_812_ = aShortArray5394[i_804_]; + short i_813_ = aShortArray5364[i_804_]; + short i_814_ = class124.aShortArray1829[i_805_]; + short i_815_ = class124.aShortArray1849[i_805_]; + short i_816_ = class124.aShortArray1825[i_805_]; + float f = (float) anIntArray5356[i_814_]; + float f_817_ = (float) anIntArray5332[i_814_]; + float f_818_ = (float) anIntArray5312[i_814_]; + float f_819_ = (float) anIntArray5356[i_815_] - f; + float f_820_ = (float) anIntArray5332[i_815_] - f_817_; + float f_821_ = (float) anIntArray5312[i_815_] - f_818_; + float f_822_ = (float) anIntArray5356[i_816_] - f; + float f_823_ = (float) anIntArray5332[i_816_] - f_817_; + float f_824_ = (float) anIntArray5312[i_816_] - f_818_; + float f_825_ = (float) anIntArray5356[i_811_] - f; + float f_826_ = (float) anIntArray5332[i_811_] - f_817_; + float f_827_ = (float) anIntArray5312[i_811_] - f_818_; + float f_828_ = (float) anIntArray5356[i_812_] - f; + float f_829_ = (float) anIntArray5332[i_812_] - f_817_; + float f_830_ = (float) anIntArray5312[i_812_] - f_818_; + float f_831_ = (float) anIntArray5356[i_813_] - f; + float f_832_ = (float) anIntArray5332[i_813_] - f_817_; + float f_833_ = (float) anIntArray5312[i_813_] - f_818_; + float f_834_ = f_820_ * f_824_ - f_821_ * f_823_; + float f_835_ = f_821_ * f_822_ - f_819_ * f_824_; + float f_836_ = f_819_ * f_823_ - f_820_ * f_822_; + float f_837_ = f_823_ * f_836_ - f_824_ * f_835_; + float f_838_ = f_824_ * f_834_ - f_822_ * f_836_; + float f_839_ = f_822_ * f_835_ - f_823_ * f_834_; + float f_840_ = 1.0F / (f_837_ * f_819_ + f_838_ * f_820_ + f_839_ * f_821_); + fs_807_[0] = (f_837_ * f_825_ + f_838_ * f_826_ + f_839_ * f_827_) * f_840_; + fs_807_[1] = (f_837_ * f_828_ + f_838_ * f_829_ + f_839_ * f_830_) * f_840_; + fs_807_[2] = (f_837_ * f_831_ + f_838_ * f_832_ + f_839_ * f_833_) * f_840_; + f_837_ = f_820_ * f_836_ - f_821_ * f_835_; + f_838_ = f_821_ * f_834_ - f_819_ * f_836_; + f_839_ = f_819_ * f_835_ - f_820_ * f_834_; + f_840_ = 1.0F / (f_837_ * f_822_ + f_838_ * f_823_ + f_839_ * f_824_); + fs_808_[0] = (f_837_ * f_825_ + f_838_ * f_826_ + f_839_ * f_827_) * f_840_; + fs_808_[1] = (f_837_ * f_828_ + f_838_ * f_829_ + f_839_ * f_830_) * f_840_; + fs_808_[2] = (f_837_ * f_831_ + f_838_ * f_832_ + f_839_ * f_833_) * f_840_; + } else { + short i_841_ = aShortArray5317[i_804_]; + short i_842_ = aShortArray5394[i_804_]; + short i_843_ = aShortArray5364[i_804_]; + int i_844_ = class358.anIntArray4416[i_805_]; + int i_845_ = class358.anIntArray4415[i_805_]; + int i_846_ = class358.anIntArray4414[i_805_]; + float[] fs_847_ = (class358.aFloatArrayArray4412[i_805_]); + byte i_848_ = class124.aByteArray1853[i_805_]; + float f = ((float) (class124.anIntArray1867[i_805_]) / 256.0F); + if (i_810_ == 1) { + float f_849_ = ((float) (class124.anIntArray1844[i_805_]) / 1024.0F); + Component163.method1885(i_846_, anIntArray5312[i_841_], i_848_, 8, anIntArray5356[i_841_], fs, anIntArray5332[i_841_], f, i_845_, i_844_, f_849_, fs_847_); + fs_807_[0] = fs[0]; + fs_808_[0] = fs[1]; + Component163.method1885(i_846_, anIntArray5312[i_842_], i_848_, 8, anIntArray5356[i_842_], fs, anIntArray5332[i_842_], f, i_845_, i_844_, f_849_, fs_847_); + fs_807_[1] = fs[0]; + fs_808_[1] = fs[1]; + Component163.method1885(i_846_, anIntArray5312[i_843_], i_848_, 8, anIntArray5356[i_843_], fs, anIntArray5332[i_843_], f, i_845_, i_844_, f_849_, fs_847_); + fs_807_[2] = fs[0]; + fs_808_[2] = fs[1]; + float f_850_ = f_849_ / 2.0F; + if ((i_848_ & 0x1) == 0) { + if (fs_807_[1] - fs_807_[0] > f_850_) fs_807_[1] -= f_849_; + else if (fs_807_[0] - fs_807_[1] > f_850_) fs_807_[1] += f_849_; + if (fs_807_[2] - fs_807_[0] > f_850_) fs_807_[2] -= f_849_; + else if (fs_807_[0] - fs_807_[2] > f_850_) fs_807_[2] += f_849_; + } else { + if (fs_808_[1] - fs_808_[0] > f_850_) fs_808_[1] -= f_849_; + else if (fs_808_[0] - fs_808_[1] > f_850_) fs_808_[1] += f_849_; + if (fs_808_[2] - fs_808_[0] > f_850_) fs_808_[2] -= f_849_; + else if (fs_808_[0] - fs_808_[2] > f_850_) fs_808_[2] += f_849_; + } + } else if (i_810_ == 2) { + float f_851_ = ((float) (class124.anIntArray1857[i_805_]) / 256.0F); + float f_852_ = ((float) (class124.anIntArray1865[i_805_]) / 256.0F); + int i_853_ = (anIntArray5356[i_842_] - anIntArray5356[i_841_]); + int i_854_ = (anIntArray5332[i_842_] - anIntArray5332[i_841_]); + int i_855_ = (anIntArray5312[i_842_] - anIntArray5312[i_841_]); + int i_856_ = (anIntArray5356[i_843_] - anIntArray5356[i_841_]); + int i_857_ = (anIntArray5332[i_843_] - anIntArray5332[i_841_]); + int i_858_ = (anIntArray5312[i_843_] - anIntArray5312[i_841_]); + int i_859_ = i_854_ * i_858_ - i_857_ * i_855_; + int i_860_ = i_855_ * i_856_ - i_858_ * i_853_; + int i_861_ = i_853_ * i_857_ - i_856_ * i_854_; + float f_862_ = 64.0F / (float) (class124.anIntArray1859[i_805_]); + float f_863_ = 64.0F / (float) (class124.anIntArray1816[i_805_]); + float f_864_ = 64.0F / (float) (class124.anIntArray1844[i_805_]); + float f_865_ = (((float) i_859_ * fs_847_[0] + (float) i_860_ * fs_847_[1] + (float) i_861_ * fs_847_[2]) / f_862_); + float f_866_ = (((float) i_859_ * fs_847_[3] + (float) i_860_ * fs_847_[4] + (float) i_861_ * fs_847_[5]) / f_863_); + float f_867_ = (((float) i_859_ * fs_847_[6] + (float) i_860_ * fs_847_[7] + (float) i_861_ * fs_847_[8]) / f_864_); + int i_868_ = Component374.method2635(f_866_, false, f_867_, f_865_); + NodeList.method1991(f_852_, f, fs_847_, anIntArray5312[i_841_], i_846_, false, i_848_, i_844_, anIntArray5356[i_841_], anIntArray5332[i_841_], f_851_, fs, i_845_, i_868_); + fs_807_[0] = fs[0]; + fs_808_[0] = fs[1]; + NodeList.method1991(f_852_, f, fs_847_, anIntArray5312[i_842_], i_846_, false, i_848_, i_844_, anIntArray5356[i_842_], anIntArray5332[i_842_], f_851_, fs, i_845_, i_868_); + fs_807_[1] = fs[0]; + fs_808_[1] = fs[1]; + NodeList.method1991(f_852_, f, fs_847_, anIntArray5312[i_843_], i_846_, false, i_848_, i_844_, anIntArray5356[i_843_], anIntArray5332[i_843_], f_851_, fs, i_845_, i_868_); + fs_807_[2] = fs[0]; + fs_808_[2] = fs[1]; + } else if (i_810_ == 3) { + Component113.method1367(i_846_, i_848_, f, anIntArray5356[i_841_], fs, anIntArray5312[i_841_], i_844_, anIntArray5332[i_841_], i_845_, -4, fs_847_); + fs_807_[0] = fs[0]; + fs_808_[0] = fs[1]; + Component113.method1367(i_846_, i_848_, f, anIntArray5356[i_842_], fs, anIntArray5312[i_842_], i_844_, anIntArray5332[i_842_], i_845_, -4, fs_847_); + fs_807_[1] = fs[0]; + fs_808_[1] = fs[1]; + Component113.method1367(i_846_, i_848_, f, anIntArray5356[i_843_], fs, anIntArray5312[i_843_], i_844_, anIntArray5332[i_843_], i_845_, -4, fs_847_); + fs_807_[2] = fs[0]; + fs_808_[2] = fs[1]; + if ((i_848_ & 0x1) == 0) { + if (fs_807_[1] - fs_807_[0] > 0.5F) fs_807_[1]--; + else if (fs_807_[0] - fs_807_[1] > 0.5F) fs_807_[1]++; + if (fs_807_[2] - fs_807_[0] > 0.5F) fs_807_[2]--; + else if (fs_807_[0] - fs_807_[2] > 0.5F) fs_807_[2]++; + } else { + if (fs_808_[1] - fs_808_[0] > 0.5F) fs_808_[1]--; + else if (fs_808_[0] - fs_808_[1] > 0.5F) fs_808_[1]++; + if (fs_808_[2] - fs_808_[0] > 0.5F) fs_808_[2]--; + else if (fs_808_[0] - fs_808_[2] > 0.5F) fs_808_[2]++; + } + } + } + } + } + } + if (!bool_802_) aFloatArrayArray5314 = aFloatArrayArray5345 = null; + if (class124.anIntArray1868 != null && (anInt5316 & 0x20) != 0) anIntArrayArray5334 = class124.method1100(true, -122); + if (class124.anIntArray1824 != null && (anInt5316 & 0x180) != 0) anIntArrayArray5330 = class124.method1094((byte) 30); + if (class124.aClass162Array1832 != null && (anInt5316 & 0x400) != 0) anIntArrayArray5379 = class124.method1093((byte) -75); + if (class124.aShortArray1822 != null) { + aShortArray5388 = new short[anInt5351]; + boolean bool_869_ = false; + for (int i_870_ = 0; i_870_ < anInt5351; i_870_++) { + short i_871_ = class124.aShortArray1822[i_870_]; + if (i_871_ != -1) { + Component319 class12 = aHa_Sub1_5353.aD4579.method3(i_871_, -6662); + if ((i_787_ & 0x40) == 0 || !class12.aBoolean209) { + aShortArray5388[i_870_] = i_871_; + bool_869_ = true; + if (class12.anInt200 == 2) aBoolean5382 = true; + if (class12.aByte198 != 0 || class12.aByte211 != 0) aBoolean5391 = true; + } else aShortArray5388[i_870_] = (short) -1; + } else aShortArray5388[i_870_] = (short) -1; + } + if (!bool_869_) aShortArray5388 = null; + } else aShortArray5388 = null; + if (aBoolean5382 || aClass6Array5361 != null) { + aShortArray5327 = new short[anInt5351]; + for (int i_872_ = 0; i_872_ < anInt5351; i_872_++) + aShortArray5327[i_872_] = (short) is[i_872_]; + } + } + + static { + anInt5341 = 0; + anInt5350 = 4096; + } +} diff --git a/client/misc/DisplayModeManagerContainer165.java b/client/misc/DisplayModeManagerContainer165.java new file mode 100644 index 000000000..bb062de27 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer165.java @@ -0,0 +1,58 @@ +/* DisplayModeManagerContainer165 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer165 +/** + * RENAMED from `Class303` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static Component183 aClass114_3842; + static int anInt3843; + static int anInt3844 = 1; + static int anInt3845; + static int anInt3846; + + static final void method2285(boolean bool, byte i, int i_0_) { + if (i > -61) aClass114_3842 = null; + anInt3843++; + if (bool) { + ParticleSystem class348_sub47 = ParticleShader.method2148(Component41.aClass351_3150, DisplayModeManagerContainer64.aClass77_9029, -126); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_0_); + HashNodeSub14.method3243(42, class348_sub47); + } else ClientScriptExecutor.runScript(Component258.aClass273_1966, i_0_, -1); + } + + public static void method2286(int i) { + aClass114_3842 = null; + if (i != 114) anInt3844 = 87; + } + + static final Component15 method2287(Buffer class348_sub49, byte i) { + anInt3846++; + int i_1_ = class348_sub49.readUnsignedByte(255); + Component85 class221 = HeapDumpHelper.method1248(87)[class348_sub49.readUnsignedByte(255)]; + DisplayModeManagerContainer196 class341 = Component240.method596(20000)[class348_sub49.readUnsignedByte(255)]; + int i_2_ = class348_sub49.readShort(13638); + int i_3_ = class348_sub49.readShort(13638); + int i_4_ = class348_sub49.readUnsignedShort(842397944); + int i_5_ = class348_sub49.readUnsignedShort(842397944); + int i_6_ = class348_sub49.readInt((byte) -126); + int i_7_ = class348_sub49.readInt((byte) -126); + int i_8_ = class348_sub49.readInt((byte) -126); + int i_9_ = -54 / ((i - -45) / 61); + boolean bool = class348_sub49.readUnsignedByte(255) == 1; + return new Component15(i_1_, class221, class341, i_2_, i_3_, i_4_, i_5_, i_6_, i_7_, i_8_, bool); + } + + static final void method2288(boolean bool, GraphicsToolkit var_ha) { + anInt3845++; + if (!DisplayModeManagerContainer5.aBoolean1211) BuildType.method1642((byte) 108, var_ha); + else DisplayModeManagerContainer136.method1153(var_ha, 16); + if (bool != false) anInt3844 = -97; + } + + static { + aClass114_3842 = new Component183(114, 4); + } +} diff --git a/client/misc/DisplayModeManagerContainer167.java b/client/misc/DisplayModeManagerContainer167.java new file mode 100644 index 000000000..05dc38107 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer167.java @@ -0,0 +1,342 @@ +/* DisplayModeManagerContainer167 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer167 +/** + * RENAMED from `Class17` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + /** JS5 group id for bitmap font archive {@code p12_full}. */ + static int p12FullGroupId; + int[] anIntArray236; + int[] anIntArray237; + int anInt238; + int anInt239; + static int anInt240; + boolean aBoolean241; + boolean aBoolean242 = false; + static int anInt243; + int anInt244; + int anInt245; + static int anInt246; + static boolean aBoolean247 = false; + int anInt248; + int anInt249; + static Component183 aClass114_250 = new Component183(4, 1); + Component344 aClass87_251; + static Interface4 anInterface4_252; + int[] anIntArray253; + boolean aBoolean254; + static int[][] anIntArrayArray255; + static int[] anIntArray256; + static int anInt257; + static int anInt258; + static int anInt259; + private int[] anIntArray260; + int anInt261; + int anInt262; + boolean[] aBooleanArray263; + int[][] anIntArrayArray264; + int[] anIntArray265; + static int anInt266; + int[] anIntArray267; + boolean aBoolean268; + int anInt269; + + final int method263(int i, int i_0_, int i_1_, boolean bool) { + anInt240++; + int i_2_ = 0; + int i_3_ = 0; + int i_4_ = this.anIntArray237[i_1_]; + HashNodeSub17 class348_sub42_sub17 = null; + HashNodeSub17 class348_sub42_sub17_5_ = this.aClass87_251.method839(i_4_ >> 16, 3); + i_4_ &= 0xffff; + if (class348_sub42_sub17_5_ == null) return i_2_; + if ((this.aBoolean241 || DisplayModeManagerContainer332.aBoolean5002) && i != -1 && i < this.anIntArray237.length) { + i_3_ = this.anIntArray237[i]; + class348_sub42_sub17 = this.aClass87_251.method839(i_3_ >> 16, 3); + i_3_ &= 0xffff; + } + if (i_0_ <= 96) return 11; + if (this.aBoolean242) i_2_ |= 0x200; + if (class348_sub42_sub17_5_.method3272(i_4_, 0)) i_2_ |= 0x80; + if (class348_sub42_sub17_5_.method3271(i_4_, 14)) i_2_ |= 0x100; + if (class348_sub42_sub17_5_.method3267((byte) -110, i_4_)) i_2_ |= 0x400; + if (class348_sub42_sub17 != null) { + if (class348_sub42_sub17.method3272(i_3_, 0)) i_2_ |= 0x80; + if (class348_sub42_sub17.method3271(i_3_, 14)) i_2_ |= 0x100; + if (class348_sub42_sub17.method3267((byte) -127, i_3_)) i_2_ |= 0x400; + } + if (anIntArray260 != null && bool) { + if (anIntArray260.length > i_1_) { + int i_6_ = anIntArray260[i_1_]; + if (i_6_ != 65535) { + HashNodeSub17 class348_sub42_sub17_7_ = this.aClass87_251.method839(i_6_ >> 16, 3); + i_6_ &= 0xffff; + if (class348_sub42_sub17_7_ != null) { + if (class348_sub42_sub17_7_.method3272(i_6_, 0)) i_2_ |= 0x80; + if (class348_sub42_sub17_7_.method3271(i_6_, 14)) i_2_ |= 0x100; + if (class348_sub42_sub17_7_.method3267((byte) -103, i_6_)) i_2_ |= 0x400; + } + } + } + if ((this.aBoolean241 || DisplayModeManagerContainer332.aBoolean5002) && i != -1 && anIntArray260.length > i) { + int i_8_ = anIntArray260[i]; + if (i_8_ != 65535) { + HashNodeSub17 class348_sub42_sub17_9_ = this.aClass87_251.method839(i_8_ >> 16, 3); + i_8_ &= 0xffff; + if (class348_sub42_sub17_9_ != null) { + if (class348_sub42_sub17_9_.method3272(i_8_, 0)) i_2_ |= 0x80; + if (class348_sub42_sub17_9_.method3271(i_8_, 14)) i_2_ |= 0x100; + if (class348_sub42_sub17_9_.method3267((byte) -93, i_8_)) i_2_ |= 0x400; + } + } + } + } + return 0x20 | i_2_; + } + + private final void method264(Buffer class348_sub49, int i, int i_10_) { + if (i_10_ == -14861) { + if (i == 1) { + int i_11_ = class348_sub49.readUnsignedShort(842397944);//short + this.anIntArray267 = new int[i_11_]; + this.anIntArray237 = new int[i_11_]; + for (int i_12_ = 0; i_12_ < i_11_; i_12_++) + this.anIntArray267[i_12_] = class348_sub49.readUnsignedShort(842397944); + for (int i_13_ = 0; i_13_ < i_11_; i_13_++) + this.anIntArray237[i_13_] = class348_sub49.readUnsignedShort(842397944); + for (int i_14_ = 0; i_14_ < i_11_; i_14_++) + this.anIntArray237[i_14_] = ((class348_sub49.readUnsignedShort(842397944) << 16) + this.anIntArray237[i_14_]); + } else if (i != 2) { + if (i == 3) { + this.aBooleanArray263 = new boolean[256]; + int i_15_ = class348_sub49.readUnsignedByte(255);//byte + for (int i_16_ = 0; i_16_ < i_15_; i_16_++) + this.aBooleanArray263[class348_sub49.readUnsignedByte(255)] = true; + } else if (i != 5) { + if (i != 6) { + if (i != 7) { + if (i != 8) { + if (i == 9) this.anInt262 = class348_sub49.readUnsignedByte(i_10_ + 15116); + else if (i == 10) this.anInt245 = class348_sub49.readUnsignedByte(i_10_ ^ ~0x3af3); + else if (i != 11) { + if (i == 12) { + int i_17_ = class348_sub49.readUnsignedByte(i_10_ ^ ~0x3af3); + anIntArray260 = new int[i_17_]; + for (int i_18_ = 0; (i_18_ < i_17_); i_18_++) + anIntArray260[i_18_] = class348_sub49.readUnsignedShort(842397944); + for (int i_19_ = 0; (i_17_ > i_19_); i_19_++) + anIntArray260[i_19_] = ((class348_sub49.readUnsignedShort(842397944) << 16) - -anIntArray260[i_19_]); + } else if (i == 13) { + int i_20_ = class348_sub49.readUnsignedShort(842397944); + this.anIntArrayArray264 = new int[i_20_][]; + for (int i_21_ = 0; (i_21_ < i_20_); i_21_++) { + int i_22_ = class348_sub49.readUnsignedByte(255); + if (i_22_ > 0) { + this.anIntArrayArray264[i_21_] = new int[i_22_]; + this.anIntArrayArray264[i_21_][0] = class348_sub49.readMedium(-1); + for (int i_23_ = 1; (i_22_ > i_23_); i_23_++) + this.anIntArrayArray264[i_21_][i_23_] = (class348_sub49.readUnsignedShort(842397944)); + } + } + } else if (i != 14) { + if (i == 15) this.aBoolean241 = true; + else if (i == 16) this.aBoolean254 = true; + else if (i == 18) this.aBoolean268 = true; + else if (i == 19) { + if (this.anIntArray253 == null) { + this.anIntArray253 = (new int[(this.anIntArrayArray264).length]); + for (int i_24_ = 0; ((this.anIntArrayArray264).length > i_24_); i_24_++) + this.anIntArray253[i_24_] = 255; + } + this.anIntArray253[class348_sub49.readUnsignedByte(255)] = (class348_sub49.readUnsignedByte(NodeSub21.bitwiseXor(i_10_, -15092))); + } else if (i == 20) { + if ((this.anIntArray236 == null) || (this.anIntArray265) == null) { + this.anIntArray236 = (new int[(this.anIntArrayArray264).length]); + this.anIntArray265 = (new int[(this.anIntArrayArray264).length]); + for (int i_25_ = 0; ((this.anIntArrayArray264).length > i_25_); i_25_++) { + this.anIntArray236[i_25_] = 256; + this.anIntArray265[i_25_] = 256; + } + } + int i_26_ = class348_sub49.readUnsignedByte(255); + this.anIntArray236[i_26_] = class348_sub49.readUnsignedShort(842397944); + this.anIntArray265[i_26_] = class348_sub49.readUnsignedShort(842397944); + } + } else this.aBoolean242 = true; + } else this.anInt248 = class348_sub49.readUnsignedByte(255); + } else this.anInt244 = class348_sub49.readUnsignedByte(255); + } else this.anInt261 = class348_sub49.readUnsignedShort(842397944); + } else this.anInt249 = class348_sub49.readUnsignedShort(842397944); + } else this.anInt239 = class348_sub49.readUnsignedByte(i_10_ + 15116); + } else this.anInt238 = class348_sub49.readUnsignedShort(i_10_ ^ ~0x3235c2f4); + anInt257++; + } + } + + public static void method265(boolean bool) { + anIntArray256 = null; + aClass114_250 = null; + anIntArrayArray255 = null; + if (bool != false) method268(-22, -54, -101, -115, -107, 90, 13, -47); + anInterface4_252 = null; + } + + final DisplayModeManagerContainer370 method266(DisplayModeManagerContainer370 class64, int i, int i_27_, byte i_28_, int i_29_, int i_30_, int i_31_, int i_32_) { + anInt266++; + int i_33_ = this.anIntArray267[i_29_]; + i_29_ = this.anIntArray237[i_29_]; + HashNodeSub17 class348_sub42_sub17 = this.aClass87_251.method839(i_29_ >> 16, 3); + i_29_ &= 0xffff; + if (class348_sub42_sub17 == null) return class64.method614(i_28_, i_32_, true); + HashNodeSub17 class348_sub42_sub17_34_ = null; + if ((this.aBoolean241 || DisplayModeManagerContainer332.aBoolean5002) && i_27_ != -1 && this.anIntArray237.length > i_27_) { + i_27_ = this.anIntArray237[i_27_]; + class348_sub42_sub17_34_ = this.aClass87_251.method839(i_27_ >> 16, 3); + i_27_ &= 0xffff; + } + if (this.aBoolean242) i_32_ |= 0x200; + if (class348_sub42_sub17.method3272(i_29_, i_31_ + -663780816)) i_32_ |= 0x80; + if (class348_sub42_sub17.method3271(i_29_, i_31_ ^ 0x27907dde)) i_32_ |= 0x100; + if (class348_sub42_sub17.method3267((byte) -126, i_29_)) i_32_ |= 0x400; + if (class348_sub42_sub17_34_ != null) { + if (class348_sub42_sub17_34_.method3272(i_27_, 0)) i_32_ |= 0x80; + if (class348_sub42_sub17_34_.method3271(i_27_, 14)) i_32_ |= 0x100; + if (class348_sub42_sub17_34_.method3267((byte) -125, i_27_)) i_32_ |= 0x400; + } + i_32_ |= 0x20; + if (i_31_ != 663780816) this.anInt261 = -72; + DisplayModeManagerContainer370 class64_35_ = class64.method614(i_28_, i_32_, true); + class64_35_.method617(i_29_, i_33_, class348_sub42_sub17_34_, i, class348_sub42_sub17, false, this.aBoolean242, i_27_, i_30_ + -1); + return class64_35_; + } + + final void method267(Buffer class348_sub49, boolean bool) { + anInt243++; + for (; ; ) { + int i = class348_sub49.readUnsignedByte(255); + if (i == 0) break; + method264(class348_sub49, i, -14861); + } + if (bool != false) this.anIntArray267 = null; + } + + static final void method268(int i, int i_36_, int i_37_, int i_38_, int i_39_, int i_40_, int i_41_, int i_42_) { + anInt259++; + int i_43_ = -334 + i_39_; + if (i_43_ < 0) i_43_ = 0; + else if (i_43_ > 100) i_43_ = 100; + int i_44_ = (i_43_ * (-OggStreamReader.aShort9044 + Component233.aShort3992) / 100 + OggStreamReader.aShort9044); + i_42_ = i_42_ * i_44_ >> 8; + Component72.anInt1906 = Component72.anInt1911 * i_44_ >> 8; + int i_45_ = 16384 - i & 0x3fff; + int i_46_ = 0x3fff & 16384 - i_37_; + if (i_40_ != -19360) anInterface4_252 = null; + int i_47_ = 0; + int i_48_ = 0; + int i_49_ = i_42_; + if (i_45_ != 0) { + i_48_ = -i_49_ * DisplayModeManagerContainer88.anIntArray1207[i_45_] >> 14; + i_49_ = DisplayModeManagerContainer88.anIntArray1204[i_45_] * i_49_ >> 14; + } + if (i_46_ != 0) { + i_47_ = DisplayModeManagerContainer88.anIntArray1207[i_46_] * i_49_ >> 14; + i_49_ = i_49_ * DisplayModeManagerContainer88.anIntArray1204[i_46_] >> 14; + } + Component298.anInt4638 = i_37_; + Component103.anInt4186 = 0; + Component317.anInt8685 = i_38_ - i_49_; + DisplayModeManagerContainer50.anInt3855 = -i_48_ + i_36_; + WaterSurfaceShader.anInt6246 = -i_47_ + i_41_; + HashNodeSub19.anInt9701 = i; + } + + final DisplayModeManagerContainer370 method269(int i, DisplayModeManagerContainer370 class64, int i_50_, int i_51_, int i_52_, int i_53_) { + anInt246++; + int i_54_ = this.anIntArray267[i_53_]; + int i_55_ = this.anIntArray237[i_53_]; + HashNodeSub17 class348_sub42_sub17 = this.aClass87_251.method839(i_55_ >> 16, 3); + i_55_ &= 0xffff; + if (class348_sub42_sub17 == null) return class64.method614((byte) 1, i_52_, true); + HashNodeSub17 class348_sub42_sub17_56_ = null; + if ((this.aBoolean241 || DisplayModeManagerContainer332.aBoolean5002) && i_50_ != -1 && this.anIntArray237.length > i_50_) { + i_50_ = this.anIntArray237[i_50_]; + class348_sub42_sub17_56_ = this.aClass87_251.method839(i_50_ >> 16, 3); + i_50_ &= 0xffff; + } + HashNodeSub17 class348_sub42_sub17_57_ = null; + HashNodeSub17 class348_sub42_sub17_58_ = null; + int i_59_ = 0; + int i_60_ = 0; + if (anIntArray260 != null) { + if (anIntArray260.length > i_53_) { + i_59_ = anIntArray260[i_53_]; + if (i_59_ != 65535) { + class348_sub42_sub17_57_ = this.aClass87_251.method839(i_59_ >> 16, 3); + i_59_ &= 0xffff; + } + } + if ((this.aBoolean241 || DisplayModeManagerContainer332.aBoolean5002) && i_50_ != -1 && i_50_ < anIntArray260.length) { + i_60_ = anIntArray260[i_50_]; + if (i_60_ != 65535) { + class348_sub42_sub17_58_ = this.aClass87_251.method839(i_60_ >> 16, 3); + i_60_ &= 0xffff; + } + } + } + if (this.aBoolean242) i_52_ |= 0x200; + if (class348_sub42_sub17.method3272(i_55_, 0)) i_52_ |= 0x80; + if (class348_sub42_sub17.method3271(i_55_, 14)) i_52_ |= 0x100; + if (class348_sub42_sub17.method3267((byte) -102, i_55_)) i_52_ |= 0x400; + if (class348_sub42_sub17_57_ != null) { + if (class348_sub42_sub17_57_.method3272(i_59_, 0)) i_52_ |= 0x80; + if (class348_sub42_sub17_57_.method3271(i_59_, 14)) i_52_ |= 0x100; + if (class348_sub42_sub17_57_.method3267((byte) -109, i_59_)) i_52_ |= 0x400; + } + if (class348_sub42_sub17_56_ != null) { + if (class348_sub42_sub17_56_.method3272(i_50_, 0)) i_52_ |= 0x80; + if (class348_sub42_sub17_56_.method3271(i_50_, 14)) i_52_ |= 0x100; + if (class348_sub42_sub17_56_.method3267((byte) -114, i_50_)) i_52_ |= 0x400; + } + if (class348_sub42_sub17_58_ != null) { + if (class348_sub42_sub17_58_.method3272(i_60_, 0)) i_52_ |= 0x80; + if (class348_sub42_sub17_58_.method3271(i_60_, 14)) i_52_ |= 0x100; + if (class348_sub42_sub17_58_.method3267((byte) -109, i_60_)) i_52_ |= 0x400; + } + i_52_ |= 0x20; + DisplayModeManagerContainer370 class64_61_ = class64.method614((byte) 1, i_52_, true); + int i_62_ = -33 / ((49 - i) / 45); + class64_61_.method617(i_55_, i_54_, class348_sub42_sub17_56_, 0, class348_sub42_sub17, false, this.aBoolean242, i_50_, -1 + i_51_); + if (class348_sub42_sub17_57_ != null) class64_61_.method617(i_59_, i_54_, class348_sub42_sub17_58_, 0, class348_sub42_sub17_57_, false, this.aBoolean242, i_60_, -1 + i_51_); + return class64_61_; + } + + final void method270(byte i) { + anInt258++; + if (this.anInt262 == -1) { + if (this.aBooleanArray263 == null) this.anInt262 = 0; + else this.anInt262 = 2; + } + if (this.anInt245 == -1) { + if (this.aBooleanArray263 != null) this.anInt245 = 2; + else this.anInt245 = 0; + } + int i_63_ = -41 / ((i - 45) / 49); + } + + public DisplayModeManagerContainer167() { + this.anInt238 = -1; + this.aBoolean241 = false; + this.anInt245 = -1; + this.anInt239 = 5; + this.aBoolean254 = false; + this.anInt262 = -1; + this.anInt249 = -1; + this.anInt248 = 2; + this.anInt261 = -1; + this.anInt244 = 99; + this.aBoolean268 = false; + } +} diff --git a/client/misc/DisplayModeManagerContainer172.java b/client/misc/DisplayModeManagerContainer172.java new file mode 100644 index 000000000..cc31f4050 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer172.java @@ -0,0 +1,114 @@ +/* DisplayModeManagerContainer172 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer172 +/** + * RENAMED from `Class40` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt522; + boolean[] aBooleanArray523; + int anInt524; + int[] anIntArray525 = new int[6]; + int anInt526; + byte[] aByteArray527; + byte[] aByteArray528; + int[][] anIntArrayArray529; + int anInt530; + byte[] aByteArray531 = new byte[18002]; + boolean[] aBooleanArray532; + int anInt533; + byte[] aByteArray534; + int[] anIntArray535; + int anInt536; + int anInt537; + int anInt538; + byte aByte539; + int[] anIntArray540; + int anInt541; + static int anInt542; + static int[] anIntArray543; + byte[] aByteArray544; + byte[] aByteArray545; + int anInt546; + static int anInt547; + int anInt548; + byte[][] aByteArrayArray549; + int anInt550; + static int anInt551; + int anInt552; + int[][] anIntArrayArray553; + int anInt554; + int anInt555; + int[][] anIntArrayArray556; + int[] anIntArray557; + static int anInt558 = -1; + + static final void method368(int i, int i_0_, boolean bool, int i_1_, CacheStore class45, int i_2_, int i_3_) { + if (i_0_ != 18002) anInt558 = 41; + anInt551++; + if (i_3_ > 0) { + InputHandler.aBoolean4275 = bool; + PlayerState.anInt7068 = 1; + DisplayModeManagerContainer77.aClass45_1848 = class45; + Component197.anInt10074 = i_1_; + DebugPanic.aClass348_Sub16_Sub3_4743 = null; + Renderable.anInt3971 = i_2_; + Component255.anInt1059 = i; + Component329.anInt5994 = (Component122.aClass348_Sub16_Sub3_1564.method2844((byte) 103) / i_3_); + if (Component329.anInt5994 < 1) Component329.anInt5994 = 1; + } else NodeSub1Sub3.method2732(i_2_, i_1_, bool, 123, class45, i); + } + + static final void method369(int i) { + NodeSub45.aClass105Array7107 = null; + DisplayModeManagerContainer199.aClass105Array5857 = null; + NodeSub12.aClass105Array6742 = null; + Component49.aClass105Array4679 = null; + if (i != -29776) method370(true); + NpcComposition.aClass105_1365 = null; + Component361.aClass105Array367 = null; + Component379.aClass105Array5933 = null; + Component33.aClass105Array2640 = null; + DefinitionSub37.aClass105Array9467 = null; + NodeList.aClass324_3326 = null; + ColoredText.aClass105_6097 = null; + Applet_Sub1.aClass324_20 = null; + Component49.aClass324_4684 = null; + RequestProcessor.aClass105Array2260 = null; + Component22.aClass105Array1744 = null; + Component235.aClass105Array3378 = null; + Component210.aClass105Array5294 = null; + Component141.aClass105Array9959 = null; + anInt542++; + } + + public static void method370(boolean bool) { + if (bool != true) anIntArray543 = null; + anIntArray543 = null; + } + + static final boolean method371(int i, int i_4_, int i_5_) { + if (i_4_ != 256) return true; + anInt547++; + return (i & 0x180) != 0; + } + + DisplayModeManagerContainer172() { + this.anInt522 = 0; + this.anIntArrayArray529 = new int[6][258]; + this.anIntArray535 = new int[256]; + this.aByteArray544 = new byte[18002]; + this.aBooleanArray523 = new boolean[256]; + this.aByteArray528 = new byte[256]; + this.anInt548 = 0; + this.aByteArrayArray549 = new byte[6][258]; + this.aByteArray545 = new byte[4096]; + this.anIntArray540 = new int[16]; + this.aBooleanArray532 = new boolean[16]; + this.anIntArrayArray553 = new int[6][258]; + this.anIntArrayArray556 = new int[6][258]; + this.anIntArray557 = new int[257]; + } +} diff --git a/client/misc/DisplayModeManagerContainer173.java b/client/misc/DisplayModeManagerContainer173.java new file mode 100644 index 000000000..4a1ad22fc --- /dev/null +++ b/client/misc/DisplayModeManagerContainer173.java @@ -0,0 +1,126 @@ +/* DisplayModeManagerContainer173 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.awt.*; + +final class DisplayModeManagerContainer173 +/** + * RENAMED from `Class342` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt4238; + int anInt4239; + int anInt4240; + static int anInt4241; + static int anInt4242; + static int anInt4243; + int anInt4244; + int anInt4245; + /** World-test internal channel. */ + static NamedInteger WTI = new NamedInteger("WTI", 5); + static DisplayModeManagerContainer88 aClass70_4247; + DisplayModeManagerContainer173 aClass342_4248; + static Image anImage4249; + static int[] anIntArray4250 = new int[64]; + static int anInt4251; + DisplayModeManagerContainer204 aClass101_4252; + static int[][] anIntArrayArray4253; + static NodeCache aClass60_4254; + + public static void method2682(int i) { + WTI = null; + anIntArrayArray4253 = null; + if (i > 5) { + aClass70_4247 = null; + anIntArray4250 = null; + aClass60_4254 = null; + anImage4249 = null; + } + } + + static final void method2683(FontGlyphCache class323, NodeSub21 class348_sub21, int i, int i_0_, int i_1_, GraphicsToolkit var_ha, int i_2_, int i_3_, Component274 class42) { + try { + if (i_0_ == 64) { + anInt4242++; + int i_4_ = -5 + i - i_3_ / 2; + int i_5_ = i_2_ - -2; + if (class42.anInt602 != 0) var_ha.method3675(i_3_ + 10, (byte) -125, i_4_, i_5_, (i_2_ - -(class323.method2565() * i_1_) - (i_5_ - 1)), class42.anInt602); + if (class42.anInt604 != 0) var_ha.method3668(i_3_ + 10, i_5_, class42.anInt604, i_4_, (i_1_ * class323.method2565() + i_2_ - (i_5_ + -1)), 92); + int i_6_ = class42.anInt580; + if (class348_sub21.aBoolean6848 && class42.anInt567 != -1) i_6_ = class42.anInt567; + for (int i_7_ = 0; i_1_ > i_7_; i_7_++) { + String string = GlToolkitSub3.aStringArray8019[i_7_]; + if (-1 + i_1_ > i_7_) string = string.substring(0, -4 + string.length()); + class323.method2563(var_ha, string, i, i_2_, i_6_, true); + i_2_ += class323.method2565(); + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("eca.A(" + (class323 != null ? "{...}" : "null") + ',' + (class348_sub21 != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + i_1_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_2_ + ',' + i_3_ + ',' + (class42 != null ? "{...}" : "null") + ')')); + } + } + + static final float method2684(int i, float f) { + if (i != 6) aClass70_4247 = null; + anInt4251++; + return (f * (6.0F * f - 15.0F) + 10.0F) * (f * (f * f)); + } + + final RadixParser method2685(byte i) { + if (i != -13) method2683(null, null, -120, 35, -33, null, 90, 71, null); + anInt4243++; + return Component52.method1943(false, this.anInt4245); + } + + static final void method2686() { + for (int i = Canvas_Sub1.anInt67; i < Component291.anInt2524; i++) { + for (int i_8_ = 0; i_8_ < StaticElementRenderer.anInt6451; i_8_++) { + for (int i_9_ = 0; i_9_ < NodeSub41.anInt7054; i_9_++) { + Component186 class357 = Component335.aClass357ArrayArrayArray2029[i][i_8_][i_9_]; + if (class357 != null) { + Component269 class318_sub1_sub4 = class357.aClass318_Sub1_Sub4_4406; + Component269 class318_sub1_sub4_10_ = class357.aClass318_Sub1_Sub4_4403; + if (class318_sub1_sub4 != null && class318_sub1_sub4.method2388(-121)) { + RenderableSub9Sub2.method2519(class318_sub1_sub4, i, i_8_, i_9_, 1, 1); + if (class318_sub1_sub4_10_ != null && class318_sub1_sub4_10_.method2388(-125)) { + RenderableSub9Sub2.method2519(class318_sub1_sub4_10_, i, i_8_, i_9_, 1, 1); + class318_sub1_sub4_10_.method2380(JaclibLoader.toolkit, 0, false, class318_sub1_sub4, 0, (byte) -110, 0); + class318_sub1_sub4_10_.method2392(true); + } + class318_sub1_sub4.method2392(true); + } + for (Component3 class148 = class357.aClass148_4396; class148 != null; class148 = class148.aClass148_2038) { + Component327 class318_sub1_sub3 = (class148.aClass318_Sub1_Sub3_2040); + if (class318_sub1_sub3 != null && class318_sub1_sub3.method2388(-71)) { + RenderableSub9Sub2.method2519(class318_sub1_sub3, i, i_8_, i_9_, (class318_sub1_sub3.aShort8751 - class318_sub1_sub3.aShort8743 + 1), (class318_sub1_sub3.aShort8747 - class318_sub1_sub3.aShort8750 + 1)); + class318_sub1_sub3.method2392(true); + } + } + DisplayModeManagerContainer28 class318_sub1_sub1 = class357.aClass318_Sub1_Sub1_4402; + if (class318_sub1_sub1 != null && class318_sub1_sub1.method2388(-85)) { + NodeList.method1992(class318_sub1_sub1, i, i_8_, i_9_); + class318_sub1_sub1.method2392(true); + } + } + } + } + } + } + + final DisplayModeManagerContainer173 method2687(byte i, int i_11_) { + anInt4241++; + if (i < 61) return null; + return new DisplayModeManagerContainer173(this.anInt4245, i_11_); + } + + DisplayModeManagerContainer173(int i, int i_12_) { + this.anInt4245 = i; + this.anInt4244 = i_12_; + } + + static { + aClass70_4247 = new DisplayModeManagerContainer88(); + aClass60_4254 = new NodeCache(32); + } +} diff --git a/client/misc/DisplayModeManagerContainer174.java b/client/misc/DisplayModeManagerContainer174.java new file mode 100644 index 000000000..59d78339f --- /dev/null +++ b/client/misc/DisplayModeManagerContainer174.java @@ -0,0 +1,347 @@ +/* DisplayModeManagerContainer174 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer174 +/** + * RENAMED from `Class318_Sub1_Sub3_Sub5` (JODE-obfuscated). + * Evidence: subclass of Component327 (hierarchy) + */ extends Component327 { + private int anInt10365; + int anInt10366; + private final int anInt10367; + private int anInt10368; + private int anInt10369 = -1; + static int anInt10370; + private double aDouble10371; + static int anInt10372; + static int anInt10373; + static int anInt10374; + private final DisplayModeManagerContainer167 aClass17_10375; + static int anInt10376; + static int anInt10377; + private RenderableSub10 aClass318_Sub10_10378; + static int anInt10379; + static int anInt10380; + private int anInt10381; + static int anInt10382; + private double aDouble10383; + private double aDouble10384; + static int anInt10385; + private int anInt10386; + private final int anInt10387; + static int anInt10388; + static int anInt10389; + static int anInt10390; + private final int anInt10391; + int anInt10392; + private final int anInt10393; + static int anInt10394; + static int anInt10395 = -1; + private int anInt10396; + static int anInt10397; + private final boolean aBoolean10398; + private boolean aBoolean10399; + private double aDouble10400; + private double aDouble10401; + static int anInt10402; + private int anInt10403; + static int anInt10404; + static int anInt10405; + static int anInt10406; + private boolean aBoolean10407; + private double aDouble10408; + private double aDouble10409; + private int anInt10410; + int anInt10411; + int anInt10412; + private final int anInt10413; + private double aDouble10414; + static int anInt10415; + + final void method2387(GraphicsToolkit var_ha, int i) { + anInt10379++; + DisplayModeManagerContainer370 class64 = method2476(0, var_ha, (byte) 127); + if (class64 != null) { + if (i >= -125) this.anInt10366 = 56; + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + class101.method899(anInt10396); + class101.method896(anInt10386); + class101.method891((int) aDouble10408, (int) aDouble10384, (int) aDouble10371); + anInt10410 = class64.fa(); + anInt10368 = class64.ma(); + method2473(class101, class64, var_ha, -2393); + } + } + + final void method2471(byte i, int i_0_, int i_1_, int i_2_, int i_3_) { + if (!aBoolean10407) { + double d = i_3_ + -this.x; + double d_4_ = i_1_ + -this.y; + double d_5_ = Math.sqrt(d * d + d_4_ * d_4_); + aDouble10408 = ((double) this.x + (double) anInt10393 * d / d_5_); + aDouble10371 = ((double) anInt10393 * d_4_ / d_5_ + (double) this.y); + if (!aBoolean10398) aDouble10384 = this.anInt6382; + else aDouble10384 = Component300.method2064((int) aDouble10408, (this.plane), 11219, (int) aDouble10371) - anInt10413; + } + anInt10405++; + if (i != -103) anInt10381 = 104; + double d = -i_2_ + (1 + this.anInt10392); + aDouble10414 = ((double) i_1_ - aDouble10371) / d; + aDouble10401 = ((double) i_3_ - aDouble10408) / d; + aDouble10400 = Math.sqrt(aDouble10401 * aDouble10401 + aDouble10414 * aDouble10414); + if (anInt10381 != -1) { + if (!aBoolean10407) aDouble10409 = (-aDouble10400 * Math.tan(0.02454369 * (double) anInt10381)); + aDouble10383 = 2.0 * ((double) i_0_ - aDouble10384 - d * aDouble10409) / (d * d); + } else aDouble10409 = ((double) i_0_ - aDouble10384) / d; + } + + final void method2380(GraphicsToolkit var_ha, int i, boolean bool, RenderableObject class318_sub1, int i_6_, byte i_7_, int i_8_) { + try { + if (i_7_ > -106) method2474((byte) 11); + anInt10415++; + throw new IllegalStateException(); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("to.N(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class318_sub1 != null ? "{...}" : "null") + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ')')); + } + } + + protected final void finalize() { + anInt10390++; + if (aClass318_Sub10_10378 != null) aClass318_Sub10_10378.method2534(); + } + + final void method2472(int i) { + if (aClass318_Sub10_10378 != null) aClass318_Sub10_10378.method2534(); + anInt10404++; + if (i != -2159) aBoolean10399 = false; + } + + final boolean method2388(int i) { + anInt10374++; + if (i >= -65) aDouble10401 = -1.299791202228721; + return false; + } + + private final void method2473(DisplayModeManagerContainer204 class101, DisplayModeManagerContainer370 class64, GraphicsToolkit var_ha, int i) { + do { + try { + anInt10406++; + class64.method620(class101); + Component30[] class129s = class64.method619(); + DisplayModeManagerContainer173[] class342s = class64.method604(); + if ((aClass318_Sub10_10378 == null || aClass318_Sub10_10378.aBoolean6470) && (class129s != null || class342s != null)) aClass318_Sub10_10378 = RenderableSub10.method2526(OpenGlShader.clientCycle, true); + if (aClass318_Sub10_10378 != null) { + aClass318_Sub10_10378.method2536(var_ha, OpenGlShader.clientCycle, class129s, class342s, false); + aClass318_Sub10_10378.method2533(this.plane, this.aShort8743, this.aShort8751, this.aShort8750, this.aShort8747); + } + if (i == -2393) break; + finalize(); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("to.L(" + (class101 != null ? "{...}" : "null") + ',' + (class64 != null ? "{...}" : "null") + ',' + (var_ha != null ? "{...}" : "null") + ',' + i + ')')); + } + break; + } while (false); + } + + final int method2379(int i) { + if (i != -25675) return -92; + anInt10385++; + return anInt10368; + } + + final int method2394(boolean bool) { + anInt10372++; + if (bool != true) return 99; + return anInt10410; + } + + final void method2474(byte i) { + anInt10394++; + if (!aBoolean10407 && i == 121) { + if (anInt10387 != 0) { + DisplayModeManagerContainer58 class318_sub1_sub3_sub3 = null; + if (anInt10387 < 0) { + int i_9_ = -1 + -anInt10387; + if (i_9_ == StringDefinition.anInt9591) class318_sub1_sub3_sub3 = Component72.localPlayer; + else class318_sub1_sub3_sub3 = (InterfaceRenderer.players[i_9_]); + } else { + int i_10_ = -1 + anInt10387; + NodeSub22 class348_sub22 = ((NodeSub22) Component21.aClass356_3654.get(i_10_, -6008)); + if (class348_sub22 != null) class318_sub1_sub3_sub3 = (class348_sub22.npc); + } + if (class318_sub1_sub3_sub3 != null) { + this.y = class318_sub1_sub3_sub3.y; + this.x = class318_sub1_sub3_sub3.x; + this.anInt6382 = Component300.method2064((class318_sub1_sub3_sub3.x), this.plane, 11219, (class318_sub1_sub3_sub3.y)) + -anInt10413; + if (anInt10367 >= 0) { + Component241 class225 = class318_sub1_sub3_sub3.method2422((byte) 72); + int i_11_ = 0; + int i_12_ = 0; + if (class225.anIntArrayArray2939 != null && (class225.anIntArrayArray2939[anInt10367]) != null) { + i_11_ += (class225.anIntArrayArray2939[anInt10367][0]); + i_12_ += (class225.anIntArrayArray2939[anInt10367][2]); + } + if (class225.anIntArrayArray2910 != null && (class225.anIntArrayArray2910[anInt10367]) != null) { + i_12_ += (class225.anIntArrayArray2910[anInt10367][2]); + i_11_ += (class225.anIntArrayArray2910[anInt10367][0]); + } + if (i_11_ != 0 || i_12_ != 0) { + int i_13_ = class318_sub1_sub3_sub3.aClass264_10217.method2019((byte) -91); + int i_14_ = i_13_; + if ((class318_sub1_sub3_sub3.anIntArray10296 != null) && (class318_sub1_sub3_sub3.anIntArray10296[anInt10367]) != -1) i_14_ = (class318_sub1_sub3_sub3.anIntArray10296[anInt10367]); + int i_15_ = 0x3fff & -i_13_ + i_14_; + int i_16_ = DisplayModeManagerContainer88.anIntArray1207[i_15_]; + int i_17_ = DisplayModeManagerContainer88.anIntArray1204[i_15_]; + int i_18_ = i_12_ * i_16_ + i_11_ * i_17_ >> 14; + i_12_ = (-(i_11_ * i_16_) + i_12_ * i_17_ >> 14); + i_11_ = i_18_; + this.x += i_11_; + this.y += i_12_; + } + } + } + } + } + } + + final ComponentDownloader method2381(GraphicsToolkit var_ha, int i) { + if (i != 7) aBoolean10407 = true; + anInt10376++; + return null; + } + + final RenderableSub4 method2386(int i, GraphicsToolkit var_ha) { + anInt10397++; + DisplayModeManagerContainer370 class64 = method2476(2048, var_ha, (byte) 127); + if (class64 == null) return null; + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + class101.method899(anInt10396); + class101.method896(anInt10386); + class101.method891((int) aDouble10408, (int) aDouble10384, (int) aDouble10371); + method2473(class101, class64, var_ha, -2393); + RenderableSub4 class318_sub4 = OutputStream_Sub2.method136(i, false, false); + if (!DisplayModeManagerContainer50.aBoolean3870) class64.method615(class101, (class318_sub4.aClass318_Sub3Array6414[0]), 0); + else class64.method608(class101, (class318_sub4.aClass318_Sub3Array6414[0]), Component72.anInt1906, 0); + if (aClass318_Sub10_10378 != null) { + Component122 class98 = aClass318_Sub10_10378.method2525(); + if (DisplayModeManagerContainer50.aBoolean3870) var_ha.method3685(class98, Component72.anInt1906); + else var_ha.method3684(class98); + } + aBoolean10399 = class64.F(); + anInt10410 = class64.fa(); + anInt10368 = class64.ma(); + return class318_sub4; + } + + final boolean method2391(GraphicsToolkit var_ha, int i, int i_19_, int i_20_) { + if (i_20_ != 0) return true; + anInt10380++; + return false; + } + + final void method2475(byte i, int i_21_) { + aBoolean10407 = true; + anInt10388++; + aDouble10408 += (double) i_21_ * aDouble10401; + aDouble10371 += (double) i_21_ * aDouble10414; + if (aBoolean10398) aDouble10384 = Component300.method2064((int) aDouble10408, (this.plane), 11219, (int) aDouble10371) + -anInt10413; + else if (anInt10381 == -1) aDouble10384 += aDouble10409 * (double) i_21_; + else { + aDouble10384 += ((double) i_21_ * (aDouble10383 * 0.5) * (double) i_21_ + (double) i_21_ * aDouble10409); + aDouble10409 += aDouble10383 * (double) i_21_; + } + anInt10386 = 0x3fff & 8192 + (int) (Math.atan2(aDouble10401, aDouble10414) * 2607.5945876176133); + anInt10396 = (int) (Math.atan2(aDouble10409, aDouble10400) * 2607.5945876176133) & 0x3fff; + if (i <= 33) method2379(-27); + if (aClass17_10375 != null) { + anInt10403 += i_21_; + while (aClass17_10375.anIntArray267[anInt10365] < anInt10403) { + anInt10403 -= aClass17_10375.anIntArray267[anInt10365]; + anInt10365++; + if (anInt10365 >= aClass17_10375.anIntArray237.length) { + anInt10365 -= aClass17_10375.anInt238; + if (anInt10365 < 0 || anInt10365 >= (aClass17_10375.anIntArray237).length) anInt10365 = 0; + } + anInt10369 = anInt10365 - -1; + if (aClass17_10375.anIntArray237.length <= anInt10369) { + anInt10369 -= aClass17_10375.anInt238; + if (anInt10369 < 0 || anInt10369 >= aClass17_10375.anIntArray237.length) anInt10369 = -1; + } + } + } + } + + final void method2392(boolean bool) { + if (bool != true) this.anInt10411 = -29; + anInt10402++; + throw new IllegalStateException(); + } + + DisplayModeManagerContainer174(int i, int i_22_, int i_23_, int i_24_, int i_25_, int i_26_, int i_27_, int i_28_, int i_29_, int i_30_, int i_31_, int i_32_, int i_33_, boolean bool, int i_34_) { + super(i_22_, i_23_, i_24_, Component300.method2064(i_24_, i_22_, 11219, i_25_) + -i_26_, i_25_, i_24_ >> 9, i_24_ >> 9, i_25_ >> 9, i_25_ >> 9, false, (byte) 0); + anInt10365 = 0; + anInt10403 = 0; + aBoolean10407 = false; + aBoolean10399 = false; + anInt10410 = 0; + anInt10368 = 0; + anInt10393 = i_30_; + anInt10367 = i_34_; + this.anInt10412 = i_32_; + aBoolean10398 = bool; + aBoolean10407 = false; + this.anInt10366 = i_33_; + anInt10391 = i; + this.anInt10392 = i_28_; + anInt10413 = i_26_; + anInt10381 = i_29_; + this.anInt10411 = i_27_; + anInt10387 = i_31_; + int i_35_ = (NsnDefinition.aClass319_9245.method2543((byte) 72, anInt10391).anInt4503); + if (i_35_ != -1) aClass17_10375 = RunescapeInfo.aClass87_191.method835(i_35_, 7); + else aClass17_10375 = null; + } + + final boolean method2376(int i) { + if (i >= -12) return false; + anInt10373++; + return false; + } + + final void method2409(byte i) { + this.aShort8743 = this.aShort8751 = (short) (int) (aDouble10408 / 512.0); + this.aShort8750 = this.aShort8747 = (short) (int) (aDouble10371 / 512.0); + if (i > -109) method2386(47, null); + anInt10370++; + } + + private final DisplayModeManagerContainer370 method2476(int i, GraphicsToolkit var_ha, byte i_36_) { + anInt10377++; + Component63 class368 = NsnDefinition.aClass319_9245.method2543((byte) 75, anInt10391); + if (i_36_ < 126) aClass318_Sub10_10378 = null; + return class368.method3562(anInt10365, var_ha, anInt10403, i, anInt10369, RunescapeInfo.aClass87_191, (byte) 121); + } + + static final void method2477(String string, String string_37_, byte i, int i_38_, String string_39_, String string_40_, int i_41_, int i_42_, String string_43_) { + try { + anInt10382++; + Component335 class147 = RenderableSub2.aClass147Array6400[99]; + for (int i_44_ = 99; i_44_ > 0; i_44_--) + RenderableSub2.aClass147Array6400[i_44_] = RenderableSub2.aClass147Array6400[i_44_ + -1]; + if (class147 == null) class147 = new Component335(i_41_, i_42_, string_39_, string, string_43_, string_40_, i_38_, string_37_); + else class147.method1196(i_41_, i_42_, string_43_, string, string_40_, -18691, i_38_, string_39_, string_37_); + RenderableSub2.aClass147Array6400[0] = class147; + HashNodeSub3.anInt9501 = ResourceLoader.anInt3918; + if (i <= -109) NodeBaseSub1.anInt9774++; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("to.K(" + (string != null ? "{...}" : "null") + ',' + (string_37_ != null ? "{...}" : "null") + ',' + i + ',' + i_38_ + ',' + (string_39_ != null ? "{...}" : "null") + ',' + (string_40_ != null ? "{...}" : "null") + ',' + i_41_ + ',' + i_42_ + ',' + (string_43_ != null ? "{...}" : "null") + ')')); + } + } + + final boolean method2377(byte i) { + anInt10389++; + if (i != 122) aClass318_Sub10_10378 = null; + return aBoolean10399; + } +} diff --git a/client/misc/DisplayModeManagerContainer190.java b/client/misc/DisplayModeManagerContainer190.java new file mode 100644 index 000000000..fd8078dd9 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer190.java @@ -0,0 +1,3214 @@ +/* DisplayModeManagerContainer190 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaclib.memory.Buffer; +import jaclib.memory.Stream; + +final class DisplayModeManagerContainer190 +/** + * RENAMED from `Class64_Sub2` (JODE-obfuscated). + * Evidence: subclass of DisplayModeManagerContainer370 (hierarchy) + */ extends DisplayModeManagerContainer370 { + private int anInt5401; + private boolean aBoolean5402 = true; + static int anInt5403; + private int[] anIntArray5404; + static int anInt5405; + private int anInt5406; + static int anInt5407; + static int anInt5408; + static int anInt5409; + static int anInt5410; + static int anInt5411; + private int[][] anIntArrayArray5412; + private int[][] anIntArrayArray5413; + static int anInt5414; + private int[] anIntArray5415; + private short[] aShortArray5416; + static int anInt5417; + private int anInt5418; + private final GlToolkitSub3 aHa_Sub3_5419; + static String aString5420; + static int anInt5421; + static int anInt5422; + private short[] aShortArray5423; + private Component200 aClass290_5424; + static int anInt5425; + static int anInt5426; + private short aShort5427; + private boolean aBoolean5428; + private int[] anIntArray5429; + static int anInt5430; + static int anInt5431; + private short[] aShortArray5432; + private int anInt5433 = 0; + static int anInt5434; + static int anInt5435; + private short[] aShortArray5436; + static int anInt5437; + private short[] aShortArray5438; + private short[] aShortArray5439; + static int anInt5440; + static int anInt5441; + private NativeLibLoader[] aClass334Array5442; + private int anInt5443; + static int anInt5444; + static int anInt5445; + static int anInt5446; + static int anInt5447; + static int anInt5448; + static int anInt5449; + static int anInt5450; + static int anInt5451; + private short aShort5452; + static int anInt5453; + static int anInt5454; + private int[] anIntArray5455; + static int anInt5456; + private Component30[] aClass129Array5457; + static int anInt5458; + static int anInt5459; + private Component200 aClass290_5460; + private int anInt5461; + private boolean aBoolean5462; + private int anInt5463; + static int anInt5464; + static int anInt5465; + static int anInt5466; + private int anInt5467; + static int anInt5468; + static int anInt5469; + private short[] aShortArray5470; + static int anInt5471; + private int anInt5472; + private int[] anIntArray5473; + private DisplayModeManagerContainer173[] aClass342Array5474; + private int anInt5475; + private float[] aFloatArray5476; + private boolean aBoolean5477; + private int anInt5478; + static int anInt5479; + static int anInt5480; + static int anInt5481; + private Component200 aClass290_5482; + static int anInt5483; + static int anInt5484; + private Component353 aClass192_5485; + private short[] aShortArray5486; + static int anInt5487; + static int anInt5488; + static int anInt5489; + static int anInt5490; + static int anInt5491; + private int[][] anIntArrayArray5492; + private short[] aShortArray5493; + private short[] aShortArray5494; + private short[] aShortArray5495; + static int anInt5496; + private int anInt5497; + static int anInt5498; + private byte[] aByteArray5499; + static int anInt5500; + static int anInt5501; + private boolean aBoolean5502; + private DisplayModeManagerContainer346 aClass151_5503; + static int anInt5504; + static int anInt5505; + private float[] aFloatArray5506; + private int anInt5507; + private short[] aShortArray5508; + private int anInt5509; + private int anInt5510; + private int[] anIntArray5511; + private short[] aShortArray5512; + static int anInt5513; + static int anInt5514; + private byte[] aByteArray5515; + private int anInt5516; + static int anInt5517; + static int anInt5518; + private int[] anIntArray5519; + private Component200 aClass290_5520; + static int anInt5521; + static int anInt5522; + static int anInt5523; + private Component45[] aClass353Array5524; + static int anInt5525; + static int anInt5526; + + private final void method659(int i) { + if (aClass353Array5524 != null) { + aHa_Sub3_5419.C(!aBoolean5428); + aHa_Sub3_5419.method3866(false, true); + aHa_Sub3_5419.method3849((byte) 47, 1, DefinitionSub39.aClass70_9485); + aHa_Sub3_5419.method3885(1, true, DefinitionSub39.aClass70_9485); + for (int i_0_ = 0; anInt5406 > i_0_; i_0_++) { + Component45 class353 = aClass353Array5524[i_0_]; + NativeLibLoader class334 = aClass334Array5442[i_0_]; + if (!class353.aBoolean4350 || !aHa_Sub3_5419.method3666()) { + float f = (0.3333333F * (float) ((anIntArray5511[class353.anInt4349]) - -(anIntArray5511[class353.anInt4344]) + (anIntArray5511[class353.anInt4339]))); + float f_1_ = (0.3333333F * (float) ((anIntArray5519[class353.anInt4344]) + (anIntArray5519[class353.anInt4349]) + (anIntArray5519[class353.anInt4339]))); + float f_2_ = (0.3333333F * (float) ((anIntArray5429[class353.anInt4339]) + (anIntArray5429[class353.anInt4344]) + (anIntArray5429[class353.anInt4349]))); + float f_3_ = (f_2_ * HashNodeSub4.aFloat9516 + (JagTheoraDecoder.aFloat1010 * f + f_1_ * Component252.aFloat10199) + Component35.aFloat4268); + float f_4_ = (NodeSub12.aFloat6752 + (RenderableSub6.aFloat6430 * f_2_ + (NodeSub20.aFloat6835 * f + f_1_ * Component200.aFloat3710))); + float f_5_ = Component49.aFloat4673 + (Component45.aFloat4338 * f_1_ + f * ShaderCompilerSub3.aFloat6523 + f_2_ * GraphicsToolkit.aFloat4582); + float f_6_ = ((float) (1.0 / Math.sqrt(f_5_ * f_5_ + (f_4_ * f_4_ + f_3_ * f_3_))) * (float) class353.anInt4347); + MatrixSub2 class101_sub2 = aHa_Sub3_5419.method3934(-96); + class101_sub2.method936(class334.anInt4151, 0, (class353.aShort4340 * class334.anInt4162) >> 7, (-(f_3_ * f_6_) + ((float) class334.anInt4158 + f_3_)), -(f_6_ * f_5_) + f_5_, ((float) class334.anInt4154 + f_4_ - f_4_ * f_6_), (class334.anInt4165 * class353.aShort4341) >> 7); + class101_sub2.method917((aHa_Sub3_5419.aClass101_Sub2_8082), (byte) 112); + aHa_Sub3_5419.method3915(0); + int i_7_ = class334.anInt4156; + aHa_Sub3_5419.method3814(false, false, class353.aShort4348, (byte) 108); + aHa_Sub3_5419.method3817(92, class353.aByte4343); + aHa_Sub3_5419.method3894(-28186, i_7_); + aHa_Sub3_5419.method3933(-114); + } + } + aHa_Sub3_5419.method3885(1, true, DisplayModeManagerContainer343.aClass70_8737); + aHa_Sub3_5419.method3849((byte) 47, 1, DisplayModeManagerContainer343.aClass70_8737); + aHa_Sub3_5419.C(true); + } + if (i < 70) ia((short) 112, (short) 86); + anInt5454++; + } + + private final boolean method660(int i) { + anInt5440++; + boolean bool = !aClass290_5482.aBoolean3714; + boolean bool_8_ = ((anInt5472 & 0x37) != 0 && !aClass290_5424.aBoolean3714); + boolean bool_9_ = !aClass290_5520.aBoolean3714; + boolean bool_10_ = !aClass290_5460.aBoolean3714; + if (!bool_9_ && !bool && !bool_8_ && !bool_10_) return true; + boolean bool_11_ = true; + if (bool_9_) { + if (aClass290_5520.anInterface5_Impl1_3708 == null) aClass290_5520.anInterface5_Impl1_3708 = aHa_Sub3_5419.method3889(aBoolean5462, 16711680); + Interface5_Impl1 interface5_impl1 = aClass290_5520.anInterface5_Impl1_3708; + interface5_impl1.method20(12 * anInt5475, (byte) 125, 12); + Buffer buffer = interface5_impl1.method19(true, 26775); + if (buffer != null) { + aHa_Sub3_5419.aNativeInterface7924.copyPositions(anIntArray5511, anIntArray5519, anIntArray5429, aShortArray5470, 0, 12, anInt5475, buffer.getAddress()); + if (interface5_impl1.method18(6331)) { + aClass290_5520.anInterface5_Impl1_3711 = interface5_impl1; + aClass290_5520.aBoolean3714 = true; + } else bool_11_ = false; + } else bool_11_ = false; + } + if (bool) { + if (aClass290_5482.anInterface5_Impl1_3708 == null) aClass290_5482.anInterface5_Impl1_3708 = aHa_Sub3_5419.method3889(aBoolean5462, 16711680); + Interface5_Impl1 interface5_impl1 = aClass290_5482.anInterface5_Impl1_3708; + interface5_impl1.method20(4 * anInt5475, (byte) 125, 4); + Buffer buffer = interface5_impl1.method19(true, 26775); + if (buffer == null) bool_11_ = false; + else { + if ((anInt5472 & 0x37) == 0) { + short[] is; + short[] is_12_; + byte[] is_13_; + short[] is_14_; + if (aClass151_5503 == null) { + is_13_ = aByteArray5499; + is = aShortArray5436; + is_14_ = aShortArray5493; + is_12_ = aShortArray5438; + } else { + is = aClass151_5503.aShortArray2058; + is_12_ = aClass151_5503.aShortArray2060; + is_13_ = aClass151_5503.aByteArray2069; + is_14_ = aClass151_5503.aShortArray2067; + } + aHa_Sub3_5419.aNativeInterface7924.copyLighting(aShortArray5486, aByteArray5515, aShortArray5423, is_14_, is_12_, is, is_13_, aShort5452, aShort5427, aShortArray5416, 0, 4, anInt5475, buffer.getAddress()); + } else aHa_Sub3_5419.aNativeInterface7924.copyColours(aShortArray5486, aByteArray5515, aShortArray5423, aShort5452, aShortArray5416, 0, 4, anInt5475, buffer.getAddress()); + if (interface5_impl1.method18(6331)) { + aClass290_5482.aBoolean3714 = true; + aClass290_5482.anInterface5_Impl1_3711 = interface5_impl1; + } else bool_11_ = false; + } + } + if (bool_8_) { + if (aClass290_5424.anInterface5_Impl1_3708 == null) aClass290_5424.anInterface5_Impl1_3708 = aHa_Sub3_5419.method3889(aBoolean5462, 16711680); + Interface5_Impl1 interface5_impl1 = aClass290_5424.anInterface5_Impl1_3708; + interface5_impl1.method20(anInt5475 * 12, (byte) 125, 12); + Buffer buffer = interface5_impl1.method19(true, 26775); + if (buffer == null) bool_11_ = false; + else { + short[] is; + short[] is_15_; + byte[] is_16_; + short[] is_17_; + if (aClass151_5503 == null) { + is = aShortArray5436; + is_15_ = aShortArray5493; + is_16_ = aByteArray5499; + is_17_ = aShortArray5438; + } else { + is_16_ = aClass151_5503.aByteArray2069; + is = aClass151_5503.aShortArray2058; + is_15_ = aClass151_5503.aShortArray2067; + is_17_ = aClass151_5503.aShortArray2060; + } + aHa_Sub3_5419.aNativeInterface7924.copyNormals(is_15_, is_17_, is, is_16_, 3.0F / (float) aShort5427, 3.0F / (float) (aShort5427 + aShort5427 / 2), 0, 12, anInt5475, buffer.getAddress()); + if (interface5_impl1.method18(6331)) { + aClass290_5424.aBoolean3714 = true; + aClass290_5424.anInterface5_Impl1_3711 = interface5_impl1; + } else bool_11_ = false; + } + } + if (bool_10_) { + if (aClass290_5460.anInterface5_Impl1_3708 == null) aClass290_5460.anInterface5_Impl1_3708 = aHa_Sub3_5419.method3889(aBoolean5462, 16711680); + Interface5_Impl1 interface5_impl1 = aClass290_5460.anInterface5_Impl1_3708; + interface5_impl1.method20(anInt5475 * 8, (byte) 126, 8); + Buffer buffer = interface5_impl1.method19(true, 26775); + if (buffer != null) { + aHa_Sub3_5419.aNativeInterface7924.copyTexCoords(aFloatArray5476, aFloatArray5506, 0, 8, anInt5475, buffer.getAddress()); + if (interface5_impl1.method18(6331)) { + aClass290_5460.anInterface5_Impl1_3711 = interface5_impl1; + aClass290_5460.aBoolean3714 = true; + } else bool_11_ = false; + } else bool_11_ = false; + } + if (i >= -70) method623(-91, -89, null, false, 4, -45); + return bool_11_; + } + + final int ShaderImpl() { + anInt5523++; + if (!aBoolean5477) method675(0); + return anInt5510; + } + + final boolean NA() { + anInt5430++; + if (anIntArrayArray5413 == null) return false; + for (int i = 0; anInt5497 > i; i++) { + anIntArray5511[i] <<= 4; + anIntArray5519[i] <<= 4; + anIntArray5429[i] <<= 4; + } + Component257.anInt4795 = 0; + InputHandler.anInt4274 = 0; + AssetCacheLoader.anInt386 = 0; + return true; + } + + final void method622() { + anInt5456++; + } + + final DisplayModeManagerContainer173[] method604() { + anInt5449++; + return aClass342Array5474; + } + + final void LA(int i) { + aShort5427 = (short) i; + anInt5431++; + method667(0); + method673((byte) 65); + } + + static final void method661(byte i) { + anInt5466++; + for (HashNodeSub13 class348_sub42_sub13 = ((HashNodeSub13) Component237.aClass107_3022.first(-93)); class348_sub42_sub13 != null; class348_sub42_sub13 = ((HashNodeSub13) Component237.aClass107_3022.next((byte) 46))) { + if (class348_sub42_sub13.anInt9615 > 1) { + class348_sub42_sub13.anInt9615 = 0; + Component293.aClass60_3301.putOne(class348_sub42_sub13, ((MenuEntry) class348_sub42_sub13.aClass107_9621.sentinel.next).groupKey, (byte) -124); + class348_sub42_sub13.aClass107_9621.clear(2110355138); + } + } + DisplayModeManagerContainer345.anInt166 = 0; + if (i < 92) method661((byte) 114); + DisplayModeManagerContainer306.menuEntryCount = 0; + DefinitionSub4.menuEntries.clear(115); + MenuEntry.aClass356_9603.clear(0); + Component237.aClass107_3022.clear(2110355138); + GlToolkitSub2.method3743((byte) 6, ImageDefinition.aMenuEntry_9144); + } + + final void VA(int i) { + anInt5479++; + int i_18_ = DisplayModeManagerContainer88.anIntArray1207[i]; + int i_19_ = DisplayModeManagerContainer88.anIntArray1204[i]; + for (int i_20_ = 0; anInt5433 > i_20_; i_20_++) { + int i_21_ = ((anIntArray5511[i_20_] * i_19_ + i_18_ * anIntArray5519[i_20_]) >> 14); + anIntArray5519[i_20_] = (i_19_ * anIntArray5519[i_20_] + -(i_18_ * anIntArray5511[i_20_]) >> 14); + anIntArray5511[i_20_] = i_21_; + } + method667(0); + aBoolean5477 = false; + } + + final boolean method628(int i, int i_22_, DisplayModeManagerContainer204 class101, boolean bool, int i_23_) { + try { + anInt5414++; + return method662(i, i_23_, -1, 127, i_22_, bool, class101); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("nca.MA(" + i + ',' + i_22_ + ',' + (class101 != null ? "{...}" : "null") + ',' + bool + ',' + i_23_ + ')')); + } + } + + final r BufferedToolkit(r var_r) { + try { + anInt5513++; + if (anInt5475 == 0) return null; + if (!aBoolean5477) method675(0); + int i; + int i_24_; + if (aHa_Sub3_5419.anInt8133 <= 0) { + i = (-(anInt5461 * aHa_Sub3_5419.anInt8133 >> 8) + anInt5507 >> aHa_Sub3_5419.anInt8107); + i_24_ = ((anInt5467 - (aHa_Sub3_5419.anInt8133 * anInt5509 >> 8)) >> aHa_Sub3_5419.anInt8107); + } else { + i = (-(anInt5509 * aHa_Sub3_5419.anInt8133 >> 8) + anInt5507 >> aHa_Sub3_5419.anInt8107); + i_24_ = ((anInt5467 - (anInt5461 * aHa_Sub3_5419.anInt8133 >> 8)) >> aHa_Sub3_5419.anInt8107); + } + int i_25_; + int i_26_; + if (aHa_Sub3_5419.anInt8114 > 0) { + i_25_ = ((anInt5418 - (anInt5509 * aHa_Sub3_5419.anInt8114 >> 8)) >> aHa_Sub3_5419.anInt8107); + i_26_ = (-(anInt5461 * aHa_Sub3_5419.anInt8114 >> 8) + anInt5443 >> aHa_Sub3_5419.anInt8107); + } else { + i_25_ = ((anInt5418 - (anInt5461 * aHa_Sub3_5419.anInt8114 >> 8)) >> aHa_Sub3_5419.anInt8107); + i_26_ = ((anInt5443 + -(anInt5509 * aHa_Sub3_5419.anInt8114 >> 8)) >> aHa_Sub3_5419.anInt8107); + } + int i_27_ = 1 + (i_24_ - i); + int i_28_ = 1 + -i_25_ + i_26_; + CacheNodeSub1 var_r_Sub1 = (CacheNodeSub1) var_r; + CacheNodeSub1 var_r_Sub1_29_; + if (var_r_Sub1 == null || !var_r_Sub1.method3291(i_27_, i_28_, (byte) -59)) var_r_Sub1_29_ = new CacheNodeSub1(aHa_Sub3_5419, i_27_, i_28_); + else { + var_r_Sub1_29_ = var_r_Sub1; + var_r_Sub1_29_.method3289(108); + } + var_r_Sub1_29_.method3286(i_24_, -98, i_26_, i_25_, i); + method665(41, var_r_Sub1_29_); + return var_r_Sub1_29_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "nca.ba(" + (var_r != null ? "{...}" : "null") + ')'); + } + } + + final void Interface4Impl() { + anInt5484++; + for (int i = 0; anInt5497 > i; i++) { + anIntArray5511[i] = anIntArray5511[i] + 7 >> 4; + anIntArray5519[i] = 7 + anIntArray5519[i] >> 4; + anIntArray5429[i] = 7 + anIntArray5429[i] >> 4; + } + method667(0); + aBoolean5477 = false; + } + + final int EA() { + anInt5408++; + if (!aBoolean5477) method675(0); + return anInt5509; + } + + private final boolean method662(int i, int i_30_, int i_31_, int i_32_, int i_33_, boolean bool, DisplayModeManagerContainer204 class101) { + try { + anInt5450++; + MatrixSub2 class101_sub2 = (MatrixSub2) class101; + MatrixSub2 class101_sub2_34_ = aHa_Sub3_5419.aClass101_Sub2_8080; + float f = (class101_sub2_34_.aFloat5729 + ((class101_sub2_34_.aFloat5711 * class101_sub2.aFloat5729) + (class101_sub2_34_.aFloat5700 * class101_sub2.aFloat5710) + (class101_sub2_34_.aFloat5704 * class101_sub2.aFloat5724))); + float f_35_ = ((class101_sub2_34_.aFloat5732 * class101_sub2.aFloat5724) + ((class101_sub2.aFloat5710 * class101_sub2_34_.aFloat5722) + (class101_sub2.aFloat5729 * class101_sub2_34_.aFloat5708)) + class101_sub2_34_.aFloat5710); + HashNodeSub4.aFloat9516 = ((class101_sub2_34_.aFloat5704 * class101_sub2.aFloat5716) + ((class101_sub2.aFloat5704 * class101_sub2_34_.aFloat5711) + (class101_sub2.aFloat5732 * class101_sub2_34_.aFloat5700))); + ShaderCompilerSub3.aFloat6523 = ((class101_sub2.aFloat5736 * class101_sub2_34_.aFloat5716) + ((class101_sub2_34_.aFloat5691 * class101_sub2.aFloat5708) + (class101_sub2.aFloat5711 * class101_sub2_34_.aFloat5736))); + Component200.aFloat3710 = ((class101_sub2.aFloat5722 * class101_sub2_34_.aFloat5722) + (class101_sub2_34_.aFloat5708 * class101_sub2.aFloat5700) + (class101_sub2_34_.aFloat5732 * class101_sub2.aFloat5691)); + GraphicsToolkit.aFloat4582 = ((class101_sub2.aFloat5704 * class101_sub2_34_.aFloat5736) + (class101_sub2_34_.aFloat5691 * class101_sub2.aFloat5732) + (class101_sub2.aFloat5716 * class101_sub2_34_.aFloat5716)); + Component252.aFloat10199 = ((class101_sub2.aFloat5691 * class101_sub2_34_.aFloat5704) + ((class101_sub2_34_.aFloat5711 * class101_sub2.aFloat5700) + (class101_sub2_34_.aFloat5700 * class101_sub2.aFloat5722))); + NodeSub20.aFloat6835 = ((class101_sub2_34_.aFloat5732 * class101_sub2.aFloat5736) + ((class101_sub2.aFloat5711 * class101_sub2_34_.aFloat5708) + (class101_sub2.aFloat5708 * class101_sub2_34_.aFloat5722))); + JagTheoraDecoder.aFloat1010 = ((class101_sub2_34_.aFloat5704 * class101_sub2.aFloat5736) + ((class101_sub2_34_.aFloat5700 * class101_sub2.aFloat5708) + (class101_sub2.aFloat5711 * class101_sub2_34_.aFloat5711))); + float f_36_ = (class101_sub2_34_.aFloat5724 + ((class101_sub2_34_.aFloat5716 * class101_sub2.aFloat5724) + ((class101_sub2_34_.aFloat5736 * class101_sub2.aFloat5729) + (class101_sub2.aFloat5710 * (class101_sub2_34_.aFloat5691))))); + RenderableSub6.aFloat6430 = ((class101_sub2_34_.aFloat5722 * class101_sub2.aFloat5732) + (class101_sub2.aFloat5704 * class101_sub2_34_.aFloat5708) + (class101_sub2.aFloat5716 * class101_sub2_34_.aFloat5732)); + Component45.aFloat4338 = ((class101_sub2_34_.aFloat5691 * class101_sub2.aFloat5722) + (class101_sub2.aFloat5700 * class101_sub2_34_.aFloat5736) + (class101_sub2.aFloat5691 * class101_sub2_34_.aFloat5716)); + boolean bool_37_ = false; + float f_38_ = 3.4028235E38F; + float f_39_ = -3.4028235E38F; + float f_40_ = 3.4028235E38F; + float f_41_ = -3.4028235E38F; + int i_42_ = aHa_Sub3_5419.anInt8129; + int i_43_ = aHa_Sub3_5419.anInt8134; + if (!aBoolean5477) method675(0); + int i_44_ = -anInt5507 + anInt5467 >> 1; + int i_45_ = anInt5509 + -anInt5461 >> 1; + if (i_32_ <= 121) O(86, -105, 66); + int i_46_ = -anInt5418 + anInt5443 >> 1; + int i_47_ = i_44_ + anInt5507; + int i_48_ = i_45_ + anInt5461; + int i_49_ = i_46_ + anInt5418; + int i_50_ = i_47_ - (i_44_ << i_30_); + int i_51_ = i_48_ - (i_45_ << i_30_); + int i_52_ = -(i_46_ << i_30_) + i_49_; + int i_53_ = (i_44_ << i_30_) + i_47_; + int i_54_ = i_48_ + (i_45_ << i_30_); + BufferCacheSub2.anIntArray8269[0] = i_50_; + int i_55_ = (i_46_ << i_30_) + i_49_; + MenuEntry.anIntArray9612[0] = i_51_; + BufferCacheSub2.anIntArray8269[1] = i_53_; + Component126.anIntArray4463[0] = i_52_; + MenuEntry.anIntArray9612[1] = i_51_; + Component126.anIntArray4463[1] = i_52_; + BufferCacheSub2.anIntArray8269[2] = i_50_; + MenuEntry.anIntArray9612[2] = i_54_; + Component126.anIntArray4463[2] = i_52_; + BufferCacheSub2.anIntArray8269[3] = i_53_; + MenuEntry.anIntArray9612[3] = i_54_; + Component126.anIntArray4463[3] = i_52_; + BufferCacheSub2.anIntArray8269[4] = i_50_; + MenuEntry.anIntArray9612[4] = i_51_; + Component126.anIntArray4463[4] = i_55_; + BufferCacheSub2.anIntArray8269[5] = i_53_; + MenuEntry.anIntArray9612[5] = i_51_; + Component126.anIntArray4463[5] = i_55_; + BufferCacheSub2.anIntArray8269[6] = i_50_; + MenuEntry.anIntArray9612[6] = i_54_; + BufferCacheSub2.anIntArray8269[7] = i_53_; + Component126.anIntArray4463[6] = i_55_; + MenuEntry.anIntArray9612[7] = i_54_; + Component126.anIntArray4463[7] = i_55_; + for (int i_56_ = 0; i_56_ < 8; i_56_++) { + float f_57_ = (float) BufferCacheSub2.anIntArray8269[i_56_]; + float f_58_ = (float) Component126.anIntArray4463[i_56_]; + float f_59_ = (float) MenuEntry.anIntArray9612[i_56_]; + float f_60_ = (f_57_ * NodeSub20.aFloat6835 + f_59_ * Component200.aFloat3710 + RenderableSub6.aFloat6430 * f_58_ + f_35_); + float f_61_ = (JagTheoraDecoder.aFloat1010 * f_57_ + f_59_ * Component252.aFloat10199 + f_58_ * HashNodeSub4.aFloat9516 + f); + float f_62_ = f_36_ + (f_58_ * GraphicsToolkit.aFloat4582 + (Component45.aFloat4338 * f_59_ + ShaderCompilerSub3.aFloat6523 * f_57_)); + if (f_62_ >= (float) aHa_Sub3_5419.anInt8095) { + if (i_31_ > 0) f_62_ = (float) i_31_; + float f_63_ = (f_61_ * (float) i_42_ / f_62_ + (float) aHa_Sub3_5419.anInt8094); + float f_64_ = ((float) aHa_Sub3_5419.anInt8130 + (float) i_43_ * f_60_ / f_62_); + if (f_63_ < f_38_) f_38_ = f_63_; + if (f_63_ > f_39_) f_39_ = f_63_; + if (f_64_ < f_40_) f_40_ = f_64_; + bool_37_ = true; + if (f_41_ < f_64_) f_41_ = f_64_; + } + } + if (bool_37_ && f_38_ < (float) i && f_39_ > (float) i && f_40_ < (float) i_33_ && f_41_ > (float) i_33_) { + if (bool) return true; + if (anInt5475 > Component141.anIntArray9949.length) { + DisplayModeManagerContainer204.anIntArray1593 = new int[anInt5475]; + Component141.anIntArray9949 = new int[anInt5475]; + } + for (int i_65_ = 0; i_65_ < anInt5433; i_65_++) { + float f_66_ = (float) anIntArray5429[i_65_]; + float f_67_ = (float) anIntArray5519[i_65_]; + float f_68_ = (float) anIntArray5511[i_65_]; + float f_69_ = (GraphicsToolkit.aFloat4582 * f_66_ + (f_68_ * ShaderCompilerSub3.aFloat6523 + Component45.aFloat4338 * f_67_) + f_36_); + float f_70_ = f + (Component252.aFloat10199 * f_67_ + JagTheoraDecoder.aFloat1010 * f_68_ + f_66_ * HashNodeSub4.aFloat9516); + float f_71_ = (RenderableSub6.aFloat6430 * f_66_ + (f_68_ * NodeSub20.aFloat6835 + Component200.aFloat3710 * f_67_) + f_35_); + if (f_69_ >= (float) aHa_Sub3_5419.anInt8095) { + if (i_31_ > 0) f_69_ = (float) i_31_; + int i_72_ = (int) ((float) i_42_ * f_70_ / f_69_ + (float) (aHa_Sub3_5419.anInt8094)); + int i_73_ = (int) ((float) (aHa_Sub3_5419.anInt8130) + f_71_ * (float) i_43_ / f_69_); + int i_74_ = anIntArray5455[i_65_]; + int i_75_ = anIntArray5455[i_65_ + 1]; + for (int i_76_ = i_74_; i_76_ < i_75_; i_76_++) { + int i_77_ = -1 + aShortArray5439[i_76_]; + if (i_77_ == -1) break; + Component141.anIntArray9949[i_77_] = i_72_; + DisplayModeManagerContainer204.anIntArray1593[i_77_] = i_73_; + } + } else { + int i_78_ = anIntArray5455[i_65_]; + int i_79_ = anIntArray5455[i_65_ + 1]; + for (int i_80_ = i_78_; i_79_ > i_80_; i_80_++) { + int i_81_ = aShortArray5439[i_80_] + -1; + if (i_81_ == -1) break; + Component141.anIntArray9949[aShortArray5439[i_80_] - 1] = -999999; + } + } + } + for (int i_82_ = 0; anInt5478 > i_82_; i_82_++) { + if ((Component141.anIntArray9949[aShortArray5508[i_82_]]) != -999999 && (Component141.anIntArray9949[aShortArray5495[i_82_]]) != -999999 && (Component141.anIntArray9949[aShortArray5512[i_82_]]) != -999999 && method671(i, (Component141.anIntArray9949[aShortArray5512[i_82_]]), (Component141.anIntArray9949[aShortArray5495[i_82_]]), (DisplayModeManagerContainer204.anIntArray1593[aShortArray5512[i_82_]]), (DisplayModeManagerContainer204.anIntArray1593[aShortArray5508[i_82_]]), i_33_, 0, (Component141.anIntArray9949[aShortArray5508[i_82_]]), (DisplayModeManagerContainer204.anIntArray1593[aShortArray5495[i_82_]]))) + return true; + } + } + return false; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("nca.AB(" + i + ',' + i_30_ + ',' + i_31_ + ',' + i_32_ + ',' + i_33_ + ',' + bool + ',' + (class101 != null ? "{...}" : "null") + ')')); + } + } + + private final void method663(int i) { + anInt5500++; + if (aBoolean5402) { + aBoolean5402 = false; + if (aClass129Array5457 == null && aClass342Array5474 == null && aClass353Array5524 == null) { + if (anIntArray5511 != null && !DisplayModeManagerContainer292.method1317(anInt5472, (byte) -91, anInt5463)) { + if (aClass290_5520 == null || aClass290_5520.method2197((byte) -62)) { + if (!aBoolean5477) method675(0); + anIntArray5511 = null; + } else aBoolean5402 = true; + } + if (anIntArray5519 != null && !Component163.method1887(0, anInt5472, anInt5463)) { + if (aClass290_5520 == null || aClass290_5520.method2197((byte) -87)) { + if (!aBoolean5477) method675(0); + anIntArray5519 = null; + } else aBoolean5402 = true; + } + if (anIntArray5429 != null && !OutputStream_Sub2.method137(anInt5472, -96, anInt5463)) { + if (aClass290_5520 == null || aClass290_5520.method2197((byte) -34)) { + if (!aBoolean5477) method675(0); + anIntArray5429 = null; + } else aBoolean5402 = true; + } + } + if (aShortArray5439 != null && anIntArray5511 == null && anIntArray5519 == null && anIntArray5429 == null) { + anIntArray5455 = null; + aShortArray5439 = null; + } + if (aByteArray5499 != null && !DisplayModeManagerContainer123.method776(anInt5472, anInt5463, i + -196608)) { + if ((0x37 & anInt5472) != 0 ? (aClass290_5424 == null || aClass290_5424.method2197((byte) -10)) : (aClass290_5482 == null || aClass290_5482.method2197((byte) -73))) { + aShortArray5493 = aShortArray5438 = aShortArray5436 = null; + aByteArray5499 = null; + } else aBoolean5402 = true; + } + if (aShortArray5486 != null && !DisplayModeManagerContainer348.method1740(anInt5472, anInt5463, false)) { + if (aClass290_5482 != null && !aClass290_5482.method2197((byte) -74)) aBoolean5402 = true; + else aShortArray5486 = null; + } + if (aByteArray5515 != null && !DefinitionSub29.method3124(anInt5472, (byte) -119, anInt5463)) { + if (aClass290_5482 == null || aClass290_5482.method2197((byte) -20)) aByteArray5515 = null; + else aBoolean5402 = true; + } + if (aFloatArray5476 != null && !DisplayModeManagerContainer273.method1132(1673, anInt5472, anInt5463)) { + if (aClass290_5460 == null || aClass290_5460.method2197((byte) -66)) aFloatArray5476 = aFloatArray5506 = null; + else aBoolean5402 = true; + } + if (aShortArray5423 != null && !RunescapeInfo.hasOverlayFlag(anInt5463, false, anInt5472)) { + if (aClass290_5482 != null && !aClass290_5482.method2197((byte) -125)) aBoolean5402 = true; + else aShortArray5423 = null; + } + if (i != 262144) method623(-95, 94, null, true, 116, 62); + if (aShortArray5508 != null && !Component39.method1299(i + 131072, anInt5463, anInt5472)) { + if ((aClass192_5485 == null || aClass192_5485.method1437((byte) -100)) && (aClass290_5482 == null || aClass290_5482.method2197((byte) -56))) aShortArray5508 = aShortArray5495 = aShortArray5512 = null; + else aBoolean5402 = true; + } + if (aShortArray5470 != null) { + if (aClass290_5520 == null || aClass290_5520.method2197((byte) -83)) aShortArray5470 = null; + else aBoolean5402 = true; + } + if (aShortArray5416 != null) { + if (aClass290_5482 == null || aClass290_5482.method2197((byte) -36)) aShortArray5416 = null; + else aBoolean5402 = true; + } + if (anIntArrayArray5492 != null && !MenuOpener.method1158(anInt5472, -1, anInt5463)) { + aShortArray5432 = null; + anIntArrayArray5492 = null; + } + if (anIntArrayArray5413 != null && !Component214.method1257(-83, anInt5472, anInt5463)) { + anIntArrayArray5413 = null; + aShortArray5494 = null; + } + if (anIntArrayArray5412 != null && !DisplayModeManagerContainer123.method780(anInt5472, 0, anInt5463)) anIntArrayArray5412 = null; + if (anIntArray5404 != null && (0x800 & anInt5463) == 0 && (anInt5463 & 0x40000) == 0) { + anIntArray5404 = null; + anIntArray5473 = null; + anIntArray5415 = null; + } + } + } + + final void a(int i) { + anInt5435++; + int i_83_ = DisplayModeManagerContainer88.anIntArray1207[i]; + int i_84_ = DisplayModeManagerContainer88.anIntArray1204[i]; + for (int i_85_ = 0; anInt5433 > i_85_; i_85_++) { + int i_86_ = ((i_84_ * anIntArray5511[i_85_] + anIntArray5429[i_85_] * i_83_) >> 14); + anIntArray5429[i_85_] = (i_84_ * anIntArray5429[i_85_] + -(i_83_ * anIntArray5511[i_85_]) >> 14); + anIntArray5511[i_85_] = i_86_; + } + method667(0); + aBoolean5477 = false; + } + + final void FA(int i) { + anInt5488++; + int i_87_ = DisplayModeManagerContainer88.anIntArray1207[i]; + int i_88_ = DisplayModeManagerContainer88.anIntArray1204[i]; + for (int i_89_ = 0; i_89_ < anInt5433; i_89_++) { + int i_90_ = (anIntArray5519[i_89_] * i_88_ + -(anIntArray5429[i_89_] * i_87_) >> 14); + anIntArray5429[i_89_] = (anIntArray5429[i_89_] * i_88_ + anIntArray5519[i_89_] * i_87_) >> 14; + anIntArray5519[i_89_] = i_90_; + } + method667(0); + aBoolean5477 = false; + } + + final int ua() { + anInt5504++; + return anInt5463; + } + + final int G() { + anInt5437++; + if (!aBoolean5477) method675(0); + return anInt5443; + } + + final void method664(int i) { + anInt5483++; + if (aClass290_5520 != null) aClass290_5520.method2195(false); + if (aClass290_5460 != null) aClass290_5460.method2195(false); + if (aClass290_5482 != null) aClass290_5482.method2195(false); + if (i != -23755) aBoolean5477 = false; + if (aClass290_5424 != null) aClass290_5424.method2195(false); + if (aClass192_5485 != null) aClass192_5485.method1435((byte) -95); + } + + final Component30[] method619() { + anInt5469++; + return aClass129Array5457; + } + + final void P(int i, int i_91_, int i_92_, int i_93_) { + anInt5480++; + if (i == 0) { + int i_94_ = 0; + Component257.anInt4795 = 0; + InputHandler.anInt4274 = 0; + AssetCacheLoader.anInt386 = 0; + for (int i_95_ = 0; i_95_ < anInt5433; i_95_++) { + Component257.anInt4795 += anIntArray5511[i_95_]; + AssetCacheLoader.anInt386 += anIntArray5519[i_95_]; + InputHandler.anInt4274 += anIntArray5429[i_95_]; + i_94_++; + } + if (i_94_ > 0) { + InputHandler.anInt4274 = i_93_ + InputHandler.anInt4274 / i_94_; + AssetCacheLoader.anInt386 = i_92_ + AssetCacheLoader.anInt386 / i_94_; + Component257.anInt4795 = i_91_ + Component257.anInt4795 / i_94_; + } else { + AssetCacheLoader.anInt386 = i_92_; + InputHandler.anInt4274 = i_93_; + Component257.anInt4795 = i_91_; + } + } else if (i == 1) { + for (int i_96_ = 0; i_96_ < anInt5433; i_96_++) { + anIntArray5511[i_96_] += i_91_; + anIntArray5519[i_96_] += i_92_; + anIntArray5429[i_96_] += i_93_; + } + } else if (i == 2) { + for (int i_97_ = 0; anInt5433 > i_97_; i_97_++) { + anIntArray5511[i_97_] -= Component257.anInt4795; + anIntArray5519[i_97_] -= AssetCacheLoader.anInt386; + anIntArray5429[i_97_] -= InputHandler.anInt4274; + if (i_93_ != 0) { + int i_98_ = DisplayModeManagerContainer88.anIntArray1207[i_93_]; + int i_99_ = DisplayModeManagerContainer88.anIntArray1204[i_93_]; + int i_100_ = ((16383 + i_99_ * anIntArray5511[i_97_] + anIntArray5519[i_97_] * i_98_) >> 14); + anIntArray5519[i_97_] = (16383 + (-(anIntArray5511[i_97_] * i_98_) + anIntArray5519[i_97_] * i_99_) >> 14); + anIntArray5511[i_97_] = i_100_; + } + if (i_91_ != 0) { + int i_101_ = DisplayModeManagerContainer88.anIntArray1207[i_91_]; + int i_102_ = DisplayModeManagerContainer88.anIntArray1204[i_91_]; + int i_103_ = (16383 + (anIntArray5519[i_97_] * i_102_ + -(i_101_ * anIntArray5429[i_97_])) >> 14); + anIntArray5429[i_97_] = (anIntArray5429[i_97_] * i_102_ + (anIntArray5519[i_97_] * i_101_ - -16383)) >> 14; + anIntArray5519[i_97_] = i_103_; + } + if (i_92_ != 0) { + int i_104_ = DisplayModeManagerContainer88.anIntArray1207[i_92_]; + int i_105_ = DisplayModeManagerContainer88.anIntArray1204[i_92_]; + int i_106_ = ((i_105_ * anIntArray5511[i_97_] + anIntArray5429[i_97_] * i_104_ + 16383) >> 14); + anIntArray5429[i_97_] = (16383 + -(i_104_ * anIntArray5511[i_97_]) + i_105_ * anIntArray5429[i_97_]) >> 14; + anIntArray5511[i_97_] = i_106_; + } + anIntArray5511[i_97_] += Component257.anInt4795; + anIntArray5519[i_97_] += AssetCacheLoader.anInt386; + anIntArray5429[i_97_] += InputHandler.anInt4274; + } + } else if (i == 3) { + for (int i_107_ = 0; i_107_ < anInt5433; i_107_++) { + anIntArray5511[i_107_] -= Component257.anInt4795; + anIntArray5519[i_107_] -= AssetCacheLoader.anInt386; + anIntArray5429[i_107_] -= InputHandler.anInt4274; + anIntArray5511[i_107_] = anIntArray5511[i_107_] * i_91_ / 128; + anIntArray5519[i_107_] = anIntArray5519[i_107_] * i_92_ / 128; + anIntArray5429[i_107_] = anIntArray5429[i_107_] * i_93_ / 128; + anIntArray5511[i_107_] += Component257.anInt4795; + anIntArray5519[i_107_] += AssetCacheLoader.anInt386; + anIntArray5429[i_107_] += InputHandler.anInt4274; + } + } else if (i == 5) { + for (int i_108_ = 0; anInt5478 > i_108_; i_108_++) { + int i_109_ = i_91_ * 8 + (0xff & aByteArray5515[i_108_]); + if (i_109_ >= 0) { + if (i_109_ > 255) i_109_ = 255; + } else i_109_ = 0; + aByteArray5515[i_108_] = (byte) i_109_; + } + if (aClass353Array5524 != null) { + for (int i_110_ = 0; anInt5406 > i_110_; i_110_++) { + Component45 class353 = aClass353Array5524[i_110_]; + NativeLibLoader class334 = aClass334Array5442[i_110_]; + class334.anInt4156 = (class334.anInt4156 & 0xffffff | 255 - ((aByteArray5515[class353.anInt4342]) & 0xff) << 24); + } + } + method670(-89); + } else if (i == 7) { + for (int i_111_ = 0; i_111_ < anInt5478; i_111_++) { + int i_112_ = 0xffff & aShortArray5486[i_111_]; + int i_113_ = 0x3f & i_112_ >> 10; + int i_114_ = (i_112_ & 0x3e6) >> 7; + i_114_ += i_92_ / 4; + int i_115_ = 0x7f & i_112_; + i_113_ = 0x3f & i_113_ + i_91_; + i_115_ += i_93_; + if (i_114_ >= 0) { + if (i_114_ > 7) i_114_ = 7; + } else i_114_ = 0; + if (i_115_ < 0) i_115_ = 0; + else if (i_115_ > 127) i_115_ = 127; + aShortArray5486[i_111_] = (short) (Component224.bitwiseOr(Component224.bitwiseOr(i_114_ << 7, i_113_ << 10), i_115_)); + } + if (aClass353Array5524 != null) { + for (int i_116_ = 0; i_116_ < anInt5406; i_116_++) { + Component45 class353 = aClass353Array5524[i_116_]; + NativeLibLoader class334 = aClass334Array5442[i_116_]; + class334.anInt4156 = ((RunescapeInfo.anIntArray179[(aShortArray5486[class353.anInt4342] & 0xffff)]) & 0xffffff | ~0xffffff & class334.anInt4156); + } + } + method670(-109); + } else if (i == 8) { + for (int i_117_ = 0; anInt5406 > i_117_; i_117_++) { + NativeLibLoader class334 = aClass334Array5442[i_117_]; + class334.anInt4154 += i_92_; + class334.anInt4158 += i_91_; + } + } else if (i == 10) { + for (int i_118_ = 0; anInt5406 > i_118_; i_118_++) { + NativeLibLoader class334 = aClass334Array5442[i_118_]; + class334.anInt4162 = class334.anInt4162 * i_92_ >> 7; + class334.anInt4165 = class334.anInt4165 * i_91_ >> 7; + } + } else if (i == 9) { + for (int i_119_ = 0; anInt5406 > i_119_; i_119_++) { + NativeLibLoader class334 = aClass334Array5442[i_119_]; + class334.anInt4151 = class334.anInt4151 + i_91_ & 0x3fff; + } + } + } + + final void O(int i, int i_120_, int i_121_) { + for (int i_122_ = 0; anInt5433 > i_122_; i_122_++) { + if (i != 128) anIntArray5511[i_122_] = i * anIntArray5511[i_122_] >> 7; + if (i_120_ != 128) anIntArray5519[i_122_] = i_120_ * anIntArray5519[i_122_] >> 7; + if (i_121_ != 128) anIntArray5429[i_122_] = i_121_ * anIntArray5429[i_122_] >> 7; + } + anInt5525++; + method667(0); + aBoolean5477 = false; + } + + private final void method665(int i, CacheNodeSub1 var_r_Sub1) { + try { + if (anInt5475 > Component141.anIntArray9949.length) { + DisplayModeManagerContainer204.anIntArray1593 = new int[anInt5475]; + Component141.anIntArray9949 = new int[anInt5475]; + } + anInt5453++; + if (i >= 0) { + for (int i_123_ = 0; anInt5433 > i_123_; i_123_++) { + int i_124_ = (-var_r_Sub1.anInt10468 + ((anIntArray5511[i_123_] + -((aHa_Sub3_5419.anInt8133 * anIntArray5519[i_123_]) >> 8)) >> aHa_Sub3_5419.anInt8107)); + int i_125_ = (((anIntArray5429[i_123_] + -((aHa_Sub3_5419.anInt8114 * anIntArray5519[i_123_]) >> 8)) >> aHa_Sub3_5419.anInt8107) + -var_r_Sub1.anInt10474); + int i_126_ = anIntArray5455[i_123_]; + int i_127_ = anIntArray5455[i_123_ - -1]; + for (int i_128_ = i_126_; i_128_ < i_127_; i_128_++) { + int i_129_ = aShortArray5439[i_128_] - 1; + if (i_129_ == -1) break; + Component141.anIntArray9949[i_129_] = i_124_; + DisplayModeManagerContainer204.anIntArray1593[i_129_] = i_125_; + } + } + for (int i_130_ = 0; anInt5516 > i_130_; i_130_++) { + if (aByteArray5515 == null || aByteArray5515[i_130_] <= 128) { + short i_131_ = aShortArray5508[i_130_]; + short i_132_ = aShortArray5495[i_130_]; + short i_133_ = aShortArray5512[i_130_]; + int i_134_ = Component141.anIntArray9949[i_131_]; + int i_135_ = Component141.anIntArray9949[i_132_]; + int i_136_ = Component141.anIntArray9949[i_133_]; + int i_137_ = DisplayModeManagerContainer204.anIntArray1593[i_131_]; + int i_138_ = DisplayModeManagerContainer204.anIntArray1593[i_132_]; + int i_139_ = DisplayModeManagerContainer204.anIntArray1593[i_133_]; + if ((-((i_136_ - i_135_) * (-i_137_ + i_138_)) + (i_138_ - i_139_) * (-i_135_ + i_134_)) > 0) var_r_Sub1.method3287(i_137_, 50, i_134_, i_135_, i_138_, i_139_, i_136_); + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("nca.B(" + i + ',' + (var_r_Sub1 != null ? "{...}" : "null") + ')')); + } + } + + final void k(int i) { + anInt5490++; + int i_140_ = DisplayModeManagerContainer88.anIntArray1207[i]; + int i_141_ = DisplayModeManagerContainer88.anIntArray1204[i]; + for (int i_142_ = 0; i_142_ < anInt5433; i_142_++) { + int i_143_ = ((anIntArray5511[i_142_] * i_141_ + anIntArray5429[i_142_] * i_140_) >> 14); + anIntArray5429[i_142_] = (i_141_ * anIntArray5429[i_142_] + -(i_140_ * anIntArray5511[i_142_])) >> 14; + anIntArray5511[i_142_] = i_143_; + } + for (int i_144_ = 0; i_144_ < anInt5475; i_144_++) { + int i_145_ = (aShortArray5436[i_144_] * i_140_ - -(aShortArray5493[i_144_] * i_141_) >> 14); + aShortArray5436[i_144_] = (short) ((i_141_ * aShortArray5436[i_144_] + -(i_140_ * aShortArray5493[i_144_])) >> 14); + aShortArray5493[i_144_] = (short) i_145_; + } + method667(0); + method673((byte) 112); + aBoolean5477 = false; + } + + private final boolean method666(int i) { + anInt5421++; + if (aClass192_5485.aBoolean2577) return true; + if (aClass192_5485.anInterface5_Impl2_2576 == null) aClass192_5485.anInterface5_Impl2_2576 = aHa_Sub3_5419.method3840(-28633, aBoolean5462); + Interface5_Impl2 interface5_impl2 = aClass192_5485.anInterface5_Impl2_2576; + interface5_impl2.method23(15959, 6 * anInt5516); + Buffer buffer = interface5_impl2.method24(true, false); + int i_146_ = 84 / ((-70 - i) / 49); + if (buffer != null) { + Stream stream = aHa_Sub3_5419.method3893(buffer, 9179); + if (Stream.c()) { + for (int i_148_ = 0; anInt5516 > i_148_; i_148_++) { + stream.d(aShortArray5508[i_148_]); + stream.d(aShortArray5495[i_148_]); + stream.d(aShortArray5512[i_148_]); + } + } else { + for (int i_147_ = 0; anInt5516 > i_147_; i_147_++) { + stream.a(aShortArray5508[i_147_]); + stream.a(aShortArray5495[i_147_]); + stream.a(aShortArray5512[i_147_]); + } + } + stream.a(); + if (interface5_impl2.method22(-23)) { + aClass192_5485.aBoolean2577 = true; + aBoolean5402 = true; + aClass192_5485.anInterface5_Impl2_2572 = interface5_impl2; + return true; + } + } + return false; + } + + final void method610(DisplayModeManagerContainer204 class101, int i, boolean bool) { + try { + anInt5434++; + if (aShortArray5494 != null) { + int[] is = new int[3]; + for (int i_149_ = 0; i_149_ < anInt5433; i_149_++) { + if ((i & aShortArray5494[i_149_]) != 0) { + if (!bool) class101.method897(anIntArray5511[i_149_], anIntArray5519[i_149_], anIntArray5429[i_149_], is); + else class101.method892(anIntArray5511[i_149_], anIntArray5519[i_149_], anIntArray5429[i_149_], is); + anIntArray5511[i_149_] = is[0]; + anIntArray5519[i_149_] = is[1]; + anIntArray5429[i_149_] = is[2]; + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("nca.za(" + (class101 != null ? "{...}" : "null") + ',' + i + ',' + bool + ')')); + } + } + + private final void method667(int i) { + anInt5491++; + if (i == 0) { + if (aClass290_5520 != null) aClass290_5520.aBoolean3714 = false; + } + } + + final void H(int i, int i_150_, int i_151_) { + anInt5481++; + for (int i_152_ = 0; anInt5433 > i_152_; i_152_++) { + if (i != 0) anIntArray5511[i_152_] += i; + if (i_150_ != 0) anIntArray5519[i_152_] += i_150_; + if (i_151_ != 0) anIntArray5429[i_152_] += i_151_; + } + method667(0); + aBoolean5477 = false; + } + + private final DisplayModeManagerContainer370 method668(boolean bool, DisplayModeManagerContainer190 class64_sub2_153_, DisplayModeManagerContainer190 class64_sub2_154_, int i, boolean bool_155_, int i_156_) { + try { + class64_sub2_154_.anInt5497 = anInt5497; + class64_sub2_154_.anInt5478 = anInt5478; + class64_sub2_154_.anInt5475 = anInt5475; + class64_sub2_154_.aShort5427 = aShort5427; + class64_sub2_154_.anInt5433 = anInt5433; + anInt5411++; + class64_sub2_154_.anInt5516 = anInt5516; + class64_sub2_154_.anInt5463 = i; + class64_sub2_154_.anInt5472 = anInt5472; + class64_sub2_154_.anInt5406 = anInt5406; + class64_sub2_154_.aBoolean5502 = aBoolean5502; + if ((0x100 & i) == 0) class64_sub2_154_.aBoolean5428 = aBoolean5428; + else class64_sub2_154_.aBoolean5428 = true; + class64_sub2_154_.aShort5452 = aShort5452; + boolean bool_157_ = InterfaceRenderer.method2217(anInt5472, i, 0); + boolean bool_158_ = ParametricDefinition.method3056(i_156_ + -26704, i, anInt5472); + boolean bool_159_ = DefinitionSub9.method3073(anInt5472, i, (byte) 50); + boolean bool_160_ = bool_157_ | bool_158_ | bool_159_; + if (bool_160_) { + if (bool_157_) { + if (class64_sub2_153_.anIntArray5511 != null && anInt5497 <= class64_sub2_153_.anIntArray5511.length) class64_sub2_154_.anIntArray5511 = class64_sub2_153_.anIntArray5511; + else class64_sub2_154_.anIntArray5511 = class64_sub2_153_.anIntArray5511 = new int[anInt5497]; + } else class64_sub2_154_.anIntArray5511 = anIntArray5511; + if (bool_158_) { + if (class64_sub2_153_.anIntArray5519 != null && (anInt5497 <= class64_sub2_153_.anIntArray5519.length)) class64_sub2_154_.anIntArray5519 = class64_sub2_153_.anIntArray5519; + else class64_sub2_154_.anIntArray5519 = class64_sub2_153_.anIntArray5519 = new int[anInt5497]; + } else class64_sub2_154_.anIntArray5519 = anIntArray5519; + if (bool_159_) { + if (class64_sub2_153_.anIntArray5429 == null || anInt5497 > class64_sub2_153_.anIntArray5429.length) class64_sub2_154_.anIntArray5429 = class64_sub2_153_.anIntArray5429 = new int[anInt5497]; + else class64_sub2_154_.anIntArray5429 = class64_sub2_153_.anIntArray5429; + } else class64_sub2_154_.anIntArray5429 = anIntArray5429; + for (int i_161_ = 0; anInt5497 > i_161_; i_161_++) { + if (bool_157_) class64_sub2_154_.anIntArray5511[i_161_] = anIntArray5511[i_161_]; + if (bool_158_) class64_sub2_154_.anIntArray5519[i_161_] = anIntArray5519[i_161_]; + if (bool_159_) class64_sub2_154_.anIntArray5429[i_161_] = anIntArray5429[i_161_]; + } + } else { + class64_sub2_154_.anIntArray5511 = anIntArray5511; + class64_sub2_154_.anIntArray5429 = anIntArray5429; + class64_sub2_154_.anIntArray5519 = anIntArray5519; + } + if (Component235.method2015(i, anInt5472, 7)) { + class64_sub2_154_.aClass290_5520 = class64_sub2_153_.aClass290_5520; + class64_sub2_154_.aClass290_5520.anInterface5_Impl1_3711 = aClass290_5520.anInterface5_Impl1_3711; + class64_sub2_154_.aClass290_5520.aBoolean3714 = aClass290_5520.aBoolean3714; + class64_sub2_154_.aClass290_5520.aBoolean3709 = true; + } else if (!DisplayModeManagerContainer254.method1258(i, -9301, anInt5472)) class64_sub2_154_.aClass290_5520 = null; + else class64_sub2_154_.aClass290_5520 = aClass290_5520; + if (RadixText.method1833((byte) -122, i, anInt5472)) { + if (class64_sub2_153_.aShortArray5486 != null && (anInt5478 <= class64_sub2_153_.aShortArray5486.length)) class64_sub2_154_.aShortArray5486 = class64_sub2_153_.aShortArray5486; + else class64_sub2_154_.aShortArray5486 = class64_sub2_153_.aShortArray5486 = new short[anInt5478]; + for (int i_162_ = 0; anInt5478 > i_162_; i_162_++) + class64_sub2_154_.aShortArray5486[i_162_] = aShortArray5486[i_162_]; + } else class64_sub2_154_.aShortArray5486 = aShortArray5486; + if (Component179.method2985(-31735, anInt5472, i)) { + if (class64_sub2_153_.aByteArray5515 == null || class64_sub2_153_.aByteArray5515.length < anInt5478) class64_sub2_154_.aByteArray5515 = class64_sub2_153_.aByteArray5515 = new byte[anInt5478]; + else class64_sub2_154_.aByteArray5515 = class64_sub2_153_.aByteArray5515; + for (int i_163_ = 0; i_163_ < anInt5478; i_163_++) + class64_sub2_154_.aByteArray5515[i_163_] = aByteArray5515[i_163_]; + } else class64_sub2_154_.aByteArray5515 = aByteArray5515; + if (PacketReader.method3200(i, anInt5472, (byte) -75)) { + class64_sub2_154_.aClass290_5482 = class64_sub2_153_.aClass290_5482; + class64_sub2_154_.aClass290_5482.aBoolean3709 = true; + class64_sub2_154_.aClass290_5482.aBoolean3714 = aClass290_5482.aBoolean3714; + class64_sub2_154_.aClass290_5482.anInterface5_Impl1_3711 = aClass290_5482.anInterface5_Impl1_3711; + } else if (HuffmanDecoder.method2224(i, (byte) 117, anInt5472)) class64_sub2_154_.aClass290_5482 = aClass290_5482; + else class64_sub2_154_.aClass290_5482 = null; + if (FriendsIgnoreList.hasCollisionBlockFlags(i, anInt5472, 116)) { + if (class64_sub2_153_.aShortArray5493 == null || (anInt5475 > class64_sub2_153_.aShortArray5493.length)) { + int i_164_ = anInt5475; + class64_sub2_154_.aShortArray5436 = class64_sub2_153_.aShortArray5436 = new short[i_164_]; + class64_sub2_154_.aShortArray5493 = class64_sub2_153_.aShortArray5493 = new short[i_164_]; + class64_sub2_154_.aShortArray5438 = class64_sub2_153_.aShortArray5438 = new short[i_164_]; + } else { + class64_sub2_154_.aShortArray5436 = class64_sub2_153_.aShortArray5436; + class64_sub2_154_.aShortArray5493 = class64_sub2_153_.aShortArray5493; + class64_sub2_154_.aShortArray5438 = class64_sub2_153_.aShortArray5438; + } + if (aClass151_5503 == null) { + class64_sub2_154_.aClass151_5503 = null; + for (int i_165_ = 0; anInt5475 > i_165_; i_165_++) { + class64_sub2_154_.aShortArray5493[i_165_] = aShortArray5493[i_165_]; + class64_sub2_154_.aShortArray5438[i_165_] = aShortArray5438[i_165_]; + class64_sub2_154_.aShortArray5436[i_165_] = aShortArray5436[i_165_]; + } + } else { + if (class64_sub2_153_.aClass151_5503 == null) class64_sub2_153_.aClass151_5503 = new DisplayModeManagerContainer346(); + DisplayModeManagerContainer346 class151 = (class64_sub2_154_.aClass151_5503 = class64_sub2_153_.aClass151_5503); + if (class151.aShortArray2067 == null || (class151.aShortArray2067.length < anInt5475)) { + int i_166_ = anInt5475; + class151.aByteArray2069 = new byte[i_166_]; + class151.aShortArray2067 = new short[i_166_]; + class151.aShortArray2058 = new short[i_166_]; + class151.aShortArray2060 = new short[i_166_]; + } + for (int i_167_ = 0; i_167_ < anInt5475; i_167_++) { + class64_sub2_154_.aShortArray5493[i_167_] = aShortArray5493[i_167_]; + class64_sub2_154_.aShortArray5438[i_167_] = aShortArray5438[i_167_]; + class64_sub2_154_.aShortArray5436[i_167_] = aShortArray5436[i_167_]; + class151.aShortArray2067[i_167_] = (aClass151_5503.aShortArray2067[i_167_]); + class151.aShortArray2060[i_167_] = (aClass151_5503.aShortArray2060[i_167_]); + class151.aShortArray2058[i_167_] = (aClass151_5503.aShortArray2058[i_167_]); + class151.aByteArray2069[i_167_] = (aClass151_5503.aByteArray2069[i_167_]); + } + } + class64_sub2_154_.aByteArray5499 = aByteArray5499; + } else { + class64_sub2_154_.aByteArray5499 = aByteArray5499; + class64_sub2_154_.aClass151_5503 = aClass151_5503; + class64_sub2_154_.aShortArray5436 = aShortArray5436; + class64_sub2_154_.aShortArray5493 = aShortArray5493; + class64_sub2_154_.aShortArray5438 = aShortArray5438; + } + if (Component380.method1113(i, anInt5472, -30)) { + class64_sub2_154_.aClass290_5424 = class64_sub2_153_.aClass290_5424; + class64_sub2_154_.aClass290_5424.anInterface5_Impl1_3711 = aClass290_5424.anInterface5_Impl1_3711; + class64_sub2_154_.aClass290_5424.aBoolean3709 = true; + class64_sub2_154_.aClass290_5424.aBoolean3714 = aClass290_5424.aBoolean3714; + } else if (!ReliefShader.method1412((byte) -35, anInt5472, i)) class64_sub2_154_.aClass290_5424 = null; + else class64_sub2_154_.aClass290_5424 = aClass290_5424; + if (CacheNode.method3194(i, anInt5472, (byte) 121)) { + if (class64_sub2_153_.aFloatArray5476 == null || (class64_sub2_153_.aFloatArray5476.length < anInt5478)) { + int i_168_ = anInt5475; + class64_sub2_154_.aFloatArray5506 = class64_sub2_153_.aFloatArray5506 = new float[i_168_]; + class64_sub2_154_.aFloatArray5476 = class64_sub2_153_.aFloatArray5476 = new float[i_168_]; + } else { + class64_sub2_154_.aFloatArray5476 = class64_sub2_153_.aFloatArray5476; + class64_sub2_154_.aFloatArray5506 = class64_sub2_153_.aFloatArray5506; + } + for (int i_169_ = 0; i_169_ < anInt5475; i_169_++) { + class64_sub2_154_.aFloatArray5476[i_169_] = aFloatArray5476[i_169_]; + class64_sub2_154_.aFloatArray5506[i_169_] = aFloatArray5506[i_169_]; + } + } else { + class64_sub2_154_.aFloatArray5476 = aFloatArray5476; + class64_sub2_154_.aFloatArray5506 = aFloatArray5506; + } + if (Component191.method1379(4, anInt5472, i)) { + class64_sub2_154_.aClass290_5460 = class64_sub2_153_.aClass290_5460; + class64_sub2_154_.aClass290_5460.anInterface5_Impl1_3711 = aClass290_5460.anInterface5_Impl1_3711; + class64_sub2_154_.aClass290_5460.aBoolean3714 = aClass290_5460.aBoolean3714; + class64_sub2_154_.aClass290_5460.aBoolean3709 = true; + } else if (RadixText.method1837(anInt5472, 56, i)) class64_sub2_154_.aClass290_5460 = aClass290_5460; + else class64_sub2_154_.aClass290_5460 = null; + if (HashNodeSub16Sub1.hasFlag0x10(i, anInt5472, 94)) { + if (class64_sub2_153_.aShortArray5508 != null && (class64_sub2_153_.aShortArray5508.length >= anInt5478)) { + class64_sub2_154_.aShortArray5508 = class64_sub2_153_.aShortArray5508; + class64_sub2_154_.aShortArray5495 = class64_sub2_153_.aShortArray5495; + class64_sub2_154_.aShortArray5512 = class64_sub2_153_.aShortArray5512; + } else { + int i_170_ = anInt5478; + class64_sub2_154_.aShortArray5512 = class64_sub2_153_.aShortArray5512 = new short[i_170_]; + class64_sub2_154_.aShortArray5495 = class64_sub2_153_.aShortArray5495 = new short[i_170_]; + class64_sub2_154_.aShortArray5508 = class64_sub2_153_.aShortArray5508 = new short[i_170_]; + } + for (int i_171_ = 0; i_171_ < anInt5478; i_171_++) { + class64_sub2_154_.aShortArray5508[i_171_] = aShortArray5508[i_171_]; + class64_sub2_154_.aShortArray5495[i_171_] = aShortArray5495[i_171_]; + class64_sub2_154_.aShortArray5512[i_171_] = aShortArray5512[i_171_]; + } + } else { + class64_sub2_154_.aShortArray5495 = aShortArray5495; + class64_sub2_154_.aShortArray5512 = aShortArray5512; + class64_sub2_154_.aShortArray5508 = aShortArray5508; + } + if (SceneNode.method2783(anInt5472, (byte) 80, i)) { + class64_sub2_154_.aClass192_5485 = class64_sub2_153_.aClass192_5485; + class64_sub2_154_.aClass192_5485.aBoolean2577 = aClass192_5485.aBoolean2577; + class64_sub2_154_.aClass192_5485.aBoolean2574 = true; + class64_sub2_154_.aClass192_5485.anInterface5_Impl2_2572 = aClass192_5485.anInterface5_Impl2_2572; + } else if (Component63.method3563(i, (byte) 56, anInt5472)) class64_sub2_154_.aClass192_5485 = aClass192_5485; + else class64_sub2_154_.aClass192_5485 = null; + if (DisplayModeManagerContainer347.method2077(-122, anInt5472, i)) { + if (class64_sub2_153_.aShortArray5423 != null && class64_sub2_153_.aShortArray5423.length >= anInt5478) class64_sub2_154_.aShortArray5423 = class64_sub2_153_.aShortArray5423; + else { + int i_172_ = anInt5478; + class64_sub2_154_.aShortArray5423 = class64_sub2_153_.aShortArray5423 = new short[i_172_]; + } + for (int i_173_ = 0; anInt5478 > i_173_; i_173_++) + class64_sub2_154_.aShortArray5423[i_173_] = aShortArray5423[i_173_]; + } else class64_sub2_154_.aShortArray5423 = aShortArray5423; + if (DefinitionSub26.method3119(i, i_156_ ^ 0x6897, anInt5472)) { + if (class64_sub2_153_.aClass334Array5442 != null && (anInt5406 <= class64_sub2_153_.aClass334Array5442.length)) { + class64_sub2_154_.aClass334Array5442 = class64_sub2_153_.aClass334Array5442; + for (int i_174_ = 0; anInt5406 > i_174_; i_174_++) + class64_sub2_154_.aClass334Array5442[i_174_].copyFrom(aClass334Array5442[i_174_], (byte) 118); + } else { + int i_175_ = anInt5406; + class64_sub2_154_.aClass334Array5442 = class64_sub2_153_.aClass334Array5442 = new NativeLibLoader[i_175_]; + for (int i_176_ = 0; i_176_ < anInt5406; i_176_++) + class64_sub2_154_.aClass334Array5442[i_176_] = (aClass334Array5442[i_176_].copy(NodeSub21.bitwiseXor(i_156_, 26792))); + } + } else class64_sub2_154_.aClass334Array5442 = aClass334Array5442; + if (aBoolean5477) { + class64_sub2_154_.anInt5418 = anInt5418; + class64_sub2_154_.anInt5510 = anInt5510; + class64_sub2_154_.anInt5467 = anInt5467; + class64_sub2_154_.anInt5509 = anInt5509; + class64_sub2_154_.aBoolean5477 = true; + class64_sub2_154_.anInt5401 = anInt5401; + class64_sub2_154_.anInt5461 = anInt5461; + class64_sub2_154_.anInt5507 = anInt5507; + class64_sub2_154_.anInt5443 = anInt5443; + } else class64_sub2_154_.aBoolean5477 = false; + class64_sub2_154_.aClass342Array5474 = aClass342Array5474; + class64_sub2_154_.aShortArray5432 = aShortArray5432; + class64_sub2_154_.anIntArrayArray5492 = anIntArrayArray5492; + class64_sub2_154_.anIntArray5455 = anIntArray5455; + class64_sub2_154_.aShortArray5416 = aShortArray5416; + class64_sub2_154_.aShortArray5494 = aShortArray5494; + class64_sub2_154_.anIntArray5404 = anIntArray5404; + class64_sub2_154_.aShortArray5439 = aShortArray5439; + if (i_156_ != 26794) return null; + class64_sub2_154_.anIntArray5473 = anIntArray5473; + class64_sub2_154_.aClass353Array5524 = aClass353Array5524; + class64_sub2_154_.anIntArrayArray5413 = anIntArrayArray5413; + class64_sub2_154_.anIntArray5415 = anIntArray5415; + class64_sub2_154_.aClass129Array5457 = aClass129Array5457; + class64_sub2_154_.anIntArrayArray5412 = anIntArrayArray5412; + class64_sub2_154_.aShortArray5470 = aShortArray5470; + return class64_sub2_154_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("nca.U(" + bool + ',' + (class64_sub2_153_ != null ? "{...}" : "null") + ',' + (class64_sub2_154_ != null ? "{...}" : "null") + ',' + i + ',' + bool_155_ + ',' + i_156_ + ')')); + } + } + + final int ma() { + if (!aBoolean5477) method675(0); + anInt5468++; + return anInt5401; + } + + final int WA() { + anInt5496++; + return aShort5452; + } + + final void method620(DisplayModeManagerContainer204 class101) { + do { + try { + anInt5444++; + MatrixSub2 class101_sub2 = (MatrixSub2) class101; + if (aClass129Array5457 != null) { + for (int i = 0; (aClass129Array5457.length > i); i++) { + Component30 class129 = aClass129Array5457[i]; + Component30 class129_177_ = class129; + if (class129.aClass129_1888 != null) class129_177_ = class129.aClass129_1888; + class129_177_.anInt1882 = (int) (class101_sub2.aFloat5729 + (((float) (anIntArray5429[(class129.anInt1881)]) * (class101_sub2.aFloat5704)) + (((float) (anIntArray5511[(class129.anInt1881)]) * (class101_sub2.aFloat5711)) + ((class101_sub2.aFloat5700) * (float) (anIntArray5519[(class129.anInt1881)]))))); + class129_177_.anInt1891 = (int) (class101_sub2.aFloat5710 + (((float) (anIntArray5429[(class129.anInt1881)]) * (class101_sub2.aFloat5732)) + (((float) (anIntArray5511[(class129.anInt1881)]) * (class101_sub2.aFloat5708)) + ((float) (anIntArray5519[(class129.anInt1881)]) * class101_sub2.aFloat5722)))); + class129_177_.anInt1889 = (int) (((float) (anIntArray5519[(class129.anInt1881)]) * (class101_sub2.aFloat5691)) + ((class101_sub2.aFloat5736) * (float) (anIntArray5511[(class129.anInt1881)])) + ((float) (anIntArray5429[(class129.anInt1881)]) * (class101_sub2.aFloat5716)) + (class101_sub2.aFloat5724)); + class129_177_.anInt1883 = (int) (((class101_sub2.aFloat5711) * (float) (anIntArray5511[(class129.anInt1877)])) + ((float) (anIntArray5519[(class129.anInt1877)]) * (class101_sub2.aFloat5700)) + ((float) (anIntArray5429[(class129.anInt1877)]) * (class101_sub2.aFloat5704)) + (class101_sub2.aFloat5729)); + class129_177_.anInt1890 = (int) (class101_sub2.aFloat5710 + (((float) (anIntArray5429[(class129.anInt1877)]) * (class101_sub2.aFloat5732)) + (((class101_sub2.aFloat5708) * (float) (anIntArray5511[(class129.anInt1877)])) + ((class101_sub2.aFloat5722) * (float) (anIntArray5519[(class129.anInt1877)]))))); + class129_177_.anInt1880 = (int) (class101_sub2.aFloat5724 + (((class101_sub2.aFloat5716) * (float) (anIntArray5429[(class129.anInt1877)])) + (((class101_sub2.aFloat5691) * (float) (anIntArray5519[(class129.anInt1877)])) + ((class101_sub2.aFloat5736) * (float) (anIntArray5511[(class129.anInt1877)]))))); + class129_177_.anInt1876 = (int) (class101_sub2.aFloat5729 + (((class101_sub2.aFloat5700) * (float) (anIntArray5519[(class129.anInt1892)])) + ((float) (anIntArray5511[(class129.anInt1892)]) * (class101_sub2.aFloat5711)) + ((float) (anIntArray5429[(class129.anInt1892)]) * (class101_sub2.aFloat5704)))); + class129_177_.anInt1874 = (int) (((float) (anIntArray5429[(class129.anInt1892)]) * (class101_sub2.aFloat5732)) + (((float) (anIntArray5519[(class129.anInt1892)]) * (class101_sub2.aFloat5722)) + ((class101_sub2.aFloat5708) * (float) (anIntArray5511[(class129.anInt1892)]))) + (class101_sub2.aFloat5710)); + class129_177_.anInt1884 = (int) (((class101_sub2.aFloat5736) * (float) (anIntArray5511[(class129.anInt1892)])) + ((class101_sub2.aFloat5691) * (float) (anIntArray5519[(class129.anInt1892)])) + ((float) (anIntArray5429[(class129.anInt1892)]) * (class101_sub2.aFloat5716)) + (class101_sub2.aFloat5724)); + } + } + if (aClass342Array5474 == null) break; + for (int i = 0; aClass342Array5474.length > i; i++) { + DisplayModeManagerContainer173 class342 = aClass342Array5474[i]; + DisplayModeManagerContainer173 class342_178_ = class342; + if (class342.aClass342_4248 != null) class342_178_ = class342.aClass342_4248; + if (class342.aClass101_4252 != null) class342.aClass101_4252.method898(class101_sub2); + else class342.aClass101_4252 = class101_sub2.method907(); + class342_178_.anInt4238 = (int) (((float) (anIntArray5519[class342.anInt4244]) * class101_sub2.aFloat5700) + ((float) (anIntArray5511[class342.anInt4244]) * (class101_sub2.aFloat5711)) + ((float) (anIntArray5429[class342.anInt4244]) * (class101_sub2.aFloat5704)) + class101_sub2.aFloat5729); + class342_178_.anInt4239 = (int) (((float) (anIntArray5429[class342.anInt4244]) * class101_sub2.aFloat5732) + ((class101_sub2.aFloat5722 * (float) (anIntArray5519[(class342.anInt4244)])) + ((float) (anIntArray5511[(class342.anInt4244)]) * (class101_sub2.aFloat5708))) + class101_sub2.aFloat5710); + class342_178_.anInt4240 = (int) (((float) (anIntArray5519[class342.anInt4244]) * class101_sub2.aFloat5691) + ((float) (anIntArray5511[class342.anInt4244]) * (class101_sub2.aFloat5736)) + ((float) (anIntArray5429[class342.anInt4244]) * (class101_sub2.aFloat5716)) + class101_sub2.aFloat5724); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "nca.J(" + (class101 != null ? "{...}" : "null") + ')'); + } + break; + } while (false); + } + + final int HA() { + if (!aBoolean5477) method675(0); + anInt5465++; + return anInt5418; + } + + final void method608(DisplayModeManagerContainer204 class101, RenderableSub3 class318_sub3, int i, int i_179_) { + try { + anInt5487++; + if (anInt5475 != 0) { + MatrixSub2 class101_sub2 = aHa_Sub3_5419.aClass101_Sub2_8080; + MatrixSub2 class101_sub2_180_ = (MatrixSub2) class101; + if (!aBoolean5477) method675(0); + Component49.aFloat4673 = (class101_sub2.aFloat5724 + ((class101_sub2_180_.aFloat5710 * class101_sub2.aFloat5691) + (class101_sub2_180_.aFloat5729 * class101_sub2.aFloat5736) + (class101_sub2_180_.aFloat5724 * class101_sub2.aFloat5716))); + Component45.aFloat4338 = ((class101_sub2.aFloat5691 * class101_sub2_180_.aFloat5722) + (class101_sub2.aFloat5736 * class101_sub2_180_.aFloat5700) + (class101_sub2.aFloat5716 * class101_sub2_180_.aFloat5691)); + float f = (Component49.aFloat4673 + (float) anInt5461 * Component45.aFloat4338); + float f_181_ = (Component45.aFloat4338 * (float) anInt5509 + Component49.aFloat4673); + float f_182_; + float f_183_; + if (f_181_ < f) { + f_183_ = f + (float) anInt5510; + f_182_ = (float) -anInt5510 + f_181_; + } else { + f_182_ = (float) -anInt5510 + f; + f_183_ = (float) anInt5510 + f_181_; + } + if (!(aHa_Sub3_5419.aFloat8089 <= f_182_) && !((float) aHa_Sub3_5419.anInt8095 >= f_183_)) { + Component252.aFloat10199 = ((class101_sub2.aFloat5711 * class101_sub2_180_.aFloat5700) + (class101_sub2_180_.aFloat5722 * class101_sub2.aFloat5700) + (class101_sub2_180_.aFloat5691 * class101_sub2.aFloat5704)); + Component35.aFloat4268 = ((class101_sub2_180_.aFloat5710 * class101_sub2.aFloat5700) + (class101_sub2.aFloat5711 * (class101_sub2_180_.aFloat5729)) + (class101_sub2.aFloat5704 * (class101_sub2_180_.aFloat5724)) + class101_sub2.aFloat5729); + float f_184_ = (((float) anInt5461 * Component252.aFloat10199) + Component35.aFloat4268); + float f_185_ = ((Component252.aFloat10199 * (float) anInt5509) + Component35.aFloat4268); + float f_186_; + float f_187_; + if (f_185_ < f_184_) { + f_186_ = ((float) aHa_Sub3_5419.anInt8129 * ((float) anInt5510 + f_184_)); + f_187_ = ((float) aHa_Sub3_5419.anInt8129 * (f_185_ - (float) anInt5510)); + } else { + f_186_ = ((float) aHa_Sub3_5419.anInt8129 * ((float) anInt5510 + f_185_)); + f_187_ = (((float) -anInt5510 + f_184_) * (float) aHa_Sub3_5419.anInt8129); + } + if (!(aHa_Sub3_5419.aFloat8158 <= f_187_ / (float) i) && !(f_186_ / (float) i <= aHa_Sub3_5419.aFloat8126)) { + Component200.aFloat3710 = ((class101_sub2_180_.aFloat5691 * class101_sub2.aFloat5732) + ((class101_sub2.aFloat5722 * (class101_sub2_180_.aFloat5722)) + ((class101_sub2_180_.aFloat5700) * (class101_sub2.aFloat5708)))); + NodeSub12.aFloat6752 = (class101_sub2.aFloat5710 + ((class101_sub2.aFloat5708 * (class101_sub2_180_.aFloat5729)) + ((class101_sub2_180_.aFloat5710) * (class101_sub2.aFloat5722)) + ((class101_sub2_180_.aFloat5724) * (class101_sub2.aFloat5732)))); + float f_188_ = (NodeSub12.aFloat6752 + Component200.aFloat3710 * (float) anInt5461); + float f_189_ = ((float) anInt5509 * Component200.aFloat3710 + NodeSub12.aFloat6752); + float f_190_; + float f_191_; + if (f_189_ < f_188_) { + f_190_ = ((float) aHa_Sub3_5419.anInt8134 * (f_188_ + (float) anInt5510)); + f_191_ = (((float) -anInt5510 + f_189_) * (float) (aHa_Sub3_5419.anInt8134)); + } else { + f_190_ = ((f_189_ + (float) anInt5510) * (float) (aHa_Sub3_5419.anInt8134)); + f_191_ = ((float) aHa_Sub3_5419.anInt8134 * (f_188_ - (float) anInt5510)); + } + if (!(f_191_ / (float) i >= aHa_Sub3_5419.aFloat8185) && !(f_190_ / (float) i <= aHa_Sub3_5419.aFloat8103)) { + if (class318_sub3 != null || aClass353Array5524 != null) { + JagTheoraDecoder.aFloat1010 = (((class101_sub2.aFloat5700) * (class101_sub2_180_.aFloat5708)) + ((class101_sub2.aFloat5711) * class101_sub2_180_.aFloat5711) + ((class101_sub2.aFloat5704) * class101_sub2_180_.aFloat5736)); + HashNodeSub4.aFloat9516 = (((class101_sub2.aFloat5711) * (class101_sub2_180_.aFloat5704)) + ((class101_sub2_180_.aFloat5732) * (class101_sub2.aFloat5700)) + ((class101_sub2_180_.aFloat5716) * (class101_sub2.aFloat5704))); + RenderableSub6.aFloat6430 = (((class101_sub2.aFloat5708) * (class101_sub2_180_.aFloat5704)) + ((class101_sub2.aFloat5722) * class101_sub2_180_.aFloat5732) + ((class101_sub2.aFloat5732) * class101_sub2_180_.aFloat5716)); + ShaderCompilerSub3.aFloat6523 = (((class101_sub2_180_.aFloat5736) * (class101_sub2.aFloat5716)) + (((class101_sub2.aFloat5691) * class101_sub2_180_.aFloat5708) + ((class101_sub2.aFloat5736) * (class101_sub2_180_.aFloat5711)))); + NodeSub20.aFloat6835 = (((class101_sub2_180_.aFloat5711) * (class101_sub2.aFloat5708)) + ((class101_sub2_180_.aFloat5708) * (class101_sub2.aFloat5722)) + ((class101_sub2.aFloat5732) * class101_sub2_180_.aFloat5736)); + GraphicsToolkit.aFloat4582 = (((class101_sub2.aFloat5736) * (class101_sub2_180_.aFloat5704)) + ((class101_sub2.aFloat5691) * class101_sub2_180_.aFloat5732) + ((class101_sub2_180_.aFloat5716) * (class101_sub2.aFloat5716))); + } + if (class318_sub3 != null) { + int i_192_ = anInt5467 + anInt5507 >> 1; + int i_193_ = anInt5418 + anInt5443 >> 1; + int i_194_ = (int) (Component35.aFloat4268 + ((float) i_192_ * JagTheoraDecoder.aFloat1010) + ((Component252.aFloat10199) * (float) anInt5461) + ((float) i_193_ * (HashNodeSub4.aFloat9516))); + int i_195_ = (int) (NodeSub12.aFloat6752 + (NodeSub20.aFloat6835 * (float) i_192_) + ((float) anInt5461 * Component200.aFloat3710) + (RenderableSub6.aFloat6430 * (float) i_193_)); + int i_196_ = (int) (((float) anInt5461 * Component45.aFloat4338) + ((ShaderCompilerSub3.aFloat6523 * (float) i_192_) + Component49.aFloat4673) + (float) i_193_ * GraphicsToolkit.aFloat4582); + int i_197_ = (int) (((float) anInt5509 * (Component252.aFloat10199)) + (Component35.aFloat4268 + (JagTheoraDecoder.aFloat1010 * (float) i_192_)) + (HashNodeSub4.aFloat9516 * (float) i_193_)); + int i_198_ = (int) ((RenderableSub6.aFloat6430 * (float) i_193_) + (NodeSub12.aFloat6752 + (NodeSub20.aFloat6835 * (float) i_192_) + (Component200.aFloat3710 * (float) anInt5509))); + class318_sub3.anInt6402 = ((i_195_ * aHa_Sub3_5419.anInt8134 / i) + aHa_Sub3_5419.anInt8130); + class318_sub3.anInt6405 = (aHa_Sub3_5419.anInt8094 - -(i_194_ * (aHa_Sub3_5419.anInt8129) / i)); + class318_sub3.anInt6404 = (aHa_Sub3_5419.anInt8130 - -(aHa_Sub3_5419.anInt8134 * i_198_ / i)); + class318_sub3.anInt6406 = ((i_197_ * aHa_Sub3_5419.anInt8129 / i) + aHa_Sub3_5419.anInt8094); + int i_199_ = (int) (GraphicsToolkit.aFloat4582 * (float) i_193_ + (((float) anInt5509 * Component45.aFloat4338) + ((ShaderCompilerSub3.aFloat6523 * (float) i_192_) + Component49.aFloat4673))); + if (i_196_ >= aHa_Sub3_5419.anInt8095 || (aHa_Sub3_5419.anInt8095 <= i_199_)) { + class318_sub3.anInt6403 = (aHa_Sub3_5419.anInt8094 + (((anInt5510 + i_194_) * (aHa_Sub3_5419.anInt8129) / i) + -class318_sub3.anInt6405)); + class318_sub3.aBoolean6401 = true; + } + } + aHa_Sub3_5419.method3867((float) i, -68); + aHa_Sub3_5419.method3857((byte) -21); + aHa_Sub3_5419.method3815(0, class101_sub2_180_); + method672(416776206); + method659(94); + } + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("nca.Q(" + (class101 != null ? "{...}" : "null") + ',' + (class318_sub3 != null ? "{...}" : "null") + ',' + i + ',' + i_179_ + ')')); + } + } + + private final short method669(int i, long l, int i_200_, int i_201_, int i_202_, int i_203_, float f, int i_204_, float f_205_, DisplayModeManagerContainer77 class124, int i_206_) { + try { + if (i_203_ >= -49) anIntArray5519 = null; + anInt5407++; + int i_207_ = anIntArray5455[i_204_]; + int i_208_ = anIntArray5455[i_204_ + 1]; + int i_209_ = 0; + for (int i_210_ = i_207_; i_210_ < i_208_; i_210_++) { + short i_211_ = aShortArray5439[i_210_]; + if (i_211_ == 0) { + i_209_ = i_210_; + break; + } + if (DefinitionSub37.aLongArray9465[i_210_] == l) return (short) (-1 + i_211_); + } + aShortArray5439[i_209_] = (short) (1 + anInt5475); + DefinitionSub37.aLongArray9465[i_209_] = l; + aShortArray5416[anInt5475] = (short) i_200_; + aShortArray5470[anInt5475] = (short) i_204_; + aShortArray5493[anInt5475] = (short) i_202_; + aShortArray5438[anInt5475] = (short) i_206_; + aShortArray5436[anInt5475] = (short) i; + aByteArray5499[anInt5475] = (byte) i_201_; + aFloatArray5476[anInt5475] = f; + aFloatArray5506[anInt5475] = f_205_; + return (short) anInt5475++; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("nca.SA(" + i + ',' + l + ',' + i_200_ + ',' + i_201_ + ',' + i_202_ + ',' + i_203_ + ',' + f + ',' + i_204_ + ',' + f_205_ + ',' + (class124 != null ? "{...}" : "null") + ',' + i_206_ + ')')); + } + } + + final boolean r() { + anInt5422++; + return aBoolean5502; + } + + final int da() { + anInt5409++; + return aShort5427; + } + + final int RA() { + if (!aBoolean5477) method675(0); + anInt5489++; + return anInt5467; + } + + final int fa() { + anInt5526++; + if (!aBoolean5477) method675(0); + return anInt5461; + } + + private final void method670(int i) { + if (aClass290_5482 != null) aClass290_5482.aBoolean3714 = false; + if (i > -82) LA(97); + anInt5458++; + } + + final void method605(int i, int[] is, int i_212_, int i_213_, int i_214_, int i_215_, boolean bool) { + try { + anInt5498++; + int i_216_ = is.length; + if (i == 0) { + i_213_ <<= 4; + i_212_ <<= 4; + i_214_ <<= 4; + AssetCacheLoader.anInt386 = 0; + Component257.anInt4795 = 0; + int i_217_ = 0; + InputHandler.anInt4274 = 0; + for (int i_218_ = 0; i_218_ < i_216_; i_218_++) { + int i_219_ = is[i_218_]; + if (i_219_ < anIntArrayArray5413.length) { + int[] is_220_ = anIntArrayArray5413[i_219_]; + for (int i_221_ = 0; i_221_ < is_220_.length; i_221_++) { + int i_222_ = is_220_[i_221_]; + Component257.anInt4795 += anIntArray5511[i_222_]; + AssetCacheLoader.anInt386 += anIntArray5519[i_222_]; + InputHandler.anInt4274 += anIntArray5429[i_222_]; + i_217_++; + } + } + } + if (i_217_ > 0) { + AssetCacheLoader.anInt386 = AssetCacheLoader.anInt386 / i_217_ - -i_213_; + InputHandler.anInt4274 = InputHandler.anInt4274 / i_217_ + i_214_; + Component257.anInt4795 = Component257.anInt4795 / i_217_ - -i_212_; + } else { + AssetCacheLoader.anInt386 = i_213_; + InputHandler.anInt4274 = i_214_; + Component257.anInt4795 = i_212_; + } + } else if (i == 1) { + i_213_ <<= 4; + i_212_ <<= 4; + i_214_ <<= 4; + for (int i_223_ = 0; i_216_ > i_223_; i_223_++) { + int i_224_ = is[i_223_]; + if (anIntArrayArray5413.length > i_224_) { + int[] is_225_ = anIntArrayArray5413[i_224_]; + for (int i_226_ = 0; (i_226_ < is_225_.length); i_226_++) { + int i_227_ = is_225_[i_226_]; + anIntArray5511[i_227_] += i_212_; + anIntArray5519[i_227_] += i_213_; + anIntArray5429[i_227_] += i_214_; + } + } + } + } else if (i == 2) { + for (int i_228_ = 0; i_228_ < i_216_; i_228_++) { + int i_229_ = is[i_228_]; + if (anIntArrayArray5413.length > i_229_) { + int[] is_230_ = anIntArrayArray5413[i_229_]; + if ((0x1 & i_215_) == 0) { + for (int i_231_ = 0; (is_230_.length > i_231_); i_231_++) { + int i_232_ = is_230_[i_231_]; + anIntArray5511[i_232_] -= Component257.anInt4795; + anIntArray5519[i_232_] -= AssetCacheLoader.anInt386; + anIntArray5429[i_232_] -= InputHandler.anInt4274; + if (i_214_ != 0) { + int i_233_ = DisplayModeManagerContainer88.anIntArray1207[i_214_]; + int i_234_ = DisplayModeManagerContainer88.anIntArray1204[i_214_]; + int i_235_ = ((16383 + (i_234_ * anIntArray5511[i_232_] + (anIntArray5519[i_232_] * i_233_))) >> 14); + anIntArray5519[i_232_] = ((16383 + (i_234_ * anIntArray5519[i_232_] + -(i_233_ * anIntArray5511[i_232_]))) >> 14); + anIntArray5511[i_232_] = i_235_; + } + if (i_212_ != 0) { + int i_236_ = DisplayModeManagerContainer88.anIntArray1207[i_212_]; + int i_237_ = DisplayModeManagerContainer88.anIntArray1204[i_212_]; + int i_238_ = (16383 + (-(i_236_ * anIntArray5429[i_232_]) + i_237_ * (anIntArray5519[i_232_])) >> 14); + anIntArray5429[i_232_] = (16383 + (i_236_ * anIntArray5519[i_232_] - -(anIntArray5429[i_232_] * i_237_))) >> 14; + anIntArray5519[i_232_] = i_238_; + } + if (i_213_ != 0) { + int i_239_ = DisplayModeManagerContainer88.anIntArray1207[i_213_]; + int i_240_ = DisplayModeManagerContainer88.anIntArray1204[i_213_]; + int i_241_ = ((i_239_ * anIntArray5429[i_232_] + i_240_ * anIntArray5511[i_232_] + 16383) >> 14); + anIntArray5429[i_232_] = (16383 + (-(i_239_ * anIntArray5511[i_232_]) + i_240_ * (anIntArray5429[i_232_])) >> 14); + anIntArray5511[i_232_] = i_241_; + } + anIntArray5511[i_232_] += Component257.anInt4795; + anIntArray5519[i_232_] += AssetCacheLoader.anInt386; + anIntArray5429[i_232_] += InputHandler.anInt4274; + } + } else { + for (int i_242_ = 0; i_242_ < is_230_.length; i_242_++) { + int i_243_ = is_230_[i_242_]; + anIntArray5511[i_243_] -= Component257.anInt4795; + anIntArray5519[i_243_] -= AssetCacheLoader.anInt386; + anIntArray5429[i_243_] -= InputHandler.anInt4274; + if (i_212_ != 0) { + int i_244_ = DisplayModeManagerContainer88.anIntArray1207[i_212_]; + int i_245_ = DisplayModeManagerContainer88.anIntArray1204[i_212_]; + int i_246_ = (anIntArray5519[i_243_] * i_245_ + -(i_244_ * anIntArray5429[i_243_]) + 16383) >> 14; + anIntArray5429[i_243_] = ((16383 + anIntArray5429[i_243_] * i_245_ + i_244_ * anIntArray5519[i_243_]) >> 14); + anIntArray5519[i_243_] = i_246_; + } + if (i_214_ != 0) { + int i_247_ = DisplayModeManagerContainer88.anIntArray1207[i_214_]; + int i_248_ = DisplayModeManagerContainer88.anIntArray1204[i_214_]; + int i_249_ = ((i_248_ * anIntArray5511[i_243_] + i_247_ * anIntArray5519[i_243_] + 16383) >> 14); + anIntArray5519[i_243_] = (anIntArray5519[i_243_] * i_248_ - (anIntArray5511[i_243_] * i_247_ + -16383)) >> 14; + anIntArray5511[i_243_] = i_249_; + } + if (i_213_ != 0) { + int i_250_ = DisplayModeManagerContainer88.anIntArray1207[i_213_]; + int i_251_ = DisplayModeManagerContainer88.anIntArray1204[i_213_]; + int i_252_ = ((i_251_ * anIntArray5511[i_243_] + i_250_ * anIntArray5429[i_243_] - -16383) >> 14); + anIntArray5429[i_243_] = ((16383 + -(anIntArray5511[i_243_] * i_250_) + anIntArray5429[i_243_] * i_251_) >> 14); + anIntArray5511[i_243_] = i_252_; + } + anIntArray5511[i_243_] += Component257.anInt4795; + anIntArray5519[i_243_] += AssetCacheLoader.anInt386; + anIntArray5429[i_243_] += InputHandler.anInt4274; + } + } + } + } + if (bool) { + for (int i_253_ = 0; i_216_ > i_253_; i_253_++) { + int i_254_ = is[i_253_]; + if (i_254_ < anIntArrayArray5413.length) { + int[] is_255_ = anIntArrayArray5413[i_254_]; + for (int i_256_ = 0; i_256_ < is_255_.length; i_256_++) { + int i_257_ = is_255_[i_256_]; + int i_258_ = anIntArray5455[i_257_]; + int i_259_ = anIntArray5455[1 + i_257_]; + for (int i_260_ = i_258_; (i_259_ > i_260_); i_260_++) { + int i_261_ = aShortArray5439[i_260_] + -1; + if (i_261_ == -1) break; + if (i_214_ != 0) { + int i_262_ = DisplayModeManagerContainer88.anIntArray1207[i_214_]; + int i_263_ = DisplayModeManagerContainer88.anIntArray1204[i_214_]; + int i_264_ = ((16383 + (aShortArray5438[i_261_] * i_262_) + (aShortArray5493[i_261_] * i_263_)) >> 14); + aShortArray5438[i_261_] = (short) (((i_263_ * (aShortArray5438[i_261_])) + -((aShortArray5493[i_261_]) * i_262_) + 16383) >> 14); + aShortArray5493[i_261_] = (short) i_264_; + } + if (i_212_ != 0) { + int i_265_ = DisplayModeManagerContainer88.anIntArray1207[i_212_]; + int i_266_ = DisplayModeManagerContainer88.anIntArray1204[i_212_]; + int i_267_ = ((16383 + (aShortArray5438[i_261_] * i_266_) + -(i_265_ * aShortArray5436[i_261_])) >> 14); + aShortArray5436[i_261_] = (short) ((16383 + ((i_266_ * (aShortArray5436[i_261_])) + ((aShortArray5438[i_261_]) * i_265_))) >> 14); + aShortArray5438[i_261_] = (short) i_267_; + } + if (i_213_ != 0) { + int i_268_ = DisplayModeManagerContainer88.anIntArray1207[i_213_]; + int i_269_ = DisplayModeManagerContainer88.anIntArray1204[i_213_]; + int i_270_ = (i_269_ * aShortArray5493[i_261_] + (i_268_ * aShortArray5436[i_261_]) - -16383) >> 14; + aShortArray5436[i_261_] = (short) ((-(i_268_ * (aShortArray5493[i_261_])) + (aShortArray5436[i_261_]) * i_269_ - -16383) >> 14); + aShortArray5493[i_261_] = (short) i_270_; + } + } + } + } + } + method673((byte) 69); + } + } else if (i == 3) { + for (int i_271_ = 0; i_216_ > i_271_; i_271_++) { + int i_272_ = is[i_271_]; + if (i_272_ < anIntArrayArray5413.length) { + int[] is_273_ = anIntArrayArray5413[i_272_]; + for (int i_274_ = 0; is_273_.length > i_274_; i_274_++) { + int i_275_ = is_273_[i_274_]; + anIntArray5511[i_275_] -= Component257.anInt4795; + anIntArray5519[i_275_] -= AssetCacheLoader.anInt386; + anIntArray5429[i_275_] -= InputHandler.anInt4274; + anIntArray5511[i_275_] = (anIntArray5511[i_275_] * i_212_ >> 7); + anIntArray5519[i_275_] = anIntArray5519[i_275_] * i_213_ >> 7; + anIntArray5429[i_275_] = i_214_ * anIntArray5429[i_275_] >> 7; + anIntArray5511[i_275_] += Component257.anInt4795; + anIntArray5519[i_275_] += AssetCacheLoader.anInt386; + anIntArray5429[i_275_] += InputHandler.anInt4274; + } + } + } + } else if (i == 5) { + if (anIntArrayArray5492 != null) { + boolean bool_276_ = false; + for (int i_277_ = 0; i_277_ < i_216_; i_277_++) { + int i_278_ = is[i_277_]; + if (anIntArrayArray5492.length > i_278_) { + int[] is_279_ = anIntArrayArray5492[i_278_]; + for (int i_280_ = 0; is_279_.length > i_280_; i_280_++) { + int i_281_ = is_279_[i_280_]; + int i_282_ = ((0xff & aByteArray5515[i_281_]) - -(8 * i_212_)); + if (i_282_ >= 0) { + if (i_282_ > 255) i_282_ = 255; + } else i_282_ = 0; + aByteArray5515[i_281_] = (byte) i_282_; + } + bool_276_ = bool_276_ | is_279_.length > 0; + } + } + if (bool_276_) { + if (aClass353Array5524 != null) { + for (int i_283_ = 0; anInt5406 > i_283_; i_283_++) { + Component45 class353 = aClass353Array5524[i_283_]; + NativeLibLoader class334 = aClass334Array5442[i_283_]; + class334.anInt4156 = ((0xffffff & class334.anInt4156) | (255 + -(0xff & (aByteArray5515[(class353.anInt4342)])) << 24)); + } + } + method670(-86); + } + } + } else if (i == 7) { + if (anIntArrayArray5492 != null) { + boolean bool_284_ = false; + for (int i_285_ = 0; i_216_ > i_285_; i_285_++) { + int i_286_ = is[i_285_]; + if (anIntArrayArray5492.length > i_286_) { + int[] is_287_ = anIntArrayArray5492[i_286_]; + for (int i_288_ = 0; i_288_ < is_287_.length; i_288_++) { + int i_289_ = is_287_[i_288_]; + int i_290_ = aShortArray5486[i_289_] & 0xffff; + int i_291_ = (0xfc26 & i_290_) >> 10; + int i_292_ = 0x7 & i_290_ >> 7; + int i_293_ = 0x7f & i_290_; + i_292_ += i_213_ / 4; + i_291_ = i_212_ + i_291_ & 0x3f; + if (i_292_ >= 0) { + if (i_292_ > 7) i_292_ = 7; + } else i_292_ = 0; + i_293_ += i_214_; + if (i_293_ >= 0) { + if (i_293_ > 127) i_293_ = 127; + } else i_293_ = 0; + aShortArray5486[i_289_] = (short) (Component224.bitwiseOr(i_293_, (Component224.bitwiseOr(i_291_ << 10, i_292_ << 7)))); + } + bool_284_ = bool_284_ | is_287_.length > 0; + } + } + if (bool_284_) { + if (aClass353Array5524 != null) { + for (int i_294_ = 0; anInt5406 > i_294_; i_294_++) { + Component45 class353 = aClass353Array5524[i_294_]; + NativeLibLoader class334 = aClass334Array5442[i_294_]; + class334.anInt4156 = (0xffffff & (RunescapeInfo.anIntArray179[(aShortArray5486[(class353.anInt4342)]) & 0xffff]) | (~0xffffff & class334.anInt4156)); + } + } + method670(-100); + } + } + } else if (i == 8) { + if (anIntArrayArray5412 != null) { + for (int i_295_ = 0; i_216_ > i_295_; i_295_++) { + int i_296_ = is[i_295_]; + if (anIntArrayArray5412.length > i_296_) { + int[] is_297_ = anIntArrayArray5412[i_296_]; + for (int i_298_ = 0; (is_297_.length > i_298_); i_298_++) { + NativeLibLoader class334 = aClass334Array5442[is_297_[i_298_]]; + class334.anInt4158 += i_212_; + class334.anInt4154 += i_213_; + } + } + } + } + } else if (i == 10) { + if (anIntArrayArray5412 != null) { + for (int i_299_ = 0; i_216_ > i_299_; i_299_++) { + int i_300_ = is[i_299_]; + if (i_300_ < anIntArrayArray5412.length) { + int[] is_301_ = anIntArrayArray5412[i_300_]; + for (int i_302_ = 0; is_301_.length > i_302_; i_302_++) { + NativeLibLoader class334 = aClass334Array5442[is_301_[i_302_]]; + class334.anInt4165 = (i_212_ * class334.anInt4165 >> 7); + class334.anInt4162 = (i_213_ * class334.anInt4162 >> 7); + } + } + } + } + } else if (i == 9) { + if (anIntArrayArray5412 != null) { + for (int i_303_ = 0; i_303_ < i_216_; i_303_++) { + int i_304_ = is[i_303_]; + if (anIntArrayArray5412.length > i_304_) { + int[] is_305_ = anIntArrayArray5412[i_304_]; + for (int i_306_ = 0; (i_306_ < is_305_.length); i_306_++) { + NativeLibLoader class334 = aClass334Array5442[is_305_[i_306_]]; + class334.anInt4151 = 0x3fff & i_212_ + (class334.anInt4151); + } + } + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("nca.BB(" + i + ',' + (is != null ? "{...}" : "null") + ',' + i_212_ + ',' + i_213_ + ',' + i_214_ + ',' + i_215_ + ',' + bool + ')')); + } + } + + final void method615(DisplayModeManagerContainer204 class101, RenderableSub3 class318_sub3, int i) { + try { + anInt5471++; + if (anInt5475 != 0) { + MatrixSub2 class101_sub2 = aHa_Sub3_5419.aClass101_Sub2_8080; + MatrixSub2 class101_sub2_307_ = (MatrixSub2) class101; + if (!aBoolean5477) method675(0); + Component45.aFloat4338 = ((class101_sub2.aFloat5736 * class101_sub2_307_.aFloat5700) + (class101_sub2.aFloat5691 * class101_sub2_307_.aFloat5722) + (class101_sub2_307_.aFloat5691 * class101_sub2.aFloat5716)); + Component49.aFloat4673 = ((class101_sub2_307_.aFloat5724 * class101_sub2.aFloat5716) + ((class101_sub2.aFloat5691 * class101_sub2_307_.aFloat5710) + (class101_sub2_307_.aFloat5729 * class101_sub2.aFloat5736)) + class101_sub2.aFloat5724); + float f = (Component45.aFloat4338 * (float) anInt5461 + Component49.aFloat4673); + float f_308_ = ((float) anInt5509 * Component45.aFloat4338 + Component49.aFloat4673); + float f_309_; + float f_310_; + if (f > f_308_) { + f_309_ = (float) anInt5510 + f; + f_310_ = f_308_ - (float) anInt5510; + } else { + f_309_ = (float) anInt5510 + f_308_; + f_310_ = f - (float) anInt5510; + } + if (!(aHa_Sub3_5419.aFloat8169 <= f_310_) && !(f_309_ <= (float) aHa_Sub3_5419.anInt8095)) { + Component35.aFloat4268 = (class101_sub2.aFloat5729 + ((class101_sub2.aFloat5700 * (class101_sub2_307_.aFloat5710)) + (class101_sub2.aFloat5711 * (class101_sub2_307_.aFloat5729)) + (class101_sub2.aFloat5704 * (class101_sub2_307_.aFloat5724)))); + Component252.aFloat10199 = ((class101_sub2.aFloat5704 * class101_sub2_307_.aFloat5691) + ((class101_sub2_307_.aFloat5700 * class101_sub2.aFloat5711) + (class101_sub2.aFloat5700 * (class101_sub2_307_.aFloat5722)))); + float f_311_ = (((float) anInt5461 * Component252.aFloat10199) + Component35.aFloat4268); + float f_312_ = (Component35.aFloat4268 + (Component252.aFloat10199 * (float) anInt5509)); + float f_313_; + float f_314_; + if (f_311_ > f_312_) { + f_313_ = ((f_311_ + (float) anInt5510) * (float) aHa_Sub3_5419.anInt8129); + f_314_ = ((float) aHa_Sub3_5419.anInt8129 * ((float) -anInt5510 + f_312_)); + } else { + f_313_ = ((f_312_ + (float) anInt5510) * (float) aHa_Sub3_5419.anInt8129); + f_314_ = ((float) aHa_Sub3_5419.anInt8129 * ((float) -anInt5510 + f_311_)); + } + if (!(aHa_Sub3_5419.aFloat8158 <= f_314_ / f_309_) && !(f_313_ / f_309_ <= aHa_Sub3_5419.aFloat8126)) { + Component200.aFloat3710 = ((class101_sub2_307_.aFloat5691 * class101_sub2.aFloat5732) + ((class101_sub2.aFloat5722 * (class101_sub2_307_.aFloat5722)) + (class101_sub2.aFloat5708 * (class101_sub2_307_.aFloat5700)))); + NodeSub12.aFloat6752 = ((class101_sub2_307_.aFloat5724 * class101_sub2.aFloat5732) + (((class101_sub2_307_.aFloat5729) * (class101_sub2.aFloat5708)) + ((class101_sub2_307_.aFloat5710) * (class101_sub2.aFloat5722))) + class101_sub2.aFloat5710); + float f_315_ = ((float) anInt5461 * Component200.aFloat3710 + NodeSub12.aFloat6752); + float f_316_ = (Component200.aFloat3710 * (float) anInt5509 + NodeSub12.aFloat6752); + float f_317_; + float f_318_; + if (f_316_ < f_315_) { + f_317_ = ((float) aHa_Sub3_5419.anInt8134 * ((float) anInt5510 + f_315_)); + f_318_ = ((float) aHa_Sub3_5419.anInt8134 * ((float) -anInt5510 + f_316_)); + } else { + f_317_ = (((float) anInt5510 + f_316_) * (float) (aHa_Sub3_5419.anInt8134)); + f_318_ = ((f_315_ - (float) anInt5510) * (float) (aHa_Sub3_5419.anInt8134)); + } + if (!(aHa_Sub3_5419.aFloat8185 <= f_318_ / f_309_) && !(f_317_ / f_309_ <= aHa_Sub3_5419.aFloat8103)) { + if (class318_sub3 != null || aClass353Array5524 != null) { + ShaderCompilerSub3.aFloat6523 = (((class101_sub2.aFloat5716) * (class101_sub2_307_.aFloat5736)) + ((class101_sub2_307_.aFloat5711 * (class101_sub2.aFloat5736)) + ((class101_sub2.aFloat5691) * (class101_sub2_307_.aFloat5708)))); + RenderableSub6.aFloat6430 = (((class101_sub2.aFloat5708) * (class101_sub2_307_.aFloat5704)) + ((class101_sub2_307_.aFloat5732) * (class101_sub2.aFloat5722)) + ((class101_sub2.aFloat5732) * class101_sub2_307_.aFloat5716)); + JagTheoraDecoder.aFloat1010 = (((class101_sub2.aFloat5704) * (class101_sub2_307_.aFloat5736)) + (((class101_sub2.aFloat5700) * class101_sub2_307_.aFloat5708) + ((class101_sub2.aFloat5711) * (class101_sub2_307_.aFloat5711)))); + HashNodeSub4.aFloat9516 = (((class101_sub2.aFloat5711) * (class101_sub2_307_.aFloat5704)) + ((class101_sub2_307_.aFloat5732) * (class101_sub2.aFloat5700)) + ((class101_sub2.aFloat5704) * class101_sub2_307_.aFloat5716)); + NodeSub20.aFloat6835 = (((class101_sub2.aFloat5708) * (class101_sub2_307_.aFloat5711)) + ((class101_sub2.aFloat5722) * class101_sub2_307_.aFloat5708) + ((class101_sub2.aFloat5732) * class101_sub2_307_.aFloat5736)); + GraphicsToolkit.aFloat4582 = (((class101_sub2_307_.aFloat5716) * (class101_sub2.aFloat5716)) + ((class101_sub2_307_.aFloat5704 * (class101_sub2.aFloat5736)) + (class101_sub2_307_.aFloat5732 * (class101_sub2.aFloat5691)))); + } + if (class318_sub3 != null) { + boolean bool = false; + boolean bool_319_ = true; + int i_320_ = anInt5507 - -anInt5467 >> 1; + int i_321_ = anInt5418 + anInt5443 >> 1; + int i_322_ = (int) (((float) anInt5461 * (Component252.aFloat10199)) + (Component35.aFloat4268 + (JagTheoraDecoder.aFloat1010 * (float) i_320_)) + (HashNodeSub4.aFloat9516 * (float) i_321_)); + int i_323_ = (int) ((RenderableSub6.aFloat6430 * (float) i_321_) + (((float) i_320_ * NodeSub20.aFloat6835) + NodeSub12.aFloat6752 + (Component200.aFloat3710 * (float) anInt5461))); + int i_324_ = (int) (Component49.aFloat4673 + ((float) i_320_ * ShaderCompilerSub3.aFloat6523) + ((float) anInt5461 * Component45.aFloat4338) + (float) i_321_ * GraphicsToolkit.aFloat4582); + if (aHa_Sub3_5419.anInt8095 > i_324_) bool = true; + else { + class318_sub3.anInt6402 = (aHa_Sub3_5419.anInt8130 - -(i_323_ * (aHa_Sub3_5419.anInt8134) / i_324_)); + class318_sub3.anInt6405 = ((aHa_Sub3_5419.anInt8129 * i_322_ / i_324_) + (aHa_Sub3_5419.anInt8094)); + } + int i_325_ = (int) ((Component252.aFloat10199) * (float) anInt5509 + (Component35.aFloat4268 + (JagTheoraDecoder.aFloat1010 * (float) i_320_)) + ((float) i_321_ * (HashNodeSub4.aFloat9516))); + int i_326_ = (int) ((Component200.aFloat3710 * (float) anInt5509) + (NodeSub12.aFloat6752 + ((float) i_320_ * (NodeSub20.aFloat6835))) + ((float) i_321_ * RenderableSub6.aFloat6430)); + int i_327_ = (int) (((float) anInt5509 * Component45.aFloat4338) + (Component49.aFloat4673 + ((float) i_320_ * ShaderCompilerSub3.aFloat6523)) + GraphicsToolkit.aFloat4582 * (float) i_321_); + if (aHa_Sub3_5419.anInt8095 > i_327_) bool = true; + else { + class318_sub3.anInt6406 = (aHa_Sub3_5419.anInt8094 + (i_325_ * (aHa_Sub3_5419.anInt8129) / i_327_)); + class318_sub3.anInt6404 = (aHa_Sub3_5419.anInt8130 - -(i_326_ * (aHa_Sub3_5419.anInt8134) / i_327_)); + } + if (bool) { + if ((aHa_Sub3_5419.anInt8095 > i_324_) && ((aHa_Sub3_5419.anInt8095) > i_327_)) bool_319_ = false; + else if (i_324_ >= (aHa_Sub3_5419.anInt8095)) { + if (aHa_Sub3_5419.anInt8095 > i_327_) { + int i_328_ = ((i_324_ + -(aHa_Sub3_5419.anInt8095) << 16) / (-i_327_ + i_324_)); + int i_329_ = i_322_ + (((i_322_ - i_325_) * i_328_) >> 16); + int i_330_ = (((-i_326_ + i_323_) * i_328_ >> 16) + i_323_); + class318_sub3.anInt6405 = ((aHa_Sub3_5419.anInt8094) + (aHa_Sub3_5419.anInt8129 * i_329_ / (aHa_Sub3_5419.anInt8095))); + class318_sub3.anInt6402 = ((aHa_Sub3_5419.anInt8130) + (i_330_ * (aHa_Sub3_5419.anInt8134) / (aHa_Sub3_5419.anInt8095))); + } + } else { + int i_331_ = ((-(aHa_Sub3_5419.anInt8095) + i_327_ << 16) / (-i_324_ + i_327_)); + int i_332_ = ((i_331_ * (-i_322_ + i_325_) >> 16) + i_325_); + int i_333_ = (i_326_ - -(i_331_ * (-i_323_ + i_326_) >> 16)); + class318_sub3.anInt6405 = ((aHa_Sub3_5419.anInt8094) + (i_332_ * (aHa_Sub3_5419.anInt8129) / (aHa_Sub3_5419.anInt8095))); + class318_sub3.anInt6402 = ((i_333_ * (aHa_Sub3_5419.anInt8134) / (aHa_Sub3_5419.anInt8095)) + (aHa_Sub3_5419.anInt8130)); + } + } + if (bool_319_) { + if (i_324_ <= i_327_) class318_sub3.anInt6403 = (-class318_sub3.anInt6406 + (((aHa_Sub3_5419.anInt8129) * (i_325_ + anInt5510) / i_327_) + (aHa_Sub3_5419.anInt8094))); + else class318_sub3.anInt6403 = (-class318_sub3.anInt6405 + (((i_322_ + anInt5510) * (aHa_Sub3_5419.anInt8129) / i_324_) + (aHa_Sub3_5419.anInt8094))); + class318_sub3.aBoolean6401 = true; + } + } + aHa_Sub3_5419.method3825(8); + aHa_Sub3_5419.method3815(0, class101_sub2_307_); + method672(416776206); + method659(76); + } + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("nca.KA(" + (class101 != null ? "{...}" : "null") + ',' + (class318_sub3 != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + final void s(int i) { + anInt5445++; + if (aClass290_5520 != null) aClass290_5520.aBoolean3709 = Component235.method2015(i, anInt5472, 7); + if (aClass290_5460 != null) aClass290_5460.aBoolean3709 = Component191.method1379(4, anInt5472, i); + if (aClass290_5482 != null) aClass290_5482.aBoolean3709 = PacketReader.method3200(i, anInt5472, (byte) 73); + if (aClass290_5424 != null) aClass290_5424.aBoolean3709 = Component380.method1113(i, anInt5472, -10); + anInt5463 = i; + aBoolean5402 = true; + if (aClass151_5503 != null && (anInt5463 & 0x10000) == 0) { + aShortArray5438 = aClass151_5503.aShortArray2060; + aShortArray5436 = aClass151_5503.aShortArray2058; + aShortArray5493 = aClass151_5503.aShortArray2067; + aByteArray5499 = aClass151_5503.aByteArray2069; + aClass151_5503 = null; + } + method663(262144); + } + + final int V() { + anInt5464++; + if (!aBoolean5477) method675(0); + return anInt5507; + } + + final boolean method618() { + anInt5410++; + if (aShortArray5423 == null) return true; + for (int i = 0; i < aShortArray5423.length; i++) { + if (aShortArray5423[i] != -1 && !aHa_Sub3_5419.aD4579.method4(-7953, aShortArray5423[i])) return false; + } + return true; + } + + DisplayModeManagerContainer190(GlToolkitSub3 var_ha_Sub3, DisplayModeManagerContainer77 class124, int i, int i_334_, int i_335_, int i_336_) { + this(var_ha_Sub3, i, i_336_, true, false); + do { + try { + d var_d = var_ha_Sub3.aD4579; + int[] is = new int[class124.anInt1817]; + anIntArray5455 = new int[1 + class124.anInt1821]; + for (int i_337_ = 0; i_337_ < class124.anInt1817; i_337_++) { + if (class124.aByteArray1843 == null || class124.aByteArray1843[i_337_] != 2) { + if (class124.aShortArray1822 != null && (class124.aShortArray1822[i_337_] != -1)) { + Component319 class12 = var_d.method3(((class124.aShortArray1822[i_337_]) & 0xffff), -6662); + if (((anInt5472 & 0x40) == 0 || !class12.aBoolean209) && class12.aBoolean204) continue; + } + is[anInt5478++] = i_337_; + anIntArray5455[(class124.aShortArray1863[i_337_])]++; + anIntArray5455[(class124.aShortArray1835[i_337_])]++; + anIntArray5455[(class124.aShortArray1855[i_337_])]++; + } + } + anInt5516 = anInt5478; + long[] ls = new long[anInt5478]; + boolean bool = (0x100 & anInt5463) != 0; + for (int i_338_ = 0; i_338_ < anInt5478; i_338_++) { + int i_339_ = is[i_338_]; + Component319 class12 = null; + int i_340_ = 0; + int i_341_ = 0; + int i_342_ = 0; + int i_343_ = 0; + if (class124.aClass162Array1832 != null) { + boolean bool_344_ = false; + for (int i_345_ = 0; i_345_ < (class124.aClass162Array1832).length; i_345_++) { + DisplayModeManagerContainer133 class162 = (class124.aClass162Array1832[i_345_]); + if (class162.anInt2155 == i_339_) { + Component291 class189 = DisplayModeManagerContainer306.method742(104, (class162.anInt2153)); + if (class189.aBoolean2531) bool_344_ = true; + if (class189.anInt2525 != -1) { + Component319 class12_346_ = var_d.method3((class189.anInt2525), -6662); + if (class12_346_.anInt200 == 2) aBoolean5428 = true; + } + } + } + if (bool_344_) { + ls[i_338_] = 9223372036854775807L; + anInt5516--; + continue; + } + } + int i_347_ = -1; + if (class124.aShortArray1822 != null) { + i_347_ = class124.aShortArray1822[i_339_]; + if (i_347_ != -1) { + class12 = var_d.method3(0xffff & i_347_, -6662); + if ((0x40 & anInt5472) != 0 && class12.aBoolean209) { + i_347_ = -1; + class12 = null; + } else { + i_343_ = class12.aByte202; + i_342_ = class12.aByte213; + } + } + } + boolean bool_348_ = ((class124.aByteArray1834 != null && class124.aByteArray1834[i_339_] != 0) || (class12 != null && class12.anInt200 != 0)); + if ((bool || bool_348_) && class124.aByteArray1839 != null) i_340_ += (class124.aByteArray1839[i_339_] << 17); + if (bool_348_) i_340_ += 65536; + i_340_ += 0xff00 & i_342_ << 8; + i_341_ += (i_347_ & 0xffff) << 16; + i_340_ += 0xff & i_343_; + i_341_ += 0xffff & i_338_; + ls[i_338_] = ((long) i_340_ << 32) + (long) i_341_; + DisplayModeManagerContainer190 class64_sub2_349_ = this; + class64_sub2_349_.aBoolean5502 = (class64_sub2_349_.aBoolean5502 | (class12 != null && (class12.aByte198 != 0 || class12.aByte211 != 0))); + aBoolean5428 |= bool_348_; + } + NodeSub16Sub2.method2832(is, ls, 0); + anInt5497 = class124.anInt1836; + anIntArray5429 = class124.anIntArray1852; + anIntArray5519 = class124.anIntArray1847; + aShortArray5494 = class124.aShortArray1842; + anInt5433 = class124.anInt1821; + anIntArray5511 = class124.anIntArray1841; + aClass342Array5474 = class124.aClass342Array1866; + Component307[] class371s = new Component307[anInt5433]; + aClass129Array5457 = class124.aClass129Array1846; + if (class124.aClass162Array1832 != null) { + anInt5406 = class124.aClass162Array1832.length; + aClass353Array5524 = new Component45[anInt5406]; + aClass334Array5442 = new NativeLibLoader[anInt5406]; + for (int i_350_ = 0; anInt5406 > i_350_; i_350_++) { + DisplayModeManagerContainer133 class162 = class124.aClass162Array1832[i_350_]; + Component291 class189 = DisplayModeManagerContainer306.method742(104, (class162.anInt2153)); + int i_351_ = -1; + for (int i_352_ = 0; i_352_ < anInt5478; i_352_++) { + if (class162.anInt2155 == is[i_352_]) { + i_351_ = i_352_; + break; + } + } + if (i_351_ == -1) throw new RuntimeException(); + int i_353_ = (0xffffff & (RunescapeInfo.anIntArray179[((class124.aShortArray1862[class162.anInt2155]) & 0xffff)])); + i_353_ = (i_353_ | -(class124.aByteArray1834 == null ? 0 : (class124.aByteArray1834[(class162.anInt2155)])) + 255 << 24); + aClass353Array5524[i_350_] = new Component45(i_351_, (class124.aShortArray1863[class162.anInt2155]), (class124.aShortArray1835[class162.anInt2155]), (class124.aShortArray1855[class162.anInt2155]), class189.anInt2526, class189.anInt2530, class189.anInt2525, class189.anInt2533, class189.anInt2534, class189.aBoolean2531, class189.aBoolean2522, class162.anInt2158); + aClass334Array5442[i_350_] = new NativeLibLoader(i_353_); + } + } + int i_354_ = 3 * anInt5478; + aShortArray5439 = new short[i_354_]; + aShortArray5508 = new short[anInt5478]; + aShortArray5423 = new short[anInt5478]; + aFloatArray5506 = new float[i_354_]; + aShortArray5436 = new short[i_354_]; + aShortArray5486 = new short[anInt5478]; + aByteArray5499 = new byte[i_354_]; + aShortArray5512 = new short[anInt5478]; + aShortArray5493 = new short[i_354_]; + if (class124.aShortArray1856 != null) aShortArray5432 = new short[anInt5478]; + aShortArray5470 = new short[i_354_]; + aShortArray5416 = new short[i_354_]; + DefinitionSub37.aLongArray9465 = new long[i_354_]; + aShortArray5495 = new short[anInt5478]; + aShort5452 = (short) i_334_; + aByteArray5515 = new byte[anInt5478]; + aFloatArray5476 = new float[i_354_]; + aShort5427 = (short) i_335_; + aShortArray5438 = new short[i_354_]; + int i_355_ = 0; + for (int i_356_ = 0; (i_356_ < class124.anInt1821); i_356_++) { + int i_357_ = anIntArray5455[i_356_]; + anIntArray5455[i_356_] = i_355_; + i_355_ += i_357_; + class371s[i_356_] = new Component307(); + } + anIntArray5455[class124.anInt1821] = i_355_; + Component142 class358 = Component54.method565(255, anInt5478, class124, is); + Component227[] class63s = new Component227[class124.anInt1817]; + for (int i_358_ = 0; (class124.anInt1817 > i_358_); i_358_++) { + short i_359_ = class124.aShortArray1863[i_358_]; + short i_360_ = class124.aShortArray1835[i_358_]; + short i_361_ = class124.aShortArray1855[i_358_]; + int i_362_ = anIntArray5511[i_360_] - anIntArray5511[i_359_]; + int i_363_ = -anIntArray5519[i_359_] + anIntArray5519[i_360_]; + int i_364_ = anIntArray5429[i_360_] - anIntArray5429[i_359_]; + int i_365_ = -anIntArray5511[i_359_] + anIntArray5511[i_361_]; + int i_366_ = -anIntArray5519[i_359_] + anIntArray5519[i_361_]; + int i_367_ = -anIntArray5429[i_359_] + anIntArray5429[i_361_]; + int i_368_ = i_363_ * i_367_ + -(i_366_ * i_364_); + int i_369_ = -(i_362_ * i_367_) + i_364_ * i_365_; + int i_370_; + for (i_370_ = i_362_ * i_366_ - i_365_ * i_363_; (i_368_ > 8192 || i_369_ > 8192 || i_370_ > 8192 || i_368_ < -8192 || i_369_ < -8192 || i_370_ < -8192); i_370_ >>= 1) { + i_369_ >>= 1; + i_368_ >>= 1; + } + int i_371_ = (int) Math.sqrt(i_369_ * i_369_ + (i_368_ * i_368_ - -(i_370_ * i_370_))); + if (i_371_ <= 0) i_371_ = 1; + i_370_ = 256 * i_370_ / i_371_; + i_369_ = 256 * i_369_ / i_371_; + i_368_ = i_368_ * 256 / i_371_; + byte i_372_ = (class124.aByteArray1843 != null ? class124.aByteArray1843[i_358_] : (byte) 0); + if (i_372_ == 0) { + Component307 class371 = class371s[i_359_]; + class371.anInt4522++; + class371.anInt4525 += i_369_; + class371.anInt4520 += i_368_; + class371.anInt4524 += i_370_; + class371 = class371s[i_360_]; + class371.anInt4520 += i_368_; + class371.anInt4522++; + class371.anInt4525 += i_369_; + class371.anInt4524 += i_370_; + class371 = class371s[i_361_]; + class371.anInt4522++; + class371.anInt4520 += i_368_; + class371.anInt4525 += i_369_; + class371.anInt4524 += i_370_; + } else if (i_372_ == 1) { + Component227 class63 = class63s[i_358_] = new Component227(); + class63.anInt1118 = i_368_; + class63.anInt1119 = i_369_; + class63.anInt1122 = i_370_; + } + } + for (int i_373_ = 0; i_373_ < anInt5478; i_373_++) { + int i_374_ = is[i_373_]; + int i_375_ = (0xffff & class124.aShortArray1862[i_374_]); + int i_376_; + if (class124.aByteArray1820 != null) i_376_ = class124.aByteArray1820[i_374_]; + else i_376_ = -1; + int i_377_; + if (class124.aByteArray1834 == null) i_377_ = 0; + else i_377_ = 0xff & (class124.aByteArray1834[i_374_]); + short i_378_ = (class124.aShortArray1822 != null ? class124.aShortArray1822[i_374_] : (short) -1); + if (i_378_ != -1 && (anInt5472 & 0x40) != 0) { + Component319 class12 = var_d.method3(0xffff & i_378_, -6662); + if (class12.aBoolean209) i_378_ = (short) -1; + } + float f = 0.0F; + float f_379_ = 0.0F; + float f_380_ = 0.0F; + float f_381_ = 0.0F; + float f_382_ = 0.0F; + float f_383_ = 0.0F; + int i_384_ = 0; + int i_385_ = 0; + int i_386_ = 0; + if (i_378_ != -1) { + if (i_376_ == -1) { + f_380_ = 1.0F; + f_383_ = 0.0F; + i_384_ = 1; + i_385_ = 2; + f_382_ = 0.0F; + f = 0.0F; + f_381_ = 1.0F; + f_379_ = 1.0F; + } else { + i_376_ &= 0xff; + byte i_387_ = class124.aByteArray1823[i_376_]; + if (i_387_ == 0) { + short i_415_ = (class124.aShortArray1863[i_374_]); + short i_416_ = (class124.aShortArray1835[i_374_]); + short i_417_ = (class124.aShortArray1855[i_374_]); + short i_418_ = (class124.aShortArray1829[i_376_]); + short i_419_ = (class124.aShortArray1849[i_376_]); + short i_420_ = (class124.aShortArray1825[i_376_]); + float f_421_ = (float) (class124.anIntArray1841[i_418_]); + float f_422_ = (float) (class124.anIntArray1847[i_418_]); + float f_423_ = (float) (class124.anIntArray1852[i_418_]); + float f_424_ = ((float) (class124.anIntArray1841[i_419_]) - f_421_); + float f_425_ = (-f_422_ + (float) (class124.anIntArray1847[i_419_])); + float f_426_ = (-f_423_ + (float) (class124.anIntArray1852[i_419_])); + float f_427_ = (-f_421_ + (float) (class124.anIntArray1841[i_420_])); + float f_428_ = ((float) (class124.anIntArray1847[i_420_]) - f_422_); + float f_429_ = (-f_423_ + (float) (class124.anIntArray1852[i_420_])); + float f_430_ = (-f_421_ + (float) (class124.anIntArray1841[i_415_])); + float f_431_ = ((float) (class124.anIntArray1847[i_415_]) - f_422_); + float f_432_ = (-f_423_ + (float) (class124.anIntArray1852[i_415_])); + float f_433_ = (-f_421_ + (float) (class124.anIntArray1841[i_416_])); + float f_434_ = ((float) (class124.anIntArray1847[i_416_]) - f_422_); + float f_435_ = ((float) (class124.anIntArray1852[i_416_]) - f_423_); + float f_436_ = (-f_421_ + (float) (class124.anIntArray1841[i_417_])); + float f_437_ = (-f_422_ + (float) (class124.anIntArray1847[i_417_])); + float f_438_ = ((float) (class124.anIntArray1852[i_417_]) - f_423_); + float f_439_ = f_425_ * f_429_ - f_428_ * f_426_; + float f_440_ = f_427_ * f_426_ - f_424_ * f_429_; + float f_441_ = -(f_427_ * f_425_) + f_428_ * f_424_; + float f_442_ = -(f_440_ * f_429_) + f_441_ * f_428_; + float f_443_ = -(f_441_ * f_427_) + f_439_ * f_429_; + float f_444_ = -(f_439_ * f_428_) + f_440_ * f_427_; + float f_445_ = 1.0F / (f_443_ * f_425_ + f_442_ * f_424_ + f_426_ * f_444_); + f = f_445_ * (f_444_ * f_432_ + (f_442_ * f_430_ + f_443_ * f_431_)); + f_382_ = (f_444_ * f_438_ + (f_442_ * f_436_ + f_437_ * f_443_)) * f_445_; + f_380_ = f_445_ * (f_435_ * f_444_ + (f_443_ * f_434_ + f_442_ * f_433_)); + f_442_ = f_441_ * f_425_ - f_440_ * f_426_; + f_443_ = -(f_424_ * f_441_) + f_426_ * f_439_; + f_444_ = -(f_439_ * f_425_) + f_440_ * f_424_; + f_445_ = 1.0F / (f_442_ * f_427_ + f_428_ * f_443_ + f_429_ * f_444_); + f_381_ = (f_433_ * f_442_ + f_434_ * f_443_ + f_444_ * f_435_) * f_445_; + f_383_ = (f_442_ * f_436_ + f_443_ * f_437_ + f_444_ * f_438_) * f_445_; + f_379_ = f_445_ * (f_432_ * f_444_ + (f_431_ * f_443_ + f_430_ * f_442_)); + } else { + short i_388_ = (class124.aShortArray1863[i_374_]); + short i_389_ = (class124.aShortArray1835[i_374_]); + short i_390_ = (class124.aShortArray1855[i_374_]); + int i_391_ = (class358.anIntArray4416[i_376_]); + int i_392_ = (class358.anIntArray4415[i_376_]); + int i_393_ = (class358.anIntArray4414[i_376_]); + float[] fs = (class358.aFloatArrayArray4412[i_376_]); + byte i_394_ = (class124.aByteArray1853[i_376_]); + float f_395_ = ((float) (class124.anIntArray1867[i_376_]) / 256.0F); + if (i_387_ == 1) { + float f_413_ = ((float) (class124.anIntArray1844[i_376_]) / 1024.0F); + Component163.method1885(i_393_, (class124.anIntArray1852[i_388_]), i_394_, 8, (class124.anIntArray1841[i_388_]), Component69.aFloatArray3658, (class124.anIntArray1847[i_388_]), f_395_, i_392_, i_391_, f_413_, fs); + f_379_ = Component69.aFloatArray3658[1]; + f = Component69.aFloatArray3658[0]; + Component163.method1885(i_393_, (class124.anIntArray1852[i_389_]), i_394_, 8, (class124.anIntArray1841[i_389_]), Component69.aFloatArray3658, (class124.anIntArray1847[i_389_]), f_395_, i_392_, i_391_, f_413_, fs); + f_381_ = Component69.aFloatArray3658[1]; + f_380_ = Component69.aFloatArray3658[0]; + Component163.method1885(i_393_, (class124.anIntArray1852[i_390_]), i_394_, 8, (class124.anIntArray1841[i_390_]), Component69.aFloatArray3658, (class124.anIntArray1847[i_390_]), f_395_, i_392_, i_391_, f_413_, fs); + f_382_ = Component69.aFloatArray3658[0]; + f_383_ = Component69.aFloatArray3658[1]; + float f_414_ = f_413_ / 2.0F; + if ((i_394_ & 0x1) == 0) { + if (f_414_ < -f + f_380_) { + i_384_ = 1; + f_380_ -= f_413_; + } else if (f_414_ < -f_380_ + f) { + f_380_ += f_413_; + i_384_ = 2; + } + if (f_414_ < f_382_ - f) { + f_382_ -= f_413_; + i_385_ = 1; + } else if (-f_382_ + f > f_414_) { + i_385_ = 2; + f_382_ += f_413_; + } + } else { + if (f_414_ < -f_379_ + f_383_) { + f_383_ -= f_413_; + i_385_ = 1; + } else if (-f_383_ + f_379_ > f_414_) { + i_385_ = 2; + f_383_ += f_413_; + } + if (-f_379_ + f_381_ > f_414_) { + f_381_ -= f_413_; + i_384_ = 1; + } else if (-f_381_ + f_379_ > f_414_) { + f_381_ += f_413_; + i_384_ = 2; + } + } + } else if (i_387_ == 2) { + float f_396_ = ((float) (class124.anIntArray1857[i_376_]) / 256.0F); + float f_397_ = ((float) (class124.anIntArray1865[i_376_]) / 256.0F); + int i_398_ = (-(class124.anIntArray1841[i_388_]) + (class124.anIntArray1841[i_389_])); + int i_399_ = ((class124.anIntArray1847[i_389_]) + -(class124.anIntArray1847[i_388_])); + int i_400_ = (-(class124.anIntArray1852[i_388_]) + (class124.anIntArray1852[i_389_])); + int i_401_ = ((class124.anIntArray1841[i_390_]) + -(class124.anIntArray1841[i_388_])); + int i_402_ = ((class124.anIntArray1847[i_390_]) - (class124.anIntArray1847[i_388_])); + int i_403_ = (-(class124.anIntArray1852[i_388_]) + (class124.anIntArray1852[i_390_])); + int i_404_ = (i_399_ * i_403_ + -(i_400_ * i_402_)); + int i_405_ = (i_401_ * i_400_ + -(i_398_ * i_403_)); + int i_406_ = (i_402_ * i_398_ + -(i_399_ * i_401_)); + float f_407_ = (64.0F / (float) (class124.anIntArray1859[i_376_])); + float f_408_ = (64.0F / (float) (class124.anIntArray1816[i_376_])); + float f_409_ = (64.0F / (float) (class124.anIntArray1844[i_376_])); + float f_410_ = (((float) i_406_ * fs[2] + ((float) i_404_ * fs[0] + (float) i_405_ * fs[1])) / f_407_); + float f_411_ = ((fs[5] * (float) i_406_ + (fs[3] * (float) i_404_ + (float) i_405_ * fs[4])) / f_408_); + float f_412_ = (((float) i_405_ * fs[7] + fs[6] * (float) i_404_ + fs[8] * (float) i_406_) / f_409_); + i_386_ = Component374.method2635(f_411_, false, f_412_, f_410_); + NodeList.method1991(f_397_, f_395_, fs, (class124.anIntArray1852[i_388_]), i_393_, false, i_394_, i_391_, (class124.anIntArray1841[i_388_]), (class124.anIntArray1847[i_388_]), f_396_, Component69.aFloatArray3658, i_392_, i_386_); + f_379_ = Component69.aFloatArray3658[1]; + f = Component69.aFloatArray3658[0]; + NodeList.method1991(f_397_, f_395_, fs, (class124.anIntArray1852[i_389_]), i_393_, false, i_394_, i_391_, (class124.anIntArray1841[i_389_]), (class124.anIntArray1847[i_389_]), f_396_, Component69.aFloatArray3658, i_392_, i_386_); + f_381_ = Component69.aFloatArray3658[1]; + f_380_ = Component69.aFloatArray3658[0]; + NodeList.method1991(f_397_, f_395_, fs, (class124.anIntArray1852[i_390_]), i_393_, false, i_394_, i_391_, (class124.anIntArray1841[i_390_]), (class124.anIntArray1847[i_390_]), f_396_, Component69.aFloatArray3658, i_392_, i_386_); + f_382_ = Component69.aFloatArray3658[0]; + f_383_ = Component69.aFloatArray3658[1]; + } else if (i_387_ == 3) { + Component113.method1367(i_393_, i_394_, f_395_, (class124.anIntArray1841[i_388_]), Component69.aFloatArray3658, (class124.anIntArray1852[i_388_]), i_391_, (class124.anIntArray1847[i_388_]), i_392_, -4, fs); + f = Component69.aFloatArray3658[0]; + f_379_ = Component69.aFloatArray3658[1]; + Component113.method1367(i_393_, i_394_, f_395_, (class124.anIntArray1841[i_389_]), Component69.aFloatArray3658, (class124.anIntArray1852[i_389_]), i_391_, (class124.anIntArray1847[i_389_]), i_392_, -4, fs); + f_380_ = Component69.aFloatArray3658[0]; + f_381_ = Component69.aFloatArray3658[1]; + Component113.method1367(i_393_, i_394_, f_395_, (class124.anIntArray1841[i_390_]), Component69.aFloatArray3658, (class124.anIntArray1852[i_390_]), i_391_, (class124.anIntArray1847[i_390_]), i_392_, -4, fs); + f_382_ = Component69.aFloatArray3658[0]; + f_383_ = Component69.aFloatArray3658[1]; + if ((i_394_ & 0x1) == 0) { + if (-f + f_382_ > 0.5F) { + f_382_--; + i_385_ = 1; + } else if (f - f_382_ > 0.5F) { + f_382_++; + i_385_ = 2; + } + if (-f + f_380_ > 0.5F) { + f_380_--; + i_384_ = 1; + } else if (-f_380_ + f > 0.5F) { + f_380_++; + i_384_ = 2; + } + } else { + if (-f_379_ + f_383_ > 0.5F) { + i_385_ = 1; + f_383_--; + } else if (f_379_ - f_383_ > 0.5F) { + i_385_ = 2; + f_383_++; + } + if (f_381_ - f_379_ > 0.5F) { + f_381_--; + i_384_ = 1; + } else if (f_379_ - f_381_ > 0.5F) { + i_384_ = 2; + f_381_++; + } + } + } + } + } + } + byte i_446_; + if (class124.aByteArray1843 != null) i_446_ = class124.aByteArray1843[i_374_]; + else i_446_ = (byte) 0; + if (i_446_ == 0) { + long l = ((long) (i_376_ << 2) + (((long) (i_375_ << 8) + ((long) (i_386_ << 24) - -(long) i_377_)) << 32)); + short i_447_ = class124.aShortArray1863[i_374_]; + short i_448_ = class124.aShortArray1835[i_374_]; + short i_449_ = class124.aShortArray1855[i_374_]; + Component307 class371 = class371s[i_447_]; + aShortArray5508[i_373_] = method669(class371.anInt4524, l, i_373_, class371.anInt4522, class371.anInt4520, -114, f, i_447_, f_379_, class124, class371.anInt4525); + class371 = class371s[i_448_]; + aShortArray5495[i_373_] = method669(class371.anInt4524, (long) i_384_ + l, i_373_, class371.anInt4522, class371.anInt4520, -68, f_380_, i_448_, f_381_, class124, class371.anInt4525); + class371 = class371s[i_449_]; + aShortArray5512[i_373_] = method669(class371.anInt4524, (long) i_385_ + l, i_373_, class371.anInt4522, class371.anInt4520, -112, f_382_, i_449_, f_383_, class124, class371.anInt4525); + } else if (i_446_ == 1) { + Component227 class63 = class63s[i_374_]; + long l = ((((long) i_377_ + ((long) (i_386_ << 24) - -(long) (i_375_ << 8))) << 32) + (long) (((256 + class63.anInt1119) << 12) + (class63.anInt1118 > 0 ? 1024 : 2048) + (i_376_ << 2) + ((class63.anInt1122 - -256) << 22))); + aShortArray5508[i_373_] = method669(class63.anInt1122, l, i_373_, 0, class63.anInt1118, -106, f, (class124.aShortArray1863[i_374_]), f_379_, class124, class63.anInt1119); + aShortArray5495[i_373_] = method669(class63.anInt1122, l + (long) i_384_, i_373_, 0, class63.anInt1118, -57, f_380_, (class124.aShortArray1835[i_374_]), f_381_, class124, class63.anInt1119); + aShortArray5512[i_373_] = method669(class63.anInt1122, l + (long) i_385_, i_373_, 0, class63.anInt1118, -109, f_382_, (class124.aShortArray1855[i_374_]), f_383_, class124, class63.anInt1119); + } + if (class124.aByteArray1834 != null) aByteArray5515[i_373_] = class124.aByteArray1834[i_374_]; + if (class124.aShortArray1856 != null) aShortArray5432[i_373_] = class124.aShortArray1856[i_374_]; + aShortArray5486[i_373_] = class124.aShortArray1862[i_374_]; + aShortArray5423[i_373_] = i_378_; + } + if (anInt5516 > 0) { + int i_450_ = 1; + short i_451_ = aShortArray5423[0]; + for (int i_452_ = 0; anInt5516 > i_452_; i_452_++) { + short i_453_ = aShortArray5423[i_452_]; + if (i_453_ != i_451_) { + i_450_++; + i_451_ = i_453_; + } + } + anIntArray5415 = new int[i_450_]; + anIntArray5404 = new int[i_450_ - -1]; + anIntArray5473 = new int[i_450_]; + anIntArray5404[0] = 0; + int i_454_ = anInt5475; + i_450_ = 0; + int i_455_ = 0; + i_451_ = aShortArray5423[0]; + for (int i_456_ = 0; i_456_ < anInt5516; i_456_++) { + short i_457_ = aShortArray5423[i_456_]; + if (i_457_ != i_451_) { + anIntArray5415[i_450_] = i_454_; + anIntArray5473[i_450_] = 1 + -i_454_ + i_455_; + anIntArray5404[++i_450_] = i_456_; + i_451_ = i_457_; + i_455_ = 0; + i_454_ = anInt5475; + } + int i_458_ = aShortArray5508[i_456_]; + if (i_458_ > i_455_) i_455_ = i_458_; + if (i_454_ > i_458_) i_454_ = i_458_; + i_458_ = aShortArray5495[i_456_]; + if (i_458_ > i_455_) i_455_ = i_458_; + if (i_458_ < i_454_) i_454_ = i_458_; + i_458_ = aShortArray5512[i_456_]; + if (i_455_ < i_458_) i_455_ = i_458_; + if (i_454_ > i_458_) i_454_ = i_458_; + } + anIntArray5415[i_450_] = i_454_; + anIntArray5473[i_450_] = i_455_ + -i_454_ + 1; + anIntArray5404[++i_450_] = anInt5516; + } + DefinitionSub37.aLongArray9465 = null; + aShortArray5470 = Component374.method2639((byte) -111, aShortArray5470, anInt5475); + aShortArray5416 = Component374.method2639((byte) 26, aShortArray5416, anInt5475); + aShortArray5493 = Component374.method2639((byte) 68, aShortArray5493, anInt5475); + aShortArray5438 = Component374.method2639((byte) -125, aShortArray5438, anInt5475); + aShortArray5436 = Component374.method2639((byte) 70, aShortArray5436, anInt5475); + aByteArray5499 = OutputStream_Sub2.method135((byte) 111, aByteArray5499, anInt5475); + aFloatArray5476 = HashNodeSub16.method3258(0, anInt5475, aFloatArray5476); + aFloatArray5506 = HashNodeSub16.method3258(0, anInt5475, aFloatArray5506); + if (class124.anIntArray1868 != null && Component214.method1257(-58, anInt5472, i)) anIntArrayArray5413 = class124.method1100(false, -20); + if (class124.aClass162Array1832 != null && DisplayModeManagerContainer123.method780(anInt5472, 0, i)) anIntArrayArray5412 = class124.method1093((byte) -120); + if (class124.anIntArray1824 == null || !MenuOpener.method1158(anInt5472, -1, i)) break; + int i_459_ = 0; + int[] is_460_ = new int[256]; + for (int i_461_ = 0; i_461_ < anInt5478; i_461_++) { + int i_462_ = class124.anIntArray1824[is[i_461_]]; + if (i_462_ >= 0) { + is_460_[i_462_]++; + if (i_462_ > i_459_) i_459_ = i_462_; + } + } + anIntArrayArray5492 = new int[1 + i_459_][]; + for (int i_463_ = 0; i_459_ >= i_463_; i_463_++) { + anIntArrayArray5492[i_463_] = new int[is_460_[i_463_]]; + is_460_[i_463_] = 0; + } + for (int i_464_ = 0; anInt5478 > i_464_; i_464_++) { + int i_465_ = class124.anIntArray1824[is[i_464_]]; + if (i_465_ >= 0) anIntArrayArray5492[i_465_][is_460_[i_465_]++] = i_464_; + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("nca.(" + (var_ha_Sub3 != null ? "{...}" : "null") + ',' + (class124 != null ? "{...}" : "null") + ',' + i + ',' + i_334_ + ',' + i_335_ + ',' + i_336_ + ')')); + } + break; + } while (false); + } + + private final boolean method671(int i, int i_466_, int i_467_, int i_468_, int i_469_, int i_470_, int i_471_, int i_472_, int i_473_) { + anInt5518++; + if (i_469_ > i_470_ && i_470_ < i_473_ && i_468_ > i_470_) return false; + if (i_469_ < i_470_ && i_470_ > i_473_ && i_470_ > i_468_) return false; + if (i_471_ != 0) return true; + if (i < i_472_ && i_467_ > i && i < i_466_) return false; + return i <= i_472_ || i <= i_467_ || i_466_ >= i; + } + + final void method612() { + anInt5447++; + if (anInt5475 > 0 && anInt5516 > 0) { + method660(-98); + method666(-20); + method663(262144); + } + } + + private final void method672(int i) { + if (i != 416776206) Interface4Impl(); + anInt5441++; + if (anInt5516 != 0) { + if (method660(i ^ ~0x18d78060) && method666(-128)) { + aHa_Sub3_5419.method3925(i + -416776294, (aClass290_5520.anInterface5_Impl1_3711), 0); + aHa_Sub3_5419.method3925(i ^ 0x18d78057, (aClass290_5482.anInterface5_Impl1_3711), 1); + aHa_Sub3_5419.method3925(i ^ ~0x18d78079, (aClass290_5460.anInterface5_Impl1_3711), 2); + boolean bool; + if ((anInt5472 & 0x37) == 0) { + bool = false; + aHa_Sub3_5419.method3866(false, true); + aHa_Sub3_5419.method3862(0, (aHa_Sub3_5419.aClass130_8191)); + } else { + bool = true; + aHa_Sub3_5419.method3866(true, true); + aHa_Sub3_5419.method3925(i ^ ~0x18d7806c, (aClass290_5424.anInterface5_Impl1_3711), 3); + aHa_Sub3_5419.method3862(0, (aHa_Sub3_5419.aClass130_8208)); + } + for (int i_474_ = 0; anIntArray5415.length > i_474_; i_474_++) { + int i_475_ = anIntArray5404[i_474_]; + int i_476_ = anIntArray5404[1 + i_474_]; + int i_477_ = aShortArray5423[i_475_] & 0xffff; + if (i_477_ == 65535) i_477_ = -1; + aHa_Sub3_5419.method3814(true, bool, i_477_, (byte) 102); + aHa_Sub3_5419.method3938(VideoAdDisplay.aClass21_3181, -i_475_ + i_476_, (aClass192_5485.anInterface5_Impl2_2572), anIntArray5415[i_474_], 3 * i_475_, anIntArray5473[i_474_], 54); + } + } + method663(262144); + } + } + + final boolean method623(int i, int i_478_, DisplayModeManagerContainer204 class101, boolean bool, int i_479_, int i_480_) { + try { + anInt5517++; + return method662(i, i_479_, i_480_, 126, i_478_, bool, class101); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("nca.OA(" + i + ',' + i_478_ + ',' + (class101 != null ? "{...}" : "null") + ',' + bool + ',' + i_479_ + ',' + i_480_ + ')')); + } + } + + private final void method673(byte i) { + int i_481_ = 1 % ((25 - i) / 40); + if ((anInt5472 & 0x37) == 0) { + if (aClass290_5482 != null) aClass290_5482.aBoolean3714 = false; + } else if (aClass290_5424 != null) aClass290_5424.aBoolean3714 = false; + anInt5405++; + } + + private final void method674(int i) { + if (aClass192_5485 != null) aClass192_5485.aBoolean2577 = false; + int i_482_ = 28 % ((i - 18) / 43); + anInt5505++; + } + + final void method613(DisplayModeManagerContainer370 class64, int i, int i_483_, int i_484_, boolean bool) { + try { + anInt5417++; + DisplayModeManagerContainer190 class64_sub2_485_ = (DisplayModeManagerContainer190) class64; + if (anInt5478 != 0 && class64_sub2_485_.anInt5478 != 0) { + int i_486_ = class64_sub2_485_.anInt5433; + int[] is = class64_sub2_485_.anIntArray5511; + int[] is_487_ = class64_sub2_485_.anIntArray5519; + int[] is_488_ = class64_sub2_485_.anIntArray5429; + short[] is_489_ = class64_sub2_485_.aShortArray5493; + short[] is_490_ = class64_sub2_485_.aShortArray5438; + short[] is_491_ = class64_sub2_485_.aShortArray5436; + byte[] is_492_ = class64_sub2_485_.aByteArray5499; + short[] is_493_; + short[] is_494_; + byte[] is_495_; + short[] is_496_; + if (aClass151_5503 == null) { + is_493_ = null; + is_494_ = null; + is_495_ = null; + is_496_ = null; + } else { + is_495_ = aClass151_5503.aByteArray2069; + is_493_ = aClass151_5503.aShortArray2060; + is_494_ = aClass151_5503.aShortArray2067; + is_496_ = aClass151_5503.aShortArray2058; + } + short[] is_497_; + byte[] is_498_; + short[] is_499_; + short[] is_500_; + if (class64_sub2_485_.aClass151_5503 == null) { + is_497_ = null; + is_498_ = null; + is_499_ = null; + is_500_ = null; + } else { + is_499_ = (class64_sub2_485_.aClass151_5503.aShortArray2058); + is_498_ = (class64_sub2_485_.aClass151_5503.aByteArray2069); + is_497_ = (class64_sub2_485_.aClass151_5503.aShortArray2060); + is_500_ = (class64_sub2_485_.aClass151_5503.aShortArray2067); + } + int[] is_501_ = class64_sub2_485_.anIntArray5455; + short[] is_502_ = class64_sub2_485_.aShortArray5439; + if (!class64_sub2_485_.aBoolean5477) class64_sub2_485_.method675(0); + int i_503_ = class64_sub2_485_.anInt5461; + int i_504_ = class64_sub2_485_.anInt5509; + int i_505_ = class64_sub2_485_.anInt5507; + int i_506_ = class64_sub2_485_.anInt5467; + int i_507_ = class64_sub2_485_.anInt5418; + int i_508_ = class64_sub2_485_.anInt5443; + for (int i_509_ = 0; anInt5433 > i_509_; i_509_++) { + int i_510_ = anIntArray5519[i_509_] - i_483_; + if (i_503_ <= i_510_ && i_510_ <= i_504_) { + int i_511_ = -i + anIntArray5511[i_509_]; + if (i_511_ >= i_505_ && i_511_ <= i_506_) { + int i_512_ = anIntArray5429[i_509_] - i_484_; + if (i_507_ <= i_512_ && i_512_ <= i_508_) { + int i_513_ = -1; + int i_514_ = anIntArray5455[i_509_]; + int i_515_ = anIntArray5455[1 + i_509_]; + for (int i_516_ = i_514_; i_515_ > i_516_; i_516_++) { + i_513_ = -1 + aShortArray5439[i_516_]; + if (i_513_ == -1 || aByteArray5499[i_513_] != 0) break; + } + if (i_513_ != -1) { + for (int i_517_ = 0; i_486_ > i_517_; i_517_++) { + if ((is[i_517_] == i_511_) && (is_488_[i_517_] == i_512_) && (i_510_ == is_487_[i_517_])) { + int i_518_ = -1; + i_514_ = is_501_[i_517_]; + i_515_ = is_501_[1 + i_517_]; + for (int i_519_ = i_514_; i_519_ < i_515_; i_519_++) { + i_518_ = is_502_[i_519_] + -1; + if (i_518_ == -1 || is_492_[i_518_] != 0) break; + } + if (i_518_ != -1) { + if (is_494_ == null) { + aClass151_5503 = new DisplayModeManagerContainer346(); + is_494_ = aClass151_5503.aShortArray2067 = (DisplayModeManagerContainer368.method470(aShortArray5493, (byte) -123)); + is_493_ = aClass151_5503.aShortArray2060 = (DisplayModeManagerContainer368.method470(aShortArray5438, (byte) -126)); + is_496_ = aClass151_5503.aShortArray2058 = (DisplayModeManagerContainer368.method470(aShortArray5436, (byte) -111)); + is_495_ = aClass151_5503.aByteArray2069 = (DisplayModeManagerContainer74.method2309(-106, aByteArray5499)); + } + if (is_500_ == null) { + DisplayModeManagerContainer346 class151 = (class64_sub2_485_.aClass151_5503 = new DisplayModeManagerContainer346()); + is_500_ = class151.aShortArray2067 = (DisplayModeManagerContainer368.method470(is_489_, (byte) -120)); + is_497_ = class151.aShortArray2060 = (DisplayModeManagerContainer368.method470(is_490_, (byte) -104)); + is_499_ = class151.aShortArray2058 = (DisplayModeManagerContainer368.method470(is_491_, (byte) -118)); + is_498_ = class151.aByteArray2069 = (DisplayModeManagerContainer74.method2309(-114, is_492_)); + } + short i_520_ = aShortArray5493[i_513_]; + short i_521_ = aShortArray5438[i_513_]; + short i_522_ = aShortArray5436[i_513_]; + i_514_ = is_501_[i_517_]; + i_515_ = is_501_[i_517_ + 1]; + byte i_523_ = aByteArray5499[i_513_]; + for (int i_524_ = i_514_; (i_515_ > i_524_); i_524_++) { + int i_525_ = -1 + is_502_[i_524_]; + if (i_525_ == -1) break; + if (is_498_[i_525_] != 0) { + is_500_[i_525_] += i_520_; + is_497_[i_525_] += i_521_; + is_499_[i_525_] += i_522_; + is_498_[i_525_] += i_523_; + } + } + i_514_ = anIntArray5455[i_509_]; + i_522_ = is_491_[i_518_]; + i_523_ = is_492_[i_518_]; + i_520_ = is_489_[i_518_]; + i_521_ = is_490_[i_518_]; + i_515_ = (anIntArray5455[1 + i_509_]); + for (int i_526_ = i_514_; i_515_ > i_526_; i_526_++) { + int i_527_ = ((aShortArray5439[i_526_]) - 1); + if (i_527_ == -1) break; + if (is_495_[i_527_] != 0) { + is_494_[i_527_] += i_520_; + is_493_[i_527_] += i_521_; + is_496_[i_527_] += i_522_; + is_495_[i_527_] += i_523_; + } + } + class64_sub2_485_.method673((byte) 80); + method673((byte) -111); + } + } + } + } + } + } + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("nca.PA(" + (class64 != null ? "{...}" : "null") + ',' + i + ',' + i_483_ + ',' + i_484_ + ',' + bool + ')')); + } + } + + final void ia(short i, short i_528_) { + anInt5459++; + for (int i_529_ = 0; anInt5478 > i_529_; i_529_++) { + if (i == aShortArray5486[i_529_]) aShortArray5486[i_529_] = i_528_; + } + if (aClass353Array5524 != null) { + for (int i_530_ = 0; i_530_ < anInt5406; i_530_++) { + Component45 class353 = aClass353Array5524[i_530_]; + NativeLibLoader class334 = aClass334Array5442[i_530_]; + class334.anInt4156 = ((RunescapeInfo.anIntArray179[0xffff & aShortArray5486[(class353.anInt4342)]]) & 0xffffff | class334.anInt4156 & ~0xffffff); + } + } + method670(-119); + } + + final DisplayModeManagerContainer370 method614(byte i, int i_531_, boolean bool) { + anInt5426++; + DisplayModeManagerContainer190 class64_sub2_532_; + DisplayModeManagerContainer190 class64_sub2_533_; + if (i == 1) { + class64_sub2_532_ = aHa_Sub3_5419.aClass64_Sub2_8198; + class64_sub2_533_ = aHa_Sub3_5419.aClass64_Sub2_8206; + } else if (i == 2) { + class64_sub2_532_ = aHa_Sub3_5419.aClass64_Sub2_8194; + class64_sub2_533_ = aHa_Sub3_5419.aClass64_Sub2_8192; + } else if (i == 3) { + class64_sub2_532_ = aHa_Sub3_5419.aClass64_Sub2_8187; + class64_sub2_533_ = aHa_Sub3_5419.aClass64_Sub2_8200; + } else if (i == 4) { + class64_sub2_532_ = aHa_Sub3_5419.aClass64_Sub2_8199; + class64_sub2_533_ = aHa_Sub3_5419.aClass64_Sub2_8188; + } else if (i == 5) { + class64_sub2_533_ = aHa_Sub3_5419.aClass64_Sub2_8207; + class64_sub2_532_ = aHa_Sub3_5419.aClass64_Sub2_8189; + } else class64_sub2_533_ = class64_sub2_532_ = new DisplayModeManagerContainer190(aHa_Sub3_5419, 0, 0, true, false); + return method668(i != 0, class64_sub2_532_, class64_sub2_533_, i_531_, bool, 26794); + } + + final void p(int i, int i_534_, s var_s, s var_s_535_, int i_536_, int i_537_, int i_538_) { + try { + anInt5501++; + if (!aBoolean5477) method675(0); + int i_539_ = i_536_ - -anInt5507; + int i_540_ = anInt5467 + i_536_; + int i_541_ = anInt5418 + i_538_; + int i_542_ = i_538_ - -anInt5443; + if ((i != 1 && i != 2 && i != 3 && i != 5) || (i_539_ >= 0 && var_s.anInt4587 > (i_540_ + var_s.anInt4592 >> var_s.anInt4588) && i_541_ >= 0 && var_s.anInt4590 > (var_s.anInt4592 + i_542_ >> var_s.anInt4588))) { + if (i != 4 && i != 5) { + i_539_ >>= var_s.anInt4588; + i_540_ = (var_s.anInt4592 + -1 + i_540_ >> var_s.anInt4588); + i_541_ >>= var_s.anInt4588; + i_542_ = (var_s.anInt4592 - (1 - i_542_) >> var_s.anInt4588); + if ((var_s.method3982((byte) -86, i_541_, i_539_) == i_537_) && i_537_ == var_s.method3982((byte) -86, i_541_, i_540_) && (var_s.method3982((byte) -86, i_542_, i_539_) == i_537_) && i_537_ == var_s.method3982((byte) -86, i_542_, i_540_)) return; + } else if (var_s_535_ == null || (i_539_ < 0 || (var_s_535_.anInt4587 <= (var_s_535_.anInt4592 + i_540_ >> var_s_535_.anInt4588)) || i_541_ < 0 || (var_s_535_.anInt4590 <= (i_542_ - -var_s_535_.anInt4592 >> var_s_535_.anInt4588)))) return; + if (i == 1) { + for (int i_559_ = 0; anInt5433 > i_559_; i_559_++) + anIntArray5519[i_559_] = (anIntArray5519[i_559_] + (var_s.method3986((anIntArray5511[i_559_] + i_536_), (anIntArray5429[i_559_] + i_538_), (byte) -93) - i_537_)); + } else if (i == 2) { + int i_543_ = anInt5461; + if (i_543_ == 0) return; + for (int i_544_ = 0; anInt5433 > i_544_; i_544_++) { + int i_545_ = ((anIntArray5519[i_544_] << 16) / i_543_); + if (i_545_ < i_534_) anIntArray5519[i_544_] = (anIntArray5519[i_544_] - -((i_534_ + -i_545_) * (-i_537_ + (var_s.method3986((i_536_ + anIntArray5511[i_544_]), (anIntArray5429[i_544_] - -i_538_), (byte) -92))) / i_534_)); + } + } else if (i == 3) { + int i_555_ = 4 * (i_534_ & 0xff); + int i_556_ = (i_534_ >> 8 & 0xff) * 4; + int i_557_ = 0x3fc0 & i_534_ >> 16 << 6; + int i_558_ = 0x3fc0 & i_534_ >> 24 << 6; + if ((i_536_ - (i_555_ >> 1) < 0) || ((var_s.anInt4592 + (i_555_ >> 1) + i_536_) >= var_s.anInt4587 << var_s.anInt4588) || -(i_556_ >> 1) + i_538_ < 0 || ((var_s.anInt4592 + ((i_556_ >> 1) + i_538_)) >= var_s.anInt4590 << var_s.anInt4588)) + return; + this.method626(i_555_, 10947, i_558_, i_536_, i_556_, i_537_, i_557_, var_s, i_538_); + } else if (i == 4) { + int i_553_ = -anInt5461 + anInt5509; + for (int i_554_ = 0; (i_554_ < anInt5433); i_554_++) + anIntArray5519[i_554_] = (i_553_ + anIntArray5519[i_554_] - (-(var_s_535_.method3986(anIntArray5511[i_554_] + i_536_, anIntArray5429[i_554_] - -i_538_, (byte) 92)) + i_537_)); + } else if (i == 5) { + int i_546_ = -anInt5461 + anInt5509; + for (int i_547_ = 0; anInt5433 > i_547_; i_547_++) { + int i_548_ = i_536_ + anIntArray5511[i_547_]; + int i_549_ = i_538_ + anIntArray5429[i_547_]; + int i_550_ = var_s.method3986(i_548_, i_549_, (byte) 57); + int i_551_ = var_s_535_.method3986(i_548_, i_549_, (byte) -111); + int i_552_ = i_550_ - (i_551_ - -i_534_); + anIntArray5519[i_547_] = ((i_552_ * ((anIntArray5519[i_547_] << 8) / i_546_) >> 8) + (i_550_ + -i_537_)); + } + } + method667(0); + aBoolean5477 = false; + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("nca.p(" + i + ',' + i_534_ + ',' + (var_s != null ? "{...}" : "null") + ',' + (var_s_535_ != null ? "{...}" : "null") + ',' + i_536_ + ',' + i_537_ + ',' + i_538_ + ')')); + } + } + + final boolean F() { + anInt5446++; + return aBoolean5428; + } + + final void method621() { + anInt5451++; + } + + final void method624(int i, int i_560_, int i_561_, int i_562_) { + anInt5522++; + for (int i_563_ = 0; anInt5478 > i_563_; i_563_++) { + int i_564_ = 0xffff & aShortArray5486[i_563_]; + int i_565_ = 0x3f & i_564_ >> 10; + int i_566_ = (i_564_ & 0x3f5) >> 7; + if (i != -1) i_565_ = (i_562_ * (i - i_565_) >> 7) + i_565_; + int i_567_ = i_564_ & 0x7f; + if (i_560_ != -1) i_566_ += (-i_566_ + i_560_) * i_562_ >> 7; + if (i_561_ != -1) i_567_ = ((-i_567_ + i_561_) * i_562_ >> 7) + i_567_; + aShortArray5486[i_563_] = (short) (Component224.bitwiseOr(Component224.bitwiseOr(i_565_ << 10, i_566_ << 7), i_567_)); + } + if (aClass353Array5524 != null) { + for (int i_568_ = 0; anInt5406 > i_568_; i_568_++) { + Component45 class353 = aClass353Array5524[i_568_]; + NativeLibLoader class334 = aClass334Array5442[i_568_]; + class334.anInt4156 = (class334.anInt4156 & ~0xffffff | (RunescapeInfo.anIntArray179[(aShortArray5486[class353.anInt4342] & 0xffff)]) & 0xffffff); + } + } + method670(-107); + } + + final void v() { + anInt5425++; + for (int i = 0; i < anInt5433; i++) + anIntArray5429[i] = -anIntArray5429[i]; + for (int i = 0; anInt5475 > i; i++) + aShortArray5436[i] = (short) -aShortArray5436[i]; + for (int i = 0; anInt5478 > i; i++) { + short i_569_ = aShortArray5508[i]; + aShortArray5508[i] = aShortArray5512[i]; + aShortArray5512[i] = i_569_; + } + method667(0); + method673((byte) -79); + method674(-55); + aBoolean5477 = false; + } + + final void Shader(short i, short i_570_) { + anInt5403++; + d var_d = aHa_Sub3_5419.aD4579; + for (int i_571_ = 0; anInt5478 > i_571_; i_571_++) { + if (i == aShortArray5423[i_571_]) aShortArray5423[i_571_] = i_570_; + } + byte i_572_ = 0; + byte i_573_ = 0; + if (i != -1) { + Component319 class12 = var_d.method3(i & 0xffff, -6662); + i_573_ = class12.aByte216; + i_572_ = class12.aByte201; + } + byte i_574_ = 0; + byte i_575_ = 0; + if (i_570_ != -1) { + Component319 class12 = var_d.method3(0xffff & i_570_, -6662); + i_575_ = class12.aByte216; + if (class12.aByte198 != 0 || class12.aByte211 != 0) aBoolean5502 = true; + i_574_ = class12.aByte201; + } + if (i_575_ != i_573_ | i_572_ != i_574_) { + if (aClass353Array5524 != null) { + for (int i_576_ = 0; i_576_ < anInt5406; i_576_++) { + Component45 class353 = aClass353Array5524[i_576_]; + NativeLibLoader class334 = aClass334Array5442[i_576_]; + class334.anInt4156 = (class334.anInt4156 & ~0xffffff | ((RunescapeInfo.anIntArray179[(aShortArray5486[class353.anInt4342]) & 0xffff]) & 0xffffff)); + } + } + method670(-109); + } + } + + final void C(int i) { + anInt5448++; + aShort5452 = (short) i; + method670(-89); + } + + private final void method675(int i) { + anInt5514++; + int i_577_ = 32767; + int i_578_ = 32767; + int i_579_ = 32767; + int i_580_ = -32768; + int i_581_ = -32768; + int i_582_ = -32768; + int i_583_ = 0; + int i_584_ = i; + for (int i_585_ = 0; i_585_ < anInt5433; i_585_++) { + int i_586_ = anIntArray5511[i_585_]; + int i_587_ = anIntArray5519[i_585_]; + int i_588_ = anIntArray5429[i_585_]; + if (i_586_ > i_580_) i_580_ = i_586_; + if (i_578_ > i_587_) i_578_ = i_587_; + if (i_587_ > i_581_) i_581_ = i_587_; + if (i_586_ < i_577_) i_577_ = i_586_; + if (i_579_ > i_588_) i_579_ = i_588_; + if (i_588_ > i_582_) i_582_ = i_588_; + int i_589_ = i_588_ * i_588_ + i_586_ * i_586_; + if (i_583_ < i_589_) i_583_ = i_589_; + i_589_ = i_587_ * i_587_ + i_586_ * i_586_ + i_588_ * i_588_; + if (i_589_ > i_584_) i_584_ = i_589_; + } + anInt5461 = i_578_; + anInt5418 = i_579_; + anInt5507 = i_577_; + anInt5467 = i_580_; + anInt5509 = i_581_; + anInt5443 = i_582_; + anInt5510 = (int) (Math.sqrt(i_583_) + 0.99); + anInt5401 = (int) (Math.sqrt(i_584_) + 0.99); + aBoolean5477 = true; + } + + public static void method676(int i) { + aString5420 = null; + if (i <= 11) method661((byte) -43); + } + + final void I(int i, int[] is, int i_590_, int i_591_, int i_592_, boolean bool, int i_593_, int[] is_594_) { + try { + anInt5521++; + int i_595_ = is.length; + if (i == 0) { + i_590_ <<= 4; + i_591_ <<= 4; + i_592_ <<= 4; + AssetCacheLoader.anInt386 = 0; + int i_596_ = 0; + InputHandler.anInt4274 = 0; + Component257.anInt4795 = 0; + for (int i_597_ = 0; i_595_ > i_597_; i_597_++) { + int i_598_ = is[i_597_]; + if (i_598_ < anIntArrayArray5413.length) { + int[] is_599_ = anIntArrayArray5413[i_598_]; + for (int i_600_ = 0; is_599_.length > i_600_; i_600_++) { + int i_601_ = is_599_[i_600_]; + if (aShortArray5494 == null || (aShortArray5494[i_601_] & i_593_) != 0) { + Component257.anInt4795 += anIntArray5511[i_601_]; + AssetCacheLoader.anInt386 += anIntArray5519[i_601_]; + InputHandler.anInt4274 += anIntArray5429[i_601_]; + i_596_++; + } + } + } + } + if (i_596_ > 0) { + InputHandler.anInt4274 = InputHandler.anInt4274 / i_596_ - -i_592_; + DisplayModeManagerContainer282.aBoolean5609 = true; + AssetCacheLoader.anInt386 = AssetCacheLoader.anInt386 / i_596_ + i_591_; + Component257.anInt4795 = i_590_ + Component257.anInt4795 / i_596_; + } else { + InputHandler.anInt4274 = i_592_; + Component257.anInt4795 = i_590_; + AssetCacheLoader.anInt386 = i_591_; + } + } else if (i == 1) { + if (is_594_ != null) { + int i_602_ = (is_594_[0] * i_590_ - (-(is_594_[1] * i_591_) - (i_592_ * is_594_[2] + 8192)) >> 14); + int i_603_ = ((i_592_ * is_594_[5] + is_594_[3] * i_590_ - -(is_594_[4] * i_591_) - -8192) >> 14); + int i_604_ = ((8192 + is_594_[8] * i_592_ + is_594_[6] * i_590_ + i_591_ * is_594_[7]) >> 14); + i_592_ = i_604_; + i_591_ = i_603_; + i_590_ = i_602_; + } + i_590_ <<= 4; + i_592_ <<= 4; + i_591_ <<= 4; + for (int i_605_ = 0; i_605_ < i_595_; i_605_++) { + int i_606_ = is[i_605_]; + if (anIntArrayArray5413.length > i_606_) { + int[] is_607_ = anIntArrayArray5413[i_606_]; + for (int i_608_ = 0; is_607_.length > i_608_; i_608_++) { + int i_609_ = is_607_[i_608_]; + if (aShortArray5494 == null || (aShortArray5494[i_609_] & i_593_) != 0) { + anIntArray5511[i_609_] += i_590_; + anIntArray5519[i_609_] += i_591_; + anIntArray5429[i_609_] += i_592_; + } + } + } + } + } else if (i == 2) { + if (is_594_ == null) { + for (int i_658_ = 0; i_595_ > i_658_; i_658_++) { + int i_659_ = is[i_658_]; + if (i_659_ < anIntArrayArray5413.length) { + int[] is_660_ = anIntArrayArray5413[i_659_]; + for (int i_661_ = 0; is_660_.length > i_661_; i_661_++) { + int i_662_ = is_660_[i_661_]; + if (aShortArray5494 == null || ((aShortArray5494[i_662_] & i_593_) != 0)) { + anIntArray5511[i_662_] -= Component257.anInt4795; + anIntArray5519[i_662_] -= AssetCacheLoader.anInt386; + anIntArray5429[i_662_] -= InputHandler.anInt4274; + if (i_592_ != 0) { + int i_663_ = DisplayModeManagerContainer88.anIntArray1207[i_592_]; + int i_664_ = DisplayModeManagerContainer88.anIntArray1204[i_592_]; + int i_665_ = ((i_663_ * anIntArray5519[i_662_] + ((i_664_ * anIntArray5511[i_662_]) - -16383)) >> 14); + anIntArray5519[i_662_] = (-(anIntArray5511[i_662_] * i_663_) + (anIntArray5519[i_662_] * i_664_) - -16383) >> 14; + anIntArray5511[i_662_] = i_665_; + } + if (i_590_ != 0) { + int i_666_ = DisplayModeManagerContainer88.anIntArray1207[i_590_]; + int i_667_ = DisplayModeManagerContainer88.anIntArray1204[i_590_]; + int i_668_ = ((16383 + ((i_667_ * anIntArray5519[i_662_]) - i_666_ * (anIntArray5429[i_662_]))) >> 14); + anIntArray5429[i_662_] = ((16383 + (i_667_ * anIntArray5429[i_662_]) + (i_666_ * anIntArray5519[i_662_])) >> 14); + anIntArray5519[i_662_] = i_668_; + } + if (i_591_ != 0) { + int i_669_ = DisplayModeManagerContainer88.anIntArray1207[i_591_]; + int i_670_ = DisplayModeManagerContainer88.anIntArray1204[i_591_]; + int i_671_ = ((16383 + (anIntArray5429[i_662_] * i_669_) + (i_670_ * anIntArray5511[i_662_])) >> 14); + anIntArray5429[i_662_] = (-(i_669_ * anIntArray5511[i_662_]) + ((i_670_ * anIntArray5429[i_662_]) - -16383)) >> 14; + anIntArray5511[i_662_] = i_671_; + } + anIntArray5511[i_662_] += Component257.anInt4795; + anIntArray5519[i_662_] += AssetCacheLoader.anInt386; + anIntArray5429[i_662_] += InputHandler.anInt4274; + } + } + } + } + if (bool) { + for (int i_672_ = 0; i_672_ < i_595_; i_672_++) { + int i_673_ = is[i_672_]; + if (i_673_ < anIntArrayArray5413.length) { + int[] is_674_ = anIntArrayArray5413[i_673_]; + for (int i_675_ = 0; i_675_ < is_674_.length; i_675_++) { + int i_676_ = is_674_[i_675_]; + if (aShortArray5494 == null || ((aShortArray5494[i_676_] & i_593_) != 0)) { + int i_677_ = anIntArray5455[i_676_]; + int i_678_ = anIntArray5455[i_676_ - -1]; + for (int i_679_ = i_677_; (i_679_ < i_678_); i_679_++) { + int i_680_ = -1 + aShortArray5439[i_679_]; + if (i_680_ == -1) break; + if (i_592_ != 0) { + int i_681_ = (DisplayModeManagerContainer88.anIntArray1207[i_592_]); + int i_682_ = (DisplayModeManagerContainer88.anIntArray1204[i_592_]); + int i_683_ = (((i_682_ * (aShortArray5493[i_680_])) + (aShortArray5438[i_680_]) * i_681_ - -16383) >> 14); + aShortArray5438[i_680_] = (short) ((16383 + -((aShortArray5493[i_680_]) * i_681_) + (i_682_ * (aShortArray5438[i_680_]))) >> 14); + aShortArray5493[i_680_] = (short) i_683_; + } + if (i_590_ != 0) { + int i_684_ = (DisplayModeManagerContainer88.anIntArray1207[i_590_]); + int i_685_ = (DisplayModeManagerContainer88.anIntArray1204[i_590_]); + int i_686_ = ((16383 + ((aShortArray5438[i_680_]) * i_685_ - ((aShortArray5436[i_680_]) * i_684_))) >> 14); + aShortArray5436[i_680_] = (short) (((i_684_ * (aShortArray5438[i_680_])) + (i_685_ * (aShortArray5436[i_680_])) - -16383) >> 14); + aShortArray5438[i_680_] = (short) i_686_; + } + if (i_591_ != 0) { + int i_687_ = (DisplayModeManagerContainer88.anIntArray1207[i_591_]); + int i_688_ = (DisplayModeManagerContainer88.anIntArray1204[i_591_]); + int i_689_ = ((16383 + ((aShortArray5436[i_680_]) * i_687_ + (i_688_ * (aShortArray5493[i_680_])))) >> 14); + aShortArray5436[i_680_] = (short) (((i_688_ * (aShortArray5436[i_680_])) + (-(i_687_ * (aShortArray5493[i_680_])) - -16383)) >> 14); + aShortArray5493[i_680_] = (short) i_689_; + } + } + } + } + } + } + method673((byte) -82); + } + } else { + int i_610_ = is_594_[9] << 4; + int i_611_ = is_594_[10] << 4; + int i_612_ = is_594_[11] << 4; + int i_613_ = is_594_[12] << 4; + int i_614_ = is_594_[13] << 4; + int i_615_ = is_594_[14] << 4; + if (DisplayModeManagerContainer282.aBoolean5609) { + int i_616_ = ((is_594_[6] * InputHandler.anInt4274 + (Component257.anInt4795 * is_594_[0] - -(AssetCacheLoader.anInt386 * is_594_[3])) + 8192) >> 14); + int i_617_ = ((is_594_[7] * InputHandler.anInt4274 + (is_594_[1] * Component257.anInt4795 - -(is_594_[4] * AssetCacheLoader.anInt386) + 8192)) >> 14); + i_616_ += i_613_; + int i_618_ = ((8192 + InputHandler.anInt4274 * is_594_[8] + Component257.anInt4795 * is_594_[2] + AssetCacheLoader.anInt386 * is_594_[5]) >> 14); + i_617_ += i_614_; + i_618_ += i_615_; + Component257.anInt4795 = i_616_; + AssetCacheLoader.anInt386 = i_617_; + DisplayModeManagerContainer282.aBoolean5609 = false; + InputHandler.anInt4274 = i_618_; + } + int[] is_619_ = new int[9]; + int i_620_ = DisplayModeManagerContainer88.anIntArray1204[i_590_]; + int i_621_ = DisplayModeManagerContainer88.anIntArray1207[i_590_]; + int i_622_ = DisplayModeManagerContainer88.anIntArray1204[i_591_]; + int i_623_ = DisplayModeManagerContainer88.anIntArray1207[i_591_]; + int i_624_ = DisplayModeManagerContainer88.anIntArray1204[i_592_]; + int i_625_ = DisplayModeManagerContainer88.anIntArray1207[i_592_]; + int i_626_ = i_621_ * i_624_ + 8192 >> 14; + int i_627_ = 8192 + i_621_ * i_625_ >> 14; + is_619_[5] = -i_621_; + is_619_[4] = 8192 + i_620_ * i_624_ >> 14; + is_619_[1] = (8192 + -i_622_ * i_625_ + i_623_ * i_626_ >> 14); + is_619_[6] = (8192 + -i_623_ * i_624_ + i_627_ * i_622_ >> 14); + is_619_[7] = (i_625_ * i_623_ - (-(i_622_ * i_626_) - 8192) >> 14); + is_619_[0] = (8192 + (i_627_ * i_623_ + i_624_ * i_622_) >> 14); + is_619_[2] = i_620_ * i_623_ + 8192 >> 14; + is_619_[8] = i_622_ * i_620_ + 8192 >> 14; + is_619_[3] = 8192 + i_625_ * i_620_ >> 14; + int i_628_ = ((-InputHandler.anInt4274 * is_619_[2] + is_619_[1] * -AssetCacheLoader.anInt386 + (is_619_[0] * -Component257.anInt4795 + 8192)) >> 14); + int i_629_ = ((8192 + -InputHandler.anInt4274 * is_619_[5] + (-Component257.anInt4795 * is_619_[3] - -(is_619_[4] * -AssetCacheLoader.anInt386))) >> 14); + int i_630_ = ((8192 + -InputHandler.anInt4274 * is_619_[8] + (-Component257.anInt4795 * is_619_[6] + -AssetCacheLoader.anInt386 * is_619_[7])) >> 14); + int i_631_ = Component257.anInt4795 + i_628_; + int i_632_ = i_629_ + AssetCacheLoader.anInt386; + int i_633_ = i_630_ - -InputHandler.anInt4274; + int[] is_634_ = new int[9]; + for (int i_635_ = 0; i_635_ < 3; i_635_++) { + for (int i_636_ = 0; i_636_ < 3; i_636_++) { + int i_637_ = 0; + for (int i_638_ = 0; i_638_ < 3; i_638_++) + i_637_ += (is_594_[i_636_ * 3 - -i_638_] * is_619_[3 * i_635_ - -i_638_]); + is_634_[3 * i_635_ - -i_636_] = 8192 + i_637_ >> 14; + } + } + int i_639_ = ((is_619_[2] * i_615_ + is_619_[0] * i_613_ - (-(i_614_ * is_619_[1]) + -8192)) >> 14); + int i_640_ = ((8192 + is_619_[4] * i_614_ + (is_619_[3] * i_613_ - -(i_615_ * is_619_[5]))) >> 14); + i_639_ += i_631_; + int i_641_ = (i_615_ * is_619_[8] + (is_619_[6] * i_613_ + (is_619_[7] * i_614_ + 8192)) >> 14); + i_640_ += i_632_; + i_641_ += i_633_; + int[] is_642_ = new int[9]; + for (int i_643_ = 0; i_643_ < 3; i_643_++) { + for (int i_644_ = 0; i_644_ < 3; i_644_++) { + int i_645_ = 0; + for (int i_646_ = 0; i_646_ < 3; i_646_++) + i_645_ += (is_594_[i_646_ + 3 * i_643_] * is_634_[3 * i_646_ + i_644_]); + is_642_[3 * i_643_ - -i_644_] = i_645_ - -8192 >> 14; + } + } + int i_647_ = ((i_640_ * is_594_[1] + (is_594_[0] * i_639_ - -(i_641_ * is_594_[2])) - -8192) >> 14); + int i_648_ = (8192 + is_594_[5] * i_641_ + (is_594_[4] * i_640_ + i_639_ * is_594_[3]) >> 14); + int i_649_ = ((is_594_[7] * i_640_ + is_594_[6] * i_639_ - -(i_641_ * is_594_[8]) - -8192) >> 14); + i_647_ += i_610_; + i_648_ += i_611_; + i_649_ += i_612_; + for (int i_650_ = 0; i_595_ > i_650_; i_650_++) { + int i_651_ = is[i_650_]; + if (i_651_ < anIntArrayArray5413.length) { + int[] is_652_ = anIntArrayArray5413[i_651_]; + for (int i_653_ = 0; i_653_ < is_652_.length; i_653_++) { + int i_654_ = is_652_[i_653_]; + if (aShortArray5494 == null || (i_593_ & aShortArray5494[i_654_]) != 0) { + int i_655_ = ((8192 + (anIntArray5519[i_654_] * is_642_[1]) + ((anIntArray5511[i_654_] * is_642_[0]) - -(is_642_[2] * anIntArray5429[i_654_]))) >> 14); + int i_656_ = ((8192 + (is_642_[3] * anIntArray5511[i_654_]) + ((is_642_[4] * anIntArray5519[i_654_]) + (anIntArray5429[i_654_] * is_642_[5]))) >> 14); + i_655_ += i_647_; + int i_657_ = ((8192 + ((is_642_[6] * anIntArray5511[i_654_]) + (anIntArray5519[i_654_] * is_642_[7])) + (anIntArray5429[i_654_] * is_642_[8])) >> 14); + i_656_ += i_648_; + i_657_ += i_649_; + anIntArray5511[i_654_] = i_655_; + anIntArray5519[i_654_] = i_656_; + anIntArray5429[i_654_] = i_657_; + } + } + } + } + } + } else if (i == 3) { + if (is_594_ == null) { + for (int i_690_ = 0; i_595_ > i_690_; i_690_++) { + int i_691_ = is[i_690_]; + if (anIntArrayArray5413.length > i_691_) { + int[] is_692_ = anIntArrayArray5413[i_691_]; + for (int i_693_ = 0; is_692_.length > i_693_; i_693_++) { + int i_694_ = is_692_[i_693_]; + if (aShortArray5494 == null || ((i_593_ & aShortArray5494[i_694_]) != 0)) { + anIntArray5511[i_694_] -= Component257.anInt4795; + anIntArray5519[i_694_] -= AssetCacheLoader.anInt386; + anIntArray5429[i_694_] -= InputHandler.anInt4274; + anIntArray5511[i_694_] = (i_590_ * anIntArray5511[i_694_] >> 7); + anIntArray5519[i_694_] = (anIntArray5519[i_694_] * i_591_ >> 7); + anIntArray5429[i_694_] = (i_592_ * anIntArray5429[i_694_] >> 7); + anIntArray5511[i_694_] += Component257.anInt4795; + anIntArray5519[i_694_] += AssetCacheLoader.anInt386; + anIntArray5429[i_694_] += InputHandler.anInt4274; + } + } + } + } + } else { + int i_695_ = is_594_[9] << 4; + int i_696_ = is_594_[10] << 4; + int i_697_ = is_594_[11] << 4; + int i_698_ = is_594_[12] << 4; + int i_699_ = is_594_[13] << 4; + int i_700_ = is_594_[14] << 4; + if (DisplayModeManagerContainer282.aBoolean5609) { + int i_701_ = ((InputHandler.anInt4274 * is_594_[6] + (Component257.anInt4795 * is_594_[0] + (is_594_[3] * AssetCacheLoader.anInt386 + 8192))) >> 14); + int i_702_ = (8192 + (Component257.anInt4795 * is_594_[1] + (AssetCacheLoader.anInt386 * is_594_[4] - -(is_594_[7] * InputHandler.anInt4274))) >> 14); + i_701_ += i_698_; + i_702_ += i_699_; + int i_703_ = ((8192 + is_594_[2] * Component257.anInt4795 - -(is_594_[5] * AssetCacheLoader.anInt386) - -(InputHandler.anInt4274 * is_594_[8])) >> 14); + i_703_ += i_700_; + Component257.anInt4795 = i_701_; + AssetCacheLoader.anInt386 = i_702_; + DisplayModeManagerContainer282.aBoolean5609 = false; + InputHandler.anInt4274 = i_703_; + } + int i_704_ = i_590_ << 15 >> 7; + int i_705_ = i_591_ << 15 >> 7; + int i_706_ = i_592_ << 15 >> 7; + int i_707_ = -Component257.anInt4795 * i_704_ + 8192 >> 14; + int i_708_ = 8192 + -AssetCacheLoader.anInt386 * i_705_ >> 14; + int i_709_ = 8192 + -InputHandler.anInt4274 * i_706_ >> 14; + int i_710_ = i_707_ + Component257.anInt4795; + int i_711_ = i_708_ + AssetCacheLoader.anInt386; + int i_712_ = InputHandler.anInt4274 + i_709_; + int[] is_713_ = new int[9]; + is_713_[0] = 8192 + i_704_ * is_594_[0] >> 14; + is_713_[1] = is_594_[3] * i_704_ + 8192 >> 14; + is_713_[2] = 8192 + is_594_[6] * i_704_ >> 14; + is_713_[6] = i_706_ * is_594_[2] + 8192 >> 14; + is_713_[5] = i_705_ * is_594_[7] - -8192 >> 14; + is_713_[3] = 8192 + i_705_ * is_594_[1] >> 14; + is_713_[4] = i_705_ * is_594_[4] - -8192 >> 14; + is_713_[7] = i_706_ * is_594_[5] - -8192 >> 14; + is_713_[8] = 8192 + i_706_ * is_594_[8] >> 14; + int i_714_ = i_698_ * i_704_ + 8192 >> 14; + int i_715_ = i_699_ * i_705_ - -8192 >> 14; + i_714_ += i_710_; + int i_716_ = 8192 + i_706_ * i_700_ >> 14; + i_715_ += i_711_; + i_716_ += i_712_; + int[] is_717_ = new int[9]; + for (int i_718_ = 0; i_718_ < 3; i_718_++) { + for (int i_719_ = 0; i_719_ < 3; i_719_++) { + int i_720_ = 0; + for (int i_721_ = 0; i_721_ < 3; i_721_++) + i_720_ += (is_713_[i_719_ - -(3 * i_721_)] * is_594_[i_721_ + i_718_ * 3]); + is_717_[i_718_ * 3 - -i_719_] = i_720_ + 8192 >> 14; + } + } + int i_722_ = ((i_715_ * is_594_[1] + i_714_ * is_594_[0] + is_594_[2] * i_716_ - -8192) >> 14); + int i_723_ = (i_716_ * is_594_[5] + (is_594_[3] * i_714_ - -(i_715_ * is_594_[4]) - -8192) >> 14); + int i_724_ = (i_714_ * is_594_[6] + (i_715_ * is_594_[7] + is_594_[8] * i_716_ + 8192) >> 14); + i_723_ += i_696_; + i_722_ += i_695_; + i_724_ += i_697_; + for (int i_725_ = 0; i_595_ > i_725_; i_725_++) { + int i_726_ = is[i_725_]; + if (anIntArrayArray5413.length > i_726_) { + int[] is_727_ = anIntArrayArray5413[i_726_]; + for (int i_728_ = 0; i_728_ < is_727_.length; i_728_++) { + int i_729_ = is_727_[i_728_]; + if (aShortArray5494 == null || ((i_593_ & aShortArray5494[i_729_]) != 0)) { + int i_730_ = ((is_717_[1] * anIntArray5519[i_729_] + (anIntArray5511[i_729_] * is_717_[0]) - (-(anIntArray5429[i_729_] * is_717_[2]) - 8192)) >> 14); + int i_731_ = ((8192 + ((is_717_[5] * anIntArray5429[i_729_]) + (is_717_[4] * anIntArray5519[i_729_]) + (is_717_[3] * anIntArray5511[i_729_]))) >> 14); + i_731_ += i_723_; + i_730_ += i_722_; + int i_732_ = ((anIntArray5519[i_729_] * is_717_[7] + ((anIntArray5511[i_729_] * is_717_[6]) - (-(is_717_[8] * anIntArray5429[i_729_]) - 8192))) >> 14); + anIntArray5511[i_729_] = i_730_; + i_732_ += i_724_; + anIntArray5519[i_729_] = i_731_; + anIntArray5429[i_729_] = i_732_; + } + } + } + } + } + } else if (i == 5) { + if (anIntArrayArray5492 != null) { + boolean bool_733_ = false; + for (int i_734_ = 0; i_595_ > i_734_; i_734_++) { + int i_735_ = is[i_734_]; + if (anIntArrayArray5492.length > i_735_) { + int[] is_736_ = anIntArrayArray5492[i_735_]; + for (int i_737_ = 0; (i_737_ < is_736_.length); i_737_++) { + int i_738_ = is_736_[i_737_]; + if (aShortArray5432 == null || (aShortArray5432[i_738_] & i_593_) != 0) { + int i_739_ = ((aByteArray5515[i_738_] & 0xff) - -(8 * i_590_)); + if (i_739_ < 0) i_739_ = 0; + else if (i_739_ > 255) i_739_ = 255; + aByteArray5515[i_738_] = (byte) i_739_; + } + } + bool_733_ = bool_733_ | is_736_.length > 0; + } + } + if (bool_733_) { + if (aClass353Array5524 != null) { + for (int i_740_ = 0; i_740_ < anInt5406; i_740_++) { + Component45 class353 = aClass353Array5524[i_740_]; + NativeLibLoader class334 = aClass334Array5442[i_740_]; + class334.anInt4156 = ((-(0xff & (aByteArray5515[(class353.anInt4342)])) + 255 << 24) | (class334.anInt4156 & 0xffffff)); + } + } + method670(-126); + } + } + } else if (i == 7) { + if (anIntArrayArray5492 != null) { + boolean bool_741_ = false; + for (int i_742_ = 0; i_595_ > i_742_; i_742_++) { + int i_743_ = is[i_742_]; + if (anIntArrayArray5492.length > i_743_) { + int[] is_744_ = anIntArrayArray5492[i_743_]; + for (int i_745_ = 0; is_744_.length > i_745_; i_745_++) { + int i_746_ = is_744_[i_745_]; + if (aShortArray5432 == null || ((aShortArray5432[i_746_] & i_593_) != 0)) { + int i_747_ = 0xffff & aShortArray5486[i_746_]; + int i_748_ = (i_747_ & 0xfdd5) >> 10; + int i_749_ = i_747_ >> 7 & 0x7; + i_749_ += i_591_ / 4; + i_748_ = 0x3f & i_590_ + i_748_; + int i_750_ = i_747_ & 0x7f; + if (i_749_ >= 0) { + if (i_749_ > 7) i_749_ = 7; + } else i_749_ = 0; + i_750_ += i_592_; + if (i_750_ >= 0) { + if (i_750_ > 127) i_750_ = 127; + } else i_750_ = 0; + aShortArray5486[i_746_] = (short) (Component224.bitwiseOr((Component224.bitwiseOr(i_749_ << 7, i_748_ << 10)), i_750_)); + } + } + bool_741_ = (bool_741_ | is_744_.length > 0); + } + } + if (bool_741_) { + if (aClass353Array5524 != null) { + for (int i_751_ = 0; anInt5406 > i_751_; i_751_++) { + Component45 class353 = aClass353Array5524[i_751_]; + NativeLibLoader class334 = aClass334Array5442[i_751_]; + class334.anInt4156 = ((class334.anInt4156 & ~0xffffff) | (0xffffff & (RunescapeInfo.anIntArray179[0xffff & (aShortArray5486[(class353.anInt4342)])]))); + } + } + method670(-90); + } + } + } else if (i == 8) { + if (anIntArrayArray5412 != null) { + for (int i_752_ = 0; i_595_ > i_752_; i_752_++) { + int i_753_ = is[i_752_]; + if (i_753_ < anIntArrayArray5412.length) { + int[] is_754_ = anIntArrayArray5412[i_753_]; + for (int i_755_ = 0; (i_755_ < is_754_.length); i_755_++) { + NativeLibLoader class334 = aClass334Array5442[is_754_[i_755_]]; + class334.anInt4158 += i_590_; + class334.anInt4154 += i_591_; + } + } + } + } + } else if (i == 10) { + if (anIntArrayArray5412 != null) { + for (int i_756_ = 0; i_595_ > i_756_; i_756_++) { + int i_757_ = is[i_756_]; + if (anIntArrayArray5412.length > i_757_) { + int[] is_758_ = anIntArrayArray5412[i_757_]; + for (int i_759_ = 0; (i_759_ < is_758_.length); i_759_++) { + NativeLibLoader class334 = aClass334Array5442[is_758_[i_759_]]; + class334.anInt4162 = (i_591_ * class334.anInt4162 >> 7); + class334.anInt4165 = (i_590_ * class334.anInt4165 >> 7); + } + } + } + } + } else if (i == 9) { + if (anIntArrayArray5412 != null) { + for (int i_760_ = 0; i_760_ < i_595_; i_760_++) { + int i_761_ = is[i_760_]; + if (anIntArrayArray5412.length > i_761_) { + int[] is_762_ = anIntArrayArray5412[i_761_]; + for (int i_763_ = 0; (is_762_.length > i_763_); i_763_++) { + NativeLibLoader class334 = aClass334Array5442[is_762_[i_763_]]; + class334.anInt4151 = 0x3fff & i_590_ + (class334.anInt4151); + } + } + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("nca.I(" + i + ',' + (is != null ? "{...}" : "null") + ',' + i_590_ + ',' + i_591_ + ',' + i_592_ + ',' + bool + ',' + i_593_ + ',' + (is_594_ != null ? "{...}" : "null") + ')')); + } + } + + DisplayModeManagerContainer190(GlToolkitSub3 var_ha_Sub3, int i, int i_764_, boolean bool, boolean bool_765_) { + aBoolean5428 = false; + aBoolean5477 = false; + anInt5478 = 0; + anInt5475 = 0; + anInt5516 = 0; + aBoolean5502 = false; + anInt5497 = 0; + aBoolean5462 = false; + try { + anInt5463 = i; + aBoolean5462 = bool_765_; + anInt5472 = i_764_; + aHa_Sub3_5419 = var_ha_Sub3; + if (bool || DisplayModeManagerContainer254.method1258(anInt5463, -9301, anInt5472)) aClass290_5520 = new Component200(Component235.method2015(anInt5463, anInt5472, 7)); + if (bool || RadixText.method1837(anInt5472, 102, anInt5463)) aClass290_5460 = new Component200(Component191.method1379(4, anInt5472, anInt5463)); + if (bool || HuffmanDecoder.method2224(anInt5463, (byte) 110, anInt5472)) aClass290_5482 = new Component200(PacketReader.method3200(anInt5463, anInt5472, (byte) -82)); + if (bool || ReliefShader.method1412((byte) -35, anInt5472, anInt5463)) aClass290_5424 = new Component200(Component380.method1113(anInt5463, anInt5472, -21)); + if (bool || Component63.method3563(anInt5463, (byte) 56, anInt5472)) aClass192_5485 = new Component353(SceneNode.method2783(anInt5472, (byte) -97, anInt5463)); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("nca.(" + (var_ha_Sub3 != null ? "{...}" : "null") + ',' + i + ',' + i_764_ + ',' + bool + ',' + bool_765_ + ')')); + } + } +} diff --git a/client/misc/DisplayModeManagerContainer194.java b/client/misc/DisplayModeManagerContainer194.java new file mode 100644 index 000000000..efed0ec62 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer194.java @@ -0,0 +1,336 @@ +/* DisplayModeManagerContainer194 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaggl.OpenGL; + +abstract class DisplayModeManagerContainer194 +/** + * RENAMED from `Class14` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ implements Interface18 { + GlExtensionManager aClass377_5082; + static int anInt5083; + DisplayModeManagerContainer42 aClass304_5084; + static int anInt5085; + static int anInt5086; + static int anInt5087; + Component342 aClass68_5088; + static long aLong5089 = -1L; + private final int anInt5090; + static int[] anIntArray5091; + static int anInt5092; + int anInt5093; + static int anInt5094; + static int anInt5095; + private int anInt5096; + static int anInt5097; + static int anInt5098; + private boolean aBoolean5099; + static int anInt5100; + private Component246 aClass209_5101 = DisplayModeManagerContainer5.aClass209_1212; + static int anInt5102; + static int anInt5103; + static int anInt5104; + + public final void method63(byte i) { + anInt5104++; + int i_0_ = this.aClass377_5082.method3877((byte) -126); + if (i > -21) this.aClass377_5082 = null; + int i_1_ = (this.aClass377_5082.anIntArray9927[i_0_]); + if (this.anInt5093 != i_1_) { + if (i_1_ != 0) { + OpenGL.glBindTexture(i_1_, 0); + OpenGL.glDisable(i_1_); + } + OpenGL.glEnable(this.anInt5093); + this.aClass377_5082.anIntArray9927[i_0_] = this.anInt5093; + } + OpenGL.glBindTexture(this.anInt5093, anInt5096); + } + + final int method228(int i) { + anInt5085++; + if (Component342.aClass68_1183 != this.aClass68_5088) { + if (Component342.aClass68_1186 == this.aClass68_5088) { + if (this.aClass304_5084 == NodeSub45.aClass304_7103) return 34843; + if (Component83.aClass304_1662 == this.aClass304_5084) return 34842; + if (this.aClass304_5084 != DefinitionSub38.aClass304_9471) { + if (this.aClass304_5084 != DefinitionSub22.aClass304_9303) { + if (ImageCache.aClass304_2571 != this.aClass304_5084) { + if (this.aClass304_5084 == Renderable.aClass304_3977) return 6145; + } else return 34847; + } else return 34846; + } else return 34844; + } else if (this.aClass68_5088 == Component342.aClass68_1187) { + if (NodeSub45.aClass304_7103 != this.aClass304_5084) { + if (this.aClass304_5084 == Component83.aClass304_1662) return 34836; + if (this.aClass304_5084 != DefinitionSub38.aClass304_9471) { + if (DefinitionSub22.aClass304_9303 == this.aClass304_5084) return 34840; + if (ImageCache.aClass304_2571 != this.aClass304_5084) { + if (Renderable.aClass304_3977 == this.aClass304_5084) return 6145; + } else return 34841; + } else return 34838; + } else return 34837; + } + } else if (this.aClass304_5084 != NodeSub45.aClass304_7103) { + if (this.aClass304_5084 != Component83.aClass304_1662) { + if (this.aClass304_5084 != DefinitionSub38.aClass304_9471) { + if (DefinitionSub22.aClass304_9303 == this.aClass304_5084) return 6409; + if (this.aClass304_5084 == ImageCache.aClass304_2571) return 6410; + if (this.aClass304_5084 == Renderable.aClass304_3977) return 6145; + } else return 6406; + } else return 6408; + } else return 6407; + if (i <= 104) method238(-54, 105, 2, null, 120); + throw new IllegalStateException(); + } + + private final void method229(boolean bool) { + this.aClass377_5082.method3850((byte) 107, this); + anInt5083++; + if (aClass209_5101 == DisplayModeManagerContainer5.aClass209_1212) { + OpenGL.glTexParameteri(this.anInt5093, 10241, !aBoolean5099 ? 9729 : 9987); + OpenGL.glTexParameteri(this.anInt5093, 10240, 9729); + } else { + OpenGL.glTexParameteri(this.anInt5093, 10241, !aBoolean5099 ? 9728 : 9984); + OpenGL.glTexParameteri(this.anInt5093, 10240, 9728); + } + if (bool != true) method232(null, (byte) 106, true, 70); + } + + final void method230(int i, int i_2_, byte[] is, int i_3_, int i_4_) { + anInt5100++; + if (i_2_ > 0 && !Component353.method1436(66, i_2_)) throw new IllegalArgumentException(""); + if (i_3_ > 0 && !Component353.method1436(i ^ 0x1cb6, i_3_)) throw new IllegalArgumentException(""); + int i_5_ = this.aClass304_5084.anInt3850; + int i_6_ = 0; + int i_7_ = Math.min(i_2_, i_3_); + int i_8_ = i_2_ >> 1; + if (i != 7365) method236(0, (byte) -113); + int i_9_ = i_3_ >> 1; + byte[] is_10_ = is; + byte[] is_11_ = new byte[i_9_ * (i_8_ * i_5_)]; + for (; ; ) { + OpenGL.glTexImage2Dub(i_4_, i_6_, method228(108), i_2_, i_3_, 0, ParametricDefinition.method3055(i + -7265, this.aClass304_5084), 5121, is_10_, 0); + if (i_7_ <= 1) break; + int i_12_ = i_2_ * i_5_; + for (int i_13_ = 0; i_5_ > i_13_; i_13_++) { + int i_14_ = i_13_; + int i_15_ = i_13_; + int i_16_ = i_15_ - -i_12_; + for (int i_17_ = 0; i_17_ < i_9_; i_17_++) { + for (int i_18_ = 0; i_8_ > i_18_; i_18_++) { + int i_19_ = is_10_[i_15_]; + i_15_ += i_5_; + i_19_ += is_10_[i_15_]; + i_19_ += is_10_[i_16_]; + i_15_ += i_5_; + i_16_ += i_5_; + i_19_ += is_10_[i_16_]; + is_11_[i_14_] = (byte) (i_19_ >> 2); + i_16_ += i_5_; + i_14_ += i_5_; + } + i_15_ += i_12_; + i_16_ += i_12_; + } + } + byte[] is_20_ = is_11_; + is_11_ = is_10_; + i_2_ = i_8_; + i_3_ = i_9_; + is_10_ = is_20_; + i_8_ >>= 1; + i_9_ >>= 1; + i_6_++; + i_7_ >>= 1; + } + } + + private final int method231(int i) { + anInt5095++; + int i_21_ = (anInt5090 * (this.aClass68_5088.anInt1178 * this.aClass304_5084.anInt3850)); + if (i >= -105) method232(null, (byte) 118, true, 16); + if (aBoolean5099) return 4 * i_21_ / 3; + return i_21_; + } + + static final BitmapFont method232(GraphicsToolkit var_ha, byte i, boolean bool, int i_22_) { + if (i != -53) method237(true); + anInt5094++; + Component48 class352 = Component272.method1734(i_22_, var_ha, (byte) 55, bool); + if (class352 == null) return null; + return class352.aClass324_4332; + } + + final void method233(int i, int i_23_, int[] is, int i_24_, int i_25_) { + anInt5092++; + if (i > 0 && !Component353.method1436(-43, i)) throw new IllegalArgumentException(""); + if (i_23_ > 0 && !Component353.method1436(i_25_ ^ ~0xd2, i_23_)) throw new IllegalArgumentException(""); + if (Component83.aClass304_1662 != this.aClass304_5084) throw new IllegalArgumentException(""); + int i_26_ = 0; + int i_27_ = Math.min(i, i_23_); + int i_28_ = i >> 1; + int i_29_ = i_23_ >> 1; + int[] is_30_ = is; + int[] is_31_ = new int[i_29_ * i_28_]; + if (i_25_ != 255) aBoolean5099 = true; + for (; ; ) { + OpenGL.glTexImage2Di(i_24_, i_26_, method228(112), i, i_23_, 0, 32993, (this.aClass377_5082.anInt9918), is_30_, 0); + if (i_27_ <= 1) break; + int i_32_ = 0; + int i_33_ = 0; + int i_34_ = i_33_ + i; + for (int i_35_ = 0; i_29_ > i_35_; i_35_++) { + for (int i_36_ = 0; i_28_ > i_36_; i_36_++) { + int i_37_ = is_30_[i_33_++]; + int i_38_ = is_30_[i_33_++]; + int i_39_ = is_30_[i_34_++]; + int i_40_ = i_37_ >> 16 & 0xff; + int i_41_ = 0xff & i_37_ >> 24; + int i_42_ = 0xff & i_37_; + int i_43_ = (i_37_ & 0xff58) >> 8; + int i_44_ = is_30_[i_34_++]; + i_42_ += i_38_ & 0xff; + i_40_ += (0xffba54 & i_38_) >> 16; + i_41_ += 0xff & i_38_ >> 24; + i_43_ += 0xff & i_38_ >> 8; + i_41_ += i_39_ >> 24 & 0xff; + i_42_ += i_39_ & 0xff; + i_43_ += (0xff9c & i_39_) >> 8; + i_40_ += i_39_ >> 16 & 0xff; + i_41_ += i_44_ >> 24 & 0xff; + i_40_ += 0xff & i_44_ >> 16; + i_43_ += 0xff & i_44_ >> 8; + i_42_ += i_44_ & 0xff; + is_31_[i_32_++] = (Component224.bitwiseOr((Component224.bitwiseOr(GpsOverlay.bitwiseAnd(i_43_ << 6, 65280), Component224.bitwiseOr((GpsOverlay.bitwiseAnd(i_41_, 1020) << 22), (GpsOverlay.bitwiseAnd(1020, i_40_) << 14)))), GpsOverlay.bitwiseAnd(255, i_42_ >> 2))); + } + i_33_ += i; + i_34_ += i; + } + int[] is_45_ = is_31_; + is_31_ = is_30_; + i_23_ = i_29_; + is_30_ = is_45_; + i = i_28_; + i_28_ >>= 1; + i_26_++; + i_27_ >>= 1; + i_29_ >>= 1; + } + } + + private final void method234(int i) { + if (i == 1617553025) { + if (anInt5096 > 0) { + this.aClass377_5082.method3967(method231(-109), (byte) 59, anInt5096); + anInt5096 = 0; + } + anInt5097++; + } + } + + static final void method235(int i, byte i_46_) { + anInt5087++; + if (i != -1 && ImageTagText.aBooleanArray2162[i]) { + Component267.aClass45_2978.clearUnpackedGroup(i, -120); + DefinitionSub33.aClass46ArrayArray9427[i] = null; + Component14.aClass46ArrayArray8584[i] = null; + if (i_46_ <= -94) ImageTagText.aBooleanArray2162[i] = false; + } + } + + private final void method236(int i, byte i_47_) { + anInt5098++; + this.aClass377_5082.anInt8062 -= i; + this.aClass377_5082.anInt8062 += method231(-119); + if (i_47_ >= -124) aBoolean5099 = false; + } + + public static void method237(boolean bool) { + if (bool != false) aLong5089 = -54L; + anIntArray5091 = null; + } + + public final void method64(Component246 class209, int i) { + anInt5086++; + if (i != -22095) this.aClass304_5084 = null; + if (class209 != aClass209_5101) { + aClass209_5101 = class209; + method229(true); + } + } + + final void method238(int i, int i_48_, int i_49_, float[] fs, int i_50_) { + anInt5102++; + if (i_49_ > 0 && !Component353.method1436(100, i_49_)) throw new IllegalArgumentException(""); + if (i_50_ > 0 && !Component353.method1436(i_48_ + 109, i_50_)) throw new IllegalArgumentException(""); + int i_51_ = this.aClass304_5084.anInt3850; + int i_52_ = 0; + if (i_48_ != 1) method228(107); + int i_53_ = Math.min(i_50_, i_49_); + int i_54_ = i_49_ >> 1; + int i_55_ = i_50_ >> 1; + float[] fs_56_ = fs; + float[] fs_57_ = new float[i_54_ * (i_55_ * i_51_)]; + for (; ; ) { + OpenGL.glTexImage2Df(i, i_52_, method228(123), i_49_, i_50_, 0, (ParametricDefinition.method3055(124, this.aClass304_5084)), 5126, fs_56_, 0); + if (i_53_ <= 1) break; + int i_58_ = i_49_ * i_51_; + for (int i_59_ = 0; i_51_ > i_59_; i_59_++) { + int i_60_ = i_59_; + int i_61_ = i_59_; + int i_62_ = i_61_ + i_58_; + for (int i_63_ = 0; i_63_ < i_55_; i_63_++) { + for (int i_64_ = 0; i_54_ > i_64_; i_64_++) { + float f = fs_56_[i_61_]; + i_61_ += i_51_; + f += fs_56_[i_61_]; + f += fs_56_[i_62_]; + i_61_ += i_51_; + i_62_ += i_51_; + f += fs_56_[i_62_]; + i_62_ += i_51_; + fs_57_[i_60_] = 0.25F * f; + i_60_ += i_51_; + } + i_62_ += i_58_; + i_61_ += i_58_; + } + } + float[] fs_65_ = fs_57_; + fs_57_ = fs_56_; + i_49_ = i_54_; + i_50_ = i_55_; + fs_56_ = fs_65_; + i_54_ >>= 1; + i_55_ >>= 1; + i_53_ >>= 1; + i_52_++; + } + } + + protected final void finalize() throws Throwable { + anInt5103++; + method234(1617553025); + super.finalize(); + } + + DisplayModeManagerContainer194(GlExtensionManager class377, int i, DisplayModeManagerContainer42 class304, Component342 class68, int i_66_, boolean bool) { + try { + anInt5090 = i_66_; + this.aClass377_5082 = class377; + this.aClass304_5084 = class304; + this.aClass68_5088 = class68; + aBoolean5099 = bool; + this.anInt5093 = i; + OpenGL.glGenTextures(1, Component258.anIntArray1975, 0); + anInt5096 = Component258.anIntArray1975[0]; + method229(true); + method236(0, (byte) -126); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("hda.(" + (class377 != null ? "{...}" : "null") + ',' + i + ',' + (class304 != null ? "{...}" : "null") + ',' + (class68 != null ? "{...}" : "null") + ',' + i_66_ + ',' + bool + ')')); + } + } +} diff --git a/client/misc/DisplayModeManagerContainer196.java b/client/misc/DisplayModeManagerContainer196.java new file mode 100644 index 000000000..c4c92c553 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer196.java @@ -0,0 +1,138 @@ +/* DisplayModeManagerContainer196 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer196 +/** + * RENAMED from `Class341` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static ClientSystemInfo aClass348_Sub24_4226 = new ClientSystemInfo(0, 0); + static int anInt4227; + static int anInt4228; + static int anInt4229; + static int anInt4230; + static int anInt4231; + static int anInt4232; + static int[][] anIntArrayArray4233 = new int[6][]; + static Component24[] aClass105Array4234; + static int anInt4235; + static DisplayModeManagerContainer77[] aClass124Array4236 = new DisplayModeManagerContainer77[4]; + static int anInt4237; + + static final void method2676(int i, int i_0_, int i_1_, byte i_2_, int i_3_) { + anInt4231++; + float f = (float) DisplayModeManagerContainer229.anInt1267 / (float) DisplayModeManagerContainer229.anInt1259; + int i_4_ = i; + int i_5_ = i_0_; + if (f < 1.0F) i_5_ = (int) (f * (float) i); + else i_4_ = (int) ((float) i_0_ / f); + i_1_ -= (i + -i_4_) / 2; + i_3_ -= (i_0_ + -i_5_) / 2; + Component377.anInt859 = -1; + DebugOverlay.anInt3170 = -(DisplayModeManagerContainer229.anInt1267 * i_3_ / i_5_) + DisplayModeManagerContainer229.anInt1267; + NodeSub36.anInt6992 = DisplayModeManagerContainer229.anInt1259 * i_1_ / i_4_; + Component283.anInt4609 = -1; + int i_6_ = 50 / ((-12 - i_2_) / 40); + ColorTagNode.method2811(false); + } + + public final String toString() { + anInt4227++; + throw new IllegalStateException(); + } + + public static void method2677(int i) { + anIntArrayArray4233 = null; + aClass348_Sub24_4226 = null; + if (i >= 93) { + aClass105Array4234 = null; + aClass124Array4236 = null; + } + } + + public DisplayModeManagerContainer196() { + /* empty */ + } + + static final void method2678(int i) { + if (i != -2049) anIntArrayArray4233 = null; + anInt4229++; + if (r.aBoolean9722) { + DisplayModeManagerContainer57 class46 = NodeSub22.method2957(JaclibLoader.anInt169, (byte) -54, Component90.anInt2046); + if (class46 != null && class46.anObjectArray680 != null) { + NodeSub36 class348_sub36 = new NodeSub36(); + class348_sub36.aClass46_6989 = class46; + class348_sub36.anObjectArray6987 = class46.anObjectArray680; + ClientScriptExecutor.method705(class348_sub36); + } + Component281.anInt3829 = -1; + r.aBoolean9722 = false; + Component149.anInt4458 = -1; + if (class46 != null) Component111.markInterfaceDirty(-9343, class46); + } + } + + /** Align child of size {@code i_7_} in parent extent {@code i}: start/end/center. */ + final int getAlignedOffset(int i, int i_7_, int i_8_) { + anInt4232++; + if (i_8_ != 1595) return 38; + int i_9_ = (Math.max(PacketReader.anInt10432, i)); + if (Component134.aClass341_5808 == this) return 0; + if (this == Component251.aClass341_5821) return i_9_ - i_7_; + if (DisplayModeManagerContainer91.aClass341_399 == this) return (i_9_ - i_7_) / 2; + return 0; + } + + /** Replace all {@code string_10_} in {@code string_11_} with {@code string}. */ + static final String replaceAll(String string, boolean bool, String string_10_, String string_11_) { + anInt4237++; + for (int i = string_11_.indexOf(string_10_); i != -1; i = string_11_.indexOf(string_10_, string.length() + i)) + string_11_ = (string_11_.substring(0, i) + string + string_11_.substring(string_10_.length() + i)); + if (bool != true) method2678(45); + return string_11_; + } + + static final void method2681(int i) { + if (i == 9864) { + anInt4230++; + if (NodeSub8.toolkit != null) { + if (Component210.gameCanvasAttached) Component38.method1406(true); + DisplayModeManagerContainer5.aClass76_1208.method775((byte) 69); + DisplayModeManagerContainer58.method2433(); + Component308.method464(i + -9865); + FriendsIgnoreList.clearHudSprites(-127); + Component126.method3513(-113); + Component329.method1779((byte) 124); + if (Component293.aClass305_3304 != null) Component293.aClass305_3304.method2295((byte) 96); + DisplayModeManagerContainer356.method2269(true); + NodeSub18.method2938((byte) 127); + DisplayModeManagerContainer172.method369(-29776); + Component239.method3616(12639); + HashNodeSub3.method3177(-78, false); + for (int i_12_ = 0; i_12_ < 2048; i_12_++) { + Player player = (InterfaceRenderer.players[i_12_]); + if (player != null) { + for (int i_13_ = 0; ((player.aClass64Array10323).length > i_13_); i_13_++) + player.aClass64Array10323[i_13_] = null; + } + } + for (int i_14_ = 0; i_14_ < NodeSub32.anInt6930; i_14_++) { + Npc npc = (DefinitionSub23.aClass348_Sub22Array9319[i_14_].npc); + if (npc != null) { + for (int i_15_ = 0; i_15_ < (npc.aClass64Array10323).length; i_15_++) + npc.aClass64Array10323[i_15_] = null; + } + } + Cp1252Decoder.aClass101_5209 = null; + Component270.aClass101_2123 = null; + NodeSub8.toolkit.method3635((byte) 64); + NodeSub8.toolkit = null; + } + } + } + + static { + anInt4235 = 0; + } +} diff --git a/client/misc/DisplayModeManagerContainer199.java b/client/misc/DisplayModeManagerContainer199.java new file mode 100644 index 000000000..a2787913b --- /dev/null +++ b/client/misc/DisplayModeManagerContainer199.java @@ -0,0 +1,106 @@ +/* DisplayModeManagerContainer199 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer199 +/** + * RENAMED from `Class239_Sub2` (JODE-obfuscated). + * Evidence: subclass of Component339 (hierarchy) + */ extends Component339 { + static int anInt5851; + static int anInt5852; + static int anInt5853; + static int anInt5854; + static int anInt5855; + static int anInt5856; + static Component24[] aClass105Array5857; + + final int method1714(int i, int i_0_) { + anInt5851++; + if (i != 3) return -26; + return 3; + } + + final void method1716(boolean bool) { + anInt5854++; + this.anInt3138 = method1710(20014); + if (bool != false) aClass105Array5857 = null; + } + + final int method1710(int i) { + if (i != 20014) method1716(true); + anInt5853++; + if (!this.aClass348_Sub51_3136.method3425(-76)) return 0; + return 1; + } + + DisplayModeManagerContainer199(NodeSub51 class348_sub51) { + super(class348_sub51); + } + + public static void method1724(int i) { + aClass105Array5857 = null; + if (i != -4) aClass105Array5857 = null; + } + + /** + * Clamp camera pitch to the allowed range and wrap yaw into 0..16384. + * Also samples nearby terrain height for camera collision adjustments. + */ + static final void clampCameraAngles(int i) { + anInt5855++; + int i_1_ = 1024; + int i_2_ = 3072; + if (DisplayModeManagerContainer50.aBoolean3870) { + i_2_ = 4096; + if (Component182.aBoolean9746) i_1_ = 2048; + } + if (DisplayModeManagerContainer154.cameraPitch < (float) i_1_) DisplayModeManagerContainer154.cameraPitch = (float) i_1_; + if (DisplayModeManagerContainer154.cameraPitch > (float) i_2_) DisplayModeManagerContainer154.cameraPitch = (float) i_2_; + for (/**/; Component112.cameraYaw >= 16384.0F; Component112.cameraYaw -= 16384.0F) { + /* empty */ + } + for (/**/; Component112.cameraYaw < 0.0F; Component112.cameraYaw += 16384.0F) { + /* empty */ + } + int i_3_ = DisplayModeManagerContainer273.cameraFocusX >> 9; + int i_4_ = Component353.cameraFocusZ >> 9; + int i_5_ = Component300.method2064(DisplayModeManagerContainer273.cameraFocusX, Component117.anInt4372, 11219, Component353.cameraFocusZ); + int i_6_ = 0; + if (i_3_ > 3 && i_4_ > 3 && -4 + AbstractShaderSub4.anInt7319 > i_3_ && ParametricDefinition.anInt9109 - 4 > i_4_) { + for (int i_7_ = i_3_ - 4; i_3_ - -4 >= i_7_; i_7_++) { + for (int i_8_ = -4 + i_4_; i_8_ <= 4 + i_4_; i_8_++) { + int i_9_ = Component117.anInt4372; + if (i_9_ < 3 && NpcComposition.method802(i_8_, i_7_, true)) i_9_++; + int i_10_ = 0; + if ((Component103.aClass237_Sub1_4197.aByteArrayArrayArray3104) != null && (Component103.aClass237_Sub1_4197.aByteArrayArrayArray3104[i_9_]) != null) i_10_ = 8 * ((Component103.aClass237_Sub1_4197.aByteArrayArrayArray3104[i_9_][i_7_][i_8_]) & 0xff) << 2; + if (ShaderSub1.aSArray5191 != null && ShaderSub1.aSArray5191[i_9_] != null) { + int i_11_ = (i_5_ + i_10_ + -ShaderSub1.aSArray5191[i_9_].method3982((byte) -86, i_8_, i_7_)); + if (i_6_ < i_11_) i_6_ = i_11_; + } + } + } + } + int i_12_ = 1536 * (i_6_ >> 2); + if (i_12_ > 786432) i_12_ = 786432; + if (i_12_ < i) i_12_ = 262144; + if (NodeSub35.anInt6979 < i_12_) NodeSub35.anInt6979 += (i_12_ - NodeSub35.anInt6979) / 24; + else if (NodeSub35.anInt6979 > i_12_) NodeSub35.anInt6979 += (-NodeSub35.anInt6979 + i_12_) / 80; + } + + final void method1712(int i, int i_13_) { + int i_14_ = 87 / ((82 - i) / 35); + this.anInt3138 = i_13_; + anInt5852++; + } + + final int method1726(int i) { + anInt5856++; + if (i != -32350) aClass105Array5857 = null; + return this.anInt3138; + } + + DisplayModeManagerContainer199(int i, NodeSub51 class348_sub51) { + super(i, class348_sub51); + } +} diff --git a/client/misc/DisplayModeManagerContainer207.java b/client/misc/DisplayModeManagerContainer207.java new file mode 100644 index 000000000..9b18269a8 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer207.java @@ -0,0 +1,149 @@ +/* DisplayModeManagerContainer207 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer207 +/** + * RENAMED from `Class348_Sub49_Sub2` (JODE-obfuscated). + * Evidence: subclass of Buffer (hierarchy) + */ extends Buffer { + static int anInt9752; + static int anInt9753; + private int anInt9754; + static int anInt9755; + private DisplayModeManagerContainer123 aClass77_9756; + static int[] anIntArray9757; + static int anInt9758; + static int anInt9759; + static int anInt9760; + static int anInt9761; + static int anInt9762; + static int anInt9763; + static int anInt9764; + static int anInt9765; + static int anInt9766; + static int anInt9767; + static short[] aShortArray9768 = {11, 17, 45, 23, 48, 8, 57, 58}; + static int anInt9769; + + final boolean method3404(int i) { + anInt9758++; + if (i != -1510) return true; + int i_0_ = (((this.payload[this.offset]) - aClass77_9756.method778((byte) 19)) & 0xff); + return i_0_ >= 128; + } + + static final int method3405(int i, boolean bool) { + anInt9765++; + if (NodeSub1.anIntArray6547 == null) return 0; + if (!bool && HelveticaFont.aClass352Array2636 != null) return NodeSub1.anIntArray6547.length * 2; + int i_1_ = 0; + if (i != 2012104999) method3405(118, false); + for (int i_2_ = 0; NodeSub1.anIntArray6547.length > i_2_; i_2_++) { + int i_3_ = NodeSub1.anIntArray6547[i_2_]; + if (DisplayModeManagerContainer271.aClass45_518.isSingletonFileReady(false, i_3_)) i_1_++; + if (s.aClass45_4585.isSingletonFileReady(false, i_3_)) i_1_++; + } + return i_1_; + } + + final void method3406(int i, int[] is) { + anInt9755++; + aClass77_9756 = new DisplayModeManagerContainer123(is); + if (i > -41) anIntArray9757 = null; + } + + final int method3407(int i) { + anInt9752++; + int i_4_ = (((this.payload[this.offset++]) - aClass77_9756.method781((byte) -67)) & 0xff); + if (i_4_ < 128) return i_4_; + if (i != 15295) anIntArray9757 = null; + return ((((this.payload[this.offset++]) - aClass77_9756.method781((byte) -62)) & 0xff) + (i_4_ + -128 << 8)); + } + + final void method3408(int i, int i_5_) { + this.payload[this.offset++] = (byte) (i + aClass77_9756.method781((byte) -85)); + if (i_5_ == 18676) anInt9760++; + } + + final void method3409(int i, byte[] is, int i_6_, int i_7_) { + if (i_7_ == -32769) { + for (int i_8_ = 0; i_8_ < i; i_8_++) + is[i_6_ + i_8_] = (byte) ((this.payload[this.offset++]) + -aClass77_9756.method781((byte) -99)); + anInt9762++; + } + } + + final int readBits(byte i, int i_9_) { + if (i != -24) return -126; + anInt9763++; + int i_10_ = anInt9754 >> 3; + int i_11_ = 8 + -(anInt9754 & 0x7); + anInt9754 += i_9_; + int i_12_ = 0; + for (/**/; i_11_ < i_9_; i_11_ = 8) { + i_12_ += (this.payload[i_10_++] & NodeSub34.anIntArray6972[i_11_]) << i_9_ - i_11_; + i_9_ -= i_11_; + } + if (i_11_ != i_9_) i_12_ += (this.payload[i_10_] >> i_11_ - i_9_) & NodeSub34.anIntArray6972[i_9_]; + else i_12_ += (NodeSub34.anIntArray6972[i_11_] & this.payload[i_10_]); + return i_12_; + } + + static final void method3411(int i, int i_13_, int i_14_) { + anInt9761++; + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i, (byte) 105, i_13_);//12 + class348_sub42_sub15.method3246(-25490); + class348_sub42_sub15.anInt9652 = i_14_; + } + + final void stopBitAccess(boolean bool) { + anInt9753++; + this.offset = (7 + anInt9754) / 8; + if (bool != false) aShortArray9768 = null; + } + + static final int[][] method3413(int i, int i_15_, int i_16_, int i_17_, int i_18_, boolean bool, int i_19_, float f, boolean bool_20_) { + anInt9764++; + int[][] is = new int[i_18_][i_16_]; + DefinitionSub8 class348_sub40_sub8 = new DefinitionSub8(); + class348_sub40_sub8.anInt9149 = (int) (f * 4096.0F); + class348_sub40_sub8.anInt9150 = i_15_; + class348_sub40_sub8.anInt9158 = i_17_; + class348_sub40_sub8.anInt9164 = i; + class348_sub40_sub8.aBoolean9160 = bool_20_; + class348_sub40_sub8.postDecode(109); + NpcComposition.method797(i_18_, i_16_, (byte) 120); + if (bool != true) anIntArray9757 = null; + for (int i_21_ = 0; i_21_ < i_18_; i_21_++) + class348_sub40_sub8.method3069(i_21_, is[i_21_], (byte) 99); + return is; + } + + public static void method3414(int i) { + aShortArray9768 = null; + if (i == 21515) anIntArray9757 = null; + } + + final int method3415(int i, int i_22_) { + if (i >= -58) method3405(50, true); + anInt9769++; + return -anInt9754 + i_22_ * 8; + } + + final void method3416(int i, DisplayModeManagerContainer123 class77) { + int i_23_ = -103 / ((i - 57) / 40); + aClass77_9756 = class77; + anInt9766++; + } + + DisplayModeManagerContainer207(int i) { + super(i); + } + + final void startBitAccess(int i) { + int i_24_ = -126 / ((-15 - i) / 49); + anInt9767++; + anInt9754 = 8 * this.offset; + } +} diff --git a/client/misc/DisplayModeManagerContainer213.java b/client/misc/DisplayModeManagerContainer213.java new file mode 100644 index 000000000..53f53b880 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer213.java @@ -0,0 +1,298 @@ +/* DisplayModeManagerContainer213 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.io.File; +import java.util.Random; + +abstract class DisplayModeManagerContainer213 +/** + * RENAMED from `Class59` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static Component183 aClass114_1068 = new Component183(35, 0); + private short[] aShortArray1069; + static int anInt1070; + int anInt1071; + static int anInt1072; + static int anInt1073; + private int anInt1074 = 4; + static int anInt1075; + static int anInt1076; + static int anInt1077; + private int anInt1078; + private int anInt1079; + static int anInt1080; + private int anInt1081; + private final short[] aShortArray1082; + static double aDouble1083; + + private final void method539(int i) { + anInt1070++; + Random random = new Random(anInt1081); + for (int i_0_ = 0; i_0_ < 255; i_0_++) + aShortArray1082[i_0_] = (short) i_0_; + for (int i_1_ = 0; i_1_ < 255; i_1_++) { + int i_2_ = -i_1_ + 255; + int i_3_ = DisplayModeManagerContainer77.method1097((byte) 106, i_2_, random); + short i_4_ = aShortArray1082[i_3_]; + aShortArray1082[i_3_] = aShortArray1082[i_2_]; + aShortArray1082[i_2_] = aShortArray1082[256 + i_2_] = i_4_; + } + if (i <= 6) this.anInt1071 = -11; + } + + private final void method540(int i) { + aShortArray1069 = new short[this.anInt1071]; + anInt1072++; + for (int i_5_ = i; this.anInt1071 > i_5_; i_5_++) + aShortArray1069[i_5_] = (short) (int) Math.pow(2.0, i_5_); + } + + abstract void method541(int i); + + final void method542(int i, int i_6_, int i_7_, int i_8_) { + anInt1073++; + int[] is = new int[i_6_]; + int[] is_9_ = new int[i]; + for (int i_10_ = 0; i_10_ < i_6_; i_10_++) + is[i_10_] = (i_10_ << 12) / i_6_; + int[] is_11_ = new int[i_8_]; + for (int i_12_ = 0; i > i_12_; i_12_++) + is_9_[i_12_] = (i_12_ << 12) / i; + for (int i_13_ = i_7_; i_13_ < i_8_; i_13_++) + is_11_[i_13_] = (i_13_ << 12) / i_8_; + method543(true); + for (int i_14_ = 0; i_8_ > i_14_; i_14_++) { + for (int i_15_ = 0; i > i_15_; i_15_++) { + for (int i_16_ = 0; i_6_ > i_16_; i_16_++) { + for (int i_17_ = 0; (this.anInt1071 > i_17_); i_17_++) { + int i_18_ = aShortArray1069[i_17_] << 12; + int i_19_ = i_18_ * is_11_[i_14_] >> 12; + int i_20_ = anInt1074 * i_18_ >> 12; + int i_21_ = anInt1078 * i_18_ >> 12; + int i_22_ = is[i_16_] * i_18_ >> 12; + int i_23_ = i_18_ * anInt1079 >> 12; + int i_24_ = i_18_ * is_9_[i_15_] >> 12; + i_22_ *= anInt1079; + i_24_ *= anInt1078; + i_19_ *= anInt1074; + int i_25_ = i_22_ >> 12; + int i_26_ = i_25_ + 1; + i_25_ &= 0xff; + int i_27_ = i_24_ >> 12; + int i_28_ = 1 + i_27_; + i_27_ &= 0xff; + int i_29_ = i_19_ >> 12; + int i_30_ = i_29_ + 1; + i_22_ &= 0xfff; + i_24_ &= 0xfff; + if (i_28_ >= i_21_) i_28_ = 0; + else i_28_ &= 0xff; + if (i_26_ >= i_23_) i_26_ = 0; + else i_26_ &= 0xff; + i_29_ &= 0xff; + if (i_20_ > i_30_) i_30_ &= 0xff; + else i_30_ = 0; + i_19_ &= 0xfff; + int i_31_ = -4096 + i_24_; + int i_32_ = aShortArray1082[i_30_]; + int i_33_ = i_22_ + -4096; + int i_34_ = HelveticaFont.anIntArray2631[i_19_]; + int i_35_ = HelveticaFont.anIntArray2631[i_22_]; + int i_36_ = HelveticaFont.anIntArray2631[i_24_]; + int i_37_ = i_19_ + -4096; + int i_38_ = aShortArray1082[i_29_]; + int i_39_ = aShortArray1082[i_38_ + i_28_]; + int i_40_ = aShortArray1082[i_32_ + i_27_]; + int i_41_ = aShortArray1082[i_28_ - -i_32_]; + int i_42_ = aShortArray1082[i_38_ + i_27_]; + int i_43_ = Component281.method2279(true, (aShortArray1082[i_25_ - -i_42_]), i_19_, i_24_, i_22_); + int i_44_ = Component281.method2279(true, (aShortArray1082[i_26_ + i_42_]), i_19_, i_24_, i_33_); + int i_45_ = i_43_ - -((i_44_ - i_43_) * i_35_ >> 12); + i_43_ = Component281.method2279(true, (aShortArray1082[i_39_ + i_25_]), i_19_, i_31_, i_22_); + i_44_ = Component281.method2279(true, (aShortArray1082[i_26_ + i_39_]), i_19_, i_31_, i_33_); + int i_46_ = i_43_ + ((i_44_ + -i_43_) * i_35_ >> 12); + i_43_ = Component281.method2279(true, (aShortArray1082[i_40_ + i_25_]), i_37_, i_24_, i_22_); + int i_47_ = ((i_46_ + -i_45_) * i_36_ >> 12) + i_45_; + i_44_ = Component281.method2279(true, (aShortArray1082[i_40_ + i_26_]), i_37_, i_24_, i_33_); + i_45_ = i_43_ + (i_35_ * (i_44_ - i_43_) >> 12); + i_43_ = Component281.method2279(true, (aShortArray1082[i_25_ - -i_41_]), i_37_, i_31_, i_22_); + i_44_ = Component281.method2279(true, (aShortArray1082[i_26_ - -i_41_]), i_37_, i_31_, i_33_); + i_46_ = (((-i_43_ + i_44_) * i_35_ >> 12) + i_43_); + int i_48_ = ((i_46_ - i_45_) * i_36_ >> 12) + i_45_; + method546(i_47_ + ((-i_47_ + i_48_) * i_34_ >> 12), i_17_, i_7_ ^ ~0x1); + } + method541(-1538606516); + } + } + } + } + + abstract void method543(boolean bool); + + static final void method544(String string, boolean bool, int i) { + anInt1075++; + ShaderProgramSub2.method2144("", i, (byte) -96, 0, string, "", ""); + if (bool != false) method547(null, -103); + } + + static final void method545(int i, int i_49_) { + StringCache.aClass60_4327.processSoftEntries(2, i); + anInt1077++; + Component142.aClass60_4417.processSoftEntries(2, i); + if (i_49_ != -1) aClass114_1068 = null; + ColoredText.aClass60_6096.processSoftEntries(2, i); + DefinitionSub9.aClass60_9171.processSoftEntries(i_49_ ^ ~0x2, i); + } + + abstract void method546(int i, int i_50_, int i_51_); + + static final int method547(String string, int i) { + anInt1076++; + if (!Component210.aClass297_5297.signed) return -1; + if (Component300.aHashtable3548.containsKey(string)) return 100; + String string_52_ = NativeLibLoader.toNativeLibraryFileName(string, 3); + if (string_52_ == null) return -1; + String string_53_ = NodeSub41.aString7048 + string_52_; + if (i != 7468) method549((byte) 28, null, null, null); + if (!Component385.aClass45_2208.containsNamed("", string_53_, -88)) return -1; + if (!Component385.aClass45_2208.isGroupReadyByName(i ^ 0x1d48, string_53_)) return Component385.aClass45_2208.getNamedGroupLoadPercent(string_53_, 0); + byte[] is = Component385.aClass45_2208.getFile(string_53_, "", -29832); + Object object = null; + File file; + try { + file = CacheDirectory.getCacheFile(i + -7470, string_52_); + } catch (RuntimeException runtimeexception) { + if (Loader.trace) { + runtimeexception.printStackTrace(); + } + return -1; + } + if (is != null && file != null) { + boolean bool = true; + byte[] is_54_ = ColoredText.method1821(i ^ 0x1d5b, file); + if (is_54_ == null || is_54_.length != is.length) bool = false; + else { + for (int i_55_ = 0; i_55_ < is_54_.length; i_55_++) { + if (is_54_[i_55_] != is[i_55_]) { + bool = false; + break; + } + } + } + try { + if (!bool) Component210.aClass297_5297.writeFileBytes(is, (byte) -104, file); + } catch (Throwable throwable) { + if (Loader.trace) { + throwable.printStackTrace(); + } + return -1; + } + Component290.method1286(file, 64, string); + return 100; + } + return -1; + } + + public static void method548(int i) { + aClass114_1068 = null; + if (i != 10) aClass114_1068 = null; + } + + static final void method549(byte i, NodeSub21 class348_sub21, GraphicsToolkit var_ha, Component274 class42) { + try { + anInt1080++; + Component24 class105 = class42.method375(var_ha, false); + if (class105 != null) { + int i_56_ = class105.method971(); + if (i_56_ < class105.method969()) i_56_ = class105.method969(); + int i_57_ = 10; + int i_58_ = class348_sub21.anInt6853; + int i_59_ = class348_sub21.anInt6855; + int i_60_ = 0; + int i_61_ = 0; + int i_62_ = 0; + if (class42.aString597 != null) { + i_60_ = (AbstractGlTextureSub1.aClass143_8527.method1188(class42.aString597, null, GlToolkitSub3.aStringArray8019, (byte) 87, null)); + for (int i_63_ = 0; i_60_ > i_63_; i_63_++) { + String string = GlToolkitSub3.aStringArray8019[i_63_]; + if (i_60_ + -1 > i_63_) string = string.substring(0, string.length() - 4); + int i_64_ = DisplayModeManagerContainer271.aClass323_521.method2564(string); + if (i_61_ < i_64_) i_61_ = i_64_; + } + i_62_ = (i_60_ * DisplayModeManagerContainer271.aClass323_521.method2565() - -(DisplayModeManagerContainer271.aClass323_521.method2560() / 2)); + } + int i_65_ = i_56_ / 2 + class348_sub21.anInt6853; + int i_66_ = class348_sub21.anInt6855; + if (DisplayModeManagerContainer229.anInt1272 - -i_56_ <= i_58_) { + if (i_58_ > -i_56_ + DisplayModeManagerContainer229.anInt1276) { + i_58_ = -i_56_ + DisplayModeManagerContainer229.anInt1276; + i_65_ = (-(i_56_ / 2) + DisplayModeManagerContainer229.anInt1276 + (-i_57_ + -(i_61_ / 2) - 5)); + } + } else { + i_58_ = DisplayModeManagerContainer229.anInt1272; + i_65_ = i_61_ / 2 + i_57_ + i_56_ / 2 + (DisplayModeManagerContainer229.anInt1272 + 5); + } + if (i_59_ < i_56_ + DisplayModeManagerContainer229.anInt1262) { + i_59_ = DisplayModeManagerContainer229.anInt1262; + i_66_ = i_56_ / 2 + i_57_ + DisplayModeManagerContainer229.anInt1262; + } else if (i_59_ > DisplayModeManagerContainer229.anInt1268 + -i_56_) { + i_59_ = -i_56_ + DisplayModeManagerContainer229.anInt1268; + i_66_ = -(i_56_ / 2) + DisplayModeManagerContainer229.anInt1268 - (i_57_ - -i_62_); + } + int i_67_ = (int) (32767.0 * (Math.atan2(i_58_ - (class348_sub21.anInt6853), -(class348_sub21.anInt6855) + i_59_) / 3.141592653589793)) & 0xffff; + class105.method981((float) i_56_ / 2.0F + (float) i_58_, (float) i_56_ / 2.0F + (float) i_59_, 4096, i_67_); + int i_68_ = -2; + int i_69_ = -2; + int i_70_ = -2; + if (i != -43) method545(-91, -16); + int i_71_ = -2; + if (class42.aString597 != null) { + i_69_ = i_66_; + i_68_ = i_65_ + -(i_61_ / 2) - 5; + i_71_ = 3 + (i_60_ * DisplayModeManagerContainer271.aClass323_521.method2565() + i_69_); + i_70_ = i_61_ + (i_68_ + 10); + if (class42.anInt602 != 0) var_ha.method3675(-i_68_ + i_70_, (byte) -125, i_68_, i_69_, i_71_ - i_69_, class42.anInt602); + if (class42.anInt604 != 0) var_ha.method3668(-i_68_ + i_70_, i_69_, class42.anInt604, i_68_, -i_69_ + i_71_, 67); + for (int i_72_ = 0; i_60_ > i_72_; i_72_++) { + String string = GlToolkitSub3.aStringArray8019[i_72_]; + if (i_72_ < i_60_ + -1) string = string.substring(0, -4 + string.length()); + DisplayModeManagerContainer271.aClass323_521.method2563(var_ha, string, i_65_, i_66_, (class42.anInt580), true); + i_66_ += DisplayModeManagerContainer271.aClass323_521.method2565(); + } + } + if (class42.anInt578 != -1 || class42.aString597 != null) { + i_56_ >>= 1; + NodeSub12 class348_sub12 = new NodeSub12(class348_sub21); + class348_sub12.anInt6737 = i_70_; + class348_sub12.anInt6746 = -i_56_ + i_59_; + class348_sub12.anInt6735 = i_59_ - -i_56_; + class348_sub12.anInt6750 = i_58_ - -i_56_; + class348_sub12.anInt6738 = i_71_; + class348_sub12.anInt6753 = i_69_; + class348_sub12.anInt6747 = i_58_ - i_56_; + class348_sub12.anInt6745 = i_68_; + Component156.aClass262_3705.addTail(class348_sub12, -20180); + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("jp.I(" + i + ',' + (class348_sub21 != null ? "{...}" : "null") + ',' + (var_ha != null ? "{...}" : "null") + ',' + (class42 != null ? "{...}" : "null") + ')')); + } + } + + DisplayModeManagerContainer213(int i, int i_73_, int i_74_, int i_75_, int i_76_) { + this.anInt1071 = 4; + anInt1081 = 0; + aShortArray1082 = new short[512]; + anInt1078 = 4; + anInt1079 = 4; + this.anInt1071 = i_73_; + anInt1078 = i_75_; + anInt1079 = i_74_; + anInt1081 = i; + anInt1074 = i_76_; + method540(0); + method539(85); + } +} diff --git a/client/misc/DisplayModeManagerContainer216.java b/client/misc/DisplayModeManagerContainer216.java new file mode 100644 index 000000000..e1cd01261 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer216.java @@ -0,0 +1,39 @@ +/* DisplayModeManagerContainer216 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer216 +/** + * RENAMED from `Class75_Sub1` (JODE-obfuscated). + * Evidence: subclass of DisplayModeManagerContainer229 (hierarchy) + */ extends DisplayModeManagerContainer229 { + static int anInt5652 = 1; + static int anInt5653; + static float aFloat5654 = 1.0F; + + static final void method769(int i, byte i_0_) { + anInt5653++; + if (i_0_ > 109 && Component233.method2547(i, (byte) 84)) HashNodeSub4.method3180(-1, (DefinitionSub33.aClass46ArrayArray9427[i]), 24235); + } + + static final void method770(int i, int i_1_, int i_2_, DisplayModeManagerContainer28 class318_sub1_sub1) { + Component186 class357 = NodeSub46.method3321(i, i_1_, i_2_); + if (class357 != null) { + class357.aClass318_Sub1_Sub1_4402 = class318_sub1_sub1; + int i_3_ = ShaderSub1.aSArray5191 == Component9.aSArray4142 ? 1 : 0; + if (class318_sub1_sub1.method2376(-93)) { + if (class318_sub1_sub1.method2377((byte) 122)) { + class318_sub1_sub1.aClass318_Sub1_6379 = AudioMixer.aClass318_Sub1Array3226[i_3_]; + AudioMixer.aClass318_Sub1Array3226[i_3_] = class318_sub1_sub1; + } else { + class318_sub1_sub1.aClass318_Sub1_6379 = Node.aClass318_Sub1Array4293[i_3_]; + Node.aClass318_Sub1Array4293[i_3_] = class318_sub1_sub1; + NodeSub16Sub2.aBoolean8870 = true; + } + } else { + class318_sub1_sub1.aClass318_Sub1_6379 = Component95.aClass318_Sub1Array1754[i_3_]; + Component95.aClass318_Sub1Array1754[i_3_] = class318_sub1_sub1; + } + } + } +} diff --git a/client/misc/DisplayModeManagerContainer220.java b/client/misc/DisplayModeManagerContainer220.java new file mode 100644 index 000000000..e17060dd8 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer220.java @@ -0,0 +1,356 @@ +/* DisplayModeManagerContainer220 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaggl.OpenGL; + +final class DisplayModeManagerContainer220 +/** + * RENAMED from `Class18` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt270; + static int anInt271; + static int anInt272; + static int anInt273; + static int anInt274; + private int anInt275 = 1; + private int anInt276 = 0; + static int anInt277; + static int anInt278; + static int[] anIntArray279 = new int[2048]; + static int anInt280; + private DisplayModeManagerContainer105 aClass206_281; + static int anInt282; + static int anInt283; + private DisplayModeManagerContainer105 aClass206_284; + private DisplayModeManagerContainer105 aClass206_285; + private int anInt286; + private int anInt287 = 0; + static int anInt288; + private boolean aBoolean289; + private final GlToolkitSub2 aHa_Sub2_290; + static int anInt291; + private final NodeList aClass262_292; + private boolean aBoolean293; + private boolean aBoolean294; + private GlTexture[] aClass258_Sub3Array295; + private HashNodeSub2 aClass348_Sub42_Sub2_296; + private boolean aBoolean297; + private HashNodeSub2 aClass348_Sub42_Sub2_298; + private boolean aBoolean299; + private GlTexture aClass258_Sub3_300; + private int anInt301; + private int anInt302; + private boolean aBoolean303; + + static final void method271(int i, DisplayModeManagerContainer57 class46, byte i_0_, int i_1_) { + anInt278++; + Shader var_aa = class46.method425(NodeSub8.toolkit, (byte) 19); + if (var_aa != null) { + NodeSub8.toolkit.KA(i_1_, i, class46.anInt709 + i_1_, i - -class46.anInt789); + if (Component293.anInt3306 >= 3) NodeSub8.toolkit.A(-16777216, var_aa, i_1_, i); + else NpcComposition.aClass105_1365.method976(((float) class46.anInt709 / 2.0F + (float) i_1_), (float) i + (float) class46.anInt789 / 2.0F, 4096, (0x3fff & (int) -Component112.cameraYaw) << 2, var_aa, i_1_, i); + if (i_0_ != -98) method271(88, null, (byte) 15, 71); + } + } + + final void method272(int i) { + anInt277++; + if (aBoolean289) { + if (aClass206_285 != null) { + aHa_Sub2_290.method3764(-17083, aClass206_285); + int i_2_ = 16384; + aHa_Sub2_290.method3751(aClass206_281, -115); + aClass206_285.method1505(0, 0); + aClass206_281.method1503(0, (byte) 3); + if (aBoolean303) i_2_ |= 0x100; + OpenGL.glBlitFramebufferEXT(0, 0, anInt286, anInt275, 0, 0, anInt286, anInt275, i_2_, 9728); + aHa_Sub2_290.method3805(8387, aClass206_285); + aHa_Sub2_290.method3782(aClass206_281, 327685); + } + aHa_Sub2_290.method3792(92); + aHa_Sub2_290.method3753(0, 1); + aHa_Sub2_290.method3761(0, 1); + int i_3_ = 19 % ((i - 12) / 49); + aHa_Sub2_290.la(); + int i_4_ = 0; + int i_5_ = 1; + NodeSub5 class348_sub5; + for (NodeSub5 class348_sub5_6_ = (NodeSub5) aClass262_292.first(4); class348_sub5_6_ != null; class348_sub5_6_ = class348_sub5) { + class348_sub5 = (NodeSub5) aClass262_292.next((byte) 113); + int i_7_ = class348_sub5_6_.method2764(1); + for (int i_8_ = 0; i_8_ < i_7_; i_8_++) { + class348_sub5_6_.method2750(aClass258_Sub3_300, aClass258_Sub3Array295[i_4_], i_8_, (byte) 103); + if (class348_sub5 == null && i_8_ == i_7_ - 1) { + aHa_Sub2_290.method3770(-422613672, aClass206_281); + aHa_Sub2_290.method3790(103, 0, 0); + OpenGL.glBegin(7); + OpenGL.glTexCoord2f(0.0F, (float) anInt275); + OpenGL.glMultiTexCoord2f(33985, 0.0F, 1.0F); + OpenGL.glVertex2i(anInt287, anInt276); + OpenGL.glTexCoord2f(0.0F, 0.0F); + OpenGL.glMultiTexCoord2f(33985, 0.0F, 0.0F); + OpenGL.glVertex2i(anInt287, anInt276 - -anInt275); + OpenGL.glTexCoord2f((float) anInt286, 0.0F); + OpenGL.glMultiTexCoord2f(33985, 1.0F, 0.0F); + OpenGL.glVertex2i(anInt287 - -anInt286, anInt276 + anInt275); + OpenGL.glTexCoord2f((float) anInt286, (float) anInt275); + OpenGL.glMultiTexCoord2f(33985, 1.0F, 1.0F); + OpenGL.glVertex2i(anInt286 + anInt287, anInt276); + OpenGL.glEnd(); + } else { + aClass206_281.method1503(i_5_, (byte) 3); + OpenGL.glBegin(7); + OpenGL.glTexCoord2f(0.0F, (float) anInt275); + OpenGL.glMultiTexCoord2f(33985, 0.0F, 1.0F); + OpenGL.glVertex2i(0, 0); + OpenGL.glTexCoord2f(0.0F, 0.0F); + OpenGL.glMultiTexCoord2f(33985, 0.0F, 0.0F); + OpenGL.glVertex2i(0, anInt275); + OpenGL.glTexCoord2f((float) anInt286, 0.0F); + OpenGL.glMultiTexCoord2f(33985, 1.0F, 0.0F); + OpenGL.glVertex2i(anInt286, anInt275); + OpenGL.glTexCoord2f((float) anInt286, (float) anInt275); + OpenGL.glMultiTexCoord2f(33985, 1.0F, 1.0F); + OpenGL.glVertex2i(anInt286, 0); + OpenGL.glEnd(); + } + class348_sub5_6_.method2756((byte) -80, i_8_); + i_4_ = i_4_ + 1 & 0x1; + i_5_ = i_5_ - -1 & 0x1; + } + } + aBoolean289 = false; + } + } + + static final void method273(DisplayModeManagerContainer57 class46, int i) { + anInt288++; + if (class46.anInt774 == 5 && class46.anInt812 != -1) RenderableObject.method2383(NodeSub8.toolkit, -2, class46); + if (i != -2835) method273(null, 44); + } + + final boolean method274(NodeSub5 class348_sub5, boolean bool) { + anInt273++; + if (aClass206_284 != null) { + if (class348_sub5.method2751(bool) || class348_sub5.method2758(85)) { + aClass262_292.addTail(class348_sub5, -20180); + method281((byte) -94); + if (method276(false)) { + if (anInt286 != -1 && anInt275 != -1) class348_sub5.method2754(anInt275, (byte) 55, anInt286); + class348_sub5.aBoolean6621 = true; + return true; + } + } + method278(class348_sub5, true); + } + if (bool != true) return false; + return false; + } + + final boolean method275(int i, int i_9_, int i_10_, int i_11_, int i_12_) { + if (i_12_ != -1) return true; + anInt272++; + if (aClass206_284 == null || aClass262_292.isEmpty((byte) 18)) return false; + if (anInt286 != i || i_10_ != anInt275) { + anInt286 = i; + anInt275 = i_10_; + for (Node class348 = aClass262_292.first(i_12_ ^ ~0x4); aClass262_292.sentinel != class348; class348 = class348.next) + ((NodeSub5) class348).method2754(anInt275, (byte) 41, anInt286); + aBoolean297 = true; + aBoolean293 = true; + aBoolean294 = true; + } + if (method276(false)) { + aBoolean289 = true; + anInt276 = i_11_; + anInt287 = i_9_; + aHa_Sub2_290.method3773(i_12_, aClass206_284); + aClass206_284.method1503(0, (byte) 3); + aHa_Sub2_290.method3790(98, (-aHa_Sub2_290.anInt7641 + (anInt275 - -anInt276)), -anInt287); + return true; + } + return false; + } + + private final boolean method276(boolean bool) { + if (aBoolean293) { + if (aClass348_Sub42_Sub2_298 != null) { + aClass348_Sub42_Sub2_298.method3172(4); + aClass348_Sub42_Sub2_298 = null; + } + if (aClass258_Sub3_300 != null) { + aClass258_Sub3_300.method1952(-19948); + aClass258_Sub3_300 = null; + } + if (aClass206_285 != null) aClass348_Sub42_Sub2_298 = new HashNodeSub2(aHa_Sub2_290, 6402, anInt286, anInt275, (aHa_Sub2_290.anInt7713)); + if (aBoolean303) aClass258_Sub3_300 = new GlTexture(aHa_Sub2_290, 34037, 6402, anInt286, anInt275); + else if (aClass348_Sub42_Sub2_298 == null) aClass348_Sub42_Sub2_298 = new HashNodeSub2(aHa_Sub2_290, 6402, anInt286, anInt275); + aBoolean293 = false; + aBoolean294 = true; + aBoolean299 = true; + } + anInt271++; + if (aBoolean297) { + if (aClass348_Sub42_Sub2_296 != null) { + aClass348_Sub42_Sub2_296.method3172(4); + aClass348_Sub42_Sub2_296 = null; + } + if (aClass258_Sub3Array295[0] != null) { + aClass258_Sub3Array295[0].method1952(-19948); + aClass258_Sub3Array295[0] = null; + } + if (aClass258_Sub3Array295[1] != null) { + aClass258_Sub3Array295[1].method1952(-19948); + aClass258_Sub3Array295[1] = null; + } + if (aClass206_285 != null) aClass348_Sub42_Sub2_296 = new HashNodeSub2(aHa_Sub2_290, anInt301, anInt286, anInt275, (aHa_Sub2_290.anInt7713)); + aClass258_Sub3Array295[0] = new GlTexture(aHa_Sub2_290, 34037, anInt301, anInt286, anInt275); + aClass258_Sub3Array295[1] = anInt302 > 1 ? new GlTexture(aHa_Sub2_290, 34037, anInt301, anInt286, anInt275) : null; + aBoolean294 = true; + aBoolean299 = true; + aBoolean297 = false; + } + if (bool != false) anInt282 = -21; + if (aBoolean294) { + if (aClass206_285 == null) { + aHa_Sub2_290.method3773(-1, aClass206_281); + aClass206_281.method1500(2983, 0); + aClass206_281.method1500(2983, 1); + aClass206_281.method1500(2983, 8); + aClass206_281.method1509(aClass258_Sub3Array295[0], 0, 0); + if (anInt302 > 1) aClass206_281.method1509(aClass258_Sub3Array295[1], 0, 1); + if (aBoolean303) aClass206_281.method1509(aClass258_Sub3_300, 0, 8); + else aClass206_281.method1508(8, aClass348_Sub42_Sub2_298, 114); + aHa_Sub2_290.method3770(-422613672, aClass206_281); + } else { + aHa_Sub2_290.method3773(-1, aClass206_281); + aClass206_281.method1500(2983, 0); + aClass206_281.method1500(2983, 1); + aClass206_281.method1500(2983, 8); + aClass206_281.method1509(aClass258_Sub3Array295[0], 0, 0); + if (anInt302 > 1) aClass206_281.method1509(aClass258_Sub3Array295[1], 0, 1); + if (aBoolean303) aClass206_281.method1509(aClass258_Sub3_300, 0, 8); + aHa_Sub2_290.method3770(-422613672, aClass206_281); + aHa_Sub2_290.method3773(-1, aClass206_285); + aClass206_285.method1500(2983, 0); + aClass206_285.method1500(2983, 8); + aClass206_285.method1508(0, aClass348_Sub42_Sub2_296, -100); + aClass206_285.method1508(8, aClass348_Sub42_Sub2_298, -47); + aHa_Sub2_290.method3770(-422613672, aClass206_285); + } + aBoolean294 = false; + aBoolean299 = true; + } + if (aBoolean299) { + aHa_Sub2_290.method3773(-1, aClass206_284); + aBoolean299 = !aClass206_284.method1507(118); + aHa_Sub2_290.method3770(-422613672, aClass206_284); + } + return !aBoolean299; + } + + public static void method277(byte i) { + if (i >= 77) anIntArray279 = null; + } + + final void method278(NodeSub5 class348_sub5, boolean bool) { + anInt280++; + if (bool == true) { + class348_sub5.aBoolean6621 = false; + class348_sub5.method2763((byte) -126); + class348_sub5.unlink((byte) 103); + method281((byte) -80); + } + } + + final void method279(byte i) { + int i_13_ = 84 % ((-63 - i) / 56); + aClass348_Sub42_Sub2_296 = null; + anInt291++; + aClass206_284 = aClass206_285 = aClass206_281 = null; + aClass258_Sub3_300 = null; + aClass348_Sub42_Sub2_298 = null; + aClass258_Sub3Array295 = null; + if (!aClass262_292.isEmpty((byte) 18)) { + for (Node class348 = aClass262_292.first(4); aClass262_292.sentinel != class348; class348 = class348.next) + ((NodeSub5) class348).method2763((byte) -124); + } + anInt286 = anInt275 = 1; + } + + final boolean method280(int i) { + anInt270++; + if (i != 1) anInt286 = -99; + return aClass206_284 != null; + } + + private final void method281(byte i) { + anInt283++; + boolean bool = false; + int i_14_ = 0; + int i_15_ = 0; + NodeSub5 class348_sub5 = (NodeSub5) aClass262_292.first(4); + int i_16_ = 50 / ((-34 - i) / 45); + for (/**/; class348_sub5 != null; class348_sub5 = (NodeSub5) aClass262_292.next((byte) 67)) { + int i_17_ = class348_sub5.method2761(true); + i_15_ += class348_sub5.method2764(1); + if (i_14_ < i_17_) i_14_ = i_17_; + bool |= class348_sub5.method2759(1); + } + int i_18_; + if (i_14_ != 2) { + if (i_14_ == 1) i_18_ = 34842; + else i_18_ = 6408; + } else i_18_ = 34836; + if (anInt301 != i_18_) { + aBoolean297 = true; + anInt301 = i_18_; + } + int i_19_ = Math.min(anInt302, 2); + int i_20_ = Math.min(i_15_, 2); + anInt302 = i_15_; + if (!bool == aBoolean303) { + aBoolean303 = bool; + aBoolean293 = true; + } + if (i_20_ != i_19_) aBoolean294 = aBoolean297 = true; + } + + static final void method282(int i, GraphicsToolkit var_ha, int i_21_, byte i_22_, int i_23_, int i_24_, int i_25_, int i_26_) { + anInt274++; + Component158.aHa326 = var_ha; + Component44.aClass101_905 = Component158.aHa326.method3654(); + Component352.aClass101_624 = Component158.aHa326.method3654(); + r.aClass101_9720 = Component158.aHa326.method3654(); + DisplayModeManagerContainer306.anInt4784 = i_26_; + ColoredText.anInt6095 = 0; + if (i_22_ <= 64) anIntArray279 = null; + AbstractBuffer.anInt4267 = i_23_; + ShaderProgram.anInt3682 = 0; + Component255.anInt1067 = i_24_; + DisplayModeManagerContainer167.anInterface4_252 = null; + Buffer.anInt7207 = 1; + Component205.anInt5965 = i; + LogicError.method828((byte) 38, i_25_, i_21_); + } + + DisplayModeManagerContainer220(GlToolkitSub2 var_ha_Sub2) { + anInt286 = 1; + aClass262_292 = new NodeList(); + aBoolean293 = true; + aClass258_Sub3Array295 = new GlTexture[2]; + aBoolean297 = true; + aBoolean294 = true; + aBoolean299 = true; + anInt302 = 0; + anInt301 = -1; + aBoolean303 = false; + aHa_Sub2_290 = var_ha_Sub2; + if (aHa_Sub2_290.aBoolean7820 && aHa_Sub2_290.aBoolean7837) { + aClass206_284 = aClass206_281 = new DisplayModeManagerContainer105(aHa_Sub2_290); + if (aHa_Sub2_290.anInt7713 > 1 && aHa_Sub2_290.aBoolean7815 && aHa_Sub2_290.aBoolean7807) aClass206_284 = aClass206_285 = new DisplayModeManagerContainer105(aHa_Sub2_290); + } + } +} diff --git a/client/misc/DisplayModeManagerContainer229.java b/client/misc/DisplayModeManagerContainer229.java new file mode 100644 index 000000000..ae6fb8df7 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer229.java @@ -0,0 +1,812 @@ +/* DisplayModeManagerContainer229 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +class DisplayModeManagerContainer229 +/** + * RENAMED from `Class75` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static CacheStore aClass45_1237; + static Component62 aClass153_1238; + private static DisplayModeManagerContainer259 aClass268_1239; + private static Component191 aClass183_1240; + private static LruCache aClass356_1241 = new LruCache(16); + static Component258 aClass141_1242; + static HashNodeSub14 aClass348_Sub42_Sub14_1243; + static Interface17 anInterface17_1244; + static Component309 aClass263_1245; + static Component278 aClass252_1246; + static float aFloat1247; + private static byte[] aByteArray1248; + static float aFloat1249; + static int anInt1250; + static byte[][][] aByteArrayArrayArray1251; + private static short[] aShortArray1252; + static int anInt1253 = (int) (Math.random() * 17.0) - 8; + static NodeList aClass262_1254; + static int anInt1255; + private static byte[] aByteArray1256; + static int anInt1257; + private static byte[] aByteArray1258; + static int anInt1259; + private static int[] anIntArray1260; + private static short[] aShortArray1261; + static int anInt1262; + static int anInt1263; + private static byte[] aByteArray1264; + static int anInt1265; + static int anInt1266; + static int anInt1267; + static int anInt1268; + private static Component315[][][] aClass243ArrayArrayArray1269; + private static short[] aShortArray1270; + private static LruCache aClass356_1271; + static int anInt1272; + private static byte[] aByteArray1273; + static int anInt1274; + private static byte[] aByteArray1275; + static int anInt1276; + static int anInt1277; + + static final void method745(GraphicsToolkit var_ha, NodeSub21 class348_sub21, Component274 class42) { + if (class42.anIntArray591 != null) { + int[] is = new int[class42.anIntArray591.length]; + for (int i = 0; i < is.length / 2; i++) { + int i_0_ = (class42.anIntArray591[i * 2] + class348_sub21.anInt6852); + int i_1_ = (class42.anIntArray591[i * 2 + 1] + class348_sub21.anInt6851); + is[i * 2] = anInt1272 + ((anInt1276 - anInt1272) * (i_0_ - anInt1274) / (anInt1265 - anInt1274)); + is[i * 2 + 1] = anInt1268 - ((anInt1268 - anInt1262) * (i_1_ - anInt1257) / (anInt1277 - anInt1257)); + } + Component68.method2620(var_ha, is, class42.anInt582); + if (class42.anInt584 > 0) { + for (int i = 0; i < is.length / 2 - 1; i++) { + int i_2_ = is[i * 2]; + int i_3_ = is[i * 2 + 1]; + int i_4_ = is[(i + 1) * 2]; + int i_5_ = is[(i + 1) * 2 + 1]; + if (i_4_ < i_2_) { + int i_6_ = i_2_; + int i_7_ = i_3_; + i_2_ = i_4_; + i_3_ = i_5_; + i_4_ = i_6_; + i_5_ = i_7_; + } else if (i_4_ == i_2_ && i_5_ < i_3_) { + int i_8_ = i_3_; + i_3_ = i_5_; + i_5_ = i_8_; + } + var_ha.method3674(i_2_, i_3_, i_4_, i_5_, (class42.anIntArray572[(class42.aByteArray564[i] & 0xff)]), 1, class42.anInt584, class42.anInt575, class42.anInt601); + } + int i = is[is.length - 2]; + int i_9_ = is[is.length - 1]; + int i_10_ = is[0]; + int i_11_ = is[1]; + if (i_10_ < i) { + int i_12_ = i; + int i_13_ = i_9_; + i = i_10_; + i_9_ = i_11_; + i_10_ = i_12_; + i_11_ = i_13_; + } else if (i_10_ == i && i_11_ < i_9_) { + int i_14_ = i_9_; + i_9_ = i_11_; + i_11_ = i_14_; + } + var_ha.method3674(i, i_9_, i_10_, i_11_, (class42.anIntArray572[(class42.aByteArray564[(class42.aByteArray564.length - 1)]) & 0xff]), 1, class42.anInt584, class42.anInt575, class42.anInt601); + } else { + for (int i = 0; i < is.length / 2 - 1; i++) + var_ha.method3645(is[i * 2 + 1], is[i * 2], is[(i + 1) * 2], -8003, (class42.anIntArray572[(class42.aByteArray564[i] & 0xff)]), is[(i + 1) * 2 + 1]); + var_ha.method3645(is[is.length - 1], is[is.length - 2], is[0], -8003, (class42.anIntArray572[(class42.aByteArray564[(class42.aByteArray564.length - 1)]) & 0xff]), is[1]); + } + } + } + + public static void method746() { + aClass268_1239 = null; + aClass183_1240 = null; + aClass263_1245 = null; + aClass153_1238 = null; + aClass141_1242 = null; + anInterface17_1244 = null; + aClass348_Sub42_Sub14_1243 = null; + aClass45_1237 = null; + aClass356_1241 = null; + aByteArrayArrayArray1251 = null; + aShortArray1252 = null; + aByteArray1248 = null; + aClass252_1246 = null; + aClass262_1254 = null; + anIntArray1260 = null; + aByteArray1273 = null; + aByteArray1264 = null; + aShortArray1270 = null; + aByteArray1256 = null; + aByteArray1275 = null; + aShortArray1261 = null; + aByteArray1258 = null; + aClass356_1271 = null; + aClass243ArrayArrayArray1269 = null; + } + + private static final void method747(GraphicsToolkit var_ha, NodeSub21 class348_sub21, int i, int i_15_, int i_16_, int i_17_) { + class348_sub21.anInt6853 = (anInt1272 + (i_16_ + i * (class348_sub21.anInt6852 - anInt1274) >> 16)); + class348_sub21.anInt6855 = (anInt1268 - (i_17_ + i_15_ * (class348_sub21.anInt6851 - anInt1257) >> 16)); + } + + static final void method748(GraphicsToolkit var_ha) { + int i = anInt1265 - anInt1274; + int i_18_ = anInt1277 - anInt1257; + int i_19_ = (anInt1276 - anInt1272 << 16) / i; + int i_20_ = (anInt1268 - anInt1262 << 16) / i_18_; + method765(var_ha, i_19_, i_20_, 0, 0); + } + + static final void method749() { + aByteArray1273 = null; + aByteArray1264 = null; + aShortArray1270 = null; + aByteArray1256 = null; + aByteArray1275 = null; + aShortArray1261 = null; + aByteArray1258 = null; + aClass356_1271 = null; + aClass243ArrayArrayArray1269 = null; + anIntArray1260 = null; + } + + private static final void method750(GraphicsToolkit var_ha, Buffer class348_sub49, int i, int i_21_, int i_22_, int i_23_, int[] is, int[] is_24_) { + int i_25_ = class348_sub49.readUnsignedByte(255); + if ((i_25_ & 0x1) == 0) { + boolean bool = (i_25_ & 0x2) == 0; + int i_26_ = i_25_ >> 2 & 0x3f; + if (i_26_ != 62) { + if (i_26_ == 63) i_26_ = class348_sub49.readUnsignedByte(255); + else if (bool) i_26_ = is[i_26_]; + else i_26_ = is_24_[i_26_]; + if (bool) { + aByteArray1273[i_22_ + i_23_ * anInt1259] = (byte) i_26_; + aByteArray1256[i_22_ + i_23_ * anInt1259] = (byte) 0; + } else { + aByteArray1256[i_22_ + i_23_ * anInt1259] = (byte) i_26_; + aByteArray1275[i_22_ + i_23_ * anInt1259] = (byte) 0; + aByteArray1273[i_22_ + i_23_ * anInt1259] = class348_sub49.readByte(-115); + } + } + } else { + int i_27_ = (i_25_ >> 1 & 0x3) + 1; + boolean bool = (i_25_ & 0x8) != 0; + boolean bool_28_ = (i_25_ & 0x10) != 0; + for (int i_29_ = 0; i_29_ < i_27_; i_29_++) { + int i_30_ = class348_sub49.readUnsignedByte(255); + int i_31_ = 0; + int i_32_ = 0; + if (bool) { + i_31_ = class348_sub49.readUnsignedByte(255); + i_32_ = class348_sub49.readUnsignedByte(255); + } + int i_33_ = 0; + if (bool_28_) i_33_ = class348_sub49.readUnsignedByte(255); + if (i_29_ == 0) { + aByteArray1273[i_22_ + i_23_ * anInt1259] = (byte) i_30_; + aByteArray1256[i_22_ + i_23_ * anInt1259] = (byte) i_31_; + aByteArray1275[i_22_ + i_23_ * anInt1259] = (byte) i_32_; + if (i_33_ == 1) { + aShortArray1261[i_22_ + i_23_ * anInt1259] = (short) (class348_sub49.readUnsignedShort(842397944) + 1); + aByteArray1258[i_22_ + i_23_ * anInt1259] = class348_sub49.readByte(-122); + } else if (i_33_ > 1) { + aShortArray1261[i_22_ + i_23_ * anInt1259] = (short) -1; + short[] is_34_ = new short[i_33_]; + byte[] is_35_ = new byte[i_33_]; + for (int i_36_ = 0; i_36_ < i_33_; i_36_++) { + is_34_[i_36_] = (short) class348_sub49.readUnsignedShort(842397944); + is_35_[i_36_] = class348_sub49.readByte(-120); + } + aClass356_1271.put((byte) 33, i_22_ << 16 | i_23_, new NodeSub39(is_34_, is_35_)); + } + } else { + short[] is_37_ = null; + byte[] is_38_ = null; + if (i_33_ > 0) { + is_37_ = new short[i_33_]; + is_38_ = new byte[i_33_]; + for (int i_39_ = 0; i_39_ < i_33_; i_39_++) { + is_37_[i_39_] = (short) class348_sub49.readUnsignedShort(842397944); + is_38_[i_39_] = class348_sub49.readByte(-92); + } + } + if ((aClass243ArrayArrayArray1269[i_29_ - 1][i - (anInt1266 >> 6)][i_21_ - (anInt1263 >> 6)]) == null) aClass243ArrayArrayArray1269[i_29_ - 1][i - (anInt1266 >> 6)][i_21_ - (anInt1263 >> 6)] = new Component315(); + RenderableSub8 class318_sub8 = new RenderableSub8(i_22_ & 0x3f, i_23_ & 0x3f, i_30_, i_31_, i_32_, is_37_, is_38_); + aClass243ArrayArrayArray1269[i_29_ - 1][i - (anInt1266 >> 6)][i_21_ - (anInt1263 >> 6)].method1869(-86, class318_sub8); + } + } + } + } + + static final void method751(int i, int i_40_, int i_41_, int i_42_, int i_43_, int i_44_, int i_45_, int i_46_) { + anInt1274 = i - anInt1266; + anInt1277 = i_40_ - anInt1263; + anInt1265 = i_41_ - anInt1266; + anInt1257 = i_42_ - anInt1263; + anInt1272 = i_43_; + anInt1262 = i_44_; + anInt1276 = i_45_; + anInt1268 = i_46_; + } + + static final void method752(CacheStore class45, DisplayModeManagerContainer259 class268, Component191 class183, Component309 class263, Component62 class153, Component258 class141, Interface17 interface17) { + aClass45_1237 = class45; + aClass268_1239 = class268; + aClass183_1240 = class183; + aClass263_1245 = class263; + aClass153_1238 = class153; + aClass141_1242 = class141; + anInterface17_1244 = interface17; + aClass356_1241.clear(0); + int i = aClass45_1237.getGroupId("details", 0); + int[] is = aClass45_1237.getFileIds(i, 0); + if (is != null) { + for (int i_47_ = 0; i_47_ < is.length; i_47_++) { + HashNodeSub14 class348_sub42_sub14 = Component324.method1205(is[i_47_], true, aClass45_1237, i); + aClass356_1241.put((byte) 25, class348_sub42_sub14.anInt9628, class348_sub42_sub14); + } + } + Component54.method566(true, false, (byte) 11); + } + + private static final void method753() { + for (int i = 0; i < anInt1259; i++) { + for (int i_48_ = 0; i_48_ < anInt1267; i_48_++) { + int i_49_ = aShortArray1261[i + i_48_ * anInt1259] & 0xffff; + if (i_49_ != 0) { + if (i_49_ == 65535) { + NodeSub39 class348_sub39 = ((NodeSub39) aClass356_1271.get(i << 16 | i_48_, -6008)); + if (class348_sub39 != null) { + for (int i_50_ = 0; i_50_ < (class348_sub39.aShortArray7024).length; i_50_++) { + Component44 class51 = (aClass263_1245.method2005(0, (class348_sub39.aShortArray7024[i_50_]) & 0xffff)); + int i_51_ = class51.anInt921; + if (class51.anIntArray945 != null) { + class51 = class51.method480(anInterface17_1244, (byte) 47); + if (class51 != null) i_51_ = class51.anInt921; + } + if (i_51_ != -1) { + NodeSub21 class348_sub21 = new NodeSub21(i_51_); + class348_sub21.anInt6852 = i; + class348_sub21.anInt6851 = i_48_; + aClass262_1254.addTail(class348_sub21, -20180); + } + } + } + } else { + Component44 class51 = aClass263_1245.method2005(0, i_49_ - 1); + int i_52_ = class51.anInt921; + if (class51.anIntArray945 != null) { + class51 = class51.method480(anInterface17_1244, (byte) 47); + if (class51 != null) i_52_ = class51.anInt921; + } + if (i_52_ != -1) { + NodeSub21 class348_sub21 = new NodeSub21(i_52_); + class348_sub21.anInt6852 = i; + class348_sub21.anInt6851 = i_48_; + aClass262_1254.addTail(class348_sub21, -20180); + } + } + } + } + } + for (int i = 0; i < 3; i++) { + for (int i_53_ = 0; i_53_ < aClass243ArrayArrayArray1269[0].length; i_53_++) { + for (int i_54_ = 0; i_54_ < aClass243ArrayArrayArray1269[0][0].length; i_54_++) { + Component315 class243 = aClass243ArrayArrayArray1269[i][i_53_][i_54_]; + if (class243 != null) { + for (RenderableSub8 class318_sub8 = (RenderableSub8) class243.method1872(8); class318_sub8 != null; class318_sub8 = ((RenderableSub8) class243.method1878((byte) 127))) { + if (class318_sub8.aShortArray6461 != null) { + for (int i_55_ = 0; i_55_ < (class318_sub8.aShortArray6461).length; i_55_++) { + Component44 class51 = (aClass263_1245.method2005(0, (class318_sub8.aShortArray6461[i_55_]) & 0xffff)); + int i_56_ = class51.anInt921; + if (class51.anIntArray945 != null) { + class51 = (class51.method480(anInterface17_1244, (byte) 47)); + if (class51 != null) i_56_ = class51.anInt921; + } + if (i_56_ != -1) { + NodeSub21 class348_sub21 = new NodeSub21(i_56_); + class348_sub21.anInt6852 = ((i_53_ + (anInt1266 >> 6)) * 64 + class318_sub8.aByte6466 - anInt1266); + class348_sub21.anInt6851 = ((i_54_ + (anInt1263 >> 6)) * 64 + class318_sub8.aByte6464 - anInt1263); + aClass262_1254.addTail(class348_sub21, -20180); + } + } + } + } + } + } + } + } + } + + static final void method754(int i) { + aClass348_Sub42_Sub14_1243 = (HashNodeSub14) aClass356_1241.get(i, -6008); + } + + private static final void method755(GraphicsToolkit var_ha, int i, int i_57_, int i_58_, int i_59_, int i_60_, int i_61_, int i_62_, short[] is, byte[] is_63_, boolean bool) { + if (bool || i_60_ != 0 || i_61_ > 0) { + if (i_61_ == 0) var_ha.fillRect(i, i_57_, i_58_, i_59_, i_60_, 0); + else { + int i_64_ = i_62_ & 0x3f; + if (i_64_ == 0 || i_58_ <= 1 || i_59_ <= 1) { + int i_65_ = anIntArray1260[i_61_]; + if (bool || i_65_ != 0) var_ha.fillRect(i, i_57_, i_58_, i_59_, i_65_, 0); + } else { + int i_66_ = bool ? 0 : 1; + DisplayModeManagerContainer57.method424(anIntArray1260[i_61_], i_60_, var_ha, 0, i_66_, anInt1255, i_62_ >> 6 & 0x3, aByteArrayArrayArray1251, i_58_, i, i_64_, i_59_, i_57_); + } + } + } + if (is != null) { + int i_67_; + if (i_58_ == 1) i_67_ = i; + else i_67_ = i + i_58_ - 1; + int i_68_; + if (i_59_ == 1) i_68_ = i_57_; + else i_68_ = i_57_ + i_59_ - 1; + for (int i_69_ = 0; i_69_ < is.length; i_69_++) { + int i_70_ = is_63_[i_69_] & 0x3f; + if (i_70_ == 0 || i_70_ == 2 || i_70_ == 3 || i_70_ == 9) { + Component44 class51 = aClass263_1245.method2005(0, is[i_69_] & 0xffff); + if (class51.anInt875 == -1) { + int i_71_ = -3355444; + if (class51.anInt874 == 1) i_71_ = -3407872; + int i_72_ = is_63_[i_69_] >> 6 & 0x3; + if (i_70_ == 0) { + if (i_72_ == 0) var_ha.P(i, i_57_, i_59_, i_71_, 0); + else if (i_72_ == 1) var_ha.U(i, i_57_, i_58_, i_71_, 0); + else if (i_72_ == 2) var_ha.P(i_67_, i_57_, i_59_, i_71_, 0); + else var_ha.U(i, i_68_, i_58_, i_71_, 0); + } else if (i_70_ == 2) { + if (i_72_ == 0) { + var_ha.P(i, i_57_, i_59_, -1, 0); + var_ha.U(i, i_57_, i_58_, i_71_, 0); + } else if (i_72_ == 1) { + var_ha.P(i_67_, i_57_, i_59_, -1, 0); + var_ha.U(i, i_57_, i_58_, i_71_, 0); + } else if (i_72_ == 2) { + var_ha.P(i_67_, i_57_, i_59_, -1, 0); + var_ha.U(i, i_68_, i_58_, i_71_, 0); + } else { + var_ha.P(i, i_57_, i_59_, -1, 0); + var_ha.U(i, i_68_, i_58_, i_71_, 0); + } + } else if (i_70_ == 3) { + if (i_72_ == 0) var_ha.U(i, i_57_, 1, i_71_, 0); + else if (i_72_ == 1) var_ha.U(i_67_, i_57_, 1, i_71_, 0); + else if (i_72_ == 2) var_ha.U(i_67_, i_68_, 1, i_71_, 0); + else var_ha.U(i, i_68_, 1, i_71_, 0); + } else if (i_70_ == 9) { + if (i_72_ == 0 || i_72_ == 2) { + for (int i_73_ = 0; i_73_ < i_59_; i_73_++) + var_ha.U(i + i_73_, i_68_ - i_73_, 1, i_71_, 0); + } else { + for (int i_74_ = 0; i_74_ < i_59_; i_74_++) + var_ha.U(i + i_74_, i_57_ + i_74_, 1, i_71_, 0); + } + } + } + } + } + } + } + + static final void method756(GraphicsToolkit var_ha, int i, int i_75_) { + Buffer class348_sub49 = (new Buffer(aClass45_1237.getFile((aClass348_Sub42_Sub14_1243.aString9625), "area", -29832))); + int i_76_ = class348_sub49.readUnsignedByte(255); + int[] is = new int[i_76_]; + for (int i_77_ = 0; i_77_ < i_76_; i_77_++) + is[i_77_] = class348_sub49.readUnsignedByte(255); + int i_78_ = class348_sub49.readUnsignedByte(255); + int[] is_79_ = new int[i_78_]; + for (int i_80_ = 0; i_80_ < i_78_; i_80_++) + is_79_[i_80_] = class348_sub49.readUnsignedByte(255); + while (class348_sub49.offset < class348_sub49.payload.length) { + if (class348_sub49.readUnsignedByte(255) == 0) { + int i_81_ = class348_sub49.readUnsignedByte(255); + int i_82_ = class348_sub49.readUnsignedByte(255); + for (int i_83_ = 0; i_83_ < 64; i_83_++) { + for (int i_84_ = 0; i_84_ < 64; i_84_++) { + int i_85_ = i_81_ * 64 + i_83_ - anInt1266; + int i_86_ = i_82_ * 64 + i_84_ - anInt1263; + method750(var_ha, class348_sub49, i_81_, i_82_, i_85_, i_86_, is, is_79_); + } + } + } else { + int i_87_ = class348_sub49.readUnsignedByte(255); + int i_88_ = class348_sub49.readUnsignedByte(255); + int i_89_ = class348_sub49.readUnsignedByte(255); + int i_90_ = class348_sub49.readUnsignedByte(255); + for (int i_91_ = 0; i_91_ < 8; i_91_++) { + for (int i_92_ = 0; i_92_ < 8; i_92_++) { + int i_93_ = i_87_ * 64 + i_89_ * 8 + i_91_ - anInt1266; + int i_94_ = i_88_ * 64 + i_90_ * 8 + i_92_ - anInt1263; + method750(var_ha, class348_sub49, i_87_, i_88_, i_93_, i_94_, is, is_79_); + } + } + } + } + Object object = null; + aByteArray1264 = new byte[anInt1259 * anInt1267]; + aShortArray1270 = new short[anInt1259 * anInt1267]; + for (int i_95_ = 0; i_95_ < 3; i_95_++) { + byte[] is_96_ = new byte[anInt1259 * anInt1267]; + for (int i_97_ = 0; i_97_ < aClass243ArrayArrayArray1269[i_95_].length; i_97_++) { + for (int i_98_ = 0; i_98_ < aClass243ArrayArrayArray1269[i_95_][0].length; i_98_++) { + Component315 class243 = aClass243ArrayArrayArray1269[i_95_][i_97_][i_98_]; + if (class243 != null) { + for (RenderableSub8 class318_sub8 = (RenderableSub8) class243.method1872(8); class318_sub8 != null; class318_sub8 = ((RenderableSub8) class243.method1878((byte) 1))) + is_96_[(i_97_ * 64 + class318_sub8.aByte6466 + (i_98_ * 64 + (class318_sub8.aByte6464)) * anInt1259)] = (byte) (class318_sub8.anInt6465); + } + } + } + method768(is_96_, aByteArray1264, aShortArray1270, i, i_75_); + for (int i_99_ = 0; i_99_ < aClass243ArrayArrayArray1269[i_95_].length; i_99_++) { + for (int i_100_ = 0; i_100_ < aClass243ArrayArrayArray1269[i_95_][0].length; i_100_++) { + Component315 class243 = aClass243ArrayArrayArray1269[i_95_][i_99_][i_100_]; + if (class243 != null) { + for (RenderableSub8 class318_sub8 = (RenderableSub8) class243.method1872(8); class318_sub8 != null; class318_sub8 = ((RenderableSub8) class243.method1878((byte) 122))) { + int i_101_ = (i_99_ * 64 + class318_sub8.aByte6466 + (i_100_ * 64 + (class318_sub8.aByte6464)) * anInt1259); + class318_sub8.anInt6465 = ((aByteArray1264[i_101_] & 0xff) << 16 | aShortArray1270[i_101_] & 0xffff); + if (class318_sub8.anInt6465 != 0) class318_sub8.anInt6465 |= ~0xffffff; + } + } + } + } + } + method768(aByteArray1273, aByteArray1264, aShortArray1270, i, i_75_); + aByteArray1273 = null; + method753(); + } + + static final HashNodeSub14 method757(int i) { + return ((HashNodeSub14) aClass356_1241.get(i, -6008)); + } + + static final NodeList method758(GraphicsToolkit var_ha) { + int i = anInt1265 - anInt1274; + int i_102_ = anInt1277 - anInt1257; + int i_103_ = (anInt1276 - anInt1272 << 16) / i; + int i_104_ = (anInt1268 - anInt1262 << 16) / i_102_; + return method762(var_ha, i_103_, i_104_, 0, 0); + } + + private static final int method759(d var_d, int i, int i_105_, int i_106_) { + Component11 class277 = aClass268_1239.method2034(i, false); + if (class277 == null) return 0; + int i_107_ = class277.anInt3575; + if (i_107_ >= 0 && var_d.method3(i_107_, -6662).aBoolean209) i_107_ = -1; + int i_108_; + if (class277.anInt3569 >= 0) { + int i_109_ = class277.anInt3569; + int i_110_ = (i_109_ & 0x7f) + i_106_; + if (i_110_ < 0) i_110_ = 0; + else if (i_110_ > 127) i_110_ = 127; + int i_111_ = (i_109_ + i_105_ & 0xfc00) + (i_109_ & 0x380) + i_110_; + i_108_ = ~0xffffff | (Component380.anIntArray4983[Component361.method303(Component243.method353(96, -119, i_111_), 30) & 0xffff]); + } else if (i_107_ >= 0) i_108_ = (~0xffffff | (Component380.anIntArray4983[(Component361.method303(Component243.method353(96, -85, (var_d.method3(i_107_, -6662).aShort208)), 30)) & 0xffff])); + else if (class277.anInt3563 == -1) i_108_ = 0; + else { + int i_112_ = class277.anInt3563; + int i_113_ = (i_112_ & 0x7f) + i_106_; + if (i_113_ < 0) i_113_ = 0; + else if (i_113_ > 127) i_113_ = 127; + int i_114_ = (i_112_ + i_105_ & 0xfc00) + (i_112_ & 0x380) + i_113_; + i_108_ = ~0xffffff | (Component380.anIntArray4983[Component361.method303(Component243.method353(96, -80, i_114_), 30) & 0xffff]); + } + return i_108_; + } + + static final void method760() { + aByteArray1273 = new byte[anInt1259 * anInt1267]; + aByteArray1256 = new byte[anInt1259 * anInt1267]; + aByteArray1275 = new byte[anInt1259 * anInt1267]; + aShortArray1261 = new short[anInt1259 * anInt1267]; + aByteArray1258 = new byte[anInt1259 * anInt1267]; + aClass356_1271 = new LruCache(1024); + aClass243ArrayArrayArray1269 = new Component315[3][anInt1259 >> 6][anInt1267 >> 6]; + anIntArray1260 = new int[aClass268_1239.anInt3429 + 1]; + } + + static final void method761() { + int[] is = new int[3]; + for (int i = 0; i < aClass252_1246.anInt3241; i++) { + boolean bool = (aClass348_Sub42_Sub14_1243.method3236(is, (aClass252_1246.anIntArray3238[i] >> 14 & 0x3fff), aClass252_1246.anIntArray3238[i] & 0x3fff, aClass252_1246.anIntArray3238[i] >> 28 & 0x3, (byte) -28)); + if (bool) { + NodeSub21 class348_sub21 = new NodeSub21(aClass252_1246.anIntArray3239[i]); + class348_sub21.anInt6852 = is[1] - anInt1266; + class348_sub21.anInt6851 = is[2] - anInt1263; + aClass262_1254.addTail(class348_sub21, -20180); + } + } + } + + private static final NodeList method762(GraphicsToolkit var_ha, int i, int i_115_, int i_116_, int i_117_) { + for (NodeSub21 class348_sub21 = (NodeSub21) aClass262_1254.first(4); class348_sub21 != null; class348_sub21 = (NodeSub21) aClass262_1254.next((byte) 74)) + method747(var_ha, class348_sub21, i, i_115_, i_116_, i_117_); + return aClass262_1254; + } + + private static final void method763(GraphicsToolkit var_ha, int i, int i_118_, int i_119_, int i_120_, short[] is, byte[] is_121_) { + if (is != null) { + for (int i_122_ = 0; i_122_ < is.length; i_122_++) { + Component44 class51 = aClass263_1245.method2005(0, is[i_122_] & 0xffff); + int i_123_ = class51.anInt875; + if (i_123_ != -1) { + SceneManager class218 = aClass141_1242.method1173((byte) 31, i_123_); + Component24 class105 = class218.method1596((class51.aBoolean912 ? is_121_[i_122_] >> 6 & 0x3 : 0), (class51.aBoolean925 && (class51.aBoolean902)), 125, var_ha); + if (class105 != null) { + int i_124_ = i_119_ * class105.method966() >> 2; + int i_125_ = i_120_ * class105.method980() >> 2; + if (class218.aBoolean2854) { + int i_126_ = class51.anInt961; + int i_127_ = class51.anInt926; + if ((is_121_[i_122_] >> 6 & 0x1) == 1) { + int i_128_ = i_126_; + i_126_ = i_127_; + i_127_ = i_128_; + } + i_124_ = i_126_ * i_119_; + i_125_ = i_127_ * i_120_; + } + if (i_124_ != 0 && i_125_ != 0) { + if (class218.anInt2856 != 0) class105.method970(i, i_118_ - i_125_ + i_120_, i_124_, i_125_, 0, (~0xffffff | (class218.anInt2856)), 1); + else class105.method973(i, i_118_ - i_125_ + i_120_, i_124_, i_125_); + } + } + } + } + } + } + + static final void method764(d var_d, int i, int i_129_) { + for (int i_130_ = 0; i_130_ < aClass268_1239.anInt3429; i_130_++) + anIntArray1260[i_130_ + 1] = method759(var_d, i_130_, i, i_129_); + } + + private static final void method765(GraphicsToolkit var_ha, int i, int i_131_, int i_132_, int i_133_) { + int i_134_ = anInt1265 - anInt1274; + int i_135_ = anInt1277 - anInt1257; + if (anInt1265 < anInt1259) i_134_++; + if (anInt1277 < anInt1267) i_135_++; + for (int i_136_ = 0; i_136_ < i_134_; i_136_++) { + int i_137_ = (i_132_ + i * i_136_ >> 16) + anInt1272; + int i_138_ = (i_132_ + i * (i_136_ + 1) >> 16) + anInt1272; + int i_139_ = i_138_ - i_137_; + if (i_139_ > 0) { + int i_140_ = anInt1274 + i_136_; + if (i_140_ >= 0 && i_140_ < anInt1259) { + for (int i_146_ = 0; i_146_ < i_135_; i_146_++) { + int i_147_ = (anInt1268 - (i_133_ + i_131_ * (i_146_ + 1) >> 16)); + int i_148_ = anInt1268 - (i_133_ + i_131_ * i_146_ >> 16); + int i_149_ = i_148_ - i_147_; + if (i_149_ > 0) { + int i_150_ = i_146_ + anInt1257; + int i_151_ = i_140_ + i_150_ * anInt1259; + int i_152_ = 0; + int i_153_ = 0; + int i_154_ = 0; + if (i_150_ >= 0 && i_150_ < anInt1267) { + i_152_ = ((aByteArray1264[i_151_] & 0xff) << 16 | aShortArray1270[i_151_] & 0xffff); + if (i_152_ != 0) i_152_ |= ~0xffffff; + i_153_ = aByteArray1256[i_151_] & 0xff; + i_154_ = aShortArray1261[i_151_] & 0xffff; + } + if (i_152_ == 0 && i_153_ == 0 && i_154_ == 0) { + if (aClass348_Sub42_Sub14_1243.anInt9634 != -1) i_152_ = (~0xffffff | (aClass348_Sub42_Sub14_1243.anInt9634)); + else if ((i_136_ + anInt1274 & 0x4) != (i_146_ + anInt1277 & 0x4)) i_152_ = -11840664; + else i_152_ = (anIntArray1260[(aClass268_1239.anInt3447) + 1]); + if (i_152_ == 0) i_152_ = -16777216; + var_ha.fillRect(i_137_, i_147_, i_139_, i_149_, i_152_, 0); + } else if (i_154_ > 0) { + if (i_154_ == 65535) { + NodeSub39 class348_sub39 = ((NodeSub39) (aClass356_1271.get(i_140_ << 16 | i_150_, -6008))); + if (class348_sub39 != null) method755(var_ha, i_137_, i_147_, i_139_, i_149_, i_152_, i_153_, aByteArray1275[i_151_], (class348_sub39.aShortArray7024), (class348_sub39.aByteArray7025), true); + } else { + aShortArray1252[0] = (short) (i_154_ - 1); + aByteArray1248[0] = aByteArray1258[i_151_]; + method755(var_ha, i_137_, i_147_, i_139_, i_149_, i_152_, i_153_, aByteArray1275[i_151_], aShortArray1252, aByteArray1248, true); + } + } else method755(var_ha, i_137_, i_147_, i_139_, i_149_, i_152_, i_153_, aByteArray1275[i_151_], null, null, true); + } + } + } else { + for (int i_141_ = 0; i_141_ < i_135_; i_141_++) { + int i_142_ = (anInt1268 - (i_133_ + i_131_ * (i_141_ + 1) >> 16)); + int i_143_ = anInt1268 - (i_133_ + i_131_ * i_141_ >> 16); + int i_144_ = i_143_ - i_142_; + int i_145_; + if (aClass348_Sub42_Sub14_1243.anInt9634 != -1) i_145_ = ~0xffffff | (aClass348_Sub42_Sub14_1243.anInt9634); + else if ((i_136_ + anInt1274 & 0x4) != (i_141_ + anInt1277 & 0x4)) i_145_ = -11840664; + else i_145_ = anIntArray1260[(aClass268_1239.anInt3447) + 1]; + if (i_145_ == 0) i_145_ = -16777216; + var_ha.fillRect(i_137_, i_142_, i_139_, i_144_, i_145_, 0); + } + } + } + } + for (int i_155_ = -16; i_155_ < i_134_ + 16; i_155_++) { + int i_156_ = (i_132_ + i * i_155_ >> 16) + anInt1272; + int i_157_ = (i_132_ + i * (i_155_ + 1) >> 16) + anInt1272; + int i_158_ = i_157_ - i_156_; + if (i_158_ > 0) { + int i_159_ = i_155_ + anInt1274; + if (i_159_ >= 0 && i_159_ < anInt1259) { + for (int i_160_ = -16; i_160_ < i_135_ + 16; i_160_++) { + int i_161_ = (anInt1268 - (i_133_ + i_131_ * (i_160_ + 1) >> 16)); + int i_162_ = anInt1268 - (i_133_ + i_131_ * i_160_ >> 16); + int i_163_ = i_162_ - i_161_; + if (i_163_ > 0) { + int i_164_ = i_160_ + anInt1257; + if (i_164_ >= 0 && i_164_ < anInt1267) { + int i_165_ = ((aShortArray1261[i_159_ + i_164_ * anInt1259]) & 0xffff); + if (i_165_ > 0) { + if (i_165_ == 65535) { + NodeSub39 class348_sub39 = ((NodeSub39) (aClass356_1271.get(i_159_ << 16 | i_164_, -6008))); + if (class348_sub39 != null) method763(var_ha, i_156_, i_161_, i_158_, i_163_, (class348_sub39.aShortArray7024), (class348_sub39.aByteArray7025)); + } else { + aShortArray1252[0] = (short) (i_165_ - 1); + aByteArray1248[0] = (aByteArray1258[i_159_ + i_164_ * anInt1259]); + method763(var_ha, i_156_, i_161_, i_158_, i_163_, aShortArray1252, aByteArray1248); + } + } else method763(var_ha, i_156_, i_161_, i_158_, i_163_, null, null); + } + } + } + } + } + } + int i_166_ = anInt1274 >> 6; + int i_167_ = anInt1257 >> 6; + if (i_166_ < 0) i_166_ = 0; + if (i_167_ < 0) i_167_ = 0; + int i_168_ = anInt1265 >> 6; + int i_169_ = anInt1277 >> 6; + if (i_168_ >= aClass243ArrayArrayArray1269[0].length) i_168_ = aClass243ArrayArrayArray1269[0].length - 1; + if (i_169_ >= aClass243ArrayArrayArray1269[0][0].length) i_169_ = aClass243ArrayArrayArray1269[0][0].length - 1; + for (int i_170_ = 0; i_170_ < 3; i_170_++) { + for (int i_171_ = i_166_; i_171_ <= i_168_; i_171_++) { + for (int i_172_ = i_167_; i_172_ <= i_169_; i_172_++) { + Component315 class243 = aClass243ArrayArrayArray1269[i_170_][i_171_][i_172_]; + if (class243 != null) { + int i_173_ = (i_171_ + (anInt1266 >> 6)) * 64; + int i_174_ = (i_172_ + (anInt1263 >> 6)) * 64; + for (RenderableSub8 class318_sub8 = (RenderableSub8) class243.method1872(8); class318_sub8 != null; class318_sub8 = ((RenderableSub8) class243.method1878((byte) -79))) { + int i_175_ = (i_173_ + class318_sub8.aByte6466 - anInt1266 - anInt1274); + int i_176_ = (i_174_ + class318_sub8.aByte6464 - anInt1263 - anInt1257); + int i_177_ = (i_132_ + i * i_175_ >> 16) + anInt1272; + int i_178_ = ((i_132_ + i * (i_175_ + 1) >> 16) + anInt1272); + int i_179_ = (anInt1268 - (i_133_ + i_131_ * (i_176_ + 1) >> 16)); + int i_180_ = anInt1268 - (i_133_ + i_131_ * i_176_ >> 16); + method755(var_ha, i_177_, i_179_, i_178_ - i_177_, i_180_ - i_179_, (class318_sub8.anInt6465), (class318_sub8.aByte6460) & 0xff, (class318_sub8.aByte6463), (class318_sub8.aShortArray6461), (class318_sub8.aByteArray6462), false); + } + } + } + } + for (int i_181_ = i_166_; i_181_ <= i_168_; i_181_++) { + for (int i_182_ = i_167_; i_182_ <= i_169_; i_182_++) { + Component315 class243 = aClass243ArrayArrayArray1269[i_170_][i_181_][i_182_]; + if (class243 != null) { + int i_183_ = (i_181_ + (anInt1266 >> 6)) * 64; + int i_184_ = (i_182_ + (anInt1263 >> 6)) * 64; + for (RenderableSub8 class318_sub8 = (RenderableSub8) class243.method1872(8); class318_sub8 != null; class318_sub8 = ((RenderableSub8) class243.method1878((byte) -75))) { + int i_185_ = (i_183_ + class318_sub8.aByte6466 - anInt1266 - anInt1274); + int i_186_ = (i_184_ + class318_sub8.aByte6464 - anInt1263 - anInt1257); + int i_187_ = (i_132_ + i * i_185_ >> 16) + anInt1272; + int i_188_ = ((i_132_ + i * (i_185_ + 1) >> 16) + anInt1272); + int i_189_ = (anInt1268 - (i_133_ + i_131_ * (i_186_ + 1) >> 16)); + int i_190_ = anInt1268 - (i_133_ + i_131_ * i_186_ >> 16); + method763(var_ha, i_187_, i_189_, i_188_ - i_187_, i_190_ - i_189_, (class318_sub8.aShortArray6461), (class318_sub8.aByteArray6462)); + } + } + } + } + } + } + + static final HashNodeSub14 method766(int i, int i_191_) { + for (HashNodeSub14 class348_sub42_sub14 = (HashNodeSub14) aClass356_1241.first(0); class348_sub42_sub14 != null; class348_sub42_sub14 = (HashNodeSub14) aClass356_1241.next(0)) { + if (class348_sub42_sub14.aBoolean9639 && class348_sub42_sub14.method3238((byte) -120, i, i_191_)) return class348_sub42_sub14; + } + return null; + } + + static final HashTable method767(int i, int i_192_) { + HashTable class107 = new HashTable(); + for (HashNodeSub14 class348_sub42_sub14 = (HashNodeSub14) aClass356_1241.first(0); class348_sub42_sub14 != null; class348_sub42_sub14 = (HashNodeSub14) aClass356_1241.next(0)) { + if (class348_sub42_sub14.aBoolean9639 && class348_sub42_sub14.method3238((byte) 29, i, i_192_)) class107.add(true, class348_sub42_sub14); + } + return class107; + } + + private static final void method768(byte[] is, byte[] is_193_, short[] is_194_, int i, int i_195_) { + int[] is_196_ = new int[anInt1267]; + int[] is_197_ = new int[anInt1267]; + int[] is_198_ = new int[anInt1267]; + int[] is_199_ = new int[anInt1267]; + int[] is_200_ = new int[anInt1267]; + for (int i_201_ = -5; i_201_ < anInt1259; i_201_++) { + int i_202_ = i_201_ + 5; + int i_203_ = i_201_ - 5; + for (int i_204_ = 0; i_204_ < anInt1267; i_204_++) { + if (i_202_ < anInt1259) { + int i_205_ = is[i_202_ + i_204_ * anInt1259] & 0xff; + if (i_205_ > 0) { + Component231 class22 = aClass183_1240.method1380(true, i_205_ - 1); + is_196_[i_204_] += class22.anInt341; + is_197_[i_204_] += class22.anInt332; + is_198_[i_204_] += class22.anInt335; + is_199_[i_204_] += class22.anInt343; + is_200_[i_204_]++; + } + } + if (i_203_ >= 0) { + int i_206_ = is[i_203_ + i_204_ * anInt1259] & 0xff; + if (i_206_ > 0) { + Component231 class22 = aClass183_1240.method1380(true, i_206_ - 1); + is_196_[i_204_] -= class22.anInt341; + is_197_[i_204_] -= class22.anInt332; + is_198_[i_204_] -= class22.anInt335; + is_199_[i_204_] -= class22.anInt343; + is_200_[i_204_]--; + } + } + } + if (i_201_ >= 0) { + int i_207_ = 0; + int i_208_ = 0; + int i_209_ = 0; + int i_210_ = 0; + int i_211_ = 0; + for (int i_212_ = -5; i_212_ < anInt1267; i_212_++) { + int i_213_ = i_212_ + 5; + if (i_213_ < anInt1267) { + i_207_ += is_196_[i_213_]; + i_208_ += is_197_[i_213_]; + i_209_ += is_198_[i_213_]; + i_210_ += is_199_[i_213_]; + i_211_ += is_200_[i_213_]; + } + int i_214_ = i_212_ - 5; + if (i_214_ >= 0) { + i_207_ -= is_196_[i_214_]; + i_208_ -= is_197_[i_214_]; + i_209_ -= is_198_[i_214_]; + i_210_ -= is_199_[i_214_]; + i_211_ -= is_200_[i_214_]; + } + if (i_212_ >= 0 && i_211_ > 0) { + if ((is[i_201_ + i_212_ * anInt1259] & 0xff) == 0) { + int i_215_ = i_201_ + i_212_ * anInt1259; + is_193_[i_215_] = (byte) 0; + is_194_[i_215_] = (short) 0; + } else { + int i_216_ = (i_210_ == 0 ? 0 : VideoAdDisplay.method1890(i_209_ / i_211_, (byte) 76, i_208_ / i_211_, (i_207_ * 256 / i_210_))); + int i_217_ = (i_216_ & 0x7f) + i_195_; + if (i_217_ < 0) i_217_ = 0; + else if (i_217_ > 127) i_217_ = 127; + int i_218_ = ((i_216_ + i & 0xfc00) + (i_216_ & 0x380) + i_217_); + int i_219_ = i_201_ + i_212_ * anInt1259; + int i_220_ = (Component380.anIntArray4983[(Component361.method303(Component182.method3401(i_218_, 96, (byte) 76), 30)) & 0xffff]); + is_193_[i_219_] = (byte) (i_220_ >> 16 & 0xff); + is_194_[i_219_] = (short) (i_220_ & 0xffff); + } + } + } + } + } + } + + static { + aShortArray1252 = new short[1]; + anInt1250 = (int) (Math.random() * 11.0) - 5; + aByteArray1248 = new byte[1]; + aClass262_1254 = new NodeList(); + } +} diff --git a/client/misc/DisplayModeManagerContainer23.java b/client/misc/DisplayModeManagerContainer23.java new file mode 100644 index 000000000..e5ba79f4c --- /dev/null +++ b/client/misc/DisplayModeManagerContainer23.java @@ -0,0 +1,83 @@ +/* DisplayModeManagerContainer23 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer23 +/** + * RENAMED from `Class92` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt1524; + static Interface4[] anInterface4Array1525; + static int anInt1526; + static int anInt1527; + static float[] aFloatArray1528 = {0.0F, -1.0F, 0.0F, 0.0F}; + + static final void method858(boolean bool, Player player) { + anInt1526++; + SceneNode class348_sub9 = ((SceneNode) (HashNodeSub16Sub2.aClass356_10465.get(player.anInt10290, -6008))); + if (bool == true) { + if (class348_sub9 == null) DisplayModeManagerContainer369.method1614(979190089, null, player.plane, (player.anIntArray10317[0]), (player.anIntArray10320[0]), player, null, 0); + else class348_sub9.method2781((byte) 21); + } + } + + static final void method859(int i) { + anInt1527++; + int i_0_ = NodeSub50.aByteArrayArray7212.length; + if (i < -125) { + for (int i_1_ = 0; i_0_ > i_1_; i_1_++) { + if (NodeSub50.aByteArrayArray7212[i_1_] != null) { + int i_2_ = -1; + for (int i_3_ = 0; i_3_ < DisplayModeManagerContainer91.anInt388; i_3_++) { + if (DisplayModeManagerContainer173.anIntArray4250[i_3_] == OggStreamReader.anIntArray9042[i_1_]) { + i_2_ = i_3_; + break; + } + } + if (i_2_ == -1) { + DisplayModeManagerContainer173.anIntArray4250[DisplayModeManagerContainer91.anInt388] = OggStreamReader.anIntArray9042[i_1_]; + i_2_ = DisplayModeManagerContainer91.anInt388++; + } + Buffer class348_sub49 = new Buffer(NodeSub50.aByteArrayArray7212[i_1_]); + int i_4_ = 0; + while (class348_sub49.offset < NodeSub50.aByteArrayArray7212[i_1_].length) { + if (i_4_ >= 511 || Component324.anInt2057 >= 1023) break; + int i_5_ = i_2_ | i_4_++ << 6; + int i_6_ = class348_sub49.readUnsignedShort(842397944); + int i_7_ = i_6_ >> 14; + int i_8_ = 0x3f & i_6_ >> 7; + int i_9_ = i_6_ & 0x3f; + int i_10_ = (i_8_ + (-NodeBaseSub2.regionTileX + (OggStreamReader.anIntArray9042[i_1_] >> 8) * 64)); + int i_11_ = (-Component330.regionTileY + (64 * (0xff & (OggStreamReader.anIntArray9042[i_1_])) - -i_9_)); + NpcComposition class79 = (Component291.aClass278_2529.method2079(class348_sub49.readUnsignedShort(842397944), -1)); + NodeSub22 class348_sub22 = ((NodeSub22) Component21.aClass356_3654.get(i_5_, -6008)); + if (class348_sub22 == null && (class79.aByte1325 & 0x1) > 0 && i_7_ == Component385.anInt2204 && i_10_ >= 0 && (AbstractShaderSub4.anInt7319 > i_10_ - -class79.anInt1399) && i_11_ >= 0 && (ParametricDefinition.anInt9109 > i_11_ + class79.anInt1399)) { + Npc npc = new Npc(); + npc.anInt10290 = i_5_; + NodeSub22 class348_sub22_12_ = (new NodeSub22(npc)); + Component21.aClass356_3654.put((byte) 91, i_5_, class348_sub22_12_); + DefinitionSub23.aClass348_Sub22Array9319[NodeSub32.anInt6930++] = class348_sub22_12_; + DisplayModeManagerContainer238.anIntArray1233[Component324.anInt2057++] = i_5_; + npc.anInt10306 = OpenGlShader.clientCycle; + npc.method2448(class79, -2); + npc.method2434((byte) 120, npc.definition.anInt1399); + npc.anInt10310 = (npc.definition.anInt1329 << 3); + npc.method2435((byte) -108, (npc.definition.aByte1355 - -4 & ~0x631ffff8) << 11, true); + npc.method2444(i_11_, true, i_10_, 123, npc.method2436((byte) 54), i_7_); + } + } + } + } + } + } + + public static void method860(byte i) { + anInterface4Array1525 = null; + if (i > 43) aFloatArray1528 = null; + } + + static { + anInt1524 = 765; + } +} diff --git a/client/misc/DisplayModeManagerContainer232.java b/client/misc/DisplayModeManagerContainer232.java new file mode 100644 index 000000000..1367dd7d3 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer232.java @@ -0,0 +1,66 @@ +/* DisplayModeManagerContainer232 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer232 +/** + * RENAMED from `Class265` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ implements Interface1 { + private final Component247 aClass120_4687; + private Component24 aClass105_4688; + static DisplayModeManagerContainer238 aClass74_4689 = new DisplayModeManagerContainer238(2, 4); + static int anInt4690; + static int anInt4691; + static int[] anIntArray4692; + static boolean[][] aBooleanArrayArray4693 = {new boolean[4], new boolean[4], {false, false, true, false}, {false, false, true, false}, {false, false, true, false}, {false, false, true, false}, {true, false, true, false}, {true, false, false, true}, {true, false, false, true}, new boolean[4], new boolean[4], new boolean[4], new boolean[4]}; + private final CacheStore aClass45_4694; + static int anInt4695; + static int anInt4696; + + public final void method7(int i) { + aClass105_4688 = DummyClass.method3577((aClass120_4687.anInt4912), (byte) 116, aClass45_4694); + if (i != 10286) aBooleanArrayArray4693 = null; + anInt4695++; + } + + static final Cp1252Decoder method2022(Buffer class348_sub49, int i) { + if (i != 0) return null; + anInt4691++; + return new Cp1252Decoder(class348_sub49.readShort(13638), class348_sub49.readShort(13638), class348_sub49.readShort(i + 13638), class348_sub49.readShort(13638), class348_sub49.readMedium(-1), class348_sub49.readMedium(-1), class348_sub49.readUnsignedByte(255)); + } + + public final void method9(byte i, boolean bool) { + anInt4696++; + if (i != -49) method2022(null, 101); + if (bool) { + int i_0_ = (Math.max(Component236.anInt4017, DisplayModeManagerContainer23.anInt1524)); + int i_1_ = (Math.max(PacketReader.anInt10432, GlToolkitSub2.anInt7666)); + // Stretch title/login background to the full viewport (same full-bleed + // feel as in-game). Cover/fit left letterboxing or cropped art. + aClass105_4688.method973(0, 0, i_0_, i_1_); + } + } + + public static void method2023(byte i) { + if (i > -13) aClass74_4689 = null; + aClass74_4689 = null; + anIntArray4692 = null; + aBooleanArrayArray4693 = null; + } + + DisplayModeManagerContainer232(CacheStore class45, Component247 class120) { + try { + aClass45_4694 = class45; + aClass120_4687 = class120; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("uk.(" + (class45 != null ? "{...}" : "null") + ',' + (class120 != null ? "{...}" : "null") + ')')); + } + } + + public final boolean method8(byte i) { + int i_8_ = -105 % ((25 - i) / 52); + anInt4690++; + return aClass45_4694.isSingletonFileReady(false, aClass120_4687.anInt4912); + } +} diff --git a/client/misc/DisplayModeManagerContainer238.java b/client/misc/DisplayModeManagerContainer238.java new file mode 100644 index 000000000..d923a59e9 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer238.java @@ -0,0 +1,29 @@ +/* DisplayModeManagerContainer238 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer238 +/** + * RENAMED from `Class74` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int[] anIntArray1233 = new int[1024]; + static Component183 aClass114_1234 = new Component183(54, 4); + static int anInt1235; + static boolean aBoolean1236 = false; + + public final String toString() { + anInt1235++; + throw new IllegalStateException(); + } + + public static void method744(byte i) { + aClass114_1234 = null; + anIntArray1233 = null; + if (i < 87) method744((byte) -102); + } + + DisplayModeManagerContainer238(int i, int i_0_) { + /* empty */ + } +} diff --git a/client/misc/DisplayModeManagerContainer249.java b/client/misc/DisplayModeManagerContainer249.java new file mode 100644 index 000000000..2cf49aabf --- /dev/null +++ b/client/misc/DisplayModeManagerContainer249.java @@ -0,0 +1,70 @@ +/* DisplayModeManagerContainer249 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer249 +/** + * RENAMED from `Class177` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ implements Interface1 { + static int anInt4663; + static int anInt4664; + static int anInt4665; + static int anInt4666 = 0; + static int anInt4667; + static int anInt4668; + static int anInt4669; + static int[] anIntArray4670 = new int[3]; + private final RSACipher aClass52_4671; + + public final void method9(byte i, boolean bool) { + if (bool) NodeSub8.toolkit.fillRect(0, 0, Component236.anInt4017, PacketReader.anInt10432, aClass52_4671.anInt4899, 0); + anInt4668++; + if (i != -49) anInt4666 = -20; + } + + static final void method1352(int i, int i_0_, int i_1_, byte i_2_) { + anInt4664++; + if (i_2_ != -98) method1354((byte) 69); + i_0_ = (i_0_ * Component192.aClass348_Sub51_3959.aClass239_Sub26_7260.method1838(-32350) >> 8); + if (i_0_ != 0 && i != -1) { + if (!DisplayModeManagerContainer238.aBoolean1236 && Component119.anInt3428 != -1 && Component385.method1296(true) && !DisplayModeManagerContainer363.method2605((byte) -99)) { + Component246.aClass348_Sub16_Sub3_2718 = MatrixSub3.method943(false); + BrowserUrlOpener class348_sub16_sub3 = Component16.method1326(Component246.aClass348_Sub16_Sub3_2718, i_2_ ^ ~0x68); + HashNodeSub18.method3273(true, -95, class348_sub16_sub3); + } + NodeSub1Sub3.method2732(0, i, false, 102, DisplayModeManagerContainer64.aClass45_9033, i_0_); + NodeSub5.method2755(-1, 255, -1); + DisplayModeManagerContainer238.aBoolean1236 = true; + } + } + + public final void method7(int i) { + anInt4667++; + if (i != 10286) method1354((byte) 42); + } + + public final boolean method8(byte i) { + anInt4663++; + int i_3_ = 35 / ((i - 25) / 52); + return true; + } + + static final Component327 method1353(int i, int i_4_, int i_5_, Class var_class) { + Component186 class357 = Component335.aClass357ArrayArrayArray2029[i][i_4_][i_5_]; + if (class357 == null) return null; + for (Component3 class148 = class357.aClass148_4396; class148 != null; class148 = class148.aClass148_2038) { + Component327 class318_sub1_sub3 = class148.aClass318_Sub1_Sub3_2040; + if (var_class.isAssignableFrom(class318_sub1_sub3.getClass()) && class318_sub1_sub3.aShort8743 == i_4_ && (class318_sub1_sub3.aShort8750 == i_5_)) return class318_sub1_sub3; + } + return null; + } + + public static void method1354(byte i) { + if (i == -22) anIntArray4670 = null; + } + + DisplayModeManagerContainer249(RSACipher class52) { + aClass52_4671 = class52; + } +} diff --git a/client/misc/DisplayModeManagerContainer254.java b/client/misc/DisplayModeManagerContainer254.java new file mode 100644 index 000000000..86400d122 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer254.java @@ -0,0 +1,120 @@ +/* DisplayModeManagerContainer254 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer254 +/** + * RENAMED from `Class161` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt2138; + private boolean aBoolean2139 = false; + static int anInt2140; + static int anInt2141; + static int anInt2142; + int anInt2143; + static int anInt2144; + static int[] anIntArray2145 = new int[25]; + private boolean aBoolean2146 = true; + String aString2147; + int anInt2148; + static int anInt2149; + static int anInt2150; + static boolean aBoolean2151 = false; + + static final boolean method1258(int i, int i_0_, int i_1_) { + if (i_0_ != -9301) method1263(true); + anInt2150++; + return (0x800 & i) != 0; + } + + final void method1259(int i) { + if (i != 0) method1258(39, 119, 4); + anInt2149++; + if (!aBoolean2146) { + aBoolean2139 = true; + aBoolean2146 = true; + } else if (!aBoolean2139) aBoolean2146 = false; + else aBoolean2139 = false; + } + + static final void method1260(boolean bool, int i, DisplayModeManagerContainer56 class190) { + if (DefinitionSub10.aBoolean9181) { + DefinitionSub10.aBoolean9181 = false; + i = 0; + } + anInt2140++; + if (Component329.aClass190_5990 == null || !Component329.aClass190_5990.method1424(class190, (byte) 84)) { + Component329.aClass190_5990 = class190; + ObjectDeserializer.aLong6963 = Component240.currentTimeMillis(-78); + DisplayModeManagerContainer105.anInt4889 = SpriteAtlasShader.anInt6248 = i; + if (DisplayModeManagerContainer105.anInt4889 == 0) DefinitionSub32.method3134(-1); + else { + DisplayModeManagerContainer28.aFloat8725 = Component214.aFloat2137; + Canvas_Sub1.anInt70 = Component38.anInt2500; + ColoredText.aClass299_6098 = HeapDumpHelper.aClass299_4938; + DisplayModeManagerContainer370.aFloat1136 = Component283.aFloat4626; + DebugOverlay.aFloat3172 = Component209.aFloat3462; + CacheStore.aFloat670 = NodeSub3.aFloat6586; + AbstractGlTextureSub4.aFloat8560 = Component98.aFloat5945; + Component163.aFloat3177 = TeleportHandler.aFloat4455; + Component327.anInt8739 = DisplayModeManagerContainer96.anInt4703; + Component372.anInt6042 = Component129.anInt486; + } + } + if (bool != false) aBoolean2151 = true; + } + + public static void method1261(byte i) { + if (i > 46) anIntArray2145 = null; + } + + final Task method1262(ReflectionInvoker class297, byte i) { + if (i != 36) method1258(-105, -70, -80); + anInt2144++; + return class297.openSocket(aBoolean2139, (aBoolean2146 ? this.anInt2138 : this.anInt2148), this.aString2147, i ^ 0x6e65); + } + + static final void method1263(boolean bool) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub27_7255), 1); + anInt2142++; + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub27_7261), 1); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub14_7250), 1); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub14_7264), 1); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub4_7220), 1); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub9_7256), 1); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub13_7236), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub1_7246), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub21_7270), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub7_7238), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub24_7235), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub28_7230), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub18_7259), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub16_7247), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub20_7216), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub20_7248), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub15_7224), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub6_7226), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub12_7243), 0); + DisplayModeManagerContainer87.method1686(55); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub23_7231), 2); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub29_7229), 2); + Definition.method3038(-1); + DisplayModeManagerContainer154.method773(bool); + RuntimeException_Sub1.aBoolean4604 = true; + } + + final boolean method1264(byte i, DisplayModeManagerContainer254 class161_2_) { + if (i <= 69) return false; + anInt2141++; + if (class161_2_ != null) { + return (this.anInt2143 == class161_2_.anInt2143) && this.aString2147.equals(class161_2_.aString2147); + } + return false; + } + + public DisplayModeManagerContainer254() { + this.anInt2138 = Loader.port; + this.anInt2148 = 43594; + } +} diff --git a/client/misc/DisplayModeManagerContainer259.java b/client/misc/DisplayModeManagerContainer259.java new file mode 100644 index 000000000..81dc4c41b --- /dev/null +++ b/client/misc/DisplayModeManagerContainer259.java @@ -0,0 +1,165 @@ +/* DisplayModeManagerContainer259 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer259 +/** + * RENAMED from `Class268` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt3429; + private static short[] aShortArray3430 = {-1, -1, -1, -1, -1}; + static int anInt3431; + static int[] anIntArray3432 = new int[500]; + private final NodeCache aClass60_3433 = new NodeCache(64); + static int anInt3434; + static int anInt3435; + static int anInt3436; + private static short[] aShortArray3437; + static boolean[] aBooleanArray3438; + static int anInt3439 = 16777215; + static int anInt3440; + static int anInt3441 = 0; + private final CacheStore aClass45_3442; + static short[][] aShortArrayArray3443; + static int anInt3444; + static int anInt3445; + static int anInt3446; + int anInt3447 = 0; + static int anInt3448; + private static short[] aShortArray3449; + + static final long method2031(int i, String string) { + anInt3448++; + long l = 0L; + int i_0_ = string.length(); + for (int i_1_ = 0; i_1_ < i_0_; i_1_++) { + l *= 37L; + int i_2_ = string.charAt(i_1_); + if (i_2_ < 65 || i_2_ > 90) { + if (i_2_ >= 97 && i_2_ <= 122) l += 1 - (-i_2_ + 97); + else if (i_2_ >= 48 && i_2_ <= 57) l += i_2_ + 27 - 48; + } else l += 1 + (i_2_ + -65); + if (l >= 177917621779460413L) break; + } + if (i != -1994) aShortArrayArray3443 = null; + for (/**/; (l % 37L == 0 && l != 0); l /= 37L) { + /* empty */ + } + return l; + } + + final void method2032(int i, int i_3_) { + synchronized (aClass60_3433) { + aClass60_3433.processSoftEntries(2, i); + if (i_3_ > -10) method2035(116, 38); + } + anInt3436++; + } + + final void method2033(byte i) { + anInt3434++; + synchronized (aClass60_3433) { + if (i != 46) method2037(-66); + aClass60_3433.method587(-94); + } + } + + final Component11 method2034(int i, boolean bool) { + if (bool != false) aShortArray3437 = null; + anInt3431++; + Component11 class277; + synchronized (aClass60_3433) { + class277 = (Component11) aClass60_3433.get(i, 64); + } + if (class277 != null) return class277; + byte[] is; + synchronized (aClass45_3442) { + is = aClass45_3442.getFile(-1860, 4, i); + } + class277 = new Component11(); + class277.anInt3573 = i; + class277.aClass268_3562 = this; + if (is != null) class277.method2070(true, new Buffer(is)); + class277.method2067(-4860); + synchronized (aClass60_3433) { + aClass60_3433.putOne(class277, i, (byte) -111); + } + return class277; + } + + static final void method2035(int i, int i_4_) { + anInt3445++; + int i_5_ = OpenGlShader.clientCycle - Component182.anInt9751; + if (i_5_ >= 100) { + DefinitionSub21.cameraMode = 1; + JaclibLoader.anInt167 = ShaderLinker.anInt10163 = -1; + } else { + int i_6_ = (int) DisplayModeManagerContainer154.cameraPitch; + if (i_6_ < NodeSub35.anInt6979 >> 8) i_6_ = NodeSub35.anInt6979 >> 8; + if (Component113.aBooleanArray2374[4] && ItemDefinitionProvider.anIntArray3273[4] - -128 > i_6_) i_6_ = ItemDefinitionProvider.anIntArray3273[4] + 128; + int i_7_ = 0x3fff & (int) Component112.cameraYaw + Component195.anInt5016; + if (i_4_ != 0) method2031(-117, null); + DisplayModeManagerContainer167.method268(i_6_, -200 + (Component300.method2064((Component72.localPlayer.x), Component117.anInt4372, 11219, (Component72.localPlayer.y))), i_7_, Component353.cameraFocusZ, i, -19360, DisplayModeManagerContainer273.cameraFocusX, 3 * (i_6_ >> 3) + 600 << 2); + float f = (-((float) ((100 + -i_5_) * (100 - i_5_) * (-i_5_ + 100)) / 1000000.0F) + 1.0F); + WaterSurfaceShader.anInt6246 = (int) ((float) Component29.anInt10047 + f * (float) (-Component29.anInt10047 + WaterSurfaceShader.anInt6246)); + DisplayModeManagerContainer50.anInt3855 = (int) ((float) (-DisplayModeManagerContainer89.anInt8368 + DisplayModeManagerContainer50.anInt3855) * f + (float) DisplayModeManagerContainer89.anInt8368); + HashNodeSub19.anInt9701 = (int) ((float) Component69.anInt3662 + (float) (HashNodeSub19.anInt9701 - Component69.anInt3662) * f); + Component317.anInt8685 = (int) ((float) Component135.anInt4424 + f * (float) (-Component135.anInt4424 + Component317.anInt8685)); + int i_8_ = Component298.anInt4638 - Component193.anInt3253; + if (i_8_ <= 8192) { + if (i_8_ < -8192) i_8_ += 16384; + } else i_8_ -= 16384; + Component298.anInt4638 = (int) ((float) i_8_ * f + (float) Component193.anInt3253); + Component298.anInt4638 &= 0x3fff; + } + } + + public static void method2036(byte i) { + aShortArrayArray3443 = null; + aShortArray3437 = null; + if (i != 121) method2035(57, 35); + aShortArray3449 = null; + aShortArray3430 = null; + anIntArray3432 = null; + aBooleanArray3438 = null; + } + + final void method2037(int i) { + synchronized (aClass60_3433) { + aClass60_3433.clear(0); + } + anInt3440++; + } + + static final void method2038(int i) { + if (i <= -47) { + for (int i_9_ = 0; i_9_ < Component335.anInt2021; i_9_++) { + RunescapeInfo class10 = GlFramebufferTexture.aClass10Array8531[i_9_]; + if (class10.aByte180 == 3) { + if (class10.aClass348_Sub16_Sub5_176 == null) class10.anInt188 = -2147483648; + else PlayerState.aClass348_Sub16_Sub4_7065.method2880(class10.aClass348_Sub16_Sub5_176); + } + } + anInt3446++; + } + } + + DisplayModeManagerContainer259(GameType class230, int i, CacheStore class45) { + try { + aClass45_3442 = class45; + this.anInt3429 = aClass45_3442.getFileCount(0, 4); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("cb.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); + } + } + + static { + aShortArray3437 = new short[]{-1, -1, -1, -1, -1}; + anInt3444 = 13156520; + anInt3435 = -1; + aBooleanArray3438 = new boolean[100]; + aShortArray3449 = new short[]{6798, 8741, 25238, 4626, 4550}; + aShortArrayArray3443 = new short[][]{aShortArray3449, aShortArray3437, aShortArray3430}; + } +} diff --git a/client/misc/DisplayModeManagerContainer26.java b/client/misc/DisplayModeManagerContainer26.java new file mode 100644 index 000000000..5f7185844 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer26.java @@ -0,0 +1,176 @@ +/* DisplayModeManagerContainer26 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer26 +/** + * RENAMED from `Class84` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private final NodeCache aClass60_1449 = new NodeCache(16); + static int[] anIntArray1450 = {1, 2, 4, 8}; + static int anInt1451; + static int anInt1452; + static int anInt1453; + static int anInt1454; + static int anInt1455; + static int anInt1456; + static int anInt1457; + static int anInt1458; + static int anInt1459; + private final CacheStore aClass45_1460; + + final void method816(boolean bool) { + anInt1455++; + synchronized (aClass60_1449) { + if (bool != false) method819((byte) 107, 46); + aClass60_1449.method587(-119); + } + } + + static final DisplayModeManagerContainer58 method817(int i, int i_0_, int i_1_, int i_2_) { + anInt1456++; + Component186 class357 = Component335.aClass357ArrayArrayArray2029[i_1_][i_0_][i_2_]; + if (class357 == null) return null; + if (i != 252) return null; + DisplayModeManagerContainer58 class318_sub1_sub3_sub3 = null; + int i_3_ = -1; + for (Component3 class148 = class357.aClass148_4396; class148 != null; class148 = class148.aClass148_2038) { + Component327 class318_sub1_sub3 = class148.aClass318_Sub1_Sub3_2040; + if (class318_sub1_sub3 instanceof DisplayModeManagerContainer58) { + DisplayModeManagerContainer58 class318_sub1_sub3_sub3_4_ = (DisplayModeManagerContainer58) class318_sub1_sub3; + int i_5_ = 252 + (-1 + class318_sub1_sub3_sub3_4_.method2436((byte) 88)) * 256; + int i_6_ = (-i_5_ + (class318_sub1_sub3_sub3_4_.x) >> 9); + int i_7_ = (-i_5_ + (class318_sub1_sub3_sub3_4_.y) >> 9); + int i_8_ = i_5_ + (class318_sub1_sub3_sub3_4_.x) >> 9; + int i_9_ = ((class318_sub1_sub3_sub3_4_.y + i_5_) >> 9); + if (i_0_ >= i_6_ && i_7_ <= i_2_ && i_0_ <= i_8_ && i_2_ <= i_9_) { + int i_10_ = (1 + i_9_ - i_2_) * (-i_0_ + (1 + i_8_)); + if (i_3_ < i_10_) { + i_3_ = i_10_; + class318_sub1_sub3_sub3 = class318_sub1_sub3_sub3_4_; + } + } + } + } + return class318_sub1_sub3_sub3; + } + + static final int method818(int i, int i_11_, int i_12_) { + anInt1451++; + int i_13_ = i_11_; + while (i > 0) { + i_13_ = i_12_ & 0x1 | i_13_ << 1; + i--; + i_12_ >>>= 1; + } + return i_13_; + } + + final void method819(byte i, int i_14_) { + synchronized (aClass60_1449) { + aClass60_1449.processSoftEntries(2, i_14_); + if (i <= 8) method826(91, -94, 117, 24, 39, -100, null); + } + anInt1457++; + } + + private final Component189 method820(int i, int i_15_) { + anInt1458++; + Component189 class300; + synchronized (aClass60_1449) { + class300 = (Component189) aClass60_1449.get(i, 116); + } + if (class300 != null) return class300; + byte[] is; + synchronized (aClass45_1460) { + is = aClass45_1460.getFile(-1860, i_15_, i); + } + class300 = new Component189(); + if (is != null) class300.decode(new Buffer(is), (byte) -123); + synchronized (aClass60_1449) { + aClass60_1449.putOne(class300, i, (byte) -106); + } + return class300; + } + + static final void method821(int i) { + Component9.aClass60_4139.clear(0); + int i_16_ = -67 / ((i - 39) / 33); + anInt1459++; + } + + final void method822(byte i) { + synchronized (aClass60_1449) { + aClass60_1449.clear(0); + } + if (i >= -13) method825(14); + anInt1452++; + } + + final DisplayModeManagerContainer50 method823(int i, int i_17_, int i_18_, int i_19_, Component361 class25, int i_20_) { + anInt1453++; + DisplayModeManagerContainer365[] class72s = null; + Component189 class300 = method820(i_20_, 29); + if (i_19_ > -36) return null; + if (class300.values != null) { + class72s = new DisplayModeManagerContainer365[class300.values.length]; + for (int i_21_ = 0; class72s.length > i_21_; i_21_++) { + PauseTimer class38 = class25.method301((class300.values[i_21_]), 29); + class72s[i_21_] = new DisplayModeManagerContainer365(class38.anInt498, class38.anInt504, class38.anInt499, class38.anInt502, class38.anInt508, class38.anInt501, class38.anInt503, class38.aBoolean507); + } + } + return new DisplayModeManagerContainer50(class300.defaultValue, class72s, class300.paddingOpcode, i_18_, i, i_17_); + } + + static final void method824(int i) { + Canvas_Sub1.anInt67 = i; + for (int i_22_ = 0; i_22_ < StaticElementRenderer.anInt6451; i_22_++) { + for (int i_23_ = 0; i_23_ < NodeSub41.anInt7054; i_23_++) { + if (Component335.aClass357ArrayArrayArray2029[i][i_22_][i_23_] == null) Component335.aClass357ArrayArrayArray2029[i][i_22_][i_23_] = new Component186(i); + } + } + } + + public static void method825(int i) { + anIntArray1450 = null; + if (i > -73) anIntArray1450 = null; + } + + static final void method826(int i, int i_24_, int i_25_, int i_26_, int i_27_, int i_28_, GraphicsToolkit var_ha) { + if ((RadixParser.aClass105_2309 == null || RSARequest.aClass105_9658 == null || RSARequest.aClass105_9659 == null) && Component158.aClass45_322.isSingletonFileReady(false, DisplayModeManagerContainer58.anInt10257) && Component158.aClass45_322.isSingletonFileReady(false, Component55.anInt3937) && Component158.aClass45_322.isSingletonFileReady(false, NpcComposition.anInt1387)) { + Component170 class207 = Component170.method1521(Component158.aClass45_322, Component55.anInt3937, 0); + RSARequest.aClass105_9658 = var_ha.method3691(class207, true); + class207.method1518(); + DisplayModeManagerContainer74.aClass105_4808 = var_ha.method3691(class207, true); + RadixParser.aClass105_2309 = (var_ha.method3691(Component170.method1521(Component158.aClass45_322, DisplayModeManagerContainer58.anInt10257, 0), true)); + Component170 class207_29_ = Component170.method1521(Component158.aClass45_322, NpcComposition.anInt1387, 0); + RSARequest.aClass105_9659 = var_ha.method3691(class207_29_, true); + class207_29_.method1518(); + Component338.aClass105_1706 = var_ha.method3691(class207_29_, true); + } + anInt1454++; + if (RadixParser.aClass105_2309 != null && RSARequest.aClass105_9658 != null && RSARequest.aClass105_9659 != null) { + int i_30_ = (-(RSARequest.aClass105_9659.method971() * 2) + i_25_) / RadixParser.aClass105_2309.method971(); + for (int i_31_ = 0; i_31_ < i_30_; i_31_++) + RadixParser.aClass105_2309.method974(i_24_ + (RSARequest.aClass105_9659.method971() - -(i_31_ * RadixParser.aClass105_2309.method971())), -RadixParser.aClass105_2309.method969() + (i_28_ + i_26_)); + int i_32_ = ((i_26_ - (i + RSARequest.aClass105_9659.method969())) / RSARequest.aClass105_9658.method969()); + for (int i_33_ = 0; i_33_ < i_32_; i_33_++) { + RSARequest.aClass105_9658.method974(i_24_, (RSARequest.aClass105_9658.method969() * i_33_ + (i_28_ + i))); + DisplayModeManagerContainer74.aClass105_4808.method974(-DisplayModeManagerContainer74.aClass105_4808.method971() + i_25_ + i_24_, (RSARequest.aClass105_9658.method969() * i_33_ + i + i_28_)); + } + RSARequest.aClass105_9659.method974(i_24_, (-RSARequest.aClass105_9659.method969() + i_28_ + i_26_)); + Component338.aClass105_1706.method974(i_24_ + (i_25_ + -RSARequest.aClass105_9659.method971()), i_28_ - (-i_26_ + RSARequest.aClass105_9659.method969())); + } + int i_34_ = -24 % ((i_27_ - 85) / 35); + } + + DisplayModeManagerContainer26(GameType class230, int i, CacheStore class45) { + try { + aClass45_1460 = class45; + aClass45_1460.getFileCount(0, 29); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("lca.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/misc/DisplayModeManagerContainer260.java b/client/misc/DisplayModeManagerContainer260.java new file mode 100644 index 000000000..74b403f82 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer260.java @@ -0,0 +1,214 @@ +/* DisplayModeManagerContainer260 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.util.zip.CRC32; + +final class DisplayModeManagerContainer260 +/** + * RENAMED from `Class287` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3685; + static int anInt3686; + int anInt3687; + Interface12[] anInterface12Array3688; + static int anInt3689; + int anInt3690; + static CRC32 aCRC32_3691 = new CRC32(); + static int anInt3692; + static int anInt3693; + static int anInt3694; + static int anInt3695 = 0; + + static final void method2178(RenderableObject class318_sub1, int i, DisplayModeManagerContainer167 class17, int i_0_) { + try { + anInt3694++; + if (Component335.anInt2021 < 50 && (class17 != null && class17.anIntArrayArray264 != null && (class17.anIntArrayArray264.length > i) && class17.anIntArrayArray264[i] != null)) { + int i_1_ = class17.anIntArrayArray264[i][0]; + int i_2_ = i_1_ >> 8; + int i_3_ = (i_1_ & 0xf1) >> 5; + if (i_0_ > -13) anInt3695 = 0; + if (class17.anIntArrayArray264[i].length > 1) { + int i_4_ = (int) ((double) (class17.anIntArrayArray264[i]).length * Math.random()); + if (i_4_ > 0) i_2_ = class17.anIntArrayArray264[i][i_4_]; + } + int i_5_ = i_1_ & 0x1f; + int i_6_ = 256; + if (class17.anIntArray236 != null && class17.anIntArray265 != null) i_6_ = ((int) (Math.random() * (double) (-(class17.anIntArray236[i]) + (class17.anIntArray265[i]))) + class17.anIntArray236[i]); + int i_7_ = (class17.anIntArray253 == null ? 255 : class17.anIntArray253[i]); + if (i_5_ == 0) { + if (Component72.localPlayer == class318_sub1) { + if (!class17.aBoolean268) NodeSub20.method2947(true, i_7_, i_2_, i_3_, 0, i_6_); + else AudioLine.method2090(i_3_, i_6_, false, (byte) -35, i_7_, 0, i_2_); + } + } else if (Component192.aClass348_Sub51_3959.aClass239_Sub26_7234.method1838(-32350) != 0) { + int i_8_ = (class318_sub1.x + -256 >> 9); + int i_9_ = (class318_sub1.y - 256 >> 9); + int i_10_ = ((Component72.localPlayer != class318_sub1) ? ((class318_sub1.plane << 24) + ((i_8_ << 16) + (i_9_ << 8)) + i_5_) : 0); + GlFramebufferTexture.aClass10Array8531[Component335.anInt2021++] = new RunescapeInfo((class17.aBoolean268 ? (byte) 2 : (byte) 1), i_2_, i_3_, 0, i_7_, i_10_, i_6_, class318_sub1); + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("vp.A(" + (class318_sub1 != null ? "{...}" : "null") + ',' + i + ',' + (class17 != null ? "{...}" : "null") + ',' + i_0_ + ')')); + } + } + + /** + * DJB2-style string hash: {@code h = h * 31 + c} via {@code (h << 5) - h + c}. + * Used as LRU/hashtable keys for string reverse lookups. + */ + static final long hashString(String string, byte i) { + anInt3689++; + int i_11_ = string.length(); + long l = 0L; + if (i <= 98) method2184('\uffed', -66); + for (int i_12_ = 0; i_12_ < i_11_; i_12_++) + l = (l << 5) + -l + (long) string.charAt(i_12_); + return l; + } + + public static void method2180(byte i) { + aCRC32_3691 = null; + if (i > -70) anInt3695 = 92; + } + + static final void method2181(long l, int i, int i_13_, int i_14_, int i_15_, DisplayModeManagerContainer57 class46, int i_16_, int i_17_, Shader var_aa) { + try { + anInt3686++; + int i_18_ = i_14_ * i_14_ + i_16_ * i_16_; + if (l >= (long) i_18_) { + if (i_13_ > -49) method2178(null, -119, null, 58); + int i_19_ = Math.min(class46.anInt709 / 2, class46.anInt789 / 2); + if (i_18_ > i_19_ * i_19_) { + i_19_ -= 10; + int i_20_; + if (DefinitionSub21.cameraMode == 4) i_20_ = (int) Component112.cameraYaw & 0x3fff; + else i_20_ = 0x3fff & ((int) Component112.cameraYaw + CacheNodeSub2.anInt10483); + int i_21_ = DisplayModeManagerContainer88.anIntArray1207[i_20_]; + int i_22_ = DisplayModeManagerContainer88.anIntArray1204[i_20_]; + if (DefinitionSub21.cameraMode != 4) { + i_22_ = i_22_ * 256 / (Component182.anInt9750 - -256); + i_21_ = 256 * i_21_ / (Component182.anInt9750 - -256); + } + int i_23_ = i_22_ * i_16_ + i_21_ * i_14_ >> 14; + int i_24_ = i_22_ * i_14_ + -(i_21_ * i_16_) >> 14; + double d = Math.atan2(i_23_, i_24_); + int i_25_ = (int) ((double) i_19_ * Math.sin(d)); + int i_26_ = (int) (Math.cos(d) * (double) i_19_); + Component33.aClass105Array2640[i_17_].method981(((float) class46.anInt709 / 2.0F + (float) i_15_ + (float) i_25_), ((float) i + (float) class46.anInt789 / 2.0F - (float) i_26_), 4096, (int) (65535.0 * (-d / 6.283185307179586))); + } else DisplayModeManagerContainer346.method1211(i, Component210.aClass105Array5294[i_17_], i_15_, class46, var_aa, i_14_, 2, i_16_); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("vp.D(" + l + ',' + i + ',' + i_13_ + ',' + i_14_ + ',' + i_15_ + ',' + (class46 != null ? "{...}" : "null") + ',' + i_16_ + ',' + i_17_ + ',' + (var_aa != null ? "{...}" : "null") + ')')); + } + } + + public DisplayModeManagerContainer260() { + /* empty */ + } + + private final Interface12 method2182(boolean bool, DisplayModeManagerContainer369 class223, Buffer class348_sub49) { + try { + anInt3692++; + if (Component386.aClass223_2868 == class223) return DisplayModeManagerContainer292.method1312((byte) 64, class348_sub49); + if (Buffer.aClass223_7175 == class223) return SpriteSub1.method987(743571200, class348_sub49); + if (MatrixSub1.aClass223_5689 == class223) return DisplayModeManagerContainer165.method2287(class348_sub49, (byte) -112); + if (class223 == DisplayModeManagerContainer332.aClass223_4997) return Component244.method2660((byte) 26, class348_sub49); + if (bool != true) method2180((byte) -104); + if (class223 == DefinitionSub21.aClass223_9274) return Component383.method2189(class348_sub49, 86); + if (class223 == Component55.aClass223_3934) return Component298.method179(16533, class348_sub49); + if (Component316.aClass223_2489 == class223) return NodeSub46.method3322(0, class348_sub49); + if (class223 == RadixParser.aClass223_2307) return Component230.decodeMapElement(-27794, class348_sub49); + if (Component90.aClass223_2045 == class223) return ShaderCompilerSub2.method2612(class348_sub49, true); + if (Component38.aClass223_2507 == class223) return DebugPanicSub1.method2128(-1730, class348_sub49); + return null; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("vp.F(" + bool + ',' + (class223 != null ? "{...}" : "null") + ',' + (class348_sub49 != null ? "{...}" : "null") + ')')); + } + } + + final void method2183(Buffer class348_sub49, int i) { + this.anInt3690 = class348_sub49.readMedium(-1); + anInt3693++; + this.anInt3687 = class348_sub49.readUnsignedShort(842397944); + this.anInterface12Array3688 = new Interface12[class348_sub49.readUnsignedByte(i ^ 0x557d)]; + DisplayModeManagerContainer369[] class223s = Component248.method285(-99); + int i_27_ = 0; + if (i != 21890) method2180((byte) 25); + for (/**/; this.anInterface12Array3688.length > i_27_; i_27_++) + this.anInterface12Array3688[i_27_] = method2182(true, class223s[(class348_sub49.readUnsignedByte(NodeSub21.bitwiseXor(i, 21885)))], class348_sub49); + } + + static final char method2184(char c, int i) { + anInt3685++; + if (i != -10072) anInt3695 = -123; + int i_28_ = c; + while_97_: + do { + while_96_: + do { + while_95_: + do { + while_94_: + do { + while_93_: + do { + while_92_: + do { + while_91_: + do { + while_90_: + do { + while_89_: + do { + do { + if (i_28_ != 32 && (i_28_ != 160) && (i_28_ != 95) && i_28_ != 45) { + if ((i_28_ != 91) && (i_28_ != 93) && i_28_ != 35) { + if ((i_28_ != 224) && (i_28_ != 225) && i_28_ != 226 && (i_28_ != 228) && i_28_ != 227 && i_28_ != 192 && (i_28_ != 193) && (i_28_ != 194) && (i_28_ != 196) && i_28_ != 195) { + if (i_28_ != 232 && i_28_ != 233 && (i_28_ != 234) && (i_28_ != 235) && i_28_ != 200 && i_28_ != 201 && i_28_ != 202 && (i_28_ != 203)) { + if ((i_28_ != 237) && (i_28_ != 238) && (i_28_ != 239) && (i_28_ != 205) && (i_28_ != 206) && (i_28_ != 207)) { + if ((i_28_ != 242) && (i_28_ != 243) && (i_28_ != 244) && (i_28_ != 246) && (i_28_ != 245) && (i_28_ != 210) && (i_28_ != 211) && (i_28_ != 212) && (i_28_ != 214) && (i_28_ != 213)) { + if (i_28_ != 249 && i_28_ != 250 && i_28_ != 251 && i_28_ != 252 && i_28_ != 217 && i_28_ != 218 && i_28_ != 219 && i_28_ != 220) { + if (i_28_ != 231 && i_28_ != 199) { + if (i_28_ != 255 && i_28_ != 376) { + if (i_28_ != 241 && i_28_ != 209) { + if (i_28_ == 223) break while_96_; + break while_97_; + } + } else break while_94_; + break while_95_; + } + } else break while_92_; + break while_93_; + } + } else break while_90_; + break while_91_; + } + } else break; + break while_89_; + } + } else return '_'; + return c; + } while (false); + return 'a'; + } while (false); + return 'e'; + } while (false); + return 'i'; + } while (false); + return 'o'; + } while (false); + return 'u'; + } while (false); + return 'c'; + } while (false); + return 'y'; + } while (false); + return 'n'; + } while (false); + return 'b'; + } while (false); + return Character.toLowerCase(c); + } +} diff --git a/client/misc/DisplayModeManagerContainer271.java b/client/misc/DisplayModeManagerContainer271.java new file mode 100644 index 000000000..daa541526 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer271.java @@ -0,0 +1,54 @@ +/* DisplayModeManagerContainer271 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer271 +/** + * RENAMED from `Class39` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt514; + static DisplayModeManagerContainer238 aClass74_515 = new DisplayModeManagerContainer238(7, 7); + static int anInt516; + long aLong517; + static CacheStore aClass45_518; + private final GlExtensionManager aClass377_519; + static DisplayModeManagerContainer67 aClass112_520; + static FontGlyphCache aClass323_521; + + static final void method366(Object[] objects, byte i, int[] is) { + do { + try { + AudioLine.method2092(is.length - 1, 0, is, -119, objects); + anInt514++; + if (i <= -97) break; + method367(-67); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ifa.B(" + (objects != null ? "{...}" : "null") + ',' + i + ',' + (is != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + protected final void finalize() throws Throwable { + aClass377_519.method3966(this.aLong517, 34192); + anInt516++; + super.finalize(); + } + + public static void method367(int i) { + aClass45_518 = null; + aClass74_515 = null; + aClass323_521 = null; + if (i == -15833) aClass112_520 = null; + } + + DisplayModeManagerContainer271(GlExtensionManager class377, long l, int i) { + try { + this.aLong517 = l; + aClass377_519 = class377; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ifa.(" + (class377 != null ? "{...}" : "null") + ',' + l + ',' + i + ')')); + } + } +} diff --git a/client/misc/DisplayModeManagerContainer273.java b/client/misc/DisplayModeManagerContainer273.java new file mode 100644 index 000000000..d666bd55c --- /dev/null +++ b/client/misc/DisplayModeManagerContainer273.java @@ -0,0 +1,4198 @@ +// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov. +// Jad home page: http://www.kpdus.com/jad.html +// Decompiler options: packimports(3) +// Source File Name: DisplayModeManagerContainer273.java + + +final class DisplayModeManagerContainer273 +/** + * RENAMED from `Class130_Sub1` (JODE-obfuscated). + * Evidence: subclass of Component387 (hierarchy) + */ extends Component387 { + + static final void method1131(int i) { + int j = 64 / ((11 - i) / 54); + anInt5795++; + NodeCache.aHa1098.L(Component38.anInt2500, Component192.aClass348_Sub51_3959.aClass239_Sub16_7247.method1789(-32350) != 1 ? -1 : Component129.anInt486 - -256 << 2, 0); + } + + static final boolean method1132(int i, int j, int k) { + if (i != 1673) return true; + anInt5796++; + return CacheNode.method3194(k, j, (byte) 124) || Component191.method1379(4, j, k); + } + + public static void method1133(int i) { + if (i <= 38) cameraFocusX = 61; + aClass144_5800 = null; + } + + DisplayModeManagerContainer273(Component255[] aclass58) { + aClass58Array5801 = aclass58; + } + + static final void method1134(int i) { + Buffer.setClientState(2, 11); + anInt5802++; + if (i < 28) aClass144_5800 = null; + Component281.method2282(-12648); + BuildInfo.maybeGc(); + } + + static final void method1135(int i) { + Component181.aClass45_1541.discardMode = 1; + anInt5798++; + HashNodeSub10.method3211((byte) -119); + MatrixSub2.anInt5740 = 0; + Component241.anInt2933 = 0; + GlToolkitSub2.anInt7661 = 0; + Component184.anInt1991 = 0; + Component163.anInt3175 = 0; + NodeSub51.anInt7266 = 0; + Applet_Sub1.anInt6 = 0; + Node.anInt4289 = 0; + DisplayModeManagerContainer347.anInt3584 = 0; + NodeCache.anInt1085 = 0; + DisplayModeManagerContainer77.anInt1827 = 0; + ReliefShader.anInt2519 = 0; + Component239.anInt4551 = 0; + DisplayModeManagerContainer194.anInt5098 = 0; + WaterSurfaceShader.anInt6245 = 0; + Component237.anInt3021 = 0; + DisplayModeManagerContainer306.anInt4781 = 0; + Component75.anInt2283 = 0; + DebugPanicSub1.anInt8495 = 0; + AbstractShaderSub4.anInt7309 = 0; + DefinitionSub35.anInt9446 = 0; + NsnDefinition.anInt9246 = 0; + ShaderLinker.anInt10154 = 0; + NodeList.anInt3332 = 0; + RSACipher.anInt4902 = 0; + Component301.anInt4110 = 0; + GlWaterShader.anInt8828 = 0; + BufferCacheSub2.anInt8262 = 0; + Component349.anInt10004 = 0; + ImageCacheStore.anInt4018 = 0; + Component193.anInt3247 = 0; + InputStream_Sub1.anInt73 = 0; + MatrixSub2.anInt5719 = 0; + Component171.anInt10111 = 0; + Component212.anInt9987 = 0; + Component80.anInt3814 = 0; + Component21.anInt3653 = 0; + DisplayModeManagerContainer190.anInt5488 = 0; + Component160.anInt4354 = 0; + Component20.anInt6055 = 0; + GlExtensionManager.anInt9897 = 0; + DefinitionSub6.anInt9137 = 0; + Component2.anInt8357 = 0; + Component103.anInt4195 = 0; + WaterShaderSub8.anInt7349 = 0; + HashNode.anInt7064 = 0; + DisplayModeManagerContainer190.anInt5468 = 0; + Component197.anInt10089 = 0; + ResourceLoader.anInt3899 = 0; + GlToolkitSub2.anInt7624 = 0; + DisplayModeManagerContainer199.anInt5851 = 0; + SpriteAtlasShader.anInt6261 = 0; + NodeSub5.anInt6619 = 0; + DisplayModeManagerContainer351.anInt2672 = 0; + DisplayModeManagerContainer64.anInt9026 = 0; + Component235.anInt3377 = 0; + RadixText.anInt6123 = 0; + GlToolkitSub2.anInt7690 = 0; + CacheNode.anInt9546 = 0; + Component25.anInt6017 = 0; + ShaderSub3.anInt5203 = 0; + Component134.anInt5810 = 0; + SpriteAtlasShader.anInt6251 = 0; + DisplayModeManagerContainer292.anInt5080 = 0; + Applet_Sub1.anInt19 = 0; + NodeCache.anInt1093 = 0; + DisplayModeManagerContainer249.anInt4667 = 0; + WorldNameText.anInt8641 = 0; + DisplayModeManagerContainer105.anInt4880 = 0; + Component118.anInt4957 = 0; + CacheStore.anInt657 = 0; + Applet_Sub1.anInt12 = 0; + Component289.anInt10123 = 0; + Component283.anInt4618 = 0; + Buffer.anInt7166 = 0; + Component337.anInt3646 = 0; + Npc.anInt10504 = 0; + Player.anInt10547 = 0; + Component71.anInt6059 = 0; + Connection.anInt2646 = 0; + DisplayModeManagerContainer190.anInt5480 = 0; + SoftwareFallbackShader.anInt7384 = 0; + DisplayModeManagerContainer232.anInt4690 = 0; + HashTable.anInt1648 = 0; + DisplayModeManagerContainer26.anInt1455 = 0; + BrowserUrlOpener.anInt8940 = 0; + MenuOpener.anInt4833 = 0; + DisplayModeManagerContainer57.anInt825 = 0; + Component185.anInt5304 = 0; + Component315.anInt3162 = 0; + OggUrlStream.anInt8999 = 0; + Component315.anInt3160 = 0; + BitmapFont.anInt4054 = 0; + SoftwareFallbackShader.anInt7389 = 0; + Npc.anInt10496 = 0; + GlExtensionManager.anInt9842 = 0; + GlToolkitSub3.anInt7914 = 0; + DisplayModeManagerContainer105.anInt4876 = 0; + Component160.anInt4357 = 0; + WaterShaderSub8.anInt7360 = 0; + Component182.anInt9744 = 0; + AudioLine.anInt3609 = 0; + SpriteSub2.anInt8426 = 0; + Component191.anInt2460 = 0; + TheoraVideoPlayer.anInt1493 = 0; + OggUrlStream.anInt8998 = 0; + Component231.anInt329 = 0; + GlToolkitSub2.anInt7596 = 0; + NpcComposition.anInt1341 = 0; + DisplayModeManagerContainer58.anInt10311 = 0; + GlToolkitSub3.anInt8026 = 0; + DisplayModeManagerContainer259.anInt3431 = 0; + NodeSub45.anInt7104 = 0; + Component69.anInt3656 = 0; + DefinitionSub22.anInt9295 = 0; + DisplayModeManagerContainer370.anInt1132 = 0; + BuildType.anInt2990 = 0; + NodeSub46.anInt7114 = 0; + Component364.anInt8337 = 0; + NodeSub29.anInt6910 = 0; + NewsFetcher.anInt4203 = 0; + Component114.anInt3836 = 0; + DisplayModeManagerContainer282.anInt5562 = 0; + NodeSub41.anInt7047 = 0; + HelveticaFont.anInt2628 = 0; + Component39.anInt2253 = 0; + NodeSub16Sub2.anInt8865 = 0; + OpenGlShader.anInt7410 = 0; + ShaderProgramSub9.anInt6307 = 0; + BufferCacheSub3.anInt8304 = 0; + DisplayModeManagerContainer288.anInt8625 = 0; + NodeSub22.anInt6858 = 0; + DisplayModeManagerContainer89.anInt8367 = 0; + BasicMouseHandler.anInt7434 = 0; + Component171.anInt10102 = 0; + GlToolkitSub2.anInt7552 = 0; + DisplayModeManagerContainer282.anInt5585 = 0; + Component255.anInt1066 = 0; + HashNodeSub10.anInt9560 = 0; + Component239.anInt4553 = 0; + Component126.anInt4465 = 0; + DisplayModeManagerContainer322.anInt4280 = 0; + DisplayModeManagerContainer199.anInt5854 = 0; + NodeSub16Sub2.anInt8881 = 0; + Component171.anInt10104 = 0; + ShaderLinker.anInt10170 = 0; + Player.anInt10518 = 0; + KeyStoreLoader.anInt1632 = 0; + GlToolkitSub2.anInt7632 = 0; + Component377.anInt849 = 0; + GlExtensionManager.anInt9818 = 0; + DisplayModeManagerContainer190.anInt5409 = 0; + DisplayModeManagerContainer254.anInt2140 = 0; + Player.anInt10559 = 0; + Component258.anInt1969 = 0; + Component355.anInt3260 = 0; + Component19.anInt8609 = 0; + RenderableSub4.anInt6413 = 0; + NpcComposition.anInt1351 = 0; + DefinitionSub29.anInt9371 = 0; + Component275.anInt2689 = 0; + Component141.anInt9962 = 0; + Component276.anInt2598 = 0; + GlExtensionManager.anInt9824 = 0; + BitmapFont.anInt4051 = 0; + HashNodeSub7.anInt9540 = 0; + BrowserUrlOpener.anInt8951 = 0; + Component349.anInt10007 = 0; + Component48.anInt4334 = 0; + GlToolkitSub3.anInt8054 = 0; + Component210.anInt5286 = 0; + DisplayModeManagerContainer220.anInt288 = 0; + GameType.anInt2982 = 0; + Component128.anInt1105 = 0; + Component197.anInt10091 = 0; + Component137.anInt1922 = 0; + PrimitiveTypeDefinition.anInt9093 = 0; + GlToolkitSub2.anInt7633 = 0; + MatrixSub3.anInt5773 = 0; + DefinitionSub26.anInt9350 = 0; + Component373.anInt461 = 0; + DisplayModeManagerContainer89.anInt8377 = 0; + NodeList.anInt3330 = 0; + DefinitionSub26.anInt9353 = 0; + Component189.anInt3824 = 0; + Component98.anInt5947 = 0; + DisplayModeManagerContainer199.anInt5855 = 0; + DefinitionSub33.anInt9425 = 0; + GlToolkitSub2.anInt7625 = 0; + PrimitiveTypeDefinition.anInt9087 = 0; + Component364.anInt8334 = 0; + BufferCacheSub2.anInt8244 = 0; + Component19.anInt8617 = 0; + DisplayModeManagerContainer77.anInt1861 = 0; + NodeSub18.anInt6822 = 0; + Component386.anInt2865 = 0; + Component354.anInt219 = 0; + JagTheoraDecoder.anInt994 = 0; + BufferCacheSub3.anInt8290 = 0; + DisplayModeManagerContainer282.anInt5577 = 0; + GlToolkitSub2.anInt7647 = 0; + ShaderProgramSub2.anInt6209 = 0; + DisplayModeManagerContainer254.anInt2149 = 0; + DisplayModeManagerContainer343.anInt8734 = 0; + InterfaceRenderer.anInt5027 = 0; + Component225.anInt471 = 0; + DisplayModeManagerContainer57.anInt766 = 0; + Component336.anInt402 = 0; + PlayerState.anInt7073 = 0; + Component119.anInt3395 = 0; + Component325.anInt1192 = 0; + DisplayModeManagerContainer172.anInt547 = 0; + ShaderCompilerSub2.anInt6516 = 0; + DisplayModeManagerContainer190.anInt5484 = 0; + Component290.anInt2184 = 0; + client.anInt5178 = 0; + DisplayModeManagerContainer260.anInt3685 = 0; + ResourceLoader.anInt3911 = 0; + DisplayModeManagerContainer282.anInt5615 = 0; + DisplayModeManagerContainer295.anInt5917 = 0; + Component183.anInt1748 = 0; + DisplayModeManagerContainer190.anInt5417 = 0; + Component122.anInt1570 = 0; + HuffmanDecoder.anInt3775 = 0; + InterfaceRenderer.anInt5049 = 0; + Component372.anInt6045 = 0; + GlExtensionManager.anInt9854 = 0; + ImageTagText.anInt2160 = 0; + DisplayModeManagerContainer190.anInt5447 = 0; + DisplayModeManagerContainer190.anInt5496 = 0; + Component269.anInt8758 = 0; + LoadingState.anInt1019 = 0; + DisplayModeInfo.anInt1049 = 0; + Component212.anInt9978 = 0; + DisplayModeManagerContainer194.anInt5103 = 0; + DisplayModeManagerContainer64.anInt9021 = 0; + Buffer.anInt7160 = 0; + NodeSub44.anInt7097 = 0; + DisplayModeManagerContainer232.anInt4695 = 0; + Component325.anInt1196 = 0; + Component113.anInt2378 = 0; + DisplayModeManagerContainer174.anInt10404 = 0; + Component357.anInt2475 = 0; + CommandHandler.anInt1438 = 0; + Component256.anInt6104 = 0; + Buffer.anInt7172 = 0; + Component239.anInt4547 = 0; + TheoraVideoPlayer.anInt1504 = 0; + Component315.anInt3163 = 0; + DisplayModeManagerContainer105.anInt4867 = 0; + Component364.anInt8351 = 0; + OutputStream_Sub2.anInt105 = 0; + Component30.anInt1873 = 0; + NodeSub13.anInt6755 = 0; + NodeSub44.anInt7096 = 0; + LibraryCreditsText.anInt5958 = 0; + BrowserUrlOpener.anInt8897 = 0; + ShaderSub3.anInt5205 = 0; + Component188.anInt6139 = 0; + Buffer.anInt7150 = 0; + Component141.anInt9944 = 0; + ImageCacheStore.anInt4034 = 0; + Npc.anInt10495 = 0; + DefinitionSub8.anInt9155 = 0; + NodeCache.anInt1091 = 0; + DisplayModeManagerContainer292.anInt5081 = 0; + CacheStore.anInt646 = 0; + TcpSocketStream.anInt5829 = 0; + DisplayModeManagerContainer190.anInt5408 = 0; + Component315.anInt3157 = 0; + Buffer.anInt7161 = 0; + Component66.anInt6025 = 0; + Connection.anInt2666 = 0; + Component197.anInt10065 = 0; + GlExtensionManager.anInt9812 = 0; + DisplayModeManagerContainer57.anInt783 = 0; + GlToolkitSub3.anInt8012 = 0; + NodeSub14.anInt6761 = 0; + Component203.anInt8774 = 0; + DisplayModeManagerContainer77.anInt1869 = 0; + Component212.anInt9996 = 0; + Component25.anInt6014 = 0; + DefinitionSub9.anInt9166 = 0; + Component349.anInt10012 = 0; + DisplayModeManagerContainer74.anInt4821 = 0; + Component338.anInt1699 = 0; + DisplayModeManagerContainer190.anInt5453 = 0; + DisplayModeManagerContainer190.anInt5526 = 0; + Component296.anInt4653 = 0; + AbstractShaderSub3.anInt7298 = 0; + ReferenceTable.anInt3741 = 0; + Component143.anInt2322 = 0; + DefinitionSub29.anInt9382 = 0; + ArbShaderProgram.anInt6192 = 0; + AbstractShaderSub3.anInt7303 = 0; + GlToolkitSub2.anInt7680 = 0; + GlToolkitSub2.anInt7551 = 0; + OggUrlStream.anInt8990 = 0; + Component380.anInt4994 = 0; + Component181.anInt1539 = 0; + Component386.anInt2867 = 0; + Component305.anInt9928 = 0; + DisplayModeManagerContainer105.anInt4871 = 0; + RadixText.anInt6117 = 0; + DisplayModeManagerContainer196.anInt4229 = 0; + TeleportHandler.anInt4447 = 0; + Component189.anInt3818 = 0; + Component255.anInt1056 = 0; + DisplayModeManagerContainer282.anInt5532 = 0; + Component385.anInt2194 = 0; + DisplayModeManagerContainer23.anInt1526 = 0; + Component219.anInt6366 = 0; + NodeSub1.anInt6556 = 0; + Buffer.anInt7194 = 0; + NsnDefinition.anInt9248 = 0; + DefinitionGroup.anInt9525 = 0; + DisplayModeManagerContainer306.anInt4773 = 0; + Component82.anInt427 = 0; + client.anInt5183 = 0; + ShaderSub2.anInt5198 = 0; + Component2.anInt8364 = 0; + ItemDefinitionProvider.anInt3280 = 0; + RSARequest.anInt9647 = 0; + DisplayModeManagerContainer105.anInt4887 = 0; + Component335.anInt2036 = 0; + Component62.anInt2086 = 0; + DebugPanic.anInt4742 = 0; + RuntimeException_Sub1.anInt4598 = 0; + Component41.anInt3149 = 0; + RadixParser.anInt2300 = 0; + GlToolkitSub3.anInt8046 = 0; + Component75.anInt2284 = 0; + ImageProducerSprite.anInt9070 = i; + DisplayModeManagerContainer159.anInt2748 = 0; + Component29.anInt10059 = 0; + Component298.anInt4629 = 0; + FriendsIgnoreList.anInt3482 = 0; + NodeCache.anInt1097 = 0; + Component236.anInt4013 = 0; + Component373.anInt457 = 0; + Component317.anInt8677 = 0; + LogicError.anInt1466 = 0; + BasicMouseHandler.anInt7439 = 0; + DisplayModeManagerContainer190.anInt5405 = 0; + Component323.anInt5875 = 0; + ResourceLoader.anInt3901 = 0; + ParametricDefinition.anInt9106 = 0; + ShaderLinker.anInt10166 = 0; + GlToolkitSub2.anInt7603 = 0; + GlExtensionManager.anInt9822 = 0; + GlToolkitSub2.anInt7536 = 0; + AudioLine.anInt3611 = 0; + Component261.anInt4826 = 0; + Component237.anInt3017 = 0; + GlToolkitSub3.anInt7904 = 0; + Component44.anInt867 = 0; + Component289.anInt10121 = 0; + CacheNodeSub1.anInt10469 = 0; + InterfaceRenderer.anInt5038 = 0; + TheoraVideoPlayer.anInt1494 = 0; + Component240.anInt1111 = 0; + GlExtensionManager.anInt9898 = 0; + GlToolkitSub2.anInt7670 = 0; + DefinitionSub23.anInt9315 = 0; + Component300.anInt3549 = 0; + MatrixSub2.anInt5702 = 0; + HashNodeSub13.anInt9618 = 0; + Component188.anInt6141 = 0; + Connection.anInt2655 = 0; + Definition.anInt7037 = 0; + GpiLogger.anInt8847 = 0; + DisplayModeManagerContainer190.anInt5481 = 0; + Component72.anInt1908 = 0; + client.anInt5180 = 0; + LruCache.anInt4387 = 0; + DisplayModeManagerContainer343.anInt8738 = 0; + DisplayModeManagerContainer96.anInt4705 = 0; + Component252.anInt10188 = 0; + Canvas_Sub1.anInt66 = 0; + Component251.anInt5818 = 0; + InflaterDecompressor.anInt2074 = 0; + NodeSub1Sub2.anInt8812 = 0; + DefinitionSub23.anInt9316 = 0; + GlToolkitSub2.anInt7674 = 0; + DisplayModeManagerContainer190.anInt5410 = 0; + CacheNodeSub1.anInt10472 = 0; + Component97.anInt1535 = 0; + Cp1252Decoder.anInt5220 = 0; + ArbShaderProgram.anInt6202 = 0; + Component66.anInt6023 = 0; + GlToolkitSub3.anInt7991 = 0; + GlTexture.anInt8539 = 0; + Component212.anInt10002 = 0; + CurvePreset.anInt9205 = 0; + DefinitionSub11.anInt9186 = 0; + Component11.anInt3567 = 0; + GlToolkitSub2.anInt7529 = 0; + Component212.anInt9977 = 0; + DisplayModeManagerContainer173.anInt4242 = 0; + Buffer.anInt7179 = 0; + ClientScriptExecutor.anInt1153 = 0; + DisplayModeManagerContainer196.anInt4237 = 0; + Component325.anInt1191 = 0; + Component141.anInt9964 = 0; + CookieManager.anInt6303 = 0; + Component117.anInt4370 = 0; + DisplayModeManagerContainer345.anInt163 = 0; + RunescapeInfo.anInt175 = 0; + GlToolkitSub3.anInt8066 = 0; + JagTheoraDecoder.anInt978 = 0; + DisplayModeManagerContainer174.anInt10406 = 0; + Component315.anInt3158 = 0; + TheoraVideoPlayer.anInt1492 = 0; + DisplayModeManagerContainer292.anInt5073 = 0; + AudioLine.anInt3608 = 0; + KeyFocusHandler.anInt6532 = 0; + BufferCacheSub2.anInt8238 = 0; + Component168.anInt3951 = 0; + MatrixSub2.anInt5738 = 0; + NativeLibLoader.anInt4157 = 0; + Component339.anInt3137 = 0; + DefinitionSub30.anInt9395 = 0; + DisplayModeManagerContainer213.anInt1080 = 0; + Component267.anInt2976 = 0; + DisplayModeManagerContainer77.anInt1850 = 0; + DisplayModeManagerContainer347.anInt3582 = 0; + Component326.anInt5268 = 0; + Component256.anInt6105 = 0; + Component225.anInt470 = 0; + InputHandler.anInt4277 = 0; + Applet_Sub1.anInt39 = 0; + ImageCache.anInt2567 = 0; + DisplayModeManagerContainer104.anInt10362 = 0; + Node.anInt4296 = 0; + PauseTimer.anInt497 = 0; + GlToolkitSub3.anInt8081 = 0; + SpriteSub1.anInt8409 = 0; + DisplayModeManagerContainer77.anInt1837 = 0; + ShaderLinker.anInt10161 = 0; + NodeSub51.anInt7242 = 0; + TcpSocketStream.anInt5835 = 0; + Component241.anInt2903 = 0; + Component283.anInt4616 = 0; + SpriteAtlasShader.anInt6250 = 0; + GlToolkitSub2.anInt7527 = 0; + DisplayModeManagerContainer105.anInt4878 = 0; + HashNodeSub16Sub1.anInt10451 = 0; + HashNodeSub2.anInt8568 = 0; + DisplayModeManagerContainer348.anInt5893 = 0; + GlToolkitSub3.anInt8064 = 0; + ShaderCompiler.anInt4101 = 0; + SpriteSub1.anInt8420 = 0; + NodeSub32.anInt6931 = 0; + RequestProcessor.anInt2266 = 0; + Component112.anInt3942 = 0; + Component366.anInt3076 = 0; + ColoredTextBuilder.anInt4067 = 0; + Component252.anInt10192 = 0; + CacheNodeSub2.anInt10485 = 0; + Component158.anInt321 = 0; + GlExtensionManager.anInt9836 = 0; + GpiLogger.anInt8846 = 0; + Component319.anInt210 = 0; + Component139.anInt6129 = 0; + BufferCacheSub3.anInt8292 = 0; + DebugPanicSub1.anInt8487 = 0; + Component329.anInt5982 = 0; + GlToolkitSub2.anInt7659 = 0; + Component296.anInt4662 = 0; + NodeSub35.anInt6975 = 0; + GlTexture.anInt8544 = 0; + GlExtensionManager.anInt9873 = 0; + JagTheoraDecoder.anInt989 = 0; + GlToolkitSub2.anInt7727 = 0; + LogicError.anInt1461 = 0; + Component212.anInt9970 = 0; + GlToolkitSub3.anInt7946 = 0; + Component44.anInt958 = 0; + Component339.anInt3140 = 0; + DisplayModeManagerContainer123.anInt1302 = 0; + GlToolkitSub2.anInt7697 = 0; + DefinitionSub30.anInt9393 = 0; + Buffer.anInt7203 = 0; + BrowserUrlOpener.anInt8901 = 0; + HashNodeSub1.anInt9493 = 0; + DisplayModeManagerContainer190.anInt5464 = 0; + Component290.anInt2181 = 0; + CacheNode.anInt9549 = 0; + GlToolkitSub2.anInt7598 = 0; + DisplayModeManagerContainer167.anInt259 = 0; + DisplayModeManagerContainer105.anInt4877 = 0; + DisplayModeManagerContainer282.anInt5618 = 0; + NativeLibLoader.anInt4161 = 0; + BrowserUrlOpener.anInt8911 = 0; + Component161.anInt1947 = 0; + DisplayModeManagerContainer89.anInt8376 = 0; + AbstractGlTexture.anInt4857 = 0; + GlToolkitSub2.anInt7544 = 0; + DisplayModeManagerContainer232.anInt4691 = 0; + Component236.anInt3999 = 0; + Component303.anInt2887 = 0; + NodeSub5.anInt6622 = 0; + DisplayModeManagerContainer271.anInt514 = 0; + CacheStore.anInt647 = 0; + NodeSub44.anInt7094 = 0; + ItemDefinition.anInt2796 = 0; + ToolkitFactory.anInt1533 = 0; + HashNodeSub1.anInt9490 = 0; + DisplayModeManagerContainer104.anInt10351 = 0; + GlToolkitSub2.anInt7611 = 0; + Component54.anInt8672 = 0; + Component279.anInt227 = 0; + Buffer.anInt7151 = 0; + DisplayModeManagerContainer104.anInt10344 = 0; + Component302.anInt6038 = 0; + OpenGlShader.anInt7402 = 0; + Component44.anInt938 = 0; + JagTheoraDecoder.anInt1005 = 0; + GraphicsToolkit.anInt4561 = 0; + DisplayModeManagerContainer91.anInt393 = 0; + Component269.anInt8761 = 0; + DisplayModeManagerContainer58.anInt10272 = 0; + DisplayModeManagerContainer190.anInt5440 = 0; + Component289.anInt10132 = 0; + BrowserUrlOpener.anInt8919 = 0; + Component179.anInt9049 = 0; + DisplayModeManagerContainer1.anInt3313 = 0; + FriendsIgnoreList.anInt3480 = 0; + HuffmanDecoder.anInt3770 = 0; + Component274.anInt608 = 0; + GlToolkitSub3.anInt7997 = 0; + SpriteSub2.anInt8448 = 0; + ImageCache.anInt2558 = 0; + Buffer.anInt7163 = 0; + Exception_Sub1.anInt109 = 0; + anInt5798 = 0; + GlToolkitSub2.anInt7524 = 0; + Component329.anInt5987 = 0; + NodeSub22.anInt6860 = 0; + Component29.anInt10054 = 0; + GlToolkitSub3.anInt7909 = 0; + Component71.anInt6064 = 0; + Component189.anInt3815 = 0; + AbstractShaderSub4.anInt7310 = 0; + Component324.anInt2053 = 0; + Component168.anInt3954 = 0; + Component99.anInt1609 = 0; + Component102.anInt4802 = 0; + SceneManager.anInt2850 = 0; + GlExtensionManager.anInt9864 = 0; + Component183.anInt1746 = 0; + Component309.anInt3348 = 0; + BitmapFont.anInt4050 = 0; + GlToolkitSub3.anInt8006 = 0; + DisplayModeManagerContainer28.anInt8722 = 0; + AbstractShaderSub3.anInt7302 = 0; + client.anInt5184 = 0; + Buffer.anInt7139 = 0; + Component46.anInt2843 = 0; + Component289.anInt10146 = 0; + ClientScriptExecutor.anInt1162 = 0; + Component195.anInt5009 = 0; + InterfaceRenderer.anInt5048 = 0; + ClientScriptExecutor.anInt1165 = 0; + Component224.anInt5166 = 0; + MatrixSub2.anInt5728 = 0; + DisplayModeManagerContainer96.anInt4701 = 0; + DisplayModeManagerContainer282.anInt5560 = 0; + Component344.anInt1489 = 0; + NodeBaseSub1.anInt9771 = 0; + PacketReader.anInt10433 = 0; + r.anInt9717 = 0; + DefinitionSub26.anInt9355 = 0; + DisplayModeManagerContainer213.anInt1075 = 0; + CacheFileStore.anInt4221 = 0; + NodeSub1Sub2.anInt8811 = 0; + Component212.anInt9979 = 0; + ShaderProgramSub2.anInt6203 = 0; + ShaderCompiler.anInt4099 = 0; + Component321.anInt2583 = 0; + DisplayModeManagerContainer363.anInt4092 = 0; + DisplayModeManagerContainer167.anInt257 = 0; + Component19.anInt8606 = 0; + Component44.anInt891 = 0; + Component29.anInt10052 = 0; + NodeSub18.anInt6804 = 0; + HashNodeSub13.anInt9614 = 0; + Component308.anInt5228 = 0; + Component263.anInt1554 = 0; + Applet_Sub1.anInt13 = 0; + MenuOpener.anInt4841 = 0; + HashNodeSub2.anInt8566 = 0; + Component316.anInt2485 = 0; + GlToolkitSub2.anInt7531 = 0; + LogicError.anInt1476 = 0; + Component19.anInt8618 = 0; + DisplayModeManagerContainer347.anInt3589 = 0; + ItemDefinition.anInt2829 = 0; + Component364.anInt8345 = 0; + DisplayModeManagerContainer204.anInt1594 = 0; + HashNodeSub3.anInt9500 = 0; + Buffer.anInt7170 = 0; + ItemDefinition.anInt2832 = 0; + DefinitionSub19.anInt9258 = 0; + NodeSub12.anInt6734 = 0; + AudioMixer.anInt3222 = 0; + Component188.anInt6140 = 0; + ShaderLinker.anInt10162 = 0; + Component366.anInt3082 = 0; + Component329.anInt5985 = 0; + RSARequest.anInt9649 = 0; + Applet_Sub1.anInt31 = 0; + SpriteSub1.anInt8423 = 0; + NodederUtil.anInt6638 = 0; + MatrixSub2.anInt5714 = 0; + DisplayModeManagerContainer282.anInt5635 = 0; + RenderableSub2.anInt6396 = 0; + GlExtensionManager.anInt9852 = 0; + Component141.anInt9951 = 0; + Component127.anInt2963 = 0; + GlToolkitSub2.anInt7534 = 0; + NodeSub44.anInt7091 = 0; + BitmapFont.anInt4052 = 0; + NodeSub18.anInt6808 = 0; + DisplayModeManagerContainer56.anInt2543 = 0; + Component267.anInt2977 = 0; + AbstractShader.anInt4478 = 0; + WaterShaderSub8.anInt7356 = 0; + VideoAdDisplay.anInt3184 = 0; + GlToolkitSub2.anInt7660 = 0; + DisplayModeManagerContainer5.anInt1209 = 0; + AbstractShaderSub1.anInt7280 = 0; + Component333.anInt3629 = 0; + Component101.anInt2104 = 0; + Buffer.anInt7156 = 0; + Component171.anInt10101 = 0; + GlToolkitSub2.anInt7600 = 0; + Applet_Sub1.anInt4 = 0; + PlayerState.anInt7078 = 0; + HuffmanDecoder.anInt3771 = 0; + AbstractGlTexture.anInt4853 = 0; + Npc.anInt10513 = 0; + Component117.anInt4371 = 0; + TcpSocketStream.anInt5828 = 0; + GlToolkitSub3.anInt7945 = 0; + Component17.anInt3885 = 0; + DefinitionSub27.anInt9359 = 0; + Component45.anInt4351 = 0; + DisplayModeManagerContainer194.anInt5104 = 0; + ArbShaderProgram.anInt6184 = 0; + DisplayModeManagerContainer87.anInt3105 = 0; + DisplayModeManagerContainer77.anInt1840 = 0; + DisplayModeManagerContainer123.anInt1295 = 0; + DisplayModeManagerContainer220.anInt278 = 0; + GlToolkitSub2.anInt7545 = 0; + DefinitionSub37.anInt9464 = 0; + Component38.anInt2506 = 0; + TeleportHandler.anInt4436 = 0; + DebugPanic.anInt4745 = 0; + NodeSub1Sub3.anInt8819 = 0; + DefinitionSub15.anInt9219 = 0; + MenuOpener.anInt4844 = 0; + Component309.anInt3349 = 0; + Component66.anInt6027 = 0; + Component222.anInt2709 = 0; + DefinitionSub38.anInt9469 = 0; + DisplayModeManagerContainer109.anInt2340 = 0; + GlToolkitSub3.anInt8057 = 0; + Player.anInt10530 = 0; + GlWaterShader.anInt8834 = 0; + DisplayModeManagerContainer88.anInt1205 = 0; + Component19.anInt8613 = 0; + ColoredTextBuilder.anInt4074 = 0; + Component283.anInt4614 = 0; + ResourceLoader.anInt3897 = 0; + MatrixSub1.anInt5670 = 0; + Component98.anInt5941 = 0; + DisplayModeManagerContainer104.anInt10364 = 0; + GlToolkitSub2.anInt7516 = 0; + Component60.anInt5907 = 0; + GlToolkitSub2.anInt7682 = 0; + DefinitionSub5.anInt9123 = 0; + Component179.anInt9056 = 0; + GlWaterShader.anInt8840 = 0; + NodeSub16Sub2.anInt8863 = 0; + Component326.anInt5266 = 0; + WaterShader.anInt7377 = 0; + MenuEntry.anInt9596 = 0; + Component212.anInt9992 = 0; + NodeSub18.anInt6805 = 0; + Component296.anInt4660 = 0; + Applet_Sub1.anInt18 = 0; + AbstractGlTextureSub4.anInt8554 = 0; + DisplayModeManagerContainer282.anInt5588 = 0; + Node.anInt4287 = 0; + Component195.anInt5004 = 0; + OpenGlShader.anInt7409 = 0; + DisplayModeManagerContainer282.anInt5616 = 0; + GlToolkitSub2.anInt7686 = 0; + NodeCache.anInt1087 = 0; + Component385.anInt2199 = 0; + DisplayModeManagerContainer295.anInt5912 = 0; + DisplayModeManagerContainer282.anInt5587 = 0; + ColoredText.anInt6094 = 0; + NodeSub13.anInt6756 = 0; + DefinitionSub39.anInt9484 = 0; + BufferCacheSub3.anInt8287 = 0; + DisplayModeManagerContainer147.anInt4169 = 0; + SpriteAtlasShader.anInt6257 = 0; + ArbShaderProgram.anInt6185 = 0; + GlToolkitSub2.anInt7567 = 0; + Component333.anInt3628 = 0; + Component359.anInt3155 = 0; + Buffer.anInt7153 = 0; + CacheStore.anInt627 = 0; + GlExtensionManager.anInt9850 = 0; + Component140.anInt10439 = 0; + Component298.anInt4634 = 0; + HashTable.anInt1654 = 0; + DisplayModeManagerContainer346.anInt2065 = 0; + HashNode.anInt7062 = 0; + GlToolkitSub2.anInt7599 = 0; + RenderableSub4.anInt6407 = 0; + Component162.anInt8382 = 0; + NodeSub1Sub1.anInt8803 = 0; + Component309.anInt3346 = 0; + Component298.anInt4628 = 0; + Component19.anInt8610 = 0; + AudioLine.anInt3600 = 0; + ParticleShader.anInt6230 = 0; + Component219.anInt6359 = 0; + BufferCacheSub3.anInt8289 = 0; + DebugOverlay.anInt3171 = 0; + DisplayModeManagerContainer259.anInt3436 = 0; + GlToolkitSub3.anInt7935 = 0; + ShaderLinker.anInt10156 = 0; + DisplayModeManagerContainer26.anInt1458 = 0; + Component379.anInt5930 = 0; + BrowserUrlOpener.anInt8932 = 0; + Component361.anInt371 = 0; + Component316.anInt2486 = 0; + Component217.anInt3216 = 0; + GlToolkitSub2.anInt7675 = 0; + Component339.anInt3141 = 0; + ItemDefinition.anInt2814 = 0; + CacheStore.anInt639 = 0; + SeekableFile.anInt1313 = 0; + DisplayModeManagerContainer74.anInt4810 = 0; + AudioLine.anInt3605 = 0; + Component372.anInt6041 = 0; + Applet_Sub1.anInt1 = 0; + DisplayModeManagerContainer370.anInt1135 = 0; + DisplayModeManagerContainer207.anInt9767 = 0; + DisplayModeManagerContainer292.anInt5074 = 0; + Applet_Sub1.anInt24 = 0; + GlToolkitSub3.anInt7908 = 0; + GlExtensionManager.anInt9834 = 0; + GlToolkitSub3.anInt7955 = 0; + Component290.anInt2186 = 0; + GlToolkitSub2.anInt7635 = 0; + LoadingManager.anInt2175 = 0; + Component82.anInt442 = 0; + SocketStream.anInt3132 = 0; + DisplayModeManagerContainer341.anInt6003 = 0; + ColorTagNode.anInt6777 = 0; + DisplayModeManagerContainer87.anInt3118 = 0; + Component2.anInt8359 = 0; + Renderable.anInt3975 = 0; + GlToolkitSub3.anInt7956 = 0; + PauseTimer.anInt512 = 0; + Component205.anInt5961 = 0; + LibraryCreditsText.anInt5954 = 0; + SpriteSub2.anInt8445 = 0; + Component63.anInt4505 = 0; + Component257.anInt4790 = 0; + DefinitionSub17.anInt9236 = 0; + DisplayModeManagerContainer89.anInt8375 = 0; + NodeSub1.anInt6546 = 0; + DebugPanicSub2.anInt8500 = 0; + DisplayModeManagerContainer67.anInt1735 = 0; + GlExtensionManager.anInt9888 = 0; + DisplayModeManagerContainer282.anInt5624 = 0; + Component17.anInt3886 = 0; + SoftwareFallbackShader.anInt7388 = 0; + GlToolkitSub3.anInt8061 = 0; + ArbShaderProgram.anInt6190 = 0; + BrowserUrlOpener.anInt8920 = 0; + DisplayModeManagerContainer190.anInt5505 = 0; + ItemDefinitionProvider.anInt3276 = 0; + Component102.anInt4800 = 0; + Component231.anInt333 = 0; + HashNodeSub1.anInt9497 = 0; + NodeCache.anInt1088 = 0; + MatrixSub3.anInt5760 = 0; + HashNodeSub20.anInt9713 = 0; + Applet_Sub1.anInt25 = 0; + BrowserUrlOpener.anInt8929 = 0; + ShaderProgramSub9.anInt6313 = 0; + BrowserUrlOpener.anInt8948 = 0; + GlToolkitSub3.anInt7986 = 0; + ShaderProgramSub9.anInt6319 = 0; + DisplayModeManagerContainer369.anInt2898 = 0; + Buffer.anInt7201 = 0; + Component309.anInt3358 = 0; + AudioLine.anInt3597 = 0; + WaterShaderProgram.anInt6267 = 0; + RadixText.anInt6124 = 0; + Component275.anInt2685 = 0; + Component334.anInt2014 = 0; + GlToolkitSub3.anInt8072 = 0; + Component171.anInt10117 = 0; + MatrixSub3.anInt5753 = 0; + DisplayModeManagerContainer292.anInt5066 = 0; + s.anInt4589 = 0; + BrowserDetector.anInt2358 = 0; + Component179.anInt9061 = 0; + GlToolkitSub2.anInt7668 = 0; + DisplayModeManagerContainer105.anInt4865 = 0; + GlToolkitSub2.anInt7627 = 0; + MatrixSub2.anInt5712 = 0; + Component300.anInt3553 = 0; + HashNodeSub17.anInt9674 = 0; + StringDefinition.anInt9581 = 0; + GlToolkitSub2.anInt7592 = 0; + Component179.anInt9063 = 0; + LruCache.anInt4382 = 0; + DisplayModeManagerContainer204.anInt1595 = 0; + GlToolkitSub3.anInt8076 = 0; + ItemDefinitionProvider.anInt3281 = 0; + ClientScriptExecutor.anInt1163 = 0; + Component235.anInt3375 = 0; + DisplayModeManagerContainer104.anInt10358 = 0; + DisplayModeManagerContainer104.anInt10352 = 0; + Component219.anInt6345 = 0; + DisplayModeManagerContainer174.anInt10376 = 0; + HashNodeSub14.anInt9641 = 0; + OpenGlShader.anInt7401 = 0; + DisplayModeManagerContainer190.anInt5403 = 0; + Component301.anInt4114 = 0; + AbstractGlTexture.anInt4855 = 0; + DisplayModeManagerContainer207.anInt9764 = 0; + s.anInt4591 = 0; + ShaderProgramSub2.anInt6204 = 0; + TeleportHandler.anInt4442 = 0; + Component235.anInt3366 = 0; + Buffer.anInt7204 = 0; + Definition.anInt7044 = 0; + NpcComposition.anInt1357 = 0; + DisplayModeManagerContainer159.anInt2733 = 0; + HashNodeSub14.anInt9633 = 0; + DisplayModeManagerContainer190.anInt5422 = 0; + DisplayModeManagerContainer105.anInt4893 = 0; + GlToolkitSub2.anInt7655 = 0; + DisplayModeManagerContainer356.anInt6326 = 0; + Component76.anInt8598 = 0; + GlExtensionManager.anInt9816 = 0; + Component276.anInt2593 = 0; + MatrixSub1.anInt5656 = 0; + NodeSub27.anInt6906 = 0; + Component197.anInt10070 = 0; + BitmapFont.anInt4060 = 0; + Component191.anInt2465 = 0; + CookieBuilder.anInt616 = 0; + ItemDefinition.anInt2806 = 0; + Component263.anInt1545 = 0; + Component350.anInt8654 = 0; + DisplayModeManagerContainer50.anInt3856 = 0; + Component143.anInt2323 = 0; + GlToolkitSub2.anInt7569 = 0; + DisplayModeManagerContainer260.anInt3689 = 0; + GlToolkitSub2.anInt7728 = 0; + Component65.anInt1621 = 0; + BufferCacheSub3.anInt8315 = 0; + Component27.anInt4969 = 0; + DefinitionSub15.anInt9217 = 0; + SeekableFile.anInt1308 = 0; + MatrixSub2.anInt5734 = 0; + DisplayModeManagerContainer282.anInt5547 = 0; + BrowserUrlOpener.anInt8950 = 0; + Component321.anInt2588 = 0; + DisplayModeManagerContainer260.anInt3693 = 0; + Component62.anInt2080 = 0; + DisplayModeManagerContainer213.anInt1073 = 0; + Component119.anInt3391 = 0; + DisplayModeManagerContainer368.anInt5254 = 0; + MatrixSub1.anInt5665 = 0; + GlToolkitSub3.anInt7950 = 0; + KeyFocusHandler.anInt6535 = 0; + DisplayModeManagerContainer105.anInt4892 = 0; + Component94.anInt3674 = 0; + Component141.anInt9968 = 0; + Component331.anInt1716 = 0; + DisplayModeManagerContainer207.anInt9753 = 0; + GlToolkitSub3.anInt7976 = 0; + WaterSurfaceShader.anInt6236 = 0; + GlToolkitSub2.anInt7565 = 0; + TcpSocketStream.anInt5830 = 0; + Component264.anInt8704 = 0; + Component359.anInt3154 = 0; + Component141.anInt9963 = 0; + Component272.anInt5866 = 0; + DisplayModeManagerContainer347.anInt3586 = 0; + DefinitionSub24.anInt9330 = 0; + GradientPreset.anInt9198 = 0; + Applet_Sub1.anInt5 = 0; + GlToolkitSub3.anInt7917 = 0; + Component53.anInt195 = 0; + DisplayModeManagerContainer58.anInt10251 = 0; + DisplayModeManagerContainer61.anInt3757 = 0; + Component171.anInt10108 = 0; + DisplayModeManagerContainer89.anInt8372 = 0; + BasicMouseHandler.anInt7428 = 0; + Component287.anInt6071 = 0; + Player.anInt10523 = 0; + BitmapFont.anInt4064 = 0; + Component197.anInt10077 = 0; + Component381.anInt8581 = 0; + DisplayModeManagerContainer292.anInt5076 = 0; + DisplayModeManagerContainer104.anInt10354 = 0; + DisplayModeManagerContainer295.anInt5923 = 0; + Component372.anInt6044 = 0; + NodeSub38.anInt7000 = 0; + DisplayModeManagerContainer190.anInt5430 = 0; + GlToolkitSub2.anInt7628 = 0; + Component31.anInt5899 = 0; + Component272.anInt5859 = 0; + Component62.anInt2085 = 0; + DisplayModeManagerContainer282.anInt5534 = 0; + NodeSub14.anInt6765 = 0; + Component349.anInt10031 = 0; + Component208.anInt1773 = 0; + AbstractShaderSub2.anInt7295 = 0; + DefinitionSub10.anInt9178 = 0; + PrimitiveTypeDefinition.anInt9088 = 0; + Component287.anInt6073 = 0; + GlToolkitSub3.anInt7920 = 0; + HardwareProbe.anInt6600 = 0; + TcpSocketStream.anInt5839 = 0; + DisplayModeManagerContainer282.anInt5565 = 0; + GlToolkitSub3.anInt8043 = 0; + Component265.anInt1590 = 0; + DisplayModeManagerContainer288.anInt8632 = 0; + Component350.anInt8653 = 0; + NameFormatter.anInt491 = 0; + Component7.anInt2877 = 0; + GlToolkitSub3.anInt7900 = 0; + WaterShaderProgram.anInt6265 = 0; + GlToolkitSub3.anInt7938 = 0; + GlExtensionManager.anInt9813 = 0; + NodeSub50.anInt7214 = 0; + Component29.anInt10042 = 0; + DisplayModeManagerContainer123.anInt1300 = 0; + NodeSub3.anInt6576 = 0; + AssetCacheLoader.anInt378 = 0; + GlExtensionManager.anInt9827 = 0; + DisplayModeManagerContainer346.anInt2063 = 0; + DisplayModeManagerContainer295.anInt5918 = 0; + Component334.anInt2012 = 0; + DebugPanicSub2.anInt8506 = 0; + Component231.anInt338 = 0; + DisplayModeManagerContainer282.anInt5641 = 0; + CacheStore.anInt649 = 0; + Applet_Sub1.anInt2 = 0; + GlToolkitSub3.anInt8052 = 0; + GlToolkitSub2.anInt7716 = 0; + Component197.anInt10069 = 0; + OggStreamReader.anInt9040 = 0; + GlToolkitSub3.anInt8040 = 0; + Component274.anInt610 = 0; + Component297.anInt4727 = 0; + DisplayModeManagerContainer174.anInt10394 = 0; + GlToolkitSub3.anInt7892 = 0; + Node.anInt4285 = 0; + Component235.anInt3364 = 0; + WorldNameText.anInt8651 = 0; + Component119.anInt3397 = 0; + GlToolkitSub3.anInt8073 = 0; + StringDefinition.anInt9579 = 0; + BasicMouseHandler.anInt7426 = 0; + ParticleShader.anInt6223 = 0; + DisplayModeManagerContainer190.anInt5444 = 0; + GlToolkitSub2.anInt7580 = 0; + CacheStore.anInt635 = 0; + SceneNode.anInt6671 = 0; + Component16.anInt2277 = 0; + ItemDefinition.anInt2768 = 0; + Component360.anInt4321 = 0; + GlToolkitSub2.anInt7621 = 0; + MatrixSub1.anInt5687 = 0; + GlToolkitSub2.anInt7586 = 0; + AbstractShaderSub3.anInt7305 = 0; + MatrixSub1.anInt5676 = 0; + Component101.anInt2098 = 0; + MouseHandler.anInt4533 = 0; + BrowserUrlOpener.anInt8935 = 0; + GlExtensionManager.anInt9893 = 0; + Component237.anInt3023 = 0; + DefinitionSub10.anInt9177 = 0; + NewsFetcher.anInt4208 = 0; + GlToolkitSub2.anInt7583 = 0; + Canvas_Sub1.anInt61 = 0; + CacheStore.anInt640 = 0; + GraphicsToolkit.anInt4568 = 0; + GlExtensionManager.anInt9875 = 0; + Component344.anInt1483 = 0; + ImageCacheStore.anInt4028 = 0; + DisplayModeManagerContainer26.anInt1456 = 0; + Component46.anInt2846 = 0; + DefinitionSub39.anInt9482 = 0; + RenderableObject.anInt6378 = 0; + BrowserUrlOpener.anInt8954 = 0; + ShaderProgramSub9.anInt6306 = 0; + Component349.anInt10027 = 0; + GlToolkitSub2.anInt7701 = 0; + DisplayModeManagerContainer190.anInt5421 = 0; + DefinitionSub2.anInt9097 = 0; + DisplayModeManagerContainer57.anInt712 = 0; + Component179.anInt9047 = 0; + Component195.anInt5008 = 0; + HardwareProbe.anInt6593 = 0; + Component266.anInt5978 = 0; + DisplayModeManagerContainer104.anInt10357 = 0; + DefinitionSub21.anInt9270 = 0; + Component122.anInt1567 = 0; + Component205.anInt5963 = 0; + GlToolkitSub2.anInt7667 = 0; + GlToolkitSub3.anInt7940 = 0; + Component63.anInt4493 = 0; + NodeSub8.anInt6667 = 0; + Component205.anInt5962 = 0; + Component27.anInt4964 = 0; + MatrixSub2.anInt5692 = 0; + DefinitionSub36.anInt9450 = 0; + GlToolkitSub3.anInt8042 = 0; + DebugPanicSub1.anInt8493 = 0; + ItemDefinition.anInt2776 = 0; + DefinitionSub23.anInt9309 = 0; + WaterShaderProgram.anInt6269 = 0; + Component307.anInt4521 = 0; + DisplayModeManagerContainer282.anInt5550 = 0; + BufferCacheSub3.anInt8319 = 0; + GlToolkitSub3.anInt7985 = 0; + VideoAdPlayer.anInt4647 = 0; + Component191.anInt2457 = 0; + DefinitionSub32.anInt9420 = 0; + Component160.anInt4358 = 0; + BufferCacheSub2.anInt8259 = 0; + Component225.anInt466 = 0; + HashNodeSub14.anInt9624 = 0; + DisplayModeManagerContainer363.anInt4090 = 0; + DisplayModeManagerContainer56.anInt2553 = 0; + DisplayModeManagerContainer347.anInt3587 = 0; + WaterSurfaceShader.anInt6241 = 0; + ShaderProgramSub2.anInt6208 = 0; + GlExtensionManager.anInt9866 = 0; + Component228.anInt3004 = 0; + DisplayModeManagerContainer213.anInt1076 = 0; + Component317.anInt8680 = 0; + NodeSub3.anInt6583 = 0; + GlToolkitSub3.anInt8055 = 0; + DisplayModeManagerContainer159.anInt2741 = 0; + RadixText.anInt6122 = 0; + DisplayModeManagerContainer26.anInt1452 = 0; + Component372.anInt6046 = 0; + GlExtensionManager.anInt9900 = 0; + KeyStoreLoader.anInt1640 = 0; + MatrixSub2.anInt5735 = 0; + DefinitionSub15.anInt9221 = 0; + Component82.anInt441 = 0; + CookieManager.anInt6293 = 0; + Component293.anInt3302 = 0; + AbstractGlTextureSub4.anInt8559 = 0; + HashNodeSub4.anInt9510 = 0; + Component219.anInt6357 = 0; + PrimitiveTypeDefinition.anInt9085 = 0; + DisplayModeManagerContainer174.anInt10373 = 0; + FriendsIgnoreList.anInt3484 = 0; + Component349.anInt10026 = 0; + NodeCache.anInt1102 = 0; + DebugPanic.anInt4756 = 0; + Component211.anInt1956 = 0; + ItemDefinitionProvider.anInt3275 = 0; + ScreenModeManager.anInt2838 = 0; + Component319.anInt214 = 0; + GlTexture.anInt8542 = 0; + MatrixSub2.anInt5717 = 0; + BasicMouseHandler.anInt7438 = 0; + GlToolkitSub3.anInt8007 = 0; + DisplayModeManagerContainer42.anInt3848 = 0; + ParticleShader.anInt6215 = 0; + Component221.anInt1798 = 0; + Component37.anInt3926 = 0; + Component143.anInt2321 = 0; + Component118.anInt4956 = 0; + GlToolkitSub2.anInt7556 = 0; + DisplayModeManagerContainer145.anInt1807 = 0; + Component266.anInt5977 = 0; + GlToolkitSub3.anInt7982 = 0; + DefinitionSub29.anInt9377 = 0; + ComponentDownloader.anInt415 = 0; + NodeSub20.anInt6829 = 0; + Component171.anInt10113 = 0; + Buffer.anInt7149 = 0; + Component86.anInt4530 = 0; + JagTheoraDecoder.anInt1000 = 0; + Component146.anInt2126 = 0; + CacheStore.anInt654 = 0; + DisplayModeManagerContainer89.anInt8374 = 0; + Component331.anInt1717 = 0; + GlToolkitSub2.anInt7679 = 0; + DisplayModeManagerContainer167.anInt240 = 0; + Component141.anInt9965 = 0; + Component38.anInt2503 = 0; + DefinitionSub32.anInt9416 = 0; + NodeSub16Sub2.anInt8877 = 0; + Component212.anInt9998 = 0; + ItemDefinitionProvider.anInt3279 = 0; + NodeSub3.anInt6588 = 0; + Component160.anInt4360 = 0; + DisplayModeManagerContainer190.anInt5456 = 0; + Component197.anInt10078 = 0; + DisplayModeManagerContainer190.anInt5445 = 0; + DisplayModeManagerContainer57.anInt804 = 0; + NodeSub16Sub2.anInt8878 = 0; + Component263.anInt1552 = 0; + GlToolkitSub3.anInt7992 = 0; + GlToolkitSub2.anInt7692 = 0; + ResourceLoader.anInt3900 = 0; + GlToolkitSub2.anInt7719 = 0; + DisplayModeManagerContainer351.anInt2673 = 0; + BrowserUrlOpener.anInt8943 = 0; + GlToolkitSub3.anInt8041 = 0; + DefinitionSub28.anInt9370 = 0; + Component143.anInt2310 = 0; + DebugPanicSub1.anInt8488 = 0; + GlExtensionManager.anInt9858 = 0; + Component386.anInt2863 = 0; + Component65.anInt1615 = 0; + HashNodeSub18.anInt9681 = 0; + Component382.anInt2271 = 0; + SpriteSub2.anInt8438 = 0; + HeapDumpHelper.anInt4939 = 0; + RandomAccessFileReader.anInt3042 = 0; + CookieBuilder.anInt612 = 0; + Component352.anInt622 = 0; + HashNodeSub17.anInt9677 = 0; + Component372.anInt6039 = 0; + BuildInfo.anInt155 = 0; + GlToolkitSub3.anInt7979 = 0; + DisplayModeManagerContainer199.anInt5853 = 0; + GlToolkitSub2.anInt7571 = 0; + DisplayModeManagerContainer282.anInt5619 = 0; + ShaderLinker.anInt10165 = 0; + Component253.anInt3192 = 0; + InputStream_Sub2.anInt80 = 0; + Component9.anInt4138 = 0; + Component54.anInt8673 = 0; + RenderableSub4.anInt6412 = 0; + Component102.anInt4799 = 0; + Component71.anInt6065 = 0; + NodeSub11.anInt4762 = 0; + GlToolkitSub2.anInt7595 = 0; + ClientErrorReporter.anInt2112 = 0; + Component197.anInt10072 = 0; + GlToolkitSub2.anInt7613 = 0; + GlToolkitSub2.anInt7708 = 0; + GlToolkitSub3.anInt7963 = 0; + DefinitionSub17.anInt9235 = 0; + DisplayModeManagerContainer104.anInt10346 = 0; + MatrixSub2.anInt5715 = 0; + SeekableFile.anInt1318 = 0; + DisplayModeManagerContainer104.anInt10347 = 0; + HashNodeSub14.anInt9637 = 0; + DisplayModeManagerContainer282.anInt5533 = 0; + Component269.anInt8765 = 0; + GlExtensionManager.anInt9851 = 0; + GlToolkitSub3.anInt7993 = 0; + CurvePreset.anInt9209 = 0; + MatrixSub2.anInt5723 = 0; + MenuEntry.anInt9606 = 0; + ShaderLinker.anInt10171 = 0; + Sprite.anInt6922 = 0; + AbstractGlTexture.anInt4863 = 0; + GlExtensionManager.anInt9833 = 0; + Component275.anInt2690 = 0; + BrowserUrlOpener.anInt8938 = 0; + GlToolkitSub2.anInt7695 = 0; + Component14.anInt8588 = 0; + BrowserDetector.anInt2366 = 0; + CacheStore.anInt626 = 0; + GlToolkitSub2.anInt7657 = 0; + NodeSub45Sub2.anInt9740 = 0; + DefinitionSub22.anInt9289 = 0; + Component244.anInt4176 = 0; + Definition.anInt7043 = 0; + GlWaterShader.anInt8829 = 0; + Component265.anInt1580 = 0; + Component82.anInt432 = 0; + GraphicsToolkit.anInt4566 = 0; + Component387.anInt1896 = 0; + Component29.anInt10038 = 0; + Component269.anInt8763 = 0; + GlToolkitSub3.anInt7942 = 0; + BasicMouseHandler.anInt7427 = 0; + GlToolkitSub2.anInt7578 = 0; + AbstractShaderSub3.anInt7306 = 0; + DisplayModeManagerContainer153.anInt1573 = 0; + NodeSub1Sub2.anInt8814 = 0; + ClientSystemInfo.anInt6874 = 0; + HelveticaFont.anInt2624 = 0; + GlToolkitSub2.anInt7562 = 0; + DisplayModeManagerContainer77.anInt1831 = 0; + Component338.anInt1703 = 0; + Component272.anInt5865 = 0; + Component219.anInt6363 = 0; + NameFormatter.anInt493 = 0; + SpriteAtlasShader.anInt6258 = 0; + GlExtensionManager.anInt9882 = 0; + ResourceLoader.anInt3906 = 0; + ShaderProgramSub7.anInt6282 = 0; + Component168.anInt3949 = 0; + CacheStore.anInt644 = 0; + ScreenModeManager.anInt2837 = 0; + GlToolkitSub3.anInt8031 = 0; + NodeSub16Sub2.anInt8871 = 0; + Component37.anInt3928 = 0; + GlToolkitSub3.anInt8003 = 0; + Component230.anInt5257 = 0; + BrowserDetector.anInt2363 = 0; + GlExtensionManager.anInt9831 = 0; + WorldNameText.anInt8648 = 0; + DisplayModeManagerContainer104.anInt10337 = 0; + BrowserDetector.anInt2369 = 0; + CookieManager.anInt6297 = 0; + Component59.anInt1870 = 0; + Player.anInt10527 = 0; + Component325.anInt1193 = 0; + Component139.anInt6130 = 0; + MatrixSub3.anInt5777 = 0; + ItemDefinitionProvider.anInt3284 = 0; + Component289.anInt10133 = 0; + GlToolkitSub3.anInt7954 = 0; + RenderableSub4.anInt6408 = 0; + RenderableSub2.anInt6395 = 0; + SeekableFile.anInt1316 = 0; + Component101.anInt2091 = 0; + Component38.anInt2505 = 0; + Component279.anInt226 = 0; + HeapDumper.anInt1916 = 0; + Component324.anInt2051 = 0; + DisplayModeManagerContainer282.anInt5597 = 0; + DisplayModeManagerContainer57.anInt758 = 0; + HashTable.anInt1644 = 0; + client.anInt5182 = 0; + ParticleShader.anInt6224 = 0; + NodeSub1.anInt6560 = 0; + GlToolkitSub3.anInt7968 = 0; + GlToolkitSub3.anInt7911 = 0; + GlToolkitSub3.anInt8011 = 0; + DisplayModeManagerContainer77.anInt1845 = 0; + DefinitionSub36.anInt9452 = 0; + BasicMouseHandler.anInt7452 = 0; + GlToolkitSub2.anInt7724 = 0; + DisplayModeManagerContainer282.anInt5614 = 0; + ShaderProgramSub7.anInt6280 = 0; + Component177.anInt2108 = 0; + Component90.anInt2044 = 0; + HashNodeSub16Sub1.anInt10454 = 0; + Component101.anInt2090 = 0; + OpenGlShader.anInt7393 = 0; + GlToolkitSub3.anInt8027 = 0; + Component373.anInt456 = 0; + DisplayModeManagerContainer207.anInt9758 = 0; + GlToolkitSub3.anInt8037 = 0; + Buffer.anInt7145 = 0; + CookieManager.anInt6292 = 0; + DummyClass.anInt10173 = 0; + ParametricDefinition.anInt9110 = 0; + MatrixSub3.anInt5779 = 0; + Component44.anInt957 = 0; + GlToolkitSub2.anInt7672 = 0; + Component171.anInt10098 = 0; + SceneNode.anInt6690 = 0; + HashTable.anInt1655 = 0; + DisplayModeManagerContainer74.anInt4809 = 0; + DisplayModeManagerContainer26.anInt1454 = 0; + BufferCacheSub3.anInt8293 = 0; + Component100.anInt8687 = 0; + Component284.anInt6149 = 0; + GlExtensionManager.anInt9820 = 0; + Component302.anInt6031 = 0; + Connection.anInt2650 = 0; + Component98.anInt5940 = 0; + DisplayModeManagerContainer341.anInt6001 = 0; + CacheStore.anInt652 = 0; + NewsFetcher.anInt4199 = 0; + Player.anInt10534 = 0; + RSACipher.anInt4897 = 0; + Component2.anInt8355 = 0; + Component297.anInt4721 = 0; + DebugPanic.anInt4735 = 0; + DefinitionSub5.anInt9128 = 0; + GlToolkitSub2.anInt7602 = 0; + Component236.anInt3995 = 0; + DefinitionSub30.anInt9394 = 0; + Component264.anInt8705 = 0; + GlExtensionManager.anInt9861 = 0; + GlToolkitSub3.anInt7930 = 0; + DisplayModeManagerContainer57.anInt694 = 0; + GlToolkitSub3.anInt7970 = 0; + NodeSub5.anInt6625 = 0; + Component252.anInt10182 = 0; + NodeSub45Sub2.anInt9738 = 0; + GlToolkitSub2.anInt7548 = 0; + DefinitionSub29.anInt9378 = 0; + Component126.anInt4462 = 0; + DebugPanic.anInt4757 = 0; + Component54.anInt8671 = 0; + Component46.anInt2847 = 0; + Component272.anInt5868 = 0; + DisplayModeManagerContainer220.anInt291 = 0; + ImageCache.anInt2556 = 0; + AbstractShaderSub3.anInt7300 = 0; + DisplayModeManagerContainer292.anInt5069 = 0; + GlToolkitSub2.anInt7656 = 0; + Definition.anInt7028 = 0; + NodeSub1.anInt6552 = 0; + GlExtensionManager.anInt9880 = 0; + DisplayModeManagerContainer190.anInt5449 = 0; + GlExtensionManager.anInt9839 = 0; + ShaderCompilerSub3.anInt6520 = 0; + GlExtensionManager.anInt9829 = 0; + Component47.anInt861 = 0; + DisplayModeManagerContainer174.anInt10380 = 0; + Component162.anInt8380 = 0; + AbstractShaderSub4.anInt7314 = 0; + Component309.anInt3354 = 0; + HeapDumper.anInt1913 = 0; + Component244.anInt4175 = 0; + RadixParser.anInt2293 = 0; + Component266.anInt5979 = 0; + Component225.anInt479 = 0; + NodeSub45Sub2.anInt9731 = 0; + BrowserUrlOpener.anInt8931 = 0; + ResourceLoader.anInt3909 = 0; + DisplayModeManagerContainer67.anInt1737 = 0; + AbstractGlTexture.anInt4854 = 0; + ToolkitFactory.anInt1529 = 0; + Component307.anInt4523 = 0; + DisplayModeManagerContainer58.anInt10212 = 0; + GlToolkitSub2.anInt7718 = 0; + GpiLogger.anInt8858 = 0; + Component122.anInt1571 = 0; + Component302.anInt6032 = 0; + GlToolkitSub3.anInt7884 = 0; + Buffer.anInt7157 = 0; + GlToolkitSub2.anInt7597 = 0; + Shader.anInt115 = 0; + DefinitionSub25.anInt9336 = 0; + Component66.anInt6028 = 0; + DisplayModeManagerContainer159.anInt2736 = 0; + OutputStream_Sub1.anInt92 = 0; + Component317.anInt8678 = 0; + Component65.anInt1628 = 0; + AbstractShaderSub4.anInt7316 = 0; + GlToolkitSub2.anInt7615 = 0; + DisplayModeManagerContainer260.anInt3692 = 0; + BitmapFont.anInt4045 = 0; + Buffer.anInt7178 = 0; + Component79.anInt4149 = 0; + client.anInt5173 = 0; + DisplayModeManagerContainer332.anInt4996 = 0; + GpsOverlay.anInt1955 = 0; + RandomAccessFileReader.anInt3048 = 0; + DisplayModeManagerContainer347.anInt3580 = 0; + Component48.anInt4330 = 0; + Npc.anInt10506 = 0; + AbstractShaderSub2.anInt7291 = 0; + Component252.anInt10183 = 0; + Component327.anInt8746 = 0; + Component266.anInt5981 = 0; + GlExtensionManager.anInt9817 = 0; + Component253.anInt3200 = 0; + Component283.anInt4617 = 0; + ShaderProgramSub9.anInt6312 = 0; + Component334.anInt2018 = 0; + GlToolkitSub2.anInt7538 = 0; + Component203.anInt8772 = 0; + DefinitionSub8.anInt9151 = 0; + Component377.anInt855 = 0; + RenderableSub5.anInt6423 = 0; + Applet_Sub1.anInt11 = 0; + Component158.anInt327 = 0; + StaticElementRenderer.anInt6448 = 0; + DisplayModeManagerContainer109.anInt2336 = 0; + Component205.anInt5972 = 0; + Component113.anInt2400 = 0; + DisplayModeManagerContainer370.anInt1137 = 0; + Component276.anInt2595 = 0; + DefinitionSub30.anInt9387 = 0; + AbstractShaderSub2.anInt7288 = 0; + Component52.anInt3294 = 0; + NodeSub51.anInt7225 = 0; + DisplayModeManagerContainer194.anInt5083 = 0; + Component75.anInt2282 = 0; + JagTheoraDecoder.anInt980 = 0; + MatrixSub2.anInt5698 = 0; + Component168.anInt3952 = 0; + DisplayModeManagerContainer194.anInt5095 = 0; + TeleportHandler.anInt4454 = 0; + Component366.anInt3050 = 0; + Shader.anInt113 = 0; + Component9.anInt4140 = 0; + DisplayModeManagerContainer282.anInt5567 = 0; + Component175.anInt5842 = 0; + MatrixSub2.anInt5701 = 0; + ImageProducerSprite.anInt9081 = 0; + HashNodeSub10.anInt9569 = 0; + Buffer.anInt7144 = 0; + ReferenceHolder.anInt9557 = 0; + DisplayModeManagerContainer77.anInt1864 = 0; + TcpSocketStream.anInt5838 = 0; + Component49.anInt4675 = 0; + GlToolkitSub3.anInt8058 = 0; + Component2.anInt8354 = 0; + DisplayModeManagerContainer207.anInt9765 = 0; + DisplayModeManagerContainer190.anInt5450 = 0; + ShaderProgramSub7.anInt6279 = 0; + Component352.anInt623 = 0; + Component314.anInt3875 = 0; + Component203.anInt8776 = 0; + DefinitionSub30.anInt9384 = 0; + Component230.anInt5256 = 0; + GnpPositionLogger.anInt1522 = 0; + NodeSub32.anInt6941 = 0; + CommandHandler.anInt1437 = 0; + Component160.anInt4353 = 0; + NodeList.anInt3340 = 0; + Cp1252Decoder.anInt5215 = 0; + GlToolkitSub3.anInt7951 = 0; + Component256.anInt6107 = 0; + SpriteSub1.anInt8402 = 0; + Component201.anInt8720 = 0; + LogicError.anInt1467 = 0; + NativeLibLoader.anInt4153 = 0; + NodeSub38.anInt7012 = 0; + Canvas_Sub1.anInt63 = 0; + Component380.anInt4988 = 0; + NodeSub27.anInt6901 = 0; + NewsFetcher.anInt4198 = 0; + Buffer.anInt7187 = 0; + NodeSub51.anInt7237 = 0; + DefinitionSub5.anInt9126 = 0; + BasicMouseHandler.anInt7445 = 0; + Component44.anInt898 = 0; + Component383.anInt8578 = 0; + DefinitionSub29.anInt9381 = 0; + NodeList.anInt3324 = 0; + RSARequest.anInt9655 = 0; + Component253.anInt3190 = 0; + BuildType.anInt2992 = 0; + CookieManager.anInt6295 = 0; + Component223.anInt124 = 0; + MatrixSub2.anInt5709 = 0; + DebugPanic.anInt4738 = 0; + RSACipher.anInt4900 = 0; + GlToolkitSub3.anInt8078 = 0; + TeleportHandler.anInt4444 = 0; + DefinitionSub21.anInt9271 = 0; + AssetCacheLoader.anInt373 = 0; + GlToolkitSub2.anInt7526 = 0; + LogicError.anInt1462 = 0; + DefinitionSub9.anInt9170 = 0; + ArbShaderProgram.anInt6195 = 0; + GlToolkitSub3.anInt7932 = 0; + DisplayModeManagerContainer341.anInt6005 = 0; + WaterSurfaceShader.anInt6243 = 0; + DisplayModeManagerContainer259.anInt3440 = 0; + DebugPanicSub2.anInt8501 = 0; + WaterShaderProgram.anInt6264 = 0; + Component192.anInt3966 = 0; + Component37.anInt3929 = 0; + DisplayModeManagerContainer167.anInt258 = 0; + GlToolkitSub2.anInt7522 = 0; + DisplayModeManagerContainer196.anInt4228 = 0; + ShaderProgramSub7.anInt6283 = 0; + MatrixSub2.anInt5696 = 0; + Component197.anInt10075 = 0; + MenuOpener.anInt4840 = 0; + RandomAccessFileReader.anInt3043 = 0; + AudioLine.anInt3594 = 0; + DefinitionSub33.anInt9426 = 0; + BufferCacheSub3.anInt8288 = 0; + CacheNodeSub2.anInt10491 = 0; + HashNodeSub17.anInt9670 = 0; + RSARequest.anInt9646 = 0; + Component185.anInt5310 = 0; + DisplayModeManagerContainer271.anInt516 = 0; + Component361.anInt362 = 0; + TeleportHandler.anInt4431 = 0; + Component65.anInt1610 = 0; + GlToolkitSub3.anInt8075 = 0; + Component225.anInt473 = 0; + GlExtensionManager.anInt9857 = 0; + DisplayModeManagerContainer174.anInt10415 = 0; + DisplayModeManagerContainer207.anInt9769 = 0; + Component191.anInt2459 = 0; + Component212.anInt9985 = 0; + StaticElementRenderer.anInt6442 = 0; + GlWaterShader.anInt8823 = 0; + Component44.anInt960 = 0; + Component191.anInt2467 = 0; + Buffer.anInt7190 = 0; + Component309.anInt3357 = 0; + Component230.anInt5260 = 0; + BufferCacheSub2.anInt8250 = 0; + Component385.anInt2200 = 0; + Component141.anInt9967 = 0; + ClientErrorReporter.anInt2114 = 0; + GlToolkitSub3.anInt8065 = 0; + GlToolkitSub3.anInt7888 = 0; + DisplayModeManagerContainer190.anInt5498 = 0; + Component29.anInt10048 = 0; + NodeCache.anInt1099 = 0; + Component380.anInt4995 = 0; + CacheIndexReader.anInt1937 = 0; + DisplayModeManagerContainer369.anInt2894 = 0; + DisplayModeManagerContainer282.anInt5531 = 0; + Component16.anInt2278 = 0; + Component339.anInt3139 = 0; + DefinitionSub21.anInt9267 = 0; + MatrixSub1.anInt5671 = 0; + Component98.anInt5939 = 0; + Component63.anInt4497 = 0; + CacheStore.anInt632 = 0; + Component193.anInt3255 = 0; + DisplayModeManagerContainer88.anInt1203 = 0; + NodeSub38.anInt7009 = 0; + GlToolkitSub3.anInt8010 = 0; + GlExtensionManager.anInt9840 = 0; + DisplayModeManagerContainer204.anInt1598 = 0; + GlToolkitSub2.anInt7709 = 0; + CacheNode.anInt9548 = 0; + Component349.anInt10030 = 0; + RadixParser.anInt2287 = 0; + DisplayModeManagerContainer159.anInt2732 = 0; + Component118.anInt4954 = 0; + NodeCache.anInt1096 = 0; + GraphicsToolkit.anInt4572 = 0; + Component256.anInt6108 = 0; + ShaderProgramSub2.anInt6207 = 0; + Node.anInt4297 = 0; + Component285.anInt975 = 0; + StaticElementRenderer.anInt6437 = 0; + WaterShaderSub8.anInt7351 = 0; + AbstractShaderSub4.anInt7322 = 0; + ToolbarRefreshDefinition.anInt9222 = 0; + Component79.anInt4145 = 0; + Component330.anInt1515 = 0; + MenuOpener.anInt4836 = 0; + Component211.anInt1957 = 0; + DisplayModeManagerContainer282.anInt5551 = 0; + DisplayModeManagerContainer295.anInt5919 = 0; + Component197.anInt10073 = 0; + GlToolkitSub3.anInt7922 = 0; + DisplayModeManagerContainer104.anInt10333 = 0; + Component188.anInt6143 = 0; + SpriteSub2.anInt8436 = 0; + HashNodeSub10.anInt9578 = 0; + MatrixSub2.anInt5743 = 0; + NodeList.anInt3337 = 0; + GlToolkitSub2.anInt7639 = 0; + Component252.anInt10198 = 0; + ToolbarRefreshDefinition.anInt9228 = 0; + DisplayModeManagerContainer145.anInt1805 = 0; + Component342.anInt1180 = 0; + AudioLine.anInt3606 = 0; + Component262.anInt1760 = 0; + Component333.anInt3633 = 0; + Component289.anInt10135 = 0; + Component324.anInt2052 = 0; + Component29.anInt10053 = 0; + GlToolkitSub3.anInt7947 = 0; + MatrixSub1.anInt5660 = 0; + GlToolkitSub2.anInt7541 = 0; + Component304.anInt1140 = 0; + GlToolkitSub3.anInt7885 = 0; + AssetCacheLoader.anInt380 = 0; + InputStream_Sub2.anInt81 = 0; + InterfaceRenderer.anInt5043 = 0; + NodeSub5.anInt6629 = 0; + WaterShaderSub8.anInt7359 = 0; + AbstractShaderSub1.anInt7282 = 0; + Component270.anInt2122 = 0; + Component66.anInt6020 = 0; + SceneNode.anInt6672 = 0; + ColorTagNode.anInt6779 = 0; + GlToolkitSub2.anInt7640 = 0; + Component253.anInt3195 = 0; + GlExtensionManager.anInt9826 = 0; + DisplayModeManagerContainer282.anInt5546 = 0; + Component38.anInt2502 = 0; + GlToolkitSub2.anInt7606 = 0; + DisplayModeManagerContainer207.anInt9766 = 0; + Component334.anInt2017 = 0; + Component195.anInt5014 = 0; + DisplayModeManagerContainer282.anInt5582 = 0; + LibraryCreditsText.anInt5952 = 0; + CacheStore.anInt663 = 0; + HashNodeSub16Sub2.anInt10464 = 0; + RadixText.anInt6126 = 0; + Component321.anInt2586 = 0; + Component344.anInt1484 = 0; + Component387.anInt1898 = 0; + DisplayModeManagerContainer348.anInt5890 = 0; + Component272.anInt5870 = 0; + GlToolkitSub3.anInt8049 = 0; + Component40.anInt6322 = 0; + SpriteSub1.anInt8413 = 0; + DisplayModeManagerContainer249.anInt4664 = 0; + DisplayModeManagerContainer105.anInt4864 = 0; + DefinitionSub6.anInt9132 = 0; + DisplayModeManagerContainer282.anInt5613 = 0; + DisplayModeManagerContainer207.anInt9752 = 0; + GlFramebufferTexture.anInt8534 = 0; + JagTheoraDecoder.anInt1003 = 0; + FriendLoginMessage.anInt8788 = 0; + MatrixSub3.anInt5782 = 0; + DebugPanicSub1.anInt8485 = 0; + DisplayModeManagerContainer87.anInt3127 = 0; + RenderableObject.anInt6385 = 0; + Component374.anInt4134 = 0; + Component222.anInt2711 = 0; + GlToolkitSub2.anInt7568 = 0; + Component210.anInt5277 = 0; + Component119.anInt3400 = 0; + OpenGlShader.anInt7408 = 0; + MatrixSub3.anInt5746 = 0; + NodeCache.anInt1092 = 0; + AbstractGlTextureSub4.anInt8555 = 0; + ColoredText.anInt6091 = 0; + Component144.anInt3983 = 0; + Component289.anInt10136 = 0; + Definition.anInt7038 = 0; + Component219.anInt6367 = 0; + Buffer.anInt7181 = 0; + BitmapFont.anInt4058 = 0; + MatrixSub2.anInt5721 = 0; + DefinitionSub33.anInt9428 = 0; + DisplayModeManagerContainer173.anInt4243 = 0; + DefinitionSub28.anInt9363 = 0; + Component141.anInt9960 = 0; + CacheNodeSub1.anInt10476 = 0; + BrowserUrlOpener.anInt8918 = 0; + SpriteSub1.anInt8406 = 0; + SceneNode.anInt6682 = 0; + GlToolkitSub2.anInt7564 = 0; + Component253.anInt3198 = 0; + BrowserDetector.anInt2368 = 0; + Component251.anInt5820 = 0; + Applet_Sub1.anInt28 = 0; + GlToolkitSub2.anInt7605 = 0; + Buffer.anInt7188 = 0; + GlToolkitSub2.anInt7587 = 0; + ClientSystemInfo.anInt6873 = 0; + Component103.anInt4189 = 0; + MatrixSub3.anInt5755 = 0; + Npc.anInt10501 = 0; + Component245.anInt120 = 0; + DisplayModeManagerContainer57.anInt722 = 0; + GlExtensionManager.anInt9890 = 0; + BrowserUrlOpener.anInt8905 = 0; + ShaderProgramSub7.anInt6291 = 0; + BitmapFont.anInt4059 = 0; + Player.anInt10533 = 0; + DefinitionSub8.anInt9161 = 0; + Component66.anInt6026 = 0; + DisplayModeManagerContainer220.anInt277 = 0; + DisplayModeManagerContainer190.anInt5501 = 0; + GlExtensionManager.anInt9847 = 0; + Component137.anInt1926 = 0; + GlToolkitSub2.anInt7705 = 0; + Component349.anInt10035 = 0; + GlToolkitSub3.anInt7977 = 0; + DisplayModeManagerContainer190.anInt5407 = 0; + Component290.anInt2182 = 0; + Component349.anInt10006 = 0; + DisplayModeManagerContainer282.anInt5607 = 0; + GlRectangleTexture.anInt9942 = 0; + DisplayModeManagerContainer369.anInt2897 = 0; + GlToolkitSub3.anInt8009 = 0; + Component380.anInt4986 = 0; + Component327.anInt8753 = 0; + GlToolkitSub2.anInt7515 = 0; + BasicMouseHandler.anInt7431 = 0; + ImageCache.anInt2560 = 0; + Connection.anInt2664 = 0; + Component200.anInt3707 = 0; + ItemDefinitionProvider.anInt3274 = 0; + WorldNameText.anInt8650 = 0; + Npc.anInt10508 = 0; + Component86.anInt4529 = 0; + CacheStore.anInt637 = 0; + Component129.anInt488 = 0; + DisplayModeManagerContainer370.anInt1129 = 0; + CurvePreset.anInt9213 = 0; + Component7.anInt2876 = 0; + GlToolkitSub2.anInt7519 = 0; + DisplayModeManagerContainer282.anInt5530 = 0; + ItemDefinition.anInt2809 = 0; + DisplayModeManagerContainer104.anInt10359 = 0; + GlToolkitSub2.anInt7561 = 0; + NodeSub5.anInt6620 = 0; + GlToolkitSub2.anInt7648 = 0; + NamedInteger.anInt4467 = 0; + Component246.anInt2716 = 0; + OpenGlShader.anInt7412 = 0; + Component233.anInt3993 = 0; + NodeSub51.anInt7219 = 0; + Component269.anInt8757 = 0; + WorldNameText.anInt8637 = 0; + GlExtensionManager.anInt9870 = 0; + ShaderLinker.anInt10152 = 0; + Component308.anInt5229 = 0; + Component212.anInt9984 = 0; + GlExtensionManager.anInt9896 = 0; + Component219.anInt6362 = 0; + Component184.anInt1989 = 0; + Component143.anInt2325 = 0; + DisplayModeManagerContainer363.anInt4093 = 0; + Component134.anInt5805 = 0; + GlToolkitSub2.anInt7584 = 0; + Component30.anInt1893 = 0; + DisplayModeManagerContainer42.anInt3849 = 0; + TheoraVideoPlayer.anInt1501 = 0; + Component31.anInt5898 = 0; + Component143.anInt2320 = 0; + GlToolkitSub2.anInt7559 = 0; + DefinitionSub39.anInt9486 = 0; + Component284.anInt6145 = 0; + DisplayModeManagerContainer368.anInt5253 = 0; + Component357.anInt2476 = 0; + Component239.anInt4550 = 0; + client.anInt5174 = 0; + GlToolkitSub2.anInt7518 = 0; + Component60.anInt5905 = 0; + ParticleShader.anInt6226 = 0; + Player.anInt10562 = 0; + GraphicsToolkit.anInt4576 = 0; + ColorTagNode.anInt6771 = 0; + GlToolkitSub2.anInt7576 = 0; + Applet_Sub1.anInt21 = 0; + Component66.anInt6022 = 0; + NodeSub46.anInt7110 = 0; + CacheStore.anInt660 = 0; + GlToolkitSub2.anInt7560 = 0; + Component299.anInt450 = 0; + Component212.anInt9994 = 0; + DisplayModeManagerContainer348.anInt5885 = 0; + Component243.anInt484 = 0; + DisplayModeManagerContainer341.anInt5996 = 0; + SceneManager.anInt2858 = 0; + GlToolkitSub2.anInt7609 = 0; + GlToolkitSub2.anInt7604 = 0; + HashNodeSub16.anInt9666 = 0; + TcpSocketStream.anInt5831 = 0; + Component386.anInt2874 = 0; + Buffer.anInt7205 = 0; + GlToolkitSub3.anInt7906 = 0; + GlToolkitSub2.anInt7662 = 0; + NodeSub3.anInt6587 = 0; + Component281.anInt3830 = 0; + GlToolkitSub3.anInt7972 = 0; + Component324.anInt2049 = 0; + GlToolkitSub3.anInt7990 = 0; + DefinitionSub13.anInt9202 = 0; + Component158.anInt324 = 0; + ParticleSystem.anInt7120 = 0; + Component143.anInt2318 = 0; + GlToolkitSub3.anInt8035 = 0; + Component355.anInt3263 = 0; + Component208.anInt1768 = 0; + HashNodeSub10.anInt9575 = 0; + Component289.anInt10126 = 0; + NodeBaseSub2.anInt9779 = 0; + GlExtensionManager.anInt9835 = 0; + Component214.anInt2136 = 0; + DisplayModeManagerContainer190.anInt5431 = 0; + Component241.anInt2921 = 0; + Component256.anInt6112 = 0; + BrowserUrlOpener.anInt8900 = 0; + DisplayModeManagerContainer104.anInt10353 = 0; + DisplayModeManagerContainer282.anInt5590 = 0; + DefinitionSub31.anInt9407 = 0; + ImageCache.anInt2569 = 0; + GlToolkitSub3.anInt8004 = 0; + DisplayModeManagerContainer310.anInt354 = 0; + DisplayModeManagerContainer74.anInt4811 = 0; + SeekableFile.anInt1306 = 0; + Component374.anInt4132 = 0; + NodeSub22.anInt6861 = 0; + RenderableObject.anInt6384 = 0; + Component60.anInt5904 = 0; + DefinitionSub22.anInt9290 = 0; + GlToolkitSub2.anInt7620 = 0; + DefinitionSub32.anInt9417 = 0; + Component17.anInt3881 = 0; + Component388.anInt6079 = 0; + Component22.anInt1740 = 0; + DisplayModeManagerContainer190.anInt5469 = 0; + GlToolkitSub3.anInt7929 = 0; + AudioLine.anInt3598 = 0; + Component274.anInt579 = 0; + Component315.anInt3164 = 0; + Component324.anInt2055 = 0; + SpriteSub1.anInt8405 = 0; + NodeSub3.anInt6578 = 0; + CookieManager.anInt6300 = 0; + Component251.anInt5815 = 0; + LoggedOutDefinition.anInt9437 = 0; + Component195.anInt5018 = 0; + Component212.anInt9982 = 0; + Renderable.anInt3972 = 0; + DisplayModeManagerContainer292.anInt5079 = 0; + Applet_Sub1.anInt34 = 0; + HashNodeSub13.anInt9619 = 0; + Component349.anInt10005 = 0; + BasicMouseHandler.anInt7433 = 0; + GlToolkitSub2.anInt7617 = 0; + Component289.anInt10131 = 0; + Component366.anInt3066 = 0; + WaterShader.anInt7370 = 0; + Component279.anInt228 = 0; + GlExtensionManager.anInt9832 = 0; + Buffer.anInt7140 = 0; + Component29.anInt10049 = 0; + DisplayModeManagerContainer348.anInt5888 = 0; + Component364.anInt8336 = 0; + DisplayModeManagerContainer254.anInt2141 = 0; + Component349.anInt10016 = 0; + DefinitionSub8.anInt9148 = 0; + GlToolkitSub3.anInt8071 = 0; + GlToolkitSub3.anInt7899 = 0; + Component364.anInt8346 = 0; + Component316.anInt2487 = 0; + DefinitionGroup.anInt9522 = 0; + Component244.anInt4180 = 0; + Buffer.anInt7165 = 0; + FriendLoginMessage.anInt8782 = 0; + NodeSub16Sub2.anInt8864 = 0; + ItemDefinition.anInt2790 = 0; + AbstractShaderSub1.anInt7279 = 0; + Component245.anInt116 = 0; + TheoraVideoPlayer.anInt1496 = 0; + BuildType.anInt2991 = 0; + ResourceLoader.anInt3912 = 0; + InputStream_Sub1.anInt72 = 0; + RenderableSub2.anInt6398 = 0; + StringDefinition.anInt9584 = 0; + Component49.anInt4677 = 0; + NodeSub51.anInt7258 = 0; + BrowserUrlOpener.anInt8934 = 0; + ComponentDownloader.anInt414 = 0; + GlToolkitSub2.anInt7533 = 0; + Component200.anInt3716 = 0; + Component85.anInt2882 = 0; + Component41.anInt3148 = 0; + Npc.anInt10502 = 0; + NodeSub46.anInt7109 = 0; + Component94.anInt3665 = 0; + Component184.anInt1984 = 0; + Component31.anInt5896 = 0; + GlToolkitSub3.anInt8015 = 0; + CacheNodeSub2.anInt10481 = 0; + NodeSub8.anInt6659 = 0; + DisplayModeManagerContainer370.anInt1133 = 0; + HashNodeSub7.anInt9543 = 0; + DisplayModeManagerContainer368.anInt5239 = 0; + Component352.anInt621 = 0; + Component228.anInt3012 = 0; + DummyClass.anInt10178 = 0; + BufferCacheSub3.anInt8300 = 0; + CookieManager.anInt6298 = 0; + DisplayModeManagerContainer152.anInt4536 = 0; + Component272.anInt5863 = 0; + BuildInfo.anInt152 = 0; + NodeBaseSub2.anInt9777 = 0; + Component188.anInt6137 = 0; + Component349.anInt10029 = 0; + DisplayModeManagerContainer292.anInt5064 = 0; + DebugPanicSub1.anInt8483 = 0; + Component139.anInt6133 = 0; + DisplayModeManagerContainer282.anInt5545 = 0; + TheoraVideoPlayer.anInt1502 = 0; + PauseHandler.anInt9537 = 0; + MatrixSub2.anInt5707 = 0; + HashNodeSub17.anInt9675 = 0; + Component19.anInt8607 = 0; + Component333.anInt3639 = 0; + Component311.anInt4084 = 0; + DisplayModeManagerContainer1.anInt3315 = 0; + DisplayModeManagerContainer77.anInt1860 = 0; + Component349.anInt10022 = 0; + Component221.anInt1799 = 0; + TcpSocketStream.anInt5833 = 0; + BrowserUrlOpener.anInt8907 = 0; + BasicMouseHandler.anInt7447 = 0; + BuildInfo.anInt153 = 0; + DisplayModeManagerContainer282.anInt5651 = 0; + Component373.anInt459 = 0; + Component252.anInt10197 = 0; + DisplayModeManagerContainer282.anInt5631 = 0; + Component219.anInt6353 = 0; + Component258.anInt1968 = 0; + GlExtensionManager.anInt9865 = 0; + DebugPanic.anInt4758 = 0; + Component195.anInt5003 = 0; + RandomAccessFileReader.anInt3045 = 0; + DisplayModeManagerContainer207.anInt9760 = 0; + Component110.anInt234 = 0; + Component40.anInt6320 = 0; + Buffer.anInt7155 = 0; + BufferCacheSub2.anInt8263 = 0; + Buffer.anInt7189 = 0; + HashTable.anInt1649 = 0; + DisplayModeManagerContainer89.anInt8373 = 0; + GradientPreset.anInt9192 = 0; + JagTheoraDecoder.anInt996 = 0; + ImageProducerSprite.anInt9079 = 0; + DisplayModeManagerContainer282.anInt5570 = 0; + Component266.anInt5975 = 0; + CacheStore.anInt628 = 0; + HashNodeSub20.anInt9703 = 0; + NodeSub11.anInt4765 = 0; + NodeList.anInt3341 = 0; + DisplayModeManagerContainer67.anInt1731 = 0; + DisplayModeManagerContainer282.anInt5602 = 0; + Applet_Sub1.anInt30 = 0; + NodeList.anInt3325 = 0; + MatrixSub3.anInt5766 = 0; + DisplayModeManagerContainer295.anInt5916 = 0; + Component212.anInt9969 = 0; + DisplayModeManagerContainer104.anInt10328 = 0; + GameType.anInt2983 = 0; + NodeSub20.anInt6837 = 0; + DisplayModeManagerContainer190.anInt5426 = 0; + GlToolkitSub2.anInt7642 = 0; + SoftwareFallbackShader.anInt7381 = 0; + NewsFetcher.anInt4200 = 0; + Component119.anInt3399 = 0; + Component205.anInt5970 = 0; + Component134.anInt5811 = 0; + TheoraVideoPlayer.anInt1499 = 0; + WaterShader.anInt7366 = 0; + GpiLogger.anInt8849 = 0; + GlToolkitSub2.anInt7678 = 0; + GlToolkitSub2.anInt7673 = 0; + GlToolkitSub2.anInt7581 = 0; + GlToolkitSub3.anInt8016 = 0; + DisplayModeManagerContainer370.anInt1126 = 0; + ShaderProgram.anInt3681 = 0; + DisplayModeManagerContainer282.anInt5628 = 0; + Buffer.anInt7167 = 0; + ItemDefinition.anInt2780 = 0; + Component37.anInt3927 = 0; + ToolbarRefreshDefinition.anInt9223 = 0; + Component208.anInt1772 = 0; + Component212.anInt9990 = 0; + Component241.anInt2952 = 0; + Component379.anInt5928 = 0; + GlToolkitSub2.anInt7717 = 0; + MenuOpener.anInt4838 = 0; + CacheNode.anInt9547 = 0; + GlToolkitSub2.anInt7582 = 0; + GlToolkitSub3.anInt7988 = 0; + AudioLine.anInt3596 = 0; + DisplayModeManagerContainer173.anInt4241 = 0; + MatrixSub2.anInt5741 = 0; + Component203.anInt8779 = 0; + GraphicsToolkit.anInt4580 = 0; + DisplayModeManagerContainer56.anInt2537 = 0; + ObjectDeserializer.anInt6961 = 0; + DefinitionSub11.anInt9188 = 0; + DisplayModeManagerContainer282.anInt5630 = 0; + Component323.anInt5873 = 0; + Component309.anInt3344 = 0; + GlToolkitSub2.anInt7710 = 0; + Component211.anInt1960 = 0; + MatrixSub3.anInt5763 = 0; + GlToolkitSub2.anInt7665 = 0; + WaterShaderSub8.anInt7354 = 0; + Request.anInt6886 = 0; + AbstractShaderSub2.anInt7286 = 0; + BuildType.anInt2994 = 0; + Component291.anInt2532 = 0; + Npc.anInt10514 = 0; + HuffmanDecoder.anInt3765 = 0; + Definition.anInt7029 = 0; + WorldNameText.anInt8635 = 0; + DisplayModeManagerContainer57.anInt837 = 0; + ShaderProgramSub9.anInt6311 = 0; + GlToolkitSub3.anInt7943 = 0; + NodeSub11.anInt4760 = 0; + WorldNameText.anInt8636 = 0; + GlToolkitSub2.anInt7634 = 0; + BrowserUrlOpener.anInt8927 = 0; + BufferCacheSub3.anInt8318 = 0; + Buffer.anInt7171 = 0; + ReliefShader.anInt2517 = 0; + HashNodeSub20.anInt9708 = 0; + Component192.anInt3958 = 0; + DisplayModeManagerContainer190.anInt5425 = 0; + Connection.anInt2667 = 0; + GlToolkitSub3.anInt7923 = 0; + DefinitionSub38.anInt9472 = 0; + Component383.anInt8574 = 0; + DisplayModeManagerContainer159.anInt2746 = 0; + CurvePreset.anInt9206 = 0; + Component225.anInt469 = 0; + AbstractShaderSub1.anInt7278 = 0; + Component175.anInt5849 = 0; + Component175.anInt5841 = 0; + ShaderProgramSub7.anInt6281 = 0; + MatrixSub3.anInt5780 = 0; + MatrixSub3.anInt5749 = 0; + DefinitionSub19.anInt9256 = 0; + GlToolkitSub3.anInt7944 = 0; + DisplayModeManagerContainer204.anInt1596 = 0; + DisplayModeManagerContainer172.anInt551 = 0; + DisplayModeManagerContainer259.anInt3445 = 0; + ClientScriptExecutor.anInt1171 = 0; + DisplayModeManagerContainer58.anInt10235 = 0; + InterfaceRenderer.anInt5052 = 0; + Component379.anInt5926 = 0; + Applet_Sub1.anInt15 = 0; + DisplayModeManagerContainer57.anInt829 = 0; + HashNodeSub14.anInt9638 = 0; + BrowserDetector.anInt2357 = 0; + BufferCacheSub2.anInt8239 = 0; + BrowserUrlOpener.anInt8930 = 0; + GlExtensionManager.anInt9859 = 0; + ParticleShader.anInt6229 = 0; + DisplayModeManagerContainer220.anInt271 = 0; + CookieManager.anInt6294 = 0; + GlToolkitSub3.anInt7983 = 0; + Component311.anInt4088 = 0; + GlToolkitSub2.anInt7614 = 0; + GraphicsToolkit.anInt4577 = 0; + Component48.anInt4335 = 0; + Component349.anInt10021 = 0; + DisplayModeManagerContainer67.anInt1729 = 0; + DisplayModeManagerContainer190.anInt5491 = 0; + DisplayModeManagerContainer57.anInt802 = 0; + ImageDefinition.anInt9145 = 0; + Component388.anInt6082 = 0; + GlToolkitSub3.anInt7896 = 0; + Component255.anInt1060 = 0; + Component100.anInt8692 = 0; + NodeSub51.anInt7233 = 0; + BrowserUrlOpener.anInt8893 = 0; + Cp1252Decoder.anInt5216 = 0; + Player.anInt10541 = 0; + Component290.anInt2179 = 0; + Component179.anInt9052 = 0; + GlToolkitSub2.anInt7637 = 0; + GraphicsToolkit.anInt4575 = 0; + DisplayModeManagerContainer77.anInt1828 = 0; + ShaderSub2.anInt5194 = 0; + RuntimeException_Sub1.anInt4605 = 0; + Component208.anInt1775 = 0; + Buffer.anInt7169 = 0; + DisplayModeManagerContainer91.anInt390 = 0; + HashNodeSub16Sub1.anInt10455 = 0; + Component301.anInt4120 = 0; + BasicMouseHandler.anInt7449 = 0; + IOException_Sub1.anInt87 = 0; + WaterShaderProgram.anInt6271 = 0; + Buffer.anInt7143 = 0; + Component212.anInt9995 = 0; + client.anInt5172 = 0; + Component314.anInt3874 = 0; + Component263.anInt1557 = 0; + DisplayModeManagerContainer194.anInt5100 = 0; + CacheNodeSub2.anInt10490 = 0; + Component168.anInt3950 = 0; + CacheFileStore.anInt4219 = 0; + NodeSub18.anInt6817 = 0; + GlToolkitSub3.anInt8021 = 0; + Component179.anInt9053 = 0; + DebugPanicSub2.anInt8499 = 0; + DefinitionSub17Sub1.anInt10427 = 0; + ToolbarRefreshDefinition.anInt9227 = 0; + KeyFocusHandler.anInt6531 = 0; + NodeSub5.anInt6628 = 0; + SpriteSub2.anInt8440 = 0; + Component98.anInt5936 = 0; + Component327.anInt8754 = 0; + DisplayModeManagerContainer196.anInt4227 = 0; + SoftwareFallbackShader.anInt7387 = 0; + NodeSub44.anInt7100 = 0; + Component323.anInt5872 = 0; + BufferCacheSub2.anInt8251 = 0; + DisplayModeManagerContainer74.anInt4825 = 0; + CacheStore.anInt645 = 0; + DisplayModeManagerContainer259.anInt3448 = 0; + Component364.anInt8341 = 0; + SpriteSub2.anInt8435 = 0; + CacheStore.anInt630 = 0; + Component247.anInt4909 = 0; + Component65.anInt1630 = 0; + BrowserUrlOpener.anInt8913 = 0; + NewsFetcher.anInt4210 = 0; + DisplayModeManagerContainer190.anInt5441 = 0; + Component303.anInt2888 = 0; + MenuEntry.anInt9594 = 0; + Component284.anInt6146 = 0; + Npc.anInt10510 = 0; + KeyFocusHandler.anInt6529 = 0; + DefinitionSub30.anInt9397 = 0; + MatrixSub3.anInt5757 = 0; + Component353.anInt2582 = 0; + Applet_Sub1.anInt8 = 0; + GlToolkitSub2.anInt7549 = 0; + WorldNameText.anInt8645 = 0; + DisplayModeManagerContainer190.anInt5513 = 0; + NpcDefinition.anInt6803 = 0; + SeekableFile.anInt1310 = 0; + BitmapFont.anInt4055 = 0; + Component3.anInt2043 = 0; + Component168.anInt3947 = 0; + GlToolkitSub3.anInt8024 = 0; + GradientPreset.anInt9191 = 0; + Component228.anInt3013 = 0; + GlToolkitSub3.anInt8000 = 0; + Component143.anInt2313 = 0; + DisplayModeManagerContainer259.anInt3434 = 0; + MatrixSub1.anInt5661 = 0; + GlToolkitSub2.anInt7618 = 0; + LibraryCreditsText.anInt5956 = 0; + BrowserDetector.anInt2362 = 0; + GlToolkitSub3.anInt8028 = 0; + GlToolkitSub3.anInt7953 = 0; + DisplayModeManagerContainer165.anInt3845 = 0; + CacheNodeSub1.anInt10473 = 0; + NodeSub1Sub3.anInt8821 = 0; + NodeSub46.anInt7112 = 0; + CacheIndexReader.anInt1934 = 0; + GlToolkitSub2.anInt7557 = 0; + GlToolkitSub3.anInt7965 = 0; + Component139.anInt6127 = 0; + DefinitionGroup.anInt9529 = 0; + CacheStore.anInt668 = 0; + LoggedOutDefinition.anInt9434 = 0; + Component350.anInt8655 = 0; + DisplayModeManagerContainer207.anInt9763 = 0; + Component65.anInt1619 = 0; + GpiLogger.anInt8845 = 0; + ShaderProgramSub9.anInt6309 = 0; + Component382.anInt2267 = 0; + GlToolkitSub3.anInt8002 = 0; + DisplayModeManagerContainer104.anInt10360 = 0; + CacheStore.anInt641 = 0; + HashNodeSub3.anInt9509 = 0; + NodeSub14.anInt6763 = 0; + NpcComposition.anInt1389 = 0; + Component255.anInt1063 = 0; + DefinitionSub15.anInt9218 = 0; + Component231.anInt340 = 0; + Component31.anInt5895 = 0; + Component265.anInt1589 = 0; + Component287.anInt6074 = 0; + Component128.anInt1108 = 0; + DisplayModeManagerContainer64.anInt9025 = 0; + Component261.anInt4829 = 0; + NpcComposition.anInt1379 = 0; + CookieManager.anInt6305 = 0; + Component197.anInt10083 = 0; + Component327.anInt8740 = 0; + AbstractShader.anInt4484 = 0; + Component193.anInt3250 = 0; + DebugPanic.anInt4752 = 0; + OutputStream_Sub1.anInt96 = 0; + Component193.anInt3252 = 0; + GlToolkitSub2.anInt7550 = 0; + Component192.anInt3965 = 0; + ShaderLinker.anInt10158 = 0; + Sprite.anInt6914 = 0; + KeyStoreLoader.anInt1634 = 0; + Component189.anInt3820 = 0; + GlExtensionManager.anInt9841 = 0; + DisplayModeManagerContainer282.anInt5569 = 0; + ColoredText.anInt6084 = 0; + Component231.anInt328 = 0; + DisplayModeManagerContainer130.anInt3469 = 0; + Component385.anInt2206 = 0; + GlToolkitSub3.anInt7995 = 0; + DisplayModeManagerContainer220.anInt272 = 0; + ComponentDownloader.anInt411 = 0; + Player.anInt10555 = 0; + GlExtensionManager.anInt9884 = 0; + Component338.anInt1707 = 0; + Component287.anInt6070 = 0; + HashNodeSub17.anInt9680 = 0; + Component245.anInt121 = 0; + Component83.anInt1660 = 0; + GlToolkitSub3.anInt8068 = 0; + Component19.anInt8615 = 0; + DefinitionSub17.anInt9239 = 0; + DefinitionSub21.anInt9268 = 0; + Component160.anInt4352 = 0; + NodeSub7.anInt6646 = 0; + Applet_Sub1.anInt22 = 0; + LibraryCreditsText.anInt5953 = 0; + DisplayModeManagerContainer190.anInt5500 = 0; + DisplayModeManagerContainer58.anInt10262 = 0; + Component264.anInt8702 = 0; + ResourceLoader.anInt3902 = 0; + DisplayModeManagerContainer77.anInt1819 = 0; + GlToolkitSub2.anInt7644 = 0; + MatrixSub3.anInt5774 = 0; + HashNodeSub13.anInt9620 = 0; + DisplayModeManagerContainer136.anInt4706 = 0; + DisplayModeManagerContainer26.anInt1453 = 0; + PauseHandler.anInt9539 = 0; + GlExtensionManager.anInt9828 = 0; + Component337.anInt3645 = 0; + HuffmanDecoder.anInt3768 = 0; + Component25.anInt6007 = 0; + Component2.anInt8362 = 0; + BrowserUrlOpener.anInt8917 = 0; + Component197.anInt10080 = 0; + Buffer.anInt7185 = 0; + Component208.anInt1769 = 0; + TeleportHandler.anInt4439 = 0; + Component302.anInt6033 = 0; + RadixParser.anInt2295 = 0; + Component330.anInt1514 = 0; + KeyFocusHandler.anInt6530 = 0; + SpriteSub2.anInt8441 = 0; + GlToolkitSub2.anInt7699 = 0; + DisplayModeManagerContainer370.anInt1125 = 0; + DisplayModeManagerContainer306.anInt4775 = 0; + BitmapFont.anInt4065 = 0; + DisplayModeManagerContainer341.anInt6004 = 0; + DisplayModeManagerContainer370.anInt1134 = 0; + Component219.anInt6349 = 0; + SpriteSub1.anInt8415 = 0; + ShaderProgramSub9.anInt6315 = 0; + AbstractShaderSub1.anInt7281 = 0; + client.anInt5175 = 0; + Component82.anInt440 = 0; + Component261.anInt4832 = 0; + Component240.anInt1115 = 0; + Definition.anInt7034 = 0; + WorldNameText.anInt8647 = 0; + HashNodeSub16Sub1.anInt10452 = 0; + ItemDefinition.anInt2816 = 0; + AbstractShader.anInt4481 = 0; + Component29.anInt10040 = 0; + DisplayModeManagerContainer190.anInt5414 = 0; + GlToolkitSub2.anInt7566 = 0; + RadixParser.anInt2288 = 0; + client.anInt5186 = 0; + DisplayModeManagerContainer196.anInt4231 = 0; + Component256.anInt6106 = 0; + Component256.anInt6099 = 0; + MatrixSub3.anInt5767 = 0; + NpcDefinition.anInt6794 = 0; + Component253.anInt3193 = 0; + Component284.anInt6153 = 0; + Buffer.anInt7198 = 0; + Component338.anInt1705 = 0; + BasicMouseHandler.anInt7455 = 0; + SceneManager.anInt2857 = 0; + DisplayModeManagerContainer26.anInt1459 = 0; + DisplayModeManagerContainer154.anInt1281 = 0; + GlToolkitSub3.anInt8033 = 0; + NodeSub11.anInt4769 = 0; + SpriteAtlasShader.anInt6256 = 0; + BitmapFont.anInt4061 = 0; + Component122.anInt1568 = 0; + Component230.anInt5261 = 0; + NodeSub11.anInt4768 = 0; + MatrixSub1.anInt5667 = 0; + Applet_Sub1.anInt26 = 0; + NodeSub20.anInt6828 = 0; + Component272.anInt5860 = 0; + Component349.anInt10037 = 0; + FriendsIgnoreList.anInt3479 = 0; + HashNodeSub2.anInt8570 = 0; + DisplayModeManagerContainer220.anInt283 = 0; + BuildInfo.anInt149 = 0; + OutputStream_Sub2.anInt103 = 0; + OggStream.anInt6866 = 0; + DisplayModeManagerContainer282.anInt5622 = 0; + DisplayModeManagerContainer194.anInt5087 = 0; + RenderableObject.anInt6390 = 0; + InputStream_Sub1.anInt71 = 0; + GpiLogger.anInt8859 = 0; + BrowserDetector.anInt2355 = 0; + AbstractShaderSub1.anInt7277 = 0; + NodeSub41.anInt7049 = 0; + Component17.anInt3879 = 0; + GlExtensionManager.anInt9889 = 0; + ColorTagNode.anInt6778 = 0; + Component304.anInt1143 = 0; + GlToolkitSub2.anInt7681 = 0; + AbstractGlTexture.anInt4861 = 0; + Applet_Sub1.anInt36 = 0; + Component210.anInt5292 = 0; + Connection.anInt2651 = 0; + DefinitionSub26.anInt9348 = 0; + AudioLine.anInt3595 = 0; + NodeSub5.anInt6626 = 0; + Component228.anInt3007 = 0; + Component361.anInt372 = 0; + SceneManager.anInt2852 = 0; + JagTheoraDecoder.anInt992 = 0; + Npc.anInt10509 = 0; + GlToolkitSub3.anInt7913 = 0; + Component184.anInt1990 = 0; + DisplayModeManagerContainer282.anInt5633 = 0; + GlToolkitSub2.anInt7563 = 0; + GlToolkitSub2.anInt7520 = 0; + Component209.anInt3450 = 0; + BrowserUrlOpener.anInt8924 = 0; + ShaderProgramSub2.anInt6210 = 0; + DisplayModeManagerContainer347.anInt3591 = 0; + Component265.anInt1577 = 0; + NodeSub16Sub2.anInt8882 = 0; + GpiLogger.anInt8850 = 0; + Component359.anInt3151 = 0; + NameFormatter.anInt494 = 0; + Component289.anInt10141 = 0; + DisplayModeManagerContainer87.anInt3106 = 0; + Component113.anInt2396 = 0; + Component327.anInt8742 = 0; + DisplayModeManagerContainer123.anInt1297 = 0; + GlToolkitSub3.anInt7961 = 0; + DefinitionSub35.anInt9441 = 0; + DisplayModeManagerContainer282.anInt5643 = 0; + Component366.anInt3070 = 0; + DefinitionSub37.anInt9460 = 0; + GlToolkitSub2.anInt7650 = 0; + Buffer.anInt7152 = 0; + DisplayModeManagerContainer64.anInt9017 = 0; + Component299.anInt455 = 0; + DisplayModeManagerContainer238.anInt1235 = 0; + GlToolkitSub2.anInt7530 = 0; + ItemDefinition.anInt2813 = 0; + ItemDefinitionProvider.anInt3270 = 0; + GlToolkitSub2.anInt7623 = 0; + GlToolkitSub3.anInt7893 = 0; + Component256.anInt6101 = 0; + Component20.anInt6050 = 0; + Component214.anInt2134 = 0; + Component66.anInt6024 = 0; + DisplayModeManagerContainer292.anInt5077 = 0; + Component344.anInt1490 = 0; + StringCache.anInt4325 = 0; + Component134.anInt5809 = 0; + HelveticaFont.anInt2634 = 0; + GlToolkitSub2.anInt7698 = 0; + DisplayModeManagerContainer77.anInt1854 = 0; + ShaderProgramSub2.anInt6211 = 0; + SpriteAtlasShader.anInt6252 = 0; + DisplayModeManagerContainer343.anInt8729 = 0; + GlToolkitSub2.anInt7685 = 0; + NodeSub16Sub2.anInt8875 = 0; + Component114.anInt3841 = 0; + Component225.anInt467 = 0; + Buffer.anInt7202 = 0; + GlToolkitSub2.anInt7547 = 0; + Component270.anInt2121 = 0; + Component101.anInt2096 = 0; + KeyFocusHandler.anInt6525 = 0; + Component255.anInt1062 = 0; + Component243.anInt485 = 0; + Component111.anInt3230 = 0; + HashNodeSub14.anInt9630 = 0; + Sprite.anInt6919 = 0; + ShaderLinker.anInt10169 = 0; + Component237.anInt3019 = 0; + SceneNode.anInt6669 = 0; + GlWaterShader.anInt8827 = 0; + client.anInt5181 = 0; + Component44.anInt870 = 0; + Component235.anInt3369 = 0; + Component210.anInt5282 = 0; + Component102.anInt4805 = 0; + Component253.anInt3189 = 0; + Component280.anInt2452 = 0; + AbstractShaderSub3.anInt7307 = 0; + Component29.anInt10043 = 0; + ScreenModeManager.anInt2839 = 0; + Component150.anInt2966 = 0; + Component197.anInt10063 = 0; + Component298.anInt4627 = 0; + Component85.anInt2879 = 0; + CacheFileStore.anInt4214 = 0; + Component62.anInt2088 = 0; + Component212.anInt10000 = 0; + DisplayModeManagerContainer190.anInt5434 = 0; + AssetCacheLoader.anInt375 = 0; + Component274.anInt589 = 0; + ImageProducerSprite.anInt9072 = 0; + Component15.anInt4926 = 0; + Buffer.anInt7147 = 0; + DefinitionSub6.anInt9131 = 0; + Component329.anInt5983 = 0; + LruCache.anInt4381 = 0; + Component63.anInt4486 = 0; + GlToolkitSub2.anInt7671 = 0; + Applet_Sub1.anInt16 = 0; + Component186.anInt4393 = 0; + Component327.anInt8748 = 0; + DebugPanicSub1.anInt8489 = 0; + Connection.anInt2653 = 0; + Component17.anInt3880 = 0; + CookieBuilder.anInt613 = 0; + s.anInt4593 = 0; + BitmapFont.anInt4049 = 0; + Component317.anInt8676 = 0; + Component210.anInt5295 = 0; + CacheNodeSub1.anInt10470 = 0; + NodeSub12.anInt6739 = 0; + DisplayModeManagerContainer282.anInt5603 = 0; + DisplayModeManagerContainer190.anInt5523 = 0; + GlToolkitSub3.anInt7975 = 0; + DefinitionSub24.anInt9328 = 0; + HashNodeSub10.anInt9570 = 0; + Component349.anInt10034 = 0; + Buffer.anInt7191 = 0; + Component308.anInt5235 = 0; + DisplayModeManagerContainer282.anInt5636 = 0; + HashNodeSub3.anInt9507 = 0; + Player.anInt10545 = 0; + NodeSub1.anInt6563 = 0; + BrowserUrlOpener.anInt8903 = 0; + TeleportHandler.anInt4434 = 0; + ImageProducerSprite.anInt9074 = 0; + Component200.anInt3715 = 0; + DisplayModeManagerContainer88.anInt1206 = 0; + GlExtensionManager.anInt9879 = 0; + Component237.anInt3016 = 0; + ImageProducerSprite.anInt9076 = 0; + AbstractShaderSub4.anInt7313 = 0; + DisplayModeManagerContainer207.anInt9761 = 0; + DisplayModeManagerContainer153.anInt1576 = 0; + HashNodeSub14.anInt9623 = 0; + Component386.anInt2869 = 0; + BufferCacheSub2.anInt8236 = 0; + Component377.anInt848 = 0; + GlToolkitSub2.anInt7589 = 0; + NodeSub13.anInt6754 = 0; + Component195.anInt5005 = 0; + DisplayModeManagerContainer87.anInt3115 = 0; + TeleportHandler.anInt4432 = 0; + Player.anInt10563 = 0; + BrowserUrlOpener.anInt8908 = 0; + WorldNameText.anInt8646 = 0; + DisplayModeManagerContainer58.anInt10216 = 0; + Component38.anInt2508 = 0; + NodeSub41.anInt7046 = 0; + DisplayModeManagerContainer213.anInt1077 = 0; + NodeSub1Sub1.anInt8809 = 0; + Component297.anInt4723 = 0; + GlExtensionManager.anInt9844 = 0; + MatrixSub1.anInt5682 = 0; + StringDefinition.anInt9583 = 0; + MatrixSub3.anInt5759 = 0; + MatrixSub2.anInt5690 = 0; + Canvas_Sub1.anInt65 = 0; + Component203.anInt8768 = 0; + Component184.anInt1983 = 0; + Component29.anInt10039 = 0; + ToolbarRefreshDefinition.anInt9224 = 0; + DisplayModeManagerContainer282.anInt5589 = 0; + NpcDefinition.anInt6790 = 0; + ShaderLinker.anInt10167 = 0; + Component141.anInt9947 = 0; + Component219.anInt6370 = 0; + Component274.anInt594 = 0; + PacketReader.anInt10430 = 0; + DefinitionSub29.anInt9376 = 0; + DefinitionSub20.anInt9262 = 0; + Component175.anInt5846 = 0; + NodeSub45Sub2.anInt9732 = 0; + DisplayModeManagerContainer213.anInt1072 = 0; + Component239.anInt4555 = 0; + Component97.anInt1536 = 0; + DisplayModeManagerContainer190.anInt5514 = 0; + DisplayModeManagerContainer288.anInt8624 = 0; + GlToolkitSub2.anInt7677 = 0; + DisplayModeManagerContainer154.anInt1284 = 0; + Component63.anInt4495 = 0; + HelveticaFont.anInt2627 = 0; + GlExtensionManager.anInt9874 = 0; + DisplayModeManagerContainer64.anInt9022 = 0; + DisplayModeManagerContainer207.anInt9755 = 0; + ImageProducerSprite.anInt9068 = 0; + Component71.anInt6069 = 0; + GlExtensionManager.anInt9846 = 0; + BitmapFont.anInt4057 = 0; + Canvas_Sub1.anInt69 = 0; + GlExtensionManager.anInt9892 = 0; + Component285.anInt972 = 0; + HashNodeSub2.anInt8561 = 0; + Component252.anInt10193 = 0; + GlToolkitSub2.anInt7702 = 0; + GlToolkitSub2.anInt7608 = 0; + GlToolkitSub2.anInt7706 = 0; + Component149.anInt4457 = 0; + Component193.anInt3254 = 0; + HashNodeSub1.anInt9489 = 0; + GlToolkitSub3.anInt8018 = 0; + Component84.anInt1511 = 0; + DefinitionSub20.anInt9265 = 0; + Component252.anInt10179 = 0; + GlToolkitSub2.anInt7622 = 0; + BasicMouseHandler.anInt7436 = 0; + ItemDefinition.anInt2782 = 0; + Npc.anInt10500 = 0; + Component329.anInt5984 = 0; + PacketReader.anInt10438 = 0; + Component289.anInt10139 = 0; + NodeList.anInt3339 = 0; + DisplayModeManagerContainer174.anInt10372 = 0; + NativeLibLoader.anInt4163 = 0; + GlToolkitSub2.anInt7570 = 0; + NodeSub1Sub3.anInt8820 = 0; + DisplayModeManagerContainer1.anInt3322 = 0; + Component183.anInt1750 = 0; + DisplayModeManagerContainer190.anInt5448 = 0; + Component255.anInt1061 = 0; + BasicMouseHandler.anInt7443 = 0; + NpcComposition.anInt1378 = 0; + Component71.anInt6067 = 0; + DisplayModeManagerContainer58.anInt10298 = 0; + Renderable.anInt3973 = 0; + Component94.anInt3664 = 0; + client.anInt5179 = 0; + TheoraVideoPlayer.anInt1498 = 0; + DefinitionSub21.anInt9272 = 0; + Component388.anInt6077 = 0; + Component49.anInt4676 = 0; + Component25.anInt6010 = 0; + ShaderLinker.anInt10160 = 0; + CacheIndexReader.anInt1935 = 0; + Buffer.anInt7162 = 0; + Component358.anInt3878 = 0; + anInt5795 = 0; + DisplayModeManagerContainer190.anInt5446 = 0; + Component101.anInt2097 = 0; + Component225.anInt462 = 0; + DisplayModeManagerContainer174.anInt10402 = 0; + NewsFetcher.anInt4209 = 0; + Buffer.anInt7164 = 0; + DefinitionSub38.anInt9468 = 0; + Component388.anInt6078 = 0; + Definition.anInt7039 = 0; + MatrixSub2.anInt5693 = 0; + GraphicsToolkit.anInt4570 = 0; + Component224.anInt5168 = 0; + DisplayModeManagerContainer87.anInt3116 = 0; + GlToolkitSub3.anInt8036 = 0; + GlToolkitSub3.anInt7996 = 0; + HelveticaFont.anInt2630 = 0; + HashNodeSub18.anInt9686 = 0; + GpsOverlay.anInt1950 = 0; + Component304.anInt1139 = 0; + ParticleSystem.anInt7123 = 0; + Component362.anInt5789 = 0; + DisplayModeManagerContainer368.anInt5238 = 0; + NodeSub51.anInt7239 = 0; + NodeCache.anInt1101 = 0; + GlToolkitSub2.anInt7658 = 0; + ItemDefinitionProvider.anInt3283 = 0; + RadixText.anInt6125 = 0; + OggStream.anInt6870 = 0; + SpriteAtlasShader.anInt6249 = 0; + GlToolkitSub3.anInt8044 = 0; + NodeSub41.anInt7051 = 0; + DisplayModeManagerContainer96.anInt4704 = 0; + CacheStore.anInt651 = 0; + AbstractGlTexture.anInt4852 = 0; + DisplayModeManagerContainer254.anInt2142 = 0; + Component208.anInt1776 = 0; + Component2.anInt8353 = 0; + GlToolkitSub3.anInt7952 = 0; + DisplayModeManagerContainer57.anInt827 = 0; + Component29.anInt10061 = 0; + SpriteSub2.anInt8437 = 0; + DisplayModeManagerContainer348.anInt5892 = 0; + Component225.anInt478 = 0; + s.anInt4586 = 0; + ArbShaderProgram.anInt6186 = 0; + TeleportHandler.anInt4451 = 0; + DisplayModeManagerContainer104.anInt10340 = 0; + Component290.anInt2178 = 0; + GlExtensionManager.anInt9815 = 0; + Component54.anInt8669 = 0; + GlToolkitSub3.anInt8013 = 0; + Component25.anInt6013 = 0; + DisplayModeManagerContainer292.anInt5071 = 0; + NodeCache.anInt1090 = 0; + Component296.anInt4652 = 0; + ShaderCompilerSub3.anInt6521 = 0; + Component309.anInt3353 = 0; + DefinitionSub9.anInt9172 = 0; + Component302.anInt6036 = 0; + Component281.anInt3827 = 0; + ImageTagText.anInt2166 = 0; + HashNodeSub16Sub1.anInt10448 = 0; + ImageCache.anInt2566 = 0; + RenderableSub2.anInt6397 = 0; + GlExtensionManager.anInt9814 = 0; + DisplayModeManagerContainer220.anInt274 = 0; + BufferCacheSub2.anInt8255 = 0; + DefinitionSub19.anInt9253 = 0; + Npc.anInt10494 = 0; + GlToolkitSub2.anInt7590 = 0; + GlExtensionManager.anInt9823 = 0; + MatrixSub1.anInt5674 = 0; + GradientPreset.anInt9193 = 0; + GlToolkitSub3.anInt7890 = 0; + NativeLibLoader.anInt4164 = 0; + DisplayModeManagerContainer351.anInt2675 = 0; + GlToolkitSub2.anInt7631 = 0; + Component197.anInt10086 = 0; + Component284.anInt6144 = 0; + Component168.anInt3955 = 0; + DefinitionSub28.anInt9361 = 0; + DisplayModeManagerContainer58.anInt10313 = 0; + Component83.anInt1658 = 0; + GlToolkitSub2.anInt7514 = 0; + Player.anInt10529 = 0; + DisplayModeManagerContainer174.anInt10374 = 0; + Component208.anInt1765 = 0; + Player.anInt10532 = 0; + DisplayModeManagerContainer32.anInt844 = 0; + Component208.anInt1777 = 0; + DisplayModeManagerContainer145.anInt1809 = 0; + NpcDefinition.anInt6801 = 0; + SpriteSub1.anInt8394 = 0; + Buffer.anInt7176 = 0; + ReliefShader.anInt2520 = 0; + Component349.anInt10013 = 0; + Component162.anInt8379 = 0; + RunescapeInfo.anInt181 = 0; + DefinitionSub6.anInt9136 = 0; + InterfaceRenderer.anInt5039 = 0; + GlExtensionManager.anInt9894 = 0; + ToolkitFactory.anInt1532 = 0; + DisplayModeManagerContainer190.anInt5487 = 0; + GlToolkitSub3.anInt8053 = 0; + Component16.anInt2281 = 0; + GlToolkitSub2.anInt7537 = 0; + Component119.anInt3393 = 0; + DisplayModeManagerContainer165.anInt3846 = 0; + Component263.anInt1549 = 0; + MatrixSub1.anInt5688 = 0; + HashNodeSub10.anInt9576 = 0; + Component126.anInt4464 = 0; + PauseTimer.anInt505 = 0; + DisplayModeManagerContainer260.anInt3694 = 0; + ItemDefinition.anInt2754 = 0; + Component362.anInt5792 = 0; + GlToolkitSub2.anInt7591 = 0; + BufferCacheSub2.anInt8247 = 0; + Component264.anInt8699 = 0; + Component66.anInt6019 = 0; + BufferCacheSub2.anInt8242 = 0; + StringDefinition.anInt9589 = 0; + GlExtensionManager.anInt9855 = 0; + BrowserUrlOpener.anInt8892 = 0; + RSARequest.anInt9648 = 0; + GlExtensionManager.anInt9837 = 0; + ItemDefinition.anInt2793 = 0; + ReferenceTable.anInt3731 = 0; + HeapDumpHelper.anInt4933 = 0; + ShaderProgramSub9.anInt6314 = 0; + Npc.anInt10511 = 0; + DisplayModeManagerContainer89.anInt8369 = 0; + Component203.anInt8778 = 0; + Component360.anInt4318 = 0; + Component330.anInt1513 = 0; + Component60.anInt5906 = 0; + ColoredText.anInt6090 = 0; + BuildType.anInt2997 = 0; + Component267.anInt2980 = 0; + DisplayModeManagerContainer194.anInt5094 = 0; + Player.anInt10528 = 0; + DisplayModeManagerContainer190.anInt5466 = 0; + GlToolkitSub3.anInt8008 = 0; + Component86.anInt4527 = 0; + Component63.anInt4491 = 0; + Component143.anInt2319 = 0; + GlToolkitSub3.anInt7978 = 0; + BrowserDetector.anInt2356 = 0; + Component182.anInt9742 = 0; + Component388.anInt6081 = 0; + Player.anInt10546 = 0; + MatrixSub1.anInt5668 = 0; + AbstractShader.anInt4482 = 0; + DisplayModeManagerContainer154.anInt1278 = 0; + GlExtensionManager.anInt9863 = 0; + BitmapFont.anInt4053 = 0; + Component272.anInt5861 = 0; + Component349.anInt10011 = 0; + OpenGlShader.anInt7400 = 0; + Component110.anInt230 = 0; + Component185.anInt5301 = 0; + DisplayModeManagerContainer343.anInt8735 = 0; + Player.anInt10525 = 0; + DisplayModeManagerContainer346.anInt2066 = 0; + DisplayModeManagerContainer288.anInt8627 = 0; + GlExtensionManager.anInt9886 = 0; + JagTheoraDecoder.anInt1002 = 0; + WaterShaderProgram.anInt6273 = 0; + DisplayModeManagerContainer56.anInt2550 = 0; + MatrixSub1.anInt5658 = 0; + Component175.anInt5848 = 0; + Component261.anInt4831 = 0; + VideoAdPlayer.anInt4642 = 0; + DisplayModeManagerContainer282.anInt5623 = 0; + Component63.anInt4494 = 0; + GlToolkitSub3.anInt8051 = 0; + SpriteAtlasShader.anInt6253 = 0; + InterfaceRenderer.anInt5031 = 0; + Component212.anInt9973 = 0; + ParticleShader.anInt6216 = 0; + DisplayModeManagerContainer74.anInt4823 = 0; + DisplayModeManagerContainer51.anInt2493 = 0; + Component139.anInt6132 = 0; + GlExtensionManager.anInt9838 = 0; + KeyFocusHandler.anInt6538 = 0; + DisplayModeManagerContainer104.anInt10363 = 0; + Component156.anInt3698 = 0; + DisplayModeManagerContainer34.anInt8661 = 0; + DisplayModeManagerContainer133.anInt2152 = 0; + InterfaceRenderer.anInt5033 = 0; + Component3.anInt2041 = 0; + OggUrlStream.anInt8997 = 0; + Definition.anInt7027 = 0; + JagTheoraDecoder.anInt988 = 0; + Buffer.anInt7208 = 0; + Component212.anInt9972 = 0; + GlToolkitSub2.anInt7703 = 0; + GlToolkitSub2.anInt7594 = 0; + MatrixSub2.anInt5739 = 0; + GlToolkitSub2.anInt7663 = 0; + Component189.anInt3822 = 0; + GlExtensionManager.anInt9872 = 0; + GraphicsToolkit.anInt4565 = 0; + BrowserUrlOpener.anInt8946 = 0; + GlToolkitSub3.anInt7897 = 0; + GlToolkitSub2.anInt7689 = 0; + Component184.anInt1982 = 0; + MatrixSub2.anInt5718 = 0; + MatrixSub1.anInt5659 = 0; + Component44.anInt866 = 0; + Component110.anInt232 = 0; + DisplayModeManagerContainer292.anInt5075 = 0; + Component364.anInt8340 = 0; + Component76.anInt8594 = 0; + AudioLine.anInt3599 = 0; + Cp1252Decoder.anInt5210 = 0; + DisplayModeManagerContainer96.anInt4700 = 0; + AudioMixer.anInt3219 = 0; + GlToolkitSub3.anInt7939 = 0; + Component168.anInt3945 = 0; + DisplayModeManagerContainer194.anInt5092 = 0; + NodeList.anInt3328 = 0; + DisplayModeManagerContainer147.anInt4166 = 0; + Component175.anInt5844 = 0; + ItemDefinition.anInt2828 = 0; + DisplayModeManagerContainer190.anInt5437 = 0; + NodeSub1Sub2.anInt8813 = 0; + Component289.anInt10143 = 0; + NodeSub16Sub2.anInt8868 = 0; + CacheStore.anInt636 = 0; + Component141.anInt9946 = 0; + GlToolkitSub2.anInt7638 = 0; + OutputStream_Sub2.anInt107 = 0; + NodeSub32.anInt6939 = 0; + ImageTagText.anInt2171 = 0; + DisplayModeManagerContainer172.anInt542 = 0; + Component192.anInt3964 = 0; + Component179.anInt9060 = 0; + GlToolkitSub2.anInt7652 = 0; + Component205.anInt5967 = 0; + Applet_Sub1.anInt7 = 0; + IOException_Sub1.anInt88 = 0; + Buffer.anInt7180 = 0; + Component379.anInt5927 = 0; + DisplayModeManagerContainer199.anInt5852 = 0; + GlToolkitSub3.anInt7902 = 0; + InterfaceRenderer.anInt5055 = 0; + BrowserUrlOpener.anInt8952 = 0; + DefinitionSub22.anInt9296 = 0; + Component256.anInt6102 = 0; + HashNodeSub10.anInt9561 = 0; + DisplayModeManagerContainer282.anInt5535 = 0; + ClientErrorReporter.anInt2116 = 0; + JaclibLoader.anInt170 = 0; + Npc.anInt10515 = 0; + Component219.anInt6356 = 0; + DisplayModeManagerContainer310.anInt356 = 0; + GlToolkitSub2.anInt7646 = 0; + ClientSystemInfo.anInt6871 = 0; + AbstractShaderSub4.anInt7308 = 0; + DisplayModeManagerContainer57.anInt691 = 0; + NodeSub20.anInt6845 = 0; + DisplayModeManagerContainer173.anInt4251 = 0; + SpriteSub2.anInt8439 = 0; + Component31.anInt5897 = 0; + AbstractShaderSub2.anInt7289 = 0; + NodeSub45Sub2.anInt9735 = 0; + Component62.anInt2082 = 0; + Component366.anInt3086 = 0; + Component209.anInt3456 = 0; + GlExtensionManager.anInt9821 = 0; + StaticElementRenderer.anInt6445 = 0; + DebugPanicSub1.anInt8494 = 0; + NodeSub11.anInt4763 = 0; + DisplayModeManagerContainer105.anInt4885 = 0; + Component71.anInt6060 = 0; + Component197.anInt10087 = 0; + KeyFocusHandler.anInt6527 = 0; + DisplayModeManagerContainer145.anInt1804 = 0; + Component55.anInt3933 = 0; + GlToolkitSub2.anInt7700 = 0; + Component112.anInt3940 = 0; + DisplayModeManagerContainer232.anInt4696 = 0; + RenderableSub2.anInt6399 = 0; + GraphicsToolkit.anInt4573 = 0; + NpcComposition.anInt1334 = 0; + MatrixSub2.anInt5725 = 0; + Component197.anInt10068 = 0; + NodeCache.anInt1094 = 0; + RadixText.anInt6116 = 0; + SpriteSub2.anInt8442 = 0; + Cp1252Decoder.anInt5218 = 0; + GlToolkitSub2.anInt7546 = 0; + Component382.anInt2273 = 0; + DisplayModeManagerContainer105.anInt4890 = 0; + Component366.anInt3061 = 0; + Component201.anInt8710 = 0; + Component240.anInt1113 = 0; + BufferCacheSub3.anInt8298 = 0; + DisplayModeManagerContainer133.anInt2154 = 0; + Node.anInt4298 = 0; + ImageCacheStore.anInt4019 = 0; + GlToolkitSub2.anInt7543 = 0; + DefinitionSub33.anInt9430 = 0; + DisplayModeManagerContainer190.anInt5459 = 0; + ClientScriptExecutor.anInt1166 = 0; + HashNodeSub10.anInt9568 = 0; + DisplayModeManagerContainer104.anInt10343 = 0; + Component253.anInt3187 = 0; + Component139.anInt6131 = 0; + DisplayModeManagerContainer61.anInt3752 = 0; + GlToolkitSub3.anInt7903 = 0; + Component175.anInt5843 = 0; + GlToolkitSub3.anInt7960 = 0; + DisplayModeInfo.anInt1053 = 0; + GlToolkitSub3.anInt8077 = 0; + DefinitionSub17Sub1.anInt10425 = 0; + Component210.anInt5291 = 0; + ParticleSystem.anInt7121 = 0; + GlExtensionManager.anInt9848 = 0; + Component366.anInt3058 = 0; + DisplayModeManagerContainer61.anInt3755 = 0; + ItemDefinitionProvider.anInt3282 = 0; + DisplayModeManagerContainer194.anInt5086 = 0; + RequestProcessor.anInt2263 = 0; + DisplayModeManagerContainer58.anInt10228 = 0; + client.anInt5170 = 0; + GlToolkitSub2.anInt7535 = 0; + OggUrlStream.anInt9003 = 0; + GlToolkitSub2.anInt7669 = 0; + Component188.anInt6138 = 0; + ColoredText.anInt6086 = 0; + Component119.anInt3390 = 0; + GlToolkitSub2.anInt7540 = 0; + Component338.anInt1709 = 0; + DefinitionSub32.anInt9414 = 0; + Component71.anInt6057 = 0; + Definition.anInt7030 = 0; + GlToolkitSub3.anInt7921 = 0; + SceneManager.anInt2855 = 0; + Component276.anInt2592 = 0; + DisplayModeManagerContainer196.anInt4232 = 0; + NodeList.anInt3329 = 0; + GradientPreset.anInt9196 = 0; + Definition.anInt7026 = 0; + NodeSub20.anInt6838 = 0; + SeekableFile.anInt1309 = 0; + OggStreamReader.anInt9045 = 0; + Component261.anInt4830 = 0; + DisplayModeManagerContainer50.anInt3864 = 0; + Player.anInt10548 = 0; + ColoredText.anInt6088 = 0; + DisplayModeManagerContainer347.anInt3579 = 0; + Buffer.anInt7195 = 0; + Component135.anInt4422 = 0; + BufferCacheSub2.anInt8254 = 0; + OggStream.anInt6863 = 0; + Component253.anInt3188 = 0; + GlToolkitSub2.anInt7704 = 0; + DisplayModeManagerContainer174.anInt10397 = 0; + Component331.anInt1719 = 0; + TeleportHandler.anInt4435 = 0; + WaterSurfaceShader.anInt6239 = 0; + Component197.anInt10085 = 0; + Component20.anInt6053 = 0; + NodeSub37.anInt6996 = 0; + Component21.anInt3651 = 0; + DisplayModeManagerContainer50.anInt3860 = 0; + DisplayModeManagerContainer190.anInt5522 = 0; + DisplayModeManagerContainer194.anInt5097 = 0; + LoggedOutDefinition.anInt9433 = 0; + DisplayModeManagerContainer58.anInt10233 = 0; + GlToolkitSub2.anInt7528 = 0; + GlToolkitSub3.anInt8067 = 0; + Component222.anInt2714 = 0; + LruCache.anInt4380 = 0; + ItemDefinitionProvider.anInt3277 = 0; + Component366.anInt3080 = 0; + Component309.anInt3356 = 0; + Component82.anInt446 = 0; + DisplayModeManagerContainer260.anInt3686 = 0; + Component253.anInt3191 = 0; + Component272.anInt5864 = 0; + Component189.anInt3816 = 0; + ResourceLoader.anInt3904 = 0; + Component111.anInt3231 = 0; + HashNodeSub19.anInt9698 = 0; + DisplayModeManagerContainer343.anInt8733 = 0; + Component385.anInt2193 = 0; + AbstractShader.anInt4485 = 0; + DisplayModeManagerContainer167.anInt266 = 0; + BrowserUrlOpener.anInt8936 = 0; + Component355.anInt3262 = 0; + DisplayModeManagerContainer58.anInt10277 = 0; + DefinitionSub4.anInt9115 = 0; + DebugPanic.anInt4751 = 0; + HashNodeSub16Sub2.anInt10460 = 0; + MatrixSub2.anInt5720 = 0; + MatrixSub2.anInt5727 = 0; + GlTexture.anInt8540 = 0; + Component171.anInt10100 = 0; + Component188.anInt6142 = 0; + DisplayModeManagerContainer341.anInt6002 = 0; + Applet_Sub1.anInt33 = 0; + Component349.anInt10008 = 0; + MatrixSub3.anInt5785 = 0; + DisplayModeManagerContainer282.anInt5574 = 0; + GlExtensionManager.anInt9887 = 0; + GlToolkitSub2.anInt7649 = 0; + HuffmanDecoder.anInt3772 = 0; + client.anInt5188 = 0; + NodeSub18.anInt6807 = 0; + GlToolkitSub2.anInt7726 = 0; + DisplayModeManagerContainer58.anInt10307 = 0; + DisplayModeManagerContainer77.anInt1826 = 0; + Component162.anInt8381 = 0; + DefinitionSub39.anInt9483 = 0; + Component65.anInt1611 = 0; + GlWaterShader.anInt8839 = 0; + Component355.anInt3257 = 0; + DisplayModeManagerContainer57.anInt743 = 0; + Component197.anInt10092 = 0; + Component212.anInt9975 = 0; + GlToolkitSub3.anInt7907 = 0; + TheoraVideoPlayer.anInt1495 = 0; + DisplayModeManagerContainer174.anInt10379 = 0; + BrowserUrlOpener.anInt8898 = 0; + Component84.anInt1509 = 0; + Component349.anInt10033 = 0; + GlToolkitSub2.anInt7558 = 0; + ImageDefinition.anInt9142 = 0; + LruCache.anInt4384 = 0; + Component301.anInt4119 = 0; + Component111.anInt3233 = 0; + Applet_Sub1.anInt9 = 0; + DisplayModeManagerContainer292.anInt5072 = 0; + Component240.anInt1112 = 0; + Applet_Sub1.anInt10 = 0; + Component248.anInt309 = 0; + DisplayModeManagerContainer87.anInt3107 = 0; + GlToolkitSub2.anInt7539 = 0; + DisplayModeManagerContainer1.anInt3316 = 0; + Component239.anInt4552 = 0; + Component253.anInt3194 = 0; + WaterShader.anInt7374 = 0; + Component156.anInt3703 = 0; + DisplayModeManagerContainer58.anInt10205 = 0; + ColoredText.anInt6085 = 0; + LruCache.anInt4375 = 0; + Npc.anInt10498 = 0; + Component98.anInt5944 = 0; + ItemDefinitionProvider.anInt3272 = 0; + anInt5802 = 0; + ParticleSystem.anInt7117 = 0; + BitmapFont.anInt4047 = 0; + GlExtensionManager.anInt9891 = 0; + OutputStream_Sub2.anInt104 = 0; + DisplayModeManagerContainer1.anInt3317 = 0; + GlExtensionManager.anInt9883 = 0; + DisplayModeManagerContainer153.anInt1575 = 0; + Component19.anInt8616 = 0; + Component128.anInt1104 = 0; + CacheStore.anInt653 = 0; + Component272.anInt5862 = 0; + DefinitionSub37.anInt9457 = 0; + Component263.anInt1553 = 0; + DefinitionSub17.anInt9238 = 0; + WaterShaderSub8.anInt7352 = 0; + CacheStore.anInt633 = 0; + Component289.anInt10122 = 0; + GlToolkitSub3.anInt7999 = 0; + GlToolkitSub2.anInt7585 = 0; + DefinitionSub10.anInt9179 = 0; + Component235.anInt3367 = 0; + GlToolkitSub3.anInt7941 = 0; + OggUrlStream.anInt8991 = 0; + LoadingManager.anInt2174 = 0; + NpcComposition.anInt1332 = 0; + Component60.anInt5908 = 0; + GlToolkitSub3.anInt7936 = 0; + Component29.anInt10041 = 0; + Component379.anInt5931 = 0; + Npc.anInt10507 = 0; + Component212.anInt10001 = 0; + Component141.anInt9958 = 0; + GlToolkitSub3.anInt8023 = 0; + NodeSub38.anInt7003 = 0; + KeyFocusHandler.anInt6536 = 0; + DisplayModeManagerContainer174.anInt10389 = 0; + Component45.anInt4345 = 0; + NodeSub51.anInt7217 = 0; + MatrixSub3.anInt5778 = 0; + Component60.anInt5910 = 0; + Component366.anInt3077 = 0; + HashTable.anInt1642 = 0; + Component258.anInt1970 = 0; + Component388.anInt6080 = 0; + WaterShaderSub8.anInt7357 = 0; + Component29.anInt10057 = 0; + Component141.anInt9961 = 0; + Component280.anInt2453 = 0; + Component291.anInt2528 = 0; + DisplayModeManagerContainer341.anInt5998 = 0; + Component272.anInt5867 = 0; + GlFramebufferTexture.anInt8533 = 0; + RequestProcessor.anInt2257 = 0; + Component11.anInt3571 = 0; + DisplayModeManagerContainer26.anInt1451 = 0; + ClientErrorReporter.anInt2120 = 0; + DisplayModeManagerContainer356.anInt6324 = 0; + HashNodeSub16Sub2.anInt10462 = 0; + DisplayModeManagerContainer346.anInt2064 = 0; + DisplayModeManagerContainer292.anInt5062 = 0; + Buffer.anInt7196 = 0; + Component374.anInt4137 = 0; + DisplayModeManagerContainer87.anInt3110 = 0; + DefinitionSub31.anInt9409 = 0; + AudioLine.anInt3612 = 0; + NodeSub16Sub2.anInt8867 = 0; + WaterShader.anInt7372 = 0; + Component203.anInt8777 = 0; + OggUrlStream.anInt9004 = 0; + KeyFocusHandler.anInt6533 = 0; + NativeLibLoader.anInt4159 = 0; + ShaderProgramSub7.anInt6287 = 0; + DisplayModeManagerContainer295.anInt5924 = 0; + DefinitionSub25.anInt9337 = 0; + DefinitionSub23.anInt9321 = 0; + Component46.anInt2840 = 0; + Component43.anInt4979 = 0; + BufferCacheSub3.anInt8297 = 0; + Component383.anInt8576 = 0; + Component315.anInt3159 = 0; + Component101.anInt2099 = 0; + ShaderProgramSub9.anInt6318 = 0; + DisplayModeManagerContainer28.anInt8726 = 0; + NodeSub14.anInt6760 = 0; + GlExtensionManager.anInt9830 = 0; + NodeList.anInt3327 = 0; + DisplayModeManagerContainer204.anInt1599 = 0; + Component98.anInt5946 = 0; + DisplayModeManagerContainer26.anInt1457 = 0; + MatrixSub2.anInt5703 = 0; + GlToolkitSub3.anInt8025 = 0; + HashNodeSub16Sub2.anInt10459 = 0; + Component290.anInt2189 = 0; + Component49.anInt4680 = 0; + DisplayModeManagerContainer368.anInt5244 = 0; + Component135.anInt4419 = 0; + RandomAccessFileReader.anInt3041 = 0; + SpriteSub2.anInt8433 = 0; + Component191.anInt2463 = 0; + ComponentDownloader.anInt410 = 0; + MatrixSub2.anInt5733 = 0; + DebugPanic.anInt4749 = 0; + DisplayModeManagerContainer87.anInt3125 = 0; + DefinitionSub19.anInt9255 = 0; + HashNodeSub7.anInt9544 = 0; + DisplayModeManagerContainer64.anInt9030 = 0; + InterfaceRenderer.anInt5025 = 0; + NodeSub3.anInt6570 = 0; + DisplayModeManagerContainer123.anInt1299 = 0; + Component212.anInt9986 = 0; + Component208.anInt1763 = 0; + DisplayModeManagerContainer282.anInt5549 = 0; + DebugPanicSub1.anInt8486 = 0; + HeapDumpHelper.anInt4941 = 0; + Component2.anInt8358 = 0; + RSACipher.anInt4894 = 0; + Component121.anInt4539 = 0; + Component353.anInt2573 = 0; + Component171.anInt10109 = 0; + Applet_Sub1.anInt23 = 0; + NodeSub1.anInt6557 = 0; + ShaderProgramSub7.anInt6286 = 0; + SpriteSub2.anInt8444 = 0; + TeleportHandler.anInt4448 = 0; + FriendsIgnoreList.anInt3478 = 0; + MouseHandler.anInt4535 = 0; + Component302.anInt6029 = 0; + Component171.anInt10107 = 0; + BitmapFont.anInt4046 = 0; + GlToolkitSub2.anInt7610 = 0; + OggUrlStream.anInt8989 = 0; + VideoAdPlayer.anInt4645 = 0; + Component323.anInt5877 = 0; + GlToolkitSub3.anInt7971 = 0; + DisplayModeManagerContainer96.anInt4698 = 0; + MenuOpener.anInt4842 = 0; + Applet_Sub1.anInt32 = 0; + DisplayModeManagerContainer67.anInt1726 = 0; + Component169.anInt2600 = 0; + Connection.anInt2662 = 0; + ClientScriptExecutor.anInt1157 = 0; + Component111.anInt3235 = 0; + Component144.anInt3984 = 0; + Component301.anInt4115 = 0; + Component274.anInt600 = 0; + Component92.anInt3308 = 0; + Component146.anInt2128 = 0; + GlToolkitSub3.anInt7886 = 0; + DisplayModeManagerContainer174.anInt10370 = 0; + Component304.anInt1142 = 0; + ClientErrorReporter.anInt2119 = 0; + Component362.anInt5790 = 0; + GlToolkitSub3.anInt7926 = 0; + GlToolkitSub3.anInt7989 = 0; + Component49.anInt4678 = 0; + Component283.anInt4620 = 0; + Component98.anInt5935 = 0; + NodeList.anInt3333 = 0; + Component7.anInt2878 = 0; + Component285.anInt971 = 0; + DisplayModeManagerContainer190.anInt5479 = 0; + Component349.anInt10020 = 0; + Component222.anInt2710 = 0; + Component95.anInt1755 = 0; + NodederUtil.anInt6639 = 0; + Component113.anInt2409 = 0; + Component71.anInt6068 = 0; + RSACipher.anInt4898 = 0; + DisplayModeManagerContainer282.anInt5599 = 0; + BufferCacheSub2.anInt8248 = 0; + Component197.anInt10088 = 0; + DisplayModeManagerContainer58.anInt10214 = 0; + Player.anInt10543 = 0; + DebugPanic.anInt4740 = 0; + Component209.anInt3461 = 0; + Buffer.anInt7158 = 0; + Component205.anInt5960 = 0; + Component361.anInt365 = 0; + Component360.anInt4315 = 0; + LoadingManager.anInt2172 = 0; + Component210.anInt5284 = 0; + DisplayModeManagerContainer348.anInt5889 = 0; + LogicError.anInt1470 = 0; + NodeSub3.anInt6579 = 0; + Component372.anInt6040 = 0; + GlToolkitSub3.anInt8050 = 0; + Component252.anInt10187 = 0; + DisplayModeManagerContainer282.anInt5611 = 0; + WaterSurfaceShader.anInt6240 = 0; + ImageTagText.anInt2161 = 0; + Component284.anInt6150 = 0; + GlToolkitSub2.anInt7573 = 0; + ReliefShader.anInt2516 = 0; + DisplayModeManagerContainer190.anInt5411 = 0; + Component382.anInt2274 = 0; + Buffer.anInt7159 = 0; + GlToolkitSub2.anInt7693 = 0; + VideoAdPlayer.anInt4644 = 0; + Component20.anInt6052 = 0; + ShaderProgramSub2.anInt6206 = 0; + DisplayModeManagerContainer58.anInt10249 = 0; + Component265.anInt1587 = 0; + Component22.anInt1741 = 0; + BufferCacheSub2.anInt8271 = 0; + DisplayModeManagerContainer77.anInt1858 = 0; + Buffer.anInt7199 = 0; + GlExtensionManager.anInt9868 = 0; + GlToolkitSub3.anInt8059 = 0; + Component240.anInt1110 = 0; + JagTheoraDecoder.anInt998 = 0; + MatrixSub3.anInt5775 = 0; + SoftwareFallbackShader.anInt7386 = 0; + DisplayModeManagerContainer167.anInt243 = 0; + SpriteSub2.anInt8425 = 0; + ShaderLinker.anInt10159 = 0; + DefinitionSub33.anInt9429 = 0; + Component141.anInt9956 = 0; + RadixText.anInt6119 = 0; + GlToolkitSub3.anInt7949 = 0; + Component283.anInt4612 = 0; + TeleportHandler.anInt4446 = 0; + LogicError.anInt1464 = 0; + MatrixSub1.anInt5657 = 0; + Component257.anInt4794 = 0; + DisplayModeManagerContainer58.anInt10299 = 0; + SpriteSub1.anInt8390 = 0; + GlExtensionManager.anInt9843 = 0; + Component197.anInt10093 = 0; + AbstractShaderSub4.anInt7312 = 0; + Component203.anInt8767 = 0; + Component156.anInt3696 = 0; + DisplayModeManagerContainer105.anInt4868 = 0; + MatrixSub2.anInt5730 = 0; + NpcComposition.anInt1326 = 0; + Component366.anInt3087 = 0; + Component111.anInt3229 = 0; + GlToolkitSub3.anInt8030 = 0; + Component298.anInt4641 = 0; + Component358.anInt3877 = 0; + Connection.anInt2647 = 0; + DisplayModeManagerContainer87.anInt3112 = 0; + Component197.anInt10067 = 0; + GpiLogger.anInt8851 = 0; + Buffer.anInt7177 = 0; + BrowserUrlOpener.anInt8955 = 0; + LibraryCreditsText.anInt5957 = 0; + Component44.anInt927 = 0; + Component14.anInt8593 = 0; + Component315.anInt3168 = 0; + VideoAdDisplay.anInt3180 = 0; + DisplayModeManagerContainer254.anInt2150 = 0; + DisplayModeManagerContainer282.anInt5606 = 0; + GlToolkitSub2.anInt7654 = 0; + Component171.anInt10103 = 0; + BrowserUrlOpener.anInt8923 = 0; + GlExtensionManager.anInt9881 = 0; + Component210.anInt5281 = 0; + GlExtensionManager.anInt9853 = 0; + Component357.anInt2472 = 0; + NodeSub16Sub2.anInt8873 = 0; + Npc.anInt10493 = 0; + GlToolkitSub3.anInt8017 = 0; + DisplayModeManagerContainer58.anInt10297 = 0; + Component308.anInt5234 = 0; + Component258.anInt1967 = 0; + StringCache.anInt4324 = 0; + CacheStore.anInt658 = 0; + Component344.anInt1485 = 0; + CurvePreset.anInt9207 = 0; + Component325.anInt1194 = 0; + DisplayModeManagerContainer295.anInt5914 = 0; + Buffer.anInt7192 = 0; + Component362.anInt5793 = 0; + Component299.anInt447 = 0; + DisplayModeManagerContainer254.anInt2144 = 0; + NodeSub1Sub1.anInt8802 = 0; + AbstractGlTexture.anInt4862 = 0; + GlWaterShader.anInt8831 = 0; + DisplayModeManagerContainer91.anInt391 = 0; + Component208.anInt1771 = 0; + Component98.anInt5942 = 0; + Canvas_Sub1.anInt62 = 0; + NodeList.anInt3338 = 0; + Component302.anInt6034 = 0; + NodeCache.anInt1095 = 0; + Component185.anInt5307 = 0; + NodeBaseSub2.anInt9778 = 0; + Component186.anInt4392 = 0; + DisplayModeManagerContainer194.anInt5102 = 0; + MatrixSub3.anInt5765 = 0; + KeyFocusHandler.anInt6534 = 0; + GlToolkitSub3.anInt7957 = 0; + SeekableFile.anInt1304 = 0; + GlToolkitSub2.anInt7542 = 0; + NpcComposition.anInt1400 = 0; + Component278.anInt3243 = 0; + Component251.anInt5825 = 0; + Component141.anInt9953 = 0; + Component163.anInt3178 = 0; + PauseTimer.anInt509 = 0; + Component171.anInt10110 = 0; + NodeSub50.anInt7210 = 0; + GlExtensionManager.anInt9862 = 0; + Component350.anInt8658 = 0; + DisplayModeManagerContainer50.anInt3868 = 0; + Component156.anInt3702 = 0; + DisplayModeManagerContainer109.anInt2337 = 0; + NodeSub37.anInt6999 = 0; + Component44.anInt899 = 0; + DebugPanicSub2.anInt8496 = 0; + client.anInt5177 = 0; + ClientScriptExecutor.anInt1159 = 0; + DisplayModeManagerContainer368.anInt5251 = 0; + Component339.anInt3134 = 0; + Component327.anInt8749 = 0; + BufferCacheSub3.anInt8310 = 0; + ItemDefinition.anInt2800 = 0; + DefinitionSub32.anInt9418 = 0; + Component329.anInt5988 = 0; + DisplayModeManagerContainer292.anInt5068 = 0; + Component192.anInt3962 = 0; + Component251.anInt5816 = 0; + Component29.anInt10044 = 0; + CacheStore.anInt661 = 0; + Component15.anInt4927 = 0; + CacheStore.anInt650 = 0; + GlToolkitSub3.anInt8029 = 0; + TeleportHandler.anInt4449 = 0; + Component304.anInt1147 = 0; + NodeSub5.anInt6623 = 0; + DisplayModeManagerContainer196.anInt4230 = 0; + GlExtensionManager.anInt9878 = 0; + LruCache.anInt4378 = 0; + Component302.anInt6037 = 0; + NodeSub16Sub2.anInt8880 = 0; + DisplayModeManagerContainer341.anInt6000 = 0; + DefinitionSub8.anInt9153 = 0; + Component333.anInt3625 = 0; + DisplayModeManagerContainer57.anInt767 = 0; + Component247.anInt4908 = 0; + BrowserUrlOpener.anInt8941 = 0; + Component49.anInt4681 = 0; + GlToolkitSub2.anInt7588 = 0; + Component317.anInt8682 = 0; + Component29.anInt10058 = 0; + Component338.anInt1710 = 0; + Applet_Sub1.anInt35 = 0; + NodeSub32.anInt6933 = 0; + Component137.anInt1925 = 0; + WaterSurfaceShader.anInt6238 = 0; + Component230.anInt5263 = 0; + GlToolkitSub3.anInt7918 = 0; + GlToolkitSub3.anInt7973 = 0; + DisplayModeManagerContainer282.anInt5604 = 0; + SpriteSub1.anInt8414 = 0; + DisplayModeManagerContainer216.anInt5653 = 0; + Component31.anInt5901 = 0; + Component205.anInt5968 = 0; + Component317.anInt8675 = 0; + DisplayModeManagerContainer368.anInt5240 = 0; + Component226.anInt4170 = 0; + Component361.anInt361 = 0; + MatrixSub2.anInt5697 = 0; + ArbShaderProgram.anInt6191 = 0; + DefinitionSub35.anInt9442 = 0; + Component71.anInt6063 = 0; + GlToolkitSub2.anInt7694 = 0; + NodeSub3.anInt6580 = 0; + DisplayModeManagerContainer282.anInt5612 = 0; + DefinitionSub17.anInt9233 = 0; + DisplayModeManagerContainer343.anInt8730 = 0; + Component143.anInt2314 = 0; + DisplayModeManagerContainer136.anInt4714 = 0; + Component27.anInt4967 = 0; + BrowserDetector.anInt2359 = 0; + StringCache.anInt4322 = 0; + Component184.anInt1981 = 0; + HashNodeSub18.anInt9683 = 0; + GlExtensionManager.anInt9849 = 0; + RSARequest.anInt9656 = 0; + DisplayModeManagerContainer282.anInt5637 = 0; + ColoredTextBuilder.anInt4066 = 0; + Component281.anInt3828 = 0; + HashTable.anInt1643 = 0; + HashTable.anInt1653 = 0; + NodeSub44.anInt7095 = 0; + BrowserUrlOpener.anInt8909 = 0; + DisplayModeManagerContainer58.anInt10200 = 0; + AbstractGlTexture.anInt4850 = 0; + Component11.anInt3565 = 0; + Component377.anInt850 = 0; + HardwareProbe.anInt6615 = 0; + Component184.anInt1978 = 0; + NamedInteger.anInt4468 = 0; + HashNodeSub3.anInt9508 = 0; + GlToolkitSub3.anInt7912 = 0; + NodeSub41.anInt7055 = 0; + ImageDefinition.anInt9146 = 0; + DisplayModeManagerContainer74.anInt4820 = 0; + Canvas_Sub1.anInt68 = 0; + CacheStore.anInt631 = 0; + SpriteSub1.anInt8401 = 0; + Connection.anInt2660 = 0; + GlToolkitSub3.anInt7889 = 0; + InflaterDecompressor.anInt2070 = 0; + Buffer.anInt7148 = 0; + GlToolkitSub2.anInt7696 = 0; + Sprite.anInt6915 = 0; + DefinitionSub30.anInt9391 = 0; + Component82.anInt445 = 0; + DisplayModeManagerContainer220.anInt280 = 0; + Component269.anInt8760 = 0; + DisplayModeManagerContainer190.anInt5465 = 0; + Component117.anInt4363 = 0; + Npc.anInt10497 = 0; + ObjectDeserializer.anInt6956 = 0; + Component144.anInt3987 = 0; + GlToolkitSub3.anInt7981 = 0; + Buffer.anInt7173 = 0; + DefinitionSub5.anInt9120 = 0; + Component301.anInt4125 = 0; + Component386.anInt2870 = 0; + GlToolkitSub2.anInt7601 = 0; + DisplayModeManagerContainer282.anInt5625 = 0; + BasicMouseHandler.anInt7440 = 0; + OpenGlShader.anInt7405 = 0; + Component353.anInt2575 = 0; + CacheStore.anInt648 = 0; + Component137.anInt1924 = 0; + DisplayModeManagerContainer282.anInt5538 = 0; + GlToolkitSub2.anInt7574 = 0; + DisplayModeManagerContainer190.anInt5458 = 0; + Component82.anInt437 = 0; + DisplayModeManagerContainer343.anInt8736 = 0; + GlToolkitSub3.anInt7901 = 0; + JagTheoraDecoder.anInt982 = 0; + DefinitionSub39.anInt9487 = 0; + Component14.anInt8586 = 0; + WaterShaderProgram.anInt6275 = 0; + anInt5796 = 0; + DisplayModeManagerContainer295.anInt5920 = 0; + DisplayModeManagerContainer306.anInt4774 = 0; + DisplayModeManagerContainer87.anInt3121 = 0; + JagTheoraDecoder.anInt997 = 0; + SpriteSub1.anInt8395 = 0; + Component381.anInt8579 = 0; + DisplayModeManagerContainer295.anInt5922 = 0; + OutputStream_Sub2.anInt102 = 0; + SpriteSub1.anInt8399 = 0; + DisplayModeManagerContainer190.anInt5504 = 0; + MatrixSub2.anInt5706 = 0; + NpcDefinition.anInt6789 = 0; + DisplayModeManagerContainer249.anInt4668 = 0; + GlToolkitSub2.anInt7579 = 0; + DefinitionSub23.anInt9308 = 0; + MatrixSub2.anInt5737 = 0; + DisplayModeManagerContainer207.anInt9762 = 0; + DisplayModeManagerContainer368.anInt5248 = 0; + Component144.anInt3986 = 0; + Component258.anInt1972 = 0; + Component219.anInt6358 = 0; + Component184.anInt1980 = 0; + Applet_Sub1.anInt40 = 0; + GraphicsToolkit.anInt4563 = 0; + Component261.anInt4828 = 0; + Buffer.anInt7182 = 0; + MatrixSub3.anInt5783 = 0; + BrowserUrlOpener.anInt8889 = 0; + OutputStream_Sub1.anInt94 = 0; + CurvePreset.anInt9212 = 0; + TeleportHandler.anInt4452 = 0; + SpriteSub2.anInt8428 = 0; + Component344.anInt1486 = 0; + ClientScriptExecutor.anInt1167 = 0; + Component264.anInt8700 = 0; + Component324.anInt2056 = 0; + NodeBaseSub1.anInt9772 = 0; + DisplayModeManagerContainer23.anInt1527 = 0; + Component20.anInt6049 = 0; + Component143.anInt2317 = 0; + PauseTimer.anInt511 = 0; + DefinitionSub27.anInt9356 = 0; + KeyFocusHandler.anInt6539 = 0; + DisplayModeManagerContainer389.anInt8620 = 0; + Component209.anInt3460 = 0; + DisplayModeManagerContainer282.anInt5578 = 0; + Component333.anInt3640 = 0; + GlTexture.anInt8548 = 0; + RunescapeInfo.anInt182 = 0; + BitmapFont.anInt4056 = 0; + DefinitionSub36.anInt9454 = 0; + ResourceLoader.anInt3905 = 0; + NodeSub1Sub1.anInt8804 = 0; + Component314.anInt3876 = 0; + GlToolkitSub3.anInt7928 = 0; + DisplayModeManagerContainer67.anInt1736 = 0; + OggStream.anInt6864 = 0; + DisplayModeManagerContainer282.anInt5639 = 0; + DefinitionSub29.anInt9373 = 0; + Component251.anInt5817 = 0; + Applet_Sub1.anInt3 = 0; + Component121.anInt4541 = 0; + DisplayModeManagerContainer370.anInt1128 = 0; + ItemDefinition.anInt2751 = 0; + Component25.anInt6011 = 0; + Component256.anInt6100 = 0; + DisplayModeManagerContainer57.anInt768 = 0; + DisplayModeManagerContainer34.anInt8659 = 0; + SpriteSub2.anInt8443 = 0; + Component171.anInt10097 = 0; + DisplayModeManagerContainer295.anInt5913 = 0; + Component182.anInt9745 = 0; + DisplayModeManagerContainer136.anInt4710 = 0; + Component241.anInt2902 = 0; + JagTheoraDecoder.anInt985 = 0; + Component350.anInt8656 = 0; + Applet_Sub1.anInt29 = 0; + GlToolkitSub3.anInt8038 = 0; + DisplayModeManagerContainer123.anInt1301 = 0; + Component214.anInt2129 = 0; + GlToolkitSub3.anInt7967 = 0; + DisplayModeManagerContainer57.anInt718 = 0; + GlToolkitSub2.anInt7653 = 0; + Buffer.anInt7137 = 0; + GameType.anInt2989 = 0; + Component349.anInt10018 = 0; + GlExtensionManager.anInt9877 = 0; + DisplayModeManagerContainer87.anInt3102 = 0; + Component349.anInt10009 = 0; + CacheStore.anInt638 = 0; + Component248.anInt305 = 0; + Component188.anInt6134 = 0; + DisplayModeManagerContainer370.anInt1130 = 0; + client.anInt5187 = 0; + Component200.anInt3718 = 0; + ShaderProgramSub2.anInt6213 = 0; + Component281.anInt3826 = 0; + ClientScriptExecutor.anInt1156 = 0; + SpriteSub1.anInt8392 = 0; + Component143.anInt2328 = 0; + DisplayModeManagerContainer190.anInt5525 = 0; + Buffer.anInt7184 = 0; + ClientScriptExecutor.anInt1158 = 0; + Component251.anInt5826 = 0; + HardwareProbe.anInt6611 = 0; + Component255.anInt1065 = 0; + GlToolkitSub3.anInt7887 = 0; + GlToolkitSub3.anInt7984 = 0; + SpriteSub1.anInt8393 = 0; + Component221.anInt1795 = 0; + DefinitionSub22.anInt9292 = 0; + DefinitionSub24.anInt9331 = 0; + AbstractShaderSub1.anInt7284 = 0; + HashNodeSub17.anInt9676 = 0; + Component201.anInt8709 = 0; + WorldNameText.anInt8649 = 0; + HashNodeSub16.anInt9662 = 0; + DefinitionSub2.anInt9100 = 0; + ReliefShader.anInt2518 = 0; + Cp1252Decoder.anInt5211 = 0; + RuntimeException_Sub1.anInt4597 = 0; + CacheStore.anInt665 = 0; + GlTexture.anInt8543 = 0; + LoggedOutDefinition.anInt9435 = 0; + WaterShader.anInt7380 = 0; + Component284.anInt6152 = 0; + SoftwareFallbackShader.anInt7383 = 0; + Component19.anInt8611 = 0; + ColoredTextBuilder.anInt4068 = 0; + Component245.anInt122 = 0; + ParametricDefinition.anInt9102 = 0; + MatrixSub3.anInt5752 = 0; + GlToolkitSub2.anInt7555 = 0; + TeleportHandler.anInt4440 = 0; + Component188.anInt6135 = 0; + WaterShader.anInt7368 = 0; + ShaderCompilerSub2.anInt6518 = 0; + DisplayModeManagerContainer57.anInt736 = 0; + DisplayModeManagerContainer136.anInt4712 = 0; + DisplayModeManagerContainer190.anInt5521 = 0; + HashNodeSub10.anInt9563 = 0; + CacheNode.anInt9551 = 0; + Component298.anInt4633 = 0; + WaterShaderSub8.anInt7364 = 0; + BufferCacheSub2.anInt8249 = 0; + CacheIndexReader.anInt1931 = 0; + GlExtensionManager.anInt9819 = 0; + SpriteSub2.anInt8424 = 0; + AbstractShaderSub2.anInt7292 = 0; + DisplayModeManagerContainer165.anInt3843 = 0; + Component82.anInt428 = 0; + SpriteSub1.anInt8404 = 0; + Buffer.anInt7174 = 0; + Definition.anInt7040 = 0; + DisplayModeManagerContainer58.anInt10263 = 0; + DisplayModeManagerContainer220.anInt273 = 0; + DisplayModeManagerContainer104.anInt10361 = 0; + ParticleShader.anInt6217 = 0; + DisplayModeManagerContainer96.anInt4699 = 0; + GlToolkitSub3.anInt8034 = 0; + Buffer.anInt7209 = 0; + NodeSub16Sub2.anInt8860 = 0; + DisplayModeManagerContainer74.anInt4815 = 0; + Component29.anInt10060 = 0; + Component127.anInt2962 = 0; + GlToolkitSub2.anInt7619 = 0; + Component331.anInt1721 = 0; + DisplayModeManagerContainer1.anInt3320 = 0; + Buffer.anInt7200 = 0; + GlToolkitSub3.anInt8005 = 0; + NativeLibraryLoader.anInt2975 = 0; + DefinitionSub32.anInt9419 = 0; + DisplayModeManagerContainer190.anInt5518 = 0; + Component168.anInt3944 = 0; + DefinitionSub8.anInt9154 = 0; + Component327.anInt8752 = 0; + CacheNodeSub1.anInt10475 = 0; + HashNodeSub20.anInt9709 = 0; + MenuOpener.anInt4834 = 0; + Component379.anInt5925 = 0; + Component19.anInt8614 = 0; + MatrixSub2.anInt5705 = 0; + DefinitionSub31.anInt9404 = 0; + DisplayModeManagerContainer295.anInt5915 = 0; + Component29.anInt10050 = 0; + DisplayModeManagerContainer190.anInt5471 = 0; + LruCache.anInt4379 = 0; + Component10.anInt3810 = 0; + DisplayModeManagerContainer64.anInt9012 = 0; + Component31.anInt5903 = 0; + GlToolkitSub2.anInt7612 = 0; + ImageTagText.anInt2167 = 0; + AbstractShaderSub2.anInt7287 = 0; + DisplayModeManagerContainer154.anInt1280 = 0; + Component298.anInt4639 = 0; + NodeSub44.anInt7099 = 0; + LoadingState.anInt1022 = 0; + NodeSub21.anInt6856 = 0; + GraphicsToolkit.anInt4569 = 0; + BasicMouseHandler.anInt7451 = 0; + Component253.anInt3185 = 0; + Component253.anInt3199 = 0; + Component182.anInt9741 = 0; + Component63.anInt4496 = 0; + DefinitionSub20.anInt9261 = 0; + FriendsIgnoreList.anInt3477 = 0; + DisplayModeManagerContainer194.anInt5085 = 0; + HashNodeSub16.anInt9668 = 0; + Component203.anInt8771 = 0; + GlToolkitSub3.anInt7916 = 0; + DefinitionSub9.anInt9168 = 0; + DisplayModeManagerContainer91.anInt397 = 0; + DisplayModeManagerContainer190.anInt5489 = 0; + InterfaceRenderer.anInt5028 = 0; + AbstractShaderSub4.anInt7321 = 0; + DefinitionSub26.anInt9345 = 0; + MatrixSub2.anInt5695 = 0; + HashNodeSub13.anInt9613 = 0; + Buffer.anInt7186 = 0; + GlToolkitSub3.anInt7980 = 0; + Component140.anInt10445 = 0; + Component44.anInt910 = 0; + ReliefShader.anInt2515 = 0; + Component25.anInt6016 = 0; + Component142.anInt4413 = 0; + DisplayModeManagerContainer77.anInt1838 = 0; + DisplayModeManagerContainer64.anInt9013 = 0; + SceneManager.anInt2849 = 0; + DebugPanicSub2.anInt8497 = 0; + Component37.anInt3924 = 0; + DefinitionSub31.anInt9413 = 0; + Component171.anInt10106 = 0; + DisplayModeManagerContainer89.anInt8371 = 0; + GlToolkitSub2.anInt7629 = 0; + Component289.anInt10147 = 0; + DisplayModeManagerContainer104.anInt10342 = 0; + DisplayModeManagerContainer190.anInt5517 = 0; + Component140.anInt10441 = 0; + GradientPreset.anInt9190 = 0; + Component46.anInt2841 = 0; + Component361.anInt363 = 0; + GpiLogger.anInt8856 = 0; + Buffer.anInt7168 = 0; + AbstractGlTextureSub1.anInt8524 = 0; + RequestProcessor.anInt2262 = 0; + ShaderSub2.anInt5195 = 0; + Component141.anInt9948 = 0; + HashNodeSub10.anInt9573 = 0; + GlToolkitSub3.anInt8070 = 0; + ShaderProgramSub7.anInt6288 = 0; + DisplayModeManagerContainer282.anInt5561 = 0; + Component141.anInt9952 = 0; + JagTheoraDecoder.anInt990 = 0; + Component284.anInt6148 = 0; + ParticleShader.anInt6214 = 0; + DisplayModeManagerContainer190.anInt5435 = 0; + DefinitionSub38.anInt9476 = 0; + Component374.anInt4131 = 0; + Component304.anInt1138 = 0; + ParametricDefinition.anInt9105 = 0; + DisplayModeManagerContainer306.anInt4777 = 0; + DisplayModeManagerContainer105.anInt4866 = 0; + Component329.anInt5986 = 0; + DefinitionSub37.anInt9462 = 0; + LruCache.anInt4386 = 0; + HashNodeSub3.anInt9506 = 0; + ResourceLoader.anInt3903 = 0; + Component388.anInt6083 = 0; + Component20.anInt6051 = 0; + GlTexture.anInt8541 = 0; + Component219.anInt6341 = 0; + StaticElementRenderer.anInt6438 = 0; + NodeSub7.anInt6641 = 0; + GlExtensionManager.anInt9871 = 0; + DisplayModeManagerContainer259.anInt3446 = 0; + Component239.anInt4549 = 0; + GlExtensionManager.anInt9876 = 0; + BufferCacheSub2.anInt8261 = 0; + Component44.anInt956 = 0; + Component141.anInt9957 = 0; + Component309.anInt3351 = 0; + Component179.anInt9059 = 0; + AbstractShaderSub1.anInt7283 = 0; + WaterShaderProgram.anInt6263 = 0; + Component357.anInt2470 = 0; + Component2.anInt8360 = 0; + DisplayModeManagerContainer174.anInt10390 = 0; + Component287.anInt6072 = 0; + Component263.anInt1555 = 0; + DisplayModeManagerContainer282.anInt5548 = 0; + Component237.anInt3018 = 0; + Component276.anInt2591 = 0; + TeleportHandler.anInt4445 = 0; + ImageProducerSprite.anInt9071 = 0; + SocketConnector.anInt3472 = 0; + Component38.anInt2504 = 0; + ImageCacheStore.anInt4023 = 0; + GlExtensionManager.anInt9867 = 0; + ImageTagText.anInt2168 = 0; + Component83.anInt1659 = 0; + AssetCacheLoader.anInt376 = 0; + NodeSub18.anInt6816 = 0; + DisplayModeManagerContainer174.anInt10377 = 0; + GlToolkitSub3.anInt7994 = 0; + Sprite.anInt6918 = 0; + Component353.anInt2580 = 0; + Component253.anInt3186 = 0; + BasicMouseHandler.anInt7435 = 0; + NativeLibraryLoader.anInt2973 = 0; + GlToolkitSub3.anInt7959 = 0; + Component333.anInt3634 = 0; + MatrixSub3.anInt5771 = 0; + Component43.anInt4977 = 0; + Component296.anInt4657 = 0; + Component63.anInt4511 = 0; + GlToolkitSub3.anInt7934 = 0; + ImageDefinition.anInt9143 = 0; + Component272.anInt5869 = 0; + DisplayModeManagerContainer42.anInt3851 = 0; + SocketConnector.anInt3471 = 0; + GlWaterShader.anInt8843 = 0; + NpcComposition.anInt1403 = 0; + ColoredText.anInt6087 = 0; + DisplayModeManagerContainer220.anInt270 = 0; + ItemDefinitionProvider.anInt3266 = 0; + NpcComposition.anInt1394 = 0; + GlToolkitSub3.anInt8032 = 0; + Component15.anInt4916 = 0; + Component274.anInt571 = 0; + Component338.anInt1701 = 0; + HashNodeSub14.anInt9636 = 0; + Component178.anInt1445 = 0; + GlToolkitSub2.anInt7521 = 0; + DisplayModeManagerContainer199.anInt5856 = 0; + Component65.anInt1629 = 0; + GlToolkitSub2.anInt7616 = 0; + Component372.anInt6047 = 0; + RadixText.anInt6118 = 0; + DisplayModeManagerContainer104.anInt10348 = 0; + DisplayModeManagerContainer389.anInt8619 = 0; + KeyFocusHandler.anInt6526 = 0; + GlToolkitSub3.anInt7895 = 0; + InterfaceRenderer.anInt5061 = 0; + MatrixSub1.anInt5679 = 0; + StringDefinition.anInt9585 = 0; + WaterSurfaceShader.anInt6235 = 0; + ImageProducerSprite.anInt9080 = 0; + DefinitionGroup.anInt9526 = 0; + MatrixSub2.anInt5726 = 0; + Component25.anInt6009 = 0; + ImageDefinition.anInt9141 = 0; + NodeSub45Sub2.anInt9737 = 0; + DisplayModeManagerContainer91.anInt392 = 0; + Buffer.anInt7193 = 0; + Component311.anInt4083 = 0; + DisplayModeManagerContainer87.anInt3111 = 0; + DisplayModeManagerContainer249.anInt4665 = 0; + Component102.anInt4801 = 0; + Component366.anInt3078 = 0; + Component350.anInt8652 = 0; + DisplayModeManagerContainer105.anInt4869 = 0; + LoadingState.anInt1014 = 0; + BrowserUrlOpener.anInt8912 = 0; + NameFormatter.anInt490 = 0; + Component44.anInt871 = 0; + DefinitionSub27.anInt9358 = 0; + Component228.anInt3005 = 0; + LibraryCreditsText.anInt5955 = 0; + GlExtensionManager.anInt9825 = 0; + DisplayModeManagerContainer190.anInt5451 = 0; + WorldNameText.anInt8643 = 0; + InflaterDecompressor.anInt2078 = 0; + GlToolkitSub3.anInt8022 = 0; + GlToolkitSub3.anInt7915 = 0; + Component63.anInt4510 = 0; + Component219.anInt6348 = 0; + Definition.anInt7035 = 0; + NsnDefinition.anInt9247 = 0; + GlToolkitSub3.anInt7964 = 0; + DisplayModeManagerContainer174.anInt10388 = 0; + DisplayModeManagerContainer348.anInt5887 = 0; + Component326.anInt5273 = 0; + GlToolkitSub2.anInt7676 = 0; + Component256.anInt6109 = 0; + LruCache.anInt4376 = 0; + DebugPanicSub1.anInt8484 = 0; + HashTable.anInt1646 = 0; + ImageCacheStore.anInt4030 = 0; + DefinitionSub21.anInt9273 = 0; + GlToolkitSub3.anInt8060 = 0; + DisplayModeManagerContainer282.anInt5650 = 0; + NodeSub20.anInt6836 = 0; + AbstractShaderSub1.anInt7285 = 0; + NodeSub16Sub2.anInt8872 = 0; + GlExtensionManager.anInt9885 = 0; + GlToolkitSub2.anInt7517 = 0; + GlToolkitSub2.anInt7607 = 0; + GlToolkitSub2.anInt7525 = 0; + PacketReader.anInt10435 = 0; + Component311.anInt4089 = 0; + Component364.anInt8348 = 0; + DisplayModeManagerContainer1.anInt3318 = 0; + Component374.anInt4136 = 0; + Buffer.anInt7138 = 0; + ShaderLinker.anInt10151 = 0; + AbstractShader.anInt4480 = 0; + Component251.anInt5822 = 0; + DefinitionSub28.anInt9366 = 0; + Applet_Sub1.anInt14 = 0; + Component323.anInt5880 = 0; + BufferCacheSub3.anInt8309 = 0; + DisplayModeManagerContainer136.anInt4713 = 0; + GlToolkitSub2.anInt7630 = 0; + CacheFileStore.anInt4224 = 0; + Component188.anInt6136 = 0; + GlToolkitSub2.anInt7683 = 0; + WaterShaderSub8.anInt7358 = 0; + MenuEntry.anInt9598 = 0; + Component171.anInt10105 = 0; + DisplayModeManagerContainer104.anInt10329 = 0; + NsnDefinition.anInt9251 = 0; + GlToolkitSub2.anInt7593 = 0; + BrowserUrlOpener.anInt8949 = 0; + Component289.anInt10142 = 0; + Component128.anInt1106 = 0; + Component44.anInt901 = 0; + GraphicsToolkit.anInt4564 = 0; + NodeList.anInt3336 = 0; + Component134.anInt5806 = 0; + Component303.anInt2889 = 0; + GlToolkitSub3.anInt7933 = 0; + GlToolkitSub3.anInt7898 = 0; + DisplayModeManagerContainer346.anInt2059 = 0; + Component141.anInt9954 = 0; + Component289.anInt10144 = 0; + Component280.anInt2450 = 0; + DisplayModeManagerContainer145.anInt1802 = 0; + Component296.anInt4658 = 0; + Component315.anInt3161 = 0; + KeyFocusHandler.anInt6540 = 0; + Component144.anInt3978 = 0; + DummyClass.anInt10175 = 0; + Component225.anInt468 = 0; + NodeSub20.anInt6834 = 0; + GlToolkitSub3.anInt8048 = 0; + Component316.anInt2484 = 0; + ShaderLinker.anInt10164 = 0; + DisplayModeManagerContainer347.anInt3588 = 0; + DisplayModeManagerContainer213.anInt1070 = 0; + Buffer.anInt7183 = 0; + JagTheoraDecoder.anInt1004 = 0; + InflaterDecompressor.anInt2073 = 0; + DisplayModeManagerContainer282.anInt5568 = 0; + Component274.anInt563 = 0; + DisplayModeManagerContainer28.anInt8721 = 0; + InputStream_Sub1.anInt74 = 0; + TeleportHandler.anInt4450 = 0; + DisplayModeManagerContainer58.anInt10256 = 0; + Component264.anInt8703 = 0; + AudioLine.anInt3607 = 0; + DisplayModeManagerContainer167.anInt246 = 0; + Component331.anInt1723 = 0; + DefinitionSub35.anInt9440 = 0; + WorldNameText.anInt8639 = 0; + NodeSub1.anInt6549 = 0; + Component82.anInt436 = 0; + Component168.anInt3948 = 0; + GameType.anInt2988 = 0; + GraphicsToolkit.anInt4574 = 0; + DisplayModeManagerContainer57.anInt819 = 0; + Component289.anInt10119 = 0; + DisplayModeManagerContainer190.anInt5483 = 0; + StaticElementRenderer.anInt6440 = 0; + Component248.anInt307 = 0; + GlToolkitSub3.anInt7966 = 0; + Component171.anInt10099 = 0; + GlToolkitSub2.anInt7651 = 0; + MatrixSub1.anInt5683 = 0; + Player.anInt10550 = 0; + MatrixSub3.anInt5748 = 0; + Component128.anInt1107 = 0; + Component171.anInt10112 = 0; + BuildInfo.anInt147 = 0; + DebugPanicSub1.anInt8490 = 0; + DisplayModeManagerContainer190.anInt5454 = 0; + Component272.anInt5858 = 0; + DefinitionSub24.anInt9326 = 0; + HelveticaFont.anInt2637 = 0; + ColoredText.anInt6092 = 0; + Component19.anInt8608 = 0; + Component251.anInt5823 = 0; + MatrixSub3.anInt5776 = 0; + DefinitionSub37.anInt9459 = 0; + Component98.anInt5937 = 0; + OggStreamReader.anInt9046 = 0; + Component192.anInt3960 = 0; + CacheStore.anInt642 = 0; + DisplayModeManagerContainer174.anInt10382 = 0; + OpenGlShader.anInt7414 = 0; + DisplayModeManagerContainer67.anInt1732 = 0; + HeapDumper.anInt1912 = 0; + Component289.anInt10140 = 0; + LoadingState.anInt1020 = 0; + CacheIndexReader.anInt1936 = 0; + DefinitionSub5.anInt9127 = 0; + DummyClass.anInt10176 = 0; + BufferCacheSub3.anInt8316 = 0; + InterfaceRenderer.anInt5044 = 0; + Component169.anInt2599 = 0; + Component101.anInt2107 = 0; + BrowserUrlOpener.anInt8890 = 0; + JagTheoraDecoder.anInt986 = 0; + Component25.anInt6015 = 0; + DisplayModeManagerContainer105.anInt4881 = 0; + SocketConnector.anInt3474 = 0; + GlExtensionManager.anInt9845 = 0; + DisplayModeManagerContainer67.anInt1728 = 0; + CacheFileStore.anInt4222 = 0; + GlToolkitSub3.anInt7969 = 0; + GlToolkitSub3.anInt7948 = 0; + Component65.anInt1614 = 0; + RenderableSub9.anInt6467 = 0; + Component184.anInt1985 = 0; + Component285.anInt968 = 0; + DisplayModeManagerContainer348.anInt5884 = 0; + Component38.anInt2499 = 0; + Buffer.anInt7141 = 0; + Component62.anInt2081 = 0; + GlTexture.anInt8546 = 0; + NodeSub18.anInt6821 = 0; + ImageTagText.anInt2170 = 0; + ShaderLinker.anInt10157 = 0; + MatrixSub2.anInt5694 = 0; + DisplayModeManagerContainer105.anInt4879 = 0; + DisplayModeManagerContainer190.anInt5490 = 0; + GlToolkitSub3.anInt7998 = 0; + RunescapeInfo.anInt190 = 0; + GlToolkitSub3.anInt8047 = 0; + GlToolkitSub2.anInt7684 = 0; + DisplayModeManagerContainer249.anInt4663 = 0; + ParticleShader.anInt6231 = 0; + GlToolkitSub2.anInt7643 = 0; + BasicMouseHandler.anInt7430 = 0; + NativeLibraryLoader.anInt2971 = 0; + Component80.anInt3812 = 0; + RandomAccessFileReader.anInt3038 = 0; + GlToolkitSub2.anInt7691 = 0; + DisplayModeManagerContainer174.anInt10405 = 0; + BrowserUrlOpener.anInt8922 = 0; + MatrixSub3.anInt5758 = 0; + Component99.anInt1608 = 0; + Buffer.anInt7142 = 0; + Component291.anInt2521 = 0; + AbstractGlTextureSub1.anInt8526 = 0; + GlToolkitSub2.anInt7532 = 0; + AudioMixer.anInt3224 = 0; + CacheStore.anInt662 = 0; + GlToolkitSub3.anInt8056 = 0; + NodeSub20.anInt6827 = 0; + SeekableFile.anInt1307 = 0; + RSARequest.anInt9653 = 0; + AbstractShader.anInt4483 = 0; + NodeSub16Sub2.anInt8876 = 0; + HashNode.anInt7061 = 0; + DisplayModeManagerContainer136.anInt4711 = 0; + DisplayModeManagerContainer28.anInt8723 = 0; + Component258.anInt1964 = 0; + Component219.anInt6343 = 0; + RandomAccessFileReader.anInt3040 = 0; + ParametricDefinition.anInt9108 = 0; + Component299.anInt449 = 0; + NodeCache.anInt1103 = 0; + Component243.anInt483 = 0; + HashNodeSub4.anInt9514 = 0; + MatrixSub2.anInt5731 = 0; + Component141.anInt9943 = 0; + Component211.anInt1958 = 0; + ParticleShader.anInt6232 = 0; + HashNodeSub1.anInt9496 = 0; + GameType.anInt2984 = 0; + Component146.anInt2124 = 0; + GlToolkitSub2.anInt7572 = 0; + IOException_Sub1.anInt89 = 0; + DisplayModeManagerContainer174.anInt10385 = 0; + SpriteSub1.anInt8421 = 0; + BasicMouseHandler.anInt7437 = 0; + Component175.anInt5845 = 0; + BufferCacheSub3.anInt8295 = 0; + DisplayModeManagerContainer58.anInt10254 = 0; + DisplayModeManagerContainer57.anInt684 = 0; + DisplayModeManagerContainer58.anInt10281 = 0; + Component283.anInt4621 = 0; + Component10.anInt3808 = 0; + Component62.anInt2079 = 0; + DisplayModeManagerContainer389.anInt8622 = 0; + DisplayModeManagerContainer87.anInt3131 = 0; + Component323.anInt5879 = 0; + GnpPositionLogger.anInt1520 = 0; + Buffer.anInt7146 = 0; + DefinitionSub10.anInt9174 = 0; + GlToolkitSub2.anInt7687 = 0; + KeyFocusHandler.anInt6537 = 0; + NativeLibLoader.anInt4160 = 0; + GlToolkitSub3.anInt7894 = 0; + DisplayModeManagerContainer341.anInt5999 = 0; + GlExtensionManager.anInt9895 = 0; + Component266.anInt5974 = 0; + BasicMouseHandler.anInt7457 = 0; + Component101.anInt2106 = 0; + DefinitionSub6.anInt9138 = 0; + DisplayModeManagerContainer322.aBoolean4278 = true; + Component143.aBoolean2329 = true; + Component269.method2480(~i); + for (int j = 0; NodeSub27.aClass302Array6897.length > j; j++) + NodeSub27.aClass302Array6897[j] = null; + + r.aBoolean9722 = false; + NpcDefinition.method2928(true); + CacheNodeSub2.anInt10483 = -60 + (int) (Math.random() * 120D); + Component92.cameraShakeZ = -55 + (int) (Math.random() * 110D); + Component112.cameraYaw = 0x3fff & -80 + (int) (160D * Math.random()); + Component182.anInt9750 = (int) (30D * Math.random()) + -20; + Component195.anInt5016 = (int) (80D * Math.random()) - 40; + Component120.cameraShakeX = (int) (Math.random() * 100D) - 50; + ToolbarRefreshDefinition.method3089(-126); + for (int k = 0; k < 2048; k++) + InterfaceRenderer.players[k] = null; + + Component324.anInt2057 = 0; + NodeSub32.anInt6930 = 0; + Component21.aClass356_3654.clear(0); + DefinitionSub17.aClass262_9240.clear(112); + CacheNodeSub2.aClass262_10492.clear(109); + Component241.aClass243_2957.method1876((byte) -45); + Component387.aClass356_1895.clear(0); + HashNodeSub20.aClass262_9711 = new NodeList(); + DisplayModeManagerContainer58.aClass170_10209.method1314((byte) 74); + Component374.method2636(i + 69); + Component205.anInt5973 = 0; + Component300.anInt3550 = 0; + Component337.anInt3647 = 0; + GlFramebufferTexture.anInt8537 = 0; + Component221.anInt1797 = 0; + HashNodeSub4.anInt9515 = 0; + Component48.anInt4336 = 0; + DefinitionSub31.anInt9406 = 0; + NodeSub35.anInt6981 = 0; + OpenGlShader.anInt7403 = 0; + for (int l = 0; l < DisplayModeManagerContainer123.anIntArray1303.length; l++) + if (!WaterShaderProgram.aBooleanArray6270[l]) DisplayModeManagerContainer123.anIntArray1303[l] = -1; + + if (r.anInt9721 != -1) DisplayModeManagerContainer194.method235(r.anInt9721, (byte) -105); + for (NodeSub41 class348_sub41 = (NodeSub41) Component15.aClass356_4915.first(0); class348_sub41 != null; class348_sub41 = (NodeSub41) Component15.aClass356_4915.next(0)) { + if (!class348_sub41.isLinked((byte) 4)) { + class348_sub41 = (NodeSub41) Component15.aClass356_4915.first(0); + if (class348_sub41 == null) break; + } + Component162.method1118(true, false, class348_sub41, 2533); + } + + r.anInt9721 = -1; + Component15.aClass356_4915 = new LruCache(8); + DisplayModeManagerContainer153.method882((byte) 11); + Component297.aClass46_4730 = null; + for (int i1 = 0; i1 < 8; i1++) { + Component252.aStringArray10195[i1] = null; + DisplayModeManagerContainer5.aBooleanArray1214[i1] = false; + Canvas_Sub1.anIntArray60[i1] = -1; + } + + Component126.method3515(-45); + TcpSocketStream.aBoolean5840 = true; + for (int j1 = 0; j1 < 100; j1++) + InflaterDecompressor.aBooleanArray2076[j1] = true; + + for (int k1 = 0; k1 < 6; k1++) + RadixText.aClass54Array6114[k1] = new Component285(); + + for (int l1 = 0; l1 < 25; l1++) { + DisplayModeManagerContainer254.anIntArray2145[l1] = 0; + Component52.anIntArray3295[l1] = 0; + DisplayModeManagerContainer51.anIntArray2497[l1] = 0; + } + + DisplayModeManagerContainer154.method773(true); + DummyClass.aBoolean10174 = true; + RenderableSub6.aShortArray6428 = Request.aShortArray6889 = HashNodeSub3.aShortArray9502 = Component226.aShortArray4172 = new short[256]; + Component323.aString5882 = FriendsIgnoreList.aClass274_3509.getLocalized(ObjectDeserializer.languageId, 544); + Component192.aClass348_Sub51_3959.method3429((byte) 74, Component192.aClass348_Sub51_3959.aClass239_Sub14_7264, Component192.aClass348_Sub51_3959.aClass239_Sub14_7250.method1778(i + -32350)); + Component192.aClass348_Sub51_3959.method3429((byte) 74, Component192.aClass348_Sub51_3959.aClass239_Sub27_7261, Component192.aClass348_Sub51_3959.aClass239_Sub27_7255.method1840(-32350)); + DisplayModeManagerContainer136.anInt4718 = 0; + DefinitionSub39.method3153(0); + ShaderProgramSub2.method2145(-24498); + MatrixSub2.aLong5745 = 0L; + Component323.aClass348_Sub26_5881 = null; + Component181.aClass45_1541.discardMode = 2; + } + + static int anInt5795; + static int anInt5796; + static int anInt5797; + static int anInt5798; + /** Camera focus world X (lerped toward player/orbit target). */ + static int cameraFocusX; + static Task aClass144_5800; + Component255[] aClass58Array5801; + static int anInt5802; +} diff --git a/client/misc/DisplayModeManagerContainer28.java b/client/misc/DisplayModeManagerContainer28.java new file mode 100644 index 000000000..dc5fbf89f --- /dev/null +++ b/client/misc/DisplayModeManagerContainer28.java @@ -0,0 +1,67 @@ +/* DisplayModeManagerContainer28 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +abstract class DisplayModeManagerContainer28 +/** + * RENAMED from `Class318_Sub1_Sub1` (JODE-obfuscated). + * Evidence: subclass of RenderableObject (hierarchy) + */ extends RenderableObject { + static int anInt8721; + static int anInt8722; + static int anInt8723; + static StringCache aClass351_8724 = new StringCache(50, -1); + static float aFloat8725; + static int anInt8726; + short aShort8727; + /** Accumulated positive skew when wall clock jumps backwards (monotonic offset). */ + static long clockSkewMillis; + + final boolean method2382(byte i) { + if (i > -51) aClass351_8724 = null; + anInt8723++; + return ShaderSub2.method164(this.aByte6376, (this.x >> Component149.anInt4459), (byte) -97, (this.y >> Component149.anInt4459)); + } + + final int method2384(NodeSub1[] class348_sub1s, int i) { + anInt8722++; + int i_0_ = 88 % ((i - -14) / 61); + return this.method2390(class348_sub1s, (this.x >> Component149.anInt4459), -2, (this.y >> Component149.anInt4459)); + } + + public static void method2395(byte i) { + aClass351_8724 = null; + if (i != 50) method2395((byte) 65); + } + + static final void method2396(int i, int i_1_, int i_2_, int i_3_) { + i <<= i_3_; + anInt8726++; + i_1_ <<= 3; + i_2_ <<= 3; + if (DefinitionSub21.cameraMode == 2) { + Component298.anInt4638 = i_1_; + Component103.anInt4186 = i_2_; + HashNodeSub19.anInt9701 = i; + } + Component112.cameraYaw = (float) i_1_; + DisplayModeManagerContainer154.cameraPitch = (float) i; + DisplayModeManagerContainer199.clampCameraAngles(262144); + DummyClass.aBoolean10174 = true; + } + + DisplayModeManagerContainer28(int i, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_) { + this.aByte6376 = (byte) i_7_; + this.x = i; + this.y = i_5_; + this.aShort8727 = (short) i_8_; + this.anInt6382 = i_4_; + this.plane = (byte) i_6_; + } + + final boolean method2378(int i) { + if (i != 0) aClass351_8724 = null; + anInt8721++; + return (DisplayModeManagerContainer153.aBooleanArrayArray1572[(Component197.anInt10084 + -Component256.anInt6111 + (this.x >> Component149.anInt4459))][((this.y >> Component149.anInt4459) + -DebugPanicSub2.anInt8502 + Component197.anInt10084)]); + } +} diff --git a/client/misc/DisplayModeManagerContainer282.java b/client/misc/DisplayModeManagerContainer282.java new file mode 100644 index 000000000..7234cd072 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer282.java @@ -0,0 +1,3340 @@ +/* DisplayModeManagerContainer282 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaclib.memory.Stream; +import jaggl.OpenGL; + +final class DisplayModeManagerContainer282 +/** + * RENAMED from `Class64_Sub3` (JODE-obfuscated). + * Evidence: subclass of DisplayModeManagerContainer370 (hierarchy) + */ extends DisplayModeManagerContainer370 { + private boolean aBoolean5527; + private int[] anIntArray5528; + private int anInt5529; + static int anInt5530; + static int anInt5531; + static int anInt5532; + static int anInt5533; + static int anInt5534; + static int anInt5535; + private int anInt5536; + private int anInt5537 = 0; + static int anInt5538; + private int[][] anIntArrayArray5539; + private short aShort5540; + private DisplayModeManagerContainer173[] aClass342Array5541; + private byte[] aByteArray5542; + private int[] anIntArray5543; + private short aShort5544; + static int anInt5545; + static int anInt5546; + static int anInt5547; + static int anInt5548; + static int anInt5549; + static int anInt5550; + static int anInt5551; + private float[] aFloatArray5552; + private int[][] anIntArrayArray5553; + private Interface2 anInterface2_5554; + private boolean aBoolean5555 = true; + private int anInt5556; + private int anInt5557; + static DisplayModeManagerContainer1 aClass261_5558; + private short aShort5559; + static int anInt5560; + static int anInt5561; + static int anInt5562; + private Component132 aClass123_5563; + private short[] aShortArray5564; + static int anInt5565; + private short[] aShortArray5566; + static int anInt5567; + static int anInt5568; + static int anInt5569; + static int anInt5570; + private float[] aFloatArray5571; + private GpsOverlay aClass139_5572; + private short[] aShortArray5573; + static int anInt5574; + private Component148 aClass270_5575; + private short[] aShortArray5576; + static int anInt5577; + static int anInt5578; + private short[] aShortArray5579; + private short[] aShortArray5580; + private byte aByte5581; + static int anInt5582; + private short[] aShortArray5583; + static int anInt5584; + static int anInt5585; + private short aShort5586; + static int anInt5587; + static int anInt5588; + static int anInt5589; + static int anInt5590; + private short aShort5591; + private short[] aShortArray5592; + private int[] anIntArray5593; + private byte[] aByteArray5594; + private boolean aBoolean5595 = false; + private Component377[] aClass48Array5596; + static int anInt5597; + private final GlToolkitSub2 aHa_Sub2_5598; + static int anInt5599; + static String username = ""; + private short[] aShortArray5601; + static int anInt5602; + static int anInt5603; + static int anInt5604; + private Component132 aClass123_5605; + static int anInt5606; + static int anInt5607; + private short[] aShortArray5608; + static boolean aBoolean5609; + private Component132 aClass123_5610; + static int anInt5611; + static int anInt5612; + static int anInt5613; + static int anInt5614; + static int anInt5615; + static int anInt5616; + private short aShort5617; + static int anInt5618; + static int anInt5619; + private Component132 aClass123_5620; + private Component151[] aClass118Array5621; + static int anInt5622; + static int anInt5623; + static int anInt5624; + static int anInt5625; + private int[] anIntArray5626; + private int[][] anIntArrayArray5627; + static int anInt5628; + private short aShort5629; + static int anInt5630; + static int anInt5631; + private int anInt5632; + static int anInt5633; + private short aShort5634; + static int anInt5635; + static int anInt5636; + static int anInt5637; + private boolean aBoolean5638; + static int anInt5639; + private Component30[] aClass129Array5640; + static int anInt5641; + private int anInt5642; + static int anInt5643; + private int[] anIntArray5644; + private short aShort5645; + private short aShort5646; + private Interface8 anInterface8_5647; + private int anInt5648; + private short[] aShortArray5649; + static int anInt5650; + static int anInt5651; + + final void FA(int i) { + anInt5650++; + int i_0_ = DisplayModeManagerContainer88.anIntArray1207[i]; + int i_1_ = DisplayModeManagerContainer88.anIntArray1204[i]; + for (int i_2_ = 0; i_2_ < anInt5557; i_2_++) { + int i_3_ = (-(i_0_ * anIntArray5644[i_2_]) + anIntArray5593[i_2_] * i_1_ >> 14); + anIntArray5644[i_2_] = (anIntArray5593[i_2_] * i_0_ - -(anIntArray5644[i_2_] * i_1_) >> 14); + anIntArray5593[i_2_] = i_3_; + } + if (aClass123_5605 != null) aClass123_5605.anInterface2_1811 = null; + aBoolean5527 = false; + } + + final DisplayModeManagerContainer370 method614(byte i, int i_4_, boolean bool) { + anInt5615++; + DisplayModeManagerContainer282 class64_sub3_5_; + DisplayModeManagerContainer282 class64_sub3_6_; + if (i == 1) { + class64_sub3_6_ = aHa_Sub2_5598.aClass64_Sub3_7864; + class64_sub3_5_ = aHa_Sub2_5598.aClass64_Sub3_7780; + } else if (i == 2) { + class64_sub3_5_ = aHa_Sub2_5598.aClass64_Sub3_7802; + class64_sub3_6_ = aHa_Sub2_5598.aClass64_Sub3_7838; + } else if (i == 3) { + class64_sub3_6_ = aHa_Sub2_5598.aClass64_Sub3_7803; + class64_sub3_5_ = aHa_Sub2_5598.aClass64_Sub3_7821; + } else if (i == 4) { + class64_sub3_6_ = aHa_Sub2_5598.aClass64_Sub3_7834; + class64_sub3_5_ = aHa_Sub2_5598.aClass64_Sub3_7844; + } else if (i == 5) { + class64_sub3_6_ = aHa_Sub2_5598.aClass64_Sub3_7840; + class64_sub3_5_ = aHa_Sub2_5598.aClass64_Sub3_7785; + } else class64_sub3_6_ = class64_sub3_5_ = new DisplayModeManagerContainer282(aHa_Sub2_5598); + return method686(class64_sub3_6_, i_4_, 0, bool, class64_sub3_5_, i != 0); + } + + private final void method677(byte i) { + anInt5619++; + if (anInt5537 != 0 && i > 125) { + if (aByte5581 != 0) method688(5, true); + method688(5, false); + if (aClass270_5575 != null) { + if (aClass270_5575.anInterface8_3463 == null) method678((aByte5581 & 0x10) != 0, (byte) 27); + if (aClass270_5575.anInterface8_3463 != null) { + aHa_Sub2_5598.method3728(aClass123_5563 != null, 118); + aHa_Sub2_5598.method3794(aClass123_5605, aClass123_5610, -26411, aClass123_5620, aClass123_5563); + int i_7_ = -1 + anIntArray5626.length; + for (int i_8_ = 0; i_7_ > i_8_; i_8_++) { + int i_9_ = anIntArray5626[i_8_]; + int i_10_ = anIntArray5626[i_8_ + 1]; + int i_11_ = aShortArray5601[i_9_] & 0xffff; + if (i_11_ == 65535) i_11_ = -1; + aHa_Sub2_5598.method3801(aClass123_5563 != null, i_11_, 125); + aHa_Sub2_5598.method3759((-i_9_ + i_10_) * 3, -128, 4, (aClass270_5575.anInterface8_3463), i_9_ * 3); + } + } + } + method691((byte) 110); + } + } + + private final void method678(boolean bool, byte i) { + if (6 * anInt5537 > (aHa_Sub2_5598.aClass348_Sub49_Sub1_7798.payload).length) aHa_Sub2_5598.aClass348_Sub49_Sub1_7798 = new Component182(6 * (anInt5537 - -100)); + else aHa_Sub2_5598.aClass348_Sub49_Sub1_7798.offset = 0; + anInt5630++; + if (i != 27) WA(); + Component182 class348_sub49_sub1 = aHa_Sub2_5598.aClass348_Sub49_Sub1_7798; + if (aHa_Sub2_5598.aBoolean7775) { + for (int i_12_ = 0; i_12_ < anInt5537; i_12_++) { + class348_sub49_sub1.writeShort((byte) 107, aShortArray5592[i_12_]); + class348_sub49_sub1.writeShort((byte) 107, aShortArray5579[i_12_]); + class348_sub49_sub1.writeShort((byte) 107, aShortArray5566[i_12_]); + } + } else { + for (int i_13_ = 0; i_13_ < anInt5537; i_13_++) { + class348_sub49_sub1.writeShortLE(122, aShortArray5592[i_13_]); + class348_sub49_sub1.writeShortLE(67, aShortArray5579[i_13_]); + class348_sub49_sub1.writeShortLE(31, aShortArray5566[i_13_]); + } + } + if (class348_sub49_sub1.offset != 0) { + if (bool) { + if (anInterface8_5647 == null) anInterface8_5647 = aHa_Sub2_5598.method3733(5123, -39, (class348_sub49_sub1.offset), (class348_sub49_sub1.payload), true); + else anInterface8_5647.method35(class348_sub49_sub1.payload, 5123, i ^ 0x23, class348_sub49_sub1.offset); + aClass270_5575.anInterface8_3463 = anInterface8_5647; + } else aClass270_5575.anInterface8_3463 = (aHa_Sub2_5598.method3733(5123, i + -65, class348_sub49_sub1.offset, class348_sub49_sub1.payload, false)); + if (!bool) aBoolean5555 = true; + } + } + + final boolean method628(int i, int i_14_, DisplayModeManagerContainer204 class101, boolean bool, int i_15_) { + try { + anInt5533++; + return method684(bool, 1566382404, -1, i_14_, i_15_, i, class101); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("paa.MA(" + i + ',' + i_14_ + ',' + (class101 != null ? "{...}" : "null") + ',' + bool + ',' + i_15_ + ')')); + } + } + + private final boolean method679(int i, int i_16_, int i_17_, int i_18_, int i_19_, int i_20_, int i_21_, int i_22_, int i_23_) { + anInt5651++; + if (i_20_ > i && i < i_18_ && i_23_ > i) return false; + if (i > i_20_ && i_18_ < i && i > i_23_) return false; + if (i_22_ < i_19_ && i_16_ > i_22_ && i_17_ > i_22_) return false; + int i_24_ = -65 / ((i_21_ - 57) / 62); + return i_19_ >= i_22_ || i_22_ <= i_16_ || i_17_ >= i_22_; + } + + final void VA(int i) { + anInt5561++; + int i_25_ = DisplayModeManagerContainer88.anIntArray1207[i]; + int i_26_ = DisplayModeManagerContainer88.anIntArray1204[i]; + for (int i_27_ = 0; anInt5557 > i_27_; i_27_++) { + int i_28_ = ((anIntArray5543[i_27_] * i_26_ + i_25_ * anIntArray5593[i_27_]) >> 14); + anIntArray5593[i_27_] = (-(i_25_ * anIntArray5543[i_27_]) + anIntArray5593[i_27_] * i_26_) >> 14; + anIntArray5543[i_27_] = i_28_; + } + if (aClass123_5605 != null) aClass123_5605.anInterface2_1811 = null; + aBoolean5527 = false; + } + + private final int method680(int i, int i_29_, byte i_30_, short i_31_, int i_32_) { + if (i != 19995) return -13; + anInt5582++; + int i_33_ = (RunescapeInfo.anIntArray179[Component357.method1384(i_32_, i ^ 0x54b313bc, i_29_)]); + if (i_31_ != -1) { + Component319 class12 = aHa_Sub2_5598.aD4579.method3(i_31_ & 0xffff, -6662); + int i_34_ = 0xff & class12.aByte201; + if (i_34_ != 0) { + int i_35_; + if (i_29_ >= 0) { + if (i_29_ > 127) i_35_ = 16777215; + else i_35_ = 131586 * i_29_; + } else i_35_ = 0; + if (i_34_ != 256) { + int i_36_ = i_34_; + int i_37_ = -i_34_ + 256; + i_33_ = ((((i_35_ & 0xff00ff) * i_36_ - -(i_37_ * (0xff00ff & i_33_)) & ~0xff00ff) - -(0xff0000 & ((0xff00 & i_35_) * i_36_ + (i_33_ & 0xff00) * i_37_))) >> 8); + } else i_33_ = i_35_; + } + int i_38_ = 0xff & class12.aByte216; + if (i_38_ != 0) { + i_38_ += 256; + int i_39_ = ((0xff0000 & i_33_) >> 16) * i_38_; + if (i_39_ > 65535) i_39_ = 65535; + int i_40_ = i_38_ * (i_33_ >> 8 & 0xff); + if (i_40_ > 65535) i_40_ = 65535; + int i_41_ = (0xff & i_33_) * i_38_; + if (i_41_ > 65535) i_41_ = 65535; + i_33_ = (i_41_ >> 8) + (((~0x5bff00ff & i_39_) << 8) - -(0xff00 & i_40_)); + } + } + return (i_33_ << 8) - (i_30_ & 0xff) - -255; + } + + final boolean method618() { + anInt5551++; + if (aShortArray5601 == null) return true; + for (int i = 0; i < aShortArray5601.length; i++) { + if (aShortArray5601[i] != -1 && !aHa_Sub2_5598.aD4579.method4(-7953, aShortArray5601[i])) return false; + } + return true; + } + + final void method613(DisplayModeManagerContainer370 class64, int i, int i_42_, int i_43_, boolean bool) { + try { + anInt5589++; + DisplayModeManagerContainer282 class64_sub3_44_ = (DisplayModeManagerContainer282) class64; + if (anInt5632 != 0 && class64_sub3_44_.anInt5632 != 0) { + int i_45_ = class64_sub3_44_.anInt5557; + int[] is = class64_sub3_44_.anIntArray5543; + int[] is_46_ = class64_sub3_44_.anIntArray5593; + int[] is_47_ = class64_sub3_44_.anIntArray5644; + short[] is_48_ = class64_sub3_44_.aShortArray5564; + short[] is_49_ = class64_sub3_44_.aShortArray5583; + short[] is_50_ = class64_sub3_44_.aShortArray5576; + byte[] is_51_ = class64_sub3_44_.aByteArray5594; + short[] is_52_; + short[] is_53_; + byte[] is_54_; + short[] is_55_; + if (aClass139_5572 == null) { + is_52_ = null; + is_53_ = null; + is_54_ = null; + is_55_ = null; + } else { + is_55_ = aClass139_5572.aShortArray1954; + is_54_ = aClass139_5572.aByteArray1948; + is_53_ = aClass139_5572.aShortArray1951; + is_52_ = aClass139_5572.aShortArray1953; + } + byte[] is_56_; + short[] is_57_; + short[] is_58_; + short[] is_59_; + if (class64_sub3_44_.aClass139_5572 == null) { + is_56_ = null; + is_57_ = null; + is_58_ = null; + is_59_ = null; + } else { + is_59_ = (class64_sub3_44_.aClass139_5572.aShortArray1953); + is_56_ = (class64_sub3_44_.aClass139_5572.aByteArray1948); + is_58_ = (class64_sub3_44_.aClass139_5572.aShortArray1954); + is_57_ = (class64_sub3_44_.aClass139_5572.aShortArray1951); + } + int[] is_60_ = class64_sub3_44_.anIntArray5528; + short[] is_61_ = class64_sub3_44_.aShortArray5649; + if (!class64_sub3_44_.aBoolean5527) class64_sub3_44_.method692((byte) -123); + int i_62_ = class64_sub3_44_.aShort5591; + int i_63_ = class64_sub3_44_.aShort5629; + int i_64_ = class64_sub3_44_.aShort5540; + int i_65_ = class64_sub3_44_.aShort5586; + int i_66_ = class64_sub3_44_.aShort5617; + int i_67_ = class64_sub3_44_.aShort5646; + for (int i_68_ = 0; i_68_ < anInt5557; i_68_++) { + int i_69_ = -i_42_ + anIntArray5593[i_68_]; + if (i_62_ <= i_69_ && i_69_ <= i_63_) { + int i_70_ = -i + anIntArray5543[i_68_]; + if (i_70_ >= i_64_ && i_70_ <= i_65_) { + int i_71_ = anIntArray5644[i_68_] + -i_43_; + if (i_66_ <= i_71_ && i_71_ <= i_67_) { + int i_72_ = -1; + int i_73_ = anIntArray5528[i_68_]; + int i_74_ = anIntArray5528[i_68_ + 1]; + for (int i_75_ = i_73_; (i_74_ > i_75_); i_75_++) { + i_72_ = aShortArray5649[i_75_] - 1; + if (i_72_ == -1 || aByteArray5594[i_72_] != 0) break; + } + if (i_72_ != -1) { + for (int i_76_ = 0; (i_76_ < i_45_); i_76_++) { + if (is[i_76_] == i_70_ && i_71_ == is_47_[i_76_] && is_46_[i_76_] == i_69_) { + i_74_ = is_60_[i_76_ - -1]; + int i_77_ = -1; + i_73_ = is_60_[i_76_]; + for (int i_78_ = i_73_; i_74_ > i_78_; i_78_++) { + i_77_ = -1 + is_61_[i_78_]; + if (i_77_ == -1 || is_51_[i_77_] != 0) break; + } + if (i_77_ != -1) { + if (is_55_ == null) { + aClass139_5572 = new GpsOverlay(); + is_55_ = aClass139_5572.aShortArray1954 = (DisplayModeManagerContainer368.method470(aShortArray5564, (byte) -120)); + is_53_ = aClass139_5572.aShortArray1951 = (DisplayModeManagerContainer368.method470(aShortArray5583, (byte) -109)); + is_52_ = aClass139_5572.aShortArray1953 = (DisplayModeManagerContainer368.method470(aShortArray5576, (byte) -107)); + is_54_ = aClass139_5572.aByteArray1948 = (DisplayModeManagerContainer74.method2309(-37, aByteArray5594)); + } + if (is_58_ == null) { + GpsOverlay class139 = (class64_sub3_44_.aClass139_5572 = new GpsOverlay()); + is_58_ = class139.aShortArray1954 = (DisplayModeManagerContainer368.method470(is_48_, (byte) -127)); + is_57_ = class139.aShortArray1951 = (DisplayModeManagerContainer368.method470(is_49_, (byte) -111)); + is_59_ = class139.aShortArray1953 = (DisplayModeManagerContainer368.method470(is_50_, (byte) -120)); + is_56_ = class139.aByteArray1948 = (DisplayModeManagerContainer74.method2309(-91, is_51_)); + } + short i_79_ = aShortArray5564[i_72_]; + short i_80_ = aShortArray5583[i_72_]; + short i_81_ = aShortArray5576[i_72_]; + byte i_82_ = aByteArray5594[i_72_]; + i_73_ = is_60_[i_76_]; + i_74_ = is_60_[i_76_ - -1]; + for (int i_83_ = i_73_; (i_74_ > i_83_); i_83_++) { + int i_84_ = -1 + is_61_[i_83_]; + if (i_84_ == -1) break; + if (is_56_[i_84_] != 0) { + is_58_[i_84_] += i_79_; + is_57_[i_84_] += i_80_; + is_59_[i_84_] += i_81_; + is_56_[i_84_] += i_82_; + } + } + i_80_ = is_49_[i_77_]; + i_81_ = is_50_[i_77_]; + i_82_ = is_51_[i_77_]; + i_73_ = anIntArray5528[i_68_]; + i_74_ = (anIntArray5528[1 + i_68_]); + i_79_ = is_48_[i_77_]; + for (int i_85_ = i_73_; (i_85_ < i_74_); i_85_++) { + int i_86_ = ((aShortArray5649[i_85_]) + -1); + if (i_86_ == -1) break; + if (is_54_[i_86_] != 0) { + is_55_[i_86_] += i_79_; + is_53_[i_86_] += i_80_; + is_52_[i_86_] += i_81_; + is_54_[i_86_] += i_82_; + } + } + if (aClass123_5563 == null && aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; + if (aClass123_5563 != null) aClass123_5563.anInterface2_1811 = null; + if ((class64_sub3_44_.aClass123_5563) == null && ((class64_sub3_44_.aClass123_5610) != null)) class64_sub3_44_.aClass123_5610.anInterface2_1811 = null; + if ((class64_sub3_44_.aClass123_5563) != null) class64_sub3_44_.aClass123_5563.anInterface2_1811 = null; + } + } + } + } + } + } + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("paa.PA(" + (class64 != null ? "{...}" : "null") + ',' + i + ',' + i_42_ + ',' + i_43_ + ',' + bool + ')')); + } + } + + final boolean method623(int i, int i_87_, DisplayModeManagerContainer204 class101, boolean bool, int i_88_, int i_89_) { + try { + anInt5633++; + return method684(bool, 1566382404, i_89_, i_87_, i_88_, i, class101); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("paa.OA(" + i + ',' + i_87_ + ',' + (class101 != null ? "{...}" : "null") + ',' + bool + ',' + i_88_ + ',' + i_89_ + ')')); + } + } + + public static void method681(int i) { + aClass261_5558 = null; + if (i <= 75) username = null; + username = null; + } + + private final void method682(boolean bool) { + if (aClass118Array5621 != null) { + MatrixSub3 class101_sub3 = aHa_Sub2_5598.aClass101_Sub3_7729; + aHa_Sub2_5598.method3788(-18516); + aHa_Sub2_5598.C(!aBoolean5595); + aHa_Sub2_5598.method3728(false, 35); + aHa_Sub2_5598.method3794(aHa_Sub2_5598.aClass123_7849, null, -26411, aHa_Sub2_5598.aClass123_7833, null); + for (int i = 0; i < anInt5536; i++) { + Component151 class118 = aClass118Array5621[i]; + Component377 class48 = aClass48Array5596[i]; + if (!class118.aBoolean1791 || !aHa_Sub2_5598.method3666()) { + float f = ((float) ((anIntArray5543[class118.anInt1782]) + ((anIntArray5543[class118.anInt1788]) + (anIntArray5543[class118.anInt1781]))) * 0.3333333F); + float f_90_ = ((float) ((anIntArray5593[class118.anInt1788]) + ((anIntArray5593[class118.anInt1781]) + (anIntArray5593[class118.anInt1782]))) * 0.3333333F); + float f_91_ = ((float) ((anIntArray5644[class118.anInt1788]) + (anIntArray5644[class118.anInt1781]) + (anIntArray5644[class118.anInt1782])) * 0.3333333F); + float f_92_ = (DisplayModeManagerContainer56.aFloat2555 + (f_91_ * Component55.aFloat3935 + (f_90_ * Component100.aFloat8696 + Component385.aFloat2203 * f))); + float f_93_ = (ClientErrorReporter.aFloat2111 + (ScreenModeManager.aFloat2836 * f_91_ + (f_90_ * Component278.aFloat3242 + Component112.aFloat3943 * f))); + float f_94_ = (f * FriendLoginMessage.aFloat8784 + f_90_ * Component233.aFloat3994 + f_91_ * CookieManager.aFloat6304 + Component297.aFloat4720); + float f_95_ = ((float) (1.0 / Math.sqrt(f_94_ * f_94_ + (f_93_ * f_93_ + (f_92_ * f_92_)))) * (float) class118.anInt1784); + class101_sub3.method939(-f_94_ + f_94_ * f_95_, (class118.aShort1785 * class48.anInt856) >> 7, (-(f_92_ * f_95_) + (f_92_ + (float) class48.anInt854)), (class118.aShort1790 * class48.anInt857) >> 7, class48.anInt853, 90, (f_95_ * f_93_ + (-f_93_ + (float) class48.anInt847))); + aHa_Sub2_5598.method3766((byte) 55, class101_sub3); + int i_96_ = class48.anInt858; + OpenGL.glColor4ub((byte) (i_96_ >> 16), (byte) (i_96_ >> 8), (byte) i_96_, (byte) (i_96_ >> 24)); + aHa_Sub2_5598.method3757(class118.aShort1787, -77); + aHa_Sub2_5598.method3753(class118.aByte1789, 1); + aHa_Sub2_5598.method3756(4, 7, 0, 93); + } + } + aHa_Sub2_5598.C(true); + aHa_Sub2_5598.method3734(true); + } + if (bool != true) aShort5540 = (short) 69; + anInt5549++; + } + + private final short method683(int i, int i_97_, long l, int i_98_, DisplayModeManagerContainer77 class124, int i_99_, float f, int i_100_, int i_101_, float f_102_) { + try { + anInt5599++; + int i_103_ = anIntArray5528[i_101_]; + int i_104_ = anIntArray5528[1 + i_101_]; + int i_105_ = i_100_; + for (int i_106_ = i_103_; i_104_ > i_106_; i_106_++) { + short i_107_ = aShortArray5649[i_106_]; + if (i_107_ == 0) { + i_105_ = i_106_; + break; + } + if (l == GlFramebufferTexture.aLongArray8530[i_106_]) return (short) (i_107_ - 1); + } + aShortArray5649[i_105_] = (short) (anInt5529 + 1); + GlFramebufferTexture.aLongArray8530[i_105_] = l; + aShortArray5564[anInt5529] = (short) i_98_; + aShortArray5583[anInt5529] = (short) i; + aShortArray5576[anInt5529] = (short) i_97_; + aByteArray5594[anInt5529] = (byte) i_99_; + aFloatArray5552[anInt5529] = f; + aFloatArray5571[anInt5529] = f_102_; + return (short) anInt5529++; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("paa.R(" + i + ',' + i_97_ + ',' + l + ',' + i_98_ + ',' + (class124 != null ? "{...}" : "null") + ',' + i_99_ + ',' + f + ',' + i_100_ + ',' + i_101_ + ',' + f_102_ + ')')); + } + } + + final int EA() { + anInt5637++; + if (!aBoolean5527) method692((byte) -123); + return aShort5629; + } + + private final boolean method684(boolean bool, int i, int i_108_, int i_109_, int i_110_, int i_111_, DisplayModeManagerContainer204 class101) { + try { + anInt5641++; + MatrixSub3 class101_sub3 = (MatrixSub3) class101; + MatrixSub3 class101_sub3_112_ = aHa_Sub2_5598.aClass101_Sub3_7760; + float f = (class101_sub3_112_.aFloat5747 + ((class101_sub3.aFloat5751 * class101_sub3_112_.aFloat5781) + ((class101_sub3_112_.aFloat5770 * class101_sub3.aFloat5747) + (class101_sub3.aFloat5772 * (class101_sub3_112_.aFloat5750))))); + float f_113_ = (class101_sub3_112_.aFloat5772 + ((class101_sub3.aFloat5751 * class101_sub3_112_.aFloat5762) + ((class101_sub3.aFloat5747 * class101_sub3_112_.aFloat5761) + (class101_sub3.aFloat5772 * (class101_sub3_112_.aFloat5769))))); + Component100.aFloat8696 = ((class101_sub3_112_.aFloat5781 * class101_sub3.aFloat5754) + ((class101_sub3.aFloat5769 * class101_sub3_112_.aFloat5750) + (class101_sub3_112_.aFloat5770 * class101_sub3.aFloat5750))); + ScreenModeManager.aFloat2836 = ((class101_sub3.aFloat5781 * class101_sub3_112_.aFloat5761) + (class101_sub3_112_.aFloat5769 * class101_sub3.aFloat5762) + (class101_sub3_112_.aFloat5762 * class101_sub3.aFloat5784)); + FriendLoginMessage.aFloat8784 = ((class101_sub3_112_.aFloat5754 * class101_sub3.aFloat5761) + (class101_sub3.aFloat5770 * class101_sub3_112_.aFloat5756) + (class101_sub3.aFloat5756 * class101_sub3_112_.aFloat5784)); + CookieManager.aFloat6304 = ((class101_sub3.aFloat5781 * class101_sub3_112_.aFloat5756) + (class101_sub3.aFloat5762 * class101_sub3_112_.aFloat5754) + (class101_sub3_112_.aFloat5784 * class101_sub3.aFloat5784)); + float f_114_ = ((class101_sub3_112_.aFloat5756 * class101_sub3.aFloat5747) + (class101_sub3_112_.aFloat5754 * class101_sub3.aFloat5772) + (class101_sub3.aFloat5751 * class101_sub3_112_.aFloat5784) + class101_sub3_112_.aFloat5751); + Component278.aFloat3242 = ((class101_sub3_112_.aFloat5761 * class101_sub3.aFloat5750) + (class101_sub3_112_.aFloat5769 * class101_sub3.aFloat5769) + (class101_sub3_112_.aFloat5762 * class101_sub3.aFloat5754)); + Component112.aFloat3943 = ((class101_sub3.aFloat5756 * class101_sub3_112_.aFloat5762) + ((class101_sub3.aFloat5761 * class101_sub3_112_.aFloat5769) + (class101_sub3_112_.aFloat5761 * class101_sub3.aFloat5770))); + Component55.aFloat3935 = ((class101_sub3_112_.aFloat5750 * class101_sub3.aFloat5762) + (class101_sub3_112_.aFloat5770 * class101_sub3.aFloat5781) + (class101_sub3.aFloat5784 * class101_sub3_112_.aFloat5781)); + Component385.aFloat2203 = ((class101_sub3.aFloat5756 * class101_sub3_112_.aFloat5781) + ((class101_sub3.aFloat5770 * class101_sub3_112_.aFloat5770) + (class101_sub3.aFloat5761 * class101_sub3_112_.aFloat5750))); + Component233.aFloat3994 = ((class101_sub3_112_.aFloat5784 * class101_sub3.aFloat5754) + ((class101_sub3.aFloat5769 * class101_sub3_112_.aFloat5754) + (class101_sub3.aFloat5750 * class101_sub3_112_.aFloat5756))); + boolean bool_115_ = false; + float f_116_ = 3.4028235E38F; + float f_117_ = -3.4028235E38F; + float f_118_ = 3.4028235E38F; + float f_119_ = -3.4028235E38F; + int i_120_ = aHa_Sub2_5598.anInt7771; + int i_121_ = aHa_Sub2_5598.anInt7794; + if (!aBoolean5527) method692((byte) -123); + int i_122_ = -aShort5540 + aShort5586 >> 1; + int i_123_ = aShort5629 + -aShort5591 >> 1; + int i_124_ = aShort5646 + -aShort5617 >> 1; + int i_125_ = aShort5540 + i_122_; + int i_126_ = aShort5591 - -i_123_; + int i_127_ = i_124_ + aShort5617; + int i_128_ = -(i_122_ << i_110_) + i_125_; + int i_129_ = i_126_ + -(i_123_ << i_110_); + int i_130_ = i_127_ - (i_124_ << i_110_); + int i_131_ = i_125_ + (i_122_ << i_110_); + int i_132_ = (i_123_ << i_110_) + i_126_; + int i_133_ = (i_124_ << i_110_) + i_127_; + RenderableSub2.anIntArray6393[0] = i_128_; + IOException_Sub1.anIntArray91[0] = i_129_; + RenderableSub2.anIntArray6393[1] = i_131_; + Component283.anIntArray4623[0] = i_130_; + IOException_Sub1.anIntArray91[1] = i_129_; + RenderableSub2.anIntArray6393[2] = i_128_; + if (i != 1566382404) method621(); + Component283.anIntArray4623[1] = i_130_; + IOException_Sub1.anIntArray91[2] = i_132_; + Component283.anIntArray4623[2] = i_130_; + RenderableSub2.anIntArray6393[3] = i_131_; + IOException_Sub1.anIntArray91[3] = i_132_; + RenderableSub2.anIntArray6393[4] = i_128_; + Component283.anIntArray4623[3] = i_130_; + IOException_Sub1.anIntArray91[4] = i_129_; + Component283.anIntArray4623[4] = i_133_; + RenderableSub2.anIntArray6393[5] = i_131_; + IOException_Sub1.anIntArray91[5] = i_129_; + Component283.anIntArray4623[5] = i_133_; + RenderableSub2.anIntArray6393[6] = i_128_; + IOException_Sub1.anIntArray91[6] = i_132_; + RenderableSub2.anIntArray6393[7] = i_131_; + Component283.anIntArray4623[6] = i_133_; + IOException_Sub1.anIntArray91[7] = i_132_; + Component283.anIntArray4623[7] = i_133_; + for (int i_134_ = 0; i_134_ < 8; i_134_++) { + float f_135_ = (float) Component283.anIntArray4623[i_134_]; + float f_136_ = (float) IOException_Sub1.anIntArray91[i_134_]; + float f_137_ = (float) RenderableSub2.anIntArray6393[i_134_]; + float f_138_ = (CookieManager.aFloat6304 * f_135_ + (f_137_ * FriendLoginMessage.aFloat8784 + Component233.aFloat3994 * f_136_) + f_114_); + float f_139_ = f_113_ + (Component112.aFloat3943 * f_137_ + Component278.aFloat3242 * f_136_ + ScreenModeManager.aFloat2836 * f_135_); + float f_140_ = f + (Component100.aFloat8696 * f_136_ + f_137_ * Component385.aFloat2203 + Component55.aFloat3935 * f_135_); + if ((float) aHa_Sub2_5598.anInt7826 <= f_138_) { + if (i_108_ > 0) f_138_ = (float) i_108_; + float f_141_ = (f_140_ * (float) i_120_ / f_138_ + (float) aHa_Sub2_5598.anInt7853); + if (f_141_ < f_116_) f_116_ = f_141_; + if (f_141_ > f_117_) f_117_ = f_141_; + float f_142_ = (f_139_ * (float) i_121_ / f_138_ + (float) aHa_Sub2_5598.anInt7810); + if (f_142_ > f_119_) f_119_ = f_142_; + bool_115_ = true; + if (f_142_ < f_118_) f_118_ = f_142_; + } + } + if (bool_115_ && (float) i_111_ > f_116_ && (float) i_111_ < f_117_ && (float) i_109_ > f_118_ && (float) i_109_ < f_119_) { + if (bool) return true; + if (anInt5529 > aHa_Sub2_5598.anIntArray7880.length) { + aHa_Sub2_5598.anIntArray7883 = new int[anInt5529]; + aHa_Sub2_5598.anIntArray7880 = new int[anInt5529]; + } + int[] is = aHa_Sub2_5598.anIntArray7880; + int[] is_143_ = aHa_Sub2_5598.anIntArray7883; + for (int i_144_ = 0; i_144_ < anInt5557; i_144_++) { + float f_145_ = (float) anIntArray5543[i_144_]; + float f_146_ = (float) anIntArray5644[i_144_]; + float f_147_ = (float) anIntArray5593[i_144_]; + float f_148_ = f_114_ + (f_146_ * CookieManager.aFloat6304 + (FriendLoginMessage.aFloat8784 * f_145_ + f_147_ * Component233.aFloat3994)); + float f_149_ = f + (f_147_ * Component100.aFloat8696 + f_145_ * Component385.aFloat2203 + Component55.aFloat3935 * f_146_); + float f_150_ = f_113_ + (Component278.aFloat3242 * f_147_ + f_145_ * Component112.aFloat3943 + f_146_ * ScreenModeManager.aFloat2836); + if (f_148_ >= (float) aHa_Sub2_5598.anInt7826) { + if (i_108_ > 0) f_148_ = (float) i_108_; + int i_155_ = (int) ((float) (aHa_Sub2_5598.anInt7853) + f_149_ * (float) i_120_ / f_148_); + int i_156_ = (int) ((float) (aHa_Sub2_5598.anInt7810) + (float) i_121_ * f_150_ / f_148_); + int i_157_ = anIntArray5528[i_144_]; + int i_158_ = anIntArray5528[1 + i_144_]; + for (int i_159_ = i_157_; i_159_ < i_158_; i_159_++) { + int i_160_ = -1 + aShortArray5649[i_159_]; + if (i_160_ == -1) break; + is[i_160_] = i_155_; + is_143_[i_160_] = i_156_; + } + } else { + int i_151_ = anIntArray5528[i_144_]; + int i_152_ = anIntArray5528[1 + i_144_]; + for (int i_153_ = i_151_; i_152_ > i_153_; i_153_++) { + int i_154_ = aShortArray5649[i_153_] - 1; + if (i_154_ == -1) break; + is[aShortArray5649[i_153_] - 1] = -999999; + } + } + } + for (int i_161_ = 0; i_161_ < anInt5632; i_161_++) { + if (is[aShortArray5592[i_161_]] != -999999 && is[aShortArray5579[i_161_]] != -999999 && is[aShortArray5566[i_161_]] != -999999 && method679(i_109_, is[aShortArray5579[i_161_]], is[aShortArray5566[i_161_]], is_143_[aShortArray5579[i_161_]], is[aShortArray5592[i_161_]], is_143_[aShortArray5592[i_161_]], 125, i_111_, is_143_[aShortArray5566[i_161_]])) + return true; + } + } + return false; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("paa.SA(" + bool + ',' + i + ',' + i_108_ + ',' + i_109_ + ',' + i_110_ + ',' + i_111_ + ',' + (class101 != null ? "{...}" : "null") + ')')); + } + } + + final void O(int i, int i_162_, int i_163_) { + anInt5618++; + for (int i_164_ = 0; anInt5557 > i_164_; i_164_++) { + if (i != 128) anIntArray5543[i_164_] = i * anIntArray5543[i_164_] >> 7; + if (i_162_ != 128) anIntArray5593[i_164_] = anIntArray5593[i_164_] * i_162_ >> 7; + if (i_163_ != 128) anIntArray5644[i_164_] = anIntArray5644[i_164_] * i_163_ >> 7; + } + if (aClass123_5605 != null) aClass123_5605.anInterface2_1811 = null; + aBoolean5527 = false; + } + + final r BufferedToolkit(r var_r) { + try { + anInt5562++; + if (anInt5529 == 0) return null; + if (!aBoolean5527) method692((byte) -123); + int i; + int i_165_; + if (aHa_Sub2_5598.anInt7772 > 0) { + i = (-(aShort5629 * aHa_Sub2_5598.anInt7772 >> 8) + aShort5540 >> aHa_Sub2_5598.anInt7731); + i_165_ = ((aShort5586 + -(aShort5591 * aHa_Sub2_5598.anInt7772 >> 8)) >> aHa_Sub2_5598.anInt7731); + } else { + i = (-(aShort5591 * aHa_Sub2_5598.anInt7772 >> 8) + aShort5540 >> aHa_Sub2_5598.anInt7731); + i_165_ = ((aShort5586 + -(aHa_Sub2_5598.anInt7772 * aShort5629 >> 8)) >> aHa_Sub2_5598.anInt7731); + } + int i_166_; + int i_167_; + if (aHa_Sub2_5598.anInt7777 > 0) { + i_166_ = (-(aHa_Sub2_5598.anInt7777 * aShort5629 >> 8) + aShort5617 >> aHa_Sub2_5598.anInt7731); + i_167_ = ((aShort5646 - (aShort5591 * aHa_Sub2_5598.anInt7777 >> 8)) >> aHa_Sub2_5598.anInt7731); + } else { + i_166_ = (-(aHa_Sub2_5598.anInt7777 * aShort5591 >> 8) + aShort5617 >> aHa_Sub2_5598.anInt7731); + i_167_ = (-(aHa_Sub2_5598.anInt7777 * aShort5629 >> 8) + aShort5646 >> aHa_Sub2_5598.anInt7731); + } + int i_168_ = i_165_ - i - -1; + int i_169_ = -i_166_ + i_167_ - -1; + CacheNodeSub2 var_r_Sub2 = (CacheNodeSub2) var_r; + CacheNodeSub2 var_r_Sub2_170_; + if (var_r_Sub2 == null || !var_r_Sub2.method3296((byte) -47, i_169_, i_168_)) var_r_Sub2_170_ = new CacheNodeSub2(aHa_Sub2_5598, i_168_, i_169_); + else { + var_r_Sub2_170_ = var_r_Sub2; + var_r_Sub2_170_.method3293((byte) 0); + } + var_r_Sub2_170_.method3292(i_167_, i_165_, i_166_, 25053, i); + method685((byte) 118, var_r_Sub2_170_); + return var_r_Sub2_170_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "paa.ba(" + (var_r != null ? "{...}" : "null") + ')'); + } + } + + final void method612() { + anInt5560++; + if (anInt5529 > 0 && anInt5537 > 0) { + method688(5, false); + if ((aByte5581 & 0x10) == 0 && aClass270_5575.anInterface8_3463 == null) method678(false, (byte) 27); + method691((byte) 124); + } + } + + final int ShaderImpl() { + if (!aBoolean5527) method692((byte) -123); + anInt5578++; + return aShort5634; + } + + final void k(int i) { + anInt5622++; + int i_171_ = DisplayModeManagerContainer88.anIntArray1207[i]; + int i_172_ = DisplayModeManagerContainer88.anIntArray1204[i]; + for (int i_173_ = 0; i_173_ < anInt5557; i_173_++) { + int i_174_ = ((anIntArray5543[i_173_] * i_172_ + anIntArray5644[i_173_] * i_171_) >> 14); + anIntArray5644[i_173_] = anIntArray5644[i_173_] * i_172_ + -(anIntArray5543[i_173_] * i_171_) >> 14; + anIntArray5543[i_173_] = i_174_; + } + for (int i_175_ = 0; i_175_ < anInt5529; i_175_++) { + int i_176_ = ((aShortArray5564[i_175_] * i_172_ + aShortArray5576[i_175_] * i_171_) >> 14); + aShortArray5576[i_175_] = (short) ((i_172_ * aShortArray5576[i_175_] + -(i_171_ * aShortArray5564[i_175_])) >> 14); + aShortArray5564[i_175_] = (short) i_176_; + } + if (aClass123_5563 == null && aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; + if (aClass123_5563 != null) aClass123_5563.anInterface2_1811 = null; + if (aClass123_5605 != null) aClass123_5605.anInterface2_1811 = null; + aBoolean5527 = false; + } + + private final void method685(byte i, CacheNodeSub2 var_r_Sub2) { + try { + if (aHa_Sub2_5598.anIntArray7880.length < anInt5529) { + aHa_Sub2_5598.anIntArray7883 = new int[anInt5529]; + aHa_Sub2_5598.anIntArray7880 = new int[anInt5529]; + } + anInt5530++; + int[] is = aHa_Sub2_5598.anIntArray7880; + if (i < 91) method619(); + int[] is_177_ = aHa_Sub2_5598.anIntArray7883; + for (int i_178_ = 0; anInt5557 > i_178_; i_178_++) { + int i_179_ = ((-((aHa_Sub2_5598.anInt7772 * anIntArray5593[i_178_]) >> 8) + anIntArray5543[i_178_] >> aHa_Sub2_5598.anInt7731) - var_r_Sub2.anInt10489); + int i_180_ = (((anIntArray5644[i_178_] + -((aHa_Sub2_5598.anInt7777 * anIntArray5593[i_178_]) >> 8)) >> aHa_Sub2_5598.anInt7731) + -var_r_Sub2.anInt10484); + int i_181_ = anIntArray5528[i_178_]; + int i_182_ = anIntArray5528[1 + i_178_]; + for (int i_183_ = i_181_; i_182_ > i_183_; i_183_++) { + int i_184_ = aShortArray5649[i_183_] + -1; + if (i_184_ == -1) break; + is[i_184_] = i_179_; + is_177_[i_184_] = i_180_; + } + } + for (int i_185_ = 0; i_185_ < anInt5537; i_185_++) { + if (aByteArray5542 == null || aByteArray5542[i_185_] <= 128) { + short i_186_ = aShortArray5592[i_185_]; + short i_187_ = aShortArray5579[i_185_]; + short i_188_ = aShortArray5566[i_185_]; + int i_189_ = is[i_186_]; + int i_190_ = is[i_187_]; + int i_191_ = is[i_188_]; + int i_192_ = is_177_[i_186_]; + int i_193_ = is_177_[i_187_]; + int i_194_ = is_177_[i_188_]; + if (((i_189_ + -i_190_) * (-i_194_ + i_193_) - (-i_190_ + i_191_) * (-i_192_ + i_193_)) > 0) var_r_Sub2.method3294(i_191_, i_189_, i_192_, 28, i_190_, i_194_, i_193_); + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("paa.U(" + i + ',' + (var_r_Sub2 != null ? "{...}" : "null") + ')')); + } + } + + final void method624(int i, int i_195_, int i_196_, int i_197_) { + anInt5534++; + for (int i_198_ = 0; anInt5632 > i_198_; i_198_++) { + int i_199_ = 0xffff & aShortArray5580[i_198_]; + int i_200_ = (i_199_ & 0xfd9e) >> 10; + int i_201_ = i_199_ >> 7 & 0x7; + if (i != -1) i_200_ = (i_197_ * (-i_200_ + i) >> 7) + i_200_; + int i_202_ = i_199_ & 0x7f; + if (i_195_ != -1) i_201_ = (i_197_ * (i_195_ - i_201_) >> 7) + i_201_; + if (i_196_ != -1) i_202_ += (i_196_ + -i_202_) * i_197_ >> 7; + aShortArray5580[i_198_] = (short) (Component224.bitwiseOr(Component224.bitwiseOr(i_201_ << 7, i_200_ << 10), i_202_)); + } + if (aClass118Array5621 != null) { + for (int i_203_ = 0; i_203_ < anInt5536; i_203_++) { + Component151 class118 = aClass118Array5621[i_203_]; + Component377 class48 = aClass48Array5596[i_203_]; + class48.anInt858 = ((0xffffff & (RunescapeInfo.anIntArray179[0xffff & (aShortArray5580[class118.anInt1783])])) | class48.anInt858 & ~0xffffff); + } + } + if (aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; + } + + final void H(int i, int i_204_, int i_205_) { + anInt5547++; + for (int i_206_ = 0; anInt5557 > i_206_; i_206_++) { + if (i != 0) anIntArray5543[i_206_] += i; + if (i_204_ != 0) anIntArray5593[i_206_] += i_204_; + if (i_205_ != 0) anIntArray5644[i_206_] += i_205_; + } + aBoolean5527 = false; + if (aClass123_5605 != null) aClass123_5605.anInterface2_1811 = null; + } + + final void a(int i) { + anInt5538++; + int i_207_ = DisplayModeManagerContainer88.anIntArray1207[i]; + int i_208_ = DisplayModeManagerContainer88.anIntArray1204[i]; + for (int i_209_ = 0; anInt5557 > i_209_; i_209_++) { + int i_210_ = ((i_208_ * anIntArray5543[i_209_] + i_207_ * anIntArray5644[i_209_]) >> 14); + anIntArray5644[i_209_] = anIntArray5644[i_209_] * i_208_ + -(anIntArray5543[i_209_] * i_207_) >> 14; + anIntArray5543[i_209_] = i_210_; + } + aBoolean5527 = false; + if (aClass123_5605 != null) aClass123_5605.anInterface2_1811 = null; + } + + final boolean F() { + anInt5612++; + return aBoolean5595; + } + + final void method622() { + anInt5613++; + } + + private final DisplayModeManagerContainer370 method686(DisplayModeManagerContainer282 class64_sub3_211_, int i, int i_212_, boolean bool, DisplayModeManagerContainer282 class64_sub3_213_, boolean bool_214_) { + try { + anInt5628++; + class64_sub3_211_.anInt5642 = anInt5642; + class64_sub3_211_.anInt5556 = anInt5556; + class64_sub3_211_.anInt5536 = anInt5536; + class64_sub3_211_.aByte5581 = (byte) 0; + class64_sub3_211_.aShort5544 = aShort5544; + class64_sub3_211_.anInt5529 = anInt5529; + class64_sub3_211_.aBoolean5638 = aBoolean5638; + class64_sub3_211_.anInt5648 = i; + class64_sub3_211_.aShort5645 = aShort5645; + class64_sub3_211_.anInt5632 = anInt5632; + class64_sub3_211_.anInt5537 = anInt5537; + class64_sub3_211_.anInt5557 = anInt5557; + if ((i & 0x100) == 0) class64_sub3_211_.aBoolean5595 = aBoolean5595; + else class64_sub3_211_.aBoolean5595 = true; + boolean bool_215_ = Node.method2709(anInt5556, i, -1); + boolean bool_216_ = DisplayModeManagerContainer369.method1613(false, anInt5556, i); + boolean bool_217_ = Component40.method2259(i_212_, anInt5556, i); + boolean bool_218_ = bool_217_ | (bool_216_ | bool_215_); + if (bool_218_) { + if (!bool_215_) class64_sub3_211_.anIntArray5543 = anIntArray5543; + else if (class64_sub3_213_.anIntArray5543 != null && (class64_sub3_213_.anIntArray5543.length >= anInt5642)) class64_sub3_211_.anIntArray5543 = class64_sub3_213_.anIntArray5543; + else class64_sub3_211_.anIntArray5543 = class64_sub3_213_.anIntArray5543 = new int[anInt5642]; + if (bool_216_) { + if (class64_sub3_213_.anIntArray5593 != null && (anInt5642 <= class64_sub3_213_.anIntArray5593.length)) class64_sub3_211_.anIntArray5593 = class64_sub3_213_.anIntArray5593; + else class64_sub3_211_.anIntArray5593 = class64_sub3_213_.anIntArray5593 = new int[anInt5642]; + } else class64_sub3_211_.anIntArray5593 = anIntArray5593; + if (bool_217_) { + if (class64_sub3_213_.anIntArray5644 == null || (class64_sub3_213_.anIntArray5644.length < anInt5642)) class64_sub3_211_.anIntArray5644 = class64_sub3_213_.anIntArray5644 = new int[anInt5642]; + else class64_sub3_211_.anIntArray5644 = class64_sub3_213_.anIntArray5644; + } else class64_sub3_211_.anIntArray5644 = anIntArray5644; + for (int i_219_ = 0; anInt5642 > i_219_; i_219_++) { + if (bool_215_) class64_sub3_211_.anIntArray5543[i_219_] = anIntArray5543[i_219_]; + if (bool_216_) class64_sub3_211_.anIntArray5593[i_219_] = anIntArray5593[i_219_]; + if (bool_217_) class64_sub3_211_.anIntArray5644[i_219_] = anIntArray5644[i_219_]; + } + } else { + class64_sub3_211_.anIntArray5644 = anIntArray5644; + class64_sub3_211_.anIntArray5593 = anIntArray5593; + class64_sub3_211_.anIntArray5543 = anIntArray5543; + } + if (Component118.method2187(i, -79, anInt5556)) { + class64_sub3_211_.aClass123_5605 = class64_sub3_213_.aClass123_5605; + if (bool_214_) class64_sub3_211_.aByte5581 |= 0x1; + class64_sub3_211_.aClass123_5605.anInterface2_1811 = aClass123_5605.anInterface2_1811; + class64_sub3_211_.aClass123_5605.aByte1812 = aClass123_5605.aByte1812; + } else if (!DisplayModeManagerContainer370.method616(i_212_ + 2, i, anInt5556)) class64_sub3_211_.aClass123_5605 = null; + else class64_sub3_211_.aClass123_5605 = aClass123_5605; + if (DisplayModeManagerContainer145.method1087(12644, anInt5556, i)) { + if (class64_sub3_213_.aShortArray5580 != null && (class64_sub3_213_.aShortArray5580.length >= anInt5632)) class64_sub3_211_.aShortArray5580 = class64_sub3_213_.aShortArray5580; + else class64_sub3_211_.aShortArray5580 = class64_sub3_213_.aShortArray5580 = new short[anInt5632]; + for (int i_220_ = 0; i_220_ < anInt5632; i_220_++) + class64_sub3_211_.aShortArray5580[i_220_] = aShortArray5580[i_220_]; + } else class64_sub3_211_.aShortArray5580 = aShortArray5580; + if (DisplayModeManagerContainer347.method2075(i, -128, anInt5556)) { + if (class64_sub3_213_.aByteArray5542 == null || (class64_sub3_213_.aByteArray5542.length < anInt5632)) class64_sub3_211_.aByteArray5542 = class64_sub3_213_.aByteArray5542 = new byte[anInt5632]; + else class64_sub3_211_.aByteArray5542 = class64_sub3_213_.aByteArray5542; + for (int i_221_ = 0; anInt5632 > i_221_; i_221_++) + class64_sub3_211_.aByteArray5542[i_221_] = aByteArray5542[i_221_]; + } else class64_sub3_211_.aByteArray5542 = aByteArray5542; + if (Component224.method2056(i, 108, anInt5556)) { + class64_sub3_211_.aClass123_5610 = class64_sub3_213_.aClass123_5610; + if (bool_214_) class64_sub3_211_.aByte5581 |= 0x2; + class64_sub3_211_.aClass123_5610.anInterface2_1811 = aClass123_5610.anInterface2_1811; + class64_sub3_211_.aClass123_5610.aByte1812 = aClass123_5610.aByte1812; + } else if (Component334.method1193(anInt5556, i, true)) class64_sub3_211_.aClass123_5610 = aClass123_5610; + else class64_sub3_211_.aClass123_5610 = null; + if (ClientErrorReporter.hasCollisionBlockFlags(anInt5556, i, -119)) { + if (class64_sub3_213_.aShortArray5564 != null && class64_sub3_213_.aShortArray5564.length >= anInt5529) { + class64_sub3_211_.aShortArray5564 = class64_sub3_213_.aShortArray5564; + class64_sub3_211_.aShortArray5583 = class64_sub3_213_.aShortArray5583; + class64_sub3_211_.aShortArray5576 = class64_sub3_213_.aShortArray5576; + } else { + int i_222_ = anInt5529; + class64_sub3_211_.aShortArray5583 = class64_sub3_213_.aShortArray5583 = new short[i_222_]; + class64_sub3_211_.aShortArray5564 = class64_sub3_213_.aShortArray5564 = new short[i_222_]; + class64_sub3_211_.aShortArray5576 = class64_sub3_213_.aShortArray5576 = new short[i_222_]; + } + if (aClass139_5572 == null) { + for (int i_223_ = 0; i_223_ < anInt5529; i_223_++) { + class64_sub3_211_.aShortArray5564[i_223_] = aShortArray5564[i_223_]; + class64_sub3_211_.aShortArray5583[i_223_] = aShortArray5583[i_223_]; + class64_sub3_211_.aShortArray5576[i_223_] = aShortArray5576[i_223_]; + } + } else { + if (class64_sub3_213_.aClass139_5572 == null) class64_sub3_213_.aClass139_5572 = new GpsOverlay(); + GpsOverlay class139 = (class64_sub3_211_.aClass139_5572 = class64_sub3_213_.aClass139_5572); + if (class139.aShortArray1954 == null || (anInt5529 > class139.aShortArray1954.length)) { + int i_224_ = anInt5529; + class139.aShortArray1951 = new short[i_224_]; + class139.aShortArray1953 = new short[i_224_]; + class139.aShortArray1954 = new short[i_224_]; + class139.aByteArray1948 = new byte[i_224_]; + } + for (int i_225_ = 0; anInt5529 > i_225_; i_225_++) { + class64_sub3_211_.aShortArray5564[i_225_] = aShortArray5564[i_225_]; + class64_sub3_211_.aShortArray5583[i_225_] = aShortArray5583[i_225_]; + class64_sub3_211_.aShortArray5576[i_225_] = aShortArray5576[i_225_]; + class139.aShortArray1954[i_225_] = (aClass139_5572.aShortArray1954[i_225_]); + class139.aShortArray1951[i_225_] = (aClass139_5572.aShortArray1951[i_225_]); + class139.aShortArray1953[i_225_] = (aClass139_5572.aShortArray1953[i_225_]); + class139.aByteArray1948[i_225_] = (aClass139_5572.aByteArray1948[i_225_]); + } + } + class64_sub3_211_.aByteArray5594 = aByteArray5594; + } else { + class64_sub3_211_.aShortArray5564 = aShortArray5564; + class64_sub3_211_.aShortArray5583 = aShortArray5583; + class64_sub3_211_.aClass139_5572 = aClass139_5572; + class64_sub3_211_.aByteArray5594 = aByteArray5594; + class64_sub3_211_.aShortArray5576 = aShortArray5576; + } + if (ParticleSystem.method3325(i, anInt5556, true)) { + if (bool_214_) class64_sub3_211_.aByte5581 |= 0x4; + class64_sub3_211_.aClass123_5563 = class64_sub3_213_.aClass123_5563; + class64_sub3_211_.aClass123_5563.anInterface2_1811 = aClass123_5563.anInterface2_1811; + class64_sub3_211_.aClass123_5563.aByte1812 = aClass123_5563.aByte1812; + } else if (!ShaderSub3.method166((byte) 108, anInt5556, i)) class64_sub3_211_.aClass123_5563 = null; + else class64_sub3_211_.aClass123_5563 = aClass123_5563; + if (ShaderProgramSub9.method2174((byte) 121, i, anInt5556)) { + if (class64_sub3_213_.aFloatArray5552 != null && (class64_sub3_213_.aFloatArray5552.length >= anInt5632)) { + class64_sub3_211_.aFloatArray5571 = class64_sub3_213_.aFloatArray5571; + class64_sub3_211_.aFloatArray5552 = class64_sub3_213_.aFloatArray5552; + } else { + int i_226_ = anInt5529; + class64_sub3_211_.aFloatArray5571 = class64_sub3_213_.aFloatArray5571 = new float[i_226_]; + class64_sub3_211_.aFloatArray5552 = class64_sub3_213_.aFloatArray5552 = new float[i_226_]; + } + for (int i_227_ = 0; i_227_ < anInt5529; i_227_++) { + class64_sub3_211_.aFloatArray5552[i_227_] = aFloatArray5552[i_227_]; + class64_sub3_211_.aFloatArray5571[i_227_] = aFloatArray5571[i_227_]; + } + } else { + class64_sub3_211_.aFloatArray5571 = aFloatArray5571; + class64_sub3_211_.aFloatArray5552 = aFloatArray5552; + } + if (Connection.method1475((byte) -96, anInt5556, i)) { + class64_sub3_211_.aClass123_5620 = class64_sub3_213_.aClass123_5620; + if (bool_214_) class64_sub3_211_.aByte5581 |= 0x8; + class64_sub3_211_.aClass123_5620.anInterface2_1811 = aClass123_5620.anInterface2_1811; + class64_sub3_211_.aClass123_5620.aByte1812 = aClass123_5620.aByte1812; + } else if (CacheIndexReader.hasFlag0x800(anInt5556, (byte) -60, i)) class64_sub3_211_.aClass123_5620 = aClass123_5620; + else class64_sub3_211_.aClass123_5620 = null; + if (Component219.method2352(-19, anInt5556, i)) { + if (class64_sub3_213_.aShortArray5592 != null && (anInt5632 <= class64_sub3_213_.aShortArray5592.length)) { + class64_sub3_211_.aShortArray5579 = class64_sub3_213_.aShortArray5579; + class64_sub3_211_.aShortArray5592 = class64_sub3_213_.aShortArray5592; + class64_sub3_211_.aShortArray5566 = class64_sub3_213_.aShortArray5566; + } else { + int i_228_ = anInt5632; + class64_sub3_211_.aShortArray5566 = class64_sub3_213_.aShortArray5566 = new short[i_228_]; + class64_sub3_211_.aShortArray5592 = class64_sub3_213_.aShortArray5592 = new short[i_228_]; + class64_sub3_211_.aShortArray5579 = class64_sub3_213_.aShortArray5579 = new short[i_228_]; + } + for (int i_229_ = 0; anInt5632 > i_229_; i_229_++) { + class64_sub3_211_.aShortArray5592[i_229_] = aShortArray5592[i_229_]; + class64_sub3_211_.aShortArray5579[i_229_] = aShortArray5579[i_229_]; + class64_sub3_211_.aShortArray5566[i_229_] = aShortArray5566[i_229_]; + } + } else { + class64_sub3_211_.aShortArray5566 = aShortArray5566; + class64_sub3_211_.aShortArray5579 = aShortArray5579; + class64_sub3_211_.aShortArray5592 = aShortArray5592; + } + if (Component325.method723(i, anInt5556, (byte) -70)) { + if (bool_214_) class64_sub3_211_.aByte5581 |= 0x10; + class64_sub3_211_.aClass270_5575 = class64_sub3_213_.aClass270_5575; + class64_sub3_211_.aClass270_5575.anInterface8_3463 = aClass270_5575.anInterface8_3463; + } else if (!ClientErrorReporter.hasRoofFlag(i, anInt5556, -93)) class64_sub3_211_.aClass270_5575 = null; + else class64_sub3_211_.aClass270_5575 = aClass270_5575; + if (GameType.method1637(anInt5556, 32768, i)) { + if (class64_sub3_213_.aShortArray5601 == null || class64_sub3_213_.aShortArray5601.length < anInt5632) { + int i_230_ = anInt5632; + class64_sub3_211_.aShortArray5601 = class64_sub3_213_.aShortArray5601 = new short[i_230_]; + } else class64_sub3_211_.aShortArray5601 = class64_sub3_213_.aShortArray5601; + for (int i_231_ = 0; anInt5632 > i_231_; i_231_++) + class64_sub3_211_.aShortArray5601[i_231_] = aShortArray5601[i_231_]; + } else class64_sub3_211_.aShortArray5601 = aShortArray5601; + if (Component386.method1599((byte) -113, i, anInt5556)) { + if (class64_sub3_213_.aClass48Array5596 != null && (class64_sub3_213_.aClass48Array5596.length >= anInt5536)) { + class64_sub3_211_.aClass48Array5596 = class64_sub3_213_.aClass48Array5596; + for (int i_232_ = 0; i_232_ < anInt5536; i_232_++) + class64_sub3_211_.aClass48Array5596[i_232_].method451(aClass48Array5596[i_232_], (byte) -110); + } else { + int i_233_ = anInt5536; + class64_sub3_211_.aClass48Array5596 = class64_sub3_213_.aClass48Array5596 = new Component377[i_233_]; + for (int i_234_ = 0; anInt5536 > i_234_; i_234_++) + class64_sub3_211_.aClass48Array5596[i_234_] = aClass48Array5596[i_234_].method452(true); + } + } else class64_sub3_211_.aClass48Array5596 = aClass48Array5596; + class64_sub3_211_.anIntArray5528 = anIntArray5528; + class64_sub3_211_.aClass342Array5541 = aClass342Array5541; + class64_sub3_211_.anIntArray5626 = anIntArray5626; + if (aBoolean5527) { + class64_sub3_211_.aShort5540 = aShort5540; + class64_sub3_211_.aShort5559 = aShort5559; + class64_sub3_211_.aShort5617 = aShort5617; + class64_sub3_211_.aShort5586 = aShort5586; + class64_sub3_211_.aShort5629 = aShort5629; + class64_sub3_211_.aShort5591 = aShort5591; + class64_sub3_211_.aBoolean5527 = true; + class64_sub3_211_.aShort5634 = aShort5634; + class64_sub3_211_.aShort5646 = aShort5646; + } else class64_sub3_211_.aBoolean5527 = false; + class64_sub3_211_.aClass118Array5621 = aClass118Array5621; + class64_sub3_211_.aShortArray5608 = aShortArray5608; + class64_sub3_211_.anIntArrayArray5539 = anIntArrayArray5539; + class64_sub3_211_.aShortArray5649 = aShortArray5649; + class64_sub3_211_.anIntArrayArray5553 = anIntArrayArray5553; + class64_sub3_211_.aShortArray5573 = aShortArray5573; + class64_sub3_211_.anIntArrayArray5627 = anIntArrayArray5627; + class64_sub3_211_.aClass129Array5640 = aClass129Array5640; + return class64_sub3_211_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("paa.K(" + (class64_sub3_211_ != null ? "{...}" : "null") + ',' + i + ',' + i_212_ + ',' + bool + ',' + (class64_sub3_213_ != null ? "{...}" : "null") + ',' + bool_214_ + ')')); + } + } + + final void LA(int i) { + if (aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; + anInt5623++; + aShort5645 = (short) i; + if (aClass123_5563 != null) aClass123_5563.anInterface2_1811 = null; + } + + final void Interface4Impl() { + for (int i = 0; i < anInt5642; i++) { + anIntArray5543[i] = 7 + anIntArray5543[i] >> 4; + anIntArray5593[i] = 7 + anIntArray5593[i] >> 4; + anIntArray5644[i] = anIntArray5644[i] - -7 >> 4; + } + anInt5585++; + if (aClass123_5605 != null) aClass123_5605.anInterface2_1811 = null; + aBoolean5527 = false; + } + + final void method608(DisplayModeManagerContainer204 class101, RenderableSub3 class318_sub3, int i, int i_235_) { + try { + anInt5639++; + if (anInt5529 != 0) { + MatrixSub3 class101_sub3 = aHa_Sub2_5598.aClass101_Sub3_7760; + MatrixSub3 class101_sub3_236_ = (MatrixSub3) class101; + if (!aBoolean5527) method692((byte) -123); + Component233.aFloat3994 = ((class101_sub3_236_.aFloat5750 * class101_sub3.aFloat5756) + (class101_sub3.aFloat5754 * class101_sub3_236_.aFloat5769) + (class101_sub3.aFloat5784 * class101_sub3_236_.aFloat5754)); + Component297.aFloat4720 = ((class101_sub3_236_.aFloat5751 * class101_sub3.aFloat5784) + ((class101_sub3.aFloat5756 * class101_sub3_236_.aFloat5747) + (class101_sub3_236_.aFloat5772 * class101_sub3.aFloat5754)) + class101_sub3.aFloat5751); + float f = (Component297.aFloat4720 + Component233.aFloat3994 * (float) aShort5591); + float f_237_ = (Component233.aFloat3994 * (float) aShort5629 + Component297.aFloat4720); + float f_238_; + float f_239_; + if (f > f_237_) { + f_238_ = f + (float) aShort5634; + f_239_ = (float) -aShort5634 + f_237_; + } else { + f_238_ = (float) aShort5634 + f_237_; + f_239_ = f - (float) aShort5634; + } + if (!(f_239_ >= aHa_Sub2_5598.aFloat7875) && !((float) aHa_Sub2_5598.anInt7826 >= f_238_)) { + Component100.aFloat8696 = ((class101_sub3.aFloat5781 * class101_sub3_236_.aFloat5754) + ((class101_sub3_236_.aFloat5769 * class101_sub3.aFloat5750) + ((class101_sub3_236_.aFloat5750) * (class101_sub3.aFloat5770)))); + DisplayModeManagerContainer56.aFloat2555 = ((class101_sub3.aFloat5781 * class101_sub3_236_.aFloat5751) + ((class101_sub3_236_.aFloat5772 * class101_sub3.aFloat5750) + (class101_sub3.aFloat5770 * (class101_sub3_236_.aFloat5747))) + class101_sub3.aFloat5747); + float f_240_ = (DisplayModeManagerContainer56.aFloat2555 + ((float) aShort5591 * Component100.aFloat8696)); + float f_241_ = (DisplayModeManagerContainer56.aFloat2555 + ((float) aShort5629 * Component100.aFloat8696)); + float f_242_; + float f_243_; + if (f_240_ > f_241_) { + f_242_ = ((float) aHa_Sub2_5598.anInt7771 * (f_240_ + (float) aShort5634)); + f_243_ = ((float) aHa_Sub2_5598.anInt7771 * (f_241_ - (float) aShort5634)); + } else { + f_243_ = ((float) aHa_Sub2_5598.anInt7771 * ((float) -aShort5634 + f_240_)); + f_242_ = ((float) aHa_Sub2_5598.anInt7771 * (f_241_ + (float) aShort5634)); + } + if (!(aHa_Sub2_5598.aFloat7835 <= f_243_ / (float) i) && !(f_242_ / (float) i <= aHa_Sub2_5598.aFloat7872)) { + Component278.aFloat3242 = ((class101_sub3.aFloat5769 * (class101_sub3_236_.aFloat5769)) + ((class101_sub3_236_.aFloat5750) * class101_sub3.aFloat5761) + ((class101_sub3_236_.aFloat5754) * (class101_sub3.aFloat5762))); + ClientErrorReporter.aFloat2111 = (class101_sub3.aFloat5772 + ((class101_sub3.aFloat5762 * (class101_sub3_236_.aFloat5751)) + (((class101_sub3.aFloat5769) * (class101_sub3_236_.aFloat5772)) + ((class101_sub3.aFloat5761) * (class101_sub3_236_.aFloat5747))))); + float f_244_ = (Component278.aFloat3242 * (float) aShort5591 + ClientErrorReporter.aFloat2111); + float f_245_ = (ClientErrorReporter.aFloat2111 + (float) aShort5629 * Component278.aFloat3242); + float f_246_; + float f_247_; + if (f_245_ < f_244_) { + f_247_ = (((float) -aShort5634 + f_245_) * (float) (aHa_Sub2_5598.anInt7794)); + f_246_ = ((float) aHa_Sub2_5598.anInt7794 * ((float) aShort5634 + f_244_)); + } else { + f_246_ = ((float) aHa_Sub2_5598.anInt7794 * (f_245_ + (float) aShort5634)); + f_247_ = ((float) aHa_Sub2_5598.anInt7794 * (f_244_ - (float) aShort5634)); + } + if (!(f_247_ / (float) i >= aHa_Sub2_5598.aFloat7830) && !(aHa_Sub2_5598.aFloat7836 >= f_246_ / (float) i)) { + if (class318_sub3 != null || aClass118Array5621 != null) { + Component112.aFloat3943 = (((class101_sub3_236_.aFloat5770) * (class101_sub3.aFloat5761)) + ((class101_sub3.aFloat5769) * class101_sub3_236_.aFloat5761) + ((class101_sub3_236_.aFloat5756) * (class101_sub3.aFloat5762))); + Component55.aFloat3935 = (((class101_sub3.aFloat5781) * (class101_sub3_236_.aFloat5784)) + ((class101_sub3_236_.aFloat5781 * (class101_sub3.aFloat5770)) + ((class101_sub3.aFloat5750) * (class101_sub3_236_.aFloat5762)))); + FriendLoginMessage.aFloat8784 = (((class101_sub3.aFloat5784) * (class101_sub3_236_.aFloat5756)) + ((class101_sub3_236_.aFloat5770 * (class101_sub3.aFloat5756)) + ((class101_sub3.aFloat5754) * (class101_sub3_236_.aFloat5761)))); + ScreenModeManager.aFloat2836 = (((class101_sub3_236_.aFloat5762) * (class101_sub3.aFloat5769)) + ((class101_sub3_236_.aFloat5781) * (class101_sub3.aFloat5761)) + ((class101_sub3.aFloat5762) * class101_sub3_236_.aFloat5784)); + CookieManager.aFloat6304 = (((class101_sub3.aFloat5784) * (class101_sub3_236_.aFloat5784)) + ((class101_sub3_236_.aFloat5762 * (class101_sub3.aFloat5754)) + (class101_sub3_236_.aFloat5781 * (class101_sub3.aFloat5756)))); + Component385.aFloat2203 = (((class101_sub3_236_.aFloat5756) * (class101_sub3.aFloat5781)) + ((class101_sub3_236_.aFloat5761 * (class101_sub3.aFloat5750)) + (class101_sub3_236_.aFloat5770 * (class101_sub3.aFloat5770)))); + } + if (class318_sub3 != null) { + int i_248_ = aShort5586 + aShort5540 >> 1; + int i_249_ = aShort5617 + aShort5646 >> 1; + int i_250_ = (int) (((float) aShort5591 * Component100.aFloat8696) + (((float) i_248_ * Component385.aFloat2203) + DisplayModeManagerContainer56.aFloat2555) + (Component55.aFloat3935 * (float) i_249_)); + int i_251_ = (int) (ClientErrorReporter.aFloat2111 + ((float) i_248_ * Component112.aFloat3943) + (Component278.aFloat3242 * (float) aShort5591) + (ScreenModeManager.aFloat2836 * (float) i_249_)); + int i_252_ = (int) (Component297.aFloat4720 + ((float) i_248_ * (FriendLoginMessage.aFloat8784)) + (Component233.aFloat3994 * (float) aShort5591) + (CookieManager.aFloat6304 * (float) i_249_)); + int i_253_ = (int) ((Component55.aFloat3935 * (float) i_249_) + ((Component100.aFloat8696 * (float) aShort5629) + (DisplayModeManagerContainer56.aFloat2555 + (Component385.aFloat2203 * (float) i_248_)))); + int i_254_ = (int) (ClientErrorReporter.aFloat2111 + (Component112.aFloat3943 * (float) i_248_) + (Component278.aFloat3242 * (float) aShort5629) + ((float) i_249_ * ScreenModeManager.aFloat2836)); + class318_sub3.anInt6405 = (aHa_Sub2_5598.anInt7853 - -(i_250_ * (aHa_Sub2_5598.anInt7771) / i)); + class318_sub3.anInt6402 = ((i_251_ * aHa_Sub2_5598.anInt7794 / i) + aHa_Sub2_5598.anInt7810); + class318_sub3.anInt6404 = (aHa_Sub2_5598.anInt7810 + (i_254_ * aHa_Sub2_5598.anInt7794 / i)); + int i_255_ = (int) (((float) i_249_ * CookieManager.aFloat6304) + ((Component233.aFloat3994 * (float) aShort5629) + (((FriendLoginMessage.aFloat8784) * (float) i_248_) + Component297.aFloat4720))); + class318_sub3.anInt6406 = (aHa_Sub2_5598.anInt7853 + (i_253_ * aHa_Sub2_5598.anInt7771 / i)); + if (i_252_ >= aHa_Sub2_5598.anInt7826 || i_255_ >= (aHa_Sub2_5598.anInt7826)) { + class318_sub3.aBoolean6401 = true; + class318_sub3.anInt6403 = (-(class318_sub3.anInt6405) + ((aHa_Sub2_5598.anInt7853) + ((aHa_Sub2_5598.anInt7771) * (aShort5634 + i_250_) / i))); + } + } + aHa_Sub2_5598.method3789((byte) -122, (float) i); + aHa_Sub2_5598.method3760(1); + aHa_Sub2_5598.method3758(false, class101_sub3_236_); + method677((byte) 127); + aHa_Sub2_5598.method3734(true); + method682(true); + } + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("paa.Q(" + (class101 != null ? "{...}" : "null") + ',' + (class318_sub3 != null ? "{...}" : "null") + ',' + i + ',' + i_235_ + ')')); + } + } + + final int da() { + anInt5636++; + return aShort5645; + } + + final boolean NA() { + anInt5643++; + if (anIntArrayArray5539 == null) return false; + for (int i = 0; i < anInt5642; i++) { + anIntArray5543[i] <<= 4; + anIntArray5593[i] <<= 4; + anIntArray5644[i] <<= 4; + } + Component85.anInt2880 = 0; + NodeBase.anInt7275 = 0; + Component113.anInt2398 = 0; + return true; + } + + final int RA() { + if (!aBoolean5527) method692((byte) -123); + anInt5587++; + return aShort5586; + } + + final int G() { + anInt5631++; + if (!aBoolean5527) method692((byte) -123); + return aShort5646; + } + + final void p(int i, int i_256_, s var_s, s var_s_257_, int i_258_, int i_259_, int i_260_) { + do { + try { + anInt5532++; + if (!aBoolean5527) method692((byte) -123); + int i_261_ = aShort5540 + i_258_; + int i_262_ = i_258_ - -aShort5586; + int i_263_ = i_260_ - -aShort5617; + int i_264_ = aShort5646 + i_260_; + if ((i != 1 && i != 2 && i != 3 && i != 5) || (i_261_ >= 0 && (var_s.anInt4587 > (var_s.anInt4592 + i_262_ >> var_s.anInt4588)) && i_263_ >= 0 && (var_s.anInt4590 > (i_264_ - -var_s.anInt4592 >> var_s.anInt4588)))) { + if (i != 4 && i != 5) { + i_261_ >>= var_s.anInt4588; + i_262_ = (i_262_ - -var_s.anInt4592 - 1 >> var_s.anInt4588); + i_263_ >>= var_s.anInt4588; + i_264_ = (i_264_ + var_s.anInt4592 + -1 >> var_s.anInt4588); + if (i_259_ == var_s.method3982((byte) -86, i_263_, i_261_) && i_259_ == var_s.method3982((byte) -86, i_263_, i_262_) && i_259_ == var_s.method3982((byte) -86, i_264_, i_261_) && (var_s.method3982((byte) -86, i_264_, i_262_) == i_259_)) break; + } else if (var_s_257_ == null || (i_261_ < 0 || (((i_262_ - -var_s_257_.anInt4592) >> var_s_257_.anInt4588) >= var_s_257_.anInt4587) || i_263_ < 0 || (var_s_257_.anInt4590 <= (var_s_257_.anInt4592 + i_264_ >> var_s_257_.anInt4588)))) break; + if (i == 1) { + for (int i_265_ = 0; i_265_ < anInt5557; i_265_++) + anIntArray5593[i_265_] = (-i_259_ + anIntArray5593[i_265_] + var_s.method3986((anIntArray5543[i_265_] + i_258_), i_260_ + (anIntArray5644[i_265_]), (byte) -93)); + } else if (i == 2) { + int i_279_ = aShort5591; + if (i_279_ == 0) break; + for (int i_280_ = 0; anInt5557 > i_280_; i_280_++) { + int i_281_ = ((anIntArray5593[i_280_] << 16) / i_279_); + if (i_281_ < i_256_) anIntArray5593[i_280_] = (anIntArray5593[i_280_] - -((-i_259_ + (var_s.method3986((anIntArray5543[i_280_] - -i_258_), (i_260_ + anIntArray5644[i_280_]), (byte) -94))) * (-i_281_ + i_256_) / i_256_)); + } + } else if (i == 3) { + int i_266_ = (0xff & i_256_) * 4; + int i_267_ = 4 * ((0xff0e & i_256_) >> 8); + int i_268_ = 0x3fc0 & i_256_ >> 16 << 6; + int i_269_ = (0xff & i_256_ >> 24) << 6; + if (i_258_ + -(i_266_ >> 1) < 0 || (((i_266_ >> 1) + (i_258_ - -var_s.anInt4592)) >= (var_s.anInt4587 << var_s.anInt4588)) || -(i_267_ >> 1) + i_260_ < 0 || ((var_s.anInt4590 << var_s.anInt4588) <= ((i_267_ >> 1) + i_260_ + var_s.anInt4592))) + break; + this.method626(i_266_, 10947, i_269_, i_258_, i_267_, i_259_, i_268_, var_s, i_260_); + } else if (i == 4) { + int i_277_ = aShort5629 - aShort5591; + for (int i_278_ = 0; anInt5557 > i_278_; i_278_++) + anIntArray5593[i_278_] = (anIntArray5593[i_278_] - (-(var_s_257_.method3986(anIntArray5543[i_278_] + i_258_, anIntArray5644[i_278_] + i_260_, (byte) 71)) - -i_259_ - i_277_)); + } else if (i == 5) { + int i_270_ = -aShort5591 + aShort5629; + for (int i_271_ = 0; anInt5557 > i_271_; i_271_++) { + int i_272_ = anIntArray5543[i_271_] + i_258_; + int i_273_ = anIntArray5644[i_271_] + i_260_; + int i_274_ = var_s.method3986(i_272_, i_273_, (byte) -100); + int i_275_ = var_s_257_.method3986(i_272_, i_273_, (byte) 93); + int i_276_ = -i_256_ + i_274_ + -i_275_; + anIntArray5593[i_271_] = i_274_ + (-i_259_ + (((anIntArray5593[i_271_] << 8) / i_270_ * i_276_) >> 8)); + } + } + aBoolean5527 = false; + if (aClass123_5605 == null) break; + aClass123_5605.anInterface2_1811 = null; + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("paa.p(" + i + ',' + i_256_ + ',' + (var_s != null ? "{...}" : "null") + ',' + (var_s_257_ != null ? "{...}" : "null") + ',' + i_258_ + ',' + i_259_ + ',' + i_260_ + ')')); + } + break; + } while (false); + } + + static final void method687(byte i, int i_282_) { + int i_283_ = 113 / ((-63 - i) / 53); + anInt5570++; + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i_282_, (byte) 105, 5); + class348_sub42_sub15.method3251(-16058); + } + + final void Shader(short i, short i_284_) { + anInt5590++; + d var_d = aHa_Sub2_5598.aD4579; + for (int i_285_ = 0; i_285_ < anInt5632; i_285_++) { + if (aShortArray5601[i_285_] == i) aShortArray5601[i_285_] = i_284_; + } + byte i_286_ = 0; + byte i_287_ = 0; + if (i != -1) { + Component319 class12 = var_d.method3(0xffff & i, -6662); + i_287_ = class12.aByte216; + i_286_ = class12.aByte201; + } + byte i_288_ = 0; + byte i_289_ = 0; + if (i_284_ != -1) { + Component319 class12 = var_d.method3(i_284_ & 0xffff, -6662); + if (class12.aByte198 != 0 || class12.aByte211 != 0) aBoolean5638 = true; + i_288_ = class12.aByte201; + i_289_ = class12.aByte216; + } + if (i_287_ != i_289_ | i_286_ != i_288_) { + if (aClass118Array5621 != null) { + for (int i_290_ = 0; i_290_ < anInt5536; i_290_++) { + Component151 class118 = aClass118Array5621[i_290_]; + Component377 class48 = aClass48Array5596[i_290_]; + class48.anInt858 = ((0xffffff & (RunescapeInfo.anIntArray179[0xffff & (aShortArray5580[class118.anInt1783])])) | class48.anInt858 & ~0xffffff); + } + } + if (aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; + } + } + + private final void method688(int i, boolean bool) { + anInt5588++; + boolean bool_291_ = (aClass123_5610 != null && aClass123_5610.anInterface2_1811 == null); + boolean bool_292_ = (aClass123_5563 != null && aClass123_5563.anInterface2_1811 == null); + boolean bool_293_ = (aClass123_5605 != null && aClass123_5605.anInterface2_1811 == null); + boolean bool_294_ = (aClass123_5620 != null && aClass123_5620.anInterface2_1811 == null); + if (bool) { + bool_294_ = bool_294_ & (aByte5581 & 0x8) != 0; + bool_292_ = bool_292_ & (aByte5581 & 0x4) != 0; + bool_291_ = bool_291_ & (0x2 & aByte5581) != 0; + bool_293_ = bool_293_ & (0x1 & aByte5581) != 0; + } + byte i_295_ = 0; + if (i == 5) { + byte i_296_ = 0; + byte i_297_ = 0; + byte i_298_ = 0; + if (bool_293_) { + i_296_ = i_295_; + i_295_ += 12; + } + byte i_299_ = 0; + if (bool_291_) { + i_297_ = i_295_; + i_295_ += 4; + } + if (bool_292_) { + i_298_ = i_295_; + i_295_ += 12; + } + if (bool_294_) { + i_299_ = i_295_; + i_295_ += 8; + } + if (i_295_ != 0) { + if (anInt5529 * i_295_ > (aHa_Sub2_5598.aClass348_Sub49_Sub1_7798.payload).length) aHa_Sub2_5598.aClass348_Sub49_Sub1_7798 = new Component182(i_295_ * (100 + anInt5529)); + else aHa_Sub2_5598.aClass348_Sub49_Sub1_7798.offset = 0; + Component182 class348_sub49_sub1 = aHa_Sub2_5598.aClass348_Sub49_Sub1_7798; + if (bool_293_) { + if (aHa_Sub2_5598.aBoolean7775) { + for (int i_300_ = 0; anInt5557 > i_300_; i_300_++) { + int i_301_ = (Stream.floatToRawIntBits((float) anIntArray5543[i_300_])); + int i_302_ = (Stream.floatToRawIntBits((float) anIntArray5593[i_300_])); + int i_303_ = (Stream.floatToRawIntBits((float) anIntArray5644[i_300_])); + int i_304_ = anIntArray5528[i_300_]; + int i_305_ = anIntArray5528[i_300_ - -1]; + for (int i_306_ = i_304_; i_306_ < i_305_; i_306_++) { + int i_307_ = -1 + aShortArray5649[i_306_]; + if (i_307_ == -1) break; + class348_sub49_sub1.offset = i_295_ * i_307_; + class348_sub49_sub1.writeInt((byte) 111, i_301_); + class348_sub49_sub1.writeInt((byte) 109, i_302_); + class348_sub49_sub1.writeInt((byte) 116, i_303_); + } + } + } else { + for (int i_308_ = 0; anInt5557 > i_308_; i_308_++) { + int i_309_ = (Stream.floatToRawIntBits((float) anIntArray5543[i_308_])); + int i_310_ = (Stream.floatToRawIntBits((float) anIntArray5593[i_308_])); + int i_311_ = (Stream.floatToRawIntBits((float) anIntArray5644[i_308_])); + int i_312_ = anIntArray5528[i_308_]; + int i_313_ = anIntArray5528[1 + i_308_]; + for (int i_314_ = i_312_; i_314_ < i_313_; i_314_++) { + int i_315_ = -1 + aShortArray5649[i_314_]; + if (i_315_ == -1) break; + class348_sub49_sub1.offset = i_295_ * i_315_; + class348_sub49_sub1.writeIntLittleEndian(-23892, i_309_); + class348_sub49_sub1.writeIntLittleEndian(i + -23897, i_310_); + class348_sub49_sub1.writeIntLittleEndian(-23892, i_311_); + } + } + } + } + if (bool_291_) { + if (aClass123_5563 == null) { + short[] is; + byte[] is_316_; + short[] is_317_; + short[] is_318_; + if (aClass139_5572 == null) { + is = aShortArray5576; + is_316_ = aByteArray5594; + is_317_ = aShortArray5583; + is_318_ = aShortArray5564; + } else { + is_318_ = aClass139_5572.aShortArray1954; + is = aClass139_5572.aShortArray1953; + is_317_ = aClass139_5572.aShortArray1951; + is_316_ = aClass139_5572.aByteArray1948; + } + float f = aHa_Sub2_5598.aFloatArray7825[0]; + float f_319_ = aHa_Sub2_5598.aFloatArray7825[1]; + float f_320_ = aHa_Sub2_5598.aFloatArray7825[2]; + float f_321_ = aHa_Sub2_5598.aFloat7768; + float f_322_ = (aHa_Sub2_5598.aFloat7832 * 768.0F / (float) aShort5645); + float f_323_ = (aHa_Sub2_5598.aFloat7871 * 768.0F / (float) aShort5645); + for (int i_324_ = 0; anInt5632 > i_324_; i_324_++) { + int i_325_ = method680(19995, aShort5544, aByteArray5542[i_324_], aShortArray5601[i_324_], aShortArray5580[i_324_]); + float f_326_ = (aHa_Sub2_5598.aFloat7781 * (float) (i_325_ >>> 24)); + float f_327_ = ((float) (0xff & i_325_ >> 8) * aHa_Sub2_5598.aFloat7823); + float f_328_ = ((float) ((0xff88e4 & i_325_) >> 16) * aHa_Sub2_5598.aFloat7816); + int i_329_ = aShortArray5592[i_324_]; + short i_330_ = is_316_[i_329_]; + float f_331_; + if (i_330_ != 0) f_331_ = ((f_319_ * (float) is_317_[i_329_] + f * (float) is_318_[i_329_] + f_320_ * (float) is[i_329_]) / (float) (256 * i_330_)); + else f_331_ = (0.0026041667F * ((float) is[i_329_] * f_320_ + (f * (float) is_318_[i_329_] + ((float) is_317_[i_329_] * f_319_)))); + float f_332_ = f_321_ + f_331_ * (!(f_331_ < 0.0F) ? f_322_ : f_323_); + int i_333_ = (int) (f_332_ * f_326_); + int i_334_ = (int) (f_332_ * f_328_); + if (i_333_ >= 0) { + if (i_333_ > 255) i_333_ = 255; + } else i_333_ = 0; + int i_335_ = (int) (f_332_ * f_327_); + if (i_334_ >= 0) { + if (i_334_ > 255) i_334_ = 255; + } else i_334_ = 0; + class348_sub49_sub1.offset = i_329_ * i_295_ + i_297_; + if (i_335_ < 0) i_335_ = 0; + else if (i_335_ > 255) i_335_ = 255; + class348_sub49_sub1.writeByte(false, i_333_); + class348_sub49_sub1.writeByte(false, i_334_); + class348_sub49_sub1.writeByte(false, i_335_); + class348_sub49_sub1.writeByte(false, (255 + -((aByteArray5542[i_324_]) & 0xff))); + i_329_ = aShortArray5579[i_324_]; + i_330_ = is_316_[i_329_]; + if (i_330_ != 0) f_331_ = (((float) is[i_329_] * f_320_ + (f * (float) is_318_[i_329_] + (float) is_317_[i_329_] * f_319_)) / (float) (i_330_ * 256)); + else f_331_ = ((f * (float) is_318_[i_329_] + (float) is_317_[i_329_] * f_319_ + f_320_ * (float) is[i_329_]) * 0.0026041667F); + f_332_ = f_321_ + f_331_ * (f_331_ < 0.0F ? f_323_ : f_322_); + i_333_ = (int) (f_326_ * f_332_); + i_334_ = (int) (f_332_ * f_328_); + if (i_333_ < 0) i_333_ = 0; + else if (i_333_ > 255) i_333_ = 255; + if (i_334_ < 0) i_334_ = 0; + else if (i_334_ > 255) i_334_ = 255; + i_335_ = (int) (f_332_ * f_327_); + class348_sub49_sub1.offset = i_297_ - -(i_329_ * i_295_); + if (i_335_ < 0) i_335_ = 0; + else if (i_335_ > 255) i_335_ = 255; + class348_sub49_sub1.writeByte(false, i_333_); + class348_sub49_sub1.writeByte(false, i_334_); + class348_sub49_sub1.writeByte(false, i_335_); + class348_sub49_sub1.writeByte(false, 255 - (aByteArray5542[i_324_] & 0xff)); + i_329_ = aShortArray5566[i_324_]; + i_330_ = is_316_[i_329_]; + if (i_330_ != 0) f_331_ = (((float) is[i_329_] * f_320_ + ((float) is_317_[i_329_] * f_319_ + (float) is_318_[i_329_] * f)) / (float) (256 * i_330_)); + else f_331_ = (0.0026041667F * ((float) is[i_329_] * f_320_ + ((float) is_317_[i_329_] * f_319_ + f * (float) is_318_[i_329_]))); + f_332_ = f_321_ + (!(f_331_ < 0.0F) ? f_322_ : f_323_) * f_331_; + i_333_ = (int) (f_332_ * f_326_); + i_334_ = (int) (f_332_ * f_328_); + if (i_333_ >= 0) { + if (i_333_ > 255) i_333_ = 255; + } else i_333_ = 0; + if (i_334_ >= 0) { + if (i_334_ > 255) i_334_ = 255; + } else i_334_ = 0; + i_335_ = (int) (f_327_ * f_332_); + if (i_335_ >= 0) { + if (i_335_ > 255) i_335_ = 255; + } else i_335_ = 0; + class348_sub49_sub1.offset = i_295_ * i_329_ + i_297_; + class348_sub49_sub1.writeByte(false, i_333_); + class348_sub49_sub1.writeByte(false, i_334_); + class348_sub49_sub1.writeByte(false, i_335_); + class348_sub49_sub1.writeByte(false, (-(0xff & (aByteArray5542[i_324_])) + 255)); + } + } else { + for (int i_336_ = 0; i_336_ < anInt5632; i_336_++) { + int i_337_ = method680(i + 19990, aShort5544, aByteArray5542[i_336_], aShortArray5601[i_336_], aShortArray5580[i_336_]); + class348_sub49_sub1.offset = i_297_ + aShortArray5592[i_336_] * i_295_; + class348_sub49_sub1.writeInt((byte) 105, i_337_); + class348_sub49_sub1.offset = i_297_ - -(aShortArray5579[i_336_] * i_295_); + class348_sub49_sub1.writeInt((byte) 87, i_337_); + class348_sub49_sub1.offset = i_297_ - -(i_295_ * aShortArray5566[i_336_]); + class348_sub49_sub1.writeInt((byte) 120, i_337_); + } + } + } + if (bool_292_) { + byte[] is; + short[] is_338_; + short[] is_339_; + short[] is_340_; + if (aClass139_5572 == null) { + is_340_ = aShortArray5564; + is_338_ = aShortArray5583; + is = aByteArray5594; + is_339_ = aShortArray5576; + } else { + is = aClass139_5572.aByteArray1948; + is_338_ = aClass139_5572.aShortArray1951; + is_339_ = aClass139_5572.aShortArray1953; + is_340_ = aClass139_5572.aShortArray1954; + } + float f = 3.0F / (float) aShort5645; + class348_sub49_sub1.offset = i_298_; + float f_341_ = 3.0F / (float) (aShort5645 / 2 + aShort5645); + if (aHa_Sub2_5598.aBoolean7775) { + for (int i_345_ = 0; anInt5529 > i_345_; i_345_++) { + int i_346_ = is[i_345_] & 0xff; + if (i_346_ == 0) { + class348_sub49_sub1.method3400(f_341_ * (float) is_340_[i_345_], (byte) -96); + class348_sub49_sub1.method3400((float) is_338_[i_345_] * f_341_, (byte) -101); + class348_sub49_sub1.method3400(f_341_ * (float) is_339_[i_345_], (byte) -95); + } else { + float f_347_ = f / (float) i_346_; + class348_sub49_sub1.method3400((float) is_340_[i_345_] * f_347_, (byte) -102); + class348_sub49_sub1.method3400(f_347_ * (float) is_338_[i_345_], (byte) -127); + class348_sub49_sub1.method3400((float) is_339_[i_345_] * f_347_, (byte) -84); + } + class348_sub49_sub1.offset += -12 + i_295_; + } + } else { + for (int i_342_ = 0; i_342_ < anInt5529; i_342_++) { + int i_343_ = 0xff & is[i_342_]; + if (i_343_ == 0) { + class348_sub49_sub1.method3399(18291, (float) is_340_[i_342_] * f_341_); + class348_sub49_sub1.method3399(18291, (float) is_338_[i_342_] * f_341_); + class348_sub49_sub1.method3399(i + 18286, f_341_ * (float) is_339_[i_342_]); + } else { + float f_344_ = f / (float) i_343_; + class348_sub49_sub1.method3399(i ^ 0x4776, (float) is_340_[i_342_] * f_344_); + class348_sub49_sub1.method3399(18291, f_344_ * (float) is_338_[i_342_]); + class348_sub49_sub1.method3399(18291, f_344_ * (float) is_339_[i_342_]); + } + class348_sub49_sub1.offset += -12 + i_295_; + } + } + } + if (bool_294_) { + class348_sub49_sub1.offset = i_299_; + if (aHa_Sub2_5598.aBoolean7775) { + for (int i_348_ = 0; i_348_ < anInt5529; i_348_++) { + class348_sub49_sub1.method3400((aFloatArray5552[i_348_]), (byte) -127); + class348_sub49_sub1.method3400((aFloatArray5571[i_348_]), (byte) -126); + class348_sub49_sub1.offset += i_295_ + -8; + } + } else { + for (int i_349_ = 0; i_349_ < anInt5529; i_349_++) { + class348_sub49_sub1.method3399(i ^ 0x4776, (aFloatArray5552[i_349_])); + class348_sub49_sub1.method3399(18291, aFloatArray5571[i_349_]); + class348_sub49_sub1.offset += -8 + i_295_; + } + } + } + class348_sub49_sub1.offset = anInt5529 * i_295_; + Interface2 interface2; + if (bool) { + if (anInterface2_5554 != null) anInterface2_5554.method11(i_295_, class348_sub49_sub1.offset, (class348_sub49_sub1.payload), -9894); + else anInterface2_5554 = aHa_Sub2_5598.method3731(2, true, i_295_, (class348_sub49_sub1.payload), (class348_sub49_sub1.offset)); + interface2 = anInterface2_5554; + aByte5581 = (byte) 0; + } else { + interface2 = aHa_Sub2_5598.method3731(2, false, i_295_, (class348_sub49_sub1.payload), (class348_sub49_sub1.offset)); + aBoolean5555 = true; + } + if (bool_293_) { + aClass123_5605.aByte1812 = i_296_; + aClass123_5605.anInterface2_1811 = interface2; + } + if (bool_294_) { + aClass123_5620.aByte1812 = i_299_; + aClass123_5620.anInterface2_1811 = interface2; + } + if (bool_291_) { + aClass123_5610.aByte1812 = i_297_; + aClass123_5610.anInterface2_1811 = interface2; + } + if (bool_292_) { + aClass123_5563.aByte1812 = i_298_; + aClass123_5563.anInterface2_1811 = interface2; + } + } + } + } + + final void method615(DisplayModeManagerContainer204 class101, RenderableSub3 class318_sub3, int i) { + try { + anInt5611++; + if (anInt5529 != 0) { + MatrixSub3 class101_sub3 = aHa_Sub2_5598.aClass101_Sub3_7760; + if (!aBoolean5527) method692((byte) -123); + MatrixSub3 class101_sub3_350_ = (MatrixSub3) class101; + Component233.aFloat3994 = ((class101_sub3_350_.aFloat5754 * class101_sub3.aFloat5784) + ((class101_sub3_350_.aFloat5750 * class101_sub3.aFloat5756) + (class101_sub3_350_.aFloat5769 * class101_sub3.aFloat5754))); + Component297.aFloat4720 = (class101_sub3.aFloat5751 + ((class101_sub3.aFloat5756 * class101_sub3_350_.aFloat5747) + (class101_sub3_350_.aFloat5772 * class101_sub3.aFloat5754) + (class101_sub3_350_.aFloat5751 * class101_sub3.aFloat5784))); + float f = (Component297.aFloat4720 + Component233.aFloat3994 * (float) aShort5591); + float f_351_ = (Component233.aFloat3994 * (float) aShort5629 + Component297.aFloat4720); + float f_352_; + float f_353_; + if (f > f_351_) { + f_352_ = f_351_ - (float) aShort5634; + f_353_ = f + (float) aShort5634; + } else { + f_352_ = (float) -aShort5634 + f; + f_353_ = f_351_ + (float) aShort5634; + } + if (!(aHa_Sub2_5598.aFloat7874 <= f_352_) && !((float) aHa_Sub2_5598.anInt7826 >= f_353_)) { + Component100.aFloat8696 = ((class101_sub3.aFloat5750 * class101_sub3_350_.aFloat5769) + (class101_sub3_350_.aFloat5750 * class101_sub3.aFloat5770) + (class101_sub3.aFloat5781 * (class101_sub3_350_.aFloat5754))); + DisplayModeManagerContainer56.aFloat2555 = (class101_sub3.aFloat5747 + ((class101_sub3.aFloat5781 * (class101_sub3_350_.aFloat5751)) + ((class101_sub3.aFloat5770 * (class101_sub3_350_.aFloat5747)) + ((class101_sub3_350_.aFloat5772) * (class101_sub3.aFloat5750))))); + float f_354_ = ((float) aShort5591 * Component100.aFloat8696 + DisplayModeManagerContainer56.aFloat2555); + float f_355_ = ((float) aShort5629 * Component100.aFloat8696 + DisplayModeManagerContainer56.aFloat2555); + float f_356_; + float f_357_; + if (f_354_ > f_355_) { + f_356_ = ((float) aHa_Sub2_5598.anInt7771 * ((float) -aShort5634 + f_355_)); + f_357_ = ((float) aHa_Sub2_5598.anInt7771 * ((float) aShort5634 + f_354_)); + } else { + f_357_ = ((float) aHa_Sub2_5598.anInt7771 * (f_355_ + (float) aShort5634)); + f_356_ = (((float) -aShort5634 + f_354_) * (float) aHa_Sub2_5598.anInt7771); + } + if (!(aHa_Sub2_5598.aFloat7835 <= f_356_ / f_353_) && !(f_357_ / f_353_ <= aHa_Sub2_5598.aFloat7872)) { + ClientErrorReporter.aFloat2111 = ((class101_sub3_350_.aFloat5772 * class101_sub3.aFloat5769) + ((class101_sub3_350_.aFloat5747) * class101_sub3.aFloat5761) + (class101_sub3.aFloat5762 * (class101_sub3_350_.aFloat5751)) + class101_sub3.aFloat5772); + Component278.aFloat3242 = ((class101_sub3.aFloat5761 * (class101_sub3_350_.aFloat5750)) + (class101_sub3.aFloat5769 * (class101_sub3_350_.aFloat5769)) + (class101_sub3.aFloat5762 * (class101_sub3_350_.aFloat5754))); + float f_358_ = (ClientErrorReporter.aFloat2111 + Component278.aFloat3242 * (float) aShort5591); + float f_359_ = (ClientErrorReporter.aFloat2111 + (float) aShort5629 * Component278.aFloat3242); + float f_360_; + float f_361_; + if (f_358_ > f_359_) { + f_360_ = (((float) aShort5634 + f_358_) * (float) (aHa_Sub2_5598.anInt7794)); + f_361_ = ((float) aHa_Sub2_5598.anInt7794 * (f_359_ - (float) aShort5634)); + } else { + f_360_ = (((float) aShort5634 + f_359_) * (float) (aHa_Sub2_5598.anInt7794)); + f_361_ = ((float) aHa_Sub2_5598.anInt7794 * (f_358_ - (float) aShort5634)); + } + if (!(f_361_ / f_353_ >= aHa_Sub2_5598.aFloat7830) && !(aHa_Sub2_5598.aFloat7836 >= f_360_ / f_353_)) { + if (class318_sub3 != null || aClass118Array5621 != null) { + CookieManager.aFloat6304 = (((class101_sub3_350_.aFloat5762) * (class101_sub3.aFloat5754)) + ((class101_sub3_350_.aFloat5781) * (class101_sub3.aFloat5756)) + ((class101_sub3_350_.aFloat5784) * (class101_sub3.aFloat5784))); + FriendLoginMessage.aFloat8784 = (((class101_sub3.aFloat5784) * (class101_sub3_350_.aFloat5756)) + ((class101_sub3_350_.aFloat5770 * (class101_sub3.aFloat5756)) + ((class101_sub3.aFloat5754) * (class101_sub3_350_.aFloat5761)))); + Component55.aFloat3935 = (((class101_sub3.aFloat5781) * (class101_sub3_350_.aFloat5784)) + ((class101_sub3_350_.aFloat5762 * (class101_sub3.aFloat5750)) + (class101_sub3_350_.aFloat5781 * (class101_sub3.aFloat5770)))); + Component112.aFloat3943 = (((class101_sub3.aFloat5761) * (class101_sub3_350_.aFloat5770)) + ((class101_sub3_350_.aFloat5761) * (class101_sub3.aFloat5769)) + ((class101_sub3_350_.aFloat5756) * (class101_sub3.aFloat5762))); + Component385.aFloat2203 = (((class101_sub3_350_.aFloat5761) * (class101_sub3.aFloat5750)) + ((class101_sub3.aFloat5770) * class101_sub3_350_.aFloat5770) + ((class101_sub3.aFloat5781) * class101_sub3_350_.aFloat5756)); + ScreenModeManager.aFloat2836 = (((class101_sub3_350_.aFloat5784) * (class101_sub3.aFloat5762)) + (((class101_sub3.aFloat5769) * class101_sub3_350_.aFloat5762) + ((class101_sub3.aFloat5761) * (class101_sub3_350_.aFloat5781)))); + } + if (class318_sub3 != null) { + boolean bool = false; + boolean bool_362_ = true; + int i_363_ = aShort5540 - -aShort5586 >> 1; + int i_364_ = aShort5617 - -aShort5646 >> 1; + int i_365_ = (int) (((float) i_364_ * Component55.aFloat3935) + ((Component385.aFloat2203 * (float) i_363_) + DisplayModeManagerContainer56.aFloat2555 + ((float) aShort5591 * (Component100.aFloat8696)))); + int i_366_ = (int) (ClientErrorReporter.aFloat2111 + ((float) i_363_ * Component112.aFloat3943) + ((float) aShort5591 * Component278.aFloat3242) + ((float) i_364_ * ScreenModeManager.aFloat2836)); + int i_367_ = (int) ((FriendLoginMessage.aFloat8784 * (float) i_363_) + Component297.aFloat4720 + (Component233.aFloat3994 * (float) aShort5591) + (CookieManager.aFloat6304 * (float) i_364_)); + if (aHa_Sub2_5598.anInt7826 <= i_367_) { + class318_sub3.anInt6405 = (i_365_ * (aHa_Sub2_5598.anInt7771) / i_367_ + (aHa_Sub2_5598.anInt7853)); + class318_sub3.anInt6402 = (i_366_ * (aHa_Sub2_5598.anInt7794) / i_367_ + (aHa_Sub2_5598.anInt7810)); + } else bool = true; + int i_368_ = (int) (DisplayModeManagerContainer56.aFloat2555 + (Component385.aFloat2203 * (float) i_363_) + (Component100.aFloat8696 * (float) aShort5629) + (Component55.aFloat3935 * (float) i_364_)); + int i_369_ = (int) (((float) i_364_ * ScreenModeManager.aFloat2836) + ((Component278.aFloat3242 * (float) aShort5629) + (ClientErrorReporter.aFloat2111 + (Component112.aFloat3943 * (float) i_363_)))); + int i_370_ = (int) ((CookieManager.aFloat6304 * (float) i_364_) + (((float) i_363_ * (FriendLoginMessage.aFloat8784)) + Component297.aFloat4720 + ((float) aShort5629 * Component233.aFloat3994))); + if (i_370_ >= aHa_Sub2_5598.anInt7826) { + class318_sub3.anInt6406 = (i_368_ * (aHa_Sub2_5598.anInt7771) / i_370_ + (aHa_Sub2_5598.anInt7853)); + class318_sub3.anInt6404 = (i_369_ * (aHa_Sub2_5598.anInt7794) / i_370_ + (aHa_Sub2_5598.anInt7810)); + } else bool = true; + if (bool) { + if ((aHa_Sub2_5598.anInt7826 <= i_367_) || ((aHa_Sub2_5598.anInt7826) <= i_370_)) { + if (i_367_ < (aHa_Sub2_5598.anInt7826)) { + int i_371_ = ((-(aHa_Sub2_5598.anInt7826) + i_370_ << 16) / (i_370_ + -i_367_)); + int i_372_ = (((-i_365_ + i_368_) * i_371_ >> 16) + i_368_); + class318_sub3.anInt6405 = ((aHa_Sub2_5598.anInt7853) - -(i_372_ * (aHa_Sub2_5598.anInt7771) / (aHa_Sub2_5598.anInt7826))); + int i_373_ = ((i_371_ * (i_369_ - i_366_) >> 16) + i_369_); + class318_sub3.anInt6402 = ((i_373_ * aHa_Sub2_5598.anInt7794 / (aHa_Sub2_5598.anInt7826)) + (aHa_Sub2_5598.anInt7810)); + } else if (i_370_ < (aHa_Sub2_5598.anInt7826)) { + int i_374_ = ((-(aHa_Sub2_5598.anInt7826) + i_367_ << 16) / (i_367_ - i_370_)); + int i_375_ = (i_365_ - -(i_374_ * (-i_368_ + i_365_) >> 16)); + int i_376_ = (((i_366_ - i_369_) * i_374_ >> 16) + i_366_); + class318_sub3.anInt6405 = ((i_375_ * aHa_Sub2_5598.anInt7771 / (aHa_Sub2_5598.anInt7826)) + (aHa_Sub2_5598.anInt7853)); + class318_sub3.anInt6402 = ((aHa_Sub2_5598.anInt7810) + (aHa_Sub2_5598.anInt7794 * i_376_ / (aHa_Sub2_5598.anInt7826))); + } + } else bool_362_ = false; + } + if (bool_362_) { + if (i_370_ < i_367_) class318_sub3.anInt6403 = ((aHa_Sub2_5598.anInt7853) + ((aHa_Sub2_5598.anInt7771) * (i_365_ - -aShort5634) / i_367_) - class318_sub3.anInt6405); + else class318_sub3.anInt6403 = ((aHa_Sub2_5598.anInt7853) - -((aHa_Sub2_5598.anInt7771) * (aShort5634 + i_368_) / i_370_) + -class318_sub3.anInt6406); + class318_sub3.aBoolean6401 = true; + } + } + aHa_Sub2_5598.method3784((byte) -62); + aHa_Sub2_5598.method3758(false, class101_sub3_350_); + method677((byte) 127); + aHa_Sub2_5598.method3734(true); + method682(true); + } + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("paa.KA(" + (class101 != null ? "{...}" : "null") + ',' + (class318_sub3 != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + final int WA() { + anInt5545++; + return aShort5544; + } + + static final void method689(byte i, int i_377_) { + Component377.anInt859 = -1; + Component283.anInt4609 = -1; + if (i != -59) anInt5584 = 77; + anInt5577++; + NodeSub36.anInt6992 = i_377_; + ColorTagNode.method2811(false); + } + + static final void method690(byte i, int i_378_) { + anInt5565++; + ColorTagNode class348_sub15 = ((ColorTagNode) DisplayModeManagerContainer91.aClass356_389.get(i_378_, -6008)); + int i_379_ = -8 % ((i - -49) / 44); + if (class348_sub15 != null) { + class348_sub15.aClass55_Sub1_6768.method508(1); + DisplayModeManagerContainer165.method2285(class348_sub15.aBoolean6776, (byte) -114, class348_sub15.anInt6773); + class348_sub15.unlink((byte) 52); + } + } + + private final void method691(byte i) { + anInt5531++; + if (aBoolean5555) { + aBoolean5555 = false; + if (aClass129Array5640 == null && aClass342Array5541 == null && aClass118Array5621 == null) { + if (anIntArray5543 != null && !Component244.method2659((byte) 123, anInt5648, anInt5556)) { + if (aClass123_5605 == null || (aClass123_5605.anInterface2_1811 != null)) { + if (!aBoolean5527) method692((byte) -123); + anIntArray5543 = null; + } else aBoolean5555 = true; + } + if (anIntArray5593 != null && !BufferCacheSub2.method3999(anInt5556, anInt5648, 458752)) { + if (aClass123_5605 != null && (aClass123_5605.anInterface2_1811 == null)) aBoolean5555 = true; + else { + if (!aBoolean5527) method692((byte) -123); + anIntArray5593 = null; + } + } + if (anIntArray5644 != null && !Component62.method1221(-3157, anInt5648, anInt5556)) { + if (aClass123_5605 == null || (aClass123_5605.anInterface2_1811 != null)) { + if (!aBoolean5527) method692((byte) -123); + anIntArray5644 = null; + } else aBoolean5555 = true; + } + } + if (aShortArray5649 != null && anIntArray5543 == null && anIntArray5593 == null && anIntArray5644 == null) { + aShortArray5649 = null; + anIntArray5528 = null; + } + if (aByteArray5594 != null && !SpriteSub1.method989(anInt5648, -385, anInt5556)) { + if (aClass123_5563 == null) { + if (aClass123_5610 == null || (aClass123_5610.anInterface2_1811 != null)) { + aByteArray5594 = null; + aShortArray5564 = aShortArray5583 = aShortArray5576 = null; + } else aBoolean5555 = true; + } else if (aClass123_5563.anInterface2_1811 == null) aBoolean5555 = true; + else { + aByteArray5594 = null; + aShortArray5564 = aShortArray5583 = aShortArray5576 = null; + } + } + if (aShortArray5580 != null && !Component168.method2358(-116, anInt5648, anInt5556)) { + if (aClass123_5610 == null || aClass123_5610.anInterface2_1811 != null) aShortArray5580 = null; + else aBoolean5555 = true; + } + if (aByteArray5542 != null && !Component188.method1846(anInt5556, anInt5648, 74)) { + if (aClass123_5610 == null || aClass123_5610.anInterface2_1811 != null) aByteArray5542 = null; + else aBoolean5555 = true; + } + if (aFloatArray5552 != null && !Component122.method877(anInt5648, anInt5556, (byte) -127)) { + if (aClass123_5620 != null && aClass123_5620.anInterface2_1811 == null) aBoolean5555 = true; + else aFloatArray5552 = aFloatArray5571 = null; + } + int i_380_ = -117 / ((69 - i) / 41); + if (aShortArray5601 != null && !DefinitionSub19.method3100(anInt5556, false, anInt5648)) { + if (aClass123_5610 != null && aClass123_5610.anInterface2_1811 == null) aBoolean5555 = true; + else aShortArray5601 = null; + } + if (aShortArray5592 != null && !Component325.method724(anInt5648, anInt5556, 393216)) { + if ((aClass270_5575 != null && aClass270_5575.anInterface8_3463 == null) || aClass123_5610 != null && (aClass123_5610.anInterface2_1811) == null) aBoolean5555 = true; + else aShortArray5592 = aShortArray5579 = aShortArray5566 = null; + } + if (anIntArrayArray5553 != null && !DisplayModeManagerContainer172.method371(anInt5648, 256, anInt5556)) { + aShortArray5573 = null; + anIntArrayArray5553 = null; + } + if (anIntArrayArray5539 != null && !Component37.method2332(anInt5556, (byte) 124, anInt5648)) { + anIntArrayArray5539 = null; + aShortArray5608 = null; + } + if (anIntArrayArray5627 != null && !Component267.method1633(false, anInt5648, anInt5556)) anIntArrayArray5627 = null; + if (anIntArray5626 != null && (anInt5648 & 0x800) == 0 && (anInt5648 & 0x40000) == 0) anIntArray5626 = null; + } + } + + final void method621() { + anInt5606++; + } + + final void ia(short i, short i_381_) { + anInt5603++; + for (int i_382_ = 0; anInt5632 > i_382_; i_382_++) { + if (i == aShortArray5580[i_382_]) aShortArray5580[i_382_] = i_381_; + } + if (aClass118Array5621 != null) { + for (int i_383_ = 0; i_383_ < anInt5536; i_383_++) { + Component151 class118 = aClass118Array5621[i_383_]; + Component377 class48 = aClass48Array5596[i_383_]; + class48.anInt858 = ((RunescapeInfo.anIntArray179[(aShortArray5580[class118.anInt1783] & 0xffff)]) & 0xffffff | ~0xffffff & class48.anInt858); + } + } + if (aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; + } + + final Component30[] method619() { + anInt5625++; + return aClass129Array5640; + } + + final DisplayModeManagerContainer173[] method604() { + anInt5569++; + return aClass342Array5541; + } + + final int V() { + anInt5607++; + if (!aBoolean5527) method692((byte) -123); + return aShort5540; + } + + final boolean r() { + anInt5624++; + return aBoolean5638; + } + + final void method620(DisplayModeManagerContainer204 class101) { + do { + try { + anInt5548++; + MatrixSub3 class101_sub3 = (MatrixSub3) class101; + if (aClass129Array5640 != null) { + for (int i = 0; i < aClass129Array5640.length; i++) { + Component30 class129 = aClass129Array5640[i]; + Component30 class129_384_ = class129; + if (class129.aClass129_1888 != null) class129_384_ = class129.aClass129_1888; + class129_384_.anInt1882 = (int) (class101_sub3.aFloat5747 + (((float) (anIntArray5593[(class129.anInt1881)]) * (class101_sub3.aFloat5750)) + ((class101_sub3.aFloat5770) * (float) (anIntArray5543[(class129.anInt1881)])) + ((float) (anIntArray5644[(class129.anInt1881)]) * (class101_sub3.aFloat5781)))); + class129_384_.anInt1891 = (int) (class101_sub3.aFloat5772 + (((float) (anIntArray5593[(class129.anInt1881)]) * (class101_sub3.aFloat5769)) + ((class101_sub3.aFloat5761) * (float) (anIntArray5543[(class129.anInt1881)])) + ((float) (anIntArray5644[(class129.anInt1881)]) * (class101_sub3.aFloat5762)))); + class129_384_.anInt1889 = (int) (class101_sub3.aFloat5751 + (((float) (anIntArray5543[(class129.anInt1881)]) * (class101_sub3.aFloat5756)) + ((class101_sub3.aFloat5754) * (float) (anIntArray5593[(class129.anInt1881)])) + ((float) (anIntArray5644[(class129.anInt1881)]) * (class101_sub3.aFloat5784)))); + class129_384_.anInt1883 = (int) (class101_sub3.aFloat5747 + (((class101_sub3.aFloat5770) * (float) (anIntArray5543[(class129.anInt1877)])) + ((float) (anIntArray5593[(class129.anInt1877)]) * (class101_sub3.aFloat5750)) + ((float) (anIntArray5644[(class129.anInt1877)]) * (class101_sub3.aFloat5781)))); + class129_384_.anInt1890 = (int) (class101_sub3.aFloat5772 + (((class101_sub3.aFloat5762) * (float) (anIntArray5644[(class129.anInt1877)])) + (((float) (anIntArray5543[(class129.anInt1877)]) * (class101_sub3.aFloat5761)) + ((float) (anIntArray5593[(class129.anInt1877)]) * class101_sub3.aFloat5769)))); + class129_384_.anInt1880 = (int) (class101_sub3.aFloat5751 + (((class101_sub3.aFloat5784) * (float) (anIntArray5644[(class129.anInt1877)])) + (((class101_sub3.aFloat5754) * (float) (anIntArray5593[(class129.anInt1877)])) + ((float) (anIntArray5543[(class129.anInt1877)]) * class101_sub3.aFloat5756)))); + class129_384_.anInt1876 = (int) (class101_sub3.aFloat5747 + (((float) (anIntArray5593[(class129.anInt1892)]) * (class101_sub3.aFloat5750)) + ((float) (anIntArray5543[(class129.anInt1892)]) * (class101_sub3.aFloat5770)) + ((class101_sub3.aFloat5781) * (float) (anIntArray5644[(class129.anInt1892)])))); + class129_384_.anInt1874 = (int) (class101_sub3.aFloat5772 + (((float) (anIntArray5644[(class129.anInt1892)]) * (class101_sub3.aFloat5762)) + (((class101_sub3.aFloat5761) * (float) (anIntArray5543[(class129.anInt1892)])) + ((class101_sub3.aFloat5769) * (float) (anIntArray5593[(class129.anInt1892)]))))); + class129_384_.anInt1884 = (int) (((class101_sub3.aFloat5754) * (float) (anIntArray5593[(class129.anInt1892)])) + ((class101_sub3.aFloat5756) * (float) (anIntArray5543[(class129.anInt1892)])) + ((float) (anIntArray5644[(class129.anInt1892)]) * (class101_sub3.aFloat5784)) + (class101_sub3.aFloat5751)); + } + } + if (aClass342Array5541 == null) break; + for (int i = 0; aClass342Array5541.length > i; i++) { + DisplayModeManagerContainer173 class342 = aClass342Array5541[i]; + DisplayModeManagerContainer173 class342_385_ = class342; + if (class342.aClass342_4248 != null) class342_385_ = class342.aClass342_4248; + if (class342.aClass101_4252 == null) class342.aClass101_4252 = class101_sub3.method907(); + else class342.aClass101_4252.method898(class101_sub3); + class342_385_.anInt4238 = (int) (class101_sub3.aFloat5747 + (((float) (anIntArray5644[(class342.anInt4244)]) * (class101_sub3.aFloat5781)) + (((float) (anIntArray5543[(class342.anInt4244)]) * (class101_sub3.aFloat5770)) + ((class101_sub3.aFloat5750) * (float) (anIntArray5593[(class342.anInt4244)]))))); + class342_385_.anInt4239 = (int) (class101_sub3.aFloat5772 + (((float) (anIntArray5593[(class342.anInt4244)]) * (class101_sub3.aFloat5769)) + ((class101_sub3.aFloat5761) * (float) (anIntArray5543[(class342.anInt4244)])) + ((float) (anIntArray5644[(class342.anInt4244)]) * (class101_sub3.aFloat5762)))); + class342_385_.anInt4240 = (int) (class101_sub3.aFloat5751 + (((float) (anIntArray5644[(class342.anInt4244)]) * (class101_sub3.aFloat5784)) + (((float) (anIntArray5543[(class342.anInt4244)]) * (class101_sub3.aFloat5756)) + ((float) (anIntArray5593[(class342.anInt4244)]) * (class101_sub3.aFloat5754))))); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "paa.J(" + (class101 != null ? "{...}" : "null") + ')'); + } + break; + } while (false); + } + + final int ma() { + if (!aBoolean5527) method692((byte) -123); + anInt5546++; + return aShort5559; + } + + final void method605(int i, int[] is, int i_386_, int i_387_, int i_388_, int i_389_, boolean bool) { + try { + anInt5614++; + int i_390_ = is.length; + if (i == 0) { + i_388_ <<= 4; + i_387_ <<= 4; + i_386_ <<= 4; + Component113.anInt2398 = 0; + int i_391_ = 0; + Component85.anInt2880 = 0; + NodeBase.anInt7275 = 0; + for (int i_392_ = 0; i_392_ < i_390_; i_392_++) { + int i_393_ = is[i_392_]; + if (i_393_ < anIntArrayArray5539.length) { + int[] is_394_ = anIntArrayArray5539[i_393_]; + for (int i_395_ = 0; (i_395_ < is_394_.length); i_395_++) { + int i_396_ = is_394_[i_395_]; + NodeBase.anInt7275 += anIntArray5543[i_396_]; + Component85.anInt2880 += anIntArray5593[i_396_]; + i_391_++; + Component113.anInt2398 += anIntArray5644[i_396_]; + } + } + } + if (i_391_ <= 0) { + Component85.anInt2880 = i_387_; + Component113.anInt2398 = i_388_; + NodeBase.anInt7275 = i_386_; + } else { + Component85.anInt2880 = i_387_ + Component85.anInt2880 / i_391_; + NodeBase.anInt7275 = NodeBase.anInt7275 / i_391_ + i_386_; + Component113.anInt2398 = i_388_ + Component113.anInt2398 / i_391_; + } + } else if (i == 1) { + i_386_ <<= 4; + i_387_ <<= 4; + i_388_ <<= 4; + for (int i_397_ = 0; i_390_ > i_397_; i_397_++) { + int i_398_ = is[i_397_]; + if (i_398_ < anIntArrayArray5539.length) { + int[] is_399_ = anIntArrayArray5539[i_398_]; + for (int i_400_ = 0; i_400_ < is_399_.length; i_400_++) { + int i_401_ = is_399_[i_400_]; + anIntArray5543[i_401_] += i_386_; + anIntArray5593[i_401_] += i_387_; + anIntArray5644[i_401_] += i_388_; + } + } + } + } else if (i == 2) { + for (int i_402_ = 0; i_390_ > i_402_; i_402_++) { + int i_403_ = is[i_402_]; + if (anIntArrayArray5539.length > i_403_) { + int[] is_404_ = anIntArrayArray5539[i_403_]; + if ((0x1 & i_389_) == 0) { + for (int i_416_ = 0; (is_404_.length > i_416_); i_416_++) { + int i_417_ = is_404_[i_416_]; + anIntArray5543[i_417_] -= NodeBase.anInt7275; + anIntArray5593[i_417_] -= Component85.anInt2880; + anIntArray5644[i_417_] -= Component113.anInt2398; + if (i_388_ != 0) { + int i_418_ = DisplayModeManagerContainer88.anIntArray1207[i_388_]; + int i_419_ = DisplayModeManagerContainer88.anIntArray1204[i_388_]; + int i_420_ = ((anIntArray5543[i_417_] * i_419_ + i_418_ * anIntArray5593[i_417_] - -16383) >> 14); + anIntArray5593[i_417_] = (anIntArray5593[i_417_] * i_419_ + -(i_418_ * anIntArray5543[i_417_]) - -16383) >> 14; + anIntArray5543[i_417_] = i_420_; + } + if (i_386_ != 0) { + int i_421_ = DisplayModeManagerContainer88.anIntArray1207[i_386_]; + int i_422_ = DisplayModeManagerContainer88.anIntArray1204[i_386_]; + int i_423_ = ((-(anIntArray5644[i_417_] * i_421_) + (i_422_ * anIntArray5593[i_417_] + 16383)) >> 14); + anIntArray5644[i_417_] = ((16383 + i_422_ * anIntArray5644[i_417_] + i_421_ * anIntArray5593[i_417_]) >> 14); + anIntArray5593[i_417_] = i_423_; + } + if (i_387_ != 0) { + int i_424_ = DisplayModeManagerContainer88.anIntArray1207[i_387_]; + int i_425_ = DisplayModeManagerContainer88.anIntArray1204[i_387_]; + int i_426_ = (i_424_ * anIntArray5644[i_417_] - -(i_425_ * anIntArray5543[i_417_]) + 16383) >> 14; + anIntArray5644[i_417_] = (16383 + (anIntArray5644[i_417_] * i_425_ - (anIntArray5543[i_417_] * i_424_))) >> 14; + anIntArray5543[i_417_] = i_426_; + } + anIntArray5543[i_417_] += NodeBase.anInt7275; + anIntArray5593[i_417_] += Component85.anInt2880; + anIntArray5644[i_417_] += Component113.anInt2398; + } + } else { + for (int i_405_ = 0; is_404_.length > i_405_; i_405_++) { + int i_406_ = is_404_[i_405_]; + anIntArray5543[i_406_] -= NodeBase.anInt7275; + anIntArray5593[i_406_] -= Component85.anInt2880; + anIntArray5644[i_406_] -= Component113.anInt2398; + if (i_386_ != 0) { + int i_407_ = DisplayModeManagerContainer88.anIntArray1207[i_386_]; + int i_408_ = DisplayModeManagerContainer88.anIntArray1204[i_386_]; + int i_409_ = ((16383 + (i_408_ * anIntArray5593[i_406_] + -(anIntArray5644[i_406_] * i_407_))) >> 14); + anIntArray5644[i_406_] = ((16383 + (anIntArray5593[i_406_] * i_407_ - -(i_408_ * anIntArray5644[i_406_]))) >> 14); + anIntArray5593[i_406_] = i_409_; + } + if (i_388_ != 0) { + int i_410_ = DisplayModeManagerContainer88.anIntArray1207[i_388_]; + int i_411_ = DisplayModeManagerContainer88.anIntArray1204[i_388_]; + int i_412_ = ((16383 + (anIntArray5543[i_406_] * i_411_ + (i_410_ * anIntArray5593[i_406_]))) >> 14); + anIntArray5593[i_406_] = (-(i_410_ * anIntArray5543[i_406_]) + (anIntArray5593[i_406_] * i_411_ - -16383)) >> 14; + anIntArray5543[i_406_] = i_412_; + } + if (i_387_ != 0) { + int i_413_ = DisplayModeManagerContainer88.anIntArray1207[i_387_]; + int i_414_ = DisplayModeManagerContainer88.anIntArray1204[i_387_]; + int i_415_ = ((i_413_ * anIntArray5644[i_406_] - (-(anIntArray5543[i_406_] * i_414_) - 16383)) >> 14); + anIntArray5644[i_406_] = (anIntArray5644[i_406_] * i_414_ + (-(i_413_ * anIntArray5543[i_406_]) - -16383)) >> 14; + anIntArray5543[i_406_] = i_415_; + } + anIntArray5543[i_406_] += NodeBase.anInt7275; + anIntArray5593[i_406_] += Component85.anInt2880; + anIntArray5644[i_406_] += Component113.anInt2398; + } + } + } + } + if (bool) { + for (int i_427_ = 0; i_427_ < i_390_; i_427_++) { + int i_428_ = is[i_427_]; + if (i_428_ < anIntArrayArray5539.length) { + int[] is_429_ = anIntArrayArray5539[i_428_]; + for (int i_430_ = 0; i_430_ < is_429_.length; i_430_++) { + int i_431_ = is_429_[i_430_]; + int i_432_ = anIntArray5528[i_431_]; + int i_433_ = anIntArray5528[i_431_ - -1]; + for (int i_434_ = i_432_; i_433_ > i_434_; i_434_++) { + int i_435_ = aShortArray5649[i_434_] - 1; + if (i_435_ == -1) break; + if (i_388_ != 0) { + int i_436_ = DisplayModeManagerContainer88.anIntArray1207[i_388_]; + int i_437_ = DisplayModeManagerContainer88.anIntArray1204[i_388_]; + int i_438_ = ((16383 + (i_437_ * aShortArray5564[i_435_]) + (aShortArray5583[i_435_] * i_436_)) >> 14); + aShortArray5583[i_435_] = (short) ((16383 + (i_437_ * (aShortArray5583[i_435_])) + -((aShortArray5564[i_435_]) * i_436_)) >> 14); + aShortArray5564[i_435_] = (short) i_438_; + } + if (i_386_ != 0) { + int i_439_ = DisplayModeManagerContainer88.anIntArray1207[i_386_]; + int i_440_ = DisplayModeManagerContainer88.anIntArray1204[i_386_]; + int i_441_ = (i_440_ * aShortArray5583[i_435_] - ((aShortArray5576[i_435_] * i_439_) + -16383)) >> 14; + aShortArray5576[i_435_] = (short) ((16383 + ((i_440_ * (aShortArray5576[i_435_])) + (i_439_ * (aShortArray5583[i_435_])))) >> 14); + aShortArray5583[i_435_] = (short) i_441_; + } + if (i_387_ != 0) { + int i_442_ = DisplayModeManagerContainer88.anIntArray1207[i_387_]; + int i_443_ = DisplayModeManagerContainer88.anIntArray1204[i_387_]; + int i_444_ = ((16383 + (i_442_ * aShortArray5576[i_435_]) + (aShortArray5564[i_435_] * i_443_)) >> 14); + aShortArray5576[i_435_] = (short) ((16383 + (-((aShortArray5564[i_435_]) * i_442_) + ((aShortArray5576[i_435_]) * i_443_))) >> 14); + aShortArray5564[i_435_] = (short) i_444_; + } + } + } + } + } + if (aClass123_5563 == null && aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; + if (aClass123_5563 != null) aClass123_5563.anInterface2_1811 = null; + } + } else if (i == 3) { + for (int i_445_ = 0; i_445_ < i_390_; i_445_++) { + int i_446_ = is[i_445_]; + if (i_446_ < anIntArrayArray5539.length) { + int[] is_447_ = anIntArrayArray5539[i_446_]; + for (int i_448_ = 0; i_448_ < is_447_.length; i_448_++) { + int i_449_ = is_447_[i_448_]; + anIntArray5543[i_449_] -= NodeBase.anInt7275; + anIntArray5593[i_449_] -= Component85.anInt2880; + anIntArray5644[i_449_] -= Component113.anInt2398; + anIntArray5543[i_449_] = i_386_ * anIntArray5543[i_449_] >> 7; + anIntArray5593[i_449_] = anIntArray5593[i_449_] * i_387_ >> 7; + anIntArray5644[i_449_] = anIntArray5644[i_449_] * i_388_ >> 7; + anIntArray5543[i_449_] += NodeBase.anInt7275; + anIntArray5593[i_449_] += Component85.anInt2880; + anIntArray5644[i_449_] += Component113.anInt2398; + } + } + } + } else if (i == 5) { + if (anIntArrayArray5553 != null) { + for (int i_450_ = 0; i_390_ > i_450_; i_450_++) { + int i_451_ = is[i_450_]; + if (anIntArrayArray5553.length > i_451_) { + int[] is_452_ = anIntArrayArray5553[i_451_]; + for (int i_453_ = 0; i_453_ < is_452_.length; i_453_++) { + int i_454_ = is_452_[i_453_]; + int i_455_ = ((0xff & aByteArray5542[i_454_]) + 8 * i_386_); + if (i_455_ < 0) i_455_ = 0; + else if (i_455_ > 255) i_455_ = 255; + aByteArray5542[i_454_] = (byte) i_455_; + } + if (is_452_.length > 0 && aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; + } + } + if (aClass118Array5621 != null) { + for (int i_456_ = 0; i_456_ < anInt5536; i_456_++) { + Component151 class118 = aClass118Array5621[i_456_]; + Component377 class48 = aClass48Array5596[i_456_]; + class48.anInt858 = (255 + -((aByteArray5542[class118.anInt1783]) & 0xff) << 24 | 0xffffff & class48.anInt858); + } + } + } + } else if (i == 7) { + if (anIntArrayArray5553 != null) { + for (int i_457_ = 0; i_390_ > i_457_; i_457_++) { + int i_458_ = is[i_457_]; + if (i_458_ < anIntArrayArray5553.length) { + int[] is_459_ = anIntArrayArray5553[i_458_]; + for (int i_460_ = 0; i_460_ < is_459_.length; i_460_++) { + int i_461_ = is_459_[i_460_]; + int i_462_ = aShortArray5580[i_461_] & 0xffff; + int i_463_ = (i_462_ & 0xfc8a) >> 10; + int i_464_ = 0x7 & i_462_ >> 7; + i_464_ += i_387_ / 4; + i_463_ = 0x3f & i_463_ + i_386_; + int i_465_ = i_462_ & 0x7f; + i_465_ += i_388_; + if (i_464_ >= 0) { + if (i_464_ > 7) i_464_ = 7; + } else i_464_ = 0; + if (i_465_ < 0) i_465_ = 0; + else if (i_465_ > 127) i_465_ = 127; + aShortArray5580[i_461_] = (short) (Component224.bitwiseOr((Component224.bitwiseOr(i_464_ << 7, i_463_ << 10)), i_465_)); + } + if (is_459_.length > 0 && aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; + } + } + if (aClass118Array5621 != null) { + for (int i_466_ = 0; anInt5536 > i_466_; i_466_++) { + Component151 class118 = aClass118Array5621[i_466_]; + Component377 class48 = aClass48Array5596[i_466_]; + class48.anInt858 = (0xffffff & (RunescapeInfo.anIntArray179[(aShortArray5580[(class118.anInt1783)]) & 0xffff]) | ~0xffffff & class48.anInt858); + } + } + } + } else if (i == 8) { + if (anIntArrayArray5627 != null) { + for (int i_467_ = 0; i_467_ < i_390_; i_467_++) { + int i_468_ = is[i_467_]; + if (i_468_ < anIntArrayArray5627.length) { + int[] is_469_ = anIntArrayArray5627[i_468_]; + for (int i_470_ = 0; i_470_ < is_469_.length; i_470_++) { + Component377 class48 = aClass48Array5596[is_469_[i_470_]]; + class48.anInt854 += i_386_; + class48.anInt847 += i_387_; + } + } + } + } + } else if (i == 10) { + if (anIntArrayArray5627 != null) { + for (int i_471_ = 0; i_471_ < i_390_; i_471_++) { + int i_472_ = is[i_471_]; + if (i_472_ < anIntArrayArray5627.length) { + int[] is_473_ = anIntArrayArray5627[i_472_]; + for (int i_474_ = 0; (i_474_ < is_473_.length); i_474_++) { + Component377 class48 = aClass48Array5596[is_473_[i_474_]]; + class48.anInt856 = (i_386_ * class48.anInt856 >> 7); + class48.anInt857 = (class48.anInt857 * i_387_ >> 7); + } + } + } + } + } else if (i == 9) { + if (anIntArrayArray5627 != null) { + for (int i_475_ = 0; i_475_ < i_390_; i_475_++) { + int i_476_ = is[i_475_]; + if (anIntArrayArray5627.length > i_476_) { + int[] is_477_ = anIntArrayArray5627[i_476_]; + for (int i_478_ = 0; is_477_.length > i_478_; i_478_++) { + Component377 class48 = aClass48Array5596[is_477_[i_478_]]; + class48.anInt853 = (class48.anInt853 + i_386_ & 0x3fff); + } + } + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("paa.BB(" + i + ',' + (is != null ? "{...}" : "null") + ',' + i_386_ + ',' + i_387_ + ',' + i_388_ + ',' + i_389_ + ',' + bool + ')')); + } + } + + final int HA() { + anInt5574++; + if (!aBoolean5527) method692((byte) -123); + return aShort5617; + } + + final int ua() { + anInt5616++; + return anInt5648; + } + + final void P(int i, int i_479_, int i_480_, int i_481_) { + anInt5567++; + if (i == 0) { + NodeBase.anInt7275 = 0; + Component113.anInt2398 = 0; + Component85.anInt2880 = 0; + int i_482_ = 0; + for (int i_483_ = 0; i_483_ < anInt5557; i_483_++) { + NodeBase.anInt7275 += anIntArray5543[i_483_]; + Component85.anInt2880 += anIntArray5593[i_483_]; + i_482_++; + Component113.anInt2398 += anIntArray5644[i_483_]; + } + if (i_482_ <= 0) { + Component85.anInt2880 = i_480_; + Component113.anInt2398 = i_481_; + NodeBase.anInt7275 = i_479_; + } else { + Component85.anInt2880 = Component85.anInt2880 / i_482_ - -i_480_; + NodeBase.anInt7275 = i_479_ + NodeBase.anInt7275 / i_482_; + Component113.anInt2398 = Component113.anInt2398 / i_482_ + i_481_; + } + } else if (i == 1) { + for (int i_484_ = 0; i_484_ < anInt5557; i_484_++) { + anIntArray5543[i_484_] += i_479_; + anIntArray5593[i_484_] += i_480_; + anIntArray5644[i_484_] += i_481_; + } + } else if (i == 2) { + for (int i_485_ = 0; i_485_ < anInt5557; i_485_++) { + anIntArray5543[i_485_] -= NodeBase.anInt7275; + anIntArray5593[i_485_] -= Component85.anInt2880; + anIntArray5644[i_485_] -= Component113.anInt2398; + if (i_481_ != 0) { + int i_486_ = DisplayModeManagerContainer88.anIntArray1207[i_481_]; + int i_487_ = DisplayModeManagerContainer88.anIntArray1204[i_481_]; + int i_488_ = (16383 + (i_487_ * anIntArray5543[i_485_] + anIntArray5593[i_485_] * i_486_) >> 14); + anIntArray5593[i_485_] = ((-(anIntArray5543[i_485_] * i_486_) + anIntArray5593[i_485_] * i_487_ + 16383) >> 14); + anIntArray5543[i_485_] = i_488_; + } + if (i_479_ != 0) { + int i_489_ = DisplayModeManagerContainer88.anIntArray1207[i_479_]; + int i_490_ = DisplayModeManagerContainer88.anIntArray1204[i_479_]; + int i_491_ = ((-(anIntArray5644[i_485_] * i_489_) + i_490_ * anIntArray5593[i_485_] + 16383) >> 14); + anIntArray5644[i_485_] = ((i_489_ * anIntArray5593[i_485_] - (-(i_490_ * anIntArray5644[i_485_]) + -16383)) >> 14); + anIntArray5593[i_485_] = i_491_; + } + if (i_480_ != 0) { + int i_492_ = DisplayModeManagerContainer88.anIntArray1207[i_480_]; + int i_493_ = DisplayModeManagerContainer88.anIntArray1204[i_480_]; + int i_494_ = (16383 + (anIntArray5644[i_485_] * i_492_ - -(i_493_ * anIntArray5543[i_485_])) >> 14); + anIntArray5644[i_485_] = (16383 + (-(anIntArray5543[i_485_] * i_492_) + i_493_ * anIntArray5644[i_485_]) >> 14); + anIntArray5543[i_485_] = i_494_; + } + anIntArray5543[i_485_] += NodeBase.anInt7275; + anIntArray5593[i_485_] += Component85.anInt2880; + anIntArray5644[i_485_] += Component113.anInt2398; + } + } else if (i == 3) { + for (int i_495_ = 0; i_495_ < anInt5557; i_495_++) { + anIntArray5543[i_495_] -= NodeBase.anInt7275; + anIntArray5593[i_495_] -= Component85.anInt2880; + anIntArray5644[i_495_] -= Component113.anInt2398; + anIntArray5543[i_495_] = i_479_ * anIntArray5543[i_495_] / 128; + anIntArray5593[i_495_] = i_480_ * anIntArray5593[i_495_] / 128; + anIntArray5644[i_495_] = anIntArray5644[i_495_] * i_481_ / 128; + anIntArray5543[i_495_] += NodeBase.anInt7275; + anIntArray5593[i_495_] += Component85.anInt2880; + anIntArray5644[i_495_] += Component113.anInt2398; + } + } else if (i == 5) { + for (int i_496_ = 0; i_496_ < anInt5632; i_496_++) { + int i_497_ = (aByteArray5542[i_496_] & 0xff) + i_479_ * 8; + if (i_497_ >= 0) { + if (i_497_ > 255) i_497_ = 255; + } else i_497_ = 0; + aByteArray5542[i_496_] = (byte) i_497_; + } + if (aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; + if (aClass118Array5621 != null) { + for (int i_498_ = 0; i_498_ < anInt5536; i_498_++) { + Component151 class118 = aClass118Array5621[i_498_]; + Component377 class48 = aClass48Array5596[i_498_]; + class48.anInt858 = (0xffffff & class48.anInt858 | (-(0xff & aByteArray5542[(class118.anInt1783)]) + 255 << 24)); + } + } + } else if (i == 7) { + for (int i_499_ = 0; anInt5632 > i_499_; i_499_++) { + int i_500_ = aShortArray5580[i_499_] & 0xffff; + int i_501_ = 0x3f & i_500_ >> 10; + int i_502_ = (i_500_ & 0x3ba) >> 7; + i_501_ = i_501_ + i_479_ & 0x3f; + int i_503_ = i_500_ & 0x7f; + i_502_ += i_480_ / 4; + i_503_ += i_481_; + if (i_502_ >= 0) { + if (i_502_ > 7) i_502_ = 7; + } else i_502_ = 0; + if (i_503_ >= 0) { + if (i_503_ > 127) i_503_ = 127; + } else i_503_ = 0; + aShortArray5580[i_499_] = (short) (Component224.bitwiseOr(i_503_, Component224.bitwiseOr(i_502_ << 7, i_501_ << 10))); + } + if (aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; + if (aClass118Array5621 != null) { + for (int i_504_ = 0; i_504_ < anInt5536; i_504_++) { + Component151 class118 = aClass118Array5621[i_504_]; + Component377 class48 = aClass48Array5596[i_504_]; + class48.anInt858 = (((RunescapeInfo.anIntArray179[0xffff & (aShortArray5580[class118.anInt1783])]) & 0xffffff) | class48.anInt858 & ~0xffffff); + } + } + } else if (i == 8) { + for (int i_505_ = 0; i_505_ < anInt5536; i_505_++) { + Component377 class48 = aClass48Array5596[i_505_]; + class48.anInt847 += i_480_; + class48.anInt854 += i_479_; + } + } else if (i == 10) { + for (int i_506_ = 0; anInt5536 > i_506_; i_506_++) { + Component377 class48 = aClass48Array5596[i_506_]; + class48.anInt856 = class48.anInt856 * i_479_ >> 7; + class48.anInt857 = i_480_ * class48.anInt857 >> 7; + } + } else if (i == 9) { + for (int i_507_ = 0; i_507_ < anInt5536; i_507_++) { + Component377 class48 = aClass48Array5596[i_507_]; + class48.anInt853 = class48.anInt853 + i_479_ & 0x3fff; + } + } + } + + final void s(int i) { + anInt5648 = i; + anInt5597++; + if (aClass139_5572 != null && (0x10000 & anInt5648) == 0) { + aShortArray5576 = aClass139_5572.aShortArray1953; + aByteArray5594 = aClass139_5572.aByteArray1948; + aShortArray5564 = aClass139_5572.aShortArray1954; + aShortArray5583 = aClass139_5572.aShortArray1951; + aClass139_5572 = null; + } + aBoolean5555 = true; + method691((byte) -62); + } + + final void C(int i) { + anInt5602++; + aShort5544 = (short) i; + if (aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; + } + + final void v() { + anInt5535++; + for (int i = 0; anInt5557 > i; i++) + anIntArray5644[i] = -anIntArray5644[i]; + for (int i = 0; anInt5529 > i; i++) + aShortArray5576[i] = (short) -aShortArray5576[i]; + for (int i = 0; anInt5632 > i; i++) { + short i_508_ = aShortArray5592[i]; + aShortArray5592[i] = aShortArray5566[i]; + aShortArray5566[i] = i_508_; + } + if (aClass123_5563 == null && aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; + if (aClass123_5563 != null) aClass123_5563.anInterface2_1811 = null; + aBoolean5527 = false; + if (aClass270_5575 != null) aClass270_5575.anInterface8_3463 = null; + if (aClass123_5605 != null) aClass123_5605.anInterface2_1811 = null; + } + + final void method610(DisplayModeManagerContainer204 class101, int i, boolean bool) { + try { + anInt5550++; + if (aShortArray5608 != null) { + int[] is = new int[3]; + for (int i_509_ = 0; i_509_ < anInt5557; i_509_++) { + if ((i & aShortArray5608[i_509_]) != 0) { + if (!bool) class101.method897(anIntArray5543[i_509_], anIntArray5593[i_509_], anIntArray5644[i_509_], is); + else class101.method892(anIntArray5543[i_509_], anIntArray5593[i_509_], anIntArray5644[i_509_], is); + anIntArray5543[i_509_] = is[0]; + anIntArray5593[i_509_] = is[1]; + anIntArray5644[i_509_] = is[2]; + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("paa.za(" + (class101 != null ? "{...}" : "null") + ',' + i + ',' + bool + ')')); + } + } + + final void I(int i, int[] is, int i_510_, int i_511_, int i_512_, boolean bool, int i_513_, int[] is_514_) { + try { + anInt5604++; + int i_515_ = is.length; + if (i == 0) { + i_511_ <<= 4; + i_512_ <<= 4; + i_510_ <<= 4; + int i_516_ = 0; + NodeBase.anInt7275 = 0; + Component85.anInt2880 = 0; + Component113.anInt2398 = 0; + for (int i_517_ = 0; i_515_ > i_517_; i_517_++) { + int i_518_ = is[i_517_]; + if (anIntArrayArray5539.length > i_518_) { + int[] is_519_ = anIntArrayArray5539[i_518_]; + for (int i_520_ = 0; i_520_ < is_519_.length; i_520_++) { + int i_521_ = is_519_[i_520_]; + if (aShortArray5608 == null || (i_513_ & aShortArray5608[i_521_]) != 0) { + NodeBase.anInt7275 += anIntArray5543[i_521_]; + Component85.anInt2880 += anIntArray5593[i_521_]; + i_516_++; + Component113.anInt2398 += anIntArray5644[i_521_]; + } + } + } + } + if (i_516_ <= 0) { + NodeBase.anInt7275 = i_510_; + Component113.anInt2398 = i_512_; + Component85.anInt2880 = i_511_; + } else { + NodeBase.anInt7275 = i_510_ + NodeBase.anInt7275 / i_516_; + Component85.anInt2880 = Component85.anInt2880 / i_516_ - -i_511_; + Component113.anInt2398 = i_512_ + Component113.anInt2398 / i_516_; + HashNodeSub16Sub1.aBoolean10450 = true; + } + } else if (i == 1) { + if (is_514_ != null) { + int i_522_ = ((is_514_[2] * i_512_ + is_514_[0] * i_510_ + (i_511_ * is_514_[1] + 8192)) >> 14); + int i_523_ = ((8192 + i_511_ * is_514_[4] + (i_510_ * is_514_[3] - -(is_514_[5] * i_512_))) >> 14); + int i_524_ = ((i_512_ * is_514_[8] + i_510_ * is_514_[6] + (i_511_ * is_514_[7] + 8192)) >> 14); + i_510_ = i_522_; + i_512_ = i_524_; + i_511_ = i_523_; + } + i_510_ <<= 4; + i_512_ <<= 4; + i_511_ <<= 4; + for (int i_525_ = 0; i_525_ < i_515_; i_525_++) { + int i_526_ = is[i_525_]; + if (i_526_ < anIntArrayArray5539.length) { + int[] is_527_ = anIntArrayArray5539[i_526_]; + for (int i_528_ = 0; is_527_.length > i_528_; i_528_++) { + int i_529_ = is_527_[i_528_]; + if (aShortArray5608 == null || (aShortArray5608[i_529_] & i_513_) != 0) { + anIntArray5543[i_529_] += i_510_; + anIntArray5593[i_529_] += i_511_; + anIntArray5644[i_529_] += i_512_; + } + } + } + } + } else if (i == 2) { + if (is_514_ == null) { + for (int i_530_ = 0; i_515_ > i_530_; i_530_++) { + int i_531_ = is[i_530_]; + if (i_531_ < anIntArrayArray5539.length) { + int[] is_532_ = anIntArrayArray5539[i_531_]; + for (int i_533_ = 0; is_532_.length > i_533_; i_533_++) { + int i_534_ = is_532_[i_533_]; + if (aShortArray5608 == null || ((i_513_ & aShortArray5608[i_534_]) != 0)) { + anIntArray5543[i_534_] -= NodeBase.anInt7275; + anIntArray5593[i_534_] -= Component85.anInt2880; + anIntArray5644[i_534_] -= Component113.anInt2398; + if (i_512_ != 0) { + int i_535_ = DisplayModeManagerContainer88.anIntArray1207[i_512_]; + int i_536_ = DisplayModeManagerContainer88.anIntArray1204[i_512_]; + int i_537_ = ((i_535_ * anIntArray5593[i_534_] - (-(anIntArray5543[i_534_] * i_536_) - 16383)) >> 14); + anIntArray5593[i_534_] = (-(anIntArray5543[i_534_] * i_535_) + (anIntArray5593[i_534_] * i_536_) + 16383) >> 14; + anIntArray5543[i_534_] = i_537_; + } + if (i_510_ != 0) { + int i_538_ = DisplayModeManagerContainer88.anIntArray1207[i_510_]; + int i_539_ = DisplayModeManagerContainer88.anIntArray1204[i_510_]; + int i_540_ = ((-(anIntArray5644[i_534_] * i_538_) + (i_539_ * anIntArray5593[i_534_]) + 16383) >> 14); + anIntArray5644[i_534_] = (16383 + ((i_538_ * anIntArray5593[i_534_]) + (anIntArray5644[i_534_] * i_539_))) >> 14; + anIntArray5593[i_534_] = i_540_; + } + if (i_511_ != 0) { + int i_541_ = DisplayModeManagerContainer88.anIntArray1207[i_511_]; + int i_542_ = DisplayModeManagerContainer88.anIntArray1204[i_511_]; + int i_543_ = ((i_541_ * anIntArray5644[i_534_] + ((i_542_ * anIntArray5543[i_534_]) - -16383)) >> 14); + anIntArray5644[i_534_] = ((16383 + ((anIntArray5644[i_534_] * i_542_) + -(anIntArray5543[i_534_] * i_541_))) >> 14); + anIntArray5543[i_534_] = i_543_; + } + anIntArray5543[i_534_] += NodeBase.anInt7275; + anIntArray5593[i_534_] += Component85.anInt2880; + anIntArray5644[i_534_] += Component113.anInt2398; + } + } + } + } + if (bool) { + for (int i_544_ = 0; i_544_ < i_515_; i_544_++) { + int i_545_ = is[i_544_]; + if (i_545_ < anIntArrayArray5539.length) { + int[] is_546_ = anIntArrayArray5539[i_545_]; + for (int i_547_ = 0; is_546_.length > i_547_; i_547_++) { + int i_548_ = is_546_[i_547_]; + if (aShortArray5608 == null || ((aShortArray5608[i_548_] & i_513_) != 0)) { + int i_549_ = anIntArray5528[i_548_]; + int i_550_ = anIntArray5528[i_548_ + 1]; + for (int i_551_ = i_549_; i_550_ > i_551_; i_551_++) { + int i_552_ = aShortArray5649[i_551_] + -1; + if (i_552_ == -1) break; + if (i_512_ != 0) { + int i_553_ = (DisplayModeManagerContainer88.anIntArray1207[i_512_]); + int i_554_ = (DisplayModeManagerContainer88.anIntArray1204[i_512_]); + int i_555_ = ((16383 + (aShortArray5564[i_552_]) * i_554_ + (aShortArray5583[i_552_]) * i_553_) >> 14); + aShortArray5583[i_552_] = (short) ((16383 + ((i_554_ * (aShortArray5583[i_552_])) + -(i_553_ * (aShortArray5564[i_552_])))) >> 14); + aShortArray5564[i_552_] = (short) i_555_; + } + if (i_510_ != 0) { + int i_556_ = (DisplayModeManagerContainer88.anIntArray1207[i_510_]); + int i_557_ = (DisplayModeManagerContainer88.anIntArray1204[i_510_]); + int i_558_ = ((16383 + (-(i_556_ * (aShortArray5576[i_552_])) + ((aShortArray5583[i_552_]) * i_557_))) >> 14); + aShortArray5576[i_552_] = (short) (((i_556_ * (aShortArray5583[i_552_])) + (i_557_ * (aShortArray5576[i_552_])) + 16383) >> 14); + aShortArray5583[i_552_] = (short) i_558_; + } + if (i_511_ != 0) { + int i_559_ = (DisplayModeManagerContainer88.anIntArray1207[i_511_]); + int i_560_ = (DisplayModeManagerContainer88.anIntArray1204[i_511_]); + int i_561_ = ((16383 + (i_560_ * (aShortArray5564[i_552_])) + (i_559_ * (aShortArray5576[i_552_]))) >> 14); + aShortArray5576[i_552_] = (short) ((((aShortArray5576[i_552_]) * i_560_) + -(i_559_ * (aShortArray5564[i_552_])) + 16383) >> 14); + aShortArray5564[i_552_] = (short) i_561_; + } + } + } + } + } + } + if (aClass123_5563 == null && aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; + if (aClass123_5563 != null) aClass123_5563.anInterface2_1811 = null; + } + } else { + int i_562_ = is_514_[9] << 4; + int i_563_ = is_514_[10] << 4; + int i_564_ = is_514_[11] << 4; + int i_565_ = is_514_[12] << 4; + int i_566_ = is_514_[13] << 4; + int i_567_ = is_514_[14] << 4; + if (HashNodeSub16Sub1.aBoolean10450) { + int i_568_ = ((NodeBase.anInt7275 * is_514_[0] - -(is_514_[3] * Component85.anInt2880) - -(is_514_[6] * Component113.anInt2398) - -8192) >> 14); + int i_569_ = ((is_514_[1] * NodeBase.anInt7275 - -(Component85.anInt2880 * is_514_[4]) - (-(is_514_[7] * Component113.anInt2398) - 8192)) >> 14); + i_568_ += i_565_; + i_569_ += i_566_; + int i_570_ = (8192 + (Component113.anInt2398 * is_514_[8] + is_514_[2] * NodeBase.anInt7275 + is_514_[5] * Component85.anInt2880) >> 14); + i_570_ += i_567_; + NodeBase.anInt7275 = i_568_; + Component85.anInt2880 = i_569_; + Component113.anInt2398 = i_570_; + HashNodeSub16Sub1.aBoolean10450 = false; + } + int[] is_571_ = new int[9]; + int i_572_ = DisplayModeManagerContainer88.anIntArray1204[i_510_]; + int i_573_ = DisplayModeManagerContainer88.anIntArray1207[i_510_]; + int i_574_ = DisplayModeManagerContainer88.anIntArray1204[i_511_]; + int i_575_ = DisplayModeManagerContainer88.anIntArray1207[i_511_]; + int i_576_ = DisplayModeManagerContainer88.anIntArray1204[i_512_]; + int i_577_ = DisplayModeManagerContainer88.anIntArray1207[i_512_]; + int i_578_ = 8192 + i_576_ * i_573_ >> 14; + int i_579_ = 8192 + i_573_ * i_577_ >> 14; + is_571_[6] = (8192 + (i_579_ * i_574_ + i_576_ * -i_575_) >> 14); + is_571_[8] = 8192 + i_572_ * i_574_ >> 14; + is_571_[4] = 8192 + i_572_ * i_576_ >> 14; + is_571_[1] = (8192 + i_577_ * -i_574_ - -(i_578_ * i_575_) >> 14); + is_571_[3] = i_572_ * i_577_ + 8192 >> 14; + is_571_[5] = -i_573_; + is_571_[0] = (8192 + (i_575_ * i_579_ + i_576_ * i_574_) >> 14); + is_571_[7] = (8192 + i_574_ * i_578_ + i_577_ * i_575_ >> 14); + is_571_[2] = i_575_ * i_572_ - -8192 >> 14; + int i_580_ = ((is_571_[1] * -Component85.anInt2880 + -NodeBase.anInt7275 * is_571_[0] - (-(-Component113.anInt2398 * is_571_[2]) + -8192)) >> 14); + int i_581_ = ((-NodeBase.anInt7275 * is_571_[3] + is_571_[4] * -Component85.anInt2880 - -(is_571_[5] * -Component113.anInt2398) + 8192) >> 14); + int i_582_ = ((-Component113.anInt2398 * is_571_[8] + (is_571_[6] * -NodeBase.anInt7275 - -(is_571_[7] * -Component85.anInt2880)) - -8192) >> 14); + int i_583_ = i_580_ - -NodeBase.anInt7275; + int i_584_ = i_581_ - -Component85.anInt2880; + int i_585_ = Component113.anInt2398 + i_582_; + int[] is_586_ = new int[9]; + for (int i_587_ = 0; i_587_ < 3; i_587_++) { + for (int i_588_ = 0; i_588_ < 3; i_588_++) { + int i_589_ = 0; + for (int i_590_ = 0; i_590_ < 3; i_590_++) + i_589_ += (is_514_[3 * i_588_ - -i_590_] * is_571_[i_587_ * 3 - -i_590_]); + is_586_[i_588_ + 3 * i_587_] = i_589_ - -8192 >> 14; + } + } + int i_591_ = (is_571_[2] * i_567_ + (i_565_ * is_571_[0] + i_566_ * is_571_[1] + 8192) >> 14); + int i_592_ = (8192 + (i_566_ * is_571_[4] + is_571_[3] * i_565_ + is_571_[5] * i_567_) >> 14); + int i_593_ = ((is_571_[8] * i_567_ + is_571_[7] * i_566_ + (is_571_[6] * i_565_ - -8192)) >> 14); + i_592_ += i_584_; + i_591_ += i_583_; + i_593_ += i_585_; + int[] is_594_ = new int[9]; + for (int i_595_ = 0; i_595_ < 3; i_595_++) { + for (int i_596_ = 0; i_596_ < 3; i_596_++) { + int i_597_ = 0; + for (int i_598_ = 0; i_598_ < 3; i_598_++) + i_597_ += (is_514_[3 * i_595_ + i_598_] * is_586_[3 * i_598_ + i_596_]); + is_594_[3 * i_595_ - -i_596_] = 8192 + i_597_ >> 14; + } + } + int i_599_ = (8192 + is_514_[2] * i_593_ + (i_592_ * is_514_[1] + i_591_ * is_514_[0]) >> 14); + int i_600_ = (8192 + (is_514_[3] * i_591_ - -(is_514_[4] * i_592_) - -(is_514_[5] * i_593_)) >> 14); + i_600_ += i_563_; + int i_601_ = (8192 + i_593_ * is_514_[8] + (is_514_[7] * i_592_ + i_591_ * is_514_[6]) >> 14); + i_599_ += i_562_; + i_601_ += i_564_; + for (int i_602_ = 0; i_602_ < i_515_; i_602_++) { + int i_603_ = is[i_602_]; + if (i_603_ < anIntArrayArray5539.length) { + int[] is_604_ = anIntArrayArray5539[i_603_]; + for (int i_605_ = 0; (i_605_ < is_604_.length); i_605_++) { + int i_606_ = is_604_[i_605_]; + if (aShortArray5608 == null || (aShortArray5608[i_606_] & i_513_) != 0) { + int i_607_ = ((8192 + (is_594_[2] * anIntArray5644[i_606_]) + ((is_594_[1] * anIntArray5593[i_606_]) + (is_594_[0] * anIntArray5543[i_606_]))) >> 14); + int i_608_ = ((is_594_[5] * anIntArray5644[i_606_] + ((anIntArray5543[i_606_] * is_594_[3]) + (is_594_[4] * anIntArray5593[i_606_])) + 8192) >> 14); + i_607_ += i_599_; + i_608_ += i_600_; + int i_609_ = ((8192 + (is_594_[8] * anIntArray5644[i_606_]) + ((anIntArray5543[i_606_] * is_594_[6]) + (is_594_[7] * anIntArray5593[i_606_]))) >> 14); + i_609_ += i_601_; + anIntArray5543[i_606_] = i_607_; + anIntArray5593[i_606_] = i_608_; + anIntArray5644[i_606_] = i_609_; + } + } + } + } + } + } else if (i == 3) { + if (is_514_ == null) { + for (int i_648_ = 0; i_515_ > i_648_; i_648_++) { + int i_649_ = is[i_648_]; + if (i_649_ < anIntArrayArray5539.length) { + int[] is_650_ = anIntArrayArray5539[i_649_]; + for (int i_651_ = 0; (i_651_ < is_650_.length); i_651_++) { + int i_652_ = is_650_[i_651_]; + if (aShortArray5608 == null || ((i_513_ & aShortArray5608[i_652_]) != 0)) { + anIntArray5543[i_652_] -= NodeBase.anInt7275; + anIntArray5593[i_652_] -= Component85.anInt2880; + anIntArray5644[i_652_] -= Component113.anInt2398; + anIntArray5543[i_652_] = (anIntArray5543[i_652_] * i_510_ >> 7); + anIntArray5593[i_652_] = (anIntArray5593[i_652_] * i_511_ >> 7); + anIntArray5644[i_652_] = (i_512_ * anIntArray5644[i_652_] >> 7); + anIntArray5543[i_652_] += NodeBase.anInt7275; + anIntArray5593[i_652_] += Component85.anInt2880; + anIntArray5644[i_652_] += Component113.anInt2398; + } + } + } + } + } else { + int i_610_ = is_514_[9] << 4; + int i_611_ = is_514_[10] << 4; + int i_612_ = is_514_[11] << 4; + int i_613_ = is_514_[12] << 4; + int i_614_ = is_514_[13] << 4; + int i_615_ = is_514_[14] << 4; + if (HashNodeSub16Sub1.aBoolean10450) { + int i_616_ = (8192 + (NodeBase.anInt7275 * is_514_[0] - -(Component85.anInt2880 * is_514_[3]) - -(is_514_[6] * Component113.anInt2398)) >> 14); + int i_617_ = (8192 + (is_514_[7] * Component113.anInt2398 + (Component85.anInt2880 * is_514_[4] + is_514_[1] * NodeBase.anInt7275)) >> 14); + i_617_ += i_614_; + int i_618_ = ((is_514_[5] * Component85.anInt2880 + NodeBase.anInt7275 * is_514_[2] + is_514_[8] * Component113.anInt2398 - -8192) >> 14); + i_616_ += i_613_; + Component85.anInt2880 = i_617_; + i_618_ += i_615_; + NodeBase.anInt7275 = i_616_; + HashNodeSub16Sub1.aBoolean10450 = false; + Component113.anInt2398 = i_618_; + } + int i_619_ = i_510_ << 15 >> 7; + int i_620_ = i_511_ << 15 >> 7; + int i_621_ = i_512_ << 15 >> 7; + int i_622_ = -NodeBase.anInt7275 * i_619_ + 8192 >> 14; + int i_623_ = i_620_ * -Component85.anInt2880 + 8192 >> 14; + int i_624_ = -Component113.anInt2398 * i_621_ - -8192 >> 14; + int i_625_ = i_622_ + NodeBase.anInt7275; + int i_626_ = i_623_ - -Component85.anInt2880; + int i_627_ = Component113.anInt2398 + i_624_; + int[] is_628_ = new int[9]; + is_628_[1] = 8192 + is_514_[3] * i_619_ >> 14; + is_628_[0] = is_514_[0] * i_619_ - -8192 >> 14; + is_628_[2] = i_619_ * is_514_[6] + 8192 >> 14; + is_628_[6] = i_621_ * is_514_[2] - -8192 >> 14; + is_628_[5] = i_620_ * is_514_[7] - -8192 >> 14; + is_628_[4] = i_620_ * is_514_[4] - -8192 >> 14; + is_628_[3] = 8192 + i_620_ * is_514_[1] >> 14; + is_628_[7] = i_621_ * is_514_[5] + 8192 >> 14; + is_628_[8] = 8192 + i_621_ * is_514_[8] >> 14; + int i_629_ = 8192 + i_619_ * i_613_ >> 14; + int i_630_ = i_620_ * i_614_ - -8192 >> 14; + i_630_ += i_626_; + int i_631_ = 8192 + i_615_ * i_621_ >> 14; + i_629_ += i_625_; + i_631_ += i_627_; + int[] is_632_ = new int[9]; + for (int i_633_ = 0; i_633_ < 3; i_633_++) { + for (int i_634_ = 0; i_634_ < 3; i_634_++) { + int i_635_ = 0; + for (int i_636_ = 0; i_636_ < 3; i_636_++) + i_635_ += (is_514_[3 * i_633_ - -i_636_] * is_628_[3 * i_636_ + i_634_]); + is_632_[i_633_ * 3 + i_634_] = 8192 + i_635_ >> 14; + } + } + int i_637_ = ((is_514_[1] * i_630_ + is_514_[0] * i_629_ + i_631_ * is_514_[2] + 8192) >> 14); + int i_638_ = ((8192 + (i_631_ * is_514_[5] + is_514_[3] * i_629_) - -(is_514_[4] * i_630_)) >> 14); + int i_639_ = (i_629_ * is_514_[6] + (i_630_ * is_514_[7] - (-(is_514_[8] * i_631_) - 8192)) >> 14); + i_637_ += i_610_; + i_638_ += i_611_; + i_639_ += i_612_; + for (int i_640_ = 0; i_640_ < i_515_; i_640_++) { + int i_641_ = is[i_640_]; + if (anIntArrayArray5539.length > i_641_) { + int[] is_642_ = anIntArrayArray5539[i_641_]; + for (int i_643_ = 0; is_642_.length > i_643_; i_643_++) { + int i_644_ = is_642_[i_643_]; + if (aShortArray5608 == null || (aShortArray5608[i_644_] & i_513_) != 0) { + int i_645_ = ((8192 + (is_632_[1] * anIntArray5593[i_644_]) + ((is_632_[0] * anIntArray5543[i_644_]) + (is_632_[2] * anIntArray5644[i_644_]))) >> 14); + int i_646_ = ((is_632_[4] * anIntArray5593[i_644_] + (anIntArray5543[i_644_] * is_632_[3]) - (-(is_632_[5] * anIntArray5644[i_644_]) - 8192)) >> 14); + i_645_ += i_637_; + i_646_ += i_638_; + int i_647_ = ((is_632_[7] * anIntArray5593[i_644_] + (is_632_[6] * anIntArray5543[i_644_]) - -(is_632_[8] * anIntArray5644[i_644_]) - -8192) >> 14); + anIntArray5543[i_644_] = i_645_; + i_647_ += i_639_; + anIntArray5593[i_644_] = i_646_; + anIntArray5644[i_644_] = i_647_; + } + } + } + } + } + } else if (i == 5) { + if (anIntArrayArray5553 != null) { + for (int i_653_ = 0; i_653_ < i_515_; i_653_++) { + int i_654_ = is[i_653_]; + if (i_654_ < anIntArrayArray5553.length) { + int[] is_655_ = anIntArrayArray5553[i_654_]; + for (int i_656_ = 0; is_655_.length > i_656_; i_656_++) { + int i_657_ = is_655_[i_656_]; + if (aShortArray5573 == null || (aShortArray5573[i_657_] & i_513_) != 0) { + int i_658_ = ((aByteArray5542[i_657_] & 0xff) - -(8 * i_510_)); + if (i_658_ < 0) i_658_ = 0; + else if (i_658_ > 255) i_658_ = 255; + aByteArray5542[i_657_] = (byte) i_658_; + if (aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; + } + } + } + } + if (aClass118Array5621 != null) { + for (int i_659_ = 0; i_659_ < anInt5536; i_659_++) { + Component151 class118 = aClass118Array5621[i_659_]; + Component377 class48 = aClass48Array5596[i_659_]; + class48.anInt858 = ((255 + -(0xff & (aByteArray5542[(class118.anInt1783)])) << 24) | class48.anInt858 & 0xffffff); + } + } + } + } else if (i == 7) { + if (anIntArrayArray5553 != null) { + for (int i_660_ = 0; i_515_ > i_660_; i_660_++) { + int i_661_ = is[i_660_]; + if (anIntArrayArray5553.length > i_661_) { + int[] is_662_ = anIntArrayArray5553[i_661_]; + for (int i_663_ = 0; (is_662_.length > i_663_); i_663_++) { + int i_664_ = is_662_[i_663_]; + if (aShortArray5573 == null || (aShortArray5573[i_664_] & i_513_) != 0) { + int i_665_ = aShortArray5580[i_664_] & 0xffff; + int i_666_ = (0xfc7e & i_665_) >> 10; + int i_667_ = (i_665_ & 0x3ed) >> 7; + i_667_ += i_511_ / 4; + int i_668_ = 0x7f & i_665_; + i_666_ = i_666_ + i_510_ & 0x3f; + if (i_667_ < 0) i_667_ = 0; + else if (i_667_ > 7) i_667_ = 7; + i_668_ += i_512_; + if (i_668_ < 0) i_668_ = 0; + else if (i_668_ > 127) i_668_ = 127; + aShortArray5580[i_664_] = (short) (Component224.bitwiseOr(i_668_, (Component224.bitwiseOr(i_666_ << 10, i_667_ << 7)))); + if (aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; + } + } + } + } + if (aClass118Array5621 != null) { + for (int i_669_ = 0; anInt5536 > i_669_; i_669_++) { + Component151 class118 = aClass118Array5621[i_669_]; + Component377 class48 = aClass48Array5596[i_669_]; + class48.anInt858 = (0xffffff & (RunescapeInfo.anIntArray179[(aShortArray5580[(class118.anInt1783)]) & 0xffff]) | class48.anInt858 & ~0xffffff); + } + } + } + } else if (i == 8) { + if (anIntArrayArray5627 != null) { + for (int i_670_ = 0; i_515_ > i_670_; i_670_++) { + int i_671_ = is[i_670_]; + if (i_671_ < anIntArrayArray5627.length) { + int[] is_672_ = anIntArrayArray5627[i_671_]; + for (int i_673_ = 0; is_672_.length > i_673_; i_673_++) { + Component377 class48 = aClass48Array5596[is_672_[i_673_]]; + class48.anInt847 += i_511_; + class48.anInt854 += i_510_; + } + } + } + } + } else if (i == 10) { + if (anIntArrayArray5627 != null) { + for (int i_674_ = 0; i_674_ < i_515_; i_674_++) { + int i_675_ = is[i_674_]; + if (i_675_ < anIntArrayArray5627.length) { + int[] is_676_ = anIntArrayArray5627[i_675_]; + for (int i_677_ = 0; i_677_ < is_676_.length; i_677_++) { + Component377 class48 = aClass48Array5596[is_676_[i_677_]]; + class48.anInt857 = (i_511_ * class48.anInt857 >> 7); + class48.anInt856 = (i_510_ * class48.anInt856 >> 7); + } + } + } + } + } else if (i == 9) { + if (anIntArrayArray5627 != null) { + for (int i_678_ = 0; i_678_ < i_515_; i_678_++) { + int i_679_ = is[i_678_]; + if (i_679_ < anIntArrayArray5627.length) { + int[] is_680_ = anIntArrayArray5627[i_679_]; + for (int i_681_ = 0; is_680_.length > i_681_; i_681_++) { + Component377 class48 = aClass48Array5596[is_680_[i_681_]]; + class48.anInt853 = 0x3fff & (class48.anInt853 + i_510_); + } + } + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("paa.I(" + i + ',' + (is != null ? "{...}" : "null") + ',' + i_510_ + ',' + i_511_ + ',' + i_512_ + ',' + bool + ',' + i_513_ + ',' + (is_514_ != null ? "{...}" : "null") + ')')); + } + } + + private final void method692(byte i) { + anInt5568++; + int i_682_ = 32767; + int i_683_ = 32767; + int i_684_ = 32767; + int i_685_ = -32768; + int i_686_ = -32768; + int i_687_ = -32768; + int i_688_ = 0; + int i_689_ = 0; + for (int i_690_ = 0; i_690_ < anInt5557; i_690_++) { + int i_691_ = anIntArray5543[i_690_]; + int i_692_ = anIntArray5593[i_690_]; + if (i_692_ > i_686_) i_686_ = i_692_; + if (i_692_ < i_683_) i_683_ = i_692_; + int i_693_ = anIntArray5644[i_690_]; + if (i_685_ < i_691_) i_685_ = i_691_; + if (i_682_ > i_691_) i_682_ = i_691_; + if (i_693_ > i_687_) i_687_ = i_693_; + if (i_684_ > i_693_) i_684_ = i_693_; + int i_694_ = i_691_ * i_691_ + i_693_ * i_693_; + if (i_694_ > i_688_) i_688_ = i_694_; + i_694_ = i_693_ * i_693_ + (i_691_ * i_691_ + i_692_ * i_692_); + if (i_694_ > i_689_) i_689_ = i_694_; + } + aShort5591 = (short) i_683_; + aShort5617 = (short) i_684_; + if (i != -123) method618(); + aShort5646 = (short) i_687_; + aShort5540 = (short) i_682_; + aShort5629 = (short) i_686_; + aShort5586 = (short) i_685_; + aShort5634 = (short) (int) (0.99 + Math.sqrt(i_688_)); + aShort5559 = (short) (int) (0.99 + Math.sqrt(i_689_)); + aBoolean5527 = true; + } + + final int fa() { + anInt5635++; + if (!aBoolean5527) method692((byte) -123); + return aShort5591; + } + + DisplayModeManagerContainer282(GlToolkitSub2 var_ha_Sub2) { + aBoolean5527 = false; + anInt5529 = 0; + anInt5632 = 0; + anInt5557 = 0; + anInt5642 = 0; + aBoolean5638 = false; + try { + aHa_Sub2_5598 = var_ha_Sub2; + aClass123_5605 = new Component132(null, 5126, 3, 0); + aClass123_5620 = new Component132(null, 5126, 2, 0); + aClass123_5563 = new Component132(null, 5126, 3, 0); + aClass123_5610 = new Component132(null, 5121, 4, 0); + aClass270_5575 = new Component148(); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("paa.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ')')); + } + } + + DisplayModeManagerContainer282(GlToolkitSub2 var_ha_Sub2, DisplayModeManagerContainer77 class124, int i, int i_695_, int i_696_, int i_697_) { + aBoolean5527 = false; + anInt5529 = 0; + anInt5632 = 0; + anInt5557 = 0; + anInt5642 = 0; + aBoolean5638 = false; + do { + try { + anInt5556 = i_697_; + anInt5648 = i; + aHa_Sub2_5598 = var_ha_Sub2; + if (DisplayModeManagerContainer370.method616(2, i, i_697_)) aClass123_5605 = new Component132(null, 5126, 3, 0); + if (CacheIndexReader.hasFlag0x800(i_697_, (byte) 78, i)) aClass123_5620 = new Component132(null, 5126, 2, 0); + if (ShaderSub3.method166((byte) 69, i_697_, i)) aClass123_5563 = new Component132(null, 5126, 3, 0); + if (Component334.method1193(i_697_, i, true)) aClass123_5610 = new Component132(null, 5121, 4, 0); + if (ClientErrorReporter.hasRoofFlag(i, i_697_, -31)) aClass270_5575 = new Component148(); + d var_d = var_ha_Sub2.aD4579; + anIntArray5528 = new int[class124.anInt1821 + 1]; + int[] is = new int[class124.anInt1817]; + for (int i_698_ = 0; (i_698_ < class124.anInt1817); i_698_++) { + if (class124.aByteArray1843 == null || class124.aByteArray1843[i_698_] != 2) { + if (class124.aShortArray1822 != null && (class124.aShortArray1822[i_698_] != -1)) { + Component319 class12 = var_d.method3(((class124.aShortArray1822[i_698_]) & 0xffff), -6662); + if (((anInt5556 & 0x40) == 0 || !class12.aBoolean209) && class12.aBoolean204) continue; + } + is[anInt5632++] = i_698_; + anIntArray5528[(class124.aShortArray1863[i_698_])]++; + anIntArray5528[(class124.aShortArray1835[i_698_])]++; + anIntArray5528[(class124.aShortArray1855[i_698_])]++; + } + } + anInt5537 = anInt5632; + long[] ls = new long[anInt5632]; + boolean bool = (0x100 & anInt5648) != 0; + for (int i_699_ = 0; anInt5632 > i_699_; i_699_++) { + int i_700_ = is[i_699_]; + Component319 class12 = null; + int i_701_ = 0; + int i_702_ = 0; + int i_703_ = 0; + int i_704_ = 0; + if (class124.aClass162Array1832 != null) { + boolean bool_705_ = false; + for (int i_706_ = 0; (class124.aClass162Array1832.length > i_706_); i_706_++) { + DisplayModeManagerContainer133 class162 = (class124.aClass162Array1832[i_706_]); + if (i_700_ == class162.anInt2155) { + Component291 class189 = DisplayModeManagerContainer306.method742(104, (class162.anInt2153)); + if (class189.aBoolean2531) bool_705_ = true; + if (class189.anInt2525 != -1) { + Component319 class12_707_ = var_d.method3((class189.anInt2525), -6662); + if (class12_707_.anInt200 == 2) aBoolean5595 = true; + } + } + } + if (bool_705_) { + ls[i_699_] = 9223372036854775807L; + anInt5537--; + continue; + } + } + int i_708_ = -1; + if (class124.aShortArray1822 != null) { + i_708_ = class124.aShortArray1822[i_700_]; + if (i_708_ != -1) { + class12 = var_d.method3(i_708_ & 0xffff, -6662); + if ((anInt5556 & 0x40) != 0 && class12.aBoolean209) { + i_708_ = -1; + class12 = null; + } else { + i_704_ = class12.aByte202; + if (class12.aByte198 != 0 || class12.aByte211 != 0) aBoolean5638 = true; + i_703_ = class12.aByte213; + } + } + } + boolean bool_709_ = ((class124.aByteArray1834 != null && (class124.aByteArray1834[i_700_] != 0)) || (class12 != null && class12.anInt200 != 0)); + if ((bool || bool_709_) && class124.aByteArray1839 != null) i_701_ += (class124.aByteArray1839[i_700_] << 17); + if (bool_709_) i_701_ += 65536; + i_701_ += (0xff & i_703_) << 8; + i_701_ += i_704_ & 0xff; + i_702_ += (i_708_ & 0xffff) << 16; + i_702_ += i_699_ & 0xffff; + ls[i_699_] = ((long) i_701_ << 32) - -(long) i_702_; + DisplayModeManagerContainer282 class64_sub3_710_ = this; + class64_sub3_710_.aBoolean5638 = (class64_sub3_710_.aBoolean5638 | (class12 != null && (class12.aByte198 != 0 || class12.aByte211 != 0))); + aBoolean5595 |= bool_709_; + } + NodeSub16Sub2.method2832(is, ls, 0); + anIntArray5644 = class124.anIntArray1852; + anIntArray5593 = class124.anIntArray1847; + anInt5642 = class124.anInt1836; + anIntArray5543 = class124.anIntArray1841; + aShortArray5608 = class124.aShortArray1842; + anInt5557 = class124.anInt1821; + aClass342Array5541 = class124.aClass342Array1866; + DisplayModeManagerContainer345[] class8s = new DisplayModeManagerContainer345[anInt5557]; + aClass129Array5640 = class124.aClass129Array1846; + if (class124.aClass162Array1832 != null) { + anInt5536 = class124.aClass162Array1832.length; + aClass48Array5596 = new Component377[anInt5536]; + aClass118Array5621 = new Component151[anInt5536]; + for (int i_711_ = 0; anInt5536 > i_711_; i_711_++) { + DisplayModeManagerContainer133 class162 = class124.aClass162Array1832[i_711_]; + Component291 class189 = DisplayModeManagerContainer306.method742(104, (class162.anInt2153)); + int i_712_ = -1; + for (int i_713_ = 0; i_713_ < anInt5632; i_713_++) { + if (class162.anInt2155 == is[i_713_]) { + i_712_ = i_713_; + break; + } + } + if (i_712_ == -1) throw new RuntimeException(); + int i_714_ = ((RunescapeInfo.anIntArray179[0xffff & (class124.aShortArray1862[class162.anInt2155])]) & 0xffffff); + i_714_ = i_714_ | (255 + -((class124.aByteArray1834) == null ? 0 : (class124.aByteArray1834[(class162.anInt2155)])) << 24); + aClass118Array5621[i_711_] = new Component151(i_712_, (class124.aShortArray1863[class162.anInt2155]), (class124.aShortArray1835[class162.anInt2155]), (class124.aShortArray1855[class162.anInt2155]), class189.anInt2526, class189.anInt2530, class189.anInt2525, class189.anInt2533, class189.anInt2534, class189.aBoolean2531, class189.aBoolean2522, class162.anInt2158); + aClass48Array5596[i_711_] = new Component377(i_714_); + } + } + int i_715_ = anInt5632 * 3; + aShortArray5649 = new short[i_715_]; + GlFramebufferTexture.aLongArray8530 = new long[i_715_]; + aShortArray5601 = new short[anInt5632]; + aFloatArray5571 = new float[i_715_]; + aShortArray5564 = new short[i_715_]; + aShortArray5576 = new short[i_715_]; + aByteArray5594 = new byte[i_715_]; + aShortArray5583 = new short[i_715_]; + if (class124.aShortArray1856 != null) aShortArray5573 = new short[anInt5632]; + aShort5544 = (short) i_695_; + aShortArray5580 = new short[anInt5632]; + aShortArray5579 = new short[anInt5632]; + aShortArray5592 = new short[anInt5632]; + aShort5645 = (short) i_696_; + aByteArray5542 = new byte[anInt5632]; + aFloatArray5552 = new float[i_715_]; + aShortArray5566 = new short[anInt5632]; + int i_716_ = 0; + for (int i_717_ = 0; i_717_ < class124.anInt1821; i_717_++) { + int i_718_ = anIntArray5528[i_717_]; + anIntArray5528[i_717_] = i_716_; + class8s[i_717_] = new DisplayModeManagerContainer345(); + i_716_ += i_718_; + } + anIntArray5528[class124.anInt1821] = i_716_; + Component142 class358 = Component54.method565(255, anInt5632, class124, is); + DisplayModeManagerContainer322[] class347s = new DisplayModeManagerContainer322[class124.anInt1817]; + for (int i_719_ = 0; class124.anInt1817 > i_719_; i_719_++) { + short i_720_ = class124.aShortArray1863[i_719_]; + short i_721_ = class124.aShortArray1835[i_719_]; + short i_722_ = class124.aShortArray1855[i_719_]; + int i_723_ = anIntArray5543[i_721_] + -anIntArray5543[i_720_]; + int i_724_ = anIntArray5593[i_721_] - anIntArray5593[i_720_]; + int i_725_ = -anIntArray5644[i_720_] + anIntArray5644[i_721_]; + int i_726_ = -anIntArray5543[i_720_] + anIntArray5543[i_722_]; + int i_727_ = anIntArray5593[i_722_] + -anIntArray5593[i_720_]; + int i_728_ = -anIntArray5644[i_720_] + anIntArray5644[i_722_]; + int i_729_ = i_724_ * i_728_ + -(i_727_ * i_725_); + int i_730_ = -(i_728_ * i_723_) + i_726_ * i_725_; + int i_731_; + for (i_731_ = -(i_724_ * i_726_) + i_727_ * i_723_; (i_729_ > 8192 || i_730_ > 8192 || i_731_ > 8192 || i_729_ < -8192 || i_730_ < -8192 || i_731_ < -8192); i_730_ >>= 1) { + i_729_ >>= 1; + i_731_ >>= 1; + } + int i_732_ = (int) Math.sqrt(i_731_ * i_731_ + i_730_ * i_730_ + i_729_ * i_729_); + if (i_732_ <= 0) i_732_ = 1; + i_731_ = i_731_ * 256 / i_732_; + i_729_ = i_729_ * 256 / i_732_; + i_730_ = 256 * i_730_ / i_732_; + byte i_733_ = (class124.aByteArray1843 == null ? (byte) 0 : class124.aByteArray1843[i_719_]); + if (i_733_ == 0) { + DisplayModeManagerContainer345 class8 = class8s[i_720_]; + class8.anInt162 += i_730_; + class8.anInt159 += i_731_; + class8.anInt160++; + class8.anInt161 += i_729_; + class8 = class8s[i_721_]; + class8.anInt161 += i_729_; + class8.anInt162 += i_730_; + class8.anInt160++; + class8.anInt159 += i_731_; + class8 = class8s[i_722_]; + class8.anInt160++; + class8.anInt159 += i_731_; + class8.anInt162 += i_730_; + class8.anInt161 += i_729_; + } else if (i_733_ == 1) { + DisplayModeManagerContainer322 class347 = class347s[i_719_] = new DisplayModeManagerContainer322(); + class347.anInt4283 = i_731_; + class347.anInt4279 = i_730_; + class347.anInt4282 = i_729_; + } + } + for (int i_734_ = 0; anInt5632 > i_734_; i_734_++) { + int i_735_ = is[i_734_]; + int i_736_ = (class124.aShortArray1862[i_735_] & 0xffff); + int i_737_; + if (class124.aByteArray1820 != null) i_737_ = class124.aByteArray1820[i_735_]; + else i_737_ = -1; + int i_738_; + if (class124.aByteArray1834 != null) i_738_ = 0xff & (class124.aByteArray1834[i_735_]); + else i_738_ = 0; + short i_739_ = (class124.aShortArray1822 == null ? (short) -1 : class124.aShortArray1822[i_735_]); + if (i_739_ != -1 && (0x40 & anInt5556) != 0) { + Component319 class12 = var_d.method3(i_739_ & 0xffff, -6662); + if (class12.aBoolean209) i_739_ = (short) -1; + } + float f = 0.0F; + float f_740_ = 0.0F; + float f_741_ = 0.0F; + float f_742_ = 0.0F; + float f_743_ = 0.0F; + float f_744_ = 0.0F; + int i_745_ = 0; + int i_746_ = 0; + int i_747_ = 0; + if (i_739_ != -1) { + if (i_737_ == -1) { + f_742_ = 1.0F; + i_746_ = 2; + f_744_ = 0.0F; + i_745_ = 1; + f_740_ = 1.0F; + f = 0.0F; + f_743_ = 0.0F; + f_741_ = 1.0F; + } else { + i_737_ &= 0xff; + byte i_748_ = class124.aByteArray1823[i_737_]; + if (i_748_ == 0) { + short i_749_ = (class124.aShortArray1863[i_735_]); + short i_750_ = (class124.aShortArray1835[i_735_]); + short i_751_ = (class124.aShortArray1855[i_735_]); + short i_752_ = (class124.aShortArray1829[i_737_]); + short i_753_ = (class124.aShortArray1849[i_737_]); + short i_754_ = (class124.aShortArray1825[i_737_]); + float f_755_ = (float) (class124.anIntArray1841[i_752_]); + float f_756_ = (float) (class124.anIntArray1847[i_752_]); + float f_757_ = (float) (class124.anIntArray1852[i_752_]); + float f_758_ = ((float) (class124.anIntArray1841[i_753_]) - f_755_); + float f_759_ = ((float) (class124.anIntArray1847[i_753_]) - f_756_); + float f_760_ = (-f_757_ + (float) (class124.anIntArray1852[i_753_])); + float f_761_ = ((float) (class124.anIntArray1841[i_754_]) - f_755_); + float f_762_ = (-f_756_ + (float) (class124.anIntArray1847[i_754_])); + float f_763_ = (-f_757_ + (float) (class124.anIntArray1852[i_754_])); + float f_764_ = (-f_755_ + (float) (class124.anIntArray1841[i_749_])); + float f_765_ = ((float) (class124.anIntArray1847[i_749_]) - f_756_); + float f_766_ = ((float) (class124.anIntArray1852[i_749_]) - f_757_); + float f_767_ = (-f_755_ + (float) (class124.anIntArray1841[i_750_])); + float f_768_ = (-f_756_ + (float) (class124.anIntArray1847[i_750_])); + float f_769_ = (-f_757_ + (float) (class124.anIntArray1852[i_750_])); + float f_770_ = (-f_755_ + (float) (class124.anIntArray1841[i_751_])); + float f_771_ = (-f_756_ + (float) (class124.anIntArray1847[i_751_])); + float f_772_ = (-f_757_ + (float) (class124.anIntArray1852[i_751_])); + float f_773_ = -(f_760_ * f_762_) + f_759_ * f_763_; + float f_774_ = -(f_763_ * f_758_) + f_761_ * f_760_; + float f_775_ = f_762_ * f_758_ - f_761_ * f_759_; + float f_776_ = -(f_763_ * f_774_) + f_775_ * f_762_; + float f_777_ = -(f_761_ * f_775_) + f_763_ * f_773_; + float f_778_ = f_774_ * f_761_ - f_762_ * f_773_; + float f_779_ = 1.0F / (f_760_ * f_778_ + (f_759_ * f_777_ + f_776_ * f_758_)); + f_743_ = f_779_ * (f_770_ * f_776_ + f_777_ * f_771_ + f_772_ * f_778_); + f = f_779_ * (f_776_ * f_764_ + f_777_ * f_765_ + f_778_ * f_766_); + f_741_ = f_779_ * (f_769_ * f_778_ + (f_767_ * f_776_ + f_777_ * f_768_)); + f_778_ = -(f_773_ * f_759_) + f_758_ * f_774_; + f_776_ = f_759_ * f_775_ - f_774_ * f_760_; + f_777_ = f_760_ * f_773_ - f_775_ * f_758_; + f_779_ = 1.0F / (f_763_ * f_778_ + (f_761_ * f_776_ + f_777_ * f_762_)); + f_742_ = (f_767_ * f_776_ + f_777_ * f_768_ + f_778_ * f_769_) * f_779_; + f_740_ = (f_778_ * f_766_ + (f_777_ * f_765_ + f_764_ * f_776_)) * f_779_; + f_744_ = (f_777_ * f_771_ + f_776_ * f_770_ + f_772_ * f_778_) * f_779_; + } else { + short i_780_ = (class124.aShortArray1863[i_735_]); + short i_781_ = (class124.aShortArray1835[i_735_]); + short i_782_ = (class124.aShortArray1855[i_735_]); + int i_783_ = (class358.anIntArray4416[i_737_]); + int i_784_ = (class358.anIntArray4415[i_737_]); + int i_785_ = (class358.anIntArray4414[i_737_]); + float[] fs = (class358.aFloatArrayArray4412[i_737_]); + byte i_786_ = (class124.aByteArray1853[i_737_]); + float f_787_ = ((float) (class124.anIntArray1867[i_737_]) / 256.0F); + if (i_748_ == 1) { + float f_805_ = ((float) (class124.anIntArray1844[i_737_]) / 1024.0F); + Component163.method1885(i_785_, (class124.anIntArray1852[i_780_]), i_786_, 8, (class124.anIntArray1841[i_780_]), InflaterDecompressor.aFloatArray2075, (class124.anIntArray1847[i_780_]), f_787_, i_784_, i_783_, f_805_, fs); + f = InflaterDecompressor.aFloatArray2075[0]; + f_740_ = InflaterDecompressor.aFloatArray2075[1]; + Component163.method1885(i_785_, (class124.anIntArray1852[i_781_]), i_786_, 8, (class124.anIntArray1841[i_781_]), InflaterDecompressor.aFloatArray2075, (class124.anIntArray1847[i_781_]), f_787_, i_784_, i_783_, f_805_, fs); + f_741_ = InflaterDecompressor.aFloatArray2075[0]; + f_742_ = InflaterDecompressor.aFloatArray2075[1]; + Component163.method1885(i_785_, (class124.anIntArray1852[i_782_]), i_786_, 8, (class124.anIntArray1841[i_782_]), InflaterDecompressor.aFloatArray2075, (class124.anIntArray1847[i_782_]), f_787_, i_784_, i_783_, f_805_, fs); + f_743_ = InflaterDecompressor.aFloatArray2075[0]; + f_744_ = InflaterDecompressor.aFloatArray2075[1]; + float f_806_ = f_805_ / 2.0F; + if ((0x1 & i_786_) == 0) { + if (f_806_ < -f + f_743_) { + f_743_ -= f_805_; + i_746_ = 1; + } else if (f_806_ < f - f_743_) { + f_743_ += f_805_; + i_746_ = 2; + } + if (f_741_ - f > f_806_) { + i_745_ = 1; + f_741_ -= f_805_; + } else if (-f_741_ + f > f_806_) { + i_745_ = 2; + f_741_ += f_805_; + } + } else { + if (f_742_ - f_740_ > f_806_) { + f_742_ -= f_805_; + i_745_ = 1; + } else if (f_740_ - f_742_ > f_806_) { + i_745_ = 2; + f_742_ += f_805_; + } + if (f_806_ < -f_740_ + f_744_) { + i_746_ = 1; + f_744_ -= f_805_; + } else if (-f_744_ + f_740_ > f_806_) { + i_746_ = 2; + f_744_ += f_805_; + } + } + } else if (i_748_ == 2) { + float f_788_ = ((float) (class124.anIntArray1857[i_737_]) / 256.0F); + float f_789_ = ((float) (class124.anIntArray1865[i_737_]) / 256.0F); + int i_790_ = (-(class124.anIntArray1841[i_780_]) + (class124.anIntArray1841[i_781_])); + int i_791_ = ((class124.anIntArray1847[i_781_]) + -(class124.anIntArray1847[i_780_])); + int i_792_ = (-(class124.anIntArray1852[i_780_]) + (class124.anIntArray1852[i_781_])); + int i_793_ = ((class124.anIntArray1841[i_782_]) - (class124.anIntArray1841[i_780_])); + int i_794_ = ((class124.anIntArray1847[i_782_]) + -(class124.anIntArray1847[i_780_])); + int i_795_ = (-(class124.anIntArray1852[i_780_]) + (class124.anIntArray1852[i_782_])); + int i_796_ = (-(i_792_ * i_794_) + i_791_ * i_795_); + int i_797_ = (i_793_ * i_792_ + -(i_795_ * i_790_)); + int i_798_ = (i_794_ * i_790_ + -(i_793_ * i_791_)); + float f_799_ = (64.0F / (float) (class124.anIntArray1859[i_737_])); + float f_800_ = (64.0F / (float) (class124.anIntArray1816[i_737_])); + float f_801_ = (64.0F / (float) (class124.anIntArray1844[i_737_])); + float f_802_ = ((fs[2] * (float) i_798_ + ((float) i_797_ * fs[1] + (float) i_796_ * fs[0])) / f_799_); + float f_803_ = ((fs[5] * (float) i_798_ + ((float) i_797_ * fs[4] + fs[3] * (float) i_796_)) / f_800_); + float f_804_ = (((float) i_798_ * fs[8] + (fs[7] * (float) i_797_ + (float) i_796_ * fs[6])) / f_801_); + i_747_ = Component374.method2635(f_803_, false, f_804_, f_802_); + NodeList.method1991(f_789_, f_787_, fs, (class124.anIntArray1852[i_780_]), i_785_, false, i_786_, i_783_, (class124.anIntArray1841[i_780_]), (class124.anIntArray1847[i_780_]), f_788_, InflaterDecompressor.aFloatArray2075, i_784_, i_747_); + f_740_ = InflaterDecompressor.aFloatArray2075[1]; + f = InflaterDecompressor.aFloatArray2075[0]; + NodeList.method1991(f_789_, f_787_, fs, (class124.anIntArray1852[i_781_]), i_785_, false, i_786_, i_783_, (class124.anIntArray1841[i_781_]), (class124.anIntArray1847[i_781_]), f_788_, InflaterDecompressor.aFloatArray2075, i_784_, i_747_); + f_742_ = InflaterDecompressor.aFloatArray2075[1]; + f_741_ = InflaterDecompressor.aFloatArray2075[0]; + NodeList.method1991(f_789_, f_787_, fs, (class124.anIntArray1852[i_782_]), i_785_, false, i_786_, i_783_, (class124.anIntArray1841[i_782_]), (class124.anIntArray1847[i_782_]), f_788_, InflaterDecompressor.aFloatArray2075, i_784_, i_747_); + f_743_ = InflaterDecompressor.aFloatArray2075[0]; + f_744_ = InflaterDecompressor.aFloatArray2075[1]; + } else if (i_748_ == 3) { + Component113.method1367(i_785_, i_786_, f_787_, (class124.anIntArray1841[i_780_]), InflaterDecompressor.aFloatArray2075, (class124.anIntArray1852[i_780_]), i_783_, (class124.anIntArray1847[i_780_]), i_784_, -4, fs); + f_740_ = InflaterDecompressor.aFloatArray2075[1]; + f = InflaterDecompressor.aFloatArray2075[0]; + Component113.method1367(i_785_, i_786_, f_787_, (class124.anIntArray1841[i_781_]), InflaterDecompressor.aFloatArray2075, (class124.anIntArray1852[i_781_]), i_783_, (class124.anIntArray1847[i_781_]), i_784_, -4, fs); + f_741_ = InflaterDecompressor.aFloatArray2075[0]; + f_742_ = InflaterDecompressor.aFloatArray2075[1]; + Component113.method1367(i_785_, i_786_, f_787_, (class124.anIntArray1841[i_782_]), InflaterDecompressor.aFloatArray2075, (class124.anIntArray1852[i_782_]), i_783_, (class124.anIntArray1847[i_782_]), i_784_, -4, fs); + f_744_ = InflaterDecompressor.aFloatArray2075[1]; + f_743_ = InflaterDecompressor.aFloatArray2075[0]; + if ((0x1 & i_786_) == 0) { + if (-f + f_743_ > 0.5F) { + i_746_ = 1; + f_743_--; + } else if (f - f_743_ > 0.5F) { + i_746_ = 2; + f_743_++; + } + if (f_741_ - f > 0.5F) { + i_745_ = 1; + f_741_--; + } else if (-f_741_ + f > 0.5F) { + i_745_ = 2; + f_741_++; + } + } else { + if (-f_740_ + f_742_ > 0.5F) { + i_745_ = 1; + f_742_--; + } else if (f_740_ - f_742_ > 0.5F) { + f_742_++; + i_745_ = 2; + } + if (f_744_ - f_740_ > 0.5F) { + f_744_--; + i_746_ = 1; + } else if (f_740_ - f_744_ > 0.5F) { + i_746_ = 2; + f_744_++; + } + } + } + } + } + } + byte i_807_; + if (class124.aByteArray1843 != null) i_807_ = class124.aByteArray1843[i_735_]; + else i_807_ = (byte) 0; + if (i_807_ == 0) { + long l = ((((long) (i_736_ << 8) + ((long) (i_747_ << 24) + (long) i_738_)) << 32) + (long) (i_737_ << 2)); + short i_808_ = class124.aShortArray1863[i_735_]; + short i_809_ = class124.aShortArray1835[i_735_]; + short i_810_ = class124.aShortArray1855[i_735_]; + DisplayModeManagerContainer345 class8 = class8s[i_808_]; + aShortArray5592[i_734_] = method683(class8.anInt162, class8.anInt159, l, class8.anInt161, class124, class8.anInt160, f, 0, i_808_, f_740_); + class8 = class8s[i_809_]; + aShortArray5579[i_734_] = method683(class8.anInt162, class8.anInt159, (long) i_745_ + l, class8.anInt161, class124, class8.anInt160, f_741_, 0, i_809_, f_742_); + class8 = class8s[i_810_]; + aShortArray5566[i_734_] = method683(class8.anInt162, class8.anInt159, l + (long) i_746_, class8.anInt161, class124, class8.anInt160, f_743_, 0, i_810_, f_744_); + } else if (i_807_ == 1) { + DisplayModeManagerContainer322 class347 = class347s[i_735_]; + long l = ((((long) (i_736_ << 8) + (long) (i_747_ << 24) + (long) i_738_) << 32) + (long) (((class347.anInt4282 > 0) ? 1024 : 2048) + (i_737_ << 2) + ((class347.anInt4279) + 256 << 12) - -(256 + (class347.anInt4283) << 22))); + aShortArray5592[i_734_] = method683(class347.anInt4279, class347.anInt4283, l, class347.anInt4282, class124, 0, f, 0, (class124.aShortArray1863[i_735_]), f_740_); + aShortArray5579[i_734_] = method683(class347.anInt4279, class347.anInt4283, l + (long) i_745_, class347.anInt4282, class124, 0, f_741_, 0, (class124.aShortArray1835[i_735_]), f_742_); + aShortArray5566[i_734_] = method683(class347.anInt4279, class347.anInt4283, l + (long) i_746_, class347.anInt4282, class124, 0, f_743_, 0, (class124.aShortArray1855[i_735_]), f_744_); + } + if (class124.aByteArray1834 != null) aByteArray5542[i_734_] = class124.aByteArray1834[i_735_]; + if (class124.aShortArray1856 != null) aShortArray5573[i_734_] = class124.aShortArray1856[i_735_]; + aShortArray5580[i_734_] = class124.aShortArray1862[i_735_]; + aShortArray5601[i_734_] = i_739_; + } + int i_811_ = 0; + short i_812_ = -10000; + for (int i_813_ = 0; i_813_ < anInt5537; i_813_++) { + short i_814_ = aShortArray5601[i_813_]; + if (i_812_ != i_814_) { + i_811_++; + i_812_ = i_814_; + } + } + anIntArray5626 = new int[1 + i_811_]; + i_811_ = 0; + i_812_ = (short) -10000; + for (int i_815_ = 0; anInt5537 > i_815_; i_815_++) { + short i_816_ = aShortArray5601[i_815_]; + if (i_816_ != i_812_) { + anIntArray5626[i_811_++] = i_815_; + i_812_ = i_816_; + } + } + anIntArray5626[i_811_] = anInt5537; + GlFramebufferTexture.aLongArray8530 = null; + aShortArray5564 = Component261.method1078(aShortArray5564, anInt5529, 114); + aShortArray5583 = Component261.method1078(aShortArray5583, anInt5529, 126); + aShortArray5576 = Component261.method1078(aShortArray5576, anInt5529, 100); + aByteArray5594 = ToolkitFactory.method863(anInt5529, (byte) 113, aByteArray5594); + aFloatArray5552 = BuildType.method1638(anInt5529, aFloatArray5552, -1); + aFloatArray5571 = BuildType.method1638(anInt5529, aFloatArray5571, -1); + if (class124.anIntArray1868 != null && Component37.method2332(anInt5556, (byte) 125, i)) anIntArrayArray5539 = class124.method1100(false, -42); + if (class124.aClass162Array1832 != null && Component267.method1633(false, i, anInt5556)) anIntArrayArray5627 = class124.method1093((byte) -69); + if (class124.anIntArray1824 == null || !DisplayModeManagerContainer172.method371(i, 256, anInt5556)) break; + int i_817_ = 0; + int[] is_818_ = new int[256]; + for (int i_819_ = 0; anInt5632 > i_819_; i_819_++) { + int i_820_ = class124.anIntArray1824[is[i_819_]]; + if (i_820_ >= 0) { + if (i_817_ < i_820_) i_817_ = i_820_; + is_818_[i_820_]++; + } + } + anIntArrayArray5553 = new int[i_817_ + 1][]; + for (int i_821_ = 0; i_821_ <= i_817_; i_821_++) { + anIntArrayArray5553[i_821_] = new int[is_818_[i_821_]]; + is_818_[i_821_] = 0; + } + for (int i_822_ = 0; i_822_ < anInt5632; i_822_++) { + int i_823_ = class124.anIntArray1824[is[i_822_]]; + if (i_823_ >= 0) anIntArrayArray5553[i_823_][is_818_[i_823_]++] = i_822_; + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("paa.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + (class124 != null ? "{...}" : "null") + ',' + i + ',' + i_695_ + ',' + i_696_ + ',' + i_697_ + ')')); + } + break; + } while (false); + } +} diff --git a/client/misc/DisplayModeManagerContainer288.java b/client/misc/DisplayModeManagerContainer288.java new file mode 100644 index 000000000..de37099e1 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer288.java @@ -0,0 +1,85 @@ +/* DisplayModeManagerContainer288 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaggl.OpenGL; + +import java.io.IOException; + +final class DisplayModeManagerContainer288 +/** + * RENAMED from `Class14_Sub3` (JODE-obfuscated). + * Evidence: subclass of DisplayModeManagerContainer194 (hierarchy) + */ extends DisplayModeManagerContainer194 implements Interface18_Impl1 { + static int anInt8624; + static int anInt8625; + private final int anInt8626; + static int anInt8627; + static int anInt8628; + private final int anInt8629; + static int anInt8630; + private final int anInt8631; + static int anInt8632; + + DisplayModeManagerContainer288(GlExtensionManager class377, DisplayModeManagerContainer42 class304, int i, int i_0_, int i_1_, byte[] is) { + super(class377, 32879, class304, Component342.aClass68_1183, i_0_ * (i * i_1_), false); + try { + anInt8626 = i_1_; + anInt8631 = i; + anInt8629 = i_0_; + this.aClass377_5082.method3850((byte) 86, this); + OpenGL.glPixelStorei(3317, 1); + OpenGL.glTexImage3Dub(this.anInt5093, 0, this.method228(105), anInt8631, anInt8629, anInt8626, 0, ParametricDefinition.method3055(109, this.aClass304_5084), 5121, is, 0); + OpenGL.glPixelStorei(3317, 4); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qba.(" + (class377 != null ? "{...}" : "null") + ',' + (class304 != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + i_1_ + ',' + (is != null ? "{...}" : "null") + ')')); + } + } + + static final NodeSub51 method247(int i) { + anInt8632++; + RandomAccessFileReader class234 = null; + NodeSub51 class348_sub51 = new NodeSub51(PacketReader.currentGameType, 0); + try { + Task class144 = OggUrlStream.aClass297_8992.openCacheFile((byte) -46, "", true); + while (class144.status == 0) SpriteAtlasShader.sleep((byte) -85, 1L); + if (class144.status == 1) { + class234 = (RandomAccessFileReader) class144.result; + byte[] is = new byte[(int) class234.length((byte) -46)]; + int i_2_; + for (int i_3_ = 0; is.length > i_3_; i_3_ += i_2_) { + i_2_ = class234.read(is, i_3_, (byte) -49, -i_3_ + is.length); + if (i_2_ == -1) throw new IOException("EOF"); + } + class348_sub51 = new NodeSub51(new Buffer(is), (PacketReader.currentGameType), 0); + } + } catch (Exception exception) { + /* empty */ + } + if (i != 24916) return null; + try { + if (class234 != null) class234.close(false); + } catch (Exception exception) { + /* empty */ + } + return class348_sub51; + } + + /** All registered inbound packet opcode descriptors. */ + static final Component183[] allPacketTypes(int i) { + anInt8624++; + if (i != -11271) initDevConsole(39); + return (new Component183[]{Component290.aClass114_2183, DisplayModeManagerContainer61.aClass114_3751, ShaderLinker.aClass114_10168, LruCache.aClass114_4388, DisplayModeManagerContainer167.aClass114_250, Component301.aClass114_4126, Component355.aClass114_3264, Component339.aClass114_3143, Component331.aClass114_1722, HashNodeSub3.aClass114_9503, Component162.aClass114_8385, RenderableObject.aClass114_6383, Connection.aClass114_2665, Component135.aClass114_4421, KeyFocusHandler.aClass114_6528, Component248.aClass114_315, OpenGlShader.aClass114_7398, Component329.aClass114_5992, Component162.aClass114_8384, Component120.aClass114_318, HeapDumper.aClass114_1917, AbstractShaderSub3.aClass114_7301, TeleportHandler.aClass114_4433, ShaderLinker.aClass114_10149, Component338.aClass114_1702, Component39.aClass114_2248, Component20.aClass114_6056, Component37.aClass114_3925, ToolbarRefreshDefinition.aClass114_9225, Component102.aClass114_4798, Component2.aClass114_8365, Component48.aClass114_4331, RadixText.aClass114_6121, NodeSub38.aClass114_7015, Component323.aClass114_5883, DisplayModeManagerContainer213.aClass114_1068, NodeSub45.aClass114_7106, WaterShader.aClass114_7367, Component286.aClass114_1901, DisplayModeManagerContainer136.aClass114_4707, Component354.aClass114_220, ColoredText.aClass114_6089, IOException_Sub1.aClass114_90, Component278.aClass114_3240, Component10.aClass114_3809, DisplayModeManagerContainer130.aClass114_3467, Component71.aClass114_6058, Component316.aClass114_2483, ItemDefinitionProvider.aClass114_3265, NativeLibraryLoader.aClass114_2972, Component262.aClass114_1762, Component279.aClass114_229, Component59.aClass114_1871, Component227.aClass114_1120, DisplayModeManagerContainer238.aClass114_1234, HuffmanDecoder.aClass114_3773, Component92.aClass114_3307, RadixParser.aClass114_2305, Component14.aClass114_8590, DisplayModeManagerContainer332.aClass114_4998, Component16.aClass114_2279, GradientPreset.aClass114_9197, ParticleSystem.aClass114_7124, Component235.aClass114_3371, LibraryCreditsText.aClass114_5950, Component231.aClass114_330, DisplayModeManagerContainer32.aClass114_843, Component35.aClass114_4272, DisplayModeManagerContainer346.aClass114_2068, LibraryCreditsText.aClass114_5949, Component248.aClass114_304, InputStream_Sub2.aClass114_82, CacheNode.aClass114_9552, DefinitionSub19.aClass114_9254, Component219.aClass114_6340, InputStream_Sub1.aClass114_79, DisplayModeManagerContainer306.aClass114_4779, Component75.aClass114_2285, Component227.aClass114_1123, Component333.aClass114_3641, Component218.aClass114_2335, Component211.aClass114_1959, RenderableSub6.aClass114_6424, NodeSub1Sub2.aClass114_8817, HeapDumper.aClass114_1914, DefinitionSub24.aClass114_9324, NodeSub41.aClass114_7052, Component35.aClass114_4269, Component6.aClass114_4477, Component287.aClass114_6075, ImageCacheStore.aClass114_4027, DefinitionSub15.aClass114_9216, DisplayModeManagerContainer109.aClass114_2338, Component119.aClass114_3427, Component275.aClass114_2693, Component120.aClass114_316, AbstractShaderSub4.aClass114_7324, NodeSub46.aClass114_7113, Component291.aClass114_2527, Component39.aClass114_2255, Component317.aClass114_8683, NodeSub45.aClass114_7105, DefinitionSub19.aClass114_9257, WaterShaderSub8.aClass114_7363, DefinitionSub22.aClass114_9285, AbstractShaderSub4.aClass114_7323, SceneManager.aClass114_2860, Component327.aClass114_8756, Component339.aClass114_3135, CacheNode.aClass114_9550, Component223.aClass114_123, Component385.aClass114_2196, Component235.aClass114_3368, Component181.aClass114_1540, DisplayModeManagerContainer165.aClass114_3842, DisplayModeManagerContainer341.aClass114_5997, Component236.aClass114_4015, Component63.aClass114_4500, Component246.aClass114_2717, MatrixSub2.aClass114_5742, Component218.aClass114_2331}); + } + + /** Allocate console line buffer and print the developer-console banner. */ + static final void initDevConsole(int i) { + anInt8627++; + ArbShaderProgram.consoleLines = new String[500]; + ImageProducerSprite.consolePromptHeight = 2 + (Component27.aClass143_4962.descent + Component27.aClass143_4962.maxAscent); + Component342.consoleLineHeight = (Component163.aClass143_3179.maxAscent - (-Component163.aClass143_3179.descent - i)); + for (int i_4_ = 0; (i_4_ < ArbShaderProgram.consoleLines.length); i_4_++) + ArbShaderProgram.consoleLines[i_4_] = ""; + Applet_Sub1.printConsole(FriendsIgnoreList.aClass274_3483.getLocalized(ObjectDeserializer.languageId, 544), 67); + } +} diff --git a/client/misc/DisplayModeManagerContainer292.java b/client/misc/DisplayModeManagerContainer292.java new file mode 100644 index 000000000..b1cea0083 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer292.java @@ -0,0 +1,330 @@ +/* DisplayModeManagerContainer292 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer292 +/** + * RENAMED from `Class170` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ implements Interface17 { + static int anInt5062; + int[] anIntArray5063; + static int anInt5064; + static int anInt5065; + static int anInt5066; + static Component251 aClass237_Sub1_5067; + static int anInt5068; + static int anInt5069; + private LruCache aClass356_5070 = new LruCache(128); + static int anInt5071; + static int anInt5072; + static int anInt5073; + static int anInt5074; + static int anInt5075; + static int anInt5076; + static int anInt5077; + private final int[] anIntArray5078; + static int anInt5079; + static int anInt5080; + static int anInt5081; + + final int method1305(byte i, boolean bool) { + anInt5071++; + if (i >= -124) method1308(-105, 89, -65, -52, (byte) 76, 37, -61, 73); + long l = Component240.currentTimeMillis(-79); + for (NodeSub14 class348_sub14 = (bool ? (NodeSub14) aClass356_5070.first(0) : (NodeSub14) aClass356_5070.next(0)); class348_sub14 != null; class348_sub14 = (NodeSub14) aClass356_5070.next(0)) { + if (l > (class348_sub14.aLong6762 & 0x3fffffffffffffffL)) { + if ((0x4000000000000000L & class348_sub14.aLong6762) != 0L) { + int i_0_ = (int) class348_sub14.key; + this.anIntArray5063[i_0_] = anIntArray5078[i_0_]; + class348_sub14.unlink((byte) 31); + return i_0_; + } + class348_sub14.unlink((byte) 75); + } + } + return -1; + } + + final void method1306(byte i, int i_1_, int i_2_) { + if (i == -78) { + anInt5066++; + this.anIntArray5063[i_2_] = i_1_; + NodeSub14 class348_sub14 = ((NodeSub14) aClass356_5070.get(i_2_, -6008)); + if (class348_sub14 == null) { + class348_sub14 = new NodeSub14(500L + Component240.currentTimeMillis(-122)); + aClass356_5070.put((byte) 73, i_2_, class348_sub14); + } else class348_sub14.aLong6762 = Component240.currentTimeMillis(-88) - -500L; + } + } + + public final int method62(int i, int i_3_) { + anInt5068++; + Component334 class146 = Component267.aClass194_2981.method1446(i, -1); + int i_4_ = class146.anInt2019; + if (i_3_ != -65536) return -52; + int i_5_ = class146.anInt2016; + int i_6_ = class146.anInt2020; + int i_7_ = Component30.anIntArray1885[-i_5_ + i_6_]; + return this.anIntArray5063[i_4_] >> i_5_ & i_7_; + } + + final void method1307(int i, int i_8_, int i_9_) { + anInt5074++; + Component334 class146 = Component267.aClass194_2981.method1446(i, -1); + int i_10_ = class146.anInt2019; + int i_11_ = class146.anInt2016; + int i_12_ = class146.anInt2020; + int i_13_ = Component30.anIntArray1885[-i_11_ + i_12_]; + if (i_8_ < (~i_9_) || i_13_ < i_9_) i_9_ = 0; + i_13_ <<= i_11_; + method1306((byte) -78, i_9_ << i_11_ & i_13_ | (this.anIntArray5063[i_10_]) & (~i_13_), i_10_); + } + + static final void method1308(int i, int i_14_, int i_15_, int i_16_, byte i_17_, int i_18_, int i_19_, int i_20_) { + anInt5072++; + if (Component27.anInt4960 <= i_15_ && i_19_ <= Component22.anInt1745 && i_14_ >= Component72.anInt1910 && PauseTimer.anInt513 >= i_20_) Component272.method1730(i_16_, i_20_, i_14_, i_19_, i, i_18_, -128, i_15_); + else BufferCacheSub3.method4004(i_20_, i_19_, i_14_, i, i_18_, -80, i_15_, i_16_); + if (i_17_ > -113) aClass237_Sub1_5067 = null; + } + + static final void method1309(boolean bool, int i) { + if (Component44.aClass311_897 == null) DisplayModeManagerContainer88.method726(92); + if (i < 116) aClass237_Sub1_5067 = null; + anInt5062++; + if (bool) Component44.aClass311_897.method2326(96); + } + + public static void method1310(boolean bool) { + if (bool == true) aClass237_Sub1_5067 = null; + } + + static final void method1311(int i, GraphicsToolkit var_ha) { + HelveticaFont.aClass352Array2636 = new Component48[NodeSub1.anIntArray6547.length]; + anInt5064++; + if (i != 5139) anInt5065 = 62; + for (int i_21_ = 0; (i_21_ < NodeSub1.anIntArray6547.length); i_21_++) { + int i_22_ = NodeSub1.anIntArray6547[i_21_]; + Component184 class143 = Component98.method1766((byte) -86, i_22_, s.aClass45_4585); + BitmapFont class324 = var_ha.method3686(class143, Component170.method1523(DisplayModeManagerContainer271.aClass45_518, i_22_), true); + HelveticaFont.aClass352Array2636[i_21_] = new Component48(class324, class143); + } + } + + static final RSACipher method1312(byte i, Buffer class348_sub49) { + anInt5075++; + int i_23_ = class348_sub49.readInt((byte) -126); + if (i < 47) method1315(4); + return new RSACipher(i_23_); + } + + final void method1313(byte i, int i_24_, int i_25_) { + anInt5073++; + if (i != 42) anInt5065 = -16; + anIntArray5078[i_25_] = i_24_; + NodeSub14 class348_sub14 = ((NodeSub14) aClass356_5070.get(i_25_, i + -6050)); + if (class348_sub14 == null) { + class348_sub14 = new NodeSub14(4611686018427387905L); + aClass356_5070.put((byte) 19, i_25_, class348_sub14); + } else if (class348_sub14.aLong6762 != 4611686018427387905L) class348_sub14.aLong6762 = 0x4000000000000000L | 500L + Component240.currentTimeMillis(-108); + } + + final void method1314(byte i) { + for (int i_26_ = 0; (i_26_ < Component209.aClass217_3453.anInt2845); i_26_++) { + Component146 class159 = Component209.aClass217_3453.method1588(-105, i_26_); + if (class159 != null && class159.anInt2125 == 0) { + anIntArray5078[i_26_] = 0; + this.anIntArray5063[i_26_] = 0; + } + } + anInt5076++; + aClass356_5070 = new LruCache(128); + int i_27_ = -69 % ((25 - i) / 39); + } + + public final int method61(int i, byte i_28_) { + anInt5081++; + if (i_28_ != -16) anInt5065 = 51; + return this.anIntArray5063[i]; + } + + static final void method1315(int i) { + anInt5077++; + if (Component203.aClass144_8766 != null) { + if (Component203.aClass144_8766.status == 1) { + Component203.aClass144_8766 = null; + return; + } + if (Component203.aClass144_8766.status == 2) { + BrowserUrlOpener.openUrl(Component195.aClass297_5017, CacheNode.aString9554, -120, 2); + Component203.aClass144_8766 = null; + return; + } + } + int i_29_ = -31 / ((-29 - i) / 61); + } + + final void method1316(byte i, int i_30_, int i_31_) { + anInt5069++; + Component334 class146 = Component267.aClass194_2981.method1446(i_30_, -1); + int i_32_ = class146.anInt2019; + int i_33_ = class146.anInt2016; + if (i < -56) { + int i_34_ = class146.anInt2020; + int i_35_ = Component30.anIntArray1885[i_34_ - i_33_]; + if (i_31_ < 0 || i_35_ < i_31_) i_31_ = 0; + i_35_ <<= i_33_; + method1313((byte) 42, (i_31_ << i_33_ & i_35_ | (~i_35_) & anIntArray5078[i_32_]), i_32_); + } + } + + static final boolean method1317(int i, byte i_36_, int i_37_) { + anInt5079++; + if (i_36_ >= -67) method1317(43, (byte) 36, 20); + return InterfaceRenderer.method2217(i, i_37_, 0) | (i_37_ & 0x70000) != 0 || Component235.method2015(i_37_, i, 7); + } + + static final void method1318(int i) { + if (i != -65536) method1310(false); + for (int i_38_ = 0; i_38_ < DisplayModeManagerContainer204.anInt1597; i_38_++) { + int i_39_ = Component354.anIntArray224[i_38_]; + Npc npc = (((NodeSub22) Component21.aClass356_3654.get(i_39_, -6008)).npc); + int i_40_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + if ((0x10 & i_40_) != 0) i_40_ += Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(i ^ ~0xff00) << 8; + if ((0x2 & i_40_) != 0) { + if (npc.definition.method793(i ^ ~0xffff)) Component298.method181(true, npc); + npc.method2448((Component291.aClass278_2529.method2079(Component80.aClass348_Sub49_Sub2_3813.readShortAdd(-1), -1)), -2); + npc.method2434((byte) 95, npc.definition.anInt1399); + npc.anInt10310 = npc.definition.anInt1329 << 3; + if (npc.definition.method793(0)) DisplayModeManagerContainer369.method1614(979190089, npc, (npc.plane), (npc.anIntArray10317[0]), (npc.anIntArray10320[0]), null, null, 0); + } + if ((0x8 & i_40_) != 0) { + int[] is = new int[4]; + for (int i_41_ = 0; i_41_ < 4; i_41_++) { + is[i_41_] = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + if (is[i_41_] == 65535) is[i_41_] = -1; + } + int i_42_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -121); + NpcDefinition.method2931(i_42_, (byte) 115, is, npc); + } + if ((i_40_ & 0x20) != 0) { + int i_43_ = Component80.aClass348_Sub49_Sub2_3813.readShortLittle(false); + int i_44_ = Component80.aClass348_Sub49_Sub2_3813.readIntMiddleEndian((byte) 82); + if (i_43_ == 65535) i_43_ = -1; + int i_45_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + int i_46_ = 0x7 & i_45_; + int i_47_ = (i_45_ & 0x79) >> 3; + if (i_47_ == 15) i_47_ = -1; + npc.method2437(i_46_, i_43_, i ^ 0x3c569b2e, i_47_, false, i_44_); + } + if ((0x4000 & i_40_) != 0) { + int i_48_ = Component80.aClass348_Sub49_Sub2_3813.readByteInverse((byte) 21); + int[] is = new int[i_48_]; + int[] is_49_ = new int[i_48_]; + int[] is_50_ = new int[i_48_]; + for (int i_51_ = 0; i_48_ > i_51_; i_51_++) { + int i_52_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + if (i_52_ == 65535) i_52_ = -1; + is[i_51_] = i_52_; + is_49_[i_51_] = Component80.aClass348_Sub49_Sub2_3813.readByteInverse((byte) 21); + is_50_[i_51_] = Component80.aClass348_Sub49_Sub2_3813.readShortAddLittle(-109); + } + WaterShaderSub8.method3548(-7387, npc, is_50_, is, is_49_); + } + if ((i_40_ & 0x200) != 0) { + int i_53_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -121); + int[] is = new int[i_53_]; + int[] is_54_ = new int[i_53_]; + for (int i_55_ = 0; i_53_ > i_55_; i_55_++) { + int i_56_ = Component80.aClass348_Sub49_Sub2_3813.readShortAdd(124); + if ((0xc000 & i_56_) == 49152) { + int i_57_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(i + 842463480); + is[i_55_] = Component224.bitwiseOr(i_57_, i_56_ << 16); + } else is[i_55_] = i_56_; + is_54_[i_55_] = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + } + npc.method2430(is_54_, is, -100); + } + if ((0x4 & i_40_) != 0) { + npc.anInt10499 = Component80.aClass348_Sub49_Sub2_3813.readShortAdd(124); + npc.anInt10512 = Component80.aClass348_Sub49_Sub2_3813.readShortLittle(false); + } + if ((0x1000 & i_40_) != 0) { + npc.anInt10293 = Component80.aClass348_Sub49_Sub2_3813.readByteSubtract(-27697); + npc.anInt10314 = Component80.aClass348_Sub49_Sub2_3813.readByteSubtract(-27697); + npc.anInt10241 = Component80.aClass348_Sub49_Sub2_3813.readByte(-128); + npc.anInt10288 = Component80.aClass348_Sub49_Sub2_3813.readByteSubtract(-27697); + npc.anInt10239 = (Component80.aClass348_Sub49_Sub2_3813.readShortLittle(false) + OpenGlShader.clientCycle); + npc.anInt10300 = (Component80.aClass348_Sub49_Sub2_3813.readShortAdd(12) - -OpenGlShader.clientCycle); + npc.anInt10231 = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) 66); + npc.anInt10314 += npc.anIntArray10317[0]; + npc.anInt10322 = 0; + npc.anInt10288 += npc.anIntArray10317[0]; + npc.anInt10293 += npc.anIntArray10320[0]; + npc.anInt10241 += npc.anIntArray10320[0]; + npc.anInt10319 = 1; + } + if ((i_40_ & 0x2000) != 0) { + npc.aByte10255 = Component80.aClass348_Sub49_Sub2_3813.readByteInverse(-622951480); + npc.aByte10206 = Component80.aClass348_Sub49_Sub2_3813.readByteSubtract(-27697); + npc.aByte10270 = Component80.aClass348_Sub49_Sub2_3813.readByteInverse(i + -622885944); + npc.aByte10279 = (byte) Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + npc.anInt10248 = OpenGlShader.clientCycle + Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + npc.anInt10250 = OpenGlShader.clientCycle + Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + } + if ((i_40_ & 0x40) != 0) { + int i_58_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -100); + if (i_58_ > 0) { + for (int i_59_ = 0; i_58_ > i_59_; i_59_++) { + int i_60_ = -1; + int i_61_ = -1; + int i_62_ = -1; + int i_63_ = Component80.aClass348_Sub49_Sub2_3813.readSmart(-126); + if (i_63_ == 32767) { + i_63_ = Component80.aClass348_Sub49_Sub2_3813.readSmart(-118); + i_61_ = Component80.aClass348_Sub49_Sub2_3813.readSmart(-117); + i_60_ = Component80.aClass348_Sub49_Sub2_3813.readSmart(-122); + i_62_ = Component80.aClass348_Sub49_Sub2_3813.readSmart(-123); + } else if (i_63_ != 32766) i_61_ = Component80.aClass348_Sub49_Sub2_3813.readSmart(-123); + else i_63_ = -1; + int i_64_ = Component80.aClass348_Sub49_Sub2_3813.readSmart(-122); + int i_65_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + npc.method2438(i_61_, OpenGlShader.clientCycle, i_63_, i_62_, i_60_, i_64_, i_65_, (byte) 124); + } + } + } + if ((i_40_ & 0x80) != 0) { + npc.anInt10275 = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + if ((npc.anInt10275) == 65535) npc.anInt10275 = -1; + } + if ((0x1 & i_40_) != 0) { + npc.aString10292 = Component80.aClass348_Sub49_Sub2_3813.readString((byte) 121); + npc.anInt10264 = 100; + } + if ((i_40_ & 0x800) != 0) { + int i_66_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + npc.anInt10227 = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -84); + npc.anInt10271 = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -88); + npc.anInt10210 = 0x7fff & i_66_; + npc.aBoolean10226 = (0x8000 & i_66_) != 0; + npc.anInt10287 = (npc.anInt10227 + OpenGlShader.clientCycle + npc.anInt10210); + } + if ((i_40_ & 0x400) != 0) { + int i_67_ = Component80.aClass348_Sub49_Sub2_3813.readShortLittle(false); + int i_68_ = Component80.aClass348_Sub49_Sub2_3813.readIntLittle((byte) -127); + if (i_67_ == 65535) i_67_ = -1; + int i_69_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -116); + int i_70_ = i_69_ & 0x7; + int i_71_ = (i_69_ & 0x7e) >> 3; + if (i_71_ == 15) i_71_ = -1; + npc.method2437(i_70_, i_67_, i ^ 0x3c569b2e, i_71_, true, i_68_); + } + } + anInt5080++; + } + + public DisplayModeManagerContainer292() { + this.anIntArray5063 = new int[Component209.aClass217_3453.anInt2845]; + anIntArray5078 = new int[Component209.aClass217_3453.anInt2845]; + } +} diff --git a/client/misc/DisplayModeManagerContainer295.java b/client/misc/DisplayModeManagerContainer295.java new file mode 100644 index 000000000..cadf648d9 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer295.java @@ -0,0 +1,233 @@ +/* DisplayModeManagerContainer295 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer295 +/** + * RENAMED from `Class239_Sub8` (JODE-obfuscated). + * Evidence: subclass of Component339 (hierarchy) + */ extends Component339 { + static int anInt5911; + static int anInt5912; + static int anInt5913; + static int anInt5914; + static int anInt5915; + static int anInt5916; + static int anInt5917; + static int anInt5918; + static int anInt5919; + static int anInt5920; + static int[][] anIntArrayArray5921; + static int anInt5922; + static int anInt5923; + static int anInt5924; + + static final int method1749(Component362 class110_sub1, Component362 class110_sub1_0_, boolean bool, int i, byte i_1_) { + try { + anInt5916++; + if (i == 1) { + int i_2_ = class110_sub1.anInt1704; + int i_3_ = class110_sub1_0_.anInt1704; + if (!bool) { + if (i_2_ == -1) i_2_ = 2001; + if (i_3_ == -1) i_3_ = 2001; + } + return -i_3_ + i_2_; + } + if (i == 2) return (Component71.method1811(9152, (class110_sub1_0_.method1038(false).aString3663), ObjectDeserializer.languageId, (class110_sub1.method1038(false).aString3663))); + if (i == 3) { + if (class110_sub1.aString5787.equals("-")) { + if (class110_sub1_0_.aString5787.equals("-")) return 0; + if (bool) return -1; + return 1; + } else if (class110_sub1_0_.aString5787.equals("-")) { + if (!bool) return -1; + return 1; + } + return (Component71.method1811(9152, class110_sub1_0_.aString5787, ObjectDeserializer.languageId, class110_sub1.aString5787)); + } + if (i == 4) { + if (!class110_sub1.method1033(-85)) { + if (!class110_sub1_0_.method1033(101)) return 0; + return -1; + } + if (class110_sub1_0_.method1033(70)) return 0; + return 1; + } + if (i == 5) { + if (class110_sub1.method1036((byte) -35)) { + if (!class110_sub1_0_.method1036((byte) -35)) return 1; + return 0; + } + if (!class110_sub1_0_.method1036((byte) -35)) return 0; + return -1; + } + if (i == 6) { + if (class110_sub1.method1031(i_1_ ^ ~0x61)) { + if (class110_sub1_0_.method1031(-105)) return 0; + return 1; + } + if (class110_sub1_0_.method1031(i_1_ ^ ~0x60)) return -1; + return 0; + } + if (i_1_ != -30) return 63; + if (i == 7) { + if (class110_sub1.method1029(true)) { + if (!class110_sub1_0_.method1029(true)) return 1; + return 0; + } + if (class110_sub1_0_.method1029(true)) return -1; + return 0; + } + if (i == 8) { + int i_4_ = class110_sub1.anInt5788; + int i_5_ = class110_sub1_0_.anInt5788; + if (bool) { + if (i_5_ == 1000) i_5_ = -1; + if (i_4_ == 1000) i_4_ = -1; + } else { + if (i_5_ == -1) i_5_ = 1000; + if (i_4_ == -1) i_4_ = 1000; + } + return -i_5_ + i_4_; + } + return (class110_sub1.anInt5786 + -class110_sub1_0_.anInt5786); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("mfa.L(" + (class110_sub1 != null ? "{...}" : "null") + ',' + (class110_sub1_0_ != null ? "{...}" : "null") + ',' + bool + ',' + i + ',' + i_1_ + ')')); + } + } + + final int method1710(int i) { + if (i != 20014) method1749(null, null, false, 94, (byte) -39); + anInt5914++; + // Prefer fullscreen 800x600 on mobile (voidawt fakes exclusive FS). + return 3; + } + + static final void method1750(int i, int i_6_) { + anInt5912++; + HashNodeSub1.anInt9488 = i_6_; + Connection.aClass60_2671.clear(0); + } + + final int method1751(int i) { + anInt5917++; + if (i != -32350) anInt5911 = 114; + return this.anInt3138; + } + + DisplayModeManagerContainer295(NodeSub51 class348_sub51) { + super(class348_sub51); + } + + DisplayModeManagerContainer295(int i, NodeSub51 class348_sub51) { + super(i, class348_sub51); + } + + final void method1712(int i, int i_7_) { + int i_8_ = -87 / ((i - 82) / 35); + anInt5915++; + this.anInt3138 = i_7_; + } + + final int method1714(int i, int i_9_) { + if (i != 3) anInt5911 = 95; + anInt5923++; + return 1; + } + + static final void method1752(int i, int i_10_, int i_11_) { + Component210.anInt5283 = i_11_; + anInt5922++; + HashTable.anInt1651 = i_10_; + if (i == -1) { + if (Buffer.anInt7207 == 0) { + Component25.anInt6008 = (2 * Component140.anInt10444 + HashTable.anInt1651); + GpiLogger.anInt8854 = DisplayModeManagerContainer159.anInt2747 * 2 + Component210.anInt5283; + } else if (Buffer.anInt7207 == 1) { + Component82.anInt425 = (Component205.anInt5965 + Component210.anInt5283 / Component255.anInt1067 - -2); + AudioMixer.anInt3225 = (DisplayModeManagerContainer306.anInt4784 + HashTable.anInt1651 / AbstractBuffer.anInt4267 - -2); + GpiLogger.anInt8854 = Component255.anInt1067 * Component82.anInt425; + Component25.anInt6008 = AbstractBuffer.anInt4267 * AudioMixer.anInt3225; + DisplayModeManagerContainer159.anInt2747 = (-Component210.anInt5283 + GpiLogger.anInt8854 >> 1); + Component140.anInt10444 = (Component25.anInt6008 - HashTable.anInt1651 >> 1); + } else if (Buffer.anInt7207 == 2) { + GpiLogger.anInt8854 = Component210.anInt5283; + Component25.anInt6008 = HashTable.anInt1651; + } + } + } + + static final String method1753(int i, DisplayModeManagerContainer57 class46) { + anInt5924++; + if (client.method105(class46).method3307(116) == 0) return null; + if (class46.aString780 == null || class46.aString780.trim().length() == 0) { + if (DisplayModeManagerContainer356.aBoolean6327) return "Hidden-use"; + return null; + } + if (i != 0) return null; + return class46.aString780; + } + + final void method1716(boolean bool) { + anInt5913++; + if (this.anInt3138 < 1 || this.anInt3138 > 3) this.anInt3138 = method1710(20014); + if (bool != false) anIntArrayArray5921 = null; + } + + static final int method1754(boolean bool, int i, int i_12_, int i_13_) { + anInt5920++; + if (Node.anInt4290 < 100) return -2; + if (bool != true) method1754(false, 115, 112, -104); + int i_14_ = -2; + int i_15_ = 2147483647; + int i_16_ = i_12_ - DisplayModeManagerContainer229.anInt1266; + int i_17_ = i_13_ - DisplayModeManagerContainer229.anInt1263; + for (NodeSub21 class348_sub21 = (NodeSub21) DisplayModeManagerContainer229.aClass262_1254.first(4); class348_sub21 != null; class348_sub21 = (NodeSub21) DisplayModeManagerContainer229.aClass262_1254.next((byte) 113)) { + if (class348_sub21.anInt6847 == i) { + int i_18_ = class348_sub21.anInt6852; + int i_19_ = class348_sub21.anInt6851; + int i_20_ = (i_19_ - -DisplayModeManagerContainer229.anInt1263 | DisplayModeManagerContainer229.anInt1266 + i_18_ << 14); + int i_21_ = ((-i_19_ + i_17_) * (-i_19_ + i_17_) + (i_16_ - i_18_) * (-i_18_ + i_16_)); + if (i_14_ < 0 || i_15_ > i_21_) { + i_15_ = i_21_; + i_14_ = i_20_; + } + } + } + return i_14_; + } + + public static void method1755(int i) { + anIntArrayArray5921 = null; + if (i != 1) method1749(null, null, false, -43, (byte) 102); + } + + static final int method1756(byte[] is, int i, int i_22_, int i_23_, byte[][] is_24_, byte[][] is_25_, int[] is_26_, int[] is_27_) { + try { + anInt5918++; + int i_28_ = -19 % ((i - 64) / 39); + int i_29_ = is_26_[i_23_]; + int i_30_ = is_27_[i_23_] + i_29_; + int i_31_ = is_26_[i_22_]; + int i_32_ = is_27_[i_22_] + i_31_; + int i_33_ = i_29_; + if (i_29_ < i_31_) i_33_ = i_31_; + int i_34_ = i_30_; + if (i_32_ < i_30_) i_34_ = i_32_; + int i_35_ = 0xff & is[i_23_]; + if (i_35_ > (is[i_22_] & 0xff)) i_35_ = 0xff & is[i_22_]; + byte[] is_36_ = is_25_[i_23_]; + byte[] is_37_ = is_24_[i_22_]; + int i_38_ = i_33_ + -i_29_; + int i_39_ = -i_31_ + i_33_; + for (int i_40_ = i_33_; i_34_ > i_40_; i_40_++) { + int i_41_ = is_37_[i_39_++] + is_36_[i_38_++]; + if (i_41_ < i_35_) i_35_ = i_41_; + } + return -i_35_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("mfa.K(" + (is != null ? "{...}" : "null") + ',' + i + ',' + i_22_ + ',' + i_23_ + ',' + (is_24_ != null ? "{...}" : "null") + ',' + (is_25_ != null ? "{...}" : "null") + ',' + (is_26_ != null ? "{...}" : "null") + ',' + (is_27_ != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/misc/DisplayModeManagerContainer306.java b/client/misc/DisplayModeManagerContainer306.java new file mode 100644 index 000000000..94fd567ca --- /dev/null +++ b/client/misc/DisplayModeManagerContainer306.java @@ -0,0 +1,81 @@ +/* DisplayModeManagerContainer306 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer306 +/** + * RENAMED from `Class73` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ implements Interface7 { + static float[] aFloatArray4772; + static int anInt4773; + static int anInt4774; + static int anInt4775; + /** Number of {@link MenuEntry} rows currently in {@link DefinitionSub4#menuEntries}. */ + static int menuEntryCount; + static int anInt4777; + private final String aString4778; + static Component183 aClass114_4779; + static int[] anIntArray4780; + static int anInt4781; + static Component386 aClass219_4782; + static long aLong4783 = 20000000L; + static int anInt4784; + private final CacheStore aClass45_4785; + static int anInt4786; + + public static void method741(byte i) { + aFloatArray4772 = null; + anIntArray4780 = null; + if (i != -128) method743(113, -98); + aClass114_4779 = null; + aClass219_4782 = null; + } + + static final Component291 method742(int i, int i_0_) { + anInt4777++; + Component291 class189 = (Component291) Component46.aClass60_2844.get(i_0_, -104); + if (class189 != null) return class189; + byte[] is = Component76.aClass45_8601.getFile(-1860, 0, i_0_); + if (i != 104) method741((byte) 98); + class189 = new Component291(); + if (is != null) class189.method1419(i_0_, new Buffer(is), (byte) 64); + Component46.aClass60_2844.putOne(class189, i_0_, (byte) -114); + return class189; + } + + public final int method31(int i) { + int i_1_ = -62 / ((i - -43) / 62); + anInt4774++; + if (aClass45_4785.contains((byte) -74, aString4778)) return 100; + return 0; + } + + static final void method743(int i, int i_2_) { + anInt4775++; + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i_2_, (byte) 105, i);//9 + class348_sub42_sub15.method3251(i ^ ~0x3eb0); + } + + public final Component325 method32(int i) { + anInt4781++; + if (i != -15004) aFloatArray4772 = null; + return Component325.aClass69_1197; + } + + DisplayModeManagerContainer306(CacheStore class45, String string) { + try { + aClass45_4785 = class45; + aString4778 = string; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("kk.(" + (class45 != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ')')); + } + } + + static { + menuEntryCount = 0; + aFloatArray4772 = new float[16]; + anIntArray4780 = new int[]{104, 120, 136, 168}; + aClass114_4779 = new Component183(76, 6); + } +} diff --git a/client/misc/DisplayModeManagerContainer310.java b/client/misc/DisplayModeManagerContainer310.java new file mode 100644 index 000000000..4641e013d --- /dev/null +++ b/client/misc/DisplayModeManagerContainer310.java @@ -0,0 +1,43 @@ +/* DisplayModeManagerContainer310 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer310 +/** + * RENAMED from `Class24` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt354; + static NodeCache aClass60_355 = new NodeCache(260); + static int anInt356; + static Component327[] aClass318_Sub1_Sub3Array357; + static byte[][] aByteArrayArray358 = new byte[1000][]; + static int anInt359; + + public static void method296(byte i) { + if (i != -99) method298(false, 24, -128, 22, -7); + aClass60_355 = null; + aByteArrayArray358 = null; + aClass318_Sub1_Sub3Array357 = null; + } + + static final void method297(boolean bool) { + if (bool != false) aClass60_355 = null; + Component298.aClass60_4636.clear(0); + anInt356++; + } + + static final void method298(boolean bool, int i, int i_0_, int i_1_, int i_2_) { + anInt354++; + if (Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) == 0) HashNodeSub3.method3177(-98, false); + else { + Component331.anInt1720 = Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350); + SoftwareFallbackShader.method3553(true, (byte) 103, 0); + } + TheoraVideoPlayer.aBoolean1500 = bool; + NewsFetcher.anInt4202 = i; + Component60.anInt5909 = i_0_; + DisplayModeManagerContainer229.method754(i_1_); + if (i_2_ > -41) method297(true); + } +} diff --git a/client/misc/DisplayModeManagerContainer318.java b/client/misc/DisplayModeManagerContainer318.java new file mode 100644 index 000000000..359e7942e --- /dev/null +++ b/client/misc/DisplayModeManagerContainer318.java @@ -0,0 +1,31 @@ +/* DisplayModeManagerContainer318 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jagdx.IDirect3DBaseTexture; + +abstract class DisplayModeManagerContainer318 +/** + * RENAMED from `Class310` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + boolean aBoolean3892; + D3DToolkit aClass378_3893; + Component246 aClass209_3894 = DisplayModeManagerContainer5.aClass209_1212; + Component342 aClass68_3895; + DisplayModeManagerContainer42 aClass304_3896; + + void method64(Component246 class209, int i) { + this.aClass209_3894 = class209; + if (i != -22095) method64(null, -80); + } + + abstract IDirect3DBaseTexture method2314(int i); + + DisplayModeManagerContainer318(D3DToolkit class378, DisplayModeManagerContainer42 class304, Component342 class68, boolean bool, int i) { + this.aClass68_3895 = class68; + this.aClass378_3893 = class378; + this.aBoolean3892 = bool; + this.aClass304_3896 = class304; + } +} diff --git a/client/misc/DisplayModeManagerContainer32.java b/client/misc/DisplayModeManagerContainer32.java new file mode 100644 index 000000000..000a926e7 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer32.java @@ -0,0 +1,59 @@ +/* DisplayModeManagerContainer32 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +abstract class DisplayModeManagerContainer32 +/** + * RENAMED from `Class47` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static Component183 aClass114_843; + static int anInt844; + static boolean aBoolean845 = false; + static int anInt846 = 0; + + public DisplayModeManagerContainer32() { + /* empty */ + } + + public static void method445(int i) { + if (i == 2) aClass114_843 = null; + } + + abstract long method446(int i); + + static final void method447(byte i) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub27_7255), 1); + anInt844++; + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub27_7261), 1); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub14_7250), 2); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub14_7264), 2); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub4_7220), 1); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub9_7256), 1); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub13_7236), 1); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub1_7246), 1); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub21_7270), 1); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub24_7235), 1); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub7_7238), 1); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub28_7230), 1); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub18_7259), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub16_7247), 1); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub20_7216), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub20_7248), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub15_7224), 1); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub6_7226), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub12_7243), 0); + DisplayModeManagerContainer87.method1686(-126); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub23_7231), 1); + if (i == -59) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub29_7229), 3); + Definition.method3038(i ^ 0x3a); + DisplayModeManagerContainer154.method773(true); + RuntimeException_Sub1.aBoolean4604 = true; + } + } + + static { + aClass114_843 = new Component183(66, 8); + } +} diff --git a/client/misc/DisplayModeManagerContainer322.java b/client/misc/DisplayModeManagerContainer322.java new file mode 100644 index 000000000..3e554b829 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer322.java @@ -0,0 +1,85 @@ +/* DisplayModeManagerContainer322 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer322 +/** + * RENAMED from `Class347` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static boolean aBoolean4278 = true; + int anInt4279; + static int anInt4280; + static byte[][] aByteArrayArray4281; + int anInt4282; + int anInt4283; + static boolean aBoolean4284 = false; + + public DisplayModeManagerContainer322() { + /* empty */ + } + + public static void method2707(boolean bool) { + aByteArrayArray4281 = null; + if (bool != false) method2708(57); + } + + static final void method2708(int i) { + Component111.markInterfaceDirty(-9343, Component156.aClass46_3701); + anInt4280++; + RenderableObject.anInt6392++; + if (!Cp1252Decoder.aBoolean5221 || !Component162.aBoolean8386) { + if (RenderableObject.anInt6392 > 1) Component156.aClass46_3701 = null; + } else { + int i_0_ = 0; + int i_1_ = 0; + if (Component210.gameCanvasAttached) { + i_0_ = BufferCacheSub3.method4008((byte) -124); + i_1_ = Component110.method260(false); + } + int i_2_ = i_0_ + AbstractGlTextureSub4.mouseHandler.getCursorX(true); + int i_3_ = i_1_ + AbstractGlTextureSub4.mouseHandler.getCursorY((byte) 80); + i_3_ -= Component386.anInt2872; + i_2_ -= RenderableSub4.anInt6411; + if (i_2_ < DefinitionSub37.anInt9461) i_2_ = DefinitionSub37.anInt9461; + if (i == -30206) { + if (i_2_ - -Component156.aClass46_3701.anInt709 > (DefinitionSub37.anInt9461 - -Component374.aClass46_4130.anInt709)) i_2_ = (Component374.aClass46_4130.anInt709 + (DefinitionSub37.anInt9461 + -Component156.aClass46_3701.anInt709)); + if (i_3_ < DisplayModeManagerContainer172.anInt558) i_3_ = DisplayModeManagerContainer172.anInt558; + if (Component156.aClass46_3701.anInt789 + i_3_ > (DisplayModeManagerContainer172.anInt558 - -Component374.aClass46_4130.anInt789)) i_3_ = (-Component156.aClass46_3701.anInt789 + (DisplayModeManagerContainer172.anInt558 - -Component374.aClass46_4130.anInt789)); + int i_4_ = (-DefinitionSub37.anInt9461 + (i_2_ - -Component374.aClass46_4130.anInt747)); + int i_5_ = (-DisplayModeManagerContainer172.anInt558 + (i_3_ + Component374.aClass46_4130.anInt755)); + if (AbstractGlTextureSub4.mouseHandler.isAnyButtonDown(94)) { + if (Component156.aClass46_3701.anInt703 < RenderableObject.anInt6392) { + int i_6_ = i_2_ + -GlToolkitSub3.anInt8001; + int i_7_ = -DefinitionSub13.anInt9203 + i_3_; + if (Component156.aClass46_3701.anInt729 < i_6_ || (-Component156.aClass46_3701.anInt729 > i_6_) || (i_7_ > Component156.aClass46_3701.anInt729) || i_7_ < -Component156.aClass46_3701.anInt729) Component189.aBoolean3819 = true; + } + if ((Component156.aClass46_3701.anObjectArray823 != null) && Component189.aBoolean3819) { + NodeSub36 class348_sub36 = new NodeSub36(); + class348_sub36.aClass46_6989 = Component156.aClass46_3701; + class348_sub36.anInt6984 = i_4_; + class348_sub36.anObjectArray6987 = (Component156.aClass46_3701.anObjectArray823); + class348_sub36.anInt6995 = i_5_; + ClientScriptExecutor.method705(class348_sub36); + } + } else { + if (Component189.aBoolean3819) { + DisplayModeManagerContainer196.method2678(-2049); + if (Component156.aClass46_3701.anObjectArray692 != null) { + NodeSub36 class348_sub36 = new NodeSub36(); + class348_sub36.aClass46_6983 = DisplayModeManagerContainer104.aClass46_10336; + class348_sub36.anInt6984 = i_4_; + class348_sub36.anObjectArray6987 = (Component156.aClass46_3701.anObjectArray692); + class348_sub36.anInt6995 = i_5_; + class348_sub36.aClass46_6989 = Component156.aClass46_3701; + ClientScriptExecutor.method705(class348_sub36); + } + if (DisplayModeManagerContainer104.aClass46_10336 != null && (client.method108(Component156.aClass46_3701) != null)) Component245.method173(-67, Component156.aClass46_3701, (DisplayModeManagerContainer104.aClass46_10336)); + } else if ((Component203.anInt8770 == 1 || Component203.method2485(-113)) && DisplayModeManagerContainer306.menuEntryCount > 2) Component2.method191(true, (GlToolkitSub3.anInt8001 + RenderableSub4.anInt6411), (Component386.anInt2872 - -(DefinitionSub13.anInt9203))); + else if (MatrixSub1.method913((byte) 127)) Component2.method191(true, (GlToolkitSub3.anInt8001 + RenderableSub4.anInt6411), (Component386.anInt2872 + (DefinitionSub13.anInt9203))); + Component156.aClass46_3701 = null; + } + } + } + } +} diff --git a/client/misc/DisplayModeManagerContainer332.java b/client/misc/DisplayModeManagerContainer332.java new file mode 100644 index 000000000..e3a8ea612 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer332.java @@ -0,0 +1,52 @@ +/* DisplayModeManagerContainer332 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer332 +/** + * RENAMED from `Class28` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ implements Interface15 { + static int anInt4996; + static DisplayModeManagerContainer369 aClass223_4997 = new DisplayModeManagerContainer369(6, 1); + static Component183 aClass114_4998; + static int anInt4999 = 0; + static String aString5000 = null; + static String aString5001 = null; + static boolean aBoolean5002 = false; + + public DisplayModeManagerContainer332() { + /* empty */ + } + + public final String method54(int i, long l, Component161 class138, int[] is) { + try { + anInt4996++; + if (RandomAccessFileReader.aClass138_3044 == class138) { + Component208 class117 = NodeSub7.aClass33_6653.method337(true, is[0]); + return class117.getString((int) l, 91); + } + if (Component40.aClass138_6321 == class138 || NodeBase.aClass138_7274 == class138) { + ItemDefinition class213 = Exception_Sub1.itemDefinitions.getItemDefinition(i + -99, (int) l); + return class213.itemName; + } + if (i != 1) method54(85, -41L, null, null); + if (class138 == DefinitionGroup.aClass138_9530 || class138 == Component182.aClass138_9748 || DisplayModeManagerContainer5.aClass138_1213 == class138) return NodeSub7.aClass33_6653.method337(true, is[0]).getString((int) l, i ^ 0x48); + return null; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("hu.A(" + i + ',' + l + ',' + (class138 != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ')')); + } + } + + public static void method318(int i) { + aString5001 = null; + aString5000 = null; + int i_0_ = 74 / ((i - 58) / 49); + aClass223_4997 = null; + aClass114_4998 = null; + } + + static { + aClass114_4998 = new Component183(59, 3); + } +} diff --git a/client/misc/DisplayModeManagerContainer34.java b/client/misc/DisplayModeManagerContainer34.java new file mode 100644 index 000000000..526361de9 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer34.java @@ -0,0 +1,57 @@ +/* DisplayModeManagerContainer34 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer34 +/** + * RENAMED from `Class59_Sub1_Sub2` (JODE-obfuscated). + * Evidence: subclass of Component210 (hierarchy) + */ extends Component210 { + static int anInt8659; + private byte[] aByteArray8660; + static int anInt8661; + static DisplayModeManagerContainer238 aClass74_8662 = new DisplayModeManagerContainer238(6, 5); + static int[] anIntArray8663 = new int[120]; + static Component224 aClass273_8664; + static int anInt8665; + static int[] anIntArray8666; + + public DisplayModeManagerContainer34() { + super(8, 5, 8, 8, 2, 0.1F, 0.55F, 3.0F); + } + + public static void method561(int i) { + aClass74_8662 = null; + if (i != 120) method561(-85); + anIntArray8666 = null; + anIntArray8663 = null; + aClass273_8664 = null; + } + + final void method550(int i, byte i_0_, byte i_1_) { + anInt8659++; + int i_2_ = i * 2; + int i_3_ = i_0_ & 0xff; + aByteArray8660[i_2_++] = (byte) (i_3_ * 3 >> 5); + if (i_1_ == 14) aByteArray8660[i_2_] = (byte) (i_3_ * 3 >> 5); + } + + final byte[] method562(int i, int i_4_, byte i_5_, int i_6_) { + aByteArray8660 = new byte[2 * i_6_ * (i_4_ * i)]; + if (i_5_ <= 85) aClass273_8664 = null; + anInt8661++; + this.method542(i_4_, i, 0, i_6_); + return aByteArray8660; + } + + static { + int i = 0; + for (int i_7_ = 0; i_7_ < 120; i_7_++) { + int i_8_ = i_7_ - -1; + int i_9_ = (int) (300.0 * Math.pow(2.0, (double) i_8_ / 7.0) + (double) i_8_); + i += i_9_; + anIntArray8663[i_7_] = i / 4; + } + aClass273_8664 = new Component224("", 17); + } +} diff --git a/client/misc/DisplayModeManagerContainer341.java b/client/misc/DisplayModeManagerContainer341.java new file mode 100644 index 000000000..46fd06936 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer341.java @@ -0,0 +1,161 @@ +/* DisplayModeManagerContainer341 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer341 +/** + * RENAMED from `Class239_Sub15` (JODE-obfuscated). + * Evidence: subclass of Component339 (hierarchy) + */ extends Component339 { + static int anInt5996; + static Component183 aClass114_5997 = new Component183(115, 11); + static int anInt5998; + static int anInt5999; + static int anInt6000; + static int anInt6001; + static int anInt6002; + static int anInt6003; + static int anInt6004; + static int anInt6005; + static int anInt6006 = 0; + + static final FontGlyphCache method1782(int i, int i_0_) { + if (i_0_ != 10144) return null; + anInt6004++; + if (i == 0) { + if ((double) DisplayModeManagerContainer229.aFloat1247 == 3.0) return Component15.aClass323_4921; + if ((double) DisplayModeManagerContainer229.aFloat1247 == 4.0) return WorldNameText.aClass323_8644; + if ((double) DisplayModeManagerContainer229.aFloat1247 == 6.0) return DisplayModeManagerContainer271.aClass323_521; + if ((double) DisplayModeManagerContainer229.aFloat1247 >= 8.0) return Component39.aClass323_2252; + } else if (i == 1) { + if ((double) DisplayModeManagerContainer229.aFloat1247 == 3.0) return DisplayModeManagerContainer271.aClass323_521; + if ((double) DisplayModeManagerContainer229.aFloat1247 == 4.0) return Component39.aClass323_2252; + if ((double) DisplayModeManagerContainer229.aFloat1247 == 6.0) return Component218.aClass323_2333; + if ((double) DisplayModeManagerContainer229.aFloat1247 >= 8.0) return DebugPanic.aClass323_4754; + } else if (i == 2) { + if ((double) DisplayModeManagerContainer229.aFloat1247 == 3.0) return Component218.aClass323_2333; + if ((double) DisplayModeManagerContainer229.aFloat1247 == 4.0) return DebugPanic.aClass323_4754; + if ((double) DisplayModeManagerContainer229.aFloat1247 == 6.0) return NodeSub3.aClass323_6581; + if ((double) DisplayModeManagerContainer229.aFloat1247 >= 8.0) return Component49.aClass323_4672; + } + return null; + } + + final void method1716(boolean bool) { + if (bool != false) method1783(115, -122, -59, 41, -49, 92); + anInt5999++; + if (this.aClass348_Sub51_3136.method3428((byte) -84).method1458(-23688) < 96) this.anInt3138 = 0; + if (this.anInt3138 < 0 || this.anInt3138 > 2) this.anInt3138 = method1710(20014); + } + + final int method1714(int i, int i_1_) { + anInt6005++; + if (i != 3) method1784(99); + if (this.aClass348_Sub51_3136.method3428((byte) -85).method1458(-23688) < 96) return 3; + return 1; + } + + DisplayModeManagerContainer341(int i, NodeSub51 class348_sub51) { + super(i, class348_sub51); + Component380.method1114(this.anInt3138, -122); + } + + static final void method1783(int i, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_) { + anInt5998++; + int i_7_ = -i_3_ + i_4_; + int i_8_ = i_5_ + -i; + if ((~i_8_) == i_2_) { + if (i_7_ != 0) Component9.method2641(i_4_, i_3_, -117, i, i_6_); + return; + } else if (i_7_ == 0) { + Component319.method223(i_5_, i_6_, i_3_, i, (byte) 47); + return; + } + if (i_7_ < 0) i_7_ = -i_7_; + if (i_8_ < 0) i_8_ = -i_8_; + boolean bool = i_8_ < i_7_; + if (bool) { + int i_9_ = i; + int i_10_ = i_5_; + i = i_3_; + i_5_ = i_4_; + i_3_ = i_9_; + i_4_ = i_10_; + } + if (i_5_ < i) { + int i_11_ = i; + i = i_5_; + int i_12_ = i_3_; + i_5_ = i_11_; + i_3_ = i_4_; + i_4_ = i_12_; + } + int i_13_ = i_3_; + int i_14_ = -i + i_5_; + int i_15_ = -i_3_ + i_4_; + int i_16_ = -(i_14_ >> 1); + if (i_15_ < 0) i_15_ = -i_15_; + int i_17_ = i_4_ <= i_3_ ? -1 : 1; + if (bool) { + for (int i_19_ = i; i_5_ >= i_19_; i_19_++) { + DisplayModeManagerContainer167.anIntArrayArray255[i_19_][i_13_] = i_6_; + i_16_ += i_15_; + if (i_16_ > 0) { + i_13_ += i_17_; + i_16_ -= i_14_; + } + } + } else { + for (int i_18_ = i; i_18_ <= i_5_; i_18_++) { + i_16_ += i_15_; + DisplayModeManagerContainer167.anIntArrayArray255[i_13_][i_18_] = i_6_; + if (i_16_ > 0) { + i_13_ += i_17_; + i_16_ -= i_14_; + } + } + } + } + + final void method1712(int i, int i_20_) { + anInt6003++; + this.anInt3138 = i_20_; + int i_21_ = 33 % ((i - 82) / 35); + Component380.method1114(this.anInt3138, -122); + } + + final int method1710(int i) { + anInt5996++; + if (i != 20014) method1782(-76, -103); + if (this.aClass348_Sub51_3136.method3428((byte) -105).method1458(-23688) < 96) return 0; + return 2; + } + + DisplayModeManagerContainer341(NodeSub51 class348_sub51) { + super(class348_sub51); + Component380.method1114(this.anInt3138, -120); + } + + final int method1784(int i) { + anInt6000++; + if (i != -32350) return -82; + return this.anInt3138; + } + + public static void method1785(int i) { + aClass114_5997 = null; + if (i != 8) aClass114_5997 = null; + } + + final boolean method1786(int i) { + if (i < 85) method1784(-69); + anInt6001++; + return this.aClass348_Sub51_3136.method3428((byte) -104).method1458(-23688) >= 96; + } + + static final void method1787(int i, int i_22_) { + anInt6002++; + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i, (byte) 105, i_22_);//8 + class348_sub42_sub15.method3251(-16058); + } +} diff --git a/client/misc/DisplayModeManagerContainer343.java b/client/misc/DisplayModeManagerContainer343.java new file mode 100644 index 000000000..b4a819ac1 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer343.java @@ -0,0 +1,108 @@ +/* DisplayModeManagerContainer343 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +abstract class DisplayModeManagerContainer343 +/** + * RENAMED from `Class318_Sub1_Sub2` (JODE-obfuscated). + * Evidence: subclass of RenderableObject (hierarchy) + */ extends RenderableObject { + static int anInt8729; + static int anInt8730; + static int anInt8731; + static NodeCache aClass60_8732 = new NodeCache(64); + static int anInt8733; + static int anInt8734; + static int anInt8735; + static int anInt8736; + static DisplayModeManagerContainer88 aClass70_8737 = new DisplayModeManagerContainer88(); + static int anInt8738; + + /** + * Persists dirty client preferences/varps to the {@code "2"} game-preferences RAF + * via {@link ReflectionInvoker#openGamePreferences}. + */ + static final void saveClientPreferences(int i) { + anInt8729++; + RandomAccessFileReader class234 = null; + try { + class234 = ReflectionInvoker.openGamePreferences("2", -1141472112); + Buffer class348_sub49 = new Buffer(3 + 6 * DisplayModeManagerContainer147.anInt4168); + class348_sub49.writeByte(false, 1); + class348_sub49.writeShort((byte) 107, DisplayModeManagerContainer147.anInt4168); + int i_0_ = -4 % ((-12 - i) / 38); + for (int i_1_ = 0; (i_1_ < DisplayModeManagerContainer123.anIntArray1303.length); i_1_++) { + if (WaterShaderProgram.aBooleanArray6270[i_1_]) { + class348_sub49.writeShort((byte) 107, i_1_); + class348_sub49.writeInt((byte) 124, DisplayModeManagerContainer123.anIntArray1303[i_1_]); + } + } + class234.write((byte) 117, 0, class348_sub49.offset, (class348_sub49.payload)); + } catch (Exception exception) { + /* empty */ + } + try { + if (class234 != null) class234.close(false); + } catch (Exception exception) { + /* empty */ + } + Component225.aLong482 = Component240.currentTimeMillis(-117); + Component357.aBoolean2469 = false; + } + + final boolean method2382(byte i) { + if (i > -51) return false; + anInt8733++; + Component3 class148 = Component195.method1449(this.plane, (this.x >> Component149.anInt4459), (this.y >> Component149.anInt4459)); + if (class148 == null || !class148.aClass318_Sub1_Sub3_2040.aBoolean8741) return ShaderSub2.method164(this.plane, (this.x >> Component149.anInt4459), (byte) -97, (this.y >> Component149.anInt4459)); + return (Component15.method1110(this.y >> Component149.anInt4459, class148.aClass318_Sub1_Sub3_2040.method2394(true) + this.method2394(true), this.plane, (byte) -79, this.x >> Component149.anInt4459)); + } + + final boolean method2378(int i) { + if (i != 0) method2406(79); + anInt8734++; + return (DisplayModeManagerContainer153.aBooleanArrayArray1572[(Component197.anInt10084 + -Component256.anInt6111 + (this.x >> Component149.anInt4459))][(Component197.anInt10084 + (-DebugPanicSub2.anInt8502 + (this.y >> Component149.anInt4459)))]); + } + + final void method2392(boolean bool) { + if (bool != true) anInt8731 = 119; + anInt8730++; + throw new IllegalStateException(); + } + + public static void method2406(int i) { + if (i > -126) anInt8731 = 118; + aClass60_8732 = null; + aClass70_8737 = null; + } + + final int method2384(NodeSub1[] class348_sub1s, int i) { + anInt8735++; + int i_2_ = -79 % ((-14 - i) / 61); + return this.method2390(class348_sub1s, (this.x >> Component149.anInt4459), -2, (this.y >> Component149.anInt4459)); + } + + final boolean method2388(int i) { + if (i > -65) anInt8731 = -84; + anInt8738++; + return false; + } + + final void method2380(GraphicsToolkit var_ha, int i, boolean bool, RenderableObject class318_sub1, int i_3_, byte i_4_, int i_5_) { + try { + if (i_4_ > -106) saveClientPreferences(-8); + anInt8736++; + throw new IllegalStateException(); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("fha.N(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class318_sub1 != null ? "{...}" : "null") + ',' + i_3_ + ',' + i_4_ + ',' + i_5_ + ')')); + } + } + + DisplayModeManagerContainer343(int i, int i_6_, int i_7_, int i_8_, int i_9_) { + this.x = i; + this.plane = (byte) i_8_; + this.anInt6382 = i_6_; + this.aByte6376 = (byte) i_9_; + this.y = i_7_; + } +} diff --git a/client/misc/DisplayModeManagerContainer345.java b/client/misc/DisplayModeManagerContainer345.java new file mode 100644 index 000000000..8e5b64d00 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer345.java @@ -0,0 +1,47 @@ +/* DisplayModeManagerContainer345 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer345 +/** + * RENAMED from `Class8` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt159; + int anInt160; + int anInt161; + int anInt162; + static int anInt163; + static int[] anIntArray164 = {4, 4, 1, 2, 6, 4, 2, 44, 2, 2, 2, 2, 2, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1}; + static NamedInteger aClass364_165; + static int anInt166 = 0; + + public static void method213(byte i) { + anIntArray164 = null; + if (i != -106) method214(null, 18); + aClass364_165 = null; + } + + static final int method214(Npc npc, int i) { + anInt163++; + NpcComposition class79 = (npc.definition); + if (class79.anIntArray1377 != null) { + class79 = class79.method794(DisplayModeManagerContainer58.aClass170_10209, i); + if (class79 == null) return -1; + } + int i_0_ = class79.anInt1364; + if (i != -1) return 14; + Component241 class225 = npc.method2422((byte) 72); + if ((npc.anInt10268) != -1 && !(npc.aBoolean10213)) { + if ((npc.anInt10268) != class225.anInt2919 && (class225.anInt2920 != npc.anInt10268) && (class225.anInt2949 != npc.anInt10268) && (class225.anInt2914 != (npc.anInt10268))) { + if ((class225.anInt2940 == npc.anInt10268) || (class225.anInt2924 == npc.anInt10268) || (npc.anInt10268 == class225.anInt2947) || (npc.anInt10268 == class225.anInt2958)) + i_0_ = class79.anInt1395; + } else i_0_ = class79.anInt1327; + } else i_0_ = class79.anInt1343; + return i_0_; + } + + public DisplayModeManagerContainer345() { + /* empty */ + } +} diff --git a/client/misc/DisplayModeManagerContainer346.java b/client/misc/DisplayModeManagerContainer346.java new file mode 100644 index 000000000..c6903fda9 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer346.java @@ -0,0 +1,85 @@ +/* DisplayModeManagerContainer346 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer346 +/** + * RENAMED from `Class151` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + short[] aShortArray2058; + static int anInt2059; + short[] aShortArray2060; + static int anInt2061 = 0; + static int[] anIntArray2062 = new int[4]; + static int anInt2063; + static int anInt2064; + static int anInt2065; + static int anInt2066; + short[] aShortArray2067; + static Component183 aClass114_2068 = new Component183(68, 6); + byte[] aByteArray2069; + + public static void method1209(int i) { + int i_0_ = 95 / ((-21 - i) / 45); + anIntArray2062 = null; + aClass114_2068 = null; + } + + static final boolean method1210(byte i, int i_1_) { + anInt2066++; + if (i > -93) anInt2061 = -39; + return i_1_ == 0 || i_1_ == 2; + } + + static final void method1211(int i, Component24 class105, int i_2_, DisplayModeManagerContainer57 class46, Shader var_aa, int i_3_, int i_4_, int i_5_) { + try { + anInt2064++; + if (class105 != null) { + int i_6_; + if (DefinitionSub21.cameraMode != 4) + i_6_ = (0x3fff & (int) Component112.cameraYaw - -CacheNodeSub2.anInt10483); + else i_6_ = 0x3fff & (int) Component112.cameraYaw; + int i_7_ = 10 + Math.max(class46.anInt709 / 2, class46.anInt789 / i_4_); + int i_8_ = i_5_ * i_5_ - -(i_3_ * i_3_); + if (i_7_ * i_7_ >= i_8_) { + int i_9_ = DisplayModeManagerContainer88.anIntArray1207[i_6_]; + int i_10_ = DisplayModeManagerContainer88.anIntArray1204[i_6_]; + if (DefinitionSub21.cameraMode != 4) { + i_10_ = 256 * i_10_ / (Component182.anInt9750 - -256); + i_9_ = i_9_ * 256 / (Component182.anInt9750 - -256); + } + int i_11_ = i_5_ * i_10_ + i_3_ * i_9_ >> 14; + int i_12_ = i_3_ * i_10_ + -(i_9_ * i_5_) >> 14; + class105.method963((i_11_ + (class46.anInt709 / 2 + (i_2_ + -(class105.method966() / 2)))), (i - -(class46.anInt789 / 2) + (-i_12_ + -(class105.method980() / 2))), var_aa, i_2_, i); + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ok.C(" + i + ',' + (class105 != null ? "{...}" : "null") + ',' + i_2_ + ',' + (class46 != null ? "{...}" : "null") + ',' + (var_aa != null ? "{...}" : "null") + ',' + i_3_ + ',' + i_4_ + ',' + i_5_ + ')')); + } + } + + static final void method1212(int i, int i_13_, int i_14_, int i_15_) { + anInt2059++; + i = Component192.aClass348_Sub51_3959.aClass239_Sub26_7260.method1838(-32350) * i >> 8; + if (i_14_ == i_13_ && !DisplayModeManagerContainer238.aBoolean1236) Component65.method960(1); + else if (i_13_ != -1 && (i_13_ != Component119.anInt3428 || !Component385.method1296(true)) && i != 0 && !DisplayModeManagerContainer238.aBoolean1236) { + DisplayModeManagerContainer172.method368(i, 18002, false, i_13_, Component54.aClass45_8667, 0, i_15_); + DefinitionSub17Sub1.method3093(93); + } + if (Component119.anInt3428 != i_13_) Component246.aClass348_Sub16_Sub3_2718 = null; + Component119.anInt3428 = i_13_; + } + + static final void method1213(String string, String string_16_, int i) { + try { + if (i > -48) aClass114_2068 = null; + anInt2063++; + RuntimeException_Sub1.anInt4596 = -1; + Component205.anInt5969 = Loader.skipLobby ? 2 : 1; + Component72.method1138(string, false, string_16_, (byte) -95); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ok.E(" + (string != null ? "{...}" : "null") + ',' + (string_16_ != null ? "{...}" : "null") + ',' + i + ')')); + } + } +} diff --git a/client/misc/DisplayModeManagerContainer347.java b/client/misc/DisplayModeManagerContainer347.java new file mode 100644 index 000000000..aa83c5f03 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer347.java @@ -0,0 +1,156 @@ +/* DisplayModeManagerContainer347 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer347 +/** + * RENAMED from `Class278` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + CacheStore aClass45_3576; + private NodeCache aClass60_3577 = new NodeCache(64); + GameType aClass230_3578; + static int anInt3579; + static int anInt3580; + static int anInt3581; + static int anInt3582; + boolean aBoolean3583; + static int anInt3584; + private final CacheStore aClass45_3585; + static int anInt3586; + static int anInt3587; + static int anInt3588; + static int anInt3589; + NodeCache aClass60_3590 = new NodeCache(50); + static int anInt3591; + NodeCache aClass60_3592 = new NodeCache(5); + int anInt3593; + + final void method2072(byte i, boolean bool) { + if (i >= 22) { + anInt3580++; + if (this.aBoolean3583 != bool) { + this.aBoolean3583 = bool; + method2078(-6080); + } + } + } + + final void method2073(int i, int i_0_) { + this.anInt3593 = i_0_; + anInt3591++; + synchronized (this.aClass60_3590) { + this.aClass60_3590.clear(0); + } + synchronized (this.aClass60_3592) { + this.aClass60_3592.clear(0); + } + if (i != -25032) method2079(-66, 101); + } + + final void method2074(int i) { + synchronized (this.aClass60_3590) { + this.aClass60_3590.clear(0); + } + if (i < -94) { + anInt3582++; + synchronized (this.aClass60_3592) { + this.aClass60_3592.clear(0); + } + } + } + + static final boolean method2075(int i, int i_1_, int i_2_) { + anInt3584++; + if (i_1_ > -125) anInt3581 = -110; + return (i & 0x100100) != 0; + } + + final void method2076(int i, boolean bool) { + anInt3589++; + synchronized (aClass60_3577) { + aClass60_3577.processSoftEntries(2, i); + } + synchronized (this.aClass60_3590) { + this.aClass60_3590.processSoftEntries(2, i); + } + if (bool != true) method2072((byte) 120, true); + synchronized (this.aClass60_3592) { + this.aClass60_3592.processSoftEntries(2, i); + } + } + + static final boolean method2077(int i, int i_3_, int i_4_) { + int i_5_ = -75 % ((-43 - i) / 40); + anInt3588++; + return (i_4_ & 0x8000) != 0; + } + + final void method2078(int i) { + anInt3579++; + synchronized (aClass60_3577) { + if (i != -6080) this.aClass60_3590 = null; + aClass60_3577.clear(i + 6080); + } + synchronized (this.aClass60_3590) { + this.aClass60_3590.clear(i + 6080); + } + synchronized (this.aClass60_3592) { + this.aClass60_3592.clear(0); + } + } + + final NpcComposition method2079(int i, int i_6_) { + anInt3586++; + NpcComposition class79; + synchronized (aClass60_3577) { + class79 = (NpcComposition) aClass60_3577.get(i, -104); + } + if (class79 != null) return class79; + byte[] is; + synchronized (aClass45_3585) { + is = aClass45_3585.getFile(i_6_ + -1859, Component95.method1060(i, (byte) 69), Component193.method1920(127, i)); + } + class79 = new NpcComposition(); + class79.id = i; + class79.aClass278_1348 = this; + if (is != null) class79.method798(111, new Buffer(is)); + class79.method799(-117); + synchronized (aClass60_3577) { + aClass60_3577.putOne(class79, i, (byte) -102); + if (i_6_ != -1) aClass60_3577 = null; + } + return class79; + } + + final void method2080(int i) { + anInt3587++; + synchronized (aClass60_3577) { + aClass60_3577.method587(-118); + } + synchronized (this.aClass60_3590) { + this.aClass60_3590.method587(-100); + } + synchronized (this.aClass60_3592) { + this.aClass60_3592.method587(-107); + } + if (i <= 122) method2075(-125, -46, 9); + } + + DisplayModeManagerContainer347(GameType class230, int i, boolean bool, CacheStore class45, CacheStore class45_7_) { + do { + try { + this.aBoolean3583 = bool; + aClass45_3585 = class45; + this.aClass45_3576 = class45_7_; + this.aClass230_3578 = class230; + if (aClass45_3585 == null) break; + int i_8_ = aClass45_3585.getGroupCapacity(-1) + -1; + aClass45_3585.getFileCount(0, i_8_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("vda.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class45 != null ? "{...}" : "null") + ',' + (class45_7_ != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } +} diff --git a/client/misc/DisplayModeManagerContainer348.java b/client/misc/DisplayModeManagerContainer348.java new file mode 100644 index 000000000..854d25bda --- /dev/null +++ b/client/misc/DisplayModeManagerContainer348.java @@ -0,0 +1,111 @@ +/* DisplayModeManagerContainer348 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer348 +/** + * RENAMED from `Class239_Sub5` (JODE-obfuscated). + * Evidence: subclass of Component339 (hierarchy) + */ extends Component339 { + static int anInt5884; + static int anInt5885; + static int anInt5886; + static int anInt5887; + static int anInt5888; + static int anInt5889; + static int anInt5890; + static int fps = 0; + static int anInt5892; + static int anInt5893; + + final int method1710(int i) { + anInt5892++; + if (i != 20014) return 98; + return 1; + } + + final void method1712(int i, int i_0_) { + this.anInt3138 = i_0_; + int i_1_ = 57 / ((i - 82) / 35); + anInt5887++; + } + + final int method1739(int i) { + anInt5889++; + if (i != -32350) anInt5886 = -17; + return this.anInt3138; + } + + DisplayModeManagerContainer348(NodeSub51 class348_sub51) { + super(class348_sub51); + } + + static final boolean method1740(int i, int i_2_, boolean bool) { + if (bool != false) return true; + anInt5890++; + return RadixText.method1833((byte) -128, i_2_, i) || PacketReader.method3200(i_2_, i, (byte) 96); + } + + static final void method1741(DisplayModeManagerContainer207 class348_sub49_sub2, byte i) { + anInt5893++; + class348_sub49_sub2.startBitAccess(122); + int i_3_ = StringDefinition.anInt9591; + Player player = (Component72.localPlayer = InterfaceRenderer.players[i_3_] = new Player()); + player.anInt10290 = i_3_; + int i_4_ = class348_sub49_sub2.readBits((byte) -24, 30); + if (i != 118) anInt5886 = 111; + byte i_5_ = (byte) (i_4_ >> 28); + int i_6_ = i_4_ >> 14 & 0x3fff; + player.anIntArray10320[0] = -NodeBaseSub2.regionTileX + i_6_; + int i_7_ = 0x3fff & i_4_; + player.x = (((player.anIntArray10320[0]) << 9) + (player.method2436((byte) 91) << 8)); + player.anIntArray10317[0] = i_7_ + -Component330.regionTileY; + player.y = (((player.anIntArray10317[0]) << 9) - -(player.method2436((byte) 85) << 8)); + Component117.anInt4372 = player.plane = player.aByte6376 = i_5_; + if (NpcComposition.method802((player.anIntArray10317[0]), (player.anIntArray10320[0]), true)) player.aByte6376++; + if (Component101.aClass348_Sub49Array2105[i_3_] != null) player.method2452((byte) 84, (Component101.aClass348_Sub49Array2105[i_3_])); + ShaderCompilerSub1.anInt6513 = 0; + ShaderProgramSub7.anIntArray6290[ShaderCompilerSub1.anInt6513++] = i_3_; + NodeSub5.aByteArray6624[i_3_] = (byte) 0; + HashNodeSub4.anInt9513 = 0; + for (int i_8_ = 1; i_8_ < 2048; i_8_++) { + if (i_8_ != i_3_) { + int i_9_ = class348_sub49_sub2.readBits((byte) -24, 18); + int i_10_ = i_9_ >> 16; + int i_11_ = (i_9_ & 0xff78) >> 8; + int i_12_ = i_9_ & 0xff; + Component135 class359 = NpcDefinition.aClass359Array6802[i_8_] = new Component135(); + class359.aBoolean4426 = false; + class359.anInt4420 = (i_11_ << 14) + ((i_10_ << 28) + i_12_); + class359.anInt4423 = 0; + class359.anInt4425 = -1; + DisplayModeManagerContainer136.anIntArray4709[HashNodeSub4.anInt9513++] = i_8_; + NodeSub5.aByteArray6624[i_8_] = (byte) 0; + } + } + class348_sub49_sub2.stopBitAccess(false); + } + + DisplayModeManagerContainer348(int i, NodeSub51 class348_sub51) { + super(i, class348_sub51); + } + + static final Component362 method1742(boolean bool, int i) { + if (bool != false) method1740(35, -126, false); + anInt5885++; + if (!Component195.aBoolean5013 || DisplayModeManagerContainer343.anInt8731 > i || Component284.anInt6151 < i) return null; + return (OutputStream_Sub1.aClass110_Sub1Array97[i + -DisplayModeManagerContainer343.anInt8731]); + } + + final int method1714(int i, int i_13_) { + if (i != 3) fps = -34; + anInt5884++; + return 1; + } + + final void method1716(boolean bool) { + anInt5888++; + if (bool != false) method1710(-110); + if (this.anInt3138 != 1 && this.anInt3138 != 0) this.anInt3138 = method1710(20014); + } +} diff --git a/client/misc/DisplayModeManagerContainer351.java b/client/misc/DisplayModeManagerContainer351.java new file mode 100644 index 000000000..634ebb938 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer351.java @@ -0,0 +1,79 @@ +/* DisplayModeManagerContainer351 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer351 +/** + * RENAMED from `Class203` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt2672; + static int anInt2673; + static volatile boolean aBoolean2674 = false; + static int anInt2675; + + static final void method1477(int i, int i_0_) { + anInt2672++; + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i, (byte) 105, i_0_);//14 + class348_sub42_sub15.method3251(-16058); + } + + static final ParticleSystem method1478(boolean bool) { + anInt2673++; + ParticleSystem class348_sub47 = Component189.obtainParticleSystem((byte) -103); + if (bool != true) return null; + class348_sub47.anInt7122 = 0; + class348_sub47.aClass351_7118 = null; + class348_sub47.aClass348_Sub49_Sub2_7116 = new DisplayModeManagerContainer207(5000); + return class348_sub47; + } + + static final void method1479(int i, byte i_1_, int i_2_, int i_3_) { + anInt2675++; + int i_4_ = i_2_ - -NodeBaseSub2.regionTileX; + int i_5_ = Component330.regionTileY + i; + if (Component335.aClass357ArrayArrayArray2029 != null && i_2_ >= 0 && i >= 0 && AbstractShaderSub4.anInt7319 > i_2_ && ParametricDefinition.anInt9109 > i && (Component192.aClass348_Sub51_3959.aClass239_Sub27_7261.method1840(-32350) != 0 || i_3_ == (Component72.localPlayer.plane))) { + long l = i_5_ << 14 | i_3_ << 28 | i_4_; + NodeSub37 class348_sub37 = ((NodeSub37) Component387.aClass356_1895.get(l, -6008)); + if (class348_sub37 == null) Component21.method2110(i_3_, i_2_, i); + else { + NodeSub34 class348_sub34 = (NodeSub34) class348_sub37.aClass262_6998.first(4); + if (class348_sub34 == null) Component21.method2110(i_3_, i_2_, i); + else { + Component252 class318_sub1_sub2_sub1 = ((Component252) Component21.method2110(i_3_, i_2_, i)); + if (class318_sub1_sub2_sub1 == null) class318_sub1_sub2_sub1 = (new Component252(i_2_ << 9, ShaderSub1.aSArray5191[i_3_].method3982((byte) -86, i, i_2_), i << 9, i_3_, i_3_)); + else class318_sub1_sub2_sub1.anInt10189 = class318_sub1_sub2_sub1.anInt10180 = -1; + class318_sub1_sub2_sub1.anInt10181 = class348_sub34.anInt6973; + if (i_1_ >= -112) aBoolean2674 = true; + class318_sub1_sub2_sub1.anInt10185 = class348_sub34.anInt6971; + for (; ; ) { + NodeSub34 class348_sub34_6_ = ((NodeSub34) class348_sub37.aClass262_6998.next((byte) 55)); + if (class348_sub34_6_ == null) break; + if (class348_sub34_6_.anInt6973 != class318_sub1_sub2_sub1.anInt10181) { + class318_sub1_sub2_sub1.anInt10189 = (class348_sub34_6_.anInt6973); + class318_sub1_sub2_sub1.anInt10190 = (class348_sub34_6_.anInt6971); + for (; ; ) { + NodeSub34 class348_sub34_7_ = ((NodeSub34) class348_sub37.aClass262_6998.next((byte) 55)); + if (class348_sub34_7_ == null) break; + if ((class318_sub1_sub2_sub1.anInt10181 != (class348_sub34_7_.anInt6973)) && ((class318_sub1_sub2_sub1.anInt10189) != (class348_sub34_7_.anInt6973))) { + class318_sub1_sub2_sub1.anInt10180 = (class348_sub34_7_.anInt6973); + class318_sub1_sub2_sub1.anInt10186 = (class348_sub34_7_.anInt6971); + } + } + break; + } + } + int i_8_ = Component300.method2064(256 + (i_2_ << 9), i_3_, 11219, 256 + (i << 9)); + class318_sub1_sub2_sub1.y = i << 9; + class318_sub1_sub2_sub1.plane = (byte) i_3_; + class318_sub1_sub2_sub1.anInt10196 = 0; + class318_sub1_sub2_sub1.x = i_2_ << 9; + class318_sub1_sub2_sub1.anInt6382 = i_8_; + class318_sub1_sub2_sub1.aByte6376 = (byte) i_3_; + if (NpcComposition.method802(i, i_2_, true)) class318_sub1_sub2_sub1.aByte6376++; + AbstractShaderSub2.method3536(i_3_, i_2_, i, i_8_, class318_sub1_sub2_sub1); + } + } + } + } +} diff --git a/client/misc/DisplayModeManagerContainer356.java b/client/misc/DisplayModeManagerContainer356.java new file mode 100644 index 000000000..c5fe70ca0 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer356.java @@ -0,0 +1,35 @@ +/* DisplayModeManagerContainer356 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +abstract class DisplayModeManagerContainer356 +/** + * RENAMED from `Class299_Sub2` (JODE-obfuscated). + * Evidence: subclass of Component80 (hierarchy) + */ extends Component80 { + static int anInt6324; + static int anInt6325; + static int anInt6326; + static boolean aBoolean6327 = false; + static SeekableFile aClass78_6328; + + abstract Interface18_Impl2 method2266(boolean bool); + + static final void method2267(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_) { + anInt6324++; + if (i != 10499) method2267(55, -44, 14, -122, 70, 0, 127, 112); + if (i_6_ == i_0_) Npc.method2441(i_2_, i_6_, i_4_, -22728, i_5_, i_3_, i_1_); + else if (Component27.anInt4960 > -i_6_ + i_1_ || i_6_ + i_1_ > Component22.anInt1745 || -i_0_ + i_5_ < Component72.anInt1910 || i_0_ + i_5_ > PauseTimer.anInt513) Definition.method3041(i_6_, i_1_, i_5_, i ^ ~0x2903, i_0_, i_3_, i_2_, i_4_); + else Sprite.method3012(i_0_, i_3_, i_6_, i_2_, i_1_, (byte) -117, i_5_, i_4_); + } + + public static void method2268(int i) { + if (i == -24054) aClass78_6328 = null; + } + + static final void method2269(boolean bool) { + if (bool != true) anInt6325 = -78; + DisplayModeManagerContainer365.method739(); + anInt6326++; + } +} diff --git a/client/misc/DisplayModeManagerContainer363.java b/client/misc/DisplayModeManagerContainer363.java new file mode 100644 index 000000000..c4439c807 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer363.java @@ -0,0 +1,63 @@ +/* DisplayModeManagerContainer363 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.io.File; + +final class DisplayModeManagerContainer363 +/** + * RENAMED from `Class327` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt4090; + static Component224 aClass273_4091 = new Component224("", 10); + static int anInt4092; + static int anInt4093; + static StringCache aClass351_4094 = new StringCache(47, 4); + static int anInt4095; + static int[] anIntArray4096 = new int[32]; + static int[] anIntArray4097 = new int[2]; + static DisplayModeManagerContainer238 aClass74_4098 = new DisplayModeManagerContainer238(4, 7); + + public static void method2604(byte i) { + aClass273_4091 = null; + if (i >= -49) sleepMillis(31, -15L); + aClass74_4098 = null; + aClass351_4094 = null; + anIntArray4096 = null; + anIntArray4097 = null; + } + + static final boolean method2605(byte i) { + anInt4092++; + if (i != -99) anIntArray4097 = null; + return PlayerState.anInt7068 != 0; + } + + /** {@link Thread#sleep(long)} swallowing interrupts. */ + static final void sleepMillis(int i, long l) { + try { + anInt4090++; + try { + Thread.sleep(l); + int i_0_ = 107 % ((-80 - i) / 35); + } catch (InterruptedException interruptedexception) { + /* empty */ + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "de.A(" + i + ',' + l + ')'); + } + } + + static final byte[] method2607(int i, File file, int i_1_) { + anInt4093++; + try { + int i_2_ = -87 / ((28 - i_1_) / 54); + byte[] is = new byte[i]; + DisplayModeManagerContainer152.readFileFully(is, (byte) 7, i, file); + return is; + } catch (java.io.IOException ioexception) { + return null; + } + } +} diff --git a/client/misc/DisplayModeManagerContainer365.java b/client/misc/DisplayModeManagerContainer365.java new file mode 100644 index 000000000..b5558891a --- /dev/null +++ b/client/misc/DisplayModeManagerContainer365.java @@ -0,0 +1,304 @@ +/* DisplayModeManagerContainer365 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer365 +/** + * RENAMED from `Class72` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private static Component24 aClass105_1215; + private final int anInt1216; + private int anInt1217; + private final int anInt1218; + private int anInt1219; + private int anInt1220; + private Component24 aClass105_1221; + private final int anInt1222; + private final boolean aBoolean1223; + private final int anInt1224; + private final int anInt1225; + private static int[] anIntArray1226 = new int[4]; + private static DisplayModeManagerContainer370 aClass64_1227; + private static Component24 aClass105_1228; + private final int anInt1229; + private final int anInt1230; + private int anInt1231; + int anInt1232; + + private final boolean method730(GraphicsToolkit var_ha, DisplayModeManagerContainer365 class72_0_) { + if (aClass105_1221 == null) { + if (anInt1230 == 0) { + if (MatrixSub1.aD5684.method4(-7953, anInt1224)) { + int[] is = MatrixSub1.aD5684.method6(-21540, anInt1220, 0.7F, anInt1224, false, anInt1220); + aClass105_1221 = var_ha.method3662(anInt1220, is, (byte) 94, 0, anInt1220, anInt1220); + } + } else if (anInt1230 == 2) method740(var_ha, class72_0_); + else if (anInt1230 == 1) method735(var_ha, class72_0_); + } + return aClass105_1221 != null; + } + + public static void method731() { + aClass64_1227 = null; + aClass105_1215 = null; + aClass105_1228 = null; + anIntArray1226 = null; + } + + private static final void method732(GraphicsToolkit var_ha) { + if (aClass105_1228 == null) { + int[] is = new int[16384]; + int[] is_1_ = new int[16384]; + for (int i = 0; i < 64; i++) { + int i_2_ = 64 - i; + i_2_ *= i_2_; + int i_3_ = 128 - i - 1; + int i_4_ = i * 128; + int i_5_ = i_3_ * 128; + for (int i_6_ = 0; i_6_ < 64; i_6_++) { + int i_7_ = 64 - i_6_; + i_7_ *= i_7_; + int i_8_ = 128 - i_6_ - 1; + int i_9_ = 256 - (i_7_ + i_2_ << 8) / 4096; + i_9_ = i_9_ * 16 * 192 / 1536; + if (i_9_ < 0) i_9_ = 0; + else if (i_9_ > 255) i_9_ = 255; + int i_10_ = i_9_ / 2; + is_1_[i_4_ + i_6_] = is_1_[i_4_ + i_8_] = is_1_[i_5_ + i_6_] = is_1_[i_5_ + i_8_] = ~0xffffff | i_9_ << 16; + is[i_4_ + i_6_] = is[i_4_ + i_8_] = is[i_5_ + i_6_] = is[i_5_ + i_8_] = 127 - i_10_ << 24 | 0xffffff; + } + } + aClass105_1228 = var_ha.method3662(128, is_1_, (byte) 94, 0, 128, 128); + aClass105_1215 = var_ha.method3662(128, is, (byte) 94, 0, 128, 128); + } + } + + final boolean method733(int i, int i_11_, int i_12_, int i_13_) { + int i_14_; + int i_15_; + int i_16_; + if (aBoolean1223) { + this.anInt1232 = 1073741823; + i_14_ = anInt1225; + i_15_ = anInt1216; + i_16_ = anInt1229; + } else { + i_14_ = anInt1225 - i; + i_15_ = anInt1216 - i_11_; + i_16_ = anInt1229 - i_12_; + this.anInt1232 = (int) Math.sqrt(i_14_ * i_14_ + i_15_ * i_15_ + i_16_ * i_16_); + if (this.anInt1232 == 0) this.anInt1232 = 1; + i_14_ = (i_14_ << 8) / this.anInt1232; + i_15_ = (i_15_ << 8) / this.anInt1232; + i_16_ = (i_16_ << 8) / this.anInt1232; + } + int i_17_ = (int) (Math.sqrt(i_14_ * i_14_ + i_15_ * i_15_ + i_16_ * i_16_) * 256.0); + if (i_17_ > 128) { + i_14_ = (i_14_ << 16) / i_17_; + i_15_ = (i_15_ << 16) / i_17_; + i_16_ = (i_16_ << 16) / i_17_; + anInt1217 = anInt1218 * i_13_ / (aBoolean1223 ? 1024 : this.anInt1232); + } else anInt1217 = 0; + if (anInt1217 < 8) { + aClass105_1221 = null; + return false; + } + int i_18_ = Component373.nextPowerOfTwo(anInt1217, (byte) 108); + if (i_18_ > i_13_) i_18_ = PrimitiveTypeDefinition.method3051(i_13_, 4096); + if (i_18_ > 512) i_18_ = 512; + if (i_18_ != anInt1220) anInt1220 = i_18_; + anInt1231 = (int) (Math.asin((float) i_15_ / 256.0F) * 2607.5945876176133) & 0x3fff; + anInt1219 = (int) (Math.atan2(i_14_, -i_16_) * 2607.5945876176133) & 0x3fff; + aClass105_1221 = null; + return true; + } + + final void method734() { + aClass105_1221 = null; + } + + private final void method735(GraphicsToolkit var_ha, DisplayModeManagerContainer365 class72_19_) { + method738(var_ha); + method732(var_ha); + var_ha.K(anIntArray1226); + var_ha.KA(0, 0, anInt1220, anInt1220); + var_ha.NativeHandle(); + var_ha.fillRect(0, 0, anInt1220, anInt1220, ~0xffffff | anInt1222, 0); + int i = 0; + int i_20_ = 0; + int i_21_ = 256; + if (class72_19_ != null) { + if (class72_19_.aBoolean1223) { + i = -class72_19_.anInt1225; + i_20_ = -class72_19_.anInt1216; + i_21_ = -class72_19_.anInt1229; + } else { + i = class72_19_.anInt1225 - anInt1225; + i_20_ = class72_19_.anInt1216 - anInt1216; + i_21_ = class72_19_.anInt1229 - anInt1229; + } + } + if (anInt1231 != 0) { + int i_22_ = DisplayModeManagerContainer88.anIntArray1207[anInt1231]; + int i_23_ = DisplayModeManagerContainer88.anIntArray1204[anInt1231]; + int i_24_ = i_20_ * i_23_ - i_21_ * i_22_ >> 14; + i_21_ = i_20_ * i_22_ + i_21_ * i_23_ >> 14; + i_20_ = i_24_; + } + if (anInt1219 != 0) { + int i_25_ = DisplayModeManagerContainer88.anIntArray1207[anInt1219]; + int i_26_ = DisplayModeManagerContainer88.anIntArray1204[anInt1219]; + int i_27_ = i_21_ * i_25_ + i * i_26_ >> 14; + i_21_ = i_21_ * i_26_ - i * i_25_ >> 14; + i = i_27_; + } + DisplayModeManagerContainer370 class64 = aClass64_1227.method614((byte) 0, 51200, true); + class64.Shader((short) 0, (short) anInt1224); + var_ha.DualToolkit(1.0F); + var_ha.ZA(16777215, 1.0F, 1.0F, (float) i, (float) i_20_, (float) i_21_); + int i_28_ = 1024 * anInt1220 / (class64.RA() - class64.V()); + if (anInt1222 != 0) i_28_ = i_28_ * 13 / 16; + var_ha.DA(anInt1220 / 2, anInt1220 / 2, i_28_, i_28_); + var_ha.method3638(var_ha.method3654()); + DisplayModeManagerContainer204 class101 = var_ha.method3654(); + class101.method894(0, 0, var_ha.i() - class64.HA()); + class64.method608(class101, null, 1024, 1); + int i_29_ = anInt1220 * 13 / 16; + int i_30_ = (anInt1220 - i_29_) / 2; + aClass105_1215.method970(i_30_, i_30_, i_29_, i_29_, 0, ~0xffffff | anInt1222, 1); + aClass105_1221 = var_ha.method3683(0, 0, anInt1220, anInt1220, true); + var_ha.NativeHandle(); + var_ha.fillRect(0, 0, anInt1220, anInt1220, 0, 0); + aClass105_1228.method970(0, 0, anInt1220, anInt1220, 1, 0, 0); + aClass105_1221.capturePixels(0, 0, 0); + var_ha.KA(anIntArray1226[0], anIntArray1226[1], anIntArray1226[2], anIntArray1226[3]); + } + + final boolean method736(GraphicsToolkit var_ha, DisplayModeManagerContainer365 class72_31_) { + return aClass105_1221 != null || method730(var_ha, class72_31_); + } + + final void method737(GraphicsToolkit var_ha, int i, int i_32_, int i_33_, int i_34_, int i_35_, int i_36_) { + if (aClass105_1221 != null) { + int i_37_ = anInt1231 - i_35_ & 0x3fff; + int i_38_ = anInt1219 - i_36_ & 0x3fff; + if (i_38_ > 8192) i_38_ -= 16384; + if (i_37_ > 8192) i_37_ -= 16384; + int i_39_ = i_37_ * i_34_ / 4096 + (i_34_ - anInt1217) / 2; + int i_40_ = i_38_ * i_34_ / -4096 + (i_33_ - anInt1217) / 2; + if (i_39_ < i_34_ && i_39_ + anInt1217 > 0 && i_40_ < i_33_ && i_40_ + anInt1217 > 0) aClass105_1221.method973(i_40_ + i, i_39_ + i_32_, anInt1217, anInt1217); + } + } + + private static final void method738(GraphicsToolkit var_ha) { + if (aClass64_1227 == null) { + DisplayModeManagerContainer77 class124 = new DisplayModeManagerContainer77(580, 1104, 1); + class124.method1105(109, (byte) 0, (byte) 0, (short) 0, (short) 1024, (byte) 0, (short) 0, (short) 32767, (short) 1024, (short) 1024); + class124.method1101(128, 0, 0, -93); + class124.method1101(-128, 0, 0, 108); + for (int i = 0; i <= 24; i++) { + int i_41_ = i * 8192 / 24; + int i_42_ = DisplayModeManagerContainer88.anIntArray1207[i_41_]; + int i_43_ = DisplayModeManagerContainer88.anIntArray1204[i_41_]; + for (int i_44_ = 1; i_44_ < 24; i_44_++) { + int i_45_ = i_44_ * 8192 / 24; + int i_46_ = DisplayModeManagerContainer88.anIntArray1204[i_45_] >> 7; + int i_47_ = DisplayModeManagerContainer88.anIntArray1207[i_45_] * i_42_ >> 21; + int i_48_ = DisplayModeManagerContainer88.anIntArray1207[i_45_] * i_43_ >> 21; + class124.method1101(i_46_, -i_47_, i_48_, 127); + } + if (i > 0) { + int i_49_ = i * 23 + 2; + int i_50_ = i_49_ - 23; + class124.method1102(0, (byte) 0, (byte) 0, (short) 0, (byte) 52, (short) 127, i_50_, (byte) 0, i_49_); + for (int i_51_ = 1; i_51_ < 23; i_51_++) { + int i_52_ = i_50_ + 1; + int i_53_ = i_49_ + 1; + class124.method1102(i_50_, (byte) 0, (byte) 0, (short) 0, (byte) 41, (short) 127, i_52_, (byte) 0, i_49_); + class124.method1102(i_52_, (byte) 0, (byte) 0, (short) 0, (byte) 67, (short) 127, i_53_, (byte) 0, i_49_); + i_50_ = i_52_; + i_49_ = i_53_; + } + class124.method1102(i_49_, (byte) 0, (byte) 0, (short) 0, (byte) 98, (short) 127, i_50_, (byte) 0, 1); + } + } + class124.anInt1821 = class124.anInt1836; + class124.anIntArray1824 = null; + class124.anIntArray1868 = null; + class124.aByteArray1839 = null; + aClass64_1227 = var_ha.method3625(class124, 51200, 33, 64, 768); + } + } + + static final void method739() { + aClass64_1227 = null; + aClass105_1228 = null; + } + + DisplayModeManagerContainer365(int i, int i_54_, int i_55_, int i_56_, int i_57_, int i_58_, int i_59_, boolean bool) { + anInt1225 = i_55_; + anInt1216 = i_56_; + anInt1229 = i_57_; + aBoolean1223 = bool; + anInt1224 = i_54_; + anInt1222 = i_59_; + anInt1218 = i_58_; + anInt1230 = i; + } + + private final void method740(GraphicsToolkit var_ha, DisplayModeManagerContainer365 class72_60_) { + DisplayModeManagerContainer77 class124 = Component189.loadFromCache(0, Component92.aClass45_3309, anInt1224, -1); + if (class124 != null) { + var_ha.K(anIntArray1226); + var_ha.KA(0, 0, anInt1220, anInt1220); + var_ha.fillRect(0, 0, anInt1220, anInt1220, 0, 0); + int i = 0; + int i_61_ = 0; + int i_62_ = 256; + if (class72_60_ != null) { + if (class72_60_.aBoolean1223) { + i = -class72_60_.anInt1225; + i_61_ = -class72_60_.anInt1216; + i_62_ = -class72_60_.anInt1229; + } else { + i = anInt1225 - class72_60_.anInt1225; + i_61_ = anInt1216 - class72_60_.anInt1216; + i_62_ = anInt1229 - class72_60_.anInt1229; + } + } + if (anInt1231 != 0) { + int i_63_ = -anInt1231 & 0x3fff; + int i_64_ = DisplayModeManagerContainer88.anIntArray1207[i_63_]; + int i_65_ = DisplayModeManagerContainer88.anIntArray1204[i_63_]; + int i_66_ = i_61_ * i_65_ - i_62_ * i_64_ >> 14; + i_62_ = i_61_ * i_64_ + i_62_ * i_65_ >> 14; + i_61_ = i_66_; + } + if (anInt1219 != 0) { + int i_67_ = -anInt1219 & 0x3fff; + int i_68_ = DisplayModeManagerContainer88.anIntArray1207[i_67_]; + int i_69_ = DisplayModeManagerContainer88.anIntArray1204[i_67_]; + int i_70_ = i_62_ * i_68_ + i * i_69_ >> 14; + i_62_ = i_62_ * i_69_ - i * i_68_ >> 14; + i = i_70_; + } + var_ha.DualToolkit(1.0F); + var_ha.ZA(16777215, 1.0F, 1.0F, (float) i, (float) i_61_, (float) i_62_); + DisplayModeManagerContainer370 class64 = var_ha.method3625(class124, 2048, 0, 64, 768); + int i_71_ = class64.RA() - class64.V(); + int i_72_ = class64.EA() - class64.fa(); + int i_73_ = class64.V() + i_71_ / 2; + int i_74_ = class64.fa() + i_72_ / 2; + int i_75_ = Math.max(i_71_, i_72_); + var_ha.DA(i_73_, i_74_, i_75_, i_75_); + var_ha.method3638(var_ha.method3654()); + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + class101.method894(0, 0, var_ha.i() - class64.HA()); + class64.method608(class101, null, var_ha.i(), 1); + aClass105_1221 = var_ha.method3683(0, 0, anInt1220, anInt1220, true); + aClass105_1221.capturePixels(0, 0, 3); + var_ha.KA(anIntArray1226[0], anIntArray1226[1], anIntArray1226[2], anIntArray1226[3]); + } + } +} diff --git a/client/misc/DisplayModeManagerContainer368.java b/client/misc/DisplayModeManagerContainer368.java new file mode 100644 index 000000000..d999d6c34 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer368.java @@ -0,0 +1,128 @@ +/* DisplayModeManagerContainer368 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.awt.*; + +final class DisplayModeManagerContainer368 +/** + * RENAMED from `Class50_Sub3` (JODE-obfuscated). + * Evidence: subclass of Component47 (hierarchy) + */ extends Component47 { + private final int anInt5236; + private final int anInt5237; + static int anInt5238; + static int anInt5239; + static int anInt5240; + static int[] anIntArray5241 = new int[14]; + static Color[] aColorArray5242 = {new Color(16777215), new Color(16777215), new Color(16741381), new Color(16741381)}; + private final int anInt5243; + static int anInt5244; + private final int anInt5245; + private final int anInt5246; + private int anInt5247; + static int anInt5248; + private final int anInt5249; + private final int anInt5250; + static int anInt5251; + static int anInt5252; + static int anInt5253; + static int anInt5254; + + static final void method465(int i) { + if (i != -1636518164) anInt5252 = -40; + HeapDumpHelper.aClass356_4934.clear(0); + anInt5251++; + Component140.aClass356_10442.clear(0); + } + + /** + * Appends one {@link MenuEntry} to {@link DefinitionSub4#menuEntries} + * (via {@link OpenGLToolkit#method3743}) and bumps {@link DisplayModeManagerContainer306#menuEntryCount}. + *

+ * Arg map → {@link MenuEntry} fields: {@code string_6_=option}, + * {@code string=target}, {@code i_5_=opcode}, {@code l_7_=identifier}, + * {@code i_2_=param0}, {@code i=param1}, {@code i_3_=itemId}, {@code i_8_=priority}, + * {@code l=groupKey}. + */ + static final void addMenuEntry(boolean bool, String string, int i, byte i_0_, boolean bool_1_, int i_2_, int i_3_, boolean bool_4_, int i_5_, long l, String string_6_, long l_7_, int i_8_) { + try { + anInt5238++; + if (!Component364.aBoolean8335 && DisplayModeManagerContainer306.menuEntryCount < 500) { + i_8_ = i_8_ != -1 ? i_8_ : Component149.anInt4458; + if (i_0_ >= -65) method469((byte) 19); + MenuEntry class348_sub42_sub12 = new MenuEntry(string_6_, string, i_8_, i_5_, i_3_, l_7_, i_2_, i, bool_4_, bool, l, bool_1_); + GlToolkitSub2.method3743((byte) 6, class348_sub42_sub12); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("hc.B(" + bool + ',' + (string != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + bool_1_ + ',' + i_2_ + ',' + i_3_ + ',' + bool_4_ + ',' + i_5_ + ',' + l + ',' + (string_6_ != null ? "{...}" : "null") + ',' + l_7_ + ',' + i_8_ + ')')); + } + } + + static final void method467(int i, int i_9_, int i_10_) { + if (i_9_ == -18075) { + anInt5248++; + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i, (byte) 105, 1); + class348_sub42_sub15.method3246(-25490); + class348_sub42_sub15.anInt9652 = i_10_; + } + } + + /** {@link RadixParser#isValidNumber} with radix 10. */ + static final boolean isDecimal(String string, int i) { + int i_11_ = -91 % ((-35 - i) / 52); + anInt5239++; + return RadixParser.isValidNumber(true, true, 10, string); + } + + final void method457(int i, int i_12_, int i_13_) { + anInt5254++; + int i_14_ = anInt5246 * i_12_ >> 12; + int i_15_ = anInt5250 * i >> 12; + int i_16_ = anInt5245 * i_12_ >> 12; + int i_17_ = anInt5247 * i >> 12; + int i_18_ = i_12_ * anInt5236 >> 12; + int i_19_ = anInt5237 * i >> 12; + int i_20_ = i_12_ * anInt5243 >> 12; + if (i_13_ > -29) anInt5252 = -91; + int i_21_ = anInt5249 * i >> 12; + AbstractShaderSub3.method3540(i_15_, i_17_, this.anInt865, i_21_, i_16_, i_14_, i_18_, i_19_, i_20_, true); + } + + DisplayModeManagerContainer368(int i, int i_22_, int i_23_, int i_24_, int i_25_, int i_26_, int i_27_, int i_28_, int i_29_, int i_30_) { + super(-1, i_29_, i_30_); + anInt5243 = i_27_; + anInt5246 = i; + anInt5250 = i_22_; + anInt5249 = i_28_; + anInt5247 = i_24_; + anInt5236 = i_25_; + anInt5245 = i_23_; + anInt5237 = i_26_; + } + + final void method456(int i, int i_31_, int i_32_) { + anInt5244++; + if (i < 87) anInt5247 = 18; + } + + public static void method469(byte i) { + int i_33_ = -24 / ((i - -12) / 41); + aColorArray5242 = null; + anIntArray5241 = null; + } + + static final short[] method470(short[] is, byte i) { + anInt5253++; + if (is == null) return null; + short[] is_34_ = new short[is.length]; + Component313.arraycopyShorts(is, 0, is_34_, 0, is.length); + if (i >= -103) method470(null, (byte) -35); + return is_34_; + } + + final void method455(int i, int i_35_, int i_36_) { + anInt5240++; + if (i_36_ >= -98) method470(null, (byte) -17); + } +} diff --git a/client/misc/DisplayModeManagerContainer369.java b/client/misc/DisplayModeManagerContainer369.java new file mode 100644 index 000000000..45cc53b0d --- /dev/null +++ b/client/misc/DisplayModeManagerContainer369.java @@ -0,0 +1,117 @@ +/* DisplayModeManagerContainer369 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer369 +/** + * RENAMED from `Class223` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static Component85 aClass221_2893; + static int anInt2894; + static boolean aBoolean2895 = false; + int anInt2896; + static int anInt2897; + static int anInt2898; + static int[] anIntArray2899; + static int[][] anIntArrayArray2900; + + public static void method1612(byte i) { + anIntArray2899 = null; + if (i != -9) method1614(-47, null, -126, -99, 117, null, null, 90); + anIntArrayArray2900 = null; + aClass221_2893 = null; + } + + public final String toString() { + anInt2894++; + throw new IllegalStateException(); + } + + static final boolean method1613(boolean bool, int i, int i_0_) { + if (bool != false) method1612((byte) -104); + anInt2897++; + return (i_0_ & 0x22) != 0; + } + + DisplayModeManagerContainer369(int i, int i_1_) { + this.anInt2896 = i_1_; + } + + static final void method1614(int i, Npc npc, int i_2_, int i_3_, int i_4_, Player player, Component44 class51, int i_5_) { + try { + anInt2898++; + if (i != 979190089) aBoolean2895 = false; + SceneNode class348_sub9 = new SceneNode(); + class348_sub9.anInt6678 = i_4_ << 9; + class348_sub9.anInt6693 = i_2_; + class348_sub9.anInt6689 = i_3_ << 9; + if (class51 == null) { + if (npc != null) { + class348_sub9.aNpc_6691 = npc; + NpcComposition class79 = (npc.definition); + if (class79.anIntArray1377 != null) { + class348_sub9.aBoolean6684 = true; + class79 = class79.method794((DisplayModeManagerContainer58.aClass170_10209), i ^ ~0x3a5d4149); + } + if (class79 != null) { + class348_sub9.anInt6698 = (i_4_ + class79.anInt1399 << 9); + class348_sub9.anInt6687 = (i_3_ - -class79.anInt1399 << 9); + class348_sub9.anInt6685 = DisplayModeManagerContainer345.method214(npc, -1); + class348_sub9.anInt6696 = class79.anInt1340; + class348_sub9.anInt6694 = class79.anInt1392 << 9; + class348_sub9.anInt6677 = class79.anInt1356; + class348_sub9.anInt6681 = class79.anInt1363; + class348_sub9.aBoolean6674 = class79.aBoolean1370; + } + client.aClass262_5185.addTail(class348_sub9, i + -979210269); + } else if (player != null) { + class348_sub9.aPlayer_6679 = player; + class348_sub9.anInt6698 = (player.method2436((byte) 74) + i_4_) << 9; + class348_sub9.anInt6687 = (player.method2436((byte) 86) + i_3_) << 9; + class348_sub9.anInt6685 = Component168.method2357(-1, player); + class348_sub9.anInt6681 = 256; + class348_sub9.anInt6694 = (player.anInt10553 << 9); + class348_sub9.anInt6677 = player.anInt10558; + class348_sub9.anInt6696 = 256; + class348_sub9.aBoolean6674 = player.aBoolean10517; + HashNodeSub16Sub2.aClass356_10465.put((byte) 65, player.anInt10290, class348_sub9); + } + } else { + class348_sub9.aClass51_6695 = class51; + int i_6_ = class51.anInt961; + int i_7_ = class51.anInt926; + if (i_5_ == 1 || i_5_ == 3) { + i_6_ = class51.anInt926; + i_7_ = class51.anInt961; + } + class348_sub9.anInt6687 = i_7_ + i_3_ << 9; + class348_sub9.anInt6680 = class51.anInt962; + class348_sub9.anInt6685 = class51.anInt887; + class348_sub9.anInt6681 = class51.anInt916; + class348_sub9.anIntArray6697 = class51.anIntArray904; + class348_sub9.anInt6696 = class51.anInt878; + class348_sub9.aBoolean6699 = class51.aBoolean903; + class348_sub9.anInt6694 = class51.anInt889 << 9; + class348_sub9.anInt6668 = class51.anInt937; + class348_sub9.anInt6698 = i_6_ + i_4_ << 9; + class348_sub9.anInt6677 = class51.anInt936; + class348_sub9.aBoolean6674 = class51.aBoolean888; + if (class51.anIntArray945 != null) { + class348_sub9.aBoolean6684 = true; + class348_sub9.method2781((byte) 21); + } + if (class348_sub9.anIntArray6697 != null) class348_sub9.anInt6670 = (class348_sub9.anInt6680 - -(int) ((double) (-class348_sub9.anInt6680 + class348_sub9.anInt6668) * Math.random())); + SceneManager.aClass262_2859.addTail(class348_sub9, -20180); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ad.B(" + i + ',' + (npc != null ? "{...}" : "null") + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ',' + (player != null ? "{...}" : "null") + ',' + (class51 != null ? "{...}" : "null") + ',' + i_5_ + ')')); + } + } + + static { + aClass221_2893 = new Component85(); + anIntArray2899 = new int[13]; + anIntArrayArray2900 = new int[128][128]; + } +} diff --git a/client/misc/DisplayModeManagerContainer370.java b/client/misc/DisplayModeManagerContainer370.java new file mode 100644 index 000000000..340ab48c0 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer370.java @@ -0,0 +1,520 @@ +/* DisplayModeManagerContainer370 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +abstract class DisplayModeManagerContainer370 +/** + * RENAMED from `Class64` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + boolean aBoolean1124 = false; + static int anInt1125; + static int anInt1126; + static int[] anIntArray1127 = new int[2]; + static int anInt1128; + static int anInt1129; + static int anInt1130; + static HuffmanDecoder huffman; + static int anInt1132; + static int anInt1133; + static int anInt1134; + static int anInt1135; + static float aFloat1136; + static int anInt1137; + + abstract void FA(int i); + + abstract void p(int i, int i_0_, s var_s, s var_s_1_, int i_2_, int i_3_, int i_4_); + + private final void method602(int i, ObjectDeserializer class348_sub33, int i_5_, boolean bool, int i_6_, Component376 class4, int i_7_, int[] is, boolean[] bools, Component376 class4_8_, int i_9_, boolean bool_10_) { + try { + anInt1130++; + if (class4 == null || i_7_ == 0) { + for (int i_11_ = 0; class4_8_.anInt126 > i_11_; i_11_++) { + short i_12_ = class4_8_.aShortArray130[i_11_]; + if (bools == null || bools[i_12_] != !bool || (class348_sub33.anIntArray6957[i_12_]) == 0) { + short i_13_ = class4_8_.aShortArray128[i_11_]; + if (i_13_ != -1) method627((class348_sub33.anIntArrayArray6959[i_13_]), bool_10_, i, 0, 0, i_9_ & (class348_sub33.anIntArray6960[i_13_]), (byte) -93, 0, is, 0); + method627((class348_sub33.anIntArrayArray6959[i_12_]), bool_10_, i, class4_8_.aShortArray137[i_11_], (class348_sub33.anIntArray6957[i_12_]), (class348_sub33.anIntArray6960[i_12_]) & i_9_, (byte) -93, class4_8_.aShortArray140[i_11_], is, class4_8_.aShortArray135[i_11_]); + } + } + } else { + int i_14_ = 0; + int i_15_ = 0; + int i_16_ = 0; + int i_17_ = -53 % ((i_5_ - 76) / 41); + for (/**/; class348_sub33.anInt6965 > i_16_; i_16_++) { + boolean bool_18_ = false; + if (class4_8_.anInt126 > i_14_ && class4_8_.aShortArray130[i_14_] == i_16_) bool_18_ = true; + boolean bool_19_ = false; + if (class4.anInt126 > i_15_ && i_16_ == class4.aShortArray130[i_15_]) bool_19_ = true; + if (bool_18_ || bool_19_) { + if (bools != null && bool == !bools[i_16_] && (class348_sub33.anIntArray6957[i_16_]) != 0) { + if (bool_19_) i_15_++; + if (bool_18_) i_14_++; + } else { + int i_20_ = 0; + int i_21_ = (class348_sub33.anIntArray6957[i_16_]); + if (i_21_ == 3 || i_21_ == 10) i_20_ = 128; + int i_22_; + short i_23_; + int i_24_; + byte i_25_; + int i_26_; + if (bool_18_) { + i_22_ = (class4_8_.aShortArray135[i_14_]); + i_23_ = (class4_8_.aShortArray128[i_14_]); + i_24_ = (class4_8_.aShortArray137[i_14_]); + i_25_ = (class4_8_.aByteArray132[i_14_]); + i_26_ = (class4_8_.aShortArray140[i_14_]); + i_14_++; + } else { + i_24_ = i_20_; + i_23_ = (short) -1; + i_22_ = i_20_; + i_26_ = i_20_; + i_25_ = (byte) 0; + } + int i_27_; + int i_28_; + byte i_29_; + int i_30_; + short i_31_; + if (bool_19_) { + i_27_ = class4.aShortArray137[i_15_]; + i_28_ = class4.aShortArray135[i_15_]; + i_29_ = class4.aByteArray132[i_15_]; + i_30_ = class4.aShortArray140[i_15_]; + i_31_ = class4.aShortArray128[i_15_]; + i_15_++; + } else { + i_28_ = i_20_; + i_31_ = (short) -1; + i_30_ = i_20_; + i_27_ = i_20_; + i_29_ = (byte) 0; + } + if (i_23_ != -1) method627((class348_sub33.anIntArrayArray6959[i_23_]), bool_10_, i, 0, 0, (i_9_ & (class348_sub33.anIntArray6960[i_23_])), (byte) -93, 0, is, 0); + else if (i_31_ != -1) method627((class348_sub33.anIntArrayArray6959[i_31_]), bool_10_, i, 0, 0, (i_9_ & (class348_sub33.anIntArray6960[i_31_])), (byte) -93, 0, is, 0); + int i_32_; + int i_33_; + int i_34_; + if ((0x2 & i_25_) != 0 || (i_29_ & 0x1) != 0) { + i_32_ = i_26_; + i_34_ = i_22_; + i_33_ = i_24_; + } else if (i_21_ == 2) { + int i_37_ = 0x3fff & i_30_ - i_26_; + int i_38_ = i_27_ + -i_24_ & 0x3fff; + int i_39_ = 0x3fff & i_28_ - i_22_; + if (i_37_ >= 8192) i_37_ -= 16384; + if (i_38_ >= 8192) i_38_ -= 16384; + if (i_39_ >= 8192) i_39_ -= 16384; + i_32_ = i_26_ - -(i_37_ * i_7_ / i_6_) & 0x3fff; + i_33_ = i_38_ * i_7_ / i_6_ + i_24_ & 0x3fff; + i_34_ = 0x3fff & i_22_ - -(i_7_ * i_39_ / i_6_); + } else if (i_21_ == 9) { + int i_35_ = i_30_ + -i_26_ & 0x3fff; + if (i_35_ >= 8192) i_35_ -= 16384; + i_32_ = i_35_ * i_7_ / i_6_ + i_26_ & 0x3fff; + i_33_ = i_34_ = 0; + } else if (i_21_ == 7) { + int i_36_ = 0x3f & i_30_ + -i_26_; + if (i_36_ >= 32) i_36_ -= 64; + i_32_ = (i_26_ - -(i_36_ * i_7_ / i_6_) & 0x3f); + i_33_ = (i_7_ * (i_27_ + -i_24_) / i_6_ + i_24_); + i_34_ = ((-i_22_ + i_28_) * i_7_ / i_6_ + i_22_); + } else { + i_32_ = (i_26_ + i_7_ * (i_30_ - i_26_) / i_6_); + i_34_ = i_22_ - -((i_28_ + -i_22_) * i_7_ / i_6_); + i_33_ = (i_7_ * (-i_24_ + i_27_) / i_6_ + i_24_); + } + method627((class348_sub33.anIntArrayArray6959[i_16_]), bool_10_, i, i_33_, i_21_, i_9_ & (class348_sub33.anIntArray6960[i_16_]), (byte) -93, i_32_, is, i_34_); + } + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ka.AC(" + i + ',' + (class348_sub33 != null ? "{...}" : "null") + ',' + i_5_ + ',' + bool + ',' + i_6_ + ',' + (class4 != null ? "{...}" : "null") + ',' + i_7_ + ',' + (is != null ? "{...}" : "null") + ',' + (bools != null ? "{...}" : "null") + ',' + (class4_8_ != null ? "{...}" : "null") + ',' + i_9_ + ',' + bool_10_ + ')')); + } + } + + final void method603(byte i, int i_40_, int[] is, int i_41_, int i_42_, int i_43_, HashNodeSub17 class348_sub42_sub17, int i_44_, HashNodeSub17 class348_sub42_sub17_45_, boolean bool, int i_46_) { + try { + anInt1133++; + if (i_42_ != -1) { + method622(); + if (NA()) { + Component376 class4 = (class348_sub42_sub17_45_.aClass4Array9673[i_42_]); + if (i != -55) this.aBoolean1124 = false; + ObjectDeserializer class348_sub33 = class4.aClass348_Sub33_134; + Component376 class4_47_ = null; + if (class348_sub42_sub17 != null) { + class4_47_ = (class348_sub42_sub17.aClass4Array9673[i_43_]); + if (class4_47_.aClass348_Sub33_134 != class348_sub33) class4_47_ = null; + } + method602(i_44_, class348_sub33, -18, false, i_46_, class4_47_, i_40_, is, null, class4, i_41_, bool); + Interface4Impl(); + method621(); + } else method621(); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ka.QB(" + i + ',' + i_40_ + ',' + (is != null ? "{...}" : "null") + ',' + i_41_ + ',' + i_42_ + ',' + i_43_ + ',' + (class348_sub42_sub17 != null ? "{...}" : "null") + ',' + i_44_ + ',' + (class348_sub42_sub17_45_ != null ? "{...}" : "null") + ',' + bool + ',' + i_46_ + ')')); + } + } + + abstract DisplayModeManagerContainer173[] method604(); + + abstract void C(int i); + + abstract void method605(int i, int[] is, int i_48_, int i_49_, int i_50_, int i_51_, boolean bool); + + static final void method606(int i, boolean bool, String string) { + anInt1128++; + string = string.toLowerCase(); + short[] is = new short[16]; + int i_52_ = i; + int i_53_ = bool ? 32768 : 0; + int i_54_ = ((!bool ? Component31.aClass355_5900.anInt4365 : Component31.aClass355_5900.anInt4364) + i_53_); + for (int i_55_ = i_53_; i_55_ < i_54_; i_55_++) { + HashNodeSub10 class348_sub42_sub10 = Component31.aClass355_5900.method3471(i_55_, (byte) -102); + if (class348_sub42_sub10.aBoolean9562 && class348_sub42_sub10.method3219(98).toLowerCase().indexOf(string) != -1) { + if (i_52_ >= 50) { + Component353.aShortArray2579 = null; + DisplayModeManagerContainer154.anInt1285 = -1; + return; + } + if (is.length <= i_52_) { + short[] is_56_ = new short[is.length * 2]; + for (int i_57_ = 0; i_52_ > i_57_; i_57_++) + is_56_[i_57_] = is[i_57_]; + is = is_56_; + } + is[i_52_++] = (short) i_55_; + } + } + DisplayModeManagerContainer154.anInt1285 = i_52_; + Component3.anInt2037 = 0; + Component353.aShortArray2579 = is; + String[] strings = new String[DisplayModeManagerContainer154.anInt1285]; + for (int i_58_ = 0; DisplayModeManagerContainer154.anInt1285 > i_58_; i_58_++) + strings[i_58_] = Component31.aClass355_5900.method3471(is[i_58_], (byte) -91).method3219(NodeSub21.bitwiseXor(i, 81)); + RadixParser.method1333(Component353.aShortArray2579, i + 26073, strings); + } + + abstract void Interface4Impl(); + + abstract void I(int i, int[] is, int i_59_, int i_60_, int i_61_, boolean bool, int i_62_, int[] is_63_); + + abstract int G(); + + static final void method607(int i, String[] strings, short[] is, int i_64_, boolean bool) { + try { + if (bool != false) aFloat1136 = 0.5791872F; + if (i > i_64_) { + int i_65_ = (i_64_ - -i) / 2; + int i_66_ = i_64_; + String string = strings[i_65_]; + strings[i_65_] = strings[i]; + strings[i] = string; + short i_67_ = is[i_65_]; + is[i_65_] = is[i]; + is[i] = i_67_; + for (int i_68_ = i_64_; i_68_ < i; i_68_++) { + if (string == null || (strings[i_68_] != null && (strings[i_68_].compareTo(string) < (i_68_ & 0x1)))) { + String string_69_ = strings[i_68_]; + strings[i_68_] = strings[i_66_]; + strings[i_66_] = string_69_; + short i_70_ = is[i_68_]; + is[i_68_] = is[i_66_]; + is[i_66_++] = i_70_; + } + } + strings[i] = strings[i_66_]; + strings[i_66_] = string; + is[i] = is[i_66_]; + is[i_66_] = i_67_; + method607(i_66_ + -1, strings, is, i_64_, false); + method607(i, strings, is, 1 + i_66_, bool); + } + anInt1134++; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ka.UB(" + i + ',' + (strings != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ',' + i_64_ + ',' + bool + ')')); + } + } + + abstract boolean NA(); + + abstract void LA(int i); + + abstract void method608(DisplayModeManagerContainer204 class101, RenderableSub3 class318_sub3, int i, int i_71_); + + abstract int ua(); + + abstract int HA(); + + abstract int ma(); + + public static void method609(byte i) { + if (i <= -7) { + huffman = null; + anIntArray1127 = null; + } + } + + abstract boolean F(); + + abstract void O(int i, int i_72_, int i_73_); + + abstract void method610(DisplayModeManagerContainer204 class101, int i, boolean bool); + + abstract int EA(); + + final void method611(int i, int i_74_, HashNodeSub17 class348_sub42_sub17) { + anInt1126++; + if (i != -1) { + method622(); + if (NA()) { + Component376 class4 = (class348_sub42_sub17.aClass4Array9673[i]); + ObjectDeserializer class348_sub33 = class4.aClass348_Sub33_134; + for (int i_75_ = 0; (i_75_ < class4.anInt126); i_75_++) { + short i_76_ = class4.aShortArray130[i_75_]; + if (class348_sub33.aBooleanArray6954[i_76_]) { + if (class4.aShortArray128[i_75_] != -1) P(0, 0, 0, 0); + P((class348_sub33.anIntArray6957[i_76_]), class4.aShortArray140[i_75_], class4.aShortArray137[i_75_], class4.aShortArray135[i_75_]); + } + } + if (i_74_ != -8700) anIntArray1127 = null; + Interface4Impl(); + method621(); + } else method621(); + } + } + + abstract void method612(); + + abstract int da(); + + abstract void s(int i); + + abstract int RA(); + + abstract void method613(DisplayModeManagerContainer370 class64_77_, int i, int i_78_, int i_79_, boolean bool); + + abstract void v(); + + abstract DisplayModeManagerContainer370 method614(byte i, int i_80_, boolean bool); + + abstract void method615(DisplayModeManagerContainer204 class101, RenderableSub3 class318_sub3, int i); + + static final boolean method616(int i, int i_81_, int i_82_) { + anInt1129++; + if (i != 2) return false; + return (i_81_ & 0x800) != 0; + } + + final void method617(int i, int i_83_, HashNodeSub17 class348_sub42_sub17, int i_84_, HashNodeSub17 class348_sub42_sub17_85_, boolean bool, boolean bool_86_, int i_87_, int i_88_) { + try { + anInt1125++; + if (i != -1) { + method622(); + if (NA()) { + Component376 class4 = (class348_sub42_sub17_85_.aClass4Array9673[i]); + ObjectDeserializer class348_sub33 = class4.aClass348_Sub33_134; + Component376 class4_89_ = null; + if (class348_sub42_sub17 != null) { + class4_89_ = (class348_sub42_sub17.aClass4Array9673[i_87_]); + if (class348_sub33 != class4_89_.aClass348_Sub33_134) class4_89_ = null; + } + method602(i_84_, class348_sub33, 121, bool, i_83_, class4_89_, i_88_, null, null, class4, 65535, bool_86_); + Interface4Impl(); + method621(); + } else method621(); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ka.BC(" + i + ',' + i_83_ + ',' + (class348_sub42_sub17 != null ? "{...}" : "null") + ',' + i_84_ + ',' + ((class348_sub42_sub17_85_ != null) ? "{...}" : "null") + ',' + bool + ',' + bool_86_ + ',' + i_87_ + ',' + i_88_ + ')')); + } + } + + abstract boolean r(); + + abstract boolean method618(); + + abstract int fa(); + + abstract void a(int i); + + abstract Component30[] method619(); + + abstract int V(); + + abstract void H(int i, int i_90_, int i_91_); + + abstract void method620(DisplayModeManagerContainer204 class101); + + abstract void method621(); + + abstract void method622(); + + abstract void k(int i); + + abstract boolean method623(int i, int i_92_, DisplayModeManagerContainer204 class101, boolean bool, int i_93_, int i_94_); + + abstract void P(int i, int i_95_, int i_96_, int i_97_); + + abstract int WA(); + + abstract void VA(int i); + + abstract void method624(int i, int i_98_, int i_99_, int i_100_); + + abstract int ShaderImpl(); + + final void method625(HashNodeSub17 class348_sub42_sub17, int i, byte i_101_, int i_102_, HashNodeSub17 class348_sub42_sub17_103_, int i_104_, int i_105_, int i_106_, HashNodeSub17 class348_sub42_sub17_107_, boolean bool, int i_108_, HashNodeSub17 class348_sub42_sub17_109_, int i_110_, boolean[] bools, int i_111_) { + try { + anInt1135++; + if (i_104_ != -1) { + if (i_101_ <= 103) aFloat1136 = 0.38855714F; + if (bools == null || i_105_ == -1) method617(i_104_, i, class348_sub42_sub17, 0, class348_sub42_sub17_107_, false, bool, i_108_, i_106_); + else { + method622(); + if (NA()) { + Component376 class4 = (class348_sub42_sub17_107_.aClass4Array9673[i_104_]); + ObjectDeserializer class348_sub33 = class4.aClass348_Sub33_134; + Component376 class4_112_ = null; + if (class348_sub42_sub17 != null) { + class4_112_ = (class348_sub42_sub17.aClass4Array9673[i_108_]); + if (class348_sub33 != class4_112_.aClass348_Sub33_134) class4_112_ = null; + } + method602(0, class348_sub33, -70, false, i, class4_112_, i_106_, null, bools, class4, 65535, bool); + Component376 class4_113_ = (class348_sub42_sub17_103_.aClass4Array9673[i_105_]); + Component376 class4_114_ = null; + if (class348_sub42_sub17_109_ != null) { + class4_114_ = (class348_sub42_sub17_109_.aClass4Array9673[i_111_]); + if (class4_114_.aClass348_Sub33_134 != class348_sub33) class4_114_ = null; + } + method605(0, new int[0], 0, 0, 0, 0, bool); + method602(0, class4_113_.aClass348_Sub33_134, 122, true, i_102_, class4_114_, i_110_, null, bools, class4_113_, 65535, bool); + Interface4Impl(); + method621(); + } else method621(); + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ka.VB(" + (class348_sub42_sub17 != null ? "{...}" : "null") + ',' + i + ',' + i_101_ + ',' + i_102_ + ',' + (class348_sub42_sub17_103_ != null ? "{...}" : "null") + ',' + i_104_ + ',' + i_105_ + ',' + i_106_ + ',' + (class348_sub42_sub17_107_ != null ? "{...}" : "null") + ',' + bool + ',' + i_108_ + ',' + (class348_sub42_sub17_109_ != null ? "{...}" : "null") + ',' + i_110_ + ',' + (bools != null ? "{...}" : "null") + ',' + i_111_ + ')')); + } + } + + abstract void ia(short i, short i_115_); + + final void method626(int i, int i_116_, int i_117_, int i_118_, int i_119_, int i_120_, int i_121_, s var_s, int i_122_) { + anInt1137++; + boolean bool = false; + boolean bool_123_ = false; + boolean bool_124_ = false; + int i_125_ = -i / 2; + int i_126_ = -i_119_ / 2; + int i_127_ = var_s.method3986(i_118_ + i_125_, i_126_ + i_122_, (byte) 10); + int i_128_ = i / 2; + int i_129_ = -i_119_ / 2; + int i_130_ = var_s.method3986(i_128_ + i_118_, i_122_ - -i_129_, (byte) -116); + int i_131_ = -i / 2; + int i_132_ = i_119_ / 2; + int i_133_ = var_s.method3986(i_118_ + i_131_, i_122_ - -i_132_, (byte) -111); + int i_134_ = i / 2; + if (i_116_ != 10947) EA(); + int i_135_ = i_119_ / 2; + int i_136_ = var_s.method3986(i_118_ + i_134_, i_135_ + i_122_, (byte) 50); + int i_137_ = Math.min(i_130_, i_127_); + int i_138_ = Math.min(i_136_, i_133_); + int i_139_ = Math.min(i_136_, i_130_); + if (i_119_ != 0) { + int i_140_ = 0x3fff & (int) (Math.atan2(i_137_ - i_138_, i_119_) * 2607.5945876176133); + if (i_140_ != 0) { + if (i_121_ != 0) { + if (i_140_ > 8192) { + int i_141_ = -i_121_ + 16384; + if (i_141_ > i_140_) i_140_ = i_141_; + } else if (i_140_ > i_121_) i_140_ = i_121_; + } + FA(i_140_); + } + } + int i_142_ = Math.min(i_133_, i_127_); + if (i != 0) { + int i_143_ = (0x3fff & (int) (Math.atan2(-i_139_ + i_142_, i) * 2607.5945876176133)); + if (i_143_ != 0) { + if (i_117_ != 0) { + if (i_143_ > 8192) { + int i_144_ = 16384 - i_117_; + if (i_144_ > i_143_) i_143_ = i_144_; + } else if (i_117_ < i_143_) i_143_ = i_117_; + } + VA(i_143_); + } + } + int i_145_ = i_136_ + i_127_; + if (i_133_ + i_130_ < i_145_) i_145_ = i_133_ + i_130_; + i_145_ = (i_145_ >> 1) - i_120_; + if (i_145_ != 0) H(0, i_145_, 0); + } + + private final void method627(int[] is, boolean bool, int i, int i_146_, int i_147_, int i_148_, byte i_149_, int i_150_, int[] is_151_, int i_152_) { + try { + anInt1132++; + if (i_149_ == -93) { + if (i != 1) { + if (i != 2) { + if (i == 3) { + if (i_147_ == 0 || i_147_ == 1) { + int i_155_ = i_150_; + i_150_ = -i_152_; + i_152_ = i_155_; + } else if (i_147_ == 3) { + int i_154_ = i_150_; + i_150_ = i_152_; + i_152_ = i_154_; + } else if (i_147_ == 2) { + int i_153_ = i_150_; + i_150_ = i_152_ & 0x3fff; + i_152_ = -i_153_ & 0x3fff; + } + } + } else if (i_147_ == 0 || i_147_ == 1) { + i_150_ = -i_150_; + i_152_ = -i_152_; + } else if (i_147_ == 2) { + i_152_ = 0x3fff & -i_152_; + i_150_ = 0x3fff & -i_150_; + } + } else if (i_147_ == 0 || i_147_ == 1) { + int i_156_ = -i_150_; + i_150_ = i_152_; + i_152_ = i_156_; + } else if (i_147_ == 3) { + int i_158_ = i_150_; + i_150_ = i_152_; + i_152_ = i_158_; + } else if (i_147_ == 2) { + int i_157_ = i_150_; + i_150_ = -i_152_ & 0x3fff; + i_152_ = i_157_ & 0x3fff; + } + if (i_148_ == 65535) method605(i_147_, is, i_150_, i_146_, i_152_, i, bool); + else I(i_147_, is, i_150_, i_146_, i_152_, bool, i_148_, is_151_); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ka.PB(" + (is != null ? "{...}" : "null") + ',' + bool + ',' + i + ',' + i_146_ + ',' + i_147_ + ',' + i_148_ + ',' + i_149_ + ',' + i_150_ + ',' + (is_151_ != null ? "{...}" : "null") + ',' + i_152_ + ')')); + } + } + + public DisplayModeManagerContainer370() { + /* empty */ + } + + abstract boolean method628(int i, int i_159_, DisplayModeManagerContainer204 class101, boolean bool, int i_160_); + + abstract void Shader(short i, short i_161_); + + abstract r BufferedToolkit(r var_r); +} diff --git a/client/misc/DisplayModeManagerContainer389.java b/client/misc/DisplayModeManagerContainer389.java new file mode 100644 index 000000000..be98475ac --- /dev/null +++ b/client/misc/DisplayModeManagerContainer389.java @@ -0,0 +1,82 @@ +/* DisplayModeManagerContainer389 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaggl.OpenGL; + +final class DisplayModeManagerContainer389 +/** + * RENAMED from `Class14_Sub2` (JODE-obfuscated). + * Evidence: subclass of DisplayModeManagerContainer194 (hierarchy) + */ extends DisplayModeManagerContainer194 implements Interface18_Impl2 { + static int anInt8619; + static int anInt8620; + static double aDouble8621; + static int anInt8622; + /*synthetic*/ static Class aClass8623; + + DisplayModeManagerContainer389(GlExtensionManager class377, int i, boolean bool, int[][] is) { + super(class377, 34067, Component83.aClass304_1662, Component342.aClass68_1183, 6 * (i * i), bool); + try { + this.aClass377_5082.method3850((byte) -109, this); + if (bool) { + for (int i_1_ = 0; i_1_ < 6; i_1_++) + this.method233(i, i, is[i_1_], i_1_ + 34069, 255); + } else { + for (int i_0_ = 0; i_0_ < 6; i_0_++) + OpenGL.glTexImage2Di(34069 + i_0_, 0, this.method228(121), i, i, 0, ParametricDefinition.method3055(110, this.aClass304_5084), (this.aClass377_5082.anInt9918), is[i_0_], 0); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("le.(" + (class377 != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (is != null ? "{...}" : "null") + ')')); + } + } + + static final void method243(int i) { + anInt8620++; + RandomAccessFileReader class234 = null; + try { + Task class144 = OggUrlStream.aClass297_8992.openCacheFile((byte) -46, "", true); + while (class144.status == 0) SpriteAtlasShader.sleep((byte) -122, 1L); + if (class144.status == 1) { + class234 = (RandomAccessFileReader) class144.result; + Buffer class348_sub49 = Component192.aClass348_Sub51_3959.method3427(24); + class234.write((byte) 114, 0, (class348_sub49.offset), (class348_sub49.payload)); + } + } catch (Exception exception) { + /* empty */ + } + do { + try { + if (i != 37) aDouble8621 = -0.46512114956219314; + if (class234 == null) break; + class234.close(false); + } catch (Exception exception) { + break; + } + break; + } while (false); + } + + static final int method244(int i) { + anInt8622++; + if ((double) DisplayModeManagerContainer229.aFloat1249 == 3.0) return 37; + if (i != 37) return 11; + if ((double) DisplayModeManagerContainer229.aFloat1249 == 4.0) return 50; + if ((double) DisplayModeManagerContainer229.aFloat1249 == 6.0) return 75; + if ((double) DisplayModeManagerContainer229.aFloat1249 == 8.0) return 100; + return 200; + } + + static final boolean method245(int i, int i_2_, int i_3_, byte i_4_) { + if (i_4_ < 38) return false; + anInt8619++; + Interface10 interface10 = (Interface10) CacheNodeSub2.method3297(i, i_2_, i_3_); + boolean bool = true; + if (interface10 != null) bool &= JagTheoraDecoder.method520(interface10, -1); + interface10 = ((Interface10) DisplayModeManagerContainer249.method1353(i, i_2_, i_3_, (aClass8623 != null ? aClass8623 : (aClass8623 = Interface10.class)))); + if (interface10 != null) bool &= JagTheoraDecoder.method520(interface10, -1); + interface10 = (Interface10) BrowserUrlOpener.method2878(i, i_2_, i_3_); + if (interface10 != null) bool &= JagTheoraDecoder.method520(interface10, -1); + return bool; + } +} diff --git a/client/misc/DisplayModeManagerContainer42.java b/client/misc/DisplayModeManagerContainer42.java new file mode 100644 index 000000000..a4cc91dce --- /dev/null +++ b/client/misc/DisplayModeManagerContainer42.java @@ -0,0 +1,130 @@ +/* DisplayModeManagerContainer42 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer42 +/** + * RENAMED from `Class304` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static boolean aBoolean3847 = false; + static int anInt3848; + static int anInt3849; + int anInt3850; + static int anInt3851; + + DisplayModeManagerContainer42(int i) { + this.anInt3850 = i; + } + + public final String toString() { + anInt3851++; + throw new IllegalStateException(); + } + + static final void method2289(int i, int i_0_, int i_1_, int i_2_, byte[] is, int i_3_) { + if (i_1_ > -32) method2290(); + anInt3848++; + if (i < i_3_) { + i_0_ += i; + i_2_ = -i + i_3_ >> 2; + while (--i_2_ >= 0) { + is[i_0_++] = (byte) 1; + is[i_0_++] = (byte) 1; + is[i_0_++] = (byte) 1; + is[i_0_++] = (byte) 1; + } + i_2_ = 0x3 & -i + i_3_; + while (--i_2_ >= 0) is[i_0_++] = (byte) 1; + } + } + + static final void method2290() { + for (; ; ) { + boolean bool = true; + for (int i = 0; i < LoggedOutDefinition.aClass293Array9432.length; i++) { + if (!LoggedOutDefinition.aClass293Array9432[i].method2210()) { + synchronized (LoggedOutDefinition.aClass293Array9432[i]) { + LoggedOutDefinition.aClass293Array9432[i].notify(); + } + bool = false; + } else Component334.aLongArray2013[i] = LoggedOutDefinition.aClass293Array9432[i].method2204(); + } + if (bool) break; + try { + SpriteAtlasShader.sleep((byte) -18, 1L); + } catch (Exception exception) { + /* empty */ + } + } + LoggedOutDefinition.aClass293Array9432[LoggedOutDefinition.aClass293Array9432.length - 1].method2208(); + DebugPanicSub1.method2131(1); + for (; ; ) { + boolean bool = true; + for (int i = 0; i < LoggedOutDefinition.aClass293Array9432.length - 1; i++) { + if (!LoggedOutDefinition.aClass293Array9432[i].method2210()) { + synchronized (LoggedOutDefinition.aClass293Array9432[i]) { + LoggedOutDefinition.aClass293Array9432[i].notify(); + } + bool = false; + } + } + if (bool) break; + try { + SpriteAtlasShader.sleep((byte) 72, 1L); + } catch (Exception exception) { + /* empty */ + } + } + for (int i = 1; i < LoggedOutDefinition.aClass293Array9432.length - 2; i++) + LoggedOutDefinition.aClass293Array9432[i].method2208(); + DebugPanicSub1.method2131(2); + while (!LoggedOutDefinition.aClass293Array9432[0].method2210()) { + synchronized (LoggedOutDefinition.aClass293Array9432[0]) { + LoggedOutDefinition.aClass293Array9432[0].notify(); + } + try { + SpriteAtlasShader.sleep((byte) 112, 1L); + } catch (Exception exception) { + /* empty */ + } + } + LoggedOutDefinition.aClass293Array9432[0].method2208(); + } + + static final void method2291(byte i, int i_4_, int i_5_) { + anInt3849++; + int i_6_ = (Component27.aClass143_4962.stringWidth(true, FriendsIgnoreList.aClass274_3507.getLocalized(ObjectDeserializer.languageId, 544))); + int i_7_; + if (PauseHandler.aBoolean9535) { + for (HashNodeSub13 class348_sub42_sub13 = ((HashNodeSub13) Component237.aClass107_3022.first(-87)); class348_sub42_sub13 != null; class348_sub42_sub13 = ((HashNodeSub13) Component237.aClass107_3022.next((byte) 126))) { + int i_9_; + if (class348_sub42_sub13.anInt9615 != 1) i_9_ = Component156.method2194(-1, class348_sub42_sub13); + else i_9_ = (OutputStream_Sub2.method138(((MenuEntry) (class348_sub42_sub13.aClass107_9621.sentinel.next)), false)); + if (i_6_ < i_9_) i_6_ = i_9_; + } + i_6_ += 8; + i_7_ = 21 + 16 * DisplayModeManagerContainer345.anInt166; + Component251.anInt5819 = (DisplayModeManagerContainer5.aBoolean1211 ? 26 : 22) + 16 * DisplayModeManagerContainer345.anInt166; + } else { + for (MenuEntry class348_sub42_sub12 = ((MenuEntry) DefinitionSub4.menuEntries.first(4)); class348_sub42_sub12 != null; class348_sub42_sub12 = (MenuEntry) DefinitionSub4.menuEntries.next((byte) 69)) { + int i_8_ = OutputStream_Sub2.method138(class348_sub42_sub12, false); + if (i_6_ < i_8_) i_6_ = i_8_; + } + i_6_ += 8; + Component251.anInt5819 = (!DisplayModeManagerContainer5.aBoolean1211 ? 22 : 26) + 16 * DisplayModeManagerContainer306.menuEntryCount; + i_7_ = 21 + DisplayModeManagerContainer306.menuEntryCount * 16; + } + int i_10_ = -(i_6_ / 2) + i_4_; + if (Component236.anInt4017 < i_6_ + i_10_) i_10_ = -i_6_ + Component236.anInt4017; + if (i_10_ < 0) i_10_ = 0; + int i_11_ = i_5_; + if (i > -108) method2290(); + if (i_11_ + i_7_ > PacketReader.anInt10432) i_11_ = PacketReader.anInt10432 + -i_7_; + if (i_11_ < 0) i_11_ = 0; + DisplayModeManagerContainer136.anInt4717 = i_10_; + Component364.aBoolean8335 = true; + DefinitionGroup.anInt9532 = i_11_; + Component227.anInt1117 = i_6_; + } +} diff --git a/client/misc/DisplayModeManagerContainer5.java b/client/misc/DisplayModeManagerContainer5.java new file mode 100644 index 000000000..35ae66782 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer5.java @@ -0,0 +1,95 @@ +/* DisplayModeManagerContainer5 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer5 +/** + * RENAMED from `Class71` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static DisplayModeManagerContainer154 aClass76_1208; + static int anInt1209; + static DisplayModeManagerContainer154 aClass76_1210; + static boolean aBoolean1211 = false; + static Component246 aClass209_1212; + static Component161 aClass138_1213; + static boolean[] aBooleanArray1214; + + public static void method728(boolean bool) { + aClass209_1212 = null; + aClass76_1208 = null; + aClass76_1210 = null; + aBooleanArray1214 = null; + if (bool != true) aClass209_1212 = null; + aClass138_1213 = null; + } + + static final void method729(int i, int i_0_, byte i_1_, DisplayModeManagerContainer58 class318_sub1_sub3_sub3, int i_2_) { + if (i_1_ < 60) method728(true); + anInt1209++; + Component241 class225 = class318_sub1_sub3_sub3.method2422((byte) 72); + int i_3_ = 0x3fff & ((class318_sub1_sub3_sub3.anInt10282) - class318_sub1_sub3_sub3.aClass264_10217.anInt3370); + if (i != -1) { + if ((class318_sub1_sub3_sub3.anInt10275 == -1) || (i_3_ < 10240 && i_3_ > 2048)) { + if (i_3_ == 0 && (class318_sub1_sub3_sub3.anInt10247) <= 25) { + if (i == 2 && class225.anInt2919 != -1) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2919; + else if (i != 0 || class225.anInt2940 == -1) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2951; + else class318_sub1_sub3_sub3.anInt10268 = class225.anInt2940; + class318_sub1_sub3_sub3.aBoolean10213 = false; + } else { + if (i != 2 || class225.anInt2919 == -1) { + if (i != 0 || class225.anInt2940 == -1) { + if (i_0_ < 0 && class225.anInt2934 != -1) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2934; + else if (i_0_ <= 0 || class225.anInt2953 == -1) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2951; + else class318_sub1_sub3_sub3.anInt10268 = class225.anInt2953; + } else if (i_0_ < 0 && class225.anInt2908 != -1) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2908; + else if (i_0_ > 0 && class225.anInt2927 != -1) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2927; + else class318_sub1_sub3_sub3.anInt10268 = class225.anInt2940; + } else if (i_0_ >= 0 || class225.anInt2905 == -1) { + if (i_0_ <= 0 || class225.anInt2911 == -1) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2919; + else class318_sub1_sub3_sub3.anInt10268 = class225.anInt2911; + } else class318_sub1_sub3_sub3.anInt10268 = class225.anInt2905; + class318_sub1_sub3_sub3.aBoolean10213 = false; + } + } else { + int i_4_ = 0x3fff & (RunescapeInfo.anIntArray187[i_2_] - class318_sub1_sub3_sub3.aClass264_10217.anInt3370); + if (i != 2 || class225.anInt2919 == -1) { + if (i == 0 && (class225.anInt2940 != -1)) { + if (i_4_ <= 2048 || i_4_ > 6144 || class225.anInt2947 == -1) { + if (i_4_ >= 10240 && i_4_ < 14336 && class225.anInt2958 != -1) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2958; + else if (i_4_ > 6144 && i_4_ < 10240 && class225.anInt2924 != -1) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2924; + else class318_sub1_sub3_sub3.anInt10268 = class225.anInt2940; + } else class318_sub1_sub3_sub3.anInt10268 = class225.anInt2947; + } else if (i_4_ > 2048 && i_4_ <= 6144 && class225.anInt2954 != -1) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2954; + else if (i_4_ >= 10240 && i_4_ < 14336 && (class225.anInt2937 != -1)) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2937; + else if (i_4_ > 6144 && i_4_ < 10240 && class225.anInt2938 != -1) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2938; + else class318_sub1_sub3_sub3.anInt10268 = class225.anInt2951; + } else if (i_4_ > 2048 && i_4_ <= 6144 && (class225.anInt2949 != -1)) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2949; + else if (i_4_ < 10240 || i_4_ >= 14336 || class225.anInt2914 == -1) { + if (i_4_ <= 6144 || i_4_ >= 10240 || class225.anInt2920 == -1) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2919; + else class318_sub1_sub3_sub3.anInt10268 = class225.anInt2920; + } else class318_sub1_sub3_sub3.anInt10268 = class225.anInt2914; + class318_sub1_sub3_sub3.aBoolean10213 = false; + } + } else if (i_3_ != 0 || (class318_sub1_sub3_sub3.anInt10247) > 25) { + if (i_0_ >= 0 || class225.anInt2916 == -1) { + if (i_0_ <= 0 || class225.anInt2922 == -1) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2951; + else class318_sub1_sub3_sub3.anInt10268 = class225.anInt2922; + } else { + class318_sub1_sub3_sub3.aBoolean10213 = false; + class318_sub1_sub3_sub3.anInt10268 = class225.anInt2916; + } + class318_sub1_sub3_sub3.aBoolean10213 = false; + } else if (!(class318_sub1_sub3_sub3.aBoolean10213) || !class225.method1623((class318_sub1_sub3_sub3.anInt10268), -118)) { + class318_sub1_sub3_sub3.anInt10268 = class225.method1621((byte) 37); + class318_sub1_sub3_sub3.aBoolean10213 = (class318_sub1_sub3_sub3.anInt10268) != -1; + } + } + + static { + aClass76_1208 = aClass76_1210 = new DisplayModeManagerContainer154(false); + aClass209_1212 = new Component246(); + aClass138_1213 = new Component161(11, 0, 1, 2); + aBooleanArray1214 = new boolean[8]; + } +} diff --git a/client/misc/DisplayModeManagerContainer50.java b/client/misc/DisplayModeManagerContainer50.java new file mode 100644 index 000000000..74908501b --- /dev/null +++ b/client/misc/DisplayModeManagerContainer50.java @@ -0,0 +1,148 @@ +/* DisplayModeManagerContainer50 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.awt.*; + +final class DisplayModeManagerContainer50 +/** + * RENAMED from `Class305` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + private int anInt3852; + private int anInt3853; + private final int anInt3854; + static int anInt3855; + static int anInt3856; + private boolean aBoolean3857 = true; + private final int anInt3858; + private int anInt3859 = -1; + static int anInt3860; + static int anInt3861; + private final DisplayModeManagerContainer365[] aClass72Array3862; + private int anInt3863; + static int anInt3864; + private final DisplayModeManagerContainer365[] aClass72Array3865; + private final int anInt3866; + private Component24 aClass105_3867; + static int anInt3868; + /** AWT / voidawt canvas the game paints to and receives mouse/key on. */ + static Canvas gameCanvas; + static boolean aBoolean3870 = false; + private final DisplayModeManagerContainer365 aClass72_3871; + + final boolean method2292(int i, GraphicsToolkit var_ha, int i_0_) { + if (anInt3859 != i_0_) { + anInt3859 = i_0_; + int i_1_ = PrimitiveTypeDefinition.method3051(i_0_, 4096); + if (i_1_ > 512) i_1_ = 512; + if (i_1_ <= 0) i_1_ = 1; + if (i_1_ != anInt3863) { + aClass105_3867 = null; + anInt3863 = i_1_; + } + if (aClass72Array3862 != null) { + anInt3852 = 0; + int[] is = new int[aClass72Array3862.length]; + for (int i_2_ = 0; aClass72Array3862.length > i_2_; i_2_++) { + DisplayModeManagerContainer365 class72 = aClass72Array3862[i_2_]; + if (class72.method733(anInt3866, anInt3854, anInt3853, anInt3859)) { + is[anInt3852] = class72.anInt1232; + aClass72Array3865[anInt3852++] = class72; + } + } + AudioLine.method2092(-1 + anInt3852, 0, is, -120, aClass72Array3865); + } + aBoolean3857 = true; + } + anInt3856++; + if (i <= 27) anInt3853 = -98; + boolean bool = false; + if (aBoolean3857) { + aBoolean3857 = false; + for (int i_3_ = -1 + anInt3852; i_3_ >= 0; i_3_--) { + boolean bool_4_ = aClass72Array3865[i_3_].method736(var_ha, aClass72_3871); + bool |= bool_4_; + DisplayModeManagerContainer50 class305_5_ = this; + class305_5_.aBoolean3857 = class305_5_.aBoolean3857 | !bool_4_; + } + } + return bool; + } + + final void method2293(int i, GraphicsToolkit var_ha, byte i_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_, int i_12_, int i_13_) { + i_10_ = 0x3fff & i + i_10_; + anInt3860++; + if (anInt3858 != -1 && anInt3863 != 0) { + Component319 class12 = MatrixSub1.aD5684.method3(anInt3858, -6662); + if (aClass105_3867 == null && MatrixSub1.aD5684.method4(-7953, anInt3858)) { + int[] is = (class12.anInt200 == 2 ? MatrixSub1.aD5684.method6(-21540, anInt3863, 0.7F, anInt3858, false, anInt3863) : MatrixSub1.aD5684.method5(false, anInt3858, 0.7F, anInt3863, anInt3863, -119)); + aClass105_3867 = var_ha.method3662(anInt3863, is, (byte) 94, 0, anInt3863, anInt3863); + } + if (class12.anInt200 == 2) var_ha.fillRect(i_7_, i_9_, i_8_, i_13_, i_12_, 0); + if (aClass105_3867 != null) { + int i_14_ = class12.anInt200 == 2 ? 1 : 0; + int i_15_ = i_13_ * i_11_ / -4096; + int i_16_; + for (i_16_ = (-i_13_ + i_8_) / 2 + i_13_ * i_10_ / 4096; i_13_ < i_16_; i_16_ -= i_13_) { + /* empty */ + } + for (/**/; i_16_ < 0; i_16_ += i_13_) { + /* empty */ + } + for (/**/; i_13_ < i_15_; i_15_ -= i_13_) { + /* empty */ + } + for (/**/; i_15_ < 0; i_15_ += i_13_) { + /* empty */ + } + for (int i_17_ = -i_13_ + i_16_; i_8_ > i_17_; i_17_ += i_13_) { + for (int i_18_ = i_15_ + -i_13_; i_18_ < i_13_; i_18_ += i_13_) + aClass105_3867.method970(i_7_ + i_17_, i_18_ + i_9_, i_13_, i_13_, 1, 0, i_14_); + } + } + } else var_ha.fillRect(i_7_, i_9_, i_8_, i_13_, i_12_, 0); + for (int i_19_ = -1 + anInt3852; i_19_ >= 0; i_19_--) + aClass72Array3865[i_19_].method737(var_ha, i_7_, i_9_, i_8_, i_13_, i_11_, i_10_); + int i_20_ = 103 % ((i_6_ - 14) / 32); + } + + public static void method2294(int i) { + gameCanvas = null; + if (i <= 94) method2296(-107); + } + + final void method2295(byte i) { + anInt3864++; + if (aClass72Array3862 != null) { + for (int i_21_ = 0; aClass72Array3862.length > i_21_; i_21_++) + aClass72Array3862[i_21_].method734(); + } + aClass105_3867 = null; + if (i != 96) method2292(-84, null, 73); + } + + static final void method2296(int i) { + anInt3868++; + if (i < -46) { + for (int i_22_ = 0; i_22_ < 100; i_22_++) + RenderableSub2.aClass147Array6400[i_22_] = null; + NodeBaseSub1.anInt9774 = 0; + } + } + + DisplayModeManagerContainer50(int i, DisplayModeManagerContainer365[] class72s, int i_23_, int i_24_, int i_25_, int i_26_) { + anInt3853 = i_26_; + anInt3858 = i; + aClass72Array3862 = class72s; + anInt3854 = i_25_; + anInt3866 = i_24_; + if (class72s == null) { + aClass72Array3865 = null; + aClass72_3871 = null; + } else { + aClass72Array3865 = new DisplayModeManagerContainer365[class72s.length]; + aClass72_3871 = i_23_ < 0 ? null : class72s[i_23_]; + } + } +} diff --git a/client/misc/DisplayModeManagerContainer51.java b/client/misc/DisplayModeManagerContainer51.java new file mode 100644 index 000000000..d1bf4d74c --- /dev/null +++ b/client/misc/DisplayModeManagerContainer51.java @@ -0,0 +1,66 @@ +/* DisplayModeManagerContainer51 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +abstract class DisplayModeManagerContainer51 +/** + * RENAMED from `Class186` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static CacheStore aClass45_2490; + static DisplayModeManagerContainer238 aClass74_2491; + static boolean aBoolean2492 = false; + static int anInt2493; + static String[] aStringArray2494; + static StringCache aClass351_2495; + static String password; + static int[] anIntArray2497; + + public static void method1396(int i) { + aClass45_2490 = null; + aClass74_2491 = null; + aStringArray2494 = null; + anIntArray2497 = null; + password = null; + aClass351_2495 = null; + if (i != 25) aClass351_2495 = null; + } + + static final void method1397(int i) { + anInt2493++; + int i_0_ = ShaderCompilerSub1.anInt6513; + int[] is = ShaderProgramSub7.anIntArray6290; + for (int i_1_ = 0; i_1_ < i_0_; i_1_++) { + Player player = InterfaceRenderer.players[is[i_1_]]; + if (player != null && (player.anInt10264) > 0) { + player.anInt10264--; + if ((player.anInt10264) == 0) player.aString10292 = null; + } + } + for (int i_2_ = i; i_2_ < Component324.anInt2057; i_2_++) { + long l = DisplayModeManagerContainer238.anIntArray1233[i_2_]; + NodeSub22 class348_sub22 = ((NodeSub22) Component21.aClass356_3654.get(l, -6008)); + if (class348_sub22 != null) { + Npc npc = (class348_sub22.npc); + if ((npc.anInt10264) > 0) { + npc.anInt10264--; + if (npc.anInt10264 == 0) npc.aString10292 = null; + } + } + } + } + + public DisplayModeManagerContainer51() { + /* empty */ + } + + abstract void method1398(int i, int i_3_, float f, float f_4_, int i_5_, float f_6_, int i_7_, float f_8_, int i_9_, int i_10_, float[] fs); + + static { + aClass74_2491 = new DisplayModeManagerContainer238(13, -1); + aStringArray2494 = new String[100]; + aClass351_2495 = new StringCache(35, 5); + password = ""; + anIntArray2497 = new int[25]; + } +} diff --git a/client/misc/DisplayModeManagerContainer56.java b/client/misc/DisplayModeManagerContainer56.java new file mode 100644 index 000000000..39c4ff8ff --- /dev/null +++ b/client/misc/DisplayModeManagerContainer56.java @@ -0,0 +1,224 @@ +/* DisplayModeManagerContainer56 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.awt.*; + +final class DisplayModeManagerContainer56 +/** + * RENAMED from `Class190` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int anInt2535; + float aFloat2536; + static int anInt2537; + int anInt2538; + static StringCache aClass351_2539 = new StringCache(26, 7); + int anInt2540; + Component80 aClass299_2541; + float aFloat2542 = 0.25F; + static int anInt2543; + float aFloat2544; + float aFloat2545 = 1.0F; + int anInt2546; + float aFloat2547; + int anInt2548; + int anInt2549; + static int anInt2550; + float aFloat2551 = 1.0F; + static int[] anIntArray2552; + static int anInt2553; + static Rectangle[] aRectangleArray2554 = new Rectangle[100]; + static float aFloat2555; + + static final boolean method1422(int i, int i_0_, int i_1_, int i_2_) { + anInt2550++; + DefinitionSub4.aClass101_9114.method897(i_1_, i, i_0_, ShaderLinker.anIntArray10172); + int i_3_ = ShaderLinker.anIntArray10172[2]; + if (i_3_ < 50) return false; + ShaderLinker.anIntArray10172[2] = i_3_; + ShaderLinker.anIntArray10172[0] = (Component211.anInt1962 * ShaderLinker.anIntArray10172[0] / i_3_) + Component325.anInt1202; + ShaderLinker.anIntArray10172[1] = (DisplayModeManagerContainer207.anInt9759 + (ShaderLinker.anIntArray10172[1] * DebugPanicSub2.anInt8498 / i_3_)); + if (i_2_ != -7596) aRectangleArray2554 = null; + return true; + } + + final void method1423(int i, Buffer class348_sub49) { + anInt2553++; + this.aFloat2545 = (float) (class348_sub49.readUnsignedByte(255) * 8) / 255.0F; + this.aFloat2542 = (float) (8 * class348_sub49.readUnsignedByte(i + 247)) / 255.0F; + this.aFloat2551 = (float) (i * class348_sub49.readUnsignedByte(i + 247)) / 255.0F; + } + + final boolean method1424(DisplayModeManagerContainer56 class190_4_, byte i) { + anInt2543++; + if (i != 84) return false; + return (this.anInt2540 == class190_4_.anInt2540) && (this.aFloat2547 == class190_4_.aFloat2547) && (class190_4_.aFloat2544 == this.aFloat2544) && (this.aFloat2536 == class190_4_.aFloat2536) && (class190_4_.aFloat2542 == this.aFloat2542) && (class190_4_.aFloat2545 == this.aFloat2545) && (class190_4_.aFloat2551 == this.aFloat2551) && (class190_4_.anInt2549 == this.anInt2549) && (class190_4_.anInt2546 == this.anInt2546) && (class190_4_.aClass299_2541 == this.aClass299_2541); + } + + static final boolean method1425(byte i, Component274 class42, NodeSub21 class348_sub21, int i_5_, GraphicsToolkit var_ha, int i_6_) { + try { + anInt2537++; + int i_7_ = 2147483647; + int i_8_ = -2147483648; + int i_9_ = 2147483647; + int i_10_ = -2147483648; + if (class42.anIntArray591 != null) { + i_8_ = (DisplayModeManagerContainer229.anInt1272 + ((-DisplayModeManagerContainer229.anInt1274 + (class348_sub21.anInt6852 + class42.anInt595)) * (DisplayModeManagerContainer229.anInt1276 - DisplayModeManagerContainer229.anInt1272) / (-DisplayModeManagerContainer229.anInt1274 + DisplayModeManagerContainer229.anInt1265))); + i_9_ = (-((-DisplayModeManagerContainer229.anInt1262 + DisplayModeManagerContainer229.anInt1268) * (class42.anInt570 + (class348_sub21.anInt6851 - DisplayModeManagerContainer229.anInt1257)) / (DisplayModeManagerContainer229.anInt1277 + -DisplayModeManagerContainer229.anInt1257)) + DisplayModeManagerContainer229.anInt1268); + i_10_ = (-((-DisplayModeManagerContainer229.anInt1262 + DisplayModeManagerContainer229.anInt1268) * (class348_sub21.anInt6851 + (class42.anInt607 + -DisplayModeManagerContainer229.anInt1257)) / (DisplayModeManagerContainer229.anInt1277 - DisplayModeManagerContainer229.anInt1257)) + DisplayModeManagerContainer229.anInt1268); + i_7_ = (((-DisplayModeManagerContainer229.anInt1272 + DisplayModeManagerContainer229.anInt1276) * (-DisplayModeManagerContainer229.anInt1274 + class348_sub21.anInt6852 + class42.anInt603) / (-DisplayModeManagerContainer229.anInt1274 + DisplayModeManagerContainer229.anInt1265)) + DisplayModeManagerContainer229.anInt1272); + } + Component24 class105 = null; + int i_11_ = 0; + if (i > -29) aRectangleArray2554 = null; + int i_12_ = 0; + int i_13_ = 0; + int i_14_ = 0; + if (class42.anInt578 != -1) { + if (class348_sub21.aBoolean6848 && class42.anInt605 != -1) class105 = class42.method374(true, var_ha, (byte) 127); + else class105 = class42.method374(false, var_ha, (byte) 127); + if (class105 != null) { + i_11_ = (class348_sub21.anInt6853 + -(class105.method966() - -1 >> 1)); + i_12_ = (class348_sub21.anInt6853 + (1 + class105.method966() >> 1)); + if (i_11_ < i_7_) i_7_ = i_11_; + if (i_12_ > i_8_) i_8_ = i_12_; + i_13_ = (class348_sub21.anInt6855 - (class105.method980() - -1 >> 1)); + if (i_13_ < i_9_) i_9_ = i_13_; + i_14_ = (class348_sub21.anInt6855 + (1 + class105.method980() >> 1)); + if (i_14_ > i_10_) i_10_ = i_14_; + } + } + FontGlyphCache class323 = null; + int i_15_ = 0; + int i_16_ = 0; + int i_17_ = 0; + int i_18_ = 0; + int i_19_ = 0; + int i_20_ = 0; + int i_21_ = 0; + int i_22_ = 0; + if (class42.aString597 != null) { + class323 = DisplayModeManagerContainer341.method1782(class42.anInt576, 10144); + if (class323 != null) { + i_15_ = (AbstractGlTextureSub1.aClass143_8527.method1188(class42.aString597, null, GlToolkitSub3.aStringArray8019, (byte) 87, null)); + i_17_ = (class348_sub21.anInt6855 - (class42.anInt568 * (DisplayModeManagerContainer229.anInt1268 + -DisplayModeManagerContainer229.anInt1262) / (DisplayModeManagerContainer229.anInt1277 - DisplayModeManagerContainer229.anInt1257))); + i_16_ = (class348_sub21.anInt6853 + ((-DisplayModeManagerContainer229.anInt1272 + DisplayModeManagerContainer229.anInt1276) * class42.anInt566 / (DisplayModeManagerContainer229.anInt1265 + -DisplayModeManagerContainer229.anInt1274))); + if (class105 == null) i_17_ -= i_15_ * class323.method2560() / 2; + else i_17_ -= ((class105.method980() >> 1) - -(i_15_ * class323.method2565())); + for (int i_23_ = 0; i_15_ > i_23_; i_23_++) { + String string = GlToolkitSub3.aStringArray8019[i_23_]; + if (i_23_ < -1 + i_15_) string = string.substring(0, -4 + string.length()); + int i_24_ = class323.method2564(string); + if (i_18_ < i_24_) i_18_ = i_24_; + } + i_19_ = i_6_ + i_16_ + -(i_18_ / 2); + i_20_ = i_6_ + i_16_ + i_18_ / 2; + if (i_7_ > i_19_) i_7_ = i_19_; + i_21_ = i_17_ + i_5_; + if (i_20_ > i_8_) i_8_ = i_20_; + i_22_ = i_5_ + (i_17_ + class323.method2565() * i_15_); + if (i_9_ > i_21_) i_9_ = i_21_; + if (i_10_ < i_22_) i_10_ = i_22_; + } + } + if (DisplayModeManagerContainer229.anInt1272 > i_8_ || i_7_ > DisplayModeManagerContainer229.anInt1276 || i_10_ < DisplayModeManagerContainer229.anInt1262 || i_9_ > DisplayModeManagerContainer229.anInt1268) return true; + DisplayModeManagerContainer229.method745(var_ha, class348_sub21, class42); + if (class105 != null) { + if (WaterShader.anInt7379 > 0 && ((DefinitionSub30.anInt9399 != -1 && (DefinitionSub30.anInt9399 == class348_sub21.anInt6847)) || (Component225.anInt481 != -1 && (class42.anInt596 == Component225.anInt481)))) { + int i_25_; + if (LoadingManager.anInt2173 <= 50) i_25_ = 2 * LoadingManager.anInt2173; + else i_25_ = -(LoadingManager.anInt2173 * 2) + 200; + int i_26_ = 0xffff00 | i_25_ << 24; + var_ha.method3656((byte) -105, i_26_, class105.method971() / 2 - -7, (class348_sub21.anInt6853), (class348_sub21.anInt6855)); + var_ha.method3656((byte) -120, i_26_, class105.method971() / 2 - -5, (class348_sub21.anInt6853), (class348_sub21.anInt6855)); + var_ha.method3656((byte) -126, i_26_, 3 + class105.method971() / 2, (class348_sub21.anInt6853), (class348_sub21.anInt6855)); + var_ha.method3656((byte) -112, i_26_, 1 + class105.method971() / 2, (class348_sub21.anInt6853), (class348_sub21.anInt6855)); + var_ha.method3656((byte) -123, i_26_, class105.method971() / 2, (class348_sub21.anInt6853), (class348_sub21.anInt6855)); + } + class105.method974((class348_sub21.anInt6853 + -(class105.method966() >> 1)), (class348_sub21.anInt6855 + -(class105.method980() >> 1))); + } + if (class42.aString597 != null && class323 != null) DisplayModeManagerContainer173.method2683(class323, class348_sub21, i_16_, 64, i_15_, var_ha, i_17_, i_18_, class42); + if (class42.anInt578 != -1 || class42.aString597 != null) { + NodeSub12 class348_sub12 = new NodeSub12(class348_sub21); + class348_sub12.anInt6746 = i_13_; + class348_sub12.anInt6753 = i_21_; + class348_sub12.anInt6747 = i_11_; + class348_sub12.anInt6738 = i_22_; + class348_sub12.anInt6745 = i_19_; + class348_sub12.anInt6735 = i_14_; + class348_sub12.anInt6737 = i_20_; + class348_sub12.anInt6750 = i_12_; + Component156.aClass262_3705.addTail(class348_sub12, -20180); + } + return false; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bp.C(" + i + ',' + (class42 != null ? "{...}" : "null") + ',' + (class348_sub21 != null ? "{...}" : "null") + ',' + i_5_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_6_ + ')')); + } + } + + public static void method1426(int i) { + aClass351_2539 = null; + aRectangleArray2554 = null; + anIntArray2552 = null; + if (i != 25165) aRectangleArray2554 = null; + } + + public DisplayModeManagerContainer56() { + this.anInt2535 = -50; + this.aFloat2536 = 1.2F; + this.aClass299_2541 = HashNodeSub10.aClass299_9571; + this.anInt2546 = 0; + this.anInt2549 = DisplayModeManagerContainer259.anInt3444; + this.anInt2548 = -60; + this.anInt2538 = -50; + this.aFloat2544 = 0.69921875F; + this.anInt2540 = DisplayModeManagerContainer259.anInt3439; + this.aFloat2547 = 1.1523438F; + } + + DisplayModeManagerContainer56(Buffer class348_sub49) { + int i = class348_sub49.readUnsignedByte(255); + if (Component192.aClass348_Sub51_3959.aClass239_Sub28_7230.method1845(-32350) != 1 || NodeCache.aHa1098.method3704() <= 0) { + if ((0x1 & i) != 0) class348_sub49.readInt((byte) -126); + if ((0x2 & i) != 0) class348_sub49.readUnsignedShort(842397944); + if ((i & 0x4) != 0) class348_sub49.readUnsignedShort(842397944); + if ((0x8 & i) != 0) class348_sub49.readUnsignedShort(842397944); + this.anInt2540 = DisplayModeManagerContainer259.anInt3439; + this.aFloat2547 = 1.1523438F; + this.aFloat2544 = 0.69921875F; + this.aFloat2536 = 1.2F; + } else { + if ((i & 0x1) != 0) this.anInt2540 = class348_sub49.readInt((byte) -126); + else this.anInt2540 = DisplayModeManagerContainer259.anInt3439; + if ((0x2 & i) != 0) this.aFloat2547 = (float) class348_sub49.readUnsignedShort(842397944) / 256.0F; + else this.aFloat2547 = 1.1523438F; + if ((i & 0x4) == 0) this.aFloat2544 = 0.69921875F; + else this.aFloat2544 = (float) class348_sub49.readUnsignedShort(842397944) / 256.0F; + if ((0x8 & i) != 0) this.aFloat2536 = (float) class348_sub49.readUnsignedShort(842397944) / 256.0F; + else this.aFloat2536 = 1.2F; + } + if ((i & 0x10) == 0) { + this.anInt2548 = -60; + this.anInt2535 = -50; + this.anInt2538 = -50; + } else { + this.anInt2538 = class348_sub49.readShort(13638); + this.anInt2548 = class348_sub49.readShort(13638); + this.anInt2535 = class348_sub49.readShort(13638); + } + if ((0x20 & i) == 0) this.anInt2549 = DisplayModeManagerContainer259.anInt3444; + else this.anInt2549 = class348_sub49.readInt((byte) -126); + if ((i & 0x40) != 0) this.anInt2546 = class348_sub49.readUnsignedShort(842397944); + else this.anInt2546 = 0; + if ((0x80 & i) != 0) { + int i_27_ = class348_sub49.readUnsignedShort(842397944); + int i_28_ = class348_sub49.readUnsignedShort(842397944); + int i_29_ = class348_sub49.readUnsignedShort(842397944); + int i_30_ = class348_sub49.readUnsignedShort(842397944); + int i_31_ = class348_sub49.readUnsignedShort(842397944); + int i_32_ = class348_sub49.readUnsignedShort(842397944); + this.aClass299_2541 = GameType.method1636(i_31_, i_30_, i_27_, i_32_, i_28_, -1, i_29_); + } else this.aClass299_2541 = HashNodeSub10.aClass299_9571; + } +} diff --git a/client/misc/DisplayModeManagerContainer57.java b/client/misc/DisplayModeManagerContainer57.java new file mode 100644 index 000000000..da032c290 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer57.java @@ -0,0 +1,882 @@ +/* DisplayModeManagerContainer57 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer57 +/** + * RENAMED from `Class46` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + Object[] anObjectArray671; + int anInt672; + int anInt673 = 0; + int anInt674; + int anInt675; + boolean aBoolean676; + int[] anIntArray677; + int anInt678 = 2; + Object[] anObjectArray679; + Object[] anObjectArray680; + byte aByte681; + boolean aBoolean682; + Object[] anObjectArray683; + static int anInt684; + Object[] anObjectArray685; + int[] anIntArray686; + Object[] anObjectArray687; + int anInt688 = 0; + boolean aBoolean689; + int anInt690; + static int anInt691; + Object[] anObjectArray692; + int anInt693; + static int anInt694; + int anInt695; + int anInt696 = 0; + boolean aBoolean697; + int anInt698; + int anInt699; + int anInt700; + Object[] anObjectArray701; + int anInt702 = -1; + int anInt703; + int anInt704; + int anInt705; + int[] anIntArray706; + int[] anIntArray707; + Object[] anObjectArray708; + int anInt709; + int anInt710; + private LruCache aClass356_711; + static int anInt712; + int anInt713; + Object[] anObjectArray714; + int anInt715; + int anInt716; + int anInt717; + static int anInt718; + int anInt719; + boolean aBoolean720; + String aString721; + static int anInt722; + int anInt723; + byte aByte724; + int anInt725; + int anInt726; + Object[] anObjectArray727; + int anInt728; + int anInt729; + int anInt730; + int[] anIntArray731; + int anInt732; + int anInt733; + Object[] anObjectArray734; + boolean aBoolean735; + static int anInt736; + boolean aBoolean737; + int anInt738; + int anInt739; + RenderableSub10 aClass318_Sub10_740; + Object[] anObjectArray741; + Object[] anObjectArray742; + static int anInt743; + boolean aBoolean744; + boolean aBoolean745; + byte[] aByteArray746; + int anInt747; + NodeSub44 aClass348_Sub44_748; + int anInt749; + int anInt750; + Object[] anObjectArray751; + String aString752; + int anInt753; + boolean aBoolean754; + int anInt755; + int anInt756; + int anInt757; + static int anInt758; + int anInt759; + int anInt760; + Object[] anObjectArray761; + int anInt762; + Object[] anObjectArray763; + Object[] anObjectArray764; + int anInt765; + static int anInt766; + static int anInt767; + static int anInt768; + boolean aBoolean769; + int anInt770; + int[] anIntArray771; + int[] anIntArray772; + int anInt773; + int anInt774; + int anInt775; + boolean aBoolean776; + Object[] anObjectArray777; + byte aByte778; + int anInt779; + String aString780; + int anInt781; + DisplayModeManagerContainer57 aClass46_782; + static int anInt783; + boolean aBoolean784; + Object[] anObjectArray785; + int anInt786; + int anInt787; + int anInt788; + int anInt789; + boolean aBoolean790; + int anInt791; + String aString792; + boolean aBoolean793; + int anInt794; + int anInt795; + int anInt796; + int anInt797; + DisplayModeManagerContainer57[] aClass46Array798; + int anInt799; + int anInt800; + int[] anIntArray801; + static int anInt802; + Object[] anObjectArray803; + static int anInt804; + Object[] anObjectArray805; + int anInt806; + Object[] anObjectArray807; + int anInt808; + int anInt809; + boolean aBoolean810; + Object[] anObjectArray811; + int anInt812; + boolean aBoolean813; + int anInt814; + Object[] anObjectArray815; + String aString816; + byte aByte817; + int[] anIntArray818; + static int anInt819; + Object[] anObjectArray820; + static byte[] aByteArray821 = new byte[32896]; + Object[] anObjectArray822; + Object[] anObjectArray823; + int anInt824; + static int anInt825; + int anInt826; + static int anInt827; + int anInt828; + static int anInt829; + int anInt830; + int[] anIntArray831; + byte[] aByteArray832; + String[] aStringArray833; + int anInt834; + int anInt835; + Object[] anObjectArray836; + static int anInt837; + static Component169 aClass196_838; + Object[] anObjectArray839; + Object[] anObjectArray840; + int anInt841; + int anInt842; + + static final void method424(int i, int i_0_, GraphicsToolkit var_ha, int i_1_, int i_2_, int i_3_, int i_4_, byte[][][] is, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_) { + try { + anInt768++; + if (i_7_ != i_1_ && i_3_ != 0) { + if (i_7_ == 9) { + i_7_ = 1; + i_4_ = i_4_ - -1 & 0x3; + } + if (i_7_ == 10) { + i_4_ = 3 + i_4_ & 0x3; + i_7_ = 1; + } + if (i_7_ == 11) { + i_4_ = i_4_ + 3 & 0x3; + i_7_ = 8; + } + var_ha.Q(i_6_, i_9_, i_5_, i_8_, i_0_, i, is[i_7_ - 1][i_4_], i_3_, i_2_); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("at.S(" + i + ',' + i_0_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_1_ + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ',' + (is != null ? "{...}" : "null") + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ',' + i_9_ + ')')); + } + } + + final Shader method425(GraphicsToolkit var_ha, byte i) { + anInt767++; + Shader var_aa = (Shader) ColoredText.aClass60_6096.get(this.anInt830, 119); + if (var_aa != null) return var_aa; + Component170 class207 = Component170.method1521(Component327.aClass45_8755, this.anInt756, 0); + if (class207 == null) return null; + int i_10_ = (class207.anInt2703 + (class207.anInt2702 + class207.anInt2698)); + int i_11_ = (class207.anInt2700 + (class207.anInt2696 + class207.anInt2701)); + this.anIntArray772 = new int[i_11_]; + this.anIntArray677 = new int[i_11_]; + for (int i_12_ = 0; (i_12_ < class207.anInt2696); i_12_++) { + int i_13_ = 0; + for (int i_14_ = 0; (i_14_ < class207.anInt2702); i_14_++) { + if ((class207.aByteArray2699[class207.anInt2702 * i_12_ + i_14_]) != 0) { + i_13_ = i_14_; + break; + } + } + int i_15_ = i_10_; + for (int i_16_ = i_13_; (i_16_ < class207.anInt2702); i_16_++) { + if ((class207.aByteArray2699[class207.anInt2702 * i_12_ + i_16_]) == 0) { + i_15_ = i_16_; + break; + } + } + this.anIntArray677[(class207.anInt2700 + i_12_)] = class207.anInt2703 + i_13_; + this.anIntArray772[(i_12_ + class207.anInt2700)] = i_15_ + -i_13_; + } + if (i < 0) method433(null, false); + var_aa = var_ha.method3661(i_10_, i_11_, this.anIntArray677, this.anIntArray772); + ColoredText.aClass60_6096.putOne(var_aa, this.anInt830, (byte) -104); + return var_aa; + } + + final BitmapFont method426(GraphicsToolkit var_ha, byte i) { + anInt827++; + BitmapFont class324 = DisplayModeManagerContainer194.method232(var_ha, (byte) -53, false, this.anInt702); + if (i != 68) method436(-71, -56, -125); + HashNodeSub13.aBoolean9616 = class324 == null; + return class324; + } + + static final void method427(int i) { + anInt837++; + Component267.aClass268_2979.method2033((byte) 46); + Component149.aClass183_4460.method1377(2); + DefinitionSub25.aClass150_9342.method1204(0); + GradientPreset.aClass263_9195.method2006(88); + Component291.aClass278_2529.method2080(127); + Exception_Sub1.itemDefinitions.method1938(126); + RunescapeInfo.aClass87_191.method838(7); + NsnDefinition.aClass319_9245.method2542(-101); + Component267.aClass194_2981.method1443(83); + Component209.aClass217_3453.method1590(0); + DisplayModeManagerContainer282.aClass261_5558.removeSoft((byte) -91); + Component245.aClass141_117.method1174((byte) -99); + DisplayModeManagerContainer64.aClass153_9031.method1222(true); + DisplayModeManagerContainer64.aClass187_9036.method1410(-27995); + MatrixSub3.aClass326_5764.method2602(0); + ComponentDownloader.aClass84_413.method816(false); + Component132.aClass25_1813.method302(-797644856); + NodeSub1.aClass185_6559.method1390(23); + Component339.aClass166_3147.method1283(1); + Component257.aClass65_4787.method694(-1007); + DisplayModeManagerContainer306.aClass219_4782.method1598(111); + Component374.method2638(-4631); + Component16.method1328(-26162); + DefinitionSub20.method3102(22385); + Component352.method386((byte) -106); + ImageTagText.method1271(0); + Component45.aClass60_4346.method587(-108); + ShaderCompilerSub2.aClass60_6517.method587(-109); + NodeSub1Sub1.aClass60_8807.method587(-113); + Component225.aClass60_463.method587(-83); + ClientScriptExecutor.aClass60_1174.method587(-91); + int i_17_ = 54 / ((26 - i) / 53); + } + + final int method428(int i, int i_18_, int i_19_) { + anInt736++; + if (aClass356_711 == null) return i; + if (i_19_ >= -124) this.anInt700 = 46; + NodeSub35 class348_sub35 = (NodeSub35) aClass356_711.get(i_18_, -6008); + if (class348_sub35 == null) return i; + return class348_sub35.intValue; + } + + final String method429(int i, String string, int i_20_) { + anInt783++; + if (i_20_ != -1) method437(-123, null, null, -35, null); + if (aClass356_711 == null) return string; + NodeSub50 class348_sub50 = (NodeSub50) aClass356_711.get(i, -6008); + if (class348_sub50 == null) return string; + return class348_sub50.stringValue; + } + + final DisplayModeManagerContainer370 method430(Component324 class150, Component344 class87, int i, GraphicsToolkit var_ha, int i_21_, int i_22_, ItemDefinitionProvider class255, Interface17 interface17, int i_23_, Component101 class154, DisplayModeManagerContainer167 class17, DisplayModeManagerContainer1 class261, DisplayModeManagerContainer347 class278, int i_24_) { + try { + anInt684++; + HashNodeSub13.aBoolean9616 = false; + if (this.anInt770 == 0) return null; + if (this.anInt770 == 1 && this.anInt753 == -1) return null; + if (this.anInt770 == 1) { + int i_25_ = i; + if (class17 != null) i |= class17.method263(i_24_, 106, i_21_, true); + long l = this.anInt753 + ((this.anInt770 << 16) + (var_ha.anInt4567 << 29)); + DisplayModeManagerContainer370 class64 = (DisplayModeManagerContainer370) Component142.aClass60_4417.get(l, -90); + if (class64 == null || var_ha.method3667(class64.ua(), i) != 0) { + if (class64 != null) i = var_ha.bitwiseOr(i, class64.ua()); + DisplayModeManagerContainer77 class124 = Component189.loadFromCache(0, (DefinitionSub28.aClass45_9365), this.anInt753, -1); + if (class124 == null) { + HashNodeSub13.aBoolean9616 = true; + return null; + } + if (class124.anInt1830 < 13) class124.method1092(2, 114); + class64 = var_ha.method3625(class124, i, DisplayModeManagerContainer288.anInt8628, 64, 768); + Component142.aClass60_4417.putOne(class64, l, (byte) -125); + } + if (class17 != null) class64 = class17.method269(-101, class64, i_24_, i_22_, i, i_21_); + class64.s(i_25_); + return class64; + } + if (this.anInt770 == 2) { + DisplayModeManagerContainer370 class64 = (class278.method2079(this.anInt753, -1).method803(interface17, var_ha, i_22_, i_24_, class17, class87, i_21_, 104, i)); + if (class64 == null) { + HashNodeSub13.aBoolean9616 = true; + return null; + } + return class64; + } + if (i_23_ != 255) method432(null, -50); + if (this.anInt770 == 3) { + if (class154 == null) return null; + DisplayModeManagerContainer370 class64 = class154.method1230(class255, -402058072, class87, class150, interface17, class278, i_21_, i_24_, i, class17, i_22_, var_ha); + if (class64 == null) { + HashNodeSub13.aBoolean9616 = true; + return null; + } + return class64; + } + if (this.anInt770 == 4) { + ItemDefinition class213 = class255.getItemDefinition(i_23_ + -365, this.anInt753); + DisplayModeManagerContainer370 class64 = class213.method1559(class154, class17, var_ha, i, i_22_, 10, i_21_, (byte) 88, i_24_); + if (class64 == null) { + HashNodeSub13.aBoolean9616 = true; + return null; + } + return class64; + } + if (this.anInt770 == 6) { + DisplayModeManagerContainer370 class64 = (class278.method2079(this.anInt753, -1).method800(0, null, class87, false, null, 0, class261, i_21_, class17, interface17, var_ha, 0, null, i_24_, 0, i, i_22_)); + if (class64 == null) { + HashNodeSub13.aBoolean9616 = true; + return null; + } + return class64; + } + if (this.anInt770 == 7) { + if (class154 == null) return null; + int i_26_ = this.anInt753 >>> 16; + int i_27_ = 0xffff & this.anInt753; + int i_28_ = this.anInt779; + DisplayModeManagerContainer370 class64 = class154.method1232(i_24_, i, i_28_, i_27_, class87, class150, -15331, i_26_, i_22_, var_ha, i_21_, class17); + if (class64 == null) { + HashNodeSub13.aBoolean9616 = true; + return null; + } + return class64; + } + return null; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("at.G(" + (class150 != null ? "{...}" : "null") + ',' + (class87 != null ? "{...}" : "null") + ',' + i + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_21_ + ',' + i_22_ + ',' + (class255 != null ? "{...}" : "null") + ',' + (interface17 != null ? "{...}" : "null") + ',' + i_23_ + ',' + (class154 != null ? "{...}" : "null") + ',' + (class17 != null ? "{...}" : "null") + ',' + (class261 != null ? "{...}" : "null") + ',' + (class278 != null ? "{...}" : "null") + ',' + i_24_ + ')')); + } + } + + final void method431(int i, int i_29_, byte i_30_) { + anInt712++; + if (this.anIntArray706 == null || (i >= this.anIntArray706.length)) { + int[] is = new int[1 + i]; + if (this.anIntArray706 != null) { + for (int i_31_ = 0; (i_31_ < this.anIntArray706.length); i_31_++) + is[i_31_] = this.anIntArray706[i_31_]; + for (int i_32_ = this.anIntArray706.length; i > i_32_; i_32_++) + is[i_32_] = -1; + } + this.anIntArray706 = is; + } + this.anIntArray706[i] = i_29_; + if (i_30_ > -18) this.anInt779 = 13; + } + + private final Object[] method432(Buffer class348_sub49, int i) { + if (i != -1) return null; + anInt691++; + int i_33_ = class348_sub49.readUnsignedByte(255); + if (i_33_ == 0) return null; + Object[] objects = new Object[i_33_]; + for (int i_34_ = 0; i_34_ < i_33_; i_34_++) { + int i_35_ = class348_sub49.readUnsignedByte(255); + if (i_35_ != 0) { + if (i_35_ == 1) objects[i_34_] = class348_sub49.readString((byte) 124); + } else objects[i_34_] = new Integer(class348_sub49.readInt((byte) -126)); + } + this.aBoolean682 = true; + return objects; + } + + final void method433(Buffer class348_sub49, boolean bool) { + anInt743++; + int i = class348_sub49.readUnsignedByte(255); + if (i == 255) i = -1; + this.anInt774 = class348_sub49.readUnsignedByte(255); + if ((0x80 & this.anInt774) != 0) { + this.anInt774 &= 0x7f; + this.aString721 = class348_sub49.readString((byte) -72); + } + this.anInt765 = class348_sub49.readUnsignedShort(842397944); + this.anInt788 = class348_sub49.readShort(13638); + this.anInt739 = class348_sub49.readShort(13638); + this.anInt842 = class348_sub49.readUnsignedShort(842397944); + this.anInt728 = class348_sub49.readUnsignedShort(842397944); + this.aByte778 = class348_sub49.readByte(-96); + this.aByte724 = class348_sub49.readByte(-87); + this.aByte817 = class348_sub49.readByte(-86); + this.aByte681 = class348_sub49.readByte(-108); + this.anInt834 = class348_sub49.readUnsignedShort(842397944); + if (this.anInt834 == 65535) this.anInt834 = -1; + else this.anInt834 = ((~0xffff & this.anInt830) + this.anInt834); + int i_36_ = class348_sub49.readUnsignedByte(255); + if (i >= 0) this.aBoolean776 = (0x2 & i_36_) != 0; + this.aBoolean813 = (0x1 & i_36_) != 0; + if (this.anInt774 == 0) { + this.anInt698 = class348_sub49.readUnsignedShort(842397944); + this.anInt791 = class348_sub49.readUnsignedShort(842397944); + if (i < 0) this.aBoolean776 = class348_sub49.readUnsignedByte(255) == 1; + } + if (this.anInt774 == 5) { + this.anInt756 = class348_sub49.readInt((byte) -126); + this.anInt828 = class348_sub49.readUnsignedShort(842397944); + int i_37_ = class348_sub49.readUnsignedByte(255); + this.aBoolean697 = (i_37_ & 0x1) != 0; + this.aBoolean745 = (0x2 & i_37_) != 0; + this.anInt696 = class348_sub49.readUnsignedByte(255); + this.anInt672 = class348_sub49.readUnsignedByte(255); + this.anInt809 = class348_sub49.readInt((byte) -126); + this.aBoolean790 = class348_sub49.readUnsignedByte(255) == 1; + this.aBoolean735 = class348_sub49.readUnsignedByte(255) == 1; + this.anInt749 = class348_sub49.readInt((byte) -126); + } + if (this.anInt774 == 6) { + this.anInt770 = 1; + this.anInt753 = class348_sub49.readUnsignedShort(842397944); + if (this.anInt753 == 65535) this.anInt753 = -1; + int i_38_ = class348_sub49.readUnsignedByte(255); + this.aBoolean784 = (0x2 & i_38_) == 2; + boolean bool_39_ = (i_38_ & 0x1) == 1; + this.aBoolean689 = (i_38_ & 0x4) == 4; + this.aBoolean754 = (i_38_ & 0x8) == 8; + if (bool_39_) { + this.anInt688 = class348_sub49.readShort(13638); + this.anInt799 = class348_sub49.readShort(13638); + this.anInt757 = class348_sub49.readUnsignedShort(842397944); + this.anInt675 = class348_sub49.readUnsignedShort(842397944); + this.anInt717 = class348_sub49.readUnsignedShort(842397944); + this.anInt716 = class348_sub49.readUnsignedShort(842397944); + } else if (this.aBoolean784) { + this.anInt688 = class348_sub49.readShort(13638); + this.anInt799 = class348_sub49.readShort(13638); + this.anInt787 = class348_sub49.readShort(13638); + this.anInt757 = class348_sub49.readUnsignedShort(842397944); + this.anInt675 = class348_sub49.readUnsignedShort(842397944); + this.anInt717 = class348_sub49.readUnsignedShort(842397944); + this.anInt716 = class348_sub49.readShort(13638); + } + this.anInt699 = class348_sub49.readUnsignedShort(842397944); + if (this.anInt699 == 65535) this.anInt699 = -1; + if (this.aByte778 != 0) this.anInt796 = class348_sub49.readUnsignedShort(842397944); + if (this.aByte724 != 0) this.anInt826 = class348_sub49.readUnsignedShort(842397944); + } + if (this.anInt774 == 4) { + this.anInt702 = class348_sub49.readUnsignedShort(842397944); + if (this.anInt702 == 65535) this.anInt702 = -1; + this.aString792 = class348_sub49.readString((byte) 111); + this.anInt673 = class348_sub49.readUnsignedByte(255); + this.anInt762 = class348_sub49.readUnsignedByte(255); + this.anInt700 = class348_sub49.readUnsignedByte(255); + this.aBoolean769 = class348_sub49.readUnsignedByte(255) == 1; + this.anInt749 = class348_sub49.readInt((byte) -126); + this.anInt696 = class348_sub49.readUnsignedByte(255); + if (i >= 0) this.anInt773 = class348_sub49.readUnsignedByte(255); + } + if (this.anInt774 == 3) { + this.anInt749 = class348_sub49.readInt((byte) -126); + this.aBoolean810 = class348_sub49.readUnsignedByte(255) == 1; + this.anInt696 = class348_sub49.readUnsignedByte(255); + } + if (this.anInt774 == 9) { + this.anInt690 = class348_sub49.readUnsignedByte(255); + this.anInt749 = class348_sub49.readInt((byte) -126); + this.aBoolean744 = class348_sub49.readUnsignedByte(255) == 1; + } + int i_40_ = class348_sub49.readMedium(-1); + int i_41_ = class348_sub49.readUnsignedByte(255); + if (i_41_ != 0) { + this.aByteArray832 = new byte[11]; + this.aByteArray746 = new byte[11]; + this.anIntArray707 = new int[11]; + for (/**/; i_41_ != 0; i_41_ = class348_sub49.readUnsignedByte(255)) { + int i_42_ = -1 + (i_41_ >> 4); + i_41_ = i_41_ << 8 | class348_sub49.readUnsignedByte(255); + i_41_ &= 0xfff; + if (i_41_ == 4095) i_41_ = -1; + byte i_43_ = class348_sub49.readByte(-87); + if (i_43_ != 0) this.aBoolean676 = true; + byte i_44_ = class348_sub49.readByte(-102); + this.anIntArray707[i_42_] = i_41_; + this.aByteArray746[i_42_] = i_43_; + this.aByteArray832[i_42_] = i_44_; + } + } + this.aString752 = class348_sub49.readString((byte) 82); + int i_45_ = class348_sub49.readUnsignedByte(255); + int i_46_ = 0xf & i_45_; + if (i_46_ > 0) { + this.aStringArray833 = new String[i_46_]; + for (int i_47_ = 0; i_47_ < i_46_; i_47_++) + this.aStringArray833[i_47_] = class348_sub49.readString((byte) -68); + } + int i_48_ = i_45_ >> 4; + if (i_48_ > 0) { + int i_49_ = class348_sub49.readUnsignedByte(255); + this.anIntArray706 = new int[1 + i_49_]; + for (int i_50_ = 0; i_50_ < this.anIntArray706.length; i_50_++) + this.anIntArray706[i_50_] = -1; + this.anIntArray706[i_49_] = class348_sub49.readUnsignedShort(842397944); + } + if (i_48_ > 1) { + int i_51_ = class348_sub49.readUnsignedByte(255); + this.anIntArray706[i_51_] = class348_sub49.readUnsignedShort(842397944); + } + this.aString816 = class348_sub49.readString((byte) 95); + if (this.aString816.equals("")) this.aString816 = null; + this.anInt729 = class348_sub49.readUnsignedByte(255); + this.anInt703 = class348_sub49.readUnsignedByte(255); + this.anInt797 = class348_sub49.readUnsignedByte(255); + this.aString780 = class348_sub49.readString((byte) -87); + int i_52_ = -1; + if (DefinitionSub5.method3060(i_40_, bool) != 0) { + i_52_ = class348_sub49.readUnsignedShort(842397944); + this.anInt824 = class348_sub49.readUnsignedShort(842397944); + if (i_52_ == 65535) i_52_ = -1; + if (this.anInt824 == 65535) this.anInt824 = -1; + this.anInt695 = class348_sub49.readUnsignedShort(842397944); + if (this.anInt695 == 65535) this.anInt695 = -1; + } + if (i >= 0) { + this.anInt719 = class348_sub49.readUnsignedShort(842397944); + if (this.anInt719 == 65535) this.anInt719 = -1; + } + this.aClass348_Sub44_748 = new NodeSub44(i_40_, i_52_); + if (i >= 0) { + int i_53_ = class348_sub49.readUnsignedByte(255); + for (int i_54_ = 0; i_53_ > i_54_; i_54_++) { + int i_55_ = class348_sub49.readMedium(-1); + int i_56_ = class348_sub49.readInt((byte) -126); + aClass356_711.put((byte) 120, i_55_, new NodeSub35(i_56_)); + } + int i_57_ = class348_sub49.readUnsignedByte(255); + for (int i_58_ = 0; i_58_ < i_57_; i_58_++) { + int i_59_ = class348_sub49.readMedium(-1); + String string = class348_sub49.readGjstr2(-13487); + aClass356_711.put((byte) 119, i_59_, new NodeSub50(string)); + } + } + this.anObjectArray815 = method432(class348_sub49, -1); + this.anObjectArray811 = method432(class348_sub49, -1); + this.anObjectArray683 = method432(class348_sub49, -1); + this.anObjectArray680 = method432(class348_sub49, -1); + this.anObjectArray714 = method432(class348_sub49, -1); + this.anObjectArray777 = method432(class348_sub49, -1); + this.anObjectArray751 = method432(class348_sub49, -1); + this.anObjectArray671 = method432(class348_sub49, -1); + this.anObjectArray764 = method432(class348_sub49, -1); + this.anObjectArray741 = method432(class348_sub49, -1); + if (i >= 0) this.anObjectArray679 = method432(class348_sub49, -1); + this.anObjectArray839 = method432(class348_sub49, -1); + this.anObjectArray763 = method432(class348_sub49, -1); + this.anObjectArray785 = method432(class348_sub49, -1); + this.anObjectArray742 = method432(class348_sub49, -1); + this.anObjectArray805 = method432(class348_sub49, -1); + this.anObjectArray823 = method432(class348_sub49, -1); + this.anObjectArray692 = method432(class348_sub49, -1); + this.anObjectArray803 = method432(class348_sub49, -1); + this.anObjectArray685 = method432(class348_sub49, -1); + this.anObjectArray708 = method432(class348_sub49, -1); + this.anIntArray686 = method441(!bool, class348_sub49); + this.anIntArray771 = method441(!bool, class348_sub49); + this.anIntArray731 = method441(!bool, class348_sub49); + this.anIntArray818 = method441(false, class348_sub49); + this.anIntArray831 = method441(false, class348_sub49); + } + + final void method434(boolean bool) { + this.anIntArray771 = null; + this.anIntArray731 = null; + this.anObjectArray820 = null; + this.anIntArray686 = null; + this.anObjectArray839 = null; + this.anObjectArray763 = null; + this.anIntArray831 = null; + this.anObjectArray741 = null; + this.anObjectArray764 = null; + this.anObjectArray836 = null; + this.anObjectArray701 = null; + this.anObjectArray751 = null; + this.anObjectArray822 = null; + this.anObjectArray714 = null; + this.anObjectArray671 = null; + this.anObjectArray785 = null; + this.anObjectArray727 = null; + this.anObjectArray811 = null; + this.anObjectArray683 = null; + this.anIntArray818 = null; + this.anObjectArray708 = null; + this.anObjectArray687 = null; + this.anObjectArray803 = null; + this.anObjectArray823 = null; + this.anObjectArray805 = null; + anInt829++; + this.anObjectArray685 = null; + this.anObjectArray815 = null; + this.anObjectArray692 = null; + this.anObjectArray679 = null; + if (bool != false) this.anInt799 = 96; + this.anObjectArray742 = null; + this.anObjectArray840 = null; + this.anObjectArray777 = null; + this.anObjectArray807 = null; + this.anObjectArray761 = null; + this.anObjectArray734 = null; + this.anObjectArray680 = null; + } + + final void method435(int i, int i_60_) { + anInt802++; + if (aClass356_711 != null) { + Node class348 = aClass356_711.get(i, -6008); + if (class348 != null) class348.unlink((byte) 63); + } + if (i_60_ != -3437) method425(null, (byte) 83); + } + + final void method436(int i, int i_61_, int i_62_) { + anInt694++; + if (aClass356_711 == null) { + aClass356_711 = new LruCache(16); + aClass356_711.put((byte) 60, i_61_, new NodeSub35(i_62_)); + } else if (i < -38) { + NodeSub35 class348_sub35 = ((NodeSub35) aClass356_711.get(i_61_, -6008)); + if (class348_sub35 == null) aClass356_711.put((byte) 67, i_61_, new NodeSub35(i_62_)); + else class348_sub35.intValue = i_62_; + } + } + + final void method437(int i, DisplayModeManagerContainer370 class64, GraphicsToolkit var_ha, int i_63_, DisplayModeManagerContainer204 class101) { + do { + try { + if (i != -20154) method438(15, -50, null); + anInt718++; + class64.method620(class101); + Component30[] class129s = class64.method619(); + DisplayModeManagerContainer173[] class342s = class64.method604(); + if ((this.aClass318_Sub10_740 == null || this.aClass318_Sub10_740.aBoolean6470) && (class129s != null || class342s != null)) this.aClass318_Sub10_740 = RenderableSub10.method2526(i_63_, false); + if (this.aClass318_Sub10_740 == null) break; + this.aClass318_Sub10_740.method2536(var_ha, i_63_, class129s, class342s, false); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("at.J(" + i + ',' + (class64 != null ? "{...}" : "null") + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_63_ + ',' + (class101 != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + final void method438(int i, int i_64_, String string) { + if (this.aStringArray833 == null || i >= this.aStringArray833.length) { + String[] strings = new String[i + 1]; + if (this.aStringArray833 != null) { + for (int i_65_ = 0; (this.aStringArray833.length > i_65_); i_65_++) + strings[i_65_] = this.aStringArray833[i_65_]; + } + this.aStringArray833 = strings; + } + if (i_64_ > 77) { + anInt766++; + this.aStringArray833[i] = string; + } + } + + final void method439(int i, int i_66_, String string) { + anInt758++; + if (i != 0) this.anInt756 = -106; + if (aClass356_711 == null) { + aClass356_711 = new LruCache(16); + aClass356_711.put((byte) 86, i_66_, new NodeSub50(string)); + } else { + NodeSub50 class348_sub50 = ((NodeSub50) aClass356_711.get(i_66_, -6008)); + if (class348_sub50 == null) aClass356_711.put((byte) 73, i_66_, new NodeSub50(string)); + else class348_sub50.stringValue = string; + } + } + + static final void method440(int i, byte i_67_) { + DefinitionSub19.anIntArray9259 = new int[i]; + if (i_67_ == -61) { + LoadingState.anIntArray1045 = new int[i]; + ClientErrorReporter.anIntArray2117 = new int[i]; + anInt825++; + DisplayModeManagerContainer370.anIntArray1127 = new int[i]; + DisplayModeManagerContainer363.anIntArray4097 = new int[i]; + } + } + + private final int[] method441(boolean bool, Buffer class348_sub49) { + anInt722++; + int i = class348_sub49.readUnsignedByte(255); + if (bool != false) return null; + if (i == 0) return null; + int[] is = new int[i]; + for (int i_68_ = 0; i_68_ < i; i_68_++) + is[i_68_] = class348_sub49.readInt((byte) -126); + return is; + } + + public static void method442(byte i) { + if (i <= -8) { + aClass196_838 = null; + aByteArray821 = null; + } + } + + final Component24 method443(GraphicsToolkit var_ha, byte i) { + anInt819++; + HashNodeSub13.aBoolean9616 = false; + long l = (((long) this.anInt809 << 40) + (((this.aBoolean790 ? 1L : 0L) << 38) + (((long) this.anInt672 << 36) + ((this.aBoolean745 ? 1L : 0L) << 35))) + ((long) this.anInt756 + ((!this.aBoolean735 ? 0L : 1L) << 39))); + Component24 class105 = (Component24) StringCache.aClass60_4327.get(l, -71); + if (i > -27) method434(true); + if (class105 != null) return class105; + Component170 class207 = Component170.method1521(Component327.aClass45_8755, this.anInt756, 0); + if (class207 == null) { + HashNodeSub13.aBoolean9616 = true; + return null; + } + if (this.aBoolean790) class207.method1514(); + if (this.aBoolean735) class207.method1518(); + if (this.anInt672 > 0) class207.method1513(this.anInt672); + else if (this.anInt809 != 0) class207.method1513(1); + if (this.anInt672 >= 1) class207.method1515(1); + if (this.anInt672 >= 2) class207.method1515(16777215); + if (this.anInt809 != 0) class207.method1511(~0xffffff | this.anInt809); + class105 = var_ha.method3691(class207, true); + StringCache.aClass60_4327.put(31902, class105, l, (class105.method971() * class105.method969() * 4)); + return class105; + } + + final DisplayModeManagerContainer50 method444(boolean bool, Component361 class25, DisplayModeManagerContainer26 class84) { + try { + if (bool != false) method424(122, -123, null, -111, 40, 28, -109, null, 76, 127, -66, 8, -45); + anInt804++; + if (this.anInt705 == -1) return null; + long l = (((long) this.anInt693 << 16 & 65535L << 16) | (((long) this.anInt733 << 32 & 65535L << 32) | ((long) this.anInt674 << 48 & 65535L << 48)) | (long) this.anInt705 & 0xffffL); + DisplayModeManagerContainer50 class305 = ((DisplayModeManagerContainer50) DefinitionSub9.aClass60_9171.get(l, 78)); + if (class305 == null) { + class305 = class84.method823(this.anInt733, this.anInt693, this.anInt674, -43, class25, this.anInt705); + DefinitionSub9.aClass60_9171.putOne(class305, l, (byte) -120); + } + return class305; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("at.N(" + bool + ',' + (class25 != null ? "{...}" : "null") + ',' + (class84 != null ? "{...}" : "null") + ')')); + } + } + + public DisplayModeManagerContainer57() { + this.anInt695 = -1; + this.anInt700 = 0; + this.aBoolean676 = false; + this.anInt726 = -1; + this.aBoolean682 = false; + this.anInt690 = 1; + this.anInt716 = 100; + this.anInt757 = 0; + this.anInt704 = -1; + this.anInt750 = 0; + this.anInt675 = 0; + this.anInt749 = 0; + this.anInt756 = -1; + this.anInt710 = 1; + this.anInt738 = 0; + this.anInt672 = 0; + this.anInt730 = 1; + this.aBoolean754 = false; + this.anInt747 = 0; + this.anInt723 = 0; + this.aBoolean776 = false; + this.anInt788 = 0; + this.anInt699 = -1; + this.aBoolean769 = false; + this.aBoolean720 = false; + this.anInt713 = -1; + this.anInt739 = 0; + this.anInt729 = 0; + this.anInt728 = 0; + this.anInt797 = InputStream_Sub1.anInt78; + this.anInt779 = -1; + this.anInt709 = 0; + this.anInt775 = 1; + this.anInt719 = -1; + this.aBoolean793 = false; + this.anInt791 = 0; + this.anInt715 = 0; + this.aBoolean689 = false; + this.aBoolean697 = false; + this.anInt808 = 0; + this.anInt765 = 0; + this.anInt755 = 0; + this.aClass348_Sub44_748 = Component275.aClass348_Sub44_2692; + this.anInt786 = 0; + this.anInt760 = -1; + this.anInt800 = 0; + this.anInt770 = 1; + this.aByte778 = (byte) 0; + this.aBoolean810 = false; + this.aByte724 = (byte) 0; + this.aClass46_782 = null; + this.anInt773 = 0; + this.anInt794 = -1; + this.anInt725 = 0; + this.anInt799 = 0; + this.aBoolean737 = false; + this.anInt703 = 0; + this.anInt828 = 0; + this.aString752 = ""; + this.aBoolean745 = false; + this.anInt698 = 0; + this.aString792 = ""; + this.anInt814 = 0; + this.anInt781 = 0; + this.aBoolean813 = false; + this.anInt824 = -1; + this.anInt830 = -1; + this.aByte681 = (byte) 0; + this.anInt809 = 0; + this.anInt834 = -1; + this.anInt762 = 0; + this.anInt789 = 0; + this.aString780 = ""; + this.aBoolean744 = false; + this.anInt826 = 0; + this.anInt787 = 0; + this.anInt705 = -1; + this.anInt795 = 0; + this.anInt812 = -1; + this.anInt717 = 0; + this.anInt806 = -1; + this.anInt842 = 0; + this.anInt796 = 0; + this.anInt841 = 0; + this.aByte817 = (byte) 0; + } + + static { + int i = 0; + for (int i_69_ = 0; i_69_ < 256; i_69_++) { + for (int i_70_ = 0; i_69_ >= i_70_; i_70_++) + aByteArray821[i++] = (byte) (int) (255.0 / Math.sqrt((float) ((i_69_ * i_69_) + (i_70_ * i_70_) - -65535) / 65535.0F)); + } + aClass196_838 = new Component169(); + } +} diff --git a/client/misc/DisplayModeManagerContainer61.java b/client/misc/DisplayModeManagerContainer61.java new file mode 100644 index 000000000..8c0d7a5a0 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer61.java @@ -0,0 +1,76 @@ +/* DisplayModeManagerContainer61 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer61 +/** + * RENAMED from `Class295` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static Component183 aClass114_3751; + static int anInt3752; + static HashNodeSub17[] aClass348_Sub42_Sub17Array3753 = new HashNodeSub17[14]; + String aString3754; + static int anInt3755; + String aString3756; + static int anInt3757; + String aString3758; + static int[] anIntArray3759; + static int anInt3760; + static double aDouble3761; + static int anInt3762; + static boolean aBoolean3763; + static int anInt3764; + + static final int method2220(int i, int i_0_, int i_1_, byte i_2_) { + anInt3757++; + if (i_2_ != 71) return -122; + i_0_ &= 0x3; + if (i_0_ == 0) return i_1_; + if (i_0_ == 1) return i; + if (i_0_ == 2) return 7 + -i_1_; + return 7 + -i; + } + + static final void method2221(Player player, int i) { + anInt3752++; + if (i != -28482) aClass348_Sub42_Sub17Array3753 = null; + SceneNode class348_sub9 = ((SceneNode) (HashNodeSub16Sub2.aClass356_10465.get(player.anInt10290, -6008))); + if (class348_sub9 != null) { + if (class348_sub9.aClass348_Sub16_Sub5_6676 != null) { + PlayerState.aClass348_Sub16_Sub4_7065.method2880(class348_sub9.aClass348_Sub16_Sub5_6676); + class348_sub9.aClass348_Sub16_Sub5_6676 = null; + } + class348_sub9.unlink((byte) 82); + } + } + + static final void method2222(int i, byte i_3_) { + anInt3755++; + DisplayModeManagerContainer306.aLong4783 = 1000000000L / (long) i; + if (i_3_ != -124) method2223(-83); + } + + public static void method2223(int i) { + aClass348_Sub42_Sub17Array3753 = null; + anIntArray3759 = null; + aClass114_3751 = null; + if (i < 100) aBoolean3763 = false; + } + + DisplayModeManagerContainer61(String string, String string_4_, String string_5_) { + try { + this.aString3754 = string_4_; + this.aString3758 = string_5_; + this.aString3756 = string; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wc.(" + (string != null ? "{...}" : "null") + ',' + (string_4_ != null ? "{...}" : "null") + ',' + (string_5_ != null ? "{...}" : "null") + ')')); + } + } + + static { + aClass114_3751 = new Component183(1, 2); + anInt3760 = -1; + anInt3764 = 0; + } +} diff --git a/client/misc/DisplayModeManagerContainer64.java b/client/misc/DisplayModeManagerContainer64.java new file mode 100644 index 000000000..2f4a62c31 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer64.java @@ -0,0 +1,158 @@ +/* DisplayModeManagerContainer64 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jagtheora.ogg.OggPacket; +import jagtheora.ogg.OggStreamState; +import jagtheora.theora.*; + +final class DisplayModeManagerContainer64 +/** + * RENAMED from `Class348_Sub23_Sub2` (JODE-obfuscated). + * Evidence: subclass of OggStream (hierarchy) + */ extends OggStream { + private TheoraInfo aTheoraInfo9007; + private boolean aBoolean9008; + private int anInt9009; + private final TheoraComment aTheoraComment9010; + static Component267 aClass229_9011 = new Component267(); + static int anInt9012; + static int anInt9013; + private boolean aBoolean9014; + private double aDouble9015; + private boolean aBoolean9016; + static int anInt9017; + private long aLong9018; + private GranulePos aGranulePos9019; + private Component24 aClass105_9020; + static int anInt9021; + static int anInt9022; + static double aDouble9023; + private Frame aFrame9024; + static int anInt9025; + static int anInt9026; + private int anInt9027; + private boolean aBoolean9028; + static DisplayModeManagerContainer123 aClass77_9029; + static int anInt9030; + static Component62 aClass153_9031; + private DecoderContext aDecoderContext9032; + static CacheStore aClass45_9033; + static StringCache aClass351_9034 = new StringCache(30, 4); + private final SetupInfo aSetupInfo9035 = new SetupInfo(); + static Component38 aClass187_9036; + static int anInt9037; + static boolean aBoolean9038 = false; + static int occludedGroundCount; + + public static void method2974(int i) { + aClass351_9034 = null; + if (i != 1) aClass229_9011 = null; + aClass45_9033 = null; + aClass229_9011 = null; + aClass77_9029 = null; + aClass153_9031 = null; + aClass187_9036 = null; + } + + final Component24 method2975(GraphicsToolkit var_ha, int i) { + anInt9026++; + if (aFrame9024 == null) return null; + if (!aBoolean9014 && aClass105_9020 != null) return aClass105_9020; + aClass105_9020 = var_ha.method3711(aFrame9024.pixels, i, aFrame9024.a, aFrame9024.a, aFrame9024.b, false); + aBoolean9014 = false; + return aClass105_9020; + } + + DisplayModeManagerContainer64(OggStreamState oggstreamstate) { + super(oggstreamstate); + aTheoraInfo9007 = new TheoraInfo(); + aTheoraComment9010 = new TheoraComment(); + } + + final void shutdown(byte i) { + if (aFrame9024 != null) aFrame9024.a(); + anInt9021++; + if (aDecoderContext9032 != null) { + aDecoderContext9032.a(); + aDecoderContext9032 = null; + } + if (i != 13) method2979(115); + if (aGranulePos9019 != null) { + aGranulePos9019.a(); + aGranulePos9019 = null; + } + aTheoraInfo9007.a(); + aTheoraComment9010.a(); + aSetupInfo9035.a(); + } + + final boolean method2976(int i) { + anInt9012++; + if (i != -1) aTheoraInfo9007 = null; + return aBoolean9016; + } + + final float method2977(int i) { + anInt9022++; + if (!aBoolean9016 || aTheoraInfo9007.b()) return 0.0F; + if (i != 0) anInt9027 = -65; + return ((float) aTheoraInfo9007.fpsNumerator / (float) aTheoraInfo9007.fpsDenominator); + } + + private final void method2978(int i, byte i_0_) { + anInt9030++; + anInt9009 = i; + if (aBoolean9016) { + if (anInt9009 > anInt9027) anInt9009 = anInt9027; + if (anInt9009 < 0) anInt9009 = 0; + aDecoderContext9032.setPostProcessingLevel(anInt9009); + } + if (i_0_ > -127) aClass105_9020 = null; + } + + final long method2979(int i) { + anInt9025++; + if (i != 30) method2978(-126, (byte) -43); + return aLong9018; + } + + final double method2980(byte i) { + anInt9013++; + if (i != 100) method2974(102); + return aDouble9015; + } + + final void handlePacket(byte i, OggPacket oggpacket) { + anInt9017++; + if (i < -91) { + if (aBoolean9016) { + aLong9018 = Component240.currentTimeMillis(-102); + int i_1_ = aDecoderContext9032.decodePacketIn(oggpacket, aGranulePos9019); + if (i_1_ < 0) throw new IllegalStateException(String.valueOf(i_1_)); + aDecoderContext9032.granuleFrame(aGranulePos9019); + aDouble9015 = aDecoderContext9032.granuleTime(aGranulePos9019); + if (aBoolean9008) { + boolean bool = oggpacket.isKeyFrame() == 1; + if (bool) aBoolean9008 = false; + else return; + } + if (!aBoolean9028 || oggpacket.isKeyFrame() == 1) { + if (aDecoderContext9032.decodeFrame(aFrame9024) != 0) throw new IllegalStateException(String.valueOf(i_1_)); + aBoolean9014 = true; + } + } else { + int i_2_ = aSetupInfo9035.decodeHeader(aTheoraInfo9007, aTheoraComment9010, oggpacket); + if (i_2_ == 0) { + aBoolean9016 = true; + if (aTheoraInfo9007.frameWidth > 2048 || aTheoraInfo9007.frameHeight > 1024) throw new IllegalStateException(); + aDecoderContext9032 = new DecoderContext(aTheoraInfo9007, aSetupInfo9035); + aGranulePos9019 = new GranulePos(); + aFrame9024 = new Frame(aTheoraInfo9007.frameWidth, aTheoraInfo9007.frameHeight); + anInt9027 = aDecoderContext9032.getMaxPostProcessingLevel(); + method2978(anInt9009, (byte) -128); + } else if (i_2_ < 0) throw new IllegalStateException(String.valueOf(i_2_)); + } + } + } +} diff --git a/client/misc/DisplayModeManagerContainer67.java b/client/misc/DisplayModeManagerContainer67.java new file mode 100644 index 000000000..0d192fd8c --- /dev/null +++ b/client/misc/DisplayModeManagerContainer67.java @@ -0,0 +1,224 @@ +/* DisplayModeManagerContainer67 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from {@code Class112} (JODE-obfuscated). + * Background JS5 disk worker ({@link Runnable}): queue of {@link HashNodeSub16Sub2} + * jobs. Type 2 = write entry, type 3 = async read, type 1 = sync read result. + * {@link #pendingCount} is checked by archive stores before enqueueing more work + * (hard cap ~512). + */ +final class DisplayModeManagerContainer67 implements Runnable { + static int anInt1726; + static Component170 aClass207_1727; + static int anInt1728; + static int anInt1729; + /** Pending disk jobs waiting for {@link #run}. */ + private final HashTable queue = new HashTable(); + static int anInt1731; + static int anInt1732; + private Thread workerThread; + /** Number of jobs currently in {@link #queue}. */ + int pendingCount; + static int anInt1735; + static int anInt1736; + static int anInt1737; + /** Set by {@link #shutdown} to stop the worker loop. */ + private boolean stopRequested = false; + + /** + * Enqueue a write of {@code is} into {@code class137} at group {@code i_0_} + * (job type 2). + */ + final HashNodeSub16Sub2 enqueueWrite(byte[] is, CacheIndexReader class137, byte i, int i_0_) { + try { + if (i != 10) stopRequested = false; + anInt1732++; + HashNodeSub16Sub2 class348_sub42_sub16_sub2 = new HashNodeSub16Sub2(); + class348_sub42_sub16_sub2.data = is; + class348_sub42_sub16_sub2.priority = false; + class348_sub42_sub16_sub2.indexReader = class137; + class348_sub42_sub16_sub2.accessAge = i_0_; + class348_sub42_sub16_sub2.type = 2; + enqueue(class348_sub42_sub16_sub2, i + -123); + return class348_sub42_sub16_sub2; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("aca.G(" + (is != null ? "{...}" : "null") + ',' + (class137 != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ')')); + } + } + + /** Push {@code class348_sub42_sub16_sub2} onto the worker queue and wake the thread. */ + private final void enqueue(HashNodeSub16Sub2 class348_sub42_sub16_sub2, int i) { + anInt1735++; + synchronized (queue) { + queue.add(true, class348_sub42_sub16_sub2); + this.pendingCount++; + if (i > -100) aClass207_1727 = null; + queue.notifyAll(); + } + } + + /** Request worker stop and join the thread. */ + final void shutdown(boolean bool) { + stopRequested = bool; + anInt1731++; + synchronized (queue) { + queue.notifyAll(); + } + try { + workerThread.join(); + } catch (InterruptedException interruptedexception) { + /* empty */ + } + workerThread = null; + } + + public static void clearStatics(byte i) { + aClass207_1727 = null; + int i_1_ = 107 % ((i - -20) / 50); + } + + /** + * Returns the menu-entry priority under the mouse cursor, or -1 if none. + * (Unrelated to disk IO — parked in this deob class.) + */ + static final int getHoveredMenuPriority(int i) { + anInt1728++; + if (i != 3112) clearStatics((byte) 121); + if (Component156.aClass46_3701 == null) { + if (!Component364.aBoolean8335 && Component192.menuTip != null) return (Component192.menuTip.priority); + int i_2_ = AbstractGlTextureSub4.mouseHandler.getCursorX(true); + int i_3_ = AbstractGlTextureSub4.mouseHandler.getCursorY((byte) 81); + if (PauseHandler.aBoolean9535) { + if (i_2_ > DisplayModeManagerContainer136.anInt4717 && i_2_ < Component227.anInt1117 + DisplayModeManagerContainer136.anInt4717) { + int i_9_ = -1; + for (int i_10_ = 0; DisplayModeManagerContainer345.anInt166 > i_10_; i_10_++) { + if (DisplayModeManagerContainer5.aBoolean1211) { + int i_11_ = (DefinitionGroup.anInt9532 - -33 - -(i_10_ * 16)); + if (i_3_ > -13 + i_11_ && i_3_ <= i_11_ + 3) i_9_ = i_10_; + } else { + int i_12_ = (i_10_ * 16 + 31 + DefinitionGroup.anInt9532); + if (i_3_ > -13 + i_12_ && i_3_ <= i_12_ + 3) i_9_ = i_10_; + } + } + if (i_9_ != -1) { + int i_13_ = 0; + ClientErrorReporter class156 = new ClientErrorReporter(Component237.aClass107_3022); + for (HashNodeSub13 class348_sub42_sub13 = ((HashNodeSub13) class156.firstHashNode(110)); class348_sub42_sub13 != null; class348_sub42_sub13 = ((HashNodeSub13) class156.nextHashNode((byte) 77))) { + if (i_9_ == i_13_++) return ((MenuEntry) class348_sub42_sub13.aClass107_9621.sentinel.next).priority; + } + } + } else if (Component359.aClass348_Sub42_Sub13_3152 != null && DisplayModeManagerContainer368.anInt5252 < i_2_ && (NodeSub1Sub1.anInt8806 + DisplayModeManagerContainer368.anInt5252) > i_2_) { + int i_4_ = -1; + for (int i_5_ = 0; ((Component359.aClass348_Sub42_Sub13_3152.anInt9615) > i_5_); i_5_++) { + if (DisplayModeManagerContainer5.aBoolean1211) { + int i_7_ = MouseHandler.menuOriginY + (33 + 16 * i_5_); + if (-13 + i_7_ < i_3_ && 3 + i_7_ >= i_3_) i_4_ = i_5_; + } else { + int i_6_ = i_5_ * 16 + 31 + MouseHandler.menuOriginY; + if (-13 + i_6_ < i_3_ && i_6_ - -3 >= i_3_) i_4_ = i_5_; + } + } + if (i_4_ != -1) { + int i_8_ = 0; + ClientErrorReporter class156 = new ClientErrorReporter(Component359.aClass348_Sub42_Sub13_3152.aClass107_9621); + for (MenuEntry class348_sub42_sub12 = ((MenuEntry) class156.firstHashNode(9)); class348_sub42_sub12 != null; class348_sub42_sub12 = ((MenuEntry) class156.nextHashNode((byte) 90))) { + if (i_8_++ == i_4_) return (class348_sub42_sub12.priority); + } + } + } + } else if (i_2_ > DisplayModeManagerContainer136.anInt4717 && (i_2_ < DisplayModeManagerContainer136.anInt4717 - -Component227.anInt1117)) { + int i_14_ = -1; + for (int i_15_ = 0; DisplayModeManagerContainer306.menuEntryCount > i_15_; i_15_++) { + if (DisplayModeManagerContainer5.aBoolean1211) { + int i_17_ = ((-i_15_ + (-1 + DisplayModeManagerContainer306.menuEntryCount)) * 16 + DefinitionGroup.anInt9532 + 33); + if (i_3_ > i_17_ - 13 && i_17_ + 3 >= i_3_) i_14_ = i_15_; + } else { + int i_16_ = 31 + (DefinitionGroup.anInt9532 + (-i_15_ + (DisplayModeManagerContainer306.menuEntryCount - 1)) * 16); + if (-13 + i_16_ < i_3_ && i_16_ + 3 >= i_3_) i_14_ = i_15_; + } + } + if (i_14_ != -1) { + int i_18_ = 0; + Component37 class312 = new Component37(DefinitionSub4.menuEntries); + for (MenuEntry class348_sub42_sub12 = ((MenuEntry) class312.method2327((byte) -53)); class348_sub42_sub12 != null; class348_sub42_sub12 = ((MenuEntry) class312.method2329(i + -3102))) { + if (i_14_ == i_18_++) return (class348_sub42_sub12.priority); + } + } + } + } + return -1; + } + + /** Enqueue an async disk read of group {@code i} (job type 3). */ + final HashNodeSub16Sub2 enqueueRead(CacheIndexReader class137, int i, byte i_19_) { + anInt1729++; + HashNodeSub16Sub2 class348_sub42_sub16_sub2 = new HashNodeSub16Sub2(); + if (i_19_ != -112) return null; + class348_sub42_sub16_sub2.priority = false; + class348_sub42_sub16_sub2.type = 3; + class348_sub42_sub16_sub2.accessAge = i; + class348_sub42_sub16_sub2.indexReader = class137; + enqueue(class348_sub42_sub16_sub2, -101); + return class348_sub42_sub16_sub2; + } + + public final void run() { + while (!stopRequested) { + HashNodeSub16Sub2 class348_sub42_sub16_sub2; + synchronized (queue) { + class348_sub42_sub16_sub2 = ((HashNodeSub16Sub2) queue.removeHead(20)); + if (class348_sub42_sub16_sub2 == null) { + try { + queue.wait(); + } catch (InterruptedException interruptedexception) { + /* empty */ + } + continue; + } else this.pendingCount--; + } + try { + if ((class348_sub42_sub16_sub2.type) != 2) { + if (class348_sub42_sub16_sub2.type == 3) class348_sub42_sub16_sub2.data = (class348_sub42_sub16_sub2.indexReader.readEntry((byte) -4, (int) class348_sub42_sub16_sub2.accessAge)); + } else class348_sub42_sub16_sub2.indexReader.writeEntry(class348_sub42_sub16_sub2.data.length, (int) (class348_sub42_sub16_sub2.accessAge), class348_sub42_sub16_sub2.data, -7305); + } catch (Exception exception) { + ClientErrorReporter.reportError(null, exception, 15004); + } + class348_sub42_sub16_sub2.incomplete = false; + } + anInt1736++; + } + + /** + * Synchronous read of group {@code i}, or reuse an in-flight write's buffer. + * Returns immediately with {@link HashNodeSub16#incomplete} false. + */ + final HashNodeSub16Sub2 readImmediate(CacheIndexReader class137, int i, byte i_20_) { + if (i_20_ >= -98) clearStatics((byte) 110); + anInt1737++; + HashNodeSub16Sub2 class348_sub42_sub16_sub2 = new HashNodeSub16Sub2(); + class348_sub42_sub16_sub2.type = 1; + synchronized (queue) { + for (HashNodeSub16Sub2 class348_sub42_sub16_sub2_21_ = ((HashNodeSub16Sub2) queue.first(-95)); class348_sub42_sub16_sub2_21_ != null; class348_sub42_sub16_sub2_21_ = ((HashNodeSub16Sub2) queue.next((byte) 73))) { + if ((class348_sub42_sub16_sub2_21_.accessAge == (long) i) && (class348_sub42_sub16_sub2_21_.indexReader == class137) && class348_sub42_sub16_sub2_21_.type == 2) { + class348_sub42_sub16_sub2.data = class348_sub42_sub16_sub2_21_.data; + class348_sub42_sub16_sub2.incomplete = false; + return class348_sub42_sub16_sub2; + } + } + } + class348_sub42_sub16_sub2.data = class137.readEntry((byte) -4, i); + class348_sub42_sub16_sub2.priority = true; + class348_sub42_sub16_sub2.incomplete = false; + return class348_sub42_sub16_sub2; + } + + DisplayModeManagerContainer67(ReflectionInvoker class297) { + this.pendingCount = 0; + Task class144 = class297.startThread(this, -10240, 5); + while (class144.status == 0) SpriteAtlasShader.sleep((byte) 43, 10L); + if (class144.status == 2) throw new RuntimeException(); + workerThread = (Thread) class144.result; + } +} diff --git a/client/misc/DisplayModeManagerContainer74.java b/client/misc/DisplayModeManagerContainer74.java new file mode 100644 index 000000000..850a138a3 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer74.java @@ -0,0 +1,151 @@ +/* DisplayModeManagerContainer74 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer74 +/** + * RENAMED from `Class309` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ implements Interface7 { + static int[] anIntArray4806; + private final String aString4807; + static Component24 aClass105_4808; + static int anInt4809; + static int anInt4810; + static int anInt4811; + static int[] anIntArray4812; + static int[] anIntArray4813; + static int anInt4814 = 50; + static int anInt4815; + static int anInt4816; + static int[] anIntArray4817; + static String[] aStringArray4818; + static int[] anIntArray4819; + static int anInt4820; + static int anInt4821; + static int[] anIntArray4822; + static int anInt4823; + private boolean aBoolean4824; + static int anInt4825; + + static final void method2307(int i, long l, int i_0_, int i_1_) { + try { + anInt4823++; + if (i_1_ <= 3) method2308((byte) -121, 59); + int i_2_ = (int) l >> 14 & 0x1f; + int i_3_ = (0x37d8b0 & (int) l) >> 20; + int i_4_ = 0x7fffffff & (int) (l >>> 32); + if (i_2_ != 10 && i_2_ != 11 && i_2_ != 22) Component10.method2252(true, i_0_, i, (byte) -119, 0, 0, 0, i_2_, i_3_); + else { + Component44 class51 = GradientPreset.aClass263_9195.method2005(0, i_4_); + int i_5_; + int i_6_; + if (i_3_ == 0 || i_3_ == 2) { + i_5_ = class51.anInt926; + i_6_ = class51.anInt961; + } else { + i_5_ = class51.anInt961; + i_6_ = class51.anInt926; + } + int i_7_ = class51.anInt914; + if (i_3_ != 0) i_7_ = (0xf & i_7_ << i_3_) + (i_7_ >> 4 + -i_3_); + Component10.method2252(true, i_0_, i, (byte) -99, i_5_, i_7_, i_6_, 0, 0); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("cf.B(" + i + ',' + l + ',' + i_0_ + ',' + i_1_ + ')')); + } + } + + static final boolean method2308(byte i, int i_8_) { + if (i != 26) anIntArray4822 = null; + anInt4810++; + return i_8_ == 15 || i_8_ == 2 || i_8_ == 30 || i_8_ == 49 || i_8_ == 51 || i_8_ == 50 || i_8_ == 6; + } + + public final int method31(int i) { + int i_9_ = 88 % ((-43 - i) / 62); + anInt4821++; + int i_10_ = DisplayModeManagerContainer213.method547(aString4807, 7468); + if (i_10_ >= 0 && i_10_ <= 100) return i_10_; + aBoolean4824 = true; + return 100; + } + + static final byte[] method2309(int i, byte[] is) { + anInt4825++; + if (is == null) return null; + byte[] is_11_ = new byte[is.length]; + if (i >= -9) anInt4814 = 49; + Component313.arraycopy(is, 0, is_11_, 0, is.length); + return is_11_; + } + + public final Component325 method32(int i) { + anInt4809++; + if (i != -15004) aStringArray4818 = null; + return Component325.aClass69_1199; + } + + public static void method2310(byte i) { + if (i < 65) anIntArray4819 = null; + aStringArray4818 = null; + anIntArray4819 = null; + anIntArray4822 = null; + anIntArray4813 = null; + anIntArray4817 = null; + aClass105_4808 = null; + anIntArray4806 = null; + anIntArray4812 = null; + } + + static final void method2311(byte i, int i_12_) { + anInt4820++; + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i_12_, (byte) 105, 16); + class348_sub42_sub15.method3251(-16058); + int i_13_ = 126 / ((i - -54) / 38); + } + + static final void method2312(int i, int i_14_, NodeList class262, int i_15_, GraphicsToolkit var_ha) { + do { + try { + anInt4811++; + Component156.aClass262_3705.clear(125); + if (!NodeSub1Sub1.aBoolean8805) { + for (NodeSub21 class348_sub21 = (NodeSub21) class262.first(4); class348_sub21 != null; class348_sub21 = ((NodeSub21) class262.next((byte) 104))) { + Component274 class42 = (DisplayModeManagerContainer229.aClass153_1238.method1225(class348_sub21.anInt6847, (byte) 82)); + if (NodeCache.method589(class42, -4)) { + boolean bool = DisplayModeManagerContainer56.method1425((byte) -31, class42, class348_sub21, i_14_, var_ha, i_15_); + if (bool) DisplayModeManagerContainer213.method549((byte) -43, class348_sub21, var_ha, class42); + } + } + if (i == -13084) break; + aStringArray4818 = null; + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("cf.G(" + i + ',' + i_14_ + ',' + (class262 != null ? "{...}" : "null") + ',' + i_15_ + ',' + (var_ha != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + final boolean method2313(int i) { + if (i <= 99) method2309(-35, null); + anInt4815++; + return aBoolean4824; + } + + DisplayModeManagerContainer74(String string) { + aString4807 = string; + } + + static { + anIntArray4812 = new int[anInt4814]; + anIntArray4806 = new int[anInt4814]; + anIntArray4813 = new int[anInt4814]; + anIntArray4817 = new int[anInt4814]; + anInt4816 = 0; + aStringArray4818 = new String[anInt4814]; + anIntArray4822 = new int[anInt4814]; + anIntArray4819 = new int[anInt4814]; + } +} diff --git a/client/misc/DisplayModeManagerContainer77.java b/client/misc/DisplayModeManagerContainer77.java new file mode 100644 index 000000000..cea21b40b --- /dev/null +++ b/client/misc/DisplayModeManagerContainer77.java @@ -0,0 +1,1050 @@ +/* DisplayModeManagerContainer77 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.awt.*; +import java.util.Random; + +final class DisplayModeManagerContainer77 +/** + * RENAMED from `Class124` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + int[] anIntArray1816; + int anInt1817; + int anInt1818; + static int anInt1819; + byte[] aByteArray1820; + int anInt1821; + short[] aShortArray1822; + byte[] aByteArray1823; + int[] anIntArray1824; + short[] aShortArray1825; + static int anInt1826; + static int anInt1827; + static int anInt1828; + short[] aShortArray1829; + int anInt1830 = 12; + static int anInt1831; + DisplayModeManagerContainer133[] aClass162Array1832; + byte[] aByteArray1833; + byte[] aByteArray1834; + short[] aShortArray1835; + int anInt1836 = 0; + static int anInt1837; + static int anInt1838; + byte[] aByteArray1839; + static int anInt1840; + int[] anIntArray1841; + short[] aShortArray1842; + byte[] aByteArray1843; + int[] anIntArray1844; + static int anInt1845; + Component30[] aClass129Array1846; + int[] anIntArray1847; + static CacheStore aClass45_1848; + short[] aShortArray1849; + static int anInt1850; + byte aByte1851; + int[] anIntArray1852; + byte[] aByteArray1853; + static int anInt1854; + short[] aShortArray1855; + short[] aShortArray1856; + int[] anIntArray1857; + static int anInt1858; + int[] anIntArray1859; + static int anInt1860; + static int anInt1861; + short[] aShortArray1862; + short[] aShortArray1863; + static int anInt1864; + int[] anIntArray1865; + DisplayModeManagerContainer173[] aClass342Array1866; + int[] anIntArray1867; + int[] anIntArray1868; + static int anInt1869; + + final void method1092(int i, int i_0_) { + anInt1819++; + for (int i_1_ = 0; this.anInt1836 > i_1_; i_1_++) { + this.anIntArray1841[i_1_] <<= i; + this.anIntArray1847[i_1_] <<= i; + this.anIntArray1852[i_1_] <<= i; + } + if (i_0_ <= 39) method1107(40, -7, -80, -24); + if (this.anInt1818 > 0 && this.anIntArray1859 != null) { + for (int i_2_ = 0; i_2_ < this.anIntArray1859.length; i_2_++) { + this.anIntArray1859[i_2_] <<= i; + this.anIntArray1816[i_2_] <<= i; + if (this.aByteArray1823[i_2_] != 1) this.anIntArray1844[i_2_] <<= i; + } + } + } + + final int[][] method1093(byte i) { + anInt1854++; + int[] is = new int[256]; + int i_3_ = 0; + for (int i_4_ = 0; this.aClass162Array1832.length > i_4_; i_4_++) { + int i_5_ = (this.aClass162Array1832[i_4_].anInt2156); + if (i_5_ >= 0) { + is[i_5_]++; + if (i_3_ < i_5_) i_3_ = i_5_; + } + } + int[][] is_6_ = new int[1 + i_3_][]; + for (int i_7_ = 0; i_7_ <= i_3_; i_7_++) { + is_6_[i_7_] = new int[is[i_7_]]; + is[i_7_] = 0; + } + if (i > -68) return null; + for (int i_8_ = 0; i_8_ < this.aClass162Array1832.length; i_8_++) { + int i_9_ = (this.aClass162Array1832[i_8_].anInt2156); + if (i_9_ >= 0) is_6_[i_9_][is[i_9_]++] = i_8_; + } + return is_6_; + } + + final int[][] method1094(byte i) { + anInt1864++; + int[] is = new int[256]; + int i_10_ = 0; + for (int i_11_ = 0; i_11_ < this.anInt1817; i_11_++) { + int i_12_ = this.anIntArray1824[i_11_]; + if (i_12_ >= 0) { + if (i_10_ < i_12_) i_10_ = i_12_; + is[i_12_]++; + } + } + int[][] is_13_ = new int[i_10_ - -1][]; + if (i <= 13) method1102(-65, (byte) -8, (byte) 94, (short) -89, (byte) 6, (short) -117, 21, (byte) 21, -31); + for (int i_14_ = 0; i_10_ >= i_14_; i_14_++) { + is_13_[i_14_] = new int[is[i_14_]]; + is[i_14_] = 0; + } + for (int i_15_ = 0; i_15_ < this.anInt1817; i_15_++) { + int i_16_ = this.anIntArray1824[i_15_]; + if (i_16_ >= 0) is_13_[i_16_][is[i_16_]++] = i_15_; + } + return is_13_; + } + + final void method1095(short i, int i_17_, short i_18_) { + anInt1869++; + if (this.aShortArray1822 != null) { + for (int i_19_ = i_17_; this.anInt1817 > i_19_; i_19_++) { + if (i == this.aShortArray1822[i_19_]) this.aShortArray1822[i_19_] = i_18_; + } + } + } + + public static void method1096(int i) { + if (i >= 88) aClass45_1848 = null; + } + + static final int method1097(byte i, int i_20_, Random random) { + anInt1861++; + if (i_20_ <= 0) throw new IllegalArgumentException(); + if (Component353.method1436(-19, i_20_)) return (int) ((long) i_20_ * (0xffffffffL & (long) random.nextInt()) >> 32); + int i_21_ = -2147483648 + -(int) (4294967296L % (long) i_20_); + if (i < 78) aClass45_1848 = null; + int i_22_; + do i_22_ = random.nextInt(); while (i_22_ >= i_21_); + return Component360.method3452(i_22_, (byte) -15, i_20_); + } + + final void method1098(short i, byte i_23_, short i_24_) { + if (i_23_ == 126) { + for (int i_25_ = 0; i_25_ < this.anInt1817; i_25_++) { + if (i == this.aShortArray1862[i_25_]) this.aShortArray1862[i_25_] = i_24_; + } + anInt1826++; + } + } + + final void method1099(byte i, int i_26_, int i_27_, int i_28_) { + int i_29_ = 0; + int i_30_ = 19 % ((-40 - i) / 33); + for (/**/; this.anInt1836 > i_29_; i_29_++) { + this.anIntArray1841[i_29_] += i_27_; + this.anIntArray1847[i_29_] += i_28_; + this.anIntArray1852[i_29_] += i_26_; + } + anInt1840++; + } + + final int[][] method1100(boolean bool, int i) { + anInt1845++; + int[] is = new int[256]; + int i_31_ = 0; + int i_32_ = (!bool ? this.anInt1821 : this.anInt1836); + for (int i_33_ = 0; i_33_ < i_32_; i_33_++) { + int i_34_ = this.anIntArray1868[i_33_]; + if (i_34_ >= 0) { + is[i_34_]++; + if (i_31_ < i_34_) i_31_ = i_34_; + } + } + int[][] is_35_ = new int[1 + i_31_][]; + for (int i_36_ = 0; i_36_ <= i_31_; i_36_++) { + is_35_[i_36_] = new int[is[i_36_]]; + is[i_36_] = 0; + } + for (int i_37_ = 0; i_32_ > i_37_; i_37_++) { + int i_38_ = this.anIntArray1868[i_37_]; + if (i_38_ >= 0) is_35_[i_38_][is[i_38_]++] = i_37_; + } + if (i > -14) method1098((short) 9, (byte) 80, (short) -118); + return is_35_; + } + + final int method1101(int i, int i_39_, int i_40_, int i_41_) { + anInt1827++; + int i_42_ = 0; + int i_43_ = 120 / ((38 - i_41_) / 61); + for (/**/; i_42_ < this.anInt1836; i_42_++) { + if (this.anIntArray1841[i_42_] == i_40_ && i == this.anIntArray1847[i_42_] && this.anIntArray1852[i_42_] == i_39_) return i_42_; + } + this.anIntArray1841[this.anInt1836] = i_40_; + this.anIntArray1847[this.anInt1836] = i; + this.anIntArray1852[this.anInt1836] = i_39_; + this.anInt1821 = 1 + this.anInt1836; + return this.anInt1836++; + } + + final int method1102(int i, byte i_44_, byte i_45_, short i_46_, byte i_47_, short i_48_, int i_49_, byte i_50_, int i_51_) { + this.aShortArray1863[this.anInt1817] = (short) i; + anInt1860++; + this.aShortArray1835[this.anInt1817] = (short) i_49_; + this.aShortArray1855[this.anInt1817] = (short) i_51_; + if (i_47_ < 30) return -92; + this.aByteArray1843[this.anInt1817] = i_44_; + this.aByteArray1820[this.anInt1817] = i_45_; + this.aShortArray1862[this.anInt1817] = i_48_; + this.aByteArray1834[this.anInt1817] = i_50_; + this.aShortArray1822[this.anInt1817] = i_46_; + return this.anInt1817++; + } + + private final void method1103(int i, byte[] is) { + anInt1831++; + boolean bool = false; + boolean bool_52_ = false; + Buffer class348_sub49 = new Buffer(is); + Buffer class348_sub49_53_ = new Buffer(is); + Buffer class348_sub49_54_ = new Buffer(is); + Buffer class348_sub49_55_ = new Buffer(is); + Buffer class348_sub49_56_ = new Buffer(is); + class348_sub49.offset = -18 + is.length; + this.anInt1836 = class348_sub49.readUnsignedShort(i ^ 0x3235f8f9); + this.anInt1817 = class348_sub49.readUnsignedShort(842397944); + this.anInt1818 = class348_sub49.readUnsignedByte(255); + int i_57_ = class348_sub49.readUnsignedByte(255); + int i_58_ = class348_sub49.readUnsignedByte(255); + int i_59_ = class348_sub49.readUnsignedByte(255); + int i_60_ = class348_sub49.readUnsignedByte(255); + int i_61_ = class348_sub49.readUnsignedByte(255); + int i_62_ = class348_sub49.readUnsignedShort(842397944); + int i_63_ = class348_sub49.readUnsignedShort(842397944); + int i_64_ = class348_sub49.readUnsignedShort(842397944); + int i_65_ = class348_sub49.readUnsignedShort(842397944); + int i_66_ = 0; + int i_67_ = i_66_; + i_66_ += this.anInt1836; + int i_68_ = i_66_; + i_66_ += this.anInt1817; + int i_69_ = i_66_; + if (i_58_ == 255) i_66_ += this.anInt1817; + int i_70_ = i_66_; + if (i_60_ == 1) i_66_ += this.anInt1817; + int i_71_ = i_66_; + if (i_57_ == 1) i_66_ += this.anInt1817; + int i_72_ = i_66_; + if (i_61_ == 1) i_66_ += this.anInt1836; + int i_73_ = i_66_; + if (i == i_59_) i_66_ += this.anInt1817; + int i_74_ = i_66_; + i_66_ += i_65_; + int i_75_ = i_66_; + i_66_ += this.anInt1817 * 2; + int i_76_ = i_66_; + i_66_ += this.anInt1818 * 6; + int i_77_ = i_66_; + i_66_ += i_62_; + int i_78_ = i_66_; + i_66_ += i_63_; + int i_79_ = i_66_; + this.aShortArray1862 = new short[this.anInt1817]; + if (i_58_ == 255) this.aByteArray1839 = new byte[this.anInt1817]; + else this.aByte1851 = (byte) i_58_; + if (i_61_ == 1) this.anIntArray1868 = new int[this.anInt1836]; + if (i_59_ == 1) this.aByteArray1834 = new byte[this.anInt1817]; + this.aShortArray1863 = new short[this.anInt1817]; + if (i_57_ == 1) { + this.aShortArray1822 = new short[this.anInt1817]; + this.aByteArray1820 = new byte[this.anInt1817]; + this.aByteArray1843 = new byte[this.anInt1817]; + } + this.anIntArray1847 = new int[this.anInt1836]; + if (i_60_ == 1) this.anIntArray1824 = new int[this.anInt1817]; + this.aShortArray1855 = new short[this.anInt1817]; + if (this.anInt1818 > 0) { + this.aByteArray1823 = new byte[this.anInt1818]; + this.aShortArray1829 = new short[this.anInt1818]; + this.aShortArray1849 = new short[this.anInt1818]; + this.aShortArray1825 = new short[this.anInt1818]; + } + this.aShortArray1835 = new short[this.anInt1817]; + this.anIntArray1852 = new int[this.anInt1836]; + this.anIntArray1841 = new int[this.anInt1836]; + class348_sub49.offset = i_67_; + i_66_ += i_64_; + class348_sub49_53_.offset = i_77_; + class348_sub49_54_.offset = i_78_; + class348_sub49_55_.offset = i_79_; + class348_sub49_56_.offset = i_72_; + int i_80_ = 0; + int i_81_ = 0; + int i_82_ = 0; + for (int i_83_ = 0; i_83_ < this.anInt1836; i_83_++) { + int i_84_ = class348_sub49.readUnsignedByte(255); + int i_85_ = 0; + if ((i_84_ & 0x1) != 0) i_85_ = class348_sub49_53_.readSmartSigned((byte) 77); + int i_86_ = 0; + if ((i_84_ & 0x2) != 0) i_86_ = class348_sub49_54_.readSmartSigned((byte) 77); + int i_87_ = 0; + if ((0x4 & i_84_) != 0) i_87_ = class348_sub49_55_.readSmartSigned((byte) 77); + this.anIntArray1841[i_83_] = i_85_ + i_80_; + this.anIntArray1847[i_83_] = i_81_ - -i_86_; + this.anIntArray1852[i_83_] = i_82_ + i_87_; + i_82_ = this.anIntArray1852[i_83_]; + i_81_ = this.anIntArray1847[i_83_]; + i_80_ = this.anIntArray1841[i_83_]; + if (i_61_ == 1) this.anIntArray1868[i_83_] = class348_sub49_56_.readUnsignedByte(NodeSub21.bitwiseXor(i, 254)); + } + class348_sub49.offset = i_75_; + class348_sub49_53_.offset = i_71_; + class348_sub49_54_.offset = i_69_; + class348_sub49_55_.offset = i_73_; + class348_sub49_56_.offset = i_70_; + for (int i_88_ = 0; i_88_ < this.anInt1817; i_88_++) { + this.aShortArray1862[i_88_] = (short) class348_sub49.readUnsignedShort(842397944); + if (i_57_ == 1) { + int i_89_ = class348_sub49_53_.readUnsignedByte(255); + if ((0x1 & i_89_) == 1) { + this.aByteArray1843[i_88_] = (byte) 1; + bool = true; + } else this.aByteArray1843[i_88_] = (byte) 0; + if ((i_89_ & 0x2) == 2) { + this.aByteArray1820[i_88_] = (byte) (i_89_ >> 2); + this.aShortArray1822[i_88_] = this.aShortArray1862[i_88_]; + this.aShortArray1862[i_88_] = (short) 127; + if (this.aShortArray1822[i_88_] != -1) bool_52_ = true; + } else { + this.aByteArray1820[i_88_] = (byte) -1; + this.aShortArray1822[i_88_] = (short) -1; + } + } + if (i_58_ == 255) this.aByteArray1839[i_88_] = class348_sub49_54_.readByte(-108); + if (i_59_ == 1) this.aByteArray1834[i_88_] = class348_sub49_55_.readByte(NodeSub21.bitwiseXor(i, -120)); + if (i_60_ == 1) this.anIntArray1824[i_88_] = class348_sub49_56_.readUnsignedByte(255); + } + class348_sub49.offset = i_74_; + this.anInt1821 = -1; + class348_sub49_53_.offset = i_68_; + short i_90_ = 0; + short i_91_ = 0; + short i_92_ = 0; + int i_93_ = 0; + for (int i_94_ = 0; i_94_ < this.anInt1817; i_94_++) { + int i_95_ = class348_sub49_53_.readUnsignedByte(255); + if (i_95_ == 1) { + i_90_ = (short) (i_93_ + class348_sub49.readSmartSigned((byte) 77)); + i_93_ = i_90_; + i_91_ = (short) (class348_sub49.readSmartSigned((byte) 77) + i_93_); + i_93_ = i_91_; + i_92_ = (short) (i_93_ + class348_sub49.readSmartSigned((byte) 77)); + this.aShortArray1863[i_94_] = i_90_; + i_93_ = i_92_; + this.aShortArray1835[i_94_] = i_91_; + this.aShortArray1855[i_94_] = i_92_; + if (i_90_ > this.anInt1821) this.anInt1821 = i_90_; + if (this.anInt1821 < i_91_) this.anInt1821 = i_91_; + if (this.anInt1821 < i_92_) this.anInt1821 = i_92_; + } + if (i_95_ == 2) { + i_91_ = i_92_; + i_92_ = (short) (class348_sub49.readSmartSigned((byte) 77) + i_93_); + this.aShortArray1863[i_94_] = i_90_; + i_93_ = i_92_; + this.aShortArray1835[i_94_] = i_91_; + this.aShortArray1855[i_94_] = i_92_; + if (i_92_ > this.anInt1821) this.anInt1821 = i_92_; + } + if (i_95_ == 3) { + i_90_ = i_92_; + i_92_ = (short) (class348_sub49.readSmartSigned((byte) 77) + i_93_); + i_93_ = i_92_; + this.aShortArray1863[i_94_] = i_90_; + this.aShortArray1835[i_94_] = i_91_; + this.aShortArray1855[i_94_] = i_92_; + if (this.anInt1821 < i_92_) this.anInt1821 = i_92_; + } + if (i_95_ == 4) { + short i_96_ = i_90_; + i_90_ = i_91_; + i_92_ = (short) (class348_sub49.readSmartSigned((byte) 77) + i_93_); + i_91_ = i_96_; + i_93_ = i_92_; + this.aShortArray1863[i_94_] = i_90_; + this.aShortArray1835[i_94_] = i_91_; + this.aShortArray1855[i_94_] = i_92_; + if (this.anInt1821 < i_92_) this.anInt1821 = i_92_; + } + } + this.anInt1821++; + class348_sub49.offset = i_76_; + for (int i_97_ = 0; i_97_ < this.anInt1818; i_97_++) { + this.aByteArray1823[i_97_] = (byte) 0; + this.aShortArray1829[i_97_] = (short) class348_sub49.readUnsignedShort(842397944); + this.aShortArray1849[i_97_] = (short) class348_sub49.readUnsignedShort(842397944); + this.aShortArray1825[i_97_] = (short) class348_sub49.readUnsignedShort(842397944); + } + if (this.aByteArray1820 != null) { + boolean bool_98_ = false; + for (int i_99_ = 0; i_99_ < this.anInt1817; i_99_++) { + int i_100_ = this.aByteArray1820[i_99_] & 0xff; + if (i_100_ != 255) { + if (((0xffff & this.aShortArray1829[i_100_]) != this.aShortArray1863[i_99_]) || (this.aShortArray1835[i_99_] != (0xffff & this.aShortArray1849[i_100_])) || ((0xffff & this.aShortArray1825[i_100_]) != this.aShortArray1855[i_99_])) bool_98_ = true; + else this.aByteArray1820[i_99_] = (byte) -1; + } + } + if (!bool_98_) this.aByteArray1820 = null; + } + if (!bool) this.aByteArray1843 = null; + if (!bool_52_) this.aShortArray1822 = null; + } + + private final int method1104(DisplayModeManagerContainer77 class124_101_, int i, int i_102_, short i_103_) { + anInt1858++; + int i_104_ = class124_101_.anIntArray1841[i_102_]; + int i_105_ = class124_101_.anIntArray1847[i_102_]; + int i_106_ = class124_101_.anIntArray1852[i_102_]; + for (int i_107_ = i; i_107_ < this.anInt1836; i_107_++) { + if (this.anIntArray1841[i_107_] == i_104_ && i_105_ == this.anIntArray1847[i_107_] && (i_106_ == this.anIntArray1852[i_107_])) { + this.aShortArray1842[i_107_] = (short) Component224.bitwiseOr((this.aShortArray1842[i_107_]), i_103_); + return i_107_; + } + } + this.anIntArray1841[this.anInt1836] = i_104_; + this.anIntArray1847[this.anInt1836] = i_105_; + this.anIntArray1852[this.anInt1836] = i_106_; + this.aShortArray1842[this.anInt1836] = i_103_; + this.anIntArray1868[this.anInt1836] = (class124_101_.anIntArray1868 != null ? class124_101_.anIntArray1868[i_102_] : -1); + return this.anInt1836++; + } + + final byte method1105(int i, byte i_108_, byte i_109_, short i_110_, short i_111_, byte i_112_, short i_113_, short i_114_, short i_115_, short i_116_) { + anInt1838++; + if (this.anInt1818 >= 255) throw new IllegalStateException(); + this.aByteArray1823[this.anInt1818] = (byte) 3; + this.aShortArray1829[this.anInt1818] = i_110_; + this.aShortArray1849[this.anInt1818] = i_114_; + this.aShortArray1825[this.anInt1818] = i_113_; + this.anIntArray1859[this.anInt1818] = i_115_; + this.anIntArray1816[this.anInt1818] = i_111_; + this.anIntArray1844[this.anInt1818] = i_116_; + this.aByteArray1833[this.anInt1818] = i_108_; + this.aByteArray1853[this.anInt1818] = i_112_; + this.anIntArray1867[this.anInt1818] = i_109_; + int i_117_ = 93 % ((i - -19) / 56); + return (byte) this.anInt1818++; + } + + private final void method1106(byte[] is, byte i) { + anInt1828++; + Buffer class348_sub49 = new Buffer(is); + Buffer class348_sub49_118_ = new Buffer(is); + Buffer class348_sub49_119_ = new Buffer(is); + Buffer class348_sub49_120_ = new Buffer(is); + Buffer class348_sub49_121_ = new Buffer(is); + Buffer class348_sub49_122_ = new Buffer(is); + Buffer class348_sub49_123_ = new Buffer(is); + class348_sub49.offset = -23 + is.length; + this.anInt1836 = class348_sub49.readUnsignedShort(842397944); + this.anInt1817 = class348_sub49.readUnsignedShort(842397944); + this.anInt1818 = class348_sub49.readUnsignedByte(255); + int i_124_ = class348_sub49.readUnsignedByte(255); + boolean bool = (0x1 & i_124_) == 1; + boolean bool_125_ = (i_124_ & 0x2) == 2; + boolean bool_126_ = (i_124_ & 0x4) == 4; + boolean bool_127_ = (i_124_ & 0x8) == 8; + if (bool_127_) { + class348_sub49.offset -= 7; + this.anInt1830 = class348_sub49.readUnsignedByte(255); + class348_sub49.offset += 6; + } + int i_128_ = class348_sub49.readUnsignedByte(255); + int i_129_ = class348_sub49.readUnsignedByte(255); + int i_130_ = class348_sub49.readUnsignedByte(255); + int i_131_ = class348_sub49.readUnsignedByte(255); + int i_132_ = class348_sub49.readUnsignedByte(255); + int i_133_ = class348_sub49.readUnsignedShort(842397944); + int i_134_ = class348_sub49.readUnsignedShort(842397944); + int i_135_ = class348_sub49.readUnsignedShort(842397944); + int i_136_ = class348_sub49.readUnsignedShort(842397944); + int i_137_ = class348_sub49.readUnsignedShort(842397944); + int i_138_ = 0; + int i_139_ = 0; + int i_140_ = 0; + if (this.anInt1818 > 0) { + class348_sub49.offset = 0; + this.aByteArray1823 = new byte[this.anInt1818]; + for (int i_141_ = 0; (i_141_ < this.anInt1818); i_141_++) { + byte i_142_ = (this.aByteArray1823[i_141_] = class348_sub49.readByte(-124)); + if (i_142_ >= 1 && i_142_ <= 3) i_139_++; + if (i_142_ == 2) i_140_++; + if (i_142_ == 0) i_138_++; + } + } + int i_143_ = this.anInt1818; + int i_144_ = i_143_; + i_143_ += this.anInt1836; + int i_145_ = i_143_; + if (bool) i_143_ += this.anInt1817; + int i_146_ = i_143_; + i_143_ += this.anInt1817; + int i_147_ = i_143_; + if (i_128_ == 255) i_143_ += this.anInt1817; + int i_148_ = i_143_; + if (i_130_ == 1) i_143_ += this.anInt1817; + int i_149_ = i_143_; + if (i_132_ == 1) i_143_ += this.anInt1836; + int i_150_ = i_143_; + if (i_129_ == 1) i_143_ += this.anInt1817; + if (i <= 68) this.anInt1821 = 85; + int i_151_ = i_143_; + i_143_ += i_136_; + int i_152_ = i_143_; + if (i_131_ == 1) i_143_ += 2 * this.anInt1817; + int i_153_ = i_143_; + i_143_ += i_137_; + int i_154_ = i_143_; + i_143_ += 2 * this.anInt1817; + int i_155_ = i_143_; + i_143_ += i_133_; + int i_156_ = i_143_; + i_143_ += i_134_; + int i_157_ = i_143_; + i_143_ += i_135_; + int i_158_ = i_143_; + i_143_ += i_138_ * 6; + int i_159_ = i_143_; + i_143_ += 6 * i_139_; + int i_160_ = 6; + if (this.anInt1830 == 14) i_160_ = 7; + else if (this.anInt1830 >= 15) i_160_ = 9; + int i_161_ = i_143_; + i_143_ += i_160_ * i_139_; + int i_162_ = i_143_; + i_143_ += i_139_; + int i_163_ = i_143_; + i_143_ += i_139_; + int i_164_ = i_143_; + i_143_ += 2 * i_140_ + i_139_; + this.aShortArray1835 = new short[this.anInt1817]; + this.aShortArray1862 = new short[this.anInt1817]; + if (i_130_ == 1) this.anIntArray1824 = new int[this.anInt1817]; + if (this.anInt1818 > 0) { + if (i_140_ > 0) { + this.anIntArray1857 = new int[i_140_]; + this.anIntArray1865 = new int[i_140_]; + } + this.aShortArray1849 = new short[this.anInt1818]; + this.aShortArray1829 = new short[this.anInt1818]; + if (i_139_ > 0) { + this.anIntArray1867 = new int[i_139_]; + this.aByteArray1853 = new byte[i_139_]; + this.anIntArray1816 = new int[i_139_]; + this.aByteArray1833 = new byte[i_139_]; + this.anIntArray1844 = new int[i_139_]; + this.anIntArray1859 = new int[i_139_]; + } + this.aShortArray1825 = new short[this.anInt1818]; + } + if (bool) this.aByteArray1843 = new byte[this.anInt1817]; + if (i_129_ == 1) this.aByteArray1834 = new byte[this.anInt1817]; + if (i_128_ == 255) this.aByteArray1839 = new byte[this.anInt1817]; + else this.aByte1851 = (byte) i_128_; + this.aShortArray1855 = new short[this.anInt1817]; + this.anIntArray1847 = new int[this.anInt1836]; + this.aShortArray1863 = new short[this.anInt1817]; + if (i_131_ == 1 && this.anInt1818 > 0) this.aByteArray1820 = new byte[this.anInt1817]; + int i_165_ = i_143_; + this.anIntArray1852 = new int[this.anInt1836]; + this.anIntArray1841 = new int[this.anInt1836]; + if (i_132_ == 1) this.anIntArray1868 = new int[this.anInt1836]; + class348_sub49.offset = i_144_; + if (i_131_ == 1) this.aShortArray1822 = new short[this.anInt1817]; + class348_sub49_118_.offset = i_155_; + class348_sub49_119_.offset = i_156_; + class348_sub49_120_.offset = i_157_; + class348_sub49_121_.offset = i_149_; + int i_166_ = 0; + int i_167_ = 0; + int i_168_ = 0; + for (int i_169_ = 0; this.anInt1836 > i_169_; i_169_++) { + int i_170_ = class348_sub49.readUnsignedByte(255); + int i_171_ = 0; + if ((i_170_ & 0x1) != 0) i_171_ = class348_sub49_118_.readSmartSigned((byte) 77); + int i_172_ = 0; + if ((i_170_ & 0x2) != 0) i_172_ = class348_sub49_119_.readSmartSigned((byte) 77); + int i_173_ = 0; + if ((0x4 & i_170_) != 0) i_173_ = class348_sub49_120_.readSmartSigned((byte) 77); + this.anIntArray1841[i_169_] = i_171_ + i_166_; + this.anIntArray1847[i_169_] = i_172_ + i_167_; + this.anIntArray1852[i_169_] = i_168_ + i_173_; + i_167_ = this.anIntArray1847[i_169_]; + i_166_ = this.anIntArray1841[i_169_]; + i_168_ = this.anIntArray1852[i_169_]; + if (i_132_ == 1) this.anIntArray1868[i_169_] = class348_sub49_121_.readUnsignedByte(255); + } + class348_sub49.offset = i_154_; + class348_sub49_118_.offset = i_145_; + class348_sub49_119_.offset = i_147_; + class348_sub49_120_.offset = i_150_; + class348_sub49_121_.offset = i_148_; + class348_sub49_122_.offset = i_152_; + class348_sub49_123_.offset = i_153_; + for (int i_174_ = 0; (this.anInt1817 > i_174_); i_174_++) { + this.aShortArray1862[i_174_] = (short) class348_sub49.readUnsignedShort(842397944); + if (bool) this.aByteArray1843[i_174_] = class348_sub49_118_.readByte(-98); + if (i_128_ == 255) this.aByteArray1839[i_174_] = class348_sub49_119_.readByte(-78); + if (i_129_ == 1) this.aByteArray1834[i_174_] = class348_sub49_120_.readByte(-99); + if (i_130_ == 1) this.anIntArray1824[i_174_] = class348_sub49_121_.readUnsignedByte(255); + if (i_131_ == 1) this.aShortArray1822[i_174_] = (short) (class348_sub49_122_.readUnsignedShort(842397944) + -1); + if (this.aByteArray1820 != null) { + if (this.aShortArray1822[i_174_] == -1) this.aByteArray1820[i_174_] = (byte) -1; + else this.aByteArray1820[i_174_] = (byte) (-1 + class348_sub49_123_.readUnsignedByte(255)); + } + } + class348_sub49.offset = i_151_; + this.anInt1821 = -1; + class348_sub49_118_.offset = i_146_; + short i_175_ = 0; + short i_176_ = 0; + short i_177_ = 0; + int i_178_ = 0; + for (int i_179_ = 0; (i_179_ < this.anInt1817); i_179_++) { + int i_180_ = class348_sub49_118_.readUnsignedByte(255); + if (i_180_ == 1) { + i_175_ = (short) (class348_sub49.readSmartSigned((byte) 77) + i_178_); + i_178_ = i_175_; + i_176_ = (short) (class348_sub49.readSmartSigned((byte) 77) + i_178_); + i_178_ = i_176_; + i_177_ = (short) (i_178_ + class348_sub49.readSmartSigned((byte) 77)); + i_178_ = i_177_; + this.aShortArray1863[i_179_] = i_175_; + this.aShortArray1835[i_179_] = i_176_; + this.aShortArray1855[i_179_] = i_177_; + if (i_175_ > this.anInt1821) this.anInt1821 = i_175_; + if (this.anInt1821 < i_176_) this.anInt1821 = i_176_; + if (i_177_ > this.anInt1821) this.anInt1821 = i_177_; + } + if (i_180_ == 2) { + i_176_ = i_177_; + i_177_ = (short) (class348_sub49.readSmartSigned((byte) 77) + i_178_); + this.aShortArray1863[i_179_] = i_175_; + i_178_ = i_177_; + this.aShortArray1835[i_179_] = i_176_; + this.aShortArray1855[i_179_] = i_177_; + if (this.anInt1821 < i_177_) this.anInt1821 = i_177_; + } + if (i_180_ == 3) { + i_175_ = i_177_; + i_177_ = (short) (class348_sub49.readSmartSigned((byte) 77) + i_178_); + i_178_ = i_177_; + this.aShortArray1863[i_179_] = i_175_; + this.aShortArray1835[i_179_] = i_176_; + this.aShortArray1855[i_179_] = i_177_; + if (this.anInt1821 < i_177_) this.anInt1821 = i_177_; + } + if (i_180_ == 4) { + short i_181_ = i_175_; + i_175_ = i_176_; + i_177_ = (short) (i_178_ + class348_sub49.readSmartSigned((byte) 77)); + i_176_ = i_181_; + this.aShortArray1863[i_179_] = i_175_; + i_178_ = i_177_; + this.aShortArray1835[i_179_] = i_176_; + this.aShortArray1855[i_179_] = i_177_; + if (this.anInt1821 < i_177_) this.anInt1821 = i_177_; + } + } + class348_sub49.offset = i_158_; + this.anInt1821++; + class348_sub49_118_.offset = i_159_; + class348_sub49_119_.offset = i_161_; + class348_sub49_120_.offset = i_162_; + class348_sub49_121_.offset = i_163_; + class348_sub49_122_.offset = i_164_; + for (int i_182_ = 0; this.anInt1818 > i_182_; i_182_++) { + int i_183_ = this.aByteArray1823[i_182_] & 0xff; + if (i_183_ == 0) { + this.aShortArray1829[i_182_] = (short) class348_sub49.readUnsignedShort(842397944); + this.aShortArray1849[i_182_] = (short) class348_sub49.readUnsignedShort(842397944); + this.aShortArray1825[i_182_] = (short) class348_sub49.readUnsignedShort(842397944); + } + if (i_183_ == 1) { + this.aShortArray1829[i_182_] = (short) class348_sub49_118_.readUnsignedShort(842397944); + this.aShortArray1849[i_182_] = (short) class348_sub49_118_.readUnsignedShort(842397944); + this.aShortArray1825[i_182_] = (short) class348_sub49_118_.readUnsignedShort(842397944); + if (this.anInt1830 >= 15) { + this.anIntArray1859[i_182_] = class348_sub49_119_.readMedium(-1); + this.anIntArray1816[i_182_] = class348_sub49_119_.readMedium(-1); + this.anIntArray1844[i_182_] = class348_sub49_119_.readMedium(-1); + } else { + this.anIntArray1859[i_182_] = class348_sub49_119_.readUnsignedShort(842397944); + if (this.anInt1830 >= 14) this.anIntArray1816[i_182_] = class348_sub49_119_.readMedium(-1); + else this.anIntArray1816[i_182_] = class348_sub49_119_.readUnsignedShort(842397944); + this.anIntArray1844[i_182_] = class348_sub49_119_.readUnsignedShort(842397944); + } + this.aByteArray1833[i_182_] = class348_sub49_120_.readByte(-86); + this.aByteArray1853[i_182_] = class348_sub49_121_.readByte(-116); + this.anIntArray1867[i_182_] = class348_sub49_122_.readByte(-79); + } + if (i_183_ == 2) { + this.aShortArray1829[i_182_] = (short) class348_sub49_118_.readUnsignedShort(842397944); + this.aShortArray1849[i_182_] = (short) class348_sub49_118_.readUnsignedShort(842397944); + this.aShortArray1825[i_182_] = (short) class348_sub49_118_.readUnsignedShort(842397944); + if (this.anInt1830 >= 15) { + this.anIntArray1859[i_182_] = class348_sub49_119_.readMedium(-1); + this.anIntArray1816[i_182_] = class348_sub49_119_.readMedium(-1); + this.anIntArray1844[i_182_] = class348_sub49_119_.readMedium(-1); + } else { + this.anIntArray1859[i_182_] = class348_sub49_119_.readUnsignedShort(842397944); + if (this.anInt1830 < 14) this.anIntArray1816[i_182_] = class348_sub49_119_.readUnsignedShort(842397944); + else this.anIntArray1816[i_182_] = class348_sub49_119_.readMedium(-1); + this.anIntArray1844[i_182_] = class348_sub49_119_.readUnsignedShort(842397944); + } + this.aByteArray1833[i_182_] = class348_sub49_120_.readByte(-97); + this.aByteArray1853[i_182_] = class348_sub49_121_.readByte(-100); + this.anIntArray1867[i_182_] = class348_sub49_122_.readByte(-124); + this.anIntArray1857[i_182_] = class348_sub49_122_.readByte(-112); + this.anIntArray1865[i_182_] = class348_sub49_122_.readByte(-114); + } + if (i_183_ == 3) { + this.aShortArray1829[i_182_] = (short) class348_sub49_118_.readUnsignedShort(842397944); + this.aShortArray1849[i_182_] = (short) class348_sub49_118_.readUnsignedShort(842397944); + this.aShortArray1825[i_182_] = (short) class348_sub49_118_.readUnsignedShort(842397944); + if (this.anInt1830 < 15) { + this.anIntArray1859[i_182_] = class348_sub49_119_.readUnsignedShort(842397944); + if (this.anInt1830 < 14) this.anIntArray1816[i_182_] = class348_sub49_119_.readUnsignedShort(842397944); + else this.anIntArray1816[i_182_] = class348_sub49_119_.readMedium(-1); + this.anIntArray1844[i_182_] = class348_sub49_119_.readUnsignedShort(842397944); + } else { + this.anIntArray1859[i_182_] = class348_sub49_119_.readMedium(-1); + this.anIntArray1816[i_182_] = class348_sub49_119_.readMedium(-1); + this.anIntArray1844[i_182_] = class348_sub49_119_.readMedium(-1); + } + this.aByteArray1833[i_182_] = class348_sub49_120_.readByte(-104); + this.aByteArray1853[i_182_] = class348_sub49_121_.readByte(-127); + this.anIntArray1867[i_182_] = class348_sub49_122_.readByte(-109); + } + } + class348_sub49.offset = i_165_; + if (bool_125_) { + int i_184_ = class348_sub49.readUnsignedByte(255); + if (i_184_ > 0) { + this.aClass129Array1846 = new Component30[i_184_]; + for (int i_185_ = 0; i_184_ > i_185_; i_185_++) { + int i_186_ = class348_sub49.readUnsignedShort(842397944); + int i_187_ = class348_sub49.readUnsignedShort(842397944); + byte i_188_; + if (i_128_ != 255) i_188_ = (byte) i_128_; + else i_188_ = this.aByteArray1839[i_187_]; + this.aClass129Array1846[i_185_] = (new Component30(i_186_, this.aShortArray1863[i_187_], this.aShortArray1835[i_187_], this.aShortArray1855[i_187_], i_188_)); + } + } + int i_189_ = class348_sub49.readUnsignedByte(255); + if (i_189_ > 0) { + this.aClass342Array1866 = new DisplayModeManagerContainer173[i_189_]; + for (int i_190_ = 0; i_189_ > i_190_; i_190_++) { + int i_191_ = class348_sub49.readUnsignedShort(842397944); + int i_192_ = class348_sub49.readUnsignedShort(842397944); + this.aClass342Array1866[i_190_] = new DisplayModeManagerContainer173(i_191_, i_192_); + } + } + } + if (bool_126_) { + int i_193_ = class348_sub49.readUnsignedByte(255); + if (i_193_ > 0) { + this.aClass162Array1832 = new DisplayModeManagerContainer133[i_193_]; + for (int i_194_ = 0; i_193_ > i_194_; i_194_++) { + int i_195_ = class348_sub49.readUnsignedShort(842397944); + int i_196_ = class348_sub49.readUnsignedShort(842397944); + int i_197_ = class348_sub49.readUnsignedByte(255); + byte i_198_ = class348_sub49.readByte(-127); + this.aClass162Array1832[i_194_] = new DisplayModeManagerContainer133(i_195_, i_196_, i_197_, i_198_); + } + } + } + } + + final void method1107(int i, int i_199_, int i_200_, int i_201_) { + if (i_200_ != 0) { + int i_202_ = DisplayModeManagerContainer88.anIntArray1207[i_200_]; + int i_203_ = DisplayModeManagerContainer88.anIntArray1204[i_200_]; + for (int i_204_ = 0; i_204_ < this.anInt1836; i_204_++) { + int i_205_ = ((i_203_ * this.anIntArray1841[i_204_] + this.anIntArray1847[i_204_] * i_202_) >> 14); + this.anIntArray1847[i_204_] = ((-(this.anIntArray1841[i_204_] * i_202_) + this.anIntArray1847[i_204_] * i_203_) >> 14); + this.anIntArray1841[i_204_] = i_205_; + } + } + if (i != 6875) this.aShortArray1835 = null; + anInt1837++; + if (i_201_ != 0) { + int i_206_ = DisplayModeManagerContainer88.anIntArray1207[i_201_]; + int i_207_ = DisplayModeManagerContainer88.anIntArray1204[i_201_]; + for (int i_208_ = 0; i_208_ < this.anInt1836; i_208_++) { + int i_209_ = ((this.anIntArray1847[i_208_] * i_207_ + -(i_206_ * this.anIntArray1852[i_208_])) >> 14); + this.anIntArray1852[i_208_] = ((this.anIntArray1847[i_208_] * i_206_ - -(i_207_ * this.anIntArray1852[i_208_])) >> 14); + this.anIntArray1847[i_208_] = i_209_; + } + } + if (i_199_ != 0) { + int i_210_ = DisplayModeManagerContainer88.anIntArray1207[i_199_]; + int i_211_ = DisplayModeManagerContainer88.anIntArray1204[i_199_]; + for (int i_212_ = 0; this.anInt1836 > i_212_; i_212_++) { + int i_213_ = ((i_211_ * this.anIntArray1841[i_212_] + this.anIntArray1852[i_212_] * i_210_) >> 14); + this.anIntArray1852[i_212_] = ((i_211_ * this.anIntArray1852[i_212_] + -(this.anIntArray1841[i_212_] * i_210_)) >> 14); + this.anIntArray1841[i_212_] = i_213_; + } + } + } + + public DisplayModeManagerContainer77() { + this.anInt1817 = 0; + this.aByte1851 = (byte) 0; + this.anInt1821 = 0; + this.anInt1818 = 0; + } + + DisplayModeManagerContainer77(byte[] is) { + this.anInt1817 = 0; + this.aByte1851 = (byte) 0; + this.anInt1821 = 0; + this.anInt1818 = 0; + if (is[is.length + -1] == -1 && is[-2 + is.length] == -1) method1106(is, (byte) 93); + else method1103(1, is); + } + + static final void method1108(byte i, Canvas canvas) { + anInt1850++; + Dimension dimension = canvas.getSize(); + if (i != -99) method1096(57); + LogicError.method828((byte) 38, dimension.height, dimension.width); + if (Buffer.anInt7207 != 1) Component158.aHa326.method3643(canvas, Component210.anInt5283, HashTable.anInt1651); + else Component158.aHa326.method3643(canvas, GpiLogger.anInt8854, Component25.anInt6008); + } + + DisplayModeManagerContainer77(int i, int i_214_, int i_215_) { + this.anInt1817 = 0; + this.aByte1851 = (byte) 0; + this.anInt1821 = 0; + this.anInt1818 = 0; + this.aByteArray1820 = new byte[i_214_]; + this.aShortArray1863 = new short[i_214_]; + this.aShortArray1862 = new short[i_214_]; + this.anIntArray1868 = new int[i]; + this.anIntArray1824 = new int[i_214_]; + this.anIntArray1852 = new int[i]; + if (i_215_ > 0) { + this.anIntArray1857 = new int[i_215_]; + this.anIntArray1867 = new int[i_215_]; + this.aShortArray1849 = new short[i_215_]; + this.anIntArray1844 = new int[i_215_]; + this.aShortArray1825 = new short[i_215_]; + this.anIntArray1865 = new int[i_215_]; + this.aByteArray1833 = new byte[i_215_]; + this.anIntArray1859 = new int[i_215_]; + this.aShortArray1829 = new short[i_215_]; + this.aByteArray1823 = new byte[i_215_]; + this.anIntArray1816 = new int[i_215_]; + this.aByteArray1853 = new byte[i_215_]; + } + this.aShortArray1822 = new short[i_214_]; + this.aByteArray1839 = new byte[i_214_]; + this.aShortArray1855 = new short[i_214_]; + this.aShortArray1835 = new short[i_214_]; + this.anIntArray1841 = new int[i]; + this.aByteArray1843 = new byte[i_214_]; + this.anIntArray1847 = new int[i]; + this.aByteArray1834 = new byte[i_214_]; + } + + DisplayModeManagerContainer77(DisplayModeManagerContainer77[] class124s, int i) { + this.anInt1817 = 0; + this.aByte1851 = (byte) 0; + this.anInt1821 = 0; + this.anInt1818 = 0; + this.anInt1818 = 0; + this.anInt1817 = 0; + this.anInt1836 = 0; + int i_216_ = 0; + int i_217_ = 0; + int i_218_ = 0; + boolean bool = false; + boolean bool_219_ = false; + boolean bool_220_ = false; + boolean bool_221_ = false; + boolean bool_222_ = false; + this.aByte1851 = (byte) -1; + boolean bool_223_ = false; + for (int i_224_ = 0; i > i_224_; i_224_++) { + DisplayModeManagerContainer77 class124_225_ = class124s[i_224_]; + if (class124_225_ != null) { + this.anInt1817 += class124_225_.anInt1817; + this.anInt1836 += class124_225_.anInt1836; + this.anInt1818 += class124_225_.anInt1818; + bool = bool | class124_225_.aByteArray1843 != null; + if (class124_225_.aClass162Array1832 != null) i_218_ += (class124_225_.aClass162Array1832).length; + if (class124_225_.aClass129Array1846 != null) i_216_ += (class124_225_.aClass129Array1846).length; + if (class124_225_.aClass342Array1866 != null) i_217_ += (class124_225_.aClass342Array1866).length; + bool_222_ = (bool_222_ | class124_225_.aShortArray1822 != null); + bool_221_ = (bool_221_ | class124_225_.aByteArray1820 != null); + if (class124_225_.aByteArray1839 == null) { + if (this.aByte1851 == -1) this.aByte1851 = class124_225_.aByte1851; + if (this.aByte1851 != class124_225_.aByte1851) bool_219_ = true; + } else bool_219_ = true; + bool_220_ = (bool_220_ | class124_225_.aByteArray1834 != null); + bool_223_ = (bool_223_ | class124_225_.anIntArray1824 != null); + } + } + this.aShortArray1835 = new short[this.anInt1817]; + if (this.anInt1818 > 0) { + this.aShortArray1829 = new short[this.anInt1818]; + this.aByteArray1823 = new byte[this.anInt1818]; + this.anIntArray1867 = new int[this.anInt1818]; + this.anIntArray1844 = new int[this.anInt1818]; + this.aByteArray1833 = new byte[this.anInt1818]; + this.anIntArray1857 = new int[this.anInt1818]; + this.anIntArray1865 = new int[this.anInt1818]; + this.anIntArray1859 = new int[this.anInt1818]; + this.aByteArray1853 = new byte[this.anInt1818]; + this.aShortArray1849 = new short[this.anInt1818]; + this.anIntArray1816 = new int[this.anInt1818]; + this.aShortArray1825 = new short[this.anInt1818]; + } + this.aShortArray1856 = new short[this.anInt1817]; + if (bool_222_) this.aShortArray1822 = new short[this.anInt1817]; + this.aShortArray1863 = new short[this.anInt1817]; + if (bool_223_) this.anIntArray1824 = new int[this.anInt1817]; + if (bool_219_) this.aByteArray1839 = new byte[this.anInt1817]; + if (bool) this.aByteArray1843 = new byte[this.anInt1817]; + if (i_218_ > 0) this.aClass162Array1832 = new DisplayModeManagerContainer133[i_218_]; + if (i_217_ > 0) this.aClass342Array1866 = new DisplayModeManagerContainer173[i_217_]; + this.anIntArray1868 = new int[this.anInt1836]; + if (bool_221_) this.aByteArray1820 = new byte[this.anInt1817]; + this.anIntArray1852 = new int[this.anInt1836]; + this.aShortArray1862 = new short[this.anInt1817]; + this.anIntArray1841 = new int[this.anInt1836]; + this.anIntArray1847 = new int[this.anInt1836]; + if (i_216_ > 0) this.aClass129Array1846 = new Component30[i_216_]; + this.aShortArray1855 = new short[this.anInt1817]; + if (bool_220_) this.aByteArray1834 = new byte[this.anInt1817]; + this.aShortArray1842 = new short[this.anInt1836]; + this.anInt1818 = 0; + i_217_ = 0; + i_218_ = 0; + i_216_ = 0; + this.anInt1817 = 0; + this.anInt1836 = 0; + for (int i_226_ = 0; i > i_226_; i_226_++) { + short i_227_ = (short) (1 << i_226_); + DisplayModeManagerContainer77 class124_228_ = class124s[i_226_]; + if (class124_228_ != null) { + if (class124_228_.aClass162Array1832 != null) { + for (int i_229_ = 0; (class124_228_.aClass162Array1832.length > i_229_); i_229_++) { + DisplayModeManagerContainer133 class162 = (class124_228_.aClass162Array1832[i_229_]); + this.aClass162Array1832[i_218_++] = class162.method1266(5, ((class162.anInt2155) - -(this.anInt1817))); + } + } + for (int i_230_ = 0; class124_228_.anInt1817 > i_230_; i_230_++) { + if (bool && class124_228_.aByteArray1843 != null) this.aByteArray1843[(this.anInt1817)] = (class124_228_.aByteArray1843[i_230_]); + if (bool_219_) { + if (class124_228_.aByteArray1839 != null) this.aByteArray1839[(this.anInt1817)] = (class124_228_.aByteArray1839[i_230_]); + else this.aByteArray1839[(this.anInt1817)] = class124_228_.aByte1851; + } + if (bool_220_ && class124_228_.aByteArray1834 != null) this.aByteArray1834[(this.anInt1817)] = (class124_228_.aByteArray1834[i_230_]); + if (bool_222_) { + if (class124_228_.aShortArray1822 == null) this.aShortArray1822[this.anInt1817] = (short) -1; + else this.aShortArray1822[this.anInt1817] = (class124_228_.aShortArray1822[i_230_]); + } + if (bool_223_) { + if (class124_228_.anIntArray1824 == null) this.anIntArray1824[(this.anInt1817)] = -1; + else this.anIntArray1824[(this.anInt1817)] = (class124_228_.anIntArray1824[i_230_]); + } + this.aShortArray1863[(this.anInt1817)] = (short) method1104(class124_228_, 0, (class124_228_.aShortArray1863[i_230_]), i_227_); + this.aShortArray1835[(this.anInt1817)] = (short) method1104(class124_228_, 0, (class124_228_.aShortArray1835[i_230_]), i_227_); + this.aShortArray1855[(this.anInt1817)] = (short) method1104(class124_228_, 0, (class124_228_.aShortArray1855[i_230_]), i_227_); + this.aShortArray1856[(this.anInt1817)] = i_227_; + this.aShortArray1862[(this.anInt1817)] = class124_228_.aShortArray1862[i_230_]; + this.anInt1817++; + } + if (class124_228_.aClass129Array1846 != null) { + for (int i_231_ = 0; (class124_228_.aClass129Array1846.length > i_231_); i_231_++) { + int i_232_ = method1104(class124_228_, 0, class124_228_.aClass129Array1846[i_231_].anInt1881, i_227_); + int i_233_ = method1104(class124_228_, 0, class124_228_.aClass129Array1846[i_231_].anInt1877, i_227_); + int i_234_ = method1104(class124_228_, 0, class124_228_.aClass129Array1846[i_231_].anInt1892, i_227_); + this.aClass129Array1846[i_216_] = class124_228_.aClass129Array1846[i_231_].method1124(i_233_, -1, i_234_, i_232_); + i_216_++; + } + } + if (class124_228_.aClass342Array1866 != null) { + for (int i_235_ = 0; (class124_228_.aClass342Array1866).length > i_235_; i_235_++) { + int i_236_ = method1104(class124_228_, 0, class124_228_.aClass342Array1866[i_235_].anInt4244, i_227_); + this.aClass342Array1866[i_217_] = class124_228_.aClass342Array1866[i_235_].method2687((byte) 94, i_236_); + i_217_++; + } + } + } + } + int i_237_ = 0; + this.anInt1821 = this.anInt1836; + for (int i_238_ = 0; i > i_238_; i_238_++) { + short i_239_ = (short) (1 << i_238_); + DisplayModeManagerContainer77 class124_240_ = class124s[i_238_]; + if (class124_240_ != null) { + for (int i_241_ = 0; class124_240_.anInt1817 > i_241_; i_241_++) { + if (bool_221_) this.aByteArray1820[i_237_++] = (byte) (((class124_240_.aByteArray1820) != null && (class124_240_.aByteArray1820[i_241_]) != -1) ? ((class124_240_.aByteArray1820[i_241_]) + this.anInt1818) : -1); + } + for (int i_242_ = 0; (class124_240_.anInt1818 > i_242_); i_242_++) { + byte i_243_ = (this.aByteArray1823[(this.anInt1818)] = (class124_240_.aByteArray1823[i_242_])); + if (i_243_ == 0) { + this.aShortArray1829[(this.anInt1818)] = (short) method1104(class124_240_, 0, (class124_240_.aShortArray1829[i_242_]), i_239_); + this.aShortArray1849[(this.anInt1818)] = (short) method1104(class124_240_, 0, (class124_240_.aShortArray1849[i_242_]), i_239_); + this.aShortArray1825[(this.anInt1818)] = (short) method1104(class124_240_, 0, (class124_240_.aShortArray1825[i_242_]), i_239_); + } + if (i_243_ >= 1 && i_243_ <= 3) { + this.aShortArray1829[(this.anInt1818)] = (class124_240_.aShortArray1829[i_242_]); + this.aShortArray1849[(this.anInt1818)] = (class124_240_.aShortArray1849[i_242_]); + this.aShortArray1825[(this.anInt1818)] = (class124_240_.aShortArray1825[i_242_]); + this.anIntArray1859[(this.anInt1818)] = (class124_240_.anIntArray1859[i_242_]); + this.anIntArray1816[(this.anInt1818)] = (class124_240_.anIntArray1816[i_242_]); + this.anIntArray1844[(this.anInt1818)] = (class124_240_.anIntArray1844[i_242_]); + this.aByteArray1833[(this.anInt1818)] = (class124_240_.aByteArray1833[i_242_]); + this.aByteArray1853[(this.anInt1818)] = (class124_240_.aByteArray1853[i_242_]); + this.anIntArray1867[(this.anInt1818)] = (class124_240_.anIntArray1867[i_242_]); + } + if (i_243_ == 2) { + this.anIntArray1857[(this.anInt1818)] = (class124_240_.anIntArray1857[i_242_]); + this.anIntArray1865[(this.anInt1818)] = (class124_240_.anIntArray1865[i_242_]); + } + this.anInt1818++; + } + } + } + } +} diff --git a/client/misc/DisplayModeManagerContainer87.java b/client/misc/DisplayModeManagerContainer87.java new file mode 100644 index 000000000..5a29be981 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer87.java @@ -0,0 +1,1300 @@ +/* DisplayModeManagerContainer87 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +class DisplayModeManagerContainer87 +/** + * RENAMED from `Class237` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt3102; + static boolean aBoolean3103 = false; + byte[][][] aByteArrayArrayArray3104; + static int anInt3105; + static int anInt3106; + static int anInt3107; + byte[][][] aByteArrayArrayArray3108; + boolean aBoolean3109; + static int anInt3110; + static int anInt3111; + static int anInt3112; + private final byte[][][] aByteArrayArrayArray3113; + int anInt3114; + static int anInt3115; + static int anInt3116; + int anInt3117; + static int anInt3118; + private final DisplayModeManagerContainer259 aClass268_3119; + private final Component191 aClass183_3120; + static int anInt3121; + int[][][] anIntArrayArrayArray3122; + private final byte[][][] aByteArrayArrayArray3123; + private final int[] anIntArray3124; + static int anInt3125; + private final byte[][][] aByteArrayArrayArray3126; + static int anInt3127; + private final int[] anIntArray3128 = {0, 0, 0, 256, 512, 512, 512, 256, 256, 384, 128, 128, 256}; + private final byte[][][] aByteArrayArrayArray3129; + int anInt3130; + static int anInt3131; + + private final void method1675(int i, int i_0_, byte[][] is, int i_1_, byte[][] is_2_, int i_3_, Component11 class277, Component231 class22, boolean[] bools, int i_4_, byte[][] is_5_, int i_6_, int i_7_, GraphicsToolkit var_ha) { + do { + try { + anInt3112++; + boolean[] bools_8_ = (class277 != null && class277.aBoolean3560 ? Cp1252Decoder.aBooleanArrayArray5225[i_7_] : DisplayModeManagerContainer232.aBooleanArrayArray4693[i_7_]); + if (i_1_ > 0) { + if (i > 0) { + int i_9_ = is_5_[i + -1][i_1_ - 1] & 0xff; + if (i_9_ > 0) { + Component11 class277_10_ = aClass268_3119.method2034(i_9_ - 1, false); + if (class277_10_.anInt3563 != -1 && class277_10_.aBoolean3560) { + byte i_11_ = is[-1 + i][i_1_ - 1]; + int i_12_ = 4 + is_2_[i + -1][-1 + i_1_] * 2 & 0x7; + int i_13_ = (HashNodeSub17.method3266(var_ha, 127, class277_10_)); + if (Component214.aBooleanArrayArray2133[i_11_][i_12_]) { + ColorTagNode.anIntArray6775[0] = class277_10_.anInt3563; + DefinitionSub38.anIntArray9480[0] = i_13_; + DisplayModeManagerContainer369.anIntArray2899[0] = class277_10_.anInt3575; + NodederUtil.anIntArray6631[0] = class277_10_.anInt3570; + Component314.anIntArray3873[0] = class277_10_.anInt3564; + Component166.anIntArray2370[0] = 256; + } + } + } + } + if (i < i_6_ + -1) { + int i_14_ = 0xff & is_5_[1 + i][i_1_ - 1]; + if (i_14_ > 0) { + Component11 class277_15_ = aClass268_3119.method2034(i_14_ - 1, false); + if (class277_15_.anInt3563 != -1 && class277_15_.aBoolean3560) { + byte i_16_ = is[i + 1][-1 + i_1_]; + int i_17_ = 0x7 & 2 * is_2_[1 + i][i_1_ + -1] + 6; + int i_18_ = (HashNodeSub17.method3266(var_ha, 125, class277_15_)); + if (Component214.aBooleanArrayArray2133[i_16_][i_17_]) { + ColorTagNode.anIntArray6775[2] = class277_15_.anInt3563; + DefinitionSub38.anIntArray9480[2] = i_18_; + DisplayModeManagerContainer369.anIntArray2899[2] = class277_15_.anInt3575; + NodederUtil.anIntArray6631[2] = class277_15_.anInt3570; + Component314.anIntArray3873[2] = class277_15_.anInt3564; + Component166.anIntArray2370[2] = 512; + } + } + } + } + } + if (i_3_ + i_0_ > i_1_) { + if (i > 0) { + int i_19_ = is_5_[-1 + i][1 + i_1_] & 0xff; + if (i_19_ > 0) { + Component11 class277_20_ = aClass268_3119.method2034(-1 + i_19_, false); + if (class277_20_.anInt3563 != -1 && class277_20_.aBoolean3560) { + byte i_21_ = is[-1 + i][1 + i_1_]; + int i_22_ = 2 * is_2_[-1 + i][1 + i_1_] + 2 & 0x7; + int i_23_ = (HashNodeSub17.method3266(var_ha, i_3_ ^ ~0x7c, class277_20_)); + if (Component214.aBooleanArrayArray2133[i_21_][i_22_]) { + ColorTagNode.anIntArray6775[6] = class277_20_.anInt3563; + DefinitionSub38.anIntArray9480[6] = i_23_; + DisplayModeManagerContainer369.anIntArray2899[6] = class277_20_.anInt3575; + NodederUtil.anIntArray6631[6] = class277_20_.anInt3570; + Component314.anIntArray3873[6] = class277_20_.anInt3564; + Component166.anIntArray2370[6] = 64; + } + } + } + } + if (i < i_6_ - 1) { + int i_24_ = is_5_[i - -1][i_1_ + 1] & 0xff; + if (i_24_ > 0) { + Component11 class277_25_ = aClass268_3119.method2034(-1 + i_24_, false); + if (class277_25_.anInt3563 != -1 && class277_25_.aBoolean3560) { + byte i_26_ = is[1 + i][i_1_ - -1]; + int i_27_ = 0x7 & /*--*/(is_2_[i - -1][1 + i_1_] * 2); + int i_28_ = (HashNodeSub17.method3266(var_ha, i_3_ + 127, class277_25_)); + if (Component214.aBooleanArrayArray2133[i_26_][i_27_]) { + ColorTagNode.anIntArray6775[4] = class277_25_.anInt3563; + DefinitionSub38.anIntArray9480[4] = i_28_; + DisplayModeManagerContainer369.anIntArray2899[4] = class277_25_.anInt3575; + NodederUtil.anIntArray6631[4] = class277_25_.anInt3570; + Component314.anIntArray3873[4] = class277_25_.anInt3564; + Component166.anIntArray2370[4] = 128; + } + } + } + } + } + if (i_1_ > 0) { + int i_29_ = 0xff & is_5_[i][i_1_ + -1]; + if (i_29_ > 0) { + Component11 class277_30_ = aClass268_3119.method2034(-1 + i_29_, false); + if (class277_30_.anInt3563 != -1) { + byte i_31_ = is[i][-1 + i_1_]; + int i_32_ = is_2_[i][i_1_ - 1]; + if (class277_30_.aBoolean3560) { + int i_33_ = 2; + int i_34_ = 4 + i_32_ * 2; + int i_35_ = (HashNodeSub17.method3266(var_ha, 125, class277_30_)); + for (int i_36_ = 0; i_36_ < 3; i_36_++) { + i_33_ &= 0x7; + i_34_ = 0x7 & i_34_; + if ((Component214.aBooleanArrayArray2133[i_31_][i_34_]) && (Component314.anIntArray3873[i_33_] <= (class277_30_.anInt3564))) { + ColorTagNode.anIntArray6775[i_33_] = (class277_30_.anInt3563); + DefinitionSub38.anIntArray9480[i_33_] = i_35_; + DisplayModeManagerContainer369.anIntArray2899[i_33_] = (class277_30_.anInt3575); + NodederUtil.anIntArray6631[i_33_] = (class277_30_.anInt3570); + if (Component314.anIntArray3873[i_33_] != (class277_30_.anInt3564)) Component166.anIntArray2370[i_33_] = 32; + else Component166.anIntArray2370[i_33_] = (Component224.bitwiseOr((Component166.anIntArray2370[i_33_]), 32)); + Component314.anIntArray3873[i_33_] = (class277_30_.anInt3564); + } + i_34_++; + i_33_--; + } + if (!bools_8_[0x3 & i_4_]) bools[0] = (Cp1252Decoder.aBooleanArrayArray5225[i_31_][GpsOverlay.bitwiseAnd(i_32_ + 2, 3)]); + } else if (!bools_8_[0x3 & i_4_]) bools[0] = (DisplayModeManagerContainer232.aBooleanArrayArray4693[i_31_][GpsOverlay.bitwiseAnd(3, i_32_ + 2)]); + } + } + } + if (i_1_ < -1 + i_0_) { + int i_37_ = is_5_[i][i_1_ - -1] & 0xff; + if (i_37_ > 0) { + Component11 class277_38_ = aClass268_3119.method2034(-1 + i_37_, false); + if (class277_38_.anInt3563 != -1) { + byte i_39_ = is[i][i_1_ + 1]; + int i_40_ = is_2_[i][i_1_ - -1]; + if (class277_38_.aBoolean3560) { + int i_41_ = 4; + int i_42_ = 2 * i_40_ + 2; + int i_43_ = (HashNodeSub17.method3266(var_ha, 124, class277_38_)); + for (int i_44_ = 0; i_44_ < 3; i_44_++) { + i_41_ &= 0x7; + i_42_ = 0x7 & i_42_; + if ((Component214.aBooleanArrayArray2133[i_39_][i_42_]) && ((class277_38_.anInt3564) >= Component314.anIntArray3873[i_41_])) { + ColorTagNode.anIntArray6775[i_41_] = (class277_38_.anInt3563); + DefinitionSub38.anIntArray9480[i_41_] = i_43_; + DisplayModeManagerContainer369.anIntArray2899[i_41_] = (class277_38_.anInt3575); + NodederUtil.anIntArray6631[i_41_] = (class277_38_.anInt3570); + if (Component314.anIntArray3873[i_41_] != (class277_38_.anInt3564)) Component166.anIntArray2370[i_41_] = 16; + else Component166.anIntArray2370[i_41_] = (Component224.bitwiseOr((Component166.anIntArray2370[i_41_]), 16)); + Component314.anIntArray3873[i_41_] = (class277_38_.anInt3564); + } + i_42_--; + i_41_++; + } + if (!bools_8_[0x3 & i_4_ + 2]) bools[2] = (Cp1252Decoder.aBooleanArrayArray5225[i_39_][GpsOverlay.bitwiseAnd(3, --i_40_)]); + } else if (!bools_8_[0x3 & 2 + i_4_]) bools[2] = (DisplayModeManagerContainer232.aBooleanArrayArray4693[i_39_][GpsOverlay.bitwiseAnd(3, i_40_)]); + } + } + } + if (i > 0) { + int i_45_ = 0xff & is_5_[i + -1][i_1_]; + if (i_45_ > 0) { + Component11 class277_46_ = aClass268_3119.method2034(-1 + i_45_, false); + if (class277_46_.anInt3563 != -1) { + byte i_47_ = is[-1 + i][i_1_]; + int i_48_ = is_2_[-1 + i][i_1_]; + if (class277_46_.aBoolean3560) { + int i_49_ = 6; + int i_50_ = 2 * i_48_ + 4; + int i_51_ = (HashNodeSub17.method3266(var_ha, 127, class277_46_)); + for (int i_52_ = 0; i_52_ < 3; i_52_++) { + i_50_ &= 0x7; + i_49_ = 0x7 & i_49_; + if ((Component214.aBooleanArrayArray2133[i_47_][i_50_]) && (Component314.anIntArray3873[i_49_] <= (class277_46_.anInt3564))) { + ColorTagNode.anIntArray6775[i_49_] = (class277_46_.anInt3563); + DefinitionSub38.anIntArray9480[i_49_] = i_51_; + DisplayModeManagerContainer369.anIntArray2899[i_49_] = (class277_46_.anInt3575); + NodederUtil.anIntArray6631[i_49_] = (class277_46_.anInt3570); + if (Component314.anIntArray3873[i_49_] != (class277_46_.anInt3564)) Component166.anIntArray2370[i_49_] = 8; + else Component166.anIntArray2370[i_49_] = (Component224.bitwiseOr((Component166.anIntArray2370[i_49_]), 8)); + Component314.anIntArray3873[i_49_] = (class277_46_.anInt3564); + } + i_49_++; + i_50_--; + } + if (!bools_8_[3 - -i_4_ & 0x3]) bools[3] = (Cp1252Decoder.aBooleanArrayArray5225[i_47_][GpsOverlay.bitwiseAnd(3, 1 + i_48_)]); + } else if (!bools_8_[0x3 & 3 - -i_4_]) bools[3] = (DisplayModeManagerContainer232.aBooleanArrayArray4693[i_47_][GpsOverlay.bitwiseAnd(3, 1 + i_48_)]); + } + } + } + if (i_6_ - 1 > i) { + int i_53_ = is_5_[1 + i][i_1_] & 0xff; + if (i_53_ > 0) { + Component11 class277_54_ = aClass268_3119.method2034(-1 + i_53_, false); + if (class277_54_.anInt3563 != -1) { + byte i_55_ = is[i + 1][i_1_]; + int i_56_ = is_2_[1 + i][i_1_]; + if (class277_54_.aBoolean3560) { + int i_57_ = 4; + int i_58_ = 6 + i_56_ * 2; + int i_59_ = (HashNodeSub17.method3266(var_ha, 127, class277_54_)); + for (int i_60_ = 0; i_60_ < 3; i_60_++) { + i_57_ = 0x7 & i_57_; + i_58_ = 0x7 & i_58_; + if ((Component214.aBooleanArrayArray2133[i_55_][i_58_]) && (Component314.anIntArray3873[i_57_] <= (class277_54_.anInt3564))) { + ColorTagNode.anIntArray6775[i_57_] = (class277_54_.anInt3563); + DefinitionSub38.anIntArray9480[i_57_] = i_59_; + DisplayModeManagerContainer369.anIntArray2899[i_57_] = (class277_54_.anInt3575); + NodederUtil.anIntArray6631[i_57_] = (class277_54_.anInt3570); + if (class277_54_.anInt3564 == Component314.anIntArray3873[i_57_]) Component166.anIntArray2370[i_57_] = (Component224.bitwiseOr((Component166.anIntArray2370[i_57_]), 4)); + else Component166.anIntArray2370[i_57_] = 4; + Component314.anIntArray3873[i_57_] = (class277_54_.anInt3564); + } + i_58_++; + i_57_--; + } + if (!bools_8_[1 + i_4_ & 0x3]) bools[1] = (Cp1252Decoder.aBooleanArrayArray5225[i_55_][GpsOverlay.bitwiseAnd(3, i_56_ + 3)]); + } else if (!bools_8_[1 - -i_4_ & 0x3]) bools[1] = (DisplayModeManagerContainer232.aBooleanArrayArray4693[i_55_][GpsOverlay.bitwiseAnd(3, 3 - -i_56_)]); + } + } + } + if (class277 == null) break; + int i_61_ = HashNodeSub17.method3266(var_ha, i_3_ ^ ~0x7e, class277); + if (!class277.aBoolean3560) break; + for (int i_62_ = 0; i_62_ < 8; i_62_++) { + int i_63_ = -(i_4_ * 2) + i_62_ & 0x7; + if (Component214.aBooleanArrayArray2133[i_7_][i_62_] && (Component314.anIntArray3873[i_63_] <= class277.anInt3564)) { + ColorTagNode.anIntArray6775[i_63_] = class277.anInt3563; + DefinitionSub38.anIntArray9480[i_63_] = i_61_; + DisplayModeManagerContainer369.anIntArray2899[i_63_] = class277.anInt3575; + NodederUtil.anIntArray6631[i_63_] = class277.anInt3570; + if (Component314.anIntArray3873[i_63_] != class277.anInt3564) Component166.anIntArray2370[i_63_] = 2; + else Component166.anIntArray2370[i_63_] = Component224.bitwiseOr((Component166.anIntArray2370[i_63_]), 2); + Component314.anIntArray3873[i_63_] = class277.anInt3564; + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("sr.M(" + i + ',' + i_0_ + ',' + (is != null ? "{...}" : "null") + ',' + i_1_ + ',' + (is_2_ != null ? "{...}" : "null") + ',' + i_3_ + ',' + (class277 != null ? "{...}" : "null") + ',' + (class22 != null ? "{...}" : "null") + ',' + (bools != null ? "{...}" : "null") + ',' + i_4_ + ',' + (is_5_ != null ? "{...}" : "null") + ',' + i_6_ + ',' + i_7_ + ',' + (var_ha != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + private final void method1676(s var_s, s var_s_64_, int i, s var_s_65_, int[][] is, GraphicsToolkit var_ha, int i_66_) { + try { + anInt3102++; + byte[][] is_67_ = aByteArrayArrayArray3126[i_66_]; + if (i != -26833) this.anInt3114 = -107; + byte[][] is_68_ = aByteArrayArrayArray3129[i_66_]; + byte[][] is_69_ = aByteArrayArrayArray3113[i_66_]; + byte[][] is_70_ = aByteArrayArrayArray3123[i_66_]; + for (int i_71_ = 0; (i_71_ < this.anInt3117); i_71_++) { + int i_72_ = (i_71_ >= this.anInt3117 - 1 ? i_71_ : i_71_ + 1); + for (int i_73_ = 0; i_73_ < this.anInt3114; i_73_++) { + int i_74_ = (i_73_ < this.anInt3114 + -1 ? 1 + i_73_ : i_73_); + if (OutputStream_Sub2.anInt101 == -1 || Component255.method536(i_73_, false, i_71_, OutputStream_Sub2.anInt101, i_66_)) { + boolean bool = false; + boolean bool_75_ = false; + boolean[] bools = new boolean[4]; + byte i_76_ = is_67_[i_71_][i_73_]; + int i_77_ = is_68_[i_71_][i_73_]; + int i_78_ = 0xff & is_70_[i_71_][i_73_]; + int i_79_ = is_69_[i_71_][i_73_] & 0xff; + int i_80_ = 0xff & is_69_[i_71_][i_74_]; + int i_81_ = is_69_[i_72_][i_74_] & 0xff; + int i_82_ = is_69_[i_72_][i_73_] & 0xff; + if (i_78_ != 0 || i_79_ != 0) { + Component11 class277 = (i_78_ == 0 ? null : aClass268_3119.method2034(i_78_ - 1, false)); + Component231 class22 = (i_79_ == 0 ? null : aClass183_3120.method1380(true, -1 + i_79_)); + if (i_76_ == 0 && class277 == null) i_76_ = (byte) 12; + Component11 class277_83_ = class277; + if (class277 != null) { + if (class277.anInt3563 != -1 || class277.anInt3569 != -1) { + if (class22 != null && i_76_ != 0) bool_75_ = (class277.aBoolean3560); + } else { + class277_83_ = class277; + class277 = null; + } + } + if ((i_76_ == 0 || i_76_ == 12) && i_71_ > 0 && i_73_ > 0 && (this.anInt3117 > i_71_) && (this.anInt3114 > i_73_)) { + int i_84_ = 0; + int i_85_ = 0; + int i_86_ = 0; + i_86_ = i_86_ + (is_69_[i_72_][i_74_] != i_79_ ? -1 : 1); + i_85_ = (i_85_ + (is_69_[i_72_][i_73_ + -1] != i_79_ ? -1 : 1)); + int i_87_ = 0; + i_84_ = i_84_ + (i_79_ == (is_69_[-1 + i_71_][-1 + i_73_]) ? 1 : -1); + if (is_69_[i_71_][i_73_ - 1] == i_79_) { + i_84_++; + i_85_++; + } else { + i_85_--; + i_84_--; + } + i_87_ = (i_87_ + (is_69_[-1 + i_71_][i_74_] != i_79_ ? -1 : 1)); + if (i_79_ == is_69_[i_72_][i_73_]) { + i_85_++; + i_86_++; + } else { + i_85_--; + i_86_--; + } + if (i_79_ == is_69_[i_71_][i_74_]) { + i_86_++; + i_87_++; + } else { + i_87_--; + i_86_--; + } + if (i_79_ == is_69_[-1 + i_71_][i_73_]) { + i_87_++; + i_84_++; + } else { + i_87_--; + i_84_--; + } + int i_88_ = i_84_ + -i_86_; + if (i_88_ < 0) i_88_ = -i_88_; + int i_89_ = -i_87_ + i_85_; + if (i_89_ < 0) i_89_ = -i_89_; + if (i_89_ == i_88_) { + i_88_ = (var_s_64_.method3982((byte) -86, i_73_, i_71_) + -var_s_64_.method3982((byte) -86, i_74_, i_72_)); + if (i_88_ < 0) i_88_ = -i_88_; + i_89_ = (var_s_64_.method3982((byte) -86, i_73_, i_72_) - var_s_64_.method3982((byte) -86, i_74_, i_71_)); + if (i_89_ < 0) i_89_ = -i_89_; + } + i_77_ = (i_89_ <= i_88_ ? 0 : 1); + } + for (int i_90_ = 0; i_90_ < 13; i_90_++) { + Component314.anIntArray3873[i_90_] = -1; + Component166.anIntArray2370[i_90_] = 1; + } + boolean[] bools_91_ = ((class277 == null || !class277.aBoolean3560) ? DisplayModeManagerContainer232.aBooleanArrayArray4693[i_76_] : (Cp1252Decoder.aBooleanArrayArray5225[i_76_])); + method1675(i_71_, this.anInt3114, is_67_, i_73_, is_68_, -1, class277, class22, bools, i_77_, is_70_, this.anInt3117, i_76_, var_ha); + boolean bool_92_ = (class277 != null && (class277.anInt3563 != class277.anInt3569)); + if (!bool_92_) { + for (int i_93_ = 0; i_93_ < 8; i_93_++) { + if (Component314.anIntArray3873[i_93_] >= 0 && ((ColorTagNode.anIntArray6775[i_93_]) != (DefinitionSub38.anIntArray9480[i_93_]))) { + bool_92_ = true; + break; + } + } + } + if (!bools_91_[i_77_ + 1 & 0x3]) bools[1] = (DummyClass.method3576(bools[1], GpsOverlay.bitwiseAnd((Component166.anIntArray2370[2]), (Component166.anIntArray2370[4])) == 0)); + if (!bools_91_[0x3 & i_77_ + 3]) bools[3] = (DummyClass.method3576(bools[3], GpsOverlay.bitwiseAnd((Component166.anIntArray2370[0]), (Component166.anIntArray2370[6])) == 0)); + if (!bools_91_[i_77_ & 0x3]) bools[0] = (DummyClass.method3576(bools[0], GpsOverlay.bitwiseAnd((Component166.anIntArray2370[0]), (Component166.anIntArray2370[2])) == 0)); + if (!bools_91_[i_77_ + 2 & 0x3]) bools[2] = (DummyClass.method3576(bools[2], GpsOverlay.bitwiseAnd((Component166.anIntArray2370[4]), (Component166.anIntArray2370[6])) == 0)); + if (!bool_75_ && (i_76_ == 0 || i_76_ == 12)) { + if (!bools[0] || bools[1] || bools[2] || !bools[3]) { + if (!bools[0] || !bools[1] || bools[2] || bools[3]) { + if (!bools[0] && bools[1] && bools[2] && !bools[3]) { + i_77_ = 2; + i_76_ = (i_76_ != 0 ? (byte) 14 : (byte) 13); + bools[1] = bools[2] = false; + } else if (!bools[0] && !bools[1] && bools[2] && bools[3]) { + i_76_ = (i_76_ != 0 ? (byte) 14 : (byte) 13); + bools[2] = bools[3] = false; + i_77_ = 1; + } + } else { + i_76_ = (i_76_ == 0 ? (byte) 13 : (byte) 14); + bools[0] = bools[1] = false; + i_77_ = 3; + } + } else { + bools[0] = bools[3] = false; + i_77_ = 0; + i_76_ = (i_76_ == 0 ? (byte) 13 : (byte) 14); + } + } + boolean bool_94_ = (!bool_75_ && !bools[0] && !bools[2] && !bools[1] && !bools[3]); + int[] is_95_ = null; + int[] is_96_; + int[] is_97_; + int i_98_; + int[] is_99_; + int i_100_; + if (bool_94_) { + is_96_ = RunescapeInfo.anIntArrayArray174[i_76_]; + is_97_ = Component342.anIntArrayArray1190[i_76_]; + i_98_ = (class22 != null ? CookieBuilder.anIntArray619[i_76_] : 0); + is_99_ = (NodeSub12.anIntArrayArray6740[i_76_]); + i_100_ = (class277 == null ? 0 : (NsnDefinition.anIntArray9249[i_76_])); + } else if (bool_75_) { + i_100_ = (class277 == null ? 0 : Component377.anIntArray860[i_76_]); + is_96_ = Component122.anIntArrayArray1566[i_76_]; + is_95_ = KeyStoreLoader.anIntArrayArray1638[i_76_]; + is_97_ = ImageTagText.anIntArrayArray2165[i_76_]; + is_99_ = (ColorTagNode.anIntArrayArray6780[i_76_]); + i_98_ = (class22 != null ? Component69.anIntArray3659[i_76_] : 0); + } else { + i_98_ = (class22 == null ? 0 : Component163.anIntArray3173[i_76_]); + i_100_ = (class277 == null ? 0 : NativeLibLoader.anIntArray4152[i_76_]); + is_97_ = Component94.anIntArrayArray3677[i_76_]; + is_99_ = (Component20.anIntArrayArray6054[i_76_]); + is_96_ = (Exception_Sub1.anIntArrayArray111[i_76_]); + is_95_ = (BrowserUrlOpener.anIntArrayArray8910[i_76_]); + } + int i_101_ = i_100_ + i_98_; + if (i_101_ <= 0) Component316.method1394(i_66_, i_71_, i_73_); + else { + if (bools[0]) i_101_++; + if (bools[2]) i_101_++; + if (bools[1]) i_101_++; + if (bools[3]) i_101_++; + int i_102_ = 0; + int i_103_ = 0; + int i_104_ = i_101_ * 3; + int[] is_105_ = bool_92_ ? new int[i_104_] : null; + int[] is_106_ = new int[i_104_]; + int[] is_107_ = new int[i_104_]; + int[] is_108_ = new int[i_104_]; + int[] is_109_ = new int[i_104_]; + int[] is_110_ = new int[i_104_]; + int[] is_111_ = var_s == null ? null : new int[i_104_]; + int[] is_112_ = (var_s == null && var_s_65_ == null ? null : new int[i_104_]); + int i_113_ = -1; + int i_114_ = -1; + int i_115_ = 256; + if (class277 != null) { + i_114_ = class277.anInt3575; + i_115_ = class277.anInt3570; + i_113_ = class277.anInt3563; + int i_116_ = (HashNodeSub17.method3266(var_ha, i ^ ~0x68ad, class277)); + for (int i_117_ = 0; i_117_ < i_100_; i_117_++) { + boolean bool_118_ = false; + int i_119_; + if (!bools[-i_77_ & 0x3] || is_95_[0] != i_102_) { + if (!bools[-i_77_ + 2 & 0x3] || is_95_[2] != i_102_) { + if (!bools[-i_77_ + 1 & 0x3] || (is_95_[1] != i_102_)) { + if (!(bools[0x3 & -i_77_ + 3]) || (i_102_ != is_95_[3])) { + Node.anIntArray4288[0] = is_96_[i_102_]; + Node.anIntArray4288[1] = is_97_[i_102_]; + Node.anIntArray4288[2] = is_99_[i_102_]; + i_119_ = 3; + } else { + Node.anIntArray4288[0] = is_96_[i_102_]; + Node.anIntArray4288[1] = 7; + Node.anIntArray4288[2] = is_99_[i_102_]; + Node.anIntArray4288[3] = 7; + Node.anIntArray4288[4] = is_97_[i_102_]; + i_119_ = 6; + Node.anIntArray4288[5] = is_99_[i_102_]; + } + } else { + Node.anIntArray4288[0] = is_96_[i_102_]; + Node.anIntArray4288[1] = 3; + Node.anIntArray4288[2] = is_99_[i_102_]; + Node.anIntArray4288[3] = 3; + Node.anIntArray4288[4] = is_97_[i_102_]; + i_119_ = 6; + Node.anIntArray4288[5] = is_99_[i_102_]; + } + } else { + Node.anIntArray4288[0] = is_96_[i_102_]; + Node.anIntArray4288[1] = 5; + Node.anIntArray4288[2] = is_99_[i_102_]; + Node.anIntArray4288[3] = 5; + Node.anIntArray4288[4] = is_97_[i_102_]; + i_119_ = 6; + Node.anIntArray4288[5] = is_99_[i_102_]; + } + } else { + Node.anIntArray4288[0] = is_96_[i_102_]; + Node.anIntArray4288[1] = 1; + Node.anIntArray4288[2] = is_99_[i_102_]; + Node.anIntArray4288[3] = 1; + Node.anIntArray4288[4] = is_97_[i_102_]; + Node.anIntArray4288[5] = is_99_[i_102_]; + i_119_ = 6; + } + for (int i_120_ = 0; (i_119_ > i_120_); i_120_++) { + int i_121_ = (Node.anIntArray4288[i_120_]); + int i_122_ = -(2 * i_77_) + i_121_ & 0x7; + int i_123_ = anIntArray3124[i_121_]; + int i_124_ = anIntArray3128[i_121_]; + int i_125_; + int i_126_; + if (i_77_ == 1) { + i_125_ = 512 + -i_123_; + i_126_ = i_124_; + } else if (i_77_ == 2) { + i_126_ = 512 - i_123_; + i_125_ = -i_124_ + 512; + } else if (i_77_ == 3) { + i_125_ = i_123_; + i_126_ = 512 + -i_124_; + } else { + i_125_ = i_124_; + i_126_ = i_123_; + } + is_106_[i_103_] = i_126_; + is_107_[i_103_] = i_125_; + if (is_111_ != null && (Component214.aBooleanArrayArray2133[i_76_][i_121_])) { + int i_127_ = (i_126_ + (i_71_ << 9)); + int i_128_ = i_125_ + (i_73_ << 9); + is_111_[i_103_] = ((var_s.method3986(i_127_, i_128_, (byte) 124)) + -(var_s_64_.method3986(i_127_, i_128_, (byte) -118))); + } + if (is_112_ != null) { + if (var_s == null || (Component214.aBooleanArrayArray2133[i_76_][i_121_])) { + if (var_s_65_ != null && !(HashNodeSub1.aBooleanArrayArray9495[i_76_][i_121_])) { + int i_129_ = ((i_71_ << 9) - -i_126_); + int i_130_ = ((i_73_ << 9) + i_125_); + is_112_[i_103_] = ((var_s_65_.method3986(i_129_, i_130_, (byte) -105)) + -(var_s_64_.method3986(i_129_, i_130_, (byte) -109))); + } + } else { + int i_131_ = ((i_71_ << 9) + i_126_); + int i_132_ = (i_125_ + (i_73_ << 9)); + is_112_[i_103_] = ((var_s_64_.method3986(i_131_, i_132_, (byte) -4)) - (var_s.method3986(i_131_, i_132_, (byte) 73))); + } + } + if (i_121_ < 8 && ((Component314.anIntArray3873[i_122_]) > (class277.anInt3564))) { + if (is_105_ != null) is_105_[i_103_] = (DefinitionSub38.anIntArray9480[i_122_]); + is_110_[i_103_] = (NodederUtil.anIntArray6631[i_122_]); + is_109_[i_103_] = (DisplayModeManagerContainer369.anIntArray2899[i_122_]); + is_108_[i_103_] = (ColorTagNode.anIntArray6775[i_122_]); + } else { + if (is_105_ != null) is_105_[i_103_] = i_116_; + is_109_[i_103_] = (class277.anInt3575); + is_110_[i_103_] = (class277.anInt3570); + is_108_[i_103_] = i_113_; + } + i_103_++; + } + i_102_++; + } + if (!this.aBoolean3109 && i_66_ == 0) Component79.method2643(i_71_, i_73_, class277.anInt3559, 8 * (class277.anInt3558), class277.anInt3574); + if (i_76_ != 12 && (class277.anInt3563 != -1) && class277.aBoolean3566) bool = true; + } else if (bool_94_) i_102_ += (NsnDefinition.anIntArray9249[i_76_]); + else if (!bool_75_) i_102_ += NativeLibLoader.anIntArray4152[i_76_]; + else i_102_ += Component377.anIntArray860[i_76_]; + if (class22 != null) { + if (i_82_ == 0) i_82_ = i_79_; + if (i_81_ == 0) i_81_ = i_79_; + if (i_80_ == 0) i_80_ = i_79_; + Component231 class22_133_ = aClass183_3120.method1380(true, -1 + i_79_); + Component231 class22_134_ = aClass183_3120.method1380(true, i_80_ - 1); + Component231 class22_135_ = aClass183_3120.method1380(true, i_81_ + -1); + Component231 class22_136_ = aClass183_3120.method1380(true, -1 + i_82_); + for (int i_137_ = 0; (i_98_ > i_137_); i_137_++) { + boolean bool_138_ = false; + int i_139_; + if (!bools[-i_77_ & 0x3] || i_102_ != is_95_[0]) { + if (!bools[2 + -i_77_ & 0x3] || i_102_ != is_95_[2]) { + if (bools[0x3 & -i_77_ + 1] && (is_95_[1] == i_102_)) { + Node.anIntArray4288[0] = is_96_[i_102_]; + Node.anIntArray4288[1] = 3; + Node.anIntArray4288[2] = is_99_[i_102_]; + Node.anIntArray4288[3] = 3; + Node.anIntArray4288[4] = is_97_[i_102_]; + Node.anIntArray4288[5] = is_99_[i_102_]; + i_139_ = 6; + } else if ((bools[-i_77_ + 3 & 0x3]) && (i_102_ == is_95_[3])) { + Node.anIntArray4288[0] = is_96_[i_102_]; + Node.anIntArray4288[1] = 7; + Node.anIntArray4288[2] = is_99_[i_102_]; + Node.anIntArray4288[3] = 7; + Node.anIntArray4288[4] = is_97_[i_102_]; + Node.anIntArray4288[5] = is_99_[i_102_]; + i_139_ = 6; + } else { + Node.anIntArray4288[0] = is_96_[i_102_]; + Node.anIntArray4288[1] = is_97_[i_102_]; + i_139_ = 3; + Node.anIntArray4288[2] = is_99_[i_102_]; + } + } else { + Node.anIntArray4288[0] = is_96_[i_102_]; + Node.anIntArray4288[1] = 5; + Node.anIntArray4288[2] = is_99_[i_102_]; + Node.anIntArray4288[3] = 5; + Node.anIntArray4288[4] = is_97_[i_102_]; + i_139_ = 6; + Node.anIntArray4288[5] = is_99_[i_102_]; + } + } else { + Node.anIntArray4288[0] = is_96_[i_102_]; + Node.anIntArray4288[1] = 1; + Node.anIntArray4288[2] = is_99_[i_102_]; + Node.anIntArray4288[3] = 1; + Node.anIntArray4288[4] = is_97_[i_102_]; + i_139_ = 6; + Node.anIntArray4288[5] = is_99_[i_102_]; + } + i_102_++; + for (int i_140_ = 0; (i_140_ < i_139_); i_140_++) { + int i_141_ = (Node.anIntArray4288[i_140_]); + int i_142_ = -(2 * i_77_) + i_141_ & 0x7; + int i_143_ = anIntArray3124[i_141_]; + int i_144_ = anIntArray3128[i_141_]; + int i_145_; + int i_146_; + if (i_77_ == 1) { + i_146_ = i_144_; + i_145_ = -i_143_ + 512; + } else if (i_77_ == 2) { + i_145_ = 512 + -i_144_; + i_146_ = 512 + -i_143_; + } else if (i_77_ == 3) { + i_145_ = i_143_; + i_146_ = 512 + -i_144_; + } else { + i_145_ = i_144_; + i_146_ = i_143_; + } + is_106_[i_103_] = i_146_; + is_107_[i_103_] = i_145_; + if (is_111_ != null && (Component214.aBooleanArrayArray2133[i_76_][i_141_])) { + int i_147_ = (i_146_ + (i_71_ << 9)); + int i_148_ = ((i_73_ << 9) - -i_145_); + is_111_[i_103_] = ((var_s.method3986(i_147_, i_148_, (byte) -95)) - (var_s_64_.method3986(i_147_, i_148_, (byte) 69))); + } + if (is_112_ != null) { + if (var_s == null || (Component214.aBooleanArrayArray2133[i_76_][i_141_])) { + if (var_s_65_ != null && !(HashNodeSub1.aBooleanArrayArray9495[i_76_][i_141_])) { + int i_149_ = ((i_71_ << 9) - -i_146_); + int i_150_ = (i_145_ + (i_73_ << 9)); + is_112_[i_103_] = ((var_s_65_.method3986(i_149_, i_150_, (byte) 92)) + -(var_s_64_.method3986(i_149_, i_150_, (byte) 127))); + } + } else { + int i_151_ = ((i_71_ << 9) + i_146_); + int i_152_ = (i_145_ + (i_73_ << 9)); + is_112_[i_103_] = ((var_s_64_.method3986(i_151_, i_152_, (byte) -102)) - (var_s.method3986(i_151_, i_152_, (byte) 106))); + } + } + if (i_141_ < 8 && (Component314.anIntArray3873[i_142_]) >= 0) { + if (is_105_ != null) is_105_[i_103_] = (DefinitionSub38.anIntArray9480[i_142_]); + is_110_[i_103_] = (NodederUtil.anIntArray6631[i_142_]); + is_109_[i_103_] = (DisplayModeManagerContainer369.anIntArray2899[i_142_]); + is_108_[i_103_] = (ColorTagNode.anIntArray6775[i_142_]); + } else { + if (!bool_75_ || !(Component214.aBooleanArrayArray2133[i_76_][i_141_])) { + if ((i_146_ == 0) && i_145_ == 0) { + is_108_[i_103_] = is[i_71_][i_73_]; + is_109_[i_103_] = (class22_133_.anInt331); + is_110_[i_103_] = (class22_133_.anInt336); + } else if (i_146_ != 0 || (i_145_ != 512)) { + if (i_146_ == 512 && i_145_ == 512) { + is_108_[i_103_] = (is[i_72_][i_74_]); + is_109_[i_103_] = (class22_135_.anInt331); + is_110_[i_103_] = (class22_135_.anInt336); + } else if ((i_146_ != 512) || (i_145_ != 0)) { + if (i_146_ >= 256) { + if (i_145_ >= 256) { + is_109_[i_103_] = (class22_135_.anInt331); + is_110_[i_103_] = (class22_135_.anInt336); + } else { + is_109_[i_103_] = (class22_136_.anInt331); + is_110_[i_103_] = (class22_136_.anInt336); + } + } else if (i_145_ < 256) { + is_109_[i_103_] = (class22_133_.anInt331); + is_110_[i_103_] = (class22_133_.anInt336); + } else { + is_109_[i_103_] = (class22_134_.anInt331); + is_110_[i_103_] = (class22_134_.anInt336); + } + int i_153_ = (NativeLibLoader.mixHsl((is[i_71_][i_73_]), (is[i_72_][i_73_]), 1, (i_146_ << 7 >> 9))); + int i_154_ = (NativeLibLoader.mixHsl((is[i_71_][i_74_]), (is[i_72_][i_74_]), 1, (i_146_ << 7 >> 9))); + is_108_[i_103_] = (NativeLibLoader.mixHsl(i_153_, i_154_, i + 26834, (i_145_ << 7 >> 9))); + } else { + is_108_[i_103_] = (is[i_72_][i_73_]); + is_109_[i_103_] = (class22_136_.anInt331); + is_110_[i_103_] = (class22_136_.anInt336); + } + } else { + is_108_[i_103_] = is[i_71_][i_74_]; + is_109_[i_103_] = (class22_134_.anInt331); + is_110_[i_103_] = (class22_134_.anInt336); + } + } else { + is_109_[i_103_] = i_114_; + is_110_[i_103_] = i_115_; + is_108_[i_103_] = i_113_; + } + if (is_105_ != null) is_105_[i_103_] = is_108_[i_103_]; + } + i_103_++; + } + } + if (i_76_ != 0 && class22.aBoolean342) bool = true; + } + int i_155_ = var_s_64_.method3982((byte) -86, i_73_, i_71_); + int i_156_ = var_s_64_.method3982((byte) -86, i_73_, i_72_); + int i_157_ = var_s_64_.method3982((byte) -86, i_74_, i_72_); + int i_158_ = var_s_64_.method3982((byte) -86, i_74_, i_71_); + boolean bool_159_ = NpcComposition.method802(i_73_, i_71_, true); + if (bool_159_ && i_66_ > 1 || (!bool_159_ && i_66_ > 0)) { + boolean bool_160_ = true; + if (class22 != null && !class22.aBoolean334) bool_160_ = false; + else if (i_79_ == 0 && i_76_ != 0) bool_160_ = false; + else if (i_78_ > 0 && class277_83_ != null && !(class277_83_.aBoolean3561)) bool_160_ = false; + if (bool_160_ && (i_156_ == i_155_) && i_157_ == i_155_ && i_155_ == i_158_) this.aByteArrayArrayArray3108[i_66_][i_71_][i_73_] = (byte) (Component224.bitwiseOr((this.aByteArrayArrayArray3108[i_66_][i_71_][i_73_]), 4)); + } + int i_161_ = 0; + int i_162_ = 0; + int i_163_ = 0; + if (this.aBoolean3109) { + i_161_ = WaterShaderSub8.method3547(i_71_, i_73_); + i_162_ = Component203.method2483(i_71_, i_73_); + i_163_ = HelveticaFont.method1457(i_71_, i_73_); + } + var_s_64_.U(i_71_, i_73_, is_106_, is_111_, is_107_, is_112_, is_108_, is_105_, is_109_, is_110_, i_161_, i_162_, i_163_, bool); + Component316.method1394(i_66_, i_71_, i_73_); + } + } + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("sr.B(" + (var_s != null ? "{...}" : "null") + ',' + (var_s_64_ != null ? "{...}" : "null") + ',' + i + ',' + (var_s_65_ != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_66_ + ')')); + } + } + + /** Lookup {@link BuildType} by {@link BuildType#id}. */ + static final BuildType getById(int i, int i_164_) { + anInt3116++; + BuildType[] class231s = Component339.values(-126); + if (i >= -111) return null; + for (int i_165_ = 0; i_165_ < class231s.length; i_165_++) { + BuildType class231 = class231s[i_165_]; + if (class231.id == i_164_) return class231; + } + return null; + } + + final void method1678(int i, int i_166_, int i_167_, int i_168_, int i_169_, int i_170_) { + if (i_168_ >= -80) this.aByteArrayArrayArray3108 = null; + for (int i_171_ = i_167_; i_166_ + i_167_ > i_171_; i_171_++) { + for (int i_172_ = i; i_169_ + i > i_172_; i_172_++) { + if (i_172_ >= 0 && i_172_ < this.anInt3117 && i_171_ >= 0 && this.anInt3114 > i_171_) this.anIntArrayArrayArray3122[i_170_][i_172_][i_171_] = (i_170_ <= 0 ? 0 : -960 + (this.anIntArrayArrayArray3122[-1 + i_170_][i_172_][i_171_])); + } + } + anInt3105++; + if (i > 0 && this.anInt3117 > i) { + for (int i_173_ = i_167_ - -1; i_173_ < i_167_ - -i_166_; i_173_++) { + if (i_173_ >= 0 && this.anInt3114 > i_173_) this.anIntArrayArrayArray3122[i_170_][i][i_173_] = (this.anIntArrayArrayArray3122[i_170_][i - 1][i_173_]); + } + } + if (i_167_ > 0 && i_167_ < this.anInt3114) { + for (int i_174_ = 1 + i; i_174_ < i_169_ + i; i_174_++) { + if (i_174_ >= 0 && i_174_ < this.anInt3117) this.anIntArrayArrayArray3122[i_170_][i_174_][i_167_] = (this.anIntArrayArrayArray3122[i_170_][i_174_][-1 + i_167_]); + } + } + if (i >= 0 && i_167_ >= 0 && this.anInt3117 > i && i_167_ < this.anInt3114) { + if (i_170_ != 0) { + if (i > 0 && ((this.anIntArrayArrayArray3122[i_170_ - 1][-1 + i][i_167_]) != (this.anIntArrayArrayArray3122[i_170_][i - 1][i_167_]))) this.anIntArrayArrayArray3122[i_170_][i][i_167_] = (this.anIntArrayArrayArray3122[i_170_][i - 1][i_167_]); + else if (i_167_ <= 0 || ((this.anIntArrayArrayArray3122[i_170_][i][-1 + i_167_]) == (this.anIntArrayArrayArray3122[-1 + i_170_][i][-1 + i_167_]))) { + if (i > 0 && i_167_ > 0 && ((this.anIntArrayArrayArray3122[i_170_ + -1][i + -1][-1 + i_167_]) != (this.anIntArrayArrayArray3122[i_170_][i + -1][-1 + i_167_]))) this.anIntArrayArrayArray3122[i_170_][i][i_167_] = (this.anIntArrayArrayArray3122[i_170_][i + -1][-1 + i_167_]); + } else this.anIntArrayArrayArray3122[i_170_][i][i_167_] = (this.anIntArrayArrayArray3122[i_170_][i][i_167_ + -1]); + } else if (i <= 0 || (this.anIntArrayArrayArray3122[i_170_][-1 + i][i_167_]) == 0) { + if (i_167_ <= 0 || (this.anIntArrayArrayArray3122[i_170_][i][-1 + i_167_]) == 0) { + if (i > 0 && i_167_ > 0 && (this.anIntArrayArrayArray3122[i_170_][-1 + i][i_167_ - 1]) != 0) this.anIntArrayArrayArray3122[i_170_][i][i_167_] = (this.anIntArrayArrayArray3122[i_170_][i - 1][-1 + i_167_]); + } else this.anIntArrayArrayArray3122[i_170_][i][i_167_] = (this.anIntArrayArrayArray3122[i_170_][i][-1 + i_167_]); + } else this.anIntArrayArrayArray3122[i_170_][i][i_167_] = (this.anIntArrayArrayArray3122[i_170_][-1 + i][i_167_]); + } + } + + final void method1679(int i, int i_175_, int[][] is) { + anInt3121++; + int[][] is_176_ = this.anIntArrayArrayArray3122[i]; + for (int i_177_ = i_175_; (i_177_ < this.anInt3117 - -1); i_177_++) { + for (int i_178_ = 0; (i_178_ < this.anInt3114 + 1); i_178_++) + is_176_[i_177_][i_178_] += is[i_177_][i_178_]; + } + } + + final void method1680(s var_s, byte i, s var_s_179_, GraphicsToolkit var_ha) { + try { + anInt3131++; + int[][] is = (new int[this.anInt3117] + [this.anInt3114]); + if (i <= -122) { + if (ClientSystemInfo.anIntArray6878 == null || (this.anInt3114 != ClientSystemInfo.anIntArray6878.length)) { + FriendLoginMessage.anIntArray8785 = new int[this.anInt3114]; + DefinitionSub6.anIntArray9135 = new int[this.anInt3114]; + DisplayModeManagerContainer232.anIntArray4692 = new int[this.anInt3114]; + ClientSystemInfo.anIntArray6878 = new int[this.anInt3114]; + NodeSub8.anIntArray6655 = new int[this.anInt3114]; + } + for (int i_180_ = 0; this.anInt3130 > i_180_; i_180_++) { + for (int i_181_ = 0; this.anInt3114 > i_181_; i_181_++) { + ClientSystemInfo.anIntArray6878[i_181_] = 0; + DefinitionSub6.anIntArray9135[i_181_] = 0; + NodeSub8.anIntArray6655[i_181_] = 0; + DisplayModeManagerContainer232.anIntArray4692[i_181_] = 0; + FriendLoginMessage.anIntArray8785[i_181_] = 0; + } + for (int i_182_ = -5; i_182_ < this.anInt3117; i_182_++) { + for (int i_183_ = 0; (i_183_ < this.anInt3114); i_183_++) { + int i_184_ = i_182_ - -5; + if (this.anInt3117 > i_184_) { + int i_185_ = ((aByteArrayArrayArray3113[i_180_][i_184_][i_183_]) & 0xff); + if (i_185_ > 0) { + Component231 class22 = aClass183_3120.method1380(true, -1 + i_185_); + ClientSystemInfo.anIntArray6878[i_183_] += class22.anInt341; + DefinitionSub6.anIntArray9135[i_183_] += class22.anInt332; + NodeSub8.anIntArray6655[i_183_] += class22.anInt335; + DisplayModeManagerContainer232.anIntArray4692[i_183_] += class22.anInt343; + FriendLoginMessage.anIntArray8785[i_183_]++; + } + } + int i_186_ = i_182_ - 5; + if (i_186_ >= 0) { + int i_187_ = 0xff & (aByteArrayArrayArray3113[i_180_][i_186_][i_183_]); + if (i_187_ > 0) { + Component231 class22 = aClass183_3120.method1380(true, -1 + i_187_); + ClientSystemInfo.anIntArray6878[i_183_] -= class22.anInt341; + DefinitionSub6.anIntArray9135[i_183_] -= class22.anInt332; + NodeSub8.anIntArray6655[i_183_] -= class22.anInt335; + DisplayModeManagerContainer232.anIntArray4692[i_183_] -= class22.anInt343; + FriendLoginMessage.anIntArray8785[i_183_]--; + } + } + } + if (i_182_ >= 0) { + int i_188_ = 0; + int i_189_ = 0; + int i_190_ = 0; + int i_191_ = 0; + int i_192_ = 0; + for (int i_193_ = -5; (this.anInt3114 > i_193_); i_193_++) { + int i_194_ = 5 + i_193_; + if (i_194_ < this.anInt3114) { + i_190_ += (NodeSub8.anIntArray6655[i_194_]); + i_189_ += (DefinitionSub6.anIntArray9135[i_194_]); + i_188_ += (ClientSystemInfo.anIntArray6878[i_194_]); + i_192_ += (FriendLoginMessage.anIntArray8785[i_194_]); + i_191_ += DisplayModeManagerContainer232.anIntArray4692[i_194_]; + } + int i_195_ = i_193_ + -5; + if (i_195_ >= 0) { + i_191_ -= DisplayModeManagerContainer232.anIntArray4692[i_195_]; + i_188_ -= (ClientSystemInfo.anIntArray6878[i_195_]); + i_190_ -= (NodeSub8.anIntArray6655[i_195_]); + i_192_ -= (FriendLoginMessage.anIntArray8785[i_195_]); + i_189_ -= (DefinitionSub6.anIntArray9135[i_195_]); + } + if (i_193_ >= 0 && i_191_ > 0 && i_192_ > 0) is[i_182_][i_193_] = VideoAdDisplay.method1890(i_190_ / i_192_, (byte) 66, i_189_ / i_192_, (256 * i_188_ / i_191_)); + } + } + } + if (!IOException_Sub1.aBoolean86) method1683(var_ha, i_180_ != 0 ? null : var_s, i_180_, (byte) 127, is, ShaderSub1.aSArray5191[i_180_], i_180_ != 0 ? null : var_s_179_); + else method1676(i_180_ != 0 ? null : var_s, ShaderSub1.aSArray5191[i_180_], -26833, i_180_ == 0 ? var_s_179_ : null, is, var_ha, i_180_); + aByteArrayArrayArray3113[i_180_] = null; + aByteArrayArrayArray3123[i_180_] = null; + aByteArrayArrayArray3126[i_180_] = null; + aByteArrayArrayArray3129[i_180_] = null; + } + if (!this.aBoolean3109) { + if (ReferenceTable.anInt3720 != 0) GlTexture.method1968(); + if (DisplayModeManagerContainer51.aBoolean2492) Component382.method1320(); + } + for (int i_196_ = 0; (this.anInt3130 > i_196_); i_196_++) + ShaderSub1.aSArray5191[i_196_].YA(); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("sr.L(" + (var_s != null ? "{...}" : "null") + ',' + i + ',' + (var_s_179_ != null ? "{...}" : "null") + ',' + (var_ha != null ? "{...}" : "null") + ')')); + } + } + + final void method1681(Buffer class348_sub49, int i, TeleportHandler[] class361s, int i_197_, int i_198_, int i_199_, byte i_200_) { + try { + anInt3107++; + if (!this.aBoolean3109) { + for (int i_201_ = 0; i_201_ < 4; i_201_++) { + TeleportHandler class361 = class361s[i_201_]; + for (int i_202_ = 0; i_202_ < 64; i_202_++) { + for (int i_203_ = 0; i_203_ < 64; i_203_++) { + int i_204_ = i_202_ + i; + int i_205_ = i_199_ + i_203_; + if (i_204_ >= 0 && (i_204_ < this.anInt3117) && i_205_ >= 0 && (this.anInt3114 > i_205_)) class361.method3501((byte) 107, i_205_, i_204_); + } + } + } + } + int i_206_ = i + i_198_; + int i_207_ = 65 % ((i_200_ - 34) / 42); + int i_208_ = i_197_ - -i_199_; + for (int i_209_ = 0; this.anInt3130 > i_209_; i_209_++) { + for (int i_210_ = 0; i_210_ < 64; i_210_++) { + for (int i_211_ = 0; i_211_ < 64; i_211_++) + method1682(false, 0, i_211_ + i_199_, 0, class348_sub49, 0, 1115212770, i + i_210_, i_206_ + i_210_, i_208_ - -i_211_, i_209_); + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("sr.I(" + (class348_sub49 != null ? "{...}" : "null") + ',' + i + ',' + (class361s != null ? "{...}" : "null") + ',' + i_197_ + ',' + i_198_ + ',' + i_199_ + ',' + i_200_ + ')')); + } + } + + private final void method1682(boolean bool, int i, int i_212_, int i_213_, Buffer class348_sub49, int i_214_, int i_215_, int i_216_, int i_217_, int i_218_, int i_219_) { + anInt3125++; + if (i_213_ != 1) { + if (i_213_ == 2) { + i = 1; + i_214_ = 1; + } else if (i_213_ == 3) i_214_ = 1; + } else i = 1; + if (i_216_ < 0 || i_216_ >= this.anInt3117 || i_212_ < 0 || this.anInt3114 <= i_212_) { + for (; ; ) { + int i_220_ = class348_sub49.readUnsignedByte(255); + if (i_220_ == 0) break; + if (i_220_ == 1) { + class348_sub49.readUnsignedByte(i_215_ ^ 0x4278cb1d); + break; + } + if (i_220_ <= 49) class348_sub49.readUnsignedByte(255); + } + } else { + if (!this.aBoolean3109 && !bool) ObjectDeserializer.aByteArrayArrayArray6962[i_219_][i_216_][i_212_] = (byte) 0; + for (; ; ) { + int i_221_ = class348_sub49.readUnsignedByte(i_215_ ^ 0x4278cb1d); + if (i_221_ == 0) { + if (this.aBoolean3109) this.anIntArrayArrayArray3122[0][i_214_ + i_216_][i + i_212_] = 0; + else if (i_219_ != 0) this.anIntArrayArrayArray3122[i_219_][i_214_ + i_216_][i + i_212_] = -960 + (this.anIntArrayArrayArray3122[-1 + i_219_][i_214_ + i_216_][i + i_212_]); + else this.anIntArrayArrayArray3122[0][i_214_ + i_216_][i_212_ - -i] = (8 * -(DisplayModeManagerContainer104.method2462(-113, i_217_ + 932731, i_218_ + 556238)) << 2); + break; + } + if (i_221_ == 1) { + int i_222_ = class348_sub49.readUnsignedByte(255); + if (this.aBoolean3109) this.anIntArrayArrayArray3122[0][i_216_ - -i_214_][i_212_ + i] = i_222_ * 8 << 2; + else { + if (i_222_ == 1) i_222_ = 0; + if (i_219_ != 0) this.anIntArrayArrayArray3122[i_219_][i_214_ + i_216_][i + i_212_] = (this.anIntArrayArrayArray3122[-1 + i_219_][i_214_ + i_216_][i_212_ - -i]) - (i_222_ * 8 << 2); + else this.anIntArrayArrayArray3122[0][i_216_ - -i_214_][i_212_ - -i] = 8 * -i_222_ << 2; + } + break; + } + if (i_221_ <= 49) { + if (bool) class348_sub49.readUnsignedByte(255); + else { + aByteArrayArrayArray3123[i_219_][i_216_][i_212_] = class348_sub49.readByte(i_215_ + -1115212859); + aByteArrayArrayArray3126[i_219_][i_216_][i_212_] = (byte) ((i_221_ + -2) / 4); + aByteArrayArrayArray3129[i_219_][i_216_][i_212_] = (byte) GpsOverlay.bitwiseAnd(3, -2 + i_221_ + i_213_); + } + } else if (i_221_ <= 81) { + if (!this.aBoolean3109 && !bool) ObjectDeserializer.aByteArrayArrayArray6962[i_219_][i_216_][i_212_] = (byte) (i_221_ - 49); + } else if (!bool) aByteArrayArrayArray3113[i_219_][i_216_][i_212_] = (byte) (-81 + i_221_); + } + } + if (i_215_ != 1115212770) this.aByteArrayArrayArray3104 = null; + } + + private final void method1683(GraphicsToolkit var_ha, s var_s, int i, byte i_223_, int[][] is, s var_s_224_, s var_s_225_) { + do { + try { + anInt3111++; + for (int i_226_ = 0; i_226_ < this.anInt3117; i_226_++) { + for (int i_227_ = 0; this.anInt3114 > i_227_; i_227_++) { + if (OutputStream_Sub2.anInt101 == -1 || Component255.method536(i_227_, false, i_226_, OutputStream_Sub2.anInt101, i)) { + byte i_228_ = aByteArrayArrayArray3126[i][i_226_][i_227_]; + byte i_229_ = aByteArrayArrayArray3129[i][i_226_][i_227_]; + int i_230_ = (aByteArrayArrayArray3123[i][i_226_][i_227_] & 0xff); + int i_231_ = 0xff & (aByteArrayArrayArray3113[i][i_226_][i_227_]); + Component11 class277 = (i_230_ != 0 ? aClass268_3119.method2034(-1 + i_230_, false) : null); + if (i_228_ == 0 && class277 == null) i_228_ = (byte) 12; + Component231 class22 = (i_231_ == 0 ? null : aClass183_3120.method1380(true, i_231_ - 1)); + int i_232_ = 0; + int i_233_ = 0; + if (i_228_ != 0) { + i_233_ = (class277 == null ? 0 : (NsnDefinition.anIntArray9249[i_228_])); + i_232_ = (class22 != null ? CookieBuilder.anIntArray619[i_228_] : 0); + } else if (class277 != null) i_233_ = (NsnDefinition.anIntArray9249[i_228_]); + else if (class22 != null) i_232_ = (NsnDefinition.anIntArray9249[i_228_]); + int i_234_ = i_233_ + i_232_; + int i_235_ = 0; + if (i_234_ != 0) { + int i_236_ = (class277 != null ? class277.anInt3575 : -1); + int i_237_ = (class22 != null ? class22.anInt331 : -1); + int[] is_238_ = new int[i_234_]; + int[] is_239_ = new int[i_234_]; + int[] is_240_ = new int[i_234_]; + int[] is_241_ = new int[i_234_]; + boolean bool = false; + boolean bool_242_ = false; + if (class277 == null || (class277.anInt3563 == -1 && (class277.anInt3569 == -1) && i_236_ == -1)) { + bool_242_ = true; + for (int i_243_ = 0; i_243_ < i_233_; i_243_++) { + is_238_[i_235_] = -1; + i_235_++; + } + } else { + for (int i_244_ = 0; (i_233_ > i_244_); i_244_++) { + is_240_[i_235_] = i_236_; + is_241_[i_235_] = class277.anInt3570; + if (class277.anInt3563 != -1) is_238_[i_235_] = (class277.anInt3563); + else is_238_[i_235_] = -1; + if (class277.anInt3569 == -1) is_239_[i_235_] = -1; + else { + bool = true; + is_239_[i_235_] = (class277.anInt3569); + } + i_235_++; + } + if (!this.aBoolean3109 && i == 0) Component79.method2643(i_226_, i_227_, class277.anInt3559, (class277.anInt3558 * 8), class277.anInt3574); + } + if (!bool) is_239_ = null; + if (class22 == null) { + if (bool_242_) continue; + for (int i_245_ = 0; i_245_ < i_232_; i_245_++) { + is_238_[i_235_] = -1; + i_235_++; + } + } else { + for (int i_246_ = 0; (i_232_ > i_246_); i_246_++) { + is_240_[i_235_] = i_237_; + is_241_[i_235_] = class22.anInt336; + is_238_[i_235_] = is[i_226_][i_227_]; + if (is_239_ != null) is_239_[i_235_] = -1; + i_235_++; + } + } + int i_247_ = anIntArray3124.length; + int[] is_248_ = new int[i_247_]; + int[] is_249_ = new int[i_247_]; + int[] is_250_ = var_s == null ? null : new int[i_247_]; + int[] is_251_ = (var_s != null || var_s_225_ != null ? new int[i_247_] : null); + for (int i_252_ = 0; i_247_ > i_252_; i_252_++) { + int i_253_ = anIntArray3124[i_252_]; + int i_254_ = anIntArray3128[i_252_]; + if (i_229_ == 0) { + is_248_[i_252_] = i_253_; + is_249_[i_252_] = i_254_; + } else if (i_229_ == 1) { + is_248_[i_252_] = i_254_; + int i_256_ = i_253_; + is_249_[i_252_] = 512 - i_256_; + } else if (i_229_ == 2) { + is_248_[i_252_] = -i_253_ + 512; + is_249_[i_252_] = 512 - i_254_; + } else if (i_229_ == 3) { + is_248_[i_252_] = 512 - i_254_; + int i_255_ = i_253_; + is_249_[i_252_] = i_255_; + } + if (is_250_ != null && (Component214.aBooleanArrayArray2133[i_228_][i_252_])) { + int i_257_ = (is_248_[i_252_] + (i_226_ << 9)); + int i_258_ = ((i_227_ << 9) - -is_249_[i_252_]); + is_250_[i_252_] = (var_s.method3986(i_257_, i_258_, (byte) -101) + -(var_s_224_.method3986(i_257_, i_258_, (byte) -12))); + } + if (is_251_ != null) { + if (var_s != null && !(Component214.aBooleanArrayArray2133[i_228_][i_252_])) { + int i_259_ = (is_248_[i_252_] + (i_226_ << 9)); + int i_260_ = ((i_227_ << 9) + is_249_[i_252_]); + is_251_[i_252_] = ((var_s_224_.method3986(i_259_, i_260_, (byte) 87)) - (var_s.method3986(i_259_, i_260_, (byte) -90))); + } else if (var_s_225_ != null && !(HashNodeSub1.aBooleanArrayArray9495[i_228_][i_252_])) { + int i_261_ = (is_248_[i_252_] + (i_226_ << 9)); + int i_262_ = (is_249_[i_252_] + (i_227_ << 9)); + is_251_[i_252_] = ((var_s_225_.method3986(i_261_, i_262_, (byte) -128)) + -(var_s_224_.method3986(i_261_, i_262_, (byte) -1))); + } + } + } + int i_263_ = var_s_224_.method3982((byte) -86, i_227_, i_226_); + int i_264_ = var_s_224_.method3982((byte) -86, i_227_, 1 + i_226_); + int i_265_ = var_s_224_.method3982((byte) -86, 1 + i_227_, i_226_ - -1); + int i_266_ = var_s_224_.method3982((byte) -86, i_227_ + 1, i_226_); + boolean bool_267_ = NpcComposition.method802(i_227_, i_226_, true); + if (bool_267_ && i > 1 || !bool_267_ && i > 0) { + boolean bool_268_ = true; + if (class22 != null && !class22.aBoolean334) bool_268_ = false; + else if (i_231_ == 0 && i_228_ != 0) bool_268_ = false; + else if (i_230_ > 0 && class277 != null && !(class277.aBoolean3561)) bool_268_ = false; + if (bool_268_ && (i_264_ == i_263_) && (i_263_ == i_265_) && (i_263_ == i_266_)) this.aByteArrayArrayArray3108[i][i_226_][i_227_] = (byte) (Component224.bitwiseOr((this.aByteArrayArrayArray3108[i][i_226_][i_227_]), 4)); + } + int i_269_ = 0; + int i_270_ = 0; + int i_271_ = 0; + if (this.aBoolean3109) { + i_269_ = WaterShaderSub8.method3547(i_226_, i_227_); + i_270_ = Component203.method2483(i_226_, i_227_); + i_271_ = HelveticaFont.method1457(i_226_, i_227_); + } + var_s_224_.method3978(i_226_, i_227_, is_248_, is_250_, is_249_, is_251_, RunescapeInfo.anIntArrayArray174[i_228_], Component342.anIntArrayArray1190[i_228_], (NodeSub12.anIntArrayArray6740[i_228_]), is_238_, is_239_, is_240_, is_241_, i_269_, i_270_, i_271_, false); + Component316.method1394(i, i_226_, i_227_); + } + } + } + } + if (i_223_ >= 115) break; + this.anInt3117 = 57; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("sr.H(" + (var_ha != null ? "{...}" : "null") + ',' + (var_s != null ? "{...}" : "null") + ',' + i + ',' + i_223_ + ',' + (is != null ? "{...}" : "null") + ',' + (var_s_224_ != null ? "{...}" : "null") + ',' + (var_s_225_ != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + final void method1684(int i, int i_272_, int i_273_, Buffer class348_sub49, int i_274_, int i_275_, int i_276_, TeleportHandler[] class361s, int i_277_, int i_278_) { + try { + if (i_273_ == -1) { + anInt3115++; + int i_279_ = 8 * (i_276_ & 0x7); + int i_280_ = 8 * (0x7 & i_274_); + if (!this.aBoolean3109) { + TeleportHandler class361 = class361s[i_272_]; + for (int i_281_ = 0; i_281_ < 8; i_281_++) { + for (int i_282_ = 0; i_282_ < 8; i_282_++) { + int i_283_ = i + DisplayModeManagerContainer61.method2220(0x7 & i_282_, i_277_, 0x7 & i_281_, (byte) 71); + int i_284_ = (Component344.method837(i_281_ & 0x7, true, 0x7 & i_282_, i_277_) + i_275_); + if (i_283_ > 0 && i_283_ < -1 + this.anInt3117 && i_284_ > 0 && this.anInt3114 + -1 > i_284_) class361.method3501((byte) 124, i_284_, i_283_); + } + } + } + int i_285_ = (i_276_ & ~0x7) << 3; + int i_286_ = (~0x7 & i_274_) << 3; + int i_287_ = 0; + int i_288_ = 0; + if (i_277_ != 1) { + if (i_277_ == 2) { + i_288_ = 1; + i_287_ = 1; + } else if (i_277_ == 3) i_287_ = 1; + } else i_288_ = 1; + for (int i_289_ = 0; this.anInt3130 > i_289_; i_289_++) { + for (int i_290_ = 0; i_290_ < 64; i_290_++) { + for (int i_291_ = 0; i_291_ < 64; i_291_++) { + if (i_278_ != i_289_ || i_279_ > i_290_ || i_290_ > i_279_ - -8 || i_280_ > i_291_ || 8 + i_280_ < i_291_) method1682(false, 0, -1, 0, class348_sub49, 0, 1115212770, -1, 0, 0, 0); + else { + int i_292_; + int i_293_; + if (i_290_ == i_279_ + 8 || i_280_ - -8 == i_291_) { + if (i_277_ == 0) { + i_292_ = -i_280_ + (i_291_ + i_275_); + i_293_ = -i_279_ - -i_290_ + i; + } else if (i_277_ == 1) { + i_292_ = i_275_ + 8 + (i_279_ + -i_290_); + i_293_ = i_291_ - (i_280_ - i); + } else if (i_277_ == 2) { + i_292_ = i_275_ + 8 + (-i_291_ + i_280_); + i_293_ = i_279_ - i_290_ + i + 8; + } else { + i_293_ = i_280_ - (i_291_ - i) - -8; + i_292_ = i_275_ - (i_279_ + -i_290_); + } + method1682(true, 0, i_292_, 0, class348_sub49, 0, 1115212770, i_293_, i_290_ + i_285_, i_291_ + i_286_, i_272_); + } else { + i_293_ = DisplayModeManagerContainer61.method2220(0x7 & i_291_, i_277_, i_290_ & 0x7, (byte) 71) + i; + i_292_ = (i_275_ + Component344.method837(0x7 & i_290_, true, 0x7 & i_291_, i_277_)); + method1682(false, i_288_, i_292_, i_277_, class348_sub49, i_287_, 1115212770, i_293_, i_285_ - -i_290_, i_291_ + i_286_, i_272_); + } + if (i_290_ == 63 || i_291_ == 63) { + int i_294_ = 1; + if (i_290_ == 63 && i_291_ == 63) i_294_ = 3; + for (int i_295_ = 0; (i_294_ > i_295_); i_295_++) { + int i_296_ = i_290_; + int i_297_ = i_291_; + if (i_295_ == 0) { + i_297_ = (i_291_ == 63 ? 64 : i_291_); + i_296_ = i_290_ == 63 ? 64 : i_290_; + } else if (i_295_ == 1) i_296_ = 64; + else if (i_295_ == 2) i_297_ = 64; + int i_298_; + int i_299_; + if (i_277_ == 0) { + i_298_ = -i_280_ - -i_297_ + i_275_; + i_299_ = i_296_ + -i_279_ + i; + } else if (i_277_ == 1) { + i_298_ = i_279_ - (i_296_ - i_275_) - -8; + i_299_ = i + i_297_ - i_280_; + } else if (i_277_ == 2) { + i_298_ = (8 + i_275_ + -i_297_ + i_280_); + i_299_ = i_279_ - (i_296_ - i - 8); + } else { + i_299_ = -i_297_ - -i_280_ + 8 + i; + i_298_ = -i_279_ - -i_296_ + i_275_; + } + if (i_299_ >= 0 && (i_299_ < this.anInt3117) && i_298_ >= 0 && (this.anInt3114 > i_298_)) this.anIntArrayArrayArray3122[i_272_][i_299_][i_298_] = (this.anIntArrayArrayArray3122[i_272_][i_287_ + i_293_][i_288_ + i_292_]); + } + } + } + } + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("sr.E(" + i + ',' + i_272_ + ',' + i_273_ + ',' + (class348_sub49 != null ? "{...}" : "null") + ',' + i_274_ + ',' + i_275_ + ',' + i_276_ + ',' + (class361s != null ? "{...}" : "null") + ',' + i_277_ + ',' + i_278_ + ')')); + } + } + + final void method1685(GraphicsToolkit var_ha, int[][][] is, int i, TeleportHandler[] class361s) { + try { + anInt3118++; + if (i != 21407) method1680(null, (byte) -116, null, null); + if (!this.aBoolean3109) { + for (int i_300_ = 0; i_300_ < 4; i_300_++) { + for (int i_301_ = 0; (i_301_ < this.anInt3117); i_301_++) { + for (int i_302_ = 0; this.anInt3114 > i_302_; i_302_++) { + if ((0x1 & (ObjectDeserializer.aByteArrayArrayArray6962[i_300_][i_301_][i_302_])) != 0) { + int i_303_ = i_300_; + if ((0x2 & (ObjectDeserializer.aByteArrayArrayArray6962[1][i_301_][i_302_])) != 0) i_303_--; + if (i_303_ >= 0) class361s[i_303_].method3507(i_302_, i_301_, (byte) -116); + } + } + } + } + } + for (int i_304_ = 0; this.anInt3130 > i_304_; i_304_++) { + int i_305_ = 0; + int i_306_ = 0; + if (!this.aBoolean3109) { + if (DisplayModeManagerContainer51.aBoolean2492) i_305_ |= 0x2; + if (Component27.aBoolean4972) i_306_ |= 0x8; + if (ReferenceTable.anInt3720 != 0) { + if (i_304_ == 0 | HuffmanDecoder.aBoolean3767) i_306_ |= 0x10; + i_305_ |= 0x1; + } + } + if (DisplayModeManagerContainer51.aBoolean2492) i_306_ |= 0x7; + if (!DisplayModeManagerContainer32.aBoolean845) i_306_ |= 0x20; + int[][] is_307_ = (is == null || is.length <= i_304_ ? this.anIntArrayArrayArray3122[i_304_] : is[i_304_]); + NodeSub45.method3313(i_304_, var_ha.method3648(this.anInt3117, this.anInt3114, (this.anIntArrayArrayArray3122[i_304_]), is_307_, 512, i_305_, i_306_)); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("sr.J(" + (var_ha != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ',' + i + ',' + (class361s != null ? "{...}" : "null") + ')')); + } + } + + static final void method1686(int i) { + int i_308_ = -110 / ((i - -74) / 44); + if (DefinitionSub29.anInt9372 > 1) Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub17_7263), 4); + else Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub17_7263), 2); + anInt3106++; + } + + static final DisplayModeManagerContainer57 method1687(DisplayModeManagerContainer57 class46, int i) { + if (i != 3) method1686(-21); + anInt3110++; + if (class46.anInt834 != -1) return BitmapFont.method2570(1512932720, class46.anInt834); + int i_309_ = class46.anInt830 >>> 16; + Component79 class333 = new Component79(Component15.aClass356_4915); + for (NodeSub41 class348_sub41 = (NodeSub41) class333.method2644((byte) 123); class348_sub41 != null; class348_sub41 = (NodeSub41) class333.method2646((byte) 117)) { + if (i_309_ == class348_sub41.anInt7050) return BitmapFont.method2570(1512932720, (int) (class348_sub41.key)); + } + return null; + } + + final void method1688(int i, int i_310_, int i_311_, int i_312_, int i_313_) { + if (i_312_ > 50) { + for (int i_314_ = 0; (this.anInt3130 > i_314_); i_314_++) + method1678(i_313_, i_310_, i, -124, i_311_, i_314_); + anInt3127++; + } + } + + DisplayModeManagerContainer87(int i, int i_315_, int i_316_, boolean bool, DisplayModeManagerContainer259 class268, Component191 class183) { + anIntArray3124 = new int[]{0, 256, 512, 512, 512, 256, 0, 0, 128, 256, 128, 384, 256}; + try { + this.aBoolean3109 = bool; + aClass268_3119 = class268; + aClass183_3120 = class183; + this.anInt3117 = i_315_; + this.anInt3130 = i; + this.anInt3114 = i_316_; + this.anIntArrayArrayArray3122 = (new int[this.anInt3130] + [this.anInt3117 + 1] + [1 + this.anInt3114]); + this.aByteArrayArrayArray3108 = (new byte[this.anInt3130] + [this.anInt3117 - -1] + [1 + this.anInt3114]); + aByteArrayArrayArray3113 = (new byte[this.anInt3130] + [this.anInt3117][this.anInt3114]); + aByteArrayArrayArray3129 = (new byte[this.anInt3130] + [this.anInt3117][this.anInt3114]); + aByteArrayArrayArray3126 = (new byte[this.anInt3130] + [this.anInt3117][this.anInt3114]); + aByteArrayArrayArray3123 = (new byte[this.anInt3130] + [this.anInt3117][this.anInt3114]); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("sr.(" + i + ',' + i_315_ + ',' + i_316_ + ',' + bool + ',' + (class268 != null ? "{...}" : "null") + ',' + (class183 != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/misc/DisplayModeManagerContainer88.java b/client/misc/DisplayModeManagerContainer88.java new file mode 100644 index 000000000..8c803bd3c --- /dev/null +++ b/client/misc/DisplayModeManagerContainer88.java @@ -0,0 +1,59 @@ +/* DisplayModeManagerContainer88 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer88 +/** + * RENAMED from `Class70` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt1203; + static int[] anIntArray1204; + static int anInt1205; + static int anInt1206; + static int[] anIntArray1207 = new int[16384]; + + public static void method725(int i) { + anIntArray1207 = null; + anIntArray1204 = null; + if (i != 16384) anIntArray1207 = null; + } + + static final void method726(int i) { + if (i <= 88) anIntArray1204 = null; + anInt1206++; + if (RSARequest.currentLoadingState != null) { + Component44.aClass311_897 = new ResourceLoader(); + Component44.aClass311_897.method2316(RSARequest.currentLoadingState, RSARequest.currentLoadingState.aClass274_1012.getLocalized(ObjectDeserializer.languageId, 544), RSARequest.currentLoadingState.maxProgress, Component69.aLong3660, false); + NodeSub32.aThread6946 = new Thread(Component44.aClass311_897, ""); + NodeSub32.aThread6946.start(); + } + } + + static final void method727(byte i, int i_0_, int i_1_, int i_2_) { + anInt1205++; + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i_2_, (byte) 105, 9); + class348_sub42_sub15.method3246(i + -25427); + class348_sub42_sub15.anInt9652 = i_1_; + class348_sub42_sub15.anInt9651 = i_0_; + if (i != -63) anIntArray1207 = null; + } + + public final String toString() { + anInt1203++; + throw new IllegalStateException(); + } + + public DisplayModeManagerContainer88() { + /* empty */ + } + + static { + anIntArray1204 = new int[16384]; + double d = 3.834951969714103E-4; + for (int i = 0; i < 16384; i++) { + anIntArray1207[i] = (int) (16384.0 * Math.sin(d * (double) i)); + anIntArray1204[i] = (int) (Math.cos(d * (double) i) * 16384.0); + } + } +} diff --git a/client/misc/DisplayModeManagerContainer89.java b/client/misc/DisplayModeManagerContainer89.java new file mode 100644 index 000000000..5b75755c2 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer89.java @@ -0,0 +1,171 @@ +/* DisplayModeManagerContainer89 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer89 +/** + * RENAMED from `Class5_Sub3` (JODE-obfuscated). + * Evidence: subclass of Component298 (hierarchy) + */ extends Component298 { + private Component24 aClass105_8366; + static int anInt8367; + static int anInt8368; + static int anInt8369; + static int anInt8370; + static int anInt8371; + static int anInt8372; + static int anInt8373; + static int anInt8374; + static int anInt8375; + static int anInt8376; + static int anInt8377; + + final void method178(int i, boolean bool, byte i_0_, int i_1_) { + if (i_0_ >= -6) method202(-4, null); + anInt8376++; + NodeSub8.toolkit.method3628(-2 + i, i_1_, 4 + this.aClass369_4635.anInt4971, this.aClass369_4635.anInt4963 + 2, (((Component381) this.aClass369_4635).anInt8580), 0); + NodeSub8.toolkit.method3628(i + -1, i_1_ + 1, this.aClass369_4635.anInt4971 + 2, this.aClass369_4635.anInt4963, 0, 0); + } + + static final NodeSub21 method199(int i) { + anInt8369++; + if (DisplayModeManagerContainer229.aClass262_1254 == null || r.aClass312_9716 == null) return null; + r.aClass312_9716.method2328(DisplayModeManagerContainer229.aClass262_1254, 75); + NodeSub21 class348_sub21 = (NodeSub21) r.aClass312_9716.method2327((byte) -53); + if (class348_sub21 == null) return null; + Component274 class42 = DisplayModeManagerContainer229.aClass153_1238.method1225(class348_sub21.anInt6847, (byte) 50); + if (i != 1) anInt8370 = -75; + if (class42 != null && class42.aBoolean609 && class42.method373(DisplayModeManagerContainer229.anInterface17_1244, 98)) return class348_sub21; + return LruCache.method3479(-1); + } + + public final boolean method8(byte i) { + int i_2_ = 2 % ((25 - i) / 52); + anInt8373++; + if (!super.method8((byte) 82)) return false; + return this.aClass45_4632.isSingletonFileReady(false, (((Component381) this.aClass369_4635).anInt8582)); + } + + static final int method200(int i, int i_3_) { + if (i >= -75) return -109; + anInt8377++; + return i_3_ >>> 8; + } + + DisplayModeManagerContainer89(CacheStore class45, CacheStore class45_4_, Component381 class369_sub1) { + super(class45, class45_4_, class369_sub1); + } + + static final void method201(int i, int i_5_, String string) { + do { + try { + anInt8372++; + int i_6_ = ShaderCompilerSub1.anInt6513; + int[] is = ShaderProgramSub7.anIntArray6290; + if (i_5_ == -7257) { + boolean bool = false; + for (int i_7_ = 0; i_6_ > i_7_; i_7_++) { + Player player = (InterfaceRenderer.players[is[i_7_]]); + if (player != null && (Component72.localPlayer != player) && (player.username != null) && player.username.equalsIgnoreCase(string)) { + bool = true; + if (i == 1) { + Component296.anInt4657++; + ParticleSystem class348_sub47 = (ParticleShader.method2148(Component379.aClass351_5929, DisplayModeManagerContainer64.aClass77_9029, i_5_ + 7158)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, is[i_7_]); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByteInverse((byte) -75, 0); + HashNodeSub14.method3243(i_5_ ^ 0x1c2a, class348_sub47); + } else if (i == 4) { + Component197.anInt10073++; + ParticleSystem class348_sub47 = (ParticleShader.method2148(RSACipher.aClass351_4905, DisplayModeManagerContainer64.aClass77_9029, -88)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, is[i_7_]); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByteAdd((byte) -128, 0); + HashNodeSub14.method3243(126, class348_sub47); + } else if (i == 5) { + Component43.anInt4979++; + ParticleSystem class348_sub47 = (ParticleShader.method2148(HashNodeSub18.aClass351_9684, DisplayModeManagerContainer64.aClass77_9029, -83)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(81, is[i_7_]); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 0); + HashNodeSub14.method3243(-112, class348_sub47); + } else if (i == 6) { + HuffmanDecoder.anInt3768++; + ParticleSystem class348_sub47 = (ParticleShader.method2148(Component111.aClass351_3232, DisplayModeManagerContainer64.aClass77_9029, -83)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 0); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-119, is[i_7_]); + HashNodeSub14.method3243(i_5_ + 7281, class348_sub47); + } else if (i == 7) { + Component14.anInt8588++; + ParticleSystem class348_sub47 = (ParticleShader.method2148(DefinitionGroup.aClass351_9533, DisplayModeManagerContainer64.aClass77_9029, -116)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(i_5_ ^ 0x1c2c, is[i_7_]); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByteAdd((byte) 92, 0); + HashNodeSub14.method3243(127, class348_sub47); + } + break; + } + } + if (bool) break; + DisplayModeManagerContainer213.method544(((FriendsIgnoreList.aClass274_3504.getLocalized(ObjectDeserializer.languageId, 544)) + string), false, 4); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("tq.A(" + i + ',' + i_5_ + ',' + (string != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + public final void method7(int i) { + anInt8371++; + if (i == 10286) { + super.method7(i); + aClass105_8366 = DummyClass.method3577(((Component381) this.aClass369_4635).anInt8582, (byte) -96, this.aClass45_4632); + } + } + + final void method182(int i, int i_8_, int i_9_, boolean bool) { + anInt8367++; + int i_10_ = (this.method183(48) * this.aClass369_4635.anInt4971 / 10000); + int[] is = new int[4]; + int i_11_ = -50 % ((-20 - i) / 57); + NodeSub8.toolkit.K(is); + NodeSub8.toolkit.KA(i_9_, 2 + i_8_, i_9_ - -i_10_, i_8_ - -(this.aClass369_4635.anInt4963)); + aClass105_8366.method972(i_9_, 2 + i_8_, (this.aClass369_4635.anInt4971), (this.aClass369_4635.anInt4963)); + NodeSub8.toolkit.KA(is[0], is[1], is[2], is[3]); + } + + static final void method202(int i, MenuEntry class348_sub42_sub12) { + do { + try { + anInt8375++; + if (i == 6 && !Component364.aBoolean8335) { + class348_sub42_sub12.unlink((byte) 111); + DisplayModeManagerContainer306.menuEntryCount--; + if (class348_sub42_sub12.aBoolean9611) { + for (HashNodeSub13 class348_sub42_sub13 = ((HashNodeSub13) Component237.aClass107_3022.first(-99)); class348_sub42_sub13 != null; class348_sub42_sub13 = ((HashNodeSub13) Component237.aClass107_3022.next((byte) 110))) { + if (class348_sub42_sub13.aString9617.equals(class348_sub42_sub12.target)) { + boolean bool = false; + for (MenuEntry class348_sub42_sub12_12_ = ((MenuEntry) class348_sub42_sub13.aClass107_9621.first(-58)); class348_sub42_sub12_12_ != null; class348_sub42_sub12_12_ = ((MenuEntry) class348_sub42_sub13.aClass107_9621.next((byte) 112))) { + if (class348_sub42_sub12 == class348_sub42_sub12_12_) { + if (class348_sub42_sub13.method3234((byte) -123, class348_sub42_sub12)) Component359.method1868((byte) -98, class348_sub42_sub13); + bool = true; + break; + } + } + if (bool) break; + } + } + } else { + long l = (class348_sub42_sub12.groupKey); + HashNodeSub13 class348_sub42_sub13; + for (class348_sub42_sub13 = ((HashNodeSub13) MenuEntry.aClass356_9603.get(l, -6008)); class348_sub42_sub13 != null; class348_sub42_sub13 = ((HashNodeSub13) MenuEntry.aClass356_9603.continueGet(true))) { + if (class348_sub42_sub13.aString9617.equals(class348_sub42_sub12.target)) break; + } + if (class348_sub42_sub13 == null || !(class348_sub42_sub13.method3234((byte) 15, class348_sub42_sub12))) break; + Component359.method1868((byte) 120, class348_sub42_sub13); + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("tq.I(" + i + ',' + ((class348_sub42_sub12 != null) ? "{...}" : "null") + ')')); + } + break; + } while (false); + } +} diff --git a/client/misc/DisplayModeManagerContainer91.java b/client/misc/DisplayModeManagerContainer91.java new file mode 100644 index 000000000..57f390e3b --- /dev/null +++ b/client/misc/DisplayModeManagerContainer91.java @@ -0,0 +1,139 @@ +/* DisplayModeManagerContainer91 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DisplayModeManagerContainer91 +/** + * RENAMED from `Class27` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int anInt387; + static int anInt388 = 0; + static LruCache aClass356_389 = new LruCache(4); + static int anInt390; + static int anInt391; + static int anInt392; + static int anInt393; + static int anInt394; + static StringCache aClass351_395 = new StringCache(49, 6); + static int anInt396 = -1; + static int anInt397; + static StringCache aClass351_398 = new StringCache(23, 8); + static DisplayModeManagerContainer196 aClass341_399 = new DisplayModeManagerContainer196(); + + static final void method312(int i, byte i_0_) { + Component377.anInt859 = -1; + if (i != 37) { + if (i != 50) { + if (i != 75) { + if (i != 100) { + if (i == 200) DisplayModeManagerContainer229.aFloat1249 = 16.0F; + } else DisplayModeManagerContainer229.aFloat1249 = 8.0F; + } else DisplayModeManagerContainer229.aFloat1249 = 6.0F; + } else DisplayModeManagerContainer229.aFloat1249 = 4.0F; + } else DisplayModeManagerContainer229.aFloat1249 = 3.0F; + anInt397++; + Component377.anInt859 = -1; + if (i_0_ != 56) anInt394 = 32; + } + + static final String method313(long l, int i) { + try { + anInt392++; + if (l <= 0L || l >= 6582952005840035281L) return null; + if (l % 37L == 0L) return null; + int i_1_ = 0; + for (long l_2_ = l; l_2_ != 0; l_2_ /= 37L) + i_1_++; + if (i >= -82) anInt396 = -58; + StringBuffer stringbuffer = new StringBuffer(i_1_); + while (l != 0) { + long l_3_ = l; + l /= 37L; + stringbuffer.append(Component377.aCharArray852[(int) (-(37L * l) + l_3_)]); + } + return stringbuffer.reverse().toString(); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "ht.A(" + l + ',' + i + ')'); + } + } + + static final void method314(byte i, int i_4_) { + if (i >= -31) anInt394 = -128; + Component225.anInt481 = i_4_; + WaterShader.anInt7379 = 3; + anInt390++; + LoadingManager.anInt2173 = 100; + DefinitionSub30.anInt9399 = -1; + } + + /** Index of {@code string} in {@link Component185#languageNames}, or −1. */ + static final int languageIdFromName(byte i, String string) { + anInt393++; + int i_5_ = 0; + if (i <= 70) return -84; + for (/**/; i_5_ < Component185.languageNames.length; i_5_++) { + if (Component185.languageNames[i_5_].equalsIgnoreCase(string)) return i_5_; + } + return -1; + } + + public static void method316(byte i) { + aClass356_389 = null; + aClass351_398 = null; + aClass341_399 = null; + if (i != -94) method313(98L, -24); + aClass351_395 = null; + } + + static final void method317(String string, int i, boolean bool) { + anInt391++; + if (string != null) { + if (MenuEntry.ignoreCount >= 100) DisplayModeManagerContainer213.method544((FriendsIgnoreList.aClass274_3522.getLocalized(ObjectDeserializer.languageId, 544)), false, 4); + else { + String string_6_ = DebugPanicSub1.method2127(2, string); + if (string_6_ != null) { + for (int i_7_ = 0; (i_7_ < MenuEntry.ignoreCount); i_7_++) { + String string_8_ = DebugPanicSub1.method2127(2, (Component44.ignoreNames[i_7_])); + if (string_8_ != null && string_8_.equals(string_6_)) { + DisplayModeManagerContainer213.method544((string + (FriendsIgnoreList.aClass274_3523.getLocalized(ObjectDeserializer.languageId, 544))), false, 4); + return; + } + if (DefinitionSub21.ignoreLastNames[i_7_] != null) { + String string_9_ = (DebugPanicSub1.method2127(2, (DefinitionSub21.ignoreLastNames[i_7_]))); + if (string_9_ != null && string_9_.equals(string_6_)) { + DisplayModeManagerContainer213.method544(string + (FriendsIgnoreList.aClass274_3523.getLocalized((ObjectDeserializer.languageId), 544)), false, 4); + return; + } + } + } + if (i >= 90) { + for (int i_10_ = 0; i_10_ < DefinitionSub30.friendCount; i_10_++) { + String string_11_ = DebugPanicSub1.method2127(2, (Component178.friendNames[i_10_])); + if (string_11_ != null && string_11_.equals(string_6_)) { + DisplayModeManagerContainer213.method544(((FriendsIgnoreList.aClass274_3528.getLocalized(ObjectDeserializer.languageId, 544)) + string + (FriendsIgnoreList.aClass274_3529.getLocalized(ObjectDeserializer.languageId, 544))), false, 4); + return; + } + if (ShaderProgramSub2.friendFormerNames[i_10_] != null) { + String string_12_ = (DebugPanicSub1.method2127(2, (ShaderProgramSub2.friendFormerNames[i_10_]))); + if (string_12_ != null && string_12_.equals(string_6_)) { + DisplayModeManagerContainer213.method544(((FriendsIgnoreList.aClass274_3528.getLocalized(ObjectDeserializer.languageId, 544)) + string + (FriendsIgnoreList.aClass274_3529.getLocalized(ObjectDeserializer.languageId, 544))), false, 4); + return; + } + } + } + if (DebugPanicSub1.method2127(2, (Component72.localPlayer.username)).equals(string_6_)) DisplayModeManagerContainer213.method544((FriendsIgnoreList.aClass274_3525.getLocalized(ObjectDeserializer.languageId, 544)), false, 4); + else { + Component298.anInt4628++; + ParticleSystem class348_sub47 = (ParticleShader.method2148(HashNodeSub19.aClass351_9687, DisplayModeManagerContainer64.aClass77_9029, -94)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, Component31.method1745(string, -65) - -1); + class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, !bool ? 0 : 1); + HashNodeSub14.method3243(-116, class348_sub47); + } + } + } + } + } + } +} diff --git a/client/misc/DisplayModeManagerContainer96.java b/client/misc/DisplayModeManagerContainer96.java new file mode 100644 index 000000000..9e8d2dc65 --- /dev/null +++ b/client/misc/DisplayModeManagerContainer96.java @@ -0,0 +1,109 @@ +/* DisplayModeManagerContainer96 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaclib.memory.Buffer; + +final class DisplayModeManagerContainer96 +/** + * RENAMED from `Class119_Sub1` (JODE-obfuscated). + * Evidence: subclass of Component125 (hierarchy) + */ extends Component125 implements Interface2 { + private int anInt4697; + static int anInt4698; + static int anInt4699; + static int anInt4700; + static int anInt4701; + static byte aByte4702; + static int anInt4703; + static int anInt4704; + static int anInt4705; + + DisplayModeManagerContainer96(GlToolkitSub2 var_ha_Sub2, int i, byte[] is, int i_0_) { + super(var_ha_Sub2, is, i_0_); + try { + anInt4697 = i; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("cw.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + (is != null ? "{...}" : "null") + ',' + i_0_ + ')')); + } + } + + DisplayModeManagerContainer96(GlToolkitSub2 var_ha_Sub2, int i, Buffer buffer) { + super(var_ha_Sub2, buffer); + try { + anInt4697 = i; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("cw.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + (buffer != null ? "{...}" : "null") + ')')); + } + } + + public final long method12(byte i) { + if (i != 42) method1077(null, (byte) -124); + anInt4704++; + return this.aBuffer1792.getAddress(); + } + + static final void method1077(GraphicsToolkit var_ha, byte i) { + anInt4700++; + if ((DisplayModeManagerContainer306.menuEntryCount >= 2 || r.aBoolean9722) && Component156.aClass46_3701 == null) { + if (i >= -71) method1077(null, (byte) -41); + String string; + if (r.aBoolean9722 && DisplayModeManagerContainer306.menuEntryCount < 2) string = (DisplayModeManagerContainer332.aString5001 + FriendsIgnoreList.aClass274_3515.getLocalized(ObjectDeserializer.languageId, 544) + DisplayModeManagerContainer332.aString5000 + " ->"); + else if (!Component262.shiftClick || !Component280.aClass346_2449.isKeyDown(81, -121) || DisplayModeManagerContainer306.menuEntryCount <= 2) { + MenuEntry class348_sub42_sub12 = Component192.menuTip; + if (class348_sub42_sub12 == null) return; + string = Component192.formatMenuEntry((byte) -52, class348_sub42_sub12); + int[] is = null; + if (!Component3.method1197(-12081, class348_sub42_sub12.opcode)) { + if (class348_sub42_sub12.itemId != -1) is = Exception_Sub1.itemDefinitions.getItemDefinition(98, (class348_sub42_sub12.itemId)).anIntArray2772; + else if (WaterShaderSub8.method3549((class348_sub42_sub12.opcode), (byte) 107)) { + NodeSub22 class348_sub22 = ((NodeSub22) (Component21.aClass356_3654.get((int) class348_sub42_sub12.identifier, -6008))); + if (class348_sub22 != null) { + Npc npc = (class348_sub22.npc); + NpcComposition class79 = (npc.definition); + if (class79.anIntArray1377 != null) class79 = (class79.method794((DisplayModeManagerContainer58.aClass170_10209), -1)); + if (class79 != null) is = class79.anIntArray1342; + } + } else if (Component71.method1813(8806, (class348_sub42_sub12.opcode))) { + Object object = null; + Component44 class51; + if ((class348_sub42_sub12.opcode) != 1001) class51 = (GradientPreset.aClass263_9195.method2005(0, (int) ((class348_sub42_sub12.identifier) >>> 32 & 0x7fffffffL))); + else class51 = (GradientPreset.aClass263_9195.method2005(0, (int) (class348_sub42_sub12.identifier))); + if (class51.anIntArray945 != null) class51 = class51.method480((DisplayModeManagerContainer58.aClass170_10209), (byte) 47); + if (class51 != null) is = class51.anIntArray917; + } + } else is = (Exception_Sub1.itemDefinitions.getItemDefinition(-73, (int) (class348_sub42_sub12.identifier)).anIntArray2772); + if (is != null) string += ImageTagText.method1273(is, true); + } else string = Component192.formatMenuEntry((byte) 125, Component192.menuTip); + if (DisplayModeManagerContainer306.menuEntryCount > 2) string += (" / " + (DisplayModeManagerContainer306.menuEntryCount - 2) + FriendsIgnoreList.aClass274_3508.getLocalized(ObjectDeserializer.languageId, 544)); + if (NodeSub36.aClass46_6990 != null) { + BitmapFont class324 = NodeSub36.aClass46_6990.method426(var_ha, (byte) 68); + if (class324 == null) class324 = NodeList.aClass324_3326; + class324.method2585(Component143.anIntArray2330, NodeSub36.aClass46_6990.anInt709, DisplayModeManagerContainer196.aClass105Array4234, NodeSub36.aClass46_6990.anInt700, NodeSub36.aClass46_6990.anInt749, NodeSub36.aClass46_6990.anInt789, NodeSub36.aClass46_6990.anInt809, OutputStream_Sub1.aRandom93, NodeSub36.aClass46_6990.anInt762, Component299.anInt451, LruCache.anInt4383, -33, Component9.anInt4141, string, Component195.anIntArray5007); + Component354.method226(Component195.anIntArray5007[0], Component195.anIntArray5007[2], Component195.anIntArray5007[1], 0, Component195.anIntArray5007[3]); + } else if (Component158.aClass46_323 != null && (PacketReader.currentGameType == RunescapeInfo.RUNESCAPE)) { + int i_1_ = (NodeList.aClass324_3326.method2571(-1, LruCache.anInt4383, Component143.anIntArray2330, string, 16777215, 0, DisplayModeManagerContainer196.aClass105Array4234, 16 + TcpSocketStream.anInt5832, 4 + Component247.anInt4911, OutputStream_Sub1.aRandom93)); + Component354.method226(Component247.anInt4911 - -4, (Component27.aClass143_4962.stringWidth(true, string) + i_1_), TcpSocketStream.anInt5832, 0, 16); + } + } + } + + public final int method13(byte i) { + anInt4699++; + if (i != -97) return -87; + return anInt4697; + } + + public final void method11(int i, int i_2_, byte[] is, int i_3_) { + anInt4705++; + this.method1076(is, i_2_); + anInt4697 = i; + if (i_3_ != -9894) method10(false); + } + + public final int method10(boolean bool) { + anInt4701++; + if (bool != true) method11(126, 120, null, -73); + return 0; + } +} diff --git a/client/misc/GameType.java b/client/misc/GameType.java new file mode 100644 index 000000000..07653ccde --- /dev/null +++ b/client/misc/GameType.java @@ -0,0 +1,550 @@ +/* GameType - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from {@code Class230} (JODE-obfuscated). + * Game product / ModeWhere: {@link RunescapeInfo#RUNESCAPE}, {@link WorldNameText#STELLARDAWN}, + * {@link WaterShaderProgram#GAME3}, {@link Component379#GAME4}. + * {@link #domain} feeds URLs like {@code http://*.domain.com/...}; {@link #id} is the game id byte. + */ +final class GameType { + static int anInt2982; + static int anInt2983; + static int anInt2984; + /** DNS label under *.com (e.g. "runescape", "stellardawn"). */ + String domain; + static int anInt2986 = 0; + /** Game id written to login/news packets (0=RS, 1=SD, …). */ + int id; + static int anInt2988; + static int anInt2989; + + static final void method1634(int[] is, int i, byte[][][] is_0_, int i_1_, int i_2_, int[] is_3_, int i_4_, int i_5_, boolean bool, int i_6_, int i_7_, int[] is_8_, int[] is_9_, byte i_10_, int[] is_11_, int i_12_, boolean bool_13_, int i_14_) { + do { + try { + anInt2982++; + if (Buffer.anInt7207 != -1) { + int[] is_15_ = Component158.aHa326.Y(); + int i_16_ = is_15_[0]; + int i_17_ = is_15_[1]; + int i_18_ = is_15_[2]; + int i_19_ = is_15_[3]; + int i_20_ = i_18_; + int i_21_ = i_19_; + if (Buffer.anInt7207 == 1) { + i_20_ = (int) ((double) i_18_ * (double) HashTable.anInt1651 / (double) Component25.anInt6008); + i_21_ = (int) ((double) HashTable.anInt1651 * (double) i_19_ / (double) Component25.anInt6008); + } + if (!NodeSub16Sub2.aBoolean8870) { + if (Buffer.anInt7207 == 1) CookieBuilder.method383(0); + int i_22_ = -SpriteSub1.anInt8422 + i_4_; + int i_23_ = i_6_ + -Component336.anInt403; + int i_24_ = -NodeSub21.anInt6849 + i_5_; + int i_25_ = (int) ((VideoAdDisplay.aDouble3182 * (double) i_22_ + (double) i_23_ * Component144.aDouble3980 + (double) i_24_ * Component186.aDouble4404) * (double) i_20_ / (double) i_14_); + int i_26_ = (int) ((((double) i_24_ * DefinitionGroup.aDouble9531) + (((double) i_22_ * DisplayModeManagerContainer64.aDouble9023) + ((double) i_23_ * DisplayModeManagerContainer61.aDouble3761))) * (double) i_21_ / (double) i_14_); + double d = ((double) i_24_ * NodeSub16Sub2.aDouble8869 + (ColorTagNode.aDouble6774 * (double) i_23_ + (double) i_22_ * DisplayModeManagerContainer213.aDouble1083)); + int i_27_ = i_25_ + DisplayModeManagerContainer159.anInt2747 - ShaderCompiler.anInt4100; + int i_28_ = (Component140.anInt10444 + i_26_ + -NodeSub3.anInt6568); + int i_29_ = Component210.anInt5283 + i_27_; + int i_30_ = HashTable.anInt1651 + i_28_; + if ((i_27_ < 0 || i_28_ < 0 || i_29_ > GpiLogger.anInt8854 || (i_30_ > Component25.anInt6008)) && Buffer.anInt7207 != 2) { + if (i_29_ <= 0 || i_30_ <= 0 || (GpiLogger.anInt8854 <= i_27_) || (i_28_ >= Component25.anInt6008)) NodeSub16Sub2.aBoolean8870 = true; + else { + int i_31_ = i_27_ - DisplayModeManagerContainer159.anInt2747; + int i_32_ = (i_28_ - Component140.anInt10444); + int i_33_ = 0; + int i_34_ = 0; + int i_35_ = 0; + int i_36_ = 0; + double d_37_ = 0.0; + if (Buffer.anInt7207 == 0) { + d_37_ = d + HashNodeSub4.aDouble9517; + i_33_ = i_31_; + i_34_ = i_32_; + } else if (Buffer.anInt7207 == 1) { + i_35_ = i_31_ / Component255.anInt1067; + i_36_ = i_32_ / AbstractBuffer.anInt4267; + i_33_ = i_35_ * Component255.anInt1067; + i_34_ = i_36_ * AbstractBuffer.anInt4267; + d_37_ = ((d + HashNodeSub4.aDouble9517) * (double) (i_32_ * i_34_ + i_33_ * i_31_) / (double) (i_32_ * i_32_ + i_31_ * i_31_)); + } + d_37_ = -d_37_; + int i_38_ = 0; + int i_39_ = 0; + int i_40_ = 0; + int i_41_ = 0; + int i_42_ = 0; + int i_43_; + int i_44_; + int i_45_; + int i_46_; + if (i_33_ >= 0) { + i_45_ = 0; + i_43_ = (-i_33_ + GpiLogger.anInt8854); + if (Buffer.anInt7207 == 1) { + i_42_ = i_35_; + i_40_ = -i_35_ + Component82.anInt425; + } + i_46_ = i_33_; + i_44_ = i_43_; + } else { + i_43_ = (GpiLogger.anInt8854 + i_33_); + i_44_ = 0; + i_45_ = -i_33_; + i_46_ = i_45_; + if (Buffer.anInt7207 == 1) { + i_42_ = -i_35_; + i_40_ = 0; + } + } + int i_47_ = 0; + int i_48_; + int i_49_; + int i_50_; + int i_51_; + int i_52_; + int i_53_; + if (i_34_ >= 0) { + i_50_ = Component25.anInt6008 + -i_34_; + i_48_ = 0; + i_49_ = i_50_; + i_51_ = i_34_; + i_53_ = 0; + if (Buffer.anInt7207 == 1) { + i_41_ = 0; + i_39_ = i_36_; + i_38_ = -i_36_ + AudioMixer.anInt3225; + i_47_ = i_38_; + } + i_52_ = i_50_; + } else { + i_48_ = -i_34_; + i_49_ = 0; + i_50_ = Component25.anInt6008 + i_34_; + i_51_ = i_48_; + i_52_ = i_50_; + i_53_ = i_51_; + if (Buffer.anInt7207 == 1) { + i_39_ = -i_36_; + i_38_ = 0; + i_47_ = i_36_ + AudioMixer.anInt3225; + i_41_ = i_39_; + } + } + Component315 class243 = (PacketReader.aClass76_10436.aClass243_1282); + for (RenderableSub4 class318_sub4 = ((RenderableSub4) class243.method1872(8)); class318_sub4 != null; class318_sub4 = ((RenderableSub4) class243.method1878((byte) 122))) { + RenderableSub3[] class318_sub3s = (class318_sub4.aClass318_Sub3Array6414); + boolean bool_54_ = true; + for (int i_55_ = 0; class318_sub3s.length > i_55_; i_55_++) { + RenderableSub3 class318_sub3 = class318_sub3s[i_55_]; + int i_56_ = (class318_sub3.anInt6405); + int i_57_ = (class318_sub3.anInt6402); + int i_58_ = (class318_sub3.anInt6406); + int i_59_ = (class318_sub3.anInt6404); + int i_60_ = (class318_sub3.anInt6403); + class318_sub3.anInt6404 = i_59_ = -i_34_ + i_59_; + class318_sub3.anInt6405 = i_56_ = -i_33_ + i_56_; + class318_sub3.anInt6406 = i_58_ += -i_33_; + class318_sub3.anInt6402 = i_57_ = -i_34_ + i_57_; + if (bool_54_) { + int i_61_ = -i_60_ + (Math.min(i_58_, i_56_)); + if (i_61_ <= GpiLogger.anInt8854) { + int i_62_ = (-i_60_ + (Math.min(i_59_, i_57_))); + if (Component25.anInt6008 >= i_62_) { + int i_63_ = ((Math.max(i_58_, i_56_)) - -i_60_); + if (i_63_ >= 0) { + int i_64_ = ((Math.max(i_59_, i_57_)) + i_60_); + if (i_64_ >= 0) bool_54_ = false; + } + } + } + } + } + if (bool_54_) { + class318_sub4.unlink(false); + Component350.method560(class318_sub4, i ^ 0x4b); + } + } + if (Buffer.anInt7207 == 0) Component158.aHa326.method3687(DisplayModeManagerContainer167.anInterface4_252); + Component158.aHa326.F(-i_33_, -i_34_); + Component158.aHa326.b(i_45_, i_48_, i_43_, i_50_, d_37_); + r.method3284(true, (HashNodeSub4.aDouble9517 + d_37_)); + DisplayModeManagerContainer389.aDouble8621 = d_37_ + HashNodeSub4.aDouble9517; + if (Buffer.anInt7207 == 1) { + ShaderCompilerSub1Sub1.anInt8799 = (i_17_ + -NodeSub3.anInt6568 - i_34_); + OutputStream_Sub1.anInt95 = i_21_; + Component247.anInt4910 = -ShaderCompiler.anInt4100 + (i_16_ - i_33_); + SpriteAtlasShader.anInt6255 = i_20_; + Component158.aHa326.DA(Component247.anInt4910, (ShaderCompilerSub1Sub1.anInt8799), SpriteAtlasShader.anInt6255, (OutputStream_Sub1.anInt95)); + } else { + SpriteAtlasShader.anInt6255 = i_20_; + ShaderCompilerSub1Sub1.anInt8799 = (-NodeSub3.anInt6568 + i_17_ - (-(Component140.anInt10444) - -i_34_)); + Component247.anInt4910 = (-ShaderCompiler.anInt4100 + i_16_ + (DisplayModeManagerContainer159.anInt2747 + -i_33_)); + OutputStream_Sub1.anInt95 = i_21_; + Component158.aHa326.DA(Component247.anInt4910, (ShaderCompilerSub1Sub1.anInt8799), SpriteAtlasShader.anInt6255, (OutputStream_Sub1.anInt95)); + } + ImageTagText.method1274(PacketReader.aClass76_10436); + if (i_51_ > 0) { + Component158.aHa326.KA(0, i_49_, (GpiLogger.anInt8854), i_51_ + i_49_); + Component158.aHa326.NativeHandle(); + Component158.aHa326.GA(DisplayModeManagerContainer123.anInt1290); + AbstractGlTextureSub1.method1960(i_12_, i_4_, i_6_, i_5_, is_0_, is_3_, is_8_, is_9_, is_11_, is, i_2_, i_10_, i_7_, i_1_, bool, bool_13_, i_14_, 1, false); + } + if (i_46_ > 0) { + Component158.aHa326.KA(i_44_, i_53_, i_44_ - -i_46_, i_53_ + i_52_); + Component158.aHa326.NativeHandle(); + Component158.aHa326.GA(DisplayModeManagerContainer123.anInt1290); + AbstractGlTextureSub1.method1960(i_12_, i_4_, i_6_, i_5_, is_0_, is_3_, is_8_, is_9_, is_11_, is, i_2_, i_10_, i_7_, i_1_, bool, bool_13_, i_14_, 1, false); + } + Component158.aHa326.la(); + DisplayModeManagerContainer130.method2046(); + if (Buffer.anInt7207 == 0) Component158.aHa326.method3672(); + NodeSub3.anInt6568 += i_34_; + ShaderCompiler.anInt4100 += i_33_; + HashNodeSub4.aDouble9517 += d_37_; + DefinitionSub8.anInt9157 = (-NodeSub3.anInt6568 + i_26_ + Component140.anInt10444); + NewsFetcher.anInt4211 = (-ShaderCompiler.anInt4100 + DisplayModeManagerContainer159.anInt2747 + i_25_); + if (Buffer.anInt7207 == 1) { + ColoredText.anInt6095 += i_35_; + ShaderProgram.anInt3682 += i_36_; + for (int i_65_ = 0; i_65_ < AudioMixer.anInt3225; i_65_++) { + int i_66_ = ((Component360.method3452(i_65_ - -ShaderProgram.anInt3682, (byte) -15, AudioMixer.anInt3225)) * Component82.anInt425); + for (int i_67_ = 0; (Component82.anInt425 > i_67_); i_67_++) { + int i_68_ = ((Component360.method3452(i_67_ + (ColoredText.anInt6095), (byte) -15, Component82.anInt425)) + i_66_); + boolean bool_69_ = (((i_38_ <= i_65_) && i_39_ + i_38_ > i_65_) || (i_65_ >= i_41_ && (i_65_ < i_41_ - -i_47_) && i_67_ >= i_40_ && (i_40_ - -i_42_ > i_67_))); + DisplayModeManagerContainer23.anInterface4Array1525[i_68_].method15(Component255.anInt1067 * i_67_, i_65_ * AbstractBuffer.anInt4267, Component255.anInt1067, AbstractBuffer.anInt4267, 0, 0, bool_69_, true); + } + } + } + } + } else { + NewsFetcher.anInt4211 = i_27_; + DefinitionSub8.anInt9157 = i_28_; + if (Buffer.anInt7207 == 2) HashNodeSub4.aDouble9517 = -d; + } + } + if (NodeSub16Sub2.aBoolean8870) { + NodeSub21.anInt6849 = i_5_; + Component336.anInt403 = i_6_; + DefinitionSub8.anInt9157 = Component140.anInt10444; + ShaderCompiler.anInt4100 = 0; + NewsFetcher.anInt4211 = DisplayModeManagerContainer159.anInt2747; + SpriteSub1.anInt8422 = i_4_; + NodeSub3.anInt6568 = 0; + HashNodeSub4.aDouble9517 = 0.0; + if (Buffer.anInt7207 == 0) Component158.aHa326.method3687(DisplayModeManagerContainer167.anInterface4_252); + Component158.aHa326.la(); + Component158.aHa326.NativeHandle(); + Component158.aHa326.GA(DisplayModeManagerContainer123.anInt1290); + Component44.aClass101_905.method903(SpriteSub1.anInt8422, Component336.anInt403, NodeSub21.anInt6849, Component381.anInt8583, DisplayModeManagerContainer61.anInt3760, DisplayModeManagerContainer91.anInt396); + Component158.aHa326.method3638(Component44.aClass101_905); + if (Buffer.anInt7207 == 1) { + ShaderCompilerSub1Sub1.anInt8799 = i_17_; + Component247.anInt4910 = i_16_; + OutputStream_Sub1.anInt95 = i_21_; + SpriteAtlasShader.anInt6255 = i_20_; + Component158.aHa326.DA(Component247.anInt4910, ShaderCompilerSub1Sub1.anInt8799, SpriteAtlasShader.anInt6255, OutputStream_Sub1.anInt95); + } else { + Component247.anInt4910 = i_16_ - -DisplayModeManagerContainer159.anInt2747; + ShaderCompilerSub1Sub1.anInt8799 = Component140.anInt10444 + i_17_; + SpriteAtlasShader.anInt6255 = i_20_; + OutputStream_Sub1.anInt95 = i_21_; + Component158.aHa326.DA(Component247.anInt4910, ShaderCompilerSub1Sub1.anInt8799, SpriteAtlasShader.anInt6255, OutputStream_Sub1.anInt95); + } + DisplayModeManagerContainer389.aDouble8621 = 0.0; + PacketReader.aClass76_10436.method775((byte) 69); + ImageTagText.method1274(PacketReader.aClass76_10436); + AbstractGlTextureSub1.method1960(i_12_, i_4_, i_6_, i_5_, is_0_, is_3_, is_8_, is_9_, is_11_, is, i_2_, i_10_, i_7_, i_1_, bool, bool_13_, i_14_, 1, false); + DisplayModeManagerContainer130.method2046(); + NodeSub16Sub2.aBoolean8870 = false; + if (Buffer.anInt7207 == 0) Component158.aHa326.method3672(); + if (Buffer.anInt7207 == 1) Connection.method1469(-117); + } + if (Buffer.anInt7207 == 0) DisplayModeManagerContainer167.anInterface4_252.method14(NewsFetcher.anInt4211, DefinitionSub8.anInt9157, Component210.anInt5283, HashTable.anInt1651, 0, 0, true, true); + Component212.anInt9997++; + r.method3284(true, HashNodeSub4.aDouble9517); + Component289.aDouble10120 = HashNodeSub4.aDouble9517; + if (Buffer.anInt7207 == 0 || Buffer.anInt7207 == 2) { + if (Buffer.anInt7207 == 2) { + Component158.aHa326.GA(DisplayModeManagerContainer123.anInt1290); + Component158.aHa326.NativeHandle(); + } + Component321.anInt2590 = i_20_; + Component30.anInt1879 = i_21_; + Component97.anInt1537 = (-NewsFetcher.anInt4211 + -ShaderCompiler.anInt4100 + (i_16_ + DisplayModeManagerContainer159.anInt2747)); + RenderableSub5.anInt6417 = (-DefinitionSub8.anInt9157 + (i_17_ + Component140.anInt10444 + -NodeSub3.anInt6568)); + Component158.aHa326.DA(Component97.anInt1537, RenderableSub5.anInt6417, Component321.anInt2590, Component30.anInt1879); + } else if (Buffer.anInt7207 == 1) { + Component321.anInt2590 = i_20_; + Component97.anInt1537 = i_16_ + -ShaderCompiler.anInt4100; + RenderableSub5.anInt6417 = -NodeSub3.anInt6568 + i_17_; + Component30.anInt1879 = i_21_; + Component158.aHa326.DA(Component97.anInt1537, RenderableSub5.anInt6417, Component321.anInt2590, Component30.anInt1879); + Component158.aHa326.KA(NewsFetcher.anInt4211, DefinitionSub8.anInt9157, (NewsFetcher.anInt4211 - -Component210.anInt5283), (HashTable.anInt1651 + DefinitionSub8.anInt9157)); + } + AbstractGlTextureSub1.method1960(i_12_, i_4_, i_6_, i_5_, is_0_, is_3_, is_8_, is_9_, is_11_, is, i_2_, i_10_, i_7_, i_1_, bool, bool_13_, i_14_, Buffer.anInt7207 != 2 ? 2 : 0, Buffer.anInt7207 == 1); + Component158.aHa326.la(); + Component158.aHa326.DA(i_16_, i_17_, i_18_, i_19_); + if (i == -2) break; + anInt2986 = -82; + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("sj.D(" + (is != null ? "{...}" : "null") + ',' + i + ',' + (is_0_ != null ? "{...}" : "null") + ',' + i_1_ + ',' + i_2_ + ',' + (is_3_ != null ? "{...}" : "null") + ',' + i_4_ + ',' + i_5_ + ',' + bool + ',' + i_6_ + ',' + i_7_ + ',' + (is_8_ != null ? "{...}" : "null") + ',' + (is_9_ != null ? "{...}" : "null") + ',' + i_10_ + ',' + (is_11_ != null ? "{...}" : "null") + ',' + i_12_ + ',' + bool_13_ + ',' + i_14_ + ')')); + } + break; + } while (false); + } + + static final void method1635(int i, DisplayModeManagerContainer58 class318_sub1_sub3_sub3) { + try { + anInt2983++; + do { + if ((class318_sub1_sub3_sub3.anInt10268) != -1) { + DisplayModeManagerContainer167 class17 = (RunescapeInfo.aClass87_191.method835(class318_sub1_sub3_sub3.anInt10268, 7)); + if (class17 == null || class17.anIntArray237 == null) { + class318_sub1_sub3_sub3.aBoolean10213 = false; + class318_sub1_sub3_sub3.anInt10268 = -1; + } else { + class318_sub1_sub3_sub3.anInt10203++; + if ((class318_sub1_sub3_sub3.anInt10245 < class17.anIntArray237.length) && ((class17.anIntArray267[class318_sub1_sub3_sub3.anInt10245]) < class318_sub1_sub3_sub3.anInt10203)) { + class318_sub1_sub3_sub3.anInt10312++; + class318_sub1_sub3_sub3.anInt10245++; + class318_sub1_sub3_sub3.anInt10203 = 1; + if (!class318_sub1_sub3_sub3.aBoolean10309) DisplayModeManagerContainer260.method2178(class318_sub1_sub3_sub3, (class318_sub1_sub3_sub3.anInt10245), class17, -58); + } + if (class318_sub1_sub3_sub3.anInt10245 >= class17.anIntArray237.length) { + class318_sub1_sub3_sub3.anInt10245 = 0; + class318_sub1_sub3_sub3.anInt10203 = 0; + if (class318_sub1_sub3_sub3.aBoolean10213) { + class318_sub1_sub3_sub3.anInt10268 = class318_sub1_sub3_sub3.method2422((byte) 72).method1621((byte) -16); + if (class318_sub1_sub3_sub3.anInt10268 == -1) { + class318_sub1_sub3_sub3.aBoolean10213 = false; + break; + } + class17 = (RunescapeInfo.aClass87_191.method835(class318_sub1_sub3_sub3.anInt10268, 7)); + } + if (!class318_sub1_sub3_sub3.aBoolean10309) DisplayModeManagerContainer260.method2178(class318_sub1_sub3_sub3, (class318_sub1_sub3_sub3.anInt10245), class17, -23); + } + class318_sub1_sub3_sub3.anInt10312 = class318_sub1_sub3_sub3.anInt10245 + 1; + if (class17.anIntArray237 == null) { + class318_sub1_sub3_sub3.anInt10268 = -1; + class318_sub1_sub3_sub3.aBoolean10213 = false; + } else if (class318_sub1_sub3_sub3.anInt10312 >= class17.anIntArray237.length) class318_sub1_sub3_sub3.anInt10312 = 0; + } + } + } while (false); + do { + if ((class318_sub1_sub3_sub3.anInt10269) != -1 && (OpenGlShader.clientCycle >= (class318_sub1_sub3_sub3.anInt10225))) { + Component63 class368 = (NsnDefinition.aClass319_9245.method2543((byte) 90, class318_sub1_sub3_sub3.anInt10269)); + int i_70_ = class368.anInt4503; + if (i_70_ != -1) { + DisplayModeManagerContainer167 class17 = RunescapeInfo.aClass87_191.method835(i_70_, 7); + if (class368.aBoolean4487) { + if (class17.anInt262 == 3) { + if (class318_sub1_sub3_sub3.anInt10322 > 0 && (class318_sub1_sub3_sub3.anInt10239 <= OpenGlShader.clientCycle) && (OpenGlShader.clientCycle > (class318_sub1_sub3_sub3.anInt10300))) { + class318_sub1_sub3_sub3.anInt10269 = -1; + break; + } + } else if (class17.anInt262 == 1 && class318_sub1_sub3_sub3.anInt10322 > 0 && (OpenGlShader.clientCycle >= (class318_sub1_sub3_sub3.anInt10239)) && (OpenGlShader.clientCycle > (class318_sub1_sub3_sub3.anInt10300))) { + class318_sub1_sub3_sub3.anInt10225 = 1 + OpenGlShader.clientCycle; + break; + } + } + if (class17 != null && class17.anIntArray237 != null) { + if (class318_sub1_sub3_sub3.anInt10240 < 0) { + class318_sub1_sub3_sub3.anInt10240 = 0; + if (!class318_sub1_sub3_sub3.aBoolean10309) DisplayModeManagerContainer260.method2178(class318_sub1_sub3_sub3, 0, class17, -89); + } + class318_sub1_sub3_sub3.anInt10243++; + if ((class17.anIntArray237.length > class318_sub1_sub3_sub3.anInt10240) && ((class17.anIntArray267[class318_sub1_sub3_sub3.anInt10240]) < class318_sub1_sub3_sub3.anInt10243)) { + class318_sub1_sub3_sub3.anInt10240++; + class318_sub1_sub3_sub3.anInt10243 = 1; + if (!class318_sub1_sub3_sub3.aBoolean10309) DisplayModeManagerContainer260.method2178(class318_sub1_sub3_sub3, class318_sub1_sub3_sub3.anInt10240, class17, -17); + } + if (class318_sub1_sub3_sub3.anInt10240 >= class17.anIntArray237.length) { + if (class368.aBoolean4487) { + class318_sub1_sub3_sub3.anInt10305++; + class318_sub1_sub3_sub3.anInt10240 -= class17.anInt238; + if (class17.anInt244 <= (class318_sub1_sub3_sub3.anInt10305)) class318_sub1_sub3_sub3.anInt10269 = -1; + else if ((class318_sub1_sub3_sub3.anInt10240) >= 0 && ((class17.anIntArray237).length > (class318_sub1_sub3_sub3.anInt10240))) { + if (!class318_sub1_sub3_sub3.aBoolean10309) DisplayModeManagerContainer260.method2178(class318_sub1_sub3_sub3, (class318_sub1_sub3_sub3.anInt10240), class17, -70); + } else class318_sub1_sub3_sub3.anInt10269 = -1; + } else class318_sub1_sub3_sub3.anInt10269 = -1; + } + class318_sub1_sub3_sub3.anInt10283 = class318_sub1_sub3_sub3.anInt10240 - -1; + if (class318_sub1_sub3_sub3.anInt10283 >= class17.anIntArray237.length) { + if (class368.aBoolean4487) { + class318_sub1_sub3_sub3.anInt10283 -= class17.anInt238; + if ((class318_sub1_sub3_sub3.anInt10305 - -1) >= class17.anInt244) class318_sub1_sub3_sub3.anInt10283 = -1; + else if ((class318_sub1_sub3_sub3.anInt10283) < 0 || ((class17.anIntArray237).length <= (class318_sub1_sub3_sub3.anInt10283))) class318_sub1_sub3_sub3.anInt10283 = -1; + } else class318_sub1_sub3_sub3.anInt10283 = -1; + } + } else class318_sub1_sub3_sub3.anInt10269 = -1; + } else class318_sub1_sub3_sub3.anInt10269 = -1; + } + } while (false); + do { + if ((class318_sub1_sub3_sub3.anInt10291) != -1 && (class318_sub1_sub3_sub3.anInt10211 <= OpenGlShader.clientCycle)) { + Component63 class368 = (NsnDefinition.aClass319_9245.method2543((byte) 93, class318_sub1_sub3_sub3.anInt10291)); + int i_71_ = class368.anInt4503; + if (i_71_ != -1) { + DisplayModeManagerContainer167 class17 = RunescapeInfo.aClass87_191.method835(i_71_, 7); + if (class368.aBoolean4487) { + if (class17.anInt262 != 3) { + if (class17.anInt262 == 1 && class318_sub1_sub3_sub3.anInt10322 > 0 && (OpenGlShader.clientCycle >= (class318_sub1_sub3_sub3.anInt10239)) && (class318_sub1_sub3_sub3.anInt10300 < OpenGlShader.clientCycle)) { + class318_sub1_sub3_sub3.anInt10211 = OpenGlShader.clientCycle - -1; + break; + } + } else if (class318_sub1_sub3_sub3.anInt10322 > 0 && ((class318_sub1_sub3_sub3.anInt10239) <= OpenGlShader.clientCycle) && ((class318_sub1_sub3_sub3.anInt10300) < OpenGlShader.clientCycle)) { + class318_sub1_sub3_sub3.anInt10291 = -1; + break; + } + } + if (class17 == null || class17.anIntArray237 == null) class318_sub1_sub3_sub3.anInt10291 = -1; + else { + if (class318_sub1_sub3_sub3.anInt10224 < 0) { + class318_sub1_sub3_sub3.anInt10224 = 0; + if (!class318_sub1_sub3_sub3.aBoolean10309) DisplayModeManagerContainer260.method2178(class318_sub1_sub3_sub3, 0, class17, -70); + } + class318_sub1_sub3_sub3.anInt10273++; + if ((class17.anIntArray237.length > class318_sub1_sub3_sub3.anInt10224) && ((class17.anIntArray267[class318_sub1_sub3_sub3.anInt10224]) < class318_sub1_sub3_sub3.anInt10273)) { + class318_sub1_sub3_sub3.anInt10224++; + class318_sub1_sub3_sub3.anInt10273 = 1; + if (!class318_sub1_sub3_sub3.aBoolean10309) DisplayModeManagerContainer260.method2178(class318_sub1_sub3_sub3, class318_sub1_sub3_sub3.anInt10224, class17, -114); + } + if (class17.anIntArray237.length <= class318_sub1_sub3_sub3.anInt10224) { + if (class368.aBoolean4487) { + class318_sub1_sub3_sub3.anInt10265++; + class318_sub1_sub3_sub3.anInt10224 -= class17.anInt238; + if (class17.anInt244 <= (class318_sub1_sub3_sub3.anInt10265)) class318_sub1_sub3_sub3.anInt10291 = -1; + else if ((class318_sub1_sub3_sub3.anInt10224) >= 0 && ((class318_sub1_sub3_sub3.anInt10224) < (class17.anIntArray237).length)) { + if (!class318_sub1_sub3_sub3.aBoolean10309) DisplayModeManagerContainer260.method2178(class318_sub1_sub3_sub3, (class318_sub1_sub3_sub3.anInt10224), class17, -92); + } else class318_sub1_sub3_sub3.anInt10291 = -1; + } else class318_sub1_sub3_sub3.anInt10291 = -1; + } + class318_sub1_sub3_sub3.anInt10276 = class318_sub1_sub3_sub3.anInt10224 - -1; + if (class318_sub1_sub3_sub3.anInt10276 >= class17.anIntArray237.length) { + if (class368.aBoolean4487) { + class318_sub1_sub3_sub3.anInt10276 -= class17.anInt238; + if (1 + (class318_sub1_sub3_sub3.anInt10265) < class17.anInt244) { + if ((class318_sub1_sub3_sub3.anInt10276) < 0 || ((class318_sub1_sub3_sub3.anInt10276) >= (class17.anIntArray237).length)) class318_sub1_sub3_sub3.anInt10276 = -1; + } else class318_sub1_sub3_sub3.anInt10276 = -1; + } else class318_sub1_sub3_sub3.anInt10276 = -1; + } + } + } else class318_sub1_sub3_sub3.anInt10291 = -1; + } + } while (false); + if ((class318_sub1_sub3_sub3.anInt10286 != -1) && (class318_sub1_sub3_sub3.anInt10218) <= 1) { + DisplayModeManagerContainer167 class17 = (RunescapeInfo.aClass87_191.method835((class318_sub1_sub3_sub3.anInt10286), 7)); + if (class17.anInt262 != 3) { + if (class17.anInt262 == 1 && class318_sub1_sub3_sub3.anInt10322 > 0 && (class318_sub1_sub3_sub3.anInt10239) <= OpenGlShader.clientCycle && (class318_sub1_sub3_sub3.anInt10300) < OpenGlShader.clientCycle) class318_sub1_sub3_sub3.anInt10218 = 2; + } else if ((class318_sub1_sub3_sub3.anInt10322) > 0 && (class318_sub1_sub3_sub3.anInt10239 <= OpenGlShader.clientCycle) && (OpenGlShader.clientCycle > class318_sub1_sub3_sub3.anInt10300)) { + class318_sub1_sub3_sub3.anInt10286 = -1; + class318_sub1_sub3_sub3.anIntArray10236 = null; + } + } + if ((class318_sub1_sub3_sub3.anInt10286 != -1) && (class318_sub1_sub3_sub3.anInt10218) == 0) { + DisplayModeManagerContainer167 class17 = (RunescapeInfo.aClass87_191.method835((class318_sub1_sub3_sub3.anInt10286), 7)); + if (class17 == null || class17.anIntArray237 == null) { + class318_sub1_sub3_sub3.anInt10286 = -1; + class318_sub1_sub3_sub3.anIntArray10236 = null; + } else { + class318_sub1_sub3_sub3.anInt10232++; + if ((class17.anIntArray237.length > (class318_sub1_sub3_sub3.anInt10267)) && (class318_sub1_sub3_sub3.anInt10232 > (class17.anIntArray267[class318_sub1_sub3_sub3.anInt10267]))) { + class318_sub1_sub3_sub3.anInt10267++; + class318_sub1_sub3_sub3.anInt10232 = 1; + if (!class318_sub1_sub3_sub3.aBoolean10309) DisplayModeManagerContainer260.method2178(class318_sub1_sub3_sub3, (class318_sub1_sub3_sub3.anInt10267), class17, -34); + } + if (class17.anIntArray237.length <= (class318_sub1_sub3_sub3.anInt10267)) { + class318_sub1_sub3_sub3.anInt10267 -= class17.anInt238; + class318_sub1_sub3_sub3.anInt10294++; + if (class17.anInt244 <= class318_sub1_sub3_sub3.anInt10294) { + class318_sub1_sub3_sub3.anIntArray10236 = null; + class318_sub1_sub3_sub3.anInt10286 = -1; + } else if (class318_sub1_sub3_sub3.anInt10267 < 0 || (class318_sub1_sub3_sub3.anInt10267 >= (class17.anIntArray237).length)) { + class318_sub1_sub3_sub3.anIntArray10236 = null; + class318_sub1_sub3_sub3.anInt10286 = -1; + } else if (!class318_sub1_sub3_sub3.aBoolean10309) DisplayModeManagerContainer260.method2178(class318_sub1_sub3_sub3, (class318_sub1_sub3_sub3.anInt10267), class17, -88); + } + class318_sub1_sub3_sub3.anInt10244 = (class318_sub1_sub3_sub3.anInt10267) + 1; + if (class17.anIntArray237.length <= (class318_sub1_sub3_sub3.anInt10244)) { + class318_sub1_sub3_sub3.anInt10244 -= class17.anInt238; + if (class17.anInt244 <= 1 + class318_sub1_sub3_sub3.anInt10294) class318_sub1_sub3_sub3.anInt10244 = -1; + else if (class318_sub1_sub3_sub3.anInt10244 < 0 || (class318_sub1_sub3_sub3.anInt10244 >= class17.anIntArray237.length)) class318_sub1_sub3_sub3.anInt10244 = -1; + } + } + } + int i_72_ = -86 / ((-18 - i) / 51); + if (class318_sub1_sub3_sub3.anInt10218 > 0) class318_sub1_sub3_sub3.anInt10218--; + for (int i_73_ = 0; ((class318_sub1_sub3_sub3.aClass182Array10308).length > i_73_); i_73_++) { + Component280 class182 = (class318_sub1_sub3_sub3.aClass182Array10308[i_73_]); + if (class182 != null) { + if (class182.anInt2448 > 0) class182.anInt2448--; + else { + DisplayModeManagerContainer167 class17 = RunescapeInfo.aClass87_191.method835((class182.anInt2454), 7); + if (class17 == null || class17.anIntArray237 == null) class318_sub1_sub3_sub3.aClass182Array10308[i_73_] = null; + else { + class182.anInt2456++; + if ((class17.anIntArray237.length > class182.anInt2451) && (class182.anInt2456 > (class17.anIntArray267[class182.anInt2451]))) { + class182.anInt2451++; + class182.anInt2456 = 1; + if (!class318_sub1_sub3_sub3.aBoolean10309) DisplayModeManagerContainer260.method2178(class318_sub1_sub3_sub3, class182.anInt2451, class17, -108); + } + if (class182.anInt2451 >= class17.anIntArray237.length) { + class182.anInt2451 -= class17.anInt238; + class182.anInt2445++; + if (class17.anInt244 > class182.anInt2445) { + if (class182.anInt2451 < 0 || ((class17.anIntArray237).length <= (class182.anInt2451))) class318_sub1_sub3_sub3.aClass182Array10308[i_73_] = null; + else if (!class318_sub1_sub3_sub3.aBoolean10309) DisplayModeManagerContainer260.method2178(class318_sub1_sub3_sub3, class182.anInt2451, class17, -46); + } else class318_sub1_sub3_sub3.aClass182Array10308[i_73_] = null; + } + class182.anInt2455 = 1 + class182.anInt2451; + if (class182.anInt2455 >= class17.anIntArray237.length) { + class182.anInt2455 -= class17.anInt238; + if (class17.anInt244 > class182.anInt2445 - -1) { + if (class182.anInt2455 < 0 || ((class17.anIntArray237).length <= (class182.anInt2455))) class182.anInt2455 = -1; + } else class182.anInt2455 = -1; + } + } + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("sj.A(" + i + ',' + (class318_sub1_sub3_sub3 != null ? "{...}" : "null") + ')')); + } + } + + static final Component80 method1636(int i, int i_74_, int i_75_, int i_76_, int i_77_, int i_78_, int i_79_) { + anInt2988++; + long l = ((long) i_76_ * 76724863L ^ ((long) i * 32147369L ^ ((long) i_74_ * 986053L ^ ((long) i_75_ * 67481L ^ (long) i_77_ * 97549L ^ (long) i_79_ * 475427L)))); + Component80 class299 = (Component80) Component121.aClass60_4543.get(l, 90); + if (class299 != null) return class299; + class299 = NodeCache.aHa1098.method3697(i_75_, i_77_, i_79_, i_74_, i, i_76_); + if (i_78_ != -1) method1636(58, 63, -99, -89, -7, 18, 71); + Component121.aClass60_4543.putOne(class299, l, (byte) -106); + return class299; + } + + public final String toString() { + anInt2989++; + throw new IllegalStateException(); + } + + /** @param string domain label; @param i game id */ + GameType(String string, int i) { + try { + this.domain = string; + this.id = i; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("sj.(" + (string != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + static final boolean method1637(int i, int i_80_, int i_81_) { + anInt2984++; + if (i_80_ != 32768) return true; + return (0x8000 & i_81_) != 0; + } +} diff --git a/client/misc/ItemDefinitionProvider.java b/client/misc/ItemDefinitionProvider.java new file mode 100644 index 000000000..08366bb19 --- /dev/null +++ b/client/misc/ItemDefinitionProvider.java @@ -0,0 +1,328 @@ +/* ItemDefinitionProvider - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class ItemDefinitionProvider +/** + * RENAMED from {@code Class255} / {@code DisplayModeManagerContainer320}. + * Loads and caches {@link ItemDefinition} from the item JS5 archive. + * Global instance: {@link Exception_Sub1#itemDefinitions}. + * Also parks a static sprite-atlas warm-up ({@link #method1933}) used at login. + */ { + static Component183 aClass114_3265; + static int anInt3266; + private final CacheStore aClass45_3267; + CacheStore aClass45_3268; + private boolean aBoolean3269; + static int anInt3270; + /** Highest item id + 1 (archive file count). */ + int itemCount; + static int anInt3272; + static int[] anIntArray3273 = new int[5]; + static int anInt3274; + static int anInt3275; + static int anInt3276; + static int anInt3277; + private final NodeCache aClass60_3278 = new NodeCache(64); + static int anInt3279; + static int anInt3280; + static int anInt3281; + static int anInt3282; + static int anInt3283; + static int anInt3284; + static DisplayModeManagerContainer254 aClass161_3285; + int anInt3286; + NodeCache aClass60_3287 = new NodeCache(50); + Component143 aClass175_3288 = new Component143(250); + private Component380 aClass126_3289 = new Component380(); + private final String[] aStringArray3290; + int anInt3291; + private Component311 aClass326_3292; + private final String[] aStringArray3293; + + static final DisplayModeManagerContainer238[] method1929(byte i) { + if (i != -19) method1933(null, null, false); + anInt3280++; + return (new DisplayModeManagerContainer238[]{PacketReader.aClass74_10437, Request.aClass74_6891, DisplayModeManagerContainer232.aClass74_4689, DisplayModeManagerContainer152.aClass74_4537, DisplayModeManagerContainer363.aClass74_4098, DisplayModeManagerContainer133.aClass74_2157, DisplayModeManagerContainer34.aClass74_8662, DisplayModeManagerContainer271.aClass74_515, NodeSub35.aClass74_6977, ArbShaderProgram.aClass74_6201, GnpPositionLogger.aClass74_1519, GpiLogger.aClass74_8853, DefinitionSub38.aClass74_9475, DisplayModeManagerContainer51.aClass74_2491}); + } + + final void method1930(int i) { + synchronized (this.aClass60_3287) { + this.aClass60_3287.clear(0); + if (i != -21804) method1930(-35); + } + anInt3275++; + } + + public static void method1931(boolean bool) { + anIntArray3273 = null; + if (bool != true) aClass114_3265 = null; + aClass114_3265 = null; + aClass161_3285 = null; + } + + final Component24 method1932(GraphicsToolkit var_ha, int i, int i_0_, BitmapFont class324, Component101 class154, int i_1_, boolean bool, byte i_2_, GraphicsToolkit var_ha_3_, int i_4_, boolean bool_5_, int i_6_) { + try { + anInt3266++; + Component24 class105 = method1941(i_6_, (byte) -74, i_4_, i_0_, i, i_1_, var_ha_3_, class154); + if (class105 != null) return class105; + ItemDefinition class213 = getItemDefinition(90, i_4_); + if (i_0_ > 1 && class213.anIntArray2762 != null) { + int i_7_ = -1; + for (int i_8_ = 0; i_8_ < 10; i_8_++) { + if ((class213.anIntArray2831[i_8_] <= i_0_) && class213.anIntArray2831[i_8_] != 0) i_7_ = class213.anIntArray2762[i_8_]; + } + if (i_7_ != -1) class213 = getItemDefinition(127, i_7_); + } + if (i_2_ != 83) method1935(-83, -37, null, null, false, -49); + int[] is = class213.method1562(i_0_, bool_5_, i, var_ha_3_, var_ha, class324, class154, i_1_, (byte) -102, i_6_); + if (is == null) return null; + Component24 class105_9_; + if (bool) class105_9_ = var_ha.method3662(36, is, (byte) 94, 0, 36, 32); + else class105_9_ = var_ha_3_.method3662(36, is, (byte) 94, 0, 36, 32); + if (!bool) { + Component380 class126 = new Component380(); + class126.anInt4982 = i; + class126.aBoolean4990 = class154 != null; + class126.anInt4989 = i_0_; + class126.anInt4992 = i_4_; + class126.anInt4981 = i_1_; + class126.anInt4991 = var_ha_3_.anInt4567; + class126.anInt4993 = i_6_; + this.aClass175_3288.method1348(70, class105_9_, class126); + } + return class105_9_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ub.C(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + (class324 != null ? "{...}" : "null") + ',' + (class154 != null ? "{...}" : "null") + ',' + i_1_ + ',' + bool + ',' + i_2_ + ',' + (var_ha_3_ != null ? "{...}" : "null") + ',' + i_4_ + ',' + bool_5_ + ',' + i_6_ + ')')); + } + } + + static final void method1933(CacheStore class45, GraphicsToolkit var_ha, boolean bool) { + try { + anInt3279++; + Component170[] class207s = Component170.method1519(class45, NodeSub22.anInt6862, 0); + RequestProcessor.aClass105Array2260 = new Component24[class207s.length]; + for (int i = 0; class207s.length > i; i++) + RequestProcessor.aClass105Array2260[i] = var_ha.method3691(class207s[i], true); + class207s = Component170.method1519(class45, KeyStoreLoader.anInt1639, 0); + NodeSub45.aClass105Array7107 = new Component24[class207s.length]; + for (int i = 0; class207s.length > i; i++) + NodeSub45.aClass105Array7107[i] = var_ha.method3691(class207s[i], true); + class207s = Component170.method1519(class45, BasicMouseHandler.anInt7429, 0); + DisplayModeManagerContainer199.aClass105Array5857 = new Component24[class207s.length]; + for (int i = 0; class207s.length > i; i++) + DisplayModeManagerContainer199.aClass105Array5857[i] = var_ha.method3691(class207s[i], true); + class207s = Component170.method1519(class45, GraphicsToolkit.anInt4562, 0); + Component141.aClass105Array9959 = new Component24[class207s.length]; + for (int i = 0; class207s.length > i; i++) + Component141.aClass105Array9959[i] = var_ha.method3691(class207s[i], true); + class207s = Component170.method1519(class45, CommandHandler.anInt1435, 0); + Component235.aClass105Array3378 = new Component24[class207s.length]; + for (int i = 0; class207s.length > i; i++) + Component235.aClass105Array3378[i] = var_ha.method3691(class207s[i], true); + class207s = Component170.method1519(class45, Component95.anInt1756, 0); + Component379.aClass105Array5933 = new Component24[class207s.length]; + for (int i = 0; i < class207s.length; i++) + Component379.aClass105Array5933[i] = var_ha.method3691(class207s[i], true); + class207s = Component170.method1519(class45, ReferenceTable.anInt3739, 0); + Component210.aClass105Array5294 = new Component24[class207s.length]; + for (int i = 0; class207s.length > i; i++) + Component210.aClass105Array5294[i] = var_ha.method3691(class207s[i], true); + class207s = Component170.method1519(class45, Component328.anInt1481, 0); + Component361.aClass105Array367 = new Component24[class207s.length]; + for (int i = 0; class207s.length > i; i++) + Component361.aClass105Array367[i] = var_ha.method3691(class207s[i], true); + class207s = Component170.method1519(class45, Component98.anInt5948, 0); + DefinitionSub37.aClass105Array9467 = new Component24[class207s.length]; + for (int i = 0; i < class207s.length; i++) + DefinitionSub37.aClass105Array9467[i] = var_ha.method3691(class207s[i], true); + class207s = Component170.method1519(class45, Component22.anInt1742, 0); + NodeSub12.aClass105Array6742 = new Component24[class207s.length]; + for (int i = 0; class207s.length > i; i++) + NodeSub12.aClass105Array6742[i] = var_ha.method3691(class207s[i], true); + class207s = Component170.method1519(class45, NamedInteger.anInt4469, 0); + Component49.aClass105Array4679 = new Component24[class207s.length]; + for (int i = 0; i < class207s.length; i++) + Component49.aClass105Array4679[i] = var_ha.method3691(class207s[i], true); + class207s = Component170.method1519(class45, DefinitionSub38.anInt9473, 0); + Component22.aClass105Array1744 = new Component24[class207s.length]; + for (int i = 0; class207s.length > i; i++) + Component22.aClass105Array1744[i] = var_ha.method3691(class207s[i], true); + NpcComposition.aClass105_1365 = var_ha.method3691(Component170.method1521(class45, RSACipher.anInt4895, 0), bool); + ColoredText.aClass105_6097 = var_ha.method3691(Component170.method1521(class45, (Component134.anInt5814), 0), true); + class207s = Component170.method1519(class45, DisplayModeManagerContainer89.anInt8370, 0); + Component33.aClass105Array2640 = new Component24[class207s.length]; + for (int i = 0; i < class207s.length; i++) + Component33.aClass105Array2640[i] = var_ha.method3691(class207s[i], true); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ub.N(" + (class45 != null ? "{...}" : "null") + ',' + (var_ha != null ? "{...}" : "null") + ',' + bool + ')')); + } + } + + final void method1934(byte i, boolean bool) { + if (i != 11) method1935(97, -31, null, null, false, 53); + anInt3276++; + if (!aBoolean3269 != !bool) { + aBoolean3269 = bool; + method1939(i ^ ~0x14); + } + } + + static final void method1935(int i, int i_10_, ComponentDownloader class30, DisplayModeManagerContainer370 class64, boolean bool, int i_11_) { + try { + anInt3270++; + if (class64 != null) { + if (bool != false) method1929((byte) 106); + class30.method320(class64.EA(), class64.fa(), (byte) -4, i_11_, class64.ShaderImpl(), i, class64.V(), class64.G(), class64.HA(), i_10_, class64.RA()); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ub.H(" + i + ',' + i_10_ + ',' + (class30 != null ? "{...}" : "null") + ',' + (class64 != null ? "{...}" : "null") + ',' + bool + ',' + i_11_ + ')')); + } + } + + final void method1936(int i) { + anInt3281++; + synchronized (this.aClass175_3288) { + this.aClass175_3288.method1345((byte) -126); + int i_12_ = -63 / ((21 - i) / 50); + } + } + + final void method1937(int i, boolean bool) { + anInt3274++; + synchronized (aClass60_3278) { + aClass60_3278.processSoftEntries(2, i); + } + synchronized (this.aClass60_3287) { + if (bool != false) method1939(-11); + this.aClass60_3287.processSoftEntries(2, i); + } + synchronized (this.aClass175_3288) { + this.aClass175_3288.method1346(-1491, i); + } + } + + final void method1938(int i) { + anInt3272++; + synchronized (aClass60_3278) { + aClass60_3278.method587(-88); + } + synchronized (this.aClass60_3287) { + this.aClass60_3287.method587(-85); + } + synchronized (this.aClass175_3288) { + this.aClass175_3288.method1344((byte) -124); + } + if (i < 105) this.aClass45_3268 = null; + } + + final void method1939(int i) { + synchronized (aClass60_3278) { + if (i > -28) aClass326_3292 = null; + aClass60_3278.clear(0); + } + anInt3277++; + synchronized (this.aClass60_3287) { + this.aClass60_3287.clear(0); + } + synchronized (this.aClass175_3288) { + this.aClass175_3288.method1345((byte) 47); + } + } + + /** + * Lookup / decode item def by id (junk first arg — must keep {@code (junk-13)/59 != 0} + * or the obfuscator divide-by-zero fires). + */ + final ItemDefinition getItemDefinition(int i, int i_13_) { + anInt3283++; + ItemDefinition class213; + synchronized (aClass60_3278) { + class213 = (ItemDefinition) aClass60_3278.get(i_13_, 90); + } + if (class213 != null) return class213; + byte[] is; + synchronized (aClass45_3267) { + is = aClass45_3267.getFile(-1860, Component285.method500(7, i_13_), Component111.lowByte(-23590, i_13_)); + } + class213 = new ItemDefinition(); + class213.aClass255_2761 = this; + class213.itemId = i_13_; + class213.aStringArray2811 = new String[]{null, null, FriendsIgnoreList.aClass274_3490.getLocalized(this.anInt3286, 544), null, null}; + class213.aStringArray2763 = (new String[]{null, null, null, null, FriendsIgnoreList.aClass274_3491.getLocalized(this.anInt3286, 544)}); + if (is != null) class213.method1569(768, new Buffer(is)); + class213.method1563((byte) 92); + int i_14_ = 4 / ((i - 13) / 59); + if (class213.anInt2833 != -1) class213.method1570(1, getItemDefinition(90, class213.anInt2758), getItemDefinition(101, class213.anInt2833)); + if (class213.anInt2812 != -1) class213.method1556(getItemDefinition(-58, class213.anInt2778), (byte) -29, getItemDefinition(-82, class213.anInt2812)); + if (!aBoolean3269 && class213.aBoolean2783) { + class213.itemName = FriendsIgnoreList.aClass274_3488.getLocalized(this.anInt3286, 544); + class213.anInt2827 = 0; + class213.aStringArray2811 = aStringArray3290; + class213.aStringArray2763 = aStringArray3293; + class213.aBoolean2755 = false; + class213.anIntArray2772 = null; + if (class213.aClass356_2757 != null) { + boolean bool = false; + for (Node class348 = class213.aClass356_2757.first(0); class348 != null; class348 = class213.aClass356_2757.next(0)) { + Component355 class254 = aClass326_3292.method2600((int) class348.key, 28364); + if (class254.aBoolean3261) class348.unlink((byte) 60); + else bool = true; + } + if (!bool) class213.aClass356_2757 = null; + } + } + synchronized (aClass60_3278) { + aClass60_3278.putOne(class213, i_13_, (byte) -118); + } + return class213; + } + + final Component24 method1941(int i, byte i_15_, int i_16_, int i_17_, int i_18_, int i_19_, GraphicsToolkit var_ha, Component101 class154) { + try { + aClass126_3289.anInt4992 = i_16_; + aClass126_3289.anInt4989 = i_17_; + aClass126_3289.anInt4991 = var_ha.anInt4567; + aClass126_3289.anInt4981 = i_19_; + if (i_15_ != -74) aClass126_3289 = null; + aClass126_3289.aBoolean4990 = class154 != null; + aClass126_3289.anInt4982 = i_18_; + anInt3282++; + aClass126_3289.anInt4993 = i; + return (Component24) this.aClass175_3288.method1340(123, aClass126_3289); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ub.D(" + i + ',' + i_15_ + ',' + i_16_ + ',' + i_17_ + ',' + i_18_ + ',' + i_19_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + (class154 != null ? "{...}" : "null") + ')')); + } + } + + final void method1942(int i, byte i_20_) { + this.anInt3291 = i; + anInt3284++; + synchronized (this.aClass60_3287) { + this.aClass60_3287.clear(0); + int i_21_ = 89 % ((-65 - i_20_) / 60); + } + } + + ItemDefinitionProvider(GameType class230, int i, boolean bool, Component311 class326, CacheStore class45, CacheStore class45_22_) { + try { + aBoolean3269 = bool; + aClass326_3292 = class326; + this.aClass45_3268 = class45_22_; + this.anInt3286 = i; + aClass45_3267 = class45; + if (aClass45_3267 != null) { + int i_23_ = -1 + aClass45_3267.getGroupCapacity(-1); + this.itemCount = aClass45_3267.getFileCount(0, i_23_) + i_23_ * 256; + } else this.itemCount = 0; + aStringArray3290 = (new String[]{null, null, FriendsIgnoreList.aClass274_3490.getLocalized(this.anInt3286, 544), null, null}); + aStringArray3293 = (new String[]{null, null, null, null, FriendsIgnoreList.aClass274_3491.getLocalized(this.anInt3286, 544)}); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ub.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class326 != null ? "{...}" : "null") + ',' + (class45 != null ? "{...}" : "null") + ',' + (class45_22_ != null ? "{...}" : "null") + ')')); + } + } + + static { + aClass114_3265 = new Component183(48, -2); + } +} diff --git a/client/misc/NpcComposition.java b/client/misc/NpcComposition.java new file mode 100644 index 000000000..0bf26005f --- /dev/null +++ b/client/misc/NpcComposition.java @@ -0,0 +1,762 @@ +/* NpcComposition - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * Cache NPC composition (was {@code Class79} / {@code DisplayModeManagerContainer206}). + *

+ * Loaded from the NPC archive; attached to live entities as {@link Npc#definition}. + * Menu building ({@link ParticleShader#addNpcMenuOptions}) reads {@link #actions}, + * {@link #combatLevel}, {@link #attackOptionMode}, and {@link #attackMenuPriority}. + */ +final class NpcComposition { + byte aByte1325; + static int anInt1326; + int anInt1327; + private short[] aShortArray1328; + int anInt1329; + private byte aByte1330; + boolean aBoolean1331; + static int anInt1332; + int anInt1333 = -1; + static int anInt1334; + int anInt1335; + int anInt1336; + int anInt1337; + int anInt1338; + short aShort1339; + int anInt1340; + static int anInt1341; + int[] anIntArray1342; + int anInt1343; + /** Cache / composition id (key into the NPC definition table). */ + int id; + boolean aBoolean1345; + private int anInt1346; + byte aByte1347; + DisplayModeManagerContainer347 aClass278_1348; + /** Right-click options (slots 0..4); "Attack" is special-cased by {@link #attackOptionMode}. */ + String[] actions; + short aShort1350 = 0; + static int anInt1351; + private short[] aShortArray1352; + byte aByte1353; + private int anInt1354; + byte aByte1355; + int anInt1356; + static int anInt1357; + private int anInt1358; + static int anInt1359 = 0; + private byte aByte1360; + /** NPC combat level shown in the menu tip; {@code -1}/{@code 0} hides the level suffix. */ + int combatLevel; + boolean aBoolean1362; + int anInt1363; + int anInt1364; + static Component24 aClass105_1365; + int anInt1366; + static client aClient1367; + private int anInt1368; + boolean aBoolean1369; + boolean aBoolean1370; + int anInt1371; + String name; + int anInt1373; + private byte[] aByteArray1374; + int anInt1375; + private byte aByte1376; + int[] anIntArray1377; + static int anInt1378; + static int anInt1379; + private int[] anIntArray1380; + boolean aBoolean1381; + int anInt1382; + int anInt1383; + /** + * How Attack is injected into the context menu: + * {@code 0} = Attack with other actions (no level-demote path); + * {@code 1} = Attack on a separate path so stock clients can +2000 the opcode + * when local combat < NPC combat; {@code -1} = unset (post-decode: 1 for + * RuneScape game type, else 0). + */ + byte attackOptionMode; + int anInt1385; + private LruCache aClass356_1386; + static int anInt1387; + private int[][] anIntArrayArray1388; + static int anInt1389; + int anInt1390; + private short[] aShortArray1391; + int anInt1392; + private short[] aShortArray1393; + static int anInt1394; + int anInt1395; + /** When false, {@link ParticleShader#addNpcMenuOptions} skips this NPC entirely. */ + boolean interactive; + boolean aBoolean1397; + private int anInt1398; + int anInt1399; + static int anInt1400; + /** Menu priority for the Attack row (higher = preferred left-click tip). */ + int attackMenuPriority; + private int[] anIntArray1402; + static int anInt1403; + static int anInt1404; + private byte aByte1405; + private int anInt1406; + + final boolean method793(int i) { + anInt1403++; + if (this.anIntArray1377 == null) { + return this.anInt1343 != -1 || this.anInt1364 != -1 || this.anInt1327 != -1; + } + for (int i_0_ = i; this.anIntArray1377.length > i_0_; i_0_++) { + if (this.anIntArray1377[i_0_] != -1) { + NpcComposition class79_1_ = (this.aClass278_1348.method2079(this.anIntArray1377[i_0_], -1)); + if (class79_1_.anInt1343 != -1 || class79_1_.anInt1364 != -1 || class79_1_.anInt1327 != -1) return true; + } + } + return false; + } + + final NpcComposition method794(Interface17 interface17, int i) { + anInt1394++; + int i_2_ = i; + if (anInt1368 == -1) { + if (anInt1354 != -1) i_2_ = interface17.method61(anInt1354, (byte) -16); + } else i_2_ = interface17.method62(anInt1368, -65536); + if (i_2_ < 0 || (-1 + this.anIntArray1377.length <= i_2_) || this.anIntArray1377[i_2_] == -1) { + int i_3_ = (this.anIntArray1377[this.anIntArray1377.length - 1]); + if (i_3_ == -1) return null; + return this.aClass278_1348.method2079(i_3_, i); + } + return this.aClass278_1348.method2079(this.anIntArray1377[i_2_], -1); + } + + private final void method795(Buffer class348_sub49, int i, int i_4_) { + if (i_4_ != 127) this.aBoolean1381 = true; + if (i == 1) { + int i_5_ = class348_sub49.readUnsignedByte(255); + anIntArray1402 = new int[i_5_]; + for (int i_6_ = 0; i_5_ > i_6_; i_6_++) { + anIntArray1402[i_6_] = class348_sub49.readUnsignedShort(842397944); + if (anIntArray1402[i_6_] == 65535) anIntArray1402[i_6_] = -1; + } + } else if (i != 2) { + if (i != 12) { + if (i < 30 || i >= 35) { + if (i == 40) { + int i_25_ = class348_sub49.readUnsignedByte(255); + aShortArray1328 = new short[i_25_]; + aShortArray1352 = new short[i_25_]; + for (int i_26_ = 0; i_26_ < i_25_; i_26_++) { + aShortArray1328[i_26_] = (short) class348_sub49.readUnsignedShort(842397944); + aShortArray1352[i_26_] = (short) class348_sub49.readUnsignedShort(842397944); + } + } else if (i == 41) { + int i_23_ = class348_sub49.readUnsignedByte(255); + aShortArray1393 = new short[i_23_]; + aShortArray1391 = new short[i_23_]; + for (int i_24_ = 0; i_24_ < i_23_; i_24_++) { + aShortArray1393[i_24_] = (short) class348_sub49.readUnsignedShort(842397944); + aShortArray1391[i_24_] = (short) class348_sub49.readUnsignedShort(842397944); + } + } else if (i == 42) { + int i_7_ = class348_sub49.readUnsignedByte(i_4_ ^ 0x80); + aByteArray1374 = new byte[i_7_]; + for (int i_8_ = 0; i_8_ < i_7_; i_8_++) + aByteArray1374[i_8_] = class348_sub49.readByte(-88); + } else if (i == 60) { + int i_9_ = class348_sub49.readUnsignedByte(255); + anIntArray1380 = new int[i_9_]; + for (int i_10_ = 0; i_9_ > i_10_; i_10_++) + anIntArray1380[i_10_] = class348_sub49.readUnsignedShort(842397944); + } else if (i != 93) { + if (i != 95) { + if (i != 97) { + if (i != 98) { + if (i == 99) this.aBoolean1345 = true; + else if (i != 100) { + if (i == 101) anInt1406 = 5 * (class348_sub49.readByte(i_4_ ^ ~0x27)); + else if (i == 102) this.anInt1375 = (class348_sub49.readUnsignedShort(i_4_ + 842397817)); + else if (i == 103) this.anInt1329 = (class348_sub49.readUnsignedShort(842397944)); + else if ((i == 106) || i == 118) { + anInt1368 = (class348_sub49.readUnsignedShort(842397944)); + if (anInt1368 == 65535) anInt1368 = -1; + anInt1354 = (class348_sub49.readUnsignedShort(842397944)); + if (anInt1354 == 65535) anInt1354 = -1; + int i_11_ = -1; + if (i == 118) { + i_11_ = (class348_sub49.readUnsignedShort(842397944)); + if (i_11_ == 65535) i_11_ = -1; + } + int i_12_ = class348_sub49.readUnsignedByte(255); + this.anIntArray1377 = new int[2 + i_12_]; + for (int i_13_ = 0; i_13_ <= i_12_; i_13_++) { + this.anIntArray1377[i_13_] = (class348_sub49.readUnsignedShort(842397944)); + if ((this.anIntArray1377[i_13_]) == 65535) this.anIntArray1377[i_13_] = -1; + } + this.anIntArray1377[1 + i_12_] = i_11_; + } else if (i == 107) this.interactive = false; + else if (i != 109) { + if (i == 111) this.aBoolean1369 = false; + else if (i == 113) { + this.aShort1339 = (short) (class348_sub49.readUnsignedShort(842397944)); + this.aShort1350 = (short) (class348_sub49.readUnsignedShort(842397944)); + } else if (i == 114) { + this.aByte1353 = (class348_sub49.readByte(-110)); + this.aByte1347 = (class348_sub49.readByte(-85)); + } else if (i != 119) { + if (i == 121) { + anIntArrayArray1388 = (new int + [anIntArray1402.length] + []); + int i_14_ = (class348_sub49.readUnsignedByte(255)); + for (int i_15_ = 0; (i_14_ > i_15_); i_15_++) { + int i_16_ = (class348_sub49.readUnsignedByte(255)); + int[] is = (anIntArrayArray1388[i_16_] = new int[3]); + is[0] = (class348_sub49.readByte(NodeSub21.bitwiseXor(i_4_, -50))); + is[1] = (class348_sub49.readByte(-113)); + is[2] = (class348_sub49.readByte(-84)); + } + } else if (i == 122) this.anInt1373 = (class348_sub49.readUnsignedShort(842397944)); + else if (i != 123) { + if (i == 125) this.aByte1355 = (class348_sub49.readByte(-95)); + else if (i == 127) this.anInt1366 = (class348_sub49.readUnsignedShort(i_4_ + 842397817)); + else if (i != 128) { + if (i == 134) { + this.anInt1343 = class348_sub49.readUnsignedShort(842397944); + if (this.anInt1343 == 65535) this.anInt1343 = -1; + this.anInt1395 = class348_sub49.readUnsignedShort(842397944); + if (this.anInt1395 == 65535) this.anInt1395 = -1; + this.anInt1364 = class348_sub49.readUnsignedShort(842397944); + if (this.anInt1364 == 65535) this.anInt1364 = -1; + this.anInt1327 = class348_sub49.readUnsignedShort(i_4_ ^ 0x3235f887); + if (this.anInt1327 == 65535) this.anInt1327 = -1; + this.anInt1392 = class348_sub49.readUnsignedByte(255); + } else if (i == 135) { + this.anInt1335 = class348_sub49.readUnsignedByte(255); + this.anInt1371 = class348_sub49.readUnsignedShort(842397944); + } else if (i == 136) { + this.anInt1385 = class348_sub49.readUnsignedByte(255); + this.anInt1338 = class348_sub49.readUnsignedShort(842397944); + } else if (i != 137) { + if (i != 138) { + if (i != 139) { + if (i != 140) { + if (i == 141) this.aBoolean1362 = true; + else if (i == 142) this.anInt1383 = class348_sub49.readUnsignedShort(842397944); + else if (i != 143) { + if (i >= 150 && i < 155) { + this.actions[-150 + i] = class348_sub49.readString((byte) -73); + if (!this.aClass278_1348.aBoolean3583) this.actions[i + -150] = null; + } else if (i == 155) { + aByte1376 = class348_sub49.readByte(i_4_ ^ ~0x16); + aByte1360 = class348_sub49.readByte(-113); + aByte1330 = class348_sub49.readByte(-112); + aByte1405 = class348_sub49.readByte(-87); + } else if (i == 158) this.attackOptionMode = (byte) 1; + else if (i != 159) { + if (i == 160) { + int i_21_ = class348_sub49.readUnsignedByte(255); + this.anIntArray1342 = new int[i_21_]; + for (int i_22_ = 0; i_22_ < i_21_; i_22_++) + this.anIntArray1342[i_22_] = class348_sub49.readUnsignedShort(i_4_ + 842397817); + } else if (i == 162) this.aBoolean1370 = true; + else if (i != 163) { + if (i == 164) { + this.anInt1340 = class348_sub49.readUnsignedShort(842397944); + this.anInt1363 = class348_sub49.readUnsignedShort(842397944); + } else if (i != 165) { + if (i == 249) { + int i_17_ = class348_sub49.readUnsignedByte(255); + if (aClass356_1386 == null) { + int i_18_ = Component373.nextPowerOfTwo(i_17_, (byte) 108); + aClass356_1386 = new LruCache(i_18_); + } + for (int i_19_ = 0; i_17_ > i_19_; i_19_++) { + boolean bool = class348_sub49.readUnsignedByte(255) == 1; + int i_20_ = class348_sub49.readMedium(-1); + Node class348; + if (!bool) class348 = new NodeSub35(class348_sub49.readInt((byte) -126)); + else class348 = new NodeSub50(class348_sub49.readString((byte) -120)); + aClass356_1386.put((byte) 61, i_20_, class348); + } + } + } else this.anInt1337 = class348_sub49.readUnsignedByte(255); + } else this.anInt1333 = class348_sub49.readUnsignedByte(i_4_ + 128); + } else this.attackOptionMode = (byte) 0; + } else this.aBoolean1381 = true; + } else this.anInt1356 = class348_sub49.readUnsignedByte(i_4_ + 128); + } else this.anInt1382 = class348_sub49.readUnsignedShort(i_4_ + 842397817); + } else this.anInt1336 = class348_sub49.readUnsignedShort(842397944); + } else this.attackMenuPriority = class348_sub49.readUnsignedShort(842397944); + } else class348_sub49.readUnsignedByte(255); + } else this.anInt1390 = (class348_sub49.readUnsignedShort(i_4_ ^ 0x3235f887)); + } else this.aByte1325 = (class348_sub49.readByte(i_4_ + -245)); + } else this.aBoolean1331 = false; + } else anInt1398 = class348_sub49.readByte(-123); + } else anInt1358 = (class348_sub49.readUnsignedShort(i_4_ + 842397817)); + } else anInt1346 = class348_sub49.readUnsignedShort(842397944); + } else this.combatLevel = class348_sub49.readUnsignedShort(842397944); + } else this.aBoolean1397 = false; + } else this.actions[-30 + i] = class348_sub49.readString((byte) 124); + } else this.anInt1399 = class348_sub49.readUnsignedByte(i_4_ + 128); + } else this.name = class348_sub49.readString((byte) 122); + anInt1357++; + } + + final boolean method796(Interface17 interface17, int i) { + anInt1351++; + if (this.anIntArray1377 == null) return true; + int i_27_ = -1; + if (anInt1368 != -1) i_27_ = interface17.method62(anInt1368, -65536); + else if (anInt1354 != -1) i_27_ = interface17.method61(anInt1354, (byte) -16); + if (i_27_ < 0 || (this.anIntArray1377.length - 1 <= i_27_) || this.anIntArray1377[i_27_] == -1) { + int i_28_ = (this.anIntArray1377[this.anIntArray1377.length - 1]); + return i_28_ != -1; + } + return i == 18627; + } + + static final void method797(int i, int i_29_, byte i_30_) { + anInt1379++; + if (DefinitionSub6.anInt9139 != i_29_) { + RenderableSub6.anIntArray6432 = new int[i_29_]; + for (int i_31_ = 0; i_31_ < i_29_; i_31_++) + RenderableSub6.anIntArray6432[i_31_] = (i_31_ << 12) / i_29_; + Component287.anInt6076 = i_29_ + -1; + DefinitionSub6.anInt9139 = i_29_; + Component253.anInt3201 = 32 * i_29_; + } + if (i_30_ <= 108) aClient1367 = null; + if (ShaderProgramSub2.anInt6212 != i) { + if (DefinitionSub6.anInt9139 != i) { + Component302.anIntArray6035 = new int[i]; + for (int i_32_ = 0; i_32_ < i; i_32_++) + Component302.anIntArray6035[i_32_] = (i_32_ << 12) / i; + } else Component302.anIntArray6035 = RenderableSub6.anIntArray6432; + ShaderProgramSub2.anInt6212 = i; + DisplayModeManagerContainer356.anInt6325 = -1 + i; + } + } + + final void method798(int i, Buffer class348_sub49) { + for (; ; ) { + int i_33_ = class348_sub49.readUnsignedByte(255); + if (i_33_ == 0) break; + method795(class348_sub49, i_33_, 127); + } + anInt1400++; + if (i <= 35) method798(-16, null); + } + + final void method799(int i) { + if (anIntArray1402 == null) anIntArray1402 = new int[0]; + if (i >= -75) aByte1376 = (byte) 102; + anInt1334++; + if (this.attackOptionMode == -1) { + if (RunescapeInfo.RUNESCAPE == this.aClass278_1348.aClass230_3578) this.attackOptionMode = (byte) 1; + else this.attackOptionMode = (byte) 0; + } + } + + final DisplayModeManagerContainer370 method800(int i, Component280[] class182s, Component344 class87, boolean bool, DisplayModeManagerContainer167 class17, int i_34_, DisplayModeManagerContainer1 class261, int i_35_, DisplayModeManagerContainer167 class17_36_, Interface17 interface17, GraphicsToolkit var_ha, int i_37_, int[] is, int i_38_, int i_39_, int i_40_, int i_41_) { + try { + anInt1341++; + if (this.anIntArray1377 != null) { + NpcComposition class79_42_ = method794(interface17, -1); + if (class79_42_ == null) return null; + return class79_42_.method800(i, class182s, class87, false, class17, i_34_, class261, i_35_, class17_36_, interface17, var_ha, i_37_, is, i_38_, i_39_, i_40_, i_41_); + } + int i_43_ = i_40_; + if (anInt1358 != 128) i_43_ |= 0x2; + if (anInt1346 != 128) i_43_ |= 0x5; + boolean bool_44_ = class17_36_ != null || class17 != null; + boolean bool_45_ = false; + boolean bool_46_ = false; + boolean bool_47_ = false; + boolean bool_48_ = bool; + int i_49_ = class182s == null ? 0 : class182s.length; + for (int i_50_ = 0; i_50_ < i_49_; i_50_++) { + Component349.aClass348_Sub42_Sub17Array10010[i_50_] = null; + if (class182s[i_50_] != null) { + DisplayModeManagerContainer167 class17_51_ = class87.method835((class182s[i_50_].anInt2454), 7); + if (class17_51_.anIntArray237 != null) { + bool_44_ = true; + ImageTagText.aClass17Array2169[i_50_] = class17_51_; + int i_52_ = class182s[i_50_].anInt2451; + int i_53_ = class182s[i_50_].anInt2455; + int i_54_ = class17_51_.anIntArray237[i_52_]; + Component349.aClass348_Sub42_Sub17Array10010[i_50_] = class87.method839(i_54_ >>> 16, 3); + i_54_ &= 0xffff; + Component330.anIntArray1518[i_50_] = i_54_; + if ((Component349.aClass348_Sub42_Sub17Array10010[i_50_]) != null) { + bool_46_ |= Component349.aClass348_Sub42_Sub17Array10010[i_50_].method3272(i_54_, 0); + bool_45_ |= Component349.aClass348_Sub42_Sub17Array10010[i_50_].method3271(i_54_, 14); + bool_48_ |= Component349.aClass348_Sub42_Sub17Array10010[i_50_].method3267((byte) -92, i_54_); + bool_47_ |= class17_51_.aBoolean242; + } + if ((class17_51_.aBoolean241 || DisplayModeManagerContainer332.aBoolean5002) && i_53_ != -1 && i_53_ < (class17_51_.anIntArray237).length) { + Component179.anIntArray9050[i_50_] = class17_51_.anIntArray267[i_52_]; + VideoAdPlayer.anIntArray4648[i_50_] = class182s[i_50_].anInt2456; + int i_55_ = class17_51_.anIntArray237[i_53_]; + HashNodeSub17.aClass348_Sub42_Sub17Array9672[i_50_] = class87.method839(i_55_ >>> 16, 3); + i_55_ &= 0xffff; + Component191.anIntArray2466[i_50_] = i_55_; + if ((HashNodeSub17.aClass348_Sub42_Sub17Array9672[i_50_]) != null) { + bool_46_ |= HashNodeSub17.aClass348_Sub42_Sub17Array9672[i_50_].method3272(i_55_, 0); + bool_45_ |= HashNodeSub17.aClass348_Sub42_Sub17Array9672[i_50_].method3271(i_55_, 14); + bool_48_ |= HashNodeSub17.aClass348_Sub42_Sub17Array9672[i_50_].method3267((byte) -99, i_55_); + } + } else { + Component179.anIntArray9050[i_50_] = 0; + VideoAdPlayer.anIntArray4648[i_50_] = 0; + HashNodeSub17.aClass348_Sub42_Sub17Array9672[i_50_] = null; + Component191.anIntArray2466[i_50_] = -1; + } + } + } + } + int i_56_ = -1; + int i_57_ = -1; + int i_58_ = 0; + HashNodeSub17 class348_sub42_sub17 = null; + HashNodeSub17 class348_sub42_sub17_59_ = null; + int i_60_ = -1; + int i_61_ = -1; + int i_62_ = 0; + HashNodeSub17 class348_sub42_sub17_63_ = null; + HashNodeSub17 class348_sub42_sub17_64_ = null; + if (bool_44_) { + i_43_ |= 0x20; + if (class17_36_ != null) { + i_56_ = class17_36_.anIntArray237[i_35_]; + int i_65_ = i_56_ >>> 16; + i_56_ &= 0xffff; + class348_sub42_sub17 = class87.method839(i_65_, 3); + if (class348_sub42_sub17 != null) { + bool_46_ |= class348_sub42_sub17.method3272(i_56_, 0); + bool_45_ |= class348_sub42_sub17.method3271(i_56_, 14); + bool_48_ |= class348_sub42_sub17.method3267((byte) -125, i_56_); + bool_47_ |= class17_36_.aBoolean242; + } + if ((class17_36_.aBoolean241 || DisplayModeManagerContainer332.aBoolean5002) && i_38_ != -1 && (class17_36_.anIntArray237.length > i_38_)) { + i_57_ = class17_36_.anIntArray237[i_38_]; + i_58_ = class17_36_.anIntArray267[i_35_]; + int i_66_ = i_57_ >>> 16; + if (i_65_ == i_66_) class348_sub42_sub17_59_ = class348_sub42_sub17; + else class348_sub42_sub17_59_ = class87.method839(i_66_, 3); + i_57_ &= 0xffff; + if (class348_sub42_sub17_59_ != null) { + bool_46_ |= class348_sub42_sub17_59_.method3272(i_57_, 0); + bool_45_ |= class348_sub42_sub17_59_.method3271(i_57_, 14); + bool_48_ |= class348_sub42_sub17_59_.method3267((byte) -122, i_57_); + } + } + } + if (class17 != null) { + i_60_ = class17.anIntArray237[i_39_]; + int i_67_ = i_60_ >>> 16; + class348_sub42_sub17_63_ = class87.method839(i_67_, 3); + i_60_ &= 0xffff; + if (class348_sub42_sub17_63_ != null) { + bool_46_ |= class348_sub42_sub17_63_.method3272(i_60_, 0); + bool_45_ |= class348_sub42_sub17_63_.method3271(i_60_, 14); + bool_48_ |= class348_sub42_sub17_63_.method3267((byte) -102, i_60_); + bool_47_ |= class17.aBoolean242; + } + if ((class17.aBoolean241 || DisplayModeManagerContainer332.aBoolean5002) && i_37_ != -1 && class17.anIntArray237.length > i_37_) { + i_62_ = class17.anIntArray267[i_39_]; + i_61_ = class17.anIntArray237[i_37_]; + int i_68_ = i_61_ >>> 16; + if (i_68_ == i_67_) class348_sub42_sub17_64_ = class348_sub42_sub17_63_; + else class348_sub42_sub17_64_ = class87.method839(i_68_, 3); + i_61_ &= 0xffff; + if (class348_sub42_sub17_64_ != null) { + bool_46_ |= class348_sub42_sub17_64_.method3272(i_61_, 0); + bool_45_ |= class348_sub42_sub17_64_.method3271(i_61_, 14); + bool_48_ |= class348_sub42_sub17_64_.method3267((byte) -104, i_61_); + } + } + } + if (bool_46_) i_43_ |= 0x80; + if (bool_45_) i_43_ |= 0x100; + if (bool_47_) i_43_ |= 0x200; + if (bool_48_) i_43_ |= 0x400; + } + long l = var_ha.anInt4567 << 16 | this.id; + DisplayModeManagerContainer370 class64; + synchronized (this.aClass278_1348.aClass60_3590) { + class64 = (DisplayModeManagerContainer370) this.aClass278_1348.aClass60_3590.get(l, 80); + } + Component241 class225 = null; + if (this.anInt1366 != -1) class225 = class261.get(this.anInt1366, 32); + if (class64 == null || i_43_ != (i_43_ & class64.ua())) { + if (class64 != null) i_43_ |= class64.ua(); + int i_69_ = i_43_; + boolean bool_70_ = false; + synchronized (this.aClass278_1348.aClass45_3576) { + for (int i_71_ = 0; (anIntArray1402.length > i_71_); i_71_++) { + if (anIntArray1402[i_71_] != -1 && !(this.aClass278_1348.aClass45_3576.isFileReady(-10499, anIntArray1402[i_71_], 0))) bool_70_ = true; + } + } + if (bool_70_) return null; + DisplayModeManagerContainer77[] class124s = new DisplayModeManagerContainer77[anIntArray1402.length]; + for (int i_72_ = 0; i_72_ < anIntArray1402.length; i_72_++) { + if (anIntArray1402[i_72_] != -1) { + synchronized (this.aClass278_1348.aClass45_3576) { + class124s[i_72_] = Component189.loadFromCache(0, (this.aClass278_1348.aClass45_3576), anIntArray1402[i_72_], -1); + } + if (class124s[i_72_] != null) { + if (class124s[i_72_].anInt1830 < 13) class124s[i_72_].method1092(2, 115); + if (anIntArrayArray1388 != null && anIntArrayArray1388[i_72_] != null) class124s[i_72_].method1099((byte) 44, anIntArrayArray1388[i_72_][2], anIntArrayArray1388[i_72_][0], anIntArrayArray1388[i_72_][1]); + } + } + } + if (class225 != null && class225.anIntArrayArray2939 != null) { + for (int i_73_ = 0; (i_73_ < class225.anIntArrayArray2939.length); i_73_++) { + if (class124s.length > i_73_ && class124s[i_73_] != null) { + int i_74_ = 0; + int i_75_ = 0; + int i_76_ = 0; + int i_77_ = 0; + int i_78_ = 0; + int i_79_ = 0; + if ((class225.anIntArrayArray2939[i_73_]) != null) { + i_78_ = ((class225.anIntArrayArray2939[i_73_][4]) << 3); + i_79_ = ((class225.anIntArrayArray2939[i_73_][5]) << 3); + i_75_ = (class225.anIntArrayArray2939[i_73_][1]); + i_76_ = (class225.anIntArrayArray2939[i_73_][2]); + i_77_ = ((class225.anIntArrayArray2939[i_73_][3]) << 3); + i_74_ = (class225.anIntArrayArray2939[i_73_][0]); + } + if (i_77_ != 0 || i_78_ != 0 || i_79_ != 0) class124s[i_73_].method1107(6875, i_78_, i_79_, i_77_); + if (i_74_ != 0 || i_75_ != 0 || i_76_ != 0) class124s[i_73_].method1099((byte) 93, i_76_, i_74_, i_75_); + } + } + } + DisplayModeManagerContainer77 class124; + if (class124s.length == 1) class124 = class124s[0]; + else class124 = new DisplayModeManagerContainer77(class124s, class124s.length); + if (aShortArray1328 != null) i_69_ |= 0x4000; + if (aShortArray1393 != null) i_69_ |= 0x8000; + if (aByte1405 != 0) i_69_ |= 0x80000; + class64 = var_ha.method3625(class124, i_69_, (this.aClass278_1348.anInt3593), 64 + anInt1398, 850 + anInt1406); + if (aShortArray1328 != null) { + for (int i_80_ = 0; (i_80_ < aShortArray1328.length); i_80_++) { + if (aByteArray1374 == null || aByteArray1374.length <= i_80_) class64.ia(aShortArray1328[i_80_], aShortArray1352[i_80_]); + else class64.ia(aShortArray1328[i_80_], (HashNodeSub3.aShortArray9502[aByteArray1374[i_80_] & 0xff])); + } + } + if (aShortArray1393 != null) { + for (int i_81_ = 0; aShortArray1393.length > i_81_; i_81_++) + class64.Shader(aShortArray1393[i_81_], aShortArray1391[i_81_]); + } + if (aByte1405 != 0) class64.method624(aByte1376, aByte1360, aByte1330, aByte1405 & 0xff); + class64.s(i_43_); + synchronized (this.aClass278_1348.aClass60_3590) { + this.aClass278_1348.aClass60_3590.putOne(class64, this.id | var_ha.anInt4567 << 16, (byte) -125); + } + } + DisplayModeManagerContainer370 class64_82_ = class64.method614((byte) 4, i_43_, true); + boolean bool_83_ = false; + if (is != null) { + for (int i_84_ = 0; i_84_ < 12; i_84_++) { + if (is[i_84_] != -1) bool_83_ = true; + } + } + if (!bool_44_ && !bool_83_) return class64_82_; + DisplayModeManagerContainer204[] class101s = null; + if (class225 != null) class101s = class225.method1618(var_ha, 0); + if (bool_83_ && class101s != null) { + for (int i_85_ = 0; i_85_ < 12; i_85_++) { + if (class101s[i_85_] != null) class64_82_.method610(class101s[i_85_], 1 << i_85_, true); + } + } + int i_86_ = 0; + int i_87_ = 1; + while (i_86_ < i_49_) { + if ((Component349.aClass348_Sub42_Sub17Array10010[i_86_]) != null) + class64_82_.method603((byte) -55, -1 + VideoAdPlayer.anIntArray4648[i_86_], null, i_87_, Component330.anIntArray1518[i_86_], Component191.anIntArray2466[i_86_], (HashNodeSub17.aClass348_Sub42_Sub17Array9672[i_86_]), 0, (Component349.aClass348_Sub42_Sub17Array10010[i_86_]), (ImageTagText.aClass17Array2169[i_86_].aBoolean242), Component179.anIntArray9050[i_86_]); + i_86_++; + i_87_ <<= 1; + } + if (bool_83_) { + for (int i_88_ = 0; i_88_ < 12; i_88_++) { + if (is[i_88_] != -1) { + int i_89_ = -i + is[i_88_]; + i_89_ &= 0x3fff; + DisplayModeManagerContainer204 class101 = var_ha.method3654(); + class101.method895(i_89_); + class64_82_.method610(class101, 1 << i_88_, false); + } + } + } + if (bool_83_ && class101s != null) { + for (int i_90_ = 0; i_90_ < 12; i_90_++) { + if (class101s[i_90_] != null) class64_82_.method610(class101s[i_90_], 1 << i_90_, false); + } + } + if (class348_sub42_sub17 != null && class348_sub42_sub17_63_ != null) + class64_82_.method625(class348_sub42_sub17_59_, i_58_, (byte) 122, i_62_, class348_sub42_sub17_63_, i_56_, i_60_, -1 + i_41_, class348_sub42_sub17, (class17_36_.aBoolean242 | class17.aBoolean242), i_57_, class348_sub42_sub17_64_, -1 + i_34_, class17_36_.aBooleanArray263, i_61_); + else if (class348_sub42_sub17 != null) class64_82_.method617(i_56_, i_58_, class348_sub42_sub17_59_, 0, class348_sub42_sub17, bool, class17_36_.aBoolean242, i_57_, i_41_ + -1); + else if (class348_sub42_sub17_63_ != null) class64_82_.method617(i_60_, i_62_, class348_sub42_sub17_64_, 0, class348_sub42_sub17_63_, false, class17.aBoolean242, i_61_, i_34_ - 1); + for (int i_91_ = 0; i_49_ > i_91_; i_91_++) { + Component349.aClass348_Sub42_Sub17Array10010[i_91_] = null; + HashNodeSub17.aClass348_Sub42_Sub17Array9672[i_91_] = null; + ImageTagText.aClass17Array2169[i_91_] = null; + } + if (anInt1346 != 128 || anInt1358 != 128) class64_82_.O(anInt1346, anInt1358, anInt1346); + class64_82_.s(i_40_); + return class64_82_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bb.F(" + i + ',' + (class182s != null ? "{...}" : "null") + ',' + (class87 != null ? "{...}" : "null") + ',' + bool + ',' + (class17 != null ? "{...}" : "null") + ',' + i_34_ + ',' + (class261 != null ? "{...}" : "null") + ',' + i_35_ + ',' + (class17_36_ != null ? "{...}" : "null") + ',' + (interface17 != null ? "{...}" : "null") + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_37_ + ',' + (is != null ? "{...}" : "null") + ',' + i_38_ + ',' + i_39_ + ',' + i_40_ + ',' + i_41_ + ')')); + } + } + + final String method801(byte i, int i_92_, String string) { + anInt1378++; + if (aClass356_1386 == null) return string; + if (i != 17) method801((byte) -115, -68, null); + NodeSub50 class348_sub50 = ((NodeSub50) aClass356_1386.get(i_92_, i + -6025)); + if (class348_sub50 == null) return string; + return class348_sub50.stringValue; + } + + static final boolean method802(int i, int i_93_, boolean bool) { + if (bool != true) return false; + anInt1332++; + if (i_93_ < 0 || i < 0 || i_93_ >= ObjectDeserializer.aByteArrayArrayArray6962[1].length || i >= ObjectDeserializer.aByteArrayArrayArray6962[1][i_93_].length) return false; + return (ObjectDeserializer.aByteArrayArrayArray6962[1][i_93_][i] & 0x2) != 0; + } + + final DisplayModeManagerContainer370 method803(Interface17 interface17, GraphicsToolkit var_ha, int i, int i_94_, DisplayModeManagerContainer167 class17, Component344 class87, int i_95_, int i_96_, int i_97_) { + try { + anInt1389++; + if (this.anIntArray1377 != null) { + NpcComposition class79_98_ = method794(interface17, -1); + if (class79_98_ == null) return null; + return class79_98_.method803(interface17, var_ha, i, i_94_, class17, class87, i_95_, 104, i_97_); + } + if (i_96_ <= 98) method796(null, -10); + if (anIntArray1380 == null) return null; + int i_99_ = i_97_; + if (class17 != null && i_95_ != -1) i_99_ |= class17.method263(i_94_, 97, i_95_, true); + DisplayModeManagerContainer370 class64; + synchronized (this.aClass278_1348.aClass60_3592) { + class64 = ((DisplayModeManagerContainer370) (this.aClass278_1348.aClass60_3592.get(var_ha.anInt4567 << 16 | this.id, 64))); + } + if (class64 == null || i_99_ != (class64.ua() & i_99_)) { + if (class64 != null) i_99_ |= class64.ua(); + int i_100_ = i_99_; + boolean bool = false; + synchronized (this.aClass278_1348.aClass45_3576) { + for (int i_101_ = 0; (anIntArray1380.length > i_101_); i_101_++) { + if (!this.aClass278_1348.aClass45_3576.isFileReady(-10499, anIntArray1380[i_101_], 0)) bool = true; + } + } + if (bool) return null; + DisplayModeManagerContainer77[] class124s = new DisplayModeManagerContainer77[anIntArray1380.length]; + synchronized (this.aClass278_1348.aClass45_3576) { + for (int i_102_ = 0; (anIntArray1380.length > i_102_); i_102_++) + class124s[i_102_] = Component189.loadFromCache(0, (this.aClass278_1348.aClass45_3576), anIntArray1380[i_102_], -1); + } + for (int i_103_ = 0; (i_103_ < anIntArray1380.length); i_103_++) { + if (class124s[i_103_] != null && class124s[i_103_].anInt1830 < 13) class124s[i_103_].method1092(2, 66); + } + DisplayModeManagerContainer77 class124; + if (class124s.length == 1) class124 = class124s[0]; + else class124 = new DisplayModeManagerContainer77(class124s, class124s.length); + if (aShortArray1328 != null) i_100_ |= 0x4000; + if (aShortArray1393 != null) i_100_ |= 0x8000; + if (aByte1405 != 0) i_100_ |= 0x80000; + class64 = var_ha.method3625(class124, i_100_, (this.aClass278_1348.anInt3593), 64, 768); + if (aShortArray1328 != null) { + for (int i_104_ = 0; (aShortArray1328.length > i_104_); i_104_++) { + if (aByteArray1374 != null && aByteArray1374.length > i_104_) class64.ia(aShortArray1328[i_104_], (HashNodeSub3.aShortArray9502[0xff & aByteArray1374[i_104_]])); + else class64.ia(aShortArray1328[i_104_], aShortArray1352[i_104_]); + } + } + if (aShortArray1393 != null) { + for (int i_105_ = 0; aShortArray1393.length > i_105_; i_105_++) + class64.Shader(aShortArray1393[i_105_], aShortArray1391[i_105_]); + } + if (aByte1405 != 0) class64.method624(aByte1376, aByte1360, aByte1330, aByte1405 & 0xff); + class64.s(i_99_); + synchronized (this.aClass278_1348.aClass60_3592) { + this.aClass278_1348.aClass60_3592.putOne(class64, var_ha.anInt4567 << 16 | this.id, (byte) -96); + } + } + if (class17 != null && i_95_ != -1) class64 = class17.method269(-9, class64, i_94_, i, i_99_, i_95_); + class64.s(i_97_); + return class64; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bb.H(" + (interface17 != null ? "{...}" : "null") + ',' + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + i_94_ + ',' + (class17 != null ? "{...}" : "null") + ',' + (class87 != null ? "{...}" : "null") + ',' + i_95_ + ',' + i_96_ + ',' + i_97_ + ')')); + } + } + + public static void method804(int i) { + aClass105_1365 = null; + aClient1367 = null; + if (i != -3752) anInt1387 = 14; + } + + final int method805(int i, int i_106_, int i_107_) { + anInt1326++; + if (aClass356_1386 == null) return i; + if (i_107_ <= 12) method805(46, 116, 126); + NodeSub35 class348_sub35 = (NodeSub35) aClass356_1386.get(i_106_, -6008); + if (class348_sub35 == null) return i; + return class348_sub35.intValue; + } + + public NpcComposition() { + anInt1346 = 128; + this.anInt1335 = -1; + this.anInt1337 = 0; + anInt1354 = -1; + this.aBoolean1345 = false; + this.anInt1336 = -1; + this.aByte1355 = (byte) 4; + this.anInt1356 = 255; + this.anInt1340 = 256; + this.anInt1373 = -1; + this.anInt1375 = -1; + this.anInt1338 = -1; + this.anInt1363 = 256; + this.aShort1339 = (short) 0; + this.actions = new String[5]; + anInt1358 = 128; + this.aByte1353 = (byte) -96; + this.aBoolean1362 = false; + this.anInt1343 = -1; + this.attackOptionMode = (byte) -1; + this.aBoolean1381 = false; + this.anInt1383 = -1; + this.name = "null"; + this.anInt1382 = -1; + this.anInt1371 = -1; + this.aByte1325 = (byte) 0; + anInt1368 = -1; + this.anInt1390 = -1; + this.aBoolean1331 = true; + this.aByte1347 = (byte) -16; + this.anInt1366 = -1; + anInt1398 = 0; + this.anInt1392 = 0; + this.anInt1364 = -1; + this.anInt1327 = -1; + this.combatLevel = -1; + this.anInt1329 = 32; + aByte1405 = (byte) 0; + this.anInt1385 = -1; + this.anInt1395 = -1; + this.aBoolean1369 = true; + this.anInt1399 = 1; + this.attackMenuPriority = -1; + this.interactive = true; + this.aBoolean1397 = true; + anInt1406 = 0; + } +} diff --git a/client/native/CacheNodeSub1.java b/client/native/CacheNodeSub1.java new file mode 100644 index 000000000..e4323e9a7 --- /dev/null +++ b/client/native/CacheNodeSub1.java @@ -0,0 +1,376 @@ +/* CacheNodeSub1 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class CacheNodeSub1 +/** + * RENAMED from `CacheNodeSub1` (JODE-obfuscated). + * Evidence: extends r (r) + */ extends r { + int anInt10466; + int anInt10467; + int anInt10468; + static int anInt10469; + static int anInt10470; + byte[] aByteArray10471; + static int anInt10472; + static int anInt10473; + int anInt10474; + static int anInt10475; + static int anInt10476; + static StringCache aClass351_10477 = new StringCache(22, 7); + static int[] anIntArray10478 = new int[1]; + static NodeList aClass262_10479; + + final void method3286(int i, int i_0_, int i_1_, int i_2_, int i_3_) { + this.anInt10466 = i - i_3_; + this.anInt10467 = i_1_ + -i_2_; + this.anInt10468 = i_3_; + if (i_0_ > -96) method3289(27); + anInt10473++; + this.anInt10474 = i_2_; + } + + final void method3287(int i, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_) { + anInt10472++; + int i_10_ = 0; + if (i_7_ != i) i_10_ = (-i_5_ + i_6_ << 16) / (i_7_ + -i); + int i_11_ = 0; + if (i_7_ != i_8_) i_11_ = (-i_6_ + i_9_ << 16) / (i_8_ + -i_7_); + int i_12_ = -10 % ((-65 - i_4_) / 55); + int i_13_ = 0; + if (i_8_ != i) i_13_ = (i_5_ - i_9_ << 16) / (i + -i_8_); + if (i > i_7_ || i > i_8_) { + if (i_8_ >= i_7_) { + if (i_8_ >= i) { + i_9_ = i_6_ <<= 477681040; + if (i_7_ < 0) { + i_6_ -= i_7_ * i_11_; + i_9_ -= i_7_ * i_10_; + i_7_ = 0; + } + i_5_ <<= 193943408; + if (i < 0) { + i_5_ -= i * i_13_; + i = 0; + } + if (i_11_ > i_10_) { + i_8_ -= i; + i -= i_7_; + i_7_ = this.anInt10466 * i_7_; + while (--i >= 0) { + Component373.method339(i_7_, i_9_ >> 16, this.aByteArray10471, 0, 1354705384, i_6_ >> 16); + i_9_ += i_10_; + i_7_ += this.anInt10466; + i_6_ += i_11_; + } + while (--i_8_ >= 0) { + Component373.method339(i_7_, i_5_ >> 16, this.aByteArray10471, 0, 1354705384, i_6_ >> 16); + i_6_ += i_11_; + i_7_ += this.anInt10466; + i_5_ += i_13_; + } + } else { + i_8_ -= i; + i -= i_7_; + i_7_ = this.anInt10466 * i_7_; + while (--i >= 0) { + Component373.method339(i_7_, i_6_ >> 16, this.aByteArray10471, 0, 1354705384, i_9_ >> 16); + i_7_ += this.anInt10466; + i_6_ += i_11_; + i_9_ += i_10_; + } + while (--i_8_ >= 0) { + Component373.method339(i_7_, i_6_ >> 16, this.aByteArray10471, 0, 1354705384, i_5_ >> 16); + i_6_ += i_11_; + i_5_ += i_13_; + i_7_ += this.anInt10466; + } + } + } else { + i_5_ = i_6_ <<= -1310795248; + if (i_7_ < 0) { + i_6_ -= i_11_ * i_7_; + i_5_ -= i_10_ * i_7_; + i_7_ = 0; + } + i_9_ <<= -280513936; + if (i_8_ < 0) { + i_9_ -= i_8_ * i_13_; + i_8_ = 0; + } + if ((i_8_ == i_7_ || i_10_ >= i_11_) && (i_8_ != i_7_ || i_13_ >= i_10_)) { + i -= i_8_; + i_8_ -= i_7_; + i_7_ *= this.anInt10466; + while (--i_8_ >= 0) { + Component373.method339(i_7_, i_6_ >> 16, this.aByteArray10471, 0, 1354705384, i_5_ >> 16); + i_7_ += this.anInt10466; + i_5_ += i_10_; + i_6_ += i_11_; + } + while (--i >= 0) { + Component373.method339(i_7_, i_9_ >> 16, this.aByteArray10471, 0, 1354705384, i_5_ >> 16); + i_7_ += this.anInt10466; + i_5_ += i_10_; + i_9_ += i_13_; + } + } else { + i -= i_8_; + i_8_ -= i_7_; + i_7_ *= this.anInt10466; + while (--i_8_ >= 0) { + Component373.method339(i_7_, i_5_ >> 16, this.aByteArray10471, 0, 1354705384, i_6_ >> 16); + i_6_ += i_11_; + i_7_ += this.anInt10466; + i_5_ += i_10_; + } + while (--i >= 0) { + Component373.method339(i_7_, i_5_ >> 16, this.aByteArray10471, 0, 1354705384, i_9_ >> 16); + i_7_ += this.anInt10466; + i_9_ += i_13_; + i_5_ += i_10_; + } + } + } + } else if (i_7_ > i) { + i_6_ = i_9_ <<= -547798224; + i_5_ <<= -1378422192; + if (i_8_ < 0) { + i_9_ -= i_13_ * i_8_; + i_6_ -= i_11_ * i_8_; + i_8_ = 0; + } + if (i < 0) { + i_5_ -= i_10_ * i; + i = 0; + } + if (i_13_ > i_11_) { + i_7_ -= i; + i -= i_8_; + i_8_ *= this.anInt10466; + while (--i >= 0) { + Component373.method339(i_8_, i_6_ >> 16, this.aByteArray10471, 0, 1354705384, i_9_ >> 16); + i_8_ += this.anInt10466; + i_6_ += i_11_; + i_9_ += i_13_; + } + while (--i_7_ >= 0) { + Component373.method339(i_8_, i_6_ >> 16, this.aByteArray10471, 0, 1354705384, i_5_ >> 16); + i_5_ += i_10_; + i_8_ += this.anInt10466; + i_6_ += i_11_; + } + } else { + i_7_ -= i; + i -= i_8_; + i_8_ = this.anInt10466 * i_8_; + while (--i >= 0) { + Component373.method339(i_8_, i_9_ >> 16, this.aByteArray10471, 0, 1354705384, i_6_ >> 16); + i_6_ += i_11_; + i_8_ += this.anInt10466; + i_9_ += i_13_; + } + while (--i_7_ >= 0) { + Component373.method339(i_8_, i_5_ >> 16, this.aByteArray10471, 0, 1354705384, i_6_ >> 16); + i_5_ += i_10_; + i_8_ += this.anInt10466; + i_6_ += i_11_; + } + } + } else { + i_5_ = i_9_ <<= -2101498192; + if (i_8_ < 0) { + i_9_ -= i_13_ * i_8_; + i_5_ -= i_8_ * i_11_; + i_8_ = 0; + } + i_6_ <<= -1561324976; + if (i_7_ < 0) { + i_6_ -= i_10_ * i_7_; + i_7_ = 0; + } + if (i_11_ >= i_13_) { + i -= i_7_; + i_7_ -= i_8_; + i_8_ = this.anInt10466 * i_8_; + while (--i_7_ >= 0) { + Component373.method339(i_8_, i_9_ >> 16, this.aByteArray10471, 0, 1354705384, i_5_ >> 16); + i_8_ += this.anInt10466; + i_5_ += i_11_; + i_9_ += i_13_; + } + while (--i >= 0) { + Component373.method339(i_8_, i_9_ >> 16, this.aByteArray10471, 0, 1354705384, i_6_ >> 16); + i_6_ += i_10_; + i_9_ += i_13_; + i_8_ += this.anInt10466; + } + } else { + i -= i_7_; + i_7_ -= i_8_; + i_8_ = this.anInt10466 * i_8_; + while (--i_7_ >= 0) { + Component373.method339(i_8_, i_5_ >> 16, this.aByteArray10471, 0, 1354705384, i_9_ >> 16); + i_5_ += i_11_; + i_9_ += i_13_; + i_8_ += this.anInt10466; + } + while (--i >= 0) { + Component373.method339(i_8_, i_6_ >> 16, this.aByteArray10471, 0, 1354705384, i_9_ >> 16); + i_9_ += i_13_; + i_8_ += this.anInt10466; + i_6_ += i_10_; + } + } + } + } else if (i_7_ >= i_8_) { + i_6_ = i_5_ <<= 1567994448; + i_9_ <<= -487806832; + if (i < 0) { + i_6_ -= i * i_13_; + i_5_ -= i_10_ * i; + i = 0; + } + if (i_8_ < 0) { + i_9_ -= i_8_ * i_11_; + i_8_ = 0; + } + if (i_8_ != i && i_13_ < i_10_ || i == i_8_ && i_10_ < i_11_) { + i_7_ -= i_8_; + i_8_ -= i; + i = this.anInt10466 * i; + while (--i_8_ >= 0) { + Component373.method339(i, i_6_ >> 16, this.aByteArray10471, 0, 1354705384, i_5_ >> 16); + i += this.anInt10466; + i_5_ += i_10_; + i_6_ += i_13_; + } + while (--i_7_ >= 0) { + Component373.method339(i, i_9_ >> 16, this.aByteArray10471, 0, 1354705384, i_5_ >> 16); + i += this.anInt10466; + i_9_ += i_11_; + i_5_ += i_10_; + } + } else { + i_7_ -= i_8_; + i_8_ -= i; + i *= this.anInt10466; + while (--i_8_ >= 0) { + Component373.method339(i, i_5_ >> 16, this.aByteArray10471, 0, 1354705384, i_6_ >> 16); + i_6_ += i_13_; + i_5_ += i_10_; + i += this.anInt10466; + } + while (--i_7_ >= 0) { + Component373.method339(i, i_5_ >> 16, this.aByteArray10471, 0, 1354705384, i_9_ >> 16); + i += this.anInt10466; + i_9_ += i_11_; + i_5_ += i_10_; + } + } + } else { + i_9_ = i_5_ <<= 592959792; + if (i < 0) { + i_5_ -= i_10_ * i; + i_9_ -= i_13_ * i; + i = 0; + } + i_6_ <<= 797030512; + if (i_7_ < 0) { + i_6_ -= i_7_ * i_11_; + i_7_ = 0; + } + if ((i_7_ == i || i_10_ <= i_13_) && (i != i_7_ || i_11_ >= i_13_)) { + i_8_ -= i_7_; + i_7_ -= i; + i = this.anInt10466 * i; + while (--i_7_ >= 0) { + Component373.method339(i, i_5_ >> 16, this.aByteArray10471, 0, 1354705384, i_9_ >> 16); + i_9_ += i_13_; + i += this.anInt10466; + i_5_ += i_10_; + } + while (--i_8_ >= 0) { + Component373.method339(i, i_6_ >> 16, this.aByteArray10471, 0, 1354705384, i_9_ >> 16); + i_6_ += i_11_; + i += this.anInt10466; + i_9_ += i_13_; + } + } else { + i_8_ -= i_7_; + i_7_ -= i; + i *= this.anInt10466; + while (--i_7_ >= 0) { + Component373.method339(i, i_9_ >> 16, this.aByteArray10471, 0, 1354705384, i_5_ >> 16); + i_5_ += i_10_; + i_9_ += i_13_; + i += this.anInt10466; + } + while (--i_8_ >= 0) { + Component373.method339(i, i_9_ >> 16, this.aByteArray10471, 0, 1354705384, i_6_ >> 16); + i += this.anInt10466; + i_9_ += i_13_; + i_6_ += i_11_; + } + } + } + } + + public static void method3288(byte i) { + int i_14_ = 107 % ((i - 27) / 34); + anIntArray10478 = null; + aClass351_10477 = null; + aClass262_10479 = null; + } + + final void method3289(int i) { + if (i <= 1) method3286(-75, -2, 86, -31, 120); + anInt10475++; + int i_15_ = -1; + int i_16_ = -8 + this.aByteArray10471.length; + while (i_16_ > i_15_) { + this.aByteArray10471[++i_15_] = (byte) 0; + this.aByteArray10471[++i_15_] = (byte) 0; + this.aByteArray10471[++i_15_] = (byte) 0; + this.aByteArray10471[++i_15_] = (byte) 0; + this.aByteArray10471[++i_15_] = (byte) 0; + this.aByteArray10471[++i_15_] = (byte) 0; + this.aByteArray10471[++i_15_] = (byte) 0; + this.aByteArray10471[++i_15_] = (byte) 0; + } + while (i_15_ < this.aByteArray10471.length + -1) this.aByteArray10471[++i_15_] = (byte) 0; + } + + static final void method3290(int i) { + if (i < 30) aClass262_10479 = null; + IOException_Sub1.configureAudio(Component192.aClass348_Sub51_3959.aClass239_Sub5_7240.method1739(-32350) == 1, 2, true, 22050); + anInt10470++; + Definition.aClass279_7042 = Component321.method1439(22050, OggUrlStream.aClass297_8992, DisplayModeManagerContainer50.gameCanvas, 0, 7); + HashNodeSub18.method3273(true, -114, Component16.method1326(null, 9)); + Component276.aClass279_2596 = Component321.method1439(2048, OggUrlStream.aClass297_8992, DisplayModeManagerContainer50.gameCanvas, 1, 7); + PlayerState.aClass348_Sub16_Sub4_7065 = new NodeSub16Sub4(); + Component276.aClass279_2596.method2088(false, PlayerState.aClass348_Sub16_Sub4_7065); + DisplayModeInfo.aClass163_1050 = new ImageTagText(22050, Component231.sampleRate); + DefinitionSub17Sub1.method3093(110); + } + + final boolean method3291(int i, int i_17_, byte i_18_) { + anInt10469++; + if (i_18_ != -59) this.anInt10467 = 41; + return i_17_ * i <= this.aByteArray10471.length; + } + + CacheNodeSub1(GlToolkitSub3 var_ha_Sub3, int i, int i_19_) { + try { + this.aByteArray10471 = new byte[i_19_ * i]; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("fc.(" + (var_ha_Sub3 != null ? "{...}" : "null") + ',' + i + ',' + i_19_ + ')')); + } + } + + static { + new Component224("", 76); + aClass262_10479 = new NodeList(); + } +} diff --git a/client/native/CacheNodeSub2.java b/client/native/CacheNodeSub2.java new file mode 100644 index 000000000..95aeae21b --- /dev/null +++ b/client/native/CacheNodeSub2.java @@ -0,0 +1,359 @@ +/* CacheNodeSub2 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class CacheNodeSub2 +/** + * RENAMED from `CacheNodeSub2` (JODE-obfuscated). + * Evidence: extends r (r) + */ extends r { + static CacheStore aClass45_10480; + static int anInt10481; + int anInt10482; + static int anInt10483 = 0; + int anInt10484; + static int anInt10485; + byte[] aByteArray10486; + int anInt10487; + static Component278 aClass252_10488; + int anInt10489; + static int anInt10490; + static int anInt10491; + static NodeList aClass262_10492 = new NodeList(); + + final void method3292(int i, int i_0_, int i_1_, int i_2_, int i_3_) { + this.anInt10484 = i_1_; + this.anInt10489 = i_3_; + anInt10481++; + this.anInt10487 = i - i_1_; + if (i_2_ == 25053) this.anInt10482 = i_0_ + -i_3_; + } + + final void method3293(byte i) { + anInt10485++; + int i_4_ = -1; + int i_5_ = -8 + this.aByteArray10486.length; + while (i_5_ > i_4_) { + this.aByteArray10486[++i_4_] = (byte) 0; + this.aByteArray10486[++i_4_] = (byte) 0; + this.aByteArray10486[++i_4_] = (byte) 0; + this.aByteArray10486[++i_4_] = (byte) 0; + this.aByteArray10486[++i_4_] = (byte) 0; + this.aByteArray10486[++i_4_] = (byte) 0; + this.aByteArray10486[++i_4_] = (byte) 0; + this.aByteArray10486[++i_4_] = (byte) 0; + } + if (i == 0) { + while (i_4_ < this.aByteArray10486.length - 1) this.aByteArray10486[++i_4_] = (byte) 0; + } + } + + final void method3294(int i, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_) { + anInt10491++; + int i_12_ = 0; + if (i_11_ != i_7_) i_12_ = (-i_6_ + i_9_ << 16) / (i_11_ + -i_7_); + int i_13_ = 71 % ((-38 - i_8_) / 52); + int i_14_ = 0; + if (i_11_ != i_10_) i_14_ = (i - i_9_ << 16) / (-i_11_ + i_10_); + int i_15_ = 0; + if (i_10_ != i_7_) i_15_ = (i_6_ - i << 16) / (i_7_ + -i_10_); + if (i_11_ >= i_7_ && i_7_ <= i_10_) { + if (i_10_ > i_11_) { + i = i_6_ <<= -1167965648; + if (i_7_ < 0) { + i -= i_7_ * i_15_; + i_6_ -= i_12_ * i_7_; + i_7_ = 0; + } + i_9_ <<= -1709216688; + if (i_11_ < 0) { + i_9_ -= i_14_ * i_11_; + i_11_ = 0; + } + if ((i_7_ == i_11_ || i_15_ >= i_12_) && (i_7_ != i_11_ || i_14_ >= i_15_)) { + i_10_ -= i_11_; + i_11_ -= i_7_; + i_7_ = this.anInt10482 * i_7_; + while (--i_11_ >= 0) { + DisplayModeManagerContainer42.method2289(i_6_ >> 16, i_7_, -36, 0, this.aByteArray10486, i >> 16); + i_6_ += i_12_; + i_7_ += this.anInt10482; + i += i_15_; + } + while (--i_10_ >= 0) { + DisplayModeManagerContainer42.method2289(i_9_ >> 16, i_7_, -104, 0, this.aByteArray10486, i >> 16); + i += i_15_; + i_7_ += this.anInt10482; + i_9_ += i_14_; + } + } else { + i_10_ -= i_11_; + i_11_ -= i_7_; + i_7_ = this.anInt10482 * i_7_; + while (--i_11_ >= 0) { + DisplayModeManagerContainer42.method2289(i >> 16, i_7_, -111, 0, this.aByteArray10486, i_6_ >> 16); + i_7_ += this.anInt10482; + i += i_15_; + i_6_ += i_12_; + } + while (--i_10_ >= 0) { + DisplayModeManagerContainer42.method2289(i >> 16, i_7_, -120, 0, this.aByteArray10486, i_9_ >> 16); + i_9_ += i_14_; + i_7_ += this.anInt10482; + i += i_15_; + } + } + } else { + i_9_ = i_6_ <<= -1228970768; + if (i_7_ < 0) { + i_6_ -= i_12_ * i_7_; + i_9_ -= i_15_ * i_7_; + i_7_ = 0; + } + i <<= -1758318000; + if (i_10_ < 0) { + i -= i_14_ * i_10_; + i_10_ = 0; + } + if ((i_7_ == i_10_ || i_12_ <= i_15_) && (i_10_ != i_7_ || i_14_ <= i_12_)) { + i_11_ -= i_10_; + i_10_ -= i_7_; + i_7_ = this.anInt10482 * i_7_; + while (--i_10_ >= 0) { + DisplayModeManagerContainer42.method2289(i_6_ >> 16, i_7_, -75, 0, this.aByteArray10486, i_9_ >> 16); + i_9_ += i_15_; + i_7_ += this.anInt10482; + i_6_ += i_12_; + } + while (--i_11_ >= 0) { + DisplayModeManagerContainer42.method2289(i_6_ >> 16, i_7_, -62, 0, this.aByteArray10486, i >> 16); + i_7_ += this.anInt10482; + i_6_ += i_12_; + i += i_14_; + } + } else { + i_11_ -= i_10_; + i_10_ -= i_7_; + i_7_ *= this.anInt10482; + while (--i_10_ >= 0) { + DisplayModeManagerContainer42.method2289(i_9_ >> 16, i_7_, -102, 0, this.aByteArray10486, i_6_ >> 16); + i_7_ += this.anInt10482; + i_9_ += i_15_; + i_6_ += i_12_; + } + while (--i_11_ >= 0) { + DisplayModeManagerContainer42.method2289(i >> 16, i_7_, -92, 0, this.aByteArray10486, i_6_ >> 16); + i += i_14_; + i_6_ += i_12_; + i_7_ += this.anInt10482; + } + } + } + } else if (i_10_ < i_11_) { + if (i_11_ <= i_7_) { + i_6_ = i <<= -1859479696; + i_9_ <<= -1453584560; + if (i_10_ < 0) { + i -= i_10_ * i_15_; + i_6_ -= i_10_ * i_14_; + i_10_ = 0; + } + if (i_11_ < 0) { + i_9_ -= i_11_ * i_12_; + i_11_ = 0; + } + if (i_15_ <= i_14_) { + i_7_ -= i_11_; + i_11_ -= i_10_; + i_10_ = this.anInt10482 * i_10_; + while (--i_11_ >= 0) { + DisplayModeManagerContainer42.method2289(i >> 16, i_10_, -68, 0, this.aByteArray10486, i_6_ >> 16); + i_6_ += i_14_; + i_10_ += this.anInt10482; + i += i_15_; + } + while (--i_7_ >= 0) { + DisplayModeManagerContainer42.method2289(i >> 16, i_10_, -101, 0, this.aByteArray10486, i_9_ >> 16); + i_9_ += i_12_; + i += i_15_; + i_10_ += this.anInt10482; + } + } else { + i_7_ -= i_11_; + i_11_ -= i_10_; + i_10_ *= this.anInt10482; + while (--i_11_ >= 0) { + DisplayModeManagerContainer42.method2289(i_6_ >> 16, i_10_, -99, 0, this.aByteArray10486, i >> 16); + i += i_15_; + i_6_ += i_14_; + i_10_ += this.anInt10482; + } + while (--i_7_ >= 0) { + DisplayModeManagerContainer42.method2289(i_9_ >> 16, i_10_, -122, 0, this.aByteArray10486, i >> 16); + i += i_15_; + i_9_ += i_12_; + i_10_ += this.anInt10482; + } + } + } else { + i_9_ = i <<= -1009380592; + i_6_ <<= -202478416; + if (i_10_ < 0) { + i_9_ -= i_14_ * i_10_; + i -= i_10_ * i_15_; + i_10_ = 0; + } + if (i_7_ < 0) { + i_6_ -= i_7_ * i_12_; + i_7_ = 0; + } + if (i_14_ < i_15_) { + i_11_ -= i_7_; + i_7_ -= i_10_; + i_10_ = this.anInt10482 * i_10_; + while (--i_7_ >= 0) { + DisplayModeManagerContainer42.method2289(i_9_ >> 16, i_10_, -36, 0, this.aByteArray10486, i >> 16); + i_10_ += this.anInt10482; + i += i_15_; + i_9_ += i_14_; + } + while (--i_11_ >= 0) { + DisplayModeManagerContainer42.method2289(i_9_ >> 16, i_10_, -48, 0, this.aByteArray10486, i_6_ >> 16); + i_9_ += i_14_; + i_6_ += i_12_; + i_10_ += this.anInt10482; + } + } else { + i_11_ -= i_7_; + i_7_ -= i_10_; + i_10_ *= this.anInt10482; + while (--i_7_ >= 0) { + DisplayModeManagerContainer42.method2289(i >> 16, i_10_, -83, 0, this.aByteArray10486, i_9_ >> 16); + i += i_15_; + i_9_ += i_14_; + i_10_ += this.anInt10482; + } + while (--i_11_ >= 0) { + DisplayModeManagerContainer42.method2289(i_6_ >> 16, i_10_, -104, 0, this.aByteArray10486, i_9_ >> 16); + i_10_ += this.anInt10482; + i_9_ += i_14_; + i_6_ += i_12_; + } + } + } + } else if (i_10_ >= i_7_) { + i = i_9_ <<= -907151120; + if (i_11_ < 0) { + i -= i_11_ * i_12_; + i_9_ -= i_14_ * i_11_; + i_11_ = 0; + } + i_6_ <<= 209489840; + if (i_7_ < 0) { + i_6_ -= i_7_ * i_15_; + i_7_ = 0; + } + if (i_14_ > i_12_) { + i_10_ -= i_7_; + i_7_ -= i_11_; + i_11_ = this.anInt10482 * i_11_; + while (--i_7_ >= 0) { + DisplayModeManagerContainer42.method2289(i >> 16, i_11_, -62, 0, this.aByteArray10486, i_9_ >> 16); + i += i_12_; + i_9_ += i_14_; + i_11_ += this.anInt10482; + } + while (--i_10_ >= 0) { + DisplayModeManagerContainer42.method2289(i_6_ >> 16, i_11_, -66, 0, this.aByteArray10486, i_9_ >> 16); + i_6_ += i_15_; + i_9_ += i_14_; + i_11_ += this.anInt10482; + } + } else { + i_10_ -= i_7_; + i_7_ -= i_11_; + i_11_ *= this.anInt10482; + while (--i_7_ >= 0) { + DisplayModeManagerContainer42.method2289(i_9_ >> 16, i_11_, -67, 0, this.aByteArray10486, i >> 16); + i_9_ += i_14_; + i += i_12_; + i_11_ += this.anInt10482; + } + while (--i_10_ >= 0) { + DisplayModeManagerContainer42.method2289(i_9_ >> 16, i_11_, -108, 0, this.aByteArray10486, i_6_ >> 16); + i_9_ += i_14_; + i_6_ += i_15_; + i_11_ += this.anInt10482; + } + } + } else { + i_6_ = i_9_ <<= -1570270288; + if (i_11_ < 0) { + i_6_ -= i_12_ * i_11_; + i_9_ -= i_14_ * i_11_; + i_11_ = 0; + } + i <<= -1382410736; + if (i_10_ < 0) { + i -= i_15_ * i_10_; + i_10_ = 0; + } + if ((i_10_ == i_11_ || i_14_ <= i_12_) && (i_11_ != i_10_ || i_15_ >= i_12_)) { + i_7_ -= i_10_; + i_10_ -= i_11_; + i_11_ = this.anInt10482 * i_11_; + while (--i_10_ >= 0) { + DisplayModeManagerContainer42.method2289(i_9_ >> 16, i_11_, -85, 0, this.aByteArray10486, i_6_ >> 16); + i_6_ += i_12_; + i_11_ += this.anInt10482; + i_9_ += i_14_; + } + while (--i_7_ >= 0) { + DisplayModeManagerContainer42.method2289(i >> 16, i_11_, -92, 0, this.aByteArray10486, i_6_ >> 16); + i_11_ += this.anInt10482; + i += i_15_; + i_6_ += i_12_; + } + } else { + i_7_ -= i_10_; + i_10_ -= i_11_; + i_11_ = this.anInt10482 * i_11_; + while (--i_10_ >= 0) { + DisplayModeManagerContainer42.method2289(i_6_ >> 16, i_11_, -113, 0, this.aByteArray10486, i_9_ >> 16); + i_11_ += this.anInt10482; + i_6_ += i_12_; + i_9_ += i_14_; + } + while (--i_7_ >= 0) { + DisplayModeManagerContainer42.method2289(i_6_ >> 16, i_11_, -125, 0, this.aByteArray10486, i >> 16); + i_6_ += i_12_; + i += i_15_; + i_11_ += this.anInt10482; + } + } + } + } + + public static void method3295(int i) { + aClass45_10480 = null; + aClass252_10488 = null; + aClass262_10492 = null; + if (i != -1) method3295(109); + } + + final boolean method3296(byte i, int i_16_, int i_17_) { + int i_18_ = 65 % ((i - 45) / 39); + anInt10490++; + return i_16_ * i_17_ <= this.aByteArray10486.length; + } + + CacheNodeSub2(GlToolkitSub2 var_ha_Sub2, int i, int i_19_) { + this.aByteArray10486 = new byte[i * i_19_]; + } + + static final Component269 method3297(int i, int i_20_, int i_21_) { + Component186 class357 = Component335.aClass357ArrayArrayArray2029[i][i_20_][i_21_]; + if (class357 == null) return null; + return class357.aClass318_Sub1_Sub4_4406; + } +} diff --git a/client/native/JaclibLoader.java b/client/native/JaclibLoader.java new file mode 100644 index 000000000..353039f1d --- /dev/null +++ b/client/native/JaclibLoader.java @@ -0,0 +1,32 @@ +/* JaclibLoader - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class9` (JODE-obfuscated). + * Jaclib native-memory loader. Loads the jaclib (JNI memory/GL binding) native library used by the toolkit. + */ + +final class JaclibLoader { + static int anInt167; + static int[] anIntArray168 = {28, 35, 40, 44}; + static int anInt169 = -1; + static int anInt170; + /** Shared GraphicsToolkit instance used by debug overlay / early init paths. */ + static GraphicsToolkit toolkit; + + /** Load {@code jaclib} then {@code hw3d} native libraries. */ + static final boolean loadNatives(int i) { + anInt170++; + if (i != 27165) return false; + if (!DefinitionSub19.tryLoadNativeLibrary(-30282, "jaclib")) return false; + return DefinitionSub19.tryLoadNativeLibrary(-30282, "hw3d"); + } + + /** Nulls jaclib statics (toolkit + scratch) at shutdown. */ + public static void clearStatics(boolean bool) { + anIntArray168 = null; + if (bool != false) clearStatics(true); + toolkit = null; + } +} diff --git a/client/native/KeyStoreLoader.java b/client/native/KeyStoreLoader.java new file mode 100644 index 000000000..b3930bc5f --- /dev/null +++ b/client/native/KeyStoreLoader.java @@ -0,0 +1,89 @@ +/* KeyStoreLoader - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from {@code Class106} (JODE-obfuscated). + * Interface1 provider factory backed by two {@link CacheStore}s, plus resolver for the + * classic bitmap-font JS5 groups ({@code p11_full}, {@code p12_full}, {@code b12_full}). + * Historical name is misleading — this is not PKCS#12 keystore loading. + */ +final class KeyStoreLoader { + static int anInt1631; + static int anInt1632; + /** Lazily created news/ticker fetcher used by one provider branch. */ + private NewsFetcher newsFetcher; + static int anInt1634; + static int[] anIntArray1635 = new int[16]; + static int[] anIntArray1636 = null; + /** Primary JS5/cache store passed into most {@link Interface1} providers. */ + private final CacheStore primaryCacheStore; + static int[][] anIntArrayArray1638 = {{0, 1, 2, 3}, {1, -1, -1, 0}, {-1, 2, -1, 0}, {-1, 0, -1, 2}, {0, 1, -1, 2}, {1, 2, -1, 0}, {-1, 4, -1, 1}, {-1, 3, 4, -1}, {-1, 0, 2, -1}, {-1, -1, 2, 0}, {0, 2, 5, 3}, {0, -1, 6, -1}, {0, 1, 2, 3}}; + static int anInt1639; + static int anInt1640; + /** Secondary cache store (sprites/extra) for providers that need two indices. */ + private final CacheStore secondaryCacheStore; + + /** Lazy getter for {@link #newsFetcher}. */ + private final NewsFetcher getNewsFetcher(int i) { + anInt1632++; + if (newsFetcher == null) newsFetcher = new NewsFetcher(); + if (i > -71) resolveFontGroupIds(null, -15); + return newsFetcher; + } + + /** Nulls static scratch arrays at shutdown. */ + public static void clearStatics(int i) { + anIntArray1636 = null; + anIntArray1635 = null; + anIntArrayArray1638 = null; + if (i != 21745) resolveFontGroupIds(null, -51); + } + + /** + * Builds an {@link Interface1} implementation for {@code interface12} based on its + * {@link DisplayModeManagerContainer369} type tag (fonts, video, RSA, etc.). + */ + final Interface1 createProvider(boolean bool, Interface12 interface12) { + anInt1640++; + if (interface12 == null) return null; + DisplayModeManagerContainer369 class223 = interface12.method51((byte) 120); + if (Component386.aClass223_2868 == class223) return new DisplayModeManagerContainer249((RSACipher) interface12); + if (MatrixSub1.aClass223_5689 == class223) return new Component49(getNewsFetcher(-107), (Component15) interface12); + if (class223 == DefinitionSub21.aClass223_9274) return new Component296(primaryCacheStore, (Component118) interface12); + if (class223 == DisplayModeManagerContainer332.aClass223_4997) return new Component162(primaryCacheStore, (Component383) interface12); + if (class223 == Buffer.aClass223_7175) return new Component2(primaryCacheStore, secondaryCacheStore, (Component14) interface12); + if (class223 == Component55.aClass223_3934) return new DisplayModeManagerContainer89(primaryCacheStore, secondaryCacheStore, (Component381) interface12); + if (class223 == Component316.aClass223_2489) return new Component364(primaryCacheStore, secondaryCacheStore, (Component76) interface12); + if (class223 == RadixParser.aClass223_2307) return new VideoAdPlayer(primaryCacheStore, secondaryCacheStore, (HeapDumpHelper) interface12); + if (bool != true) anIntArray1636 = null; + if (Component90.aClass223_2045 == class223) return new DisplayModeManagerContainer232(primaryCacheStore, (Component247) interface12); + if (Component38.aClass223_2507 == class223) return new Component305(primaryCacheStore, secondaryCacheStore, (DummyClass) interface12); + return null; + } + + /** + * Resolves JS5 group ids for the three standard bitmap fonts into statics + * ({@link LoadingState#p11FullGroupId}, {@link DisplayModeManagerContainer167#p12FullGroupId}, + * {@link ReferenceTable#b12FullGroupId}). + */ + static final void resolveFontGroupIds(CacheStore class45, int i) { + anInt1634++; + LoadingState.p11FullGroupId = class45.getGroupId("p11_full", i); + DisplayModeManagerContainer167.p12FullGroupId = class45.getGroupId("p12_full", i); + ReferenceTable.b12FullGroupId = class45.getGroupId("b12_full", 0); + } + + KeyStoreLoader(CacheStore class45, CacheStore class45_0_) { + try { + primaryCacheStore = class45; + secondaryCacheStore = class45_0_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("mia.(" + (class45 != null ? "{...}" : "null") + ',' + (class45_0_ != null ? "{...}" : "null") + ')')); + } + } + + static { + anInt1631 = 0; + } +} diff --git a/client/native/NativeHandle.java b/client/native/NativeHandle.java new file mode 100644 index 000000000..f33797baf --- /dev/null +++ b/client/native/NativeHandle.java @@ -0,0 +1,47 @@ +/* NativeHandle - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * NativeHandle — wrapper JNI para handle nativo (antigo `NativeHandle`). + *

+ * Estende {@code NodeBase} (abstração de recurso nativo) e expõe um ponteiro + * {@code nativeid} gerenciado em C++. Cada instância corresponde a um + * objeto nativo alocado via {@code Shader(OpenGLToolkit, int)} e liberado em + * {@code finalize()} → {@code Component36.method1947}. Os métodos nativos + * curtos {@code w}, {@code ga}, {@code r} são delegações diretas para + * o lado nativo (render/áudio/input dependendo do subtipo {@code OpenGLToolkit}). + *

+ * Renomeado de `NativeHandle` (nome ofuscado) para `NativeHandle` com base em: + * campo {@code long nativeid} + métodos {@code native} + {@code finalize} + * que libera o handle. + */ +/** + * RENAMED from `NativeHandle` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ +final class NativeHandle extends NodeBase implements Interface19 { + /** Ponteiro opaco para o objeto nativo (0 = não alocado/liberado). */ + long nativeid; + + /** Libera/invalida o handle nativo; bool controla flush síncrono. */ + public final native void w(boolean bool); + + /** Inicializa/liga o handle no lado nativo (chamado após construção). */ + final native void ga(); + + @Override + protected final void finalize() { + if (this.nativeid != 0L) Component36.method1947(0, this); + } + + /** Aloca o objeto nativo associado a {@code var_oa} com tipo {@code i}. */ + private final native void Shader(OpenGLToolkit var_oa, int i); + + /** Reseta/libera recurso nativo sem destruir o wrapper Java. */ + final native void r(); + + NativeHandle(OpenGLToolkit var_oa, int i) { + Shader(var_oa, i); + } +} diff --git a/client/native/NativeLibLoader.java b/client/native/NativeLibLoader.java new file mode 100644 index 000000000..201326ab2 --- /dev/null +++ b/client/native/NativeLibLoader.java @@ -0,0 +1,138 @@ +/* NativeLibLoader - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from {@code Class334} (JODE-obfuscated). + * Grab-bag of small helpers that ended up in one deob class: platform native-lib + * file-name mapping, HSL colour lerp, digit/client-state predicates, plus a + * 6-int parameter blob (defaults 128) used by sprite/minimap scale paths. + */ + +final class NativeLibLoader { + int anInt4151; + static int[] anIntArray4152 = {4, 2, 1, 1, 2, 2, 3, 1, 3, 3, 3, 2, 0}; + static int anInt4153; + int anInt4154; + static int anInt4155 = -1; + int anInt4156; + static int anInt4157; + int anInt4158; + static int anInt4159; + static int anInt4160; + static int anInt4161; + /** Default scale component (often width); starts at 128. */ + int anInt4162 = 128; + static int anInt4163; + static int anInt4164; + /** Default scale component (often height); starts at 128. */ + int anInt4165 = 128; + + /** True when {@code c} is an ASCII decimal digit. */ + static final boolean isDigit(boolean bool, char c) { + anInt4161++; + if (bool != true) isPostLoginState(true, 83); + return c >= '0' && c <= '9'; + } + + /** Copies the six int parameters from {@code class334_0_} into this. */ + final void copyFrom(NativeLibLoader class334_0_, byte i) { + this.anInt4158 = class334_0_.anInt4158; + this.anInt4151 = class334_0_.anInt4151; + if (i != 118) isDigit(true, '\uffe5'); + anInt4159++; + this.anInt4156 = class334_0_.anInt4156; + this.anInt4165 = class334_0_.anInt4165; + this.anInt4154 = class334_0_.anInt4154; + this.anInt4162 = class334_0_.anInt4162; + } + + /** Returns a new instance with the same six int parameters. */ + final NativeLibLoader copy(int i) { + if (i != 2) copyFrom(null, (byte) -10); + anInt4163++; + return new NativeLibLoader(this.anInt4156, this.anInt4165, this.anInt4162, this.anInt4158, this.anInt4154, this.anInt4151); + } + + static final void method2650(Component184 class143, int i, Shader var_aa, int i_1_, int i_2_, String string, int i_3_, BitmapFont class324, int i_4_, DisplayModeManagerContainer57 class46, int i_5_, int i_6_) { + try { + anInt4153++; + int i_7_; + if (DefinitionSub21.cameraMode == 4) i_7_ = (int) Component112.cameraYaw & 0x3fff; + else i_7_ = 0x3fff & CacheNodeSub2.anInt10483 + (int) Component112.cameraYaw; + int i_8_ = (Math.max(class46.anInt709 / 2, class46.anInt789 / 2) + 10); + int i_9_ = i_5_ * i_5_ - -(i_1_ * i_1_); + if (i_9_ <= i_8_ * i_8_) { + int i_10_ = DisplayModeManagerContainer88.anIntArray1207[i_7_]; + int i_11_ = DisplayModeManagerContainer88.anIntArray1204[i_7_]; + if (DefinitionSub21.cameraMode != 4) { + i_11_ = 256 * i_11_ / (Component182.anInt9750 + 256); + i_10_ = 256 * i_10_ / (256 + Component182.anInt9750); + } + int i_12_ = i_10_ * i_1_ + i_5_ * i_11_ >> 14; + int i_13_ = -(i_5_ * i_10_) + i_11_ * i_1_ >> 14; + int i_14_ = class143.method1187(string, false, 100, null); + int i_15_ = class143.method1185(null, 0, 0, i_6_, string); + i_12_ -= i_14_ / 2; + if (-class46.anInt709 <= i_12_ && class46.anInt709 >= i_12_ && (i_13_ >= -class46.anInt789) && class46.anInt789 >= i_13_) + class324.method2584(null, 0, 0, null, i, 0, 50, var_aa, (-i_4_ + (i_3_ + (class46.anInt789 / 2 + (-i_13_ - i_15_)))), i_2_, i_3_, i_14_, (class46.anInt709 / 2 + (i_2_ + i_12_)), false, 1, string); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("dk.H(" + (class143 != null ? "{...}" : "null") + ',' + i + ',' + (var_aa != null ? "{...}" : "null") + ',' + i_1_ + ',' + i_2_ + ',' + (string != null ? "{...}" : "null") + ',' + i_3_ + ',' + (class324 != null ? "{...}" : "null") + ',' + i_4_ + ',' + (class46 != null ? "{...}" : "null") + ',' + i_5_ + ',' + i_6_ + ')')); + } + } + + /** + * Maps a bare library stem (e.g. {@code jaclib}) to the platform file name: + * {@code .dll} / {@code lib*.so} / {@code lib*.dylib}. Returns null if OS unknown. + */ + static final String toNativeLibraryFileName(String string, int i) { + if (i != 3) method2650(null, -94, null, 2, -110, null, -7, null, -71, null, -47, 104); + anInt4160++; + if (!ClientSystemInfo.aString6877.startsWith("win")) { + if (ClientSystemInfo.aString6877.startsWith("linux")) return "lib" + string + ".so"; + if (ClientSystemInfo.aString6877.startsWith("mac")) return "lib" + string + ".dylib"; + } else return string + ".dll"; + return null; + } + + /** + * Linearly blends two packed HSL colours by weight {@code i_18_} in 0..128 + * (channels: 7-bit L, 3-bit S, 6-bit H). + */ + static final int mixHsl(int i, int i_16_, int i_17_, int i_18_) { + anInt4157++; + if (i == i_16_) return i; + int i_19_ = 128 + -i_18_; + if (i_17_ != 1) return -53; + int i_20_ = (0x7f & i_16_) * i_18_ + i_19_ * (i & 0x7f) >> 7; + int i_21_ = (0x380 & i_16_) * i_18_ + (i & 0x380) * i_19_ >> 7; + int i_22_ = (0xfc00 & i_16_) * i_18_ + i_19_ * (i & 0xfc00) >> 7; + return i_22_ & 0xfc00 | 0x380 & i_21_ | i_20_ & 0x7f; + } + + /** True for client states 10/11/12 (lobby / world / post-login variants). */ + static final boolean isPostLoginState(boolean bool, int i) { + if (bool != true) anIntArray4152 = null; + anInt4164++; + return i == 10 || i == 11 || i == 12; + } + + public static void method2654(int i) { + if (i != -6896) anInt4155 = -7; + anIntArray4152 = null; + } + + NativeLibLoader(int i) { + this.anInt4156 = i; + } + + private NativeLibLoader(int i, int i_23_, int i_24_, int i_25_, int i_26_, int i_27_) { + this.anInt4156 = i; + this.anInt4165 = i_23_; + this.anInt4154 = i_26_; + this.anInt4158 = i_25_; + this.anInt4162 = i_24_; + this.anInt4151 = i_27_; + } +} diff --git a/client/native/NativeLibraryLoader.java b/client/native/NativeLibraryLoader.java new file mode 100644 index 000000000..455e04fdc --- /dev/null +++ b/client/native/NativeLibraryLoader.java @@ -0,0 +1,180 @@ +/* NativeLibraryLoader - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class228` (JODE-obfuscated). + * Native-library / JNI loader utility. Reflectively reaches ClassLoader.nativeLibraries (unloadNativeLibraries), walks the Vector and forces finalize() via setAccessible; used to unload/reload native libs. + */ + +import java.io.File; +import java.lang.reflect.Field; +import java.lang.reflect.Method; +import java.util.Enumeration; +import java.util.Hashtable; +import java.util.Vector; + +final class NativeLibraryLoader { + static int anInt2971; + static Component183 aClass114_2972 = new Component183(49, 4); + static int anInt2973; + /** Cached result of {@link FriendLoginMessage#getFilteredDisplayModes}. */ + static DisplayModeInfo[] cachedDisplayModes; + static int anInt2975; + + public static void clearStatics(byte i) { + cachedDisplayModes = null; + if (i <= 47) cachedDisplayModes = null; + aClass114_2972 = null; + } + + /** + * Reflectively walks {@code ClassLoader.nativeLibraries}, finalizes matching + * entries, and clears handles so natives can be reloaded. Returns true if the + * tracked lib table is empty afterwards. + */ + static final boolean unloadNativeLibraries(boolean bool) { + anInt2973++; + Hashtable hashtable = new Hashtable(); + Enumeration enumeration = Player.aHashtable10565.keys(); + while (enumeration.hasMoreElements()) { + Object object = enumeration.nextElement(); + hashtable.put(object, Player.aHashtable10565.get(object)); + } + try { + Field field = ClassLoader.class.getDeclaredField("nativeLibraries"); + if (bool != true) return false; + field.setAccessible(true); + try { + enumeration = Player.aHashtable10565.keys(); + while (enumeration.hasMoreElements()) { + String string = (String) enumeration.nextElement(); + try { + File file = (File) Component300.aHashtable3548.get(string); + Class var_class_1_ = (Class) Player.aHashtable10565.get(string); + Vector vector = ((Vector) field.get(var_class_1_.getClassLoader())); + for (int i = 0; i < vector.size(); i++) { + try { + Object object = vector.elementAt(i); + Field field_2_ = object.getClass().getDeclaredField("name"); + field_2_.setAccessible(true); + try { + String string_3_ = (String) field_2_.get(object); + if (string_3_ != null && (string_3_.equalsIgnoreCase(file.getCanonicalPath()))) { + Field field_4_ = object.getClass().getDeclaredField("handle"); + Method method_5_ = (object.getClass().getDeclaredMethod("finalize")); + field_4_.setAccessible(true); + method_5_.setAccessible(true); + try { + method_5_.invoke(object); + field_4_.set(object, new Integer(0)); + hashtable.remove(string); + } catch (Throwable throwable) { + if (Loader.trace) { + throwable.printStackTrace(); + } + /* empty */ + } + method_5_.setAccessible(false); + field_4_.setAccessible(false); + } + } catch (Throwable throwable) { + if (Loader.trace) { + throwable.printStackTrace(); + } + /* empty */ + } + field_2_.setAccessible(false); + } catch (Throwable throwable) { + if (Loader.trace) { + throwable.printStackTrace(); + } + /* empty */ + } + } + } catch (Throwable throwable) { + if (Loader.trace) { + throwable.printStackTrace(); + } + /* empty */ + } + } + } catch (Throwable throwable) { + if (Loader.trace) { + throwable.printStackTrace(); + } + /* empty */ + } + field.setAccessible(false); + } catch (Throwable throwable) { + if (Loader.trace) { + throwable.printStackTrace(); + } + /* empty */ + } + Player.aHashtable10565 = hashtable; + return Player.aHashtable10565.isEmpty(); + } + + static final void method1630(int i, int i_6_, int i_7_) { + if (DisplayModeManagerContainer229.aFloat1249 > DisplayModeManagerContainer229.aFloat1247) { + DisplayModeManagerContainer229.aFloat1247 += (double) DisplayModeManagerContainer229.aFloat1247 / 30.0; + if (DisplayModeManagerContainer229.aFloat1249 < DisplayModeManagerContainer229.aFloat1247) DisplayModeManagerContainer229.aFloat1247 = DisplayModeManagerContainer229.aFloat1249; + ColorTagNode.method2811(false); + DisplayModeManagerContainer229.anInt1255 = (int) DisplayModeManagerContainer229.aFloat1247 >> 1; + DisplayModeManagerContainer229.aByteArrayArrayArray1251 = ColoredTextBuilder.method2596(DisplayModeManagerContainer229.anInt1255, 12871); + } else if (DisplayModeManagerContainer229.aFloat1247 > DisplayModeManagerContainer229.aFloat1249) { + DisplayModeManagerContainer229.aFloat1247 -= (double) DisplayModeManagerContainer229.aFloat1247 / 30.0; + if (DisplayModeManagerContainer229.aFloat1249 > DisplayModeManagerContainer229.aFloat1247) DisplayModeManagerContainer229.aFloat1247 = DisplayModeManagerContainer229.aFloat1249; + ColorTagNode.method2811(false); + DisplayModeManagerContainer229.anInt1255 = (int) DisplayModeManagerContainer229.aFloat1247 >> 1; + DisplayModeManagerContainer229.aByteArrayArrayArray1251 = ColoredTextBuilder.method2596(DisplayModeManagerContainer229.anInt1255, i + 12871); + } + anInt2971++; + if (i != (~Component283.anInt4609) && Component377.anInt859 != -1) { + int i_8_ = Component283.anInt4609 - NodeSub36.anInt6992; + if (i_8_ < 2 || i_8_ > 2) i_8_ /= 8; + int i_9_ = -DebugOverlay.anInt3170 + Component377.anInt859; + NodeSub36.anInt6992 = i_8_ + NodeSub36.anInt6992; + if (i_9_ < 2 || i_9_ > 2) i_9_ /= 8; + DebugOverlay.anInt3170 -= -i_9_; + if (i_8_ == 0 && i_9_ == 0) { + Component283.anInt4609 = -1; + Component377.anInt859 = -1; + } + ColorTagNode.method2811(false); + } + if (WaterShader.anInt7379 > 0) { + LoadingManager.anInt2173--; + if (LoadingManager.anInt2173 == 0) { + WaterShader.anInt7379--; + LoadingManager.anInt2173 = 100; + } + } else { + Component225.anInt481 = -1; + DefinitionSub30.anInt9399 = -1; + } + if (Component163.aBoolean3174 && Component156.aClass262_3705 != null) { + for (NodeSub12 class348_sub12 = (NodeSub12) Component156.aClass262_3705.first(4); class348_sub12 != null; class348_sub12 = ((NodeSub12) Component156.aClass262_3705.next((byte) 116))) { + Component274 class42 = (DisplayModeManagerContainer229.aClass153_1238.method1225(class348_sub12.aClass348_Sub21_6751.anInt6847, (byte) 125)); + if (class348_sub12.method2799(i_6_, i_7_, 95)) { + if (class42.aStringArray577 != null) { + if (class42.aStringArray577[4] != null) DisplayModeManagerContainer368.addMenuEntry(false, class42.aString565, 0, (byte) -100, false, class42.anInt596, -1, true, 1006, class348_sub12.aClass348_Sub21_6751.anInt6847, class42.aStringArray577[4], class348_sub12.aClass348_Sub21_6751.anInt6847, -1); + if (class42.aStringArray577[3] != null) DisplayModeManagerContainer368.addMenuEntry(false, class42.aString565, 0, (byte) -127, false, class42.anInt596, -1, true, 1003, class348_sub12.aClass348_Sub21_6751.anInt6847, class42.aStringArray577[3], class348_sub12.aClass348_Sub21_6751.anInt6847, -1); + if (class42.aStringArray577[2] != null) DisplayModeManagerContainer368.addMenuEntry(false, class42.aString565, 0, (byte) -108, false, class42.anInt596, -1, true, 1002, class348_sub12.aClass348_Sub21_6751.anInt6847, class42.aStringArray577[2], class348_sub12.aClass348_Sub21_6751.anInt6847, -1); + if (class42.aStringArray577[1] != null) DisplayModeManagerContainer368.addMenuEntry(false, class42.aString565, 0, (byte) -69, false, class42.anInt596, -1, true, 1012, class348_sub12.aClass348_Sub21_6751.anInt6847, class42.aStringArray577[1], class348_sub12.aClass348_Sub21_6751.anInt6847, -1); + if (class42.aStringArray577[0] != null) DisplayModeManagerContainer368.addMenuEntry(false, class42.aString565, 0, (byte) -92, false, class42.anInt596, -1, true, 1009, class348_sub12.aClass348_Sub21_6751.anInt6847, class42.aStringArray577[0], class348_sub12.aClass348_Sub21_6751.anInt6847, -1); + } + if (!class348_sub12.aClass348_Sub21_6751.aBoolean6848) { + class348_sub12.aClass348_Sub21_6751.aBoolean6848 = true; + ClientScriptExecutor.runScript(Component330.aClass273_1512, class348_sub12.aClass348_Sub21_6751.anInt6847, class42.anInt596); + } + if (class348_sub12.aClass348_Sub21_6751.aBoolean6848) ClientScriptExecutor.runScript(DisplayModeManagerContainer34.aClass273_8664, class348_sub12.aClass348_Sub21_6751.anInt6847, class42.anInt596); + } else if (class348_sub12.aClass348_Sub21_6751.aBoolean6848) { + class348_sub12.aClass348_Sub21_6751.aBoolean6848 = false; + ClientScriptExecutor.runScript(DisplayModeManagerContainer123.aClass273_1298, class348_sub12.aClass348_Sub21_6751.anInt6847, class42.anInt596); + } + } + } + } +} diff --git a/client/native/NodeBase.java b/client/native/NodeBase.java new file mode 100644 index 000000000..81f9be858 --- /dev/null +++ b/client/native/NodeBase.java @@ -0,0 +1,49 @@ +/* NodeBase - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +abstract class NodeBase +/** + * RENAMED from `NodeBase` (JODE-obfuscated). + * Evidence: abstract; extends Node + */ extends Node { + static Component161 aClass138_7274 = new Component161(10, 2, 2, 0); + static int anInt7275; + static int anInt7276 = 0; + + static final void method3437(int i, int i_0_) { + r var_r = null; + for (int i_1_ = i; i_1_ < i_0_; i_1_++) { + s var_s = NodeSub1Sub1.aSArray8801[i_1_]; + if (var_s != null) { + for (int i_2_ = 0; i_2_ < NodeSub41.anInt7054; i_2_++) { + for (int i_3_ = 0; i_3_ < StaticElementRenderer.anInt6451; i_3_++) { + var_r = var_s.fa(i_3_, i_2_, var_r); + if (var_r != null) { + int i_4_ = i_3_ << Component149.anInt4459; + int i_5_ = i_2_ << Component149.anInt4459; + for (int i_6_ = i_1_ - 1; i_6_ >= 0; i_6_--) { + s var_s_7_ = NodeSub1Sub1.aSArray8801[i_6_]; + if (var_s_7_ != null) { + int i_8_ = (var_s.method3982((byte) -86, i_2_, i_3_) - var_s_7_.method3982((byte) -86, i_2_, i_3_)); + int i_9_ = (var_s.method3982((byte) -86, i_2_, i_3_ + 1) - var_s_7_.method3982((byte) -86, i_2_, i_3_ + 1)); + int i_10_ = (var_s.method3982((byte) -86, i_2_ + 1, i_3_ + 1) - var_s_7_.method3982((byte) -86, i_2_ + 1, i_3_ + 1)); + int i_11_ = (var_s.method3982((byte) -86, i_2_ + 1, i_3_) - var_s_7_.method3982((byte) -86, i_2_ + 1, i_3_)); + var_s_7_.CA(var_r, i_4_, ((i_8_ + i_9_ + i_10_ + i_11_) / 4), i_5_, 0, false); + } + } + } + } + } + } + } + } + + public static void method3438(byte i) { + if (i > 39) aClass138_7274 = null; + } + + public NodeBase() { + /* empty */ + } +} diff --git a/client/native/NodeBaseSub1.java b/client/native/NodeBaseSub1.java new file mode 100644 index 000000000..2a91b7c70 --- /dev/null +++ b/client/native/NodeBaseSub1.java @@ -0,0 +1,41 @@ +/* NodeBaseSub1 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaclib.memory.heap.NativeHeap; + +final class NodeBaseSub1 +/** + * RENAMED from `NodeBaseSub1` (JODE-obfuscated). + * Evidence: extends NodeBase (NodeBase) + */ extends NodeBase { + NativeHeap aNativeHeap9770; + static int anInt9771; + static int anInt9772; + static Component22 aClass113_9773 = new Component22(); + static int anInt9774; + static int anInt9775 = -1; + static int anInt9776 = 0; + + static final int method3439(int i) { + anInt9771++; + if (i <= 92) return 99; + if (Buffer.anInt7207 == 1) return GpiLogger.anInt8854; + return Component210.anInt5283; + } + + NodeBaseSub1(int i) { + this.aNativeHeap9770 = new NativeHeap(i); + } + + final void method3440(int i) { + anInt9772++; + this.aNativeHeap9770.b(); + int i_0_ = -30 / ((i - -26) / 52); + } + + public static void method3441(int i) { + aClass113_9773 = null; + if (i != 1) method3439(-118); + } +} diff --git a/client/native/NodeBaseSub2.java b/client/native/NodeBaseSub2.java new file mode 100644 index 000000000..44955c79f --- /dev/null +++ b/client/native/NodeBaseSub2.java @@ -0,0 +1,108 @@ +/* NodeBaseSub2 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaclib.memory.heap.NativeHeap; +import jaggl.OpenGL; + +final class NodeBaseSub2 +/** + * RENAMED from `NodeBaseSub2` (JODE-obfuscated). + * Evidence: extends NodeBase (NodeBase) + */ extends NodeBase { + static int anInt9777; + static int anInt9778; + static int anInt9779; + static int regionTileX; + static Component161 aClass138_9781; + NativeHeap aNativeHeap9782; + static boolean aBoolean9783 = false; + + static final Component321 method3442(int i, byte[] is, GlExtensionManager class377, int i_0_) { + try { + anInt9779++; + if (is == null) return null; + int i_1_ = OpenGL.glGenProgramARB(); + OpenGL.glBindProgramARB(i, i_1_); + OpenGL.glProgramRawARB(i, 34933, is); + OpenGL.glGetIntegerv(34379, Component65.anIntArray1626, 0); + if (Component65.anIntArray1626[0] != -1) { + OpenGL.glBindProgramARB(i, 0); + return null; + } + OpenGL.glBindProgramARB(i, 0); + if (i_0_ != 4) return null; + return new Component321(class377, i, i_1_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("cu.A(" + i + ',' + (is != null ? "{...}" : "null") + ',' + (class377 != null ? "{...}" : "null") + ',' + i_0_ + ')')); + } + } + + static final void method3443(boolean bool, DisplayModeManagerContainer58 class318_sub1_sub3_sub3) { + anInt9778++; + if ((class318_sub1_sub3_sub3.anIntArray10242) != null || (class318_sub1_sub3_sub3.anIntArray10296) != null) { + boolean bool_2_ = bool; + for (int i = 0; i < (class318_sub1_sub3_sub3.anIntArray10242).length; i++) { + int i_3_ = -1; + if ((class318_sub1_sub3_sub3.anIntArray10242) != null) i_3_ = (class318_sub1_sub3_sub3.anIntArray10242[i]); + if (i_3_ == -1) { + if (!class318_sub1_sub3_sub3.method2423(-80, i, -1)) bool_2_ = false; + } else { + bool_2_ = false; + boolean bool_4_ = false; + boolean bool_5_ = false; + int i_6_; + int i_7_; + if ((i_3_ & ~0x3fffffff) == -1073741824) { + int i_8_ = i_3_ & 0xfffffff; + int i_9_ = i_8_ >> 14; + i_7_ = (class318_sub1_sub3_sub3.x) - 512 * (i_9_ - regionTileX) - 256; + int i_10_ = i_8_ & 0x3fff; + i_6_ = (-256 - (i_10_ - Component330.regionTileY) * 512 + (class318_sub1_sub3_sub3.y)); + } else if ((0x8000 & i_3_) == 0) { + NodeSub22 class348_sub22 = ((NodeSub22) Component21.aClass356_3654.get(i_3_, -6008)); + if (class348_sub22 == null) { + class318_sub1_sub3_sub3.method2423(-96, i, -1); + continue; + } + Npc npc = (class348_sub22.npc); + i_6_ = ((class318_sub1_sub3_sub3.y) - npc.y); + i_7_ = (-(npc.x) + (class318_sub1_sub3_sub3.x)); + } else { + int i_11_ = i_3_ & 0x7fff; + Player player = (InterfaceRenderer.players[i_11_]); + if (player == null) { + class318_sub1_sub3_sub3.method2423(67, i, -1); + continue; + } + i_6_ = ((class318_sub1_sub3_sub3.y) - player.y); + i_7_ = (-(player.x) + (class318_sub1_sub3_sub3.x)); + } + if (i_7_ != 0 || i_6_ != 0) class318_sub1_sub3_sub3.method2423(-100, i, 0x3fff & (int) (Math.atan2(i_7_, i_6_) * 2607.5945876176133)); + } + } + if (bool_2_) { + class318_sub1_sub3_sub3.anIntArray10242 = null; + class318_sub1_sub3_sub3.anIntArray10296 = null; + } + } + } + + public static void method3444(int i) { + if (i <= -85) aClass138_9781 = null; + } + + final void method3445(int i) { + this.aNativeHeap9782.b(); + if (i != -9503) regionTileX = -29; + anInt9777++; + } + + NodeBaseSub2(int i) { + this.aNativeHeap9782 = new NativeHeap(i); + } + + static { + aClass138_9781 = new Component161(14, 0, 4, 1); + } +} diff --git a/client/native/r.java b/client/native/r.java new file mode 100644 index 000000000..afaeb3952 --- /dev/null +++ b/client/native/r.java @@ -0,0 +1,45 @@ +/* r - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +abstract class r +/** + * RENAMED from `r` (JODE-obfuscated). + * Evidence: abstract; extends HashNode + */ extends HashNode { + static Component37 aClass312_9716 = new Component37(); + static int anInt9717; + static boolean[] aBooleanArray9718; + static boolean aBoolean9719 = true; + static DisplayModeManagerContainer204 aClass101_9720; + static volatile int anInt9721; + static boolean aBoolean9722 = false; + static int[][] anIntArrayArray9723; + static int[] anIntArray9724; + + public r() { + /* empty */ + } + + static final void method3284(boolean bool, double d) { + Component352.aClass101_624.method898(Component44.aClass101_905); + anInt9717++; + if (bool != true) method3285(10); + Component352.aClass101_624.method891(0, 0, (int) d); + Component158.aHa326.method3638(Component352.aClass101_624); + } + + public static void method3285(int i) { + int i_0_ = -61 % ((i - -73) / 32); + aClass101_9720 = null; + anIntArray9724 = null; + aBooleanArray9718 = null; + aClass312_9716 = null; + anIntArrayArray9723 = null; + } + + static { + anInt9721 = -1; + anIntArrayArray9723 = new int[128][128]; + } +} diff --git a/client/net/crypto/RSACipher.java b/client/net/crypto/RSACipher.java new file mode 100644 index 000000000..33a20c475 --- /dev/null +++ b/client/net/crypto/RSACipher.java @@ -0,0 +1,141 @@ +/* RSACipher - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class52` (JODE-obfuscated). + * RSA cipher. Holds the RSA public exponent BigInteger("10001",16) (=65537) and implements Interface12 (method51 -> DisplayModeManagerContainer369). method490(byte, Buffer) builds a ciphered block. + */ + +import java.awt.*; +import java.math.BigInteger; + +final class RSACipher implements Interface12 { + static int anInt4894; + static int anInt4895; + static BigInteger rsaPublicExponent = new BigInteger("10001", 16); + static int anInt4897; + static int anInt4898; + int anInt4899; + static int anInt4900; + static Component161 aClass138_4901; + static int anInt4902; + static boolean aBoolean4903 = false; + static Frame aFrame4904; + static StringCache aClass351_4905; + static int[] anIntArray4906; + static StringCache aClass351_4907; + + static final CookieBuilder method490(byte i, Buffer class348_sub49) { + anInt4897++; + CookieBuilder class43 = new CookieBuilder(); + class43.anInt615 = class348_sub49.readUnsignedShort(842397944); + class43.aClass348_Sub42_Sub10_614 = Component31.aClass355_5900.method3471(class43.anInt615, (byte) -90); + int i_0_ = -91 / ((9 - i) / 54); + return class43; + } + + public final DisplayModeManagerContainer369 method51(byte i) { + anInt4894++; + if (i < 116) return null; + return Component386.aClass223_2868; + } + + static final void method491(byte i) { + for (int i_1_ = 0; (ObjectDeserializer.aByteArrayArrayArray6962.length > i_1_); i_1_++) { + for (int i_2_ = 0; i_2_ < ObjectDeserializer.aByteArrayArrayArray6962[0].length; i_2_++) { + for (int i_3_ = 0; (ObjectDeserializer.aByteArrayArrayArray6962[0][0].length > i_3_); i_3_++) + ObjectDeserializer.aByteArrayArrayArray6962[i_1_][i_2_][i_3_] = (byte) 0; + } + } + int i_4_ = 119 / ((i - 47) / 34); + anInt4902++; + } + + public static void method492(int i) { + aClass351_4905 = null; + aClass351_4907 = null; + aFrame4904 = null; + if (i < -17) { + rsaPublicExponent = null; + anIntArray4906 = null; + aClass138_4901 = null; + } + } + + RSACipher(int i) { + this.anInt4899 = i; + } + + static final void method493(boolean bool) { + if (ShaderCompilerSub2.aClass56Array6515 == null) { + ShaderCompilerSub2.aClass56Array6515 = LoadingState.allStages(-91); + RSARequest.currentLoadingState = ShaderCompilerSub2.aClass56Array6515[0]; + Component69.aLong3660 = Component240.currentTimeMillis(-119); + } + anInt4900++; + if (Component44.aClass311_897 == null) DisplayModeManagerContainer88.method726(116); + LoadingState class56 = RSARequest.currentLoadingState; + int i = LoadingManager.pulseLoading(-28660); + if (class56 == RSARequest.currentLoadingState) { + DisplayModeManagerContainer190.aString5420 = RSARequest.currentLoadingState.aClass274_1012.getLocalized(ObjectDeserializer.languageId, 544); + if (RSARequest.currentLoadingState.isBlocking) Component111.anInt3236 = (i * ((RSARequest.currentLoadingState.currentProgress) + -(RSARequest.currentLoadingState.maxProgress)) / 100 + (RSARequest.currentLoadingState.maxProgress)); + if (RSARequest.currentLoadingState.isSmooth) DisplayModeManagerContainer190.aString5420 += Component111.anInt3236 + "%"; + if (Loader.debug && Component111.anInt3236 != lastLoggedLoadPct + && (Component111.anInt3236 < 5 || Component111.anInt3236 % 5 == 0)) { + lastLoggedLoadPct = Component111.anInt3236; + System.out.println("load " + DisplayModeManagerContainer190.aString5420 + + " stage=" + RSARequest.currentLoadingState.getStageId(-120)); + } + } else if (RSARequest.currentLoadingState == LoadingState.aClass56_1043) { + Component44.aClass311_897 = null; + Buffer.setClientState(2, 3); + } else { + DisplayModeManagerContainer190.aString5420 = class56.aClass274_1015.getLocalized(ObjectDeserializer.languageId, 544); + if (RSARequest.currentLoadingState.isSmooth) DisplayModeManagerContainer190.aString5420 += class56.currentProgress + "%"; + Component111.anInt3236 = class56.currentProgress; + if (RSARequest.currentLoadingState.isBlocking || class56.isBlocking) Component69.aLong3660 = Component240.currentTimeMillis(-128); + if (Loader.debug) { + lastLoggedLoadPct = -1; + System.out.println("load stage " + class56.getStageId(-120) + + "->" + RSARequest.currentLoadingState.getStageId(-120) + + " " + DisplayModeManagerContainer190.aString5420); + } + } + if (bool == true) { + if (Component44.aClass311_897 != null) { + Component44.aClass311_897.method2316((RSARequest.currentLoadingState), DisplayModeManagerContainer190.aString5420, Component111.anInt3236, Component69.aLong3660, false); + if (Component280.anInterface16Array2447 != null) { + for (int i_5_ = Component121.anInt4544 - -1; (Component280.anInterface16Array2447.length > i_5_); i_5_++) { + if (Component280.anInterface16Array2447[i_5_].method60(-19079) >= 100 && Component121.anInt4544 == -1 + i_5_ && Component49.clientState >= 1 && Component44.aClass311_897.method2322(0)) { + try { + Component280.anInterface16Array2447[i_5_].method57(117); + } catch (Exception exception) { + Component280.anInterface16Array2447 = null; + break; + } + Component44.aClass311_897.method2321(10559, Component280.anInterface16Array2447[i_5_]); + Component121.anInt4544++; + if ((Component121.anInt4544 >= (-1 + Component280.anInterface16Array2447.length)) && Component280.anInterface16Array2447.length > 1) Component121.anInt4544 = !Component134.aClass111_5813.method1044(26) ? -1 : 0; + } + } + } + } + } + } + + static final int method494(int i, int i_6_) { + if (i <= 78) rsaPublicExponent = null; + anInt4898++; + return 0x7f & i_6_; + } + + private static int lastLoggedLoadPct = -1; + + static { + aClass138_4901 = new Component161(12, 0, 1, 0); + anIntArray4906 = new int[4]; + aClass351_4905 = new StringCache(44, 3); + aClass351_4907 = new StringCache(48, 11); + } +} diff --git a/client/net/crypto/RSARequest.java b/client/net/crypto/RSARequest.java new file mode 100644 index 000000000..9a47c61da --- /dev/null +++ b/client/net/crypto/RSARequest.java @@ -0,0 +1,102 @@ +/* RSARequest - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub42_Sub15` (JODE-obfuscated). + * HashNode carrying the file-server RSA modulus (Loader.FILE_SERVER_RSA_MODULUS). Used for RSA-encrypted handshake/login requests. + */ + +import jaggl.OpenGL; + +import java.math.BigInteger; + +final class RSARequest extends HashNode { + static int anInt9646; + static int anInt9647; + static int anInt9648; + static int anInt9649; + int anInt9650; + int anInt9651; + int anInt9652; + static int anInt9653; + String aString9654; + static int anInt9655; + static int anInt9656; + static BigInteger aBigInteger9657 = Loader.FILE_SERVER_RSA_MODULUS; + static Component24 aClass105_9658; + static Component24 aClass105_9659; + /** Current boot/loading stage driven by {@link LoadingManager#pulseLoading}. */ + static LoadingState currentLoadingState; + + final int method3245(boolean bool) { + anInt9646++; + if (bool != true) method3248(-60); + return (int) (this.key >>> 32 & 0xffL); + } + + final void method3246(int i) { + this.accessAge |= ~0x7fffffffffffffffL; + anInt9653++; + if (method3250((byte) -89) == 0L) AbstractShaderSub4.aClass107_7325.add(true, this); + if (i != -25490) aClass105_9659 = null; + } + + public static void method3247(int i) { + if (i > -49) method3247(49); + currentLoadingState = null; + aClass105_9658 = null; + aClass105_9659 = null; + aBigInteger9657 = null; + } + + final int method3248(int i) { + if (i != 1) return -110; + anInt9647++; + return (int) this.key; + } + + static final Component359 method3249(int i, int i_0_, GlToolkitSub2 var_ha_Sub2, String string) { + try { + anInt9656++; + int i_1_ = -89 / ((29 - i_0_) / 47); + long l = OpenGL.glCreateShaderObjectARB(i); + OpenGL.glShaderSourceARB(l, string); + OpenGL.glCompileShaderARB(l); + OpenGL.glGetObjectParameterivARB(l, 35713, (HashNodeSub4.anIntArray9519), 0); + if (HashNodeSub4.anIntArray9519[0] == 0) { + if (HashNodeSub4.anIntArray9519[0] == 0) System.out.println("aa compile failed:"); + OpenGL.glGetObjectParameterivARB(l, 35716, (HashNodeSub4.anIntArray9519), 1); + if (HashNodeSub4.anIntArray9519[1] > 1) { + byte[] is = new byte[HashNodeSub4.anIntArray9519[1]]; + OpenGL.glGetInfoLogARB(l, (HashNodeSub4.anIntArray9519[1]), HashNodeSub4.anIntArray9519, 0, is, 0); + System.out.println(new String(is)); + } + if (HashNodeSub4.anIntArray9519[0] == 0) { + OpenGL.glDeleteObjectARB(l); + return null; + } + } + return new Component359(var_ha_Sub2, l, i); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("et.G(" + i + ',' + i_0_ + ',' + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ')')); + } + } + + final long method3250(byte i) { + anInt9649++; + if (i >= -37) method3250((byte) 79); + return this.accessAge & 0x7fffffffffffffffL; + } + + RSARequest(int i, int i_2_) { + this.key = (long) i << 32 | (long) i_2_; + } + + final void method3251(int i) { + anInt9648++; + this.accessAge = (~0x7fffffffffffffffL & this.accessAge | Component240.currentTimeMillis(-120) + 500L); + BufferCacheSub2.aClass107_8241.add(true, this); + if (i != -16058) aClass105_9658 = null; + } +} diff --git a/client/net/http/BrowserDetector.java b/client/net/http/BrowserDetector.java new file mode 100644 index 000000000..f222880f6 --- /dev/null +++ b/client/net/http/BrowserDetector.java @@ -0,0 +1,162 @@ +/* BrowserDetector - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class179` (JODE-obfuscated). + * Browser capability detector. Probes for 'havefirefox' / 'haveie6' (and similar) to choose the embedded-browser path. + */ + +final class BrowserDetector { + static int anInt2355; + static int anInt2356; + static int anInt2357; + static int anInt2358; + static int anInt2359; + /** When true, capacity grows by ×{@link #growth}; else by +{@link #growth}. */ + private boolean doubleCapacity = false; + static int anInt2361 = 1; + static int anInt2362; + static int anInt2363; + /** Highest used index in {@link #elements} (−1 if empty). */ + private int highestIndex = -1; + /** Capacity growth step/factor for {@link #nextCapacity}. */ + private final int growth; + static int anInt2366; + /** Backing store for capability / probe strings. */ + private String[] elements = new String[0]; + static int anInt2368; + static int anInt2369; + + static final Object wrapSoft(byte[] is, boolean bool, byte i) { + if (i < 73) anInt2361 = -51; + anInt2363++; + if (is == null) return null; + if (is.length > 136 && !DisplayModeManagerContainer167.aBoolean247) { + try { + AbstractBuffer class344 = new ByteBufferReader(); + class344.setBytes((byte) 62, is); + return class344; + } catch (Throwable throwable) { + DisplayModeManagerContainer167.aBoolean247 = true; + } + } + if (bool) return GlToolkitSub3.method3873(is, 0); + return is; + } + + /** Next capacity ≥ {@code i} using {@link #growth}/{@link #doubleCapacity}. */ + private final int nextCapacity(int i, int i_0_) { + int i_1_ = 71 % ((i_0_ - -4) / 53); + anInt2362++; + int i_2_ = elements.length; + while (i_2_ <= i) { + if (!doubleCapacity) i_2_ += growth; + else if (i_2_ != 0) i_2_ *= growth; + else i_2_ = 1; + } + return i_2_; + } + + static final int unpackHighBits(boolean bool, int i) { + anInt2368++; + if (bool != true) anInt2361 = -32; + return i >>> 10; + } + + /** Open {@code string} in an external browser (IE6/Firefox applet-param aware). */ + static final void openBrowserUrl(String string, ReflectionInvoker class297, boolean bool, boolean bool_3_, int i) { + try { + anInt2369++; + if (bool_3_) { + if (ReflectionInvoker.aString3803.startsWith("win") && class297.signed) { + String string_4_ = null; + if (ToolkitFactory.anApplet1530 != null) string_4_ = ToolkitFactory.anApplet1530.getParameter("haveie6"); + if (string_4_ == null || !string_4_.equals("1")) { + Task class144 = BrowserUrlOpener.openUrl(class297, string, -117, 0); + Component203.aClass144_8766 = class144; + Component195.aClass297_5017 = class297; + CacheNode.aString9554 = string; + return; + } + } + if (ReflectionInvoker.aString3803.startsWith("mac")) { + String string_5_ = null; + if (ToolkitFactory.anApplet1530 != null) string_5_ = ToolkitFactory.anApplet1530.getParameter("havefirefox"); + if (string_5_ != null && string_5_.equals("1") && bool) { + BrowserUrlOpener.openUrl(class297, string, 42, 1); + return; + } + } + BrowserUrlOpener.openUrl(class297, string, 96, 2); + } else BrowserUrlOpener.openUrl(class297, string, -96, 3); + int i_6_ = -6 / ((i - 20) / 44); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bo.C(" + (string != null ? "{...}" : "null") + ',' + (class297 != null ? "{...}" : "null") + ',' + bool + ',' + bool_3_ + ',' + i + ')')); + } + } + + /** Copy used slots {@code [0 .. highestIndex]} inclusive. */ + final String[] toArray(int i) { + anInt2359++; + int i_7_ = 95 % ((15 - i) / 32); + String[] strings = new String[1 + highestIndex]; + Component313.arraycopyObjects(elements, 0, strings, 0, highestIndex - -1); + return strings; + } + + /** Store {@code string} at index {@code i_8_}, growing as needed. */ + private final void set(String string, int i, int i_8_) { + if (i >= -56) doubleCapacity = true; + anInt2366++; + if (i_8_ > highestIndex) highestIndex = i_8_; + if (elements.length <= i_8_) ensureCapacity(i_8_, -107); + elements[i_8_] = string; + } + + /** Grow {@link #elements} to at least index {@code i}. */ + private final void ensureCapacity(int i, int i_9_) { + int i_10_ = 50 % ((3 - i_9_) / 63); + anInt2358++; + String[] strings = new String[nextCapacity(i, 108)]; + Component313.arraycopyObjects(elements, 0, strings, 0, elements.length); + elements = strings; + } + + /** Append {@code string} after {@link #highestIndex}. */ + final void add(int i, String string) { + set(string, -99, 1 + highestIndex); + anInt2356++; + if (i != -1) doubleCapacity = true; + } + + static final void method1365(int i, byte i_11_, Buffer class348_sub49) { + if (i_11_ > -113) anInt2361 = -64; + if (DisplayModeManagerContainer152.aClass78_4538 != null) { + try { + DisplayModeManagerContainer152.aClass78_4538.seek(0L, (byte) 59); + DisplayModeManagerContainer152.aClass78_4538.write(i, 24, true, (class348_sub49.payload)); + } catch (Exception exception) { + /* empty */ + } + } + anInt2355++; + } + + BrowserDetector(int i, boolean bool) { + growth = i; + doubleCapacity = bool; + } + + public final String toString() { + anInt2357++; + StringBuffer stringbuffer = new StringBuffer(); + stringbuffer.append("["); + for (int i = 0; highestIndex > i; i++) { + if (i != 0) stringbuffer.append(", "); + stringbuffer.append(elements[i]); + } + stringbuffer.append("]"); + return stringbuffer.toString(); + } +} diff --git a/client/net/http/BrowserUrlOpener.java b/client/net/http/BrowserUrlOpener.java new file mode 100644 index 000000000..8afa087eb --- /dev/null +++ b/client/net/http/BrowserUrlOpener.java @@ -0,0 +1,983 @@ +/* BrowserUrlOpener - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub16_Sub3` (JODE-obfuscated). + * Browser URL opener. Extends NodeSub16; opens external pages (e.g. the 'loggedout' page) in a new browser window via JS (openjs, target _blank). + */ + +import java.net.URL; + +final class BrowserUrlOpener extends NodeSub16 { + static int anInt8889; + static int anInt8890; + private final LruCache aClass356_8891; + static int anInt8892; + static int anInt8893; + private final int[] anIntArray8894; + int[] anIntArray8895; + private final int[] anIntArray8896; + static int anInt8897; + static int anInt8898; + private final int[] anIntArray8899; + static int anInt8900; + static int anInt8901; + private int[] anIntArray8902; + static int anInt8903; + private final int[] anIntArray8904; + static int anInt8905; + int[] anIntArray8906; + static int anInt8907; + static int anInt8908; + static int anInt8909; + static int[][] anIntArrayArray8910 = {{0, 1, 2, 3}, {1, 2, 3, 0}, {1, 2, -1, 0}, {2, 0, -1, 1}, {0, 1, -1, 2}, {1, 2, -1, 0}, {-1, 4, -1, 1}, {-1, 1, 3, -1}, {-1, 0, 2, -1}, {3, 5, 2, 0}, {0, 2, 5, 3}, {0, 2, 3, 5}, {0, 1, 2, 3}}; + static int anInt8911; + static int anInt8912; + static int anInt8913; + int[] anIntArray8914; + private final PlayerState[][] aClass348_Sub43ArrayArray8915; + private int[] anIntArray8916; + static int anInt8917; + static int anInt8918; + static int anInt8919; + static int anInt8920; + private final int anInt8921; + static int anInt8922; + static int anInt8923; + static int anInt8924; + private final int[] anIntArray8925; + static CacheStore aClass45_8926; + static int anInt8927; + private final PlayerState[][] aClass348_Sub43ArrayArray8928; + static int anInt8929; + static int anInt8930; + static int anInt8931; + static int anInt8932; + private int anInt8933; + static int anInt8934; + static int anInt8935; + static int anInt8936; + private int[] anIntArray8937; + static int anInt8938; + private final int[] anIntArray8939; + static int anInt8940; + static int anInt8941; + private int[] anIntArray8942; + static int anInt8943; + private Component198 aClass204_8944; + private final int[] anIntArray8945; + static int anInt8946; + private int[] anIntArray8947; + static int anInt8948; + static int anInt8949; + static int anInt8950; + static int anInt8951; + static int anInt8952; + private final int[] anIntArray8953; + static int anInt8954; + static int anInt8955; + private int anInt8956; + private long aLong8957; + private GpiLogger aClass348_Sub16_Sub1_8958; + private long aLong8959; + private int anInt8960; + private boolean aBoolean8961; + private int anInt8962; + private NodeSub2 aClass348_Sub2_8963; + private boolean aBoolean8964; + + static final void method2839(int i, int i_0_, int i_1_) { + anInt8890++; + Component283.anInt4609 = i - DisplayModeManagerContainer229.anInt1266; + Component377.anInt859 = i_1_ + -DisplayModeManagerContainer229.anInt1263; + if (i_0_ != -17) method2839(-112, -58, -95); + } + + final synchronized NodeSub16 method2818() { + anInt8946++; + return null; + } + + private final synchronized void method2840(boolean bool, byte i) { + aClass204_8944.method1487(); + anInt8950++; + aClass348_Sub2_8963 = null; + method2851(true, bool); + if (i >= -74) method2879(-43, 88, -33); + } + + final synchronized void method2841(int i, int i_2_, int i_3_) { + if (i_2_ < -34) { + anInt8935++; + method2854(i_3_, i, 98); + } + } + + private final void method2842(int i, int i_4_) { + anInt8922++; + int i_5_ = i_4_ & 0xf0; + if (i_5_ == 128) { + int i_6_ = i_4_ & 0xf; + int i_7_ = (0x7f44 & i_4_) >> 8; + int i_8_ = (0x7f9fe0 & i_4_) >> 16; + method2849(i_8_, i_7_, (byte) 97, i_6_); + } else if (i_5_ == 144) { + int i_9_ = 0xf & i_4_; + int i_10_ = 0x7f & i_4_ >> 8; + int i_11_ = 0x7f & i_4_ >> 16; + if (i_11_ <= 0) method2849(64, i_10_, (byte) 74, i_9_); + else method2853(0, i_11_, i_10_, i_9_); + } else if (i_5_ == 160) { + int i_12_ = 0xf & i_4_; + int i_13_ = i_4_ >> 8 & 0x7f; + int i_14_ = (i_4_ & 0x7fba60) >> 16; + method2863(i_14_, 90, i_12_, i_13_); + } else if (i_5_ == 176) { + int i_15_ = 0xf & i_4_; + int i_16_ = (0x7f93 & i_4_) >> 8; + int i_17_ = 0x7f & i_4_ >> 16; + if (i_16_ == 0) anIntArray8947[i_15_] = ((i_17_ << 14) + GpsOverlay.bitwiseAnd(anIntArray8947[i_15_], -2080769)); + if (i_16_ == 32) anIntArray8947[i_15_] = ((i_17_ << 7) + GpsOverlay.bitwiseAnd(anIntArray8947[i_15_], -16257)); + if (i_16_ == 1) anIntArray8899[i_15_] = (GpsOverlay.bitwiseAnd(-16257, anIntArray8899[i_15_]) + (i_17_ << 7)); + if (i_16_ == 33) anIntArray8899[i_15_] = (GpsOverlay.bitwiseAnd(anIntArray8899[i_15_], -128) - -i_17_); + if (i_16_ == 5) anIntArray8939[i_15_] = (GpsOverlay.bitwiseAnd(anIntArray8939[i_15_], -16257) - -(i_17_ << 7)); + if (i_16_ == 37) anIntArray8939[i_15_] = i_17_ + GpsOverlay.bitwiseAnd(-128, anIntArray8939[i_15_]); + if (i_16_ == 7) anIntArray8953[i_15_] = ((i_17_ << 7) + GpsOverlay.bitwiseAnd(-16257, anIntArray8953[i_15_])); + if (i_16_ == 39) anIntArray8953[i_15_] = i_17_ + GpsOverlay.bitwiseAnd(anIntArray8953[i_15_], -128); + if (i_16_ == 10) anIntArray8894[i_15_] = ((i_17_ << 7) + GpsOverlay.bitwiseAnd(anIntArray8894[i_15_], -16257)); + if (i_16_ == 42) anIntArray8894[i_15_] = i_17_ + GpsOverlay.bitwiseAnd(anIntArray8894[i_15_], -128); + if (i_16_ == 11) anIntArray8896[i_15_] = ((i_17_ << 7) + GpsOverlay.bitwiseAnd(-16257, anIntArray8896[i_15_])); + if (i_16_ == 43) anIntArray8896[i_15_] = (GpsOverlay.bitwiseAnd(-128, anIntArray8896[i_15_]) - -i_17_); + if (i_16_ == 64) { + if (i_17_ < 64) this.anIntArray8895[i_15_] = GpsOverlay.bitwiseAnd((this.anIntArray8895[i_15_]), -2); + else this.anIntArray8895[i_15_] = Component224.bitwiseOr((this.anIntArray8895[i_15_]), 1); + } + if (i_16_ == 65) { + if (i_17_ >= 64) this.anIntArray8895[i_15_] = Component224.bitwiseOr((this.anIntArray8895[i_15_]), 2); + else { + method2858(-106, i_15_); + this.anIntArray8895[i_15_] = GpsOverlay.bitwiseAnd((this.anIntArray8895[i_15_]), -3); + } + } + if (i_16_ == 99) anIntArray8904[i_15_] = ((i_17_ << 7) + GpsOverlay.bitwiseAnd(127, anIntArray8904[i_15_])); + if (i_16_ == 98) anIntArray8904[i_15_] = (GpsOverlay.bitwiseAnd(16256, anIntArray8904[i_15_]) + i_17_); + if (i_16_ == 101) anIntArray8904[i_15_] = (16384 - -GpsOverlay.bitwiseAnd(anIntArray8904[i_15_], 127) + (i_17_ << 7)); + if (i_16_ == 100) anIntArray8904[i_15_] = i_17_ + (GpsOverlay.bitwiseAnd(16256, anIntArray8904[i_15_]) + 16384); + if (i_16_ == 120) method2872(2005674600, i_15_); + if (i_16_ == 121) method2865(0, i_15_); + if (i_16_ == 123) method2855(i_15_, (byte) -70); + if (i_16_ == 6) { + int i_18_ = anIntArray8904[i_15_]; + if (i_18_ == 16384) anIntArray8902[i_15_] = ((i_17_ << 7) + GpsOverlay.bitwiseAnd(anIntArray8902[i_15_], -16257)); + } + if (i_16_ == 38) { + int i_19_ = anIntArray8904[i_15_]; + if (i_19_ == 16384) anIntArray8902[i_15_] = i_17_ + GpsOverlay.bitwiseAnd(-128, anIntArray8902[i_15_]); + } + if (i_16_ == 16) this.anIntArray8914[i_15_] = (GpsOverlay.bitwiseAnd(-16257, (this.anIntArray8914[i_15_])) + (i_17_ << 7)); + if (i_16_ == 48) this.anIntArray8914[i_15_] = GpsOverlay.bitwiseAnd((this.anIntArray8914[i_15_]), -128) - -i_17_; + if (i_16_ == 81) { + if (i_17_ >= 64) this.anIntArray8895[i_15_] = Component224.bitwiseOr((this.anIntArray8895[i_15_]), 4); + else { + method2850(i_15_, 0); + this.anIntArray8895[i_15_] = GpsOverlay.bitwiseAnd((this.anIntArray8895[i_15_]), -5); + } + } + if (i_16_ == 17) method2857(i_15_, 125, (i_17_ << 7) + (~0x3f80 & anIntArray8942[i_15_])); + if (i_16_ == 49) method2857(i_15_, 125, i_17_ + (~0x7f & anIntArray8942[i_15_])); + } else if (i_5_ == 192) { + int i_20_ = i_4_ & 0xf; + int i_21_ = 0x7f & i_4_ >> 8; + method2873((byte) -21, anIntArray8947[i_20_] + i_21_, i_20_); + } else if (i_5_ == 208) { + int i_22_ = 0xf & i_4_; + int i_23_ = (0x7f48 & i_4_) >> 8; + method2859(i_22_, i_23_, -32); + } else { + if (i < 54) anInt8956 = -51; + if (i_5_ == 224) { + int i_24_ = 0xf & i_4_; + int i_25_ = ((0x7f & i_4_ >> 8) + ((0x7f0064 & i_4_) >> 9)); + method2875(i_24_, 2, i_25_); + } else { + i_5_ = 0xff & i_4_; + if (i_5_ == 255) method2851(true, true); + } + } + } + + final synchronized void method2843(int i, int i_26_, int i_27_) { + if (i_26_ < 0) { + for (int i_28_ = 0; i_28_ < 16; i_28_++) + anIntArray8925[i_28_] = i; + } else anIntArray8925[i_26_] = i; + anInt8907++; + if (i_27_ != -7836) method2843(41, 73, 85); + } + + final int method2844(byte i) { + int i_29_ = -88 / ((8 - i) / 40); + anInt8892++; + return anInt8933; + } + + private final int method2845(int i, PlayerState class348_sub43) { + try { + if (i != 0) anInt8956 = 53; + anInt8934++; + int i_30_ = (class348_sub43.anInt7080 - -((class348_sub43.anInt7072 * class348_sub43.anInt7089) >> 12)); + i_30_ += (((anIntArray8937[class348_sub43.anInt7067]) - 8192) * anIntArray8902[(class348_sub43.anInt7067)]) >> 12; + Component234 class23 = class348_sub43.aClass23_7075; + if (class23.anInt352 > 0 && (class23.anInt353 > 0 || (anIntArray8899[class348_sub43.anInt7067]) > 0)) { + int i_31_ = class23.anInt353 << 2; + int i_32_ = class23.anInt346 << 1; + if (i_32_ > class348_sub43.anInt7083) i_31_ = (i_31_ * class348_sub43.anInt7083 / i_32_); + i_31_ += anIntArray8899[(class348_sub43.anInt7067)] >> 7; + double d = Math.sin((double) ((class348_sub43.anInt7076) & 0x1ff) * 0.01227184630308513); + i_30_ += (int) (d * (double) i_31_); + } + int i_33_ = (int) (((double) (class348_sub43.aClass348_Sub19_Sub1_7077.anInt8988 * 256) * Math.pow(2.0, 3.255208333333333E-4 * (double) i_30_) / (double) Component231.sampleRate) + 0.5); + return Math.max(i_33_, 1); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ma.JA(" + i + ',' + (class348_sub43 != null ? "{...}" : "null") + ')')); + } + } + + private final synchronized void method2846(boolean bool, boolean bool_34_, NodeSub2 class348_sub2, boolean bool_35_) { + do { + try { + method2840(bool_34_, (byte) -127); + anInt8889++; + aClass204_8944.method1482(class348_sub2.aByteArray6564); + aLong8959 = 0L; + aBoolean8961 = bool_35_; + int i = aClass204_8944.method1483(); + for (int i_36_ = 0; i_36_ < i; i_36_++) { + aClass204_8944.method1492(i_36_); + aClass204_8944.method1485(i_36_); + aClass204_8944.method1486(i_36_); + } + anInt8960 = aClass204_8944.method1490(); + anInt8956 = aClass204_8944.anIntArray2681[anInt8960]; + aLong8957 = aClass204_8944.method1488(anInt8956); + if (bool == false) break; + aClass348_Sub16_Sub1_8958 = null; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ma.T(" + bool + ',' + bool_34_ + ',' + (class348_sub2 != null ? "{...}" : "null") + ',' + bool_35_ + ')')); + } + break; + } while (false); + } + + final boolean method2847(int i, PlayerState class348_sub43) { + try { + anInt8948++; + int i_37_ = 47 / ((i - -62) / 36); + if (class348_sub43.aClass348_Sub16_Sub5_7081 == null) { + if (class348_sub43.anInt7087 >= 0) { + class348_sub43.unlink((byte) 97); + if (class348_sub43.anInt7088 > 0 && (class348_sub43 == (aClass348_Sub43ArrayArray8915[class348_sub43.anInt7067][(class348_sub43.anInt7088)]))) aClass348_Sub43ArrayArray8915[class348_sub43.anInt7067][class348_sub43.anInt7088] = null; + } + return true; + } + return false; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ma.W(" + i + ',' + (class348_sub43 != null ? "{...}" : "null") + ')')); + } + } + + private final int method2848(PlayerState class348_sub43, byte i) { + try { + if (i != -70) anIntArray8942 = null; + anInt8936++; + int i_38_ = anIntArray8894[class348_sub43.anInt7067]; + if (i_38_ >= 8192) return 16384 - ((-class348_sub43.anInt7074 + 128) * (16384 - i_38_) - -32 >> 6); + return (class348_sub43.anInt7074 * i_38_ - -32 >> 6); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ma.GA(" + (class348_sub43 != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + private final void method2849(int i, int i_39_, byte i_40_, int i_41_) { + anInt8941++; + PlayerState class348_sub43 = aClass348_Sub43ArrayArray8928[i_41_][i_39_]; + if (class348_sub43 != null) { + int i_42_ = -123 % ((i_40_ - 24) / 42); + aClass348_Sub43ArrayArray8928[i_41_][i_39_] = null; + if ((this.anIntArray8895[i_41_] & 0x2) != 0) { + for (PlayerState class348_sub43_43_ = ((PlayerState) aClass348_Sub16_Sub1_8958.aClass262_8848.first(4)); class348_sub43_43_ != null; class348_sub43_43_ = ((PlayerState) aClass348_Sub16_Sub1_8958.aClass262_8848.next((byte) 36))) { + if ((class348_sub43_43_.anInt7067 == class348_sub43.anInt7067) && class348_sub43_43_.anInt7087 < 0 && class348_sub43 != class348_sub43_43_) { + class348_sub43.anInt7087 = 0; + break; + } + } + } else class348_sub43.anInt7087 = 0; + } + } + + private final void method2850(int i, int i_44_) { + if ((0x4 & this.anIntArray8895[i]) != 0) { + for (PlayerState class348_sub43 = ((PlayerState) aClass348_Sub16_Sub1_8958.aClass262_8848.first(4)); class348_sub43 != null; class348_sub43 = ((PlayerState) aClass348_Sub16_Sub1_8958.aClass262_8848.next((byte) 65))) { + if (i == class348_sub43.anInt7067) class348_sub43.anInt7082 = 0; + } + } + if (i_44_ == 0) anInt8897++; + } + + private final void method2851(boolean bool, boolean bool_45_) { + if (bool_45_) method2872(2005674600, -1); + else method2855(-1, (byte) -79); + anInt8951++; + method2865(0, -1); + if (bool != true) anIntArray8947 = null; + for (int i = 0; i < 16; i++) + anIntArray8916[i] = anIntArray8945[i]; + for (int i = 0; i < 16; i++) + anIntArray8947[i] = GpsOverlay.bitwiseAnd(anIntArray8945[i], -128); + } + + final boolean method2852(int[] is, int i, PlayerState class348_sub43, int i_46_, byte i_47_) { + try { + class348_sub43.anInt7086 = Component231.sampleRate / 100; + anInt8952++; + if (class348_sub43.anInt7087 >= 0 && ((class348_sub43.aClass348_Sub16_Sub5_7081) == null || class348_sub43.aClass348_Sub16_Sub5_7081.method2890())) { + class348_sub43.method3299((byte) 36); + class348_sub43.unlink((byte) 66); + if (class348_sub43.anInt7088 > 0 && (class348_sub43 == (aClass348_Sub43ArrayArray8915[class348_sub43.anInt7067][class348_sub43.anInt7088]))) aClass348_Sub43ArrayArray8915[class348_sub43.anInt7067][class348_sub43.anInt7088] = null; + return true; + } + int i_48_ = class348_sub43.anInt7089; + if (i_47_ != -4) return false; + if (i_48_ > 0) { + i_48_ -= (int) (0.5 + (16.0 * Math.pow(2.0, (4.921259842519685E-4 * (double) (anIntArray8939[(class348_sub43.anInt7067)]))))); + if (i_48_ < 0) i_48_ = 0; + class348_sub43.anInt7089 = i_48_; + } + class348_sub43.aClass348_Sub16_Sub5_7081.method2901(method2845(0, class348_sub43)); + Component234 class23 = class348_sub43.aClass23_7075; + boolean bool = false; + class348_sub43.anInt7076 += class23.anInt352; + class348_sub43.anInt7083++; + double d = (double) ((class348_sub43.anInt7071 - 60 << 8) - -((class348_sub43.anInt7072 * class348_sub43.anInt7089) >> 12)) * 5.086263020833333E-6; + if (class23.anInt347 > 0) { + if (class23.anInt350 <= 0) class348_sub43.anInt7090 += 128; + else class348_sub43.anInt7090 += (int) ((128.0 * Math.pow(2.0, (double) (class23.anInt350) * d)) + 0.5); + if ((class23.anInt347 * class348_sub43.anInt7090) >= 819200) bool = true; + } + if (class23.aByteArray348 != null) { + if (class23.anInt345 > 0) class348_sub43.anInt7070 += (int) (0.5 + (128.0 * Math.pow(2.0, d * (double) (class23.anInt345)))); + else class348_sub43.anInt7070 += 128; + for (/**/; ((class348_sub43.anInt7069 < -2 + class23.aByteArray348.length) && (class348_sub43.anInt7070 > (0xff00 & (class23.aByteArray348[2 + (class348_sub43.anInt7069)]) << 8))); class348_sub43.anInt7069 += 2) { + /* empty */ + } + if ((class348_sub43.anInt7069 == -2 + class23.aByteArray348.length) && ((class23.aByteArray348[1 + class348_sub43.anInt7069]) == 0)) bool = true; + } + if (class348_sub43.anInt7087 >= 0 && class23.aByteArray344 != null && (0x1 & (this.anIntArray8895[class348_sub43.anInt7067])) == 0 && (class348_sub43.anInt7088 < 0 || ((aClass348_Sub43ArrayArray8915[class348_sub43.anInt7067][class348_sub43.anInt7088]) != class348_sub43))) { + if (class23.anInt349 > 0) class348_sub43.anInt7087 += (int) ((Math.pow(2.0, (double) (class23.anInt349) * d) * 128.0) + 0.5); + else class348_sub43.anInt7087 += 128; + for (/**/; ((class348_sub43.anInt7084 < -2 + class23.aByteArray344.length) && (((class23.aByteArray344[(class348_sub43.anInt7084 - -2)]) << 8 & 0xff00) < class348_sub43.anInt7087)); class348_sub43.anInt7084 += 2) { + /* empty */ + } + if (class348_sub43.anInt7084 == -2 + class23.aByteArray344.length) bool = true; + } + if (bool) { + class348_sub43.aClass348_Sub16_Sub5_7081.method2902(class348_sub43.anInt7086); + if (is == null) class348_sub43.aClass348_Sub16_Sub5_7081.method2819(i); + else class348_sub43.aClass348_Sub16_Sub5_7081.method2817(is, i_46_, i); + if (class348_sub43.aClass348_Sub16_Sub5_7081.method2895()) aClass348_Sub16_Sub1_8958.aClass348_Sub16_Sub4_8855.method2883(class348_sub43.aClass348_Sub16_Sub5_7081); + class348_sub43.method3299((byte) -100); + if (class348_sub43.anInt7087 >= 0) { + class348_sub43.unlink((byte) 124); + if (class348_sub43.anInt7088 > 0 && (class348_sub43 == (aClass348_Sub43ArrayArray8915[class348_sub43.anInt7067][(class348_sub43.anInt7088)]))) aClass348_Sub43ArrayArray8915[class348_sub43.anInt7067][class348_sub43.anInt7088] = null; + } + return true; + } + class348_sub43.aClass348_Sub16_Sub5_7081.method2888(class348_sub43.anInt7086, method2868(class348_sub43, -76), method2848(class348_sub43, (byte) -70)); + return false; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ma.U(" + (is != null ? "{...}" : "null") + ',' + i + ',' + (class348_sub43 != null ? "{...}" : "null") + ',' + i_46_ + ',' + i_47_ + ')')); + } + } + + private final void method2853(int i, int i_49_, int i_50_, int i_51_) { + method2849(64, i_50_, (byte) 86, i_51_); + anInt8931++; + if ((0x2 & this.anIntArray8895[i_51_]) != 0) { + for (PlayerState class348_sub43 = ((PlayerState) aClass348_Sub16_Sub1_8958.aClass262_8848.last(i ^ ~0x51)); class348_sub43 != null; class348_sub43 = ((PlayerState) aClass348_Sub16_Sub1_8958.aClass262_8848.previous(-50))) { + if ((class348_sub43.anInt7067 == i_51_) && class348_sub43.anInt7087 < 0) { + aClass348_Sub43ArrayArray8928[i_51_][class348_sub43.anInt7071] = null; + aClass348_Sub43ArrayArray8928[i_51_][i_50_] = class348_sub43; + int i_52_ = (((class348_sub43.anInt7089 * class348_sub43.anInt7072) >> 12) + class348_sub43.anInt7080); + class348_sub43.anInt7080 += (-class348_sub43.anInt7071 + i_50_) << 8; + class348_sub43.anInt7072 = -class348_sub43.anInt7080 + i_52_; + class348_sub43.anInt7071 = i_50_; + class348_sub43.anInt7089 = 4096; + return; + } + } + } + NpcDefinition class348_sub17 = ((NpcDefinition) aClass356_8891.get(anIntArray8916[i_51_], -6008)); + if (class348_sub17 != null) { + NodeSub19Sub1 class348_sub19_sub1 = (class348_sub17.aClass348_Sub19_Sub1Array6800[i_50_]); + if (class348_sub19_sub1 != null) { + PlayerState class348_sub43 = new PlayerState(); + class348_sub43.anInt7067 = i_51_; + class348_sub43.aClass348_Sub17_7085 = class348_sub17; + class348_sub43.aClass348_Sub19_Sub1_7077 = class348_sub19_sub1; + class348_sub43.aClass23_7075 = (class348_sub17.aClass23Array6796[i_50_]); + class348_sub43.anInt7088 = class348_sub17.aByteArray6798[i_50_]; + class348_sub43.anInt7071 = i_50_; + class348_sub43.anInt7066 = 1024 + ((class348_sub17.aByteArray6799[i_50_]) * (class348_sub17.anInt6797 * (i_49_ * i_49_))) >> 11; + class348_sub43.anInt7074 = (class348_sub17.aByteArray6792[i_50_] & 0xff); + class348_sub43.anInt7080 = ((i_50_ << 8) + -((class348_sub17.aShortArray6795[i_50_]) & 0x7fff)); + class348_sub43.anInt7087 = -1; + class348_sub43.anInt7070 = 0; + class348_sub43.anInt7069 = i; + class348_sub43.anInt7090 = 0; + class348_sub43.anInt7084 = 0; + if (this.anIntArray8914[i_51_] == 0) class348_sub43.aClass348_Sub16_Sub5_7081 = (NodeSub16Sub5.method2911(class348_sub19_sub1, method2845(0, class348_sub43), method2868(class348_sub43, i + -82), method2848(class348_sub43, (byte) -70))); + else { + class348_sub43.aClass348_Sub16_Sub5_7081 = (NodeSub16Sub5.method2911(class348_sub19_sub1, method2845(0, class348_sub43), 0, method2848(class348_sub43, (byte) -70))); + method2874(i ^ 0x7a, (class348_sub17.aShortArray6795[i_50_]) < 0, class348_sub43); + } + if (class348_sub17.aShortArray6795[i_50_] < 0) class348_sub43.aClass348_Sub16_Sub5_7081.method2917(-1); + if (class348_sub43.anInt7088 >= 0) { + PlayerState class348_sub43_53_ = (aClass348_Sub43ArrayArray8915[i_51_][class348_sub43.anInt7088]); + if (class348_sub43_53_ != null && class348_sub43_53_.anInt7087 < 0) { + aClass348_Sub43ArrayArray8928[i_51_][class348_sub43_53_.anInt7071] = null; + class348_sub43_53_.anInt7087 = 0; + } + aClass348_Sub43ArrayArray8915[i_51_][class348_sub43.anInt7088] = class348_sub43; + } + aClass348_Sub16_Sub1_8958.aClass262_8848.addTail(class348_sub43, i ^ ~0x4ed3); + aClass348_Sub43ArrayArray8928[i_51_][i_50_] = class348_sub43; + } + } + } + + private final void method2854(int i, int i_54_, int i_55_) { + anInt8943++; + anIntArray8945[i_54_] = i; + if (i_55_ < 39) aClass45_8926 = null; + anIntArray8947[i_54_] = GpsOverlay.bitwiseAnd(i, -128); + method2873((byte) -21, i, i_54_); + } + + private final void method2855(int i, byte i_56_) { + anInt8927++; + if (i_56_ < -42) { + for (PlayerState class348_sub43 = ((PlayerState) aClass348_Sub16_Sub1_8958.aClass262_8848.first(4)); class348_sub43 != null; class348_sub43 = ((PlayerState) aClass348_Sub16_Sub1_8958.aClass262_8848.next((byte) 60))) { + if ((i < 0 || i == class348_sub43.anInt7067) && class348_sub43.anInt7087 < 0) { + aClass348_Sub43ArrayArray8928[class348_sub43.anInt7067][class348_sub43.anInt7071] = null; + class348_sub43.anInt7087 = 0; + } + } + } + } + + private final void method2856(byte i) { + anInt8955++; + int i_57_ = anInt8960; + int i_58_ = anInt8956; + long l = aLong8957; + if (aClass348_Sub2_8963 != null && anInt8962 == i_58_) { + method2846(false, aBoolean8964, aClass348_Sub2_8963, aBoolean8961); + method2856((byte) 124); + } else { + while (i_58_ == anInt8956) { + while (aClass204_8944.anIntArray2681[i_57_] == i_58_) { + aClass204_8944.method1492(i_57_); + int i_59_ = aClass204_8944.method1494(i_57_); + if (i_59_ == 1) { + aClass204_8944.method1495(); + aClass204_8944.method1486(i_57_); + if (aClass204_8944.method1480()) { + if (aClass348_Sub2_8963 != null) { + method2869(aClass348_Sub2_8963, aBoolean8961, false); + method2856((byte) 124); + return; + } + if (aBoolean8961 && i_58_ != 0) aClass204_8944.method1484(l); + else { + method2851(true, true); + aClass204_8944.method1487(); + return; + } + } + break; + } + if ((0x80 & i_59_) != 0) method2842(i ^ 0x40, i_59_); + aClass204_8944.method1485(i_57_); + aClass204_8944.method1486(i_57_); + } + i_57_ = aClass204_8944.method1490(); + i_58_ = aClass204_8944.anIntArray2681[i_57_]; + l = aClass204_8944.method1488(i_58_); + } + if (i != 124) method2879(-127, -46, -96); + aLong8957 = l; + anInt8956 = i_58_; + anInt8960 = i_57_; + if (aClass348_Sub2_8963 != null && i_58_ > anInt8962) { + anInt8960 = -1; + anInt8956 = anInt8962; + aLong8957 = aClass204_8944.method1488(anInt8956); + } + } + } + + private final void method2857(int i, int i_60_, int i_61_) { + anInt8917++; + anIntArray8942[i] = i_61_; + this.anIntArray8906[i] = (int) (0.5 + 2097152.0 * Math.pow(2.0, 5.4931640625E-4 * (double) i_61_)); + if (i_60_ < 124) this.anIntArray8906 = null; + } + + private final void method2858(int i, int i_62_) { + anInt8893++; + if (i >= -101) method2856((byte) -89); + if ((this.anIntArray8895[i_62_] & 0x2) != 0) { + for (PlayerState class348_sub43 = ((PlayerState) aClass348_Sub16_Sub1_8958.aClass262_8848.first(4)); class348_sub43 != null; class348_sub43 = ((PlayerState) aClass348_Sub16_Sub1_8958.aClass262_8848.next((byte) 41))) { + if ((class348_sub43.anInt7067 == i_62_) && (aClass348_Sub43ArrayArray8928[i_62_][class348_sub43.anInt7071]) == null && class348_sub43.anInt7087 < 0) class348_sub43.anInt7087 = 0; + } + } + } + + final synchronized void method2819(int i) { + anInt8908++; + if (aClass204_8944.method1491()) { + int i_63_ = (aClass204_8944.anInt2683 * anInt8921 / Component231.sampleRate); + do { + long l = aLong8959 + (long) i_63_ * (long) i; + if (-l + aLong8957 >= 0L) { + aLong8959 = l; + break; + } + int i_64_ = (int) ((-1L + -aLong8959 + aLong8957 + (long) i_63_) / (long) i_63_); + aLong8959 += (long) i_64_ * (long) i_63_; + aClass348_Sub16_Sub1_8958.method2819(i_64_); + i -= i_64_; + method2856((byte) 124); + } while (aClass204_8944.method1491()); + } + aClass348_Sub16_Sub1_8958.method2819(i); + } + + private final void method2859(int i, int i_65_, int i_66_) { + anInt8905++; + if (i_66_ != -32) anIntArray8916 = null; + } + + final synchronized boolean method2860(int i) { + if (i <= 94) method2818(); + anInt8949++; + return aClass204_8944.method1491(); + } + + final synchronized void method2817(int[] is, int i, int i_67_) { + try { + anInt8898++; + if (aClass204_8944.method1491()) { + int i_68_ = (anInt8921 * aClass204_8944.anInt2683 / Component231.sampleRate); + do { + long l = aLong8959 + (long) i_67_ * (long) i_68_; + if (aLong8957 + -l >= 0L) { + aLong8959 = l; + break; + } + int i_69_ = (int) ((-1L + (long) i_68_ + aLong8957 + -aLong8959) / (long) i_68_); + aLong8959 += (long) i_68_ * (long) i_69_; + aClass348_Sub16_Sub1_8958.method2817(is, i, i_69_); + i += i_69_; + i_67_ -= i_69_; + method2856((byte) 124); + } while (aClass204_8944.method1491()); + } + aClass348_Sub16_Sub1_8958.method2817(is, i, i_67_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ma.C(" + (is != null ? "{...}" : "null") + ',' + i + ',' + i_67_ + ')')); + } + } + + final synchronized void method2861(int i, int i_70_) { + if (i != 0) method2878(56, 73, 54); + anInt8933 = i_70_; + anInt8938++; + } + + /** Open {@code string} relative to codebase: 0=JS task, 1=openjs, 2=_blank, 3=_top. */ + static final Task openUrl(ReflectionInvoker class297, String string, int i, int i_71_) { + try { + int i_72_ = 16 % ((-37 - i) / 51); + anInt8911++; + if (i_71_ == 0) return class297.openUrlTask(string, 16); + if (i_71_ == 1) { + try { + AppletInvoker.callApplet("openjs", (new Object[]{new URL(ToolkitFactory.anApplet1530.getCodeBase(), string).toString()}), ToolkitFactory.anApplet1530, (byte) 38); + Task class144 = new Task(); + class144.status = 1; + return class144; + } catch (Throwable throwable) { + Task class144 = new Task(); + class144.status = 2; + return class144; + } + } + if (i_71_ == 2) { + try { + ToolkitFactory.anApplet1530.getAppletContext().showDocument(new URL(ToolkitFactory.anApplet1530.getCodeBase(), string), "_blank"); + Task class144 = new Task(); + class144.status = 1; + return class144; + } catch (Exception exception) { + Task class144 = new Task(); + class144.status = 2; + return class144; + } + } + if (i_71_ == 3) { + try { + AppletInvoker.callAppletNoArgs((byte) 125, ToolkitFactory.anApplet1530, "loggedout"); + } catch (Throwable throwable) { + /* empty */ + } + try { + ToolkitFactory.anApplet1530.getAppletContext().showDocument(new URL(ToolkitFactory.anApplet1530.getCodeBase(), string), "_top"); + Task class144 = new Task(); + class144.status = 1; + return class144; + } catch (Exception exception) { + Task class144 = new Task(); + class144.status = 2; + return class144; + } + } + throw new IllegalArgumentException(); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ma.EA(" + (class297 != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ',' + i + ',' + i_71_ + ')')); + } + } + + private final void method2863(int i, int i_73_, int i_74_, int i_75_) { + if (i_73_ <= 38) anIntArray8942 = null; + anInt8940++; + } + + final synchronized void method2864(byte i) { + anInt8924++; + if (i <= 46) aClass204_8944 = null; + for (NpcDefinition class348_sub17 = (NpcDefinition) aClass356_8891.first(0); class348_sub17 != null; class348_sub17 = (NpcDefinition) aClass356_8891.next(0)) + class348_sub17.method2933((byte) -103); + } + + private final void method2865(int i, int i_76_) { + anInt8900++; + if (i_76_ < 0) { + for (i_76_ = 0; i_76_ < 16; i_76_++) + method2865(i, i_76_); + } else { + anIntArray8953[i_76_] = 12800; + anIntArray8894[i_76_] = 8192; + anIntArray8896[i_76_] = 16383; + anIntArray8937[i_76_] = 8192; + anIntArray8899[i_76_] = i; + anIntArray8939[i_76_] = 8192; + method2858(-124, i_76_); + method2850(i_76_, 0); + this.anIntArray8895[i_76_] = 0; + anIntArray8904[i_76_] = 32767; + anIntArray8902[i_76_] = 256; + this.anIntArray8914[i_76_] = 0; + method2857(i_76_, 127, 8192); + } + } + + final synchronized boolean method2866(NodeSub2 class348_sub2, int i, AssetCacheLoader class26, CacheStore class45, int i_77_) { + try { + class348_sub2.method2733(); + anInt8954++; + boolean bool = true; + int[] is = null; + if (i > 0) is = new int[]{i}; + for (NodeSub8 class348_sub8 = (NodeSub8) class348_sub2.aClass356_6565.first(0); class348_sub8 != null; class348_sub8 = (NodeSub8) class348_sub2.aClass356_6565.next(0)) { + int i_78_ = (int) class348_sub8.key; + NpcDefinition class348_sub17 = ((NpcDefinition) aClass356_8891.get(i_78_, -6008)); + if (class348_sub17 == null) { + class348_sub17 = ReliefShader.method1417(0, class45, i_78_); + if (class348_sub17 == null) { + bool = false; + continue; + } + aClass356_8891.put((byte) 69, i_78_, class348_sub17); + } + if (!class348_sub17.method2932(class26, is, (class348_sub8.aByteArray6657), 0)) bool = false; + } + if (i_77_ >= -13) return true; + if (bool) class348_sub2.method2735(); + return bool; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ma.CA(" + (class348_sub2 != null ? "{...}" : "null") + ',' + i + ',' + (class26 != null ? "{...}" : "null") + ',' + (class45 != null ? "{...}" : "null") + ',' + i_77_ + ')')); + } + } + + final synchronized void method2867(int i) { + anInt8903++; + if (i == 4) { + for (NpcDefinition class348_sub17 = (NpcDefinition) aClass356_8891.first(0); class348_sub17 != null; class348_sub17 = (NpcDefinition) aClass356_8891.next(i ^ 0x4)) + class348_sub17.unlink((byte) 53); + } + } + + private final int method2868(PlayerState class348_sub43, int i) { + try { + if (i >= -16) method2879(-95, 66, 110); + anInt8920++; + if (anIntArray8925[class348_sub43.anInt7067] == 0) return 0; + Component234 class23 = class348_sub43.aClass23_7075; + int i_79_ = ((anIntArray8953[class348_sub43.anInt7067] * (anIntArray8896[class348_sub43.anInt7067])) + 4096 >> 13); + i_79_ = 16384 + i_79_ * i_79_ >> 15; + i_79_ = (16384 + i_79_ * class348_sub43.anInt7066 >> 15); + i_79_ = i_79_ * anInt8933 + 128 >> 8; + i_79_ = 128 + anIntArray8925[(class348_sub43.anInt7067)] * i_79_ >> 8; + if (class23.anInt347 > 0) i_79_ = (int) (0.5 + ((double) i_79_ * Math.pow(0.5, ((double) class348_sub43.anInt7090 * 1.953125E-5 * (double) (class23.anInt347))))); + if (class23.aByteArray348 != null) { + int i_80_ = class348_sub43.anInt7070; + int i_81_ = (class23.aByteArray348[class348_sub43.anInt7069 + 1]); + if (class348_sub43.anInt7069 < class23.aByteArray348.length + -2) { + int i_82_ = 0xff00 & (class23.aByteArray348[(class348_sub43.anInt7069)]) << 8; + int i_83_ = ((0xff & (class23.aByteArray348[(class348_sub43.anInt7069) + 2])) << 8); + i_81_ += (-i_81_ + (class23.aByteArray348[(class348_sub43.anInt7069 - -3)])) * (i_80_ + -i_82_) / (i_83_ - i_82_); + } + i_79_ = i_79_ * i_81_ + 32 >> 6; + } + if (class348_sub43.anInt7087 > 0 && class23.aByteArray344 != null) { + int i_84_ = class348_sub43.anInt7087; + int i_85_ = (class23.aByteArray344[1 + class348_sub43.anInt7084]); + if (class23.aByteArray344.length + -2 > class348_sub43.anInt7084) { + int i_86_ = 0xff00 & (class23.aByteArray344[(class348_sub43.anInt7084)]) << 8; + int i_87_ = ((class23.aByteArray344[class348_sub43.anInt7084 - -2]) << 8) & 0xff00; + i_85_ += ((class23.aByteArray344[3 + class348_sub43.anInt7084]) + -i_85_) * (i_84_ + -i_86_) / (-i_86_ + i_87_); + } + i_79_ = i_85_ * i_79_ + 32 >> 6; + } + return i_79_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ma.DA(" + (class348_sub43 != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + final synchronized void method2869(NodeSub2 class348_sub2, boolean bool, boolean bool_88_) { + try { + anInt8932++; + method2846(bool_88_, true, class348_sub2, bool); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ma.L(" + (class348_sub2 != null ? "{...}" : "null") + ',' + bool + ',' + bool_88_ + ')')); + } + } + + final synchronized void method2870(NodeSub2 class348_sub2, long l, boolean bool, boolean bool_89_, byte i) { + try { + method2846(false, bool_89_, class348_sub2, bool); + if (i > 17) { + anInt8930++; + method2876((long) aClass204_8944.anInt2683 * l, -125); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ma.O(" + (class348_sub2 != null ? "{...}" : "null") + ',' + l + ',' + bool + ',' + bool_89_ + ',' + i + ')')); + } + } + + final synchronized NodeSub16 method2816() { + anInt8912++; + return aClass348_Sub16_Sub1_8958; + } + + public static void method2871(int i) { + anIntArrayArray8910 = null; + if (i != -65) openUrl(null, null, 96, -71); + aClass45_8926 = null; + } + + private final void method2872(int i, int i_90_) { + anInt8918++; + for (PlayerState class348_sub43 = ((PlayerState) aClass348_Sub16_Sub1_8958.aClass262_8848.first(i + -2005674596)); class348_sub43 != null; class348_sub43 = ((PlayerState) aClass348_Sub16_Sub1_8958.aClass262_8848.next((byte) 68))) { + if (i_90_ < 0 || (class348_sub43.anInt7067 == i_90_)) { + if (class348_sub43.aClass348_Sub16_Sub5_7081 != null) { + class348_sub43.aClass348_Sub16_Sub5_7081.method2902(Component231.sampleRate / 100); + if (class348_sub43.aClass348_Sub16_Sub5_7081.method2895()) aClass348_Sub16_Sub1_8958.aClass348_Sub16_Sub4_8855.method2883(class348_sub43.aClass348_Sub16_Sub5_7081); + class348_sub43.method3299((byte) 72); + } + if (class348_sub43.anInt7087 < 0) aClass348_Sub43ArrayArray8928[class348_sub43.anInt7067][class348_sub43.anInt7071] = null; + class348_sub43.unlink((byte) 21); + } + } + if (i != 2005674600) anIntArray8902 = null; + } + + private final void method2873(byte i, int i_91_, int i_92_) { + if (i == -21) { + anInt8929++; + if (i_91_ != anIntArray8916[i_92_]) { + anIntArray8916[i_92_] = i_91_; + for (int i_93_ = 0; i_93_ < 128; i_93_++) + aClass348_Sub43ArrayArray8915[i_92_][i_93_] = null; + } + } + } + + final void method2874(int i, boolean bool, PlayerState class348_sub43) { + try { + anInt8909++; + int i_94_ = (class348_sub43.aClass348_Sub19_Sub1_7077.aByteArray8984).length; + int i_95_; + if (bool && (class348_sub43.aClass348_Sub19_Sub1_7077.aBoolean8987)) { + int i_96_ = (i_94_ + i_94_ + -class348_sub43.aClass348_Sub19_Sub1_7077.anInt8986); + i_95_ = (int) ((long) (this.anIntArray8914[(class348_sub43.anInt7067)]) * (long) i_96_ >> 6); + i_94_ <<= 8; + if (i_94_ <= i_95_) { + i_95_ = i_94_ + i_94_ - 1 - i_95_; + class348_sub43.aClass348_Sub16_Sub5_7081.method2891(true); + } + } else i_95_ = (int) (((long) i_94_ * (long) (this.anIntArray8914[(class348_sub43.anInt7067)])) >> 6); + if (i > 93) class348_sub43.aClass348_Sub16_Sub5_7081.method2924(i_95_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ma.WA(" + i + ',' + bool + ',' + (class348_sub43 != null ? "{...}" : "null") + ')')); + } + } + + private final void method2875(int i, int i_97_, int i_98_) { + anIntArray8937[i] = i_98_; + anInt8923++; + if (i_97_ != 2) anIntArray8937 = null; + } + + private final void method2876(long l, int i) { + try { + anInt8919++; + if (i <= -124) { + while (aLong8957 <= l) { + int i_99_ = anInt8960; + int i_100_ = anInt8956; + long l_101_ = aLong8957; + while (anInt8956 == i_100_) { + while ((aClass204_8944.anIntArray2681[i_99_]) == i_100_) { + aClass204_8944.method1492(i_99_); + int i_102_ = aClass204_8944.method1494(i_99_); + if (i_102_ == 1) { + aClass204_8944.method1495(); + aClass204_8944.method1486(i_99_); + if (aClass204_8944.method1480()) { + if (aBoolean8961 && i_100_ != 0) aClass204_8944.method1484(l_101_); + else { + method2851(true, true); + aClass204_8944.method1487(); + return; + } + } + break; + } + if ((i_102_ & 0x80) != 0 && (0xf0 & i_102_) != 144) method2842(65, i_102_); + aClass204_8944.method1485(i_99_); + aClass204_8944.method1486(i_99_); + } + aLong8959 = l_101_; + i_99_ = aClass204_8944.method1490(); + i_100_ = (aClass204_8944.anIntArray2681[i_99_]); + l_101_ = aClass204_8944.method1488(i_100_); + } + anInt8960 = i_99_; + aLong8957 = l_101_; + anInt8956 = i_100_; + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "ma.UA(" + l + ',' + i + ')'); + } + } + + final synchronized void method2877(int i) { + method2840(true, (byte) -95); + if (i != -128) method2849(103, -71, (byte) -108, -63); + anInt8913++; + } + + final synchronized int method2821() { + anInt8901++; + return 0; + } + + static final DisplayModeManagerContainer28 method2878(int i, int i_103_, int i_104_) { + Component186 class357 = Component335.aClass357ArrayArrayArray2029[i][i_103_][i_104_]; + if (class357 == null || class357.aClass318_Sub1_Sub1_4402 == null) return null; + return class357.aClass318_Sub1_Sub1_4402; + } + + static final void method2879(int i, int i_105_, int i_106_) { + Component186 class357 = Component335.aClass357ArrayArrayArray2029[i][i_105_][i_106_]; + if (class357 != null) { + Component191.method1376(class357.aClass318_Sub1_Sub1_4402); + if (class357.aClass318_Sub1_Sub1_4402 != null) class357.aClass318_Sub1_Sub1_4402 = null; + } + } + + public BrowserUrlOpener() { + anIntArray8896 = new int[16]; + aClass348_Sub43ArrayArray8915 = new PlayerState[16][128]; + anIntArray8904 = new int[16]; + this.anIntArray8914 = new int[16]; + this.anIntArray8906 = new int[16]; + anIntArray8894 = new int[16]; + anIntArray8899 = new int[16]; + anIntArray8925 = new int[16]; + anIntArray8902 = new int[16]; + this.anIntArray8895 = new int[16]; + aClass348_Sub43ArrayArray8928 = new PlayerState[16][128]; + anIntArray8937 = new int[16]; + anIntArray8939 = new int[16]; + anInt8921 = 1000000; + anIntArray8942 = new int[16]; + anIntArray8945 = new int[16]; + anIntArray8916 = new int[16]; + anInt8933 = 256; + anIntArray8953 = new int[16]; + anIntArray8947 = new int[16]; + aClass204_8944 = new Component198(); + aClass348_Sub16_Sub1_8958 = new GpiLogger(this); + aClass356_8891 = new LruCache(128); + method2843(256, -1, -7836); + method2851(true, true); + } + + BrowserUrlOpener(BrowserUrlOpener class348_sub16_sub3_107_) { + anIntArray8896 = new int[16]; + aClass348_Sub43ArrayArray8915 = new PlayerState[16][128]; + anIntArray8904 = new int[16]; + this.anIntArray8914 = new int[16]; + this.anIntArray8906 = new int[16]; + anIntArray8894 = new int[16]; + anIntArray8899 = new int[16]; + anIntArray8925 = new int[16]; + anIntArray8902 = new int[16]; + this.anIntArray8895 = new int[16]; + aClass348_Sub43ArrayArray8928 = new PlayerState[16][128]; + anIntArray8937 = new int[16]; + anIntArray8939 = new int[16]; + anInt8921 = 1000000; + anIntArray8942 = new int[16]; + anIntArray8945 = new int[16]; + anIntArray8916 = new int[16]; + anInt8933 = 256; + anIntArray8953 = new int[16]; + anIntArray8947 = new int[16]; + aClass204_8944 = new Component198(); + aClass348_Sub16_Sub1_8958 = new GpiLogger(this); + try { + aClass356_8891 = class348_sub16_sub3_107_.aClass356_8891; + method2843(256, -1, -7836); + method2851(true, true); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ma.(" + ((class348_sub16_sub3_107_ != null) ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/net/http/CookieBuilder.java b/client/net/http/CookieBuilder.java new file mode 100644 index 000000000..e1176700d --- /dev/null +++ b/client/net/http/CookieBuilder.java @@ -0,0 +1,68 @@ +/* CookieBuilder - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class43` (JODE-obfuscated). + * HTTP cookie builder. Assembles a settings cookie string ('settings=...; version=1; path=/; domain=') from host/domain params. + */ + +final class CookieBuilder { + static CacheStore aClass45_611; + static int anInt612; + static int anInt613; + HashNodeSub10 aClass348_Sub42_Sub10_614; + int anInt615; + static int anInt616; + int[] anIntArray617; + static StringCache aClass351_618 = new StringCache(5, 3); + static int[] anIntArray619 = {0, 1, 2, 2, 1, 1, 2, 3, 1, 3, 3, 4, 2, 0, 4}; + static int anInt620; + + public static void clearStatics(int i) { + aClass351_618 = null; + anIntArray619 = null; + if (i == 0) aClass45_611 = null; + } + + /** Factory for the browser/UA detector used by HTTP news/cookie helpers. */ + static final BrowserDetector createBrowserDetector(byte i) { + anInt616++; + if (i != 68) createBrowserDetector((byte) -42); + return Component183.method1059((byte) 95, 1); + } + + /** Write {@code settings=} cookie via {@code document.cookie} (empty clears). */ + static final void setSettingsCookie(String string, boolean bool) { + anInt613++; + Component205.settingsCookie = string; + if (bool != true) createBrowserDetector((byte) -48); + if (ToolkitFactory.anApplet1530 != null) { + try { + String string_0_ = ToolkitFactory.anApplet1530.getParameter("cookieprefix"); + String string_1_ = ToolkitFactory.anApplet1530.getParameter("cookiehost"); + String string_2_ = (string_0_ + "settings=" + string + "; version=1; path=/; domain=" + string_1_); + if (string.length() == 0) string_2_ += "; Expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age=0"; + else string_2_ += ("; Expires=" + (HashNodeSub16Sub1.formatHttpDate(Component240.currentTimeMillis(-53) + 94608000000L, 63)) + "; Max-Age=" + 94608000L); + AppletInvoker.invokeApplet(ToolkitFactory.anApplet1530, -15092, "document.cookie=\"" + string_2_ + "\""); + } catch (Throwable throwable) { + /* empty */ + } + } + } + + static final void method383(int i) { + for (int i_3_ = i; AudioMixer.anInt3225 > i_3_; i_3_++) { + int i_4_ = (Component360.method3452(ShaderProgram.anInt3682 + i_3_, (byte) -15, AudioMixer.anInt3225) * Component82.anInt425); + for (int i_5_ = 0; Component82.anInt425 > i_5_; i_5_++) { + int i_6_ = (Component360.method3452(i_5_ - -ColoredText.anInt6095, (byte) -15, Component82.anInt425) + i_4_); + if (Component72.anIntArray1909[i_6_] == Component212.anInt9997) DisplayModeManagerContainer23.anInterface4Array1525[i_6_].method14(0, 0, Component255.anInt1067, AbstractBuffer.anInt4267, i_5_ * Component255.anInt1067, AbstractBuffer.anInt4267 * i_3_, true, true); + } + } + anInt612++; + } + + public CookieBuilder() { + /* empty */ + } +} diff --git a/client/net/http/CookieManager.java b/client/net/http/CookieManager.java new file mode 100644 index 000000000..e040f45b2 --- /dev/null +++ b/client/net/http/CookieManager.java @@ -0,0 +1,155 @@ +/* CookieManager - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ +/** + * RENAMED from `Class286_Sub8` (JODE-obfuscated). + * HTTP cookie manager. Builds 'document.cookie' strings with '; version=1; path=/; domain=' for web requests made by the client. + */ + +import jaggl.OpenGL; + +final class CookieManager extends ShaderProgram { + static int anInt6292; + static int anInt6293; + static int anInt6294; + static int anInt6295; + static int[] anIntArray6296 = {32, 39, 44, 47}; + static int anInt6297; + static int anInt6298; + static int anInt6299 = -1; + static int anInt6300; + private boolean aBoolean6301 = false; + private Component128 aClass61_6302; + static int anInt6303; + static float aFloat6304; + static int anInt6305; + + final void method2133(int i) { + if (i <= -75) { + if (aBoolean6301) { + aClass61_6302.callDisplayList('\001', 28666); + this.aHa_Sub2_3684.method3738(-15039, 1); + this.aHa_Sub2_3684.method3771((byte) -92, null); + this.aHa_Sub2_3684.method3738(-15039, 0); + } else this.aHa_Sub2_3684.method3775(false, 0, 770, 5890); + anInt6297++; + this.aHa_Sub2_3684.method3729(8448, (byte) 116, 8448); + aBoolean6301 = false; + } + } + + static final void method2170(int i, byte i_0_) { + Component377.anInt859 = -1; + anInt6300++; + if (i_0_ != 3) method2170(-109, (byte) 7); + DebugOverlay.anInt3170 = i; + Component377.anInt859 = -1; + ColorTagNode.method2811(false); + } + + public static void method2171(int i) { + if (i != 0) method2172(-6); + anIntArray6296 = null; + } + + final void method2140(AbstractGlTexture class258, byte i, int i_1_) { + anInt6303++; + this.aHa_Sub2_3684.method3771((byte) -86, class258); + this.aHa_Sub2_3684.method3761(0, i_1_); + if (i >= -89) method2172(12); + } + + static final void method2172(int i) { + int i_2_ = 27 / ((i - -12) / 57); + anInt6295++; + if (ToolkitFactory.anApplet1530 != null) { + try { + String string = ToolkitFactory.anApplet1530.getParameter("cookiehost"); + int i_3_ = (int) (Component240.currentTimeMillis(-74) / 86400000L) - 11745; + String string_4_ = ("usrdob=" + i_3_ + "; version=1; path=/; domain=" + string); + AppletInvoker.invokeApplet(ToolkitFactory.anApplet1530, -15092, "document.cookie=\"" + string_4_ + "\""); + } catch (Throwable throwable) { + /* empty */ + } + } + } + + CookieManager(GlToolkitSub2 var_ha_Sub2) { + super(var_ha_Sub2); + if (var_ha_Sub2.aBoolean7863) { + aClass61_6302 = new Component128(var_ha_Sub2, 2); + aClass61_6302.beginDisplayList((byte) 123, 0); + this.aHa_Sub2_3684.method3738(-15039, 1); + this.aHa_Sub2_3684.method3729(34165, (byte) -35, 7681); + this.aHa_Sub2_3684.method3762(34168, 770, (byte) -87, 2); + this.aHa_Sub2_3684.method3775(false, 0, 770, 34167); + OpenGL.glTexGeni(8192, 9472, 34066); + OpenGL.glTexGeni(8193, 9472, 34066); + OpenGL.glTexGeni(8194, 9472, 34066); + OpenGL.glEnable(3168); + OpenGL.glEnable(3169); + OpenGL.glEnable(3170); + this.aHa_Sub2_3684.method3738(-15039, 0); + aClass61_6302.endDisplayList(-1); + aClass61_6302.beginDisplayList((byte) 126, 1); + this.aHa_Sub2_3684.method3738(-15039, 1); + this.aHa_Sub2_3684.method3729(8448, (byte) -73, 8448); + this.aHa_Sub2_3684.method3762(34166, 770, (byte) -87, 2); + this.aHa_Sub2_3684.method3775(false, 0, 770, 5890); + OpenGL.glDisable(3168); + OpenGL.glDisable(3169); + OpenGL.glDisable(3170); + OpenGL.glMatrixMode(5890); + OpenGL.glLoadIdentity(); + OpenGL.glMatrixMode(5888); + this.aHa_Sub2_3684.method3738(-15039, 0); + aClass61_6302.endDisplayList(-1); + } + } + + final void method2139(boolean bool, byte i) { + anInt6298++; + int i_5_ = 94 / ((i - -60) / 38); + this.aHa_Sub2_3684.method3729(8448, (byte) -28, 7681); + } + + final boolean method2137(int i) { + if (i > -5) aFloat6304 = -0.3934622F; + anInt6294++; + return true; + } + + static final void method2173(boolean bool, int i, boolean bool_6_) { + int i_7_ = 111 % ((i - -62) / 38); + anInt6292++; + if (bool) { + AssetCacheLoader.anInt383--; + if (AssetCacheLoader.anInt383 == 0) RunescapeInfo.anIntArray179 = null; + } + if (bool_6_) { + DefinitionSub26.anInt9346--; + if (DefinitionSub26.anInt9346 == 0) Component380.anIntArray4983 = null; + } + } + + final void method2134(boolean bool, boolean bool_8_) { + if (bool_8_ != false) method2171(85); + anInt6293++; + GlFramebufferTexture class258_sub2 = this.aHa_Sub2_3684.method3741(444720536); + if (aClass61_6302 != null && class258_sub2 != null && bool) { + aClass61_6302.callDisplayList('\0', 28666); + this.aHa_Sub2_3684.method3738(-15039, 1); + this.aHa_Sub2_3684.method3771((byte) -77, class258_sub2); + OpenGL.glMatrixMode(5890); + OpenGL.glLoadMatrixf(this.aHa_Sub2_3684.aClass101_Sub3_7767.method945(true), 0); + OpenGL.glMatrixMode(5888); + this.aHa_Sub2_3684.method3738(-15039, 0); + aBoolean6301 = true; + } else this.aHa_Sub2_3684.method3775(false, 0, 770, 34168); + } + + final void method2136(int i, int i_9_, byte i_10_) { + anInt6305++; + if (i_10_ > -42) aBoolean6301 = false; + } +} diff --git a/client/net/http/NewsFetcher.java b/client/net/http/NewsFetcher.java new file mode 100644 index 000000000..c4bf00a77 --- /dev/null +++ b/client/net/http/NewsFetcher.java @@ -0,0 +1,177 @@ +/* NewsFetcher - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class339` (JODE-obfuscated). + * News fetcher. Implements Runnable; downloads the /news.ws?game= feed over http and supplies the client news panel with parsed entries on a background thread. + */ + +import java.io.BufferedReader; +import java.io.DataInputStream; +import java.io.InputStreamReader; +import java.net.URL; + +final class NewsFetcher implements Runnable { + static int anInt4198; + static int anInt4199; + static int anInt4200; + private Task aClass144_4201; + static int anInt4202 = -1; + static int anInt4203; + private DisplayModeManagerContainer61[] aClass295Array4204; + private volatile boolean aBoolean4205; + private Thread aThread4206; + static StringCache aClass351_4207 = new StringCache(29, 3); + static int anInt4208; + static int anInt4209; + static int anInt4210; + static int anInt4211; + + public static void method2664(int i) { + if (i == 3) aClass351_4207 = null; + } + + public final void run() { + anInt4203++; + try { + BufferedReader bufferedreader = new BufferedReader(new InputStreamReader((DataInputStream) (aClass144_4201.result))); + String string = bufferedreader.readLine(); + BrowserDetector class179 = CookieBuilder.createBrowserDetector((byte) 68); + for (/**/; string != null; string = bufferedreader.readLine()) + class179.add(-1, string); + String[] strings = class179.toArray(63); + if (strings.length % 3 != 0) return; + aClass295Array4204 = new DisplayModeManagerContainer61[strings.length / 3]; + for (int i = 0; i < strings.length; i += 3) + aClass295Array4204[i / 3] = new DisplayModeManagerContainer61(strings[i], strings[i + 1], strings[2 + i]); + } catch (java.io.IOException ioexception) { + /* empty */ + } + aBoolean4205 = true; + } + + static final void method2665(int i, byte i_0_, int i_1_, int i_2_, int i_3_, int i_4_) { + anInt4200++; + int i_5_ = i_4_ - i; + int i_6_ = -i_2_ + i_3_; + if (i_5_ == 0) { + if (i_6_ != 0) Component226.method2656(i_2_, i, (byte) 124, i_1_, i_3_); + return; + } else if (i_6_ == 0) { + Component2.method196(true, i_4_, i_1_, i, i_2_); + return; + } + int i_7_ = (i_6_ << 12) / i_5_; + int i_8_ = -(i_7_ * i >> 12) + i_2_; + int i_9_; + int i_10_; + if (i < Component27.anInt4960) { + i_9_ = (i_7_ * Component27.anInt4960 >> 12) + i_8_; + i_10_ = Component27.anInt4960; + } else if (i > Component22.anInt1745) { + i_9_ = i_8_ - -(Component22.anInt1745 * i_7_ >> 12); + i_10_ = Component22.anInt1745; + } else { + i_10_ = i; + i_9_ = i_2_; + } + if (i_0_ < 56) anInt4202 = -57; + int i_11_; + int i_12_; + if (Component27.anInt4960 <= i_4_) { + if (Component22.anInt1745 >= i_4_) { + i_11_ = i_4_; + i_12_ = i_3_; + } else { + i_11_ = Component22.anInt1745; + i_12_ = i_8_ + (Component22.anInt1745 * i_7_ >> 12); + } + } else { + i_11_ = Component27.anInt4960; + i_12_ = (i_7_ * Component27.anInt4960 >> 12) + i_8_; + } + if (i_12_ < Component72.anInt1910) { + i_11_ = (Component72.anInt1910 + -i_8_ << 12) / i_7_; + i_12_ = Component72.anInt1910; + } else if (PauseTimer.anInt513 < i_12_) { + i_11_ = (PauseTimer.anInt513 - i_8_ << 12) / i_7_; + i_12_ = PauseTimer.anInt513; + } + if (Component72.anInt1910 <= i_9_) { + if (PauseTimer.anInt513 < i_9_) { + i_10_ = (PauseTimer.anInt513 - i_8_ << 12) / i_7_; + i_9_ = PauseTimer.anInt513; + } + } else { + i_10_ = (-i_8_ + Component72.anInt1910 << 12) / i_7_; + i_9_ = Component72.anInt1910; + } + DisplayModeManagerContainer341.method1783(i_10_, -1, i_9_, i_12_, i_11_, i_1_); + } + + static final void method2666(int i, int i_13_, DisplayModeManagerContainer57 class46, byte i_14_) { + anInt4199++; + if (class46 != null) { + if (class46.anObjectArray714 != null) { + NodeSub36 class348_sub36 = new NodeSub36(); + class348_sub36.anObjectArray6987 = class46.anObjectArray714; + class348_sub36.aClass46_6989 = class46; + ClientScriptExecutor.method705(class348_sub36); + } + Component149.anInt4458 = class46.anInt695; + Component163.anInt3176 = i; + PauseTimer.anInt500 = i_13_; + Component281.anInt3829 = class46.anInt812; + r.aBoolean9722 = true; + JaclibLoader.anInt169 = class46.anInt704; + Component182.anInt9747 = class46.anInt824; + if (i_14_ != 21) method2665(-99, (byte) -106, 10, -37, 26, -123); + Component90.anInt2046 = class46.anInt830; + Component111.markInterfaceDirty(-9343, class46); + } + } + + final DisplayModeManagerContainer61 method2667(boolean bool, int i) { + anInt4210++; + if (bool != false) return null; + if (aClass295Array4204 == null || i < 0 || i >= aClass295Array4204.length) return null; + return aClass295Array4204[i]; + } + + public NewsFetcher() { + /* empty */ + } + + final boolean method2668(int i) { + anInt4208++; + if (aBoolean4205) return true; + if (aClass144_4201 == null) { + try { + int i_15_ = (DisplayModeManagerContainer345.aClass364_165 == Component326.LIVE ? 80 : 7000 - -(MenuOpener.aClass161_4839.anInt2143)); + aClass144_4201 = (OggUrlStream.aClass297_8992.openUrlStream(new URL("http://" + (MenuOpener.aClass161_4839.aString2147) + ":" + i_15_ + "/news.ws?game=" + PacketReader.currentGameType.id), 8362)); + } catch (java.net.MalformedURLException malformedurlexception) { + return true; + } + } + if (aClass144_4201 == null || aClass144_4201.status == 2) return true; + if (i != -21913) return false; + if (aClass144_4201.status != 1) return false; + if (aThread4206 == null) { + aThread4206 = new Thread(this); + aThread4206.start(); + } + return aBoolean4205; + } + + static final void method2669(Object[] objects, long[] ls, int i) { + try { + if (i < -5) { + anInt4209++; + Component45.method3461(0, objects, -1 + ls.length, ls, 9455); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("eaa.E(" + (objects != null ? "{...}" : "null") + ',' + (ls != null ? "{...}" : "null") + ',' + i + ')')); + } + } +} diff --git a/client/net/packet/AbstractBuffer.java b/client/net/packet/AbstractBuffer.java new file mode 100644 index 000000000..0ea24f9dd --- /dev/null +++ b/client/net/packet/AbstractBuffer.java @@ -0,0 +1,30 @@ +/* AbstractBuffer - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class344` (JODE-obfuscated). + * Abstract base for byte buffers. Declares abstract read/write (getBytes/2691/2692). Subclass ByteBufferReader wraps a java.nio.ByteBuffer. + */ + +abstract class AbstractBuffer { + static StringCache aClass351_4262 = new StringCache(34, 15); + static int anInt4263 = 2; + static StringCache aClass351_4264 = new StringCache(40, 12); + static int anInt4265 = 0; + static StringCache aClass351_4266 = new StringCache(72, 16); + static int anInt4267; + + abstract byte[] getBytes(int i, int i_0_, int i_1_); + + public static void clearStatics(int i) { + aClass351_4266 = null; + aClass351_4264 = null; + aClass351_4262 = null; + int i_2_ = -29 / ((i - -54) / 45); + } + + abstract void setBytes(byte i, byte[] is); + + abstract byte[] toByteArray(int i); +} diff --git a/client/net/packet/Buffer.java b/client/net/packet/Buffer.java new file mode 100644 index 000000000..14c0ed1e1 --- /dev/null +++ b/client/net/packet/Buffer.java @@ -0,0 +1,783 @@ +/* Buffer - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub49` (JODE-obfuscated). + * Byte buffer / packet reader-writer. Provides readUnsignedShort, readUnsignedByte, read/write helpers over byte[] payload, plus BigInteger support for RSA. Extends Node. + */ + +import java.math.BigInteger; + +class Buffer extends Node { + static int anInt7137; + static int anInt7138; + static int anInt7139; + static int anInt7140; + static int anInt7141; + static int anInt7142; + static int anInt7143; + static int anInt7144; + static int anInt7145; + static int anInt7146; + static int anInt7147; + static int anInt7148; + static int anInt7149; + static int anInt7150; + static int anInt7151; + static int anInt7152; + static int anInt7153; + /** Packet byte array being read/written. */ + byte[] payload; + static int anInt7155; + static int anInt7156; + static int anInt7157; + static int anInt7158; + static int anInt7159; + static int anInt7160; + static int anInt7161; + static int anInt7162; + static int anInt7163; + static int anInt7164; + static int anInt7165; + static int anInt7166; + static int anInt7167; + static int anInt7168; + static int anInt7169; + static int anInt7170; + static int anInt7171; + static int anInt7172; + static int anInt7173; + static int anInt7174; + static DisplayModeManagerContainer369 aClass223_7175 = new DisplayModeManagerContainer369(1, 2); + static int anInt7176; + static int anInt7177; + static int anInt7178; + static int anInt7179; + static int anInt7180; + static int anInt7181; + static int anInt7182; + static int anInt7183; + static int anInt7184; + static int anInt7185; + static int anInt7186; + static int anInt7187; + static int anInt7188; + static int anInt7189; + static int anInt7190; + static int anInt7191; + static int anInt7192; + static int anInt7193; + static int anInt7194; + static int anInt7195; + static int anInt7196; + /** Current read/write index into {@link #payload}. */ + int offset; + static int anInt7198; + static int anInt7199; + static int anInt7200; + static int anInt7201; + static int anInt7202; + static int anInt7203; + static int anInt7204; + static int anInt7205; + static long[] aLongArray7206 = new long[32]; + static int anInt7207; + static int anInt7208; + static int anInt7209; + + final int readByteInverse(byte i) { + anInt7163++; + if (i != 21) return -10; + return (-(this.payload[this.offset++]) & 0xff); + } + + final int readUnsignedShort(int i) { + if (i != 842397944) return 111; + this.offset += 2; + anInt7186++; + return ((0xff & (this.payload[-1 + this.offset])) + ((this.payload[-2 + this.offset]) << 8 & 0xff00)); + } + + /** Integer power: {@code i_1_ ^ i} via binary exponentiation. */ + static final int pow(int i, byte i_0_, int i_1_) { + anInt7161++; + int i_2_ = 1; + for (/**/; i > 1; i >>= 1) { + if ((0x1 & i) != 0) i_2_ *= i_1_; + i_1_ *= i_1_; + } + int i_3_ = 3 / ((i_0_ - -24) / 46); + if (i == 1) return i_2_ * i_1_; + return i_2_; + } + + final long readLongLittle(byte i) { + if (i <= 88) return -9L; + anInt7179++; + long l = 0xffffffffL & (long) readIntLittleEndian(-45); + long l_4_ = 0xffffffffL & (long) readIntLittleEndian(-99); + return (l_4_ << 32) + l; + } + + final void writeString(byte i, String string) { + anInt7172++; + if (i != -5) this.payload = null; + int i_5_ = string.indexOf('\0'); + if (i_5_ >= 0) throw new IllegalArgumentException("NUL character at " + i_5_ + " - cannot pjstr"); + this.offset += HashNodeSub16.encodeCp1252Into(0, (this.payload), string.length(), false, string, (this.offset)); + this.payload[this.offset++] = (byte) 0; + } + + final int readLargeSmart(int i) { + anInt7208++; + int i_6_ = 0; + int i_7_; + for (i_7_ = readSmart(-124); i_7_ == 32767; i_7_ = readSmart(-127)) + i_6_ += 32767; + int i_8_ = 112 % (i / 49); + i_6_ += i_7_; + return i_6_; + } + + final void writeShortAdd(int i, int i_9_) { + anInt7156++; + this.payload[this.offset++] = (byte) (i_9_ >> 8); + int i_10_ = -35 % ((-17 - i) / 48); + this.payload[this.offset++] = (byte) (128 + i_9_); + } + + final void writeIntMiddle(int i, byte i_11_) { + anInt7162++; + this.payload[this.offset++] = (byte) (i >> 8); + this.payload[this.offset++] = (byte) i; + this.payload[this.offset++] = (byte) (i >> 24); + this.payload[this.offset++] = (byte) (i >> 16); + if (i_11_ != 44) anInt7207 = 1; + } + + final void writeShort(byte i, int i_12_) { + anInt7145++; + if (i != 107) disposeActiveToolkit(20); + this.payload[this.offset++] = (byte) (i_12_ >> 8); + this.payload[this.offset++] = (byte) i_12_; + } + + final void writeLengthInt(int i, int i_13_) { + this.payload[-4 + this.offset - i_13_] = (byte) (i_13_ >> 24); + anInt7200++; + this.payload[this.offset - i_13_ - 3] = (byte) (i_13_ >> 16); + this.payload[this.offset - (i_13_ - -2)] = (byte) (i_13_ >> 8); + this.payload[i + (this.offset + -i_13_)] = (byte) i_13_; + } + + final void writeLengthByte(int i, int i_14_) { + if (i > 91) { + this.payload[this.offset - i_14_ + -1] = (byte) i_14_; + anInt7185++; + } + } + + final void writeMedium(int i, int i_15_) { + this.payload[this.offset++] = (byte) (i_15_ >> 16); + anInt7148++; + this.payload[this.offset++] = (byte) (i_15_ >> 8); + if (i == -9912) this.payload[this.offset++] = (byte) i_15_; + } + + /** Read {@code payload[offset++] - 128}. */ + final byte readByte128(int i) { + if (i != -8679) aClass223_7175 = null; + anInt7195++; + return (byte) (-128 + (this.payload[this.offset++])); + } + + final int readUnsignedByteSubtract(byte i) { + anInt7174++; + int i_16_ = 27 / ((-33 - i) / 51); + return (-(this.payload[this.offset++]) + 128 & 0xff); + } + + final int readIntMiddleEndian(byte i) { + this.offset += 4; + anInt7184++; + if (i != 82) readSmart(-12); + return ((0xff0000 & (this.payload[this.offset - 1]) << 16) + (((this.payload[this.offset - 2]) << 24 & ~0xffffff) + ((0xff & (this.payload[this.offset + -4])) << 8) + (0xff & (this.payload[this.offset - 3])))); + } + + final int writeCrc(int i, boolean bool) { + anInt7165++; + if (bool != false) this.payload = null; + int i_17_ = Component382.computeCrc32(this.offset, true, this.payload, i); + writeInt((byte) 93, i_17_); + return i_17_; + } + + final byte readByteSubtract(int i) { + if (i != -27697) anInt7207 = -57; + anInt7138++; + return (byte) (-(this.payload[this.offset++]) + 128); + } + + final int readIntInverseMiddle(int i) { + this.offset += 4; + anInt7194++; + if (i != 255) return 93; + return (((0xff & (this.payload[-1 + this.offset])) << 8) + (((this.payload[-3 + this.offset]) & 0xff) << 24) - (-((0xff & (this.payload[this.offset - 4])) << 16) + -(0xff & (this.payload[this.offset - 2])))); + } + + final void readBytesReverse(byte[] is, int i, int i_18_, byte i_19_) { + anInt7183++; + for (int i_20_ = -1 + i_18_ + i; i_20_ >= i; i_20_--) + is[i_20_] = (this.payload[this.offset++]); + int i_21_ = -53 / ((i_19_ - -72) / 47); + } + + final void writeIntLittle(int i, int i_22_) { + this.payload[this.offset++] = (byte) i_22_; + anInt7164++; + this.payload[this.offset++] = (byte) (i_22_ >> 8); + this.payload[this.offset++] = (byte) (i_22_ >> 16); + this.payload[this.offset++] = (byte) (i_22_ >> 24); + int i_23_ = -32 / ((-74 - i) / 44); + } + + final void writeShortAddLittle(int i, int i_24_) { + if (i == 4325) { + anInt7198++; + this.payload[this.offset++] = (byte) (i_24_ - -128); + this.payload[this.offset++] = (byte) (i_24_ >> 8); + } + } + + final void xteaEncrypt(int i, boolean bool, int[] is, int i_25_) { + anInt7137++; + int i_26_ = this.offset; + this.offset = i; + int i_27_ = (-i + i_25_) / 8; + for (int i_28_ = 0; i_27_ > i_28_; i_28_++) { + int i_29_ = readInt((byte) -126); + int i_30_ = readInt((byte) -126); + int i_31_ = 0; + int i_32_ = -1640531527; + int i_33_ = 32; + while (i_33_-- > 0) { + i_29_ += (i_31_ - -is[i_31_ & 0x3] ^ (i_30_ >>> 5 ^ i_30_ << 4) - -i_30_); + i_31_ += i_32_; + i_30_ += (i_31_ - -is[(0x1a0b & i_31_) >>> 11] ^ i_29_ + (i_29_ >>> 5 ^ i_29_ << 4)); + } + this.offset -= 8; + writeInt((byte) 91, i_29_); + writeInt((byte) 98, i_30_); + } + if (bool != true) writeIntLittleEndian(88, 83); + this.offset = i_26_; + } + + final int readMedium(int i) { + this.offset += 3; + anInt7203++; + if (i != -1) return -52; + return ((0xff00 & (this.payload[-2 + this.offset]) << 8) + ((((this.payload[-3 + this.offset]) & 0xff) << 16) - -((this.payload[-1 + this.offset]) & 0xff))); + } + + final boolean checkCrc(int i) { + anInt7168++; + this.offset -= 4; + if (i != -25541) readSignedMedium((byte) 56); + int i_34_ = Component382.computeCrc32(this.offset, true, this.payload, 0); + int i_35_ = readInt((byte) -126); + return i_35_ == i_34_; + } + + final void writeShortLittle(int i, byte i_36_) { + this.payload[this.offset++] = (byte) i; + if (i_36_ != 3) this.payload = null; + anInt7151++; + this.payload[this.offset++] = (byte) (i >> 8); + } + + /** Dispose the active graphics toolkit and clear its display-mode peer. */ + static final void disposeActiveToolkit(int i) { + if (NodeSub34.aHa6968 != null) { + NodeSub34.aHa6968.method3635((byte) -44); + DefinitionSub9.aClass324_9173 = null; + NodeSub34.aHa6968 = null; + } + int i_37_ = -97 % ((i - -14) / 37); + anInt7173++; + } + + final int readShortAdd(int i) { + anInt7158++; + int i_38_ = -108 / ((i - 73) / 50); + this.offset += 2; + return (((this.payload[-2 + this.offset]) << 8 & 0xff00) - -(0xff & -128 + (this.payload[this.offset + -1]))); + } + + final void writeIntInverseMiddle(int i, int i_39_) { + anInt7190++; + this.payload[this.offset++] = (byte) (i >> 16); + this.payload[this.offset++] = (byte) (i >> 24); + this.payload[this.offset++] = (byte) i; + if (i_39_ != -4086) readShort(24); + this.payload[this.offset++] = (byte) (i >> 8); + } + + final void writeLongVar(int i, long l, byte i_40_) { + try { + anInt7193++; + if (--i < 0 || i > 7) throw new IllegalArgumentException(); + int i_41_ = 101 % ((-11 - i_40_) / 49); + for (int i_42_ = 8 * i; i_42_ >= 0; i_42_ -= 8) + this.payload[this.offset++] = (byte) (int) (l >> i_42_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("cea.JB(" + i + ',' + l + ',' + i_40_ + ')')); + } + } + + final int readShortAddLittle(int i) { + anInt7181++; + if (i > -105) this.payload = null; + this.offset += 2; + return (((this.payload[this.offset + -2]) - 128 & 0xff) + ((this.payload[-1 + this.offset]) << 8 & 0xff00)); + } + + final int readIntLittleEndian(int i) { + if (i > -17) aLongArray7206 = null; + anInt7188++; + this.offset += 4; + return (((this.payload[-3 + this.offset]) << 8 & 0xff00) + ((this.payload[this.offset - 1]) << 24 & ~0xffffff) + (((0xff & (this.payload[this.offset + -2])) << 16) + ((this.payload[-4 + this.offset]) & 0xff))); + } + + final void release(byte i) { + if (this.payload != null) NameFormatter.releaseByteArray(0, this.payload); + anInt7177++; + this.payload = null; + if (i != -69) writeCrc(-115, true); + } + + final byte readByteInverse(int i) { + anInt7150++; + if (i != -622951480) aClass223_7175 = null; + return (byte) -(this.payload[this.offset++]); + } + + final int readSmartSigned(byte i) { + anInt7155++; + int i_43_ = ((this.payload[this.offset]) & 0xff); + if (i != 77) readByte(-48); + if (i_43_ < 128) return -64 + readUnsignedByte(255); + return readUnsignedShort(i ^ 0x3235f8b5) - 49152; + } + + final int readMediumLittle(int i) { + this.offset += 3; + anInt7144++; + if (i != -13309) setClientState(94, 83); + return (((this.payload[this.offset - 3]) & 0xff) + (((this.payload[-2 + this.offset]) << 8 & 0xff00) + ((this.payload[-1 + this.offset]) << 16 & 0xff0000))); + } + + final int readIntLittle(byte i) { + if (i > -117) this.offset = 61; + this.offset += 4; + anInt7167++; + return ((0xff & (this.payload[this.offset - 4])) + (((0xff & (this.payload[-3 + this.offset])) << 8) + (~0xffffff & ((this.payload[this.offset - 1]) << 24)) + (((this.payload[this.offset - 2]) & 0xff) << 16))); + } + + final long readLong(int i) { + anInt7149++; + if (i != -456577760) return 14L; + long l = 0xffffffffL & (long) readInt((byte) -126); + long l_44_ = (long) readInt((byte) -126) & 0xffffffffL; + return l_44_ + (l << 32); + } + + final int readVarInt(byte i) { + anInt7170++; + int i_45_ = (this.payload[this.offset++]); + int i_46_ = 0; + if (i < 23) return -99; + for (/**/; i_45_ < 0; i_45_ = (this.payload[this.offset++])) + i_46_ = (0x7f & i_45_ | i_46_) << 7; + return i_46_ | i_45_; + } + + final void xteaDecrypt(int i, int[] is, int i_47_, int i_48_) { + anInt7178++; + int i_49_ = this.offset; + this.offset = i_47_; + int i_50_ = (i_48_ + -i_47_) / 8; + for (int i_51_ = 0; i_50_ > i_51_; i_51_++) { + int i_52_ = readInt((byte) -126); + int i_53_ = readInt((byte) -126); + int i_54_ = -957401312; + int i_55_ = -1640531527; + int i_56_ = 32; + while (i_56_-- > 0) { + i_53_ -= ((i_52_ << 4 ^ i_52_ >>> 5) + i_52_ ^ i_54_ - -is[0x4d000003 & i_54_ >>> 11]); + i_54_ -= i_55_; + i_52_ -= (i_54_ - -is[i_54_ & 0x3] ^ (i_53_ << 4 ^ i_53_ >>> 5) - -i_53_); + } + this.offset -= 8; + writeInt((byte) 113, i_52_); + writeInt((byte) 126, i_53_); + } + if (i == 607818341) this.offset = i_49_; + } + + final long readLongVar(int i, int i_57_) { + i--; + anInt7191++; + if (i < 0 || i > 7) throw new IllegalArgumentException(); + if (i_57_ != 3060) return 99L; + int i_58_ = 8 * i; + long l = 0L; + for (/**/; i_58_ >= 0; i_58_ -= 8) + l |= ((long) (this.payload[this.offset++]) & 0xffL) << i_58_; + return l; + } + + final int readSignedMedium(byte i) { + if (i != 125) return 100; + anInt7139++; + this.offset += 3; + int i_59_ = (((this.payload[this.offset - 1]) & 0xff) + ((0xff0000 & ((this.payload[this.offset + -3]) << 16)) + ((0xff & (this.payload[this.offset + -2])) << 8))); + if (i_59_ > 8388607) i_59_ -= 16777216; + return i_59_; + } + + final void writeByteSubtract(byte i, int i_60_) { + int i_61_ = -4 % ((-35 - i) / 33); + anInt7142++; + this.payload[this.offset++] = (byte) (-i_60_ + 128); + } + + final String readGjstr2(int i) { + anInt7152++; + byte i_62_ = (this.payload[this.offset++]); + if (i_62_ != 0) throw new IllegalStateException("Bad version number in gjstr2"); + int i_63_ = this.offset; + while ((this.payload[this.offset++]) != 0) { + /* empty */ + } + int i_64_ = this.offset - (i_63_ + 1); + if (i != -13487) writeInt((byte) 10, -125); + if (i_64_ == 0) return ""; + return WaterShaderSub8.decodeCp1252(this.payload, 0, i_64_, i_63_); + } + + final int readShort(int i) { + anInt7204++; + if (i != 13638) xteaEncrypt(-23, true, null, -10); + this.offset += 2; + int i_65_ = (((this.payload[this.offset - 1]) & 0xff) + (((this.payload[-2 + this.offset]) & 0xff) << 8)); + if (i_65_ > 32767) i_65_ -= 65536; + return i_65_; + } + + final int readShortLittle(boolean bool) { + if (bool != false) return 113; + anInt7171++; + this.offset += 2; + return ((0xff00 & (this.payload[this.offset - 1]) << 8) + ((this.payload[-2 + this.offset]) & 0xff)); + } + + final void writeByteInverse(byte i, int i_66_) { + this.payload[this.offset++] = (byte) -i_66_; + if (i >= -27) this.payload = null; + anInt7140++; + } + + /** Read signed short: high byte + (low-128), with 16-bit sign extend. */ + final int readShort128(byte i) { + anInt7187++; + this.offset += 2; + int i_67_ = ((0xff & -128 + (this.payload[this.offset - 1])) + (((this.payload[-2 + this.offset]) & 0xff) << 8)); + if (i != 84) return 85; + if (i_67_ > 32767) i_67_ -= 65536; + return i_67_; + } + + /** Null shared statics for GC / shutdown. */ + public static void clearStatics(int i) { + aLongArray7206 = null; + aClass223_7175 = null; + if (i != -2) clearStatics(-87); + } + + final String readString(byte i) { + anInt7166++; + int i_68_ = -81 / ((i - 30) / 52); + int i_69_ = this.offset; + while ((this.payload[this.offset++]) != 0) { + /* empty */ + } + int i_70_ = -1 + this.offset - i_69_; + if (i_70_ == 0) return ""; + return WaterShaderSub8.decodeCp1252(this.payload, 0, i_70_, i_69_); + } + + final void writeByte(boolean bool, int i) { + anInt7160++; + this.payload[this.offset++] = (byte) i; + if (bool != false) this.offset = -121; + } + + static final void setClientState(int i, int i_71_) { + anInt7201++; + if (i_71_ != Component49.clientState) { + if (i_71_ == 13) { + if (OggStreamReader.aString9043 != null) MenuOpener.method1157(RuntimeException_Sub1.anInt4596, (byte) -81); + else Component193.method1922(DisplayModeManagerContainer51.password, RuntimeException_Sub1.anInt4596, DisplayModeManagerContainer282.username, true); + } + if (i_71_ != 13 && ItemDefinition.aClass238_2773 != null) { + ItemDefinition.aClass238_2773.close((byte) 36); + ItemDefinition.aClass238_2773 = null; + } + if (i_71_ == 3) CacheNode.method3198((DebugPanic.anInt4737 != r.anInt9721), (byte) -45); + if (i_71_ == 7) HashTable.method1006((r.anInt9721 != Component285.anInt970), (byte) 102); + if (i_71_ == 5) { + if (OggStreamReader.aString9043 == null) DisplayModeManagerContainer346.method1213(DisplayModeManagerContainer282.username, DisplayModeManagerContainer51.password, -124); + else Component280.method1372(-1); + } else if (i_71_ != 6) { + if (i_71_ == 9) { + if (OggStreamReader.aString9043 != null) MenuOpener.method1157((RuntimeException_Sub1.anInt4596), (byte) -120); + else Component193.method1922(DisplayModeManagerContainer51.password, RuntimeException_Sub1.anInt4596, DisplayModeManagerContainer282.username, true); + } else if (i_71_ == 12) { + if (OggStreamReader.aString9043 == null) DisplayModeManagerContainer346.method1213(DisplayModeManagerContainer282.username, DisplayModeManagerContainer51.password, -98); + else Component280.method1372(-1); + } + } else if (OggStreamReader.aString9043 == null) Component193.method1922(DisplayModeManagerContainer51.password, RuntimeException_Sub1.anInt4596, DisplayModeManagerContainer282.username, true); + else MenuOpener.method1157(RuntimeException_Sub1.anInt4596, (byte) -99); + if (Component212.method2402(Component49.clientState, (byte) -78)) { + Component181.aClass45_1541.discardMode = 2; + VideoAdDisplay.aClass45_3183.discardMode = 2; + Component97.aClass45_1538.discardMode = 2; + Component43.aClass45_4975.discardMode = 2; + RadixParser.aClass45_2306.discardMode = 2; + CacheNodeSub2.aClass45_10480.discardMode = 2; + SeekableFile.aClass45_1322.discardMode = 2; + } + if (Component212.method2402(i_71_, (byte) -119)) { + Component82.anInt443 = 1; + Component129.anInt489 = 0; + NodeSub46.anInt7115 = 1; + Component101.anInt2101 = 0; + DisplayModeManagerContainer259.anInt3441 = 0; + HashNodeSub3.method3177(-111, true); + Component181.aClass45_1541.discardMode = 1; + VideoAdDisplay.aClass45_3183.discardMode = 1; + Component97.aClass45_1538.discardMode = 1; + Component43.aClass45_4975.discardMode = 1; + RadixParser.aClass45_2306.discardMode = 1; + CacheNodeSub2.aClass45_10480.discardMode = 1; + SeekableFile.aClass45_1322.discardMode = 1; + } + if (i_71_ == 11 || i_71_ == 3) ToolbarRefreshDefinition.method3088(9); + boolean bool = (i == i_71_ || CacheNode.method3196(i_71_, i ^ ~0x58) || CacheFileStore.isReconnectState(i_71_, -100)); + boolean bool_72_ = (Component49.clientState == 2 || CacheNode.method3196(Component49.clientState, -110) || CacheFileStore.isReconnectState(Component49.clientState, -128)); + if (bool != bool_72_) { + if (bool) { + Component119.anInt3428 = Component35.anInt4270; + if (Component192.aClass348_Sub51_3959.aClass239_Sub26_7245.method1838(-32350) != 0) { + Component168.method2355(Component192.aClass348_Sub51_3959.aClass239_Sub26_7245.method1838(-32350), (byte) 50, false, Component54.aClass45_8667, Component35.anInt4270, 0, 2); + DefinitionSub17Sub1.method3093(i ^ 0x66); + } else Sprite.resetMusic(2, 22684); + HardwareProbe.aClass248_6601.writeLoginState(-117, false); + } else { + Sprite.resetMusic(2, 22684); + HardwareProbe.aClass248_6601.writeLoginState(i ^ ~0x4b, true); + } + } + if (Component212.method2402(i_71_, (byte) -64) || i_71_ == 13) NodeSub8.toolkit.method3673(); + Component49.clientState = i_71_; + // After state settles: restore/auto-login on title (once per session). + if (i_71_ == 3) { + LoginPrefs.onLoginScreen(); + } else if (i_71_ == 10) { + LoginPrefs.onWorldEntered(); + } + } + } + + final void writeBytes(int i, int i_73_, byte[] is, int i_74_) { + for (int i_75_ = i_73_; i_73_ + i > i_75_; i_75_++) + this.payload[this.offset++] = is[i_75_]; + int i_76_ = -41 % ((8 - i_74_) / 52); + anInt7199++; + } + + final void writeSmart(int i, int i_77_) { + anInt7180++; + if (i_77_ >= 0 && i_77_ < 128) writeByte(false, i_77_); + else if (i_77_ >= 0 && i_77_ < 32768) writeShort((byte) 107, i_77_ + 32768); + else if (i == 5537) throw new IllegalArgumentException(); + } + + final int readSmart(int i) { + if (i > -116) return -4; + anInt7176++; + int i_78_ = 0xff & (this.payload[this.offset]); + if (i_78_ < 128) return readUnsignedByte(255); + return readUnsignedShort(842397944) + -32768; + } + + final void writeLengthShort(int i, int i_79_) { + anInt7157++; + this.payload[-2 + -i_79_ + this.offset] = (byte) (i_79_ >> 8); + if (i != 1809639944) xteaEncrypt(93, true, null, -39); + this.payload[this.offset - i_79_ + -1] = (byte) i_79_; + } + + final String readStringOrNull(int i) { + anInt7205++; + if (i <= 105) aLongArray7206 = null; + if ((this.payload[this.offset]) == 0) { + this.offset++; + return null; + } + return readString((byte) 92); + } + + final int readInt(byte i) { + anInt7196++; + this.offset += 4; + if (i != -126) readLongVar(-61, -64); + return ((0xff & (this.payload[this.offset - 1])) + ((((this.payload[-4 + this.offset]) & 0xff) << 24) + (0xff0000 & ((this.payload[-3 + this.offset]) << 16))) - -(((this.payload[-2 + this.offset]) & 0xff) << 8)); + } + + final void writeGjstr2(String string, int i) { + anInt7182++; + int i_80_ = -21 % ((42 - i) / 52); + int i_81_ = string.indexOf('\0'); + if (i_81_ >= 0) throw new IllegalArgumentException("NUL character at " + i_81_ + " - cannot pjstr2"); + this.payload[this.offset++] = (byte) 0; + this.offset += HashNodeSub16.encodeCp1252Into(0, (this.payload), string.length(), false, string, (this.offset)); + this.payload[this.offset++] = (byte) 0; + } + + final int readUnsignedByte(int i) { + if (i != 255) writeBytes(-101, 111, null, 33); + anInt7153++; + return ((this.payload[this.offset++]) & 0xff); + } + + final byte readByte(int i) { + if (i >= -75) writeByteAdd((byte) -18, -24); + anInt7143++; + return (this.payload[this.offset++]); + } + + final void readBytes(int i, int i_82_, int i_83_, byte[] is) { + anInt7159++; + for (int i_84_ = i_82_; i_83_ + i_82_ > i_84_; i_84_++) + is[i_84_] = (this.payload[this.offset++]); + if (i != 2147483647) anInt7207 = -47; + } + + final void applyRsa(BigInteger biginteger, byte i, BigInteger biginteger_85_) { + try { + anInt7147++; + int i_86_ = this.offset; + this.offset = 0; + byte[] is = new byte[i_86_]; + readBytes(2147483647, 0, i_86_, is); + if (i >= -33) disposeActiveToolkit(-73); + BigInteger biginteger_87_ = new BigInteger(is); + BigInteger biginteger_88_ = biginteger_87_.modPow(biginteger_85_, biginteger); + byte[] is_89_ = biginteger_88_.toByteArray(); + this.offset = 0; + writeShort((byte) 107, is_89_.length); + writeBytes(is_89_.length, 0, is_89_, 85); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("cea.SA(" + (biginteger != null ? "{...}" : "null") + ',' + i + ',' + (biginteger_85_ != null ? "{...}" : "null") + ')')); + } + } + + final void writeInt(byte i, int i_90_) { + this.payload[this.offset++] = (byte) (i_90_ >> 24); + if (i < 84) writeByteAdd((byte) -122, -112); + anInt7202++; + this.payload[this.offset++] = (byte) (i_90_ >> 16); + this.payload[this.offset++] = (byte) (i_90_ >> 8); + this.payload[this.offset++] = (byte) i_90_; + } + + final void writeLong(long l, byte i) { + try { + int i_91_ = -16 % ((i - -5) / 52); + this.payload[this.offset++] = (byte) (int) (l >> 56); + anInt7209++; + this.payload[this.offset++] = (byte) (int) (l >> 48); + this.payload[this.offset++] = (byte) (int) (l >> 40); + this.payload[this.offset++] = (byte) (int) (l >> 32); + this.payload[this.offset++] = (byte) (int) (l >> 24); + this.payload[this.offset++] = (byte) (int) (l >> 16); + this.payload[this.offset++] = (byte) (int) (l >> 8); + this.payload[this.offset++] = (byte) (int) l; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "cea.BB(" + l + ',' + i + ')'); + } + } + + final int readByteAdd(byte i) { + anInt7169++; + int i_92_ = 18 / ((-28 - i) / 40); + return ((this.payload[this.offset++]) - 128 & 0xff); + } + + Buffer(int i) { + this.offset = 0; + this.payload = NameFormatter.allocateByteArray(i, -1); + } + + /** + * Writes little-endian int {@code i_93_}. First two bytes always; high two only when + * {@code i == -23892} (all live call sites pass that sentinel). + */ + final void writeIntLittleEndian(int i, int i_93_) { + this.payload[this.offset++] = (byte) i_93_; + anInt7141++; + this.payload[this.offset++] = (byte) (i_93_ >> 8); + if (i == -23892) { + this.payload[this.offset++] = (byte) (i_93_ >> 16); + this.payload[this.offset++] = (byte) (i_93_ >> 24); + } + } + + final void writeByteAdd(byte i, int i_94_) { + anInt7192++; + this.payload[this.offset++] = (byte) (i_94_ + 128); + int i_95_ = -21 % ((-8 - i) / 57); + } + + final void writeVarInt(int i, int i_96_) { + if (i_96_ > -5) aClass223_7175 = null; + anInt7146++; + if ((i & ~0x7f) != 0) { + if ((i & ~0x3fff) != 0) { + if ((~0x1fffff & i) != 0) { + if ((i & ~0xfffffff) != 0) writeByte(false, 0x80 | i >>> 28); + writeByte(false, 0x80 | i >>> 21); + } + writeByte(false, (0x2000f4 | i) >>> 14); + } + writeByte(false, 0x80 | i >>> 7); + } + writeByte(false, i & 0x7f); + } + + /** Write 16-bit little-endian. */ + final void writeShortLE(int i, int i_97_) { + anInt7189++; + this.payload[this.offset++] = (byte) i_97_; + this.payload[this.offset++] = (byte) (i_97_ >> 8); + if (i < 22) readUnsignedByte(6); + } + + Buffer(byte[] is) { + this.payload = is; + this.offset = 0; + } +} diff --git a/client/net/packet/ByteBufferReader.java b/client/net/packet/ByteBufferReader.java new file mode 100644 index 000000000..ad4348a1d --- /dev/null +++ b/client/net/packet/ByteBufferReader.java @@ -0,0 +1,37 @@ +/* ByteBufferReader - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class344_Sub1` (JODE-obfuscated). + * Read-only view over a java.nio.ByteBuffer. getBytes/toByteArray read bytes out of the backing ByteBuffer (position + get). Extends AbstractBuffer (AbstractBuffer). + */ + +import java.nio.ByteBuffer; + +final class ByteBufferReader extends AbstractBuffer { + private ByteBuffer aByteBuffer6524; + + final byte[] getBytes(int i, int i_0_, int i_1_) { + byte[] is = new byte[i_0_]; + aByteBuffer6524.position(i_1_); + aByteBuffer6524.get(is, 0, i_0_); + if (i != 2) aByteBuffer6524 = null; + return is; + } + + final byte[] toByteArray(int i) { + byte[] is = new byte[aByteBuffer6524.capacity()]; + if (i != -3672) toByteArray(78); + aByteBuffer6524.position(0); + aByteBuffer6524.get(is); + return is; + } + + final void setBytes(byte i, byte[] is) { + aByteBuffer6524 = ByteBuffer.allocateDirect(is.length); + aByteBuffer6524.position(0); + if (i != 62) toByteArray(73); + aByteBuffer6524.put(is); + } +} diff --git a/client/net/packet/PacketReader.java b/client/net/packet/PacketReader.java new file mode 100644 index 000000000..e03517d86 --- /dev/null +++ b/client/net/packet/PacketReader.java @@ -0,0 +1,1764 @@ +/* PacketReader - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub42_Sub8_Sub2` (JODE-obfuscated). + * Incoming packet reader node. extends CacheNode; logs 'Packet read: ' + packet id + length (NodeSub3.aClass114_6584.anInt1749). + */ + +import java.io.IOException; + +final class PacketReader extends CacheNode { + private final Object anObject10429; + static int anInt10430; + static long[][][] aLongArrayArrayArray10431; + static int anInt10432; + static int anInt10433; + /** Active {@link GameType} for this session (applet modewhere / CLI). */ + static GameType currentGameType = null; + static int anInt10435; + static DisplayModeManagerContainer154 aClass76_10436 = new DisplayModeManagerContainer154(true); + static DisplayModeManagerContainer238 aClass74_10437 = new DisplayModeManagerContainer238(0, 3); + static int anInt10438; + + static final boolean method3200(int i, int i_0_, byte i_1_) { + anInt10433++; + int i_2_ = 18 / ((i_1_ - 30) / 42); + if (!HuffmanDecoder.method2224(i, (byte) -118, i_0_)) return false; + if (RadixText.method1833((byte) -118, i, i_0_) | (0x9000 & i) != 0 | Component179.method2985(-31735, i_0_, i)) return true; + return ((0x37 & i_0_) == 0 & ((0x2000 & i) != 0 | FriendsIgnoreList.hasCollisionBlockFlags(i, i_0_, 88) | ReferenceHolder.hasBit16(i_0_, (byte) 127, i))); + } + + PacketReader(Object object, int i) { + super(i); + anObject10429 = object; + } + + final boolean isSoft(int i) { + if (i != -4) method3202((byte) -58); + anInt10438++; + return false; + } + + static final boolean method3201(boolean bool) throws IOException { + anInt10430++; + if (DefinitionSub8.aClass238_9165 == null) return false; + if (NodeSub3.aClass114_6584 == null) { + if (Component83.aBoolean1661) { + if (!DefinitionSub8.aClass238_9165.availableAtLeast(1, 119)) return false; + DefinitionSub8.aClass238_9165.readBytes(1, 0, (byte) 6, (Component80.aClass348_Sub49_Sub2_3813.payload)); + NodeSub50.anInt7213 = 0; + Component83.aBoolean1661 = false; + Component354.anInt221++; + } + Component80.aClass348_Sub49_Sub2_3813.offset = 0; + if (Component80.aClass348_Sub49_Sub2_3813.method3404(-1510)) { + if (!DefinitionSub8.aClass238_9165.availableAtLeast(1, 119)) return false; + DefinitionSub8.aClass238_9165.readBytes(1, 1, (byte) 26, (Component80.aClass348_Sub49_Sub2_3813.payload)); + Component354.anInt221++; + NodeSub50.anInt7213 = 0; + } + Component83.aBoolean1661 = true; + Component183[] class114s = DisplayModeManagerContainer288.allPacketTypes(-11271); + int i = Component80.aClass348_Sub49_Sub2_3813.method3407(15295); + if (i < 0 || i >= class114s.length) throw new IOException("invo:" + i + " ip:" + (Component80.aClass348_Sub49_Sub2_3813.offset)); + NodeSub3.aClass114_6584 = class114s[i]; + if (Loader.debug) { + System.out.println("Packet read: " + i + " length: " + NodeSub3.aClass114_6584.anInt1749); + } + DefinitionSub25.anInt9341 = NodeSub3.aClass114_6584.anInt1749; + } + if (DefinitionSub25.anInt9341 == -1) { + if (!DefinitionSub8.aClass238_9165.availableAtLeast(1, 116)) return false; + DefinitionSub8.aClass238_9165.readBytes(1, 0, (byte) -118, (Component80.aClass348_Sub49_Sub2_3813.payload)); + DefinitionSub25.anInt9341 = 0xff & (Component80.aClass348_Sub49_Sub2_3813.payload[0]); + Component354.anInt221++; + NodeSub50.anInt7213 = 0; + } + if (DefinitionSub25.anInt9341 == -2) { + if (!DefinitionSub8.aClass238_9165.availableAtLeast(2, 120)) return false; + DefinitionSub8.aClass238_9165.readBytes(2, 0, (byte) 127, (Component80.aClass348_Sub49_Sub2_3813.payload)); + Component80.aClass348_Sub49_Sub2_3813.offset = 0; + DefinitionSub25.anInt9341 = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + Component354.anInt221 += 2; + NodeSub50.anInt7213 = 0; + } + if (DefinitionSub25.anInt9341 > 0) { + if (!DefinitionSub8.aClass238_9165.availableAtLeast(DefinitionSub25.anInt9341, 104)) return false; + Component80.aClass348_Sub49_Sub2_3813.offset = 0; + DefinitionSub8.aClass238_9165.readBytes(DefinitionSub25.anInt9341, 0, (byte) -123, (Component80.aClass348_Sub49_Sub2_3813.payload)); + Component354.anInt221 += DefinitionSub25.anInt9341; + NodeSub50.anInt7213 = 0; + } + DefinitionSub36.aClass114_9456 = Component339.aClass114_3145; + Component339.aClass114_3145 = SocketStream.aClass114_3133; + SocketStream.aClass114_3133 = NodeSub3.aClass114_6584; + if (IOException_Sub1.aClass114_90 == NodeSub3.aClass114_6584) { + CookieBuilder.setSettingsCookie(Component80.aClass348_Sub49_Sub2_3813.readString((byte) 118), true); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == HashNodeSub3.aClass114_9503) { + int i = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + boolean bool_3_ = (i & 0x1) == 1; + String string = Component80.aClass348_Sub49_Sub2_3813.readString((byte) 108); + String string_4_ = Component80.aClass348_Sub49_Sub2_3813.readString((byte) -92); + if (string_4_.equals("")) string_4_ = string; + String string_5_ = Component80.aClass348_Sub49_Sub2_3813.readString((byte) -64); + String string_6_ = Component80.aClass348_Sub49_Sub2_3813.readString((byte) -97); + if (string_6_.equals("")) string_6_ = string_5_; + if (bool_3_) { + for (int i_7_ = 0; (i_7_ < MenuEntry.ignoreCount); i_7_++) { + if (DisplayModeManagerContainer145.ignoreDisplayNames[i_7_].equals(string_6_)) { + Component44.ignoreNames[i_7_] = string; + DisplayModeManagerContainer145.ignoreDisplayNames[i_7_] = string_4_; + DefinitionSub21.ignoreLastNames[i_7_] = string_5_; + ShaderSub2.ignoreLastDisplayNames[i_7_] = string_6_; + break; + } + } + } else { + Component44.ignoreNames[MenuEntry.ignoreCount] = string; + DisplayModeManagerContainer145.ignoreDisplayNames[MenuEntry.ignoreCount] = string_4_; + DefinitionSub21.ignoreLastNames[(MenuEntry.ignoreCount)] = string_5_; + ShaderSub2.ignoreLastDisplayNames[MenuEntry.ignoreCount] = string_6_; + AbstractShaderSub3.ignoreTemporary[MenuEntry.ignoreCount] = GpsOverlay.bitwiseAnd(i, 2) == 2; + MenuEntry.ignoreCount++; + } + Component380.anInt4985 = ResourceLoader.anInt3918; + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == RenderableSub6.aClass114_6424) { + InputStream_Sub2.method128(Request.aClass74_6891, (byte) 8); + NodeSub3.aClass114_6584 = null; + return true; + } + if (LruCache.aClass114_4388 == NodeSub3.aClass114_6584) { + byte i = Component80.aClass348_Sub49_Sub2_3813.readByte(-100); + int i_8_ = Component80.aClass348_Sub49_Sub2_3813.readShortAddLittle(-111); + Component141.method2397((byte) -126); + DisplayModeManagerContainer368.method467(i_8_, -18075, i); + NodeSub3.aClass114_6584 = null; + return true; + } + if (DisplayModeManagerContainer136.aClass114_4707 == NodeSub3.aClass114_6584) { + int i = Component80.aClass348_Sub49_Sub2_3813.readIntLittle((byte) -123); + int i_9_ = Component80.aClass348_Sub49_Sub2_3813.readInt((byte) -126); + Component141.method2397((byte) -124); + NodeSub41 class348_sub41 = ((NodeSub41) Component15.aClass356_4915.get(i_9_, -6008)); + NodeSub41 class348_sub41_10_ = ((NodeSub41) Component15.aClass356_4915.get(i, -6008)); + if (class348_sub41_10_ != null) Component162.method1118((class348_sub41 == null || (class348_sub41_10_.anInt7050 != class348_sub41.anInt7050)), false, class348_sub41_10_, 2533); + if (class348_sub41 != null) { + class348_sub41.unlink((byte) 32); + Component15.aClass356_4915.put((byte) 102, i, class348_sub41); + } + DisplayModeManagerContainer57 class46 = BitmapFont.method2570(1512932720, i_9_); + if (class46 != null) Component111.markInterfaceDirty(-9343, class46); + class46 = BitmapFont.method2570(1512932720, i); + if (class46 != null) { + Component111.markInterfaceDirty(-9343, class46); + Component111.layoutInterfaceTree(true, -123, class46); + } + if (r.anInt9721 != -1) Component205.method1775((byte) -8, r.anInt9721, 1); + NodeSub3.aClass114_6584 = null; + return true; + } + if (bool != true) currentGameType = null; + if (NodeSub3.aClass114_6584 == Component262.aClass114_1762) { + Component323.aString5882 = (DefinitionSub25.anInt9341 > 2 ? Component80.aClass348_Sub49_Sub2_3813.readString((byte) -119) : FriendsIgnoreList.aClass274_3509.getLocalized(ObjectDeserializer.languageId, 544)); + Component79.anInt4144 = (DefinitionSub25.anInt9341 <= 0 ? -1 : Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944)); + if (Component79.anInt4144 == 65535) Component79.anInt4144 = -1; + NodeSub3.aClass114_6584 = null; + return true; + } + if (Component339.aClass114_3135 == NodeSub3.aClass114_6584) { + int i = Component80.aClass348_Sub49_Sub2_3813.readByteAdd((byte) 62); + int i_11_ = Component80.aClass348_Sub49_Sub2_3813.readIntLittle((byte) -126); + Component141.method2397((byte) -124); + ColorTagNode.method2813(true, i, i_11_); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == Component120.aClass114_316) { + int i = Component80.aClass348_Sub49_Sub2_3813.readIntInverseMiddle(255); + int i_12_ = Component80.aClass348_Sub49_Sub2_3813.readShortLittle(false); + int i_13_ = Component80.aClass348_Sub49_Sub2_3813.readShortAdd(10); + int i_14_ = Component80.aClass348_Sub49_Sub2_3813.readShortLittle(false); + Component141.method2397((byte) -127); + SocketStream.method1703(7, i, i_13_ << 16 | i_14_, 4, i_12_); + NodeSub3.aClass114_6584 = null; + return true; + } + if (DefinitionSub15.aClass114_9216 == NodeSub3.aClass114_6584) { + Component59.anInt1872 = Component80.aClass348_Sub49_Sub2_3813.readShort(13638); + NodeSub3.aClass114_6584 = null; + DefinitionSub23.anInt9313 = ResourceLoader.anInt3918; + return true; + } + if (NodeSub3.aClass114_6584 == Component301.aClass114_4126) { + InputStream_Sub2.method128(GpiLogger.aClass74_8853, (byte) 8); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == Component75.aClass114_2285) { + int i = Component80.aClass348_Sub49_Sub2_3813.readIntMiddleEndian((byte) 82); + Component141.method2397((byte) -124); + SocketStream.method1703(3, i, -1, 4, -1); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == Component231.aClass114_330) { + boolean bool_15_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) == 1; + String string = Component80.aClass348_Sub49_Sub2_3813.readString((byte) -34); + String string_16_ = string; + if (bool_15_) string_16_ = Component80.aClass348_Sub49_Sub2_3813.readString((byte) -64); + long l = Component80.aClass348_Sub49_Sub2_3813.readLong(-456577760); + long l_17_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + long l_18_ = Component80.aClass348_Sub49_Sub2_3813.readMedium(-1); + int i = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + long l_19_ = l_18_ + (l_17_ << 32); + boolean bool_20_ = false; + while_217_: + do { + for (int i_21_ = 0; i_21_ < 100; i_21_++) { + if (l_19_ == Component186.aLongArray4410[i_21_]) { + bool_20_ = true; + break while_217_; + } + } + if (i <= 1) { + if ((ParametricDefinition.aBoolean9103 && !HeapDumper.aBoolean1915) || Component308.aBoolean5233) bool_20_ = true; + else if (StringCache.isOnIgnoreList(string_16_, 28280)) bool_20_ = true; + } + } while (false); + if (!bool_20_ && AudioMixer.anInt3227 == 0) { + Component186.aLongArray4410[NpcComposition.anInt1359] = l_19_; + NpcComposition.anInt1359 = (1 + NpcComposition.anInt1359) % 100; + String string_22_ = (Component317.escapeAngleBrackets((DefinitionSub32.method3136((byte) 64, Component80.aClass348_Sub49_Sub2_3813)), 23034)); + if (i == 2 || i == 3) DisplayModeManagerContainer174.method2477("" + string_16_, string_22_, (byte) -126, -1, "" + string, Component25.method1788((byte) -76, l), 9, 0, string); + else if (i != 1) DisplayModeManagerContainer174.method2477(string_16_, string_22_, (byte) -125, -1, string, Component25.method1788((byte) -83, l), 9, 0, string); + else DisplayModeManagerContainer174.method2477("" + string_16_, string_22_, (byte) -126, -1, "" + string, Component25.method1788((byte) -75, l), 9, 0, string); + } + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == DisplayModeManagerContainer61.aClass114_3751) { + int i = Component80.aClass348_Sub49_Sub2_3813.readShortLittle(!bool); + Component141.method2397((byte) -126); + Component184.method1189(-1, i); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == InputStream_Sub2.aClass114_82) { + InputStream_Sub2.method128(DisplayModeManagerContainer271.aClass74_515, (byte) 8); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == DisplayModeManagerContainer306.aClass114_4779) { + int i = Component80.aClass348_Sub49_Sub2_3813.readByteAdd((byte) -78); + int i_23_ = Component80.aClass348_Sub49_Sub2_3813.readByteInverse((byte) 21); + int i_24_ = Component80.aClass348_Sub49_Sub2_3813.readShortAdd(127); + int i_25_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -128); + int i_26_ = Component80.aClass348_Sub49_Sub2_3813.readByteInverse((byte) 21); + Component141.method2397((byte) -127); + Component113.aBooleanArray2374[i_23_] = true; + Component300.anIntArray3552[i_23_] = i; + ItemDefinitionProvider.anIntArray3273[i_23_] = i_25_; + Component103.anIntArray4196[i_23_] = i_26_; + Component212.anIntArray9981[i_23_] = i_24_; + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == ColoredText.aClass114_6089) { + DisplayModeManagerContainer306.anInt4786 = (Component80.aClass348_Sub49_Sub2_3813.readByteInverse(-622951480) << 3); + GradientPreset.anInt9200 = Component80.aClass348_Sub49_Sub2_3813.readByteAdd((byte) -84); + DisplayModeManagerContainer347.anInt3581 = (Component80.aClass348_Sub49_Sub2_3813.readByte128(-8679) << 3); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == Component248.aClass114_304) { + Component330.method853((byte) 99); + NodeSub3.aClass114_6584 = null; + return false; + } + if (Component35.aClass114_4269 == NodeSub3.aClass114_6584) { + int i = Component80.aClass348_Sub49_Sub2_3813.readByteAdd((byte) 71); + Component141.method2397((byte) -128); + NameFormatter.anInt495 = i; + NodeSub3.aClass114_6584 = null; + return true; + } + if (Component14.aClass114_8590 == NodeSub3.aClass114_6584) { + InputStream_Sub2.method128(DisplayModeManagerContainer152.aClass74_4537, (byte) 8); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == Component278.aClass114_3240) { + int i = Component80.aClass348_Sub49_Sub2_3813.readShortAddLittle(-117); + int i_27_ = Component80.aClass348_Sub49_Sub2_3813.readShortAdd(125); + Component141.method2397((byte) -128); + DisplayModeManagerContainer28.method2396(i, i_27_, 0, 3); + NodeSub3.aClass114_6584 = null; + return true; + } + if (ImageCacheStore.aClass114_4027 == NodeSub3.aClass114_6584) { + int i = Component80.aClass348_Sub49_Sub2_3813.readShortLittle(false); + if (i == 65535) i = -1; + int i_28_ = Component80.aClass348_Sub49_Sub2_3813.readIntInverseMiddle(255); + int i_29_ = Component80.aClass348_Sub49_Sub2_3813.readInt((byte) -126); + Component141.method2397((byte) -128); + DisplayModeManagerContainer88.method727((byte) -63, i_29_, i, i_28_); + ItemDefinition class213 = Exception_Sub1.itemDefinitions.getItemDefinition(-126, i); + DisplayModeManagerContainer145.method1085(class213.anInt2825, class213.anInt2787, (byte) -59, class213.anInt2781, i_28_); + Component225.method350(class213.anInt2779, class213.anInt2826, 125, i_28_, class213.anInt2810); + NodeSub3.aClass114_6584 = null; + return true; + } + if (HeapDumper.aClass114_1917 == NodeSub3.aClass114_6584) { + int i = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + int i_30_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + boolean bool_31_ = (0x1 & i_30_) == 1; + Component38.method1405(i, bool_31_, true); + int i_32_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + for (int i_33_ = 0; i_33_ < i_32_; i_33_++) { + int i_34_ = Component80.aClass348_Sub49_Sub2_3813.readByteAdd((byte) -127); + if (i_34_ == 255) { + int index = Component80.aClass348_Sub49_Sub2_3813.offset; + byte[] data = Component80.aClass348_Sub49_Sub2_3813.payload; + i_34_ = Component80.aClass348_Sub49_Sub2_3813.readIntMiddleEndian((byte) 82); + } + int i_35_ = Component80.aClass348_Sub49_Sub2_3813.readShortAdd(-78); + Canvas_Sub1.setContainerSlot(i, -364570972, bool_31_, i_33_, i_34_, i_35_ - 1); + } + HelveticaFont.anIntArray2633[GpsOverlay.bitwiseAnd(31, KeyStoreLoader.anInt1631++)] = i; + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == HuffmanDecoder.aClass114_3773) { + LoggedOutDefinition.disconnectAndReset(false, (byte) 11); + NodeSub3.aClass114_6584 = null; + return false; + } + if (NodeSub3.aClass114_6584 == Component10.aClass114_3809) { + int i = Component80.aClass348_Sub49_Sub2_3813.readIntInverseMiddle(255); + int i_36_ = Component80.aClass348_Sub49_Sub2_3813.readShortAdd(124); + DisplayModeManagerContainer58.aClass170_10209.method1313((byte) 42, i, i_36_); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == Component20.aClass114_6056) { + int i = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) 75); + int i_37_ = Component80.aClass348_Sub49_Sub2_3813.readShortAdd(124); + int i_38_ = Component80.aClass348_Sub49_Sub2_3813.readShortAdd(125); + int i_39_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + int i_40_ = Component80.aClass348_Sub49_Sub2_3813.readIntMiddleEndian((byte) 82); + boolean bool_41_ = (0x80 & i) != 0; + int i_42_ = 0x7 & i; + int i_43_ = (i & 0x7e) >> 3; + if (i_43_ == 15) i_43_ = -1; + if (i_40_ >> 30 == 0) { + if (i_40_ >> 29 != 0) { + int i_44_ = i_40_ & 0xffff; + NodeSub22 class348_sub22 = ((NodeSub22) Component21.aClass356_3654.get(i_44_, -6008)); + if (class348_sub22 != null) { + Npc npc = (class348_sub22.npc); + if (i_38_ == 65535) i_38_ = -1; + boolean bool_45_ = true; + int i_46_ = (!bool_41_ ? npc.anInt10269 : npc.anInt10291); + if (i_38_ != -1 && i_46_ != -1) { + if (i_46_ == i_38_) { + Component63 class368 = NsnDefinition.aClass319_9245.method2543((byte) 55, i_38_); + if (class368.aBoolean4487 && class368.anInt4503 != -1) { + DisplayModeManagerContainer167 class17 = (RunescapeInfo.aClass87_191.method835(class368.anInt4503, 7)); + int i_47_ = class17.anInt248; + if (i_47_ != 0 && i_47_ != 2) { + if (i_47_ == 1) bool_45_ = true; + } else bool_45_ = false; + } + } else { + Component63 class368 = NsnDefinition.aClass319_9245.method2543((byte) 105, i_38_); + Component63 class368_48_ = NsnDefinition.aClass319_9245.method2543((byte) 56, i_46_); + if (class368.anInt4503 != -1 && (class368_48_.anInt4503 != -1)) { + DisplayModeManagerContainer167 class17 = (RunescapeInfo.aClass87_191.method835(class368.anInt4503, 7)); + DisplayModeManagerContainer167 class17_49_ = (RunescapeInfo.aClass87_191.method835((class368_48_.anInt4503), 7)); + if (class17.anInt239 < class17_49_.anInt239) bool_45_ = false; + } + } + } + if (bool_45_) { + if (bool_41_) { + npc.anInt10211 = i_39_ + OpenGlShader.clientCycle; + npc.anInt10260 = i_37_; + npc.anInt10291 = i_38_; + npc.anInt10289 = i_43_; + npc.anInt10202 = i_42_; + npc.anInt10273 = 0; + npc.anInt10276 = 1; + npc.anInt10224 = 0; + if (npc.anInt10211 > OpenGlShader.clientCycle) npc.anInt10224 = -1; + if (npc.anInt10291 != -1 && (OpenGlShader.clientCycle == (npc.anInt10211))) { + int i_51_ = (NsnDefinition.aClass319_9245.method2543((byte) 103, (npc.anInt10291)).anInt4503); + if (i_51_ != -1) { + DisplayModeManagerContainer167 class17 = RunescapeInfo.aClass87_191.method835(i_51_, 7); + if (class17 != null && (class17.anIntArray237) != null && !(npc.aBoolean10309)) DisplayModeManagerContainer260.method2178(npc, 0, class17, -17); + } + } + } else { + npc.anInt10243 = 0; + npc.anInt10220 = i_37_; + npc.anInt10269 = i_38_; + npc.anInt10240 = 0; + npc.anInt10278 = i_43_; + npc.anInt10225 = OpenGlShader.clientCycle + i_39_; + npc.anInt10237 = i_42_; + npc.anInt10283 = 1; + if (npc.anInt10225 > OpenGlShader.clientCycle) npc.anInt10240 = -1; + if (npc.anInt10269 != -1 && (OpenGlShader.clientCycle == (npc.anInt10225))) { + int i_50_ = (NsnDefinition.aClass319_9245.method2543((byte) 87, (npc.anInt10269)).anInt4503); + if (i_50_ != -1) { + DisplayModeManagerContainer167 class17 = RunescapeInfo.aClass87_191.method835(i_50_, 7); + if (class17 != null && (class17.anIntArray237) != null && !(npc.aBoolean10309)) DisplayModeManagerContainer260.method2178(npc, 0, class17, -44); + } + } + } + } + } + } else if (i_40_ >> 28 != 0) { + int i_52_ = i_40_ & 0xffff; + Player player; + if (StringDefinition.anInt9591 != i_52_) player = (InterfaceRenderer.players[i_52_]); + else player = Component72.localPlayer; + if (player != null) { + if (i_38_ == 65535) i_38_ = -1; + boolean bool_53_ = true; + int i_54_ = (!bool_41_ ? player.anInt10269 : player.anInt10291); + if (i_38_ != -1 && i_54_ != -1) { + if (i_38_ == i_54_) { + Component63 class368 = NsnDefinition.aClass319_9245.method2543((byte) 111, i_38_); + if (class368.aBoolean4487 && class368.anInt4503 != -1) { + DisplayModeManagerContainer167 class17 = (RunescapeInfo.aClass87_191.method835(class368.anInt4503, 7)); + int i_57_ = class17.anInt248; + if (i_57_ != 0 && i_57_ != 2) { + if (i_57_ == 1) bool_53_ = true; + } else bool_53_ = false; + } + } else { + Component63 class368 = NsnDefinition.aClass319_9245.method2543((byte) 105, i_38_); + Component63 class368_55_ = NsnDefinition.aClass319_9245.method2543((byte) 118, i_54_); + if (class368.anInt4503 != -1 && class368_55_.anInt4503 != -1) { + DisplayModeManagerContainer167 class17 = (RunescapeInfo.aClass87_191.method835(class368.anInt4503, 7)); + DisplayModeManagerContainer167 class17_56_ = (RunescapeInfo.aClass87_191.method835((class368_55_.anInt4503), 7)); + if (class17.anInt239 < class17_56_.anInt239) bool_53_ = false; + } + } + } + if (bool_53_) { + if (bool_41_) { + player.anInt10224 = 0; + player.anInt10260 = i_37_; + player.anInt10289 = i_43_; + player.anInt10273 = 0; + player.anInt10276 = 1; + player.anInt10291 = i_38_; + player.anInt10211 = i_39_ + OpenGlShader.clientCycle; + player.anInt10202 = i_42_; + if (player.anInt10211 > OpenGlShader.clientCycle) player.anInt10224 = -1; + if (player.anInt10291 == 65535) player.anInt10291 = -1; + if ((player.anInt10291 != -1) && ((player.anInt10211) == OpenGlShader.clientCycle)) { + int i_58_ = (NsnDefinition.aClass319_9245.method2543((byte) 45, (player.anInt10291)).anInt4503); + if (i_58_ != -1) { + DisplayModeManagerContainer167 class17 = RunescapeInfo.aClass87_191.method835(i_58_, 7); + if (class17 != null && (class17.anIntArray237) != null && !(player.aBoolean10309)) DisplayModeManagerContainer260.method2178(player, 0, class17, -120); + } + } + } else { + player.anInt10269 = i_38_; + player.anInt10243 = 0; + player.anInt10220 = i_37_; + player.anInt10240 = 0; + player.anInt10278 = i_43_; + player.anInt10237 = i_42_; + player.anInt10283 = 1; + player.anInt10225 = i_39_ + OpenGlShader.clientCycle; + if (player.anInt10269 == 65535) player.anInt10269 = -1; + if (OpenGlShader.clientCycle < (player.anInt10225)) player.anInt10240 = -1; + if ((player.anInt10269 != -1) && (OpenGlShader.clientCycle == (player.anInt10225))) { + int i_59_ = (NsnDefinition.aClass319_9245.method2543((byte) 81, (player.anInt10269)).anInt4503); + if (i_59_ != -1) { + DisplayModeManagerContainer167 class17 = RunescapeInfo.aClass87_191.method835(i_59_, 7); + if (class17 != null && (class17.anIntArray237) != null && !(player.aBoolean10309)) DisplayModeManagerContainer260.method2178(player, 0, class17, -101); + } + } + } + } + } + } + } else { + int i_60_ = (i_40_ & 0x33705717) >> 28; + int i_61_ = -NodeBaseSub2.regionTileX + ((0xffff4fe & i_40_) >> 14); + int i_62_ = -Component330.regionTileY + (0x3fff & i_40_); + if (i_61_ >= 0 && i_62_ >= 0 && AbstractShaderSub4.anInt7319 > i_61_ && ParametricDefinition.anInt9109 > i_62_) { + int i_63_ = 256 + 512 * i_61_; + int i_64_ = 512 * i_62_ + 256; + int i_65_ = i_60_; + if (i_65_ < 3 && NpcComposition.method802(i_62_, i_61_, true)) i_65_++; + DisplayModeManagerContainer104 class318_sub1_sub3_sub4 = (new DisplayModeManagerContainer104(i_38_, i_39_, OpenGlShader.clientCycle, i_60_, i_65_, i_63_, -i_37_ + Component300.method2064(i_63_, i_60_, 11219, i_64_), i_64_, i_61_, i_61_, i_62_, i_62_, i_42_)); + CacheNodeSub2.aClass262_10492.addTail(new PauseHandler(class318_sub1_sub3_sub4), -20180); + } + } + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == Component227.aClass114_1120) { + int i = Component80.aClass348_Sub49_Sub2_3813.readShortAddLittle(-116); + String string = Component80.aClass348_Sub49_Sub2_3813.readString((byte) -85); + Component141.method2397((byte) -125); + GlExtensionManager.method3965(string, i, 2); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == DisplayModeManagerContainer238.aClass114_1234) { + DisplayModeManagerContainer310.anInt359 = Component80.aClass348_Sub49_Sub2_3813.readSignedMedium((byte) 125); + ParametricDefinition.aBoolean9103 = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) == 1; + NodeSub3.aClass114_6584 = null; + return true; + } + if (Component48.aClass114_4331 == NodeSub3.aClass114_6584) { + String string = Component80.aClass348_Sub49_Sub2_3813.readString((byte) 122); + boolean bool_66_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) == 1; + String string_67_; + if (!bool_66_) string_67_ = string; + else string_67_ = Component80.aClass348_Sub49_Sub2_3813.readString((byte) 125); + int i = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + byte i_68_ = Component80.aClass348_Sub49_Sub2_3813.readByte(-128); + boolean bool_69_ = false; + if (i_68_ == -128) bool_69_ = true; + if (bool_69_) { + if (NameFormatter.anInt496 == 0) { + NodeSub3.aClass114_6584 = null; + return true; + } + boolean bool_70_ = false; + int i_71_; + for (i_71_ = 0; NameFormatter.anInt496 > i_71_; i_71_++) { + if (RequestProcessor.aClass19Array2261[i_71_].aString306.equals(string_67_) && i == (RequestProcessor.aClass19Array2261[i_71_].anInt308)) break; + } + if (NameFormatter.anInt496 > i_71_) { + for (/**/; -1 + NameFormatter.anInt496 > i_71_; i_71_++) + RequestProcessor.aClass19Array2261[i_71_] = RequestProcessor.aClass19Array2261[i_71_ - -1]; + NameFormatter.anInt496--; + RequestProcessor.aClass19Array2261[NameFormatter.anInt496] = null; + } + } else { + String string_72_ = Component80.aClass348_Sub49_Sub2_3813.readString((byte) -74); + Component248 class19 = new Component248(); + class19.aString306 = string_67_; + class19.aString314 = string; + class19.aString312 = DebugPanicSub1.method2127(2, class19.aString306); + class19.aString313 = string_72_; + class19.anInt308 = i; + class19.aByte310 = i_68_; + int i_73_; + for (i_73_ = -1 + NameFormatter.anInt496; i_73_ >= 0; i_73_--) { + int i_74_ = RequestProcessor.aClass19Array2261[i_73_].aString312.compareTo(class19.aString312); + if (i_74_ == 0) { + RequestProcessor.aClass19Array2261[i_73_].anInt308 = i; + RequestProcessor.aClass19Array2261[i_73_].aByte310 = i_68_; + RequestProcessor.aClass19Array2261[i_73_].aString313 = string_72_; + if (string_67_.equals(Component72.localPlayer.username)) DisplayModeManagerContainer96.aByte4702 = i_68_; + GameType.anInt2986 = ResourceLoader.anInt3918; + NodeSub3.aClass114_6584 = null; + return true; + } + if (i_74_ < 0) break; + } + if (RequestProcessor.aClass19Array2261.length <= NameFormatter.anInt496) { + NodeSub3.aClass114_6584 = null; + return true; + } + for (int i_75_ = NameFormatter.anInt496 - 1; i_75_ > i_73_; i_75_--) + RequestProcessor.aClass19Array2261[1 + i_75_] = RequestProcessor.aClass19Array2261[i_75_]; + if (NameFormatter.anInt496 == 0) RequestProcessor.aClass19Array2261 = new Component248[100]; + RequestProcessor.aClass19Array2261[i_73_ - -1] = class19; + NameFormatter.anInt496++; + if (string_67_.equals(Component72.localPlayer.username)) DisplayModeManagerContainer96.aByte4702 = i_68_; + } + GameType.anInt2986 = ResourceLoader.anInt3918; + NodeSub3.aClass114_6584 = null; + return true; + } + if (LibraryCreditsText.aClass114_5949 == NodeSub3.aClass114_6584) { + int i = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + int i_76_ = i >> 5; + int i_77_ = 0x1f & i; + if (i_77_ == 0) { + NodeSub27.aClass302Array6897[i_76_] = null; + NodeSub3.aClass114_6584 = null; + return true; + } + Component114 class302 = new Component114(); + class302.anInt3840 = i_77_; + class302.anInt3831 = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + if (class302.anInt3831 >= 0 && (class302.anInt3831 < Component379.aClass105Array5933.length)) { + if (class302.anInt3840 == 1 || class302.anInt3840 == 10) { + class302.anInt3833 = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + Component80.aClass348_Sub49_Sub2_3813.offset += 6; + } else if (class302.anInt3840 >= 2 && class302.anInt3840 <= 6) { + if (class302.anInt3840 == 2) { + class302.anInt3832 = 256; + class302.anInt3835 = 256; + } + if (class302.anInt3840 == 3) { + class302.anInt3835 = 0; + class302.anInt3832 = 256; + } + if (class302.anInt3840 == 4) { + class302.anInt3835 = 512; + class302.anInt3832 = 256; + } + if (class302.anInt3840 == 5) { + class302.anInt3835 = 256; + class302.anInt3832 = 0; + } + if (class302.anInt3840 == 6) { + class302.anInt3835 = 256; + class302.anInt3832 = 512; + } + class302.anInt3840 = 2; + class302.anInt3838 = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + class302.anInt3835 += (Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944) + -NodeBaseSub2.regionTileX << 9); + class302.anInt3832 += (Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944) - Component330.regionTileY << 9); + class302.anInt3839 = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) << 2; + class302.anInt3837 = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + } + class302.anInt3834 = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + if (class302.anInt3834 == 65535) class302.anInt3834 = -1; + NodeSub27.aClass302Array6897[i_76_] = class302; + } + NodeSub3.aClass114_6584 = null; + return true; + } + if (Component16.aClass114_2279 == NodeSub3.aClass114_6584) { + LoggedOutDefinition.disconnectAndReset(DisplayModeManagerContainer369.aBoolean2895, (byte) 11); + NodeSub3.aClass114_6584 = null; + return false; + } + + if (AbstractShaderSub4.aClass114_7323 == NodeSub3.aClass114_6584) { + GpiLogger.method2822(-101, Component80.aClass348_Sub49_Sub2_3813, DefinitionSub25.anInt9341); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == RadixText.aClass114_6121) { + int i = Component80.aClass348_Sub49_Sub2_3813.readShortAdd(124); + int i_78_ = Component80.aClass348_Sub49_Sub2_3813.readIntLittle((byte) -118); + Component141.method2397((byte) -128); + GnpPositionLogger.method855(6, i, i_78_); + NodeSub3.aClass114_6584 = null; + return true; + } + if (Component235.aClass114_3371 == NodeSub3.aClass114_6584) { + InputStream_Sub2.method128(DisplayModeManagerContainer34.aClass74_8662, (byte) 8); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == AbstractShaderSub4.aClass114_7324) { + int i = Component80.aClass348_Sub49_Sub2_3813.readInt((byte) -126); + int i_79_ = Component80.aClass348_Sub49_Sub2_3813.readShortAddLittle(-120); + int i_80_ = Component80.aClass348_Sub49_Sub2_3813.readShortAdd(125); + Component141.method2397((byte) -125); + DisplayModeManagerContainer159.method1540(-101, i, i_79_ + (i_80_ << 16)); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == TeleportHandler.aClass114_4433) { + DisplayModeManagerContainer58.aClass170_10209.method1314((byte) 80); + DisplayModeManagerContainer260.anInt3695 += 32; + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == DisplayModeManagerContainer165.aClass114_3842) { + int i = Component80.aClass348_Sub49_Sub2_3813.readIntInverseMiddle(255); + Component141.method2397((byte) -128); + SocketStream.method1703(5, i, StringDefinition.anInt9591, 4, 0); + NodeSub3.aClass114_6584 = null; + return true; + } + if (KeyFocusHandler.aClass114_6528 == NodeSub3.aClass114_6584) { + int i = Component80.aClass348_Sub49_Sub2_3813.readShortAdd(-124); + Component141.method2397((byte) -124); + DisplayModeManagerContainer282.method690((byte) -107, i); + NodeSub3.aClass114_6584 = null; + return true; + } + if (Component2.aClass114_8365 == NodeSub3.aClass114_6584) { + boolean bool_81_ = (Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) == 1); + String string = Component80.aClass348_Sub49_Sub2_3813.readString((byte) -29); + String string_82_ = string; + if (bool_81_) string_82_ = Component80.aClass348_Sub49_Sub2_3813.readString((byte) -98); + int i = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + boolean bool_83_ = false; + if (i <= 1) { + if (ParametricDefinition.aBoolean9103 && !HeapDumper.aBoolean1915 || Component308.aBoolean5233) bool_83_ = true; + else if (i <= 1 && StringCache.isOnIgnoreList(string_82_, 28280)) bool_83_ = true; + } + if (!bool_83_ && AudioMixer.anInt3227 == 0) { + String string_84_ = (Component317.escapeAngleBrackets((DefinitionSub32.method3136((byte) 64, Component80.aClass348_Sub49_Sub2_3813)), 23034)); + if (i == 2) DisplayModeManagerContainer174.method2477("" + string_82_, string_84_, (byte) -119, -1, "" + string, null, 24, 0, string); + else if (i == 1) DisplayModeManagerContainer174.method2477("" + string_82_, string_84_, (byte) -119, -1, "" + string, null, 24, 0, string); + else DisplayModeManagerContainer174.method2477(string_82_, string_84_, (byte) -115, -1, string, null, 24, 0, string); + } + NodeSub3.aClass114_6584 = null; + return true; + } + if (Component279.aClass114_229 == NodeSub3.aClass114_6584) { + InputStream_Sub2.method128(ArbShaderProgram.aClass74_6201, (byte) 8); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == MatrixSub2.aClass114_5742) { + int i = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) 31); + int i_85_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -104); + int i_86_ = Component80.aClass348_Sub49_Sub2_3813.readByteInverse((byte) 21); + int i_87_ = Component80.aClass348_Sub49_Sub2_3813.readByteInverse((byte) 21); + int i_88_ = (Component80.aClass348_Sub49_Sub2_3813.readShortAdd(126) << 2); + Component141.method2397((byte) -127); + Component188.method1844(i_85_, i_86_, true, i_88_, !bool, i_87_, i); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == Component331.aClass114_1722) { + String string = Component80.aClass348_Sub49_Sub2_3813.readString((byte) -100); + Object[] objects = new Object[1 + string.length()]; + for (int i = -1 + string.length(); i >= 0; i--) { + if (string.charAt(i) != 's') objects[i + 1] = new Integer(Component80.aClass348_Sub49_Sub2_3813.readInt((byte) -126)); + else objects[1 + i] = Component80.aClass348_Sub49_Sub2_3813.readString((byte) 122); + } + objects[0] = new Integer(Component80.aClass348_Sub49_Sub2_3813.readInt((byte) -126)); + Component141.method2397((byte) -127); + NodeSub36 class348_sub36 = new NodeSub36(); + class348_sub36.anObjectArray6987 = objects; + ClientScriptExecutor.method705(class348_sub36); + NodeSub3.aClass114_6584 = null; + return true; + } + if (Component287.aClass114_6075 == NodeSub3.aClass114_6584) { + Component141.method2397((byte) -127); + Component284.method1851((byte) 125); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == NodeSub41.aClass114_7052) { + int i = Component80.aClass348_Sub49_Sub2_3813.readIntLittle((byte) -118); + int i_89_ = Component80.aClass348_Sub49_Sub2_3813.readShortAdd(127); + if (i_89_ == 65535) i_89_ = -1; + Component141.method2397((byte) -126); + SocketStream.method1703(2, i, i_89_, 4, -1); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == Component235.aClass114_3368) { + int i = Component80.aClass348_Sub49_Sub2_3813.readInt((byte) -126); + Component141.method2397((byte) -124); + NodeSub41 class348_sub41 = ((NodeSub41) Component15.aClass356_4915.get(i, -6008)); + if (class348_sub41 != null) Component162.method1118(true, false, class348_sub41, 2533); + if (Component297.aClass46_4730 != null) { + Component111.markInterfaceDirty(-9343, Component297.aClass46_4730); + Component297.aClass46_4730 = null; + } + NodeSub3.aClass114_6584 = null; + return true; + } + if (InputStream_Sub1.aClass114_79 == NodeSub3.aClass114_6584) { + int i = Component80.aClass348_Sub49_Sub2_3813.readShortAdd(-86); + int i_90_ = Component80.aClass348_Sub49_Sub2_3813.readIntInverseMiddle(255); + Component141.method2397((byte) -124); + OggStream.method2966(i_90_, i, false); + NodeSub3.aClass114_6584 = null; + return true; + } + if (Component37.aClass114_3925 == NodeSub3.aClass114_6584) { + InputStream_Sub2.method128(aClass74_10437, (byte) 8); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == NativeLibraryLoader.aClass114_2972) { + int i = Component80.aClass348_Sub49_Sub2_3813.readInt((byte) -126); + PauseHandler.aClass144_9536 = OggUrlStream.aClass297_8992.reverseDns(80, i); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == Component286.aClass114_1901) { + int i = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + Player player; + if (i != StringDefinition.anInt9591) player = InterfaceRenderer.players[i]; + else player = Component72.localPlayer; + if (player == null) { + NodeSub3.aClass114_6584 = null; + return true; + } + int i_91_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + int i_92_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + boolean bool_93_ = (0x8000 & i_91_) != 0; + if ((player.username) != null && player.appearance != null) { + boolean bool_94_ = false; + if (i_92_ <= 1) { + if (!bool_93_ && ((ParametricDefinition.aBoolean9103 && !HeapDumper.aBoolean1915) || Component308.aBoolean5233)) bool_94_ = true; + else if (StringCache.isOnIgnoreList(player.username, 28280)) bool_94_ = true; + } + if (!bool_94_ && AudioMixer.anInt3227 == 0) { + int i_95_ = -1; + String string; + if (bool_93_) { + i_91_ &= 0x7fff; + CookieBuilder class43 = RSACipher.method490((byte) -104, (Component80.aClass348_Sub49_Sub2_3813)); + i_95_ = class43.anInt615; + string = (class43.aClass348_Sub42_Sub10_614.method3216(Component80.aClass348_Sub49_Sub2_3813, (byte) 119)); + } else string = (Component317.escapeAngleBrackets((DefinitionSub32.method3136((byte) 64, Component80.aClass348_Sub49_Sub2_3813)), 23034)); + player.aString10292 = string.trim(); + player.anInt10201 = i_91_ >> 8; + player.anInt10234 = i_91_ & 0xff; + player.anInt10264 = 150; + int i_96_; + if (i_92_ != 1 && i_92_ != 2) i_96_ = !bool_93_ ? 2 : 17; + else i_96_ = bool_93_ ? 17 : 1; + if (i_92_ != 2) { + if (i_92_ != 1) DisplayModeManagerContainer174.method2477(player.getName(false, -121), string, (byte) -126, i_95_, player.method2456(true, 255), null, i_96_, 0, player.displayName); + else DisplayModeManagerContainer174.method2477("" + player.getName(false, -93), string, (byte) -111, i_95_, "" + player.method2456(true, 255), null, i_96_, 0, player.displayName); + } else DisplayModeManagerContainer174.method2477("" + player.getName(false, -95), string, (byte) -120, i_95_, "" + player.method2456(true, 255), null, i_96_, 0, player.displayName); + } + } + NodeSub3.aClass114_6584 = null; + return true; + } + if (Component227.aClass114_1123 == NodeSub3.aClass114_6584) { + boolean bool_97_ = (Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) == 1); + String string = Component80.aClass348_Sub49_Sub2_3813.readString((byte) 126); + String string_98_ = string; + if (bool_97_) string_98_ = Component80.aClass348_Sub49_Sub2_3813.readString((byte) 86); + long l = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + long l_99_ = Component80.aClass348_Sub49_Sub2_3813.readMedium(-1); + int i = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + long l_100_ = (l << 32) - -l_99_; + boolean bool_101_ = false; + while_218_: + do { + for (int i_102_ = 0; i_102_ < 100; i_102_++) { + if (l_100_ == Component186.aLongArray4410[i_102_]) { + bool_101_ = true; + break while_218_; + } + } + if (i <= 1) { + if ((ParametricDefinition.aBoolean9103 && !HeapDumper.aBoolean1915) || Component308.aBoolean5233) bool_101_ = true; + else if (StringCache.isOnIgnoreList(string_98_, 28280)) bool_101_ = true; + } + } while (false); + if (!bool_101_ && AudioMixer.anInt3227 == 0) { + Component186.aLongArray4410[NpcComposition.anInt1359] = l_100_; + NpcComposition.anInt1359 = (1 + NpcComposition.anInt1359) % 100; + String string_103_ = (Component317.escapeAngleBrackets((DefinitionSub32.method3136((byte) 64, Component80.aClass348_Sub49_Sub2_3813)), 23034)); + if (i == 2) DisplayModeManagerContainer174.method2477("" + string_98_, string_103_, (byte) -127, -1, "" + string, null, 7, 0, string); + else if (i == 1) DisplayModeManagerContainer174.method2477("" + string_98_, string_103_, (byte) -115, -1, "" + string, null, 7, 0, string); + else DisplayModeManagerContainer174.method2477(string_98_, string_103_, (byte) -128, -1, string, null, 3, 0, string); + } + NodeSub3.aClass114_6584 = null; + return true; + } + if (CacheNode.aClass114_9552 == NodeSub3.aClass114_6584) { + if (r.anInt9721 != -1) Component205.method1775((byte) -8, r.anInt9721, 0); + NodeSub3.aClass114_6584 = null; + return true; + } + if (Component39.aClass114_2248 == NodeSub3.aClass114_6584) { + int i = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + int i_104_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -87); + int i_105_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + int i_106_ = (Component80.aClass348_Sub49_Sub2_3813.readShortLittle(!bool) << 2); + int i_107_ = Component80.aClass348_Sub49_Sub2_3813.readByteInverse((byte) 21); + Component141.method2397((byte) -125); + MenuEntry.setCutsceneCamera(i_104_, i, i_106_, i_107_, i_105_, -127); + NodeSub3.aClass114_6584 = null; + return true; + } + + if (NodeSub3.aClass114_6584 == NodeSub46.aClass114_7113) { + NodeSub3.aClass114_6584 = null; + return false; + } + if (Component119.aClass114_3427 == NodeSub3.aClass114_6584) { + Component338.method1034(DefinitionSub25.anInt9341, Component80.aClass348_Sub49_Sub2_3813, OggUrlStream.aClass297_8992, 110); + NodeSub3.aClass114_6584 = null; + return true; + } + if (Component291.aClass114_2527 == NodeSub3.aClass114_6584) { + boolean bool_108_ = (Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) == 1); + byte[] is = new byte[DefinitionSub25.anInt9341 - 1]; + Component80.aClass348_Sub49_Sub2_3813.readBytes(2147483647, 0, (DefinitionSub25.anInt9341) + -1, is); + Component357.method1385(bool_108_, is, (byte) -104); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == Component355.aClass114_3264) { + int i = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + byte i_109_ = Component80.aClass348_Sub49_Sub2_3813.readByte128(-8679); + Component141.method2397((byte) -128); + HashNodeSub14.method3244(i_109_, i, 120); + NodeSub3.aClass114_6584 = null; + return true; + } + if (ItemDefinitionProvider.aClass114_3265 == NodeSub3.aClass114_6584) { + DisplayModeManagerContainer347.anInt3581 = (Component80.aClass348_Sub49_Sub2_3813.readByteInverse(-622951480) << 3); + GradientPreset.anInt9200 = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) 98); + DisplayModeManagerContainer306.anInt4786 = (Component80.aClass348_Sub49_Sub2_3813.readByteSubtract(-27697) << 3); + while ((Component80.aClass348_Sub49_Sub2_3813.offset) < DefinitionSub25.anInt9341) { + DisplayModeManagerContainer238 class74 = (ItemDefinitionProvider.method1929((byte) -19)[Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255)]); + InputStream_Sub2.method128(class74, (byte) 8); + } + NodeSub3.aClass114_6584 = null; + return true; + } + if (DisplayModeManagerContainer130.aClass114_3467 == NodeSub3.aClass114_6584) { + int i = Component80.aClass348_Sub49_Sub2_3813.readShort(13638); + int i_110_ = Component80.aClass348_Sub49_Sub2_3813.readInt((byte) -126); + int i_111_ = Component80.aClass348_Sub49_Sub2_3813.readShort128((byte) 84); + Component141.method2397((byte) -124); + Component247.method1080(i_111_, -23697, i, i_110_); + NodeSub3.aClass114_6584 = null; + return true; + } + if (DisplayModeManagerContainer109.aClass114_2338 == NodeSub3.aClass114_6584) { + String string = Component80.aClass348_Sub49_Sub2_3813.readString((byte) 100); + int i = Component80.aClass348_Sub49_Sub2_3813.readShortAdd(124); + Component141.method2397((byte) -127); + GlExtensionManager.method3965(string, i, 2); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == ShaderLinker.aClass114_10168) { + int i = Component80.aClass348_Sub49_Sub2_3813.readShortAddLittle(-117); + int i_112_ = Component80.aClass348_Sub49_Sub2_3813.readInt((byte) -126); + Component141.method2397((byte) -127); + DefinitionSub15.method3084(i, (byte) -88, i_112_); + NodeSub3.aClass114_6584 = null; + return true; + } + if (Component385.aClass114_2196 == NodeSub3.aClass114_6584) { + boolean bool_113_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) == 1; + String string = Component80.aClass348_Sub49_Sub2_3813.readString((byte) -81); + String string_114_ = string; + if (bool_113_) string_114_ = Component80.aClass348_Sub49_Sub2_3813.readString((byte) -39); + long l = Component80.aClass348_Sub49_Sub2_3813.readLong(-456577760); + long l_115_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + long l_116_ = Component80.aClass348_Sub49_Sub2_3813.readMedium(-1); + int i = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + int i_117_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + long l_118_ = (l_115_ << 32) - -l_116_; + boolean bool_119_ = false; + while_219_: + do { + for (int i_120_ = 0; i_120_ < 100; i_120_++) { + if (Component186.aLongArray4410[i_120_] == l_118_) { + bool_119_ = true; + break while_219_; + } + } + if (i <= 1 && StringCache.isOnIgnoreList(string_114_, 28280)) bool_119_ = true; + } while (false); + if (!bool_119_ && AudioMixer.anInt3227 == 0) { + Component186.aLongArray4410[NpcComposition.anInt1359] = l_118_; + NpcComposition.anInt1359 = (NpcComposition.anInt1359 + 1) % 100; + String string_121_ = (Component31.aClass355_5900.method3471(i_117_, (byte) -106).method3216(Component80.aClass348_Sub49_Sub2_3813, (byte) 42)); + if (i == 2) DisplayModeManagerContainer174.method2477("" + string_114_, string_121_, (byte) -120, i_117_, "" + string, Component25.method1788((byte) 87, l), 20, 0, string); + else if (i != 1) DisplayModeManagerContainer174.method2477(string_114_, string_121_, (byte) -111, i_117_, string, Component25.method1788((byte) 80, l), 20, 0, string); + else DisplayModeManagerContainer174.method2477("" + string_114_, string_121_, (byte) -116, i_117_, "" + string, Component25.method1788((byte) -98, l), 20, 0, string); + } + NodeSub3.aClass114_6584 = null; + return true; + } + if (ParticleSystem.aClass114_7124 == NodeSub3.aClass114_6584) { + int i = Component80.aClass348_Sub49_Sub2_3813.readIntInverseMiddle(255); + Component141.method2397((byte) -125); + if (i == -1) { + JaclibLoader.anInt167 = -1; + ShaderLinker.anInt10163 = -1; + } else { + int i_122_ = 0x3fff & i >> 14; + i_122_ -= NodeBaseSub2.regionTileX; + int i_123_ = 0x3fff & i; + i_123_ -= Component330.regionTileY; + if (i_122_ >= 0) { + if (AbstractShaderSub4.anInt7319 <= i_122_) i_122_ = AbstractShaderSub4.anInt7319; + } else i_122_ = 0; + JaclibLoader.anInt167 = (i_122_ << 9) - -256; + if (i_123_ >= 0) { + if (i_123_ >= ParametricDefinition.anInt9109) i_123_ = ParametricDefinition.anInt9109; + } else i_123_ = 0; + ShaderLinker.anInt10163 = 256 + (i_123_ << 9); + } + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == DefinitionSub19.aClass114_9254) { + int i = Component80.aClass348_Sub49_Sub2_3813.readByteAdd((byte) -88); + int i_124_ = Component80.aClass348_Sub49_Sub2_3813.readShortLittle(!bool); + DisplayModeManagerContainer58.aClass170_10209.method1316((byte) -58, i_124_, i); + NodeSub3.aClass114_6584 = null; + return true; + } + if (HeapDumper.aClass114_1914 == NodeSub3.aClass114_6584) { + InputStream_Sub2.method128(DefinitionSub38.aClass74_9475, (byte) 8); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == Component102.aClass114_4798) { + int i = Component80.aClass348_Sub49_Sub2_3813.readShortAddLittle(-107); + if (i == 65535) i = -1; + int i_125_ = Component80.aClass348_Sub49_Sub2_3813.readByteAdd((byte) -121); + int i_126_ = i_125_ >> 2; + int i_127_ = i_125_ & 0x3; + int i_128_ = Component129.anIntArray487[i_126_]; + int i_129_ = Component80.aClass348_Sub49_Sub2_3813.readIntInverseMiddle(255); + int i_130_ = (0x36079814 & i_129_) >> 28; + int i_131_ = i_129_ >> 14 & 0x3fff; + int i_132_ = 0x3fff & i_129_; + i_131_ -= NodeBaseSub2.regionTileX; + i_132_ -= Component330.regionTileY; + GlToolkitSub3.method3824(i_132_, i, i_126_, i_131_, i_127_, 102, i_130_, i_128_); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == Component39.aClass114_2255) { + String string = Component80.aClass348_Sub49_Sub2_3813.readString((byte) -104); + int i = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + String string_133_ = (Component31.aClass355_5900.method3471(i, (byte) -98).method3216(Component80.aClass348_Sub49_Sub2_3813, (byte) 42)); + DisplayModeManagerContainer174.method2477(string, string_133_, (byte) -122, i, string, null, 19, 0, string); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == CacheNode.aClass114_9550) { + InputStream_Sub2.method128(DisplayModeManagerContainer363.aClass74_4098, (byte) 8); + NodeSub3.aClass114_6584 = null; + return true; + } + if (Connection.aClass114_2665 == NodeSub3.aClass114_6584) { + for (int i = 0; i < InterfaceRenderer.players.length; i++) { + if (InterfaceRenderer.players[i] != null) { + InterfaceRenderer.players[i].anIntArray10236 = null; + InterfaceRenderer.players[i].anInt10286 = -1; + } + } + for (int i = 0; NodeSub32.anInt6930 > i; i++) { + DefinitionSub23.aClass348_Sub22Array9319[i].npc.anIntArray10236 = null; + DefinitionSub23.aClass348_Sub22Array9319[i].npc.anInt10286 = -1; + } + NodeSub3.aClass114_6584 = null; + return true; + } + if (Component6.aClass114_4477 == NodeSub3.aClass114_6584) { + int i = Component80.aClass348_Sub49_Sub2_3813.readIntInverseMiddle(255); + int i_134_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + int i_135_ = Component80.aClass348_Sub49_Sub2_3813.readShortAddLittle(-109); + int i_136_ = Component80.aClass348_Sub49_Sub2_3813.readShortAdd(16); + Component141.method2397((byte) -125); + DisplayModeManagerContainer145.method1085(i_136_, i_134_, (byte) -86, i_135_, i); + NodeSub3.aClass114_6584 = null; + return true; + } + if (Component181.aClass114_1540 == NodeSub3.aClass114_6584) { + DisplayModeInfo.aClass227_1055 = PauseTimer.method360((byte) -57, Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255)); + NodeSub3.aClass114_6584 = null; + return true; + } + if (Component71.aClass114_6058 == NodeSub3.aClass114_6584) { + InputStream_Sub2.method128(DisplayModeManagerContainer51.aClass74_2491, (byte) 8); + NodeSub3.aClass114_6584 = null; + return true; + } + if (Component218.aClass114_2331 == NodeSub3.aClass114_6584) { + MenuEntry.ignoreCount = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + for (int i = 0; MenuEntry.ignoreCount > i; i++) { + Component44.ignoreNames[i] = Component80.aClass348_Sub49_Sub2_3813.readString((byte) -36); + DisplayModeManagerContainer145.ignoreDisplayNames[i] = Component80.aClass348_Sub49_Sub2_3813.readString((byte) 112); + if (DisplayModeManagerContainer145.ignoreDisplayNames[i].equals("")) DisplayModeManagerContainer145.ignoreDisplayNames[i] = Component44.ignoreNames[i]; + DefinitionSub21.ignoreLastNames[i] = Component80.aClass348_Sub49_Sub2_3813.readString((byte) 84); + ShaderSub2.ignoreLastDisplayNames[i] = Component80.aClass348_Sub49_Sub2_3813.readString((byte) -111); + if (ShaderSub2.ignoreLastDisplayNames[i].equals("")) ShaderSub2.ignoreLastDisplayNames[i] = DefinitionSub21.ignoreLastNames[i]; + AbstractShaderSub3.ignoreTemporary[i] = false; + } + Component380.anInt4985 = ResourceLoader.anInt3918; + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == Component290.aClass114_2183) { + int i = Component80.aClass348_Sub49_Sub2_3813.readShortAddLittle(-121); + if (i == 65535) i = -1; + String string = Component80.aClass348_Sub49_Sub2_3813.readString((byte) 103); + int i_137_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -91); + int i_138_ = Component80.aClass348_Sub49_Sub2_3813.readByteAdd((byte) 13); + if (i_137_ >= 1 && i_137_ <= 8) { + if (string.equalsIgnoreCase("null")) string = null; + Component252.aStringArray10195[i_137_ + -1] = string; + Canvas_Sub1.anIntArray60[i_137_ + -1] = i; + DisplayModeManagerContainer5.aBooleanArray1214[i_137_ - 1] = i_138_ == 0; + } + NodeSub3.aClass114_6584 = null; + return true; + } + if (Component59.aClass114_1871 == NodeSub3.aClass114_6584) { + int i = Component80.aClass348_Sub49_Sub2_3813.readSmart(-117); + int i_139_ = Component80.aClass348_Sub49_Sub2_3813.readInt((byte) -126); + int i_140_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + String string = ""; + String string_141_ = string; + if ((i_140_ & 0x1) != 0) { + string = Component80.aClass348_Sub49_Sub2_3813.readString((byte) 92); + if ((i_140_ & 0x2) != 0) string_141_ = Component80.aClass348_Sub49_Sub2_3813.readString((byte) 126); + else string_141_ = string; + } + String string_142_ = Component80.aClass348_Sub49_Sub2_3813.readString((byte) -95); + if (i == 99) Applet_Sub1.printConsole(string_142_, -93); + else if (i == 98) Applet_Sub1.set(string_142_); + else { + if (!string_141_.equals("") && StringCache.isOnIgnoreList(string_141_, 28280)) { + NodeSub3.aClass114_6584 = null; + return true; + } + ShaderProgramSub2.method2144(string_141_, i, (byte) -92, i_139_, string_142_, string, string); + } + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == NodeSub45.aClass114_7105) { + int i = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + if (Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) == 0) RadixText.aClass54Array6114[i] = new Component285(); + else { + Component80.aClass348_Sub49_Sub2_3813.offset--; + RadixText.aClass54Array6114[i] = new Component285(Component80.aClass348_Sub49_Sub2_3813); + } + NodeSub3.aClass114_6584 = null; + Component291.anInt2523 = ResourceLoader.anInt3918; + return true; + } + if (NodeSub3.aClass114_6584 == Component338.aClass114_1702) { + int i = Component80.aClass348_Sub49_Sub2_3813.readShort(13638); + int i_143_ = Component80.aClass348_Sub49_Sub2_3813.readIntMiddleEndian((byte) 82); + Component141.method2397((byte) -126); + Component75.method1330(i, -19906, i_143_); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == Component223.aClass114_123) { + int i = Component80.aClass348_Sub49_Sub2_3813.readIntMiddleEndian((byte) 82); + int i_144_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + int i_145_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + if (i_145_ == 65535) i_145_ = -1; + int i_146_ = Component80.aClass348_Sub49_Sub2_3813.readShortAdd(124); + Component141.method2397((byte) -128); + if (i_146_ == 65535) i_146_ = -1; + for (int i_147_ = i_146_; i_145_ >= i_147_; i_147_++) { + long l = ((long) i << 32) - -(long) i_147_; + NodeSub44 class348_sub44 = ((NodeSub44) Component127.aClass356_2959.get(l, -6008)); + NodeSub44 class348_sub44_148_; + if (class348_sub44 == null) { + if (i_147_ == -1) class348_sub44_148_ = (new NodeSub44(BitmapFont.method2570(1512932720, i).aClass348_Sub44_748.anInt7098, i_144_)); + else class348_sub44_148_ = new NodeSub44(0, i_144_); + } else { + class348_sub44_148_ = new NodeSub44((class348_sub44.anInt7098), i_144_); + class348_sub44.unlink((byte) 91); + } + Component127.aClass356_2959.put((byte) 125, l, class348_sub44_148_); + } + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == NodeSub45.aClass114_7106) { + while ((Component80.aClass348_Sub49_Sub2_3813.offset) < DefinitionSub25.anInt9341) { + boolean bool_149_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) == 1; + String string = Component80.aClass348_Sub49_Sub2_3813.readString((byte) -95); + String string_150_ = Component80.aClass348_Sub49_Sub2_3813.readString((byte) 118); + int i = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + int i_151_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + String string_152_ = ""; + boolean bool_153_ = false; + if (i > 0) { + string_152_ = Component80.aClass348_Sub49_Sub2_3813.readString((byte) 119); + bool_153_ = (Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) == 1); + } + for (int i_154_ = 0; (i_154_ < DefinitionSub30.friendCount); i_154_++) { + if (!bool_149_) { + if (string.equals(Component178.friendNames[i_154_])) { + if (i != GraphicsToolkit.friendWorldIds[i_154_]) { + boolean bool_155_ = true; + for (FriendLoginMessage class318_sub9_sub1 = ((FriendLoginMessage) HashNodeSub14.friendLoginMessages.method1872(8)); class318_sub9_sub1 != null; class318_sub9_sub1 = ((FriendLoginMessage) HashNodeSub14.friendLoginMessages.method1878((byte) 124))) { + if (class318_sub9_sub1.username.equals(string)) { + if (i == 0 || (class318_sub9_sub1.worldId != 0)) { + if (i == 0 && (class318_sub9_sub1.worldId) != 0) { + bool_155_ = false; + class318_sub9_sub1.unlink(false); + } + } else { + bool_155_ = false; + class318_sub9_sub1.unlink(false); + } + } + } + if (bool_155_) HashNodeSub14.friendLoginMessages.method1869(-95, new FriendLoginMessage(string, i)); + GraphicsToolkit.friendWorldIds[i_154_] = i; + } + ShaderProgramSub2.friendFormerNames[i_154_] = string_150_; + DebugPanic.friendWorldNames[i_154_] = string_152_; + Component16.friendRanks[i_154_] = i_151_; + string = null; + DisplayModeManagerContainer145.friendReferred[i_154_] = bool_153_; + break; + } + } else if (string_150_.equals(Component178.friendNames[i_154_])) { + Component178.friendNames[i_154_] = string; + ShaderProgramSub2.friendFormerNames[i_154_] = string_150_; + string = null; + break; + } + } + if (string != null && DefinitionSub30.friendCount < 200) { + Component178.friendNames[DefinitionSub30.friendCount] = string; + ShaderProgramSub2.friendFormerNames[(DefinitionSub30.friendCount)] = string_150_; + GraphicsToolkit.friendWorldIds[DefinitionSub30.friendCount] = i; + DebugPanic.friendWorldNames[DefinitionSub30.friendCount] = string_152_; + Component16.friendRanks[DefinitionSub30.friendCount] = i_151_; + DisplayModeManagerContainer145.friendReferred[DefinitionSub30.friendCount] = bool_153_; + DefinitionSub30.friendCount++; + } + } + Component15.anInt4930 = 2; + Component380.anInt4985 = ResourceLoader.anInt3918; + boolean bool_156_ = false; + int i = DefinitionSub30.friendCount; + while (i > 0) { + i--; + bool_156_ = true; + for (int i_157_ = 0; i > i_157_; i_157_++) { + if (((Component223.aClass161_125.anInt2143 != GraphicsToolkit.friendWorldIds[i_157_]) && (GraphicsToolkit.friendWorldIds[i_157_ - -1] == Component223.aClass161_125.anInt2143)) || (GraphicsToolkit.friendWorldIds[i_157_] == 0 && (GraphicsToolkit.friendWorldIds[1 + i_157_] != 0))) { + int i_158_ = GraphicsToolkit.friendWorldIds[i_157_]; + GraphicsToolkit.friendWorldIds[i_157_] = GraphicsToolkit.friendWorldIds[1 + i_157_]; + GraphicsToolkit.friendWorldIds[i_157_ - -1] = i_158_; + String string = DebugPanic.friendWorldNames[i_157_]; + DebugPanic.friendWorldNames[i_157_] = DebugPanic.friendWorldNames[1 + i_157_]; + DebugPanic.friendWorldNames[1 + i_157_] = string; + String string_159_ = Component178.friendNames[i_157_]; + Component178.friendNames[i_157_] = Component178.friendNames[i_157_ + 1]; + Component178.friendNames[i_157_ + 1] = string_159_; + String string_160_ = ShaderProgramSub2.friendFormerNames[i_157_]; + ShaderProgramSub2.friendFormerNames[i_157_] = ShaderProgramSub2.friendFormerNames[i_157_ + 1]; + ShaderProgramSub2.friendFormerNames[i_157_ - -1] = string_160_; + int i_161_ = Component16.friendRanks[i_157_]; + Component16.friendRanks[i_157_] = Component16.friendRanks[1 + i_157_]; + Component16.friendRanks[i_157_ + 1] = i_161_; + boolean bool_162_ = DisplayModeManagerContainer145.friendReferred[i_157_]; + DisplayModeManagerContainer145.friendReferred[i_157_] = DisplayModeManagerContainer145.friendReferred[1 + i_157_]; + bool_156_ = false; + DisplayModeManagerContainer145.friendReferred[i_157_ + 1] = bool_162_; + } + } + if (bool_156_) break; + } + NodeSub3.aClass114_6584 = null; + return true; + } + if (Component317.aClass114_8683 == NodeSub3.aClass114_6584) { + if (Component225.aFrame476 != null) LogicError.method830(Component192.aClass348_Sub51_3959.aClass239_Sub8_7227.method1751(-32350), -1, (byte) 102, false, -1); + byte[] is = new byte[DefinitionSub25.anInt9341]; + Component80.aClass348_Sub49_Sub2_3813.method3409(DefinitionSub25.anInt9341, is, 0, -32769); + String string = WaterShaderSub8.decodeCp1252(is, 0, DefinitionSub25.anInt9341, 0); + BrowserDetector.openBrowserUrl(string, OggUrlStream.aClass297_8992, Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) == 1, true, 99); + NodeSub3.aClass114_6584 = null; + return true; + } + if (WaterShaderSub8.aClass114_7363 == NodeSub3.aClass114_6584) { + int i = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + if (i == 65535) i = -1; + int i_163_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + int i_164_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + int i_165_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + int i_166_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + NodeSub20.method2947(true, i_165_, i, i_163_, i_164_, i_166_); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == Component339.aClass114_3143) { + int i = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + byte i_167_ = Component80.aClass348_Sub49_Sub2_3813.readByte(-83); + DisplayModeManagerContainer58.aClass170_10209.method1313((byte) 42, i_167_, i); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == Component327.aClass114_8756) { + int i = Component80.aClass348_Sub49_Sub2_3813.readShortLittle(false); + if (i == 65535) i = -1; + int i_168_ = Component80.aClass348_Sub49_Sub2_3813.readIntInverseMiddle(255); + Component141.method2397((byte) -127); + Component361.method304(i, 437853543, i_168_); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == Component333.aClass114_3641) { + InputStream_Sub2.method128(NodeSub35.aClass74_6977, (byte) 8); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == SceneManager.aClass114_2860) { + int i = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + if (i == 65535) i = -1; + int i_169_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + int i_170_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + int i_171_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + int i_172_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + AudioLine.method2090(i_169_, i_172_, false, (byte) -35, i_171_, i_170_, i); + NodeSub3.aClass114_6584 = null; + return true; + } + + if (NodeSub3.aClass114_6584 == Component120.aClass114_318) { + DefinitionSub26.method3120(-86); + NodeSub3.aClass114_6584 = null; + return false; + } + if (NodeSub3.aClass114_6584 == Component35.aClass114_4272) { + int i = Component80.aClass348_Sub49_Sub2_3813.readShortAdd(-127); + int i_173_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + Component141.method2397((byte) -128); + Component326.method524(i_173_, true, i, -127); + NodeSub3.aClass114_6584 = null; + return true; + } + if (Component275.aClass114_2693 == NodeSub3.aClass114_6584) { + boolean bool_174_ = (Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) == 1); + String string = Component80.aClass348_Sub49_Sub2_3813.readString((byte) 107); + String string_175_ = string; + if (bool_174_) string_175_ = Component80.aClass348_Sub49_Sub2_3813.readString((byte) -71); + long l = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + long l_176_ = Component80.aClass348_Sub49_Sub2_3813.readMedium(-1); + int i = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + int i_177_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + long l_178_ = l_176_ + (l << 32); + boolean bool_179_ = false; + while_220_: + do { + for (int i_180_ = 0; i_180_ < 100; i_180_++) { + if (l_178_ == Component186.aLongArray4410[i_180_]) { + bool_179_ = true; + break while_220_; + } + } + if (i <= 1 && StringCache.isOnIgnoreList(string_175_, 28280)) bool_179_ = true; + } while (false); + if (!bool_179_ && AudioMixer.anInt3227 == 0) { + Component186.aLongArray4410[NpcComposition.anInt1359] = l_178_; + NpcComposition.anInt1359 = (NpcComposition.anInt1359 - -1) % 100; + String string_181_ = (Component31.aClass355_5900.method3471(i_177_, (byte) -93).method3216(Component80.aClass348_Sub49_Sub2_3813, (byte) 62)); + if (i == 2) DisplayModeManagerContainer174.method2477("" + string_175_, string_181_, (byte) -110, i_177_, "" + string, null, 18, 0, string); + else if (i == 1) DisplayModeManagerContainer174.method2477("" + string_175_, string_181_, (byte) -112, i_177_, "" + string, null, 18, 0, string); + else DisplayModeManagerContainer174.method2477(string_175_, string_181_, (byte) -118, i_177_, string, null, 18, 0, string); + } + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == WaterShader.aClass114_7367) { + int i = Component80.aClass348_Sub49_Sub2_3813.readShortLittle(false); + int i_182_ = Component80.aClass348_Sub49_Sub2_3813.readIntLittle((byte) -122); + int i_183_ = Component80.aClass348_Sub49_Sub2_3813.readByteAdd((byte) -95); + Component141.method2397((byte) -125); + NodeSub41 class348_sub41 = ((NodeSub41) Component15.aClass356_4915.get(i_182_, -6008)); + if (class348_sub41 != null) Component162.method1118(i != (class348_sub41.anInt7050), false, class348_sub41, 2533); + Component103.method2661(i, i_182_, i_183_, false, 2); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == Component162.aClass114_8384) { + NodeSub3.aClass114_6584 = null; + Component15.anInt4930 = 1; + Component380.anInt4985 = ResourceLoader.anInt3918; + return true; + } + if (NodeSub3.aClass114_6584 == Component218.aClass114_2335) { + Component141.method2397((byte) -125); + Component59.method1122(0); + NodeSub3.aClass114_6584 = null; + return true; + } + if (Component354.aClass114_220 == NodeSub3.aClass114_6584) { + int i = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + int i_184_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + int i_185_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + Component141.method2397((byte) -125); + if (DefinitionSub33.aClass46ArrayArray9427[i] != null) { + for (int i_186_ = i_184_; i_185_ > i_186_; i_186_++) { + int i_187_ = Component80.aClass348_Sub49_Sub2_3813.readMedium(-1); + if ((DefinitionSub33.aClass46ArrayArray9427[i]).length > i_186_ && (DefinitionSub33.aClass46ArrayArray9427[i][i_186_]) != null) DefinitionSub33.aClass46ArrayArray9427[i][i_186_].anInt732 = i_187_; + } + } + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == Component329.aClass114_5992) { + InputStream_Sub2.method128(DisplayModeManagerContainer232.aClass74_4689, (byte) 8); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub38.aClass114_7015 == NodeSub3.aClass114_6584) { + GradientPreset.anInt9200 = Component80.aClass348_Sub49_Sub2_3813.readByteAdd((byte) 126); + DisplayModeManagerContainer306.anInt4786 = (Component80.aClass348_Sub49_Sub2_3813.readByteInverse(-622951480) << 3); + DisplayModeManagerContainer347.anInt3581 = (Component80.aClass348_Sub49_Sub2_3813.readByteInverse(-622951480) << 3); + for (NodeSub37 class348_sub37 = (NodeSub37) Component387.aClass356_1895.first(0); class348_sub37 != null; class348_sub37 = ((NodeSub37) Component387.aClass356_1895.next(0))) { + int i = (int) ((class348_sub37.key >> 28) & 0x3L); + int i_188_ = (int) (class348_sub37.key & 0x3fffL); + int i_189_ = i_188_ + -NodeBaseSub2.regionTileX; + int i_190_ = (int) (0x3fffL & (class348_sub37.key >> 14)); + int i_191_ = -Component330.regionTileY + i_190_; + if (i == GradientPreset.anInt9200 && DisplayModeManagerContainer347.anInt3581 <= i_189_ && 8 + DisplayModeManagerContainer347.anInt3581 > i_189_ && DisplayModeManagerContainer306.anInt4786 <= i_191_ && DisplayModeManagerContainer306.anInt4786 - -8 > i_191_) { + class348_sub37.unlink((byte) 89); + if (i_189_ >= 0 && i_191_ >= 0 && i_189_ < AbstractShaderSub4.anInt7319 && (i_191_ < ParametricDefinition.anInt9109)) DisplayModeManagerContainer351.method1479(i_191_, (byte) -118, i_189_, GradientPreset.anInt9200); + } + } + for (NodeSub27 class348_sub27 = ((NodeSub27) HashNodeSub20.aClass262_9711.first(4)); class348_sub27 != null; class348_sub27 = (NodeSub27) HashNodeSub20.aClass262_9711.next((byte) 31)) { + if ((DisplayModeManagerContainer347.anInt3581 <= class348_sub27.anInt6905) && (class348_sub27.anInt6905 < DisplayModeManagerContainer347.anInt3581 - -8) && (class348_sub27.anInt6896 >= DisplayModeManagerContainer306.anInt4786) && (class348_sub27.anInt6896 < DisplayModeManagerContainer306.anInt4786 + 8) && (class348_sub27.anInt6899 == GradientPreset.anInt9200)) + class348_sub27.anInt6893 = 0; + } + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == DisplayModeManagerContainer341.aClass114_5997) { + int i = Component80.aClass348_Sub49_Sub2_3813.readByteInverse((byte) 21); + int[] is = new int[4]; + for (int i_192_ = 0; i_192_ < 4; i_192_++) + is[i_192_] = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + int i_193_ = Component80.aClass348_Sub49_Sub2_3813.readShortLittle(false); + NodeSub22 class348_sub22 = ((NodeSub22) Component21.aClass356_3654.get(i_193_, -6008)); + if (class348_sub22 != null) NpcDefinition.method2931(i, (byte) 110, is, (class348_sub22.npc)); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == DefinitionSub22.aClass114_9285) { + Component293.anInt3306 = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + NodeSub3.aClass114_6584 = null; + return true; + } + if (DefinitionSub24.aClass114_9324 == NodeSub3.aClass114_6584) { + int i = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -104); + int i_194_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -92); + int i_195_ = Component80.aClass348_Sub49_Sub2_3813.readShortAddLittle(-127); + if (i_195_ == 65535) i_195_ = -1; + DisplayModeManagerContainer346.method1212(i_194_, i_195_, -1, i); + NodeSub3.aClass114_6584 = null; + return true; + } + if (Component236.aClass114_4015 == NodeSub3.aClass114_6584) { + int i = Component80.aClass348_Sub49_Sub2_3813.readMediumLittle(-13309); + int i_196_ = Component80.aClass348_Sub49_Sub2_3813.readShortAddLittle(-124); + if (i_196_ == 65535) i_196_ = -1; + int i_197_ = Component80.aClass348_Sub49_Sub2_3813.readByteInverse((byte) 21); + DisplayModeManagerContainer249.method1352(i_196_, i_197_, i, (byte) -98); + NodeSub3.aClass114_6584 = null; + return true; + } + if (GradientPreset.aClass114_9197 == NodeSub3.aClass114_6584) { + String string = Component80.aClass348_Sub49_Sub2_3813.readString((byte) -43); + String string_198_ = Component317.escapeAngleBrackets((DefinitionSub32.method3136((byte) 64, (Component80.aClass348_Sub49_Sub2_3813))), 23034); + ShaderProgramSub2.method2144(string, 6, (byte) -101, 0, string_198_, string, string); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == Component162.aClass114_8385) { + int i = Component80.aClass348_Sub49_Sub2_3813.readIntLittle((byte) -124); + String string = Component80.aClass348_Sub49_Sub2_3813.readString((byte) -97); + Component141.method2397((byte) -125); + Component372.method1803(i, string, -32394); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == RadixParser.aClass114_2305) { + int i = Component80.aClass348_Sub49_Sub2_3813.readIntMiddleEndian((byte) 82); + int i_199_ = Component80.aClass348_Sub49_Sub2_3813.readIntInverseMiddle(255); + int i_200_ = Component80.aClass348_Sub49_Sub2_3813.readShortLittle(false); + Component141.method2397((byte) -126); + SocketStream.method1703(5, i, i_200_, 4, i_199_); + NodeSub3.aClass114_6584 = null; + return true; + } + if (Component63.aClass114_4500 == NodeSub3.aClass114_6584) { + boolean bool_201_ = (Component80.aClass348_Sub49_Sub2_3813.readByteInverse((byte) 21) == 1); + Component141.method2397((byte) -124); + DisplayModeManagerContainer145.aBoolean1801 = bool_201_; + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == DisplayModeManagerContainer213.aClass114_1068) { + DisplayModeManagerContainer259.method2038(-103); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub1Sub2.aClass114_8817 == NodeSub3.aClass114_6584) { + NodeBase.anInt7276 = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) 69); + Component200.anInt3713 = Component80.aClass348_Sub49_Sub2_3813.readByteAdd((byte) -82); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == DefinitionSub19.aClass114_9257) { + int i = Component80.aClass348_Sub49_Sub2_3813.readByteInverse((byte) 21); + int i_202_ = Component80.aClass348_Sub49_Sub2_3813.readShortAdd(127); + Component141.method2397((byte) -125); + if (i == 2) DisplayModeManagerContainer273.method1134(92); + r.anInt9721 = i_202_; + NodeSub7.method2772(i_202_, (byte) 123); + Component339.method1713(false, 520); + ClientScriptExecutor.runInterfaceScripts(r.anInt9721); + for (int i_203_ = 0; i_203_ < 100; i_203_++) + InflaterDecompressor.aBooleanArray2076[i_203_] = true; + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == Component92.aClass114_3307) { + if (!CacheFileStore.isReconnectState(Component49.clientState, -105)) Component156.anInt3699 = (Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944) * 30); + else Component156.anInt3699 = (int) ((float) Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944) * 2.5F); + DefinitionSub23.anInt9313 = ResourceLoader.anInt3918; + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == RenderableObject.aClass114_6383) { + int i = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + if (i == 65535) i = -1; + int i_204_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + int i_205_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + int i_206_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + AudioLine.method2090(i_204_, 256, true, (byte) -35, i_206_, i_205_, i); + NodeSub3.aClass114_6584 = null; + return true; + } + if (ShaderLinker.aClass114_10149 == NodeSub3.aClass114_6584) { + int i = Component80.aClass348_Sub49_Sub2_3813.readShortAdd(-16); + if (i == 65535) i = -1; + int i_207_ = Component80.aClass348_Sub49_Sub2_3813.readIntMiddleEndian((byte) 82); + Component141.method2397((byte) -125); + SocketStream.method1703(1, i_207_, i, 4, -1); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == DisplayModeManagerContainer32.aClass114_843) { + InputStream_Sub2.method128(GnpPositionLogger.aClass74_1519, (byte) 8); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == Component323.aClass114_5883) { + int i = Component80.aClass348_Sub49_Sub2_3813.readShortAdd(125); + if (i == 65535) i = -1; + int i_208_ = Component80.aClass348_Sub49_Sub2_3813.readShortLittle(false); + if (i_208_ == 65535) i_208_ = -1; + int i_209_ = Component80.aClass348_Sub49_Sub2_3813.readInt((byte) -126); + int i_210_ = Component80.aClass348_Sub49_Sub2_3813.readIntInverseMiddle(255); + Component141.method2397((byte) -127); + for (int i_211_ = i_208_; i_211_ <= i; i_211_++) { + long l = (long) i_211_ + ((long) i_209_ << 32); + NodeSub44 class348_sub44 = ((NodeSub44) Component127.aClass356_2959.get(l, -6008)); + NodeSub44 class348_sub44_212_; + if (class348_sub44 != null) { + class348_sub44_212_ = new NodeSub44(i_210_, (class348_sub44.anInt7093)); + class348_sub44.unlink((byte) 80); + } else if (i_211_ == -1) class348_sub44_212_ = (new NodeSub44(i_210_, BitmapFont.method2570(1512932720, i_209_).aClass348_Sub44_748.anInt7093)); + else class348_sub44_212_ = new NodeSub44(i_210_, -1); + Component127.aClass356_2959.put((byte) 114, l, class348_sub44_212_); + } + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == DisplayModeManagerContainer346.aClass114_2068) { + int i = Component80.aClass348_Sub49_Sub2_3813.readShortAdd(-103); + int i_213_ = Component80.aClass348_Sub49_Sub2_3813.readIntInverseMiddle(255); + DisplayModeManagerContainer58.aClass170_10209.method1316((byte) -124, i, i_213_); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == Component219.aClass114_6340) { + Component80.aClass348_Sub49_Sub2_3813.offset += 28; + if (Component80.aClass348_Sub49_Sub2_3813.checkCrc(-25541)) BrowserDetector.method1365((Component80.aClass348_Sub49_Sub2_3813.offset) + -28, (byte) -126, Component80.aClass348_Sub49_Sub2_3813); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == DisplayModeManagerContainer167.aClass114_250) { + DisplayModeManagerContainer74.anInt4816 = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + DefinitionSub23.anInt9313 = ResourceLoader.anInt3918; + NodeSub3.aClass114_6584 = null; + return true; + } + if (Component316.aClass114_2483 == NodeSub3.aClass114_6584) { + int i = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) 20); + int i_214_ = Component80.aClass348_Sub49_Sub2_3813.readByteInverse((byte) 21); + int i_215_ = Component80.aClass348_Sub49_Sub2_3813.readIntMiddleEndian((byte) 82); + DisplayModeManagerContainer51.anIntArray2497[i_214_] = i_215_; + DisplayModeManagerContainer254.anIntArray2145[i_214_] = i; + Component52.anIntArray3295[i_214_] = 1; + int i_216_ = OutputStream_Sub1.anIntArray100[i_214_] + -1; + for (int i_217_ = 0; i_216_ > i_217_; i_217_++) { + if (DisplayModeManagerContainer34.anIntArray8663[i_217_] <= i_215_) Component52.anIntArray3295[i_214_] = i_217_ - -2; + } + HelveticaFont.anIntArray2632[GpsOverlay.bitwiseAnd(31, Component311.anInt4086++)] = i_214_; + NodeSub3.aClass114_6584 = null; + return true; + } + if (Component248.aClass114_315 == NodeSub3.aClass114_6584) { + InputStream_Sub2.method128(DisplayModeManagerContainer133.aClass74_2157, (byte) 8); + NodeSub3.aClass114_6584 = null; + return true; + } + if (DisplayModeManagerContainer332.aClass114_4998 == NodeSub3.aClass114_6584) { + int i = Component80.aClass348_Sub49_Sub2_3813.readShortAdd(10); + int i_218_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) 70); + boolean bool_219_ = (0x1 & i_218_) == 1; + ParametricDefinition.method3054(bool_219_, i, -128); + HelveticaFont.anIntArray2633[GpsOverlay.bitwiseAnd(31, KeyStoreLoader.anInt1631++)] = i; + NodeSub3.aClass114_6584 = null; + return true; + } + if (ToolbarRefreshDefinition.aClass114_9225 == NodeSub3.aClass114_6584) { + int i = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + int i_220_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + boolean bool_221_ = (i_220_ & 0x1) == 1; + while ((Component80.aClass348_Sub49_Sub2_3813.offset) < DefinitionSub25.anInt9341) { + int i_222_ = Component80.aClass348_Sub49_Sub2_3813.readSmart(-125); + int i_223_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + int i_224_ = 0; + if (i_223_ != 0) { + i_224_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + if (i_224_ == 255) i_224_ = Component80.aClass348_Sub49_Sub2_3813.readInt((byte) -126); + } + Canvas_Sub1.setContainerSlot(i, -364570972, bool_221_, i_222_, i_224_, -1 + i_223_); + } + HelveticaFont.anIntArray2633[GpsOverlay.bitwiseAnd(31, KeyStoreLoader.anInt1631++)] = i; + NodeSub3.aClass114_6584 = null; + return true; + } + if (LibraryCreditsText.aClass114_5950 == NodeSub3.aClass114_6584) { + int i = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -113); + int i_225_ = Component80.aClass348_Sub49_Sub2_3813.readByteAdd((byte) 127); + if (i == 255) { + i_225_ = -1; + i = -1; + } + Component256.method1825(120, i_225_, i); + NodeSub3.aClass114_6584 = null; + return true; + } + if (OpenGlShader.aClass114_7398 == NodeSub3.aClass114_6584) { + int i = Component80.aClass348_Sub49_Sub2_3813.readIntLittle((byte) -124); + int i_226_ = Component80.aClass348_Sub49_Sub2_3813.readShortLittle(false); + Component141.method2397((byte) -124); + DisplayModeManagerContainer368.method467(i_226_, -18075, i); + NodeSub3.aClass114_6584 = null; + return true; + } + if (Component246.aClass114_2717 == NodeSub3.aClass114_6584) { + GnpPositionLogger.method856((byte) 63); + NodeSub3.aClass114_6584 = null; + return true; + } + if (AbstractShaderSub3.aClass114_7301 == NodeSub3.aClass114_6584) { + boolean bool_227_ = (Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) == 1); + String string = Component80.aClass348_Sub49_Sub2_3813.readString((byte) 89); + String string_228_ = string; + if (bool_227_) string_228_ = Component80.aClass348_Sub49_Sub2_3813.readString((byte) 98); + int i = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + int i_229_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + boolean bool_230_ = false; + if (i <= 1 && StringCache.isOnIgnoreList(string_228_, 28280)) bool_230_ = true; + if (!bool_230_ && AudioMixer.anInt3227 == 0) { + String string_231_ = (Component31.aClass355_5900.method3471(i_229_, (byte) -108).method3216(Component80.aClass348_Sub49_Sub2_3813, (byte) 93)); + if (i == 2) DisplayModeManagerContainer174.method2477("" + string_228_, string_231_, (byte) -127, i_229_, "" + string, null, 25, 0, string); + else if (i != 1) DisplayModeManagerContainer174.method2477(string_228_, string_231_, (byte) -119, i_229_, string, null, 25, 0, string); + else DisplayModeManagerContainer174.method2477("" + string_228_, string_231_, (byte) -125, i_229_, "" + string, null, 25, 0, string); + } + NodeSub3.aClass114_6584 = null; + return true; + } + if (Component211.aClass114_1959 == NodeSub3.aClass114_6584) { + int i = Component80.aClass348_Sub49_Sub2_3813.readIntInverseMiddle(255); + int i_232_ = Component80.aClass348_Sub49_Sub2_3813.readShortAdd(-110); + Component141.method2397((byte) -124); + DisplayModeManagerContainer207.method3411(i, 12, i_232_); + NodeSub3.aClass114_6584 = null; + return true; + } + if (NodeSub3.aClass114_6584 == Component135.aClass114_4421) { + GameType.anInt2986 = ResourceLoader.anInt3918; + if (DefinitionSub25.anInt9341 == 0) { + NameFormatter.anInt496 = 0; + Component47.aString863 = null; + RequestProcessor.aClass19Array2261 = null; + NodeSub21.aString6854 = null; + NodeSub3.aClass114_6584 = null; + return true; + } + NodeSub21.aString6854 = Component80.aClass348_Sub49_Sub2_3813.readString((byte) -112); + boolean bool_233_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) == 1; + if (bool_233_) Component80.aClass348_Sub49_Sub2_3813.readString((byte) 108); + long l = Component80.aClass348_Sub49_Sub2_3813.readLong(-456577760); + Component47.aString863 = DisplayModeManagerContainer91.method313(l, -104); + Component386.aByte2871 = Component80.aClass348_Sub49_Sub2_3813.readByte(-90); + int i = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + if (i == 255) { + NodeSub3.aClass114_6584 = null; + return true; + } + NameFormatter.anInt496 = i; + Component248[] class19s = new Component248[100]; + for (int i_234_ = 0; NameFormatter.anInt496 > i_234_; i_234_++) { + class19s[i_234_] = new Component248(); + class19s[i_234_].aString314 = Component80.aClass348_Sub49_Sub2_3813.readString((byte) 103); + bool_233_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) == 1; + if (!bool_233_) class19s[i_234_].aString306 = class19s[i_234_].aString314; + else class19s[i_234_].aString306 = Component80.aClass348_Sub49_Sub2_3813.readString((byte) 107); + class19s[i_234_].aString312 = DebugPanicSub1.method2127(2, (class19s[i_234_].aString306)); + class19s[i_234_].anInt308 = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + class19s[i_234_].aByte310 = Component80.aClass348_Sub49_Sub2_3813.readByte(-118); + class19s[i_234_].aString313 = Component80.aClass348_Sub49_Sub2_3813.readString((byte) -124); + if (class19s[i_234_].aString306.equals(Component72.localPlayer.username)) DisplayModeManagerContainer96.aByte4702 = class19s[i_234_].aByte310; + } + boolean bool_235_ = false; + int i_236_ = NameFormatter.anInt496; + while (i_236_ > 0) { + i_236_--; + bool_235_ = true; + for (int i_237_ = 0; i_236_ > i_237_; i_237_++) { + if ((class19s[i_237_].aString312.compareTo(class19s[1 + i_237_].aString312)) > 0) { + Component248 class19 = class19s[i_237_]; + class19s[i_237_] = class19s[i_237_ - -1]; + class19s[1 + i_237_] = class19; + bool_235_ = false; + } + } + if (bool_235_) break; + } + RequestProcessor.aClass19Array2261 = class19s; + NodeSub3.aClass114_6584 = null; + return true; + } + ClientErrorReporter.reportError(("T1 - " + (NodeSub3.aClass114_6584 == null ? -1 : NodeSub3.aClass114_6584.method1058((byte) 110)) + "," + (Component339.aClass114_3145 == null ? -1 : Component339.aClass114_3145.method1058((byte) 127)) + "," + (DefinitionSub36.aClass114_9456 == null ? -1 : DefinitionSub36.aClass114_9456.method1058((byte) 125)) + " - " + DefinitionSub25.anInt9341), null, 15004); + LoggedOutDefinition.disconnectAndReset(false, (byte) 11); + return true; + } + + public static void method3202(byte i) { + currentGameType = null; + if (i > 38) { + aLongArrayArrayArray10431 = null; + aClass76_10436 = null; + aClass74_10437 = null; + } + } + + final Object getValue(int i) { + anInt10435++; + if (i < 75) getValue(-128); + return anObject10429; + } +} diff --git a/client/net/socket/Connection.java b/client/net/socket/Connection.java new file mode 100644 index 000000000..dd274089c --- /dev/null +++ b/client/net/socket/Connection.java @@ -0,0 +1,233 @@ +/* Connection - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class202` (JODE-obfuscated). + * Async socket writer ({@link Runnable}) plus blocking {@link #read}/{@link #readFully}/{@link #write}. + * {@link #detachStreams} swaps real streams for dummies; {@link #close} joins the writer thread. + */ + +import java.io.EOFException; +import java.io.IOException; +import java.io.InputStream; +import java.io.OutputStream; +import java.net.Socket; + +final class Connection implements Runnable { + static int anInt2646; + static int anInt2647; + private int writePos = 0; + private final ReflectionInvoker invoker; + static int anInt2650; + static int anInt2651; + private InputStream inputStream; + static int anInt2653; + private boolean closed = false; + static int anInt2655; + private int readPos = 0; + private OutputStream outputStream; + private Task writeTask; + private boolean writeFailed = false; + static int anInt2660; + static StringCache aClass351_2661 = new StringCache(24, 7); + static int anInt2662; + private byte[] writeBuffer; + static int anInt2664; + static Component183 aClass114_2665 = new Component183(12, 0); + static int anInt2666; + static int anInt2667; + private final Socket socket; + private final int capacity; + /** Affiliate id from applet {@code affid} (URL {@code /a=}). */ + static int affiliateId = 0; + static NodeCache aClass60_2671 = new NodeCache(10); + + final int available(byte i) throws IOException { + anInt2651++; + if (i != 83) aClass114_2665 = null; + if (closed) return 0; + return inputStream.available(); + } + + /** Replace real streams with discard stubs (keep socket open). */ + final void detachStreams(int i) { + anInt2667++; + if (!closed) { + if (i < 63) outputStream = null; + inputStream = new InputStream_Sub2(); + outputStream = new OutputStream_Sub2(); + } + } + + static final void method1469(int i) { + anInt2662++; + ShaderProgram.anInt3682 = 0; + ColoredText.anInt6095 = 0; + int i_0_ = 29 % ((-42 - i) / 63); + for (int i_1_ = 0; AudioMixer.anInt3225 > i_1_; i_1_++) { + int i_2_ = Component82.anInt425 * i_1_; + for (int i_3_ = 0; i_3_ < Component82.anInt425; i_3_++) { + int i_4_ = i_2_ - -i_3_; + DisplayModeManagerContainer23.anInterface4Array1525[i_4_].method15(i_3_ * Component255.anInt1067, i_1_ * AbstractBuffer.anInt4267, Component255.anInt1067, AbstractBuffer.anInt4267, 0, 0, true, true); + } + } + } + + final void write(byte[] is, int i, int i_5_, int i_6_) throws IOException { + anInt2655++; + if (!closed) { + if (writeFailed) { + writeFailed = false; + throw new IOException(); + } + if (writeBuffer == null) writeBuffer = new byte[capacity]; + synchronized (this) { + if (i_6_ == -1) { + for (int i_7_ = 0; i_7_ < i; i_7_++) { + writeBuffer[writePos] = is[i_7_ + i_5_]; + writePos = (writePos - -1) % capacity; + if (writePos == (readPos - (-capacity - -100)) % capacity) throw new IOException(); + } + if (writeTask == null) writeTask = invoker.startThread(this, -10240, 3); + this.notifyAll(); + } else { + /* empty */ + } + } + } + } + + public static void method1471(byte i) { + if (i >= 80) { + aClass60_2671 = null; + aClass114_2665 = null; + aClass351_2661 = null; + } + } + + final void checkError(boolean bool) throws IOException { + anInt2650++; + if (bool == true && !closed) { + if (writeFailed) { + writeFailed = false; + throw new IOException(); + } + } + } + + final int read(int i) throws IOException { + anInt2647++; + if (closed) return 0; + if (i != 0) return 38; + return inputStream.read(); + } + + public final void run() { + try { + for (; ; ) { + int i; + int i_8_; + synchronized (this) { + if (writePos == readPos) { + if (closed) break; + try { + this.wait(); + } catch (InterruptedException interruptedexception) { + /* empty */ + } + } + i = readPos; + if (readPos > writePos) i_8_ = capacity - readPos; + else i_8_ = -readPos + writePos; + } + if (i_8_ > 0) { + try { + outputStream.write(writeBuffer, i, i_8_); + } catch (IOException ioexception) { + writeFailed = true; + } + readPos = (i_8_ + readPos) % capacity; + try { + if (writePos == readPos) outputStream.flush(); + } catch (IOException ioexception) { + writeFailed = true; + } + } + } + try { + if (inputStream != null) inputStream.close(); + if (outputStream != null) outputStream.close(); + if (socket != null) socket.close(); + } catch (IOException ioexception) { + /* empty */ + } + writeBuffer = null; + } catch (Exception exception) { + ClientErrorReporter.reportError(null, exception, 15004); + } + anInt2664++; + } + + /** Read exactly {@code i_10_} bytes into {@code is} at {@code i}. */ + final void readFully(byte[] is, int i, byte i_9_, int i_10_) throws IOException { + anInt2666++; + if (!closed) { + while (i_10_ > 0) { + int i_11_ = inputStream.read(is, i, i_10_); + if (i_11_ <= 0) throw new EOFException(); + i_10_ -= i_11_; + i += i_11_; + } + if (i_9_ != -72) run(); + } + } + + static final boolean method1475(byte i, int i_12_, int i_13_) { + anInt2653++; + if (i > -95) method1469(-48); + return (ShaderProgramSub9.method2174((byte) -115, i_13_, i_12_) & CacheIndexReader.hasFlag0x800(i_12_, (byte) -72, i_13_)); + } + + protected final void finalize() { + anInt2646++; + close((byte) -126); + } + + /** Signal writer thread to exit and join it. */ + final void close(byte i) { + anInt2660++; + if (!closed) { + synchronized (this) { + closed = true; + if (i > -120) close((byte) -105); + this.notifyAll(); + } + if (writeTask != null) { + while (writeTask.status == 0) SpriteAtlasShader.sleep((byte) 105, 1L); + if (writeTask.status == 1) { + try { + ((Thread) writeTask.result).join(); + } catch (InterruptedException interruptedexception) { + /* empty */ + } + } + } + writeTask = null; + } + } + + Connection(Socket socket, ReflectionInvoker class297, int i) throws IOException { + try { + this.socket = socket; + invoker = class297; + socket.setSoTimeout(30000); + socket.setTcpNoDelay(true); + inputStream = socket.getInputStream(); + outputStream = socket.getOutputStream(); + capacity = i; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("re.(" + (socket != null ? "{...}" : "null") + ',' + (class297 != null ? "{...}" : "null") + ',' + i + ')')); + } + } +} diff --git a/client/net/socket/DirectSocketConnector.java b/client/net/socket/DirectSocketConnector.java new file mode 100644 index 000000000..c9c7d303d --- /dev/null +++ b/client/net/socket/DirectSocketConnector.java @@ -0,0 +1,22 @@ +/* DirectSocketConnector - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class272_Sub1` (JODE-obfuscated). + * Plain (direct) socket connector. extends SocketConnector; connect(int) returns a raw `new Socket` with no proxy. + */ + +import java.io.IOException; +import java.net.Socket; + +final class DirectSocketConnector extends SocketConnector { + final Socket connect(int i) throws IOException { + if (i > -100) return null; + return this.openSocket((byte) 87); + } + + public DirectSocketConnector() { + /* empty */ + } +} diff --git a/client/net/socket/InputStream_Sub1.java b/client/net/socket/InputStream_Sub1.java new file mode 100644 index 000000000..adf955cb9 --- /dev/null +++ b/client/net/socket/InputStream_Sub1.java @@ -0,0 +1,129 @@ +/* InputStream_Sub1 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.io.InputStream; + +final class InputStream_Sub1 extends InputStream { + static int anInt71; + static int anInt72; + static int anInt73; + static int anInt74; + static long[][] aLongArrayArray75; + static long[] aLongArray76 = new long[11]; + static StringCache aClass351_77; + static int anInt78; + static Component183 aClass114_79; + + public static void method124(int i) { + aLongArrayArray75 = null; + if (i == 2) { + aClass351_77 = null; + aLongArray76 = null; + aClass114_79 = null; + } + } + + static final boolean method125(int i, int i_0_, int i_1_, Component269 class318_sub1_sub4, byte i_2_) { + anInt72++; + if (!DefinitionSub23.aBoolean9307 || !Component234.aBoolean351) return false; + if (Component241.occludedPixelCount < 100) return false; + if (!ShaderSub2.method164(i_1_, i_0_, (byte) -97, i)) return false; + int i_3_ = i_0_ << Component149.anInt4459; + int i_4_ = i << Component149.anInt4459; + if (i_2_ != 120) return false; + int i_5_ = -1 + ShaderSub1.aSArray5191[i_1_].method3982((byte) -86, i, i_0_); + int i_6_ = i_5_ + class318_sub1_sub4.method2394(true); + if (class318_sub1_sub4.aShort8759 == 1) { + if (!ShaderProgramSub7.method2169(i_3_, i_3_, i_4_, i_3_, Component148.anInt3465 + i_4_, i_6_, i_6_, i_5_, i_4_, false)) return false; + if (!ShaderProgramSub7.method2169(i_3_, i_3_, i_4_, i_3_, Component148.anInt3465 + i_4_, i_5_, i_6_, i_5_, i_4_ + Component148.anInt3465, false)) return false; + Component274.occludedWallCount++; + return true; + } + if (class318_sub1_sub4.aShort8759 == 2) { + if (!ShaderProgramSub7.method2169(i_3_, i_3_ - -Component148.anInt3465, i_4_ - -Component148.anInt3465, i_3_, Component148.anInt3465 + i_4_, i_6_, i_6_, i_5_, i_4_ - -Component148.anInt3465, false)) return false; + if (!ShaderProgramSub7.method2169(i_3_, Component148.anInt3465 + i_3_, i_4_ + Component148.anInt3465, Component148.anInt3465 + i_3_, Component148.anInt3465 + i_4_, i_6_, i_5_, i_5_, i_4_ - -Component148.anInt3465, false)) return false; + Component274.occludedWallCount++; + return true; + } + if (class318_sub1_sub4.aShort8759 == 4) { + if (!ShaderProgramSub7.method2169(i_3_ + Component148.anInt3465, Component148.anInt3465 + i_3_, i_4_, Component148.anInt3465 + i_3_, i_4_ - -Component148.anInt3465, i_6_, i_6_, i_5_, i_4_, false)) return false; + if (!ShaderProgramSub7.method2169(i_3_ + Component148.anInt3465, i_3_ - -Component148.anInt3465, i_4_, Component148.anInt3465 + i_3_, i_4_ - -Component148.anInt3465, i_5_, i_6_, i_5_, Component148.anInt3465 + i_4_, false)) return false; + Component274.occludedWallCount++; + return true; + } + if (class318_sub1_sub4.aShort8759 == 8) { + if (!ShaderProgramSub7.method2169(i_3_, Component148.anInt3465 + i_3_, i_4_, i_3_, i_4_, i_6_, i_6_, i_5_, i_4_, false)) return false; + if (!ShaderProgramSub7.method2169(i_3_, i_3_ + Component148.anInt3465, i_4_, Component148.anInt3465 + i_3_, i_4_, i_6_, i_5_, i_5_, i_4_, false)) return false; + Component274.occludedWallCount++; + return true; + } + if (class318_sub1_sub4.aShort8759 == 16) { + if (!Component221.method1084(i_6_, DisplayModeManagerContainer64.anInt9037, DisplayModeManagerContainer64.anInt9037 + i_4_, i_3_, i_5_, DisplayModeManagerContainer64.anInt9037, 18507)) return false; + Component274.occludedWallCount++; + return true; + } + if (class318_sub1_sub4.aShort8759 == 32) { + if (!Component221.method1084(i_6_, DisplayModeManagerContainer64.anInt9037, DisplayModeManagerContainer64.anInt9037 + i_4_, i_3_ + DisplayModeManagerContainer64.anInt9037, i_5_, DisplayModeManagerContainer64.anInt9037, 18507)) return false; + Component274.occludedWallCount++; + return true; + } + if (class318_sub1_sub4.aShort8759 == 64) { + if (!Component221.method1084(i_6_, DisplayModeManagerContainer64.anInt9037, i_4_, DisplayModeManagerContainer64.anInt9037 + i_3_, i_5_, DisplayModeManagerContainer64.anInt9037, 18507)) return false; + Component274.occludedWallCount++; + return true; + } + if (class318_sub1_sub4.aShort8759 == 128) { + if (!Component221.method1084(i_6_, DisplayModeManagerContainer64.anInt9037, i_4_, i_3_, i_5_, DisplayModeManagerContainer64.anInt9037, 18507)) return false; + Component274.occludedWallCount++; + return true; + } + return true; + } + + public final int read() { + anInt74++; + SpriteAtlasShader.sleep((byte) 31, 30000L); + return -1; + } + + static final void method126(int i) { + DisplayModeManagerContainer58.method2433(); + anInt73++; + for (int i_7_ = 0; i_7_ < 4; i_7_++) + NodeSub45.aClass361Array7108[i_7_].method3500(700); + if (i != -16203) method125(125, -95, 109, null, (byte) -52); + Component308.method464(-1); + NodeSub18.method2938((byte) 98); + Component205.method1772(28); + System.gc(); + NodeSub8.toolkit.NativeHandle(); + } + + static { + aLongArrayArray75 = new long[8][256]; + for (int i = 0; i < 256; i++) { + int i_8_ = "\u1823\uc6e8\u87b8\u014f\u36a6\ud2f5\u796f\u9152\u60bc\u9b8e\ua30c\u7b35\u1de0\ud7c2\u2e4b\ufe57\u1577\u37e5\u9ff0\u4ada\u58c9\u290a\ub1a0\u6b85\ubd5d\u10f4\ucb3e\u0567\ue427\u418b\ua77d\u95d8\ufbee\u7c66\udd17\u479e\uca2d\ubf07\uad5a\u8333\u6302\uaa71\uc819\u49d9\uf2e3\u5b88\u9a26\u32b0\ue90f\ud580\ubecd\u3448\uff7a\u905f\u2068\u1aae\ub454\u9322\u64f1\u7312\u4008\uc3ec\udba1\u8d3d\u9700\ucf2b\u7682\ud61b\ub5af\u6a50\u45f3\u30ef\u3f55\ua2ea\u65ba\u2fc0\ude1c\ufd4d\u9275\u068a\ub2e6\u0e1f\u62d4\ua896\uf9c5\u2559\u8472\u394c\u5e78\u388c\ud1a5\ue261\ub321\u9c1e\u43c7\ufc04\u5199\u6d0d\ufadf\u7e24\u3bab\uce11\u8f4e\ub7eb\u3c81\u94f7\ub913\u2cd3\ue76e\uc403\u5644\u7fa9\u2abb\uc153\udc0b\u9d6c\u3174\uf646\uac89\u14e1\u163a\u6909\u70b6\ud0ed\ucc42\u98a4\u285c\uf886".charAt(i / 2); + long l = (i & 0x1) == 0 ? i_8_ >>> 8 : 0xff & i_8_; + long l_9_ = l << 1; + if (l_9_ >= 256) l_9_ ^= 0x11dL; + long l_10_ = l_9_ << 1; + if (l_10_ >= 256L) l_10_ ^= 0x11dL; + long l_11_ = l ^ l_10_; + long l_12_ = l_10_ << 1; + if (l_12_ >= 256L) l_12_ ^= 0x11dL; + long l_13_ = l_12_ ^ l; + aLongArrayArray75[0][i] = (Component11.method2068(l_13_, (Component11.method2068(l_9_ << 8, (Component11.method2068(l_11_ << 16, (Component11.method2068(l_12_ << 24, (Component11.method2068(l << 32, (Component11.method2068(Component11.method2068(l << 56, l << 48), l_10_ << 40)))))))))))); + for (int i_14_ = 1; i_14_ < 8; i_14_++) + aLongArrayArray75[i_14_][i] = Component11.method2068((aLongArrayArray75[i_14_ + -1][i] >>> 8), (aLongArrayArray75[i_14_ - 1][i] << 56)); + } + aLongArray76[0] = 0L; + for (int i = 1; i <= 10; i++) { + int i_15_ = -8 + i * 8; + aLongArray76[i] = (SpriteSub2.method993((SpriteSub2.method993(NodeSub8.method2777(aLongArrayArray75[6][6 + i_15_], 65280L), (SpriteSub2.method993(NodeSub8.method2777((aLongArrayArray75[5][5 + i_15_]), 16711680L), (SpriteSub2.method993((SpriteSub2.method993((SpriteSub2.method993(NodeSub8.method2777((aLongArrayArray75[2][i_15_ + 2]), 280375465082880L), (SpriteSub2.method993(NodeSub8.method2777(71776119061217280L, (aLongArrayArray75[1][1 + i_15_])), (NodeSub8.method2777(aLongArrayArray75[0][i_15_], -72057594037927936L)))))), NodeSub8.method2777(1095216660480L, (aLongArrayArray75[3][3 + i_15_])))), NodeSub8.method2777((aLongArrayArray75[4][i_15_ - -4]), 4278190080L))))))), NodeSub8.method2777(aLongArrayArray75[7][7 + i_15_], 255L))); + } + aClass351_77 = new StringCache(8, 1); + anInt78 = 0; + aClass114_79 = new Component183(75, 6); + } +} diff --git a/client/net/socket/InputStream_Sub2.java b/client/net/socket/InputStream_Sub2.java new file mode 100644 index 000000000..8c492c397 --- /dev/null +++ b/client/net/socket/InputStream_Sub2.java @@ -0,0 +1,285 @@ +/* InputStream_Sub2 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.io.InputStream; + +final class InputStream_Sub2 extends InputStream { + static int anInt80; + static int anInt81; + static Component183 aClass114_82 = new Component183(71, 7); + static Component315 aClass243_83 = new Component315(); + static float[] aFloatArray84 = new float[4]; + static int anInt85; + + public static void method127(byte i) { + if (i != 118) method128(null, (byte) -48); + aFloatArray84 = null; + aClass243_83 = null; + aClass114_82 = null; + } + + static final void method128(DisplayModeManagerContainer238 class74, byte i) { + try { + anInt81++; + if (class74 == Request.aClass74_6891) { + int i_0_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -124); + int i_1_ = i_0_ >> 2; + int i_2_ = 0x3 & i_0_; + int i_3_ = Component129.anIntArray487[i_1_]; + int i_4_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + int i_5_ = Component80.aClass348_Sub49_Sub2_3813.readByteAdd((byte) 65); + int i_6_ = DisplayModeManagerContainer347.anInt3581 + (0x7 & i_5_ >> 4); + int i_7_ = DisplayModeManagerContainer306.anInt4786 - -(i_5_ & 0x7); + if (Component21.method2112(126, Component37.anInt3931) || (i_6_ >= 0 && i_7_ >= 0 && AbstractShaderSub4.anInt7319 > i_6_ && (i_7_ < ParametricDefinition.anInt9109))) NodeSub12.method2800(GradientPreset.anInt9200, 0, i_7_, -1, i_1_, i_3_, i_2_, i_4_, (byte) 121, i_6_); + } else if (class74 == DefinitionSub38.aClass74_9475) { + int i_8_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(i + 247); + int i_9_ = DisplayModeManagerContainer347.anInt3581 + ((0x7a & i_8_) >> 4); + int i_10_ = DisplayModeManagerContainer306.anInt4786 - -(i_8_ & 0x7); + int i_11_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + int i_12_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + int i_13_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + int i_14_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(i ^ 0xf7); + if (i_9_ >= 0 && i_10_ >= 0 && i_9_ < AbstractShaderSub4.anInt7319 && ParametricDefinition.anInt9109 > i_10_) { + int i_15_ = 512 * i_9_ - -256; + int i_16_ = 256 + 512 * i_10_; + int i_17_ = GradientPreset.anInt9200; + if (i_17_ < 3 && NpcComposition.method802(i_10_, i_9_, true)) i_17_++; + DisplayModeManagerContainer104 class318_sub1_sub3_sub4 = (new DisplayModeManagerContainer104(i_11_, i_13_, OpenGlShader.clientCycle, GradientPreset.anInt9200, i_17_, i_15_, Component300.method2064(i_15_, GradientPreset.anInt9200, 11219, i_16_) + -i_12_, i_16_, i_9_, i_9_, i_10_, i_10_, i_14_)); + CacheNodeSub2.aClass262_10492.addTail(new PauseHandler(class318_sub1_sub3_sub4), -20180); + } + } else if (class74 == GnpPositionLogger.aClass74_1519) { + int i_18_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + int i_19_ = DisplayModeManagerContainer347.anInt3581 - -(i_18_ >> 4 & 0x7); + int i_20_ = (0x7 & i_18_) + DisplayModeManagerContainer306.anInt4786; + int i_21_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + if (i_21_ == 65535) i_21_ = -1; + int i_22_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(i + 247); + int i_23_ = i_22_ >> 4 & 0xf; + int i_24_ = 0x7 & i_22_; + int i_25_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + int i_26_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + int i_27_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(i + 842397936); + if (i_19_ >= 0 && i_20_ >= 0 && i_19_ < AbstractShaderSub4.anInt7319 && (i_20_ < ParametricDefinition.anInt9109)) { + int i_28_ = 1 + i_23_; + if (((Component72.localPlayer.anIntArray10320[0]) >= i_19_ + -i_28_) && i_28_ + i_19_ >= (Component72.localPlayer.anIntArray10320[0]) && ((Component72.localPlayer.anIntArray10317[0]) >= -i_28_ + i_20_) && i_20_ + i_28_ >= (Component72.localPlayer.anIntArray10317[0])) + Component98.queueAreaSound(i_21_, i_26_, false, ((i_20_ << 8) + (((GradientPreset.anInt9200) << 24) + ((i_19_ << 16) - -i_23_))), (byte) -98, i_24_, i_27_, i_25_); + } + } else if (class74 == NodeSub35.aClass74_6977) { + int i_29_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + int i_30_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + GradientPreset.aClass263_9195.method2005(0, i_29_).method478(i_30_, -31076); + } else if (GpiLogger.aClass74_8853 == class74) { + int i_31_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(i + 247); + int i_32_ = DisplayModeManagerContainer347.anInt3581 + ((i_31_ & 0x7b) >> 4); + int i_33_ = (i_31_ & 0x7) + DisplayModeManagerContainer306.anInt4786; + int i_34_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + if (i_34_ == 65535) i_34_ = -1; + int i_35_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(i + 247); + int i_36_ = 0xf & i_35_ >> 4; + int i_37_ = 0x7 & i_35_; + int i_38_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + int i_39_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(i ^ 0xf7); + int i_40_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + if (i_32_ >= 0 && i_33_ >= 0 && i_32_ < AbstractShaderSub4.anInt7319 && i_33_ < ParametricDefinition.anInt9109) { + int i_41_ = i_36_ + 1; + if ((Component72.localPlayer.anIntArray10320[0]) >= i_32_ - i_41_ && (Component72.localPlayer.anIntArray10320[0]) <= i_41_ + i_32_ && ((Component72.localPlayer.anIntArray10317[0]) >= -i_41_ + i_33_) && (i_33_ - -i_41_ >= (Component72.localPlayer.anIntArray10317[0]))) + NameFormatter.queueSoundEffect(i_37_, (i_36_ + (i_33_ << 8) + ((GradientPreset.anInt9200 << 24) + (i_32_ << 16))), i_38_, i_39_, i_40_, i_34_, -29494); + } + } else if (DisplayModeManagerContainer232.aClass74_4689 == class74) { + int i_42_ = Component80.aClass348_Sub49_Sub2_3813.readShortLittle(false); + if (i_42_ == 65535) i_42_ = -1; + int i_43_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) 65); + int i_44_ = ((i_43_ & 0x71) >> 4) + DisplayModeManagerContainer347.anInt3581; + int i_45_ = DisplayModeManagerContainer306.anInt4786 + (i_43_ & 0x7); + int i_46_ = Component80.aClass348_Sub49_Sub2_3813.readByteInverse((byte) 21); + int i_47_ = i_46_ >> 2; + int i_48_ = i_46_ & 0x3; + int i_49_ = Component129.anIntArray487[i_47_]; + GlToolkitSub3.method3824(i_45_, i_42_, i_47_, i_44_, i_48_, 115, GradientPreset.anInt9200, i_49_); + } else if (class74 == ArbShaderProgram.aClass74_6201) { + int i_50_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + int i_51_ = (i_50_ >> 4 & 0xf) + DisplayModeManagerContainer347.anInt3581 * 2; + int i_52_ = (i_50_ & 0xf) + DisplayModeManagerContainer306.anInt4786 * 2; + int i_53_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + boolean bool = (0x1 & i_53_) != 0; + boolean bool_54_ = (i_53_ & 0x2) != 0; + int i_55_ = bool_54_ ? i_53_ >> 2 : -1; + int i_56_ = (Component80.aClass348_Sub49_Sub2_3813.readByte(-77) + i_51_); + int i_57_ = (Component80.aClass348_Sub49_Sub2_3813.readByte(-88) + i_52_); + int i_58_ = Component80.aClass348_Sub49_Sub2_3813.readShort(13638); + int i_59_ = Component80.aClass348_Sub49_Sub2_3813.readShort(13638); + int i_60_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(i + 842397936); + int i_61_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + if (!bool_54_) i_61_ *= 4; + else i_61_ = (byte) i_61_; + int i_62_ = (Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(i ^ 0xf7) * 4); + int i_63_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(i + 842397936); + int i_64_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + int i_65_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + int i_66_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + if (i_65_ == 255) i_65_ = -1; + if (i_51_ >= 0 && i_52_ >= 0 && (i_51_ < 2 * AbstractShaderSub4.anInt7319) && (i_52_ < AbstractShaderSub4.anInt7319 * 2) && i_56_ >= 0 && i_57_ >= 0 && (i_56_ < ParametricDefinition.anInt9109 * 2) && 2 * ParametricDefinition.anInt9109 > i_57_ && i_60_ != 65535) { + i_57_ *= 256; + i_56_ = 256 * i_56_; + i_62_ <<= 2; + i_51_ = 256 * i_51_; + i_66_ <<= 2; + i_61_ <<= 2; + i_52_ *= 256; + if (i_58_ != 0 && i_55_ != -1) { + DisplayModeManagerContainer58 class318_sub1_sub3_sub3 = null; + if (i_58_ < 0) { + int i_67_ = -i_58_ + -1; + if (StringDefinition.anInt9591 != i_67_) class318_sub1_sub3_sub3 = (InterfaceRenderer.players[i_67_]); + else class318_sub1_sub3_sub3 = (Component72.localPlayer); + } else { + int i_68_ = i_58_ + -1; + NodeSub22 class348_sub22 = ((NodeSub22) Component21.aClass356_3654.get(i_68_, -6008)); + if (class348_sub22 != null) class318_sub1_sub3_sub3 = (class348_sub22.npc); + } + if (class318_sub1_sub3_sub3 != null) { + Component241 class225 = class318_sub1_sub3_sub3.method2422((byte) 72); + if ((class225.anIntArrayArray2939 != null) && (class225.anIntArrayArray2939[i_55_]) != null) i_61_ -= (class225.anIntArrayArray2939[i_55_][1]); + if ((class225.anIntArrayArray2910 != null) && (class225.anIntArrayArray2910[i_55_]) != null) i_61_ -= (class225.anIntArrayArray2910[i_55_][1]); + } + } + DisplayModeManagerContainer174 class318_sub1_sub3_sub5 = (new DisplayModeManagerContainer174(i_60_, GradientPreset.anInt9200, GradientPreset.anInt9200, i_51_, i_52_, i_61_, i_63_ - -OpenGlShader.clientCycle, i_64_ + OpenGlShader.clientCycle, i_65_, i_66_, i_58_, i_59_, i_62_, bool, i_55_)); + class318_sub1_sub3_sub5.method2471((byte) -103, (-i_62_ + Component300.method2064(i_56_, GradientPreset.anInt9200, 11219, i_57_)), i_57_, i_63_ + OpenGlShader.clientCycle, i_56_); + DefinitionSub17.aClass262_9240.addTail(new HashNodeSub18(class318_sub1_sub3_sub5), -20180); + } + } else if (class74 == PacketReader.aClass74_10437) { + int i_69_ = Component80.aClass348_Sub49_Sub2_3813.readShortAddLittle(-128); + int i_70_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) 31); + int i_71_ = DisplayModeManagerContainer306.anInt4786 + (i_70_ & 0x7); + int i_72_ = Component330.regionTileY + i_71_; + int i_73_ = DisplayModeManagerContainer347.anInt3581 + (i_70_ >> 4 & 0x7); + int i_74_ = NodeBaseSub2.regionTileX + i_73_; + NodeSub37 class348_sub37 = ((NodeSub37) (Component387.aClass356_1895.get(i_72_ << 14 | GradientPreset.anInt9200 << 28 | i_74_, -6008))); + if (class348_sub37 != null) { + for (NodeSub34 class348_sub34 = ((NodeSub34) class348_sub37.aClass262_6998.first(4)); class348_sub34 != null; class348_sub34 = ((NodeSub34) class348_sub37.aClass262_6998.next((byte) 49))) { + if ((0x7fff & i_69_) == class348_sub34.anInt6973) { + class348_sub34.unlink((byte) 127); + break; + } + } + if (class348_sub37.aClass262_6998.isEmpty((byte) 18)) class348_sub37.unlink((byte) 62); + if (i_73_ >= 0 && i_71_ >= 0 && AbstractShaderSub4.anInt7319 > i_73_ && ParametricDefinition.anInt9109 > i_71_) DisplayModeManagerContainer351.method1479(i_71_, (byte) -125, i_73_, GradientPreset.anInt9200); + } + } else if (DisplayModeManagerContainer34.aClass74_8662 == class74) { + int i_75_ = Component80.aClass348_Sub49_Sub2_3813.readShortLittle(false); + int i_76_ = Component80.aClass348_Sub49_Sub2_3813.readShortLittle(false); + int i_77_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + int i_78_ = DisplayModeManagerContainer306.anInt4786 - -(0x7 & i_77_); + int i_79_ = i_78_ + Component330.regionTileY; + int i_80_ = DisplayModeManagerContainer347.anInt3581 - -((i_77_ & 0x79) >> 4); + int i_81_ = NodeBaseSub2.regionTileX - -i_80_; + boolean bool = (i_80_ >= 0 && i_78_ >= 0 && AbstractShaderSub4.anInt7319 > i_80_ && ParametricDefinition.anInt9109 > i_78_); + if (bool || Component21.method2112(124, Component37.anInt3931)) { + Component48.method3459(new NodeSub34(i_76_, i_75_), GradientPreset.anInt9200, i_79_, i_81_, -2); + if (bool) DisplayModeManagerContainer351.method1479(i_78_, (byte) -124, i_80_, GradientPreset.anInt9200); + } + } else if (class74 == DisplayModeManagerContainer152.aClass74_4537) { + int i_82_ = Component80.aClass348_Sub49_Sub2_3813.readByteAdd((byte) 83); + int i_83_ = i_82_ >> 2; + int i_84_ = 0x3 & i_82_; + int i_85_ = Component129.anIntArray487[i_83_]; + int i_86_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(i ^ 0xf7); + int i_87_ = DisplayModeManagerContainer347.anInt3581 + (i_86_ >> 4 & 0x7); + int i_88_ = DisplayModeManagerContainer306.anInt4786 - -(0x7 & i_86_); + if (Component21.method2112(i ^ 0x73, Component37.anInt3931) || (i_87_ >= 0 && i_88_ >= 0 && AbstractShaderSub4.anInt7319 > i_87_ && (i_88_ < ParametricDefinition.anInt9109))) NodeSub12.method2800(GradientPreset.anInt9200, 0, i_88_, -1, i_83_, i_85_, i_84_, -1, (byte) 125, i_87_); + } else { + if (i != 8) aClass114_82 = null; + if (DisplayModeManagerContainer271.aClass74_515 == class74) { + int i_89_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + int i_90_ = DisplayModeManagerContainer306.anInt4786 + (0x7 & i_89_); + int i_91_ = i_90_ + Component330.regionTileY; + int i_92_ = (DisplayModeManagerContainer347.anInt3581 - -((i_89_ & 0x7a) >> 4)); + int i_93_ = NodeBaseSub2.regionTileX + i_92_; + int i_94_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + int i_95_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(i + 842397936); + int i_96_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + if (Component387.aClass356_1895 != null) { + NodeSub37 class348_sub37 = ((NodeSub37) (Component387.aClass356_1895.get(i_93_ | ((GradientPreset.anInt9200 << 28) | i_91_ << 14), -6008))); + if (class348_sub37 != null) { + for (NodeSub34 class348_sub34 = ((NodeSub34) class348_sub37.aClass262_6998.first(4)); class348_sub34 != null; class348_sub34 = ((NodeSub34) class348_sub37.aClass262_6998.next((byte) 34))) { + if ((class348_sub34.anInt6973) == (0x7fff & i_94_) && i_95_ == class348_sub34.anInt6971) { + class348_sub34.unlink((byte) 32); + class348_sub34.anInt6971 = i_96_; + Component48.method3459(class348_sub34, (GradientPreset.anInt9200), i_91_, i_93_, i ^ ~0x9); + break; + } + } + if (i_92_ >= 0 && i_90_ >= 0 && (i_92_ < AbstractShaderSub4.anInt7319) && (ParametricDefinition.anInt9109 > i_90_)) DisplayModeManagerContainer351.method1479(i_90_, (byte) -125, i_92_, (GradientPreset.anInt9200)); + } + } + } else if (class74 == DisplayModeManagerContainer363.aClass74_4098) { + int i_97_ = Component80.aClass348_Sub49_Sub2_3813.readShortLittle(false); + int i_98_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + int i_99_ = (0x7 & i_98_) + DisplayModeManagerContainer306.anInt4786; + int i_100_ = Component330.regionTileY + i_99_; + int i_101_ = DisplayModeManagerContainer347.anInt3581 - -((i_98_ & 0x7b) >> 4); + int i_102_ = NodeBaseSub2.regionTileX + i_101_; + int i_103_ = Component80.aClass348_Sub49_Sub2_3813.readShortAdd(-25); + int i_104_ = Component80.aClass348_Sub49_Sub2_3813.readShortAdd(123); + if (i_104_ != StringDefinition.anInt9591) { + boolean bool = (i_101_ >= 0 && i_99_ >= 0 && (i_101_ < AbstractShaderSub4.anInt7319) && (i_99_ < ParametricDefinition.anInt9109)); + if (bool || Component21.method2112(122, Component37.anInt3931)) { + Component48.method3459(new NodeSub34(i_103_, i_97_), GradientPreset.anInt9200, i_100_, i_102_, i + -10); + if (bool) DisplayModeManagerContainer351.method1479(i_99_, (byte) -120, i_101_, (GradientPreset.anInt9200)); + } + } + } else if (class74 == DisplayModeManagerContainer133.aClass74_2157) { + int i_105_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(i + 247); + boolean bool = (0x80 & i_105_) != 0; + int i_106_ = DisplayModeManagerContainer347.anInt3581 - -(i_105_ >> 3 & 0x7); + int i_107_ = (0x7 & i_105_) + DisplayModeManagerContainer306.anInt4786; + int i_108_ = i_106_ - -Component80.aClass348_Sub49_Sub2_3813.readByte(-94); + int i_109_ = (Component80.aClass348_Sub49_Sub2_3813.readByte(-87) + i_107_); + int i_110_ = Component80.aClass348_Sub49_Sub2_3813.readShort(13638); + int i_111_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(i + 842397936); + int i_112_ = (Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) * 4); + int i_113_ = (Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) * 4); + int i_114_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(i + 842397936); + int i_115_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(i + 842397936); + int i_116_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + if (i_116_ == 255) i_116_ = -1; + int i_117_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); + if (i_106_ >= 0 && i_107_ >= 0 && (i_106_ < AbstractShaderSub4.anInt7319) && i_107_ < ParametricDefinition.anInt9109 && i_108_ >= 0 && i_109_ >= 0 && AbstractShaderSub4.anInt7319 > i_108_ && (ParametricDefinition.anInt9109 > i_109_) && i_111_ != 65535) { + i_117_ <<= 2; + i_109_ = 256 + i_109_ * 512; + i_113_ <<= 2; + i_108_ = 256 + 512 * i_108_; + i_107_ = i_107_ * 512 + 256; + i_106_ = i_106_ * 512 + 256; + i_112_ <<= 2; + DisplayModeManagerContainer174 class318_sub1_sub3_sub5 = (new DisplayModeManagerContainer174(i_111_, GradientPreset.anInt9200, GradientPreset.anInt9200, i_106_, i_107_, i_112_, i_114_ + OpenGlShader.clientCycle, OpenGlShader.clientCycle + i_115_, i_116_, i_117_, 0, i_110_, i_113_, bool, -1)); + class318_sub1_sub3_sub5.method2471((byte) -103, Component300.method2064(i_108_, (GradientPreset.anInt9200), 11219, i_109_) + -i_113_, i_109_, i_114_ + OpenGlShader.clientCycle, i_108_); + DefinitionSub17.aClass262_9240.addTail(new HashNodeSub18(class318_sub1_sub3_sub5), -20180); + } + } else if (DisplayModeManagerContainer51.aClass74_2491 == class74) { + Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + int i_118_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(i + 247); + int i_119_ = (i_118_ >> 4 & 0x7) + DisplayModeManagerContainer347.anInt3581; + int i_120_ = (0x7 & i_118_) + DisplayModeManagerContainer306.anInt4786; + int i_121_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedShort(i ^ 0x3235f8f0); + int i_122_ = Component80.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); + int i_123_ = Component80.aClass348_Sub49_Sub2_3813.readMedium(-1); + String string = Component80.aClass348_Sub49_Sub2_3813.readString((byte) -126); + BuildInfo.method205(i_121_, i_119_, i_123_, string, i_122_, -109, i_120_, GradientPreset.anInt9200); + } else { + ClientErrorReporter.reportError("T3 - " + class74, null, 15004); + LoggedOutDefinition.disconnectAndReset(false, (byte) 11); + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("sfa.A(" + (class74 != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + public final int read() { + SpriteAtlasShader.sleep((byte) -118, 30000L); + anInt80++; + return -1; + } +} diff --git a/client/net/socket/OutputStream_Sub1.java b/client/net/socket/OutputStream_Sub1.java new file mode 100644 index 000000000..f4ff69840 --- /dev/null +++ b/client/net/socket/OutputStream_Sub1.java @@ -0,0 +1,159 @@ +/* OutputStream_Sub1 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.io.IOException; +import java.io.OutputStream; +import java.util.Random; + +final class OutputStream_Sub1 extends OutputStream { + static int anInt92; + static Random aRandom93 = new Random(); + static int anInt94; + static int anInt95; + static int anInt96; + static Component362[] aClass110_Sub1Array97; + static int anInt98; + static int[] anIntArray99; + static int[] anIntArray100 = {99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 120}; + + static final void method132(int i, boolean bool, int i_0_, int i_1_, int i_2_, int i_3_) { + anInt94++; + if (Component335.aClass357ArrayArrayArray2029 == null) NodeSub8.toolkit.method3675(i_0_, (byte) -125, i_1_, i_3_, i_2_, -16777216); + else if (Component72.localPlayer.x < 0 || (Component72.localPlayer.x >= AbstractShaderSub4.anInt7319 * 512) || Component72.localPlayer.y < 0 || (512 * ParametricDefinition.anInt9109 <= Component72.localPlayer.y)) + NodeSub8.toolkit.method3675(i_0_, (byte) -125, i_1_, i_3_, i_2_, -16777216); + else { + DisplayModeManagerContainer341.anInt6006++; + if (Component72.localPlayer != null && Component253.anInt3203 == (Component72.localPlayer.x + -(256 * Component72.localPlayer.method2436((byte) 90)) - -256) >> 9 && Component263.anInt1548 == (Component72.localPlayer.y + 256 + -(256 * Component72.localPlayer.method2436((byte) 112))) >> 9) { + Component263.anInt1548 = -1; + Component253.anInt3203 = -1; + Component264.method2264(false); + } + Component353.method1434(-14988); + if (!bool) Component21.method2109(512); + Component83.method1014(-4); + HashNodeSub3.method3174(i_1_, i_3_, i_0_, true, (byte) -82, i_2_); + i_3_ = RandomAccessFileReader.anInt3047; + i_1_ = DisplayModeManagerContainer61.anInt3764; + i_2_ = Component333.anInt3643; + Component72.anInt1906 = Component72.anInt1911; + i_0_ = Component296.anInt4656; + if (DefinitionSub21.cameraMode == 1) { + int i_4_ = (int) DisplayModeManagerContainer154.cameraPitch; + if (NodeSub35.anInt6979 >> 8 > i_4_) i_4_ = NodeSub35.anInt6979 >> 8; + if (Component113.aBooleanArray2374[4] && ItemDefinitionProvider.anIntArray3273[4] + 128 > i_4_) i_4_ = ItemDefinitionProvider.anIntArray3273[4] + 128; + int i_5_ = (int) Component112.cameraYaw + Component195.anInt5016 & 0x3fff; + DisplayModeManagerContainer167.method268(i_4_, -200 + (Component300.method2064((Component72.localPlayer.x), Component117.anInt4372, 11219, (Component72.localPlayer.y))), i_5_, Component353.cameraFocusZ, i_2_, -19360, DisplayModeManagerContainer273.cameraFocusX, (i_4_ >> 3) * 3 + 600 << 2); + } else if (DefinitionSub21.cameraMode == 4) { + int i_6_ = (int) DisplayModeManagerContainer154.cameraPitch; + if (i_6_ < NodeSub35.anInt6979 >> 8) i_6_ = NodeSub35.anInt6979 >> 8; + if (Component113.aBooleanArray2374[4] && (i_6_ < ItemDefinitionProvider.anIntArray3273[4] + 128)) i_6_ = 128 + ItemDefinitionProvider.anIntArray3273[4]; + int i_7_ = (int) Component112.cameraYaw & 0x3fff; + DisplayModeManagerContainer167.method268(i_6_, -200 + Component300.method2064(NodederUtil.anInt6633, Component117.anInt4372, 11219, NodeSub7.anInt6652), i_7_, Component353.cameraFocusZ, i_2_, -19360, DisplayModeManagerContainer273.cameraFocusX, 600 - -((i_6_ >> 3) * 3) << 2); + } else if (DefinitionSub21.cameraMode == 5) DisplayModeManagerContainer259.method2035(i_2_, 0); + int i_8_ = WaterSurfaceShader.anInt6246; + int i_9_ = DisplayModeManagerContainer50.anInt3855; + int i_10_ = Component317.anInt8685; + int i_11_ = HashNodeSub19.anInt9701; + int i_12_ = Component298.anInt4638; + for (int i_13_ = 0; i_13_ < 5; i_13_++) { + if (Component113.aBooleanArray2374[i_13_]) { + int i_14_ = (int) ((Math.random() * (double) ((Component300.anIntArray3552[i_13_] * 2) - -1)) - (double) Component300.anIntArray3552[i_13_] + (Math.sin((double) (Component212.anIntArray9981[i_13_]) * ((double) (Component103.anIntArray4196[i_13_]) / 100.0)) * (double) (ItemDefinitionProvider.anIntArray3273[i_13_]))); + if (i_13_ == 4) { + HashNodeSub19.anInt9701 += i_14_; + if (HashNodeSub19.anInt9701 >= 1024) { + if (HashNodeSub19.anInt9701 > 3072) HashNodeSub19.anInt9701 = 3072; + } else HashNodeSub19.anInt9701 = 1024; + } + if (i_13_ == 0) WaterSurfaceShader.anInt6246 += i_14_ << 2; + if (i_13_ == 3) Component298.anInt4638 = 0x3fff & i_14_ + Component298.anInt4638; + if (i_13_ == 1) DisplayModeManagerContainer50.anInt3855 += i_14_ << 2; + if (i_13_ == 2) Component317.anInt8685 += i_14_ << 2; + } + } + if (WaterSurfaceShader.anInt6246 < 0) WaterSurfaceShader.anInt6246 = 0; + if (-1 + (StaticElementRenderer.anInt6451 << 9) < WaterSurfaceShader.anInt6246) WaterSurfaceShader.anInt6246 = -1 + (StaticElementRenderer.anInt6451 << 9); + if (Component317.anInt8685 < 0) Component317.anInt8685 = 0; + if (Component317.anInt8685 > (NodeSub41.anInt7054 << 9) + -1) Component317.anInt8685 = (NodeSub41.anInt7054 << 9) - 1; + StringDefinition.method3225(114); + HashNodeSub3.method3175((byte) -107); + NodeSub8.toolkit.KA(i_1_, i_3_, i_1_ - -i_0_, i_3_ + i_2_); + Component127.method1626(1, true); + if (Component210.gameCanvasAttached) { + MatrixSub3.method941(124, Component38.anInt2500); + if (Component72.anInt1906 != Component121.anInt4545) NodeSub16Sub2.aBoolean8870 = true; + Component121.anInt4545 = Component72.anInt1906; + } else { + NodeSub8.toolkit.NativeHandle(); + int i_15_ = Component38.anInt2500; + if (Component293.aClass305_3304 != null) Component293.aClass305_3304.method2293(Component316.anInt2481 << 3, NodeSub8.toolkit, (byte) -72, i_1_, i_0_, i_3_, Component298.anInt4638, HashNodeSub19.anInt9701, i_15_, i_2_); + else NodeSub8.toolkit.GA(i_15_); + } + Component381.method3570(false); + if (i >= 80) { + Component270.aClass101_2123.method903(WaterSurfaceShader.anInt6246, DisplayModeManagerContainer50.anInt3855, Component317.anInt8685, -HashNodeSub19.anInt9701 & 0x3fff, -Component298.anInt4638 & 0x3fff, 0x3fff & -Component103.anInt4186); + NodeSub8.toolkit.method3638(Component270.aClass101_2123); + NodeSub8.toolkit.DA(i_0_ / 2 + i_1_, i_3_ + i_2_ / 2, Component263.anInt1550 << 1, Component263.anInt1550 << 1); + ComponentDownloader.method319(Component263.anInt1550 << 1, Component263.anInt1550 << 1, (byte) -18, i_1_ + i_0_ / 2, i_3_ + i_2_ / 2); + HashNodeSub20.method3282(0x3fff & -(HashNodeSub19.anInt9701), Component317.anInt8685, DisplayModeManagerContainer50.anInt3855, 0, -Component298.anInt4638 & 0x3fff, WaterSurfaceShader.anInt6246, -Component103.anInt4186 & 0x3fff); + byte i_16_ = (Component192.aClass348_Sub51_3959.aClass239_Sub14_7264.method1778(-32350) != 2 ? (byte) 1 : (byte) DisplayModeManagerContainer341.anInt6006); + if (Component210.gameCanvasAttached) { + Component158.method289(-15902, 0x3fff & -Component298.anInt4638, -Component103.anInt4186 & 0x3fff, (-HashNodeSub19.anInt9701 & 0x3fff)); + GameType.method1634(DisplayModeManagerContainer370.anIntArray1127, -2, Component156.aByteArrayArrayArray3700, (Component72.localPlayer.y) >> 9, (Component72.localPlayer.plane) - -1, DisplayModeManagerContainer363.anIntArray4097, WaterSurfaceShader.anInt6246, Component317.anInt8685, Component192.aClass348_Sub51_3959.aClass239_Sub1_7246.method1720(-32350) == 0, DisplayModeManagerContainer50.anInt3855, (Component72.localPlayer.x) >> 9, ClientErrorReporter.anIntArray2117, DefinitionSub19.anIntArray9259, i_16_, LoadingState.anIntArray1045, OpenGlShader.clientCycle, true, Component72.anInt1906); + } else + AbstractGlTextureSub1.method1960(OpenGlShader.clientCycle, WaterSurfaceShader.anInt6246, DisplayModeManagerContainer50.anInt3855, Component317.anInt8685, Component156.aByteArrayArrayArray3700, DisplayModeManagerContainer363.anIntArray4097, ClientErrorReporter.anIntArray2117, DefinitionSub19.anIntArray9259, LoadingState.anIntArray1045, DisplayModeManagerContainer370.anIntArray1127, (Component72.localPlayer.plane) - -1, i_16_, (Component72.localPlayer.x) >> 9, (Component72.localPlayer.y) >> 9, Component192.aClass348_Sub51_3959.aClass239_Sub1_7246.method1720(-32350) == 0, true, !DisplayModeManagerContainer50.aBoolean3870 ? -1 : Component72.anInt1906, 0, false); + Component381.method3570(false); + if (Component49.clientState == 10) { + Component248.method283(-127, i_0_, 256, i_2_, i_1_, i_3_, 256); + GlToolkitSub2.method3802(i_3_, i_2_, 2, i_1_, i_0_, 256, 256); + Component212.method2403(i_1_, 256, i_3_, i_0_, 19206, i_2_, 256); + Component290.method1289(i_2_, i_0_, i_3_, 8, i_1_); + } + StringDefinition.method3223(); + WaterSurfaceShader.anInt6246 = i_8_; + HashNodeSub19.anInt9701 = i_11_; + Component298.anInt4638 = i_12_; + DisplayModeManagerContainer50.anInt3855 = i_9_; + Component317.anInt8685 = i_10_; + if (TcpSocketStream.aBoolean5840 && HardwareProbe.aClass248_6601.priorityQueueSize(4) == 0) TcpSocketStream.aBoolean5840 = false; + if (TcpSocketStream.aBoolean5840) { + NodeSub8.toolkit.method3675(i_0_, (byte) -125, i_1_, i_3_, i_2_, -16777216); + Component149.method3511(false, Applet_Sub1.aClass324_20, Component163.aClass143_3179, (FriendsIgnoreList.aClass274_3495.getLocalized(ObjectDeserializer.languageId, 544)), 2, NodeSub8.toolkit); + } + Component127.method1626(1, false); + } + } + } + + public final void write(int i) throws IOException { + anInt96++; + throw new IOException(); + } + + public static void method133(byte i) { + anIntArray100 = null; + anIntArray99 = null; + aClass110_Sub1Array97 = null; + if (i != -41) anIntArray99 = null; + aRandom93 = null; + } + + static final void method134(byte i) { + if (i != -126) method132(-95, true, 10, 28, 45, 100); + if (Component117.anObject4366 == null) { + Component350 class59_sub1_sub1 = new Component350(); + byte[] is = class59_sub1_sub1.method559(128, 128, (byte) 106, 16); + Component117.anObject4366 = BrowserDetector.wrapSoft(is, false, (byte) 111); + } + anInt92++; + if (Component150.anObject2969 == null) { + Component317 class59_sub2_sub2 = new Component317(); + byte[] is = class59_sub2_sub2.method571(128, (byte) -38, 16, 128); + Component150.anObject2969 = BrowserDetector.wrapSoft(is, false, (byte) 106); + } + } + + static { + anIntArray99 = new int[]{1, -1, -1, 1}; + } +} diff --git a/client/net/socket/OutputStream_Sub2.java b/client/net/socket/OutputStream_Sub2.java new file mode 100644 index 000000000..c3176bf40 --- /dev/null +++ b/client/net/socket/OutputStream_Sub2.java @@ -0,0 +1,94 @@ +/* OutputStream_Sub2 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.io.IOException; +import java.io.OutputStream; + +final class OutputStream_Sub2 extends OutputStream { + static int anInt101; + static int anInt102; + static int anInt103; + static int anInt104; + static int anInt105; + static Component24 aClass105_106; + static int anInt107; + static long aLong108 = (long) (Math.random() * 9.999999999E9); + + static final byte[] method135(byte i, byte[] is, int i_0_) { + anInt103++; + if (i < 101) method139(34); + byte[] is_1_ = new byte[i_0_]; + Component313.arraycopy(is, 0, is_1_, 0, i_0_); + return is_1_; + } + + static final RenderableSub4 method136(int i, boolean bool, boolean bool_2_) { + anInt105++; + synchronized (Renderable.aClass243Array3974) { + RenderableSub4 class318_sub4; + if (Renderable.aClass243Array3974.length > i && !Renderable.aClass243Array3974[i].method1871((byte) 111)) { + class318_sub4 = (RenderableSub4) Renderable.aClass243Array3974[i].method1870(-104); + class318_sub4.unlink(false); + Component374.anIntArray4128[i]--; + } else { + class318_sub4 = new RenderableSub4(); + class318_sub4.aClass318_Sub3Array6414 = new RenderableSub3[i]; + for (int i_3_ = 0; i > i_3_; i_3_++) + class318_sub4.aClass318_Sub3Array6414[i_3_] = new RenderableSub3(); + } + class318_sub4.aBoolean6409 = bool; + if (bool_2_ != false) aLong108 = 43L; + return class318_sub4; + } + } + + static final boolean method137(int i, int i_4_, int i_5_) { + anInt102++; + int i_6_ = -114 / ((i_4_ - 36) / 55); + return (0x70000 & i_5_) != 0 | DefinitionSub9.method3073(i, i_5_, (byte) 50) || Component235.method2015(i_5_, i, 7); + } + + static final int method138(MenuEntry class348_sub42_sub12, boolean bool) { + anInt107++; + String string = Component192.formatMenuEntry((byte) -126, class348_sub42_sub12); + int[] is = null; + if (!Component3.method1197(-12081, (class348_sub42_sub12.opcode))) { + if (class348_sub42_sub12.itemId == -1) { + if (WaterShaderSub8.method3549(class348_sub42_sub12.opcode, (byte) -44)) { + NodeSub22 class348_sub22 = ((NodeSub22) (Component21.aClass356_3654.get((int) class348_sub42_sub12.identifier, -6008))); + if (class348_sub22 != null) { + Npc npc = (class348_sub22.npc); + NpcComposition class79 = (npc.definition); + if (class79.anIntArray1377 != null) class79 = class79.method794((DisplayModeManagerContainer58.aClass170_10209), -1); + if (class79 != null) is = class79.anIntArray1342; + } + } else if (Component71.method1813(8806, (class348_sub42_sub12.opcode))) { + Object object = null; + Component44 class51; + if ((class348_sub42_sub12.opcode) == 1001) class51 = (GradientPreset.aClass263_9195.method2005(0, (int) (class348_sub42_sub12.identifier))); + else class51 = (GradientPreset.aClass263_9195.method2005(0, (int) (0x7fffffffL & (class348_sub42_sub12.identifier) >>> 32))); + if (class51.anIntArray945 != null) class51 = class51.method480((DisplayModeManagerContainer58.aClass170_10209), (byte) 47); + if (class51 != null) is = class51.anIntArray917; + } + } else is = (Exception_Sub1.itemDefinitions.getItemDefinition(-76, class348_sub42_sub12.itemId).anIntArray2772); + } else is = (Exception_Sub1.itemDefinitions.getItemDefinition(-115, (int) class348_sub42_sub12.identifier).anIntArray2772); + if (is != null) string += ImageTagText.method1273(is, true); + int i = Component27.aClass143_4962.method1186(string, DisplayModeManagerContainer196.aClass105Array4234, bool); + if (class348_sub42_sub12.aBoolean9597) i += ColoredText.aClass105_6097.method971() + 4; + return i; + } + + public final void write(int i) throws IOException { + anInt104++; + throw new IOException(); + } + + public static void method139(int i) { + if (i > 53) aClass105_106 = null; + } + + static { + anInt101 = -1; + } +} diff --git a/client/net/socket/ProxySocketConnector.java b/client/net/socket/ProxySocketConnector.java new file mode 100644 index 000000000..2c6c84e3b --- /dev/null +++ b/client/net/socket/ProxySocketConnector.java @@ -0,0 +1,137 @@ +/* ProxySocketConnector - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class272_Sub2` (JODE-obfuscated). + * Proxy-aware socket connector. extends SocketConnector; openProxiedSocket/openProxiedSocketWithTimeout open sockets through a Proxy (localProxy); connect uses the proxy. + */ + +import sun.net.www.protocol.http.AuthenticationInfo; + +import java.io.BufferedReader; +import java.io.IOException; +import java.io.InputStreamReader; +import java.io.OutputStream; +import java.lang.reflect.Method; +import java.net.*; +import java.nio.charset.Charset; +import java.nio.charset.StandardCharsets; +import java.util.List; + +public final class ProxySocketConnector extends SocketConnector { + private final ProxySelector aProxySelector6172 = ProxySelector.getDefault(); + static Class aClass6173; + static Class aClass6174; + + private final Socket openProxiedSocket(String string, int i, String string_0_) throws IOException { + Socket socket = new Socket(string, i); + socket.setSoTimeout(10000); + OutputStream outputstream = socket.getOutputStream(); + if (string_0_ != null) outputstream.write(("CONNECT " + this.host + ":" + this.port + " HTTP/1.0\n" + string_0_ + "\n\n").getBytes(StandardCharsets.ISO_8859_1)); + else outputstream.write(("CONNECT " + this.host + ":" + this.port + " HTTP/1.0\n\n").getBytes(StandardCharsets.ISO_8859_1)); + outputstream.flush(); + BufferedReader bufferedreader = new BufferedReader(new InputStreamReader(socket.getInputStream())); + String string_1_ = bufferedreader.readLine(); + if (string_1_ != null) { + if (string_1_.startsWith("HTTP/1.0 200") || string_1_.startsWith("HTTP/1.1 200")) return socket; + if (string_1_.startsWith("HTTP/1.0 407") || string_1_.startsWith("HTTP/1.1 407")) { + int i_2_ = 0; + string_1_ = bufferedreader.readLine(); + String string_3_ = "proxy-authenticate: "; + for (/**/; null != string_1_ && i_2_ < 50; string_1_ = bufferedreader.readLine()) { + if (string_1_.toLowerCase().startsWith(string_3_)) { + string_1_ = string_1_.substring(string_3_.length()).trim(); + int i_4_ = string_1_.indexOf(' '); + if (i_4_ != -1) string_1_ = string_1_.substring(0, i_4_); + throw new IOException_Sub1(string_1_); + } + i_2_++; + } + throw new IOException_Sub1(""); + } + } + outputstream.close(); + bufferedreader.close(); + socket.close(); + return null; + } + + final Socket connect(int i) throws IOException { + boolean flag1; + boolean flag = Boolean.parseBoolean(System.getProperty("java.net.useSystemProxies")); + if (!flag) System.setProperty("java.net.useSystemProxies", "true"); + flag1 = port == 443; + IOException_Sub1 ioexception_sub1; + Object[] aobj1; + int j; + if (i >= -100) return null; + List list; + List list1; + try { + list = aProxySelector6172.select(new URI((flag1 ? "https" : "http") + "://" + host)); + list1 = aProxySelector6172.select(new URI((flag1 ? "http" : "https") + "://" + host)); + } catch (URISyntaxException urisyntaxexception) { + return openSocket((byte) 121); + } + list.addAll(list1); + Object[] aobj = list.toArray(); + ioexception_sub1 = null; + aobj1 = aobj; + j = 0; + + for (; j < aobj1.length; ++j) { + Object localObject2 = aobj1[j]; + + Proxy localProxy = (Proxy) localObject2; + try { + Socket localSocket = openProxiedSocketWithTimeout(localProxy, (byte) 125); + if (localSocket != null) { + return localSocket; + } + } catch (IOException_Sub1 localIOException_Sub1) { + ioexception_sub1 = localIOException_Sub1; + } catch (IOException localIOException) { + } + } + if (ioexception_sub1 != null) throw ioexception_sub1; + else return openSocket((byte) 92); + } + + private final Socket openProxiedSocketWithTimeout(Proxy proxy, byte i) throws IOException { + if (proxy.type() == Proxy.Type.DIRECT) return openSocket((byte) 126); + java.net.SocketAddress socketaddress = proxy.address(); + if (!(socketaddress instanceof InetSocketAddress)) return null; + InetSocketAddress inetsocketaddress = (InetSocketAddress) socketaddress; + if (i != 125) return null; + if (proxy.type() == Proxy.Type.HTTP) { + String string = null; + try { + Method method = (AuthenticationInfo.class.getDeclaredMethod("getProxyAuth", (aClass6173 == null ? aClass6173 = String.class : aClass6173), Integer.TYPE)); + method.setAccessible(true); + Object object = method.invoke(null, inetsocketaddress.getHostName(), new Integer(inetsocketaddress.getPort())); + if (null != object) { + Method method_14_ = (AuthenticationInfo.class.getDeclaredMethod("supportsPreemptiveAuthorization")); + method_14_.setAccessible(true); + if (((Boolean) method_14_.invoke(object, new Object[0])).booleanValue()) { + Method method_15_ = AuthenticationInfo.class.getDeclaredMethod("getHeaderName"); + method_15_.setAccessible(true); + Method method_16_ = (AuthenticationInfo.class.getDeclaredMethod("getHeaderValue", (aClass6174 == null ? aClass6174 = URL.class : aClass6174), (aClass6173 == null ? (aClass6173 = String.class) : aClass6173))); + method_16_.setAccessible(true); + String string_17_ = ((String) method_15_.invoke(object, new Object[0])); + String string_18_ = ((String) method_16_.invoke(object, (new Object[]{new URL("https://" + (this.host) + "/"), "https"}))); + string = string_17_ + ": " + string_18_; + } + } + } catch (Exception exception) { + /* empty */ + } + return openProxiedSocket(inetsocketaddress.getHostName(), inetsocketaddress.getPort(), string); + } else if (proxy.type() == Proxy.Type.SOCKS) { + Socket socket = new Socket(proxy); + socket.connect(new InetSocketAddress((this.host), (this.port))); + return socket; + } + return null; + } +} diff --git a/client/net/socket/Request.java b/client/net/socket/Request.java new file mode 100644 index 000000000..255d31479 --- /dev/null +++ b/client/net/socket/Request.java @@ -0,0 +1,42 @@ +/* Request - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub26` (JODE-obfuscated). + * Queued request node (extends Node). Wraps a String command (enqueue builds one from a String) and is enqueued into a NodeList processed by RequestProcessor. + */ + +final class Request extends Node { + static HashNodeSub14 aClass348_Sub42_Sub14_6885; + static int anInt6886; + volatile int anInt6887 = -1; + volatile String aString6888; + static short[] aShortArray6889; + static int[] anIntArray6890 = new int[32]; + static DisplayModeManagerContainer238 aClass74_6891; + + public static void method2998(byte i) { + anIntArray6890 = null; + aClass348_Sub42_Sub14_6885 = null; + aClass74_6891 = null; + aShortArray6889 = null; + if (i != -35) method2999((byte) -26, -20); + } + + static final void method2999(byte i, int i_0_) { + anInt6886++; + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i_0_, (byte) 105, 7); + if (i < 42) method2999((byte) 62, -64); + class348_sub42_sub15.method3251(-16058); + } + + Request(String string) { + this.aString6888 = string; + } + + static { + aShortArray6889 = new short[256]; + aClass74_6891 = new DisplayModeManagerContainer238(1, 4); + } +} diff --git a/client/net/socket/RequestProcessor.java b/client/net/socket/RequestProcessor.java new file mode 100644 index 000000000..bf4a719a9 --- /dev/null +++ b/client/net/socket/RequestProcessor.java @@ -0,0 +1,109 @@ +/* RequestProcessor - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class169` (JODE-obfuscated). + * Runnable that processes a NodeList queue of Request nodes (Request). enqueue enqueues a string request; the run loop (processQueue) wakes and dispatches them. + */ + +import jagex3.jagmisc.jagmisc; + +import java.net.InetAddress; + +final class RequestProcessor implements Runnable { + static int anInt2257; + private NodeList aClass262_2258 = new NodeList(); + private Thread aThread2259 = new Thread(this); + static Component24[] aClass105Array2260; + static Component248[] aClass19Array2261; + static int anInt2262; + static int anInt2263; + static int anInt2264 = 0; + static int anInt2265 = Component80.method2253(1600, 124); + static int anInt2266; + + public final void run() { + anInt2263++; + for (; ; ) { + Request class348_sub26; + synchronized (aClass262_2258) { + Node class348; + for (class348 = aClass262_2258.peekFirst(8); class348 == null; class348 = aClass262_2258.peekFirst(8)) { + try { + aClass262_2258.wait(); + } catch (InterruptedException interruptedexception) { + /* empty */ + } + } + if (!(class348 instanceof Request)) break; + class348_sub26 = (Request) class348; + } + int i; + try { + byte[] is = InetAddress.getByName(class348_sub26.aString6888).getAddress(); + i = jagmisc.ping(is[0], is[1], is[2], is[3], 1000L); + } catch (Throwable throwable) { + i = 1000; + } + class348_sub26.anInt6887 = i; + } + } + + public static void method1300(byte i) { + if (i < -127) { + aClass105Array2260 = null; + aClass19Array2261 = null; + } + } + + static final void method1301(r var_r, int i, int i_0_, int i_1_, boolean[] bools) { + if (ShaderSub1.aSArray5191 != Component9.aSArray4142) { + int i_2_ = NodeSub1Sub1.aSArray8801[i].method3986(i_0_, i_1_, (byte) -93); + for (int i_3_ = 0; i_3_ <= i; i_3_++) { + if (bools == null || bools[i_3_]) { + s var_s = NodeSub1Sub1.aSArray8801[i_3_]; + if (var_s != null) var_s.Interface4Impl(var_r, i_0_, i_2_ - var_s.method3986(i_0_, i_1_, (byte) -103), i_1_, 0, false); + } + } + } + } + + public RequestProcessor() { + aThread2259.setDaemon(true); + aThread2259.start(); + } + + final Request enqueue(int i, String string) { + anInt2266++; + if (aThread2259 == null) throw new IllegalStateException(""); + if (string == null) throw new IllegalArgumentException(""); + if (i != -5255) aClass262_2258 = null; + Request class348_sub26 = new Request(string); + processQueue(1000, class348_sub26); + return class348_sub26; + } + + final void method1303(byte i) { + anInt2257++; + if (aThread2259 != null) { + processQueue(1000, new Node()); + try { + aThread2259.join(); + } catch (InterruptedException interruptedexception) { + /* empty */ + } + aThread2259 = null; + if (i != 16) anInt2264 = 87; + } + } + + private final void processQueue(int i, Node class348) { + if (i != 1000) method1303((byte) 95); + synchronized (aClass262_2258) { + aClass262_2258.addTail(class348, -20180); + aClass262_2258.notify(); + } + anInt2262++; + } +} diff --git a/client/net/socket/SocketConnector.java b/client/net/socket/SocketConnector.java new file mode 100644 index 000000000..2e04f13f8 --- /dev/null +++ b/client/net/socket/SocketConnector.java @@ -0,0 +1,79 @@ +/* SocketConnector - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class272` (JODE-obfuscated). + * Socket factory/connector. openSocket(byte) builds `new Socket(host, port)` from host/port; declares abstract connect(int) for subclasses. + */ + +import java.io.IOException; +import java.net.Socket; + +abstract class SocketConnector { + int port; + static int anInt3471; + static int anInt3472; + static int anInt3473; + static int anInt3474; + static int[] anIntArray3475 = {1, 4, 1, 2}; + String host; + + final Socket openSocket(byte i) throws IOException { + anInt3472++; + if (i <= 84) anIntArray3475 = null; + return new Socket(this.host, this.port); + } + + public static void clearStatics(int i) { + anIntArray3475 = null; + if (i != 1) anInt3473 = -69; + } + + /** + * Drop to lobby/login: state 7 → logged-out path, otherwise stash world and set state 13. + */ + static final void forceLogout(int i) { + anInt3474++; + if (i > 49) { + if (Component49.clientState == 7) LoggedOutDefinition.disconnectAndReset(false, (byte) 11); + else { + ItemDefinition.aClass238_2773 = DefinitionSub8.aClass238_9165; + DefinitionSub8.aClass238_9165 = null; + Buffer.setClientState(2, 13); + } + } + } + + public SocketConnector() { + /* empty */ + } + + abstract Socket connect(int i) throws IOException; + + /** Open/focus the world-map UI with the given centre, zoom, and element filters. */ + static final void openWorldMap(int i, int i_0_, Component85 class221, DisplayModeManagerContainer196 class341, int i_1_, int i_2_, int i_3_, byte i_4_, int i_5_, int i_6_, int i_7_, int i_8_) { + try { + Component181.aClass221_1542 = class221; + Component272.anInt5871 = i_7_; + Component139.aClass341_6128 = class341; + Component328.anInt1479 = i; + NodeSub7.aClass207_6643 = null; + DisplayModeManagerContainer61.anInt3762 = i_8_; + PrimitiveTypeDefinition.aClass207_9090 = null; + Component156.anInt3704 = i_3_; + Component120.anInt317 = i_5_; + anInt3471++; + Component209.anInt3451 = i_0_; + OutputStream_Sub1.anInt98 = i_2_; + Component200.anInt3712 = i_6_; + DisplayModeManagerContainer67.aClass207_1727 = null; + NodeSub32.anInt6938 = i_1_; + Component135.method3490(true); + int i_9_ = -77 % ((i_4_ - 29) / 34); + DisplayModeManagerContainer61.aBoolean3763 = true; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("uu.E(" + i + ',' + i_0_ + ',' + (class221 != null ? "{...}" : "null") + ',' + (class341 != null ? "{...}" : "null") + ',' + i_1_ + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ')')); + } + } +} diff --git a/client/net/socket/SocketStream.java b/client/net/socket/SocketStream.java new file mode 100644 index 000000000..b01adfbc8 --- /dev/null +++ b/client/net/socket/SocketStream.java @@ -0,0 +1,46 @@ +/* SocketStream - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class238` (JODE-obfuscated). + * Abstract byte-I/O connection stream ({@link #readBytes}/{@link #writeBytes}). + * {@link #shutdownStreams} detaches buffers; {@link #method1703} builds an + * {@link RSARequest} during handshake. Parent of {@link TcpSocketStream}. + */ + +import java.io.IOException; + +abstract class SocketStream { + static int anInt3132; + static Component183 aClass114_3133; + + abstract void close(byte i); + + abstract int readBytes(int i, int i_0_, byte i_1_, byte[] is) throws IOException; + + /** Detach real I/O (replace with dummy streams). */ + abstract void shutdownStreams(int i); + + static final void method1703(int i, int i_2_, int i_3_, int i_4_, int i_5_) { + anInt3132++; + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i_2_, (byte) 105, i_4_);//4 + class348_sub42_sub15.method3246(-25490); + class348_sub42_sub15.anInt9651 = i_3_; + class348_sub42_sub15.anInt9652 = i; + class348_sub42_sub15.anInt9650 = i_5_; + } + + public static void method1704(byte i) { + if (i >= -90) aClass114_3133 = null; + aClass114_3133 = null; + } + + public SocketStream() { + /* empty */ + } + + abstract boolean availableAtLeast(int i, int i_6_) throws IOException; + + abstract void writeBytes(int i, int i_7_, int i_8_, byte[] is) throws IOException; +} diff --git a/client/net/socket/TcpSocketStream.java b/client/net/socket/TcpSocketStream.java new file mode 100644 index 000000000..9f7f5cc54 --- /dev/null +++ b/client/net/socket/TcpSocketStream.java @@ -0,0 +1,200 @@ +/* TcpSocketStream - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class238_Sub1` (JODE-obfuscated). + * Concrete {@link Socket}-backed stream. + * {@link #input}/{@link #output} are async ring buffers; {@link #shutdownStreams} + * swaps them for dummy streams without joining threads. + */ + +import java.io.IOException; +import java.net.Socket; + +final class TcpSocketStream extends SocketStream { + static int anInt5828; + static int anInt5829; + static int anInt5830; + static int anInt5831; + static int anInt5832 = -1; + static int anInt5833; + private Component239 input; + static int anInt5835; + private final Socket socket; + private final Component222 output; + static int anInt5838; + static int anInt5839; + static boolean aBoolean5840 = true; + + static final void method1707(int i) { + if (i != 26469) method1708(20, 93, 118, 24, (byte) -1, null); + ImageCacheStore.aClass308_4036.method2303(true); + anInt5829++; + } + + final void writeBytes(int i, int i_0_, int i_1_, byte[] is) throws IOException { + anInt5833++; + output.queueWrite((byte) 5, i_1_, i, is); + if (i_0_ < 89) method1708(-99, 31, -13, 83, (byte) 112, null); + } + + final void shutdownStreams(int i) { + anInt5828++; + input.detachInput(0); + int i_2_ = 29 / ((-25 - i) / 38); + output.detachOutput(-21179); + } + + static final void method1708(int i, int i_3_, int i_4_, int i_5_, byte i_6_, SceneNode class348_sub9) { + anInt5830++; + if (class348_sub9.anInt6685 != -1 || class348_sub9.anIntArray6697 != null) { + int i_7_ = 0; + int i_8_ = ((class348_sub9.anInt6677 * Component192.aClass348_Sub51_3959.aClass239_Sub26_7234.method1838(-32350)) >> 8); + if (class348_sub9.anInt6698 >= i_3_) { + if (class348_sub9.anInt6678 > i_3_) i_7_ += -i_3_ + class348_sub9.anInt6678; + } else i_7_ += -class348_sub9.anInt6698 + i_3_; + if (i_5_ <= class348_sub9.anInt6687) { + if (class348_sub9.anInt6689 > i_5_) i_7_ += -i_5_ + class348_sub9.anInt6689; + } else i_7_ += -class348_sub9.anInt6687 + i_5_; + if (class348_sub9.anInt6694 == 0 || (-256 + i_7_ > class348_sub9.anInt6694) || Component192.aClass348_Sub51_3959.aClass239_Sub26_7234.method1838(-32350) == 0 || class348_sub9.anInt6693 != i_4_) { + if (class348_sub9.aClass348_Sub16_Sub5_6676 != null) { + PlayerState.aClass348_Sub16_Sub4_7065.method2880(class348_sub9.aClass348_Sub16_Sub5_6676); + class348_sub9.aClass348_Sub19_Sub1_6686 = null; + class348_sub9.aClass348_Sub16_Sub5_6676 = null; + class348_sub9.aClass348_Sub10_6688 = null; + } + if (class348_sub9.aClass348_Sub16_Sub5_6673 != null) { + PlayerState.aClass348_Sub16_Sub4_7065.method2880(class348_sub9.aClass348_Sub16_Sub5_6673); + class348_sub9.aClass348_Sub16_Sub5_6673 = null; + class348_sub9.aClass348_Sub10_6683 = null; + class348_sub9.aClass348_Sub19_Sub1_6692 = null; + } + } else { + i_7_ -= 256; + if (i_7_ < 0) i_7_ = 0; + int i_9_ = ((class348_sub9.anInt6694 + -i_7_) * i_8_ / class348_sub9.anInt6694); + Component72.localPlayer.method2436((byte) 100); + if (i_6_ == -78) { + int i_10_ = 8192; + int i_11_ = (-i_3_ + ((class348_sub9.anInt6678 + class348_sub9.anInt6698) / 2)); + int i_12_ = (-i_5_ + ((class348_sub9.anInt6687 - -class348_sub9.anInt6689) / 2)); + if (i_11_ != 0 || i_12_ != 0) { + int i_13_ = ((-Component298.anInt4638 + -(int) (Math.atan2(i_11_, i_12_) * 2607.5945876176133) + -4096) & 0x3fff); + if (i_13_ > 8192) i_13_ = 16384 - i_13_; + int i_14_; + if (i_7_ <= 0) i_14_ = 8192; + else if (i_7_ < 4096) i_14_ = 8192 + 8192 * i_7_ / 4096; + else i_14_ = 16384; + i_10_ = ((16384 - i_14_ >> 1) + i_14_ * i_13_ / 8192); + } + if ((class348_sub9.aClass348_Sub16_Sub5_6676) != null) { + class348_sub9.aClass348_Sub16_Sub5_6676.method2915(i_9_); + class348_sub9.aClass348_Sub16_Sub5_6676.method2909(i_10_); + } else if (class348_sub9.anInt6685 >= 0) { + int i_15_ = ((class348_sub9.anInt6681 == 256 && (class348_sub9.anInt6696 == 256)) ? 256 : (Component40.method2257(class348_sub9.anInt6681, class348_sub9.anInt6696, (byte) -120))); + if (class348_sub9.aBoolean6674) { + if ((class348_sub9.aClass348_Sub10_6688) == null) class348_sub9.aClass348_Sub10_6688 = (NodeSub10.method2793(Component323.aClass45_5878, (class348_sub9.anInt6685))); + if ((class348_sub9.aClass348_Sub10_6688) != null) { + if ((class348_sub9.aClass348_Sub19_Sub1_6686) == null) class348_sub9.aClass348_Sub19_Sub1_6686 = class348_sub9.aClass348_Sub10_6688.method2791(new int[]{22050}); + if ((class348_sub9.aClass348_Sub19_Sub1_6686) != null) { + NodeSub16Sub5 class348_sub16_sub5 = (NodeSub16Sub5.method2911((class348_sub9.aClass348_Sub19_Sub1_6686), i_15_, i_9_ << 6, i_10_)); + class348_sub16_sub5.method2917(-1); + PlayerState.aClass348_Sub16_Sub4_7065.method2883(class348_sub16_sub5); + class348_sub9.aClass348_Sub16_Sub5_6676 = class348_sub16_sub5; + } + } + } else { + Component277 class317 = Component277.method2372(Component30.aClass45_1878, (class348_sub9.anInt6685), 0); + if (class317 != null) { + NodeSub19Sub1 class348_sub19_sub1 = class317.method2369().method2944(DisplayModeInfo.aClass163_1050); + NodeSub16Sub5 class348_sub16_sub5 = (NodeSub16Sub5.method2911(class348_sub19_sub1, i_15_, i_9_ << 6, i_10_)); + class348_sub16_sub5.method2917(-1); + PlayerState.aClass348_Sub16_Sub4_7065.method2883(class348_sub16_sub5); + class348_sub9.aClass348_Sub16_Sub5_6676 = class348_sub16_sub5; + } + } + } + do { + if ((class348_sub9.aClass348_Sub16_Sub5_6673) == null) { + if ((class348_sub9.anIntArray6697 != null) && (class348_sub9.anInt6670 -= i) <= 0) { + int i_16_ = (((class348_sub9.anInt6681) == 256 && (class348_sub9.anInt6696) == 256) ? 256 : ((class348_sub9.anInt6696) + (int) (Math.random() * (double) (-(class348_sub9.anInt6696) + (class348_sub9.anInt6681))))); + if (class348_sub9.aBoolean6699) { + if ((class348_sub9.aClass348_Sub10_6683) == null) { + int i_17_ = (int) ((double) (class348_sub9.anIntArray6697).length * Math.random()); + class348_sub9.aClass348_Sub10_6683 = (NodeSub10.method2793(Component323.aClass45_5878, (class348_sub9.anIntArray6697[i_17_]))); + } + if ((class348_sub9.aClass348_Sub10_6683) != null) { + if ((class348_sub9.aClass348_Sub19_Sub1_6692) == null) class348_sub9.aClass348_Sub19_Sub1_6692 = (class348_sub9.aClass348_Sub10_6683.method2791(new int[]{22050})); + if ((class348_sub9.aClass348_Sub19_Sub1_6692) != null) { + NodeSub16Sub5 class348_sub16_sub5 = (NodeSub16Sub5.method2911((class348_sub9.aClass348_Sub19_Sub1_6692), i_16_, i_9_ << 6, i_10_)); + class348_sub16_sub5.method2917(0); + PlayerState.aClass348_Sub16_Sub4_7065.method2883(class348_sub16_sub5); + class348_sub9.aClass348_Sub16_Sub5_6673 = class348_sub16_sub5; + class348_sub9.anInt6670 = ((int) ((double) ((class348_sub9.anInt6668) - (class348_sub9.anInt6680)) * Math.random()) + (class348_sub9.anInt6680)); + } + } + } else { + int i_18_ = (int) (Math.random() * (double) (class348_sub9.anIntArray6697).length); + Component277 class317 = Component277.method2372((Component30.aClass45_1878), (class348_sub9.anIntArray6697[i_18_]), 0); + if (class317 == null) break; + NodeSub19Sub1 class348_sub19_sub1 = (class317.method2369().method2944(DisplayModeInfo.aClass163_1050)); + NodeSub16Sub5 class348_sub16_sub5 = (NodeSub16Sub5.method2911(class348_sub19_sub1, i_16_, i_9_ << 6, i_10_)); + class348_sub16_sub5.method2917(0); + PlayerState.aClass348_Sub16_Sub4_7065.method2883(class348_sub16_sub5); + class348_sub9.anInt6670 = ((int) ((double) (-(class348_sub9.anInt6680) + (class348_sub9.anInt6668)) * Math.random()) + (class348_sub9.anInt6680)); + class348_sub9.aClass348_Sub16_Sub5_6673 = class348_sub16_sub5; + } + break; + } + } else { + class348_sub9.aClass348_Sub16_Sub5_6673.method2915(i_9_); + class348_sub9.aClass348_Sub16_Sub5_6673.method2909(i_10_); + if (!class348_sub9.aClass348_Sub16_Sub5_6673.isLinked((byte) 4)) { + class348_sub9.aClass348_Sub10_6683 = null; + class348_sub9.aClass348_Sub19_Sub1_6692 = null; + class348_sub9.aClass348_Sub16_Sub5_6673 = null; + } + } + } while (false); + } + } + } + } + + final void close(byte i) { + anInt5839++; + try { + socket.close(); + } catch (IOException ioexception) { + /* empty */ + } + input.closeAndJoin(15984); + if (i == 36) output.closeAndJoin((byte) -99); + } + + final int readBytes(int i, int i_19_, byte i_20_, byte[] is) throws IOException { + int i_21_ = 84 / ((-56 - i_20_) / 47); + anInt5831++; + return input.method3617(i, i_19_, 0, is); + } + + final boolean availableAtLeast(int i, int i_22_) throws IOException { + if (i_22_ <= 91) input = null; + anInt5838++; + return input.hasBytes(i, false); + } + + TcpSocketStream(Socket socket, int i) throws IOException { + this.socket = socket; + socket.setSoTimeout(30000); + socket.setTcpNoDelay(true); + input = new Component239(socket.getInputStream(), i); + output = new Component222(socket.getOutputStream(), i); + } + + protected final void finalize() { + anInt5835++; + close((byte) 36); + } +} diff --git a/client/nodes/CacheNode.java b/client/nodes/CacheNode.java new file mode 100644 index 000000000..8fe107d28 --- /dev/null +++ b/client/nodes/CacheNode.java @@ -0,0 +1,94 @@ +/* CacheNode - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub42_Sub8` (JODE-obfuscated). + * Abstract HashNode subclass used as a cacheable, indexed entry. Declares getValue(Object getter) / isSoft(contains); subclasses CacheNode_Sub1/_Sub2. + */ + +abstract class CacheNode extends HashNode { + int weight; + static int anInt9546; + static int anInt9547; + static int anInt9548; + static int anInt9549; + static Component183 aClass114_9550 = new Component183(109, 7); + static int anInt9551; + static Component183 aClass114_9552 = new Component183(72, 0); + static StringCache aClass351_9553 = new StringCache(36, 7); + static String aString9554; + static short aShort9555 = 1; + + abstract Object getValue(int i); + + static final boolean method3194(int i, int i_0_, byte i_1_) { + anInt9551++; + if (i_1_ <= 118) method3196(122, -41); + return false; + } + + abstract boolean isSoft(int i); + + static final boolean method3196(int i, int i_2_) { + if (i_2_ >= -39) return false; + anInt9546++; + return i == 3 || i == 4 || i == 5 || i == 6; + } + + CacheNode(int i) { + this.weight = i; + } + + static final boolean method3197(int i, byte i_3_) { + anInt9549++; + if (i_3_ != 56) aClass114_9552 = null; + return i == 7 || i == 9; + } + + static final void method3198(boolean bool, byte i) { + anInt9547++; + if (i != -45) aShort9555 = (short) -74; + if (bool) { + if (r.anInt9721 != -1) DisplayModeManagerContainer194.method235(r.anInt9721, (byte) -113); + for (NodeSub41 class348_sub41 = (NodeSub41) Component15.aClass356_4915.first(0); class348_sub41 != null; class348_sub41 = ((NodeSub41) Component15.aClass356_4915.next(0))) { + if (!class348_sub41.isLinked((byte) 4)) { + class348_sub41 = ((NodeSub41) Component15.aClass356_4915.first(i ^ ~0x2c)); + if (class348_sub41 == null) break; + } + Component162.method1118(true, false, class348_sub41, 2533); + } + r.anInt9721 = -1; + Component15.aClass356_4915 = new LruCache(8); + DisplayModeManagerContainer153.method882((byte) 11); + r.anInt9721 = DebugPanic.anInt4737; + Component339.method1713(false, 520); + Component160.method3466(100); + ClientScriptExecutor.runInterfaceScripts(r.anInt9721); + } + DisplayModeManagerContainer369.aBoolean2895 = false; + DisplayModeManagerContainer282.username = DisplayModeManagerContainer51.password = ""; + Component195.method1448(-56); + Component149.anInt4458 = -1; + Component373.method338(i + 45, HashNodeSub16Sub1.anInt10447); + Component72.localPlayer = new Player(); + Component72.localPlayer.x = 512 * AbstractShaderSub4.anInt7319 / 2; + Component72.localPlayer.anIntArray10320[0] = AbstractShaderSub4.anInt7319 / 2; + Component72.localPlayer.y = 512 * ParametricDefinition.anInt9109 / 2; + Component72.localPlayer.anIntArray10317[0] = ParametricDefinition.anInt9109 / 2; + WaterSurfaceShader.anInt6246 = Component317.anInt8685 = 0; + if (DefinitionSub21.cameraMode == 2) { + WaterSurfaceShader.anInt6246 = NodeSub35.anInt6981 << 9; + Component317.anInt8685 = Component300.anInt3550 << 9; + } else NodeSub21.method2954((byte) 62); + DisplayModeManagerContainer154.method773(true); + } + + public static void method3199(int i) { + aClass114_9550 = null; + if (i < 17) method3196(60, -85); + aClass114_9552 = null; + aClass351_9553 = null; + aString9554 = null; + } +} diff --git a/client/nodes/HashNode.java b/client/nodes/HashNode.java new file mode 100644 index 000000000..f88d9dbab --- /dev/null +++ b/client/nodes/HashNode.java @@ -0,0 +1,66 @@ +/* HashNode - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub42` (JODE-obfuscated). + * Node used inside HashTable chains. Chain prev/next ({@link #previous}/{@link #next}); + * {@link #accessAge} is MRU age (NodeCache increments it) — the lookup key is {@link Node#key}. + */ +class HashNode extends Node { + /** MRU / access counter used by NodeCache eviction; not the hash key. */ + long accessAge; + static Component245 aClass2_7058; + static int anInt7059 = 0; + /** Previous in the HashTable sentinel ring. */ + HashNode previous; + static int anInt7061; + static int anInt7062; + /** Next in the HashTable sentinel ring. */ + HashNode next; + static int anInt7064; + + public static void method3161(int i) { + if (i != 0) method3161(-27); + aClass2_7058 = null; + } + + final void unlink(boolean bool) { + anInt7064++; + if (bool != true) method3163((byte) 50); + if (this.previous != null) { + this.previous.next = this.next; + this.next.previous = this.previous; + this.previous = null; + this.next = null; + } + } + + static final void method3163(byte i) { + ShaderCompilerSub1.anInt6513 = 0; + anInt7062++; + if (i == -114) { + for (int i_0_ = 0; i_0_ < 2048; i_0_++) { + Component101.aClass348_Sub49Array2105[i_0_] = null; + Component293.aByteArray3300[i_0_] = (byte) 1; + NpcDefinition.aClass359Array6802[i_0_] = null; + } + } + } + + /** True when linked in the HashTable chain (not Node list). */ + final boolean isChainLinked(byte i) { + anInt7061++; + if (this.previous == null) return false; + if (i != 1) unlink(false); + return true; + } + + public HashNode() { + /* empty */ + } + + static { + aClass2_7058 = new Component245(); + } +} diff --git a/client/nodes/HashNodeSub1.java b/client/nodes/HashNodeSub1.java new file mode 100644 index 000000000..b311787f9 --- /dev/null +++ b/client/nodes/HashNodeSub1.java @@ -0,0 +1,94 @@ +/* HashNodeSub1 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class HashNodeSub1 +/** + * RENAMED from `Class348_Sub42_Sub1` (JODE-obfuscated). + * Evidence: subclass of HashNode (hierarchy) + */ extends HashNode { + static int anInt9488; + static int anInt9489; + static int anInt9490; + static float[] aFloatArray9491; + static int anInt9492 = 0; + static int anInt9493; + private LruCache aClass356_9494; + static boolean[][] aBooleanArrayArray9495; + static int anInt9496; + static int anInt9497; + + public static void method3165(byte i) { + if (i > 39) { + aFloatArray9491 = null; + aBooleanArrayArray9495 = null; + } + } + + final int method3166(int i, int i_0_, byte i_1_) { + anInt9490++; + if (aClass356_9494 == null) return i_0_; + NodeSub35 class348_sub35 = (NodeSub35) aClass356_9494.get(i, -6008); + if (i_1_ < 91) return 72; + if (class348_sub35 == null) return i_0_; + return class348_sub35.intValue; + } + + private final void method3167(int i, Buffer class348_sub49, byte i_2_) { + if (i_2_ == -86) { + anInt9489++; + if (i == 249) { + int i_3_ = class348_sub49.readUnsignedByte(255); + if (aClass356_9494 == null) { + int i_4_ = Component373.nextPowerOfTwo(i_3_, (byte) 108); + aClass356_9494 = new LruCache(i_4_); + } + for (int i_5_ = 0; i_5_ < i_3_; i_5_++) { + boolean bool = class348_sub49.readUnsignedByte(i_2_ + 341) == 1; + int i_6_ = class348_sub49.readMedium(-1); + Node class348; + if (bool) class348 = new NodeSub50(class348_sub49.readString((byte) -39)); + else class348 = new NodeSub35(class348_sub49.readInt((byte) -126)); + aClass356_9494.put((byte) 29, i_6_, class348); + } + } + } + } + + final void method3168(Buffer class348_sub49, byte i) { + for (; ; ) { + int i_7_ = class348_sub49.readUnsignedByte(255); + if (i_7_ == 0) break; + method3167(i_7_, class348_sub49, (byte) -86); + } + anInt9497++; + if (i >= -59) method3169(-56, -67); + } + + public HashNodeSub1() { + /* empty */ + } + + static final boolean method3169(int i, int i_8_) { + if (i_8_ != 0) return true; + anInt9496++; + for (MenuEntry class348_sub42_sub12 = ((MenuEntry) DefinitionSub4.menuEntries.first(4)); class348_sub42_sub12 != null; class348_sub42_sub12 = (MenuEntry) DefinitionSub4.menuEntries.next((byte) 99)) { + if (WaterShaderSub8.method3549(class348_sub42_sub12.opcode, (byte) -28) && (long) i == (class348_sub42_sub12.identifier)) return true; + } + return false; + } + + final String method3170(int i, String string, int i_9_) { + anInt9493++; + if (aClass356_9494 == null) return string; + if (i != -250) method3165((byte) 0); + NodeSub50 class348_sub50 = (NodeSub50) aClass356_9494.get(i_9_, -6008); + if (class348_sub50 == null) return string; + return class348_sub50.stringValue; + } + + static { + aFloatArray9491 = new float[4]; + aBooleanArrayArray9495 = new boolean[][]{new boolean[13], {false, false, true, true, true, true, true, false, false, false, false, false, true}, {true, true, true, true, true, true, false, false, false, false, false, false, false}, {true, true, true, false, false, true, true, true, false, false, false, false, false}, {true, false, false, false, false, true, true, true, false, false, false, false, false}, {false, false, true, true, true, true, false, false, false, false, false, false, false}, {false, true, true, true, true, true, false, false, false, false, false, false, true}, {false, true, true, true, true, true, true, true, false, false, false, false, true}, {true, true, false, false, false, false, false, true, false, false, false, false, false}, {true, true, true, true, true, false, false, false, true, true, false, false, false}, {true, false, false, false, true, true, true, true, true, true, false, false, false}, {true, false, true, true, true, true, true, true, false, false, true, true, false}, {true, true, true, true, true, true, true, true, true, true, true, true, true}, new boolean[13], {true, true, true, true, true, true, true, true, true, true, true, true, true}}; + } +} diff --git a/client/nodes/HashNodeSub10.java b/client/nodes/HashNodeSub10.java new file mode 100644 index 000000000..feb6e037c --- /dev/null +++ b/client/nodes/HashNodeSub10.java @@ -0,0 +1,181 @@ +/* HashNodeSub10 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class HashNodeSub10 +/** + * RENAMED from `Class348_Sub42_Sub10` (JODE-obfuscated). + * Evidence: subclass of HashNode (hierarchy) + */ extends HashNode { + static int anInt9560; + static int anInt9561; + boolean aBoolean9562 = true; + static int anInt9563; + private String[] aStringArray9564; + private int[][] anIntArrayArray9565; + int[] anIntArray9566; + Component117 aClass355_9567; + static int anInt9568; + static int anInt9569; + static int anInt9570; + static Component80 aClass299_9571; + static int[] anIntArray9572; + static int anInt9573; + private int[] anIntArray9574; + static int anInt9575; + static int anInt9576; + static int activeOccluderCount = 0; + static int anInt9578; + + final void method3209(boolean bool) { + if (bool != false) activeOccluderCount = 26; + anInt9563++; + if (this.anIntArray9566 != null) { + for (int i = 0; this.anIntArray9566.length > i; i++) + this.anIntArray9566[i] = Component224.bitwiseOr((this.anIntArray9566[i]), 32768); + } + } + + final void method3210(byte i, int[] is, Buffer class348_sub49) { + while_221_: + do { + try { + anInt9560++; + int i_0_ = -107 / ((-71 - i) / 50); + if (anIntArray9574 != null) { + int i_1_ = 0; + for (; ; ) { + if (anIntArray9574.length <= i_1_) break while_221_; + if (i_1_ >= is.length) break; + int i_2_ = method3212(0, i_1_).anInt1945; + if (i_2_ > 0) class348_sub49.writeLongVar(i_2_, is[i_1_], (byte) 116); + i_1_++; + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("td.C(" + i + ',' + (is != null ? "{...}" : "null") + ',' + (class348_sub49 != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + static final void method3211(byte i) { + NpcComposition.aClient1367.tryLoadJagmisc(true); + anInt9569++; + NodeSub3.method2739(0); + Component156.anInt3699 = 0; + DefinitionSub36.aClass114_9456 = null; + NodeSub50.anInt7213 = 0; + Component339.aClass114_3145 = null; + Component80.aClass348_Sub49_Sub2_3813.offset = 0; + int i_3_ = -122 % ((i - 13) / 45); + SocketStream.aClass114_3133 = null; + DisplayModeManagerContainer50.method2296(-99); + DefinitionSub30.friendCount = 0; + Component47.aString863 = null; + NameFormatter.anInt496 = 0; + RequestProcessor.aClass19Array2261 = null; + Component15.anInt4930 = 0; + } + + final Component161 method3212(int i, int i_4_) { + anInt9561++; + if (i != 0) anIntArray9572 = null; + if (anIntArray9574 == null || i_4_ < 0 || anIntArray9574.length < i_4_) return null; + return NodeSub5.method2752(anIntArray9574[i_4_], 0); + } + + final int method3213(int i, int i_5_, boolean bool) { + anInt9576++; + if (bool != true) method3213(41, 104, true); + if (anIntArray9574 == null || i_5_ < 0 || i_5_ > anIntArray9574.length) return -1; + if (anIntArrayArray9565[i_5_] == null || i < 0 || (i > anIntArrayArray9565[i_5_].length)) return -1; + return anIntArrayArray9565[i_5_][i]; + } + + private final void method3214(int i, Buffer class348_sub49, int i_6_) { + if (i_6_ == 60) { + if (i != 1) { + if (i == 2) { + int i_7_ = class348_sub49.readUnsignedByte(255); + this.anIntArray9566 = new int[i_7_]; + for (int i_8_ = 0; i_8_ < i_7_; i_8_++) + this.anIntArray9566[i_8_] = class348_sub49.readUnsignedShort(i_6_ + 842397884); + } else if (i == 3) { + int i_9_ = class348_sub49.readUnsignedByte(i_6_ + 195); + anIntArrayArray9565 = new int[i_9_][]; + anIntArray9574 = new int[i_9_]; + for (int i_10_ = 0; i_9_ > i_10_; i_10_++) { + int i_11_ = class348_sub49.readUnsignedShort(842397944); + Component161 class138 = NodeSub5.method2752(i_11_, i_6_ + -60); + if (class138 != null) { + anIntArray9574[i_10_] = i_11_; + anIntArrayArray9565[i_10_] = new int[class138.anInt1944]; + for (int i_12_ = 0; (class138.anInt1944 > i_12_); i_12_++) + anIntArrayArray9565[i_10_][i_12_] = class348_sub49.readUnsignedShort(i_6_ + 842397884); + } + } + } else if (i == 4) this.aBoolean9562 = false; + } else aStringArray9564 = (DefinitionSub23.splitByChar('<', true, class348_sub49.readString((byte) -82))); + anInt9575++; + } + } + + public HashNodeSub10() { + /* empty */ + } + + final int method3215(byte i) { + anInt9570++; + if (i > -32) this.anIntArray9566 = null; + if (anIntArray9574 == null) return 0; + return anIntArray9574.length; + } + + final String method3216(Buffer class348_sub49, byte i) { + anInt9578++; + if (i < 33) method3219(-91); + StringBuffer stringbuffer = new StringBuffer(80); + if (anIntArray9574 != null) { + for (int i_13_ = 0; i_13_ < anIntArray9574.length; i_13_++) { + stringbuffer.append(aStringArray9564[i_13_]); + stringbuffer.append(this.aClass355_9567.method3472((class348_sub49.readLongVar((NodeSub5.method2752(anIntArray9574[i_13_], 0).anInt1943), 3060)), anIntArrayArray9565[i_13_], -1, method3212(0, i_13_))); + } + } + stringbuffer.append(aStringArray9564[aStringArray9564.length + -1]); + return stringbuffer.toString(); + } + + public static void method3217(byte i) { + if (i != 61) method3211((byte) -95); + aClass299_9571 = null; + anIntArray9572 = null; + } + + final void method3218(Buffer class348_sub49, int i) { + anInt9568++; + for (; ; ) { + int i_14_ = class348_sub49.readUnsignedByte(i ^ 0xff); + if (i_14_ == 0) break; + method3214(i_14_, class348_sub49, 60); + } + if (i != 0) method3217((byte) -66); + } + + final String method3219(int i) { + anInt9573++; + if (i < 66) aStringArray9564 = null; + StringBuffer stringbuffer = new StringBuffer(80); + if (aStringArray9564 == null) return ""; + stringbuffer.append(aStringArray9564[0]); + for (int i_15_ = 1; i_15_ < aStringArray9564.length; i_15_++) { + stringbuffer.append("..."); + stringbuffer.append(aStringArray9564[i_15_]); + } + return stringbuffer.toString(); + } + + static { + anIntArray9572 = new int[]{16, 32, 64, 128}; + } +} diff --git a/client/nodes/HashNodeSub13.java b/client/nodes/HashNodeSub13.java new file mode 100644 index 000000000..62c44acb5 --- /dev/null +++ b/client/nodes/HashNodeSub13.java @@ -0,0 +1,80 @@ +/* HashNodeSub13 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class HashNodeSub13 +/** + * RENAMED from `Class348_Sub42_Sub13` (JODE-obfuscated). + * Evidence: subclass of HashNode (hierarchy) + */ extends HashNode { + static int anInt9613; + static int anInt9614; + int anInt9615; + static boolean aBoolean9616 = false; + String aString9617; + static int anInt9618; + static int anInt9619; + static int anInt9620; + HashTable aClass107_9621; + + static final void method3232(double d, byte i) { + if (i <= -54) { + if (d != Component201.aDouble8713) { + for (int i_0_ = 0; i_0_ < 256; i_0_++) { + int i_1_ = (int) (255.0 * Math.pow((double) i_0_ / 255.0, d)); + DisplayModeManagerContainer58.anIntArray10266[i_0_] = Math.min(i_1_, 255); + } + Component201.aDouble8713 = d; + } + anInt9618++; + } + } + + final boolean method3233(MenuEntry class348_sub42_sub12, int i) { + anInt9613++; + boolean bool = true; + class348_sub42_sub12.unlink(true); + MenuEntry class348_sub42_sub12_2_ = ((MenuEntry) this.aClass107_9621.first(-74)); + while (class348_sub42_sub12_2_ != null) { + if (RenderableSub2.method2496(class348_sub42_sub12_2_.opcode, class348_sub42_sub12.opcode, true)) { + Component325.method721(class348_sub42_sub12_2_, class348_sub42_sub12, -1); + this.anInt9615++; + return !bool; + } + class348_sub42_sub12_2_ = (MenuEntry) this.aClass107_9621.next((byte) 48); + bool = false; + } + this.aClass107_9621.add(true, class348_sub42_sub12); + int i_3_ = 80 % ((i - -81) / 33); + this.anInt9615++; + return bool; + } + + final boolean method3234(byte i, MenuEntry class348_sub42_sub12) { + anInt9614++; + int i_4_ = 41 % ((-30 - i) / 39); + int i_5_ = method3235(-17937); + class348_sub42_sub12.unlink(true); + this.anInt9615--; + if (this.anInt9615 == 0) { + this.unlink((byte) 112); + this.unlink(true); + DisplayModeManagerContainer345.anInt166--; + Component293.aClass60_3301.putOne(this, class348_sub42_sub12.groupKey, (byte) -128); + return false; + } + return i_5_ != method3235(-17937); + } + + HashNodeSub13(String string) { + this.aString9617 = string; + this.aClass107_9621 = new HashTable(); + } + + final int method3235(int i) { + if (i != -17937) return 104; + anInt9619++; + if ((this.aClass107_9621.sentinel) != this.aClass107_9621.sentinel.next) return ((MenuEntry) this.aClass107_9621.sentinel.next).opcode; + return -1; + } +} diff --git a/client/nodes/HashNodeSub14.java b/client/nodes/HashNodeSub14.java new file mode 100644 index 000000000..a0a020d4d --- /dev/null +++ b/client/nodes/HashNodeSub14.java @@ -0,0 +1,195 @@ +/* HashNodeSub14 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class HashNodeSub14 +/** + * RENAMED from `Class348_Sub42_Sub14` (JODE-obfuscated). + * Evidence: subclass of HashNode (hierarchy) + */ extends HashNode { + static byte[] aByteArray9622 = {31, -117, 8, 0, 0, 0, 0, 0, 0, 0, -5, 127, -29, -1, 109, 6, 103, 6, 14, 54, 54, 118, 54, 86, 14, 118, 118, 118, 78, 78, 14, 46, 30, 17, 94, 30, 110, 110, 30, 73, 33, 97, 126, 17, 89, 41, 121, 57, 89, 41, 25, 25, 5, 21, 61, 117, 5, 37, 29, 101, 25, 25, 13, 115, 77, 29, 3, 67, 19, 19, 19, 121, 117, 75, 91, 11, 35, 27, 61, 99, 19, 35, -112, 33, -116, -100, -100, -100, 60, -36, 60, 18, -68, -68, 18, 70, -118, 50, -118, 70, 36, -125, -1, 7, 24, 68, 56, 24, 24, 25, 24, 89, 24, -107, 24, -104, 4, 25, -103, 5, 25, 89, -108, 24, -2, 31, 97, -112, 103, 96, 96, 100, 101, 4, 3, 6, 40, 96, 100, 98, 102, 97, 101, 99, -25, -32, -28, -30, 6, 42, -40, 42, -64, -64, -60, -56, -52, -52, -60, -62, -52, -54, -54, -62, 2, -108, -83, 5, -54, 51, -80, 8, -78, 10, 41, 26, 58, -78, 9, 7, 38, -78, 43, 21, -118, 24, 53, 78, 92, -56, -95, -20, -76, -15, -96, 104, -48, -59, 15, 42, -58, 73, 69, 77, -100, 92, 98, -30, 18, -110, 82, -86, 106, -22, 26, -102, 90, 38, -90, 102, -26, 22, -106, 86, -50, 46, -82, 110, -18, 30, -98, 94, -63, 33, -95, 97, -31, 17, -111, 81, -55, 41, -87, 105, -23, 25, -103, 89, -59, 37, -91, 101, -27, 21, -107, 85, -51, 45, -83, 109, -19, 29, -99, 93, -109, 38, 79, -103, 58, 109, -6, -116, -103, -77, 22, 45, 94, -78, 116, -39, -14, 21, 43, 87, 109, -38, -68, 101, -21, -74, -19, 59, 118, -18, 58, 116, -8, -56, -47, 99, -57, 79, -100, 60, 117, -23, -14, -107, -85, -41, -82, -33, -72, 121, -21, -31, -93, -57, 79, -98, 62, 123, -2, -30, -27, -85, -113, -97, 62, 127, -7, -6, -19, -5, -113, -97, -65, 64, -2, 98, 100, 96, 102, -124, 1, -84, -2, 18, 4, -6, -117, -119, -123, -123, -103, -123, 29, -28, 47, 70, -90, 114, -112, 2, 65, 22, 86, 69, 67, 54, 33, -57, 64, -10, -60, 66, 97, 37, -93, 70, 14, 17, -89, -119, 11, 55, 30, -28, 84, 54, 14, -6, 32, -102, 84, 116, -111, 75, 76, -59, -28, -95, -22, 71, -112, -41, -64, 62, 35, -50, 99, 77, 100, -7, 12, -18, 49, -124, -65, 110, 49, -16, -79, 48, 2, -29, 15, -24, 78, 6, 6, 123, -122, -97, -1, -70, 52, 22, -16, -49, 127, -79, -88, -21, -1, 77, 0, 38, 27, -28, 10, 110, 2, 0, 0}; + static int anInt9623; + static int anInt9624; + String aString9625; + static int[] anIntArray9626 = new int[50]; + int anInt9627; + int anInt9628; + NodeList aClass262_9629; + static int anInt9630; + int anInt9631; + String aString9632; + static int anInt9633; + int anInt9634 = -1; + int anInt9635; + static int anInt9636; + static int anInt9637; + static int anInt9638; + boolean aBoolean9639 = true; + int anInt9640; + static int anInt9641; + /** Queue of pending {@link FriendLoginMessage} chat tips. */ + static Component315 friendLoginMessages = new Component315(); + int anInt9643; + int anInt9644; + static int anInt9645 = 1; + + final boolean method3236(int[] is, int i, int i_0_, int i_1_, byte i_2_) { + anInt9623++; + for (NodeSub18 class348_sub18 = (NodeSub18) this.aClass262_9629.first(4); class348_sub18 != null; class348_sub18 = (NodeSub18) this.aClass262_9629.next((byte) 117)) { + if (class348_sub18.method2935(i_0_, i, i_1_, true)) { + class348_sub18.method2940(i_0_, true, is, i); + return true; + } + } + if (i_2_ != -28) method3244(123, -16, 116); + return false; + } + + public static void method3237(byte i) { + friendLoginMessages = null; + anIntArray9626 = null; + aByteArray9622 = null; + if (i != 42) anInt9645 = -112; + } + + final boolean method3238(byte i, int i_3_, int i_4_) { + int i_5_ = 113 % ((-26 - i) / 46); + anInt9641++; + for (NodeSub18 class348_sub18 = (NodeSub18) this.aClass262_9629.first(4); class348_sub18 != null; class348_sub18 = (NodeSub18) this.aClass262_9629.next((byte) 117)) { + if (class348_sub18.method2934(3589, i_3_, i_4_)) return true; + } + return false; + } + + final boolean method3239(boolean bool, int i, int i_6_, int[] is) { + anInt9638++; + if (bool != true) method3238((byte) 9, -26, -68); + for (NodeSub18 class348_sub18 = (NodeSub18) this.aClass262_9629.first(4); class348_sub18 != null; class348_sub18 = (NodeSub18) this.aClass262_9629.next((byte) 126)) { + if (class348_sub18.method2939(i_6_, 2, i)) { + class348_sub18.method2937(i_6_, i, -3069, is); + return true; + } + } + return false; + } + + final void method3240(byte i) { + this.anInt9643 = 12800; + this.anInt9644 = 12800; + this.anInt9627 = 0; + anInt9636++; + this.anInt9635 = 0; + if (i != 37) method3244(30, -85, -43); + for (NodeSub18 class348_sub18 = (NodeSub18) this.aClass262_9629.first(i + -33); class348_sub18 != null; class348_sub18 = (NodeSub18) this.aClass262_9629.next((byte) 52)) { + if (this.anInt9643 > class348_sub18.anInt6812) this.anInt9643 = class348_sub18.anInt6812; + if (class348_sub18.anInt6813 > this.anInt9627) this.anInt9627 = class348_sub18.anInt6813; + if (this.anInt9635 < class348_sub18.anInt6819) this.anInt9635 = class348_sub18.anInt6819; + if (class348_sub18.anInt6809 < this.anInt9644) this.anInt9644 = class348_sub18.anInt6809; + } + } + + static final void method3241(int i, byte i_7_, GraphicsToolkit var_ha) { + anInt9637++; + if (!DefinitionSub23.aBoolean9307 || !Component234.aBoolean351) HashNodeSub10.activeOccluderCount = 0; + else { + if (DefinitionSub26.aBoolean9352) ItemDefinition.aLong2789 = Component230.aClass47_5262.method446(1); + Component274.occludedWallCount = 0; + DisplayModeManagerContainer64.occludedGroundCount = 0; + DefinitionSub4.occludedCpCount = 0; + int[] is = var_ha.Y(); + DebugPanicSub2.anInt8498 = (int) ((float) is[3] / 3.0F); + Component211.anInt1962 = (int) ((float) is[2] / 3.0F); + var_ha.method3632(LoggedOutDefinition.anIntArray9436); + if ((Component314.anInt3872 != (int) ((float) LoggedOutDefinition.anIntArray9436[0] / 3.0F)) || Component328.anInt1480 != (int) ((float) LoggedOutDefinition.anIntArray9436[1] / 3.0F)) { + Component328.anInt1480 = (int) ((float) LoggedOutDefinition.anIntArray9436[1] / 3.0F); + Component314.anInt3872 = (int) ((float) LoggedOutDefinition.anIntArray9436[0] / 3.0F); + DisplayModeManagerContainer207.anInt9759 = Component328.anInt1480 >> 1; + DisplayModeManagerContainer194.anIntArray5091 = new int[Component328.anInt1480 * Component314.anInt3872]; + Component325.anInt1202 = Component314.anInt3872 >> 1; + } + DefinitionSub4.aClass101_9114 = var_ha.method3640(); + HashNodeSub10.activeOccluderCount = 0; + int i_8_ = 0; + if (i_7_ < 37) method3241(-25, (byte) 65, null); + for (/**/; RadixText.occluderCountA > i_8_; i_8_++) + RenderableSub2.method2498(Component335.aClass338Array2034[i_8_], var_ha, (byte) -112, i); + for (int i_9_ = 0; i_9_ < Component325.occluderCountB; i_9_++) + RenderableSub2.method2498((DisplayModeManagerContainer104.aClass338Array10330[i_9_]), var_ha, (byte) -127, i); + for (int i_10_ = 0; i_10_ < NodeSub44.anInt7101; i_10_++) + RenderableSub2.method2498(InterfaceRenderer.aClass338Array5060[i_10_], var_ha, (byte) -128, i); + Component241.occludedPixelCount = 0; + if (HashNodeSub10.activeOccluderCount > 0) { + int i_11_ = DisplayModeManagerContainer194.anIntArray5091.length; + int i_12_ = i_11_ + -i_11_ & 0x7; + int i_13_ = 0; + while (i_13_ < i_12_) { + DisplayModeManagerContainer194.anIntArray5091[i_13_++] = 2147483647; + DisplayModeManagerContainer194.anIntArray5091[i_13_++] = 2147483647; + DisplayModeManagerContainer194.anIntArray5091[i_13_++] = 2147483647; + DisplayModeManagerContainer194.anIntArray5091[i_13_++] = 2147483647; + DisplayModeManagerContainer194.anIntArray5091[i_13_++] = 2147483647; + DisplayModeManagerContainer194.anIntArray5091[i_13_++] = 2147483647; + DisplayModeManagerContainer194.anIntArray5091[i_13_++] = 2147483647; + DisplayModeManagerContainer194.anIntArray5091[i_13_++] = 2147483647; + } + while (i_11_ > i_13_) DisplayModeManagerContainer194.anIntArray5091[i_13_++] = 2147483647; + Component360.anInt4319 = 1; + for (int i_14_ = 0; (i_14_ < HashNodeSub10.activeOccluderCount); i_14_++) { + Component103 class338 = HashNodeSub19.aClass338Array9700[i_14_]; + DefinitionSub29.method3125(class338.aShortArray4194[3], class338.aShortArray4183[0], class338.aShortArray4194[1], class338.aShortArray4188[3], class338.aShortArray4188[1], (byte) -105, class338.aShortArray4183[1], class338.aShortArray4188[0], class338.aShortArray4194[0], class338.aShortArray4183[3]); + DefinitionSub29.method3125(class338.aShortArray4194[3], class338.aShortArray4183[1], class338.aShortArray4194[2], class338.aShortArray4188[3], class338.aShortArray4188[2], (byte) -118, class338.aShortArray4183[2], class338.aShortArray4188[1], class338.aShortArray4194[1], class338.aShortArray4183[3]); + } + Component360.anInt4319 = 2; + } + if (DefinitionSub26.aBoolean9352) WaterShaderProgram.occludeCalcNanos = (Component230.aClass47_5262.method446(1) + -ItemDefinition.aLong2789); + } + } + + final boolean method3242(int[] is, int i, int i_15_, int i_16_) { + anInt9624++; + for (NodeSub18 class348_sub18 = (NodeSub18) this.aClass262_9629.first(4); class348_sub18 != null; class348_sub18 = (NodeSub18) this.aClass262_9629.next((byte) 115)) { + if (class348_sub18.method2934(3589, i_16_, i_15_)) { + class348_sub18.method2940(i_15_, true, is, i_16_); + return true; + } + } + if (i <= 59) method3242(null, -121, 72, 68); + return false; + } + + static final void method3243(int i, ParticleSystem class348_sub47) { + anInt9630++; + DefinitionSub13.aClass262_9201.addTail(class348_sub47, -20180); + class348_sub47.anInt7119 = class348_sub47.aClass348_Sub49_Sub2_7116.offset; + class348_sub47.aClass348_Sub49_Sub2_7116.offset = 0; + NodeSub34.anInt6969 += class348_sub47.anInt7119; + int i_17_ = -41 / ((i - 79) / 37); + } + + static final void method3244(int i, int i_18_, int i_19_) { + NodeSub5.method2755(-1, i_18_, i); + anInt9633++; + if (i_19_ <= 108) method3243(-47, null); + } + + HashNodeSub14(int i, String string, String string_20_, int i_21_, int i_22_, boolean bool, int i_23_, int i_24_) { + this.anInt9627 = 0; + this.anInt9631 = -1; + this.anInt9643 = 12800; + this.anInt9635 = 0; + this.anInt9644 = 12800; + try { + this.anInt9631 = i_23_; + this.anInt9640 = i_21_; + this.aString9625 = string; + this.aString9632 = string_20_; + this.anInt9634 = i_22_; + this.anInt9628 = i; + this.aBoolean9639 = bool; + if (this.anInt9631 == 255) this.anInt9631 = 0; + this.aClass262_9629 = new NodeList(); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("dfa.(" + i + ',' + (string != null ? "{...}" : "null") + ',' + (string_20_ != null ? "{...}" : "null") + ',' + i_21_ + ',' + i_22_ + ',' + bool + ',' + i_23_ + ',' + i_24_ + ')')); + } + } +} diff --git a/client/nodes/HashNodeSub16.java b/client/nodes/HashNodeSub16.java new file mode 100644 index 000000000..34867ee70 --- /dev/null +++ b/client/nodes/HashNodeSub16.java @@ -0,0 +1,162 @@ +/* HashNodeSub16 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +abstract class HashNodeSub16 +/** + * RENAMED from {@code Class348_Sub42_Sub16} (JODE-obfuscated). + * Base for JS5/on-demand archive download nodes (TCP or disk). + * {@link #incomplete} stays true until payload is fully received; + * {@link #priority} marks urgent (opcode 1) vs normal (opcode 0) requests. + */ extends HashNode { + static Component158 aClass21_9661; + static int anInt9662; + /** True for priority (urgent) requests. */ + boolean priority; + /** True until the full archive payload has been received. */ + volatile boolean incomplete = true; + static String aString9665 = null; + static int anInt9666; + /** Two-tick discard mark for completed non-priority requests. */ + boolean markedForDiscard; + static int anInt9668; + + public static void method3252(int i) { + aClass21_9661 = null; + aString9665 = null; + if (i != 353) aClass21_9661 = null; + } + + static final void method3253(int i, int i_0_, int i_1_, Class var_class) { + Component186 class357 = Component335.aClass357ArrayArrayArray2029[i][i_0_][i_1_]; + if (class357 != null) { + for (Component3 class148 = class357.aClass148_4396; class148 != null; class148 = class148.aClass148_2038) { + Component327 class318_sub1_sub3 = class148.aClass318_Sub1_Sub3_2040; + if (var_class.isAssignableFrom(class318_sub1_sub3.getClass()) && (class318_sub1_sub3.aShort8743 == i_0_) && (class318_sub1_sub3.aShort8750 == i_1_)) { + NodeSub46.method3320(class318_sub1_sub3, false); + break; + } + } + } + } + + static final void method3254(int i, int i_2_, int i_3_, Component269 class318_sub1_sub4, Component269 class318_sub1_sub4_4_) { + Component186 class357 = NodeSub46.method3321(i, i_2_, i_3_); + if (class357 != null) { + class357.aClass318_Sub1_Sub4_4406 = class318_sub1_sub4; + class357.aClass318_Sub1_Sub4_4403 = class318_sub1_sub4_4_; + int i_5_ = ShaderSub1.aSArray5191 == Component9.aSArray4142 ? 1 : 0; + if (class318_sub1_sub4.method2376(-109)) { + if (class318_sub1_sub4.method2377((byte) 122)) { + class318_sub1_sub4.aClass318_Sub1_6379 = AudioMixer.aClass318_Sub1Array3226[i_5_]; + AudioMixer.aClass318_Sub1Array3226[i_5_] = class318_sub1_sub4; + } else { + class318_sub1_sub4.aClass318_Sub1_6379 = Node.aClass318_Sub1Array4293[i_5_]; + Node.aClass318_Sub1Array4293[i_5_] = class318_sub1_sub4; + NodeSub16Sub2.aBoolean8870 = true; + } + } else { + class318_sub1_sub4.aClass318_Sub1_6379 = Component95.aClass318_Sub1Array1754[i_5_]; + Component95.aClass318_Sub1Array1754[i_5_] = class318_sub1_sub4; + } + if (class318_sub1_sub4_4_ != null) { + if (class318_sub1_sub4_4_.method2376(-118)) { + if (class318_sub1_sub4_4_.method2377((byte) 122)) { + class318_sub1_sub4_4_.aClass318_Sub1_6379 = AudioMixer.aClass318_Sub1Array3226[i_5_]; + AudioMixer.aClass318_Sub1Array3226[i_5_] = class318_sub1_sub4_4_; + } else { + class318_sub1_sub4_4_.aClass318_Sub1_6379 = Node.aClass318_Sub1Array4293[i_5_]; + Node.aClass318_Sub1Array4293[i_5_] = class318_sub1_sub4_4_; + NodeSub16Sub2.aBoolean8870 = true; + } + } else { + class318_sub1_sub4_4_.aClass318_Sub1_6379 = Component95.aClass318_Sub1Array1754[i_5_]; + Component95.aClass318_Sub1Array1754[i_5_] = class318_sub1_sub4_4_; + } + } + } + } + + /** + * Encodes {@code string[i..i_6_)} as CP1252 into {@code is} at {@code i_7_}. + * Unmappable chars become {@code '?'}. Returns bytes written. + */ + static final int encodeCp1252Into(int i, byte[] is, int i_6_, boolean bool, String string, int i_7_) { + try { + anInt9666++; + if (bool != false) return -119; + int i_8_ = -i + i_6_; + for (int i_9_ = 0; i_8_ > i_9_; i_9_++) { + int i_10_ = string.charAt(i_9_ + i); + if (i_10_ > 0 && i_10_ < 128 || i_10_ >= 160 && i_10_ <= 255) is[i_7_ + i_9_] = (byte) i_10_; + else if (i_10_ == 8364) is[i_9_ + i_7_] = (byte) -128; + else if (i_10_ == 8218) is[i_9_ + i_7_] = (byte) -126; + else if (i_10_ == 402) is[i_7_ - -i_9_] = (byte) -125; + else if (i_10_ != 8222) { + if (i_10_ != 8230) { + if (i_10_ != 8224) { + if (i_10_ == 8225) is[i_9_ + i_7_] = (byte) -121; + else if (i_10_ == 710) is[i_7_ + i_9_] = (byte) -120; + else if (i_10_ == 8240) is[i_7_ - -i_9_] = (byte) -119; + else if (i_10_ != 352) { + if (i_10_ == 8249) is[i_9_ + i_7_] = (byte) -117; + else if (i_10_ == 338) is[i_9_ + i_7_] = (byte) -116; + else if (i_10_ == 381) is[i_7_ + i_9_] = (byte) -114; + else if (i_10_ != 8216) { + if (i_10_ == 8217) is[i_7_ - -i_9_] = (byte) -110; + else if (i_10_ == 8220) is[i_7_ + i_9_] = (byte) -109; + else if (i_10_ == 8221) is[i_7_ + i_9_] = (byte) -108; + else if (i_10_ == 8226) is[i_7_ + i_9_] = (byte) -107; + else if (i_10_ != 8211) { + if (i_10_ == 8212) is[i_7_ + i_9_] = (byte) -105; + else if (i_10_ != 732) { + if (i_10_ != 8482) { + if (i_10_ != 353) { + if (i_10_ == 8250) is[i_7_ - -i_9_] = (byte) -101; + else if (i_10_ == 339) is[i_7_ - -i_9_] = (byte) -100; + else if (i_10_ != 382) { + if (i_10_ != 376) is[i_9_ + i_7_] = (byte) 63; + else is[i_7_ + i_9_] = (byte) -97; + } else is[i_7_ - -i_9_] = (byte) -98; + } else is[i_9_ + i_7_] = (byte) -102; + } else is[i_9_ + i_7_] = (byte) -103; + } else is[i_9_ + i_7_] = (byte) -104; + } else is[i_7_ - -i_9_] = (byte) -106; + } else is[i_7_ + i_9_] = (byte) -111; + } else is[i_7_ - -i_9_] = (byte) -118; + } else is[i_9_ + i_7_] = (byte) -122; + } else is[i_7_ - -i_9_] = (byte) -123; + } else is[i_7_ - -i_9_] = (byte) -124; + } + return i_8_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ffa.E(" + i + ',' + (is != null ? "{...}" : "null") + ',' + i_6_ + ',' + bool + ',' + (string != null ? "{...}" : "null") + ',' + i_7_ + ')')); + } + } + + static final int method3256(int i) { + anInt9662++; + if (NodeSub1.anIntArray6547 == null) return 0; + if (i != 2) aClass21_9661 = null; + return 2 * NodeSub1.anIntArray6547.length; + } + + abstract int getProgressPercent(int i); + + public HashNodeSub16() { + /* empty */ + } + + static final float[] method3258(int i, int i_11_, float[] fs) { + anInt9668++; + float[] fs_12_ = new float[i_11_]; + Component313.method1574(fs, 0, fs_12_, i, i_11_); + return fs_12_; + } + + abstract byte[] getData(int i); + + static { + aClass21_9661 = new Component158(); + } +} diff --git a/client/nodes/HashNodeSub16Sub1.java b/client/nodes/HashNodeSub16Sub1.java new file mode 100644 index 000000000..c7a44ccf8 --- /dev/null +++ b/client/nodes/HashNodeSub16Sub1.java @@ -0,0 +1,97 @@ +/* HashNodeSub16Sub1 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.util.Date; + +final class HashNodeSub16Sub1 +/** + * RENAMED from {@code Class348_Sub42_Sub16_Sub1} (JODE-obfuscated). + * JS5 TCP response node: accumulates 512-byte blocks into {@link #buffer} + * until {@link #incomplete} clears. {@link #padding} is the unused trailer + * length on the last block; {@link #blockPosition} tracks progress within + * the current 512-byte window (resets at 512). + */ extends HashNodeSub16 { + static int anInt10447 = -1; + static int anInt10448; + /** Unused bytes at end of last block (payload length = buffer.length - padding). */ + byte padding; + static boolean aBoolean10450; + static int anInt10451; + static int anInt10452; + /** Growing response payload (header + archive bytes). */ + Buffer buffer; + static int anInt10454; + static int anInt10455; + /** Bytes read in the current 512-byte JS5 block (0..512). */ + int blockPosition; + + /** Returns payload when complete; throws if still {@link #incomplete} or short. */ + final byte[] getData(int i) { + anInt10454++; + if (i != 16) return null; + if (this.incomplete || (this.buffer.offset < (-this.padding + (this.buffer.payload).length))) throw new RuntimeException(); + return (this.buffer.payload); + } + + static final void method3260(int i) { + for (ColorTagNode class348_sub15 = (ColorTagNode) DisplayModeManagerContainer91.aClass356_389.first(0); class348_sub15 != null; class348_sub15 = (ColorTagNode) DisplayModeManagerContainer91.aClass356_389.next(0)) { + if (class348_sub15.aClass55_Sub1_6768.method510((byte) -125)) DisplayModeManagerContainer282.method690((byte) 70, (class348_sub15.anInt6773)); + else { + class348_sub15.aClass55_Sub1_6768.method522((byte) -91); + try { + class348_sub15.aClass55_Sub1_6768.method517(-2); + } catch (Exception exception) { + ClientErrorReporter.reportError("TV: " + class348_sub15.anInt6773, exception, 15004); + DisplayModeManagerContainer282.method690((byte) 15, (class348_sub15.anInt6773)); + } + if (!class348_sub15.aBoolean6783 && !class348_sub15.aBoolean6781) { + OggUrlStream class348_sub23_sub1 = class348_sub15.aClass55_Sub1_6768.method512(0); + if (class348_sub23_sub1 != null) { + NodeSub16Sub2 class348_sub16_sub2 = class348_sub23_sub1.method2971(-61); + if (class348_sub16_sub2 != null) { + class348_sub16_sub2.method2827(-17708, (class348_sub15.anInt6782)); + PlayerState.aClass348_Sub16_Sub4_7065.method2883(class348_sub16_sub2); + class348_sub15.aBoolean6783 = true; + } + } + } + } + } + int i_0_ = 48 % ((-17 - i) / 63); + anInt10448++; + } + + /** Format {@code l} as HTTP-date ({@code Day, DD-Mon-YYYY HH:MM:SS GMT}). */ + static final String formatHttpDate(long l, int i) { + try { + ParticleShader.aCalendar6221.setTime(new Date(l)); + anInt10455++; + int i_1_ = ParticleShader.aCalendar6221.get(7); + int i_2_ = ParticleShader.aCalendar6221.get(5); + if (i <= 53) aBoolean10450 = false; + int i_3_ = ParticleShader.aCalendar6221.get(2); + int i_4_ = ParticleShader.aCalendar6221.get(1); + int i_5_ = ParticleShader.aCalendar6221.get(11); + int i_6_ = ParticleShader.aCalendar6221.get(12); + int i_7_ = ParticleShader.aCalendar6221.get(13); + return (ToolkitFactory.aStringArray1531[i_1_ - 1] + ", " + i_2_ / 10 + i_2_ % 10 + "-" + Component374.aStringArray4129[i_3_] + "-" + i_4_ + " " + i_5_ / 10 + i_5_ % 10 + ":" + i_6_ / 10 + i_6_ % 10 + ":" + i_7_ / 10 + i_7_ % 10 + " GMT"); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "mba.I(" + l + ',' + i + ')'); + } + } + + /** Download progress 0..100 based on buffer offset vs expected length. */ + final int getProgressPercent(int i) { + if (i != 16) this.padding = (byte) -4; + anInt10452++; + if (this.buffer == null) return 0; + return (100 * this.buffer.offset / (-this.padding + (this.buffer.payload).length)); + } + + static final boolean hasFlag0x10(int i, int i_8_, int i_9_) { + if (i_9_ <= 75) aBoolean10450 = false; + anInt10451++; + return (i & 0x10) != 0; + } +} diff --git a/client/nodes/HashNodeSub16Sub2.java b/client/nodes/HashNodeSub16Sub2.java new file mode 100644 index 000000000..c0adc1696 --- /dev/null +++ b/client/nodes/HashNodeSub16Sub2.java @@ -0,0 +1,67 @@ +/* HashNodeSub16Sub2 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class HashNodeSub16Sub2 +/** + * RENAMED from {@code Class348_Sub42_Sub16_Sub2} (JODE-obfuscated). + * Disk-backed JS5 request node processed by {@link DisplayModeManagerContainer67}. + * {@link #type}: 1 = sync read result, 2 = write, 3 = async read. + */ extends HashNodeSub16 { + /** Job kind (1 sync-read / 2 write / 3 async-read). */ + int type; + /** Target cache index reader for this job. */ + CacheIndexReader indexReader; + static int anInt10459; + static int anInt10460; + /** Payload bytes (input for writes, output for reads). */ + byte[] data; + static int anInt10462; + static int anInt10463 = 0; + static int anInt10464; + static LruCache aClass356_10465 = new LruCache(16); + + /** {@code true} when the purple developer console is open ({@link StringCache#devConsoleOpen}). */ + static final boolean isDevConsoleOpen(boolean bool) { + if (bool != true) return false; + anInt10459++; + return StringCache.devConsoleOpen; + } + + public static void method3264(byte i) { + aClass356_10465 = null; + if (i != -24) method3265(-70, null, null); + } + + final int getProgressPercent(int i) { + anInt10460++; + if (i != 16) this.indexReader = null; + if (this.incomplete) return 0; + return 100; + } + + static final void method3265(int i, Node class348, Node class348_0_) { + try { + if (class348.previous != null) class348.unlink((byte) 27); + int i_1_ = -109 % ((6 - i) / 43); + anInt10462++; + class348.previous = class348_0_.previous; + class348.next = class348_0_; + class348.previous.next = class348; + class348.next.previous = class348; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qh.K(" + i + ',' + (class348 != null ? "{...}" : "null") + ',' + (class348_0_ != null ? "{...}" : "null") + ')')); + } + } + + final byte[] getData(int i) { + anInt10464++; + if (i != 16) getData(8); + if (this.incomplete) throw new RuntimeException(); + return this.data; + } + + public HashNodeSub16Sub2() { + /* empty */ + } +} diff --git a/client/nodes/HashNodeSub17.java b/client/nodes/HashNodeSub17.java new file mode 100644 index 000000000..827a7fbb2 --- /dev/null +++ b/client/nodes/HashNodeSub17.java @@ -0,0 +1,130 @@ +/* HashNodeSub17 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class HashNodeSub17 +/** + * RENAMED from `Class348_Sub42_Sub17` (JODE-obfuscated). + * Evidence: subclass of HashNode (hierarchy) + */ extends HashNode { + private final int anInt9669; + static int anInt9670; + private byte[][] aByteArrayArray9671; + static HashNodeSub17[] aClass348_Sub42_Sub17Array9672 = new HashNodeSub17[14]; + Component376[] aClass4Array9673; + static int anInt9674; + static int anInt9675; + static int anInt9676; + static int anInt9677; + static int[][] anIntArrayArray9678; + static StringCache aClass351_9679 = new StringCache(27, 7); + static int anInt9680; + + static final int method3266(GraphicsToolkit var_ha, int i, Component11 class277) { + try { + anInt9674++; + if (class277.anInt3569 == -1) { + if (class277.anInt3575 != -1) { + Component319 class12 = var_ha.aD4579.method3(class277.anInt3575, -6662); + if (!class12.aBoolean209) return class12.aShort208; + } + } else return class277.anInt3569; + if (i <= 123) return -68; + return class277.anInt3563; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("gw.F(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + (class277 != null ? "{...}" : "null") + ')')); + } + } + + final boolean method3267(byte i, int i_0_) { + anInt9676++; + if (i >= -91) return false; + return (this.aClass4Array9673[i_0_].aBoolean129); + } + + final boolean method3268(int i) { + anInt9675++; + if (this.aClass4Array9673 != null) return true; + if (aByteArrayArray9671 == null) { + synchronized (Component161.aClass45_1940) { + if (!Component161.aClass45_1940.isGroupReady((byte) -116, anInt9669)) return false; + int[] is = Component161.aClass45_1940.getFileIds(anInt9669, 0); + aByteArrayArray9671 = new byte[is.length][]; + for (int i_1_ = 0; i_1_ < is.length; i_1_++) + aByteArrayArray9671[i_1_] = Component161.aClass45_1940.getFile(-1860, anInt9669, is[i_1_]); + } + } + boolean bool = true; + for (int i_2_ = 0; i_2_ < aByteArrayArray9671.length; i_2_++) { + byte[] is = aByteArrayArray9671[i_2_]; + Buffer class348_sub49 = new Buffer(is); + class348_sub49.offset = 1; + int i_3_ = class348_sub49.readUnsignedShort(842397944); + synchronized (MenuOpener.aClass45_4843) { + bool &= MenuOpener.aClass45_4843.isSingletonFileReady(false, i_3_); + } + } + if (!bool) return false; + NodeList class262 = new NodeList(); + int[] is; + synchronized (Component161.aClass45_1940) { + int i_4_ = Component161.aClass45_1940.getFileCount(0, anInt9669); + this.aClass4Array9673 = new Component376[i_4_]; + is = Component161.aClass45_1940.getFileIds(anInt9669, 0); + if (i > -115) method3266(null, 123, null); + } + for (int i_5_ = 0; i_5_ < is.length; i_5_++) { + byte[] is_6_ = aByteArrayArray9671[i_5_]; + Buffer class348_sub49 = new Buffer(is_6_); + class348_sub49.offset = 1; + int i_7_ = class348_sub49.readUnsignedShort(842397944);// + ObjectDeserializer class348_sub33 = null; + for (ObjectDeserializer class348_sub33_8_ = (ObjectDeserializer) class262.first(4); class348_sub33_8_ != null; class348_sub33_8_ = (ObjectDeserializer) class262.next((byte) 78)) { + if (class348_sub33_8_.anInt6958 == i_7_) { + class348_sub33 = class348_sub33_8_; + break; + } + } + if (class348_sub33 == null) { + synchronized (MenuOpener.aClass45_4843) { + class348_sub33 = new ObjectDeserializer(i_7_, MenuOpener.aClass45_4843.getSingletonFile((byte) 73, i_7_)); + } + class262.addTail(class348_sub33, -20180); + } + this.aClass4Array9673[is[i_5_]] = new Component376(is_6_, class348_sub33); + } + aByteArrayArray9671 = null; + return true; + } + + public static void method3269(boolean bool) { + aClass348_Sub42_Sub17Array9672 = null; + aClass351_9679 = null; + anIntArrayArray9678 = null; + if (bool != true) method3270((byte) -116); + } + + static final void method3270(byte i) { + if (i <= 106) method3266(null, -91, null); + for (MenuEntry class348_sub42_sub12 = ((MenuEntry) DefinitionSub4.menuEntries.first(4)); class348_sub42_sub12 != null; class348_sub42_sub12 = (MenuEntry) DefinitionSub4.menuEntries.next((byte) 115)) { + if (Component66.method1796(69, class348_sub42_sub12.opcode)) DisplayModeManagerContainer89.method202(6, class348_sub42_sub12); + } + anInt9680++; + } + + HashNodeSub17(int i) { + anInt9669 = i; + } + + final boolean method3271(int i, int i_9_) { + anInt9670++; + if (i_9_ != 14) method3269(false); + return (this.aClass4Array9673[i].aBoolean139); + } + + final boolean method3272(int i, int i_10_) { + anInt9677++; + if (i_10_ != 0) return true; + return (this.aClass4Array9673[i].aBoolean131); + } +} diff --git a/client/nodes/HashNodeSub18.java b/client/nodes/HashNodeSub18.java new file mode 100644 index 000000000..4f46c5419 --- /dev/null +++ b/client/nodes/HashNodeSub18.java @@ -0,0 +1,41 @@ +/* HashNodeSub18 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class HashNodeSub18 +/** + * RENAMED from `Class348_Sub42_Sub18` (JODE-obfuscated). + * Evidence: subclass of HashNode (hierarchy) + */ extends HashNode { + static int anInt9681; + DisplayModeManagerContainer174 aClass318_Sub1_Sub3_Sub5_9682; + static int anInt9683; + static StringCache aClass351_9684 = new StringCache(81, 3); + static Component111 aClass251_9685 = new Component111(); + static int anInt9686; + + static final void method3273(boolean bool, int i, BrowserUrlOpener class348_sub16_sub3) { + if (i > -55) method3275(117, -54, 56); + Definition.aClass279_7042.method2088(false, class348_sub16_sub3); + anInt9681++; + if (bool) StaticElementRenderer.method2510(Component30.aClass45_1878, class348_sub16_sub3, Component323.aClass45_5878, false, Definition.aClass279_7042, Component132.aClass45_1815); + } + + public static void method3274(boolean bool) { + if (bool != true) method3273(true, -84, null); + aClass351_9684 = null; + aClass251_9685 = null; + } + + HashNodeSub18(DisplayModeManagerContainer174 class318_sub1_sub3_sub5) { + this.aClass318_Sub1_Sub3_Sub5_9682 = class318_sub1_sub3_sub5; + } + + static final void method3275(int i, int i_0_, int i_1_) { + anInt9683++; + if (i != 1) aClass351_9684 = null; + if (PacketReader.currentGameType != WorldNameText.STELLARDAWN) { + if (!Component10.method2252(false, i_1_, i_0_, (byte) -108, 1, 0, 1, -3, 0)) Component10.method2252(false, i_1_, i_0_, (byte) -99, 1, 0, 1, -2, 0); + } else if (!Component10.method2252(false, i_1_, i_0_, (byte) -128, 1, 0, 1, -2, 0)) Component10.method2252(false, i_1_, i_0_, (byte) -115, 1, 0, 1, -3, 0); + } +} diff --git a/client/nodes/HashNodeSub19.java b/client/nodes/HashNodeSub19.java new file mode 100644 index 000000000..e5b5eeac8 --- /dev/null +++ b/client/nodes/HashNodeSub19.java @@ -0,0 +1,81 @@ +/* HashNodeSub19 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class HashNodeSub19 +/** + * RENAMED from `Class348_Sub42_Sub19` (JODE-obfuscated). + * Evidence: subclass of HashNode (hierarchy) + */ extends HashNode { + static StringCache aClass351_9687 = new StringCache(14, -1); + int anInt9688; + int anInt9689; + String aString9690; + Component224 aClass273_9691; + String[] aStringArray9692; + LruCache[] aClass356Array9693; + int[] anIntArray9694; + int anInt9695; + int[] anIntArray9696; + int anInt9697; + static int anInt9698; + static int anInt9699 = 0; + static Component103[] aClass338Array9700; + static int anInt9701; + + static final void method3276(DisplayModeManagerContainer159 class211) { + if (Component374.anInt4135 < 65535) { + NodeSub1 class348_sub1 = class211.aClass348_Sub1_2745; + Component329.aClass211Array5993[Component374.anInt4135] = class211; + r.aBooleanArray9718[Component374.anInt4135] = false; + Component374.anInt4135++; + int i = class211.anInt2731; + if (class211.aBoolean2749) i = 0; + int i_0_ = class211.anInt2731; + if (class211.aBoolean2737) i_0_ = Component291.anInt2524 - 1; + for (int i_1_ = i; i_1_ <= i_0_; i_1_++) { + int i_2_ = 0; + int i_3_ = ((class348_sub1.method2717((byte) 89) - class348_sub1.method2723(-1) + DisplayModeManagerContainer64.anInt9037) >> Component149.anInt4459); + if (i_3_ < 0) { + i_2_ -= i_3_; + i_3_ = 0; + } + int i_4_ = ((class348_sub1.method2717((byte) 122) + class348_sub1.method2723(-1) - DisplayModeManagerContainer64.anInt9037) >> Component149.anInt4459); + if (i_4_ >= NodeSub41.anInt7054) i_4_ = NodeSub41.anInt7054 - 1; + for (int i_5_ = i_3_; i_5_ <= i_4_; i_5_++) { + int i_6_ = class211.aShortArray2742[i_2_++]; + int i_7_ = (((class348_sub1.method2724(-1) - class348_sub1.method2723(-1) + DisplayModeManagerContainer64.anInt9037) >> Component149.anInt4459) + (i_6_ >>> 8)); + int i_8_ = i_7_ + (i_6_ & 0xff) - 1; + if (i_7_ < 0) i_7_ = 0; + if (i_8_ >= StaticElementRenderer.anInt6451) i_8_ = StaticElementRenderer.anInt6451 - 1; + for (int i_9_ = i_7_; i_9_ <= i_8_; i_9_++) { + long l = (PacketReader.aLongArrayArrayArray10431[i_1_][i_9_][i_5_]); + if ((l & 0xffffL) == 0L) PacketReader.aLongArrayArrayArray10431[i_1_][i_9_][i_5_] = l | (long) Component374.anInt4135; + else if ((l & 0xffff0000L) == 0L) PacketReader.aLongArrayArrayArray10431[i_1_][i_9_][i_5_] = l | (long) Component374.anInt4135 << 16; + else if ((l & 0xffff00000000L) == 0L) PacketReader.aLongArrayArrayArray10431[i_1_][i_9_][i_5_] = l | (long) Component374.anInt4135 << 32; + else if ((l & ~0xffffffffffffL) == 0L) PacketReader.aLongArrayArrayArray10431[i_1_][i_9_][i_5_] = l | (long) Component374.anInt4135 << 48; + } + } + } + } + } + + static final void method3277(byte i) { + anInt9698++; + if (i != -48) method3276(null); + if (Component359.aClass348_Sub42_Sub13_3152 != null) { + Component359.aClass348_Sub42_Sub13_3152 = null; + Component354.method226(DisplayModeManagerContainer368.anInt5252, NodeSub1Sub1.anInt8806, MouseHandler.menuOriginY, 0, DisplayModeManagerContainer249.anInt4669); + } + } + + public static void method3278(int i) { + aClass351_9687 = null; + if (i != 1) anInt9699 = -66; + aClass338Array9700 = null; + } + + public HashNodeSub19() { + /* empty */ + } +} diff --git a/client/nodes/HashNodeSub2.java b/client/nodes/HashNodeSub2.java new file mode 100644 index 000000000..a16410b45 --- /dev/null +++ b/client/nodes/HashNodeSub2.java @@ -0,0 +1,179 @@ +/* HashNodeSub2 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaggl.OpenGL; + +final class HashNodeSub2 +/** + * RENAMED from `Class348_Sub42_Sub2` (JODE-obfuscated). + * Evidence: subclass of HashNode (hierarchy) + */ extends HashNode implements Interface9 { + static int anInt8561; + private int anInt8562 = -1; + private int anInt8563 = -1; + private final GlToolkitSub2 aHa_Sub2_8564; + int anInt8565; + static int anInt8566; + private final int anInt8567; + static int anInt8568; + private int anInt8569; + static int anInt8570; + private final int anInt8571; + int anInt8572; + static long aLong8573 = 0L; + + protected final void finalize() throws Throwable { + anInt8570++; + method3172(4); + super.finalize(); + } + + static final void method3171(GraphicsToolkit var_ha, int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, boolean bool, boolean bool_5_) { + JaclibLoader.toolkit = var_ha; + Npc.anInt10503 = i; + DefinitionSub5.aBoolean9121 = (Npc.anInt10503 > 1 && JaclibLoader.toolkit.method3708()); + Component149.anInt4459 = i_0_; + Component148.anInt3465 = 1 << Component149.anInt4459; + DisplayModeManagerContainer64.anInt9037 = Component148.anInt3465 >> 1; + Math.sqrt((DisplayModeManagerContainer64.anInt9037 * DisplayModeManagerContainer64.anInt9037) + (DisplayModeManagerContainer64.anInt9037 * DisplayModeManagerContainer64.anInt9037)); + Component291.anInt2524 = i_1_; + StaticElementRenderer.anInt6451 = i_2_; + NodeSub41.anInt7054 = i_3_; + Component197.anInt10084 = i_4_; + Component230.aClass47_5262 = GpiLogger.method2826(15); + NodeSub45.method3309(-124); + Component304.aClass357ArrayArrayArray1148 = (new Component186[i_1_][StaticElementRenderer.anInt6451] + [NodeSub41.anInt7054]); + NodeSub1Sub1.aSArray8801 = new s[i_1_]; + if (bool) { + DisplayModeManagerContainer173.anIntArrayArray4253 = new int[StaticElementRenderer.anInt6451][NodeSub41.anInt7054]; + NodeSub1Sub2.aByteArrayArray8816 = new byte[StaticElementRenderer.anInt6451][NodeSub41.anInt7054]; + Component175.aShortArrayArray5847 = new short[StaticElementRenderer.anInt6451][NodeSub41.anInt7054]; + ImageProducerSprite.aClass357ArrayArrayArray9082 = (new Component186[1][StaticElementRenderer.anInt6451] + [NodeSub41.anInt7054]); + Component9.aSArray4142 = new s[1]; + } else { + DisplayModeManagerContainer173.anIntArrayArray4253 = null; + NodeSub1Sub2.aByteArrayArray8816 = null; + Component175.aShortArrayArray5847 = null; + ImageProducerSprite.aClass357ArrayArrayArray9082 = null; + Component9.aSArray4142 = null; + } + if (bool_5_) { + PacketReader.aLongArrayArrayArray10431 = new long[i_1_][i_2_][i_3_]; + Component329.aClass211Array5993 = new DisplayModeManagerContainer159[65535]; + r.aBooleanArray9718 = new boolean[65535]; + Component374.anInt4135 = 0; + } else { + PacketReader.aLongArrayArrayArray10431 = null; + Component329.aClass211Array5993 = null; + r.aBooleanArray9718 = null; + Component374.anInt4135 = 0; + } + Component315.method1879(false); + Node.aClass318_Sub1Array4293 = new RenderableObject[2]; + AudioMixer.aClass318_Sub1Array3226 = new RenderableObject[2]; + Component95.aClass318_Sub1Array1754 = new RenderableObject[2]; + Component71.aClass318_Sub1Array6066 = new RenderableObject[10000]; + Component305.opaqueOnscreenCount = 0; + ReferenceTable.aClass318_Sub1Array3737 = new RenderableObject[5000]; + HashNodeSub3.translucentOnscreenCount = 0; + DisplayModeManagerContainer310.aClass318_Sub1_Sub3Array357 = new Component327[5000]; + Component328.dynamicOnscreenCount = 0; + DisplayModeManagerContainer153.aBooleanArrayArray1572 = (new boolean + [(Component197.anInt10084 + Component197.anInt10084 + 1)] + [(Component197.anInt10084 + Component197.anInt10084 + 1)]); + NodeSub8.aBooleanArrayArray6656 = (new boolean + [(Component197.anInt10084 + Component197.anInt10084 + 2)] + [(Component197.anInt10084 + Component197.anInt10084 + 2)]); + Component382.anIntArray2272 = new int[(Component197.anInt10084 + Component197.anInt10084 + 2)]; + DisplayModeManagerContainer5.aClass76_1208 = DisplayModeManagerContainer5.aClass76_1210; + if (DefinitionSub5.aBoolean9121) { + Component95.aBooleanArrayArrayArray1751 = (new boolean[i_1_] + [(Component197.anInt10084 + Component197.anInt10084 + 1)] + [(Component197.anInt10084 + Component197.anInt10084 + 1)]); + Component2.aBooleanArrayArrayArray8361 = new boolean[i_1_][][]; + if (LoggedOutDefinition.aClass293Array9432 != null) Component92.method1978(); + LoggedOutDefinition.aClass293Array9432 = new Component176[Npc.anInt10503]; + JaclibLoader.toolkit.method3631((LoggedOutDefinition.aClass293Array9432).length + 1); + JaclibLoader.toolkit.method3659(0); + for (int i_6_ = 0; i_6_ < LoggedOutDefinition.aClass293Array9432.length; i_6_++) { + LoggedOutDefinition.aClass293Array9432[i_6_] = new Component176(i_6_ + 1, JaclibLoader.toolkit); + new Thread(LoggedOutDefinition.aClass293Array9432[i_6_], "wr" + i_6_).start(); + } + int i_7_; + if (Npc.anInt10503 == 2) { + i_7_ = 4; + DisplayModeManagerContainer216.anInt5652 = 2; + } else if (Npc.anInt10503 == 3) { + i_7_ = 6; + DisplayModeManagerContainer216.anInt5652 = 3; + } else { + i_7_ = 8; + DisplayModeManagerContainer216.anInt5652 = 4; + } + Component144.aClass315Array3982 = new Component168[i_7_]; + for (int i_8_ = 0; i_8_ < i_7_; i_8_++) + Component144.aClass315Array3982[i_8_] = new Component168(ColoredText.aStringArrayArray6093[(Npc.anInt10503 - 2)][i_8_]); + } else DisplayModeManagerContainer216.anInt5652 = 1; + DisplayModeManagerContainer167.anIntArray256 = new int[DisplayModeManagerContainer216.anInt5652 - 1]; + Component35.anIntArray4271 = new int[DisplayModeManagerContainer216.anInt5652 - 1]; + } + + final void method3172(int i) { + anInt8566++; + if (anInt8569 > 0) { + aHa_Sub2_8564.method3810(anInt8569, anInt8571, -101); + anInt8569 = 0; + } + if (i != 4) method3171(null, 57, 49, -22, 43, -43, -45, true, true); + } + + final void method3173(int i, int i_9_, int i_10_) { + OpenGL.glFramebufferRenderbufferEXT(i_10_, i_9_, i, anInt8569); + anInt8568++; + anInt8562 = i_10_; + anInt8563 = i_9_; + } + + public final void method37(int i) { + anInt8561++; + if (i != -3022) this.anInt8572 = 15; + OpenGL.glFramebufferRenderbufferEXT(anInt8562, anInt8563, 36161, 0); + anInt8562 = -1; + anInt8563 = -1; + } + + HashNodeSub2(GlToolkitSub2 var_ha_Sub2, int i, int i_11_, int i_12_) { + try { + this.anInt8572 = i_11_; + aHa_Sub2_8564 = var_ha_Sub2; + this.anInt8565 = i_12_; + anInt8567 = i; + OpenGL.glGenRenderbuffersEXT(1, LoggedOutDefinition.anIntArray9431, 0); + anInt8569 = LoggedOutDefinition.anIntArray9431[0]; + OpenGL.glBindRenderbufferEXT(36161, anInt8569); + OpenGL.glRenderbufferStorageEXT(36161, anInt8567, (this.anInt8572), (this.anInt8565)); + anInt8571 = (this.anInt8565 * this.anInt8572 * aHa_Sub2_8564.method3798(anInt8567, 2)); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("kw.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_11_ + ',' + i_12_ + ')')); + } + } + + HashNodeSub2(GlToolkitSub2 var_ha_Sub2, int i, int i_13_, int i_14_, int i_15_) { + try { + this.anInt8572 = i_13_; + anInt8567 = i; + this.anInt8565 = i_14_; + aHa_Sub2_8564 = var_ha_Sub2; + OpenGL.glGenRenderbuffersEXT(1, LoggedOutDefinition.anIntArray9431, 0); + anInt8569 = LoggedOutDefinition.anIntArray9431[0]; + OpenGL.glBindRenderbufferEXT(36161, anInt8569); + OpenGL.glRenderbufferStorageMultisampleEXT(36161, i_15_, anInt8567, this.anInt8572, this.anInt8565); + anInt8571 = (this.anInt8565 * this.anInt8572 * aHa_Sub2_8564.method3798(anInt8567, 2)); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("kw.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_13_ + ',' + i_14_ + ',' + i_15_ + ')')); + } + } +} diff --git a/client/nodes/HashNodeSub20.java b/client/nodes/HashNodeSub20.java new file mode 100644 index 000000000..c7a3dd560 --- /dev/null +++ b/client/nodes/HashNodeSub20.java @@ -0,0 +1,74 @@ +/* HashNodeSub20 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class HashNodeSub20 +/** + * RENAMED from `Class348_Sub42_Sub20` (JODE-obfuscated). + * Evidence: subclass of HashNode (hierarchy) + */ extends HashNode { + DisplayModeManagerContainer173 aClass342_9702; + static int anInt9703; + RadixParser aClass174_9704; + int anInt9705; + int anInt9706; + int anInt9707; + static int anInt9708; + static int anInt9709; + int anInt9710; + static NodeList aClass262_9711 = new NodeList(); + int anInt9712; + static int anInt9713; + static int[] anIntArray9714 = {1, 2, 4, 8}; + static int anInt9715; + + final void method3279(int i) { + this.anInt9706 = (this.aClass342_9702.anInt4239); + anInt9708++; + this.anInt9710 = (this.aClass342_9702.anInt4240); + this.anInt9712 = (this.aClass342_9702.anInt4238); + if ((this.aClass342_9702.aClass101_4252) != null) this.aClass342_9702.aClass101_4252.method905((this.aClass174_9704.anInt2291), (this.aClass174_9704.anInt2290), (this.aClass174_9704.anInt2294), NodeSub8.anIntArray6666); + this.anInt9705 = NodeSub8.anIntArray6666[0]; + this.anInt9707 = NodeSub8.anIntArray6666[i]; + } + + public static void method3280(int i) { + aClass262_9711 = null; + anIntArray9714 = null; + int i_0_ = 112 / ((i - 16) / 57); + } + + static final void method3281(byte i, GraphicsToolkit var_ha) { + if (Component364.aBoolean8335) DisplayModeManagerContainer165.method2288(false, var_ha); + else DisplayModeManagerContainer96.method1077(var_ha, (byte) -123); + anInt9709++; + if (i < 29) method3280(81); + } + + static final void method3282(int i, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_) { + NodeSub51.anInt7244 = i_6_; + WorldNameText.anInt8633 = i_5_; + Component54.anInt8668 = i_2_; + NodeSub44.anInt7092 = i; + Component337.anInt3650 = i_4_; + CookieBuilder.anInt620 = i_1_; + if (i_3_ != 0) method3281((byte) 92, null); + anInt9703++; + } + + HashNodeSub20(DisplayModeManagerContainer173 class342, RenderableSub10 class318_sub10) { + try { + this.aClass342_9702 = class342; + this.aClass174_9704 = this.aClass342_9702.method2685((byte) -13); + method3279(2); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("jo.(" + (class342 != null ? "{...}" : "null") + ',' + (class318_sub10 != null ? "{...}" : "null") + ')')); + } + } + + static final void method3283(int i) { + if (OggUrlStream.aClass297_8992.signed && (ShaderSub2.aClass161_5199.anInt2143 != -1)) OggUrlStream.method2972((ShaderSub2.aClass161_5199.aString2147), (ShaderSub2.aClass161_5199.anInt2143), -54); + anInt9713++; + int i_7_ = 9 / ((i - 60) / 50); + } +} diff --git a/client/nodes/HashNodeSub3.java b/client/nodes/HashNodeSub3.java new file mode 100644 index 000000000..1d4b512ed --- /dev/null +++ b/client/nodes/HashNodeSub3.java @@ -0,0 +1,181 @@ +/* HashNodeSub3 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class HashNodeSub3 +/** + * RENAMED from `Class348_Sub42_Sub3` (JODE-obfuscated). + * Evidence: subclass of HashNode (hierarchy) + */ extends HashNode { + static boolean aBoolean9498; + byte[] aByteArray9499; + static int anInt9500; + static int anInt9501; + static short[] aShortArray9502; + static Component183 aClass114_9503; + static int translucentOnscreenCount; + static int[] anIntArray9505 = new int[3]; + static int anInt9506; + static int anInt9507; + static int anInt9508; + static int anInt9509; + + static final void method3174(int i, int i_0_, int i_1_, boolean bool, byte i_2_, int i_3_) { + if (i_1_ < 1) i_1_ = 1; + anInt9507++; + if (i_3_ < 1) i_3_ = 1; + int i_4_ = i_3_ - 334; + if (i_4_ < 0) i_4_ = 0; + else if (i_4_ > 100) i_4_ = 100; + int adjustedZoom = ((-Component338.aShort1700 + Component39.aShort2250) * i_4_ / 100 + Component338.aShort1700); + int base = adjustedZoom; + if (Component233.zoomStep != 0) adjustedZoom += Component233.zoomStep; + int min = Component338.aShort1700 * Loader.FOV_MIN_FACTOR_NUM / Loader.FOV_MIN_FACTOR_DEN; + int max = Component39.aShort2250 * Loader.FOV_MAX_FACTOR_NUM / Loader.FOV_MAX_FACTOR_DEN; + if (min < Loader.FOV_MIN_ABS) min = Loader.FOV_MIN_ABS; + if (min > max) { + int tmp = min; + min = max; + max = tmp; + } + if (adjustedZoom < min) adjustedZoom = min; + else if (adjustedZoom > max) adjustedZoom = max; + if (Component233.zoomStep != 0) Component233.zoomStep = adjustedZoom - base; + if (adjustedZoom < CacheNode.aShort9555) adjustedZoom = CacheNode.aShort9555; + else if (Component377.aShort851 < adjustedZoom) adjustedZoom = Component377.aShort851; + int i_6_ = 512 * adjustedZoom * i_3_ / (i_1_ * 334); + if (i_6_ >= WaterShaderSub8.aShort7355) { + if (i_6_ > Component382.aShort2269) { + i_6_ = Component382.aShort2269; + adjustedZoom = i_1_ * i_6_ * 334 / (i_3_ * 512); + if (adjustedZoom < CacheNode.aShort9555) { + adjustedZoom = CacheNode.aShort9555; + int i_7_ = i_6_ * (i_1_ * 334) / (adjustedZoom * 512); + int i_8_ = (-i_7_ + i_3_) / 2; + if (bool) { + NodeSub8.toolkit.la(); + NodeSub8.toolkit.method3675(i_1_, (byte) -125, i, i_0_, i_8_, -16777216); + NodeSub8.toolkit.method3675(i_1_, (byte) -125, i, i_3_ + i_0_ - i_8_, i_8_, -16777216); + } + i_0_ += i_8_; + i_3_ -= 2 * i_8_; + } + } + } else { + i_6_ = WaterShaderSub8.aShort7355; + adjustedZoom = i_6_ * (i_1_ * 334) / (i_3_ * 512); + if (Component377.aShort851 < adjustedZoom) { + adjustedZoom = Component377.aShort851; + int i_9_ = adjustedZoom * i_3_ * 512 / (334 * i_6_); + int i_10_ = (i_1_ + -i_9_) / 2; + if (bool) { + NodeSub8.toolkit.la(); + NodeSub8.toolkit.method3675(i_10_, (byte) -125, i, i_0_, i_3_, -16777216); + NodeSub8.toolkit.method3675(i_10_, (byte) -125, -i_10_ + i + i_1_, i_0_, i_3_, -16777216); + } + i += i_10_; + i_1_ -= i_10_ * 2; + } + } + Component263.anInt1550 = i_3_ * adjustedZoom / 334; + RandomAccessFileReader.anInt3047 = i_0_; + Component333.anInt3643 = (short) i_3_; + Component296.anInt4656 = (short) i_1_; + DisplayModeManagerContainer61.anInt3764 = i; + int i_11_ = -3 % ((-8 - i_2_) / 56); + } + + static final void method3175(byte i) { + if (!CacheNode.method3196(Component49.clientState, -114) && !CacheFileStore.isReconnectState(Component49.clientState, -103)) { + int i_12_ = ((Component72.localPlayer.anIntArray10320[0]) >> 3); + int i_13_ = ((Component72.localPlayer.anIntArray10317[0]) >> 3); + if (i_12_ < 0 || AbstractShaderSub4.anInt7319 >> 3 <= i_12_ || i_13_ < 0 || (ParametricDefinition.anInt9109 >> 3 <= i_13_)) KeyFocusHandler.setClientVarp(0, AbstractShaderSub4.anInt7319 >> 4, (ParametricDefinition.anInt9109 >> 4), (byte) -13); + else KeyFocusHandler.setClientVarp(5000, i_12_, i_13_, (byte) -13); + } else KeyFocusHandler.setClientVarp(5000, WaterSurfaceShader.anInt6246 >> 12, Component317.anInt8685 >> 12, (byte) -13); + anInt9509++; + DefinitionSub32.method3134(-1); + Component179.method2988(true); + int i_14_ = -8 % ((-30 - i) / 38); + DefinitionSub30.method3126((byte) 98); + DisplayModeManagerContainer273.method1131(117); + } + + HashNodeSub3(byte[] is) { + this.aByteArray9499 = is; + } + + public static void method3176(boolean bool) { + anIntArray9505 = null; + aShortArray9502 = null; + if (bool != true) aShortArray9502 = null; + aClass114_9503 = null; + } + + static final void method3177(int i, boolean bool) { + if (!bool || DisplayModeManagerContainer229.aClass348_Sub42_Sub14_1243 == null) Component266.anInt5976 = -1; + else Component266.anInt5976 = (DisplayModeManagerContainer229.aClass348_Sub42_Sub14_1243.anInt9628); + anInt9500++; + DisplayModeManagerContainer229.aClass348_Sub42_Sub14_1243 = null; + Component39.aClass46_2249 = null; + Node.anInt4290 = 0; + Component156.aClass262_3705 = null; + DisplayModeManagerContainer229.method749(); + DisplayModeManagerContainer229.aClass262_1254.clear(127); + DebugPanic.aClass323_4754 = null; + Component39.aClass323_2252 = null; + VideoAdPlayer.aClass105_4643 = null; + Component15.aClass323_4921 = null; + Component218.aClass323_2333 = null; + NodeSub3.aClass323_6581 = null; + DisplayModeManagerContainer271.aClass323_521 = null; + DisplayModeManagerContainer229.aClass252_1246 = null; + WorldNameText.aClass323_8644 = null; + Component377.anInt859 = -1; + if (i <= -44) { + Component283.anInt4609 = -1; + Component49.aClass323_4672 = null; + if (DisplayModeManagerContainer229.aClass153_1238 != null) { + DisplayModeManagerContainer229.aClass153_1238.method1219(7851); + DisplayModeManagerContainer229.aClass153_1238.method1220((byte) -100, 64, 128); + } + if (DisplayModeManagerContainer229.aClass141_1242 != null) DisplayModeManagerContainer229.aClass141_1242.method1178(64, 1, 64); + if (DisplayModeManagerContainer229.aClass263_1245 != null) DisplayModeManagerContainer229.aClass263_1245.method2014(64, true); + Component267.aClass194_2981.method1444(64, -124); + } + } + + static final void method3178(CacheStore class45, int i, int[] is, CacheStore class45_15_) { + try { + anInt9506++; + if (is != null) NodeSub1.anIntArray6547 = is; + s.aClass45_4585 = class45; + if (i >= -6) method3177(-36, true); + DisplayModeManagerContainer271.aClass45_518 = class45_15_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("lk.F(" + (class45 != null ? "{...}" : "null") + ',' + i + ',' + (is != null ? "{...}" : "null") + ',' + (class45_15_ != null ? "{...}" : "null") + ')')); + } + } + + static final void method3179(int i) { + Component223.method175((byte) -50); + anInt9508++; + int i_16_ = Component192.aClass348_Sub51_3959.aClass239_Sub3_7222.method1727(-32350); + do { + if (i_16_ == 2) { + Component221.method1083(NodeSub8.toolkit, 100, (byte) 9, PacketReader.anInt10432, 100, Component236.anInt4017); + break; + } else if (i_16_ != 3) break; + DisplayModeManagerContainer220.method282(2, NodeSub8.toolkit, Component236.anInt4017, (byte) 73, CacheStore.anInt666, Component134.anInt5812, PacketReader.anInt10432, 2); + } while (false); + if (Component192.aClass348_Sub51_3959.aClass239_Sub3_7222.method1735(false)) s.method3980(i + 93, DisplayModeManagerContainer50.gameCanvas); + if (NodeSub8.toolkit != null) Component200.method2196((byte) -9); + DisplayModeManagerContainer50.aBoolean3870 = i != Component192.aClass348_Sub51_3959.aClass239_Sub3_7222.method1727(-32350); + Component210.gameCanvasAttached = Component192.aClass348_Sub51_3959.aClass239_Sub3_7222.method1735(false); + } + + static { + anInt9501 = 0; + aShortArray9502 = new short[256]; + aClass114_9503 = new Component183(9, -1); + } +} diff --git a/client/nodes/HashNodeSub4.java b/client/nodes/HashNodeSub4.java new file mode 100644 index 000000000..1898be831 --- /dev/null +++ b/client/nodes/HashNodeSub4.java @@ -0,0 +1,75 @@ +/* HashNodeSub4 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class HashNodeSub4 +/** + * RENAMED from `Class348_Sub42_Sub4` (JODE-obfuscated). + * Evidence: subclass of HashNode (hierarchy) + */ extends HashNode { + static int anInt9510; + static int anInt9511; + double aDouble9512; + static int anInt9513 = 0; + static int anInt9514; + static int anInt9515; + static float aFloat9516; + static double aDouble9517; + short[][] aShortArrayArray9518; + static int[] anIntArray9519 = new int[2]; + + static final void method3180(int i, DisplayModeManagerContainer57[] class46s, int i_0_) { + if (i_0_ == 24235) { + for (int i_1_ = 0; i_1_ < class46s.length; i_1_++) { + DisplayModeManagerContainer57 class46 = class46s[i_1_]; + if (class46 != null && i == class46.anInt834 && !client.method111(class46)) { + if (class46.anInt774 == 0) { + method3180(class46.anInt830, class46s, 24235); + if (class46.aClass46Array798 != null) method3180(class46.anInt830, class46.aClass46Array798, i_0_); + NodeSub41 class348_sub41 = ((NodeSub41) (Component15.aClass356_4915.get(class46.anInt830, -6008))); + if (class348_sub41 != null) DisplayModeManagerContainer216.method769(class348_sub41.anInt7050, (byte) 116); + } + if (class46.anInt774 == 6 && class46.anInt699 != -1) { + DisplayModeManagerContainer167 class17 = RunescapeInfo.aClass87_191.method835(class46.anInt699, 7); + if (class17 != null) { + class46.anInt841 += NodeSub51.anInt7267; + int i_2_ = class46.anInt795; + while (class46.anInt841 > (class17.anIntArray267[class46.anInt795])) { + class46.anInt841 -= (class17.anIntArray267[class46.anInt795]); + class46.anInt795++; + if (class46.anInt795 >= (class17.anIntArray237).length) { + class46.anInt795 -= class17.anInt238; + if (class46.anInt795 < 0 || (class46.anInt795 >= (class17.anIntArray237).length)) class46.anInt795 = 0; + } + class46.anInt730 = 1 + class46.anInt795; + if (class46.anInt730 >= class17.anIntArray237.length) { + class46.anInt730 -= class17.anInt238; + if (class46.anInt730 < 0 || ((class17.anIntArray237).length <= class46.anInt730)) class46.anInt730 = -1; + } + Component111.markInterfaceDirty(-9343, class46); + } + if (i_2_ != class46.anInt795) Component235.method2017((class46.anInt795), class17, 98); + } + } + } + } + anInt9514++; + } + } + + public static void method3181(byte i) { + if (i != 2) anInt9511 = 63; + anIntArray9519 = null; + } + + final long method3182(int i) { + if (i < 76) anInt9515 = 111; + anInt9510++; + return (this.aShortArrayArray9518).length << 0 | (this.aShortArrayArray9518[0]).length; + } + + HashNodeSub4(short[][] is, double d) { + this.aDouble9512 = d; + this.aShortArrayArray9518 = is; + } +} diff --git a/client/nodes/HashNodeSub7.java b/client/nodes/HashNodeSub7.java new file mode 100644 index 000000000..a64ec7613 --- /dev/null +++ b/client/nodes/HashNodeSub7.java @@ -0,0 +1,35 @@ +/* HashNodeSub7 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class HashNodeSub7 +/** + * RENAMED from `Class348_Sub42_Sub7` (JODE-obfuscated). + * Evidence: subclass of HashNode (hierarchy) + */ extends HashNode { + static int anInt9540; + static int anInt9541 = -1; + int anInt9542 = 0; + static int anInt9543; + static int anInt9544; + + private final void method3191(int i, Buffer class348_sub49, byte i_0_) { + if (i == 2) this.anInt9542 = class348_sub49.readUnsignedShort(842397944); + anInt9544++; + int i_1_ = -60 / ((i_0_ - -26) / 51); + } + + public HashNodeSub7() { + /* empty */ + } + + final void method3192(byte i, Buffer class348_sub49) { + for (; ; ) { + int i_2_ = class348_sub49.readUnsignedByte(i + 239); + if (i_2_ == 0) break; + method3191(i_2_, class348_sub49, (byte) 70); + } + if (i != 16) anInt9541 = -83; + anInt9543++; + } +} diff --git a/client/nodes/HashTable.java b/client/nodes/HashTable.java new file mode 100644 index 000000000..0c19eaa41 --- /dev/null +++ b/client/nodes/HashTable.java @@ -0,0 +1,287 @@ +/* HashTable - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class107` (JODE-obfuscated). + * Chaining hashtable of Node entries (node type HashNode). Provides get/put/remove via size/next/add/removeHead/clear. Used by NodeCache and many systems. + */ + +final class HashTable { + static int anInt1642; + static int anInt1643; + static int anInt1644; + static int anInt1645 = -2; + static int anInt1646; + HashNode sentinel = new HashNode(); + static int anInt1648; + static int anInt1649; + static int[] anIntArray1650 = new int[1000]; + static int anInt1651; + private HashNode cursor; + static int anInt1653; + static int anInt1654; + static int anInt1655; + + final int size(int i) { + anInt1643++; + int i_0_ = i; + for (HashNode class348_sub42 = (this.sentinel.next); this.sentinel != class348_sub42; class348_sub42 = class348_sub42.next) + i_0_++; + return i_0_; + } + + final HashNode next(byte i) { + anInt1644++; + if (i <= 41) return null; + HashNode class348_sub42 = cursor; + if (class348_sub42 == this.sentinel) { + cursor = null; + return null; + } + cursor = class348_sub42.next; + return class348_sub42; + } + + public static void method1004(byte i) { + anIntArray1650 = null; + if (i != 16) method1006(false, (byte) -62); + } + + final void add(boolean bool, HashNode class348_sub42) { + if (class348_sub42.previous != null) class348_sub42.unlink(bool); + anInt1654++; + class348_sub42.next = this.sentinel; + class348_sub42.previous = (this.sentinel.previous); + if (bool == true) { + class348_sub42.previous.next = class348_sub42; + class348_sub42.next.previous = class348_sub42; + } + } + + static final void method1006(boolean bool, byte i) { + anInt1655++; + if (bool) { + if (r.anInt9721 != -1) DisplayModeManagerContainer194.method235(r.anInt9721, (byte) -108); + for (NodeSub41 class348_sub41 = (NodeSub41) Component15.aClass356_4915.first(0); class348_sub41 != null; class348_sub41 = ((NodeSub41) Component15.aClass356_4915.next(0))) { + if (!class348_sub41.isLinked((byte) 4)) { + class348_sub41 = ((NodeSub41) Component15.aClass356_4915.first(0)); + if (class348_sub41 == null) break; + } + Component162.method1118(true, false, class348_sub41, 2533); + } + r.anInt9721 = -1; + Component15.aClass356_4915 = new LruCache(8); + DisplayModeManagerContainer153.method882((byte) 11); + r.anInt9721 = Component285.anInt970; + Component339.method1713(false, 520); + Component160.method3466(-119); + ClientScriptExecutor.runInterfaceScripts(r.anInt9721); + } + DisplayModeManagerContainer369.aBoolean2895 = true; + if (i < 49) anInt1651 = 10; + } + + static final void method1007(DisplayModeManagerContainer57 class46, GraphicsToolkit var_ha, int i, int i_1_, int i_2_) { + try { + anInt1648++; + Shader var_aa = class46.method425(var_ha, (byte) 40); + if (var_aa != null) { + if (i_2_ != 22960) anIntArray1650 = null; + var_ha.KA(i, i_1_, i + class46.anInt709, class46.anInt789 + i_1_); + if (Component293.anInt3306 != 2 && Component293.anInt3306 != 5 && Component83.aClass105_1664 != null) { + int i_3_; + int i_4_; + int i_5_; + int i_6_; + if (DefinitionSub21.cameraMode == 4) { + i_3_ = NodeSub7.anInt6652; + i_4_ = NodederUtil.anInt6633; + i_5_ = 4096; + i_6_ = 0x3fff & (int) -Component112.cameraYaw; + } else { + i_5_ = 4096 - 16 * Component182.anInt9750; + i_3_ = (Component72.localPlayer.y); + i_6_ = ((int) -Component112.cameraYaw - -CacheNodeSub2.anInt10483 & 0x3fff); + i_4_ = (Component72.localPlayer.x); + } + int i_7_ = 48 - (-(i_4_ / 128) - -(AbstractShaderSub4.anInt7319 * 2)) - -208; + int i_8_ = (208 - (ParametricDefinition.anInt9109 * 2 - 48) + 4 * ParametricDefinition.anInt9109 - i_3_ / 128); + Component83.aClass105_1664.method967(((float) class46.anInt709 / 2.0F + (float) i), ((float) class46.anInt789 / 2.0F + (float) i_1_), (float) i_7_, (float) i_8_, i_5_, i_6_ << 2, var_aa, i, i_1_); + for (NodeSub35 class348_sub35 = (NodeSub35) Component289.aClass262_10125.first(i_2_ ^ 0x59b4); class348_sub35 != null; class348_sub35 = (NodeSub35) Component289.aClass262_10125.next((byte) 92)) { + int i_9_ = class348_sub35.intValue; + int i_10_ = (-NodeBaseSub2.regionTileX + ((0xfffe5b0 & (CacheNodeSub2.aClass252_10488.anIntArray3238[i_9_])) >> 14)); + int i_11_ = (-Component330.regionTileY + (0x3fff & (CacheNodeSub2.aClass252_10488.anIntArray3238[i_9_]))); + int i_12_ = -(i_4_ / 128) + 2 + 4 * i_10_; + int i_13_ = 2 + (4 * i_11_ - i_3_ / 128); + RenderableObject.method2385(class46, i_1_, var_aa, (CacheNodeSub2.aClass252_10488.anIntArray3239[i_9_]), i_12_, i, (byte) -94, i_13_, var_ha); + } + for (int i_14_ = 0; (DefinitionSub38.anInt9479 > i_14_); i_14_++) { + int i_15_ = (ColorTagNode.anIntArray6770[i_14_] * 4 - -2 - i_4_ / 128); + int i_16_ = (-(i_3_ / 128) + DefinitionSub37.anIntArray9458[i_14_] * 4 - -2); + Component44 class51 = (GradientPreset.aClass263_9195.method2005(0, Component309.anIntArray3347[i_14_])); + if (class51.anIntArray945 != null) { + class51 = class51.method480((DisplayModeManagerContainer58.aClass170_10209), (byte) 47); + if (class51 == null || (class51.anInt921 == -1)) continue; + } + RenderableObject.method2385(class46, i_1_, var_aa, class51.anInt921, i_15_, i, (byte) -113, i_16_, var_ha); + } + for (NodeSub37 class348_sub37 = (NodeSub37) Component387.aClass356_1895.first(i_2_ ^ 0x59b0); class348_sub37 != null; class348_sub37 = ((NodeSub37) Component387.aClass356_1895.next(0))) { + int i_17_ = (int) (0x3L & (class348_sub37.key) >> 28); + if (NativeLibLoader.anInt4155 == i_17_) { + int i_18_ = (-NodeBaseSub2.regionTileX + (int) ((class348_sub37.key) & 0x3fffL)); + int i_19_ = (-Component330.regionTileY + (int) ((class348_sub37.key) >> 14 & 0x3fffL)); + int i_20_ = -(i_4_ / 128) + (2 + i_18_ * 4); + int i_21_ = -(i_3_ / 128) + (2 + i_19_ * 4); + DisplayModeManagerContainer346.method1211(i_1_, (NodeSub12.aClass105Array6742[0]), i, class46, var_aa, i_21_, i_2_ ^ 0x59b2, i_20_); + } + } + for (int i_22_ = 0; (i_22_ < Component324.anInt2057); i_22_++) { + NodeSub22 class348_sub22 = ((NodeSub22) (Component21.aClass356_3654.get(DisplayModeManagerContainer238.anIntArray1233[i_22_], -6008))); + if (class348_sub22 != null) { + Npc npc = (class348_sub22.npc); + if (npc.method2445((byte) -126) && ((npc.plane) == (Component72.localPlayer.plane))) { + NpcComposition class79 = (npc.definition); + if (class79 != null && (class79.anIntArray1377 != null)) class79 = (class79.method794((DisplayModeManagerContainer58.aClass170_10209), -1)); + if (class79 != null && class79.aBoolean1397 && class79.interactive) { + int i_23_ = (-(i_4_ / 128) + (npc.x) / 128); + int i_24_ = ((npc.y) / 128 + -(i_3_ / 128)); + if (class79.anInt1383 != -1) RenderableObject.method2385(class46, i_1_, var_aa, class79.anInt1383, i_23_, i, (byte) -73, i_24_, var_ha); + else DisplayModeManagerContainer346.method1211(i_1_, (NodeSub12.aClass105Array6742[1]), i, class46, var_aa, i_24_, 2, i_23_); + } + } + } + } + int i_25_ = ShaderCompilerSub1.anInt6513; + int[] is = ShaderProgramSub7.anIntArray6290; + for (int i_26_ = 0; i_26_ < i_25_; i_26_++) { + Player player = (InterfaceRenderer.players[is[i_26_]]); + if (player != null && player.method2457((byte) 37) && !player.aBoolean10551 && (Component72.localPlayer != player) && (player.plane == (Component72.localPlayer.plane))) { + int i_27_ = (-(i_4_ / 128) + (player.x) / 128); + int i_28_ = (-(i_3_ / 128) + (player.y) / 128); + boolean bool = false; + for (int i_29_ = 0; (DefinitionSub30.friendCount > i_29_); i_29_++) { + if ((player.username.equals(Component178.friendNames[i_29_])) && (GraphicsToolkit.friendWorldIds[i_29_] != 0)) { + bool = true; + break; + } + } + boolean bool_30_ = false; + for (int i_31_ = 0; NameFormatter.anInt496 > i_31_; i_31_++) { + if (player.username.equals(RequestProcessor.aClass19Array2261[i_31_].aString306)) { + bool_30_ = true; + break; + } + } + boolean bool_32_ = false; + if ((Component72.localPlayer.anInt10542) != 0 && (player.anInt10542 != 0) && (player.anInt10542 == (Component72.localPlayer.anInt10542))) bool_32_ = true; + if (!player.aBoolean10554) { + if (!bool) { + if (bool_30_) DisplayModeManagerContainer346.method1211(i_1_, (NodeSub12.aClass105Array6742[5]), i, class46, var_aa, i_28_, i_2_ + -22958, i_27_); + else if (!bool_32_) DisplayModeManagerContainer346.method1211(i_1_, (NodeSub12.aClass105Array6742[2]), i, class46, var_aa, i_28_, 2, i_27_); + else DisplayModeManagerContainer346.method1211(i_1_, (NodeSub12.aClass105Array6742[4]), i, class46, var_aa, i_28_, 2, i_27_); + } else DisplayModeManagerContainer346.method1211(i_1_, (NodeSub12.aClass105Array6742[3]), i, class46, var_aa, i_28_, 2, i_27_); + } else DisplayModeManagerContainer346.method1211(i_1_, (NodeSub12.aClass105Array6742[6]), i, class46, var_aa, i_28_, i_2_ + -22958, i_27_); + } + } + Component114[] class302s = NodeSub27.aClass302Array6897; + for (int i_33_ = 0; (i_33_ < class302s.length); i_33_++) { + Component114 class302 = class302s[i_33_]; + if (class302 != null && (class302.anInt3840 != 0) && OpenGlShader.clientCycle % 20 < 10) { + if (class302.anInt3840 == 1) { + NodeSub22 class348_sub22 = ((NodeSub22) (Component21.aClass356_3654.get(class302.anInt3833, -6008))); + if (class348_sub22 != null) { + Npc npc = (class348_sub22.npc); + int i_34_ = (-(i_4_ / 128) + (npc.x) / 128); + int i_35_ = (-(i_3_ / 128) + (npc.y) / 128); + DisplayModeManagerContainer260.method2181(360000L, i_1_, -125, i_35_, i, class46, i_34_, (class302.anInt3831), var_aa); + } + } + if (class302.anInt3840 == 2) { + int i_36_ = (-(i_4_ / 128) + (class302.anInt3835 / 128)); + int i_37_ = (-(i_3_ / 128) + (class302.anInt3832 / 128)); + long l = class302.anInt3837 << 7; + l *= l; + DisplayModeManagerContainer260.method2181(l, i_1_, -112, i_37_, i, class46, i_36_, (class302.anInt3831), var_aa); + } + if ((class302.anInt3840 == 10) && class302.anInt3833 >= 0 && (class302.anInt3833 < (InterfaceRenderer.players).length)) { + Player player = (InterfaceRenderer.players[class302.anInt3833]); + if (player != null) { + int i_38_ = (-(i_4_ / 128) + (player.x) / 128); + int i_39_ = (-(i_3_ / 128) + (player.y) / 128); + DisplayModeManagerContainer260.method2181(360000L, i_1_, -121, i_39_, i, class46, i_38_, (class302.anInt3831), var_aa); + } + } + } + } + if (DefinitionSub21.cameraMode != 4) { + if (Component253.anInt3203 != 0) { + int i_40_ = (-(i_4_ / 128) + (Component253.anInt3203 * 4 + 2) - (-(2 * Component72.localPlayer.method2436((byte) 77)) - -2)); + int i_41_ = (4 * Component263.anInt1548 - (-2 + i_3_ / 128) + (2 * (Component72.localPlayer.method2436((byte) 59) - 1))); + DisplayModeManagerContainer346.method1211(i_1_, (Component361.aClass105Array367[(!NodeSub13.aBoolean6759 ? 0 : 1)]), i, class46, var_aa, i_41_, 2, i_40_); + } + if (!Component72.localPlayer.aBoolean10551) var_ha.method3675(3, (byte) -125, -1 + (i - -((class46.anInt709) / 2)), -1 + ((class46.anInt789) / 2 + i_1_), 3, -1); + } + } else var_ha.A(-16777216, var_aa, i, i_1_); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("mn.F(" + (class46 != null ? "{...}" : "null") + ',' + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + i_1_ + ',' + i_2_ + ')')); + } + } + + final HashNode removeHead(int i) { + if (i != 20) cursor = null; + anInt1653++; + HashNode class348_sub42 = (this.sentinel.next); + if (class348_sub42 == this.sentinel) return null; + class348_sub42.unlink(true); + return class348_sub42; + } + + final void clear(int i) { + anInt1646++; + if (i == 2110355138) { + for (; ; ) { + HashNode class348_sub42 = (this.sentinel.next); + if (this.sentinel == class348_sub42) break; + class348_sub42.unlink(true); + } + cursor = null; + } + } + + static final void method1010(boolean bool, boolean bool_42_) { + r.aClass101_9720.method898(Component158.aHa326.method3640()); + anInt1642++; + int[] is = Component158.aHa326.Y(); + DisplayModeManagerContainer288.anInt8630 = is[2]; + Component253.anInt3202 = is[0]; + DisplayModeManagerContainer91.anInt394 = is[3]; + DisplayModeManagerContainer348.anInt5886 = is[1]; + if (bool_42_) { + Component158.aHa326.DA(Component97.anInt1537, RenderableSub5.anInt6417, Component321.anInt2590, Component30.anInt1879); + r.method3284(true, Component289.aDouble10120); + } else { + Component158.aHa326.DA(Component247.anInt4910, ShaderCompilerSub1Sub1.anInt8799, SpriteAtlasShader.anInt6255, OutputStream_Sub1.anInt95); + r.method3284(true, DisplayModeManagerContainer389.aDouble8621); + } + if (bool != false) method1010(true, true); + } + + final HashNode first(int i) { + if (i > -23) method1006(false, (byte) -34); + anInt1649++; + HashNode class348_sub42 = (this.sentinel.next); + if (class348_sub42 == this.sentinel) { + cursor = null; + return null; + } + cursor = class348_sub42.next; + return class348_sub42; + } + + public HashTable() { + this.sentinel.previous = this.sentinel; + this.sentinel.next = this.sentinel; + } +} diff --git a/client/nodes/Node.java b/client/nodes/Node.java new file mode 100644 index 000000000..c8cf965a4 --- /dev/null +++ b/client/nodes/Node.java @@ -0,0 +1,168 @@ +/* Node - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348` (JODE-obfuscated). + * Doubly-linked list node. Holds prev/next pointers (next / previous) and is the base type for caches, node lists and cacheable definitions throughout the client. + */ + +class Node { + static int anInt4285; + static CacheStore aClass45_4286; + static int anInt4287; + static int[] anIntArray4288; + static int anInt4289; + static int anInt4290; + /** Hash / list key (also used as cache lookup id). */ + long key; + static int anInt4292 = 0; + static RenderableObject[] aClass318_Sub1Array4293; + /** Next node in the doubly-linked list (toward sentinel.next). */ + Node next; + /** Previous node in the doubly-linked list. */ + Node previous; + static int anInt4296; + static int anInt4297; + static int anInt4298; + + static final boolean method2709(int i, int i_0_, int i_1_) { + anInt4287++; + if (i_1_ != -1) method2711(-42, 89, null, -113, true, -22, -35, 27, -109, null, 74, -94, -119, null); + return (0x21 & i_0_) != 0; + } + + static final int method2710(int i, int i_2_) { + anInt4289++; + if (i_2_ < 96) return 0; + if (i >= -113) aClass318_Sub1Array4293 = null; + if (i_2_ < 128) return 2; + return 3; + } + + static final DisplayModeManagerContainer370 method2711(int i, int i_3_, DisplayModeManagerContainer370 class64, int i_4_, boolean bool, int i_5_, int i_6_, int i_7_, int i_8_, GraphicsToolkit var_ha, int i_9_, int i_10_, int i_11_, DisplayModeManagerContainer167 class17) { + try { + anInt4298++; + if (class64 == null) return null; + int i_12_ = 2055; + if (bool != false) return null; + if (class17 != null) { + i_12_ |= class17.method263(-1, 103, i_5_, false); + i_12_ &= ~0x200; + } + long l = (((long) i_10_ << 48) + (long) (i_7_ + ((i_9_ << 16) + (i_11_ << 24))) - -((long) i_6_ << 32)); + DisplayModeManagerContainer370 class64_13_; + synchronized (DisplayModeManagerContainer173.aClass60_4254) { + class64_13_ = (DisplayModeManagerContainer370) DisplayModeManagerContainer173.aClass60_4254.get(l, -64); + } + if (class64_13_ == null || (var_ha.method3667(class64_13_.ua(), i_12_) != 0)) { + if (class64_13_ != null) i_12_ = var_ha.bitwiseOr(i_12_, class64_13_.ua()); + int i_14_; + if (i_7_ != 1) { + if (i_7_ == 2) i_14_ = 12; + else if (i_7_ != 3) { + if (i_7_ == 4) i_14_ = 18; + else i_14_ = 21; + } else i_14_ = 15; + } else i_14_ = 9; + int i_15_ = 3; + int[] is = {64, 96, 128}; + DisplayModeManagerContainer77 class124 = new DisplayModeManagerContainer77(1 + i_14_ * i_15_, 2 * i_14_ * i_15_ + -i_14_, 0); + int i_16_ = class124.method1101(0, 0, 0, -44); + int[][] is_17_ = new int[i_15_][i_14_]; + for (int i_18_ = 0; i_18_ < i_15_; i_18_++) { + int i_19_ = is[i_18_]; + int i_20_ = is[i_18_]; + for (int i_21_ = 0; i_14_ > i_21_; i_21_++) { + int i_22_ = (i_21_ << 14) / i_14_; + int i_23_ = (DisplayModeManagerContainer88.anIntArray1207[i_22_] * i_19_ >> 14); + int i_24_ = (DisplayModeManagerContainer88.anIntArray1204[i_22_] * i_20_ >> 14); + is_17_[i_18_][i_21_] = class124.method1101(0, i_24_, i_23_, 123); + } + } + for (int i_25_ = 0; i_15_ > i_25_; i_25_++) { + int i_26_ = (i_25_ * 256 + 128) / i_15_; + int i_27_ = -i_26_ + 256; + byte i_28_ = (byte) (i_26_ * i_11_ + i_9_ * i_27_ >> 8); + short i_29_ = (short) (((0xfc0000 & ((i_10_ & 0xfc00) * i_26_ + i_27_ * (0xfc00 & i_6_))) + (((i_10_ & 0x380) * i_26_ + i_27_ * (0x380 & i_6_)) & 0x38000) + ((i_26_ * (i_10_ & 0x7f) + (0x7f & i_6_) * i_27_) & 0x7f00)) >> 8); + for (int i_30_ = 0; i_30_ < i_14_; i_30_++) { + if (i_25_ == 0) class124.method1102(i_16_, (byte) 1, (byte) -1, (short) -1, (byte) 45, i_29_, is_17_[0][(1 + i_30_) % i_14_], i_28_, is_17_[0][i_30_]); + else { + class124.method1102(is_17_[i_25_ - 1][i_30_], (byte) 1, (byte) -1, (short) -1, (byte) 48, i_29_, is_17_[i_25_ + -1][(1 + i_30_) % i_14_], i_28_, is_17_[i_25_][(1 + i_30_) % i_14_]); + class124.method1102(is_17_[-1 + i_25_][i_30_], (byte) 1, (byte) -1, (short) -1, (byte) 100, i_29_, (is_17_[i_25_][(1 + i_30_) % i_14_]), i_28_, is_17_[i_25_][i_30_]); + } + } + } + class64_13_ = var_ha.method3625(class124, i_12_, Component316.anInt2482, 64, 768); + synchronized (DisplayModeManagerContainer173.aClass60_4254) { + DisplayModeManagerContainer173.aClass60_4254.putOne(class64_13_, l, (byte) -103); + } + } + int i_31_ = class64.V(); + int i_32_ = class64.RA(); + int i_33_ = class64.HA(); + int i_34_ = class64.G(); + HashNodeSub17 class348_sub42_sub17 = null; + if (class17 != null) { + i_5_ = class17.anIntArray237[i_5_]; + class348_sub42_sub17 = RunescapeInfo.aClass87_191.method839(i_5_ >> 16, 3); + i_5_ &= 0xffff; + } + if (class348_sub42_sub17 == null) { + class64_13_ = class64_13_.method614((byte) 3, i_12_, true); + class64_13_.O(-i_31_ + i_32_ >> 1, 128, -i_33_ + i_34_ >> 1); + class64_13_.H(i_32_ + i_31_ >> 1, 0, i_34_ + i_33_ >> 1); + } else { + class64_13_ = class64_13_.method614((byte) 3, i_12_, true); + class64_13_.O(-i_31_ + i_32_ >> 1, 128, i_34_ - i_33_ >> 1); + class64_13_.H(i_32_ + i_31_ >> 1, 0, i_34_ + i_33_ >> 1); + class64_13_.method611(i_5_, -8700, class348_sub42_sub17); + } + if (i != 0) class64_13_.FA(i); + if (i_4_ != 0) class64_13_.VA(i_4_); + if (i_8_ != 0) class64_13_.H(0, i_8_, 0); + return class64_13_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("eh.PC(" + i + ',' + i_3_ + ',' + (class64 != null ? "{...}" : "null") + ',' + i_4_ + ',' + bool + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_9_ + ',' + i_10_ + ',' + i_11_ + ',' + (class17 != null ? "{...}" : "null") + ')')); + } + } + + final boolean isLinked(byte i) { + if (i != 4) return true; + anInt4297++; + return this.previous != null; + } + + public static void method2713(int i) { + aClass45_4286 = null; + aClass318_Sub1Array4293 = null; + if (i != 0) method2711(-47, 87, null, 85, false, -126, -116, -51, -44, null, 75, -69, 87, null); + anIntArray4288 = null; + } + + static final boolean method2714(int i, int i_35_) { + if (i != 7351) method2709(-15, 59, 58); + anInt4296++; + return i_35_ == 1 || i_35_ == 3 || i_35_ == 5; + } + + final void unlink(byte i) { + anInt4285++; + if (this.previous != null) { + this.previous.next = this.next; + this.next.previous = this.previous; + if (i < 18) isLinked((byte) 46); + this.next = null; + this.previous = null; + } + } + + public Node() { + /* empty */ + } + + static { + anIntArray4288 = new int[6]; + anInt4290 = 0; + } +} diff --git a/client/nodes/NodeCache.java b/client/nodes/NodeCache.java new file mode 100644 index 000000000..8c98372e7 --- /dev/null +++ b/client/nodes/NodeCache.java @@ -0,0 +1,243 @@ +/* NodeCache - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class60` (JODE-obfuscated). + * Cache of Node entries. Backed by a hashtable (HashTable history) and an LruCache sub-cache (table). Provides get/put via countHard/clear. + */ + +final class NodeCache { + private final int capacity; + static int anInt1085; + private int remaining; + static int anInt1087; + static int anInt1088; + private HashTable history = new HashTable(); + static int anInt1090; + static int anInt1091; + static int anInt1092; + static int anInt1093; + static int anInt1094; + static int anInt1095; + static int anInt1096; + static int anInt1097; + static GraphicsToolkit aHa1098; + static int anInt1099; + private final LruCache table; + static int anInt1101; + static int anInt1102; + static int anInt1103; + + final int countHard(int i) { + anInt1101++; + int i_0_ = i; + for (CacheNode class348_sub42_sub8 = (CacheNode) history.first(-84); class348_sub42_sub8 != null; class348_sub42_sub8 = ((CacheNode) history.next((byte) 79))) { + if (!class348_sub42_sub8.isSoft(-4)) i_0_++; + } + return i_0_; + } + + static final boolean method576(int i, int i_1_) { + if (i_1_ <= 21) method589(null, -21); + anInt1088++; + return i == 2 || i == 3; + } + + final int getCapacity(int i) { + if (i != -4) getCapacity(19); + anInt1097++; + return capacity; + } + + final void processSoftEntries(int i, int i_2_) { + if (i == 2) { + anInt1093++; + if (MatrixSub1.aClass246_5675 != null) { + for (CacheNode class348_sub42_sub8 = ((CacheNode) history.first(-59)); class348_sub42_sub8 != null; class348_sub42_sub8 = ((CacheNode) history.next((byte) 97))) { + if (!class348_sub42_sub8.isSoft(-4)) { + if ((long) i_2_ < ++class348_sub42_sub8.accessAge) { + CacheNode class348_sub42_sub8_3_ = MatrixSub1.aClass246_5675.method1888(3, class348_sub42_sub8); + table.put((byte) 86, (class348_sub42_sub8.key), class348_sub42_sub8_3_); + Component317.method573(class348_sub42_sub8_3_, class348_sub42_sub8, (byte) 63); + class348_sub42_sub8.unlink((byte) 116); + class348_sub42_sub8.unlink(true); + } + } else if (class348_sub42_sub8.getValue(100) == null) { + class348_sub42_sub8.unlink((byte) 60); + class348_sub42_sub8.unlink(true); + remaining += (class348_sub42_sub8.weight); + } + } + } + } + } + + NodeCache(int i) { + this(i, i); + } + + final Object method579(int i) { + anInt1094++; + CacheNode class348_sub42_sub8 = (CacheNode) table.next(0); + while (class348_sub42_sub8 != null) { + Object object = class348_sub42_sub8.getValue(114); + if (object != null) return object; + CacheNode class348_sub42_sub8_4_ = class348_sub42_sub8; + class348_sub42_sub8 = (CacheNode) table.next(0); + class348_sub42_sub8_4_.unlink((byte) 92); + class348_sub42_sub8_4_.unlink(true); + remaining += class348_sub42_sub8_4_.weight; + } + if (i > -67) aHa1098 = null; + return null; + } + + final void put(int i, Object object, long l, int i_5_) { + try { + anInt1092++; + if (i_5_ > capacity) throw new IllegalStateException("s>cs"); + remove(l, 0); + remaining -= i_5_; + while (remaining < 0) { + CacheNode class348_sub42_sub8 = ((CacheNode) history.removeHead(i ^ 0x7c8a)); + method585(class348_sub42_sub8, i ^ ~0x7cfa); + } + PacketReader class348_sub42_sub8_sub2 = new PacketReader(object, i_5_); + table.put((byte) 54, l, class348_sub42_sub8_sub2); + if (i != 31902) remaining = -106; + history.add(true, class348_sub42_sub8_sub2); + class348_sub42_sub8_sub2.accessAge = 0L; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("jr.E(" + i + ',' + (object != null ? "{...}" : "null") + ',' + l + ',' + i_5_ + ')')); + } + } + + final int getRemaining(int i) { + if (i != -18529) get(-64L, 37); + anInt1099++; + return remaining; + } + + final void putOne(Object object, long l, byte i) { + try { + if (i >= -92) method589(null, -7); + anInt1095++; + put(31902, object, l, 1); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("jr.B(" + (object != null ? "{...}" : "null") + ',' + l + ',' + i + ')')); + } + } + + final Object get(long l, int i) { + try { + int i_6_ = -59 % ((i - 2) / 47); + anInt1085++; + CacheNode class348_sub42_sub8 = (CacheNode) table.get(l, -6008); + if (class348_sub42_sub8 == null) return null; + Object object = class348_sub42_sub8.getValue(86); + if (object == null) { + class348_sub42_sub8.unlink((byte) 102); + class348_sub42_sub8.unlink(true); + remaining += class348_sub42_sub8.weight; + return null; + } + if (class348_sub42_sub8.isSoft(-4)) { + PacketReader class348_sub42_sub8_sub2 = new PacketReader(object, (class348_sub42_sub8.weight)); + table.put((byte) 90, (class348_sub42_sub8.key), class348_sub42_sub8_sub2); + history.add(true, class348_sub42_sub8_sub2); + class348_sub42_sub8_sub2.accessAge = 0L; + class348_sub42_sub8.unlink((byte) 112); + class348_sub42_sub8.unlink(true); + } else { + history.add(true, class348_sub42_sub8); + class348_sub42_sub8.accessAge = 0L; + } + return object; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "jr.K(" + l + ',' + i + ')'); + } + } + + public static void method584(byte i) { + aHa1098 = null; + int i_7_ = -19 % ((i - 59) / 55); + } + + private final void method585(CacheNode class348_sub42_sub8, int i) { + int i_8_ = 80 / ((i - 6) / 36); + anInt1102++; + if (class348_sub42_sub8 != null) { + class348_sub42_sub8.unlink((byte) 117); + class348_sub42_sub8.unlink(true); + remaining += class348_sub42_sub8.weight; + } + } + + private final void remove(long l, int i) { + try { + if (i != 0) history = null; + anInt1090++; + CacheNode class348_sub42_sub8 = (CacheNode) table.get(l, -6008); + method585(class348_sub42_sub8, -57); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "jr.J(" + l + ',' + i + ')'); + } + } + + final void method587(int i) { + anInt1096++; + for (CacheNode class348_sub42_sub8 = (CacheNode) history.first(-71); class348_sub42_sub8 != null; class348_sub42_sub8 = ((CacheNode) history.next((byte) 50))) { + if (class348_sub42_sub8.isSoft(-4)) { + class348_sub42_sub8.unlink((byte) 118); + class348_sub42_sub8.unlink(true); + remaining += class348_sub42_sub8.weight; + } + } + if (i >= -75) method587(-97); + } + + final Object method588(int i) { + anInt1087++; + CacheNode class348_sub42_sub8 = (CacheNode) table.first(0); + if (i != -5052) getCapacity(77); + while (class348_sub42_sub8 != null) { + Object object = class348_sub42_sub8.getValue(119); + if (object == null) { + CacheNode class348_sub42_sub8_9_ = class348_sub42_sub8; + class348_sub42_sub8 = (CacheNode) table.next(0); + class348_sub42_sub8_9_.unlink((byte) 41); + class348_sub42_sub8_9_.unlink(true); + remaining += (class348_sub42_sub8_9_.weight); + } else return object; + } + return null; + } + + static final boolean method589(Component274 class42, int i) { + anInt1103++; + if (class42 == null) return false; + if (i != -4) return false; + if (!class42.aBoolean574) return false; + if (!class42.method373(DisplayModeManagerContainer229.anInterface17_1244, i ^ ~0x2d)) return false; + if (HeapDumpHelper.aClass356_4934.get(class42.anInt581, i ^ 0x1774) != null) return false; + return Component140.aClass356_10442.get(class42.anInt596, i + -6004) == null; + } + + final void clear(int i) { + anInt1091++; + history.clear(i + 2110355138); + table.clear(i); + remaining = capacity; + } + + NodeCache(int i, int i_10_) { + remaining = i; + capacity = i; + int i_11_; + for (i_11_ = 1; i > i_11_ + i_11_ && i_10_ > i_11_; i_11_ += i_11_) { + /* empty */ + } + table = new LruCache(i_11_); + } +} diff --git a/client/nodes/NodeList.java b/client/nodes/NodeList.java new file mode 100644 index 000000000..72277bbb8 --- /dev/null +++ b/client/nodes/NodeList.java @@ -0,0 +1,266 @@ +/* NodeList - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class262` (JODE-obfuscated). + * Doubly-linked list backed by a sentinel Node (sentinel = new Node()). Provides insert/remove (transferFrom/transferRange) and iteration (next). Also bundles unrelated static rendering helpers. + */ + +import java.awt.*; + +final class NodeList { + static CacheStore aClass45_3323; + static int anInt3324; + static int anInt3325; + static BitmapFont aClass324_3326; + static int anInt3327; + static int anInt3328; + static int anInt3329; + static int anInt3330; + static Object anObject3331; + static int anInt3332; + static int anInt3333; + Node sentinel = new Node(); + static DisplayModeManagerContainer56[][] aClass190ArrayArray3335; + static int anInt3336; + static int anInt3337; + static int anInt3338; + static int anInt3339; + static int anInt3340; + static int anInt3341; + private Node cursor; + + final void transferFrom(NodeList class262_0_, byte i) { + if (i != -115) first(-53); + transferRange((this.sentinel.next), false, class262_0_); + anInt3340++; + } + + private final void transferRange(Node class348, boolean bool, NodeList class262_1_) { + do { + try { + anInt3325++; + Node class348_2_ = (this.sentinel.previous); + this.sentinel.previous = class348.previous; + class348.previous.next = this.sentinel; + if (this.sentinel != class348) { + class348.previous = (class262_1_.sentinel.previous); + class348.previous.next = class348; + class262_1_.sentinel.previous = class348_2_; + class348_2_.next = class262_1_.sentinel; + } + if (bool == false) break; + aClass45_3323 = null; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("uh.K(" + (class348 != null ? "{...}" : "null") + ',' + bool + ',' + (class262_1_ != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + final Node next(byte i) { + anInt3329++; + if (i < 29) cursor = null; + Node class348 = cursor; + if (this.sentinel == class348) { + cursor = null; + return null; + } + cursor = class348.next; + return class348; + } + + static final void method1991(float f, float f_3_, float[] fs, int i, int i_4_, boolean bool, int i_5_, int i_6_, int i_7_, int i_8_, float f_9_, float[] fs_10_, int i_11_, int i_12_) { + do { + try { + anInt3338++; + i_7_ -= i_6_; + i -= i_4_; + i_8_ -= i_11_; + float f_13_ = fs[2] * (float) i + (fs[1] * (float) i_8_ + fs[0] * (float) i_7_); + float f_14_ = ((float) i_7_ * fs[3] + (float) i_8_ * fs[4] + (float) i * fs[5]); + float f_15_ = fs[8] * (float) i + (fs[6] * (float) i_7_ + (float) i_8_ * fs[7]); + float f_16_; + float f_17_; + if (i_12_ == 0) { + f_16_ = 0.5F + (f_3_ + f_13_); + f_17_ = -f_15_ + f + 0.5F; + } else if (i_12_ == 1) { + f_17_ = 0.5F + (f_15_ + f); + f_16_ = 0.5F + (f_3_ + f_13_); + } else if (i_12_ == 2) { + f_16_ = 0.5F + (-f_13_ + f_3_); + f_17_ = -f_14_ + f_9_ + 0.5F; + } else if (i_12_ == 3) { + f_17_ = -f_14_ + f_9_ + 0.5F; + f_16_ = f_13_ + f_3_ + 0.5F; + } else if (i_12_ == 4) { + f_16_ = f_15_ + f + 0.5F; + f_17_ = -f_14_ + f_9_ + 0.5F; + } else { + f_16_ = 0.5F + (f + -f_15_); + f_17_ = -f_14_ + f_9_ + 0.5F; + } + if (i_5_ == 1) { + float f_18_ = f_16_; + f_16_ = -f_17_; + f_17_ = f_18_; + } else if (i_5_ == 2) { + f_17_ = -f_17_; + f_16_ = -f_16_; + } else if (i_5_ == 3) { + float f_19_ = f_16_; + f_16_ = f_17_; + f_17_ = -f_19_; + } + fs_10_[1] = f_17_; + fs_10_[0] = f_16_; + if (bool == false) break; + method1991(0.31271333F, 1.5829445F, null, -17, 88, true, -70, -107, 8, 5, -0.347415F, null, -24, -19); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("uh.B(" + f + ',' + f_3_ + ',' + (fs != null ? "{...}" : "null") + ',' + i + ',' + i_4_ + ',' + bool + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ',' + f_9_ + ',' + (fs_10_ != null ? "{...}" : "null") + ',' + i_11_ + ',' + i_12_ + ')')); + } + break; + } while (false); + } + + static final void method1992(RenderableObject class318_sub1, int i, int i_20_, int i_21_) { + if (i_20_ < StaticElementRenderer.anInt6451) { + Component186 class357 = Component335.aClass357ArrayArrayArray2029[i][i_20_ + 1][i_21_]; + if (class357 != null && class357.aClass318_Sub1_Sub1_4402 != null && class357.aClass318_Sub1_Sub1_4402.method2388(-107)) class318_sub1.method2380(JaclibLoader.toolkit, 0, true, (class357.aClass318_Sub1_Sub1_4402), 0, (byte) -116, Component148.anInt3465); + } + if (i_21_ < StaticElementRenderer.anInt6451) { + Component186 class357 = Component335.aClass357ArrayArrayArray2029[i][i_20_][i_21_ + 1]; + if (class357 != null && class357.aClass318_Sub1_Sub1_4402 != null && class357.aClass318_Sub1_Sub1_4402.method2388(-92)) class318_sub1.method2380(JaclibLoader.toolkit, 0, true, (class357.aClass318_Sub1_Sub1_4402), Component148.anInt3465, (byte) -128, 0); + } + if (i_20_ < StaticElementRenderer.anInt6451 && i_21_ < NodeSub41.anInt7054) { + Component186 class357 = (Component335.aClass357ArrayArrayArray2029[i][i_20_ + 1][i_21_ + 1]); + if (class357 != null && class357.aClass318_Sub1_Sub1_4402 != null && class357.aClass318_Sub1_Sub1_4402.method2388(-107)) class318_sub1.method2380(JaclibLoader.toolkit, 0, true, (class357.aClass318_Sub1_Sub1_4402), Component148.anInt3465, (byte) -117, Component148.anInt3465); + } + if (i_20_ < StaticElementRenderer.anInt6451 && i_21_ > 0) { + Component186 class357 = (Component335.aClass357ArrayArrayArray2029[i][i_20_ + 1][i_21_ - 1]); + if (class357 != null && class357.aClass318_Sub1_Sub1_4402 != null && class357.aClass318_Sub1_Sub1_4402.method2388(-90)) class318_sub1.method2380(JaclibLoader.toolkit, 0, true, (class357.aClass318_Sub1_Sub1_4402), -Component148.anInt3465, (byte) -116, Component148.anInt3465); + } + } + + final Node last(int i) { + anInt3336++; + Node class348 = this.sentinel.previous; + if (this.sentinel == class348) { + cursor = null; + return null; + } + cursor = class348.previous; + if (i > -65) last(67); + return class348; + } + + public static void method1994(int i) { + aClass190ArrayArray3335 = null; + anObject3331 = null; + if (i != -13722) method2000(-104, 106, null, null); + aClass45_3323 = null; + aClass324_3326 = null; + } + + final Node first(int i) { + if (i != 4) addHead(null, -30); + anInt3332++; + Node class348 = this.sentinel.next; + if (class348 == this.sentinel) { + cursor = null; + return null; + } + cursor = class348.next; + return class348; + } + + final void clear(int i) { + if (i > 97) { + anInt3339++; + for (; ; ) { + Node class348 = (this.sentinel.next); + if (this.sentinel == class348) break; + class348.unlink((byte) 24); + } + cursor = null; + } + } + + final Node peekFirst(int i) { + anInt3341++; + if (i != 8) aClass190ArrayArray3335 = null; + Node class348 = this.sentinel.next; + if (this.sentinel == class348) return null; + class348.unlink((byte) 114); + return class348; + } + + final int size(int i) { + anInt3333++; + int i_22_ = i; + Node class348 = this.sentinel.next; + while (class348 != this.sentinel) { + class348 = class348.next; + i_22_++; + } + return i_22_; + } + + final void addTail(Node class348, int i) { + if (class348.previous != null) class348.unlink((byte) 91); + anInt3328++; + class348.next = this.sentinel; + class348.previous = this.sentinel.previous; + class348.previous.next = class348; + if (i != -20180) addHead(null, -94); + class348.next.previous = class348; + } + + static final GraphicsToolkit method2000(int i, int i_23_, Canvas canvas, d var_d) { + try { + anInt3324++; + if (i != 3) method1992(null, -40, 69, -1); + return new GlToolkitSub2(canvas, var_d, i_23_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("uh.D(" + i + ',' + i_23_ + ',' + (canvas != null ? "{...}" : "null") + ',' + (var_d != null ? "{...}" : "null") + ')')); + } + } + + /** Insert {@code class348} at the head (after sentinel); used for LRU touch. */ + final void addHead(Node class348, int i) { + anInt3330++; + if (class348.previous != null) class348.unlink((byte) 63); + class348.previous = this.sentinel; + class348.next = this.sentinel.next; + if (i > -89) aClass324_3326 = null; + class348.previous.next = class348; + class348.next.previous = class348; + } + + /** @return true when the list has no elements. */ + final boolean isEmpty(byte i) { + if (i != 18) aClass190ArrayArray3335 = null; + anInt3327++; + return this.sentinel == this.sentinel.next; + } + + /** Walk the list backwards from {@link #cursor}. */ + final Node previous(int i) { + anInt3337++; + Node class348 = cursor; + if (class348 == this.sentinel) { + cursor = null; + return null; + } + int i_24_ = -111 / ((i - -88) / 38); + cursor = class348.previous; + return class348; + } + + public NodeList() { + this.sentinel.previous = this.sentinel; + this.sentinel.next = this.sentinel; + } +} diff --git a/client/nodes/NodeSub1.java b/client/nodes/NodeSub1.java new file mode 100644 index 000000000..9edaa5d60 --- /dev/null +++ b/client/nodes/NodeSub1.java @@ -0,0 +1,94 @@ +/* NodeSub1 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +abstract class NodeSub1 +/** + * RENAMED from `Class348_Sub1` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + private final int anInt6545; + static int anInt6546; + static int[] anIntArray6547 = null; + int anInt6548; + static int anInt6549; + float aFloat6550; + static int anInt6551; + static int anInt6552; + int anInt6553; + private final int anInt6554; + static int anInt6555; + static int anInt6556; + static int anInt6557; + static boolean aBoolean6558 = false; + static Component316 aClass185_6559; + static int anInt6560; + static DisplayModeManagerContainer57 aClass46_6561 = null; + int anInt6562; + static int anInt6563; + + abstract void method2716(int i, float f); + + final int method2717(byte i) { + if (i <= 69) method2719(74); + anInt6549++; + return this.anInt6553; + } + + static final void method2718(int i) { + if (i >= -95) method2719(90); + anInt6560++; + if (Component266.anInt5976 != -1) { + DisplayModeManagerContainer310.method298(false, -1, -1, Component266.anInt5976, -67); + Component266.anInt5976 = -1; + } + } + + public static void method2719(int i) { + if (i != 11339) method2719(87); + aClass46_6561 = null; + anIntArray6547 = null; + aClass185_6559 = null; + } + + final int method2720(int i) { + if (i != -1) this.anInt6562 = -97; + anInt6552++; + return anInt6545; + } + + final float method2721(int i) { + if (i >= -7) return 0.08188432F; + anInt6557++; + return this.aFloat6550; + } + + final int method2722(int i) { + if (i <= 119) return -23; + anInt6556++; + return this.anInt6548; + } + + final int method2723(int i) { + if (i != -1) return -46; + anInt6546++; + return anInt6554; + } + + final int method2724(int i) { + if (i != -1) method2725(53, (byte) -84, -7, -12); + anInt6563++; + return this.anInt6562; + } + + abstract void method2725(int i, byte i_0_, int i_1_, int i_2_); + + NodeSub1(int i, int i_3_, int i_4_, int i_5_, int i_6_, float f) { + this.anInt6548 = i_3_; + this.anInt6553 = i_4_; + anInt6554 = i_5_; + this.aFloat6550 = f; + anInt6545 = i_6_; + this.anInt6562 = i; + } +} diff --git a/client/nodes/NodeSub10.java b/client/nodes/NodeSub10.java new file mode 100644 index 000000000..292a130a0 --- /dev/null +++ b/client/nodes/NodeSub10.java @@ -0,0 +1,464 @@ +/* NodeSub10 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NodeSub10 +/** + * RENAMED from `Class348_Sub10` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + private static float[] aFloatArray6700; + private float[] aFloatArray6701; + private int anInt6702; + private byte[][] aByteArrayArray6703; + private static Component81[] aClass276Array6704; + private static int[] anIntArray6705; + private boolean aBoolean6706; + private static float[] aFloatArray6707; + private static float[] aFloatArray6708; + private static int[] anIntArray6709; + private static Component107[] aClass343Array6710; + private static int anInt6711; + private static float[] aFloatArray6712; + private static boolean[] aBooleanArray6713; + private static byte[] aByteArray6714; + private static Component116[] aClass210Array6715; + private int anInt6716; + private int anInt6717; + static Component367[] aClass370Array6718; + private static int[] anIntArray6719; + private static float[] aFloatArray6720; + private static int anInt6721; + private static float[] aFloatArray6722; + private int anInt6723; + private static boolean aBoolean6724 = false; + private static int anInt6725; + private static float[] aFloatArray6726; + private int anInt6727; + private boolean aBoolean6728; + private static int anInt6729; + private int anInt6730; + private byte[] aByteArray6731; + private int anInt6732; + private int anInt6733; + + private static final void method2784(byte[] is, int i) { + aByteArray6714 = is; + anInt6729 = i; + anInt6711 = 0; + } + + public static void method2785() { + aByteArray6714 = null; + aClass370Array6718 = null; + aClass210Array6715 = null; + aClass343Array6710 = null; + aClass276Array6704 = null; + aBooleanArray6713 = null; + anIntArray6709 = null; + aFloatArray6707 = null; + aFloatArray6722 = null; + aFloatArray6720 = null; + aFloatArray6708 = null; + aFloatArray6712 = null; + aFloatArray6726 = null; + aFloatArray6700 = null; + anIntArray6719 = null; + anIntArray6705 = null; + } + + static final float method2786(int i) { + int i_0_ = i & 0x1fffff; + int i_1_ = i & ~0x7fffffff; + int i_2_ = (i & 0x7fe00000) >> 21; + if (i_1_ != 0) i_0_ = -i_0_; + return (float) ((double) i_0_ * Math.pow(2.0, i_2_ - 788)); + } + + private final void method2787(byte[] is) { + Buffer class348_sub49 = new Buffer(is); + anInt6702 = class348_sub49.readInt((byte) -126); + anInt6716 = class348_sub49.readInt((byte) -126); + anInt6723 = class348_sub49.readInt((byte) -126); + anInt6717 = class348_sub49.readInt((byte) -126); + if (anInt6717 < 0) { + anInt6717 = ~anInt6717; + aBoolean6728 = true; + } + int i = class348_sub49.readInt((byte) -126); + aByteArrayArray6703 = new byte[i][]; + for (int i_3_ = 0; i_3_ < i; i_3_++) { + int i_4_ = 0; + int i_5_; + do { + i_5_ = class348_sub49.readUnsignedByte(255); + i_4_ += i_5_; + } while (i_5_ >= 255); + byte[] is_6_ = new byte[i_4_]; + class348_sub49.readBytes(2147483647, 0, i_4_, is_6_); + aByteArrayArray6703[i_3_] = is_6_; + } + } + + static final int method2788() { + int i = aByteArray6714[anInt6729] >> anInt6711 & 0x1; + anInt6711++; + anInt6729 += anInt6711 >> 3; + anInt6711 &= 0x7; + return i; + } + + static final int method2789(int i) { + int i_7_ = 0; + int i_8_ = 0; + int i_9_; + for (/**/; i >= 8 - anInt6711; i -= i_9_) { + i_9_ = 8 - anInt6711; + int i_10_ = (1 << i_9_) - 1; + i_7_ += (aByteArray6714[anInt6729] >> anInt6711 & i_10_) << i_8_; + anInt6711 = 0; + anInt6729++; + i_8_ += i_9_; + } + if (i > 0) { + i_9_ = (1 << i) - 1; + i_7_ += (aByteArray6714[anInt6729] >> anInt6711 & i_9_) << i_8_; + anInt6711 += i; + } + return i_7_; + } + + private static final void method2790(byte[] is) { + method2784(is, 0); + anInt6725 = 1 << method2789(4); + anInt6721 = 1 << method2789(4); + aFloatArray6707 = new float[anInt6721]; + for (int i = 0; i < 2; i++) { + int i_11_ = i != 0 ? anInt6721 : anInt6725; + int i_12_ = i_11_ >> 1; + int i_13_ = i_11_ >> 2; + int i_14_ = i_11_ >> 3; + float[] fs = new float[i_12_]; + for (int i_15_ = 0; i_15_ < i_13_; i_15_++) { + fs[2 * i_15_] = (float) Math.cos((double) (4 * i_15_) * 3.141592653589793 / (double) i_11_); + fs[2 * i_15_ + 1] = -(float) Math.sin((double) (4 * i_15_) * 3.141592653589793 / (double) i_11_); + } + float[] fs_16_ = new float[i_12_]; + for (int i_17_ = 0; i_17_ < i_13_; i_17_++) { + fs_16_[2 * i_17_] = (float) Math.cos((double) (2 * i_17_ + 1) * 3.141592653589793 / (double) (2 * i_11_)); + fs_16_[2 * i_17_ + 1] = (float) Math.sin((double) (2 * i_17_ + 1) * 3.141592653589793 / (double) (2 * i_11_)); + } + float[] fs_18_ = new float[i_13_]; + for (int i_19_ = 0; i_19_ < i_14_; i_19_++) { + fs_18_[2 * i_19_] = (float) Math.cos((double) (4 * i_19_ + 2) * 3.141592653589793 / (double) i_11_); + fs_18_[2 * i_19_ + 1] = -(float) Math.sin((double) (4 * i_19_ + 2) * 3.141592653589793 / (double) i_11_); + } + int[] is_20_ = new int[i_14_]; + int i_21_ = Component80.method2253(i_14_ - 1, -53); + for (int i_22_ = 0; i_22_ < i_14_; i_22_++) + is_20_[i_22_] = DisplayModeManagerContainer26.method818(i_21_, 0, i_22_); + if (i == 0) { + aFloatArray6722 = fs; + aFloatArray6720 = fs_16_; + aFloatArray6708 = fs_18_; + anIntArray6719 = is_20_; + } else { + aFloatArray6712 = fs; + aFloatArray6726 = fs_16_; + aFloatArray6700 = fs_18_; + anIntArray6705 = is_20_; + } + } + int i = method2789(8) + 1; + aClass370Array6718 = new Component367[i]; + for (int i_23_ = 0; i_23_ < i; i_23_++) + aClass370Array6718[i_23_] = new Component367(); + int i_24_ = method2789(6) + 1; + for (int i_25_ = 0; i_25_ < i_24_; i_25_++) + method2789(16); + int i_26_ = method2789(6) + 1; + aClass210Array6715 = new Component116[i_26_]; + for (int i_27_ = 0; i_27_ < i_26_; i_27_++) + aClass210Array6715[i_27_] = new Component116(); + int i_28_ = method2789(6) + 1; + aClass343Array6710 = new Component107[i_28_]; + for (int i_29_ = 0; i_29_ < i_28_; i_29_++) + aClass343Array6710[i_29_] = new Component107(); + int i_30_ = method2789(6) + 1; + aClass276Array6704 = new Component81[i_30_]; + for (int i_31_ = 0; i_31_ < i_30_; i_31_++) + aClass276Array6704[i_31_] = new Component81(); + int i_32_ = method2789(6) + 1; + aBooleanArray6713 = new boolean[i_32_]; + anIntArray6709 = new int[i_32_]; + for (int i_33_ = 0; i_33_ < i_32_; i_33_++) { + aBooleanArray6713[i_33_] = method2788() != 0; + method2789(16); + method2789(16); + anIntArray6709[i_33_] = method2789(8); + } + aBoolean6724 = true; + } + + final NodeSub19Sub1 method2791(int[] is) { + if (is != null && is[0] <= 0) return null; + if (aByteArray6731 == null) { + anInt6730 = 0; + aFloatArray6701 = new float[anInt6721]; + aByteArray6731 = new byte[anInt6716]; + anInt6733 = 0; + anInt6732 = 0; + } + for (/**/; anInt6732 < aByteArrayArray6703.length; anInt6732++) { + if (is != null && is[0] <= 0) return null; + float[] fs = method2794(anInt6732); + if (fs != null) { + int i = anInt6733; + int i_34_ = fs.length; + if (i_34_ > anInt6716 - i) i_34_ = anInt6716 - i; + for (int i_35_ = 0; i_35_ < i_34_; i_35_++) { + int i_36_ = (int) (128.0F + fs[i_35_] * 128.0F); + if ((i_36_ & ~0xff) != 0) i_36_ = (~i_36_) >> 31; + aByteArray6731[i++] = (byte) (i_36_ - 128); + } + if (is != null) is[0] -= i - anInt6733; + anInt6733 = i; + } + } + aFloatArray6701 = null; + byte[] is_37_ = aByteArray6731; + aByteArray6731 = null; + return new NodeSub19Sub1(anInt6702, is_37_, anInt6723, anInt6717, aBoolean6728); + } + + private static final boolean method2792(CacheStore class45) { + if (!aBoolean6724) { + byte[] is = class45.getFile(-1860, 0, 0); + if (is == null) return false; + method2790(is); + } + return true; + } + + static final NodeSub10 method2793(CacheStore class45, int i) { + if (!method2792(class45)) { + class45.isSingletonFileReady(false, i); + return null; + } + byte[] is = class45.getSingletonFile((byte) 73, i); + if (is == null) return null; + return new NodeSub10(is); + } + + private final float[] method2794(int i) { + method2784(aByteArrayArray6703[i], 0); + method2788(); + int i_38_ = method2789(Component80.method2253(anIntArray6709.length - 1, 123)); + boolean bool = aBooleanArray6713[i_38_]; + int i_39_ = bool ? anInt6721 : anInt6725; + boolean bool_40_ = false; + boolean bool_41_ = false; + if (bool) { + bool_40_ = method2788() != 0; + bool_41_ = method2788() != 0; + } + int i_42_ = i_39_ >> 1; + int i_43_; + int i_44_; + int i_45_; + if (bool && !bool_40_) { + i_43_ = (i_39_ >> 2) - (anInt6725 >> 2); + i_44_ = (i_39_ >> 2) + (anInt6725 >> 2); + i_45_ = anInt6725 >> 1; + } else { + i_43_ = 0; + i_44_ = i_42_; + i_45_ = i_39_ >> 1; + } + int i_46_; + int i_47_; + int i_48_; + if (bool && !bool_41_) { + i_46_ = i_39_ - (i_39_ >> 2) - (anInt6725 >> 2); + i_47_ = i_39_ - (i_39_ >> 2) + (anInt6725 >> 2); + i_48_ = anInt6725 >> 1; + } else { + i_46_ = i_42_; + i_47_ = i_39_; + i_48_ = i_39_ >> 1; + } + Component81 class276 = aClass276Array6704[anIntArray6709[i_38_]]; + int i_49_ = class276.anInt3557; + int i_50_ = class276.anIntArray3556[i_49_]; + boolean bool_51_ = !aClass210Array6715[i_50_].method1534(); + boolean bool_52_ = bool_51_; + for (int i_53_ = 0; i_53_ < class276.anInt3555; i_53_++) { + Component107 class343 = (aClass343Array6710[class276.anIntArray3554[i_53_]]); + float[] fs = aFloatArray6707; + class343.method2688(fs, i_39_ >> 1, bool_52_); + } + if (!bool_51_) { + int i_54_ = class276.anInt3557; + int i_55_ = class276.anIntArray3556[i_54_]; + aClass210Array6715[i_55_].method1530(aFloatArray6707, i_39_ >> 1); + } + if (bool_51_) { + for (int i_56_ = i_39_ >> 1; i_56_ < i_39_; i_56_++) + aFloatArray6707[i_56_] = 0.0F; + } else { + int i_57_ = i_39_ >> 1; + int i_58_ = i_39_ >> 2; + int i_59_ = i_39_ >> 3; + float[] fs = aFloatArray6707; + for (int i_60_ = 0; i_60_ < i_57_; i_60_++) + fs[i_60_] *= 0.5F; + for (int i_61_ = i_57_; i_61_ < i_39_; i_61_++) + fs[i_61_] = -fs[i_39_ - i_61_ - 1]; + float[] fs_62_ = bool ? aFloatArray6712 : aFloatArray6722; + float[] fs_63_ = bool ? aFloatArray6726 : aFloatArray6720; + float[] fs_64_ = bool ? aFloatArray6700 : aFloatArray6708; + int[] is = bool ? anIntArray6705 : anIntArray6719; + for (int i_65_ = 0; i_65_ < i_58_; i_65_++) { + float f = fs[4 * i_65_] - fs[i_39_ - 4 * i_65_ - 1]; + float f_66_ = fs[4 * i_65_ + 2] - fs[i_39_ - 4 * i_65_ - 3]; + float f_67_ = fs_62_[2 * i_65_]; + float f_68_ = fs_62_[2 * i_65_ + 1]; + fs[i_39_ - 4 * i_65_ - 1] = f * f_67_ - f_66_ * f_68_; + fs[i_39_ - 4 * i_65_ - 3] = f * f_68_ + f_66_ * f_67_; + } + for (int i_69_ = 0; i_69_ < i_59_; i_69_++) { + float f = fs[i_57_ + 3 + 4 * i_69_]; + float f_70_ = fs[i_57_ + 1 + 4 * i_69_]; + float f_71_ = fs[4 * i_69_ + 3]; + float f_72_ = fs[4 * i_69_ + 1]; + fs[i_57_ + 3 + 4 * i_69_] = f + f_71_; + fs[i_57_ + 1 + 4 * i_69_] = f_70_ + f_72_; + float f_73_ = fs_62_[i_57_ - 4 - 4 * i_69_]; + float f_74_ = fs_62_[i_57_ - 3 - 4 * i_69_]; + fs[4 * i_69_ + 3] = (f - f_71_) * f_73_ - (f_70_ - f_72_) * f_74_; + fs[4 * i_69_ + 1] = (f_70_ - f_72_) * f_73_ + (f - f_71_) * f_74_; + } + int i_75_ = Component80.method2253(i_39_ - 1, -52); + for (int i_76_ = 0; i_76_ < i_75_ - 3; i_76_++) { + int i_77_ = i_39_ >> i_76_ + 2; + int i_78_ = 8 << i_76_; + for (int i_79_ = 0; i_79_ < 2 << i_76_; i_79_++) { + int i_80_ = i_39_ - i_77_ * 2 * i_79_; + int i_81_ = i_39_ - i_77_ * (2 * i_79_ + 1); + for (int i_82_ = 0; i_82_ < i_39_ >> i_76_ + 4; i_82_++) { + int i_83_ = 4 * i_82_; + float f = fs[i_80_ - 1 - i_83_]; + float f_84_ = fs[i_80_ - 3 - i_83_]; + float f_85_ = fs[i_81_ - 1 - i_83_]; + float f_86_ = fs[i_81_ - 3 - i_83_]; + fs[i_80_ - 1 - i_83_] = f + f_85_; + fs[i_80_ - 3 - i_83_] = f_84_ + f_86_; + float f_87_ = fs_62_[i_82_ * i_78_]; + float f_88_ = fs_62_[i_82_ * i_78_ + 1]; + fs[i_81_ - 1 - i_83_] = (f - f_85_) * f_87_ - (f_84_ - f_86_) * f_88_; + fs[i_81_ - 3 - i_83_] = (f_84_ - f_86_) * f_87_ + (f - f_85_) * f_88_; + } + } + } + for (int i_89_ = 1; i_89_ < i_59_ - 1; i_89_++) { + int i_90_ = is[i_89_]; + if (i_89_ < i_90_) { + int i_91_ = 8 * i_89_; + int i_92_ = 8 * i_90_; + float f = fs[i_91_ + 1]; + fs[i_91_ + 1] = fs[i_92_ + 1]; + fs[i_92_ + 1] = f; + f = fs[i_91_ + 3]; + fs[i_91_ + 3] = fs[i_92_ + 3]; + fs[i_92_ + 3] = f; + f = fs[i_91_ + 5]; + fs[i_91_ + 5] = fs[i_92_ + 5]; + fs[i_92_ + 5] = f; + f = fs[i_91_ + 7]; + fs[i_91_ + 7] = fs[i_92_ + 7]; + fs[i_92_ + 7] = f; + } + } + for (int i_93_ = 0; i_93_ < i_57_; i_93_++) + fs[i_93_] = fs[2 * i_93_ + 1]; + for (int i_94_ = 0; i_94_ < i_59_; i_94_++) { + fs[i_39_ - 1 - 2 * i_94_] = fs[4 * i_94_]; + fs[i_39_ - 2 - 2 * i_94_] = fs[4 * i_94_ + 1]; + fs[i_39_ - i_58_ - 1 - 2 * i_94_] = fs[4 * i_94_ + 2]; + fs[i_39_ - i_58_ - 2 - 2 * i_94_] = fs[4 * i_94_ + 3]; + } + for (int i_95_ = 0; i_95_ < i_59_; i_95_++) { + float f = fs_64_[2 * i_95_]; + float f_96_ = fs_64_[2 * i_95_ + 1]; + float f_97_ = fs[i_57_ + 2 * i_95_]; + float f_98_ = fs[i_57_ + 2 * i_95_ + 1]; + float f_99_ = fs[i_39_ - 2 - 2 * i_95_]; + float f_100_ = fs[i_39_ - 1 - 2 * i_95_]; + float f_101_ = f_96_ * (f_97_ - f_99_) + f * (f_98_ + f_100_); + fs[i_57_ + 2 * i_95_] = (f_97_ + f_99_ + f_101_) * 0.5F; + fs[i_39_ - 2 - 2 * i_95_] = (f_97_ + f_99_ - f_101_) * 0.5F; + f_101_ = f_96_ * (f_98_ + f_100_) - f * (f_97_ - f_99_); + fs[i_57_ + 2 * i_95_ + 1] = (f_98_ - f_100_ + f_101_) * 0.5F; + fs[i_39_ - 1 - 2 * i_95_] = (-f_98_ + f_100_ + f_101_) * 0.5F; + } + for (int i_102_ = 0; i_102_ < i_58_; i_102_++) { + fs[i_102_] = (fs[2 * i_102_ + i_57_] * fs_63_[2 * i_102_] + fs[2 * i_102_ + 1 + i_57_] * fs_63_[2 * i_102_ + 1]); + fs[i_57_ - 1 - i_102_] = (fs[2 * i_102_ + i_57_] * fs_63_[2 * i_102_ + 1] - fs[2 * i_102_ + 1 + i_57_] * fs_63_[2 * i_102_]); + } + for (int i_103_ = 0; i_103_ < i_58_; i_103_++) + fs[i_39_ - i_58_ + i_103_] = -fs[i_103_]; + for (int i_104_ = 0; i_104_ < i_58_; i_104_++) + fs[i_104_] = fs[i_58_ + i_104_]; + for (int i_105_ = 0; i_105_ < i_58_; i_105_++) + fs[i_58_ + i_105_] = -fs[i_58_ - i_105_ - 1]; + for (int i_106_ = 0; i_106_ < i_58_; i_106_++) + fs[i_57_ + i_106_] = fs[i_39_ - i_106_ - 1]; + for (int i_107_ = i_43_; i_107_ < i_44_; i_107_++) { + float f = (float) Math.sin(((double) (i_107_ - i_43_) + 0.5) / (double) i_45_ * 0.5 * 3.141592653589793); + aFloatArray6707[i_107_] *= (float) Math.sin(1.5707963267948966 * (double) f * (double) f); + } + for (int i_108_ = i_46_; i_108_ < i_47_; i_108_++) { + float f = (float) Math.sin((((double) (i_108_ - i_46_) + 0.5) / (double) i_48_ * 0.5 * 3.141592653589793) + 1.5707963267948966); + aFloatArray6707[i_108_] *= (float) Math.sin(1.5707963267948966 * (double) f * (double) f); + } + } + float[] fs = null; + if (anInt6730 > 0) { + int i_109_ = anInt6730 + i_39_ >> 2; + fs = new float[i_109_]; + if (!aBoolean6706) { + for (int i_110_ = 0; i_110_ < anInt6727; i_110_++) { + int i_111_ = (anInt6730 >> 1) + i_110_; + fs[i_110_] += aFloatArray6701[i_111_]; + } + } + if (!bool_51_) { + for (int i_112_ = i_43_; i_112_ < i_39_ >> 1; i_112_++) { + int i_113_ = fs.length - (i_39_ >> 1) + i_112_; + fs[i_113_] += aFloatArray6707[i_112_]; + } + } + } + float[] fs_114_ = aFloatArray6701; + aFloatArray6701 = aFloatArray6707; + aFloatArray6707 = fs_114_; + anInt6730 = i_39_; + anInt6727 = i_47_ - (i_39_ >> 1); + aBoolean6706 = bool_51_; + return fs; + } + + private NodeSub10(byte[] is) { + method2787(is); + } + + static final NodeSub10 method2795(CacheStore class45, int i, int i_115_) { + if (!method2792(class45)) { + class45.isFileReady(-10499, i, i_115_); + return null; + } + byte[] is = class45.getFile(-1860, i, i_115_); + if (is == null) return null; + return new NodeSub10(is); + } +} diff --git a/client/nodes/NodeSub11.java b/client/nodes/NodeSub11.java new file mode 100644 index 000000000..2ed77560c --- /dev/null +++ b/client/nodes/NodeSub11.java @@ -0,0 +1,73 @@ +/* NodeSub11 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * Keyboard event node produced by {@link KeyFocusHandler}. + * Implements {@link Interface6} getters over the packed fields below. + */ +final class NodeSub11 extends Node implements Interface6 { + static int anInt4760; + /** Typed character ({@code '\0'} if none). */ + char keyChar; + static int anInt4762; + static int anInt4763; + /** Enqueue time (client millis). */ + long when; + static int anInt4765; + /** Modifier flags snapshot. */ + int modifiers; + /** Mapped key code / key index. */ + int keyCode; + static int anInt4768; + static int anInt4769; + static CacheStore aClass45_4770; + /** See {@link Interface6#getEventType}. */ + int eventType; + + public final int getEventType(int i) { + if (i != 26276) getEventType(113); + anInt4769++; + return this.eventType; + } + + public final char getKeyChar(byte i) { + anInt4768++; + if (i < 8) getEventType(113); + return this.keyChar; + } + + public final int getModifiers(int i) { + anInt4762++; + if (i != -7616) getWhen((byte) 38); + return this.modifiers; + } + + public final long getWhen(byte i) { + int i_0_ = 17 / ((i - 46) / 58); + anInt4765++; + return this.when; + } + + public static void method2796(byte i) { + aClass45_4770 = null; + if (i != 104) method2796((byte) -6); + } + + static final boolean method2797(String string, byte i) { + anInt4763++; + if (string == null) return false; + for (int i_1_ = 0; (i_1_ < DefinitionSub30.friendCount); i_1_++) { + if (string.equalsIgnoreCase(Component178.friendNames[i_1_])) return true; + } + if (string.equalsIgnoreCase(Component72.localPlayer.username)) return true; + if (i != -63) return false; + return false; + } + + public final int getKeyCode(boolean bool) { + anInt4760++; + if (bool != false) return -114; + return this.keyCode; + } +} diff --git a/client/nodes/NodeSub12.java b/client/nodes/NodeSub12.java new file mode 100644 index 000000000..0a4616aec --- /dev/null +++ b/client/nodes/NodeSub12.java @@ -0,0 +1,96 @@ +/* NodeSub12 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NodeSub12 +/** + * RENAMED from `Class348_Sub12` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + static int anInt6734; + int anInt6735; + static short[][][] aShortArrayArrayArray6736; + int anInt6737; + int anInt6738 = -2147483648; + static int anInt6739; + static int[][] anIntArrayArray6740; + private static short[][] aShortArrayArray6741 = {{6798, 107, 10283, 16, 4797, 7744, 5799, 4634, -31839, 22433, 2983, -11343, 8, 5281, 10438, 3650, -27322, -21845, 200, 571, 908, 21830, 28946, -15701, -14010}, {8741, 12, -1506, -22374, 7735, 8404, 1701, -27106, 24094, 10153, -8915, 4783, 1341, 16578, -30533, 25239, 8, 5281, 10438, 3650, -27322, -21845, 200, 571, 908, 21830, 28946, -15701, -14010, 7085, 4001, 317, 918, 9517, 9125, 3608, 16450, -32593, 22026, 2700, -22256, 10289, 3877, -27999, 10770, 8982, 3753, 10275, 924, 8637, -26428, 26785, -15202, 8736, 2994, -25710, 928, 6859, -25016, -5449, -14823, -23401, 12, -22456, -27471, -11229, 21673, 57, -24046, -27190, -22877, -30041, 20013, 21596, -31414, 29000, -11209, 6361, -25552, -25450, -14174, -10998, -27357, 3249, 7465, 8913, 13774, 4584, 11728, 10454, 8123, 2619, 13756, -28220, -26323, -23901, -31385, -32342, -29806, -29902, -24128, 933, 1189, 3873, 6057, 8590, 1812, 4895, -5366, 15019, 20793, 7599, 9536, 21778, 14102, 6938, 14648, 5919, 6472, 10128, 17940, 3226, 267, 5421, -27570, -25177, -26319, -28217, -28132, -23792, -23249, -23001, -19033, 5427, 6340, 5673, 2458, 3625, 8646, 5186, 10382, 6826, 7442, 158, 2454, 9655, -27496, -27578, -31687, 11146, 18712, 10785, 21902, 10566, 9500, 11819, 11144, -15965, -24170, -32488, -29277, 29097, -9567, -18794, -27116, 921, 6028, 2974, -5230, 6550, 15244, 14, 49, 3994, 2332, 6038, -31701, 520, 41, 9402, -4825, 28978, -25278, 30876, 13475, -28395, -24010, -14027, -22454, -18158, 20503, -27618, -22258, -1776, -31468, 9616, 7333, 650, 784, 796, 813, -616, -3194, -8152, 1686, 29074, 22422, -32245, 29084, 22411, -22000, 3982, 7062, 10382, 3230, 8076, 20, 1936, 10, -22473, 4892, 5805, 5904, 10, 48, 1936, 5640, 8472, -25529}, {25238, 8742, 12, -1506, -22374, 7735, 8404, 1701, -27106, 24094, 10153, -8915, 4783, 1341, 16578, -30533, 8, 5281, 10438, 3650, -27322, -21845, 200, 571, 908, 21830, 28946, -15701, -14010, 7085, 4001, 317, 918, 9517, 9125, 3608, 16450, -32593, 22026, 2700, -22256, 10289, 3877, -27999, 10770, 8982, 3753, 10275, 924, 8637, -26428, 26785, -15202, 8736, 2994, -25710, 928, 6859, -25016, -5449, -14823, -23401, 12, -22456, -27471, -11229, 21673, 57, -24046, -27190, -22877, -30041, 20013, 21596, -31414, 29000, -11209, 6361, -25552, -25450, -14174, -10998, -27357, 3249, 7465, 8913, 13774, 4584, 11728, 10454, 8123, 2619, 13756, -28220, -26323, -23901, -31385, -32342, -29806, -29902, -24128, 933, 1189, 3873, 6057, 8590, 1812, 4895, -5366, 15019, 20793, 7599, 9536, 21778, 14102, 6938, 14648, 5919, 6472, 10128, 17940, 3226, 267, 5421, -27570, -25177, -26319, -28217, -28132, -23792, -23249, -23001, -19033, 5427, 6340, 5673, 2458, 3625, 8646, 5186, 10382, 6826, 7442, 158, 2454, 9655, -27496, -27578, -31687, 11146, 18712, 10785, 21902, 10566, 9500, 11819, 11144, -15965, -24170, -32488, -29277, 29097, -9567, -18794, -27116, 921, 6028, 2974, -5230, 6550, 15244, 14, 49, 3994, 2332, 6038, -31701, 520, 41, 9402, -4825, 28978, -25278, 30876, 13475, -28395, -24010, -14027, -22454, -18158, 20503, -27618, -22258, -1776, -31468, 9616, 7333, 650, 784, 796, 813, -616, -3194, -8152, 1686, 29074, 22422, -32245, 29084, 22411, -22000, 3982, 7062, 10382, 3230, 8076, 20, 1936, 10, -22473, 4892, 5805, 5904, 10, 48, 1936, 5640, 8472, -25529}, {4626, 11146, 6439, 12, 4758, 10270, 7085, 4001, 317, 918, 9517, 9125, 3608, 16450, -32593, 22026, 2700, -22256, 10289, 3877, -27999, 10770, 8982, 3753, 10275, 924, 8637, -26428, 26785, -15202, 8736, 2994, -25710, 928, 6859, -25016, -5449, -14823, -23401, 12, -22456, -27471, -11229, 21673, 57, -24046, -27190, -22877, -30041, 20013, 21596, -31414, 29000, -11209, 6361, -25552, -25450, -14174, -10998, -27357, 3249, 7465, 8913, 13774, 4584, 11728, 10454, 8123, 2619, 13756, -28220, -26323, -23901, -31385, -32342, -29806, -29902, -24128, 933, 1189, 3873, 6057, 8590, 1812, 4895, -5366, 15019, 20793, 7599, 9536, 21778, 14102, 6938, 14648, 5919, 6472, 10128, 17940, 3226, 267, 5421, -27570, -25177, -26319, -28217, -28132, -23792, -23249, -23001, -19033, 5427, 6340, 5673, 2458, 3625, 8646, 5186, 10382, 6826, 7442, 158, 2454, 9655, -27496, -27578, -31687, 11146, 18712, 10785, 21902, 10566, 9500, 11819, 11144, -15965, -24170, -32488, -29277, 29097, -9567, -18794, -27116, 921, 6028, 2974, -5230, 6550, 15244, 14, 49, 3994, 2332, 6038, -31701, 520, 41, 9402, -4825, 28978, -25278, 30876, 13475, -28395, -24010, -14027, -22454, -18158, 20503, -27618, -22258, -1776, -31468, 9616, 7333, 650, 784, 796, 813, -616, -3194, -8152, 1686, 29074, 22422, -32245, 29084, 22411, -22000, 3982, 7062, 10382, 3230, 8076, 20, 1936, 10, -22473, 4892, 5805, 5904, 10, 48, 1936, 5640, 8472, -25529}, {4550, 4537, 5681, 5673, 5790, 6806, 8076, 4574, 4444, 4328, 7052, 4490}}; + static Component24[] aClass105Array6742; + static Component224 aClass273_6743; + private static short[][] aShortArrayArray6744; + int anInt6745; + int anInt6746; + int anInt6747; + static volatile long aLong6748; + private static short[][] aShortArrayArray6749; + int anInt6750; + NodeSub21 aClass348_Sub21_6751; + static float aFloat6752; + int anInt6753; + + public static void method2798(int i) { + aShortArrayArray6741 = null; + aClass105Array6742 = null; + aShortArrayArray6744 = null; + aShortArrayArray6749 = null; + int i_0_ = -33 % ((-16 - i) / 53); + aClass273_6743 = null; + aShortArrayArrayArray6736 = null; + anIntArrayArray6740 = null; + } + + final boolean method2799(int i, int i_1_, int i_2_) { + anInt6739++; + if (i_1_ >= this.anInt6747 && this.anInt6750 >= i_1_ && i >= this.anInt6746 && (i <= this.anInt6735)) return true; + if (this.anInt6745 <= i_1_ && this.anInt6737 >= i_1_ && this.anInt6753 <= i && this.anInt6738 >= i) return true; + if (i_2_ < 60) method2799(8, 24, -128); + return false; + } + + static final void method2800(int i, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_, byte i_10_, int i_11_) { + anInt6734++; + if (i_10_ >= 118) { + NodeSub27 class348_sub27 = null; + for (NodeSub27 class348_sub27_12_ = ((NodeSub27) HashNodeSub20.aClass262_9711.first(4)); class348_sub27_12_ != null; class348_sub27_12_ = (NodeSub27) HashNodeSub20.aClass262_9711.next((byte) 50)) { + if ((class348_sub27_12_.anInt6899 == i) && i_11_ == class348_sub27_12_.anInt6905 && i_4_ == class348_sub27_12_.anInt6896 && (class348_sub27_12_.anInt6904 == i_7_)) { + class348_sub27 = class348_sub27_12_; + break; + } + } + if (class348_sub27 == null) { + class348_sub27 = new NodeSub27(); + class348_sub27.anInt6899 = i; + class348_sub27.anInt6904 = i_7_; + class348_sub27.anInt6896 = i_4_; + class348_sub27.anInt6905 = i_11_; + if (i_11_ >= 0 && i_4_ >= 0 && AbstractShaderSub4.anInt7319 > i_11_ && ParametricDefinition.anInt9109 > i_4_) Component357.method1387(-69, class348_sub27); + HashNodeSub20.aClass262_9711.addTail(class348_sub27, -20180); + } + class348_sub27.anInt6893 = i_5_; + class348_sub27.anInt6900 = i_8_; + class348_sub27.anInt6895 = i_6_; + class348_sub27.anInt6894 = i_3_; + class348_sub27.anInt6907 = i_9_; + } + } + + NodeSub12(NodeSub21 class348_sub21) { + this.anInt6735 = -2147483648; + this.anInt6750 = -2147483648; + this.anInt6745 = 2147483647; + this.anInt6746 = 2147483647; + this.anInt6737 = -2147483648; + this.anInt6747 = 2147483647; + this.anInt6753 = 2147483647; + this.aClass348_Sub21_6751 = class348_sub21; + } + + static { + anIntArrayArray6740 = new int[][]{{6, 6}, {6, 6}, {6, 5, 5}, {5, 6, 5}, {5, 5, 6}, {6, 5, 5}, {5, 0, 4, 1}, {7, 7, 1, 2}, {7, 1, 2, 7}, {8, 9, 4, 0, 8, 9}, {0, 8, 9, 8, 9, 4}, {11, 0, 10, 11, 4, 2}, {6, 6}, {7, 7, 1, 2}, {7, 7, 1, 2}}; + aShortArrayArray6749 = new short[][]{new short[0], new short[0], new short[0], new short[0], new short[0]}; + aShortArrayArray6744 = (new short[][]{{6554, 115, 10304, 28, 5702, 7756, 5681, 4510, -31835, 22437, 2859, -11339, 16, 5157, 10446, 3658, -27314, -21965, 472, 580, 784, 21966, 28950, -15697, -14002}, {9104, 10275, 7595, 3610, 7975, 8526, 918, -26734, 24466, 10145, -6882, 5027, 1457, 16565, -30545, 25486, 24, 5392, 10429, 3673, -27335, -21957, 192, 687, 412, 21821, 28835, -15460, -14019, 7072, 3990, 309, 910, 9509, 9117, 3600, 16442, -32601, 22020, 2694, -22264, 10281, 3869, -28007, 10764, 8974, 3745, 10269, 914, 8629, -26438, 26779, -15208, 8728, 2982, -25718, 918, 6842, -25030, -5462, -14833, -22386, 8, -22468, -27479, -11237, 21664, 45, -24054, -27207, -22887, -30051, 20003, 21584, -31426, 28990, -11219, 6353, -25560, -25458, -14182, -11006, -27365, 3241, 7457, 8899, 13760, 4565, 11711, 10436, 8103, 2604, 13740, -28232, -26333, -23910, -31403, -32352, -29812, -29909, -24137, 925, 1181, 3865, 6049, 8582, 1804, 4887, -5372, 15011, 20785, 7591, 9528, 21770, 14094, 6930, 14635, 5911, 6463, 10124, 17935, 3218, 262, 5413, -27579, -25189, -26331, -28236, -28144, -23804, -23261, -23013, -19045, 5419, 6332, 5665, 2450, 3617, 8638, 5178, 10374, 6819, 7434, 150, 2446, 9647, -27504, -27586, -31695, 11142, 18704, 10775, 21898, 10554, 9492, 11811, 11140, -15978, -24180, -32498, -29288, 29084, -9579, -18799, -27122, 913, 6024, 2966, -5238, 6542, 15240, 10, 39, 3986, 2324, 6030, -31709, 512, 33, 9394, -4833, 28967, -25290, 30866, 13466, -28403, -24022, -14042, -22472, -18166, 20493, -27626, -22266, -1784, -31473, 9612, 7324, 646, 778, 786, 800, -624, -3198, -8164, 1678, 29068, 22412, -32253, 29075, 22404, -22006, 3974, 7054, 10376, 3222, 8070, 12, 1930, 2, -22481, 4884, 5797, 5900, 6, 40, 1932, 5638, 8466, -25537}, {25485, 9105, 10275, 7595, 3610, 7975, 8526, 918, -26734, 24466, 10145, -6882, 5027, 1457, 16565, -30545, 24, 5392, 10429, 3673, -27335, -21957, 192, 687, 412, 21821, 28835, -15460, -14019, 7072, 3990, 309, 910, 9509, 9117, 3600, 16442, -32601, 22020, 2694, -22264, 10281, 3869, -28007, 10764, 8974, 3745, 10269, 914, 8629, -26438, 26779, -15208, 8728, 2982, -25718, 918, 6842, -25030, -5462, -14833, -22386, 8, -22468, -27479, -11237, 21664, 45, -24054, -27207, -22887, -30051, 20003, 21584, -31426, 28990, -11219, 6353, -25560, -25458, -14182, -11006, -27365, 3241, 7457, 8899, 13760, 4565, 11711, 10436, 8103, 2604, 13740, -28232, -26333, -23910, -31403, -32352, -29812, -29909, -24137, 925, 1181, 3865, 6049, 8582, 1804, 4887, -5372, 15011, 20785, 7591, 9528, 21770, 14094, 6930, 14635, 5911, 6463, 10124, 17935, 3218, 262, 5413, -27579, -25189, -26331, -28236, -28144, -23804, -23261, -23013, -19045, 5419, 6332, 5665, 2450, 3617, 8638, 5178, 10374, 6819, 7434, 150, 2446, 9647, -27504, -27586, -31695, 11142, 18704, 10775, 21898, 10554, 9492, 11811, 11140, -15978, -24180, -32498, -29288, 29084, -9579, -18799, -27122, 913, 6024, 2966, -5238, 6542, 15240, 10, 39, 3986, 2324, 6030, -31709, 512, 33, 9394, -4833, 28967, -25290, 30866, 13466, -28403, -24022, -14042, -22472, -18166, 20493, -27626, -22266, -1784, -31473, 9612, 7324, 646, 778, 786, 800, -624, -3198, -8164, 1678, 29068, 22412, -32253, 29075, 22404, -22006, 3974, 7054, 10376, 3222, 8070, 12, 1930, 2, -22481, 4884, 5797, 5900, 6, 40, 1932, 5638, 8466, -25537}, {4620, 11140, 6433, 6, 4752, 10264, 7072, 3990, 309, 910, 9509, 9117, 3600, 16442, -32601, 22020, 2694, -22264, 10281, 3869, -28007, 10764, 8974, 3745, 10269, 914, 8629, -26438, 26779, -15208, 8728, 2982, -25718, 918, 6842, -25030, -5462, -14833, -22386, 8, -22468, -27479, -11237, 21664, 45, -24054, -27207, -22887, -30051, 20003, 21584, -31426, 28990, -11219, 6353, -25560, -25458, -14182, -11006, -27365, 3241, 7457, 8899, 13760, 4565, 11711, 10436, 8103, 2604, 13740, -28232, -26333, -23910, -31403, -32352, -29812, -29909, -24137, 925, 1181, 3865, 6049, 8582, 1804, 4887, -5372, 15011, 20785, 7591, 9528, 21770, 14094, 6930, 14635, 5911, 6463, 10124, 17935, 3218, 262, 5413, -27579, -25189, -26331, -28236, -28144, -23804, -23261, -23013, -19045, 5419, 6332, 5665, 2450, 3617, 8638, 5178, 10374, 6819, 7434, 150, 2446, 9647, -27504, -27586, -31695, 11142, 18704, 10775, 21898, 10554, 9492, 11811, 11140, -15978, -24180, -32498, -29288, 29084, -9579, -18799, -27122, 913, 6024, 2966, -5238, 6542, 15240, 10, 39, 3986, 2324, 6030, -31709, 512, 33, 9394, -4833, 28967, -25290, 30866, 13466, -28403, -24022, -14042, -22472, -18166, 20493, -27626, -22266, -1784, -31473, 9612, 7324, 646, 778, 786, 800, -624, -3198, -8164, 1678, 29068, 22412, -32253, 29075, 22404, -22006, 3974, 7054, 10376, 3222, 8070, 12, 1930, 2, -22481, 4884, 5797, 5900, 6, 40, 1932, 5638, 8466, -25537}, {4540, 4529, 5674, 5667, 5785, 6802, 8072, 4562, 4437, 4317, 5896, 4488}}); + aLong6748 = 0L; + aShortArrayArrayArray6736 = new short[][][]{aShortArrayArray6741, aShortArrayArray6744, aShortArrayArray6749}; + aClass273_6743 = new Component224("", 13); + } +} diff --git a/client/nodes/NodeSub13.java b/client/nodes/NodeSub13.java new file mode 100644 index 000000000..636d900b2 --- /dev/null +++ b/client/nodes/NodeSub13.java @@ -0,0 +1,161 @@ +/* NodeSub13 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * Inventory/container contents node (item id + amount per slot). + * Stored in {@link Definition#containers}; keyed by container id (high bit = secondary list). + * RENAMED from {@code Class348_Sub13} (JODE-obfuscated). + */ +final class NodeSub13 extends Node { + static int anInt6754; + static int anInt6755; + static int anInt6756; + /** Item ids per slot (-1 = empty). */ + int[] itemIds = {-1}; + /** Stack amounts per slot (parallel to {@link #itemIds}). */ + int[] amounts = new int[1]; + static boolean aBoolean6759 = true; + + static final void method2801(int i, int i_0_, int i_1_, int i_2_, int i_3_, DisplayModeManagerContainer58 class318_sub1_sub3_sub3, byte i_4_) { + int i_5_ = 1 / ((i_4_ - 6) / 48); + anInt6754++; + ShaderSub2.method165(class318_sub1_sub3_sub3.plane, i_2_, i, i_3_, class318_sub1_sub3_sub3.x, 0, class318_sub1_sub3_sub3.y, (byte) 110, i_0_, i_1_); + } + + private final long method2802(int[] is, int i, boolean bool, int[] is_6_, byte i_7_) { + try { + anInt6755++; + long[] ls = DefinitionSub21.aLongArray9283; + long l = -1L; + l = (ls[(int) (0xffL & (l ^ (long) (i >> 8)))] ^ l >>> 8); + l = ls[(int) (0xffL & (l ^ (long) i))] ^ l >>> 8; + for (int i_8_ = 0; is_6_.length > i_8_; i_8_++) { + l = (ls[(int) (0xffL & (l ^ (long) (is_6_[i_8_] >> 24)))] ^ l >>> 8); + l = (l >>> 8 ^ ls[(int) (0xffL & (l ^ (long) (is_6_[i_8_] >> 16)))]); + l = l >>> 8 ^ ls[(int) ((l ^ (long) (is_6_[i_8_] >> 8)) & 0xffL)]; + l = (ls[(int) (((long) is_6_[i_8_] ^ l) & 0xffL)] ^ l >>> 8); + } + if (i_7_ != -74) this.itemIds = null; + if (is != null) { + for (int i_9_ = 0; i_9_ < 5; i_9_++) + l = l >>> 8 ^ ls[(int) ((l ^ (long) is[i_9_]) & 0xffL)]; + } + l = (ls[(int) (0xffL & ((long) (!bool ? 0 : 1) ^ l))] ^ l >>> 8); + return l; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ie.C(" + (is != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (is_6_ != null ? "{...}" : "null") + ',' + i_7_ + ')')); + } + } + + final DisplayModeManagerContainer370 method2803(DisplayModeManagerContainer167 class17, Component101 class154, int i, int i_10_, int i_11_, int i_12_, int i_13_, GraphicsToolkit var_ha, boolean bool, int i_14_) { + try { + anInt6756++; + DisplayModeManagerContainer370 class64 = null; + int i_15_ = i_13_; + Component241 class225 = null; + if (i != -1) class225 = DisplayModeManagerContainer282.aClass261_5558.get(i, 32); + int[] is = this.itemIds; + if (class225 != null && class225.anIntArray2906 != null) { + is = new int[class225.anIntArray2906.length]; + for (int i_16_ = 0; (i_16_ < class225.anIntArray2906.length); i_16_++) { + int i_17_ = class225.anIntArray2906[i_16_]; + if (i_17_ >= 0 && i_17_ < this.itemIds.length) is[i_16_] = this.itemIds[i_17_]; + else is[i_16_] = -1; + } + } + boolean bool_18_ = false; + boolean bool_19_ = false; + boolean bool_20_ = false; + boolean bool_21_ = false; + int i_22_ = -1; + int i_23_ = -1; + int i_24_ = 0; + HashNodeSub17 class348_sub42_sub17 = null; + HashNodeSub17 class348_sub42_sub17_25_ = null; + if (class17 != null) { + i_22_ = class17.anIntArray237[i_10_]; + i_15_ |= 0x20; + int i_26_ = i_22_ >>> 16; + class348_sub42_sub17 = RunescapeInfo.aClass87_191.method839(i_26_, i_14_ + 4); + i_22_ &= 0xffff; + if (class348_sub42_sub17 != null) { + bool_19_ |= class348_sub42_sub17.method3272(i_22_, 0); + bool_18_ |= class348_sub42_sub17.method3271(i_22_, 14); + bool_21_ |= class348_sub42_sub17.method3267((byte) -112, i_22_); + bool_20_ |= class17.aBoolean242; + } + if ((class17.aBoolean241 || DisplayModeManagerContainer332.aBoolean5002) && i_12_ != -1 && class17.anIntArray237.length > i_12_) { + i_23_ = class17.anIntArray237[i_12_]; + i_24_ = class17.anIntArray267[i_10_]; + int i_27_ = i_23_ >>> 16; + i_23_ &= 0xffff; + if (i_27_ == i_26_) class348_sub42_sub17_25_ = class348_sub42_sub17; + else class348_sub42_sub17_25_ = RunescapeInfo.aClass87_191.method839(i_23_ >>> 16, 3); + if (class348_sub42_sub17_25_ != null) { + bool_19_ |= class348_sub42_sub17_25_.method3272(i_23_, 0); + bool_18_ |= class348_sub42_sub17_25_.method3271(i_23_, 14); + bool_21_ |= class348_sub42_sub17_25_.method3267((byte) -118, i_23_); + } + } + if (bool_19_) i_15_ |= 0x80; + if (bool_18_) i_15_ |= 0x100; + if (bool_20_) i_15_ |= 0x200; + if (bool_21_) i_15_ |= 0x400; + } + long l = method2802((class154 != null ? class154.anIntArray2095 : null), i, bool, is, (byte) -74); + if (Connection.aClass60_2671 != null) class64 = (DisplayModeManagerContainer370) Connection.aClass60_2671.get(l, i_14_ ^ 0x56); + if (class64 == null || var_ha.method3667(class64.ua(), i_15_) != 0) { + if (class64 != null) i_15_ = var_ha.bitwiseOr(i_15_, class64.ua()); + int i_28_ = i_15_; + boolean bool_29_ = false; + for (int i_30_ = 0; is.length > i_30_; i_30_++) { + if (is[i_30_] != -1 && !Exception_Sub1.itemDefinitions.getItemDefinition(-91, is[i_30_]).method1565(bool, -1)) bool_29_ = true; + } + if (bool_29_) return null; + DisplayModeManagerContainer77[] class124s = new DisplayModeManagerContainer77[is.length]; + for (int i_31_ = 0; i_31_ < is.length; i_31_++) { + if (is[i_31_] != -1) class124s[i_31_] = Exception_Sub1.itemDefinitions.getItemDefinition(NodeSub21.bitwiseXor(i_14_, -112), is[i_31_]).method1558(bool, false); + } + if (class225 != null && class225.anIntArrayArray2939 != null) { + for (int i_32_ = 0; (class225.anIntArrayArray2939.length > i_32_); i_32_++) { + if ((class225.anIntArrayArray2939[i_32_] != null) && class124s[i_32_] != null) { + int i_33_ = (class225.anIntArrayArray2939[i_32_][0]); + int i_34_ = (class225.anIntArrayArray2939[i_32_][1]); + int i_35_ = (class225.anIntArrayArray2939[i_32_][2]); + int i_36_ = (class225.anIntArrayArray2939[i_32_][3]); + int i_37_ = (class225.anIntArrayArray2939[i_32_][4]); + int i_38_ = (class225.anIntArrayArray2939[i_32_][5]); + if (i_36_ != 0 || i_37_ != 0 || i_38_ != 0) class124s[i_32_].method1107(6875, i_37_, i_38_, i_36_); + if (i_33_ != 0 || i_34_ != 0 || i_35_ != 0) class124s[i_32_].method1099((byte) -91, i_35_, i_33_, i_34_); + } + } + } + if (class154 != null) i_28_ |= 0x4000; + DisplayModeManagerContainer77 class124 = new DisplayModeManagerContainer77(class124s, class124s.length); + class64 = var_ha.method3625(class124, i_28_, HashNodeSub1.anInt9488, 64, 850); + if (class154 != null) { + for (int i_39_ = 0; i_39_ < 5; i_39_++) { + for (int i_40_ = 0; i_40_ < (AbstractShaderSub2.aShortArrayArrayArray7290).length; i_40_++) { + if (class154.anIntArray2095[i_39_] < (AbstractShaderSub2.aShortArrayArrayArray7290[i_40_][i_39_]).length) class64.ia((Component257.aShortArrayArray4791[i_40_][i_39_]), (AbstractShaderSub2.aShortArrayArrayArray7290[i_40_][i_39_][(class154.anIntArray2095[i_39_])])); + } + } + } + if (Connection.aClass60_2671 != null) { + class64.s(i_15_); + Connection.aClass60_2671.putOne(class64, l, (byte) -128); + } + } + if (class17 == null || class348_sub42_sub17 == null) return class64; + DisplayModeManagerContainer370 class64_41_ = class64.method614((byte) 1, i_15_, true); + class64_41_.method617(i_22_, i_24_, class348_sub42_sub17_25_, 0, class348_sub42_sub17, false, class17.aBoolean242, i_23_, i_11_ + i_14_); + return class64_41_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ie.B(" + (class17 != null ? "{...}" : "null") + ',' + (class154 != null ? "{...}" : "null") + ',' + i + ',' + i_10_ + ',' + i_11_ + ',' + i_12_ + ',' + i_13_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + bool + ',' + i_14_ + ')')); + } + } + + public NodeSub13() { + /* empty */ + } +} diff --git a/client/nodes/NodeSub14.java b/client/nodes/NodeSub14.java new file mode 100644 index 000000000..b4bb9cfce --- /dev/null +++ b/client/nodes/NodeSub14.java @@ -0,0 +1,249 @@ +/* NodeSub14 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NodeSub14 +/** + * RENAMED from `Class348_Sub14` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + static int anInt6760; + static int anInt6761; + long aLong6762; + static int anInt6763; + static StringCache aClass351_6764 = new StringCache(32, 4); + static int anInt6765; + static StringCache aClass351_6766 = new StringCache(75, 3); + /*synthetic*/ static Class aClass6767; + + static final boolean method2804(byte i) { + anInt6765++; + try { + InflaterDecompressor class152 = new InflaterDecompressor(); + byte[] is = class152.decompress(9, HashNodeSub14.aByteArray9622); + int i_0_ = 19 % ((19 - i) / 43); + GlTexture.method1969(is, -5901); + return true; + } catch (Exception exception) { + return false; + } + } + + public NodeSub14() { + /* empty */ + } + + public static void method2805(byte i) { + aClass351_6766 = null; + int i_1_ = -14 % ((i - 72) / 32); + aClass351_6764 = null; + } + + static final int method2806(boolean bool, int i) { + anInt6760++; + if (bool != false) method2807(-36, 35, (byte) -71, -71); + return 0x3ff & i; + } + + NodeSub14(long l) { + try { + this.aLong6762 = l; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "ij.(" + l + ')'); + } + } + + static final ParticleSystem method2807(int i, int i_2_, byte i_3_, int i_4_) { + anInt6761++; + ParticleSystem class348_sub47 = null; + if (i_4_ == 0) { + class348_sub47 = ParticleShader.method2148(DisplayModeManagerContainer51.aClass351_2495, DisplayModeManagerContainer64.aClass77_9029, -100); + NodeSub46.anInt7112++; + } + if (i_4_ == 1) { + class348_sub47 = ParticleShader.method2148(Component281.aClass351_3825, DisplayModeManagerContainer64.aClass77_9029, -93); + DisplayModeManagerContainer249.anInt4665++; + } + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(i + Component330.regionTileY, (byte) 3); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByteAdd((byte) 78, !Component280.aClass346_2449.isKeyDown(82, -124) ? 0 : 1); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-124, NodeBaseSub2.regionTileX + i_2_); + Component253.anInt3203 = i_2_; + if (i_3_ >= -88) aClass351_6764 = null; + Component263.anInt1548 = i; + NodeSub13.aBoolean6759 = false; + Component264.method2264(false); + return class348_sub47; + } + + static final boolean method2808(int i, GraphicsToolkit var_ha, boolean bool) { + try { + anInt6763++; + int i_5_ = (-104 + AbstractShaderSub4.anInt7319) / 2; + int i_6_ = (ParametricDefinition.anInt9109 - 104) / 2; + boolean bool_7_ = bool; + for (int i_8_ = i_5_; i_8_ < 104 + i_5_; i_8_++) { + for (int i_9_ = i_6_; i_6_ + 104 > i_9_; i_9_++) { + for (int i_10_ = i; i_10_ <= 3; i_10_++) { + if (Component255.method536(i_9_, false, i_8_, i, i_10_)) { + int i_11_ = i_10_; + if (NpcComposition.method802(i_9_, i_8_, true)) i_11_--; + if (i_11_ >= 0) bool_7_ &= DisplayModeManagerContainer389.method245(i_11_, i_8_, i_9_, (byte) 75); + } + } + } + } + if (!bool_7_) return false; + int[] is = new int[262144]; + for (int i_12_ = 0; is.length > i_12_; i_12_++) + is[i_12_] = -16777216; + Component83.aClass105_1664 = var_ha.method3662(512, is, (byte) 94, 0, 512, 512); + Component142.method3489(-3); + int i_13_ = (((-10 + (238 + (int) (20.0 * Math.random())) << 8) + (-10 + (int) (Math.random() * 20.0) + 238 << 16) - (-(int) (Math.random() * 20.0) + -228)) | ~0xffffff); + int i_14_ = (228 - -(int) (20.0 * Math.random()) << 16 | ~0xffffff); + int i_15_ = ((int) (8.0 * Math.random()) | ((int) (8.0 * Math.random()) << 16 | (int) (8.0 * Math.random()) << 8)); + boolean[][] bools = (new boolean[3 + RuntimeException_Sub1.anInt4600] + [RuntimeException_Sub1.anInt4600 - -1 + 2]); + for (int i_16_ = i_5_; i_16_ < i_5_ - -104; i_16_ += RuntimeException_Sub1.anInt4600) { + for (int i_17_ = i_6_; i_17_ < i_6_ - -104; i_17_ += RuntimeException_Sub1.anInt4600) { + int i_18_ = 0; + int i_19_ = 0; + int i_20_ = i_16_; + if (i_20_ > 0) { + i_20_--; + i_18_ += 4; + } + int i_21_ = i_17_; + if (i_21_ > 0) i_21_--; + int i_22_ = RuntimeException_Sub1.anInt4600 + i_16_; + if (i_22_ < 104) i_22_++; + int i_23_ = i_17_ - -RuntimeException_Sub1.anInt4600; + if (i_23_ < 104) { + i_23_++; + i_19_ += 4; + } + var_ha.KA(0, 0, RuntimeException_Sub1.anInt4600 * 4 + i_18_, RuntimeException_Sub1.anInt4600 * 4 + i_19_); + var_ha.GA(-16777216); + for (int i_24_ = i; i_24_ <= 3; i_24_++) { + for (int i_25_ = 0; i_25_ <= RuntimeException_Sub1.anInt4600; i_25_++) { + for (int i_26_ = 0; (i_26_ <= RuntimeException_Sub1.anInt4600); i_26_++) + bools[i_25_][i_26_] = Component255.method536(i_21_ + i_26_, false, i_20_ + i_25_, i, i_24_); + } + NodeSub1Sub1.aSArray8801[i_24_].method3987(0, 0, 1024, i_20_, i_21_, i_22_, i_23_, bools); + if (!Component121.aBoolean4542) { + for (int i_27_ = -4; i_27_ < RuntimeException_Sub1.anInt4600; i_27_++) { + for (int i_28_ = -4; i_28_ < RuntimeException_Sub1.anInt4600; i_28_++) { + int i_29_ = i_16_ + i_27_; + int i_30_ = i_28_ + i_17_; + if (i_5_ <= i_29_ && i_6_ <= i_30_ && Component255.method536(i_30_, false, i_29_, i, i_24_)) { + int i_31_ = i_24_; + if (NpcComposition.method802(i_30_, i_29_, true)) i_31_--; + if (i_31_ >= 0) NodeSub41.method3159(i_14_, ((-i_28_ + (RuntimeException_Sub1.anInt4600)) * 4 + i_19_ + -4), false, i_31_, i_30_, i_29_, var_ha, 4 * i_27_ + i_18_, i_13_); + } + } + } + } + } + if (Component121.aBoolean4542) { + TeleportHandler class361 = NodeSub45.aClass361Array7108[i]; + for (int i_32_ = 0; i_32_ < RuntimeException_Sub1.anInt4600; i_32_++) { + for (int i_33_ = 0; (RuntimeException_Sub1.anInt4600 > i_33_); i_33_++) { + int i_34_ = i_16_ + i_32_; + int i_35_ = i_33_ + i_17_; + int i_36_ = (class361.anIntArrayArray4438[(-class361.anInt4453 + i_34_)][(-class361.anInt4441 + i_35_)]); + if ((0x40240000 & i_36_) != 0) var_ha.method3675(4, (byte) -125, i_32_ * 4 + i_18_, -4 + (RuntimeException_Sub1.anInt4600 + -i_33_) * 4 + i_19_, 4, -1713569622); + else if ((0x800000 & i_36_) == 0) { + if ((i_36_ & 0x2000000) != 0) var_ha.method3660(3 + (i_18_ - -(i_32_ * 4)), -1713569622, 4, (-4 + (4 * (-i_33_ + (RuntimeException_Sub1.anInt4600)) + i_19_)), true); + else if ((i_36_ & 0x8000000) != 0) var_ha.method3649((byte) -126, 4, 3 + (i_19_ + ((RuntimeException_Sub1.anInt4600) - i_33_) * 4) + -4, -1713569622, i_18_ + 4 * i_32_); + else if ((0x20000000 & i_36_) != 0) var_ha.method3660(i_18_ + 4 * i_32_, -1713569622, 4, (4 * (-i_33_ + (RuntimeException_Sub1.anInt4600)) + (i_19_ - 4)), bool); + } else var_ha.method3649((byte) -113, 4, (-4 + i_19_ + 4 * (-i_33_ + (RuntimeException_Sub1.anInt4600))), -1713569622, i_32_ * 4 + i_18_); + } + } + } + var_ha.fillRect(i_18_, i_19_, 4 * RuntimeException_Sub1.anInt4600, RuntimeException_Sub1.anInt4600 * 4, i_15_, 2); + Component83.aClass105_1664.method979((-i_5_ + i_16_) * 4 + 48, (-(4 * (i_17_ - i_6_)) + 464 + -(RuntimeException_Sub1.anInt4600 * 4)), RuntimeException_Sub1.anInt4600 * 4, 4 * RuntimeException_Sub1.anInt4600, i_18_, i_19_); + } + } + var_ha.la(); + var_ha.GA(-16777215); + Component160.method3466(-86); + DefinitionSub38.anInt9479 = 0; + Component289.aClass262_10125.clear(116); + if (!Component121.aBoolean4542) { + for (int i_37_ = i_5_; 104 + i_5_ > i_37_; i_37_++) { + for (int i_38_ = i_6_; 104 + i_6_ > i_38_; i_38_++) { + for (int i_39_ = i; i_39_ <= 1 + i && i_39_ <= 3; i_39_++) { + if (Component255.method536(i_38_, !bool, i_37_, i, i_39_)) { + Interface10 interface10 = ((Interface10) BrowserUrlOpener.method2878(i_39_, i_37_, i_38_)); + if (interface10 == null) interface10 = ((Interface10) (DisplayModeManagerContainer249.method1353(i_39_, i_37_, i_38_, (aClass6767 != null ? aClass6767 : (aClass6767 = Interface10.class))))); + if (interface10 == null) interface10 = ((Interface10) CacheNodeSub2.method3297(i_39_, i_37_, i_38_)); + if (interface10 == null) interface10 = ((Interface10) (DefinitionSub32.method3135(i_39_, i_37_, i_38_))); + if (interface10 != null) { + Component44 class51 = (GradientPreset.aClass263_9195.method2005(0, interface10.method42(-99))); + if (!class51.aBoolean942 || Component387.aBoolean1900) { + int i_40_ = class51.anInt921; + if (class51.anIntArray945 != null) { + for (int i_41_ = 0; ((class51.anIntArray945).length > i_41_); i_41_++) { + if ((class51.anIntArray945[i_41_]) != -1) { + Component44 class51_42_ = (GradientPreset.aClass263_9195.method2005(0, (class51.anIntArray945[i_41_]))); + if (class51_42_.anInt921 >= 0) i_40_ = (class51_42_.anInt921); + } + } + } + if (i_40_ >= 0) { + boolean bool_43_ = false; + if (i_40_ >= 0) { + Component274 class42 = (DisplayModeManagerContainer64.aClass153_9031.method1225(i_40_, (byte) 126)); + if (class42 != null && (class42.aBoolean599)) bool_43_ = true; + } + int i_44_ = i_37_; + int i_45_ = i_38_; + if (bool_43_) { + int[][] is_46_ = (NodeSub45.aClass361Array7108[i_39_].anIntArrayArray4438); + int i_47_ = (NodeSub45.aClass361Array7108[i_39_].anInt4453); + int i_48_ = (NodeSub45.aClass361Array7108[i_39_].anInt4441); + for (int i_49_ = 0; i_49_ < 10; i_49_++) { + int i_50_ = (int) (Math.random() * 4.0); + if ((i_50_ == 0) && (i_44_ > i_5_) && i_37_ + -3 < i_44_ && ((0x2c0108 & (is_46_[(-i_47_ + (i_44_ - 1))][(-i_48_ + i_45_)])) == 0)) i_44_--; + if (i_50_ == 1 && (i_44_ < 104 + (i_5_ - 1)) && 3 + i_37_ > i_44_ && ((is_46_[(-i_47_ + 1 + i_44_)][i_45_ + -i_48_]) & 0x2c0180) == 0) i_44_++; + if ((i_50_ == 2) && (i_6_ < i_45_) && i_45_ > -3 + i_38_ && ((0x2c0102 & (is_46_[(-i_47_ + i_44_)][(i_45_ - 1 - i_48_)])) == 0)) i_45_--; + if (i_50_ == 3 && (104 + i_6_ - 1 > i_45_) && 3 + i_38_ > i_45_ && ((0x2c0120 & (is_46_[i_44_ - i_47_][(-i_48_ + 1 + i_45_)])) == 0)) i_45_++; + } + } + Component309.anIntArray3347[(DefinitionSub38.anInt9479)] = class51.anInt941; + ColorTagNode.anIntArray6770[(DefinitionSub38.anInt9479)] = i_44_; + DefinitionSub37.anIntArray9458[(DefinitionSub38.anInt9479)] = i_45_; + DefinitionSub38.anInt9479++; + } + } + } + } + } + } + } + if (CacheNodeSub2.aClass252_10488 != null) { + Component181.aClass45_1541.discardMode = 1; + DisplayModeManagerContainer64.aClass153_9031.method1220((byte) 116, 64, 1024); + for (int i_51_ = 0; i_51_ < CacheNodeSub2.aClass252_10488.anInt3241; i_51_++) { + int i_52_ = (CacheNodeSub2.aClass252_10488.anIntArray3238[i_51_]); + if ((Component72.localPlayer.plane) == i_52_ >> 28) { + int i_53_ = ((i_52_ >> 14 & 0x3fff) - NodeBaseSub2.regionTileX); + int i_54_ = (i_52_ & 0x3fff) + -Component330.regionTileY; + if (i_53_ >= 0 && i_53_ < AbstractShaderSub4.anInt7319 && i_54_ >= 0 && (ParametricDefinition.anInt9109 > i_54_)) Component289.aClass262_10125.addTail(new NodeSub35(i_51_), -20180); + else { + Component274 class42 = (DisplayModeManagerContainer64.aClass153_9031.method1225((CacheNodeSub2.aClass252_10488.anIntArray3239[i_51_]), (byte) 120)); + if (class42.anIntArray591 != null && (i_53_ + class42.anInt595 >= 0) && (AbstractShaderSub4.anInt7319 > class42.anInt603 + i_53_) && i_54_ + class42.anInt570 >= 0 && (ParametricDefinition.anInt9109 > (i_54_ - -class42.anInt607))) + Component289.aClass262_10125.addTail(new NodeSub35(i_51_), -20180); + } + } + } + DisplayModeManagerContainer64.aClass153_9031.method1220((byte) 13, 64, 128); + Component181.aClass45_1541.discardMode = 2; + Component181.aClass45_1541.clearUnpacked((byte) -126); + } + } + return true; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ij.E(" + i + ',' + (var_ha != null ? "{...}" : "null") + ',' + bool + ')')); + } + } +} diff --git a/client/nodes/NodeSub16.java b/client/nodes/NodeSub16.java new file mode 100644 index 000000000..a1f33ffa7 --- /dev/null +++ b/client/nodes/NodeSub16.java @@ -0,0 +1,37 @@ +/* NodeSub16 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +abstract class NodeSub16 +/** + * RENAMED from `Class348_Sub16` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + volatile boolean aBoolean6784 = true; + NodeSub16 aClass348_Sub16_6785; + int anInt6786; + NodeSub19 aClass348_Sub19_6787; + + final void method2815(int[] is, int i, int i_0_) { + if (this.aBoolean6784) method2817(is, i, i_0_); + else method2819(i_0_); + } + + abstract NodeSub16 method2816(); + + abstract void method2817(int[] is, int i, int i_1_); + + abstract NodeSub16 method2818(); + + abstract void method2819(int i); + + int method2820() { + return 255; + } + + public NodeSub16() { + /* empty */ + } + + abstract int method2821(); +} diff --git a/client/nodes/NodeSub16Sub2.java b/client/nodes/NodeSub16Sub2.java new file mode 100644 index 000000000..de86ee2f5 --- /dev/null +++ b/client/nodes/NodeSub16Sub2.java @@ -0,0 +1,220 @@ +/* NodeSub16Sub2 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NodeSub16Sub2 +/** + * RENAMED from `Class348_Sub16_Sub2` (JODE-obfuscated). + * Evidence: subclass of NodeSub16 (hierarchy) + */ extends NodeSub16 { + static int anInt8860; + private NodeList aClass262_8861 = new NodeList(); + static int[] anIntArray8862; + static int anInt8863; + static int anInt8864; + static int anInt8865; + static long aLong8866; + static int anInt8867; + static int anInt8868; + static double aDouble8869; + static boolean aBoolean8870 = true; + static int anInt8871; + static int anInt8872; + static int anInt8873; + static boolean aBoolean8874; + static int anInt8875; + static int anInt8876; + static int anInt8877; + static int anInt8878; + private final int anInt8879; + static int anInt8880; + static int anInt8881; + static int anInt8882; + private int anInt8883; + private boolean aBoolean8884; + private int anInt8885 = 256; + private boolean aBoolean8886; + private int anInt8887 = 256; + private int anInt8888 = 0; + + final void method2827(int i, int i_0_) { + anInt8885 = i_0_; + anInt8887 = i_0_; + if (i != -17708) method2830(-93); + anInt8880++; + } + + private final synchronized HashNodeSub4 method2828(int i) { + if (i != -23076) method2817(null, 71, 78); + anInt8872++; + return (HashNodeSub4) aClass262_8861.first(i + 23080); + } + + final NodeSub16 method2818() { + anInt8877++; + return null; + } + + final synchronized int method2829(int i) { + anInt8871++; + if (i >= -33) method2831((byte) 84); + return anInt8888; + } + + public static void method2830(int i) { + if (i != 0) method2834((byte) 68, null); + anIntArray8862 = null; + } + + private final synchronized void method2831(byte i) { + anInt8875++; + int i_1_ = -13 / ((-66 - i) / 49); + HashNodeSub4 class348_sub42_sub4 = method2828(-23076); + if (class348_sub42_sub4 != null) { + class348_sub42_sub4.unlink((byte) 71); + anInt8888--; + anInt8883 = 0; + DefinitionSub10.aClass308_9180.method2305(class348_sub42_sub4.method3182(90), class348_sub42_sub4, -1); + } + } + + static final void method2832(int[] is, long[] ls, int i) { + try { + IOException_Sub1.quickSortParallel(i, i + -107, ls, ls.length - 1, is); + anInt8882++; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("iha.I(" + (is != null ? "{...}" : "null") + ',' + (ls != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + final synchronized void method2817(int[] is, int i, int i_2_) { + anInt8863++; + if (!aBoolean8886) { + if (method2828(-23076) == null) { + if (aBoolean8884) { + this.unlink((byte) 23); + DefinitionSub10.aClass308_9180.method2303(true); + } + } else { + int i_3_ = i - -i_2_; + if (Component21.stereo) i_3_ <<= 1; + int i_4_ = 0; + int i_5_ = 0; + if (anInt8879 == 2) i_5_ = 1; + while (i_3_ > i) { + HashNodeSub4 class348_sub42_sub4 = method2828(-23076); + if (class348_sub42_sub4 == null) break; + short[][] is_6_; + for (is_6_ = (class348_sub42_sub4.aShortArrayArray9518); i < i_3_ && anInt8883 < is_6_[0].length; anInt8883++) { + if (Component21.stereo) { + is[i++] = anInt8885 * is_6_[i_4_][anInt8883]; + is[i++] = is_6_[i_5_][anInt8883] * anInt8887; + } else is[i++] += (is_6_[i_5_][anInt8883] * anInt8887 + anInt8885 * is_6_[i_4_][anInt8883]); + } + if (anInt8883 >= is_6_[0].length) method2831((byte) -126); + } + } + } + } + + final synchronized void method2833(int i, boolean bool) { + if (i != 1) aDouble8869 = -2.8743710633758983; + aBoolean8886 = bool; + anInt8878++; + } + + static final Component27 method2834(byte i, Buffer class348_sub49) { + anInt8876++; + Component85 class221 = HeapDumpHelper.method1248(15)[class348_sub49.readUnsignedByte(255)]; + if (i > -113) aDouble8869 = -1.5911312034627048; + DisplayModeManagerContainer196 class341 = Component240.method596(20000)[class348_sub49.readUnsignedByte(255)]; + int i_7_ = class348_sub49.readShort(13638); + int i_8_ = class348_sub49.readShort(13638); + int i_9_ = class348_sub49.readUnsignedShort(842397944); + int i_10_ = class348_sub49.readUnsignedShort(842397944); + int i_11_ = class348_sub49.readShort(13638); + int i_12_ = class348_sub49.readInt((byte) -126); + int i_13_ = class348_sub49.readInt((byte) -126); + return new Component27(class221, class341, i_7_, i_8_, i_9_, i_10_, i_11_, i_12_, i_13_); + } + + final synchronized void method2835(HashNodeSub4 class348_sub42_sub4, int i) { + for (/**/; anInt8888 >= 100; anInt8888--) + aClass262_8861.peekFirst(8); + if (i == 30700) { + anInt8881++; + aClass262_8861.addTail(class348_sub42_sub4, -20180); + anInt8888++; + } + } + + final NodeSub16 method2816() { + anInt8867++; + return null; + } + + final synchronized void method2836(int i) { + aBoolean8884 = true; + if (i != -1) aClass262_8861 = null; + anInt8865++; + } + + final synchronized double method2837(int i) { + anInt8868++; + if (anInt8888 < 1) return -1.0; + if (i != -21987) method2818(); + HashNodeSub4 class348_sub42_sub4 = (HashNodeSub4) aClass262_8861.first(4); + if (class348_sub42_sub4 == null) return -1.0; + return ((double) -((float) (class348_sub42_sub4.aShortArrayArray9518[0]).length / (float) Component231.sampleRate) + class348_sub42_sub4.aDouble9512); + } + + final HashNodeSub4 method2838(int i, double d, int i_14_) { + anInt8860++; + long l = i | anInt8879 << 0; + HashNodeSub4 class348_sub42_sub4 = ((HashNodeSub4) DefinitionSub10.aClass308_9180.method2302(l, (byte) -31)); + if (i_14_ != 1401320384) return null; + if (class348_sub42_sub4 == null) class348_sub42_sub4 = new HashNodeSub4(new short[anInt8879][i], d); + else { + class348_sub42_sub4.aDouble9512 = d; + DefinitionSub10.aClass308_9180.method2304(-121, l); + } + return class348_sub42_sub4; + } + + final synchronized void method2819(int i) { + anInt8864++; + if (!aBoolean8886) { + for (; ; ) { + HashNodeSub4 class348_sub42_sub4 = method2828(-23076); + if (class348_sub42_sub4 == null) { + if (aBoolean8884) { + this.unlink((byte) 108); + DefinitionSub10.aClass308_9180.method2303(true); + } + break; + } + if ((class348_sub42_sub4.aShortArrayArray9518[0]).length - anInt8883 > i) { + anInt8883 += i; + break; + } + i -= -anInt8883 + (class348_sub42_sub4.aShortArrayArray9518[0]).length; + method2831((byte) 111); + } + } + } + + final int method2821() { + anInt8873++; + return 1; + } + + NodeSub16Sub2(int i) { + anInt8879 = i; + } + + static { + anIntArray8862 = new int[4096]; + aBoolean8874 = false; + aLong8866 = 0L; + } +} diff --git a/client/nodes/NodeSub16Sub4.java b/client/nodes/NodeSub16Sub4.java new file mode 100644 index 000000000..211e37299 --- /dev/null +++ b/client/nodes/NodeSub16Sub4.java @@ -0,0 +1,138 @@ +/* NodeSub16Sub4 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NodeSub16Sub4 +/** + * RENAMED from `Class348_Sub16_Sub4` (JODE-obfuscated). + * Evidence: subclass of NodeSub16 (hierarchy) + */ extends NodeSub16 { + private final NodeList aClass262_8965 = new NodeList(); + private final NodeList aClass262_8966 = new NodeList(); + private int anInt8967 = -1; + private int anInt8968 = 0; + + final synchronized void method2880(NodeSub16 class348_sub16) { + class348_sub16.unlink((byte) 94); + } + + final synchronized void method2819(int i) { + do { + if (anInt8967 < 0) { + method2884(i); + break; + } + if (anInt8968 + i < anInt8967) { + anInt8968 += i; + method2884(i); + break; + } + int i_0_ = anInt8967 - anInt8968; + method2884(i_0_); + i -= i_0_; + anInt8968 += i_0_; + method2885(); + NodeSub30 class348_sub30 = (NodeSub30) aClass262_8966.first(4); + synchronized (class348_sub30) { + int i_1_ = class348_sub30.method3005(this); + if (i_1_ < 0) { + class348_sub30.anInt6912 = 0; + method2882(class348_sub30); + } else { + class348_sub30.anInt6912 = i_1_; + method2881(class348_sub30.next, class348_sub30); + } + } + } while (i != 0); + } + + final NodeSub16 method2816() { + return (NodeSub16) aClass262_8965.first(4); + } + + private final void method2881(Node class348, NodeSub30 class348_sub30) { + for (/**/; (class348 != aClass262_8966.sentinel && (((NodeSub30) class348).anInt6912 <= class348_sub30.anInt6912)); class348 = class348.next) { + /* empty */ + } + HashNodeSub16Sub2.method3265(-106, class348_sub30, class348); + anInt8967 = ((NodeSub30) aClass262_8966.sentinel.next).anInt6912; + } + + private final void method2882(NodeSub30 class348_sub30) { + class348_sub30.unlink((byte) 105); + class348_sub30.method3006(); + Node class348 = (aClass262_8966.sentinel.next); + if (class348 == aClass262_8966.sentinel) anInt8967 = -1; + else anInt8967 = ((NodeSub30) class348).anInt6912; + } + + final synchronized void method2883(NodeSub16 class348_sub16) { + aClass262_8965.addHead(class348_sub16, -109); + } + + private final void method2884(int i) { + for (NodeSub16 class348_sub16 = (NodeSub16) aClass262_8965.first(4); class348_sub16 != null; class348_sub16 = (NodeSub16) aClass262_8965.next((byte) 104)) + class348_sub16.method2819(i); + } + + private final void method2885() { + if (anInt8968 > 0) { + for (NodeSub30 class348_sub30 = (NodeSub30) aClass262_8966.first(4); class348_sub30 != null; class348_sub30 = (NodeSub30) aClass262_8966.next((byte) 115)) + class348_sub30.anInt6912 -= anInt8968; + anInt8967 -= anInt8968; + anInt8968 = 0; + } + } + + private final void method2886(int[] is, int i, int i_2_) { + for (NodeSub16 class348_sub16 = (NodeSub16) aClass262_8965.first(4); class348_sub16 != null; class348_sub16 = (NodeSub16) aClass262_8965.next((byte) 41)) + class348_sub16.method2815(is, i, i_2_); + } + + final synchronized int method2887() { + return aClass262_8965.size(0); + } + + final NodeSub16 method2818() { + return (NodeSub16) aClass262_8965.next((byte) 95); + } + + final int method2821() { + return 0; + } + + final synchronized void method2817(int[] is, int i, int i_3_) { + do { + if (anInt8967 < 0) { + method2886(is, i, i_3_); + break; + } + if (anInt8968 + i_3_ < anInt8967) { + anInt8968 += i_3_; + method2886(is, i, i_3_); + break; + } + int i_4_ = anInt8967 - anInt8968; + method2886(is, i, i_4_); + i += i_4_; + i_3_ -= i_4_; + anInt8968 += i_4_; + method2885(); + NodeSub30 class348_sub30 = (NodeSub30) aClass262_8966.first(4); + synchronized (class348_sub30) { + int i_5_ = class348_sub30.method3005(this); + if (i_5_ < 0) { + class348_sub30.anInt6912 = 0; + method2882(class348_sub30); + } else { + class348_sub30.anInt6912 = i_5_; + method2881(class348_sub30.next, class348_sub30); + } + } + } while (i_3_ != 0); + } + + public NodeSub16Sub4() { + /* empty */ + } +} diff --git a/client/nodes/NodeSub16Sub5.java b/client/nodes/NodeSub16Sub5.java new file mode 100644 index 000000000..0a9cee7c9 --- /dev/null +++ b/client/nodes/NodeSub16Sub5.java @@ -0,0 +1,1000 @@ +/* NodeSub16Sub5 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NodeSub16Sub5 +/** + * RENAMED from `Class348_Sub16_Sub5` (JODE-obfuscated). + * Evidence: subclass of NodeSub16 (hierarchy) + */ extends NodeSub16 { + private int anInt8969; + private int anInt8970; + private int anInt8971; + private int anInt8972; + private int anInt8973; + private int anInt8974; + private final int anInt8975; + private int anInt8976; + private int anInt8977; + private int anInt8978; + private int anInt8979; + private int anInt8980; + private final boolean aBoolean8981; + private final int anInt8982; + private int anInt8983; + + final synchronized void method2888(int i, int i_0_, int i_1_) { + if (i == 0) method2926(i_0_, i_1_); + else { + int i_2_ = method2904(i_0_, i_1_); + int i_3_ = method2889(i_0_, i_1_); + if (anInt8970 == i_2_ && anInt8974 == i_3_) anInt8972 = 0; + else { + int i_4_ = i_0_ - anInt8976; + if (anInt8976 - i_0_ > i_4_) i_4_ = anInt8976 - i_0_; + if (i_2_ - anInt8970 > i_4_) i_4_ = i_2_ - anInt8970; + if (anInt8970 - i_2_ > i_4_) i_4_ = anInt8970 - i_2_; + if (i_3_ - anInt8974 > i_4_) i_4_ = i_3_ - anInt8974; + if (anInt8974 - i_3_ > i_4_) i_4_ = anInt8974 - i_3_; + if (i > i_4_) i = i_4_; + anInt8972 = i; + anInt8969 = i_0_; + anInt8977 = i_1_; + anInt8973 = (i_0_ - anInt8976) / i; + anInt8971 = (i_2_ - anInt8970) / i; + anInt8978 = (i_3_ - anInt8974) / i; + } + } + } + + private static final int method2889(int i, int i_5_) { + if (i_5_ < 0) return -i; + return (int) ((double) i * Math.sqrt((double) i_5_ * 1.220703125E-4) + 0.5); + } + + final boolean method2890() { + return anInt8983 < 0 || anInt8983 >= (((NodeSub19Sub1) this.aClass348_Sub19_6787).aByteArray8984).length << 8; + } + + final synchronized void method2891(boolean bool) { + anInt8979 = (anInt8979 ^ anInt8979 >> 31) + (anInt8979 >>> 31); + if (bool) anInt8979 = -anInt8979; + } + + final synchronized int method2892() { + if (anInt8977 < 0) return -1; + return anInt8977; + } + + final int method2820() { + int i = anInt8976 * 3 >> 6; + i = (i ^ i >> 31) + (i >>> 31); + if (anInt8980 == 0) i -= (i * anInt8983 / ((((NodeSub19Sub1) this.aClass348_Sub19_6787).aByteArray8984).length << 8)); + else if (anInt8980 >= 0) i -= (i * anInt8975 / (((NodeSub19Sub1) this.aClass348_Sub19_6787).aByteArray8984).length); + return Math.min(i, 255); + } + + private static final int method2893(int i, byte[] is, int[] is_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_, int i_12_, int i_13_, int i_14_, int i_15_, NodeSub16Sub5 class348_sub16_sub5) { + i_7_ >>= 8; + i_15_ >>= 8; + i_9_ <<= 2; + i_10_ <<= 2; + i_11_ <<= 2; + i_12_ <<= 2; + if ((i_13_ = i_8_ + i_15_ - i_7_) > i_14_) i_13_ = i_14_; + class348_sub16_sub5.anInt8976 += class348_sub16_sub5.anInt8973 * (i_13_ - i_8_); + i_8_ <<= 1; + i_13_ <<= 1; + i_13_ -= 6; + while (i_8_ < i_13_) { + i = is[i_7_++]; + is_6_[i_8_++] += i * i_9_; + i_9_ += i_11_; + is_6_[i_8_++] += i * i_10_; + i_10_ += i_12_; + i = is[i_7_++]; + is_6_[i_8_++] += i * i_9_; + i_9_ += i_11_; + is_6_[i_8_++] += i * i_10_; + i_10_ += i_12_; + i = is[i_7_++]; + is_6_[i_8_++] += i * i_9_; + i_9_ += i_11_; + is_6_[i_8_++] += i * i_10_; + i_10_ += i_12_; + i = is[i_7_++]; + is_6_[i_8_++] += i * i_9_; + i_9_ += i_11_; + is_6_[i_8_++] += i * i_10_; + i_10_ += i_12_; + } + i_13_ += 6; + while (i_8_ < i_13_) { + i = is[i_7_++]; + is_6_[i_8_++] += i * i_9_; + i_9_ += i_11_; + is_6_[i_8_++] += i * i_10_; + i_10_ += i_12_; + } + class348_sub16_sub5.anInt8970 = i_9_ >> 2; + class348_sub16_sub5.anInt8974 = i_10_ >> 2; + class348_sub16_sub5.anInt8983 = i_7_ << 8; + return i_8_ >> 1; + } + + private static final int method2894(int i, int i_16_, byte[] is, int[] is_17_, int i_18_, int i_19_, int i_20_, int i_21_, int i_22_, int i_23_, int i_24_, NodeSub16Sub5 class348_sub16_sub5, int i_25_, int i_26_) { + if (i_25_ == 0 || (i_22_ = i_19_ + (i_24_ + 256 - i_18_ + i_25_) / i_25_) > i_23_) i_22_ = i_23_; + i_19_ <<= 1; + i_22_ <<= 1; + while (i_19_ < i_22_) { + i_16_ = i_18_ >> 8; + i = is[i_16_ - 1]; + i = (i << 8) + (is[i_16_] - i) * (i_18_ & 0xff); + is_17_[i_19_++] += i * i_20_ >> 6; + is_17_[i_19_++] += i * i_21_ >> 6; + i_18_ += i_25_; + } + if (i_25_ == 0 || ((i_22_ = (i_19_ >> 1) + (i_24_ - i_18_ + i_25_) / i_25_) > i_23_)) i_22_ = i_23_; + i_22_ <<= 1; + i_16_ = i_26_; + while (i_19_ < i_22_) { + i = (i_16_ << 8) + (is[i_18_ >> 8] - i_16_) * (i_18_ & 0xff); + is_17_[i_19_++] += i * i_20_ >> 6; + is_17_[i_19_++] += i * i_21_ >> 6; + i_18_ += i_25_; + } + class348_sub16_sub5.anInt8983 = i_18_; + return i_19_ >> 1; + } + + final boolean method2895() { + return anInt8972 != 0; + } + + private final void method2896() { + if (anInt8972 != 0) { + if (anInt8969 == -2147483648) anInt8969 = 0; + anInt8972 = 0; + method2918(); + } + } + + private static final int method2897(int i, byte[] is, int[] is_27_, int i_28_, int i_29_, int i_30_, int i_31_, int i_32_, int i_33_, int i_34_, NodeSub16Sub5 class348_sub16_sub5) { + i_28_ >>= 8; + i_34_ >>= 8; + i_30_ <<= 2; + i_31_ <<= 2; + if ((i_32_ = i_29_ + i_28_ - (i_34_ - 1)) > i_33_) i_32_ = i_33_; + i_29_ <<= 1; + i_32_ <<= 1; + i_32_ -= 6; + while (i_29_ < i_32_) { + i = is[i_28_--]; + is_27_[i_29_++] += i * i_30_; + is_27_[i_29_++] += i * i_31_; + i = is[i_28_--]; + is_27_[i_29_++] += i * i_30_; + is_27_[i_29_++] += i * i_31_; + i = is[i_28_--]; + is_27_[i_29_++] += i * i_30_; + is_27_[i_29_++] += i * i_31_; + i = is[i_28_--]; + is_27_[i_29_++] += i * i_30_; + is_27_[i_29_++] += i * i_31_; + } + i_32_ += 6; + while (i_29_ < i_32_) { + i = is[i_28_--]; + is_27_[i_29_++] += i * i_30_; + is_27_[i_29_++] += i * i_31_; + } + class348_sub16_sub5.anInt8983 = i_28_ << 8; + return i_29_ >> 1; + } + + private final boolean method2898() { + int i = anInt8969; + int i_35_; + int i_36_; + if (i == -2147483648) i = i_35_ = i_36_ = 0; + else { + i_35_ = method2904(i, anInt8977); + i_36_ = method2889(i, anInt8977); + } + if (anInt8976 != i || anInt8970 != i_35_ || anInt8974 != i_36_) { + if (anInt8976 < i) { + anInt8973 = 1; + anInt8972 = i - anInt8976; + } else if (anInt8976 > i) { + anInt8973 = -1; + anInt8972 = anInt8976 - i; + } else anInt8973 = 0; + if (anInt8970 < i_35_) { + anInt8971 = 1; + if (anInt8972 == 0 || anInt8972 > i_35_ - anInt8970) anInt8972 = i_35_ - anInt8970; + } else if (anInt8970 > i_35_) { + anInt8971 = -1; + if (anInt8972 == 0 || anInt8972 > anInt8970 - i_35_) anInt8972 = anInt8970 - i_35_; + } else anInt8971 = 0; + if (anInt8974 < i_36_) { + anInt8978 = 1; + if (anInt8972 == 0 || anInt8972 > i_36_ - anInt8974) anInt8972 = i_36_ - anInt8974; + } else if (anInt8974 > i_36_) { + anInt8978 = -1; + if (anInt8972 == 0 || anInt8972 > anInt8974 - i_36_) anInt8972 = anInt8974 - i_36_; + } else anInt8978 = 0; + return false; + } + if (anInt8969 == -2147483648) { + anInt8969 = 0; + anInt8976 = anInt8970 = anInt8974 = 0; + this.unlink((byte) 79); + return true; + } + method2918(); + return false; + } + + private static final int method2899(int i, int i_37_, byte[] is, int[] is_38_, int i_39_, int i_40_, int i_41_, int i_42_, int i_43_, int i_44_, int i_45_, int i_46_, int i_47_, NodeSub16Sub5 class348_sub16_sub5, int i_48_, int i_49_) { + class348_sub16_sub5.anInt8976 -= class348_sub16_sub5.anInt8973 * i_40_; + if (i_48_ == 0 || (i_45_ = i_40_ + (i_47_ - i_39_ + i_48_ - 257) / i_48_) > i_46_) i_45_ = i_46_; + i_40_ <<= 1; + i_45_ <<= 1; + while (i_40_ < i_45_) { + i_37_ = i_39_ >> 8; + i = is[i_37_]; + i = (i << 8) + (is[i_37_ + 1] - i) * (i_39_ & 0xff); + is_38_[i_40_++] += i * i_41_ >> 6; + i_41_ += i_43_; + is_38_[i_40_++] += i * i_42_ >> 6; + i_42_ += i_44_; + i_39_ += i_48_; + } + if (i_48_ == 0 || ((i_45_ = (i_40_ >> 1) + (i_47_ - i_39_ + i_48_ - 1) / i_48_) > i_46_)) i_45_ = i_46_; + i_45_ <<= 1; + i_37_ = i_49_; + while (i_40_ < i_45_) { + i = is[i_39_ >> 8]; + i = (i << 8) + (i_37_ - i) * (i_39_ & 0xff); + is_38_[i_40_++] += i * i_41_ >> 6; + i_41_ += i_43_; + is_38_[i_40_++] += i * i_42_ >> 6; + i_42_ += i_44_; + i_39_ += i_48_; + } + i_40_ >>= 1; + class348_sub16_sub5.anInt8976 += class348_sub16_sub5.anInt8973 * i_40_; + class348_sub16_sub5.anInt8970 = i_41_; + class348_sub16_sub5.anInt8974 = i_42_; + class348_sub16_sub5.anInt8983 = i_39_; + return i_40_; + } + + private static final int method2900(int i, byte[] is, int[] is_50_, int i_51_, int i_52_, int i_53_, int i_54_, int i_55_, int i_56_, int i_57_, int i_58_, int i_59_, NodeSub16Sub5 class348_sub16_sub5) { + i_51_ >>= 8; + i_59_ >>= 8; + i_53_ <<= 2; + i_54_ <<= 2; + i_55_ <<= 2; + i_56_ <<= 2; + if ((i_57_ = i_52_ + i_51_ - (i_59_ - 1)) > i_58_) i_57_ = i_58_; + class348_sub16_sub5.anInt8976 += class348_sub16_sub5.anInt8973 * (i_57_ - i_52_); + i_52_ <<= 1; + i_57_ <<= 1; + i_57_ -= 6; + while (i_52_ < i_57_) { + i = is[i_51_--]; + is_50_[i_52_++] += i * i_53_; + i_53_ += i_55_; + is_50_[i_52_++] += i * i_54_; + i_54_ += i_56_; + i = is[i_51_--]; + is_50_[i_52_++] += i * i_53_; + i_53_ += i_55_; + is_50_[i_52_++] += i * i_54_; + i_54_ += i_56_; + i = is[i_51_--]; + is_50_[i_52_++] += i * i_53_; + i_53_ += i_55_; + is_50_[i_52_++] += i * i_54_; + i_54_ += i_56_; + i = is[i_51_--]; + is_50_[i_52_++] += i * i_53_; + i_53_ += i_55_; + is_50_[i_52_++] += i * i_54_; + i_54_ += i_56_; + } + i_57_ += 6; + while (i_52_ < i_57_) { + i = is[i_51_--]; + is_50_[i_52_++] += i * i_53_; + i_53_ += i_55_; + is_50_[i_52_++] += i * i_54_; + i_54_ += i_56_; + } + class348_sub16_sub5.anInt8970 = i_53_ >> 2; + class348_sub16_sub5.anInt8974 = i_54_ >> 2; + class348_sub16_sub5.anInt8983 = i_51_ << 8; + return i_52_ >> 1; + } + + final synchronized void method2901(int i) { + if (anInt8979 < 0) anInt8979 = -i; + else anInt8979 = i; + } + + final synchronized void method2902(int i) { + if (i == 0) { + method2923(0); + this.unlink((byte) 93); + } else if (anInt8970 == 0 && anInt8974 == 0) { + anInt8972 = 0; + anInt8969 = 0; + anInt8976 = 0; + this.unlink((byte) 113); + } else { + int i_60_ = -anInt8976; + if (anInt8976 > i_60_) i_60_ = anInt8976; + if (-anInt8970 > i_60_) i_60_ = -anInt8970; + if (anInt8970 > i_60_) i_60_ = anInt8970; + if (-anInt8974 > i_60_) i_60_ = -anInt8974; + if (anInt8974 > i_60_) i_60_ = anInt8974; + if (i > i_60_) i = i_60_; + anInt8972 = i; + anInt8969 = -2147483648; + anInt8973 = -anInt8976 / i; + anInt8971 = -anInt8970 / i; + anInt8978 = -anInt8974 / i; + } + } + + private static final int method2903(int i, int i_61_, byte[] is, int[] is_62_, int i_63_, int i_64_, int i_65_, int i_66_, int i_67_, int i_68_, int i_69_, NodeSub16Sub5 class348_sub16_sub5, int i_70_, int i_71_) { + class348_sub16_sub5.anInt8970 -= class348_sub16_sub5.anInt8971 * i_64_; + class348_sub16_sub5.anInt8974 -= class348_sub16_sub5.anInt8978 * i_64_; + if (i_70_ == 0 || (i_67_ = i_64_ + (i_69_ - i_63_ + i_70_ - 257) / i_70_) > i_68_) i_67_ = i_68_; + while (i_64_ < i_67_) { + i_61_ = i_63_ >> 8; + i = is[i_61_]; + is_62_[i_64_++] += (((i << 8) + (is[i_61_ + 1] - i) * (i_63_ & 0xff)) * i_65_ >> 6); + i_65_ += i_66_; + i_63_ += i_70_; + } + if (i_70_ == 0 || (i_67_ = i_64_ + (i_69_ - i_63_ + i_70_ - 1) / i_70_) > i_68_) i_67_ = i_68_; + i_61_ = i_71_; + while (i_64_ < i_67_) { + i = is[i_63_ >> 8]; + is_62_[i_64_++] += ((i << 8) + (i_61_ - i) * (i_63_ & 0xff)) * i_65_ >> 6; + i_65_ += i_66_; + i_63_ += i_70_; + } + class348_sub16_sub5.anInt8970 += class348_sub16_sub5.anInt8971 * i_64_; + class348_sub16_sub5.anInt8974 += class348_sub16_sub5.anInt8978 * i_64_; + class348_sub16_sub5.anInt8976 = i_65_; + class348_sub16_sub5.anInt8983 = i_63_; + return i_64_; + } + + final int method2821() { + if (anInt8969 == 0 && anInt8972 == 0) return 0; + return 1; + } + + private static final int method2904(int i, int i_72_) { + if (i_72_ < 0) return i; + return (int) (((double) i * Math.sqrt((double) (16384 - i_72_) * 1.220703125E-4)) + 0.5); + } + + private static final int method2905(byte[] is, int[] is_73_, int i, int i_74_, int i_75_, int i_76_, int i_77_, int i_78_, NodeSub16Sub5 class348_sub16_sub5) { + i >>= 8; + i_78_ >>= 8; + i_75_ <<= 2; + if ((i_76_ = i_74_ + i_78_ - i) > i_77_) i_76_ = i_77_; + i_76_ -= 3; + while (i_74_ < i_76_) { + is_73_[i_74_++] += is[i++] * i_75_; + is_73_[i_74_++] += is[i++] * i_75_; + is_73_[i_74_++] += is[i++] * i_75_; + is_73_[i_74_++] += is[i++] * i_75_; + } + i_76_ += 3; + while (i_74_ < i_76_) is_73_[i_74_++] += is[i++] * i_75_; + class348_sub16_sub5.anInt8983 = i << 8; + return i_74_; + } + + final synchronized int method2906() { + if (anInt8969 == -2147483648) return 0; + return anInt8969; + } + + private static final int method2907(int i, int i_79_, byte[] is, int[] is_80_, int i_81_, int i_82_, int i_83_, int i_84_, int i_85_, int i_86_, NodeSub16Sub5 class348_sub16_sub5, int i_87_, int i_88_) { + if (i_87_ == 0 || (i_84_ = i_82_ + (i_86_ + 256 - i_81_ + i_87_) / i_87_) > i_85_) i_84_ = i_85_; + while (i_82_ < i_84_) { + i_79_ = i_81_ >> 8; + i = is[i_79_ - 1]; + is_80_[i_82_++] += ((i << 8) + (is[i_79_] - i) * (i_81_ & 0xff)) * i_83_ >> 6; + i_81_ += i_87_; + } + if (i_87_ == 0 || (i_84_ = i_82_ + (i_86_ - i_81_ + i_87_) / i_87_) > i_85_) i_84_ = i_85_; + i = i_88_; + i_79_ = i_87_; + while (i_82_ < i_84_) { + is_80_[i_82_++] += (((i << 8) + (is[i_81_ >> 8] - i) * (i_81_ & 0xff)) * i_83_ >> 6); + i_81_ += i_79_; + } + class348_sub16_sub5.anInt8983 = i_81_; + return i_82_; + } + + private static final int method2908(byte[] is, int[] is_89_, int i, int i_90_, int i_91_, int i_92_, int i_93_, int i_94_, int i_95_, NodeSub16Sub5 class348_sub16_sub5) { + i >>= 8; + i_95_ >>= 8; + i_91_ <<= 2; + i_92_ <<= 2; + if ((i_93_ = i_90_ + i - (i_95_ - 1)) > i_94_) i_93_ = i_94_; + class348_sub16_sub5.anInt8970 += class348_sub16_sub5.anInt8971 * (i_93_ - i_90_); + class348_sub16_sub5.anInt8974 += class348_sub16_sub5.anInt8978 * (i_93_ - i_90_); + i_93_ -= 3; + while (i_90_ < i_93_) { + is_89_[i_90_++] += is[i--] * i_91_; + i_91_ += i_92_; + is_89_[i_90_++] += is[i--] * i_91_; + i_91_ += i_92_; + is_89_[i_90_++] += is[i--] * i_91_; + i_91_ += i_92_; + is_89_[i_90_++] += is[i--] * i_91_; + i_91_ += i_92_; + } + i_93_ += 3; + while (i_90_ < i_93_) { + is_89_[i_90_++] += is[i--] * i_91_; + i_91_ += i_92_; + } + class348_sub16_sub5.anInt8976 = i_91_ >> 2; + class348_sub16_sub5.anInt8983 = i << 8; + return i_90_; + } + + final synchronized void method2909(int i) { + method2926(method2906(), i); + } + + private static final int method2910(int i, byte[] is, int[] is_96_, int i_97_, int i_98_, int i_99_, int i_100_, int i_101_, int i_102_, int i_103_, NodeSub16Sub5 class348_sub16_sub5) { + i_97_ >>= 8; + i_103_ >>= 8; + i_99_ <<= 2; + i_100_ <<= 2; + if ((i_101_ = i_98_ + i_103_ - i_97_) > i_102_) i_101_ = i_102_; + i_98_ <<= 1; + i_101_ <<= 1; + i_101_ -= 6; + while (i_98_ < i_101_) { + i = is[i_97_++]; + is_96_[i_98_++] += i * i_99_; + is_96_[i_98_++] += i * i_100_; + i = is[i_97_++]; + is_96_[i_98_++] += i * i_99_; + is_96_[i_98_++] += i * i_100_; + i = is[i_97_++]; + is_96_[i_98_++] += i * i_99_; + is_96_[i_98_++] += i * i_100_; + i = is[i_97_++]; + is_96_[i_98_++] += i * i_99_; + is_96_[i_98_++] += i * i_100_; + } + i_101_ += 6; + while (i_98_ < i_101_) { + i = is[i_97_++]; + is_96_[i_98_++] += i * i_99_; + is_96_[i_98_++] += i * i_100_; + } + class348_sub16_sub5.anInt8983 = i_97_ << 8; + return i_98_ >> 1; + } + + static final NodeSub16Sub5 method2911(NodeSub19Sub1 class348_sub19_sub1, int i, int i_104_, int i_105_) { + if (class348_sub19_sub1.aByteArray8984 == null || (class348_sub19_sub1.aByteArray8984).length == 0) return null; + return new NodeSub16Sub5(class348_sub19_sub1, i, i_104_, i_105_); + } + + private static final int method2912(int i, int i_106_, byte[] is, int[] is_107_, int i_108_, int i_109_, int i_110_, int i_111_, int i_112_, int i_113_, int i_114_, NodeSub16Sub5 class348_sub16_sub5, int i_115_, int i_116_) { + class348_sub16_sub5.anInt8970 -= class348_sub16_sub5.anInt8971 * i_109_; + class348_sub16_sub5.anInt8974 -= class348_sub16_sub5.anInt8978 * i_109_; + if (i_115_ == 0 || ((i_112_ = i_109_ + (i_114_ + 256 - i_108_ + i_115_) / i_115_) > i_113_)) i_112_ = i_113_; + while (i_109_ < i_112_) { + i_106_ = i_108_ >> 8; + i = is[i_106_ - 1]; + is_107_[i_109_++] += (((i << 8) + (is[i_106_] - i) * (i_108_ & 0xff)) * i_110_ >> 6); + i_110_ += i_111_; + i_108_ += i_115_; + } + if (i_115_ == 0 || ((i_112_ = i_109_ + (i_114_ - i_108_ + i_115_) / i_115_) > i_113_)) i_112_ = i_113_; + i = i_116_; + i_106_ = i_115_; + while (i_109_ < i_112_) { + is_107_[i_109_++] += (((i << 8) + (is[i_108_ >> 8] - i) * (i_108_ & 0xff)) * i_110_) >> 6; + i_110_ += i_111_; + i_108_ += i_106_; + } + class348_sub16_sub5.anInt8970 += class348_sub16_sub5.anInt8971 * i_109_; + class348_sub16_sub5.anInt8974 += class348_sub16_sub5.anInt8978 * i_109_; + class348_sub16_sub5.anInt8976 = i_110_; + class348_sub16_sub5.anInt8983 = i_108_; + return i_109_; + } + + private static final int method2913(byte[] is, int[] is_117_, int i, int i_118_, int i_119_, int i_120_, int i_121_, int i_122_, int i_123_, NodeSub16Sub5 class348_sub16_sub5) { + i >>= 8; + i_123_ >>= 8; + i_119_ <<= 2; + i_120_ <<= 2; + if ((i_121_ = i_118_ + i_123_ - i) > i_122_) i_121_ = i_122_; + class348_sub16_sub5.anInt8970 += class348_sub16_sub5.anInt8971 * (i_121_ - i_118_); + class348_sub16_sub5.anInt8974 += class348_sub16_sub5.anInt8978 * (i_121_ - i_118_); + i_121_ -= 3; + while (i_118_ < i_121_) { + is_117_[i_118_++] += is[i++] * i_119_; + i_119_ += i_120_; + is_117_[i_118_++] += is[i++] * i_119_; + i_119_ += i_120_; + is_117_[i_118_++] += is[i++] * i_119_; + i_119_ += i_120_; + is_117_[i_118_++] += is[i++] * i_119_; + i_119_ += i_120_; + } + i_121_ += 3; + while (i_118_ < i_121_) { + is_117_[i_118_++] += is[i++] * i_119_; + i_119_ += i_120_; + } + class348_sub16_sub5.anInt8976 = i_119_ >> 2; + class348_sub16_sub5.anInt8983 = i << 8; + return i_118_; + } + + final synchronized int method2914() { + if (anInt8979 < 0) return -anInt8979; + return anInt8979; + } + + final synchronized void method2915(int i) { + method2926(i << 6, method2892()); + } + + final NodeSub16 method2818() { + return null; + } + + final synchronized void method2916(int i, int i_124_) { + method2888(i, i_124_, method2892()); + } + + final synchronized void method2917(int i) { + anInt8980 = i; + } + + private final void method2918() { + anInt8976 = anInt8969; + anInt8970 = method2904(anInt8969, anInt8977); + anInt8974 = method2889(anInt8969, anInt8977); + } + + private final int method2919(int[] is, int i, int i_125_, int i_126_, int i_127_) { + while (anInt8972 > 0) { + int i_128_ = i + anInt8972; + if (i_128_ > i_126_) i_128_ = i_126_; + anInt8972 += i; + if (anInt8979 == 256 && (anInt8983 & 0xff) == 0) { + if (Component21.stereo) i = method2893(0, ((NodeSub19Sub1) this.aClass348_Sub19_6787).aByteArray8984, is, anInt8983, i, anInt8970, anInt8974, anInt8971, anInt8978, 0, i_128_, i_125_, this); + else i = method2913(((NodeSub19Sub1) this.aClass348_Sub19_6787).aByteArray8984, is, anInt8983, i, anInt8976, anInt8973, 0, i_128_, i_125_, this); + } else if (Component21.stereo) i = method2899(0, 0, (((NodeSub19Sub1) this.aClass348_Sub19_6787).aByteArray8984), is, anInt8983, i, anInt8970, anInt8974, anInt8971, anInt8978, 0, i_128_, i_125_, this, anInt8979, i_127_); + else i = method2903(0, 0, (((NodeSub19Sub1) this.aClass348_Sub19_6787).aByteArray8984), is, anInt8983, i, anInt8976, anInt8973, 0, i_128_, i_125_, this, anInt8979, i_127_); + anInt8972 -= i; + if (anInt8972 != 0) return i; + if (method2898()) return i_126_; + } + if (anInt8979 == 256 && (anInt8983 & 0xff) == 0) { + if (Component21.stereo) return method2910(0, ((NodeSub19Sub1) this.aClass348_Sub19_6787).aByteArray8984, is, anInt8983, i, anInt8970, anInt8974, 0, i_126_, i_125_, this); + return method2905((((NodeSub19Sub1) this.aClass348_Sub19_6787).aByteArray8984), is, anInt8983, i, anInt8976, 0, i_126_, i_125_, this); + } + if (Component21.stereo) return method2922(0, 0, (((NodeSub19Sub1) this.aClass348_Sub19_6787).aByteArray8984), is, anInt8983, i, anInt8970, anInt8974, 0, i_126_, i_125_, this, anInt8979, i_127_); + return method2925(0, 0, (((NodeSub19Sub1) this.aClass348_Sub19_6787).aByteArray8984), is, anInt8983, i, anInt8976, 0, i_126_, i_125_, this, anInt8979, i_127_); + } + + private static final int method2920(int i, int i_129_, byte[] is, int[] is_130_, int i_131_, int i_132_, int i_133_, int i_134_, int i_135_, int i_136_, int i_137_, int i_138_, int i_139_, NodeSub16Sub5 class348_sub16_sub5, int i_140_, int i_141_) { + class348_sub16_sub5.anInt8976 -= class348_sub16_sub5.anInt8973 * i_132_; + if (i_140_ == 0 || ((i_137_ = i_132_ + (i_139_ + 256 - i_131_ + i_140_) / i_140_) > i_138_)) i_137_ = i_138_; + i_132_ <<= 1; + i_137_ <<= 1; + while (i_132_ < i_137_) { + i_129_ = i_131_ >> 8; + i = is[i_129_ - 1]; + i = (i << 8) + (is[i_129_] - i) * (i_131_ & 0xff); + is_130_[i_132_++] += i * i_133_ >> 6; + i_133_ += i_135_; + is_130_[i_132_++] += i * i_134_ >> 6; + i_134_ += i_136_; + i_131_ += i_140_; + } + if (i_140_ == 0 || ((i_137_ = (i_132_ >> 1) + (i_139_ - i_131_ + i_140_) / i_140_) > i_138_)) i_137_ = i_138_; + i_137_ <<= 1; + i_129_ = i_141_; + while (i_132_ < i_137_) { + i = (i_129_ << 8) + (is[i_131_ >> 8] - i_129_) * (i_131_ & 0xff); + is_130_[i_132_++] += i * i_133_ >> 6; + i_133_ += i_135_; + is_130_[i_132_++] += i * i_134_ >> 6; + i_134_ += i_136_; + i_131_ += i_140_; + } + i_132_ >>= 1; + class348_sub16_sub5.anInt8976 += class348_sub16_sub5.anInt8973 * i_132_; + class348_sub16_sub5.anInt8970 = i_133_; + class348_sub16_sub5.anInt8974 = i_134_; + class348_sub16_sub5.anInt8983 = i_131_; + return i_132_; + } + + private static final int method2921(byte[] is, int[] is_142_, int i, int i_143_, int i_144_, int i_145_, int i_146_, int i_147_, NodeSub16Sub5 class348_sub16_sub5) { + i >>= 8; + i_147_ >>= 8; + i_144_ <<= 2; + if ((i_145_ = i_143_ + i - (i_147_ - 1)) > i_146_) i_145_ = i_146_; + i_145_ -= 3; + while (i_143_ < i_145_) { + is_142_[i_143_++] += is[i--] * i_144_; + is_142_[i_143_++] += is[i--] * i_144_; + is_142_[i_143_++] += is[i--] * i_144_; + is_142_[i_143_++] += is[i--] * i_144_; + } + i_145_ += 3; + while (i_143_ < i_145_) is_142_[i_143_++] += is[i--] * i_144_; + class348_sub16_sub5.anInt8983 = i << 8; + return i_143_; + } + + private static final int method2922(int i, int i_148_, byte[] is, int[] is_149_, int i_150_, int i_151_, int i_152_, int i_153_, int i_154_, int i_155_, int i_156_, NodeSub16Sub5 class348_sub16_sub5, int i_157_, int i_158_) { + if (i_157_ == 0 || ((i_154_ = i_151_ + (i_156_ - i_150_ + i_157_ - 257) / i_157_) > i_155_)) i_154_ = i_155_; + i_151_ <<= 1; + i_154_ <<= 1; + while (i_151_ < i_154_) { + i_148_ = i_150_ >> 8; + i = is[i_148_]; + i = (i << 8) + (is[i_148_ + 1] - i) * (i_150_ & 0xff); + is_149_[i_151_++] += i * i_152_ >> 6; + is_149_[i_151_++] += i * i_153_ >> 6; + i_150_ += i_157_; + } + if (i_157_ == 0 || (i_154_ = (i_151_ >> 1) + (i_156_ - i_150_ + i_157_ - 1) / i_157_) > i_155_) i_154_ = i_155_; + i_154_ <<= 1; + i_148_ = i_158_; + while (i_151_ < i_154_) { + i = is[i_150_ >> 8]; + i = (i << 8) + (i_148_ - i) * (i_150_ & 0xff); + is_149_[i_151_++] += i * i_152_ >> 6; + is_149_[i_151_++] += i * i_153_ >> 6; + i_150_ += i_157_; + } + class348_sub16_sub5.anInt8983 = i_150_; + return i_151_ >> 1; + } + + private final synchronized void method2923(int i) { + method2926(i, method2892()); + } + + final synchronized void method2817(int[] is, int i, int i_159_) { + if (anInt8969 == 0 && anInt8972 == 0) method2819(i_159_); + else { + NodeSub19Sub1 class348_sub19_sub1 = ((NodeSub19Sub1) this.aClass348_Sub19_6787); + int i_160_ = anInt8975 << 8; + int i_161_ = anInt8982 << 8; + int i_162_ = ((class348_sub19_sub1.aByteArray8984).length << 8); + int i_163_ = i_161_ - i_160_; + if (i_163_ <= 0) anInt8980 = 0; + int i_164_ = i; + i_159_ += i; + if (anInt8983 < 0) { + if (anInt8979 > 0) anInt8983 = 0; + else { + method2896(); + this.unlink((byte) 83); + return; + } + } + if (anInt8983 >= i_162_) { + if (anInt8979 < 0) anInt8983 = i_162_ - 1; + else { + method2896(); + this.unlink((byte) 81); + return; + } + } + if (anInt8980 < 0) { + if (aBoolean8981) { + if (anInt8979 < 0) { + i_164_ = method2927(is, i_164_, i_160_, i_159_, (class348_sub19_sub1.aByteArray8984[anInt8975])); + if (anInt8983 >= i_160_) return; + anInt8983 = i_160_ + i_160_ - 1 - anInt8983; + anInt8979 = -anInt8979; + } + for (; ; ) { + i_164_ = method2919(is, i_164_, i_161_, i_159_, (class348_sub19_sub1.aByteArray8984[anInt8982 - 1])); + if (anInt8983 < i_161_) break; + anInt8983 = i_161_ + i_161_ - 1 - anInt8983; + anInt8979 = -anInt8979; + i_164_ = method2927(is, i_164_, i_160_, i_159_, (class348_sub19_sub1.aByteArray8984[anInt8975])); + if (anInt8983 >= i_160_) break; + anInt8983 = i_160_ + i_160_ - 1 - anInt8983; + anInt8979 = -anInt8979; + } + } else if (anInt8979 < 0) { + for (; ; ) { + i_164_ = method2927(is, i_164_, i_160_, i_159_, (class348_sub19_sub1.aByteArray8984[anInt8982 - 1])); + if (anInt8983 >= i_160_) break; + anInt8983 = i_161_ - 1 - (i_161_ - 1 - anInt8983) % i_163_; + } + } else { + for (; ; ) { + i_164_ = method2919(is, i_164_, i_161_, i_159_, (class348_sub19_sub1.aByteArray8984[anInt8975])); + if (anInt8983 < i_161_) break; + anInt8983 = i_160_ + (anInt8983 - i_160_) % i_163_; + } + } + } else { + do { + if (anInt8980 > 0) { + if (aBoolean8981) { + if (anInt8979 < 0) { + i_164_ = method2927(is, i_164_, i_160_, i_159_, (class348_sub19_sub1.aByteArray8984[anInt8975])); + if (anInt8983 >= i_160_) return; + anInt8983 = i_160_ + i_160_ - 1 - anInt8983; + anInt8979 = -anInt8979; + if (--anInt8980 == 0) break; + } + do { + i_164_ = method2919(is, i_164_, i_161_, i_159_, (class348_sub19_sub1.aByteArray8984[anInt8982 - 1])); + if (anInt8983 < i_161_) return; + anInt8983 = i_161_ + i_161_ - 1 - anInt8983; + anInt8979 = -anInt8979; + if (--anInt8980 == 0) break; + i_164_ = method2927(is, i_164_, i_160_, i_159_, (class348_sub19_sub1.aByteArray8984[anInt8975])); + if (anInt8983 >= i_160_) return; + anInt8983 = i_160_ + i_160_ - 1 - anInt8983; + anInt8979 = -anInt8979; + } while (--anInt8980 != 0); + } else if (anInt8979 < 0) { + for (; ; ) { + i_164_ = method2927(is, i_164_, i_160_, i_159_, (class348_sub19_sub1.aByteArray8984[anInt8982 - 1])); + if (anInt8983 >= i_160_) return; + int i_165_ = (i_161_ - 1 - anInt8983) / i_163_; + if (i_165_ >= anInt8980) { + anInt8983 += i_163_ * anInt8980; + anInt8980 = 0; + break; + } + anInt8983 += i_163_ * i_165_; + anInt8980 -= i_165_; + } + } else { + for (; ; ) { + i_164_ = method2919(is, i_164_, i_161_, i_159_, (class348_sub19_sub1.aByteArray8984[anInt8975])); + if (anInt8983 < i_161_) return; + int i_166_ = (anInt8983 - i_160_) / i_163_; + if (i_166_ >= anInt8980) { + anInt8983 -= i_163_ * anInt8980; + anInt8980 = 0; + break; + } + anInt8983 -= i_163_ * i_166_; + anInt8980 -= i_166_; + } + } + } + } while (false); + if (anInt8979 < 0) { + method2927(is, i_164_, 0, i_159_, 0); + if (anInt8983 < 0) { + anInt8983 = -1; + method2896(); + this.unlink((byte) 24); + } + } else { + method2919(is, i_164_, i_162_, i_159_, 0); + if (anInt8983 >= i_162_) { + anInt8983 = i_162_; + method2896(); + this.unlink((byte) 93); + } + } + } + } + } + + final synchronized void method2924(int i) { + int i_167_ = ((((NodeSub19Sub1) this.aClass348_Sub19_6787).aByteArray8984).length << 8); + if (i < -1) i = -1; + if (i > i_167_) i = i_167_; + anInt8983 = i; + } + + final NodeSub16 method2816() { + return null; + } + + private static final int method2925(int i, int i_168_, byte[] is, int[] is_169_, int i_170_, int i_171_, int i_172_, int i_173_, int i_174_, int i_175_, NodeSub16Sub5 class348_sub16_sub5, int i_176_, int i_177_) { + if (i_176_ == 0 || ((i_173_ = i_171_ + (i_175_ - i_170_ + i_176_ - 257) / i_176_) > i_174_)) i_173_ = i_174_; + while (i_171_ < i_173_) { + i_168_ = i_170_ >> 8; + i = is[i_168_]; + is_169_[i_171_++] += (((i << 8) + (is[i_168_ + 1] - i) * (i_170_ & 0xff)) * i_172_) >> 6; + i_170_ += i_176_; + } + if (i_176_ == 0 || ((i_173_ = i_171_ + (i_175_ - i_170_ + i_176_ - 1) / i_176_) > i_174_)) i_173_ = i_174_; + i_168_ = i_177_; + while (i_171_ < i_173_) { + i = is[i_170_ >> 8]; + is_169_[i_171_++] += ((i << 8) + (i_168_ - i) * (i_170_ & 0xff)) * i_172_ >> 6; + i_170_ += i_176_; + } + class348_sub16_sub5.anInt8983 = i_170_; + return i_171_; + } + + private final synchronized void method2926(int i, int i_178_) { + anInt8969 = i; + anInt8977 = i_178_; + anInt8972 = 0; + method2918(); + } + + final synchronized void method2819(int i) { + if (anInt8972 > 0) { + if (i >= anInt8972) { + if (anInt8969 == -2147483648) { + anInt8969 = 0; + anInt8976 = anInt8970 = anInt8974 = 0; + this.unlink((byte) 52); + i = anInt8972; + } + anInt8972 = 0; + method2918(); + } else { + anInt8976 += anInt8973 * i; + anInt8970 += anInt8971 * i; + anInt8974 += anInt8978 * i; + anInt8972 -= i; + } + } + NodeSub19Sub1 class348_sub19_sub1 = ((NodeSub19Sub1) this.aClass348_Sub19_6787); + int i_179_ = anInt8975 << 8; + int i_180_ = anInt8982 << 8; + int i_181_ = ((class348_sub19_sub1.aByteArray8984).length << 8); + int i_182_ = i_180_ - i_179_; + if (i_182_ <= 0) anInt8980 = 0; + if (anInt8983 < 0) { + if (anInt8979 > 0) anInt8983 = 0; + else { + method2896(); + this.unlink((byte) 60); + return; + } + } + if (anInt8983 >= i_181_) { + if (anInt8979 < 0) anInt8983 = i_181_ - 1; + else { + method2896(); + this.unlink((byte) 93); + return; + } + } + anInt8983 += anInt8979 * i; + if (anInt8980 < 0) { + if (aBoolean8981) { + if (anInt8979 < 0) { + if (anInt8983 >= i_179_) return; + anInt8983 = i_179_ + i_179_ - 1 - anInt8983; + anInt8979 = -anInt8979; + } + while (anInt8983 >= i_180_) { + anInt8983 = i_180_ + i_180_ - 1 - anInt8983; + anInt8979 = -anInt8979; + if (anInt8983 >= i_179_) break; + anInt8983 = i_179_ + i_179_ - 1 - anInt8983; + anInt8979 = -anInt8979; + } + } else if (anInt8979 < 0) { + if (anInt8983 < i_179_) anInt8983 = i_180_ - 1 - (i_180_ - 1 - anInt8983) % i_182_; + } else if (anInt8983 >= i_180_) anInt8983 = i_179_ + (anInt8983 - i_179_) % i_182_; + } else { + do { + if (anInt8980 > 0) { + if (aBoolean8981) { + if (anInt8979 < 0) { + if (anInt8983 >= i_179_) return; + anInt8983 = i_179_ + i_179_ - 1 - anInt8983; + anInt8979 = -anInt8979; + if (--anInt8980 == 0) break; + } + do { + if (anInt8983 < i_180_) return; + anInt8983 = i_180_ + i_180_ - 1 - anInt8983; + anInt8979 = -anInt8979; + if (--anInt8980 == 0) break; + if (anInt8983 >= i_179_) return; + anInt8983 = i_179_ + i_179_ - 1 - anInt8983; + anInt8979 = -anInt8979; + } while (--anInt8980 != 0); + } else if (anInt8979 < 0) { + if (anInt8983 >= i_179_) return; + int i_183_ = (i_180_ - 1 - anInt8983) / i_182_; + if (i_183_ >= anInt8980) { + anInt8983 += i_182_ * anInt8980; + anInt8980 = 0; + } else { + anInt8983 += i_182_ * i_183_; + anInt8980 -= i_183_; + return; + } + } else { + if (anInt8983 < i_180_) return; + int i_184_ = (anInt8983 - i_179_) / i_182_; + if (i_184_ >= anInt8980) { + anInt8983 -= i_182_ * anInt8980; + anInt8980 = 0; + } else { + anInt8983 -= i_182_ * i_184_; + anInt8980 -= i_184_; + return; + } + } + } + } while (false); + if (anInt8979 < 0) { + if (anInt8983 < 0) { + anInt8983 = -1; + method2896(); + this.unlink((byte) 126); + } + } else if (anInt8983 >= i_181_) { + anInt8983 = i_181_; + method2896(); + this.unlink((byte) 55); + } + } + } + + private NodeSub16Sub5(NodeSub19Sub1 class348_sub19_sub1, int i, int i_185_, int i_186_) { + this.aClass348_Sub19_6787 = class348_sub19_sub1; + anInt8975 = class348_sub19_sub1.anInt8986; + anInt8982 = class348_sub19_sub1.anInt8985; + aBoolean8981 = class348_sub19_sub1.aBoolean8987; + anInt8979 = i; + anInt8969 = i_185_; + anInt8977 = i_186_; + anInt8983 = 0; + method2918(); + } + + private final int method2927(int[] is, int i, int i_187_, int i_188_, int i_189_) { + while (anInt8972 > 0) { + int i_190_ = i + anInt8972; + if (i_190_ > i_188_) i_190_ = i_188_; + anInt8972 += i; + if (anInt8979 == -256 && (anInt8983 & 0xff) == 0) { + if (Component21.stereo) i = method2900(0, ((NodeSub19Sub1) this.aClass348_Sub19_6787).aByteArray8984, is, anInt8983, i, anInt8970, anInt8974, anInt8971, anInt8978, 0, i_190_, i_187_, this); + else i = method2908(((NodeSub19Sub1) this.aClass348_Sub19_6787).aByteArray8984, is, anInt8983, i, anInt8976, anInt8973, 0, i_190_, i_187_, this); + } else if (Component21.stereo) i = method2920(0, 0, (((NodeSub19Sub1) this.aClass348_Sub19_6787).aByteArray8984), is, anInt8983, i, anInt8970, anInt8974, anInt8971, anInt8978, 0, i_190_, i_187_, this, anInt8979, i_189_); + else i = method2912(0, 0, (((NodeSub19Sub1) this.aClass348_Sub19_6787).aByteArray8984), is, anInt8983, i, anInt8976, anInt8973, 0, i_190_, i_187_, this, anInt8979, i_189_); + anInt8972 -= i; + if (anInt8972 != 0) return i; + if (method2898()) return i_188_; + } + if (anInt8979 == -256 && (anInt8983 & 0xff) == 0) { + if (Component21.stereo) return method2897(0, ((NodeSub19Sub1) this.aClass348_Sub19_6787).aByteArray8984, is, anInt8983, i, anInt8970, anInt8974, 0, i_188_, i_187_, this); + return method2921((((NodeSub19Sub1) this.aClass348_Sub19_6787).aByteArray8984), is, anInt8983, i, anInt8976, 0, i_188_, i_187_, this); + } + if (Component21.stereo) return method2894(0, 0, (((NodeSub19Sub1) this.aClass348_Sub19_6787).aByteArray8984), is, anInt8983, i, anInt8970, anInt8974, 0, i_188_, i_187_, this, anInt8979, i_189_); + return method2907(0, 0, (((NodeSub19Sub1) this.aClass348_Sub19_6787).aByteArray8984), is, anInt8983, i, anInt8976, 0, i_188_, i_187_, this, anInt8979, i_189_); + } +} diff --git a/client/nodes/NodeSub18.java b/client/nodes/NodeSub18.java new file mode 100644 index 000000000..c8a8ed3f7 --- /dev/null +++ b/client/nodes/NodeSub18.java @@ -0,0 +1,201 @@ +/* NodeSub18 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.awt.*; +import java.lang.reflect.Constructor; + +final class NodeSub18 +/** + * RENAMED from `Class348_Sub18` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + static int anInt6804; + static int anInt6805; + private final int anInt6806; + static int anInt6807; + static int anInt6808; + int anInt6809; + private int anInt6810; + private int anInt6811; + int anInt6812; + int anInt6813; + static StringCache aClass351_6814 = new StringCache(63, 3); + private final int anInt6815; + static int anInt6816; + static int anInt6817; + static int anInt6818 = 0; + int anInt6819; + private final int anInt6820; + static int anInt6821; + static int anInt6822; + /*synthetic*/ static Class aClass6823; + + final boolean method2934(int i, int i_0_, int i_1_) { + anInt6822++; + if (i != 3589) createMouseHandler(null, 70, false); + return i_0_ >= anInt6820 && i_0_ <= anInt6806 && i_1_ >= anInt6811 && anInt6810 >= i_1_; + } + + final boolean method2935(int i, int i_2_, int i_3_, boolean bool) { + anInt6821++; + if (bool != true) anInt6811 = -84; + return i_3_ == anInt6815 && i_2_ >= anInt6820 && anInt6806 >= i_2_ && i >= anInt6811 && anInt6810 >= i; + } + + public static void method2936(byte i) { + if (i == -25) aClass351_6814 = null; + } + + final void method2937(int i, int i_4_, int i_5_, int[] is) { + anInt6816++; + is[0] = anInt6815; + is[1] = -this.anInt6809 - -anInt6820 + i; + is[2] = i_4_ + (-this.anInt6812 + anInt6811); + if (i_5_ != -3069) anInt6810 = -14; + } + + static final void method2938(byte i) { + anInt6804++; + Component267.aClass268_2979.method2037(10205); + Component149.aClass183_4460.method1381(true); + DefinitionSub25.aClass150_9342.method1206((byte) -37); + GradientPreset.aClass263_9195.method2012(-23828); + Component291.aClass278_2529.method2078(-6080); + Exception_Sub1.itemDefinitions.method1939(-110); + RunescapeInfo.aClass87_191.method834((byte) -116); + NsnDefinition.aClass319_9245.method2546(60); + Component267.aClass194_2981.method1445(64); + Component209.aClass217_3453.method1589((byte) 127); + DisplayModeManagerContainer282.aClass261_5558.clearCache(0); + Component245.aClass141_117.method1175((byte) 125); + DisplayModeManagerContainer64.aClass153_9031.method1219(7851); + DisplayModeManagerContainer64.aClass187_9036.method1404((byte) -82); + MatrixSub3.aClass326_5764.method2601((byte) -44); + ComponentDownloader.aClass84_413.method822((byte) -120); + Component132.aClass25_1813.method300((byte) -123); + NodeSub1.aClass185_6559.method1393((byte) -13); + Component339.aClass166_3147.method1290(-8); + Component257.aClass65_4787.method695(true); + DisplayModeManagerContainer306.aClass219_4782.method1602(0); + Component76.method3573(-15326); + LoadingManager.clearDefinitionCaches((byte) 62); + DisplayModeManagerContainer26.method821(-126); + Renderable.method2375(16127); + if (Component326.LIVE != DisplayModeManagerContainer345.aClass364_165) { + for (int i_6_ = 0; Component17.aByteArrayArray3882.length > i_6_; i_6_++) + Component17.aByteArrayArray3882[i_6_] = null; + Component162.anInt8388 = 0; + } + NamedInteger.clearCaches(83); + Component192.clearSoftCache(-1); + Component256.method1828(87); + if (i > 53) { + DisplayModeManagerContainer310.method297(false); + Component134.method1402(1); + ClientScriptExecutor.aClass60_1174.clear(0); + NodeSub8.toolkit.method3663(); + TcpSocketStream.method1707(26469); + Buffer.disposeActiveToolkit(-52); + NodeSub29.aClass45_6909.clearUnpacked((byte) -124); + DisplayModeManagerContainer51.aClass45_2490.clearUnpacked((byte) -119); + Component181.aClass45_1541.clearUnpacked((byte) 37); + NodeSub35.aClass45_6980.clearUnpacked((byte) -113); + Component30.aClass45_1878.clearUnpacked((byte) -116); + SoftwareFallbackShader.aClass45_7382.clearUnpacked((byte) -110); + Component54.aClass45_8667.clearUnpacked((byte) 64); + ShaderSub3.aClass45_5207.clearUnpacked((byte) 120); + Component158.aClass45_322.clearUnpacked((byte) 98); + Component14.aClass45_8589.clearUnpacked((byte) 43); + Component110.aClass45_233.clearUnpacked((byte) 20); + DisplayModeManagerContainer64.aClass45_9033.clearUnpacked((byte) 89); + Component22.aClass45_1743.clearUnpacked((byte) -125); + Component65.aClass45_1627.clearUnpacked((byte) -117); + Component323.aClass45_5878.clearUnpacked((byte) 29); + Component132.aClass45_1815.clearUnpacked((byte) 80); + Component97.aClass45_1538.clearUnpacked((byte) 34); + VideoAdDisplay.aClass45_3183.clearUnpacked((byte) -116); + Component43.aClass45_4975.clearUnpacked((byte) 28); + RadixParser.aClass45_2306.clearUnpacked((byte) -115); + CacheNodeSub2.aClass45_10480.clearUnpacked((byte) 22); + SeekableFile.aClass45_1322.clearUnpacked((byte) 36); + BrowserUrlOpener.aClass45_8926.clearUnpacked((byte) -114); + NodeSub32.aClass45_6950.clearUnpacked((byte) 36); + Component387.aClass45_1897.clearUnpacked((byte) -114); + CommandHandler.aClass45_1434.clearUnpacked((byte) -117); + NodeSub11.aClass45_4770.clearUnpacked((byte) 78); + Component339.aClass45_3146.clearUnpacked((byte) 88); + WaterShaderSub8.aClass45_7362.clearUnpacked((byte) -109); + NodeList.aClass45_3323.clearUnpacked((byte) 112); + Component380.aClass45_4984.clearUnpacked((byte) 85); + Component257.aClass45_4796.clearUnpacked((byte) 93); + Component334.aClass45_2015.clearUnpacked((byte) -122); + Component45.aClass60_4346.clear(0); + ShaderCompilerSub2.aClass60_6517.clear(0); + NodeSub1Sub1.aClass60_8807.clear(0); + Component225.aClass60_463.clear(0); + } + } + + final boolean method2939(int i, int i_7_, int i_8_) { + anInt6807++; + if (i_7_ != 2) return true; + return this.anInt6809 <= i && this.anInt6819 >= i && (i_8_ >= this.anInt6812) && this.anInt6813 >= i_8_; + } + + final void method2940(int i, boolean bool, int[] is, int i_9_) { + anInt6817++; + is[0] = 0; + is[2] = i + -anInt6811 + this.anInt6812; + is[1] = i_9_ - anInt6820 - -this.anInt6809; + if (bool != true) this.anInt6812 = -26; + } + + static final MouseHandler createMouseHandler(Component component, int i, boolean bool) { + anInt6808++; + try { + Constructor constructor = (AwtMouseHandler.class.getDeclaredConstructor((aClass6823 != null ? aClass6823 : (aClass6823 = Component.class)), Boolean.TYPE)); + return ((MouseHandler) constructor.newInstance(new Object[]{component, new Boolean(bool)})); + } catch (Throwable throwable) { + if (i != 0) return null; + return new BasicMouseHandler(component, bool); + } + } + + static final void method2942(DisplayModeManagerContainer57 class46, byte i) { + anInt6805++; + if (class46.anInt765 == Component283.anInt4610) { + if (Component72.localPlayer.username == null) { + class46.anInt779 = 0; + class46.anInt753 = 0; + } else { + class46.anInt757 = 150; + class46.anInt675 = 0x7ff & (int) (256.0 * Math.sin((double) (OpenGlShader.clientCycle) / 40.0)); + class46.anInt770 = 5; + class46.anInt753 = StringDefinition.anInt9591; + class46.anInt779 = (Component349.method2418((Component72.localPlayer.username), (byte) -41)); + class46.anInt699 = Component72.localPlayer.anInt10268; + class46.anInt841 = 0; + class46.anInt730 = Component72.localPlayer.anInt10312; + class46.anInt795 = Component72.localPlayer.anInt10245; + DisplayModeManagerContainer167 class17 = (class46.anInt699 != -1 ? RunescapeInfo.aClass87_191.method835(class46.anInt699, 7) : null); + if (class17 != null) Component235.method2017(class46.anInt795, class17, 50); + } + } else { + int i_10_ = -14 % ((27 - i) / 59); + } + } + + NodeSub18(int i, int i_11_, int i_12_, int i_13_, int i_14_, int i_15_, int i_16_, int i_17_, int i_18_) { + this.anInt6809 = i_15_; + this.anInt6819 = i_17_; + anInt6820 = i_11_; + anInt6811 = i_12_; + anInt6815 = i; + this.anInt6812 = i_16_; + anInt6806 = i_13_; + anInt6810 = i_14_; + this.anInt6813 = i_18_; + } + +} diff --git a/client/nodes/NodeSub19.java b/client/nodes/NodeSub19.java new file mode 100644 index 000000000..ed037524e --- /dev/null +++ b/client/nodes/NodeSub19.java @@ -0,0 +1,15 @@ +/* NodeSub19 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +abstract class NodeSub19 +/** + * RENAMED from `Class348_Sub19` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + int anInt6824; + + public NodeSub19() { + /* empty */ + } +} diff --git a/client/nodes/NodeSub19Sub1.java b/client/nodes/NodeSub19Sub1.java new file mode 100644 index 000000000..da2b96b89 --- /dev/null +++ b/client/nodes/NodeSub19Sub1.java @@ -0,0 +1,42 @@ +/* NodeSub19Sub1 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NodeSub19Sub1 +/** + * RENAMED from `Class348_Sub19_Sub1` (JODE-obfuscated). + * Evidence: subclass of NodeSub19 (hierarchy) + */ extends NodeSub19 { + byte[] aByteArray8984; + int anInt8985; + int anInt8986; + boolean aBoolean8987; + int anInt8988; + + final NodeSub19Sub1 method2944(ImageTagText class163) { + this.aByteArray8984 = class163.method1272(this.aByteArray8984, 1); + this.anInt8988 = class163.method1270(this.anInt8988, (byte) -85); + if (this.anInt8986 == this.anInt8985) this.anInt8986 = this.anInt8985 = class163.method1275(-114, this.anInt8986); + else { + this.anInt8986 = class163.method1275(-83, this.anInt8986); + this.anInt8985 = class163.method1275(-80, this.anInt8985); + if (this.anInt8986 == this.anInt8985) this.anInt8986--; + } + return this; + } + + NodeSub19Sub1(int i, byte[] is, int i_0_, int i_1_) { + this.anInt8988 = i; + this.aByteArray8984 = is; + this.anInt8986 = i_0_; + this.anInt8985 = i_1_; + } + + NodeSub19Sub1(int i, byte[] is, int i_2_, int i_3_, boolean bool) { + this.anInt8988 = i; + this.aByteArray8984 = is; + this.anInt8986 = i_2_; + this.anInt8985 = i_3_; + this.aBoolean8987 = bool; + } +} diff --git a/client/nodes/NodeSub1Sub1.java b/client/nodes/NodeSub1Sub1.java new file mode 100644 index 000000000..3386ae895 --- /dev/null +++ b/client/nodes/NodeSub1Sub1.java @@ -0,0 +1,101 @@ +/* NodeSub1Sub1 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NodeSub1Sub1 +/** + * RENAMED from `Class348_Sub1_Sub1` (JODE-obfuscated). + * Evidence: subclass of NodeSub1 (hierarchy) + */ extends NodeSub1 { + static s[] aSArray8801; + static int anInt8802; + static int anInt8803; + static int anInt8804; + static boolean aBoolean8805 = false; + static int anInt8806; + static NodeCache aClass60_8807; + static int anInt8808 = 0; + static int anInt8809; + + NodeSub1Sub1(int i, int i_0_, int i_1_, int i_2_, int i_3_, float f) { + super(i, i_0_, i_1_, i_2_, i_3_, f); + } + + final void method2725(int i, byte i_4_, int i_5_, int i_6_) { + this.anInt6553 = i_5_; + this.anInt6548 = i_6_; + if (i_4_ == 70) { + anInt8809++; + this.anInt6562 = i; + } + } + + static final int method2726(int i, int i_7_, int i_8_) { + if (i_8_ > i_7_) { + int i_9_ = i_7_; + i_7_ = i_8_; + i_8_ = i_9_; + } + if (i != -21806) method2727((byte) -128, null, null); + anInt8804++; + int i_10_; + for (/**/; i_8_ != 0; i_8_ = i_10_) { + i_10_ = i_7_ % i_8_; + i_7_ = i_8_; + } + return i_7_; + } + + static final void method2727(byte i, Component251 class237_sub1, byte[][] is) { + try { + anInt8802++; + int[] is_11_ = {-1, 0, 0, 0, 0}; + int i_12_ = 67 % ((i - 14) / 47); + int i_13_ = is.length; + for (int i_14_ = 0; i_13_ > i_14_; i_14_++) { + byte[] is_15_ = is[i_14_]; + if (is_15_ != null) { + Buffer class348_sub49 = new Buffer(is_15_); + int i_16_ = (OggStreamReader.anIntArray9042[i_14_] >> 8); + int i_17_ = 0xff & OggStreamReader.anIntArray9042[i_14_]; + int i_18_ = -NodeBaseSub2.regionTileX + i_16_ * 64; + int i_19_ = -Component330.regionTileY + i_17_ * 64; + Component381.method3570(false); + class237_sub1.method1681(class348_sub49, i_18_, NodeSub45.aClass361Array7108, Component330.regionTileY, NodeBaseSub2.regionTileX, i_19_, (byte) 110); + class237_sub1.method1691(i_19_, NodeSub8.toolkit, class348_sub49, is_11_, i_18_, (byte) -126); + if (!class237_sub1.aBoolean3109 && i_16_ == GraphicsToolkit.anInt4581 / 8 && (i_17_ == DisplayModeManagerContainer363.anInt4095 / 8) && is_11_[0] != -1) { + Component293.aClass305_3304 = ComponentDownloader.aClass84_413.method823(is_11_[2], is_11_[3], is_11_[1], -66, (Component132.aClass25_1813), is_11_[0]); + Component316.anInt2481 = is_11_[4]; + } + } + } + for (int i_20_ = 0; i_20_ < i_13_; i_20_++) { + int i_21_ = ((OggStreamReader.anIntArray9042[i_20_] >> 8) * 64 - NodeBaseSub2.regionTileX); + int i_22_ = (-Component330.regionTileY + ((0xff & OggStreamReader.anIntArray9042[i_20_]) * 64)); + byte[] is_23_ = is[i_20_]; + if (is_23_ == null && DisplayModeManagerContainer363.anInt4095 < 800) { + Component381.method3570(false); + class237_sub1.method1688(i_22_, 64, 64, 125, i_21_); + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bg.E(" + i + ',' + (class237_sub1 != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ')')); + } + } + + public static void method2728(byte i) { + if (i != 9) aClass60_8807 = null; + aClass60_8807 = null; + aSArray8801 = null; + } + + final void method2716(int i, float f) { + this.aFloat6550 = f; + if (i != -1) aClass60_8807 = null; + anInt8803++; + } + + static { + aClass60_8807 = new NodeCache(8); + } +} diff --git a/client/nodes/NodeSub1Sub2.java b/client/nodes/NodeSub1Sub2.java new file mode 100644 index 000000000..624248171 --- /dev/null +++ b/client/nodes/NodeSub1Sub2.java @@ -0,0 +1,66 @@ +/* NodeSub1Sub2 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NodeSub1Sub2 +/** + * RENAMED from `Class348_Sub1_Sub2` (JODE-obfuscated). + * Evidence: subclass of NodeSub1 (hierarchy) + */ extends NodeSub1 { + static NodeList aClass262_8810 = new NodeList(); + static int anInt8811; + static int anInt8812; + static int anInt8813; + static int anInt8814; + static Component17 aClass308_8815 = new Component17(16); + static byte[][] aByteArrayArray8816; + static Component183 aClass114_8817 = new Component183(83, 2); + + final void method2725(int i, byte i_0_, int i_1_, int i_2_) { + this.anInt6553 = i_1_; + this.anInt6548 = i_2_; + anInt8812++; + if (i_0_ == 70) this.anInt6562 = i; + } + + static final int method2729(int i, int i_3_) { + anInt8813++; + if (i_3_ != 16) return 23; + return 0xff & i; + } + + /** 64-byte Whirlpool digest of {@code is[i_4_ .. i_4_+i_5_)}. */ + static final byte[] whirlpoolDigest(int i, int i_4_, byte[] is, int i_5_) { + if (i != 4567) whirlpoolDigest(-48, 112, null, -45); + anInt8811++; + byte[] is_6_; + if (i_4_ > 0) { + is_6_ = new byte[i_5_]; + for (int i_7_ = 0; i_5_ > i_7_; i_7_++) + is_6_[i_7_] = is[i_4_ + i_7_]; + } else is_6_ = is; + LogicError class85 = new LogicError(); + class85.reset(i + -4682); + class85.update(i_5_ * 8, is_6_, -69); + byte[] is_8_ = new byte[64]; + class85.digest(true, 0, is_8_); + return is_8_; + } + + NodeSub1Sub2(int i, int i_9_, int i_10_, int i_11_, int i_12_, float f) { + super(i, i_9_, i_10_, i_11_, i_12_, f); + } + + public static void method2731(byte i) { + aByteArrayArray8816 = null; + if (i != -23) whirlpoolDigest(14, 86, null, -106); + aClass262_8810 = null; + aClass308_8815 = null; + aClass114_8817 = null; + } + + final void method2716(int i, float f) { + this.aFloat6550 = f; + if (i == -1) anInt8814++; + } +} diff --git a/client/nodes/NodeSub1Sub3.java b/client/nodes/NodeSub1Sub3.java new file mode 100644 index 000000000..403e54001 --- /dev/null +++ b/client/nodes/NodeSub1Sub3.java @@ -0,0 +1,39 @@ +/* NodeSub1Sub3 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NodeSub1Sub3 +/** + * RENAMED from `Class348_Sub1_Sub3` (JODE-obfuscated). + * Evidence: subclass of NodeSub1 (hierarchy) + */ extends NodeSub1 { + static int anInt8818; + static int anInt8819; + static int anInt8820; + static int anInt8821; + + final void method2725(int i, byte i_0_, int i_1_, int i_2_) { + if (i_0_ == 70) { + this.anInt6553 = i_1_; + this.anInt6562 = i; + anInt8819++; + this.anInt6548 = i_2_; + } + } + + final void method2716(int i, float f) { + anInt8821++; + this.aFloat6550 = f; + if (i != -1) method2732(-79, -120, true, 36, null, 19); + } + + NodeSub1Sub3(int i, int i_3_, int i_4_, int i_5_, int i_6_, float f) { + super(i, i_3_, i_4_, i_5_, i_6_, f); + } + + static final void method2732(int i, int i_7_, boolean bool, int i_8_, CacheStore class45, int i_9_) { + anInt8820++; + if (i_8_ < 90) anInt8818 = -21; + OpenGlShader.method3555(class45, -89, bool, 0L, i_9_, i, i_7_); + } +} diff --git a/client/nodes/NodeSub2.java b/client/nodes/NodeSub2.java new file mode 100644 index 000000000..7281580ec --- /dev/null +++ b/client/nodes/NodeSub2.java @@ -0,0 +1,306 @@ +/* NodeSub2 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NodeSub2 +/** + * RENAMED from `Class348_Sub2` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + byte[] aByteArray6564; + LruCache aClass356_6565; + + final void method2733() { + if (this.aClass356_6565 == null) { + this.aClass356_6565 = new LruCache(16); + int[] is = new int[16]; + int[] is_0_ = new int[16]; + is[9] = is_0_[9] = 128; + Component198 class204 = new Component198(this.aByteArray6564); + int i = class204.method1483(); + for (int i_1_ = 0; i_1_ < i; i_1_++) { + class204.method1492(i_1_); + class204.method1485(i_1_); + class204.method1486(i_1_); + } + while_123_: + for (; ; ) { + int i_2_ = class204.method1490(); + int i_3_ = class204.anIntArray2681[i_2_]; + while (class204.anIntArray2681[i_2_] == i_3_) { + class204.method1492(i_2_); + int i_4_ = class204.method1494(i_2_); + if (i_4_ == 1) { + class204.method1495(); + class204.method1486(i_2_); + if (!class204.method1480()) break; + break while_123_; + } + int i_5_ = i_4_ & 0xf0; + if (i_5_ == 176) { + int i_6_ = i_4_ & 0xf; + int i_7_ = i_4_ >> 8 & 0x7f; + int i_8_ = i_4_ >> 16 & 0x7f; + if (i_7_ == 0) is[i_6_] = (is[i_6_] & ~0x1fc000) + (i_8_ << 14); + if (i_7_ == 32) is[i_6_] = (is[i_6_] & ~0x3f80) + (i_8_ << 7); + } + if (i_5_ == 192) { + int i_9_ = i_4_ & 0xf; + int i_10_ = i_4_ >> 8 & 0x7f; + is_0_[i_9_] = is[i_9_] + i_10_; + } + if (i_5_ == 144) { + int i_11_ = i_4_ & 0xf; + int i_12_ = i_4_ >> 8 & 0x7f; + int i_13_ = i_4_ >> 16 & 0x7f; + if (i_13_ > 0) { + int i_14_ = is_0_[i_11_]; + NodeSub8 class348_sub8 = ((NodeSub8) this.aClass356_6565.get(i_14_, -6008)); + if (class348_sub8 == null) { + class348_sub8 = new NodeSub8(new byte[128]); + this.aClass356_6565.put((byte) 21, i_14_, class348_sub8); + } + class348_sub8.aByteArray6657[i_12_] = (byte) 1; + } + } + class204.method1485(i_2_); + class204.method1486(i_2_); + } + } + } + } + + static final NodeSub2 method2734(CacheStore class45, int i, int i_15_) { + byte[] is = class45.getFile(-1860, i, i_15_); + if (is == null) return null; + return new NodeSub2(new Buffer(is)); + } + + final void method2735() { + this.aClass356_6565 = null; + } + + private NodeSub2(Buffer class348_sub49) { + class348_sub49.offset = class348_sub49.payload.length - 3; + int i = class348_sub49.readUnsignedByte(255); + int i_16_ = class348_sub49.readUnsignedShort(842397944); + int i_17_ = 14 + i * 10; + class348_sub49.offset = 0; + int i_18_ = 0; + int i_19_ = 0; + int i_20_ = 0; + int i_21_ = 0; + int i_22_ = 0; + int i_23_ = 0; + int i_24_ = 0; + int i_25_ = 0; + while_121_: + for (int i_26_ = 0; i_26_ < i; i_26_++) { + int i_27_ = -1; + for (; ; ) { + int i_28_ = class348_sub49.readUnsignedByte(255); + if (i_28_ != i_27_) i_17_++; + i_27_ = i_28_ & 0xf; + if (i_28_ == 7) continue while_121_; + if (i_28_ == 23) i_18_++; + else if (i_27_ == 0) i_20_++; + else if (i_27_ == 1) i_21_++; + else if (i_27_ == 2) i_19_++; + else if (i_27_ == 3) i_22_++; + else if (i_27_ == 4) i_23_++; + else if (i_27_ == 5) i_24_++; + else { + if (i_27_ != 6) break; + i_25_++; + } + } + throw new RuntimeException(); + } + i_17_ += 5 * i_18_; + i_17_ += 2 * (i_20_ + i_21_ + i_19_ + i_22_ + i_24_); + i_17_ += i_23_ + i_25_; + int i_29_ = class348_sub49.offset; + int i_30_ = (i + i_18_ + i_19_ + i_20_ + i_21_ + i_22_ + i_23_ + i_24_ + i_25_); + for (int i_31_ = 0; i_31_ < i_30_; i_31_++) + class348_sub49.readVarInt((byte) 111); + i_17_ += class348_sub49.offset - i_29_; + int i_32_ = class348_sub49.offset; + int i_33_ = 0; + int i_34_ = 0; + int i_35_ = 0; + int i_36_ = 0; + int i_37_ = 0; + int i_38_ = 0; + int i_39_ = 0; + int i_40_ = 0; + int i_41_ = 0; + int i_42_ = 0; + int i_43_ = 0; + int i_44_ = 0; + int i_45_ = 0; + for (int i_46_ = 0; i_46_ < i_19_; i_46_++) { + i_45_ = i_45_ + class348_sub49.readUnsignedByte(255) & 0x7f; + if (i_45_ == 0 || i_45_ == 32) i_25_++; + else if (i_45_ == 1) i_33_++; + else if (i_45_ == 33) i_34_++; + else if (i_45_ == 7) i_35_++; + else if (i_45_ == 39) i_36_++; + else if (i_45_ == 10) i_37_++; + else if (i_45_ == 42) i_38_++; + else if (i_45_ == 99) i_39_++; + else if (i_45_ == 98) i_40_++; + else if (i_45_ == 101) i_41_++; + else if (i_45_ == 100) i_42_++; + else if (i_45_ == 64 || i_45_ == 65 || i_45_ == 120 || i_45_ == 121 || i_45_ == 123) i_43_++; + else i_44_++; + } + int i_47_ = 0; + int i_48_ = class348_sub49.offset; + class348_sub49.offset += i_43_; + int i_49_ = class348_sub49.offset; + class348_sub49.offset += i_24_; + int i_50_ = class348_sub49.offset; + class348_sub49.offset += i_23_; + int i_51_ = class348_sub49.offset; + class348_sub49.offset += i_22_; + int i_52_ = class348_sub49.offset; + class348_sub49.offset += i_33_; + int i_53_ = class348_sub49.offset; + class348_sub49.offset += i_35_; + int i_54_ = class348_sub49.offset; + class348_sub49.offset += i_37_; + int i_55_ = class348_sub49.offset; + class348_sub49.offset += i_20_ + i_21_ + i_24_; + int i_56_ = class348_sub49.offset; + class348_sub49.offset += i_20_; + int i_57_ = class348_sub49.offset; + class348_sub49.offset += i_44_; + int i_58_ = class348_sub49.offset; + class348_sub49.offset += i_21_; + int i_59_ = class348_sub49.offset; + class348_sub49.offset += i_34_; + int i_60_ = class348_sub49.offset; + class348_sub49.offset += i_36_; + int i_61_ = class348_sub49.offset; + class348_sub49.offset += i_38_; + int i_62_ = class348_sub49.offset; + class348_sub49.offset += i_25_; + int i_63_ = class348_sub49.offset; + class348_sub49.offset += i_22_; + int i_64_ = class348_sub49.offset; + class348_sub49.offset += i_39_; + int i_65_ = class348_sub49.offset; + class348_sub49.offset += i_40_; + int i_66_ = class348_sub49.offset; + class348_sub49.offset += i_41_; + int i_67_ = class348_sub49.offset; + class348_sub49.offset += i_42_; + int i_68_ = class348_sub49.offset; + class348_sub49.offset += i_18_ * 3; + this.aByteArray6564 = new byte[i_17_]; + Buffer class348_sub49_69_ = new Buffer(this.aByteArray6564); + class348_sub49_69_.writeInt((byte) 124, 1297377380); + class348_sub49_69_.writeInt((byte) 89, 6); + class348_sub49_69_.writeShort((byte) 107, i > 1 ? 1 : 0); + class348_sub49_69_.writeShort((byte) 107, i); + class348_sub49_69_.writeShort((byte) 107, i_16_); + class348_sub49.offset = i_29_; + int i_70_ = 0; + int i_71_ = 0; + int i_72_ = 0; + int i_73_ = 0; + int i_74_ = 0; + int i_75_ = 0; + int i_76_ = 0; + int[] is = new int[128]; + i_45_ = 0; + for (int i_77_ = 0; i_77_ < i; i_77_++) { + class348_sub49_69_.writeInt((byte) 86, 1297379947); + class348_sub49_69_.offset += 4; + int i_78_ = class348_sub49_69_.offset; + int i_79_ = -1; + while_122_: + do { + for (; ; ) { + int i_80_ = class348_sub49.readVarInt((byte) 73); + class348_sub49_69_.writeVarInt(i_80_, -21); + int i_81_ = ((class348_sub49.payload[i_47_++]) & 0xff); + boolean bool = i_81_ != i_79_; + i_79_ = i_81_ & 0xf; + if (i_81_ == 7) { + if (bool) class348_sub49_69_.writeByte(false, 255); + class348_sub49_69_.writeByte(false, 47); + class348_sub49_69_.writeByte(false, 0); + break while_122_; + } + if (i_81_ == 23) { + if (bool) class348_sub49_69_.writeByte(false, 255); + class348_sub49_69_.writeByte(false, 81); + class348_sub49_69_.writeByte(false, 3); + class348_sub49_69_.writeByte(false, (class348_sub49.payload[i_68_++])); + class348_sub49_69_.writeByte(false, (class348_sub49.payload[i_68_++])); + class348_sub49_69_.writeByte(false, (class348_sub49.payload[i_68_++])); + } else { + i_70_ ^= i_81_ >> 4; + if (i_79_ == 0) { + if (bool) class348_sub49_69_.writeByte(false, 144 + i_70_); + i_71_ += (class348_sub49.payload[i_55_++]); + i_72_ += (class348_sub49.payload[i_56_++]); + class348_sub49_69_.writeByte(false, i_71_ & 0x7f); + class348_sub49_69_.writeByte(false, i_72_ & 0x7f); + } else if (i_79_ == 1) { + if (bool) class348_sub49_69_.writeByte(false, 128 + i_70_); + i_71_ += (class348_sub49.payload[i_55_++]); + i_73_ += (class348_sub49.payload[i_58_++]); + class348_sub49_69_.writeByte(false, i_71_ & 0x7f); + class348_sub49_69_.writeByte(false, i_73_ & 0x7f); + } else if (i_79_ == 2) { + if (bool) class348_sub49_69_.writeByte(false, 176 + i_70_); + i_45_ = i_45_ + (class348_sub49.payload[i_32_++]) & 0x7f; + class348_sub49_69_.writeByte(false, i_45_); + int i_82_; + if (i_45_ == 0 || i_45_ == 32) i_82_ = (class348_sub49.payload[i_62_++]); + else if (i_45_ == 1) i_82_ = (class348_sub49.payload[i_52_++]); + else if (i_45_ == 33) i_82_ = (class348_sub49.payload[i_59_++]); + else if (i_45_ == 7) i_82_ = (class348_sub49.payload[i_53_++]); + else if (i_45_ == 39) i_82_ = (class348_sub49.payload[i_60_++]); + else if (i_45_ == 10) i_82_ = (class348_sub49.payload[i_54_++]); + else if (i_45_ == 42) i_82_ = (class348_sub49.payload[i_61_++]); + else if (i_45_ == 99) i_82_ = (class348_sub49.payload[i_64_++]); + else if (i_45_ == 98) i_82_ = (class348_sub49.payload[i_65_++]); + else if (i_45_ == 101) i_82_ = (class348_sub49.payload[i_66_++]); + else if (i_45_ == 100) i_82_ = (class348_sub49.payload[i_67_++]); + else if (i_45_ == 64 || i_45_ == 65 || i_45_ == 120 || i_45_ == 121 || i_45_ == 123) i_82_ = (class348_sub49.payload[i_48_++]); + else i_82_ = (class348_sub49.payload[i_57_++]); + i_82_ += is[i_45_]; + is[i_45_] = i_82_; + class348_sub49_69_.writeByte(false, i_82_ & 0x7f); + } else if (i_79_ == 3) { + if (bool) class348_sub49_69_.writeByte(false, 224 + i_70_); + i_74_ += (class348_sub49.payload[i_63_++]); + i_74_ += (class348_sub49.payload[i_51_++]) << 7; + class348_sub49_69_.writeByte(false, i_74_ & 0x7f); + class348_sub49_69_.writeByte(false, i_74_ >> 7 & 0x7f); + } else if (i_79_ == 4) { + if (bool) class348_sub49_69_.writeByte(false, 208 + i_70_); + i_75_ += (class348_sub49.payload[i_50_++]); + class348_sub49_69_.writeByte(false, i_75_ & 0x7f); + } else if (i_79_ == 5) { + if (bool) class348_sub49_69_.writeByte(false, 160 + i_70_); + i_71_ += (class348_sub49.payload[i_55_++]); + i_76_ += (class348_sub49.payload[i_49_++]); + class348_sub49_69_.writeByte(false, i_71_ & 0x7f); + class348_sub49_69_.writeByte(false, i_76_ & 0x7f); + } else { + if (i_79_ != 6) break; + if (bool) class348_sub49_69_.writeByte(false, 192 + i_70_); + class348_sub49_69_.writeByte(false, (class348_sub49.payload[i_62_++])); + } + } + } + throw new RuntimeException(); + } while (false); + class348_sub49_69_.writeLengthInt(-1, (class348_sub49_69_.offset - i_78_)); + } + } +} diff --git a/client/nodes/NodeSub20.java b/client/nodes/NodeSub20.java new file mode 100644 index 000000000..16e267c68 --- /dev/null +++ b/client/nodes/NodeSub20.java @@ -0,0 +1,216 @@ +/* NodeSub20 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaclib.memory.Stream; +import jaclib.memory.heap.NativeHeapBuffer; +import jaggl.OpenGL; + +final class NodeSub20 +/** + * RENAMED from `Class348_Sub20` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + int anInt6825; + int anInt6826; + static int anInt6827; + static int anInt6828; + static int anInt6829; + static int[] anIntArray6830 = {16, 32, 64, 128}; + private GlToolkitSub2 aHa_Sub2_6831; + float aFloat6832; + int anInt6833; + static int anInt6834; + static float aFloat6835; + static int anInt6836; + static int anInt6837; + static int anInt6838; + private final BufferCacheSub2 aS_Sub2_6839; + private NativeHeapBuffer aNativeHeapBuffer6840; + int anInt6841; + private final int[] anIntArray6842; + private final Component261 aClass119_Sub2_6843; + private Component132 aClass123_6844; + static int anInt6845; + private Stream aStream6846; + + final void method2945(int i, byte i_0_, int i_1_, int i_2_) { + anInt6845++; + if (i_0_ != 18) this.anInt6825 = 85; + anIntArray6842[i_1_ * aS_Sub2_6839.anInt4587 + i] = Component224.bitwiseOr((anIntArray6842[i_1_ * aS_Sub2_6839.anInt4587 + i]), 1 << i_2_); + } + + final void method2946(int i, int i_3_) { + aNativeHeapBuffer6840 = aHa_Sub2_6831.aNativeHeap7730.a(4 * i_3_, true); + anInt6834++; + if (i != 2147483647) aHa_Sub2_6831 = null; + aStream6846 = new Stream(aNativeHeapBuffer6840); + } + + static final void method2947(boolean bool, int i, int i_4_, int i_5_, int i_6_, int i_7_) { + anInt6837++; + if (bool != true) method2950(121); + if (Component192.aClass348_Sub51_3959.aClass239_Sub26_7272.method1838(-32350) != 0 && i_5_ != 0 && Component335.anInt2021 < 50 && i_4_ != -1) GlFramebufferTexture.aClass10Array8531[Component335.anInt2021++] = new RunescapeInfo((byte) 1, i_4_, i_5_, i_6_, i, 0, i_7_, null); + } + + final void method2948(int i, int i_8_, int[] is) { + anInt6829++; + int i_9_ = 0; + Component182 class348_sub49_sub1 = aHa_Sub2_6831.aClass348_Sub49_Sub1_7798; + class348_sub49_sub1.offset = 0; + if (aHa_Sub2_6831.aBoolean7775) { + for (int i_10_ = 0; i_8_ > i_10_; i_10_++) { + int i_11_ = is[i_10_]; + short[] is_12_ = aS_Sub2_6839.aShortArrayArray8267[i_11_]; + int i_13_ = anIntArray6842[i_11_]; + if (i_13_ != 0 && is_12_ != null) { + int i_14_ = 0; + int i_15_ = 0; + while (is_12_.length > i_15_) { + if ((i_13_ & 1 << i_14_++) == 0) i_15_ += 3; + else { + class348_sub49_sub1.writeShort((byte) 107, (is_12_[i_15_++] & 0xffff)); + i_9_++; + class348_sub49_sub1.writeShort((byte) 107, (is_12_[i_15_++] & 0xffff)); + i_9_++; + i_9_++; + class348_sub49_sub1.writeShort((byte) 107, (0xffff & (is_12_[i_15_++]))); + } + } + } + } + } else { + for (int i_16_ = 0; i_8_ > i_16_; i_16_++) { + int i_17_ = is[i_16_]; + int i_18_ = anIntArray6842[i_17_]; + short[] is_19_ = aS_Sub2_6839.aShortArrayArray8267[i_17_]; + if (i_18_ != 0 && is_19_ != null) { + int i_20_ = 0; + int i_21_ = 0; + while (i_21_ < is_19_.length) { + if ((i_18_ & 1 << i_20_++) == 0) i_21_ += 3; + else { + i_9_++; + class348_sub49_sub1.writeShortLE(97, 0xffff & is_19_[i_21_++]); + class348_sub49_sub1.writeShortLE(125, 0xffff & is_19_[i_21_++]); + i_9_++; + i_9_++; + class348_sub49_sub1.writeShortLE(i ^ 0x142f, (is_19_[i_21_++] & 0xffff)); + } + } + } + } + } + if (i_9_ > 0) { + aClass119_Sub2_6843.method35(class348_sub49_sub1.payload, 5123, 64, class348_sub49_sub1.offset); + aHa_Sub2_6831.method3794(aS_Sub2_6839.aClass123_8276, aClass123_6844, -26411, aS_Sub2_6839.aClass123_8277, aS_Sub2_6839.aClass123_8275); + aHa_Sub2_6831.method3746(((0x7 & aS_Sub2_6839.anInt8235) != 0), this.anInt6841, ((aS_Sub2_6839.anInt8235 & 0x8) != 0), 112); + if (aHa_Sub2_6831.aBoolean7846) aHa_Sub2_6831.EA(2147483647, this.anInt6825, this.anInt6833, this.anInt6826); + OpenGL.glMatrixMode(5890); + OpenGL.glPushMatrix(); + OpenGL.glScalef(1.0F / this.aFloat6832, 1.0F / this.aFloat6832, 1.0F); + OpenGL.glMatrixMode(5888); + aHa_Sub2_6831.method3794(aS_Sub2_6839.aClass123_8276, aClass123_6844, -26411, aS_Sub2_6839.aClass123_8277, aS_Sub2_6839.aClass123_8275); + aHa_Sub2_6831.method3759(i_9_, -128, 4, aClass119_Sub2_6843, 0); + OpenGL.glMatrixMode(5890); + OpenGL.glPopMatrix(); + OpenGL.glMatrixMode(5888); + } + if (i != 5123) this.anInt6826 = 66; + } + + final void method2949(byte i, int i_22_, int i_23_, int i_24_, float f) { + if (i == 97) { + if (this.anInt6841 != -1) { + Component319 class12 = aHa_Sub2_6831.aD4579.method3(this.anInt6841, -6662); + int i_25_ = 0xff & class12.aByte201; + if (i_25_ != 0 && class12.aByte213 != 4) { + int i_26_; + if (i_23_ >= 0) { + if (i_23_ > 127) i_26_ = 16777215; + else i_26_ = 131586 * i_23_; + } else i_26_ = 0; + if (i_25_ != 256) { + int i_27_ = i_25_; + int i_28_ = -i_25_ + 256; + i_24_ = ((((i_28_ * (i_24_ & 0xff00ff) + (i_26_ & 0xff00ff) * i_27_) & ~0xff00ff) - -(0xff0000 & (i_28_ * (0xff00 & i_24_) + i_27_ * (0xff00 & i_26_)))) >> 8); + } else i_24_ = i_26_; + } + int i_29_ = 0xff & class12.aByte216; + if (i_29_ != 0) { + i_29_ += 256; + int i_30_ = i_29_ * ((0xff0000 & i_24_) >> 16); + if (i_30_ > 65535) i_30_ = 65535; + int i_31_ = ((i_24_ & 0xff00) >> 8) * i_29_; + if (i_31_ > 65535) i_31_ = 65535; + int i_32_ = (0xff & i_24_) * i_29_; + if (i_32_ > 65535) i_32_ = 65535; + i_24_ = (0xff00 & i_31_) + (((~0x5ff00ff & i_30_) << 8) - -(i_32_ >> 8)); + } + } + anInt6838++; + aStream6846.e(i_22_ * 4); + if (f != 1.0F) { + int i_33_ = (i_24_ & 0xff1a66) >> 16; + int i_34_ = (0xff1d & i_24_) >> 8; + int i_35_ = i_24_ & 0xff; + i_33_ *= f; + if (i_33_ < 0) i_33_ = 0; + else if (i_33_ > 255) i_33_ = 255; + i_34_ *= f; + i_35_ *= f; + if (i_34_ < 0) i_34_ = 0; + else if (i_34_ > 255) i_34_ = 255; + if (i_35_ < 0) i_35_ = 0; + else if (i_35_ > 255) i_35_ = 255; + i_24_ = i_34_ << 8 | i_33_ << 16 | i_35_; + } + aStream6846.f((byte) (i_24_ >> 16)); + aStream6846.f((byte) (i_24_ >> 8)); + aStream6846.f((byte) i_24_); + } + } + + public static void method2950(int i) { + if (i <= 37) aFloat6835 = 2.1337976F; + anIntArray6830 = null; + } + + final void method2951(int i, int i_36_) { + aStream6846.e(i_36_ * 4 + i); + anInt6827++; + aStream6846.f(-1); + } + + final void method2952(int i, int i_37_) { + if (i == 17795) { + aStream6846.a(); + anInt6828++; + Interface2 interface2 = aHa_Sub2_6831.method3739(8448, aNativeHeapBuffer6840, false, 4, i_37_ * 4); + aClass123_6844 = new Component132(interface2, 5121, 4, 0); + aStream6846 = null; + aNativeHeapBuffer6840 = null; + } + } + + static final void method2953(byte i) { + if (i > -102) anIntArray6830 = null; + anInt6836++; + if (Component49.clientState == 3) Buffer.setClientState(2, 4); + else if (Component49.clientState != 7) { + if (Component49.clientState == 10) Buffer.setClientState(2, 11); + } else Buffer.setClientState(2, 8); + } + + NodeSub20(BufferCacheSub2 var_s_Sub2, int i, int i_38_, int i_39_, int i_40_, int i_41_) { + aS_Sub2_6839 = var_s_Sub2; + anIntArray6842 = new int[(aS_Sub2_6839.anInt4587 * aS_Sub2_6839.anInt4590)]; + this.anInt6825 = i_39_; + this.aFloat6832 = (float) i_38_; + aHa_Sub2_6831 = aS_Sub2_6839.aHa_Sub2_8272; + this.anInt6841 = i; + this.anInt6833 = i_40_; + this.anInt6826 = i_41_; + aClass119_Sub2_6843 = new Component261(aHa_Sub2_6831, 5123, null, 1); + } +} diff --git a/client/nodes/NodeSub21.java b/client/nodes/NodeSub21.java new file mode 100644 index 000000000..2df8f8763 --- /dev/null +++ b/client/nodes/NodeSub21.java @@ -0,0 +1,87 @@ +/* NodeSub21 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NodeSub21 +/** + * RENAMED from `Class348_Sub21` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + int anInt6847; + boolean aBoolean6848 = false; + static int anInt6849; + int anInt6850; + int anInt6851; + int anInt6852; + int anInt6853; + static String aString6854 = null; + int anInt6855; + static int anInt6856; + + static final void method2954(byte i) { + anInt6856++; + if (NodeBaseSub1.anInt9775 != -1 && Component102.anInt4803 != -1) { + int i_0_ = ((Component208.anInt1780 * (Component374.anInt4133 + -Component195.anInt5019) >> 16) + Component195.anInt5019); + Component208.anInt1780 += i_0_; + if (Component208.anInt1780 < 65535) { + DisplayModeManagerContainer322.aBoolean4284 = false; + Component361.aBoolean368 = false; + } else { + DisplayModeManagerContainer322.aBoolean4284 = !Component361.aBoolean368; + Component208.anInt1780 = 65535; + Component361.aBoolean368 = true; + } + float f = (float) Component208.anInt1780 / 65535.0F; + float[] fs = new float[3]; + int i_1_ = 2 * ItemDefinition.anInt2798; + for (int i_2_ = 0; i_2_ < 3; i_2_++) { + int i_3_ = 3 * (PlayerState.anIntArrayArrayArray7079[NodeBaseSub1.anInt9775][i_1_][i_2_]); + int i_4_ = ((PlayerState.anIntArrayArrayArray7079[NodeBaseSub1.anInt9775][1 + i_1_][i_2_]) * 3); + int i_5_ = 3 * ((PlayerState.anIntArrayArrayArray7079[NodeBaseSub1.anInt9775][2 + i_1_][i_2_]) + ((PlayerState.anIntArrayArrayArray7079[NodeBaseSub1.anInt9775][2 + i_1_][i_2_]) + -(PlayerState.anIntArrayArrayArray7079[NodeBaseSub1.anInt9775][i_1_ - -3][i_2_]))); + int i_6_ = (PlayerState.anIntArrayArrayArray7079[NodeBaseSub1.anInt9775][i_1_][i_2_]); + int i_7_ = i_4_ - i_3_; + int i_8_ = -(2 * i_4_) + i_3_ - -i_5_; + int i_9_ = -i_6_ + ((PlayerState.anIntArrayArrayArray7079[NodeBaseSub1.anInt9775][i_1_ - -2][i_2_]) + i_4_) + -i_5_; + fs[i_2_] = (float) i_6_ + f * ((float) i_7_ + f * (f * (float) i_9_ + (float) i_8_)); + } + WaterSurfaceShader.anInt6246 = (int) fs[0] - 512 * NodeBaseSub2.regionTileX; + DisplayModeManagerContainer50.anInt3855 = -1 * (int) fs[1]; + Component317.anInt8685 = (int) fs[2] + -(Component330.regionTileY * 512); + float[] fs_10_ = new float[3]; + int i_11_ = 2 * Component235.anInt3373; + int i_12_ = -88 % ((-64 - i) / 57); + for (int i_13_ = 0; i_13_ < 3; i_13_++) { + int i_14_ = 3 * (PlayerState.anIntArrayArrayArray7079[Component102.anInt4803][i_11_][i_13_]); + int i_15_ = 3 * (PlayerState.anIntArrayArrayArray7079[Component102.anInt4803][i_11_ + 1][i_13_]); + int i_16_ = (((PlayerState.anIntArrayArrayArray7079[Component102.anInt4803][2 + i_11_][i_13_]) + (-(PlayerState.anIntArrayArrayArray7079[Component102.anInt4803][3 + i_11_][i_13_]) + (PlayerState.anIntArrayArrayArray7079[Component102.anInt4803][i_11_ - -2][i_13_]))) * 3); + int i_17_ = (PlayerState.anIntArrayArrayArray7079[Component102.anInt4803][i_11_][i_13_]); + int i_18_ = -i_14_ + i_15_; + int i_19_ = -(i_15_ * 2) + i_14_ + i_16_; + int i_20_ = (-i_16_ + i_15_ + (-i_17_ + (PlayerState.anIntArrayArrayArray7079[Component102.anInt4803][2 + i_11_][i_13_]))); + fs_10_[i_13_] = (f * ((float) i_18_ + f * ((float) i_20_ * f + (float) i_19_)) + (float) i_17_); + } + float f_21_ = -fs[0] + fs_10_[0]; + float f_22_ = -1.0F * (-fs[1] + fs_10_[1]); + float f_23_ = -fs[2] + fs_10_[2]; + double d = Math.sqrt(f_21_ * f_21_ + f_23_ * f_23_); + HashNodeSub19.anInt9701 = 0x3fff & (int) (2607.5945876176133 * Math.atan2(f_22_, d)); + Component298.anInt4638 = 0x3fff & (int) (2607.5945876176133 * -Math.atan2(f_21_, f_23_)); + Component103.anInt4186 = ((PlayerState.anIntArrayArrayArray7079[NodeBaseSub1.anInt9775][i_1_][3]) + (((-(PlayerState.anIntArrayArrayArray7079[NodeBaseSub1.anInt9775][i_1_][3]) + (PlayerState.anIntArrayArrayArray7079[NodeBaseSub1.anInt9775][2 + i_1_][3])) * Component208.anInt1780) >> 16)); + } + } + + /** {@code i ^ i_24_}. */ + static int bitwiseXor(int i, int i_24_) { + return i ^ i_24_; + } + + public static void method2956(byte i) { + aString6854 = null; + if (i != 53) method2954((byte) -100); + } + + NodeSub21(int i) { + this.anInt6847 = -1; + this.anInt6847 = i; + } +} diff --git a/client/nodes/NodeSub22.java b/client/nodes/NodeSub22.java new file mode 100644 index 000000000..2e040c3a8 --- /dev/null +++ b/client/nodes/NodeSub22.java @@ -0,0 +1,65 @@ +/* NodeSub22 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.awt.*; + +final class NodeSub22 +/** + * RENAMED from `Class348_Sub22` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + static int anInt6857; + static int anInt6858; + Npc npc; + static int anInt6860; + static int anInt6861; + static int anInt6862; + + static final DisplayModeManagerContainer57 method2957(int i, byte i_0_, int i_1_) { + anInt6858++; + DisplayModeManagerContainer57 class46 = BitmapFont.method2570(i_0_ + 1512932774, i_1_); + if (i_0_ != -54) method2958(-23, null); + if (i == -1) return class46; + if (class46 == null || class46.aClass46Array798 == null || (i >= class46.aClass46Array798.length)) return null; + return class46.aClass46Array798[i]; + } + + static final int method2958(int i, CacheStore class45) { + anInt6861++; + int i_2_ = 0; + if (class45.isSingletonFileReady(false, anInt6862)) i_2_++; + if (class45.isSingletonFileReady(false, KeyStoreLoader.anInt1639)) i_2_++; + if (class45.isSingletonFileReady(false, BasicMouseHandler.anInt7429)) i_2_++; + if (class45.isSingletonFileReady(false, GraphicsToolkit.anInt4562)) i_2_++; + if (class45.isSingletonFileReady(false, CommandHandler.anInt1435)) i_2_++; + if (class45.isSingletonFileReady(false, Component95.anInt1756)) i_2_++; + if (class45.isSingletonFileReady(false, ReferenceTable.anInt3739)) i_2_++; + if (class45.isSingletonFileReady(false, Component328.anInt1481)) i_2_++; + if (class45.isSingletonFileReady(false, Component98.anInt5948)) i_2_++; + if (class45.isSingletonFileReady(false, Component22.anInt1742)) i_2_++; + if (class45.isSingletonFileReady(false, NamedInteger.anInt4469)) i_2_++; + if (i != 22388) return 8; + if (class45.isSingletonFileReady(false, DefinitionSub38.anInt9473)) i_2_++; + if (class45.isSingletonFileReady(false, Component38.anInt2510)) i_2_++; + if (class45.isSingletonFileReady(false, RSACipher.anInt4895)) i_2_++; + if (class45.isSingletonFileReady(false, Component134.anInt5814)) i_2_++; + if (class45.isSingletonFileReady(false, DisplayModeManagerContainer89.anInt8370)) i_2_++; + return i_2_; + } + + static final void method2959(int i) { + Component280.aClass346_2449.reset(14174); + anInt6860++; + AbstractGlTextureSub4.mouseHandler.destroy(0); + NpcComposition.aClient1367.recreateGameCanvas((byte) -49); + DisplayModeManagerContainer50.gameCanvas.setBackground(Color.black); + Component244.anInt4179 = i; + Component280.aClass346_2449 = NodeSub3.method2743(DisplayModeManagerContainer50.gameCanvas, (byte) 84); + AbstractGlTextureSub4.mouseHandler = NodeSub18.createMouseHandler(DisplayModeManagerContainer50.gameCanvas, 0, true); + } + + NodeSub22(Npc npc) { + this.npc = npc; + } +} diff --git a/client/nodes/NodeSub25.java b/client/nodes/NodeSub25.java new file mode 100644 index 000000000..4d3fd5636 --- /dev/null +++ b/client/nodes/NodeSub25.java @@ -0,0 +1,121 @@ +/* NodeSub25 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NodeSub25 +/** + * RENAMED from `Class348_Sub25` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + int anInt6879; + private final int anInt6880; + private static int[] anIntArray6881; + boolean aBoolean6882; + int anInt6883; + private int[] anIntArray6884; + + final void method2995(int i, int i_0_) { + if (i != 0 || i_0_ != 0) { + if (anIntArray6881 == null || anIntArray6881.length != anIntArray6884.length) anIntArray6881 = new int[anIntArray6884.length]; + int i_1_ = anIntArray6884.length; + int i_2_ = i; + int i_3_ = anInt6880 - 1; + int i_4_ = anInt6880 * i_0_; + int i_5_ = i_1_ - 1; + for (int i_6_ = 0; i_6_ < i_1_; i_6_ += anInt6880) { + int i_7_ = i_6_ + i_4_ & i_5_; + for (int i_8_ = 0; i_8_ < anInt6880; i_8_++) { + int i_9_ = i_6_ + i_8_; + int i_10_ = i_7_ + (i_8_ + i_2_ & i_3_); + anIntArray6881[i_9_] = anIntArray6884[i_10_]; + } + } + int[] is = anIntArray6884; + anIntArray6884 = anIntArray6881; + anIntArray6881 = is; + } + } + + public static void method2996() { + anIntArray6881 = null; + } + + final int[] method2997() { + return anIntArray6884; + } + + NodeSub25(int i, int i_11_, int[] is, boolean bool) { + this.anInt6883 = i; + anInt6880 = i_11_; + anIntArray6884 = is; + if (bool) { + int[] is_12_ = new int[anInt6880]; + int[] is_13_ = new int[anInt6880]; + int[] is_14_ = new int[anInt6880]; + int[] is_15_ = new int[anInt6880]; + if (anIntArray6881 == null || anIntArray6881.length != anIntArray6884.length) anIntArray6881 = new int[anIntArray6884.length]; + int i_16_ = anInt6880; + int i_17_ = anInt6880; + int i_18_ = i_16_ - 1; + int i_19_ = i_17_ - 1; + int i_20_ = i_16_ * i_17_; + int i_22_; + int i_21_ = i_22_ = i_16_; + for (int i_23_ = 2; i_23_ >= 0; i_23_--) { + for (int i_24_ = i_18_; i_24_ >= 0; i_24_--) { + int i_25_ = anIntArray6884[--i_22_]; + is_12_[i_24_] += i_25_ >> 24 & 0xff; + is_13_[i_24_] += i_25_ >> 16 & 0xff; + is_14_[i_24_] += i_25_ >> 8 & 0xff; + is_15_[i_24_] += i_25_ & 0xff; + } + if (i_22_ == 0) i_22_ = i_20_; + } + int i_26_ = i_20_; + for (int i_27_ = i_19_; i_27_ >= 0; i_27_--) { + int i_28_ = 1; + int i_29_ = 1; + int i_31_; + int i_32_; + int i_33_; + int i_30_ = i_31_ = i_32_ = i_33_ = 0; + for (int i_34_ = 2; i_34_ >= 0; i_34_--) { + i_29_--; + i_30_ += is_12_[i_29_]; + i_31_ += is_13_[i_29_]; + i_33_ += is_14_[i_29_]; + i_32_ += is_15_[i_29_]; + if (i_29_ == 0) i_29_ = i_16_; + } + for (int i_35_ = i_18_; i_35_ >= 0; i_35_--) { + i_29_--; + i_28_--; + int i_36_ = i_30_ / 9; + int i_37_ = i_31_ / 9; + int i_38_ = i_33_ / 9; + int i_39_ = i_32_ / 9; + anIntArray6881[--i_26_] = i_36_ << 24 | i_37_ << 16 | i_38_ << 8 | i_39_; + i_30_ += is_12_[i_29_] - is_12_[i_28_]; + i_31_ += is_13_[i_29_] - is_13_[i_28_]; + i_32_ += is_15_[i_29_] - is_15_[i_28_]; + i_33_ += is_14_[i_29_] - is_14_[i_28_]; + if (i_29_ == 0) i_29_ = i_16_; + if (i_28_ == 0) i_28_ = i_16_; + } + for (int i_40_ = i_18_; i_40_ >= 0; i_40_--) { + int i_41_ = anIntArray6884[--i_22_]; + int i_42_ = anIntArray6884[--i_21_]; + is_12_[i_40_] += (i_41_ >> 24 & 0xff) - (i_42_ >> 24 & 0xff); + is_13_[i_40_] += (i_41_ >> 16 & 0xff) - (i_42_ >> 16 & 0xff); + is_14_[i_40_] += (i_41_ >> 8 & 0xff) - (i_42_ >> 8 & 0xff); + is_15_[i_40_] += (i_41_ & 0xff) - (i_42_ & 0xff); + } + if (i_22_ == 0) i_22_ = i_20_; + if (i_21_ == 0) i_21_ = i_20_; + } + int[] is_43_ = anIntArray6884; + anIntArray6884 = anIntArray6881; + anIntArray6881 = is_43_; + } + } +} diff --git a/client/nodes/NodeSub27.java b/client/nodes/NodeSub27.java new file mode 100644 index 000000000..0435ebf17 --- /dev/null +++ b/client/nodes/NodeSub27.java @@ -0,0 +1,51 @@ +/* NodeSub27 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NodeSub27 +/** + * RENAMED from `Class348_Sub27` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + int anInt6892; + int anInt6893 = -1; + int anInt6894 = 0; + int anInt6895; + int anInt6896; + static Component114[] aClass302Array6897 = new Component114[8]; + /** Per-frame pitch delta applied in follow/orbit camera ticks. */ + static float cameraPitchRate = 0.0F; + int anInt6899; + int anInt6900; + static int anInt6901; + int anInt6902; + int anInt6903; + int anInt6904; + int anInt6905; + static int anInt6906; + int anInt6907; + + static final void method3000(int i, int i_0_, int i_1_, int i_2_, int i_3_) { + Component27.anInt4960 = i_2_; + int i_4_ = -89 / ((i_3_ - 78) / 44); + PauseTimer.anInt513 = i_1_; + Component22.anInt1745 = i; + Component72.anInt1910 = i_0_; + anInt6906++; + } + + public static void method3001(int i) { + aClass302Array6897 = null; + if (i != 0) aClass302Array6897 = null; + } + + static final Component161[] method3002(byte i) { + if (i != -97) aClass302Array6897 = null; + anInt6901++; + return (new Component161[]{RandomAccessFileReader.aClass138_3044, Component40.aClass138_6321, BitmapFont.aClass138_4062, Component303.aClass138_2885, DefinitionGroup.aClass138_9530, Component182.aClass138_9748, ColoredTextBuilder.aClass138_4082, AbstractGlTextureSub4.aClass138_8553, NodeBase.aClass138_7274, DisplayModeManagerContainer5.aClass138_1213, RSACipher.aClass138_4901, Component252.aClass138_10194, NodeBaseSub2.aClass138_9781, GlExtensionManager.aClass138_9860}); + } + + public NodeSub27() { + /* empty */ + } +} diff --git a/client/nodes/NodeSub28.java b/client/nodes/NodeSub28.java new file mode 100644 index 000000000..5b434db58 --- /dev/null +++ b/client/nodes/NodeSub28.java @@ -0,0 +1,11 @@ +/* NodeSub28 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NodeSub28 +/** + * RENAMED from `Class348_Sub28` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + Interface19 anInterface19_6908; +} diff --git a/client/nodes/NodeSub29.java b/client/nodes/NodeSub29.java new file mode 100644 index 000000000..5dd548316 --- /dev/null +++ b/client/nodes/NodeSub29.java @@ -0,0 +1,41 @@ +/* NodeSub29 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NodeSub29 +/** + * RENAMED from `Class348_Sub29` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + static CacheStore aClass45_6909; + static int anInt6910; + short aShort6911; + + public static void method3003(int i) { + aClass45_6909 = null; + if (i != -4587) method3003(-101); + } + + public NodeSub29() { + /* empty */ + } + + NodeSub29(short i) { + this.aShort6911 = i; + } + + static final void method3004(CacheStore class45, boolean bool, d var_d) { + do { + try { + Component92.aClass45_3309 = class45; + anInt6910++; + MatrixSub1.aD5684 = var_d; + if (bool == false) break; + method3004(null, false, null); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("oia.B(" + (class45 != null ? "{...}" : "null") + ',' + bool + ',' + (var_d != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } +} diff --git a/client/nodes/NodeSub3.java b/client/nodes/NodeSub3.java new file mode 100644 index 000000000..f285309d6 --- /dev/null +++ b/client/nodes/NodeSub3.java @@ -0,0 +1,226 @@ +/* NodeSub3 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaclib.memory.Buffer; +import jaclib.memory.Stream; +import jaclib.memory.heap.NativeHeapBuffer; + +import java.awt.*; + +final class NodeSub3 +/** + * RENAMED from `Class348_Sub3` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + private final BufferCacheSub3 aS_Sub3_6566; + int anInt6567; + static int anInt6568; + int anInt6569; + static int anInt6570; + int anInt6571; + private NativeHeapBuffer aNativeHeapBuffer6572; + private final int[] anIntArray6573; + private Stream aStream6574; + int anInt6575; + static int anInt6576; + private Interface5_Impl1 anInterface5_Impl1_6577; + static int anInt6578; + static int anInt6579; + static int anInt6580; + static FontGlyphCache aClass323_6581; + float aFloat6582; + static int anInt6583; + static Component183 aClass114_6584 = null; + static int anInt6585; + static float aFloat6586; + static int anInt6587; + static int anInt6588; + int anInt6589 = 0; + private final GlToolkitSub3 aHa_Sub3_6590; + + final void method2736(byte i, int i_0_) { + if (i != -57) method2736((byte) 25, -39); + anInt6580++; + aNativeHeapBuffer6572 = aHa_Sub3_6590.method3869((byte) 77, true, i_0_ * 4); + aStream6574 = new Stream(aNativeHeapBuffer6572, 0, 4 * i_0_); + } + + final void method2737(byte i, int[] is, int i_1_) { + anInt6583++; + Interface5_Impl2 interface5_impl2 = aHa_Sub3_6590.method3822(47, this.anInt6589 * 3); + Buffer buffer = interface5_impl2.method24(true, false); + if (buffer != null) { + if (i != -30) method2736((byte) 116, 72); + Stream stream = aHa_Sub3_6590.method3893(buffer, 9179); + int i_2_ = 0; + int i_3_ = 32767; + int i_4_ = -32768; + if (Stream.c()) { + for (int i_5_ = 0; i_1_ > i_5_; i_5_++) { + int i_6_ = is[i_5_]; + short[] is_7_ = aS_Sub3_6566.aShortArrayArray8299[i_6_]; + int i_8_ = anIntArray6573[i_6_]; + if (i_8_ != 0 && is_7_ != null) { + int i_9_ = 0; + int i_10_ = 0; + while (i_10_ < is_7_.length) { + if ((i_8_ & 1 << i_9_++) == 0) i_10_ += 3; + else { + i_2_++; + for (int i_11_ = 0; i_11_ < 3; i_11_++) { + int i_12_ = 0xffff & is_7_[i_10_++]; + if (i_12_ < i_3_) i_3_ = i_12_; + stream.d(i_12_); + if (i_4_ < i_12_) i_4_ = i_12_; + } + } + } + } + } + } else { + for (int i_13_ = 0; i_1_ > i_13_; i_13_++) { + int i_14_ = is[i_13_]; + short[] is_15_ = aS_Sub3_6566.aShortArrayArray8299[i_14_]; + int i_16_ = anIntArray6573[i_14_]; + if (i_16_ != 0 && is_15_ != null) { + int i_17_ = 0; + int i_18_ = 0; + while (is_15_.length > i_18_) { + if ((1 << i_17_++ & i_16_) != 0) { + i_2_++; + for (int i_19_ = 0; i_19_ < 3; i_19_++) { + int i_20_ = 0xffff & is_15_[i_18_++]; + if (i_3_ > i_20_) i_3_ = i_20_; + stream.a(i_20_); + if (i_20_ > i_4_) i_4_ = i_20_; + } + } else i_18_ += 3; + } + } + } + } + stream.a(); + if (interface5_impl2.method22(i + 7) && i_2_ > 0) { + aHa_Sub3_6590.method3814((aS_Sub3_6566.anInt8294 & 0x8) != 0, (0x7 & aS_Sub3_6566.anInt8294) != 0, this.anInt6567, (byte) 48); + if (aHa_Sub3_6590.aBoolean8160) aHa_Sub3_6590.EA(2147483647, this.anInt6571, this.anInt6575, this.anInt6569); + MatrixSub2 class101_sub2 = aHa_Sub3_6590.method3820(false); + class101_sub2.method932(1.0F, 1.0F / this.aFloat6582, 1.0F / this.aFloat6582, (byte) -80); + aHa_Sub3_6590.method3853(i + -2, Component302.aClass251_6030); + aHa_Sub3_6590.method3925(55, anInterface5_Impl1_6577, 1); + aHa_Sub3_6590.method3862(i + 30, (aS_Sub3_6566.aClass130_8324)); + aHa_Sub3_6590.method3938(VideoAdDisplay.aClass21_3181, i_2_, interface5_impl2, i_3_, 0, 1 + -i_3_ + i_4_, 104); + aHa_Sub3_6590.method3879(-8629); + } + } + } + + public static void method2738(byte i) { + aClass114_6584 = null; + aClass323_6581 = null; + int i_21_ = 89 / ((19 - i) / 43); + } + + static final void method2739(int i) { + DefinitionSub13.aClass262_9201.clear(98); + anInt6579++; + NodeSub34.anInt6969 = i; + } + + final void method2740(int i, int i_22_) { + anInt6576++; + aStream6574.a(); + anInterface5_Impl1_6577 = aHa_Sub3_6590.method3889(false, 16711680); + anInterface5_Impl1_6577.method17(aNativeHeapBuffer6572, 4, 4 * i_22_, (byte) -110); + int i_23_ = 44 % ((i - 19) / 33); + aNativeHeapBuffer6572 = null; + aStream6574 = null; + } + + final void method2741(int i, float f, int i_24_, int i_25_, int i_26_) { + if (this.anInt6567 != -1) { + Component319 class12 = aHa_Sub3_6590.aD4579.method3(this.anInt6567, -6662); + int i_27_ = class12.aByte201 & 0xff; + if (i_27_ != 0 && class12.aByte213 != 4) { + int i_28_; + if (i_25_ < 0) i_28_ = 0; + else if (i_25_ <= 127) i_28_ = i_25_ * 131586; + else i_28_ = 16777215; + if (i_27_ != 256) { + int i_29_ = i_27_; + int i_30_ = -i_27_ + 256; + i_26_ = ((i_30_ * (i_26_ & 0xff00) + i_29_ * (0xff00 & i_28_) & 0xff0000) + (~0xff00ff & (i_29_ * (i_28_ & 0xff00ff) - -((i_26_ & 0xff00ff) * i_30_)))) >> 8; + } else i_26_ = i_28_; + } + int i_31_ = 0xff & class12.aByte216; + if (i_31_ != 0) { + i_31_ += 256; + int i_32_ = (0xff & i_26_ >> 16) * i_31_; + if (i_32_ > 65535) i_32_ = 65535; + int i_33_ = ((0xff00 & i_26_) >> 8) * i_31_; + if (i_33_ > 65535) i_33_ = 65535; + int i_34_ = i_31_ * (0xff & i_26_); + if (i_34_ > 65535) i_34_ = 65535; + i_26_ = (i_34_ >> 8) + ((i_33_ & 0xff00) + ((0x5400ff00 & i_32_) << 8)); + } + } + anInt6588++; + aStream6574.e(i * 4); + if (f != 1.0F) { + int i_35_ = i_26_ >> 16 & 0xff; + int i_36_ = 0xff & i_26_ >> 8; + i_35_ *= f; + int i_37_ = 0xff & i_26_; + if (i_35_ < 0) i_35_ = 0; + else if (i_35_ > 255) i_35_ = 255; + i_36_ *= f; + if (i_36_ < 0) i_36_ = 0; + else if (i_36_ > 255) i_36_ = 255; + i_37_ *= f; + if (i_37_ < 0) i_37_ = 0; + else if (i_37_ > 255) i_37_ = 255; + i_26_ = i_37_ | (i_35_ << 16 | i_36_ << 8); + } + if (i_24_ != 1624) method2743(null, (byte) 67); + if (aHa_Sub3_6590.anInt8178 == 0) { + aStream6574.f((byte) i_26_); + aStream6574.f((byte) (i_26_ >> 8)); + aStream6574.f((byte) (i_26_ >> 16)); + } else { + aStream6574.f((byte) (i_26_ >> 16)); + aStream6574.f((byte) (i_26_ >> 8)); + aStream6574.f((byte) i_26_); + } + } + + final void method2742(int i, int i_38_, int i_39_, byte i_40_) { + anInt6570++; + anIntArray6573[i_38_ * aS_Sub3_6566.anInt4587 - -i_39_] = Component224.bitwiseOr((anIntArray6573[(i_38_ * aS_Sub3_6566.anInt4587 - -i_39_)]), 1 << i); + if (i_40_ > -65) aFloat6586 = -1.0413289F; + this.anInt6589++; + } + + static final InputHandler method2743(Component component, byte i) { + anInt6587++; + int i_41_ = -16 % ((i - -58) / 63); + return new KeyFocusHandler(component); + } + + final void method2744(byte i, int i_42_) { + anInt6578++; + if (i > -106) this.anInt6571 = -80; + aStream6574.e(4 * i_42_ + 3); + aStream6574.f(-1); + } + + NodeSub3(BufferCacheSub3 var_s_Sub3, int i, int i_43_, int i_44_, int i_45_, int i_46_) { + aS_Sub3_6566 = var_s_Sub3; + this.anInt6569 = i_46_; + this.aFloat6582 = (float) i_43_; + aHa_Sub3_6590 = aS_Sub3_6566.aHa_Sub3_8322; + this.anInt6575 = i_45_; + this.anInt6567 = i; + anIntArray6573 = new int[(aS_Sub3_6566.anInt4590 * aS_Sub3_6566.anInt4587)]; + this.anInt6571 = i_44_; + } +} diff --git a/client/nodes/NodeSub30.java b/client/nodes/NodeSub30.java new file mode 100644 index 000000000..d4c9065c5 --- /dev/null +++ b/client/nodes/NodeSub30.java @@ -0,0 +1,19 @@ +/* NodeSub30 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +abstract class NodeSub30 +/** + * RENAMED from `Class348_Sub30` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + int anInt6912; + + abstract int method3005(NodeSub16Sub4 class348_sub16_sub4); + + abstract void method3006(); + + public NodeSub30() { + /* empty */ + } +} diff --git a/client/nodes/NodeSub32.java b/client/nodes/NodeSub32.java new file mode 100644 index 000000000..1e2b6c24f --- /dev/null +++ b/client/nodes/NodeSub32.java @@ -0,0 +1,308 @@ +/* NodeSub32 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NodeSub32 +/** + * RENAMED from `Class348_Sub32` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + private final Component132 aClass123_6927; + private float[][] aFloatArrayArray6928; + private final BufferCacheSub2 aS_Sub2_6929; + static int anInt6930 = 0; + static int anInt6931; + private LruCache aClass356_6932; + static int anInt6933; + private int anInt6934; + private final int anInt6935; + private Buffer aClass348_Sub49_6936; + private final NodeSub1 aClass348_Sub1_6937; + static int anInt6938; + static int anInt6939; + private int anInt6940; + static int anInt6941; + private int anInt6942; + private final Component132 aClass123_6943; + private final int anInt6944; + private final Interface8 anInterface8_6945; + static Thread aThread6946; + private float[][] aFloatArrayArray6947; + private final int anInt6948; + private float[][] aFloatArrayArray6949; + static CacheStore aClass45_6950; + private final GlToolkitSub2 aHa_Sub2_6951; + private final Interface2 anInterface2_6952; + private Component182 aClass348_Sub49_Sub1_6953; + + static final void method3018(int i) { + NodeSub18.anInt6818 = i; + } + + private final void method3019(int i, int i_0_, int i_1_, int i_2_, int i_3_, byte i_4_, int i_5_) { + anInt6933++; + long l = -1L; + int i_6_ = i_3_ - -(i_2_ << aS_Sub2_6929.anInt4588); + int i_7_ = i + (i_5_ << aS_Sub2_6929.anInt4588); + int i_8_ = aS_Sub2_6929.method3986(i_6_, i_7_, (byte) -17); + if ((i_3_ & 0x7f) == 0 || (i & 0x7f) == 0) { + l = ((long) i_7_ << 16 & 65535L << 16 | 0xffffL & (long) i_6_); + Node class348 = aClass356_6932.get(l, -6008); + if (class348 != null) { + method3022((byte) -46, (((NodeSub29) class348).aShort6911)); + return; + } + } + short i_9_ = (short) anInt6940++; + if (l != -1L) aClass356_6932.put((byte) 107, l, new NodeSub29(i_9_)); + float f; + float f_10_; + float f_11_; + if (i_3_ != 0 || i != 0) { + if (aS_Sub2_6929.anInt4592 == i_3_ && i == 0) { + f_10_ = aFloatArrayArray6928[1 + i_0_][i_1_]; + f_11_ = aFloatArrayArray6947[1 + i_0_][i_1_]; + f = aFloatArrayArray6949[1 + i_0_][i_1_]; + } else if (i_3_ != aS_Sub2_6929.anInt4592 || aS_Sub2_6929.anInt4592 != i) { + if (i_3_ != 0 || aS_Sub2_6929.anInt4592 != i) { + float f_12_ = (float) i_3_ / (float) aS_Sub2_6929.anInt4592; + float f_13_ = (float) i / (float) aS_Sub2_6929.anInt4592; + float f_14_ = aFloatArrayArray6949[i_0_][i_1_]; + float f_15_ = aFloatArrayArray6947[i_0_][i_1_]; + float f_16_ = aFloatArrayArray6928[i_0_][i_1_]; + float f_17_ = aFloatArrayArray6949[1 + i_0_][i_1_]; + float f_18_ = aFloatArrayArray6947[i_0_ + 1][i_1_]; + f_18_ += (aFloatArrayArray6947[1 + i_0_][1 + i_1_] - f_18_) * f_12_; + f_17_ += f_12_ * (aFloatArrayArray6949[1 + i_0_][i_1_ - -1] - f_17_); + f_16_ += ((aFloatArrayArray6928[i_0_][i_1_ - -1] - f_16_) * f_12_); + float f_19_ = aFloatArrayArray6928[i_0_ + 1][i_1_]; + f_15_ += f_12_ * (aFloatArrayArray6947[i_0_][1 + i_1_] - f_15_); + f_14_ += f_12_ * (-f_14_ + aFloatArrayArray6949[i_0_][i_1_ + 1]); + f = f_14_ + (f_17_ - f_14_) * f_13_; + f_11_ = f_15_ + f_13_ * (-f_15_ + f_18_); + f_19_ += f_12_ * (-f_19_ + (aFloatArrayArray6928[i_0_ - -1][i_1_ + 1])); + f_10_ = f_16_ + f_13_ * (f_19_ - f_16_); + } else { + f = aFloatArrayArray6949[i_0_][1 + i_1_]; + f_10_ = aFloatArrayArray6928[i_0_][i_1_ - -1]; + f_11_ = aFloatArrayArray6947[i_0_][1 + i_1_]; + } + } else { + f = aFloatArrayArray6949[1 + i_0_][1 + i_1_]; + f_10_ = aFloatArrayArray6928[1 + i_0_][1 + i_1_]; + f_11_ = aFloatArrayArray6947[i_0_ + 1][1 + i_1_]; + } + } else { + f = aFloatArrayArray6949[i_0_][i_1_]; + f_10_ = aFloatArrayArray6928[i_0_][i_1_]; + f_11_ = aFloatArrayArray6947[i_0_][i_1_]; + } + float f_20_ = (float) (aClass348_Sub1_6937.method2724(-1) + -i_6_); + float f_21_ = (float) (aClass348_Sub1_6937.method2722(120) + -i_8_); + float f_22_ = (float) (aClass348_Sub1_6937.method2717((byte) 107) + -i_7_); + float f_23_ = (float) Math.sqrt(f_21_ * f_21_ + f_20_ * f_20_ + f_22_ * f_22_); + float f_24_ = 1.0F / f_23_; + f_22_ *= f_24_; + f_20_ *= f_24_; + f_21_ *= f_24_; + float f_25_ = f_23_ / (float) aClass348_Sub1_6937.method2723(-1); + float f_26_ = -(f_25_ * f_25_) + 1.0F; + if (f_26_ < 0.0F) f_26_ = 0.0F; + float f_27_ = f_22_ * f_10_ + (f_21_ * f_11_ + f * f_20_); + if (f_27_ < 0.0F) f_27_ = 0.0F; + float f_28_ = 2.0F * (f_26_ * f_27_); + if (f_28_ > 1.0F) f_28_ = 1.0F; + int i_29_ = -108 % ((42 - i_4_) / 50); + int i_30_ = aClass348_Sub1_6937.method2720(-1); + int i_31_ = (int) ((float) ((i_30_ & 0xff081b) >> 16) * f_28_); + if (i_31_ > 255) i_31_ = 255; + int i_32_ = (int) ((float) (0xff & i_30_ >> 8) * f_28_); + if (i_32_ > 255) i_32_ = 255; + int i_33_ = (int) (f_28_ * (float) (0xff & i_30_)); + if (aHa_Sub2_6951.aBoolean7775) { + aClass348_Sub49_Sub1_6953.method3400((float) i_6_, (byte) -122); + aClass348_Sub49_Sub1_6953.method3400((float) i_8_, (byte) -115); + aClass348_Sub49_Sub1_6953.method3400((float) i_7_, (byte) -94); + } else { + aClass348_Sub49_Sub1_6953.method3399(18291, (float) i_6_); + aClass348_Sub49_Sub1_6953.method3399(18291, (float) i_8_); + aClass348_Sub49_Sub1_6953.method3399(18291, (float) i_7_); + } + if (i_33_ > 255) i_33_ = 255; + aClass348_Sub49_Sub1_6953.writeByte(false, i_31_); + aClass348_Sub49_Sub1_6953.writeByte(false, i_32_); + aClass348_Sub49_Sub1_6953.writeByte(false, i_33_); + aClass348_Sub49_Sub1_6953.writeByte(false, 255); + method3022((byte) -46, i_9_); + } + + public static void method3020(byte i) { + if (i == -64) { + aClass45_6950 = null; + aThread6946 = null; + } + } + + static final int method3021(byte i, Component267 class229) { + anInt6931++; + if (class229 != ShaderCompilerSub3.aClass229_6519) { + if (Component385.aClass229_2207 == class229) return 8448; + if (class229 == Component253.aClass229_3196) return 34165; + if (DisplayModeManagerContainer64.aClass229_9011 == class229) return 260; + if (class229 == NodeSub7.aClass229_6644) return 34023; + } else return 7681; + if (i != 32) method3021((byte) -21, null); + throw new IllegalArgumentException(); + } + + private final void method3022(byte i, short i_34_) { + anInt6939++; + if (i == -46) { + if (!aHa_Sub2_6951.aBoolean7775) aClass348_Sub49_6936.writeShortLE(i + 135, i_34_); + else aClass348_Sub49_6936.writeShort((byte) 107, i_34_); + } + } + + final void method3023(boolean[][] bools, int i, int i_35_, int i_36_, int i_37_) { + anInt6941++; + if (anInterface8_6945 != null && i_37_ + i_35_ >= anInt6935 && anInt6942 >= i_35_ + -i_37_ && i_36_ + i_37_ >= anInt6948 && i_36_ + -i_37_ <= anInt6944) { + for (int i_38_ = anInt6948; i_38_ <= anInt6944; i_38_++) { + for (int i_39_ = anInt6935; anInt6942 >= i_39_; i_39_++) { + int i_40_ = i_39_ - i_35_; + int i_41_ = -i_36_ + i_38_; + if (i_40_ > -i_37_ && i_37_ > i_40_ && i_41_ > -i_37_ && i_37_ > i_41_ && bools[i_40_ + i_37_][i_37_ + i_41_]) { + aHa_Sub2_6951.method3808(((int) (255.0F * aClass348_Sub1_6937.method2721(-66)) << 24), i + -136); + aHa_Sub2_6951.method3794(aClass123_6927, aClass123_6943, i + -26666, null, null); + aHa_Sub2_6951.method3759(anInt6934, -128, 4, anInterface8_6945, 0); + return; + } + } + } + if (i != 255) anInt6942 = 3; + } + } + + NodeSub32(GlToolkitSub2 var_ha_Sub2, BufferCacheSub2 var_s_Sub2, NodeSub1 class348_sub1, int[] is) { + try { + aS_Sub2_6929 = var_s_Sub2; + aHa_Sub2_6951 = var_ha_Sub2; + aClass348_Sub1_6937 = class348_sub1; + int i = (aClass348_Sub1_6937.method2723(-1) + -(var_s_Sub2.anInt4592 >> 1)); + anInt6935 = (aClass348_Sub1_6937.method2724(-1) + -i >> var_s_Sub2.anInt4588); + anInt6942 = (aClass348_Sub1_6937.method2724(-1) - -i >> var_s_Sub2.anInt4588); + anInt6948 = (-i + aClass348_Sub1_6937.method2717((byte) 85) >> var_s_Sub2.anInt4588); + anInt6944 = (aClass348_Sub1_6937.method2717((byte) 99) + i >> var_s_Sub2.anInt4588); + int i_42_ = anInt6942 + -anInt6935 - -1; + int i_43_ = 1 + -anInt6948 + anInt6944; + aFloatArrayArray6928 = new float[i_42_ - -1][i_43_ + 1]; + aFloatArrayArray6949 = new float[i_42_ + 1][1 + i_43_]; + aFloatArrayArray6947 = new float[i_42_ - -1][1 + i_43_]; + for (int i_44_ = 0; i_43_ >= i_44_; i_44_++) { + int i_45_ = i_44_ - -anInt6948; + if (i_45_ > 0 && i_45_ < -1 + aS_Sub2_6929.anInt4590) { + for (int i_46_ = 0; i_42_ >= i_46_; i_46_++) { + int i_47_ = i_46_ - -anInt6935; + if (i_47_ > 0 && i_47_ < aS_Sub2_6929.anInt4587 + -1) { + int i_48_ = (var_s_Sub2.method3982((byte) -86, i_45_, i_47_ + 1) - var_s_Sub2.method3982((byte) -86, i_45_, i_47_ + -1)); + int i_49_ = (var_s_Sub2.method3982((byte) -86, 1 + i_45_, i_47_) - var_s_Sub2.method3982((byte) -86, -1 + i_45_, i_47_)); + float f = (float) (1.0 / (Math.sqrt(i_48_ * i_48_ + (65536 - -(i_49_ * i_49_))))); + aFloatArrayArray6949[i_46_][i_44_] = (float) i_48_ * f; + aFloatArrayArray6947[i_46_][i_44_] = -256.0F * f; + aFloatArrayArray6928[i_46_][i_44_] = f * (float) i_49_; + } + } + } + } + int i_50_ = 0; + for (int i_51_ = anInt6948; i_51_ <= anInt6944; i_51_++) { + if (i_51_ >= 0 && i_51_ < var_s_Sub2.anInt4590) { + for (int i_52_ = anInt6935; i_52_ <= anInt6942; i_52_++) { + if (i_52_ >= 0 && (i_52_ < var_s_Sub2.anInt4587)) { + int i_53_ = is[i_50_]; + int[] is_54_ = (var_s_Sub2.anIntArrayArrayArray8253[i_52_][i_51_]); + if (is_54_ != null && i_53_ != 0) { + if (i_53_ == 1) { + int i_55_ = 0; + while (i_55_ < is_54_.length) { + if (is_54_[i_55_++] != -1 && is_54_[i_55_++] != -1 && (is_54_[i_55_++] != -1)) anInt6934 += 3; + } + } else anInt6934 += 3; + } + } + i_50_++; + } + } else i_50_ += anInt6942 - anInt6935; + } + if (anInt6934 > 0) { + aClass348_Sub49_6936 = new Buffer(anInt6934 * 2); + aClass348_Sub49_Sub1_6953 = new Component182(anInt6934 * 16); + aClass356_6932 = new LruCache(Component373.nextPowerOfTwo(anInt6934, (byte) 108)); + int i_56_ = 0; + i_50_ = 0; + for (int i_57_ = anInt6948; anInt6944 >= i_57_; i_57_++) { + if (i_57_ >= 0 && var_s_Sub2.anInt4590 > i_57_) { + int i_58_ = 0; + for (int i_59_ = anInt6935; i_59_ <= anInt6942; i_59_++) { + if (i_59_ >= 0 && (i_59_ < var_s_Sub2.anInt4587)) { + int i_60_ = is[i_50_]; + int[] is_61_ = (var_s_Sub2.anIntArrayArrayArray8253[i_59_][i_57_]); + if (is_61_ != null && i_60_ != 0) { + if (i_60_ == 1) { + int[] is_62_ = (var_s_Sub2.anIntArrayArrayArray8268[i_59_][i_57_]); + int[] is_63_ = (var_s_Sub2.anIntArrayArrayArray8234[i_59_][i_57_]); + int i_64_ = 0; + while (i_64_ < is_61_.length) { + if ((is_61_[i_64_] == -1) || is_61_[1 + i_64_] == -1 || is_61_[2 + i_64_] == -1) i_64_ += 3; + else { + method3019(is_63_[i_64_], i_58_, i_56_, i_59_, is_62_[i_64_], (byte) -94, i_57_); + i_64_++; + method3019(is_63_[i_64_], i_58_, i_56_, i_59_, is_62_[i_64_], (byte) 97, i_57_); + i_64_++; + method3019(is_63_[i_64_], i_58_, i_56_, i_59_, is_62_[i_64_], (byte) 104, i_57_); + i_64_++; + } + } + } else if (i_60_ == 3) { + method3019(0, i_58_, i_56_, i_59_, 0, (byte) -40, i_57_); + method3019(0, i_58_, i_56_, i_59_, (var_s_Sub2.anInt4592), (byte) 111, i_57_); + method3019((var_s_Sub2.anInt4592), i_58_, i_56_, i_59_, 0, (byte) -29, i_57_); + } else if (i_60_ == 2) { + method3019(0, i_58_, i_56_, i_59_, (var_s_Sub2.anInt4592), (byte) 119, i_57_); + method3019((var_s_Sub2.anInt4592), i_58_, i_56_, i_59_, (var_s_Sub2.anInt4592), (byte) -90, i_57_); + method3019(0, i_58_, i_56_, i_59_, 0, (byte) -119, i_57_); + } else if (i_60_ == 5) { + method3019((var_s_Sub2.anInt4592), i_58_, i_56_, i_59_, (var_s_Sub2.anInt4592), (byte) 111, i_57_); + method3019((var_s_Sub2.anInt4592), i_58_, i_56_, i_59_, 0, (byte) -83, i_57_); + method3019(0, i_58_, i_56_, i_59_, (var_s_Sub2.anInt4592), (byte) 125, i_57_); + } else if (i_60_ == 4) { + method3019((var_s_Sub2.anInt4592), i_58_, i_56_, i_59_, 0, (byte) -70, i_57_); + method3019(0, i_58_, i_56_, i_59_, 0, (byte) 96, i_57_); + method3019((var_s_Sub2.anInt4592), i_58_, i_56_, i_59_, (var_s_Sub2.anInt4592), (byte) 112, i_57_); + } + } + } + i_58_++; + i_50_++; + } + } else i_50_ += anInt6942 - anInt6935; + i_56_++; + } + anInterface8_6945 = (aHa_Sub2_6951.method3733(5123, -49, aClass348_Sub49_6936.offset, aClass348_Sub49_6936.payload, false)); + anInterface2_6952 = aHa_Sub2_6951.method3731(2, false, 16, (aClass348_Sub49_Sub1_6953.payload), (aClass348_Sub49_Sub1_6953.offset)); + aClass123_6927 = new Component132(anInterface2_6952, 5126, 3, 0); + aClass123_6943 = new Component132(anInterface2_6952, 5121, 4, 12); + } else { + anInterface2_6952 = null; + anInterface8_6945 = null; + aClass123_6927 = null; + aClass123_6943 = null; + } + aClass348_Sub49_Sub1_6953 = null; + aFloatArrayArray6949 = aFloatArrayArray6947 = aFloatArrayArray6928 = null; + aClass348_Sub49_6936 = null; + aClass356_6932 = null; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qw.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + (var_s_Sub2 != null ? "{...}" : "null") + ',' + (class348_sub1 != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/nodes/NodeSub34.java b/client/nodes/NodeSub34.java new file mode 100644 index 000000000..8b6b18c2b --- /dev/null +++ b/client/nodes/NodeSub34.java @@ -0,0 +1,34 @@ +/* NodeSub34 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NodeSub34 +/** + * RENAMED from `Class348_Sub34` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + static GraphicsToolkit aHa6968; + static int anInt6969; + static StringCache aClass351_6970; + int anInt6971; + static int[] anIntArray6972 = {0, 1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 8191, 16383, 32767, 65535, 131071, 262143, 524287, 1048575, 2097151, 4194303, 8388607, 16777215, 33554431, 67108863, 134217727, 268435455, 536870911, 1073741823, 2147483647, -1}; + int anInt6973; + static int anInt6974; + + public static void method3026(boolean bool) { + anIntArray6972 = null; + if (bool != true) method3026(false); + aClass351_6970 = null; + aHa6968 = null; + } + + NodeSub34(int i, int i_0_) { + this.anInt6973 = i; + this.anInt6971 = i_0_; + } + + static { + anInt6969 = 0; + aClass351_6970 = new StringCache(70, 0); + } +} diff --git a/client/nodes/NodeSub35.java b/client/nodes/NodeSub35.java new file mode 100644 index 000000000..b943ad375 --- /dev/null +++ b/client/nodes/NodeSub35.java @@ -0,0 +1,47 @@ +/* NodeSub35 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NodeSub35 +/** + * RENAMED from `Class348_Sub35` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + static int anInt6975; + /** Payload int — enum value, GL list length, etc. depending on owner. */ + int intValue; + static DisplayModeManagerContainer238 aClass74_6977 = new DisplayModeManagerContainer238(8, 3); + static NodeList aClass262_6978; + static int anInt6979 = 0; + static CacheStore aClass45_6980; + static int anInt6981; + + static final void method3027(byte i) { + anInt6975++; + if (Component192.aClass348_Sub51_3959.aClass239_Sub27_7261.method1840(-32350) == 0 && Component117.anInt4372 != Component385.anInt2204) NodeSub41.method3157(DisplayModeManagerContainer363.anInt4095, (byte) 123, GraphicsToolkit.anInt4581, 11, false); + else { + NodeSub46.method3319(NodeSub8.toolkit, (byte) -121); + if (i != 33) method3028(-79); + if (DisplayModeManagerContainer174.anInt10395 != Component117.anInt4372) DefinitionSub9.method3072((byte) -96); + } + } + + public static void method3028(int i) { + if (i != -11677) method3027((byte) -80); + aClass74_6977 = null; + aClass45_6980 = null; + aClass262_6978 = null; + } + + public NodeSub35() { + /* empty */ + } + + NodeSub35(int i) { + this.intValue = i; + } + + static { + aClass262_6978 = new NodeList(); + } +} diff --git a/client/nodes/NodeSub36.java b/client/nodes/NodeSub36.java new file mode 100644 index 000000000..f11ddf428 --- /dev/null +++ b/client/nodes/NodeSub36.java @@ -0,0 +1,37 @@ +/* NodeSub36 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NodeSub36 +/** + * RENAMED from `Class348_Sub36` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + int anInt6982; + DisplayModeManagerContainer57 aClass46_6983; + int anInt6984; + static int anInt6985; + int anInt6986; + Object[] anObjectArray6987; + int anInt6988; + DisplayModeManagerContainer57 aClass46_6989; + static DisplayModeManagerContainer57 aClass46_6990 = null; + int anInt6991; + static int anInt6992; + boolean aBoolean6993; + String aString6994; + int anInt6995; + + public static void method3029(int i) { + aClass46_6990 = null; + int i_0_ = 28 % ((i - -45) / 39); + } + + public NodeSub36() { + /* empty */ + } + + static { + anInt6985 = 999999; + } +} diff --git a/client/nodes/NodeSub37.java b/client/nodes/NodeSub37.java new file mode 100644 index 000000000..4df45b237 --- /dev/null +++ b/client/nodes/NodeSub37.java @@ -0,0 +1,54 @@ +/* NodeSub37 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NodeSub37 +/** + * RENAMED from `Class348_Sub37` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + static int anInt6996; + static boolean aBoolean6997 = false; + NodeList aClass262_6998 = new NodeList(); + static int anInt6999; + + static final void method3030(int i, GlToolkitSub2 var_ha_Sub2) { + anInt6999++; + if (Component244.anObject4177 == null) { + DisplayModeManagerContainer34 class59_sub1_sub2 = new DisplayModeManagerContainer34(); + byte[] is = class59_sub1_sub2.method562(128, 128, (byte) 121, 16); + Component244.anObject4177 = BrowserDetector.wrapSoft(is, false, (byte) 81); + } + if (Component144.anObject3985 == null) { + Component54 class59_sub2_sub1 = new Component54(); + byte[] is = class59_sub2_sub1.method567(128, (byte) 111, 16, 128); + Component144.anObject3985 = BrowserDetector.wrapSoft(is, false, (byte) 103); + } + if (i != 8) method3031(-39, null); + ReliefShader class188 = var_ha_Sub2.aClass188_7736; + if (class188.method1414(35632) && Component14.anObject8592 == null) { + byte[] is = Component2.method194(128, -1922, 8, 0.6F, 128, 4.0F, 4.0F, 0.5F, 16.0F, new Component134(419684), 16); + Component14.anObject8592 = BrowserDetector.wrapSoft(is, false, (byte) 78); + } + } + + static final Definition method3031(int i, Buffer class348_sub49) { + anInt6996++; + class348_sub49.readUnsignedByte(255); + int i_0_ = class348_sub49.readUnsignedByte(255); + Definition class348_sub40 = Component350.method557(i_0_, (byte) -84); + class348_sub40.anInt7036 = class348_sub49.readUnsignedByte(255); + int i_1_ = class348_sub49.readUnsignedByte(255); + if (i < 123) return null; + for (int i_2_ = 0; i_1_ > i_2_; i_2_++) { + int i_3_ = class348_sub49.readUnsignedByte(255); + class348_sub40.method3049(class348_sub49, i_3_, 31015); + } + class348_sub40.postDecode(120); + return class348_sub40; + } + + public NodeSub37() { + /* empty */ + } +} diff --git a/client/nodes/NodeSub38.java b/client/nodes/NodeSub38.java new file mode 100644 index 000000000..8c4d3a18c --- /dev/null +++ b/client/nodes/NodeSub38.java @@ -0,0 +1,308 @@ +/* NodeSub38 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaclib.memory.Buffer; +import jaclib.memory.Stream; + +final class NodeSub38 +/** + * RENAMED from `Class348_Sub38` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + static int anInt7000; + private float[][] aFloatArrayArray7001; + private final Interface5_Impl2 anInterface5_Impl2_7002; + static int anInt7003; + private final NodeSub1 aClass348_Sub1_7004; + private float[][] aFloatArrayArray7005; + /** Caret index into {@link Component126#consoleInput} (0 = before first char). */ + static int consoleCursor = 0; + private final GlToolkitSub3 aHa_Sub3_7007; + static int anInt7008 = 0; + static int anInt7009; + private final int anInt7010; + private LruCache aClass356_7011; + static int anInt7012; + private int anInt7013; + private final int anInt7014; + static Component183 aClass114_7015 = new Component183(33, 3); + private float[][] aFloatArrayArray7016; + private final int anInt7017; + private int anInt7018; + private final BufferCacheSub3 aS_Sub3_7019; + private final Interface5_Impl1 anInterface5_Impl1_7020; + private Stream aStream7021; + private Stream aStream7022; + private final int anInt7023; + + final void method3032(int i, int i_0_, boolean[][] bools, boolean bool, int i_1_) { + anInt7012++; + if (anInterface5_Impl2_7002 != null) { + if (bool != false) method3032(-50, -122, null, true, 25); + if (anInt7023 <= i_0_ + i_1_ && -i_0_ + i_1_ <= anInt7017 && anInt7014 <= i - -i_0_ && -i_0_ + i <= anInt7010) { + for (int i_2_ = anInt7014; anInt7010 >= i_2_; i_2_++) { + for (int i_3_ = anInt7023; anInt7017 >= i_3_; i_3_++) { + int i_4_ = -i_1_ + i_3_; + int i_5_ = -i + i_2_; + if (-i_0_ < i_4_ && i_4_ < i_0_ && i_5_ > -i_0_ && i_0_ > i_5_ && bools[i_4_ - -i_0_][i_0_ + i_5_]) { + aHa_Sub3_7007.method3909((byte) (int) (255.0F * aClass348_Sub1_7004.method2721(-37)), -112); + aHa_Sub3_7007.method3925(-123, anInterface5_Impl1_7020, 0); + aHa_Sub3_7007.method3862(0, (aHa_Sub3_7007.aClass130_8202)); + aHa_Sub3_7007.method3938(VideoAdDisplay.aClass21_3181, anInt7018 / 3, anInterface5_Impl2_7002, 0, 0, anInt7013, 116); + return; + } + } + } + } + } + } + + private final void method3033(int i, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_) { + anInt7003++; + long l = -1L; + int i_12_ = i_10_ + (i_6_ << aS_Sub3_7019.anInt4588); + int i_13_ = i_8_ - -(i_9_ << aS_Sub3_7019.anInt4588); + int i_14_ = aS_Sub3_7019.method3986(i_12_, i_13_, (byte) -127); + if ((i_10_ & 0x7f) == 0 || (i_8_ & 0x7f) == 0) { + l = ((long) i_13_ & 0xffffL) << 16 | (long) i_12_ & 0xffffL; + Node class348 = aClass356_7011.get(l, i_7_ + 23335); + if (class348 != null) { + method3034((((NodeSub29) class348).aShort6911), (byte) 49); + return; + } + } + short i_15_ = (short) anInt7013++; + if (l != -1) aClass356_7011.put((byte) 101, l, new NodeSub29(i_15_)); + float f; + float f_16_; + float f_17_; + if (i_10_ == 0 && i_8_ == 0) { + f_16_ = aFloatArrayArray7016[i_11_][i]; + f_17_ = aFloatArrayArray7005[i_11_][i]; + f = aFloatArrayArray7001[i_11_][i]; + } else if (aS_Sub3_7019.anInt4592 != i_10_ || i_8_ != 0) { + if (aS_Sub3_7019.anInt4592 != i_10_ || (i_8_ != aS_Sub3_7019.anInt4592)) { + if (i_10_ == 0 && i_8_ == aS_Sub3_7019.anInt4592) { + f = aFloatArrayArray7001[i_11_][i + 1]; + f_16_ = aFloatArrayArray7016[i_11_][1 + i]; + f_17_ = aFloatArrayArray7005[i_11_][i - -1]; + } else { + float f_18_ = (float) i_10_ / (float) aS_Sub3_7019.anInt4592; + float f_19_ = (float) i_8_ / (float) aS_Sub3_7019.anInt4592; + float f_20_ = aFloatArrayArray7005[i_11_][i]; + float f_21_ = aFloatArrayArray7016[i_11_][i]; + float f_22_ = aFloatArrayArray7001[i_11_][i]; + float f_23_ = aFloatArrayArray7005[1 + i_11_][i]; + float f_24_ = aFloatArrayArray7016[i_11_ - -1][i]; + f_22_ += f_18_ * (aFloatArrayArray7001[i_11_][i - -1] - f_22_); + f_21_ += ((aFloatArrayArray7016[i_11_][1 + i] - f_21_) * f_18_); + f_24_ += f_18_ * (-f_24_ + aFloatArrayArray7016[i_11_ - -1][1 + i]); + float f_25_ = aFloatArrayArray7001[i_11_ + 1][i]; + f_20_ += ((aFloatArrayArray7005[i_11_][1 + i] - f_20_) * f_18_); + f_23_ += f_18_ * (aFloatArrayArray7005[i_11_ - -1][i - -1] - f_23_); + f_17_ = f_20_ + (f_23_ - f_20_) * f_19_; + f_16_ = (f_24_ - f_21_) * f_19_ + f_21_; + f_25_ += f_18_ * (aFloatArrayArray7001[1 + i_11_][i - -1] - f_25_); + f = f_22_ + (-f_22_ + f_25_) * f_19_; + } + } else { + f_17_ = aFloatArrayArray7005[1 + i_11_][i + 1]; + f = aFloatArrayArray7001[i_11_ - -1][1 + i]; + f_16_ = aFloatArrayArray7016[i_11_ + 1][1 + i]; + } + } else { + f_16_ = aFloatArrayArray7016[i_11_ + 1][i]; + f = aFloatArrayArray7001[1 + i_11_][i]; + f_17_ = aFloatArrayArray7005[i_11_ + 1][i]; + } + float f_26_ = (float) (-i_12_ + aClass348_Sub1_7004.method2724(-1)); + float f_27_ = (float) (aClass348_Sub1_7004.method2722(126) - i_14_); + float f_28_ = (float) (-i_13_ + aClass348_Sub1_7004.method2717((byte) 102)); + float f_29_ = (float) Math.sqrt(f_28_ * f_28_ + (f_26_ * f_26_ + f_27_ * f_27_)); + float f_30_ = 1.0F / f_29_; + f_26_ *= f_30_; + f_27_ *= f_30_; + f_28_ *= f_30_; + float f_31_ = f_29_ / (float) aClass348_Sub1_7004.method2723(-1); + if (i_7_ == -29343) { + float f_32_ = -(f_31_ * f_31_) + 1.0F; + if (f_32_ < 0.0F) f_32_ = 0.0F; + float f_33_ = f_28_ * f + (f_26_ * f_17_ + f_16_ * f_27_); + if (f_33_ < 0.0F) f_33_ = 0.0F; + float f_34_ = f_32_ * f_33_ * 2.0F; + if (f_34_ > 1.0F) f_34_ = 1.0F; + int i_35_ = aClass348_Sub1_7004.method2720(-1); + int i_36_ = (int) (f_34_ * (float) (0xff & i_35_ >> 16)); + if (i_36_ > 255) i_36_ = 255; + int i_37_ = (int) (f_34_ * (float) ((0xff76 & i_35_) >> 8)); + if (i_37_ > 255) i_37_ = 255; + int i_38_ = (int) ((float) (i_35_ & 0xff) * f_34_); + if (i_38_ > 255) i_38_ = 255; + if (Stream.c()) { + aStream7022.a((float) i_12_); + aStream7022.a((float) i_14_); + aStream7022.a((float) i_13_); + } else { + aStream7022.b((float) i_12_); + aStream7022.b((float) i_14_); + aStream7022.b((float) i_13_); + } + if (aHa_Sub3_7007.anInt8178 == 0) { + aStream7022.f(i_38_); + aStream7022.f(i_37_); + aStream7022.f(i_36_); + } else { + aStream7022.f(i_36_); + aStream7022.f(i_37_); + aStream7022.f(i_38_); + } + aStream7022.f(255); + method3034(i_15_, (byte) 49); + } + } + + private final void method3034(short i, byte i_39_) { + if (Stream.c()) aStream7021.d(i); + else aStream7021.a(i); + if (i_39_ == 49) anInt7000++; + } + + public static void method3035(int i) { + aClass114_7015 = null; + if (i != 1) method3035(-34); + } + + NodeSub38(GlToolkitSub3 var_ha_Sub3, BufferCacheSub3 var_s_Sub3, NodeSub1 class348_sub1, int[] is) { + try { + aHa_Sub3_7007 = var_ha_Sub3; + aS_Sub3_7019 = var_s_Sub3; + aClass348_Sub1_7004 = class348_sub1; + int i = (aClass348_Sub1_7004.method2723(-1) + -(var_s_Sub3.anInt4592 >> 1)); + anInt7023 = (-i + aClass348_Sub1_7004.method2724(-1) >> var_s_Sub3.anInt4588); + anInt7017 = (aClass348_Sub1_7004.method2724(-1) + i >> var_s_Sub3.anInt4588); + anInt7014 = (-i + aClass348_Sub1_7004.method2717((byte) 124) >> var_s_Sub3.anInt4588); + anInt7010 = (aClass348_Sub1_7004.method2717((byte) 72) + i >> var_s_Sub3.anInt4588); + int i_40_ = anInt7017 - anInt7023 - -1; + int i_41_ = 1 + -anInt7014 + anInt7010; + aFloatArrayArray7005 = new float[1 + i_40_][i_41_ - -1]; + aFloatArrayArray7016 = new float[i_40_ + 1][i_41_ + 1]; + aFloatArrayArray7001 = new float[1 + i_40_][i_41_ - -1]; + for (int i_42_ = 0; i_42_ <= i_41_; i_42_++) { + int i_43_ = anInt7014 + i_42_; + if (i_43_ > 0 && (-1 + aS_Sub3_7019.anInt4590 > i_43_)) { + for (int i_44_ = 0; i_44_ <= i_40_; i_44_++) { + int i_45_ = anInt7023 + i_44_; + if (i_45_ > 0 && i_45_ < aS_Sub3_7019.anInt4587 + -1) { + int i_46_ = (var_s_Sub3.method3982((byte) -86, i_43_, i_45_ + 1) - var_s_Sub3.method3982((byte) -86, i_43_, i_45_ + -1)); + int i_47_ = (var_s_Sub3.method3982((byte) -86, 1 + i_43_, i_45_) + -var_s_Sub3.method3982((byte) -86, i_43_ + -1, i_45_)); + float f = (float) (1.0 / (Math.sqrt(i_47_ * i_47_ + (i_46_ * i_46_ - -65536)))); + aFloatArrayArray7005[i_44_][i_42_] = (float) i_46_ * f; + aFloatArrayArray7016[i_44_][i_42_] = -256.0F * f; + aFloatArrayArray7001[i_44_][i_42_] = (float) i_47_ * f; + } + } + } + } + int i_48_ = 0; + for (int i_49_ = anInt7014; anInt7010 >= i_49_; i_49_++) { + if (i_49_ >= 0 && var_s_Sub3.anInt4590 > i_49_) { + for (int i_50_ = anInt7023; anInt7017 >= i_50_; i_50_++) { + if (i_50_ >= 0 && var_s_Sub3.anInt4587 > i_50_) { + int i_51_ = is[i_48_]; + int[] is_52_ = (var_s_Sub3.anIntArrayArrayArray8296[i_50_][i_49_]); + if (is_52_ != null && i_51_ != 0) { + if (i_51_ == 1) { + int i_53_ = 0; + while (is_52_.length > i_53_) { + if (is_52_[i_53_++] != -1 && (is_52_[i_53_++] != -1) && is_52_[i_53_++] != -1) anInt7018 += 3; + } + } else anInt7018 += 3; + } + } + i_48_++; + } + } else i_48_ += -anInt7023 + anInt7017; + } + if (anInt7018 > 0) { + aClass356_7011 = new LruCache(Component373.nextPowerOfTwo(anInt7018, (byte) 108)); + anInterface5_Impl2_7002 = aHa_Sub3_7007.method3840(-28633, false); + anInterface5_Impl2_7002.method23(15959, anInt7018); + jaclib.memory.heap.NativeHeapBuffer nativeheapbuffer = aHa_Sub3_7007.method3869((byte) 86, false, 16 * anInt7018); + aStream7022 = new Stream(nativeheapbuffer); + for (; ; ) { + Buffer buffer = anInterface5_Impl2_7002.method24(true, false); + if (buffer != null) { + aStream7021 = new Stream(buffer); + i_48_ = 0; + int i_54_ = 0; + for (int i_55_ = anInt7014; anInt7010 >= i_55_; i_55_++) { + if (i_55_ >= 0 && (i_55_ < var_s_Sub3.anInt4590)) { + int i_56_ = 0; + for (int i_57_ = anInt7023; anInt7017 >= i_57_; i_57_++) { + if (i_57_ >= 0 && (i_57_ < var_s_Sub3.anInt4587)) { + int i_58_ = is[i_48_]; + int[] is_59_ = (var_s_Sub3.anIntArrayArrayArray8296[i_57_][i_55_]); + if (is_59_ != null && i_58_ != 0) { + if (i_58_ == 1) { + int[] is_60_ = (var_s_Sub3.anIntArrayArrayArray8321[i_57_][i_55_]); + int[] is_61_ = (var_s_Sub3.anIntArrayArrayArray8313[i_57_][i_55_]); + int i_62_ = 0; + while (is_59_.length > i_62_) { + if (is_59_[i_62_] == -1 || is_59_[1 + i_62_] == -1 || is_59_[i_62_ + 2] == -1) i_62_ += 3; + else { + method3033(i_54_, i_57_, -29343, (is_61_[i_62_]), i_55_, (is_60_[i_62_]), i_56_); + i_62_++; + method3033(i_54_, i_57_, -29343, (is_61_[i_62_]), i_55_, (is_60_[i_62_]), i_56_); + i_62_++; + method3033(i_54_, i_57_, -29343, (is_61_[i_62_]), i_55_, (is_60_[i_62_]), i_56_); + i_62_++; + } + } + } else if (i_58_ == 3) { + method3033(i_54_, i_57_, -29343, 0, i_55_, 0, i_56_); + method3033(i_54_, i_57_, -29343, 0, i_55_, (var_s_Sub3.anInt4592), i_56_); + method3033(i_54_, i_57_, -29343, (var_s_Sub3.anInt4592), i_55_, 0, i_56_); + } else if (i_58_ == 2) { + method3033(i_54_, i_57_, -29343, 0, i_55_, (var_s_Sub3.anInt4592), i_56_); + method3033(i_54_, i_57_, -29343, (var_s_Sub3.anInt4592), i_55_, (var_s_Sub3.anInt4592), i_56_); + method3033(i_54_, i_57_, -29343, 0, i_55_, 0, i_56_); + } else if (i_58_ == 5) { + method3033(i_54_, i_57_, -29343, (var_s_Sub3.anInt4592), i_55_, (var_s_Sub3.anInt4592), i_56_); + method3033(i_54_, i_57_, -29343, (var_s_Sub3.anInt4592), i_55_, 0, i_56_); + method3033(i_54_, i_57_, -29343, 0, i_55_, (var_s_Sub3.anInt4592), i_56_); + } else if (i_58_ == 4) { + method3033(i_54_, i_57_, -29343, (var_s_Sub3.anInt4592), i_55_, 0, i_56_); + method3033(i_54_, i_57_, -29343, 0, i_55_, 0, i_56_); + method3033(i_54_, i_57_, -29343, (var_s_Sub3.anInt4592), i_55_, (var_s_Sub3.anInt4592), i_56_); + } + } + } + i_48_++; + i_56_++; + } + } else i_48_ += anInt7017 + -anInt7023; + i_54_++; + } + aStream7021.a(); + if (anInterface5_Impl2_7002.method22(-23)) break; + aStream7022.e(0); + aClass356_7011.clear(0); + } + } + aStream7022.a(); + anInterface5_Impl1_7020 = aHa_Sub3_7007.method3889(false, 16711680); + anInterface5_Impl1_7020.method17(nativeheapbuffer, 16, 16 * anInt7013, (byte) -108); + } else { + anInterface5_Impl1_7020 = null; + anInterface5_Impl2_7002 = null; + } + aFloatArrayArray7005 = aFloatArrayArray7016 = aFloatArrayArray7001 = null; + aStream7022 = null; + aStream7021 = null; + aClass356_7011 = null; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("sea.(" + (var_ha_Sub3 != null ? "{...}" : "null") + ',' + (var_s_Sub3 != null ? "{...}" : "null") + ',' + (class348_sub1 != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/nodes/NodeSub39.java b/client/nodes/NodeSub39.java new file mode 100644 index 000000000..b1d60e602 --- /dev/null +++ b/client/nodes/NodeSub39.java @@ -0,0 +1,17 @@ +/* NodeSub39 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NodeSub39 +/** + * RENAMED from `Class348_Sub39` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + short[] aShortArray7024; + byte[] aByteArray7025; + + NodeSub39(short[] is, byte[] is_0_) { + this.aShortArray7024 = is; + this.aByteArray7025 = is_0_; + } +} diff --git a/client/nodes/NodeSub41.java b/client/nodes/NodeSub41.java new file mode 100644 index 000000000..34f805986 --- /dev/null +++ b/client/nodes/NodeSub41.java @@ -0,0 +1,302 @@ +/* NodeSub41 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NodeSub41 +/** + * RENAMED from `Class348_Sub41` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + static int anInt7046; + static int anInt7047; + static String aString7048; + static int anInt7049; + int anInt7050; + static int anInt7051; + static Component183 aClass114_7052 = new Component183(86, 6); + int anInt7053; + static int anInt7054; + static int anInt7055; + /*synthetic*/ static Class aClass7056; + + static final boolean method3154(int i, int i_0_, int i_1_, int i_2_, byte[] is, byte i_3_) { + anInt7047++; + if (i_3_ != 39) aClass114_7052 = null; + boolean bool = true; + Buffer class348_sub49 = new Buffer(is); + int i_4_ = -1; + for (; ; ) { + int i_5_ = class348_sub49.readLargeSmart(107); + if (i_5_ == 0) break; + i_4_ += i_5_; + int i_6_ = 0; + boolean bool_7_ = false; + for (; ; ) { + if (bool_7_) { + int i_8_ = class348_sub49.readSmart(-118); + if (i_8_ == 0) break; + class348_sub49.readUnsignedByte(255); + } else { + int i_9_ = class348_sub49.readSmart(i_3_ ^ ~0x58); + if (i_9_ == 0) break; + i_6_ += -1 + i_9_; + int i_10_ = i_6_ & 0x3f; + int i_11_ = i_6_ >> 6 & 0x3f; + int i_12_ = class348_sub49.readUnsignedByte(255) >> 2; + int i_13_ = i_11_ - -i_0_; + int i_14_ = i_2_ + i_10_; + if (i_13_ > 0 && i_14_ > 0 && i_13_ < -1 + i && -1 + i_1_ > i_14_) { + Component44 class51 = GradientPreset.aClass263_9195.method2005(0, i_4_); + if (i_12_ != 22 || Component192.aClass348_Sub51_3959.aClass239_Sub4_7220.method1737(-32350) != 0 || class51.anInt874 != 0 || (class51.anInt920 == 1) || class51.aBoolean947) { + bool_7_ = true; + if (!class51.method485(9773)) { + Component101.anInt2101++; + bool = false; + } + } + } + } + } + } + return bool; + } + + public static void method3155(int i) { + aString7048 = null; + aClass114_7052 = null; + if (i != -5) anInt7054 = 110; + } + + /** Parse decimal int ({@link RadixText#parseIntRadix} radix 10). */ + static final int parseInt(boolean bool, String string) { + anInt7055++; + if (bool != true) aClass114_7052 = null; + return RadixText.parseIntRadix(-123, 10, true, string); + } + + static final void method3157(int i, byte i_15_, int i_16_, int i_17_, boolean bool) { + anInt7049++; + if (bool || i_16_ != GraphicsToolkit.anInt4581 || DisplayModeManagerContainer363.anInt4095 != i || (Component117.anInt4372 != Component385.anInt2204 && Component192.aClass348_Sub51_3959.aClass239_Sub27_7261.method1840(-32350) != 1)) { + GraphicsToolkit.anInt4581 = i_16_; + DisplayModeManagerContainer363.anInt4095 = i; + Component385.anInt2204 = Component117.anInt4372; + if (Component192.aClass348_Sub51_3959.aClass239_Sub27_7261.method1840(-32350) == 1) Component385.anInt2204 = 0; + Buffer.setClientState(2, i_17_); + Component149.method3511(true, Applet_Sub1.aClass324_20, Component163.aClass143_3179, FriendsIgnoreList.aClass274_3495.getLocalized(ObjectDeserializer.languageId, 544), 2, NodeSub8.toolkit); + int i_18_ = NodeBaseSub2.regionTileX; + int i_19_ = Component330.regionTileY; + NodeBaseSub2.regionTileX = (-(AbstractShaderSub4.anInt7319 >> 4) + GraphicsToolkit.anInt4581) * 8; + Component330.regionTileY = 8 * (DisplayModeManagerContainer363.anInt4095 - (ParametricDefinition.anInt9109 >> 4)); + Request.aClass348_Sub42_Sub14_6885 = DisplayModeManagerContainer229.method766(GraphicsToolkit.anInt4581 * 8, DisplayModeManagerContainer363.anInt4095 * 8); + CacheNodeSub2.aClass252_10488 = null; + int i_20_ = NodeBaseSub2.regionTileX - i_18_; + int i_21_ = -i_19_ + Component330.regionTileY; + if (i_17_ == 11) { + for (int i_22_ = 0; NodeSub32.anInt6930 > i_22_; i_22_++) { + NodeSub22 class348_sub22 = DefinitionSub23.aClass348_Sub22Array9319[i_22_]; + if (class348_sub22 != null) { + Npc npc = (class348_sub22.npc); + for (int i_23_ = 0; i_23_ < 10; i_23_++) { + npc.anIntArray10320[i_23_] -= i_20_; + npc.anIntArray10317[i_23_] -= i_21_; + } + npc.y -= i_21_ * 512; + npc.x -= i_20_ * 512; + } + } + } else { + Component324.anInt2057 = 0; + boolean bool_24_ = false; + int i_25_ = AbstractShaderSub4.anInt7319 * 512 - 512; + int i_26_ = 512 * (-1 + ParametricDefinition.anInt9109); + for (int i_27_ = 0; (NodeSub32.anInt6930 > i_27_); i_27_++) { + NodeSub22 class348_sub22 = DefinitionSub23.aClass348_Sub22Array9319[i_27_]; + if (class348_sub22 != null) { + Npc npc = (class348_sub22.npc); + npc.y -= 512 * i_21_; + npc.x -= 512 * i_20_; + if ((npc.x) < 0 || i_25_ < (npc.x) || (npc.y) < 0 || i_26_ < (npc.y)) { + npc.method2448(null, -2); + class348_sub22.unlink((byte) 80); + bool_24_ = true; + } else { + boolean bool_28_ = true; + for (int i_29_ = 0; i_29_ < 10; i_29_++) { + npc.anIntArray10320[i_29_] -= i_20_; + npc.anIntArray10317[i_29_] -= i_21_; + if ((npc.anIntArray10320[i_29_]) < 0 || ((npc.anIntArray10320[i_29_]) >= AbstractShaderSub4.anInt7319) || (npc.anIntArray10317[i_29_]) < 0 || (ParametricDefinition.anInt9109 <= (npc.anIntArray10317[i_29_]))) + bool_28_ = false; + } + if (!bool_28_) { + npc.method2448(null, -2); + bool_24_ = true; + class348_sub22.unlink((byte) 113); + } else DisplayModeManagerContainer238.anIntArray1233[Component324.anInt2057++] = (npc.anInt10290); + } + } + } + if (bool_24_) { + NodeSub32.anInt6930 = Component21.aClass356_3654.size(1); + Component21.aClass356_3654.method3477(3, DefinitionSub23.aClass348_Sub22Array9319); + } + } + if (i_15_ > 122) { + for (int i_30_ = 0; i_30_ < 2048; i_30_++) { + Player player = (InterfaceRenderer.players[i_30_]); + if (player != null) { + for (int i_31_ = 0; i_31_ < 10; i_31_++) { + player.anIntArray10320[i_31_] -= i_20_; + player.anIntArray10317[i_31_] -= i_21_; + } + player.x -= i_20_ * 512; + player.y -= 512 * i_21_; + } + } + Component114[] class302s = NodeSub27.aClass302Array6897; + for (int i_32_ = 0; class302s.length > i_32_; i_32_++) { + Component114 class302 = class302s[i_32_]; + if (class302 != null) { + class302.anInt3832 -= i_21_ * 512; + class302.anInt3835 -= 512 * i_20_; + } + } + for (NodeSub27 class348_sub27 = ((NodeSub27) HashNodeSub20.aClass262_9711.first(4)); class348_sub27 != null; class348_sub27 = (NodeSub27) HashNodeSub20.aClass262_9711.next((byte) 68)) { + class348_sub27.anInt6896 -= i_21_; + class348_sub27.anInt6905 -= i_20_; + if (Component37.anInt3931 != 4 && (class348_sub27.anInt6905 < 0 || class348_sub27.anInt6896 < 0 || (class348_sub27.anInt6905 >= AbstractShaderSub4.anInt7319) || (ParametricDefinition.anInt9109 <= (class348_sub27.anInt6896)))) class348_sub27.unlink((byte) 101); + } + if (Component37.anInt3931 != 4) { + for (NodeSub37 class348_sub37 = ((NodeSub37) Component387.aClass356_1895.first(0)); class348_sub37 != null; class348_sub37 = ((NodeSub37) Component387.aClass356_1895.next(0))) { + int i_33_ = (int) (0x3fffL & class348_sub37.key); + int i_34_ = -NodeBaseSub2.regionTileX + i_33_; + int i_35_ = (int) (0x3fffL & (class348_sub37.key >> 14)); + int i_36_ = i_35_ + -Component330.regionTileY; + if (i_34_ < 0 || i_36_ < 0 || (i_34_ >= AbstractShaderSub4.anInt7319) || i_36_ >= ParametricDefinition.anInt9109) class348_sub37.unlink((byte) 37); + } + } + if (Component253.anInt3203 != 0) { + Component253.anInt3203 -= i_20_; + Component263.anInt1548 -= i_21_; + } + NpcDefinition.method2928(true); + if (i_17_ != 11) { + Component300.anInt3550 -= i_21_; + WaterSurfaceShader.anInt6246 -= 512 * i_20_; + Component48.anInt4336 -= i_20_; + Component337.anInt3647 -= i_21_; + NodeSub35.anInt6981 -= i_20_; + Component317.anInt8685 -= 512 * i_21_; + if ((AbstractShaderSub4.anInt7319 < Math.abs(i_20_)) || Math.abs(i_21_) > ParametricDefinition.anInt9109) DisplayModeManagerContainer154.method773(true); + } else if (DefinitionSub21.cameraMode == 4) { + NodeSub7.anInt6652 -= i_21_ * 512; + DisplayModeManagerContainer273.cameraFocusX -= i_20_ * 512; + Component353.cameraFocusZ -= 512 * i_21_; + NodederUtil.anInt6633 -= i_20_ * 512; + } else { + DefinitionSub21.cameraMode = 1; + JaclibLoader.anInt167 = ShaderLinker.anInt10163 = -1; + } + DefinitionSub39.method3153(0); + Component308.method464(-1); + CacheNodeSub2.aClass262_10492.clear(107); + DefinitionSub17.aClass262_9240.clear(103); + Component241.aClass243_2957.method1876((byte) -45); + AudioMixer.method1911((byte) 99); + } + } + } + + /** + * JS5 container: type 0 = raw, 1 = bzip2, else GZIP. + * Header: {@code type}, uncompressed length, optional compressed length. + */ + static final byte[] decompressContainer(byte[] is, int i) { + anInt7046++; + Buffer class348_sub49 = new Buffer(is); + int i_37_ = class348_sub49.readUnsignedByte(255); + if (i > -74) parseInt(true, null); + int i_38_ = class348_sub49.readInt((byte) -126); + if (i_38_ < 0 || (Component336.anInt401 != 0 && i_38_ > Component336.anInt401)) { + throw new RuntimeException(); + } + if (i_37_ != 0) { + int i_39_ = class348_sub49.readInt((byte) -126); + if (i_39_ < 0 || (Component336.anInt401 != 0 && i_39_ > Component336.anInt401) || i_39_ > 10000000) { + return new byte[4]; + } + byte[] is_40_ = new byte[i_39_]; + if (i_37_ == 1) Component187.decompressBzip2(is_40_, i_39_, is, i_38_, 9); + else { + synchronized (ObjectDeserializer.gzipDecompressor) { + ObjectDeserializer.gzipDecompressor.inflateGzip(is_40_, 29123, class348_sub49); + } + } + return is_40_; + } + byte[] is_41_ = new byte[i_38_]; + class348_sub49.readBytes(2147483647, 0, i_38_, is_41_); + return is_41_; + } + + static final void method3159(int i, int i_42_, boolean bool, int i_43_, int i_44_, int i_45_, GraphicsToolkit var_ha, int i_46_, int i_47_) { + anInt7051++; + Interface10 interface10 = (Interface10) CacheNodeSub2.method3297(i_43_, i_45_, i_44_); + if (interface10 != null) { + Component44 class51 = GradientPreset.aClass263_9195.method2005(0, interface10.method42(-124)); + int i_48_ = 0x3 & interface10.method41(-32228); + int i_49_ = interface10.method39(35); + if (class51.anInt875 == -1) { + int i_50_ = i_47_; + if (class51.anInt874 > 0) i_50_ = i; + if (i_49_ == 0 || i_49_ == 2) { + if (i_48_ != 0) { + if (i_48_ == 1) var_ha.method3649((byte) -79, 4, i_42_, i_50_, i_46_); + else if (i_48_ == 2) var_ha.method3660(3 + i_46_, i_50_, 4, i_42_, true); + else if (i_48_ == 3) var_ha.method3649((byte) -121, 4, i_42_ + 3, i_50_, i_46_); + } else var_ha.method3660(i_46_, i_50_, 4, i_42_, !bool); + } + if (i_49_ == 3) { + if (i_48_ != 0) { + if (i_48_ == 1) var_ha.method3675(1, (byte) -125, 3 + i_46_, i_42_, 1, i_50_); + else if (i_48_ != 2) { + if (i_48_ == 3) var_ha.method3675(1, (byte) -125, i_46_, 3 + i_42_, 1, i_50_); + } else var_ha.method3675(1, (byte) -125, 3 + i_46_, 3 + i_42_, 1, i_50_); + } else var_ha.method3675(1, (byte) -125, i_46_, i_42_, 1, i_50_); + } + if (i_49_ == 2) { + if (i_48_ != 0) { + if (i_48_ == 1) var_ha.method3660(3 + i_46_, i_50_, 4, i_42_, true); + else if (i_48_ != 2) { + if (i_48_ == 3) var_ha.method3660(i_46_, i_50_, 4, i_42_, true); + } else var_ha.method3649((byte) -106, 4, 3 + i_42_, i_50_, i_46_); + } else var_ha.method3649((byte) -96, 4, i_42_, i_50_, i_46_); + } + } else Component119.method2028(i_46_, class51, i_42_, var_ha, i_48_, 126); + } + if (bool != false) anInt7054 = 122; + interface10 = ((Interface10) DisplayModeManagerContainer249.method1353(i_43_, i_45_, i_44_, (aClass7056 != null ? aClass7056 : (aClass7056 = Interface10.class)))); + if (interface10 != null) { + Component44 class51 = GradientPreset.aClass263_9195.method2005(0, interface10.method42(-88)); + int i_51_ = interface10.method41(-32228) & 0x3; + int i_52_ = interface10.method39(-126); + if (class51.anInt875 != -1) Component119.method2028(i_46_, class51, i_42_, var_ha, i_51_, -86); + else if (i_52_ == 9) { + int i_53_ = -1118482; + if (class51.anInt874 > 0) i_53_ = -1179648; + if (i_51_ != 0 && i_51_ != 2) var_ha.method3645(i_42_, i_46_, 3 + i_46_, -8003, i_53_, i_42_ + 3); + else var_ha.method3645(i_42_ + 3, i_46_, 3 + i_46_, -8003, i_53_, i_42_); + } + } + interface10 = (Interface10) BrowserUrlOpener.method2878(i_43_, i_45_, i_44_); + if (interface10 != null) { + Component44 class51 = GradientPreset.aClass263_9195.method2005(0, interface10.method42(-118)); + int i_54_ = interface10.method41(-32228) & 0x3; + if (class51.anInt875 != -1) Component119.method2028(i_46_, class51, i_42_, var_ha, i_54_, -5); + } + } + + public NodeSub41() { + /* empty */ + } + +} diff --git a/client/nodes/NodeSub44.java b/client/nodes/NodeSub44.java new file mode 100644 index 000000000..070afcd7d --- /dev/null +++ b/client/nodes/NodeSub44.java @@ -0,0 +1,69 @@ +/* NodeSub44 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NodeSub44 +/** + * RENAMED from `Class348_Sub44` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + static int anInt7091; + static int anInt7092; + int anInt7093; + static int anInt7094; + static int anInt7095; + static int anInt7096; + static int anInt7097; + int anInt7098; + static int anInt7099; + static int anInt7100; + static int anInt7101; + + final boolean method3301(int i, boolean bool) { + anInt7091++; + if (bool != false) anInt7092 = 29; + return (0x1 & this.anInt7098 >> i + 1) != 0; + } + + final boolean method3302(int i) { + if (i != 17356) method3305(8); + anInt7095++; + return (0x3df376 & this.anInt7098) >> 21 != 0; + } + + final boolean method3303(int i) { + anInt7094++; + if (i != 1) anInt7092 = -24; + return (this.anInt7098 & 0x433bfd) >> 22 != 0; + } + + final int method3304(byte i) { + anInt7099++; + if (i < 43) method3301(-16, false); + return (this.anInt7098 & 0x1f77eb) >> 18; + } + + final boolean method3305(int i) { + anInt7096++; + if (i != 0) return true; + return (0x1 & this.anInt7098) != 0; + } + + static final int method3306(byte i) { + if (i >= -90) anInt7101 = -7; + anInt7097++; + if (Buffer.anInt7207 == 1) return Component25.anInt6008; + return HashTable.anInt1651; + } + + final int method3307(int i) { + anInt7100++; + if (i < 10) this.anInt7093 = -51; + return DefinitionSub5.method3060(this.anInt7098, true); + } + + NodeSub44(int i, int i_0_) { + this.anInt7093 = i_0_; + this.anInt7098 = i; + } +} diff --git a/client/nodes/NodeSub45.java b/client/nodes/NodeSub45.java new file mode 100644 index 000000000..87a269f46 --- /dev/null +++ b/client/nodes/NodeSub45.java @@ -0,0 +1,76 @@ +/* NodeSub45 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * Queued mouse event (press / release / wheel) produced by {@link MouseHandler#popEvent}. + *

+ * Desktop: {@link NodeSub45Sub1} from {@link AwtMouseHandler}; fallback: + * {@link NodeSub45Sub2} from {@link BasicMouseHandler}. + *

+ * {@link #getEventType}: 0=left press, 1=middle, 2=right, 3/4/5=releases, 6=wheel. + * Coordinates are canvas pixels ({@link #getX}/{@link #getY}); {@link #getWhen} is + * {@link Component240#currentTimeMillis} at enqueue; {@link #getClickCount} is AWT click count. + *

+ * RENAMED from {@code Class348_Sub45}. + */ +abstract class NodeSub45 extends Node { + static int anInt7102 = 1400; + static DisplayModeManagerContainer42 aClass304_7103 = new DisplayModeManagerContainer42(3); + static int anInt7104; + static Component183 aClass114_7105 = new Component183(101, 20); + static Component183 aClass114_7106 = new Component183(36, -2); + static Component24[] aClass105Array7107; + static TeleportHandler[] aClass361Array7108 = new TeleportHandler[4]; + + /** Event X in canvas pixels. */ + abstract int getX(byte i); + + static final void method3309(int i) { + Component160.anIntArrayArrayArray4356 = (new int[Component291.anInt2524][1 + StaticElementRenderer.anInt6451] + [1 + NodeSub41.anInt7054]); + anInt7104++; + NodeSub44.anInt7101 = 0; + Component53.anInt194 = Component148.anInt3465; + DisplayModeManagerContainer104.aClass338Array10330 = new Component103[2000]; + GlToolkitSub2.anInt7714 = Component148.anInt3465; + Cp1252Decoder.aBoolean5226 = false; + Component335.aClass338Array2034 = new Component103[500]; + Component325.occluderCountB = 0; + RadixText.occluderCountA = 0; + InterfaceRenderer.aClass338Array5060 = new Component103[1000]; + if (i > -113) aClass304_7103 = null; + HashNodeSub10.activeOccluderCount = 0; + HashNodeSub19.aClass338Array9700 = new Component103[(int) (500 * Loader.RENDER_DISTANCE_MULTIPLIER)]; + DefinitionSub23.aBoolean9307 = !(JaclibLoader.toolkit instanceof OpenGLToolkit); + } + + public NodeSub45() { + /* empty */ + } + + /** Press/release/wheel kind (see class javadoc). */ + abstract int getEventType(int i); + + /** Event Y in canvas pixels. */ + abstract int getY(int i); + + /** Enqueue timestamp (client millis). */ + abstract long getWhen(byte i); + + static final void method3313(int i, s var_s) { + ShaderSub1.aSArray5191[i] = var_s; + } + + public static void method3314(int i) { + aClass114_7106 = null; + if (i != 5) method3313(-103, null); + aClass114_7105 = null; + aClass361Array7108 = null; + aClass105Array7107 = null; + aClass304_7103 = null; + } + + /** AWT click count (or 0 for synthetic / wheel). */ + abstract int getClickCount(int i); +} diff --git a/client/nodes/NodeSub45Sub1.java b/client/nodes/NodeSub45Sub1.java new file mode 100644 index 000000000..3b28479bb --- /dev/null +++ b/client/nodes/NodeSub45Sub1.java @@ -0,0 +1,45 @@ +/* NodeSub45Sub1 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * AWT-backed mouse event ({@link AwtMouseHandler}). + * Fields mirror {@link NodeSub45} getters. + */ +final class NodeSub45Sub1 extends NodeSub45 { + /** Canvas Y. */ + int y; + /** Enqueue time (client millis). */ + long when; + /** AWT click count. */ + int clickCount; + /** See {@link NodeSub45#getEventType}. */ + int eventType; + /** Canvas X. */ + int x; + + final int getEventType(int i) { + if (i < 50) return 113; + return this.eventType; + } + + final long getWhen(byte i) { + if (i > -79) getX((byte) -8); + return this.when; + } + + final int getY(int i) { + int i_0_ = 48 % ((i - -61) / 40); + return this.y; + } + + final int getClickCount(int i) { + if (i != 0) return 57; + return this.clickCount; + } + + final int getX(byte i) { + if (i >= -126) return -80; + return this.x; + } +} diff --git a/client/nodes/NodeSub45Sub2.java b/client/nodes/NodeSub45Sub2.java new file mode 100644 index 000000000..4c6898366 --- /dev/null +++ b/client/nodes/NodeSub45Sub2.java @@ -0,0 +1,62 @@ +/* NodeSub45Sub2 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * Fallback mouse event ({@link BasicMouseHandler}) when AWT wheel handler is unavailable. + * Fields mirror {@link NodeSub45} getters. + */ +final class NodeSub45Sub2 extends NodeSub45 { + /** AWT click count (or 0). */ + int clickCount; + static int anInt9731; + static int anInt9732; + /** Canvas Y. */ + int y; + /** Enqueue time (client millis). */ + long when; + static int anInt9735; + /** See {@link NodeSub45#getEventType}. */ + int eventType; + static int anInt9737; + static int anInt9738; + /** Canvas X. */ + int x; + static int anInt9740; + + final int getEventType(int i) { + anInt9731++; + if (i < 50) this.x = 69; + return this.eventType; + } + + static final void method3316(int i, int i_0_) { + anInt9732++; + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i_0_, (byte) 105, 3); + if (i > 108) class348_sub42_sub15.method3251(-16058); + } + + final int getY(int i) { + anInt9740++; + int i_1_ = 49 / ((-61 - i) / 40); + return this.y; + } + + final int getX(byte i) { + anInt9735++; + if (i > -126) this.x = 25; + return this.x; + } + + final long getWhen(byte i) { + if (i > -79) return 102L; + anInt9737++; + return this.when; + } + + final int getClickCount(int i) { + if (i != 0) this.x = 66; + anInt9738++; + return this.clickCount; + } +} diff --git a/client/nodes/NodeSub46.java b/client/nodes/NodeSub46.java new file mode 100644 index 000000000..e65a47ee3 --- /dev/null +++ b/client/nodes/NodeSub46.java @@ -0,0 +1,97 @@ +/* NodeSub46 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NodeSub46 +/** + * RENAMED from `Class348_Sub46` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + static int anInt7109; + static int anInt7110; + /** Identity string for this node (equals-matched by callers). */ + String name; + static int anInt7112; + static Component183 aClass114_7113 = new Component183(97, 0); + static int anInt7114; + static int anInt7115 = 1; + + /** Close and clear {@link Component40#consoleLogStream}. */ + static final void closeConsoleLogStream(byte i) { + if (Component40.consoleLogStream != null) { + try { + Component40.consoleLogStream.close(); + } catch (java.io.IOException ioexception) { + /* empty */ + } + } + if (i > -33) method3321(-73, 3, 6); + anInt7110++; + Component40.consoleLogStream = null; + } + + public static void method3318(byte i) { + if (i != -80) method3322(-26, null); + aClass114_7113 = null; + } + + static final void method3319(GraphicsToolkit var_ha, byte i) { + if (i > -108) method3321(19, 60, 108); + anInt7114++; + if (((Component72.localPlayer.plane) != NativeLibLoader.anInt4155) && Component335.aClass357ArrayArrayArray2029 != null) { + if (NodeSub14.method2808((Component72.localPlayer.plane), var_ha, true)) NativeLibLoader.anInt4155 = Component72.localPlayer.plane; + } + } + + static final void method3320(Component327 class318_sub1_sub3, boolean bool) { + for (int i = class318_sub1_sub3.aShort8743; i <= class318_sub1_sub3.aShort8751; i++) { + for (int i_0_ = class318_sub1_sub3.aShort8750; i_0_ <= class318_sub1_sub3.aShort8747; i_0_++) { + Component186 class357 = (Component335.aClass357ArrayArrayArray2029[class318_sub1_sub3.plane][i][i_0_]); + if (class357 != null) { + Component3 class148 = class357.aClass148_4396; + Component3 class148_1_ = null; + for (/**/; class148 != null; class148 = class148.aClass148_2038) { + if (class148.aClass318_Sub1_Sub3_2040 == class318_sub1_sub3) { + if (class148_1_ != null) class148_1_.aClass148_2038 = class148.aClass148_2038; + else class357.aClass148_4396 = class148.aClass148_2038; + class148.method1199((byte) -106); + break; + } + class148_1_ = class148; + } + } + } + } + if (!bool) Component191.method1376(class318_sub1_sub3); + } + + static final Component186 method3321(int i, int i_2_, int i_3_) { + if (Component335.aClass357ArrayArrayArray2029[i][i_2_][i_3_] == null) { + boolean bool = (Component335.aClass357ArrayArrayArray2029[0][i_2_][i_3_] != null && Component335.aClass357ArrayArrayArray2029[0][i_2_][i_3_].aClass357_4400 != null); + if (bool && i >= Component291.anInt2524 - 1) return null; + Component316.method1394(i, i_2_, i_3_); + } + return Component335.aClass357ArrayArrayArray2029[i][i_2_][i_3_]; + } + + static final Component76 method3322(int i, Buffer class348_sub49) { + anInt7109++; + Component27 class369 = NodeSub16Sub2.method2834((byte) -125, class348_sub49); + int i_4_ = class348_sub49.readUnsignedShort(i ^ 0x3235f8f8); + int i_5_ = class348_sub49.readUnsignedShort(842397944); + if (i != 0) aClass114_7113 = null; + int i_6_ = class348_sub49.readUnsignedShort(842397944); + int i_7_ = class348_sub49.readUnsignedShort(i + 842397944); + int i_8_ = class348_sub49.readUnsignedShort(842397944); + int i_9_ = class348_sub49.readUnsignedShort(842397944); + return new Component76(class369.aClass221_4968, class369.aClass341_4973, class369.anInt4970, class369.anInt4959, class369.anInt4971, class369.anInt4963, class369.anInt4966, class369.anInt4965, class369.anInt4961, i_4_, i_5_, i_6_, i_7_, i_8_, i_9_); + } + + public NodeSub46() { + /* empty */ + } + + NodeSub46(String string, int i) { + this.name = string; + } +} diff --git a/client/nodes/NodeSub48.java b/client/nodes/NodeSub48.java new file mode 100644 index 000000000..7936a1bbf --- /dev/null +++ b/client/nodes/NodeSub48.java @@ -0,0 +1,30 @@ +/* NodeSub48 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NodeSub48 +/** + * RENAMED from `Class348_Sub48` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + int anInt7126; + Task[] aClass144Array7127; + byte[][][] aByteArrayArrayArray7128; + static int anInt7129 = 0; + int anInt7130; + int[] anIntArray7131; + int[] anIntArray7132; + static int anInt7133; + static int anInt7134; + Task[] aClass144Array7135; + int[] anIntArray7136; + + /** Install (or clear) the bitmap font used by the FPS/occluder debug overlay. */ + static final void setDebugOverlayFont(BitmapFont class324) { + Component149.debugOverlayFont = class324; + } + + public NodeSub48() { + /* empty */ + } +} diff --git a/client/nodes/NodeSub5.java b/client/nodes/NodeSub5.java new file mode 100644 index 000000000..922468db1 --- /dev/null +++ b/client/nodes/NodeSub5.java @@ -0,0 +1,164 @@ +/* NodeSub5 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.awt.*; +import java.io.IOException; +import java.net.Socket; + +abstract class NodeSub5 +/** + * RENAMED from `Class348_Sub5` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + GlToolkitSub2 aHa_Sub2_6618; + static int anInt6619; + static int anInt6620; + boolean aBoolean6621; + static int anInt6622; + static int anInt6623; + static byte[] aByteArray6624 = new byte[2048]; + static int anInt6625; + static int anInt6626; + static Component24 aClass105_6627; + static int anInt6628; + static int anInt6629; + + abstract void method2750(GlTexture class258_sub3, GlTexture class258_sub3_0_, int i, byte i_1_); + + abstract boolean method2751(boolean bool); + + static final Component161 method2752(int i, int i_2_) { + anInt6625++; + Component161[] class138s = NodeSub27.method3002((byte) -97); + for (int i_3_ = i_2_; class138s.length > i_3_; i_3_++) { + if (i == class138s[i_3_].anInt1941) return class138s[i_3_]; + } + return null; + } + + static final GraphicsToolkit method2753(boolean bool, int i, int i_4_, Canvas canvas, d var_d) { + try { + anInt6628++; + if (bool != true) aByteArray6624 = null; + return new GlToolkitSub1(canvas, var_d, i_4_, i); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("fba.M(" + bool + ',' + i + ',' + i_4_ + ',' + (canvas != null ? "{...}" : "null") + ',' + (var_d != null ? "{...}" : "null") + ')')); + } + } + + abstract void method2754(int i, byte i_5_, int i_6_); + + static final void method2755(int i, int i_7_, int i_8_) { + anInt6629++; + if ((~PlayerState.anInt7068) != i) { + if (i_8_ >= 0) AbstractShaderSub3.anIntArray7299[i_8_] = i_7_; + else { + for (int i_9_ = 0; i_9_ < 16; i_9_++) + AbstractShaderSub3.anIntArray7299[i_9_] = i_7_; + } + } + Component122.aClass348_Sub16_Sub3_1564.method2843(i_7_, i_8_, -7836); + } + + abstract void method2756(byte i, int i_10_); + + static final void method2757(int i) { + anInt6620++; + if (AbstractShaderSub2.anInt7297 != 0) { + try { + if (i >= 82) { + if (++RequestProcessor.anInt2264 > 2000) { + if (DefinitionSub8.aClass238_9165 != null) { + DefinitionSub8.aClass238_9165.close((byte) 36); + DefinitionSub8.aClass238_9165 = null; + } + if (SpriteSub1.anInt8398 >= 2) { + AbstractShaderSub2.anInt7297 = 0; + Component48.anInt4337 = -5; + return; + } + ItemDefinitionProvider.aClass161_3285.method1259(0); + AbstractShaderSub2.anInt7297 = 1; + RequestProcessor.anInt2264 = 0; + SpriteSub1.anInt8398++; + } + if (AbstractShaderSub2.anInt7297 == 1) { + DisplayModeManagerContainer273.aClass144_5800 = (ItemDefinitionProvider.aClass161_3285.method1262(OggUrlStream.aClass297_8992, (byte) 36)); + AbstractShaderSub2.anInt7297 = 2; + } + if (AbstractShaderSub2.anInt7297 == 2) { + if (DisplayModeManagerContainer273.aClass144_5800.status == 2) throw new IOException(); + if (DisplayModeManagerContainer273.aClass144_5800.status != 1) return; + DefinitionSub8.aClass238_9165 = OggStreamReader.openSocketStream(((Socket) (DisplayModeManagerContainer273.aClass144_5800.result)), (byte) 24, 7500); + DisplayModeManagerContainer273.aClass144_5800 = null; + Component302.method1802(0); + AbstractShaderSub2.anInt7297 = 4; + } + if (AbstractShaderSub2.anInt7297 == 4) { + if (DefinitionSub8.aClass238_9165.availableAtLeast(1, 104)) { + DefinitionSub8.aClass238_9165.readBytes(1, 0, (byte) -116, (Component80.aClass348_Sub49_Sub2_3813.payload)); + int i_11_ = 0xff & (Component80.aClass348_Sub49_Sub2_3813.payload[0]); + Component48.anInt4337 = i_11_; + AbstractShaderSub2.anInt7297 = 0; + DefinitionSub8.aClass238_9165.close((byte) 36); + DefinitionSub8.aClass238_9165 = null; + } + } + } + } catch (IOException ioexception) { + if (DefinitionSub8.aClass238_9165 != null) { + DefinitionSub8.aClass238_9165.close((byte) 36); + DefinitionSub8.aClass238_9165 = null; + } + if (SpriteSub1.anInt8398 < 2) { + ItemDefinitionProvider.aClass161_3285.method1259(0); + RequestProcessor.anInt2264 = 0; + SpriteSub1.anInt8398++; + AbstractShaderSub2.anInt7297 = 1; + } else { + Component48.anInt4337 = -4; + AbstractShaderSub2.anInt7297 = 0; + } + } + } + } + + abstract boolean method2758(int i); + + final boolean method2759(int i) { + if (i != 1) return true; + anInt6626++; + return false; + } + + final boolean method2760(byte i) { + if (i != 1) method2763((byte) 37); + anInt6619++; + return this.aBoolean6621; + } + + int method2761(boolean bool) { + anInt6622++; + if (bool != true) method2757(-63); + return 0; + } + + public static void method2762(int i) { + aByteArray6624 = null; + aClass105_6627 = null; + int i_12_ = -23 % ((i - -24) / 47); + } + + abstract void method2763(byte i); + + NodeSub5(GlToolkitSub2 var_ha_Sub2) { + this.aHa_Sub2_6618 = var_ha_Sub2; + } + + final int method2764(int i) { + if (i != 1) aByteArray6624 = null; + anInt6623++; + return 1; + } +} diff --git a/client/nodes/NodeSub50.java b/client/nodes/NodeSub50.java new file mode 100644 index 000000000..ff491aa2a --- /dev/null +++ b/client/nodes/NodeSub50.java @@ -0,0 +1,45 @@ +/* NodeSub50 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NodeSub50 +/** + * RENAMED from `Class348_Sub50` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + static int anInt7210; + /** Payload string — typically an enum String value. */ + String stringValue; + static byte[][] aByteArrayArray7212; + static int anInt7213 = 0; + static int anInt7214; + + public static void method3418(int i) { + if (i >= 108) aByteArrayArray7212 = null; + } + + static final void method3419(int i) { + ClientSystemInfo.anIntArray6878 = null; + FriendLoginMessage.anIntArray8785 = null; + DefinitionSub6.anIntArray9135 = null; + anInt7210++; + if (i != 13022) method3418(-79); + HashNodeSub3.aBoolean9498 = false; + DisplayModeManagerContainer232.anIntArray4692 = null; + NodeSub8.anIntArray6655 = null; + } + + public NodeSub50() { + /* empty */ + } + + NodeSub50(String string) { + this.stringValue = string; + } + + static final int method3420(int i) { + if (i != 0) method3420(101); + anInt7214++; + return DisplayModeManagerContainer207.method3405(2012104999, false); + } +} diff --git a/client/nodes/NodeSub51.java b/client/nodes/NodeSub51.java new file mode 100644 index 000000000..60580e2fd --- /dev/null +++ b/client/nodes/NodeSub51.java @@ -0,0 +1,377 @@ +/* NodeSub51 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.lang.reflect.Field; + +final class NodeSub51 +/** + * RENAMED from `Class348_Sub51` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + RadixText aClass239_Sub26_7215; + Component20 aClass239_Sub20_7216; + static int anInt7217; + private static short[][] aShortArrayArray7218 = {{8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906, 8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906, 8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906, 8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906}, {8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906, 8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906, 8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906, 8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906}, {8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906, 8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906, 8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906, 8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906}, {8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906, 8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906, 8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906, 13756, 13735, 13716, 13880, 13733, 13842, 17592, 18595, 21650, 23990, 24987, 24078, 27962, 25893, 26894, 27183, 27165, 27146, 30010, 28965, 29966, 12472, 13475, 10382, 10682, 10659, 10766, 6707, 6685, 7820, 6961, 6941, 5900, 3379, 3359, 3346, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {4296, 3290, 3299, 3260, 4502, 4378, 4383, 5289, 7618, 7380, 8408, 7492, 82, 119, 107, 95, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906, 8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906, 10337, 10572, 10419, 10397, 10349, 8404, 9530, 10446, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}; + static int anInt7219; + Component323 aClass239_Sub4_7220; + private HelveticaFont aClass199_7221; + Component272 aClass239_Sub3_7222; + private static short[][] aShortArrayArray7223; + DisplayModeManagerContainer341 aClass239_Sub15_7224; + static int anInt7225; + Component31 aClass239_Sub6_7226; + DisplayModeManagerContainer295 aClass239_Sub8_7227; + DisplayModeManagerContainer199 aClass239_Sub2_7228; + Component284 aClass239_Sub29_7229; + Component188 aClass239_Sub28_7230; + Component388 aClass239_Sub23_7231; + Component98 aClass239_Sub10_7232; + static int anInt7233; + RadixText aClass239_Sub26_7234; + ColoredText aClass239_Sub24_7235; + Component266 aClass239_Sub13_7236; + static int anInt7237; + Component60 aClass239_Sub7_7238; + static int anInt7239; + DisplayModeManagerContainer348 aClass239_Sub5_7240; + private static short[][] aShortArrayArray7241 = {{7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910, 7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910, 7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910, 7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910}, {7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910, 7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910, 7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910, 7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910}, {7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910, 7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910, 7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910, 7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910}, {7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910, 7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910, 7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910, 13751, 13730, 13711, 13875, 13728, 13837, 17587, 18590, 21645, 23985, 24982, 24073, 27957, 25888, 26889, 27178, 27160, 27141, 30005, 28960, 29961, 12467, 13470, 10377, 10677, 10654, 10761, 6702, 6680, 7815, 6956, 6936, 5895, 3374, 3354, 3341, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {4294, 3288, 3297, 3258, 4500, 4376, 4381, 5287, 7616, 7378, 8406, 7490, 80, 117, 105, 93, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910, 7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910, 10332, 10567, 10414, 10392, 10344, 8399, 9525, 10441, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}; + static int anInt7242; + Component205 aClass239_Sub12_7243; + static int anInt7244; + RadixText aClass239_Sub26_7245; + Component175 aClass239_Sub1_7246; + Component25 aClass239_Sub16_7247; + Component20 aClass239_Sub20_7248; + static RenderableSub10[] aClass318_Sub10Array7249; + Component329 aClass239_Sub14_7250; + Component256 aClass239_Sub25_7251; + static int anInt7252; + Component287 aClass239_Sub22_7253; + DisplayModeManagerContainer295 aClass239_Sub8_7254; + Component139 aClass239_Sub27_7255; + Component379 aClass239_Sub9_7256; + Component372 aClass239_Sub19_7257; + static int anInt7258; + Component302 aClass239_Sub18_7259; + RadixText aClass239_Sub26_7260; + Component139 aClass239_Sub27_7261; + static short[][][] aShortArrayArrayArray7262; + Component66 aClass239_Sub17_7263; + Component329 aClass239_Sub14_7264; + LibraryCreditsText aClass239_Sub11_7265; + static int anInt7266; + static int anInt7267; + private static short[][] aShortArrayArray7268; + private final GameType aClass230_7269; + Component71 aClass239_Sub21_7270; + Component256 aClass239_Sub25_7271; + RadixText aClass239_Sub26_7272; + /*synthetic*/ static Class aClass7273; + + private final void method3421(int i, Buffer class348_sub49, int i_0_) { + do { + try { + this.aClass239_Sub10_7232 = new Component98(class348_sub49.readUnsignedByte(255), this); + anInt7233++; + this.aClass239_Sub27_7255 = new Component139(class348_sub49.readUnsignedByte(i ^ 0x7860), this); + this.aClass239_Sub14_7250 = new Component329(1 + class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub4_7220 = new Component323(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub2_7228 = new DisplayModeManagerContainer199(class348_sub49.readUnsignedByte(i ^ 0x7860), this); + this.aClass239_Sub13_7236 = new Component266(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub1_7246 = new Component175(class348_sub49.readUnsignedByte(255), this); + class348_sub49.readUnsignedByte(i ^ 0x7860); + this.aClass239_Sub21_7270 = new Component71(class348_sub49.readUnsignedByte(255), this); + int i_1_ = class348_sub49.readUnsignedByte(i ^ 0x7860); + int i_2_ = 0; + if (i_0_ >= 17) i_2_ = class348_sub49.readUnsignedByte(255); + this.aClass239_Sub7_7238 = new Component60((Math.max(i_1_, i_2_)), this); + boolean bool = true; + boolean bool_3_ = true; + if (i_0_ >= 2) { + bool = class348_sub49.readUnsignedByte(i + -30624) == 1; + if (i_0_ >= 17) bool_3_ = class348_sub49.readUnsignedByte(255) == 1; + } else { + bool = class348_sub49.readUnsignedByte(255) == 1; + class348_sub49.readUnsignedByte(255); + } + this.aClass239_Sub28_7230 = new Component188(!(bool | bool_3_) ? 0 : 1, this); + this.aClass239_Sub18_7259 = new Component302(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub16_7247 = new Component25(class348_sub49.readUnsignedByte(i ^ 0x7860), this); + this.aClass239_Sub20_7216 = new Component20(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub5_7240 = new DisplayModeManagerContainer348(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub26_7272 = new RadixText(class348_sub49.readUnsignedByte(i + -30624), this); + if (i_0_ >= 20) this.aClass239_Sub26_7215 = new RadixText(class348_sub49.readUnsignedByte(255), this); + else this.aClass239_Sub26_7215 = new RadixText(this.aClass239_Sub26_7272.method1838(-32350), this); + this.aClass239_Sub26_7260 = new RadixText(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub26_7234 = new RadixText(class348_sub49.readUnsignedByte(255), this); + if (i_0_ >= 21) this.aClass239_Sub26_7245 = new RadixText(class348_sub49.readUnsignedByte(255), this); + else this.aClass239_Sub26_7245 = new RadixText(this.aClass239_Sub26_7260.method1838(-32350), this); + if (i_0_ >= 1) { + class348_sub49.readUnsignedShort(842397944); + class348_sub49.readUnsignedShort(842397944); + } + if (i_0_ >= 3 && i_0_ < 6) class348_sub49.readUnsignedByte(255); + if (i_0_ >= 4) this.aClass239_Sub15_7224 = new DisplayModeManagerContainer341(class348_sub49.readUnsignedByte(255), this); + if (i != 30879) method3428((byte) -10); + class348_sub49.readInt((byte) -126); + if (i_0_ >= 6) this.aClass239_Sub8_7227 = new DisplayModeManagerContainer295(class348_sub49.readUnsignedByte(i ^ 0x7860), this); + if (i_0_ >= 7) this.aClass239_Sub11_7265 = new LibraryCreditsText(class348_sub49.readUnsignedByte(255), this); + if (i_0_ >= 8) class348_sub49.readUnsignedByte(255); + if (i_0_ >= 9) this.aClass239_Sub6_7226 = new Component31(class348_sub49.readUnsignedByte(i ^ 0x7860), this); + if (i_0_ >= 10) this.aClass239_Sub12_7243 = new Component205(class348_sub49.readUnsignedByte(255), this); + if (i_0_ >= 11) this.aClass239_Sub22_7253 = new Component287(class348_sub49.readUnsignedByte(255), this); + if (i_0_ >= 12) this.aClass239_Sub13_7236 = new Component266(class348_sub49.readUnsignedByte(255), this); + if (i_0_ >= 13) this.aClass239_Sub9_7256 = new Component379(class348_sub49.readUnsignedByte(255), this); + if (i_0_ >= 14) this.aClass239_Sub25_7251 = new Component256(class348_sub49.readUnsignedByte(255), this); + if (i_0_ >= 15) this.aClass239_Sub17_7263 = new Component66(class348_sub49.readUnsignedByte(255), this); + if (i_0_ >= 16) this.aClass239_Sub24_7235 = new ColoredText(class348_sub49.readUnsignedByte(i ^ 0x7860), this); + if (i_0_ >= 18) this.aClass239_Sub29_7229 = new Component284(class348_sub49.readUnsignedByte(255), this); + if (i_0_ >= 19) this.aClass239_Sub23_7231 = new Component388(class348_sub49.readUnsignedByte(255), this); + if (i_0_ < 22) break; + this.aClass239_Sub19_7257 = new Component372(class348_sub49.readUnsignedByte(255), this); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("dh.I(" + i + ',' + (class348_sub49 != null ? "{...}" : "null") + ',' + i_0_ + ')')); + } + break; + } while (false); + } + + final GameType method3422(int i) { + anInt7258++; + if (i != 674) method3425(45); + return aClass230_7269; + } + + private final void method3423(boolean bool, int i) { + if (bool || this.aClass239_Sub20_7216 == null) this.aClass239_Sub20_7216 = new Component20(this); + anInt7242++; + if (bool || this.aClass239_Sub20_7248 == null) this.aClass239_Sub20_7248 = new Component20(this.aClass239_Sub20_7216.method1808(i + -63636), this); + if (bool || this.aClass239_Sub12_7243 == null) this.aClass239_Sub12_7243 = new Component205(this); + if (bool || this.aClass239_Sub10_7232 == null) this.aClass239_Sub10_7232 = new Component98(this); + if (bool || this.aClass239_Sub6_7226 == null) this.aClass239_Sub6_7226 = new Component31(this); + if (bool || this.aClass239_Sub1_7246 == null) this.aClass239_Sub1_7246 = new Component175(this); + if (bool || this.aClass239_Sub16_7247 == null) this.aClass239_Sub16_7247 = new Component25(this); + if (bool || this.aClass239_Sub9_7256 == null) this.aClass239_Sub9_7256 = new Component379(this); + if (bool || this.aClass239_Sub4_7220 == null) this.aClass239_Sub4_7220 = new Component323(this); + if (i != 31286) this.aClass239_Sub4_7220 = null; + if (bool || this.aClass239_Sub13_7236 == null) this.aClass239_Sub13_7236 = new Component266(this); + if (bool || this.aClass239_Sub28_7230 == null) this.aClass239_Sub28_7230 = new Component188(this); + if (bool || this.aClass239_Sub7_7238 == null) this.aClass239_Sub7_7238 = new Component60(this); + if (bool || this.aClass239_Sub3_7222 == null) this.aClass239_Sub3_7222 = new Component272(this); + if (bool || this.aClass239_Sub15_7224 == null) this.aClass239_Sub15_7224 = new DisplayModeManagerContainer341(this); + if (bool || this.aClass239_Sub14_7250 == null) this.aClass239_Sub14_7250 = new Component329(this); + if (bool || this.aClass239_Sub14_7264 == null) this.aClass239_Sub14_7264 = new Component329(this.aClass239_Sub14_7250.method1778(-32350), this); + if (bool || this.aClass239_Sub23_7231 == null) this.aClass239_Sub23_7231 = new Component388(this); + if (bool || this.aClass239_Sub21_7270 == null) this.aClass239_Sub21_7270 = new Component71(this); + if (bool || this.aClass239_Sub2_7228 == null) this.aClass239_Sub2_7228 = new DisplayModeManagerContainer199(this); + if (bool || this.aClass239_Sub24_7235 == null) this.aClass239_Sub24_7235 = new ColoredText(this); + if (bool || this.aClass239_Sub25_7251 == null) this.aClass239_Sub25_7251 = new Component256(this); + if (bool || this.aClass239_Sub25_7271 == null) this.aClass239_Sub25_7271 = new Component256(this.aClass239_Sub25_7251.method1829(-32350), this); + if (bool || this.aClass239_Sub27_7255 == null) this.aClass239_Sub27_7255 = new Component139(this); + if (bool || this.aClass239_Sub27_7261 == null) this.aClass239_Sub27_7261 = new Component139(this.aClass239_Sub27_7255.method1840(-32350), this); + if (bool || this.aClass239_Sub18_7259 == null) this.aClass239_Sub18_7259 = new Component302(this); + if (bool || this.aClass239_Sub8_7227 == null) this.aClass239_Sub8_7227 = new DisplayModeManagerContainer295(this); + if (bool || this.aClass239_Sub8_7254 == null) this.aClass239_Sub8_7254 = new DisplayModeManagerContainer295(this.aClass239_Sub8_7227.method1751(-32350), this); + if (bool || this.aClass239_Sub22_7253 == null) this.aClass239_Sub22_7253 = new Component287(this); + if (bool || this.aClass239_Sub29_7229 == null) this.aClass239_Sub29_7229 = new Component284(this); + if (bool || this.aClass239_Sub17_7263 == null) this.aClass239_Sub17_7263 = new Component66(this); + if (bool || this.aClass239_Sub19_7257 == null) this.aClass239_Sub19_7257 = new Component372(this); + if (bool || this.aClass239_Sub11_7265 == null) this.aClass239_Sub11_7265 = new LibraryCreditsText(this); + if (bool || this.aClass239_Sub26_7272 == null) this.aClass239_Sub26_7272 = new RadixText(this); + if (bool || this.aClass239_Sub26_7234 == null) this.aClass239_Sub26_7234 = new RadixText(this); + if (bool || this.aClass239_Sub26_7215 == null) this.aClass239_Sub26_7215 = new RadixText(this); + if (bool || this.aClass239_Sub26_7260 == null) this.aClass239_Sub26_7260 = new RadixText(this); + if (bool || this.aClass239_Sub26_7245 == null) this.aClass239_Sub26_7245 = new RadixText(this); + if (bool || this.aClass239_Sub5_7240 == null) this.aClass239_Sub5_7240 = new DisplayModeManagerContainer348(this); + } + + private final void method3424(int i, Buffer class348_sub49) { + try { + if (i == 925) { + anInt7266++; + if (class348_sub49 != null && (class348_sub49.payload != null)) { + int i_4_ = class348_sub49.readUnsignedByte(i + -670); + if (i_4_ >= 23) { + if (i_4_ > 24) method3423(true, 31286); + else { + this.aClass239_Sub20_7216 = new Component20(class348_sub49.readUnsignedByte(i + -670), this); + this.aClass239_Sub20_7248 = new Component20((this.aClass239_Sub20_7216.method1808(i ^ ~0x7dc0)), this); + this.aClass239_Sub12_7243 = new Component205(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub10_7232 = new Component98(class348_sub49.readUnsignedByte(i + -670), this); + this.aClass239_Sub6_7226 = new Component31(class348_sub49.readUnsignedByte(i + -670), this); + this.aClass239_Sub1_7246 = new Component175(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub16_7247 = new Component25(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub9_7256 = new Component379(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub4_7220 = new Component323(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub13_7236 = new Component266(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub28_7230 = new Component188(class348_sub49.readUnsignedByte(i + -670), this); + this.aClass239_Sub7_7238 = new Component60(class348_sub49.readUnsignedByte(255), this); + if (i_4_ >= 24) this.aClass239_Sub3_7222 = new Component272(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub15_7224 = new DisplayModeManagerContainer341(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub14_7250 = new Component329(class348_sub49.readUnsignedByte(i + -670), this); + this.aClass239_Sub14_7264 = new Component329(this.aClass239_Sub14_7250.method1778(-32350), this); + this.aClass239_Sub23_7231 = new Component388(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub21_7270 = new Component71(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub2_7228 = new DisplayModeManagerContainer199(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub24_7235 = new ColoredText(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub25_7251 = new Component256(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub25_7271 = new Component256(this.aClass239_Sub25_7251.method1829(-32350), this); + this.aClass239_Sub27_7255 = new Component139(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub27_7261 = new Component139(this.aClass239_Sub27_7255.method1840(-32350), this); + this.aClass239_Sub18_7259 = new Component302(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub8_7227 = new DisplayModeManagerContainer295(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub8_7254 = (new DisplayModeManagerContainer295(this.aClass239_Sub8_7227.method1751(i + -33275), this)); + this.aClass239_Sub22_7253 = new Component287(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub29_7229 = new Component284(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub17_7263 = new Component66(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub19_7257 = new Component372(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub11_7265 = new LibraryCreditsText(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub26_7272 = new RadixText(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub26_7234 = new RadixText(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub26_7215 = new RadixText(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub26_7260 = new RadixText(class348_sub49.readUnsignedByte(255), this); + this.aClass239_Sub26_7245 = new RadixText(class348_sub49.readUnsignedByte(i + -670), this); + this.aClass239_Sub5_7240 = new DisplayModeManagerContainer348(class348_sub49.readUnsignedByte(255), this); + method3423(false, 31286); + } + } else { + try { + method3421(i + 29954, class348_sub49, i_4_); + } catch (Exception exception) { + method3423(true, 31286); + } + method3423(false, 31286); + } + } else method3423(true, 31286); + method3426((byte) 36); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("dh.C(" + i + ',' + (class348_sub49 != null ? "{...}" : "null") + ')')); + } + } + + final boolean method3425(int i) { + if (i > -61) method3424(21, null); + anInt7217++; + return this.aClass239_Sub25_7271.method1830((byte) -120) && (this.aClass239_Sub25_7271.method1829(-32350) == 0) && aClass199_7221.method1458(-23688) < 96; + } + + private final void method3426(byte i) { + anInt7219++; + try { + Field[] fields = this.getClass().getDeclaredFields(); + if (i != 36) aClass199_7221 = null; + Field[] fields_5_ = fields; + for (int i_6_ = 0; fields_5_.length > i_6_; i_6_++) { + Field field = fields_5_[i_6_]; + if ((aClass7273 != null ? aClass7273 : (aClass7273 = Component339.class)).isAssignableFrom(field.getType())) { + Component339 class239 = (Component339) field.get(this); + class239.method1716(false); + } + } + } catch (IllegalAccessException illegalaccessexception) { + if (Loader.trace) { + illegalaccessexception.printStackTrace(); + } + /* empty */ + } + } + + final Buffer method3427(int i) { + anInt7237++; + Buffer class348_sub49 = new Buffer(Component338.method1032(i ^ ~0x18)); + class348_sub49.writeByte(false, i); + class348_sub49.writeByte(false, this.aClass239_Sub20_7216.method1808(-32350)); + class348_sub49.writeByte(false, this.aClass239_Sub12_7243.method1771(-32350)); + class348_sub49.writeByte(false, this.aClass239_Sub10_7232.method1764(-32350)); + class348_sub49.writeByte(false, this.aClass239_Sub6_7226.method1743(-32350)); + class348_sub49.writeByte(false, this.aClass239_Sub1_7246.method1720(i ^ ~0x7e45)); + class348_sub49.writeByte(false, this.aClass239_Sub16_7247.method1789(-32350)); + class348_sub49.writeByte(false, this.aClass239_Sub9_7256.method1759(-32350)); + class348_sub49.writeByte(false, this.aClass239_Sub4_7220.method1737(i + -32374)); + class348_sub49.writeByte(false, this.aClass239_Sub13_7236.method1776(i + -32374)); + class348_sub49.writeByte(false, this.aClass239_Sub28_7230.method1845(-32350)); + class348_sub49.writeByte(false, this.aClass239_Sub7_7238.method1748(i ^ ~0x7e45)); + class348_sub49.writeByte(false, this.aClass239_Sub3_7222.method1727(-32350)); + class348_sub49.writeByte(false, this.aClass239_Sub15_7224.method1784(i + -32374)); + class348_sub49.writeByte(false, this.aClass239_Sub14_7250.method1778(-32350)); + class348_sub49.writeByte(false, this.aClass239_Sub23_7231.method1818(-32350)); + class348_sub49.writeByte(false, this.aClass239_Sub21_7270.method1812(-32350)); + class348_sub49.writeByte(false, this.aClass239_Sub2_7228.method1726(-32350)); + class348_sub49.writeByte(false, this.aClass239_Sub24_7235.method1820(-32350)); + class348_sub49.writeByte(false, this.aClass239_Sub25_7251.method1829(-32350)); + class348_sub49.writeByte(false, this.aClass239_Sub27_7255.method1840(-32350)); + class348_sub49.writeByte(false, this.aClass239_Sub18_7259.method1800(-32350)); + class348_sub49.writeByte(false, this.aClass239_Sub8_7227.method1751(i + -32374)); + class348_sub49.writeByte(false, this.aClass239_Sub22_7253.method1815(-32350)); + class348_sub49.writeByte(false, this.aClass239_Sub29_7229.method1848(-32350)); + class348_sub49.writeByte(false, this.aClass239_Sub17_7263.method1798(-32350)); + class348_sub49.writeByte(false, this.aClass239_Sub19_7257.method1805(-32350)); + class348_sub49.writeByte(false, this.aClass239_Sub11_7265.method1768(i ^ ~0x7e45)); + class348_sub49.writeByte(false, this.aClass239_Sub26_7272.method1838(-32350)); + class348_sub49.writeByte(false, this.aClass239_Sub26_7234.method1838(-32350)); + class348_sub49.writeByte(false, this.aClass239_Sub26_7215.method1838(-32350)); + class348_sub49.writeByte(false, this.aClass239_Sub26_7260.method1838(-32350)); + class348_sub49.writeByte(false, this.aClass239_Sub26_7245.method1838(-32350)); + class348_sub49.writeByte(false, this.aClass239_Sub5_7240.method1739(-32350)); + return class348_sub49; + } + + final HelveticaFont method3428(byte i) { + anInt7225++; + if (i >= -73) method3430(false); + return aClass199_7221; + } + + final void method3429(byte i, Component339 class239, int i_7_) { + try { + anInt7239++; + if (i != 74) method3425(-10); + class239.method1718(i_7_, 72); + method3426((byte) 36); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("dh.A(" + i + ',' + (class239 != null ? "{...}" : "null") + ',' + i_7_ + ')')); + } + } + + public static void method3430(boolean bool) { + if (bool != false) aShortArrayArray7223 = null; + aClass318_Sub10Array7249 = null; + aShortArrayArray7218 = null; + aShortArrayArray7268 = null; + aShortArrayArray7223 = null; + aShortArrayArray7241 = null; + aShortArrayArrayArray7262 = null; + } + + NodeSub51(GameType class230, int i) { + try { + aClass230_7269 = class230; + aClass199_7221 = new HelveticaFont((OggUrlStream.aClass297_8992.signed), Component127.anInt2964, DefinitionSub29.anInt9372, ReflectionInvoker.osArch.toLowerCase().indexOf("arm") != -1); + this.aClass239_Sub25_7271 = new Component256(i, this); + method3423(true, 31286); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("dh.(" + (class230 != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + NodeSub51(Buffer class348_sub49, GameType class230, int i) { + try { + aClass230_7269 = class230; + aClass199_7221 = new HelveticaFont((OggUrlStream.aClass297_8992.signed), Component127.anInt2964, DefinitionSub29.anInt9372, ReflectionInvoker.osArch.indexOf("arm") != -1); + this.aClass239_Sub25_7271 = new Component256(i, this); + method3424(925, class348_sub49); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("dh.(" + (class348_sub49 != null ? "{...}" : "null") + ',' + (class230 != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + static { + aShortArrayArray7223 = (new short[][]{{10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898, 10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898, 10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898, 10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898}, {10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898, 10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898, 10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898, 10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898}, {10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898, 10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898, 10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898, 10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898}, {10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898, 10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898, 10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898, 13766, 13745, 13726, 13890, 13743, 13852, 17602, 18605, 21660, 24000, 24997, 24088, 27972, 25903, 26904, 27193, 27175, 27156, 30020, 28975, 29976, 12482, 13485, 10392, 10692, 10669, 10776, 6717, 6695, 7830, 6971, 6951, 5910, 3389, 3369, 3356, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {4300, 3294, 3303, 3264, 4506, 4382, 4387, 5293, 7622, 7384, 8412, 7496, 86, 123, 111, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898, 10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898, 10347, 10582, 10429, 10407, 10359, 8414, 9540, 10456, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}); + anInt7267 = 0; + anInt7252 = 0; + aShortArrayArray7268 = (new short[][]{{9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902, 9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902, 9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902, 9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902}, {9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902, 9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902, 9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902, 9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902}, {9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902, 9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902, 9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902, 9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902}, {9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902, 9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902, 9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902, 13761, 13740, 13721, 13885, 13738, 13847, 17597, 18600, 21655, 23995, 24992, 24083, 27967, 25898, 26899, 27188, 27170, 27151, 30015, 28970, 29971, 12477, 13480, 10387, 10687, 10664, 10771, 6712, 6690, 7825, 6966, 6946, 5905, 3384, 3364, 3351, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {4298, 3292, 3301, 3262, 4504, 4380, 4385, 5291, 7620, 7382, 8410, 7494, 84, 121, 109, 97, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902, 9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902, 10342, 10577, 10424, 10402, 10354, 8409, 9535, 10451, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}); + aShortArrayArrayArray7262 = new short[][][]{aShortArrayArray7223, aShortArrayArray7268, aShortArrayArray7218, aShortArrayArray7241}; + } +} diff --git a/client/nodes/NodeSub7.java b/client/nodes/NodeSub7.java new file mode 100644 index 000000000..f29b44a7d --- /dev/null +++ b/client/nodes/NodeSub7.java @@ -0,0 +1,53 @@ +/* NodeSub7 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class NodeSub7 +/** + * RENAMED from `Class348_Sub7` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + static int anInt6641; + int anInt6642; + static Component170 aClass207_6643; + static Component267 aClass229_6644 = new Component267(); + int anInt6645; + static int anInt6646; + int anInt6647; + int anInt6648; + int anInt6649; + boolean aBoolean6650; + static long aLong6651 = -1L; + static int anInt6652 = 0; + static Component373 aClass33_6653; + + static final void method2772(int i, byte i_0_) { + anInt6641++; + if (Component233.method2547(i, (byte) 84) && i_0_ > 105) { + DisplayModeManagerContainer57[] class46s = DefinitionSub33.aClass46ArrayArray9427[i]; + for (int i_1_ = 0; i_1_ < class46s.length; i_1_++) { + DisplayModeManagerContainer57 class46 = class46s[i_1_]; + if (class46 != null) { + class46.anInt795 = 0; + class46.anInt730 = 1; + class46.anInt841 = 0; + } + } + } + } + + public static void method2773(int i) { + aClass207_6643 = null; + aClass229_6644 = null; + if (i == 0) aClass33_6653 = null; + } + + NodeSub7(int i, int i_2_, int i_3_, int i_4_, int i_5_, boolean bool) { + this.anInt6647 = i_4_; + this.anInt6645 = i_3_; + this.anInt6648 = i_2_; + this.aBoolean6650 = bool; + this.anInt6642 = i_5_; + this.anInt6649 = i; + } +} diff --git a/client/nodes/NodeSub8.java b/client/nodes/NodeSub8.java new file mode 100644 index 000000000..79c5885f4 --- /dev/null +++ b/client/nodes/NodeSub8.java @@ -0,0 +1,108 @@ +/* NodeSub8 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.applet.Applet; + +final class NodeSub8 +/** + * RENAMED from `Class348_Sub8` (JODE-obfuscated). + * Evidence: subclass of Node (hierarchy) + */ extends Node { + /** Active graphics toolkit used by most of the client (draw, scene, UI). */ + static GraphicsToolkit toolkit; + static int[] anIntArray6655; + static boolean[][] aBooleanArrayArray6656; + byte[] aByteArray6657; + private static short[] aShortArray6658; + static int anInt6659; + static Component41 aClass241_6660; + private static short[] aShortArray6661 = {967, 20428, -21577, 11219, -10290}; + static Applet anApplet6662; + private static short[] aShortArray6663 = {957, 20418, -21587, 11209, -10300}; + static short[][] aShortArrayArray6664; + private static short[] aShortArray6665; + static int[] anIntArray6666; + static int anInt6667; + + static final int method2774(byte i, DisplayModeManagerContainer58 class318_sub1_sub3_sub3) { + anInt6667++; + if (i != 108) anApplet6662 = null; + if (class318_sub1_sub3_sub3.anInt10310 == 0) return 0; + if (class318_sub1_sub3_sub3.anInt10275 != -1) { + DisplayModeManagerContainer58 class318_sub1_sub3_sub3_0_ = null; + if (class318_sub1_sub3_sub3.anInt10275 >= 32768) { + if ((class318_sub1_sub3_sub3.anInt10275) >= 32768) class318_sub1_sub3_sub3_0_ = (InterfaceRenderer.players[class318_sub1_sub3_sub3.anInt10275 + -32768]); + } else { + NodeSub22 class348_sub22 = ((NodeSub22) (Component21.aClass356_3654.get(class318_sub1_sub3_sub3.anInt10275, -6008))); + if (class348_sub22 != null) class318_sub1_sub3_sub3_0_ = (class348_sub22.npc); + } + if (class318_sub1_sub3_sub3_0_ != null) { + int i_1_ = (class318_sub1_sub3_sub3.x + -(class318_sub1_sub3_sub3_0_.x)); + int i_2_ = (class318_sub1_sub3_sub3.y + -(class318_sub1_sub3_sub3_0_.y)); + if (i_1_ != 0 || i_2_ != 0) class318_sub1_sub3_sub3.method2440((byte) 49, 0x3fff & (int) (Math.atan2(i_1_, i_2_) * 2607.5945876176133)); + } + } + if (class318_sub1_sub3_sub3 instanceof Player) { + Player player = (Player) class318_sub1_sub3_sub3; + if ((player.anInt10524) != -1 && ((player.anInt10319) == 0 || player.anInt10326 > 0)) { + player.method2440((byte) 49, player.anInt10524); + player.anInt10524 = -1; + } + } else if (class318_sub1_sub3_sub3 instanceof Npc) { + Npc npc = (Npc) class318_sub1_sub3_sub3; + if ((npc.anInt10499) != -1 && ((npc.anInt10319) == 0 || npc.anInt10326 > 0)) { + int i_3_ = (-((-NodeBaseSub2.regionTileX + npc.anInt10499 - NodeBaseSub2.regionTileX) * 256) + (npc.x)); + int i_4_ = (npc.y - 256 * (npc.anInt10512 + (-Component330.regionTileY + -Component330.regionTileY))); + if (i_3_ != 0 || i_4_ != 0) npc.method2440((byte) 49, 0x3fff & (int) (Math.atan2(i_3_, i_4_) * 2607.5945876176133)); + npc.anInt10499 = -1; + } + } + return class318_sub1_sub3_sub3.method2428(i + -106); + } + + public static void method2775(byte i) { + aShortArray6658 = null; + toolkit = null; + aShortArray6665 = null; + anIntArray6666 = null; + aShortArray6663 = null; + anIntArray6655 = null; + if (i > -123) method2776((byte) -65, -91); + aClass241_6660 = null; + aBooleanArrayArray6656 = null; + anApplet6662 = null; + aShortArrayArray6664 = null; + aShortArray6661 = null; + } + + NodeSub8(byte[] is) { + this.aByteArray6657 = is; + } + + static final NamedInteger method2776(byte i, int i_5_) { + anInt6659++; + if (i > -35) aBooleanArrayArray6656 = null; + NamedInteger[] class364s = DefinitionSub28.method3122((byte) 91); + for (int i_6_ = 0; class364s.length > i_6_; i_6_++) { + NamedInteger class364 = class364s[i_6_]; + if (class364.value == i_5_) return class364; + } + return null; + } + + static long method2777(long l, long l_7_) { + try { + return l & l_7_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "gia.C(" + l + ',' + l_7_ + ')'); + } + } + + static { + aShortArray6658 = new short[]{952, 20413, -21592, 11204, -10305}; + aShortArray6665 = new short[]{962, 20423, -21582, 11214, -10295}; + aShortArrayArray6664 = new short[][]{aShortArray6661, aShortArray6665, aShortArray6663, aShortArray6658}; + anIntArray6666 = new int[3]; + } +} diff --git a/client/nodes/NodederUtil.java b/client/nodes/NodederUtil.java new file mode 100644 index 000000000..fbe497fee --- /dev/null +++ b/client/nodes/NodederUtil.java @@ -0,0 +1,119 @@ +/* NodederUtil - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * LRU slot node for {@link ImageCache}, plus static native-library loader. + * {@link #loadNativeLibrary} {@code System.load}s an extracted {@code .so}/{@code .dll} + * and records which ClassLoader owns it. + */ +import java.io.File; +import java.lang.reflect.Method; + +final class NodederUtil extends Node { + int anInt6630; + static int[] anIntArray6631 = new int[13]; + static int anInt6632; + static int anInt6633; + static int anInt6634 = -2; + static int[] anIntArray6635 = new int[4]; + int anInt6636; + static int anInt6637 = 2; + static int anInt6638; + static int anInt6639; + /*synthetic*/ static Class aClass6640; + + public static void method2768(int i) { + anIntArray6631 = null; + anIntArray6635 = null; + if (i != 3) anInt6634 = 101; + } + + /** Load native lib {@code string} from the extracted-file cache; true if already loaded by same ClassLoader. */ + static final boolean loadNativeLibrary(Class var_class, byte i, String string) { + try { + anInt6639++; + Class var_class_0_ = ((Class) Player.aHashtable10565.get(string)); + if (var_class_0_ != null) { + return var_class_0_.getClassLoader() == var_class.getClassLoader(); + } + File file = null; + if (file == null) file = (File) Component300.aHashtable3548.get(string); + if (i != 20) anInt6633 = -118; + if (file != null) { + try { + System.load(file.getPath()); + Player.aHashtable10565.put(string, (aClass6640 != null ? aClass6640 : (aClass6640 = Component330.class))); + return true; + } catch (Throwable throwable) { + if (Loader.trace) { + throwable.printStackTrace(); + } + } + } + return false; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("gba.C(" + (var_class != null ? "{...}" : "null") + ',' + i + ',' + (string != null ? "{...}" : "null") + ')')); + } + } + + NodederUtil(int i, int i_4_) { + this.anInt6636 = i_4_; + this.anInt6630 = i; + } + + static final void method2770(int i) { + anInt6638++; + if (RunescapeInfo.anIntArray179 == null) RunescapeInfo.anIntArray179 = new int[65536]; + else return; + double d = 0.7 + (0.03 * Math.random() - 0.015); + for (int i_5_ = 0; i_5_ < 65536; i_5_++) { + double d_6_ = 0.0078125 + (double) ((0xfebd & i_5_) >> 10) / 64.0; + double d_7_ = (double) ((0x384 & i_5_) >> 7) / 8.0 + 0.0625; + double d_8_ = (double) (i_5_ & 0x7f) / 128.0; + double d_9_ = d_8_; + double d_10_ = d_8_; + double d_11_ = d_8_; + if (d_7_ != 0.0) { + double d_12_; + if (d_8_ < 0.5) d_12_ = d_8_ * (d_7_ + 1.0); + else d_12_ = -(d_8_ * d_7_) + (d_8_ + d_7_); + double d_13_ = 2.0 * d_8_ - d_12_; + double d_14_ = 0.3333333333333333 + d_6_; + if (d_14_ > 1.0) d_14_--; + double d_15_ = d_6_; + double d_16_ = -0.3333333333333333 + d_6_; + if (d_16_ < 0.0) d_16_++; + if (6.0 * d_14_ < 1.0) d_9_ = d_13_ + 6.0 * (-d_13_ + d_12_) * d_14_; + else if (!(2.0 * d_14_ < 1.0)) { + if (!(3.0 * d_14_ < 2.0)) d_9_ = d_13_; + else d_9_ = 6.0 * ((d_12_ - d_13_) * (-d_14_ + 0.6666666666666666)) + d_13_; + } else d_9_ = d_12_; + if (!(6.0 * d_15_ < 1.0)) { + if (!(2.0 * d_15_ < 1.0)) { + if (!(d_15_ * 3.0 < 2.0)) d_10_ = d_13_; + else d_10_ = ((-d_15_ + 0.6666666666666666) * (d_12_ - d_13_) * 6.0) + d_13_; + } else d_10_ = d_12_; + } else d_10_ = d_13_ + d_15_ * (6.0 * (d_12_ - d_13_)); + if (d_16_ * 6.0 < 1.0) d_11_ = d_13_ + (d_12_ - d_13_) * 6.0 * d_16_; + else if (!(2.0 * d_16_ < 1.0)) { + if (3.0 * d_16_ < 2.0) d_11_ = d_13_ + ((-d_13_ + d_12_) * (0.6666666666666666 - d_16_) * 6.0); + else d_11_ = d_13_; + } else d_11_ = d_12_; + } + d_9_ = Math.pow(d_9_, d); + d_10_ = Math.pow(d_10_, d); + d_11_ = Math.pow(d_11_, d); + int i_17_ = (int) (d_9_ * 256.0); + int i_18_ = (int) (d_10_ * 256.0); + int i_19_ = (int) (d_11_ * 256.0); + int i_20_ = (i_18_ << 8) + (i_17_ << 16) - -i_19_; + RunescapeInfo.anIntArray179[i_5_] = i_20_; + } + if (i != 2) anInt6634 = 92; + } + + static { + anInt6633 = 0; + } +} diff --git a/client/rs2/Rs2Bank.java b/client/rs2/Rs2Bank.java new file mode 100644 index 000000000..74c1e9c31 --- /dev/null +++ b/client/rs2/Rs2Bank.java @@ -0,0 +1,128 @@ +/** + * Bank facade — open/close detection by widget text / item grid, deposit/withdraw + * via menu-inject on bank item components. + */ +final class Rs2Bank { + + private Rs2Bank() { + } + + static boolean isOpen() { + DisplayModeManagerContainer57 title = Rs2Widget.findByText("Bank of"); + if (title != null && Rs2Widget.isVisible(title)) { + return true; + } + // Many banks show "The Bank of" or just Withdraw options densely + DisplayModeManagerContainer57[] bankSlots = bankSlots(); + return bankSlots.length >= 20; + } + + static boolean close() { + DisplayModeManagerContainer57 close = Rs2Widget.findByText("Close"); + if (close != null) { + return Rs2Widget.click(close, "Close"); + } + // Escape via keyboard + Rs2Keyboard.keyPress(27); + return true; + } + + static boolean depositAll(int itemId) { + DisplayModeManagerContainer57 slot = Rs2Inventory.findSlot(itemId); + if (slot == null) { + return false; + } + return Rs2Inventory.interact(itemId, "Deposit-All") + || Rs2Inventory.interact(itemId, "Deposit All") + || Rs2Widget.click(slot, "Deposit-All"); + } + + static boolean withdraw(int itemId, String action) { + DisplayModeManagerContainer57[] slots = bankSlots(); + for (int i = 0; i < slots.length; i++) { + if (slots[i] != null && slots[i].anInt812 == itemId) { + NewMenuEntry entry = new NewMenuEntry(action != null ? action : "Withdraw-1", + slots[i].aString752 != null ? slots[i].aString752 : "", + Rs2Widget.OPCODE_CC_OP, 1L, slots[i].anInt704, slots[i].anInt830, itemId); + Microbot.doInvoke(entry); + return true; + } + } + return false; + } + + static boolean withdrawOne(int itemId) { + return withdraw(itemId, "Withdraw-1") || withdraw(itemId, "Withdraw-X"); + } + + /** + * Open nearest banker NPC or bank booth object by interacting "Bank". + */ + static boolean open() { + if (isOpen()) { + return true; + } + Npc banker = Rs2Npc.getNearest("Banker"); + if (banker != null && Rs2Npc.interact(banker, "Bank")) { + return true; + } + return Rs2GameObject.interactNearest("Bank booth", "Use") + || Rs2GameObject.interactNearest("Bank booth", "Bank") + || Rs2GameObject.interactNearest("Bank chest", "Use"); + } + + static DisplayModeManagerContainer57[] bankSlots() { + java.util.ArrayList list = new java.util.ArrayList(); + if (DefinitionSub33.aClass46ArrayArray9427 == null) { + return new DisplayModeManagerContainer57[0]; + } + // Prefer configured bank group, else largest item grid that isn't inventory-sized (28) + collect(MicrobotWidgets.BANK_GROUP, list); + if (list.size() < 20) { + list.clear(); + DisplayModeManagerContainer57[][] roots = DefinitionSub33.aClass46ArrayArray9427; + int best = 0; + java.util.ArrayList bestList = new java.util.ArrayList(); + for (int g = 0; g < roots.length; g++) { + java.util.ArrayList tmp = new java.util.ArrayList(); + collect(g, tmp); + if (tmp.size() > best && tmp.size() > 28) { + best = tmp.size(); + bestList = tmp; + } + } + list = bestList; + } + return (DisplayModeManagerContainer57[]) list.toArray(new DisplayModeManagerContainer57[list.size()]); + } + + private static void collect(int group, java.util.ArrayList list) { + if (DefinitionSub33.aClass46ArrayArray9427 == null) { + return; + } + if (group < 0 || group >= DefinitionSub33.aClass46ArrayArray9427.length) { + return; + } + DisplayModeManagerContainer57[] all = DefinitionSub33.aClass46ArrayArray9427[group]; + if (all == null) { + return; + } + for (int i = 0; i < all.length; i++) { + walk(all[i], list); + } + } + + private static void walk(DisplayModeManagerContainer57 c, java.util.ArrayList list) { + if (c == null) { + return; + } + if (c.anInt812 > 0) { + list.add(c); + } + if (c.aClass46Array798 != null) { + for (int i = 0; i < c.aClass46Array798.length; i++) { + walk(c.aClass46Array798[i], list); + } + } + } +} diff --git a/client/rs2/Rs2Combat.java b/client/rs2/Rs2Combat.java new file mode 100644 index 000000000..8926434c2 --- /dev/null +++ b/client/rs2/Rs2Combat.java @@ -0,0 +1,28 @@ +/** + * Combat helpers built on {@link Rs2Player} / {@link Rs2Npc}. + */ +final class Rs2Combat { + + private Rs2Combat() { + } + + static boolean inCombat() { + return Rs2Player.inCombat(); + } + + /** + * Attack nearest Attack-able NPC within {@code maxDist} tiles. + * + * @return true if an interact was issued + */ + static boolean attackNearest(int maxDist) { + Npc n = Rs2Npc.getNearestAttackable(); + if (n == null) { + return false; + } + if (Rs2Player.distanceTo(n) > maxDist) { + return false; + } + return Rs2Npc.attack(n); + } +} diff --git a/client/rs2/Rs2GameObject.java b/client/rs2/Rs2GameObject.java new file mode 100644 index 000000000..b207d201e --- /dev/null +++ b/client/rs2/Rs2GameObject.java @@ -0,0 +1,193 @@ +/** + * Scene object interact — scans tile nodes for {@link Interface10}, resolves + * {@link Component44} via {@link GradientPreset#aClass263_9195}. + */ +final class Rs2GameObject { + + private static final int[] OBJECT_OPCODES = {3, 4, 9, 59, 1007}; + + private Rs2GameObject() { + } + + static boolean interactNearest(String objectName, String action) { + SceneObjectHit hit = findNearest(objectName); + return hit != null && interact(hit, action); + } + + static boolean interact(SceneObjectHit hit, String action) { + if (hit == null || hit.def == null || hit.iface == null) { + return false; + } + String act = action; + int opcode = opcodeFor(hit.def, act); + if (opcode <= 0 && hit.def.aStringArray913 != null) { + for (int i = 0; i < hit.def.aStringArray913.length && i < OBJECT_OPCODES.length; i++) { + if (hit.def.aStringArray913[i] != null) { + opcode = OBJECT_OPCODES[i]; + act = hit.def.aStringArray913[i]; + break; + } + } + } + if (opcode <= 0) { + return false; + } + long packed = DefinitionSub21.method3107((byte) 95, hit.iface, hit.localY, hit.localX); + String target = "" + (hit.def.aString884 != null ? hit.def.aString884 : ""); + NewMenuEntry entry = new NewMenuEntry(act, target, opcode, packed, hit.localX, hit.localY, -1); + Microbot.doInvoke(entry); + return true; + } + + static SceneObjectHit findNearest(String name) { + if (Component335.aClass357ArrayArrayArray2029 == null || Component72.localPlayer == null) { + return null; + } + int plane = Component72.localPlayer.plane; + if (plane < 0 || plane >= Component335.aClass357ArrayArrayArray2029.length) { + return null; + } + Component186[][] layer = Component335.aClass357ArrayArrayArray2029[plane]; + if (layer == null) { + return null; + } + SceneObjectHit best = null; + int bestDist = Integer.MAX_VALUE; + int px = Component72.localPlayer.anIntArray10320[0]; + int py = Component72.localPlayer.anIntArray10317[0]; + int minX = Math.max(0, px - 20); + int maxX = Math.min(layer.length - 1, px + 20); + for (int x = minX; x <= maxX; x++) { + Component186[] col = layer[x]; + if (col == null) { + continue; + } + int minY = Math.max(0, py - 20); + int maxY = Math.min(col.length - 1, py + 20); + for (int y = minY; y <= maxY; y++) { + Component186 tile = col[y]; + if (tile == null) { + continue; + } + best = closer(best, bestDist, hitFromNode(tile.aClass318_Sub1_Sub1_4402, name, x, y, plane), px, py); + if (best != null) { + bestDist = Math.max(Math.abs(best.localX - px), Math.abs(best.localY - py)); + } + SceneObjectHit h; + h = hitFromNode(tile.aClass318_Sub1_Sub4_4403, name, x, y, plane); + if (h != null) { + int d = Math.max(Math.abs(x - px), Math.abs(y - py)); + if (d < bestDist) { + bestDist = d; + best = h; + } + } + h = hitFromNode(tile.aClass318_Sub1_Sub4_4406, name, x, y, plane); + if (h != null) { + int d = Math.max(Math.abs(x - px), Math.abs(y - py)); + if (d < bestDist) { + bestDist = d; + best = h; + } + } + h = hitFromNode(tile.aClass318_Sub1_Sub5_4395, name, x, y, plane); + if (h != null) { + int d = Math.max(Math.abs(x - px), Math.abs(y - py)); + if (d < bestDist) { + bestDist = d; + best = h; + } + } + h = hitFromNode(tile.aClass318_Sub1_Sub5_4407, name, x, y, plane); + if (h != null) { + int d = Math.max(Math.abs(x - px), Math.abs(y - py)); + if (d < bestDist) { + bestDist = d; + best = h; + } + } + h = hitFromNode(tile.aClass318_Sub1_Sub2_4408, name, x, y, plane); + if (h != null) { + int d = Math.max(Math.abs(x - px), Math.abs(y - py)); + if (d < bestDist) { + bestDist = d; + best = h; + } + } + for (Component3 link = tile.aClass148_4396; link != null; link = link.aClass148_2038) { + h = hitFromNode(link.aClass318_Sub1_Sub3_2040, name, x, y, plane); + if (h != null) { + int d = Math.max(Math.abs(x - px), Math.abs(y - py)); + if (d < bestDist) { + bestDist = d; + best = h; + } + } + } + } + } + return best; + } + + private static SceneObjectHit closer(SceneObjectHit best, int bestDist, SceneObjectHit h, int px, int py) { + if (h == null) { + return best; + } + int d = Math.max(Math.abs(h.localX - px), Math.abs(h.localY - py)); + return d < bestDist ? h : best; + } + + private static SceneObjectHit hitFromNode(Object node, String name, int x, int y, int plane) { + if (!(node instanceof Interface10)) { + return null; + } + Interface10 iface = (Interface10) node; + try { + Component44 def = GradientPreset.aClass263_9195.method2005(0, iface.method42(-100)); + if (def == null) { + return null; + } + if (def.anIntArray945 != null) { + def = def.method480(DisplayModeManagerContainer58.aClass170_10209, (byte) 47); + if (def == null) { + return null; + } + } + String oname = def.aString884; + if (name != null && (oname == null || oname.toLowerCase().indexOf(name.toLowerCase()) < 0)) { + return null; + } + return new SceneObjectHit(def, iface, x, y, plane); + } catch (Throwable t) { + return null; + } + } + + private static int opcodeFor(Component44 def, String action) { + if (def == null || def.aStringArray913 == null || action == null) { + return -1; + } + for (int i = 0; i < def.aStringArray913.length && i < OBJECT_OPCODES.length; i++) { + if (def.aStringArray913[i] != null && def.aStringArray913[i].equalsIgnoreCase(action)) { + return OBJECT_OPCODES[i]; + } + } + return -1; + } + + static final class SceneObjectHit { + final Component44 def; + final Interface10 iface; + final int localX; + final int localY; + final int plane; + + SceneObjectHit(Component44 def, Interface10 iface, int localX, int localY, int plane) { + this.def = def; + this.iface = iface; + this.localX = localX; + this.localY = localY; + this.plane = plane; + } + } +} diff --git a/client/rs2/Rs2GroundItem.java b/client/rs2/Rs2GroundItem.java new file mode 100644 index 000000000..015c1d1bd --- /dev/null +++ b/client/rs2/Rs2GroundItem.java @@ -0,0 +1,30 @@ +/** + * Ground-item helpers — interact via orange item menu opcodes (21/10/47/22/5) + * as built in {@link ColoredText}. + */ +final class Rs2GroundItem { + + private Rs2GroundItem() { + } + + /** + * Take / interact nearest ground item matching {@code name} (substring). + * Uses action "Take" when present. + */ + static boolean takeNearest(String name) { + return interactNearest(name, "Take"); + } + + static boolean interactNearest(String name, String action) { + // Ground items are ephemeral in the hover picker; for MVP, walk the + // recent ground-item nodes if NodeSub34 lists are available via + // NodeSub37. Fallback: click tip after forcing a Take entry when + // the player is standing on a pile (script responsibility to be near). + DisplayModeManagerContainer57 label = Rs2Widget.findByText(name); + if (label != null) { + return Rs2Widget.click(label, action); + } + Microbot.log("Rs2GroundItem: no pile matched '" + name + "' (stand on item / expand later)"); + return false; + } +} diff --git a/client/rs2/Rs2Inventory.java b/client/rs2/Rs2Inventory.java new file mode 100644 index 000000000..8916dea40 --- /dev/null +++ b/client/rs2/Rs2Inventory.java @@ -0,0 +1,127 @@ +/** + * Inventory backpack facade — scans loaded interface trees for item-bearing + * components ({@link DisplayModeManagerContainer57#anInt812} > 0). Interact via {@link Rs2Widget}. + */ +final class Rs2Inventory { + + private Rs2Inventory() { + } + + static int count(int itemId) { + int total = 0; + DisplayModeManagerContainer57[] slots = slots(); + for (int i = 0; i < slots.length; i++) { + if (slots[i] != null && slots[i].anInt812 == itemId) { + total++; + } + } + return total; + } + + static boolean contains(int itemId) { + return count(itemId) > 0; + } + + static boolean isFull() { + DisplayModeManagerContainer57[] slots = slots(); + int filled = 0; + int capacity = 0; + for (int i = 0; i < slots.length; i++) { + if (slots[i] == null) { + continue; + } + capacity++; + if (slots[i].anInt812 > 0) { + filled++; + } + } + return capacity > 0 && filled >= capacity; + } + + static boolean interact(int itemId, String action) { + DisplayModeManagerContainer57 slot = findSlot(itemId); + if (slot == null) { + return false; + } + NewMenuEntry entry = new NewMenuEntry(action, + slot.aString752 != null ? slot.aString752 : "", + Rs2Widget.OPCODE_CC_OP, + 1L, + slot.anInt704, + slot.anInt830, + itemId); + Microbot.doInvoke(entry); + return true; + } + + static boolean drop(int itemId) { + return interact(itemId, "Drop"); + } + + static DisplayModeManagerContainer57 findSlot(int itemId) { + DisplayModeManagerContainer57[] slots = slots(); + for (int i = 0; i < slots.length; i++) { + if (slots[i] != null && slots[i].anInt812 == itemId) { + return slots[i]; + } + } + return null; + } + + /** + * Collect item components under inventory-ish groups. Prefers group + * {@link MicrobotWidgets#INVENTORY_GROUP}, else any visible item grid. + */ + static DisplayModeManagerContainer57[] slots() { + java.util.ArrayList list = new java.util.ArrayList(); + collectGroup(MicrobotWidgets.INVENTORY_GROUP, list); + if (list.isEmpty()) { + // Fallback: first group with many item children + if (DefinitionSub33.aClass46ArrayArray9427 != null) { + DisplayModeManagerContainer57[][] roots = DefinitionSub33.aClass46ArrayArray9427; + for (int g = 0; g < roots.length; g++) { + int before = list.size(); + collectGroup(g, list); + if (list.size() - before >= 20) { + break; + } + // discard sparse groups + while (list.size() > before) { + list.remove(list.size() - 1); + } + } + } + } + return (DisplayModeManagerContainer57[]) list.toArray(new DisplayModeManagerContainer57[list.size()]); + } + + private static void collectGroup(int group, java.util.ArrayList list) { + if (DefinitionSub33.aClass46ArrayArray9427 == null) { + return; + } + if (group < 0 || group >= DefinitionSub33.aClass46ArrayArray9427.length) { + return; + } + DisplayModeManagerContainer57[] all = DefinitionSub33.aClass46ArrayArray9427[group]; + if (all == null) { + return; + } + for (int i = 0; i < all.length; i++) { + collectItems(all[i], list); + } + } + + private static void collectItems(DisplayModeManagerContainer57 c, java.util.ArrayList list) { + if (c == null) { + return; + } + if (c.anInt812 > 0) { + list.add(c); + } + if (c.aClass46Array798 != null) { + for (int i = 0; i < c.aClass46Array798.length; i++) { + collectItems(c.aClass46Array798[i], list); + } + } + } +} diff --git a/client/rs2/Rs2Keyboard.java b/client/rs2/Rs2Keyboard.java new file mode 100644 index 000000000..2a3f5b9b4 --- /dev/null +++ b/client/rs2/Rs2Keyboard.java @@ -0,0 +1,58 @@ +import java.awt.Canvas; +import java.awt.event.KeyEvent; +import java.lang.reflect.Method; + +/** + * Synthetic keyboard — desktop dispatches {@link KeyEvent} on the canvas; + * mobile reflects {@code voidawt.AwtHost.injectKey}. + */ +final class Rs2Keyboard { + + private Rs2Keyboard() { + } + + static void typeString(String text) { + if (text == null) { + return; + } + for (int i = 0; i < text.length(); i++) { + keyType(text.charAt(i)); + MicrobotGlobal.sleep(30 + (int) (Math.random() * 40)); + } + } + + static void keyPress(int keyCode) { + dispatch(KeyEvent.KEY_PRESSED, keyCode, (char) KeyEvent.CHAR_UNDEFINED); + dispatch(KeyEvent.KEY_RELEASED, keyCode, (char) KeyEvent.CHAR_UNDEFINED); + } + + static void keyType(char ch) { + int code = Character.toUpperCase(ch); + dispatch(KeyEvent.KEY_PRESSED, code, ch); + dispatch(KeyEvent.KEY_TYPED, code, ch); + dispatch(KeyEvent.KEY_RELEASED, code, ch); + } + + private static void dispatch(int id, int keyCode, char ch) { + if (tryMobileInject(id, keyCode, ch)) { + return; + } + Canvas canvas = DisplayModeManagerContainer50.gameCanvas; + if (canvas == null) { + return; + } + KeyEvent e = new KeyEvent(canvas, id, System.currentTimeMillis(), 0, keyCode, ch); + canvas.dispatchEvent(e); + } + + private static boolean tryMobileInject(int id, int keyCode, char ch) { + try { + Class c = Class.forName("voidawt.AwtHost"); + Method m = c.getMethod("injectKey", int.class, int.class, char.class); + m.invoke(null, Integer.valueOf(id), Integer.valueOf(keyCode), Character.valueOf(ch)); + return true; + } catch (Throwable t) { + return false; + } + } +} diff --git a/client/rs2/Rs2Npc.java b/client/rs2/Rs2Npc.java new file mode 100644 index 000000000..0c9c8112f --- /dev/null +++ b/client/rs2/Rs2Npc.java @@ -0,0 +1,138 @@ +/** + * NPC query + interact (menu-inject Attack / action). + * Attack opcode slot 0 = 25 (see {@link ParticleShader#addNpcMenuOptions}). + */ +final class Rs2Npc { + + static final int OPCODE_ATTACK_0 = 25; + static final int OPCODE_ACTION_1 = 20; + static final int OPCODE_ACTION_2 = 44; + static final int OPCODE_ACTION_3 = 46; + static final int OPCODE_ACTION_4 = 60; + + private Rs2Npc() { + } + + static Npc[] getAll() { + return MicrobotRuntime.npcCache.snapshot(); + } + + static Npc getNearest(String name) { + Npc best = null; + int bestDist = Integer.MAX_VALUE; + Npc[] all = getAll(); + for (int i = 0; i < all.length; i++) { + Npc n = all[i]; + if (n == null || n.definition == null) { + continue; + } + String nname = n.definition.name; + if (name != null && (nname == null || !nname.equalsIgnoreCase(name))) { + continue; + } + int d = Rs2Player.distanceTo(n); + if (d < bestDist) { + bestDist = d; + best = n; + } + } + return best; + } + + static Npc getNearestAttackable() { + String attack = attackLabel(); + Npc best = null; + int bestDist = Integer.MAX_VALUE; + Npc[] all = getAll(); + for (int i = 0; i < all.length; i++) { + Npc n = all[i]; + if (n == null || n.definition == null) { + continue; + } + NpcComposition def = n.definition; + if (def.anIntArray1377 != null) { + def = def.method794(DisplayModeManagerContainer58.aClass170_10209, -1); + if (def == null) { + continue; + } + } + if (!hasAction(def, attack)) { + continue; + } + int d = Rs2Player.distanceTo(n); + if (d < bestDist) { + bestDist = d; + best = n; + } + } + return best; + } + + static boolean interact(Npc npc, String action) { + if (npc == null || action == null) { + return false; + } + NpcComposition def = npc.definition; + if (def == null) { + return false; + } + if (def.anIntArray1377 != null) { + def = def.method794(DisplayModeManagerContainer58.aClass170_10209, -1); + if (def == null) { + return false; + } + } + int opcode = opcodeForAction(def, action); + if (opcode <= 0) { + return false; + } + String target = "" + def.name; + NewMenuEntry entry = new NewMenuEntry(action, target, opcode, npc.anInt10290, 0, 0, -1); + Microbot.doInvoke(entry); + return true; + } + + static boolean attack(Npc npc) { + return interact(npc, attackLabel()); + } + + /** Exposed for diagnostics / ExampleCombat. */ + static String attackLabelPublic() { + return attackLabel(); + } + + private static String attackLabel() { + try { + return FriendsIgnoreList.aClass274_3506.getLocalized(ObjectDeserializer.languageId, 544); + } catch (Throwable t) { + return "Attack"; + } + } + + private static boolean hasAction(NpcComposition def, String action) { + String[] actions = def.actions; + if (actions == null) { + return false; + } + for (int i = 0; i < actions.length && i < 5; i++) { + if (actions[i] != null && actions[i].equalsIgnoreCase(action)) { + return true; + } + } + return false; + } + + private static int opcodeForAction(NpcComposition def, String action) { + String[] actions = def.actions; + if (actions == null) { + return -1; + } + int[] ops = {OPCODE_ATTACK_0, OPCODE_ACTION_1, OPCODE_ACTION_2, OPCODE_ACTION_3, OPCODE_ACTION_4}; + for (int i = 0; i < 5 && i < actions.length; i++) { + if (actions[i] != null && actions[i].equalsIgnoreCase(action)) { + return ops[i]; + } + } + return -1; + } +} diff --git a/client/rs2/Rs2NpcCache.java b/client/rs2/Rs2NpcCache.java new file mode 100644 index 000000000..fce930eac --- /dev/null +++ b/client/rs2/Rs2NpcCache.java @@ -0,0 +1,59 @@ +/** + * Per-tick NPC snapshot (Queryable-lite). Refresh when {@link OpenGlShader#clientCycle} + * advances. Source: {@link Component21#aClass356_3654} + {@link DisplayModeManagerContainer238#anIntArray1233}. + */ +final class Rs2NpcCache { + + private int lastTick = -1; + private Npc[] npcs = new Npc[0]; + private int count; + + Rs2NpcCache() { + } + + void refreshIfNeeded() { + int tick = OpenGlShader.clientCycle; + if (tick == lastTick) { + return; + } + lastTick = tick; + int n = Component324.anInt2057; + if (n < 0) { + n = 0; + } + if (npcs.length < n) { + npcs = new Npc[Math.max(n, 64)]; + } + count = 0; + for (int i = 0; i < Component324.anInt2057; i++) { + try { + NodeSub22 node = (NodeSub22) Component21.aClass356_3654.get(DisplayModeManagerContainer238.anIntArray1233[i], -6008); + if (node == null || node.npc == null) { + continue; + } + npcs[count++] = node.npc; + } catch (Throwable ignored) { + } + } + } + + int size() { + refreshIfNeeded(); + return count; + } + + Npc get(int i) { + refreshIfNeeded(); + if (i < 0 || i >= count) { + return null; + } + return npcs[i]; + } + + Npc[] snapshot() { + refreshIfNeeded(); + Npc[] out = new Npc[count]; + System.arraycopy(npcs, 0, out, 0, count); + return out; + } +} diff --git a/client/rs2/Rs2Player.java b/client/rs2/Rs2Player.java new file mode 100644 index 000000000..21321cc73 --- /dev/null +++ b/client/rs2/Rs2Player.java @@ -0,0 +1,79 @@ +/** + * Local player helpers for Microbot scripts. + */ +final class Rs2Player { + + private Rs2Player() { + } + + static Player getLocal() { + return MicrobotRuntime.playerCache.getLocal(); + } + + static boolean isMoving() { + Player p = getLocal(); + if (p == null) { + return false; + } + // Queue length / path residual — anIntArray10320[0] is current; moving if more steps queued + return p.anInt10306 > 0 || p.anInt10269 != -1; + } + + /** + * True when the local player has an interacting target. + *

+ * {@code Player.anInt10275} is the entity face/interact index from the server + * ({@code -1} = none; {@code < 32768} = NPC; {@code >= 32768} = player). + * Prefer this over animation flags — idle anims are not combat. + */ + static boolean inCombat() { + Player p = getLocal(); + if (p == null) { + return false; + } + return p.anInt10275 != -1; + } + + /** Interacting entity index, or {@code -1} when idle. See {@link #inCombat()}. */ + static int getInteractingIndex() { + Player p = getLocal(); + return p != null ? p.anInt10275 : -1; + } + + static int getAnimation() { + Player p = getLocal(); + return p != null ? p.anInt10268 : -1; + } + + static int getCombatLevel() { + Player p = getLocal(); + return p != null ? p.combatLevel : 0; + } + + static int getWorldX() { + return MicrobotWidgets.localAbsX(); + } + + static int getWorldY() { + return MicrobotWidgets.localAbsY(); + } + + static int getPlane() { + return MicrobotWidgets.localPlane(); + } + + static int distanceTo(int absX, int absY) { + int dx = getWorldX() - absX; + int dy = getWorldY() - absY; + return Math.max(Math.abs(dx), Math.abs(dy)); + } + + static int distanceTo(Npc npc) { + if (npc == null) { + return Integer.MAX_VALUE; + } + int nx = npc.anIntArray10320[0] + NodeBaseSub2.regionTileX; + int ny = npc.anIntArray10317[0] + Component330.regionTileY; + return distanceTo(nx, ny); + } +} diff --git a/client/rs2/Rs2PlayerCache.java b/client/rs2/Rs2PlayerCache.java new file mode 100644 index 000000000..289ab234d --- /dev/null +++ b/client/rs2/Rs2PlayerCache.java @@ -0,0 +1,58 @@ +/** + * Local player + nearby players snapshot. + */ +final class Rs2PlayerCache { + + private int lastTick = -1; + private Player local; + private Player[] players = new Player[0]; + private int count; + + Rs2PlayerCache() { + } + + void refreshIfNeeded() { + int tick = OpenGlShader.clientCycle; + if (tick == lastTick) { + return; + } + lastTick = tick; + local = Component72.localPlayer; + int n = ShaderCompilerSub1.anInt6513; + if (n < 0) { + n = 0; + } + if (players.length < n) { + players = new Player[Math.max(n, 32)]; + } + count = 0; + int[] indices = ShaderProgramSub7.anIntArray6290; + for (int i = 0; i < n && indices != null; i++) { + try { + Player p = InterfaceRenderer.players[indices[i]]; + if (p != null) { + players[count++] = p; + } + } catch (Throwable ignored) { + } + } + } + + Player getLocal() { + refreshIfNeeded(); + return local; + } + + int size() { + refreshIfNeeded(); + return count; + } + + Player get(int i) { + refreshIfNeeded(); + if (i < 0 || i >= count) { + return null; + } + return players[i]; + } +} diff --git a/client/rs2/Rs2TileCaches.java b/client/rs2/Rs2TileCaches.java new file mode 100644 index 000000000..1ebf29b81 --- /dev/null +++ b/client/rs2/Rs2TileCaches.java @@ -0,0 +1,37 @@ +/** + * Tick-scoped tile-object / ground-item cache stubs. + * Full queryable streams deferred — {@link Rs2GameObject} / {@link Rs2GroundItem} + * scan the scene live for MVP. + */ +final class Rs2TileObjectCache { + + private int lastTick = -1; + + Rs2TileObjectCache() { + } + + void refreshIfNeeded() { + int tick = OpenGlShader.clientCycle; + if (tick == lastTick) { + return; + } + lastTick = tick; + // Scene walk is done on demand in Rs2GameObject.findNearest + } +} + +final class Rs2TileItemCache { + + private int lastTick = -1; + + Rs2TileItemCache() { + } + + void refreshIfNeeded() { + int tick = OpenGlShader.clientCycle; + if (tick == lastTick) { + return; + } + lastTick = tick; + } +} diff --git a/client/rs2/Rs2Walker.java b/client/rs2/Rs2Walker.java new file mode 100644 index 000000000..f4edbf56b --- /dev/null +++ b/client/rs2/Rs2Walker.java @@ -0,0 +1,48 @@ +/** + * Simplified walker — BFS on local collision then walk-click (opcode 19) via + * menu-inject. Transports/doors deferred (Microbot shortestpath later). + *

+ * Uses {@link Component10#method2252} as an internal reliability assist after the + * click is issued when the path is short. + */ +final class Rs2Walker { + + /** Walk-here opcode (see {@link ColoredTextBuilder#method2599} i_76_ == 19). */ + static final int OPCODE_WALK = 19; + + private Rs2Walker() { + } + + static boolean isNear(int absX, int absY, int dist) { + return Rs2Player.distanceTo(absX, absY) <= dist; + } + + static boolean walkTo(int absX, int absY) { + return walkTo(absX, absY, MicrobotWidgets.localPlane()); + } + + static boolean walkTo(int absX, int absY, int plane) { + if (!Microbot.isLoggedIn()) { + return false; + } + int localX = absX - NodeBaseSub2.regionTileX; + int localY = absY - Component330.regionTileY; + if (localX < 0 || localY < 0 || localX >= AbstractShaderSub4.anInt7319 || localY >= ParametricDefinition.anInt9109) { + Microbot.log("walkTo out of scene: " + absX + "," + absY); + return false; + } + NewMenuEntry entry = new NewMenuEntry("Walk here", "", OPCODE_WALK, 1L, localX, localY, -1); + // Walk uses param0=x, param1=y (see client walk method466 + ColoredTextBuilder op 19) + entry.setParam0(localX); + entry.setParam1(localY); + entry.setIdentifier(1L); + Microbot.doInvoke(entry); + // Assist pathing on client thread shortly after + MicrobotRuntime.queueWalkAssist(localX, localY); + return true; + } + + static boolean walkToLocal(int localX, int localY) { + return walkTo(localX + NodeBaseSub2.regionTileX, localY + Component330.regionTileY); + } +} diff --git a/client/rs2/Rs2Widget.java b/client/rs2/Rs2Widget.java new file mode 100644 index 000000000..6031822cd --- /dev/null +++ b/client/rs2/Rs2Widget.java @@ -0,0 +1,95 @@ +/** + * Widget tree helpers — find by text / packed id, click via menu-inject. + * Interface item ops: 18 / 1011 (CC_OP), 13 (Use) — see {@link Component66}. + */ +final class Rs2Widget { + + static final int OPCODE_CC_OP = 18; + static final int OPCODE_CC_OP_HIGH = 1011; + static final int OPCODE_USE = 13; + + private Rs2Widget() { + } + + static DisplayModeManagerContainer57 get(int packedId) { + return MicrobotWidgets.get(packedId); + } + + static boolean isVisible(DisplayModeManagerContainer57 w) { + return w != null && !w.aBoolean813; + } + + static DisplayModeManagerContainer57 findByText(String text) { + if (text == null || DefinitionSub33.aClass46ArrayArray9427 == null) { + return null; + } + DisplayModeManagerContainer57[][] roots = DefinitionSub33.aClass46ArrayArray9427; + for (int g = 0; g < roots.length; g++) { + DisplayModeManagerContainer57[] all = roots[g]; + if (all == null) { + continue; + } + for (int i = 0; i < all.length; i++) { + DisplayModeManagerContainer57 c = all[i]; + if (c == null) { + continue; + } + if (c.aString752 != null && c.aString752.toLowerCase().indexOf(text.toLowerCase()) >= 0) { + return c; + } + if (c.aClass46Array798 != null) { + DisplayModeManagerContainer57 nested = findInChildren(c.aClass46Array798, text); + if (nested != null) { + return nested; + } + } + } + } + return null; + } + + private static DisplayModeManagerContainer57 findInChildren(DisplayModeManagerContainer57[] kids, String text) { + if (kids == null) { + return null; + } + for (int i = 0; i < kids.length; i++) { + DisplayModeManagerContainer57 c = kids[i]; + if (c == null) { + continue; + } + if (c.aString752 != null && c.aString752.toLowerCase().indexOf(text.toLowerCase()) >= 0) { + return c; + } + if (c.aClass46Array798 != null) { + DisplayModeManagerContainer57 nested = findInChildren(c.aClass46Array798, text); + if (nested != null) { + return nested; + } + } + } + return null; + } + + /** + * Left-click a component option (Wear / Withdraw-1 / …) via menu inject. + */ + static boolean click(DisplayModeManagerContainer57 component, String option) { + if (component == null || option == null) { + return false; + } + int packed = (component.anInt704 << 0) | component.anInt830; + NewMenuEntry entry = new NewMenuEntry(option, component.aString752 != null ? component.aString752 : "", + OPCODE_CC_OP, 1L, component.anInt704, component.anInt830, component.anInt812); + // identifier for item rows is often 1+slot — anInt9605 from method466 uses 1+i + entry.setIdentifier(1L); + entry.setParam0(component.anInt704); + entry.setParam1(component.anInt830); + Microbot.doInvoke(entry); + return true; + } + + static boolean click(String text) { + DisplayModeManagerContainer57 w = findByText(text); + return w != null && click(w, text); + } +} diff --git a/client/scene/buffers/BufferCacheSub1.java b/client/scene/buffers/BufferCacheSub1.java new file mode 100644 index 000000000..5219da9b4 --- /dev/null +++ b/client/scene/buffers/BufferCacheSub1.java @@ -0,0 +1,1600 @@ +/* BufferCacheSub1 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class BufferCacheSub1 +/** + * RENAMED from `BufferCacheSub1` (JODE-obfuscated). + * Evidence: extends s (s) + */ extends s { + private float aFloat8212; + private float aFloat8213; + private float aFloat8214; + private Component180[][] aClass102ArrayArray8215; + private float aFloat8216; + private final GlToolkitSub1 aHa_Sub1_8217; + private float aFloat8218; + private Component250[][] aClass198ArrayArray8219; + private byte[][] aByteArrayArray8220; + private float aFloat8221; + private Component4[][] aClass236ArrayArray8222; + private final int anInt8223; + private float aFloat8224; + private Component70[][] aClass145ArrayArray8225; + private float aFloat8226; + private float aFloat8227; + private int anInt8228 = -1; + private float aFloat8229; + private Component157[][] aClass266ArrayArray8230; + private float aFloat8231; + private byte[][] aByteArrayArray8232; + private float aFloat8233; + + final void method3981(NodeSub1 class348_sub1, int[] is) { + /* empty */ + } + + final void U(int i, int i_0_, int[] is, int[] is_1_, int[] is_2_, int[] is_3_, int[] is_4_, int[] is_5_, int[] is_6_, int[] is_7_, int i_8_, int i_9_, int i_10_, boolean bool) { + boolean bool_11_ = (anInt8223 & 0x20) == 0; + if (aClass266ArrayArray8230 == null && !bool_11_) { + aClass266ArrayArray8230 = new Component157[this.anInt4587][this.anInt4590]; + aClass145ArrayArray8225 = new Component70[this.anInt4587][this.anInt4590]; + } else if (aClass198ArrayArray8219 == null && bool_11_) aClass198ArrayArray8219 = new Component250[this.anInt4587][this.anInt4590]; + else if (aClass102ArrayArray8215 != null) throw new IllegalStateException(); + if (is != null && is.length != 0) { + for (int i_12_ = 0; i_12_ < is_4_.length; i_12_++) { + if (is_4_[i_12_] == -1) is_4_[i_12_] = 0; + else is_4_[i_12_] = ((Component380.anIntArray4983[Component361.method303(is_4_[i_12_], 30) & 0xffff]) << 8) | 0xff; + } + if (is_5_ != null) { + for (int i_13_ = 0; i_13_ < is_5_.length; i_13_++) { + if (is_5_[i_13_] == -1) is_5_[i_13_] = 0; + else is_5_[i_13_] = ((Component380.anIntArray4983[Component361.method303(is_5_[i_13_], 30) & 0xffff]) << 8) | 0xff; + } + } + if (bool_11_) { + Component250 class198 = new Component250(); + class198.aShort2620 = (short) is.length; + class198.aShort2619 = (short) (is.length / 3); + class198.aShortArray2622 = new short[class198.aShort2620]; + class198.aShortArray2618 = new short[class198.aShort2620]; + class198.aShortArray2613 = new short[class198.aShort2620]; + class198.anIntArray2623 = new int[class198.aShort2620]; + class198.aShortArray2616 = new short[class198.aShort2620]; + class198.aShortArray2614 = new short[class198.aShort2620]; + class198.aByteArray2617 = new byte[class198.aShort2620]; + if (is_3_ != null) class198.aShortArray2621 = new short[class198.aShort2620]; + for (int i_14_ = 0; i_14_ < class198.aShort2620; i_14_++) { + int i_15_ = is[i_14_]; + int i_16_ = is_2_[i_14_]; + boolean bool_17_ = false; + int i_18_; + if (i_15_ == 0 && i_16_ == 0) i_18_ = (aByteArrayArray8220[i][i_0_] - aByteArrayArray8232[i][i_0_]); + else if (i_15_ == 0 && i_16_ == this.anInt4592) i_18_ = (aByteArrayArray8220[i][i_0_ + 1] - aByteArrayArray8232[i][i_0_ + 1]); + else if (i_15_ == this.anInt4592 && i_16_ == this.anInt4592) i_18_ = (aByteArrayArray8220[i + 1][i_0_ + 1] - aByteArrayArray8232[i + 1][i_0_ + 1]); + else if (i_15_ == this.anInt4592 && i_16_ == 0) i_18_ = (aByteArrayArray8220[i + 1][i_0_] - aByteArrayArray8232[i + 1][i_0_]); + else { + int i_19_ = (((aByteArrayArray8220[i][i_0_] - aByteArrayArray8232[i][i_0_]) * (this.anInt4592 - i_15_)) + (aByteArrayArray8220[i + 1][i_0_] - aByteArrayArray8232[i + 1][i_0_]) * i_15_); + int i_20_ = (((aByteArrayArray8220[i][i_0_ + 1] - aByteArrayArray8232[i][i_0_ + 1]) * (this.anInt4592 - i_15_)) + ((aByteArrayArray8220[i + 1][i_0_ + 1] - aByteArrayArray8232[i + 1][i_0_ + 1]) * i_15_)); + i_18_ = (i_19_ * (this.anInt4592 - i_16_) + i_20_ * i_16_) >> 2 * this.anInt4588; + } + int i_21_ = (i << this.anInt4588) + i_15_; + int i_22_ = (i_0_ << this.anInt4588) + i_16_; + class198.aShortArray2622[i_14_] = (short) i_15_; + class198.aShortArray2613[i_14_] = (short) i_16_; + class198.aShortArray2618[i_14_] = (short) (this.method3986(i_21_, i_22_, (byte) 64) + (is_1_ != null ? is_1_[i_14_] : 0)); + if (i_18_ < 0) i_18_ = 0; + if (is_4_[i_14_] == 0) { + class198.anIntArray2623[i_14_] = 0; + if (is_5_ != null) class198.aByteArray2617[i_14_] = (byte) i_18_; + } else { + int i_23_ = 0; + if (is_3_ != null) { + int i_24_ = (class198.aShortArray2621[i_14_] = (short) is_3_[i_14_]); + if (i_9_ != 0) { + i_23_ = 255 * i_24_ / i_9_; + if (i_23_ < 0) i_23_ = 0; + else if (i_23_ > 255) i_23_ = 255; + } + } + int i_25_ = -16777216; + if (is_6_[i_14_] != -1 && method3997(aHa_Sub1_8217.aD4579.method3(is_6_[i_14_], -6662).aByte213)) i_25_ = -1694498816; + class198.anIntArray2623[i_14_] = (i_25_ | Component10.method2250(method3991((is_4_[i_14_] >> 8), i_18_), 118, i_23_, i_8_)); + if (is_5_ != null) class198.aByteArray2617[i_14_] = (byte) i_18_; + } + class198.aShortArray2616[i_14_] = (short) is_6_[i_14_]; + class198.aShortArray2614[i_14_] = (short) is_7_[i_14_]; + } + if (is_5_ != null) class198.anIntArray2615 = new int[class198.aShort2619]; + for (int i_26_ = 0; i_26_ < class198.aShort2619; i_26_++) { + int i_27_ = i_26_ * 3; + if (is_5_ != null && is_5_[i_27_] != 0) class198.anIntArray2615[i_26_] = ~0xffffff | is_5_[i_27_] >> 8; + } + aClass198ArrayArray8219[i][i_0_] = class198; + } else { + boolean bool_28_ = true; + int i_29_ = -1; + int i_30_ = -1; + int i_31_ = -1; + int i_32_ = -1; + if (is.length == 6) { + for (int i_33_ = 0; i_33_ < 6; i_33_++) { + if (is[i_33_] == 0 && is_2_[i_33_] == 0) { + if (i_29_ != -1 && is_4_[i_29_] != is_4_[i_33_]) { + bool_28_ = false; + break; + } + i_29_ = i_33_; + } else if (is[i_33_] == this.anInt4592 && is_2_[i_33_] == 0) { + if (i_30_ != -1 && is_4_[i_30_] != is_4_[i_33_]) { + bool_28_ = false; + break; + } + i_30_ = i_33_; + } else if (is[i_33_] == this.anInt4592 && is_2_[i_33_] == this.anInt4592) { + if (i_31_ != -1 && is_4_[i_31_] != is_4_[i_33_]) { + bool_28_ = false; + break; + } + i_31_ = i_33_; + } else if (is[i_33_] == 0 && is_2_[i_33_] == this.anInt4592) { + if (i_32_ != -1 && is_4_[i_32_] != is_4_[i_33_]) { + bool_28_ = false; + break; + } + i_32_ = i_33_; + } + } + if (i_29_ == -1 || i_30_ == -1 || i_31_ == -1 || i_32_ == -1) bool_28_ = false; + if (bool_28_) { + if (is_1_ != null) { + for (int i_34_ = 0; i_34_ < 4; i_34_++) { + if (is_1_[i_34_] != 0) { + bool_28_ = false; + break; + } + } + } + if (bool_28_) { + for (int i_35_ = 1; i_35_ < 4; i_35_++) { + if (is[i_35_] != is[0] && (is[i_35_] != is[0] + this.anInt4592) && (is[i_35_] != is[0] - this.anInt4592)) { + bool_28_ = false; + break; + } + if (is_2_[i_35_] != is_2_[0] && (is_2_[i_35_] != is_2_[0] + this.anInt4592) && (is_2_[i_35_] != is_2_[0] - this.anInt4592)) { + bool_28_ = false; + break; + } + } + } + } + } else bool_28_ = false; + if (bool_28_) { + Component157 class266 = new Component157(); + int i_36_ = is_4_[0]; + int i_37_ = is_6_[0]; + if (is_5_ != null) { + class266.anInt3388 = is_5_[0] >> 8; + if (i_36_ == 0) class266.aByte3386 |= 0x2; + } else if (i_36_ == 0) return; + if ((this.anIntArrayArray4584[i][i_0_] == this.anIntArrayArray4584[i + 1][i_0_]) && (this.anIntArrayArray4584[i][i_0_] == this.anIntArrayArray4584[i + 1][i_0_ + 1]) && (this.anIntArrayArray4584[i][i_0_] == this.anIntArrayArray4584[i][i_0_ + 1])) class266.aByte3386 |= 0x1; + if (i_37_ != -1 && (class266.aByte3386 & 0x2) == 0 && !(aHa_Sub1_8217.aD4579.method3(i_37_, -6662).aBoolean209)) { + int i_38_; + if (is_3_ != null && i_9_ != 0) { + i_38_ = 255 * is_3_[i_29_] / i_9_; + if (i_38_ < 0) i_38_ = 0; + else if (i_38_ > 255) i_38_ = 255; + } else i_38_ = 0; + class266.anInt3389 = (Component10.method2250(method3991(is_4_[i_29_] >> 8, (aByteArrayArray8220[i][i_0_] - aByteArrayArray8232[i][i_0_])), 88, i_38_, i_8_)); + if (class266.anInt3388 != 0) class266.anInt3389 |= (255 - (aByteArrayArray8220[i][i_0_] - aByteArrayArray8232[i][i_0_]) << 25); + if (is_3_ != null && i_9_ != 0) { + i_38_ = 255 * is_3_[i_30_] / i_9_; + if (i_38_ < 0) i_38_ = 0; + else if (i_38_ > 255) i_38_ = 255; + } else i_38_ = 0; + class266.anInt3387 = (Component10.method2250(method3991(is_4_[i_30_] >> 8, (aByteArrayArray8220[i + 1][i_0_] - (aByteArrayArray8232[i + 1][i_0_]))), 97, i_38_, i_8_)); + if (class266.anInt3388 != 0) class266.anInt3387 |= (255 - (aByteArrayArray8220[i + 1][i_0_] - aByteArrayArray8232[i + 1][i_0_]) << 25); + if (is_3_ != null && i_9_ != 0) { + i_38_ = 255 * is_3_[i_31_] / i_9_; + if (i_38_ < 0) i_38_ = 0; + else if (i_38_ > 255) i_38_ = 255; + } else i_38_ = 0; + class266.anInt3380 = (Component10.method2250(method3991(is_4_[i_31_] >> 8, ((aByteArrayArray8220[i + 1][i_0_ + 1]) - (aByteArrayArray8232[i + 1][i_0_ + 1]))), 103, i_38_, i_8_)); + if (class266.anInt3388 != 0) class266.anInt3380 |= 255 - (aByteArrayArray8220[i + 1][i_0_ + 1] - (aByteArrayArray8232[i + 1][i_0_ + 1])) << 25; + if (is_3_ != null && i_9_ != 0) { + i_38_ = 255 * is_3_[i_32_] / i_9_; + if (i_38_ < 0) i_38_ = 0; + else if (i_38_ > 255) i_38_ = 255; + } else i_38_ = 0; + class266.anInt3381 = (Component10.method2250(method3991(is_4_[i_32_] >> 8, (aByteArrayArray8220[i][i_0_ + 1] - (aByteArrayArray8232[i][i_0_ + 1]))), 42, i_38_, i_8_)); + class266.aShort3379 = (short) i_37_; + } else { + int i_39_; + if (is_3_ != null && i_9_ != 0) { + i_39_ = 255 * is_3_[i_29_] / i_9_; + if (i_39_ < 0) i_39_ = 0; + else if (i_39_ > 255) i_39_ = 255; + } else i_39_ = 0; + class266.anInt3389 = (Component10.method2250(method3991(is_4_[i_29_] >> 8, (aByteArrayArray8220[i][i_0_] - aByteArrayArray8232[i][i_0_])), 68, i_39_, i_8_)); + if (class266.anInt3388 != 0) class266.anInt3389 |= (255 - (aByteArrayArray8220[i][i_0_] - aByteArrayArray8232[i][i_0_]) << 25); + if (is_3_ != null && i_9_ != 0) { + i_39_ = 255 * is_3_[i_30_] / i_9_; + if (i_39_ < 0) i_39_ = 0; + else if (i_39_ > 255) i_39_ = 255; + } else i_39_ = 0; + class266.anInt3387 = (Component10.method2250(method3991(is_4_[i_30_] >> 8, (aByteArrayArray8220[i + 1][i_0_] - (aByteArrayArray8232[i + 1][i_0_]))), 112, i_39_, i_8_)); + if (class266.anInt3388 != 0) class266.anInt3387 |= (255 - (aByteArrayArray8220[i + 1][i_0_] - aByteArrayArray8232[i + 1][i_0_]) << 25); + if (is_3_ != null && i_9_ != 0) { + i_39_ = 255 * is_3_[i_31_] / i_9_; + if (i_39_ < 0) i_39_ = 0; + else if (i_39_ > 255) i_39_ = 255; + } else i_39_ = 0; + class266.anInt3380 = (Component10.method2250(method3991(is_4_[i_31_] >> 8, ((aByteArrayArray8220[i + 1][i_0_ + 1]) - (aByteArrayArray8232[i + 1][i_0_ + 1]))), 62, i_39_, i_8_)); + if (class266.anInt3388 != 0) class266.anInt3380 |= 255 - (aByteArrayArray8220[i + 1][i_0_ + 1] - (aByteArrayArray8232[i + 1][i_0_ + 1])) << 25; + if (is_3_ != null && i_9_ != 0) { + i_39_ = 255 * is_3_[i_32_] / i_9_; + if (i_39_ < 0) i_39_ = 0; + else if (i_39_ > 255) i_39_ = 255; + } else i_39_ = 0; + class266.anInt3381 = (Component10.method2250(method3991(is_4_[i_32_] >> 8, (aByteArrayArray8220[i][i_0_ + 1] - (aByteArrayArray8232[i][i_0_ + 1]))), 84, i_39_, i_8_)); + if (class266.anInt3388 != 0) class266.anInt3381 |= (255 - (aByteArrayArray8220[i][i_0_ + 1] - aByteArrayArray8232[i][i_0_ + 1]) << 25); + class266.aShort3379 = (short) -1; + } + if (is_3_ != null) { + class266.aShort3384 = (short) is_3_[i_31_]; + class266.aShort3385 = (short) is_3_[i_32_]; + class266.aShort3383 = (short) is_3_[i_30_]; + class266.aShort3382 = (short) is_3_[i_29_]; + } + aClass266ArrayArray8230[i][i_0_] = class266; + } else { + Component70 class145 = new Component70(); + class145.aShort2003 = (short) is.length; + class145.aShort2010 = (short) (is.length / 3); + class145.aShortArray2009 = new short[class145.aShort2003]; + class145.aShortArray2007 = new short[class145.aShort2003]; + class145.aShortArray2002 = new short[class145.aShort2003]; + class145.anIntArray2001 = new int[class145.aShort2003]; + if (is_3_ != null) class145.aShortArray2006 = new short[class145.aShort2003]; + for (int i_40_ = 0; i_40_ < class145.aShort2003; i_40_++) { + int i_41_ = is[i_40_]; + int i_42_ = is_2_[i_40_]; + boolean bool_43_ = false; + int i_44_; + if (i_41_ == 0 && i_42_ == 0) i_44_ = (aByteArrayArray8220[i][i_0_] - aByteArrayArray8232[i][i_0_]); + else if (i_41_ == 0 && i_42_ == this.anInt4592) i_44_ = (aByteArrayArray8220[i][i_0_ + 1] - aByteArrayArray8232[i][i_0_ + 1]); + else if (i_41_ == this.anInt4592 && i_42_ == this.anInt4592) i_44_ = (aByteArrayArray8220[i + 1][i_0_ + 1] - aByteArrayArray8232[i + 1][i_0_ + 1]); + else if (i_41_ == this.anInt4592 && i_42_ == 0) i_44_ = (aByteArrayArray8220[i + 1][i_0_] - aByteArrayArray8232[i + 1][i_0_]); + else { + int i_45_ = (((aByteArrayArray8220[i][i_0_] - aByteArrayArray8232[i][i_0_]) * (this.anInt4592 - i_41_)) + ((aByteArrayArray8220[i + 1][i_0_] - aByteArrayArray8232[i + 1][i_0_]) * i_41_)); + int i_46_ = (((aByteArrayArray8220[i][i_0_ + 1] - aByteArrayArray8232[i][i_0_ + 1]) * (this.anInt4592 - i_41_)) + ((aByteArrayArray8220[i + 1][i_0_ + 1] - aByteArrayArray8232[i + 1][i_0_ + 1]) * i_41_)); + i_44_ = ((i_45_ * (this.anInt4592 - i_42_) + i_46_ * i_42_) >> 2 * this.anInt4588); + } + int i_47_ = (i << this.anInt4588) + i_41_; + int i_48_ = (i_0_ << this.anInt4588) + i_42_; + class145.aShortArray2009[i_40_] = (short) i_41_; + class145.aShortArray2002[i_40_] = (short) i_42_; + class145.aShortArray2007[i_40_] = (short) (this.method3986(i_47_, i_48_, (byte) 126) + (is_1_ != null ? is_1_[i_40_] : 0)); + if (i_44_ < 0) i_44_ = 0; + if (is_4_[i_40_] == 0) { + if (is_5_ != null) class145.anIntArray2001[i_40_] = i_44_ << 25; + else class145.anIntArray2001[i_40_] = 0; + } else { + int i_49_ = 0; + if (is_3_ != null) { + int i_50_ = (class145.aShortArray2006[i_40_] = (short) is_3_[i_40_]); + if (i_9_ != 0) { + i_49_ = 255 * i_50_ / i_9_; + if (i_49_ < 0) i_49_ = 0; + else if (i_49_ > 255) i_49_ = 255; + } + } + class145.anIntArray2001[i_40_] = Component10.method2250(method3991((is_4_[i_40_] >> 8), i_44_), 40, i_49_, i_8_); + if (is_5_ != null) class145.anIntArray2001[i_40_] |= i_44_ << 25; + } + } + boolean bool_51_ = false; + for (int i_52_ = 0; i_52_ < class145.aShort2010; i_52_++) { + if (is_6_[i_52_ * 3] != -1 && !(aHa_Sub1_8217.aD4579.method3(is_6_[i_52_ * 3], -6662).aBoolean209)) bool_51_ = true; + } + if (is_5_ != null) class145.anIntArray2011 = new int[class145.aShort2010]; + if (bool_51_) { + class145.aShortArray2008 = new short[class145.aShort2010]; + class145.aShortArray2005 = new short[class145.aShort2010]; + } + for (int i_53_ = 0; i_53_ < class145.aShort2010; i_53_++) { + int i_54_ = i_53_ * 3; + if (is_5_ != null && is_5_[i_54_] != 0) class145.anIntArray2011[i_53_] = is_5_[i_54_] >> 8; + if (bool_51_) { + int i_55_ = i_54_ + 1; + int i_56_ = i_55_ + 1; + boolean bool_57_ = false; + boolean bool_58_ = true; + int i_59_ = is_6_[i_54_]; + if (i_59_ == -1 || (aHa_Sub1_8217.aD4579.method3(i_59_, -6662).aBoolean209)) bool_58_ = false; + else bool_57_ = true; + i_59_ = is_6_[i_55_]; + if (i_59_ == -1 || (aHa_Sub1_8217.aD4579.method3(i_59_, -6662).aBoolean209)) bool_58_ = false; + else bool_57_ = true; + i_59_ = is_6_[i_56_]; + if (i_59_ == -1 || (aHa_Sub1_8217.aD4579.method3(i_59_, -6662).aBoolean209)) bool_58_ = false; + else bool_57_ = true; + if (bool_58_) { + class145.aShortArray2008[i_53_] = (short) i_59_; + class145.aShortArray2005[i_53_] = (short) is_7_[i_54_]; + } else { + if (bool_57_) { + i_59_ = is_6_[i_54_]; + if (i_59_ != -1 && !(aHa_Sub1_8217.aD4579.method3(i_59_, -6662).aBoolean209)) class145.anIntArray2001[i_54_] = (Component380.anIntArray4983[(Component361.method303((aHa_Sub1_8217.aD4579.method3(i_59_, -6662).aShort208) & 0xffff, 30)) & 0xffff]); + i_59_ = is_6_[i_55_]; + if (i_59_ != -1 && !(aHa_Sub1_8217.aD4579.method3(i_59_, -6662).aBoolean209)) class145.anIntArray2001[i_55_] = (Component380.anIntArray4983[(Component361.method303((aHa_Sub1_8217.aD4579.method3(i_59_, -6662).aShort208) & 0xffff, 30)) & 0xffff]); + i_59_ = is_6_[i_56_]; + if (i_59_ != -1 && !(aHa_Sub1_8217.aD4579.method3(i_59_, -6662).aBoolean209)) class145.anIntArray2001[i_56_] = (Component380.anIntArray4983[(Component361.method303((aHa_Sub1_8217.aD4579.method3(i_59_, -6662).aShort208) & 0xffff, 30)) & 0xffff]); + } + class145.aShortArray2008[i_53_] = (short) -1; + } + } + } + aClass145ArrayArray8225[i][i_0_] = class145; + } + } + } + } + + final void method3978(int i, int i_60_, int[] is, int[] is_61_, int[] is_62_, int[] is_63_, int[] is_64_, int[] is_65_, int[] is_66_, int[] is_67_, int[] is_68_, int[] is_69_, int[] is_70_, int i_71_, int i_72_, int i_73_, boolean bool) { + if (aClass102ArrayArray8215 == null) { + aClass102ArrayArray8215 = new Component180[this.anInt4587][this.anInt4590]; + aClass236ArrayArray8222 = new Component4[this.anInt4587][this.anInt4590]; + } else if (aClass266ArrayArray8230 != null || aClass198ArrayArray8219 != null) throw new IllegalStateException(); + boolean bool_74_ = false; + if (is_67_.length == 2 && is_64_.length == 2 && (is_67_[0] == is_67_[1] || is_69_[0] != -1 && is_69_[0] == is_69_[1])) { + bool_74_ = true; + for (int i_75_ = 1; i_75_ < 2; i_75_++) { + int i_76_ = is[is_64_[i_75_]]; + int i_77_ = is_62_[is_64_[i_75_]]; + if (i_76_ != 0 && i_76_ != this.anInt4592 || i_77_ != 0 && i_77_ != this.anInt4592) { + bool_74_ = false; + break; + } + } + } + if (!bool_74_) { + Component4 class236 = new Component4(); + short i_78_ = (short) is.length; + int i_79_ = (short) is_67_.length; + class236.aShort3089 = i_78_; + class236.aShortArray3088 = new short[i_78_]; + class236.aShortArray3096 = new short[i_78_]; + class236.aShortArray3097 = new short[i_78_]; + class236.aShortArray3094 = new short[i_78_]; + for (int i_80_ = 0; i_80_ < i_78_; i_80_++) { + int i_81_ = is[i_80_]; + int i_82_ = is_62_[i_80_]; + if (i_81_ == 0 && i_82_ == 0) class236.aShortArray3088[i_80_] = (short) (aByteArrayArray8220[i][i_60_] - aByteArrayArray8232[i][i_60_]); + else if (i_81_ == 0 && i_82_ == this.anInt4592) class236.aShortArray3088[i_80_] = (short) (aByteArrayArray8220[i][i_60_ + 1] - aByteArrayArray8232[i][i_60_ + 1]); + else if (i_81_ == this.anInt4592 && i_82_ == this.anInt4592) class236.aShortArray3088[i_80_] = (short) (aByteArrayArray8220[i + 1][i_60_ + 1] - aByteArrayArray8232[i + 1][i_60_ + 1]); + else if (i_81_ == this.anInt4592 && i_82_ == 0) class236.aShortArray3088[i_80_] = (short) (aByteArrayArray8220[i + 1][i_60_] - aByteArrayArray8232[i + 1][i_60_]); + else { + int i_83_ = (((aByteArrayArray8220[i][i_60_] - aByteArrayArray8232[i][i_60_]) * (this.anInt4592 - i_81_)) + (aByteArrayArray8220[i + 1][i_60_] - aByteArrayArray8232[i + 1][i_60_]) * i_81_); + int i_84_ = (((aByteArrayArray8220[i][i_60_ + 1] - aByteArrayArray8232[i][i_60_ + 1]) * (this.anInt4592 - i_81_)) + ((aByteArrayArray8220[i + 1][i_60_ + 1] - aByteArrayArray8232[i + 1][i_60_ + 1]) * i_81_)); + class236.aShortArray3088[i_80_] = (short) ((i_83_ * (this.anInt4592 - i_82_) + i_84_ * i_82_) >> 2 * this.anInt4588); + } + int i_85_ = (i << this.anInt4588) + i_81_; + int i_86_ = (i_60_ << this.anInt4588) + i_82_; + class236.aShortArray3096[i_80_] = (short) i_81_; + class236.aShortArray3094[i_80_] = (short) i_82_; + class236.aShortArray3097[i_80_] = (short) (this.method3986(i_85_, i_86_, (byte) 67) + (is_61_ != null ? is_61_[i_80_] : 0)); + if (class236.aShortArray3088[i_80_] < 2) class236.aShortArray3088[i_80_] = (short) 2; + } + boolean bool_87_ = false; + int i_88_ = 0; + for (int i_89_ = 0; i_89_ < i_79_; i_89_++) { + if (is_67_[i_89_] >= 0 || is_68_ != null && is_68_[i_89_] >= 0) i_88_++; + int i_90_ = is_69_[i_89_]; + if (i_90_ != -1) { + Component319 class12 = aHa_Sub1_8217.aD4579.method3(i_90_, -6662); + if (!class12.aBoolean209) { + bool_87_ = true; + if (method3997(class12.aByte213) || class12.aByte198 != 0 || class12.aByte211 != 0) class236.aByte3100 |= 0x4; + } + } + } + class236.anIntArray3093 = new int[i_88_]; + if (is_68_ != null) class236.anIntArray3092 = new int[i_88_]; + class236.aShortArray3091 = new short[i_88_]; + class236.aShortArray3090 = new short[i_88_]; + class236.aShortArray3101 = new short[i_88_]; + if (bool_87_) { + class236.aShortArray3095 = new short[i_88_]; + class236.aShortArray3098 = new short[i_88_]; + } + for (int i_91_ = 0; i_91_ < i_79_; i_91_++) { + if (is_67_[i_91_] >= 0 || is_68_ != null && is_68_[i_91_] >= 0) { + if (is_67_[i_91_] >= 0) class236.anIntArray3093[class236.aShort3099] = Component361.method303(is_67_[i_91_], 30); + else class236.anIntArray3093[class236.aShort3099] = -1; + if (is_68_ != null) { + if (is_68_[i_91_] != -1) class236.anIntArray3092[class236.aShort3099] = Component361.method303(is_68_[i_91_], 30); + else class236.anIntArray3092[class236.aShort3099] = -1; + } + class236.aShortArray3091[class236.aShort3099] = (short) is_64_[i_91_]; + class236.aShortArray3090[class236.aShort3099] = (short) is_65_[i_91_]; + class236.aShortArray3101[class236.aShort3099] = (short) is_66_[i_91_]; + if (bool_87_) { + if (is_69_[i_91_] != -1 && !(aHa_Sub1_8217.aD4579.method3(is_69_[i_91_], -6662).aBoolean209)) { + class236.aShortArray3095[class236.aShort3099] = (short) is_69_[i_91_]; + class236.aShortArray3098[class236.aShort3099] = (short) is_70_[i_91_]; + } else class236.aShortArray3095[class236.aShort3099] = (short) -1; + } + class236.aShort3099++; + } + } + aClass236ArrayArray8222[i][i_60_] = class236; + } else if (is_67_[0] >= 0 || is_68_ != null && is_68_[0] >= 0) { + Component180 class102 = new Component180(); + int i_92_ = is_67_[0]; + int i_93_ = is_69_[0]; + if (is_68_ != null) { + class102.anInt1600 = ReferenceTable.clampHslLightness(0, (aByteArrayArray8220[i][i_60_] - aByteArrayArray8232[i][i_60_]), Component361.method303(is_68_[0], 30)); + if (i_92_ == -1) class102.aByte1606 |= 0x2; + } + if ((this.anIntArrayArray4584[i][i_60_] == this.anIntArrayArray4584[i + 1][i_60_]) && (this.anIntArrayArray4584[i][i_60_] == this.anIntArrayArray4584[i + 1][i_60_ + 1]) && (this.anIntArrayArray4584[i][i_60_] == this.anIntArrayArray4584[i][i_60_ + 1])) class102.aByte1606 |= 0x1; + Component319 class12 = null; + if (i_93_ != -1) class12 = aHa_Sub1_8217.aD4579.method3(i_93_, -6662); + if (class12 != null && (class102.aByte1606 & 0x2) == 0 && !class12.aBoolean209) { + class102.aShort1601 = (short) (aByteArrayArray8220[i][i_60_] - aByteArrayArray8232[i][i_60_]); + class102.aShort1603 = (short) (aByteArrayArray8220[i + 1][i_60_] - aByteArrayArray8232[i + 1][i_60_]); + class102.aShort1602 = (short) (aByteArrayArray8220[i + 1][i_60_ + 1] - aByteArrayArray8232[i + 1][i_60_ + 1]); + class102.aShort1604 = (short) (aByteArrayArray8220[i][i_60_ + 1] - aByteArrayArray8232[i][i_60_ + 1]); + class102.aShort1605 = (short) i_93_; + if (method3997(class12.aByte213) || class12.aByte198 != 0 || class12.aByte211 != 0) class102.aByte1606 |= 0x4; + } else { + short i_94_ = Component361.method303(i_92_, 30); + class102.aShort1601 = (short) ReferenceTable.clampHslLightness(0, ((aByteArrayArray8220[i][i_60_]) - (aByteArrayArray8232[i][i_60_])), i_94_); + class102.aShort1603 = (short) ReferenceTable.clampHslLightness(0, ((aByteArrayArray8220[i + 1][i_60_]) - (aByteArrayArray8232[i + 1][i_60_])), i_94_); + class102.aShort1602 = (short) ReferenceTable.clampHslLightness(0, ((aByteArrayArray8220[i + 1][i_60_ + 1]) - (aByteArrayArray8232[i + 1][i_60_ + 1])), i_94_); + class102.aShort1604 = (short) ReferenceTable.clampHslLightness(0, ((aByteArrayArray8220[i][i_60_ + 1]) - (aByteArrayArray8232[i][i_60_ + 1])), i_94_); + class102.aShort1605 = (short) -1; + } + aClass102ArrayArray8215[i][i_60_] = class102; + } + } + + final void method3984(int i, int i_95_, int i_96_, boolean[][] bools, boolean bool, int i_97_, int i_98_) { + MatrixSub1 class101_sub1 = aHa_Sub1_8217.aClass101_Sub1_7492; + anInt8228 = i_97_; + aFloat8212 = class101_sub1.aFloat5672; + aFloat8216 = class101_sub1.aFloat5673; + aFloat8224 = class101_sub1.aFloat5669; + aFloat8213 = class101_sub1.aFloat5686; + aFloat8214 = class101_sub1.aFloat5655; + aFloat8221 = class101_sub1.aFloat5678; + aFloat8229 = class101_sub1.aFloat5666; + aFloat8226 = class101_sub1.aFloat5685; + aFloat8233 = class101_sub1.aFloat5662; + aFloat8227 = class101_sub1.aFloat5680; + aFloat8231 = class101_sub1.aFloat5664; + aFloat8218 = class101_sub1.aFloat5681; + for (int i_99_ = 0; i_99_ < i_96_ + i_96_; i_99_++) { + for (int i_100_ = 0; i_100_ < i_96_ + i_96_; i_100_++) { + if (bools[i_99_][i_100_]) { + int i_101_ = i - i_96_ + i_99_; + int i_102_ = i_95_ - i_96_ + i_100_; + if (i_101_ >= 0 && i_101_ < this.anInt4587 && i_102_ >= 0 && i_102_ < this.anInt4590) method3992(i_101_, i_102_, i_98_); + } + } + } + } + + final void ka(int i, int i_103_, int i_104_) { + if (aByteArrayArray8232[i][i_103_] < i_104_) aByteArrayArray8232[i][i_103_] = (byte) i_104_; + } + + private final void method3990(int i, int i_105_, boolean bool, Component385 class167, Component8 class109, int[] is, int[] is_106_, int[] is_107_, int[] is_108_, int i_109_) { + Component157 class266 = aClass266ArrayArray8230[i][i_105_]; + if (class266 == null) { + Component70 class145 = aClass145ArrayArray8225[i][i_105_]; + if (class145 != null) { + if (i_109_ != 0) { + if ((class145.aByte2004 & 0x4) != 0) { + if ((i_109_ & 0x1) != 0) return; + } else if ((i_109_ & 0x2) != 0) return; + } + if (anInt8228 == -1) { + for (int i_187_ = 0; i_187_ < class145.aShort2003; i_187_++) { + int i_188_ = (class145.aShortArray2009[i_187_] + (i << this.anInt4588)); + int i_189_ = class145.aShortArray2007[i_187_]; + int i_190_ = (class145.aShortArray2002[i_187_] + (i_105_ << this.anInt4588)); + float f = aFloat8218 + (aFloat8233 * (float) i_188_ + aFloat8227 * (float) i_189_ + aFloat8231 * (float) i_190_); + if (f <= (float) aHa_Sub1_8217.anInt7482) return; + is_108_[i_187_] = 0; + if (bool) { + int i_191_ = (int) (f - (float) (class167.anInt2210)); + if (i_191_ > 255) i_191_ = 255; + if (i_191_ > 0) { + is_108_[i_187_] = i_191_; + int i_192_ = ((class145.aShortArray2006[i_187_]) * i_191_ / 255); + if (i_192_ > 0) i_189_ -= i_192_; + } + } else if (class167.aBoolean2201) { + int i_193_ = (int) (f - (float) (class167.anInt2210)); + if (i_193_ > 0) { + is_108_[i_187_] = i_193_; + if (is_108_[i_187_] > 255) is_108_[i_187_] = 255; + } + } + float f_194_ = aFloat8213 + (aFloat8212 * (float) i_188_ + aFloat8216 * (float) i_189_ + aFloat8224 * (float) i_190_); + float f_195_ = aFloat8226 + (aFloat8214 * (float) i_188_ + aFloat8221 * (float) i_189_ + aFloat8229 * (float) i_190_); + is[i_187_] = (class109.anInt1665 + (int) (f_194_ * (float) (aHa_Sub1_8217.anInt7491) / f)); + is_106_[i_187_] = (class109.anInt1668 + (int) (f_195_ * (float) (aHa_Sub1_8217.anInt7497) / f)); + is_107_[i_187_] = (int) f; + } + } else { + for (int i_196_ = 0; i_196_ < class145.aShort2003; i_196_++) { + int i_197_ = (class145.aShortArray2009[i_196_] + (i << this.anInt4588)); + int i_198_ = class145.aShortArray2007[i_196_]; + int i_199_ = (class145.aShortArray2002[i_196_] + (i_105_ << this.anInt4588)); + float f = aFloat8218 + (aFloat8233 * (float) i_197_ + aFloat8227 * (float) i_198_ + aFloat8231 * (float) i_199_); + is_108_[i_196_] = 0; + if (bool) { + int i_200_ = anInt8228 - class167.anInt2210; + if (i_200_ > 255) i_200_ = 255; + if (i_200_ > 0) { + is_108_[i_196_] = i_200_; + int i_201_ = ((class145.aShortArray2006[i_196_]) * i_200_ / 255); + if (i_201_ > 0) i_198_ -= i_201_; + } + } else if (class167.aBoolean2201) { + int i_202_ = anInt8228 - class167.anInt2210; + if (i_202_ > 0) { + is_108_[i_196_] = i_202_; + if (is_108_[i_196_] > 255) is_108_[i_196_] = 255; + } + } + float f_203_ = aFloat8213 + (aFloat8212 * (float) i_197_ + aFloat8216 * (float) i_198_ + aFloat8224 * (float) i_199_); + float f_204_ = aFloat8226 + (aFloat8214 * (float) i_197_ + aFloat8221 * (float) i_198_ + aFloat8229 * (float) i_199_); + is[i_196_] = (class109.anInt1665 + (int) (f_203_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); + is_106_[i_196_] = (class109.anInt1668 + (int) (f_204_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); + is_107_[i_196_] = (int) f; + } + } + if (class145.aShortArray2008 == null) { + for (int i_233_ = 0; i_233_ < class145.aShort2010; i_233_++) { + int i_234_ = i_233_ * 3; + int i_235_ = i_234_ + 1; + int i_236_ = i_235_ + 1; + int i_237_ = is[i_234_]; + int i_238_ = is[i_235_]; + int i_239_ = is[i_236_]; + int i_240_ = is_106_[i_234_]; + int i_241_ = is_106_[i_235_]; + int i_242_ = is_106_[i_236_]; + int i_243_ = (is_108_[i_234_] + is_108_[i_235_] + is_108_[i_236_]); + if (((i_237_ - i_238_) * (i_242_ - i_241_) - (i_240_ - i_241_) * (i_239_ - i_238_)) > 0) { + class109.aBoolean1671 = (i_237_ < 0 || i_238_ < 0 || i_239_ < 0 || i_237_ > class109.anInt1679 || i_238_ > class109.anInt1679 || (i_239_ > class109.anInt1679)); + if (i_243_ < 765) { + if (i_243_ > 0) { + if (((class145.anIntArray2001[i_234_]) & 0xffffff) != 0) + class109.method1027((float) i_240_, (float) i_241_, (float) i_242_, (float) i_237_, (float) i_238_, (float) i_239_, (float) is_107_[i_234_], (float) is_107_[i_235_], (float) is_107_[i_236_], (Component10.method2250((class145.anIntArray2001[i_234_]), 117, is_108_[i_234_], (class167.anInt2192))), (Component10.method2250((class145.anIntArray2001[i_235_]), 60, is_108_[i_235_], (class167.anInt2192))), (Component10.method2250((class145.anIntArray2001[i_236_]), 95, is_108_[i_236_], (class167.anInt2192)))); + } else if (((class145.anIntArray2001[i_234_]) & 0xffffff) != 0) + class109.method1027((float) i_240_, (float) i_241_, (float) i_242_, (float) i_237_, (float) i_238_, (float) i_239_, (float) is_107_[i_234_], (float) is_107_[i_235_], (float) is_107_[i_236_], (class145.anIntArray2001[i_234_]), (class145.anIntArray2001[i_235_]), (class145.anIntArray2001[i_236_])); + } else class109.method1018((float) i_240_, (float) i_241_, (float) i_242_, (float) i_237_, (float) i_238_, (float) i_239_, (float) is_107_[i_234_], (float) is_107_[i_235_], (float) is_107_[i_236_], (class167.anInt2192)); + } + } + } else if (anInt8228 == -1) { + for (int i_205_ = 0; i_205_ < class145.aShort2010; i_205_++) { + int i_206_ = i_205_ * 3; + int i_207_ = i_206_ + 1; + int i_208_ = i_207_ + 1; + int i_209_ = is[i_206_]; + int i_210_ = is[i_207_]; + int i_211_ = is[i_208_]; + int i_212_ = is_106_[i_206_]; + int i_213_ = is_106_[i_207_]; + int i_214_ = is_106_[i_208_]; + int i_215_ = (is_108_[i_206_] + is_108_[i_207_] + is_108_[i_208_]); + if (((i_209_ - i_210_) * (i_214_ - i_213_) - (i_212_ - i_213_) * (i_211_ - i_210_)) > 0) { + class109.aBoolean1671 = (i_209_ < 0 || i_210_ < 0 || i_211_ < 0 || (i_209_ > class109.anInt1679) || (i_210_ > class109.anInt1679) || (i_211_ > class109.anInt1679)); + short i_216_ = (class145.aShortArray2008[i_205_]); + if (i_215_ < 765) { + if (i_215_ > 0) { + if (i_216_ != -1) { + int i_217_ = -16777216; + if (i_216_ != -1 && method3997(aHa_Sub1_8217.aD4579.method3(i_216_, -6662).aByte213)) i_217_ = -1694498816; + class109.method1024((float) i_212_, (float) i_213_, (float) i_214_, (float) i_209_, (float) i_210_, (float) i_211_, (float) is_107_[i_206_], (float) is_107_[i_207_], (float) is_107_[i_208_], ((float) (class145.aShortArray2009[i_206_]) / (float) (this.anInt4592)), ((float) (class145.aShortArray2009[i_207_]) / (float) (this.anInt4592)), ((float) (class145.aShortArray2009[i_208_]) / (float) (this.anInt4592)), ((float) (class145.aShortArray2002[i_206_]) / (float) (this.anInt4592)), ((float) (class145.aShortArray2002[i_207_]) / (float) (this.anInt4592)), ((float) (class145.aShortArray2002[i_208_]) / (float) (this.anInt4592)), (i_217_ | ((class145.anIntArray2001[i_206_]) & 0xffffff)), (i_217_ | ((class145.anIntArray2001[i_207_]) & 0xffffff)), (i_217_ | ((class145.anIntArray2001[i_208_]) & 0xffffff)), (class167.anInt2192), is_108_[i_206_], is_108_[i_207_], is_108_[i_208_], i_216_); + } else if (((class145.anIntArray2001[i_206_]) & 0xffffff) != 0) { + if (i_216_ != -1 && method3997(aHa_Sub1_8217.aD4579.method3(i_216_, -6662).aByte213)) class109.anInt1674 = -1694498816; + class109.method1027((float) i_212_, (float) i_213_, (float) i_214_, (float) i_209_, (float) i_210_, (float) i_211_, (float) is_107_[i_206_], (float) is_107_[i_207_], (float) is_107_[i_208_], (BuildInfo.method206((class145.anIntArray2001[i_206_]), (is_108_[i_206_] << 24 | (class167.anInt2192)), 255)), (BuildInfo.method206((class145.anIntArray2001[i_207_]), (is_108_[i_207_] << 24 | (class167.anInt2192)), 255)), (BuildInfo.method206((class145.anIntArray2001[i_208_]), (is_108_[i_208_] << 24 | (class167.anInt2192)), 255))); + class109.anInt1674 = 0; + } + } else if (i_216_ != -1) { + int i_218_ = -16777216; + if (i_216_ != -1 && (method3997(aHa_Sub1_8217.aD4579.method3(i_216_, -6662).aByte213))) i_218_ = -1694498816; + class109.method1024((float) i_212_, (float) i_213_, (float) i_214_, (float) i_209_, (float) i_210_, (float) i_211_, (float) is_107_[i_206_], (float) is_107_[i_207_], (float) is_107_[i_208_], ((float) (class145.aShortArray2009[i_206_]) / (float) this.anInt4592), ((float) (class145.aShortArray2009[i_207_]) / (float) this.anInt4592), ((float) (class145.aShortArray2009[i_208_]) / (float) this.anInt4592), ((float) (class145.aShortArray2002[i_206_]) / (float) this.anInt4592), ((float) (class145.aShortArray2002[i_207_]) / (float) this.anInt4592), ((float) (class145.aShortArray2002[i_208_]) / (float) this.anInt4592), i_218_ | (class145.anIntArray2001[i_206_]) & 0xffffff, i_218_ | (class145.anIntArray2001[i_207_]) & 0xffffff, i_218_ | (class145.anIntArray2001[i_208_]) & 0xffffff, 0, 0, 0, 0, i_216_); + } else if (((class145.anIntArray2001[i_206_]) & 0xffffff) != 0) { + if (i_216_ != -1 && (method3997(aHa_Sub1_8217.aD4579.method3(i_216_, -6662).aByte213))) class109.anInt1674 = -1694498816; + class109.method1027((float) i_212_, (float) i_213_, (float) i_214_, (float) i_209_, (float) i_210_, (float) i_211_, (float) is_107_[i_206_], (float) is_107_[i_207_], (float) is_107_[i_208_], (class145.anIntArray2001[i_206_]), (class145.anIntArray2001[i_207_]), (class145.anIntArray2001[i_208_])); + class109.anInt1674 = 0; + } + } else class109.method1018((float) i_212_, (float) i_213_, (float) i_214_, (float) i_209_, (float) i_210_, (float) i_211_, (float) is_107_[i_206_], (float) is_107_[i_207_], (float) is_107_[i_208_], class167.anInt2192); + } + } + } else { + for (int i_219_ = 0; i_219_ < class145.aShort2010; i_219_++) { + int i_220_ = i_219_ * 3; + int i_221_ = i_220_ + 1; + int i_222_ = i_221_ + 1; + int i_223_ = is[i_220_]; + int i_224_ = is[i_221_]; + int i_225_ = is[i_222_]; + int i_226_ = is_106_[i_220_]; + int i_227_ = is_106_[i_221_]; + int i_228_ = is_106_[i_222_]; + int i_229_ = (is_108_[i_220_] + is_108_[i_221_] + is_108_[i_222_]); + if (((i_223_ - i_224_) * (i_228_ - i_227_) - (i_226_ - i_227_) * (i_225_ - i_224_)) > 0) { + class109.aBoolean1671 = (i_223_ < 0 || i_224_ < 0 || i_225_ < 0 || (i_223_ > class109.anInt1679) || (i_224_ > class109.anInt1679) || (i_225_ > class109.anInt1679)); + short i_230_ = (class145.aShortArray2008[i_219_]); + if (i_229_ < 765) { + if (i_230_ != -1 && method3997(aHa_Sub1_8217.aD4579.method3(i_230_, -6662).aByte213)) class109.anInt1674 = -1694498816; + if (i_229_ > 0) { + if (i_230_ != -1) { + int i_231_ = -16777216; + if (i_230_ != -1 && method3997(aHa_Sub1_8217.aD4579.method3(i_230_, -6662).aByte213)) i_231_ = -1694498816; + class109.method1024((float) i_226_, (float) i_227_, (float) i_228_, (float) i_223_, (float) i_224_, (float) i_225_, (float) is_107_[i_220_], (float) is_107_[i_221_], (float) is_107_[i_222_], ((float) (class145.aShortArray2009[i_220_]) / (float) (this.anInt4592)), ((float) (class145.aShortArray2009[i_221_]) / (float) (this.anInt4592)), ((float) (class145.aShortArray2009[i_222_]) / (float) (this.anInt4592)), ((float) (class145.aShortArray2002[i_220_]) / (float) (this.anInt4592)), ((float) (class145.aShortArray2002[i_221_]) / (float) (this.anInt4592)), ((float) (class145.aShortArray2002[i_222_]) / (float) (this.anInt4592)), (i_231_ | ((class145.anIntArray2001[i_220_]) & 0xffffff)), (i_231_ | ((class145.anIntArray2001[i_221_]) & 0xffffff)), (i_231_ | ((class145.anIntArray2001[i_222_]) & 0xffffff)), (class167.anInt2192), is_108_[i_220_], is_108_[i_221_], is_108_[i_222_], i_230_); + } else if (((class145.anIntArray2001[i_220_]) & 0xffffff) != 0) { + if (i_230_ != -1 && method3997(aHa_Sub1_8217.aD4579.method3(i_230_, -6662).aByte213)) class109.anInt1674 = -1694498816; + class109.method1027((float) i_226_, (float) i_227_, (float) i_228_, (float) i_223_, (float) i_224_, (float) i_225_, (float) is_107_[i_220_], (float) is_107_[i_221_], (float) is_107_[i_222_], (BuildInfo.method206((class145.anIntArray2001[i_220_]), (is_108_[i_220_] << 24 | (class167.anInt2192)), 255)), (BuildInfo.method206((class145.anIntArray2001[i_221_]), (is_108_[i_221_] << 24 | (class167.anInt2192)), 255)), (BuildInfo.method206((class145.anIntArray2001[i_222_]), (is_108_[i_222_] << 24 | (class167.anInt2192)), 255))); + class109.anInt1674 = 0; + } + } else if (i_230_ != -1) { + int i_232_ = -16777216; + if (i_230_ != -1 && (method3997(aHa_Sub1_8217.aD4579.method3(i_230_, -6662).aByte213))) i_232_ = -1694498816; + class109.method1024((float) i_226_, (float) i_227_, (float) i_228_, (float) i_223_, (float) i_224_, (float) i_225_, (float) is_107_[i_220_], (float) is_107_[i_221_], (float) is_107_[i_222_], ((float) (class145.aShortArray2009[i_220_]) / (float) this.anInt4592), ((float) (class145.aShortArray2009[i_221_]) / (float) this.anInt4592), ((float) (class145.aShortArray2009[i_222_]) / (float) this.anInt4592), ((float) (class145.aShortArray2002[i_220_]) / (float) this.anInt4592), ((float) (class145.aShortArray2002[i_221_]) / (float) this.anInt4592), ((float) (class145.aShortArray2002[i_222_]) / (float) this.anInt4592), i_232_ | (class145.anIntArray2001[i_220_]) & 0xffffff, i_232_ | (class145.anIntArray2001[i_221_]) & 0xffffff, i_232_ | (class145.anIntArray2001[i_222_]) & 0xffffff, 0, 0, 0, 0, i_230_); + } else if (((class145.anIntArray2001[i_220_]) & 0xffffff) != 0) { + if (i_230_ != -1 && (method3997(aHa_Sub1_8217.aD4579.method3(i_230_, -6662).aByte213))) class109.anInt1674 = -1694498816; + class109.method1027((float) i_226_, (float) i_227_, (float) i_228_, (float) i_223_, (float) i_224_, (float) i_225_, (float) is_107_[i_220_], (float) is_107_[i_221_], (float) is_107_[i_222_], (class145.anIntArray2001[i_220_]), (class145.anIntArray2001[i_221_]), (class145.anIntArray2001[i_222_])); + class109.anInt1674 = 0; + } + class109.anInt1674 = 0; + } else class109.method1018((float) i_226_, (float) i_227_, (float) i_228_, (float) i_223_, (float) i_224_, (float) i_225_, (float) is_107_[i_220_], (float) is_107_[i_221_], (float) is_107_[i_222_], class167.anInt2192); + } + } + } + } + } else if ((class266.aByte3386 & 0x2) == 0) { + if (i_109_ != 0) { + if ((class266.aByte3386 & 0x4) != 0) { + if ((i_109_ & 0x1) != 0) return; + } else if ((i_109_ & 0x2) != 0) return; + } + int i_110_ = i * this.anInt4592; + int i_111_ = i_110_ + this.anInt4592; + int i_112_ = i_105_ * this.anInt4592; + int i_113_ = i_112_ + this.anInt4592; + int i_114_ = 0; + int i_115_ = 0; + int i_116_ = 0; + int i_117_ = 0; + float f; + float f_118_; + float f_119_; + float f_120_; + int i_121_; + int i_122_; + int i_123_; + int i_124_; + int i_125_; + int i_126_; + int i_127_; + int i_128_; + if ((class266.aByte3386 & 0x1) == 0 || bool) { + int i_150_ = this.anIntArrayArray4584[i][i_105_]; + int i_151_ = this.anIntArrayArray4584[i + 1][i_105_]; + int i_152_ = this.anIntArrayArray4584[i + 1][i_105_ + 1]; + int i_153_ = this.anIntArrayArray4584[i][i_105_ + 1]; + if (anInt8228 == -1) { + f = aFloat8218 + (aFloat8233 * (float) i_110_ + aFloat8227 * (float) i_150_ + aFloat8231 * (float) i_112_); + if (f <= (float) aHa_Sub1_8217.anInt7482) return; + f_118_ = aFloat8218 + (aFloat8233 * (float) i_111_ + aFloat8227 * (float) i_151_ + aFloat8231 * (float) i_112_); + if (f_118_ <= (float) aHa_Sub1_8217.anInt7482) return; + f_119_ = aFloat8218 + (aFloat8233 * (float) i_111_ + aFloat8227 * (float) i_152_ + aFloat8231 * (float) i_113_); + if (f_119_ <= (float) aHa_Sub1_8217.anInt7482) return; + f_120_ = aFloat8218 + (aFloat8233 * (float) i_110_ + aFloat8227 * (float) i_153_ + aFloat8231 * (float) i_113_); + if (f_120_ <= (float) aHa_Sub1_8217.anInt7482) return; + } else { + f = aFloat8218 + (aFloat8233 * (float) i_110_ + aFloat8227 * (float) i_150_ + aFloat8231 * (float) i_112_); + f_118_ = aFloat8218 + (aFloat8233 * (float) i_111_ + aFloat8227 * (float) i_151_ + aFloat8231 * (float) i_112_); + f_119_ = aFloat8218 + (aFloat8233 * (float) i_111_ + aFloat8227 * (float) i_152_ + aFloat8231 * (float) i_113_); + f_120_ = aFloat8218 + (aFloat8233 * (float) i_110_ + aFloat8227 * (float) i_153_ + aFloat8231 * (float) i_113_); + } + if (bool) { + int i_154_ = (int) (f - (float) (class167.anInt2210)); + if (i_154_ > 255) i_154_ = 255; + if (i_154_ > 0) { + i_114_ = i_154_; + int i_155_ = (class266.aShort3382 * i_154_ / 255); + if (i_155_ > 0) i_150_ -= i_155_; + } + i_154_ = (int) (f_118_ - (float) (class167.anInt2210)); + if (i_154_ > 255) i_154_ = 255; + if (i_154_ > 0) { + i_115_ = i_154_; + int i_156_ = (class266.aShort3383 * i_154_ / 255); + if (i_156_ > 0) i_151_ -= i_156_; + } + i_154_ = (int) (f_119_ - (float) (class167.anInt2210)); + if (i_154_ > 255) i_154_ = 255; + if (i_154_ > 0) { + i_116_ = i_154_; + int i_157_ = (class266.aShort3384 * i_154_ / 255); + if (i_157_ > 0) i_152_ -= i_157_; + } + i_154_ = (int) (f_120_ - (float) (class167.anInt2210)); + if (i_154_ > 255) i_154_ = 255; + if (i_154_ > 0) { + i_117_ = i_154_; + int i_158_ = (class266.aShort3385 * i_154_ / 255); + if (i_158_ > 0) i_153_ -= i_158_; + } + } else if (class167.aBoolean2201) { + int i_159_ = (int) (f - (float) (class167.anInt2210)); + if (i_159_ > 0) { + i_114_ = i_159_; + if (i_114_ > 255) i_114_ = 255; + } + i_159_ = (int) (f_118_ - (float) (class167.anInt2210)); + if (i_159_ > 0) { + i_115_ = i_159_; + if (i_115_ > 255) i_115_ = 255; + } + i_159_ = (int) (f_119_ - (float) (class167.anInt2210)); + if (i_159_ > 0) { + i_116_ = i_159_; + if (i_116_ > 255) i_116_ = 255; + } + i_159_ = (int) (f_120_ - (float) (class167.anInt2210)); + if (i_159_ > 0) { + i_117_ = i_159_; + if (i_117_ > 255) i_117_ = 255; + } + } + if (anInt8228 == -1) { + float f_160_ = aFloat8213 + (aFloat8212 * (float) i_110_ + aFloat8216 * (float) i_150_ + aFloat8224 * (float) i_112_); + i_121_ = (class109.anInt1665 + (int) (f_160_ * (float) (aHa_Sub1_8217.anInt7491) / f)); + float f_161_ = aFloat8226 + (aFloat8214 * (float) i_110_ + aFloat8221 * (float) i_150_ + aFloat8229 * (float) i_112_); + i_122_ = (class109.anInt1668 + (int) (f_161_ * (float) (aHa_Sub1_8217.anInt7497) / f)); + float f_162_ = aFloat8213 + (aFloat8212 * (float) i_111_ + aFloat8216 * (float) i_151_ + aFloat8224 * (float) i_112_); + i_123_ = (class109.anInt1665 + (int) (f_162_ * (float) (aHa_Sub1_8217.anInt7491) / f_118_)); + float f_163_ = aFloat8226 + (aFloat8214 * (float) i_111_ + aFloat8221 * (float) i_151_ + aFloat8229 * (float) i_112_); + i_124_ = (class109.anInt1668 + (int) (f_163_ * (float) (aHa_Sub1_8217.anInt7497) / f_118_)); + float f_164_ = aFloat8213 + (aFloat8212 * (float) i_111_ + aFloat8216 * (float) i_152_ + aFloat8224 * (float) i_113_); + i_125_ = (class109.anInt1665 + (int) (f_164_ * (float) (aHa_Sub1_8217.anInt7491) / f_119_)); + float f_165_ = aFloat8226 + (aFloat8214 * (float) i_111_ + aFloat8221 * (float) i_152_ + aFloat8229 * (float) i_113_); + i_126_ = (class109.anInt1668 + (int) (f_165_ * (float) (aHa_Sub1_8217.anInt7497) / f_119_)); + float f_166_ = aFloat8213 + (aFloat8212 * (float) i_110_ + aFloat8216 * (float) i_153_ + aFloat8224 * (float) i_113_); + i_127_ = (class109.anInt1665 + (int) (f_166_ * (float) (aHa_Sub1_8217.anInt7491) / f_120_)); + float f_167_ = aFloat8226 + (aFloat8214 * (float) i_110_ + aFloat8221 * (float) i_153_ + aFloat8229 * (float) i_113_); + i_128_ = (class109.anInt1668 + (int) (f_167_ * (float) (aHa_Sub1_8217.anInt7497) / f_120_)); + } else { + float f_168_ = aFloat8213 + (aFloat8212 * (float) i_110_ + aFloat8216 * (float) i_150_ + aFloat8224 * (float) i_112_); + i_121_ = (class109.anInt1665 + (int) (f_168_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); + float f_169_ = aFloat8226 + (aFloat8214 * (float) i_110_ + aFloat8221 * (float) i_150_ + aFloat8229 * (float) i_112_); + i_122_ = (class109.anInt1668 + (int) (f_169_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); + float f_170_ = aFloat8213 + (aFloat8212 * (float) i_111_ + aFloat8216 * (float) i_151_ + aFloat8224 * (float) i_112_); + i_123_ = (class109.anInt1665 + (int) (f_170_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); + float f_171_ = aFloat8226 + (aFloat8214 * (float) i_111_ + aFloat8221 * (float) i_151_ + aFloat8229 * (float) i_112_); + i_124_ = (class109.anInt1668 + (int) (f_171_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); + float f_172_ = aFloat8213 + (aFloat8212 * (float) i_111_ + aFloat8216 * (float) i_152_ + aFloat8224 * (float) i_113_); + i_125_ = (class109.anInt1665 + (int) (f_172_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); + float f_173_ = aFloat8226 + (aFloat8214 * (float) i_111_ + aFloat8221 * (float) i_152_ + aFloat8229 * (float) i_113_); + i_126_ = (class109.anInt1668 + (int) (f_173_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); + float f_174_ = aFloat8213 + (aFloat8212 * (float) i_110_ + aFloat8216 * (float) i_153_ + aFloat8224 * (float) i_113_); + i_127_ = (class109.anInt1665 + (int) (f_174_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); + float f_175_ = aFloat8226 + (aFloat8214 * (float) i_110_ + aFloat8221 * (float) i_153_ + aFloat8229 * (float) i_113_); + i_128_ = (class109.anInt1668 + (int) (f_175_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); + } + } else { + int i_129_ = this.anIntArrayArray4584[i][i_105_]; + float f_130_ = aFloat8227 * (float) i_129_; + if (anInt8228 == -1) { + f = aFloat8218 + (aFloat8233 * (float) i_110_ + f_130_ + aFloat8231 * (float) i_112_); + if (f <= (float) aHa_Sub1_8217.anInt7482) return; + f_118_ = aFloat8218 + (aFloat8233 * (float) i_111_ + f_130_ + aFloat8231 * (float) i_112_); + if (f_118_ <= (float) aHa_Sub1_8217.anInt7482) return; + f_119_ = aFloat8218 + (aFloat8233 * (float) i_111_ + f_130_ + aFloat8231 * (float) i_113_); + if (f_119_ <= (float) aHa_Sub1_8217.anInt7482) return; + f_120_ = aFloat8218 + (aFloat8233 * (float) i_110_ + f_130_ + aFloat8231 * (float) i_113_); + if (f_120_ <= (float) aHa_Sub1_8217.anInt7482) return; + } else { + f = aFloat8218 + (aFloat8233 * (float) i_110_ + f_130_ + aFloat8231 * (float) i_112_); + f_118_ = aFloat8218 + (aFloat8233 * (float) i_111_ + f_130_ + aFloat8231 * (float) i_112_); + f_119_ = aFloat8218 + (aFloat8233 * (float) i_111_ + f_130_ + aFloat8231 * (float) i_113_); + f_120_ = aFloat8218 + (aFloat8233 * (float) i_110_ + f_130_ + aFloat8231 * (float) i_113_); + } + if (class167.aBoolean2201) { + int i_131_ = (int) (f - (float) (class167.anInt2210)); + if (i_131_ > 0) { + i_114_ = i_131_; + if (i_114_ > 255) i_114_ = 255; + } + i_131_ = (int) (f_118_ - (float) (class167.anInt2210)); + if (i_131_ > 0) { + i_115_ = i_131_; + if (i_115_ > 255) i_115_ = 255; + } + i_131_ = (int) (f_119_ - (float) (class167.anInt2210)); + if (i_131_ > 0) { + i_116_ = i_131_; + if (i_116_ > 255) i_116_ = 255; + } + i_131_ = (int) (f_120_ - (float) (class167.anInt2210)); + if (i_131_ > 0) { + i_117_ = i_131_; + if (i_117_ > 255) i_117_ = 255; + } + } + float f_132_ = aFloat8216 * (float) i_129_; + float f_133_ = aFloat8221 * (float) i_129_; + if (anInt8228 == -1) { + float f_134_ = (aFloat8213 + (aFloat8212 * (float) i_110_ + f_132_ + aFloat8224 * (float) i_112_)); + i_121_ = (class109.anInt1665 + (int) (f_134_ * (float) (aHa_Sub1_8217.anInt7491) / f)); + float f_135_ = (aFloat8226 + (aFloat8214 * (float) i_110_ + f_133_ + aFloat8229 * (float) i_112_)); + i_122_ = (class109.anInt1668 + (int) (f_135_ * (float) (aHa_Sub1_8217.anInt7497) / f)); + float f_136_ = (aFloat8213 + (aFloat8212 * (float) i_111_ + f_132_ + aFloat8224 * (float) i_112_)); + i_123_ = (class109.anInt1665 + (int) (f_136_ * (float) (aHa_Sub1_8217.anInt7491) / f_118_)); + float f_137_ = (aFloat8226 + (aFloat8214 * (float) i_111_ + f_133_ + aFloat8229 * (float) i_112_)); + i_124_ = (class109.anInt1668 + (int) (f_137_ * (float) (aHa_Sub1_8217.anInt7497) / f_118_)); + float f_138_ = (aFloat8213 + (aFloat8212 * (float) i_111_ + f_132_ + aFloat8224 * (float) i_113_)); + i_125_ = (class109.anInt1665 + (int) (f_138_ * (float) (aHa_Sub1_8217.anInt7491) / f_119_)); + float f_139_ = (aFloat8226 + (aFloat8214 * (float) i_111_ + f_133_ + aFloat8229 * (float) i_113_)); + i_126_ = (class109.anInt1668 + (int) (f_139_ * (float) (aHa_Sub1_8217.anInt7497) / f_119_)); + float f_140_ = (aFloat8213 + (aFloat8212 * (float) i_110_ + f_132_ + aFloat8224 * (float) i_113_)); + i_127_ = (class109.anInt1665 + (int) (f_140_ * (float) (aHa_Sub1_8217.anInt7491) / f_120_)); + float f_141_ = (aFloat8226 + (aFloat8214 * (float) i_110_ + f_133_ + aFloat8229 * (float) i_113_)); + i_128_ = (class109.anInt1668 + (int) (f_141_ * (float) (aHa_Sub1_8217.anInt7497) / f_120_)); + } else { + float f_142_ = (aFloat8213 + (aFloat8212 * (float) i_110_ + f_132_ + aFloat8224 * (float) i_112_)); + i_121_ = (class109.anInt1665 + (int) (f_142_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); + float f_143_ = (aFloat8226 + (aFloat8214 * (float) i_110_ + f_133_ + aFloat8229 * (float) i_112_)); + i_122_ = (class109.anInt1668 + (int) (f_143_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); + float f_144_ = (aFloat8213 + (aFloat8212 * (float) i_111_ + f_132_ + aFloat8224 * (float) i_112_)); + i_123_ = (class109.anInt1665 + (int) (f_144_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); + float f_145_ = (aFloat8226 + (aFloat8214 * (float) i_111_ + f_133_ + aFloat8229 * (float) i_112_)); + i_124_ = (class109.anInt1668 + (int) (f_145_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); + float f_146_ = (aFloat8213 + (aFloat8212 * (float) i_111_ + f_132_ + aFloat8224 * (float) i_113_)); + i_125_ = (class109.anInt1665 + (int) (f_146_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); + float f_147_ = (aFloat8226 + (aFloat8214 * (float) i_111_ + f_133_ + aFloat8229 * (float) i_113_)); + i_126_ = (class109.anInt1668 + (int) (f_147_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); + float f_148_ = (aFloat8213 + (aFloat8212 * (float) i_110_ + f_132_ + aFloat8224 * (float) i_113_)); + i_127_ = (class109.anInt1665 + (int) (f_148_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); + float f_149_ = (aFloat8226 + (aFloat8214 * (float) i_110_ + f_133_ + aFloat8229 * (float) i_113_)); + i_128_ = (class109.anInt1668 + (int) (f_149_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); + } + } + boolean bool_176_ = (class266.aShort3379 != -1 && method3997(aHa_Sub1_8217.aD4579.method3(class266.aShort3379, -6662).aByte213)); + if (anInt8228 == -1) { + int i_177_ = i_115_ + i_116_ + i_117_; + if (((i_125_ - i_127_) * (i_124_ - i_128_) - (i_126_ - i_128_) * (i_123_ - i_127_)) > 0) { + class109.aBoolean1671 = (i_125_ < 0 || i_127_ < 0 || i_123_ < 0 || i_125_ > class109.anInt1679 || i_127_ > class109.anInt1679 || i_123_ > class109.anInt1679); + if (i_177_ < 765) { + if (i_177_ > 0) { + if (class266.aShort3379 >= 0) { + int i_178_ = -16777216; + if (bool_176_) i_178_ = -1694498816; + class109.method1024((float) i_126_, (float) i_128_, (float) i_124_, (float) i_125_, (float) i_127_, (float) i_123_, f_119_, f_120_, f_118_, 1.0F, 0.0F, 1.0F, 1.0F, 1.0F, 0.0F, i_178_ | (class266.anInt3380) & 0xffffff, i_178_ | (class266.anInt3381) & 0xffffff, i_178_ | (class266.anInt3387) & 0xffffff, class167.anInt2192, i_116_, i_117_, i_115_, class266.aShort3379); + } else { + if (bool_176_) class109.anInt1674 = 100; + class109.method1027((float) i_126_, (float) i_128_, (float) i_124_, (float) i_125_, (float) i_127_, (float) i_123_, (float) (int) f_119_, (float) (int) f_120_, (float) (int) f_118_, (BuildInfo.method206(class266.anInt3380, (i_116_ << 24 | class167.anInt2192), 255)), (BuildInfo.method206(class266.anInt3381, (i_117_ << 24 | class167.anInt2192), 255)), (BuildInfo.method206(class266.anInt3387, (i_115_ << 24 | class167.anInt2192), 255))); + class109.anInt1674 = 0; + } + } else if (class266.aShort3379 >= 0) { + int i_179_ = -16777216; + if (bool_176_) i_179_ = -1694498816; + class109.method1024((float) i_126_, (float) i_128_, (float) i_124_, (float) i_125_, (float) i_127_, (float) i_123_, f_119_, f_120_, f_118_, 1.0F, 0.0F, 1.0F, 1.0F, 1.0F, 0.0F, i_179_ | (class266.anInt3380 & 0xffffff), i_179_ | (class266.anInt3381 & 0xffffff), i_179_ | (class266.anInt3387 & 0xffffff), 0, 0, 0, 0, class266.aShort3379); + } else { + if (bool_176_) class109.anInt1674 = 100; + class109.method1027((float) i_126_, (float) i_128_, (float) i_124_, (float) i_125_, (float) i_127_, (float) i_123_, (float) (int) f_119_, (float) (int) f_120_, (float) (int) f_118_, class266.anInt3380, class266.anInt3381, class266.anInt3387); + class109.anInt1674 = 0; + } + } else class109.method1018((float) i_126_, (float) i_128_, (float) i_124_, (float) i_125_, (float) i_127_, (float) i_123_, (float) (int) f_119_, (float) (int) f_120_, (float) (int) f_118_, (class167.anInt2192)); + } + i_177_ = i_114_ + i_115_ + i_117_; + if (((i_121_ - i_123_) * (i_128_ - i_124_) - (i_122_ - i_124_) * (i_127_ - i_123_)) > 0) { + class109.aBoolean1671 = (i_121_ < 0 || i_123_ < 0 || i_127_ < 0 || i_121_ > class109.anInt1679 || i_123_ > class109.anInt1679 || i_127_ > class109.anInt1679); + if (i_177_ < 765) { + if (bool_176_) class109.anInt1674 = -1694498816; + if (i_177_ > 0) { + if (class266.aShort3379 >= 0) { + int i_180_ = -16777216; + if (bool_176_) i_180_ = -1694498816; + class109.method1024((float) i_122_, (float) i_124_, (float) i_128_, (float) i_121_, (float) i_123_, (float) i_127_, f, f_118_, f_120_, 0.0F, 1.0F, 1.0F, 0.0F, 0.0F, 1.0F, i_180_ | (class266.anInt3389) & 0xffffff, i_180_ | (class266.anInt3387) & 0xffffff, i_180_ | (class266.anInt3381) & 0xffffff, class167.anInt2192, i_114_, i_115_, i_117_, class266.aShort3379); + } else { + if (bool_176_) class109.anInt1674 = 100; + class109.method1027((float) i_122_, (float) i_124_, (float) i_128_, (float) i_121_, (float) i_123_, (float) i_127_, (float) (int) f, (float) (int) f_118_, (float) (int) f_120_, (BuildInfo.method206(class266.anInt3389, (i_114_ << 24 | class167.anInt2192), 255)), (BuildInfo.method206(class266.anInt3387, (i_115_ << 24 | class167.anInt2192), 255)), (BuildInfo.method206(class266.anInt3381, (i_117_ << 24 | class167.anInt2192), 255))); + class109.anInt1674 = 0; + } + } else if (class266.aShort3379 >= 0) { + int i_181_ = -16777216; + if (bool_176_) i_181_ = -1694498816; + class109.method1024((float) i_122_, (float) i_124_, (float) i_128_, (float) i_121_, (float) i_123_, (float) i_127_, f, f_118_, f_120_, 0.0F, 1.0F, 1.0F, 0.0F, 0.0F, 1.0F, i_181_ | (class266.anInt3389 & 0xffffff), i_181_ | (class266.anInt3387 & 0xffffff), i_181_ | (class266.anInt3381 & 0xffffff), 0, 0, 0, 0, class266.aShort3379); + } else { + if (bool_176_) class109.anInt1674 = 100; + class109.method1027((float) i_122_, (float) i_124_, (float) i_128_, (float) i_121_, (float) i_123_, (float) i_127_, (float) (int) f, (float) (int) f_118_, (float) (int) f_120_, class266.anInt3389, class266.anInt3387, class266.anInt3381); + class109.anInt1674 = 0; + } + } else class109.method1018((float) i_122_, (float) i_124_, (float) i_128_, (float) i_121_, (float) i_123_, (float) i_127_, (float) (int) f, (float) (int) f_118_, (float) (int) f_120_, (class167.anInt2192)); + } + } else { + int i_182_ = i_115_ + i_116_ + i_117_; + if (((i_125_ - i_127_) * (i_124_ - i_128_) - (i_126_ - i_128_) * (i_123_ - i_127_)) > 0) { + class109.aBoolean1671 = (i_125_ < 0 || i_127_ < 0 || i_123_ < 0 || i_125_ > class109.anInt1679 || i_127_ > class109.anInt1679 || i_123_ > class109.anInt1679); + if (i_182_ < 765) { + if (bool_176_) class109.anInt1674 = -1694498816; + if (i_182_ > 0) { + if (class266.aShort3379 >= 0) { + int i_183_ = -16777216; + if (bool_176_) i_183_ = -1694498816; + class109.method1024((float) i_126_, (float) i_128_, (float) i_124_, (float) i_125_, (float) i_127_, (float) i_123_, f_119_, f_120_, f_118_, 1.0F, 0.0F, 1.0F, 1.0F, 1.0F, 0.0F, i_183_ | (class266.anInt3380) & 0xffffff, i_183_ | (class266.anInt3381) & 0xffffff, i_183_ | (class266.anInt3387) & 0xffffff, class167.anInt2192, i_116_, i_117_, i_115_, class266.aShort3379); + } else { + if (bool_176_) class109.anInt1674 = 100; + class109.method1027((float) i_126_, (float) i_128_, (float) i_124_, (float) i_125_, (float) i_127_, (float) i_123_, (float) (int) f_119_, (float) (int) f_120_, (float) (int) f_118_, (BuildInfo.method206(class266.anInt3380, (i_116_ << 24 | class167.anInt2192), 255)), (BuildInfo.method206(class266.anInt3381, (i_117_ << 24 | class167.anInt2192), 255)), (BuildInfo.method206(class266.anInt3387, (i_115_ << 24 | class167.anInt2192), 255))); + class109.anInt1674 = 0; + } + } else if (class266.aShort3379 >= 0) { + int i_184_ = -16777216; + if (bool_176_) i_184_ = -1694498816; + class109.method1024((float) i_126_, (float) i_128_, (float) i_124_, (float) i_125_, (float) i_127_, (float) i_123_, f_119_, f_120_, f_118_, 1.0F, 0.0F, 1.0F, 1.0F, 1.0F, 0.0F, i_184_ | (class266.anInt3380 & 0xffffff), i_184_ | (class266.anInt3381 & 0xffffff), i_184_ | (class266.anInt3387 & 0xffffff), 0, 0, 0, 0, class266.aShort3379); + } else { + if (bool_176_) class109.anInt1674 = 100; + class109.method1027((float) i_126_, (float) i_128_, (float) i_124_, (float) i_125_, (float) i_127_, (float) i_123_, (float) (int) f_119_, (float) (int) f_120_, (float) (int) f_118_, class266.anInt3380, class266.anInt3381, class266.anInt3387); + class109.anInt1674 = 0; + } + } else class109.method1018((float) i_126_, (float) i_128_, (float) i_124_, (float) i_125_, (float) i_127_, (float) i_123_, (float) (int) f_119_, (float) (int) f_120_, (float) (int) f_118_, (class167.anInt2192)); + } + i_182_ = i_114_ + i_115_ + i_117_; + if (((i_121_ - i_123_) * (i_128_ - i_124_) - (i_122_ - i_124_) * (i_127_ - i_123_)) > 0) { + class109.aBoolean1671 = (i_121_ < 0 || i_123_ < 0 || i_127_ < 0 || i_121_ > class109.anInt1679 || i_123_ > class109.anInt1679 || i_127_ > class109.anInt1679); + if (i_182_ < 765) { + if (bool_176_) class109.anInt1674 = -1694498816; + if (i_182_ > 0) { + if (class266.aShort3379 >= 0) { + int i_185_ = -16777216; + if (bool_176_) i_185_ = -1694498816; + class109.method1024((float) i_122_, (float) i_124_, (float) i_128_, (float) i_121_, (float) i_123_, (float) i_127_, f, f_118_, f_120_, 0.0F, 1.0F, 1.0F, 0.0F, 0.0F, 1.0F, i_185_ | (class266.anInt3389) & 0xffffff, i_185_ | (class266.anInt3387) & 0xffffff, i_185_ | (class266.anInt3381) & 0xffffff, class167.anInt2192, i_114_, i_115_, i_117_, class266.aShort3379); + } else { + if (bool_176_) class109.anInt1674 = 100; + class109.method1027((float) i_122_, (float) i_124_, (float) i_128_, (float) i_121_, (float) i_123_, (float) i_127_, (float) (int) f, (float) (int) f_118_, (float) (int) f_120_, (BuildInfo.method206(class266.anInt3389, (i_114_ << 24 | class167.anInt2192), 255)), (BuildInfo.method206(class266.anInt3387, (i_115_ << 24 | class167.anInt2192), 255)), (BuildInfo.method206(class266.anInt3381, (i_117_ << 24 | class167.anInt2192), 255))); + class109.anInt1674 = 0; + } + } else if (class266.aShort3379 >= 0) { + int i_186_ = -16777216; + if (bool_176_) i_186_ = -1694498816; + class109.method1024((float) i_122_, (float) i_124_, (float) i_128_, (float) i_121_, (float) i_123_, (float) i_127_, f, f_118_, f_120_, 0.0F, 1.0F, 1.0F, 0.0F, 0.0F, 1.0F, i_186_ | (class266.anInt3389 & 0xffffff), i_186_ | (class266.anInt3387 & 0xffffff), i_186_ | (class266.anInt3381 & 0xffffff), 0, 0, 0, 0, class266.aShort3379); + } else { + if (bool_176_) class109.anInt1674 = 100; + class109.method1027((float) i_122_, (float) i_124_, (float) i_128_, (float) i_121_, (float) i_123_, (float) i_127_, (float) (int) f, (float) (int) f_118_, (float) (int) f_120_, class266.anInt3389, class266.anInt3387, class266.anInt3381); + class109.anInt1674 = 0; + } + } else class109.method1018((float) i_122_, (float) i_124_, (float) i_128_, (float) i_121_, (float) i_123_, (float) i_127_, (float) (int) f, (float) (int) f_118_, (float) (int) f_120_, (class167.anInt2192)); + } + } + } + } + + private static final int method3991(int i, int i_244_) { + int i_245_ = (i & 0xff0000) * i_244_ >> 23; + if (i_245_ < 2) i_245_ = 2; + else if (i_245_ > 253) i_245_ = 253; + int i_246_ = (i & 0xff00) * i_244_ >> 15; + if (i_246_ < 2) i_246_ = 2; + else if (i_246_ > 253) i_246_ = 253; + int i_247_ = (i & 0xff) * i_244_ >> 7; + if (i_247_ < 2) i_247_ = 2; + else if (i_247_ > 253) i_247_ = 253; + return i_245_ << 16 | i_246_ << 8 | i_247_; + } + + final void method3983(int i, int i_248_, int i_249_, boolean[][] bools, boolean bool, int i_250_) { + MatrixSub1 class101_sub1 = aHa_Sub1_8217.aClass101_Sub1_7492; + anInt8228 = -1; + aFloat8212 = class101_sub1.aFloat5672; + aFloat8216 = class101_sub1.aFloat5673; + aFloat8224 = class101_sub1.aFloat5669; + aFloat8213 = class101_sub1.aFloat5686; + aFloat8214 = class101_sub1.aFloat5655; + aFloat8221 = class101_sub1.aFloat5678; + aFloat8229 = class101_sub1.aFloat5666; + aFloat8226 = class101_sub1.aFloat5685; + aFloat8233 = class101_sub1.aFloat5662; + aFloat8227 = class101_sub1.aFloat5680; + aFloat8231 = class101_sub1.aFloat5664; + aFloat8218 = class101_sub1.aFloat5681; + for (int i_251_ = 0; i_251_ < i_249_ + i_249_; i_251_++) { + for (int i_252_ = 0; i_252_ < i_249_ + i_249_; i_252_++) { + if (bools[i_251_][i_252_]) { + int i_253_ = i - i_249_ + i_251_; + int i_254_ = i_248_ - i_249_ + i_252_; + if (i_253_ >= 0 && i_253_ < this.anInt4587 && i_254_ >= 0 && i_254_ < this.anInt4590) method3992(i_253_, i_254_, i_250_); + } + } + } + } + + private final void method3992(int i, int i_255_, int i_256_) { + Component385 class167 = aHa_Sub1_8217.method3724(Thread.currentThread()); + class167.aClass109_2220.anInt1674 = 0; + if (aClass266ArrayArray8230 != null) method3990(i, i_255_, class167.aBoolean2195, class167, class167.aClass109_2220, class167.anIntArray2212, class167.anIntArray2228, class167.anIntArray2217, class167.anIntArray2232, i_256_); + else if (aClass102ArrayArray8215 != null) method3994(i, i_255_, class167.aClass109_2220, class167.anIntArray2212, class167.anIntArray2228, class167.anIntArray2217, class167.anIntArray2232, i_256_); + else if (aClass198ArrayArray8219 != null) method3995(i, i_255_, class167.aBoolean2195, class167, class167.aClass109_2220, class167.anIntArray2212, class167.anIntArray2228, class167.anIntArray2217, class167.anIntArray2232, i_256_); + } + + final void Interface4Impl(r var_r, int i, int i_257_, int i_258_, int i_259_, boolean bool) { + /* empty */ + } + + private final void method3993(int i, int i_260_, int i_261_, int i_262_, int i_263_, int i_264_, int i_265_, boolean[][] bools, Component385 class167, Component8 class109, int[] is, int[] is_266_) { + int i_267_ = (i_265_ - i_263_) * i_261_ / 256; + int i_268_ = i_261_ >> 8; + boolean bool = class167.aBoolean2202; + aHa_Sub1_8217.C(false); + class109.aBoolean1669 = false; + class109.aBoolean1667 = false; + int i_269_ = i; + int i_270_ = i_260_ + i_267_; + for (int i_271_ = i_262_; i_271_ < i_264_; i_271_++) { + for (int i_272_ = i_263_; i_272_ < i_265_; i_272_++) { + if (bools[i_271_ - i_262_][i_272_ - i_263_]) { + if (aClass266ArrayArray8230 != null) { + if (aClass266ArrayArray8230[i_271_][i_272_] != null) { + Component157 class266 = aClass266ArrayArray8230[i_271_][i_272_]; + if (class266.aShort3379 != -1 && (class266.aByte3386 & 0x2) == 0 && class266.anInt3388 == 0) { + int i_273_ = aHa_Sub1_8217.method3722(class266.aShort3379); + class109.method1022((float) (i_270_ - i_268_), (float) (i_270_ - i_268_), (float) i_270_, (float) (i_269_ + i_268_), (float) i_269_, (float) (i_269_ + i_268_), 100.0F, 100.0F, 100.0F, (float) ReferenceTable.clampHslLightness(0, (class266.anInt3380), i_273_), (float) ReferenceTable.clampHslLightness(0, (class266.anInt3381), i_273_), (float) ReferenceTable.clampHslLightness(0, (class266.anInt3387), i_273_)); + class109.method1022((float) i_270_, (float) i_270_, (float) (i_270_ - i_268_), (float) i_269_, (float) (i_269_ + i_268_), (float) i_269_, 100.0F, 100.0F, 100.0F, (float) ReferenceTable.clampHslLightness(0, (class266.anInt3389), i_273_), (float) ReferenceTable.clampHslLightness(0, (class266.anInt3387), i_273_), (float) ReferenceTable.clampHslLightness(0, (class266.anInt3381), i_273_)); + } else if (class266.anInt3388 == 0) { + class109.method1027((float) (i_270_ - i_268_), (float) (i_270_ - i_268_), (float) i_270_, (float) (i_269_ + i_268_), (float) i_269_, (float) (i_269_ + i_268_), 100.0F, 100.0F, 100.0F, class266.anInt3380, class266.anInt3381, class266.anInt3387); + class109.method1027((float) i_270_, (float) i_270_, (float) (i_270_ - i_268_), (float) i_269_, (float) (i_269_ + i_268_), (float) i_269_, 100.0F, 100.0F, 100.0F, class266.anInt3389, class266.anInt3387, class266.anInt3381); + } else { + int i_274_ = class266.anInt3388; + class109.method1027((float) (i_270_ - i_268_), (float) (i_270_ - i_268_), (float) i_270_, (float) (i_269_ + i_268_), (float) i_269_, (float) (i_269_ + i_268_), 100.0F, 100.0F, 100.0F, BuildInfo.method206(i_274_, (class266.anInt3380) & ~0xffffff, 255), BuildInfo.method206(i_274_, (class266.anInt3381) & ~0xffffff, 255), BuildInfo.method206(i_274_, (class266.anInt3387) & ~0xffffff, 255)); + class109.method1027((float) i_270_, (float) i_270_, (float) (i_270_ - i_268_), (float) i_269_, (float) (i_269_ + i_268_), (float) i_269_, 100.0F, 100.0F, 100.0F, BuildInfo.method206(i_274_, (class266.anInt3389) & ~0xffffff, 255), BuildInfo.method206(i_274_, (class266.anInt3387) & ~0xffffff, 255), BuildInfo.method206(i_274_, (class266.anInt3381) & ~0xffffff, 255)); + } + } else if (aClass145ArrayArray8225[i_271_][i_272_] != null) { + Component70 class145 = aClass145ArrayArray8225[i_271_][i_272_]; + for (int i_275_ = 0; i_275_ < class145.aShort2003; i_275_++) { + is[i_275_] = i_269_ + ((class145.aShortArray2009[i_275_]) * i_268_ / this.anInt4592); + is_266_[i_275_] = i_270_ - ((class145.aShortArray2002[i_275_]) * i_268_ / this.anInt4592); + } + for (int i_276_ = 0; i_276_ < class145.aShort2010; i_276_++) { + int i_277_ = i_276_ * 3; + int i_278_ = i_277_ + 1; + int i_279_ = i_278_ + 1; + int i_280_ = is[i_277_]; + int i_281_ = is[i_278_]; + int i_282_ = is[i_279_]; + int i_283_ = is_266_[i_277_]; + int i_284_ = is_266_[i_278_]; + int i_285_ = is_266_[i_279_]; + if ((class145.anIntArray2011 != null) && (class145.anIntArray2011[i_276_]) != 0 && ((class145.aShortArray2008 == null) || ((class145.aShortArray2008) != null && ((class145.aShortArray2008[i_276_]) == -1)))) { + int i_286_ = (class145.anIntArray2011[i_276_]); + class109.method1027((float) i_283_, (float) i_284_, (float) i_285_, (float) i_280_, (float) i_281_, (float) i_282_, 100.0F, 100.0F, 100.0F, BuildInfo.method206(i_286_, (-16777216 - ((class145.anIntArray2001[i_277_]) & ~0xffffff)), 255), BuildInfo.method206(i_286_, (-16777216 - ((class145.anIntArray2001[i_278_]) & ~0xffffff)), 255), BuildInfo.method206(i_286_, (-16777216 - ((class145.anIntArray2001[i_279_]) & ~0xffffff)), 255)); + } else if ((class145.aShortArray2008) != null && ((class145.aShortArray2008[i_276_]) != -1)) { + int i_287_ = (aHa_Sub1_8217.method3722(class145.aShortArray2008[i_276_])); + class109.method1022((float) i_283_, (float) i_284_, (float) i_285_, (float) i_280_, (float) i_281_, (float) i_282_, 100.0F, 100.0F, 100.0F, (float) i_287_, (float) i_287_, (float) i_287_); + } else class109.method1027((float) i_283_, (float) i_284_, (float) i_285_, (float) i_280_, (float) i_281_, (float) i_282_, 100.0F, 100.0F, 100.0F, (class145.anIntArray2001[i_277_]), (class145.anIntArray2001[i_278_]), (class145.anIntArray2001[i_279_])); + } + } + } else if (aClass198ArrayArray8219[i_271_][i_272_] != null) { + Component250 class198 = aClass198ArrayArray8219[i_271_][i_272_]; + for (int i_288_ = 0; i_288_ < class198.aShort2620; i_288_++) { + is[i_288_] = i_269_ + ((class198.aShortArray2622[i_288_]) * i_268_ / this.anInt4592); + is_266_[i_288_] = i_270_ - ((class198.aShortArray2613[i_288_]) * i_268_ / this.anInt4592); + } + for (int i_289_ = 0; i_289_ < class198.aShort2619; i_289_++) { + int i_290_ = i_289_ * 3; + int i_291_ = i_290_ + 1; + int i_292_ = i_291_ + 1; + int i_293_ = is[i_290_]; + int i_294_ = is[i_291_]; + int i_295_ = is[i_292_]; + int i_296_ = is_266_[i_290_]; + int i_297_ = is_266_[i_291_]; + int i_298_ = is_266_[i_292_]; + if (class198.anIntArray2615 != null && (class198.anIntArray2615[i_289_]) != 0) { + int i_299_ = (class198.anIntArray2615[i_289_]); + class109.method1027((float) i_296_, (float) i_297_, (float) i_298_, (float) i_293_, (float) i_294_, (float) i_295_, 100.0F, 100.0F, 100.0F, i_299_, i_299_, i_299_); + } else class109.method1027((float) i_296_, (float) i_297_, (float) i_298_, (float) i_293_, (float) i_294_, (float) i_295_, 100.0F, 100.0F, 100.0F, (class198.anIntArray2623[i_290_]), (class198.anIntArray2623[i_291_]), (class198.anIntArray2623[i_292_])); + } + } + } + i_270_ -= i_268_; + } + i_270_ = i_260_ + i_267_; + i_269_ += i_268_; + } + class109.aBoolean1669 = true; + aHa_Sub1_8217.C(bool); + } + + private final void method3994(int i, int i_300_, Component8 class109, int[] is, int[] is_301_, int[] is_302_, int[] is_303_, int i_304_) { + Component180 class102 = aClass102ArrayArray8215[i][i_300_]; + if (class102 == null) { + Component4 class236 = aClass236ArrayArray8222[i][i_300_]; + if (class236 != null) { + if (i_304_ != 0) { + if ((class236.aByte3100 & 0x4) != 0) { + if ((i_304_ & 0x1) != 0) return; + } else if ((i_304_ & 0x2) != 0) return; + } + if (anInt8228 == -1) { + for (int i_360_ = 0; i_360_ < class236.aShort3089; i_360_++) { + int i_361_ = (class236.aShortArray3096[i_360_] + (i << this.anInt4588)); + short i_362_ = class236.aShortArray3097[i_360_]; + int i_363_ = (class236.aShortArray3094[i_360_] + (i_300_ << this.anInt4588)); + float f = aFloat8218 + (aFloat8233 * (float) i_361_ + aFloat8227 * (float) i_362_ + aFloat8231 * (float) i_363_); + if (f <= (float) aHa_Sub1_8217.anInt7482) return; + float f_364_ = aFloat8213 + (aFloat8212 * (float) i_361_ + aFloat8216 * (float) i_362_ + aFloat8224 * (float) i_363_); + float f_365_ = aFloat8226 + (aFloat8214 * (float) i_361_ + aFloat8221 * (float) i_362_ + aFloat8229 * (float) i_363_); + is[i_360_] = (class109.anInt1665 + (int) (f_364_ * (float) (aHa_Sub1_8217.anInt7491) / f)); + is_301_[i_360_] = (class109.anInt1668 + (int) (f_365_ * (float) (aHa_Sub1_8217.anInt7497) / f)); + is_302_[i_360_] = (int) f; + } + } else { + for (int i_366_ = 0; i_366_ < class236.aShort3089; i_366_++) { + int i_367_ = (class236.aShortArray3096[i_366_] + (i << this.anInt4588)); + short i_368_ = class236.aShortArray3097[i_366_]; + int i_369_ = (class236.aShortArray3094[i_366_] + (i_300_ << this.anInt4588)); + float f = aFloat8218 + (aFloat8233 * (float) i_367_ + aFloat8227 * (float) i_368_ + aFloat8231 * (float) i_369_); + float f_370_ = aFloat8213 + (aFloat8212 * (float) i_367_ + aFloat8216 * (float) i_368_ + aFloat8224 * (float) i_369_); + float f_371_ = aFloat8226 + (aFloat8214 * (float) i_367_ + aFloat8221 * (float) i_368_ + aFloat8229 * (float) i_369_); + is[i_366_] = (class109.anInt1665 + (int) (f_370_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); + is_301_[i_366_] = (class109.anInt1668 + (int) (f_371_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); + is_302_[i_366_] = (int) f; + } + } + if (class236.aShortArray3095 == null) { + for (int i_396_ = 0; i_396_ < class236.aShort3099; i_396_++) { + short i_397_ = class236.aShortArray3091[i_396_]; + short i_398_ = class236.aShortArray3090[i_396_]; + short i_399_ = class236.aShortArray3101[i_396_]; + int i_400_ = is[i_397_]; + int i_401_ = is[i_398_]; + int i_402_ = is[i_399_]; + int i_403_ = is_301_[i_397_]; + int i_404_ = is_301_[i_398_]; + int i_405_ = is_301_[i_399_]; + if (((i_400_ - i_401_) * (i_405_ - i_404_) - (i_403_ - i_404_) * (i_402_ - i_401_)) > 0) { + int i_406_ = class236.anIntArray3093[i_396_]; + if (i_406_ != -1) { + class109.aBoolean1671 = (i_400_ < 0 || i_401_ < 0 || i_402_ < 0 || (i_400_ > class109.anInt1679) || (i_401_ > class109.anInt1679) || (i_402_ > class109.anInt1679)); + class109.method1022((float) i_403_, (float) i_404_, (float) i_405_, (float) i_400_, (float) i_401_, (float) i_402_, (float) is_302_[i_397_], (float) is_302_[i_398_], (float) is_302_[i_399_], (float) (ReferenceTable.clampHslLightness(0, (class236.aShortArray3088[i_397_]), i_406_)), (float) (ReferenceTable.clampHslLightness(0, (class236.aShortArray3088[i_398_]), i_406_)), (float) (ReferenceTable.clampHslLightness(0, (class236.aShortArray3088[i_399_]), i_406_))); + } + } + } + } else if (anInt8228 == -1) { + for (int i_372_ = 0; i_372_ < class236.aShort3099; i_372_++) { + short i_373_ = (class236.aShortArray3091[i_372_]); + short i_374_ = (class236.aShortArray3090[i_372_]); + short i_375_ = (class236.aShortArray3101[i_372_]); + int i_376_ = is[i_373_]; + int i_377_ = is[i_374_]; + int i_378_ = is[i_375_]; + int i_379_ = is_301_[i_373_]; + int i_380_ = is_301_[i_374_]; + int i_381_ = is_301_[i_375_]; + if (((i_376_ - i_377_) * (i_381_ - i_380_) - (i_379_ - i_380_) * (i_378_ - i_377_)) > 0) { + class109.aBoolean1671 = (i_376_ < 0 || i_377_ < 0 || i_378_ < 0 || (i_376_ > class109.anInt1679) || (i_377_ > class109.anInt1679) || (i_378_ > class109.anInt1679)); + short i_382_ = (class236.aShortArray3095[i_372_]); + if (i_382_ == -1) { + int i_383_ = (class236.anIntArray3093[i_372_]); + if (i_383_ != -1) + class109.method1022((float) i_379_, (float) i_380_, (float) i_381_, (float) i_376_, (float) i_377_, (float) i_378_, (float) is_302_[i_373_], (float) is_302_[i_374_], (float) is_302_[i_375_], (float) (ReferenceTable.clampHslLightness(0, (class236.aShortArray3088[i_373_]), i_383_)), (float) (ReferenceTable.clampHslLightness(0, (class236.aShortArray3088[i_374_]), i_383_)), (float) (ReferenceTable.clampHslLightness(0, (class236.aShortArray3088[i_375_]), i_383_))); + } else + class109.method1024((float) i_379_, (float) i_380_, (float) i_381_, (float) i_376_, (float) i_377_, (float) i_378_, (float) is_302_[i_373_], (float) is_302_[i_374_], (float) is_302_[i_375_], ((float) (class236.aShortArray3096[i_373_]) / (float) this.anInt4592), ((float) (class236.aShortArray3096[i_374_]) / (float) this.anInt4592), ((float) (class236.aShortArray3096[i_375_]) / (float) this.anInt4592), ((float) (class236.aShortArray3094[i_373_]) / (float) this.anInt4592), ((float) (class236.aShortArray3094[i_374_]) / (float) this.anInt4592), ((float) (class236.aShortArray3094[i_375_]) / (float) this.anInt4592), ~0xffffff | ((Component380.anIntArray4983[(class236.aShortArray3088[i_373_]) & 0xffff]) & 0xffffff), ~0xffffff | ((Component380.anIntArray4983[(class236.aShortArray3088[i_374_]) & 0xffff]) & 0xffffff), ~0xffffff | ((Component380.anIntArray4983[(class236.aShortArray3088[i_375_]) & 0xffff]) & 0xffffff), 0, 0, 0, 0, i_382_); + } + } + } else { + for (int i_384_ = 0; i_384_ < class236.aShort3099; i_384_++) { + short i_385_ = (class236.aShortArray3091[i_384_]); + short i_386_ = (class236.aShortArray3090[i_384_]); + short i_387_ = (class236.aShortArray3101[i_384_]); + int i_388_ = is[i_385_]; + int i_389_ = is[i_386_]; + int i_390_ = is[i_387_]; + int i_391_ = is_301_[i_385_]; + int i_392_ = is_301_[i_386_]; + int i_393_ = is_301_[i_387_]; + if (((i_388_ - i_389_) * (i_393_ - i_392_) - (i_391_ - i_392_) * (i_390_ - i_389_)) > 0) { + class109.aBoolean1671 = (i_388_ < 0 || i_389_ < 0 || i_390_ < 0 || (i_388_ > class109.anInt1679) || (i_389_ > class109.anInt1679) || (i_390_ > class109.anInt1679)); + short i_394_ = (class236.aShortArray3095[i_384_]); + if (i_394_ == -1) { + int i_395_ = (class236.anIntArray3093[i_384_]); + if (i_395_ != -1) + class109.method1022((float) i_391_, (float) i_392_, (float) i_393_, (float) i_388_, (float) i_389_, (float) i_390_, (float) is_302_[i_385_], (float) is_302_[i_386_], (float) is_302_[i_387_], (float) (ReferenceTable.clampHslLightness(0, (class236.aShortArray3088[i_385_]), i_395_)), (float) (ReferenceTable.clampHslLightness(0, (class236.aShortArray3088[i_386_]), i_395_)), (float) (ReferenceTable.clampHslLightness(0, (class236.aShortArray3088[i_387_]), i_395_))); + } else + class109.method1024((float) i_391_, (float) i_392_, (float) i_393_, (float) i_388_, (float) i_389_, (float) i_390_, (float) is_302_[i_385_], (float) is_302_[i_386_], (float) is_302_[i_387_], ((float) (class236.aShortArray3096[i_385_]) / (float) this.anInt4592), ((float) (class236.aShortArray3096[i_386_]) / (float) this.anInt4592), ((float) (class236.aShortArray3096[i_387_]) / (float) this.anInt4592), ((float) (class236.aShortArray3094[i_385_]) / (float) this.anInt4592), ((float) (class236.aShortArray3094[i_386_]) / (float) this.anInt4592), ((float) (class236.aShortArray3094[i_387_]) / (float) this.anInt4592), ~0xffffff | ((Component380.anIntArray4983[(class236.aShortArray3088[i_385_]) & 0xffff]) & 0xffffff), ~0xffffff | ((Component380.anIntArray4983[(class236.aShortArray3088[i_386_]) & 0xffff]) & 0xffffff), ~0xffffff | ((Component380.anIntArray4983[(class236.aShortArray3088[i_387_]) & 0xffff]) & 0xffffff), 0, 0, 0, 0, i_394_); + } + } + } + } + } else if ((class102.aByte1606 & 0x2) == 0) { + if (i_304_ != 0) { + if ((class102.aByte1606 & 0x4) != 0) { + if ((i_304_ & 0x1) != 0) return; + } else if ((i_304_ & 0x2) != 0) return; + } + int i_305_ = i * this.anInt4592; + int i_306_ = i_305_ + this.anInt4592; + int i_307_ = i_300_ * this.anInt4592; + int i_308_ = i_307_ + this.anInt4592; + float f; + float f_309_; + float f_310_; + float f_311_; + int i_312_; + int i_313_; + int i_314_; + int i_315_; + int i_316_; + int i_317_; + int i_318_; + int i_319_; + if ((class102.aByte1606 & 0x1) == 0) { + int i_340_ = this.anIntArrayArray4584[i][i_300_]; + int i_341_ = this.anIntArrayArray4584[i + 1][i_300_]; + int i_342_ = this.anIntArrayArray4584[i + 1][i_300_ + 1]; + int i_343_ = this.anIntArrayArray4584[i][i_300_ + 1]; + if (anInt8228 == -1) { + f = aFloat8218 + (aFloat8233 * (float) i_305_ + aFloat8227 * (float) i_340_ + aFloat8231 * (float) i_307_); + if (f <= (float) aHa_Sub1_8217.anInt7482) return; + f_309_ = aFloat8218 + (aFloat8233 * (float) i_306_ + aFloat8227 * (float) i_341_ + aFloat8231 * (float) i_307_); + if (f_309_ <= (float) aHa_Sub1_8217.anInt7482) return; + f_310_ = aFloat8218 + (aFloat8233 * (float) i_306_ + aFloat8227 * (float) i_342_ + aFloat8231 * (float) i_308_); + if (f_310_ <= (float) aHa_Sub1_8217.anInt7482) return; + f_311_ = aFloat8218 + (aFloat8233 * (float) i_305_ + aFloat8227 * (float) i_343_ + aFloat8231 * (float) i_308_); + if (f_311_ <= (float) aHa_Sub1_8217.anInt7482) return; + float f_344_ = aFloat8213 + (aFloat8212 * (float) i_305_ + aFloat8216 * (float) i_340_ + aFloat8224 * (float) i_307_); + i_312_ = (class109.anInt1665 + (int) (f_344_ * (float) (aHa_Sub1_8217.anInt7491) / f)); + float f_345_ = aFloat8226 + (aFloat8214 * (float) i_305_ + aFloat8221 * (float) i_340_ + aFloat8229 * (float) i_307_); + i_313_ = (class109.anInt1668 + (int) (f_345_ * (float) (aHa_Sub1_8217.anInt7497) / f)); + float f_346_ = aFloat8213 + (aFloat8212 * (float) i_306_ + aFloat8216 * (float) i_341_ + aFloat8224 * (float) i_307_); + i_314_ = (class109.anInt1665 + (int) (f_346_ * (float) (aHa_Sub1_8217.anInt7491) / f_309_)); + float f_347_ = aFloat8226 + (aFloat8214 * (float) i_306_ + aFloat8221 * (float) i_341_ + aFloat8229 * (float) i_307_); + i_315_ = (class109.anInt1668 + (int) (f_347_ * (float) (aHa_Sub1_8217.anInt7497) / f_309_)); + float f_348_ = aFloat8213 + (aFloat8212 * (float) i_306_ + aFloat8216 * (float) i_342_ + aFloat8224 * (float) i_308_); + i_316_ = (class109.anInt1665 + (int) (f_348_ * (float) (aHa_Sub1_8217.anInt7491) / f_310_)); + float f_349_ = aFloat8226 + (aFloat8214 * (float) i_306_ + aFloat8221 * (float) i_342_ + aFloat8229 * (float) i_308_); + i_317_ = (class109.anInt1668 + (int) (f_349_ * (float) (aHa_Sub1_8217.anInt7497) / f_310_)); + float f_350_ = aFloat8213 + (aFloat8212 * (float) i_305_ + aFloat8216 * (float) i_343_ + aFloat8224 * (float) i_308_); + i_318_ = (class109.anInt1665 + (int) (f_350_ * (float) (aHa_Sub1_8217.anInt7491) / f_311_)); + float f_351_ = aFloat8226 + (aFloat8214 * (float) i_305_ + aFloat8221 * (float) i_343_ + aFloat8229 * (float) i_308_); + i_319_ = (class109.anInt1668 + (int) (f_351_ * (float) (aHa_Sub1_8217.anInt7497) / f_311_)); + } else { + f = aFloat8218 + (aFloat8233 * (float) i_305_ + aFloat8227 * (float) i_340_ + aFloat8231 * (float) i_307_); + f_309_ = aFloat8218 + (aFloat8233 * (float) i_306_ + aFloat8227 * (float) i_341_ + aFloat8231 * (float) i_307_); + f_310_ = aFloat8218 + (aFloat8233 * (float) i_306_ + aFloat8227 * (float) i_342_ + aFloat8231 * (float) i_308_); + f_311_ = aFloat8218 + (aFloat8233 * (float) i_305_ + aFloat8227 * (float) i_343_ + aFloat8231 * (float) i_308_); + float f_352_ = aFloat8213 + (aFloat8212 * (float) i_305_ + aFloat8216 * (float) i_340_ + aFloat8224 * (float) i_307_); + i_312_ = (class109.anInt1665 + (int) (f_352_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); + float f_353_ = aFloat8226 + (aFloat8214 * (float) i_305_ + aFloat8221 * (float) i_340_ + aFloat8229 * (float) i_307_); + i_313_ = (class109.anInt1668 + (int) (f_353_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); + float f_354_ = aFloat8213 + (aFloat8212 * (float) i_306_ + aFloat8216 * (float) i_341_ + aFloat8224 * (float) i_307_); + i_314_ = (class109.anInt1665 + (int) (f_354_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); + float f_355_ = aFloat8226 + (aFloat8214 * (float) i_306_ + aFloat8221 * (float) i_341_ + aFloat8229 * (float) i_307_); + i_315_ = (class109.anInt1668 + (int) (f_355_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); + float f_356_ = aFloat8213 + (aFloat8212 * (float) i_306_ + aFloat8216 * (float) i_342_ + aFloat8224 * (float) i_308_); + i_316_ = (class109.anInt1665 + (int) (f_356_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); + float f_357_ = aFloat8226 + (aFloat8214 * (float) i_306_ + aFloat8221 * (float) i_342_ + aFloat8229 * (float) i_308_); + i_317_ = (class109.anInt1668 + (int) (f_357_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); + float f_358_ = aFloat8213 + (aFloat8212 * (float) i_305_ + aFloat8216 * (float) i_343_ + aFloat8224 * (float) i_308_); + i_318_ = (class109.anInt1665 + (int) (f_358_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); + float f_359_ = aFloat8226 + (aFloat8214 * (float) i_305_ + aFloat8221 * (float) i_343_ + aFloat8229 * (float) i_308_); + i_319_ = (class109.anInt1668 + (int) (f_359_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); + } + } else { + int i_320_ = this.anIntArrayArray4584[i][i_300_]; + float f_321_ = aFloat8227 * (float) i_320_; + if (anInt8228 == -1) { + f = aFloat8218 + (aFloat8233 * (float) i_305_ + f_321_ + aFloat8231 * (float) i_307_); + if (f <= (float) aHa_Sub1_8217.anInt7482) return; + f_309_ = aFloat8218 + (aFloat8233 * (float) i_306_ + f_321_ + aFloat8231 * (float) i_307_); + if (f_309_ <= (float) aHa_Sub1_8217.anInt7482) return; + f_310_ = aFloat8218 + (aFloat8233 * (float) i_306_ + f_321_ + aFloat8231 * (float) i_308_); + if (f_310_ <= (float) aHa_Sub1_8217.anInt7482) return; + f_311_ = aFloat8218 + (aFloat8233 * (float) i_305_ + f_321_ + aFloat8231 * (float) i_308_); + if (f_311_ <= (float) aHa_Sub1_8217.anInt7482) return; + } else { + f = aFloat8218 + (aFloat8233 * (float) i_305_ + f_321_ + aFloat8231 * (float) i_307_); + f_309_ = aFloat8218 + (aFloat8233 * (float) i_306_ + f_321_ + aFloat8231 * (float) i_307_); + f_310_ = aFloat8218 + (aFloat8233 * (float) i_306_ + f_321_ + aFloat8231 * (float) i_308_); + f_311_ = aFloat8218 + (aFloat8233 * (float) i_305_ + f_321_ + aFloat8231 * (float) i_308_); + } + float f_322_ = aFloat8216 * (float) i_320_; + float f_323_ = aFloat8221 * (float) i_320_; + if (anInt8228 == -1) { + float f_324_ = (aFloat8213 + (aFloat8212 * (float) i_305_ + f_322_ + aFloat8224 * (float) i_307_)); + i_312_ = (class109.anInt1665 + (int) (f_324_ * (float) (aHa_Sub1_8217.anInt7491) / f)); + float f_325_ = (aFloat8226 + (aFloat8214 * (float) i_305_ + f_323_ + aFloat8229 * (float) i_307_)); + i_313_ = (class109.anInt1668 + (int) (f_325_ * (float) (aHa_Sub1_8217.anInt7497) / f)); + float f_326_ = (aFloat8213 + (aFloat8212 * (float) i_306_ + f_322_ + aFloat8224 * (float) i_307_)); + i_314_ = (class109.anInt1665 + (int) (f_326_ * (float) (aHa_Sub1_8217.anInt7491) / f_309_)); + float f_327_ = (aFloat8226 + (aFloat8214 * (float) i_306_ + f_323_ + aFloat8229 * (float) i_307_)); + i_315_ = (class109.anInt1668 + (int) (f_327_ * (float) (aHa_Sub1_8217.anInt7497) / f_309_)); + float f_328_ = (aFloat8213 + (aFloat8212 * (float) i_306_ + f_322_ + aFloat8224 * (float) i_308_)); + i_316_ = (class109.anInt1665 + (int) (f_328_ * (float) (aHa_Sub1_8217.anInt7491) / f_310_)); + float f_329_ = (aFloat8226 + (aFloat8214 * (float) i_306_ + f_323_ + aFloat8229 * (float) i_308_)); + i_317_ = (class109.anInt1668 + (int) (f_329_ * (float) (aHa_Sub1_8217.anInt7497) / f_310_)); + float f_330_ = (aFloat8213 + (aFloat8212 * (float) i_305_ + f_322_ + aFloat8224 * (float) i_308_)); + i_318_ = (class109.anInt1665 + (int) (f_330_ * (float) (aHa_Sub1_8217.anInt7491) / f_311_)); + float f_331_ = (aFloat8226 + (aFloat8214 * (float) i_305_ + f_323_ + aFloat8229 * (float) i_308_)); + i_319_ = (class109.anInt1668 + (int) (f_331_ * (float) (aHa_Sub1_8217.anInt7497) / f_311_)); + } else { + float f_332_ = (aFloat8213 + (aFloat8212 * (float) i_305_ + f_322_ + aFloat8224 * (float) i_307_)); + i_312_ = (class109.anInt1665 + (int) (f_332_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); + float f_333_ = (aFloat8226 + (aFloat8214 * (float) i_305_ + f_323_ + aFloat8229 * (float) i_307_)); + i_313_ = (class109.anInt1668 + (int) (f_333_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); + float f_334_ = (aFloat8213 + (aFloat8212 * (float) i_306_ + f_322_ + aFloat8224 * (float) i_307_)); + i_314_ = (class109.anInt1665 + (int) (f_334_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); + float f_335_ = (aFloat8226 + (aFloat8214 * (float) i_306_ + f_323_ + aFloat8229 * (float) i_307_)); + i_315_ = (class109.anInt1668 + (int) (f_335_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); + float f_336_ = (aFloat8213 + (aFloat8212 * (float) i_306_ + f_322_ + aFloat8224 * (float) i_308_)); + i_316_ = (class109.anInt1665 + (int) (f_336_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); + float f_337_ = (aFloat8226 + (aFloat8214 * (float) i_306_ + f_323_ + aFloat8229 * (float) i_308_)); + i_317_ = (class109.anInt1668 + (int) (f_337_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); + float f_338_ = (aFloat8213 + (aFloat8212 * (float) i_305_ + f_322_ + aFloat8224 * (float) i_308_)); + i_318_ = (class109.anInt1665 + (int) (f_338_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); + float f_339_ = (aFloat8226 + (aFloat8214 * (float) i_305_ + f_323_ + aFloat8229 * (float) i_308_)); + i_319_ = (class109.anInt1668 + (int) (f_339_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); + } + } + if (anInt8228 == -1) { + if (((i_316_ - i_318_) * (i_315_ - i_319_) - (i_317_ - i_319_) * (i_314_ - i_318_)) > 0) { + class109.aBoolean1671 = (i_316_ < 0 || i_318_ < 0 || i_314_ < 0 || i_316_ > class109.anInt1679 || i_318_ > class109.anInt1679 || i_314_ > class109.anInt1679); + if (class102.aShort1605 >= 0) + class109.method1024((float) i_317_, (float) i_319_, (float) i_315_, (float) i_316_, (float) i_318_, (float) i_314_, f_310_, f_311_, f_309_, 1.0F, 0.0F, 1.0F, 1.0F, 1.0F, 0.0F, (~0xffffff | (Component380.anIntArray4983[(class102.aShort1602 & 0xffff)]) & 0xffffff), (~0xffffff | (Component380.anIntArray4983[(class102.aShort1604 & 0xffff)]) & 0xffffff), (~0xffffff | (Component380.anIntArray4983[(class102.aShort1603 & 0xffff)]) & 0xffffff), 0, 0, 0, 0, class102.aShort1605); + else + class109.method1022((float) i_317_, (float) i_319_, (float) i_315_, (float) i_316_, (float) i_318_, (float) i_314_, (float) (int) f_310_, (float) (int) f_311_, (float) (int) f_309_, (float) (class102.aShort1602 & 0xffff), (float) (class102.aShort1604 & 0xffff), (float) (class102.aShort1603 & 0xffff)); + } + if (((i_312_ - i_314_) * (i_319_ - i_315_) - (i_313_ - i_315_) * (i_318_ - i_314_)) > 0) { + class109.aBoolean1671 = (i_312_ < 0 || i_314_ < 0 || i_318_ < 0 || i_312_ > class109.anInt1679 || i_314_ > class109.anInt1679 || i_318_ > class109.anInt1679); + if (class102.aShort1605 >= 0) + class109.method1024((float) i_313_, (float) i_315_, (float) i_319_, (float) i_312_, (float) i_314_, (float) i_318_, f, f_309_, f_311_, 0.0F, 1.0F, 1.0F, 0.0F, 0.0F, 1.0F, (~0xffffff | (Component380.anIntArray4983[(class102.aShort1601 & 0xffff)]) & 0xffffff), (~0xffffff | (Component380.anIntArray4983[(class102.aShort1603 & 0xffff)]) & 0xffffff), (~0xffffff | (Component380.anIntArray4983[(class102.aShort1604 & 0xffff)]) & 0xffffff), 0, 0, 0, 0, class102.aShort1605); + else + class109.method1022((float) i_313_, (float) i_315_, (float) i_319_, (float) i_312_, (float) i_314_, (float) i_318_, (float) (int) f, (float) (int) f_309_, (float) (int) f_311_, (float) (class102.aShort1601 & 0xffff), (float) (class102.aShort1603 & 0xffff), (float) (class102.aShort1604 & 0xffff)); + } + } else { + if (((i_316_ - i_318_) * (i_315_ - i_319_) - (i_317_ - i_319_) * (i_314_ - i_318_)) > 0) { + class109.aBoolean1671 = (i_316_ < 0 || i_318_ < 0 || i_314_ < 0 || i_316_ > class109.anInt1679 || i_318_ > class109.anInt1679 || i_314_ > class109.anInt1679); + if (class102.aShort1605 >= 0) + class109.method1024((float) i_317_, (float) i_319_, (float) i_315_, (float) i_316_, (float) i_318_, (float) i_314_, f_310_, f_311_, f_309_, 1.0F, 0.0F, 1.0F, 1.0F, 1.0F, 0.0F, (~0xffffff | (Component380.anIntArray4983[(class102.aShort1602 & 0xffff)]) & 0xffffff), (~0xffffff | (Component380.anIntArray4983[(class102.aShort1604 & 0xffff)]) & 0xffffff), (~0xffffff | (Component380.anIntArray4983[(class102.aShort1603 & 0xffff)]) & 0xffffff), 0, 0, 0, 0, class102.aShort1605); + else + class109.method1022((float) i_317_, (float) i_319_, (float) i_315_, (float) i_316_, (float) i_318_, (float) i_314_, (float) (int) f_310_, (float) (int) f_311_, (float) (int) f_309_, (float) (class102.aShort1602 & 0xffff), (float) (class102.aShort1604 & 0xffff), (float) (class102.aShort1603 & 0xffff)); + } + if (((i_312_ - i_314_) * (i_319_ - i_315_) - (i_313_ - i_315_) * (i_318_ - i_314_)) > 0) { + class109.aBoolean1671 = (i_312_ < 0 || i_314_ < 0 || i_318_ < 0 || i_312_ > class109.anInt1679 || i_314_ > class109.anInt1679 || i_318_ > class109.anInt1679); + if (class102.aShort1605 >= 0) + class109.method1024((float) i_313_, (float) i_315_, (float) i_319_, (float) i_312_, (float) i_314_, (float) i_318_, f, f_309_, f_311_, 0.0F, 1.0F, 1.0F, 0.0F, 0.0F, 1.0F, (~0xffffff | (Component380.anIntArray4983[(class102.aShort1601 & 0xffff)]) & 0xffffff), (~0xffffff | (Component380.anIntArray4983[(class102.aShort1603 & 0xffff)]) & 0xffffff), (~0xffffff | (Component380.anIntArray4983[(class102.aShort1604 & 0xffff)]) & 0xffffff), 0, 0, 0, 0, class102.aShort1605); + else + class109.method1022((float) i_313_, (float) i_315_, (float) i_319_, (float) i_312_, (float) i_314_, (float) i_318_, (float) (int) f, (float) (int) f_309_, (float) (int) f_311_, (float) (class102.aShort1601 & 0xffff), (float) (class102.aShort1603 & 0xffff), (float) (class102.aShort1604 & 0xffff)); + } + } + } + } + + final boolean method3989(r var_r, int i, int i_407_, int i_408_, int i_409_, boolean bool) { + return false; + } + + final r fa(int i, int i_410_, r var_r) { + return null; + } + + final void method3987(int i, int i_411_, int i_412_, int i_413_, int i_414_, int i_415_, int i_416_, boolean[][] bools) { + Component385 class167 = aHa_Sub1_8217.method3724(Thread.currentThread()); + Component8 class109 = class167.aClass109_2220; + class109.anInt1674 = 0; + class109.aBoolean1671 = true; + aHa_Sub1_8217.NativeHandle(); + if (aClass266ArrayArray8230 != null || aClass198ArrayArray8219 != null) method3993(i, i_411_, i_412_, i_413_, i_414_, i_415_, i_416_, bools, class167, class109, class167.anIntArray2212, class167.anIntArray2228); + else if (aClass102ArrayArray8215 != null) method3996(i, i_411_, i_412_, i_413_, i_414_, i_415_, i_416_, bools, class167, class109, class167.anIntArray2212, class167.anIntArray2228); + } + + private final void method3995(int i, int i_417_, boolean bool, Component385 class167, Component8 class109, int[] is, int[] is_418_, int[] is_419_, int[] is_420_, int i_421_) { + Component250 class198 = aClass198ArrayArray8219[i][i_417_]; + if (i_421_ == 0 || (i_421_ & 0x2) == 0) { + if (class198 != null) { + if (anInt8228 == -1) { + for (int i_422_ = 0; i_422_ < class198.aShort2620; i_422_++) { + int i_423_ = (class198.aShortArray2622[i_422_] + (i << this.anInt4588)); + int i_424_ = class198.aShortArray2618[i_422_]; + int i_425_ = (class198.aShortArray2613[i_422_] + (i_417_ << this.anInt4588)); + float f = aFloat8218 + (aFloat8233 * (float) i_423_ + aFloat8227 * (float) i_424_ + aFloat8231 * (float) i_425_); + if (f <= (float) aHa_Sub1_8217.anInt7482) return; + is_420_[i_422_] = 0; + if (bool) { + int i_426_ = (int) (f - (float) (class167.anInt2210)); + if (i_426_ > 255) i_426_ = 255; + if (i_426_ > 0) { + is_420_[i_422_] = i_426_; + int i_427_ = ((class198.aShortArray2621[i_422_]) * i_426_ / 255); + if (i_427_ > 0) i_424_ -= i_427_; + } + } else if (class167.aBoolean2201) { + int i_428_ = (int) (f - (float) (class167.anInt2210)); + if (i_428_ > 0) { + is_420_[i_422_] = i_428_; + if (is_420_[i_422_] > 255) is_420_[i_422_] = 255; + } + } + float f_429_ = aFloat8213 + (aFloat8212 * (float) i_423_ + aFloat8216 * (float) i_424_ + aFloat8224 * (float) i_425_); + float f_430_ = aFloat8226 + (aFloat8214 * (float) i_423_ + aFloat8221 * (float) i_424_ + aFloat8229 * (float) i_425_); + is[i_422_] = (class109.anInt1665 + (int) (f_429_ * (float) (aHa_Sub1_8217.anInt7491) / f)); + is_418_[i_422_] = (class109.anInt1668 + (int) (f_430_ * (float) (aHa_Sub1_8217.anInt7497) / f)); + is_419_[i_422_] = (int) f; + } + } else { + for (int i_431_ = 0; i_431_ < class198.aShort2620; i_431_++) { + int i_432_ = (class198.aShortArray2622[i_431_] + (i << this.anInt4588)); + int i_433_ = class198.aShortArray2618[i_431_]; + int i_434_ = (class198.aShortArray2613[i_431_] + (i_417_ << this.anInt4588)); + float f = aFloat8218 + (aFloat8233 * (float) i_432_ + aFloat8227 * (float) i_433_ + aFloat8231 * (float) i_434_); + is_420_[i_431_] = 0; + if (bool) { + int i_435_ = anInt8228 - class167.anInt2210; + if (i_435_ > 255) i_435_ = 255; + if (i_435_ > 0) { + is_420_[i_431_] = i_435_; + int i_436_ = ((class198.aShortArray2621[i_431_]) * i_435_ / 255); + if (i_436_ > 0) i_433_ -= i_436_; + } + } else if (class167.aBoolean2201) { + int i_437_ = anInt8228 - class167.anInt2210; + if (i_437_ > 0) { + is_420_[i_431_] = i_437_; + if (is_420_[i_431_] > 255) is_420_[i_431_] = 255; + } + } + float f_438_ = aFloat8213 + (aFloat8212 * (float) i_432_ + aFloat8216 * (float) i_433_ + aFloat8224 * (float) i_434_); + float f_439_ = aFloat8226 + (aFloat8214 * (float) i_432_ + aFloat8221 * (float) i_433_ + aFloat8229 * (float) i_434_); + is[i_431_] = (class109.anInt1665 + (int) (f_438_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); + is_418_[i_431_] = (class109.anInt1668 + (int) (f_439_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); + is_419_[i_431_] = (int) f; + } + } + float f = (float) this.anInt4592; + for (int i_440_ = 0; i_440_ < class198.aShort2619; i_440_++) { + int i_441_ = i_440_ * 3; + int i_442_ = i_441_ + 1; + int i_443_ = i_442_ + 1; + int i_444_ = is[i_441_]; + int i_445_ = is[i_442_]; + int i_446_ = is[i_443_]; + int i_447_ = is_418_[i_441_]; + int i_448_ = is_418_[i_442_]; + int i_449_ = is_418_[i_443_]; + if (((i_444_ - i_445_) * (i_449_ - i_448_) - (i_447_ - i_448_) * (i_446_ - i_445_)) > 0) { + class109.aBoolean1671 = (i_444_ < 0 || i_445_ < 0 || i_446_ < 0 || i_444_ > class109.anInt1679 || i_445_ > class109.anInt1679 || i_446_ > class109.anInt1679); + if (is_420_[i_441_] + is_420_[i_442_] + is_420_[i_443_] < 765) { + int i_450_ = i << this.anInt4588; + int i_451_ = i_417_ << this.anInt4588; + if ((class198.anIntArray2623[i_441_] & 0xffffff) != 0) { + if (((class198.aShortArray2616[i_441_]) == (class198.aShortArray2616[i_442_])) && ((class198.aShortArray2616[i_441_]) == (class198.aShortArray2616[i_443_])) && ((class198.aShortArray2614[i_441_]) == (class198.aShortArray2614[i_442_])) && ((class198.aShortArray2614[i_441_]) == (class198.aShortArray2614[i_443_]))) + class109.method1024((float) i_447_, (float) i_448_, (float) i_449_, (float) i_444_, (float) i_445_, (float) i_446_, (float) is_419_[i_441_], (float) is_419_[i_442_], (float) is_419_[i_443_], ((float) (i_450_ + (class198.aShortArray2622[i_441_])) / (float) (class198.aShortArray2614[i_441_])), ((float) (i_450_ + (class198.aShortArray2622[i_442_])) / (float) (class198.aShortArray2614[i_442_])), ((float) (i_450_ + (class198.aShortArray2622[i_443_])) / (float) (class198.aShortArray2614[i_443_])), ((float) (i_451_ + (class198.aShortArray2613[i_441_])) / (float) (class198.aShortArray2614[i_441_])), ((float) (i_451_ + (class198.aShortArray2613[i_442_])) / (float) (class198.aShortArray2614[i_442_])), ((float) (i_451_ + (class198.aShortArray2613[i_443_])) / (float) (class198.aShortArray2614[i_443_])), (class198.anIntArray2623[i_441_]), (class198.anIntArray2623[i_442_]), (class198.anIntArray2623[i_443_]), class167.anInt2192, is_420_[i_441_], is_420_[i_442_], is_420_[i_443_], (class198.aShortArray2616[i_441_])); + else + class109.method1020((float) i_447_, (float) i_448_, (float) i_449_, (float) i_444_, (float) i_445_, (float) i_446_, (float) is_419_[i_441_], (float) is_419_[i_442_], (float) is_419_[i_443_], (float) (i_450_ + (class198.aShortArray2622[i_441_])) / f, (float) (i_450_ + (class198.aShortArray2622[i_442_])) / f, (float) (i_450_ + (class198.aShortArray2622[i_443_])) / f, (float) (i_451_ + (class198.aShortArray2613[i_441_])) / f, (float) (i_451_ + (class198.aShortArray2613[i_442_])) / f, (float) (i_451_ + (class198.aShortArray2613[i_443_])) / f, (class198.anIntArray2623[i_441_]), (class198.anIntArray2623[i_442_]), (class198.anIntArray2623[i_443_]), class167.anInt2192, is_420_[i_441_], is_420_[i_442_], is_420_[i_443_], (class198.aShortArray2616[i_441_]), f / (float) (class198.aShortArray2614[i_441_]), (class198.aShortArray2616[i_442_]), f / (float) (class198.aShortArray2614[i_442_]), (class198.aShortArray2616[i_443_]), f / (float) (class198.aShortArray2614[i_443_])); + } + } else class109.method1018((float) i_447_, (float) i_448_, (float) i_449_, (float) i_444_, (float) i_445_, (float) i_446_, (float) is_419_[i_441_], (float) is_419_[i_442_], (float) is_419_[i_443_], (class167.anInt2192)); + } + } + } + } + } + + final void method3979(int i, int i_452_) { + method3992(i, i_452_, 0); + } + + private final void method3996(int i, int i_453_, int i_454_, int i_455_, int i_456_, int i_457_, int i_458_, boolean[][] bools, Component385 class167, Component8 class109, int[] is, int[] is_459_) { + int i_460_ = (i_458_ - i_456_) * i_454_ / 256; + int i_461_ = i_454_ >> 8; + boolean bool = class167.aBoolean2202; + aHa_Sub1_8217.C(false); + class109.aBoolean1669 = false; + class109.aBoolean1667 = false; + int i_462_ = i; + int i_463_ = i_453_ + i_460_; + for (int i_464_ = i_455_; i_464_ < i_457_; i_464_++) { + for (int i_465_ = i_456_; i_465_ < i_458_; i_465_++) { + if (bools[i_464_ - i_455_][i_465_ - i_456_]) { + if (aClass102ArrayArray8215[i_464_][i_465_] != null) { + Component180 class102 = aClass102ArrayArray8215[i_464_][i_465_]; + if (class102.aShort1605 != -1 && (class102.aByte1606 & 0x2) == 0 && class102.anInt1600 == -1) { + int i_466_ = aHa_Sub1_8217.method3722(class102.aShort1605); + class109.method1022((float) (i_463_ - i_461_), (float) (i_463_ - i_461_), (float) i_463_, (float) (i_462_ + i_461_), (float) i_462_, (float) (i_462_ + i_461_), 100.0F, 100.0F, 100.0F, (float) ReferenceTable.clampHslLightness(0, ((class102.aShort1602) & 0xffff), i_466_), (float) ReferenceTable.clampHslLightness(0, ((class102.aShort1604) & 0xffff), i_466_), (float) ReferenceTable.clampHslLightness(0, ((class102.aShort1603) & 0xffff), i_466_)); + class109.method1022((float) i_463_, (float) i_463_, (float) (i_463_ - i_461_), (float) i_462_, (float) (i_462_ + i_461_), (float) i_462_, 100.0F, 100.0F, 100.0F, (float) ReferenceTable.clampHslLightness(0, ((class102.aShort1601) & 0xffff), i_466_), (float) ReferenceTable.clampHslLightness(0, ((class102.aShort1603) & 0xffff), i_466_), (float) ReferenceTable.clampHslLightness(0, ((class102.aShort1604) & 0xffff), i_466_)); + } else if (class102.anInt1600 == -1) { + class109.method1022((float) (i_463_ - i_461_), (float) (i_463_ - i_461_), (float) i_463_, (float) (i_462_ + i_461_), (float) i_462_, (float) (i_462_ + i_461_), 100.0F, 100.0F, 100.0F, (float) (class102.aShort1602 & 0xffff), (float) (class102.aShort1604 & 0xffff), (float) (class102.aShort1603 & 0xffff)); + class109.method1022((float) i_463_, (float) i_463_, (float) (i_463_ - i_461_), (float) i_462_, (float) (i_462_ + i_461_), (float) i_462_, 100.0F, 100.0F, 100.0F, (float) (class102.aShort1601 & 0xffff), (float) (class102.aShort1603 & 0xffff), (float) (class102.aShort1604 & 0xffff)); + } else { + int i_467_ = class102.anInt1600; + class109.method1022((float) (i_463_ - i_461_), (float) (i_463_ - i_461_), (float) i_463_, (float) (i_462_ + i_461_), (float) i_462_, (float) (i_462_ + i_461_), 100.0F, 100.0F, 100.0F, (float) i_467_, (float) i_467_, (float) i_467_); + class109.method1022((float) i_463_, (float) i_463_, (float) (i_463_ - i_461_), (float) i_462_, (float) (i_462_ + i_461_), (float) i_462_, 100.0F, 100.0F, 100.0F, (float) i_467_, (float) i_467_, (float) i_467_); + } + } else if (aClass236ArrayArray8222[i_464_][i_465_] != null) { + Component4 class236 = aClass236ArrayArray8222[i_464_][i_465_]; + for (int i_468_ = 0; i_468_ < class236.aShort3089; i_468_++) { + is[i_468_] = i_462_ + ((class236.aShortArray3096[i_468_]) * i_461_ / this.anInt4592); + is_459_[i_468_] = i_463_ - ((class236.aShortArray3094[i_468_]) * i_461_ / this.anInt4592); + } + for (int i_469_ = 0; i_469_ < class236.aShort3099; i_469_++) { + short i_470_ = (class236.aShortArray3091[i_469_]); + short i_471_ = (class236.aShortArray3090[i_469_]); + short i_472_ = (class236.aShortArray3101[i_469_]); + int i_473_ = is[i_470_]; + int i_474_ = is[i_471_]; + int i_475_ = is[i_472_]; + int i_476_ = is_459_[i_470_]; + int i_477_ = is_459_[i_471_]; + int i_478_ = is_459_[i_472_]; + if (class236.anIntArray3092 != null && (class236.anIntArray3092[i_469_]) != -1) { + int i_479_ = (class236.anIntArray3092[i_469_]); + class109.method1022((float) i_476_, (float) i_477_, (float) i_478_, (float) i_473_, (float) i_474_, (float) i_475_, 100.0F, 100.0F, 100.0F, (float) (ReferenceTable.clampHslLightness(0, (class236.aShortArray3088[i_470_]), i_479_)), (float) (ReferenceTable.clampHslLightness(0, (class236.aShortArray3088[i_471_]), i_479_)), (float) (ReferenceTable.clampHslLightness(0, (class236.aShortArray3088[i_472_]), i_479_))); + } else if ((class236.aShortArray3095 != null) && (class236.aShortArray3095[i_469_]) != -1) { + int i_480_ = aHa_Sub1_8217.method3722(class236.aShortArray3095[i_469_]); + class109.method1022((float) i_476_, (float) i_477_, (float) i_478_, (float) i_473_, (float) i_474_, (float) i_475_, 100.0F, 100.0F, 100.0F, (float) (ReferenceTable.clampHslLightness(0, (class236.aShortArray3088[i_470_]), i_480_)), (float) (ReferenceTable.clampHslLightness(0, (class236.aShortArray3088[i_471_]), i_480_)), (float) (ReferenceTable.clampHslLightness(0, (class236.aShortArray3088[i_472_]), i_480_))); + } else { + int i_481_ = (class236.anIntArray3093[i_469_]); + class109.method1022((float) i_476_, (float) i_477_, (float) i_478_, (float) i_473_, (float) i_474_, (float) i_475_, 100.0F, 100.0F, 100.0F, (float) (ReferenceTable.clampHslLightness(0, (class236.aShortArray3088[i_470_]), i_481_)), (float) (ReferenceTable.clampHslLightness(0, (class236.aShortArray3088[i_471_]), i_481_)), (float) (ReferenceTable.clampHslLightness(0, (class236.aShortArray3088[i_472_]), i_481_))); + } + } + } + } + i_463_ -= i_461_; + } + i_463_ = i_453_ + i_460_; + i_462_ += i_461_; + } + class109.aBoolean1669 = true; + aHa_Sub1_8217.C(bool); + } + + final void YA() { + aByteArrayArray8220 = null; + aByteArrayArray8232 = null; + } + + final void CA(r var_r, int i, int i_482_, int i_483_, int i_484_, boolean bool) { + /* empty */ + } + + private final boolean method3997(int i) { + if ((anInt8223 & 0x8) == 0) return false; + if (i == 4) return true; + if (i == 8) return true; + return i == 9; + } + + BufferCacheSub1(GlToolkitSub1 var_ha_Sub1, int i, int i_485_, int i_486_, int i_487_, int[][] is, int[][] is_488_, int i_489_) { + super(i_486_, i_487_, i_489_, is); + aHa_Sub1_8217 = var_ha_Sub1; + anInt8223 = i_485_; + aByteArrayArray8220 = new byte[i_486_ + 1][i_487_ + 1]; + int i_490_ = aHa_Sub1_8217.anInt7500 >> 9; + for (int i_491_ = 1; i_491_ < i_487_; i_491_++) { + for (int i_492_ = 1; i_492_ < i_486_; i_492_++) { + int i_493_ = i_490_; + int i_494_ = (is_488_[i_492_ + 1][i_491_] - is_488_[i_492_ - 1][i_491_]); + int i_495_ = (is_488_[i_492_][i_491_ + 1] - is_488_[i_492_][i_491_ - 1]); + int i_496_ = (int) Math.sqrt(i_494_ * i_494_ + 512 * i_489_ + i_495_ * i_495_); + int i_497_ = (i_494_ << 8) / i_496_; + int i_498_ = -512 * i_489_ / i_496_; + int i_499_ = (i_495_ << 8) / i_496_; + i_493_ += (aHa_Sub1_8217.anInt7484 * i_497_ + aHa_Sub1_8217.anInt7473 * i_498_ + aHa_Sub1_8217.anInt7479 * i_499_) >> 17; + i_493_ >>= 1; + if (i_493_ < 2) i_493_ = 2; + else if (i_493_ > 126) i_493_ = 126; + aByteArrayArray8220[i_492_][i_491_] = (byte) i_493_; + } + } + aByteArrayArray8232 = new byte[i_486_ + 1][i_487_ + 1]; + } +} diff --git a/client/scene/buffers/BufferCacheSub2.java b/client/scene/buffers/BufferCacheSub2.java new file mode 100644 index 000000000..d8c508b86 --- /dev/null +++ b/client/scene/buffers/BufferCacheSub2.java @@ -0,0 +1,787 @@ +/* BufferCacheSub2 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaclib.memory.Stream; +import jaggl.OpenGL; + +import java.io.IOException; + +final class BufferCacheSub2 +/** + * RENAMED from `BufferCacheSub2` (JODE-obfuscated). + * Evidence: extends s (s) + */ extends s { + int[][][] anIntArrayArrayArray8234; + int anInt8235; + static int anInt8236; + static int anInt8237; + static int anInt8238; + static int anInt8239; + private final byte[][] aByteArrayArray8240; + static HashTable aClass107_8241 = new HashTable(); + static int anInt8242; + private NodeSub20[][][] aClass348_Sub20ArrayArrayArray8243; + static int anInt8244; + private int[][][] anIntArrayArrayArray8245; + private int anInt8246; + static int anInt8247; + static int anInt8248; + static int anInt8249; + static int anInt8250; + static int anInt8251; + private int[][][] anIntArrayArrayArray8252; + int[][][] anIntArrayArrayArray8253; + static int anInt8254; + static int anInt8255; + private final NodeList aClass262_8256 = new NodeList(); + private int anInt8257; + private int[][][] anIntArrayArrayArray8258; + static int anInt8259; + private final int anInt8260; + static int anInt8261; + static int anInt8262; + static int anInt8263; + private final int anInt8264; + static String aString8265; + private Component65 aClass104_8266; + short[][] aShortArrayArray8267; + int[][][] anIntArrayArrayArray8268; + static int[] anIntArray8269; + static int anInt8270 = -1; + static int anInt8271; + GlToolkitSub2 aHa_Sub2_8272; + private byte[][] aByteArrayArray8273; + private Component132 aClass123_8274; + Component132 aClass123_8275; + Component132 aClass123_8276; + Component132 aClass123_8277; + private LruCache aClass356_8278; + private Interface2 anInterface2_8279; + private int anInt8280; + private float[][] aFloatArrayArray8281; + private NodeSub20[] aClass348_Sub20Array8282; + private float[][] aFloatArrayArray8283; + private int anInt8284; + private float[][] aFloatArrayArray8285; + + final void Interface4Impl(r var_r, int i, int i_0_, int i_1_, int i_2_, boolean bool) { + anInt8251++; + if (aClass104_8266 != null && var_r != null) { + int i_3_ = (i - ((this.aHa_Sub2_8272.anInt7772 * i_0_) >> 8) >> this.aHa_Sub2_8272.anInt7731); + int i_4_ = (-(i_0_ * this.aHa_Sub2_8272.anInt7777 >> 8) + i_1_ >> this.aHa_Sub2_8272.anInt7731); + aClass104_8266.method951(var_r, i_3_, i_4_, 70); + } + } + + final void method3978(int i, int i_5_, int[] is, int[] is_6_, int[] is_7_, int[] is_8_, int[] is_9_, int[] is_10_, int[] is_11_, int[] is_12_, int[] is_13_, int[] is_14_, int[] is_15_, int i_16_, int i_17_, int i_18_, boolean bool) { + try { + anInt8249++; + int i_19_ = is_12_.length; + int[] is_20_ = new int[3 * i_19_]; + int[] is_21_ = new int[3 * i_19_]; + int[] is_22_ = new int[i_19_ * 3]; + int[] is_23_ = new int[3 * i_19_]; + int[] is_24_ = new int[i_19_ * 3]; + int[] is_25_ = new int[3 * i_19_]; + int[] is_26_ = is_6_ != null ? new int[i_19_ * 3] : null; + int[] is_27_ = is_8_ != null ? new int[3 * i_19_] : null; + int i_28_ = 0; + for (int i_29_ = 0; i_29_ < i_19_; i_29_++) { + int i_30_ = is_9_[i_29_]; + int i_31_ = is_10_[i_29_]; + int i_32_ = is_11_[i_29_]; + is_20_[i_28_] = is[i_30_]; + is_21_[i_28_] = is_7_[i_30_]; + is_22_[i_28_] = is_12_[i_29_]; + is_24_[i_28_] = is_14_[i_29_]; + is_25_[i_28_] = is_15_[i_29_]; + is_23_[i_28_] = is_13_ != null ? is_13_[i_29_] : is_12_[i_29_]; + if (is_6_ != null) is_26_[i_28_] = is_6_[i_30_]; + if (is_8_ != null) is_27_[i_28_] = is_8_[i_30_]; + i_28_++; + is_20_[i_28_] = is[i_31_]; + is_21_[i_28_] = is_7_[i_31_]; + is_22_[i_28_] = is_12_[i_29_]; + is_24_[i_28_] = is_14_[i_29_]; + is_25_[i_28_] = is_15_[i_29_]; + is_23_[i_28_] = is_13_ == null ? is_12_[i_29_] : is_13_[i_29_]; + if (is_6_ != null) is_26_[i_28_] = is_6_[i_31_]; + if (is_8_ != null) is_27_[i_28_] = is_8_[i_31_]; + i_28_++; + is_20_[i_28_] = is[i_32_]; + is_21_[i_28_] = is_7_[i_32_]; + is_22_[i_28_] = is_12_[i_29_]; + is_24_[i_28_] = is_14_[i_29_]; + is_25_[i_28_] = is_15_[i_29_]; + is_23_[i_28_] = is_13_ != null ? is_13_[i_29_] : is_12_[i_29_]; + if (is_6_ != null) is_26_[i_28_] = is_6_[i_32_]; + if (is_8_ != null) is_27_[i_28_] = is_8_[i_32_]; + i_28_++; + } + U(i, i_5_, is_20_, is_26_, is_21_, is_27_, is_22_, is_23_, is_24_, is_25_, i_16_, i_17_, i_18_, bool); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ed.E(" + i + ',' + i_5_ + ',' + (is != null ? "{...}" : "null") + ',' + (is_6_ != null ? "{...}" : "null") + ',' + (is_7_ != null ? "{...}" : "null") + ',' + (is_8_ != null ? "{...}" : "null") + ',' + (is_9_ != null ? "{...}" : "null") + ',' + (is_10_ != null ? "{...}" : "null") + ',' + (is_11_ != null ? "{...}" : "null") + ',' + (is_12_ != null ? "{...}" : "null") + ',' + (is_13_ != null ? "{...}" : "null") + ',' + (is_14_ != null ? "{...}" : "null") + ',' + (is_15_ != null ? "{...}" : "null") + ',' + i_16_ + ',' + i_17_ + ',' + i_18_ + ',' + bool + ')')); + } + } + + final void YA() { + if (anInt8284 <= 0) aClass104_8266 = null; + else { + byte[][] is = new byte[1 + this.anInt4587][this.anInt4590 + 1]; + for (int i = 1; i < this.anInt4587; i++) { + for (int i_33_ = 1; i_33_ < this.anInt4590; i_33_++) + is[i][i_33_] = (byte) ((aByteArrayArray8273[i][1 + i_33_] >> 3) + (aByteArrayArray8273[i][-1 + i_33_] >> 2) + ((aByteArrayArray8273[i + 1][i_33_] >> 3) + ((aByteArrayArray8273[i - 1][i_33_] >> 2) + (aByteArrayArray8273[i][i_33_] >> 1)))); + } + aClass348_Sub20Array8282 = new NodeSub20[aClass356_8278.size(1)]; + aClass356_8278.method3477(3, aClass348_Sub20Array8282); + for (int i = 0; aClass348_Sub20Array8282.length > i; i++) + aClass348_Sub20Array8282[i].method2946(2147483647, anInt8284); + int i = 24; + if (anIntArrayArrayArray8252 != null) i += 4; + if ((0x7 & this.anInt8235) != 0) i += 12; + jaclib.memory.heap.NativeHeapBuffer nativeheapbuffer = this.aHa_Sub2_8272.aNativeHeap7730.a(anInt8284 * i, false); + Stream stream = new Stream(nativeheapbuffer); + NodeSub20[] class348_sub20s = new NodeSub20[anInt8284]; + int i_34_ = PrimitiveTypeDefinition.method3051(anInt8284 / 4, 4096); + if (i_34_ < 1) i_34_ = 1; + LruCache class356 = new LruCache(i_34_); + NodeSub20[] class348_sub20s_35_ = new NodeSub20[anInt8280]; + for (int i_36_ = 0; this.anInt4587 > i_36_; i_36_++) { + for (int i_37_ = 0; (this.anInt4590 > i_37_); i_37_++) { + if (this.anIntArrayArrayArray8253[i_36_][i_37_] != null) { + NodeSub20[] class348_sub20s_38_ = aClass348_Sub20ArrayArrayArray8243[i_36_][i_37_]; + int[] is_39_ = (this.anIntArrayArrayArray8268[i_36_][i_37_]); + int[] is_40_ = (this.anIntArrayArrayArray8234[i_36_][i_37_]); + int[] is_41_ = anIntArrayArrayArray8245[i_36_][i_37_]; + int[] is_42_ = (this.anIntArrayArrayArray8253[i_36_][i_37_]); + int[] is_43_ = (anIntArrayArrayArray8258 != null ? anIntArrayArrayArray8258[i_36_][i_37_] : null); + if (is_41_ == null) is_41_ = is_42_; + int[] is_44_ = (anIntArrayArrayArray8252 != null ? anIntArrayArrayArray8252[i_36_][i_37_] : null); + float f = aFloatArrayArray8285[i_36_][i_37_]; + float f_45_ = aFloatArrayArray8281[i_36_][i_37_]; + float f_46_ = aFloatArrayArray8283[i_36_][i_37_]; + float f_47_ = aFloatArrayArray8285[i_36_][i_37_ - -1]; + float f_48_ = aFloatArrayArray8281[i_36_][1 + i_37_]; + float f_49_ = aFloatArrayArray8283[i_36_][1 + i_37_]; + float f_50_ = aFloatArrayArray8285[i_36_ - -1][1 + i_37_]; + float f_51_ = aFloatArrayArray8281[1 + i_36_][1 + i_37_]; + float f_52_ = aFloatArrayArray8283[i_36_ + 1][i_37_ - -1]; + float f_53_ = aFloatArrayArray8285[1 + i_36_][i_37_]; + float f_54_ = aFloatArrayArray8281[1 + i_36_][i_37_]; + float f_55_ = aFloatArrayArray8283[i_36_ + 1][i_37_]; + int i_56_ = 0xff & is[i_36_][i_37_]; + int i_57_ = 0xff & is[i_36_][1 + i_37_]; + int i_58_ = is[1 + i_36_][i_37_ - -1] & 0xff; + int i_59_ = 0xff & is[1 + i_36_][i_37_]; + int i_60_ = 0; + while_239_: + for (int i_61_ = 0; i_61_ < is_42_.length; i_61_++) { + NodeSub20 class348_sub20 = class348_sub20s_38_[i_61_]; + for (int i_62_ = 0; i_60_ > i_62_; i_62_++) { + if (class348_sub20s_35_[i_62_] == class348_sub20) continue while_239_; + } + class348_sub20s_35_[i_60_++] = class348_sub20; + } + short[] is_63_ = (this.aShortArrayArray8267[this.anInt4587 * i_37_ + i_36_] = new short[is_42_.length]); + for (int i_64_ = 0; (is_42_.length > i_64_); i_64_++) { + int i_65_ = ((i_36_ << this.anInt4588) + is_39_[i_64_]); + int i_66_ = ((i_37_ << this.anInt4588) - -is_40_[i_64_]); + int i_67_ = i_65_ >> anInt8264; + int i_68_ = i_66_ >> anInt8264; + int i_69_ = is_42_[i_64_]; + int i_70_ = is_41_[i_64_]; + int i_71_ = is_43_ != null ? is_43_[i_64_] : 0; + long l = ((long) (i_67_ << 16) | ((long) i_69_ << 32 | (long) i_70_ << 48) | (long) i_68_); + int i_72_ = is_39_[i_64_]; + int i_73_ = is_40_[i_64_]; + int i_74_ = 74; + int i_75_ = 0; + float f_76_; + float f_77_; + float f_78_; + if (i_72_ != 0 || i_73_ != 0) { + if (i_72_ != 0 || i_73_ != this.anInt4592) { + if ((i_72_ != this.anInt4592) || i_73_ != this.anInt4592) { + if ((i_72_ == this.anInt4592) && i_73_ == 0) { + f_76_ = f_54_; + f_78_ = f_55_; + f_77_ = f_53_; + i_74_ -= i_59_; + } else { + float f_79_ = ((float) i_72_ / (float) (this.anInt4592)); + float f_80_ = ((float) i_73_ / (float) (this.anInt4592)); + float f_81_ = (-f + f_53_) * f_79_ + f; + float f_82_ = ((f_54_ - f_45_) * f_79_ + f_45_); + float f_83_ = (f_79_ * (-f_46_ + f_55_) + f_46_); + float f_84_ = (f_79_ * (f_50_ - f_47_) + f_47_); + float f_85_ = (f_48_ + (-f_48_ + f_51_) * f_79_); + float f_86_ = ((f_52_ - f_49_) * f_79_ + f_49_); + f_76_ = f_82_ + ((f_85_ - f_82_) * f_80_); + f_77_ = (f_80_ * (-f_81_ + f_84_) + f_81_); + f_78_ = f_83_ + ((-f_83_ + f_86_) * f_80_); + int i_87_ = (((i_59_ + -i_56_) * i_72_ >> this.anInt4588) + i_56_); + int i_88_ = ((i_72_ * (-i_57_ + i_58_) >> this.anInt4588) + i_57_); + i_74_ -= i_87_ - -(((-i_87_ + i_88_) * i_73_) >> (this.anInt4588)); + } + } else { + f_77_ = f_50_; + f_76_ = f_51_; + f_78_ = f_52_; + i_74_ -= i_58_; + } + } else { + f_78_ = f_49_; + f_76_ = f_48_; + i_74_ -= i_57_; + f_77_ = f_47_; + } + } else { + f_76_ = f_45_; + f_77_ = f; + i_74_ -= i_56_; + f_78_ = f_46_; + } + float f_89_ = 1.0F; + if (i_69_ != -1) { + int i_90_ = (0x7f & i_69_) * i_74_ >> 7; + if (i_90_ >= 2) { + if (i_90_ > 126) i_90_ = 126; + } else i_90_ = 2; + if ((0x7 & this.anInt8235) == 0) { + f_89_ = ((this.aHa_Sub2_8272.aFloatArray7825[2]) * f_78_ + (f_77_ * (this.aHa_Sub2_8272.aFloatArray7825[0]) + f_76_ * (this.aHa_Sub2_8272.aFloatArray7825[1]))); + f_89_ = ((this.aHa_Sub2_8272.aFloat7768) + (f_89_ > 0.0F ? (this.aHa_Sub2_8272.aFloat7832) : (this.aHa_Sub2_8272.aFloat7871)) * f_89_); + } + i_75_ = (RunescapeInfo.anIntArray179[0xff80 & i_69_ | i_90_]); + } + Node class348 = null; + if ((i_65_ & -1 + anInt8260) == 0 && (anInt8260 + -1 & i_66_) == 0) class348 = class356.get(l, -6008); + int i_91_; + if (class348 == null) { + int i_92_; + if (i_69_ != i_70_) { + int i_93_ = (i_70_ & 0x7f) * i_74_ >> 7; + if (i_93_ < 2) i_93_ = 2; + else if (i_93_ > 126) i_93_ = 126; + i_92_ = (RunescapeInfo.anIntArray179[0xff80 & i_70_ | i_93_]); + if ((0x7 & this.anInt8235) == 0) { + float f_94_ = ((this.aHa_Sub2_8272.aFloatArray7825[0]) * f_77_ + f_76_ * (this.aHa_Sub2_8272.aFloatArray7825[1]) + f_78_ * (this.aHa_Sub2_8272.aFloatArray7825[2])); + f_94_ = ((f_89_ > 0.0F ? (this.aHa_Sub2_8272.aFloat7832) : (this.aHa_Sub2_8272.aFloat7871)) * f_89_ + (this.aHa_Sub2_8272.aFloat7768)); + int i_95_ = (i_92_ & 0xffcb9e) >> 16; + int i_96_ = (0xff29 & i_92_) >> 8; + int i_97_ = 0xff & i_92_; + i_95_ *= f_94_; + i_96_ *= f_94_; + if (i_95_ < 0) i_95_ = 0; + else if (i_95_ > 255) i_95_ = 255; + if (i_96_ >= 0) { + if (i_96_ > 255) i_96_ = 255; + } else i_96_ = 0; + i_97_ *= f_94_; + if (i_97_ < 0) i_97_ = 0; + else if (i_97_ > 255) i_97_ = 255; + i_92_ = (i_95_ << 16 | i_96_ << 8 | i_97_); + } + } else i_92_ = i_75_; + if (this.aHa_Sub2_8272.aBoolean7775) { + stream.a((float) i_65_); + stream.a((float) (this.method3986(i_65_, i_66_, (byte) -121) + i_71_)); + stream.a((float) i_66_); + stream.f((byte) (i_92_ >> 16)); + stream.f((byte) (i_92_ >> 8)); + stream.f((byte) i_92_); + stream.f(-1); + stream.a((float) i_65_); + stream.a((float) i_66_); + if (anIntArrayArrayArray8252 != null) stream.a((float) (is_44_ == null ? 0 : -1 + (is_44_[i_64_]))); + if ((0x7 & this.anInt8235) != 0) { + stream.a(f_77_); + stream.a(f_76_); + stream.a(f_78_); + } + } else { + stream.b((float) i_65_); + stream.b((float) (this.method3986(i_65_, i_66_, (byte) -101) - -i_71_)); + stream.b((float) i_66_); + stream.f((byte) (i_92_ >> 16)); + stream.f((byte) (i_92_ >> 8)); + stream.f((byte) i_92_); + stream.f(-1); + stream.b((float) i_65_); + stream.b((float) i_66_); + if (anIntArrayArrayArray8252 != null) stream.b((float) (is_44_ != null ? is_44_[i_64_] + -1 : 0)); + if ((0x7 & this.anInt8235) != 0) { + stream.b(f_77_); + stream.b(f_76_); + stream.b(f_78_); + } + } + i_91_ = anInt8246++; + is_63_[i_64_] = (short) i_91_; + if (i_69_ != -1) class348_sub20s[i_91_] = class348_sub20s_38_[i_64_]; + class356.put((byte) 114, l, new NodeSub29(is_63_[i_64_])); + } else { + is_63_[i_64_] = ((NodeSub29) class348).aShort6911; + i_91_ = 0xffff & is_63_[i_64_]; + if (i_69_ != -1 && ((class348_sub20s[i_91_].key) > class348_sub20s_38_[i_64_].key)) class348_sub20s[i_91_] = class348_sub20s_38_[i_64_]; + } + for (int i_98_ = 0; i_98_ < i_60_; i_98_++) + class348_sub20s_35_[i_98_].method2949((byte) 97, i_91_, i_74_, i_75_, f_89_); + anInt8257++; + } + } + } + } + for (int i_99_ = 0; anInt8246 > i_99_; i_99_++) { + NodeSub20 class348_sub20 = class348_sub20s[i_99_]; + if (class348_sub20 != null) class348_sub20.method2951(3, i_99_); + } + for (int i_100_ = 0; this.anInt4587 > i_100_; i_100_++) { + for (int i_101_ = 0; i_101_ < this.anInt4590; i_101_++) { + short[] is_102_ = (this.aShortArrayArray8267[i_101_ * this.anInt4587 + i_100_]); + if (is_102_ != null) { + int i_103_ = 0; + int i_104_ = 0; + while (is_102_.length > i_104_) { + int i_105_ = is_102_[i_104_++] & 0xffff; + int i_106_ = is_102_[i_104_++] & 0xffff; + int i_107_ = 0xffff & is_102_[i_104_++]; + NodeSub20 class348_sub20 = class348_sub20s[i_105_]; + NodeSub20 class348_sub20_108_ = class348_sub20s[i_106_]; + NodeSub20 class348_sub20_109_ = class348_sub20s[i_107_]; + NodeSub20 class348_sub20_110_ = null; + if (class348_sub20 != null) { + class348_sub20.method2945(i_100_, (byte) 18, i_101_, i_103_); + class348_sub20_110_ = class348_sub20; + } + if (class348_sub20_108_ != null) { + class348_sub20_108_.method2945(i_100_, (byte) 18, i_101_, i_103_); + if (class348_sub20_110_ == null || ((class348_sub20_110_.key) > (class348_sub20_108_.key))) class348_sub20_110_ = class348_sub20_108_; + } + if (class348_sub20_109_ != null) { + class348_sub20_109_.method2945(i_100_, (byte) 18, i_101_, i_103_); + if (class348_sub20_110_ == null || ((class348_sub20_109_.key) < (class348_sub20_110_.key))) class348_sub20_110_ = class348_sub20_109_; + } + if (class348_sub20_110_ != null) { + if (class348_sub20 != null) class348_sub20_110_.method2951(3, i_105_); + if (class348_sub20_108_ != null) class348_sub20_110_.method2951(3, i_106_); + if (class348_sub20_109_ != null) class348_sub20_110_.method2951(3, i_107_); + class348_sub20_110_.method2945(i_100_, (byte) 18, i_101_, i_103_); + } + i_103_++; + } + } + } + } + stream.a(); + anInterface2_8279 = this.aHa_Sub2_8272.method3739(8448, nativeheapbuffer, false, i, stream.b()); + this.aClass123_8276 = new Component132(anInterface2_8279, 5126, 3, 0); + aClass123_8274 = new Component132(anInterface2_8279, 5121, 4, 12); + int i_111_; + if (anIntArrayArrayArray8252 == null) { + i_111_ = 24; + this.aClass123_8277 = new Component132(anInterface2_8279, 5126, 2, 16); + } else { + i_111_ = 28; + this.aClass123_8277 = new Component132(anInterface2_8279, 5126, 3, 16); + } + if ((0x7 & this.anInt8235) != 0) this.aClass123_8275 = new Component132(anInterface2_8279, 5126, 3, i_111_); + long[] ls = new long[aClass348_Sub20Array8282.length]; + for (int i_112_ = 0; i_112_ < aClass348_Sub20Array8282.length; i_112_++) { + NodeSub20 class348_sub20 = aClass348_Sub20Array8282[i_112_]; + ls[i_112_] = class348_sub20.key; + class348_sub20.method2952(17795, anInt8246); + } + NewsFetcher.method2669(aClass348_Sub20Array8282, ls, -21); + if (aClass104_8266 != null) aClass104_8266.method957(0); + } + anInt8247++; + anIntArrayArrayArray8258 = null; + aFloatArrayArray8285 = aFloatArrayArray8281 = aFloatArrayArray8283 = null; + anIntArrayArrayArray8252 = null; + aClass348_Sub20ArrayArrayArray8243 = null; + this.anIntArrayArrayArray8253 = null; + aByteArrayArray8273 = null; + aClass356_8278 = null; + anIntArrayArrayArray8245 = null; + this.anIntArrayArrayArray8268 = this.anIntArrayArrayArray8234 = null; + } + + private final void method3998(byte i, int i_113_, int i_114_, CacheNodeSub2 var_r_Sub2) { + anInt8254++; + int[] is = this.anIntArrayArrayArray8268[i_113_][i_114_]; + if (i != -82) method3981(null, null); + int[] is_115_ = this.anIntArrayArrayArray8234[i_113_][i_114_]; + int i_116_ = is.length; + if (this.aHa_Sub2_8272.anIntArray7880.length < i_116_) { + this.aHa_Sub2_8272.anIntArray7883 = new int[i_116_]; + this.aHa_Sub2_8272.anIntArray7880 = new int[i_116_]; + } + int[] is_117_ = this.aHa_Sub2_8272.anIntArray7880; + int[] is_118_ = this.aHa_Sub2_8272.anIntArray7883; + for (int i_119_ = 0; i_119_ < i_116_; i_119_++) { + is_117_[i_119_] = (is[i_119_] >> this.aHa_Sub2_8272.anInt7731); + is_118_[i_119_] = (is_115_[i_119_] >> this.aHa_Sub2_8272.anInt7731); + } + int i_120_ = 0; + while (i_120_ < i_116_) { + int i_121_ = is_117_[i_120_]; + int i_122_ = is_118_[i_120_++]; + int i_123_ = is_117_[i_120_]; + int i_124_ = is_118_[i_120_++]; + int i_125_ = is_117_[i_120_]; + int i_126_ = is_118_[i_120_++]; + if (((-i_123_ + i_121_) * (i_124_ + -i_126_) - (i_125_ - i_123_) * (i_124_ - i_122_)) > 0) var_r_Sub2.method3294(i_125_, i_121_, i_122_, 63, i_123_, i_126_, i_124_); + } + } + + final void method3979(int i, int i_127_) { + anInt8239++; + } + + final void CA(r var_r, int i, int i_128_, int i_129_, int i_130_, boolean bool) { + anInt8236++; + if (aClass104_8266 != null && var_r != null) { + int i_131_ = (i - ((i_128_ * this.aHa_Sub2_8272.anInt7772) >> 8) >> this.aHa_Sub2_8272.anInt7731); + int i_132_ = (-((this.aHa_Sub2_8272.anInt7777 * i_128_) >> 8) + i_129_ >> this.aHa_Sub2_8272.anInt7731); + aClass104_8266.method959(i_131_, i_132_, (byte) 107, var_r); + } + } + + BufferCacheSub2(GlToolkitSub2 var_ha_Sub2, int i, int i_133_, int i_134_, int i_135_, int[][] is, int[][] is_136_, int i_137_) { + super(i_134_, i_135_, i_137_, is); + do { + try { + this.aHa_Sub2_8272 = var_ha_Sub2; + anInt8264 = this.anInt4588 + -2; + anIntArrayArrayArray8245 = new int[i_134_][i_135_][]; + aByteArrayArray8240 = new byte[i_134_][i_135_]; + this.anIntArrayArrayArray8268 = new int[i_134_][i_135_][]; + this.anIntArrayArrayArray8253 = new int[i_134_][i_135_][]; + aFloatArrayArray8285 = (new float[1 + this.anInt4587] + [this.anInt4590 + 1]); + aClass348_Sub20ArrayArrayArray8243 = new NodeSub20[i_134_][i_135_][]; + anIntArrayArrayArray8258 = new int[i_134_][i_135_][]; + aFloatArrayArray8281 = (new float[1 + this.anInt4587] + [1 + this.anInt4590]); + aByteArrayArray8273 = new byte[1 + i_134_][i_135_ - -1]; + this.aShortArrayArray8267 = new short[i_135_ * i_134_][]; + anInt8260 = 1 << anInt8264; + this.anIntArrayArrayArray8234 = new int[i_134_][i_135_][]; + aFloatArrayArray8283 = (new float[1 + this.anInt4587] + [1 + this.anInt4590]); + this.anInt8235 = i_133_; + for (int i_138_ = 1; this.anInt4590 > i_138_; i_138_++) { + for (int i_139_ = 1; this.anInt4587 > i_139_; i_139_++) { + int i_140_ = (is_136_[1 + i_139_][i_138_] + -is_136_[-1 + i_139_][i_138_]); + int i_141_ = (is_136_[i_139_][1 + i_138_] + -is_136_[i_139_][i_138_ - 1]); + float f = (float) (1.0 / Math.sqrt(i_141_ * i_141_ + (i_137_ * i_137_ * 4) + (i_140_ * i_140_))); + aFloatArrayArray8285[i_139_][i_138_] = f * (float) i_140_; + aFloatArrayArray8281[i_139_][i_138_] = f * (float) (-i_137_ * 2); + aFloatArrayArray8283[i_139_][i_138_] = (float) i_141_ * f; + } + } + aClass356_8278 = new LruCache(128); + if ((0x10 & this.anInt8235) == 0) break; + aClass104_8266 = new Component65(this.aHa_Sub2_8272, this); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ed.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_133_ + ',' + i_134_ + ',' + i_135_ + ',' + (is != null ? "{...}" : "null") + ',' + (is_136_ != null ? "{...}" : "null") + ',' + i_137_ + ')')); + } + break; + } while (false); + } + + final boolean method3989(r var_r, int i, int i_142_, int i_143_, int i_144_, boolean bool) { + anInt8244++; + if (aClass104_8266 == null || var_r == null) return false; + int i_145_ = (-(i_142_ * this.aHa_Sub2_8272.anInt7772 >> 8) + i >> this.aHa_Sub2_8272.anInt7731); + int i_146_ = (i_143_ + -((this.aHa_Sub2_8272.anInt7777 * i_142_) >> 8) >> this.aHa_Sub2_8272.anInt7731); + return aClass104_8266.method954(i_145_, (byte) 88, i_146_, var_r); + } + + static final boolean method3999(int i, int i_147_, int i_148_) { + if (i_148_ != 458752) anInt8237 = -28; + anInt8238++; + return (0x70000 & i_147_) != 0 | DisplayModeManagerContainer369.method1613(false, i, i_147_) || Component118.method2187(i_147_, -121, i); + } + + final void method3983(int i, int i_149_, int i_150_, boolean[][] bools, boolean bool, int i_151_) { + method4003(-1, i_150_, bool, -49, i, i_151_, bools, i_149_); + anInt8255++; + } + + public static void method4000(int i) { + if (i != 8448) aString8265 = null; + anIntArray8269 = null; + aString8265 = null; + aClass107_8241 = null; + } + + final void method3987(int i, int i_152_, int i_153_, int i_154_, int i_155_, int i_156_, int i_157_, boolean[][] bools) { + anInt8262++; + if (anInt8284 > 0) { + this.aHa_Sub2_8272.method3755(-32); + this.aHa_Sub2_8272.method3807(false, 2); + this.aHa_Sub2_8272.method3728(false, 92); + this.aHa_Sub2_8272.method3752(117, false); + this.aHa_Sub2_8272.method3748(0, false); + this.aHa_Sub2_8272.method3753(0, 1); + this.aHa_Sub2_8272.method3757(-2, -100); + this.aHa_Sub2_8272.method3771((byte) -86, null); + DisplayModeManagerContainer306.aFloatArray4772[0] = ((float) i_153_ / ((float) (this.aHa_Sub2_8272.anInt7688) * ((float) this.anInt4592 * 128.0F))); + DisplayModeManagerContainer306.aFloatArray4772[8] = 0.0F; + DisplayModeManagerContainer306.aFloatArray4772[13] = 1.0F - (((float) (i_157_ * i_153_) / 128.0F + (float) (i_152_ * 2)) / (float) (this.aHa_Sub2_8272.anInt7641)); + DisplayModeManagerContainer306.aFloatArray4772[7] = 0.0F; + DisplayModeManagerContainer306.aFloatArray4772[6] = 0.0F; + DisplayModeManagerContainer306.aFloatArray4772[5] = ((float) i_153_ / ((float) (this.aHa_Sub2_8272.anInt7641) * ((float) this.anInt4592 * 128.0F))); + DisplayModeManagerContainer306.aFloatArray4772[1] = 0.0F; + DisplayModeManagerContainer306.aFloatArray4772[4] = 0.0F; + DisplayModeManagerContainer306.aFloatArray4772[14] = 0.0F; + DisplayModeManagerContainer306.aFloatArray4772[12] = -(((float) (i_153_ * i_154_) / 128.0F - (float) (2 * i)) / (float) (this.aHa_Sub2_8272.anInt7688)) + -1.0F; + DisplayModeManagerContainer306.aFloatArray4772[10] = 0.0F; + DisplayModeManagerContainer306.aFloatArray4772[15] = 1.0F; + DisplayModeManagerContainer306.aFloatArray4772[3] = 0.0F; + DisplayModeManagerContainer306.aFloatArray4772[2] = 0.0F; + DisplayModeManagerContainer306.aFloatArray4772[9] = 0.0F; + DisplayModeManagerContainer306.aFloatArray4772[11] = 0.0F; + OpenGL.glMatrixMode(5889); + OpenGL.glLoadMatrixf(DisplayModeManagerContainer306.aFloatArray4772, 0); + DisplayModeManagerContainer306.aFloatArray4772[12] = 0.0F; + DisplayModeManagerContainer306.aFloatArray4772[4] = 0.0F; + DisplayModeManagerContainer306.aFloatArray4772[0] = 1.0F; + DisplayModeManagerContainer306.aFloatArray4772[14] = 0.0F; + DisplayModeManagerContainer306.aFloatArray4772[6] = 1.0F; + DisplayModeManagerContainer306.aFloatArray4772[8] = 0.0F; + DisplayModeManagerContainer306.aFloatArray4772[11] = 0.0F; + DisplayModeManagerContainer306.aFloatArray4772[13] = 0.0F; + DisplayModeManagerContainer306.aFloatArray4772[7] = 0.0F; + DisplayModeManagerContainer306.aFloatArray4772[5] = 0.0F; + DisplayModeManagerContainer306.aFloatArray4772[15] = 1.0F; + DisplayModeManagerContainer306.aFloatArray4772[2] = 0.0F; + DisplayModeManagerContainer306.aFloatArray4772[3] = 0.0F; + DisplayModeManagerContainer306.aFloatArray4772[9] = 1.0F; + DisplayModeManagerContainer306.aFloatArray4772[10] = 0.0F; + DisplayModeManagerContainer306.aFloatArray4772[1] = 0.0F; + OpenGL.glMatrixMode(5888); + OpenGL.glLoadMatrixf(DisplayModeManagerContainer306.aFloatArray4772, 0); + if ((0x7 & this.anInt8235) == 0) this.aHa_Sub2_8272.method3728(false, 56); + else { + this.aHa_Sub2_8272.method3728(true, 91); + this.aHa_Sub2_8272.method3796(16384); + } + this.aHa_Sub2_8272.method3794(this.aClass123_8276, aClass123_8274, -26411, this.aClass123_8277, this.aClass123_8275); + if (this.aHa_Sub2_8272.aClass348_Sub49_Sub1_7798.payload.length < anInt8257 * 2) this.aHa_Sub2_8272.aClass348_Sub49_Sub1_7798 = new Component182(anInt8257 * 2); + else this.aHa_Sub2_8272.aClass348_Sub49_Sub1_7798.offset = 0; + int i_158_ = 0; + Component182 class348_sub49_sub1 = (this.aHa_Sub2_8272.aClass348_Sub49_Sub1_7798); + if (this.aHa_Sub2_8272.aBoolean7775) { + for (int i_159_ = i_155_; i_159_ < i_157_; i_159_++) { + int i_160_ = i_159_ * this.anInt4587 + i_154_; + for (int i_161_ = i_154_; i_156_ > i_161_; i_161_++) { + if (bools[-i_154_ + i_161_][-i_155_ + i_159_]) { + short[] is = this.aShortArrayArray8267[i_160_]; + if (is != null) { + for (int i_162_ = 0; i_162_ < is.length; i_162_++) { + class348_sub49_sub1.writeShort((byte) 107, (is[i_162_] & 0xffff)); + i_158_++; + } + } + } + i_160_++; + } + } + } else { + for (int i_163_ = i_155_; i_163_ < i_157_; i_163_++) { + int i_164_ = i_154_ + i_163_ * this.anInt4587; + for (int i_165_ = i_154_; i_156_ > i_165_; i_165_++) { + if (bools[i_165_ + -i_154_][i_163_ + -i_155_]) { + short[] is = this.aShortArrayArray8267[i_164_]; + if (is != null) { + for (int i_166_ = 0; i_166_ < is.length; i_166_++) { + class348_sub49_sub1.writeShortLE(84, 0xffff & is[i_166_]); + i_158_++; + } + } + } + i_164_++; + } + } + } + if (i_158_ > 0) { + Component261 class119_sub2 = new Component261(this.aHa_Sub2_8272, 5123, (class348_sub49_sub1.payload), (class348_sub49_sub1.offset)); + this.aHa_Sub2_8272.method3759(i_158_, -128, 4, class119_sub2, 0); + } + } + } + + static final void method4001(RenderableObject class318_sub1) { + JaclibLoader.toolkit.H(class318_sub1.x, (class318_sub1.anInt6382 + (class318_sub1.method2394(true) >> 1)), class318_sub1.y, HashNodeSub3.anIntArray9505); + class318_sub1.anInt6386 = HashNodeSub3.anIntArray9505[0]; + class318_sub1.anInt6380 = HashNodeSub3.anIntArray9505[1]; + class318_sub1.anInt6389 = HashNodeSub3.anIntArray9505[2]; + } + + final r fa(int i, int i_167_, r var_r) { + anInt8259++; + if ((0x1 & aByteArrayArray8240[i][i_167_]) == 0) return null; + int i_168_ = (this.anInt4592 >> this.aHa_Sub2_8272.anInt7731); + CacheNodeSub2 var_r_Sub2 = (CacheNodeSub2) var_r; + CacheNodeSub2 var_r_Sub2_169_; + if (var_r_Sub2 == null || !var_r_Sub2.method3296((byte) 104, i_168_, i_168_)) var_r_Sub2_169_ = new CacheNodeSub2(this.aHa_Sub2_8272, i_168_, i_168_); + else { + var_r_Sub2_169_ = var_r_Sub2; + var_r_Sub2_169_.method3293((byte) 0); + } + var_r_Sub2_169_.method3292(i_168_, i_168_, 0, 25053, 0); + method3998((byte) -82, i, i_167_, var_r_Sub2_169_); + return var_r_Sub2_169_; + } + + static final void method4002(Buffer class348_sub49, byte i) { + anInt8248++; + byte[] is = new byte[24]; + if (i == 55) { + if (DisplayModeManagerContainer152.aClass78_4538 != null) { + try { + DisplayModeManagerContainer152.aClass78_4538.seek(0L, (byte) -120); + DisplayModeManagerContainer152.aClass78_4538.readFully(-89, is); + int i_170_; + for (i_170_ = 0; i_170_ < 24; i_170_++) { + if (is[i_170_] != 0) break; + } + if (i_170_ >= 24) throw new IOException(); + } catch (Exception exception) { + for (int i_171_ = 0; i_171_ < 24; i_171_++) + is[i_171_] = (byte) -1; + } + } + class348_sub49.writeBytes(24, 0, is, i ^ 0x8); + } + } + + final void method3984(int i, int i_172_, int i_173_, boolean[][] bools, boolean bool, int i_174_, int i_175_) { + anInt8263++; + method4003(i_174_, i_173_, bool, -62, i, i_175_, bools, i_172_); + } + + final void method3981(NodeSub1 class348_sub1, int[] is) { + try { + anInt8271++; + aClass262_8256.addTail(new NodeSub32((this.aHa_Sub2_8272), this, class348_sub1, is), -20180); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ed.L(" + (class348_sub1 != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ')')); + } + } + + final void U(int i, int i_176_, int[] is, int[] is_177_, int[] is_178_, int[] is_179_, int[] is_180_, int[] is_181_, int[] is_182_, int[] is_183_, int i_184_, int i_185_, int i_186_, boolean bool) { + try { + anInt8261++; + if (is_177_ != null && anIntArrayArrayArray8258 == null) anIntArrayArrayArray8258 = new int[this.anInt4587][this.anInt4590][]; + d var_d = this.aHa_Sub2_8272.aD4579; + if (is_179_ != null && anIntArrayArrayArray8252 == null) anIntArrayArrayArray8252 = new int[this.anInt4587][this.anInt4590][]; + this.anIntArrayArrayArray8268[i][i_176_] = is; + this.anIntArrayArrayArray8234[i][i_176_] = is_178_; + this.anIntArrayArrayArray8253[i][i_176_] = is_180_; + anIntArrayArrayArray8245[i][i_176_] = is_181_; + if (anIntArrayArrayArray8252 != null) anIntArrayArrayArray8252[i][i_176_] = is_179_; + if (anIntArrayArrayArray8258 != null) anIntArrayArrayArray8258[i][i_176_] = is_177_; + NodeSub20[] class348_sub20s = (aClass348_Sub20ArrayArrayArray8243[i][i_176_] = new NodeSub20[is_180_.length]); + for (int i_187_ = 0; i_187_ < is_180_.length; i_187_++) { + int i_188_ = is_182_[i_187_]; + int i_189_ = is_183_[i_187_]; + if ((0x20 & this.anInt8235) != 0 && i_188_ != -1 && var_d.method3(i_188_, -6662).aBoolean209) { + i_188_ = -1; + i_189_ = 128; + } + long l = ((long) i_184_ << 28 | ((long) i_185_ << 42 | (long) i_186_ << 48) | (long) (i_189_ << 14) | (long) i_188_); + Node class348; + for (class348 = aClass356_8278.get(l, -6008); class348 != null; class348 = aClass356_8278.continueGet(true)) { + NodeSub20 class348_sub20 = (NodeSub20) class348; + if (i_188_ == class348_sub20.anInt6841 && (class348_sub20.aFloat6832 == (float) i_189_) && (class348_sub20.anInt6825 == i_184_) && (i_185_ == class348_sub20.anInt6833) && (class348_sub20.anInt6826 == i_186_)) break; + } + if (class348 == null) { + class348_sub20s[i_187_] = new NodeSub20(this, i_188_, i_189_, i_184_, i_185_, i_186_); + aClass356_8278.put((byte) 99, l, class348_sub20s[i_187_]); + } else class348_sub20s[i_187_] = (NodeSub20) class348; + } + if (bool) aByteArrayArray8240[i][i_176_] = (byte) Component224.bitwiseOr((aByteArrayArray8240[i][i_176_]), 1); + if (is_180_.length > anInt8280) anInt8280 = is_180_.length; + anInt8284 += is_180_.length; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ed.U(" + i + ',' + i_176_ + ',' + (is != null ? "{...}" : "null") + ',' + (is_177_ != null ? "{...}" : "null") + ',' + (is_178_ != null ? "{...}" : "null") + ',' + (is_179_ != null ? "{...}" : "null") + ',' + (is_180_ != null ? "{...}" : "null") + ',' + (is_181_ != null ? "{...}" : "null") + ',' + (is_182_ != null ? "{...}" : "null") + ',' + (is_183_ != null ? "{...}" : "null") + ',' + i_184_ + ',' + i_185_ + ',' + i_186_ + ',' + bool + ')')); + } + } + + final void ka(int i, int i_190_, int i_191_) { + if (i_191_ > (0xff & aByteArrayArray8273[i][i_190_])) aByteArrayArray8273[i][i_190_] = (byte) i_191_; + anInt8242++; + } + + private final void method4003(int i, int i_192_, boolean bool, int i_193_, int i_194_, int i_195_, boolean[][] bools, int i_196_) { + anInt8250++; + if (i_193_ >= -39) anInt8280 = -20; + if (aClass348_Sub20Array8282 != null) { + int i_197_ = i_192_ + i_192_ - -1; + i_197_ *= i_197_; + if (this.aHa_Sub2_8272.anIntArray7882.length < i_197_) this.aHa_Sub2_8272.anIntArray7882 = new int[i_197_]; + if (anInt8257 * 2 > (this.aHa_Sub2_8272.aClass348_Sub49_Sub1_7798.payload).length) this.aHa_Sub2_8272.aClass348_Sub49_Sub1_7798 = new Component182(2 * anInt8257); + int i_198_ = -i_192_ + i_194_; + int i_199_ = i_198_; + if (i_198_ < 0) i_198_ = 0; + int i_200_ = i_196_ - i_192_; + int i_201_ = i_200_; + if (i_200_ < 0) i_200_ = 0; + int i_202_ = i_192_ + i_194_; + if (i_202_ > this.anInt4587 - 1) i_202_ = -1 + this.anInt4587; + int i_203_ = i_196_ + i_192_; + if (-1 + this.anInt4590 < i_203_) i_203_ = this.anInt4590 + -1; + int i_204_ = 0; + int[] is = this.aHa_Sub2_8272.anIntArray7882; + for (int i_205_ = i_198_; i_202_ >= i_205_; i_205_++) { + boolean[] bools_206_ = bools[-i_199_ + i_205_]; + for (int i_207_ = i_200_; i_203_ >= i_207_; i_207_++) { + if (bools_206_[-i_201_ + i_207_]) is[i_204_++] = i_205_ + i_207_ * this.anInt4587; + } + } + if (i != -1) { + this.aHa_Sub2_8272.method3789((byte) -120, (float) i); + this.aHa_Sub2_8272.method3760(1); + } else this.aHa_Sub2_8272.method3784((byte) -62); + this.aHa_Sub2_8272.method3728((0x7 & (this.anInt8235)) != 0, 120); + for (int i_208_ = 0; aClass348_Sub20Array8282.length > i_208_; i_208_++) + aClass348_Sub20Array8282[i_208_].method2948(5123, i_204_, is); + if (!aClass262_8256.isEmpty((byte) 18)) { + int i_209_ = this.aHa_Sub2_8272.anInt7856; + int i_210_ = this.aHa_Sub2_8272.anInt7782; + this.aHa_Sub2_8272.L(0, i_210_, (this.aHa_Sub2_8272.anInt7813)); + this.aHa_Sub2_8272.method3728(false, 97); + this.aHa_Sub2_8272.method3748(0, false); + this.aHa_Sub2_8272.method3753(128, 1); + this.aHa_Sub2_8272.method3757(-2, -88); + this.aHa_Sub2_8272.method3771((byte) -124, (this.aHa_Sub2_8272.aClass258_Sub3_7827)); + this.aHa_Sub2_8272.method3729(8448, (byte) 98, 7681); + this.aHa_Sub2_8272.method3762(34166, 770, (byte) -87, 0); + this.aHa_Sub2_8272.method3775(false, 0, 770, 34167); + for (Node class348 = aClass262_8256.first(4); class348 != null; class348 = aClass262_8256.next((byte) 92)) { + NodeSub32 class348_sub32 = (NodeSub32) class348; + class348_sub32.method3023(bools, 255, i_194_, i_196_, i_192_); + } + this.aHa_Sub2_8272.method3762(5890, 768, (byte) -87, 0); + this.aHa_Sub2_8272.method3775(false, 0, 770, 5890); + this.aHa_Sub2_8272.method3771((byte) -96, null); + this.aHa_Sub2_8272.L(i_209_, i_210_, (this.aHa_Sub2_8272.anInt7813)); + } + if (aClass104_8266 != null) { + OpenGL.glPushMatrix(); + OpenGL.glTranslatef(0.0F, -1.0F, 0.0F); + this.aHa_Sub2_8272.method3794(this.aClass123_8276, null, -26411, this.aClass123_8277, null); + aClass104_8266.method956(bool, 112, bools, i_192_, i_196_, i_194_); + OpenGL.glPopMatrix(); + } + } + } + + static { + anIntArray8269 = new int[8]; + } +} diff --git a/client/scene/buffers/BufferCacheSub3.java b/client/scene/buffers/BufferCacheSub3.java new file mode 100644 index 000000000..df297c7ed --- /dev/null +++ b/client/scene/buffers/BufferCacheSub3.java @@ -0,0 +1,783 @@ +/* BufferCacheSub3 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaclib.memory.Stream; + +final class BufferCacheSub3 +/** + * RENAMED from `BufferCacheSub3` (JODE-obfuscated). + * Evidence: extends s (s) + */ extends s { + private final NodeList aClass262_8286; + static int anInt8287; + static int anInt8288; + static int anInt8289; + static int anInt8290; + private int[][][] anIntArrayArrayArray8291; + static int anInt8292; + static int anInt8293; + int anInt8294; + static int anInt8295; + int[][][] anIntArrayArrayArray8296; + static int anInt8297; + static int anInt8298; + short[][] aShortArrayArray8299; + static int anInt8300; + private int anInt8301; + private final int anInt8302; + private int anInt8303; + static int anInt8304; + private float aFloat8305 = -3.4028235E38F; + private float aFloat8306 = 3.4028235E38F; + private Component301 aClass330_8307; + private int[][][] anIntArrayArrayArray8308; + static int anInt8309; + static int anInt8310; + private final int anInt8311; + private NodeSub3[][][] aClass348_Sub3ArrayArrayArray8312; + int[][][] anIntArrayArrayArray8313; + private int[][][] anIntArrayArrayArray8314; + static int anInt8315; + static int anInt8316; + private final byte[][] aByteArrayArray8317; + static int anInt8318; + static int anInt8319; + static Component158 aClass21_8320 = new Component158(); + int[][][] anIntArrayArrayArray8321; + GlToolkitSub3 aHa_Sub3_8322; + private float[][] aFloatArrayArray8323; + Component387 aClass130_8324; + private LruCache aClass356_8325; + private Interface5_Impl1 anInterface5_Impl1_8326; + private Interface5_Impl1 anInterface5_Impl1_8327; + private NodeSub3[] aClass348_Sub3Array8328; + private int anInt8329; + private byte[][] aByteArrayArray8330; + private int anInt8331; + private float[][] aFloatArrayArray8332; + private float[][] aFloatArrayArray8333; + + final r fa(int i, int i_0_, r var_r) { + anInt8290++; + if ((aByteArrayArray8317[i][i_0_] & 0x1) == 0) return null; + int i_1_ = (this.anInt4592 >> this.aHa_Sub3_8322.anInt8107); + CacheNodeSub1 var_r_Sub1 = (CacheNodeSub1) var_r; + CacheNodeSub1 var_r_Sub1_2_; + if (var_r_Sub1 != null && var_r_Sub1.method3291(i_1_, i_1_, (byte) -59)) { + var_r_Sub1_2_ = var_r_Sub1; + var_r_Sub1_2_.method3289(11); + } else var_r_Sub1_2_ = new CacheNodeSub1(this.aHa_Sub3_8322, i_1_, i_1_); + var_r_Sub1_2_.method3286(i_1_, -97, i_1_, 0, 0); + method4005(var_r_Sub1_2_, i_0_, i, 21722); + return var_r_Sub1_2_; + } + + static final void method4004(int i, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_) { + anInt8292++; + int i_10_ = LogicError.method831(PauseTimer.anInt513, i_4_, Component72.anInt1910, -118); + int i_11_ = LogicError.method831(PauseTimer.anInt513, i, Component72.anInt1910, 72); + int i_12_ = LogicError.method831(Component22.anInt1745, i_8_, Component27.anInt4960, -80); + int i_13_ = LogicError.method831(Component22.anInt1745, i_3_, Component27.anInt4960, -101); + int i_14_ = LogicError.method831(PauseTimer.anInt513, i_4_ + i_6_, Component72.anInt1910, -110); + int i_15_ = LogicError.method831(PauseTimer.anInt513, i + -i_6_, Component72.anInt1910, 28); + if (i_7_ < -33) { + for (int i_16_ = i_10_; i_16_ < i_14_; i_16_++) + MenuOpener.fillInts(-27, i_13_, DisplayModeManagerContainer167.anIntArrayArray255[i_16_], i_12_, i_9_); + for (int i_17_ = i_11_; i_17_ > i_15_; i_17_--) + MenuOpener.fillInts(-27, i_13_, DisplayModeManagerContainer167.anIntArrayArray255[i_17_], i_12_, i_9_); + int i_18_ = LogicError.method831(Component22.anInt1745, i_8_ + i_6_, Component27.anInt4960, 114); + int i_19_ = LogicError.method831(Component22.anInt1745, -i_6_ + i_3_, Component27.anInt4960, 34); + for (int i_20_ = i_14_; i_20_ <= i_15_; i_20_++) { + int[] is = DisplayModeManagerContainer167.anIntArrayArray255[i_20_]; + MenuOpener.fillInts(-27, i_18_, is, i_12_, i_9_); + MenuOpener.fillInts(-27, i_19_, is, i_18_, i_5_); + MenuOpener.fillInts(-27, i_13_, is, i_19_, i_9_); + } + } + } + + private final void method4005(CacheNodeSub1 var_r_Sub1, int i, int i_21_, int i_22_) { + anInt8310++; + if (i_22_ != 21722) fa(16, 8, null); + int[] is = this.anIntArrayArrayArray8321[i_21_][i]; + int[] is_23_ = this.anIntArrayArrayArray8313[i_21_][i]; + int i_24_ = is.length; + if (ComponentDownloader.anIntArray407.length < i_24_) { + ComponentDownloader.anIntArray407 = new int[i_24_]; + Component228.anIntArray3014 = new int[i_24_]; + } + for (int i_25_ = 0; i_25_ < i_24_; i_25_++) { + ComponentDownloader.anIntArray407[i_25_] = (is[i_25_] >> this.aHa_Sub3_8322.anInt8107); + Component228.anIntArray3014[i_25_] = (is_23_[i_25_] >> this.aHa_Sub3_8322.anInt8107); + } + int i_26_ = 0; + while (i_24_ > i_26_) { + int i_27_ = ComponentDownloader.anIntArray407[i_26_]; + int i_28_ = Component228.anIntArray3014[i_26_++]; + int i_29_ = ComponentDownloader.anIntArray407[i_26_]; + int i_30_ = Component228.anIntArray3014[i_26_++]; + int i_31_ = ComponentDownloader.anIntArray407[i_26_]; + int i_32_ = Component228.anIntArray3014[i_26_++]; + if ((-((-i_29_ + i_31_) * (i_30_ - i_28_)) + (i_27_ - i_29_) * (i_30_ - i_32_)) > 0) var_r_Sub1.method3287(i_28_, i_22_ + -21622, i_27_, i_29_, i_30_, i_32_, i_31_); + } + } + + final void Interface4Impl(r var_r, int i, int i_33_, int i_34_, int i_35_, boolean bool) { + anInt8315++; + if (aClass330_8307 != null && var_r != null) { + int i_36_ = (i + -(i_33_ * (this.aHa_Sub3_8322.anInt8133) >> 8) >> this.aHa_Sub3_8322.anInt8107); + int i_37_ = (i_34_ - ((this.aHa_Sub3_8322.anInt8114) * i_33_ >> 8) >> this.aHa_Sub3_8322.anInt8107); + aClass330_8307.method2629(i_37_, var_r, 1, i_36_); + } + } + + final void method3979(int i, int i_38_) { + anInt8293++; + } + + final void CA(r var_r, int i, int i_39_, int i_40_, int i_41_, boolean bool) { + anInt8319++; + if (aClass330_8307 != null && var_r != null) { + int i_42_ = (i + -((this.aHa_Sub3_8322.anInt8133 * i_39_) >> 8) >> this.aHa_Sub3_8322.anInt8107); + int i_43_ = (-((this.aHa_Sub3_8322.anInt8114 * i_39_) >> 8) + i_40_ >> this.aHa_Sub3_8322.anInt8107); + aClass330_8307.method2633(287, i_42_, var_r, i_43_); + } + } + + public static void method4006(int i) { + aClass21_8320 = null; + if (i > -42) aClass21_8320 = null; + } + + final void YA() { + if (anInt8329 <= 0) aClass330_8307 = null; + else { + byte[][] is = new byte[1 + this.anInt4587][this.anInt4590 + 1]; + for (int i = 1; this.anInt4587 > i; i++) { + for (int i_44_ = 1; i_44_ < this.anInt4590; i_44_++) + is[i][i_44_] = (byte) ((aByteArrayArray8330[i][-1 + i_44_] >> 2) + (aByteArrayArray8330[1 + i][i_44_] >> 3) + ((aByteArrayArray8330[i + -1][i_44_] >> 2) + (aByteArrayArray8330[i][1 + i_44_] >> 3)) + (aByteArrayArray8330[i][i_44_] >> 1)); + } + NodeSub3[] class348_sub3s = new NodeSub3[aClass356_8325.size(1)]; + aClass356_8325.method3477(3, class348_sub3s); + for (int i = 0; i < class348_sub3s.length; i++) + class348_sub3s[i].method2736((byte) -57, anInt8329); + int i = 20; + if (anIntArrayArrayArray8314 != null) i += 4; + if ((this.anInt8294 & 0x7) != 0) i += 12; + jaclib.memory.heap.NativeHeapBuffer nativeheapbuffer = this.aHa_Sub3_8322.aNativeHeap7891.a(anInt8329 * 4, false); + jaclib.memory.heap.NativeHeapBuffer nativeheapbuffer_45_ = this.aHa_Sub3_8322.aNativeHeap7891.a(anInt8329 * i, false); + Stream stream = new Stream(nativeheapbuffer_45_); + Stream stream_46_ = new Stream(nativeheapbuffer); + NodeSub3[] class348_sub3s_47_ = new NodeSub3[anInt8329]; + int i_48_ = PrimitiveTypeDefinition.method3051(anInt8329 / 4, 4096); + if (i_48_ < 1) i_48_ = 1; + LruCache class356 = new LruCache(i_48_); + NodeSub3[] class348_sub3s_49_ = new NodeSub3[anInt8331]; + for (int i_50_ = 0; i_50_ < this.anInt4587; i_50_++) { + for (int i_51_ = 0; (i_51_ < this.anInt4590); i_51_++) { + if (this.anIntArrayArrayArray8296[i_50_][i_51_] != null) { + NodeSub3[] class348_sub3s_52_ = aClass348_Sub3ArrayArrayArray8312[i_50_][i_51_]; + int[] is_53_ = (this.anIntArrayArrayArray8321[i_50_][i_51_]); + int[] is_54_ = (this.anIntArrayArrayArray8313[i_50_][i_51_]); + int[] is_55_ = anIntArrayArrayArray8291[i_50_][i_51_]; + int[] is_56_ = (this.anIntArrayArrayArray8296[i_50_][i_51_]); + int[] is_57_ = (anIntArrayArrayArray8308 == null ? null : anIntArrayArrayArray8308[i_50_][i_51_]); + int[] is_58_ = (anIntArrayArrayArray8314 != null ? anIntArrayArrayArray8314[i_50_][i_51_] : null); + if (is_55_ == null) is_55_ = is_56_; + float f = aFloatArrayArray8333[i_50_][i_51_]; + float f_59_ = aFloatArrayArray8332[i_50_][i_51_]; + float f_60_ = aFloatArrayArray8323[i_50_][i_51_]; + float f_61_ = aFloatArrayArray8333[i_50_][1 + i_51_]; + float f_62_ = aFloatArrayArray8332[i_50_][i_51_ - -1]; + float f_63_ = aFloatArrayArray8323[i_50_][i_51_ - -1]; + float f_64_ = aFloatArrayArray8333[i_50_ - -1][1 + i_51_]; + float f_65_ = aFloatArrayArray8332[1 + i_50_][1 + i_51_]; + float f_66_ = aFloatArrayArray8323[i_50_ + 1][1 + i_51_]; + float f_67_ = aFloatArrayArray8333[1 + i_50_][i_51_]; + float f_68_ = aFloatArrayArray8332[i_50_ + 1][i_51_]; + float f_69_ = aFloatArrayArray8323[1 + i_50_][i_51_]; + int i_70_ = is[i_50_][i_51_] & 0xff; + int i_71_ = 0xff & is[i_50_][1 + i_51_]; + int i_72_ = 0xff & is[i_50_ + 1][1 + i_51_]; + int i_73_ = 0xff & is[1 + i_50_][i_51_]; + int i_74_ = 0; + while_241_: + for (int i_75_ = 0; i_75_ < is_56_.length; i_75_++) { + NodeSub3 class348_sub3 = class348_sub3s_52_[i_75_]; + for (int i_76_ = 0; i_76_ < i_74_; i_76_++) { + if (class348_sub3 == class348_sub3s_49_[i_76_]) continue while_241_; + } + class348_sub3s_49_[i_74_++] = class348_sub3; + } + short[] is_77_ = (this.aShortArrayArray8299[i_51_ * this.anInt4587 - -i_50_] = new short[is_56_.length]); + for (int i_78_ = 0; i_78_ < is_56_.length; i_78_++) { + int i_79_ = ((i_50_ << this.anInt4588) + is_53_[i_78_]); + int i_80_ = ((i_51_ << this.anInt4588) - -is_54_[i_78_]); + int i_81_ = i_79_ >> anInt8302; + int i_82_ = i_80_ >> anInt8302; + int i_83_ = is_56_[i_78_]; + int i_84_ = is_55_[i_78_]; + int i_85_ = is_57_ != null ? is_57_[i_78_] : 0; + long l = ((long) i_82_ | ((long) i_83_ << 32 | (long) i_84_ << 48 | (long) (i_81_ << 16))); + int i_86_ = is_53_[i_78_]; + int i_87_ = is_54_[i_78_]; + int i_88_ = 74; + int i_89_ = 0; + float f_90_; + float f_91_; + float f_92_; + if (i_86_ != 0 || i_87_ != 0) { + if (i_86_ != 0 || (this.anInt4592 != i_87_)) { + if ((i_86_ == this.anInt4592) && this.anInt4592 == i_87_) { + f_91_ = f_64_; + f_92_ = f_66_; + f_90_ = f_65_; + i_88_ -= i_72_; + } else if ((this.anInt4592 != i_86_) || i_87_ != 0) { + float f_93_ = ((float) i_86_ / (float) this.anInt4592); + float f_94_ = ((float) i_87_ / (float) this.anInt4592); + float f_95_ = f + (f_67_ - f) * f_93_; + float f_96_ = f_59_ + (-f_59_ + f_68_) * f_93_; + float f_97_ = f_93_ * (f_69_ - f_60_) + f_60_; + float f_98_ = f_93_ * (-f_61_ + f_64_) + f_61_; + float f_99_ = f_62_ + (f_65_ - f_62_) * f_93_; + f_91_ = f_95_ + f_94_ * (-f_95_ + f_98_); + f_90_ = f_96_ + f_94_ * (f_99_ - f_96_); + float f_100_ = f_63_ + (-f_63_ + f_66_) * f_93_; + f_92_ = f_97_ + f_94_ * (f_100_ - f_97_); + int i_101_ = (((-i_70_ + i_73_) * i_86_ >> this.anInt4588) + i_70_); + int i_102_ = (i_71_ + (i_86_ * (-i_71_ + i_72_) >> this.anInt4588)); + i_88_ -= (i_101_ - -(i_87_ * (-i_101_ + i_102_) >> this.anInt4588)); + } else { + f_92_ = f_69_; + f_91_ = f_67_; + f_90_ = f_68_; + i_88_ -= i_73_; + } + } else { + i_88_ -= i_71_; + f_91_ = f_61_; + f_90_ = f_62_; + f_92_ = f_63_; + } + } else { + i_88_ -= i_70_; + f_90_ = f_59_; + f_91_ = f; + f_92_ = f_60_; + } + float f_103_ = 1.0F; + if (i_83_ != -1) { + int i_104_ = i_88_ * (i_83_ & 0x7f) >> 7; + if (i_104_ < 2) i_104_ = 2; + else if (i_104_ > 126) i_104_ = 126; + i_89_ = (RunescapeInfo.anIntArray179[i_104_ | i_83_ & 0xff80]); + if ((this.anInt8294 & 0x7) == 0) { + f_103_ = ((f_91_ * (this.aHa_Sub3_8322.aFloatArray8170[0])) + f_90_ * (this.aHa_Sub3_8322.aFloatArray8170[1]) + (this.aHa_Sub3_8322.aFloatArray8170[2]) * f_92_); + f_103_ = ((f_103_ * (!(f_103_ > 0.0F) ? (this.aHa_Sub3_8322.aFloat8186) : (this.aHa_Sub3_8322.aFloat8174))) + (this.aHa_Sub3_8322.aFloat8093)); + } + } + Node class348 = null; + if ((i_79_ & anInt8311 - 1) == 0 && (-1 + anInt8311 & i_80_) == 0) class348 = class356.get(l, -6008); + int i_105_; + if (class348 == null) { + int i_106_; + if (i_84_ != i_83_) { + int i_107_ = (0x7f & i_84_) * i_88_ >> 7; + if (i_107_ >= 2) { + if (i_107_ > 126) i_107_ = 126; + } else i_107_ = 2; + i_106_ = (RunescapeInfo.anIntArray179[i_107_ | i_84_ & 0xff80]); + if ((0x7 & this.anInt8294) == 0) { + float f_108_ = ((this.aHa_Sub3_8322.aFloatArray8170[2]) * f_92_ + (f_90_ * (this.aHa_Sub3_8322.aFloatArray8170[1]) + ((this.aHa_Sub3_8322.aFloatArray8170[0]) * f_91_))); + f_108_ = ((this.aHa_Sub3_8322.aFloat8093) + (f_103_ > 0.0F ? (this.aHa_Sub3_8322.aFloat8174) : (this.aHa_Sub3_8322.aFloat8186)) * f_103_); + int i_109_ = 0xff & i_106_ >> 16; + int i_110_ = (i_106_ & 0xff04) >> 8; + int i_111_ = 0xff & i_106_; + i_109_ *= f_108_; + i_110_ *= f_108_; + if (i_109_ < 0) i_109_ = 0; + else if (i_109_ > 255) i_109_ = 255; + i_111_ *= f_108_; + if (i_110_ >= 0) { + if (i_110_ > 255) i_110_ = 255; + } else i_110_ = 0; + if (i_111_ >= 0) { + if (i_111_ > 255) i_111_ = 255; + } else i_111_ = 0; + i_106_ = (i_109_ << 16 | i_110_ << 8 | i_111_); + } + } else i_106_ = i_89_; + if (Stream.c()) { + stream.a((float) i_79_); + stream.a((float) (i_85_ + (this.method3986(i_79_, i_80_, (byte) 126)))); + stream.a((float) i_80_); + stream.a((float) i_79_); + stream.a((float) i_80_); + if (anIntArrayArrayArray8314 != null) stream.a((float) (is_58_ != null ? is_58_[i_78_] - 1 : 0)); + if ((0x7 & this.anInt8294) != 0) { + stream.a(f_91_); + stream.a(f_90_); + stream.a(f_92_); + } + } else { + stream.b((float) i_79_); + stream.b((float) (this.method3986(i_79_, i_80_, (byte) -15) + i_85_)); + stream.b((float) i_80_); + stream.b((float) i_79_); + stream.b((float) i_80_); + if (anIntArrayArrayArray8314 != null) stream.b((float) (is_58_ == null ? 0 : -1 + (is_58_[i_78_]))); + if ((this.anInt8294 & 0x7) != 0) { + stream.b(f_91_); + stream.b(f_90_); + stream.b(f_92_); + } + } + if ((this.aHa_Sub3_8322.anInt8178) == 0) stream_46_.b(~0xffffff | i_106_); + else stream_46_.c(i_106_ | ~0xffffff); + i_105_ = anInt8303++; + is_77_[i_78_] = (short) i_105_; + if (i_83_ != -1) class348_sub3s_47_[i_105_] = class348_sub3s_52_[i_78_]; + class356.put((byte) 108, l, new NodeSub29(is_77_[i_78_])); + } else { + is_77_[i_78_] = ((NodeSub29) class348).aShort6911; + i_105_ = 0xffff & is_77_[i_78_]; + if (i_83_ != -1 && (class348_sub3s_47_[i_105_].key > class348_sub3s_52_[i_78_].key)) class348_sub3s_47_[i_105_] = class348_sub3s_52_[i_78_]; + } + for (int i_112_ = 0; i_74_ > i_112_; i_112_++) + class348_sub3s_49_[i_112_].method2741(i_105_, f_103_, 1624, i_88_, i_89_); + anInt8301++; + } + } + } + } + for (int i_113_ = 0; i_113_ < anInt8303; i_113_++) { + NodeSub3 class348_sub3 = class348_sub3s_47_[i_113_]; + if (class348_sub3 != null) class348_sub3.method2744((byte) -125, i_113_); + } + for (int i_114_ = 0; this.anInt4587 > i_114_; i_114_++) { + for (int i_115_ = 0; i_115_ < this.anInt4590; i_115_++) { + short[] is_116_ = (this.aShortArrayArray8299[i_115_ * this.anInt4587 - -i_114_]); + if (is_116_ != null) { + int i_117_ = 0; + int i_118_ = 0; + while (is_116_.length > i_118_) { + int i_119_ = is_116_[i_118_++] & 0xffff; + int i_120_ = 0xffff & is_116_[i_118_++]; + int i_121_ = 0xffff & is_116_[i_118_++]; + NodeSub3 class348_sub3 = class348_sub3s_47_[i_119_]; + NodeSub3 class348_sub3_122_ = class348_sub3s_47_[i_120_]; + NodeSub3 class348_sub3_123_ = class348_sub3s_47_[i_121_]; + NodeSub3 class348_sub3_124_ = null; + if (class348_sub3 != null) { + class348_sub3_124_ = class348_sub3; + class348_sub3.method2742(i_117_, i_115_, i_114_, (byte) -80); + } + if (class348_sub3_122_ != null) { + class348_sub3_122_.method2742(i_117_, i_115_, i_114_, (byte) -69); + if (class348_sub3_124_ == null || ((class348_sub3_124_.key) > (class348_sub3_122_.key))) class348_sub3_124_ = class348_sub3_122_; + } + if (class348_sub3_123_ != null) { + class348_sub3_123_.method2742(i_117_, i_115_, i_114_, (byte) -79); + if (class348_sub3_124_ == null || ((class348_sub3_124_.key) > (class348_sub3_123_.key))) class348_sub3_124_ = class348_sub3_123_; + } + if (class348_sub3_124_ != null) { + if (class348_sub3 != null) class348_sub3_124_.method2744((byte) -113, i_119_); + if (class348_sub3_122_ != null) class348_sub3_124_.method2744((byte) -111, i_120_); + if (class348_sub3_123_ != null) class348_sub3_124_.method2744((byte) -116, i_121_); + class348_sub3_124_.method2742(i_117_, i_115_, i_114_, (byte) -107); + } + i_117_++; + } + } + } + } + stream.a(); + stream_46_.a(); + anInterface5_Impl1_8326 = this.aHa_Sub3_8322.method3889(false, 16711680); + anInterface5_Impl1_8326.method17(nativeheapbuffer, 4, anInt8303 * 4, (byte) -126); + anInterface5_Impl1_8327 = this.aHa_Sub3_8322.method3889(false, 16711680); + anInterface5_Impl1_8327.method17(nativeheapbuffer_45_, i, i * anInt8303, (byte) -59); + if ((0x7 & this.anInt8294) == 0) { + if (anIntArrayArrayArray8314 == null) this.aClass130_8324 = (this.aHa_Sub3_8322.method3812(0, (new Component255[]{new Component255(new ColoredTextBuilder[]{ColoredTextBuilder.aClass325_4073, ColoredTextBuilder.aClass325_4078}), new Component255(ColoredTextBuilder.aClass325_4076)}))); + else this.aClass130_8324 = (this.aHa_Sub3_8322.method3812(0, (new Component255[]{new Component255(new ColoredTextBuilder[]{ColoredTextBuilder.aClass325_4073, ColoredTextBuilder.aClass325_4078, ColoredTextBuilder.aClass325_4077}), new Component255(ColoredTextBuilder.aClass325_4076)}))); + } else if (anIntArrayArrayArray8314 != null) this.aClass130_8324 = (this.aHa_Sub3_8322.method3812(0, (new Component255[]{new Component255(new ColoredTextBuilder[]{ColoredTextBuilder.aClass325_4073, ColoredTextBuilder.aClass325_4078, ColoredTextBuilder.aClass325_4077, ColoredTextBuilder.aClass325_4075}), new Component255(ColoredTextBuilder.aClass325_4076)}))); + else this.aClass130_8324 = (this.aHa_Sub3_8322.method3812(0, (new Component255[]{new Component255(new ColoredTextBuilder[]{ColoredTextBuilder.aClass325_4073, ColoredTextBuilder.aClass325_4078, ColoredTextBuilder.aClass325_4075}), new Component255(ColoredTextBuilder.aClass325_4076)}))); + int i_125_ = 0; + for (int i_126_ = 0; i_126_ < class348_sub3s.length; i_126_++) { + if (class348_sub3s[i_126_].anInt6589 > 0) class348_sub3s[i_125_++] = class348_sub3s[i_126_]; + } + aClass348_Sub3Array8328 = new NodeSub3[i_125_]; + long[] ls = new long[i_125_]; + for (int i_127_ = 0; i_125_ > i_127_; i_127_++) { + NodeSub3 class348_sub3 = class348_sub3s[i_127_]; + ls[i_127_] = class348_sub3.key; + aClass348_Sub3Array8328[i_127_] = class348_sub3; + class348_sub3.method2740(-84, anInt8303); + } + NewsFetcher.method2669(aClass348_Sub3Array8328, ls, -101); + if (aClass330_8307 != null) aClass330_8307.method2632(128); + } + anInt8298++; + anIntArrayArrayArray8308 = null; + aClass356_8325 = null; + anIntArrayArrayArray8291 = null; + aClass348_Sub3ArrayArrayArray8312 = null; + aFloatArrayArray8333 = aFloatArrayArray8332 = aFloatArrayArray8323 = null; + this.anIntArrayArrayArray8296 = null; + aByteArrayArray8330 = null; + anIntArrayArrayArray8314 = null; + this.anIntArrayArrayArray8321 = this.anIntArrayArrayArray8313 = null; + } + + final boolean method3989(r var_r, int i, int i_128_, int i_129_, int i_130_, boolean bool) { + anInt8316++; + if (aClass330_8307 == null || var_r == null) return false; + int i_131_ = (-(this.aHa_Sub3_8322.anInt8133 * i_128_ >> 8) + i >> this.aHa_Sub3_8322.anInt8107); + int i_132_ = (i_129_ + -((this.aHa_Sub3_8322.anInt8114 * i_128_) >> 8) >> this.aHa_Sub3_8322.anInt8107); + return aClass330_8307.method2628(i_131_, (byte) 69, var_r, i_132_); + } + + final void ka(int i, int i_133_, int i_134_) { + if ((aByteArrayArray8330[i][i_133_] & 0xff) < i_134_) aByteArrayArray8330[i][i_133_] = (byte) i_134_; + anInt8309++; + } + + final void method3984(int i, int i_135_, int i_136_, boolean[][] bools, boolean bool, int i_137_, int i_138_) { + method4007(i, i_135_, i_137_, bool, bools, -1, i_138_, i_136_); + anInt8318++; + } + + BufferCacheSub3(GlToolkitSub3 var_ha_Sub3, int i, int i_139_, int i_140_, int i_141_, int[][] is, int[][] is_142_, int i_143_) { + super(i_140_, i_141_, i_143_, is); + aClass262_8286 = new NodeList(); + do { + try { + anInt8302 = this.anInt4588 - 2; + this.aHa_Sub3_8322 = var_ha_Sub3; + anIntArrayArrayArray8308 = new int[i_140_][i_141_][]; + anIntArrayArrayArray8291 = new int[i_140_][i_141_][]; + this.anIntArrayArrayArray8296 = new int[i_140_][i_141_][]; + aFloatArrayArray8333 = (new float[this.anInt4587 - -1] + [this.anInt4590 - -1]); + aClass348_Sub3ArrayArrayArray8312 = new NodeSub3[i_140_][i_141_][]; + aByteArrayArray8317 = new byte[i_140_][i_141_]; + anInt8311 = 1 << anInt8302; + this.aShortArrayArray8299 = new short[i_140_ * i_141_][]; + aByteArrayArray8330 = new byte[1 + i_140_][1 + i_141_]; + this.anIntArrayArrayArray8313 = new int[i_140_][i_141_][]; + aFloatArrayArray8332 = (new float[this.anInt4587 + 1] + [this.anInt4590 + 1]); + this.anIntArrayArrayArray8321 = new int[i_140_][i_141_][]; + this.anInt8294 = i_139_; + aFloatArrayArray8323 = (new float[1 + this.anInt4587] + [1 + this.anInt4590]); + for (int i_144_ = 0; (this.anInt4590 >= i_144_); i_144_++) { + for (int i_145_ = 0; this.anInt4587 >= i_145_; i_145_++) { + int i_146_ = this.anIntArrayArray4584[i_145_][i_144_]; + if ((float) i_146_ > aFloat8305) aFloat8305 = (float) i_146_; + if ((float) i_146_ < aFloat8306) aFloat8306 = (float) i_146_; + if (i_145_ > 0 && i_144_ > 0 && (i_145_ < this.anInt4587) && this.anInt4590 > i_144_) { + int i_147_ = (-is_142_[-1 + i_145_][i_144_] + is_142_[1 + i_145_][i_144_]); + int i_148_ = (-is_142_[i_145_][-1 + i_144_] + is_142_[i_145_][1 + i_144_]); + float f = (float) (1.0 / (Math.sqrt(4 * (i_143_ * i_143_) + (i_147_ * i_147_ - -(i_148_ * i_148_))))); + aFloatArrayArray8333[i_145_][i_144_] = (float) i_147_ * f; + aFloatArrayArray8332[i_145_][i_144_] = (float) (-i_143_ * 2) * f; + aFloatArrayArray8323[i_145_][i_144_] = f * (float) i_148_; + } + } + } + aFloat8306--; + aFloat8305++; + aClass356_8325 = new LruCache(128); + if ((this.anInt8294 & 0x10) == 0) break; + aClass330_8307 = new Component301(this.aHa_Sub3_8322, this); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qm.(" + (var_ha_Sub3 != null ? "{...}" : "null") + ',' + i + ',' + i_139_ + ',' + i_140_ + ',' + i_141_ + ',' + (is != null ? "{...}" : "null") + ',' + (is_142_ != null ? "{...}" : "null") + ',' + i_143_ + ')')); + } + break; + } while (false); + } + + private final void method4007(int i, int i_149_, int i_150_, boolean bool, boolean[][] bools, int i_151_, int i_152_, int i_153_) { + if (i_151_ == -1) { + if (aClass348_Sub3Array8328 != null) { + int i_154_ = i_153_ - -i_153_ + 1; + i_154_ *= i_154_; + if (i_154_ > ArbShaderProgram.anIntArray6189.length) ArbShaderProgram.anIntArray6189 = new int[i_154_]; + int i_155_ = -i_153_ + i; + int i_156_ = i_155_; + if (i_155_ < 0) i_155_ = 0; + int i_157_ = i_149_ + -i_153_; + int i_158_ = i_157_; + if (i_157_ < 0) i_157_ = 0; + int i_159_ = i_153_ + i; + if (this.anInt4587 - 1 < i_159_) i_159_ = this.anInt4587 - 1; + int i_160_ = i_149_ + i_153_; + if (i_160_ > this.anInt4590 - 1) i_160_ = this.anInt4590 - 1; + NodeSub48.anInt7133 = 0; + for (int i_161_ = i_155_; i_161_ <= i_159_; i_161_++) { + boolean[] bools_162_ = bools[i_161_ - i_156_]; + for (int i_163_ = i_157_; i_160_ >= i_163_; i_163_++) { + if (bools_162_[i_163_ - i_158_]) ArbShaderProgram.anIntArray6189[NodeSub48.anInt7133++] = i_161_ + this.anInt4587 * i_163_; + } + } + if (i_150_ == -1) this.aHa_Sub3_8322.method3825(8); + else { + this.aHa_Sub3_8322.method3867((float) i_150_, 101); + this.aHa_Sub3_8322.method3857((byte) -71); + } + this.aHa_Sub3_8322.method3942(5); + this.aHa_Sub3_8322.method3866(((this.anInt8294) & 0x7) != 0, true); + this.aHa_Sub3_8322.method3814(false, false, -1, (byte) 101); + this.aHa_Sub3_8322.method3925(112, anInterface5_Impl1_8327, 0); + for (int i_164_ = 0; i_164_ < aClass348_Sub3Array8328.length; i_164_++) + aClass348_Sub3Array8328[i_164_].method2737((byte) -30, ArbShaderProgram.anIntArray6189, NodeSub48.anInt7133); + MatrixSub2 class101_sub2 = this.aHa_Sub3_8322.method3934(-97); + class101_sub2.method894(0, -1, 0); + this.aHa_Sub3_8322.method3915(0); + if (!aClass262_8286.isEmpty((byte) 18)) { + int i_165_ = this.aHa_Sub3_8322.anInt8144; + int i_166_ = this.aHa_Sub3_8322.anInt8091; + this.aHa_Sub3_8322.L(0, i_166_, this.aHa_Sub3_8322.anInt8105); + this.aHa_Sub3_8322.method3866(false, true); + this.aHa_Sub3_8322.method3946(-32, false); + this.aHa_Sub3_8322.method3817(60, 128); + this.aHa_Sub3_8322.method3814(false, false, -2, (byte) 100); + this.aHa_Sub3_8322.method3850((byte) 63, (this.aHa_Sub3_8322.anInterface18_8147)); + this.aHa_Sub3_8322.method3874(ShaderCompilerSub3.aClass229_6519, 116, Component385.aClass229_2207); + this.aHa_Sub3_8322.method3849((byte) 47, 0, DefinitionSub39.aClass70_9485); + this.aHa_Sub3_8322.method3885(0, true, DebugPanicSub2.aClass70_8503); + for (Node class348 = aClass262_8286.first(i_151_ + 5); class348 != null; class348 = aClass262_8286.next((byte) 106)) { + NodeSub38 class348_sub38 = (NodeSub38) class348; + class348_sub38.method3032(i_149_, i_153_, bools, false, i); + } + this.aHa_Sub3_8322.method3849((byte) 47, 0, DisplayModeManagerContainer173.aClass70_4247); + this.aHa_Sub3_8322.method3885(0, true, DisplayModeManagerContainer173.aClass70_4247); + this.aHa_Sub3_8322.method3850((byte) 90, null); + this.aHa_Sub3_8322.L(i_165_, i_166_, this.aHa_Sub3_8322.anInt8105); + } + if (aClass330_8307 != null) { + this.aHa_Sub3_8322.method3925(-91, anInterface5_Impl1_8327, 0); + this.aHa_Sub3_8322.method3925(-71, anInterface5_Impl1_8326, 1); + this.aHa_Sub3_8322.method3862(0, this.aClass130_8324); + aClass330_8307.method2630(128, i_153_, i, bool, bools, i_149_); + } + } + anInt8297++; + } + } + + final void method3981(NodeSub1 class348_sub1, int[] is) { + try { + aClass262_8286.addTail(new NodeSub38((this.aHa_Sub3_8322), this, class348_sub1, is), -20180); + anInt8287++; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qm.L(" + (class348_sub1 != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ')')); + } + } + + final void U(int i, int i_167_, int[] is, int[] is_168_, int[] is_169_, int[] is_170_, int[] is_171_, int[] is_172_, int[] is_173_, int[] is_174_, int i_175_, int i_176_, int i_177_, boolean bool) { + try { + anInt8295++; + d var_d = this.aHa_Sub3_8322.aD4579; + if (is_170_ != null && anIntArrayArrayArray8314 == null) anIntArrayArrayArray8314 = new int[this.anInt4587][this.anInt4590][]; + if (is_168_ != null && anIntArrayArrayArray8308 == null) anIntArrayArrayArray8308 = new int[this.anInt4587][this.anInt4590][]; + this.anIntArrayArrayArray8321[i][i_167_] = is; + this.anIntArrayArrayArray8313[i][i_167_] = is_169_; + this.anIntArrayArrayArray8296[i][i_167_] = is_171_; + anIntArrayArrayArray8291[i][i_167_] = is_172_; + if (anIntArrayArrayArray8314 != null) anIntArrayArrayArray8314[i][i_167_] = is_170_; + if (anIntArrayArrayArray8308 != null) anIntArrayArrayArray8308[i][i_167_] = is_168_; + NodeSub3[] class348_sub3s = (aClass348_Sub3ArrayArrayArray8312[i][i_167_] = new NodeSub3[is_171_.length]); + for (int i_178_ = 0; i_178_ < is_171_.length; i_178_++) { + int i_179_ = is_173_[i_178_]; + int i_180_ = is_174_[i_178_]; + if ((this.anInt8294 & 0x20) != 0 && i_179_ != -1 && var_d.method3(i_179_, -6662).aBoolean209) { + i_180_ = 128; + i_179_ = -1; + } + long l = (long) i_179_ | ((long) (i_180_ << 14) | ((long) i_176_ << 42 | (long) i_177_ << 48 | (long) i_175_ << 28)); + Node class348; + for (class348 = aClass356_8325.get(l, -6008); class348 != null; class348 = aClass356_8325.continueGet(true)) { + NodeSub3 class348_sub3 = (NodeSub3) class348; + if (i_179_ == class348_sub3.anInt6567 && (class348_sub3.aFloat6582 == (float) i_180_) && i_175_ == class348_sub3.anInt6571 && class348_sub3.anInt6575 == i_176_ && class348_sub3.anInt6569 == i_177_) break; + } + if (class348 == null) { + class348_sub3s[i_178_] = new NodeSub3(this, i_179_, i_180_, i_175_, i_176_, i_177_); + aClass356_8325.put((byte) 27, l, class348_sub3s[i_178_]); + } else class348_sub3s[i_178_] = (NodeSub3) class348; + } + if (bool) aByteArrayArray8317[i][i_167_] = (byte) Component224.bitwiseOr((aByteArrayArray8317[i][i_167_]), 1); + if (is_171_.length > anInt8331) anInt8331 = is_171_.length; + anInt8329 += is_171_.length; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qm.U(" + i + ',' + i_167_ + ',' + (is != null ? "{...}" : "null") + ',' + (is_168_ != null ? "{...}" : "null") + ',' + (is_169_ != null ? "{...}" : "null") + ',' + (is_170_ != null ? "{...}" : "null") + ',' + (is_171_ != null ? "{...}" : "null") + ',' + (is_172_ != null ? "{...}" : "null") + ',' + (is_173_ != null ? "{...}" : "null") + ',' + (is_174_ != null ? "{...}" : "null") + ',' + i_175_ + ',' + i_176_ + ',' + i_177_ + ',' + bool + ')')); + } + } + + final void method3983(int i, int i_181_, int i_182_, boolean[][] bools, boolean bool, int i_183_) { + method4007(i, i_181_, -1, bool, bools, -1, i_183_, i_182_); + anInt8288++; + } + + final void method3978(int i, int i_184_, int[] is, int[] is_185_, int[] is_186_, int[] is_187_, int[] is_188_, int[] is_189_, int[] is_190_, int[] is_191_, int[] is_192_, int[] is_193_, int[] is_194_, int i_195_, int i_196_, int i_197_, boolean bool) { + try { + anInt8300++; + int i_198_ = is_191_.length; + int[] is_199_ = new int[i_198_ * 3]; + int[] is_200_ = new int[i_198_ * 3]; + int[] is_201_ = new int[i_198_ * 3]; + int[] is_202_ = new int[3 * i_198_]; + int[] is_203_ = new int[3 * i_198_]; + int[] is_204_ = new int[3 * i_198_]; + int[] is_205_ = is_185_ == null ? null : new int[i_198_ * 3]; + int[] is_206_ = is_187_ == null ? null : new int[3 * i_198_]; + int i_207_ = 0; + for (int i_208_ = 0; i_208_ < i_198_; i_208_++) { + int i_209_ = is_188_[i_208_]; + int i_210_ = is_189_[i_208_]; + int i_211_ = is_190_[i_208_]; + is_199_[i_207_] = is[i_209_]; + is_200_[i_207_] = is_186_[i_209_]; + is_201_[i_207_] = is_191_[i_208_]; + is_203_[i_207_] = is_193_[i_208_]; + is_204_[i_207_] = is_194_[i_208_]; + is_202_[i_207_] = is_192_ == null ? is_191_[i_208_] : is_192_[i_208_]; + if (is_185_ != null) is_205_[i_207_] = is_185_[i_209_]; + if (is_187_ != null) is_206_[i_207_] = is_187_[i_209_]; + i_207_++; + is_199_[i_207_] = is[i_210_]; + is_200_[i_207_] = is_186_[i_210_]; + is_201_[i_207_] = is_191_[i_208_]; + is_203_[i_207_] = is_193_[i_208_]; + is_204_[i_207_] = is_194_[i_208_]; + is_202_[i_207_] = is_192_ == null ? is_191_[i_208_] : is_192_[i_208_]; + if (is_185_ != null) is_205_[i_207_] = is_185_[i_210_]; + if (is_187_ != null) is_206_[i_207_] = is_187_[i_210_]; + i_207_++; + is_199_[i_207_] = is[i_211_]; + is_200_[i_207_] = is_186_[i_211_]; + is_201_[i_207_] = is_191_[i_208_]; + is_203_[i_207_] = is_193_[i_208_]; + is_204_[i_207_] = is_194_[i_208_]; + is_202_[i_207_] = is_192_ == null ? is_191_[i_208_] : is_192_[i_208_]; + if (is_185_ != null) is_205_[i_207_] = is_185_[i_211_]; + if (is_187_ != null) is_206_[i_207_] = is_187_[i_211_]; + i_207_++; + } + U(i, i_184_, is_199_, is_205_, is_200_, is_206_, is_201_, is_202_, is_203_, is_204_, i_195_, i_196_, i_197_, bool); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qm.E(" + i + ',' + i_184_ + ',' + (is != null ? "{...}" : "null") + ',' + (is_185_ != null ? "{...}" : "null") + ',' + (is_186_ != null ? "{...}" : "null") + ',' + (is_187_ != null ? "{...}" : "null") + ',' + (is_188_ != null ? "{...}" : "null") + ',' + (is_189_ != null ? "{...}" : "null") + ',' + (is_190_ != null ? "{...}" : "null") + ',' + (is_191_ != null ? "{...}" : "null") + ',' + (is_192_ != null ? "{...}" : "null") + ',' + (is_193_ != null ? "{...}" : "null") + ',' + (is_194_ != null ? "{...}" : "null") + ',' + i_195_ + ',' + i_196_ + ',' + i_197_ + ',' + bool + ')')); + } + } + + final void method3987(int i, int i_212_, int i_213_, int i_214_, int i_215_, int i_216_, int i_217_, boolean[][] bools) { + anInt8304++; + if (anInt8329 > 0) { + Interface5_Impl2 interface5_impl2 = this.aHa_Sub3_8322.method3822(28, anInt8301); + int i_218_ = 0; + int i_219_ = 32767; + int i_220_ = -32768; + for (int i_221_ = 0; i_221_ < 4; i_221_++) { + i_218_ = 0; + // FQN: local Buffer is the packet/byte buffer (ex-Class348_Sub49); + // method24 returns jaclib GPU memory Buffer. + jaclib.memory.Buffer buffer = interface5_impl2.method24(true, false); + if (buffer != null) { + Stream stream = this.aHa_Sub3_8322.method3893(buffer, 9179); + if (Stream.c()) { + for (int i_227_ = i_215_; i_217_ > i_227_; i_227_++) { + int i_228_ = i_227_ * this.anInt4587 - -i_214_; + for (int i_229_ = i_214_; i_229_ < i_216_; i_229_++) { + if (bools[i_229_ + -i_214_][i_227_ - i_215_]) { + short[] is = (this.aShortArrayArray8299[i_228_]); + if (is != null) { + for (int i_230_ = 0; is.length > i_230_; i_230_++) { + int i_231_ = is[i_230_] & 0xffff; + stream.d(i_231_); + if (i_231_ > i_220_) i_220_ = i_231_; + i_218_++; + if (i_231_ < i_219_) i_219_ = i_231_; + } + } + } + i_228_++; + } + } + } else { + for (int i_222_ = i_215_; i_217_ > i_222_; i_222_++) { + int i_223_ = i_214_ + i_222_ * this.anInt4587; + for (int i_224_ = i_214_; i_224_ < i_216_; i_224_++) { + if (bools[i_224_ - i_214_][-i_215_ + i_222_]) { + short[] is = (this.aShortArrayArray8299[i_223_]); + if (is != null) { + for (int i_225_ = 0; (i_225_ < is.length); i_225_++) { + int i_226_ = 0xffff & is[i_225_]; + stream.a(i_226_); + if (i_220_ < i_226_) i_220_ = i_226_; + i_218_++; + if (i_219_ > i_226_) i_219_ = i_226_; + } + } + } + i_223_++; + } + } + } + stream.a(); + if (interface5_impl2.method22(-23)) break; + } + } + if (i_218_ > 0) { + this.aHa_Sub3_8322.method3932((byte) -127); + this.aHa_Sub3_8322.method3838(true, false); + this.aHa_Sub3_8322.method3866(false, true); + this.aHa_Sub3_8322.method3890(false, (byte) 113); + this.aHa_Sub3_8322.method3946(-32, false); + this.aHa_Sub3_8322.method3817(61, 0); + this.aHa_Sub3_8322.method3814(false, false, -2, (byte) 98); + this.aHa_Sub3_8322.method3850((byte) -22, null); + MatrixSub2 class101_sub2 = this.aHa_Sub3_8322.method3934(-71); + float[] fs = this.aHa_Sub3_8322.method3837(true); + fs[6] = 0.0F; + fs[13] = -(((float) (2 * i_212_) + (float) (i_213_ * i_217_) / 128.0F) / (float) (this.aHa_Sub3_8322.anInt7962)) + 1.0F; + fs[11] = 0.0F; + fs[0] = ((float) i_213_ / ((float) (this.aHa_Sub3_8322.anInt7931) * ((float) this.anInt4592 * 128.0F))); + fs[14] = -aFloat8306 / (aFloat8305 - aFloat8306); + fs[2] = 0.0F; + fs[15] = 1.0F; + fs[5] = ((float) i_213_ / ((float) this.anInt4592 * 128.0F * (float) (this.aHa_Sub3_8322.anInt7962))); + fs[4] = 0.0F; + fs[3] = 0.0F; + fs[8] = 0.0F; + fs[7] = 0.0F; + fs[10] = 1.0F / (aFloat8305 - aFloat8306); + fs[9] = 0.0F; + fs[12] = -1.0F - (((float) (i_213_ * i_214_) / 128.0F - (float) (2 * i)) / (float) (this.aHa_Sub3_8322.anInt7931)); + fs[1] = 0.0F; + class101_sub2.method935(0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 1.0F, 1.0F, 0); + this.aHa_Sub3_8322.method3821(-4845); + this.aHa_Sub3_8322.method3915(0); + if ((0x7 & this.anInt8294) != 0) { + this.aHa_Sub3_8322.method3866(true, true); + this.aHa_Sub3_8322.method3892(0); + } else this.aHa_Sub3_8322.method3866(false, true); + this.aHa_Sub3_8322.method3926((byte) 59, false); + this.aHa_Sub3_8322.method3925(63, anInterface5_Impl1_8327, 0); + this.aHa_Sub3_8322.method3925(-90, anInterface5_Impl1_8326, 1); + this.aHa_Sub3_8322.method3862(0, this.aClass130_8324); + this.aHa_Sub3_8322.method3938(VideoAdDisplay.aClass21_3181, i_218_ / 3, interface5_impl2, i_219_, 0, -i_219_ + i_220_ - -1, 114); + this.aHa_Sub3_8322.method3926((byte) 82, true); + } + } + } + + static final int method4008(byte i) { + anInt8289++; + if (i >= -121) aClass21_8320 = null; + if (Buffer.anInt7207 == 1) return NewsFetcher.anInt4211; + return 0; + } +} diff --git a/client/src/s.java b/client/scene/buffers/s.java similarity index 81% rename from client/src/s.java rename to client/scene/buffers/s.java index 8c896ddd6..db0e08fc7 100644 --- a/client/src/s.java +++ b/client/scene/buffers/s.java @@ -4,9 +4,13 @@ import java.awt.*; -abstract class s { +abstract class s +/** + * RENAMED from `s` (JODE-obfuscated). + * Evidence: abstract base; Hash/Cache/Buffer usage + */ { int[][] anIntArrayArray4584; - static Class45 aClass45_4585; + static CacheStore aClass45_4585; static int anInt4586; int anInt4587; int anInt4588; @@ -24,17 +28,17 @@ static final void method3980(int i, Canvas canvas) { if (i > 85) { anInt4586++; Dimension dimension = canvas.getSize(); - Class85.method828((byte) 38, dimension.height, dimension.width); - if (Class348_Sub49.anInt7207 != 1) Class21.aHa326.method3669(canvas, Class59_Sub1.anInt5283, Class107.anInt1651); - else Class21.aHa326.method3669(canvas, Class348_Sub16_Sub1.anInt8854, Class239_Sub16.anInt6008); + LogicError.method828((byte) 38, dimension.height, dimension.width); + if (Buffer.anInt7207 != 1) Component158.aHa326.method3669(canvas, Component210.anInt5283, HashTable.anInt1651); + else Component158.aHa326.method3669(canvas, GpiLogger.anInt8854, Component25.anInt6008); } } - abstract void wa(r var_r, int i, int i_15_, int i_16_, int i_17_, boolean bool); + abstract void Interface4Impl(r var_r, int i, int i_15_, int i_16_, int i_17_, boolean bool); abstract void ka(int i, int i_18_, int i_19_); - abstract void method3981(Class348_Sub1 class348_sub1, int[] is); + abstract void method3981(NodeSub1 class348_sub1, int[] is); final int method3982(byte i, int i_20_, int i_21_) { anInt4593++; @@ -46,11 +50,11 @@ final int method3982(byte i, int i_20_, int i_21_) { abstract void method3984(int i, int i_25_, int i_26_, boolean[][] bools, boolean bool, int i_27_, int i_28_); - static final Class147 method3985(int i, int i_29_) { + static final Component335 method3985(int i, int i_29_) { anInt4591++; if (i != -101) method3980(-117, null); if (i_29_ < 0 || i_29_ >= 100) return null; - return Class318_Sub2.aClass147Array6400[i_29_]; + return RenderableSub2.aClass147Array6400[i_29_]; } final int method3986(int i, int i_30_, byte i_31_) { diff --git a/client/src/t.java b/client/scene/buffers/t.java similarity index 81% rename from client/src/t.java rename to client/scene/buffers/t.java index 2f944f659..dd9a3472d 100644 --- a/client/src/t.java +++ b/client/scene/buffers/t.java @@ -2,17 +2,21 @@ * Visit http://jode.sourceforge.net/ */ -final class t extends s implements Interface19 { +final class t +/** + * RENAMED from `t` (JODE-obfuscated). + * Evidence: extends s (s); implements Interface19; 10 native methods + */ extends s implements Interface19 { long nativeid; - private final Class262 aClass262_5149 = new Class262(); - private final oa anOa5150; + private final NodeList aClass262_5149 = new NodeList(); + private final OpenGLToolkit anOa5150; private int anInt5151 = -1; final void method3984(int i, int i_0_, int i_1_, boolean[][] bools, boolean bool, int i_2_, int i_3_) { anInt5151 = i_2_; int i_4_ = 0; - float[] fs = new float[aClass262_5149.method1998(0)]; - for (Class348_Sub1 class348_sub1 = (Class348_Sub1) aClass262_5149.method1995(4); class348_sub1 != null; class348_sub1 = (Class348_Sub1) aClass262_5149.method1990((byte) 34)) + float[] fs = new float[aClass262_5149.size(0)]; + for (NodeSub1 class348_sub1 = (NodeSub1) aClass262_5149.first(4); class348_sub1 != null; class348_sub1 = (NodeSub1) aClass262_5149.next((byte) 34)) fs[i_4_++] = class348_sub1.method2721(-37); q(fs); for (int i_5_ = 0; i_5_ < i_1_ + i_1_; i_5_++) { @@ -26,7 +30,7 @@ final void method3984(int i, int i_0_, int i_1_, boolean[][] bools, boolean bool } } - final native void wa(r var_r, int i, int i_9_, int i_10_, int i_11_, boolean bool); + final native void Interface4Impl(r var_r, int i, int i_9_, int i_10_, int i_11_, boolean bool); final void method3979(int i, int i_12_) { if (anInt5151 < 0) anOa5150.method3973().method142(this, i, i_12_); @@ -92,8 +96,8 @@ final void method3978(int i, int i_13_, int[] is, int[] is_14_, int[] is_15_, in if (bool_27_ || is_37_ != null) U(i, i_13_, is_32_, is_38_, is_33_, is_39_, is_34_, is_37_, is_35_, is_36_, i_24_, i_25_, i_26_, bool); } - final void method3981(Class348_Sub1 class348_sub1, int[] is) { - aClass262_5149.method1999(class348_sub1, -20180); + final void method3981(NodeSub1 class348_sub1, int[] is) { + aClass262_5149.addTail(class348_sub1, -20180); V(class348_sub1.hashCode(), class348_sub1.method2724(-1), class348_sub1.method2722(124), class348_sub1.method2717((byte) 83), class348_sub1.method2723(-1), class348_sub1.method2720(-1), is); } @@ -103,7 +107,7 @@ final void method3981(Class348_Sub1 class348_sub1, int[] is) { final native void ka(int i, int i_48_, int i_49_); - t(oa var_oa, ya var_ya, int i, int i_50_, int[][] is, int[][] is_51_, int i_52_, int i_53_, int i_54_) { + t(OpenGLToolkit var_oa, NativeHandle var_ya, int i, int i_50_, int[][] is, int[][] is_51_, int i_52_, int i_53_, int i_54_) { super(i, i_50_, i_52_, is); anOa5150 = var_oa; ga(anOa5150, var_ya, i, i_50_, this.anIntArrayArray4584, is_51_, i_52_, i_53_, i_54_); @@ -120,8 +124,8 @@ final boolean method3989(r var_r, int i, int i_55_, int i_56_, int i_57_, boolea final void method3983(int i, int i_63_, int i_64_, boolean[][] bools, boolean bool, int i_65_) { anInt5151 = -1; int i_66_ = 0; - float[] fs = new float[aClass262_5149.method1998(0)]; - for (Class348_Sub1 class348_sub1 = (Class348_Sub1) aClass262_5149.method1995(4); class348_sub1 != null; class348_sub1 = (Class348_Sub1) aClass262_5149.method1990((byte) 40)) + float[] fs = new float[aClass262_5149.size(0)]; + for (NodeSub1 class348_sub1 = (NodeSub1) aClass262_5149.first(4); class348_sub1 != null; class348_sub1 = (NodeSub1) aClass262_5149.next((byte) 40)) fs[i_66_++] = class348_sub1.method2721(-65); q(fs); for (int i_67_ = 0; i_67_ < i_64_ + i_64_; i_67_++) { @@ -138,10 +142,10 @@ final void method3983(int i, int i_63_, int i_64_, boolean[][] bools, boolean bo final native r fa(int i, int i_71_, r var_r); protected final void finalize() { - if (this.nativeid != 0L) Class257.method1947(0, this); + if (this.nativeid != 0L) Component36.method1947(0, this); } - private final native void ga(oa var_oa, ya var_ya, int i, int i_72_, int[][] is, int[][] is_73_, int i_74_, int i_75_, int i_76_); + private final native void ga(OpenGLToolkit var_oa, NativeHandle var_ya, int i, int i_72_, int[][] is, int[][] is_73_, int i_74_, int i_75_, int i_76_); final native void U(int i, int i_77_, int[] is, int[] is_78_, int[] is_79_, int[] is_80_, int[] is_81_, int[] is_82_, int[] is_83_, int[] is_84_, int i_85_, int i_86_, int i_87_, boolean bool); diff --git a/client/scene/graph/FriendLoginMessage.java b/client/scene/graph/FriendLoginMessage.java new file mode 100644 index 000000000..8442d26c8 --- /dev/null +++ b/client/scene/graph/FriendLoginMessage.java @@ -0,0 +1,78 @@ +/* FriendLoginMessage - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from {@code Class318_Sub9_Sub1} (JODE-obfuscated). + * Pending friend login/logout chat tip. {@link #worldId} 0 = logged out; else world. + * Shown with {@link FriendsIgnoreList} "has logged in/out" strings; expires after ~5s. + */ +final class FriendLoginMessage extends RenderableSub9 { + static int anInt8782; + /** Friend display name. */ + String username; + static float aFloat8784; + static int[] anIntArray8785; + /** World id, or 0 if logged out. */ + short worldId; + /** Creation time in whole seconds (tips drop after ~5s). */ + int timestampSeconds = (int) (Component240.currentTimeMillis(-92) / 1000L); + static int anInt8788; + + /** Cache usable modes (≥800×600, prefer deep colour); dedupe by resolution. */ + static final DisplayModeInfo[] getFilteredDisplayModes(int i) { + if (i != 1494) getFilteredDisplayModes(-18); + anInt8782++; + if (NativeLibraryLoader.cachedDisplayModes == null) { + DisplayModeInfo[] class57s = Component248.getDisplayModes((byte) -107, OggUrlStream.aClass297_8992); + DisplayModeInfo[] class57s_0_ = new DisplayModeInfo[class57s.length]; + int i_1_ = 0; + int i_2_ = Component192.aClass348_Sub51_3959.aClass239_Sub23_7231.method1818(-32350); + while_108_: + for (int i_3_ = 0; class57s.length > i_3_; i_3_++) { + DisplayModeInfo class57 = class57s[i_3_]; + if ((class57.bitDepth <= 0 || class57.bitDepth >= 24) && class57.width >= 800 && class57.height >= 600 && (i_2_ != 2 || (class57.width <= 800) && class57.height <= 600) && (i_2_ != 1 || ((class57.width <= 1024) && (class57.height <= 768)))) { + for (int i_4_ = 0; i_4_ < i_1_; i_4_++) { + DisplayModeInfo class57_5_ = class57s_0_[i_4_]; + if ((class57_5_.width == class57.width) && (class57_5_.height == class57.height)) { + if (class57.bitDepth > class57_5_.bitDepth) class57s_0_[i_4_] = class57; + continue while_108_; + } + } + class57s_0_[i_1_] = class57; + i_1_++; + } + } + NativeLibraryLoader.cachedDisplayModes = new DisplayModeInfo[i_1_]; + Component313.arraycopyObjects(class57s_0_, 0, NativeLibraryLoader.cachedDisplayModes, 0, i_1_); + int[] is = new int[NativeLibraryLoader.cachedDisplayModes.length]; + for (int i_6_ = 0; (NativeLibraryLoader.cachedDisplayModes.length > i_6_); i_6_++) { + DisplayModeInfo class57 = NativeLibraryLoader.cachedDisplayModes[i_6_]; + is[i_6_] = (class57.width * class57.height); + } + DisplayModeManagerContainer271.method366(NativeLibraryLoader.cachedDisplayModes, (byte) -123, is); + } + return NativeLibraryLoader.cachedDisplayModes; + } + + static final RSARequest method2516(int i, byte i_7_, int i_8_) { + anInt8788++; + RSARequest class348_sub42_sub15 = ((RSARequest) Component265.aClass356_1585.get(((long) i_8_ << 32 | (long) i), i_7_ ^ ~0x171e)); + if (i_7_ != 105) aFloat8784 = 0.99212307F; + if (class348_sub42_sub15 == null) { + class348_sub42_sub15 = new RSARequest(i_8_, i); + Component265.aClass356_1585.put((byte) 91, (class348_sub42_sub15.key), class348_sub42_sub15); + } + return class348_sub42_sub15; + } + + public static void method2517(byte i) { + if (i != 4) anIntArray8785 = null; + anIntArray8785 = null; + } + + FriendLoginMessage(String string, int i) { + this.username = string; + this.worldId = (short) i; + } +} diff --git a/client/scene/graph/GpsOverlay.java b/client/scene/graph/GpsOverlay.java new file mode 100644 index 000000000..402d32fb8 --- /dev/null +++ b/client/scene/graph/GpsOverlay.java @@ -0,0 +1,81 @@ +/* GpsOverlay - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class139` (JODE-obfuscated). + * GPS overlay. Renders the 'gnpov1' GPS overlay layer on the world map. + */ + +final class GpsOverlay { + byte[] aByteArray1948; + static int anInt1949 = 0; + static int anInt1950; + short[] aShortArray1951; + static boolean aBoolean1952 = false; + short[] aShortArray1953; + short[] aShortArray1954; + static int anInt1955; + + static final void method1165(int i) { + Component80.aClass348_Sub49_Sub2_3813.startBitAccess(i ^ ~0x79); + anInt1950++; + int i_0_ = Component80.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 8); + if (i == 1) { + if (i_0_ < Component324.anInt2057) { + for (int i_1_ = i_0_; Component324.anInt2057 > i_1_; i_1_++) + Component305.anIntArray9932[Component142.anInt4411++] = DisplayModeManagerContainer238.anIntArray1233[i_1_]; + } + if (i_0_ > Component324.anInt2057) throw new RuntimeException("gnpov1"); + Component324.anInt2057 = 0; + for (int i_2_ = 0; i_2_ < i_0_; i_2_++) { + int i_3_ = DisplayModeManagerContainer238.anIntArray1233[i_2_]; + Npc npc = (((NodeSub22) Component21.aClass356_3654.get(i_3_, -6008)).npc); + int i_4_ = Component80.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 1); + if (i_4_ == 0) { + DisplayModeManagerContainer238.anIntArray1233[Component324.anInt2057++] = i_3_; + npc.anInt10306 = OggStreamReader.anInt9041; + } else { + int i_5_ = Component80.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 2); + if (i_5_ == 0) { + DisplayModeManagerContainer238.anIntArray1233[Component324.anInt2057++] = i_3_; + npc.anInt10306 = OggStreamReader.anInt9041; + Component354.anIntArray224[DisplayModeManagerContainer204.anInt1597++] = i_3_; + } else if (i_5_ == 1) { + DisplayModeManagerContainer238.anIntArray1233[Component324.anInt2057++] = i_3_; + npc.anInt10306 = OggStreamReader.anInt9041; + int i_6_ = Component80.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 3); + npc.method2443(i_6_, 1, -10); + int i_7_ = Component80.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 1); + if (i_7_ == 1) Component354.anIntArray224[DisplayModeManagerContainer204.anInt1597++] = i_3_; + } else if (i_5_ == 2) { + DisplayModeManagerContainer238.anIntArray1233[Component324.anInt2057++] = i_3_; + npc.anInt10306 = OggStreamReader.anInt9041; + if (Component80.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 1) == 1) { + int i_9_ = Component80.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 3); + npc.method2443(i_9_, 2, -10); + int i_10_ = Component80.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 3); + npc.method2443(i_10_, 2, -10); + } else { + int i_8_ = Component80.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 3); + npc.method2443(i_8_, 0, i + -11); + } + int i_11_ = Component80.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 1); + if (i_11_ == 1) Component354.anIntArray224[DisplayModeManagerContainer204.anInt1597++] = i_3_; + } else if (i_5_ == 3) Component305.anIntArray9932[Component142.anInt4411++] = i_3_; + } + } + } + } + + /** {@code i & i_12_}. */ + static int bitwiseAnd(int i, int i_12_) { + return i & i_12_; + } + + static final boolean method1167(int i, byte i_13_) { + anInt1955++; + if (i_13_ >= -45) anInt1949 = 88; + return i == 0 || i == 1 || i == 2; + } +} diff --git a/client/scene/graph/Renderable.java b/client/scene/graph/Renderable.java new file mode 100644 index 000000000..07fd7b0e1 --- /dev/null +++ b/client/scene/graph/Renderable.java @@ -0,0 +1,53 @@ +/* Renderable - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class318` (JODE-obfuscated). + * Base class for renderable scene objects. Doubly-linked via {@link #next}/{@link #previous}; + * {@link #unlink} removes from the scene-graph chain (also used by {@link DebugOverlay#linkRenderable}). + */ +class Renderable { + /** Next renderable in the scene-graph link chain. */ + Renderable next; + static int anInt3971; + static int anInt3972; + static int anInt3973; + static Component315[] aClass243Array3974 = new Component315[5]; + static int anInt3975; + /** Previous renderable in the scene-graph link chain. */ + Renderable previous; + static DisplayModeManagerContainer42 aClass304_3977; + + final void unlink(boolean bool) { + anInt3975++; + if (this.previous != null) { + this.previous.next = this.next; + this.next.previous = this.previous; + this.next = null; + if (bool == false) this.previous = null; + } + } + + public static void method2374(byte i) { + aClass304_3977 = null; + int i_0_ = 108 / ((i - -83) / 41); + aClass243Array3974 = null; + } + + static final void method2375(int i) { + anInt3972++; + Connection.aClass60_2671.clear(0); + if (i != 16127) anInt3971 = -113; + } + + public Renderable() { + /* empty */ + } + + static { + for (int i = 0; aClass243Array3974.length > i; i++) + aClass243Array3974[i] = new Component315(); + aClass304_3977 = new DisplayModeManagerContainer42(1); + } +} diff --git a/client/scene/graph/RenderableObject.java b/client/scene/graph/RenderableObject.java new file mode 100644 index 000000000..ffafc0657 --- /dev/null +++ b/client/scene/graph/RenderableObject.java @@ -0,0 +1,199 @@ +/* RenderableObject - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class318_Sub1` (JODE-obfuscated). + * Primary renderable object. Declares abstract render (method2380(GraphicsToolkit, ...)) and bounds/visibility checks (method2376-2379, method2381 -> ComponentDownloader) using the GraphicsToolkit (GraphicsToolkit). + */ + +abstract class RenderableObject extends Renderable { + byte aByte6376; + int x; + static int anInt6378; + RenderableObject aClass318_Sub1_6379; + int anInt6380; + byte plane; + int anInt6382; + static Component183 aClass114_6383 = new Component183(11, 6); + static int anInt6384; + static int anInt6385; + int anInt6386; + boolean aBoolean6387; + int y; + int anInt6389; + static int anInt6390; + boolean aBoolean6391 = false; + static int anInt6392; + + abstract boolean method2376(int i); + + abstract boolean method2377(byte i); + + abstract boolean method2378(int i); + + abstract int method2379(int i); + + abstract void method2380(GraphicsToolkit var_ha, int i, boolean bool, RenderableObject class318_sub1_0_, int i_1_, byte i_2_, int i_3_); + + abstract ComponentDownloader method2381(GraphicsToolkit var_ha, int i); + + abstract boolean method2382(byte i); + + static final void method2383(GraphicsToolkit var_ha, int i, DisplayModeManagerContainer57 class46) { + do { + try { + if (i != -2) method2383(null, -63, null); + anInt6385++; + boolean bool = ((Exception_Sub1.itemDefinitions.method1941(class46.anInt672, (byte) -74, class46.anInt812, class46.anInt781, ~0xffffff | class46.anInt809, class46.anInt678, var_ha, (!class46.aBoolean720 ? null : (Component72.localPlayer.appearance)))) == null); + if (!bool) break; + Component305.aClass262_9931.addTail(new NodeSub7(class46.anInt812, class46.anInt781, class46.anInt672, (~0xffffff | class46.anInt809), class46.anInt678, class46.aBoolean720), i ^ 0x4ed2); + Component111.markInterfaceDirty(-9343, class46); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ga.QA(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + (class46 != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + abstract int method2384(NodeSub1[] class348_sub1s, int i); + + static final void method2385(DisplayModeManagerContainer57 class46, int i, Shader var_aa, int i_4_, int i_5_, int i_6_, byte i_7_, int i_8_, GraphicsToolkit var_ha) { + do { + try { + anInt6390++; + Component274 class42 = DisplayModeManagerContainer64.aClass153_9031.method1225(i_4_, (byte) 98); + if (i_7_ < -52) { + if (class42 == null || !class42.aBoolean569 || !class42.method373((DisplayModeManagerContainer58.aClass170_10209), 69)) break; + if (class42.anIntArray591 != null) { + int[] is = (new int + [class42.anIntArray591.length]); + for (int i_9_ = 0; is.length / 2 > i_9_; i_9_++) { + int i_10_; + if (DefinitionSub21.cameraMode != 4) i_10_ = 0x3fff & (CacheNodeSub2.anInt10483 + (int) Component112.cameraYaw); + else i_10_ = (int) Component112.cameraYaw & 0x3fff; + int i_11_ = DisplayModeManagerContainer88.anIntArray1207[i_10_]; + int i_12_ = DisplayModeManagerContainer88.anIntArray1204[i_10_]; + if (DefinitionSub21.cameraMode != 4) { + i_11_ = (i_11_ * 256 / (Component182.anInt9750 + 256)); + i_12_ = i_12_ * 256 / (256 + (Component182.anInt9750)); + } + is[i_9_ * 2] = (((i_11_ * (((class42.anIntArray591[i_9_ * 2 - -1]) * 4) + i_8_) + (i_5_ - -(4 * (class42.anIntArray591[2 * i_9_]))) * i_12_) >> 14) + (i_6_ - -(class46.anInt709 / 2))); + is[i_9_ * 2 - -1] = (-((((class42.anIntArray591[1 + i_9_ * 2]) * 4 + i_8_) * i_12_ - (i_5_ - -((class42.anIntArray591[i_9_ * 2]) * 4)) * i_11_) >> 14) + i + class46.anInt789 / 2); + } + Component68.method2619(var_ha, is, class42.anInt582, class46.anIntArray677, class46.anIntArray772); + if (class42.anInt584 > 0) { + for (int i_13_ = 0; (i_13_ < -1 + is.length / 2); i_13_++) { + int i_14_ = is[i_13_ * 2]; + int i_15_ = is[1 + 2 * i_13_]; + int i_16_ = is[2 + i_13_ * 2]; + int i_17_ = is[1 + 2 * (i_13_ - -1)]; + if (i_14_ <= i_16_) { + if (i_14_ == i_16_ && i_15_ > i_17_) { + int i_18_ = i_15_; + i_15_ = i_17_; + i_17_ = i_18_; + } + } else { + int i_19_ = i_14_; + i_14_ = i_16_; + int i_20_ = i_15_; + i_15_ = i_17_; + i_16_ = i_19_; + i_17_ = i_20_; + } + var_ha.method3703(i_14_, i_15_, i_16_, i_17_, (class42.anIntArray572[((class42.aByteArray564[i_13_]) & 0xff)]), 1, var_aa, i_6_, i, class42.anInt584, class42.anInt575, (class42.anInt601)); + } + int i_21_ = is[-2 + is.length]; + int i_22_ = is[-1 + is.length]; + int i_23_ = is[0]; + int i_24_ = is[1]; + if (i_23_ < i_21_) { + int i_25_ = i_21_; + i_21_ = i_23_; + int i_26_ = i_22_; + i_22_ = i_24_; + i_23_ = i_25_; + i_24_ = i_26_; + } else if (i_21_ == i_23_ && i_22_ > i_24_) { + int i_27_ = i_22_; + i_22_ = i_24_; + i_24_ = i_27_; + } + var_ha.method3703(i_21_, i_22_, i_23_, i_24_, (class42.anIntArray572[(class42.aByteArray564[((class42.aByteArray564).length - 1)]) & 0xff]), 1, var_aa, i_6_, i, class42.anInt584, class42.anInt575, class42.anInt601); + } else { + for (int i_28_ = 0; -1 + is.length / 2 > i_28_; i_28_++) + var_ha.method3636(is[i_28_ * 2], is[2 * i_28_ + 1], is[2 * (i_28_ - -1)], is[2 * i_28_ + 3], (class42.anIntArray572[((class42.aByteArray564[i_28_]) & 0xff)]), 1, var_aa, i_6_, i); + var_ha.method3636(is[is.length + -2], is[-1 + is.length], is[0], is[1], (class42.anIntArray572[(class42.aByteArray564[((class42.aByteArray564).length + -1)]) & 0xff]), 1, var_aa, i_6_, i); + } + } + Component24 class105 = null; + if (class42.anInt578 != -1) { + class105 = class42.method374(false, var_ha, (byte) 127); + if (class105 != null) DisplayModeManagerContainer346.method1211(i, class105, i_6_, class46, var_aa, i_8_, 2, i_5_); + } + if (class42.aString597 == null) break; + int i_29_ = 0; + if (class105 != null) i_29_ = class105.method969(); + BitmapFont class324 = Component49.aClass324_4684; + Component184 class143 = AbstractGlTextureSub1.aClass143_8527; + if (class42.anInt576 == 1) { + class324 = Applet_Sub1.aClass324_20; + class143 = Component163.aClass143_3179; + } + if (class42.anInt576 == 2) { + class143 = Component27.aClass143_4962; + class324 = NodeList.aClass324_3326; + } + NativeLibLoader.method2650(class143, class42.anInt580, var_aa, i_8_, i_6_, class42.aString597, i, class324, i_29_, class46, i_5_, 100); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ga.KA(" + (class46 != null ? "{...}" : "null") + ',' + i + ',' + (var_aa != null ? "{...}" : "null") + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ',' + (var_ha != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + abstract RenderableSub4 method2386(int i, GraphicsToolkit var_ha); + + abstract void method2387(GraphicsToolkit var_ha, int i); + + abstract boolean method2388(int i); + + public static void method2389(int i) { + aClass114_6383 = null; + if (i != 1) aClass114_6383 = null; + } + + final int method2390(NodeSub1[] class348_sub1s, int i, int i_30_, int i_31_) { + anInt6384++; + if (i_30_ != -2) this.aByte6376 = (byte) 33; + long l = (PacketReader.aLongArrayArrayArray10431[this.plane][i][i_31_]); + long l_32_ = 0L; + int i_33_ = 0; + for (/**/; l_32_ <= 48; l_32_ += 16L) { + int i_34_ = (int) (0xffffL & l >> (int) l_32_); + if (i_34_ <= 0) break; + class348_sub1s[i_33_++] = (Component329.aClass211Array5993[i_34_ + -1].aClass348_Sub1_2745); + } + for (int i_35_ = i_33_; i_35_ < 4; i_35_++) + class348_sub1s[i_35_] = null; + return i_33_; + } + + abstract boolean method2391(GraphicsToolkit var_ha, int i, int i_36_, int i_37_); + + abstract void method2392(boolean bool); + + public RenderableObject() { + /* empty */ + } + + int method2393(int i) { + if (i >= -109) method2385(null, 23, null, -94, -53, 18, (byte) -3, 35, null); + anInt6378++; + return 0; + } + + abstract int method2394(boolean bool); +} diff --git a/client/scene/graph/RenderableSub10.java b/client/scene/graph/RenderableSub10.java new file mode 100644 index 000000000..3a97380de --- /dev/null +++ b/client/scene/graph/RenderableSub10.java @@ -0,0 +1,227 @@ +/* RenderableSub10 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class RenderableSub10 +/** + * RENAMED from `Class318_Sub10` (JODE-obfuscated). + * Evidence: subclass of Renderable (hierarchy) + */ extends Renderable { + boolean aBoolean6470; + private long aLong6471; + private long aLong6472; + private boolean aBoolean6473 = false; + private static boolean[] aBooleanArray6474 = new boolean[32]; + RenderableSub9Sub2Sub1[] aClass318_Sub9_Sub2_Sub1Array6475; + int anInt6476 = 0; + private static boolean[] aBooleanArray6477 = new boolean[8]; + private Component315 aClass243_6478; + NodeList aClass262_6479; + private int anInt6480; + Component122 aClass98_6481; + boolean aBoolean6482; + int anInt6483; + private boolean aBoolean6484; + private int anInt6485; + + final Component122 method2525() { + return this.aClass98_6481; + } + + static final RenderableSub10 method2526(int i, boolean bool) { + if (GlTexture.anInt8550 != Component239.anInt4559) { + RenderableSub10 class318_sub10 = NodeSub51.aClass318_Sub10Array7249[Component239.anInt4559]; + Component239.anInt4559 = Component239.anInt4559 + 1 & (ReferenceHolder.anIntArray9558[NodederUtil.anInt6637]); + class318_sub10.method2531(i, bool); + return class318_sub10; + } + return new RenderableSub10(i, bool); + } + + public static void method2527() { + aBooleanArray6474 = null; + aBooleanArray6477 = null; + } + + final void method2528(GraphicsToolkit var_ha) { + this.aClass98_6481.aClass88_1569.method845((byte) 89); + for (StaticElementRenderer class318_sub7 = (StaticElementRenderer) aClass243_6478.method1872(8); class318_sub7 != null; class318_sub7 = (StaticElementRenderer) aClass243_6478.method1878((byte) 126)) + class318_sub7.method2511(true, var_ha, aLong6471); + } + + final void method2529() { + aBoolean6484 = true; + } + + final void method2530() { + this.aBoolean6470 = true; + for (HashNodeSub20 class348_sub42_sub20 = ((HashNodeSub20) this.aClass262_6479.first(4)); class348_sub42_sub20 != null; class348_sub42_sub20 = (HashNodeSub20) this.aClass262_6479.next((byte) 89)) { + if (class348_sub42_sub20.aClass174_9704.anInt2296 == 1) class348_sub42_sub20.unlink(true); + } + for (int i = 0; i < (this.aClass318_Sub9_Sub2_Sub1Array6475).length; i++) { + if (this.aClass318_Sub9_Sub2_Sub1Array6475[i] != null) { + this.aClass318_Sub9_Sub2_Sub1Array6475[i].method2520(); + this.aClass318_Sub9_Sub2_Sub1Array6475[i] = null; + } + } + this.anInt6476 = 0; + aClass243_6478 = new Component315(); + anInt6480 = 0; + this.aClass262_6479 = new NodeList(); + anInt6485 = 0; + this.unlink(false); + NodeSub51.aClass318_Sub10Array7249[GlTexture.anInt8550] = this; + GlTexture.anInt8550 = (GlTexture.anInt8550 + 1 & ReferenceHolder.anIntArray9558[NodederUtil.anInt6637]); + } + + private final void method2531(int i, boolean bool) { + InflaterDecompressor.aClass243_2077.method1869(-88, this); + aLong6472 = i; + aLong6471 = i; + aBoolean6484 = true; + this.aBoolean6482 = bool; + } + + private final void method2532(GraphicsToolkit var_ha, Component30[] class129s, boolean bool) { + for (int i = 0; i < 32; i++) + aBooleanArray6474[i] = false; + while_110_: + for (StaticElementRenderer class318_sub7 = (StaticElementRenderer) aClass243_6478.method1872(8); class318_sub7 != null; class318_sub7 = (StaticElementRenderer) aClass243_6478.method1878((byte) -28)) { + if (class129s != null) { + for (int i = 0; i < class129s.length; i++) { + if ((class318_sub7.aClass129_6436 == class129s[i]) || (class318_sub7.aClass129_6436 == class129s[i].aClass129_1888)) { + aBooleanArray6474[i] = true; + class318_sub7.method2507(true); + class318_sub7.aBoolean6446 = false; + continue while_110_; + } + } + } + if (!bool) { + if (class318_sub7.anInt6447 == 0) { + class318_sub7.unlink(false); + anInt6480--; + } else class318_sub7.aBoolean6446 = true; + } + } + if (class129s != null) { + for (int i = 0; i < class129s.length; i++) { + if (i == 32 || anInt6480 == 32) break; + if (!aBooleanArray6474[i]) { + StaticElementRenderer class318_sub7 = new StaticElementRenderer(var_ha, class129s[i], this, aLong6472); + aClass243_6478.method1869(-126, class318_sub7); + anInt6480++; + aBooleanArray6474[i] = true; + } + } + } + } + + final void method2533(int i, int i_0_, int i_1_, int i_2_, int i_3_) { + this.anInt6483 = i; + } + + final void method2534() { + aBoolean6473 = true; + } + + final boolean method2535(GraphicsToolkit var_ha, long l) { + if (aLong6472 != aLong6471) method2534(); + else method2537(); + if (l - aLong6472 > 750L) { + method2530(); + return false; + } + int i = (int) (l - aLong6471); + if (aBoolean6484) { + for (StaticElementRenderer class318_sub7 = (StaticElementRenderer) aClass243_6478.method1872(8); class318_sub7 != null; class318_sub7 = (StaticElementRenderer) aClass243_6478.method1878((byte) 122)) { + for (int i_4_ = 0; i_4_ < class318_sub7.aClass181_6441.anInt2422; i_4_++) + class318_sub7.method2513(var_ha, 1, l, 3, !aBoolean6473); + } + aBoolean6484 = false; + } + for (StaticElementRenderer class318_sub7 = (StaticElementRenderer) aClass243_6478.method1872(8); class318_sub7 != null; class318_sub7 = (StaticElementRenderer) aClass243_6478.method1878((byte) -72)) + class318_sub7.method2513(var_ha, i, l, 3, !aBoolean6473); + aLong6471 = l; + return true; + } + + final void method2536(GraphicsToolkit var_ha, long l, Component30[] class129s, DisplayModeManagerContainer173[] class342s, boolean bool) { + if (!this.aBoolean6470) { + method2532(var_ha, class129s, bool); + method2538(class342s, bool); + aLong6472 = l; + } + } + + private final void method2537() { + aBoolean6473 = false; + } + + private final void method2538(DisplayModeManagerContainer173[] class342s, boolean bool) { + for (int i = 0; i < 8; i++) + aBooleanArray6477[i] = false; + while_112_: + for (HashNodeSub20 class348_sub42_sub20 = ((HashNodeSub20) this.aClass262_6479.first(4)); class348_sub42_sub20 != null; class348_sub42_sub20 = (HashNodeSub20) this.aClass262_6479.next((byte) 85)) { + if (class342s != null) { + for (int i = 0; i < class342s.length; i++) { + if ((class348_sub42_sub20.aClass342_9702) == class342s[i] || ((class348_sub42_sub20.aClass342_9702) == class342s[i].aClass342_4248)) { + aBooleanArray6477[i] = true; + class348_sub42_sub20.method3279(2); + continue while_112_; + } + } + } + if (!bool) { + class348_sub42_sub20.unlink((byte) 108); + anInt6485--; + if (class348_sub42_sub20.isChainLinked((byte) 1)) { + class348_sub42_sub20.unlink(true); + StaticElementRenderer.anInt6450--; + } + } + } + if (class342s != null) { + for (int i = 0; i < class342s.length; i++) { + if (i == 8 || anInt6485 == 8) break; + if (!aBooleanArray6477[i]) { + HashNodeSub20 class348_sub42_sub20 = null; + if ((class342s[i].method2685((byte) -13).anInt2296) == 1 && StaticElementRenderer.anInt6450 < 32) { + class348_sub42_sub20 = new HashNodeSub20(class342s[i], this); + OpenGlShader.aClass32_7415.method335(class348_sub42_sub20, -8098, class342s[i].anInt4245); + StaticElementRenderer.anInt6450++; + } + if (class348_sub42_sub20 == null) class348_sub42_sub20 = new HashNodeSub20(class342s[i], this); + this.aClass262_6479.addTail(class348_sub42_sub20, -20180); + anInt6485++; + aBooleanArray6477[i] = true; + } + } + } + } + + final Component122 method2539() { + this.aClass98_6481.aClass88_1569.method845((byte) 43); + for (int i = 0; i < (this.aClass318_Sub9_Sub2_Sub1Array6475).length; i++) { + if ((this.aClass318_Sub9_Sub2_Sub1Array6475[i] != null) && this.aClass318_Sub9_Sub2_Sub1Array6475[i].aClass318_Sub7_10419 != null) this.aClass98_6481.aClass88_1569.method844((this.aClass318_Sub9_Sub2_Sub1Array6475[i]), true); + } + return this.aClass98_6481; + } + + final void method2540(long l) { + aLong6472 = l; + } + + private RenderableSub10(int i, boolean bool) { + this.aBoolean6470 = false; + aClass243_6478 = new Component315(); + anInt6480 = 0; + this.aClass262_6479 = new NodeList(); + this.aBoolean6482 = false; + anInt6485 = 0; + aBoolean6484 = false; + this.aClass98_6481 = new Component122(); + this.aClass318_Sub9_Sub2_Sub1Array6475 = new RenderableSub9Sub2Sub1[8192]; + method2531(i, bool); + } +} diff --git a/client/scene/graph/RenderableSub2.java b/client/scene/graph/RenderableSub2.java new file mode 100644 index 000000000..f267c6c34 --- /dev/null +++ b/client/scene/graph/RenderableSub2.java @@ -0,0 +1,235 @@ +/* RenderableSub2 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class RenderableSub2 +/** + * RENAMED from `Class318_Sub2` (JODE-obfuscated). + * Evidence: subclass of Renderable (hierarchy) + */ extends Renderable { + static int[] anIntArray6393 = new int[8]; + int anInt6394; + static int anInt6395; + static int anInt6396; + static int anInt6397; + static int anInt6398; + static int anInt6399; + static Component335[] aClass147Array6400 = new Component335[100]; + + static final void method2494(int i, int i_0_, int i_1_, GraphicsToolkit var_ha, MenuEntry class348_sub42_sub12, int i_2_, int i_3_, int i_4_, byte i_5_, int i_6_, int i_7_, int i_8_) { + do { + try { + anInt6397++; + if (i_5_ < 123) method2499(27, -8, -96, 71, 72, (byte) 72, -82); + if (i_8_ > i_7_ && i_7_ + i_2_ > i_8_ && i_3_ > -13 + i_1_ && i_1_ + 3 > i_3_ && (class348_sub42_sub12.aBoolean9610)) i_4_ = i_0_; + int[] is = null; + if (!Component3.method1197(-12081, class348_sub42_sub12.opcode)) { + if ((class348_sub42_sub12.itemId) == -1) { + if (WaterShaderSub8.method3549((class348_sub42_sub12.opcode), (byte) -119)) { + NodeSub22 class348_sub22 = ((NodeSub22) (Component21.aClass356_3654.get((int) (class348_sub42_sub12.identifier), -6008))); + if (class348_sub22 != null) { + Npc npc = (class348_sub22.npc); + NpcComposition class79 = (npc.definition); + if (class79.anIntArray1377 != null) class79 = (class79.method794((DisplayModeManagerContainer58.aClass170_10209), -1)); + if (class79 != null) is = class79.anIntArray1342; + } + } else if (Component71.method1813(8806, (class348_sub42_sub12.opcode))) { + Object object = null; + Component44 class51; + if (class348_sub42_sub12.opcode != 1001) class51 = (GradientPreset.aClass263_9195.method2005(0, (int) (0x7fffffffL & ((class348_sub42_sub12.identifier) >>> 32)))); + else class51 = (GradientPreset.aClass263_9195.method2005(0, (int) (class348_sub42_sub12.identifier))); + if (class51.anIntArray945 != null) class51 = (class51.method480((DisplayModeManagerContainer58.aClass170_10209), (byte) 47)); + if (class51 != null) is = class51.anIntArray917; + } + } else is = Exception_Sub1.itemDefinitions.getItemDefinition(113, (class348_sub42_sub12.itemId)).anIntArray2772; + } else is = (Exception_Sub1.itemDefinitions.getItemDefinition(-67, (int) (class348_sub42_sub12.identifier)).anIntArray2772); + String string = Component192.formatMenuEntry((byte) 125, class348_sub42_sub12); + if (is != null) string += ImageTagText.method1273(is, true); + NodeList.aClass324_3326.method2567(i_1_, string, (byte) 116, i_4_, 0, i_7_ - -3, DisplayModeManagerContainer196.aClass105Array4234, Component143.anIntArray2330); + if (!class348_sub42_sub12.aBoolean9597) break; + ColoredText.aClass105_6097.method974(Component27.aClass143_4962.stringWidth(true, string) + (i_7_ - -5), -12 + i_1_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("vo.C(" + i + ',' + i_0_ + ',' + i_1_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + (class348_sub42_sub12 != null ? "{...}" : "null") + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ')')); + } + break; + } while (false); + } + + public static void method2495(byte i) { + if (i <= 110) anIntArray6393 = null; + anIntArray6393 = null; + aClass147Array6400 = null; + } + + static final boolean method2496(int i, int i_9_, boolean bool) { + if (bool != true) method2497(null, (byte) -29, null, 73); + anInt6396++; + if (i >= 1000 && i_9_ < 1000) return true; + if (i < 1000 && i_9_ < 1000) { + if (DisplayModeManagerContainer74.method2308((byte) 26, i_9_)) return true; + return !DisplayModeManagerContainer74.method2308((byte) 26, i); + } + return i >= 1000 && i_9_ >= 1000; + } + + RenderableSub2(int i) { + this.anInt6394 = i; + } + + static final int method2497(byte[] is, byte i, String string, int i_10_) { + try { + anInt6399++; + int i_11_ = i_10_; + int i_12_ = string.length(); + int i_13_ = 0; + if (i != 0) method2496(21, -5, true); + for (/**/; i_12_ > i_13_; i_13_ += 4) { + int i_14_ = Component134.method1399(7, string.charAt(i_13_)); + int i_15_ = (i_12_ > i_13_ - -1 ? Component134.method1399(7, string.charAt(1 + i_13_)) : -1); + int i_16_ = (2 + i_13_ < i_12_ ? Component134.method1399(7, string.charAt(i_13_ + 2)) : -1); + int i_17_ = (i_12_ <= 3 + i_13_ ? -1 : Component134.method1399(7, string.charAt(i_13_ + 3))); + is[i_10_++] = (byte) Component224.bitwiseOr(i_14_ << 2, i_15_ >>> 4); + if (i_16_ == -1) break; + is[i_10_++] = (byte) Component224.bitwiseOr((GpsOverlay.bitwiseAnd(15, i_15_) << 4), i_16_ >>> 2); + if (i_17_ == -1) break; + is[i_10_++] = (byte) Component224.bitwiseOr((GpsOverlay.bitwiseAnd(3, i_16_) << 6), i_17_); + } + return -i_11_ + i_10_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("vo.B(" + (is != null ? "{...}" : "null") + ',' + i + ',' + (string != null ? "{...}" : "null") + ',' + i_10_ + ')')); + } + } + + static final void method2498(Component103 class338, GraphicsToolkit var_ha, byte i, int i_18_) { + try { + anInt6395++; + if (i > -101) anIntArray6393 = null; + if (Player.anIntArray10566 != null && class338.aByte4181 >= i_18_) { + for (int i_19_ = 0; (i_19_ < Player.anIntArray10566.length); i_19_++) { + if ((Player.anIntArray10566[i_19_] != -1000000) && (((Player.anIntArray10566[i_19_]) >= class338.anIntArray4191[0]) || (class338.anIntArray4191[1] <= (Player.anIntArray10566[i_19_])) || (class338.anIntArray4191[2] <= (Player.anIntArray10566[i_19_])) || ((Player.anIntArray10566[i_19_]) >= class338.anIntArray4191[3])) && ((class338.anIntArray4187[0] <= DisplayModeManagerContainer34.anIntArray8666[i_19_]) || (class338.anIntArray4187[1] <= DisplayModeManagerContainer34.anIntArray8666[i_19_]) || (class338.anIntArray4187[2] <= DisplayModeManagerContainer34.anIntArray8666[i_19_]) || (DisplayModeManagerContainer34.anIntArray8666[i_19_] >= class338.anIntArray4187[3])) && ((class338.anIntArray4187[0] >= AudioMixer.anIntArray3220[i_19_]) || (AudioMixer.anIntArray3220[i_19_] <= class338.anIntArray4187[1]) || (class338.anIntArray4187[2] >= AudioMixer.anIntArray3220[i_19_]) || (AudioMixer.anIntArray3220[i_19_] <= class338.anIntArray4187[3])) && ((Component201.anIntArray8712[i_19_] >= class338.anIntArray4184[0]) || (Component201.anIntArray8712[i_19_] >= class338.anIntArray4184[1]) || (class338.anIntArray4184[2] <= Component201.anIntArray8712[i_19_]) || (Component201.anIntArray8712[i_19_] >= class338.anIntArray4184[3])) && ((class338.anIntArray4184[0] >= client.anIntArray5176[i_19_]) || (class338.anIntArray4184[1] >= client.anIntArray5176[i_19_]) || (class338.anIntArray4184[2] >= client.anIntArray5176[i_19_]) || (class338.anIntArray4184[3] >= client.anIntArray5176[i_19_]))) + return; + } + } + if (class338.aByte4192 == 1) { + int i_20_ = (Component197.anInt10084 + (-Component256.anInt6111 + class338.aShort4185)); + if (i_20_ >= 0 && i_20_ <= (Component197.anInt10084 + Component197.anInt10084)) { + int i_21_ = (Component197.anInt10084 + class338.aShort4193 - DebugPanicSub2.anInt8502); + if (i_21_ < 0) i_21_ = 0; + else if ((Component197.anInt10084 + Component197.anInt10084) < i_21_) return; + int i_22_ = (-DebugPanicSub2.anInt8502 + (class338.aShort4190 - -Component197.anInt10084)); + if ((Component197.anInt10084 - -Component197.anInt10084) < i_22_) i_22_ = (Component197.anInt10084 - -Component197.anInt10084); + else if (i_22_ < 0) return; + boolean bool = false; + while (i_22_ >= i_21_) { + if (DisplayModeManagerContainer153.aBooleanArrayArray1572[i_20_][i_21_++]) { + bool = true; + break; + } + } + if (bool) { + float f = (float) (Component258.anInt1974 - (class338.anIntArray4187[0])); + if (f < 0.0F) f *= -1.0F; + if (!(f < (float) Component53.anInt194) && Component160.method3465(0, 1, class338) && Component160.method3465(1, 1, class338) && Component160.method3465(2, 1, class338) && Component160.method3465(3, 1, class338)) + HashNodeSub19.aClass338Array9700[HashNodeSub10.activeOccluderCount++] = class338; + } + } + } else if (class338.aByte4192 == 2) { + int i_23_ = (Component197.anInt10084 + (class338.aShort4193 - DebugPanicSub2.anInt8502)); + if (i_23_ >= 0 && i_23_ <= (Component197.anInt10084 + Component197.anInt10084)) { + int i_24_ = (class338.aShort4185 + (-Component256.anInt6111 + Component197.anInt10084)); + if (i_24_ >= 0) { + if (i_24_ > (Component197.anInt10084 + Component197.anInt10084)) return; + } else i_24_ = 0; + int i_25_ = (-Component256.anInt6111 + (class338.aShort4182 - -Component197.anInt10084)); + if ((Component197.anInt10084 + Component197.anInt10084) >= i_25_) { + if (i_25_ < 0) return; + } else i_25_ = (Component197.anInt10084 + Component197.anInt10084); + boolean bool = false; + while (i_24_ <= i_25_) { + if (DisplayModeManagerContainer153.aBooleanArrayArray1572[i_24_++][i_23_]) { + bool = true; + break; + } + } + if (bool) { + float f = (float) (DefinitionSub27.anInt9360 - (class338.anIntArray4184[0])); + if (f < 0.0F) f *= -1.0F; + if (!(f < (float) Component53.anInt194) && Component160.method3465(0, 1, class338) && Component160.method3465(1, 1, class338) && Component160.method3465(2, 1, class338) && Component160.method3465(3, 1, class338)) + HashNodeSub19.aClass338Array9700[HashNodeSub10.activeOccluderCount++] = class338; + } + } + } else if (class338.aByte4192 == 16 || class338.aByte4192 == 8) { + int i_26_ = (Component197.anInt10084 + (-Component256.anInt6111 + class338.aShort4185)); + if (i_26_ >= 0 && i_26_ <= (Component197.anInt10084 - -Component197.anInt10084)) { + int i_27_ = (class338.aShort4193 + (-DebugPanicSub2.anInt8502 - -Component197.anInt10084)); + if (i_27_ >= 0 && ((Component197.anInt10084 - -Component197.anInt10084) >= i_27_) && DisplayModeManagerContainer153.aBooleanArrayArray1572[i_26_][i_27_]) { + float f = (float) (Component258.anInt1974 - (class338.anIntArray4187[0])); + if (f < 0.0F) f *= -1.0F; + float f_28_ = (float) (DefinitionSub27.anInt9360 + -(class338.anIntArray4184[0])); + if (f_28_ < 0.0F) f_28_ *= -1.0F; + if ((!(f < (float) Component53.anInt194) || !((float) Component53.anInt194 > f_28_)) && Component160.method3465(0, 1, class338) && Component160.method3465(1, 1, class338) && Component160.method3465(2, 1, class338) && Component160.method3465(3, 1, class338)) + HashNodeSub19.aClass338Array9700[HashNodeSub10.activeOccluderCount++] = class338; + } + } + } else if (class338.aByte4192 == 4) { + float f = (float) (-Component228.anInt3006 + class338.anIntArray4191[0]); + if (!(f <= (float) GlToolkitSub2.anInt7714)) { + int i_29_ = (Component197.anInt10084 + -DebugPanicSub2.anInt8502 + class338.aShort4193); + if (i_29_ >= 0) { + if ((Component197.anInt10084 + Component197.anInt10084) < i_29_) return; + } else i_29_ = 0; + int i_30_ = (Component197.anInt10084 + -DebugPanicSub2.anInt8502 + class338.aShort4190); + if (i_30_ <= (Component197.anInt10084 + Component197.anInt10084)) { + if (i_30_ < 0) return; + } else i_30_ = (Component197.anInt10084 - -Component197.anInt10084); + int i_31_ = (-Component256.anInt6111 + (class338.aShort4185 + Component197.anInt10084)); + if (i_31_ < 0) i_31_ = 0; + else if (i_31_ > (Component197.anInt10084 + Component197.anInt10084)) return; + int i_32_ = (Component197.anInt10084 + class338.aShort4182 - Component256.anInt6111); + if ((Component197.anInt10084 - -Component197.anInt10084) < i_32_) i_32_ = (Component197.anInt10084 + Component197.anInt10084); + else if (i_32_ < 0) return; + boolean bool = false; + while_102_: + for (int i_33_ = i_31_; i_33_ <= i_32_; i_33_++) { + for (int i_34_ = i_29_; i_30_ >= i_34_; i_34_++) { + if (DisplayModeManagerContainer153.aBooleanArrayArray1572[i_33_][i_34_]) { + bool = true; + break while_102_; + } + } + } + if (bool && Component160.method3465(0, 1, class338) && Component160.method3465(1, 1, class338) && Component160.method3465(2, 1, class338) && Component160.method3465(3, 1, class338)) HashNodeSub19.aClass338Array9700[HashNodeSub10.activeOccluderCount++] = class338; + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("vo.A(" + (class338 != null ? "{...}" : "null") + ',' + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + i_18_ + ')')); + } + } + + static final boolean method2499(int i, int i_35_, int i_36_, int i_37_, int i_38_, byte i_39_, int i_40_) { + anInt6398++; + if (!DefinitionSub23.aBoolean9307 || !Component234.aBoolean351) return false; + if (Component241.occludedPixelCount < 100) return false; + if (i_38_ == i_40_ && i_36_ == i_35_) { + if (!ShaderSub2.method164(i, i_38_, (byte) -97, i_36_)) return false; + int i_41_ = i_38_ << Component149.anInt4459; + int i_42_ = i_36_ << Component149.anInt4459; + if (Component221.method1084(i_37_, Component148.anInt3465, i_42_, i_41_, ShaderSub1.aSArray5191[i].method3982((byte) -86, i_36_, i_38_), Component148.anInt3465, 18507)) { + DefinitionSub4.occludedCpCount++; + return true; + } + return false; + } + if (i_39_ <= 101) method2499(66, -39, -55, 105, 96, (byte) 114, -44); + for (int i_43_ = i_38_; i_43_ <= i_40_; i_43_++) { + for (int i_44_ = i_36_; i_44_ <= i_35_; i_44_++) { + if (Component160.anIntArrayArrayArray4356[i][i_43_][i_44_] == -RandomAccessFileReader.anInt3049) return false; + } + } + int i_45_ = (i_38_ << Component149.anInt4459) + 1; + int i_46_ = (i_36_ << Component149.anInt4459) + 2; + if (!Component221.method1084(i_37_, (1 + -i_38_ + i_40_) * Component148.anInt3465, i_46_, i_45_, ShaderSub1.aSArray5191[i].method3982((byte) -86, i_36_, i_38_), Component148.anInt3465 * (i_35_ + -i_36_ + 1), 18507)) return false; + DefinitionSub4.occludedCpCount++; + return true; + } +} diff --git a/client/scene/graph/RenderableSub3.java b/client/scene/graph/RenderableSub3.java new file mode 100644 index 000000000..589ffa6e0 --- /dev/null +++ b/client/scene/graph/RenderableSub3.java @@ -0,0 +1,42 @@ +/* RenderableSub3 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class RenderableSub3 +/** + * RENAMED from `Class318_Sub3` (JODE-obfuscated). + * Evidence: subclass of Renderable (hierarchy) + */ extends Renderable { + boolean aBoolean6401 = false; + int anInt6402; + int anInt6403; + int anInt6404; + int anInt6405; + int anInt6406; + + final boolean method2500(int i, int i_0_) { + if (!this.aBoolean6401) return false; + int i_1_ = (this.anInt6406 - this.anInt6405); + int i_2_ = (this.anInt6404 - this.anInt6402); + int i_3_ = i_1_ * i_1_ + i_2_ * i_2_; + int i_4_ = (i * i_1_ + i_0_ * i_2_ - (this.anInt6405 * i_1_ + this.anInt6402 * i_2_)); + if (i_4_ <= 0) { + int i_5_ = this.anInt6405 - i; + int i_6_ = this.anInt6402 - i_0_; + return i_5_ * i_5_ + i_6_ * i_6_ < (this.anInt6403 * this.anInt6403); + } + if (i_4_ > i_3_) { + int i_7_ = this.anInt6406 - i; + int i_8_ = this.anInt6404 - i_0_; + return i_7_ * i_7_ + i_8_ * i_8_ < (this.anInt6403 * this.anInt6403); + } + i_4_ = (i_4_ << 10) / i_3_; + int i_9_ = this.anInt6405 + (i_1_ * i_4_ >> 10) - i; + int i_10_ = this.anInt6402 + (i_2_ * i_4_ >> 10) - i_0_; + return i_9_ * i_9_ + i_10_ * i_10_ < (this.anInt6403 * this.anInt6403); + } + + public RenderableSub3() { + /* empty */ + } +} diff --git a/client/scene/graph/RenderableSub4.java b/client/scene/graph/RenderableSub4.java new file mode 100644 index 000000000..aaa5580d5 --- /dev/null +++ b/client/scene/graph/RenderableSub4.java @@ -0,0 +1,126 @@ +/* RenderableSub4 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class RenderableSub4 +/** + * RENAMED from `Class318_Sub4` (JODE-obfuscated). + * Evidence: subclass of Renderable (hierarchy) + */ extends Renderable { + static int anInt6407; + static int anInt6408; + boolean aBoolean6409; + RenderableObject aClass318_Sub1_6410; + static int anInt6411 = 0; + static int anInt6412; + static int anInt6413; + RenderableSub3[] aClass318_Sub3Array6414; + + static final ShaderSub2 method2501(int i, GlToolkitSub3 var_ha_Sub3, int[] is, byte i_0_, int[] is_1_, int i_2_) { + try { + if (i_0_ >= -32) method2502(null, -18); + anInt6412++; + if (var_ha_Sub3.method3880(Component342.aClass68_1183, DefinitionSub38.aClass304_9471, (byte) 125)) { + byte[] is_3_ = new byte[i * i_2_]; + for (int i_4_ = 0; i > i_4_; i_4_++) { + int i_5_ = is[i_4_] + i_2_ * i_4_; + for (int i_6_ = 0; is_1_[i_4_] > i_6_; i_6_++) + is_3_[i_5_++] = (byte) -1; + } + return new ShaderSub2(var_ha_Sub3, i_2_, i, is_3_); + } + int[] is_7_ = new int[i * i_2_]; + for (int i_8_ = 0; i > i_8_; i_8_++) { + int i_9_ = is[i_8_] + i_8_ * i_2_; + for (int i_10_ = 0; i_10_ < is_1_[i_8_]; i_10_++) + is_7_[i_9_++] = -16777216; + } + return new ShaderSub2(var_ha_Sub3, i_2_, i, is_7_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("jda.A(" + i + ',' + (var_ha_Sub3 != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ',' + i_0_ + ',' + (is_1_ != null ? "{...}" : "null") + ',' + i_2_ + ')')); + } + } + + static final HashNodeSub19 method2502(byte[] is, int i) { + if (i >= -76) return null; + anInt6413++; + HashNodeSub19 class348_sub42_sub19 = new HashNodeSub19(); + Buffer class348_sub49 = new Buffer(is); + class348_sub49.offset = -2 + class348_sub49.payload.length; + int i_11_ = class348_sub49.readUnsignedShort(842397944); + int i_12_ = -12 + -i_11_ + (-2 + (class348_sub49.payload).length); + class348_sub49.offset = i_12_; + int i_13_ = class348_sub49.readInt((byte) -126); + class348_sub42_sub19.anInt9688 = class348_sub49.readUnsignedShort(842397944); + class348_sub42_sub19.anInt9689 = class348_sub49.readUnsignedShort(842397944); + class348_sub42_sub19.anInt9697 = class348_sub49.readUnsignedShort(842397944); + class348_sub42_sub19.anInt9695 = class348_sub49.readUnsignedShort(842397944); + int i_14_ = class348_sub49.readUnsignedByte(255); + if (i_14_ > 0) { + class348_sub42_sub19.aClass356Array9693 = new LruCache[i_14_]; + for (int i_15_ = 0; i_15_ < i_14_; i_15_++) { + int i_16_ = class348_sub49.readUnsignedShort(842397944); + LruCache class356 = new LruCache(Component373.nextPowerOfTwo(i_16_, (byte) 108)); + class348_sub42_sub19.aClass356Array9693[i_15_] = class356; + while (i_16_-- > 0) { + int i_17_ = class348_sub49.readInt((byte) -126); + int i_18_ = class348_sub49.readInt((byte) -126); + class356.put((byte) 124, i_17_, new NodeSub35(i_18_)); + } + } + } + class348_sub49.offset = 0; + class348_sub42_sub19.aString9690 = class348_sub49.readStringOrNull(107); + class348_sub42_sub19.anIntArray9694 = new int[i_13_]; + class348_sub42_sub19.anIntArray9696 = new int[i_13_]; + class348_sub42_sub19.aStringArray9692 = new String[i_13_]; + int i_19_ = 0; + while (class348_sub49.offset < i_12_) { + int i_20_ = class348_sub49.readUnsignedShort(842397944); + if (i_20_ != 3) { + if (i_20_ >= 100 || i_20_ == 21 || i_20_ == 38 || i_20_ == 39) class348_sub42_sub19.anIntArray9694[i_19_] = class348_sub49.readUnsignedByte(255); + else class348_sub42_sub19.anIntArray9694[i_19_] = class348_sub49.readInt((byte) -126); + } else class348_sub42_sub19.aStringArray9692[i_19_] = class348_sub49.readString((byte) -98).intern(); + class348_sub42_sub19.anIntArray9696[i_19_++] = i_20_; + } + return class348_sub42_sub19; + } + + static final boolean method2503(int i, int i_21_, int i_22_, byte[] is, int i_23_, int i_24_, int i_25_) { + anInt6408++; + int i_26_ = i_23_ % i_22_; + int i_27_; + if (i_26_ != 0) i_27_ = i_22_ - i_26_; + else i_27_ = 0; + int i_28_ = -((-1 + (i_22_ + i_25_)) / i_22_); + if (i_24_ != -16259) method2501(-113, null, null, (byte) 40, null, -110); + int i_29_ = -((i_22_ + i_23_ + -1) / i_22_); + for (int i_30_ = i_28_; i_30_ < 0; i_30_++) { + for (int i_31_ = i_29_; i_31_ < 0; i_31_++) { + if (is[i_21_] == 0) return true; + i_21_ += i_22_; + } + i_21_ -= i_27_; + if (is[-1 + i_21_] == 0) return true; + i_21_ += i; + } + return false; + } + + final boolean method2504(int i, int i_32_, GraphicsToolkit var_ha, int i_33_) { + if (i_33_ >= -37) method2502(null, -82); + anInt6407++; + int i_34_ = this.aClass318_Sub1_6410.method2393(-117); + if (this.aClass318_Sub3Array6414 != null) { + for (int i_35_ = 0; this.aClass318_Sub3Array6414.length > i_35_; i_35_++) { + this.aClass318_Sub3Array6414[i_35_].anInt6403 <<= i_34_; + if (this.aClass318_Sub3Array6414[i_35_].method2500(i_32_, i) && this.aClass318_Sub1_6410.method2391(var_ha, i, i_32_, 0)) { + this.aClass318_Sub3Array6414[i_35_].anInt6403 >>= i_34_; + return true; + } + this.aClass318_Sub3Array6414[i_35_].anInt6403 >>= i_34_; + } + } + return false; + } +} diff --git a/client/scene/graph/RenderableSub5.java b/client/scene/graph/RenderableSub5.java new file mode 100644 index 000000000..c4d3f918f --- /dev/null +++ b/client/scene/graph/RenderableSub5.java @@ -0,0 +1,28 @@ +/* RenderableSub5 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class RenderableSub5 +/** + * RENAMED from `Class318_Sub5` (JODE-obfuscated). + * Evidence: subclass of Renderable (hierarchy) + */ extends Renderable { + int anInt6415; + String aString6416; + static int anInt6417; + int anInt6418; + int anInt6419; + int anInt6420; + int anInt6421; + int anInt6422; + static int anInt6423; + + static final void method2505(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_) { + anInt6423++; + ShaderSub2.method165(i_4_, i_2_, i_0_, i_3_, i_7_, i_1_, i_5_, (byte) 61, i, i_6_); + } + + public RenderableSub5() { + /* empty */ + } +} diff --git a/client/scene/graph/RenderableSub6.java b/client/scene/graph/RenderableSub6.java new file mode 100644 index 000000000..5a41ff117 --- /dev/null +++ b/client/scene/graph/RenderableSub6.java @@ -0,0 +1,26 @@ +/* RenderableSub6 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class RenderableSub6 +/** + * RENAMED from `Class318_Sub6` (JODE-obfuscated). + * Evidence: subclass of Renderable (hierarchy) + */ extends Renderable { + static Component183 aClass114_6424 = new Component183(82, 4); + int anInt6425; + int anInt6426; + int anInt6427; + static short[] aShortArray6428; + int anInt6429; + static float aFloat6430; + DisplayModeManagerContainer58 aClass318_Sub1_Sub3_Sub3_6431; + static int[] anIntArray6432; + + public static void clearStatics(byte i) { + aShortArray6428 = null; + anIntArray6432 = null; + if (i != -46) clearStatics((byte) -93); + aClass114_6424 = null; + } +} diff --git a/client/scene/graph/RenderableSub8.java b/client/scene/graph/RenderableSub8.java new file mode 100644 index 000000000..7e04132d0 --- /dev/null +++ b/client/scene/graph/RenderableSub8.java @@ -0,0 +1,27 @@ +/* RenderableSub8 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class RenderableSub8 +/** + * RENAMED from `Class318_Sub8` (JODE-obfuscated). + * Evidence: subclass of Renderable (hierarchy) + */ extends Renderable { + byte aByte6460; + short[] aShortArray6461; + byte[] aByteArray6462; + byte aByte6463; + byte aByte6464; + int anInt6465; + byte aByte6466; + + RenderableSub8(int i, int i_0_, int i_1_, int i_2_, int i_3_, short[] is, byte[] is_4_) { + this.aByte6466 = (byte) i; + this.aByte6464 = (byte) i_0_; + this.anInt6465 = i_1_; + this.aByte6460 = (byte) i_2_; + this.aByte6463 = (byte) i_3_; + this.aShortArray6461 = is; + this.aByteArray6462 = is_4_; + } +} diff --git a/client/scene/graph/RenderableSub9.java b/client/scene/graph/RenderableSub9.java new file mode 100644 index 000000000..83a6643b1 --- /dev/null +++ b/client/scene/graph/RenderableSub9.java @@ -0,0 +1,28 @@ +/* RenderableSub9 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +class RenderableSub9 +/** + * RENAMED from `Class318_Sub9` (JODE-obfuscated). + * Evidence: subclass of Renderable (hierarchy) + */ extends Renderable { + static int anInt6467; + RenderableSub9 aClass318_Sub9_6468; + RenderableSub9 aClass318_Sub9_6469; + + final void method2514(int i) { + anInt6467++; + if (this.aClass318_Sub9_6468 != null) { + this.aClass318_Sub9_6468.aClass318_Sub9_6469 = this.aClass318_Sub9_6469; + this.aClass318_Sub9_6469.aClass318_Sub9_6468 = this.aClass318_Sub9_6468; + this.aClass318_Sub9_6469 = null; + this.aClass318_Sub9_6468 = null; + int i_0_ = 123 / ((6 - i) / 37); + } + } + + public RenderableSub9() { + /* empty */ + } +} diff --git a/client/scene/graph/RenderableSub9Sub2.java b/client/scene/graph/RenderableSub9Sub2.java new file mode 100644 index 000000000..2a08c040d --- /dev/null +++ b/client/scene/graph/RenderableSub9Sub2.java @@ -0,0 +1,67 @@ +/* RenderableSub9Sub2 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +class RenderableSub9Sub2 +/** + * RENAMED from `Class318_Sub9_Sub2` (JODE-obfuscated). + * Evidence: subclass of RenderableSub9 (hierarchy) + */ extends RenderableSub9 { + int anInt8789; + int anInt8790; + int anInt8791; + int anInt8792; + int anInt8793; + boolean aBoolean8794; + byte aByte8795 = 5; + int anInt8796; + static int[] anIntArray8797 = {19, 55, 38, 155, 255, 110, 137, 205, 76}; + + public static void method2518(int i) { + if (i == 137) anIntArray8797 = null; + } + + static final void method2519(RenderableObject class318_sub1, int i, int i_0_, int i_1_, int i_2_, int i_3_) { + boolean bool = true; + int i_4_ = i_0_; + int i_5_ = i_0_ + i_2_; + int i_6_ = i_1_ - 1; + int i_7_ = i_1_ + i_3_; + for (int i_8_ = i; i_8_ <= i + 1; i_8_++) { + if (i_8_ != Component291.anInt2524) { + for (int i_9_ = i_4_; i_9_ <= i_5_; i_9_++) { + if (i_9_ >= 0 && i_9_ < StaticElementRenderer.anInt6451) { + for (int i_10_ = i_6_; i_10_ <= i_7_; i_10_++) { + if (i_10_ >= 0 && i_10_ < NodeSub41.anInt7054 && (!bool || i_9_ >= i_5_ || i_10_ >= i_7_ || i_10_ < i_1_ && i_9_ != i_0_)) { + Component186 class357 = (Component335.aClass357ArrayArrayArray2029[i_8_][i_9_][i_10_]); + if (class357 != null) { + int i_11_ = (((ShaderSub1.aSArray5191[i_8_].method3982((byte) -86, i_10_, i_9_)) + (ShaderSub1.aSArray5191[i_8_].method3982((byte) -86, i_10_, i_9_ + 1)) + (ShaderSub1.aSArray5191[i_8_].method3982((byte) -86, i_10_ + 1, i_9_)) + (ShaderSub1.aSArray5191[i_8_].method3982((byte) -86, i_10_ + 1, i_9_ + 1))) / 4 - ((ShaderSub1.aSArray5191[i].method3982((byte) -86, i_1_, i_0_)) + (ShaderSub1.aSArray5191[i].method3982((byte) -86, i_1_, i_0_ + 1)) + (ShaderSub1.aSArray5191[i].method3982((byte) -86, i_1_ + 1, i_0_)) + (ShaderSub1.aSArray5191[i].method3982((byte) -86, i_1_ + 1, i_0_ + 1))) / 4); + Component269 class318_sub1_sub4 = (class357.aClass318_Sub1_Sub4_4406); + Component269 class318_sub1_sub4_12_ = (class357.aClass318_Sub1_Sub4_4403); + if (class318_sub1_sub4 != null && class318_sub1_sub4.method2388(-127)) + class318_sub1.method2380(JaclibLoader.toolkit, i_11_, bool, class318_sub1_sub4, (((i_10_ - i_1_) * Component148.anInt3465) + ((1 - i_3_) * (DisplayModeManagerContainer64.anInt9037))), (byte) -112, (((i_9_ - i_0_) * Component148.anInt3465) + ((1 - i_2_) * (DisplayModeManagerContainer64.anInt9037)))); + if (class318_sub1_sub4_12_ != null && class318_sub1_sub4_12_.method2388(-100)) + class318_sub1.method2380(JaclibLoader.toolkit, i_11_, bool, class318_sub1_sub4_12_, (((i_10_ - i_1_) * Component148.anInt3465) + ((1 - i_3_) * (DisplayModeManagerContainer64.anInt9037))), (byte) -115, (((i_9_ - i_0_) * Component148.anInt3465) + ((1 - i_2_) * (DisplayModeManagerContainer64.anInt9037)))); + for (Component3 class148 = (class357.aClass148_4396); class148 != null; class148 = (class148.aClass148_2038)) { + Component327 class318_sub1_sub3 = (class148.aClass318_Sub1_Sub3_2040); + if (class318_sub1_sub3 != null && class318_sub1_sub3.method2388(-111) && (i_9_ == (class318_sub1_sub3.aShort8743) || i_9_ == i_4_) && (i_10_ == (class318_sub1_sub3.aShort8750) || i_10_ == i_6_)) { + int i_13_ = ((class318_sub1_sub3.aShort8751) - (class318_sub1_sub3.aShort8743) + 1); + int i_14_ = ((class318_sub1_sub3.aShort8747) - (class318_sub1_sub3.aShort8750) + 1); + class318_sub1.method2380(JaclibLoader.toolkit, i_11_, bool, class318_sub1_sub3, (((class318_sub1_sub3.aShort8750) - i_1_) * Component148.anInt3465 + ((i_14_ - i_3_) * (DisplayModeManagerContainer64.anInt9037))), (byte) -115, (((class318_sub1_sub3.aShort8743) - i_0_) * Component148.anInt3465 + ((i_13_ - i_2_) * (DisplayModeManagerContainer64.anInt9037)))); + } + } + } + } + } + } + } + i_4_--; + bool = false; + } + } + } + + public RenderableSub9Sub2() { + /* empty */ + } +} diff --git a/client/scene/graph/RenderableSub9Sub2Sub1.java b/client/scene/graph/RenderableSub9Sub2Sub1.java new file mode 100644 index 000000000..2899b04c6 --- /dev/null +++ b/client/scene/graph/RenderableSub9Sub2Sub1.java @@ -0,0 +1,369 @@ +/* RenderableSub9Sub2Sub1 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class RenderableSub9Sub2Sub1 +/** + * RENAMED from `Class318_Sub9_Sub2_Sub1` (JODE-obfuscated). + * Evidence: subclass of RenderableSub9Sub2 (hierarchy) + */ extends RenderableSub9Sub2 { + private short aShort10416; + private int anInt10417; + private short aShort10418; + StaticElementRenderer aClass318_Sub7_10419; + private short aShort10420; + private int anInt10421; + private short aShort10422; + private short aShort10423; + private short aShort10424; + + final void method2520() { + this.aClass318_Sub7_10419.aClass318_Sub10_6439.aClass318_Sub9_Sub2_Sub1Array6475[aShort10416] = null; + Component256.aClass318_Sub9_Sub2_Sub1Array6103[client.anInt5171] = this; + client.anInt5171 = client.anInt5171 + 1 & 0x3ff; + this.unlink(false); + this.method2514(-108); + } + + private final void method2521() { + int i = (this.aClass318_Sub7_10419.aClass318_Sub10_6439.anInt6476); + if ((this.aClass318_Sub7_10419.aClass318_Sub10_6439.aClass318_Sub9_Sub2_Sub1Array6475[i]) != null) this.aClass318_Sub7_10419.aClass318_Sub10_6439.aClass318_Sub9_Sub2_Sub1Array6475[i].method2520(); + this.aClass318_Sub7_10419.aClass318_Sub10_6439.aClass318_Sub9_Sub2_Sub1Array6475[i] = this; + aShort10416 = (short) this.aClass318_Sub7_10419.aClass318_Sub10_6439.anInt6476; + this.aClass318_Sub7_10419.aClass318_Sub10_6439.anInt6476 = i + 1 & 0x1fff; + this.aClass318_Sub7_10419.aClass243_6433.method1869(-98, this); + } + + final void method2522(GraphicsToolkit var_ha, long l) { + int i = this.anInt8791 >> 12 + Component149.anInt4459; + int i_0_ = this.anInt8789 >> 12 + Component149.anInt4459; + int i_1_ = this.anInt8796 >> 12; + if (i_1_ > 0 || i_1_ < -262144 || i < 0 || i >= StaticElementRenderer.anInt6451 || i_0_ < 0 || i_0_ >= NodeSub41.anInt7054) method2520(); + else { + RenderableSub10 class318_sub10 = (this.aClass318_Sub7_10419.aClass318_Sub10_6439); + Component113 class181 = (this.aClass318_Sub7_10419.aClass181_6441); + s[] var_ses = ShaderSub1.aSArray5191; + int i_2_ = class318_sub10.anInt6483; + Component186 class357 = (Component335.aClass357ArrayArrayArray2029[class318_sub10.anInt6483][i][i_0_]); + if (class357 != null) i_2_ = class357.aByte4399; + int i_3_ = var_ses[i_2_].method3982((byte) -86, i_0_, i); + int i_4_; + if (i_2_ < Component291.anInt2524 - 1) i_4_ = var_ses[i_2_ + 1].method3982((byte) -86, i_0_, i); + else i_4_ = i_3_ - (8 << Component149.anInt4459); + if (class181.aBoolean2397) { + if (class181.anInt2384 == -1 && i_1_ > i_3_) { + method2520(); + return; + } + if (class181.anInt2384 >= 0 && i_1_ > var_ses[class181.anInt2384].method3982((byte) -86, i_0_, i)) { + method2520(); + return; + } + if (class181.anInt2423 == -1 && i_1_ < i_4_) { + method2520(); + return; + } + if (class181.anInt2423 >= 0 && i_1_ < var_ses[class181.anInt2423 + 1].method3982((byte) -86, i_0_, i)) { + method2520(); + return; + } + } + int i_5_; + for (i_5_ = Component291.anInt2524 - 1; (i_5_ > 0 && i_1_ > var_ses[i_5_].method3982((byte) -86, i_0_, i)); i_5_--) { + /* empty */ + } + if (class181.aBoolean2376 && i_5_ == 0 && i_1_ > var_ses[0].method3982((byte) -86, i_0_, i)) method2520(); + else if (i_5_ == Component291.anInt2524 - 1 && (var_ses[i_5_].method3982((byte) -86, i_0_, i) - i_1_ > 8 << Component149.anInt4459)) method2520(); + else { + class357 = Component335.aClass357ArrayArrayArray2029[i_5_][i][i_0_]; + if (class357 == null) { + if (i_5_ == 0 || (Component335.aClass357ArrayArrayArray2029[0][i][i_0_] == null)) class357 = Component335.aClass357ArrayArrayArray2029[0][i][i_0_] = new Component186(0); + boolean bool = (Component335.aClass357ArrayArrayArray2029[0][i][i_0_].aClass357_4400 != null); + if (i_5_ == 3 && bool) { + method2520(); + return; + } + for (int i_6_ = 1; i_6_ <= i_5_; i_6_++) { + if ((Component335.aClass357ArrayArrayArray2029[i_6_][i][i_0_]) == null) { + class357 = Component335.aClass357ArrayArrayArray2029[i_6_][i][i_0_] = new Component186(i_6_); + if (bool) class357.aByte4399++; + } + } + } + if (class181.aBoolean2424) { + int i_7_ = this.anInt8791 >> 12; + int i_8_ = this.anInt8789 >> 12; + if (class357.aClass318_Sub1_Sub4_4406 != null) { + ComponentDownloader class30 = class357.aClass318_Sub1_Sub4_4406.method2381(var_ha, 7); + if (class30 != null && class30.method321(-14735, i_8_, i_1_, i_7_)) { + method2520(); + return; + } + } + if (class357.aClass318_Sub1_Sub4_4403 != null) { + ComponentDownloader class30 = class357.aClass318_Sub1_Sub4_4403.method2381(var_ha, 7); + if (class30 != null && class30.method321(-14735, i_8_, i_1_, i_7_)) { + method2520(); + return; + } + } + if (class357.aClass318_Sub1_Sub1_4402 != null) { + ComponentDownloader class30 = class357.aClass318_Sub1_Sub1_4402.method2381(var_ha, 7); + if (class30 != null && class30.method321(-14735, i_8_, i_1_, i_7_)) { + method2520(); + return; + } + } + for (Component3 class148 = class357.aClass148_4396; class148 != null; class148 = class148.aClass148_2038) { + ComponentDownloader class30 = class148.aClass318_Sub1_Sub3_2040.method2381(var_ha, 7); + if (class30 != null && class30.method321(-14735, i_8_, i_1_, i_7_)) { + method2520(); + return; + } + } + } + class318_sub10.aClass98_6481.aClass88_1569.method844(this, true); + } + } + } + + final void method2523(StaticElementRenderer class318_sub7, int i, int i_9_, int i_10_, int i_11_, int i_12_, int i_13_, int i_14_, int i_15_, int i_16_, int i_17_, int i_18_, boolean bool, boolean bool_19_) { + this.aClass318_Sub7_10419 = class318_sub7; + this.anInt8791 = i << 12; + this.anInt8796 = i_9_ << 12; + this.anInt8789 = i_10_ << 12; + this.anInt8790 = i_16_; + aShort10418 = aShort10420 = (short) i_15_; + this.anInt8793 = i_17_; + this.anInt8792 = i_18_; + this.aBoolean8794 = bool_19_; + aShort10424 = (short) i_11_; + aShort10423 = (short) i_12_; + aShort10422 = (short) i_13_; + anInt10421 = i_14_; + this.aByte8795 = this.aClass318_Sub7_10419.aClass129_6436.aByte1875; + method2521(); + } + + final void method2524(long l, int i) { + aShort10420 -= i; + if (aShort10420 <= 0) method2520(); + else { + int i_20_ = this.anInt8791 >> 12; + int i_21_ = this.anInt8796 >> 12; + int i_22_ = this.anInt8789 >> 12; + RenderableSub10 class318_sub10 = (this.aClass318_Sub7_10419.aClass318_Sub10_6439); + Component113 class181 = (this.aClass318_Sub7_10419.aClass181_6441); + if (class181.anInt2386 != 0) { + if (aShort10418 - aShort10420 <= class181.anInt2373) { + int i_23_ = ((this.anInt8790 >> 8 & 0xff00) + (anInt10417 >> 16 & 0xff) + class181.anInt2426 * i); + int i_24_ = ((this.anInt8790 & 0xff00) + (anInt10417 >> 8 & 0xff) + class181.anInt2421 * i); + int i_25_ = ((this.anInt8790 << 8 & 0xff00) + (anInt10417 & 0xff) + class181.anInt2405 * i); + if (i_23_ < 0) i_23_ = 0; + else if (i_23_ > 65535) i_23_ = 65535; + if (i_24_ < 0) i_24_ = 0; + else if (i_24_ > 65535) i_24_ = 65535; + if (i_25_ < 0) i_25_ = 0; + else if (i_25_ > 65535) i_25_ = 65535; + this.anInt8790 &= ~0xffffff; + this.anInt8790 |= (((i_23_ & 0xff00) << 8) + (i_24_ & 0xff00) + ((i_25_ & 0xff00) >> 8)); + anInt10417 &= ~0xffffff; + anInt10417 |= (((i_23_ & 0xff) << 16) + ((i_24_ & 0xff) << 8) + (i_25_ & 0xff)); + } + if (aShort10418 - aShort10420 <= class181.anInt2381) { + int i_26_ = ((this.anInt8790 >> 16 & 0xff00) + (anInt10417 >> 24 & 0xff) + class181.anInt2416 * i); + if (i_26_ < 0) i_26_ = 0; + else if (i_26_ > 65535) i_26_ = 65535; + this.anInt8790 &= 0xffffff; + this.anInt8790 |= (i_26_ & 0xff00) << 16; + anInt10417 &= 0xffffff; + anInt10417 |= (i_26_ & 0xff) << 24; + } + } + if (class181.anInt2404 != -1 && (aShort10418 - aShort10420 <= class181.anInt2383)) anInt10421 += class181.anInt2377 * i; + if (class181.anInt2427 != -1 && (aShort10418 - aShort10420 <= class181.anInt2388)) this.anInt8793 += class181.anInt2439 * i; + double d = aShort10424; + double d_27_ = aShort10423; + double d_28_ = aShort10422; + boolean bool = false; + if (class181.anInt2436 == 1) { + int i_29_ = i_20_ - this.aClass318_Sub7_10419.aClass284_6444.anInt3673; + int i_30_ = i_21_ - this.aClass318_Sub7_10419.aClass284_6444.anInt3667; + int i_31_ = i_22_ - this.aClass318_Sub7_10419.aClass284_6444.anInt3671; + int i_32_ = ((int) Math.sqrt(i_29_ * i_29_ + i_30_ * i_30_ + i_31_ * i_31_) >> 2); + long l_33_ = class181.anInt2437 * i_32_ * i; + anInt10421 -= (long) anInt10421 * l_33_ >> 18; + } else if (class181.anInt2436 == 2) { + int i_34_ = i_20_ - this.aClass318_Sub7_10419.aClass284_6444.anInt3673; + int i_35_ = i_21_ - this.aClass318_Sub7_10419.aClass284_6444.anInt3667; + int i_36_ = i_22_ - this.aClass318_Sub7_10419.aClass284_6444.anInt3671; + int i_37_ = i_34_ * i_34_ + i_35_ * i_35_ + i_36_ * i_36_; + long l_38_ = class181.anInt2437 * i_37_ * i; + anInt10421 -= (long) anInt10421 * l_38_ >> 28; + } + if (class181.anIntArray2402 != null) { + Node class348 = (class318_sub10.aClass262_6479.sentinel); + for (Node class348_39_ = class348.next; class348_39_ != class348; class348_39_ = class348_39_.next) { + HashNodeSub20 class348_sub42_sub20 = (HashNodeSub20) class348_39_; + RadixParser class174 = (class348_sub42_sub20.aClass174_9704); + if (class174.anInt2296 != 1) { + boolean bool_40_ = false; + for (int i_41_ = 0; (i_41_ < class181.anIntArray2402.length); i_41_++) { + if (class181.anIntArray2402[i_41_] == class174.anInt2303) { + bool_40_ = true; + break; + } + } + if (bool_40_) { + double d_42_ = i_20_ - (class348_sub42_sub20.anInt9712); + double d_43_ = i_21_ - (class348_sub42_sub20.anInt9706); + double d_44_ = i_22_ - (class348_sub42_sub20.anInt9710); + double d_45_ = (d_42_ * d_42_ + d_43_ * d_43_ + d_44_ * d_44_); + if (!(d_45_ > (double) (class174.aLong2301))) { + double d_46_ = Math.sqrt(d_45_); + if (d_46_ == 0.0) d_46_ = 1.0; + double d_47_ = (((d_42_ * (double) (class348_sub42_sub20.anInt9705)) + d_43_ * (double) class174.anInt2290 + (d_44_ * (double) (class348_sub42_sub20.anInt9707))) * 65535.0 / ((double) (class174.anInt2299) * d_46_)); + if (!(d_47_ < (double) (class174.anInt2298))) { + double d_48_ = 0.0; + if (class174.anInt2289 == 1) d_48_ = (d_46_ / 16.0 * (double) (class174.anInt2304)); + else if (class174.anInt2289 == 2) d_48_ = (d_46_ / 16.0 * (d_46_ / 16.0) * (double) (class174.anInt2304)); + if (class174.anInt2292 == 0) { + if (class174.anInt2297 == 0) { + d += ((double) (class348_sub42_sub20.anInt9705) - d_48_) * (double) i; + d_27_ += ((double) (class174.anInt2290) - d_48_) * (double) i; + d_28_ += ((double) (class348_sub42_sub20.anInt9707) - d_48_) * (double) i; + bool = true; + } else { + this.anInt8791 += ((double) (class348_sub42_sub20.anInt9705) - d_48_) * (double) i; + this.anInt8796 += ((double) (class174.anInt2290) - d_48_) * (double) i; + this.anInt8789 += ((double) (class348_sub42_sub20.anInt9707) - d_48_) * (double) i; + } + } else { + double d_49_ = (d_42_ / d_46_ * (double) (class174.anInt2299)); + double d_50_ = (d_43_ / d_46_ * (double) (class174.anInt2299)); + double d_51_ = (d_44_ / d_46_ * (double) (class174.anInt2299)); + if (class174.anInt2297 == 0) { + d += d_49_ * (double) i; + d_27_ += d_50_ * (double) i; + d_28_ += d_51_ * (double) i; + bool = true; + } else { + this.anInt8791 += d_49_ * (double) i; + this.anInt8796 += d_50_ * (double) i; + this.anInt8789 += d_51_ * (double) i; + } + } + } + } + } + } + } + } + if (class181.anIntArray2380 != null) { + for (int i_52_ = 0; i_52_ < class181.anIntArray2380.length; i_52_++) { + HashNodeSub20 class348_sub42_sub20 = ((HashNodeSub20) (OpenGlShader.aClass32_7415.method334(class181.anIntArray2380[i_52_], (byte) 121))); + while (class348_sub42_sub20 != null) { + RadixParser class174 = (class348_sub42_sub20.aClass174_9704); + double d_53_ = i_20_ - class348_sub42_sub20.anInt9712; + double d_54_ = i_21_ - class348_sub42_sub20.anInt9706; + double d_55_ = i_22_ - class348_sub42_sub20.anInt9710; + double d_56_ = d_53_ * d_53_ + d_54_ * d_54_ + d_55_ * d_55_; + if (d_56_ > (double) class174.aLong2301) class348_sub42_sub20 = (HashNodeSub20) OpenGlShader.aClass32_7415.method336(true); + else { + double d_57_ = Math.sqrt(d_56_); + if (d_57_ == 0.0) d_57_ = 1.0; + double d_58_ = ((d_53_ * (double) (class348_sub42_sub20.anInt9705) + d_54_ * (double) (class174.anInt2290) + d_55_ * (double) (class348_sub42_sub20.anInt9707)) * 65535.0 / ((double) class174.anInt2299 * d_57_)); + if (d_58_ < (double) class174.anInt2298) class348_sub42_sub20 = ((HashNodeSub20) OpenGlShader.aClass32_7415.method336(true)); + else { + double d_59_ = 0.0; + if (class174.anInt2289 == 1) d_59_ = (d_57_ / 16.0 * (double) (class174.anInt2304)); + else if (class174.anInt2289 == 2) d_59_ = (d_57_ / 16.0 * (d_57_ / 16.0) * (double) (class174.anInt2304)); + if (class174.anInt2292 == 0) { + if (class174.anInt2297 == 0) { + d += ((double) (class348_sub42_sub20.anInt9705) - d_59_) * (double) i; + d_27_ += ((double) (class174.anInt2290) - d_59_) * (double) i; + d_28_ += ((double) (class348_sub42_sub20.anInt9707) - d_59_) * (double) i; + bool = true; + } else { + this.anInt8791 += ((double) (class348_sub42_sub20.anInt9705) - d_59_) * (double) i; + this.anInt8796 += ((double) (class174.anInt2290) - d_59_) * (double) i; + this.anInt8789 += ((double) (class348_sub42_sub20.anInt9707) - d_59_) * (double) i; + } + } else { + double d_60_ = (d_53_ / d_57_ * (double) (class174.anInt2299)); + double d_61_ = (d_54_ / d_57_ * (double) (class174.anInt2299)); + double d_62_ = (d_55_ / d_57_ * (double) (class174.anInt2299)); + if (class174.anInt2297 == 0) { + d += d_60_ * (double) i; + d_27_ += d_61_ * (double) i; + d_28_ += d_62_ * (double) i; + bool = true; + } else { + this.anInt8791 += d_60_ * (double) i; + this.anInt8796 += d_61_ * (double) i; + this.anInt8789 += d_62_ * (double) i; + } + } + class348_sub42_sub20 = ((HashNodeSub20) OpenGlShader.aClass32_7415.method336(true)); + } + } + } + } + } + if (class181.anIntArray2395 != null) { + if (class181.anIntArray2385 == null) { + class181.anIntArray2385 = new int[class181.anIntArray2395.length]; + for (int i_63_ = 0; i_63_ < class181.anIntArray2395.length; i_63_++) { + Component52.method1943(false, (class181.anIntArray2395[i_63_])); + class181.anIntArray2385[i_63_] = ((NodeSub35) Component317.aClass356_8679.get(class181.anIntArray2395[i_63_], -6008)).intValue; + } + } + for (int i_64_ = 0; i_64_ < class181.anIntArray2385.length; i_64_++) { + RadixParser class174 = (Component248.aClass174Array311[class181.anIntArray2385[i_64_]]); + if (class174.anInt2297 == 0) { + d += class174.anInt2291 * i; + d_27_ += class174.anInt2290 * i; + d_28_ += class174.anInt2294 * i; + bool = true; + } else { + this.anInt8791 += class174.anInt2291 * i; + this.anInt8796 += class174.anInt2290 * i; + this.anInt8789 += class174.anInt2294 * i; + } + } + } + if (bool) { + while (d > 32767.0 || d_27_ > 32767.0 || d_28_ > 32767.0 || d < -32767.0 || d_27_ < -32767.0 || d_28_ < -32767.0) { + d /= 2.0; + d_27_ /= 2.0; + d_28_ /= 2.0; + anInt10421 <<= 1; + } + aShort10424 = (short) (int) d; + aShort10423 = (short) (int) d_27_; + aShort10422 = (short) (int) d_28_; + } + this.anInt8791 += (((long) aShort10424 * (long) (anInt10421 << 2) >> 23) * (long) i); + this.anInt8796 += (((long) aShort10423 * (long) (anInt10421 << 2) >> 23) * (long) i); + this.anInt8789 += (((long) aShort10422 * (long) (anInt10421 << 2) >> 23) * (long) i); + } + } + + RenderableSub9Sub2Sub1(StaticElementRenderer class318_sub7, int i, int i_65_, int i_66_, int i_67_, int i_68_, int i_69_, int i_70_, int i_71_, int i_72_, int i_73_, int i_74_, boolean bool, boolean bool_75_) { + this.aClass318_Sub7_10419 = class318_sub7; + this.anInt8791 = i << 12; + this.anInt8796 = i_65_ << 12; + this.anInt8789 = i_66_ << 12; + this.anInt8790 = i_72_; + aShort10418 = aShort10420 = (short) i_71_; + this.anInt8793 = i_73_; + this.anInt8792 = i_74_; + this.aBoolean8794 = bool_75_; + aShort10424 = (short) i_67_; + aShort10423 = (short) i_68_; + aShort10422 = (short) i_69_; + anInt10421 = i_70_; + this.aByte8795 = this.aClass318_Sub7_10419.aClass129_6436.aByte1875; + method2521(); + } +} diff --git a/client/scene/graph/SceneManager.java b/client/scene/graph/SceneManager.java new file mode 100644 index 000000000..af3d29e1d --- /dev/null +++ b/client/scene/graph/SceneManager.java @@ -0,0 +1,117 @@ +/* SceneManager - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class218` (JODE-obfuscated). + * Scene/world manager. Holds the master NodeList of scene nodes (aClass262_2859) and builds the 3D scene (method1591) using the GraphicsToolkit and tile data. + */ + +final class SceneManager { + static int anInt2849; + static int anInt2850; + Component258 aClass141_2851; + static int anInt2852; + int anInt2853; + boolean aBoolean2854 = false; + static int anInt2855; + int anInt2856; + static int anInt2857; + static int anInt2858; + static NodeList aClass262_2859 = new NodeList(); + static Component183 aClass114_2860; + static int anInt2861 = 1401; + + static final void method1591(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_) { + anInt2855++; + if (i >= 1 && i_5_ >= 1 && -2 + AbstractShaderSub4.anInt7319 >= i && i_5_ <= -2 + ParametricDefinition.anInt9109) { + int i_8_ = i_7_; + if (i_8_ < 3 && NpcComposition.method802(i_5_, i, true)) i_8_++; + if ((Component192.aClass348_Sub51_3959.aClass239_Sub27_7261.method1840(-32350) == 0 && !Component255.method536(i_5_, false, i, Component385.anInt2204, i_8_)) || Component335.aClass357ArrayArrayArray2029 == null) return; + Component103.aClass237_Sub1_4197.method1694((NodeSub45.aClass361Array7108[i_7_]), i_1_, i_7_, NodeSub8.toolkit, i, i_5_, (byte) 106); + if (i_3_ >= 0) { + int i_9_ = Component192.aClass348_Sub51_3959.aClass239_Sub4_7220.method1737(-32350); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub4_7220), 1); + Component103.aClass237_Sub1_4197.method1689(i, i_7_, i_3_, NodeSub8.toolkit, i_8_, 50, i_4_, i_5_, i_2_, i_6_, (NodeSub45.aClass361Array7108[i_7_])); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub4_7220), i_9_); + } + } + if (i_0_ < 12) aClass262_2859 = null; + } + + static final void method1592(byte i, int i_10_, int i_11_, int i_12_, Player player) { + anInt2849++; + int i_13_ = (player.anIntArray10320[0]); + int i_14_ = (player.anIntArray10317[0]); + if (i_13_ >= 0 && AbstractShaderSub4.anInt7319 > i_13_ && i_14_ >= 0 && i_14_ < ParametricDefinition.anInt9109 && (i_12_ >= 0 && i_12_ < AbstractShaderSub4.anInt7319 && i_10_ >= 0 && ParametricDefinition.anInt9109 > i_10_)) { + int i_15_ = (Component317.method574(i_12_, player.method2436((byte) 62), 0, DefinitionSub11.anIntArray9185, true, (byte) 120, -4, i_13_, i_14_, HashNodeSub14.anIntArray9626, i_10_, (NodeSub45.aClass361Array7108[(player.plane)]), 0, 0, 0)); + if (i_15_ >= 1) { + if (i_11_ != 4) aClass262_2859 = null; + if (i_15_ <= 3) { + for (int i_16_ = 0; i_16_ < -1 + i_15_; i_16_++) + player.method2451(i, HashNodeSub14.anIntArray9626[i_16_], i_11_ + -29038, DefinitionSub11.anIntArray9185[i_16_]); + } + } + } + } + + public SceneManager() { + /* empty */ + } + + final boolean method1593(int i) { + if (i != 106) this.aClass141_2851 = null; + anInt2858++; + return this.aClass141_2851.aClass45_1965.isSingletonFileReady(false, this.anInt2853); + } + + public static void method1594(int i) { + aClass262_2859 = null; + if (i != -1966608624) aClass262_2859 = null; + aClass114_2860 = null; + } + + private final void method1595(byte i, int i_17_, Buffer class348_sub49) { + anInt2852++; + if (i >= 5) { + if (i_17_ == 1) this.anInt2853 = class348_sub49.readUnsignedShort(842397944); + else if (i_17_ != 2) { + if (i_17_ == 3) this.aBoolean2854 = true; + else if (i_17_ == 4) this.anInt2853 = -1; + } else this.anInt2856 = class348_sub49.readMedium(-1); + } + } + + final Component24 method1596(int i, boolean bool, int i_18_, GraphicsToolkit var_ha) { + anInt2857++; + if (i_18_ < 51) aClass114_2860 = null; + long l = var_ha.anInt4567 << 19 | (this.anInt2853 | i << 16 | (!bool ? 0 : 262144)); + Component24 class105 = (Component24) this.aClass141_2851.aClass60_1976.get(l, -87); + if (class105 != null) return class105; + if (!this.aClass141_2851.aClass45_1965.isSingletonFileReady(false, this.anInt2853)) return null; + Component170 class207 = Component170.method1521(this.aClass141_2851.aClass45_1965, this.anInt2853, 0); + if (class207 != null) { + class207.anInt2701 = class207.anInt2703 = class207.anInt2698 = class207.anInt2700 = 0; + if (bool) class207.method1514(); + for (int i_19_ = 0; i_19_ < i; i_19_++) + class207.method1520(); + } + class105 = var_ha.method3691(class207, true); + if (class105 != null) this.aClass141_2851.aClass60_1976.putOne(class105, l, (byte) -101); + return class105; + } + + final void method1597(byte i, Buffer class348_sub49) { + anInt2850++; + for (; ; ) { + int i_20_ = class348_sub49.readUnsignedByte(255); + if (i_20_ == 0) break; + method1595((byte) 61, i_20_, class348_sub49); + } + if (i != -114) aClass262_2859 = null; + } + + static { + aClass114_2860 = new Component183(106, 8); + } +} diff --git a/client/scene/graph/SceneNode.java b/client/scene/graph/SceneNode.java new file mode 100644 index 000000000..131076ab6 --- /dev/null +++ b/client/scene/graph/SceneNode.java @@ -0,0 +1,256 @@ +/* SceneNode - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub9` (JODE-obfuscated). + * Scene-graph node (extends Node) wrapping a RenderableObject. method2778 inserts a renderable into the tile heightmap / render list after visibility checks. + */ + +final class SceneNode extends Node { + int anInt6668; + static int anInt6669; + int anInt6670; + static int anInt6671; + static int anInt6672; + NodeSub16Sub5 aClass348_Sub16_Sub5_6673; + boolean aBoolean6674; + int anInt6675 = 0; + NodeSub16Sub5 aClass348_Sub16_Sub5_6676; + int anInt6677; + int anInt6678; + Player aPlayer_6679; + int anInt6680; + int anInt6681; + static int anInt6682; + NodeSub10 aClass348_Sub10_6683; + boolean aBoolean6684; + int anInt6685; + NodeSub19Sub1 aClass348_Sub19_Sub1_6686; + int anInt6687; + NodeSub10 aClass348_Sub10_6688; + int anInt6689; + static int anInt6690; + Npc aNpc_6691; + NodeSub19Sub1 aClass348_Sub19_Sub1_6692; + int anInt6693; + int anInt6694; + Component44 aClass51_6695; + int anInt6696; + int[] anIntArray6697; + int anInt6698; + boolean aBoolean6699; + + static final boolean method2778(RenderableObject class318_sub1, boolean bool, byte[][][] is, int i, byte i_0_) { + if (!DefinitionSub17.aBoolean9242) return false; + int i_1_ = class318_sub1.x >> Component149.anInt4459; + int i_2_ = i_1_; + int i_3_ = class318_sub1.y >> Component149.anInt4459; + int i_4_ = i_3_; + if (class318_sub1 instanceof Component327) { + i_2_ = (((Component327) class318_sub1).aShort8751); + i_4_ = (((Component327) class318_sub1).aShort8747); + i_1_ = (((Component327) class318_sub1).aShort8743); + i_3_ = (((Component327) class318_sub1).aShort8750); + } + for (int i_5_ = i_1_; i_5_ <= i_2_; i_5_++) { + for (int i_6_ = i_3_; i_6_ <= i_4_; i_6_++) { + if ((class318_sub1.aByte6376 < Component291.anInt2524) && i_5_ >= NameFormatter.anInt492 && i_5_ < DisplayModeManagerContainer91.anInt387 && i_6_ >= NodeSub34.anInt6974 && i_6_ < Component210.anInt5293) { + if ((is != null && class318_sub1.plane >= i && (is[class318_sub1.plane][i_5_][i_6_]) == i_0_) || !class318_sub1.method2378(0) || class318_sub1.method2382((byte) -79)) { + if (!bool && i_5_ >= Component256.anInt6111 - 16 && i_5_ <= Component256.anInt6111 + 16 && i_6_ >= DebugPanicSub2.anInt8502 - 16 && i_6_ <= DebugPanicSub2.anInt8502 + 16) { + if (DefinitionSub5.aBoolean9121) { + Component144.aClass315Array3982[GpsOverlay.anInt1949++].method2361(-15481, class318_sub1); + GpsOverlay.anInt1949 %= DisplayModeManagerContainer216.anInt5652; + } else class318_sub1.method2387(JaclibLoader.toolkit, -128); + } + } else return false; + } + } + } + return true; + } + + static final int method2779(boolean bool, int i) { + anInt6672++; + if (i == 6407 || i == 34843 || i == 34837) return 6407; + if (i == 6408 || i == 34842 || i == 34836) return 6408; + if (i == 6406 || i == 34844) return 6406; + if (i == 6409 || i == 34846) return 6409; + if (i == 6410 || i == 34847) return 6410; + if (bool != true) method2780(36, null, (byte) -28, -58, -120); + if (i == 6402) return 6402; + throw new IllegalArgumentException(""); + } + + static final void method2780(int i, String string, byte i_7_, int i_8_, int i_9_) { + do { + try { + anInt6669++; + DisplayModeManagerContainer57 class46 = NodeSub22.method2957(i, (byte) -54, i_9_); + if (class46 != null) { + if (class46.anObjectArray741 != null) { + NodeSub36 class348_sub36 = new NodeSub36(); + class348_sub36.aClass46_6989 = class46; + class348_sub36.aString6994 = string; + class348_sub36.anObjectArray6987 = class46.anObjectArray741; + class348_sub36.anInt6986 = i_8_; + ClientScriptExecutor.method705(class348_sub36); + } + if (Component49.clientState == 10 && client.method105(class46).method3301(-1 + i_8_, false)) { + if (i_8_ == 1) { + Component162.anInt8380++; + ParticleSystem class348_sub47 = ParticleShader.method2148((DisplayModeManagerContainer91.aClass351_398), (DisplayModeManagerContainer64.aClass77_9029), -93); + Component121.method3614(i_9_, i, class46.anInt812, class348_sub47, -19692); + HashNodeSub14.method3243(118, class348_sub47); + } + if (i_8_ == 2) { + InputStream_Sub1.anInt71++; + ParticleSystem class348_sub47 = ParticleShader.method2148((Component33.aClass351_2638), (DisplayModeManagerContainer64.aClass77_9029), -98); + Component121.method3614(i_9_, i, class46.anInt812, class348_sub47, -19692); + HashNodeSub14.method3243(126, class348_sub47); + } + if (i_8_ == 3) { + Component156.anInt3703++; + ParticleSystem class348_sub47 = ParticleShader.method2148((WaterSurfaceShader.aClass351_6244), (DisplayModeManagerContainer64.aClass77_9029), -93); + Component121.method3614(i_9_, i, class46.anInt812, class348_sub47, -19692); + HashNodeSub14.method3243(-80, class348_sub47); + } + if (i_8_ == 4) { + Component330.anInt1514++; + ParticleSystem class348_sub47 = ParticleShader.method2148((ShaderSub3.aClass351_5204), (DisplayModeManagerContainer64.aClass77_9029), -82); + Component121.method3614(i_9_, i, class46.anInt812, class348_sub47, -19692); + HashNodeSub14.method3243(116, class348_sub47); + } + int i_10_ = -80 / ((64 - i_7_) / 43); + if (i_8_ == 5) { + MatrixSub2.anInt5714++; + ParticleSystem class348_sub47 = ParticleShader.method2148((Cp1252Decoder.aClass351_5217), (DisplayModeManagerContainer64.aClass77_9029), -94); + Component121.method3614(i_9_, i, class46.anInt812, class348_sub47, -19692); + HashNodeSub14.method3243(123, class348_sub47); + } + if (i_8_ == 6) { + Component49.anInt4680++; + ParticleSystem class348_sub47 = ParticleShader.method2148((Component303.aClass351_2892), (DisplayModeManagerContainer64.aClass77_9029), -100); + Component121.method3614(i_9_, i, class46.anInt812, class348_sub47, -19692); + HashNodeSub14.method3243(-4, class348_sub47); + } + if (i_8_ == 7) { + Component374.anInt4134++; + ParticleSystem class348_sub47 = ParticleShader.method2148((Component142.aClass351_4418), (DisplayModeManagerContainer64.aClass77_9029), -84); + Component121.method3614(i_9_, i, class46.anInt812, class348_sub47, -19692); + HashNodeSub14.method3243(118, class348_sub47); + } + if (i_8_ == 8) { + DisplayModeManagerContainer67.anInt1726++; + ParticleSystem class348_sub47 = ParticleShader.method2148((Component315.aClass351_3165), (DisplayModeManagerContainer64.aClass77_9029), -117); + Component121.method3614(i_9_, i, class46.anInt812, class348_sub47, -19692); + HashNodeSub14.method3243(-96, class348_sub47); + } + if (i_8_ == 9) { + NewsFetcher.anInt4198++; + ParticleSystem class348_sub47 = ParticleShader.method2148((ResourceLoader.aClass351_3898), (DisplayModeManagerContainer64.aClass77_9029), -107); + Component121.method3614(i_9_, i, class46.anInt812, class348_sub47, -19692); + HashNodeSub14.method3243(119, class348_sub47); + } + if (i_8_ != 10) break; + Component17.anInt3886++; + ParticleSystem class348_sub47 = ParticleShader.method2148(Component337.aClass351_3644, (DisplayModeManagerContainer64.aClass77_9029), -120); + Component121.method3614(i_9_, i, class46.anInt812, class348_sub47, -19692); + HashNodeSub14.method3243(117, class348_sub47); + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("hf.D(" + i + ',' + (string != null ? "{...}" : "null") + ',' + i_7_ + ',' + i_8_ + ',' + i_9_ + ')')); + } + break; + } while (false); + } + + final void method2781(byte i) { + anInt6671++; + int i_11_ = this.anInt6685; + if (i == 21) { + boolean bool = this.aBoolean6674; + if (this.aClass51_6695 == null) { + if (this.aNpc_6691 == null) { + if ((this.aPlayer_6679) != null) { + this.anInt6685 = (Component168.method2357(-1, (this.aPlayer_6679))); + this.anInt6694 = (this.aPlayer_6679.anInt10553) << 9; + this.anInt6677 = (this.aPlayer_6679.anInt10558); + this.anInt6681 = 256; + this.anInt6696 = 256; + this.aBoolean6674 = (this.aPlayer_6679.aBoolean10517); + } + } else { + int i_12_ = (DisplayModeManagerContainer345.method214((this.aNpc_6691), -1)); + if (i_12_ != i_11_) { + this.anInt6685 = i_12_; + NpcComposition class79 = (this.aNpc_6691.definition); + if (class79.anIntArray1377 != null) class79 = class79.method794((DisplayModeManagerContainer58.aClass170_10209), -1); + if (class79 == null) { + this.anInt6677 = this.anInt6694 = 0; + this.anInt6681 = 256; + this.anInt6696 = 256; + this.aBoolean6674 = this.aNpc_6691.definition.aBoolean1370; + } else { + this.anInt6694 = class79.anInt1392 << 9; + this.anInt6681 = class79.anInt1363; + this.anInt6677 = class79.anInt1356; + this.aBoolean6674 = class79.aBoolean1370; + this.anInt6696 = class79.anInt1340; + } + } + } + } else { + Component44 class51 = (this.aClass51_6695.method480(DisplayModeManagerContainer58.aClass170_10209, (byte) 47)); + if (class51 == null) { + this.anInt6681 = 256; + this.aBoolean6674 = false; + this.aBoolean6699 = false; + this.anIntArray6697 = null; + this.anInt6668 = 0; + this.anInt6677 = 0; + this.anInt6696 = 256; + this.anInt6680 = 0; + this.anInt6685 = -1; + this.anInt6694 = 0; + } else { + this.anInt6681 = class51.anInt916; + this.anInt6685 = class51.anInt887; + this.anInt6696 = class51.anInt878; + this.anInt6694 = class51.anInt889 << 9; + this.aBoolean6674 = class51.aBoolean888; + this.anInt6680 = class51.anInt962; + this.anInt6677 = class51.anInt936; + this.anInt6668 = class51.anInt937; + this.aBoolean6699 = class51.aBoolean903; + this.anIntArray6697 = class51.anIntArray904; + } + } + if (((i_11_ != this.anInt6685) || bool == !this.aBoolean6674) && this.aClass348_Sub16_Sub5_6676 != null) { + PlayerState.aClass348_Sub16_Sub4_7065.method2880(this.aClass348_Sub16_Sub5_6676); + this.aClass348_Sub19_Sub1_6686 = null; + this.aClass348_Sub16_Sub5_6676 = null; + this.aClass348_Sub10_6688 = null; + } + } + } + + static final byte method2782(int i, int i_13_, int i_14_) { + if (i_14_ != 0) method2783(-96, (byte) -65, -96); + anInt6690++; + if (i_13_ != 9) return (byte) 0; + if ((i & 0x1) == 0) return (byte) 1; + return (byte) 2; + } + + static final boolean method2783(int i, byte i_15_, int i_16_) { + anInt6682++; + int i_17_ = 53 / ((15 - i_15_) / 55); + return (HashNodeSub16Sub1.hasFlag0x10(i_16_, i, 118) & Component63.method3563(i_16_, (byte) 56, i)); + } + + public SceneNode() { + /* empty */ + } +} diff --git a/client/scene/graph/StaticElementRenderer.java b/client/scene/graph/StaticElementRenderer.java new file mode 100644 index 000000000..7e6cfd0cb --- /dev/null +++ b/client/scene/graph/StaticElementRenderer.java @@ -0,0 +1,422 @@ +/* StaticElementRenderer - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class318_Sub7` (JODE-obfuscated). + * Static scene-element renderer. Extends Renderable; draws the '_staticelements' (static map objects / ground decorations) into the scene. + */ + +final class StaticElementRenderer extends Renderable { + Component315 aClass243_6433; + private int anInt6434 = 0; + private final long aLong6435; + Component30 aClass129_6436; + static int anInt6437; + static int anInt6438; + RenderableSub10 aClass318_Sub10_6439; + static int anInt6440; + Component113 aClass181_6441; + static int anInt6442; + static StringCache aClass351_6443 = new StringCache(68, 2); + Component94 aClass284_6444; + static int anInt6445; + boolean aBoolean6446 = false; + int anInt6447; + static int anInt6448; + private Component94 aClass284_6449; + static int anInt6450 = 0; + static int anInt6451; + private int anInt6452; + private boolean aBoolean6453; + private int anInt6454; + private int anInt6455; + private int anInt6456; + private int anInt6457; + private int anInt6458; + private int anInt6459; + + final void method2507(boolean bool) { + this.aClass284_6444.anInt3670 = this.aClass129_6436.anInt1890; + anInt6448++; + this.aClass284_6444.anInt3666 = this.aClass129_6436.anInt1889; + this.aClass284_6444.anInt3668 = this.aClass129_6436.anInt1883; + this.aClass284_6444.anInt3669 = this.aClass129_6436.anInt1874; + this.aClass284_6444.anInt3680 = this.aClass129_6436.anInt1876; + this.aClass284_6444.anInt3679 = this.aClass129_6436.anInt1880; + this.aClass284_6444.anInt3678 = this.aClass129_6436.anInt1891; + this.aClass284_6444.anInt3672 = this.aClass129_6436.anInt1884; + if (bool == true) { + this.aClass284_6444.anInt3675 = this.aClass129_6436.anInt1882; + if ((this.aClass284_6444.anInt3675 == (this.aClass284_6444.anInt3668)) && ((this.aClass284_6444.anInt3680) == (this.aClass284_6444.anInt3668)) && ((this.aClass284_6444.anInt3670) == (this.aClass284_6444.anInt3678)) && ((this.aClass284_6444.anInt3669) == (this.aClass284_6444.anInt3670)) && ((this.aClass284_6444.anInt3679) == (this.aClass284_6444.anInt3666)) && ((this.aClass284_6444.anInt3679) == (this.aClass284_6444.anInt3672))) + aBoolean6453 = true; + else if (aBoolean6453) { + aClass284_6449.anInt3678 = (this.aClass284_6444.anInt3678); + aBoolean6453 = false; + aClass284_6449.anInt3672 = (this.aClass284_6444.anInt3672); + aClass284_6449.anInt3666 = (this.aClass284_6444.anInt3666); + aClass284_6449.anInt3670 = (this.aClass284_6444.anInt3670); + aClass284_6449.anInt3668 = (this.aClass284_6444.anInt3668); + aClass284_6449.anInt3679 = (this.aClass284_6444.anInt3679); + aClass284_6449.anInt3675 = (this.aClass284_6444.anInt3675); + aClass284_6449.anInt3669 = (this.aClass284_6444.anInt3669); + aClass284_6449.anInt3680 = (this.aClass284_6444.anInt3680); + } + } + } + + public static void method2508(int i) { + if (i != 32767) method2512(null, null, 5); + aClass351_6443 = null; + } + + static final void method2509(int i, int i_0_, GraphicsToolkit var_ha, int i_1_, int i_2_, boolean bool, int i_3_, int i_4_) { + anInt6438++; + if (bool != true) anInt6451 = -14; + var_ha.method3675(i, (byte) -125, i_1_, i_0_, i_3_, i_2_); + var_ha.method3675(i - 2, (byte) -125, 1 + i_1_, 1 + i_0_, 16, i_4_); + var_ha.method3668(-2 + i, 18 + i_0_, i_4_, 1 + i_1_, -19 + i_3_, 115); + } + + static final boolean method2510(CacheStore class45, BrowserUrlOpener class348_sub16_sub3, CacheStore class45_5_, boolean bool, AudioLine class279, CacheStore class45_6_) { + try { + Component269.aClass279_8764 = class279; + Component122.aClass348_Sub16_Sub3_1564 = class348_sub16_sub3; + CookieBuilder.aClass45_611 = class45; + WaterShader.aClass45_7371 = class45_6_; + Component79.aClass45_4147 = class45_5_; + AbstractShaderSub3.anIntArray7299 = new int[16]; + if (bool != false) anInt6451 = 71; + anInt6442++; + for (int i = 0; i < 16; i++) + AbstractShaderSub3.anIntArray7299[i] = 255; + return true; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("rba.G(" + (class45 != null ? "{...}" : "null") + ',' + (class348_sub16_sub3 != null ? "{...}" : "null") + ',' + (class45_5_ != null ? "{...}" : "null") + ',' + bool + ',' + (class279 != null ? "{...}" : "null") + ',' + (class45_6_ != null ? "{...}" : "null") + ')')); + } + } + + final void method2511(boolean bool, GraphicsToolkit var_ha, long l) { + try { + anInt6437++; + if (bool != true) this.aClass243_6433 = null; + for (RenderableSub9Sub2Sub1 class318_sub9_sub2_sub1 = ((RenderableSub9Sub2Sub1) this.aClass243_6433.method1872(8)); class318_sub9_sub2_sub1 != null; class318_sub9_sub2_sub1 = (RenderableSub9Sub2Sub1) this.aClass243_6433.method1878((byte) 126)) + class318_sub9_sub2_sub1.method2522(var_ha, l); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("rba.F(" + bool + ',' + (var_ha != null ? "{...}" : "null") + ',' + l + ')')); + } + } + + static final void method2512(d var_d, GraphicsToolkit var_ha, int i) { + try { + anInt6440++; + if (DisplayModeManagerContainer229.aClass348_Sub42_Sub14_1243 != null) { + if (Node.anInt4290 < 10) { + if (!DisplayModeManagerContainer229.aClass45_1237.isGroupReadyByName(100, DisplayModeManagerContainer229.aClass348_Sub42_Sub14_1243.aString9625)) { + Node.anInt4290 = (NodeSub32.aClass45_6950.getNamedGroupLoadPercent((DisplayModeManagerContainer229.aClass348_Sub42_Sub14_1243.aString9625), 0)) / 10; + return; + } + InputStream_Sub1.method126(-16203); + Node.anInt4290 = 10; + } + if (Node.anInt4290 == 10) { + DisplayModeManagerContainer229.anInt1266 = (DisplayModeManagerContainer229.aClass348_Sub42_Sub14_1243.anInt9644 >> 6 << 6); + DisplayModeManagerContainer229.anInt1263 = (DisplayModeManagerContainer229.aClass348_Sub42_Sub14_1243.anInt9643 >> 6 << 6); + DisplayModeManagerContainer229.anInt1259 = 64 + ((DisplayModeManagerContainer229.aClass348_Sub42_Sub14_1243.anInt9635 >> 6 << 6) - DisplayModeManagerContainer229.anInt1266); + DisplayModeManagerContainer229.anInt1267 = 64 + ((DisplayModeManagerContainer229.aClass348_Sub42_Sub14_1243.anInt9627 >> 6 << 6) - DisplayModeManagerContainer229.anInt1263); + int[] is = new int[3]; + int i_7_ = -1; + int i_8_ = -1; + if (DisplayModeManagerContainer229.aClass348_Sub42_Sub14_1243.method3236(is, (NodeBaseSub2.regionTileX - -((Component72.localPlayer.x) >> 9)), ((Component72.localPlayer.y) >> 9) + Component330.regionTileY, (Component72.localPlayer.plane), (byte) -28)) { + i_7_ = -DisplayModeManagerContainer229.anInt1266 + is[1]; + i_8_ = -DisplayModeManagerContainer229.anInt1263 + is[2]; + } + if (TheoraVideoPlayer.aBoolean1500 || i_7_ < 0 || DisplayModeManagerContainer229.anInt1259 <= i_7_ || i_8_ < 0 || DisplayModeManagerContainer229.anInt1267 <= i_8_) { + if (Component60.anInt5909 == -1 || NewsFetcher.anInt4202 == -1) { + DisplayModeManagerContainer229.aClass348_Sub42_Sub14_1243.method3242(is, 123, 0x3fff & (DisplayModeManagerContainer229.aClass348_Sub42_Sub14_1243.anInt9640), (DisplayModeManagerContainer229.aClass348_Sub42_Sub14_1243.anInt9640) >> 14 & 0x3fff); + DebugOverlay.anInt3170 = is[2] - DisplayModeManagerContainer229.anInt1263; + NodeSub36.anInt6992 = is[1] - DisplayModeManagerContainer229.anInt1266; + } else { + DisplayModeManagerContainer229.aClass348_Sub42_Sub14_1243.method3242(is, 88, NewsFetcher.anInt4202, Component60.anInt5909); + Component60.anInt5909 = NewsFetcher.anInt4202 = -1; + if (is != null) { + NodeSub36.anInt6992 = -DisplayModeManagerContainer229.anInt1266 + is[1]; + DebugOverlay.anInt3170 = -DisplayModeManagerContainer229.anInt1263 + is[2]; + } + TheoraVideoPlayer.aBoolean1500 = false; + } + } else { + i_7_ += (int) (10.0 * Math.random()) + -5; + i_8_ += (int) (Math.random() * 10.0) + -5; + NodeSub36.anInt6992 = i_7_; + DebugOverlay.anInt3170 = i_8_; + } + if (DisplayModeManagerContainer229.aClass348_Sub42_Sub14_1243.anInt9631 != 37) { + if (DisplayModeManagerContainer229.aClass348_Sub42_Sub14_1243.anInt9631 != 50) { + if (DisplayModeManagerContainer229.aClass348_Sub42_Sub14_1243.anInt9631 != 75) { + if ((DisplayModeManagerContainer229.aClass348_Sub42_Sub14_1243.anInt9631) == 100) DisplayModeManagerContainer229.aFloat1249 = DisplayModeManagerContainer229.aFloat1247 = 8.0F; + else if ((DisplayModeManagerContainer229.aClass348_Sub42_Sub14_1243.anInt9631) != 200) DisplayModeManagerContainer229.aFloat1249 = DisplayModeManagerContainer229.aFloat1247 = 8.0F; + else DisplayModeManagerContainer229.aFloat1249 = DisplayModeManagerContainer229.aFloat1247 = 16.0F; + } else DisplayModeManagerContainer229.aFloat1249 = DisplayModeManagerContainer229.aFloat1247 = 6.0F; + } else DisplayModeManagerContainer229.aFloat1249 = DisplayModeManagerContainer229.aFloat1247 = 4.0F; + } else DisplayModeManagerContainer229.aFloat1249 = DisplayModeManagerContainer229.aFloat1247 = 3.0F; + DisplayModeManagerContainer229.anInt1255 = (int) DisplayModeManagerContainer229.aFloat1247 >> 1; + DisplayModeManagerContainer229.aByteArrayArrayArray1251 = ColoredTextBuilder.method2596(DisplayModeManagerContainer229.anInt1255, 12871); + ColorTagNode.method2811(false); + DisplayModeManagerContainer229.method760(); + Component156.aClass262_3705 = new NodeList(); + DisplayModeManagerContainer229.anInt1250 += (int) (Math.random() * 5.0) + -2; + if (DisplayModeManagerContainer229.anInt1250 < -8) DisplayModeManagerContainer229.anInt1250 = -8; + if (DisplayModeManagerContainer229.anInt1250 > 8) DisplayModeManagerContainer229.anInt1250 = 8; + DisplayModeManagerContainer229.anInt1253 += -2 + (int) (5.0 * Math.random()); + if (DisplayModeManagerContainer229.anInt1253 < -16) DisplayModeManagerContainer229.anInt1253 = -16; + if (DisplayModeManagerContainer229.anInt1253 > 16) DisplayModeManagerContainer229.anInt1253 = 16; + DisplayModeManagerContainer229.method764(var_d, (DisplayModeManagerContainer229.anInt1250 >> 2 << 10), DisplayModeManagerContainer229.anInt1253 >> 1); + DisplayModeManagerContainer229.aClass153_1238.method1220((byte) 73, 256, 1024); + DisplayModeManagerContainer229.aClass141_1242.method1178(256, 1, 256); + DisplayModeManagerContainer229.aClass263_1245.method2014(4096, true); + Component267.aClass194_2981.method1444(256, 123); + Node.anInt4290 = 20; + } else if (Node.anInt4290 == 20) { + Component156.method2193(true, (byte) -123); + DisplayModeManagerContainer229.method756(var_ha, DisplayModeManagerContainer229.anInt1250, DisplayModeManagerContainer229.anInt1253); + Node.anInt4290 = 60; + Component156.method2193(true, (byte) -122); + Component97.method867(true); + } else if (i <= -43) { + if (Node.anInt4290 == 60) { + if (DisplayModeManagerContainer229.aClass45_1237.hasGroup(-18308, (DisplayModeManagerContainer229.aClass348_Sub42_Sub14_1243.aString9625) + "_staticelements")) { + if (!DisplayModeManagerContainer229.aClass45_1237.isGroupReadyByName(100, (DisplayModeManagerContainer229.aClass348_Sub42_Sub14_1243.aString9625) + "_staticelements")) return; + DisplayModeManagerContainer229.aClass252_1246 = (Component358.loadStaticElements(DisplayModeManagerContainer229.aClass45_1237, (DisplayModeManagerContainer229.aClass348_Sub42_Sub14_1243.aString9625) + "_staticelements", Component387.aBoolean1900, (byte) -91)); + } else DisplayModeManagerContainer229.aClass252_1246 = new Component278(0); + DisplayModeManagerContainer229.method761(); + Node.anInt4290 = 70; + Component156.method2193(true, (byte) -127); + Component97.method867(true); + } else if (Node.anInt4290 == 70) { + Component15.aClass323_4921 = new FontGlyphCache(var_ha, 11, true, DisplayModeManagerContainer50.gameCanvas); + Node.anInt4290 = 73; + Component156.method2193(true, (byte) -123); + Component97.method867(true); + } else if (Node.anInt4290 == 73) { + WorldNameText.aClass323_8644 = new FontGlyphCache(var_ha, 12, true, DisplayModeManagerContainer50.gameCanvas); + Node.anInt4290 = 76; + Component156.method2193(true, (byte) -125); + Component97.method867(true); + } else if (Node.anInt4290 == 76) { + DisplayModeManagerContainer271.aClass323_521 = new FontGlyphCache(var_ha, 14, true, DisplayModeManagerContainer50.gameCanvas); + Node.anInt4290 = 79; + Component156.method2193(true, (byte) -123); + Component97.method867(true); + } else if (Node.anInt4290 == 79) { + Component39.aClass323_2252 = new FontGlyphCache(var_ha, 17, true, DisplayModeManagerContainer50.gameCanvas); + Node.anInt4290 = 82; + Component156.method2193(true, (byte) -124); + Component97.method867(true); + } else if (Node.anInt4290 == 82) { + Component218.aClass323_2333 = new FontGlyphCache(var_ha, 19, true, DisplayModeManagerContainer50.gameCanvas); + Node.anInt4290 = 85; + Component156.method2193(true, (byte) -128); + Component97.method867(true); + } else if (Node.anInt4290 == 85) { + DebugPanic.aClass323_4754 = new FontGlyphCache(var_ha, 22, true, DisplayModeManagerContainer50.gameCanvas); + Node.anInt4290 = 88; + Component156.method2193(true, (byte) -124); + Component97.method867(true); + } else if (Node.anInt4290 == 88) { + NodeSub3.aClass323_6581 = new FontGlyphCache(var_ha, 26, true, DisplayModeManagerContainer50.gameCanvas); + Node.anInt4290 = 91; + Component156.method2193(true, (byte) -125); + Component97.method867(true); + } else { + Component49.aClass323_4672 = new FontGlyphCache(var_ha, 30, true, DisplayModeManagerContainer50.gameCanvas); + Node.anInt4290 = 100; + Component156.method2193(true, (byte) -119); + Component97.method867(true); + System.gc(); + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("rba.A(" + (var_d != null ? "{...}" : "null") + ',' + (var_ha != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + final void method2513(GraphicsToolkit var_ha, int i, long l, int i_9_, boolean bool) { + do { + try { + if (!this.aBoolean6446) { + if (NodederUtil.anInt6637 < (this.aClass181_6441.anInt2379)) bool = false; + else if (Component102.anInt4797 <= (Component300.anIntArray3551[NodederUtil.anInt6637])) { + if (!aBoolean6453) { + if (this.aClass181_6441.anInt2425 != -1) { + int i_10_ = (int) (-aLong6435 + l); + if (!(this.aClass181_6441.aBoolean2411) && (this.aClass181_6441.anInt2425) < i_10_) bool = false; + else i_10_ %= (this.aClass181_6441.anInt2425); + if (!(this.aClass181_6441.aBoolean2406) && ((this.aClass181_6441.anInt2393) > i_10_)) bool = false; + if (this.aClass181_6441.aBoolean2406 && (this.aClass181_6441.anInt2393) <= i_10_) bool = false; + } + } else bool = false; + } else bool = false; + } else bool = false; + anInt6445++; + if (bool) { + DisplayModeManagerContainer145.anInt1803++; + int i_11_ = (((this.aClass284_6444.anInt3675) + this.aClass284_6444.anInt3668 + this.aClass284_6444.anInt3680) / 3); + int i_12_ = (((this.aClass284_6444.anInt3669) + this.aClass284_6444.anInt3678 + this.aClass284_6444.anInt3670) / 3); + int i_13_ = (((this.aClass284_6444.anInt3672) + this.aClass284_6444.anInt3679 + this.aClass284_6444.anInt3666) / 3); + if (i_11_ != (this.aClass284_6444.anInt3673) || i_12_ != this.aClass284_6444.anInt3667 || i_13_ != (this.aClass284_6444.anInt3671)) { + this.aClass284_6444.anInt3667 = i_12_; + this.aClass284_6444.anInt3673 = i_11_; + this.aClass284_6444.anInt3671 = i_13_; + int i_14_ = (-this.aClass284_6444.anInt3675 + this.aClass284_6444.anInt3668); + int i_15_ = (-this.aClass284_6444.anInt3678 + this.aClass284_6444.anInt3670); + int i_16_ = (-this.aClass284_6444.anInt3666 + this.aClass284_6444.anInt3679); + int i_17_ = (this.aClass284_6444.anInt3680 - this.aClass284_6444.anInt3675); + int i_18_ = (this.aClass284_6444.anInt3669 - this.aClass284_6444.anInt3678); + int i_19_ = (-this.aClass284_6444.anInt3666 + this.aClass284_6444.anInt3672); + anInt6457 = i_17_ * i_16_ + -(i_14_ * i_19_); + anInt6455 = i_15_ * i_19_ + -(i_18_ * i_16_); + for (anInt6458 = -(i_17_ * i_15_) + i_18_ * i_14_; (anInt6455 > 32767 || anInt6457 > 32767 || anInt6458 > 32767 || anInt6455 < -32767 || anInt6457 < -32767 || anInt6458 < -32767); anInt6455 >>= 1) { + anInt6458 >>= 1; + anInt6457 >>= 1; + } + int i_20_ = (int) Math.sqrt(anInt6455 * anInt6455 - (-(anInt6457 * anInt6457) + -(anInt6458 * anInt6458))); + if (i_20_ <= 0) i_20_ = 1; + anInt6455 = anInt6455 * 32767 / i_20_; + anInt6458 = 32767 * anInt6458 / i_20_; + anInt6457 = 32767 * anInt6457 / i_20_; + if ((this.aClass181_6441.aShort2415) > 0 || this.aClass181_6441.aShort2441 > 0) { + int i_21_ = (int) (2607.5945876176133 * Math.atan2(anInt6458, anInt6455)); + int i_22_ = (int) (2607.5945876176133 * (Math.atan2(anInt6457, (Math.sqrt(anInt6458 * anInt6458 + (anInt6455 * anInt6455)))))); + anInt6456 = (this.aClass181_6441.aShort2415 - (this.aClass181_6441.aShort2431)); + anInt6459 = (this.aClass181_6441.aShort2431 + i_21_ - (anInt6456 >> 1)); + anInt6454 = (-this.aClass181_6441.aShort2418 + (this.aClass181_6441.aShort2441)); + anInt6452 = i_22_ - (-(this.aClass181_6441.aShort2418) - -(anInt6454 >> 1)); + } + } + anInt6434 += (int) ((((double) (-this.aClass181_6441.anInt2391 + this.aClass181_6441.anInt2389) * Math.random()) + (double) this.aClass181_6441.anInt2391) * (double) i); + if (anInt6434 > 63) { + int i_23_ = anInt6434 >> 6; + anInt6434 &= 0x3f; + for (int i_24_ = 0; i_24_ < i_23_; i_24_++) { + int i_25_; + int i_26_; + int i_27_; + if (this.aClass181_6441.aShort2415 <= 0 && this.aClass181_6441.aShort2441 <= 0) { + i_25_ = anInt6455; + i_27_ = anInt6458; + i_26_ = anInt6457; + } else { + int i_28_ = ((int) (Math.random() * (double) anInt6456) + anInt6459); + i_28_ &= 0x3fff; + int i_29_ = DisplayModeManagerContainer88.anIntArray1207[i_28_]; + int i_30_ = DisplayModeManagerContainer88.anIntArray1204[i_28_]; + int i_31_ = anInt6452 + (int) ((double) anInt6454 * Math.random()); + i_31_ &= 0x1fff; + int i_32_ = DisplayModeManagerContainer88.anIntArray1207[i_31_]; + int i_33_ = DisplayModeManagerContainer88.anIntArray1204[i_31_]; + int i_34_ = 13; + i_25_ = i_32_ * i_30_ >> i_34_; + i_26_ = -1 * (i_33_ << 1); + i_27_ = i_32_ * i_29_ >> i_34_; + } + float f = (float) Math.random(); + float f_35_ = (float) Math.random(); + if (f + f_35_ > 1.0F) { + f_35_ = 1.0F - f_35_; + f = -f + 1.0F; + } + float f_36_ = 1.0F - (f + f_35_); + int i_37_ = (int) (((float) this.aClass284_6444.anInt3680 * f_36_) + (f * (float) (this.aClass284_6444.anInt3675) + (f_35_ * (float) (this.aClass284_6444.anInt3668)))); + int i_38_ = (int) (f * (float) (this.aClass284_6444.anInt3678) + (float) (this.aClass284_6444.anInt3670) * f_35_ + (float) (this.aClass284_6444.anInt3669) * f_36_); + int i_39_ = (int) (((float) this.aClass284_6444.anInt3666 * f) + (float) (this.aClass284_6444.anInt3679) * f_35_ + (f_36_ * (float) (this.aClass284_6444.anInt3672))); + int i_40_ = (int) ((float) (aClass284_6449.anInt3680) * f_36_ + (f_35_ * (float) (aClass284_6449.anInt3668) + f * (float) (aClass284_6449.anInt3675))); + int i_41_ = (int) ((float) (aClass284_6449.anInt3670) * f_35_ + (float) (aClass284_6449.anInt3678) * f + (float) (aClass284_6449.anInt3669) * f_36_); + int i_42_ = (int) ((float) (aClass284_6449.anInt3672) * f_36_ + (((float) aClass284_6449.anInt3666 * f) + (float) (aClass284_6449.anInt3679) * f_35_)); + int i_43_ = i_37_ - i_40_; + int i_44_ = -i_41_ + i_38_; + int i_45_ = i_39_ + -i_42_; + int i_46_ = (int) ((double) i_43_ * Math.random() + (double) i_40_); + int i_47_ = (int) ((double) i_41_ + (double) i_44_ * Math.random()); + int i_48_ = (int) ((double) i_42_ + (double) i_45_ * Math.random()); + int i_49_ = ((int) (Math.random() * (double) ((this.aClass181_6441.anInt2438) + -(this.aClass181_6441.anInt2392))) + this.aClass181_6441.anInt2392); + int i_50_ = (this.aClass181_6441.anInt2394 + (int) ((double) (-(this.aClass181_6441.anInt2394) + (this.aClass181_6441.anInt2407)) * Math.random())); + int i_51_ = ((int) ((double) ((this.aClass181_6441.anInt2417) - (this.aClass181_6441.anInt2442)) * Math.random()) + this.aClass181_6441.anInt2442); + int i_52_; + if (this.aClass181_6441.aBoolean2443) { + double d = Math.random(); + i_52_ = ((int) (d * (double) (this.aClass181_6441.anInt2408) + (double) (this.aClass181_6441.anInt2399)) | (((int) ((double) (this.aClass181_6441.anInt2433) * d + (double) (this.aClass181_6441.anInt2429)) << 16) | (int) ((double) (this.aClass181_6441.anInt2390) + ((double) (this.aClass181_6441.anInt2403) * d)) << 8) | (int) ((double) (this.aClass181_6441.anInt2413) + ((double) (this.aClass181_6441.anInt2410) * (Math.random()))) << 24); + } else + i_52_ = (((int) (((double) (this.aClass181_6441.anInt2410) * Math.random()) + (double) (this.aClass181_6441.anInt2413)) << 24) | (((int) ((Math.random() * (double) (this.aClass181_6441.anInt2433)) + (double) (this.aClass181_6441.anInt2429)) << 16) | ((int) ((Math.random() * (double) (this.aClass181_6441.anInt2403)) + (double) (this.aClass181_6441.anInt2390)) << 8) | (int) (((double) (this.aClass181_6441.anInt2408) * Math.random()) + (double) (this.aClass181_6441.anInt2399)))); + int i_53_ = (this.aClass181_6441.anInt2414); + if (!var_ha.method3644() && !(this.aClass181_6441.aBoolean2382)) i_53_ = -1; + if (client.anInt5171 == NodeSub1Sub1.anInt8808) { + RenderableSub9Sub2Sub1 class318_sub9_sub2_sub1 = (new RenderableSub9Sub2Sub1(this, i_46_, i_47_, i_48_, i_25_, i_26_, i_27_, i_49_, i_50_, i_52_, i_51_, i_53_, (this.aClass181_6441.aBoolean2435), (this.aClass181_6441.aBoolean2430))); + } else { + RenderableSub9Sub2Sub1 class318_sub9_sub2_sub1 = (Component256.aClass318_Sub9_Sub2_Sub1Array6103[NodeSub1Sub1.anInt8808]); + NodeSub1Sub1.anInt8808 = 0x3ff & 1 + NodeSub1Sub1.anInt8808; + class318_sub9_sub2_sub1.method2523(this, i_46_, i_47_, i_48_, i_25_, i_26_, i_27_, i_49_, i_50_, i_52_, i_51_, i_53_, (this.aClass181_6441.aBoolean2435), (this.aClass181_6441.aBoolean2430)); + } + } + } + } + if (!this.aClass284_6444.method2115(aClass284_6449, true)) { + Component94 class284 = aClass284_6449; + aClass284_6449 = this.aClass284_6444; + this.aClass284_6444 = class284; + this.aClass284_6444.anInt3678 = (this.aClass129_6436.anInt1891); + this.aClass284_6444.anInt3675 = (this.aClass129_6436.anInt1882); + this.aClass284_6444.anInt3670 = (this.aClass129_6436.anInt1890); + this.aClass284_6444.anInt3672 = (this.aClass129_6436.anInt1884); + this.aClass284_6444.anInt3680 = (this.aClass129_6436.anInt1876); + this.aClass284_6444.anInt3679 = (this.aClass129_6436.anInt1880); + this.aClass284_6444.anInt3666 = (this.aClass129_6436.anInt1889); + this.aClass284_6444.anInt3673 = aClass284_6449.anInt3673; + this.aClass284_6444.anInt3669 = (this.aClass129_6436.anInt1874); + this.aClass284_6444.anInt3671 = aClass284_6449.anInt3671; + this.aClass284_6444.anInt3667 = aClass284_6449.anInt3667; + this.aClass284_6444.anInt3668 = (this.aClass129_6436.anInt1883); + } + this.anInt6447 = 0; + for (RenderableSub9Sub2Sub1 class318_sub9_sub2_sub1 = (RenderableSub9Sub2Sub1) this.aClass243_6433.method1872(i_9_ + 5); class318_sub9_sub2_sub1 != null; class318_sub9_sub2_sub1 = ((RenderableSub9Sub2Sub1) this.aClass243_6433.method1878((byte) 122))) { + class318_sub9_sub2_sub1.method2524(l, i); + this.anInt6447++; + } + Component55.anInt3936 += this.anInt6447; + if (i_9_ == 3) break; + method2508(124); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("rba.C(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + l + ',' + i_9_ + ',' + bool + ')')); + } + break; + } while (false); + } + + StaticElementRenderer(GraphicsToolkit var_ha, Component30 class129, RenderableSub10 class318_sub10, long l) { + this.aClass284_6444 = new Component94(); + aClass284_6449 = new Component94(); + aBoolean6453 = false; + try { + aLong6435 = l; + this.aClass129_6436 = class129; + this.aClass318_Sub10_6439 = class318_sub10; + this.aClass181_6441 = this.aClass129_6436.method1125((byte) 59); + if (!var_ha.method3644() && (this.aClass181_6441.anInt2387) != -1) this.aClass181_6441 = MouseHandler.getOrLoadConfig((this.aClass181_6441.anInt2387), 0); + this.aClass243_6433 = new Component315(); + anInt6434 += 64.0 * Math.random(); + method2507(true); + aClass284_6449.anInt3680 = this.aClass284_6444.anInt3680; + aClass284_6449.anInt3669 = this.aClass284_6444.anInt3669; + aClass284_6449.anInt3668 = this.aClass284_6444.anInt3668; + aClass284_6449.anInt3675 = this.aClass284_6444.anInt3675; + aClass284_6449.anInt3670 = this.aClass284_6444.anInt3670; + aClass284_6449.anInt3678 = this.aClass284_6444.anInt3678; + aClass284_6449.anInt3666 = this.aClass284_6444.anInt3666; + aClass284_6449.anInt3672 = this.aClass284_6444.anInt3672; + aClass284_6449.anInt3679 = this.aClass284_6444.anInt3679; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("rba.(" + (var_ha != null ? "{...}" : "null") + ',' + (class129 != null ? "{...}" : "null") + ',' + (class318_sub10 != null ? "{...}" : "null") + ',' + l + ')')); + } + } +} diff --git a/client/scene/particles/ParticleShader.java b/client/scene/particles/ParticleShader.java new file mode 100644 index 000000000..29e504076 --- /dev/null +++ b/client/scene/particles/ParticleShader.java @@ -0,0 +1,407 @@ +/* ParticleShader - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class286_Sub3` (JODE-obfuscated). + * Particle rendering shader program (extends renamed ShaderProgram). Constructs ParticleSystem instances (method2148) and drives particle draw state on the GlToolkitSub2 toolkit. + */ + +import jaggl.OpenGL; + +import java.util.Calendar; +import java.util.TimeZone; + +final class ParticleShader extends ShaderProgram { + static int anInt6214; + static int anInt6215; + static int anInt6216; + static int anInt6217; + private float[] aFloatArray6218; + private int anInt6219; + private Component382 aClass171_6220; + static Calendar aCalendar6221 = Calendar.getInstance(TimeZone.getTimeZone("GMT")); + private Component128 aClass61_6222; + static int anInt6223; + static int anInt6224; + private float aFloat6225; + static int anInt6226; + private final Component178 aClass83_6227; + static int[] anIntArray6228; + static int anInt6229; + static int anInt6230; + static int anInt6231; + static int anInt6232; + + final void method2136(int i, int i_0_, byte i_1_) { + anInt6224++; + if (aClass61_6222 != null) { + if (i_1_ >= -42) method2149(-65); + this.aHa_Sub2_3684.method3738(-15039, 1); + if ((i & 0x80) != 0) this.aHa_Sub2_3684.method3771((byte) -122, null); + else if ((0x1 & i_0_) != 1) { + if (!aClass83_6227.aBoolean1442) this.aHa_Sub2_3684.method3771((byte) -84, aClass83_6227.aClass258_Sub3Array1444[0]); + else this.aHa_Sub2_3684.method3771((byte) -97, aClass83_6227.aClass258_Sub1_1440); + OpenGL.glProgramLocalParameter4fARB(34336, 65, 0.0F, 0.0F, 0.0F, 1.0F); + } else if (aClass83_6227.aBoolean1442) { + this.aHa_Sub2_3684.method3771((byte) -83, aClass83_6227.aClass258_Sub1_1440); + OpenGL.glProgramLocalParameter4fARB(34336, 65, aFloat6225, 0.0F, 0.0F, 1.0F); + } else { + int i_2_ = (this.aHa_Sub2_3684.anInt7735 % 4000 * 16 / 4000); + this.aHa_Sub2_3684.method3771((byte) -88, aClass83_6227.aClass258_Sub3Array1444[i_2_]); + OpenGL.glProgramLocalParameter4fARB(34336, 65, 0.0F, 0.0F, 0.0F, 1.0F); + } + this.aHa_Sub2_3684.method3738(-15039, 0); + if ((0x40 & i) == 0) { + HashNodeSub1.aFloatArray9491[2] = (this.aHa_Sub2_3684.aFloat7823 * (this.aHa_Sub2_3684.aFloat7768)); + HashNodeSub1.aFloatArray9491[0] = (this.aHa_Sub2_3684.aFloat7781 * (this.aHa_Sub2_3684.aFloat7768)); + HashNodeSub1.aFloatArray9491[1] = (this.aHa_Sub2_3684.aFloat7768 * (this.aHa_Sub2_3684.aFloat7816)); + OpenGL.glProgramLocalParameter4fvARB(34336, 66, (HashNodeSub1.aFloatArray9491), 0); + } else OpenGL.glProgramLocalParameter4fARB(34336, 66, 1.0F, 1.0F, 1.0F, 1.0F); + int i_3_ = i & 0x3; + if (i_3_ == 2) OpenGL.glProgramLocalParameter4fARB(34336, 64, 0.05F, 1.0F, 1.0F, 1.0F); + else if (i_3_ == 3) OpenGL.glProgramLocalParameter4fARB(34336, 64, 0.1F, 1.0F, 1.0F, 1.0F); + else OpenGL.glProgramLocalParameter4fARB(34336, 64, 0.025F, 1.0F, 1.0F, 1.0F); + } + } + + final void method2140(AbstractGlTexture class258, byte i, int i_4_) { + if (i <= -89) { + anInt6216++; + this.aHa_Sub2_3684.method3771((byte) -115, class258); + this.aHa_Sub2_3684.method3761(0, i_4_); + } + } + + static final ParticleSystem method2148(StringCache class351, DisplayModeManagerContainer123 class77, int i) { + try { + anInt6230++; + ParticleSystem class348_sub47 = Component189.obtainParticleSystem((byte) -103); + if (i >= -80) aCalendar6221 = null; + class348_sub47.anInt7122 = class351.size; + class348_sub47.aClass351_7118 = class351; + if (class348_sub47.anInt7122 != -1) { + if (class348_sub47.anInt7122 == -2) class348_sub47.aClass348_Sub49_Sub2_7116 = new DisplayModeManagerContainer207(10000); + else if (class348_sub47.anInt7122 <= 18) class348_sub47.aClass348_Sub49_Sub2_7116 = new DisplayModeManagerContainer207(20); + else if (class348_sub47.anInt7122 <= 98) class348_sub47.aClass348_Sub49_Sub2_7116 = new DisplayModeManagerContainer207(100); + else class348_sub47.aClass348_Sub49_Sub2_7116 = new DisplayModeManagerContainer207(260); + } else class348_sub47.aClass348_Sub49_Sub2_7116 = new DisplayModeManagerContainer207(260); + class348_sub47.aClass348_Sub49_Sub2_7116.method3416(-17, class77); + + if (Loader.debug) { + System.out.println("Encode packet " + class348_sub47.aClass351_7118.getOpcode(200)); + } + class348_sub47.aClass348_Sub49_Sub2_7116.method3408(class348_sub47.aClass351_7118.getOpcode(200), 18676); + class348_sub47.anInt7119 = 0; + return class348_sub47; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("em.C(" + (class351 != null ? "{...}" : "null") + ',' + (class77 != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + ParticleShader(GlToolkitSub2 var_ha_Sub2, Component178 class83) { + super(var_ha_Sub2); + do { + try { + aClass83_6227 = class83; + if (!this.aHa_Sub2_3684.aBoolean7841 || (this.aHa_Sub2_3684.anInt7795 < 2)) break; + aClass171_6220 = (Component47.method459(34336, this.aHa_Sub2_3684, "!!ARBvp1.0\nOPTION ARB_position_invariant;\nATTRIB iPos = vertex.position;\nATTRIB iColour = vertex.color;\nATTRIB iTexCoord = vertex.texcoord[0];\nOUTPUT oColour = result.color;\nOUTPUT oTexCoord0 = result.texcoord[0];\nOUTPUT oTexCoord1 = result.texcoord[1];\nOUTPUT oFogCoord = result.fogcoord;\nPARAM time = program.local[65];\nPARAM turbulence = program.local[64];\nPARAM lightAmbient = program.local[66]; \nPARAM pMatrix[4] = { state.matrix.projection };\nPARAM mvMatrix[4] = { state.matrix.modelview };\nPARAM ivMatrix[4] = { state.matrix.texture[1] };\nPARAM texMatrix[4] = { state.matrix.texture[0] };\nPARAM fNoise[64] = { program.local[0..63] };\nTEMP noise, viewPos, worldPos, texCoord;\nADDRESS noiseAddr;\nDP4 viewPos.x, mvMatrix[0], iPos;\nDP4 viewPos.y, mvMatrix[1], iPos;\nDP4 viewPos.z, mvMatrix[2], iPos;\nDP4 viewPos.w, mvMatrix[3], iPos;\nMOV oFogCoord.x, -viewPos.z;\nDP4 worldPos.x, ivMatrix[0], viewPos;\nDP4 worldPos.y, ivMatrix[1], viewPos;\nDP4 worldPos.z, ivMatrix[2], viewPos;\nDP4 worldPos.w, ivMatrix[3], viewPos;\nADD noise.x, worldPos.x, worldPos.z;SUB noise.y, worldPos.z, worldPos.x;MUL noise, noise, 0.0001220703125;\nFRC noise, noise;\nMUL noise, noise, 64;\nARL noiseAddr.x, noise.x;\nMOV noise.x, fNoise[noiseAddr.x].x;\nARL noiseAddr.x, noise.y;\nMOV noise.y, fNoise[noiseAddr.x].y;\nMUL noise, noise, turbulence.x;\nDP4 texCoord.x, texMatrix[0], iTexCoord;\nDP4 texCoord.y, texMatrix[1], iTexCoord;\nADD oTexCoord0.xy, texCoord, noise;\nMOV oTexCoord0.z, 0;\nMOV oTexCoord0.w, 1;\nMUL oTexCoord1.xy, texCoord, 0.125;\nMOV oTexCoord1.zw, time.xxxw;\nMUL oColour.xyz, iColour, lightAmbient;\nMOV oColour.w, iColour.w;\nEND", false)); + if (aClass171_6220 != null) { + int[][] is = DisplayModeManagerContainer207.method3413(4, 3, 64, 4, 256, true, 0, 0.4F, false); + int[][] is_5_ = DisplayModeManagerContainer207.method3413(4, 3, 64, 4, 256, true, 8, 0.4F, false); + aFloatArray6218 = new float[32768]; + int i = 0; + for (int i_6_ = 0; i_6_ < 256; i_6_++) { + int[] is_7_ = is[i_6_]; + int[] is_8_ = is_5_[i_6_]; + for (int i_9_ = 0; i_9_ < 64; i_9_++) { + aFloatArray6218[i++] = (float) is_7_[i_9_] / 4096.0F; + aFloatArray6218[i++] = (float) is_8_[i_9_] / 4096.0F; + } + } + method2149(-25); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("em.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + (class83 != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + private final void method2149(int i) { + anInt6217++; + aClass61_6222 = new Component128(this.aHa_Sub2_3684, 2); + aClass61_6222.beginDisplayList((byte) 103, 0); + this.aHa_Sub2_3684.method3738(-15039, 1); + this.aHa_Sub2_3684.method3808(-16777216, 118); + this.aHa_Sub2_3684.method3729(260, (byte) 114, 7681); + this.aHa_Sub2_3684.method3775(false, 0, 770, 34166); + this.aHa_Sub2_3684.method3738(-15039, 0); + OpenGL.glBindProgramARB(34336, aClass171_6220.anInt2270); + OpenGL.glEnable(34336); + aClass61_6222.endDisplayList(-1); + aClass61_6222.beginDisplayList((byte) 127, 1); + int i_10_ = 65 / ((i - 62) / 49); + this.aHa_Sub2_3684.method3738(-15039, 1); + OpenGL.glMatrixMode(5890); + OpenGL.glLoadIdentity(); + OpenGL.glMatrixMode(5888); + this.aHa_Sub2_3684.method3761(0, 0); + this.aHa_Sub2_3684.method3775(false, 0, 770, 5890); + this.aHa_Sub2_3684.method3738(-15039, 0); + OpenGL.glBindProgramARB(34336, 0); + OpenGL.glDisable(34336); + OpenGL.glDisable(34820); + aClass61_6222.endDisplayList(-1); + } + + final boolean method2137(int i) { + if (i >= -5) return true; + anInt6215++; + return true; + } + + final void method2133(int i) { + anInt6231++; + if (aClass61_6222 != null) { + if (i >= -75) method2134(true, false); + aClass61_6222.callDisplayList('\001', 28666); + this.aHa_Sub2_3684.method3738(-15039, 1); + this.aHa_Sub2_3684.method3771((byte) -103, null); + this.aHa_Sub2_3684.method3738(-15039, 0); + } + } + + final void method2134(boolean bool, boolean bool_11_) { + anInt6232++; + if (aClass61_6222 != null) { + aClass61_6222.callDisplayList('\0', 28666); + this.aHa_Sub2_3684.method3738(-15039, 1); + OpenGL.glMatrixMode(5890); + if (bool_11_ == false) { + OpenGL.glLoadMatrixf(this.aHa_Sub2_3684.aClass101_Sub3_7767.method940(1), 0); + OpenGL.glMatrixMode(5888); + this.aHa_Sub2_3684.method3738(-15039, 0); + if (this.aHa_Sub2_3684.anInt7735 != anInt6219) { + int i = ((this.aHa_Sub2_3684.anInt7735) % 5000 * 128 / 5000); + for (int i_12_ = 0; i_12_ < 64; i_12_++) { + OpenGL.glProgramLocalParameter4fvARB(34336, i_12_, aFloatArray6218, i); + i += 2; + } + if (aClass83_6227.aBoolean1442) aFloat6225 = (float) (this.aHa_Sub2_3684.anInt7735 % 4000) / 4000.0F; + else OpenGL.glProgramLocalParameter4fARB(34336, 65, 0.0F, 0.0F, 0.0F, 1.0F); + anInt6219 = (this.aHa_Sub2_3684.anInt7735); + } + } + } + } + + final void method2139(boolean bool, byte i) { + int i_13_ = 22 % ((-60 - i) / 38); + anInt6229++; + } + + /** + * Builds right-click / left-click tip rows for {@code npc} (Attack, Talk-to, Examine, …). + *

+ * When {@link NpcComposition#attackOptionMode} is {@code 1}, Attack is added on a + * separate path that stock clients use to demote (+2000 opcode) if the local + * player's {@link Player#combatLevel} is below the NPC's. That demote is currently + * commented out — no combat-level attack preferences in this client yet. + * + * @param bool true when NPC is on a different plane than the local player + * @param bool_14_ examine-only / reduced menu flag + */ + static final void addNpcMenuOptions(boolean bool, boolean bool_14_, Npc npc) { + anInt6226++; + if (DisplayModeManagerContainer306.menuEntryCount < 400) { + NpcComposition class79 = (npc.definition); + if (class79.anIntArray1377 != null) { + class79 = class79.method794((DisplayModeManagerContainer58.aClass170_10209), -1); + if (class79 == null) return; + } + if (class79.interactive) { + String string = class79.name; + if (class79.combatLevel != 0) { + String string_15_ = ((WorldNameText.STELLARDAWN != PacketReader.currentGameType) ? FriendsIgnoreList.aClass274_3511.getLocalized(ObjectDeserializer.languageId, 544) : FriendsIgnoreList.aClass274_3513.getLocalized(ObjectDeserializer.languageId, 544)); + string += ((WorldNameText.method250((Component72.localPlayer.combatLevel), true, class79.combatLevel)) + " (" + string_15_ + class79.combatLevel + ")"); + } + if (r.aBoolean9722 && !bool) { + Component355 class254 = (Component163.anInt3176 == -1 ? null : MatrixSub3.aClass326_5764.method2600(Component163.anInt3176, 28364)); + if ((PauseTimer.anInt500 & 0x2) != 0 && (class254 == null || (class79.method805((class254.anInt3256), Component163.anInt3176, 61) != class254.anInt3256))) { + DisplayModeManagerContainer368.addMenuEntry(false, DisplayModeManagerContainer332.aString5000 + " -> " + string, 0, (byte) -81, false, 0, -1, true, 30, npc.anInt10290, DisplayModeManagerContainer332.aString5001, npc.anInt10290, Component182.anInt9747); + Component321.anInt2586++; + } + } + if (!bool) { + String[] strings = class79.actions; + if (NodeBaseSub2.aBoolean9783) strings = Component188.method1847(strings, 0); + String preferred = DefaultClickSwapper.getPreferredNpcAction(class79.id); + String attack = FriendsIgnoreList.aClass274_3506.getLocalized(ObjectDeserializer.languageId, 544); + if (strings != null) { + for (int i = 4; i >= 0; i--) { + if (strings[i] != null && (class79.attackOptionMode == 0 || !(strings[i].equalsIgnoreCase(attack)))) { + boolean isAttack = strings[i].equalsIgnoreCase(attack); + int i_16_ = 0; + if (i == 0) i_16_ = 25; + int i_17_ = PauseTimer.anInt506; + if (i == 1) i_16_ = 20; + if (i == 2) i_16_ = 44; + if (i == 3) i_16_ = 46; + if (class79.anInt1335 == i) i_17_ = class79.anInt1371; + if (i == 4) i_16_ = 60; + if (i == class79.anInt1385) i_17_ = class79.anInt1338; + if (preferred != null && strings[i].equalsIgnoreCase(preferred)) { + i_17_ = 0x7ffffffe; // saved default wins left-click + } else if (isAttack) { + i_17_ = class79.attackMenuPriority; + // Swap active → bury Attack like the level-deprioritize path. + if (preferred != null) { + i_16_ += 2000; + i_17_ = 0; + } + } + Component267.anInt2976++; + DisplayModeManagerContainer368.addMenuEntry(false, "" + string, 0, (byte) -93, false, 0, -1, true, i_16_, npc.anInt10290, strings[i], npc.anInt10290, i_17_); + } + } + } + if (class79.attackOptionMode == 1 && strings != null) { + for (int i = 4; i >= 0; i--) { + if (strings[i] != null && (strings[i].equalsIgnoreCase(attack))) { + // Always deprioritize Attack when a left-click swap is active. + short i_18_ = (short) (preferred != null ? 2000 : 0); + // Stock: demote Attack when local combat level < NPC combat level + // so left-click skips stronger mobs. Disabled for now — the client + // does not expose combat-level attack preferences yet. + // if (preferred == null && (Component72.localPlayer.combatLevel) < class79.combatLevel) i_18_ = (short) 2000; + short i_19_ = 0; + if (i == 0) i_19_ = (short) 25; + if (i == 1) i_19_ = (short) 20; + if (i == 2) i_19_ = (short) 44; + if (i == 3) i_19_ = (short) 46; + if (i == 4) i_19_ = (short) 60; + if (i_19_ != 0) i_19_ += i_18_; + Component63.anInt4510++; + int attackPri = preferred != null ? 0 : class79.attackMenuPriority; + DisplayModeManagerContainer368.addMenuEntry(false, "" + string, 0, (byte) -101, false, 0, -1, true, i_19_, npc.anInt10290, strings[i], npc.anInt10290, attackPri); + } + } + } + } + Component275.anInt2690++; + int npcX = (npc.x >> 9) + NodeBaseSub2.regionTileX - npc.definition.anInt1399 + 1; + int npcY = (npc.y >> 9) + Component330.regionTileY - npc.definition.anInt1399 + 1; + DisplayModeManagerContainer368.addMenuEntry(bool, "" + string + Loader.getDebug(class79.id, npcX, npcY, npc.plane), 0, (byte) -105, bool_14_, 0, -1, true, 1008, npc.anInt10290, FriendsIgnoreList.aClass274_3505.getLocalized(ObjectDeserializer.languageId, 544), npc.anInt10290, CookieManager.anInt6299); + // Last options: "Default click" cascade (Pickpocket → left-click, etc.) + if (!bool) { + DefaultClickSwapper.injectNpcMenu(npc, class79); + MicrobotRuntime.injectNpcMenu(npc, class79); + } + } + } + } + + public static void method2151(int i) { + anIntArray6228 = null; + if (i > -72) method2148(null, null, 77); + aCalendar6221 = null; + } + + static final void method2152(boolean bool) { + for (int i = 0; i < Component325.occluderCountB; i++) + DisplayModeManagerContainer104.aClass338Array10330[i] = null; + anInt6223++; + Component325.occluderCountB = 0; + for (int i = 0; Component291.anInt2524 > i; i++) { + for (int i_20_ = 0; i_20_ < StaticElementRenderer.anInt6451; i_20_++) { + for (int i_21_ = 0; (i_21_ < NodeSub41.anInt7054); i_21_++) { + Component186 class357 = (Component335.aClass357ArrayArrayArray2029[i][i_21_][i_20_]); + if (class357 != null) { + if (class357.aShort4398 > 0) class357.aShort4398 *= -1; + if (class357.aShort4409 > 0) class357.aShort4409 *= -1; + } + } + } + } + if (bool != false) anIntArray6228 = null; + for (int i = 0; Component291.anInt2524 > i; i++) { + for (int i_22_ = 0; i_22_ < StaticElementRenderer.anInt6451; i_22_++) { + for (int i_23_ = 0; NodeSub41.anInt7054 > i_23_; i_23_++) { + Component186 class357 = (Component335.aClass357ArrayArrayArray2029[i][i_23_][i_22_]); + if (class357 != null) { + boolean bool_24_ = ((Component335.aClass357ArrayArrayArray2029[0][i_23_][i_22_]) != null && (Component335.aClass357ArrayArrayArray2029[0][i_23_][i_22_].aClass357_4400) != null); + if (class357.aShort4409 < 0) { + int i_25_ = i_22_; + int i_26_ = i_22_; + int i_27_ = i; + int i_28_ = i; + Component186 class357_29_ = (Component335.aClass357ArrayArrayArray2029[i][i_23_][i_25_ + -1]); + int i_30_; + for (i_30_ = (NodeSub1Sub1.aSArray8801[i].method3982((byte) -86, i_22_, i_23_)); (i_25_ > 0 && class357_29_ != null && class357_29_.aShort4409 < 0 && (class357_29_.aShort4409 == class357.aShort4409) && (class357.aShort4401 == class357_29_.aShort4401) && ((NodeSub1Sub1.aSArray8801[i].method3982((byte) -86, -1 + i_25_, i_23_)) == i_30_)); class357_29_ = (Component335.aClass357ArrayArrayArray2029[i][i_23_][i_25_ + -1])) { + if (-1 + i_25_ > 0 && i_30_ != (NodeSub1Sub1.aSArray8801[i].method3982((byte) -86, i_25_ + -2, i_23_))) break; + i_25_--; + } + for (class357_29_ = (Component335.aClass357ArrayArrayArray2029[i][i_23_][1 + i_26_]); ((NodeSub41.anInt7054 > i_26_) && class357_29_ != null && class357_29_.aShort4409 < 0 && (class357_29_.aShort4409 == class357.aShort4409) && (class357.aShort4401 == class357_29_.aShort4401) && i_30_ == (NodeSub1Sub1.aSArray8801[i].method3982((byte) -86, i_26_ - -1, i_23_))); class357_29_ = (Component335.aClass357ArrayArrayArray2029[i][i_23_][i_26_ + 1])) { + if ((NodeSub41.anInt7054 > 1 + i_26_) && i_30_ != (NodeSub1Sub1.aSArray8801[i].method3982((byte) -86, i_26_ + 2, i_23_))) break; + i_26_++; + } + int i_31_ = 1 + (-i_27_ + i_28_); + int i_32_ = NodeSub1Sub1.aSArray8801[bool_24_ ? 1 + i_27_ : i_27_].method3982((byte) -86, i_25_, i_23_); + int i_33_ = (class357.aShort4409 * i_31_ + i_32_); + int i_34_ = (NodeSub1Sub1.aSArray8801[!bool_24_ ? i_27_ : i_27_ + 1].method3982((byte) -86, 1 + i_26_, i_23_)); + int i_35_ = (i_34_ - -(i_31_ * class357.aShort4409)); + int i_36_ = i_23_ << Component149.anInt4459; + int i_37_ = i_25_ << Component149.anInt4459; + int i_38_ = (Component148.anInt3465 + (i_26_ << Component149.anInt4459)); + DisplayModeManagerContainer104.aClass338Array10330[Component325.occluderCountB++] = (new Component103(1, i_28_, class357.aShort4401 + i_36_, class357.aShort4401 + i_36_, class357.aShort4401 + i_36_, class357.aShort4401 + i_36_, i_32_, i_34_, i_35_, i_33_, i_37_, i_38_, i_38_, i_37_)); + for (int i_39_ = i_27_; i_28_ >= i_39_; i_39_++) { + for (int i_40_ = i_25_; i_26_ >= i_40_; i_40_++) + Component335.aClass357ArrayArrayArray2029[i_39_][i_23_][i_40_].aShort4409 *= -1; + } + } + if (class357.aShort4398 < 0) { + int i_41_ = i_23_; + int i_42_ = i_23_; + int i_43_ = i; + int i_44_ = i; + Component186 class357_45_ = (Component335.aClass357ArrayArrayArray2029[i][i_41_ - 1][i_22_]); + int i_46_; + for (i_46_ = (NodeSub1Sub1.aSArray8801[i].method3982((byte) -86, i_22_, i_23_)); (i_41_ > 0 && class357_45_ != null && class357_45_.aShort4398 < 0 && (class357.aShort4398 == class357_45_.aShort4398) && (class357.aShort4397 == class357_45_.aShort4397) && ((NodeSub1Sub1.aSArray8801[i].method3982((byte) -86, i_22_, -1 + i_41_)) == i_46_)); class357_45_ = (Component335.aClass357ArrayArrayArray2029[i][i_41_ - 1][i_22_])) { + if (i_41_ + -1 > 0 && ((NodeSub1Sub1.aSArray8801[i].method3982((byte) -86, i_22_, -2 + i_41_)) != i_46_)) break; + i_41_--; + } + for (class357_45_ = (Component335.aClass357ArrayArrayArray2029[i][i_42_ - -1][i_22_]); (i_42_ < StaticElementRenderer.anInt6451 && class357_45_ != null && class357_45_.aShort4398 < 0 && (class357.aShort4398 == class357_45_.aShort4398) && (class357_45_.aShort4397 == class357.aShort4397) && ((NodeSub1Sub1.aSArray8801[i].method3982((byte) -86, i_22_, i_42_ + 1)) == i_46_)); class357_45_ = (Component335.aClass357ArrayArrayArray2029[i][1 + i_42_][i_22_])) { + if (StaticElementRenderer.anInt6451 > i_42_ + 1 && ((NodeSub1Sub1.aSArray8801[i].method3982((byte) -86, i_22_, 2 + i_42_)) != i_46_)) break; + i_42_++; + } + int i_47_ = 1 + -i_43_ + i_44_; + int i_48_ = NodeSub1Sub1.aSArray8801[!bool_24_ ? i_43_ : 1 + i_43_].method3982((byte) -86, i_22_, i_41_); + int i_49_ = (i_48_ - -(i_47_ * class357.aShort4398)); + int i_50_ = (NodeSub1Sub1.aSArray8801[!bool_24_ ? i_43_ : 1 + i_43_].method3982((byte) -86, i_22_, 1 + i_42_)); + int i_51_ = (class357.aShort4398 * i_47_ + i_50_); + int i_52_ = i_41_ << Component149.anInt4459; + int i_53_ = ((i_42_ << Component149.anInt4459) + Component148.anInt3465); + int i_54_ = i_22_ << Component149.anInt4459; + DisplayModeManagerContainer104.aClass338Array10330[Component325.occluderCountB++] = (new Component103(2, i_44_, i_52_, i_53_, i_53_, i_52_, i_48_, i_50_, i_51_, i_49_, i_54_ + class357.aShort4397, i_54_ + class357.aShort4397, class357.aShort4397 + i_54_, (i_54_ - -class357.aShort4397))); + for (int i_55_ = i_43_; i_55_ <= i_44_; i_55_++) { + for (int i_56_ = i_41_; (i_42_ >= i_56_); i_56_++) + Component335.aClass357ArrayArrayArray2029[i_55_][i_56_][i_22_].aShort4398 *= -1; + } + } + } + } + } + } + Cp1252Decoder.aBoolean5226 = true; + } + + static final void method2153(int i) { + anInt6214++; + if (!Component214.aBoolean2130 && i <= -37) { + Component214.aBoolean2130 = true; + Component275.cameraYawRate += (-Component275.cameraYawRate + 24.0F) / 2.0F; + DummyClass.aBoolean10174 = true; + } + } +} diff --git a/client/scene/particles/ParticleSystem.java b/client/scene/particles/ParticleSystem.java new file mode 100644 index 000000000..c7acd881b --- /dev/null +++ b/client/scene/particles/ParticleSystem.java @@ -0,0 +1,81 @@ +/* ParticleSystem - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub47` (JODE-obfuscated). + * Particle system. extends Node; logs 'Particle system count: ' from the particle/InflaterDecompressor state. + */ + +import java.awt.*; + +final class ParticleSystem extends Node { + DisplayModeManagerContainer207 aClass348_Sub49_Sub2_7116; + static int anInt7117; + StringCache aClass351_7118; + int anInt7119; + static int anInt7120; + static int anInt7121; + int anInt7122; + static int anInt7123; + static Component183 aClass114_7124 = new Component183(62, 4); + static int anInt7125 = 1406; + + public static void method3323(int i) { + int i_0_ = -14 / ((73 - i) / 51); + aClass114_7124 = null; + } + + static final void method3324(GraphicsToolkit var_ha, byte i, long l) { + do { + try { + DisplayModeManagerContainer145.anInt1803 = 0; + Component102.anInt4797 = Component55.anInt3936; + Component203.anInt8780 = 0; + anInt7120++; + Component55.anInt3936 = 0; + long l_1_ = Component240.currentTimeMillis(-53); + RenderableSub10 class318_sub10 = (RenderableSub10) InflaterDecompressor.aClass243_2077.method1872(8); + if (i > 40) { + for (/**/; class318_sub10 != null; class318_sub10 = (RenderableSub10) InflaterDecompressor.aClass243_2077.method1878((byte) -64)) { + if (class318_sub10.method2535(var_ha, l)) Component203.anInt8780++; + } + if (!NodeSub16Sub2.aBoolean8874 || l % 100L != 0) break; + System.out.println("Particle system count: " + InflaterDecompressor.aClass243_2077.method1874(0) + ", running: " + Component203.anInt8780); + System.out.println("Emitters: " + DisplayModeManagerContainer145.anInt1803 + " Particles: " + Component55.anInt3936 + ". Time taken: " + (-l_1_ + Component240.currentTimeMillis(-112)) + "ms"); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wm.A(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + l + ')')); + } + break; + } while (false); + } + + static final boolean method3325(int i, int i_2_, boolean bool) { + if (bool != true) return false; + anInt7121++; + return (((0x2000 & i) != 0 | ClientErrorReporter.hasCollisionBlockFlags(i_2_, i, -118) | Component175.method1722(i, i_2_, (byte) 94)) & ShaderSub3.method166((byte) 105, i_2_, i)); + } + + final void method3326(byte i) { + anInt7117++; + if (Component218.aClass348_Sub47Array2334.length > Component266.anInt5980 && i == -45) Component218.aClass348_Sub47Array2334[Component266.anInt5980++] = this; + } + + static final void method3327(int i) { + if (i == 1406) { + if (NodeSub8.toolkit.method3694()) { + NodeSub8.toolkit.method3701(DisplayModeManagerContainer50.gameCanvas); + NodeSub22.method2959(-1); + if (!Component210.gameCanvasAttached) { + Dimension dimension = DisplayModeManagerContainer50.gameCanvas.getSize(); + NodeSub8.toolkit.method3643(DisplayModeManagerContainer50.gameCanvas, dimension.width, dimension.height); + } else DisplayModeManagerContainer77.method1108((byte) -99, DisplayModeManagerContainer50.gameCanvas); + NodeSub8.toolkit.method3677(DisplayModeManagerContainer50.gameCanvas); + } else SoftwareFallbackShader.method3553(false, (byte) 100, Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350)); + anInt7123++; + Component160.method3466(i + -1347); + NodeSub16Sub2.aBoolean8870 = true; + } + } +} diff --git a/client/script/ClientScriptExecutor.java b/client/script/ClientScriptExecutor.java new file mode 100644 index 000000000..5ced58216 --- /dev/null +++ b/client/script/ClientScriptExecutor.java @@ -0,0 +1,5177 @@ +/* ClientScriptExecutor - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class66` (JODE-obfuscated). + * CS2 (client script) interpreter. Executes clientscripts (runScript builds a script via Component62.method1223); reports 'Clientscript error in:', 'Command:', 'bad command', 'null char' diagnostics. + */ + +import java.awt.datatransfer.DataFlavor; +import java.awt.datatransfer.Transferable; +import java.util.Calendar; +import java.util.Date; + +final class ClientScriptExecutor { + private static int[] anIntArray1149 = new int[1000]; + private static DisplayModeManagerContainer57 aClass46_1150; + private static CookieBuilder aClass43_1151; + private static String[] aStringArray1152 = new String[1000]; + static int anInt1153; + private static int anInt1154 = 0; + private static String[] aStringArray1155; + static int anInt1156; + static int anInt1157; + static int anInt1158; + static int anInt1159; + private static Calendar aCalendar1160; + private static int[][] anIntArrayArray1161 = new int[5][5000]; + static int anInt1162; + static int anInt1163; + private static int[] anIntArray1164; + static int anInt1165; + static int anInt1166; + static int anInt1167; + private static Component357[] aClass184Array1168; + private static DisplayModeManagerContainer57 aClass46_1169; + private static int anInt1170 = 0; + static int anInt1171; + private static int[] anIntArray1172 = new int[5]; + private static int anInt1173 = 0; + static NodeCache aClass60_1174; + private static int[] anIntArray1175; + private static String[] aStringArray1176; + private static int anInt1177; + + /** Load script for trigger {@code class273} and run with a 200000-instruction budget. */ + static final void runScript(Component224 class273, int i, int i_0_) { + HashNodeSub19 class348_sub42_sub19 = Component62.method1223(i, i_0_, 96837648, class273); + if (class348_sub42_sub19 != null) { + anIntArray1164 = (new int + [class348_sub42_sub19.anInt9688]); + aStringArray1155 = (new String + [class348_sub42_sub19.anInt9689]); + if ((class348_sub42_sub19.aClass273_9691 == Component330.aClass273_1512) || (class348_sub42_sub19.aClass273_9691) == DisplayModeManagerContainer34.aClass273_8664 || (class348_sub42_sub19.aClass273_9691) == DisplayModeManagerContainer123.aClass273_1298) { + int i_1_ = 0; + int i_2_ = 0; + if (Component39.aClass46_2249 != null) { + i_1_ = Component39.aClass46_2249.anInt800; + i_2_ = Component39.aClass46_2249.anInt750; + } + anIntArray1164[0] = AbstractGlTextureSub4.mouseHandler.getCursorX(true) - i_1_; + anIntArray1164[1] = (AbstractGlTextureSub4.mouseHandler.getCursorY((byte) 80) - i_2_); + } + execute(class348_sub42_sub19, 200000); + } + } + + private static final void bringInterfaceToFront(int i) { + DisplayModeManagerContainer57 class46 = BitmapFont.method2570(1512932720, i); + if (class46 != null) { + int i_3_ = i >>> 16; + DisplayModeManagerContainer57[] class46s = Component14.aClass46ArrayArray8584[i_3_]; + if (class46s == null) { + DisplayModeManagerContainer57[] class46s_4_ = DefinitionSub33.aClass46ArrayArray9427[i_3_]; + int i_5_ = class46s_4_.length; + class46s = Component14.aClass46ArrayArray8584[i_3_] = new DisplayModeManagerContainer57[i_5_]; + Component313.arraycopyObjects(class46s_4_, 0, class46s, 0, class46s_4_.length); + } + int i_6_; + for (i_6_ = 0; i_6_ < class46s.length; i_6_++) { + if (class46s[i_6_] == class46) break; + } + if (i_6_ < class46s.length) { + Component313.arraycopyObjects(class46s, 0, class46s, 1, i_6_); + class46s[0] = class46; + } + } + } + + /** Run on-load scripts for interface {@code i}. */ + static final void runInterfaceScripts(int i) { + if (i != -1 && Component233.method2547(i, (byte) 84)) { + DisplayModeManagerContainer57[] class46s = DefinitionSub33.aClass46ArrayArray9427[i]; + for (int i_7_ = 0; i_7_ < class46s.length; i_7_++) { + DisplayModeManagerContainer57 class46 = class46s[i_7_]; + if (class46.anObjectArray815 != null) { + NodeSub36 class348_sub36 = new NodeSub36(); + class348_sub36.aClass46_6989 = class46; + class348_sub36.anObjectArray6987 = class46.anObjectArray815; + executeHook(class348_sub36, 2000000); + } + } + } + } + + private static final void method704(int i, boolean bool) { + if (i < 5100) { + if (i == 5000) { + anIntArray1149[anInt1173++] = NodeBase.anInt7276; + return; + } + if (i == 5001) { + anInt1173 -= 3; + NodeBase.anInt7276 = anIntArray1149[anInt1173]; + DisplayModeInfo.aClass227_1055 = PauseTimer.method360((byte) -57, anIntArray1149[anInt1173 + 1]); + if (DisplayModeInfo.aClass227_1055 == null) DisplayModeInfo.aClass227_1055 = Component265.aClass227_1591; + Component200.anInt3713 = anIntArray1149[anInt1173 + 2]; + anInt1156++; + ParticleSystem class348_sub47 = ParticleShader.method2148(NodeSub14.aClass351_6766, (DisplayModeManagerContainer64.aClass77_9029), -111); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, NodeBase.anInt7276); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, DisplayModeInfo.aClass227_1055.anInt2970); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, Component200.anInt3713); + HashNodeSub14.method3243(-77, class348_sub47); + return; + } + if (i == 5002) { + anInt1170 -= 2; + String string = aStringArray1152[anInt1170]; + String string_8_ = aStringArray1152[anInt1170 + 1]; + anInt1173 -= 2; + int i_9_ = anIntArray1149[anInt1173]; + int i_10_ = anIntArray1149[anInt1173 + 1]; + if (string_8_ == null) string_8_ = ""; + if (string_8_.length() > 80) string_8_ = string_8_.substring(0, 80); + anInt1157++; + ParticleSystem class348_sub47 = ParticleShader.method2148(Component184.aClass351_1987, (DisplayModeManagerContainer64.aClass77_9029), -117); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, (Component31.method1745(string, -65) + 2 + Component31.method1745(string_8_, -65))); + class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, i_9_ - 1); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, i_10_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string_8_); + HashNodeSub14.method3243(-85, class348_sub47); + return; + } + if (i == 5003) { + int i_11_ = anIntArray1149[--anInt1173]; + Component335 class147 = s.method3985(-101, i_11_); + String string = ""; + if (class147 != null && class147.aString2028 != null) string = class147.aString2028; + aStringArray1152[anInt1170++] = string; + return; + } + if (i == 5004) { + int i_12_ = anIntArray1149[--anInt1173]; + Component335 class147 = s.method3985(-101, i_12_); + int i_13_ = -1; + if (class147 != null) i_13_ = class147.anInt2032; + anIntArray1149[anInt1173++] = i_13_; + return; + } + if (i == 5005) { + if (DisplayModeInfo.aClass227_1055 == null) anIntArray1149[anInt1173++] = -1; + else { + anIntArray1149[anInt1173++] = DisplayModeInfo.aClass227_1055.anInt2970; + return; + } + return; + } + if (i == 5006) { + int i_14_ = anIntArray1149[--anInt1173]; + ParticleSystem class348_sub47 = ParticleShader.method2148(Sprite.aClass351_6925, (DisplayModeManagerContainer64.aClass77_9029), -100); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, i_14_); + HashNodeSub14.method3243(-70, class348_sub47); + return; + } + if (i == 5008) { + String string = aStringArray1152[--anInt1170]; + method707(string, i); + return; + } + if (i == 5009) { + anInt1170 -= 2; + String string = aStringArray1152[anInt1170]; + String string_15_ = aStringArray1152[anInt1170 + 1]; + if (Component353.anInt2581 != 0 || ((!ParametricDefinition.aBoolean9103 || HeapDumper.aBoolean1915) && !Component308.aBoolean5233)) { + anInt1159++; + ParticleSystem class348_sub47 = ParticleShader.method2148((DefinitionSub22.aClass351_9304), (DisplayModeManagerContainer64.aClass77_9029), -116); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 0); + int i_16_ = (class348_sub47.aClass348_Sub49_Sub2_7116.offset); + class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); + AbstractShaderSub4.writeHuffmanString((class348_sub47.aClass348_Sub49_Sub2_7116), -70, string_15_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeLengthByte(109, (class348_sub47.aClass348_Sub49_Sub2_7116.offset) - i_16_); + HashNodeSub14.method3243(2, class348_sub47); + return; + } + return; + } + if (i == 5010) { + int i_17_ = anIntArray1149[--anInt1173]; + Component335 class147 = s.method3985(-101, i_17_); + String string = ""; + if (class147 != null && class147.aString2024 != null) string = class147.aString2024; + aStringArray1152[anInt1170++] = string; + return; + } + if (i == 5011) { + int i_18_ = anIntArray1149[--anInt1173]; + Component335 class147 = s.method3985(-101, i_18_); + String string = ""; + if (class147 != null && class147.aString2022 != null) string = class147.aString2022; + aStringArray1152[anInt1170++] = string; + return; + } + if (i == 5012) { + int i_19_ = anIntArray1149[--anInt1173]; + Component335 class147 = s.method3985(-101, i_19_); + int i_20_ = -1; + if (class147 != null) i_20_ = class147.anInt2026; + anIntArray1149[anInt1173++] = i_20_; + return; + } + if (i == 5015) { + String string; + if (Component72.localPlayer != null && (Component72.localPlayer.displayName) != null) string = Component72.localPlayer.method2456(true, 255); + else string = ""; + aStringArray1152[anInt1170++] = string; + return; + } + if (i == 5016) { + anIntArray1149[anInt1173++] = Component200.anInt3713; + return; + } + if (i == 5017) { + anIntArray1149[anInt1173++] = HardwareProbe.method2749(-1); + return; + } + if (i == 5018) { + int i_21_ = anIntArray1149[--anInt1173]; + Component335 class147 = s.method3985(-101, i_21_); + int i_22_ = 0; + if (class147 != null) i_22_ = class147.anInt2027; + anIntArray1149[anInt1173++] = i_22_; + return; + } + if (i == 5019) { + int i_23_ = anIntArray1149[--anInt1173]; + Component335 class147 = s.method3985(-101, i_23_); + String string = ""; + if (class147 != null && class147.aString2033 != null) string = class147.aString2033; + aStringArray1152[anInt1170++] = string; + return; + } + if (i == 5020) { + String string; + if (Component72.localPlayer != null && (Component72.localPlayer.displayName) != null) string = Component72.localPlayer.getName(false, -78); + else string = ""; + aStringArray1152[anInt1170++] = string; + return; + } + if (i == 5023) { + int i_24_ = anIntArray1149[--anInt1173]; + Component335 class147 = s.method3985(-101, i_24_); + int i_25_ = -1; + if (class147 != null) i_25_ = class147.anInt2031; + anIntArray1149[anInt1173++] = i_25_; + return; + } + if (i == 5024) { + int i_26_ = anIntArray1149[--anInt1173]; + Component335 class147 = s.method3985(-101, i_26_); + int i_27_ = -1; + if (class147 != null) i_27_ = class147.anInt2030; + anIntArray1149[anInt1173++] = i_27_; + return; + } + if (i == 5025) { + int i_28_ = anIntArray1149[--anInt1173]; + Component335 class147 = s.method3985(-101, i_28_); + String string = ""; + if (class147 != null && class147.aString2025 != null) string = class147.aString2025; + aStringArray1152[anInt1170++] = string; + return; + } + if (i == 5050) { + int i_29_ = anIntArray1149[--anInt1173]; + aStringArray1152[anInt1170++] = (Component33.aClass226_2639.method1625(0, i_29_).aString9587); + return; + } + if (i == 5051) { + int i_30_ = anIntArray1149[--anInt1173]; + StringDefinition class348_sub42_sub11 = Component33.aClass226_2639.method1625(0, i_30_); + if ((class348_sub42_sub11.anIntArray9592) == null) anIntArray1149[anInt1173++] = 0; + else { + anIntArray1149[anInt1173++] = (class348_sub42_sub11.anIntArray9592).length; + return; + } + return; + } + if (i == 5052) { + anInt1173 -= 2; + int i_31_ = anIntArray1149[anInt1173]; + int i_32_ = anIntArray1149[anInt1173 + 1]; + StringDefinition class348_sub42_sub11 = Component33.aClass226_2639.method1625(0, i_31_); + int i_33_ = (class348_sub42_sub11.anIntArray9592[i_32_]); + anIntArray1149[anInt1173++] = i_33_; + return; + } + if (i == 5053) { + int i_34_ = anIntArray1149[--anInt1173]; + StringDefinition class348_sub42_sub11 = Component33.aClass226_2639.method1625(0, i_34_); + if ((class348_sub42_sub11.anIntArray9580) == null) anIntArray1149[anInt1173++] = 0; + else { + anIntArray1149[anInt1173++] = (class348_sub42_sub11.anIntArray9580).length; + return; + } + return; + } + if (i == 5054) { + anInt1173 -= 2; + int i_35_ = anIntArray1149[anInt1173]; + int i_36_ = anIntArray1149[anInt1173 + 1]; + anIntArray1149[anInt1173++] = (Component33.aClass226_2639.method1625(0, i_35_).anIntArray9580[i_36_]); + return; + } + if (i == 5055) { + int i_37_ = anIntArray1149[--anInt1173]; + aStringArray1152[anInt1170++] = Component31.aClass355_5900.method3471(i_37_, (byte) -112).method3219(127); + return; + } + if (i == 5056) { + int i_38_ = anIntArray1149[--anInt1173]; + HashNodeSub10 class348_sub42_sub10 = Component31.aClass355_5900.method3471(i_38_, (byte) -125); + if ((class348_sub42_sub10.anIntArray9566) == null) anIntArray1149[anInt1173++] = 0; + else { + anIntArray1149[anInt1173++] = (class348_sub42_sub10.anIntArray9566).length; + return; + } + return; + } + if (i == 5057) { + anInt1173 -= 2; + int i_39_ = anIntArray1149[anInt1173]; + int i_40_ = anIntArray1149[anInt1173 + 1]; + anIntArray1149[anInt1173++] = (Component31.aClass355_5900.method3471(i_39_, (byte) -126).anIntArray9566[i_40_]); + return; + } + if (i == 5058) { + aClass43_1151 = new CookieBuilder(); + aClass43_1151.anInt615 = anIntArray1149[--anInt1173]; + aClass43_1151.aClass348_Sub42_Sub10_614 = Component31.aClass355_5900.method3471((aClass43_1151.anInt615), (byte) -87); + aClass43_1151.anIntArray617 = new int[aClass43_1151.aClass348_Sub42_Sub10_614.method3215((byte) -48)]; + return; + } + if (i == 5059) { + anInt1165++; + ParticleSystem class348_sub47 = ParticleShader.method2148(CacheStore.aClass351_643, (DisplayModeManagerContainer64.aClass77_9029), -93); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 0); + int i_41_ = (class348_sub47.aClass348_Sub49_Sub2_7116.offset); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 0); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, aClass43_1151.anInt615); + aClass43_1151.aClass348_Sub42_Sub10_614.method3210((byte) 12, aClass43_1151.anIntArray617, (class348_sub47.aClass348_Sub49_Sub2_7116)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeLengthByte(115, (class348_sub47.aClass348_Sub49_Sub2_7116.offset) - i_41_); + HashNodeSub14.method3243(127, class348_sub47); + return; + } + if (i == 5060) { + String string = aStringArray1152[--anInt1170]; + anInt1166++; + ParticleSystem class348_sub47 = ParticleShader.method2148(Component177.aClass351_2109, (DisplayModeManagerContainer64.aClass77_9029), -89); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 0); + int i_42_ = (class348_sub47.aClass348_Sub49_Sub2_7116.offset); + class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, aClass43_1151.anInt615); + aClass43_1151.aClass348_Sub42_Sub10_614.method3210((byte) -125, aClass43_1151.anIntArray617, (class348_sub47.aClass348_Sub49_Sub2_7116)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeLengthByte(102, (class348_sub47.aClass348_Sub49_Sub2_7116.offset) - i_42_); + HashNodeSub14.method3243(127, class348_sub47); + return; + } + if (i == 5061) { + anInt1165++; + ParticleSystem class348_sub47 = ParticleShader.method2148(CacheStore.aClass351_643, (DisplayModeManagerContainer64.aClass77_9029), -104); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 0); + int i_43_ = (class348_sub47.aClass348_Sub49_Sub2_7116.offset); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 1); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, aClass43_1151.anInt615); + aClass43_1151.aClass348_Sub42_Sub10_614.method3210((byte) -126, aClass43_1151.anIntArray617, (class348_sub47.aClass348_Sub49_Sub2_7116)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeLengthByte(92, (class348_sub47.aClass348_Sub49_Sub2_7116.offset) - i_43_); + HashNodeSub14.method3243(-111, class348_sub47); + return; + } + if (i == 5062) { + anInt1173 -= 2; + int i_44_ = anIntArray1149[anInt1173]; + int i_45_ = anIntArray1149[anInt1173 + 1]; + anIntArray1149[anInt1173++] = (Component33.aClass226_2639.method1625(0, i_44_).aCharArray9588[i_45_]); + return; + } + if (i == 5063) { + anInt1173 -= 2; + int i_46_ = anIntArray1149[anInt1173]; + int i_47_ = anIntArray1149[anInt1173 + 1]; + anIntArray1149[anInt1173++] = (Component33.aClass226_2639.method1625(0, i_46_).aCharArray9582[i_47_]); + return; + } + if (i == 5064) { + anInt1173 -= 2; + int i_48_ = anIntArray1149[anInt1173]; + int i_49_ = anIntArray1149[anInt1173 + 1]; + if (i_49_ == -1) anIntArray1149[anInt1173++] = -1; + else { + anIntArray1149[anInt1173++] = Component33.aClass226_2639.method1625(0, i_48_).method3226((char) i_49_, 57249897); + return; + } + return; + } + if (i == 5065) { + anInt1173 -= 2; + int i_50_ = anIntArray1149[anInt1173]; + int i_51_ = anIntArray1149[anInt1173 + 1]; + if (i_51_ == -1) anIntArray1149[anInt1173++] = -1; + else { + anIntArray1149[anInt1173++] = Component33.aClass226_2639.method1625(0, i_50_).method3222((byte) -122, (char) i_51_); + return; + } + return; + } + if (i == 5066) { + int i_52_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = Component31.aClass355_5900.method3471(i_52_, (byte) -123).method3215((byte) -127); + return; + } + if (i == 5067) { + anInt1173 -= 2; + int i_53_ = anIntArray1149[anInt1173]; + int i_54_ = anIntArray1149[anInt1173 + 1]; + int i_55_ = Component31.aClass355_5900.method3471(i_53_, (byte) -127).method3212(0, i_54_).anInt1941; + anIntArray1149[anInt1173++] = i_55_; + return; + } + if (i == 5068) { + anInt1173 -= 2; + int i_56_ = anIntArray1149[anInt1173]; + int i_57_ = anIntArray1149[anInt1173 + 1]; + aClass43_1151.anIntArray617[i_56_] = i_57_; + return; + } + if (i == 5069) { + anInt1173 -= 2; + int i_58_ = anIntArray1149[anInt1173]; + int i_59_ = anIntArray1149[anInt1173 + 1]; + aClass43_1151.anIntArray617[i_58_] = i_59_; + return; + } + if (i == 5070) { + anInt1173 -= 3; + int i_60_ = anIntArray1149[anInt1173]; + int i_61_ = anIntArray1149[anInt1173 + 1]; + int i_62_ = anIntArray1149[anInt1173 + 2]; + HashNodeSub10 class348_sub42_sub10 = Component31.aClass355_5900.method3471(i_60_, (byte) -127); + if ((class348_sub42_sub10.method3212(0, i_61_).anInt1941) != 0) throw new RuntimeException("bad command"); + anIntArray1149[anInt1173++] = class348_sub42_sub10.method3213(i_62_, i_61_, true); + return; + } + if (i == 5071) { + String string = aStringArray1152[--anInt1170]; + boolean bool_63_ = anIntArray1149[--anInt1173] == 1; + DisplayModeManagerContainer370.method606(0, bool_63_, string); + anIntArray1149[anInt1173++] = DisplayModeManagerContainer154.anInt1285; + return; + } + if (i == 5072) { + if (Component353.aShortArray2579 == null || Component3.anInt2037 >= DisplayModeManagerContainer154.anInt1285) anIntArray1149[anInt1173++] = -1; + else { + anIntArray1149[anInt1173++] = (Component353.aShortArray2579[Component3.anInt2037++] & 0xffff); + return; + } + return; + } + if (i == 5073) { + Component3.anInt2037 = 0; + return; + } + } else if (i < 5200) { + if (i == 5100) { + if (Component280.aClass346_2449.isKeyDown(86, -121)) anIntArray1149[anInt1173++] = 1; + else { + anIntArray1149[anInt1173++] = 0; + return; + } + return; + } + if (i == 5101) { + if (Component280.aClass346_2449.isKeyDown(82, -126)) anIntArray1149[anInt1173++] = 1; + else { + anIntArray1149[anInt1173++] = 0; + return; + } + return; + } + if (i == 5102) { + if (Component280.aClass346_2449.isKeyDown(81, -128)) anIntArray1149[anInt1173++] = 1; + else { + anIntArray1149[anInt1173++] = 0; + return; + } + return; + } + } else if (i < 5300) { + if (i == 5200) { + DisplayModeManagerContainer91.method312(anIntArray1149[--anInt1173], (byte) 56); + return; + } + if (i == 5201) { + anIntArray1149[anInt1173++] = DisplayModeManagerContainer389.method244(37); + return; + } + if (i == 5205) { + DisplayModeManagerContainer310.method298(false, -1, -1, anIntArray1149[--anInt1173], -53); + return; + } + if (i == 5206) { + int i_64_ = anIntArray1149[--anInt1173]; + HashNodeSub14 class348_sub42_sub14 = DisplayModeManagerContainer229.method766(i_64_ >> 14 & 0x3fff, i_64_ & 0x3fff); + if (class348_sub42_sub14 == null) anIntArray1149[anInt1173++] = -1; + else { + anIntArray1149[anInt1173++] = (class348_sub42_sub14.anInt9628); + return; + } + return; + } + if (i == 5207) { + HashNodeSub14 class348_sub42_sub14 = DisplayModeManagerContainer229.method757(anIntArray1149[--anInt1173]); + if (class348_sub42_sub14 == null || (class348_sub42_sub14.aString9632) == null) aStringArray1152[anInt1170++] = ""; + else { + aStringArray1152[anInt1170++] = (class348_sub42_sub14.aString9632); + return; + } + return; + } + if (i == 5208) { + anIntArray1149[anInt1173++] = Component361.anInt370; + anIntArray1149[anInt1173++] = Component280.anInt2446; + return; + } + if (i == 5209) { + anIntArray1149[anInt1173++] = NodeSub36.anInt6992 + DisplayModeManagerContainer229.anInt1266; + anIntArray1149[anInt1173++] = DebugOverlay.anInt3170 + DisplayModeManagerContainer229.anInt1263; + return; + } + if (i == 5210) { + int i_65_ = anIntArray1149[--anInt1173]; + HashNodeSub14 class348_sub42_sub14 = DisplayModeManagerContainer229.method757(i_65_); + if (class348_sub42_sub14 == null) { + anIntArray1149[anInt1173++] = 0; + anIntArray1149[anInt1173++] = 0; + } else { + anIntArray1149[anInt1173++] = (class348_sub42_sub14.anInt9640) >> 14 & 0x3fff; + anIntArray1149[anInt1173++] = (class348_sub42_sub14.anInt9640) & 0x3fff; + return; + } + return; + } + if (i == 5211) { + int i_66_ = anIntArray1149[--anInt1173]; + HashNodeSub14 class348_sub42_sub14 = DisplayModeManagerContainer229.method757(i_66_); + if (class348_sub42_sub14 == null) { + anIntArray1149[anInt1173++] = 0; + anIntArray1149[anInt1173++] = 0; + } else { + anIntArray1149[anInt1173++] = ((class348_sub42_sub14.anInt9635) - (class348_sub42_sub14.anInt9644)); + anIntArray1149[anInt1173++] = ((class348_sub42_sub14.anInt9627) - (class348_sub42_sub14.anInt9643)); + return; + } + return; + } + if (i == 5212) { + NodeSub21 class348_sub21 = DisplayModeManagerContainer89.method199(1); + if (class348_sub21 == null) { + anIntArray1149[anInt1173++] = -1; + anIntArray1149[anInt1173++] = -1; + } else { + anIntArray1149[anInt1173++] = class348_sub21.anInt6847; + int i_67_ = (class348_sub21.anInt6850 << 28 | (class348_sub21.anInt6852 + DisplayModeManagerContainer229.anInt1266) << 14 | (class348_sub21.anInt6851 + DisplayModeManagerContainer229.anInt1263)); + anIntArray1149[anInt1173++] = i_67_; + return; + } + return; + } + if (i == 5213) { + NodeSub21 class348_sub21 = LruCache.method3479(-1); + if (class348_sub21 == null) { + anIntArray1149[anInt1173++] = -1; + anIntArray1149[anInt1173++] = -1; + } else { + anIntArray1149[anInt1173++] = class348_sub21.anInt6847; + int i_68_ = (class348_sub21.anInt6850 << 28 | (class348_sub21.anInt6852 + DisplayModeManagerContainer229.anInt1266) << 14 | (class348_sub21.anInt6851 + DisplayModeManagerContainer229.anInt1263)); + anIntArray1149[anInt1173++] = i_68_; + return; + } + return; + } + if (i == 5214) { + int i_69_ = anIntArray1149[--anInt1173]; + HashNodeSub14 class348_sub42_sub14 = ImageTagText.method1269(-17096); + if (class348_sub42_sub14 != null) { + boolean bool_70_ = class348_sub42_sub14.method3236(anIntArray1175, i_69_ >> 14 & 0x3fff, i_69_ & 0x3fff, i_69_ >> 28 & 0x3, (byte) -28); + if (bool_70_) BrowserUrlOpener.method2839(anIntArray1175[1], -17, anIntArray1175[2]); + } + return; + } + if (i == 5215) { + anInt1173 -= 2; + int i_71_ = anIntArray1149[anInt1173]; + int i_72_ = anIntArray1149[anInt1173 + 1]; + HashTable class107 = DisplayModeManagerContainer229.method767(i_71_ >> 14 & 0x3fff, i_71_ & 0x3fff); + boolean bool_73_ = false; + for (HashNodeSub14 class348_sub42_sub14 = (HashNodeSub14) class107.first(-48); class348_sub42_sub14 != null; class348_sub42_sub14 = ((HashNodeSub14) class107.next((byte) 113))) { + if (class348_sub42_sub14.anInt9628 == i_72_) { + bool_73_ = true; + break; + } + } + if (bool_73_) anIntArray1149[anInt1173++] = 1; + else { + anIntArray1149[anInt1173++] = 0; + return; + } + return; + } + if (i == 5218) { + int i_74_ = anIntArray1149[--anInt1173]; + HashNodeSub14 class348_sub42_sub14 = DisplayModeManagerContainer229.method757(i_74_); + if (class348_sub42_sub14 == null) anIntArray1149[anInt1173++] = -1; + else { + anIntArray1149[anInt1173++] = (class348_sub42_sub14.anInt9631); + return; + } + return; + } + if (i == 5220) { + anIntArray1149[anInt1173++] = Node.anInt4290 == 100 ? 1 : 0; + return; + } + if (i == 5221) { + int i_75_ = anIntArray1149[--anInt1173]; + BrowserUrlOpener.method2839(i_75_ >> 14 & 0x3fff, -17, i_75_ & 0x3fff); + return; + } + if (i == 5222) { + HashNodeSub14 class348_sub42_sub14 = ImageTagText.method1269(-17096); + if (class348_sub42_sub14 == null) { + anIntArray1149[anInt1173++] = -1; + anIntArray1149[anInt1173++] = -1; + return; + } else { + boolean bool_76_ = (class348_sub42_sub14.method3239(true, DebugOverlay.anInt3170 + DisplayModeManagerContainer229.anInt1263, NodeSub36.anInt6992 + DisplayModeManagerContainer229.anInt1266, anIntArray1175)); + if (bool_76_) { + anIntArray1149[anInt1173++] = anIntArray1175[1]; + anIntArray1149[anInt1173++] = anIntArray1175[2]; + } else { + anIntArray1149[anInt1173++] = -1; + anIntArray1149[anInt1173++] = -1; + } + } + return; + } + if (i == 5223) { + anInt1173 -= 2; + int i_77_ = anIntArray1149[anInt1173]; + int i_78_ = anIntArray1149[anInt1173 + 1]; + DisplayModeManagerContainer310.method298(false, i_78_ & 0x3fff, i_78_ >> 14 & 0x3fff, i_77_, -53); + return; + } + if (i == 5224) { + int i_79_ = anIntArray1149[--anInt1173]; + HashNodeSub14 class348_sub42_sub14 = ImageTagText.method1269(-17096); + if (class348_sub42_sub14 == null) { + anIntArray1149[anInt1173++] = -1; + anIntArray1149[anInt1173++] = -1; + return; + } else { + boolean bool_80_ = class348_sub42_sub14.method3236(anIntArray1175, i_79_ >> 14 & 0x3fff, i_79_ & 0x3fff, i_79_ >> 28 & 0x3, (byte) -28); + if (bool_80_) { + anIntArray1149[anInt1173++] = anIntArray1175[1]; + anIntArray1149[anInt1173++] = anIntArray1175[2]; + } else { + anIntArray1149[anInt1173++] = -1; + anIntArray1149[anInt1173++] = -1; + } + } + return; + } + if (i == 5225) { + int i_81_ = anIntArray1149[--anInt1173]; + HashNodeSub14 class348_sub42_sub14 = ImageTagText.method1269(-17096); + if (class348_sub42_sub14 == null) { + anIntArray1149[anInt1173++] = -1; + anIntArray1149[anInt1173++] = -1; + return; + } else { + boolean bool_82_ = class348_sub42_sub14.method3239(true, i_81_ & 0x3fff, i_81_ >> 14 & 0x3fff, anIntArray1175); + if (bool_82_) { + anIntArray1149[anInt1173++] = anIntArray1175[1]; + anIntArray1149[anInt1173++] = anIntArray1175[2]; + } else { + anIntArray1149[anInt1173++] = -1; + anIntArray1149[anInt1173++] = -1; + } + } + return; + } + if (i == 5226) { + Component387.method1129(anIntArray1149[--anInt1173], 100); + return; + } + if (i == 5227) { + anInt1173 -= 2; + int i_83_ = anIntArray1149[anInt1173]; + int i_84_ = anIntArray1149[anInt1173 + 1]; + DisplayModeManagerContainer310.method298(true, i_84_ & 0x3fff, i_84_ >> 14 & 0x3fff, i_83_, -62); + return; + } + if (i == 5228) { + NodeSub1Sub1.aBoolean8805 = anIntArray1149[--anInt1173] == 1; + return; + } + if (i == 5229) { + anIntArray1149[anInt1173++] = NodeSub1Sub1.aBoolean8805 ? 1 : 0; + return; + } + if (i == 5230) { + int i_85_ = anIntArray1149[--anInt1173]; + DisplayModeManagerContainer91.method314((byte) -74, i_85_); + return; + } + if (i == 5231) { + anInt1173 -= 2; + int i_86_ = anIntArray1149[anInt1173]; + boolean bool_87_ = anIntArray1149[anInt1173 + 1] == 1; + if (Component140.aClass356_10442 != null) { + Node class348 = Component140.aClass356_10442.get(i_86_, -6008); + if (class348 != null && !bool_87_) class348.unlink((byte) 48); + else if (class348 == null && bool_87_) { + class348 = new Node(); + Component140.aClass356_10442.put((byte) 29, i_86_, class348); + } + } + return; + } + if (i == 5232) { + int i_88_ = anIntArray1149[--anInt1173]; + if (Component140.aClass356_10442 == null) { + anIntArray1149[anInt1173++] = 0; + return; + } else { + Node class348 = Component140.aClass356_10442.get(i_88_, -6008); + anIntArray1149[anInt1173++] = class348 != null ? 1 : 0; + } + return; + } + if (i == 5233) { + anInt1173 -= 2; + int i_89_ = anIntArray1149[anInt1173]; + boolean bool_90_ = anIntArray1149[anInt1173 + 1] == 1; + if (HeapDumpHelper.aClass356_4934 != null) { + Node class348 = HeapDumpHelper.aClass356_4934.get(i_89_, -6008); + if (class348 != null && !bool_90_) class348.unlink((byte) 83); + else if (class348 == null && bool_90_) { + class348 = new Node(); + HeapDumpHelper.aClass356_4934.put((byte) 112, i_89_, class348); + } + } + return; + } + if (i == 5234) { + int i_91_ = anIntArray1149[--anInt1173]; + if (HeapDumpHelper.aClass356_4934 == null) { + anIntArray1149[anInt1173++] = 0; + return; + } else { + Node class348 = HeapDumpHelper.aClass356_4934.get(i_91_, -6008); + anIntArray1149[anInt1173++] = class348 != null ? 1 : 0; + } + return; + } + if (i == 5235) { + anIntArray1149[anInt1173++] = (DisplayModeManagerContainer229.aClass348_Sub42_Sub14_1243 != null ? DisplayModeManagerContainer229.aClass348_Sub42_Sub14_1243.anInt9628 : -1); + return; + } + if (i == 5236) { + anInt1173 -= 2; + int i_92_ = anIntArray1149[anInt1173]; + int i_93_ = anIntArray1149[anInt1173 + 1]; + int i_94_ = i_93_ >> 14 & 0x3fff; + int i_95_ = i_93_ & 0x3fff; + int i_96_ = DisplayModeManagerContainer295.method1754(true, i_92_, i_94_, i_95_); + if (i_96_ < 0) anIntArray1149[anInt1173++] = -1; + else { + anIntArray1149[anInt1173++] = i_96_; + return; + } + return; + } + if (i == 5237) { + DisplayModeManagerContainer273.method1134(86); + return; + } + } else if (i < 5400) { + if (i == 5300) { + anInt1173 -= 2; + int i_97_ = anIntArray1149[anInt1173]; + int i_98_ = anIntArray1149[anInt1173 + 1]; + LogicError.method830(3, i_97_, (byte) 102, false, i_98_); + anIntArray1149[anInt1173++] = Component225.aFrame476 != null ? 1 : 0; + return; + } + if (i == 5301) { + if (Component225.aFrame476 != null) LogicError.method830(Component192.aClass348_Sub51_3959.aClass239_Sub8_7227.method1751(-32350), -1, (byte) 102, false, -1); + return; + } + if (i == 5302) { + DisplayModeInfo[] class57s = FriendLoginMessage.getFilteredDisplayModes(1494); + anIntArray1149[anInt1173++] = class57s.length; + return; + } + if (i == 5303) { + int i_99_ = anIntArray1149[--anInt1173]; + DisplayModeInfo[] class57s = FriendLoginMessage.getFilteredDisplayModes(1494); + anIntArray1149[anInt1173++] = class57s[i_99_].width; + anIntArray1149[anInt1173++] = class57s[i_99_].height; + return; + } + if (i == 5305) { + int i_100_ = InputHandler.anInt4276; + int i_101_ = DisplayModeManagerContainer295.anInt5911; + int i_102_ = -1; + DisplayModeInfo[] class57s = FriendLoginMessage.getFilteredDisplayModes(1494); + for (int i_103_ = 0; i_103_ < class57s.length; i_103_++) { + DisplayModeInfo class57 = class57s[i_103_]; + if (class57.width == i_100_ && class57.height == i_101_) { + i_102_ = i_103_; + break; + } + } + anIntArray1149[anInt1173++] = i_102_; + return; + } + if (i == 5306) { + anIntArray1149[anInt1173++] = MenuEntry.getWindowMode(-126); + return; + } + if (i == 5307) { + int i_104_ = anIntArray1149[--anInt1173]; + if (i_104_ >= 1 && i_104_ <= 2) { + LogicError.method830(i_104_, -1, (byte) 102, false, -1); + return; + } + return; + } + if (i == 5308) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub8_7227.method1751(-32350); + return; + } + if (i == 5309) { + int i_105_ = anIntArray1149[--anInt1173]; + if (i_105_ >= 1 && i_105_ <= 2) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub8_7227), i_105_); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub8_7254), i_105_); + DisplayModeManagerContainer389.method243(37); + return; + } + return; + } + } else if (i < 5500) { + if (i == 5400) { + anInt1170 -= 2; + String string = aStringArray1152[anInt1170]; + String string_106_ = aStringArray1152[anInt1170 + 1]; + int i_107_ = anIntArray1149[--anInt1173]; + anInt1171++; + ParticleSystem class348_sub47 = ParticleShader.method2148((DefinitionSub17.aClass351_9234), (DisplayModeManagerContainer64.aClass77_9029), -101); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, (Component31.method1745(string, -65) + Component31.method1745(string_106_, -65) + 1)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); + class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string_106_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, i_107_); + HashNodeSub14.method3243(-66, class348_sub47); + return; + } + if (i == 5401) { + anInt1173 -= 2; + RenderableSub6.aShortArray6428[anIntArray1149[anInt1173]] = (short) Shader.method160(27076, anIntArray1149[anInt1173 + 1]); + Exception_Sub1.itemDefinitions.method1930(-21804); + Exception_Sub1.itemDefinitions.method1936(-71); + Component291.aClass278_2529.method2074(-118); + Component160.method3466(125); + return; + } + if (i == 5405) { + anInt1173 -= 2; + int i_108_ = anIntArray1149[anInt1173]; + int i_109_ = anIntArray1149[anInt1173 + 1]; + if (i_108_ >= 0 && i_108_ < 2) PlayerState.anIntArrayArrayArray7079[i_108_] = new int[i_109_ << 1][4]; + return; + } + if (i == 5406) { + anInt1173 -= 7; + int i_110_ = anIntArray1149[anInt1173]; + int i_111_ = anIntArray1149[anInt1173 + 1] << 1; + int i_112_ = anIntArray1149[anInt1173 + 2]; + int i_113_ = anIntArray1149[anInt1173 + 3]; + int i_114_ = anIntArray1149[anInt1173 + 4]; + int i_115_ = anIntArray1149[anInt1173 + 5]; + int i_116_ = anIntArray1149[anInt1173 + 6]; + if (i_110_ >= 0 && i_110_ < 2 && PlayerState.anIntArrayArrayArray7079[i_110_] != null && i_111_ >= 0 && i_111_ < (PlayerState.anIntArrayArrayArray7079[i_110_]).length) { + PlayerState.anIntArrayArrayArray7079[i_110_][i_111_] = new int[]{(i_112_ >> 14 & 0x3fff) << 9, i_113_ << 2, (i_112_ & 0x3fff) << 9, i_116_}; + PlayerState.anIntArrayArrayArray7079[i_110_][i_111_ + 1] = new int[]{(i_114_ >> 14 & 0x3fff) << 9, i_115_ << 2, (i_114_ & 0x3fff) << 9}; + } + return; + } + if (i == 5407) { + int i_117_ = ((PlayerState.anIntArrayArrayArray7079[anIntArray1149[--anInt1173]]).length >> 1); + anIntArray1149[anInt1173++] = i_117_; + return; + } + if (i == 5411) { + if (Component225.aFrame476 != null) LogicError.method830(Component192.aClass348_Sub51_3959.aClass239_Sub8_7227.method1751(-32350), -1, (byte) 102, false, -1); + if (RSACipher.aFrame4904 == null) { + String string = (Component262.quitUrl != null ? Component262.quitUrl : WaterShaderProgram.method2162(false)); + BrowserDetector.openBrowserUrl(string, OggUrlStream.aClass297_8992, Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) == 1, false, -47); + return; + } else { + DisplayModeManagerContainer343.saveClientPreferences(97); + System.exit(0); + } + return; + } + if (i == 5419) { + String string = ""; + if (PauseHandler.aClass144_9536 != null) { + if (PauseHandler.aClass144_9536.result != null) string = (String) (PauseHandler.aClass144_9536.result); + else string = Component366.method1669(-19918, (PauseHandler.aClass144_9536.intArg1)); + } + aStringArray1152[anInt1170++] = string; + return; + } + if (i == 5420) { + anIntArray1149[anInt1173++] = OggUrlStream.aClass297_8992.signed ? 0 : 1; + return; + } + if (i == 5421) { + if (Component225.aFrame476 != null) LogicError.method830(Component192.aClass348_Sub51_3959.aClass239_Sub8_7227.method1751(-32350), -1, (byte) 102, false, -1); + String string = aStringArray1152[--anInt1170]; + boolean bool_118_ = anIntArray1149[--anInt1173] == 1; + String string_119_ = WaterShaderProgram.method2162(false) + string; + BrowserDetector.openBrowserUrl(string_119_, OggUrlStream.aClass297_8992, Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) == 1, bool_118_, 104); + return; + } + if (i == 5422) { + anInt1170 -= 2; + String string = aStringArray1152[anInt1170]; + String string_120_ = aStringArray1152[anInt1170 + 1]; + int i_121_ = anIntArray1149[--anInt1173]; + if (string.length() > 0) { + if (WaterShader.aStringArray7378 == null) WaterShader.aStringArray7378 = new String[(SocketConnector.anIntArray3475[PacketReader.currentGameType.id])]; + WaterShader.aStringArray7378[i_121_] = string; + } + if (string_120_.length() > 0) { + if (Component285.aStringArray974 == null) Component285.aStringArray974 = new String[(SocketConnector.anIntArray3475[PacketReader.currentGameType.id])]; + Component285.aStringArray974[i_121_] = string_120_; + } + return; + } + if (i == 5423) { + System.out.println(aStringArray1152[--anInt1170]); + return; + } + if (i == 5424) { + anInt1173 -= 11; + Component235.anInt3376 = anIntArray1149[anInt1173]; + Component44.anInt948 = anIntArray1149[anInt1173 + 1]; + Component235.anInt3374 = anIntArray1149[anInt1173 + 2]; + HashNodeSub4.anInt9511 = anIntArray1149[anInt1173 + 3]; + BuildType.anInt2996 = anIntArray1149[anInt1173 + 4]; + ToolbarRefreshDefinition.anInt9231 = anIntArray1149[anInt1173 + 5]; + DisplayModeManagerContainer58.anInt10257 = anIntArray1149[anInt1173 + 6]; + Component55.anInt3937 = anIntArray1149[anInt1173 + 7]; + NpcComposition.anInt1387 = anIntArray1149[anInt1173 + 8]; + StringDefinition.anInt9586 = anIntArray1149[anInt1173 + 9]; + Component2.anInt8363 = anIntArray1149[anInt1173 + 10]; + Component158.aClass45_322.isSingletonFileReady(false, BuildType.anInt2996); + Component158.aClass45_322.isSingletonFileReady(false, ToolbarRefreshDefinition.anInt9231); + Component158.aClass45_322.isSingletonFileReady(false, DisplayModeManagerContainer58.anInt10257); + Component158.aClass45_322.isSingletonFileReady(false, Component55.anInt3937); + Component158.aClass45_322.isSingletonFileReady(false, NpcComposition.anInt1387); + RSARequest.aClass105_9659 = Component338.aClass105_1706 = RadixParser.aClass105_2309 = null; + OutputStream_Sub2.aClass105_106 = Component221.aClass105_1800 = NodeSub5.aClass105_6627 = null; + RSARequest.aClass105_9658 = DisplayModeManagerContainer74.aClass105_4808 = null; + DisplayModeManagerContainer5.aBoolean1211 = true; + return; + } + if (i == 5425) { + FriendsIgnoreList.clearHudSprites(12); + DisplayModeManagerContainer5.aBoolean1211 = false; + return; + } + if (i == 5426) { + anInt1173 -= 2; + HashNodeSub16Sub1.anInt10447 = anIntArray1149[anInt1173]; + PauseTimer.anInt506 = anIntArray1149[anInt1173 + 1]; + return; + } + if (i == 5427) { + anInt1173 -= 2; + CookieManager.anInt6299 = anIntArray1149[anInt1173 + 1]; + return; + } + if (i == 5428) { + anInt1173 -= 2; + int i_122_ = anIntArray1149[anInt1173]; + int i_123_ = anIntArray1149[anInt1173 + 1]; + anIntArray1149[anInt1173++] = Component327.method2410((byte) -49, i_123_, i_122_) ? 1 : 0; + return; + } + if (i == 5429) { + CommandHandler.handleCommand(aStringArray1152[--anInt1170], false, false, (byte) -79); + return; + } + if (i == 5430) { + try { + AppletInvoker.callAppletNoArgs((byte) 125, ToolkitFactory.anApplet1530, "accountcreated"); + } catch (Throwable throwable) { + /* empty */ + } + return; + } + if (i == 5431) { + try { + AppletInvoker.callAppletNoArgs((byte) 125, ToolkitFactory.anApplet1530, "accountcreatestarted"); + } catch (Throwable throwable) { + /* empty */ + } + return; + } + if (i == 5432) { + String string = ""; + if (DefinitionSub27.aClipboard9357 != null) { + Transferable transferable = DefinitionSub27.aClipboard9357.getContents(null); + if (transferable != null) { + try { + string = (String) (transferable.getTransferData(DataFlavor.stringFlavor)); + if (string == null) string = ""; + } catch (Exception exception) { + /* empty */ + } + } + } + aStringArray1152[anInt1170++] = string; + return; + } + if (i == 5433) { + Component9.anInt4143 = anIntArray1149[--anInt1173]; + return; + } + } else if (i < 5600) { + if (i == 5500) { + anInt1173 -= 4; + int i_124_ = anIntArray1149[anInt1173]; + int i_125_ = anIntArray1149[anInt1173 + 1]; + int i_126_ = anIntArray1149[anInt1173 + 2]; + int i_127_ = anIntArray1149[anInt1173 + 3]; + Component188.method1844(i_126_, ((i_124_ >> 14 & 0x3fff) - NodeBaseSub2.regionTileX), false, i_125_ << 2, false, i_127_, ((i_124_ & 0x3fff) - Component330.regionTileY)); + return; + } + if (i == 5501) { + anInt1173 -= 4; + int i_128_ = anIntArray1149[anInt1173]; + int i_129_ = anIntArray1149[anInt1173 + 1]; + int i_130_ = anIntArray1149[anInt1173 + 2]; + int i_131_ = anIntArray1149[anInt1173 + 3]; + MenuEntry.setCutsceneCamera(((i_128_ & 0x3fff) - Component330.regionTileY), ((i_128_ >> 14 & 0x3fff) - NodeBaseSub2.regionTileX), i_129_ << 2, i_131_, i_130_, -128); + return; + } + if (i == 5502) { + anInt1173 -= 6; + int i_132_ = anIntArray1149[anInt1173]; + if (i_132_ >= 2) throw new RuntimeException(); + NodeBaseSub1.anInt9775 = i_132_; + int i_133_ = anIntArray1149[anInt1173 + 1]; + if (i_133_ + 1 >= (PlayerState.anIntArrayArrayArray7079[NodeBaseSub1.anInt9775]).length >> 1) throw new RuntimeException(); + ItemDefinition.anInt2798 = i_133_; + Component208.anInt1780 = 0; + Component195.anInt5019 = anIntArray1149[anInt1173 + 2]; + Component374.anInt4133 = anIntArray1149[anInt1173 + 3]; + int i_134_ = anIntArray1149[anInt1173 + 4]; + if (i_134_ >= 2) throw new RuntimeException(); + Component102.anInt4803 = i_134_; + int i_135_ = anIntArray1149[anInt1173 + 5]; + if (i_135_ + 1 >= (PlayerState.anIntArrayArrayArray7079[Component102.anInt4803]).length >> 1) throw new RuntimeException(); + Component235.anInt3373 = i_135_; + DefinitionSub21.cameraMode = 3; + JaclibLoader.anInt167 = ShaderLinker.anInt10163 = -1; + return; + } + if (i == 5503) { + Component59.method1122(0); + return; + } + if (i == 5504) { + anInt1173 -= 2; + DisplayModeManagerContainer28.method2396(anIntArray1149[anInt1173], anIntArray1149[anInt1173 + 1], 0, 3); + return; + } + if (i == 5505) { + anIntArray1149[anInt1173++] = (int) DisplayModeManagerContainer154.cameraPitch >> 3; + return; + } + if (i == 5506) { + anIntArray1149[anInt1173++] = (int) Component112.cameraYaw >> 3; + return; + } + if (i == 5507) { + Component82.method326((byte) 68); + return; + } + if (i == 5508) { + Component117.method3470(1); + return; + } + if (i == 5509) { + ParticleShader.method2153(-77); + return; + } + if (i == 5510) { + Component110.method262(0); + return; + } + if (i == 5511) { + int i_136_ = anIntArray1149[--anInt1173]; + int i_137_ = i_136_ >> 14 & 0x3fff; + int i_138_ = i_136_ & 0x3fff; + i_137_ -= NodeBaseSub2.regionTileX; + if (i_137_ < 0) i_137_ = 0; + else if (i_137_ >= AbstractShaderSub4.anInt7319) i_137_ = AbstractShaderSub4.anInt7319; + i_138_ -= Component330.regionTileY; + if (i_138_ < 0) i_138_ = 0; + else if (i_138_ >= ParametricDefinition.anInt9109) i_138_ = ParametricDefinition.anInt9109; + NodederUtil.anInt6633 = (i_137_ << 9) + 256; + NodeSub7.anInt6652 = (i_138_ << 9) + 256; + DefinitionSub21.cameraMode = 4; + JaclibLoader.anInt167 = ShaderLinker.anInt10163 = -1; + return; + } + if (i == 5512) { + Component284.method1851((byte) 121); + return; + } + if (i == 5514) { + Component72.anInt1911 = anIntArray1149[--anInt1173]; + return; + } + if (i == 5516) { + anIntArray1149[anInt1173++] = Component72.anInt1911; + return; + } + if (i == 5517) { + int i_139_ = anIntArray1149[--anInt1173]; + if (i_139_ == -1) { + int i_140_ = i_139_ >> 14 & 0x3fff; + int i_141_ = i_139_ & 0x3fff; + i_140_ -= NodeBaseSub2.regionTileX; + if (i_140_ < 0) i_140_ = 0; + else if (i_140_ >= AbstractShaderSub4.anInt7319) i_140_ = AbstractShaderSub4.anInt7319; + i_141_ -= Component330.regionTileY; + if (i_141_ < 0) i_141_ = 0; + else if (i_141_ >= ParametricDefinition.anInt9109) i_141_ = ParametricDefinition.anInt9109; + JaclibLoader.anInt167 = (i_140_ << 9) + 256; + ShaderLinker.anInt10163 = (i_141_ << 9) + 256; + } else { + JaclibLoader.anInt167 = -1; + ShaderLinker.anInt10163 = -1; + return; + } + return; + } + if (i == 5547) { + anIntArray1149[anInt1173++] = DefinitionSub21.cameraMode == 1 ? 1 : 0; + return; + } + } else if (i < 5700) { + if (i == 5600) { + anInt1170 -= 2; + String string = aStringArray1152[anInt1170]; + String string_142_ = aStringArray1152[anInt1170 + 1]; + int i_143_ = anIntArray1149[--anInt1173]; + if (string.length() <= 320 && Component49.clientState == 3 && (Component241.anInt2955 == 0 && AbstractShaderSub2.anInt7297 == 0)) { + DisplayModeManagerContainer282.username = string; + DisplayModeManagerContainer51.password = string_142_; + RuntimeException_Sub1.anInt4596 = i_143_; + Buffer.setClientState(2, 6); + return; + } + return; + } + if (i == 5601) { + Component330.method854((byte) -76); + return; + } + if (i == 5602) { + if (Component241.anInt2955 == 0) { + HashTable.anInt1645 = -2; + NodederUtil.anInt6634 = -2; + } + return; + } + if (i == 5604) { + anInt1170--; + if (Component49.clientState == 3 && (Component241.anInt2955 == 0 && AbstractShaderSub2.anInt7297 == 0)) { + Component337.method2106(aStringArray1152[anInt1170], 101); + return; + } + return; + } + if (i == 5605) { + anInt1170 -= 2; + anInt1173 -= 2; + if (Component49.clientState == 3 && (Component241.anInt2955 == 0 && AbstractShaderSub2.anInt7297 == 0)) { + Component377.method449(aStringArray1152[anInt1170 + 1], aStringArray1152[anInt1170], false, anIntArray1149[anInt1173], anIntArray1149[anInt1173 + 1] == 1); + return; + } + return; + } + if (i == 5606) { + if (AbstractShaderSub2.anInt7297 == 0) Component48.anInt4337 = -2; + return; + } + if (i == 5607) { + anIntArray1149[anInt1173++] = NodederUtil.anInt6634; + return; + } + if (i == 5608) { + anIntArray1149[anInt1173++] = Component227.anInt1121; + return; + } + if (i == 5609) { + anIntArray1149[anInt1173++] = Component48.anInt4337; + return; + } + if (i == 5611) { + anIntArray1149[anInt1173++] = HashNodeSub7.anInt9541; + return; + } + if (i == 5612) { + int i_144_ = anIntArray1149[--anInt1173]; + if (Component49.clientState == 7 && (Component241.anInt2955 == 0 && AbstractShaderSub2.anInt7297 == 0)) { + if (DefinitionSub8.aClass238_9165 != null) { + DefinitionSub8.aClass238_9165.close((byte) 36); + DefinitionSub8.aClass238_9165 = null; + } + RuntimeException_Sub1.anInt4596 = i_144_; + Buffer.setClientState(2, 9); + return; + } + return; + } + if (i == 5613) { + anIntArray1149[anInt1173++] = NodederUtil.anInt6634; + return; + } + if (i == 5615) { + anInt1170 -= 2; + String string = aStringArray1152[anInt1170]; + String string_145_ = aStringArray1152[anInt1170 + 1]; + if (string.length() <= 320 && Component49.clientState == 3 && (Component241.anInt2955 == 0 && AbstractShaderSub2.anInt7297 == 0)) { + if (DefinitionSub8.aClass238_9165 != null) { + DefinitionSub8.aClass238_9165.close((byte) 36); + DefinitionSub8.aClass238_9165 = null; + } + DisplayModeManagerContainer282.username = string; + DisplayModeManagerContainer51.password = string_145_; + Buffer.setClientState(2, 5); + return; + } + return; + } + if (i == 5616) { + LoggedOutDefinition.disconnectAndReset(false, (byte) 11); + return; + } + if (i == 5617) { + anIntArray1149[anInt1173++] = HashTable.anInt1645; + return; + } + if (i == 5618) { + anInt1173--; + return; + } + if (i == 5619) { + anInt1173--; + return; + } + if (i == 5620) { + anIntArray1149[anInt1173++] = 0; + return; + } + if (i == 5621) { + anInt1170 -= 2; + anInt1173 -= 2; + return; + } + if (i == 5622) return; + if (i == 5623) { + if (OggStreamReader.aString9043 == null) { + anIntArray1149[anInt1173++] = 0; + return; + } else anIntArray1149[anInt1173++] = 1; + return; + } + if (i == 5624) { + anIntArray1149[anInt1173++] = (int) (Component283.aLong4615 >> 32); + anIntArray1149[anInt1173++] = (int) (Component283.aLong4615 & 0xffffL); + return; + } + if (i == 5625) { + anIntArray1149[anInt1173++] = Component301.aBoolean4127 ? 1 : 0; + return; + } + if (i == 5626) { + Component301.aBoolean4127 = true; + CookieManager.method2172(84); + return; + } + } else if (i < 6100) { + if (i == 6001) { + int i_146_ = anIntArray1149[--anInt1173]; + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub10_7232), i_146_); + NodeSub20.method2953((byte) -126); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + return; + } + if (i == 6002) { + boolean bool_147_ = anIntArray1149[--anInt1173] == 1; + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub27_7255), bool_147_ ? 1 : 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub27_7261), bool_147_ ? 1 : 0); + NodeSub20.method2953((byte) -122); + DefinitionSub9.method3072((byte) 32); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + return; + } + if (i == 6003) { + boolean bool_148_ = anIntArray1149[--anInt1173] == 1; + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub14_7250), bool_148_ ? 2 : 1); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub14_7264), bool_148_ ? 2 : 1); + DefinitionSub9.method3072((byte) -106); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + return; + } + if (i == 6005) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub4_7220), anIntArray1149[--anInt1173] == 1 ? 1 : 0); + NodeSub20.method2953((byte) -111); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + return; + } + if (i == 6007) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub13_7236), anIntArray1149[--anInt1173]); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + return; + } + if (i == 6008) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub1_7246), anIntArray1149[--anInt1173] == 1 ? 1 : 0); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + return; + } + if (i == 6010) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub21_7270), anIntArray1149[--anInt1173] == 1 ? 1 : 0); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + return; + } + if (i == 6011) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub7_7238), anIntArray1149[--anInt1173]); + NodeSub20.method2953((byte) -116); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + return; + } + if (i == 6012) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub28_7230), anIntArray1149[--anInt1173] == 1 ? 1 : 0); + Definition.method3038(-1); + DisplayModeManagerContainer154.method773(true); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + return; + } + if (i == 6014) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub18_7259), anIntArray1149[--anInt1173] == 1 ? 2 : 0); + NodeSub20.method2953((byte) -112); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + return; + } + if (i == 6015) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub16_7247), anIntArray1149[--anInt1173] == 1 ? 1 : 0); + NodeSub20.method2953((byte) -127); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + return; + } + if (i == 6016) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub20_7248), anIntArray1149[--anInt1173]); + SoftwareFallbackShader.method3553(false, (byte) 112, Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350)); + DisplayModeManagerContainer389.method243(37); + return; + } + if (i == 6017) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub5_7240), anIntArray1149[--anInt1173] == 1 ? 1 : 0); + Component243.method352(1); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + return; + } + if (i == 6018) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub26_7272), anIntArray1149[--anInt1173]); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + return; + } + if (i == 6019) { + int i_149_ = anIntArray1149[--anInt1173]; + int i_150_ = Component192.aClass348_Sub51_3959.aClass239_Sub26_7260.method1838(-32350); + if (i_149_ != i_150_) { + if (NativeLibLoader.isPostLoginState(true, Component49.clientState)) { + if (i_150_ == 0 && Component119.anInt3428 != -1) { + NodeSub1Sub3.method2732(0, Component119.anInt3428, false, 94, (Component54.aClass45_8667), i_149_); + DefinitionSub17Sub1.method3093(87); + DisplayModeManagerContainer238.aBoolean1236 = false; + } else if (i_149_ == 0) { + Component65.method960(1); + DisplayModeManagerContainer238.aBoolean1236 = false; + } else Component225.method345(i_149_, (byte) -49); + } + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub26_7260), i_149_); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + } + return; + } + if (i == 6020) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub26_7234), anIntArray1149[--anInt1173]); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + return; + } + if (i == 6021) { + int i_151_ = Component192.aClass348_Sub51_3959.aClass239_Sub14_7250.method1778(-32350); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub14_7264), anIntArray1149[--anInt1173] == 1 ? 0 : i_151_); + DefinitionSub9.method3072((byte) -118); + return; + } + if (i == 6023) { + int i_152_ = anIntArray1149[--anInt1173]; + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub15_7224), i_152_); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + return; + } + if (i == 6024) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub20_7216), anIntArray1149[--anInt1173]); + DisplayModeManagerContainer389.method243(37); + return; + } + if (i == 6025) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub6_7226), anIntArray1149[--anInt1173]); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + return; + } + if (i == 6027) { + int i_153_ = anIntArray1149[--anInt1173]; + if (i_153_ < 0 || i_153_ > 1) i_153_ = 0; + DefinitionSub33.method3137(i_153_ == 1, (byte) -24); + return; + } + if (i == 6028) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub22_7253), anIntArray1149[--anInt1173] != 0 ? 1 : 0); + DisplayModeManagerContainer389.method243(37); + return; + } + if (i == 6029) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub13_7236), anIntArray1149[--anInt1173]); + DisplayModeManagerContainer389.method243(37); + return; + } + if (i == 6030) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub9_7256), anIntArray1149[--anInt1173] != 0 ? 1 : 0); + DisplayModeManagerContainer389.method243(37); + NodeSub20.method2953((byte) -116); + return; + } + if (i == 6031) { + int i_154_ = anIntArray1149[--anInt1173]; + if (i_154_ < 0 || i_154_ > 5) i_154_ = 2; + SoftwareFallbackShader.method3553(false, (byte) 101, i_154_); + return; + } + if (i == 6032) { + anInt1173 -= 2; + int i_155_ = anIntArray1149[anInt1173]; + boolean bool_156_ = anIntArray1149[anInt1173 + 1] == 1; + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub25_7251), i_155_); + if (!bool_156_) Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub29_7229), 0); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + return; + } + if (i == 6033) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub17_7263), anIntArray1149[--anInt1173]); + DisplayModeManagerContainer389.method243(37); + return; + } + if (i == 6034) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub24_7235), anIntArray1149[--anInt1173] == 1 ? 1 : 0); + DisplayModeManagerContainer389.method243(37); + Definition.method3038(-1); + r.aBoolean9719 = false; + return; + } + if (i == 6035) { + int i_157_ = Component192.aClass348_Sub51_3959.aClass239_Sub27_7255.method1840(-32350); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub27_7261), anIntArray1149[--anInt1173] == 1 ? 1 : i_157_); + NodeSub20.method2953((byte) -110); + DefinitionSub9.method3072((byte) 125); + return; + } + if (i == 6036) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub23_7231), anIntArray1149[--anInt1173]); + DisplayModeManagerContainer389.method243(37); + RuntimeException_Sub1.aBoolean4604 = true; + return; + } + if (i == 6037) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub26_7215), anIntArray1149[--anInt1173]); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + return; + } + if (i == 6038) { + int i_158_ = anIntArray1149[--anInt1173]; + int i_159_ = Component192.aClass348_Sub51_3959.aClass239_Sub26_7245.method1838(-32350); + if (i_158_ != i_159_ && Component119.anInt3428 == Component35.anInt4270) { + if (!NativeLibLoader.isPostLoginState(true, Component49.clientState)) { + if (i_159_ == 0) { + NodeSub1Sub3.method2732(0, Component119.anInt3428, false, 127, (Component54.aClass45_8667), i_158_); + DefinitionSub17Sub1.method3093(118); + DisplayModeManagerContainer238.aBoolean1236 = false; + } else if (i_158_ == 0) { + Component65.method960(1); + DisplayModeManagerContainer238.aBoolean1236 = false; + } else Component225.method345(i_158_, (byte) -52); + } + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub26_7245), i_158_); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + } + return; + } + if (i == 6039) { + int i_160_ = anIntArray1149[--anInt1173]; + if (i_160_ > 255 || i_160_ < 0) i_160_ = 0; + if (i_160_ != Component192.aClass348_Sub51_3959.aClass239_Sub19_7257.method1805(-32350)) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub19_7257), i_160_); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + } + return; + } + if (i == 6040) { + int i_161_ = anIntArray1149[--anInt1173]; + if (i_161_ != Component192.aClass348_Sub51_3959.aClass239_Sub3_7222.method1727(-32350)) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub3_7222), i_161_); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + HashNodeSub3.method3179(0); + } + return; + } + } else if (i < 6200) { + if (i == 6101) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub10_7232.method1764(-32350); + return; + } + if (i == 6102) { + anIntArray1149[anInt1173++] = (Component192.aClass348_Sub51_3959.aClass239_Sub27_7255.method1840(-32350) == 1 ? 1 : 0); + return; + } + if (i == 6103) { + anIntArray1149[anInt1173++] = (Component192.aClass348_Sub51_3959.aClass239_Sub14_7250.method1778(-32350) == 2 ? 1 : 0); + return; + } + if (i == 6105) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub4_7220.method1737(-32350) == 1 ? 1 : 0; + return; + } + if (i == 6107) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub13_7236.method1776(-32350); + return; + } + if (i == 6108) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub1_7246.method1720(-32350) == 1 ? 1 : 0; + return; + } + if (i == 6110) { + anIntArray1149[anInt1173++] = (Component192.aClass348_Sub51_3959.aClass239_Sub21_7270.method1812(-32350) == 1 ? 1 : 0); + return; + } + if (i == 6111) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub7_7238.method1748(-32350); + return; + } + if (i == 6112) { + anIntArray1149[anInt1173++] = (Component192.aClass348_Sub51_3959.aClass239_Sub28_7230.method1845(-32350) == 1 ? 1 : 0); + return; + } + if (i == 6114) { + anIntArray1149[anInt1173++] = (Component192.aClass348_Sub51_3959.aClass239_Sub18_7259.method1800(-32350) == 2 ? 1 : 0); + return; + } + if (i == 6115) { + anIntArray1149[anInt1173++] = (Component192.aClass348_Sub51_3959.aClass239_Sub16_7247.method1789(-32350) == 1 ? 1 : 0); + return; + } + if (i == 6116) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub20_7248.method1808(-32350); + return; + } + if (i == 6117) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub5_7240.method1739(-32350) == 1 ? 1 : 0; + return; + } + if (i == 6118) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub26_7272.method1838(-32350); + return; + } + if (i == 6119) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub26_7260.method1838(-32350); + return; + } + if (i == 6120) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub26_7234.method1838(-32350); + return; + } + if (i == 6123) { + anIntArray1149[anInt1173++] = Component2.method197(false); + return; + } + if (i == 6124) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub20_7216.method1808(-32350); + return; + } + if (i == 6125) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub6_7226.method1743(-32350); + return; + } + if (i == 6127) { + anIntArray1149[anInt1173++] = (Component192.aClass348_Sub51_3959.aClass239_Sub12_7243.method1771(-32350) == 1 ? 1 : 0); + return; + } + if (i == 6128) { + anIntArray1149[anInt1173++] = (Component192.aClass348_Sub51_3959.aClass239_Sub22_7253.method1815(-32350) == 1 ? 1 : 0); + return; + } + if (i == 6129) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub13_7236.method1776(-32350); + return; + } + if (i == 6130) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub9_7256.method1759(-32350) == 1 ? 1 : 0; + return; + } + if (i == 6131) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350); + return; + } + if (i == 6132) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub25_7251.method1829(-32350); + return; + } + if (i == 6133) { + anIntArray1149[anInt1173++] = ((OggUrlStream.aClass297_8992.signed) && !(OggUrlStream.aClass297_8992.useDirectDraw)) ? 1 : 0; + return; + } + if (i == 6135) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub17_7263.method1798(-32350); + return; + } + if (i == 6136) { + anIntArray1149[anInt1173++] = (Component192.aClass348_Sub51_3959.aClass239_Sub24_7235.method1820(-32350) == 1 ? 1 : 0); + return; + } + if (i == 6138) { + anIntArray1149[anInt1173++] = Component329.method1781(Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350), -84, 200); + return; + } + if (i == 6139) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub23_7231.method1818(-32350); + return; + } + if (i == 6142) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub26_7215.method1838(-32350); + return; + } + if (i == 6143) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub26_7245.method1838(-32350); + return; + } + if (i == 6144) { + anIntArray1149[anInt1173++] = DisplayModeManagerContainer64.aBoolean9038 ? 1 : 0; + return; + } + if (i == 6145) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub19_7257.method1805(-32350); + return; + } + if (i == 6146) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub3_7222.method1727(-32350); + return; + } + if (i == 6147) { + anIntArray1149[anInt1173++] = (DefinitionSub20.aClass348_Sub4_9264.anInt6609 < 512 || DisplayModeManagerContainer64.aBoolean9038 || GpsOverlay.aBoolean1952) ? 1 : 0; + return; + } + if (i == 6148) { + anIntArray1149[anInt1173++] = DisplayModeManagerContainer42.aBoolean3847 ? 1 : 0; + return; + } + } else if (i < 6300) { + if (i == 6200) { + anInt1173 -= 2; + Component338.aShort1700 = (short) anIntArray1149[anInt1173]; + if (Component338.aShort1700 <= 0) Component338.aShort1700 = (short) 256; + Component39.aShort2250 = (short) anIntArray1149[anInt1173 + 1]; + if (Component39.aShort2250 <= 0) Component39.aShort2250 = (short) 205; + return; + } + if (i == 6201) { + anInt1173 -= 2; + OggStreamReader.aShort9044 = (short) anIntArray1149[anInt1173]; + if (OggStreamReader.aShort9044 <= 0) OggStreamReader.aShort9044 = (short) 256; + Component233.aShort3992 = (short) anIntArray1149[anInt1173 + 1]; + if (Component233.aShort3992 <= 0) Component233.aShort3992 = (short) 320; + return; + } + if (i == 6202) { + anInt1173 -= 4; + CacheNode.aShort9555 = (short) anIntArray1149[anInt1173]; + if (CacheNode.aShort9555 <= 0) CacheNode.aShort9555 = (short) 1; + Component377.aShort851 = (short) anIntArray1149[anInt1173 + 1]; + if (Component377.aShort851 <= 0) Component377.aShort851 = (short) 32767; + else if (Component377.aShort851 < CacheNode.aShort9555) Component377.aShort851 = CacheNode.aShort9555; + WaterShaderSub8.aShort7355 = (short) anIntArray1149[anInt1173 + 2]; + if (WaterShaderSub8.aShort7355 <= 0) WaterShaderSub8.aShort7355 = (short) 1; + Component382.aShort2269 = (short) anIntArray1149[anInt1173 + 3]; + if (Component382.aShort2269 <= 0) Component382.aShort2269 = (short) 32767; + else { + if (Component382.aShort2269 < WaterShaderSub8.aShort7355) Component382.aShort2269 = WaterShaderSub8.aShort7355; + return; + } + return; + } + if (i == 6203) { + HashNodeSub3.method3174(0, 0, NodeSub1.aClass46_6561.anInt709, false, (byte) 74, NodeSub1.aClass46_6561.anInt789); + anIntArray1149[anInt1173++] = Component296.anInt4656; + anIntArray1149[anInt1173++] = Component333.anInt3643; + return; + } + if (i == 6204) { + anIntArray1149[anInt1173++] = OggStreamReader.aShort9044; + anIntArray1149[anInt1173++] = Component233.aShort3992; + return; + } + if (i == 6205) { + anIntArray1149[anInt1173++] = Component338.aShort1700; + anIntArray1149[anInt1173++] = Component39.aShort2250; + return; + } + } else if (i < 6400) { + if (i == 6300) { + anIntArray1149[anInt1173++] = (int) (Component240.currentTimeMillis(-76) / 60000L); + return; + } + if (i == 6301) { + anIntArray1149[anInt1173++] = (int) (Component240.currentTimeMillis(-77) / 86400000L) - 11745; + return; + } + if (i == 6302) { + anInt1173 -= 3; + int i_162_ = anIntArray1149[anInt1173]; + int i_163_ = anIntArray1149[anInt1173 + 1]; + int i_164_ = anIntArray1149[anInt1173 + 2]; + aCalendar1160.clear(); + aCalendar1160.set(11, 12); + aCalendar1160.set(i_164_, i_163_, i_162_); + int i_165_ = ((int) (aCalendar1160.getTime().getTime() / 86400000L) - 11745); + if (i_164_ < 1970) i_165_--; + anIntArray1149[anInt1173++] = i_165_; + return; + } + if (i == 6303) { + aCalendar1160.clear(); + aCalendar1160.setTime(new Date(Component240.currentTimeMillis(-59))); + anIntArray1149[anInt1173++] = aCalendar1160.get(1); + return; + } + if (i == 6304) { + int i_166_ = anIntArray1149[--anInt1173]; + boolean bool_167_ = true; + if (i_166_ < 0) bool_167_ = (i_166_ + 1) % 4 == 0; + else if (i_166_ < 1582) bool_167_ = i_166_ % 4 == 0; + else if (i_166_ % 4 != 0) bool_167_ = false; + else if (i_166_ % 100 != 0) bool_167_ = true; + else if (i_166_ % 400 != 0) bool_167_ = false; + anIntArray1149[anInt1173++] = bool_167_ ? 1 : 0; + return; + } + } else if (i < 6500) { + if (i == 6405) { + anIntArray1149[anInt1173++] = VideoAdPlayer.method717(-2511) ? 1 : 0; + return; + } + if (i == 6406) { + anIntArray1149[anInt1173++] = VideoAdDisplay.method1891(314376967) ? 1 : 0; + return; + } + } else if (i < 6600) { + if (i == 6500) { + if (Component49.clientState != 7 || Component241.anInt2955 != 0 || AbstractShaderSub2.anInt7297 != 0) anIntArray1149[anInt1173++] = 1; + else { + if (Component387.aBoolean1899) anIntArray1149[anInt1173++] = 0; + else { + if (Component49.aLong4683 > Component240.currentTimeMillis(-126) - 1000L) anIntArray1149[anInt1173++] = 1; + else { + Component387.aBoolean1899 = true; + ParticleSystem class348_sub47 = ParticleShader.method2148((DisplayModeManagerContainer64.aClass351_9034), (DisplayModeManagerContainer64.aClass77_9029), -115); + class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 101, Component364.anInt8349); + HashNodeSub14.method3243(118, class348_sub47); + anIntArray1149[anInt1173++] = 0; + return; + } + return; + } + return; + } + return; + } + if (i == 6501) { + Component362 class110_sub1 = Component203.method2487(-97); + if (class110_sub1 == null) { + anIntArray1149[anInt1173++] = -1; + anIntArray1149[anInt1173++] = 0; + aStringArray1152[anInt1170++] = ""; + anIntArray1149[anInt1173++] = 0; + aStringArray1152[anInt1170++] = ""; + anIntArray1149[anInt1173++] = 0; + anIntArray1149[anInt1173++] = 0; + aStringArray1152[anInt1170++] = ""; + return; + } else { + anIntArray1149[anInt1173++] = class110_sub1.anInt5786; + anIntArray1149[anInt1173++] = class110_sub1.anInt1708; + aStringArray1152[anInt1170++] = class110_sub1.aString5787; + Component69 class283 = class110_sub1.method1038(false); + anIntArray1149[anInt1173++] = class283.anInt3657; + aStringArray1152[anInt1170++] = class283.aString3663; + anIntArray1149[anInt1173++] = class110_sub1.anInt1704; + anIntArray1149[anInt1173++] = class110_sub1.anInt5788; + aStringArray1152[anInt1170++] = class110_sub1.aString5794; + } + return; + } + if (i == 6502) { + Component362 class110_sub1 = Component245.method170(true); + if (class110_sub1 == null) { + anIntArray1149[anInt1173++] = -1; + anIntArray1149[anInt1173++] = 0; + aStringArray1152[anInt1170++] = ""; + anIntArray1149[anInt1173++] = 0; + aStringArray1152[anInt1170++] = ""; + anIntArray1149[anInt1173++] = 0; + anIntArray1149[anInt1173++] = 0; + aStringArray1152[anInt1170++] = ""; + return; + } else { + anIntArray1149[anInt1173++] = class110_sub1.anInt5786; + anIntArray1149[anInt1173++] = class110_sub1.anInt1708; + aStringArray1152[anInt1170++] = class110_sub1.aString5787; + Component69 class283 = class110_sub1.method1038(false); + anIntArray1149[anInt1173++] = class283.anInt3657; + aStringArray1152[anInt1170++] = class283.aString3663; + anIntArray1149[anInt1173++] = class110_sub1.anInt1704; + anIntArray1149[anInt1173++] = class110_sub1.anInt5788; + aStringArray1152[anInt1170++] = class110_sub1.aString5794; + } + return; + } + if (i == 6503) { + int i_168_ = anIntArray1149[--anInt1173]; + String string = aStringArray1152[--anInt1170]; + if (Component49.clientState != 7 || Component241.anInt2955 != 0 || AbstractShaderSub2.anInt7297 != 0) anIntArray1149[anInt1173++] = 0; + else { + anIntArray1149[anInt1173++] = (OggUrlStream.method2972(string, i_168_, -42) ? 1 : 0); + return; + } + return; + } + if (i == 6506) { + int i_169_ = anIntArray1149[--anInt1173]; + Component362 class110_sub1 = DisplayModeManagerContainer348.method1742(false, i_169_); + if (class110_sub1 == null) { + anIntArray1149[anInt1173++] = -1; + aStringArray1152[anInt1170++] = ""; + anIntArray1149[anInt1173++] = 0; + aStringArray1152[anInt1170++] = ""; + anIntArray1149[anInt1173++] = 0; + anIntArray1149[anInt1173++] = 0; + aStringArray1152[anInt1170++] = ""; + return; + } else { + anIntArray1149[anInt1173++] = class110_sub1.anInt1708; + aStringArray1152[anInt1170++] = class110_sub1.aString5787; + Component69 class283 = class110_sub1.method1038(false); + anIntArray1149[anInt1173++] = class283.anInt3657; + aStringArray1152[anInt1170++] = class283.aString3663; + anIntArray1149[anInt1173++] = class110_sub1.anInt1704; + anIntArray1149[anInt1173++] = class110_sub1.anInt5788; + aStringArray1152[anInt1170++] = class110_sub1.aString5794; + } + return; + } + if (i == 6507) { + anInt1173 -= 4; + int i_170_ = anIntArray1149[anInt1173]; + boolean bool_171_ = anIntArray1149[anInt1173 + 1] == 1; + int i_172_ = anIntArray1149[anInt1173 + 2]; + boolean bool_173_ = anIntArray1149[anInt1173 + 3] == 1; + Component114.selectWorldListEntry(bool_173_, 0, i_172_, i_170_, bool_171_); + return; + } + if (i == 6508) { + HashNodeSub20.method3283(-47); + return; + } + if (i == 6509) { + if (Component49.clientState == 7) { + DefinitionSub30.aBoolean9403 = anIntArray1149[--anInt1173] == 1; + return; + } + return; + } + if (i == 6510) { + anIntArray1149[anInt1173++] = Component111.anInt3234; + return; + } + } else if (i >= 6700) { + if (i < 6800 && Component53.currentBuildType == Component118.WIP) { + if (i == 6700) { + int i_174_ = Component15.aClass356_4915.size(1); + if (r.anInt9721 != -1) i_174_++; + anIntArray1149[anInt1173++] = i_174_; + return; + } + if (i == 6701) { + int i_175_ = anIntArray1149[--anInt1173]; + if (r.anInt9721 != -1) { + if (i_175_ == 0) { + anIntArray1149[anInt1173++] = r.anInt9721; + return; + } + i_175_--; + } + NodeSub41 class348_sub41 = ((NodeSub41) Component15.aClass356_4915.first(0)); + while (i_175_-- > 0) class348_sub41 = ((NodeSub41) Component15.aClass356_4915.next(0)); + anIntArray1149[anInt1173++] = class348_sub41.anInt7050; + return; + } + if (i == 6702) { + int i_176_ = anIntArray1149[--anInt1173]; + if (DefinitionSub33.aClass46ArrayArray9427[i_176_] == null) aStringArray1152[anInt1170++] = ""; + else { + String string = (DefinitionSub33.aClass46ArrayArray9427[i_176_][0].aString721); + if (string == null) aStringArray1152[anInt1170++] = ""; + else { + aStringArray1152[anInt1170++] = string.substring(0, string.indexOf(':')); + return; + } + return; + } + return; + } + if (i == 6703) { + int i_177_ = anIntArray1149[--anInt1173]; + if (DefinitionSub33.aClass46ArrayArray9427[i_177_] == null) anIntArray1149[anInt1173++] = 0; + else { + anIntArray1149[anInt1173++] = (DefinitionSub33.aClass46ArrayArray9427[i_177_]).length; + return; + } + return; + } + if (i == 6704) { + anInt1173 -= 2; + int i_178_ = anIntArray1149[anInt1173]; + int i_179_ = anIntArray1149[anInt1173 + 1]; + if (DefinitionSub33.aClass46ArrayArray9427[i_178_] == null) aStringArray1152[anInt1170++] = ""; + else { + String string = (DefinitionSub33.aClass46ArrayArray9427[i_178_][i_179_].aString721); + if (string == null) aStringArray1152[anInt1170++] = ""; + else { + aStringArray1152[anInt1170++] = string; + return; + } + return; + } + return; + } + if (i == 6705) { + anInt1173 -= 2; + int i_180_ = anIntArray1149[anInt1173]; + int i_181_ = anIntArray1149[anInt1173 + 1]; + if (DefinitionSub33.aClass46ArrayArray9427[i_180_] == null) anIntArray1149[anInt1173++] = 0; + else { + anIntArray1149[anInt1173++] = DefinitionSub33.aClass46ArrayArray9427[i_180_][i_181_].anInt732; + return; + } + return; + } + if (i == 6706) return; + if (i == 6707) { + anInt1173 -= 3; + int i_182_ = anIntArray1149[anInt1173]; + int i_183_ = anIntArray1149[anInt1173 + 1]; + int i_184_ = anIntArray1149[anInt1173 + 2]; + SceneNode.method2780(i_184_, "", (byte) 111, 1, i_182_ << 16 | i_183_); + return; + } + if (i == 6708) { + anInt1173 -= 3; + int i_185_ = anIntArray1149[anInt1173]; + int i_186_ = anIntArray1149[anInt1173 + 1]; + int i_187_ = anIntArray1149[anInt1173 + 2]; + SceneNode.method2780(i_187_, "", (byte) 127, 2, i_185_ << 16 | i_186_); + return; + } + if (i == 6709) { + anInt1173 -= 3; + int i_188_ = anIntArray1149[anInt1173]; + int i_189_ = anIntArray1149[anInt1173 + 1]; + int i_190_ = anIntArray1149[anInt1173 + 2]; + SceneNode.method2780(i_190_, "", (byte) 118, 3, i_188_ << 16 | i_189_); + return; + } + if (i == 6710) { + anInt1173 -= 3; + int i_191_ = anIntArray1149[anInt1173]; + int i_192_ = anIntArray1149[anInt1173 + 1]; + int i_193_ = anIntArray1149[anInt1173 + 2]; + SceneNode.method2780(i_193_, "", (byte) 8, 4, i_191_ << 16 | i_192_); + return; + } + if (i == 6711) { + anInt1173 -= 3; + int i_194_ = anIntArray1149[anInt1173]; + int i_195_ = anIntArray1149[anInt1173 + 1]; + int i_196_ = anIntArray1149[anInt1173 + 2]; + SceneNode.method2780(i_196_, "", (byte) 125, 5, i_194_ << 16 | i_195_); + return; + } + if (i == 6712) { + anInt1173 -= 3; + int i_197_ = anIntArray1149[anInt1173]; + int i_198_ = anIntArray1149[anInt1173 + 1]; + int i_199_ = anIntArray1149[anInt1173 + 2]; + SceneNode.method2780(i_199_, "", (byte) 108, 6, i_197_ << 16 | i_198_); + return; + } + if (i == 6713) { + anInt1173 -= 3; + int i_200_ = anIntArray1149[anInt1173]; + int i_201_ = anIntArray1149[anInt1173 + 1]; + int i_202_ = anIntArray1149[anInt1173 + 2]; + SceneNode.method2780(i_202_, "", (byte) -106, 7, i_200_ << 16 | i_201_); + return; + } + if (i == 6714) { + anInt1173 -= 3; + int i_203_ = anIntArray1149[anInt1173]; + int i_204_ = anIntArray1149[anInt1173 + 1]; + int i_205_ = anIntArray1149[anInt1173 + 2]; + SceneNode.method2780(i_205_, "", (byte) 117, 8, i_203_ << 16 | i_204_); + return; + } + if (i == 6715) { + anInt1173 -= 3; + int i_206_ = anIntArray1149[anInt1173]; + int i_207_ = anIntArray1149[anInt1173 + 1]; + int i_208_ = anIntArray1149[anInt1173 + 2]; + SceneNode.method2780(i_208_, "", (byte) -35, 9, i_206_ << 16 | i_207_); + return; + } + if (i == 6716) { + anInt1173 -= 3; + int i_209_ = anIntArray1149[anInt1173]; + int i_210_ = anIntArray1149[anInt1173 + 1]; + int i_211_ = anIntArray1149[anInt1173 + 2]; + SceneNode.method2780(i_211_, "", (byte) 107, 10, i_209_ << 16 | i_210_); + return; + } + if (i == 6717) { + anInt1173 -= 3; + int i_212_ = anIntArray1149[anInt1173]; + int i_213_ = anIntArray1149[anInt1173 + 1]; + int i_214_ = anIntArray1149[anInt1173 + 2]; + DisplayModeManagerContainer57 class46 = NodeSub22.method2957(i_214_, (byte) -54, i_212_ << 16 | i_213_); + DisplayModeManagerContainer196.method2678(-2049); + NodeSub44 class348_sub44 = client.method105(class46); + NewsFetcher.method2666((class348_sub44.anInt7093), class348_sub44.method3307(100), class46, (byte) 21); + return; + } + } else if (i < 6900) { + if (i == 6800) { + int i_215_ = anIntArray1149[--anInt1173]; + Component274 class42 = DisplayModeManagerContainer64.aClass153_9031.method1225(i_215_, (byte) 96); + if (class42.aString597 == null) aStringArray1152[anInt1170++] = ""; + else { + aStringArray1152[anInt1170++] = class42.aString597; + return; + } + return; + } + if (i == 6801) { + int i_216_ = anIntArray1149[--anInt1173]; + Component274 class42 = DisplayModeManagerContainer64.aClass153_9031.method1225(i_216_, (byte) 111); + anIntArray1149[anInt1173++] = class42.anInt578; + return; + } + if (i == 6802) { + int i_217_ = anIntArray1149[--anInt1173]; + Component274 class42 = DisplayModeManagerContainer64.aClass153_9031.method1225(i_217_, (byte) 91); + anIntArray1149[anInt1173++] = class42.anInt576; + return; + } + if (i == 6803) { + int i_218_ = anIntArray1149[--anInt1173]; + Component274 class42 = DisplayModeManagerContainer64.aClass153_9031.method1225(i_218_, (byte) 44); + anIntArray1149[anInt1173++] = class42.anInt596; + return; + } + if (i == 6804) { + anInt1173 -= 2; + int i_219_ = anIntArray1149[anInt1173]; + int i_220_ = anIntArray1149[anInt1173 + 1]; + Component355 class254 = MatrixSub3.aClass326_5764.method2600(i_220_, 28364); + if (class254.method1925(false)) aStringArray1152[anInt1170++] = (DisplayModeManagerContainer64.aClass153_9031.method1225(i_219_, (byte) 79).method376(class254.aString3258, i_220_, (byte) 126)); + else { + anIntArray1149[anInt1173++] = (DisplayModeManagerContainer64.aClass153_9031.method1225(i_219_, (byte) 50).method378(class254.anInt3256, i_220_, false)); + return; + } + return; + } + } else if (i < 7000) { + if (i == 6900) { + anIntArray1149[anInt1173++] = (ParametricDefinition.aBoolean9103 && !HeapDumper.aBoolean1915) ? 1 : 0; + return; + } + if (i == 6901) { + anIntArray1149[anInt1173++] = Component262.anInt1758; + return; + } + if (i == 6902) { + anIntArray1149[anInt1173++] = DisplayModeManagerContainer136.anInt4716; + return; + } + if (i == 6903) { + anIntArray1149[anInt1173++] = ImageCacheStore.anInt4026; + return; + } + if (i == 6904) { + anIntArray1149[anInt1173++] = DisplayModeManagerContainer105.anInt4870; + return; + } + if (i == 6905) { + String string = ""; + if (PauseHandler.aClass144_9536 != null) { + if (PauseHandler.aClass144_9536.result != null) string = (String) (PauseHandler.aClass144_9536.result); + else string = Component366.method1669(-19918, (PauseHandler.aClass144_9536.intArg1)); + } + aStringArray1152[anInt1170++] = string; + return; + } + if (i == 6906) { + anIntArray1149[anInt1173++] = Component43.anInt4976; + return; + } + if (i == 6907) { + anIntArray1149[anInt1173++] = DisplayModeManagerContainer273.anInt5797; + return; + } + if (i == 6908) { + anIntArray1149[anInt1173++] = NodederUtil.anInt6632; + return; + } + if (i == 6909) { + anIntArray1149[anInt1173++] = Component200.aBoolean3706 ? 1 : 0; + return; + } + if (i == 6910) { + anIntArray1149[anInt1173++] = DisplayModeManagerContainer310.anInt359; + return; + } + if (i == 6911) { + anIntArray1149[anInt1173++] = Applet_Sub1.anInt37; + return; + } + if (i == 6912) { + anIntArray1149[anInt1173++] = NodeSub1.anInt6551; + return; + } + } else if (i < 7100) { + if (i == 7000) { + int i_221_ = Component269.method2478(1000); + anIntArray1149[anInt1173++] = DisplayModeManagerContainer282.anInt5584 = Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350); + anIntArray1149[anInt1173++] = i_221_; + NodeSub20.method2953((byte) -113); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + return; + } + if (i == 7001) { + HeapDumper.resetGraphicsPreferences(47); + NodeSub20.method2953((byte) -126); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + return; + } + if (i == 7002) { + DisplayModeManagerContainer32.method447((byte) -59); + NodeSub20.method2953((byte) -124); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + return; + } + if (i == 7003) { + DisplayModeManagerContainer254.method1263(true); + NodeSub20.method2953((byte) -106); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + return; + } + if (i == 7004) { + GradientPreset.method3076(0, true); + NodeSub20.method2953((byte) -107); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + return; + } + if (i == 7005) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub29_7229), 0); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + return; + } + if (i == 7006) { + if (DisplayModeManagerContainer282.anInt5584 == 2) Component85.aBoolean2881 = true; + else { + if (DisplayModeManagerContainer282.anInt5584 == 1) Component301.aBoolean4117 = true; + else { + if (DisplayModeManagerContainer282.anInt5584 == 3) NodeSub1.aBoolean6558 = true; + return; + } + return; + } + return; + } + if (i == 7007) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub29_7229.method1848(-32350); + return; + } + } else if (i < 7200) { + if (i == 7100) { + anInt1173 -= 2; + int i_222_ = anIntArray1149[anInt1173]; + int i_223_ = anIntArray1149[anInt1173 + 1]; + if (i_222_ != -1) { + if (i_223_ > 255) i_223_ = 255; + else if (i_223_ < 0) i_223_ = 0; + Component326.method524(i_223_, false, i_222_, -122); + } + return; + } + if (i == 7101) { + int i_224_ = anIntArray1149[--anInt1173]; + if (i_224_ != -1) DisplayModeManagerContainer282.method690((byte) 17, i_224_); + return; + } + if (i == 7102) { + int i_225_ = anIntArray1149[--anInt1173]; + if (i_225_ != -1) Component184.method1189(-1, i_225_); + return; + } + if (i == 7103) { + anIntArray1149[anInt1173++] = DefinitionSub31.method3131((byte) 50, "jagtheora") ? 1 : 0; + return; + } + } else if (i < 7300) { + if (i == 7201) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub4_7220.method1736(123) ? 1 : 0; + return; + } + if (i == 7202) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub21_7270.method1809(117) ? 1 : 0; + return; + } + if (i == 7203) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub7_7238.method1747(111) ? 1 : 0; + return; + } + if (i == 7204) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub18_7259.method1801(125) ? 1 : 0; + return; + } + if (i == 7205) { + anIntArray1149[anInt1173++] = (Component192.aClass348_Sub51_3959.aClass239_Sub20_7216.method1806(108) && NodeSub8.toolkit.method3699()) ? 1 : 0; + return; + } + if (i == 7206) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub15_7224.method1786(93) ? 1 : 0; + return; + } + if (i == 7207) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub6_7226.method1744(103) ? 1 : 0; + return; + } + if (i == 7208) { + anIntArray1149[anInt1173++] = (Component192.aClass348_Sub51_3959.aClass239_Sub12_7243.method1774(120) && NodeSub8.toolkit.method3627()) ? 1 : 0; + return; + } + if (i == 7209) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub9_7256.method1757(115) ? 1 : 0; + return; + } + if (i == 7210) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub24_7235.method1824(124) ? 1 : 0; + return; + } + if (i == 7211) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub23_7231.method1817(108) ? 1 : 0; + return; + } + if (i == 7212) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub16_7247.method1790(94) ? 1 : 0; + return; + } + if (i == 7213) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub3_7222.method1729(91) ? 1 : 0; + return; + } + if (i == 7214) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub25_7251.method1831(95) ? 1 : 0; + return; + } + } else if (i < 7400) { + if (i == 7301) { + int i_226_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub4_7220.method1714(3, i_226_); + return; + } + if (i == 7302) { + int i_227_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub21_7270.method1714(3, i_227_); + return; + } + if (i == 7303) { + int i_228_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub7_7238.method1714(3, i_228_); + return; + } + if (i == 7304) { + int i_229_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub18_7259.method1714(3, i_229_); + return; + } + if (i == 7305) { + int i_230_ = anIntArray1149[--anInt1173]; + if (NodeSub8.toolkit.method3699()) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub20_7216.method1714(3, i_230_); + return; + } else anIntArray1149[anInt1173++] = 3; + return; + } + if (i == 7306) { + int i_231_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub15_7224.method1714(3, i_231_); + return; + } + if (i == 7307) { + int i_232_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub6_7226.method1714(3, i_232_); + return; + } + if (i == 7308) { + int i_233_ = anIntArray1149[--anInt1173]; + if (NodeSub8.toolkit.method3627()) { + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub12_7243.method1714(3, i_233_); + return; + } else anIntArray1149[anInt1173++] = 3; + return; + } + if (i == 7309) { + int i_234_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub9_7256.method1714(3, i_234_); + return; + } + if (i == 7310) { + int i_235_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub24_7235.method1714(3, i_235_); + return; + } + if (i == 7311) { + int i_236_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub23_7231.method1714(3, i_236_); + return; + } + if (i == 7312) { + int i_237_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub16_7247.method1714(3, i_237_); + return; + } + if (i == 7313) { + int i_238_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub3_7222.method1714(3, i_238_); + return; + } + if (i == 7314) { + int i_239_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = Component192.aClass348_Sub51_3959.aClass239_Sub25_7251.method1714(3, i_239_); + return; + } + } + } + throw new IllegalStateException(String.valueOf(i)); + } + + static final void method705(NodeSub36 class348_sub36) { + executeHook(class348_sub36, 200000); + } + + static final void method706() { + /* empty */ + } + + private static final void method707(String string, int i) { + if (Component353.anInt2581 != 0 || ((!ParametricDefinition.aBoolean9103 || HeapDumper.aBoolean1915) && !Component308.aBoolean5233)) { + String string_240_ = string.toLowerCase(); + int i_241_ = 0; + if (string_240_.startsWith(FriendsIgnoreList.aClass274_3530.getLocalized(0, 544))) { + i_241_ = 0; + string = string.substring(FriendsIgnoreList.aClass274_3530.getLocalized(0, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3531.getLocalized(0, 544))) { + i_241_ = 1; + string = string.substring(FriendsIgnoreList.aClass274_3531.getLocalized(0, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3532.getLocalized(0, 544))) { + i_241_ = 2; + string = string.substring(FriendsIgnoreList.aClass274_3532.getLocalized(0, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3533.getLocalized(0, 544))) { + i_241_ = 3; + string = string.substring(FriendsIgnoreList.aClass274_3533.getLocalized(0, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3534.getLocalized(0, 544))) { + i_241_ = 4; + string = string.substring(FriendsIgnoreList.aClass274_3534.getLocalized(0, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3535.getLocalized(0, 544))) { + i_241_ = 5; + string = string.substring(FriendsIgnoreList.aClass274_3535.getLocalized(0, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3536.getLocalized(0, 544))) { + i_241_ = 6; + string = string.substring(FriendsIgnoreList.aClass274_3536.getLocalized(0, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3537.getLocalized(0, 544))) { + i_241_ = 7; + string = string.substring(FriendsIgnoreList.aClass274_3537.getLocalized(0, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3538.getLocalized(0, 544))) { + i_241_ = 8; + string = string.substring(FriendsIgnoreList.aClass274_3538.getLocalized(0, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3539.getLocalized(0, 544))) { + i_241_ = 9; + string = string.substring(FriendsIgnoreList.aClass274_3539.getLocalized(0, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3540.getLocalized(0, 544))) { + i_241_ = 10; + string = string.substring(FriendsIgnoreList.aClass274_3540.getLocalized(0, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3541.getLocalized(0, 544))) { + i_241_ = 11; + string = string.substring(FriendsIgnoreList.aClass274_3541.getLocalized(0, 544).length()); + } else if (ObjectDeserializer.languageId != 0) { + if (string_240_.startsWith(FriendsIgnoreList.aClass274_3530.getLocalized(ObjectDeserializer.languageId, 544))) { + i_241_ = 0; + string = string.substring(FriendsIgnoreList.aClass274_3530.getLocalized(ObjectDeserializer.languageId, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3531.getLocalized(ObjectDeserializer.languageId, 544))) { + i_241_ = 1; + string = string.substring(FriendsIgnoreList.aClass274_3531.getLocalized(ObjectDeserializer.languageId, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3532.getLocalized(ObjectDeserializer.languageId, 544))) { + i_241_ = 2; + string = string.substring(FriendsIgnoreList.aClass274_3532.getLocalized(ObjectDeserializer.languageId, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3533.getLocalized(ObjectDeserializer.languageId, 544))) { + i_241_ = 3; + string = string.substring(FriendsIgnoreList.aClass274_3533.getLocalized(ObjectDeserializer.languageId, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3534.getLocalized(ObjectDeserializer.languageId, 544))) { + i_241_ = 4; + string = string.substring(FriendsIgnoreList.aClass274_3534.getLocalized(ObjectDeserializer.languageId, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3535.getLocalized(ObjectDeserializer.languageId, 544))) { + i_241_ = 5; + string = string.substring(FriendsIgnoreList.aClass274_3535.getLocalized(ObjectDeserializer.languageId, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3536.getLocalized(ObjectDeserializer.languageId, 544))) { + i_241_ = 6; + string = string.substring(FriendsIgnoreList.aClass274_3536.getLocalized(ObjectDeserializer.languageId, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3537.getLocalized(ObjectDeserializer.languageId, 544))) { + i_241_ = 7; + string = string.substring(FriendsIgnoreList.aClass274_3537.getLocalized(ObjectDeserializer.languageId, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3538.getLocalized(ObjectDeserializer.languageId, 544))) { + i_241_ = 8; + string = string.substring(FriendsIgnoreList.aClass274_3538.getLocalized(ObjectDeserializer.languageId, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3539.getLocalized(ObjectDeserializer.languageId, 544))) { + i_241_ = 9; + string = string.substring(FriendsIgnoreList.aClass274_3539.getLocalized(ObjectDeserializer.languageId, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3540.getLocalized(ObjectDeserializer.languageId, 544))) { + i_241_ = 10; + string = string.substring(FriendsIgnoreList.aClass274_3540.getLocalized(ObjectDeserializer.languageId, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3541.getLocalized(ObjectDeserializer.languageId, 544))) { + i_241_ = 11; + string = string.substring(FriendsIgnoreList.aClass274_3541.getLocalized(ObjectDeserializer.languageId, 544).length()); + } + } + string_240_ = string.toLowerCase(); + int i_242_ = 0; + if (string_240_.startsWith(FriendsIgnoreList.aClass274_3542.getLocalized(0, 544))) { + i_242_ = 1; + string = string.substring(FriendsIgnoreList.aClass274_3542.getLocalized(0, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3543.getLocalized(0, 544))) { + i_242_ = 2; + string = string.substring(FriendsIgnoreList.aClass274_3543.getLocalized(0, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3544.getLocalized(0, 544))) { + i_242_ = 3; + string = string.substring(FriendsIgnoreList.aClass274_3544.getLocalized(0, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3545.getLocalized(0, 544))) { + i_242_ = 4; + string = string.substring(FriendsIgnoreList.aClass274_3545.getLocalized(0, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3546.getLocalized(0, 544))) { + i_242_ = 5; + string = string.substring(FriendsIgnoreList.aClass274_3546.getLocalized(0, 544).length()); + } else if (ObjectDeserializer.languageId != 0) { + if (string_240_.startsWith(FriendsIgnoreList.aClass274_3542.getLocalized(ObjectDeserializer.languageId, 544))) { + i_242_ = 1; + string = string.substring(FriendsIgnoreList.aClass274_3542.getLocalized(ObjectDeserializer.languageId, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3543.getLocalized(ObjectDeserializer.languageId, 544))) { + i_242_ = 2; + string = string.substring(FriendsIgnoreList.aClass274_3543.getLocalized(ObjectDeserializer.languageId, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3544.getLocalized(ObjectDeserializer.languageId, 544))) { + i_242_ = 3; + string = string.substring(FriendsIgnoreList.aClass274_3544.getLocalized(ObjectDeserializer.languageId, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3545.getLocalized(ObjectDeserializer.languageId, 544))) { + i_242_ = 4; + string = string.substring(FriendsIgnoreList.aClass274_3545.getLocalized(ObjectDeserializer.languageId, 544).length()); + } else if (string_240_.startsWith(FriendsIgnoreList.aClass274_3546.getLocalized(ObjectDeserializer.languageId, 544))) { + i_242_ = 5; + string = string.substring(FriendsIgnoreList.aClass274_3546.getLocalized(ObjectDeserializer.languageId, 544).length()); + } + } + anInt1158++; + ParticleSystem class348_sub47 = ParticleShader.method2148(Component275.aClass351_2686, DisplayModeManagerContainer64.aClass77_9029, -88); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 0); + int i_243_ = (class348_sub47.aClass348_Sub49_Sub2_7116.offset); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, i_241_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, i_242_); + AbstractShaderSub4.writeHuffmanString((class348_sub47.aClass348_Sub49_Sub2_7116), -101, string); + class348_sub47.aClass348_Sub49_Sub2_7116.writeLengthByte(119, (class348_sub47.aClass348_Sub49_Sub2_7116.offset) - i_243_); + HashNodeSub14.method3243(124, class348_sub47); + } + } + + private static final int method708(char c) { + if (Component251.method1693(c, -114)) return 1; + return 0; + } + + private static final String method709(int i) { + long l = ((long) i + 11745L) * 86400000L; + aCalendar1160.setTime(new Date(l)); + int i_244_ = aCalendar1160.get(5); + int i_245_ = aCalendar1160.get(2); + int i_246_ = aCalendar1160.get(1); + return (i_244_ + "-" + aStringArray1176[i_245_] + "-" + i_246_); + } + + private static final void method710(int i, boolean bool) { + if (i < 300) { + if (i == 100) { + anInt1173 -= 3; + int i_247_ = anIntArray1149[anInt1173]; + int i_248_ = anIntArray1149[anInt1173 + 1]; + int i_249_ = anIntArray1149[anInt1173 + 2]; + if (i_248_ == 0) throw new RuntimeException(); + DisplayModeManagerContainer57 class46 = BitmapFont.method2570(1512932720, i_247_); + if (class46.aClass46Array798 == null) class46.aClass46Array798 = new DisplayModeManagerContainer57[i_249_ + 1]; + if (class46.aClass46Array798.length <= i_249_) { + DisplayModeManagerContainer57[] class46s = new DisplayModeManagerContainer57[i_249_ + 1]; + for (int i_250_ = 0; i_250_ < class46.aClass46Array798.length; i_250_++) + class46s[i_250_] = class46.aClass46Array798[i_250_]; + class46.aClass46Array798 = class46s; + } + if (i_249_ > 0 && (class46.aClass46Array798[i_249_ - 1] == null)) throw new RuntimeException("Gap at:" + (i_249_ - 1)); + DisplayModeManagerContainer57 class46_251_ = new DisplayModeManagerContainer57(); + class46_251_.anInt774 = i_248_; + class46_251_.anInt834 = class46_251_.anInt830 = class46.anInt830; + class46_251_.anInt704 = i_249_; + class46.aClass46Array798[i_249_] = class46_251_; + if (bool) aClass46_1169 = class46_251_; + else aClass46_1150 = class46_251_; + Component111.markInterfaceDirty(-9343, class46); + return; + } + if (i == 101) { + DisplayModeManagerContainer57 class46 = bool ? aClass46_1169 : aClass46_1150; + if (class46.anInt704 == -1) { + if (bool) throw new RuntimeException("Tried to .cc_delete static .active-component!"); + throw new RuntimeException("Tried to cc_delete static active-component!"); + } + DisplayModeManagerContainer57 class46_252_ = BitmapFont.method2570(1512932720, class46.anInt830); + class46_252_.aClass46Array798[(class46.anInt704)] = null; + Component111.markInterfaceDirty(-9343, class46_252_); + return; + } + if (i == 102) { + DisplayModeManagerContainer57 class46 = BitmapFont.method2570(1512932720, anIntArray1149[--anInt1173]); + class46.aClass46Array798 = null; + Component111.markInterfaceDirty(-9343, class46); + return; + } + if (i == 200) { + anInt1173 -= 2; + int i_253_ = anIntArray1149[anInt1173]; + int i_254_ = anIntArray1149[anInt1173 + 1]; + DisplayModeManagerContainer57 class46 = NodeSub22.method2957(i_254_, (byte) -54, i_253_); + if (class46 == null || i_254_ == -1) { + anIntArray1149[anInt1173++] = 0; + return; + } else { + anIntArray1149[anInt1173++] = 1; + if (bool) aClass46_1169 = class46; + else aClass46_1150 = class46; + } + return; + } + if (i == 201) { + int i_255_ = anIntArray1149[--anInt1173]; + DisplayModeManagerContainer57 class46 = BitmapFont.method2570(1512932720, i_255_); + if (class46 == null) { + anIntArray1149[anInt1173++] = 0; + return; + } else { + anIntArray1149[anInt1173++] = 1; + if (bool) aClass46_1169 = class46; + else aClass46_1150 = class46; + } + return; + } + if (i == 202) { + int i_256_ = anIntArray1149[--anInt1173]; + method714(i_256_); + return; + } + if (i == 203) { + int i_257_ = anIntArray1149[--anInt1173]; + bringInterfaceToFront(i_257_); + return; + } + } else if (i < 500) { + if (i == 403) { + anInt1173 -= 2; + int i_258_ = anIntArray1149[anInt1173]; + int i_259_ = anIntArray1149[anInt1173 + 1]; + if ((Component72.localPlayer.appearance) != null) { + for (int i_260_ = 0; i_260_ < Component258.anIntArray1973.length; i_260_++) { + if (Component258.anIntArray1973[i_260_] == i_258_) { + Component72.localPlayer.appearance.method1233(DefinitionSub25.aClass150_9342, i_259_, -1, i_260_); + return; + } + } + for (int i_261_ = 0; i_261_ < GnpPositionLogger.anIntArray1521.length; i_261_++) { + if (GnpPositionLogger.anIntArray1521[i_261_] == i_258_) { + Component72.localPlayer.appearance.method1233(DefinitionSub25.aClass150_9342, i_259_, -1, i_261_); + break; + } + } + return; + } + return; + } + if (i == 404) { + anInt1173 -= 2; + int i_262_ = anIntArray1149[anInt1173]; + int i_263_ = anIntArray1149[anInt1173 + 1]; + if ((Component72.localPlayer.appearance) != null) { + Component72.localPlayer.appearance.method1231(i_262_, 0, i_263_); + return; + } + return; + } + if (i == 410) { + boolean bool_264_ = anIntArray1149[--anInt1173] != 0; + if ((Component72.localPlayer.appearance) != null) { + Component72.localPlayer.appearance.method1229((byte) -17, bool_264_); + return; + } + return; + } + if (i == 411) { + anInt1173 -= 2; + int i_265_ = anIntArray1149[anInt1173]; + int i_266_ = anIntArray1149[anInt1173 + 1]; + if ((Component72.localPlayer.appearance) != null) { + Component72.localPlayer.appearance.method1227((byte) 42, i_265_, i_266_, Exception_Sub1.itemDefinitions); + return; + } + return; + } + } else if (i >= 1000 && i < 1100 || i >= 2000 && i < 2100) { + DisplayModeManagerContainer57 class46; + if (i >= 2000) { + i -= 1000; + class46 = BitmapFont.method2570(1512932720, anIntArray1149[--anInt1173]); + } else class46 = bool ? aClass46_1169 : aClass46_1150; + if (i == 1000) { + anInt1173 -= 4; + class46.anInt788 = anIntArray1149[anInt1173]; + class46.anInt739 = anIntArray1149[anInt1173 + 1]; + int i_267_ = anIntArray1149[anInt1173 + 2]; + if (i_267_ < 0) i_267_ = 0; + else if (i_267_ > 5) i_267_ = 5; + int i_268_ = anIntArray1149[anInt1173 + 3]; + if (i_268_ < 0) i_268_ = 0; + else if (i_268_ > 5) i_268_ = 5; + class46.aByte817 = (byte) i_267_; + class46.aByte681 = (byte) i_268_; + Component111.markInterfaceDirty(-9343, class46); + Component331.method1048(class46, 50); + if (class46.anInt704 == -1) Component272.method1733((byte) -78, class46.anInt830); + return; + } + if (i == 1001) { + anInt1173 -= 4; + class46.anInt842 = anIntArray1149[anInt1173]; + class46.anInt728 = anIntArray1149[anInt1173 + 1]; + class46.anInt796 = 0; + class46.anInt826 = 0; + int i_269_ = anIntArray1149[anInt1173 + 2]; + if (i_269_ < 0) i_269_ = 0; + else if (i_269_ > 4) i_269_ = 4; + int i_270_ = anIntArray1149[anInt1173 + 3]; + if (i_270_ < 0) i_270_ = 0; + else if (i_270_ > 4) i_270_ = 4; + class46.aByte778 = (byte) i_269_; + class46.aByte724 = (byte) i_270_; + Component111.markInterfaceDirty(-9343, class46); + Component331.method1048(class46, 62); + if (class46.anInt774 == 0) Component111.layoutInterfaceTree(false, 36, class46); + return; + } + if (i == 1003) { + boolean bool_271_ = anIntArray1149[--anInt1173] == 1; + if (class46.aBoolean813 != bool_271_) { + class46.aBoolean813 = bool_271_; + Component111.markInterfaceDirty(-9343, class46); + } + if (class46.anInt704 == -1) Request.method2999((byte) 90, class46.anInt830); + return; + } + if (i == 1004) { + anInt1173 -= 2; + class46.anInt710 = anIntArray1149[anInt1173]; + class46.anInt775 = anIntArray1149[anInt1173 + 1]; + Component111.markInterfaceDirty(-9343, class46); + Component331.method1048(class46, 59); + if (class46.anInt774 == 0) Component111.layoutInterfaceTree(false, 49, class46); + return; + } + if (i == 1005) { + class46.aBoolean776 = anIntArray1149[--anInt1173] == 1; + return; + } + } else if (i >= 1100 && i < 1200 || i >= 2100 && i < 2200) { + DisplayModeManagerContainer57 class46; + if (i >= 2000) { + i -= 1000; + class46 = BitmapFont.method2570(1512932720, anIntArray1149[--anInt1173]); + } else class46 = bool ? aClass46_1169 : aClass46_1150; + if (i == 1100) { + anInt1173 -= 2; + class46.anInt747 = anIntArray1149[anInt1173]; + if (class46.anInt747 > (class46.anInt698 - class46.anInt709)) class46.anInt747 = (class46.anInt698 - class46.anInt709); + if (class46.anInt747 < 0) class46.anInt747 = 0; + class46.anInt755 = anIntArray1149[anInt1173 + 1]; + if (class46.anInt755 > (class46.anInt791 - class46.anInt789)) class46.anInt755 = (class46.anInt791 - class46.anInt789); + if (class46.anInt755 < 0) class46.anInt755 = 0; + Component111.markInterfaceDirty(-9343, class46); + if (class46.anInt704 == -1) ShaderCompilerSub3.method2615(-91, class46.anInt830); + return; + } + if (i == 1101) { + class46.anInt749 = anIntArray1149[--anInt1173]; + Component111.markInterfaceDirty(-9343, class46); + if (class46.anInt704 == -1) Component137.method1148(class46.anInt830, 6); + return; + } + if (i == 1102) { + class46.aBoolean810 = anIntArray1149[--anInt1173] == 1; + Component111.markInterfaceDirty(-9343, class46); + return; + } + if (i == 1103) { + class46.anInt696 = anIntArray1149[--anInt1173]; + Component111.markInterfaceDirty(-9343, class46); + return; + } + if (i == 1104) { + class46.anInt690 = anIntArray1149[--anInt1173]; + Component111.markInterfaceDirty(-9343, class46); + return; + } + if (i == 1105) { + int i_272_ = anIntArray1149[--anInt1173]; + if (class46.anInt756 != i_272_) { + class46.anInt756 = i_272_; + Component111.markInterfaceDirty(-9343, class46); + } + if (class46.anInt704 == -1) DisplayModeManagerContainer351.method1477(class46.anInt830, 14); + return; + } + if (i == 1106) { + class46.anInt828 = anIntArray1149[--anInt1173]; + Component111.markInterfaceDirty(-9343, class46); + return; + } + if (i == 1107) { + class46.aBoolean697 = anIntArray1149[--anInt1173] == 1; + Component111.markInterfaceDirty(-9343, class46); + return; + } + if (i == 1108) { + class46.anInt770 = 1; + class46.anInt753 = anIntArray1149[--anInt1173]; + Component111.markInterfaceDirty(-9343, class46); + if (class46.anInt704 == -1) Component27.method3569(class46.anInt830, -125); + return; + } + if (i == 1109) { + anInt1173 -= 6; + class46.anInt808 = anIntArray1149[anInt1173]; + class46.anInt786 = anIntArray1149[anInt1173 + 1]; + class46.anInt757 = anIntArray1149[anInt1173 + 2]; + class46.anInt675 = anIntArray1149[anInt1173 + 3]; + class46.anInt717 = anIntArray1149[anInt1173 + 4]; + class46.anInt716 = anIntArray1149[anInt1173 + 5]; + Component111.markInterfaceDirty(-9343, class46); + if (class46.anInt704 == -1) { + DisplayModeManagerContainer341.method1787(class46.anInt830, 8); + HelveticaFont.method1459(class46.anInt830, 2); + } + return; + } + if (i == 1110) { + int i_273_ = anIntArray1149[--anInt1173]; + if (class46.anInt699 != i_273_) { + class46.anInt699 = i_273_; + class46.anInt795 = 0; + class46.anInt730 = 1; + class46.anInt841 = 0; + DisplayModeManagerContainer167 class17 = (class46.anInt699 == -1 ? null : RunescapeInfo.aClass87_191.method835(class46.anInt699, 7)); + if (class17 != null) Component235.method2017(class46.anInt795, class17, 46); + Component111.markInterfaceDirty(-9343, class46); + } + if (class46.anInt704 == -1) DisplayModeManagerContainer282.method687((byte) -117, class46.anInt830); + return; + } + if (i == 1111) { + class46.aBoolean689 = anIntArray1149[--anInt1173] == 1; + Component111.markInterfaceDirty(-9343, class46); + return; + } + if (i == 1112) { + String string = aStringArray1152[--anInt1170]; + if (!string.equals(class46.aString792)) { + class46.aString792 = string; + Component111.markInterfaceDirty(-9343, class46); + } + if (class46.anInt704 == -1) NodeSub45Sub2.method3316(121, class46.anInt830); + return; + } + if (i == 1113) { + class46.anInt702 = anIntArray1149[--anInt1173]; + Component111.markInterfaceDirty(-9343, class46); + if (class46.anInt704 == -1) DisplayModeManagerContainer74.method2311((byte) -109, class46.anInt830); + return; + } + if (i == 1114) { + anInt1173 -= 3; + class46.anInt762 = anIntArray1149[anInt1173]; + class46.anInt700 = anIntArray1149[anInt1173 + 1]; + class46.anInt673 = anIntArray1149[anInt1173 + 2]; + Component111.markInterfaceDirty(-9343, class46); + return; + } + if (i == 1115) { + class46.aBoolean769 = anIntArray1149[--anInt1173] == 1; + Component111.markInterfaceDirty(-9343, class46); + return; + } + if (i == 1116) { + class46.anInt672 = anIntArray1149[--anInt1173]; + Component111.markInterfaceDirty(-9343, class46); + return; + } + if (i == 1117) { + class46.anInt809 = anIntArray1149[--anInt1173]; + Component111.markInterfaceDirty(-9343, class46); + return; + } + if (i == 1118) { + class46.aBoolean790 = anIntArray1149[--anInt1173] == 1; + Component111.markInterfaceDirty(-9343, class46); + return; + } + if (i == 1119) { + class46.aBoolean735 = anIntArray1149[--anInt1173] == 1; + Component111.markInterfaceDirty(-9343, class46); + return; + } + if (i == 1120) { + anInt1173 -= 2; + class46.anInt698 = anIntArray1149[anInt1173]; + class46.anInt791 = anIntArray1149[anInt1173 + 1]; + Component111.markInterfaceDirty(-9343, class46); + if (class46.anInt774 == 0) Component111.layoutInterfaceTree(false, 62, class46); + return; + } + if (i == 1122) { + class46.aBoolean745 = anIntArray1149[--anInt1173] == 1; + Component111.markInterfaceDirty(-9343, class46); + return; + } + if (i == 1123) { + class46.anInt716 = anIntArray1149[--anInt1173]; + Component111.markInterfaceDirty(-9343, class46); + if (class46.anInt704 == -1) DisplayModeManagerContainer341.method1787(class46.anInt830, 8); + return; + } + if (i == 1124) { + int i_274_ = anIntArray1149[--anInt1173]; + class46.aBoolean744 = i_274_ == 1; + Component111.markInterfaceDirty(-9343, class46); + return; + } + if (i == 1125) { + anInt1173 -= 2; + class46.anInt688 = anIntArray1149[anInt1173]; + class46.anInt799 = anIntArray1149[anInt1173 + 1]; + Component111.markInterfaceDirty(-9343, class46); + return; + } + if (i == 1126) { + class46.anInt773 = anIntArray1149[--anInt1173]; + Component111.markInterfaceDirty(-9343, class46); + return; + } + if (i == 1127) { + anInt1173 -= 2; + int i_275_ = anIntArray1149[anInt1173]; + int i_276_ = anIntArray1149[anInt1173 + 1]; + Component355 class254 = MatrixSub3.aClass326_5764.method2600(i_275_, 28364); + if (i_276_ == class254.anInt3256) { + class46.method435(i_275_, -3437); + return; + } else class46.method436(-70, i_275_, i_276_); + return; + } + if (i == 1128) { + int i_277_ = anIntArray1149[--anInt1173]; + String string = aStringArray1152[--anInt1170]; + Component355 class254 = MatrixSub3.aClass326_5764.method2600(i_277_, 28364); + if (class254.aString3258.equals(string)) { + class46.method435(i_277_, -3437); + return; + } else class46.method439(0, i_277_, string); + return; + } + if (i == 1129 || i == 1130) { + int i_278_ = anIntArray1149[--anInt1173]; + if ((class46.anInt774 == 5 || i != 1129) && (class46.anInt774 == 4 || i != 1130)) { + if (class46.anInt806 != i_278_) { + class46.anInt806 = i_278_; + Component111.markInterfaceDirty(-9343, class46); + } + if (class46.anInt704 == -1) ReliefShader.method1415(class46.anInt830, 117); + return; + } + return; + } + } else if (i >= 1200 && i < 1300 || i >= 2200 && i < 2300) { + DisplayModeManagerContainer57 class46; + if (i >= 2000) { + i -= 1000; + class46 = BitmapFont.method2570(1512932720, anIntArray1149[--anInt1173]); + } else class46 = bool ? aClass46_1169 : aClass46_1150; + Component111.markInterfaceDirty(-9343, class46); + if (i == 1200 || i == 1205 || i == 1208 || i == 1209 || i == 1212 || i == 1213) { + anInt1173 -= 2; + int i_279_ = anIntArray1149[anInt1173]; + int i_280_ = anIntArray1149[anInt1173 + 1]; + if (class46.anInt704 == -1) { + DisplayModeManagerContainer306.method743(9, class46.anInt830); + DisplayModeManagerContainer341.method1787(class46.anInt830, 8); + HelveticaFont.method1459(class46.anInt830, 2); + } + if (i_279_ == -1) { + class46.anInt770 = 1; + class46.anInt753 = -1; + class46.anInt812 = -1; + } else { + class46.anInt812 = i_279_; + class46.anInt781 = i_280_; + class46.aBoolean720 = i == 1208 || i == 1209; + ItemDefinition class213 = Exception_Sub1.itemDefinitions.getItemDefinition(74, i_279_); + class46.anInt757 = class213.anInt2787; + class46.anInt675 = class213.anInt2781; + class46.anInt717 = class213.anInt2810; + class46.anInt808 = class213.anInt2779; + class46.anInt786 = class213.anInt2826; + class46.anInt716 = class213.anInt2825; + if (i == 1205 || i == 1209) class46.anInt678 = 0; + else if (i == 1212 || i == 1213) class46.anInt678 = 1; + else class46.anInt678 = 2; + if (class46.anInt796 > 0) class46.anInt716 = (class46.anInt716 * 32 / class46.anInt796); + else { + if (class46.anInt842 > 0) class46.anInt716 = (class46.anInt716 * 32 / class46.anInt842); + return; + } + return; + } + return; + } + if (i == 1201) { + class46.anInt770 = 2; + class46.anInt753 = anIntArray1149[--anInt1173]; + if (class46.anInt704 == -1) Component27.method3569(class46.anInt830, -124); + return; + } + if (i == 1202) { + class46.anInt770 = 3; + class46.anInt753 = -1; + if (class46.anInt704 == -1) Component27.method3569(class46.anInt830, 94); + return; + } + if (i == 1203) { + class46.anInt770 = 6; + class46.anInt753 = anIntArray1149[--anInt1173]; + if (class46.anInt704 == -1) Component27.method3569(class46.anInt830, -26); + return; + } + if (i == 1204) { + class46.anInt770 = 5; + class46.anInt753 = anIntArray1149[--anInt1173]; + if (class46.anInt704 == -1) Component27.method3569(class46.anInt830, -127); + return; + } + if (i == 1206) { + anInt1173 -= 4; + class46.anInt705 = anIntArray1149[anInt1173]; + class46.anInt674 = anIntArray1149[anInt1173 + 1]; + class46.anInt733 = anIntArray1149[anInt1173 + 2]; + class46.anInt693 = anIntArray1149[anInt1173 + 3]; + Component111.markInterfaceDirty(-9343, class46); + return; + } + if (i == 1207) { + anInt1173 -= 2; + class46.anInt759 = anIntArray1149[anInt1173]; + class46.anInt835 = anIntArray1149[anInt1173 + 1]; + Component111.markInterfaceDirty(-9343, class46); + return; + } + if (i == 1210) { + anInt1173 -= 4; + class46.anInt753 = anIntArray1149[anInt1173]; + class46.anInt779 = anIntArray1149[anInt1173 + 1]; + if (anIntArray1149[anInt1173 + 2] == 1) class46.anInt770 = 9; + else class46.anInt770 = 8; + class46.aBoolean720 = anIntArray1149[anInt1173 + 3] == 1; + if (class46.anInt704 == -1) Component27.method3569(class46.anInt830, 8); + return; + } + if (i == 1211) { + class46.anInt770 = 5; + class46.anInt753 = StringDefinition.anInt9591; + class46.anInt779 = 0; + if (class46.anInt704 == -1) Component27.method3569(class46.anInt830, 66); + return; + } + } else if (i >= 1300 && i < 1400 || i >= 2300 && i < 2400) { + DisplayModeManagerContainer57 class46; + if (i >= 2000) { + i -= 1000; + class46 = BitmapFont.method2570(1512932720, anIntArray1149[--anInt1173]); + } else class46 = bool ? aClass46_1169 : aClass46_1150; + if (i == 1300) { + int i_281_ = anIntArray1149[--anInt1173] - 1; + if (i_281_ >= 0 && i_281_ <= 9) { + class46.method438(i_281_, 124, aStringArray1152[--anInt1170]); + return; + } else anInt1170--; + return; + } + if (i == 1301) { + anInt1173 -= 2; + int i_282_ = anIntArray1149[anInt1173]; + int i_283_ = anIntArray1149[anInt1173 + 1]; + if (i_282_ == -1 && i_283_ == -1) class46.aClass46_782 = null; + else { + class46.aClass46_782 = NodeSub22.method2957(i_283_, (byte) -54, i_282_); + return; + } + return; + } + if (i == 1302) { + int i_284_ = anIntArray1149[--anInt1173]; + if (i_284_ == InputStream_Sub1.anInt78 || i_284_ == BrowserDetector.anInt2361 || i_284_ == Component37.anInt3930) { + class46.anInt797 = i_284_; + return; + } + return; + } + if (i == 1303) { + class46.anInt729 = anIntArray1149[--anInt1173]; + return; + } + if (i == 1304) { + class46.anInt703 = anIntArray1149[--anInt1173]; + return; + } + if (i == 1305) { + class46.aString752 = aStringArray1152[--anInt1170]; + return; + } + if (i == 1306) { + class46.aString780 = aStringArray1152[--anInt1170]; + return; + } + if (i == 1307) { + class46.aStringArray833 = null; + return; + } + if (i == 1308) { + class46.anInt695 = anIntArray1149[--anInt1173]; + class46.anInt824 = anIntArray1149[--anInt1173]; + return; + } + if (i == 1309) { + int i_285_ = anIntArray1149[--anInt1173]; + int i_286_ = anIntArray1149[--anInt1173]; + if (i_286_ >= 1 && i_286_ <= 10) class46.method431(i_286_ - 1, i_285_, (byte) -119); + return; + } + if (i == 1310) { + class46.aString816 = aStringArray1152[--anInt1170]; + return; + } + if (i == 1311) { + class46.anInt713 = anIntArray1149[--anInt1173]; + return; + } + if (i == 1312 || i == 1313) { + int i_287_; + int i_288_; + int i_289_; + if (i == 1312) { + anInt1173 -= 3; + i_287_ = anIntArray1149[anInt1173] - 1; + i_288_ = anIntArray1149[anInt1173 + 1]; + i_289_ = anIntArray1149[anInt1173 + 2]; + if (i_287_ < 0 || i_287_ > 9) throw new RuntimeException("IOR13121313"); + } else { + anInt1173 -= 2; + i_287_ = 10; + i_288_ = anIntArray1149[anInt1173]; + i_289_ = anIntArray1149[anInt1173 + 1]; + } + if (class46.aByteArray746 == null) { + if (i_288_ != 0) { + class46.aByteArray746 = new byte[11]; + class46.aByteArray832 = new byte[11]; + class46.anIntArray707 = new int[11]; + } else return; + } + class46.aByteArray746[i_287_] = (byte) i_288_; + if (i_288_ == 0) { + class46.aBoolean676 = false; + for (int i_290_ = 0; i_290_ < class46.aByteArray746.length; i_290_++) { + if (class46.aByteArray746[i_290_] != 0) { + class46.aBoolean676 = true; + break; + } + } + } else class46.aBoolean676 = true; + class46.aByteArray832[i_287_] = (byte) i_289_; + return; + } + if (i == 1314) { + class46.anInt719 = anIntArray1149[--anInt1173]; + return; + } + } else { + if (i >= 1400 && i < 1500 || i >= 2400 && i < 2500) { + DisplayModeManagerContainer57 class46; + if (i >= 2000) { + i -= 1000; + class46 = BitmapFont.method2570(1512932720, anIntArray1149[--anInt1173]); + } else class46 = bool ? aClass46_1169 : aClass46_1150; + if (i == 1499) class46.method434(false); + else { + String string = aStringArray1152[--anInt1170]; + int[] is = null; + if (string.length() > 0 && string.charAt(string.length() - 1) == 'Y') { + int i_291_ = anIntArray1149[--anInt1173]; + if (i_291_ > 0) { + is = new int[i_291_]; + while (i_291_-- > 0) is[i_291_] = anIntArray1149[--anInt1173]; + } + string = string.substring(0, string.length() - 1); + } + Object[] objects = new Object[string.length() + 1]; + for (int i_292_ = objects.length - 1; i_292_ >= 1; i_292_--) { + if (string.charAt(i_292_ - 1) == 's') objects[i_292_] = aStringArray1152[--anInt1170]; + else objects[i_292_] = new Integer(anIntArray1149[--anInt1173]); + } + int i_293_ = anIntArray1149[--anInt1173]; + if (i_293_ != -1) objects[0] = new Integer(i_293_); + else objects = null; + if (i == 1400) class46.anObjectArray763 = objects; + else if (i == 1401) class46.anObjectArray805 = objects; + else if (i == 1402) class46.anObjectArray742 = objects; + else if (i == 1403) class46.anObjectArray811 = objects; + else if (i == 1404) class46.anObjectArray683 = objects; + else if (i == 1405) class46.anObjectArray823 = objects; + else if (i == 1406) class46.anObjectArray680 = objects; + else if (i == 1407) { + class46.anObjectArray777 = objects; + class46.anIntArray686 = is; + } else if (i == 1408) class46.anObjectArray764 = objects; + else if (i == 1409) class46.anObjectArray741 = objects; + else if (i == 1410) class46.anObjectArray692 = objects; + else if (i == 1411) class46.anObjectArray785 = objects; + else if (i == 1412) class46.anObjectArray839 = objects; + else if (i == 1414) { + class46.anObjectArray751 = objects; + class46.anIntArray771 = is; + } else if (i == 1415) { + class46.anObjectArray671 = objects; + class46.anIntArray731 = is; + } else if (i == 1416) class46.anObjectArray714 = objects; + else if (i == 1417) class46.anObjectArray803 = objects; + else if (i == 1418) class46.anObjectArray820 = objects; + else if (i == 1419) class46.anObjectArray822 = objects; + else if (i == 1420) class46.anObjectArray734 = objects; + else if (i == 1421) class46.anObjectArray761 = objects; + else if (i == 1422) class46.anObjectArray836 = objects; + else if (i == 1423) class46.anObjectArray840 = objects; + else if (i == 1424) class46.anObjectArray701 = objects; + else if (i == 1425) class46.anObjectArray807 = objects; + else if (i == 1426) class46.anObjectArray687 = objects; + else if (i == 1427) class46.anObjectArray727 = objects; + else if (i == 1428) { + class46.anObjectArray685 = objects; + class46.anIntArray818 = is; + } else if (i == 1429) { + class46.anObjectArray708 = objects; + class46.anIntArray831 = is; + } else if (i == 1430) class46.anObjectArray679 = objects; + class46.aBoolean682 = true; + return; + } + return; + } + if (i < 1600) { + DisplayModeManagerContainer57 class46 = bool ? aClass46_1169 : aClass46_1150; + if (i == 1500) { + anIntArray1149[anInt1173++] = class46.anInt800; + return; + } + if (i == 1501) { + anIntArray1149[anInt1173++] = class46.anInt750; + return; + } + if (i == 1502) { + anIntArray1149[anInt1173++] = class46.anInt709; + return; + } + if (i == 1503) { + anIntArray1149[anInt1173++] = class46.anInt789; + return; + } + if (i == 1504) { + anIntArray1149[anInt1173++] = class46.aBoolean813 ? 1 : 0; + return; + } + if (i == 1505) { + anIntArray1149[anInt1173++] = class46.anInt834; + return; + } + if (i == 1506) { + DisplayModeManagerContainer57 class46_294_ = DisplayModeManagerContainer87.method1687(class46, 3); + anIntArray1149[anInt1173++] = (class46_294_ == null ? -1 : class46_294_.anInt830); + return; + } + } else if (i < 1700) { + DisplayModeManagerContainer57 class46 = bool ? aClass46_1169 : aClass46_1150; + if (i == 1600) { + anIntArray1149[anInt1173++] = class46.anInt747; + return; + } + if (i == 1601) { + anIntArray1149[anInt1173++] = class46.anInt755; + return; + } + if (i == 1602) { + aStringArray1152[anInt1170++] = class46.aString792; + return; + } + if (i == 1603) { + anIntArray1149[anInt1173++] = class46.anInt698; + return; + } + if (i == 1604) { + anIntArray1149[anInt1173++] = class46.anInt791; + return; + } + if (i == 1605) { + anIntArray1149[anInt1173++] = class46.anInt716; + return; + } + if (i == 1606) { + anIntArray1149[anInt1173++] = class46.anInt757; + return; + } + if (i == 1607) { + anIntArray1149[anInt1173++] = class46.anInt717; + return; + } + if (i == 1608) { + anIntArray1149[anInt1173++] = class46.anInt675; + return; + } + if (i == 1609) { + anIntArray1149[anInt1173++] = class46.anInt696; + return; + } + if (i == 1610) { + anIntArray1149[anInt1173++] = class46.anInt808; + return; + } + if (i == 1611) { + anIntArray1149[anInt1173++] = class46.anInt786; + return; + } + if (i == 1612) { + anIntArray1149[anInt1173++] = class46.anInt756; + return; + } + if (i == 1613) { + int i_295_ = anIntArray1149[--anInt1173]; + Component355 class254 = MatrixSub3.aClass326_5764.method2600(i_295_, 28364); + if (class254.method1925(false)) aStringArray1152[anInt1170++] = class46.method429(i_295_, (class254.aString3258), -1); + else { + anIntArray1149[anInt1173++] = class46.method428((class254.anInt3256), i_295_, -126); + return; + } + return; + } + if (i == 1614) { + anIntArray1149[anInt1173++] = class46.anInt828; + return; + } + if (i == 2614) { + anIntArray1149[anInt1173++] = (class46.anInt770 == 1 ? class46.anInt753 : -1); + return; + } + } else if (i < 1800) { + DisplayModeManagerContainer57 class46 = bool ? aClass46_1169 : aClass46_1150; + if (i == 1700) { + anIntArray1149[anInt1173++] = class46.anInt812; + return; + } + if (i == 1701) { + if (class46.anInt812 == -1) { + anIntArray1149[anInt1173++] = 0; + return; + } else anIntArray1149[anInt1173++] = class46.anInt781; + return; + } + if (i == 1702) { + anIntArray1149[anInt1173++] = class46.anInt704; + return; + } + } else if (i < 1900) { + DisplayModeManagerContainer57 class46 = bool ? aClass46_1169 : aClass46_1150; + if (i == 1800) { + anIntArray1149[anInt1173++] = client.method105(class46).method3307(83); + return; + } + if (i == 1801) { + int i_296_ = anIntArray1149[--anInt1173]; + i_296_--; + if (class46.aStringArray833 == null || i_296_ >= class46.aStringArray833.length || class46.aStringArray833[i_296_] == null) aStringArray1152[anInt1170++] = ""; + else { + aStringArray1152[anInt1170++] = class46.aStringArray833[i_296_]; + return; + } + return; + } + if (i == 1802) { + if (class46.aString752 == null) aStringArray1152[anInt1170++] = ""; + else { + aStringArray1152[anInt1170++] = class46.aString752; + return; + } + return; + } + } else if (i < 2000 || i >= 2900 && i < 3000) { + DisplayModeManagerContainer57 class46; + if (i >= 2000) { + class46 = BitmapFont.method2570(1512932720, anIntArray1149[--anInt1173]); + i -= 1000; + } else class46 = bool ? aClass46_1169 : aClass46_1150; + if (anInt1177 >= 10) throw new RuntimeException("C29xx-1"); + if (i == 1927) { + if (class46.anObjectArray727 != null) { + NodeSub36 class348_sub36 = new NodeSub36(); + class348_sub36.aClass46_6989 = class46; + class348_sub36.anObjectArray6987 = class46.anObjectArray727; + class348_sub36.anInt6988 = anInt1177 + 1; + NodeSub1Sub2.aClass262_8810.addTail(class348_sub36, -20180); + return; + } + return; + } + } else if (i < 2600) { + DisplayModeManagerContainer57 class46 = BitmapFont.method2570(1512932720, anIntArray1149[--anInt1173]); + if (i == 2500) { + anIntArray1149[anInt1173++] = class46.anInt800; + return; + } + if (i == 2501) { + anIntArray1149[anInt1173++] = class46.anInt750; + return; + } + if (i == 2502) { + anIntArray1149[anInt1173++] = class46.anInt709; + return; + } + if (i == 2503) { + anIntArray1149[anInt1173++] = class46.anInt789; + return; + } + if (i == 2504) { + anIntArray1149[anInt1173++] = class46.aBoolean813 ? 1 : 0; + return; + } + if (i == 2505) { + anIntArray1149[anInt1173++] = class46.anInt834; + return; + } + if (i == 1506) { + DisplayModeManagerContainer57 class46_297_ = DisplayModeManagerContainer87.method1687(class46, 3); + anIntArray1149[anInt1173++] = (class46_297_ == null ? -1 : class46_297_.anInt830); + return; + } + } else if (i < 2700) { + DisplayModeManagerContainer57 class46 = BitmapFont.method2570(1512932720, anIntArray1149[--anInt1173]); + if (i == 2600) { + anIntArray1149[anInt1173++] = class46.anInt747; + return; + } + if (i == 2601) { + anIntArray1149[anInt1173++] = class46.anInt755; + return; + } + if (i == 2602) { + aStringArray1152[anInt1170++] = class46.aString792; + return; + } + if (i == 2603) { + anIntArray1149[anInt1173++] = class46.anInt698; + return; + } + if (i == 2604) { + anIntArray1149[anInt1173++] = class46.anInt791; + return; + } + if (i == 2605) { + anIntArray1149[anInt1173++] = class46.anInt716; + return; + } + if (i == 2606) { + anIntArray1149[anInt1173++] = class46.anInt757; + return; + } + if (i == 2607) { + anIntArray1149[anInt1173++] = class46.anInt717; + return; + } + if (i == 2608) { + anIntArray1149[anInt1173++] = class46.anInt675; + return; + } + if (i == 2609) { + anIntArray1149[anInt1173++] = class46.anInt696; + return; + } + if (i == 2610) { + anIntArray1149[anInt1173++] = class46.anInt808; + return; + } + if (i == 2611) { + anIntArray1149[anInt1173++] = class46.anInt786; + return; + } + if (i == 2612) { + anIntArray1149[anInt1173++] = class46.anInt756; + return; + } + if (i == 2613) { + anIntArray1149[anInt1173++] = class46.anInt828; + return; + } + if (i == 2614) { + anIntArray1149[anInt1173++] = (class46.anInt770 == 1 ? class46.anInt753 : -1); + return; + } + } else if (i < 2800) { + if (i == 2700) { + DisplayModeManagerContainer57 class46 = BitmapFont.method2570(1512932720, anIntArray1149[--anInt1173]); + anIntArray1149[anInt1173++] = class46.anInt812; + return; + } + if (i == 2701) { + DisplayModeManagerContainer57 class46 = BitmapFont.method2570(1512932720, anIntArray1149[--anInt1173]); + if (class46.anInt812 == -1) { + anIntArray1149[anInt1173++] = 0; + return; + } else anIntArray1149[anInt1173++] = class46.anInt781; + return; + } + if (i == 2702) { + int i_298_ = anIntArray1149[--anInt1173]; + NodeSub41 class348_sub41 = ((NodeSub41) Component15.aClass356_4915.get(i_298_, -6008)); + if (class348_sub41 == null) { + anIntArray1149[anInt1173++] = 0; + return; + } else anIntArray1149[anInt1173++] = 1; + return; + } + if (i == 2703) { + DisplayModeManagerContainer57 class46 = BitmapFont.method2570(1512932720, anIntArray1149[--anInt1173]); + if (class46.aClass46Array798 == null) anIntArray1149[anInt1173++] = 0; + else { + int i_299_ = class46.aClass46Array798.length; + for (int i_300_ = 0; (i_300_ < class46.aClass46Array798.length); i_300_++) { + if (class46.aClass46Array798[i_300_] == null) { + i_299_ = i_300_; + break; + } + } + anIntArray1149[anInt1173++] = i_299_; + return; + } + return; + } + if (i == 2704 || i == 2705) { + anInt1173 -= 2; + int i_301_ = anIntArray1149[anInt1173]; + int i_302_ = anIntArray1149[anInt1173 + 1]; + NodeSub41 class348_sub41 = ((NodeSub41) Component15.aClass356_4915.get(i_301_, -6008)); + if (class348_sub41 != null && (class348_sub41.anInt7050 == i_302_)) anIntArray1149[anInt1173++] = 1; + else { + anIntArray1149[anInt1173++] = 0; + return; + } + return; + } + } else if (i < 2900) { + DisplayModeManagerContainer57 class46 = BitmapFont.method2570(1512932720, anIntArray1149[--anInt1173]); + if (i == 2800) { + anIntArray1149[anInt1173++] = client.method105(class46).method3307(11); + return; + } + if (i == 2801) { + int i_303_ = anIntArray1149[--anInt1173]; + i_303_--; + if (class46.aStringArray833 == null || i_303_ >= class46.aStringArray833.length || class46.aStringArray833[i_303_] == null) aStringArray1152[anInt1170++] = ""; + else { + aStringArray1152[anInt1170++] = class46.aStringArray833[i_303_]; + return; + } + return; + } + if (i == 2802) { + if (class46.aString752 == null) aStringArray1152[anInt1170++] = ""; + else { + aStringArray1152[anInt1170++] = class46.aString752; + return; + } + return; + } + } else if (i < 3200) { + if (i == 3100) { + String string = aStringArray1152[--anInt1170]; + ImageCache.method1429(string, 0); + return; + } + if (i == 3101) { + anInt1173 -= 2; + Component53.method222((Component72.localPlayer), anIntArray1149[anInt1173], (byte) 4, anIntArray1149[anInt1173 + 1]); + return; + } + if (i == 3103) { + FriendsIgnoreList.closeInterfaces((byte) -101, true); + return; + } + if (i == 3104) { + String string = aStringArray1152[--anInt1170]; + int i_304_ = 0; + if (DisplayModeManagerContainer368.isDecimal(string, 73)) i_304_ = NodeSub41.parseInt(true, string); + anInt1163++; + ParticleSystem class348_sub47 = ParticleShader.method2148((NodeSub14.aClass351_6764), (DisplayModeManagerContainer64.aClass77_9029), -112); + class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 102, i_304_); + HashNodeSub14.method3243(116, class348_sub47); + return; + } + if (i == 3105) { + String string = aStringArray1152[--anInt1170]; + anInt1162++; + ParticleSystem class348_sub47 = ParticleShader.method2148(CacheFileStore.aClass351_4225, (DisplayModeManagerContainer64.aClass77_9029), -96); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, string.length() + 1); + class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); + HashNodeSub14.method3243(-81, class348_sub47); + return; + } + if (i == 3106) { + String string = aStringArray1152[--anInt1170]; + anInt1153++; + ParticleSystem class348_sub47 = ParticleShader.method2148((DefinitionSub5.aClass351_9130), (DisplayModeManagerContainer64.aClass77_9029), -93); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, string.length() + 1); + class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); + HashNodeSub14.method3243(35, class348_sub47); + return; + } + if (i == 3107) { + int i_305_ = anIntArray1149[--anInt1173]; + String string = aStringArray1152[--anInt1170]; + DisplayModeManagerContainer89.method201(i_305_, -7257, string); + return; + } + if (i == 3108) { + anInt1173 -= 3; + int i_306_ = anIntArray1149[anInt1173]; + int i_307_ = anIntArray1149[anInt1173 + 1]; + int i_308_ = anIntArray1149[anInt1173 + 2]; + DisplayModeManagerContainer57 class46 = BitmapFont.method2570(1512932720, i_308_); + Component265.method887(class46, i_306_, i_307_, 2147483647); + return; + } + if (i == 3109) { + anInt1173 -= 2; + int i_309_ = anIntArray1149[anInt1173]; + int i_310_ = anIntArray1149[anInt1173 + 1]; + DisplayModeManagerContainer57 class46 = bool ? aClass46_1169 : aClass46_1150; + Component265.method887(class46, i_309_, i_310_, 2147483647); + return; + } + if (i == 3110) { + int i_311_ = anIntArray1149[--anInt1173]; + anInt1167++; + ParticleSystem class348_sub47 = ParticleShader.method2148((GradientPreset.aClass351_9189), (DisplayModeManagerContainer64.aClass77_9029), -121); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_311_); + HashNodeSub14.method3243(122, class348_sub47); + return; + } + if (i == 3111) { + anInt1173 -= 2; + int i_312_ = anIntArray1149[anInt1173]; + int i_313_ = anIntArray1149[anInt1173 + 1]; + NodeSub41 class348_sub41 = ((NodeSub41) Component15.aClass356_4915.get(i_312_, -6008)); + if (class348_sub41 != null) Component162.method1118((class348_sub41.anInt7050 != i_313_), true, class348_sub41, 2533); + Component103.method2661(i_313_, i_312_, 3, true, 2); + return; + } + if (i == 3112) { + anInt1173--; + int i_314_ = anIntArray1149[anInt1173]; + NodeSub41 class348_sub41 = ((NodeSub41) Component15.aClass356_4915.get(i_314_, -6008)); + if (class348_sub41 != null && class348_sub41.anInt7053 == 3) Component162.method1118(true, true, class348_sub41, 2533); + return; + } + if (i == 3113) { + Component175.method1721(aStringArray1152[--anInt1170], (byte) -70); + return; + } + if (i == 3114) { + anInt1173 -= 2; + int i_315_ = anIntArray1149[anInt1173]; + int i_316_ = anIntArray1149[anInt1173 + 1]; + String string = aStringArray1152[--anInt1170]; + ShaderProgramSub2.method2144("", i_315_, (byte) -87, i_316_, string, "", ""); + return; + } + if (i == 3115) { + anInt1173 -= 11; + Component85[] class221s = HeapDumpHelper.method1248(20); + DisplayModeManagerContainer196[] class341s = Component240.method596(20000); + SocketConnector.openWorldMap(anIntArray1149[anInt1173 + 9], anIntArray1149[anInt1173 + 5], class221s[anIntArray1149[anInt1173]], (class341s[anIntArray1149[anInt1173 + 1]]), anIntArray1149[anInt1173 + 7], anIntArray1149[anInt1173 + 6], anIntArray1149[anInt1173 + 4], (byte) 111, anIntArray1149[anInt1173 + 10], anIntArray1149[anInt1173 + 2], anIntArray1149[anInt1173 + 3], anIntArray1149[anInt1173 + 8]); + return; + } + } else if (i < 3300) { + if (i == 3200) { + anInt1173 -= 3; + NodeSub20.method2947(true, 255, anIntArray1149[anInt1173], anIntArray1149[anInt1173 + 1], anIntArray1149[anInt1173 + 2], 256); + return; + } + if (i == 3201) { + DisplayModeManagerContainer346.method1212(255, anIntArray1149[--anInt1173], -1, 50); + return; + } + if (i == 3202) { + anInt1173 -= 2; + DisplayModeManagerContainer249.method1352(anIntArray1149[anInt1173], 255, anIntArray1149[anInt1173 + 1], (byte) -98); + return; + } + if (i == 3203) { + anInt1173 -= 4; + NodeSub20.method2947(true, anIntArray1149[anInt1173 + 3], anIntArray1149[anInt1173], anIntArray1149[anInt1173 + 1], anIntArray1149[anInt1173 + 2], 256); + return; + } + if (i == 3204) { + anInt1173 -= 3; + DisplayModeManagerContainer346.method1212(anIntArray1149[anInt1173 + 1], anIntArray1149[anInt1173], -1, anIntArray1149[anInt1173 + 2]); + return; + } + if (i == 3205) { + anInt1173 -= 3; + DisplayModeManagerContainer249.method1352(anIntArray1149[anInt1173], anIntArray1149[anInt1173 + 2], anIntArray1149[anInt1173 + 1], (byte) -98); + return; + } + if (i == 3206) { + anInt1173 -= 4; + AudioLine.method2090(anIntArray1149[anInt1173 + 1], 256, false, (byte) -35, anIntArray1149[anInt1173 + 3], anIntArray1149[anInt1173 + 2], anIntArray1149[anInt1173]); + return; + } + if (i == 3207) { + anInt1173 -= 4; + AudioLine.method2090(anIntArray1149[anInt1173 + 1], 256, true, (byte) -35, anIntArray1149[anInt1173 + 3], anIntArray1149[anInt1173 + 2], anIntArray1149[anInt1173]); + return; + } + if (i == 3208) { + anInt1173 -= 5; + NodeSub20.method2947(true, anIntArray1149[anInt1173 + 3], anIntArray1149[anInt1173], anIntArray1149[anInt1173 + 1], anIntArray1149[anInt1173 + 2], anIntArray1149[anInt1173 + 4]); + return; + } + if (i == 3209) { + anInt1173 -= 5; + AudioLine.method2090(anIntArray1149[anInt1173 + 1], anIntArray1149[anInt1173 + 4], false, (byte) -35, anIntArray1149[anInt1173 + 3], anIntArray1149[anInt1173 + 2], anIntArray1149[anInt1173]); + return; + } + } else if (i < 3400) { + if (i == 3300) { + anIntArray1149[anInt1173++] = OpenGlShader.clientCycle; + return; + } + if (i == 3301) { + anInt1173 -= 2; + int i_317_ = anIntArray1149[anInt1173]; + int i_318_ = anIntArray1149[anInt1173 + 1]; + anIntArray1149[anInt1173++] = ImageCacheStore.method2552(false, i_317_, i_318_, -24667); + return; + } + if (i == 3302) { + anInt1173 -= 2; + int i_319_ = anIntArray1149[anInt1173]; + int i_320_ = anIntArray1149[anInt1173 + 1]; + anIntArray1149[anInt1173++] = Component49.method1854(71, i_319_, false, i_320_); + return; + } + if (i == 3303) { + anInt1173 -= 2; + int i_321_ = anIntArray1149[anInt1173]; + int i_322_ = anIntArray1149[anInt1173 + 1]; + anIntArray1149[anInt1173++] = Component255.method532(i_322_, i_321_, false, -126); + return; + } + if (i == 3304) { + int i_323_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = (Component162.aClass271_8378.method2044(106, i_323_).anInt9542); + return; + } + if (i == 3305) { + int i_324_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = DisplayModeManagerContainer254.anIntArray2145[i_324_]; + return; + } + if (i == 3306) { + int i_325_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = Component52.anIntArray3295[i_325_]; + return; + } + if (i == 3307) { + int i_326_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = DisplayModeManagerContainer51.anIntArray2497[i_326_]; + return; + } + if (i == 3308) { + int i_327_ = (Component72.localPlayer.plane); + int i_328_ = (((Component72.localPlayer.x) >> 9) + NodeBaseSub2.regionTileX); + int i_329_ = (((Component72.localPlayer.y) >> 9) + Component330.regionTileY); + anIntArray1149[anInt1173++] = (i_327_ << 28) + (i_328_ << 14) + i_329_; + return; + } + if (i == 3309) { + int i_330_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = i_330_ >> 14 & 0x3fff; + return; + } + if (i == 3310) { + int i_331_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = i_331_ >> 28; + return; + } + if (i == 3311) { + int i_332_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = i_332_ & 0x3fff; + return; + } + if (i == 3312) { + anIntArray1149[anInt1173++] = Component387.aBoolean1900 ? 1 : 0; + return; + } + if (i == 3313) { + anInt1173 -= 2; + int i_333_ = anIntArray1149[anInt1173]; + int i_334_ = anIntArray1149[anInt1173 + 1]; + anIntArray1149[anInt1173++] = ImageCacheStore.method2552(true, i_333_, i_334_, -24667); + return; + } + if (i == 3314) { + anInt1173 -= 2; + int i_335_ = anIntArray1149[anInt1173]; + int i_336_ = anIntArray1149[anInt1173 + 1]; + anIntArray1149[anInt1173++] = Component49.method1854(103, i_335_, true, i_336_); + return; + } + if (i == 3315) { + anInt1173 -= 2; + int i_337_ = anIntArray1149[anInt1173]; + int i_338_ = anIntArray1149[anInt1173 + 1]; + anIntArray1149[anInt1173++] = Component255.method532(i_338_, i_337_, true, 126); + return; + } + if (i == 3316) { + if (Component353.anInt2581 >= 2) anIntArray1149[anInt1173++] = Component353.anInt2581; + else { + anIntArray1149[anInt1173++] = 0; + return; + } + return; + } + if (i == 3317) { + anIntArray1149[anInt1173++] = Component156.anInt3699; + return; + } + if (i == 3318) { + anIntArray1149[anInt1173++] = Component223.aClass161_125.anInt2143; + return; + } + if (i == 3321) { + anIntArray1149[anInt1173++] = DisplayModeManagerContainer74.anInt4816; + return; + } + if (i == 3322) { + anIntArray1149[anInt1173++] = Component59.anInt1872; + return; + } + if (i == 3323) { + if (Component15.anInt4919 >= 5 && Component15.anInt4919 <= 9) anIntArray1149[anInt1173++] = 1; + else { + anIntArray1149[anInt1173++] = 0; + return; + } + return; + } + if (i == 3324) { + if (Component15.anInt4919 >= 5 && Component15.anInt4919 <= 9) anIntArray1149[anInt1173++] = Component15.anInt4919; + else { + anIntArray1149[anInt1173++] = 0; + return; + } + return; + } + if (i == 3325) { + anIntArray1149[anInt1173++] = DisplayModeManagerContainer105.aBoolean4888 ? 1 : 0; + return; + } + if (i == 3326) { + anIntArray1149[anInt1173++] = (Component72.localPlayer.combatLevel); + return; + } + if (i == 3327) { + anIntArray1149[anInt1173++] = ((Component72.localPlayer.appearance) != null && Component72.localPlayer.appearance.aBoolean2100) ? 1 : 0; + return; + } + if (i == 3329) { + anIntArray1149[anInt1173++] = Component308.aBoolean5233 ? 1 : 0; + return; + } + if (i == 3330) { + int i_339_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = Component358.countEmptyInvSlots((byte) 35, i_339_, false); + return; + } + if (i == 3331) { + anInt1173 -= 2; + int i_340_ = anIntArray1149[anInt1173]; + int i_341_ = anIntArray1149[anInt1173 + 1]; + anIntArray1149[anInt1173++] = Component128.method592(false, (byte) -128, false, i_340_, i_341_); + return; + } + if (i == 3332) { + anInt1173 -= 2; + int i_342_ = anIntArray1149[anInt1173]; + int i_343_ = anIntArray1149[anInt1173 + 1]; + anIntArray1149[anInt1173++] = Component128.method592(true, (byte) -128, false, i_342_, i_343_); + return; + } + if (i == 3333) { + anIntArray1149[anInt1173++] = RuntimeException_Sub1.anInt4596; + return; + } + if (i == 3335) { + anIntArray1149[anInt1173++] = ObjectDeserializer.languageId; + return; + } + if (i == 3336) { + anInt1173 -= 4; + int i_344_ = anIntArray1149[anInt1173]; + int i_345_ = anIntArray1149[anInt1173 + 1]; + int i_346_ = anIntArray1149[anInt1173 + 2]; + int i_347_ = anIntArray1149[anInt1173 + 3]; + i_344_ += i_345_ << 14; + i_344_ += i_346_ << 28; + i_344_ += i_347_; + anIntArray1149[anInt1173++] = i_344_; + return; + } + if (i == 3337) { + anIntArray1149[anInt1173++] = Connection.affiliateId; + return; + } + if (i == 3338) { + anIntArray1149[anInt1173++] = Component94.benchmarkToolkitMs(-26584); + return; + } + if (i == 3339) { + anIntArray1149[anInt1173++] = 0; + return; + } + if (i == 3340) { + anIntArray1149[anInt1173++] = Component143.aBoolean2329 ? 1 : 0; + return; + } + if (i == 3341) { + anIntArray1149[anInt1173++] = Component121.aBoolean4540 ? 1 : 0; + return; + } + if (i == 3342) { + anIntArray1149[anInt1173++] = AbstractGlTextureSub4.mouseHandler.getCursorX(true); + return; + } + if (i == 3343) { + anIntArray1149[anInt1173++] = AbstractGlTextureSub4.mouseHandler.getCursorY((byte) 127); + return; + } + if (i == 3344) { + aStringArray1152[anInt1170++] = Component219.getMenuTarget((byte) -119); + return; + } + if (i == 3345) { + aStringArray1152[anInt1170++] = RunescapeInfo.getMenuTipOption((byte) 112); + return; + } + if (i == 3346) { + anIntArray1149[anInt1173++] = Component289.method2489((byte) -106); + return; + } + if (i == 3347) { + anIntArray1149[anInt1173++] = Component244.anInt4179; + return; + } + if (i == 3349) { + anIntArray1149[anInt1173++] = Component72.localPlayer.aClass264_10217.method2019((byte) -31) >> 3; + return; + } + if (i == 3351) { + anIntArray1149[anInt1173++] = AbstractGlTextureSub4.mouseHandler.isLeftButtonDown(-83) ? 1 : 0; + anIntArray1149[anInt1173++] = AbstractGlTextureSub4.mouseHandler.isMiddleButtonDown(-121) ? 1 : 0; + anIntArray1149[anInt1173++] = AbstractGlTextureSub4.mouseHandler.isRightButtonDown((byte) 125) ? 1 : 0; + return; + } + } else if (i < 3500) { + if (i == 3400) { + anInt1173 -= 2; + int i_348_ = anIntArray1149[anInt1173]; + int i_349_ = anIntArray1149[anInt1173 + 1]; + Component208 class117 = NodeSub7.aClass33_6653.method337(true, i_348_); + aStringArray1152[anInt1170++] = class117.getString(i_349_, 124); + return; + } + if (i == 3408) { + anInt1173 -= 4; + int i_350_ = anIntArray1149[anInt1173]; + int i_351_ = anIntArray1149[anInt1173 + 1]; + int i_352_ = anIntArray1149[anInt1173 + 2]; + int i_353_ = anIntArray1149[anInt1173 + 3]; + Component208 class117 = NodeSub7.aClass33_6653.method337(true, i_352_); + if (class117.keyType != i_350_ || class117.valueType != i_351_) throw new RuntimeException("C3408-1 " + i_352_ + "-" + i_353_); + if (i_351_ == 115) aStringArray1152[anInt1170++] = class117.getString(i_353_, 119); + else { + anIntArray1149[anInt1173++] = class117.getInt(false, i_353_); + return; + } + return; + } + if (i == 3409) { + anInt1173 -= 3; + int i_354_ = anIntArray1149[anInt1173]; + int i_355_ = anIntArray1149[anInt1173 + 1]; + int i_356_ = anIntArray1149[anInt1173 + 2]; + if (i_355_ == -1) throw new RuntimeException("C3409-2"); + Component208 class117 = NodeSub7.aClass33_6653.method337(true, i_355_); + if (class117.valueType != i_354_) throw new RuntimeException("C3409-1"); + anIntArray1149[anInt1173++] = class117.containsIntValue(true, i_356_) ? 1 : 0; + return; + } + if (i == 3410) { + int i_357_ = anIntArray1149[--anInt1173]; + String string = aStringArray1152[--anInt1170]; + if (i_357_ == -1) throw new RuntimeException("C3410-2"); + Component208 class117 = NodeSub7.aClass33_6653.method337(true, i_357_); + if (class117.valueType != 's') throw new RuntimeException("C3410-1"); + anIntArray1149[anInt1173++] = class117.containsStringValue(false, string) ? 1 : 0; + return; + } + if (i == 3411) { + int i_358_ = anIntArray1149[--anInt1173]; + Component208 class117 = NodeSub7.aClass33_6653.method337(true, i_358_); + anIntArray1149[anInt1173++] = class117.values.size(1); + return; + } + } else if (i < 3700) { + if (i == 3600) { + if (Component15.anInt4930 == 0) anIntArray1149[anInt1173++] = -2; + else { + if (Component15.anInt4930 == 1) anIntArray1149[anInt1173++] = -1; + else { + anIntArray1149[anInt1173++] = DefinitionSub30.friendCount; + return; + } + return; + } + return; + } + if (i == 3601) { + int i_359_ = anIntArray1149[--anInt1173]; + if (Component15.anInt4930 == 2 && i_359_ < DefinitionSub30.friendCount) { + aStringArray1152[anInt1170++] = Component178.friendNames[i_359_]; + if (ShaderProgramSub2.friendFormerNames[i_359_] != null) aStringArray1152[anInt1170++] = ShaderProgramSub2.friendFormerNames[i_359_]; + else aStringArray1152[anInt1170++] = ""; + } else { + aStringArray1152[anInt1170++] = ""; + aStringArray1152[anInt1170++] = ""; + return; + } + return; + } + if (i == 3602) { + int i_360_ = anIntArray1149[--anInt1173]; + if (Component15.anInt4930 == 2 && i_360_ < DefinitionSub30.friendCount) anIntArray1149[anInt1173++] = GraphicsToolkit.friendWorldIds[i_360_]; + else { + anIntArray1149[anInt1173++] = 0; + return; + } + return; + } + if (i == 3603) { + int i_361_ = anIntArray1149[--anInt1173]; + if (Component15.anInt4930 == 2 && i_361_ < DefinitionSub30.friendCount) anIntArray1149[anInt1173++] = Component16.friendRanks[i_361_]; + else { + anIntArray1149[anInt1173++] = 0; + return; + } + return; + } + if (i == 3604) { + String string = aStringArray1152[--anInt1170]; + int i_362_ = anIntArray1149[--anInt1173]; + DisplayModeManagerContainer1.sendStringPacket(16, i_362_, string); + return; + } + if (i == 3605) { + String string = aStringArray1152[--anInt1170]; + DefinitionSub30.method3128(-81, string); + return; + } + if (i == 3606) { + String string = aStringArray1152[--anInt1170]; + ShaderProgramSub7.method2165(true, string); + return; + } + if (i == 3607) { + String string = aStringArray1152[--anInt1170]; + DisplayModeManagerContainer91.method317(string, 117, false); + return; + } + if (i == 3608) { + String string = aStringArray1152[--anInt1170]; + AbstractShaderSub2.removeIgnore(true, string); + return; + } + if (i == 3609) { + String string = aStringArray1152[--anInt1170]; + if (string.startsWith("") || string.startsWith("")) string = string.substring(7); + anIntArray1149[anInt1173++] = (NodeSub11.method2797(string, (byte) -63) ? 1 : 0); + return; + } + if (i == 3610) { + int i_363_ = anIntArray1149[--anInt1173]; + if (Component15.anInt4930 == 2 && i_363_ < DefinitionSub30.friendCount) aStringArray1152[anInt1170++] = DebugPanic.friendWorldNames[i_363_]; + else { + aStringArray1152[anInt1170++] = ""; + return; + } + return; + } + if (i == 3611) { + if (Component47.aString863 == null) { + aStringArray1152[anInt1170++] = ""; + return; + } else aStringArray1152[anInt1170++] = Component270.method1245(Component47.aString863, false); + return; + } + if (i == 3612) { + if (Component47.aString863 == null) { + anIntArray1149[anInt1173++] = 0; + return; + } else anIntArray1149[anInt1173++] = NameFormatter.anInt496; + return; + } + if (i == 3613) { + int i_364_ = anIntArray1149[--anInt1173]; + if (Component47.aString863 != null && i_364_ < NameFormatter.anInt496) aStringArray1152[anInt1170++] = (RequestProcessor.aClass19Array2261[i_364_].aString314); + else { + aStringArray1152[anInt1170++] = ""; + return; + } + return; + } + if (i == 3614) { + int i_365_ = anIntArray1149[--anInt1173]; + if (Component47.aString863 != null && i_365_ < NameFormatter.anInt496) anIntArray1149[anInt1173++] = (RequestProcessor.aClass19Array2261[i_365_].anInt308); + else { + anIntArray1149[anInt1173++] = 0; + return; + } + return; + } + if (i == 3615) { + int i_366_ = anIntArray1149[--anInt1173]; + if (Component47.aString863 != null && i_366_ < NameFormatter.anInt496) anIntArray1149[anInt1173++] = (RequestProcessor.aClass19Array2261[i_366_].aByte310); + else { + anIntArray1149[anInt1173++] = 0; + return; + } + return; + } + if (i == 3616) { + anIntArray1149[anInt1173++] = Component386.aByte2871; + return; + } + if (i == 3617) { + String string = aStringArray1152[--anInt1170]; + Component314.method2298((byte) -117, string); + return; + } + if (i == 3618) { + anIntArray1149[anInt1173++] = DisplayModeManagerContainer96.aByte4702; + return; + } + if (i == 3619) { + String string = aStringArray1152[--anInt1170]; + Component141.method2399(string, -117); + return; + } + if (i == 3620) { + Component359.method1867(77); + return; + } + if (i == 3621) { + if (Component15.anInt4930 == 0) anIntArray1149[anInt1173++] = -1; + else { + anIntArray1149[anInt1173++] = MenuEntry.ignoreCount; + return; + } + return; + } + if (i == 3622) { + int i_367_ = anIntArray1149[--anInt1173]; + if (Component15.anInt4930 != 0 && i_367_ < MenuEntry.ignoreCount) { + aStringArray1152[anInt1170++] = Component44.ignoreNames[i_367_]; + if (DefinitionSub21.ignoreLastNames[i_367_] != null) aStringArray1152[anInt1170++] = (DefinitionSub21.ignoreLastNames[i_367_]); + else aStringArray1152[anInt1170++] = ""; + } else { + aStringArray1152[anInt1170++] = ""; + aStringArray1152[anInt1170++] = ""; + return; + } + return; + } + if (i == 3623) { + String string = aStringArray1152[--anInt1170]; + if (string.startsWith("") || string.startsWith("")) string = string.substring(7); + anIntArray1149[anInt1173++] = StringCache.isOnIgnoreList(string, 28280) ? 1 : 0; + return; + } + if (i == 3624) { + int i_368_ = anIntArray1149[--anInt1173]; + if (RequestProcessor.aClass19Array2261 != null && i_368_ < NameFormatter.anInt496 && (RequestProcessor.aClass19Array2261[i_368_].aString306.equalsIgnoreCase(Component72.localPlayer.username))) anIntArray1149[anInt1173++] = 1; + else { + anIntArray1149[anInt1173++] = 0; + return; + } + return; + } + if (i == 3625) { + if (NodeSub21.aString6854 == null) { + aStringArray1152[anInt1170++] = ""; + return; + } else aStringArray1152[anInt1170++] = NodeSub21.aString6854; + return; + } + if (i == 3626) { + int i_369_ = anIntArray1149[--anInt1173]; + if (Component47.aString863 != null && i_369_ < NameFormatter.anInt496) aStringArray1152[anInt1170++] = (RequestProcessor.aClass19Array2261[i_369_].aString313); + else { + aStringArray1152[anInt1170++] = ""; + return; + } + return; + } + if (i == 3627) { + int i_370_ = anIntArray1149[--anInt1173]; + if (Component15.anInt4930 == 2 && i_370_ >= 0 && i_370_ < DefinitionSub30.friendCount) anIntArray1149[anInt1173++] = DisplayModeManagerContainer145.friendReferred[i_370_] ? 1 : 0; + else { + anIntArray1149[anInt1173++] = 0; + return; + } + return; + } + if (i == 3628) { + String string = aStringArray1152[--anInt1170]; + if (string.startsWith("") || string.startsWith("")) string = string.substring(7); + anIntArray1149[anInt1173++] = Component189.findFriendIndex(string, -91); + return; + } + if (i == 3629) { + anIntArray1149[anInt1173++] = GraphicsToolkit.anInt4583; + return; + } + if (i == 3630) { + String string = aStringArray1152[--anInt1170]; + DisplayModeManagerContainer91.method317(string, 119, true); + return; + } + if (i == 3631) { + int i_371_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = AbstractShaderSub3.ignoreTemporary[i_371_] ? 1 : 0; + return; + } + if (i == 3632) { + int i_372_ = anIntArray1149[--anInt1173]; + if (Component47.aString863 != null && i_372_ < NameFormatter.anInt496) aStringArray1152[anInt1170++] = (RequestProcessor.aClass19Array2261[i_372_].aString306); + else { + aStringArray1152[anInt1170++] = ""; + return; + } + return; + } + if (i == 3633) { + int i_373_ = anIntArray1149[--anInt1173]; + if (Component15.anInt4930 != 0 && i_373_ < MenuEntry.ignoreCount) aStringArray1152[anInt1170++] = DisplayModeManagerContainer145.ignoreDisplayNames[i_373_]; + else { + aStringArray1152[anInt1170++] = ""; + return; + } + return; + } + } else if (i < 4000) { + if (i == 3903) { + int i_374_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = RadixText.aClass54Array6114[i_374_].method499(21110); + return; + } + if (i == 3904) { + int i_375_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = (RadixText.aClass54Array6114[i_375_].anInt969); + return; + } + if (i == 3905) { + int i_376_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = (RadixText.aClass54Array6114[i_376_].anInt976); + return; + } + if (i == 3906) { + int i_377_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = (RadixText.aClass54Array6114[i_377_].anInt967); + return; + } + if (i == 3907) { + int i_378_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = (RadixText.aClass54Array6114[i_378_].anInt977); + return; + } + if (i == 3908) { + int i_379_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = (RadixText.aClass54Array6114[i_379_].anInt973); + return; + } + if (i == 3910) { + int i_380_ = anIntArray1149[--anInt1173]; + int i_381_ = RadixText.aClass54Array6114[i_380_].method502((byte) 100); + anIntArray1149[anInt1173++] = i_381_ == 0 ? 1 : 0; + return; + } + if (i == 3911) { + int i_382_ = anIntArray1149[--anInt1173]; + int i_383_ = RadixText.aClass54Array6114[i_382_].method502((byte) 118); + anIntArray1149[anInt1173++] = i_383_ == 2 ? 1 : 0; + return; + } + if (i == 3912) { + int i_384_ = anIntArray1149[--anInt1173]; + int i_385_ = RadixText.aClass54Array6114[i_384_].method502((byte) -100); + anIntArray1149[anInt1173++] = i_385_ == 5 ? 1 : 0; + return; + } + if (i == 3913) { + int i_386_ = anIntArray1149[--anInt1173]; + int i_387_ = RadixText.aClass54Array6114[i_386_].method502((byte) 55); + anIntArray1149[anInt1173++] = i_387_ == 1 ? 1 : 0; + return; + } + } else if (i < 4100) { + if (i == 4000) { + anInt1173 -= 2; + int i_388_ = anIntArray1149[anInt1173]; + int i_389_ = anIntArray1149[anInt1173 + 1]; + anIntArray1149[anInt1173++] = i_388_ + i_389_; + return; + } + if (i == 4001) { + anInt1173 -= 2; + int i_390_ = anIntArray1149[anInt1173]; + int i_391_ = anIntArray1149[anInt1173 + 1]; + anIntArray1149[anInt1173++] = i_390_ - i_391_; + return; + } + if (i == 4002) { + anInt1173 -= 2; + int i_392_ = anIntArray1149[anInt1173]; + int i_393_ = anIntArray1149[anInt1173 + 1]; + anIntArray1149[anInt1173++] = i_392_ * i_393_; + return; + } + if (i == 4003) { + anInt1173 -= 2; + int i_394_ = anIntArray1149[anInt1173]; + int i_395_ = anIntArray1149[anInt1173 + 1]; + anIntArray1149[anInt1173++] = i_394_ / i_395_; + return; + } + if (i == 4004) { + int i_396_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = (int) (Math.random() * (double) i_396_); + return; + } + if (i == 4005) { + int i_397_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = (int) (Math.random() * (double) (i_397_ + 1)); + return; + } + if (i == 4006) { + anInt1173 -= 5; + int i_398_ = anIntArray1149[anInt1173]; + int i_399_ = anIntArray1149[anInt1173 + 1]; + int i_400_ = anIntArray1149[anInt1173 + 2]; + int i_401_ = anIntArray1149[anInt1173 + 3]; + int i_402_ = anIntArray1149[anInt1173 + 4]; + anIntArray1149[anInt1173++] = i_398_ + ((i_399_ - i_398_) * (i_402_ - i_400_) / (i_401_ - i_400_)); + return; + } + if (i == 4007) { + anInt1173 -= 2; + long l = anIntArray1149[anInt1173]; + long l_403_ = anIntArray1149[anInt1173 + 1]; + anIntArray1149[anInt1173++] = (int) (l + l * l_403_ / 100L); + return; + } + if (i == 4008) { + anInt1173 -= 2; + int i_404_ = anIntArray1149[anInt1173]; + int i_405_ = anIntArray1149[anInt1173 + 1]; + anIntArray1149[anInt1173++] = i_404_ | 1 << i_405_; + return; + } + if (i == 4009) { + anInt1173 -= 2; + int i_406_ = anIntArray1149[anInt1173]; + int i_407_ = anIntArray1149[anInt1173 + 1]; + anIntArray1149[anInt1173++] = i_406_ & -1 - (1 << i_407_); + return; + } + if (i == 4010) { + anInt1173 -= 2; + int i_408_ = anIntArray1149[anInt1173]; + int i_409_ = anIntArray1149[anInt1173 + 1]; + anIntArray1149[anInt1173++] = (i_408_ & 1 << i_409_) != 0 ? 1 : 0; + return; + } + if (i == 4011) { + anInt1173 -= 2; + int i_410_ = anIntArray1149[anInt1173]; + int i_411_ = anIntArray1149[anInt1173 + 1]; + anIntArray1149[anInt1173++] = i_410_ % i_411_; + return; + } + if (i == 4012) { + anInt1173 -= 2; + int i_412_ = anIntArray1149[anInt1173]; + int i_413_ = anIntArray1149[anInt1173 + 1]; + if (i_412_ == 0) anIntArray1149[anInt1173++] = 0; + else { + anIntArray1149[anInt1173++] = (int) Math.pow(i_412_, i_413_); + return; + } + return; + } + if (i == 4013) { + anInt1173 -= 2; + int i_414_ = anIntArray1149[anInt1173]; + int i_415_ = anIntArray1149[anInt1173 + 1]; + if (i_414_ == 0) anIntArray1149[anInt1173++] = 0; + else { + if (i_415_ == 0) anIntArray1149[anInt1173++] = 2147483647; + else { + anIntArray1149[anInt1173++] = (int) Math.pow(i_414_, 1.0 / (double) i_415_); + return; + } + return; + } + return; + } + if (i == 4014) { + anInt1173 -= 2; + int i_416_ = anIntArray1149[anInt1173]; + int i_417_ = anIntArray1149[anInt1173 + 1]; + anIntArray1149[anInt1173++] = i_416_ & i_417_; + return; + } + if (i == 4015) { + anInt1173 -= 2; + int i_418_ = anIntArray1149[anInt1173]; + int i_419_ = anIntArray1149[anInt1173 + 1]; + anIntArray1149[anInt1173++] = i_418_ | i_419_; + return; + } + if (i == 4016) { + anInt1173 -= 2; + int i_420_ = anIntArray1149[anInt1173]; + int i_421_ = anIntArray1149[anInt1173 + 1]; + anIntArray1149[anInt1173++] = Math.min(i_420_, i_421_); + return; + } + if (i == 4017) { + anInt1173 -= 2; + int i_422_ = anIntArray1149[anInt1173]; + int i_423_ = anIntArray1149[anInt1173 + 1]; + anIntArray1149[anInt1173++] = Math.max(i_422_, i_423_); + return; + } + if (i == 4018) { + anInt1173 -= 3; + long l = anIntArray1149[anInt1173]; + long l_424_ = anIntArray1149[anInt1173 + 1]; + long l_425_ = anIntArray1149[anInt1173 + 2]; + anIntArray1149[anInt1173++] = (int) (l * l_425_ / l_424_); + return; + } + if (i == 4019) { + anInt1173 -= 2; + int i_426_ = anIntArray1149[anInt1173]; + int i_427_ = anIntArray1149[anInt1173 + 1]; + if (i_426_ > 700 || i_427_ > 700) anIntArray1149[anInt1173++] = 256; + double d = ((Math.random() * (double) (i_427_ + i_426_) - (double) i_426_ + 800.0) / 100.0); + anIntArray1149[anInt1173++] = (int) (Math.pow(2.0, d) + 0.5); + return; + } + } else if (i < 4200) { + if (i == 4100) { + String string = aStringArray1152[--anInt1170]; + int i_428_ = anIntArray1149[--anInt1173]; + aStringArray1152[anInt1170++] = string + i_428_; + return; + } + if (i == 4101) { + anInt1170 -= 2; + String string = aStringArray1152[anInt1170]; + String string_429_ = aStringArray1152[anInt1170 + 1]; + aStringArray1152[anInt1170++] = string + string_429_; + return; + } + if (i == 4102) { + String string = aStringArray1152[--anInt1170]; + int i_430_ = anIntArray1149[--anInt1173]; + aStringArray1152[anInt1170++] = string + Component211.method1171(i_430_, 76, true); + return; + } + if (i == 4103) { + String string = aStringArray1152[--anInt1170]; + aStringArray1152[anInt1170++] = string.toLowerCase(); + return; + } + if (i == 4104) { + aStringArray1152[anInt1170++] = method709(anIntArray1149[--anInt1173]); + return; + } + if (i == 4105) { + anInt1170 -= 2; + String string = aStringArray1152[anInt1170]; + String string_431_ = aStringArray1152[anInt1170 + 1]; + if ((Component72.localPlayer.appearance) != null && Component72.localPlayer.appearance.aBoolean2100) aStringArray1152[anInt1170++] = string_431_; + else { + aStringArray1152[anInt1170++] = string; + return; + } + return; + } + if (i == 4106) { + int i_432_ = anIntArray1149[--anInt1173]; + aStringArray1152[anInt1170++] = Integer.toString(i_432_); + return; + } + if (i == 4107) { + anInt1170 -= 2; + anIntArray1149[anInt1173++] = Component71.method1811(9152, (aStringArray1152[anInt1170 + 1]), ObjectDeserializer.languageId, (aStringArray1152[anInt1170])); + return; + } + if (i == 4108) { + String string = aStringArray1152[--anInt1170]; + anInt1173 -= 2; + int i_433_ = anIntArray1149[anInt1173]; + int i_434_ = anIntArray1149[anInt1173 + 1]; + Component184 class143 = Component388.method1819(i_434_, 0, -123, Component65.aClass45_1627); + anIntArray1149[anInt1173++] = class143.method1190(Component22.aClass105Array1744, 1, string, i_433_); + return; + } + if (i == 4109) { + String string = aStringArray1152[--anInt1170]; + anInt1173 -= 2; + int i_435_ = anIntArray1149[anInt1173]; + int i_436_ = anIntArray1149[anInt1173 + 1]; + Component184 class143 = Component388.method1819(i_436_, 0, -79, Component65.aClass45_1627); + anIntArray1149[anInt1173++] = class143.method1187(string, false, i_435_, Component22.aClass105Array1744); + return; + } + if (i == 4110) { + anInt1170 -= 2; + String string = aStringArray1152[anInt1170]; + String string_437_ = aStringArray1152[anInt1170 + 1]; + if (anIntArray1149[--anInt1173] == 1) aStringArray1152[anInt1170++] = string; + else { + aStringArray1152[anInt1170++] = string_437_; + return; + } + return; + } + if (i == 4111) { + String string = aStringArray1152[--anInt1170]; + aStringArray1152[anInt1170++] = Component317.escapeAngleBrackets(string, 23034); + return; + } + if (i == 4112) { + String string = aStringArray1152[--anInt1170]; + int i_438_ = anIntArray1149[--anInt1173]; + if (i_438_ == -1) throw new RuntimeException("null char"); + aStringArray1152[anInt1170++] = string + (char) i_438_; + return; + } + if (i == 4113) { + int i_439_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = method708((char) i_439_); + return; + } + if (i == 4114) { + int i_440_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = Npc.method2446((char) i_440_, (byte) 105) ? 1 : 0; + return; + } + if (i == 4115) { + int i_441_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = ScreenModeManager.method1581(-93, (char) i_441_) ? 1 : 0; + return; + } + if (i == 4116) { + int i_442_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = NativeLibLoader.isDigit(true, (char) i_442_) ? 1 : 0; + return; + } + if (i == 4117) { + String string = aStringArray1152[--anInt1170]; + if (string == null) { + anIntArray1149[anInt1173++] = 0; + return; + } else anIntArray1149[anInt1173++] = string.length(); + return; + } + if (i == 4118) { + String string = aStringArray1152[--anInt1170]; + anInt1173 -= 2; + int i_443_ = anIntArray1149[anInt1173]; + int i_444_ = anIntArray1149[anInt1173 + 1]; + aStringArray1152[anInt1170++] = string.substring(i_443_, i_444_); + return; + } + if (i == 4119) { + String string = aStringArray1152[--anInt1170]; + StringBuffer stringbuffer = new StringBuffer(string.length()); + boolean bool_445_ = false; + for (int i_446_ = 0; i_446_ < string.length(); i_446_++) { + char c = string.charAt(i_446_); + if (c == '<') bool_445_ = true; + else if (c == '>') bool_445_ = false; + else if (!bool_445_) stringbuffer.append(c); + } + aStringArray1152[anInt1170++] = stringbuffer.toString(); + return; + } + if (i == 4120) { + String string = aStringArray1152[--anInt1170]; + anInt1173 -= 2; + int i_447_ = anIntArray1149[anInt1173]; + int i_448_ = anIntArray1149[anInt1173 + 1]; + anIntArray1149[anInt1173++] = string.indexOf(i_447_, i_448_); + return; + } + if (i == 4121) { + anInt1170 -= 2; + String string = aStringArray1152[anInt1170]; + String string_449_ = aStringArray1152[anInt1170 + 1]; + int i_450_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = string.indexOf(string_449_, i_450_); + return; + } + if (i == 4122) { + int i_451_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = Character.toLowerCase((char) i_451_); + return; + } + if (i == 4123) { + int i_452_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = Character.toUpperCase((char) i_452_); + return; + } + if (i == 4124) { + boolean bool_453_ = anIntArray1149[--anInt1173] != 0; + int i_454_ = anIntArray1149[--anInt1173]; + aStringArray1152[anInt1170++] = Component186.method3486(0, bool_453_, ObjectDeserializer.languageId, i_454_, 16980); + return; + } + if (i == 4125) { + String string = aStringArray1152[--anInt1170]; + int i_455_ = anIntArray1149[--anInt1173]; + Component184 class143 = Component388.method1819(i_455_, 0, -114, Component65.aClass45_1627); + anIntArray1149[anInt1173++] = class143.method1186(string, Component22.aClass105Array1744, false); + return; + } + } else if (i < 4300) { + if (i == 4200) { + int i_456_ = anIntArray1149[--anInt1173]; + aStringArray1152[anInt1170++] = (Exception_Sub1.itemDefinitions.getItemDefinition(-52, i_456_).itemName) + Loader.getDebug(i_456_); + return; + } + if (i == 4201) { + anInt1173 -= 2; + int i_457_ = anIntArray1149[anInt1173]; + int i_458_ = anIntArray1149[anInt1173 + 1]; + ItemDefinition class213 = Exception_Sub1.itemDefinitions.getItemDefinition(-79, i_457_); + if (i_458_ >= 1 && i_458_ <= 5 && (class213.aStringArray2811[i_458_ - 1] != null)) aStringArray1152[anInt1170++] = (class213.aStringArray2811[i_458_ - 1]); + else { + aStringArray1152[anInt1170++] = ""; + return; + } + return; + } + if (i == 4202) { + anInt1173 -= 2; + int i_459_ = anIntArray1149[anInt1173]; + int i_460_ = anIntArray1149[anInt1173 + 1]; + ItemDefinition class213 = Exception_Sub1.itemDefinitions.getItemDefinition(112, i_459_); + if (i_460_ >= 1 && i_460_ <= 5 && (class213.aStringArray2763[i_460_ - 1] != null)) aStringArray1152[anInt1170++] = (class213.aStringArray2763[i_460_ - 1]); + else { + aStringArray1152[anInt1170++] = ""; + return; + } + return; + } + if (i == 4203) { + int i_461_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = Exception_Sub1.itemDefinitions.getItemDefinition(-52, i_461_).anInt2819; + return; + } + if (i == 4204) { + int i_462_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = (Exception_Sub1.itemDefinitions.getItemDefinition(82, i_462_).anInt2820 == 1) ? 1 : 0; + return; + } + if (i == 4205) { + int i_463_ = anIntArray1149[--anInt1173]; + ItemDefinition class213 = Exception_Sub1.itemDefinitions.getItemDefinition(80, i_463_); + if (class213.anInt2833 == -1 && class213.anInt2758 >= 0) anIntArray1149[anInt1173++] = class213.anInt2758; + else { + anIntArray1149[anInt1173++] = i_463_; + return; + } + return; + } + if (i == 4206) { + int i_464_ = anIntArray1149[--anInt1173]; + ItemDefinition class213 = Exception_Sub1.itemDefinitions.getItemDefinition(-56, i_464_); + if (class213.anInt2833 >= 0 && class213.anInt2758 >= 0) anIntArray1149[anInt1173++] = class213.anInt2758; + else { + anIntArray1149[anInt1173++] = i_464_; + return; + } + return; + } + if (i == 4207) { + int i_465_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = (Exception_Sub1.itemDefinitions.getItemDefinition(87, i_465_).aBoolean2783) ? 1 : 0; + return; + } + if (i == 4208) { + anInt1173 -= 2; + int i_466_ = anIntArray1149[anInt1173]; + int i_467_ = anIntArray1149[anInt1173 + 1]; + Component355 class254 = MatrixSub3.aClass326_5764.method2600(i_467_, 28364); + if (class254.method1925(false)) aStringArray1152[anInt1170++] = (Exception_Sub1.itemDefinitions.getItemDefinition(-96, i_466_).method1561(class254.aString3258, i_467_, -1511086397)); + else { + anIntArray1149[anInt1173++] = (Exception_Sub1.itemDefinitions.getItemDefinition(-82, i_466_).method1567(class254.anInt3256, -106, i_467_)); + return; + } + return; + } + if (i == 4209) { + anInt1173 -= 2; + int i_468_ = anIntArray1149[anInt1173]; + int i_469_ = anIntArray1149[anInt1173 + 1] - 1; + ItemDefinition class213 = Exception_Sub1.itemDefinitions.getItemDefinition(108, i_468_); + if (class213.anInt2766 == i_469_) anIntArray1149[anInt1173++] = class213.anInt2818; + else { + if (class213.anInt2774 == i_469_) anIntArray1149[anInt1173++] = class213.anInt2817; + else { + anIntArray1149[anInt1173++] = -1; + return; + } + return; + } + return; + } + if (i == 4210) { + String string = aStringArray1152[--anInt1170]; + int i_470_ = anIntArray1149[--anInt1173]; + Component46.method1586(i_470_ == 1, (byte) -108, string); + anIntArray1149[anInt1173++] = DisplayModeManagerContainer154.anInt1285; + return; + } + if (i == 4211) { + if (Component353.aShortArray2579 == null || Component3.anInt2037 >= DisplayModeManagerContainer154.anInt1285) anIntArray1149[anInt1173++] = -1; + else { + anIntArray1149[anInt1173++] = (Component353.aShortArray2579[Component3.anInt2037++] & 0xffff); + return; + } + return; + } + if (i == 4212) { + Component3.anInt2037 = 0; + return; + } + if (i == 4213) { + int i_471_ = anIntArray1149[--anInt1173]; + anIntArray1149[anInt1173++] = Exception_Sub1.itemDefinitions.getItemDefinition(-115, i_471_).anInt2802; + return; + } + if (i == 4214) { + String string = aStringArray1152[--anInt1170]; + anInt1173 -= 3; + int i_472_ = anIntArray1149[anInt1173]; + int i_473_ = anIntArray1149[anInt1173 + 1]; + int i_474_ = anIntArray1149[anInt1173 + 2]; + Component110.method259(i_474_, -125, i_472_ == 1, string, i_473_); + anIntArray1149[anInt1173++] = DisplayModeManagerContainer154.anInt1285; + return; + } + if (i == 4215) { + anInt1170 -= 2; + anInt1173 -= 2; + String string = aStringArray1152[anInt1170]; + int i_475_ = anIntArray1149[anInt1173]; + int i_476_ = anIntArray1149[anInt1173 + 1]; + String string_477_ = aStringArray1152[anInt1170 + 1]; + Component175.method1719(i_475_ == 1, string, string_477_, i_476_, -1); + anIntArray1149[anInt1173++] = DisplayModeManagerContainer154.anInt1285; + return; + } + } else if (i < 4400) { + if (i == 4300) { + anInt1173 -= 2; + int i_478_ = anIntArray1149[anInt1173]; + int i_479_ = anIntArray1149[anInt1173 + 1]; + Component355 class254 = MatrixSub3.aClass326_5764.method2600(i_479_, 28364); + if (class254.method1925(false)) aStringArray1152[anInt1170++] = (Component291.aClass278_2529.method2079(i_478_, -1).method801((byte) 17, i_479_, class254.aString3258)); + else { + anIntArray1149[anInt1173++] = (Component291.aClass278_2529.method2079(i_478_, -1).method805(class254.anInt3256, i_479_, 48)); + return; + } + return; + } + } else if (i < 4500) { + if (i == 4400) { + anInt1173 -= 2; + int i_480_ = anIntArray1149[anInt1173]; + int i_481_ = anIntArray1149[anInt1173 + 1]; + Component355 class254 = MatrixSub3.aClass326_5764.method2600(i_481_, 28364); + if (class254.method1925(false)) aStringArray1152[anInt1170++] = (GradientPreset.aClass263_9195.method2005(0, i_480_).method475(class254.aString3258, i_481_, -16)); + else { + anIntArray1149[anInt1173++] = (GradientPreset.aClass263_9195.method2005(0, i_480_).method487(i_481_, class254.anInt3256, 81)); + return; + } + return; + } + } else if (i < 4600) { + if (i == 4500) { + anInt1173 -= 2; + int i_482_ = anIntArray1149[anInt1173]; + int i_483_ = anIntArray1149[anInt1173 + 1]; + Component355 class254 = MatrixSub3.aClass326_5764.method2600(i_483_, 28364); + if (class254.method1925(false)) aStringArray1152[anInt1170++] = (Component257.aClass65_4787.method700(i_482_, -121).method3170(-250, class254.aString3258, i_483_)); + else { + anIntArray1149[anInt1173++] = (Component257.aClass65_4787.method700(i_482_, 81).method3166(i_483_, class254.anInt3256, (byte) 124)); + return; + } + return; + } + } else if (i < 4700 && i == 4600) { + int i_484_ = anIntArray1149[--anInt1173]; + Component241 class225 = DisplayModeManagerContainer282.aClass261_5558.get(i_484_, 32); + if (class225.anIntArray2915 != null && class225.anIntArray2915.length > 0) { + int i_485_ = 0; + int i_486_ = class225.anIntArray2929[0]; + for (int i_487_ = 1; i_487_ < class225.anIntArray2915.length; i_487_++) { + if (class225.anIntArray2929[i_487_] > i_486_) { + i_485_ = i_487_; + i_486_ = class225.anIntArray2929[i_487_]; + } + } + anIntArray1149[anInt1173++] = class225.anIntArray2915[i_485_]; + } else { + anIntArray1149[anInt1173++] = class225.anInt2918; + return; + } + return; + } + } + throw new IllegalStateException(String.valueOf(i)); + } + + /** Interpret {@code class348_sub42_sub19}; throw "slow" if more than {@code i} ops. */ + private static final void execute(HashNodeSub19 class348_sub42_sub19, int i) { + anInt1173 = 0; + anInt1170 = 0; + int i_488_ = -1; + int[] is = class348_sub42_sub19.anIntArray9696; + int[] is_489_ = class348_sub42_sub19.anIntArray9694; + int i_490_ = -1; + anInt1154 = 0; + try { + int i_491_ = 0; + for (; ; ) { + if (++i_491_ > i) throw new RuntimeException("slow"); + i_490_ = is[++i_488_]; + if (i_490_ < 100) { + if (i_490_ == 0) anIntArray1149[anInt1173++] = is_489_[i_488_]; + else if (i_490_ == 1) { + int i_492_ = is_489_[i_488_]; + anIntArray1149[anInt1173++] = (DisplayModeManagerContainer58.aClass170_10209.anIntArray5063[i_492_]); + } else if (i_490_ == 2) { + int i_493_ = is_489_[i_488_]; + DisplayModeManagerContainer58.aClass170_10209.method1306((byte) -78, anIntArray1149[--anInt1173], i_493_); + } else if (i_490_ == 3) aStringArray1152[anInt1170++] = (class348_sub42_sub19.aStringArray9692[i_488_]); + else if (i_490_ == 6) i_488_ += is_489_[i_488_]; + else if (i_490_ == 7) { + anInt1173 -= 2; + if (anIntArray1149[anInt1173] != anIntArray1149[anInt1173 + 1]) i_488_ += is_489_[i_488_]; + } else if (i_490_ == 8) { + anInt1173 -= 2; + if (anIntArray1149[anInt1173] == anIntArray1149[anInt1173 + 1]) i_488_ += is_489_[i_488_]; + } else if (i_490_ == 9) { + anInt1173 -= 2; + if (anIntArray1149[anInt1173] < anIntArray1149[anInt1173 + 1]) i_488_ += is_489_[i_488_]; + } else if (i_490_ == 10) { + anInt1173 -= 2; + if (anIntArray1149[anInt1173] > anIntArray1149[anInt1173 + 1]) i_488_ += is_489_[i_488_]; + } else if (i_490_ == 21) { + if (anInt1154 == 0) return; + Component357 class184 = aClass184Array1168[--anInt1154]; + class348_sub42_sub19 = class184.aClass348_Sub42_Sub19_2474; + is = (class348_sub42_sub19.anIntArray9696); + is_489_ = (class348_sub42_sub19.anIntArray9694); + i_488_ = class184.anInt2477; + anIntArray1164 = class184.anIntArray2468; + aStringArray1155 = class184.aStringArray2473; + } else if (i_490_ == 25) { + int i_494_ = is_489_[i_488_]; + anIntArray1149[anInt1173++] = DisplayModeManagerContainer58.aClass170_10209.method62(i_494_, -65536); + } else if (i_490_ == 27) { + int i_495_ = is_489_[i_488_]; + DisplayModeManagerContainer58.aClass170_10209.method1307(i_495_, -1, anIntArray1149[--anInt1173]); + } else if (i_490_ == 31) { + anInt1173 -= 2; + if (anIntArray1149[anInt1173] <= anIntArray1149[anInt1173 + 1]) i_488_ += is_489_[i_488_]; + } else if (i_490_ == 32) { + anInt1173 -= 2; + if (anIntArray1149[anInt1173] >= anIntArray1149[anInt1173 + 1]) i_488_ += is_489_[i_488_]; + } else if (i_490_ == 33) anIntArray1149[anInt1173++] = anIntArray1164[is_489_[i_488_]]; + else if (i_490_ == 34) anIntArray1164[is_489_[i_488_]] = anIntArray1149[--anInt1173]; + else if (i_490_ == 35) aStringArray1152[anInt1170++] = aStringArray1155[is_489_[i_488_]]; + else if (i_490_ == 36) aStringArray1155[is_489_[i_488_]] = aStringArray1152[--anInt1170]; + else if (i_490_ == 37) { + int i_496_ = is_489_[i_488_]; + anInt1170 -= i_496_; + String string = LoadingManager.concatStrings(true, i_496_, aStringArray1152, anInt1170); + aStringArray1152[anInt1170++] = string; + } else if (i_490_ == 38) anInt1173--; + else if (i_490_ == 39) anInt1170--; + else if (i_490_ == 40) { + int i_497_ = is_489_[i_488_]; + HashNodeSub19 class348_sub42_sub19_498_ = ShaderCompiler.method2609(-114, i_497_); + if (class348_sub42_sub19_498_ == null) throw new RuntimeException(); + int[] is_499_ = new int[class348_sub42_sub19_498_.anInt9688]; + String[] strings = (new String + [class348_sub42_sub19_498_.anInt9689]); + for (int i_500_ = 0; i_500_ < class348_sub42_sub19_498_.anInt9697; i_500_++) + is_499_[i_500_] = (anIntArray1149[anInt1173 - (class348_sub42_sub19_498_.anInt9697) + i_500_]); + for (int i_501_ = 0; i_501_ < class348_sub42_sub19_498_.anInt9695; i_501_++) + strings[i_501_] = (aStringArray1152[anInt1170 - (class348_sub42_sub19_498_.anInt9695) + i_501_]); + anInt1173 -= class348_sub42_sub19_498_.anInt9697; + anInt1170 -= class348_sub42_sub19_498_.anInt9695; + Component357 class184 = new Component357(); + class184.aClass348_Sub42_Sub19_2474 = class348_sub42_sub19; + class184.anInt2477 = i_488_; + class184.anIntArray2468 = anIntArray1164; + class184.aStringArray2473 = aStringArray1155; + if (anInt1154 >= aClass184Array1168.length) throw new RuntimeException(); + aClass184Array1168[anInt1154++] = class184; + class348_sub42_sub19 = class348_sub42_sub19_498_; + is = (class348_sub42_sub19.anIntArray9696); + is_489_ = (class348_sub42_sub19.anIntArray9694); + i_488_ = -1; + anIntArray1164 = is_499_; + aStringArray1155 = strings; + } else if (i_490_ == 42) anIntArray1149[anInt1173++] = DisplayModeManagerContainer123.anIntArray1303[is_489_[i_488_]]; + else if (i_490_ == 43) { + int i_502_ = is_489_[i_488_]; + DisplayModeManagerContainer123.anIntArray1303[i_502_] = anIntArray1149[--anInt1173]; + Component228.method1647(-128, i_502_); + Component357.aBoolean2469 |= WaterShaderProgram.aBooleanArray6270[i_502_]; + } else if (i_490_ == 44) { + int i_503_ = is_489_[i_488_] >> 16; + int i_504_ = is_489_[i_488_] & 0xffff; + int i_505_ = anIntArray1149[--anInt1173]; + if (i_505_ < 0 || i_505_ > 5000) throw new RuntimeException(); + anIntArray1172[i_503_] = i_505_; + int i_506_ = -1; + if (i_504_ == 105) i_506_ = 0; + for (int i_507_ = 0; i_507_ < i_505_; i_507_++) + anIntArrayArray1161[i_503_][i_507_] = i_506_; + } else if (i_490_ == 45) { + int i_508_ = is_489_[i_488_]; + int i_509_ = anIntArray1149[--anInt1173]; + if (i_509_ < 0 || i_509_ >= anIntArray1172[i_508_]) throw new RuntimeException(); + anIntArray1149[anInt1173++] = anIntArrayArray1161[i_508_][i_509_]; + } else if (i_490_ == 46) { + int i_510_ = is_489_[i_488_]; + anInt1173 -= 2; + int i_511_ = anIntArray1149[anInt1173]; + if (i_511_ < 0 || i_511_ >= anIntArray1172[i_510_]) throw new RuntimeException(); + anIntArrayArray1161[i_510_][i_511_] = anIntArray1149[anInt1173 + 1]; + } else if (i_490_ == 47) { + String string = GlFramebufferTexture.aStringArray8532[is_489_[i_488_]]; + if (string == null) string = "null"; + aStringArray1152[anInt1170++] = string; + } else if (i_490_ == 48) { + int i_512_ = is_489_[i_488_]; + GlFramebufferTexture.aStringArray8532[i_512_] = aStringArray1152[--anInt1170]; + DisplayModeInfo.method529(i_512_, true); + } else if (i_490_ == 51) { + LruCache class356 = (class348_sub42_sub19.aClass356Array9693[is_489_[i_488_]]); + NodeSub35 class348_sub35 = ((NodeSub35) class356.get(anIntArray1149[--anInt1173], -6008)); + if (class348_sub35 != null) i_488_ += class348_sub35.intValue; + } else if (i_490_ == 86) { + if (anIntArray1149[--anInt1173] == 1) { + i_488_ += is_489_[i_488_]; + } + } + } else { + boolean bool; + bool = is_489_[i_488_] == 1; + if (i_490_ >= 100 && i_490_ < 5000) method710(i_490_, bool); + else { + if (i_490_ < 5000 || i_490_ >= 10000) break; + method704(i_490_, bool); + } + } + } + throw new IllegalStateException("Command: " + i_490_); + } catch (Exception exception) { + if (class348_sub42_sub19.aString9690 == null) { + StringBuffer stringbuffer = new StringBuffer(30); + stringbuffer.append("CS2: ").append(class348_sub42_sub19.key).append(" "); + for (int i_514_ = anInt1154 - 1; i_514_ >= 0; i_514_--) + stringbuffer.append("v: ").append(aClass184Array1168[i_514_].aClass348_Sub42_Sub19_2474.key).append(" "); + stringbuffer.append("op: ").append(i_490_); + ClientErrorReporter.reportError(stringbuffer.toString(), exception, 15004); + } else { + DisplayModeManagerContainer213.method544(("Clientscript error in: " + class348_sub42_sub19.aString9690), false, 4); + StringBuffer stringbuffer = new StringBuffer(30); + stringbuffer.append("Clientscript error in: ").append(class348_sub42_sub19.aString9690).append("\n"); + for (int i_513_ = anInt1154 - 1; i_513_ >= 0; i_513_--) + stringbuffer.append("via: ").append(aClass184Array1168[i_513_].aClass348_Sub42_Sub19_2474.aString9690).append("\n"); + stringbuffer.append("Op: ").append(i_490_).append("\n"); + String string = exception.getMessage(); + if (string != null && string.length() > 0) stringbuffer.append("Message: ").append(string).append("\n"); + ClientErrorReporter.reportError(stringbuffer.toString(), exception, 15004); + Applet_Sub1.printConsole(stringbuffer.toString(), 90); + } + } + } + + /** Bind hook args from {@code class348_sub36} then {@link #execute}. */ + private static final void executeHook(NodeSub36 class348_sub36, int i) { + Object[] objects = class348_sub36.anObjectArray6987; + int i_515_ = ((Integer) objects[0]).intValue(); + HashNodeSub19 class348_sub42_sub19 = ShaderCompiler.method2609(-122, i_515_); + if (class348_sub42_sub19 != null) { + anIntArray1164 = (new int + [class348_sub42_sub19.anInt9688]); + int i_516_ = 0; + aStringArray1155 = (new String + [class348_sub42_sub19.anInt9689]); + int i_517_ = 0; + for (int i_518_ = 1; i_518_ < objects.length; i_518_++) { + if (objects[i_518_] instanceof Integer) { + int i_519_ = ((Integer) objects[i_518_]).intValue(); + if (i_519_ == -2147483647) i_519_ = class348_sub36.anInt6984; + if (i_519_ == -2147483646) i_519_ = class348_sub36.anInt6995; + if (i_519_ == -2147483645) i_519_ = ((class348_sub36.aClass46_6989 != null) ? class348_sub36.aClass46_6989.anInt830 : -1); + if (i_519_ == -2147483644) i_519_ = class348_sub36.anInt6986; + if (i_519_ == -2147483643) i_519_ = ((class348_sub36.aClass46_6989 != null) ? class348_sub36.aClass46_6989.anInt704 : -1); + if (i_519_ == -2147483642) i_519_ = ((class348_sub36.aClass46_6983 != null) ? class348_sub36.aClass46_6983.anInt830 : -1); + if (i_519_ == -2147483641) i_519_ = ((class348_sub36.aClass46_6983 != null) ? class348_sub36.aClass46_6983.anInt704 : -1); + if (i_519_ == -2147483640) i_519_ = class348_sub36.anInt6991; + if (i_519_ == -2147483639) i_519_ = class348_sub36.anInt6982; + anIntArray1164[i_516_++] = i_519_; + } else if (objects[i_518_] instanceof String) { + String string = (String) objects[i_518_]; + if (string.equals("event_opbase")) string = class348_sub36.aString6994; + aStringArray1155[i_517_++] = string; + } + } + anInt1177 = class348_sub36.anInt6988; + execute(class348_sub42_sub19, i); + } + } + + public static void method713() { + anIntArray1164 = null; + aStringArray1155 = null; + anIntArray1172 = null; + anIntArrayArray1161 = null; + anIntArray1149 = null; + aStringArray1152 = null; + aClass184Array1168 = null; + aClass46_1150 = null; + aClass46_1169 = null; + aClass43_1151 = null; + aCalendar1160 = null; + aStringArray1176 = null; + anIntArray1175 = null; + aClass60_1174 = null; + } + + private static final void method714(int i) { + DisplayModeManagerContainer57 class46 = BitmapFont.method2570(1512932720, i); + if (class46 != null) { + int i_520_ = i >>> 16; + DisplayModeManagerContainer57[] class46s = Component14.aClass46ArrayArray8584[i_520_]; + if (class46s == null) { + DisplayModeManagerContainer57[] class46s_521_ = DefinitionSub33.aClass46ArrayArray9427[i_520_]; + int i_522_ = class46s_521_.length; + class46s = Component14.aClass46ArrayArray8584[i_520_] = new DisplayModeManagerContainer57[i_522_]; + Component313.arraycopyObjects(class46s_521_, 0, class46s, 0, class46s_521_.length); + } + int i_523_; + for (i_523_ = 0; i_523_ < class46s.length; i_523_++) { + if (class46s[i_523_] == class46) break; + } + if (i_523_ < class46s.length) { + Component313.arraycopyObjects(class46s, i_523_ + 1, class46s, i_523_, class46s.length - i_523_ - 1); + class46s[class46s.length - 1] = class46; + } + } + } + + static final void method715(int i, boolean bool) { + /* empty */ + } + + static { + aClass184Array1168 = new Component357[50]; + aCalendar1160 = Calendar.getInstance(); + anIntArray1175 = new int[3]; + aStringArray1176 = new String[]{"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"}; + aClass60_1174 = new NodeCache(4); + anInt1177 = 0; + } +} diff --git a/client/shaders/base/AbstractShader.java b/client/shaders/base/AbstractShader.java new file mode 100644 index 000000000..7ef0a91ca --- /dev/null +++ b/client/shaders/base/AbstractShader.java @@ -0,0 +1,75 @@ +/* AbstractShader - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class367` (JODE-obfuscated). + * Abstract GPU shader/program base. Holds a GlToolkitSub3 toolkit reference (aHa_Sub3_4479) and declares abstract shader lifecycle methods (method3520/method3521); concrete GL and D3D variants implement it. + */ + +abstract class AbstractShader { + static int anInt4478; + GlToolkitSub3 aHa_Sub3_4479; + static int anInt4480; + static int anInt4481; + static int anInt4482; + static int anInt4483; + static int anInt4484; + static int anInt4485; + + abstract void method3520(byte i); + + abstract void method3521(boolean bool, byte i); + + void method3522(int i) { + anInt4484++; + if (i != -16252) method3531(false); + } + + void method3523(byte i) { + if (i != 12) method3528(5); + anInt4482++; + } + + AbstractShader(GlToolkitSub3 var_ha_Sub3) { + this.aHa_Sub3_4479 = var_ha_Sub3; + } + + void method3524(int i) { + anInt4483++; + if (i != -14775) this.aHa_Sub3_4479 = null; + } + + abstract void method3525(int i, boolean bool); + + abstract void method3526(int i, int i_0_, int i_1_); + + abstract void method3527(int i, Interface18 interface18, int i_2_); + + void method3528(int i) { + if (i < 45) this.aHa_Sub3_4479 = null; + anInt4481++; + } + + static final RenderableSub6 method3529(int i) { + anInt4478++; + RenderableSub6 class318_sub6 = (RenderableSub6) Component240.aClass243_1114.method1875(60); + if (i != 32564) method3529(-38); + if (class318_sub6 != null) { + Component6.anInt4474--; + return class318_sub6; + } + return new RenderableSub6(); + } + + abstract boolean method3530(int i); + + void method3531(boolean bool) { + anInt4480++; + if (bool != false) this.aHa_Sub3_4479 = null; + } + + void method3532(int i) { + if (i == 10425) anInt4485++; + } +} diff --git a/client/shaders/base/AbstractShaderSub1.java b/client/shaders/base/AbstractShaderSub1.java new file mode 100644 index 000000000..31c429e11 --- /dev/null +++ b/client/shaders/base/AbstractShaderSub1.java @@ -0,0 +1,103 @@ +/* AbstractShaderSub1 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class AbstractShaderSub1 +/** + * RENAMED from `Class367_Sub1` (JODE-obfuscated). + * Evidence: subclass of AbstractShader (hierarchy) + */ extends AbstractShader { + static int anInt7277; + static int anInt7278; + static int anInt7279; + static int anInt7280; + static int anInt7281; + static int anInt7282; + static int anInt7283; + static int anInt7284; + static int anInt7285; + + static final int[] method3533(byte i, int i_0_, int i_1_, int i_2_, float f, int i_3_, boolean bool, int i_4_) { + anInt7281++; + int[] is = new int[i_0_]; + DefinitionSub8 class348_sub40_sub8 = new DefinitionSub8(); + class348_sub40_sub8.anInt9149 = (int) (f * 4096.0F); + class348_sub40_sub8.anInt9164 = i_4_; + class348_sub40_sub8.anInt9150 = i_1_; + class348_sub40_sub8.aBoolean9160 = bool; + class348_sub40_sub8.anInt9158 = i_2_; + class348_sub40_sub8.anInt9156 = i_3_; + class348_sub40_sub8.postDecode(110); + NpcComposition.method797(1, i_0_, (byte) 115); + class348_sub40_sub8.method3069(0, is, (byte) 115); + if (i < 89) method3535(72, -40); + return is; + } + + final void method3520(byte i) { + anInt7278++; + if (i == 87) { + /* empty */ + } + } + + static final void method3534(boolean bool, int i, int i_5_, boolean bool_6_, int i_7_, DisplayModeManagerContainer57[] class46s) { + anInt7279++; + if (bool == false) { + for (int i_8_ = 0; i_8_ < class46s.length; i_8_++) { + DisplayModeManagerContainer57 class46 = class46s[i_8_]; + if (class46 != null && i == class46.anInt834) { + Component188.method1843(i_5_, -326, class46, bool_6_, i_7_); + Component19.method239((byte) 115, i_5_, i_7_, class46); + if ((-class46.anInt709 + class46.anInt698) < class46.anInt747) class46.anInt747 = (class46.anInt698 - class46.anInt709); + if (class46.anInt747 < 0) class46.anInt747 = 0; + if ((class46.anInt791 - class46.anInt789) < class46.anInt755) class46.anInt755 = (class46.anInt791 - class46.anInt789); + if (class46.anInt755 < 0) class46.anInt755 = 0; + if (class46.anInt774 == 0) Component111.layoutInterfaceTree(bool_6_, -116, class46); + } + } + } + } + + final void method3526(int i, int i_9_, int i_10_) { + anInt7284++; + if (i != 10756) method3525(-42, false); + } + + static final void method3535(int i, int i_11_) { + Component382.anInt2275 = i; + anInt7282++; + Component279.aClass60_225.clear(i_11_); + } + + final void method3525(int i, boolean bool) { + anInt7285++; + if (i == 15192) { + /* empty */ + } + } + + final void method3527(int i, Interface18 interface18, int i_12_) { + this.aHa_Sub3_4479.method3850((byte) 81, interface18); + anInt7280++; + this.aHa_Sub3_4479.method3923(true, i); + if (i_12_ == -16776) { + /* empty */ + } + } + + final boolean method3530(int i) { + anInt7283++; + if (i >= -57) method3530(-90); + return false; + } + + final void method3521(boolean bool, byte i) { + anInt7277++; + if (i != -103) method3527(-12, null, 67); + } + + AbstractShaderSub1(GlToolkitSub3 var_ha_Sub3) { + super(var_ha_Sub3); + } +} diff --git a/client/shaders/base/AbstractShaderSub2.java b/client/shaders/base/AbstractShaderSub2.java new file mode 100644 index 000000000..a4616b228 --- /dev/null +++ b/client/shaders/base/AbstractShaderSub2.java @@ -0,0 +1,150 @@ +/* AbstractShaderSub2 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaggl.OpenGL; + +final class AbstractShaderSub2 +/** + * RENAMED from `Class367_Sub2` (JODE-obfuscated). + * Evidence: subclass of AbstractShader (hierarchy) + */ extends AbstractShader { + static int anInt7286; + static int anInt7287; + static int anInt7288; + static int anInt7289; + static short[][][] aShortArrayArrayArray7290; + static int anInt7291; + static int anInt7292; + private final Component321 aClass193_7293; + private final Component209 aClass269_7294; + static int anInt7295; + private GlExtensionManager aClass377_7296; + static int anInt7297 = 0; + + static final void method3536(int i, int i_0_, int i_1_, int i_2_, DisplayModeManagerContainer343 class318_sub1_sub2) { + Component186 class357 = NodeSub46.method3321(i, i_0_, i_1_); + if (class357 != null) { + class318_sub1_sub2.x = (i_0_ << Component149.anInt4459) + DisplayModeManagerContainer64.anInt9037; + class318_sub1_sub2.anInt6382 = i_2_; + class318_sub1_sub2.y = (i_1_ << Component149.anInt4459) + DisplayModeManagerContainer64.anInt9037; + class357.aClass318_Sub1_Sub2_4408 = class318_sub1_sub2; + int i_3_ = ShaderSub1.aSArray5191 == Component9.aSArray4142 ? 1 : 0; + if (class318_sub1_sub2.method2376(-52)) { + if (class318_sub1_sub2.method2377((byte) 122)) { + class318_sub1_sub2.aClass318_Sub1_6379 = AudioMixer.aClass318_Sub1Array3226[i_3_]; + AudioMixer.aClass318_Sub1Array3226[i_3_] = class318_sub1_sub2; + } else { + class318_sub1_sub2.aClass318_Sub1_6379 = Node.aClass318_Sub1Array4293[i_3_]; + Node.aClass318_Sub1Array4293[i_3_] = class318_sub1_sub2; + NodeSub16Sub2.aBoolean8870 = true; + } + } else { + class318_sub1_sub2.aClass318_Sub1_6379 = Component95.aClass318_Sub1Array1754[i_3_]; + Component95.aClass318_Sub1Array1754[i_3_] = class318_sub1_sub2; + } + } + } + + final void method3527(int i, Interface18 interface18, int i_4_) { + anInt7288++; + if (i_4_ != -16776) aClass377_7296 = null; + } + + final void method3525(int i, boolean bool) { + if (i == 15192) { + anInt7287++; + OpenGL.glBindProgramARB(34336, aClass193_7293.anInt2584); + OpenGL.glEnable(34336); + this.aHa_Sub3_4479.method3849((byte) 47, 0, DisplayModeManagerContainer343.aClass70_8737); + } + } + + AbstractShaderSub2(GlExtensionManager class377, CacheStore class45, Component209 class269) { + super(class377); + try { + aClass377_7296 = class377; + aClass269_7294 = class269; + if (class45 == null || !aClass269_7294.method2039(100) || !aClass377_7296.aBoolean9923) aClass193_7293 = null; + else aClass193_7293 = NodeBaseSub2.method3442(34336, class45.getFile("gl", "transparent_water", -29832), aClass377_7296, 4); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ov.(" + (class377 != null ? "{...}" : "null") + ',' + (class45 != null ? "{...}" : "null") + ',' + (class269 != null ? "{...}" : "null") + ')')); + } + } + + final void method3521(boolean bool, byte i) { + if (i != -103) aShortArrayArrayArray7290 = null; + this.aHa_Sub3_4479.method3874((DisplayModeManagerContainer64.aClass229_9011), 106, (ShaderCompilerSub3.aClass229_6519)); + anInt7292++; + } + + final void method3520(byte i) { + anInt7295++; + if (i == 87) { + this.aHa_Sub3_4479.method3849((byte) 47, 0, DisplayModeManagerContainer173.aClass70_4247); + OpenGL.glBindProgramARB(34336, 0); + OpenGL.glDisable(34820); + OpenGL.glDisable(34336); + } + } + + public static void clearStatics(int i) { + aShortArrayArrayArray7290 = null; + if (i != 34336) anInt7297 = 99; + } + + final void method3526(int i, int i_5_, int i_6_) { + anInt7286++; + if (i == 10756) { + if (aClass269_7294.aBoolean3458) { + float f = (float) ((this.aHa_Sub3_4479.anInt8146) % 4000) / 4000.0F; + this.aHa_Sub3_4479.method3850((byte) 79, aClass269_7294.anInterface18_Impl1_3452); + OpenGL.glProgramLocalParameter4fARB(34336, 0, f, 0.0F, 0.0F, 1.0F); + } else { + int i_7_ = (16 * (this.aHa_Sub3_4479.anInt8146 % 4000) / 4000); + this.aHa_Sub3_4479.method3850((byte) -118, (aClass269_7294.anInterface18_Impl3Array3459[i_7_])); + OpenGL.glProgramLocalParameter4fARB(34336, 0, 0.0F, 0.0F, 0.0F, 1.0F); + } + } + } + + final boolean method3530(int i) { + anInt7289++; + if (i >= -57) return true; + return aClass193_7293 != null; + } + + /** Remove {@code string} from the ignore list and notify the server. */ + static final void removeIgnore(boolean bool, String string) { + anInt7291++; + if (string != null) { + if (string.startsWith("*")) string = string.substring(1); + String string_8_ = DebugPanicSub1.method2127(2, string); + if (string_8_ != null) { + if (bool != true) method3536(9, 65, -72, 107, null); + for (int i = 0; (MenuEntry.ignoreCount > i); i++) { + String string_9_ = Component44.ignoreNames[i]; + if (string_9_.startsWith("*")) string_9_ = string_9_.substring(1); + string_9_ = DebugPanicSub1.method2127(2, string_9_); + if (string_9_ != null && string_9_.equals(string_8_)) { + MenuEntry.ignoreCount--; + for (int i_10_ = i; MenuEntry.ignoreCount > i_10_; i_10_++) { + Component44.ignoreNames[i_10_] = Component44.ignoreNames[i_10_ + 1]; + DisplayModeManagerContainer145.ignoreDisplayNames[i_10_] = DisplayModeManagerContainer145.ignoreDisplayNames[1 + i_10_]; + DefinitionSub21.ignoreLastNames[i_10_] = (DefinitionSub21.ignoreLastNames[1 + i_10_]); + ShaderSub2.ignoreLastDisplayNames[i_10_] = ShaderSub2.ignoreLastDisplayNames[1 + i_10_]; + AbstractShaderSub3.ignoreTemporary[i_10_] = AbstractShaderSub3.ignoreTemporary[i_10_ - -1]; + } + DebugPanicSub1.anInt8493++; + Component380.anInt4985 = ResourceLoader.anInt3918; + ParticleSystem class348_sub47 = ParticleShader.method2148(GraphicsToolkit.aClass351_4571, (DisplayModeManagerContainer64.aClass77_9029), -123); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, Component31.method1745(string, -65)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); + HashNodeSub14.method3243(118, class348_sub47); + break; + } + } + } + } + } +} diff --git a/client/shaders/base/AbstractShaderSub3.java b/client/shaders/base/AbstractShaderSub3.java new file mode 100644 index 000000000..6e5f5d322 --- /dev/null +++ b/client/shaders/base/AbstractShaderSub3.java @@ -0,0 +1,75 @@ +/* AbstractShaderSub3 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class AbstractShaderSub3 +/** + * RENAMED from `Class367_Sub3` (JODE-obfuscated). + * Evidence: subclass of AbstractShader (hierarchy) + */ extends AbstractShader { + static int anInt7298; + static int[] anIntArray7299; + static int anInt7300; + static Component183 aClass114_7301 = new Component183(21, -1); + static int anInt7302; + static int anInt7303; + /** Per-entry temporary-ignore flag (packet bit 2). */ + static boolean[] ignoreTemporary = new boolean[100]; + static int anInt7305; + static int anInt7306; + static int anInt7307; + + final void method3525(int i, boolean bool) { + this.aHa_Sub3_4479.method3943(true, i + -47145); + anInt7306++; + if (i != 15192) method3540(26, 92, -76, -90, 76, -7, -18, -119, 33, false); + } + + public static void method3539(byte i) { + int i_0_ = 74 % ((72 - i) / 37); + ignoreTemporary = null; + aClass114_7301 = null; + anIntArray7299 = null; + } + + final void method3527(int i, Interface18 interface18, int i_1_) { + if (i_1_ != -16776) aClass114_7301 = null; + this.aHa_Sub3_4479.method3850((byte) -105, interface18); + anInt7300++; + this.aHa_Sub3_4479.method3923(true, i); + } + + final void method3520(byte i) { + anInt7305++; + if (i != 87) method3530(71); + this.aHa_Sub3_4479.method3943(false, i + -32040); + } + + final void method3521(boolean bool, byte i) { + anInt7303++; + if (i != -103) method3527(-78, null, -100); + } + + AbstractShaderSub3(GlToolkitSub3 var_ha_Sub3) { + super(var_ha_Sub3); + } + + final boolean method3530(int i) { + if (i >= -57) return true; + anInt7307++; + return true; + } + + static final void method3540(int i, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_, boolean bool) { + if (i_6_ >= Component27.anInt4960 && Component22.anInt1745 >= i_6_ && Component27.anInt4960 <= i_5_ && Component22.anInt1745 >= i_5_ && i_7_ >= Component27.anInt4960 && i_7_ <= Component22.anInt1745 && Component27.anInt4960 <= i_9_ && Component22.anInt1745 >= i_9_ && i >= Component72.anInt1910 && PauseTimer.anInt513 >= i && i_2_ >= Component72.anInt1910 && PauseTimer.anInt513 >= i_2_ && Component72.anInt1910 <= i_8_ && i_8_ <= PauseTimer.anInt513 && Component72.anInt1910 <= i_4_ && i_4_ <= PauseTimer.anInt513) + Sprite.method3009(i_2_, i_8_, i_5_, i_9_, i_4_, (byte) -1, i_7_, i, i_3_, i_6_); + else Component192.drawBezier(i_3_, i_7_, i_6_, i_2_, i_5_, i_8_, i_9_, i, 3, i_4_); + if (bool != true) method3540(37, -122, 69, -89, -8, -19, 89, 112, 12, false); + anInt7302++; + } + + final void method3526(int i, int i_10_, int i_11_) { + if (i != 10756) aClass114_7301 = null; + anInt7298++; + } +} diff --git a/client/shaders/base/AbstractShaderSub4.java b/client/shaders/base/AbstractShaderSub4.java new file mode 100644 index 000000000..7c402bcee --- /dev/null +++ b/client/shaders/base/AbstractShaderSub4.java @@ -0,0 +1,339 @@ +/* AbstractShaderSub4 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class AbstractShaderSub4 +/** + * RENAMED from `Class367_Sub4` (JODE-obfuscated). + * Evidence: subclass of AbstractShader (hierarchy) + */ extends AbstractShader { + static int anInt7308; + static int anInt7309; + static int anInt7310; + private boolean aBoolean7311; + static int anInt7312; + static int anInt7313; + static int anInt7314; + private Interface18_Impl2[] anInterface18_Impl2Array7315; + static int anInt7316; + private boolean aBoolean7317 = false; + static StringCache aClass351_7318 = new StringCache(21, 2); + static int anInt7319 = 104; + static boolean aBoolean7320 = false; + static int anInt7321; + static int anInt7322; + static Component183 aClass114_7323 = new Component183(105, -2); + static Component183 aClass114_7324 = new Component183(96, 8); + static HashTable aClass107_7325 = new HashTable(); + + AbstractShaderSub4(GlToolkitSub3 var_ha_Sub3) { + super(var_ha_Sub3); + if (var_ha_Sub3.aBoolean8101) { + aBoolean7311 = var_ha_Sub3.anInt8090 < 3; + int i = aBoolean7311 ? 48 : 127; + int[][] is = new int[6][4096]; + int[][] is_0_ = new int[6][4096]; + int[][] is_1_ = new int[6][4096]; + int i_2_ = 0; + for (int i_3_ = 0; i_3_ < 64; i_3_++) { + for (int i_4_ = 0; i_4_ < 64; i_4_++) { + float f = -1.0F + (float) i_3_ * 2.0F / 64.0F; + float f_5_ = 2.0F * (float) i_4_ / 64.0F - 1.0F; + float f_6_ = (float) (1.0 / Math.sqrt(f * f + (1.0F + f_5_ * f_5_))); + f *= f_6_; + f_5_ *= f_6_; + for (int i_7_ = 0; i_7_ < 6; i_7_++) { + float f_8_; + if (i_7_ != 0) { + if (i_7_ != 1) { + if (i_7_ == 2) f_8_ = f; + else if (i_7_ == 3) f_8_ = -f; + else if (i_7_ != 4) f_8_ = -f_6_; + else f_8_ = f_6_; + } else f_8_ = f_5_; + } else f_8_ = -f_5_; + int i_9_; + int i_10_; + int i_11_; + if (f_8_ > 0.0F) { + i_9_ = (int) ((double) i * Math.pow(f_8_, 96.0)); + i_10_ = (int) ((double) i * Math.pow(f_8_, 36.0)); + i_11_ = (int) (Math.pow(f_8_, 12.0) * (double) i); + } else i_9_ = i_10_ = i_11_ = 0; + is_0_[i_7_][i_2_] = i_9_ << 24; + is_1_[i_7_][i_2_] = i_10_ << 24; + is[i_7_][i_2_] = i_11_ << 24; + } + i_2_++; + } + } + anInterface18_Impl2Array7315 = new Interface18_Impl2[3]; + anInterface18_Impl2Array7315[0] = this.aHa_Sub3_4479.method3900(is_0_, false, 52, 64); + anInterface18_Impl2Array7315[1] = this.aHa_Sub3_4479.method3900(is_1_, false, 3, 64); + anInterface18_Impl2Array7315[2] = this.aHa_Sub3_4479.method3900(is, false, 17, 64); + } + } + + final boolean method3530(int i) { + anInt7314++; + if (i > -57) method3525(91, false); + return true; + } + + public static void method3541(byte i) { + aClass114_7323 = null; + aClass114_7324 = null; + aClass107_7325 = null; + if (i == 23) aClass351_7318 = null; + } + + final void method3525(int i, boolean bool) { + if (i != 15192) method3527(-85, null, -72); + if (anInterface18_Impl2Array7315 != null && bool) { + this.aHa_Sub3_4479.method3897(1, -4382); + this.aHa_Sub3_4479.method3871(Component82.aClass113_430, 0); + MatrixSub2 class101_sub2 = this.aHa_Sub3_4479.method3820(false); + class101_sub2.method899(1024); + this.aHa_Sub3_4479.method3853(-32, DefinitionSub38.aClass251_9477); + if (aBoolean7311) { + this.aHa_Sub3_4479.method3874((ShaderCompilerSub3.aClass229_6519), 113, (DisplayModeManagerContainer64.aClass229_9011)); + this.aHa_Sub3_4479.method3924(true, false, 0, DisplayModeManagerContainer173.aClass70_4247, false); + this.aHa_Sub3_4479.method3885(0, true, DebugPanicSub2.aClass70_8503); + } else { + this.aHa_Sub3_4479.method3874((Component385.aClass229_2207), 117, (ShaderCompilerSub3.aClass229_6519)); + this.aHa_Sub3_4479.method3849((byte) 47, 0, (DisplayModeManagerContainer343.aClass70_8737)); + this.aHa_Sub3_4479.method3897(2, -4382); + this.aHa_Sub3_4479.method3874((ShaderCompilerSub3.aClass229_6519), 122, (DisplayModeManagerContainer64.aClass229_9011)); + this.aHa_Sub3_4479.method3849((byte) 47, 0, (DisplayModeManagerContainer343.aClass70_8737)); + this.aHa_Sub3_4479.method3924(true, false, 1, (DisplayModeManagerContainer343.aClass70_8737), false); + this.aHa_Sub3_4479.method3885(0, true, DebugPanicSub2.aClass70_8503); + this.aHa_Sub3_4479.method3850((byte) -61, (this.aHa_Sub3_4479.anInterface18_8147)); + } + this.aHa_Sub3_4479.method3897(0, i + -19574); + aBoolean7317 = true; + } else this.aHa_Sub3_4479.method3885(0, true, DebugPanicSub2.aClass70_8503); + anInt7313++; + } + + final void method3527(int i, Interface18 interface18, int i_12_) { + anInt7316++; + this.aHa_Sub3_4479.method3850((byte) 91, interface18); + this.aHa_Sub3_4479.method3923(true, i); + if (i_12_ != -16776) method3525(61, true); + } + + final void method3520(byte i) { + if (aBoolean7317) { + this.aHa_Sub3_4479.method3897(1, i ^ ~0x114a); + this.aHa_Sub3_4479.method3850((byte) -121, null); + this.aHa_Sub3_4479.method3871(Component324.aClass113_2047, 0); + this.aHa_Sub3_4479.method3879(-8629); + if (aBoolean7311) { + this.aHa_Sub3_4479.method3874(Component385.aClass229_2207, 120, Component385.aClass229_2207); + this.aHa_Sub3_4479.method3849((byte) 47, 0, DisplayModeManagerContainer173.aClass70_4247); + this.aHa_Sub3_4479.method3885(0, true, DisplayModeManagerContainer173.aClass70_4247); + } else { + this.aHa_Sub3_4479.method3874(Component385.aClass229_2207, 115, Component385.aClass229_2207); + this.aHa_Sub3_4479.method3849((byte) 47, 0, DisplayModeManagerContainer173.aClass70_4247); + this.aHa_Sub3_4479.method3897(2, i + -4469); + this.aHa_Sub3_4479.method3874((Component385.aClass229_2207), i ^ 0x21, (Component385.aClass229_2207)); + this.aHa_Sub3_4479.method3849((byte) 47, 0, DisplayModeManagerContainer173.aClass70_4247); + this.aHa_Sub3_4479.method3849((byte) 47, 1, (DisplayModeManagerContainer343.aClass70_8737)); + this.aHa_Sub3_4479.method3885(0, true, DisplayModeManagerContainer173.aClass70_4247); + this.aHa_Sub3_4479.method3850((byte) 64, null); + } + this.aHa_Sub3_4479.method3897(0, i ^ ~0x114a); + aBoolean7317 = false; + } else this.aHa_Sub3_4479.method3885(0, true, DisplayModeManagerContainer173.aClass70_4247); + anInt7312++; + if (i != 87) aBoolean7311 = true; + this.aHa_Sub3_4479.method3874(Component385.aClass229_2207, i + 13, Component385.aClass229_2207); + } + + static final boolean method3542(int i, Component186[][][] class357s, int i_13_, int i_14_, int i_15_, boolean bool) { + anInt7310++; + byte i_16_ = bool ? (byte) 1 : (byte) (DisplayModeManagerContainer341.anInt6006 & 0xff); + if (i_16_ == Component156.aByteArrayArrayArray3700[Component117.anInt4372][i_13_][i]) return false; + if (((ObjectDeserializer.aByteArrayArrayArray6962[Component117.anInt4372][i_13_][i]) & 0x4) == 0) return false; + int i_17_ = i_14_; + int i_18_ = 0; + NodeSub16Sub2.anIntArray8862[i_17_] = i_13_; + Exception_Sub1.anIntArray110[i_17_++] = i; + Component156.aByteArrayArrayArray3700[Component117.anInt4372][i_13_][i] = i_16_; + while (i_17_ != i_18_) { + int i_19_ = 0xffff & NodeSub16Sub2.anIntArray8862[i_18_]; + int i_20_ = ((NodeSub16Sub2.anIntArray8862[i_18_] & 0xff3677) >> 16); + int i_21_ = (0xff & NodeSub16Sub2.anIntArray8862[i_18_] >> 24); + int i_22_ = 0xffff & Exception_Sub1.anIntArray110[i_18_]; + int i_23_ = ((0xff5347 & Exception_Sub1.anIntArray110[i_18_]) >> 16); + i_18_ = i_18_ + 1 & 0xfff; + boolean bool_24_ = false; + if ((0x4 & (ObjectDeserializer.aByteArrayArrayArray6962[Component117.anInt4372][i_19_][i_22_])) == 0) bool_24_ = true; + boolean bool_25_ = false; + if (class357s != null) { + int i_26_ = Component117.anInt4372 + 1; + while_223_: + for (/**/; i_26_ <= 3; i_26_++) { + if (class357s[i_26_] != null && (0x8 & (ObjectDeserializer.aByteArrayArrayArray6962[i_26_][i_19_][i_22_])) == 0) { + if (bool_24_ && class357s[i_26_][i_19_][i_22_] != null) { + if ((class357s[i_26_][i_19_][i_22_].aClass318_Sub1_Sub4_4406) != null) { + int i_27_ = Component135.method3492(i_20_, 226); + if (((class357s[i_26_][i_19_][i_22_].aClass318_Sub1_Sub4_4406.aShort8759) == i_27_) || ((class357s[i_26_][i_19_][i_22_].aClass318_Sub1_Sub4_4403) != null && (i_27_ == (class357s[i_26_][i_19_][i_22_].aClass318_Sub1_Sub4_4403.aShort8759)))) continue; + if (i_21_ != 0) { + int i_28_ = Component135.method3492(i_21_, 226); + if (((class357s[i_26_][i_19_][i_22_].aClass318_Sub1_Sub4_4406.aShort8759) == i_28_) || ((class357s[i_26_][i_19_][i_22_].aClass318_Sub1_Sub4_4403) != null && ((class357s[i_26_][i_19_][i_22_].aClass318_Sub1_Sub4_4403.aShort8759) == i_28_))) continue; + } + if (i_23_ != 0) { + int i_29_ = Component135.method3492(i_23_, 226); + if ((class357s[i_26_][i_19_][i_22_].aClass318_Sub1_Sub4_4406.aShort8759) == i_29_ || ((class357s[i_26_][i_19_][i_22_].aClass318_Sub1_Sub4_4403) != null && (i_29_ == (class357s[i_26_][i_19_][i_22_].aClass318_Sub1_Sub4_4403.aShort8759)))) continue; + } + } + Component186 class357 = class357s[i_26_][i_19_][i_22_]; + if (class357.aClass148_4396 != null) { + for (Component3 class148 = (class357.aClass148_4396); class148 != null; class148 = (class148.aClass148_2038)) { + Component327 class318_sub1_sub3 = (class148.aClass318_Sub1_Sub3_2040); + if (class318_sub1_sub3 instanceof Interface10) { + Interface10 interface10 = (Interface10) class318_sub1_sub3; + int i_30_ = interface10.method39(59); + int i_31_ = interface10.method41(-32228); + if (i_30_ == 21) i_30_ = 19; + int i_32_ = i_31_ << 6 | i_30_; + if (i_32_ == i_20_ || i_21_ != 0 && i_21_ == i_32_ || i_23_ != 0 && i_23_ == i_32_) continue while_223_; + } + } + } + } + Component186 class357 = class357s[i_26_][i_19_][i_22_]; + if (class357 != null && class357.aClass148_4396 != null) { + for (Component3 class148 = class357.aClass148_4396; class148 != null; class148 = class148.aClass148_2038) { + Component327 class318_sub1_sub3 = (class148.aClass318_Sub1_Sub3_2040); + if (((class318_sub1_sub3.aShort8743) != class318_sub1_sub3.aShort8751) || (class318_sub1_sub3.aShort8750 != class318_sub1_sub3.aShort8747)) { + for (int i_33_ = (class318_sub1_sub3.aShort8743); (i_33_ <= class318_sub1_sub3.aShort8751); i_33_++) { + for (int i_34_ = (class318_sub1_sub3.aShort8750); (i_34_ <= class318_sub1_sub3.aShort8747); i_34_++) + Component156.aByteArrayArrayArray3700[i_26_][i_33_][i_34_] = i_16_; + } + } + } + } + Component156.aByteArrayArrayArray3700[i_26_][i_19_][i_22_] = i_16_; + bool_25_ = true; + } + } + } + if (bool_25_) { + int i_35_ = ShaderSub1.aSArray5191[1 + Component117.anInt4372].method3982((byte) -86, i_22_, i_19_); + if (i_35_ > DisplayModeManagerContainer363.anIntArray4097[i_15_]) DisplayModeManagerContainer363.anIntArray4097[i_15_] = i_35_; + int i_36_ = i_19_ << 9; + if (i_36_ < ClientErrorReporter.anIntArray2117[i_15_]) ClientErrorReporter.anIntArray2117[i_15_] = i_36_; + else if (i_36_ > DefinitionSub19.anIntArray9259[i_15_]) DefinitionSub19.anIntArray9259[i_15_] = i_36_; + int i_37_ = i_22_ << 9; + if (i_37_ >= DisplayModeManagerContainer370.anIntArray1127[i_15_]) { + if (LoadingState.anIntArray1045[i_15_] < i_37_) LoadingState.anIntArray1045[i_15_] = i_37_; + } else DisplayModeManagerContainer370.anIntArray1127[i_15_] = i_37_; + } + if (!bool_24_) { + if (i_19_ >= 1 && (Component156.aByteArrayArrayArray3700[Component117.anInt4372][i_19_ - 1][i_22_]) != i_16_) { + NodeSub16Sub2.anIntArray8862[i_17_] = Component224.bitwiseOr(Component224.bitwiseOr(1179648, i_19_ + -1), -754974720); + Exception_Sub1.anIntArray110[i_17_] = Component224.bitwiseOr(i_22_, 1245184); + i_17_ = 0xfff & 1 + i_17_; + Component156.aByteArrayArrayArray3700[Component117.anInt4372][i_19_ - 1][i_22_] = i_16_; + } + if (++i_22_ < ParametricDefinition.anInt9109) { + if (i_19_ - 1 >= 0 && i_16_ != (Component156.aByteArrayArrayArray3700[Component117.anInt4372][-1 + i_19_][i_22_]) && ((ObjectDeserializer.aByteArrayArrayArray6962[Component117.anInt4372][i_19_][i_22_]) & 0x4) == 0 && (0x4 & (ObjectDeserializer.aByteArrayArrayArray6962[Component117.anInt4372][-1 + i_19_][-1 + i_22_])) == 0) { + NodeSub16Sub2.anIntArray8862[i_17_] = (Component224.bitwiseOr(1375731712, Component224.bitwiseOr(i_19_ + -1, 1179648))); + Exception_Sub1.anIntArray110[i_17_] = Component224.bitwiseOr(i_22_, 1245184); + Component156.aByteArrayArrayArray3700[Component117.anInt4372][-1 + i_19_][i_22_] = i_16_; + i_17_ = 0xfff & 1 + i_17_; + } + if ((Component156.aByteArrayArrayArray3700[Component117.anInt4372][i_19_][i_22_]) != i_16_) { + NodeSub16Sub2.anIntArray8862[i_17_] = (Component224.bitwiseOr(318767104, Component224.bitwiseOr(i_19_, 5373952))); + Exception_Sub1.anIntArray110[i_17_] = Component224.bitwiseOr(i_22_, 5439488); + Component156.aByteArrayArrayArray3700[Component117.anInt4372][i_19_][i_22_] = i_16_; + i_17_ = i_17_ + 1 & 0xfff; + } + if (1 + i_19_ < anInt7319 && ((Component156.aByteArrayArrayArray3700[Component117.anInt4372][i_19_ + 1][i_22_]) != i_16_) && (0x4 & (ObjectDeserializer.aByteArrayArrayArray6962[Component117.anInt4372][i_19_][i_22_])) == 0 && (0x4 & (ObjectDeserializer.aByteArrayArrayArray6962[Component117.anInt4372][1 + i_19_][i_22_ + -1])) == 0) { + NodeSub16Sub2.anIntArray8862[i_17_] = (Component224.bitwiseOr(-1845493760, Component224.bitwiseOr(1 + i_19_, 5373952))); + Exception_Sub1.anIntArray110[i_17_] = Component224.bitwiseOr(5439488, i_22_); + i_17_ = 1 + i_17_ & 0xfff; + Component156.aByteArrayArrayArray3700[Component117.anInt4372][i_19_ - -1][i_22_] = i_16_; + } + } + i_22_--; + if (i_19_ - -1 < anInt7319 && (Component156.aByteArrayArrayArray3700[Component117.anInt4372][i_19_ - -1][i_22_]) != i_16_) { + NodeSub16Sub2.anIntArray8862[i_17_] = Component224.bitwiseOr(1392508928, Component224.bitwiseOr(9568256, 1 + i_19_)); + Exception_Sub1.anIntArray110[i_17_] = Component224.bitwiseOr(i_22_, 9633792); + i_17_ = 1 + i_17_ & 0xfff; + Component156.aByteArrayArrayArray3700[Component117.anInt4372][i_19_ - -1][i_22_] = i_16_; + } + if (--i_22_ >= 0) { + if (i_19_ + -1 >= 0 && i_16_ != (Component156.aByteArrayArrayArray3700[Component117.anInt4372][i_19_ - 1][i_22_]) && (0x4 & (ObjectDeserializer.aByteArrayArrayArray6962[Component117.anInt4372][i_19_][i_22_])) == 0 && (0x4 & (ObjectDeserializer.aByteArrayArrayArray6962[Component117.anInt4372][-1 + i_19_][1 + i_22_])) == 0) { + NodeSub16Sub2.anIntArray8862[i_17_] = (Component224.bitwiseOr(301989888, Component224.bitwiseOr(13762560, -1 + i_19_))); + Exception_Sub1.anIntArray110[i_17_] = Component224.bitwiseOr(i_22_, 13828096); + Component156.aByteArrayArrayArray3700[Component117.anInt4372][i_19_ - 1][i_22_] = i_16_; + i_17_ = i_17_ - -1 & 0xfff; + } + if ((Component156.aByteArrayArrayArray3700[Component117.anInt4372][i_19_][i_22_]) != i_16_) { + NodeSub16Sub2.anIntArray8862[i_17_] = Component224.bitwiseOr(Component224.bitwiseOr(13762560, i_19_), -1828716544); + Exception_Sub1.anIntArray110[i_17_] = Component224.bitwiseOr(13828096, i_22_); + Component156.aByteArrayArrayArray3700[Component117.anInt4372][i_19_][i_22_] = i_16_; + i_17_ = 0xfff & i_17_ - -1; + } + if (anInt7319 > 1 + i_19_ && (Component156.aByteArrayArrayArray3700[Component117.anInt4372][1 + i_19_][i_22_]) != i_16_ && ((ObjectDeserializer.aByteArrayArrayArray6962[Component117.anInt4372][i_19_][i_22_]) & 0x4) == 0 && ((ObjectDeserializer.aByteArrayArrayArray6962[Component117.anInt4372][i_19_ + 1][i_22_ + 1]) & 0x4) == 0) { + NodeSub16Sub2.anIntArray8862[i_17_] = (Component224.bitwiseOr(-771751936, Component224.bitwiseOr(i_19_ - -1, 9568256))); + Exception_Sub1.anIntArray110[i_17_] = Component224.bitwiseOr(i_22_, 9633792); + Component156.aByteArrayArrayArray3700[Component117.anInt4372][i_19_ - -1][i_22_] = i_16_; + i_17_ = 0xfff & i_17_ - -1; + } + } + } + } + if (DisplayModeManagerContainer363.anIntArray4097[i_15_] != -1000000) { + DisplayModeManagerContainer363.anIntArray4097[i_15_] += 40; + ClientErrorReporter.anIntArray2117[i_15_] -= 512; + DefinitionSub19.anIntArray9259[i_15_] += 512; + LoadingState.anIntArray1045[i_15_] += 512; + DisplayModeManagerContainer370.anIntArray1127[i_15_] -= 512; + } + return true; + } + + /** Close the developer console and refresh related UI. */ + static final void closeDevConsole(byte i) { + anInt7309++; + if (i == -89) { + StringCache.devConsoleOpen = false; + Component160.method3466(i + 6); + } + } + + /** Write {@code string} as Huffman-compressed CP1252; returns bytes written. */ + static final int writeHuffmanString(Buffer class348_sub49, int i, String string) { + try { + anInt7321++; + int i_38_ = class348_sub49.offset; + byte[] is = ClientSystemInfo.encodeCp1252(string, (byte) -20); + int i_39_ = 1 % ((-6 - i) / 63); + class348_sub49.writeSmart(5537, is.length); + class348_sub49.offset += (DisplayModeManagerContainer370.huffman.compress(is.length, 0, class348_sub49.offset, is, 103, class348_sub49.payload)); + return class348_sub49.offset + -i_38_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bk.O(" + (class348_sub49 != null ? "{...}" : "null") + ',' + i + ',' + (string != null ? "{...}" : "null") + ')')); + } + } + + final void method3521(boolean bool, byte i) { + this.aHa_Sub3_4479.method3874((ShaderCompilerSub3.aClass229_6519), 126, Component385.aClass229_2207); + if (i != -103) method3542(74, null, 65, 65, -77, true); + anInt7308++; + } + + final void method3526(int i, int i_40_, int i_41_) { + if (i != 10756) method3520((byte) -127); + if (aBoolean7317) { + this.aHa_Sub3_4479.method3897(1, i + -15138); + this.aHa_Sub3_4479.method3850((byte) -67, anInterface18_Impl2Array7315[-1 + i_40_]); + this.aHa_Sub3_4479.method3897(0, i ^ ~0x3b19); + } + anInt7322++; + } +} diff --git a/client/shaders/base/ArbShaderProgram.java b/client/shaders/base/ArbShaderProgram.java new file mode 100644 index 000000000..64f164277 --- /dev/null +++ b/client/shaders/base/ArbShaderProgram.java @@ -0,0 +1,163 @@ +/* ArbShaderProgram - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class286_Sub1` (JODE-obfuscated). + * ARB assembly-language shader program (ShaderProgram subclass). Builds !!ARBvp1.0 vertex / !!ARBfp1.0 fragment assembly sources and resolves uniform locations via Component47.method459. + */ + +import jaggl.OpenGL; + +final class ArbShaderProgram extends ShaderProgram { + private boolean aBoolean6183 = false; + static int anInt6184; + static int anInt6185; + static int anInt6186; + private Component382 aClass171_6187; + private Component382 aClass171_6188; + static int[] anIntArray6189 = new int[1]; + static int anInt6190; + static int anInt6191; + static int anInt6192; + private boolean aBoolean6193; + private GlTexture aClass258_Sub3_6194; + static int anInt6195; + private Component382 aClass171_6196; + private boolean aBoolean6197; + private final boolean aBoolean6198; + private Component382 aClass171_6199; + /** + * Developer-console history ring (newest at index 0). Lines are + * {@code "HH:MM:SS: text"}; command echoes use {@code --> cmd}. + * Size fixed at init ({@link DisplayModeManagerContainer288#initDevConsole}). + */ + static String[] consoleLines; + static DisplayModeManagerContainer238 aClass74_6201 = new DisplayModeManagerContainer238(9, 19); + static int anInt6202; + + final void method2141(boolean bool) { + if (bool == false) { + anInt6192++; + MatrixSub3 class101_sub3 = (this.aHa_Sub2_3684.aClass101_Sub3_7766); + if (!aBoolean6197) OpenGL.glBindProgramARB(34336, ((this.aHa_Sub2_3684.anInt7788 == 2147483647) ? aClass171_6188.anInt2270 : aClass171_6199.anInt2270)); + else OpenGL.glBindProgramARB(34336, (this.aHa_Sub2_3684.anInt7788 != 2147483647 ? aClass171_6187.anInt2270 : aClass171_6196.anInt2270)); + class101_sub3.method937(true, 0.0F, 0.0F, -1.0F, (float) (this.aHa_Sub2_3684.anInt7788), DisplayModeManagerContainer23.aFloatArray1528); + OpenGL.glProgramLocalParameter4fARB(34336, 1, DisplayModeManagerContainer23.aFloatArray1528[0], DisplayModeManagerContainer23.aFloatArray1528[1], DisplayModeManagerContainer23.aFloatArray1528[2], DisplayModeManagerContainer23.aFloatArray1528[3]); + OpenGL.glEnable(34336); + aBoolean6193 = true; + method2143(34336); + } + } + + final void method2139(boolean bool, byte i) { + int i_0_ = -82 / ((i - -60) / 38); + anInt6190++; + } + + public static void method2142(byte i) { + consoleLines = null; + int i_1_ = 19 % ((i - -67) / 59); + aClass74_6201 = null; + anIntArray6189 = null; + } + + final boolean method2137(int i) { + anInt6202++; + if (i >= -5) return false; + return aBoolean6198; + } + + final void method2134(boolean bool, boolean bool_2_) { + aBoolean6197 = bool; + anInt6191++; + this.aHa_Sub2_3684.method3738(-15039, 1); + this.aHa_Sub2_3684.method3771((byte) -97, aClass258_Sub3_6194); + this.aHa_Sub2_3684.method3729(34165, (byte) 101, 7681); + this.aHa_Sub2_3684.method3762(34166, 768, (byte) -87, 0); + this.aHa_Sub2_3684.method3762(5890, 770, (byte) -87, 2); + this.aHa_Sub2_3684.method3775(bool_2_, 0, 770, 34168); + this.aHa_Sub2_3684.method3738(-15039, 0); + method2141(false); + } + + final void method2143(int i) { + if (i == 34336) { + if (aBoolean6193) { + int i_3_ = this.aHa_Sub2_3684.XA(); + int i_4_ = this.aHa_Sub2_3684.i(); + float f = (float) i_3_ - 0.125F * (float) (-i_4_ + i_3_); + float f_5_ = (float) i_3_ - 0.25F * (float) (i_3_ - i_4_); + OpenGL.glProgramLocalParameter4fARB(34336, 0, f_5_, f, 1.0F / (float) this.aHa_Sub2_3684.anInt7848, (float) (this.aHa_Sub2_3684.anInt7809) / 255.0F); + this.aHa_Sub2_3684.method3738(-15039, 1); + this.aHa_Sub2_3684.method3808(this.aHa_Sub2_3684.anInt7806, 122); + this.aHa_Sub2_3684.method3738(-15039, 0); + } + anInt6184++; + } + } + + ArbShaderProgram(GlToolkitSub2 var_ha_Sub2) { + super(var_ha_Sub2); + if (this.aHa_Sub2_3684.aBoolean7841) { + aClass171_6188 = (Component47.method459(34336, this.aHa_Sub2_3684, "!!ARBvp1.0\nATTRIB iPos = vertex.position;\nATTRIB iColour = vertex.color;\nATTRIB iTexCoord = vertex.texcoord[0];\nOUTPUT oPos = result.position;\nOUTPUT oColour = result.color;\nOUTPUT oTexCoord0 = result.texcoord[0];\nOUTPUT oTexCoord1 = result.texcoord[1];\nOUTPUT oFogCoord = result.fogcoord;\nPARAM fogParams = program.local[0];\nPARAM waterPlane = program.local[1];\nPARAM tMatrix[4] = { state.matrix.texture[0] };\nPARAM pMatrix[4] = { state.matrix.projection };\nPARAM mvMatrix[4] = { state.matrix.modelview };\nTEMP viewPos, fogFactor;\nDP4 viewPos.x, mvMatrix[0], iPos;\nDP4 viewPos.y, mvMatrix[1], iPos;\nDP4 viewPos.z, mvMatrix[2], iPos;\nDP4 viewPos.w, mvMatrix[3], iPos;\nSUB fogFactor.x, -viewPos.z, fogParams.x;\nMUL fogFactor.x, fogFactor.x, 0.001953125;\nMAD fogFactor.y, iTexCoord.z, fogParams.z, fogParams.w;\nSUB fogFactor.z, -viewPos.z, fogParams.y;\nMUL fogFactor.z, fogFactor.z, 0.00390625;\nMUL fogFactor.x, fogFactor.x, fogFactor.y;\nMIN fogFactor, fogFactor, 1;\nMAX fogFactor, fogFactor, 0;\nMUL fogFactor.z, fogFactor.z, iTexCoord.z;\nMAD viewPos.xyz, waterPlane.xyzw, fogFactor.zzzz, viewPos.xyzw;\nMAX oTexCoord1.xyz, fogFactor.xxxx, fogFactor.yyyy;\nMOV oTexCoord1.w, 1;\nMOV oColour, iColour;\nDP4 oPos.x, pMatrix[0], viewPos;\nDP4 oPos.y, pMatrix[1], viewPos;\nDP4 oPos.z, pMatrix[2], viewPos;\nDP4 oPos.w, pMatrix[3], viewPos;\nMOV oFogCoord.x, viewPos.z;\nDP3 oTexCoord0.x, tMatrix[0], iTexCoord;\nDP3 oTexCoord0.y, tMatrix[1], iTexCoord;\nMOV oTexCoord0.zw, iTexCoord;\nEND\n", false)); + aClass171_6196 = (Component47.method459(34336, this.aHa_Sub2_3684, "!!ARBvp1.0\nATTRIB iPos = vertex.position;\nATTRIB iNormal = vertex.normal;\nATTRIB iColour = vertex.color;\nATTRIB iTexCoord = vertex.texcoord[0];\nOUTPUT oPos = result.position;\nOUTPUT oColour = result.color;\nOUTPUT oTexCoord0 = result.texcoord[0];\nOUTPUT oTexCoord1 = result.texcoord[1];\nOUTPUT oFogCoord = result.fogcoord;\nPARAM fogParams = program.local[0];\nPARAM waterPlane = program.local[1];\nPARAM tMatrix[4] = { state.matrix.texture[0] };\nPARAM pMatrix[4] = { state.matrix.projection };\nPARAM mvMatrix[4] = { state.matrix.modelview };\nTEMP viewPos, viewNormal, fogFactor, colour, ndotl;\nDP4 viewPos.x, mvMatrix[0], iPos;\nDP4 viewPos.y, mvMatrix[1], iPos;\nDP4 viewPos.z, mvMatrix[2], iPos;\nDP4 viewPos.w, mvMatrix[3], iPos;\nSUB fogFactor.x, -viewPos.z, fogParams.x;\nMUL fogFactor.x, fogFactor.x, 0.001953125;\nMAD fogFactor.y, iTexCoord.z, fogParams.z, fogParams.w;\nSUB fogFactor.z, -viewPos.z, fogParams.y;\nMUL fogFactor.z, fogFactor.z, 0.00390625;\nMUL fogFactor.x, fogFactor.x, fogFactor.y;\nMIN fogFactor, fogFactor, 1;\nMAX fogFactor, fogFactor, 0;\nMUL fogFactor.z, fogFactor.z, iTexCoord.z;\nMAD viewPos.xyz, waterPlane.xyzw, fogFactor.zzzz, viewPos.xyzw;\nMAX oTexCoord1.xyz, fogFactor.xxxx, fogFactor.yyyy;\nMOV oTexCoord1.w, 1;\nDP3 viewNormal.x, mvMatrix[0], iNormal;\nDP3 viewNormal.y, mvMatrix[1], iNormal;\nDP3 viewNormal.z, mvMatrix[2], iNormal;\nDP3 ndotl.x, viewNormal, state.light[0].position;\nDP3 ndotl.y, viewNormal, state.light[1].position;\nMAX ndotl, ndotl, 0;\nMOV colour, state.lightmodel.ambient;\nMAD colour, state.light[0].diffuse, ndotl.xxxx, colour;\nMAD colour, state.light[1].diffuse, ndotl.yyyy, colour;\nMUL oColour, iColour, colour;\nDP4 oPos.x, pMatrix[0], viewPos;\nDP4 oPos.y, pMatrix[1], viewPos;\nDP4 oPos.z, pMatrix[2], viewPos;\nDP4 oPos.w, pMatrix[3], viewPos;\nMOV oFogCoord.x, viewPos.z;\nDP3 oTexCoord0.x, tMatrix[0], iTexCoord;\nDP3 oTexCoord0.y, tMatrix[1], iTexCoord;\nMOV oTexCoord0.zw, iTexCoord;\nEND\n", false)); + aClass171_6199 = (Component47.method459(34336, this.aHa_Sub2_3684, "!!ARBvp1.0\nATTRIB iPos = vertex.position;\nATTRIB iColour = vertex.color;\nATTRIB iTexCoord = vertex.texcoord[0];\nOUTPUT oPos = result.position;\nOUTPUT oColour = result.color;\nOUTPUT oTexCoord0 = result.texcoord[0];\nOUTPUT oTexCoord1 = result.texcoord[1];\nOUTPUT oFogCoord = result.fogcoord;\nPARAM fogParams = program.local[0];\nPARAM waterPlane = program.local[1];\nPARAM pMatrix[4] = { state.matrix.projection };\nPARAM mvMatrix[4] = { state.matrix.modelview };\nPARAM texMatrix[4] = { state.matrix.texture[0] };\nTEMP viewPos, fogFactor, depth;\nDP4 viewPos.x, mvMatrix[0], iPos;\nDP4 viewPos.y, mvMatrix[1], iPos;\nDP4 viewPos.z, mvMatrix[2], iPos;\nDP4 viewPos.w, mvMatrix[3], iPos;\nSUB fogFactor.x, -viewPos.z, fogParams.x;\nMUL fogFactor.x, fogFactor.x, 0.001953125;\nDP4 depth, waterPlane, viewPos;\nMAD fogFactor.y, -depth, fogParams.z, fogParams.w;\nSUB fogFactor.z, -viewPos.z, fogParams.y;\nMUL fogFactor.z, fogFactor.z, 0.00390625;\nMIN fogFactor, fogFactor, 1;\nMAX fogFactor, fogFactor, 0;\nMUL fogFactor.z, fogFactor.z, -depth;\nMAD viewPos.xyz, waterPlane.xyzw, fogFactor.zzzz, viewPos.xyzw;\nMAX oTexCoord1.xyz, fogFactor.xxxx, fogFactor.yyyy;\nMOV oTexCoord1.w, 1;\nMOV oColour, iColour;\nDP4 oPos.x, pMatrix[0], viewPos;\nDP4 oPos.y, pMatrix[1], viewPos;\nDP4 oPos.z, pMatrix[2], viewPos;\nDP4 oPos.w, pMatrix[3], viewPos;\nMOV oFogCoord.x, viewPos.z;\nDP4 oTexCoord0.x, texMatrix[0], iTexCoord;\nDP4 oTexCoord0.y, texMatrix[1], iTexCoord;\nDP4 oTexCoord0.z, texMatrix[2], iTexCoord;\nMOV oTexCoord0.w, 1;\nEND\n", false)); + aClass171_6187 = (Component47.method459(34336, this.aHa_Sub2_3684, "!!ARBvp1.0\nATTRIB iPos = vertex.position;\nATTRIB iNormal = vertex.normal;\nATTRIB iColour = vertex.color;\nATTRIB iTexCoord = vertex.texcoord[0];\nOUTPUT oPos = result.position;\nOUTPUT oColour = result.color;\nOUTPUT oTexCoord0 = result.texcoord[0];\nOUTPUT oTexCoord1 = result.texcoord[1];\nOUTPUT oFogCoord = result.fogcoord;\nPARAM fogParams = program.local[0];\nPARAM waterPlane = program.local[1];\nPARAM pMatrix[4] = { state.matrix.projection };\nPARAM mvMatrix[4] = { state.matrix.modelview };\nPARAM texMatrix[4] = { state.matrix.texture[0] };\nTEMP viewPos, viewNormal, fogFactor, depth, colour, ndotl;\nDP4 viewPos.x, mvMatrix[0], iPos;\nDP4 viewPos.y, mvMatrix[1], iPos;\nDP4 viewPos.z, mvMatrix[2], iPos;\nDP4 viewPos.w, mvMatrix[3], iPos;\nSUB fogFactor.x, -viewPos.z, fogParams.x;\nMUL fogFactor.x, fogFactor.x, 0.001953125;\nDP4 depth, waterPlane, viewPos;\nMAD fogFactor.y, -depth, fogParams.z, fogParams.w;\nSUB fogFactor.z, -viewPos.z, fogParams.y;\nMUL fogFactor.z, fogFactor.z, 0.00390625;\nMIN fogFactor, fogFactor, 1;\nMAX fogFactor, fogFactor, 0;\nMUL fogFactor.z, fogFactor.z, -depth;\nMAD viewPos.xyz, waterPlane.xyzw, fogFactor.zzzz, viewPos.xyzw;\nMAX oTexCoord1.xyz, fogFactor.xxxx, fogFactor.yyyy;\nMOV oTexCoord1.w, 1;\nDP3 viewNormal.x, mvMatrix[0], iNormal;\nDP3 viewNormal.y, mvMatrix[1], iNormal;\nDP3 viewNormal.z, mvMatrix[2], iNormal;\nDP3 ndotl.x, viewNormal, state.light[0].position;\nDP3 ndotl.y, viewNormal, state.light[1].position;\nMAX ndotl, ndotl, 0;\nMOV colour, state.lightmodel.ambient;\nMAD colour, state.light[0].diffuse, ndotl.xxxx, colour;\nMAD colour, state.light[1].diffuse, ndotl.yyyy, colour;\nMUL oColour, iColour, colour;\nDP4 oPos.x, pMatrix[0], viewPos;\nDP4 oPos.y, pMatrix[1], viewPos;\nDP4 oPos.z, pMatrix[2], viewPos;\nDP4 oPos.w, pMatrix[3], viewPos;\nMOV oFogCoord.x, viewPos.z;\nDP4 oTexCoord0.x, texMatrix[0], iTexCoord;\nDP4 oTexCoord0.y, texMatrix[1], iTexCoord;\nDP4 oTexCoord0.z, texMatrix[2], iTexCoord;\nMOV oTexCoord0.w, 1;\nEND\n", false)); + if (aClass171_6187 != null & (aClass171_6188 != null & aClass171_6196 != null & aClass171_6199 != null)) { + aClass258_Sub3_6194 = new GlTexture(var_ha_Sub2, 3553, 6406, 2, 1, false, new byte[]{0, -1}, 6406, false); + aClass258_Sub3_6194.method1965(false, false, 10243); + aBoolean6198 = true; + } else aBoolean6198 = false; + } else aBoolean6198 = false; + } + + final void method2133(int i) { + if (i > -75) method2141(true); + anInt6186++; + if (aBoolean6193) { + OpenGL.glBindProgramARB(34336, 0); + OpenGL.glDisable(34820); + OpenGL.glDisable(34336); + aBoolean6193 = false; + } + this.aHa_Sub2_3684.method3738(-15039, 1); + this.aHa_Sub2_3684.method3771((byte) -97, null); + this.aHa_Sub2_3684.method3729(8448, (byte) -61, 8448); + this.aHa_Sub2_3684.method3762(5890, 768, (byte) -87, 0); + this.aHa_Sub2_3684.method3762(34166, 770, (byte) -87, 2); + this.aHa_Sub2_3684.method3775(false, 0, 770, 5890); + this.aHa_Sub2_3684.method3738(-15039, 0); + if (aBoolean6183) { + this.aHa_Sub2_3684.method3762(5890, 768, (byte) -87, 0); + this.aHa_Sub2_3684.method3775(false, 0, 770, 5890); + aBoolean6183 = false; + } + } + + final void method2136(int i, int i_6_, byte i_7_) { + anInt6195++; + if (i_7_ > -42) method2139(true, (byte) -81); + } + + final void method2140(AbstractGlTexture class258, byte i, int i_8_) { + if (class258 == null) { + if (!aBoolean6183) { + this.aHa_Sub2_3684.method3771((byte) -114, (this.aHa_Sub2_3684.aClass258_Sub3_7827)); + this.aHa_Sub2_3684.method3761(0, 1); + this.aHa_Sub2_3684.method3762(34168, 768, (byte) -87, 0); + this.aHa_Sub2_3684.method3775(false, 0, 770, 34168); + aBoolean6183 = true; + } + } else { + if (aBoolean6183) { + this.aHa_Sub2_3684.method3762(5890, 768, (byte) -87, 0); + this.aHa_Sub2_3684.method3775(false, 0, 770, 5890); + aBoolean6183 = false; + } + this.aHa_Sub2_3684.method3771((byte) -105, class258); + this.aHa_Sub2_3684.method3761(0, i_8_); + } + if (i < -89) anInt6185++; + } +} diff --git a/client/shaders/base/CurvePreset.java b/client/shaders/base/CurvePreset.java new file mode 100644 index 000000000..407e95925 --- /dev/null +++ b/client/shaders/base/CurvePreset.java @@ -0,0 +1,155 @@ +/* CurvePreset - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub40_Sub14` (JODE-obfuscated). + * Curve preset config definition. extends Definition; throws 'Curve operation requires at least two markers' when fewer than two control points are present. + */ + +final class CurvePreset extends Definition { + static int anInt9205; + static int anInt9206; + static int anInt9207; + private int[] anIntArray9208; + static int anInt9209; + private int[][] anIntArrayArray9210; + private int anInt9211 = 0; + static int anInt9212; + static int anInt9213; + private int[] anIntArray9214; + private short[] aShortArray9215 = new short[257]; + + final void method3049(Buffer class348_sub49, int i, int i_0_) { + if (i == 0) { + anInt9211 = class348_sub49.readUnsignedByte(i_0_ + -30760); + anIntArrayArray9210 = new int[class348_sub49.readUnsignedByte(255)][2]; + for (int i_1_ = 0; (i_1_ < anIntArrayArray9210.length); i_1_++) { + anIntArrayArray9210[i_1_][0] = class348_sub49.readUnsignedShort(842397944); + anIntArrayArray9210[i_1_][1] = class348_sub49.readUnsignedShort(842397944); + } + } + if (i_0_ == 31015) anInt9213++; + } + + private final void method3081(int i) { + int i_2_ = anInt9211; + while_158_: + do { + do { + if (i_2_ == 2) { + for (i_2_ = 0; i_2_ < 257; i_2_++) { + int i_3_ = i_2_ << 4; + int i_4_; + for (i_4_ = 1; -1 + anIntArrayArray9210.length > i_4_; i_4_++) { + if (anIntArrayArray9210[i_4_][0] > i_3_) break; + } + int[] is = anIntArrayArray9210[i_4_ - 1]; + int[] is_5_ = anIntArrayArray9210[i_4_]; + int i_6_ = method3083(-2 + i_4_, (byte) -120)[1]; + int i_7_ = is[1]; + int i_8_ = is_5_[1]; + int i_9_ = method3083(1 + i_4_, (byte) 81)[1]; + int i_10_ = ((-is[0] + i_3_ << 12) / (is_5_[0] + -is[0])); + int i_11_ = i_10_ * i_10_ >> 12; + int i_12_ = i_7_ + -i_8_ + (i_9_ + -i_6_); + int i_13_ = -i_12_ + i_6_ - i_7_; + int i_14_ = i_8_ + -i_6_; + int i_15_ = i_7_; + int i_16_ = ((i_10_ * i_12_ >> 12) * i_11_ >> 12); + int i_17_ = i_13_ * i_11_ >> 12; + int i_18_ = i_10_ * i_14_ >> 12; + int i_19_ = i_15_ + (i_18_ + i_17_ + i_16_); + if (i_19_ <= -32768) i_19_ = -32767; + if (i_19_ >= 32768) i_19_ = 32767; + aShortArray9215[i_2_] = (short) i_19_; + } + break while_158_; + } else if (i_2_ != 1) break; + for (i_2_ = 0; i_2_ < 257; i_2_++) { + int i_20_ = i_2_ << 4; + int i_21_; + for (i_21_ = 1; (i_21_ < -1 + anIntArrayArray9210.length); i_21_++) { + if (anIntArrayArray9210[i_21_][0] > i_20_) break; + } + int[] is = anIntArrayArray9210[-1 + i_21_]; + int[] is_22_ = anIntArrayArray9210[i_21_]; + int i_23_ = ((-is[0] + i_20_ << 12) / (is_22_[0] - is[0])); + int i_24_ = (-(Component296.anIntArray4654[(i_23_ & 0x1ff6) >> 5]) + 4096 >> 1); + int i_25_ = -i_24_ + 4096; + int i_26_ = is[1] * i_25_ + is_22_[1] * i_24_ >> 12; + if (i_26_ <= -32768) i_26_ = -32767; + if (i_26_ >= 32768) i_26_ = 32767; + aShortArray9215[i_2_] = (short) i_26_; + } + break while_158_; + } while (false); + for (i_2_ = 0; i_2_ < 257; i_2_++) { + int i_27_ = i_2_ << 4; + int i_28_; + for (i_28_ = 1; (-1 + anIntArrayArray9210.length > i_28_); i_28_++) { + if (anIntArrayArray9210[i_28_][0] > i_27_) break; + } + int[] is = anIntArrayArray9210[i_28_ + -1]; + int[] is_29_ = anIntArrayArray9210[i_28_]; + int i_30_ = (i_27_ + -is[0] << 12) / (is_29_[0] + -is[0]); + int i_31_ = 4096 - i_30_; + int i_32_ = is_29_[1] * i_30_ + i_31_ * is[1] >> 12; + if (i_32_ <= -32768) i_32_ = -32767; + if (i_32_ >= 32768) i_32_ = 32767; + aShortArray9215[i_2_] = (short) i_32_; + } + } while (false); + if (i != -1) aShortArray9215 = null; + anInt9205++; + } + + public CurvePreset() { + super(1, true); + } + + final int[] getMonochromeOutput(int i, int i_33_) { + anInt9207++; + int[] is = this.imageCache.getPixels(0, i); + if (i_33_ != 255) anIntArray9214 = null; + if (this.imageCache.cacheMiss) { + int[] is_34_ = this.method3048(i, 633706337, 0); + for (int i_35_ = 0; i_35_ < DefinitionSub6.anInt9139; i_35_++) { + int i_36_ = is_34_[i_35_] >> 4; + if (i_36_ < 0) i_36_ = 0; + if (i_36_ > 256) i_36_ = 256; + is[i_35_] = aShortArray9215[i_36_]; + } + } + return is; + } + + private final void method3082(byte i) { + anInt9206++; + int[] is = anIntArrayArray9210[0]; + int[] is_37_ = anIntArrayArray9210[1]; + int[] is_38_ = anIntArrayArray9210[-2 + anIntArrayArray9210.length]; + int[] is_39_ = anIntArrayArray9210[-1 + anIntArrayArray9210.length]; + anIntArray9208 = new int[]{is_38_[0] - (is_39_[0] + -is_38_[0]), is_38_[1] - (-is_38_[1] + is_39_[1])}; + if (i != 73) getMonochromeOutput(75, 39); + anIntArray9214 = new int[]{is[0] + -is_37_[0] + is[0], is[1] - (-is[1] - -is_37_[1])}; + } + + final void postDecode(int i) { + if (anIntArrayArray9210 == null) anIntArrayArray9210 = new int[][]{new int[2], {4096, 4096}}; + if (i <= 108) anIntArrayArray9210 = null; + anInt9209++; + if (anIntArrayArray9210.length < 2) throw new RuntimeException("Curve operation requires at least two markers"); + if (anInt9211 == 2) method3082((byte) 73); + Component7.method1605(26188); + method3081(-1); + } + + private final int[] method3083(int i, byte i_40_) { + anInt9212++; + if (i < 0) return anIntArray9214; + int i_41_ = -48 % ((i_40_ - 13) / 56); + if (anIntArrayArray9210.length <= i) return anIntArray9208; + return anIntArrayArray9210[i]; + } +} diff --git a/client/shaders/base/GradientPreset.java b/client/shaders/base/GradientPreset.java new file mode 100644 index 000000000..08d63560a --- /dev/null +++ b/client/shaders/base/GradientPreset.java @@ -0,0 +1,383 @@ +/* GradientPreset - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub40_Sub12` (JODE-obfuscated). + * Gradient preset config definition. extends Definition; throws 'Invalid gradient preset' when the gradient data is malformed during decode. + */ + +final class GradientPreset extends Definition { + static StringCache aClass351_9189 = new StringCache(28, 2); + static int anInt9190; + static int anInt9191; + static int anInt9192; + static int anInt9193; + private int[][] anIntArrayArray9194; + static Component309 aClass263_9195; + static int anInt9196; + static Component183 aClass114_9197 = new Component183(61, -1); + static int anInt9198; + private final int[] anIntArray9199 = new int[257]; + static int anInt9200; + + final void method3049(Buffer class348_sub49, int i, int i_0_) { + if (i == 0) { + int i_1_ = class348_sub49.readUnsignedByte(255); + if (i_1_ == 0) { + anIntArrayArray9194 = new int[class348_sub49.readUnsignedByte(255)][4]; + for (int i_2_ = 0; anIntArrayArray9194.length > i_2_; i_2_++) { + anIntArrayArray9194[i_2_][0] = class348_sub49.readUnsignedShort(842397944); + anIntArrayArray9194[i_2_][1] = class348_sub49.readUnsignedByte(255) << 4; + anIntArrayArray9194[i_2_][2] = class348_sub49.readUnsignedByte(255) << 4; + anIntArrayArray9194[i_2_][3] = ((class348_sub49.readUnsignedByte(NodeSub21.bitwiseXor(i_0_, 31192))) << 4); + } + } else ensureDefaultGradient(i_1_, i_0_ + -31111); + } + anInt9190++; + if (i_0_ != 31015) method3077((byte) 100); + } + + static final void method3076(int i, boolean bool) { + anInt9198++; + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub27_7255), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub27_7261), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub14_7250), 1); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub14_7264), 1); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub4_7220), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub16_7247), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub9_7256), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub13_7236), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub1_7246), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub21_7270), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub7_7238), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub24_7235), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub28_7230), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub18_7259), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub20_7216), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub20_7248), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub15_7224), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub6_7226), i); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub12_7243), 0); + DisplayModeManagerContainer87.method1686(i ^ 0x6e); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub23_7231), 2); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub29_7229), 1); + Definition.method3038(-1); + DisplayModeManagerContainer154.method773(true); + RuntimeException_Sub1.aBoolean4604 = true; + } + + final int[][] getColourOutput(int i, int i_3_) { + anInt9192++; + int[][] is = this.imageCacheStore.getPixels(i_3_ ^ 0x5d41e287, i); + if (this.imageCacheStore.cacheMiss) { + int[] is_4_ = this.method3048(i, 633706337, 0); + int[] is_5_ = is[0]; + int[] is_6_ = is[1]; + int[] is_7_ = is[2]; + for (int i_8_ = 0; (DefinitionSub6.anInt9139 > i_8_); i_8_++) { + int i_9_ = is_4_[i_8_] >> 4; + if (i_9_ < 0) i_9_ = 0; + if (i_9_ > 256) i_9_ = 256; + i_9_ = anIntArray9199[i_9_]; + is_5_[i_8_] = GpsOverlay.bitwiseAnd(i_9_, 16711680) >> 12; + is_6_[i_8_] = GpsOverlay.bitwiseAnd(65280, i_9_) >> 4; + is_7_[i_8_] = GpsOverlay.bitwiseAnd(4080, i_9_ << 4); + } + } + if (i_3_ != -1564599039) return null; + return is; + } + + public static void method3077(byte i) { + aClass351_9189 = null; + aClass114_9197 = null; + if (i != -98) method3077((byte) 27); + aClass263_9195 = null; + } + + final void postDecode(int i) { + if (i >= 108) { + anInt9196++; + if (anIntArrayArray9194 == null) ensureDefaultGradient(1, -97); + method3079(-29547); + } + } + + private final void ensureDefaultGradient(int i, int i_10_) { + anInt9193++; + while_157_: + do { + if (i != 0) { + int i_11_ = i; + while_156_: + do { + while_155_: + do { + while_154_: + do { + while_153_: + do { + do { + if (i_11_ == 1) { + anIntArrayArray9194 = new int[2][4]; + anIntArrayArray9194[0][1] = 0; + anIntArrayArray9194[0][2] = 0; + anIntArrayArray9194[0][0] = 0; + anIntArrayArray9194[0][3] = 0; + anIntArrayArray9194[1][3] = 4096; + anIntArrayArray9194[1][2] = 4096; + anIntArrayArray9194[1][1] = 4096; + anIntArrayArray9194[1][0] = 4096; + break while_157_; + } else if (i_11_ != 2) { + if (i_11_ != 3) { + if (i_11_ != 4) { + if (i_11_ != 5) { + if (i_11_ != 6) break while_156_; + } else break while_154_; + break while_155_; + } + } else break; + break while_153_; + } + anIntArrayArray9194 = new int[8][4]; + anIntArrayArray9194[0][3] = 2361; + anIntArrayArray9194[0][1] = 2650; + anIntArrayArray9194[0][0] = 0; + anIntArrayArray9194[0][2] = 2602; + anIntArrayArray9194[1][2] = 1799; + anIntArrayArray9194[1][1] = 2313; + anIntArrayArray9194[1][3] = 1558; + anIntArrayArray9194[1][0] = 2867; + anIntArrayArray9194[2][2] = 1734; + anIntArrayArray9194[2][1] = 2618; + anIntArrayArray9194[2][3] = 1413; + anIntArrayArray9194[2][0] = 3072; + anIntArrayArray9194[3][2] = 1220; + anIntArrayArray9194[3][0] = 3276; + anIntArrayArray9194[3][3] = 947; + anIntArrayArray9194[3][1] = 2296; + anIntArrayArray9194[4][2] = 963; + anIntArrayArray9194[4][3] = 722; + anIntArrayArray9194[4][0] = 3481; + anIntArrayArray9194[4][1] = 2072; + anIntArrayArray9194[5][3] = 1766; + anIntArrayArray9194[5][2] = 2152; + anIntArrayArray9194[5][0] = 3686; + anIntArrayArray9194[5][1] = 2730; + anIntArrayArray9194[6][2] = 1060; + anIntArrayArray9194[6][0] = 3891; + anIntArrayArray9194[6][1] = 2232; + anIntArrayArray9194[6][3] = 915; + anIntArrayArray9194[7][2] = 1413; + anIntArrayArray9194[7][3] = 1140; + anIntArrayArray9194[7][1] = 1686; + anIntArrayArray9194[7][0] = 4096; + break while_157_; + } while (false); + anIntArrayArray9194 = new int[7][4]; + anIntArrayArray9194[0][0] = 0; + anIntArrayArray9194[0][1] = 0; + anIntArrayArray9194[0][2] = 0; + anIntArrayArray9194[0][3] = 4096; + anIntArrayArray9194[1][3] = 4096; + anIntArrayArray9194[1][1] = 0; + anIntArrayArray9194[1][0] = 663; + anIntArrayArray9194[1][2] = 4096; + anIntArrayArray9194[2][0] = 1363; + anIntArrayArray9194[2][2] = 4096; + anIntArrayArray9194[2][1] = 0; + anIntArrayArray9194[2][3] = 0; + anIntArrayArray9194[3][0] = 2048; + anIntArrayArray9194[3][2] = 4096; + anIntArrayArray9194[3][3] = 0; + anIntArrayArray9194[3][1] = 4096; + anIntArrayArray9194[4][0] = 2727; + anIntArrayArray9194[4][1] = 4096; + anIntArrayArray9194[4][2] = 0; + anIntArrayArray9194[4][3] = 0; + anIntArrayArray9194[5][0] = 3411; + anIntArrayArray9194[5][3] = 4096; + anIntArrayArray9194[5][2] = 0; + anIntArrayArray9194[5][1] = 4096; + anIntArrayArray9194[6][2] = 0; + anIntArrayArray9194[6][3] = 4096; + anIntArrayArray9194[6][0] = 4096; + anIntArrayArray9194[6][1] = 0; + break while_157_; + } while (false); + anIntArrayArray9194 = new int[6][4]; + anIntArrayArray9194[0][2] = 0; + anIntArrayArray9194[0][1] = 0; + anIntArrayArray9194[0][3] = 0; + anIntArrayArray9194[0][0] = 0; + anIntArrayArray9194[1][3] = 1493; + anIntArrayArray9194[1][1] = 0; + anIntArrayArray9194[1][2] = 0; + anIntArrayArray9194[1][0] = 1843; + anIntArrayArray9194[2][3] = 2939; + anIntArrayArray9194[2][2] = 0; + anIntArrayArray9194[2][1] = 0; + anIntArrayArray9194[2][0] = 2457; + anIntArrayArray9194[3][3] = 3565; + anIntArrayArray9194[3][1] = 0; + anIntArrayArray9194[3][2] = 1124; + anIntArrayArray9194[3][0] = 2781; + anIntArrayArray9194[4][2] = 3084; + anIntArrayArray9194[4][0] = 3481; + anIntArrayArray9194[4][1] = 546; + anIntArrayArray9194[4][3] = 4031; + anIntArrayArray9194[5][0] = 4096; + anIntArrayArray9194[5][3] = 4096; + anIntArrayArray9194[5][2] = 4096; + anIntArrayArray9194[5][1] = 4096; + break while_157_; + } while (false); + anIntArrayArray9194 = new int[16][4]; + anIntArrayArray9194[0][0] = 0; + anIntArrayArray9194[0][3] = 321; + anIntArrayArray9194[0][2] = 192; + anIntArrayArray9194[0][1] = 80; + anIntArrayArray9194[1][0] = 155; + anIntArrayArray9194[1][2] = 449; + anIntArrayArray9194[1][3] = 562; + anIntArrayArray9194[1][1] = 321; + anIntArrayArray9194[2][0] = 389; + anIntArrayArray9194[2][3] = 803; + anIntArrayArray9194[2][1] = 578; + anIntArrayArray9194[2][2] = 690; + anIntArrayArray9194[3][1] = 947; + anIntArrayArray9194[3][3] = 1140; + anIntArrayArray9194[3][0] = 671; + anIntArrayArray9194[3][2] = 995; + anIntArrayArray9194[4][1] = 1285; + anIntArrayArray9194[4][3] = 1509; + anIntArrayArray9194[4][2] = 1397; + anIntArrayArray9194[4][0] = 897; + anIntArrayArray9194[5][2] = 1429; + anIntArrayArray9194[5][3] = 1413; + anIntArrayArray9194[5][0] = 1175; + anIntArrayArray9194[5][1] = 1525; + anIntArrayArray9194[6][0] = 1368; + anIntArrayArray9194[6][2] = 1461; + anIntArrayArray9194[6][1] = 1734; + anIntArrayArray9194[6][3] = 1333; + anIntArrayArray9194[7][2] = 1525; + anIntArrayArray9194[7][1] = 1413; + anIntArrayArray9194[7][0] = 1507; + anIntArrayArray9194[7][3] = 1702; + anIntArrayArray9194[8][3] = 2056; + anIntArrayArray9194[8][1] = 1108; + anIntArrayArray9194[8][2] = 1590; + anIntArrayArray9194[8][0] = 1736; + anIntArrayArray9194[9][2] = 2056; + anIntArrayArray9194[9][3] = 2666; + anIntArrayArray9194[9][0] = 2088; + anIntArrayArray9194[9][1] = 1766; + anIntArrayArray9194[10][0] = 2355; + anIntArrayArray9194[10][2] = 2586; + anIntArrayArray9194[10][1] = 2409; + anIntArrayArray9194[10][3] = 3276; + anIntArrayArray9194[11][2] = 3148; + anIntArrayArray9194[11][3] = 3228; + anIntArrayArray9194[11][1] = 3116; + anIntArrayArray9194[11][0] = 2691; + anIntArrayArray9194[12][3] = 3196; + anIntArrayArray9194[12][0] = 3031; + anIntArrayArray9194[12][1] = 3806; + anIntArrayArray9194[12][2] = 3710; + anIntArrayArray9194[13][3] = 3019; + anIntArrayArray9194[13][1] = 3437; + anIntArrayArray9194[13][2] = 3421; + anIntArrayArray9194[13][0] = 3522; + anIntArrayArray9194[14][1] = 3116; + anIntArrayArray9194[14][2] = 3148; + anIntArrayArray9194[14][3] = 3228; + anIntArrayArray9194[14][0] = 3727; + anIntArrayArray9194[15][2] = 2505; + anIntArrayArray9194[15][3] = 2746; + anIntArrayArray9194[15][1] = 2377; + anIntArrayArray9194[15][0] = 4096; + break while_157_; + } while (false); + anIntArrayArray9194 = new int[4][4]; + anIntArrayArray9194[0][1] = 0; + anIntArrayArray9194[0][2] = 4096; + anIntArrayArray9194[0][3] = 0; + anIntArrayArray9194[0][0] = 2048; + anIntArrayArray9194[1][0] = 2867; + anIntArrayArray9194[1][3] = 0; + anIntArrayArray9194[1][1] = 4096; + anIntArrayArray9194[1][2] = 4096; + anIntArrayArray9194[2][0] = 3276; + anIntArrayArray9194[2][1] = 4096; + anIntArrayArray9194[2][3] = 0; + anIntArrayArray9194[2][2] = 4096; + anIntArrayArray9194[3][0] = 4096; + anIntArrayArray9194[3][2] = 0; + anIntArrayArray9194[3][1] = 4096; + anIntArrayArray9194[3][3] = 0; + break while_157_; + } while (false); + throw new RuntimeException("Invalid gradient preset"); + } + } while (false); + if (i_10_ > -95) anInt9200 = -61; + } + + private final void method3079(int i) { + anInt9191++; + if (i != -29547) method3076(-28, false); + int i_12_ = anIntArrayArray9194.length; + if (i_12_ > 0) { + for (int i_13_ = 0; i_13_ < 257; i_13_++) { + int i_14_ = 0; + int i_15_ = i_13_ << 4; + for (int i_16_ = 0; i_16_ < i_12_; i_16_++) { + if (anIntArrayArray9194[i_16_][0] > i_15_) break; + i_14_++; + } + int i_17_; + int i_18_; + int i_19_; + if (i_14_ >= i_12_) { + int[] is = anIntArrayArray9194[i_12_ + -1]; + i_17_ = is[1]; + i_19_ = is[2]; + i_18_ = is[3]; + } else { + int[] is = anIntArrayArray9194[i_14_]; + if (i_14_ <= 0) { + i_17_ = is[1]; + i_18_ = is[3]; + i_19_ = is[2]; + } else { + int[] is_20_ = anIntArrayArray9194[-1 + i_14_]; + int i_21_ = ((i_15_ - is_20_[0] << 12) / (-is_20_[0] + is[0])); + int i_22_ = -i_21_ + 4096; + i_17_ = is_20_[1] * i_22_ + is[1] * i_21_ >> 12; + i_18_ = (i_21_ * is[3] - -(i_22_ * is_20_[3]) >> 12); + i_19_ = is_20_[2] * i_22_ + is[2] * i_21_ >> 12; + } + } + i_19_ >>= 4; + i_17_ >>= 4; + i_18_ >>= 4; + if (i_17_ < 0) i_17_ = 0; + else if (i_17_ > 255) i_17_ = 255; + if (i_18_ >= 0) { + if (i_18_ > 255) i_18_ = 255; + } else i_18_ = 0; + if (i_19_ >= 0) { + if (i_19_ > 255) i_19_ = 255; + } else i_19_ = 0; + anIntArray9199[i_13_] = (Component224.bitwiseOr(i_18_, Component224.bitwiseOr(i_17_ << 16, i_19_ << 8))); + } + } + } + + public GradientPreset() { + super(1, false); + } +} diff --git a/client/shaders/base/ReliefShader.java b/client/shaders/base/ReliefShader.java new file mode 100644 index 000000000..2b4b0c778 --- /dev/null +++ b/client/shaders/base/ReliefShader.java @@ -0,0 +1,155 @@ +/* ReliefShader - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class188` (JODE-obfuscated). + * Relief / normal-map shader. Samples a 3D heightMap (sampler3D) with rcpRelief / sampleSize uniforms to displace surface detail for relief mapping. + */ + +import jaggl.OpenGL; + +final class ReliefShader { + private final GlToolkitSub2 aHa_Sub2_2511; + static StringCache aClass351_2512; + private Component244 aClass337_2513; + static boolean aBoolean2514 = false; + static int anInt2515; + static int anInt2516; + static int anInt2517; + static int anInt2518; + static int anInt2519; + static int anInt2520; + + public static void method1411(boolean bool) { + if (bool != true) method1416(121); + aClass351_2512 = null; + } + + static final boolean method1412(byte i, int i_0_, int i_1_) { + if (i != -35) method1411(true); + anInt2519++; + return (i_1_ & 0x800) != 0 && (0x37 & i_0_) != 0; + } + + final boolean method1413(AbstractGlTextureSub1 class258_sub1, AbstractGlTextureSub1 class258_sub1_2_, int i, float f) { + try { + anInt2517++; + if (!method1414(35632)) return false; + DisplayModeManagerContainer105 class206 = aHa_Sub2_2511.aClass206_7778; + int i_3_ = 30 % ((-55 - i) / 59); + HashNodeSub2 class348_sub42_sub2 = new HashNodeSub2(aHa_Sub2_2511, 6408, (class258_sub1.anInt8523), (class258_sub1.anInt8529)); + aHa_Sub2_2511.method3773(-1, class206); + boolean bool = false; + class206.method1508(0, class348_sub42_sub2, -12); + if (class206.method1507(117)) { + OpenGL.glPushMatrix(); + OpenGL.glLoadIdentity(); + OpenGL.glMatrixMode(5889); + OpenGL.glPushMatrix(); + OpenGL.glLoadIdentity(); + OpenGL.glOrtho(0.0, 1.0, 0.0, 1.0, -1.0, 1.0); + OpenGL.glPushAttrib(2048); + OpenGL.glViewport(0, 0, class258_sub1.anInt8523, class258_sub1.anInt8529); + OpenGL.glUseProgramObjectARB(aClass337_2513.aLong4178); + OpenGL.glUniform1iARB((OpenGL.glGetUniformLocationARB(aClass337_2513.aLong4178, "heightMap")), 0); + OpenGL.glUniform1fARB((OpenGL.glGetUniformLocationARB(aClass337_2513.aLong4178, "rcpRelief")), 1.0F / f); + OpenGL.glUniform2fARB(OpenGL.glGetUniformLocationARB(aClass337_2513.aLong4178, "sampleSize"), (1.0F / (float) class258_sub1_2_.anInt8523), (1.0F / (float) class258_sub1_2_.anInt8529)); + for (int i_4_ = 0; i_4_ < class258_sub1.anInt8522; i_4_++) { + float f_5_ = ((float) i_4_ / (float) (class258_sub1.anInt8522)); + aHa_Sub2_2511.method3771((byte) -118, class258_sub1_2_); + OpenGL.glBegin(7); + OpenGL.glTexCoord3f(0.0F, 0.0F, f_5_); + OpenGL.glVertex2f(0.0F, 0.0F); + OpenGL.glTexCoord3f(1.0F, 0.0F, f_5_); + OpenGL.glVertex2f(1.0F, 0.0F); + OpenGL.glTexCoord3f(1.0F, 1.0F, f_5_); + OpenGL.glVertex2f(1.0F, 1.0F); + OpenGL.glTexCoord3f(0.0F, 1.0F, f_5_); + OpenGL.glVertex2f(0.0F, 1.0F); + OpenGL.glEnd(); + class258_sub1.method1958(-26823, 0, class258_sub1.anInt8523, 0, 0, i_4_, class258_sub1.anInt8529, 0); + } + OpenGL.glUseProgramObjectARB(0L); + OpenGL.glPopAttrib(); + OpenGL.glPopMatrix(); + OpenGL.glMatrixMode(5888); + OpenGL.glPopMatrix(); + bool = true; + } + class206.method1500(2983, 0); + aHa_Sub2_2511.method3770(-422613672, class206); + return bool; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qi.D(" + (class258_sub1 != null ? "{...}" : "null") + ',' + (class258_sub1_2_ != null ? "{...}" : "null") + ',' + i + ',' + f + ')')); + } + } + + final boolean method1414(int i) { + if (aHa_Sub2_2511.aBoolean7820 && aHa_Sub2_2511.aBoolean7783 && aClass337_2513 == null) { + Component359 class242 = (RSARequest.method3249(35632, 121, aHa_Sub2_2511, "uniform float rcpRelief;\nuniform vec2 sampleSize;\nuniform sampler3D heightMap;\nvoid main() {\nfloat dx = texture3D(heightMap, vec3(-sampleSize.x, 0.0, 0.0)+gl_TexCoord[0].xyz).r - texture3D(heightMap, vec3(sampleSize.x, 0.0, 0.0)+gl_TexCoord[0].xyz).r;\nfloat dy = texture3D(heightMap, vec3(0.0, -sampleSize.y, 0.0)+gl_TexCoord[0].xyz).r - texture3D(heightMap, vec3(0.0, sampleSize.y, 0.0)+gl_TexCoord[0].xyz).r;\ngl_FragColor = vec4(0.5+normalize(vec3(dx, dy, rcpRelief))*0.5, texture3D(heightMap, gl_TexCoord[0].xyz).r);\n}\n")); + if (class242 != null) aClass337_2513 = ShaderLinker.linkProgram(aHa_Sub2_2511, i + -35633, (new Component359[]{class242})); + } + anInt2518++; + if (i != 35632) method1413(null, null, 102, 0.17865802F); + return aClass337_2513 != null; + } + + static final void method1415(int i, int i_6_) { + anInt2520++; + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i, (byte) 105, 17); + if (i_6_ < 106) method1417(-62, null, -125); + class348_sub42_sub15.method3251(-16058); + } + + static final void method1416(int i) { + Component267.aClass268_2979.method2032(5, -101); + anInt2515++; + Component149.aClass183_4460.method1383(i ^ 0x804c, 5); + DefinitionSub25.aClass150_9342.method1207(-17452, 5); + GradientPreset.aClass263_9195.method2010(5, i + -6); + Component291.aClass278_2529.method2076(5, true); + Exception_Sub1.itemDefinitions.method1937(5, false); + RunescapeInfo.aClass87_191.method836(5, 93); + NsnDefinition.aClass319_9245.method2544(5, (byte) -41); + Component267.aClass194_2981.method1442(5, (byte) 1); + Component209.aClass217_3453.method1587(5, i ^ 0xeab); + DisplayModeManagerContainer282.aClass261_5558.processSoftEntries((byte) 119, 5); + DisplayModeManagerContainer64.aClass153_9031.method1224(5, (byte) -98); + Component245.aClass141_117.method1176(5, (byte) 52); + MatrixSub3.aClass326_5764.method2603(5, 11); + DisplayModeManagerContainer64.aClass187_9036.method1409(5, -20721); + ComponentDownloader.aClass84_413.method819((byte) 74, 5); + Component132.aClass25_1813.method299(5, 16); + NodeSub1.aClass185_6559.method1392(88, 5); + Component339.aClass166_3147.method1285(i, 8); + Component257.aClass65_4787.method697(5, 26); + DisplayModeManagerContainer306.aClass219_4782.method1603(5, -66); + Component263.method876(5, 0); + DisplayModeManagerContainer213.method545(50, -1); + Component245.method174(50, -30742); + Component97.method865(-8186, 5); + Component382.method1323(5, 26603); + Component45.aClass60_4346.processSoftEntries(i + -3, 5); + ShaderCompilerSub2.aClass60_6517.processSoftEntries(2, 5); + NodeSub1Sub1.aClass60_8807.processSoftEntries(i ^ 0x7, 5); + Component225.aClass60_463.processSoftEntries(2, 5); + ClientScriptExecutor.aClass60_1174.processSoftEntries(2, 5); + } + + static final NpcDefinition method1417(int i, CacheStore class45, int i_7_) { + anInt2516++; + if (i != 0) aBoolean2514 = true; + byte[] is = class45.getSingletonFile((byte) 73, i_7_); + if (is == null) return null; + return new NpcDefinition(is); + } + + ReliefShader(GlToolkitSub2 var_ha_Sub2) { + aHa_Sub2_2511 = var_ha_Sub2; + } + + static { + aClass351_2512 = new StringCache(16, 7); + } +} diff --git a/client/shaders/base/Shader.java b/client/shaders/base/Shader.java new file mode 100644 index 000000000..3c7ed444d --- /dev/null +++ b/client/shaders/base/Shader.java @@ -0,0 +1,75 @@ +/* Shader - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +abstract class Shader +/** + * RENAMED from `Shader` (JODE-obfuscated). + * Evidence: abstract base class; references Shader; parent of ShaderSub1/2/3 + */ { + static int anInt113; + static Task aClass144_114; + static int anInt115; + + public static void method158(byte i) { + aClass144_114 = null; + int i_0_ = -87 % ((-25 - i) / 41); + } + + static final void method159(int i) { + if (Component92.consoleHistoryDepth > 0) { + int i_1_ = 0; + for (int i_2_ = 0; ArbShaderProgram.consoleLines.length > i_2_; i_2_++) { + if (ArbShaderProgram.consoleLines[i_2_].indexOf("--> ") != -1 && ++i_1_ == Component92.consoleHistoryDepth) { + Component126.consoleInput = (ArbShaderProgram.consoleLines[i_2_].substring(2 + ArbShaderProgram.consoleLines[i_2_].indexOf(">"))); + break; + } + } + } else Component126.consoleInput = ""; + if (i != -615751774) aClass144_114 = null; + anInt115++; + } + + public Shader() { + /* empty */ + } + + static final int method160(int i, int i_3_) { + anInt113++; + double d = (double) (i_3_ >> 16 & 0xff) / 256.0; + double d_4_ = (double) (0xff & i_3_ >> 8) / 256.0; + double d_5_ = (double) (i_3_ & 0xff) / 256.0; + double d_6_ = d; + if (d_4_ < d_6_) d_6_ = d_4_; + if (d_5_ < d_6_) d_6_ = d_5_; + double d_7_ = d; + if (d_4_ > d_7_) d_7_ = d_4_; + if (d_5_ > d_7_) d_7_ = d_5_; + double d_8_ = 0.0; + if (i != 27076) return 85; + double d_9_ = 0.0; + double d_10_ = (d_6_ + d_7_) / 2.0; + if (d_7_ != d_6_) { + if (d_10_ < 0.5) d_9_ = (-d_6_ + d_7_) / (d_6_ + d_7_); + if (d_7_ != d) { + if (d_4_ != d_7_) { + if (d_5_ == d_7_) d_8_ = (-d_4_ + d) / (d_7_ - d_6_) + 4.0; + } else d_8_ = 2.0 + (-d + d_5_) / (d_7_ - d_6_); + } else d_8_ = (-d_5_ + d_4_) / (-d_6_ + d_7_); + if (d_10_ >= 0.5) d_9_ = (-d_6_ + d_7_) / (-d_6_ + (-d_7_ + 2.0)); + } + d_8_ /= 6.0; + int i_11_ = (int) (256.0 * d_8_); + int i_12_ = (int) (256.0 * d_9_); + int i_13_ = (int) (256.0 * d_10_); + if (i_12_ < 0) i_12_ = 0; + else if (i_12_ > 255) i_12_ = 255; + if (i_13_ < 0) i_13_ = 0; + else if (i_13_ > 255) i_13_ = 255; + if (i_13_ > 243) i_12_ >>= 4; + else if (i_13_ > 217) i_12_ >>= 3; + else if (i_13_ > 192) i_12_ >>= 2; + else if (i_13_ > 179) i_12_ >>= 1; + return ((i_13_ >> 1) + ((i_11_ & 0xff) >> 2 << 10) + (i_12_ >> 5 << 7)); + } +} diff --git a/client/shaders/base/ShaderCompiler.java b/client/shaders/base/ShaderCompiler.java new file mode 100644 index 000000000..d8996a7a7 --- /dev/null +++ b/client/shaders/base/ShaderCompiler.java @@ -0,0 +1,60 @@ +/* ShaderCompiler - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ +/** + * RENAMED from `Class328` (JODE-obfuscated). + * Shader compiler. Reports 'aa compile failed:' on GLSL/ARB shader compilation errors and coordinates with GlExtensionManager (GL extension availability). + */ + +import jaggl.OpenGL; + +class ShaderCompiler { + static int anInt4099; + static int anInt4100; + static int anInt4101; + + /** Compile ARB shader object from {@code is}; logs {@code aa compile failed:} on error. */ + static final DisplayModeManagerContainer271 compileShader(GlExtensionManager class377, byte[] is, int i, int i_0_) { + try { + anInt4099++; + if (is == null || is.length == 0) return null; + long l = OpenGL.glCreateShaderObjectARB(i_0_); + OpenGL.glShaderSourceRawARB(l, is); + OpenGL.glCompileShaderARB(l); + if (i > -95) compileShader(null, null, -27, 75); + OpenGL.glGetObjectParameterivARB(l, 35713, (DefinitionSub2.anIntArray9096), 0); + if (DefinitionSub2.anIntArray9096[0] == 0) { + if (DefinitionSub2.anIntArray9096[0] == 0) System.out.println("aa compile failed:"); + OpenGL.glGetObjectParameterivARB(l, 35716, (DefinitionSub2.anIntArray9096), 1); + if (DefinitionSub2.anIntArray9096[1] > 1) { + byte[] is_1_ = new byte[DefinitionSub2.anIntArray9096[1]]; + OpenGL.glGetInfoLogARB(l, (DefinitionSub2.anIntArray9096[1]), DefinitionSub2.anIntArray9096, 0, is_1_, 0); + System.out.println(new String(is_1_)); + } + if (DefinitionSub2.anIntArray9096[0] == 0) { + OpenGL.glDeleteObjectARB(l); + return null; + } + } + return new DisplayModeManagerContainer271(class377, l, i_0_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("dea.E(" + (class377 != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ')')); + } + } + + static final HashNodeSub19 method2609(int i, int i_2_) { + anInt4101++; + HashNodeSub19 class348_sub42_sub19 = ((HashNodeSub19) ImageCacheStore.aClass308_4036.method2302(i_2_, (byte) -68)); + if (class348_sub42_sub19 != null) return class348_sub42_sub19; + byte[] is = Component22.aClass45_1743.getFile(-1860, i_2_, 0); + if (is == null || is.length <= 1) return null; + try { + class348_sub42_sub19 = RenderableSub4.method2502(is, -104); + } catch (Exception exception) { + throw new RuntimeException(exception.getMessage() + " S: " + i_2_); + } + if (i > -103) return null; + ImageCacheStore.aClass308_4036.method2305(i_2_, class348_sub42_sub19, -1); + return class348_sub42_sub19; + } +} diff --git a/client/shaders/base/ShaderCompilerSub1.java b/client/shaders/base/ShaderCompilerSub1.java new file mode 100644 index 000000000..9157ad1eb --- /dev/null +++ b/client/shaders/base/ShaderCompilerSub1.java @@ -0,0 +1,17 @@ +/* ShaderCompilerSub1 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +class ShaderCompilerSub1 +/** + * RENAMED from `Class328_Sub1` (JODE-obfuscated). + * Evidence: subclass of ShaderCompiler (hierarchy) + */ extends ShaderCompiler { + static int anInt6513 = 0; + static float[] aFloatArray6514 = new float[4]; + + public static void method2610(boolean bool) { + if (bool != true) method2610(false); + aFloatArray6514 = null; + } +} diff --git a/client/shaders/base/ShaderCompilerSub1Sub1.java b/client/shaders/base/ShaderCompilerSub1Sub1.java new file mode 100644 index 000000000..388d7d79c --- /dev/null +++ b/client/shaders/base/ShaderCompilerSub1Sub1.java @@ -0,0 +1,16 @@ +/* ShaderCompilerSub1Sub1 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class ShaderCompilerSub1Sub1 +/** + * RENAMED from `Class328_Sub1_Sub1` (JODE-obfuscated). + * Evidence: subclass of ShaderCompilerSub1 (hierarchy) + */ extends ShaderCompilerSub1 { + static StringCache aClass351_8798 = new StringCache(69, -1); + static int anInt8799; + + public static void method2611(int i) { + if (i < -121) aClass351_8798 = null; + } +} diff --git a/client/shaders/base/ShaderCompilerSub2.java b/client/shaders/base/ShaderCompilerSub2.java new file mode 100644 index 000000000..01f03008d --- /dev/null +++ b/client/shaders/base/ShaderCompilerSub2.java @@ -0,0 +1,27 @@ +/* ShaderCompilerSub2 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +class ShaderCompilerSub2 +/** + * RENAMED from `Class328_Sub2` (JODE-obfuscated). + * Evidence: subclass of ShaderCompiler (hierarchy) + */ extends ShaderCompiler { + static LoadingState[] aClass56Array6515; + static int anInt6516; + static NodeCache aClass60_6517 = new NodeCache(4); + static int anInt6518; + + static final Component247 method2612(Buffer class348_sub49, boolean bool) { + anInt6518++; + int i = class348_sub49.readUnsignedShort(842397944); + if (bool != true) method2613(-27); + return new Component247(i); + } + + public static void method2613(int i) { + aClass56Array6515 = null; + aClass60_6517 = null; + if (i != -1) method2613(58); + } +} diff --git a/client/shaders/base/ShaderCompilerSub2Sub1.java b/client/shaders/base/ShaderCompilerSub2Sub1.java new file mode 100644 index 000000000..483e361e8 --- /dev/null +++ b/client/shaders/base/ShaderCompilerSub2Sub1.java @@ -0,0 +1,16 @@ +/* ShaderCompilerSub2Sub1 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class ShaderCompilerSub2Sub1 +/** + * RENAMED from `Class328_Sub2_Sub1` (JODE-obfuscated). + * Evidence: subclass of ShaderCompilerSub2 (hierarchy) + */ extends ShaderCompilerSub2 { + static long[] aLongArray8800 = new long[32]; + + public static void method2614(int i) { + aLongArray8800 = null; + if (i < 27) method2614(42); + } +} diff --git a/client/shaders/base/ShaderCompilerSub3.java b/client/shaders/base/ShaderCompilerSub3.java new file mode 100644 index 000000000..b8317e50b --- /dev/null +++ b/client/shaders/base/ShaderCompilerSub3.java @@ -0,0 +1,33 @@ +/* ShaderCompilerSub3 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class ShaderCompilerSub3 +/** + * RENAMED from `Class328_Sub3` (JODE-obfuscated). + * Evidence: subclass of ShaderCompiler (hierarchy) + */ extends ShaderCompiler { + static Component267 aClass229_6519 = new Component267(); + static int anInt6520; + static int anInt6521; + static int[] anIntArray6522 = new int[1000]; + static float aFloat6523; + + static final void method2615(int i, int i_0_) { + anInt6521++; + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i_0_, (byte) 105, 12); + class348_sub42_sub15.method3251(-16058); + if (i >= -59) method2617((byte) -108); + } + + static final void method2616(int i) { + anInt6520++; + if (i == 12) ParticleShader.method2152(false); + } + + public static void method2617(byte i) { + anIntArray6522 = null; + int i_1_ = -3 / ((i - 3) / 54); + aClass229_6519 = null; + } +} diff --git a/client/shaders/base/ShaderLinker.java b/client/shaders/base/ShaderLinker.java new file mode 100644 index 000000000..0a2872cd1 --- /dev/null +++ b/client/shaders/base/ShaderLinker.java @@ -0,0 +1,210 @@ +/* ShaderLinker - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class318_Sub1_Sub5_Sub2` (JODE-obfuscated). + * Shader linker. Links compiled GLSL/ARB shader stages (Component203 subclass implementing Interface10); throws 'aa linking failed:' on link errors. + */ + +import jaggl.OpenGL; + +final class ShaderLinker extends Component203 implements Interface10 { + private boolean aBoolean10148 = false; + static Component183 aClass114_10149 = new Component183(23, 6); + private ComponentDownloader aClass30_10150; + static int anInt10151; + static int anInt10152; + private boolean aBoolean10153; + static int anInt10154; + Component366 aClass235_10155; + static int anInt10156; + static int anInt10157; + static int anInt10158; + static int anInt10159; + static int anInt10160; + static int anInt10161; + static int anInt10162; + static int anInt10163; + static int anInt10164; + static int anInt10165; + static int anInt10166; + static int anInt10167; + static Component183 aClass114_10168; + static int anInt10169; + static int anInt10170; + static int anInt10171; + static int[] anIntArray10172 = new int[3]; + + public final void method43(GraphicsToolkit var_ha, int i) { + anInt10151++; + this.aClass235_10155.method1674(i + 14217, var_ha); + if (i != -14218) method40(127); + } + + final int method2394(boolean bool) { + anInt10157++; + if (bool != true) aBoolean10153 = false; + return this.aClass235_10155.method1663(101); + } + + public final int method41(int i) { + anInt10170++; + if (i != -32228) method2387(null, 89); + return (this.aClass235_10155.anInt3052); + } + + public final boolean method38(int i) { + anInt10162++; + if (i != -18443) aBoolean10148 = false; + return this.aClass235_10155.method1665(i + 18445); + } + + public final void method44(int i, GraphicsToolkit var_ha) { + if (i == 836) { + this.aClass235_10155.method1667((byte) 116, var_ha); + anInt10165++; + } + } + + public final int method42(int i) { + anInt10171++; + if (i > -62) return 40; + return (this.aClass235_10155.anInt3063); + } + + final void method2387(GraphicsToolkit var_ha, int i) { + if (i >= -125) aBoolean10148 = false; + anInt10154++; + DisplayModeManagerContainer370 class64 = this.aClass235_10155.method1668(false, true, -127, 262144, var_ha); + if (class64 != null) { + int i_0_ = this.x >> 9; + int i_1_ = this.y >> 9; + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + class101.method894(this.x, this.anInt6382, this.y); + this.aClass235_10155.method1670(i_0_, class101, i_1_, var_ha, i_0_, class64, false, (byte) -73, i_1_); + } + } + + public final int method39(int i) { + anInt10161++; + int i_2_ = -29 % ((-91 - i) / 35); + return (this.aClass235_10155.anInt3079); + } + + final boolean method2376(int i) { + if (i >= -12) return false; + anInt10166++; + return false; + } + + final RenderableSub4 method2386(int i, GraphicsToolkit var_ha) { + anInt10159++; + DisplayModeManagerContainer370 class64 = this.aClass235_10155.method1668(false, true, -127, 2048, var_ha); + if (class64 == null) return null; + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + class101.method894((this.x + this.aShort8781), this.anInt6382, (this.y + this.aShort8769)); + RenderableSub4 class318_sub4 = OutputStream_Sub2.method136(i, aBoolean10153, false); + int i_3_ = this.x >> 9; + int i_4_ = this.y >> 9; + this.aClass235_10155.method1670(i_3_, class101, i_4_, var_ha, i_3_, class64, true, (byte) -73, i_4_); + if (!DisplayModeManagerContainer50.aBoolean3870) class64.method615(class101, (class318_sub4.aClass318_Sub3Array6414[0]), 0); + else class64.method608(class101, (class318_sub4.aClass318_Sub3Array6414[0]), Component72.anInt1906, 0); + if ((this.aClass235_10155.aClass318_Sub10_3081) != null) { + Component122 class98 = this.aClass235_10155.aClass318_Sub10_3081.method2525(); + if (!DisplayModeManagerContainer50.aBoolean3870) var_ha.method3684(class98); + else var_ha.method3685(class98, Component72.anInt1906); + } + aBoolean10148 = class64.F() || (this.aClass235_10155.aClass318_Sub10_3081) != null; + if (aClass30_10150 == null) aClass30_10150 = (OggUrlStream.method2967(this.x, class64, this.y, this.anInt6382, 2)); + else ItemDefinitionProvider.method1935(this.y, this.anInt6382, aClass30_10150, class64, false, this.x); + return class318_sub4; + } + + final ComponentDownloader method2381(GraphicsToolkit var_ha, int i) { + anInt10169++; + if (i != 7) return null; + return aClass30_10150; + } + + final boolean method2377(byte i) { + anInt10158++; + if (i != 122) return false; + return aBoolean10148; + } + + public static void method2492(int i) { + if (i != 1) anInt10163 = -36; + aClass114_10149 = null; + aClass114_10168 = null; + anIntArray10172 = null; + } + + ShaderLinker(GraphicsToolkit var_ha, Component44 class51, int i, int i_5_, int i_6_, int i_7_, int i_8_, boolean bool, int i_9_, int i_10_, int i_11_, int i_12_, int i_13_) { + super(i_6_, i_7_, i_8_, i, i_5_, i_9_, i_10_); + try { + this.aClass235_10155 = new Component366(var_ha, class51, i_11_, i_12_, this.plane, i_5_, this, bool, i_13_); + aBoolean10153 = class51.anInt874 != 0 && !bool; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("pw.(" + (var_ha != null ? "{...}" : "null") + ',' + (class51 != null ? "{...}" : "null") + ',' + i + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ',' + bool + ',' + i_9_ + ',' + i_10_ + ',' + i_11_ + ',' + i_12_ + ',' + i_13_ + ')')); + } + } + + final boolean method2391(GraphicsToolkit var_ha, int i, int i_14_, int i_15_) { + anInt10152++; + DisplayModeManagerContainer370 class64 = this.aClass235_10155.method1668(false, false, -128, 131072, var_ha); + if (class64 == null) return false; + if (i_15_ != 0) return true; + DisplayModeManagerContainer204 class101 = var_ha.method3705(); + class101.method894((this.aShort8781 + this.x), this.anInt6382, (this.aShort8769 + this.y)); + if (DisplayModeManagerContainer50.aBoolean3870) return class64.method623(i_14_, i, class101, false, 0, Component72.anInt1906); + return class64.method628(i_14_, i, class101, false, 0); + } + + /** Link ARB program from compiled stages; logs {@code aa linking failed:} on error. */ + static final Component244 linkProgram(GlToolkitSub2 var_ha_Sub2, int i, Component359[] class242s) { + try { + anInt10167++; + for (int i_16_ = 0; i_16_ < class242s.length; i_16_++) { + if (class242s[i_16_] == null || class242s[i_16_].aLong3156 <= 0L) return null; + } + long l = OpenGL.glCreateProgramObjectARB(); + for (int i_17_ = 0; class242s.length > i_17_; i_17_++) + OpenGL.glAttachObjectARB(l, (class242s[i_17_].aLong3156)); + OpenGL.glLinkProgramARB(l); + OpenGL.glGetObjectParameterivARB(l, 35714, Component38.anIntArray2509, 0); + if ((~Component38.anIntArray2509[0]) == i) { + if (Component38.anIntArray2509[0] == 0) System.out.println("aa linking failed:"); + OpenGL.glGetObjectParameterivARB(l, 35716, Component38.anIntArray2509, 1); + if (Component38.anIntArray2509[1] > 1) { + byte[] is = new byte[Component38.anIntArray2509[1]]; + OpenGL.glGetInfoLogARB(l, Component38.anIntArray2509[1], Component38.anIntArray2509, 0, is, 0); + System.out.println(new String(is)); + } + if (Component38.anIntArray2509[0] == 0) { + for (int i_18_ = 0; class242s.length > i_18_; i_18_++) + OpenGL.glDetachObjectARB(l, (class242s[i_18_].aLong3156)); + OpenGL.glDeleteObjectARB(l); + return null; + } + } + return new Component244(var_ha_Sub2, l, class242s); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("pw.D(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + (class242s != null ? "{...}" : "null") + ')')); + } + } + + final int method2379(int i) { + anInt10160++; + if (i != -25675) aBoolean10153 = false; + return this.aClass235_10155.method1664(-119); + } + + public final void method40(int i) { + if (i == -12031) anInt10156++; + } + + static { + aClass114_10168 = new Component183(2, 6); + } +} diff --git a/client/shaders/base/ShaderProgram.java b/client/shaders/base/ShaderProgram.java new file mode 100644 index 000000000..ab95b3279 --- /dev/null +++ b/client/shaders/base/ShaderProgram.java @@ -0,0 +1,47 @@ +/* ShaderProgram - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class286` (JODE-obfuscated). + * Abstract GLSL/ARB shader program base. Parent of ArbShaderProgram..Sub9 which embed ARBvp1.0 vertex programs and GLSL fragment shaders (water/fog). + */ + +abstract class ShaderProgram { + static int anInt3681; + static int anInt3682; + static NodeSub2 aClass348_Sub2_3683; + GlToolkitSub2 aHa_Sub2_3684; + + abstract void method2133(int i); + + abstract void method2134(boolean bool, boolean bool_0_); + + public static void method2135(int i) { + if (i == 0) aClass348_Sub2_3683 = null; + } + + abstract void method2136(int i, int i_1_, byte i_2_); + + abstract boolean method2137(int i); + + static final boolean method2138(int i) { + anInt3681++; + NodeSub48 class348_sub48 = (NodeSub48) NodeSub35.aClass262_6978.first(4); + if (class348_sub48 == null) return false; + int i_3_ = 118 % ((-40 - i) / 50); + for (int i_4_ = 0; (class348_sub48.anInt7126 > i_4_); i_4_++) { + if ((class348_sub48.aClass144Array7135[i_4_] != null) && (class348_sub48.aClass144Array7135[i_4_].status) == 0) return false; + if ((class348_sub48.aClass144Array7127[i_4_] != null) && (class348_sub48.aClass144Array7127[i_4_].status) == 0) return false; + } + return true; + } + + abstract void method2139(boolean bool, byte i); + + abstract void method2140(AbstractGlTexture class258, byte i, int i_5_); + + ShaderProgram(GlToolkitSub2 var_ha_Sub2) { + this.aHa_Sub2_3684 = var_ha_Sub2; + } +} diff --git a/client/shaders/base/ShaderProgramSub2.java b/client/shaders/base/ShaderProgramSub2.java new file mode 100644 index 000000000..a4f8cd72e --- /dev/null +++ b/client/shaders/base/ShaderProgramSub2.java @@ -0,0 +1,101 @@ +/* ShaderProgramSub2 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class ShaderProgramSub2 +/** + * RENAMED from `Class286_Sub2` (JODE-obfuscated). + * Evidence: subclass of ShaderProgram (hierarchy) + */ extends ShaderProgram { + static int anInt6203; + static int anInt6204; + /** Previous names (for rename updates in the friend packet). */ + static String[] friendFormerNames = new String[200]; + static int anInt6206; + static int anInt6207; + static int anInt6208; + static int anInt6209; + static int anInt6210; + static int anInt6211; + static int anInt6212; + static int anInt6213; + + final void method2133(int i) { + if (i < -75) { + this.aHa_Sub2_3684.method3804(false, (byte) -61); + anInt6211++; + } + } + + static final void method2144(String string, int i, byte i_0_, int i_1_, String string_2_, String string_3_, String string_4_) { + do { + try { + DisplayModeManagerContainer174.method2477(string, string_2_, (byte) -110, -1, string_3_, null, i, i_1_, string_4_); + anInt6203++; + if (i_0_ < -86) break; + friendFormerNames = null; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("di.G(" + (string != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + i_1_ + ',' + (string_2_ != null ? "{...}" : "null") + ',' + (string_3_ != null ? "{...}" : "null") + ',' + (string_4_ != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + ShaderProgramSub2(GlToolkitSub2 var_ha_Sub2) { + super(var_ha_Sub2); + } + + static final void method2145(int i) { + anInt6210++; + Component63.anInt4494++; + ParticleSystem class348_sub47 = ParticleShader.method2148(Component210.aClass351_5288, DisplayModeManagerContainer64.aClass77_9029, -124); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, MenuEntry.getWindowMode(-96)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, Component236.anInt4017); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, PacketReader.anInt10432); + if (i != -24498) friendFormerNames = null; + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, Component192.aClass348_Sub51_3959.aClass239_Sub20_7248.method1808(-32350)); + HashNodeSub14.method3243(-101, class348_sub47); + } + + final void method2140(AbstractGlTexture class258, byte i, int i_5_) { + anInt6206++; + this.aHa_Sub2_3684.method3771((byte) -80, class258); + if (i >= -89) method2136(-67, -39, (byte) 18); + this.aHa_Sub2_3684.method3761(0, i_5_); + } + + static final void method2146(byte i) { + int i_6_ = 34 % ((i - 32) / 38); + anInt6213++; + HashNodeSub19.method3277((byte) -48); + Component364.aBoolean8335 = false; + Component354.method226(DisplayModeManagerContainer136.anInt4717, Component227.anInt1117, DefinitionGroup.anInt9532, 0, Component251.anInt5819); + } + + final void method2136(int i, int i_7_, byte i_8_) { + anInt6209++; + if (i_8_ > -42) method2133(35); + } + + final boolean method2137(int i) { + anInt6208++; + if (i > -5) anInt6212 = 1; + return true; + } + + public static void method2147(int i) { + if (i != -1) anInt6212 = -79; + friendFormerNames = null; + } + + final void method2134(boolean bool, boolean bool_9_) { + this.aHa_Sub2_3684.method3804(true, (byte) -83); + if (bool_9_ != false) method2136(-78, 73, (byte) 12); + anInt6204++; + } + + final void method2139(boolean bool, byte i) { + int i_10_ = 23 / ((-60 - i) / 38); + anInt6207++; + } +} diff --git a/client/shaders/base/ShaderProgramSub7.java b/client/shaders/base/ShaderProgramSub7.java new file mode 100644 index 000000000..cfaaac6f9 --- /dev/null +++ b/client/shaders/base/ShaderProgramSub7.java @@ -0,0 +1,225 @@ +/* ShaderProgramSub7 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaggl.OpenGL; + +final class ShaderProgramSub7 +/** + * RENAMED from `Class286_Sub7` (JODE-obfuscated). + * Evidence: subclass of ShaderProgram (hierarchy) + */ extends ShaderProgram { + static CacheStore aClass45_6277; + private final Component178 aClass83_6278; + static int anInt6279; + static int anInt6280; + static int anInt6281; + static int anInt6282; + static int anInt6283; + private Component128 aClass61_6284; + private AbstractGlTextureSub4 aClass258_Sub4_6285; + static int anInt6286; + static int anInt6287; + static int anInt6288; + static boolean aBoolean6289; + static int[] anIntArray6290 = new int[2048]; + static int anInt6291; + + static final void method2165(boolean bool, String string) { + anInt6287++; + if (string != null) { + if (string.startsWith("*")) string = string.substring(1); + String string_0_ = DebugPanicSub1.method2127(2, string); + if (string_0_ != null) { + for (int i = 0; (DefinitionSub30.friendCount > i); i++) { + String string_1_ = Component178.friendNames[i]; + if (string_1_.startsWith("*")) string_1_ = string_1_.substring(1); + string_1_ = DebugPanicSub1.method2127(2, string_1_); + if (string_1_ != null && string_1_.equals(string_0_)) { + DefinitionSub30.friendCount--; + for (int i_2_ = i; i_2_ < DefinitionSub30.friendCount; i_2_++) { + Component178.friendNames[i_2_] = Component178.friendNames[i_2_ - -1]; + ShaderProgramSub2.friendFormerNames[i_2_] = ShaderProgramSub2.friendFormerNames[1 + i_2_]; + GraphicsToolkit.friendWorldIds[i_2_] = GraphicsToolkit.friendWorldIds[i_2_ - -1]; + DebugPanic.friendWorldNames[i_2_] = DebugPanic.friendWorldNames[1 + i_2_]; + Component16.friendRanks[i_2_] = Component16.friendRanks[i_2_ - -1]; + DisplayModeManagerContainer145.friendReferred[i_2_] = DisplayModeManagerContainer145.friendReferred[1 + i_2_]; + } + Component380.anInt4985 = ResourceLoader.anInt3918; + HashNodeSub7.anInt9540++; + ParticleSystem class348_sub47 = ParticleShader.method2148(Component186.aClass351_4394, (DisplayModeManagerContainer64.aClass77_9029), -99); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, Component31.method1745(string, -65)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); + HashNodeSub14.method3243(117, class348_sub47); + break; + } + } + if (bool != true) aBoolean6289 = true; + } + } + } + + final void method2136(int i, int i_3_, byte i_4_) { + if (i_4_ >= -42) aClass258_Sub4_6285 = null; + if ((0x1 & i) == 1) { + if (aClass83_6278.aBoolean1442) { + this.aHa_Sub2_3684.method3771((byte) -83, aClass83_6278.aClass258_Sub1_1440); + Component214.aFloatArray2131[2] = 0.0F; + Component214.aFloatArray2131[3] = (float) ((this.aHa_Sub2_3684.anInt7735) % 4000) / 4000.0F; + Component214.aFloatArray2131[0] = 0.0F; + Component214.aFloatArray2131[1] = 0.0F; + OpenGL.glTexGenfv(8194, 9473, Component214.aFloatArray2131, 0); + } else { + int i_5_ = (16 * (this.aHa_Sub2_3684.anInt7735 % 4000) / 4000); + this.aHa_Sub2_3684.method3771((byte) -95, aClass83_6278.aClass258_Sub3Array1444[i_5_]); + } + } else if (aClass83_6278.aBoolean1442) { + this.aHa_Sub2_3684.method3771((byte) -126, (aClass83_6278.aClass258_Sub1_1440)); + Component214.aFloatArray2131[0] = 0.0F; + Component214.aFloatArray2131[2] = 0.0F; + Component214.aFloatArray2131[1] = 0.0F; + Component214.aFloatArray2131[3] = 0.0F; + OpenGL.glTexGenfv(8194, 9473, Component214.aFloatArray2131, 0); + } else this.aHa_Sub2_3684.method3771((byte) -110, aClass83_6278.aClass258_Sub3Array1444[0]); + anInt6291++; + } + + final void method2134(boolean bool, boolean bool_6_) { + if (this.aHa_Sub2_3684.anInt7782 > 0) { + float f = -0.5F / (float) (this.aHa_Sub2_3684.anInt7782); + this.aHa_Sub2_3684.method3738(-15039, 1); + Component214.aFloatArray2131[3] = 0.25F + (this.aHa_Sub2_3684.aFloat7792) * f; + Component214.aFloatArray2131[0] = 0.0F; + Component214.aFloatArray2131[2] = f; + Component214.aFloatArray2131[1] = 0.0F; + OpenGL.glPushMatrix(); + OpenGL.glLoadIdentity(); + OpenGL.glTexGenfv(8192, 9474, Component214.aFloatArray2131, 0); + OpenGL.glPopMatrix(); + this.aHa_Sub2_3684.method3744((float) this.aHa_Sub2_3684.anInt7782, 770, 0.5F); + this.aHa_Sub2_3684.method3771((byte) -99, aClass258_Sub4_6285); + this.aHa_Sub2_3684.method3738(-15039, 0); + } + anInt6286++; + aClass61_6284.callDisplayList('\0', 28666); + OpenGL.glMatrixMode(5890); + OpenGL.glPushMatrix(); + if (bool_6_ == false) { + OpenGL.glScalef(0.25F, 0.25F, 1.0F); + OpenGL.glMatrixMode(5888); + } + } + + public static void method2166(int i) { + if (i == 6336) { + aClass45_6277 = null; + anIntArray6290 = null; + } + } + + private final void method2167(int i) { + aClass61_6284 = new Component128(this.aHa_Sub2_3684, 2); + anInt6283++; + aClass61_6284.beginDisplayList((byte) 109, 0); + this.aHa_Sub2_3684.method3738(i + 6366, 1); + this.aHa_Sub2_3684.method3729(7681, (byte) 98, 260); + this.aHa_Sub2_3684.method3762(34168, 768, (byte) -87, 0); + OpenGL.glTexGeni(8192, 9472, 9216); + OpenGL.glEnable(3168); + this.aHa_Sub2_3684.method3738(-15039, 0); + OpenGL.glTexEnvf(8960, 34163, 2.0F); + if (aClass83_6278.aBoolean1442) { + OpenGL.glTexGeni(8194, 9472, 9217); + OpenGL.glTexGeni(8195, 9472, 9217); + OpenGL.glTexGenfv(8195, 9473, new float[]{0.0F, 0.0F, 0.0F, 1.0F}, 0); + OpenGL.glEnable(3170); + OpenGL.glEnable(3171); + } + aClass61_6284.endDisplayList(-1); + aClass61_6284.beginDisplayList((byte) 117, 1); + this.aHa_Sub2_3684.method3738(-15039, 1); + if (i != -21405) method2137(-18); + this.aHa_Sub2_3684.method3729(8448, (byte) -115, 8448); + this.aHa_Sub2_3684.method3762(5890, 768, (byte) -87, 0); + OpenGL.glDisable(3168); + this.aHa_Sub2_3684.method3738(-15039, 0); + OpenGL.glTexEnvf(8960, 34163, 1.0F); + if (aClass83_6278.aBoolean1442) { + OpenGL.glDisable(3170); + OpenGL.glDisable(3171); + } + aClass61_6284.endDisplayList(i + 21404); + } + + ShaderProgramSub7(GlToolkitSub2 var_ha_Sub2, Component178 class83) { + super(var_ha_Sub2); + try { + aClass83_6278 = class83; + method2167(-21405); + aClass258_Sub4_6285 = new AbstractGlTextureSub4(this.aHa_Sub2_3684, 6406, 2, new byte[]{0, -1}, 6406); + aClass258_Sub4_6285.method1972((byte) -91, false); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("tn.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + (class83 != null ? "{...}" : "null") + ')')); + } + } + + final boolean method2137(int i) { + anInt6288++; + if (i > -5) return true; + return true; + } + + static final void method2168(int i, int i_7_, int i_8_) { + Component186 class357 = Component335.aClass357ArrayArrayArray2029[i][i_7_][i_8_]; + if (class357 != null) { + Component191.method1376(class357.aClass318_Sub1_Sub5_4395); + Component191.method1376(class357.aClass318_Sub1_Sub5_4407); + if (class357.aClass318_Sub1_Sub5_4395 != null) class357.aClass318_Sub1_Sub5_4395 = null; + if (class357.aClass318_Sub1_Sub5_4407 != null) class357.aClass318_Sub1_Sub5_4407 = null; + } + } + + final void method2133(int i) { + aClass61_6284.callDisplayList('\001', 28666); + anInt6282++; + if (this.aHa_Sub2_3684.anInt7782 > 0) { + this.aHa_Sub2_3684.method3738(-15039, 1); + this.aHa_Sub2_3684.method3771((byte) -115, null); + this.aHa_Sub2_3684.method3744(0.0F, 770, 1.0F); + this.aHa_Sub2_3684.method3738(-15039, 0); + } + if (i > -75) aClass258_Sub4_6285 = null; + this.aHa_Sub2_3684.method3729(8448, (byte) 102, 8448); + OpenGL.glMatrixMode(5890); + OpenGL.glPopMatrix(); + OpenGL.glMatrixMode(5888); + } + + final void method2140(AbstractGlTexture class258, byte i, int i_9_) { + if (i < -89) anInt6280++; + } + + static final boolean method2169(int i, int i_10_, int i_11_, int i_12_, int i_13_, int i_14_, int i_15_, int i_16_, int i_17_, boolean bool) { + anInt6281++; + if (!DisplayModeManagerContainer56.method1422(i_16_, i_11_, i, -7596)) return false; + i_16_ = ShaderLinker.anIntArray10172[1]; + i = ShaderLinker.anIntArray10172[0]; + i_11_ = ShaderLinker.anIntArray10172[2]; + if (!DisplayModeManagerContainer56.method1422(i_15_, i_17_, i_10_, -7596)) return false; + i_10_ = ShaderLinker.anIntArray10172[0]; + i_17_ = ShaderLinker.anIntArray10172[2]; + i_15_ = ShaderLinker.anIntArray10172[1]; + if (!DisplayModeManagerContainer56.method1422(i_14_, i_13_, i_12_, -7596)) return false; + i_13_ = ShaderLinker.anIntArray10172[2]; + if (bool != false) return false; + i_14_ = ShaderLinker.anIntArray10172[1]; + i_12_ = ShaderLinker.anIntArray10172[0]; + return DefinitionSub29.method3125(i_12_, i_16_, i_10_, i_13_, i_17_, (byte) -76, i_15_, i_11_, i, i_14_); + } + + final void method2139(boolean bool, byte i) { + this.aHa_Sub2_3684.method3729(260, (byte) -94, 8448); + anInt6279++; + int i_18_ = 107 % ((-60 - i) / 38); + } +} diff --git a/client/shaders/base/ShaderProgramSub9.java b/client/shaders/base/ShaderProgramSub9.java new file mode 100644 index 000000000..9866a73b6 --- /dev/null +++ b/client/shaders/base/ShaderProgramSub9.java @@ -0,0 +1,346 @@ +/* ShaderProgramSub9 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaggl.OpenGL; + +final class ShaderProgramSub9 +/** + * RENAMED from `Class286_Sub9` (JODE-obfuscated). + * Evidence: subclass of ShaderProgram (hierarchy) + */ extends ShaderProgram { + static int anInt6306; + static int anInt6307; + private boolean aBoolean6308; + static int anInt6309; + private Component128 aClass61_6310; + static int anInt6311; + static int anInt6312; + static int anInt6313; + static int anInt6314; + static int anInt6315; + private boolean aBoolean6316 = false; + private GlFramebufferTexture[] aClass258_Sub2Array6317; + static int anInt6318; + static int anInt6319; + + static final boolean method2174(byte i, int i_0_, int i_1_) { + anInt6313++; + int i_2_ = 52 % ((i - 68) / 41); + return false; + } + + final void method2133(int i) { + anInt6318++; + if (aBoolean6316) { + if (!aBoolean6308) { + this.aHa_Sub2_3684.method3738(-15039, 2); + this.aHa_Sub2_3684.method3771((byte) -84, null); + } + this.aHa_Sub2_3684.method3738(-15039, 1); + this.aHa_Sub2_3684.method3771((byte) -87, null); + this.aHa_Sub2_3684.method3738(-15039, 0); + aClass61_6310.callDisplayList('\001', 28666); + aBoolean6316 = false; + } else this.aHa_Sub2_3684.method3775(false, 0, 770, 5890); + if (i < -75) this.aHa_Sub2_3684.method3729(8448, (byte) -75, 8448); + } + + static final int method2175(int i, byte i_3_, int i_4_) { + anInt6319++; + if (i_3_ >= -14) return 64; + if (i_4_ == 1 || i_4_ == 3) return NodeSub20.anIntArray6830[i & 0x3]; + return DisplayModeManagerContainer26.anIntArray1450[0x3 & i]; + } + + final void method2140(AbstractGlTexture class258, byte i, int i_5_) { + if (i >= -89) aClass258_Sub2Array6317 = null; + this.aHa_Sub2_3684.method3771((byte) -115, class258); + anInt6312++; + this.aHa_Sub2_3684.method3761(0, i_5_); + } + + private final void method2176(int i) { + aClass61_6310 = new Component128(this.aHa_Sub2_3684, 2); + if (i >= -7) method2140(null, (byte) 112, -64); + anInt6314++; + aClass61_6310.beginDisplayList((byte) 105, 0); + this.aHa_Sub2_3684.method3738(-15039, 1); + OpenGL.glTexGeni(8192, 9472, 34065); + OpenGL.glTexGeni(8193, 9472, 34065); + OpenGL.glTexGeni(8194, 9472, 34065); + OpenGL.glEnable(3168); + OpenGL.glEnable(3169); + OpenGL.glEnable(3170); + OpenGL.glMatrixMode(5890); + OpenGL.glLoadIdentity(); + OpenGL.glRotatef(22.5F, 1.0F, 0.0F, 0.0F); + OpenGL.glMatrixMode(5888); + if (aBoolean6308) { + this.aHa_Sub2_3684.method3729(260, (byte) 104, 7681); + this.aHa_Sub2_3684.method3762(5890, 770, (byte) -87, 0); + this.aHa_Sub2_3684.method3775(false, 0, 770, 34167); + } else { + this.aHa_Sub2_3684.method3729(7681, (byte) 126, 8448); + this.aHa_Sub2_3684.method3762(34168, 768, (byte) -87, 0); + this.aHa_Sub2_3684.method3738(-15039, 2); + this.aHa_Sub2_3684.method3729(260, (byte) 124, 7681); + this.aHa_Sub2_3684.method3762(34168, 768, (byte) -87, 0); + this.aHa_Sub2_3684.method3762(34168, 770, (byte) -87, 1); + this.aHa_Sub2_3684.method3775(false, 0, 770, 34167); + } + this.aHa_Sub2_3684.method3738(-15039, 0); + aClass61_6310.endDisplayList(-1); + aClass61_6310.beginDisplayList((byte) 114, 1); + this.aHa_Sub2_3684.method3738(-15039, 1); + OpenGL.glDisable(3168); + OpenGL.glDisable(3169); + OpenGL.glDisable(3170); + OpenGL.glMatrixMode(5890); + OpenGL.glLoadIdentity(); + OpenGL.glMatrixMode(5888); + if (aBoolean6308) { + this.aHa_Sub2_3684.method3729(8448, (byte) 115, 8448); + this.aHa_Sub2_3684.method3762(5890, 768, (byte) -87, 0); + this.aHa_Sub2_3684.method3775(false, 0, 770, 5890); + } else { + this.aHa_Sub2_3684.method3729(8448, (byte) -9, 8448); + this.aHa_Sub2_3684.method3762(5890, 768, (byte) -87, 0); + this.aHa_Sub2_3684.method3738(-15039, 2); + this.aHa_Sub2_3684.method3729(8448, (byte) 92, 8448); + this.aHa_Sub2_3684.method3762(5890, 768, (byte) -87, 0); + this.aHa_Sub2_3684.method3762(34168, 768, (byte) -87, 1); + this.aHa_Sub2_3684.method3775(false, 0, 770, 5890); + } + this.aHa_Sub2_3684.method3738(-15039, 0); + aClass61_6310.endDisplayList(-1); + } + + final void method2136(int i, int i_6_, byte i_7_) { + anInt6307++; + if (aBoolean6316) { + this.aHa_Sub2_3684.method3738(-15039, 1); + this.aHa_Sub2_3684.method3771((byte) -91, aClass258_Sub2Array6317[i + -1]); + this.aHa_Sub2_3684.method3738(-15039, 0); + } + if (i_7_ > -42) method2134(true, true); + } + + final boolean method2137(int i) { + anInt6315++; + return i <= -5; + } + + final void method2134(boolean bool, boolean bool_8_) { + if (bool_8_ == false) { + anInt6306++; + if (aClass61_6310 == null || !bool) this.aHa_Sub2_3684.method3775(false, 0, 770, 34168); + else { + if (!aBoolean6308) { + this.aHa_Sub2_3684.method3738(-15039, 2); + this.aHa_Sub2_3684.method3771((byte) -120, (this.aHa_Sub2_3684.aClass258_Sub3_7827)); + this.aHa_Sub2_3684.method3738(-15039, 0); + } + aClass61_6310.callDisplayList('\0', 28666); + aBoolean6316 = true; + } + } + } + + final void method2139(boolean bool, byte i) { + this.aHa_Sub2_3684.method3729(8448, (byte) 121, 7681); + anInt6309++; + int i_9_ = 96 / ((i - -60) / 38); + } + + ShaderProgramSub9(GlToolkitSub2 var_ha_Sub2) { + super(var_ha_Sub2); + if (var_ha_Sub2.aBoolean7863) { + aBoolean6308 = var_ha_Sub2.anInt7795 < 3; + int i = aBoolean6308 ? 48 : 127; + byte[][] is = new byte[6][4096]; + byte[][] is_10_ = new byte[6][4096]; + byte[][] is_11_ = new byte[6][4096]; + int i_12_ = 0; + for (int i_13_ = 0; i_13_ < 64; i_13_++) { + for (int i_14_ = 0; i_14_ < 64; i_14_++) { + float f = (float) i_13_ * 2.0F / 64.0F - 1.0F; + float f_15_ = -1.0F + 2.0F * (float) i_14_ / 64.0F; + float f_16_ = (float) (1.0 / Math.sqrt(f * f + (1.0F + (f_15_ * f_15_)))); + f_15_ *= f_16_; + f *= f_16_; + for (int i_17_ = 0; i_17_ < 6; i_17_++) { + float f_18_; + if (i_17_ == 0) f_18_ = -f_15_; + else if (i_17_ == 1) f_18_ = f_15_; + else if (i_17_ != 2) { + if (i_17_ != 3) { + if (i_17_ != 4) f_18_ = -f_16_; + else f_18_ = f_16_; + } else f_18_ = -f; + } else f_18_ = f; + int i_19_; + int i_20_; + int i_21_; + if (f_18_ > 0.0F) { + i_19_ = (int) ((double) i * Math.pow(f_18_, 96.0)); + i_20_ = (int) ((double) i * Math.pow(f_18_, 36.0)); + i_21_ = (int) ((double) i * Math.pow(f_18_, 12.0)); + } else i_19_ = i_20_ = i_21_ = 0; + is_10_[i_17_][i_12_] = (byte) i_19_; + is_11_[i_17_][i_12_] = (byte) i_20_; + is[i_17_][i_12_] = (byte) i_21_; + } + i_12_++; + } + } + aClass258_Sub2Array6317 = new GlFramebufferTexture[3]; + aClass258_Sub2Array6317[0] = new GlFramebufferTexture(this.aHa_Sub2_3684, 6406, 64, false, is_10_, 6406); + aClass258_Sub2Array6317[1] = new GlFramebufferTexture(this.aHa_Sub2_3684, 6406, 64, false, is_11_, 6406); + aClass258_Sub2Array6317[2] = new GlFramebufferTexture(this.aHa_Sub2_3684, 6406, 64, false, is, 6406); + method2176(-88); + } + } + + static final void method2177(int i, int i_22_, DisplayModeManagerContainer207 class348_sub49_sub2) { + anInt6311++; + boolean bool = (class348_sub49_sub2.readBits((byte) -24, i) == 1); + if (bool) DisplayModeManagerContainer220.anIntArray279[MatrixSub3.anInt5768++] = i_22_; + int i_23_ = class348_sub49_sub2.readBits((byte) -24, 2); + Player player = InterfaceRenderer.players[i_22_]; + if (i_23_ == 0) { + if (bool) player.aBoolean10539 = false; + else { + if (StringDefinition.anInt9591 == i_22_) throw new RuntimeException("s:lr"); + Component135 class359 = (NpcDefinition.aClass359Array6802[i_22_] = new Component135()); + class359.anInt4420 = ((Component330.regionTileY - -(player.anIntArray10317[0]) >> 6) + ((player.anIntArray10320[0] + NodeBaseSub2.regionTileX) >> 6 << 14) + ((player.plane) << 28)); + if (player.anInt10524 != -1) class359.anInt4423 = player.anInt10524; + else class359.anInt4423 = player.aClass264_10217.method2019((byte) -91); + class359.aBoolean4426 = player.aBoolean10554; + class359.anInt4425 = (player.anInt10275); + if (player.anInt10553 > 0) DisplayModeManagerContainer61.method2221(player, -28482); + InterfaceRenderer.players[i_22_] = null; + if (class348_sub49_sub2.readBits((byte) -24, 1) != 0) DisplayModeManagerContainer159.method1538(i_22_, (byte) 105, class348_sub49_sub2); + } + } else if (i_23_ == 1) { + int i_24_ = class348_sub49_sub2.readBits((byte) -24, 3); + int i_25_ = (player.anIntArray10320[0]); + int i_26_ = (player.anIntArray10317[0]); + if (i_24_ == 0) { + i_26_--; + i_25_--; + } else if (i_24_ != 1) { + if (i_24_ == 2) { + i_25_++; + i_26_--; + } else if (i_24_ == 3) i_25_--; + else if (i_24_ != 4) { + if (i_24_ == 5) { + i_26_++; + i_25_--; + } else if (i_24_ != 6) { + if (i_24_ == 7) { + i_26_++; + i_25_++; + } + } else i_26_++; + } else i_25_++; + } else i_26_--; + if (bool) { + player.anInt10531 = i_26_; + player.aBoolean10539 = true; + player.anInt10549 = i_25_; + } else player.method2455(i_26_, -26443, (Component293.aByteArray3300[i_22_]), i_25_); + } else if (i_23_ == 2) { + int i_27_ = class348_sub49_sub2.readBits((byte) -24, 4); + int i_28_ = (player.anIntArray10320[0]); + int i_29_ = (player.anIntArray10317[0]); + if (i_27_ == 0) { + i_28_ -= 2; + i_29_ -= 2; + } else if (i_27_ == 1) { + i_29_ -= 2; + i_28_--; + } else if (i_27_ != 2) { + if (i_27_ == 3) { + i_29_ -= 2; + i_28_++; + } else if (i_27_ == 4) { + i_28_ += 2; + i_29_ -= 2; + } else if (i_27_ == 5) { + i_28_ -= 2; + i_29_--; + } else if (i_27_ == 6) { + i_29_--; + i_28_ += 2; + } else if (i_27_ == 7) i_28_ -= 2; + else if (i_27_ == 8) i_28_ += 2; + else if (i_27_ == 9) { + i_29_++; + i_28_ -= 2; + } else if (i_27_ == 10) { + i_29_++; + i_28_ += 2; + } else if (i_27_ == 11) { + i_29_ += 2; + i_28_ -= 2; + } else if (i_27_ == 12) { + i_29_ += 2; + i_28_--; + } else if (i_27_ != 13) { + if (i_27_ == 14) { + i_29_ += 2; + i_28_++; + } else if (i_27_ == 15) { + i_28_ += 2; + i_29_ += 2; + } + } else i_29_ += 2; + } else i_29_ -= 2; + if (bool) { + player.aBoolean10539 = true; + player.anInt10549 = i_28_; + player.anInt10531 = i_29_; + } else player.method2455(i_29_, -26443, (Component293.aByteArray3300[i_22_]), i_28_); + } else { + int i_30_ = class348_sub49_sub2.readBits((byte) -24, 1); + if (i_30_ == 0) { + int i_31_ = class348_sub49_sub2.readBits((byte) -24, 12); + int i_32_ = i_31_ >> 10; + int i_33_ = 0x1f & i_31_ >> 5; + if (i_33_ > 15) i_33_ -= 32; + int i_34_ = 0x1f & i_31_; + if (i_34_ > 15) i_34_ -= 32; + int i_35_ = i_33_ + (player.anIntArray10320[0]); + int i_36_ = i_34_ + (player.anIntArray10317[0]); + if (bool) { + player.anInt10531 = i_36_; + player.anInt10549 = i_35_; + player.aBoolean10539 = true; + } else player.method2455(i_36_, -26443, (Component293.aByteArray3300[i_22_]), i_35_); + player.plane = player.aByte6376 = (byte) (0x3 & (player.plane) + i_32_); + if (NpcComposition.method802(i_36_, i_35_, true)) player.aByte6376++; + if (StringDefinition.anInt9591 == i_22_) { + if ((player.plane) != Component117.anInt4372) NodeSub16Sub2.aBoolean8870 = true; + Component117.anInt4372 = (player.plane); + } + } else { + int i_37_ = class348_sub49_sub2.readBits((byte) -24, 30); + int i_38_ = i_37_ >> 28; + int i_39_ = 0x3fff & i_37_ >> 14; + int i_40_ = 0x3fff & i_37_; + int i_41_ = ((i_39_ + ((player.anIntArray10320[0]) + NodeBaseSub2.regionTileX) & 0x3fff) - NodeBaseSub2.regionTileX); + int i_42_ = (-Component330.regionTileY + (0x3fff & (i_40_ + Component330.regionTileY + (player.anIntArray10317[0])))); + if (bool) { + player.aBoolean10539 = true; + player.anInt10531 = i_42_; + player.anInt10549 = i_41_; + } else player.method2455(i_42_, -26443, (Component293.aByteArray3300[i_22_]), i_41_); + player.plane = player.aByte6376 = (byte) ((player.plane) + i_38_ & 0x3); + if (NpcComposition.method802(i_42_, i_41_, true)) player.aByte6376++; + if (StringDefinition.anInt9591 == i_22_) Component117.anInt4372 = (player.plane); + } + } + } +} diff --git a/client/shaders/base/ShaderSub1.java b/client/shaders/base/ShaderSub1.java new file mode 100644 index 000000000..c6108da9a --- /dev/null +++ b/client/shaders/base/ShaderSub1.java @@ -0,0 +1,28 @@ +/* ShaderSub1 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class ShaderSub1 +/** + * RENAMED from `ShaderSub1` (JODE-obfuscated). + * Evidence: extends Shader (Shader) + */ extends Shader { + static s[] aSArray5191; + static int[] anIntArray5192; + GlRectangleTexture aClass258_Sub3_Sub1_5193; + + public static void method161(int i) { + int i_0_ = -70 / ((i - 42) / 48); + aSArray5191 = null; + anIntArray5192 = null; + } + + ShaderSub1(GlToolkitSub2 var_ha_Sub2, int i, int i_1_, byte[] is) { + try { + this.aClass258_Sub3_Sub1_5193 = Component307.method3583(false, is, 6406, i_1_, var_ha_Sub2, -119, 6406, i); + this.aClass258_Sub3_Sub1_5193.method1965(false, false, 10243); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ag.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_1_ + ',' + (is != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/shaders/base/ShaderSub2.java b/client/shaders/base/ShaderSub2.java new file mode 100644 index 000000000..75f6e9d2d --- /dev/null +++ b/client/shaders/base/ShaderSub2.java @@ -0,0 +1,87 @@ +/* ShaderSub2 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class ShaderSub2 +/** + * RENAMED from `ShaderSub2` (JODE-obfuscated). + * Evidence: extends Shader (Shader) + */ extends Shader { + static int anInt5194; + static int anInt5195; + Interface18_Impl3 anInterface18_Impl3_5196; + /** Ignore-list last display names (update lookup key). */ + static String[] ignoreLastDisplayNames = new String[100]; + static int anInt5198; + static DisplayModeManagerContainer254 aClass161_5199; + + public static void method162(byte i) { + ignoreLastDisplayNames = null; + if (i >= -67) aClass161_5199 = null; + aClass161_5199 = null; + } + + static final int method163(int i) { + anInt5198++; + if (i != 512) method165(122, 62, -125, 72, -74, 116, 43, (byte) 104, 62, -115); + return Component44.aClass311_897.getPulseCount((byte) -98); + } + + static final boolean method164(int i, int i_0_, byte i_1_, int i_2_) { + anInt5195++; + if (!DefinitionSub23.aBoolean9307 || !Component234.aBoolean351) return false; + if (Component241.occludedPixelCount < 100) return false; + int i_3_ = Component160.anIntArrayArrayArray4356[i][i_0_][i_2_]; + if (i_3_ == -RandomAccessFileReader.anInt3049) return false; + if (RandomAccessFileReader.anInt3049 == i_3_) return true; + if (Component9.aSArray4142 == ShaderSub1.aSArray5191) return false; + int i_4_ = i_0_ << Component149.anInt4459; + int i_5_ = i_2_ << Component149.anInt4459; + if (i_1_ != -97) method163(-4); + if ((ShaderProgramSub7.method2169(i_4_ - -1, i_4_ - (-Component148.anInt3465 - -1), 1 + i_5_, 1 + i_4_, -1 + (i_5_ - -Component148.anInt3465), ShaderSub1.aSArray5191[i].method3982((byte) -86, 1 + i_2_, i_0_), ShaderSub1.aSArray5191[i].method3982((byte) -86, 1 + i_2_, 1 + i_0_), ShaderSub1.aSArray5191[i].method3982((byte) -86, i_2_, i_0_), -1 + Component148.anInt3465 + i_5_, false)) && (ShaderProgramSub7.method2169(1 + i_4_, Component148.anInt3465 + (i_4_ + -1), i_5_ + 1, Component148.anInt3465 + (i_4_ - 1), i_5_ + Component148.anInt3465 - 1, ShaderSub1.aSArray5191[i].method3982((byte) -86, i_2_ - -1, 1 + i_0_), ShaderSub1.aSArray5191[i].method3982((byte) -86, i_2_, i_0_ + 1), ShaderSub1.aSArray5191[i].method3982((byte) -86, i_2_, i_0_), 1 + i_5_, false))) { + DisplayModeManagerContainer64.occludedGroundCount++; + Component160.anIntArrayArrayArray4356[i][i_0_][i_2_] = RandomAccessFileReader.anInt3049; + return true; + } + Component160.anIntArrayArrayArray4356[i][i_0_][i_2_] = -RandomAccessFileReader.anInt3049; + return false; + } + + static final void method165(int i, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_, byte i_12_, int i_13_, int i_14_) { + anInt5194++; + if (i_9_ < 512 || i_11_ < 512 || (-2 + AbstractShaderSub4.anInt7319) * 512 < i_9_ || (-2 + ParametricDefinition.anInt9109) * 512 < i_11_) Component71.anIntArray6062[0] = Component71.anIntArray6062[1] = -1; + else if (i_12_ >= 22) { + int i_15_ = Component300.method2064(i_9_, i, 11219, i_11_) - i_7_; + if (Component210.gameCanvasAttached) HashTable.method1010(false, true); + else { + Component270.aClass101_2123.method891(i_10_, 0, 0); + NodeSub8.toolkit.method3638(Component270.aClass101_2123); + } + if (!DisplayModeManagerContainer50.aBoolean3870) NodeSub8.toolkit.da(i_9_, i_15_, i_11_, Component71.anIntArray6062); + else NodeSub8.toolkit.HA(i_9_, i_15_, i_11_, Component72.anInt1906, Component71.anIntArray6062); + if (Component210.gameCanvasAttached) DebugPanicSub1.method2129((byte) 60); + else { + Component270.aClass101_2123.method891(-i_10_, 0, 0); + NodeSub8.toolkit.method3638(Component270.aClass101_2123); + } + } + } + + ShaderSub2(GlToolkitSub3 var_ha_Sub3, int i, int i_16_, byte[] is) { + try { + this.anInterface18_Impl3_5196 = var_ha_Sub3.method3944(is, i, DefinitionSub38.aClass304_9471, 2, false, i_16_); + this.anInterface18_Impl3_5196.method66(false, false, 25688); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("lp.(" + (var_ha_Sub3 != null ? "{...}" : "null") + ',' + i + ',' + i_16_ + ',' + (is != null ? "{...}" : "null") + ')')); + } + } + + ShaderSub2(GlToolkitSub3 var_ha_Sub3, int i, int i_17_, int[] is) { + try { + this.anInterface18_Impl3_5196 = var_ha_Sub3.method3839(i_17_, i, -15137, false, is); + this.anInterface18_Impl3_5196.method66(false, false, 25688); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("lp.(" + (var_ha_Sub3 != null ? "{...}" : "null") + ',' + i + ',' + i_17_ + ',' + (is != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/shaders/base/ShaderSub3.java b/client/shaders/base/ShaderSub3.java new file mode 100644 index 000000000..a4568fa73 --- /dev/null +++ b/client/shaders/base/ShaderSub3.java @@ -0,0 +1,67 @@ +/* ShaderSub3 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.lang.reflect.Method; + +final class ShaderSub3 +/** + * RENAMED from `ShaderSub3` (JODE-obfuscated). + * Evidence: extends Shader (Shader) + */ extends Shader { + static StringCache aClass351_5200 = new StringCache(13, 2); + int[] anIntArray5201; + int[] anIntArray5202; + static int anInt5203; + static StringCache aClass351_5204 = new StringCache(15, 8); + static int anInt5205; + static NodederUtil aClass348_Sub6_5206 = new NodederUtil(0, 0); + static CacheStore aClass45_5207; + /*synthetic*/ static Class aClass5208; + + static final boolean method166(byte i, int i_0_, int i_1_) { + if (i < 5) method166((byte) -119, -93, 73); + anInt5203++; + return (i_1_ & 0x800) != 0 && (i_0_ & 0x37) != 0; + } + + public static void method167(int i) { + if (i != 19612) method167(-70); + aClass351_5200 = null; + aClass351_5204 = null; + aClass348_Sub6_5206 = null; + aClass45_5207 = null; + } + + static final void method168(byte i) { + do { + if (!OggUrlStream.aClass297_8992.useDirectDraw) { + try { + try { + Runtime runtime = Runtime.getRuntime(); + Long var_long = runtime.maxMemory(); + Component127.anInt2964 = 1 + (int) (var_long.longValue() / 1048576L); + } catch (Throwable throwable) { + /* empty */ + } + break; + } catch (Exception exception) { + break; + } + } + Component127.anInt2964 = 96; + } while (false); + int i_2_ = 15 % (i / 51); + anInt5205++; + } + + ShaderSub3(int i, int i_3_, int[] is, int[] is_4_) { + try { + this.anIntArray5201 = is; + this.anIntArray5202 = is_4_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("nba.(" + i + ',' + i_3_ + ',' + (is != null ? "{...}" : "null") + ',' + (is_4_ != null ? "{...}" : "null") + ')')); + } + } + +} diff --git a/client/shaders/base/SoftwareFallbackShader.java b/client/shaders/base/SoftwareFallbackShader.java new file mode 100644 index 000000000..61ebd6023 --- /dev/null +++ b/client/shaders/base/SoftwareFallbackShader.java @@ -0,0 +1,104 @@ +/* SoftwareFallbackShader - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class367_Sub10` (JODE-obfuscated). + * Software fallback shader. Extends AbstractShader; used when the native toolkit falls back to software rendering (logged as 'void-osrs: toolkit ... -> software (macOS)'). + */ + +final class SoftwareFallbackShader extends AbstractShader { + static int anInt7381; + static CacheStore aClass45_7382; + static int anInt7383; + static int anInt7384; + private boolean aBoolean7385 = false; + static int anInt7386; + static int anInt7387; + static int anInt7388; + static int anInt7389; + + final void method3527(int i, Interface18 interface18, int i_0_) { + this.aHa_Sub3_4479.method3850((byte) 79, interface18); + if (i_0_ != -16776) aBoolean7385 = false; + anInt7381++; + this.aHa_Sub3_4479.method3923(true, i); + } + + static final void method3553(boolean bool, byte i, int i_1_) { + if (i <= 98) method3553(true, (byte) 34, 120); + // Toolkit 1 = OpenGL (GlToolkitSub2), 2 = SW3D (libsw3d). Both break JAWT on macOS. + if ((i_1_ == 1 || i_1_ == 2) && Loader.isMacOs()) { + Component85.aBoolean2881 = true; + Component301.aBoolean4117 = true; + System.out.println("void-osrs: toolkit " + i_1_ + " → software (macOS)"); + i_1_ = 0; + } + GlRectangleTexture.method1971(-2, FriendsIgnoreList.aClass274_3495.getLocalized(ObjectDeserializer.languageId, 544), bool, i_1_); + anInt7388++; + } + + final void method3525(int i, boolean bool) { + anInt7384++; + Interface18_Impl2 interface18_impl2 = this.aHa_Sub3_4479.method3834(-16777216); + if (i != 15192) aBoolean7385 = false; + if (interface18_impl2 != null && bool) { + this.aHa_Sub3_4479.method3897(1, i + -19574); + this.aHa_Sub3_4479.method3850((byte) 96, interface18_impl2); + this.aHa_Sub3_4479.method3871(DisplayModeManagerContainer1.aClass113_3314, i + -15192); + this.aHa_Sub3_4479.method3897(1, -4382); + this.aHa_Sub3_4479.method3874(ShaderCompilerSub3.aClass229_6519, 104, Component253.aClass229_3196); + this.aHa_Sub3_4479.method3924(true, false, 2, (DisplayModeManagerContainer343.aClass70_8737), false); + this.aHa_Sub3_4479.method3885(0, true, DebugPanicSub2.aClass70_8503); + MatrixSub2 class101_sub2 = this.aHa_Sub3_4479.method3820(false); + class101_sub2.method926(i + -30891, this.aHa_Sub3_4479.method3854((byte) -44)); + this.aHa_Sub3_4479.method3853(i ^ ~0x3b47, DefinitionSub38.aClass251_9477); + this.aHa_Sub3_4479.method3897(0, -4382); + aBoolean7385 = true; + } else this.aHa_Sub3_4479.method3885(0, true, DebugPanicSub2.aClass70_8503); + } + + public static void method3554(int i) { + if (i != 1) aClass45_7382 = null; + aClass45_7382 = null; + } + + final void method3520(byte i) { + if (i != 87) aClass45_7382 = null; + anInt7386++; + if (aBoolean7385) { + this.aHa_Sub3_4479.method3897(1, -4382); + this.aHa_Sub3_4479.method3871(Component324.aClass113_2047, i ^ 0x57); + this.aHa_Sub3_4479.method3874(Component385.aClass229_2207, 103, (Component385.aClass229_2207)); + this.aHa_Sub3_4479.method3849((byte) 47, 2, DefinitionSub39.aClass70_9485); + this.aHa_Sub3_4479.method3885(0, true, DisplayModeManagerContainer173.aClass70_4247); + this.aHa_Sub3_4479.method3879(-8629); + this.aHa_Sub3_4479.method3850((byte) -111, null); + this.aHa_Sub3_4479.method3897(0, -4382); + aBoolean7385 = false; + } else this.aHa_Sub3_4479.method3885(0, true, DisplayModeManagerContainer173.aClass70_4247); + this.aHa_Sub3_4479.method3874(Component385.aClass229_2207, i ^ 0x2c, Component385.aClass229_2207); + } + + final void method3526(int i, int i_2_, int i_3_) { + anInt7389++; + if (i != 10756) aBoolean7385 = false; + } + + final boolean method3530(int i) { + anInt7387++; + if (i > -57) aClass45_7382 = null; + return true; + } + + final void method3521(boolean bool, byte i) { + if (i == -103) { + anInt7383++; + this.aHa_Sub3_4479.method3874(ShaderCompilerSub3.aClass229_6519, 99, Component385.aClass229_2207); + } + } + + SoftwareFallbackShader(GlToolkitSub3 var_ha_Sub3) { + super(var_ha_Sub3); + } +} diff --git a/client/shaders/base/SpriteAtlasShader.java b/client/shaders/base/SpriteAtlasShader.java new file mode 100644 index 000000000..f7b6172aa --- /dev/null +++ b/client/shaders/base/SpriteAtlasShader.java @@ -0,0 +1,190 @@ +/* SpriteAtlasShader - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class286_Sub5` (JODE-obfuscated). + * Sprite-atlas sampling shader (ShaderProgram subclass). Binds named sprite atlases (headicons_prayer, timerbar_default, hint_mapmarkers, hint_headicons) via method2159(CacheStore). + */ + +import jaggl.OpenGL; + +final class SpriteAtlasShader extends ShaderProgram { + static d aD6247; + static int anInt6248 = -1; + static int anInt6249; + static int anInt6250; + static int anInt6251; + static int anInt6252; + static int anInt6253; + private final Component128 aClass61_6254; + static int anInt6255; + static int anInt6256; + static int anInt6257; + static int anInt6258; + private final Component178 aClass83_6259; + static int[] anIntArray6260 = new int[1]; + static int anInt6261; + + static final void method2158(byte i) { + anInt6256++; + if (i == 56) { + // Always fill the container (no letterboxed max-size caps). + DisplayModeManagerContainer147.anInt4167 = 0; + NodeSub48.anInt7129 = 0; + Component236.anInt4017 = SocketConnector.anInt3473; + PacketReader.anInt10432 = NodeSub22.anInt6857; + DisplayModeManagerContainer23.anInt1524 = SocketConnector.anInt3473; + GlToolkitSub2.anInt7666 = NodeSub22.anInt6857; + } + } + + final void method2136(int i, int i_5_, byte i_6_) { + anInt6252++; + float f = -5.0E-4F * (float) (1 + (i & 0x3)); + float f_7_ = 5.0E-4F * (float) (1 + ((i & 0x18) >> 3)); + float f_8_ = (i & 0x40) == 0 ? 4.8828125E-4F : 9.765625E-4F; + boolean bool = (i & 0x80) != 0; + this.aHa_Sub2_3684.method3738(-15039, 1); + if (bool) { + Component362.aFloatArray5791[1] = 0.0F; + Component362.aFloatArray5791[0] = f_8_; + Component362.aFloatArray5791[3] = 0.0F; + Component362.aFloatArray5791[2] = 0.0F; + } else { + Component362.aFloatArray5791[1] = 0.0F; + Component362.aFloatArray5791[0] = 0.0F; + Component362.aFloatArray5791[2] = f_8_; + Component362.aFloatArray5791[3] = 0.0F; + } + OpenGL.glTexGenfv(8192, 9474, Component362.aFloatArray5791, 0); + Component362.aFloatArray5791[0] = 0.0F; + Component362.aFloatArray5791[1] = f_8_; + Component362.aFloatArray5791[3] = (f * (float) this.aHa_Sub2_3684.anInt7735 % 1.0F); + if (i_6_ >= -42) method2136(-27, -15, (byte) -43); + Component362.aFloatArray5791[2] = 0.0F; + OpenGL.glTexGenfv(8193, 9474, Component362.aFloatArray5791, 0); + if (aClass83_6259.aBoolean1442) { + Component362.aFloatArray5791[0] = 0.0F; + Component362.aFloatArray5791[3] = (float) (this.aHa_Sub2_3684.anInt7735) * f_7_ % 1.0F; + Component362.aFloatArray5791[2] = 0.0F; + Component362.aFloatArray5791[1] = 0.0F; + OpenGL.glTexGenfv(8194, 9473, Component362.aFloatArray5791, 0); + } else { + int i_9_ = (int) (16.0F * ((float) this.aHa_Sub2_3684.anInt7735 * f_7_)); + this.aHa_Sub2_3684.method3771((byte) -81, aClass83_6259.aClass258_Sub3Array1448[i_9_ % 16]); + } + this.aHa_Sub2_3684.method3738(-15039, 0); + } + + final void method2140(AbstractGlTexture class258, byte i, int i_10_) { + anInt6257++; + this.aHa_Sub2_3684.method3771((byte) -118, class258); + this.aHa_Sub2_3684.method3761(0, i_10_); + if (i > -89) method2140(null, (byte) 109, -112); + } + + final void method2133(int i) { + anInt6249++; + aClass61_6254.callDisplayList('\001', 28666); + this.aHa_Sub2_3684.method3738(-15039, 1); + this.aHa_Sub2_3684.method3771((byte) -113, null); + if (i > -75) anInt6248 = -7; + this.aHa_Sub2_3684.method3738(-15039, 0); + } + + SpriteAtlasShader(GlToolkitSub2 var_ha_Sub2, Component178 class83) { + super(var_ha_Sub2); + try { + aClass83_6259 = class83; + aClass61_6254 = new Component128(var_ha_Sub2, 2); + aClass61_6254.beginDisplayList((byte) 104, 0); + this.aHa_Sub2_3684.method3738(-15039, 1); + if (aClass83_6259.aBoolean1442) { + OpenGL.glTexGeni(8194, 9472, 9217); + OpenGL.glEnable(3170); + } + OpenGL.glTexGeni(8192, 9472, 9216); + OpenGL.glTexGeni(8193, 9472, 9216); + OpenGL.glEnable(3168); + OpenGL.glEnable(3169); + this.aHa_Sub2_3684.method3738(-15039, 0); + aClass61_6254.endDisplayList(-1); + aClass61_6254.beginDisplayList((byte) 117, 1); + this.aHa_Sub2_3684.method3738(-15039, 1); + if (aClass83_6259.aBoolean1442) OpenGL.glDisable(3170); + OpenGL.glDisable(3168); + OpenGL.glDisable(3169); + this.aHa_Sub2_3684.method3738(-15039, 0); + aClass61_6254.endDisplayList(-1); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("gn.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + (class83 != null ? "{...}" : "null") + ')')); + } + } + + static final void method2159(byte i, CacheStore class45) { + NodeSub22.anInt6862 = class45.getGroupId("hitmarks", 0); + anInt6258++; + KeyStoreLoader.anInt1639 = class45.getGroupId("hitbar_default", 0); + BasicMouseHandler.anInt7429 = class45.getGroupId("timerbar_default", 0); + GraphicsToolkit.anInt4562 = class45.getGroupId("headicons_pk", 0); + CommandHandler.anInt1435 = class45.getGroupId("headicons_prayer", 0); + Component95.anInt1756 = class45.getGroupId("hint_headicons", 0); + ReferenceTable.anInt3739 = class45.getGroupId("hint_mapmarkers", 0); + Component328.anInt1481 = class45.getGroupId("mapflag", 0); + Component98.anInt5948 = class45.getGroupId("cross", 0); + Component22.anInt1742 = class45.getGroupId("mapdots", 0); + NamedInteger.anInt4469 = class45.getGroupId("scrollbar", 0); + DefinitionSub38.anInt9473 = class45.getGroupId("name_icons", 0); + Component38.anInt2510 = class45.getGroupId("floorshadows", 0); + RSACipher.anInt4895 = class45.getGroupId("compass", 0); + if (i > -72) sleep((byte) 106, 125L); + Component134.anInt5814 = class45.getGroupId("otherlevel", 0); + DisplayModeManagerContainer89.anInt8370 = class45.getGroupId("hint_mapedge", 0); + } + + final void method2134(boolean bool, boolean bool_11_) { + anInt6250++; + aClass61_6254.callDisplayList('\0', 28666); + if (aClass83_6259.aBoolean1442) { + this.aHa_Sub2_3684.method3738(-15039, 1); + this.aHa_Sub2_3684.method3771((byte) -117, (aClass83_6259.aClass258_Sub1_1446)); + this.aHa_Sub2_3684.method3738(-15039, 0); + } + if (bool_11_ != false) anInt6248 = -68; + } + + public static void method2160(int i) { + if (i == 0) { + aD6247 = null; + anIntArray6260 = null; + } + } + + final void method2139(boolean bool, byte i) { + anInt6261++; + int i_12_ = -52 % ((i - -60) / 38); + } + + final boolean method2137(int i) { + if (i >= -5) anInt6248 = 124; + anInt6253++; + return true; + } + + /** Sleep {@code l} ms (splits multiples of 10 to dodge scheduler quirks). */ + static final void sleep(byte i, long l) { + try { + anInt6251++; + if (l > 0L) { + if (l % 10L == 0) { + DisplayModeManagerContainer363.sleepMillis(-125, -1L + l); + DisplayModeManagerContainer363.sleepMillis(-125, 1L); + } else DisplayModeManagerContainer363.sleepMillis(59, l); + int i_13_ = 70 % ((i - -52) / 32); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "gn.D(" + i + ',' + l + ')'); + } + } +} diff --git a/client/shaders/d3d/D3DShader.java b/client/shaders/d3d/D3DShader.java new file mode 100644 index 000000000..8bc7e6a40 --- /dev/null +++ b/client/shaders/d3d/D3DShader.java @@ -0,0 +1,198 @@ +/* D3DShader - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class367_Sub5` (JODE-obfuscated). + * DirectX implementation of AbstractShader. Imports jagdx.IDirect3DDevice / IDirect3DVertexShader; builds D3D vertex shaders for the DirectX toolkit. + */ + +import jagdx.IDirect3DDevice; +import jagdx.IDirect3DVertexShader; + +final class D3DShader extends AbstractShader { + private boolean aBoolean7326 = false; + private static float[] aFloatArray7327 = new float[4]; + private D3DToolkit aClass378_7328; + private final boolean aBoolean7329; + private IDirect3DVertexShader anIDirect3DVertexShader7330; + private Interface18_Impl3 anInterface18_Impl3_7331; + private IDirect3DVertexShader anIDirect3DVertexShader7332; + private IDirect3DVertexShader anIDirect3DVertexShader7333; + private IDirect3DVertexShader anIDirect3DVertexShader7334; + private IDirect3DVertexShader anIDirect3DVertexShader7335; + private boolean aBoolean7336; + private static final float[] aFloatArray7337 = new float[16]; + + D3DShader(D3DToolkit class378, CacheStore class45) { + super(class378); + aClass378_7328 = class378; + if (null == class45 || ((aClass378_7328.aD3DCAPS9791.VertexShaderVersion) & 0xffff) < 257) aBoolean7329 = false; + else { + anIDirect3DVertexShader7332 = aClass378_7328.anIDirect3DDevice9810.b(class45.getFile("dx", "uw_ground_unlit", -29832)); + anIDirect3DVertexShader7330 = aClass378_7328.anIDirect3DDevice9810.b(class45.getFile("dx", "uw_ground_lit", -29832)); + anIDirect3DVertexShader7334 = aClass378_7328.anIDirect3DDevice9810.b(class45.getFile("dx", "uw_model_unlit", -29832)); + anIDirect3DVertexShader7335 = aClass378_7328.anIDirect3DDevice9810.b(class45.getFile("dx", "uw_model_lit", -29832)); + if (null != anIDirect3DVertexShader7332 & anIDirect3DVertexShader7330 != null & anIDirect3DVertexShader7334 != null & null != anIDirect3DVertexShader7335) { + anInterface18_Impl3_7331 = (this.aHa_Sub3_4479.method3839(1, 2, -15137, false, new int[]{0, -1})); + anInterface18_Impl3_7331.method66(false, false, 25688); + aBoolean7329 = true; + } else aBoolean7329 = false; + } + } + + final void method3528(int i) { + if (i < 45) aFloatArray7327 = null; + IDirect3DDevice idirect3ddevice = aClass378_7328.anIDirect3DDevice9810; + int i_0_ = this.aHa_Sub3_4479.method3941(-103); + MatrixSub2 class101_sub2 = this.aHa_Sub3_4479.method3887((byte) 61); + IDirect3DVertexShader idirect3dvertexshader; + if (aBoolean7336) idirect3dvertexshader = (i_0_ != 2147483647 ? anIDirect3DVertexShader7335 : anIDirect3DVertexShader7330); + else idirect3dvertexshader = (i_0_ == 2147483647 ? anIDirect3DVertexShader7332 : anIDirect3DVertexShader7334); + if (anIDirect3DVertexShader7333 != idirect3dvertexshader) { + anIDirect3DVertexShader7333 = idirect3dvertexshader; + aClass378_7328.method3957(idirect3dvertexshader, (byte) -89); + method3545(121); + method3524(-14775); + method3532(10425); + method3523((byte) 12); + method3531(false); + method3522(-16252); + } + class101_sub2.method919(0.0F, aFloatArray7327, -1.0F, 0.0F, (float) i_0_, (byte) -120); + idirect3ddevice.a(12, aFloatArray7327); + } + + final void method3526(int i, int i_1_, int i_2_) { + if (i != 10756) method3531(false); + } + + final void method3520(byte i) { + if (i != 87) method3527(55, null, -69); + this.aHa_Sub3_4479.method3897(1, -4382); + this.aHa_Sub3_4479.method3850((byte) 82, null); + this.aHa_Sub3_4479.method3874(Component385.aClass229_2207, i + 25, Component385.aClass229_2207); + this.aHa_Sub3_4479.method3849((byte) 47, 0, DisplayModeManagerContainer173.aClass70_4247); + this.aHa_Sub3_4479.method3849((byte) 47, 2, DefinitionSub39.aClass70_9485); + this.aHa_Sub3_4479.method3885(0, true, DisplayModeManagerContainer173.aClass70_4247); + this.aHa_Sub3_4479.method3897(0, i ^ ~0x114a); + if (aBoolean7326) { + this.aHa_Sub3_4479.method3849((byte) 47, 0, DisplayModeManagerContainer173.aClass70_4247); + this.aHa_Sub3_4479.method3885(0, true, DisplayModeManagerContainer173.aClass70_4247); + aBoolean7326 = false; + } + if (null != anIDirect3DVertexShader7333) { + aClass378_7328.method3957(null, (byte) -89); + anIDirect3DVertexShader7333 = null; + } + } + + final boolean method3530(int i) { + if (i > -57) aClass378_7328 = null; + return aBoolean7329; + } + + final void method3523(byte i) { + if (i != 12) method3521(false, (byte) -54); + if (null != anIDirect3DVertexShader7333) { + IDirect3DDevice idirect3ddevice = aClass378_7328.anIDirect3DDevice9810; + MatrixSub2 class101_sub2 = aClass378_7328.method3948(i + -22048); + idirect3ddevice.a(0, class101_sub2.method924(11, aFloatArray7337)); + } + } + + final void method3524(int i) { + if (i == -14775) { + if (null != anIDirect3DVertexShader7333) { + IDirect3DDevice idirect3ddevice = aClass378_7328.anIDirect3DDevice9810; + idirect3ddevice.a(4, this.aHa_Sub3_4479.method3835(aFloatArray7337, -101)); + } + } + } + + final void method3527(int i, Interface18 interface18, int i_3_) { + if (interface18 == null) { + if (!aBoolean7326) { + this.aHa_Sub3_4479.method3850((byte) -43, (this.aHa_Sub3_4479.anInterface18_8147)); + this.aHa_Sub3_4479.method3923(true, 1); + this.aHa_Sub3_4479.method3849((byte) 47, 0, DisplayModeManagerContainer343.aClass70_8737); + this.aHa_Sub3_4479.method3885(0, true, DisplayModeManagerContainer343.aClass70_8737); + aBoolean7326 = true; + } + } else { + if (aBoolean7326) { + this.aHa_Sub3_4479.method3849((byte) 47, 0, DisplayModeManagerContainer173.aClass70_4247); + this.aHa_Sub3_4479.method3885(0, true, DisplayModeManagerContainer173.aClass70_4247); + aBoolean7326 = false; + } + this.aHa_Sub3_4479.method3850((byte) -103, interface18); + this.aHa_Sub3_4479.method3923(true, i); + } + if (i_3_ != -16776) anIDirect3DVertexShader7332 = null; + } + + final void method3522(int i) { + if (i != -16252) method3521(true, (byte) -11); + if (null != anIDirect3DVertexShader7333) { + IDirect3DDevice idirect3ddevice = aClass378_7328.anIDirect3DDevice9810; + int i_4_ = this.aHa_Sub3_4479.XA(); + int i_5_ = this.aHa_Sub3_4479.i(); + float f = -(0.125F * (float) (i_4_ + -i_5_)) + (float) i_4_; + float f_6_ = (float) i_4_ - (float) (-i_5_ + i_4_) * 0.25F; + idirect3ddevice.a(10, f_6_, 1.0F / (-f_6_ + f), f, 1.0F / (-f + (float) i_4_)); + idirect3ddevice.a(11, 1.0F / (float) this.aHa_Sub3_4479.method3833((byte) -58), (float) this.aHa_Sub3_4479.method3826((byte) -70) / 255.0F, this.aHa_Sub3_4479.aFloat8115, 1.0F / (-(this.aHa_Sub3_4479.aFloat8173) + (this.aHa_Sub3_4479.aFloat8115))); + this.aHa_Sub3_4479.method3894(-28186, this.aHa_Sub3_4479.method3863(-103)); + } + } + + final void method3525(int i, boolean bool) { + aBoolean7336 = bool; + this.aHa_Sub3_4479.method3897(1, -4382); + this.aHa_Sub3_4479.method3850((byte) 95, anInterface18_Impl3_7331); + if (i != 15192) method3520((byte) -41); + this.aHa_Sub3_4479.method3874(ShaderCompilerSub3.aClass229_6519, 105, Component253.aClass229_3196); + this.aHa_Sub3_4479.method3849((byte) 47, 0, DefinitionSub39.aClass70_9485); + this.aHa_Sub3_4479.method3924(true, false, 2, DisplayModeManagerContainer173.aClass70_4247, false); + this.aHa_Sub3_4479.method3885(0, true, DisplayModeManagerContainer343.aClass70_8737); + this.aHa_Sub3_4479.method3897(0, -4382); + method3528(106); + } + + final void method3521(boolean bool, byte i) { + if (i != -103) aBoolean7326 = true; + } + + private final void method3545(int i) { + if (i > 95) { + if (null != anIDirect3DVertexShader7333 && aBoolean7336) { + MatrixSub2 class101_sub2 = this.aHa_Sub3_4479.method3854((byte) 111); + IDirect3DDevice idirect3ddevice = aClass378_7328.anIDirect3DDevice9810; + idirect3ddevice.a(13, ((this.aHa_Sub3_4479.aFloat8093) * (this.aHa_Sub3_4479.aFloat8180)), ((this.aHa_Sub3_4479.aFloat8087) * (this.aHa_Sub3_4479.aFloat8093)), ((this.aHa_Sub3_4479.aFloat8168) * (this.aHa_Sub3_4479.aFloat8093)), 1.0F); + idirect3ddevice.a(14, ((this.aHa_Sub3_4479.aFloat8174) * (this.aHa_Sub3_4479.aFloat8180)), ((this.aHa_Sub3_4479.aFloat8087) * (this.aHa_Sub3_4479.aFloat8174)), ((this.aHa_Sub3_4479.aFloat8174) * (this.aHa_Sub3_4479.aFloat8168)), 1.0F); + idirect3ddevice.a(16, ((this.aHa_Sub3_4479.aFloat8180) * (this.aHa_Sub3_4479.aFloat8186)), ((this.aHa_Sub3_4479.aFloat8087) * (this.aHa_Sub3_4479.aFloat8186)), ((this.aHa_Sub3_4479.aFloat8168) * (this.aHa_Sub3_4479.aFloat8186)), 1.0F); + class101_sub2.method923((this.aHa_Sub3_4479.aFloatArray8170[0]), (this.aHa_Sub3_4479.aFloatArray8170[1]), (byte) -97, (this.aHa_Sub3_4479.aFloatArray8170[2]), aFloatArray7327); + idirect3ddevice.SetVertexShaderConstantF(15, aFloatArray7327, 1); + class101_sub2.method923((this.aHa_Sub3_4479.aFloatArray8102[0]), (this.aHa_Sub3_4479.aFloatArray8102[1]), (byte) -99, (this.aHa_Sub3_4479.aFloatArray8102[2]), aFloatArray7327); + idirect3ddevice.SetVertexShaderConstantF(17, aFloatArray7327, 1); + } + } + } + + final void method3531(boolean bool) { + if (bool) method3528(89); + if (anIDirect3DVertexShader7333 != null) { + IDirect3DDevice idirect3ddevice = aClass378_7328.anIDirect3DDevice9810; + MatrixSub2 class101_sub2 = aClass378_7328.method3948(-22036); + idirect3ddevice.a(0, class101_sub2.method924(11, aFloatArray7337)); + } + } + + final void method3532(int i) { + if (i != 10425) method3545(-24); + if (null != anIDirect3DVertexShader7333) { + IDirect3DDevice idirect3ddevice = aClass378_7328.anIDirect3DDevice9810; + MatrixSub2 class101_sub2 = this.aHa_Sub3_4479.method3848(5); + idirect3ddevice.SetVertexShaderConstantF(8, class101_sub2.method915(aFloatArray7337, i + -10424), 2); + } + } +} diff --git a/client/shaders/gl/EnvironmentMappedWaterShader.java b/client/shaders/gl/EnvironmentMappedWaterShader.java new file mode 100644 index 000000000..215af23f1 --- /dev/null +++ b/client/shaders/gl/EnvironmentMappedWaterShader.java @@ -0,0 +1,153 @@ +/* EnvironmentMappedWaterShader - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ +/** + * RENAMED from `Class367_Sub7` (JODE-obfuscated). + * Environment-mapped water shader. Extends AbstractShader; GLSL program with 'environment_mapped_water_v' / 'environment_mapped_water_f' stages. + */ + +import jagdx.IDirect3DDevice; +import jagdx.IDirect3DPixelShader; +import jagdx.IDirect3DVertexShader; + +final class EnvironmentMappedWaterShader extends AbstractShader { + private static float[] aFloatArray7342 = new float[16]; + private IDirect3DPixelShader anIDirect3DPixelShader7343; + private boolean aBoolean7344; + private IDirect3DVertexShader anIDirect3DVertexShader7345; + private D3DToolkit aClass378_7346; + private final boolean aBoolean7347; + private final Component209 aClass269_7348; + + final void method3526(int i, int i_0_, int i_1_) { + if (i != 10756) method3527(-80, null, 80); + if (aBoolean7344) { + IDirect3DDevice idirect3ddevice = aClass378_7346.anIDirect3DDevice9810; + int i_2_ = 1 << (i_0_ & 0x3); + float f = (float) (1 << ((0x38 & i_0_) >> 3)) / 32.0F; + int i_3_ = i_1_ & 0xffff; + float f_4_ = (float) ((i_1_ & 0x320d7) >> 16) / 8.0F; + idirect3ddevice.a(14, (float) (this.aHa_Sub3_4479.anInt8146 * i_2_ % 40000) / 40000.0F, 0.0F, 0.0F, 0.0F); + idirect3ddevice.a(15, f, 0.0F, 0.0F, 0.0F); + idirect3ddevice.b(4, (float) i_3_, 0.0F, 0.0F, 0.0F); + idirect3ddevice.b(5, f_4_, 0.0F, 0.0F, 0.0F); + } + } + + final void method3521(boolean bool, byte i) { + if (i != -103) aBoolean7344 = true; + } + + final void method3532(int i) { + if (aBoolean7344) { + IDirect3DDevice idirect3ddevice = aClass378_7346.anIDirect3DDevice9810; + MatrixSub2 class101_sub2 = this.aHa_Sub3_4479.method3848(i + -10420); + idirect3ddevice.SetVertexShaderConstantF(12, class101_sub2.method915(aFloatArray7342, 1), 2); + } + if (i != 10425) anIDirect3DVertexShader7345 = null; + } + + final void method3527(int i, Interface18 interface18, int i_5_) { + if (i_5_ != -16776) method3532(16); + } + + final void method3522(int i) { + if (aBoolean7344) { + IDirect3DDevice idirect3ddevice = aClass378_7346.anIDirect3DDevice9810; + if (this.aHa_Sub3_4479.anInt8091 <= 0) idirect3ddevice.a(16, 0.0F, 0.0F, 0.0F, 0.0F); + else { + float f = (this.aHa_Sub3_4479.aFloat8115); + float f_6_ = (this.aHa_Sub3_4479.aFloat8173); + idirect3ddevice.a(16, f, 1.0F / (f - f_6_), 0.0F, 0.0F); + } + idirect3ddevice.b(0, (float) ((this.aHa_Sub3_4479.anInt8144 >> 16) & 0xff) / 255.0F, (float) ((this.aHa_Sub3_4479.anInt8144 >> 8) & 0xff) / 255.0F, (float) (this.aHa_Sub3_4479.anInt8144 & 0xff) / 255.0F, 0.0F); + } + if (i != -16252) aClass378_7346 = null; + } + + EnvironmentMappedWaterShader(D3DToolkit class378, CacheStore class45, Component209 class269) { + super(class378); + aClass269_7348 = class269; + aClass378_7346 = class378; + if (null == class45 || !this.aHa_Sub3_4479.aBoolean8101 || !this.aHa_Sub3_4479.aBoolean8159 || (aClass378_7346.aD3DCAPS9791.VertexShaderVersion & 0xffff) < 257) { + anIDirect3DVertexShader7345 = null; + aBoolean7347 = false; + anIDirect3DPixelShader7343 = null; + } else { + anIDirect3DVertexShader7345 = (aClass378_7346.anIDirect3DDevice9810.b(class45.getFile("dx", "environment_mapped_water_v", -29832))); + anIDirect3DPixelShader7343 = (aClass378_7346.anIDirect3DDevice9810.a(class45.getFile("dx", "environment_mapped_water_f", -29832))); + aBoolean7347 = (anIDirect3DVertexShader7345 != null && null != anIDirect3DPixelShader7343 && aClass269_7348.method2041((byte) 49)); + } + } + + final void method3525(int i, boolean bool) { + if (i == 15192) { + Interface18_Impl2 interface18_impl2 = this.aHa_Sub3_4479.method3834(-16777216); + if (aBoolean7347 && null != interface18_impl2) { + IDirect3DDevice idirect3ddevice = aClass378_7346.anIDirect3DDevice9810; + aClass378_7346.method3957(anIDirect3DVertexShader7345, (byte) -89); + aClass378_7346.method3962(22927, anIDirect3DPixelShader7343); + this.aHa_Sub3_4479.method3897(1, -4382); + this.aHa_Sub3_4479.method3850((byte) 63, interface18_impl2); + this.aHa_Sub3_4479.method3897(0, -4382); + this.aHa_Sub3_4479.method3850((byte) -127, aClass269_7348.anInterface18_Impl1_3455); + aBoolean7344 = true; + method3531(false); + method3532(10425); + method3524(-14775); + method3522(-16252); + idirect3ddevice.b(1, -(this.aHa_Sub3_4479.aFloatArray8170[0]), -(this.aHa_Sub3_4479.aFloatArray8170[1]), -(this.aHa_Sub3_4479.aFloatArray8170[2]), 0.0F); + idirect3ddevice.b(2, this.aHa_Sub3_4479.aFloat8180, this.aHa_Sub3_4479.aFloat8087, this.aHa_Sub3_4479.aFloat8168, 1.0F); + idirect3ddevice.b(3, (928.0F * Math.abs(this.aHa_Sub3_4479.aFloatArray8170[1]) + 96.0F), 0.0F, 0.0F, 0.0F); + } + } + } + + final boolean method3530(int i) { + if (i > -57) anIDirect3DPixelShader7343 = null; + return aBoolean7347; + } + + final void method3523(byte i) { + if (aBoolean7344) { + IDirect3DDevice idirect3ddevice = aClass378_7346.anIDirect3DDevice9810; + MatrixSub2 class101_sub2 = aClass378_7346.method3948(-22036); + idirect3ddevice.a(0, class101_sub2.method924(11, aFloatArray7342)); + } + if (i != 12) aFloatArray7342 = null; + } + + final void method3520(byte i) { + if (aBoolean7344) { + aClass378_7346.method3957(null, (byte) -89); + aClass378_7346.method3962(22927, null); + this.aHa_Sub3_4479.method3897(1, -4382); + this.aHa_Sub3_4479.method3850((byte) -98, null); + this.aHa_Sub3_4479.method3897(0, -4382); + this.aHa_Sub3_4479.method3850((byte) -124, null); + aBoolean7344 = false; + } + if (i != 87) method3531(true); + } + + final void method3524(int i) { + if (i == -14775) { + if (aBoolean7344) { + IDirect3DDevice idirect3ddevice = aClass378_7346.anIDirect3DDevice9810; + idirect3ddevice.a(8, this.aHa_Sub3_4479.method3835(aFloatArray7342, i + 14651)); + } + } + } + + final void method3531(boolean bool) { + if (!bool) { + if (aBoolean7344) { + IDirect3DDevice idirect3ddevice = aClass378_7346.anIDirect3DDevice9810; + MatrixSub2 class101_sub2 = aClass378_7346.method3887((byte) -123); + MatrixSub2 class101_sub2_7_ = aClass378_7346.method3948(-22036); + idirect3ddevice.a(0, class101_sub2_7_.method924(11, aFloatArray7342)); + idirect3ddevice.a(4, class101_sub2.method930(0, aFloatArray7342)); + } + } + } +} diff --git a/client/shaders/gl/GlWaterShader.java b/client/shaders/gl/GlWaterShader.java new file mode 100644 index 000000000..13983a4e5 --- /dev/null +++ b/client/shaders/gl/GlWaterShader.java @@ -0,0 +1,324 @@ +/* GlWaterShader - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub5_Sub1` (JODE-obfuscated). + * OpenGL water shader. Extends NodeSub5; raw GLSL program (glUniform/glBegin) implementing the scene water effect with baseTex/sceneTex samplers. + */ + +import jaggl.OpenGL; + +import java.io.*; + +final class GlWaterShader extends NodeSub5 { + private Component244 aClass337_8822; + static int anInt8823; + private Component244 aClass337_8824; + private DisplayModeManagerContainer105 aClass206_8825; + private int anInt8826; + static int anInt8827; + static int anInt8828; + static int anInt8829; + private GlTexture aClass258_Sub3_8830; + static int anInt8831; + static Component158 aClass21_8832 = new Component158(); + private int anInt8833; + static int anInt8834; + private GlTexture aClass258_Sub3_8835; + private Component244 aClass337_8836; + private GlTexture[] aClass258_Sub3Array8837; + private int anInt8838; + static int anInt8839; + static int anInt8840; + private int anInt8841; + private Component244 aClass337_8842; + static int anInt8843; + private DisplayModeManagerContainer105 aClass206_8844; + + final void method2756(byte i, int i_0_) { + anInt8831++; + OpenGL.glUseProgramObjectARB(0L); + this.aHa_Sub2_6618.method3738(-15039, 1); + int i_1_ = -98 / ((i - 44) / 38); + this.aHa_Sub2_6618.method3771((byte) -86, null); + this.aHa_Sub2_6618.method3738(-15039, 0); + } + + final void method2750(GlTexture class258_sub3, GlTexture class258_sub3_2_, int i, byte i_3_) { + try { + anInt8828++; + OpenGL.glPushAttrib(2048); + OpenGL.glMatrixMode(5889); + OpenGL.glPushMatrix(); + OpenGL.glLoadIdentity(); + OpenGL.glOrtho(0.0, 1.0, 0.0, 1.0, -1.0, 1.0); + if (aClass258_Sub3Array8837 == null) { + this.aHa_Sub2_6618.method3771((byte) -90, class258_sub3_2_); + this.aHa_Sub2_6618.method3773(-1, aClass206_8825); + aClass206_8825.method1503(0, (byte) 3); + OpenGL.glViewport(0, 0, 256, 256); + long l = aClass337_8842.aLong4178; + OpenGL.glUseProgramObjectARB(l); + OpenGL.glUniform1iARB(OpenGL.glGetUniformLocationARB(l, "sceneTex"), 0); + OpenGL.glUniform3fARB(OpenGL.glGetUniformLocationARB(l, "params"), DisplayModeManagerContainer216.aFloat5654, 0.0F, 0.0F); + OpenGL.glBegin(7); + OpenGL.glTexCoord2f(0.0F, 0.0F); + OpenGL.glVertex2i(0, 0); + OpenGL.glTexCoord2f((float) anInt8841, 0.0F); + OpenGL.glVertex2i(1, 0); + OpenGL.glTexCoord2f((float) anInt8841, (float) anInt8833); + OpenGL.glVertex2i(1, 1); + OpenGL.glTexCoord2f(0.0F, (float) anInt8833); + OpenGL.glVertex2i(0, 1); + OpenGL.glEnd(); + } else { + this.aHa_Sub2_6618.method3773(-1, aClass206_8844); + int i_4_ = PrimitiveTypeDefinition.method3051(anInt8841, 4096); + int i_5_ = PrimitiveTypeDefinition.method3051(anInt8833, 4096); + int i_6_ = 0; + while (i_4_ > 256 || i_5_ > 256) { + OpenGL.glViewport(0, 0, i_4_, i_5_); + aClass206_8844.method1509(aClass258_Sub3Array8837[i_6_], 0, 0); + if (i_6_ == 0) { + this.aHa_Sub2_6618.method3771((byte) -115, class258_sub3_2_); + OpenGL.glBegin(7); + OpenGL.glTexCoord2f(0.0F, 0.0F); + OpenGL.glVertex2i(0, 0); + OpenGL.glTexCoord2f((float) anInt8841, 0.0F); + OpenGL.glVertex2i(1, 0); + OpenGL.glTexCoord2f((float) anInt8841, (float) anInt8833); + OpenGL.glVertex2i(1, 1); + OpenGL.glTexCoord2f(0.0F, (float) anInt8833); + OpenGL.glVertex2i(0, 1); + OpenGL.glEnd(); + } else { + this.aHa_Sub2_6618.method3771((byte) -82, aClass258_Sub3Array8837[i_6_ - 1]); + OpenGL.glBegin(7); + OpenGL.glTexCoord2f(0.0F, 0.0F); + OpenGL.glVertex2i(0, 0); + OpenGL.glTexCoord2f(1.0F, 0.0F); + OpenGL.glVertex2i(1, 0); + OpenGL.glTexCoord2f(1.0F, 1.0F); + OpenGL.glVertex2i(1, 1); + OpenGL.glTexCoord2f(0.0F, 1.0F); + OpenGL.glVertex2i(0, 1); + OpenGL.glEnd(); + } + if (i_5_ > 256) i_5_ >>= 1; + if (i_4_ > 256) i_4_ >>= 1; + i_6_++; + } + this.aHa_Sub2_6618.method3770(-422613672, aClass206_8844); + this.aHa_Sub2_6618.method3771((byte) -100, aClass258_Sub3Array8837[i_6_ + -1]); + this.aHa_Sub2_6618.method3773(-1, aClass206_8825); + aClass206_8825.method1503(0, (byte) 3); + OpenGL.glViewport(0, 0, 256, 256); + long l = aClass337_8824.aLong4178; + OpenGL.glUseProgramObjectARB(l); + OpenGL.glUniform1iARB(OpenGL.glGetUniformLocationARB(l, "sceneTex"), 0); + OpenGL.glUniform3fARB(OpenGL.glGetUniformLocationARB(l, "params"), DisplayModeManagerContainer216.aFloat5654, 0.0F, 0.0F); + OpenGL.glBegin(7); + OpenGL.glTexCoord2f(0.0F, 0.0F); + OpenGL.glVertex2i(0, 0); + OpenGL.glTexCoord2f(1.0F, 0.0F); + OpenGL.glVertex2i(1, 0); + OpenGL.glTexCoord2f(1.0F, 1.0F); + OpenGL.glVertex2i(1, 1); + OpenGL.glTexCoord2f(0.0F, 1.0F); + OpenGL.glVertex2i(0, 1); + OpenGL.glEnd(); + } + aClass206_8825.method1503(1, (byte) 3); + this.aHa_Sub2_6618.method3771((byte) -100, aClass258_Sub3_8835); + long l = aClass337_8822.aLong4178; + OpenGL.glUseProgramObjectARB(l); + OpenGL.glUniform1iARB(OpenGL.glGetUniformLocationARB(l, "baseTex"), 0); + OpenGL.glUniform3fARB(OpenGL.glGetUniformLocationARB(l, "step"), 0.00390625F, 0.0F, 0.0F); + OpenGL.glBegin(7); + OpenGL.glTexCoord2f(0.0F, 0.0F); + OpenGL.glVertex2i(0, 0); + OpenGL.glTexCoord2f(1.0F, 0.0F); + OpenGL.glVertex2i(1, 0); + OpenGL.glTexCoord2f(1.0F, 1.0F); + OpenGL.glVertex2i(1, 1); + OpenGL.glTexCoord2f(0.0F, 1.0F); + OpenGL.glVertex2i(0, 1); + OpenGL.glEnd(); + aClass206_8825.method1503(0, (byte) 3); + this.aHa_Sub2_6618.method3771((byte) -114, aClass258_Sub3_8830); + OpenGL.glUniform3fARB(OpenGL.glGetUniformLocationARB(l, "step"), 0.0F, 0.00390625F, 0.0F); + OpenGL.glBegin(7); + OpenGL.glTexCoord2f(0.0F, 0.0F); + if (i_3_ <= 98) aClass258_Sub3_8835 = null; + OpenGL.glVertex2i(0, 0); + OpenGL.glTexCoord2f(1.0F, 0.0F); + OpenGL.glVertex2i(1, 0); + OpenGL.glTexCoord2f(1.0F, 1.0F); + OpenGL.glVertex2i(1, 1); + OpenGL.glTexCoord2f(0.0F, 1.0F); + OpenGL.glVertex2i(0, 1); + OpenGL.glEnd(); + OpenGL.glPopAttrib(); + OpenGL.glPopMatrix(); + OpenGL.glMatrixMode(5888); + this.aHa_Sub2_6618.method3770(-422613672, aClass206_8825); + long l_7_ = aClass337_8836.aLong4178; + OpenGL.glUseProgramObjectARB(l_7_); + OpenGL.glUniform1iARB(OpenGL.glGetUniformLocationARB(l_7_, "sceneTex"), 0); + OpenGL.glUniform1iARB(OpenGL.glGetUniformLocationARB(l_7_, "bloomTex"), 1); + OpenGL.glUniform3fARB(OpenGL.glGetUniformLocationARB(l_7_, "params"), DefinitionSub13.aFloat9204, RadixText.aFloat6120, 0.0F); + this.aHa_Sub2_6618.method3738(-15039, 1); + this.aHa_Sub2_6618.method3771((byte) -99, aClass258_Sub3_8835); + this.aHa_Sub2_6618.method3738(-15039, 0); + this.aHa_Sub2_6618.method3771((byte) -82, class258_sub3_2_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("rda.H(" + (class258_sub3 != null ? "{...}" : "null") + ',' + (class258_sub3_2_ != null ? "{...}" : "null") + ',' + i + ',' + i_3_ + ')')); + } + } + + public static void method2765(int i) { + aClass21_8832 = null; + if (i != 2048) method2765(52); + } + + static final String throwableToString(boolean bool, Throwable throwable) throws IOException { + anInt8823++; + String string; + if (throwable instanceof RuntimeException_Sub1) { + RuntimeException_Sub1 runtimeexception_sub1 = (RuntimeException_Sub1) throwable; + string = (runtimeexception_sub1.detail + " | "); + throwable = (runtimeexception_sub1.cause); + } else string = ""; + StringWriter stringwriter = new StringWriter(); + PrintWriter printwriter = new PrintWriter(stringwriter); + throwable.printStackTrace(printwriter); + printwriter.close(); + String string_8_ = stringwriter.toString(); + BufferedReader bufferedreader = new BufferedReader(new StringReader(string_8_)); + if (bool != false) method2765(-61); + String string_9_ = bufferedreader.readLine(); + for (; ; ) { + String string_10_ = bufferedreader.readLine(); + if (string_10_ == null) break; + int i = string_10_.indexOf('('); + int i_11_ = string_10_.indexOf(')', 1 + i); + String string_12_; + if (i == -1) string_12_ = string_10_; + else string_12_ = string_10_.substring(0, i); + string_12_ = string_12_.trim(); + string_12_ = string_12_.substring(1 + string_12_.lastIndexOf(' ')); + string_12_ = string_12_.substring(1 + string_12_.lastIndexOf('\t')); + string += string_12_; + if (i != -1 && i_11_ != -1) { + int i_13_ = string_10_.indexOf(".java:", i); + if (i_13_ >= 0) string += string_10_.substring(i_13_ - -5, i_11_); + } + string += ' '; + } + string += "| " + string_9_; + return string; + } + + final void method2754(int i, byte i_14_, int i_15_) { + anInt8833 = i; + if (i_14_ >= 7) { + anInt8843++; + anInt8841 = i_15_; + int i_16_ = PrimitiveTypeDefinition.method3051(anInt8841, 4096); + int i_17_ = PrimitiveTypeDefinition.method3051(anInt8833, 4096); + if (anInt8826 != i_16_ || anInt8838 != i_17_) { + if (aClass258_Sub3Array8837 != null) { + for (int i_18_ = 0; (i_18_ < aClass258_Sub3Array8837.length); i_18_++) + aClass258_Sub3Array8837[i_18_].method1952(-19948); + aClass258_Sub3Array8837 = null; + } + if (i_16_ > 256 || i_17_ > 256) { + int i_19_ = i_16_; + int i_20_ = i_17_; + int i_21_ = 0; + while (i_19_ > 256 || i_20_ > 256) { + if (i_20_ > 256) i_20_ >>= 1; + if (i_19_ > 256) i_19_ >>= 1; + i_21_++; + } + if (aClass206_8844 == null) aClass206_8844 = new DisplayModeManagerContainer105(this.aHa_Sub2_6618); + i_19_ = i_16_; + aClass258_Sub3Array8837 = new GlTexture[i_21_]; + i_20_ = i_17_; + i_21_ = 0; + while (i_19_ > 256 || i_20_ > 256) { + aClass258_Sub3Array8837[i_21_++] = new GlTexture((this.aHa_Sub2_6618), 3553, 34842, i_19_, i_20_); + if (i_20_ > 256) i_20_ >>= 1; + if (i_19_ > 256) i_19_ >>= 1; + } + } else aClass206_8844 = null; + anInt8826 = i_16_; + anInt8838 = i_17_; + } + } + } + + final void method2763(byte i) { + aClass337_8822 = null; + aClass258_Sub3_8835 = null; + aClass206_8844 = null; + aClass206_8825 = null; + aClass337_8842 = null; + anInt8839++; + aClass258_Sub3Array8837 = null; + aClass337_8824 = null; + aClass337_8836 = null; + if (i > -123) method2756((byte) -56, -105); + aClass258_Sub3_8830 = null; + } + + final boolean method2751(boolean bool) { + if (bool != true) method2751(true); + anInt8829++; + return aClass206_8825 != null; + } + + final boolean method2767(byte i) { + if (i != 104) return false; + anInt8840++; + return this.aHa_Sub2_6618.aBoolean7820 && this.aHa_Sub2_6618.aBoolean7783 && this.aHa_Sub2_6618.aBoolean7818; + } + + final int method2761(boolean bool) { + anInt8827++; + if (bool != true) anInt8833 = -77; + return 1; + } + + final boolean method2758(int i) { + if (i < 84) aClass206_8844 = null; + anInt8834++; + if (this.aHa_Sub2_6618.aBoolean7820 && this.aHa_Sub2_6618.aBoolean7783 && this.aHa_Sub2_6618.aBoolean7818) { + aClass206_8825 = new DisplayModeManagerContainer105(this.aHa_Sub2_6618); + aClass258_Sub3_8835 = new GlTexture(this.aHa_Sub2_6618, 3553, 34842, 256, 256); + aClass258_Sub3_8835.method1965(false, false, 10243); + aClass258_Sub3_8830 = new GlTexture(this.aHa_Sub2_6618, 3553, 34842, 256, 256); + aClass258_Sub3_8830.method1965(false, false, 10243); + this.aHa_Sub2_6618.method3773(-1, aClass206_8825); + aClass206_8825.method1509(aClass258_Sub3_8835, 0, 0); + aClass206_8825.method1509(aClass258_Sub3_8830, 0, 1); + aClass206_8825.method1503(0, (byte) 3); + if (!aClass206_8825.method1507(124)) { + this.aHa_Sub2_6618.method3770(-422613672, aClass206_8825); + return false; + } + this.aHa_Sub2_6618.method3770(-422613672, aClass206_8825); + aClass337_8842 = (ShaderLinker.linkProgram(this.aHa_Sub2_6618, -1, (new Component359[]{RSARequest.method3249(35632, 80, this.aHa_Sub2_6618, "#extension GL_ARB_texture_rectangle : enable\nuniform vec3 params;\nuniform sampler2DRect sceneTex;\nconst vec3 lumCoef = vec3(0.2126, 0.7152, 0.0722);\nvoid main() {\n vec4 col = texture2DRect(sceneTex, gl_TexCoord[0].xy);\n gl_FragColor = col*step(params.x, dot(lumCoef, col.rgb));\n}\n")}))); + aClass337_8824 = (ShaderLinker.linkProgram(this.aHa_Sub2_6618, -1, (new Component359[]{RSARequest.method3249(35632, -45, this.aHa_Sub2_6618, "uniform vec3 params;\nuniform sampler2D sceneTex;\nconst vec3 lumCoef = vec3(0.2126, 0.7152, 0.0722);\nvoid main() {\n vec4 col = texture2D(sceneTex, gl_TexCoord[0].xy);\n gl_FragColor = col*step(params.x, dot(lumCoef, col.rgb));\n}\n")}))); + aClass337_8836 = (ShaderLinker.linkProgram(this.aHa_Sub2_6618, -1, (new Component359[]{RSARequest.method3249(35632, -108, this.aHa_Sub2_6618, "#extension GL_ARB_texture_rectangle : enable\nuniform vec3 params;\nuniform vec3 dimScale;\nuniform sampler2D bloomTex;\nuniform sampler2DRect sceneTex;\nconst vec3 lumCoef = vec3(0.2126, 0.7152, 0.0722);\nvoid main() {\n\t vec4 bloomCol = texture2D(bloomTex, gl_TexCoord[1].xy);\n\t vec4 sceneCol = texture2DRect(sceneTex, gl_TexCoord[0].xy);\n\t float preLum = 0.99*dot(lumCoef, sceneCol.rgb)+0.01;\n float postLum = preLum*(1.0+(preLum/params.y))/(preLum+1.0);\n\t gl_FragColor = sceneCol*(postLum/preLum)+bloomCol*params.x;\n}\n")}))); + aClass337_8822 = (ShaderLinker.linkProgram(this.aHa_Sub2_6618, -1, (new Component359[]{RSARequest.method3249(35632, -31, this.aHa_Sub2_6618, "uniform vec3 step;\nuniform sampler2D baseTex;\nvoid main() {\n\tvec4 fragCol = texture2D(baseTex, gl_TexCoord[0].xy)*0.091396265;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+(-1.0*step.xy))*0.088584304;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+( 1.0*step.xy))*0.088584304;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+(-2.0*step.xy))*0.08065692;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+( 2.0*step.xy))*0.08065692;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+(-3.0*step.xy))*0.068989515;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+( 3.0*step.xy))*0.068989515;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+(-4.0*step.xy))*0.055434637;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+( 4.0*step.xy))*0.055434637;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+(-5.0*step.xy))*0.04184426;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+( 5.0*step.xy))*0.04184426;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+(-6.0*step.xy))*0.029672023;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+( 6.0*step.xy))*0.029672023;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+(-7.0*step.xy))*0.019765828;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+( 7.0*step.xy))*0.019765828;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+(-8.0*step.xy))*0.012369139;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+( 8.0*step.xy))*0.012369139;\n\tgl_FragColor = fragCol;\n}\n")}))); + return aClass337_8824 != null && aClass337_8842 != null && aClass337_8836 != null && aClass337_8822 != null; + } + return false; + } + + GlWaterShader(GlToolkitSub2 var_ha_Sub2) { + super(var_ha_Sub2); + } +} diff --git a/client/shaders/gl/OpenGlShader.java b/client/shaders/gl/OpenGlShader.java new file mode 100644 index 000000000..4572e497e --- /dev/null +++ b/client/shaders/gl/OpenGlShader.java @@ -0,0 +1,233 @@ +/* OpenGlShader - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class367_Sub11` (JODE-obfuscated). + * OpenGL implementation of AbstractShader. Imports jaggl.OpenGL; builds GL shader state (Interface18_Impl3, Component321) for the OpenGL toolkit. + */ + +import jaggl.OpenGL; + +import java.awt.*; + +final class OpenGlShader extends AbstractShader { + private Interface18_Impl3 anInterface18_Impl3_7390; + private final boolean aBoolean7391; + private Component321 aClass193_7392; + static int anInt7393; + static byte[] aByteArray7394; + private Component321 aClass193_7395; + /** + * Monotonic client cycle — incremented once per {@link client#processGameTick} + * while not in fatal state 14. Frame-rate coupled (not RS server tick). + */ + public static int clientCycle = 0; + static int[] anIntArray7397 = new int[4096]; + static Component183 aClass114_7398 = new Component183(16, 6); + private boolean aBoolean7399 = false; + static int anInt7400; + static int anInt7401; + static int anInt7402; + static int anInt7403; + private Component321 aClass193_7404; + static int anInt7405; + private boolean aBoolean7406; + private Component321 aClass193_7407; + static int anInt7408; + static int anInt7409; + static int anInt7410; + private boolean aBoolean7411; + static int anInt7412; + private final float[] aFloatArray7413 = new float[4]; + static int anInt7414; + static Component299 aClass32_7415 = new Component299(8); + + final void method3528(int i) { + if (i <= 45) method3557(true); + anInt7401++; + int i_0_ = this.aHa_Sub3_4479.method3941(102); + MatrixSub2 class101_sub2 = this.aHa_Sub3_4479.method3887((byte) 98); + if (!aBoolean7411) OpenGL.glBindProgramARB(34336, (i_0_ != 2147483647 ? aClass193_7404.anInt2584 : aClass193_7395.anInt2584)); + else OpenGL.glBindProgramARB(34336, (i_0_ == 2147483647 ? aClass193_7392.anInt2584 : aClass193_7407.anInt2584)); + OpenGL.glEnable(34336); + aBoolean7406 = true; + class101_sub2.method919(0.0F, aFloatArray7413, -1.0F, 0.0F, (float) i_0_, (byte) -120); + OpenGL.glProgramLocalParameter4fARB(34336, 1, aFloatArray7413[0], aFloatArray7413[1], aFloatArray7413[2], aFloatArray7413[3]); + method3522(-16252); + } + + final boolean method3530(int i) { + anInt7414++; + if (i > -57) return false; + return aBoolean7391; + } + + final void method3520(byte i) { + anInt7408++; + this.aHa_Sub3_4479.method3897(1, -4382); + this.aHa_Sub3_4479.method3850((byte) -128, null); + this.aHa_Sub3_4479.method3874(Component385.aClass229_2207, 116, Component385.aClass229_2207); + this.aHa_Sub3_4479.method3849((byte) 47, 0, DisplayModeManagerContainer173.aClass70_4247); + this.aHa_Sub3_4479.method3849((byte) 47, 2, DefinitionSub39.aClass70_9485); + this.aHa_Sub3_4479.method3885(0, true, DisplayModeManagerContainer173.aClass70_4247); + this.aHa_Sub3_4479.method3897(0, -4382); + if (aBoolean7399) { + this.aHa_Sub3_4479.method3849((byte) 47, 0, DisplayModeManagerContainer173.aClass70_4247); + this.aHa_Sub3_4479.method3885(0, true, DisplayModeManagerContainer173.aClass70_4247); + aBoolean7399 = false; + } + if (i != 87) aClass32_7415 = null; + if (aBoolean7406) { + OpenGL.glBindProgramARB(34336, 0); + OpenGL.glDisable(34820); + OpenGL.glDisable(34336); + aBoolean7406 = false; + } + } + + final void method3526(int i, int i_1_, int i_2_) { + if (i != 10756) method3527(113, null, 113); + anInt7402++; + } + + final void method3527(int i, Interface18 interface18, int i_3_) { + if (interface18 != null) { + if (aBoolean7399) { + this.aHa_Sub3_4479.method3849((byte) 47, 0, DisplayModeManagerContainer173.aClass70_4247); + this.aHa_Sub3_4479.method3885(0, true, DisplayModeManagerContainer173.aClass70_4247); + aBoolean7399 = false; + } + this.aHa_Sub3_4479.method3850((byte) -122, interface18); + this.aHa_Sub3_4479.method3923(true, i); + } else if (!aBoolean7399) { + this.aHa_Sub3_4479.method3850((byte) 99, (this.aHa_Sub3_4479.anInterface18_8147)); + this.aHa_Sub3_4479.method3923(true, 1); + this.aHa_Sub3_4479.method3849((byte) 47, 0, DisplayModeManagerContainer343.aClass70_8737); + this.aHa_Sub3_4479.method3885(0, true, DisplayModeManagerContainer343.aClass70_8737); + aBoolean7399 = true; + } + if (i_3_ != -16776) method3525(16, true); + anInt7409++; + } + + final void method3522(int i) { + if (i != -16252) aBoolean7411 = true; + if (aBoolean7406) { + int i_4_ = this.aHa_Sub3_4479.XA(); + int i_5_ = this.aHa_Sub3_4479.i(); + float f = (float) i_4_ - 0.125F * (float) (-i_5_ + i_4_); + float f_6_ = -(0.25F * (float) (-i_5_ + i_4_)) + (float) i_4_; + OpenGL.glProgramLocalParameter4fARB(34336, 0, f_6_, f, 1.0F / (float) this.aHa_Sub3_4479.method3833((byte) -58), (float) this.aHa_Sub3_4479.method3826((byte) -70) / 255.0F); + this.aHa_Sub3_4479.method3897(1, -4382); + this.aHa_Sub3_4479.method3894(-28186, this.aHa_Sub3_4479.method3863(-104)); + this.aHa_Sub3_4479.method3897(0, -4382); + } + anInt7412++; + } + + static final void method3555(CacheStore class45, int i, boolean bool, long l, int i_7_, int i_8_, int i_9_) { + try { + anInt7410++; + Component100.method2260(i_9_, i_8_, l, 0, bool, class45, (byte) 126, i_7_); + int i_10_ = -35 / ((-41 - i) / 38); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("or.Q(" + (class45 != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + l + ',' + i_7_ + ',' + i_8_ + ',' + i_9_ + ')')); + } + } + + static final void method3556(boolean bool) { + anInt7405++; + if (bool == false) { + synchronized (NpcComposition.aClient1367) { + if (Component225.aFrame476 == null) { + Container container; + if (RSACipher.aFrame4904 != null) container = RSACipher.aFrame4904; + else if (ToolkitFactory.anApplet1530 == null) container = DefinitionSub9.anApplet_Sub1_9169; + else container = ToolkitFactory.anApplet1530; + SocketConnector.anInt3473 = container.getSize().width; + NodeSub22.anInt6857 = container.getSize().height; + if (RSACipher.aFrame4904 == container) { + Insets insets = RSACipher.aFrame4904.getInsets(); + SocketConnector.anInt3473 -= insets.left - -insets.right; + NodeSub22.anInt6857 -= insets.bottom + insets.top; + } + if (MenuEntry.getWindowMode(-86) == 1) { + DisplayModeManagerContainer23.anInt1524 = SocketConnector.anInt3473; + GlToolkitSub2.anInt7666 = NodeSub22.anInt6857; + Component236.anInt4017 = SocketConnector.anInt3473; + PacketReader.anInt10432 = NodeSub22.anInt6857; + NodeSub48.anInt7129 = 0; + DisplayModeManagerContainer147.anInt4167 = 0; + } else SpriteAtlasShader.method2158((byte) 56); + if (Component326.LIVE != DisplayModeManagerContainer345.aClass364_165) { + if (Component236.anInt4017 < 1024 && PacketReader.anInt10432 < 768) { + /* empty */ + } + } + DisplayModeManagerContainer50.gameCanvas.setSize(Component236.anInt4017, (PacketReader.anInt10432)); + if (NodeSub8.toolkit != null) { + if (Component210.gameCanvasAttached) s.method3980(120, DisplayModeManagerContainer50.gameCanvas); + else NodeSub8.toolkit.method3669(DisplayModeManagerContainer50.gameCanvas, Component236.anInt4017, PacketReader.anInt10432); + } + if (RSACipher.aFrame4904 == container) { + Insets insets = RSACipher.aFrame4904.getInsets(); + DisplayModeManagerContainer50.gameCanvas.setLocation(insets.left - -NodeSub48.anInt7129, DisplayModeManagerContainer147.anInt4167 + insets.top); + } else DisplayModeManagerContainer50.gameCanvas.setLocation((NodeSub48.anInt7129), DisplayModeManagerContainer147.anInt4167); + if (r.anInt9721 != -1) Component339.method1713(true, 520); + Component211.method1170((byte) -78); + } else { + /* empty */ + } + } + } + } + + OpenGlShader(GlExtensionManager class377, CacheStore class45) { + super(class377); + try { + if (class45 != null && class377.aBoolean9923) { + aClass193_7395 = NodeBaseSub2.method3442(34336, class45.getFile("gl", "uw_ground_unlit", -29832), class377, 4); + aClass193_7392 = NodeBaseSub2.method3442(34336, class45.getFile("gl", "uw_ground_lit", -29832), class377, 4); + aClass193_7404 = NodeBaseSub2.method3442(34336, class45.getFile("gl", "uw_model_unlit", -29832), class377, 4); + aClass193_7407 = NodeBaseSub2.method3442(34336, class45.getFile("gl", "uw_model_lit", -29832), class377, 4); + if (aClass193_7395 != null & aClass193_7392 != null & aClass193_7404 != null & aClass193_7407 != null) { + anInterface18_Impl3_7390 = this.aHa_Sub3_4479.method3839(1, 2, -15137, false, (new int[]{0, -1})); + anInterface18_Impl3_7390.method66(false, false, 25688); + aBoolean7391 = true; + } else aBoolean7391 = false; + } else aBoolean7391 = false; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("or.(" + (class377 != null ? "{...}" : "null") + ',' + (class45 != null ? "{...}" : "null") + ')')); + } + } + + public static void method3557(boolean bool) { + anIntArray7397 = null; + aClass32_7415 = null; + if (bool == true) { + aClass114_7398 = null; + aByteArray7394 = null; + } + } + + final void method3525(int i, boolean bool) { + anInt7400++; + aBoolean7411 = bool; + this.aHa_Sub3_4479.method3897(1, i ^ ~0x2a45); + this.aHa_Sub3_4479.method3850((byte) -32, anInterface18_Impl3_7390); + this.aHa_Sub3_4479.method3874((ShaderCompilerSub3.aClass229_6519), 109, Component253.aClass229_3196); + this.aHa_Sub3_4479.method3849((byte) 47, 0, DefinitionSub39.aClass70_9485); + if (i == 15192) { + this.aHa_Sub3_4479.method3924(true, false, 2, DisplayModeManagerContainer173.aClass70_4247, false); + this.aHa_Sub3_4479.method3885(0, true, DisplayModeManagerContainer343.aClass70_8737); + this.aHa_Sub3_4479.method3897(0, i + -19574); + method3528(75); + } + } + + final void method3521(boolean bool, byte i) { + anInt7393++; + if (i != -103) aClass193_7392 = null; + } +} diff --git a/client/shaders/gl/TransparentWaterShader.java b/client/shaders/gl/TransparentWaterShader.java new file mode 100644 index 000000000..9df060a4c --- /dev/null +++ b/client/shaders/gl/TransparentWaterShader.java @@ -0,0 +1,135 @@ +/* TransparentWaterShader - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ +/** + * RENAMED from `Class367_Sub6` (JODE-obfuscated). + * Transparent water shader. Extends AbstractShader; GLSL program implementing the 'transparent_water' effect. + */ + +import jagdx.IDirect3DDevice; +import jagdx.IDirect3DVertexShader; + +final class TransparentWaterShader extends AbstractShader { + private static final float[] aFloatArray7338 = new float[16]; + private Component209 aClass269_7339; + private D3DToolkit aClass378_7340; + private final IDirect3DVertexShader anIDirect3DVertexShader7341; + + final void method3527(int i, Interface18 interface18, int i_0_) { + if (i_0_ != -16776) method3526(30, 118, -114); + } + + final void method3521(boolean bool, byte i) { + this.aHa_Sub3_4479.method3874(DisplayModeManagerContainer64.aClass229_9011, 127, Component253.aClass229_3196); + if (i != -103) method3524(55); + } + + final void method3526(int i, int i_1_, int i_2_) { + IDirect3DDevice idirect3ddevice = aClass378_7340.anIDirect3DDevice9810; + if (aClass269_7339.aBoolean3458) { + float f = ((float) ((this.aHa_Sub3_4479.anInt8146) % 4000) / 4000.0F); + this.aHa_Sub3_4479.method3850((byte) -52, aClass269_7339.anInterface18_Impl1_3452); + idirect3ddevice.a(11, f, 0.0F, 0.0F, 0.0F); + } else { + int i_3_ = 16 * ((this.aHa_Sub3_4479.anInt8146) % 4000) / 4000; + this.aHa_Sub3_4479.method3850((byte) 122, (aClass269_7339.anInterface18_Impl3Array3459[i_3_])); + idirect3ddevice.a(11, 0.0F, 0.0F, 0.0F, 0.0F); + } + if (i != 10756) aClass269_7339 = null; + } + + TransparentWaterShader(D3DToolkit class378, CacheStore class45, Component209 class269) { + super(class378); + aClass269_7339 = class269; + aClass378_7340 = class378; + if (null == class45 || !aClass269_7339.method2039(123) || (257 > (aClass378_7340.aD3DCAPS9791.VertexShaderVersion & 0xffff))) anIDirect3DVertexShader7341 = null; + else anIDirect3DVertexShader7341 = aClass378_7340.anIDirect3DDevice9810.b(class45.getFile("dx", "transparent_water", -29832)); + } + + final void method3523(byte i) { + if (anIDirect3DVertexShader7341 != null) { + IDirect3DDevice idirect3ddevice = aClass378_7340.anIDirect3DDevice9810; + MatrixSub2 class101_sub2 = aClass378_7340.method3948(-22036); + idirect3ddevice.a(0, class101_sub2.method924(i ^ 0x7, aFloatArray7338)); + } + if (i != 12) aClass378_7340 = null; + } + + final void method3520(byte i) { + if (i == 87) { + aClass378_7340.method3957(null, (byte) -89); + this.aHa_Sub3_4479.method3849((byte) 47, 0, DisplayModeManagerContainer173.aClass70_4247); + this.aHa_Sub3_4479.method3849((byte) 47, 1, DebugPanicSub2.aClass70_8503); + this.aHa_Sub3_4479.method3849((byte) 47, 2, DefinitionSub39.aClass70_9485); + this.aHa_Sub3_4479.method3852(9, true); + } + } + + final void method3524(int i) { + if (anIDirect3DVertexShader7341 != null) { + IDirect3DDevice idirect3ddevice = aClass378_7340.anIDirect3DDevice9810; + idirect3ddevice.a(4, this.aHa_Sub3_4479.method3835(aFloatArray7338, -104)); + } + if (i != -14775) aClass378_7340 = null; + } + + final void method3532(int i) { + if (anIDirect3DVertexShader7341 != null) { + IDirect3DDevice idirect3ddevice = aClass378_7340.anIDirect3DDevice9810; + MatrixSub2 class101_sub2 = this.aHa_Sub3_4479.method3848(5); + class101_sub2.method915(aFloatArray7338, i ^ 0x28b8); + aFloatArray7338[0] *= 0.25F; + aFloatArray7338[2] *= 0.25F; + aFloatArray7338[3] *= 0.25F; + aFloatArray7338[6] *= 0.25F; + aFloatArray7338[5] *= 0.25F; + aFloatArray7338[1] *= 0.25F; + aFloatArray7338[7] *= 0.25F; + aFloatArray7338[4] *= 0.25F; + idirect3ddevice.SetVertexShaderConstantF(8, aFloatArray7338, 2); + } + if (i != 10425) aClass378_7340 = null; + } + + final boolean method3530(int i) { + if (i >= -57) method3522(-94); + return anIDirect3DVertexShader7341 != null; + } + + final void method3531(boolean bool) { + if (null != anIDirect3DVertexShader7341) { + IDirect3DDevice idirect3ddevice = aClass378_7340.anIDirect3DDevice9810; + MatrixSub2 class101_sub2 = aClass378_7340.method3948(-22036); + idirect3ddevice.a(0, class101_sub2.method924(11, aFloatArray7338)); + } + if (bool) method3524(46); + } + + final void method3522(int i) { + if (i != -16252) method3523((byte) 62); + if (anIDirect3DVertexShader7341 != null) { + IDirect3DDevice idirect3ddevice = aClass378_7340.anIDirect3DDevice9810; + if (this.aHa_Sub3_4479.anInt8091 <= 0) idirect3ddevice.a(10, 0.0F, 0.0F, 0.0F, 0.0F); + else { + float f = (this.aHa_Sub3_4479.aFloat8115); + float f_4_ = (this.aHa_Sub3_4479.aFloat8173); + float f_5_ = f_4_ - 512.0F; + idirect3ddevice.a(10, f_5_, 1.0F / (-f_5_ + f_4_), f_4_, 1.0F / (-f_4_ + f)); + } + this.aHa_Sub3_4479.method3894(-28186, this.aHa_Sub3_4479.anInt8144); + } + } + + final void method3525(int i, boolean bool) { + if (i != 15192) method3531(true); + this.aHa_Sub3_4479.method3849((byte) 47, 0, DisplayModeManagerContainer173.aClass70_4247); + this.aHa_Sub3_4479.method3849((byte) 47, 1, DefinitionSub39.aClass70_9485); + this.aHa_Sub3_4479.method3924(false, false, 2, DebugPanicSub2.aClass70_8503, true); + this.aHa_Sub3_4479.method3852(9, false); + aClass378_7340.method3957(anIDirect3DVertexShader7341, (byte) -89); + method3523((byte) 12); + method3532(10425); + method3524(-14775); + method3522(-16252); + } +} diff --git a/client/shaders/gl/WaterShader.java b/client/shaders/gl/WaterShader.java new file mode 100644 index 000000000..959e6585b --- /dev/null +++ b/client/shaders/gl/WaterShader.java @@ -0,0 +1,143 @@ +/* WaterShader - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class367_Sub9` (JODE-obfuscated). + * Water shader. Extends AbstractShader; GLSL program for the environment-mapped water effect (environment_mapped_water_v / environment_mapped_water_f stages). + */ + +import jaggl.OpenGL; + +final class WaterShader extends AbstractShader { + static int anInt7366; + static Component183 aClass114_7367 = new Component183(37, 7); + static int anInt7368; + private Component84 aClass89_7369; + static int anInt7370; + static CacheStore aClass45_7371; + static int anInt7372; + private boolean aBoolean7373; + static int anInt7374; + private Component209 aClass269_7375; + private boolean aBoolean7376; + static int anInt7377; + static String[] aStringArray7378; + static int anInt7379; + static int anInt7380; + + final void method3526(int i, int i_0_, int i_1_) { + anInt7372++; + if (aBoolean7373) { + int i_2_ = 1 << (i_0_ & 0x3); + float f = (float) (1 << (0x7 & i_0_ >> 3)) / 32.0F; + int i_3_ = i_1_ & 0xffff; + float f_4_ = (float) (0x3 & i_1_ >> 16) / 8.0F; + long l = aClass89_7369.aLong1510; + OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "time"), (float) ((this.aHa_Sub3_4479.anInt8146) * i_2_ % 40000) / 40000.0F); + OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "scale"), f); + OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "breakWaterDepth"), (float) i_3_); + OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "breakWaterOffset"), f_4_); + } + if (i != 10756) aClass269_7375 = null; + } + + final void method3520(byte i) { + if (i != 87) aBoolean7376 = true; + if (aBoolean7373) { + this.aHa_Sub3_4479.method3897(1, -4382); + this.aHa_Sub3_4479.method3850((byte) 70, null); + this.aHa_Sub3_4479.method3897(0, -4382); + this.aHa_Sub3_4479.method3850((byte) 107, null); + OpenGL.glUseProgramObjectARB(0L); + aBoolean7373 = false; + } + anInt7368++; + } + + static final String method3551(int i, int i_5_, int i_6_, boolean bool) { + anInt7374++; + if (i_5_ < 2 || i_5_ > 36) throw new IllegalArgumentException("Invalid radix:" + i_5_); + if (!bool || i_6_ < 0) return Integer.toString(i_6_, i_5_); + int i_7_ = 2; + int i_8_ = i_6_ / i_5_; + while (i_8_ != 0) { + i_8_ /= i_5_; + i_7_++; + } + char[] cs = new char[i_7_]; + cs[0] = '+'; + int i_9_ = i_7_ + -1; + if (i != 8320) return null; + for (/**/; i_9_ > 0; i_9_--) { + int i_10_ = i_6_; + i_6_ /= i_5_; + int i_11_ = i_10_ + -(i_6_ * i_5_); + if (i_11_ < 10) cs[i_9_] = (char) (i_11_ + 48); + else cs[i_9_] = (char) (i_11_ + 87); + } + return new String(cs); + } + + final boolean method3530(int i) { + if (i >= -57) aBoolean7373 = true; + anInt7366++; + return aBoolean7376; + } + + final void method3527(int i, Interface18 interface18, int i_12_) { + if (i_12_ != -16776) method3552(-90); + anInt7380++; + if (!aBoolean7373) { + this.aHa_Sub3_4479.method3850((byte) 102, interface18); + this.aHa_Sub3_4479.method3923(true, i); + } + } + + final void method3521(boolean bool, byte i) { + anInt7377++; + if (i != -103) anInt7379 = -84; + } + + WaterShader(GlExtensionManager class377, CacheStore class45, Component209 class269) { + super(class377); + try { + aClass269_7375 = class269; + if (class45 != null && class377.aBoolean9921 && class377.aBoolean9922) { + DisplayModeManagerContainer271 class39 = (ShaderCompiler.compileShader(class377, class45.getFile("gl", "environment_mapped_water_v", -29832), -108, 35633)); + DisplayModeManagerContainer271 class39_13_ = (ShaderCompiler.compileShader(class377, class45.getFile("gl", "environment_mapped_water_f", -29832), -122, 35632)); + aClass89_7369 = BitmapFont.method2582(class377, new DisplayModeManagerContainer271[]{class39, class39_13_}, -2113); + aBoolean7376 = (aClass89_7369 != null && aClass269_7375.method2041((byte) 120)); + } else aBoolean7376 = false; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ko.(" + (class377 != null ? "{...}" : "null") + ',' + (class45 != null ? "{...}" : "null") + ',' + (class269 != null ? "{...}" : "null") + ')')); + } + } + + public static void method3552(int i) { + aClass45_7371 = null; + aClass114_7367 = null; + aStringArray7378 = null; + if (i != 87) anInt7379 = 80; + } + + final void method3525(int i, boolean bool) { + anInt7370++; + if (i != 15192) method3551(58, -50, 40, true); + Interface18_Impl2 interface18_impl2 = this.aHa_Sub3_4479.method3834(-16777216); + if (aBoolean7376 && interface18_impl2 != null) { + this.aHa_Sub3_4479.method3897(1, i + -19574); + this.aHa_Sub3_4479.method3850((byte) -63, interface18_impl2); + this.aHa_Sub3_4479.method3897(0, -4382); + this.aHa_Sub3_4479.method3850((byte) -107, aClass269_7375.anInterface18_Impl1_3455); + long l = aClass89_7369.aLong1510; + OpenGL.glUseProgramObjectARB(l); + OpenGL.glUniform1iARB(OpenGL.glGetUniformLocationARB(l, "normalSampler"), 0); + OpenGL.glUniform1iARB(OpenGL.glGetUniformLocationARB(l, "envMapSampler"), 1); + OpenGL.glUniform3fARB(OpenGL.glGetUniformLocationARB(l, "sunDir"), -(this.aHa_Sub3_4479.aFloatArray8170[0]), -(this.aHa_Sub3_4479.aFloatArray8170[1]), -(this.aHa_Sub3_4479.aFloatArray8170[2])); + OpenGL.glUniform4fARB(OpenGL.glGetUniformLocationARB(l, "sunColour"), this.aHa_Sub3_4479.aFloat8180, this.aHa_Sub3_4479.aFloat8087, this.aHa_Sub3_4479.aFloat8168, 1.0F); + OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "sunExponent"), 928.0F * Math.abs(this.aHa_Sub3_4479.aFloatArray8170[1]) + 96.0F); + aBoolean7373 = true; + } + } +} diff --git a/client/shaders/gl/WaterShaderProgram.java b/client/shaders/gl/WaterShaderProgram.java new file mode 100644 index 000000000..46d574a53 --- /dev/null +++ b/client/shaders/gl/WaterShaderProgram.java @@ -0,0 +1,194 @@ +/* WaterShaderProgram - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class286_Sub6` (JODE-obfuscated). + * Environment-mapped water shader program. Extends ShaderProgram; GLSL program with envMapSampler for reflective water. + */ + +import jaggl.OpenGL; + +final class WaterShaderProgram extends ShaderProgram { + /** Alternate product slot game3 ({@code id}=2). */ + static GameType GAME3 = new GameType("game3", 2); + static int anInt6263; + static int anInt6264; + static int anInt6265; + private boolean aBoolean6266; + static int anInt6267; + private final Component178 aClass83_6268; + static int anInt6269; + static boolean[] aBooleanArray6270; + static int anInt6271; + private boolean aBoolean6272 = false; + static int anInt6273; + private Component244 aClass337_6274; + static int anInt6275; + static long occludeCalcNanos; + + final void method2140(AbstractGlTexture class258, byte i, int i_0_) { + if (!aBoolean6266) { + this.aHa_Sub2_3684.method3771((byte) -128, class258); + this.aHa_Sub2_3684.method3761(0, i_0_); + } + anInt6269++; + if (i >= -89) method2140(null, (byte) -85, 27); + } + + final void method2139(boolean bool, byte i) { + int i_1_ = -57 / ((-60 - i) / 38); + anInt6263++; + } + + final boolean method2137(int i) { + if (i >= -5) return true; + anInt6267++; + return false; + } + + static final String method2162(boolean bool) { + if (bool != false) occludeCalcNanos = -88L; + anInt6271++; + String string = "www"; + if (WaterShaderSub8.WTRC != DisplayModeManagerContainer345.aClass364_165) { + if (DisplayModeManagerContainer345.aClass364_165 != AssetCacheLoader.WTQA) { + if (DisplayModeManagerContainer345.aClass364_165 == Component83.WTWIP) string = "www-wtwip"; + } else string = "www-wtqa"; + } else string = "www-wtrc"; + String string_2_ = ""; + if (Component205.settingsCookie != null) string_2_ = "/p=" + Component205.settingsCookie; + return ("http://" + string + "." + (PacketReader.currentGameType.domain) + ".com/l=" + ObjectDeserializer.languageId + "/a=" + Connection.affiliateId + string_2_ + "/"); + } + + static final boolean method2163(boolean bool) { + anInt6273++; + try { + if (PlayerState.anInt7068 == 2) { + if (ShaderProgram.aClass348_Sub2_3683 == null) { + ShaderProgram.aClass348_Sub2_3683 = NodeSub2.method2734(DisplayModeManagerContainer77.aClass45_1848, (Component197.anInt10074), Renderable.anInt3971); + if (ShaderProgram.aClass348_Sub2_3683 == null) return false; + } + if (Component258.aClass26_1977 == null) Component258.aClass26_1977 = new AssetCacheLoader(CookieBuilder.aClass45_611, Component79.aClass45_4147); + BrowserUrlOpener class348_sub16_sub3 = Component122.aClass348_Sub16_Sub3_1564; + if (DebugPanic.aClass348_Sub16_Sub3_4743 != null) class348_sub16_sub3 = DebugPanic.aClass348_Sub16_Sub3_4743; + if (class348_sub16_sub3.method2866((ShaderProgram.aClass348_Sub2_3683), 22050, Component258.aClass26_1977, WaterShader.aClass45_7371, -35)) { + Component122.aClass348_Sub16_Sub3_1564 = class348_sub16_sub3; + Component122.aClass348_Sub16_Sub3_1564.method2864((byte) 52); + if (DefinitionSub35.anInt9444 <= 0) { + PlayerState.anInt7068 = 0; + Component122.aClass348_Sub16_Sub3_1564.method2861(0, Component255.anInt1059); + for (int i = 0; i < AbstractShaderSub3.anIntArray7299.length; i++) { + Component122.aClass348_Sub16_Sub3_1564.method2843(AbstractShaderSub3.anIntArray7299[i], i, -7836); + AbstractShaderSub3.anIntArray7299[i] = 255; + } + } else { + PlayerState.anInt7068 = 3; + Component122.aClass348_Sub16_Sub3_1564.method2861(0, (Math.min(Component255.anInt1059, DefinitionSub35.anInt9444))); + for (int i = 0; (AbstractShaderSub3.anIntArray7299.length > i); i++) { + Component122.aClass348_Sub16_Sub3_1564.method2843(AbstractShaderSub3.anIntArray7299[i], i, -7836); + AbstractShaderSub3.anIntArray7299[i] = 255; + } + } + if (DebugPanic.aClass348_Sub16_Sub3_4743 == null) { + if (Component205.aLong5971 <= 0) Component122.aClass348_Sub16_Sub3_1564.method2869(ShaderProgram.aClass348_Sub2_3683, InputHandler.aBoolean4275, false); + else Component122.aClass348_Sub16_Sub3_1564.method2870(ShaderProgram.aClass348_Sub2_3683, Component205.aLong5971, InputHandler.aBoolean4275, true, (byte) 24); + } + if (Component269.aClass279_8764 != null) Component269.aClass279_8764.method2088(bool, Component122.aClass348_Sub16_Sub3_1564); + DisplayModeManagerContainer77.aClass45_1848 = null; + ShaderProgram.aClass348_Sub2_3683 = null; + Component205.aLong5971 = 0L; + Component258.aClass26_1977 = null; + DebugPanic.aClass348_Sub16_Sub3_4743 = null; + return true; + } + } + if (bool != false) aBooleanArray6270 = null; + } catch (Exception exception) { + exception.printStackTrace(); + Component122.aClass348_Sub16_Sub3_1564.method2877(-128); + DebugPanic.aClass348_Sub16_Sub3_4743 = null; + Component258.aClass26_1977 = null; + ShaderProgram.aClass348_Sub2_3683 = null; + DisplayModeManagerContainer77.aClass45_1848 = null; + PlayerState.anInt7068 = 0; + } + return false; + } + + final void method2134(boolean bool, boolean bool_3_) { + if (bool_3_ == false) { + anInt6264++; + GlFramebufferTexture class258_sub2 = this.aHa_Sub2_3684.method3741(444720536); + if (aBoolean6272 && class258_sub2 != null) { + this.aHa_Sub2_3684.method3738(-15039, 1); + this.aHa_Sub2_3684.method3771((byte) -126, class258_sub2); + this.aHa_Sub2_3684.method3738(-15039, 0); + this.aHa_Sub2_3684.method3771((byte) -75, aClass83_6268.aClass258_Sub1_1443); + long l = aClass337_6274.aLong4178; + OpenGL.glUseProgramObjectARB(l); + OpenGL.glUniform1iARB(OpenGL.glGetUniformLocationARB(l, "normalSampler"), 0); + OpenGL.glUniform1iARB(OpenGL.glGetUniformLocationARB(l, "envMapSampler"), 1); + OpenGL.glUniform3fARB(OpenGL.glGetUniformLocationARB(l, "sunDir"), -(this.aHa_Sub2_3684.aFloatArray7825[0]), -(this.aHa_Sub2_3684.aFloatArray7825[1]), -(this.aHa_Sub2_3684.aFloatArray7825[2])); + OpenGL.glUniform4fARB(OpenGL.glGetUniformLocationARB(l, "sunColour"), this.aHa_Sub2_3684.aFloat7781, this.aHa_Sub2_3684.aFloat7816, this.aHa_Sub2_3684.aFloat7823, 1.0F); + OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "sunExponent"), (96.0F + Math.abs(this.aHa_Sub2_3684.aFloatArray7825[1]) * 928.0F)); + aBoolean6266 = true; + } + } + } + + final void method2133(int i) { + if (i <= -75) { + anInt6265++; + if (aBoolean6266) { + this.aHa_Sub2_3684.method3738(-15039, 1); + this.aHa_Sub2_3684.method3771((byte) -108, null); + this.aHa_Sub2_3684.method3738(-15039, 0); + this.aHa_Sub2_3684.method3771((byte) -121, null); + OpenGL.glUseProgramObjectARB(0L); + aBoolean6266 = false; + } + } + } + + public static void method2164(boolean bool) { + if (bool == true) { + GAME3 = null; + aBooleanArray6270 = null; + } + } + + WaterShaderProgram(GlToolkitSub2 var_ha_Sub2, Component178 class83) { + super(var_ha_Sub2); + aBoolean6266 = false; + do { + try { + aClass83_6268 = class83; + if (aClass83_6268.aClass258_Sub1_1443 == null || !(this.aHa_Sub2_3684.aBoolean7791) || !(this.aHa_Sub2_3684.aBoolean7783)) break; + Component359 class242 = (RSARequest.method3249(35633, -110, this.aHa_Sub2_3684, "uniform float time;\nuniform float scale;\nvarying vec3 wvVertex;\nvarying float waterDepth;\nvoid main() {\nwaterDepth = gl_MultiTexCoord0.z;\nvec4 ecVertex = gl_ModelViewMatrix*gl_Vertex;\nwvVertex.x = dot(gl_NormalMatrix[0], ecVertex.xyz);\nwvVertex.y = dot(gl_NormalMatrix[1], ecVertex.xyz);\nwvVertex.z = dot(gl_NormalMatrix[2], ecVertex.xyz);\ngl_TexCoord[0].x = dot(gl_TextureMatrix[0][0], gl_MultiTexCoord0)*scale;\ngl_TexCoord[0].y = dot(gl_TextureMatrix[0][1], gl_MultiTexCoord0)*scale;\ngl_TexCoord[0].z = time;\ngl_TexCoord[0].w = 1.0;\ngl_FogFragCoord = 1.0-clamp((gl_Fog.end+ecVertex.z)*gl_Fog.scale, 0.0, 1.0);\ngl_Position = ftransform();\n}\n")); + Component359 class242_4_ = (RSARequest.method3249(35632, -38, this.aHa_Sub2_3684, "varying vec3 wvVertex;\nvarying float waterDepth;\nuniform vec3 sunDir;\nuniform vec4 sunColour;\nuniform float sunExponent;\nuniform float breakWaterDepth;\nuniform float breakWaterOffset;\nuniform sampler3D normalSampler;\nuniform samplerCube envMapSampler;\nvoid main() {\nvec4 wnNormal = texture3D(normalSampler, gl_TexCoord[0].xyz).rbga;\nwnNormal.xyz = 2.0*wnNormal.xyz-1.0;\nvec3 wnVector = normalize(wvVertex);\nvec3 wnReflection = reflect(wnVector, wnNormal.xyz);\nvec3 envColour = textureCube(envMapSampler, wnReflection).rgb;\nvec4 specularColour = sunColour*pow(clamp(-dot(sunDir, wnReflection), 0.0, 1.0), sunExponent);\nfloat shoreFactor = clamp(waterDepth/breakWaterDepth-breakWaterOffset*wnNormal.w, 0.0, 1.0);\nfloat ndote = dot(wnVector, wnNormal.xyz);\nfloat fresnel = pow(1.0-abs(ndote), 2.0);\nvec4 surfaceColour = vec4(envColour, fresnel*shoreFactor)+specularColour*shoreFactor;\ngl_FragColor = vec4(mix(surfaceColour.rgb, gl_Fog.color.rgb, gl_FogFragCoord), surfaceColour.a);\n}\n")); + aClass337_6274 = ShaderLinker.linkProgram((this.aHa_Sub2_3684), -1, (new Component359[]{class242, class242_4_})); + aBoolean6272 = aClass337_6274 != null; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("tia.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + (class83 != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + final void method2136(int i, int i_5_, byte i_6_) { + if (aBoolean6266) { + int i_7_ = 1 << (0x3 & i); + float f = (float) (1 << ((i & 0x3d) >> 3)) / 32.0F; + int i_8_ = i_5_ & 0xffff; + float f_9_ = (float) (0x3 & i_5_ >> 16) / 8.0F; + long l = aClass337_6274.aLong4178; + OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "time"), (float) (i_7_ * (this.aHa_Sub2_3684.anInt7735) % 40000) / 40000.0F); + OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "scale"), f); + OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "breakWaterDepth"), (float) i_8_); + OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "breakWaterOffset"), f_9_); + } + if (i_6_ >= -42) method2163(false); + anInt6275++; + } +} diff --git a/client/shaders/gl/WaterShaderSub8.java b/client/shaders/gl/WaterShaderSub8.java new file mode 100644 index 000000000..0bdaf9f44 --- /dev/null +++ b/client/shaders/gl/WaterShaderSub8.java @@ -0,0 +1,205 @@ +/* WaterShaderSub8 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class WaterShaderSub8 +/** + * RENAMED from `Class367_Sub8` (JODE-obfuscated). + * Evidence: distinctive string present; subclass of AbstractShader (hierarchy) + */ extends AbstractShader { + static int anInt7349; + private float aFloat7350 = 0.0F; + static int anInt7351; + static int anInt7352; + private final Component209 aClass269_7353; + static int anInt7354; + static short aShort7355 = 1; + static int anInt7356; + static int anInt7357; + static int anInt7358; + static int anInt7359; + static int anInt7360; + /** World-test RC channel. */ + static NamedInteger WTRC = new NamedInteger("WTRC", 1); + static CacheStore aClass45_7362; + static Component183 aClass114_7363; + static int anInt7364; + static int anInt7365 = 0; + + /** Decode {@code is[i_1_ .. i_1_+i_0_)} as CP1252 ({@link Component352#cp1252HighChars}). */ + static final String decodeCp1252(byte[] is, int i, int i_0_, int i_1_) { + anInt7349++; + char[] cs = new char[i_0_]; + int i_2_ = 0; + for (int i_3_ = i; i_3_ < i_0_; i_3_++) { + int i_4_ = 0xff & is[i_3_ + i_1_]; + if (i_4_ != 0) { + if (i_4_ >= 128 && i_4_ < 160) { + int i_5_ = Component352.cp1252HighChars[i_4_ - 128]; + if (i_5_ == 0) i_5_ = 63; + i_4_ = i_5_; + } + cs[i_2_++] = (char) i_4_; + } + } + return new String(cs, 0, i_2_); + } + + static final int method3547(int i, int i_6_) { + if (DisplayModeManagerContainer173.anIntArrayArray4253 != null) return DisplayModeManagerContainer173.anIntArrayArray4253[i][i_6_] & 0xffffff; + return 0; + } + + static final void method3548(int i, Npc npc, int[] is, int[] is_7_, int[] is_8_) { + try { + if (i != -7387) method3550((byte) 10); + for (int i_9_ = 0; is_7_.length > i_9_; i_9_++) { + int i_10_ = is_7_[i_9_]; + int i_11_ = is[i_9_]; + int i_12_ = is_8_[i_9_]; + for (int i_13_ = 0; i_11_ != 0 && ((npc.aClass182Array10308).length > i_13_); i_13_++) { + if ((0x1 & i_11_) != 0) { + if (i_10_ != -1) { + DisplayModeManagerContainer167 class17 = RunescapeInfo.aClass87_191.method835(i_10_, i + 7394); + int i_14_ = class17.anInt248; + Component280 class182 = (npc.aClass182Array10308[i_13_]); + if (class182 != null) { + if (i_10_ != class182.anInt2454) { + if (RunescapeInfo.aClass87_191.method835(class182.anInt2454, 7).anInt239 <= class17.anInt239) class182 = npc.aClass182Array10308[i_13_] = null; + } else if (i_14_ == 0) class182 = npc.aClass182Array10308[i_13_] = null; + else if (i_14_ == 1) { + class182.anInt2448 = i_12_; + class182.anInt2456 = 0; + class182.anInt2455 = 1; + class182.anInt2451 = 0; + class182.anInt2445 = 0; + if (!npc.aBoolean10309) DisplayModeManagerContainer260.method2178(npc, 0, class17, -75); + } else if (i_14_ == 2) class182.anInt2445 = 0; + } + if (class182 == null) { + class182 = npc.aClass182Array10308[i_13_] = new Component280(); + class182.anInt2455 = 1; + class182.anInt2454 = i_10_; + class182.anInt2456 = 0; + class182.anInt2445 = 0; + class182.anInt2451 = 0; + class182.anInt2448 = i_12_; + if (!npc.aBoolean10309) DisplayModeManagerContainer260.method2178(npc, 0, class17, -19); + } + } else npc.aClass182Array10308[i_13_] = null; + } + i_11_ >>>= 1; + } + } + anInt7359++; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("kl.E(" + i + ',' + (npc != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ',' + (is_7_ != null ? "{...}" : "null") + ',' + (is_8_ != null ? "{...}" : "null") + ')')); + } + } + + final void method3520(byte i) { + this.aHa_Sub3_4479.method3897(1, -4382); + if (i != 87) method3549(-29, (byte) -5); + anInt7364++; + this.aHa_Sub3_4479.method3874(Component385.aClass229_2207, 120, Component385.aClass229_2207); + this.aHa_Sub3_4479.method3849((byte) 47, 0, DisplayModeManagerContainer173.aClass70_4247); + this.aHa_Sub3_4479.method3885(0, true, DisplayModeManagerContainer173.aClass70_4247); + this.aHa_Sub3_4479.method3910((byte) -26, 1); + this.aHa_Sub3_4479.method3850((byte) 86, null); + this.aHa_Sub3_4479.method3897(0, -4382); + this.aHa_Sub3_4479.method3885(0, true, DisplayModeManagerContainer173.aClass70_4247); + } + + WaterShaderSub8(GlToolkitSub3 var_ha_Sub3, Component209 class269) { + super(var_ha_Sub3); + try { + aClass269_7353 = class269; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("kl.(" + (var_ha_Sub3 != null ? "{...}" : "null") + ',' + (class269 != null ? "{...}" : "null") + ')')); + } + } + + static final boolean method3549(int i, byte i_15_) { + anInt7351++; + int i_16_ = -72 / ((37 - i_15_) / 48); + if (i == 25 || i == 20 || i == 44 || i == 46 || i == 60) return true; + return i == 30 || i == 1008; + } + + final void method3526(int i, int i_17_, int i_18_) { + this.aHa_Sub3_4479.method3897(1, -4382); + anInt7354++; + if (i != 10756) method3527(-26, null, 111); + if ((0x80 & i_17_) == 0) { + if ((0x1 & i_18_) != 1) { + if (aClass269_7353.aBoolean3458) this.aHa_Sub3_4479.method3850((byte) 108, aClass269_7353.anInterface18_Impl1_3452); + else this.aHa_Sub3_4479.method3850((byte) 126, (aClass269_7353.anInterface18_Impl3Array3459[0])); + } else if (aClass269_7353.aBoolean3458) { + aFloat7350 = (float) ((this.aHa_Sub3_4479.anInt8146) % 4000) / 4000.0F; + this.aHa_Sub3_4479.method3850((byte) -112, aClass269_7353.anInterface18_Impl1_3452); + } else { + int i_19_ = (16 * (this.aHa_Sub3_4479.anInt8146 % 4000) / 4000); + this.aHa_Sub3_4479.method3850((byte) -114, (aClass269_7353.anInterface18_Impl3Array3459[i_19_])); + } + } else this.aHa_Sub3_4479.method3850((byte) 85, null); + this.aHa_Sub3_4479.method3897(0, -4382); + } + + final boolean method3530(int i) { + if (i > -57) return false; + anInt7360++; + return aClass269_7353.method2039(116); + } + + public static void method3550(byte i) { + aClass114_7363 = null; + aClass45_7362 = null; + int i_20_ = -90 % ((-54 - i) / 60); + WTRC = null; + } + + final void method3532(int i) { + if (this.aHa_Sub3_4479.method3877((byte) -126) == 0) { + MatrixSub2 class101_sub2 = this.aHa_Sub3_4479.method3848(5); + this.aHa_Sub3_4479.method3897(1, i ^ ~0x39a4); + MatrixSub2 class101_sub2_21_ = this.aHa_Sub3_4479.method3820(false); + class101_sub2_21_.method898(class101_sub2); + class101_sub2_21_.method914(0.125F, 1.0F, 0, 0.125F); + class101_sub2_21_.method920(0.0F, false, aFloat7350, 0.0F); + this.aHa_Sub3_4479.method3853(-32, DefinitionSub38.aClass251_9477); + this.aHa_Sub3_4479.method3897(0, -4382); + } + anInt7352++; + if (i != 10425) method3530(16); + } + + final void method3521(boolean bool, byte i) { + if (i != -103) anInt7365 = 86; + this.aHa_Sub3_4479.method3874((ShaderCompilerSub3.aClass229_6519), i ^ ~0x17, Component385.aClass229_2207); + anInt7357++; + } + + final void method3525(int i, boolean bool) { + anInt7356++; + this.aHa_Sub3_4479.method3897(1, i ^ ~0x2a45); + this.aHa_Sub3_4479.method3874((ShaderCompilerSub3.aClass229_6519), 111, (DisplayModeManagerContainer64.aClass229_9011)); + this.aHa_Sub3_4479.method3924(true, false, 0, DisplayModeManagerContainer173.aClass70_4247, false); + this.aHa_Sub3_4479.method3885(0, true, DisplayModeManagerContainer343.aClass70_8737); + this.aHa_Sub3_4479.method3910((byte) -26, 0); + this.aHa_Sub3_4479.method3897(0, -4382); + this.aHa_Sub3_4479.method3894(-28186, -16777216); + this.aHa_Sub3_4479.method3885(0, true, DefinitionSub39.aClass70_9485); + method3532(10425); + if (i != 15192) aShort7355 = (short) 106; + } + + final void method3527(int i, Interface18 interface18, int i_22_) { + this.aHa_Sub3_4479.method3850((byte) 103, interface18); + anInt7358++; + if (i_22_ != -16776) method3520((byte) -127); + } + + static { + aClass114_7363 = new Component183(103, 8); + } +} diff --git a/client/shaders/gl/WaterSurfaceShader.java b/client/shaders/gl/WaterSurfaceShader.java new file mode 100644 index 000000000..e4ceac7d3 --- /dev/null +++ b/client/shaders/gl/WaterSurfaceShader.java @@ -0,0 +1,163 @@ +/* WaterSurfaceShader - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class286_Sub4` (JODE-obfuscated). + * Water surface shader. Extends ShaderProgram; GLSL program with normalSampler, waterDepth and sunDir uniforms for lit water surfaces. + */ + +import jaggl.OpenGL; + +final class WaterSurfaceShader extends ShaderProgram { + private boolean aBoolean6233; + private Component244 aClass337_6234; + static int anInt6235; + static int anInt6236; + private boolean aBoolean6237 = false; + static int anInt6238; + static int anInt6239; + static int anInt6240; + static int anInt6241; + private final Component178 aClass83_6242; + static int anInt6243; + static StringCache aClass351_6244 = new StringCache(9, 8); + static int anInt6245; + static int anInt6246; + + final void method2140(AbstractGlTexture class258, byte i, int i_0_) { + if (!aBoolean6233) { + this.aHa_Sub2_3684.method3771((byte) -124, class258); + this.aHa_Sub2_3684.method3761(0, i_0_); + } + anInt6240++; + if (i > -89) anInt6246 = 45; + } + + final void method2133(int i) { + anInt6236++; + if (i >= -75) method2137(-39); + if (aBoolean6233) { + this.aHa_Sub2_3684.method3738(-15039, 1); + this.aHa_Sub2_3684.method3771((byte) -92, null); + this.aHa_Sub2_3684.method3738(-15039, 0); + this.aHa_Sub2_3684.method3771((byte) -123, null); + OpenGL.glUseProgramObjectARB(0L); + aBoolean6233 = false; + } + } + + static final int method2154(int i) { + int i_1_ = -1; + for (int i_2_ = 0; i_2_ < DisplayModeManagerContainer216.anInt5652 - 1; i_2_++) { + if (i < (DisplayModeManagerContainer167.anIntArray256[i_2_] + Component35.anIntArray4271[i_2_])) { + i_1_ = i_2_; + break; + } + } + if (i_1_ == -1) i_1_ = DisplayModeManagerContainer216.anInt5652 - 1; + return i_1_; + } + + /** Population count of set bits in {@code i} (SWAR). */ + static final int bitCount(int i, byte i_3_) { + if (i_3_ != 43) return -54; + i = (i & 0x55555555) + ((~0x55555554 & i) >>> 1); + anInt6241++; + i = (0x33333333 & i >>> 2) + (0x33333333 & i); + i = 0xf0f0f0f & (i >>> 4) + i; + i += i >>> 8; + i += i >>> 16; + return i & 0xff; + } + + public static void method2156(int i) { + aClass351_6244 = null; + if (i <= 57) aClass351_6244 = null; + } + + final void method2134(boolean bool, boolean bool_4_) { + if (bool_4_ != false) aBoolean6237 = false; + anInt6235++; + GlFramebufferTexture class258_sub2 = this.aHa_Sub2_3684.method3741(444720536); + if (aBoolean6237 && class258_sub2 != null) { + float f = 2.0F * (-Math.abs(this.aHa_Sub2_3684.aFloatArray7825[1]) + 1.0F) + 1.0F; + this.aHa_Sub2_3684.method3738(-15039, 1); + this.aHa_Sub2_3684.method3771((byte) -114, class258_sub2); + this.aHa_Sub2_3684.method3738(-15039, 0); + this.aHa_Sub2_3684.method3771((byte) -87, (aClass83_6242.aClass258_Sub1_1443)); + long l = aClass337_6234.aLong4178; + OpenGL.glUseProgramObjectARB(l); + OpenGL.glUniform1iARB(OpenGL.glGetUniformLocationARB(l, "normalSampler"), 0); + OpenGL.glUniform1iARB(OpenGL.glGetUniformLocationARB(l, "envMapSampler"), 1); + OpenGL.glUniform3fARB(OpenGL.glGetUniformLocationARB(l, "sunDir"), -(this.aHa_Sub2_3684.aFloatArray7825[0]), -(this.aHa_Sub2_3684.aFloatArray7825[1]), -(this.aHa_Sub2_3684.aFloatArray7825[2])); + OpenGL.glUniform4fARB(OpenGL.glGetUniformLocationARB(l, "sunColour"), this.aHa_Sub2_3684.aFloat7781 * f, this.aHa_Sub2_3684.aFloat7816 * f, this.aHa_Sub2_3684.aFloat7823 * f, 1.0F); + OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "sunExponent"), 64.0F + 928.0F * Math.abs(this.aHa_Sub2_3684.aFloatArray7825[1])); + aBoolean6233 = true; + } + } + + final void method2139(boolean bool, byte i) { + int i_5_ = 126 / ((i - -60) / 38); + anInt6239++; + } + + WaterSurfaceShader(GlToolkitSub2 var_ha_Sub2, Component178 class83) { + super(var_ha_Sub2); + aBoolean6233 = false; + do { + try { + aClass83_6242 = class83; + if (aClass83_6242.aClass258_Sub1_1443 == null || !(this.aHa_Sub2_3684.aBoolean7791) || !(this.aHa_Sub2_3684.aBoolean7783)) break; + Component359 class242 = (RSARequest.method3249(35633, -21, this.aHa_Sub2_3684, "uniform float time;\nuniform float scale;\nvarying vec3 wvVertex;\nvarying float waterDepth;\nvoid main() {\nwaterDepth = gl_MultiTexCoord0.z;\nvec4 ecVertex = gl_ModelViewMatrix*gl_Vertex;\nwvVertex.x = dot(gl_NormalMatrix[0], ecVertex.xyz);\nwvVertex.y = dot(gl_NormalMatrix[1], ecVertex.xyz);\nwvVertex.z = dot(gl_NormalMatrix[2], ecVertex.xyz);\ngl_TexCoord[0].x = dot(gl_TextureMatrix[0][0], gl_MultiTexCoord0)*scale;\ngl_TexCoord[0].y = dot(gl_TextureMatrix[0][1], gl_MultiTexCoord0)*scale;\ngl_TexCoord[0].z = time;\ngl_TexCoord[0].w = 1.0;\ngl_FogFragCoord = 1.0-clamp((gl_Fog.end+ecVertex.z)*gl_Fog.scale, 0.0, 1.0);\ngl_Position = ftransform();\n}\n")); + Component359 class242_6_ = (RSARequest.method3249(35632, -53, this.aHa_Sub2_3684, "varying vec3 wvVertex;\nvarying float waterDepth;\nuniform vec3 sunDir;\nuniform vec4 sunColour;\nuniform float sunExponent;\nuniform vec2 waveIntensity;\nuniform float waveExponent;\nuniform float breakWaterDepth;\nuniform float breakWaterOffset;\nuniform sampler3D normalSampler;\nuniform samplerCube envMapSampler;\nvoid main() {\nvec4 wnNormal = texture3D(normalSampler, gl_TexCoord[0].xyz).rbga;\nwnNormal.xyz = 2.0*wnNormal.xyz-1.0;\nvec3 wnVector = normalize(wvVertex);\nvec3 wnReflection = reflect(wnVector, wnNormal.xyz);\nvec3 envColour = textureCube(envMapSampler, wnReflection).rgb;\nvec4 specularColour = sunColour*pow(clamp(-dot(sunDir, wnReflection), 0.0, 1.0), sunExponent);\nfloat shoreFactor = clamp(waterDepth/breakWaterDepth-breakWaterOffset*wnNormal.w, 0.0, 1.0);\nfloat waveFactor = pow(1.0-shoreFactor, waveExponent)-0.5;\nwaveFactor = -4.0*waveFactor*waveFactor+1.0;\nfloat ndote = dot(wnVector, wnNormal.xyz);\nfloat fresnel = pow(1.0-abs(ndote), 1.0);\nvec4 surfaceColour = mix(vec4(envColour, fresnel*shoreFactor), (waveIntensity.x*wnNormal.wwww)+waveIntensity.y, waveFactor)+specularColour*shoreFactor;\ngl_FragColor = vec4(mix(surfaceColour.rgb, gl_Fog.color.rgb, gl_FogFragCoord), surfaceColour.a);\n}\n")); + aClass337_6234 = ShaderLinker.linkProgram((this.aHa_Sub2_3684), -1, (new Component359[]{class242, class242_6_})); + aBoolean6237 = aClass337_6234 != null; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("er.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + (class83 != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + final void method2136(int i, int i_7_, byte i_8_) { + if (aBoolean6233) { + int i_9_ = 1 << (0x3 & i); + float f = (float) (1 << (0x7 & i >> 3)) / 32.0F; + int i_10_ = i_7_ & 0xffff; + float f_11_ = (float) (0x3 & i_7_ >> 16) / 8.0F; + float f_12_ = (float) ((i_7_ & 0x7c05fa) >> 19) / 16.0F; + float f_13_ = (float) ((0x784c903 & i_7_) >> 23) / 16.0F; + int i_14_ = (0x79631502 & i_7_) >> 27; + long l = aClass337_6234.aLong4178; + OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "time"), (float) (i_9_ * (this.aHa_Sub2_3684.anInt7735) % 40000) / 40000.0F); + OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "scale"), f); + OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "breakWaterDepth"), (float) i_10_); + OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "breakWaterOffset"), f_11_); + OpenGL.glUniform2fARB(OpenGL.glGetUniformLocationARB(l, "waveIntensity"), f_13_, f_12_); + OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "waveExponent"), (float) i_14_); + } + anInt6243++; + if (i_8_ > -42) method2140(null, (byte) -69, -63); + } + + static final String method2157(int i, int i_15_) { + anInt6238++; + if (i_15_ != -1431655765) method2157(-27, 75); + ColorTagNode class348_sub15 = ((ColorTagNode) DisplayModeManagerContainer91.aClass356_389.get(i, -6008)); + if (class348_sub15 != null) { + Component179 class348_sub23_sub4 = class348_sub15.aClass55_Sub1_6768.method513(i_15_ + 1431655815); + if (class348_sub23_sub4 != null) { + double d = class348_sub15.aClass55_Sub1_6768.method519(i_15_ ^ 0x55555524); + if ((double) class348_sub23_sub4.method2983((byte) 85) <= d && d <= (double) class348_sub23_sub4.method2984((byte) 97)) return class348_sub23_sub4.method2989(9); + } + } + return null; + } + + final boolean method2137(int i) { + anInt6245++; + if (i >= -5) method2136(94, 3, (byte) 11); + return aBoolean6237; + } +} diff --git a/client/sprites/BufferedImageSprite.java b/client/sprites/BufferedImageSprite.java new file mode 100644 index 000000000..a062e846f --- /dev/null +++ b/client/sprites/BufferedImageSprite.java @@ -0,0 +1,43 @@ +/* BufferedImageSprite - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub31_Sub1` (JODE-obfuscated). + * Sprite rendered into a java.awt.image.BufferedImage (method3008/method3011); builds a BufferedImage from a DirectColorModel + WritableRaster. + */ + +import java.awt.*; +import java.awt.image.*; +import java.util.Hashtable; + +final class BufferedImageSprite extends Sprite { + private Shape aShape9064; + private Canvas aCanvas9065; + private Image anImage9066; + private Rectangle aRectangle9067; + + final void method3011(int i, int i_0_, int i_1_, Graphics graphics, int i_2_, int i_3_, int i_4_, int i_5_) { + aShape9064 = graphics.getClip(); + aRectangle9067.x = i_3_; + aRectangle9067.width = i_4_; + aRectangle9067.y = i; + aRectangle9067.height = i_1_; + graphics.setClip(aRectangle9067); + graphics.drawImage(anImage9066, i_3_ + -i_0_, -i_5_ + i, aCanvas9065); + if (i_2_ == -1) graphics.setClip(aShape9064); + } + + final void method3008(Canvas canvas, int i, int i_6_, int i_7_) { + aCanvas9065 = canvas; + aRectangle9067 = new Rectangle(); + this.anInt6917 = i; + this.anInt6920 = i_7_; + this.anIntArray6916 = new int[(this.anInt6920 * this.anInt6917)]; + DataBufferInt databufferint = new DataBufferInt(this.anIntArray6916, (this.anIntArray6916).length); + if (i_6_ > -42) method3008(null, 6, -14, 63); + DirectColorModel directcolormodel = new DirectColorModel(32, 16711680, 65280, 255); + WritableRaster writableraster = Raster.createWritableRaster((directcolormodel.createCompatibleSampleModel((this.anInt6917), (this.anInt6920))), databufferint, null); + anImage9066 = new BufferedImage(directcolormodel, writableraster, false, new Hashtable()); + } +} diff --git a/client/sprites/Component24.java b/client/sprites/Component24.java new file mode 100644 index 000000000..8a2f575a8 --- /dev/null +++ b/client/sprites/Component24.java @@ -0,0 +1,108 @@ +/* Component24 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +abstract class Component24 +/** + * RENAMED from `Class105` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ implements Interface3 { + private final void method961(float f, float f_0_, float f_1_, float f_2_, int i, int i_3_, int i_4_, int i_5_, int i_6_) { + if (i != 0) { + double d = (double) (i_3_ & 0xffff) * 9.587379924285257E-5; + float f_7_ = (float) Math.sin(d) * (float) i; + float f_8_ = (float) Math.cos(d) * (float) i; + float f_9_ = (-f_1_ * f_8_ + -f_2_ * f_7_) / 4096.0F + f; + float f_10_ = (f_1_ * f_7_ + -f_2_ * f_8_) / 4096.0F + f_0_; + float f_11_ = ((((float) method966() - f_1_) * f_8_ + -f_2_ * f_7_) / 4096.0F + f); + float f_12_ = ((-((float) method966() - f_1_) * f_7_ + -f_2_ * f_8_) / 4096.0F + f_0_); + float f_13_ = ((-f_1_ * f_8_ + ((float) method980() - f_2_) * f_7_) / 4096.0F + f); + float f_14_ = (((f_1_ * f_7_ + ((float) method980() - f_2_) * f_8_) / 4096.0F) + f_0_); + method978(f_9_, f_10_, f_11_, f_12_, f_13_, f_14_, i_4_, i_5_, i_6_); + } + } + + abstract void method962(float f, float f_15_, float f_16_, float f_17_, float f_18_, float f_19_, int i, int i_20_, int i_21_, int i_22_); + + abstract void method963(int i, int i_23_, Shader var_aa, int i_24_, int i_25_); + + abstract void method964(int i, int i_26_, int i_27_, int i_28_, int i_29_); + + abstract void method965(int i, int i_30_, int i_31_, int i_32_, int i_33_, int i_34_, int i_35_); + + abstract int method966(); + + final void method967(float f, float f_36_, float f_37_, float f_38_, int i, int i_39_, Shader var_aa, int i_40_, int i_41_) { + if (i != 0) { + double d = (double) (i_39_ & 0xffff) * 9.587379924285257E-5; + float f_42_ = (float) Math.sin(d) * (float) i; + float f_43_ = (float) Math.cos(d) * (float) i; + float f_44_ = (-f_37_ * f_43_ + -f_38_ * f_42_) / 4096.0F + f; + float f_45_ = (f_37_ * f_42_ + -f_38_ * f_43_) / 4096.0F + f_36_; + float f_46_ = ((((float) method966() - f_37_) * f_43_ + -f_38_ * f_42_) / 4096.0F + f); + float f_47_ = ((-((float) method966() - f_37_) * f_42_ + -f_38_ * f_43_) / 4096.0F + f_36_); + float f_48_ = ((-f_37_ * f_43_ + ((float) method980() - f_38_) * f_42_) / 4096.0F + f); + float f_49_ = ((f_37_ * f_42_ + ((float) method980() - f_38_) * f_43_) / 4096.0F + f_36_); + method975(f_44_, f_45_, f_46_, f_47_, f_48_, f_49_, var_aa, i_40_, i_41_); + } + } + + /** Copy framebuffer pixels into this sprite (mode in {@code i_51_}). */ + abstract void capturePixels(int i, int i_50_, int i_51_); + + abstract int method969(); + + final void method970(int i, int i_52_, int i_53_, int i_54_, int i_55_, int i_56_, int i_57_) { + method982(i, i_52_, i_53_, i_54_, i_55_, i_56_, i_57_, 1); + } + + abstract int method971(); + + final void method972(int i, int i_58_, int i_59_, int i_60_) { + method965(i, i_58_, i_59_, i_60_, 1, 0, 1); + } + + final void method973(int i, int i_61_, int i_62_, int i_63_) { + method982(i, i_61_, i_62_, i_63_, 1, 0, 1, 1); + } + + final void method974(int i, int i_64_) { + method964(i, i_64_, 1, 0, 1); + } + + private final void method975(float f, float f_65_, float f_66_, float f_67_, float f_68_, float f_69_, Shader var_aa, int i, int i_70_) { + method983(f, f_65_, f_66_, f_67_, f_68_, f_69_, 1, var_aa, i, i_70_); + } + + final void method976(float f, float f_71_, int i, int i_72_, Shader var_aa, int i_73_, int i_74_) { + method967(f, f_71_, (float) method966() / 2.0F, (float) method980() / 2.0F, i, i_72_, var_aa, i_73_, i_74_); + } + + final void method977(float f, float f_75_, int i, int i_76_, int i_77_, int i_78_, int i_79_) { + method961(f, f_75_, (float) method966() / 2.0F, (float) method980() / 2.0F, i, i_76_, i_77_, i_78_, i_79_); + } + + private final void method978(float f, float f_80_, float f_81_, float f_82_, float f_83_, float f_84_, int i, int i_85_, int i_86_) { + method962(f, f_80_, f_81_, f_82_, f_83_, f_84_, i, i_85_, i_86_, 1); + } + + abstract void method979(int i, int i_87_, int i_88_, int i_89_, int i_90_, int i_91_); + + abstract int method980(); + + final void method981(float f, float f_92_, int i, int i_93_) { + method961(f, f_92_, (float) method966() / 2.0F, (float) method980() / 2.0F, i, i_93_, 1, 0, 1); + } + + abstract void method982(int i, int i_94_, int i_95_, int i_96_, int i_97_, int i_98_, int i_99_, int i_100_); + + abstract void method983(float f, float f_101_, float f_102_, float f_103_, float f_104_, float f_105_, int i, Shader var_aa, int i_106_, int i_107_); + + abstract void method984(int[] is); + + public Component24() { + /* empty */ + } + + abstract void method985(int i, int i_108_, int i_109_, int i_110_); +} diff --git a/client/sprites/ImageProducerSprite.java b/client/sprites/ImageProducerSprite.java new file mode 100644 index 000000000..13dea5619 --- /dev/null +++ b/client/sprites/ImageProducerSprite.java @@ -0,0 +1,117 @@ +/* ImageProducerSprite - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub31_Sub2` (JODE-obfuscated). + * Sprite that implements java.awt.image.ImageProducer (method3015/3017); produces an Image from sprite pixels. + */ + +import java.awt.*; +import java.awt.image.ColorModel; +import java.awt.image.DirectColorModel; +import java.awt.image.ImageConsumer; +import java.awt.image.ImageProducer; + +final class ImageProducerSprite extends Sprite implements ImageProducer { + static int anInt9068; + static int[] anIntArray9069 = new int[1]; + static int anInt9070; + static int anInt9071; + static int anInt9072; + private Canvas aCanvas9073; + static int anInt9074; + private Image anImage9075; + static int anInt9076; + /** + * Vertical space reserved for the console prompt row at the bottom of the purple band + * (separator + {@code -->} line). History is drawn above {@code consoleH - consolePromptHeight}. + */ + static int consolePromptHeight; + private ColorModel aColorModel9078; + static int anInt9079; + static int anInt9080; + static int anInt9081; + static Component186[][][] aClass357ArrayArrayArray9082; + private ImageConsumer anImageConsumer9083; + + private final synchronized void method3015(int i, int i_0_, int i_1_, int i_2_, int i_3_) { + anInt9068++; + if (anImageConsumer9083 != null) { + anImageConsumer9083.setPixels(i_1_, i_2_, i_3_, i, aColorModel9078, (this.anIntArray6916), i_2_ * (this.anInt6917) + i_1_, this.anInt6917); + anImageConsumer9083.imageComplete(2); + if (i_0_ != 25786) anIntArray9069 = null; + } + } + + public static void method3016(int i) { + if (i != 65280) method3016(-19); + anIntArray9069 = null; + aClass357ArrayArrayArray9082 = null; + } + + public final synchronized void removeConsumer(ImageConsumer imageconsumer) { + if (imageconsumer == anImageConsumer9083) anImageConsumer9083 = null; + anInt9081++; + } + + public final void startProduction(ImageConsumer imageconsumer) { + addConsumer(imageconsumer); + anInt9076++; + } + + private final synchronized void method3017(byte i) { + anInt9071++; + int i_4_ = -25 % ((i - -41) / 55); + if (anImageConsumer9083 != null) { + anImageConsumer9083.setPixels(0, 0, this.anInt6917, this.anInt6920, aColorModel9078, (this.anIntArray6916), 0, this.anInt6917); + anImageConsumer9083.imageComplete(2); + } + } + + public final synchronized void addConsumer(ImageConsumer imageconsumer) { + anInt9072++; + anImageConsumer9083 = imageconsumer; + imageconsumer.setDimensions(this.anInt6917, this.anInt6920); + imageconsumer.setProperties(null); + imageconsumer.setColorModel(aColorModel9078); + imageconsumer.setHints(14); + } + + public final synchronized boolean isConsumer(ImageConsumer imageconsumer) { + anInt9080++; + return anImageConsumer9083 == imageconsumer; + } + + final void method3011(int i, int i_5_, int i_6_, Graphics graphics, int i_7_, int i_8_, int i_9_, int i_10_) { + if (i_7_ != -1) method3011(-26, 63, -8, null, 101, 114, -111, 37); + anInt9074++; + method3015(i_6_, 25786, i_5_, i_10_, i_9_); + Shape shape = graphics.getClip(); + graphics.clipRect(i_8_, i, i_9_, i_6_); + graphics.drawImage(anImage9075, i_8_ - i_5_, -i_10_ + i, aCanvas9073); + graphics.setClip(shape); + } + + final void method3008(Canvas canvas, int i, int i_11_, int i_12_) { + this.anInt6920 = i_12_; + anInt9079++; + this.anInt6917 = i; + aCanvas9073 = canvas; + this.anIntArray6916 = new int[(this.anInt6917 * this.anInt6920)]; + aColorModel9078 = new DirectColorModel(32, 16711680, 65280, 255); + if (i_11_ <= -42) { + anImage9075 = aCanvas9073.createImage(this); + method3017((byte) -117); + aCanvas9073.prepareImage(anImage9075, aCanvas9073); + method3017((byte) 86); + aCanvas9073.prepareImage(anImage9075, aCanvas9073); + method3017((byte) 51); + aCanvas9073.prepareImage(anImage9075, aCanvas9073); + } + } + + public final void requestTopDownLeftRightResend(ImageConsumer imageconsumer) { + anInt9070++; + } +} diff --git a/client/sprites/Sprite.java b/client/sprites/Sprite.java new file mode 100644 index 000000000..17cb74419 --- /dev/null +++ b/client/sprites/Sprite.java @@ -0,0 +1,227 @@ +/* Sprite - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub31` (JODE-obfuscated). + * Abstract sprite/image base (extends Node). Declares draw-to-canvas (method3008) and draw-to-Graphics (method3011). Subclasses BufferedImageSprite and ImageProducerSprite. + */ + +import java.awt.*; +import java.math.BigInteger; + +abstract class Sprite extends Node { + static int anInt6913 = 0; + static int anInt6914; + static int anInt6915; + int[] anIntArray6916; + int anInt6917; + static int anInt6918; + static int anInt6919; + int anInt6920; + static BigInteger aBigInteger6921; + static int anInt6922; + static int anInt6923 = -1; + static int anInt6924; + static StringCache aClass351_6925; + static String aString6926; + + /** Stop / reset the current music stream state. */ + static final void resetMusic(int i, int i_0_) { + Component197.anInt10074 = -1; + DebugPanic.aClass348_Sub16_Sub3_4743 = null; + if (i_0_ != 22684) anInt6913 = -117; + anInt6922++; + InputHandler.aBoolean4275 = false; + DisplayModeManagerContainer77.aClass45_1848 = null; + Renderable.anInt3971 = -1; + Component329.anInt5994 = i; + PlayerState.anInt7068 = 1; + Component255.anInt1059 = 0; + } + + abstract void method3008(Canvas canvas, int i, int i_1_, int i_2_); + + static final void method3009(int i, int i_3_, int i_4_, int i_5_, int i_6_, byte i_7_, int i_8_, int i_9_, int i_10_, int i_11_) { + if (i_11_ != i_4_ || i != i_9_ || i_8_ != i_5_ || i_3_ != i_6_) { + int i_12_ = i_11_; + int i_13_ = i_9_; + int i_14_ = 3 * i_11_; + int i_15_ = 3 * i_9_; + int i_16_ = 3 * i_4_; + int i_17_ = 3 * i; + int i_18_ = 3 * i_8_; + int i_19_ = i_3_ * 3; + int i_20_ = -i_11_ + (i_16_ + -i_18_) + i_5_; + int i_21_ = -i_9_ + i_17_ + -i_19_ + i_6_; + int i_22_ = i_14_ + (-i_16_ + (i_18_ + -i_16_)); + int i_23_ = -i_17_ + (-i_17_ + (i_19_ - -i_15_)); + int i_24_ = -i_14_ + i_16_; + int i_25_ = i_17_ - i_15_; + for (int i_26_ = 128; i_26_ <= 4096; i_26_ += 128) { + int i_27_ = i_26_ * i_26_ >> 12; + int i_28_ = i_27_ * i_26_ >> 12; + int i_29_ = i_20_ * i_28_; + int i_30_ = i_28_ * i_21_; + int i_31_ = i_22_ * i_27_; + int i_32_ = i_27_ * i_23_; + int i_33_ = i_24_ * i_26_; + int i_34_ = i_25_ * i_26_; + int i_35_ = i_11_ + (i_29_ + (i_31_ + i_33_) >> 12); + int i_36_ = i_9_ + (i_30_ - -i_32_ + i_34_ >> 12); + DisplayModeManagerContainer341.method1783(i_12_, -1, i_13_, i_36_, i_35_, i_10_); + i_13_ = i_36_; + i_12_ = i_35_; + } + } else DisplayModeManagerContainer341.method1783(i_11_, -1, i_9_, i_6_, i_5_, i_10_); + anInt6919++; + int i_37_ = 64 % ((50 - i_7_) / 51); + } + + public static void method3010(int i) { + aClass351_6925 = null; + aBigInteger6921 = null; + if (i != -1316) aClass351_6925 = null; + aString6926 = null; + } + + abstract void method3011(int i, int i_38_, int i_39_, Graphics graphics, int i_40_, int i_41_, int i_42_, int i_43_); + + static final void method3012(int i, int i_44_, int i_45_, int i_46_, int i_47_, byte i_48_, int i_49_, int i_50_) { + anInt6918++; + int i_51_ = 0; + int i_52_ = i; + int i_53_ = 0; + int i_54_ = -i_50_ + i_45_; + int i_55_ = -i_50_ + i; + int i_56_ = i_45_ * i_45_; + int i_57_ = i * i; + int i_58_ = i_54_ * i_54_; + int i_59_ = i_55_ * i_55_; + int i_60_ = i_57_ << 1; + int i_61_ = i_56_ << 1; + int i_62_ = i_59_ << 1; + int i_63_ = i_58_ << 1; + int i_64_ = i << 1; + int i_65_ = i_55_ << 1; + int i_66_ = i_60_ + (-i_64_ + 1) * i_56_; + int i_67_ = i_57_ + -(i_61_ * (i_64_ - 1)); + int i_68_ = i_62_ + (-i_65_ + 1) * i_58_; + int i_69_ = -((i_65_ + -1) * i_63_) + i_59_; + int i_70_ = i_56_ << 2; + int i_71_ = i_57_ << 2; + int i_72_ = i_58_ << 2; + int i_73_ = i_59_ << 2; + int i_74_ = 3 * i_60_; + int i_75_ = (-3 + i_64_) * i_61_; + int i_76_ = 3 * i_62_; + int i_77_ = i_63_ * (-3 + i_65_); + int i_78_ = i_71_; + int i_79_ = i_70_ * (-1 + i); + int i_80_ = 51 / ((i_48_ - -63) / 44); + int i_81_ = i_73_; + int i_82_ = (-1 + i_55_) * i_72_; + int[] is = DisplayModeManagerContainer167.anIntArrayArray255[i_49_]; + MenuOpener.fillInts(-27, i_47_ - i_54_, is, -i_45_ + i_47_, i_46_); + MenuOpener.fillInts(-27, i_47_ + i_54_, is, -i_54_ + i_47_, i_44_); + MenuOpener.fillInts(-27, i_45_ + i_47_, is, i_47_ + i_54_, i_46_); + while (i_52_ > 0) { + boolean bool = i_55_ >= i_52_; + if (i_66_ < 0) { + while (i_66_ < 0) { + i_67_ += i_78_; + i_66_ += i_74_; + i_78_ += i_71_; + i_51_++; + i_74_ += i_71_; + } + } + if (bool) { + if (i_68_ < 0) { + while (i_68_ < 0) { + i_69_ += i_81_; + i_68_ += i_76_; + i_53_++; + i_81_ += i_73_; + i_76_ += i_73_; + } + } + if (i_69_ < 0) { + i_69_ += i_81_; + i_68_ += i_76_; + i_76_ += i_73_; + i_53_++; + i_81_ += i_73_; + } + i_69_ += -i_77_; + i_68_ += -i_82_; + i_77_ -= i_72_; + i_82_ -= i_72_; + } + if (i_67_ < 0) { + i_67_ += i_78_; + i_66_ += i_74_; + i_78_ += i_71_; + i_51_++; + i_74_ += i_71_; + } + i_67_ += -i_75_; + i_66_ += -i_79_; + i_75_ -= i_70_; + i_52_--; + i_79_ -= i_70_; + int i_83_ = -i_52_ + i_49_; + int i_84_ = i_49_ - -i_52_; + int i_85_ = i_51_ + i_47_; + int i_86_ = -i_51_ + i_47_; + if (bool) { + int i_87_ = i_47_ + i_53_; + int i_88_ = -i_53_ + i_47_; + MenuOpener.fillInts(-27, i_88_, DisplayModeManagerContainer167.anIntArrayArray255[i_83_], i_86_, i_46_); + MenuOpener.fillInts(-27, i_87_, DisplayModeManagerContainer167.anIntArrayArray255[i_83_], i_88_, i_44_); + MenuOpener.fillInts(-27, i_85_, DisplayModeManagerContainer167.anIntArrayArray255[i_83_], i_87_, i_46_); + MenuOpener.fillInts(-27, i_88_, DisplayModeManagerContainer167.anIntArrayArray255[i_84_], i_86_, i_46_); + MenuOpener.fillInts(-27, i_87_, DisplayModeManagerContainer167.anIntArrayArray255[i_84_], i_88_, i_44_); + MenuOpener.fillInts(-27, i_85_, DisplayModeManagerContainer167.anIntArrayArray255[i_84_], i_87_, i_46_); + } else { + MenuOpener.fillInts(-27, i_85_, DisplayModeManagerContainer167.anIntArrayArray255[i_83_], i_86_, i_46_); + MenuOpener.fillInts(-27, i_85_, DisplayModeManagerContainer167.anIntArrayArray255[i_84_], i_86_, i_46_); + } + } + } + + static final int method3013(int i, boolean bool) { + if (bool != true) anInt6923 = -14; + anInt6915++; + return i & 0xff; + } + + /** Decode client-preference varp values from a preferences buffer. */ + static final void readPreferences(Buffer class348_sub49, byte i) { + anInt6914++; + if ((class348_sub49.payload.length - class348_sub49.offset) >= 1) { + int i_89_ = class348_sub49.readUnsignedByte(255); + if (i_89_ >= 0 && i_89_ <= 1 && (class348_sub49.payload.length - class348_sub49.offset) >= 2) { + if (i != -40) method3012(13, -47, -27, 107, -90, (byte) -19, -61, 36); + int i_90_ = class348_sub49.readUnsignedShort(842397944); + if (i_90_ * 6 <= (-class348_sub49.offset + (class348_sub49.payload).length)) { + for (int i_91_ = 0; i_91_ < i_90_; i_91_++) { + int i_92_ = class348_sub49.readUnsignedShort(842397944); + int i_93_ = class348_sub49.readInt((byte) -126); + if ((DisplayModeManagerContainer123.anIntArray1303.length > i_92_) && WaterShaderProgram.aBooleanArray6270[i_92_] && ((Component329.aClass259_5995.method1976(i_92_, -107).aChar2132) != '1' || i_93_ >= -1 && i_93_ <= 1)) DisplayModeManagerContainer123.anIntArray1303[i_92_] = i_93_; + } + } + } + } + } + + public Sprite() { + /* empty */ + } + + static { + aBigInteger6921 = Loader.LOGIN_SERVER_RSA_MODULUS; + aString6926 = null; + aClass351_6925 = new StringCache(31, 1); + } +} diff --git a/client/sprites/SpriteCapture.java b/client/sprites/SpriteCapture.java new file mode 100644 index 000000000..10a003c02 --- /dev/null +++ b/client/sprites/SpriteCapture.java @@ -0,0 +1,2960 @@ +/* SpriteCapture - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ +/** + * RENAMED from `Class105_Sub3_Sub1` (JODE-obfuscated). + * Sprite alpha capture. Extends SpriteSub3; captures sprites into a java_sprite with alpha ('Can't capture alpha into a java_sprite_24'). + */ + +final class SpriteCapture extends SpriteSub3 { + int[] anIntArray9933; + + final void method994(int i, int i_0_) { + int[] is = this.aHa_Sub1_8460.anIntArray7483; + if (SpriteSub3.anInt8481 == 0) { + if (SpriteSub3.anInt8450 == 0) { + int i_1_ = SpriteSub3.anInt8468; + while (i_1_ < 0) { + int i_2_ = SpriteSub3.anInt8451; + int i_3_ = SpriteSub3.anInt8458; + int i_4_ = SpriteSub3.anInt8467; + int i_5_ = SpriteSub3.anInt8478; + if (i_3_ >= 0 && i_4_ >= 0 && i_3_ - (this.anInt8471 << 12) < 0 && (i_4_ - (this.anInt8470 << 12) < 0)) { + for (/**/; i_5_ < 0; i_5_++) { + int i_6_ = (((i_4_ >> 12) * this.anInt8471) + (i_3_ >> 12)); + int i_7_ = i_2_++; + int[] is_8_ = is; + int i_9_ = i; + int i_10_ = i_0_; + if (i_10_ == 0) { + if (i_9_ == 1) is_8_[i_7_] = (this.anIntArray9933[i_6_]); + else if (i_9_ == 0) { + int i_11_ = (this.anIntArray9933[i_6_++]); + int i_12_ = (((i_11_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_13_ = (((i_11_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_14_ = (((i_11_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_8_[i_7_] = (i_12_ | i_13_ | i_14_) >>> 8; + } else if (i_9_ == 3) { + int i_15_ = (this.anIntArray9933[i_6_++]); + int i_16_ = SpriteSub3.anInt8480; + int i_17_ = i_15_ + i_16_; + int i_18_ = ((i_15_ & 0xff00ff) + (i_16_ & 0xff00ff)); + int i_19_ = ((i_18_ & 0x1000100) + (i_17_ - i_18_ & 0x10000)); + is_8_[i_7_] = i_17_ - i_19_ | i_19_ - (i_19_ >>> 8); + } else if (i_9_ == 2) { + int i_20_ = (this.anIntArray9933[i_6_]); + int i_21_ = (((i_20_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_22_ = (((i_20_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_8_[i_7_] = (((i_21_ | i_22_) >>> 8) + SpriteSub3.anInt8474); + } else throw new IllegalArgumentException(); + } else if (i_10_ == 1) { + if (i_9_ == 1) { + int i_23_ = (this.anIntArray9933[i_6_]); + if (i_23_ != 0) is_8_[i_7_] = i_23_; + } else if (i_9_ == 0) { + int i_24_ = (this.anIntArray9933[i_6_]); + if (i_24_ != 0) { + if ((SpriteSub3.anInt8480 & 0xffffff) == 16777215) { + int i_25_ = (SpriteSub3.anInt8480 >>> 24); + int i_26_ = 256 - i_25_; + int i_27_ = is_8_[i_7_]; + is_8_[i_7_] = ((((i_24_ & 0xff00ff) * i_25_ + ((i_27_ & 0xff00ff) * i_26_)) & ~0xff00ff) + (((i_24_ & 0xff00) * i_25_ + ((i_27_ & 0xff00) * i_26_)) & 0xff0000)) >> 8; + } else if (SpriteSub3.anInt8477 == 255) { + int i_32_ = (((i_24_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_33_ = (((i_24_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_34_ = (((i_24_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_8_[i_7_] = (i_32_ | i_33_ | i_34_) >>> 8; + } else { + int i_28_ = (((i_24_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_29_ = (((i_24_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_30_ = (((i_24_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_24_ = ((i_28_ | i_29_ | i_30_) >>> 8); + int i_31_ = is_8_[i_7_]; + is_8_[i_7_] = (((((i_24_ & 0xff00ff) * (SpriteSub3.anInt8477)) + ((i_31_ & 0xff00ff) * (SpriteSub3.anInt8472))) & ~0xff00ff) + ((((i_24_ & 0xff00) * (SpriteSub3.anInt8477)) + ((i_31_ & 0xff00) * (SpriteSub3.anInt8472))) & 0xff0000)) >> 8; + } + } + } else if (i_9_ == 3) { + int i_35_ = (this.anIntArray9933[i_6_]); + int i_36_ = SpriteSub3.anInt8480; + int i_37_ = i_35_ + i_36_; + int i_38_ = ((i_35_ & 0xff00ff) + (i_36_ & 0xff00ff)); + int i_39_ = ((i_38_ & 0x1000100) + (i_37_ - i_38_ & 0x10000)); + i_39_ = i_37_ - i_39_ | i_39_ - (i_39_ >>> 8); + if (i_35_ == 0 && SpriteSub3.anInt8477 != 255) { + i_35_ = i_39_; + i_39_ = is_8_[i_7_]; + i_39_ = (((((i_35_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_39_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_35_ & 0xff00) * SpriteSub3.anInt8477) + ((i_39_ & 0xff00) * (SpriteSub3.anInt8472))) & 0xff0000)) >> 8; + } + is_8_[i_7_] = i_39_; + } else if (i_9_ == 2) { + int i_40_ = (this.anIntArray9933[i_6_]); + if (i_40_ != 0) { + int i_41_ = (((i_40_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_42_ = (((i_40_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_8_[i_7_++] = (((i_41_ | i_42_) >>> 8) + SpriteSub3.anInt8474); + } + } else throw new IllegalArgumentException(); + } else if (i_10_ == 2) { + if (i_9_ == 1) { + int i_43_ = (this.anIntArray9933[i_6_]); + if (i_43_ != 0) { + int i_44_ = is_8_[i_7_]; + int i_45_ = i_43_ + i_44_; + int i_46_ = ((i_43_ & 0xff00ff) + (i_44_ & 0xff00ff)); + i_44_ = ((i_46_ & 0x1000100) + (i_45_ - i_46_ & 0x10000)); + is_8_[i_7_] = i_45_ - i_44_ | i_44_ - (i_44_ >>> 8); + } + } else if (i_9_ == 0) { + int i_47_ = (this.anIntArray9933[i_6_]); + if (i_47_ != 0) { + int i_48_ = (((i_47_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_49_ = (((i_47_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_50_ = (((i_47_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_47_ = (i_48_ | i_49_ | i_50_) >>> 8; + int i_51_ = is_8_[i_7_]; + int i_52_ = i_47_ + i_51_; + int i_53_ = ((i_47_ & 0xff00ff) + (i_51_ & 0xff00ff)); + i_51_ = ((i_53_ & 0x1000100) + (i_52_ - i_53_ & 0x10000)); + is_8_[i_7_] = i_52_ - i_51_ | i_51_ - (i_51_ >>> 8); + } + } else if (i_9_ == 3) { + int i_54_ = (this.anIntArray9933[i_6_]); + int i_55_ = SpriteSub3.anInt8480; + int i_56_ = i_54_ + i_55_; + int i_57_ = ((i_54_ & 0xff00ff) + (i_55_ & 0xff00ff)); + int i_58_ = ((i_57_ & 0x1000100) + (i_56_ - i_57_ & 0x10000)); + i_54_ = i_56_ - i_58_ | i_58_ - (i_58_ >>> 8); + i_58_ = is_8_[i_7_]; + i_56_ = i_54_ + i_58_; + i_57_ = (i_54_ & 0xff00ff) + (i_58_ & 0xff00ff); + i_58_ = (i_57_ & 0x1000100) + (i_56_ - i_57_ & 0x10000); + is_8_[i_7_] = i_56_ - i_58_ | i_58_ - (i_58_ >>> 8); + } else if (i_9_ == 2) { + int i_59_ = (this.anIntArray9933[i_6_]); + if (i_59_ != 0) { + int i_60_ = (((i_59_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_61_ = (((i_59_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_59_ = (((i_60_ | i_61_) >>> 8) + SpriteSub3.anInt8474); + int i_62_ = is_8_[i_7_]; + int i_63_ = i_59_ + i_62_; + int i_64_ = ((i_59_ & 0xff00ff) + (i_62_ & 0xff00ff)); + i_62_ = ((i_64_ & 0x1000100) + (i_63_ - i_64_ & 0x10000)); + is_8_[i_7_] = i_63_ - i_62_ | i_62_ - (i_62_ >>> 8); + } + } + } else throw new IllegalArgumentException(); + } + } + i_1_++; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else if (SpriteSub3.anInt8450 < 0) { + int i_65_ = SpriteSub3.anInt8468; + while (i_65_ < 0) { + int i_66_ = SpriteSub3.anInt8451; + int i_67_ = SpriteSub3.anInt8458; + int i_68_ = SpriteSub3.anInt8467 + SpriteSub3.anInt8475; + int i_69_ = SpriteSub3.anInt8478; + if (i_67_ >= 0 && i_67_ - (this.anInt8471 << 12) < 0) { + int i_70_; + if ((i_70_ = i_68_ - (this.anInt8470 << 12)) >= 0) { + i_70_ = ((SpriteSub3.anInt8450 - i_70_) / SpriteSub3.anInt8450); + i_69_ += i_70_; + i_68_ += SpriteSub3.anInt8450 * i_70_; + i_66_ += i_70_; + } + if ((i_70_ = ((i_68_ - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_69_) i_69_ = i_70_; + for (/**/; i_69_ < 0; i_69_++) { + int i_71_ = (((i_68_ >> 12) * this.anInt8471) + (i_67_ >> 12)); + int i_72_ = i_66_++; + int[] is_73_ = is; + int i_74_ = i; + int i_75_ = i_0_; + if (i_75_ == 0) { + if (i_74_ == 1) is_73_[i_72_] = (this.anIntArray9933[i_71_]); + else if (i_74_ == 0) { + int i_76_ = (this.anIntArray9933[i_71_++]); + int i_77_ = (((i_76_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_78_ = (((i_76_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_79_ = (((i_76_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_73_[i_72_] = (i_77_ | i_78_ | i_79_) >>> 8; + } else if (i_74_ == 3) { + int i_80_ = (this.anIntArray9933[i_71_++]); + int i_81_ = SpriteSub3.anInt8480; + int i_82_ = i_80_ + i_81_; + int i_83_ = ((i_80_ & 0xff00ff) + (i_81_ & 0xff00ff)); + int i_84_ = ((i_83_ & 0x1000100) + (i_82_ - i_83_ & 0x10000)); + is_73_[i_72_] = i_82_ - i_84_ | i_84_ - (i_84_ >>> 8); + } else if (i_74_ == 2) { + int i_85_ = (this.anIntArray9933[i_71_]); + int i_86_ = (((i_85_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_87_ = (((i_85_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_73_[i_72_] = (((i_86_ | i_87_) >>> 8) + SpriteSub3.anInt8474); + } else throw new IllegalArgumentException(); + } else if (i_75_ == 1) { + if (i_74_ == 1) { + int i_88_ = (this.anIntArray9933[i_71_]); + if (i_88_ != 0) is_73_[i_72_] = i_88_; + } else if (i_74_ == 0) { + int i_89_ = (this.anIntArray9933[i_71_]); + if (i_89_ != 0) { + if ((SpriteSub3.anInt8480 & 0xffffff) == 16777215) { + int i_90_ = (SpriteSub3.anInt8480 >>> 24); + int i_91_ = 256 - i_90_; + int i_92_ = is_73_[i_72_]; + is_73_[i_72_] = ((((i_89_ & 0xff00ff) * i_90_ + ((i_92_ & 0xff00ff) * i_91_)) & ~0xff00ff) + (((i_89_ & 0xff00) * i_90_ + ((i_92_ & 0xff00) * i_91_)) & 0xff0000)) >> 8; + } else if (SpriteSub3.anInt8477 == 255) { + int i_97_ = (((i_89_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_98_ = (((i_89_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_99_ = (((i_89_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_73_[i_72_] = (i_97_ | i_98_ | i_99_) >>> 8; + } else { + int i_93_ = (((i_89_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_94_ = (((i_89_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_95_ = (((i_89_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_89_ = ((i_93_ | i_94_ | i_95_) >>> 8); + int i_96_ = is_73_[i_72_]; + is_73_[i_72_] = (((((i_89_ & 0xff00ff) * (SpriteSub3.anInt8477)) + ((i_96_ & 0xff00ff) * (SpriteSub3.anInt8472))) & ~0xff00ff) + ((((i_89_ & 0xff00) * (SpriteSub3.anInt8477)) + ((i_96_ & 0xff00) * (SpriteSub3.anInt8472))) & 0xff0000)) >> 8; + } + } + } else if (i_74_ == 3) { + int i_100_ = (this.anIntArray9933[i_71_]); + int i_101_ = SpriteSub3.anInt8480; + int i_102_ = i_100_ + i_101_; + int i_103_ = ((i_100_ & 0xff00ff) + (i_101_ & 0xff00ff)); + int i_104_ = ((i_103_ & 0x1000100) + (i_102_ - i_103_ & 0x10000)); + i_104_ = i_102_ - i_104_ | i_104_ - (i_104_ >>> 8); + if (i_100_ == 0 && SpriteSub3.anInt8477 != 255) { + i_100_ = i_104_; + i_104_ = is_73_[i_72_]; + i_104_ = (((((i_100_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_104_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_100_ & 0xff00) * SpriteSub3.anInt8477) + ((i_104_ & 0xff00) * (SpriteSub3.anInt8472))) & 0xff0000)) >> 8; + } + is_73_[i_72_] = i_104_; + } else if (i_74_ == 2) { + int i_105_ = (this.anIntArray9933[i_71_]); + if (i_105_ != 0) { + int i_106_ = (((i_105_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_107_ = (((i_105_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_73_[i_72_++] = (((i_106_ | i_107_) >>> 8) + SpriteSub3.anInt8474); + } + } else throw new IllegalArgumentException(); + } else if (i_75_ == 2) { + if (i_74_ == 1) { + int i_108_ = (this.anIntArray9933[i_71_]); + if (i_108_ != 0) { + int i_109_ = is_73_[i_72_]; + int i_110_ = i_108_ + i_109_; + int i_111_ = ((i_108_ & 0xff00ff) + (i_109_ & 0xff00ff)); + i_109_ = ((i_111_ & 0x1000100) + (i_110_ - i_111_ & 0x10000)); + is_73_[i_72_] = (i_110_ - i_109_ | i_109_ - (i_109_ >>> 8)); + } + } else if (i_74_ == 0) { + int i_112_ = (this.anIntArray9933[i_71_]); + if (i_112_ != 0) { + int i_113_ = (((i_112_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_114_ = (((i_112_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_115_ = (((i_112_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_112_ = (i_113_ | i_114_ | i_115_) >>> 8; + int i_116_ = is_73_[i_72_]; + int i_117_ = i_112_ + i_116_; + int i_118_ = ((i_112_ & 0xff00ff) + (i_116_ & 0xff00ff)); + i_116_ = ((i_118_ & 0x1000100) + (i_117_ - i_118_ & 0x10000)); + is_73_[i_72_] = (i_117_ - i_116_ | i_116_ - (i_116_ >>> 8)); + } + } else if (i_74_ == 3) { + int i_119_ = (this.anIntArray9933[i_71_]); + int i_120_ = SpriteSub3.anInt8480; + int i_121_ = i_119_ + i_120_; + int i_122_ = ((i_119_ & 0xff00ff) + (i_120_ & 0xff00ff)); + int i_123_ = ((i_122_ & 0x1000100) + (i_121_ - i_122_ & 0x10000)); + i_119_ = i_121_ - i_123_ | i_123_ - (i_123_ >>> 8); + i_123_ = is_73_[i_72_]; + i_121_ = i_119_ + i_123_; + i_122_ = (i_119_ & 0xff00ff) + (i_123_ & 0xff00ff); + i_123_ = ((i_122_ & 0x1000100) + (i_121_ - i_122_ & 0x10000)); + is_73_[i_72_] = i_121_ - i_123_ | i_123_ - (i_123_ >>> 8); + } else if (i_74_ == 2) { + int i_124_ = (this.anIntArray9933[i_71_]); + if (i_124_ != 0) { + int i_125_ = (((i_124_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_126_ = (((i_124_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_124_ = (((i_125_ | i_126_) >>> 8) + SpriteSub3.anInt8474); + int i_127_ = is_73_[i_72_]; + int i_128_ = i_124_ + i_127_; + int i_129_ = ((i_124_ & 0xff00ff) + (i_127_ & 0xff00ff)); + i_127_ = ((i_129_ & 0x1000100) + (i_128_ - i_129_ & 0x10000)); + is_73_[i_72_] = (i_128_ - i_127_ | i_127_ - (i_127_ >>> 8)); + } + } + } else throw new IllegalArgumentException(); + i_68_ += SpriteSub3.anInt8450; + } + } + i_65_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else { + int i_130_ = SpriteSub3.anInt8468; + while (i_130_ < 0) { + int i_131_ = SpriteSub3.anInt8451; + int i_132_ = SpriteSub3.anInt8458; + int i_133_ = SpriteSub3.anInt8467 + SpriteSub3.anInt8475; + int i_134_ = SpriteSub3.anInt8478; + if (i_132_ >= 0 && (i_132_ - (this.anInt8471 << 12) < 0)) { + if (i_133_ < 0) { + int i_135_ = ((SpriteSub3.anInt8450 - 1 - i_133_) / SpriteSub3.anInt8450); + i_134_ += i_135_; + i_133_ += SpriteSub3.anInt8450 * i_135_; + i_131_ += i_135_; + } + int i_136_; + if ((i_136_ = ((1 + i_133_ - (this.anInt8470 << 12) - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_134_) i_134_ = i_136_; + for (/**/; i_134_ < 0; i_134_++) { + int i_137_ = (((i_133_ >> 12) * this.anInt8471) + (i_132_ >> 12)); + int i_138_ = i_131_++; + int[] is_139_ = is; + int i_140_ = i; + int i_141_ = i_0_; + if (i_141_ == 0) { + if (i_140_ == 1) is_139_[i_138_] = (this.anIntArray9933[i_137_]); + else if (i_140_ == 0) { + int i_142_ = (this.anIntArray9933[i_137_++]); + int i_143_ = (((i_142_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_144_ = (((i_142_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_145_ = (((i_142_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_139_[i_138_] = (i_143_ | i_144_ | i_145_) >>> 8; + } else if (i_140_ == 3) { + int i_146_ = (this.anIntArray9933[i_137_++]); + int i_147_ = SpriteSub3.anInt8480; + int i_148_ = i_146_ + i_147_; + int i_149_ = ((i_146_ & 0xff00ff) + (i_147_ & 0xff00ff)); + int i_150_ = ((i_149_ & 0x1000100) + (i_148_ - i_149_ & 0x10000)); + is_139_[i_138_] = i_148_ - i_150_ | i_150_ - (i_150_ >>> 8); + } else if (i_140_ == 2) { + int i_151_ = (this.anIntArray9933[i_137_]); + int i_152_ = (((i_151_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_153_ = (((i_151_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_139_[i_138_] = (((i_152_ | i_153_) >>> 8) + SpriteSub3.anInt8474); + } else throw new IllegalArgumentException(); + } else if (i_141_ == 1) { + if (i_140_ == 1) { + int i_154_ = (this.anIntArray9933[i_137_]); + if (i_154_ != 0) is_139_[i_138_] = i_154_; + } else if (i_140_ == 0) { + int i_155_ = (this.anIntArray9933[i_137_]); + if (i_155_ != 0) { + if ((SpriteSub3.anInt8480 & 0xffffff) == 16777215) { + int i_156_ = (SpriteSub3.anInt8480 >>> 24); + int i_157_ = 256 - i_156_; + int i_158_ = is_139_[i_138_]; + is_139_[i_138_] = (((((i_155_ & 0xff00ff) * i_156_) + ((i_158_ & 0xff00ff) * i_157_)) & ~0xff00ff) + ((((i_155_ & 0xff00) * i_156_) + ((i_158_ & 0xff00) * i_157_)) & 0xff0000)) >> 8; + } else if (SpriteSub3.anInt8477 == 255) { + int i_163_ = (((i_155_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_164_ = (((i_155_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_165_ = (((i_155_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_139_[i_138_] = (i_163_ | i_164_ | i_165_) >>> 8; + } else { + int i_159_ = (((i_155_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_160_ = (((i_155_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_161_ = (((i_155_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_155_ = (i_159_ | i_160_ | i_161_) >>> 8; + int i_162_ = is_139_[i_138_]; + is_139_[i_138_] = (((((i_155_ & 0xff00ff) * (SpriteSub3.anInt8477)) + ((i_162_ & 0xff00ff) * (SpriteSub3.anInt8472))) & ~0xff00ff) + ((((i_155_ & 0xff00) * (SpriteSub3.anInt8477)) + ((i_162_ & 0xff00) * (SpriteSub3.anInt8472))) & 0xff0000)) >> 8; + } + } + } else if (i_140_ == 3) { + int i_166_ = (this.anIntArray9933[i_137_]); + int i_167_ = SpriteSub3.anInt8480; + int i_168_ = i_166_ + i_167_; + int i_169_ = ((i_166_ & 0xff00ff) + (i_167_ & 0xff00ff)); + int i_170_ = ((i_169_ & 0x1000100) + (i_168_ - i_169_ & 0x10000)); + i_170_ = i_168_ - i_170_ | i_170_ - (i_170_ >>> 8); + if (i_166_ == 0 && SpriteSub3.anInt8477 != 255) { + i_166_ = i_170_; + i_170_ = is_139_[i_138_]; + i_170_ = (((((i_166_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_170_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_166_ & 0xff00) * SpriteSub3.anInt8477) + ((i_170_ & 0xff00) * (SpriteSub3.anInt8472))) & 0xff0000)) >> 8; + } + is_139_[i_138_] = i_170_; + } else if (i_140_ == 2) { + int i_171_ = (this.anIntArray9933[i_137_]); + if (i_171_ != 0) { + int i_172_ = (((i_171_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_173_ = (((i_171_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_139_[i_138_++] = (((i_172_ | i_173_) >>> 8) + SpriteSub3.anInt8474); + } + } else throw new IllegalArgumentException(); + } else if (i_141_ == 2) { + if (i_140_ == 1) { + int i_174_ = (this.anIntArray9933[i_137_]); + if (i_174_ != 0) { + int i_175_ = is_139_[i_138_]; + int i_176_ = i_174_ + i_175_; + int i_177_ = ((i_174_ & 0xff00ff) + (i_175_ & 0xff00ff)); + i_175_ = ((i_177_ & 0x1000100) + (i_176_ - i_177_ & 0x10000)); + is_139_[i_138_] = (i_176_ - i_175_ | i_175_ - (i_175_ >>> 8)); + } + } else if (i_140_ == 0) { + int i_178_ = (this.anIntArray9933[i_137_]); + if (i_178_ != 0) { + int i_179_ = (((i_178_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_180_ = (((i_178_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_181_ = (((i_178_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_178_ = (i_179_ | i_180_ | i_181_) >>> 8; + int i_182_ = is_139_[i_138_]; + int i_183_ = i_178_ + i_182_; + int i_184_ = ((i_178_ & 0xff00ff) + (i_182_ & 0xff00ff)); + i_182_ = ((i_184_ & 0x1000100) + (i_183_ - i_184_ & 0x10000)); + is_139_[i_138_] = (i_183_ - i_182_ | i_182_ - (i_182_ >>> 8)); + } + } else if (i_140_ == 3) { + int i_185_ = (this.anIntArray9933[i_137_]); + int i_186_ = SpriteSub3.anInt8480; + int i_187_ = i_185_ + i_186_; + int i_188_ = ((i_185_ & 0xff00ff) + (i_186_ & 0xff00ff)); + int i_189_ = ((i_188_ & 0x1000100) + (i_187_ - i_188_ & 0x10000)); + i_185_ = i_187_ - i_189_ | i_189_ - (i_189_ >>> 8); + i_189_ = is_139_[i_138_]; + i_187_ = i_185_ + i_189_; + i_188_ = (i_185_ & 0xff00ff) + (i_189_ & 0xff00ff); + i_189_ = ((i_188_ & 0x1000100) + (i_187_ - i_188_ & 0x10000)); + is_139_[i_138_] = i_187_ - i_189_ | i_189_ - (i_189_ >>> 8); + } else if (i_140_ == 2) { + int i_190_ = (this.anIntArray9933[i_137_]); + if (i_190_ != 0) { + int i_191_ = (((i_190_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_192_ = (((i_190_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_190_ = (((i_191_ | i_192_) >>> 8) + SpriteSub3.anInt8474); + int i_193_ = is_139_[i_138_]; + int i_194_ = i_190_ + i_193_; + int i_195_ = ((i_190_ & 0xff00ff) + (i_193_ & 0xff00ff)); + i_193_ = ((i_195_ & 0x1000100) + (i_194_ - i_195_ & 0x10000)); + is_139_[i_138_] = (i_194_ - i_193_ | i_193_ - (i_193_ >>> 8)); + } + } + } else throw new IllegalArgumentException(); + i_133_ += SpriteSub3.anInt8450; + } + } + i_130_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } + } else if (SpriteSub3.anInt8481 < 0) { + if (SpriteSub3.anInt8450 == 0) { + int i_196_ = SpriteSub3.anInt8468; + while (i_196_ < 0) { + int i_197_ = SpriteSub3.anInt8451; + int i_198_ = SpriteSub3.anInt8458 + SpriteSub3.anInt8479; + int i_199_ = SpriteSub3.anInt8467; + int i_200_ = SpriteSub3.anInt8478; + if (i_199_ >= 0 && (i_199_ - (this.anInt8470 << 12) < 0)) { + int i_201_; + if ((i_201_ = i_198_ - (this.anInt8471 << 12)) >= 0) { + i_201_ = ((SpriteSub3.anInt8481 - i_201_) / SpriteSub3.anInt8481); + i_200_ += i_201_; + i_198_ += SpriteSub3.anInt8481 * i_201_; + i_197_ += i_201_; + } + if ((i_201_ = ((i_198_ - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_200_) i_200_ = i_201_; + for (/**/; i_200_ < 0; i_200_++) { + int i_202_ = (((i_199_ >> 12) * this.anInt8471) + (i_198_ >> 12)); + int i_203_ = i_197_++; + int[] is_204_ = is; + int i_205_ = i; + int i_206_ = i_0_; + if (i_206_ == 0) { + if (i_205_ == 1) is_204_[i_203_] = (this.anIntArray9933[i_202_]); + else if (i_205_ == 0) { + int i_207_ = (this.anIntArray9933[i_202_++]); + int i_208_ = (((i_207_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_209_ = (((i_207_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_210_ = (((i_207_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_204_[i_203_] = (i_208_ | i_209_ | i_210_) >>> 8; + } else if (i_205_ == 3) { + int i_211_ = (this.anIntArray9933[i_202_++]); + int i_212_ = SpriteSub3.anInt8480; + int i_213_ = i_211_ + i_212_; + int i_214_ = ((i_211_ & 0xff00ff) + (i_212_ & 0xff00ff)); + int i_215_ = ((i_214_ & 0x1000100) + (i_213_ - i_214_ & 0x10000)); + is_204_[i_203_] = i_213_ - i_215_ | i_215_ - (i_215_ >>> 8); + } else if (i_205_ == 2) { + int i_216_ = (this.anIntArray9933[i_202_]); + int i_217_ = (((i_216_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_218_ = (((i_216_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_204_[i_203_] = (((i_217_ | i_218_) >>> 8) + SpriteSub3.anInt8474); + } else throw new IllegalArgumentException(); + } else if (i_206_ == 1) { + if (i_205_ == 1) { + int i_219_ = (this.anIntArray9933[i_202_]); + if (i_219_ != 0) is_204_[i_203_] = i_219_; + } else if (i_205_ == 0) { + int i_220_ = (this.anIntArray9933[i_202_]); + if (i_220_ != 0) { + if ((SpriteSub3.anInt8480 & 0xffffff) == 16777215) { + int i_221_ = (SpriteSub3.anInt8480 >>> 24); + int i_222_ = 256 - i_221_; + int i_223_ = is_204_[i_203_]; + is_204_[i_203_] = (((((i_220_ & 0xff00ff) * i_221_) + ((i_223_ & 0xff00ff) * i_222_)) & ~0xff00ff) + ((((i_220_ & 0xff00) * i_221_) + ((i_223_ & 0xff00) * i_222_)) & 0xff0000)) >> 8; + } else if (SpriteSub3.anInt8477 == 255) { + int i_228_ = (((i_220_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_229_ = (((i_220_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_230_ = (((i_220_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_204_[i_203_] = (i_228_ | i_229_ | i_230_) >>> 8; + } else { + int i_224_ = (((i_220_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_225_ = (((i_220_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_226_ = (((i_220_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_220_ = (i_224_ | i_225_ | i_226_) >>> 8; + int i_227_ = is_204_[i_203_]; + is_204_[i_203_] = (((((i_220_ & 0xff00ff) * (SpriteSub3.anInt8477)) + ((i_227_ & 0xff00ff) * (SpriteSub3.anInt8472))) & ~0xff00ff) + ((((i_220_ & 0xff00) * (SpriteSub3.anInt8477)) + ((i_227_ & 0xff00) * (SpriteSub3.anInt8472))) & 0xff0000)) >> 8; + } + } + } else if (i_205_ == 3) { + int i_231_ = (this.anIntArray9933[i_202_]); + int i_232_ = SpriteSub3.anInt8480; + int i_233_ = i_231_ + i_232_; + int i_234_ = ((i_231_ & 0xff00ff) + (i_232_ & 0xff00ff)); + int i_235_ = ((i_234_ & 0x1000100) + (i_233_ - i_234_ & 0x10000)); + i_235_ = i_233_ - i_235_ | i_235_ - (i_235_ >>> 8); + if (i_231_ == 0 && SpriteSub3.anInt8477 != 255) { + i_231_ = i_235_; + i_235_ = is_204_[i_203_]; + i_235_ = (((((i_231_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_235_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_231_ & 0xff00) * SpriteSub3.anInt8477) + ((i_235_ & 0xff00) * (SpriteSub3.anInt8472))) & 0xff0000)) >> 8; + } + is_204_[i_203_] = i_235_; + } else if (i_205_ == 2) { + int i_236_ = (this.anIntArray9933[i_202_]); + if (i_236_ != 0) { + int i_237_ = (((i_236_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_238_ = (((i_236_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_204_[i_203_++] = (((i_237_ | i_238_) >>> 8) + SpriteSub3.anInt8474); + } + } else throw new IllegalArgumentException(); + } else if (i_206_ == 2) { + if (i_205_ == 1) { + int i_239_ = (this.anIntArray9933[i_202_]); + if (i_239_ != 0) { + int i_240_ = is_204_[i_203_]; + int i_241_ = i_239_ + i_240_; + int i_242_ = ((i_239_ & 0xff00ff) + (i_240_ & 0xff00ff)); + i_240_ = ((i_242_ & 0x1000100) + (i_241_ - i_242_ & 0x10000)); + is_204_[i_203_] = (i_241_ - i_240_ | i_240_ - (i_240_ >>> 8)); + } + } else if (i_205_ == 0) { + int i_243_ = (this.anIntArray9933[i_202_]); + if (i_243_ != 0) { + int i_244_ = (((i_243_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_245_ = (((i_243_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_246_ = (((i_243_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_243_ = (i_244_ | i_245_ | i_246_) >>> 8; + int i_247_ = is_204_[i_203_]; + int i_248_ = i_243_ + i_247_; + int i_249_ = ((i_243_ & 0xff00ff) + (i_247_ & 0xff00ff)); + i_247_ = ((i_249_ & 0x1000100) + (i_248_ - i_249_ & 0x10000)); + is_204_[i_203_] = (i_248_ - i_247_ | i_247_ - (i_247_ >>> 8)); + } + } else if (i_205_ == 3) { + int i_250_ = (this.anIntArray9933[i_202_]); + int i_251_ = SpriteSub3.anInt8480; + int i_252_ = i_250_ + i_251_; + int i_253_ = ((i_250_ & 0xff00ff) + (i_251_ & 0xff00ff)); + int i_254_ = ((i_253_ & 0x1000100) + (i_252_ - i_253_ & 0x10000)); + i_250_ = i_252_ - i_254_ | i_254_ - (i_254_ >>> 8); + i_254_ = is_204_[i_203_]; + i_252_ = i_250_ + i_254_; + i_253_ = (i_250_ & 0xff00ff) + (i_254_ & 0xff00ff); + i_254_ = ((i_253_ & 0x1000100) + (i_252_ - i_253_ & 0x10000)); + is_204_[i_203_] = i_252_ - i_254_ | i_254_ - (i_254_ >>> 8); + } else if (i_205_ == 2) { + int i_255_ = (this.anIntArray9933[i_202_]); + if (i_255_ != 0) { + int i_256_ = (((i_255_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_257_ = (((i_255_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_255_ = (((i_256_ | i_257_) >>> 8) + SpriteSub3.anInt8474); + int i_258_ = is_204_[i_203_]; + int i_259_ = i_255_ + i_258_; + int i_260_ = ((i_255_ & 0xff00ff) + (i_258_ & 0xff00ff)); + i_258_ = ((i_260_ & 0x1000100) + (i_259_ - i_260_ & 0x10000)); + is_204_[i_203_] = (i_259_ - i_258_ | i_258_ - (i_258_ >>> 8)); + } + } + } else throw new IllegalArgumentException(); + i_198_ += SpriteSub3.anInt8481; + } + } + i_196_++; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else if (SpriteSub3.anInt8450 < 0) { + int i_261_ = SpriteSub3.anInt8468; + while (i_261_ < 0) { + int i_262_ = SpriteSub3.anInt8451; + int i_263_ = SpriteSub3.anInt8458 + SpriteSub3.anInt8479; + int i_264_ = SpriteSub3.anInt8467 + SpriteSub3.anInt8475; + int i_265_ = SpriteSub3.anInt8478; + int i_266_; + if ((i_266_ = i_263_ - (this.anInt8471 << 12)) >= 0) { + i_266_ = ((SpriteSub3.anInt8481 - i_266_) / SpriteSub3.anInt8481); + i_265_ += i_266_; + i_263_ += SpriteSub3.anInt8481 * i_266_; + i_264_ += SpriteSub3.anInt8450 * i_266_; + i_262_ += i_266_; + } + if ((i_266_ = ((i_263_ - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_265_) i_265_ = i_266_; + if ((i_266_ = i_264_ - (this.anInt8470 << 12)) >= 0) { + i_266_ = ((SpriteSub3.anInt8450 - i_266_) / SpriteSub3.anInt8450); + i_265_ += i_266_; + i_263_ += SpriteSub3.anInt8481 * i_266_; + i_264_ += SpriteSub3.anInt8450 * i_266_; + i_262_ += i_266_; + } + if ((i_266_ = ((i_264_ - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_265_) i_265_ = i_266_; + for (/**/; i_265_ < 0; i_265_++) { + int i_267_ = (((i_264_ >> 12) * this.anInt8471) + (i_263_ >> 12)); + int i_268_ = i_262_++; + int[] is_269_ = is; + int i_270_ = i; + int i_271_ = i_0_; + if (i_271_ == 0) { + if (i_270_ == 1) is_269_[i_268_] = (this.anIntArray9933[i_267_]); + else if (i_270_ == 0) { + int i_272_ = (this.anIntArray9933[i_267_++]); + int i_273_ = (((i_272_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_274_ = (((i_272_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_275_ = (((i_272_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_269_[i_268_] = (i_273_ | i_274_ | i_275_) >>> 8; + } else if (i_270_ == 3) { + int i_276_ = (this.anIntArray9933[i_267_++]); + int i_277_ = SpriteSub3.anInt8480; + int i_278_ = i_276_ + i_277_; + int i_279_ = ((i_276_ & 0xff00ff) + (i_277_ & 0xff00ff)); + int i_280_ = ((i_279_ & 0x1000100) + (i_278_ - i_279_ & 0x10000)); + is_269_[i_268_] = i_278_ - i_280_ | i_280_ - (i_280_ >>> 8); + } else if (i_270_ == 2) { + int i_281_ = (this.anIntArray9933[i_267_]); + int i_282_ = (((i_281_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_283_ = (((i_281_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_269_[i_268_] = (((i_282_ | i_283_) >>> 8) + SpriteSub3.anInt8474); + } else throw new IllegalArgumentException(); + } else if (i_271_ == 1) { + if (i_270_ == 1) { + int i_284_ = (this.anIntArray9933[i_267_]); + if (i_284_ != 0) is_269_[i_268_] = i_284_; + } else if (i_270_ == 0) { + int i_285_ = (this.anIntArray9933[i_267_]); + if (i_285_ != 0) { + if ((SpriteSub3.anInt8480 & 0xffffff) == 16777215) { + int i_286_ = SpriteSub3.anInt8480 >>> 24; + int i_287_ = 256 - i_286_; + int i_288_ = is_269_[i_268_]; + is_269_[i_268_] = ((((i_285_ & 0xff00ff) * i_286_ + ((i_288_ & 0xff00ff) * i_287_)) & ~0xff00ff) + (((i_285_ & 0xff00) * i_286_ + ((i_288_ & 0xff00) * i_287_)) & 0xff0000)) >> 8; + } else if (SpriteSub3.anInt8477 == 255) { + int i_293_ = (((i_285_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_294_ = (((i_285_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_295_ = (((i_285_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_269_[i_268_] = (i_293_ | i_294_ | i_295_) >>> 8; + } else { + int i_289_ = (((i_285_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_290_ = (((i_285_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_291_ = (((i_285_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_285_ = (i_289_ | i_290_ | i_291_) >>> 8; + int i_292_ = is_269_[i_268_]; + is_269_[i_268_] = (((((i_285_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_292_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_285_ & 0xff00) * SpriteSub3.anInt8477) + ((i_292_ & 0xff00) * (SpriteSub3.anInt8472))) & 0xff0000)) >> 8; + } + } + } else if (i_270_ == 3) { + int i_296_ = (this.anIntArray9933[i_267_]); + int i_297_ = SpriteSub3.anInt8480; + int i_298_ = i_296_ + i_297_; + int i_299_ = ((i_296_ & 0xff00ff) + (i_297_ & 0xff00ff)); + int i_300_ = ((i_299_ & 0x1000100) + (i_298_ - i_299_ & 0x10000)); + i_300_ = i_298_ - i_300_ | i_300_ - (i_300_ >>> 8); + if (i_296_ == 0 && SpriteSub3.anInt8477 != 255) { + i_296_ = i_300_; + i_300_ = is_269_[i_268_]; + i_300_ = (((((i_296_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_300_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_296_ & 0xff00) * SpriteSub3.anInt8477) + ((i_300_ & 0xff00) * SpriteSub3.anInt8472)) & 0xff0000)) >> 8; + } + is_269_[i_268_] = i_300_; + } else if (i_270_ == 2) { + int i_301_ = (this.anIntArray9933[i_267_]); + if (i_301_ != 0) { + int i_302_ = (((i_301_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_303_ = (((i_301_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_269_[i_268_++] = (((i_302_ | i_303_) >>> 8) + SpriteSub3.anInt8474); + } + } else throw new IllegalArgumentException(); + } else if (i_271_ == 2) { + if (i_270_ == 1) { + int i_304_ = (this.anIntArray9933[i_267_]); + if (i_304_ != 0) { + int i_305_ = is_269_[i_268_]; + int i_306_ = i_304_ + i_305_; + int i_307_ = ((i_304_ & 0xff00ff) + (i_305_ & 0xff00ff)); + i_305_ = ((i_307_ & 0x1000100) + (i_306_ - i_307_ & 0x10000)); + is_269_[i_268_] = i_306_ - i_305_ | i_305_ - (i_305_ >>> 8); + } + } else if (i_270_ == 0) { + int i_308_ = (this.anIntArray9933[i_267_]); + if (i_308_ != 0) { + int i_309_ = (((i_308_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_310_ = (((i_308_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_311_ = (((i_308_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_308_ = (i_309_ | i_310_ | i_311_) >>> 8; + int i_312_ = is_269_[i_268_]; + int i_313_ = i_308_ + i_312_; + int i_314_ = ((i_308_ & 0xff00ff) + (i_312_ & 0xff00ff)); + i_312_ = ((i_314_ & 0x1000100) + (i_313_ - i_314_ & 0x10000)); + is_269_[i_268_] = i_313_ - i_312_ | i_312_ - (i_312_ >>> 8); + } + } else if (i_270_ == 3) { + int i_315_ = (this.anIntArray9933[i_267_]); + int i_316_ = SpriteSub3.anInt8480; + int i_317_ = i_315_ + i_316_; + int i_318_ = ((i_315_ & 0xff00ff) + (i_316_ & 0xff00ff)); + int i_319_ = ((i_318_ & 0x1000100) + (i_317_ - i_318_ & 0x10000)); + i_315_ = i_317_ - i_319_ | i_319_ - (i_319_ >>> 8); + i_319_ = is_269_[i_268_]; + i_317_ = i_315_ + i_319_; + i_318_ = (i_315_ & 0xff00ff) + (i_319_ & 0xff00ff); + i_319_ = (i_318_ & 0x1000100) + (i_317_ - i_318_ & 0x10000); + is_269_[i_268_] = i_317_ - i_319_ | i_319_ - (i_319_ >>> 8); + } else if (i_270_ == 2) { + int i_320_ = (this.anIntArray9933[i_267_]); + if (i_320_ != 0) { + int i_321_ = (((i_320_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_322_ = (((i_320_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_320_ = (((i_321_ | i_322_) >>> 8) + SpriteSub3.anInt8474); + int i_323_ = is_269_[i_268_]; + int i_324_ = i_320_ + i_323_; + int i_325_ = ((i_320_ & 0xff00ff) + (i_323_ & 0xff00ff)); + i_323_ = ((i_325_ & 0x1000100) + (i_324_ - i_325_ & 0x10000)); + is_269_[i_268_] = i_324_ - i_323_ | i_323_ - (i_323_ >>> 8); + } + } + } else throw new IllegalArgumentException(); + i_263_ += SpriteSub3.anInt8481; + i_264_ += SpriteSub3.anInt8450; + } + i_261_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else { + int i_326_ = SpriteSub3.anInt8468; + while (i_326_ < 0) { + int i_327_ = SpriteSub3.anInt8451; + int i_328_ = SpriteSub3.anInt8458 + SpriteSub3.anInt8479; + int i_329_ = SpriteSub3.anInt8467 + SpriteSub3.anInt8475; + int i_330_ = SpriteSub3.anInt8478; + int i_331_; + if ((i_331_ = i_328_ - (this.anInt8471 << 12)) >= 0) { + i_331_ = ((SpriteSub3.anInt8481 - i_331_) / SpriteSub3.anInt8481); + i_330_ += i_331_; + i_328_ += SpriteSub3.anInt8481 * i_331_; + i_329_ += SpriteSub3.anInt8450 * i_331_; + i_327_ += i_331_; + } + if ((i_331_ = ((i_328_ - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_330_) i_330_ = i_331_; + if (i_329_ < 0) { + i_331_ = ((SpriteSub3.anInt8450 - 1 - i_329_) / SpriteSub3.anInt8450); + i_330_ += i_331_; + i_328_ += SpriteSub3.anInt8481 * i_331_; + i_329_ += SpriteSub3.anInt8450 * i_331_; + i_327_ += i_331_; + } + if ((i_331_ = ((1 + i_329_ - (this.anInt8470 << 12) - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_330_) i_330_ = i_331_; + for (/**/; i_330_ < 0; i_330_++) { + int i_332_ = (((i_329_ >> 12) * this.anInt8471) + (i_328_ >> 12)); + int i_333_ = i_327_++; + int[] is_334_ = is; + int i_335_ = i; + int i_336_ = i_0_; + if (i_336_ == 0) { + if (i_335_ == 1) is_334_[i_333_] = (this.anIntArray9933[i_332_]); + else if (i_335_ == 0) { + int i_337_ = (this.anIntArray9933[i_332_++]); + int i_338_ = (((i_337_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_339_ = (((i_337_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_340_ = (((i_337_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_334_[i_333_] = (i_338_ | i_339_ | i_340_) >>> 8; + } else if (i_335_ == 3) { + int i_341_ = (this.anIntArray9933[i_332_++]); + int i_342_ = SpriteSub3.anInt8480; + int i_343_ = i_341_ + i_342_; + int i_344_ = ((i_341_ & 0xff00ff) + (i_342_ & 0xff00ff)); + int i_345_ = ((i_344_ & 0x1000100) + (i_343_ - i_344_ & 0x10000)); + is_334_[i_333_] = i_343_ - i_345_ | i_345_ - (i_345_ >>> 8); + } else if (i_335_ == 2) { + int i_346_ = (this.anIntArray9933[i_332_]); + int i_347_ = (((i_346_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_348_ = (((i_346_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_334_[i_333_] = (((i_347_ | i_348_) >>> 8) + SpriteSub3.anInt8474); + } else throw new IllegalArgumentException(); + } else if (i_336_ == 1) { + if (i_335_ == 1) { + int i_349_ = (this.anIntArray9933[i_332_]); + if (i_349_ != 0) is_334_[i_333_] = i_349_; + } else if (i_335_ == 0) { + int i_350_ = (this.anIntArray9933[i_332_]); + if (i_350_ != 0) { + if ((SpriteSub3.anInt8480 & 0xffffff) == 16777215) { + int i_351_ = SpriteSub3.anInt8480 >>> 24; + int i_352_ = 256 - i_351_; + int i_353_ = is_334_[i_333_]; + is_334_[i_333_] = ((((i_350_ & 0xff00ff) * i_351_ + ((i_353_ & 0xff00ff) * i_352_)) & ~0xff00ff) + (((i_350_ & 0xff00) * i_351_ + ((i_353_ & 0xff00) * i_352_)) & 0xff0000)) >> 8; + } else if (SpriteSub3.anInt8477 == 255) { + int i_358_ = (((i_350_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_359_ = (((i_350_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_360_ = (((i_350_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_334_[i_333_] = (i_358_ | i_359_ | i_360_) >>> 8; + } else { + int i_354_ = (((i_350_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_355_ = (((i_350_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_356_ = (((i_350_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_350_ = (i_354_ | i_355_ | i_356_) >>> 8; + int i_357_ = is_334_[i_333_]; + is_334_[i_333_] = (((((i_350_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_357_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_350_ & 0xff00) * SpriteSub3.anInt8477) + ((i_357_ & 0xff00) * (SpriteSub3.anInt8472))) & 0xff0000)) >> 8; + } + } + } else if (i_335_ == 3) { + int i_361_ = (this.anIntArray9933[i_332_]); + int i_362_ = SpriteSub3.anInt8480; + int i_363_ = i_361_ + i_362_; + int i_364_ = ((i_361_ & 0xff00ff) + (i_362_ & 0xff00ff)); + int i_365_ = ((i_364_ & 0x1000100) + (i_363_ - i_364_ & 0x10000)); + i_365_ = i_363_ - i_365_ | i_365_ - (i_365_ >>> 8); + if (i_361_ == 0 && SpriteSub3.anInt8477 != 255) { + i_361_ = i_365_; + i_365_ = is_334_[i_333_]; + i_365_ = (((((i_361_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_365_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_361_ & 0xff00) * SpriteSub3.anInt8477) + ((i_365_ & 0xff00) * SpriteSub3.anInt8472)) & 0xff0000)) >> 8; + } + is_334_[i_333_] = i_365_; + } else if (i_335_ == 2) { + int i_366_ = (this.anIntArray9933[i_332_]); + if (i_366_ != 0) { + int i_367_ = (((i_366_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_368_ = (((i_366_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_334_[i_333_++] = (((i_367_ | i_368_) >>> 8) + SpriteSub3.anInt8474); + } + } else throw new IllegalArgumentException(); + } else if (i_336_ == 2) { + if (i_335_ == 1) { + int i_369_ = (this.anIntArray9933[i_332_]); + if (i_369_ != 0) { + int i_370_ = is_334_[i_333_]; + int i_371_ = i_369_ + i_370_; + int i_372_ = ((i_369_ & 0xff00ff) + (i_370_ & 0xff00ff)); + i_370_ = ((i_372_ & 0x1000100) + (i_371_ - i_372_ & 0x10000)); + is_334_[i_333_] = i_371_ - i_370_ | i_370_ - (i_370_ >>> 8); + } + } else if (i_335_ == 0) { + int i_373_ = (this.anIntArray9933[i_332_]); + if (i_373_ != 0) { + int i_374_ = (((i_373_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_375_ = (((i_373_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_376_ = (((i_373_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_373_ = (i_374_ | i_375_ | i_376_) >>> 8; + int i_377_ = is_334_[i_333_]; + int i_378_ = i_373_ + i_377_; + int i_379_ = ((i_373_ & 0xff00ff) + (i_377_ & 0xff00ff)); + i_377_ = ((i_379_ & 0x1000100) + (i_378_ - i_379_ & 0x10000)); + is_334_[i_333_] = i_378_ - i_377_ | i_377_ - (i_377_ >>> 8); + } + } else if (i_335_ == 3) { + int i_380_ = (this.anIntArray9933[i_332_]); + int i_381_ = SpriteSub3.anInt8480; + int i_382_ = i_380_ + i_381_; + int i_383_ = ((i_380_ & 0xff00ff) + (i_381_ & 0xff00ff)); + int i_384_ = ((i_383_ & 0x1000100) + (i_382_ - i_383_ & 0x10000)); + i_380_ = i_382_ - i_384_ | i_384_ - (i_384_ >>> 8); + i_384_ = is_334_[i_333_]; + i_382_ = i_380_ + i_384_; + i_383_ = (i_380_ & 0xff00ff) + (i_384_ & 0xff00ff); + i_384_ = (i_383_ & 0x1000100) + (i_382_ - i_383_ & 0x10000); + is_334_[i_333_] = i_382_ - i_384_ | i_384_ - (i_384_ >>> 8); + } else if (i_335_ == 2) { + int i_385_ = (this.anIntArray9933[i_332_]); + if (i_385_ != 0) { + int i_386_ = (((i_385_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_387_ = (((i_385_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_385_ = (((i_386_ | i_387_) >>> 8) + SpriteSub3.anInt8474); + int i_388_ = is_334_[i_333_]; + int i_389_ = i_385_ + i_388_; + int i_390_ = ((i_385_ & 0xff00ff) + (i_388_ & 0xff00ff)); + i_388_ = ((i_390_ & 0x1000100) + (i_389_ - i_390_ & 0x10000)); + is_334_[i_333_] = i_389_ - i_388_ | i_388_ - (i_388_ >>> 8); + } + } + } else throw new IllegalArgumentException(); + i_328_ += SpriteSub3.anInt8481; + i_329_ += SpriteSub3.anInt8450; + } + i_326_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } + } else if (SpriteSub3.anInt8450 == 0) { + int i_391_ = SpriteSub3.anInt8468; + while (i_391_ < 0) { + int i_392_ = SpriteSub3.anInt8451; + int i_393_ = SpriteSub3.anInt8458 + SpriteSub3.anInt8479; + int i_394_ = SpriteSub3.anInt8467; + int i_395_ = SpriteSub3.anInt8478; + if (i_394_ >= 0 && i_394_ - (this.anInt8470 << 12) < 0) { + if (i_393_ < 0) { + int i_396_ = ((SpriteSub3.anInt8481 - 1 - i_393_) / SpriteSub3.anInt8481); + i_395_ += i_396_; + i_393_ += SpriteSub3.anInt8481 * i_396_; + i_392_ += i_396_; + } + int i_397_; + if ((i_397_ = ((1 + i_393_ - (this.anInt8471 << 12) - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_395_) i_395_ = i_397_; + for (/**/; i_395_ < 0; i_395_++) { + int i_398_ = (((i_394_ >> 12) * this.anInt8471) + (i_393_ >> 12)); + int i_399_ = i_392_++; + int[] is_400_ = is; + int i_401_ = i; + int i_402_ = i_0_; + if (i_402_ == 0) { + if (i_401_ == 1) is_400_[i_399_] = (this.anIntArray9933[i_398_]); + else if (i_401_ == 0) { + int i_403_ = (this.anIntArray9933[i_398_++]); + int i_404_ = (((i_403_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_405_ = (((i_403_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_406_ = (((i_403_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_400_[i_399_] = (i_404_ | i_405_ | i_406_) >>> 8; + } else if (i_401_ == 3) { + int i_407_ = (this.anIntArray9933[i_398_++]); + int i_408_ = SpriteSub3.anInt8480; + int i_409_ = i_407_ + i_408_; + int i_410_ = ((i_407_ & 0xff00ff) + (i_408_ & 0xff00ff)); + int i_411_ = ((i_410_ & 0x1000100) + (i_409_ - i_410_ & 0x10000)); + is_400_[i_399_] = i_409_ - i_411_ | i_411_ - (i_411_ >>> 8); + } else if (i_401_ == 2) { + int i_412_ = (this.anIntArray9933[i_398_]); + int i_413_ = (((i_412_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_414_ = (((i_412_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_400_[i_399_] = (((i_413_ | i_414_) >>> 8) + SpriteSub3.anInt8474); + } else throw new IllegalArgumentException(); + } else if (i_402_ == 1) { + if (i_401_ == 1) { + int i_415_ = (this.anIntArray9933[i_398_]); + if (i_415_ != 0) is_400_[i_399_] = i_415_; + } else if (i_401_ == 0) { + int i_416_ = (this.anIntArray9933[i_398_]); + if (i_416_ != 0) { + if ((SpriteSub3.anInt8480 & 0xffffff) == 16777215) { + int i_417_ = SpriteSub3.anInt8480 >>> 24; + int i_418_ = 256 - i_417_; + int i_419_ = is_400_[i_399_]; + is_400_[i_399_] = ((((i_416_ & 0xff00ff) * i_417_ + ((i_419_ & 0xff00ff) * i_418_)) & ~0xff00ff) + (((i_416_ & 0xff00) * i_417_ + ((i_419_ & 0xff00) * i_418_)) & 0xff0000)) >> 8; + } else if (SpriteSub3.anInt8477 == 255) { + int i_424_ = (((i_416_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_425_ = (((i_416_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_426_ = (((i_416_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_400_[i_399_] = (i_424_ | i_425_ | i_426_) >>> 8; + } else { + int i_420_ = (((i_416_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_421_ = (((i_416_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_422_ = (((i_416_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_416_ = (i_420_ | i_421_ | i_422_) >>> 8; + int i_423_ = is_400_[i_399_]; + is_400_[i_399_] = (((((i_416_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_423_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_416_ & 0xff00) * SpriteSub3.anInt8477) + ((i_423_ & 0xff00) * (SpriteSub3.anInt8472))) & 0xff0000)) >> 8; + } + } + } else if (i_401_ == 3) { + int i_427_ = (this.anIntArray9933[i_398_]); + int i_428_ = SpriteSub3.anInt8480; + int i_429_ = i_427_ + i_428_; + int i_430_ = ((i_427_ & 0xff00ff) + (i_428_ & 0xff00ff)); + int i_431_ = ((i_430_ & 0x1000100) + (i_429_ - i_430_ & 0x10000)); + i_431_ = i_429_ - i_431_ | i_431_ - (i_431_ >>> 8); + if (i_427_ == 0 && SpriteSub3.anInt8477 != 255) { + i_427_ = i_431_; + i_431_ = is_400_[i_399_]; + i_431_ = (((((i_427_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_431_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_427_ & 0xff00) * SpriteSub3.anInt8477) + ((i_431_ & 0xff00) * SpriteSub3.anInt8472)) & 0xff0000)) >> 8; + } + is_400_[i_399_] = i_431_; + } else if (i_401_ == 2) { + int i_432_ = (this.anIntArray9933[i_398_]); + if (i_432_ != 0) { + int i_433_ = (((i_432_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_434_ = (((i_432_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_400_[i_399_++] = (((i_433_ | i_434_) >>> 8) + SpriteSub3.anInt8474); + } + } else throw new IllegalArgumentException(); + } else if (i_402_ == 2) { + if (i_401_ == 1) { + int i_435_ = (this.anIntArray9933[i_398_]); + if (i_435_ != 0) { + int i_436_ = is_400_[i_399_]; + int i_437_ = i_435_ + i_436_; + int i_438_ = ((i_435_ & 0xff00ff) + (i_436_ & 0xff00ff)); + i_436_ = ((i_438_ & 0x1000100) + (i_437_ - i_438_ & 0x10000)); + is_400_[i_399_] = i_437_ - i_436_ | i_436_ - (i_436_ >>> 8); + } + } else if (i_401_ == 0) { + int i_439_ = (this.anIntArray9933[i_398_]); + if (i_439_ != 0) { + int i_440_ = (((i_439_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_441_ = (((i_439_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_442_ = (((i_439_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_439_ = (i_440_ | i_441_ | i_442_) >>> 8; + int i_443_ = is_400_[i_399_]; + int i_444_ = i_439_ + i_443_; + int i_445_ = ((i_439_ & 0xff00ff) + (i_443_ & 0xff00ff)); + i_443_ = ((i_445_ & 0x1000100) + (i_444_ - i_445_ & 0x10000)); + is_400_[i_399_] = i_444_ - i_443_ | i_443_ - (i_443_ >>> 8); + } + } else if (i_401_ == 3) { + int i_446_ = (this.anIntArray9933[i_398_]); + int i_447_ = SpriteSub3.anInt8480; + int i_448_ = i_446_ + i_447_; + int i_449_ = ((i_446_ & 0xff00ff) + (i_447_ & 0xff00ff)); + int i_450_ = ((i_449_ & 0x1000100) + (i_448_ - i_449_ & 0x10000)); + i_446_ = i_448_ - i_450_ | i_450_ - (i_450_ >>> 8); + i_450_ = is_400_[i_399_]; + i_448_ = i_446_ + i_450_; + i_449_ = (i_446_ & 0xff00ff) + (i_450_ & 0xff00ff); + i_450_ = (i_449_ & 0x1000100) + (i_448_ - i_449_ & 0x10000); + is_400_[i_399_] = i_448_ - i_450_ | i_450_ - (i_450_ >>> 8); + } else if (i_401_ == 2) { + int i_451_ = (this.anIntArray9933[i_398_]); + if (i_451_ != 0) { + int i_452_ = (((i_451_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_453_ = (((i_451_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_451_ = (((i_452_ | i_453_) >>> 8) + SpriteSub3.anInt8474); + int i_454_ = is_400_[i_399_]; + int i_455_ = i_451_ + i_454_; + int i_456_ = ((i_451_ & 0xff00ff) + (i_454_ & 0xff00ff)); + i_454_ = ((i_456_ & 0x1000100) + (i_455_ - i_456_ & 0x10000)); + is_400_[i_399_] = i_455_ - i_454_ | i_454_ - (i_454_ >>> 8); + } + } + } else throw new IllegalArgumentException(); + i_393_ += SpriteSub3.anInt8481; + } + } + i_391_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else if (SpriteSub3.anInt8450 < 0) { + for (int i_457_ = SpriteSub3.anInt8468; i_457_ < 0; i_457_++) { + int i_458_ = SpriteSub3.anInt8451; + int i_459_ = SpriteSub3.anInt8458 + SpriteSub3.anInt8479; + int i_460_ = SpriteSub3.anInt8467 + SpriteSub3.anInt8475; + int i_461_ = SpriteSub3.anInt8478; + if (i_459_ < 0) { + int i_462_ = ((SpriteSub3.anInt8481 - 1 - i_459_) / SpriteSub3.anInt8481); + i_461_ += i_462_; + i_459_ += SpriteSub3.anInt8481 * i_462_; + i_460_ += SpriteSub3.anInt8450 * i_462_; + i_458_ += i_462_; + } + int i_463_; + if ((i_463_ = (1 + i_459_ - (this.anInt8471 << 12) - SpriteSub3.anInt8481) / SpriteSub3.anInt8481) > i_461_) i_461_ = i_463_; + if ((i_463_ = i_460_ - (this.anInt8470 << 12)) >= 0) { + i_463_ = ((SpriteSub3.anInt8450 - i_463_) / SpriteSub3.anInt8450); + i_461_ += i_463_; + i_459_ += SpriteSub3.anInt8481 * i_463_; + i_460_ += SpriteSub3.anInt8450 * i_463_; + i_458_ += i_463_; + } + if ((i_463_ = ((i_460_ - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_461_) i_461_ = i_463_; + for (/**/; i_461_ < 0; i_461_++) { + int i_464_ = ((i_460_ >> 12) * this.anInt8471 + (i_459_ >> 12)); + int i_465_ = i_458_++; + int[] is_466_ = is; + int i_467_ = i; + int i_468_ = i_0_; + if (i_468_ == 0) { + if (i_467_ == 1) is_466_[i_465_] = (this.anIntArray9933[i_464_]); + else if (i_467_ == 0) { + int i_469_ = (this.anIntArray9933[i_464_++]); + int i_470_ = (((i_469_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_471_ = ((i_469_ & 0xff00) * SpriteSub3.anInt8463 & 0xff0000); + int i_472_ = ((i_469_ & 0xff) * SpriteSub3.anInt8465 & 0xff00); + is_466_[i_465_] = (i_470_ | i_471_ | i_472_) >>> 8; + } else if (i_467_ == 3) { + int i_473_ = (this.anIntArray9933[i_464_++]); + int i_474_ = SpriteSub3.anInt8480; + int i_475_ = i_473_ + i_474_; + int i_476_ = (i_473_ & 0xff00ff) + (i_474_ & 0xff00ff); + int i_477_ = ((i_476_ & 0x1000100) + (i_475_ - i_476_ & 0x10000)); + is_466_[i_465_] = i_475_ - i_477_ | i_477_ - (i_477_ >>> 8); + } else if (i_467_ == 2) { + int i_478_ = (this.anIntArray9933[i_464_]); + int i_479_ = (((i_478_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_480_ = ((i_478_ & 0xff00) * SpriteSub3.anInt8477 & 0xff0000); + is_466_[i_465_] = (((i_479_ | i_480_) >>> 8) + SpriteSub3.anInt8474); + } else throw new IllegalArgumentException(); + } else if (i_468_ == 1) { + if (i_467_ == 1) { + int i_481_ = (this.anIntArray9933[i_464_]); + if (i_481_ != 0) is_466_[i_465_] = i_481_; + } else if (i_467_ == 0) { + int i_482_ = (this.anIntArray9933[i_464_]); + if (i_482_ != 0) { + if ((SpriteSub3.anInt8480 & 0xffffff) == 16777215) { + int i_483_ = SpriteSub3.anInt8480 >>> 24; + int i_484_ = 256 - i_483_; + int i_485_ = is_466_[i_465_]; + is_466_[i_465_] = ((((i_482_ & 0xff00ff) * i_483_ + (i_485_ & 0xff00ff) * i_484_) & ~0xff00ff) + (((i_482_ & 0xff00) * i_483_ + (i_485_ & 0xff00) * i_484_) & 0xff0000)) >> 8; + } else if (SpriteSub3.anInt8477 == 255) { + int i_490_ = (((i_482_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_491_ = (((i_482_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_492_ = (((i_482_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_466_[i_465_] = (i_490_ | i_491_ | i_492_) >>> 8; + } else { + int i_486_ = (((i_482_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_487_ = (((i_482_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_488_ = (((i_482_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_482_ = (i_486_ | i_487_ | i_488_) >>> 8; + int i_489_ = is_466_[i_465_]; + is_466_[i_465_] = (((((i_482_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_489_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_482_ & 0xff00) * SpriteSub3.anInt8477) + ((i_489_ & 0xff00) * SpriteSub3.anInt8472)) & 0xff0000)) >> 8; + } + } + } else if (i_467_ == 3) { + int i_493_ = (this.anIntArray9933[i_464_]); + int i_494_ = SpriteSub3.anInt8480; + int i_495_ = i_493_ + i_494_; + int i_496_ = (i_493_ & 0xff00ff) + (i_494_ & 0xff00ff); + int i_497_ = ((i_496_ & 0x1000100) + (i_495_ - i_496_ & 0x10000)); + i_497_ = i_495_ - i_497_ | i_497_ - (i_497_ >>> 8); + if (i_493_ == 0 && SpriteSub3.anInt8477 != 255) { + i_493_ = i_497_; + i_497_ = is_466_[i_465_]; + i_497_ = (((((i_493_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_497_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_493_ & 0xff00) * SpriteSub3.anInt8477) + ((i_497_ & 0xff00) * SpriteSub3.anInt8472)) & 0xff0000)) >> 8; + } + is_466_[i_465_] = i_497_; + } else if (i_467_ == 2) { + int i_498_ = (this.anIntArray9933[i_464_]); + if (i_498_ != 0) { + int i_499_ = (((i_498_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_500_ = (((i_498_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_466_[i_465_++] = (((i_499_ | i_500_) >>> 8) + SpriteSub3.anInt8474); + } + } else throw new IllegalArgumentException(); + } else if (i_468_ == 2) { + if (i_467_ == 1) { + int i_501_ = (this.anIntArray9933[i_464_]); + if (i_501_ != 0) { + int i_502_ = is_466_[i_465_]; + int i_503_ = i_501_ + i_502_; + int i_504_ = ((i_501_ & 0xff00ff) + (i_502_ & 0xff00ff)); + i_502_ = (i_504_ & 0x1000100) + (i_503_ - i_504_ & 0x10000); + is_466_[i_465_] = i_503_ - i_502_ | i_502_ - (i_502_ >>> 8); + } + } else if (i_467_ == 0) { + int i_505_ = (this.anIntArray9933[i_464_]); + if (i_505_ != 0) { + int i_506_ = (((i_505_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_507_ = (((i_505_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_508_ = (((i_505_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_505_ = (i_506_ | i_507_ | i_508_) >>> 8; + int i_509_ = is_466_[i_465_]; + int i_510_ = i_505_ + i_509_; + int i_511_ = ((i_505_ & 0xff00ff) + (i_509_ & 0xff00ff)); + i_509_ = (i_511_ & 0x1000100) + (i_510_ - i_511_ & 0x10000); + is_466_[i_465_] = i_510_ - i_509_ | i_509_ - (i_509_ >>> 8); + } + } else if (i_467_ == 3) { + int i_512_ = (this.anIntArray9933[i_464_]); + int i_513_ = SpriteSub3.anInt8480; + int i_514_ = i_512_ + i_513_; + int i_515_ = (i_512_ & 0xff00ff) + (i_513_ & 0xff00ff); + int i_516_ = ((i_515_ & 0x1000100) + (i_514_ - i_515_ & 0x10000)); + i_512_ = i_514_ - i_516_ | i_516_ - (i_516_ >>> 8); + i_516_ = is_466_[i_465_]; + i_514_ = i_512_ + i_516_; + i_515_ = (i_512_ & 0xff00ff) + (i_516_ & 0xff00ff); + i_516_ = (i_515_ & 0x1000100) + (i_514_ - i_515_ & 0x10000); + is_466_[i_465_] = i_514_ - i_516_ | i_516_ - (i_516_ >>> 8); + } else if (i_467_ == 2) { + int i_517_ = (this.anIntArray9933[i_464_]); + if (i_517_ != 0) { + int i_518_ = (((i_517_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_519_ = (((i_517_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_517_ = (((i_518_ | i_519_) >>> 8) + SpriteSub3.anInt8474); + int i_520_ = is_466_[i_465_]; + int i_521_ = i_517_ + i_520_; + int i_522_ = ((i_517_ & 0xff00ff) + (i_520_ & 0xff00ff)); + i_520_ = (i_522_ & 0x1000100) + (i_521_ - i_522_ & 0x10000); + is_466_[i_465_] = i_521_ - i_520_ | i_520_ - (i_520_ >>> 8); + } + } + } else throw new IllegalArgumentException(); + i_459_ += SpriteSub3.anInt8481; + i_460_ += SpriteSub3.anInt8450; + } + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else { + for (int i_523_ = SpriteSub3.anInt8468; i_523_ < 0; i_523_++) { + int i_524_ = SpriteSub3.anInt8451; + int i_525_ = SpriteSub3.anInt8458 + SpriteSub3.anInt8479; + int i_526_ = SpriteSub3.anInt8467 + SpriteSub3.anInt8475; + int i_527_ = SpriteSub3.anInt8478; + if (i_525_ < 0) { + int i_528_ = ((SpriteSub3.anInt8481 - 1 - i_525_) / SpriteSub3.anInt8481); + i_527_ += i_528_; + i_525_ += SpriteSub3.anInt8481 * i_528_; + i_526_ += SpriteSub3.anInt8450 * i_528_; + i_524_ += i_528_; + } + int i_529_; + if ((i_529_ = (1 + i_525_ - (this.anInt8471 << 12) - SpriteSub3.anInt8481) / SpriteSub3.anInt8481) > i_527_) i_527_ = i_529_; + if (i_526_ < 0) { + i_529_ = ((SpriteSub3.anInt8450 - 1 - i_526_) / SpriteSub3.anInt8450); + i_527_ += i_529_; + i_525_ += SpriteSub3.anInt8481 * i_529_; + i_526_ += SpriteSub3.anInt8450 * i_529_; + i_524_ += i_529_; + } + if ((i_529_ = (1 + i_526_ - (this.anInt8470 << 12) - SpriteSub3.anInt8450) / SpriteSub3.anInt8450) > i_527_) i_527_ = i_529_; + for (/**/; i_527_ < 0; i_527_++) { + int i_530_ = ((i_526_ >> 12) * this.anInt8471 + (i_525_ >> 12)); + int i_531_ = i_524_++; + int[] is_532_ = is; + int i_533_ = i; + int i_534_ = i_0_; + if (i_534_ == 0) { + if (i_533_ == 1) is_532_[i_531_] = (this.anIntArray9933[i_530_]); + else if (i_533_ == 0) { + int i_535_ = (this.anIntArray9933[i_530_++]); + int i_536_ = (((i_535_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_537_ = ((i_535_ & 0xff00) * SpriteSub3.anInt8463 & 0xff0000); + int i_538_ = ((i_535_ & 0xff) * SpriteSub3.anInt8465 & 0xff00); + is_532_[i_531_] = (i_536_ | i_537_ | i_538_) >>> 8; + } else if (i_533_ == 3) { + int i_539_ = (this.anIntArray9933[i_530_++]); + int i_540_ = SpriteSub3.anInt8480; + int i_541_ = i_539_ + i_540_; + int i_542_ = (i_539_ & 0xff00ff) + (i_540_ & 0xff00ff); + int i_543_ = ((i_542_ & 0x1000100) + (i_541_ - i_542_ & 0x10000)); + is_532_[i_531_] = i_541_ - i_543_ | i_543_ - (i_543_ >>> 8); + } else if (i_533_ == 2) { + int i_544_ = (this.anIntArray9933[i_530_]); + int i_545_ = (((i_544_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_546_ = ((i_544_ & 0xff00) * SpriteSub3.anInt8477 & 0xff0000); + is_532_[i_531_] = (((i_545_ | i_546_) >>> 8) + SpriteSub3.anInt8474); + } else throw new IllegalArgumentException(); + } else if (i_534_ == 1) { + if (i_533_ == 1) { + int i_547_ = (this.anIntArray9933[i_530_]); + if (i_547_ != 0) is_532_[i_531_] = i_547_; + } else if (i_533_ == 0) { + int i_548_ = (this.anIntArray9933[i_530_]); + if (i_548_ != 0) { + if ((SpriteSub3.anInt8480 & 0xffffff) == 16777215) { + int i_549_ = SpriteSub3.anInt8480 >>> 24; + int i_550_ = 256 - i_549_; + int i_551_ = is_532_[i_531_]; + is_532_[i_531_] = ((((i_548_ & 0xff00ff) * i_549_ + (i_551_ & 0xff00ff) * i_550_) & ~0xff00ff) + (((i_548_ & 0xff00) * i_549_ + (i_551_ & 0xff00) * i_550_) & 0xff0000)) >> 8; + } else if (SpriteSub3.anInt8477 == 255) { + int i_556_ = (((i_548_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_557_ = (((i_548_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_558_ = (((i_548_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_532_[i_531_] = (i_556_ | i_557_ | i_558_) >>> 8; + } else { + int i_552_ = (((i_548_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_553_ = (((i_548_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_554_ = (((i_548_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_548_ = (i_552_ | i_553_ | i_554_) >>> 8; + int i_555_ = is_532_[i_531_]; + is_532_[i_531_] = (((((i_548_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_555_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_548_ & 0xff00) * SpriteSub3.anInt8477) + ((i_555_ & 0xff00) * SpriteSub3.anInt8472)) & 0xff0000)) >> 8; + } + } + } else if (i_533_ == 3) { + int i_559_ = (this.anIntArray9933[i_530_]); + int i_560_ = SpriteSub3.anInt8480; + int i_561_ = i_559_ + i_560_; + int i_562_ = (i_559_ & 0xff00ff) + (i_560_ & 0xff00ff); + int i_563_ = ((i_562_ & 0x1000100) + (i_561_ - i_562_ & 0x10000)); + i_563_ = i_561_ - i_563_ | i_563_ - (i_563_ >>> 8); + if (i_559_ == 0 && SpriteSub3.anInt8477 != 255) { + i_559_ = i_563_; + i_563_ = is_532_[i_531_]; + i_563_ = (((((i_559_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_563_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_559_ & 0xff00) * SpriteSub3.anInt8477) + ((i_563_ & 0xff00) * SpriteSub3.anInt8472)) & 0xff0000)) >> 8; + } + is_532_[i_531_] = i_563_; + } else if (i_533_ == 2) { + int i_564_ = (this.anIntArray9933[i_530_]); + if (i_564_ != 0) { + int i_565_ = (((i_564_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_566_ = (((i_564_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_532_[i_531_++] = (((i_565_ | i_566_) >>> 8) + SpriteSub3.anInt8474); + } + } else throw new IllegalArgumentException(); + } else if (i_534_ == 2) { + if (i_533_ == 1) { + int i_567_ = (this.anIntArray9933[i_530_]); + if (i_567_ != 0) { + int i_568_ = is_532_[i_531_]; + int i_569_ = i_567_ + i_568_; + int i_570_ = ((i_567_ & 0xff00ff) + (i_568_ & 0xff00ff)); + i_568_ = (i_570_ & 0x1000100) + (i_569_ - i_570_ & 0x10000); + is_532_[i_531_] = i_569_ - i_568_ | i_568_ - (i_568_ >>> 8); + } + } else if (i_533_ == 0) { + int i_571_ = (this.anIntArray9933[i_530_]); + if (i_571_ != 0) { + int i_572_ = (((i_571_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_573_ = (((i_571_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_574_ = (((i_571_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_571_ = (i_572_ | i_573_ | i_574_) >>> 8; + int i_575_ = is_532_[i_531_]; + int i_576_ = i_571_ + i_575_; + int i_577_ = ((i_571_ & 0xff00ff) + (i_575_ & 0xff00ff)); + i_575_ = (i_577_ & 0x1000100) + (i_576_ - i_577_ & 0x10000); + is_532_[i_531_] = i_576_ - i_575_ | i_575_ - (i_575_ >>> 8); + } + } else if (i_533_ == 3) { + int i_578_ = (this.anIntArray9933[i_530_]); + int i_579_ = SpriteSub3.anInt8480; + int i_580_ = i_578_ + i_579_; + int i_581_ = (i_578_ & 0xff00ff) + (i_579_ & 0xff00ff); + int i_582_ = ((i_581_ & 0x1000100) + (i_580_ - i_581_ & 0x10000)); + i_578_ = i_580_ - i_582_ | i_582_ - (i_582_ >>> 8); + i_582_ = is_532_[i_531_]; + i_580_ = i_578_ + i_582_; + i_581_ = (i_578_ & 0xff00ff) + (i_582_ & 0xff00ff); + i_582_ = (i_581_ & 0x1000100) + (i_580_ - i_581_ & 0x10000); + is_532_[i_531_] = i_580_ - i_582_ | i_582_ - (i_582_ >>> 8); + } else if (i_533_ == 2) { + int i_583_ = (this.anIntArray9933[i_530_]); + if (i_583_ != 0) { + int i_584_ = (((i_583_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_585_ = (((i_583_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_583_ = (((i_584_ | i_585_) >>> 8) + SpriteSub3.anInt8474); + int i_586_ = is_532_[i_531_]; + int i_587_ = i_583_ + i_586_; + int i_588_ = ((i_583_ & 0xff00ff) + (i_586_ & 0xff00ff)); + i_586_ = (i_588_ & 0x1000100) + (i_587_ - i_588_ & 0x10000); + is_532_[i_531_] = i_587_ - i_586_ | i_586_ - (i_586_ >>> 8); + } + } + } else throw new IllegalArgumentException(); + i_525_ += SpriteSub3.anInt8481; + i_526_ += SpriteSub3.anInt8450; + } + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } + } + + final void method979(int i, int i_589_, int i_590_, int i_591_, int i_592_, int i_593_) { + int[] is = this.aHa_Sub1_8460.anIntArray7483; + for (int i_594_ = 0; i_594_ < i_591_; i_594_++) { + int i_595_ = (i_589_ + i_594_) * this.anInt8471 + i; + int i_596_ = ((i_593_ + i_594_) * this.aHa_Sub1_8460.anInt7477 + i_592_); + for (int i_597_ = 0; i_597_ < i_590_; i_597_++) + this.anIntArray9933[i_595_ + i_597_] = is[i_596_ + i_597_]; + } + } + + final void method982(int i, int i_598_, int i_599_, int i_600_, int i_601_, int i_602_, int i_603_, int i_604_) { + if (this.aHa_Sub1_8460.method3716()) throw new IllegalStateException(); + if (i_599_ > 0 && i_600_ > 0) { + int i_605_ = 0; + int i_606_ = 0; + int i_607_ = this.aHa_Sub1_8460.anInt7477; + int i_608_ = (this.anInt8461 + this.anInt8471 + this.anInt8454); + int i_609_ = (this.anInt8464 + this.anInt8470 + this.anInt8456); + int i_610_ = (i_608_ << 16) / i_599_; + int i_611_ = (i_609_ << 16) / i_600_; + if (this.anInt8461 > 0) { + int i_612_ = (((this.anInt8461 << 16) + i_610_ - 1) / i_610_); + i += i_612_; + i_605_ += i_612_ * i_610_ - (this.anInt8461 << 16); + } + if (this.anInt8464 > 0) { + int i_613_ = (((this.anInt8464 << 16) + i_611_ - 1) / i_611_); + i_598_ += i_613_; + i_606_ += i_613_ * i_611_ - (this.anInt8464 << 16); + } + if (this.anInt8471 < i_608_) i_599_ = ((this.anInt8471 << 16) - i_605_ + i_610_ - 1) / i_610_; + if (this.anInt8470 < i_609_) i_600_ = ((this.anInt8470 << 16) - i_606_ + i_611_ - 1) / i_611_; + int i_614_ = i + i_598_ * i_607_; + int i_615_ = i_607_ - i_599_; + if (i_598_ + i_600_ > this.aHa_Sub1_8460.anInt7503) i_600_ -= (i_598_ + i_600_ - (this.aHa_Sub1_8460.anInt7503)); + if (i_598_ < this.aHa_Sub1_8460.anInt7476) { + int i_616_ = ((this.aHa_Sub1_8460.anInt7476) - i_598_); + i_600_ -= i_616_; + i_614_ += i_616_ * i_607_; + i_606_ += i_611_ * i_616_; + } + if (i + i_599_ > this.aHa_Sub1_8460.anInt7507) { + int i_617_ = (i + i_599_ - (this.aHa_Sub1_8460.anInt7507)); + i_599_ -= i_617_; + i_615_ += i_617_; + } + if (i < this.aHa_Sub1_8460.anInt7496) { + int i_618_ = ((this.aHa_Sub1_8460.anInt7496) - i); + i_599_ -= i_618_; + i_614_ += i_618_; + i_605_ += i_610_ * i_618_; + i_615_ += i_618_; + } + int[] is = (this.aHa_Sub1_8460.anIntArray7483); + if (i_603_ == 0) { + if (i_601_ == 1) { + int i_619_ = i_605_; + for (int i_620_ = -i_600_; i_620_ < 0; i_620_++) { + int i_621_ = ((i_606_ >> 16) * this.anInt8471); + for (int i_622_ = -i_599_; i_622_ < 0; i_622_++) { + is[i_614_++] = (this.anIntArray9933[(i_605_ >> 16) + i_621_]); + i_605_ += i_610_; + } + i_606_ += i_611_; + i_605_ = i_619_; + i_614_ += i_615_; + } + return; + } + if (i_601_ == 0) { + int i_623_ = (i_602_ & 0xff0000) >> 16; + int i_624_ = (i_602_ & 0xff00) >> 8; + int i_625_ = i_602_ & 0xff; + int i_626_ = i_605_; + for (int i_627_ = -i_600_; i_627_ < 0; i_627_++) { + int i_628_ = ((i_606_ >> 16) * this.anInt8471); + for (int i_629_ = -i_599_; i_629_ < 0; i_629_++) { + int i_630_ = (this.anIntArray9933[(i_605_ >> 16) + i_628_]); + int i_631_ = (i_630_ & 0xff0000) * i_623_ & ~0xffffff; + int i_632_ = (i_630_ & 0xff00) * i_624_ & 0xff0000; + int i_633_ = (i_630_ & 0xff) * i_625_ & 0xff00; + is[i_614_++] = (i_631_ | i_632_ | i_633_) >>> 8; + i_605_ += i_610_; + } + i_606_ += i_611_; + i_605_ = i_626_; + i_614_ += i_615_; + } + return; + } + if (i_601_ == 3) { + int i_634_ = i_605_; + for (int i_635_ = -i_600_; i_635_ < 0; i_635_++) { + int i_636_ = ((i_606_ >> 16) * this.anInt8471); + for (int i_637_ = -i_599_; i_637_ < 0; i_637_++) { + int i_638_ = (this.anIntArray9933[(i_605_ >> 16) + i_636_]); + int i_639_ = i_638_ + i_602_; + int i_640_ = (i_638_ & 0xff00ff) + (i_602_ & 0xff00ff); + int i_641_ = ((i_640_ & 0x1000100) + (i_639_ - i_640_ & 0x10000)); + is[i_614_++] = i_639_ - i_641_ | i_641_ - (i_641_ >>> 8); + i_605_ += i_610_; + } + i_606_ += i_611_; + i_605_ = i_634_; + i_614_ += i_615_; + } + return; + } + if (i_601_ == 2) { + int i_642_ = i_602_ >>> 24; + int i_643_ = 256 - i_642_; + int i_644_ = (i_602_ & 0xff00ff) * i_643_ & ~0xff00ff; + int i_645_ = (i_602_ & 0xff00) * i_643_ & 0xff0000; + i_602_ = (i_644_ | i_645_) >>> 8; + int i_646_ = i_605_; + for (int i_647_ = -i_600_; i_647_ < 0; i_647_++) { + int i_648_ = ((i_606_ >> 16) * this.anInt8471); + for (int i_649_ = -i_599_; i_649_ < 0; i_649_++) { + int i_650_ = (this.anIntArray9933[(i_605_ >> 16) + i_648_]); + i_644_ = (i_650_ & 0xff00ff) * i_642_ & ~0xff00ff; + i_645_ = (i_650_ & 0xff00) * i_642_ & 0xff0000; + is[i_614_++] = ((i_644_ | i_645_) >>> 8) + i_602_; + i_605_ += i_610_; + } + i_606_ += i_611_; + i_605_ = i_646_; + i_614_ += i_615_; + } + return; + } + throw new IllegalArgumentException(); + } + if (i_603_ == 1) { + if (i_601_ == 1) { + int i_651_ = i_605_; + for (int i_652_ = -i_600_; i_652_ < 0; i_652_++) { + int i_653_ = ((i_606_ >> 16) * this.anInt8471); + for (int i_654_ = -i_599_; i_654_ < 0; i_654_++) { + int i_655_ = (this.anIntArray9933[(i_605_ >> 16) + i_653_]); + if (i_655_ != 0) is[i_614_++] = i_655_; + else i_614_++; + i_605_ += i_610_; + } + i_606_ += i_611_; + i_605_ = i_651_; + i_614_ += i_615_; + } + return; + } + if (i_601_ == 0) { + int i_656_ = i_605_; + if ((i_602_ & 0xffffff) == 16777215) { + int i_657_ = i_602_ >>> 24; + int i_658_ = 256 - i_657_; + for (int i_659_ = -i_600_; i_659_ < 0; i_659_++) { + int i_660_ = ((i_606_ >> 16) * this.anInt8471); + for (int i_661_ = -i_599_; i_661_ < 0; i_661_++) { + int i_662_ = (this.anIntArray9933[(i_605_ >> 16) + i_660_]); + if (i_662_ != 0) { + int i_663_ = is[i_614_]; + is[i_614_++] = ((((i_662_ & 0xff00ff) * i_657_ + (i_663_ & 0xff00ff) * i_658_) & ~0xff00ff) + (((i_662_ & 0xff00) * i_657_ + (i_663_ & 0xff00) * i_658_) & 0xff0000)) >> 8; + } else i_614_++; + i_605_ += i_610_; + } + i_606_ += i_611_; + i_605_ = i_656_; + i_614_ += i_615_; + } + } else { + int i_664_ = (i_602_ & 0xff0000) >> 16; + int i_665_ = (i_602_ & 0xff00) >> 8; + int i_666_ = i_602_ & 0xff; + int i_667_ = i_602_ >>> 24; + int i_668_ = 256 - i_667_; + for (int i_669_ = -i_600_; i_669_ < 0; i_669_++) { + int i_670_ = ((i_606_ >> 16) * this.anInt8471); + for (int i_671_ = -i_599_; i_671_ < 0; i_671_++) { + int i_672_ = (this.anIntArray9933[(i_605_ >> 16) + i_670_]); + if (i_672_ != 0) { + if (i_667_ == 255) { + int i_677_ = ((i_672_ & 0xff0000) * i_664_ & ~0xffffff); + int i_678_ = ((i_672_ & 0xff00) * i_665_ & 0xff0000); + int i_679_ = ((i_672_ & 0xff) * i_666_ & 0xff00); + is[i_614_++] = (i_677_ | i_678_ | i_679_) >>> 8; + } else { + int i_673_ = ((i_672_ & 0xff0000) * i_664_ & ~0xffffff); + int i_674_ = ((i_672_ & 0xff00) * i_665_ & 0xff0000); + int i_675_ = ((i_672_ & 0xff) * i_666_ & 0xff00); + i_672_ = (i_673_ | i_674_ | i_675_) >>> 8; + int i_676_ = is[i_614_]; + is[i_614_++] = ((((i_672_ & 0xff00ff) * i_667_ + ((i_676_ & 0xff00ff) * i_668_)) & ~0xff00ff) + (((i_672_ & 0xff00) * i_667_ + ((i_676_ & 0xff00) * i_668_)) & 0xff0000)) >> 8; + } + } else i_614_++; + i_605_ += i_610_; + } + i_606_ += i_611_; + i_605_ = i_656_; + i_614_ += i_615_; + } + return; + } + return; + } + if (i_601_ == 3) { + int i_680_ = i_605_; + int i_681_ = i_602_ >>> 24; + int i_682_ = 256 - i_681_; + for (int i_683_ = -i_600_; i_683_ < 0; i_683_++) { + int i_684_ = ((i_606_ >> 16) * this.anInt8471); + for (int i_685_ = -i_599_; i_685_ < 0; i_685_++) { + int i_686_ = (this.anIntArray9933[(i_605_ >> 16) + i_684_]); + int i_687_ = i_686_ + i_602_; + int i_688_ = (i_686_ & 0xff00ff) + (i_602_ & 0xff00ff); + int i_689_ = ((i_688_ & 0x1000100) + (i_687_ - i_688_ & 0x10000)); + i_689_ = i_687_ - i_689_ | i_689_ - (i_689_ >>> 8); + if (i_686_ == 0 && i_681_ != 255) { + i_686_ = i_689_; + i_689_ = is[i_614_]; + i_689_ = ((((i_686_ & 0xff00ff) * i_681_ + (i_689_ & 0xff00ff) * i_682_) & ~0xff00ff) + (((i_686_ & 0xff00) * i_681_ + (i_689_ & 0xff00) * i_682_) & 0xff0000)) >> 8; + } + is[i_614_++] = i_689_; + i_605_ += i_610_; + } + i_606_ += i_611_; + i_605_ = i_680_; + i_614_ += i_615_; + } + return; + } + if (i_601_ == 2) { + int i_690_ = i_602_ >>> 24; + int i_691_ = 256 - i_690_; + int i_692_ = (i_602_ & 0xff00ff) * i_691_ & ~0xff00ff; + int i_693_ = (i_602_ & 0xff00) * i_691_ & 0xff0000; + i_602_ = (i_692_ | i_693_) >>> 8; + int i_694_ = i_605_; + for (int i_695_ = -i_600_; i_695_ < 0; i_695_++) { + int i_696_ = ((i_606_ >> 16) * this.anInt8471); + for (int i_697_ = -i_599_; i_697_ < 0; i_697_++) { + int i_698_ = (this.anIntArray9933[(i_605_ >> 16) + i_696_]); + if (i_698_ != 0) { + i_692_ = (i_698_ & 0xff00ff) * i_690_ & ~0xff00ff; + i_693_ = (i_698_ & 0xff00) * i_690_ & 0xff0000; + is[i_614_++] = ((i_692_ | i_693_) >>> 8) + i_602_; + } else i_614_++; + i_605_ += i_610_; + } + i_606_ += i_611_; + i_605_ = i_694_; + i_614_ += i_615_; + } + return; + } + throw new IllegalArgumentException(); + } + if (i_603_ == 2) { + if (i_601_ == 1) { + int i_699_ = i_605_; + for (int i_700_ = -i_600_; i_700_ < 0; i_700_++) { + int i_701_ = ((i_606_ >> 16) * this.anInt8471); + for (int i_702_ = -i_599_; i_702_ < 0; i_702_++) { + int i_703_ = (this.anIntArray9933[(i_605_ >> 16) + i_701_]); + if (i_703_ != 0) { + int i_704_ = is[i_614_]; + int i_705_ = i_703_ + i_704_; + int i_706_ = ((i_703_ & 0xff00ff) + (i_704_ & 0xff00ff)); + i_704_ = (i_706_ & 0x1000100) + (i_705_ - i_706_ & 0x10000); + is[i_614_++] = i_705_ - i_704_ | i_704_ - (i_704_ >>> 8); + } else i_614_++; + i_605_ += i_610_; + } + i_606_ += i_611_; + i_605_ = i_699_; + i_614_ += i_615_; + } + return; + } + if (i_601_ == 0) { + int i_707_ = i_605_; + int i_708_ = (i_602_ & 0xff0000) >> 16; + int i_709_ = (i_602_ & 0xff00) >> 8; + int i_710_ = i_602_ & 0xff; + for (int i_711_ = -i_600_; i_711_ < 0; i_711_++) { + int i_712_ = ((i_606_ >> 16) * this.anInt8471); + for (int i_713_ = -i_599_; i_713_ < 0; i_713_++) { + int i_714_ = (this.anIntArray9933[(i_605_ >> 16) + i_712_]); + if (i_714_ != 0) { + int i_715_ = (i_714_ & 0xff0000) * i_708_ & ~0xffffff; + int i_716_ = (i_714_ & 0xff00) * i_709_ & 0xff0000; + int i_717_ = (i_714_ & 0xff) * i_710_ & 0xff00; + i_714_ = (i_715_ | i_716_ | i_717_) >>> 8; + int i_718_ = is[i_614_]; + int i_719_ = i_714_ + i_718_; + int i_720_ = ((i_714_ & 0xff00ff) + (i_718_ & 0xff00ff)); + i_718_ = (i_720_ & 0x1000100) + (i_719_ - i_720_ & 0x10000); + is[i_614_++] = i_719_ - i_718_ | i_718_ - (i_718_ >>> 8); + } else i_614_++; + i_605_ += i_610_; + } + i_606_ += i_611_; + i_605_ = i_707_; + i_614_ += i_615_; + } + return; + } + if (i_601_ == 3) { + int i_721_ = i_605_; + for (int i_722_ = -i_600_; i_722_ < 0; i_722_++) { + int i_723_ = ((i_606_ >> 16) * this.anInt8471); + for (int i_724_ = -i_599_; i_724_ < 0; i_724_++) { + int i_725_ = (this.anIntArray9933[(i_605_ >> 16) + i_723_]); + int i_726_ = i_725_ + i_602_; + int i_727_ = (i_725_ & 0xff00ff) + (i_602_ & 0xff00ff); + int i_728_ = ((i_727_ & 0x1000100) + (i_726_ - i_727_ & 0x10000)); + i_725_ = i_726_ - i_728_ | i_728_ - (i_728_ >>> 8); + i_728_ = is[i_614_]; + i_726_ = i_725_ + i_728_; + i_727_ = (i_725_ & 0xff00ff) + (i_728_ & 0xff00ff); + i_728_ = (i_727_ & 0x1000100) + (i_726_ - i_727_ & 0x10000); + is[i_614_++] = i_726_ - i_728_ | i_728_ - (i_728_ >>> 8); + i_605_ += i_610_; + } + i_606_ += i_611_; + i_605_ = i_721_; + i_614_ += i_615_; + } + return; + } + if (i_601_ == 2) { + int i_729_ = i_602_ >>> 24; + int i_730_ = 256 - i_729_; + int i_731_ = (i_602_ & 0xff00ff) * i_730_ & ~0xff00ff; + int i_732_ = (i_602_ & 0xff00) * i_730_ & 0xff0000; + i_602_ = (i_731_ | i_732_) >>> 8; + int i_733_ = i_605_; + for (int i_734_ = -i_600_; i_734_ < 0; i_734_++) { + int i_735_ = ((i_606_ >> 16) * this.anInt8471); + for (int i_736_ = -i_599_; i_736_ < 0; i_736_++) { + int i_737_ = (this.anIntArray9933[(i_605_ >> 16) + i_735_]); + if (i_737_ != 0) { + i_731_ = (i_737_ & 0xff00ff) * i_729_ & ~0xff00ff; + i_732_ = (i_737_ & 0xff00) * i_729_ & 0xff0000; + i_737_ = ((i_731_ | i_732_) >>> 8) + i_602_; + int i_738_ = is[i_614_]; + int i_739_ = i_737_ + i_738_; + int i_740_ = ((i_737_ & 0xff00ff) + (i_738_ & 0xff00ff)); + i_738_ = (i_740_ & 0x1000100) + (i_739_ - i_740_ & 0x10000); + is[i_614_++] = i_739_ - i_738_ | i_738_ - (i_738_ >>> 8); + } else i_614_++; + i_605_ += i_610_; + } + i_606_ += i_611_; + i_605_ = i_733_; + i_614_ += i_615_; + } + return; + } + throw new IllegalArgumentException(); + } + throw new IllegalArgumentException(); + } + } + + final void capturePixels(int i, int i_741_, int i_742_) { + throw new IllegalStateException("Can't capture alpha into a java_sprite_24"); + } + + SpriteCapture(GlToolkitSub1 var_ha_Sub1, int i, int i_743_) { + super(var_ha_Sub1, i, i_743_); + this.anIntArray9933 = new int[i * i_743_]; + } + + SpriteCapture(GlToolkitSub1 var_ha_Sub1, int[] is, int i, int i_744_, int i_745_, int i_746_, boolean bool) { + super(var_ha_Sub1, i_745_, i_746_); + if (bool) this.anIntArray9933 = new int[i_745_ * i_746_]; + else this.anIntArray9933 = is; + i_744_ -= this.anInt8471; + int i_747_ = 0; + for (int i_748_ = 0; i_748_ < i_746_; i_748_++) { + for (int i_749_ = 0; i_749_ < i_745_; i_749_++) { + int i_750_ = is[i++]; + if (i_750_ >>> 24 == 255) this.anIntArray9933[i_747_++] = (i_750_ & 0xffffff) == 0 ? -16777215 : i_750_; + else this.anIntArray9933[i_747_++] = 0; + } + i += i_744_; + } + } + + SpriteCapture(GlToolkitSub1 var_ha_Sub1, int[] is, int i, int i_751_) { + super(var_ha_Sub1, i, i_751_); + this.anIntArray9933 = is; + } + + final void method995(int[] is, int[] is_752_, int i, int i_753_) { + int[] is_754_ = this.aHa_Sub1_8460.anIntArray7483; + if (SpriteSub3.anInt8481 == 0) { + if (SpriteSub3.anInt8450 == 0) { + int i_755_ = SpriteSub3.anInt8468; + while (i_755_ < 0) { + int i_756_ = i_755_ + i_753_; + if (i_756_ >= 0) { + if (i_756_ >= is.length) break; + int i_757_ = SpriteSub3.anInt8451; + int i_758_ = SpriteSub3.anInt8458; + int i_759_ = SpriteSub3.anInt8467; + int i_760_ = SpriteSub3.anInt8478; + if (i_758_ >= 0 && i_759_ >= 0 && i_758_ - (this.anInt8471 << 12) < 0 && i_759_ - (this.anInt8470 << 12) < 0) { + int i_761_ = is[i_756_] - i; + int i_762_ = -is_752_[i_756_]; + int i_763_ = i_761_ - (i_757_ - SpriteSub3.anInt8451); + if (i_763_ > 0) { + i_757_ += i_763_; + i_760_ += i_763_; + i_758_ += SpriteSub3.anInt8481 * i_763_; + i_759_ += SpriteSub3.anInt8450 * i_763_; + } else i_762_ -= i_763_; + if (i_760_ < i_762_) i_760_ = i_762_; + for (/**/; i_760_ < 0; i_760_++) { + int i_764_ = (this.anIntArray9933[(((i_759_ >> 12) * this.anInt8471) + (i_758_ >> 12))]); + if (i_764_ != 0) is_754_[i_757_++] = i_764_; + else i_757_++; + } + } + } + i_755_++; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else if (SpriteSub3.anInt8450 < 0) { + int i_765_ = SpriteSub3.anInt8468; + while (i_765_ < 0) { + int i_766_ = i_765_ + i_753_; + if (i_766_ >= 0) { + if (i_766_ >= is.length) break; + int i_767_ = SpriteSub3.anInt8451; + int i_768_ = SpriteSub3.anInt8458; + int i_769_ = (SpriteSub3.anInt8467 + SpriteSub3.anInt8475); + int i_770_ = SpriteSub3.anInt8478; + if (i_768_ >= 0 && i_768_ - (this.anInt8471 << 12) < 0) { + int i_771_; + if ((i_771_ = i_769_ - (this.anInt8470 << 12)) >= 0) { + i_771_ = ((SpriteSub3.anInt8450 - i_771_) / SpriteSub3.anInt8450); + i_770_ += i_771_; + i_769_ += SpriteSub3.anInt8450 * i_771_; + i_767_ += i_771_; + } + if ((i_771_ = ((i_769_ - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_770_) i_770_ = i_771_; + int i_772_ = is[i_766_] - i; + int i_773_ = -is_752_[i_766_]; + int i_774_ = i_772_ - (i_767_ - SpriteSub3.anInt8451); + if (i_774_ > 0) { + i_767_ += i_774_; + i_770_ += i_774_; + i_768_ += SpriteSub3.anInt8481 * i_774_; + i_769_ += SpriteSub3.anInt8450 * i_774_; + } else i_773_ -= i_774_; + if (i_770_ < i_773_) i_770_ = i_773_; + for (/**/; i_770_ < 0; i_770_++) { + int i_775_ = (this.anIntArray9933[(((i_769_ >> 12) * this.anInt8471) + (i_768_ >> 12))]); + if (i_775_ != 0) is_754_[i_767_++] = i_775_; + else i_767_++; + i_769_ += SpriteSub3.anInt8450; + } + } + } + i_765_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else { + int i_776_ = SpriteSub3.anInt8468; + while (i_776_ < 0) { + int i_777_ = i_776_ + i_753_; + if (i_777_ >= 0) { + if (i_777_ >= is.length) break; + int i_778_ = SpriteSub3.anInt8451; + int i_779_ = SpriteSub3.anInt8458; + int i_780_ = (SpriteSub3.anInt8467 + SpriteSub3.anInt8475); + int i_781_ = SpriteSub3.anInt8478; + if (i_779_ >= 0 && i_779_ - (this.anInt8471 << 12) < 0) { + if (i_780_ < 0) { + int i_782_ = ((SpriteSub3.anInt8450 - 1 - i_780_) / SpriteSub3.anInt8450); + i_781_ += i_782_; + i_780_ += SpriteSub3.anInt8450 * i_782_; + i_778_ += i_782_; + } + int i_783_; + if ((i_783_ = ((1 + i_780_ - (this.anInt8470 << 12) - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_781_) i_781_ = i_783_; + int i_784_ = is[i_777_] - i; + int i_785_ = -is_752_[i_777_]; + int i_786_ = i_784_ - (i_778_ - SpriteSub3.anInt8451); + if (i_786_ > 0) { + i_778_ += i_786_; + i_781_ += i_786_; + i_779_ += SpriteSub3.anInt8481 * i_786_; + i_780_ += SpriteSub3.anInt8450 * i_786_; + } else i_785_ -= i_786_; + if (i_781_ < i_785_) i_781_ = i_785_; + for (/**/; i_781_ < 0; i_781_++) { + int i_787_ = (this.anIntArray9933[(((i_780_ >> 12) * this.anInt8471) + (i_779_ >> 12))]); + if (i_787_ != 0) is_754_[i_778_++] = i_787_; + else i_778_++; + i_780_ += SpriteSub3.anInt8450; + } + } + } + i_776_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } + } else if (SpriteSub3.anInt8481 < 0) { + if (SpriteSub3.anInt8450 == 0) { + int i_788_ = SpriteSub3.anInt8468; + while (i_788_ < 0) { + int i_789_ = i_788_ + i_753_; + if (i_789_ >= 0) { + if (i_789_ >= is.length) break; + int i_790_ = SpriteSub3.anInt8451; + int i_791_ = (SpriteSub3.anInt8458 + SpriteSub3.anInt8479); + int i_792_ = SpriteSub3.anInt8467; + int i_793_ = SpriteSub3.anInt8478; + if (i_792_ >= 0 && i_792_ - (this.anInt8470 << 12) < 0) { + int i_794_; + if ((i_794_ = i_791_ - (this.anInt8471 << 12)) >= 0) { + i_794_ = ((SpriteSub3.anInt8481 - i_794_) / SpriteSub3.anInt8481); + i_793_ += i_794_; + i_791_ += SpriteSub3.anInt8481 * i_794_; + i_790_ += i_794_; + } + if ((i_794_ = ((i_791_ - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_793_) i_793_ = i_794_; + int i_795_ = is[i_789_] - i; + int i_796_ = -is_752_[i_789_]; + int i_797_ = i_795_ - (i_790_ - SpriteSub3.anInt8451); + if (i_797_ > 0) { + i_790_ += i_797_; + i_793_ += i_797_; + i_791_ += SpriteSub3.anInt8481 * i_797_; + i_792_ += SpriteSub3.anInt8450 * i_797_; + } else i_796_ -= i_797_; + if (i_793_ < i_796_) i_793_ = i_796_; + for (/**/; i_793_ < 0; i_793_++) { + int i_798_ = (this.anIntArray9933[(((i_792_ >> 12) * this.anInt8471) + (i_791_ >> 12))]); + if (i_798_ != 0) is_754_[i_790_++] = i_798_; + else i_790_++; + i_791_ += SpriteSub3.anInt8481; + } + } + } + i_788_++; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else if (SpriteSub3.anInt8450 < 0) { + int i_799_ = SpriteSub3.anInt8468; + while (i_799_ < 0) { + int i_800_ = i_799_ + i_753_; + if (i_800_ >= 0) { + if (i_800_ >= is.length) break; + int i_801_ = SpriteSub3.anInt8451; + int i_802_ = (SpriteSub3.anInt8458 + SpriteSub3.anInt8479); + int i_803_ = (SpriteSub3.anInt8467 + SpriteSub3.anInt8475); + int i_804_ = SpriteSub3.anInt8478; + int i_805_; + if ((i_805_ = i_802_ - (this.anInt8471 << 12)) >= 0) { + i_805_ = ((SpriteSub3.anInt8481 - i_805_) / SpriteSub3.anInt8481); + i_804_ += i_805_; + i_802_ += SpriteSub3.anInt8481 * i_805_; + i_803_ += SpriteSub3.anInt8450 * i_805_; + i_801_ += i_805_; + } + if ((i_805_ = ((i_802_ - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_804_) i_804_ = i_805_; + if ((i_805_ = i_803_ - (this.anInt8470 << 12)) >= 0) { + i_805_ = ((SpriteSub3.anInt8450 - i_805_) / SpriteSub3.anInt8450); + i_804_ += i_805_; + i_802_ += SpriteSub3.anInt8481 * i_805_; + i_803_ += SpriteSub3.anInt8450 * i_805_; + i_801_ += i_805_; + } + if ((i_805_ = ((i_803_ - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_804_) i_804_ = i_805_; + int i_806_ = is[i_800_] - i; + int i_807_ = -is_752_[i_800_]; + int i_808_ = i_806_ - (i_801_ - SpriteSub3.anInt8451); + if (i_808_ > 0) { + i_801_ += i_808_; + i_804_ += i_808_; + i_802_ += SpriteSub3.anInt8481 * i_808_; + i_803_ += SpriteSub3.anInt8450 * i_808_; + } else i_807_ -= i_808_; + if (i_804_ < i_807_) i_804_ = i_807_; + for (/**/; i_804_ < 0; i_804_++) { + int i_809_ = (this.anIntArray9933[(((i_803_ >> 12) * this.anInt8471) + (i_802_ >> 12))]); + if (i_809_ != 0) is_754_[i_801_++] = i_809_; + else i_801_++; + i_802_ += SpriteSub3.anInt8481; + i_803_ += SpriteSub3.anInt8450; + } + } + i_799_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else { + int i_810_ = SpriteSub3.anInt8468; + while (i_810_ < 0) { + int i_811_ = i_810_ + i_753_; + if (i_811_ >= 0) { + if (i_811_ >= is.length) break; + int i_812_ = SpriteSub3.anInt8451; + int i_813_ = (SpriteSub3.anInt8458 + SpriteSub3.anInt8479); + int i_814_ = (SpriteSub3.anInt8467 + SpriteSub3.anInt8475); + int i_815_ = SpriteSub3.anInt8478; + int i_816_; + if ((i_816_ = i_813_ - (this.anInt8471 << 12)) >= 0) { + i_816_ = ((SpriteSub3.anInt8481 - i_816_) / SpriteSub3.anInt8481); + i_815_ += i_816_; + i_813_ += SpriteSub3.anInt8481 * i_816_; + i_814_ += SpriteSub3.anInt8450 * i_816_; + i_812_ += i_816_; + } + if ((i_816_ = ((i_813_ - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_815_) i_815_ = i_816_; + if (i_814_ < 0) { + i_816_ = ((SpriteSub3.anInt8450 - 1 - i_814_) / SpriteSub3.anInt8450); + i_815_ += i_816_; + i_813_ += SpriteSub3.anInt8481 * i_816_; + i_814_ += SpriteSub3.anInt8450 * i_816_; + i_812_ += i_816_; + } + if ((i_816_ = ((1 + i_814_ - (this.anInt8470 << 12) - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_815_) i_815_ = i_816_; + int i_817_ = is[i_811_] - i; + int i_818_ = -is_752_[i_811_]; + int i_819_ = i_817_ - (i_812_ - SpriteSub3.anInt8451); + if (i_819_ > 0) { + i_812_ += i_819_; + i_815_ += i_819_; + i_813_ += SpriteSub3.anInt8481 * i_819_; + i_814_ += SpriteSub3.anInt8450 * i_819_; + } else i_818_ -= i_819_; + if (i_815_ < i_818_) i_815_ = i_818_; + for (/**/; i_815_ < 0; i_815_++) { + int i_820_ = (this.anIntArray9933[(((i_814_ >> 12) * this.anInt8471) + (i_813_ >> 12))]); + if (i_820_ != 0) is_754_[i_812_++] = i_820_; + else i_812_++; + i_813_ += SpriteSub3.anInt8481; + i_814_ += SpriteSub3.anInt8450; + } + } + i_810_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } + } else if (SpriteSub3.anInt8450 == 0) { + int i_821_ = SpriteSub3.anInt8468; + while (i_821_ < 0) { + int i_822_ = i_821_ + i_753_; + if (i_822_ >= 0) { + if (i_822_ >= is.length) break; + int i_823_ = SpriteSub3.anInt8451; + int i_824_ = SpriteSub3.anInt8458 + SpriteSub3.anInt8479; + int i_825_ = SpriteSub3.anInt8467; + int i_826_ = SpriteSub3.anInt8478; + if (i_825_ >= 0 && (i_825_ - (this.anInt8470 << 12) < 0)) { + if (i_824_ < 0) { + int i_827_ = ((SpriteSub3.anInt8481 - 1 - i_824_) / SpriteSub3.anInt8481); + i_826_ += i_827_; + i_824_ += SpriteSub3.anInt8481 * i_827_; + i_823_ += i_827_; + } + int i_828_; + if ((i_828_ = ((1 + i_824_ - (this.anInt8471 << 12) - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_826_) i_826_ = i_828_; + int i_829_ = is[i_822_] - i; + int i_830_ = -is_752_[i_822_]; + int i_831_ = i_829_ - (i_823_ - SpriteSub3.anInt8451); + if (i_831_ > 0) { + i_823_ += i_831_; + i_826_ += i_831_; + i_824_ += SpriteSub3.anInt8481 * i_831_; + i_825_ += SpriteSub3.anInt8450 * i_831_; + } else i_830_ -= i_831_; + if (i_826_ < i_830_) i_826_ = i_830_; + for (/**/; i_826_ < 0; i_826_++) { + int i_832_ = (this.anIntArray9933[(((i_825_ >> 12) * this.anInt8471) + (i_824_ >> 12))]); + if (i_832_ != 0) is_754_[i_823_++] = i_832_; + else i_823_++; + i_824_ += SpriteSub3.anInt8481; + } + } + } + i_821_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else if (SpriteSub3.anInt8450 < 0) { + int i_833_ = SpriteSub3.anInt8468; + while (i_833_ < 0) { + int i_834_ = i_833_ + i_753_; + if (i_834_ >= 0) { + if (i_834_ >= is.length) break; + int i_835_ = SpriteSub3.anInt8451; + int i_836_ = SpriteSub3.anInt8458 + SpriteSub3.anInt8479; + int i_837_ = SpriteSub3.anInt8467 + SpriteSub3.anInt8475; + int i_838_ = SpriteSub3.anInt8478; + if (i_836_ < 0) { + int i_839_ = ((SpriteSub3.anInt8481 - 1 - i_836_) / SpriteSub3.anInt8481); + i_838_ += i_839_; + i_836_ += SpriteSub3.anInt8481 * i_839_; + i_837_ += SpriteSub3.anInt8450 * i_839_; + i_835_ += i_839_; + } + int i_840_; + if ((i_840_ = ((1 + i_836_ - (this.anInt8471 << 12) - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_838_) i_838_ = i_840_; + if ((i_840_ = i_837_ - (this.anInt8470 << 12)) >= 0) { + i_840_ = ((SpriteSub3.anInt8450 - i_840_) / SpriteSub3.anInt8450); + i_838_ += i_840_; + i_836_ += SpriteSub3.anInt8481 * i_840_; + i_837_ += SpriteSub3.anInt8450 * i_840_; + i_835_ += i_840_; + } + if ((i_840_ = ((i_837_ - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_838_) i_838_ = i_840_; + int i_841_ = is[i_834_] - i; + int i_842_ = -is_752_[i_834_]; + int i_843_ = i_841_ - (i_835_ - SpriteSub3.anInt8451); + if (i_843_ > 0) { + i_835_ += i_843_; + i_838_ += i_843_; + i_836_ += SpriteSub3.anInt8481 * i_843_; + i_837_ += SpriteSub3.anInt8450 * i_843_; + } else i_842_ -= i_843_; + if (i_838_ < i_842_) i_838_ = i_842_; + for (/**/; i_838_ < 0; i_838_++) { + int i_844_ = (this.anIntArray9933[(((i_837_ >> 12) * this.anInt8471) + (i_836_ >> 12))]); + if (i_844_ != 0) is_754_[i_835_++] = i_844_; + else i_835_++; + i_836_ += SpriteSub3.anInt8481; + i_837_ += SpriteSub3.anInt8450; + } + } + i_833_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else { + int i_845_ = SpriteSub3.anInt8468; + while (i_845_ < 0) { + int i_846_ = i_845_ + i_753_; + if (i_846_ >= 0) { + if (i_846_ >= is.length) break; + int i_847_ = SpriteSub3.anInt8451; + int i_848_ = SpriteSub3.anInt8458 + SpriteSub3.anInt8479; + int i_849_ = SpriteSub3.anInt8467 + SpriteSub3.anInt8475; + int i_850_ = SpriteSub3.anInt8478; + if (i_848_ < 0) { + int i_851_ = ((SpriteSub3.anInt8481 - 1 - i_848_) / SpriteSub3.anInt8481); + i_850_ += i_851_; + i_848_ += SpriteSub3.anInt8481 * i_851_; + i_849_ += SpriteSub3.anInt8450 * i_851_; + i_847_ += i_851_; + } + int i_852_; + if ((i_852_ = ((1 + i_848_ - (this.anInt8471 << 12) - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_850_) i_850_ = i_852_; + if (i_849_ < 0) { + i_852_ = ((SpriteSub3.anInt8450 - 1 - i_849_) / SpriteSub3.anInt8450); + i_850_ += i_852_; + i_848_ += SpriteSub3.anInt8481 * i_852_; + i_849_ += SpriteSub3.anInt8450 * i_852_; + i_847_ += i_852_; + } + if ((i_852_ = ((1 + i_849_ - (this.anInt8470 << 12) - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_850_) i_850_ = i_852_; + int i_853_ = is[i_846_] - i; + int i_854_ = -is_752_[i_846_]; + int i_855_ = i_853_ - (i_847_ - SpriteSub3.anInt8451); + if (i_855_ > 0) { + i_847_ += i_855_; + i_850_ += i_855_; + i_848_ += SpriteSub3.anInt8481 * i_855_; + i_849_ += SpriteSub3.anInt8450 * i_855_; + } else i_854_ -= i_855_; + if (i_850_ < i_854_) i_850_ = i_854_; + for (/**/; i_850_ < 0; i_850_++) { + int i_856_ = (this.anIntArray9933[(((i_849_ >> 12) * this.anInt8471) + (i_848_ >> 12))]); + if (i_856_ != 0) is_754_[i_847_++] = i_856_; + else i_847_++; + i_848_ += SpriteSub3.anInt8481; + i_849_ += SpriteSub3.anInt8450; + } + } + i_845_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } + } + + final void method963(int i, int i_857_, Shader var_aa, int i_858_, int i_859_) { + if (this.aHa_Sub1_8460.method3716()) throw new IllegalStateException(); + i += this.anInt8461; + i_857_ += this.anInt8464; + int i_860_ = 0; + int i_861_ = this.aHa_Sub1_8460.anInt7477; + int i_862_ = this.anInt8471; + int i_863_ = this.anInt8470; + int i_864_ = i_861_ - i_862_; + int i_865_ = 0; + int i_866_ = i + i_857_ * i_861_; + if (i_857_ < this.aHa_Sub1_8460.anInt7476) { + int i_867_ = (this.aHa_Sub1_8460.anInt7476 - i_857_); + i_863_ -= i_867_; + i_857_ = this.aHa_Sub1_8460.anInt7476; + i_860_ += i_867_ * i_862_; + i_866_ += i_867_ * i_861_; + } + if (i_857_ + i_863_ > this.aHa_Sub1_8460.anInt7503) i_863_ -= i_857_ + i_863_ - this.aHa_Sub1_8460.anInt7503; + if (i < this.aHa_Sub1_8460.anInt7496) { + int i_868_ = (this.aHa_Sub1_8460.anInt7496 - i); + i_862_ -= i_868_; + i = this.aHa_Sub1_8460.anInt7496; + i_860_ += i_868_; + i_866_ += i_868_; + i_865_ += i_868_; + i_864_ += i_868_; + } + if (i + i_862_ > this.aHa_Sub1_8460.anInt7507) { + int i_869_ = (i + i_862_ - (this.aHa_Sub1_8460.anInt7507)); + i_862_ -= i_869_; + i_865_ += i_869_; + i_864_ += i_869_; + } + if (i_862_ > 0 && i_863_ > 0) { + ShaderSub3 var_aa_Sub3 = (ShaderSub3) var_aa; + int[] is = var_aa_Sub3.anIntArray5201; + int[] is_870_ = var_aa_Sub3.anIntArray5202; + int[] is_871_ = (this.aHa_Sub1_8460.anIntArray7483); + int i_872_ = i_857_; + if (i_859_ > i_872_) { + i_872_ = i_859_; + i_866_ += (i_859_ - i_857_) * i_861_; + i_860_ += (i_859_ - i_857_) * this.anInt8471; + } + int i_873_ = (Math.min(i_859_ + is.length, i_857_ + i_863_)); + for (int i_874_ = i_872_; i_874_ < i_873_; i_874_++) { + int i_875_ = is[i_874_ - i_859_] + i_858_; + int i_876_ = is_870_[i_874_ - i_859_]; + int i_877_ = i_862_; + if (i > i_875_) { + int i_878_ = i - i_875_; + if (i_878_ >= i_876_) { + i_860_ += i_862_ + i_865_; + i_866_ += i_862_ + i_864_; + continue; + } + i_876_ -= i_878_; + } else { + int i_879_ = i_875_ - i; + if (i_879_ >= i_862_) { + i_860_ += i_862_ + i_865_; + i_866_ += i_862_ + i_864_; + continue; + } + i_860_ += i_879_; + i_877_ -= i_879_; + i_866_ += i_879_; + } + int i_880_ = 0; + if (i_877_ < i_876_) i_876_ = i_877_; + else i_880_ = i_877_ - i_876_; + for (int i_881_ = -i_876_; i_881_ < 0; i_881_++) { + int i_882_ = this.anIntArray9933[i_860_++]; + if (i_882_ != 0) is_871_[i_866_++] = i_882_; + else i_866_++; + } + i_860_ += i_880_ + i_865_; + i_866_ += i_880_ + i_864_; + } + } + } + + final void method964(int i, int i_883_, int i_884_, int i_885_, int i_886_) { + if (this.aHa_Sub1_8460.method3716()) throw new IllegalStateException(); + int i_887_ = this.aHa_Sub1_8460.anInt7477; + i += this.anInt8461; + i_883_ += this.anInt8464; + int i_888_ = i_883_ * i_887_ + i; + int i_889_ = 0; + int i_890_ = this.anInt8470; + int i_891_ = this.anInt8471; + int i_892_ = i_887_ - i_891_; + int i_893_ = 0; + if (i_883_ < this.aHa_Sub1_8460.anInt7476) { + int i_894_ = (this.aHa_Sub1_8460.anInt7476 - i_883_); + i_890_ -= i_894_; + i_883_ = this.aHa_Sub1_8460.anInt7476; + i_889_ += i_894_ * i_891_; + i_888_ += i_894_ * i_887_; + } + if (i_883_ + i_890_ > this.aHa_Sub1_8460.anInt7503) i_890_ -= i_883_ + i_890_ - this.aHa_Sub1_8460.anInt7503; + if (i < this.aHa_Sub1_8460.anInt7496) { + int i_895_ = (this.aHa_Sub1_8460.anInt7496 - i); + i_891_ -= i_895_; + i = this.aHa_Sub1_8460.anInt7496; + i_889_ += i_895_; + i_888_ += i_895_; + i_893_ += i_895_; + i_892_ += i_895_; + } + if (i + i_891_ > this.aHa_Sub1_8460.anInt7507) { + int i_896_ = (i + i_891_ - (this.aHa_Sub1_8460.anInt7507)); + i_891_ -= i_896_; + i_893_ += i_896_; + i_892_ += i_896_; + } + if (i_891_ > 0 && i_890_ > 0) { + int[] is = (this.aHa_Sub1_8460.anIntArray7483); + if (i_886_ == 0) { + if (i_884_ == 1) { + for (int i_897_ = -i_890_; i_897_ < 0; i_897_++) { + int i_898_ = i_888_ + i_891_ - 3; + while (i_888_ < i_898_) { + is[i_888_++] = (this.anIntArray9933[i_889_++]); + is[i_888_++] = (this.anIntArray9933[i_889_++]); + is[i_888_++] = (this.anIntArray9933[i_889_++]); + is[i_888_++] = (this.anIntArray9933[i_889_++]); + } + i_898_ += 3; + while (i_888_ < i_898_) is[i_888_++] = (this.anIntArray9933[i_889_++]); + i_888_ += i_892_; + i_889_ += i_893_; + } + return; + } + if (i_884_ == 0) { + int i_899_ = (i_885_ & 0xff0000) >> 16; + int i_900_ = (i_885_ & 0xff00) >> 8; + int i_901_ = i_885_ & 0xff; + for (int i_902_ = -i_890_; i_902_ < 0; i_902_++) { + for (int i_903_ = -i_891_; i_903_ < 0; i_903_++) { + int i_904_ = (this.anIntArray9933[i_889_++]); + int i_905_ = (i_904_ & 0xff0000) * i_899_ & ~0xffffff; + int i_906_ = (i_904_ & 0xff00) * i_900_ & 0xff0000; + int i_907_ = (i_904_ & 0xff) * i_901_ & 0xff00; + is[i_888_++] = (i_905_ | i_906_ | i_907_) >>> 8; + } + i_888_ += i_892_; + i_889_ += i_893_; + } + return; + } + if (i_884_ == 3) { + for (int i_908_ = -i_890_; i_908_ < 0; i_908_++) { + for (int i_909_ = -i_891_; i_909_ < 0; i_909_++) { + int i_910_ = (this.anIntArray9933[i_889_++]); + int i_911_ = i_910_ + i_885_; + int i_912_ = (i_910_ & 0xff00ff) + (i_885_ & 0xff00ff); + int i_913_ = ((i_912_ & 0x1000100) + (i_911_ - i_912_ & 0x10000)); + is[i_888_++] = i_911_ - i_913_ | i_913_ - (i_913_ >>> 8); + } + i_888_ += i_892_; + i_889_ += i_893_; + } + return; + } + if (i_884_ == 2) { + int i_914_ = i_885_ >>> 24; + int i_915_ = 256 - i_914_; + int i_916_ = (i_885_ & 0xff00ff) * i_915_ & ~0xff00ff; + int i_917_ = (i_885_ & 0xff00) * i_915_ & 0xff0000; + i_885_ = (i_916_ | i_917_) >>> 8; + for (int i_918_ = -i_890_; i_918_ < 0; i_918_++) { + for (int i_919_ = -i_891_; i_919_ < 0; i_919_++) { + int i_920_ = (this.anIntArray9933[i_889_++]); + i_916_ = (i_920_ & 0xff00ff) * i_914_ & ~0xff00ff; + i_917_ = (i_920_ & 0xff00) * i_914_ & 0xff0000; + is[i_888_++] = ((i_916_ | i_917_) >>> 8) + i_885_; + } + i_888_ += i_892_; + i_889_ += i_893_; + } + return; + } + throw new IllegalArgumentException(); + } + if (i_886_ == 1) { + if (i_884_ == 1) { + for (int i_921_ = -i_890_; i_921_ < 0; i_921_++) { + int i_922_ = i_888_ + i_891_ - 3; + while (i_888_ < i_922_) { + int i_923_ = (this.anIntArray9933[i_889_++]); + if (i_923_ != 0) is[i_888_++] = i_923_; + else i_888_++; + i_923_ = (this.anIntArray9933[i_889_++]); + if (i_923_ != 0) is[i_888_++] = i_923_; + else i_888_++; + i_923_ = (this.anIntArray9933[i_889_++]); + if (i_923_ != 0) is[i_888_++] = i_923_; + else i_888_++; + i_923_ = (this.anIntArray9933[i_889_++]); + if (i_923_ != 0) is[i_888_++] = i_923_; + else i_888_++; + } + i_922_ += 3; + while (i_888_ < i_922_) { + int i_924_ = (this.anIntArray9933[i_889_++]); + if (i_924_ != 0) is[i_888_++] = i_924_; + else i_888_++; + } + i_888_ += i_892_; + i_889_ += i_893_; + } + return; + } + if (i_884_ == 0) { + if ((i_885_ & 0xffffff) == 16777215) { + int i_925_ = i_885_ >>> 24; + int i_926_ = 256 - i_925_; + for (int i_927_ = -i_890_; i_927_ < 0; i_927_++) { + for (int i_928_ = -i_891_; i_928_ < 0; i_928_++) { + int i_929_ = (this.anIntArray9933[i_889_++]); + if (i_929_ != 0) { + int i_930_ = is[i_888_]; + is[i_888_++] = ((((i_929_ & 0xff00ff) * i_925_ + (i_930_ & 0xff00ff) * i_926_) & ~0xff00ff) + (((i_929_ & 0xff00) * i_925_ + (i_930_ & 0xff00) * i_926_) & 0xff0000)) >> 8; + } else i_888_++; + } + i_888_ += i_892_; + i_889_ += i_893_; + } + } else { + int i_931_ = (i_885_ & 0xff0000) >> 16; + int i_932_ = (i_885_ & 0xff00) >> 8; + int i_933_ = i_885_ & 0xff; + int i_934_ = i_885_ >>> 24; + int i_935_ = 256 - i_934_; + for (int i_936_ = -i_890_; i_936_ < 0; i_936_++) { + for (int i_937_ = -i_891_; i_937_ < 0; i_937_++) { + int i_938_ = (this.anIntArray9933[i_889_++]); + if (i_938_ != 0) { + if (i_934_ == 255) { + int i_943_ = ((i_938_ & 0xff0000) * i_931_ & ~0xffffff); + int i_944_ = ((i_938_ & 0xff00) * i_932_ & 0xff0000); + int i_945_ = ((i_938_ & 0xff) * i_933_ & 0xff00); + is[i_888_++] = (i_943_ | i_944_ | i_945_) >>> 8; + } else { + int i_939_ = ((i_938_ & 0xff0000) * i_931_ & ~0xffffff); + int i_940_ = ((i_938_ & 0xff00) * i_932_ & 0xff0000); + int i_941_ = ((i_938_ & 0xff) * i_933_ & 0xff00); + i_938_ = (i_939_ | i_940_ | i_941_) >>> 8; + int i_942_ = is[i_888_]; + is[i_888_++] = ((((i_938_ & 0xff00ff) * i_934_ + ((i_942_ & 0xff00ff) * i_935_)) & ~0xff00ff) + (((i_938_ & 0xff00) * i_934_ + ((i_942_ & 0xff00) * i_935_)) & 0xff0000)) >> 8; + } + } else i_888_++; + } + i_888_ += i_892_; + i_889_ += i_893_; + } + return; + } + return; + } + if (i_884_ == 3) { + int i_946_ = i_885_ >>> 24; + int i_947_ = 256 - i_946_; + for (int i_948_ = -i_890_; i_948_ < 0; i_948_++) { + for (int i_949_ = -i_891_; i_949_ < 0; i_949_++) { + int i_950_ = (this.anIntArray9933[i_889_++]); + int i_951_ = i_950_ + i_885_; + int i_952_ = (i_950_ & 0xff00ff) + (i_885_ & 0xff00ff); + int i_953_ = ((i_952_ & 0x1000100) + (i_951_ - i_952_ & 0x10000)); + i_953_ = i_951_ - i_953_ | i_953_ - (i_953_ >>> 8); + if (i_950_ == 0 && i_946_ != 255) { + i_950_ = i_953_; + i_953_ = is[i_888_]; + i_953_ = ((((i_950_ & 0xff00ff) * i_946_ + (i_953_ & 0xff00ff) * i_947_) & ~0xff00ff) + (((i_950_ & 0xff00) * i_946_ + (i_953_ & 0xff00) * i_947_) & 0xff0000)) >> 8; + } + is[i_888_++] = i_953_; + } + i_888_ += i_892_; + i_889_ += i_893_; + } + return; + } + if (i_884_ == 2) { + int i_954_ = i_885_ >>> 24; + int i_955_ = 256 - i_954_; + int i_956_ = (i_885_ & 0xff00ff) * i_955_ & ~0xff00ff; + int i_957_ = (i_885_ & 0xff00) * i_955_ & 0xff0000; + i_885_ = (i_956_ | i_957_) >>> 8; + for (int i_958_ = -i_890_; i_958_ < 0; i_958_++) { + for (int i_959_ = -i_891_; i_959_ < 0; i_959_++) { + int i_960_ = (this.anIntArray9933[i_889_++]); + if (i_960_ != 0) { + i_956_ = (i_960_ & 0xff00ff) * i_954_ & ~0xff00ff; + i_957_ = (i_960_ & 0xff00) * i_954_ & 0xff0000; + is[i_888_++] = ((i_956_ | i_957_) >>> 8) + i_885_; + } else i_888_++; + } + i_888_ += i_892_; + i_889_ += i_893_; + } + return; + } + throw new IllegalArgumentException(); + } + if (i_886_ == 2) { + if (i_884_ == 1) { + for (int i_961_ = -i_890_; i_961_ < 0; i_961_++) { + for (int i_962_ = -i_891_; i_962_ < 0; i_962_++) { + int i_963_ = (this.anIntArray9933[i_889_++]); + if (i_963_ != 0) { + int i_964_ = is[i_888_]; + int i_965_ = i_963_ + i_964_; + int i_966_ = ((i_963_ & 0xff00ff) + (i_964_ & 0xff00ff)); + i_964_ = (i_966_ & 0x1000100) + (i_965_ - i_966_ & 0x10000); + is[i_888_++] = i_965_ - i_964_ | i_964_ - (i_964_ >>> 8); + } else i_888_++; + } + i_888_ += i_892_; + i_889_ += i_893_; + } + return; + } + if (i_884_ == 0) { + int i_967_ = (i_885_ & 0xff0000) >> 16; + int i_968_ = (i_885_ & 0xff00) >> 8; + int i_969_ = i_885_ & 0xff; + for (int i_970_ = -i_890_; i_970_ < 0; i_970_++) { + for (int i_971_ = -i_891_; i_971_ < 0; i_971_++) { + int i_972_ = (this.anIntArray9933[i_889_++]); + if (i_972_ != 0) { + int i_973_ = (i_972_ & 0xff0000) * i_967_ & ~0xffffff; + int i_974_ = (i_972_ & 0xff00) * i_968_ & 0xff0000; + int i_975_ = (i_972_ & 0xff) * i_969_ & 0xff00; + i_972_ = (i_973_ | i_974_ | i_975_) >>> 8; + int i_976_ = is[i_888_]; + int i_977_ = i_972_ + i_976_; + int i_978_ = ((i_972_ & 0xff00ff) + (i_976_ & 0xff00ff)); + i_976_ = (i_978_ & 0x1000100) + (i_977_ - i_978_ & 0x10000); + is[i_888_++] = i_977_ - i_976_ | i_976_ - (i_976_ >>> 8); + } else i_888_++; + } + i_888_ += i_892_; + i_889_ += i_893_; + } + return; + } + if (i_884_ == 3) { + for (int i_979_ = -i_890_; i_979_ < 0; i_979_++) { + for (int i_980_ = -i_891_; i_980_ < 0; i_980_++) { + int i_981_ = (this.anIntArray9933[i_889_++]); + int i_982_ = i_981_ + i_885_; + int i_983_ = (i_981_ & 0xff00ff) + (i_885_ & 0xff00ff); + int i_984_ = ((i_983_ & 0x1000100) + (i_982_ - i_983_ & 0x10000)); + i_981_ = i_982_ - i_984_ | i_984_ - (i_984_ >>> 8); + i_984_ = is[i_888_]; + i_982_ = i_981_ + i_984_; + i_983_ = (i_981_ & 0xff00ff) + (i_984_ & 0xff00ff); + i_984_ = (i_983_ & 0x1000100) + (i_982_ - i_983_ & 0x10000); + is[i_888_++] = i_982_ - i_984_ | i_984_ - (i_984_ >>> 8); + } + i_888_ += i_892_; + i_889_ += i_893_; + } + return; + } + if (i_884_ == 2) { + int i_985_ = i_885_ >>> 24; + int i_986_ = 256 - i_985_; + int i_987_ = (i_885_ & 0xff00ff) * i_986_ & ~0xff00ff; + int i_988_ = (i_885_ & 0xff00) * i_986_ & 0xff0000; + i_885_ = (i_987_ | i_988_) >>> 8; + for (int i_989_ = -i_890_; i_989_ < 0; i_989_++) { + for (int i_990_ = -i_891_; i_990_ < 0; i_990_++) { + int i_991_ = (this.anIntArray9933[i_889_++]); + if (i_991_ != 0) { + i_987_ = (i_991_ & 0xff00ff) * i_985_ & ~0xff00ff; + i_988_ = (i_991_ & 0xff00) * i_985_ & 0xff0000; + i_991_ = ((i_987_ | i_988_) >>> 8) + i_885_; + int i_992_ = is[i_888_]; + int i_993_ = i_991_ + i_992_; + int i_994_ = ((i_991_ & 0xff00ff) + (i_992_ & 0xff00ff)); + i_992_ = (i_994_ & 0x1000100) + (i_993_ - i_994_ & 0x10000); + is[i_888_++] = i_993_ - i_992_ | i_992_ - (i_992_ >>> 8); + } else i_888_++; + } + i_888_ += i_892_; + i_889_ += i_893_; + } + return; + } + throw new IllegalArgumentException(); + } + throw new IllegalArgumentException(); + } + } + + final void method996(int i, int i_995_, int i_996_, int i_997_, int i_998_, int i_999_, int i_1000_, int i_1001_, int i_1002_) { + if (i_997_ > 0 && i_998_ > 0) { + int i_1003_ = 0; + int i_1004_ = 0; + int i_1005_ = (this.anInt8461 + this.anInt8471 + this.anInt8454); + int i_1006_ = (this.anInt8464 + this.anInt8470 + this.anInt8456); + int i_1007_ = (i_1005_ << 16) / i_997_; + int i_1008_ = (i_1006_ << 16) / i_998_; + if (this.anInt8461 > 0) { + int i_1009_ = (((this.anInt8461 << 16) + i_1007_ - 1) / i_1007_); + i += i_1009_; + i_1003_ += i_1009_ * i_1007_ - (this.anInt8461 << 16); + } + if (this.anInt8464 > 0) { + int i_1010_ = (((this.anInt8464 << 16) + i_1008_ - 1) / i_1008_); + i_995_ += i_1010_; + i_1004_ += i_1010_ * i_1008_ - (this.anInt8464 << 16); + } + if (this.anInt8471 < i_1005_) i_997_ = ((this.anInt8471 << 16) - i_1003_ + i_1007_ - 1) / i_1007_; + if (this.anInt8470 < i_1006_) i_998_ = ((this.anInt8470 << 16) - i_1004_ + i_1008_ - 1) / i_1008_; + int i_1011_ = i + i_995_ * this.aHa_Sub1_8460.anInt7477; + int i_1012_ = (this.aHa_Sub1_8460.anInt7477 - i_997_); + if (i_995_ + i_998_ > this.aHa_Sub1_8460.anInt7503) i_998_ -= (i_995_ + i_998_ - (this.aHa_Sub1_8460.anInt7503)); + if (i_995_ < this.aHa_Sub1_8460.anInt7476) { + int i_1013_ = (this.aHa_Sub1_8460.anInt7476) - i_995_; + i_998_ -= i_1013_; + i_1011_ += i_1013_ * this.aHa_Sub1_8460.anInt7477; + i_1004_ += i_1008_ * i_1013_; + } + if (i + i_997_ > this.aHa_Sub1_8460.anInt7507) { + int i_1014_ = (i + i_997_ - (this.aHa_Sub1_8460.anInt7507)); + i_997_ -= i_1014_; + i_1012_ += i_1014_; + } + if (i < this.aHa_Sub1_8460.anInt7496) { + int i_1015_ = (this.aHa_Sub1_8460.anInt7496) - i; + i_997_ -= i_1015_; + i_1011_ += i_1015_; + i_1003_ += i_1007_ * i_1015_; + i_1012_ += i_1015_; + } + float[] fs = (this.aHa_Sub1_8460.aFloatArray7511); + int[] is = (this.aHa_Sub1_8460.anIntArray7483); + if (i_1001_ == 0) { + if (i_999_ == 1) { + int i_1016_ = i_1003_; + for (int i_1017_ = -i_998_; i_1017_ < 0; i_1017_++) { + int i_1018_ = ((i_1004_ >> 16) * this.anInt8471); + for (int i_1019_ = -i_997_; i_1019_ < 0; i_1019_++) { + if ((float) i_996_ < fs[i_1011_]) { + is[i_1011_] = (this.anIntArray9933[(i_1003_ >> 16) + i_1018_]); + fs[i_1011_] = (float) i_996_; + } + i_1003_ += i_1007_; + i_1011_++; + } + i_1004_ += i_1008_; + i_1003_ = i_1016_; + i_1011_ += i_1012_; + } + return; + } + if (i_999_ == 0) { + int i_1020_ = (i_1000_ & 0xff0000) >> 16; + int i_1021_ = (i_1000_ & 0xff00) >> 8; + int i_1022_ = i_1000_ & 0xff; + int i_1023_ = i_1003_; + for (int i_1024_ = -i_998_; i_1024_ < 0; i_1024_++) { + int i_1025_ = ((i_1004_ >> 16) * this.anInt8471); + for (int i_1026_ = -i_997_; i_1026_ < 0; i_1026_++) { + if ((float) i_996_ < fs[i_1011_]) { + int i_1027_ = (this.anIntArray9933[(i_1003_ >> 16) + i_1025_]); + int i_1028_ = ((i_1027_ & 0xff0000) * i_1020_ & ~0xffffff); + int i_1029_ = (i_1027_ & 0xff00) * i_1021_ & 0xff0000; + int i_1030_ = (i_1027_ & 0xff) * i_1022_ & 0xff00; + is[i_1011_] = (i_1028_ | i_1029_ | i_1030_) >>> 8; + fs[i_1011_] = (float) i_996_; + } + i_1003_ += i_1007_; + i_1011_++; + } + i_1004_ += i_1008_; + i_1003_ = i_1023_; + i_1011_ += i_1012_; + } + return; + } + if (i_999_ == 3) { + int i_1031_ = i_1003_; + for (int i_1032_ = -i_998_; i_1032_ < 0; i_1032_++) { + int i_1033_ = ((i_1004_ >> 16) * this.anInt8471); + for (int i_1034_ = -i_997_; i_1034_ < 0; i_1034_++) { + if ((float) i_996_ < fs[i_1011_]) { + int i_1035_ = (this.anIntArray9933[(i_1003_ >> 16) + i_1033_]); + int i_1036_ = i_1035_ + i_1000_; + int i_1037_ = ((i_1035_ & 0xff00ff) + (i_1000_ & 0xff00ff)); + int i_1038_ = ((i_1037_ & 0x1000100) + (i_1036_ - i_1037_ & 0x10000)); + is[i_1011_] = i_1036_ - i_1038_ | i_1038_ - (i_1038_ >>> 8); + fs[i_1011_] = (float) i_996_; + } + i_1003_ += i_1007_; + i_1011_++; + } + i_1004_ += i_1008_; + i_1003_ = i_1031_; + i_1011_ += i_1012_; + } + return; + } + if (i_999_ == 2) { + int i_1039_ = i_1000_ >>> 24; + int i_1040_ = 256 - i_1039_; + int i_1041_ = (i_1000_ & 0xff00ff) * i_1040_ & ~0xff00ff; + int i_1042_ = (i_1000_ & 0xff00) * i_1040_ & 0xff0000; + i_1000_ = (i_1041_ | i_1042_) >>> 8; + int i_1043_ = i_1003_; + for (int i_1044_ = -i_998_; i_1044_ < 0; i_1044_++) { + int i_1045_ = ((i_1004_ >> 16) * this.anInt8471); + for (int i_1046_ = -i_997_; i_1046_ < 0; i_1046_++) { + if ((float) i_996_ < fs[i_1011_]) { + int i_1047_ = (this.anIntArray9933[(i_1003_ >> 16) + i_1045_]); + i_1041_ = ((i_1047_ & 0xff00ff) * i_1039_ & ~0xff00ff); + i_1042_ = (i_1047_ & 0xff00) * i_1039_ & 0xff0000; + is[i_1011_] = ((i_1041_ | i_1042_) >>> 8) + i_1000_; + fs[i_1011_] = (float) i_996_; + } + i_1003_ += i_1007_; + i_1011_++; + } + i_1004_ += i_1008_; + i_1003_ = i_1043_; + i_1011_ += i_1012_; + } + return; + } + throw new IllegalArgumentException(); + } + if (i_1001_ == 1) { + if (i_999_ == 1) { + int i_1048_ = i_1003_; + for (int i_1049_ = -i_998_; i_1049_ < 0; i_1049_++) { + int i_1050_ = ((i_1004_ >> 16) * this.anInt8471); + for (int i_1051_ = -i_997_; i_1051_ < 0; i_1051_++) { + if ((float) i_996_ < fs[i_1011_]) { + int i_1052_ = (this.anIntArray9933[(i_1003_ >> 16) + i_1050_]); + if (i_1052_ != 0) { + is[i_1011_] = i_1052_; + fs[i_1011_] = (float) i_996_; + } + } + i_1003_ += i_1007_; + i_1011_++; + } + i_1004_ += i_1008_; + i_1003_ = i_1048_; + i_1011_ += i_1012_; + } + return; + } + if (i_999_ == 0) { + int i_1053_ = i_1003_; + if ((i_1000_ & 0xffffff) == 16777215) { + int i_1054_ = i_1000_ >>> 24; + int i_1055_ = 256 - i_1054_; + for (int i_1056_ = -i_998_; i_1056_ < 0; i_1056_++) { + int i_1057_ = ((i_1004_ >> 16) * this.anInt8471); + for (int i_1058_ = -i_997_; i_1058_ < 0; i_1058_++) { + if ((float) i_996_ < fs[i_1011_]) { + int i_1059_ = (this.anIntArray9933[(i_1003_ >> 16) + i_1057_]); + if (i_1059_ != 0) { + int i_1060_ = is[i_1011_]; + is[i_1011_] = ((((i_1059_ & 0xff00ff) * i_1054_ + ((i_1060_ & 0xff00ff) * i_1055_)) & ~0xff00ff) + (((i_1059_ & 0xff00) * i_1054_ + ((i_1060_ & 0xff00) * i_1055_)) & 0xff0000)) >> 8; + fs[i_1011_] = (float) i_996_; + } + } + i_1003_ += i_1007_; + i_1011_++; + } + i_1004_ += i_1008_; + i_1003_ = i_1053_; + i_1011_ += i_1012_; + } + } else { + int i_1061_ = (i_1000_ & 0xff0000) >> 16; + int i_1062_ = (i_1000_ & 0xff00) >> 8; + int i_1063_ = i_1000_ & 0xff; + int i_1064_ = i_1000_ >>> 24; + int i_1065_ = 256 - i_1064_; + for (int i_1066_ = -i_998_; i_1066_ < 0; i_1066_++) { + int i_1067_ = ((i_1004_ >> 16) * this.anInt8471); + for (int i_1068_ = -i_997_; i_1068_ < 0; i_1068_++) { + if ((float) i_996_ < fs[i_1011_]) { + int i_1069_ = (this.anIntArray9933[(i_1003_ >> 16) + i_1067_]); + if (i_1069_ != 0) { + if (i_1064_ == 255) { + int i_1074_ = (((i_1069_ & 0xff0000) * i_1061_) & ~0xffffff); + int i_1075_ = ((i_1069_ & 0xff00) * i_1062_ & 0xff0000); + int i_1076_ = ((i_1069_ & 0xff) * i_1063_ & 0xff00); + is[i_1011_] = (i_1074_ | i_1075_ | i_1076_) >>> 8; + fs[i_1011_] = (float) i_996_; + } else { + int i_1070_ = (((i_1069_ & 0xff0000) * i_1061_) & ~0xffffff); + int i_1071_ = ((i_1069_ & 0xff00) * i_1062_ & 0xff0000); + int i_1072_ = ((i_1069_ & 0xff) * i_1063_ & 0xff00); + i_1069_ = (i_1070_ | i_1071_ | i_1072_) >>> 8; + int i_1073_ = is[i_1011_]; + is[i_1011_] = (((((i_1069_ & 0xff00ff) * i_1064_) + ((i_1073_ & 0xff00ff) * i_1065_)) & ~0xff00ff) + ((((i_1069_ & 0xff00) * i_1064_) + ((i_1073_ & 0xff00) * i_1065_)) & 0xff0000)) >> 8; + fs[i_1011_] = (float) i_996_; + } + } + } + i_1003_ += i_1007_; + i_1011_++; + } + i_1004_ += i_1008_; + i_1003_ = i_1053_; + i_1011_ += i_1012_; + } + return; + } + return; + } + if (i_999_ == 3) { + int i_1077_ = i_1003_; + int i_1078_ = i_1000_ >>> 24; + int i_1079_ = 256 - i_1078_; + for (int i_1080_ = -i_998_; i_1080_ < 0; i_1080_++) { + int i_1081_ = ((i_1004_ >> 16) * this.anInt8471); + for (int i_1082_ = -i_997_; i_1082_ < 0; i_1082_++) { + if ((float) i_996_ < fs[i_1011_]) { + int i_1083_ = (this.anIntArray9933[(i_1003_ >> 16) + i_1081_]); + int i_1084_ = i_1083_ + i_1000_; + int i_1085_ = ((i_1083_ & 0xff00ff) + (i_1000_ & 0xff00ff)); + int i_1086_ = ((i_1085_ & 0x1000100) + (i_1084_ - i_1085_ & 0x10000)); + i_1086_ = i_1084_ - i_1086_ | i_1086_ - (i_1086_ >>> 8); + if (i_1083_ == 0 && i_1078_ != 255) { + i_1083_ = i_1086_; + i_1086_ = is[i_1011_]; + i_1086_ = ((((i_1083_ & 0xff00ff) * i_1078_ + (i_1086_ & 0xff00ff) * i_1079_) & ~0xff00ff) + (((i_1083_ & 0xff00) * i_1078_ + (i_1086_ & 0xff00) * i_1079_) & 0xff0000)) >> 8; + } + is[i_1011_] = i_1086_; + fs[i_1011_] = (float) i_996_; + } + i_1003_ += i_1007_; + i_1011_++; + } + i_1004_ += i_1008_; + i_1003_ = i_1077_; + i_1011_ += i_1012_; + } + return; + } + if (i_999_ == 2) { + int i_1087_ = i_1000_ >>> 24; + int i_1088_ = 256 - i_1087_; + int i_1089_ = (i_1000_ & 0xff00ff) * i_1088_ & ~0xff00ff; + int i_1090_ = (i_1000_ & 0xff00) * i_1088_ & 0xff0000; + i_1000_ = (i_1089_ | i_1090_) >>> 8; + int i_1091_ = i_1003_; + for (int i_1092_ = -i_998_; i_1092_ < 0; i_1092_++) { + int i_1093_ = ((i_1004_ >> 16) * this.anInt8471); + for (int i_1094_ = -i_997_; i_1094_ < 0; i_1094_++) { + if ((float) i_996_ < fs[i_1011_]) { + int i_1095_ = (this.anIntArray9933[(i_1003_ >> 16) + i_1093_]); + if (i_1095_ != 0) { + i_1089_ = ((i_1095_ & 0xff00ff) * i_1087_ & ~0xff00ff); + i_1090_ = ((i_1095_ & 0xff00) * i_1087_ & 0xff0000); + is[i_1011_] = (((i_1089_ | i_1090_) >>> 8) + i_1000_); + fs[i_1011_] = (float) i_996_; + } + } + i_1003_ += i_1007_; + i_1011_++; + } + i_1004_ += i_1008_; + i_1003_ = i_1091_; + i_1011_ += i_1012_; + } + return; + } + throw new IllegalArgumentException(); + } + if (i_1001_ == 2) { + if (i_999_ == 1) { + int i_1096_ = i_1003_; + for (int i_1097_ = -i_998_; i_1097_ < 0; i_1097_++) { + int i_1098_ = ((i_1004_ >> 16) * this.anInt8471); + for (int i_1099_ = -i_997_; i_1099_ < 0; i_1099_++) { + if ((float) i_996_ < fs[i_1011_]) { + int i_1100_ = (this.anIntArray9933[(i_1003_ >> 16) + i_1098_]); + if (i_1100_ != 0) { + int i_1101_ = is[i_1011_]; + int i_1102_ = i_1100_ + i_1101_; + int i_1103_ = ((i_1100_ & 0xff00ff) + (i_1101_ & 0xff00ff)); + i_1101_ = ((i_1103_ & 0x1000100) + (i_1102_ - i_1103_ & 0x10000)); + is[i_1011_] = (i_1102_ - i_1101_ | i_1101_ - (i_1101_ >>> 8)); + fs[i_1011_] = (float) i_996_; + } + } + i_1003_ += i_1007_; + i_1011_++; + } + i_1004_ += i_1008_; + i_1003_ = i_1096_; + i_1011_ += i_1012_; + } + return; + } + if (i_999_ == 0) { + int i_1104_ = i_1003_; + int i_1105_ = (i_1000_ & 0xff0000) >> 16; + int i_1106_ = (i_1000_ & 0xff00) >> 8; + int i_1107_ = i_1000_ & 0xff; + for (int i_1108_ = -i_998_; i_1108_ < 0; i_1108_++) { + int i_1109_ = ((i_1004_ >> 16) * this.anInt8471); + for (int i_1110_ = -i_997_; i_1110_ < 0; i_1110_++) { + if ((float) i_996_ < fs[i_1011_]) { + int i_1111_ = (this.anIntArray9933[(i_1003_ >> 16) + i_1109_]); + if (i_1111_ != 0) { + int i_1112_ = ((i_1111_ & 0xff0000) * i_1105_ & ~0xffffff); + int i_1113_ = ((i_1111_ & 0xff00) * i_1106_ & 0xff0000); + int i_1114_ = (i_1111_ & 0xff) * i_1107_ & 0xff00; + i_1111_ = (i_1112_ | i_1113_ | i_1114_) >>> 8; + int i_1115_ = is[i_1011_]; + int i_1116_ = i_1111_ + i_1115_; + int i_1117_ = ((i_1111_ & 0xff00ff) + (i_1115_ & 0xff00ff)); + i_1115_ = ((i_1117_ & 0x1000100) + (i_1116_ - i_1117_ & 0x10000)); + is[i_1011_] = (i_1116_ - i_1115_ | i_1115_ - (i_1115_ >>> 8)); + fs[i_1011_] = (float) i_996_; + } + } + i_1003_ += i_1007_; + i_1011_++; + } + i_1004_ += i_1008_; + i_1003_ = i_1104_; + i_1011_ += i_1012_; + } + return; + } + if (i_999_ == 3) { + int i_1118_ = i_1003_; + for (int i_1119_ = -i_998_; i_1119_ < 0; i_1119_++) { + int i_1120_ = ((i_1004_ >> 16) * this.anInt8471); + for (int i_1121_ = -i_997_; i_1121_ < 0; i_1121_++) { + if ((float) i_996_ < fs[i_1011_]) { + int i_1122_ = (this.anIntArray9933[(i_1003_ >> 16) + i_1120_]); + int i_1123_ = i_1122_ + i_1000_; + int i_1124_ = ((i_1122_ & 0xff00ff) + (i_1000_ & 0xff00ff)); + int i_1125_ = ((i_1124_ & 0x1000100) + (i_1123_ - i_1124_ & 0x10000)); + i_1122_ = i_1123_ - i_1125_ | i_1125_ - (i_1125_ >>> 8); + i_1125_ = is[i_1011_]; + i_1123_ = i_1122_ + i_1125_; + i_1124_ = (i_1122_ & 0xff00ff) + (i_1125_ & 0xff00ff); + i_1125_ = ((i_1124_ & 0x1000100) + (i_1123_ - i_1124_ & 0x10000)); + is[i_1011_] = i_1123_ - i_1125_ | i_1125_ - (i_1125_ >>> 8); + fs[i_1011_] = (float) i_996_; + } + i_1003_ += i_1007_; + i_1011_++; + } + i_1004_ += i_1008_; + i_1003_ = i_1118_; + i_1011_ += i_1012_; + } + return; + } + if (i_999_ == 2) { + int i_1126_ = i_1000_ >>> 24; + int i_1127_ = 256 - i_1126_; + int i_1128_ = (i_1000_ & 0xff00ff) * i_1127_ & ~0xff00ff; + int i_1129_ = (i_1000_ & 0xff00) * i_1127_ & 0xff0000; + i_1000_ = (i_1128_ | i_1129_) >>> 8; + int i_1130_ = i_1003_; + for (int i_1131_ = -i_998_; i_1131_ < 0; i_1131_++) { + int i_1132_ = ((i_1004_ >> 16) * this.anInt8471); + for (int i_1133_ = -i_997_; i_1133_ < 0; i_1133_++) { + if ((float) i_996_ < fs[i_1011_]) { + int i_1134_ = (this.anIntArray9933[(i_1003_ >> 16) + i_1132_]); + if (i_1134_ != 0) { + i_1128_ = ((i_1134_ & 0xff00ff) * i_1126_ & ~0xff00ff); + i_1129_ = ((i_1134_ & 0xff00) * i_1126_ & 0xff0000); + i_1134_ = (((i_1128_ | i_1129_) >>> 8) + i_1000_); + int i_1135_ = is[i_1011_]; + int i_1136_ = i_1134_ + i_1135_; + int i_1137_ = ((i_1134_ & 0xff00ff) + (i_1135_ & 0xff00ff)); + i_1135_ = ((i_1137_ & 0x1000100) + (i_1136_ - i_1137_ & 0x10000)); + is[i_1011_] = (i_1136_ - i_1135_ | i_1135_ - (i_1135_ >>> 8)); + fs[i_1011_] = (float) i_996_; + } + } + i_1003_ += i_1007_; + i_1011_++; + } + i_1004_ += i_1008_; + i_1003_ = i_1130_; + i_1011_ += i_1012_; + } + return; + } + throw new IllegalArgumentException(); + } + throw new IllegalArgumentException(); + } + } +} diff --git a/client/sprites/SpriteSub1.java b/client/sprites/SpriteSub1.java new file mode 100644 index 000000000..9857734c0 --- /dev/null +++ b/client/sprites/SpriteSub1.java @@ -0,0 +1,493 @@ +/* SpriteSub1 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class SpriteSub1 +/** + * RENAMED from `Class105_Sub1` (JODE-obfuscated). + * Evidence: subclass of Component24 (hierarchy) + */ extends Component24 { + static int anInt8390; + private final boolean aBoolean8391; + static int anInt8392; + static int anInt8393; + static int anInt8394; + static int anInt8395; + private final boolean aBoolean8396; + private int anInt8397 = 0; + static int anInt8398 = 0; + static int anInt8399; + private int anInt8400; + static int anInt8401; + static int anInt8402; + private final Interface18_Impl3 anInterface18_Impl3_8403; + static int anInt8404; + static int anInt8405; + static int anInt8406; + private final GlToolkitSub3 aHa_Sub3_8407; + private final boolean aBoolean8408; + static int anInt8409; + private final boolean aBoolean8410; + private final int anInt8411; + static int anInt8412; + static int anInt8413; + static int anInt8414; + static int anInt8415; + private int anInt8416 = 0; + private final int anInt8417; + private boolean aBoolean8418; + private int anInt8419 = 0; + static int anInt8420; + static int anInt8421; + static int anInt8422; + static int anInt8423; + + final int method980() { + anInt8402++; + return anInt8417 + (anInt8419 + anInt8397); + } + + final void method985(int i, int i_0_, int i_1_, int i_2_) { + anInt8413++; + anInt8419 = i_0_; + anInt8397 = i_2_; + anInt8400 = i; + anInt8416 = i_1_; + aBoolean8418 = (anInt8400 != 0 || anInt8419 != 0 || anInt8416 != 0 || anInt8397 != 0); + } + + private final void method986(int i, int i_3_, int i_4_, int i_5_, int[] is, int i_6_, int i_7_) { + anInt8394++; + anInterface18_Impl3_8403.method68(i_7_, 22809, is, i, i_6_, i_4_, i_3_, i_5_); + } + + static final Component14 method987(int i, Buffer class348_sub49) { + anInt8405++; + Component27 class369 = NodeSub16Sub2.method2834((byte) -118, class348_sub49); + if (i != 743571200) method989(-21, 36, 81); + int i_8_ = class348_sub49.readInt((byte) -126); + int i_9_ = class348_sub49.readInt((byte) -126); + return new Component14(class369.aClass221_4968, class369.aClass341_4973, class369.anInt4970, class369.anInt4959, class369.anInt4971, class369.anInt4963, class369.anInt4966, class369.anInt4965, class369.anInt4961, i_8_, i_9_); + } + + final int method966() { + anInt8399++; + return anInt8416 + anInt8400 + anInt8411; + } + + final int method969() { + anInt8404++; + return anInt8417; + } + + static final TeleportHandler method988(int i, int i_10_, int i_11_) { + anInt8415++; + TeleportHandler class361 = new TeleportHandler(); + class361.anInt4437 = 6 + i_11_; + class361.anInt4453 = -1; + class361.anInt4443 = 5 + (i - -1); + if (i_10_ != 1) return null; + class361.anInt4441 = -1; + class361.anIntArrayArray4438 = (new int[class361.anInt4437] + [class361.anInt4443]); + class361.method3500(700); + return class361; + } + + final void method962(float f, float f_12_, float f_13_, float f_14_, float f_15_, float f_16_, int i, int i_17_, int i_18_, int i_19_) { + anInt8393++; + MatrixSub2 class101_sub2 = aHa_Sub3_8407.method3934(-114); + MatrixSub2 class101_sub2_20_ = aHa_Sub3_8407.method3820(false); + anInterface18_Impl3_8403.method64(((aBoolean8410 || aBoolean8408 || ((0x1 & i_19_) == 0)) ? DisplayModeManagerContainer105.aClass209_4874 : DisplayModeManagerContainer5.aClass209_1212), -22095); + aHa_Sub3_8407.method3864(-5); + aHa_Sub3_8407.method3850((byte) 78, anInterface18_Impl3_8403); + aHa_Sub3_8407.method3817(81, i_18_); + aHa_Sub3_8407.method3923(true, i); + aHa_Sub3_8407.method3849((byte) 47, 1, DefinitionSub39.aClass70_9485); + aHa_Sub3_8407.method3885(1, true, DefinitionSub39.aClass70_9485); + aHa_Sub3_8407.method3894(-28186, i_17_); + if (aBoolean8418) { + float f_21_ = (float) method966(); + float f_22_ = (float) method980(); + float f_23_ = (-f + f_13_) / f_21_; + float f_24_ = (-f_12_ + f_14_) / f_21_; + float f_25_ = (f_15_ - f) / f_22_; + float f_26_ = (f_16_ - f_12_) / f_22_; + float f_27_ = (float) anInt8419 * f_25_; + float f_28_ = (float) anInt8419 * f_26_; + float f_29_ = f_23_ * (float) anInt8400; + float f_30_ = f_24_ * (float) anInt8400; + float f_31_ = -f_23_ * (float) anInt8416; + float f_32_ = -f_24_ * (float) anInt8416; + float f_33_ = -f_25_ * (float) anInt8397; + float f_34_ = (float) anInt8397 * -f_26_; + f = f_27_ + (f + f_29_); + f_15_ = f_29_ + f_15_ + f_33_; + f_14_ = f_14_ + f_32_ + f_28_; + f_13_ = f_27_ + (f_13_ + f_31_); + f_12_ = f_28_ + (f_12_ + f_30_); + f_16_ = f_16_ + f_30_ + f_34_; + } + class101_sub2.method935(1.0F, f_14_ - f_12_, -f + f_15_, 0.0F, 0.0F, -f_12_ + f_16_, 0.0F, 0.0F, f_13_ - f, 0); + class101_sub2.method920(f_12_, false, 0.0F, f); + class101_sub2_20_.method932(1.0F, anInterface18_Impl3_8403.method71((byte) -47, (float) anInt8417), anInterface18_Impl3_8403.method67((float) anInt8411, 123), (byte) -66); + aHa_Sub3_8407.method3853(-32, Component302.aClass251_6030); + aHa_Sub3_8407.method3915(0); + aHa_Sub3_8407.method3933(-44); + aHa_Sub3_8407.method3879(-8629); + aHa_Sub3_8407.method3849((byte) 47, 1, DisplayModeManagerContainer343.aClass70_8737); + aHa_Sub3_8407.method3885(1, true, DisplayModeManagerContainer343.aClass70_8737); + } + + final void method965(int i, int i_35_, int i_36_, int i_37_, int i_38_, int i_39_, int i_40_) { + anInt8423++; + MatrixSub2 class101_sub2 = aHa_Sub3_8407.method3934(-80); + MatrixSub2 class101_sub2_41_ = aHa_Sub3_8407.method3820(false); + anInterface18_Impl3_8403.method64(DisplayModeManagerContainer105.aClass209_4874, -22095); + aHa_Sub3_8407.method3864(-20); + aHa_Sub3_8407.method3850((byte) -46, anInterface18_Impl3_8403); + aHa_Sub3_8407.method3817(98, i_40_); + aHa_Sub3_8407.method3923(true, i_38_); + aHa_Sub3_8407.method3849((byte) 47, 1, DefinitionSub39.aClass70_9485); + aHa_Sub3_8407.method3885(1, true, DefinitionSub39.aClass70_9485); + aHa_Sub3_8407.method3894(-28186, i_39_); + boolean bool = aBoolean8391 && anInt8419 == 0 && anInt8397 == 0; + boolean bool_42_ = (aBoolean8396 && anInt8400 == 0 && anInt8416 == 0); + if (bool_42_ & bool) { + class101_sub2_41_.method932(1.0F, anInterface18_Impl3_8403.method71((byte) -26, (float) i_37_), anInterface18_Impl3_8403.method67((float) i_36_, 118), (byte) -75); + class101_sub2.method932(0.0F, (float) i_37_, (float) i_36_, (byte) -83); + class101_sub2.method891(i, i_35_, 0); + aHa_Sub3_8407.method3853(-32, Component302.aClass251_6030); + aHa_Sub3_8407.method3915(0); + aHa_Sub3_8407.method3933(-63); + } else if (bool_42_) { + int i_43_ = i_37_ + i_35_; + int i_44_ = method980(); + class101_sub2_41_.method932(1.0F, anInterface18_Impl3_8403.method71((byte) -99, (float) anInt8417), anInterface18_Impl3_8403.method67((float) i_36_, 110), (byte) -120); + aHa_Sub3_8407.method3853(-32, Component302.aClass251_6030); + int i_45_ = anInt8419 + i_35_; + int i_46_ = i_45_ - -anInt8417; + while (i_46_ <= i_43_) { + class101_sub2.method932(0.0F, (float) anInt8417, (float) i_36_, (byte) -32); + class101_sub2.method891(i, i_45_, 0); + aHa_Sub3_8407.method3915(0); + i_46_ += i_44_; + i_45_ += i_44_; + aHa_Sub3_8407.method3933(-57); + } + if (i_43_ > i_45_) { + int i_47_ = i_43_ - i_45_; + class101_sub2_41_.method932(1.0F, anInterface18_Impl3_8403.method71((byte) -81, (float) i_47_), anInterface18_Impl3_8403.method67((float) i_36_, 127), (byte) -16); + aHa_Sub3_8407.method3853(-32, Component302.aClass251_6030); + class101_sub2.method932(0.0F, (float) i_47_, (float) i_36_, (byte) -101); + class101_sub2.method891(i, i_45_, 0); + aHa_Sub3_8407.method3915(0); + aHa_Sub3_8407.method3933(-91); + } + } else if (bool) { + int i_61_ = i - -i_36_; + int i_62_ = method966(); + class101_sub2_41_.method932(1.0F, anInterface18_Impl3_8403.method71((byte) -121, (float) i_37_), anInterface18_Impl3_8403.method67((float) anInt8411, 77), (byte) -27); + aHa_Sub3_8407.method3853(-32, Component302.aClass251_6030); + int i_63_ = i - -anInt8400; + for (int i_64_ = anInt8411 + i_63_; i_64_ <= i_61_; i_64_ += i_62_) { + class101_sub2.method932(0.0F, (float) i_37_, (float) anInt8411, (byte) -69); + class101_sub2.method891(i_63_, i_35_, 0); + aHa_Sub3_8407.method3915(0); + i_63_ += i_62_; + aHa_Sub3_8407.method3933(-40); + } + if (i_63_ < i_61_) { + int i_65_ = -i_63_ + i_61_; + class101_sub2_41_.method932(1.0F, anInterface18_Impl3_8403.method71((byte) -62, (float) i_37_), anInterface18_Impl3_8403.method67((float) i_65_, 119), (byte) -10); + aHa_Sub3_8407.method3853(-32, Component302.aClass251_6030); + class101_sub2.method932(0.0F, (float) i_37_, (float) i_65_, (byte) -120); + class101_sub2.method891(i_63_, i_35_, 0); + aHa_Sub3_8407.method3915(0); + aHa_Sub3_8407.method3933(-57); + } + } else { + int i_48_ = i_37_ + i_35_; + int i_49_ = i + i_36_; + int i_50_ = method966(); + int i_51_ = method980(); + int i_52_ = anInt8419 + i_35_; + int i_53_ = i_52_ + anInt8417; + while (i_48_ >= i_53_) { + class101_sub2_41_.method932(1.0F, anInterface18_Impl3_8403.method71((byte) -89, (float) anInt8417), anInterface18_Impl3_8403.method67((float) anInt8411, 88), (byte) -16); + aHa_Sub3_8407.method3853(-32, Component302.aClass251_6030); + int i_54_ = anInt8400 + i; + for (int i_55_ = i_54_ - -anInt8411; i_55_ <= i_49_; i_55_ += i_50_) { + class101_sub2.method932(0.0F, (float) anInt8417, (float) anInt8411, (byte) -65); + class101_sub2.method891(i_54_, i_52_, 0); + aHa_Sub3_8407.method3915(0); + i_54_ += i_50_; + aHa_Sub3_8407.method3933(-113); + } + if (i_49_ > i_54_) { + int i_56_ = -i_54_ + i_49_; + class101_sub2_41_.method932(1.0F, anInterface18_Impl3_8403.method71((byte) -82, (float) anInt8417), anInterface18_Impl3_8403.method67((float) i_56_, 86), (byte) -35); + aHa_Sub3_8407.method3853(-32, Component302.aClass251_6030); + class101_sub2.method932(0.0F, (float) anInt8417, (float) i_56_, (byte) -26); + class101_sub2.method891(i_54_, i_52_, 0); + aHa_Sub3_8407.method3915(0); + aHa_Sub3_8407.method3933(-79); + } + i_53_ += i_51_; + i_52_ += i_51_; + } + if (i_52_ < i_48_) { + int i_57_ = i_48_ + -i_52_; + class101_sub2_41_.method932(1.0F, anInterface18_Impl3_8403.method71((byte) -121, (float) i_57_), anInterface18_Impl3_8403.method67((float) anInt8411, 102), (byte) -59); + aHa_Sub3_8407.method3853(-32, Component302.aClass251_6030); + int i_58_ = anInt8400 + i; + int i_59_ = anInt8411 + i_58_; + while (i_49_ >= i_59_) { + class101_sub2.method932(0.0F, (float) i_57_, (float) anInt8411, (byte) -98); + class101_sub2.method891(i_58_, i_52_, 0); + aHa_Sub3_8407.method3915(0); + i_58_ += i_50_; + i_59_ += i_50_; + aHa_Sub3_8407.method3933(-69); + } + if (i_49_ > i_58_) { + int i_60_ = i_49_ - i_58_; + class101_sub2_41_.method932(1.0F, anInterface18_Impl3_8403.method71((byte) -102, (float) i_57_), anInterface18_Impl3_8403.method67((float) i_60_, 115), (byte) -90); + aHa_Sub3_8407.method3853(-32, Component302.aClass251_6030); + class101_sub2.method932(0.0F, (float) i_57_, (float) i_60_, (byte) -95); + class101_sub2.method891(i_58_, i_52_, 0); + aHa_Sub3_8407.method3915(0); + aHa_Sub3_8407.method3933(-54); + } + } + } + aHa_Sub3_8407.method3879(-8629); + aHa_Sub3_8407.method3849((byte) 47, 1, DisplayModeManagerContainer343.aClass70_8737); + aHa_Sub3_8407.method3885(1, true, DisplayModeManagerContainer343.aClass70_8737); + } + + final void method983(float f, float f_66_, float f_67_, float f_68_, float f_69_, float f_70_, int i, Shader var_aa, int i_71_, int i_72_) { + anInt8390++; + MatrixSub2 class101_sub2 = aHa_Sub3_8407.method3934(-121); + MatrixSub2 class101_sub2_73_ = aHa_Sub3_8407.method3820(false); + ShaderSub2 var_aa_Sub2 = (ShaderSub2) var_aa; + Interface18_Impl3 interface18_impl3 = var_aa_Sub2.anInterface18_Impl3_5196; + anInterface18_Impl3_8403.method64(((aBoolean8410 || aBoolean8408 || (0x1 & i) == 0) ? DisplayModeManagerContainer105.aClass209_4874 : DisplayModeManagerContainer5.aClass209_1212), -22095); + aHa_Sub3_8407.method3864(101); + aHa_Sub3_8407.method3850((byte) -102, anInterface18_Impl3_8403); + aHa_Sub3_8407.method3817(86, 1); + aHa_Sub3_8407.method3923(true, 1); + if (aBoolean8418) { + float f_74_ = (float) anInt8411 / (float) method966(); + float f_75_ = (float) anInt8417 / (float) method980(); + class101_sub2.method935(1.0F, f_74_ * (-f_66_ + f_68_), f_75_ * (-f + f_69_), 0.0F, 0.0F, f_75_ * (f_70_ - f_66_), 0.0F, 0.0F, (f_67_ - f) * f_74_, 0); + class101_sub2.method920(((float) anInt8419 + f_66_) * f_75_, false, 0.0F, ((float) anInt8400 + f) * f_74_); + } else { + class101_sub2.method935(1.0F, -f_66_ + f_68_, f_69_ - f, 0.0F, 0.0F, -f_66_ + f_70_, 0.0F, 0.0F, f_67_ - f, 0); + class101_sub2.method920(f_66_, false, 0.0F, f); + } + class101_sub2_73_.method932(1.0F, anInterface18_Impl3_8403.method71((byte) -87, (float) anInt8417), anInterface18_Impl3_8403.method67((float) anInt8411, 75), (byte) -60); + aHa_Sub3_8407.method3853(-32, Component302.aClass251_6030); + aHa_Sub3_8407.method3897(1, -4382); + aHa_Sub3_8407.method3850((byte) -31, interface18_impl3); + aHa_Sub3_8407.method3874(Component385.aClass229_2207, 127, ShaderCompilerSub3.aClass229_6519); + aHa_Sub3_8407.method3849((byte) 47, 0, DisplayModeManagerContainer343.aClass70_8737); + MatrixSub2 class101_sub2_76_ = aHa_Sub3_8407.method3820(false); + class101_sub2_76_.method898(class101_sub2); + class101_sub2_76_.method891(-i_71_, -i_72_, 0); + class101_sub2_76_.method914(interface18_impl3.method71((byte) -32, 1.0F), 1.0F, 0, interface18_impl3.method67(1.0F, 71)); + aHa_Sub3_8407.method3853(-32, Component302.aClass251_6030); + aHa_Sub3_8407.method3915(0); + aHa_Sub3_8407.method3933(-109); + aHa_Sub3_8407.method3879(-8629); + aHa_Sub3_8407.method3849((byte) 47, 0, DisplayModeManagerContainer173.aClass70_4247); + aHa_Sub3_8407.method3874(Component385.aClass229_2207, 118, Component385.aClass229_2207); + aHa_Sub3_8407.method3850((byte) 98, null); + aHa_Sub3_8407.method3897(0, -4382); + aHa_Sub3_8407.method3879(-8629); + } + + final void capturePixels(int i, int i_77_, int i_78_) { + anInt8406++; + int[] is = aHa_Sub3_8407.ShaderImpl(i, i_77_, anInt8411, anInt8417); + int[] is_79_ = new int[anInt8417 * anInt8411]; + anInterface18_Impl3_8403.method65(0, is_79_, anInt8411, 0, anInt8417, (byte) 112, 0); + if (i_78_ == 0) { + for (int i_80_ = 0; anInt8417 > i_80_; i_80_++) { + int i_81_ = i_80_ * anInt8411; + for (int i_82_ = 0; i_82_ < anInt8411; i_82_++) + is_79_[i_81_ + i_82_] = (Component224.bitwiseOr((GpsOverlay.bitwiseAnd(1828651008, is[i_81_ - -i_82_]) << 8), GpsOverlay.bitwiseAnd(is_79_[i_81_ - -i_82_], 16777215))); + } + } else if (i_78_ == 1) { + for (int i_83_ = 0; anInt8417 > i_83_; i_83_++) { + int i_84_ = i_83_ * anInt8411; + for (int i_85_ = 0; anInt8411 > i_85_; i_85_++) + is_79_[i_85_ + i_84_] = (Component224.bitwiseOr(GpsOverlay.bitwiseAnd(is_79_[i_85_ + i_84_], 16777215), (GpsOverlay.bitwiseAnd(is[i_84_ - -i_85_], 743571200) << 16))); + } + } else if (i_78_ == 2) { + for (int i_89_ = 0; anInt8417 > i_89_; i_89_++) { + int i_90_ = i_89_ * anInt8411; + for (int i_91_ = 0; i_91_ < anInt8411; i_91_++) + is_79_[i_90_ + i_91_] = (Component224.bitwiseOr(GpsOverlay.bitwiseAnd(is_79_[i_90_ + i_91_], 16777215), GpsOverlay.bitwiseAnd(-3725444, (is[i_91_ + i_90_] << 24)))); + } + } else if (i_78_ == 3) { + for (int i_86_ = 0; anInt8417 > i_86_; i_86_++) { + int i_87_ = i_86_ * anInt8411; + for (int i_88_ = 0; i_88_ < anInt8411; i_88_++) + is_79_[i_88_ + i_87_] = (Component224.bitwiseOr(is[i_88_ + i_87_] != 0 ? -16777216 : 0, GpsOverlay.bitwiseAnd(16777215, is_79_[i_88_ + i_87_]))); + } + } + method986(0, 0, anInt8411, anInt8417, is_79_, 0, anInt8411); + } + + static final boolean method989(int i, int i_92_, int i_93_) { + anInt8401++; + if (ClientErrorReporter.hasCollisionBlockFlags(i_93_, i, i_92_ ^ 0x1fe) | (0x10000 & i) != 0 || ParticleSystem.method3325(i, i_93_, true)) return true; + if (i_92_ != -385) return false; + return (i_93_ & 0x37) == 0 && Component224.method2056(i, 120, i_93_); + } + + final void method982(int i, int i_94_, int i_95_, int i_96_, int i_97_, int i_98_, int i_99_, int i_100_) { + anInt8395++; + MatrixSub2 class101_sub2 = aHa_Sub3_8407.method3934(-95); + MatrixSub2 class101_sub2_101_ = aHa_Sub3_8407.method3820(false); + anInterface18_Impl3_8403.method64(((aBoolean8410 || aBoolean8408 || ((i_100_ & 0x1) == 0)) ? DisplayModeManagerContainer105.aClass209_4874 : DisplayModeManagerContainer5.aClass209_1212), -22095); + aHa_Sub3_8407.method3864(81); + aHa_Sub3_8407.method3850((byte) 65, anInterface18_Impl3_8403); + aHa_Sub3_8407.method3817(58, i_99_); + aHa_Sub3_8407.method3923(true, i_97_); + aHa_Sub3_8407.method3849((byte) 47, 1, DefinitionSub39.aClass70_9485); + aHa_Sub3_8407.method3885(1, true, DefinitionSub39.aClass70_9485); + aHa_Sub3_8407.method3894(-28186, i_98_); + class101_sub2_101_.method932(1.0F, anInterface18_Impl3_8403.method71((byte) -44, (float) anInt8417), anInterface18_Impl3_8403.method67((float) anInt8411, 101), (byte) -30); + if (aBoolean8418) { + i_95_ = i_95_ * anInt8411 / method966(); + i_96_ = anInt8417 * i_96_ / method980(); + i += anInt8400 * i_95_ / anInt8411; + i_94_ += anInt8419 * i_96_ / anInt8417; + } + class101_sub2.method932(0.0F, (float) i_96_, (float) i_95_, (byte) -100); + class101_sub2.method891(i, i_94_, 0); + aHa_Sub3_8407.method3853(-32, Component302.aClass251_6030); + aHa_Sub3_8407.method3915(0); + aHa_Sub3_8407.method3933(-118); + aHa_Sub3_8407.method3879(-8629); + aHa_Sub3_8407.method3849((byte) 47, 1, DisplayModeManagerContainer343.aClass70_8737); + aHa_Sub3_8407.method3885(1, true, DisplayModeManagerContainer343.aClass70_8737); + } + + final void method984(int[] is) { + is[0] = anInt8400; + is[1] = anInt8419; + anInt8421++; + is[3] = anInt8397; + is[2] = anInt8416; + } + + final void method964(int i, int i_102_, int i_103_, int i_104_, int i_105_) { + anInt8409++; + MatrixSub2 class101_sub2 = aHa_Sub3_8407.method3934(-92); + MatrixSub2 class101_sub2_106_ = aHa_Sub3_8407.method3820(false); + i += anInt8400; + i_102_ += anInt8419; + anInterface18_Impl3_8403.method64(DisplayModeManagerContainer105.aClass209_4874, -22095); + aHa_Sub3_8407.method3864(-82); + aHa_Sub3_8407.method3850((byte) -67, anInterface18_Impl3_8403); + aHa_Sub3_8407.method3817(96, i_105_); + aHa_Sub3_8407.method3923(true, i_103_); + aHa_Sub3_8407.method3849((byte) 47, 1, DefinitionSub39.aClass70_9485); + aHa_Sub3_8407.method3885(1, true, DefinitionSub39.aClass70_9485); + aHa_Sub3_8407.method3894(-28186, i_104_); + class101_sub2.method932(0.0F, (float) anInt8417, (float) anInt8411, (byte) -44); + class101_sub2.method891(i, i_102_, 0); + class101_sub2_106_.method932(1.0F, anInterface18_Impl3_8403.method71((byte) -125, (float) anInt8417), anInterface18_Impl3_8403.method67((float) anInt8411, 111), (byte) -19); + aHa_Sub3_8407.method3853(-32, Component302.aClass251_6030); + aHa_Sub3_8407.method3915(0); + aHa_Sub3_8407.method3933(-41); + aHa_Sub3_8407.method3879(-8629); + aHa_Sub3_8407.method3849((byte) 47, 1, DisplayModeManagerContainer343.aClass70_8737); + aHa_Sub3_8407.method3885(1, true, DisplayModeManagerContainer343.aClass70_8737); + } + + final int method971() { + anInt8420++; + return anInt8411; + } + + final void method979(int i, int i_107_, int i_108_, int i_109_, int i_110_, int i_111_) { + anInt8392++; + int[] is = aHa_Sub3_8407.ShaderImpl(i_110_, i_111_, i_108_, i_109_); + if (is != null) { + for (int i_112_ = 0; i_112_ < is.length; i_112_++) + is[i_112_] = Component224.bitwiseOr(is[i_112_], -16777216); + method986(i, i_107_, i_108_, i_109_, is, 0, i_108_); + } + } + + final void method963(int i, int i_113_, Shader var_aa, int i_114_, int i_115_) { + anInt8414++; + ShaderSub2 var_aa_Sub2 = (ShaderSub2) var_aa; + i_113_ += anInt8419; + i += anInt8400; + Interface18_Impl3 interface18_impl3 = var_aa_Sub2.anInterface18_Impl3_5196; + anInterface18_Impl3_8403.method64(DisplayModeManagerContainer105.aClass209_4874, -22095); + aHa_Sub3_8407.method3864(-81); + aHa_Sub3_8407.method3850((byte) -35, anInterface18_Impl3_8403); + aHa_Sub3_8407.method3817(110, 1); + aHa_Sub3_8407.method3923(true, 1); + MatrixSub2 class101_sub2 = aHa_Sub3_8407.method3934(-120); + class101_sub2.method932(0.0F, (float) anInt8417, (float) anInt8411, (byte) -55); + class101_sub2.method891(i, i_113_, 0); + aHa_Sub3_8407.method3915(0); + MatrixSub2 class101_sub2_116_ = aHa_Sub3_8407.method3820(false); + class101_sub2_116_.method932(1.0F, anInterface18_Impl3_8403.method71((byte) -102, (float) anInt8417), anInterface18_Impl3_8403.method67((float) anInt8411, 106), (byte) -33); + aHa_Sub3_8407.method3853(-32, Component302.aClass251_6030); + aHa_Sub3_8407.method3897(1, -4382); + aHa_Sub3_8407.method3850((byte) 101, interface18_impl3); + aHa_Sub3_8407.method3874(Component385.aClass229_2207, 110, ShaderCompilerSub3.aClass229_6519); + aHa_Sub3_8407.method3849((byte) 47, 0, DisplayModeManagerContainer343.aClass70_8737); + MatrixSub2 class101_sub2_117_ = aHa_Sub3_8407.method3820(false); + class101_sub2_117_.method932(1.0F, interface18_impl3.method71((byte) -108, (float) anInt8417), interface18_impl3.method67((float) anInt8411, 95), (byte) -81); + class101_sub2_117_.method920(interface18_impl3.method71((byte) -27, (float) (i_113_ + -i_115_)), false, 0.0F, interface18_impl3.method67((float) (i - i_114_), 122)); + aHa_Sub3_8407.method3853(-32, Component302.aClass251_6030); + aHa_Sub3_8407.method3933(-81); + aHa_Sub3_8407.method3879(-8629); + aHa_Sub3_8407.method3849((byte) 47, 0, DisplayModeManagerContainer173.aClass70_4247); + aHa_Sub3_8407.method3874(Component385.aClass229_2207, 127, Component385.aClass229_2207); + aHa_Sub3_8407.method3850((byte) -84, null); + aHa_Sub3_8407.method3897(0, -4382); + aHa_Sub3_8407.method3879(-8629); + } + + SpriteSub1(GlToolkitSub3 var_ha_Sub3, int i, int i_118_, boolean bool) { + aBoolean8418 = false; + anInt8400 = 0; + anInt8417 = i_118_; + anInt8411 = i; + aHa_Sub3_8407 = var_ha_Sub3; + anInterface18_Impl3_8403 = var_ha_Sub3.method3861(i_118_, (byte) -84, i, Component342.aClass68_1183, (bool ? Component83.aClass304_1662 : NodeSub45.aClass304_7103)); + anInterface18_Impl3_8403.method66(true, true, 25688); + aBoolean8410 = (i != anInterface18_Impl3_8403.method69(false)); + aBoolean8408 = (i_118_ != anInterface18_Impl3_8403.method72(-39)); + aBoolean8396 = !aBoolean8410 && anInterface18_Impl3_8403.method73(97); + aBoolean8391 = !aBoolean8408 && anInterface18_Impl3_8403.method73(119); + } + + SpriteSub1(GlToolkitSub3 var_ha_Sub3, int i, int i_119_, int[] is, int i_120_, int i_121_) { + aBoolean8418 = false; + anInt8400 = 0; + try { + aHa_Sub3_8407 = var_ha_Sub3; + anInt8411 = i; + anInt8417 = i_119_; + anInterface18_Impl3_8403 = var_ha_Sub3.method3830(i, is, false, (byte) -116, i_120_, i_121_, i_119_); + anInterface18_Impl3_8403.method66(true, true, 25688); + aBoolean8410 = i != anInterface18_Impl3_8403.method69(false); + aBoolean8408 = anInterface18_Impl3_8403.method72(-74) != i_119_; + aBoolean8396 = !aBoolean8410 && anInterface18_Impl3_8403.method73(91); + aBoolean8391 = !aBoolean8408 && anInterface18_Impl3_8403.method73(101); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("jd.(" + (var_ha_Sub3 != null ? "{...}" : "null") + ',' + i + ',' + i_119_ + ',' + (is != null ? "{...}" : "null") + ',' + i_120_ + ',' + i_121_ + ')')); + } + } +} diff --git a/client/sprites/SpriteSub2.java b/client/sprites/SpriteSub2.java new file mode 100644 index 000000000..df080628e --- /dev/null +++ b/client/sprites/SpriteSub2.java @@ -0,0 +1,540 @@ +/* SpriteSub2 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaggl.OpenGL; + +final class SpriteSub2 +/** + * RENAMED from `Class105_Sub2` (JODE-obfuscated). + * Evidence: subclass of Component24 (hierarchy) + */ extends Component24 { + static int anInt8424; + static int anInt8425; + static int anInt8426; + private boolean aBoolean8427; + static int anInt8428; + private int anInt8429 = 0; + private final GlToolkitSub2 aHa_Sub2_8430; + private GlRectangleTexture aClass258_Sub3_Sub1_8431; + private int anInt8432 = 0; + static int anInt8433; + private final GlRectangleTexture aClass258_Sub3_Sub1_8434; + static int anInt8435; + static int anInt8436; + static int anInt8437; + static int anInt8438; + static int anInt8439; + static int anInt8440; + static int anInt8441; + static int anInt8442; + static int anInt8443; + static int anInt8444; + static int anInt8445; + private int anInt8446; + private int anInt8447; + static int anInt8448; + private int anInt8449; + + static final char method990(char c, byte i) { + anInt8444++; + if (c == 198) return 'E'; + if (c == 230) return 'e'; + if (c == 223) return 's'; + if (c == 338) return 'E'; + if (c == 339) return 'e'; + if (i >= -18) return 'M'; + return '\0'; + } + + final void method962(float f, float f_0_, float f_1_, float f_2_, float f_3_, float f_4_, int i, int i_5_, int i_6_, int i_7_) { + anInt8435++; + if (aBoolean8427) { + float f_8_ = (float) method966(); + float f_9_ = (float) method980(); + float f_10_ = (f_1_ - f) / f_8_; + float f_11_ = (f_2_ - f_0_) / f_8_; + float f_12_ = (-f + f_3_) / f_9_; + float f_13_ = (-f_0_ + f_4_) / f_9_; + float f_14_ = (float) anInt8446 * f_12_; + float f_15_ = (float) anInt8446 * f_13_; + float f_16_ = (float) anInt8447 * f_10_; + float f_17_ = (float) anInt8447 * f_11_; + float f_18_ = -f_10_ * (float) anInt8449; + float f_19_ = (float) anInt8449 * -f_11_; + float f_20_ = -f_12_ * (float) anInt8432; + f_3_ = f_20_ + (f_3_ + f_16_); + f_1_ = f_1_ + f_18_ + f_14_; + float f_21_ = (float) anInt8432 * -f_13_; + f_2_ = f_2_ + f_19_ + f_15_; + f = f + f_16_ + f_14_; + f_0_ = f_15_ + (f_17_ + f_0_); + f_4_ = f_21_ + (f_4_ + f_17_); + } + float f_22_ = f_1_ - f + f_3_; + float f_23_ = -f_0_ + f_4_ + f_2_; + aClass258_Sub3_Sub1_8434.method1957(9728, (i_7_ & 0x1) != 0); + aHa_Sub2_8430.method3792(59); + aHa_Sub2_8430.method3771((byte) -93, aClass258_Sub3_Sub1_8434); + aHa_Sub2_8430.method3753(i_6_, 1); + aHa_Sub2_8430.method3761(0, i); + OpenGL.glColor4ub((byte) (i_5_ >> 16), (byte) (i_5_ >> 8), (byte) i_5_, (byte) (i_5_ >> 24)); + OpenGL.glBegin(7); + OpenGL.glTexCoord2f(0.0F, (aClass258_Sub3_Sub1_8434.aFloat9938)); + OpenGL.glVertex2f(f, f_0_); + OpenGL.glTexCoord2f(0.0F, 0.0F); + OpenGL.glVertex2f(f_3_, f_4_); + OpenGL.glTexCoord2f((aClass258_Sub3_Sub1_8434.aFloat9937), 0.0F); + OpenGL.glVertex2f(f_22_, f_23_); + OpenGL.glTexCoord2f((aClass258_Sub3_Sub1_8434.aFloat9937), (aClass258_Sub3_Sub1_8434.aFloat9938)); + OpenGL.glVertex2f(f_1_, f_2_); + OpenGL.glEnd(); + } + + final int method969() { + anInt8439++; + return aClass258_Sub3_Sub1_8434.anInt9939; + } + + final void capturePixels(int i, int i_24_, int i_25_) { + anInt8438++; + OpenGL.glPixelTransferf(3348, 0.5F); + OpenGL.glPixelTransferf(3349, 0.499F); + OpenGL.glPixelTransferf(3352, 0.5F); + OpenGL.glPixelTransferf(3353, 0.499F); + OpenGL.glPixelTransferf(3354, 0.5F); + OpenGL.glPixelTransferf(3355, 0.499F); + aClass258_Sub3_Sub1_8431 = Component134.method1401(aHa_Sub2_8430, i, 34037, aClass258_Sub3_Sub1_8434.anInt9940, i_24_, aClass258_Sub3_Sub1_8434.anInt9939); + anInt8429 = i_25_; + OpenGL.glPixelTransferf(3348, 1.0F); + OpenGL.glPixelTransferf(3349, 0.0F); + OpenGL.glPixelTransferf(3352, 1.0F); + OpenGL.glPixelTransferf(3353, 0.0F); + OpenGL.glPixelTransferf(3354, 1.0F); + OpenGL.glPixelTransferf(3355, 0.0F); + } + + final void method984(int[] is) { + is[1] = anInt8446; + anInt8445++; + is[3] = anInt8432; + is[0] = anInt8447; + is[2] = anInt8449; + } + + final int method980() { + anInt8433++; + return (anInt8446 + aClass258_Sub3_Sub1_8434.anInt9939 + anInt8432); + } + + final void method979(int i, int i_26_, int i_27_, int i_28_, int i_29_, int i_30_) { + anInt8436++; + aClass258_Sub3_Sub1_8434.method1967(i, i_28_, i_30_, i_26_, i_29_, (byte) -120, i_27_); + } + + final void method963(int i, int i_31_, Shader var_aa, int i_32_, int i_33_) { + anInt8424++; + ShaderSub1 var_aa_Sub1 = (ShaderSub1) var_aa; + GlRectangleTexture class258_sub3_sub1 = var_aa_Sub1.aClass258_Sub3_Sub1_5193; + aClass258_Sub3_Sub1_8434.method1957(9728, false); + aHa_Sub2_8430.method3792(75); + aHa_Sub2_8430.method3771((byte) -99, aClass258_Sub3_Sub1_8434); + aHa_Sub2_8430.method3761(0, 1); + aHa_Sub2_8430.method3738(-15039, 1); + aHa_Sub2_8430.method3771((byte) -123, class258_sub3_sub1); + aHa_Sub2_8430.method3729(7681, (byte) -101, 8448); + aHa_Sub2_8430.method3762(34168, 768, (byte) -87, 0); + aHa_Sub2_8430.method3753(1, 1); + i += anInt8447; + i_31_ += anInt8446; + int i_34_ = aClass258_Sub3_Sub1_8434.anInt9940 + i; + int i_35_ = (i_31_ - -aClass258_Sub3_Sub1_8434.anInt9939); + float f = (class258_sub3_sub1.aFloat9937 / (float) class258_sub3_sub1.anInt9940); + float f_36_ = (class258_sub3_sub1.aFloat9938 / (float) class258_sub3_sub1.anInt9939); + float f_37_ = f * (float) (-i_32_ + i); + float f_38_ = f * (float) (i_34_ - i_32_); + float f_39_ = (class258_sub3_sub1.aFloat9938 - f_36_ * (float) (i_31_ - i_33_)); + float f_40_ = (-((float) (i_35_ + -i_33_) * f_36_) + class258_sub3_sub1.aFloat9938); + OpenGL.glBegin(7); + OpenGL.glColor3f(1.0F, 1.0F, 1.0F); + OpenGL.glMultiTexCoord2f(33984, 0.0F, aClass258_Sub3_Sub1_8434.aFloat9938); + OpenGL.glMultiTexCoord2f(33985, f_37_, f_39_); + OpenGL.glVertex2i(i, i_31_); + OpenGL.glMultiTexCoord2f(33984, 0.0F, 0.0F); + OpenGL.glMultiTexCoord2f(33985, f_37_, f_40_); + OpenGL.glVertex2i(i, i_31_ - -aClass258_Sub3_Sub1_8434.anInt9939); + OpenGL.glMultiTexCoord2f(33984, aClass258_Sub3_Sub1_8434.aFloat9937, 0.0F); + OpenGL.glMultiTexCoord2f(33985, f_38_, f_40_); + OpenGL.glVertex2i(i - -(aClass258_Sub3_Sub1_8434.anInt9940), (aClass258_Sub3_Sub1_8434.anInt9939) + i_31_); + OpenGL.glMultiTexCoord2f(33984, aClass258_Sub3_Sub1_8434.aFloat9937, aClass258_Sub3_Sub1_8434.aFloat9938); + OpenGL.glMultiTexCoord2f(33985, f_38_, f_39_); + OpenGL.glVertex2i((aClass258_Sub3_Sub1_8434.anInt9940) + i, i_31_); + OpenGL.glEnd(); + aHa_Sub2_8430.method3762(5890, 768, (byte) -87, 0); + aHa_Sub2_8430.method3761(0, 0); + aHa_Sub2_8430.method3771((byte) -105, null); + aHa_Sub2_8430.method3738(-15039, 0); + } + + final void method985(int i, int i_41_, int i_42_, int i_43_) { + anInt8447 = i; + anInt8449 = i_42_; + anInt8446 = i_41_; + anInt8426++; + anInt8432 = i_43_; + aBoolean8427 = (anInt8447 != 0 || anInt8446 != 0 || anInt8449 != 0 || anInt8432 != 0); + } + + private final void method991(byte i) { + anInt8428++; + if (i == 9) { + aHa_Sub2_8430.method3738(-15039, 1); + aHa_Sub2_8430.method3771((byte) -78, null); + aHa_Sub2_8430.method3729(8448, (byte) -79, 8448); + aHa_Sub2_8430.method3762(34168, 768, (byte) -87, 1); + aHa_Sub2_8430.method3775(false, 0, 770, 5890); + aHa_Sub2_8430.method3738(-15039, 0); + aHa_Sub2_8430.method3762(34168, 768, (byte) -87, 1); + } + } + + final void method983(float f, float f_44_, float f_45_, float f_46_, float f_47_, float f_48_, int i, Shader var_aa, int i_49_, int i_50_) { + anInt8448++; + GlRectangleTexture class258_sub3_sub1 = ((ShaderSub1) var_aa).aClass258_Sub3_Sub1_5193; + if (aBoolean8427) { + float f_51_ = (float) method966(); + float f_52_ = (float) method980(); + float f_53_ = (-f + f_45_) / f_51_; + float f_54_ = (-f_44_ + f_46_) / f_51_; + float f_55_ = (-f + f_47_) / f_52_; + float f_56_ = (-f_44_ + f_48_) / f_52_; + float f_57_ = f_55_ * (float) anInt8446; + float f_58_ = f_56_ * (float) anInt8446; + float f_59_ = (float) anInt8447 * f_53_; + float f_60_ = (float) anInt8447 * f_54_; + float f_61_ = -f_53_ * (float) anInt8449; + float f_62_ = -f_54_ * (float) anInt8449; + float f_63_ = -f_55_ * (float) anInt8432; + f_46_ = f_46_ + f_62_ + f_58_; + f_45_ = f_61_ + f_45_ + f_57_; + f_47_ = f_63_ + (f_59_ + f_47_); + f = f_59_ + f + f_57_; + f_44_ = f_58_ + (f_44_ + f_60_); + float f_64_ = -f_56_ * (float) anInt8432; + f_48_ = f_60_ + f_48_ + f_64_; + } + float f_65_ = -f + f_45_ + f_47_; + aClass258_Sub3_Sub1_8434.method1957(9728, (0x1 & i) != 0); + float f_66_ = f_48_ - f_44_ + f_46_; + aHa_Sub2_8430.method3792(106); + aHa_Sub2_8430.method3771((byte) -123, aClass258_Sub3_Sub1_8434); + aHa_Sub2_8430.method3761(0, 1); + aHa_Sub2_8430.method3738(-15039, 1); + aHa_Sub2_8430.method3771((byte) -98, class258_sub3_sub1); + aHa_Sub2_8430.method3729(7681, (byte) -17, 8448); + aHa_Sub2_8430.method3762(34168, 768, (byte) -87, 0); + aHa_Sub2_8430.method3753(1, 1); + float f_67_ = (class258_sub3_sub1.aFloat9937 / (float) class258_sub3_sub1.anInt9940); + float f_68_ = (class258_sub3_sub1.aFloat9938 / (float) class258_sub3_sub1.anInt9939); + OpenGL.glBegin(7); + OpenGL.glColor3f(1.0F, 1.0F, 1.0F); + OpenGL.glMultiTexCoord2f(33984, 0.0F, aClass258_Sub3_Sub1_8434.aFloat9938); + OpenGL.glMultiTexCoord2f(33985, f_67_ * (f - (float) i_49_), ((class258_sub3_sub1.aFloat9938) - f_68_ * ((float) -i_50_ + f_44_))); + OpenGL.glVertex2f(f, f_44_); + OpenGL.glMultiTexCoord2f(33984, 0.0F, 0.0F); + OpenGL.glMultiTexCoord2f(33985, ((float) -i_49_ + f_47_) * f_67_, (-(f_68_ * (f_48_ - (float) i_50_)) + (class258_sub3_sub1.aFloat9938))); + OpenGL.glVertex2f(f_47_, f_48_); + OpenGL.glMultiTexCoord2f(33984, aClass258_Sub3_Sub1_8434.aFloat9937, 0.0F); + OpenGL.glMultiTexCoord2f(33985, (f_65_ - (float) i_49_) * f_67_, (-(f_68_ * (f_66_ - (float) i_50_)) + (class258_sub3_sub1.aFloat9938))); + OpenGL.glVertex2f(f_65_, f_66_); + OpenGL.glMultiTexCoord2f(33984, aClass258_Sub3_Sub1_8434.aFloat9937, aClass258_Sub3_Sub1_8434.aFloat9938); + OpenGL.glMultiTexCoord2f(33985, f_67_ * ((float) -i_49_ + f_45_), ((class258_sub3_sub1.aFloat9938) - f_68_ * (f_46_ - (float) i_50_))); + OpenGL.glVertex2f(f_45_, f_46_); + OpenGL.glEnd(); + aHa_Sub2_8430.method3762(5890, 768, (byte) -87, 0); + aHa_Sub2_8430.method3761(0, 0); + aHa_Sub2_8430.method3771((byte) -84, null); + aHa_Sub2_8430.method3738(-15039, 0); + } + + final int method966() { + anInt8440++; + return (anInt8447 + aClass258_Sub3_Sub1_8434.anInt9940 - -anInt8449); + } + + final void method964(int i, int i_69_, int i_70_, int i_71_, int i_72_) { + aClass258_Sub3_Sub1_8434.method1957(9728, false); + anInt8425++; + aHa_Sub2_8430.method3792(121); + aHa_Sub2_8430.method3753(i_72_, 1); + OpenGL.glColor4ub((byte) (i_71_ >> 16), (byte) (i_71_ >> 8), (byte) i_71_, (byte) (i_71_ >> 24)); + i += anInt8447; + i_69_ += anInt8446; + if (aClass258_Sub3_Sub1_8431 == null) { + aHa_Sub2_8430.method3771((byte) -127, aClass258_Sub3_Sub1_8434); + aHa_Sub2_8430.method3761(0, i_70_); + OpenGL.glBegin(7); + OpenGL.glTexCoord2f(0.0F, aClass258_Sub3_Sub1_8434.aFloat9938); + OpenGL.glVertex2i(i, i_69_); + OpenGL.glTexCoord2f(0.0F, 0.0F); + OpenGL.glVertex2i(i, i_69_ - -aClass258_Sub3_Sub1_8434.anInt9939); + OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, 0.0F); + OpenGL.glVertex2i((aClass258_Sub3_Sub1_8434.anInt9940) + i, (aClass258_Sub3_Sub1_8434.anInt9939) + i_69_); + OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, aClass258_Sub3_Sub1_8434.aFloat9938); + OpenGL.glVertex2i((aClass258_Sub3_Sub1_8434.anInt9940) + i, i_69_); + OpenGL.glEnd(); + } else { + method992(i_70_, 3); + aClass258_Sub3_Sub1_8431.method1957(9728, false); + OpenGL.glBegin(7); + OpenGL.glMultiTexCoord2f(33985, 0.0F, aClass258_Sub3_Sub1_8434.aFloat9938); + OpenGL.glTexCoord2f(0.0F, aClass258_Sub3_Sub1_8434.aFloat9938); + OpenGL.glVertex2i(i, i_69_); + OpenGL.glMultiTexCoord2f(33985, 0.0F, 0.0F); + OpenGL.glTexCoord2f(0.0F, 0.0F); + OpenGL.glVertex2i(i, i_69_ + aClass258_Sub3_Sub1_8434.anInt9939); + OpenGL.glMultiTexCoord2f(33985, aClass258_Sub3_Sub1_8434.aFloat9937, 0.0F); + OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, 0.0F); + OpenGL.glVertex2i((aClass258_Sub3_Sub1_8434.anInt9940) + i, (aClass258_Sub3_Sub1_8434.anInt9939) + i_69_); + OpenGL.glMultiTexCoord2f(33985, aClass258_Sub3_Sub1_8434.aFloat9937, aClass258_Sub3_Sub1_8434.aFloat9938); + OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, aClass258_Sub3_Sub1_8434.aFloat9938); + OpenGL.glVertex2i(i + aClass258_Sub3_Sub1_8434.anInt9940, i_69_); + OpenGL.glEnd(); + method991((byte) 9); + } + } + + private final void method992(int i, int i_73_) { + aHa_Sub2_8430.method3738(-15039, 1); + anInt8441++; + aHa_Sub2_8430.method3771((byte) -82, aClass258_Sub3_Sub1_8434); + aHa_Sub2_8430.method3729(aHa_Sub2_8430.method3781((byte) 17, i), (byte) -61, 7681); + aHa_Sub2_8430.method3762(34167, 768, (byte) -87, 1); + if (i_73_ != 3) method964(46, -15, -58, 122, 11); + aHa_Sub2_8430.method3775(false, 0, 770, 34168); + aHa_Sub2_8430.method3738(-15039, 0); + aHa_Sub2_8430.method3771((byte) -108, aClass258_Sub3_Sub1_8431); + aHa_Sub2_8430.method3729(34479, (byte) -47, 7681); + aHa_Sub2_8430.method3762(34166, 768, (byte) -87, 1); + if (anInt8429 != 0) { + if (anInt8429 == 1) aHa_Sub2_8430.method3749(0.0F, 0.5F, 0.5F, (byte) 64, 1.0F); + else if (anInt8429 != 2) { + if (anInt8429 == 3) aHa_Sub2_8430.method3749(0.0F, 128.5F, 128.5F, (byte) 63, 128.5F); + } else aHa_Sub2_8430.method3749(0.0F, 0.5F, 1.0F, (byte) 95, 0.5F); + } else aHa_Sub2_8430.method3749(0.0F, 1.0F, 0.5F, (byte) 50, 0.5F); + } + + final void method965(int i, int i_74_, int i_75_, int i_76_, int i_77_, int i_78_, int i_79_) { + anInt8442++; + int i_80_ = i_75_ + i; + int i_81_ = i_76_ + i_74_; + aClass258_Sub3_Sub1_8434.method1957(9728, false); + aHa_Sub2_8430.method3792(54); + aHa_Sub2_8430.method3771((byte) -88, aClass258_Sub3_Sub1_8434); + aHa_Sub2_8430.method3753(i_79_, 1); + aHa_Sub2_8430.method3761(0, i_77_); + OpenGL.glColor4ub((byte) (i_78_ >> 16), (byte) (i_78_ >> 8), (byte) i_78_, (byte) (i_78_ >> 24)); + if (aClass258_Sub3_Sub1_8434.aBoolean9941 && !aBoolean8427) { + float f = (aClass258_Sub3_Sub1_8434.aFloat9938 * (float) i_76_ / (float) (aClass258_Sub3_Sub1_8434.anInt9939)); + float f_82_ = ((float) i_75_ * aClass258_Sub3_Sub1_8434.aFloat9937 / (float) (aClass258_Sub3_Sub1_8434.anInt9940)); + OpenGL.glBegin(7); + OpenGL.glTexCoord2f(0.0F, f); + OpenGL.glVertex2i(i, i_74_); + OpenGL.glTexCoord2f(0.0F, 0.0F); + OpenGL.glVertex2i(i, i_81_); + OpenGL.glTexCoord2f(f_82_, 0.0F); + OpenGL.glVertex2i(i_80_, i_81_); + OpenGL.glTexCoord2f(f_82_, f); + OpenGL.glVertex2i(i_80_, i_74_); + OpenGL.glEnd(); + } else { + OpenGL.glPushMatrix(); + OpenGL.glTranslatef((float) anInt8447, (float) anInt8446, 0.0F); + int i_83_ = method966(); + int i_84_ = method980(); + int i_85_ = i_74_ - -(aClass258_Sub3_Sub1_8434.anInt9939); + OpenGL.glBegin(7); + int i_86_ = i_74_; + for (/**/; i_85_ <= i_81_; i_85_ += i_84_) { + int i_87_ = i + (aClass258_Sub3_Sub1_8434.anInt9940); + int i_88_ = i; + for (/**/; i_80_ >= i_87_; i_87_ += i_83_) { + OpenGL.glTexCoord2f(0.0F, aClass258_Sub3_Sub1_8434.aFloat9938); + OpenGL.glVertex2i(i_88_, i_86_); + OpenGL.glTexCoord2f(0.0F, 0.0F); + OpenGL.glVertex2i(i_88_, i_85_); + OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, 0.0F); + OpenGL.glVertex2i(i_87_, i_85_); + OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, aClass258_Sub3_Sub1_8434.aFloat9938); + OpenGL.glVertex2i(i_87_, i_86_); + i_88_ += i_83_; + } + if (i_88_ < i_80_) { + float f = ((float) (i_80_ + -i_88_) * (aClass258_Sub3_Sub1_8434.aFloat9937) / (float) aClass258_Sub3_Sub1_8434.anInt9940); + OpenGL.glTexCoord2f(0.0F, aClass258_Sub3_Sub1_8434.aFloat9938); + OpenGL.glVertex2i(i_88_, i_86_); + OpenGL.glTexCoord2f(0.0F, 0.0F); + OpenGL.glVertex2i(i_88_, i_85_); + OpenGL.glTexCoord2f(f, 0.0F); + OpenGL.glVertex2i(i_80_, i_85_); + OpenGL.glTexCoord2f(f, aClass258_Sub3_Sub1_8434.aFloat9938); + OpenGL.glVertex2i(i_80_, i_86_); + } + i_86_ += i_84_; + } + if (i_86_ < i_81_) { + float f = ((aClass258_Sub3_Sub1_8434.aFloat9938) * (float) (aClass258_Sub3_Sub1_8434.anInt9939 + (-i_81_ + i_86_)) / (float) aClass258_Sub3_Sub1_8434.anInt9939); + int i_89_ = i + (aClass258_Sub3_Sub1_8434.anInt9940); + int i_90_ = i; + while (i_80_ >= i_89_) { + OpenGL.glTexCoord2f(0.0F, aClass258_Sub3_Sub1_8434.aFloat9938); + OpenGL.glVertex2i(i_90_, i_86_); + OpenGL.glTexCoord2f(0.0F, f); + OpenGL.glVertex2i(i_90_, i_81_); + OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, f); + OpenGL.glVertex2i(i_89_, i_81_); + OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, aClass258_Sub3_Sub1_8434.aFloat9938); + OpenGL.glVertex2i(i_89_, i_86_); + i_89_ += i_83_; + i_90_ += i_83_; + } + if (i_80_ > i_90_) { + float f_91_ = ((float) (i_80_ - i_90_) * (aClass258_Sub3_Sub1_8434.aFloat9937) / (float) aClass258_Sub3_Sub1_8434.anInt9940); + OpenGL.glTexCoord2f(0.0F, aClass258_Sub3_Sub1_8434.aFloat9938); + OpenGL.glVertex2i(i_90_, i_86_); + OpenGL.glTexCoord2f(0.0F, f); + OpenGL.glVertex2i(i_90_, i_81_); + OpenGL.glTexCoord2f(f_91_, f); + OpenGL.glVertex2i(i_80_, i_81_); + OpenGL.glTexCoord2f(f_91_, aClass258_Sub3_Sub1_8434.aFloat9938); + OpenGL.glVertex2i(i_80_, i_86_); + } + } + OpenGL.glEnd(); + OpenGL.glPopMatrix(); + } + } + + final int method971() { + anInt8437++; + return aClass258_Sub3_Sub1_8434.anInt9940; + } + + final void method982(int i, int i_92_, int i_93_, int i_94_, int i_95_, int i_96_, int i_97_, int i_98_) { + anInt8443++; + aClass258_Sub3_Sub1_8434.method1957(9728, (0x1 & i_98_) != 0); + aHa_Sub2_8430.method3792(103); + aHa_Sub2_8430.method3753(i_97_, 1); + OpenGL.glColor4ub((byte) (i_96_ >> 16), (byte) (i_96_ >> 8), (byte) i_96_, (byte) (i_96_ >> 24)); + if (aBoolean8427) { + float f = (float) i_93_ / (float) method966(); + float f_99_ = (float) i_94_ / (float) method980(); + float f_100_ = (float) i + f * (float) anInt8447; + float f_101_ = (float) anInt8446 * f_99_ + (float) i_92_; + float f_102_ = f_100_ + f * (float) aClass258_Sub3_Sub1_8434.anInt9940; + float f_103_ = (f_101_ + (float) (aClass258_Sub3_Sub1_8434.anInt9939) * f_99_); + if (aClass258_Sub3_Sub1_8431 == null) { + aHa_Sub2_8430.method3771((byte) -85, aClass258_Sub3_Sub1_8434); + aHa_Sub2_8430.method3761(0, i_95_); + OpenGL.glBegin(7); + OpenGL.glTexCoord2f(0.0F, aClass258_Sub3_Sub1_8434.aFloat9938); + OpenGL.glVertex2f(f_100_, f_101_); + OpenGL.glTexCoord2f(0.0F, 0.0F); + OpenGL.glVertex2f(f_100_, f_103_); + OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, 0.0F); + OpenGL.glVertex2f(f_102_, f_103_); + OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, aClass258_Sub3_Sub1_8434.aFloat9938); + OpenGL.glVertex2f(f_102_, f_101_); + OpenGL.glEnd(); + } else { + method992(i_95_, 3); + aClass258_Sub3_Sub1_8431.method1957(9728, true); + OpenGL.glBegin(7); + OpenGL.glMultiTexCoord2f(33985, 0.0F, (aClass258_Sub3_Sub1_8434.aFloat9938)); + OpenGL.glTexCoord2f(0.0F, aClass258_Sub3_Sub1_8434.aFloat9938); + OpenGL.glVertex2f(f_100_, f_101_); + OpenGL.glMultiTexCoord2f(33985, 0.0F, 0.0F); + OpenGL.glTexCoord2f(0.0F, 0.0F); + OpenGL.glVertex2f(f_100_, f_103_); + OpenGL.glMultiTexCoord2f(33985, aClass258_Sub3_Sub1_8434.aFloat9937, 0.0F); + OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, 0.0F); + OpenGL.glVertex2f(f_102_, f_103_); + OpenGL.glMultiTexCoord2f(33985, aClass258_Sub3_Sub1_8434.aFloat9937, (aClass258_Sub3_Sub1_8434.aFloat9938)); + OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, aClass258_Sub3_Sub1_8434.aFloat9938); + OpenGL.glVertex2f(f_102_, f_101_); + OpenGL.glEnd(); + method991((byte) 9); + } + } else if (aClass258_Sub3_Sub1_8431 == null) { + aHa_Sub2_8430.method3771((byte) -101, aClass258_Sub3_Sub1_8434); + aHa_Sub2_8430.method3761(0, i_95_); + OpenGL.glBegin(7); + OpenGL.glTexCoord2f(0.0F, aClass258_Sub3_Sub1_8434.aFloat9938); + OpenGL.glVertex2i(i, i_92_); + OpenGL.glTexCoord2f(0.0F, 0.0F); + OpenGL.glVertex2i(i, i_92_ - -i_94_); + OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, 0.0F); + OpenGL.glVertex2i(i_93_ + i, i_94_ + i_92_); + OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, aClass258_Sub3_Sub1_8434.aFloat9938); + OpenGL.glVertex2i(i - -i_93_, i_92_); + OpenGL.glEnd(); + } else { + method992(i_95_, 3); + aClass258_Sub3_Sub1_8431.method1957(9728, true); + OpenGL.glBegin(7); + OpenGL.glMultiTexCoord2f(33985, 0.0F, aClass258_Sub3_Sub1_8434.aFloat9938); + OpenGL.glTexCoord2f(0.0F, aClass258_Sub3_Sub1_8434.aFloat9938); + OpenGL.glVertex2i(i, i_92_); + OpenGL.glMultiTexCoord2f(33985, 0.0F, 0.0F); + OpenGL.glTexCoord2f(0.0F, 0.0F); + OpenGL.glVertex2i(i, i_94_ + i_92_); + OpenGL.glMultiTexCoord2f(33985, aClass258_Sub3_Sub1_8434.aFloat9937, 0.0F); + OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, 0.0F); + OpenGL.glVertex2i(i - -i_93_, i_92_ + i_94_); + OpenGL.glMultiTexCoord2f(33985, aClass258_Sub3_Sub1_8434.aFloat9937, aClass258_Sub3_Sub1_8434.aFloat9938); + OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, aClass258_Sub3_Sub1_8434.aFloat9938); + OpenGL.glVertex2i(i_93_ + i, i_92_); + OpenGL.glEnd(); + method991((byte) 9); + } + } + + static long method993(long l, long l_104_) { + try { + return l ^ l_104_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "nda.Q(" + l + ',' + l_104_ + ')'); + } + } + + SpriteSub2(GlToolkitSub2 var_ha_Sub2, int i, int i_105_, boolean bool) { + aBoolean8427 = false; + anInt8446 = 0; + anInt8447 = 0; + anInt8449 = 0; + aHa_Sub2_8430 = var_ha_Sub2; + aClass258_Sub3_Sub1_8434 = DisplayModeManagerContainer204.method904(81, var_ha_Sub2, bool ? 6408 : 6407, i, i_105_); + } + + SpriteSub2(GlToolkitSub2 var_ha_Sub2, int i, int i_106_, int i_107_, int i_108_) { + aBoolean8427 = false; + anInt8446 = 0; + anInt8447 = 0; + anInt8449 = 0; + aHa_Sub2_8430 = var_ha_Sub2; + aClass258_Sub3_Sub1_8434 = Component134.method1401(var_ha_Sub2, i, 34037, i_107_, i_106_, i_108_); + } + + SpriteSub2(GlToolkitSub2 var_ha_Sub2, int i, int i_109_, int[] is, int i_110_, int i_111_) { + aBoolean8427 = false; + anInt8446 = 0; + anInt8447 = 0; + anInt8449 = 0; + try { + aHa_Sub2_8430 = var_ha_Sub2; + aClass258_Sub3_Sub1_8434 = DefinitionSub32.method3132(is, i_110_, i_111_, i_109_, i, var_ha_Sub2, false, (byte) 12); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("nda.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_109_ + ',' + (is != null ? "{...}" : "null") + ',' + i_110_ + ',' + i_111_ + ')')); + } + } +} diff --git a/client/sprites/SpriteSub3.java b/client/sprites/SpriteSub3.java new file mode 100644 index 000000000..2ad1fab52 --- /dev/null +++ b/client/sprites/SpriteSub3.java @@ -0,0 +1,244 @@ +/* SpriteSub3 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +abstract class SpriteSub3 +/** + * RENAMED from `Class105_Sub3` (JODE-obfuscated). + * Evidence: subclass of Component24 (hierarchy) + */ extends Component24 { + static int anInt8450; + static int anInt8451; + static int anInt8452; + static int anInt8453; + int anInt8454; + private static int anInt8455; + int anInt8456; + static int anInt8457; + static int anInt8458; + private static int anInt8459; + GlToolkitSub1 aHa_Sub1_8460; + int anInt8461; + private int[] anIntArray8462; + static int anInt8463; + int anInt8464; + static int anInt8465 = 0; + private static int anInt8466; + static int anInt8467; + static int anInt8468; + static int anInt8469; + int anInt8470; + int anInt8471; + static int anInt8472; + private static int anInt8473; + static int anInt8474 = 0; + static int anInt8475; + private static int anInt8476; + static int anInt8477; + static int anInt8478; + static int anInt8479; + static int anInt8480; + static int anInt8481; + private static int anInt8482; + + abstract void method964(int i, int i_0_, int i_1_, int i_2_, int i_3_); + + final int method971() { + return this.anInt8471; + } + + final void method984(int[] is) { + is[0] = this.anInt8461; + is[1] = this.anInt8464; + is[2] = this.anInt8454; + is[3] = this.anInt8456; + } + + final void method965(int i, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_) { + if (this.aHa_Sub1_8460.method3716()) throw new IllegalStateException(); + if (anIntArray8462 == null) anIntArray8462 = new int[4]; + this.aHa_Sub1_8460.K(anIntArray8462); + this.aHa_Sub1_8460.T(this.aHa_Sub1_8460.anInt7496, this.aHa_Sub1_8460.anInt7476, i + i_5_, i_4_ + i_6_); + int i_10_ = method966(); + int i_11_ = method980(); + int i_12_ = (i_5_ + i_10_ - 1) / i_10_; + int i_13_ = (i_6_ + i_11_ - 1) / i_11_; + for (int i_14_ = 0; i_14_ < i_13_; i_14_++) { + int i_15_ = i_14_ * i_11_; + for (int i_16_ = 0; i_16_ < i_12_; i_16_++) + method964(i + i_16_ * i_10_, i_4_ + i_15_, i_7_, i_8_, i_9_); + } + this.aHa_Sub1_8460.KA(anIntArray8462[0], anIntArray8462[1], anIntArray8462[2], anIntArray8462[3]); + } + + final void method983(float f, float f_17_, float f_18_, float f_19_, float f_20_, float f_21_, int i, Shader var_aa, int i_22_, int i_23_) { + if (this.aHa_Sub1_8460.method3716()) throw new IllegalStateException(); + if (method997(f, f_17_, f_18_, f_19_, f_20_, f_21_)) { + ShaderSub3 var_aa_Sub3 = (ShaderSub3) var_aa; + method995(var_aa_Sub3.anIntArray5201, var_aa_Sub3.anIntArray5202, anInt8473 - i_22_, -i_23_ - (anInt8468 - anInt8466)); + } + } + + final void method985(int i, int i_24_, int i_25_, int i_26_) { + this.anInt8461 = i; + this.anInt8464 = i_24_; + this.anInt8454 = i_25_; + this.anInt8456 = i_26_; + } + + abstract void method994(int i, int i_27_); + + abstract void method995(int[] is, int[] is_28_, int i, int i_29_); + + final void method962(float f, float f_30_, float f_31_, float f_32_, float f_33_, float f_34_, int i, int i_35_, int i_36_, int i_37_) { + if (this.aHa_Sub1_8460.method3716()) throw new IllegalStateException(); + if (method997(f, f_30_, f_31_, f_32_, f_33_, f_34_)) { + anInt8480 = i_35_; + if (i != 1) { + anInt8477 = i_35_ >>> 24; + anInt8472 = 256 - anInt8477; + if (i == 0) { + anInt8469 = (i_35_ & 0xff0000) >> 16; + anInt8463 = (i_35_ & 0xff00) >> 8; + anInt8465 = i_35_ & 0xff; + } else if (i == 2) { + anInt8459 = i_35_ >>> 24; + anInt8455 = 256 - anInt8459; + int i_38_ = (i_35_ & 0xff00ff) * anInt8455 & ~0xff00ff; + int i_39_ = (i_35_ & 0xff00) * anInt8455 & 0xff0000; + anInt8474 = (i_38_ | i_39_) >>> 8; + } + } + if (i == 1) { + if (i_36_ == 0) method994(1, 0); + else if (i_36_ == 1) method994(1, 1); + else if (i_36_ == 2) method994(1, 2); + } else if (i == 0) { + if (i_36_ == 0) method994(0, 0); + else if (i_36_ == 1) method994(0, 1); + else if (i_36_ == 2) method994(0, 2); + } else if (i == 3) { + if (i_36_ == 0) method994(3, 0); + else if (i_36_ == 1) method994(3, 1); + else if (i_36_ == 2) method994(3, 2); + } else if (i == 2) { + if (i_36_ == 0) method994(2, 0); + else if (i_36_ == 1) method994(2, 1); + else if (i_36_ == 2) method994(2, 2); + } + } + } + + abstract void method996(int i, int i_40_, int i_41_, int i_42_, int i_43_, int i_44_, int i_45_, int i_46_, int i_47_); + + abstract void method982(int i, int i_48_, int i_49_, int i_50_, int i_51_, int i_52_, int i_53_, int i_54_); + + final int method969() { + return this.anInt8470; + } + + final int method980() { + return (this.anInt8464 + this.anInt8470 + this.anInt8456); + } + + SpriteSub3(GlToolkitSub1 var_ha_Sub1, int i, int i_55_) { + this.aHa_Sub1_8460 = var_ha_Sub1; + this.anInt8471 = i; + this.anInt8470 = i_55_; + } + + final int method966() { + return (this.anInt8461 + this.anInt8471 + this.anInt8454); + } + + abstract void method963(int i, int i_56_, Shader var_aa, int i_57_, int i_58_); + + private final boolean method997(float f, float f_59_, float f_60_, float f_61_, float f_62_, float f_63_) { + int i = (this.anInt8461 + this.anInt8471 + this.anInt8454); + int i_64_ = (this.anInt8464 + this.anInt8470 + this.anInt8456); + if (i != this.anInt8471 || i_64_ != this.anInt8470) { + float f_65_ = (f_60_ - f) / (float) i; + float f_66_ = (f_61_ - f_59_) / (float) i; + float f_67_ = (f_62_ - f) / (float) i_64_; + float f_68_ = (f_63_ - f_59_) / (float) i_64_; + float f_69_ = f_67_ * (float) this.anInt8464; + float f_70_ = f_68_ * (float) this.anInt8464; + float f_71_ = f_65_ * (float) this.anInt8461; + float f_72_ = f_66_ * (float) this.anInt8461; + float f_73_ = -f_65_ * (float) this.anInt8454; + float f_74_ = -f_66_ * (float) this.anInt8454; + float f_75_ = -f_67_ * (float) this.anInt8456; + float f_76_ = -f_68_ * (float) this.anInt8456; + f += f_71_ + f_69_; + f_59_ += f_72_ + f_70_; + f_60_ += f_73_ + f_69_; + f_61_ += f_74_ + f_70_; + f_62_ += f_71_ + f_75_; + f_63_ += f_72_ + f_76_; + } + float f_77_ = f_62_ + (f_60_ - f); + float f_78_ = f_61_ + (f_63_ - f_59_); + float f_79_; + float f_80_; + if (f < f_60_) { + f_79_ = f; + f_80_ = f_60_; + } else { + f_79_ = f_60_; + f_80_ = f; + } + if (f_62_ < f_79_) f_79_ = f_62_; + if (f_77_ < f_79_) f_79_ = f_77_; + if (f_62_ > f_80_) f_80_ = f_62_; + if (f_77_ > f_80_) f_80_ = f_77_; + float f_81_; + float f_82_; + if (f_59_ < f_61_) { + f_81_ = f_59_; + f_82_ = f_61_; + } else { + f_81_ = f_61_; + f_82_ = f_59_; + } + if (f_63_ < f_81_) f_81_ = f_63_; + if (f_78_ < f_81_) f_81_ = f_78_; + if (f_63_ > f_82_) f_82_ = f_63_; + if (f_78_ > f_82_) f_82_ = f_78_; + if (f_79_ < (float) (this.aHa_Sub1_8460.anInt7496)) f_79_ = (float) (this.aHa_Sub1_8460.anInt7496); + if (f_80_ > (float) (this.aHa_Sub1_8460.anInt7507)) f_80_ = (float) (this.aHa_Sub1_8460.anInt7507); + if (f_81_ < (float) (this.aHa_Sub1_8460.anInt7476)) f_81_ = (float) (this.aHa_Sub1_8460.anInt7476); + if (f_82_ > (float) (this.aHa_Sub1_8460.anInt7503)) f_82_ = (float) (this.aHa_Sub1_8460.anInt7503); + f_80_ = f_79_ - f_80_; + if (f_80_ >= 0.0F) return false; + f_82_ = f_81_ - f_82_; + if (f_82_ >= 0.0F) return false; + anInt8453 = this.aHa_Sub1_8460.anInt7477; + anInt8451 = (int) ((float) ((int) f_81_ * anInt8453) + f_79_); + float f_83_ = (f_60_ - f) * (f_63_ - f_59_) - (f_61_ - f_59_) * (f_62_ - f); + float f_84_ = (f_62_ - f) * (f_61_ - f_59_) - (f_63_ - f_59_) * (f_60_ - f); + anInt8481 = (int) ((f_63_ - f_59_) * 4096.0F * (float) this.anInt8471 / f_83_); + anInt8450 = (int) ((f_61_ - f_59_) * 4096.0F * (float) this.anInt8470 / f_84_); + anInt8457 = (int) ((f_62_ - f) * 4096.0F * (float) this.anInt8471 / f_84_); + anInt8452 = (int) ((f_60_ - f) * 4096.0F * (float) this.anInt8470 / f_83_); + anInt8476 = (int) (f_79_ * 16.0F + 8.0F - (f + f_60_ + f_62_ + f_77_) / 4.0F * 16.0F); + anInt8482 = (int) (f_81_ * 16.0F + 8.0F - (f_59_ + f_61_ + f_63_ + f_78_) / 4.0F * 16.0F); + anInt8458 = ((this.anInt8471 >> 1 << 12) + (anInt8482 * anInt8457 >> 4)); + anInt8467 = ((this.anInt8470 >> 1 << 12) + (anInt8482 * anInt8452 >> 4)); + anInt8479 = anInt8476 * anInt8481 >> 4; + anInt8475 = anInt8476 * anInt8450 >> 4; + anInt8473 = (int) f_79_; + anInt8478 = (int) f_80_; + anInt8466 = (int) f_81_; + anInt8468 = (int) f_82_; + return true; + } + + static { + anInt8472 = 0; + anInt8463 = 0; + anInt8469 = 0; + anInt8477 = 0; + anInt8459 = 0; + anInt8455 = 0; + } +} diff --git a/client/sprites/SpriteSub3Sub2.java b/client/sprites/SpriteSub3Sub2.java new file mode 100644 index 000000000..e7a11ee31 --- /dev/null +++ b/client/sprites/SpriteSub3Sub2.java @@ -0,0 +1,3022 @@ +/* SpriteSub3Sub2 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class SpriteSub3Sub2 +/** + * RENAMED from `Class105_Sub3_Sub2` (JODE-obfuscated). + * Evidence: subclass of SpriteSub3 (hierarchy) + */ extends SpriteSub3 { + private final byte[] aByteArray9934; + private final int[] anIntArray9935; + + final void method979(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_) { + throw new IllegalStateException(); + } + + final void capturePixels(int i, int i_5_, int i_6_) { + throw new IllegalStateException(); + } + + final void method996(int i, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_, int i_12_, int i_13_, int i_14_) { + if (i_9_ > 0 && i_10_ > 0) { + int i_15_ = 0; + int i_16_ = 0; + int i_17_ = (this.anInt8461 + this.anInt8471 + this.anInt8454); + int i_18_ = (this.anInt8464 + this.anInt8470 + this.anInt8456); + int i_19_ = (i_17_ << 16) / i_9_; + int i_20_ = (i_18_ << 16) / i_10_; + if (this.anInt8461 > 0) { + int i_21_ = (((this.anInt8461 << 16) + i_19_ - 1) / i_19_); + i += i_21_; + i_15_ += i_21_ * i_19_ - (this.anInt8461 << 16); + } + if (this.anInt8464 > 0) { + int i_22_ = (((this.anInt8464 << 16) + i_20_ - 1) / i_20_); + i_7_ += i_22_; + i_16_ += i_22_ * i_20_ - (this.anInt8464 << 16); + } + if (this.anInt8471 < i_17_) i_9_ = ((this.anInt8471 << 16) - i_15_ + i_19_ - 1) / i_19_; + if (this.anInt8470 < i_18_) i_10_ = ((this.anInt8470 << 16) - i_16_ + i_20_ - 1) / i_20_; + int i_23_ = i + i_7_ * (this.aHa_Sub1_8460.anInt7477); + int i_24_ = (this.aHa_Sub1_8460.anInt7477 - i_9_); + if (i_7_ + i_10_ > this.aHa_Sub1_8460.anInt7503) i_10_ -= i_7_ + i_10_ - this.aHa_Sub1_8460.anInt7503; + if (i_7_ < this.aHa_Sub1_8460.anInt7476) { + int i_25_ = ((this.aHa_Sub1_8460.anInt7476) - i_7_); + i_10_ -= i_25_; + i_23_ += i_25_ * this.aHa_Sub1_8460.anInt7477; + i_16_ += i_20_ * i_25_; + } + if (i + i_9_ > this.aHa_Sub1_8460.anInt7507) { + int i_26_ = i + i_9_ - this.aHa_Sub1_8460.anInt7507; + i_9_ -= i_26_; + i_24_ += i_26_; + } + if (i < this.aHa_Sub1_8460.anInt7496) { + int i_27_ = ((this.aHa_Sub1_8460.anInt7496) - i); + i_9_ -= i_27_; + i_23_ += i_27_; + i_15_ += i_19_ * i_27_; + i_24_ += i_27_; + } + float[] fs = (this.aHa_Sub1_8460.aFloatArray7511); + int[] is = (this.aHa_Sub1_8460.anIntArray7483); + if (i_13_ == 0) { + if (i_11_ == 1) { + int i_28_ = i_15_; + for (int i_29_ = -i_10_; i_29_ < 0; i_29_++) { + int i_30_ = (i_16_ >> 16) * this.anInt8471; + for (int i_31_ = -i_9_; i_31_ < 0; i_31_++) { + if ((float) i_8_ < fs[i_23_]) { + is[i_23_] = (anIntArray9935[(aByteArray9934[(i_15_ >> 16) + i_30_] & 0xff)]); + fs[i_23_] = (float) i_8_; + } + i_15_ += i_19_; + i_23_++; + } + i_16_ += i_20_; + i_15_ = i_28_; + i_23_ += i_24_; + } + return; + } + if (i_11_ == 0) { + int i_32_ = (i_12_ & 0xff0000) >> 16; + int i_33_ = (i_12_ & 0xff00) >> 8; + int i_34_ = i_12_ & 0xff; + int i_35_ = i_15_; + for (int i_36_ = -i_10_; i_36_ < 0; i_36_++) { + int i_37_ = (i_16_ >> 16) * this.anInt8471; + for (int i_38_ = -i_9_; i_38_ < 0; i_38_++) { + if ((float) i_8_ < fs[i_23_]) { + int i_39_ = (anIntArray9935[(aByteArray9934[(i_15_ >> 16) + i_37_] & 0xff)]); + int i_40_ = (i_39_ & 0xff0000) * i_32_ & ~0xffffff; + int i_41_ = (i_39_ & 0xff00) * i_33_ & 0xff0000; + int i_42_ = (i_39_ & 0xff) * i_34_ & 0xff00; + is[i_23_] = (i_40_ | i_41_ | i_42_) >>> 8; + fs[i_23_] = (float) i_8_; + } + i_15_ += i_19_; + i_23_++; + } + i_16_ += i_20_; + i_15_ = i_35_; + i_23_ += i_24_; + } + return; + } + if (i_11_ == 3) { + int i_43_ = i_15_; + for (int i_44_ = -i_10_; i_44_ < 0; i_44_++) { + int i_45_ = (i_16_ >> 16) * this.anInt8471; + for (int i_46_ = -i_9_; i_46_ < 0; i_46_++) { + if ((float) i_8_ < fs[i_23_]) { + byte i_47_ = aByteArray9934[(i_15_ >> 16) + i_45_]; + int i_48_ = i_47_ > 0 ? anIntArray9935[i_47_] : 0; + int i_49_ = i_48_ + i_12_; + int i_50_ = (i_48_ & 0xff00ff) + (i_12_ & 0xff00ff); + int i_51_ = ((i_50_ & 0x1000100) + (i_49_ - i_50_ & 0x10000)); + is[i_23_] = i_49_ - i_51_ | i_51_ - (i_51_ >>> 8); + fs[i_23_] = (float) i_8_; + } + i_15_ += i_19_; + i_23_++; + } + i_16_ += i_20_; + i_15_ = i_43_; + i_23_ += i_24_; + } + return; + } + if (i_11_ == 2) { + int i_52_ = i_12_ >>> 24; + int i_53_ = 256 - i_52_; + int i_54_ = (i_12_ & 0xff00ff) * i_53_ & ~0xff00ff; + int i_55_ = (i_12_ & 0xff00) * i_53_ & 0xff0000; + i_12_ = (i_54_ | i_55_) >>> 8; + int i_56_ = i_15_; + for (int i_57_ = -i_10_; i_57_ < 0; i_57_++) { + int i_58_ = (i_16_ >> 16) * this.anInt8471; + for (int i_59_ = -i_9_; i_59_ < 0; i_59_++) { + if ((float) i_8_ < fs[i_23_]) { + int i_60_ = (anIntArray9935[(aByteArray9934[(i_15_ >> 16) + i_58_] & 0xff)]); + i_54_ = (i_60_ & 0xff00ff) * i_52_ & ~0xff00ff; + i_55_ = (i_60_ & 0xff00) * i_52_ & 0xff0000; + is[i_23_] = ((i_54_ | i_55_) >>> 8) + i_12_; + fs[i_23_] = (float) i_8_; + } + i_15_ += i_19_; + i_23_++; + } + i_16_ += i_20_; + i_15_ = i_56_; + i_23_ += i_24_; + } + return; + } + throw new IllegalArgumentException(); + } + if (i_13_ == 1) { + if (i_11_ == 1) { + int i_61_ = i_15_; + for (int i_62_ = -i_10_; i_62_ < 0; i_62_++) { + int i_63_ = (i_16_ >> 16) * this.anInt8471; + for (int i_64_ = -i_9_; i_64_ < 0; i_64_++) { + if ((float) i_8_ < fs[i_23_]) { + int i_65_ = aByteArray9934[(i_15_ >> 16) + i_63_]; + if (i_65_ != 0) { + is[i_23_] = anIntArray9935[i_65_ & 0xff]; + fs[i_23_] = (float) i_8_; + } + } + i_15_ += i_19_; + i_23_++; + } + i_16_ += i_20_; + i_15_ = i_61_; + i_23_ += i_24_; + } + return; + } + if (i_11_ == 0) { + int i_66_ = i_15_; + if ((i_12_ & 0xffffff) == 16777215) { + int i_67_ = i_12_ >>> 24; + int i_68_ = 256 - i_67_; + for (int i_69_ = -i_10_; i_69_ < 0; i_69_++) { + int i_70_ = ((i_16_ >> 16) * this.anInt8471); + for (int i_71_ = -i_9_; i_71_ < 0; i_71_++) { + if ((float) i_8_ < fs[i_23_]) { + int i_72_ = (aByteArray9934[(i_15_ >> 16) + i_70_]); + if (i_72_ != 0) { + int i_73_ = anIntArray9935[i_72_ & 0xff]; + int i_74_ = is[i_23_]; + is[i_23_] = ((((i_73_ & 0xff00ff) * i_67_ + (i_74_ & 0xff00ff) * i_68_) & ~0xff00ff) + (((i_73_ & 0xff00) * i_67_ + (i_74_ & 0xff00) * i_68_) & 0xff0000)) >> 8; + fs[i_23_] = (float) i_8_; + } + } + i_15_ += i_19_; + i_23_++; + } + i_16_ += i_20_; + i_15_ = i_66_; + i_23_ += i_24_; + } + } else { + int i_75_ = (i_12_ & 0xff0000) >> 16; + int i_76_ = (i_12_ & 0xff00) >> 8; + int i_77_ = i_12_ & 0xff; + int i_78_ = i_12_ >>> 24; + int i_79_ = 256 - i_78_; + for (int i_80_ = -i_10_; i_80_ < 0; i_80_++) { + int i_81_ = ((i_16_ >> 16) * this.anInt8471); + for (int i_82_ = -i_9_; i_82_ < 0; i_82_++) { + if ((float) i_8_ < fs[i_23_]) { + int i_83_ = (aByteArray9934[(i_15_ >> 16) + i_81_]); + if (i_83_ != 0) { + int i_84_ = anIntArray9935[i_83_ & 0xff]; + if (i_78_ == 255) { + int i_89_ = ((i_84_ & 0xff0000) * i_75_ & ~0xffffff); + int i_90_ = ((i_84_ & 0xff00) * i_76_ & 0xff0000); + int i_91_ = ((i_84_ & 0xff) * i_77_ & 0xff00); + is[i_23_] = (i_89_ | i_90_ | i_91_) >>> 8; + fs[i_23_] = (float) i_8_; + } else { + int i_85_ = ((i_84_ & 0xff0000) * i_75_ & ~0xffffff); + int i_86_ = ((i_84_ & 0xff00) * i_76_ & 0xff0000); + int i_87_ = ((i_84_ & 0xff) * i_77_ & 0xff00); + i_84_ = ((i_85_ | i_86_ | i_87_) >>> 8); + int i_88_ = is[i_23_]; + is[i_23_] = ((((i_84_ & 0xff00ff) * i_78_ + ((i_88_ & 0xff00ff) * i_79_)) & ~0xff00ff) + (((i_84_ & 0xff00) * i_78_ + ((i_88_ & 0xff00) * i_79_)) & 0xff0000)) >> 8; + fs[i_23_] = (float) i_8_; + } + } + } + i_15_ += i_19_; + i_23_++; + } + i_16_ += i_20_; + i_15_ = i_66_; + i_23_ += i_24_; + } + return; + } + return; + } + if (i_11_ == 3) { + int i_92_ = i_15_; + int i_93_ = i_12_ >>> 24; + int i_94_ = 256 - i_93_; + for (int i_95_ = -i_10_; i_95_ < 0; i_95_++) { + int i_96_ = (i_16_ >> 16) * this.anInt8471; + for (int i_97_ = -i_9_; i_97_ < 0; i_97_++) { + if ((float) i_8_ < fs[i_23_]) { + byte i_98_ = aByteArray9934[(i_15_ >> 16) + i_96_]; + int i_99_ = i_98_ > 0 ? anIntArray9935[i_98_] : 0; + int i_100_ = i_99_ + i_12_; + int i_101_ = (i_99_ & 0xff00ff) + (i_12_ & 0xff00ff); + int i_102_ = ((i_101_ & 0x1000100) + (i_100_ - i_101_ & 0x10000)); + i_102_ = i_100_ - i_102_ | i_102_ - (i_102_ >>> 8); + if (i_99_ == 0 && i_93_ != 255) { + i_99_ = i_102_; + i_102_ = is[i_23_]; + i_102_ = ((((i_99_ & 0xff00ff) * i_93_ + (i_102_ & 0xff00ff) * i_94_) & ~0xff00ff) + (((i_99_ & 0xff00) * i_93_ + (i_102_ & 0xff00) * i_94_) & 0xff0000)) >> 8; + } + is[i_23_] = i_102_; + fs[i_23_] = (float) i_8_; + } + i_15_ += i_19_; + i_23_++; + } + i_16_ += i_20_; + i_15_ = i_92_; + i_23_ += i_24_; + } + return; + } + if (i_11_ == 2) { + int i_103_ = i_12_ >>> 24; + int i_104_ = 256 - i_103_; + int i_105_ = (i_12_ & 0xff00ff) * i_104_ & ~0xff00ff; + int i_106_ = (i_12_ & 0xff00) * i_104_ & 0xff0000; + i_12_ = (i_105_ | i_106_) >>> 8; + int i_107_ = i_15_; + for (int i_108_ = -i_10_; i_108_ < 0; i_108_++) { + int i_109_ = (i_16_ >> 16) * this.anInt8471; + for (int i_110_ = -i_9_; i_110_ < 0; i_110_++) { + if ((float) i_8_ < fs[i_23_]) { + int i_111_ = aByteArray9934[(i_15_ >> 16) + i_109_]; + if (i_111_ != 0) { + int i_112_ = anIntArray9935[i_111_ & 0xff]; + i_105_ = ((i_112_ & 0xff00ff) * i_103_ & ~0xff00ff); + i_106_ = ((i_112_ & 0xff00) * i_103_ & 0xff0000); + is[i_23_] = ((i_105_ | i_106_) >>> 8) + i_12_; + fs[i_23_] = (float) i_8_; + } + } + i_15_ += i_19_; + i_23_++; + } + i_16_ += i_20_; + i_15_ = i_107_; + i_23_ += i_24_; + } + return; + } + throw new IllegalArgumentException(); + } + if (i_13_ == 2) { + if (i_11_ == 1) { + int i_113_ = i_15_; + for (int i_114_ = -i_10_; i_114_ < 0; i_114_++) { + int i_115_ = (i_16_ >> 16) * this.anInt8471; + for (int i_116_ = -i_9_; i_116_ < 0; i_116_++) { + if ((float) i_8_ < fs[i_23_]) { + int i_117_ = aByteArray9934[(i_15_ >> 16) + i_115_]; + if (i_117_ != 0) { + int i_118_ = anIntArray9935[i_117_ & 0xff]; + int i_119_ = is[i_23_]; + int i_120_ = i_118_ + i_119_; + int i_121_ = ((i_118_ & 0xff00ff) + (i_119_ & 0xff00ff)); + i_119_ = ((i_121_ & 0x1000100) + (i_120_ - i_121_ & 0x10000)); + is[i_23_] = i_120_ - i_119_ | i_119_ - (i_119_ >>> 8); + fs[i_23_] = (float) i_8_; + } + } + i_15_ += i_19_; + i_23_++; + } + i_16_ += i_20_; + i_15_ = i_113_; + i_23_ += i_24_; + } + return; + } + if (i_11_ == 0) { + int i_122_ = i_15_; + int i_123_ = (i_12_ & 0xff0000) >> 16; + int i_124_ = (i_12_ & 0xff00) >> 8; + int i_125_ = i_12_ & 0xff; + for (int i_126_ = -i_10_; i_126_ < 0; i_126_++) { + int i_127_ = (i_16_ >> 16) * this.anInt8471; + for (int i_128_ = -i_9_; i_128_ < 0; i_128_++) { + if ((float) i_8_ < fs[i_23_]) { + int i_129_ = aByteArray9934[(i_15_ >> 16) + i_127_]; + if (i_129_ != 0) { + int i_130_ = anIntArray9935[i_129_ & 0xff]; + int i_131_ = ((i_130_ & 0xff0000) * i_123_ & ~0xffffff); + int i_132_ = ((i_130_ & 0xff00) * i_124_ & 0xff0000); + int i_133_ = (i_130_ & 0xff) * i_125_ & 0xff00; + i_130_ = (i_131_ | i_132_ | i_133_) >>> 8; + int i_134_ = is[i_23_]; + int i_135_ = i_130_ + i_134_; + int i_136_ = ((i_130_ & 0xff00ff) + (i_134_ & 0xff00ff)); + i_134_ = ((i_136_ & 0x1000100) + (i_135_ - i_136_ & 0x10000)); + is[i_23_] = i_135_ - i_134_ | i_134_ - (i_134_ >>> 8); + fs[i_23_] = (float) i_8_; + } + } + i_15_ += i_19_; + i_23_++; + } + i_16_ += i_20_; + i_15_ = i_122_; + i_23_ += i_24_; + } + return; + } + if (i_11_ == 3) { + int i_137_ = i_15_; + for (int i_138_ = -i_10_; i_138_ < 0; i_138_++) { + int i_139_ = (i_16_ >> 16) * this.anInt8471; + for (int i_140_ = -i_9_; i_140_ < 0; i_140_++) { + if ((float) i_8_ < fs[i_23_]) { + byte i_141_ = aByteArray9934[(i_15_ >> 16) + i_139_]; + int i_142_ = i_141_ > 0 ? anIntArray9935[i_141_] : 0; + int i_143_ = i_142_ + i_12_; + int i_144_ = (i_142_ & 0xff00ff) + (i_12_ & 0xff00ff); + int i_145_ = ((i_144_ & 0x1000100) + (i_143_ - i_144_ & 0x10000)); + i_142_ = i_143_ - i_145_ | i_145_ - (i_145_ >>> 8); + i_145_ = is[i_23_]; + i_143_ = i_142_ + i_145_; + i_144_ = (i_142_ & 0xff00ff) + (i_145_ & 0xff00ff); + i_145_ = (i_144_ & 0x1000100) + (i_143_ - i_144_ & 0x10000); + is[i_23_] = i_143_ - i_145_ | i_145_ - (i_145_ >>> 8); + fs[i_23_] = (float) i_8_; + } + i_15_ += i_19_; + i_23_++; + } + i_16_ += i_20_; + i_15_ = i_137_; + i_23_ += i_24_; + } + return; + } + if (i_11_ == 2) { + int i_146_ = i_12_ >>> 24; + int i_147_ = 256 - i_146_; + int i_148_ = (i_12_ & 0xff00ff) * i_147_ & ~0xff00ff; + int i_149_ = (i_12_ & 0xff00) * i_147_ & 0xff0000; + i_12_ = (i_148_ | i_149_) >>> 8; + int i_150_ = i_15_; + for (int i_151_ = -i_10_; i_151_ < 0; i_151_++) { + int i_152_ = (i_16_ >> 16) * this.anInt8471; + for (int i_153_ = -i_9_; i_153_ < 0; i_153_++) { + if ((float) i_8_ < fs[i_23_]) { + int i_154_ = aByteArray9934[(i_15_ >> 16) + i_152_]; + if (i_154_ != 0) { + int i_155_ = anIntArray9935[i_154_ & 0xff]; + i_148_ = ((i_155_ & 0xff00ff) * i_146_ & ~0xff00ff); + i_149_ = ((i_155_ & 0xff00) * i_146_ & 0xff0000); + i_155_ = ((i_148_ | i_149_) >>> 8) + i_12_; + int i_156_ = is[i_23_]; + int i_157_ = i_155_ + i_156_; + int i_158_ = ((i_155_ & 0xff00ff) + (i_156_ & 0xff00ff)); + i_156_ = ((i_158_ & 0x1000100) + (i_157_ - i_158_ & 0x10000)); + is[i_23_] = i_157_ - i_156_ | i_156_ - (i_156_ >>> 8); + fs[i_23_] = (float) i_8_; + } + } + i_15_ += i_19_; + i_23_++; + } + i_16_ += i_20_; + i_15_ = i_150_; + i_23_ += i_24_; + } + return; + } + throw new IllegalArgumentException(); + } + throw new IllegalArgumentException(); + } + } + + final void method982(int i, int i_159_, int i_160_, int i_161_, int i_162_, int i_163_, int i_164_, int i_165_) { + if (this.aHa_Sub1_8460.method3716()) throw new IllegalStateException(); + if (i_160_ > 0 && i_161_ > 0) { + int i_166_ = 0; + int i_167_ = 0; + int i_168_ = this.aHa_Sub1_8460.anInt7477; + int i_169_ = (this.anInt8461 + this.anInt8471 + this.anInt8454); + int i_170_ = (this.anInt8464 + this.anInt8470 + this.anInt8456); + int i_171_ = (i_169_ << 16) / i_160_; + int i_172_ = (i_170_ << 16) / i_161_; + if (this.anInt8461 > 0) { + int i_173_ = (((this.anInt8461 << 16) + i_171_ - 1) / i_171_); + i += i_173_; + i_166_ += i_173_ * i_171_ - (this.anInt8461 << 16); + } + if (this.anInt8464 > 0) { + int i_174_ = (((this.anInt8464 << 16) + i_172_ - 1) / i_172_); + i_159_ += i_174_; + i_167_ += i_174_ * i_172_ - (this.anInt8464 << 16); + } + if (this.anInt8471 < i_169_) i_160_ = ((this.anInt8471 << 16) - i_166_ + i_171_ - 1) / i_171_; + if (this.anInt8470 < i_170_) i_161_ = ((this.anInt8470 << 16) - i_167_ + i_172_ - 1) / i_172_; + int i_175_ = i + i_159_ * i_168_; + int i_176_ = i_168_ - i_160_; + if (i_159_ + i_161_ > this.aHa_Sub1_8460.anInt7503) i_161_ -= (i_159_ + i_161_ - (this.aHa_Sub1_8460.anInt7503)); + if (i_159_ < this.aHa_Sub1_8460.anInt7476) { + int i_177_ = ((this.aHa_Sub1_8460.anInt7476) - i_159_); + i_161_ -= i_177_; + i_175_ += i_177_ * i_168_; + i_167_ += i_172_ * i_177_; + } + if (i + i_160_ > this.aHa_Sub1_8460.anInt7507) { + int i_178_ = (i + i_160_ - (this.aHa_Sub1_8460.anInt7507)); + i_160_ -= i_178_; + i_176_ += i_178_; + } + if (i < this.aHa_Sub1_8460.anInt7496) { + int i_179_ = ((this.aHa_Sub1_8460.anInt7496) - i); + i_160_ -= i_179_; + i_175_ += i_179_; + i_166_ += i_171_ * i_179_; + i_176_ += i_179_; + } + int[] is = (this.aHa_Sub1_8460.anIntArray7483); + if (i_164_ == 0) { + if (i_162_ == 1) { + int i_180_ = i_166_; + for (int i_181_ = -i_161_; i_181_ < 0; i_181_++) { + int i_182_ = ((i_167_ >> 16) * this.anInt8471); + for (int i_183_ = -i_160_; i_183_ < 0; i_183_++) { + is[i_175_++] = (anIntArray9935[(aByteArray9934[(i_166_ >> 16) + i_182_] & 0xff)]); + i_166_ += i_171_; + } + i_167_ += i_172_; + i_166_ = i_180_; + i_175_ += i_176_; + } + return; + } + if (i_162_ == 0) { + int i_184_ = (i_163_ & 0xff0000) >> 16; + int i_185_ = (i_163_ & 0xff00) >> 8; + int i_186_ = i_163_ & 0xff; + int i_187_ = i_166_; + for (int i_188_ = -i_161_; i_188_ < 0; i_188_++) { + int i_189_ = ((i_167_ >> 16) * this.anInt8471); + for (int i_190_ = -i_160_; i_190_ < 0; i_190_++) { + int i_191_ = (anIntArray9935[(aByteArray9934[(i_166_ >> 16) + i_189_] & 0xff)]); + int i_192_ = (i_191_ & 0xff0000) * i_184_ & ~0xffffff; + int i_193_ = (i_191_ & 0xff00) * i_185_ & 0xff0000; + int i_194_ = (i_191_ & 0xff) * i_186_ & 0xff00; + is[i_175_++] = (i_192_ | i_193_ | i_194_) >>> 8; + i_166_ += i_171_; + } + i_167_ += i_172_; + i_166_ = i_187_; + i_175_ += i_176_; + } + return; + } + if (i_162_ == 3) { + int i_195_ = i_166_; + for (int i_196_ = -i_161_; i_196_ < 0; i_196_++) { + int i_197_ = ((i_167_ >> 16) * this.anInt8471); + for (int i_198_ = -i_160_; i_198_ < 0; i_198_++) { + byte i_199_ = aByteArray9934[(i_166_ >> 16) + i_197_]; + int i_200_ = i_199_ > 0 ? anIntArray9935[i_199_] : 0; + int i_201_ = i_200_ + i_163_; + int i_202_ = (i_200_ & 0xff00ff) + (i_163_ & 0xff00ff); + int i_203_ = ((i_202_ & 0x1000100) + (i_201_ - i_202_ & 0x10000)); + is[i_175_++] = i_201_ - i_203_ | i_203_ - (i_203_ >>> 8); + i_166_ += i_171_; + } + i_167_ += i_172_; + i_166_ = i_195_; + i_175_ += i_176_; + } + return; + } + if (i_162_ == 2) { + int i_204_ = i_163_ >>> 24; + int i_205_ = 256 - i_204_; + int i_206_ = (i_163_ & 0xff00ff) * i_205_ & ~0xff00ff; + int i_207_ = (i_163_ & 0xff00) * i_205_ & 0xff0000; + i_163_ = (i_206_ | i_207_) >>> 8; + int i_208_ = i_166_; + for (int i_209_ = -i_161_; i_209_ < 0; i_209_++) { + int i_210_ = ((i_167_ >> 16) * this.anInt8471); + for (int i_211_ = -i_160_; i_211_ < 0; i_211_++) { + int i_212_ = (anIntArray9935[(aByteArray9934[(i_166_ >> 16) + i_210_] & 0xff)]); + i_206_ = (i_212_ & 0xff00ff) * i_204_ & ~0xff00ff; + i_207_ = (i_212_ & 0xff00) * i_204_ & 0xff0000; + is[i_175_++] = ((i_206_ | i_207_) >>> 8) + i_163_; + i_166_ += i_171_; + } + i_167_ += i_172_; + i_166_ = i_208_; + i_175_ += i_176_; + } + return; + } + throw new IllegalArgumentException(); + } + if (i_164_ == 1) { + if (i_162_ == 1) { + int i_213_ = i_166_; + for (int i_214_ = -i_161_; i_214_ < 0; i_214_++) { + int i_215_ = ((i_167_ >> 16) * this.anInt8471); + for (int i_216_ = -i_160_; i_216_ < 0; i_216_++) { + int i_217_ = aByteArray9934[(i_166_ >> 16) + i_215_]; + if (i_217_ != 0) is[i_175_++] = anIntArray9935[i_217_ & 0xff]; + else i_175_++; + i_166_ += i_171_; + } + i_167_ += i_172_; + i_166_ = i_213_; + i_175_ += i_176_; + } + return; + } + if (i_162_ == 0) { + int i_218_ = i_166_; + if ((i_163_ & 0xffffff) == 16777215) { + int i_219_ = i_163_ >>> 24; + int i_220_ = 256 - i_219_; + for (int i_221_ = -i_161_; i_221_ < 0; i_221_++) { + int i_222_ = ((i_167_ >> 16) * this.anInt8471); + for (int i_223_ = -i_160_; i_223_ < 0; i_223_++) { + int i_224_ = aByteArray9934[(i_166_ >> 16) + i_222_]; + if (i_224_ != 0) { + int i_225_ = anIntArray9935[i_224_ & 0xff]; + int i_226_ = is[i_175_]; + is[i_175_++] = ((((i_225_ & 0xff00ff) * i_219_ + (i_226_ & 0xff00ff) * i_220_) & ~0xff00ff) + (((i_225_ & 0xff00) * i_219_ + (i_226_ & 0xff00) * i_220_) & 0xff0000)) >> 8; + } else i_175_++; + i_166_ += i_171_; + } + i_167_ += i_172_; + i_166_ = i_218_; + i_175_ += i_176_; + } + } else { + int i_227_ = (i_163_ & 0xff0000) >> 16; + int i_228_ = (i_163_ & 0xff00) >> 8; + int i_229_ = i_163_ & 0xff; + int i_230_ = i_163_ >>> 24; + int i_231_ = 256 - i_230_; + for (int i_232_ = -i_161_; i_232_ < 0; i_232_++) { + int i_233_ = ((i_167_ >> 16) * this.anInt8471); + for (int i_234_ = -i_160_; i_234_ < 0; i_234_++) { + int i_235_ = aByteArray9934[(i_166_ >> 16) + i_233_]; + if (i_235_ != 0) { + int i_236_ = anIntArray9935[i_235_ & 0xff]; + if (i_230_ == 255) { + int i_241_ = ((i_236_ & 0xff0000) * i_227_ & ~0xffffff); + int i_242_ = ((i_236_ & 0xff00) * i_228_ & 0xff0000); + int i_243_ = ((i_236_ & 0xff) * i_229_ & 0xff00); + is[i_175_++] = (i_241_ | i_242_ | i_243_) >>> 8; + } else { + int i_237_ = ((i_236_ & 0xff0000) * i_227_ & ~0xffffff); + int i_238_ = ((i_236_ & 0xff00) * i_228_ & 0xff0000); + int i_239_ = ((i_236_ & 0xff) * i_229_ & 0xff00); + i_236_ = (i_237_ | i_238_ | i_239_) >>> 8; + int i_240_ = is[i_175_]; + is[i_175_++] = ((((i_236_ & 0xff00ff) * i_230_ + ((i_240_ & 0xff00ff) * i_231_)) & ~0xff00ff) + (((i_236_ & 0xff00) * i_230_ + ((i_240_ & 0xff00) * i_231_)) & 0xff0000)) >> 8; + } + } else i_175_++; + i_166_ += i_171_; + } + i_167_ += i_172_; + i_166_ = i_218_; + i_175_ += i_176_; + } + return; + } + return; + } + if (i_162_ == 3) { + int i_244_ = i_166_; + int i_245_ = i_163_ >>> 24; + int i_246_ = 256 - i_245_; + for (int i_247_ = -i_161_; i_247_ < 0; i_247_++) { + int i_248_ = ((i_167_ >> 16) * this.anInt8471); + for (int i_249_ = -i_160_; i_249_ < 0; i_249_++) { + byte i_250_ = aByteArray9934[(i_166_ >> 16) + i_248_]; + int i_251_ = i_250_ > 0 ? anIntArray9935[i_250_] : 0; + int i_252_ = i_251_ + i_163_; + int i_253_ = (i_251_ & 0xff00ff) + (i_163_ & 0xff00ff); + int i_254_ = ((i_253_ & 0x1000100) + (i_252_ - i_253_ & 0x10000)); + i_254_ = i_252_ - i_254_ | i_254_ - (i_254_ >>> 8); + if (i_251_ == 0 && i_245_ != 255) { + i_251_ = i_254_; + i_254_ = is[i_175_]; + i_254_ = ((((i_251_ & 0xff00ff) * i_245_ + (i_254_ & 0xff00ff) * i_246_) & ~0xff00ff) + (((i_251_ & 0xff00) * i_245_ + (i_254_ & 0xff00) * i_246_) & 0xff0000)) >> 8; + } + is[i_175_++] = i_254_; + i_166_ += i_171_; + } + i_167_ += i_172_; + i_166_ = i_244_; + i_175_ += i_176_; + } + return; + } + if (i_162_ == 2) { + int i_255_ = i_163_ >>> 24; + int i_256_ = 256 - i_255_; + int i_257_ = (i_163_ & 0xff00ff) * i_256_ & ~0xff00ff; + int i_258_ = (i_163_ & 0xff00) * i_256_ & 0xff0000; + i_163_ = (i_257_ | i_258_) >>> 8; + int i_259_ = i_166_; + for (int i_260_ = -i_161_; i_260_ < 0; i_260_++) { + int i_261_ = ((i_167_ >> 16) * this.anInt8471); + for (int i_262_ = -i_160_; i_262_ < 0; i_262_++) { + int i_263_ = aByteArray9934[(i_166_ >> 16) + i_261_]; + if (i_263_ != 0) { + int i_264_ = anIntArray9935[i_263_ & 0xff]; + i_257_ = (i_264_ & 0xff00ff) * i_255_ & ~0xff00ff; + i_258_ = (i_264_ & 0xff00) * i_255_ & 0xff0000; + is[i_175_++] = ((i_257_ | i_258_) >>> 8) + i_163_; + } else i_175_++; + i_166_ += i_171_; + } + i_167_ += i_172_; + i_166_ = i_259_; + i_175_ += i_176_; + } + return; + } + throw new IllegalArgumentException(); + } + if (i_164_ == 2) { + if (i_162_ == 1) { + int i_265_ = i_166_; + for (int i_266_ = -i_161_; i_266_ < 0; i_266_++) { + int i_267_ = ((i_167_ >> 16) * this.anInt8471); + for (int i_268_ = -i_160_; i_268_ < 0; i_268_++) { + int i_269_ = aByteArray9934[(i_166_ >> 16) + i_267_]; + if (i_269_ != 0) { + int i_270_ = anIntArray9935[i_269_ & 0xff]; + int i_271_ = is[i_175_]; + int i_272_ = i_270_ + i_271_; + int i_273_ = ((i_270_ & 0xff00ff) + (i_271_ & 0xff00ff)); + i_271_ = (i_273_ & 0x1000100) + (i_272_ - i_273_ & 0x10000); + is[i_175_++] = i_272_ - i_271_ | i_271_ - (i_271_ >>> 8); + } else i_175_++; + i_166_ += i_171_; + } + i_167_ += i_172_; + i_166_ = i_265_; + i_175_ += i_176_; + } + return; + } + if (i_162_ == 0) { + int i_274_ = i_166_; + int i_275_ = (i_163_ & 0xff0000) >> 16; + int i_276_ = (i_163_ & 0xff00) >> 8; + int i_277_ = i_163_ & 0xff; + for (int i_278_ = -i_161_; i_278_ < 0; i_278_++) { + int i_279_ = ((i_167_ >> 16) * this.anInt8471); + for (int i_280_ = -i_160_; i_280_ < 0; i_280_++) { + int i_281_ = aByteArray9934[(i_166_ >> 16) + i_279_]; + if (i_281_ != 0) { + int i_282_ = anIntArray9935[i_281_ & 0xff]; + int i_283_ = (i_282_ & 0xff0000) * i_275_ & ~0xffffff; + int i_284_ = (i_282_ & 0xff00) * i_276_ & 0xff0000; + int i_285_ = (i_282_ & 0xff) * i_277_ & 0xff00; + i_282_ = (i_283_ | i_284_ | i_285_) >>> 8; + int i_286_ = is[i_175_]; + int i_287_ = i_282_ + i_286_; + int i_288_ = ((i_282_ & 0xff00ff) + (i_286_ & 0xff00ff)); + i_286_ = (i_288_ & 0x1000100) + (i_287_ - i_288_ & 0x10000); + is[i_175_++] = i_287_ - i_286_ | i_286_ - (i_286_ >>> 8); + } else i_175_++; + i_166_ += i_171_; + } + i_167_ += i_172_; + i_166_ = i_274_; + i_175_ += i_176_; + } + return; + } + if (i_162_ == 3) { + int i_289_ = i_166_; + for (int i_290_ = -i_161_; i_290_ < 0; i_290_++) { + int i_291_ = ((i_167_ >> 16) * this.anInt8471); + for (int i_292_ = -i_160_; i_292_ < 0; i_292_++) { + byte i_293_ = aByteArray9934[(i_166_ >> 16) + i_291_]; + int i_294_ = i_293_ > 0 ? anIntArray9935[i_293_] : 0; + int i_295_ = i_294_ + i_163_; + int i_296_ = (i_294_ & 0xff00ff) + (i_163_ & 0xff00ff); + int i_297_ = ((i_296_ & 0x1000100) + (i_295_ - i_296_ & 0x10000)); + i_294_ = i_295_ - i_297_ | i_297_ - (i_297_ >>> 8); + i_297_ = is[i_175_]; + i_295_ = i_294_ + i_297_; + i_296_ = (i_294_ & 0xff00ff) + (i_297_ & 0xff00ff); + i_297_ = (i_296_ & 0x1000100) + (i_295_ - i_296_ & 0x10000); + is[i_175_++] = i_295_ - i_297_ | i_297_ - (i_297_ >>> 8); + i_166_ += i_171_; + } + i_167_ += i_172_; + i_166_ = i_289_; + i_175_ += i_176_; + } + return; + } + if (i_162_ == 2) { + int i_298_ = i_163_ >>> 24; + int i_299_ = 256 - i_298_; + int i_300_ = (i_163_ & 0xff00ff) * i_299_ & ~0xff00ff; + int i_301_ = (i_163_ & 0xff00) * i_299_ & 0xff0000; + i_163_ = (i_300_ | i_301_) >>> 8; + int i_302_ = i_166_; + for (int i_303_ = -i_161_; i_303_ < 0; i_303_++) { + int i_304_ = ((i_167_ >> 16) * this.anInt8471); + for (int i_305_ = -i_160_; i_305_ < 0; i_305_++) { + int i_306_ = aByteArray9934[(i_166_ >> 16) + i_304_]; + if (i_306_ != 0) { + int i_307_ = anIntArray9935[i_306_ & 0xff]; + i_300_ = (i_307_ & 0xff00ff) * i_298_ & ~0xff00ff; + i_301_ = (i_307_ & 0xff00) * i_298_ & 0xff0000; + i_307_ = ((i_300_ | i_301_) >>> 8) + i_163_; + int i_308_ = is[i_175_]; + int i_309_ = i_307_ + i_308_; + int i_310_ = ((i_307_ & 0xff00ff) + (i_308_ & 0xff00ff)); + i_308_ = (i_310_ & 0x1000100) + (i_309_ - i_310_ & 0x10000); + is[i_175_++] = i_309_ - i_308_ | i_308_ - (i_308_ >>> 8); + } else i_175_++; + i_166_ += i_171_; + } + i_167_ += i_172_; + i_166_ = i_302_; + i_175_ += i_176_; + } + return; + } + throw new IllegalArgumentException(); + } + throw new IllegalArgumentException(); + } + } + + final void method995(int[] is, int[] is_311_, int i, int i_312_) { + int[] is_313_ = this.aHa_Sub1_8460.anIntArray7483; + if (SpriteSub3.anInt8481 == 0) { + if (SpriteSub3.anInt8450 == 0) { + int i_314_ = SpriteSub3.anInt8468; + while (i_314_ < 0) { + int i_315_ = i_314_ + i_312_; + if (i_315_ >= 0) { + if (i_315_ >= is.length) break; + int i_316_ = SpriteSub3.anInt8451; + int i_317_ = SpriteSub3.anInt8458; + int i_318_ = SpriteSub3.anInt8467; + int i_319_ = SpriteSub3.anInt8478; + if (i_317_ >= 0 && i_318_ >= 0 && i_317_ - (this.anInt8471 << 12) < 0 && i_318_ - (this.anInt8470 << 12) < 0) { + int i_320_ = is[i_315_] - i; + int i_321_ = -is_311_[i_315_]; + int i_322_ = i_320_ - (i_316_ - SpriteSub3.anInt8451); + if (i_322_ > 0) { + i_316_ += i_322_; + i_319_ += i_322_; + i_317_ += SpriteSub3.anInt8481 * i_322_; + i_318_ += SpriteSub3.anInt8450 * i_322_; + } else i_321_ -= i_322_; + if (i_319_ < i_321_) i_319_ = i_321_; + for (/**/; i_319_ < 0; i_319_++) { + int i_323_ = (aByteArray9934[(((i_318_ >> 12) * this.anInt8471) + (i_317_ >> 12))]); + if (i_323_ != 0) is_313_[i_316_++] = anIntArray9935[i_323_ & 0xff]; + else i_316_++; + } + } + } + i_314_++; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else if (SpriteSub3.anInt8450 < 0) { + int i_324_ = SpriteSub3.anInt8468; + while (i_324_ < 0) { + int i_325_ = i_324_ + i_312_; + if (i_325_ >= 0) { + if (i_325_ >= is.length) break; + int i_326_ = SpriteSub3.anInt8451; + int i_327_ = SpriteSub3.anInt8458; + int i_328_ = (SpriteSub3.anInt8467 + SpriteSub3.anInt8475); + int i_329_ = SpriteSub3.anInt8478; + if (i_327_ >= 0 && i_327_ - (this.anInt8471 << 12) < 0) { + int i_330_; + if ((i_330_ = i_328_ - (this.anInt8470 << 12)) >= 0) { + i_330_ = ((SpriteSub3.anInt8450 - i_330_) / SpriteSub3.anInt8450); + i_329_ += i_330_; + i_328_ += SpriteSub3.anInt8450 * i_330_; + i_326_ += i_330_; + } + if ((i_330_ = ((i_328_ - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_329_) i_329_ = i_330_; + int i_331_ = is[i_325_] - i; + int i_332_ = -is_311_[i_325_]; + int i_333_ = i_331_ - (i_326_ - SpriteSub3.anInt8451); + if (i_333_ > 0) { + i_326_ += i_333_; + i_329_ += i_333_; + i_327_ += SpriteSub3.anInt8481 * i_333_; + i_328_ += SpriteSub3.anInt8450 * i_333_; + } else i_332_ -= i_333_; + if (i_329_ < i_332_) i_329_ = i_332_; + for (/**/; i_329_ < 0; i_329_++) { + int i_334_ = (aByteArray9934[(((i_328_ >> 12) * this.anInt8471) + (i_327_ >> 12))]); + if (i_334_ != 0) is_313_[i_326_++] = anIntArray9935[i_334_ & 0xff]; + else i_326_++; + i_328_ += SpriteSub3.anInt8450; + } + } + } + i_324_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else { + int i_335_ = SpriteSub3.anInt8468; + while (i_335_ < 0) { + int i_336_ = i_335_ + i_312_; + if (i_336_ >= 0) { + if (i_336_ >= is.length) break; + int i_337_ = SpriteSub3.anInt8451; + int i_338_ = SpriteSub3.anInt8458; + int i_339_ = (SpriteSub3.anInt8467 + SpriteSub3.anInt8475); + int i_340_ = SpriteSub3.anInt8478; + if (i_338_ >= 0 && i_338_ - (this.anInt8471 << 12) < 0) { + if (i_339_ < 0) { + int i_341_ = ((SpriteSub3.anInt8450 - 1 - i_339_) / SpriteSub3.anInt8450); + i_340_ += i_341_; + i_339_ += SpriteSub3.anInt8450 * i_341_; + i_337_ += i_341_; + } + int i_342_; + if ((i_342_ = ((1 + i_339_ - (this.anInt8470 << 12) - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_340_) i_340_ = i_342_; + int i_343_ = is[i_336_] - i; + int i_344_ = -is_311_[i_336_]; + int i_345_ = i_343_ - (i_337_ - SpriteSub3.anInt8451); + if (i_345_ > 0) { + i_337_ += i_345_; + i_340_ += i_345_; + i_338_ += SpriteSub3.anInt8481 * i_345_; + i_339_ += SpriteSub3.anInt8450 * i_345_; + } else i_344_ -= i_345_; + if (i_340_ < i_344_) i_340_ = i_344_; + for (/**/; i_340_ < 0; i_340_++) { + int i_346_ = (aByteArray9934[(((i_339_ >> 12) * this.anInt8471) + (i_338_ >> 12))]); + if (i_346_ != 0) is_313_[i_337_++] = anIntArray9935[i_346_ & 0xff]; + else i_337_++; + i_339_ += SpriteSub3.anInt8450; + } + } + } + i_335_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } + } else if (SpriteSub3.anInt8481 < 0) { + if (SpriteSub3.anInt8450 == 0) { + int i_347_ = SpriteSub3.anInt8468; + while (i_347_ < 0) { + int i_348_ = i_347_ + i_312_; + if (i_348_ >= 0) { + if (i_348_ >= is.length) break; + int i_349_ = SpriteSub3.anInt8451; + int i_350_ = (SpriteSub3.anInt8458 + SpriteSub3.anInt8479); + int i_351_ = SpriteSub3.anInt8467; + int i_352_ = SpriteSub3.anInt8478; + if (i_351_ >= 0 && i_351_ - (this.anInt8470 << 12) < 0) { + int i_353_; + if ((i_353_ = i_350_ - (this.anInt8471 << 12)) >= 0) { + i_353_ = ((SpriteSub3.anInt8481 - i_353_) / SpriteSub3.anInt8481); + i_352_ += i_353_; + i_350_ += SpriteSub3.anInt8481 * i_353_; + i_349_ += i_353_; + } + if ((i_353_ = ((i_350_ - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_352_) i_352_ = i_353_; + int i_354_ = is[i_348_] - i; + int i_355_ = -is_311_[i_348_]; + int i_356_ = i_354_ - (i_349_ - SpriteSub3.anInt8451); + if (i_356_ > 0) { + i_349_ += i_356_; + i_352_ += i_356_; + i_350_ += SpriteSub3.anInt8481 * i_356_; + i_351_ += SpriteSub3.anInt8450 * i_356_; + } else i_355_ -= i_356_; + if (i_352_ < i_355_) i_352_ = i_355_; + for (/**/; i_352_ < 0; i_352_++) { + int i_357_ = (aByteArray9934[(((i_351_ >> 12) * this.anInt8471) + (i_350_ >> 12))]); + if (i_357_ != 0) is_313_[i_349_++] = anIntArray9935[i_357_ & 0xff]; + else i_349_++; + i_350_ += SpriteSub3.anInt8481; + } + } + } + i_347_++; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else if (SpriteSub3.anInt8450 < 0) { + int i_358_ = SpriteSub3.anInt8468; + while (i_358_ < 0) { + int i_359_ = i_358_ + i_312_; + if (i_359_ >= 0) { + if (i_359_ >= is.length) break; + int i_360_ = SpriteSub3.anInt8451; + int i_361_ = (SpriteSub3.anInt8458 + SpriteSub3.anInt8479); + int i_362_ = (SpriteSub3.anInt8467 + SpriteSub3.anInt8475); + int i_363_ = SpriteSub3.anInt8478; + int i_364_; + if ((i_364_ = i_361_ - (this.anInt8471 << 12)) >= 0) { + i_364_ = ((SpriteSub3.anInt8481 - i_364_) / SpriteSub3.anInt8481); + i_363_ += i_364_; + i_361_ += SpriteSub3.anInt8481 * i_364_; + i_362_ += SpriteSub3.anInt8450 * i_364_; + i_360_ += i_364_; + } + if ((i_364_ = ((i_361_ - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_363_) i_363_ = i_364_; + if ((i_364_ = i_362_ - (this.anInt8470 << 12)) >= 0) { + i_364_ = ((SpriteSub3.anInt8450 - i_364_) / SpriteSub3.anInt8450); + i_363_ += i_364_; + i_361_ += SpriteSub3.anInt8481 * i_364_; + i_362_ += SpriteSub3.anInt8450 * i_364_; + i_360_ += i_364_; + } + if ((i_364_ = ((i_362_ - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_363_) i_363_ = i_364_; + int i_365_ = is[i_359_] - i; + int i_366_ = -is_311_[i_359_]; + int i_367_ = i_365_ - (i_360_ - SpriteSub3.anInt8451); + if (i_367_ > 0) { + i_360_ += i_367_; + i_363_ += i_367_; + i_361_ += SpriteSub3.anInt8481 * i_367_; + i_362_ += SpriteSub3.anInt8450 * i_367_; + } else i_366_ -= i_367_; + if (i_363_ < i_366_) i_363_ = i_366_; + for (/**/; i_363_ < 0; i_363_++) { + int i_368_ = (aByteArray9934[(((i_362_ >> 12) * this.anInt8471) + (i_361_ >> 12))]); + if (i_368_ != 0) is_313_[i_360_++] = anIntArray9935[i_368_ & 0xff]; + else i_360_++; + i_361_ += SpriteSub3.anInt8481; + i_362_ += SpriteSub3.anInt8450; + } + } + i_358_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else { + int i_369_ = SpriteSub3.anInt8468; + while (i_369_ < 0) { + int i_370_ = i_369_ + i_312_; + if (i_370_ >= 0) { + if (i_370_ >= is.length) break; + int i_371_ = SpriteSub3.anInt8451; + int i_372_ = (SpriteSub3.anInt8458 + SpriteSub3.anInt8479); + int i_373_ = (SpriteSub3.anInt8467 + SpriteSub3.anInt8475); + int i_374_ = SpriteSub3.anInt8478; + int i_375_; + if ((i_375_ = i_372_ - (this.anInt8471 << 12)) >= 0) { + i_375_ = ((SpriteSub3.anInt8481 - i_375_) / SpriteSub3.anInt8481); + i_374_ += i_375_; + i_372_ += SpriteSub3.anInt8481 * i_375_; + i_373_ += SpriteSub3.anInt8450 * i_375_; + i_371_ += i_375_; + } + if ((i_375_ = ((i_372_ - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_374_) i_374_ = i_375_; + if (i_373_ < 0) { + i_375_ = ((SpriteSub3.anInt8450 - 1 - i_373_) / SpriteSub3.anInt8450); + i_374_ += i_375_; + i_372_ += SpriteSub3.anInt8481 * i_375_; + i_373_ += SpriteSub3.anInt8450 * i_375_; + i_371_ += i_375_; + } + if ((i_375_ = ((1 + i_373_ - (this.anInt8470 << 12) - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_374_) i_374_ = i_375_; + int i_376_ = is[i_370_] - i; + int i_377_ = -is_311_[i_370_]; + int i_378_ = i_376_ - (i_371_ - SpriteSub3.anInt8451); + if (i_378_ > 0) { + i_371_ += i_378_; + i_374_ += i_378_; + i_372_ += SpriteSub3.anInt8481 * i_378_; + i_373_ += SpriteSub3.anInt8450 * i_378_; + } else i_377_ -= i_378_; + if (i_374_ < i_377_) i_374_ = i_377_; + for (/**/; i_374_ < 0; i_374_++) { + int i_379_ = (aByteArray9934[(((i_373_ >> 12) * this.anInt8471) + (i_372_ >> 12))]); + if (i_379_ != 0) is_313_[i_371_++] = anIntArray9935[i_379_ & 0xff]; + else i_371_++; + i_372_ += SpriteSub3.anInt8481; + i_373_ += SpriteSub3.anInt8450; + } + } + i_369_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } + } else if (SpriteSub3.anInt8450 == 0) { + int i_380_ = SpriteSub3.anInt8468; + while (i_380_ < 0) { + int i_381_ = i_380_ + i_312_; + if (i_381_ >= 0) { + if (i_381_ >= is.length) break; + int i_382_ = SpriteSub3.anInt8451; + int i_383_ = SpriteSub3.anInt8458 + SpriteSub3.anInt8479; + int i_384_ = SpriteSub3.anInt8467; + int i_385_ = SpriteSub3.anInt8478; + if (i_384_ >= 0 && (i_384_ - (this.anInt8470 << 12) < 0)) { + if (i_383_ < 0) { + int i_386_ = ((SpriteSub3.anInt8481 - 1 - i_383_) / SpriteSub3.anInt8481); + i_385_ += i_386_; + i_383_ += SpriteSub3.anInt8481 * i_386_; + i_382_ += i_386_; + } + int i_387_; + if ((i_387_ = ((1 + i_383_ - (this.anInt8471 << 12) - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_385_) i_385_ = i_387_; + int i_388_ = is[i_381_] - i; + int i_389_ = -is_311_[i_381_]; + int i_390_ = i_388_ - (i_382_ - SpriteSub3.anInt8451); + if (i_390_ > 0) { + i_382_ += i_390_; + i_385_ += i_390_; + i_383_ += SpriteSub3.anInt8481 * i_390_; + i_384_ += SpriteSub3.anInt8450 * i_390_; + } else i_389_ -= i_390_; + if (i_385_ < i_389_) i_385_ = i_389_; + for (/**/; i_385_ < 0; i_385_++) { + int i_391_ = (aByteArray9934[(((i_384_ >> 12) * this.anInt8471) + (i_383_ >> 12))]); + if (i_391_ != 0) is_313_[i_382_++] = anIntArray9935[i_391_ & 0xff]; + else i_382_++; + i_383_ += SpriteSub3.anInt8481; + } + } + } + i_380_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else if (SpriteSub3.anInt8450 < 0) { + int i_392_ = SpriteSub3.anInt8468; + while (i_392_ < 0) { + int i_393_ = i_392_ + i_312_; + if (i_393_ >= 0) { + if (i_393_ >= is.length) break; + int i_394_ = SpriteSub3.anInt8451; + int i_395_ = SpriteSub3.anInt8458 + SpriteSub3.anInt8479; + int i_396_ = SpriteSub3.anInt8467 + SpriteSub3.anInt8475; + int i_397_ = SpriteSub3.anInt8478; + if (i_395_ < 0) { + int i_398_ = ((SpriteSub3.anInt8481 - 1 - i_395_) / SpriteSub3.anInt8481); + i_397_ += i_398_; + i_395_ += SpriteSub3.anInt8481 * i_398_; + i_396_ += SpriteSub3.anInt8450 * i_398_; + i_394_ += i_398_; + } + int i_399_; + if ((i_399_ = ((1 + i_395_ - (this.anInt8471 << 12) - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_397_) i_397_ = i_399_; + if ((i_399_ = i_396_ - (this.anInt8470 << 12)) >= 0) { + i_399_ = ((SpriteSub3.anInt8450 - i_399_) / SpriteSub3.anInt8450); + i_397_ += i_399_; + i_395_ += SpriteSub3.anInt8481 * i_399_; + i_396_ += SpriteSub3.anInt8450 * i_399_; + i_394_ += i_399_; + } + if ((i_399_ = ((i_396_ - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_397_) i_397_ = i_399_; + int i_400_ = is[i_393_] - i; + int i_401_ = -is_311_[i_393_]; + int i_402_ = i_400_ - (i_394_ - SpriteSub3.anInt8451); + if (i_402_ > 0) { + i_394_ += i_402_; + i_397_ += i_402_; + i_395_ += SpriteSub3.anInt8481 * i_402_; + i_396_ += SpriteSub3.anInt8450 * i_402_; + } else i_401_ -= i_402_; + if (i_397_ < i_401_) i_397_ = i_401_; + for (/**/; i_397_ < 0; i_397_++) { + int i_403_ = (aByteArray9934[(((i_396_ >> 12) * this.anInt8471) + (i_395_ >> 12))]); + if (i_403_ != 0) is_313_[i_394_++] = anIntArray9935[i_403_ & 0xff]; + else i_394_++; + i_395_ += SpriteSub3.anInt8481; + i_396_ += SpriteSub3.anInt8450; + } + } + i_392_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else { + int i_404_ = SpriteSub3.anInt8468; + while (i_404_ < 0) { + int i_405_ = i_404_ + i_312_; + if (i_405_ >= 0) { + if (i_405_ >= is.length) break; + int i_406_ = SpriteSub3.anInt8451; + int i_407_ = SpriteSub3.anInt8458 + SpriteSub3.anInt8479; + int i_408_ = SpriteSub3.anInt8467 + SpriteSub3.anInt8475; + int i_409_ = SpriteSub3.anInt8478; + if (i_407_ < 0) { + int i_410_ = ((SpriteSub3.anInt8481 - 1 - i_407_) / SpriteSub3.anInt8481); + i_409_ += i_410_; + i_407_ += SpriteSub3.anInt8481 * i_410_; + i_408_ += SpriteSub3.anInt8450 * i_410_; + i_406_ += i_410_; + } + int i_411_; + if ((i_411_ = ((1 + i_407_ - (this.anInt8471 << 12) - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_409_) i_409_ = i_411_; + if (i_408_ < 0) { + i_411_ = ((SpriteSub3.anInt8450 - 1 - i_408_) / SpriteSub3.anInt8450); + i_409_ += i_411_; + i_407_ += SpriteSub3.anInt8481 * i_411_; + i_408_ += SpriteSub3.anInt8450 * i_411_; + i_406_ += i_411_; + } + if ((i_411_ = ((1 + i_408_ - (this.anInt8470 << 12) - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_409_) i_409_ = i_411_; + int i_412_ = is[i_405_] - i; + int i_413_ = -is_311_[i_405_]; + int i_414_ = i_412_ - (i_406_ - SpriteSub3.anInt8451); + if (i_414_ > 0) { + i_406_ += i_414_; + i_409_ += i_414_; + i_407_ += SpriteSub3.anInt8481 * i_414_; + i_408_ += SpriteSub3.anInt8450 * i_414_; + } else i_413_ -= i_414_; + if (i_409_ < i_413_) i_409_ = i_413_; + for (/**/; i_409_ < 0; i_409_++) { + int i_415_ = (aByteArray9934[(((i_408_ >> 12) * this.anInt8471) + (i_407_ >> 12))]); + if (i_415_ != 0) is_313_[i_406_++] = anIntArray9935[i_415_ & 0xff]; + else i_406_++; + i_407_ += SpriteSub3.anInt8481; + i_408_ += SpriteSub3.anInt8450; + } + } + i_404_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } + } + + SpriteSub3Sub2(GlToolkitSub1 var_ha_Sub1, byte[] is, int[] is_416_, int i, int i_417_) { + super(var_ha_Sub1, i, i_417_); + aByteArray9934 = is; + anIntArray9935 = is_416_; + } + + final void method994(int i, int i_418_) { + int[] is = this.aHa_Sub1_8460.anIntArray7483; + if (SpriteSub3.anInt8481 == 0) { + if (SpriteSub3.anInt8450 == 0) { + int i_419_ = SpriteSub3.anInt8468; + while (i_419_ < 0) { + int i_420_ = SpriteSub3.anInt8451; + int i_421_ = SpriteSub3.anInt8458; + int i_422_ = SpriteSub3.anInt8467; + int i_423_ = SpriteSub3.anInt8478; + if (i_421_ >= 0 && i_422_ >= 0 && (i_421_ - (this.anInt8471 << 12) < 0) && (i_422_ - (this.anInt8470 << 12) < 0)) { + for (/**/; i_423_ < 0; i_423_++) { + int i_424_ = (((i_422_ >> 12) * this.anInt8471) + (i_421_ >> 12)); + int i_425_ = i_420_++; + int[] is_426_ = is; + int i_427_ = i; + int i_428_ = i_418_; + if (i_428_ == 0) { + if (i_427_ == 1) is_426_[i_425_] = (anIntArray9935[aByteArray9934[i_424_] & 0xff]); + else if (i_427_ == 0) { + int i_429_ = (anIntArray9935[aByteArray9934[i_424_] & 0xff]); + int i_430_ = (((i_429_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_431_ = (((i_429_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_432_ = (((i_429_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_426_[i_425_] = (i_430_ | i_431_ | i_432_) >>> 8; + } else if (i_427_ == 3) { + int i_433_ = (anIntArray9935[aByteArray9934[i_424_] & 0xff]); + int i_434_ = SpriteSub3.anInt8480; + int i_435_ = i_433_ + i_434_; + int i_436_ = ((i_433_ & 0xff00ff) + (i_434_ & 0xff00ff)); + int i_437_ = ((i_436_ & 0x1000100) + (i_435_ - i_436_ & 0x10000)); + is_426_[i_425_] = i_435_ - i_437_ | i_437_ - (i_437_ >>> 8); + } else if (i_427_ == 2) { + int i_438_ = (anIntArray9935[aByteArray9934[i_424_] & 0xff]); + int i_439_ = (((i_438_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_440_ = (((i_438_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_426_[i_425_] = (((i_439_ | i_440_) >>> 8) + SpriteSub3.anInt8474); + } else throw new IllegalArgumentException(); + } else if (i_428_ == 1) { + if (i_427_ == 1) { + int i_441_ = aByteArray9934[i_424_]; + if (i_441_ != 0) is_426_[i_425_] = anIntArray9935[i_441_ & 0xff]; + } else if (i_427_ == 0) { + int i_442_ = aByteArray9934[i_424_]; + if (i_442_ != 0) { + int i_443_ = anIntArray9935[i_442_ & 0xff]; + if ((SpriteSub3.anInt8480 & 0xffffff) == 16777215) { + int i_444_ = (SpriteSub3.anInt8480 >>> 24); + int i_445_ = 256 - i_444_; + int i_446_ = is_426_[i_425_]; + is_426_[i_425_] = (((((i_443_ & 0xff00ff) * i_444_) + ((i_446_ & 0xff00ff) * i_445_)) & ~0xff00ff) + ((((i_443_ & 0xff00) * i_444_) + ((i_446_ & 0xff00) * i_445_)) & 0xff0000)) >> 8; + } else if (SpriteSub3.anInt8477 == 255) { + int i_451_ = (((i_443_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_452_ = (((i_443_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_453_ = (((i_443_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_426_[i_425_] = (i_451_ | i_452_ | i_453_) >>> 8; + } else { + int i_447_ = (((i_443_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_448_ = (((i_443_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_449_ = (((i_443_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_443_ = (i_447_ | i_448_ | i_449_) >>> 8; + int i_450_ = is_426_[i_425_]; + is_426_[i_425_] = (((((i_443_ & 0xff00ff) * (SpriteSub3.anInt8477)) + ((i_450_ & 0xff00ff) * (SpriteSub3.anInt8472))) & ~0xff00ff) + ((((i_443_ & 0xff00) * (SpriteSub3.anInt8477)) + ((i_450_ & 0xff00) * (SpriteSub3.anInt8472))) & 0xff0000)) >> 8; + } + } + } else if (i_427_ == 3) { + byte i_454_ = aByteArray9934[i_424_]; + int i_455_ = (i_454_ > 0 ? anIntArray9935[i_454_] : 0); + int i_456_ = SpriteSub3.anInt8480; + int i_457_ = i_455_ + i_456_; + int i_458_ = ((i_455_ & 0xff00ff) + (i_456_ & 0xff00ff)); + int i_459_ = ((i_458_ & 0x1000100) + (i_457_ - i_458_ & 0x10000)); + i_459_ = i_457_ - i_459_ | i_459_ - (i_459_ >>> 8); + if (i_455_ == 0 && SpriteSub3.anInt8477 != 255) { + i_455_ = i_459_; + i_459_ = is_426_[i_425_]; + i_459_ = (((((i_455_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_459_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_455_ & 0xff00) * SpriteSub3.anInt8477) + ((i_459_ & 0xff00) * (SpriteSub3.anInt8472))) & 0xff0000)) >> 8; + } + is_426_[i_425_] = i_459_; + } else if (i_427_ == 2) { + int i_460_ = aByteArray9934[i_424_]; + if (i_460_ != 0) { + int i_461_ = anIntArray9935[i_460_ & 0xff]; + int i_462_ = (((i_461_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_463_ = (((i_461_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_426_[i_425_++] = (((i_462_ | i_463_) >>> 8) + SpriteSub3.anInt8474); + } + } else throw new IllegalArgumentException(); + } else if (i_428_ == 2) { + if (i_427_ == 1) { + int i_464_ = aByteArray9934[i_424_]; + if (i_464_ != 0) { + int i_465_ = anIntArray9935[i_464_ & 0xff]; + int i_466_ = is_426_[i_425_]; + int i_467_ = i_465_ + i_466_; + int i_468_ = ((i_465_ & 0xff00ff) + (i_466_ & 0xff00ff)); + i_466_ = ((i_468_ & 0x1000100) + (i_467_ - i_468_ & 0x10000)); + is_426_[i_425_] = (i_467_ - i_466_ | i_466_ - (i_466_ >>> 8)); + } + } else if (i_427_ == 0) { + int i_469_ = aByteArray9934[i_424_]; + if (i_469_ != 0) { + int i_470_ = anIntArray9935[i_469_ & 0xff]; + int i_471_ = (((i_470_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_472_ = (((i_470_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_473_ = (((i_470_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_470_ = (i_471_ | i_472_ | i_473_) >>> 8; + int i_474_ = is_426_[i_425_]; + int i_475_ = i_470_ + i_474_; + int i_476_ = ((i_470_ & 0xff00ff) + (i_474_ & 0xff00ff)); + i_474_ = ((i_476_ & 0x1000100) + (i_475_ - i_476_ & 0x10000)); + is_426_[i_425_] = (i_475_ - i_474_ | i_474_ - (i_474_ >>> 8)); + } + } else if (i_427_ == 3) { + byte i_477_ = aByteArray9934[i_424_]; + int i_478_ = (i_477_ > 0 ? anIntArray9935[i_477_] : 0); + int i_479_ = SpriteSub3.anInt8480; + int i_480_ = i_478_ + i_479_; + int i_481_ = ((i_478_ & 0xff00ff) + (i_479_ & 0xff00ff)); + int i_482_ = ((i_481_ & 0x1000100) + (i_480_ - i_481_ & 0x10000)); + i_482_ = i_480_ - i_482_ | i_482_ - (i_482_ >>> 8); + if (i_478_ == 0 && SpriteSub3.anInt8477 != 255) { + i_478_ = i_482_; + i_482_ = is_426_[i_425_]; + i_482_ = (((((i_478_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_482_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_478_ & 0xff00) * SpriteSub3.anInt8477) + ((i_482_ & 0xff00) * (SpriteSub3.anInt8472))) & 0xff0000)) >> 8; + } + is_426_[i_425_] = i_482_; + } else if (i_427_ == 2) { + int i_483_ = aByteArray9934[i_424_]; + if (i_483_ != 0) { + int i_484_ = anIntArray9935[i_483_ & 0xff]; + int i_485_ = (((i_484_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_486_ = (((i_484_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_484_ = (((i_485_ | i_486_) >>> 8) + SpriteSub3.anInt8474); + int i_487_ = is_426_[i_425_]; + int i_488_ = i_484_ + i_487_; + int i_489_ = ((i_484_ & 0xff00ff) + (i_487_ & 0xff00ff)); + i_487_ = ((i_489_ & 0x1000100) + (i_488_ - i_489_ & 0x10000)); + is_426_[i_425_] = (i_488_ - i_487_ | i_487_ - (i_487_ >>> 8)); + } + } + } else throw new IllegalArgumentException(); + } + } + i_419_++; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else if (SpriteSub3.anInt8450 < 0) { + int i_490_ = SpriteSub3.anInt8468; + while (i_490_ < 0) { + int i_491_ = SpriteSub3.anInt8451; + int i_492_ = SpriteSub3.anInt8458; + int i_493_ = SpriteSub3.anInt8467 + SpriteSub3.anInt8475; + int i_494_ = SpriteSub3.anInt8478; + if (i_492_ >= 0 && (i_492_ - (this.anInt8471 << 12) < 0)) { + int i_495_; + if ((i_495_ = i_493_ - (this.anInt8470 << 12)) >= 0) { + i_495_ = ((SpriteSub3.anInt8450 - i_495_) / SpriteSub3.anInt8450); + i_494_ += i_495_; + i_493_ += SpriteSub3.anInt8450 * i_495_; + i_491_ += i_495_; + } + if ((i_495_ = ((i_493_ - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_494_) i_494_ = i_495_; + for (/**/; i_494_ < 0; i_494_++) { + int i_496_ = (((i_493_ >> 12) * this.anInt8471) + (i_492_ >> 12)); + int i_497_ = i_491_++; + int[] is_498_ = is; + int i_499_ = i; + int i_500_ = i_418_; + if (i_500_ == 0) { + if (i_499_ == 1) is_498_[i_497_] = (anIntArray9935[aByteArray9934[i_496_] & 0xff]); + else if (i_499_ == 0) { + int i_501_ = (anIntArray9935[aByteArray9934[i_496_] & 0xff]); + int i_502_ = (((i_501_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_503_ = (((i_501_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_504_ = (((i_501_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_498_[i_497_] = (i_502_ | i_503_ | i_504_) >>> 8; + } else if (i_499_ == 3) { + int i_505_ = (anIntArray9935[aByteArray9934[i_496_] & 0xff]); + int i_506_ = SpriteSub3.anInt8480; + int i_507_ = i_505_ + i_506_; + int i_508_ = ((i_505_ & 0xff00ff) + (i_506_ & 0xff00ff)); + int i_509_ = ((i_508_ & 0x1000100) + (i_507_ - i_508_ & 0x10000)); + is_498_[i_497_] = i_507_ - i_509_ | i_509_ - (i_509_ >>> 8); + } else if (i_499_ == 2) { + int i_510_ = (anIntArray9935[aByteArray9934[i_496_] & 0xff]); + int i_511_ = (((i_510_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_512_ = (((i_510_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_498_[i_497_] = (((i_511_ | i_512_) >>> 8) + SpriteSub3.anInt8474); + } else throw new IllegalArgumentException(); + } else if (i_500_ == 1) { + if (i_499_ == 1) { + int i_513_ = aByteArray9934[i_496_]; + if (i_513_ != 0) is_498_[i_497_] = anIntArray9935[i_513_ & 0xff]; + } else if (i_499_ == 0) { + int i_514_ = aByteArray9934[i_496_]; + if (i_514_ != 0) { + int i_515_ = anIntArray9935[i_514_ & 0xff]; + if ((SpriteSub3.anInt8480 & 0xffffff) == 16777215) { + int i_516_ = (SpriteSub3.anInt8480 >>> 24); + int i_517_ = 256 - i_516_; + int i_518_ = is_498_[i_497_]; + is_498_[i_497_] = (((((i_515_ & 0xff00ff) * i_516_) + ((i_518_ & 0xff00ff) * i_517_)) & ~0xff00ff) + ((((i_515_ & 0xff00) * i_516_) + ((i_518_ & 0xff00) * i_517_)) & 0xff0000)) >> 8; + } else if (SpriteSub3.anInt8477 == 255) { + int i_523_ = (((i_515_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_524_ = (((i_515_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_525_ = (((i_515_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_498_[i_497_] = (i_523_ | i_524_ | i_525_) >>> 8; + } else { + int i_519_ = (((i_515_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_520_ = (((i_515_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_521_ = (((i_515_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_515_ = (i_519_ | i_520_ | i_521_) >>> 8; + int i_522_ = is_498_[i_497_]; + is_498_[i_497_] = (((((i_515_ & 0xff00ff) * (SpriteSub3.anInt8477)) + ((i_522_ & 0xff00ff) * (SpriteSub3.anInt8472))) & ~0xff00ff) + ((((i_515_ & 0xff00) * (SpriteSub3.anInt8477)) + ((i_522_ & 0xff00) * (SpriteSub3.anInt8472))) & 0xff0000)) >> 8; + } + } + } else if (i_499_ == 3) { + byte i_526_ = aByteArray9934[i_496_]; + int i_527_ = (i_526_ > 0 ? anIntArray9935[i_526_] : 0); + int i_528_ = SpriteSub3.anInt8480; + int i_529_ = i_527_ + i_528_; + int i_530_ = ((i_527_ & 0xff00ff) + (i_528_ & 0xff00ff)); + int i_531_ = ((i_530_ & 0x1000100) + (i_529_ - i_530_ & 0x10000)); + i_531_ = i_529_ - i_531_ | i_531_ - (i_531_ >>> 8); + if (i_527_ == 0 && SpriteSub3.anInt8477 != 255) { + i_527_ = i_531_; + i_531_ = is_498_[i_497_]; + i_531_ = (((((i_527_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_531_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_527_ & 0xff00) * SpriteSub3.anInt8477) + ((i_531_ & 0xff00) * (SpriteSub3.anInt8472))) & 0xff0000)) >> 8; + } + is_498_[i_497_] = i_531_; + } else if (i_499_ == 2) { + int i_532_ = aByteArray9934[i_496_]; + if (i_532_ != 0) { + int i_533_ = anIntArray9935[i_532_ & 0xff]; + int i_534_ = (((i_533_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_535_ = (((i_533_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_498_[i_497_++] = (((i_534_ | i_535_) >>> 8) + SpriteSub3.anInt8474); + } + } else throw new IllegalArgumentException(); + } else if (i_500_ == 2) { + if (i_499_ == 1) { + int i_536_ = aByteArray9934[i_496_]; + if (i_536_ != 0) { + int i_537_ = anIntArray9935[i_536_ & 0xff]; + int i_538_ = is_498_[i_497_]; + int i_539_ = i_537_ + i_538_; + int i_540_ = ((i_537_ & 0xff00ff) + (i_538_ & 0xff00ff)); + i_538_ = ((i_540_ & 0x1000100) + (i_539_ - i_540_ & 0x10000)); + is_498_[i_497_] = (i_539_ - i_538_ | i_538_ - (i_538_ >>> 8)); + } + } else if (i_499_ == 0) { + int i_541_ = aByteArray9934[i_496_]; + if (i_541_ != 0) { + int i_542_ = anIntArray9935[i_541_ & 0xff]; + int i_543_ = (((i_542_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_544_ = (((i_542_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_545_ = (((i_542_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_542_ = (i_543_ | i_544_ | i_545_) >>> 8; + int i_546_ = is_498_[i_497_]; + int i_547_ = i_542_ + i_546_; + int i_548_ = ((i_542_ & 0xff00ff) + (i_546_ & 0xff00ff)); + i_546_ = ((i_548_ & 0x1000100) + (i_547_ - i_548_ & 0x10000)); + is_498_[i_497_] = (i_547_ - i_546_ | i_546_ - (i_546_ >>> 8)); + } + } else if (i_499_ == 3) { + byte i_549_ = aByteArray9934[i_496_]; + int i_550_ = (i_549_ > 0 ? anIntArray9935[i_549_] : 0); + int i_551_ = SpriteSub3.anInt8480; + int i_552_ = i_550_ + i_551_; + int i_553_ = ((i_550_ & 0xff00ff) + (i_551_ & 0xff00ff)); + int i_554_ = ((i_553_ & 0x1000100) + (i_552_ - i_553_ & 0x10000)); + i_554_ = i_552_ - i_554_ | i_554_ - (i_554_ >>> 8); + if (i_550_ == 0 && SpriteSub3.anInt8477 != 255) { + i_550_ = i_554_; + i_554_ = is_498_[i_497_]; + i_554_ = (((((i_550_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_554_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_550_ & 0xff00) * SpriteSub3.anInt8477) + ((i_554_ & 0xff00) * (SpriteSub3.anInt8472))) & 0xff0000)) >> 8; + } + is_498_[i_497_] = i_554_; + } else if (i_499_ == 2) { + int i_555_ = aByteArray9934[i_496_]; + if (i_555_ != 0) { + int i_556_ = anIntArray9935[i_555_ & 0xff]; + int i_557_ = (((i_556_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_558_ = (((i_556_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_556_ = (((i_557_ | i_558_) >>> 8) + SpriteSub3.anInt8474); + int i_559_ = is_498_[i_497_]; + int i_560_ = i_556_ + i_559_; + int i_561_ = ((i_556_ & 0xff00ff) + (i_559_ & 0xff00ff)); + i_559_ = ((i_561_ & 0x1000100) + (i_560_ - i_561_ & 0x10000)); + is_498_[i_497_] = (i_560_ - i_559_ | i_559_ - (i_559_ >>> 8)); + } + } + } else throw new IllegalArgumentException(); + i_493_ += SpriteSub3.anInt8450; + } + } + i_490_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else { + int i_562_ = SpriteSub3.anInt8468; + while (i_562_ < 0) { + int i_563_ = SpriteSub3.anInt8451; + int i_564_ = SpriteSub3.anInt8458; + int i_565_ = SpriteSub3.anInt8467 + SpriteSub3.anInt8475; + int i_566_ = SpriteSub3.anInt8478; + if (i_564_ >= 0 && (i_564_ - (this.anInt8471 << 12) < 0)) { + if (i_565_ < 0) { + int i_567_ = ((SpriteSub3.anInt8450 - 1 - i_565_) / SpriteSub3.anInt8450); + i_566_ += i_567_; + i_565_ += SpriteSub3.anInt8450 * i_567_; + i_563_ += i_567_; + } + int i_568_; + if ((i_568_ = ((1 + i_565_ - (this.anInt8470 << 12) - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_566_) i_566_ = i_568_; + for (/**/; i_566_ < 0; i_566_++) { + int i_569_ = (((i_565_ >> 12) * this.anInt8471) + (i_564_ >> 12)); + int i_570_ = i_563_++; + int[] is_571_ = is; + int i_572_ = i; + int i_573_ = i_418_; + if (i_573_ == 0) { + if (i_572_ == 1) is_571_[i_570_] = (anIntArray9935[aByteArray9934[i_569_] & 0xff]); + else if (i_572_ == 0) { + int i_574_ = (anIntArray9935[aByteArray9934[i_569_] & 0xff]); + int i_575_ = (((i_574_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_576_ = (((i_574_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_577_ = (((i_574_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_571_[i_570_] = (i_575_ | i_576_ | i_577_) >>> 8; + } else if (i_572_ == 3) { + int i_578_ = (anIntArray9935[aByteArray9934[i_569_] & 0xff]); + int i_579_ = SpriteSub3.anInt8480; + int i_580_ = i_578_ + i_579_; + int i_581_ = ((i_578_ & 0xff00ff) + (i_579_ & 0xff00ff)); + int i_582_ = ((i_581_ & 0x1000100) + (i_580_ - i_581_ & 0x10000)); + is_571_[i_570_] = i_580_ - i_582_ | i_582_ - (i_582_ >>> 8); + } else if (i_572_ == 2) { + int i_583_ = (anIntArray9935[aByteArray9934[i_569_] & 0xff]); + int i_584_ = (((i_583_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_585_ = (((i_583_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_571_[i_570_] = (((i_584_ | i_585_) >>> 8) + SpriteSub3.anInt8474); + } else throw new IllegalArgumentException(); + } else if (i_573_ == 1) { + if (i_572_ == 1) { + int i_586_ = aByteArray9934[i_569_]; + if (i_586_ != 0) is_571_[i_570_] = anIntArray9935[i_586_ & 0xff]; + } else if (i_572_ == 0) { + int i_587_ = aByteArray9934[i_569_]; + if (i_587_ != 0) { + int i_588_ = anIntArray9935[i_587_ & 0xff]; + if ((SpriteSub3.anInt8480 & 0xffffff) == 16777215) { + int i_589_ = (SpriteSub3.anInt8480 >>> 24); + int i_590_ = 256 - i_589_; + int i_591_ = is_571_[i_570_]; + is_571_[i_570_] = (((((i_588_ & 0xff00ff) * i_589_) + ((i_591_ & 0xff00ff) * i_590_)) & ~0xff00ff) + ((((i_588_ & 0xff00) * i_589_) + ((i_591_ & 0xff00) * i_590_)) & 0xff0000)) >> 8; + } else if (SpriteSub3.anInt8477 == 255) { + int i_596_ = (((i_588_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_597_ = (((i_588_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_598_ = (((i_588_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_571_[i_570_] = (i_596_ | i_597_ | i_598_) >>> 8; + } else { + int i_592_ = (((i_588_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_593_ = (((i_588_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_594_ = (((i_588_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_588_ = (i_592_ | i_593_ | i_594_) >>> 8; + int i_595_ = is_571_[i_570_]; + is_571_[i_570_] = (((((i_588_ & 0xff00ff) * (SpriteSub3.anInt8477)) + ((i_595_ & 0xff00ff) * (SpriteSub3.anInt8472))) & ~0xff00ff) + ((((i_588_ & 0xff00) * (SpriteSub3.anInt8477)) + ((i_595_ & 0xff00) * (SpriteSub3.anInt8472))) & 0xff0000)) >> 8; + } + } + } else if (i_572_ == 3) { + byte i_599_ = aByteArray9934[i_569_]; + int i_600_ = (i_599_ > 0 ? anIntArray9935[i_599_] : 0); + int i_601_ = SpriteSub3.anInt8480; + int i_602_ = i_600_ + i_601_; + int i_603_ = ((i_600_ & 0xff00ff) + (i_601_ & 0xff00ff)); + int i_604_ = ((i_603_ & 0x1000100) + (i_602_ - i_603_ & 0x10000)); + i_604_ = i_602_ - i_604_ | i_604_ - (i_604_ >>> 8); + if (i_600_ == 0 && SpriteSub3.anInt8477 != 255) { + i_600_ = i_604_; + i_604_ = is_571_[i_570_]; + i_604_ = (((((i_600_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_604_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_600_ & 0xff00) * SpriteSub3.anInt8477) + ((i_604_ & 0xff00) * (SpriteSub3.anInt8472))) & 0xff0000)) >> 8; + } + is_571_[i_570_] = i_604_; + } else if (i_572_ == 2) { + int i_605_ = aByteArray9934[i_569_]; + if (i_605_ != 0) { + int i_606_ = anIntArray9935[i_605_ & 0xff]; + int i_607_ = (((i_606_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_608_ = (((i_606_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_571_[i_570_++] = (((i_607_ | i_608_) >>> 8) + SpriteSub3.anInt8474); + } + } else throw new IllegalArgumentException(); + } else if (i_573_ == 2) { + if (i_572_ == 1) { + int i_609_ = aByteArray9934[i_569_]; + if (i_609_ != 0) { + int i_610_ = anIntArray9935[i_609_ & 0xff]; + int i_611_ = is_571_[i_570_]; + int i_612_ = i_610_ + i_611_; + int i_613_ = ((i_610_ & 0xff00ff) + (i_611_ & 0xff00ff)); + i_611_ = ((i_613_ & 0x1000100) + (i_612_ - i_613_ & 0x10000)); + is_571_[i_570_] = (i_612_ - i_611_ | i_611_ - (i_611_ >>> 8)); + } + } else if (i_572_ == 0) { + int i_614_ = aByteArray9934[i_569_]; + if (i_614_ != 0) { + int i_615_ = anIntArray9935[i_614_ & 0xff]; + int i_616_ = (((i_615_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_617_ = (((i_615_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_618_ = (((i_615_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_615_ = (i_616_ | i_617_ | i_618_) >>> 8; + int i_619_ = is_571_[i_570_]; + int i_620_ = i_615_ + i_619_; + int i_621_ = ((i_615_ & 0xff00ff) + (i_619_ & 0xff00ff)); + i_619_ = ((i_621_ & 0x1000100) + (i_620_ - i_621_ & 0x10000)); + is_571_[i_570_] = (i_620_ - i_619_ | i_619_ - (i_619_ >>> 8)); + } + } else if (i_572_ == 3) { + byte i_622_ = aByteArray9934[i_569_]; + int i_623_ = (i_622_ > 0 ? anIntArray9935[i_622_] : 0); + int i_624_ = SpriteSub3.anInt8480; + int i_625_ = i_623_ + i_624_; + int i_626_ = ((i_623_ & 0xff00ff) + (i_624_ & 0xff00ff)); + int i_627_ = ((i_626_ & 0x1000100) + (i_625_ - i_626_ & 0x10000)); + i_627_ = i_625_ - i_627_ | i_627_ - (i_627_ >>> 8); + if (i_623_ == 0 && SpriteSub3.anInt8477 != 255) { + i_623_ = i_627_; + i_627_ = is_571_[i_570_]; + i_627_ = (((((i_623_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_627_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_623_ & 0xff00) * SpriteSub3.anInt8477) + ((i_627_ & 0xff00) * (SpriteSub3.anInt8472))) & 0xff0000)) >> 8; + } + is_571_[i_570_] = i_627_; + } else if (i_572_ == 2) { + int i_628_ = aByteArray9934[i_569_]; + if (i_628_ != 0) { + int i_629_ = anIntArray9935[i_628_ & 0xff]; + int i_630_ = (((i_629_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_631_ = (((i_629_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_629_ = (((i_630_ | i_631_) >>> 8) + SpriteSub3.anInt8474); + int i_632_ = is_571_[i_570_]; + int i_633_ = i_629_ + i_632_; + int i_634_ = ((i_629_ & 0xff00ff) + (i_632_ & 0xff00ff)); + i_632_ = ((i_634_ & 0x1000100) + (i_633_ - i_634_ & 0x10000)); + is_571_[i_570_] = (i_633_ - i_632_ | i_632_ - (i_632_ >>> 8)); + } + } + } else throw new IllegalArgumentException(); + i_565_ += SpriteSub3.anInt8450; + } + } + i_562_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } + } else if (SpriteSub3.anInt8481 < 0) { + if (SpriteSub3.anInt8450 == 0) { + int i_635_ = SpriteSub3.anInt8468; + while (i_635_ < 0) { + int i_636_ = SpriteSub3.anInt8451; + int i_637_ = SpriteSub3.anInt8458 + SpriteSub3.anInt8479; + int i_638_ = SpriteSub3.anInt8467; + int i_639_ = SpriteSub3.anInt8478; + if (i_638_ >= 0 && (i_638_ - (this.anInt8470 << 12) < 0)) { + int i_640_; + if ((i_640_ = i_637_ - (this.anInt8471 << 12)) >= 0) { + i_640_ = ((SpriteSub3.anInt8481 - i_640_) / SpriteSub3.anInt8481); + i_639_ += i_640_; + i_637_ += SpriteSub3.anInt8481 * i_640_; + i_636_ += i_640_; + } + if ((i_640_ = ((i_637_ - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_639_) i_639_ = i_640_; + for (/**/; i_639_ < 0; i_639_++) { + int i_641_ = (((i_638_ >> 12) * this.anInt8471) + (i_637_ >> 12)); + int i_642_ = i_636_++; + int[] is_643_ = is; + int i_644_ = i; + int i_645_ = i_418_; + if (i_645_ == 0) { + if (i_644_ == 1) is_643_[i_642_] = (anIntArray9935[aByteArray9934[i_641_] & 0xff]); + else if (i_644_ == 0) { + int i_646_ = (anIntArray9935[aByteArray9934[i_641_] & 0xff]); + int i_647_ = (((i_646_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_648_ = (((i_646_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_649_ = (((i_646_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_643_[i_642_] = (i_647_ | i_648_ | i_649_) >>> 8; + } else if (i_644_ == 3) { + int i_650_ = (anIntArray9935[aByteArray9934[i_641_] & 0xff]); + int i_651_ = SpriteSub3.anInt8480; + int i_652_ = i_650_ + i_651_; + int i_653_ = ((i_650_ & 0xff00ff) + (i_651_ & 0xff00ff)); + int i_654_ = ((i_653_ & 0x1000100) + (i_652_ - i_653_ & 0x10000)); + is_643_[i_642_] = i_652_ - i_654_ | i_654_ - (i_654_ >>> 8); + } else if (i_644_ == 2) { + int i_655_ = (anIntArray9935[aByteArray9934[i_641_] & 0xff]); + int i_656_ = (((i_655_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_657_ = (((i_655_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_643_[i_642_] = (((i_656_ | i_657_) >>> 8) + SpriteSub3.anInt8474); + } else throw new IllegalArgumentException(); + } else if (i_645_ == 1) { + if (i_644_ == 1) { + int i_658_ = aByteArray9934[i_641_]; + if (i_658_ != 0) is_643_[i_642_] = anIntArray9935[i_658_ & 0xff]; + } else if (i_644_ == 0) { + int i_659_ = aByteArray9934[i_641_]; + if (i_659_ != 0) { + int i_660_ = anIntArray9935[i_659_ & 0xff]; + if ((SpriteSub3.anInt8480 & 0xffffff) == 16777215) { + int i_661_ = (SpriteSub3.anInt8480 >>> 24); + int i_662_ = 256 - i_661_; + int i_663_ = is_643_[i_642_]; + is_643_[i_642_] = (((((i_660_ & 0xff00ff) * i_661_) + ((i_663_ & 0xff00ff) * i_662_)) & ~0xff00ff) + ((((i_660_ & 0xff00) * i_661_) + ((i_663_ & 0xff00) * i_662_)) & 0xff0000)) >> 8; + } else if (SpriteSub3.anInt8477 == 255) { + int i_668_ = (((i_660_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_669_ = (((i_660_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_670_ = (((i_660_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_643_[i_642_] = (i_668_ | i_669_ | i_670_) >>> 8; + } else { + int i_664_ = (((i_660_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_665_ = (((i_660_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_666_ = (((i_660_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_660_ = (i_664_ | i_665_ | i_666_) >>> 8; + int i_667_ = is_643_[i_642_]; + is_643_[i_642_] = (((((i_660_ & 0xff00ff) * (SpriteSub3.anInt8477)) + ((i_667_ & 0xff00ff) * (SpriteSub3.anInt8472))) & ~0xff00ff) + ((((i_660_ & 0xff00) * (SpriteSub3.anInt8477)) + ((i_667_ & 0xff00) * (SpriteSub3.anInt8472))) & 0xff0000)) >> 8; + } + } + } else if (i_644_ == 3) { + byte i_671_ = aByteArray9934[i_641_]; + int i_672_ = (i_671_ > 0 ? anIntArray9935[i_671_] : 0); + int i_673_ = SpriteSub3.anInt8480; + int i_674_ = i_672_ + i_673_; + int i_675_ = ((i_672_ & 0xff00ff) + (i_673_ & 0xff00ff)); + int i_676_ = ((i_675_ & 0x1000100) + (i_674_ - i_675_ & 0x10000)); + i_676_ = i_674_ - i_676_ | i_676_ - (i_676_ >>> 8); + if (i_672_ == 0 && SpriteSub3.anInt8477 != 255) { + i_672_ = i_676_; + i_676_ = is_643_[i_642_]; + i_676_ = (((((i_672_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_676_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_672_ & 0xff00) * SpriteSub3.anInt8477) + ((i_676_ & 0xff00) * (SpriteSub3.anInt8472))) & 0xff0000)) >> 8; + } + is_643_[i_642_] = i_676_; + } else if (i_644_ == 2) { + int i_677_ = aByteArray9934[i_641_]; + if (i_677_ != 0) { + int i_678_ = anIntArray9935[i_677_ & 0xff]; + int i_679_ = (((i_678_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_680_ = (((i_678_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_643_[i_642_++] = (((i_679_ | i_680_) >>> 8) + SpriteSub3.anInt8474); + } + } else throw new IllegalArgumentException(); + } else if (i_645_ == 2) { + if (i_644_ == 1) { + int i_681_ = aByteArray9934[i_641_]; + if (i_681_ != 0) { + int i_682_ = anIntArray9935[i_681_ & 0xff]; + int i_683_ = is_643_[i_642_]; + int i_684_ = i_682_ + i_683_; + int i_685_ = ((i_682_ & 0xff00ff) + (i_683_ & 0xff00ff)); + i_683_ = ((i_685_ & 0x1000100) + (i_684_ - i_685_ & 0x10000)); + is_643_[i_642_] = (i_684_ - i_683_ | i_683_ - (i_683_ >>> 8)); + } + } else if (i_644_ == 0) { + int i_686_ = aByteArray9934[i_641_]; + if (i_686_ != 0) { + int i_687_ = anIntArray9935[i_686_ & 0xff]; + int i_688_ = (((i_687_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_689_ = (((i_687_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_690_ = (((i_687_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_687_ = (i_688_ | i_689_ | i_690_) >>> 8; + int i_691_ = is_643_[i_642_]; + int i_692_ = i_687_ + i_691_; + int i_693_ = ((i_687_ & 0xff00ff) + (i_691_ & 0xff00ff)); + i_691_ = ((i_693_ & 0x1000100) + (i_692_ - i_693_ & 0x10000)); + is_643_[i_642_] = (i_692_ - i_691_ | i_691_ - (i_691_ >>> 8)); + } + } else if (i_644_ == 3) { + byte i_694_ = aByteArray9934[i_641_]; + int i_695_ = (i_694_ > 0 ? anIntArray9935[i_694_] : 0); + int i_696_ = SpriteSub3.anInt8480; + int i_697_ = i_695_ + i_696_; + int i_698_ = ((i_695_ & 0xff00ff) + (i_696_ & 0xff00ff)); + int i_699_ = ((i_698_ & 0x1000100) + (i_697_ - i_698_ & 0x10000)); + i_699_ = i_697_ - i_699_ | i_699_ - (i_699_ >>> 8); + if (i_695_ == 0 && SpriteSub3.anInt8477 != 255) { + i_695_ = i_699_; + i_699_ = is_643_[i_642_]; + i_699_ = (((((i_695_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_699_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_695_ & 0xff00) * SpriteSub3.anInt8477) + ((i_699_ & 0xff00) * (SpriteSub3.anInt8472))) & 0xff0000)) >> 8; + } + is_643_[i_642_] = i_699_; + } else if (i_644_ == 2) { + int i_700_ = aByteArray9934[i_641_]; + if (i_700_ != 0) { + int i_701_ = anIntArray9935[i_700_ & 0xff]; + int i_702_ = (((i_701_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_703_ = (((i_701_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_701_ = (((i_702_ | i_703_) >>> 8) + SpriteSub3.anInt8474); + int i_704_ = is_643_[i_642_]; + int i_705_ = i_701_ + i_704_; + int i_706_ = ((i_701_ & 0xff00ff) + (i_704_ & 0xff00ff)); + i_704_ = ((i_706_ & 0x1000100) + (i_705_ - i_706_ & 0x10000)); + is_643_[i_642_] = (i_705_ - i_704_ | i_704_ - (i_704_ >>> 8)); + } + } + } else throw new IllegalArgumentException(); + i_637_ += SpriteSub3.anInt8481; + } + } + i_635_++; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else if (SpriteSub3.anInt8450 < 0) { + int i_707_ = SpriteSub3.anInt8468; + while (i_707_ < 0) { + int i_708_ = SpriteSub3.anInt8451; + int i_709_ = SpriteSub3.anInt8458 + SpriteSub3.anInt8479; + int i_710_ = SpriteSub3.anInt8467 + SpriteSub3.anInt8475; + int i_711_ = SpriteSub3.anInt8478; + int i_712_; + if ((i_712_ = i_709_ - (this.anInt8471 << 12)) >= 0) { + i_712_ = ((SpriteSub3.anInt8481 - i_712_) / SpriteSub3.anInt8481); + i_711_ += i_712_; + i_709_ += SpriteSub3.anInt8481 * i_712_; + i_710_ += SpriteSub3.anInt8450 * i_712_; + i_708_ += i_712_; + } + if ((i_712_ = ((i_709_ - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_711_) i_711_ = i_712_; + if ((i_712_ = i_710_ - (this.anInt8470 << 12)) >= 0) { + i_712_ = ((SpriteSub3.anInt8450 - i_712_) / SpriteSub3.anInt8450); + i_711_ += i_712_; + i_709_ += SpriteSub3.anInt8481 * i_712_; + i_710_ += SpriteSub3.anInt8450 * i_712_; + i_708_ += i_712_; + } + if ((i_712_ = ((i_710_ - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_711_) i_711_ = i_712_; + for (/**/; i_711_ < 0; i_711_++) { + int i_713_ = (((i_710_ >> 12) * this.anInt8471) + (i_709_ >> 12)); + int i_714_ = i_708_++; + int[] is_715_ = is; + int i_716_ = i; + int i_717_ = i_418_; + if (i_717_ == 0) { + if (i_716_ == 1) is_715_[i_714_] = (anIntArray9935[aByteArray9934[i_713_] & 0xff]); + else if (i_716_ == 0) { + int i_718_ = (anIntArray9935[aByteArray9934[i_713_] & 0xff]); + int i_719_ = (((i_718_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_720_ = (((i_718_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_721_ = (((i_718_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_715_[i_714_] = (i_719_ | i_720_ | i_721_) >>> 8; + } else if (i_716_ == 3) { + int i_722_ = (anIntArray9935[aByteArray9934[i_713_] & 0xff]); + int i_723_ = SpriteSub3.anInt8480; + int i_724_ = i_722_ + i_723_; + int i_725_ = ((i_722_ & 0xff00ff) + (i_723_ & 0xff00ff)); + int i_726_ = ((i_725_ & 0x1000100) + (i_724_ - i_725_ & 0x10000)); + is_715_[i_714_] = i_724_ - i_726_ | i_726_ - (i_726_ >>> 8); + } else if (i_716_ == 2) { + int i_727_ = (anIntArray9935[aByteArray9934[i_713_] & 0xff]); + int i_728_ = (((i_727_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_729_ = (((i_727_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_715_[i_714_] = (((i_728_ | i_729_) >>> 8) + SpriteSub3.anInt8474); + } else throw new IllegalArgumentException(); + } else if (i_717_ == 1) { + if (i_716_ == 1) { + int i_730_ = aByteArray9934[i_713_]; + if (i_730_ != 0) is_715_[i_714_] = anIntArray9935[i_730_ & 0xff]; + } else if (i_716_ == 0) { + int i_731_ = aByteArray9934[i_713_]; + if (i_731_ != 0) { + int i_732_ = anIntArray9935[i_731_ & 0xff]; + if ((SpriteSub3.anInt8480 & 0xffffff) == 16777215) { + int i_733_ = SpriteSub3.anInt8480 >>> 24; + int i_734_ = 256 - i_733_; + int i_735_ = is_715_[i_714_]; + is_715_[i_714_] = ((((i_732_ & 0xff00ff) * i_733_ + ((i_735_ & 0xff00ff) * i_734_)) & ~0xff00ff) + (((i_732_ & 0xff00) * i_733_ + ((i_735_ & 0xff00) * i_734_)) & 0xff0000)) >> 8; + } else if (SpriteSub3.anInt8477 == 255) { + int i_740_ = (((i_732_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_741_ = (((i_732_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_742_ = (((i_732_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_715_[i_714_] = (i_740_ | i_741_ | i_742_) >>> 8; + } else { + int i_736_ = (((i_732_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_737_ = (((i_732_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_738_ = (((i_732_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_732_ = (i_736_ | i_737_ | i_738_) >>> 8; + int i_739_ = is_715_[i_714_]; + is_715_[i_714_] = (((((i_732_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_739_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_732_ & 0xff00) * SpriteSub3.anInt8477) + ((i_739_ & 0xff00) * (SpriteSub3.anInt8472))) & 0xff0000)) >> 8; + } + } + } else if (i_716_ == 3) { + byte i_743_ = aByteArray9934[i_713_]; + int i_744_ = i_743_ > 0 ? anIntArray9935[i_743_] : 0; + int i_745_ = SpriteSub3.anInt8480; + int i_746_ = i_744_ + i_745_; + int i_747_ = ((i_744_ & 0xff00ff) + (i_745_ & 0xff00ff)); + int i_748_ = ((i_747_ & 0x1000100) + (i_746_ - i_747_ & 0x10000)); + i_748_ = i_746_ - i_748_ | i_748_ - (i_748_ >>> 8); + if (i_744_ == 0 && SpriteSub3.anInt8477 != 255) { + i_744_ = i_748_; + i_748_ = is_715_[i_714_]; + i_748_ = (((((i_744_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_748_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_744_ & 0xff00) * SpriteSub3.anInt8477) + ((i_748_ & 0xff00) * SpriteSub3.anInt8472)) & 0xff0000)) >> 8; + } + is_715_[i_714_] = i_748_; + } else if (i_716_ == 2) { + int i_749_ = aByteArray9934[i_713_]; + if (i_749_ != 0) { + int i_750_ = anIntArray9935[i_749_ & 0xff]; + int i_751_ = (((i_750_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_752_ = (((i_750_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_715_[i_714_++] = (((i_751_ | i_752_) >>> 8) + SpriteSub3.anInt8474); + } + } else throw new IllegalArgumentException(); + } else if (i_717_ == 2) { + if (i_716_ == 1) { + int i_753_ = aByteArray9934[i_713_]; + if (i_753_ != 0) { + int i_754_ = anIntArray9935[i_753_ & 0xff]; + int i_755_ = is_715_[i_714_]; + int i_756_ = i_754_ + i_755_; + int i_757_ = ((i_754_ & 0xff00ff) + (i_755_ & 0xff00ff)); + i_755_ = ((i_757_ & 0x1000100) + (i_756_ - i_757_ & 0x10000)); + is_715_[i_714_] = i_756_ - i_755_ | i_755_ - (i_755_ >>> 8); + } + } else if (i_716_ == 0) { + int i_758_ = aByteArray9934[i_713_]; + if (i_758_ != 0) { + int i_759_ = anIntArray9935[i_758_ & 0xff]; + int i_760_ = (((i_759_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_761_ = (((i_759_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_762_ = (((i_759_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_759_ = (i_760_ | i_761_ | i_762_) >>> 8; + int i_763_ = is_715_[i_714_]; + int i_764_ = i_759_ + i_763_; + int i_765_ = ((i_759_ & 0xff00ff) + (i_763_ & 0xff00ff)); + i_763_ = ((i_765_ & 0x1000100) + (i_764_ - i_765_ & 0x10000)); + is_715_[i_714_] = i_764_ - i_763_ | i_763_ - (i_763_ >>> 8); + } + } else if (i_716_ == 3) { + byte i_766_ = aByteArray9934[i_713_]; + int i_767_ = i_766_ > 0 ? anIntArray9935[i_766_] : 0; + int i_768_ = SpriteSub3.anInt8480; + int i_769_ = i_767_ + i_768_; + int i_770_ = ((i_767_ & 0xff00ff) + (i_768_ & 0xff00ff)); + int i_771_ = ((i_770_ & 0x1000100) + (i_769_ - i_770_ & 0x10000)); + i_771_ = i_769_ - i_771_ | i_771_ - (i_771_ >>> 8); + if (i_767_ == 0 && SpriteSub3.anInt8477 != 255) { + i_767_ = i_771_; + i_771_ = is_715_[i_714_]; + i_771_ = (((((i_767_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_771_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_767_ & 0xff00) * SpriteSub3.anInt8477) + ((i_771_ & 0xff00) * SpriteSub3.anInt8472)) & 0xff0000)) >> 8; + } + is_715_[i_714_] = i_771_; + } else if (i_716_ == 2) { + int i_772_ = aByteArray9934[i_713_]; + if (i_772_ != 0) { + int i_773_ = anIntArray9935[i_772_ & 0xff]; + int i_774_ = (((i_773_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_775_ = (((i_773_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_773_ = (((i_774_ | i_775_) >>> 8) + SpriteSub3.anInt8474); + int i_776_ = is_715_[i_714_]; + int i_777_ = i_773_ + i_776_; + int i_778_ = ((i_773_ & 0xff00ff) + (i_776_ & 0xff00ff)); + i_776_ = ((i_778_ & 0x1000100) + (i_777_ - i_778_ & 0x10000)); + is_715_[i_714_] = i_777_ - i_776_ | i_776_ - (i_776_ >>> 8); + } + } + } else throw new IllegalArgumentException(); + i_709_ += SpriteSub3.anInt8481; + i_710_ += SpriteSub3.anInt8450; + } + i_707_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else { + int i_779_ = SpriteSub3.anInt8468; + while (i_779_ < 0) { + int i_780_ = SpriteSub3.anInt8451; + int i_781_ = SpriteSub3.anInt8458 + SpriteSub3.anInt8479; + int i_782_ = SpriteSub3.anInt8467 + SpriteSub3.anInt8475; + int i_783_ = SpriteSub3.anInt8478; + int i_784_; + if ((i_784_ = i_781_ - (this.anInt8471 << 12)) >= 0) { + i_784_ = ((SpriteSub3.anInt8481 - i_784_) / SpriteSub3.anInt8481); + i_783_ += i_784_; + i_781_ += SpriteSub3.anInt8481 * i_784_; + i_782_ += SpriteSub3.anInt8450 * i_784_; + i_780_ += i_784_; + } + if ((i_784_ = ((i_781_ - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_783_) i_783_ = i_784_; + if (i_782_ < 0) { + i_784_ = ((SpriteSub3.anInt8450 - 1 - i_782_) / SpriteSub3.anInt8450); + i_783_ += i_784_; + i_781_ += SpriteSub3.anInt8481 * i_784_; + i_782_ += SpriteSub3.anInt8450 * i_784_; + i_780_ += i_784_; + } + if ((i_784_ = ((1 + i_782_ - (this.anInt8470 << 12) - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_783_) i_783_ = i_784_; + for (/**/; i_783_ < 0; i_783_++) { + int i_785_ = (((i_782_ >> 12) * this.anInt8471) + (i_781_ >> 12)); + int i_786_ = i_780_++; + int[] is_787_ = is; + int i_788_ = i; + int i_789_ = i_418_; + if (i_789_ == 0) { + if (i_788_ == 1) is_787_[i_786_] = (anIntArray9935[aByteArray9934[i_785_] & 0xff]); + else if (i_788_ == 0) { + int i_790_ = (anIntArray9935[aByteArray9934[i_785_] & 0xff]); + int i_791_ = (((i_790_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_792_ = (((i_790_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_793_ = (((i_790_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_787_[i_786_] = (i_791_ | i_792_ | i_793_) >>> 8; + } else if (i_788_ == 3) { + int i_794_ = (anIntArray9935[aByteArray9934[i_785_] & 0xff]); + int i_795_ = SpriteSub3.anInt8480; + int i_796_ = i_794_ + i_795_; + int i_797_ = ((i_794_ & 0xff00ff) + (i_795_ & 0xff00ff)); + int i_798_ = ((i_797_ & 0x1000100) + (i_796_ - i_797_ & 0x10000)); + is_787_[i_786_] = i_796_ - i_798_ | i_798_ - (i_798_ >>> 8); + } else if (i_788_ == 2) { + int i_799_ = (anIntArray9935[aByteArray9934[i_785_] & 0xff]); + int i_800_ = (((i_799_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_801_ = (((i_799_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_787_[i_786_] = (((i_800_ | i_801_) >>> 8) + SpriteSub3.anInt8474); + } else throw new IllegalArgumentException(); + } else if (i_789_ == 1) { + if (i_788_ == 1) { + int i_802_ = aByteArray9934[i_785_]; + if (i_802_ != 0) is_787_[i_786_] = anIntArray9935[i_802_ & 0xff]; + } else if (i_788_ == 0) { + int i_803_ = aByteArray9934[i_785_]; + if (i_803_ != 0) { + int i_804_ = anIntArray9935[i_803_ & 0xff]; + if ((SpriteSub3.anInt8480 & 0xffffff) == 16777215) { + int i_805_ = SpriteSub3.anInt8480 >>> 24; + int i_806_ = 256 - i_805_; + int i_807_ = is_787_[i_786_]; + is_787_[i_786_] = ((((i_804_ & 0xff00ff) * i_805_ + ((i_807_ & 0xff00ff) * i_806_)) & ~0xff00ff) + (((i_804_ & 0xff00) * i_805_ + ((i_807_ & 0xff00) * i_806_)) & 0xff0000)) >> 8; + } else if (SpriteSub3.anInt8477 == 255) { + int i_812_ = (((i_804_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_813_ = (((i_804_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_814_ = (((i_804_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_787_[i_786_] = (i_812_ | i_813_ | i_814_) >>> 8; + } else { + int i_808_ = (((i_804_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_809_ = (((i_804_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_810_ = (((i_804_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_804_ = (i_808_ | i_809_ | i_810_) >>> 8; + int i_811_ = is_787_[i_786_]; + is_787_[i_786_] = (((((i_804_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_811_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_804_ & 0xff00) * SpriteSub3.anInt8477) + ((i_811_ & 0xff00) * (SpriteSub3.anInt8472))) & 0xff0000)) >> 8; + } + } + } else if (i_788_ == 3) { + byte i_815_ = aByteArray9934[i_785_]; + int i_816_ = i_815_ > 0 ? anIntArray9935[i_815_] : 0; + int i_817_ = SpriteSub3.anInt8480; + int i_818_ = i_816_ + i_817_; + int i_819_ = ((i_816_ & 0xff00ff) + (i_817_ & 0xff00ff)); + int i_820_ = ((i_819_ & 0x1000100) + (i_818_ - i_819_ & 0x10000)); + i_820_ = i_818_ - i_820_ | i_820_ - (i_820_ >>> 8); + if (i_816_ == 0 && SpriteSub3.anInt8477 != 255) { + i_816_ = i_820_; + i_820_ = is_787_[i_786_]; + i_820_ = (((((i_816_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_820_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_816_ & 0xff00) * SpriteSub3.anInt8477) + ((i_820_ & 0xff00) * SpriteSub3.anInt8472)) & 0xff0000)) >> 8; + } + is_787_[i_786_] = i_820_; + } else if (i_788_ == 2) { + int i_821_ = aByteArray9934[i_785_]; + if (i_821_ != 0) { + int i_822_ = anIntArray9935[i_821_ & 0xff]; + int i_823_ = (((i_822_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_824_ = (((i_822_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_787_[i_786_++] = (((i_823_ | i_824_) >>> 8) + SpriteSub3.anInt8474); + } + } else throw new IllegalArgumentException(); + } else if (i_789_ == 2) { + if (i_788_ == 1) { + int i_825_ = aByteArray9934[i_785_]; + if (i_825_ != 0) { + int i_826_ = anIntArray9935[i_825_ & 0xff]; + int i_827_ = is_787_[i_786_]; + int i_828_ = i_826_ + i_827_; + int i_829_ = ((i_826_ & 0xff00ff) + (i_827_ & 0xff00ff)); + i_827_ = ((i_829_ & 0x1000100) + (i_828_ - i_829_ & 0x10000)); + is_787_[i_786_] = i_828_ - i_827_ | i_827_ - (i_827_ >>> 8); + } + } else if (i_788_ == 0) { + int i_830_ = aByteArray9934[i_785_]; + if (i_830_ != 0) { + int i_831_ = anIntArray9935[i_830_ & 0xff]; + int i_832_ = (((i_831_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_833_ = (((i_831_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_834_ = (((i_831_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_831_ = (i_832_ | i_833_ | i_834_) >>> 8; + int i_835_ = is_787_[i_786_]; + int i_836_ = i_831_ + i_835_; + int i_837_ = ((i_831_ & 0xff00ff) + (i_835_ & 0xff00ff)); + i_835_ = ((i_837_ & 0x1000100) + (i_836_ - i_837_ & 0x10000)); + is_787_[i_786_] = i_836_ - i_835_ | i_835_ - (i_835_ >>> 8); + } + } else if (i_788_ == 3) { + byte i_838_ = aByteArray9934[i_785_]; + int i_839_ = i_838_ > 0 ? anIntArray9935[i_838_] : 0; + int i_840_ = SpriteSub3.anInt8480; + int i_841_ = i_839_ + i_840_; + int i_842_ = ((i_839_ & 0xff00ff) + (i_840_ & 0xff00ff)); + int i_843_ = ((i_842_ & 0x1000100) + (i_841_ - i_842_ & 0x10000)); + i_843_ = i_841_ - i_843_ | i_843_ - (i_843_ >>> 8); + if (i_839_ == 0 && SpriteSub3.anInt8477 != 255) { + i_839_ = i_843_; + i_843_ = is_787_[i_786_]; + i_843_ = (((((i_839_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_843_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_839_ & 0xff00) * SpriteSub3.anInt8477) + ((i_843_ & 0xff00) * SpriteSub3.anInt8472)) & 0xff0000)) >> 8; + } + is_787_[i_786_] = i_843_; + } else if (i_788_ == 2) { + int i_844_ = aByteArray9934[i_785_]; + if (i_844_ != 0) { + int i_845_ = anIntArray9935[i_844_ & 0xff]; + int i_846_ = (((i_845_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_847_ = (((i_845_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_845_ = (((i_846_ | i_847_) >>> 8) + SpriteSub3.anInt8474); + int i_848_ = is_787_[i_786_]; + int i_849_ = i_845_ + i_848_; + int i_850_ = ((i_845_ & 0xff00ff) + (i_848_ & 0xff00ff)); + i_848_ = ((i_850_ & 0x1000100) + (i_849_ - i_850_ & 0x10000)); + is_787_[i_786_] = i_849_ - i_848_ | i_848_ - (i_848_ >>> 8); + } + } + } else throw new IllegalArgumentException(); + i_781_ += SpriteSub3.anInt8481; + i_782_ += SpriteSub3.anInt8450; + } + i_779_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } + } else if (SpriteSub3.anInt8450 == 0) { + int i_851_ = SpriteSub3.anInt8468; + while (i_851_ < 0) { + int i_852_ = SpriteSub3.anInt8451; + int i_853_ = SpriteSub3.anInt8458 + SpriteSub3.anInt8479; + int i_854_ = SpriteSub3.anInt8467; + int i_855_ = SpriteSub3.anInt8478; + if (i_854_ >= 0 && i_854_ - (this.anInt8470 << 12) < 0) { + if (i_853_ < 0) { + int i_856_ = ((SpriteSub3.anInt8481 - 1 - i_853_) / SpriteSub3.anInt8481); + i_855_ += i_856_; + i_853_ += SpriteSub3.anInt8481 * i_856_; + i_852_ += i_856_; + } + int i_857_; + if ((i_857_ = ((1 + i_853_ - (this.anInt8471 << 12) - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_855_) i_855_ = i_857_; + for (/**/; i_855_ < 0; i_855_++) { + int i_858_ = (((i_854_ >> 12) * this.anInt8471) + (i_853_ >> 12)); + int i_859_ = i_852_++; + int[] is_860_ = is; + int i_861_ = i; + int i_862_ = i_418_; + if (i_862_ == 0) { + if (i_861_ == 1) is_860_[i_859_] = (anIntArray9935[aByteArray9934[i_858_] & 0xff]); + else if (i_861_ == 0) { + int i_863_ = (anIntArray9935[aByteArray9934[i_858_] & 0xff]); + int i_864_ = (((i_863_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_865_ = (((i_863_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_866_ = (((i_863_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_860_[i_859_] = (i_864_ | i_865_ | i_866_) >>> 8; + } else if (i_861_ == 3) { + int i_867_ = (anIntArray9935[aByteArray9934[i_858_] & 0xff]); + int i_868_ = SpriteSub3.anInt8480; + int i_869_ = i_867_ + i_868_; + int i_870_ = ((i_867_ & 0xff00ff) + (i_868_ & 0xff00ff)); + int i_871_ = ((i_870_ & 0x1000100) + (i_869_ - i_870_ & 0x10000)); + is_860_[i_859_] = i_869_ - i_871_ | i_871_ - (i_871_ >>> 8); + } else if (i_861_ == 2) { + int i_872_ = (anIntArray9935[aByteArray9934[i_858_] & 0xff]); + int i_873_ = (((i_872_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_874_ = (((i_872_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_860_[i_859_] = (((i_873_ | i_874_) >>> 8) + SpriteSub3.anInt8474); + } else throw new IllegalArgumentException(); + } else if (i_862_ == 1) { + if (i_861_ == 1) { + int i_875_ = aByteArray9934[i_858_]; + if (i_875_ != 0) is_860_[i_859_] = anIntArray9935[i_875_ & 0xff]; + } else if (i_861_ == 0) { + int i_876_ = aByteArray9934[i_858_]; + if (i_876_ != 0) { + int i_877_ = anIntArray9935[i_876_ & 0xff]; + if ((SpriteSub3.anInt8480 & 0xffffff) == 16777215) { + int i_878_ = SpriteSub3.anInt8480 >>> 24; + int i_879_ = 256 - i_878_; + int i_880_ = is_860_[i_859_]; + is_860_[i_859_] = ((((i_877_ & 0xff00ff) * i_878_ + ((i_880_ & 0xff00ff) * i_879_)) & ~0xff00ff) + (((i_877_ & 0xff00) * i_878_ + ((i_880_ & 0xff00) * i_879_)) & 0xff0000)) >> 8; + } else if (SpriteSub3.anInt8477 == 255) { + int i_885_ = (((i_877_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_886_ = (((i_877_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_887_ = (((i_877_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_860_[i_859_] = (i_885_ | i_886_ | i_887_) >>> 8; + } else { + int i_881_ = (((i_877_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_882_ = (((i_877_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_883_ = (((i_877_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_877_ = (i_881_ | i_882_ | i_883_) >>> 8; + int i_884_ = is_860_[i_859_]; + is_860_[i_859_] = (((((i_877_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_884_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_877_ & 0xff00) * SpriteSub3.anInt8477) + ((i_884_ & 0xff00) * (SpriteSub3.anInt8472))) & 0xff0000)) >> 8; + } + } + } else if (i_861_ == 3) { + byte i_888_ = aByteArray9934[i_858_]; + int i_889_ = i_888_ > 0 ? anIntArray9935[i_888_] : 0; + int i_890_ = SpriteSub3.anInt8480; + int i_891_ = i_889_ + i_890_; + int i_892_ = ((i_889_ & 0xff00ff) + (i_890_ & 0xff00ff)); + int i_893_ = ((i_892_ & 0x1000100) + (i_891_ - i_892_ & 0x10000)); + i_893_ = i_891_ - i_893_ | i_893_ - (i_893_ >>> 8); + if (i_889_ == 0 && SpriteSub3.anInt8477 != 255) { + i_889_ = i_893_; + i_893_ = is_860_[i_859_]; + i_893_ = (((((i_889_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_893_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_889_ & 0xff00) * SpriteSub3.anInt8477) + ((i_893_ & 0xff00) * SpriteSub3.anInt8472)) & 0xff0000)) >> 8; + } + is_860_[i_859_] = i_893_; + } else if (i_861_ == 2) { + int i_894_ = aByteArray9934[i_858_]; + if (i_894_ != 0) { + int i_895_ = anIntArray9935[i_894_ & 0xff]; + int i_896_ = (((i_895_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_897_ = (((i_895_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_860_[i_859_++] = (((i_896_ | i_897_) >>> 8) + SpriteSub3.anInt8474); + } + } else throw new IllegalArgumentException(); + } else if (i_862_ == 2) { + if (i_861_ == 1) { + int i_898_ = aByteArray9934[i_858_]; + if (i_898_ != 0) { + int i_899_ = anIntArray9935[i_898_ & 0xff]; + int i_900_ = is_860_[i_859_]; + int i_901_ = i_899_ + i_900_; + int i_902_ = ((i_899_ & 0xff00ff) + (i_900_ & 0xff00ff)); + i_900_ = ((i_902_ & 0x1000100) + (i_901_ - i_902_ & 0x10000)); + is_860_[i_859_] = i_901_ - i_900_ | i_900_ - (i_900_ >>> 8); + } + } else if (i_861_ == 0) { + int i_903_ = aByteArray9934[i_858_]; + if (i_903_ != 0) { + int i_904_ = anIntArray9935[i_903_ & 0xff]; + int i_905_ = (((i_904_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_906_ = (((i_904_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_907_ = (((i_904_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_904_ = (i_905_ | i_906_ | i_907_) >>> 8; + int i_908_ = is_860_[i_859_]; + int i_909_ = i_904_ + i_908_; + int i_910_ = ((i_904_ & 0xff00ff) + (i_908_ & 0xff00ff)); + i_908_ = ((i_910_ & 0x1000100) + (i_909_ - i_910_ & 0x10000)); + is_860_[i_859_] = i_909_ - i_908_ | i_908_ - (i_908_ >>> 8); + } + } else if (i_861_ == 3) { + byte i_911_ = aByteArray9934[i_858_]; + int i_912_ = i_911_ > 0 ? anIntArray9935[i_911_] : 0; + int i_913_ = SpriteSub3.anInt8480; + int i_914_ = i_912_ + i_913_; + int i_915_ = ((i_912_ & 0xff00ff) + (i_913_ & 0xff00ff)); + int i_916_ = ((i_915_ & 0x1000100) + (i_914_ - i_915_ & 0x10000)); + i_916_ = i_914_ - i_916_ | i_916_ - (i_916_ >>> 8); + if (i_912_ == 0 && SpriteSub3.anInt8477 != 255) { + i_912_ = i_916_; + i_916_ = is_860_[i_859_]; + i_916_ = (((((i_912_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_916_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_912_ & 0xff00) * SpriteSub3.anInt8477) + ((i_916_ & 0xff00) * SpriteSub3.anInt8472)) & 0xff0000)) >> 8; + } + is_860_[i_859_] = i_916_; + } else if (i_861_ == 2) { + int i_917_ = aByteArray9934[i_858_]; + if (i_917_ != 0) { + int i_918_ = anIntArray9935[i_917_ & 0xff]; + int i_919_ = (((i_918_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_920_ = (((i_918_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_918_ = (((i_919_ | i_920_) >>> 8) + SpriteSub3.anInt8474); + int i_921_ = is_860_[i_859_]; + int i_922_ = i_918_ + i_921_; + int i_923_ = ((i_918_ & 0xff00ff) + (i_921_ & 0xff00ff)); + i_921_ = ((i_923_ & 0x1000100) + (i_922_ - i_923_ & 0x10000)); + is_860_[i_859_] = i_922_ - i_921_ | i_921_ - (i_921_ >>> 8); + } + } + } else throw new IllegalArgumentException(); + i_853_ += SpriteSub3.anInt8481; + } + } + i_851_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else if (SpriteSub3.anInt8450 < 0) { + for (int i_924_ = SpriteSub3.anInt8468; i_924_ < 0; i_924_++) { + int i_925_ = SpriteSub3.anInt8451; + int i_926_ = SpriteSub3.anInt8458 + SpriteSub3.anInt8479; + int i_927_ = SpriteSub3.anInt8467 + SpriteSub3.anInt8475; + int i_928_ = SpriteSub3.anInt8478; + if (i_926_ < 0) { + int i_929_ = ((SpriteSub3.anInt8481 - 1 - i_926_) / SpriteSub3.anInt8481); + i_928_ += i_929_; + i_926_ += SpriteSub3.anInt8481 * i_929_; + i_927_ += SpriteSub3.anInt8450 * i_929_; + i_925_ += i_929_; + } + int i_930_; + if ((i_930_ = (1 + i_926_ - (this.anInt8471 << 12) - SpriteSub3.anInt8481) / SpriteSub3.anInt8481) > i_928_) i_928_ = i_930_; + if ((i_930_ = i_927_ - (this.anInt8470 << 12)) >= 0) { + i_930_ = ((SpriteSub3.anInt8450 - i_930_) / SpriteSub3.anInt8450); + i_928_ += i_930_; + i_926_ += SpriteSub3.anInt8481 * i_930_; + i_927_ += SpriteSub3.anInt8450 * i_930_; + i_925_ += i_930_; + } + if ((i_930_ = ((i_927_ - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_928_) i_928_ = i_930_; + for (/**/; i_928_ < 0; i_928_++) { + int i_931_ = ((i_927_ >> 12) * this.anInt8471 + (i_926_ >> 12)); + int i_932_ = i_925_++; + int[] is_933_ = is; + int i_934_ = i; + int i_935_ = i_418_; + if (i_935_ == 0) { + if (i_934_ == 1) is_933_[i_932_] = (anIntArray9935[aByteArray9934[i_931_] & 0xff]); + else if (i_934_ == 0) { + int i_936_ = (anIntArray9935[aByteArray9934[i_931_] & 0xff]); + int i_937_ = (((i_936_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_938_ = ((i_936_ & 0xff00) * SpriteSub3.anInt8463 & 0xff0000); + int i_939_ = ((i_936_ & 0xff) * SpriteSub3.anInt8465 & 0xff00); + is_933_[i_932_] = (i_937_ | i_938_ | i_939_) >>> 8; + } else if (i_934_ == 3) { + int i_940_ = (anIntArray9935[aByteArray9934[i_931_] & 0xff]); + int i_941_ = SpriteSub3.anInt8480; + int i_942_ = i_940_ + i_941_; + int i_943_ = (i_940_ & 0xff00ff) + (i_941_ & 0xff00ff); + int i_944_ = ((i_943_ & 0x1000100) + (i_942_ - i_943_ & 0x10000)); + is_933_[i_932_] = i_942_ - i_944_ | i_944_ - (i_944_ >>> 8); + } else if (i_934_ == 2) { + int i_945_ = (anIntArray9935[aByteArray9934[i_931_] & 0xff]); + int i_946_ = (((i_945_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_947_ = ((i_945_ & 0xff00) * SpriteSub3.anInt8477 & 0xff0000); + is_933_[i_932_] = (((i_946_ | i_947_) >>> 8) + SpriteSub3.anInt8474); + } else throw new IllegalArgumentException(); + } else if (i_935_ == 1) { + if (i_934_ == 1) { + int i_948_ = aByteArray9934[i_931_]; + if (i_948_ != 0) is_933_[i_932_] = anIntArray9935[i_948_ & 0xff]; + } else if (i_934_ == 0) { + int i_949_ = aByteArray9934[i_931_]; + if (i_949_ != 0) { + int i_950_ = anIntArray9935[i_949_ & 0xff]; + if ((SpriteSub3.anInt8480 & 0xffffff) == 16777215) { + int i_951_ = SpriteSub3.anInt8480 >>> 24; + int i_952_ = 256 - i_951_; + int i_953_ = is_933_[i_932_]; + is_933_[i_932_] = ((((i_950_ & 0xff00ff) * i_951_ + (i_953_ & 0xff00ff) * i_952_) & ~0xff00ff) + (((i_950_ & 0xff00) * i_951_ + (i_953_ & 0xff00) * i_952_) & 0xff0000)) >> 8; + } else if (SpriteSub3.anInt8477 == 255) { + int i_958_ = (((i_950_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_959_ = (((i_950_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_960_ = (((i_950_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_933_[i_932_] = (i_958_ | i_959_ | i_960_) >>> 8; + } else { + int i_954_ = (((i_950_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_955_ = (((i_950_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_956_ = (((i_950_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_950_ = (i_954_ | i_955_ | i_956_) >>> 8; + int i_957_ = is_933_[i_932_]; + is_933_[i_932_] = (((((i_950_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_957_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_950_ & 0xff00) * SpriteSub3.anInt8477) + ((i_957_ & 0xff00) * SpriteSub3.anInt8472)) & 0xff0000)) >> 8; + } + } + } else if (i_934_ == 3) { + byte i_961_ = aByteArray9934[i_931_]; + int i_962_ = i_961_ > 0 ? anIntArray9935[i_961_] : 0; + int i_963_ = SpriteSub3.anInt8480; + int i_964_ = i_962_ + i_963_; + int i_965_ = (i_962_ & 0xff00ff) + (i_963_ & 0xff00ff); + int i_966_ = ((i_965_ & 0x1000100) + (i_964_ - i_965_ & 0x10000)); + i_966_ = i_964_ - i_966_ | i_966_ - (i_966_ >>> 8); + if (i_962_ == 0 && SpriteSub3.anInt8477 != 255) { + i_962_ = i_966_; + i_966_ = is_933_[i_932_]; + i_966_ = (((((i_962_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_966_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_962_ & 0xff00) * SpriteSub3.anInt8477) + ((i_966_ & 0xff00) * SpriteSub3.anInt8472)) & 0xff0000)) >> 8; + } + is_933_[i_932_] = i_966_; + } else if (i_934_ == 2) { + int i_967_ = aByteArray9934[i_931_]; + if (i_967_ != 0) { + int i_968_ = anIntArray9935[i_967_ & 0xff]; + int i_969_ = (((i_968_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_970_ = (((i_968_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_933_[i_932_++] = (((i_969_ | i_970_) >>> 8) + SpriteSub3.anInt8474); + } + } else throw new IllegalArgumentException(); + } else if (i_935_ == 2) { + if (i_934_ == 1) { + int i_971_ = aByteArray9934[i_931_]; + if (i_971_ != 0) { + int i_972_ = anIntArray9935[i_971_ & 0xff]; + int i_973_ = is_933_[i_932_]; + int i_974_ = i_972_ + i_973_; + int i_975_ = ((i_972_ & 0xff00ff) + (i_973_ & 0xff00ff)); + i_973_ = (i_975_ & 0x1000100) + (i_974_ - i_975_ & 0x10000); + is_933_[i_932_] = i_974_ - i_973_ | i_973_ - (i_973_ >>> 8); + } + } else if (i_934_ == 0) { + int i_976_ = aByteArray9934[i_931_]; + if (i_976_ != 0) { + int i_977_ = anIntArray9935[i_976_ & 0xff]; + int i_978_ = (((i_977_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_979_ = (((i_977_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_980_ = (((i_977_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_977_ = (i_978_ | i_979_ | i_980_) >>> 8; + int i_981_ = is_933_[i_932_]; + int i_982_ = i_977_ + i_981_; + int i_983_ = ((i_977_ & 0xff00ff) + (i_981_ & 0xff00ff)); + i_981_ = (i_983_ & 0x1000100) + (i_982_ - i_983_ & 0x10000); + is_933_[i_932_] = i_982_ - i_981_ | i_981_ - (i_981_ >>> 8); + } + } else if (i_934_ == 3) { + byte i_984_ = aByteArray9934[i_931_]; + int i_985_ = i_984_ > 0 ? anIntArray9935[i_984_] : 0; + int i_986_ = SpriteSub3.anInt8480; + int i_987_ = i_985_ + i_986_; + int i_988_ = (i_985_ & 0xff00ff) + (i_986_ & 0xff00ff); + int i_989_ = ((i_988_ & 0x1000100) + (i_987_ - i_988_ & 0x10000)); + i_989_ = i_987_ - i_989_ | i_989_ - (i_989_ >>> 8); + if (i_985_ == 0 && SpriteSub3.anInt8477 != 255) { + i_985_ = i_989_; + i_989_ = is_933_[i_932_]; + i_989_ = (((((i_985_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_989_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_985_ & 0xff00) * SpriteSub3.anInt8477) + ((i_989_ & 0xff00) * SpriteSub3.anInt8472)) & 0xff0000)) >> 8; + } + is_933_[i_932_] = i_989_; + } else if (i_934_ == 2) { + int i_990_ = aByteArray9934[i_931_]; + if (i_990_ != 0) { + int i_991_ = anIntArray9935[i_990_ & 0xff]; + int i_992_ = (((i_991_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_993_ = (((i_991_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_991_ = (((i_992_ | i_993_) >>> 8) + SpriteSub3.anInt8474); + int i_994_ = is_933_[i_932_]; + int i_995_ = i_991_ + i_994_; + int i_996_ = ((i_991_ & 0xff00ff) + (i_994_ & 0xff00ff)); + i_994_ = (i_996_ & 0x1000100) + (i_995_ - i_996_ & 0x10000); + is_933_[i_932_] = i_995_ - i_994_ | i_994_ - (i_994_ >>> 8); + } + } + } else throw new IllegalArgumentException(); + i_926_ += SpriteSub3.anInt8481; + i_927_ += SpriteSub3.anInt8450; + } + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else { + for (int i_997_ = SpriteSub3.anInt8468; i_997_ < 0; i_997_++) { + int i_998_ = SpriteSub3.anInt8451; + int i_999_ = SpriteSub3.anInt8458 + SpriteSub3.anInt8479; + int i_1000_ = SpriteSub3.anInt8467 + SpriteSub3.anInt8475; + int i_1001_ = SpriteSub3.anInt8478; + if (i_999_ < 0) { + int i_1002_ = ((SpriteSub3.anInt8481 - 1 - i_999_) / SpriteSub3.anInt8481); + i_1001_ += i_1002_; + i_999_ += SpriteSub3.anInt8481 * i_1002_; + i_1000_ += SpriteSub3.anInt8450 * i_1002_; + i_998_ += i_1002_; + } + int i_1003_; + if ((i_1003_ = (1 + i_999_ - (this.anInt8471 << 12) - SpriteSub3.anInt8481) / SpriteSub3.anInt8481) > i_1001_) i_1001_ = i_1003_; + if (i_1000_ < 0) { + i_1003_ = ((SpriteSub3.anInt8450 - 1 - i_1000_) / SpriteSub3.anInt8450); + i_1001_ += i_1003_; + i_999_ += SpriteSub3.anInt8481 * i_1003_; + i_1000_ += SpriteSub3.anInt8450 * i_1003_; + i_998_ += i_1003_; + } + if ((i_1003_ = (1 + i_1000_ - (this.anInt8470 << 12) - SpriteSub3.anInt8450) / SpriteSub3.anInt8450) > i_1001_) i_1001_ = i_1003_; + for (/**/; i_1001_ < 0; i_1001_++) { + int i_1004_ = ((i_1000_ >> 12) * this.anInt8471 + (i_999_ >> 12)); + int i_1005_ = i_998_++; + int[] is_1006_ = is; + int i_1007_ = i; + int i_1008_ = i_418_; + if (i_1008_ == 0) { + if (i_1007_ == 1) is_1006_[i_1005_] = (anIntArray9935[aByteArray9934[i_1004_] & 0xff]); + else if (i_1007_ == 0) { + int i_1009_ = (anIntArray9935[aByteArray9934[i_1004_] & 0xff]); + int i_1010_ = (((i_1009_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_1011_ = ((i_1009_ & 0xff00) * SpriteSub3.anInt8463 & 0xff0000); + int i_1012_ = ((i_1009_ & 0xff) * SpriteSub3.anInt8465 & 0xff00); + is_1006_[i_1005_] = (i_1010_ | i_1011_ | i_1012_) >>> 8; + } else if (i_1007_ == 3) { + int i_1013_ = (anIntArray9935[aByteArray9934[i_1004_] & 0xff]); + int i_1014_ = SpriteSub3.anInt8480; + int i_1015_ = i_1013_ + i_1014_; + int i_1016_ = (i_1013_ & 0xff00ff) + (i_1014_ & 0xff00ff); + int i_1017_ = ((i_1016_ & 0x1000100) + (i_1015_ - i_1016_ & 0x10000)); + is_1006_[i_1005_] = i_1015_ - i_1017_ | i_1017_ - (i_1017_ >>> 8); + } else if (i_1007_ == 2) { + int i_1018_ = (anIntArray9935[aByteArray9934[i_1004_] & 0xff]); + int i_1019_ = (((i_1018_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_1020_ = ((i_1018_ & 0xff00) * SpriteSub3.anInt8477 & 0xff0000); + is_1006_[i_1005_] = (((i_1019_ | i_1020_) >>> 8) + SpriteSub3.anInt8474); + } else throw new IllegalArgumentException(); + } else if (i_1008_ == 1) { + if (i_1007_ == 1) { + int i_1021_ = aByteArray9934[i_1004_]; + if (i_1021_ != 0) is_1006_[i_1005_] = anIntArray9935[i_1021_ & 0xff]; + } else if (i_1007_ == 0) { + int i_1022_ = aByteArray9934[i_1004_]; + if (i_1022_ != 0) { + int i_1023_ = anIntArray9935[i_1022_ & 0xff]; + if ((SpriteSub3.anInt8480 & 0xffffff) == 16777215) { + int i_1024_ = SpriteSub3.anInt8480 >>> 24; + int i_1025_ = 256 - i_1024_; + int i_1026_ = is_1006_[i_1005_]; + is_1006_[i_1005_] = ((((i_1023_ & 0xff00ff) * i_1024_ + (i_1026_ & 0xff00ff) * i_1025_) & ~0xff00ff) + (((i_1023_ & 0xff00) * i_1024_ + (i_1026_ & 0xff00) * i_1025_) & 0xff0000)) >> 8; + } else if (SpriteSub3.anInt8477 == 255) { + int i_1031_ = (((i_1023_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_1032_ = (((i_1023_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_1033_ = (((i_1023_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_1006_[i_1005_] = (i_1031_ | i_1032_ | i_1033_) >>> 8; + } else { + int i_1027_ = (((i_1023_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_1028_ = (((i_1023_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_1029_ = (((i_1023_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_1023_ = (i_1027_ | i_1028_ | i_1029_) >>> 8; + int i_1030_ = is_1006_[i_1005_]; + is_1006_[i_1005_] = (((((i_1023_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_1030_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_1023_ & 0xff00) * SpriteSub3.anInt8477) + ((i_1030_ & 0xff00) * SpriteSub3.anInt8472)) & 0xff0000)) >> 8; + } + } + } else if (i_1007_ == 3) { + byte i_1034_ = aByteArray9934[i_1004_]; + int i_1035_ = i_1034_ > 0 ? anIntArray9935[i_1034_] : 0; + int i_1036_ = SpriteSub3.anInt8480; + int i_1037_ = i_1035_ + i_1036_; + int i_1038_ = (i_1035_ & 0xff00ff) + (i_1036_ & 0xff00ff); + int i_1039_ = ((i_1038_ & 0x1000100) + (i_1037_ - i_1038_ & 0x10000)); + i_1039_ = i_1037_ - i_1039_ | i_1039_ - (i_1039_ >>> 8); + if (i_1035_ == 0 && SpriteSub3.anInt8477 != 255) { + i_1035_ = i_1039_; + i_1039_ = is_1006_[i_1005_]; + i_1039_ = (((((i_1035_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_1039_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_1035_ & 0xff00) * SpriteSub3.anInt8477) + ((i_1039_ & 0xff00) * SpriteSub3.anInt8472)) & 0xff0000)) >> 8; + } + is_1006_[i_1005_] = i_1039_; + } else if (i_1007_ == 2) { + int i_1040_ = aByteArray9934[i_1004_]; + if (i_1040_ != 0) { + int i_1041_ = anIntArray9935[i_1040_ & 0xff]; + int i_1042_ = (((i_1041_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_1043_ = (((i_1041_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_1006_[i_1005_++] = (((i_1042_ | i_1043_) >>> 8) + SpriteSub3.anInt8474); + } + } else throw new IllegalArgumentException(); + } else if (i_1008_ == 2) { + if (i_1007_ == 1) { + int i_1044_ = aByteArray9934[i_1004_]; + if (i_1044_ != 0) { + int i_1045_ = anIntArray9935[i_1044_ & 0xff]; + int i_1046_ = is_1006_[i_1005_]; + int i_1047_ = i_1045_ + i_1046_; + int i_1048_ = ((i_1045_ & 0xff00ff) + (i_1046_ & 0xff00ff)); + i_1046_ = ((i_1048_ & 0x1000100) + (i_1047_ - i_1048_ & 0x10000)); + is_1006_[i_1005_] = i_1047_ - i_1046_ | i_1046_ - (i_1046_ >>> 8); + } + } else if (i_1007_ == 0) { + int i_1049_ = aByteArray9934[i_1004_]; + if (i_1049_ != 0) { + int i_1050_ = anIntArray9935[i_1049_ & 0xff]; + int i_1051_ = (((i_1050_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_1052_ = (((i_1050_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_1053_ = (((i_1050_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_1050_ = (i_1051_ | i_1052_ | i_1053_) >>> 8; + int i_1054_ = is_1006_[i_1005_]; + int i_1055_ = i_1050_ + i_1054_; + int i_1056_ = ((i_1050_ & 0xff00ff) + (i_1054_ & 0xff00ff)); + i_1054_ = ((i_1056_ & 0x1000100) + (i_1055_ - i_1056_ & 0x10000)); + is_1006_[i_1005_] = i_1055_ - i_1054_ | i_1054_ - (i_1054_ >>> 8); + } + } else if (i_1007_ == 3) { + byte i_1057_ = aByteArray9934[i_1004_]; + int i_1058_ = i_1057_ > 0 ? anIntArray9935[i_1057_] : 0; + int i_1059_ = SpriteSub3.anInt8480; + int i_1060_ = i_1058_ + i_1059_; + int i_1061_ = (i_1058_ & 0xff00ff) + (i_1059_ & 0xff00ff); + int i_1062_ = ((i_1061_ & 0x1000100) + (i_1060_ - i_1061_ & 0x10000)); + i_1062_ = i_1060_ - i_1062_ | i_1062_ - (i_1062_ >>> 8); + if (i_1058_ == 0 && SpriteSub3.anInt8477 != 255) { + i_1058_ = i_1062_; + i_1062_ = is_1006_[i_1005_]; + i_1062_ = (((((i_1058_ & 0xff00ff) * SpriteSub3.anInt8477) + ((i_1062_ & 0xff00ff) * SpriteSub3.anInt8472)) & ~0xff00ff) + ((((i_1058_ & 0xff00) * SpriteSub3.anInt8477) + ((i_1062_ & 0xff00) * SpriteSub3.anInt8472)) & 0xff0000)) >> 8; + } + is_1006_[i_1005_] = i_1062_; + } else if (i_1007_ == 2) { + int i_1063_ = aByteArray9934[i_1004_]; + if (i_1063_ != 0) { + int i_1064_ = anIntArray9935[i_1063_ & 0xff]; + int i_1065_ = (((i_1064_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_1066_ = (((i_1064_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_1064_ = (((i_1065_ | i_1066_) >>> 8) + SpriteSub3.anInt8474); + int i_1067_ = is_1006_[i_1005_]; + int i_1068_ = i_1064_ + i_1067_; + int i_1069_ = ((i_1064_ & 0xff00ff) + (i_1067_ & 0xff00ff)); + i_1067_ = ((i_1069_ & 0x1000100) + (i_1068_ - i_1069_ & 0x10000)); + is_1006_[i_1005_] = i_1068_ - i_1067_ | i_1067_ - (i_1067_ >>> 8); + } + } + } else throw new IllegalArgumentException(); + i_999_ += SpriteSub3.anInt8481; + i_1000_ += SpriteSub3.anInt8450; + } + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } + } + + final void method963(int i, int i_1070_, Shader var_aa, int i_1071_, int i_1072_) { + if (this.aHa_Sub1_8460.method3716()) throw new IllegalStateException(); + i += this.anInt8461; + i_1070_ += this.anInt8464; + int i_1073_ = 0; + int i_1074_ = this.aHa_Sub1_8460.anInt7477; + int i_1075_ = this.anInt8471; + int i_1076_ = this.anInt8470; + int i_1077_ = i_1074_ - i_1075_; + int i_1078_ = 0; + int i_1079_ = i + i_1070_ * i_1074_; + if (i_1070_ < this.aHa_Sub1_8460.anInt7476) { + int i_1080_ = (this.aHa_Sub1_8460.anInt7476 - i_1070_); + i_1076_ -= i_1080_; + i_1070_ = this.aHa_Sub1_8460.anInt7476; + i_1073_ += i_1080_ * i_1075_; + i_1079_ += i_1080_ * i_1074_; + } + if (i_1070_ + i_1076_ > this.aHa_Sub1_8460.anInt7503) i_1076_ -= i_1070_ + i_1076_ - this.aHa_Sub1_8460.anInt7503; + if (i < this.aHa_Sub1_8460.anInt7496) { + int i_1081_ = (this.aHa_Sub1_8460.anInt7496 - i); + i_1075_ -= i_1081_; + i = this.aHa_Sub1_8460.anInt7496; + i_1073_ += i_1081_; + i_1079_ += i_1081_; + i_1078_ += i_1081_; + i_1077_ += i_1081_; + } + if (i + i_1075_ > this.aHa_Sub1_8460.anInt7507) { + int i_1082_ = (i + i_1075_ - (this.aHa_Sub1_8460.anInt7507)); + i_1075_ -= i_1082_; + i_1078_ += i_1082_; + i_1077_ += i_1082_; + } + if (i_1075_ > 0 && i_1076_ > 0) { + ShaderSub3 var_aa_Sub3 = (ShaderSub3) var_aa; + int[] is = var_aa_Sub3.anIntArray5201; + int[] is_1083_ = var_aa_Sub3.anIntArray5202; + int[] is_1084_ = (this.aHa_Sub1_8460.anIntArray7483); + int i_1085_ = i_1070_; + if (i_1072_ > i_1085_) { + i_1085_ = i_1072_; + i_1079_ += (i_1072_ - i_1070_) * i_1074_; + i_1073_ += (i_1072_ - i_1070_) * this.anInt8471; + } + int i_1086_ = (Math.min(i_1072_ + is.length, i_1070_ + i_1076_)); + for (int i_1087_ = i_1085_; i_1087_ < i_1086_; i_1087_++) { + int i_1088_ = is[i_1087_ - i_1072_] + i_1071_; + int i_1089_ = is_1083_[i_1087_ - i_1072_]; + int i_1090_ = i_1075_; + if (i > i_1088_) { + int i_1091_ = i - i_1088_; + if (i_1091_ >= i_1089_) { + i_1073_ += i_1075_ + i_1078_; + i_1079_ += i_1075_ + i_1077_; + continue; + } + i_1089_ -= i_1091_; + } else { + int i_1092_ = i_1088_ - i; + if (i_1092_ >= i_1075_) { + i_1073_ += i_1075_ + i_1078_; + i_1079_ += i_1075_ + i_1077_; + continue; + } + i_1073_ += i_1092_; + i_1090_ -= i_1092_; + i_1079_ += i_1092_; + } + int i_1093_ = 0; + if (i_1090_ < i_1089_) i_1089_ = i_1090_; + else i_1093_ = i_1090_ - i_1089_; + for (int i_1094_ = -i_1089_; i_1094_ < 0; i_1094_++) { + int i_1095_ = aByteArray9934[i_1073_++]; + if (i_1095_ != 0) is_1084_[i_1079_++] = anIntArray9935[i_1095_ & 0xff]; + else i_1079_++; + } + i_1073_ += i_1093_ + i_1078_; + i_1079_ += i_1093_ + i_1077_; + } + } + } + + final void method964(int i, int i_1096_, int i_1097_, int i_1098_, int i_1099_) { + if (this.aHa_Sub1_8460.method3716()) throw new IllegalStateException(); + int i_1100_ = this.aHa_Sub1_8460.anInt7477; + i += this.anInt8461; + i_1096_ += this.anInt8464; + int i_1101_ = i_1096_ * i_1100_ + i; + int i_1102_ = 0; + int i_1103_ = this.anInt8470; + int i_1104_ = this.anInt8471; + int i_1105_ = i_1100_ - i_1104_; + int i_1106_ = 0; + if (i_1096_ < this.aHa_Sub1_8460.anInt7476) { + int i_1107_ = (this.aHa_Sub1_8460.anInt7476 - i_1096_); + i_1103_ -= i_1107_; + i_1096_ = this.aHa_Sub1_8460.anInt7476; + i_1102_ += i_1107_ * i_1104_; + i_1101_ += i_1107_ * i_1100_; + } + if (i_1096_ + i_1103_ > this.aHa_Sub1_8460.anInt7503) i_1103_ -= i_1096_ + i_1103_ - this.aHa_Sub1_8460.anInt7503; + if (i < this.aHa_Sub1_8460.anInt7496) { + int i_1108_ = (this.aHa_Sub1_8460.anInt7496 - i); + i_1104_ -= i_1108_; + i = this.aHa_Sub1_8460.anInt7496; + i_1102_ += i_1108_; + i_1101_ += i_1108_; + i_1106_ += i_1108_; + i_1105_ += i_1108_; + } + if (i + i_1104_ > this.aHa_Sub1_8460.anInt7507) { + int i_1109_ = (i + i_1104_ - (this.aHa_Sub1_8460.anInt7507)); + i_1104_ -= i_1109_; + i_1106_ += i_1109_; + i_1105_ += i_1109_; + } + if (i_1104_ > 0 && i_1103_ > 0) { + int[] is = (this.aHa_Sub1_8460.anIntArray7483); + if (i_1099_ == 0) { + if (i_1097_ == 1) { + for (int i_1110_ = -i_1103_; i_1110_ < 0; i_1110_++) { + int i_1111_ = i_1101_ + i_1104_ - 3; + while (i_1101_ < i_1111_) { + is[i_1101_++] = (anIntArray9935[aByteArray9934[i_1102_++] & 0xff]); + is[i_1101_++] = (anIntArray9935[aByteArray9934[i_1102_++] & 0xff]); + is[i_1101_++] = (anIntArray9935[aByteArray9934[i_1102_++] & 0xff]); + is[i_1101_++] = (anIntArray9935[aByteArray9934[i_1102_++] & 0xff]); + } + i_1111_ += 3; + while (i_1101_ < i_1111_) is[i_1101_++] = (anIntArray9935[aByteArray9934[i_1102_++] & 0xff]); + i_1101_ += i_1105_; + i_1102_ += i_1106_; + } + return; + } + if (i_1097_ == 0) { + int i_1112_ = (i_1098_ & 0xff0000) >> 16; + int i_1113_ = (i_1098_ & 0xff00) >> 8; + int i_1114_ = i_1098_ & 0xff; + for (int i_1115_ = -i_1103_; i_1115_ < 0; i_1115_++) { + for (int i_1116_ = -i_1104_; i_1116_ < 0; i_1116_++) { + int i_1117_ = (anIntArray9935[aByteArray9934[i_1102_++] & 0xff]); + int i_1118_ = (i_1117_ & 0xff0000) * i_1112_ & ~0xffffff; + int i_1119_ = (i_1117_ & 0xff00) * i_1113_ & 0xff0000; + int i_1120_ = (i_1117_ & 0xff) * i_1114_ & 0xff00; + is[i_1101_++] = (i_1118_ | i_1119_ | i_1120_) >>> 8; + } + i_1101_ += i_1105_; + i_1102_ += i_1106_; + } + return; + } + if (i_1097_ == 3) { + for (int i_1121_ = -i_1103_; i_1121_ < 0; i_1121_++) { + for (int i_1122_ = -i_1104_; i_1122_ < 0; i_1122_++) { + int i_1123_ = (anIntArray9935[aByteArray9934[i_1102_++] & 0xff]); + int i_1124_ = i_1123_ + i_1098_; + int i_1125_ = (i_1123_ & 0xff00ff) + (i_1098_ & 0xff00ff); + int i_1126_ = ((i_1125_ & 0x1000100) + (i_1124_ - i_1125_ & 0x10000)); + is[i_1101_++] = i_1124_ - i_1126_ | i_1126_ - (i_1126_ >>> 8); + } + i_1101_ += i_1105_; + i_1102_ += i_1106_; + } + return; + } + if (i_1097_ == 2) { + int i_1127_ = i_1098_ >>> 24; + int i_1128_ = 256 - i_1127_; + int i_1129_ = (i_1098_ & 0xff00ff) * i_1128_ & ~0xff00ff; + int i_1130_ = (i_1098_ & 0xff00) * i_1128_ & 0xff0000; + i_1098_ = (i_1129_ | i_1130_) >>> 8; + for (int i_1131_ = -i_1103_; i_1131_ < 0; i_1131_++) { + for (int i_1132_ = -i_1104_; i_1132_ < 0; i_1132_++) { + int i_1133_ = (anIntArray9935[aByteArray9934[i_1102_++] & 0xff]); + i_1129_ = (i_1133_ & 0xff00ff) * i_1127_ & ~0xff00ff; + i_1130_ = (i_1133_ & 0xff00) * i_1127_ & 0xff0000; + is[i_1101_++] = ((i_1129_ | i_1130_) >>> 8) + i_1098_; + } + i_1101_ += i_1105_; + i_1102_ += i_1106_; + } + return; + } + throw new IllegalArgumentException(); + } + if (i_1099_ == 1) { + if (i_1097_ == 1) { + for (int i_1134_ = -i_1103_; i_1134_ < 0; i_1134_++) { + for (int i_1135_ = -i_1104_; i_1135_ < 0; i_1135_++) { + int i_1136_ = aByteArray9934[i_1102_++]; + if (i_1136_ != 0) { + int i_1137_ = (anIntArray9935[i_1136_ & 0xff] | ~0xffffff); + int i_1138_ = 255; + int i_1139_ = 0; + int i_1140_ = is[i_1101_]; + is[i_1101_++] = (((((i_1137_ & 0xff00ff) * i_1138_ + (i_1140_ & 0xff00ff) * i_1139_) & ~0xff00ff) >> 8) + (((((i_1137_ & ~0xff00ff) >>> 8) * i_1138_) + (((i_1140_ & ~0xff00ff) >>> 8) * i_1139_)) & ~0xff00ff)); + } else i_1101_++; + } + i_1101_ += i_1105_; + i_1102_ += i_1106_; + } + return; + } + if (i_1097_ == 0) { + if ((i_1098_ & 0xffffff) == 16777215) { + int i_1141_ = i_1098_ >>> 24; + int i_1142_ = 256 - i_1141_; + for (int i_1143_ = -i_1103_; i_1143_ < 0; i_1143_++) { + for (int i_1144_ = -i_1104_; i_1144_ < 0; i_1144_++) { + int i_1145_ = aByteArray9934[i_1102_++]; + if (i_1145_ != 0) { + int i_1146_ = anIntArray9935[i_1145_ & 0xff]; + int i_1147_ = is[i_1101_]; + is[i_1101_++] = ((((i_1146_ & 0xff00ff) * i_1141_ + (i_1147_ & 0xff00ff) * i_1142_) & ~0xff00ff) + (((i_1146_ & 0xff00) * i_1141_ + (i_1147_ & 0xff00) * i_1142_) & 0xff0000)) >> 8; + } else i_1101_++; + } + i_1101_ += i_1105_; + i_1102_ += i_1106_; + } + } else { + int i_1148_ = (i_1098_ & 0xff0000) >> 16; + int i_1149_ = (i_1098_ & 0xff00) >> 8; + int i_1150_ = i_1098_ & 0xff; + int i_1151_ = i_1098_ >>> 24; + int i_1152_ = 256 - i_1151_; + for (int i_1153_ = -i_1103_; i_1153_ < 0; i_1153_++) { + for (int i_1154_ = -i_1104_; i_1154_ < 0; i_1154_++) { + int i_1155_ = aByteArray9934[i_1102_++]; + if (i_1155_ != 0) { + int i_1156_ = anIntArray9935[i_1155_ & 0xff]; + if (i_1151_ == 255) { + int i_1161_ = ((i_1156_ & 0xff0000) * i_1148_ & ~0xffffff); + int i_1162_ = ((i_1156_ & 0xff00) * i_1149_ & 0xff0000); + int i_1163_ = ((i_1156_ & 0xff) * i_1150_ & 0xff00); + is[i_1101_++] = (i_1161_ | i_1162_ | i_1163_) >>> 8; + } else { + int i_1157_ = ((i_1156_ & 0xff0000) * i_1148_ & ~0xffffff); + int i_1158_ = ((i_1156_ & 0xff00) * i_1149_ & 0xff0000); + int i_1159_ = ((i_1156_ & 0xff) * i_1150_ & 0xff00); + i_1156_ = (i_1157_ | i_1158_ | i_1159_) >>> 8; + int i_1160_ = is[i_1101_]; + is[i_1101_++] = ((((i_1156_ & 0xff00ff) * i_1151_ + ((i_1160_ & 0xff00ff) * i_1152_)) & ~0xff00ff) + (((i_1156_ & 0xff00) * i_1151_ + ((i_1160_ & 0xff00) * i_1152_)) & 0xff0000)) >> 8; + } + } else i_1101_++; + } + i_1101_ += i_1105_; + i_1102_ += i_1106_; + } + return; + } + return; + } + if (i_1097_ == 3) { + int i_1164_ = i_1098_ >>> 24; + int i_1165_ = 256 - i_1164_; + for (int i_1166_ = -i_1103_; i_1166_ < 0; i_1166_++) { + for (int i_1167_ = -i_1104_; i_1167_ < 0; i_1167_++) { + byte i_1168_ = aByteArray9934[i_1102_++]; + int i_1169_ = i_1168_ > 0 ? anIntArray9935[i_1168_] : 0; + int i_1170_ = i_1169_ + i_1098_; + int i_1171_ = (i_1169_ & 0xff00ff) + (i_1098_ & 0xff00ff); + int i_1172_ = ((i_1171_ & 0x1000100) + (i_1170_ - i_1171_ & 0x10000)); + i_1172_ = i_1170_ - i_1172_ | i_1172_ - (i_1172_ >>> 8); + if (i_1169_ == 0 && i_1164_ != 255) { + i_1169_ = i_1172_; + i_1172_ = is[i_1101_]; + i_1172_ = ((((i_1169_ & 0xff00ff) * i_1164_ + (i_1172_ & 0xff00ff) * i_1165_) & ~0xff00ff) + (((i_1169_ & 0xff00) * i_1164_ + (i_1172_ & 0xff00) * i_1165_) & 0xff0000)) >> 8; + } + is[i_1101_++] = i_1172_; + } + i_1101_ += i_1105_; + i_1102_ += i_1106_; + } + return; + } + if (i_1097_ == 2) { + int i_1173_ = i_1098_ >>> 24; + int i_1174_ = 256 - i_1173_; + int i_1175_ = (i_1098_ & 0xff00ff) * i_1174_ & ~0xff00ff; + int i_1176_ = (i_1098_ & 0xff00) * i_1174_ & 0xff0000; + i_1098_ = (i_1175_ | i_1176_) >>> 8; + for (int i_1177_ = -i_1103_; i_1177_ < 0; i_1177_++) { + for (int i_1178_ = -i_1104_; i_1178_ < 0; i_1178_++) { + int i_1179_ = aByteArray9934[i_1102_++]; + if (i_1179_ != 0) { + int i_1180_ = anIntArray9935[i_1179_ & 0xff]; + i_1175_ = ((i_1180_ & 0xff00ff) * i_1173_ & ~0xff00ff); + i_1176_ = (i_1180_ & 0xff00) * i_1173_ & 0xff0000; + is[i_1101_++] = ((i_1175_ | i_1176_) >>> 8) + i_1098_; + } else i_1101_++; + } + i_1101_ += i_1105_; + i_1102_ += i_1106_; + } + return; + } + throw new IllegalArgumentException(); + } + if (i_1099_ == 2) { + if (i_1097_ == 1) { + for (int i_1181_ = -i_1103_; i_1181_ < 0; i_1181_++) { + for (int i_1182_ = -i_1104_; i_1182_ < 0; i_1182_++) { + int i_1183_ = aByteArray9934[i_1102_++]; + if (i_1183_ != 0) { + int i_1184_ = anIntArray9935[i_1183_ & 0xff]; + int i_1185_ = is[i_1101_]; + int i_1186_ = i_1184_ + i_1185_; + int i_1187_ = ((i_1184_ & 0xff00ff) + (i_1185_ & 0xff00ff)); + i_1185_ = ((i_1187_ & 0x1000100) + (i_1186_ - i_1187_ & 0x10000)); + is[i_1101_++] = i_1186_ - i_1185_ | i_1185_ - (i_1185_ >>> 8); + } else i_1101_++; + } + i_1101_ += i_1105_; + i_1102_ += i_1106_; + } + return; + } + if (i_1097_ == 0) { + int i_1188_ = (i_1098_ & 0xff0000) >> 16; + int i_1189_ = (i_1098_ & 0xff00) >> 8; + int i_1190_ = i_1098_ & 0xff; + for (int i_1191_ = -i_1103_; i_1191_ < 0; i_1191_++) { + for (int i_1192_ = -i_1104_; i_1192_ < 0; i_1192_++) { + int i_1193_ = aByteArray9934[i_1102_++]; + if (i_1193_ != 0) { + int i_1194_ = anIntArray9935[i_1193_ & 0xff]; + int i_1195_ = ((i_1194_ & 0xff0000) * i_1188_ & ~0xffffff); + int i_1196_ = (i_1194_ & 0xff00) * i_1189_ & 0xff0000; + int i_1197_ = (i_1194_ & 0xff) * i_1190_ & 0xff00; + i_1194_ = (i_1195_ | i_1196_ | i_1197_) >>> 8; + int i_1198_ = is[i_1101_]; + int i_1199_ = i_1194_ + i_1198_; + int i_1200_ = ((i_1194_ & 0xff00ff) + (i_1198_ & 0xff00ff)); + i_1198_ = ((i_1200_ & 0x1000100) + (i_1199_ - i_1200_ & 0x10000)); + is[i_1101_++] = i_1199_ - i_1198_ | i_1198_ - (i_1198_ >>> 8); + } else i_1101_++; + } + i_1101_ += i_1105_; + i_1102_ += i_1106_; + } + return; + } + if (i_1097_ == 3) { + for (int i_1201_ = -i_1103_; i_1201_ < 0; i_1201_++) { + for (int i_1202_ = -i_1104_; i_1202_ < 0; i_1202_++) { + byte i_1203_ = aByteArray9934[i_1102_++]; + int i_1204_ = i_1203_ > 0 ? anIntArray9935[i_1203_] : 0; + int i_1205_ = i_1204_ + i_1098_; + int i_1206_ = (i_1204_ & 0xff00ff) + (i_1098_ & 0xff00ff); + int i_1207_ = ((i_1206_ & 0x1000100) + (i_1205_ - i_1206_ & 0x10000)); + i_1204_ = i_1205_ - i_1207_ | i_1207_ - (i_1207_ >>> 8); + i_1207_ = is[i_1101_]; + i_1205_ = i_1204_ + i_1207_; + i_1206_ = (i_1204_ & 0xff00ff) + (i_1207_ & 0xff00ff); + i_1207_ = (i_1206_ & 0x1000100) + (i_1205_ - i_1206_ & 0x10000); + is[i_1101_++] = i_1205_ - i_1207_ | i_1207_ - (i_1207_ >>> 8); + } + i_1101_ += i_1105_; + i_1102_ += i_1106_; + } + return; + } + if (i_1097_ == 2) { + int i_1208_ = i_1098_ >>> 24; + int i_1209_ = 256 - i_1208_; + int i_1210_ = (i_1098_ & 0xff00ff) * i_1209_ & ~0xff00ff; + int i_1211_ = (i_1098_ & 0xff00) * i_1209_ & 0xff0000; + i_1098_ = (i_1210_ | i_1211_) >>> 8; + for (int i_1212_ = -i_1103_; i_1212_ < 0; i_1212_++) { + for (int i_1213_ = -i_1104_; i_1213_ < 0; i_1213_++) { + int i_1214_ = aByteArray9934[i_1102_++]; + if (i_1214_ != 0) { + int i_1215_ = anIntArray9935[i_1214_ & 0xff]; + i_1210_ = ((i_1215_ & 0xff00ff) * i_1208_ & ~0xff00ff); + i_1211_ = (i_1215_ & 0xff00) * i_1208_ & 0xff0000; + i_1215_ = ((i_1210_ | i_1211_) >>> 8) + i_1098_; + int i_1216_ = is[i_1101_]; + int i_1217_ = i_1215_ + i_1216_; + int i_1218_ = ((i_1215_ & 0xff00ff) + (i_1216_ & 0xff00ff)); + i_1216_ = ((i_1218_ & 0x1000100) + (i_1217_ - i_1218_ & 0x10000)); + is[i_1101_++] = i_1217_ - i_1216_ | i_1216_ - (i_1216_ >>> 8); + } else i_1101_++; + } + i_1101_ += i_1105_; + i_1102_ += i_1106_; + } + return; + } + throw new IllegalArgumentException(); + } + throw new IllegalArgumentException(); + } + } +} diff --git a/client/sprites/SpriteSub3Sub3.java b/client/sprites/SpriteSub3Sub3.java new file mode 100644 index 000000000..8ebd63938 --- /dev/null +++ b/client/sprites/SpriteSub3Sub3.java @@ -0,0 +1,2983 @@ +/* SpriteSub3Sub3 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class SpriteSub3Sub3 +/** + * RENAMED from `Class105_Sub3_Sub3` (JODE-obfuscated). + * Evidence: subclass of SpriteSub3 (hierarchy) + */ extends SpriteSub3 { + int[] anIntArray9936; + + SpriteSub3Sub3(GlToolkitSub1 var_ha_Sub1, int[] is, int i, int i_0_) { + super(var_ha_Sub1, i, i_0_); + this.anIntArray9936 = is; + } + + SpriteSub3Sub3(GlToolkitSub1 var_ha_Sub1, int[] is, int i, int i_1_, int i_2_, int i_3_, boolean bool) { + super(var_ha_Sub1, i_2_, i_3_); + if (bool) this.anIntArray9936 = new int[i_2_ * i_3_]; + else this.anIntArray9936 = is; + i_1_ -= this.anInt8471; + int i_4_ = 0; + for (int i_5_ = 0; i_5_ < i_3_; i_5_++) { + for (int i_6_ = 0; i_6_ < i_2_; i_6_++) + this.anIntArray9936[i_4_++] = is[i++]; + i += i_1_; + } + } + + final void method995(int[] is, int[] is_7_, int i, int i_8_) { + int[] is_9_ = this.aHa_Sub1_8460.anIntArray7483; + if (SpriteSub3.anInt8481 == 0) { + if (SpriteSub3.anInt8450 == 0) { + int i_10_ = SpriteSub3.anInt8468; + while (i_10_ < 0) { + int i_11_ = i_10_ + i_8_; + if (i_11_ >= 0) { + if (i_11_ >= is.length) break; + int i_12_ = SpriteSub3.anInt8451; + int i_13_ = SpriteSub3.anInt8458; + int i_14_ = SpriteSub3.anInt8467; + int i_15_ = SpriteSub3.anInt8478; + if (i_13_ >= 0 && i_14_ >= 0 && i_13_ - (this.anInt8471 << 12) < 0 && i_14_ - (this.anInt8470 << 12) < 0) { + int i_16_ = is[i_11_] - i; + int i_17_ = -is_7_[i_11_]; + int i_18_ = i_16_ - (i_12_ - SpriteSub3.anInt8451); + if (i_18_ > 0) { + i_12_ += i_18_; + i_15_ += i_18_; + i_13_ += SpriteSub3.anInt8481 * i_18_; + i_14_ += SpriteSub3.anInt8450 * i_18_; + } else i_17_ -= i_18_; + if (i_15_ < i_17_) i_15_ = i_17_; + for (/**/; i_15_ < 0; i_15_++) { + int i_19_ = (this.anIntArray9936[(((i_14_ >> 12) * this.anInt8471) + (i_13_ >> 12))]); + int i_20_ = i_19_ >>> 24; + int i_21_ = 256 - i_20_; + int i_22_ = is_9_[i_12_]; + is_9_[i_12_++] = ((((i_19_ & 0xff00ff) * i_20_ + (i_22_ & 0xff00ff) * i_21_) & ~0xff00ff) + (((i_19_ & 0xff00) * i_20_ + (i_22_ & 0xff00) * i_21_) & 0xff0000)) >> 8; + } + } + } + i_10_++; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else if (SpriteSub3.anInt8450 < 0) { + int i_23_ = SpriteSub3.anInt8468; + while (i_23_ < 0) { + int i_24_ = i_23_ + i_8_; + if (i_24_ >= 0) { + if (i_24_ >= is.length) break; + int i_25_ = SpriteSub3.anInt8451; + int i_26_ = SpriteSub3.anInt8458; + int i_27_ = (SpriteSub3.anInt8467 + SpriteSub3.anInt8475); + int i_28_ = SpriteSub3.anInt8478; + if (i_26_ >= 0 && i_26_ - (this.anInt8471 << 12) < 0) { + int i_29_; + if ((i_29_ = i_27_ - (this.anInt8470 << 12)) >= 0) { + i_29_ = ((SpriteSub3.anInt8450 - i_29_) / SpriteSub3.anInt8450); + i_28_ += i_29_; + i_27_ += SpriteSub3.anInt8450 * i_29_; + i_25_ += i_29_; + } + if ((i_29_ = ((i_27_ - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_28_) i_28_ = i_29_; + int i_30_ = is[i_24_] - i; + int i_31_ = -is_7_[i_24_]; + int i_32_ = i_30_ - (i_25_ - SpriteSub3.anInt8451); + if (i_32_ > 0) { + i_25_ += i_32_; + i_28_ += i_32_; + i_26_ += SpriteSub3.anInt8481 * i_32_; + i_27_ += SpriteSub3.anInt8450 * i_32_; + } else i_31_ -= i_32_; + if (i_28_ < i_31_) i_28_ = i_31_; + for (/**/; i_28_ < 0; i_28_++) { + int i_33_ = (this.anIntArray9936[(((i_27_ >> 12) * this.anInt8471) + (i_26_ >> 12))]); + int i_34_ = i_33_ >>> 24; + int i_35_ = 256 - i_34_; + int i_36_ = is_9_[i_25_]; + is_9_[i_25_++] = ((((i_33_ & 0xff00ff) * i_34_ + (i_36_ & 0xff00ff) * i_35_) & ~0xff00ff) + (((i_33_ & 0xff00) * i_34_ + (i_36_ & 0xff00) * i_35_) & 0xff0000)) >> 8; + i_27_ += SpriteSub3.anInt8450; + } + } + } + i_23_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else { + int i_37_ = SpriteSub3.anInt8468; + while (i_37_ < 0) { + int i_38_ = i_37_ + i_8_; + if (i_38_ >= 0) { + if (i_38_ >= is.length) break; + int i_39_ = SpriteSub3.anInt8451; + int i_40_ = SpriteSub3.anInt8458; + int i_41_ = (SpriteSub3.anInt8467 + SpriteSub3.anInt8475); + int i_42_ = SpriteSub3.anInt8478; + if (i_40_ >= 0 && i_40_ - (this.anInt8471 << 12) < 0) { + if (i_41_ < 0) { + int i_43_ = ((SpriteSub3.anInt8450 - 1 - i_41_) / SpriteSub3.anInt8450); + i_42_ += i_43_; + i_41_ += SpriteSub3.anInt8450 * i_43_; + i_39_ += i_43_; + } + int i_44_; + if ((i_44_ = ((1 + i_41_ - (this.anInt8470 << 12) - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_42_) i_42_ = i_44_; + int i_45_ = is[i_38_] - i; + int i_46_ = -is_7_[i_38_]; + int i_47_ = i_45_ - (i_39_ - SpriteSub3.anInt8451); + if (i_47_ > 0) { + i_39_ += i_47_; + i_42_ += i_47_; + i_40_ += SpriteSub3.anInt8481 * i_47_; + i_41_ += SpriteSub3.anInt8450 * i_47_; + } else i_46_ -= i_47_; + if (i_42_ < i_46_) i_42_ = i_46_; + for (/**/; i_42_ < 0; i_42_++) { + int i_48_ = (this.anIntArray9936[(((i_41_ >> 12) * this.anInt8471) + (i_40_ >> 12))]); + int i_49_ = i_48_ >>> 24; + int i_50_ = 256 - i_49_; + int i_51_ = is_9_[i_39_]; + is_9_[i_39_++] = ((((i_48_ & 0xff00ff) * i_49_ + (i_51_ & 0xff00ff) * i_50_) & ~0xff00ff) + (((i_48_ & 0xff00) * i_49_ + (i_51_ & 0xff00) * i_50_) & 0xff0000)) >> 8; + i_41_ += SpriteSub3.anInt8450; + } + } + } + i_37_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } + } else if (SpriteSub3.anInt8481 < 0) { + if (SpriteSub3.anInt8450 == 0) { + int i_52_ = SpriteSub3.anInt8468; + while (i_52_ < 0) { + int i_53_ = i_52_ + i_8_; + if (i_53_ >= 0) { + if (i_53_ >= is.length) break; + int i_54_ = SpriteSub3.anInt8451; + int i_55_ = (SpriteSub3.anInt8458 + SpriteSub3.anInt8479); + int i_56_ = SpriteSub3.anInt8467; + int i_57_ = SpriteSub3.anInt8478; + if (i_56_ >= 0 && i_56_ - (this.anInt8470 << 12) < 0) { + int i_58_; + if ((i_58_ = i_55_ - (this.anInt8471 << 12)) >= 0) { + i_58_ = ((SpriteSub3.anInt8481 - i_58_) / SpriteSub3.anInt8481); + i_57_ += i_58_; + i_55_ += SpriteSub3.anInt8481 * i_58_; + i_54_ += i_58_; + } + if ((i_58_ = ((i_55_ - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_57_) i_57_ = i_58_; + int i_59_ = is[i_53_] - i; + int i_60_ = -is_7_[i_53_]; + int i_61_ = i_59_ - (i_54_ - SpriteSub3.anInt8451); + if (i_61_ > 0) { + i_54_ += i_61_; + i_57_ += i_61_; + i_55_ += SpriteSub3.anInt8481 * i_61_; + i_56_ += SpriteSub3.anInt8450 * i_61_; + } else i_60_ -= i_61_; + if (i_57_ < i_60_) i_57_ = i_60_; + for (/**/; i_57_ < 0; i_57_++) { + int i_62_ = (this.anIntArray9936[(((i_56_ >> 12) * this.anInt8471) + (i_55_ >> 12))]); + int i_63_ = i_62_ >>> 24; + int i_64_ = 256 - i_63_; + int i_65_ = is_9_[i_54_]; + is_9_[i_54_++] = ((((i_62_ & 0xff00ff) * i_63_ + (i_65_ & 0xff00ff) * i_64_) & ~0xff00ff) + (((i_62_ & 0xff00) * i_63_ + (i_65_ & 0xff00) * i_64_) & 0xff0000)) >> 8; + i_55_ += SpriteSub3.anInt8481; + } + } + } + i_52_++; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else if (SpriteSub3.anInt8450 < 0) { + int i_66_ = SpriteSub3.anInt8468; + while (i_66_ < 0) { + int i_67_ = i_66_ + i_8_; + if (i_67_ >= 0) { + if (i_67_ >= is.length) break; + int i_68_ = SpriteSub3.anInt8451; + int i_69_ = (SpriteSub3.anInt8458 + SpriteSub3.anInt8479); + int i_70_ = (SpriteSub3.anInt8467 + SpriteSub3.anInt8475); + int i_71_ = SpriteSub3.anInt8478; + int i_72_; + if ((i_72_ = i_69_ - (this.anInt8471 << 12)) >= 0) { + i_72_ = ((SpriteSub3.anInt8481 - i_72_) / SpriteSub3.anInt8481); + i_71_ += i_72_; + i_69_ += SpriteSub3.anInt8481 * i_72_; + i_70_ += SpriteSub3.anInt8450 * i_72_; + i_68_ += i_72_; + } + if ((i_72_ = ((i_69_ - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_71_) i_71_ = i_72_; + if ((i_72_ = i_70_ - (this.anInt8470 << 12)) >= 0) { + i_72_ = ((SpriteSub3.anInt8450 - i_72_) / SpriteSub3.anInt8450); + i_71_ += i_72_; + i_69_ += SpriteSub3.anInt8481 * i_72_; + i_70_ += SpriteSub3.anInt8450 * i_72_; + i_68_ += i_72_; + } + if ((i_72_ = ((i_70_ - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_71_) i_71_ = i_72_; + int i_73_ = is[i_67_] - i; + int i_74_ = -is_7_[i_67_]; + int i_75_ = i_73_ - (i_68_ - SpriteSub3.anInt8451); + if (i_75_ > 0) { + i_68_ += i_75_; + i_71_ += i_75_; + i_69_ += SpriteSub3.anInt8481 * i_75_; + i_70_ += SpriteSub3.anInt8450 * i_75_; + } else i_74_ -= i_75_; + if (i_71_ < i_74_) i_71_ = i_74_; + for (/**/; i_71_ < 0; i_71_++) { + int i_76_ = (this.anIntArray9936[(((i_70_ >> 12) * this.anInt8471) + (i_69_ >> 12))]); + int i_77_ = i_76_ >>> 24; + int i_78_ = 256 - i_77_; + int i_79_ = is_9_[i_68_]; + is_9_[i_68_++] = ((((i_76_ & 0xff00ff) * i_77_ + (i_79_ & 0xff00ff) * i_78_) & ~0xff00ff) + (((i_76_ & 0xff00) * i_77_ + (i_79_ & 0xff00) * i_78_) & 0xff0000)) >> 8; + i_69_ += SpriteSub3.anInt8481; + i_70_ += SpriteSub3.anInt8450; + } + } + i_66_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else { + int i_80_ = SpriteSub3.anInt8468; + while (i_80_ < 0) { + int i_81_ = i_80_ + i_8_; + if (i_81_ >= 0) { + if (i_81_ >= is.length) break; + int i_82_ = SpriteSub3.anInt8451; + int i_83_ = (SpriteSub3.anInt8458 + SpriteSub3.anInt8479); + int i_84_ = (SpriteSub3.anInt8467 + SpriteSub3.anInt8475); + int i_85_ = SpriteSub3.anInt8478; + int i_86_; + if ((i_86_ = i_83_ - (this.anInt8471 << 12)) >= 0) { + i_86_ = ((SpriteSub3.anInt8481 - i_86_) / SpriteSub3.anInt8481); + i_85_ += i_86_; + i_83_ += SpriteSub3.anInt8481 * i_86_; + i_84_ += SpriteSub3.anInt8450 * i_86_; + i_82_ += i_86_; + } + if ((i_86_ = ((i_83_ - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_85_) i_85_ = i_86_; + if (i_84_ < 0) { + i_86_ = ((SpriteSub3.anInt8450 - 1 - i_84_) / SpriteSub3.anInt8450); + i_85_ += i_86_; + i_83_ += SpriteSub3.anInt8481 * i_86_; + i_84_ += SpriteSub3.anInt8450 * i_86_; + i_82_ += i_86_; + } + if ((i_86_ = ((1 + i_84_ - (this.anInt8470 << 12) - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_85_) i_85_ = i_86_; + int i_87_ = is[i_81_] - i; + int i_88_ = -is_7_[i_81_]; + int i_89_ = i_87_ - (i_82_ - SpriteSub3.anInt8451); + if (i_89_ > 0) { + i_82_ += i_89_; + i_85_ += i_89_; + i_83_ += SpriteSub3.anInt8481 * i_89_; + i_84_ += SpriteSub3.anInt8450 * i_89_; + } else i_88_ -= i_89_; + if (i_85_ < i_88_) i_85_ = i_88_; + for (/**/; i_85_ < 0; i_85_++) { + int i_90_ = (this.anIntArray9936[(((i_84_ >> 12) * this.anInt8471) + (i_83_ >> 12))]); + int i_91_ = i_90_ >>> 24; + int i_92_ = 256 - i_91_; + int i_93_ = is_9_[i_82_]; + is_9_[i_82_++] = ((((i_90_ & 0xff00ff) * i_91_ + (i_93_ & 0xff00ff) * i_92_) & ~0xff00ff) + (((i_90_ & 0xff00) * i_91_ + (i_93_ & 0xff00) * i_92_) & 0xff0000)) >> 8; + i_83_ += SpriteSub3.anInt8481; + i_84_ += SpriteSub3.anInt8450; + } + } + i_80_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } + } else if (SpriteSub3.anInt8450 == 0) { + int i_94_ = SpriteSub3.anInt8468; + while (i_94_ < 0) { + int i_95_ = i_94_ + i_8_; + if (i_95_ >= 0) { + if (i_95_ >= is.length) break; + int i_96_ = SpriteSub3.anInt8451; + int i_97_ = SpriteSub3.anInt8458 + SpriteSub3.anInt8479; + int i_98_ = SpriteSub3.anInt8467; + int i_99_ = SpriteSub3.anInt8478; + if (i_98_ >= 0 && i_98_ - (this.anInt8470 << 12) < 0) { + if (i_97_ < 0) { + int i_100_ = ((SpriteSub3.anInt8481 - 1 - i_97_) / SpriteSub3.anInt8481); + i_99_ += i_100_; + i_97_ += SpriteSub3.anInt8481 * i_100_; + i_96_ += i_100_; + } + int i_101_; + if ((i_101_ = ((1 + i_97_ - (this.anInt8471 << 12) - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_99_) i_99_ = i_101_; + int i_102_ = is[i_95_] - i; + int i_103_ = -is_7_[i_95_]; + int i_104_ = i_102_ - (i_96_ - SpriteSub3.anInt8451); + if (i_104_ > 0) { + i_96_ += i_104_; + i_99_ += i_104_; + i_97_ += SpriteSub3.anInt8481 * i_104_; + i_98_ += SpriteSub3.anInt8450 * i_104_; + } else i_103_ -= i_104_; + if (i_99_ < i_103_) i_99_ = i_103_; + for (/**/; i_99_ < 0; i_99_++) { + int i_105_ = (this.anIntArray9936[(((i_98_ >> 12) * this.anInt8471) + (i_97_ >> 12))]); + int i_106_ = i_105_ >>> 24; + int i_107_ = 256 - i_106_; + int i_108_ = is_9_[i_96_]; + is_9_[i_96_++] = ((((i_105_ & 0xff00ff) * i_106_ + (i_108_ & 0xff00ff) * i_107_) & ~0xff00ff) + (((i_105_ & 0xff00) * i_106_ + (i_108_ & 0xff00) * i_107_) & 0xff0000)) >> 8; + i_97_ += SpriteSub3.anInt8481; + } + } + } + i_94_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else if (SpriteSub3.anInt8450 < 0) { + int i_109_ = SpriteSub3.anInt8468; + while (i_109_ < 0) { + int i_110_ = i_109_ + i_8_; + if (i_110_ >= 0) { + if (i_110_ >= is.length) break; + int i_111_ = SpriteSub3.anInt8451; + int i_112_ = SpriteSub3.anInt8458 + SpriteSub3.anInt8479; + int i_113_ = SpriteSub3.anInt8467 + SpriteSub3.anInt8475; + int i_114_ = SpriteSub3.anInt8478; + if (i_112_ < 0) { + int i_115_ = ((SpriteSub3.anInt8481 - 1 - i_112_) / SpriteSub3.anInt8481); + i_114_ += i_115_; + i_112_ += SpriteSub3.anInt8481 * i_115_; + i_113_ += SpriteSub3.anInt8450 * i_115_; + i_111_ += i_115_; + } + int i_116_; + if ((i_116_ = ((1 + i_112_ - (this.anInt8471 << 12) - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_114_) i_114_ = i_116_; + if ((i_116_ = i_113_ - (this.anInt8470 << 12)) >= 0) { + i_116_ = ((SpriteSub3.anInt8450 - i_116_) / SpriteSub3.anInt8450); + i_114_ += i_116_; + i_112_ += SpriteSub3.anInt8481 * i_116_; + i_113_ += SpriteSub3.anInt8450 * i_116_; + i_111_ += i_116_; + } + if ((i_116_ = ((i_113_ - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_114_) i_114_ = i_116_; + int i_117_ = is[i_110_] - i; + int i_118_ = -is_7_[i_110_]; + int i_119_ = i_117_ - (i_111_ - SpriteSub3.anInt8451); + if (i_119_ > 0) { + i_111_ += i_119_; + i_114_ += i_119_; + i_112_ += SpriteSub3.anInt8481 * i_119_; + i_113_ += SpriteSub3.anInt8450 * i_119_; + } else i_118_ -= i_119_; + if (i_114_ < i_118_) i_114_ = i_118_; + for (/**/; i_114_ < 0; i_114_++) { + int i_120_ = (this.anIntArray9936[(((i_113_ >> 12) * this.anInt8471) + (i_112_ >> 12))]); + int i_121_ = i_120_ >>> 24; + int i_122_ = 256 - i_121_; + int i_123_ = is_9_[i_111_]; + is_9_[i_111_++] = ((((i_120_ & 0xff00ff) * i_121_ + (i_123_ & 0xff00ff) * i_122_) & ~0xff00ff) + (((i_120_ & 0xff00) * i_121_ + (i_123_ & 0xff00) * i_122_) & 0xff0000)) >> 8; + i_112_ += SpriteSub3.anInt8481; + i_113_ += SpriteSub3.anInt8450; + } + } + i_109_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else { + int i_124_ = SpriteSub3.anInt8468; + while (i_124_ < 0) { + int i_125_ = i_124_ + i_8_; + if (i_125_ >= 0) { + if (i_125_ >= is.length) break; + int i_126_ = SpriteSub3.anInt8451; + int i_127_ = SpriteSub3.anInt8458 + SpriteSub3.anInt8479; + int i_128_ = SpriteSub3.anInt8467 + SpriteSub3.anInt8475; + int i_129_ = SpriteSub3.anInt8478; + if (i_127_ < 0) { + int i_130_ = ((SpriteSub3.anInt8481 - 1 - i_127_) / SpriteSub3.anInt8481); + i_129_ += i_130_; + i_127_ += SpriteSub3.anInt8481 * i_130_; + i_128_ += SpriteSub3.anInt8450 * i_130_; + i_126_ += i_130_; + } + int i_131_; + if ((i_131_ = ((1 + i_127_ - (this.anInt8471 << 12) - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_129_) i_129_ = i_131_; + if (i_128_ < 0) { + i_131_ = ((SpriteSub3.anInt8450 - 1 - i_128_) / SpriteSub3.anInt8450); + i_129_ += i_131_; + i_127_ += SpriteSub3.anInt8481 * i_131_; + i_128_ += SpriteSub3.anInt8450 * i_131_; + i_126_ += i_131_; + } + if ((i_131_ = ((1 + i_128_ - (this.anInt8470 << 12) - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_129_) i_129_ = i_131_; + int i_132_ = is[i_125_] - i; + int i_133_ = -is_7_[i_125_]; + int i_134_ = i_132_ - (i_126_ - SpriteSub3.anInt8451); + if (i_134_ > 0) { + i_126_ += i_134_; + i_129_ += i_134_; + i_127_ += SpriteSub3.anInt8481 * i_134_; + i_128_ += SpriteSub3.anInt8450 * i_134_; + } else i_133_ -= i_134_; + if (i_129_ < i_133_) i_129_ = i_133_; + for (/**/; i_129_ < 0; i_129_++) { + int i_135_ = (this.anIntArray9936[(((i_128_ >> 12) * this.anInt8471) + (i_127_ >> 12))]); + int i_136_ = i_135_ >>> 24; + int i_137_ = 256 - i_136_; + int i_138_ = is_9_[i_126_]; + is_9_[i_126_++] = ((((i_135_ & 0xff00ff) * i_136_ + (i_138_ & 0xff00ff) * i_137_) & ~0xff00ff) + (((i_135_ & 0xff00) * i_136_ + (i_138_ & 0xff00) * i_137_) & 0xff0000)) >> 8; + i_127_ += SpriteSub3.anInt8481; + i_128_ += SpriteSub3.anInt8450; + } + } + i_124_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } + } + + final void method979(int i, int i_139_, int i_140_, int i_141_, int i_142_, int i_143_) { + int[] is = this.aHa_Sub1_8460.anIntArray7483; + for (int i_144_ = 0; i_144_ < i_141_; i_144_++) { + int i_145_ = (i_139_ + i_144_) * i_140_ + i; + int i_146_ = (i_143_ + i_144_) * i_140_ + i_142_; + for (int i_147_ = 0; i_147_ < i_140_; i_147_++) + this.anIntArray9936[i_145_ + i_147_] = is[i_146_ + i_147_] & 0xffffff; + } + } + + final void method964(int i, int i_148_, int i_149_, int i_150_, int i_151_) { + if (this.aHa_Sub1_8460.method3716()) throw new IllegalStateException(); + int i_152_ = this.aHa_Sub1_8460.anInt7477; + i += this.anInt8461; + i_148_ += this.anInt8464; + int i_153_ = i_148_ * i_152_ + i; + int i_154_ = 0; + int i_155_ = this.anInt8470; + int i_156_ = this.anInt8471; + int i_157_ = i_152_ - i_156_; + int i_158_ = 0; + if (i_148_ < this.aHa_Sub1_8460.anInt7476) { + int i_159_ = (this.aHa_Sub1_8460.anInt7476 - i_148_); + i_155_ -= i_159_; + i_148_ = this.aHa_Sub1_8460.anInt7476; + i_154_ += i_159_ * i_156_; + i_153_ += i_159_ * i_152_; + } + if (i_148_ + i_155_ > this.aHa_Sub1_8460.anInt7503) i_155_ -= i_148_ + i_155_ - this.aHa_Sub1_8460.anInt7503; + if (i < this.aHa_Sub1_8460.anInt7496) { + int i_160_ = (this.aHa_Sub1_8460.anInt7496 - i); + i_156_ -= i_160_; + i = this.aHa_Sub1_8460.anInt7496; + i_154_ += i_160_; + i_153_ += i_160_; + i_158_ += i_160_; + i_157_ += i_160_; + } + if (i + i_156_ > this.aHa_Sub1_8460.anInt7507) { + int i_161_ = (i + i_156_ - (this.aHa_Sub1_8460.anInt7507)); + i_156_ -= i_161_; + i_158_ += i_161_; + i_157_ += i_161_; + } + if (i_156_ > 0 && i_155_ > 0) { + int[] is = (this.aHa_Sub1_8460.anIntArray7483); + if (i_151_ == 0) { + if (i_149_ == 1) { + for (int i_162_ = -i_155_; i_162_ < 0; i_162_++) { + int i_163_ = i_153_ + i_156_ - 3; + while (i_153_ < i_163_) { + is[i_153_++] = (this.anIntArray9936[i_154_++]); + is[i_153_++] = (this.anIntArray9936[i_154_++]); + is[i_153_++] = (this.anIntArray9936[i_154_++]); + is[i_153_++] = (this.anIntArray9936[i_154_++]); + } + i_163_ += 3; + while (i_153_ < i_163_) is[i_153_++] = (this.anIntArray9936[i_154_++]); + i_153_ += i_157_; + i_154_ += i_158_; + } + return; + } + if (i_149_ == 0) { + int i_164_ = (i_150_ & 0xff0000) >> 16; + int i_165_ = (i_150_ & 0xff00) >> 8; + int i_166_ = i_150_ & 0xff; + for (int i_167_ = -i_155_; i_167_ < 0; i_167_++) { + for (int i_168_ = -i_156_; i_168_ < 0; i_168_++) { + int i_169_ = (this.anIntArray9936[i_154_++]); + int i_170_ = (i_169_ & 0xff0000) * i_164_ & ~0xffffff; + int i_171_ = (i_169_ & 0xff00) * i_165_ & 0xff0000; + int i_172_ = (i_169_ & 0xff) * i_166_ & 0xff00; + is[i_153_++] = (i_170_ | i_171_ | i_172_) >>> 8; + } + i_153_ += i_157_; + i_154_ += i_158_; + } + return; + } + if (i_149_ == 3) { + for (int i_173_ = -i_155_; i_173_ < 0; i_173_++) { + for (int i_174_ = -i_156_; i_174_ < 0; i_174_++) { + int i_175_ = (this.anIntArray9936[i_154_++]); + int i_176_ = i_175_ + i_150_; + int i_177_ = (i_175_ & 0xff00ff) + (i_150_ & 0xff00ff); + int i_178_ = ((i_177_ & 0x1000100) + (i_176_ - i_177_ & 0x10000)); + is[i_153_++] = i_176_ - i_178_ | i_178_ - (i_178_ >>> 8); + } + i_153_ += i_157_; + i_154_ += i_158_; + } + return; + } + if (i_149_ == 2) { + int i_179_ = i_150_ >>> 24; + int i_180_ = 256 - i_179_; + int i_181_ = (i_150_ & 0xff00ff) * i_180_ & ~0xff00ff; + int i_182_ = (i_150_ & 0xff00) * i_180_ & 0xff0000; + i_150_ = (i_181_ | i_182_) >>> 8; + for (int i_183_ = -i_155_; i_183_ < 0; i_183_++) { + for (int i_184_ = -i_156_; i_184_ < 0; i_184_++) { + int i_185_ = (this.anIntArray9936[i_154_++]); + i_181_ = (i_185_ & 0xff00ff) * i_179_ & ~0xff00ff; + i_182_ = (i_185_ & 0xff00) * i_179_ & 0xff0000; + is[i_153_++] = ((i_181_ | i_182_) >>> 8) + i_150_; + } + i_153_ += i_157_; + i_154_ += i_158_; + } + return; + } + throw new IllegalArgumentException(); + } + if (i_151_ == 1) { + if (i_149_ == 1) { + for (int i_186_ = -i_155_; i_186_ < 0; i_186_++) { + for (int i_187_ = -i_156_; i_187_ < 0; i_187_++) { + int i_188_ = (this.anIntArray9936[i_154_++]); + int i_189_ = i_188_ >>> 24; + int i_190_ = 256 - i_189_; + int i_191_ = is[i_153_]; + is[i_153_++] = (((((i_188_ & 0xff00ff) * i_189_ + (i_191_ & 0xff00ff) * i_190_) & ~0xff00ff) >> 8) + ((((i_188_ & ~0xff00ff) >>> 8) * i_189_ + ((i_191_ & ~0xff00ff) >>> 8) * i_190_) & ~0xff00ff)); + } + i_153_ += i_157_; + i_154_ += i_158_; + } + return; + } + if (i_149_ == 0) { + if ((i_150_ & 0xffffff) == 16777215) { + for (int i_192_ = -i_155_; i_192_ < 0; i_192_++) { + for (int i_193_ = -i_156_; i_193_ < 0; i_193_++) { + int i_194_ = (this.anIntArray9936[i_154_++]); + int i_195_ = (i_194_ >>> 24) * (i_150_ >>> 24) >> 8; + int i_196_ = 256 - i_195_; + int i_197_ = is[i_153_]; + is[i_153_++] = ((((i_194_ & 0xff00ff) * i_195_ + (i_197_ & 0xff00ff) * i_196_) & ~0xff00ff) + (((i_194_ & 0xff00) * i_195_ + (i_197_ & 0xff00) * i_196_) & 0xff0000)) >> 8; + } + i_153_ += i_157_; + i_154_ += i_158_; + } + } else { + int i_198_ = (i_150_ & 0xff0000) >> 16; + int i_199_ = (i_150_ & 0xff00) >> 8; + int i_200_ = i_150_ & 0xff; + for (int i_201_ = -i_155_; i_201_ < 0; i_201_++) { + for (int i_202_ = -i_156_; i_202_ < 0; i_202_++) { + int i_203_ = (this.anIntArray9936[i_154_++]); + int i_204_ = (i_203_ >>> 24) * (i_150_ >>> 24) >> 8; + int i_205_ = 256 - i_204_; + if (i_204_ == 255) { + int i_210_ = ((i_203_ & 0xff0000) * i_198_ & ~0xffffff); + int i_211_ = ((i_203_ & 0xff00) * i_199_ & 0xff0000); + int i_212_ = (i_203_ & 0xff) * i_200_ & 0xff00; + is[i_153_++] = (i_210_ | i_211_ | i_212_) >>> 8; + } else { + int i_206_ = ((i_203_ & 0xff0000) * i_198_ & ~0xffffff); + int i_207_ = ((i_203_ & 0xff00) * i_199_ & 0xff0000); + int i_208_ = (i_203_ & 0xff) * i_200_ & 0xff00; + i_203_ = (i_206_ | i_207_ | i_208_) >>> 8; + int i_209_ = is[i_153_]; + is[i_153_++] = ((((i_203_ & 0xff00ff) * i_204_ + (i_209_ & 0xff00ff) * i_205_) & ~0xff00ff) + (((i_203_ & 0xff00) * i_204_ + (i_209_ & 0xff00) * i_205_) & 0xff0000)) >> 8; + } + } + i_153_ += i_157_; + i_154_ += i_158_; + } + return; + } + return; + } + if (i_149_ == 3) { + for (int i_213_ = -i_155_; i_213_ < 0; i_213_++) { + for (int i_214_ = -i_156_; i_214_ < 0; i_214_++) { + int i_215_ = (this.anIntArray9936[i_154_++]); + int i_216_ = i_215_ + i_150_; + int i_217_ = (i_215_ & 0xff00ff) + (i_150_ & 0xff00ff); + int i_218_ = ((i_217_ & 0x1000100) + (i_216_ - i_217_ & 0x10000)); + i_218_ = i_216_ - i_218_ | i_218_ - (i_218_ >>> 8); + int i_219_ = (i_218_ >>> 24) * (i_150_ >>> 24) >> 8; + int i_220_ = 256 - i_219_; + if (i_219_ != 255) { + i_215_ = i_218_; + i_218_ = is[i_153_]; + i_218_ = ((((i_215_ & 0xff00ff) * i_219_ + (i_218_ & 0xff00ff) * i_220_) & ~0xff00ff) + (((i_215_ & 0xff00) * i_219_ + (i_218_ & 0xff00) * i_220_) & 0xff0000)) >> 8; + } + is[i_153_++] = i_218_; + } + i_153_ += i_157_; + i_154_ += i_158_; + } + return; + } + if (i_149_ == 2) { + int i_221_ = i_150_ >>> 24; + int i_222_ = 256 - i_221_; + int i_223_ = (i_150_ & 0xff00ff) * i_222_ & ~0xff00ff; + int i_224_ = (i_150_ & 0xff00) * i_222_ & 0xff0000; + i_150_ = (i_223_ | i_224_) >>> 8; + for (int i_225_ = -i_155_; i_225_ < 0; i_225_++) { + for (int i_226_ = -i_156_; i_226_ < 0; i_226_++) { + int i_227_ = (this.anIntArray9936[i_154_++]); + int i_228_ = i_227_ >>> 24; + int i_229_ = 256 - i_228_; + i_223_ = (i_227_ & 0xff00ff) * i_221_ & ~0xff00ff; + i_224_ = (i_227_ & 0xff00) * i_221_ & 0xff0000; + i_227_ = ((i_223_ | i_224_) >>> 8) + i_150_; + int i_230_ = is[i_153_]; + is[i_153_++] = ((((i_227_ & 0xff00ff) * i_228_ + (i_230_ & 0xff00ff) * i_229_) & ~0xff00ff) + (((i_227_ & 0xff00) * i_228_ + (i_230_ & 0xff00) * i_229_) & 0xff0000)) >> 8; + } + i_153_ += i_157_; + i_154_ += i_158_; + } + return; + } + throw new IllegalArgumentException(); + } + if (i_151_ == 2) { + if (i_149_ == 1) { + for (int i_231_ = -i_155_; i_231_ < 0; i_231_++) { + for (int i_232_ = -i_156_; i_232_ < 0; i_232_++) { + int i_233_ = (this.anIntArray9936[i_154_++]); + if (i_233_ != 0) { + int i_234_ = is[i_153_]; + int i_235_ = i_233_ + i_234_; + int i_236_ = ((i_233_ & 0xff00ff) + (i_234_ & 0xff00ff)); + i_234_ = (i_236_ & 0x1000100) + (i_235_ - i_236_ & 0x10000); + is[i_153_++] = i_235_ - i_234_ | i_234_ - (i_234_ >>> 8); + } else i_153_++; + } + i_153_ += i_157_; + i_154_ += i_158_; + } + return; + } + if (i_149_ == 0) { + int i_237_ = (i_150_ & 0xff0000) >> 16; + int i_238_ = (i_150_ & 0xff00) >> 8; + int i_239_ = i_150_ & 0xff; + for (int i_240_ = -i_155_; i_240_ < 0; i_240_++) { + for (int i_241_ = -i_156_; i_241_ < 0; i_241_++) { + int i_242_ = (this.anIntArray9936[i_154_++]); + if (i_242_ != 0) { + int i_243_ = (i_242_ & 0xff0000) * i_237_ & ~0xffffff; + int i_244_ = (i_242_ & 0xff00) * i_238_ & 0xff0000; + int i_245_ = (i_242_ & 0xff) * i_239_ & 0xff00; + i_242_ = (i_243_ | i_244_ | i_245_) >>> 8; + int i_246_ = is[i_153_]; + int i_247_ = i_242_ + i_246_; + int i_248_ = ((i_242_ & 0xff00ff) + (i_246_ & 0xff00ff)); + i_246_ = (i_248_ & 0x1000100) + (i_247_ - i_248_ & 0x10000); + is[i_153_++] = i_247_ - i_246_ | i_246_ - (i_246_ >>> 8); + } else i_153_++; + } + i_153_ += i_157_; + i_154_ += i_158_; + } + return; + } + if (i_149_ == 3) { + for (int i_249_ = -i_155_; i_249_ < 0; i_249_++) { + for (int i_250_ = -i_156_; i_250_ < 0; i_250_++) { + int i_251_ = (this.anIntArray9936[i_154_++]); + int i_252_ = i_251_ + i_150_; + int i_253_ = (i_251_ & 0xff00ff) + (i_150_ & 0xff00ff); + int i_254_ = ((i_253_ & 0x1000100) + (i_252_ - i_253_ & 0x10000)); + i_251_ = i_252_ - i_254_ | i_254_ - (i_254_ >>> 8); + i_254_ = is[i_153_]; + i_252_ = i_251_ + i_254_; + i_253_ = (i_251_ & 0xff00ff) + (i_254_ & 0xff00ff); + i_254_ = (i_253_ & 0x1000100) + (i_252_ - i_253_ & 0x10000); + is[i_153_++] = i_252_ - i_254_ | i_254_ - (i_254_ >>> 8); + } + i_153_ += i_157_; + i_154_ += i_158_; + } + return; + } + if (i_149_ == 2) { + int i_255_ = i_150_ >>> 24; + int i_256_ = 256 - i_255_; + int i_257_ = (i_150_ & 0xff00ff) * i_256_ & ~0xff00ff; + int i_258_ = (i_150_ & 0xff00) * i_256_ & 0xff0000; + i_150_ = (i_257_ | i_258_) >>> 8; + for (int i_259_ = -i_155_; i_259_ < 0; i_259_++) { + for (int i_260_ = -i_156_; i_260_ < 0; i_260_++) { + int i_261_ = (this.anIntArray9936[i_154_++]); + if (i_261_ != 0) { + i_257_ = (i_261_ & 0xff00ff) * i_255_ & ~0xff00ff; + i_258_ = (i_261_ & 0xff00) * i_255_ & 0xff0000; + i_261_ = ((i_257_ | i_258_) >>> 8) + i_150_; + int i_262_ = is[i_153_]; + int i_263_ = i_261_ + i_262_; + int i_264_ = ((i_261_ & 0xff00ff) + (i_262_ & 0xff00ff)); + i_262_ = (i_264_ & 0x1000100) + (i_263_ - i_264_ & 0x10000); + is[i_153_++] = i_263_ - i_262_ | i_262_ - (i_262_ >>> 8); + } else i_153_++; + } + i_153_ += i_157_; + i_154_ += i_158_; + } + return; + } + throw new IllegalArgumentException(); + } + throw new IllegalArgumentException(); + } + } + + final void method963(int i, int i_265_, Shader var_aa, int i_266_, int i_267_) { + if (this.aHa_Sub1_8460.method3716()) throw new IllegalStateException(); + i += this.anInt8461; + i_265_ += this.anInt8464; + int i_268_ = 0; + int i_269_ = this.aHa_Sub1_8460.anInt7477; + int i_270_ = this.anInt8471; + int i_271_ = this.anInt8470; + int i_272_ = i_269_ - i_270_; + int i_273_ = 0; + int i_274_ = i + i_265_ * i_269_; + if (i_265_ < this.aHa_Sub1_8460.anInt7476) { + int i_275_ = (this.aHa_Sub1_8460.anInt7476 - i_265_); + i_271_ -= i_275_; + i_265_ = this.aHa_Sub1_8460.anInt7476; + i_268_ += i_275_ * i_270_; + i_274_ += i_275_ * i_269_; + } + if (i_265_ + i_271_ > this.aHa_Sub1_8460.anInt7503) i_271_ -= i_265_ + i_271_ - this.aHa_Sub1_8460.anInt7503; + if (i < this.aHa_Sub1_8460.anInt7496) { + int i_276_ = (this.aHa_Sub1_8460.anInt7496 - i); + i_270_ -= i_276_; + i = this.aHa_Sub1_8460.anInt7496; + i_268_ += i_276_; + i_274_ += i_276_; + i_273_ += i_276_; + i_272_ += i_276_; + } + if (i + i_270_ > this.aHa_Sub1_8460.anInt7507) { + int i_277_ = (i + i_270_ - (this.aHa_Sub1_8460.anInt7507)); + i_270_ -= i_277_; + i_273_ += i_277_; + i_272_ += i_277_; + } + if (i_270_ > 0 && i_271_ > 0) { + ShaderSub3 var_aa_Sub3 = (ShaderSub3) var_aa; + int[] is = var_aa_Sub3.anIntArray5201; + int[] is_278_ = var_aa_Sub3.anIntArray5202; + int[] is_279_ = (this.aHa_Sub1_8460.anIntArray7483); + int i_280_ = i_265_; + if (i_267_ > i_280_) { + i_280_ = i_267_; + i_274_ += (i_267_ - i_265_) * i_269_; + i_268_ += (i_267_ - i_265_) * this.anInt8471; + } + int i_281_ = (Math.min(i_267_ + is.length, i_265_ + i_271_)); + for (int i_282_ = i_280_; i_282_ < i_281_; i_282_++) { + int i_283_ = is[i_282_ - i_267_] + i_266_; + int i_284_ = is_278_[i_282_ - i_267_]; + int i_285_ = i_270_; + if (i > i_283_) { + int i_286_ = i - i_283_; + if (i_286_ >= i_284_) { + i_268_ += i_270_ + i_273_; + i_274_ += i_270_ + i_272_; + continue; + } + i_284_ -= i_286_; + } else { + int i_287_ = i_283_ - i; + if (i_287_ >= i_270_) { + i_268_ += i_270_ + i_273_; + i_274_ += i_270_ + i_272_; + continue; + } + i_268_ += i_287_; + i_285_ -= i_287_; + i_274_ += i_287_; + } + int i_288_ = 0; + if (i_285_ < i_284_) i_284_ = i_285_; + else i_288_ = i_285_ - i_284_; + for (int i_289_ = -i_284_; i_289_ < 0; i_289_++) { + int i_290_ = this.anIntArray9936[i_268_++]; + int i_291_ = i_290_ >>> 24; + int i_292_ = 256 - i_291_; + int i_293_ = is_279_[i_274_]; + is_279_[i_274_++] = ((((i_290_ & 0xff00ff) * i_291_ + (i_293_ & 0xff00ff) * i_292_) & ~0xff00ff) + (((i_290_ & 0xff00) * i_291_ + (i_293_ & 0xff00) * i_292_) & 0xff0000)) >> 8; + } + i_268_ += i_288_ + i_273_; + i_274_ += i_288_ + i_272_; + } + } + } + + final void method982(int i, int i_294_, int i_295_, int i_296_, int i_297_, int i_298_, int i_299_, int i_300_) { + if (this.aHa_Sub1_8460.method3716()) throw new IllegalStateException(); + if (i_295_ > 0 && i_296_ > 0) { + int i_301_ = 0; + int i_302_ = 0; + int i_303_ = this.aHa_Sub1_8460.anInt7477; + int i_304_ = (this.anInt8461 + this.anInt8471 + this.anInt8454); + int i_305_ = (this.anInt8464 + this.anInt8470 + this.anInt8456); + int i_306_ = (i_304_ << 16) / i_295_; + int i_307_ = (i_305_ << 16) / i_296_; + if (this.anInt8461 > 0) { + int i_308_ = (((this.anInt8461 << 16) + i_306_ - 1) / i_306_); + i += i_308_; + i_301_ += i_308_ * i_306_ - (this.anInt8461 << 16); + } + if (this.anInt8464 > 0) { + int i_309_ = (((this.anInt8464 << 16) + i_307_ - 1) / i_307_); + i_294_ += i_309_; + i_302_ += i_309_ * i_307_ - (this.anInt8464 << 16); + } + if (this.anInt8471 < i_304_) i_295_ = ((this.anInt8471 << 16) - i_301_ + i_306_ - 1) / i_306_; + if (this.anInt8470 < i_305_) i_296_ = ((this.anInt8470 << 16) - i_302_ + i_307_ - 1) / i_307_; + int i_310_ = i + i_294_ * i_303_; + int i_311_ = i_303_ - i_295_; + if (i_294_ + i_296_ > this.aHa_Sub1_8460.anInt7503) i_296_ -= (i_294_ + i_296_ - (this.aHa_Sub1_8460.anInt7503)); + if (i_294_ < this.aHa_Sub1_8460.anInt7476) { + int i_312_ = ((this.aHa_Sub1_8460.anInt7476) - i_294_); + i_296_ -= i_312_; + i_310_ += i_312_ * i_303_; + i_302_ += i_307_ * i_312_; + } + if (i + i_295_ > this.aHa_Sub1_8460.anInt7507) { + int i_313_ = (i + i_295_ - (this.aHa_Sub1_8460.anInt7507)); + i_295_ -= i_313_; + i_311_ += i_313_; + } + if (i < this.aHa_Sub1_8460.anInt7496) { + int i_314_ = ((this.aHa_Sub1_8460.anInt7496) - i); + i_295_ -= i_314_; + i_310_ += i_314_; + i_301_ += i_306_ * i_314_; + i_311_ += i_314_; + } + int[] is = (this.aHa_Sub1_8460.anIntArray7483); + if (i_299_ == 0) { + if (i_297_ == 1) { + int i_315_ = i_301_; + for (int i_316_ = -i_296_; i_316_ < 0; i_316_++) { + int i_317_ = ((i_302_ >> 16) * this.anInt8471); + for (int i_318_ = -i_295_; i_318_ < 0; i_318_++) { + is[i_310_++] = (this.anIntArray9936[(i_301_ >> 16) + i_317_]); + i_301_ += i_306_; + } + i_302_ += i_307_; + i_301_ = i_315_; + i_310_ += i_311_; + } + return; + } + if (i_297_ == 0) { + int i_319_ = (i_298_ & 0xff0000) >> 16; + int i_320_ = (i_298_ & 0xff00) >> 8; + int i_321_ = i_298_ & 0xff; + int i_322_ = i_301_; + for (int i_323_ = -i_296_; i_323_ < 0; i_323_++) { + int i_324_ = ((i_302_ >> 16) * this.anInt8471); + for (int i_325_ = -i_295_; i_325_ < 0; i_325_++) { + int i_326_ = (this.anIntArray9936[(i_301_ >> 16) + i_324_]); + int i_327_ = (i_326_ & 0xff0000) * i_319_ & ~0xffffff; + int i_328_ = (i_326_ & 0xff00) * i_320_ & 0xff0000; + int i_329_ = (i_326_ & 0xff) * i_321_ & 0xff00; + is[i_310_++] = (i_327_ | i_328_ | i_329_) >>> 8; + i_301_ += i_306_; + } + i_302_ += i_307_; + i_301_ = i_322_; + i_310_ += i_311_; + } + return; + } + if (i_297_ == 3) { + int i_330_ = i_301_; + for (int i_331_ = -i_296_; i_331_ < 0; i_331_++) { + int i_332_ = ((i_302_ >> 16) * this.anInt8471); + for (int i_333_ = -i_295_; i_333_ < 0; i_333_++) { + int i_334_ = (this.anIntArray9936[(i_301_ >> 16) + i_332_]); + int i_335_ = i_334_ + i_298_; + int i_336_ = (i_334_ & 0xff00ff) + (i_298_ & 0xff00ff); + int i_337_ = ((i_336_ & 0x1000100) + (i_335_ - i_336_ & 0x10000)); + is[i_310_++] = i_335_ - i_337_ | i_337_ - (i_337_ >>> 8); + i_301_ += i_306_; + } + i_302_ += i_307_; + i_301_ = i_330_; + i_310_ += i_311_; + } + return; + } + if (i_297_ == 2) { + int i_338_ = i_298_ >>> 24; + int i_339_ = 256 - i_338_; + int i_340_ = (i_298_ & 0xff00ff) * i_339_ & ~0xff00ff; + int i_341_ = (i_298_ & 0xff00) * i_339_ & 0xff0000; + i_298_ = (i_340_ | i_341_) >>> 8; + int i_342_ = i_301_; + for (int i_343_ = -i_296_; i_343_ < 0; i_343_++) { + int i_344_ = ((i_302_ >> 16) * this.anInt8471); + for (int i_345_ = -i_295_; i_345_ < 0; i_345_++) { + int i_346_ = (this.anIntArray9936[(i_301_ >> 16) + i_344_]); + i_340_ = (i_346_ & 0xff00ff) * i_338_ & ~0xff00ff; + i_341_ = (i_346_ & 0xff00) * i_338_ & 0xff0000; + is[i_310_++] = ((i_340_ | i_341_) >>> 8) + i_298_; + i_301_ += i_306_; + } + i_302_ += i_307_; + i_301_ = i_342_; + i_310_ += i_311_; + } + return; + } + throw new IllegalArgumentException(); + } + if (i_299_ == 1) { + if (i_297_ == 1) { + int i_347_ = i_301_; + for (int i_348_ = -i_296_; i_348_ < 0; i_348_++) { + int i_349_ = ((i_302_ >> 16) * this.anInt8471); + for (int i_350_ = -i_295_; i_350_ < 0; i_350_++) { + int i_351_ = (this.anIntArray9936[(i_301_ >> 16) + i_349_]); + int i_352_ = i_351_ >>> 24; + int i_353_ = 256 - i_352_; + int i_354_ = is[i_310_]; + is[i_310_++] = (((((i_351_ & 0xff00ff) * i_352_ + (i_354_ & 0xff00ff) * i_353_) & ~0xff00ff) >> 8) + ((((i_351_ & ~0xff00ff) >>> 8) * i_352_ + ((i_354_ & ~0xff00ff) >>> 8) * i_353_) & ~0xff00ff)); + i_301_ += i_306_; + } + i_302_ += i_307_; + i_301_ = i_347_; + i_310_ += i_311_; + } + return; + } + if (i_297_ == 0) { + int i_355_ = i_301_; + if ((i_298_ & 0xffffff) == 16777215) { + for (int i_356_ = -i_296_; i_356_ < 0; i_356_++) { + int i_357_ = ((i_302_ >> 16) * this.anInt8471); + for (int i_358_ = -i_295_; i_358_ < 0; i_358_++) { + int i_359_ = (this.anIntArray9936[(i_301_ >> 16) + i_357_]); + int i_360_ = (i_359_ >>> 24) * (i_298_ >>> 24) >> 8; + int i_361_ = 256 - i_360_; + int i_362_ = is[i_310_]; + is[i_310_++] = ((((i_359_ & 0xff00ff) * i_360_ + (i_362_ & 0xff00ff) * i_361_) & ~0xff00ff) + (((i_359_ & 0xff00) * i_360_ + (i_362_ & 0xff00) * i_361_) & 0xff0000)) >> 8; + i_301_ += i_306_; + } + i_302_ += i_307_; + i_301_ = i_355_; + i_310_ += i_311_; + } + } else { + int i_363_ = (i_298_ & 0xff0000) >> 16; + int i_364_ = (i_298_ & 0xff00) >> 8; + int i_365_ = i_298_ & 0xff; + for (int i_366_ = -i_296_; i_366_ < 0; i_366_++) { + int i_367_ = ((i_302_ >> 16) * this.anInt8471); + for (int i_368_ = -i_295_; i_368_ < 0; i_368_++) { + int i_369_ = (this.anIntArray9936[(i_301_ >> 16) + i_367_]); + int i_370_ = (i_369_ >>> 24) * (i_298_ >>> 24) >> 8; + int i_371_ = 256 - i_370_; + if (i_370_ == 255) { + int i_376_ = ((i_369_ & 0xff0000) * i_363_ & ~0xffffff); + int i_377_ = ((i_369_ & 0xff00) * i_364_ & 0xff0000); + int i_378_ = (i_369_ & 0xff) * i_365_ & 0xff00; + is[i_310_++] = (i_376_ | i_377_ | i_378_) >>> 8; + } else { + int i_372_ = ((i_369_ & 0xff0000) * i_363_ & ~0xffffff); + int i_373_ = ((i_369_ & 0xff00) * i_364_ & 0xff0000); + int i_374_ = (i_369_ & 0xff) * i_365_ & 0xff00; + i_369_ = (i_372_ | i_373_ | i_374_) >>> 8; + int i_375_ = is[i_310_]; + is[i_310_++] = ((((i_369_ & 0xff00ff) * i_370_ + (i_375_ & 0xff00ff) * i_371_) & ~0xff00ff) + (((i_369_ & 0xff00) * i_370_ + (i_375_ & 0xff00) * i_371_) & 0xff0000)) >> 8; + } + i_301_ += i_306_; + } + i_302_ += i_307_; + i_301_ = i_355_; + i_310_ += i_311_; + } + return; + } + return; + } + if (i_297_ == 3) { + int i_379_ = i_301_; + for (int i_380_ = -i_296_; i_380_ < 0; i_380_++) { + int i_381_ = ((i_302_ >> 16) * this.anInt8471); + for (int i_382_ = -i_295_; i_382_ < 0; i_382_++) { + int i_383_ = (this.anIntArray9936[(i_301_ >> 16) + i_381_]); + int i_384_ = i_383_ + i_298_; + int i_385_ = (i_383_ & 0xff00ff) + (i_298_ & 0xff00ff); + int i_386_ = ((i_385_ & 0x1000100) + (i_384_ - i_385_ & 0x10000)); + i_386_ = i_384_ - i_386_ | i_386_ - (i_386_ >>> 8); + int i_387_ = (i_386_ >>> 24) * (i_298_ >>> 24) >> 8; + int i_388_ = 256 - i_387_; + if (i_387_ != 255) { + i_383_ = i_386_; + i_386_ = is[i_310_]; + i_386_ = ((((i_383_ & 0xff00ff) * i_387_ + (i_386_ & 0xff00ff) * i_388_) & ~0xff00ff) + (((i_383_ & 0xff00) * i_387_ + (i_386_ & 0xff00) * i_388_) & 0xff0000)) >> 8; + } + is[i_310_++] = i_386_; + i_301_ += i_306_; + } + i_302_ += i_307_; + i_301_ = i_379_; + i_310_ += i_311_; + } + return; + } + if (i_297_ == 2) { + int i_389_ = i_298_ >>> 24; + int i_390_ = 256 - i_389_; + int i_391_ = (i_298_ & 0xff00ff) * i_390_ & ~0xff00ff; + int i_392_ = (i_298_ & 0xff00) * i_390_ & 0xff0000; + i_298_ = (i_391_ | i_392_) >>> 8; + int i_393_ = i_301_; + for (int i_394_ = -i_296_; i_394_ < 0; i_394_++) { + int i_395_ = ((i_302_ >> 16) * this.anInt8471); + for (int i_396_ = -i_295_; i_396_ < 0; i_396_++) { + int i_397_ = (this.anIntArray9936[(i_301_ >> 16) + i_395_]); + int i_398_ = i_397_ >>> 24; + int i_399_ = 256 - i_398_; + i_391_ = (i_397_ & 0xff00ff) * i_389_ & ~0xff00ff; + i_392_ = (i_397_ & 0xff00) * i_389_ & 0xff0000; + i_397_ = ((i_391_ | i_392_) >>> 8) + i_298_; + int i_400_ = is[i_310_]; + is[i_310_++] = ((((i_397_ & 0xff00ff) * i_398_ + (i_400_ & 0xff00ff) * i_399_) & ~0xff00ff) + (((i_397_ & 0xff00) * i_398_ + (i_400_ & 0xff00) * i_399_) & 0xff0000)) >> 8; + i_301_ += i_306_; + } + i_302_ += i_307_; + i_301_ = i_393_; + i_310_ += i_311_; + } + return; + } + throw new IllegalArgumentException(); + } + if (i_299_ == 2) { + if (i_297_ == 1) { + int i_401_ = i_301_; + for (int i_402_ = -i_296_; i_402_ < 0; i_402_++) { + int i_403_ = ((i_302_ >> 16) * this.anInt8471); + for (int i_404_ = -i_295_; i_404_ < 0; i_404_++) { + int i_405_ = (this.anIntArray9936[(i_301_ >> 16) + i_403_]); + if (i_405_ != 0) { + int i_406_ = is[i_310_]; + int i_407_ = i_405_ + i_406_; + int i_408_ = ((i_405_ & 0xff00ff) + (i_406_ & 0xff00ff)); + i_406_ = (i_408_ & 0x1000100) + (i_407_ - i_408_ & 0x10000); + is[i_310_++] = i_407_ - i_406_ | i_406_ - (i_406_ >>> 8); + } else i_310_++; + i_301_ += i_306_; + } + i_302_ += i_307_; + i_301_ = i_401_; + i_310_ += i_311_; + } + return; + } + if (i_297_ == 0) { + int i_409_ = i_301_; + int i_410_ = (i_298_ & 0xff0000) >> 16; + int i_411_ = (i_298_ & 0xff00) >> 8; + int i_412_ = i_298_ & 0xff; + for (int i_413_ = -i_296_; i_413_ < 0; i_413_++) { + int i_414_ = ((i_302_ >> 16) * this.anInt8471); + for (int i_415_ = -i_295_; i_415_ < 0; i_415_++) { + int i_416_ = (this.anIntArray9936[(i_301_ >> 16) + i_414_]); + if (i_416_ != 0) { + int i_417_ = (i_416_ & 0xff0000) * i_410_ & ~0xffffff; + int i_418_ = (i_416_ & 0xff00) * i_411_ & 0xff0000; + int i_419_ = (i_416_ & 0xff) * i_412_ & 0xff00; + i_416_ = (i_417_ | i_418_ | i_419_) >>> 8; + int i_420_ = is[i_310_]; + int i_421_ = i_416_ + i_420_; + int i_422_ = ((i_416_ & 0xff00ff) + (i_420_ & 0xff00ff)); + i_420_ = (i_422_ & 0x1000100) + (i_421_ - i_422_ & 0x10000); + is[i_310_++] = i_421_ - i_420_ | i_420_ - (i_420_ >>> 8); + } else i_310_++; + i_301_ += i_306_; + } + i_302_ += i_307_; + i_301_ = i_409_; + i_310_ += i_311_; + } + return; + } + if (i_297_ == 3) { + int i_423_ = i_301_; + for (int i_424_ = -i_296_; i_424_ < 0; i_424_++) { + int i_425_ = ((i_302_ >> 16) * this.anInt8471); + for (int i_426_ = -i_295_; i_426_ < 0; i_426_++) { + int i_427_ = (this.anIntArray9936[(i_301_ >> 16) + i_425_]); + int i_428_ = i_427_ + i_298_; + int i_429_ = (i_427_ & 0xff00ff) + (i_298_ & 0xff00ff); + int i_430_ = ((i_429_ & 0x1000100) + (i_428_ - i_429_ & 0x10000)); + i_427_ = i_428_ - i_430_ | i_430_ - (i_430_ >>> 8); + i_430_ = is[i_310_]; + i_428_ = i_427_ + i_430_; + i_429_ = (i_427_ & 0xff00ff) + (i_430_ & 0xff00ff); + i_430_ = (i_429_ & 0x1000100) + (i_428_ - i_429_ & 0x10000); + is[i_310_++] = i_428_ - i_430_ | i_430_ - (i_430_ >>> 8); + i_301_ += i_306_; + } + i_302_ += i_307_; + i_301_ = i_423_; + i_310_ += i_311_; + } + return; + } + if (i_297_ == 2) { + int i_431_ = i_298_ >>> 24; + int i_432_ = 256 - i_431_; + int i_433_ = (i_298_ & 0xff00ff) * i_432_ & ~0xff00ff; + int i_434_ = (i_298_ & 0xff00) * i_432_ & 0xff0000; + i_298_ = (i_433_ | i_434_) >>> 8; + int i_435_ = i_301_; + for (int i_436_ = -i_296_; i_436_ < 0; i_436_++) { + int i_437_ = ((i_302_ >> 16) * this.anInt8471); + for (int i_438_ = -i_295_; i_438_ < 0; i_438_++) { + int i_439_ = (this.anIntArray9936[(i_301_ >> 16) + i_437_]); + if (i_439_ != 0) { + i_433_ = (i_439_ & 0xff00ff) * i_431_ & ~0xff00ff; + i_434_ = (i_439_ & 0xff00) * i_431_ & 0xff0000; + i_439_ = ((i_433_ | i_434_) >>> 8) + i_298_; + int i_440_ = is[i_310_]; + int i_441_ = i_439_ + i_440_; + int i_442_ = ((i_439_ & 0xff00ff) + (i_440_ & 0xff00ff)); + i_440_ = (i_442_ & 0x1000100) + (i_441_ - i_442_ & 0x10000); + is[i_310_++] = i_441_ - i_440_ | i_440_ - (i_440_ >>> 8); + } else i_310_++; + i_301_ += i_306_; + } + i_302_ += i_307_; + i_301_ = i_435_; + i_310_ += i_311_; + } + return; + } + throw new IllegalArgumentException(); + } + throw new IllegalArgumentException(); + } + } + + SpriteSub3Sub3(GlToolkitSub1 var_ha_Sub1, int i, int i_443_) { + super(var_ha_Sub1, i, i_443_); + this.anIntArray9936 = new int[i * i_443_]; + } + + final void method996(int i, int i_444_, int i_445_, int i_446_, int i_447_, int i_448_, int i_449_, int i_450_, int i_451_) { + if (i_446_ > 0 && i_447_ > 0) { + int i_452_ = 0; + int i_453_ = 0; + int i_454_ = (this.anInt8461 + this.anInt8471 + this.anInt8454); + int i_455_ = (this.anInt8464 + this.anInt8470 + this.anInt8456); + int i_456_ = (i_454_ << 16) / i_446_; + int i_457_ = (i_455_ << 16) / i_447_; + if (this.anInt8461 > 0) { + int i_458_ = (((this.anInt8461 << 16) + i_456_ - 1) / i_456_); + i += i_458_; + i_452_ += i_458_ * i_456_ - (this.anInt8461 << 16); + } + if (this.anInt8464 > 0) { + int i_459_ = (((this.anInt8464 << 16) + i_457_ - 1) / i_457_); + i_444_ += i_459_; + i_453_ += i_459_ * i_457_ - (this.anInt8464 << 16); + } + if (this.anInt8471 < i_454_) i_446_ = ((this.anInt8471 << 16) - i_452_ + i_456_ - 1) / i_456_; + if (this.anInt8470 < i_455_) i_447_ = ((this.anInt8470 << 16) - i_453_ + i_457_ - 1) / i_457_; + int i_460_ = i + i_444_ * this.aHa_Sub1_8460.anInt7477; + int i_461_ = (this.aHa_Sub1_8460.anInt7477 - i_446_); + if (i_444_ + i_447_ > this.aHa_Sub1_8460.anInt7503) i_447_ -= (i_444_ + i_447_ - (this.aHa_Sub1_8460.anInt7503)); + if (i_444_ < this.aHa_Sub1_8460.anInt7476) { + int i_462_ = ((this.aHa_Sub1_8460.anInt7476) - i_444_); + i_447_ -= i_462_; + i_460_ += i_462_ * this.aHa_Sub1_8460.anInt7477; + i_453_ += i_457_ * i_462_; + } + if (i + i_446_ > this.aHa_Sub1_8460.anInt7507) { + int i_463_ = (i + i_446_ - (this.aHa_Sub1_8460.anInt7507)); + i_446_ -= i_463_; + i_461_ += i_463_; + } + if (i < this.aHa_Sub1_8460.anInt7496) { + int i_464_ = ((this.aHa_Sub1_8460.anInt7496) - i); + i_446_ -= i_464_; + i_460_ += i_464_; + i_452_ += i_456_ * i_464_; + i_461_ += i_464_; + } + float[] fs = (this.aHa_Sub1_8460.aFloatArray7511); + int[] is = (this.aHa_Sub1_8460.anIntArray7483); + if (i_450_ == 0) { + if (i_448_ == 1) { + int i_465_ = i_452_; + for (int i_466_ = -i_447_; i_466_ < 0; i_466_++) { + int i_467_ = ((i_453_ >> 16) * this.anInt8471); + for (int i_468_ = -i_446_; i_468_ < 0; i_468_++) { + if ((float) i_445_ < fs[i_460_]) { + is[i_460_] = (this.anIntArray9936[(i_452_ >> 16) + i_467_]); + fs[i_460_] = (float) i_445_; + } + i_452_ += i_456_; + i_460_++; + } + i_453_ += i_457_; + i_452_ = i_465_; + i_460_ += i_461_; + } + return; + } + if (i_448_ == 0) { + int i_469_ = (i_449_ & 0xff0000) >> 16; + int i_470_ = (i_449_ & 0xff00) >> 8; + int i_471_ = i_449_ & 0xff; + int i_472_ = i_452_; + for (int i_473_ = -i_447_; i_473_ < 0; i_473_++) { + int i_474_ = ((i_453_ >> 16) * this.anInt8471); + for (int i_475_ = -i_446_; i_475_ < 0; i_475_++) { + if ((float) i_445_ < fs[i_460_]) { + int i_476_ = (this.anIntArray9936[(i_452_ >> 16) + i_474_]); + int i_477_ = (i_476_ & 0xff0000) * i_469_ & ~0xffffff; + int i_478_ = (i_476_ & 0xff00) * i_470_ & 0xff0000; + int i_479_ = (i_476_ & 0xff) * i_471_ & 0xff00; + is[i_460_] = (i_477_ | i_478_ | i_479_) >>> 8; + fs[i_460_] = (float) i_445_; + } + i_452_ += i_456_; + i_460_++; + } + i_453_ += i_457_; + i_452_ = i_472_; + i_460_ += i_461_; + } + return; + } + if (i_448_ == 3) { + int i_480_ = i_452_; + for (int i_481_ = -i_447_; i_481_ < 0; i_481_++) { + int i_482_ = ((i_453_ >> 16) * this.anInt8471); + for (int i_483_ = -i_446_; i_483_ < 0; i_483_++) { + if ((float) i_445_ < fs[i_460_]) { + int i_484_ = (this.anIntArray9936[(i_452_ >> 16) + i_482_]); + int i_485_ = i_484_ + i_449_; + int i_486_ = ((i_484_ & 0xff00ff) + (i_449_ & 0xff00ff)); + int i_487_ = ((i_486_ & 0x1000100) + (i_485_ - i_486_ & 0x10000)); + is[i_460_] = i_485_ - i_487_ | i_487_ - (i_487_ >>> 8); + fs[i_460_] = (float) i_445_; + } + i_452_ += i_456_; + i_460_++; + } + i_453_ += i_457_; + i_452_ = i_480_; + i_460_ += i_461_; + } + return; + } + if (i_448_ == 2) { + int i_488_ = i_449_ >>> 24; + int i_489_ = 256 - i_488_; + int i_490_ = (i_449_ & 0xff00ff) * i_489_ & ~0xff00ff; + int i_491_ = (i_449_ & 0xff00) * i_489_ & 0xff0000; + i_449_ = (i_490_ | i_491_) >>> 8; + int i_492_ = i_452_; + for (int i_493_ = -i_447_; i_493_ < 0; i_493_++) { + int i_494_ = ((i_453_ >> 16) * this.anInt8471); + for (int i_495_ = -i_446_; i_495_ < 0; i_495_++) { + if ((float) i_445_ < fs[i_460_]) { + int i_496_ = (this.anIntArray9936[(i_452_ >> 16) + i_494_]); + i_490_ = (i_496_ & 0xff00ff) * i_488_ & ~0xff00ff; + i_491_ = (i_496_ & 0xff00) * i_488_ & 0xff0000; + is[i_460_] = ((i_490_ | i_491_) >>> 8) + i_449_; + fs[i_460_] = (float) i_445_; + } + i_452_ += i_456_; + i_460_++; + } + i_453_ += i_457_; + i_452_ = i_492_; + i_460_ += i_461_; + } + return; + } + throw new IllegalArgumentException(); + } + if (i_450_ == 1) { + if (i_448_ == 1) { + int i_497_ = i_452_; + for (int i_498_ = -i_447_; i_498_ < 0; i_498_++) { + int i_499_ = ((i_453_ >> 16) * this.anInt8471); + for (int i_500_ = -i_446_; i_500_ < 0; i_500_++) { + if ((float) i_445_ < fs[i_460_]) { + int i_501_ = (this.anIntArray9936[(i_452_ >> 16) + i_499_]); + int i_502_ = i_501_ >>> 24; + int i_503_ = 256 - i_502_; + int i_504_ = is[i_460_]; + is[i_460_] = (((((i_501_ & 0xff00ff) * i_502_ + (i_504_ & 0xff00ff) * i_503_) & ~0xff00ff) >> 8) + (((((i_501_ & ~0xff00ff) >>> 8) * i_502_) + (((i_504_ & ~0xff00ff) >>> 8) * i_503_)) & ~0xff00ff)); + fs[i_460_] = (float) i_445_; + } + i_452_ += i_456_; + i_460_++; + } + i_453_ += i_457_; + i_452_ = i_497_; + i_460_ += i_461_; + } + return; + } + if (i_448_ == 0) { + int i_505_ = i_452_; + if ((i_449_ & 0xffffff) == 16777215) { + for (int i_506_ = -i_447_; i_506_ < 0; i_506_++) { + int i_507_ = ((i_453_ >> 16) * this.anInt8471); + for (int i_508_ = -i_446_; i_508_ < 0; i_508_++) { + if ((float) i_445_ < fs[i_460_]) { + int i_509_ = (this.anIntArray9936[(i_452_ >> 16) + i_507_]); + int i_510_ = ((i_509_ >>> 24) * (i_449_ >>> 24) >> 8); + int i_511_ = 256 - i_510_; + int i_512_ = is[i_460_]; + is[i_460_] = ((((i_509_ & 0xff00ff) * i_510_ + (i_512_ & 0xff00ff) * i_511_) & ~0xff00ff) + (((i_509_ & 0xff00) * i_510_ + (i_512_ & 0xff00) * i_511_) & 0xff0000)) >> 8; + fs[i_460_] = (float) i_445_; + } + i_452_ += i_456_; + i_460_++; + } + i_453_ += i_457_; + i_452_ = i_505_; + i_460_ += i_461_; + } + } else { + int i_513_ = (i_449_ & 0xff0000) >> 16; + int i_514_ = (i_449_ & 0xff00) >> 8; + int i_515_ = i_449_ & 0xff; + for (int i_516_ = -i_447_; i_516_ < 0; i_516_++) { + int i_517_ = ((i_453_ >> 16) * this.anInt8471); + for (int i_518_ = -i_446_; i_518_ < 0; i_518_++) { + if ((float) i_445_ < fs[i_460_]) { + int i_519_ = (this.anIntArray9936[(i_452_ >> 16) + i_517_]); + int i_520_ = ((i_519_ >>> 24) * (i_449_ >>> 24) >> 8); + int i_521_ = 256 - i_520_; + if (i_520_ == 255) { + int i_526_ = ((i_519_ & 0xff0000) * i_513_ & ~0xffffff); + int i_527_ = ((i_519_ & 0xff00) * i_514_ & 0xff0000); + int i_528_ = ((i_519_ & 0xff) * i_515_ & 0xff00); + is[i_460_] = (i_526_ | i_527_ | i_528_) >>> 8; + fs[i_460_] = (float) i_445_; + } else { + int i_522_ = ((i_519_ & 0xff0000) * i_513_ & ~0xffffff); + int i_523_ = ((i_519_ & 0xff00) * i_514_ & 0xff0000); + int i_524_ = ((i_519_ & 0xff) * i_515_ & 0xff00); + i_519_ = (i_522_ | i_523_ | i_524_) >>> 8; + int i_525_ = is[i_460_]; + is[i_460_] = ((((i_519_ & 0xff00ff) * i_520_ + ((i_525_ & 0xff00ff) * i_521_)) & ~0xff00ff) + (((i_519_ & 0xff00) * i_520_ + ((i_525_ & 0xff00) * i_521_)) & 0xff0000)) >> 8; + fs[i_460_] = (float) i_445_; + } + } + i_452_ += i_456_; + i_460_++; + } + i_453_ += i_457_; + i_452_ = i_505_; + i_460_ += i_461_; + } + return; + } + return; + } + if (i_448_ == 3) { + int i_529_ = i_452_; + for (int i_530_ = -i_447_; i_530_ < 0; i_530_++) { + int i_531_ = ((i_453_ >> 16) * this.anInt8471); + for (int i_532_ = -i_446_; i_532_ < 0; i_532_++) { + if ((float) i_445_ < fs[i_460_]) { + int i_533_ = (this.anIntArray9936[(i_452_ >> 16) + i_531_]); + int i_534_ = i_533_ + i_449_; + int i_535_ = ((i_533_ & 0xff00ff) + (i_449_ & 0xff00ff)); + int i_536_ = ((i_535_ & 0x1000100) + (i_534_ - i_535_ & 0x10000)); + i_536_ = i_534_ - i_536_ | i_536_ - (i_536_ >>> 8); + int i_537_ = (i_536_ >>> 24) * (i_449_ >>> 24) >> 8; + int i_538_ = 256 - i_537_; + if (i_537_ != 255) { + i_533_ = i_536_; + i_536_ = is[i_460_]; + i_536_ = ((((i_533_ & 0xff00ff) * i_537_ + (i_536_ & 0xff00ff) * i_538_) & ~0xff00ff) + (((i_533_ & 0xff00) * i_537_ + (i_536_ & 0xff00) * i_538_) & 0xff0000)) >> 8; + } + is[i_460_] = i_536_; + fs[i_460_] = (float) i_445_; + } + i_452_ += i_456_; + i_460_++; + } + i_453_ += i_457_; + i_452_ = i_529_; + i_460_ += i_461_; + } + return; + } + if (i_448_ == 2) { + int i_539_ = i_449_ >>> 24; + int i_540_ = 256 - i_539_; + int i_541_ = (i_449_ & 0xff00ff) * i_540_ & ~0xff00ff; + int i_542_ = (i_449_ & 0xff00) * i_540_ & 0xff0000; + i_449_ = (i_541_ | i_542_) >>> 8; + int i_543_ = i_452_; + for (int i_544_ = -i_447_; i_544_ < 0; i_544_++) { + int i_545_ = ((i_453_ >> 16) * this.anInt8471); + for (int i_546_ = -i_446_; i_546_ < 0; i_546_++) { + if ((float) i_445_ < fs[i_460_]) { + int i_547_ = (this.anIntArray9936[(i_452_ >> 16) + i_545_]); + int i_548_ = i_547_ >>> 24; + int i_549_ = 256 - i_548_; + i_541_ = (i_547_ & 0xff00ff) * i_539_ & ~0xff00ff; + i_542_ = (i_547_ & 0xff00) * i_539_ & 0xff0000; + i_547_ = ((i_541_ | i_542_) >>> 8) + i_449_; + int i_550_ = is[i_460_]; + is[i_460_] = ((((i_547_ & 0xff00ff) * i_548_ + (i_550_ & 0xff00ff) * i_549_) & ~0xff00ff) + (((i_547_ & 0xff00) * i_548_ + (i_550_ & 0xff00) * i_549_) & 0xff0000)) >> 8; + fs[i_460_] = (float) i_445_; + } + i_452_ += i_456_; + i_460_++; + } + i_453_ += i_457_; + i_452_ = i_543_; + i_460_ += i_461_; + } + return; + } + throw new IllegalArgumentException(); + } + if (i_450_ == 2) { + if (i_448_ == 1) { + int i_551_ = i_452_; + for (int i_552_ = -i_447_; i_552_ < 0; i_552_++) { + int i_553_ = ((i_453_ >> 16) * this.anInt8471); + for (int i_554_ = -i_446_; i_554_ < 0; i_554_++) { + if ((float) i_445_ < fs[i_460_]) { + int i_555_ = (this.anIntArray9936[(i_452_ >> 16) + i_553_]); + if (i_555_ != 0) { + int i_556_ = is[i_460_]; + int i_557_ = i_555_ + i_556_; + int i_558_ = ((i_555_ & 0xff00ff) + (i_556_ & 0xff00ff)); + i_556_ = ((i_558_ & 0x1000100) + (i_557_ - i_558_ & 0x10000)); + is[i_460_] = i_557_ - i_556_ | i_556_ - (i_556_ >>> 8); + fs[i_460_] = (float) i_445_; + } + } + i_452_ += i_456_; + i_460_++; + } + i_453_ += i_457_; + i_452_ = i_551_; + i_460_ += i_461_; + } + return; + } + if (i_448_ == 0) { + int i_559_ = i_452_; + int i_560_ = (i_449_ & 0xff0000) >> 16; + int i_561_ = (i_449_ & 0xff00) >> 8; + int i_562_ = i_449_ & 0xff; + for (int i_563_ = -i_447_; i_563_ < 0; i_563_++) { + int i_564_ = ((i_453_ >> 16) * this.anInt8471); + for (int i_565_ = -i_446_; i_565_ < 0; i_565_++) { + if ((float) i_445_ < fs[i_460_]) { + int i_566_ = (this.anIntArray9936[(i_452_ >> 16) + i_564_]); + if (i_566_ != 0) { + int i_567_ = ((i_566_ & 0xff0000) * i_560_ & ~0xffffff); + int i_568_ = ((i_566_ & 0xff00) * i_561_ & 0xff0000); + int i_569_ = (i_566_ & 0xff) * i_562_ & 0xff00; + i_566_ = (i_567_ | i_568_ | i_569_) >>> 8; + int i_570_ = is[i_460_]; + int i_571_ = i_566_ + i_570_; + int i_572_ = ((i_566_ & 0xff00ff) + (i_570_ & 0xff00ff)); + i_570_ = ((i_572_ & 0x1000100) + (i_571_ - i_572_ & 0x10000)); + is[i_460_] = i_571_ - i_570_ | i_570_ - (i_570_ >>> 8); + fs[i_460_] = (float) i_445_; + } + } + i_452_ += i_456_; + i_460_++; + } + i_453_ += i_457_; + i_452_ = i_559_; + i_460_ += i_461_; + } + return; + } + if (i_448_ == 3) { + int i_573_ = i_452_; + for (int i_574_ = -i_447_; i_574_ < 0; i_574_++) { + int i_575_ = ((i_453_ >> 16) * this.anInt8471); + for (int i_576_ = -i_446_; i_576_ < 0; i_576_++) { + if ((float) i_445_ < fs[i_460_]) { + int i_577_ = (this.anIntArray9936[(i_452_ >> 16) + i_575_]); + int i_578_ = i_577_ + i_449_; + int i_579_ = ((i_577_ & 0xff00ff) + (i_449_ & 0xff00ff)); + int i_580_ = ((i_579_ & 0x1000100) + (i_578_ - i_579_ & 0x10000)); + i_577_ = i_578_ - i_580_ | i_580_ - (i_580_ >>> 8); + i_580_ = is[i_460_]; + i_578_ = i_577_ + i_580_; + i_579_ = (i_577_ & 0xff00ff) + (i_580_ & 0xff00ff); + i_580_ = (i_579_ & 0x1000100) + (i_578_ - i_579_ & 0x10000); + is[i_460_] = i_578_ - i_580_ | i_580_ - (i_580_ >>> 8); + fs[i_460_] = (float) i_445_; + } + i_452_ += i_456_; + i_460_++; + } + i_453_ += i_457_; + i_452_ = i_573_; + i_460_ += i_461_; + } + return; + } + if (i_448_ == 2) { + int i_581_ = i_449_ >>> 24; + int i_582_ = 256 - i_581_; + int i_583_ = (i_449_ & 0xff00ff) * i_582_ & ~0xff00ff; + int i_584_ = (i_449_ & 0xff00) * i_582_ & 0xff0000; + i_449_ = (i_583_ | i_584_) >>> 8; + int i_585_ = i_452_; + for (int i_586_ = -i_447_; i_586_ < 0; i_586_++) { + int i_587_ = ((i_453_ >> 16) * this.anInt8471); + for (int i_588_ = -i_446_; i_588_ < 0; i_588_++) { + if ((float) i_445_ < fs[i_460_]) { + int i_589_ = (this.anIntArray9936[(i_452_ >> 16) + i_587_]); + if (i_589_ != 0) { + i_583_ = ((i_589_ & 0xff00ff) * i_581_ & ~0xff00ff); + i_584_ = ((i_589_ & 0xff00) * i_581_ & 0xff0000); + i_589_ = ((i_583_ | i_584_) >>> 8) + i_449_; + int i_590_ = is[i_460_]; + int i_591_ = i_589_ + i_590_; + int i_592_ = ((i_589_ & 0xff00ff) + (i_590_ & 0xff00ff)); + i_590_ = ((i_592_ & 0x1000100) + (i_591_ - i_592_ & 0x10000)); + is[i_460_] = i_591_ - i_590_ | i_590_ - (i_590_ >>> 8); + fs[i_460_] = (float) i_445_; + } + } + i_452_ += i_456_; + i_460_++; + } + i_453_ += i_457_; + i_452_ = i_585_; + i_460_ += i_461_; + } + return; + } + throw new IllegalArgumentException(); + } + throw new IllegalArgumentException(); + } + } + + final void capturePixels(int i, int i_593_, int i_594_) { + if (i_594_ == 0) { + int[] is = (this.aHa_Sub1_8460.anIntArray7483); + for (int i_595_ = 0; i_595_ < this.anInt8470; i_595_++) { + int i_596_ = i_595_ * this.anInt8471; + int i_597_ = (((i_593_ + i_595_) * (this.aHa_Sub1_8460.anInt7477)) + i); + for (int i_598_ = 0; i_598_ < this.anInt8471; i_598_++) + this.anIntArray9936[i_596_ + i_598_] = ((this.anIntArray9936[i_596_ + i_598_]) & 0xffffff | is[i_597_ + i_598_] << 8 & ~0xffffff); + } + } else if (i_594_ == 1) { + int[] is = (this.aHa_Sub1_8460.anIntArray7483); + for (int i_599_ = 0; i_599_ < this.anInt8470; i_599_++) { + int i_600_ = i_599_ * this.anInt8471; + int i_601_ = (((i_593_ + i_599_) * (this.aHa_Sub1_8460.anInt7477)) + i); + for (int i_602_ = 0; i_602_ < this.anInt8471; i_602_++) + this.anIntArray9936[i_600_ + i_602_] = ((this.anIntArray9936[i_600_ + i_602_]) & 0xffffff | is[i_601_ + i_602_] << 16 & ~0xffffff); + } + } else if (i_594_ == 2) { + int[] is = (this.aHa_Sub1_8460.anIntArray7483); + for (int i_603_ = 0; i_603_ < this.anInt8470; i_603_++) { + int i_604_ = i_603_ * this.anInt8471; + int i_605_ = (((i_593_ + i_603_) * (this.aHa_Sub1_8460.anInt7477)) + i); + for (int i_606_ = 0; i_606_ < this.anInt8471; i_606_++) + this.anIntArray9936[i_604_ + i_606_] = ((this.anIntArray9936[i_604_ + i_606_]) & 0xffffff | is[i_605_ + i_606_] << 24 & ~0xffffff); + } + } else if (i_594_ == 3) { + int[] is = (this.aHa_Sub1_8460.anIntArray7483); + for (int i_607_ = 0; i_607_ < this.anInt8470; i_607_++) { + int i_608_ = i_607_ * this.anInt8471; + int i_609_ = (((i_593_ + i_607_) * (this.aHa_Sub1_8460.anInt7477)) + i); + for (int i_610_ = 0; i_610_ < this.anInt8471; i_610_++) + this.anIntArray9936[i_608_ + i_610_] = ((this.anIntArray9936[i_608_ + i_610_]) & 0xffffff | (is[i_609_ + i_610_] != 0 ? -16777216 : 0)); + } + } + } + + final void method994(int i, int i_611_) { + int[] is = this.aHa_Sub1_8460.anIntArray7483; + if (SpriteSub3.anInt8481 == 0) { + if (SpriteSub3.anInt8450 == 0) { + int i_612_ = SpriteSub3.anInt8468; + while (i_612_ < 0) { + int i_613_ = SpriteSub3.anInt8451; + int i_614_ = SpriteSub3.anInt8458; + int i_615_ = SpriteSub3.anInt8467; + int i_616_ = SpriteSub3.anInt8478; + if (i_614_ >= 0 && i_615_ >= 0 && (i_614_ - (this.anInt8471 << 12) < 0) && (i_615_ - (this.anInt8470 << 12) < 0)) { + for (/**/; i_616_ < 0; i_616_++) { + int i_617_ = (((i_615_ >> 12) * this.anInt8471) + (i_614_ >> 12)); + int i_618_ = i_613_++; + int[] is_619_ = is; + int i_620_ = i; + int i_621_ = i_611_; + if (i_621_ == 0) { + if (i_620_ == 1) is_619_[i_618_] = (this.anIntArray9936[i_617_]); + else if (i_620_ == 0) { + int i_622_ = (this.anIntArray9936[i_617_++]); + int i_623_ = (((i_622_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_624_ = (((i_622_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_625_ = (((i_622_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_619_[i_618_] = (i_623_ | i_624_ | i_625_) >>> 8; + } else if (i_620_ == 3) { + int i_626_ = (this.anIntArray9936[i_617_++]); + int i_627_ = SpriteSub3.anInt8480; + int i_628_ = i_626_ + i_627_; + int i_629_ = ((i_626_ & 0xff00ff) + (i_627_ & 0xff00ff)); + int i_630_ = ((i_629_ & 0x1000100) + (i_628_ - i_629_ & 0x10000)); + is_619_[i_618_] = i_628_ - i_630_ | i_630_ - (i_630_ >>> 8); + } else if (i_620_ == 2) { + int i_631_ = (this.anIntArray9936[i_617_]); + int i_632_ = (((i_631_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_633_ = (((i_631_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_619_[i_618_] = (((i_632_ | i_633_) >>> 8) + SpriteSub3.anInt8474); + } else throw new IllegalArgumentException(); + } else if (i_621_ == 1) { + if (i_620_ == 1) { + int i_634_ = (this.anIntArray9936[i_617_]); + int i_635_ = i_634_ >>> 24; + int i_636_ = 256 - i_635_; + int i_637_ = is_619_[i_618_]; + is_619_[i_618_] = ((((i_634_ & 0xff00ff) * i_635_ + (i_637_ & 0xff00ff) * i_636_) & ~0xff00ff) + (((i_634_ & 0xff00) * i_635_ + (i_637_ & 0xff00) * i_636_) & 0xff0000)) >> 8; + } else if (i_620_ == 0) { + int i_638_ = (this.anIntArray9936[i_617_]); + int i_639_ = (((i_638_ >>> 24) * SpriteSub3.anInt8477) >> 8); + int i_640_ = 256 - i_639_; + if ((SpriteSub3.anInt8480 & 0xffffff) == 16777215) { + int i_641_ = is_619_[i_618_]; + is_619_[i_618_] = ((((i_638_ & 0xff00ff) * i_639_ + ((i_641_ & 0xff00ff) * i_640_)) & ~0xff00ff) + (((i_638_ & 0xff00) * i_639_ + ((i_641_ & 0xff00) * i_640_)) & 0xff0000)) >> 8; + } else if (i_639_ == 255) { + int i_646_ = (((i_638_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_647_ = (((i_638_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_648_ = (((i_638_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_619_[i_618_] = (i_646_ | i_647_ | i_648_) >>> 8; + } else { + int i_642_ = (((i_638_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_643_ = (((i_638_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_644_ = (((i_638_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_638_ = (i_642_ | i_643_ | i_644_) >>> 8; + int i_645_ = is_619_[i_618_]; + is_619_[i_618_] = ((((i_638_ & 0xff00ff) * i_639_ + ((i_645_ & 0xff00ff) * i_640_)) & ~0xff00ff) + (((i_638_ & 0xff00) * i_639_ + ((i_645_ & 0xff00) * i_640_)) & 0xff0000)) >> 8; + } + } else if (i_620_ == 3) { + int i_649_ = (this.anIntArray9936[i_617_]); + int i_650_ = SpriteSub3.anInt8480; + int i_651_ = i_649_ + i_650_; + int i_652_ = ((i_649_ & 0xff00ff) + (i_650_ & 0xff00ff)); + int i_653_ = ((i_652_ & 0x1000100) + (i_651_ - i_652_ & 0x10000)); + i_653_ = i_651_ - i_653_ | i_653_ - (i_653_ >>> 8); + int i_654_ = (((i_649_ >>> 24) * SpriteSub3.anInt8477) >> 8); + int i_655_ = 256 - i_654_; + if (i_654_ != 255) { + i_649_ = i_653_; + i_653_ = is_619_[i_618_]; + i_653_ = ((((i_649_ & 0xff00ff) * i_654_ + ((i_653_ & 0xff00ff) * i_655_)) & ~0xff00ff) + (((i_649_ & 0xff00) * i_654_ + ((i_653_ & 0xff00) * i_655_)) & 0xff0000)) >> 8; + } + is_619_[i_618_] = i_653_; + } else if (i_620_ == 2) { + int i_656_ = (this.anIntArray9936[i_617_]); + int i_657_ = i_656_ >>> 24; + int i_658_ = 256 - i_657_; + int i_659_ = (((i_656_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_660_ = (((i_656_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_656_ = (((i_659_ | i_660_) >>> 8) + SpriteSub3.anInt8474); + int i_661_ = is_619_[i_618_]; + is_619_[i_618_] = ((((i_656_ & 0xff00ff) * i_657_ + (i_661_ & 0xff00ff) * i_658_) & ~0xff00ff) + (((i_656_ & 0xff00) * i_657_ + (i_661_ & 0xff00) * i_658_) & 0xff0000)) >> 8; + } else throw new IllegalArgumentException(); + } else if (i_621_ == 2) { + if (i_620_ == 1) { + int i_662_ = (this.anIntArray9936[i_617_]); + int i_663_ = is_619_[i_618_]; + int i_664_ = i_662_ + i_663_; + int i_665_ = ((i_662_ & 0xff00ff) + (i_663_ & 0xff00ff)); + i_663_ = ((i_665_ & 0x1000100) + (i_664_ - i_665_ & 0x10000)); + is_619_[i_618_] = i_664_ - i_663_ | i_663_ - (i_663_ >>> 8); + } else if (i_620_ == 0) { + int i_666_ = (this.anIntArray9936[i_617_]); + int i_667_ = (((i_666_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_668_ = (((i_666_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_669_ = (((i_666_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_666_ = (i_667_ | i_668_ | i_669_) >>> 8; + int i_670_ = is_619_[i_618_]; + int i_671_ = i_666_ + i_670_; + int i_672_ = ((i_666_ & 0xff00ff) + (i_670_ & 0xff00ff)); + i_670_ = ((i_672_ & 0x1000100) + (i_671_ - i_672_ & 0x10000)); + is_619_[i_618_] = i_671_ - i_670_ | i_670_ - (i_670_ >>> 8); + } else if (i_620_ == 3) { + int i_673_ = (this.anIntArray9936[i_617_]); + int i_674_ = SpriteSub3.anInt8480; + int i_675_ = i_673_ + i_674_; + int i_676_ = ((i_673_ & 0xff00ff) + (i_674_ & 0xff00ff)); + int i_677_ = ((i_676_ & 0x1000100) + (i_675_ - i_676_ & 0x10000)); + i_673_ = i_675_ - i_677_ | i_677_ - (i_677_ >>> 8); + i_677_ = is_619_[i_618_]; + i_675_ = i_673_ + i_677_; + i_676_ = (i_673_ & 0xff00ff) + (i_677_ & 0xff00ff); + i_677_ = ((i_676_ & 0x1000100) + (i_675_ - i_676_ & 0x10000)); + is_619_[i_618_] = i_675_ - i_677_ | i_677_ - (i_677_ >>> 8); + } else if (i_620_ == 2) { + int i_678_ = (this.anIntArray9936[i_617_]); + int i_679_ = (((i_678_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_680_ = (((i_678_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_678_ = (((i_679_ | i_680_) >>> 8) + SpriteSub3.anInt8474); + int i_681_ = is_619_[i_618_]; + int i_682_ = i_678_ + i_681_; + int i_683_ = ((i_678_ & 0xff00ff) + (i_681_ & 0xff00ff)); + i_681_ = ((i_683_ & 0x1000100) + (i_682_ - i_683_ & 0x10000)); + is_619_[i_618_] = i_682_ - i_681_ | i_681_ - (i_681_ >>> 8); + } + } else throw new IllegalArgumentException(); + } + } + i_612_++; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else if (SpriteSub3.anInt8450 < 0) { + int i_684_ = SpriteSub3.anInt8468; + while (i_684_ < 0) { + int i_685_ = SpriteSub3.anInt8451; + int i_686_ = SpriteSub3.anInt8458; + int i_687_ = SpriteSub3.anInt8467 + SpriteSub3.anInt8475; + int i_688_ = SpriteSub3.anInt8478; + if (i_686_ >= 0 && (i_686_ - (this.anInt8471 << 12) < 0)) { + int i_689_; + if ((i_689_ = i_687_ - (this.anInt8470 << 12)) >= 0) { + i_689_ = ((SpriteSub3.anInt8450 - i_689_) / SpriteSub3.anInt8450); + i_688_ += i_689_; + i_687_ += SpriteSub3.anInt8450 * i_689_; + i_685_ += i_689_; + } + if ((i_689_ = ((i_687_ - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_688_) i_688_ = i_689_; + for (/**/; i_688_ < 0; i_688_++) { + int i_690_ = (((i_687_ >> 12) * this.anInt8471) + (i_686_ >> 12)); + int i_691_ = i_685_++; + int[] is_692_ = is; + int i_693_ = i; + int i_694_ = i_611_; + if (i_694_ == 0) { + if (i_693_ == 1) is_692_[i_691_] = (this.anIntArray9936[i_690_]); + else if (i_693_ == 0) { + int i_695_ = (this.anIntArray9936[i_690_++]); + int i_696_ = (((i_695_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_697_ = (((i_695_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_698_ = (((i_695_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_692_[i_691_] = (i_696_ | i_697_ | i_698_) >>> 8; + } else if (i_693_ == 3) { + int i_699_ = (this.anIntArray9936[i_690_++]); + int i_700_ = SpriteSub3.anInt8480; + int i_701_ = i_699_ + i_700_; + int i_702_ = ((i_699_ & 0xff00ff) + (i_700_ & 0xff00ff)); + int i_703_ = ((i_702_ & 0x1000100) + (i_701_ - i_702_ & 0x10000)); + is_692_[i_691_] = i_701_ - i_703_ | i_703_ - (i_703_ >>> 8); + } else if (i_693_ == 2) { + int i_704_ = (this.anIntArray9936[i_690_]); + int i_705_ = (((i_704_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_706_ = (((i_704_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_692_[i_691_] = (((i_705_ | i_706_) >>> 8) + SpriteSub3.anInt8474); + } else throw new IllegalArgumentException(); + } else if (i_694_ == 1) { + if (i_693_ == 1) { + int i_707_ = (this.anIntArray9936[i_690_]); + int i_708_ = i_707_ >>> 24; + int i_709_ = 256 - i_708_; + int i_710_ = is_692_[i_691_]; + is_692_[i_691_] = ((((i_707_ & 0xff00ff) * i_708_ + (i_710_ & 0xff00ff) * i_709_) & ~0xff00ff) + (((i_707_ & 0xff00) * i_708_ + (i_710_ & 0xff00) * i_709_) & 0xff0000)) >> 8; + } else if (i_693_ == 0) { + int i_711_ = (this.anIntArray9936[i_690_]); + int i_712_ = (((i_711_ >>> 24) * SpriteSub3.anInt8477) >> 8); + int i_713_ = 256 - i_712_; + if ((SpriteSub3.anInt8480 & 0xffffff) == 16777215) { + int i_714_ = is_692_[i_691_]; + is_692_[i_691_] = ((((i_711_ & 0xff00ff) * i_712_ + ((i_714_ & 0xff00ff) * i_713_)) & ~0xff00ff) + (((i_711_ & 0xff00) * i_712_ + ((i_714_ & 0xff00) * i_713_)) & 0xff0000)) >> 8; + } else if (i_712_ == 255) { + int i_719_ = (((i_711_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_720_ = (((i_711_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_721_ = (((i_711_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_692_[i_691_] = (i_719_ | i_720_ | i_721_) >>> 8; + } else { + int i_715_ = (((i_711_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_716_ = (((i_711_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_717_ = (((i_711_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_711_ = (i_715_ | i_716_ | i_717_) >>> 8; + int i_718_ = is_692_[i_691_]; + is_692_[i_691_] = ((((i_711_ & 0xff00ff) * i_712_ + ((i_718_ & 0xff00ff) * i_713_)) & ~0xff00ff) + (((i_711_ & 0xff00) * i_712_ + ((i_718_ & 0xff00) * i_713_)) & 0xff0000)) >> 8; + } + } else if (i_693_ == 3) { + int i_722_ = (this.anIntArray9936[i_690_]); + int i_723_ = SpriteSub3.anInt8480; + int i_724_ = i_722_ + i_723_; + int i_725_ = ((i_722_ & 0xff00ff) + (i_723_ & 0xff00ff)); + int i_726_ = ((i_725_ & 0x1000100) + (i_724_ - i_725_ & 0x10000)); + i_726_ = i_724_ - i_726_ | i_726_ - (i_726_ >>> 8); + int i_727_ = (((i_722_ >>> 24) * SpriteSub3.anInt8477) >> 8); + int i_728_ = 256 - i_727_; + if (i_727_ != 255) { + i_722_ = i_726_; + i_726_ = is_692_[i_691_]; + i_726_ = ((((i_722_ & 0xff00ff) * i_727_ + ((i_726_ & 0xff00ff) * i_728_)) & ~0xff00ff) + (((i_722_ & 0xff00) * i_727_ + ((i_726_ & 0xff00) * i_728_)) & 0xff0000)) >> 8; + } + is_692_[i_691_] = i_726_; + } else if (i_693_ == 2) { + int i_729_ = (this.anIntArray9936[i_690_]); + int i_730_ = i_729_ >>> 24; + int i_731_ = 256 - i_730_; + int i_732_ = (((i_729_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_733_ = (((i_729_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_729_ = (((i_732_ | i_733_) >>> 8) + SpriteSub3.anInt8474); + int i_734_ = is_692_[i_691_]; + is_692_[i_691_] = ((((i_729_ & 0xff00ff) * i_730_ + (i_734_ & 0xff00ff) * i_731_) & ~0xff00ff) + (((i_729_ & 0xff00) * i_730_ + (i_734_ & 0xff00) * i_731_) & 0xff0000)) >> 8; + } else throw new IllegalArgumentException(); + } else if (i_694_ == 2) { + if (i_693_ == 1) { + int i_735_ = (this.anIntArray9936[i_690_]); + int i_736_ = is_692_[i_691_]; + int i_737_ = i_735_ + i_736_; + int i_738_ = ((i_735_ & 0xff00ff) + (i_736_ & 0xff00ff)); + i_736_ = ((i_738_ & 0x1000100) + (i_737_ - i_738_ & 0x10000)); + is_692_[i_691_] = i_737_ - i_736_ | i_736_ - (i_736_ >>> 8); + } else if (i_693_ == 0) { + int i_739_ = (this.anIntArray9936[i_690_]); + int i_740_ = (((i_739_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_741_ = (((i_739_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_742_ = (((i_739_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_739_ = (i_740_ | i_741_ | i_742_) >>> 8; + int i_743_ = is_692_[i_691_]; + int i_744_ = i_739_ + i_743_; + int i_745_ = ((i_739_ & 0xff00ff) + (i_743_ & 0xff00ff)); + i_743_ = ((i_745_ & 0x1000100) + (i_744_ - i_745_ & 0x10000)); + is_692_[i_691_] = i_744_ - i_743_ | i_743_ - (i_743_ >>> 8); + } else if (i_693_ == 3) { + int i_746_ = (this.anIntArray9936[i_690_]); + int i_747_ = SpriteSub3.anInt8480; + int i_748_ = i_746_ + i_747_; + int i_749_ = ((i_746_ & 0xff00ff) + (i_747_ & 0xff00ff)); + int i_750_ = ((i_749_ & 0x1000100) + (i_748_ - i_749_ & 0x10000)); + i_746_ = i_748_ - i_750_ | i_750_ - (i_750_ >>> 8); + i_750_ = is_692_[i_691_]; + i_748_ = i_746_ + i_750_; + i_749_ = (i_746_ & 0xff00ff) + (i_750_ & 0xff00ff); + i_750_ = ((i_749_ & 0x1000100) + (i_748_ - i_749_ & 0x10000)); + is_692_[i_691_] = i_748_ - i_750_ | i_750_ - (i_750_ >>> 8); + } else if (i_693_ == 2) { + int i_751_ = (this.anIntArray9936[i_690_]); + int i_752_ = (((i_751_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_753_ = (((i_751_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_751_ = (((i_752_ | i_753_) >>> 8) + SpriteSub3.anInt8474); + int i_754_ = is_692_[i_691_]; + int i_755_ = i_751_ + i_754_; + int i_756_ = ((i_751_ & 0xff00ff) + (i_754_ & 0xff00ff)); + i_754_ = ((i_756_ & 0x1000100) + (i_755_ - i_756_ & 0x10000)); + is_692_[i_691_] = i_755_ - i_754_ | i_754_ - (i_754_ >>> 8); + } + } else throw new IllegalArgumentException(); + i_687_ += SpriteSub3.anInt8450; + } + } + i_684_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else { + int i_757_ = SpriteSub3.anInt8468; + while (i_757_ < 0) { + int i_758_ = SpriteSub3.anInt8451; + int i_759_ = SpriteSub3.anInt8458; + int i_760_ = SpriteSub3.anInt8467 + SpriteSub3.anInt8475; + int i_761_ = SpriteSub3.anInt8478; + if (i_759_ >= 0 && (i_759_ - (this.anInt8471 << 12) < 0)) { + if (i_760_ < 0) { + int i_762_ = ((SpriteSub3.anInt8450 - 1 - i_760_) / SpriteSub3.anInt8450); + i_761_ += i_762_; + i_760_ += SpriteSub3.anInt8450 * i_762_; + i_758_ += i_762_; + } + int i_763_; + if ((i_763_ = ((1 + i_760_ - (this.anInt8470 << 12) - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_761_) i_761_ = i_763_; + for (/**/; i_761_ < 0; i_761_++) { + int i_764_ = (((i_760_ >> 12) * this.anInt8471) + (i_759_ >> 12)); + int i_765_ = i_758_++; + int[] is_766_ = is; + int i_767_ = i; + int i_768_ = i_611_; + if (i_768_ == 0) { + if (i_767_ == 1) is_766_[i_765_] = (this.anIntArray9936[i_764_]); + else if (i_767_ == 0) { + int i_769_ = (this.anIntArray9936[i_764_++]); + int i_770_ = (((i_769_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_771_ = (((i_769_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_772_ = (((i_769_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_766_[i_765_] = (i_770_ | i_771_ | i_772_) >>> 8; + } else if (i_767_ == 3) { + int i_773_ = (this.anIntArray9936[i_764_++]); + int i_774_ = SpriteSub3.anInt8480; + int i_775_ = i_773_ + i_774_; + int i_776_ = ((i_773_ & 0xff00ff) + (i_774_ & 0xff00ff)); + int i_777_ = ((i_776_ & 0x1000100) + (i_775_ - i_776_ & 0x10000)); + is_766_[i_765_] = i_775_ - i_777_ | i_777_ - (i_777_ >>> 8); + } else if (i_767_ == 2) { + int i_778_ = (this.anIntArray9936[i_764_]); + int i_779_ = (((i_778_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_780_ = (((i_778_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_766_[i_765_] = (((i_779_ | i_780_) >>> 8) + SpriteSub3.anInt8474); + } else throw new IllegalArgumentException(); + } else if (i_768_ == 1) { + if (i_767_ == 1) { + int i_781_ = (this.anIntArray9936[i_764_]); + int i_782_ = i_781_ >>> 24; + int i_783_ = 256 - i_782_; + int i_784_ = is_766_[i_765_]; + is_766_[i_765_] = ((((i_781_ & 0xff00ff) * i_782_ + (i_784_ & 0xff00ff) * i_783_) & ~0xff00ff) + (((i_781_ & 0xff00) * i_782_ + (i_784_ & 0xff00) * i_783_) & 0xff0000)) >> 8; + } else if (i_767_ == 0) { + int i_785_ = (this.anIntArray9936[i_764_]); + int i_786_ = (((i_785_ >>> 24) * SpriteSub3.anInt8477) >> 8); + int i_787_ = 256 - i_786_; + if ((SpriteSub3.anInt8480 & 0xffffff) == 16777215) { + int i_788_ = is_766_[i_765_]; + is_766_[i_765_] = ((((i_785_ & 0xff00ff) * i_786_ + ((i_788_ & 0xff00ff) * i_787_)) & ~0xff00ff) + (((i_785_ & 0xff00) * i_786_ + ((i_788_ & 0xff00) * i_787_)) & 0xff0000)) >> 8; + } else if (i_786_ == 255) { + int i_793_ = (((i_785_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_794_ = (((i_785_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_795_ = (((i_785_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_766_[i_765_] = (i_793_ | i_794_ | i_795_) >>> 8; + } else { + int i_789_ = (((i_785_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_790_ = (((i_785_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_791_ = (((i_785_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_785_ = (i_789_ | i_790_ | i_791_) >>> 8; + int i_792_ = is_766_[i_765_]; + is_766_[i_765_] = ((((i_785_ & 0xff00ff) * i_786_ + ((i_792_ & 0xff00ff) * i_787_)) & ~0xff00ff) + (((i_785_ & 0xff00) * i_786_ + ((i_792_ & 0xff00) * i_787_)) & 0xff0000)) >> 8; + } + } else if (i_767_ == 3) { + int i_796_ = (this.anIntArray9936[i_764_]); + int i_797_ = SpriteSub3.anInt8480; + int i_798_ = i_796_ + i_797_; + int i_799_ = ((i_796_ & 0xff00ff) + (i_797_ & 0xff00ff)); + int i_800_ = ((i_799_ & 0x1000100) + (i_798_ - i_799_ & 0x10000)); + i_800_ = i_798_ - i_800_ | i_800_ - (i_800_ >>> 8); + int i_801_ = (((i_796_ >>> 24) * SpriteSub3.anInt8477) >> 8); + int i_802_ = 256 - i_801_; + if (i_801_ != 255) { + i_796_ = i_800_; + i_800_ = is_766_[i_765_]; + i_800_ = ((((i_796_ & 0xff00ff) * i_801_ + ((i_800_ & 0xff00ff) * i_802_)) & ~0xff00ff) + (((i_796_ & 0xff00) * i_801_ + ((i_800_ & 0xff00) * i_802_)) & 0xff0000)) >> 8; + } + is_766_[i_765_] = i_800_; + } else if (i_767_ == 2) { + int i_803_ = (this.anIntArray9936[i_764_]); + int i_804_ = i_803_ >>> 24; + int i_805_ = 256 - i_804_; + int i_806_ = (((i_803_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_807_ = (((i_803_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_803_ = (((i_806_ | i_807_) >>> 8) + SpriteSub3.anInt8474); + int i_808_ = is_766_[i_765_]; + is_766_[i_765_] = ((((i_803_ & 0xff00ff) * i_804_ + (i_808_ & 0xff00ff) * i_805_) & ~0xff00ff) + (((i_803_ & 0xff00) * i_804_ + (i_808_ & 0xff00) * i_805_) & 0xff0000)) >> 8; + } else throw new IllegalArgumentException(); + } else if (i_768_ == 2) { + if (i_767_ == 1) { + int i_809_ = (this.anIntArray9936[i_764_]); + int i_810_ = is_766_[i_765_]; + int i_811_ = i_809_ + i_810_; + int i_812_ = ((i_809_ & 0xff00ff) + (i_810_ & 0xff00ff)); + i_810_ = ((i_812_ & 0x1000100) + (i_811_ - i_812_ & 0x10000)); + is_766_[i_765_] = i_811_ - i_810_ | i_810_ - (i_810_ >>> 8); + } else if (i_767_ == 0) { + int i_813_ = (this.anIntArray9936[i_764_]); + int i_814_ = (((i_813_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_815_ = (((i_813_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_816_ = (((i_813_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_813_ = (i_814_ | i_815_ | i_816_) >>> 8; + int i_817_ = is_766_[i_765_]; + int i_818_ = i_813_ + i_817_; + int i_819_ = ((i_813_ & 0xff00ff) + (i_817_ & 0xff00ff)); + i_817_ = ((i_819_ & 0x1000100) + (i_818_ - i_819_ & 0x10000)); + is_766_[i_765_] = i_818_ - i_817_ | i_817_ - (i_817_ >>> 8); + } else if (i_767_ == 3) { + int i_820_ = (this.anIntArray9936[i_764_]); + int i_821_ = SpriteSub3.anInt8480; + int i_822_ = i_820_ + i_821_; + int i_823_ = ((i_820_ & 0xff00ff) + (i_821_ & 0xff00ff)); + int i_824_ = ((i_823_ & 0x1000100) + (i_822_ - i_823_ & 0x10000)); + i_820_ = i_822_ - i_824_ | i_824_ - (i_824_ >>> 8); + i_824_ = is_766_[i_765_]; + i_822_ = i_820_ + i_824_; + i_823_ = (i_820_ & 0xff00ff) + (i_824_ & 0xff00ff); + i_824_ = ((i_823_ & 0x1000100) + (i_822_ - i_823_ & 0x10000)); + is_766_[i_765_] = i_822_ - i_824_ | i_824_ - (i_824_ >>> 8); + } else if (i_767_ == 2) { + int i_825_ = (this.anIntArray9936[i_764_]); + int i_826_ = (((i_825_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_827_ = (((i_825_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_825_ = (((i_826_ | i_827_) >>> 8) + SpriteSub3.anInt8474); + int i_828_ = is_766_[i_765_]; + int i_829_ = i_825_ + i_828_; + int i_830_ = ((i_825_ & 0xff00ff) + (i_828_ & 0xff00ff)); + i_828_ = ((i_830_ & 0x1000100) + (i_829_ - i_830_ & 0x10000)); + is_766_[i_765_] = i_829_ - i_828_ | i_828_ - (i_828_ >>> 8); + } + } else throw new IllegalArgumentException(); + i_760_ += SpriteSub3.anInt8450; + } + } + i_757_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } + } else if (SpriteSub3.anInt8481 < 0) { + if (SpriteSub3.anInt8450 == 0) { + int i_831_ = SpriteSub3.anInt8468; + while (i_831_ < 0) { + int i_832_ = SpriteSub3.anInt8451; + int i_833_ = SpriteSub3.anInt8458 + SpriteSub3.anInt8479; + int i_834_ = SpriteSub3.anInt8467; + int i_835_ = SpriteSub3.anInt8478; + if (i_834_ >= 0 && (i_834_ - (this.anInt8470 << 12) < 0)) { + int i_836_; + if ((i_836_ = i_833_ - (this.anInt8471 << 12)) >= 0) { + i_836_ = ((SpriteSub3.anInt8481 - i_836_) / SpriteSub3.anInt8481); + i_835_ += i_836_; + i_833_ += SpriteSub3.anInt8481 * i_836_; + i_832_ += i_836_; + } + if ((i_836_ = ((i_833_ - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_835_) i_835_ = i_836_; + for (/**/; i_835_ < 0; i_835_++) { + int i_837_ = (((i_834_ >> 12) * this.anInt8471) + (i_833_ >> 12)); + int i_838_ = i_832_++; + int[] is_839_ = is; + int i_840_ = i; + int i_841_ = i_611_; + if (i_841_ == 0) { + if (i_840_ == 1) is_839_[i_838_] = (this.anIntArray9936[i_837_]); + else if (i_840_ == 0) { + int i_842_ = (this.anIntArray9936[i_837_++]); + int i_843_ = (((i_842_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_844_ = (((i_842_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_845_ = (((i_842_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_839_[i_838_] = (i_843_ | i_844_ | i_845_) >>> 8; + } else if (i_840_ == 3) { + int i_846_ = (this.anIntArray9936[i_837_++]); + int i_847_ = SpriteSub3.anInt8480; + int i_848_ = i_846_ + i_847_; + int i_849_ = ((i_846_ & 0xff00ff) + (i_847_ & 0xff00ff)); + int i_850_ = ((i_849_ & 0x1000100) + (i_848_ - i_849_ & 0x10000)); + is_839_[i_838_] = i_848_ - i_850_ | i_850_ - (i_850_ >>> 8); + } else if (i_840_ == 2) { + int i_851_ = (this.anIntArray9936[i_837_]); + int i_852_ = (((i_851_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_853_ = (((i_851_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_839_[i_838_] = (((i_852_ | i_853_) >>> 8) + SpriteSub3.anInt8474); + } else throw new IllegalArgumentException(); + } else if (i_841_ == 1) { + if (i_840_ == 1) { + int i_854_ = (this.anIntArray9936[i_837_]); + int i_855_ = i_854_ >>> 24; + int i_856_ = 256 - i_855_; + int i_857_ = is_839_[i_838_]; + is_839_[i_838_] = ((((i_854_ & 0xff00ff) * i_855_ + (i_857_ & 0xff00ff) * i_856_) & ~0xff00ff) + (((i_854_ & 0xff00) * i_855_ + (i_857_ & 0xff00) * i_856_) & 0xff0000)) >> 8; + } else if (i_840_ == 0) { + int i_858_ = (this.anIntArray9936[i_837_]); + int i_859_ = (((i_858_ >>> 24) * SpriteSub3.anInt8477) >> 8); + int i_860_ = 256 - i_859_; + if ((SpriteSub3.anInt8480 & 0xffffff) == 16777215) { + int i_861_ = is_839_[i_838_]; + is_839_[i_838_] = ((((i_858_ & 0xff00ff) * i_859_ + ((i_861_ & 0xff00ff) * i_860_)) & ~0xff00ff) + (((i_858_ & 0xff00) * i_859_ + ((i_861_ & 0xff00) * i_860_)) & 0xff0000)) >> 8; + } else if (i_859_ == 255) { + int i_866_ = (((i_858_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_867_ = (((i_858_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_868_ = (((i_858_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_839_[i_838_] = (i_866_ | i_867_ | i_868_) >>> 8; + } else { + int i_862_ = (((i_858_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_863_ = (((i_858_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_864_ = (((i_858_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_858_ = (i_862_ | i_863_ | i_864_) >>> 8; + int i_865_ = is_839_[i_838_]; + is_839_[i_838_] = ((((i_858_ & 0xff00ff) * i_859_ + ((i_865_ & 0xff00ff) * i_860_)) & ~0xff00ff) + (((i_858_ & 0xff00) * i_859_ + ((i_865_ & 0xff00) * i_860_)) & 0xff0000)) >> 8; + } + } else if (i_840_ == 3) { + int i_869_ = (this.anIntArray9936[i_837_]); + int i_870_ = SpriteSub3.anInt8480; + int i_871_ = i_869_ + i_870_; + int i_872_ = ((i_869_ & 0xff00ff) + (i_870_ & 0xff00ff)); + int i_873_ = ((i_872_ & 0x1000100) + (i_871_ - i_872_ & 0x10000)); + i_873_ = i_871_ - i_873_ | i_873_ - (i_873_ >>> 8); + int i_874_ = (((i_869_ >>> 24) * SpriteSub3.anInt8477) >> 8); + int i_875_ = 256 - i_874_; + if (i_874_ != 255) { + i_869_ = i_873_; + i_873_ = is_839_[i_838_]; + i_873_ = ((((i_869_ & 0xff00ff) * i_874_ + ((i_873_ & 0xff00ff) * i_875_)) & ~0xff00ff) + (((i_869_ & 0xff00) * i_874_ + ((i_873_ & 0xff00) * i_875_)) & 0xff0000)) >> 8; + } + is_839_[i_838_] = i_873_; + } else if (i_840_ == 2) { + int i_876_ = (this.anIntArray9936[i_837_]); + int i_877_ = i_876_ >>> 24; + int i_878_ = 256 - i_877_; + int i_879_ = (((i_876_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_880_ = (((i_876_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_876_ = (((i_879_ | i_880_) >>> 8) + SpriteSub3.anInt8474); + int i_881_ = is_839_[i_838_]; + is_839_[i_838_] = ((((i_876_ & 0xff00ff) * i_877_ + (i_881_ & 0xff00ff) * i_878_) & ~0xff00ff) + (((i_876_ & 0xff00) * i_877_ + (i_881_ & 0xff00) * i_878_) & 0xff0000)) >> 8; + } else throw new IllegalArgumentException(); + } else if (i_841_ == 2) { + if (i_840_ == 1) { + int i_882_ = (this.anIntArray9936[i_837_]); + int i_883_ = is_839_[i_838_]; + int i_884_ = i_882_ + i_883_; + int i_885_ = ((i_882_ & 0xff00ff) + (i_883_ & 0xff00ff)); + i_883_ = ((i_885_ & 0x1000100) + (i_884_ - i_885_ & 0x10000)); + is_839_[i_838_] = i_884_ - i_883_ | i_883_ - (i_883_ >>> 8); + } else if (i_840_ == 0) { + int i_886_ = (this.anIntArray9936[i_837_]); + int i_887_ = (((i_886_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_888_ = (((i_886_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_889_ = (((i_886_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_886_ = (i_887_ | i_888_ | i_889_) >>> 8; + int i_890_ = is_839_[i_838_]; + int i_891_ = i_886_ + i_890_; + int i_892_ = ((i_886_ & 0xff00ff) + (i_890_ & 0xff00ff)); + i_890_ = ((i_892_ & 0x1000100) + (i_891_ - i_892_ & 0x10000)); + is_839_[i_838_] = i_891_ - i_890_ | i_890_ - (i_890_ >>> 8); + } else if (i_840_ == 3) { + int i_893_ = (this.anIntArray9936[i_837_]); + int i_894_ = SpriteSub3.anInt8480; + int i_895_ = i_893_ + i_894_; + int i_896_ = ((i_893_ & 0xff00ff) + (i_894_ & 0xff00ff)); + int i_897_ = ((i_896_ & 0x1000100) + (i_895_ - i_896_ & 0x10000)); + i_893_ = i_895_ - i_897_ | i_897_ - (i_897_ >>> 8); + i_897_ = is_839_[i_838_]; + i_895_ = i_893_ + i_897_; + i_896_ = (i_893_ & 0xff00ff) + (i_897_ & 0xff00ff); + i_897_ = ((i_896_ & 0x1000100) + (i_895_ - i_896_ & 0x10000)); + is_839_[i_838_] = i_895_ - i_897_ | i_897_ - (i_897_ >>> 8); + } else if (i_840_ == 2) { + int i_898_ = (this.anIntArray9936[i_837_]); + int i_899_ = (((i_898_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_900_ = (((i_898_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_898_ = (((i_899_ | i_900_) >>> 8) + SpriteSub3.anInt8474); + int i_901_ = is_839_[i_838_]; + int i_902_ = i_898_ + i_901_; + int i_903_ = ((i_898_ & 0xff00ff) + (i_901_ & 0xff00ff)); + i_901_ = ((i_903_ & 0x1000100) + (i_902_ - i_903_ & 0x10000)); + is_839_[i_838_] = i_902_ - i_901_ | i_901_ - (i_901_ >>> 8); + } + } else throw new IllegalArgumentException(); + i_833_ += SpriteSub3.anInt8481; + } + } + i_831_++; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else if (SpriteSub3.anInt8450 < 0) { + int i_904_ = SpriteSub3.anInt8468; + while (i_904_ < 0) { + int i_905_ = SpriteSub3.anInt8451; + int i_906_ = SpriteSub3.anInt8458 + SpriteSub3.anInt8479; + int i_907_ = SpriteSub3.anInt8467 + SpriteSub3.anInt8475; + int i_908_ = SpriteSub3.anInt8478; + int i_909_; + if ((i_909_ = i_906_ - (this.anInt8471 << 12)) >= 0) { + i_909_ = ((SpriteSub3.anInt8481 - i_909_) / SpriteSub3.anInt8481); + i_908_ += i_909_; + i_906_ += SpriteSub3.anInt8481 * i_909_; + i_907_ += SpriteSub3.anInt8450 * i_909_; + i_905_ += i_909_; + } + if ((i_909_ = ((i_906_ - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_908_) i_908_ = i_909_; + if ((i_909_ = i_907_ - (this.anInt8470 << 12)) >= 0) { + i_909_ = ((SpriteSub3.anInt8450 - i_909_) / SpriteSub3.anInt8450); + i_908_ += i_909_; + i_906_ += SpriteSub3.anInt8481 * i_909_; + i_907_ += SpriteSub3.anInt8450 * i_909_; + i_905_ += i_909_; + } + if ((i_909_ = ((i_907_ - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_908_) i_908_ = i_909_; + for (/**/; i_908_ < 0; i_908_++) { + int i_910_ = (((i_907_ >> 12) * this.anInt8471) + (i_906_ >> 12)); + int i_911_ = i_905_++; + int[] is_912_ = is; + int i_913_ = i; + int i_914_ = i_611_; + if (i_914_ == 0) { + if (i_913_ == 1) is_912_[i_911_] = (this.anIntArray9936[i_910_]); + else if (i_913_ == 0) { + int i_915_ = (this.anIntArray9936[i_910_++]); + int i_916_ = (((i_915_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_917_ = (((i_915_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_918_ = (((i_915_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_912_[i_911_] = (i_916_ | i_917_ | i_918_) >>> 8; + } else if (i_913_ == 3) { + int i_919_ = (this.anIntArray9936[i_910_++]); + int i_920_ = SpriteSub3.anInt8480; + int i_921_ = i_919_ + i_920_; + int i_922_ = ((i_919_ & 0xff00ff) + (i_920_ & 0xff00ff)); + int i_923_ = ((i_922_ & 0x1000100) + (i_921_ - i_922_ & 0x10000)); + is_912_[i_911_] = i_921_ - i_923_ | i_923_ - (i_923_ >>> 8); + } else if (i_913_ == 2) { + int i_924_ = (this.anIntArray9936[i_910_]); + int i_925_ = (((i_924_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_926_ = (((i_924_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_912_[i_911_] = (((i_925_ | i_926_) >>> 8) + SpriteSub3.anInt8474); + } else throw new IllegalArgumentException(); + } else if (i_914_ == 1) { + if (i_913_ == 1) { + int i_927_ = (this.anIntArray9936[i_910_]); + int i_928_ = i_927_ >>> 24; + int i_929_ = 256 - i_928_; + int i_930_ = is_912_[i_911_]; + is_912_[i_911_] = ((((i_927_ & 0xff00ff) * i_928_ + (i_930_ & 0xff00ff) * i_929_) & ~0xff00ff) + (((i_927_ & 0xff00) * i_928_ + (i_930_ & 0xff00) * i_929_) & 0xff0000)) >> 8; + } else if (i_913_ == 0) { + int i_931_ = (this.anIntArray9936[i_910_]); + int i_932_ = (((i_931_ >>> 24) * SpriteSub3.anInt8477) >> 8); + int i_933_ = 256 - i_932_; + if ((SpriteSub3.anInt8480 & 0xffffff) == 16777215) { + int i_934_ = is_912_[i_911_]; + is_912_[i_911_] = ((((i_931_ & 0xff00ff) * i_932_ + (i_934_ & 0xff00ff) * i_933_) & ~0xff00ff) + (((i_931_ & 0xff00) * i_932_ + (i_934_ & 0xff00) * i_933_) & 0xff0000)) >> 8; + } else if (i_932_ == 255) { + int i_939_ = (((i_931_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_940_ = (((i_931_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_941_ = (((i_931_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_912_[i_911_] = (i_939_ | i_940_ | i_941_) >>> 8; + } else { + int i_935_ = (((i_931_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_936_ = (((i_931_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_937_ = (((i_931_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_931_ = (i_935_ | i_936_ | i_937_) >>> 8; + int i_938_ = is_912_[i_911_]; + is_912_[i_911_] = ((((i_931_ & 0xff00ff) * i_932_ + (i_938_ & 0xff00ff) * i_933_) & ~0xff00ff) + (((i_931_ & 0xff00) * i_932_ + (i_938_ & 0xff00) * i_933_) & 0xff0000)) >> 8; + } + } else if (i_913_ == 3) { + int i_942_ = (this.anIntArray9936[i_910_]); + int i_943_ = SpriteSub3.anInt8480; + int i_944_ = i_942_ + i_943_; + int i_945_ = ((i_942_ & 0xff00ff) + (i_943_ & 0xff00ff)); + int i_946_ = ((i_945_ & 0x1000100) + (i_944_ - i_945_ & 0x10000)); + i_946_ = i_944_ - i_946_ | i_946_ - (i_946_ >>> 8); + int i_947_ = (((i_942_ >>> 24) * SpriteSub3.anInt8477) >> 8); + int i_948_ = 256 - i_947_; + if (i_947_ != 255) { + i_942_ = i_946_; + i_946_ = is_912_[i_911_]; + i_946_ = ((((i_942_ & 0xff00ff) * i_947_ + (i_946_ & 0xff00ff) * i_948_) & ~0xff00ff) + (((i_942_ & 0xff00) * i_947_ + (i_946_ & 0xff00) * i_948_) & 0xff0000)) >> 8; + } + is_912_[i_911_] = i_946_; + } else if (i_913_ == 2) { + int i_949_ = (this.anIntArray9936[i_910_]); + int i_950_ = i_949_ >>> 24; + int i_951_ = 256 - i_950_; + int i_952_ = (((i_949_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_953_ = (((i_949_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_949_ = (((i_952_ | i_953_) >>> 8) + SpriteSub3.anInt8474); + int i_954_ = is_912_[i_911_]; + is_912_[i_911_] = ((((i_949_ & 0xff00ff) * i_950_ + (i_954_ & 0xff00ff) * i_951_) & ~0xff00ff) + (((i_949_ & 0xff00) * i_950_ + (i_954_ & 0xff00) * i_951_) & 0xff0000)) >> 8; + } else throw new IllegalArgumentException(); + } else if (i_914_ == 2) { + if (i_913_ == 1) { + int i_955_ = (this.anIntArray9936[i_910_]); + int i_956_ = is_912_[i_911_]; + int i_957_ = i_955_ + i_956_; + int i_958_ = ((i_955_ & 0xff00ff) + (i_956_ & 0xff00ff)); + i_956_ = (i_958_ & 0x1000100) + (i_957_ - i_958_ & 0x10000); + is_912_[i_911_] = i_957_ - i_956_ | i_956_ - (i_956_ >>> 8); + } else if (i_913_ == 0) { + int i_959_ = (this.anIntArray9936[i_910_]); + int i_960_ = (((i_959_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_961_ = (((i_959_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_962_ = (((i_959_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_959_ = (i_960_ | i_961_ | i_962_) >>> 8; + int i_963_ = is_912_[i_911_]; + int i_964_ = i_959_ + i_963_; + int i_965_ = ((i_959_ & 0xff00ff) + (i_963_ & 0xff00ff)); + i_963_ = (i_965_ & 0x1000100) + (i_964_ - i_965_ & 0x10000); + is_912_[i_911_] = i_964_ - i_963_ | i_963_ - (i_963_ >>> 8); + } else if (i_913_ == 3) { + int i_966_ = (this.anIntArray9936[i_910_]); + int i_967_ = SpriteSub3.anInt8480; + int i_968_ = i_966_ + i_967_; + int i_969_ = ((i_966_ & 0xff00ff) + (i_967_ & 0xff00ff)); + int i_970_ = ((i_969_ & 0x1000100) + (i_968_ - i_969_ & 0x10000)); + i_966_ = i_968_ - i_970_ | i_970_ - (i_970_ >>> 8); + i_970_ = is_912_[i_911_]; + i_968_ = i_966_ + i_970_; + i_969_ = (i_966_ & 0xff00ff) + (i_970_ & 0xff00ff); + i_970_ = (i_969_ & 0x1000100) + (i_968_ - i_969_ & 0x10000); + is_912_[i_911_] = i_968_ - i_970_ | i_970_ - (i_970_ >>> 8); + } else if (i_913_ == 2) { + int i_971_ = (this.anIntArray9936[i_910_]); + int i_972_ = (((i_971_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_973_ = (((i_971_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_971_ = (((i_972_ | i_973_) >>> 8) + SpriteSub3.anInt8474); + int i_974_ = is_912_[i_911_]; + int i_975_ = i_971_ + i_974_; + int i_976_ = ((i_971_ & 0xff00ff) + (i_974_ & 0xff00ff)); + i_974_ = (i_976_ & 0x1000100) + (i_975_ - i_976_ & 0x10000); + is_912_[i_911_] = i_975_ - i_974_ | i_974_ - (i_974_ >>> 8); + } + } else throw new IllegalArgumentException(); + i_906_ += SpriteSub3.anInt8481; + i_907_ += SpriteSub3.anInt8450; + } + i_904_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else { + int i_977_ = SpriteSub3.anInt8468; + while (i_977_ < 0) { + int i_978_ = SpriteSub3.anInt8451; + int i_979_ = SpriteSub3.anInt8458 + SpriteSub3.anInt8479; + int i_980_ = SpriteSub3.anInt8467 + SpriteSub3.anInt8475; + int i_981_ = SpriteSub3.anInt8478; + int i_982_; + if ((i_982_ = i_979_ - (this.anInt8471 << 12)) >= 0) { + i_982_ = ((SpriteSub3.anInt8481 - i_982_) / SpriteSub3.anInt8481); + i_981_ += i_982_; + i_979_ += SpriteSub3.anInt8481 * i_982_; + i_980_ += SpriteSub3.anInt8450 * i_982_; + i_978_ += i_982_; + } + if ((i_982_ = ((i_979_ - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_981_) i_981_ = i_982_; + if (i_980_ < 0) { + i_982_ = ((SpriteSub3.anInt8450 - 1 - i_980_) / SpriteSub3.anInt8450); + i_981_ += i_982_; + i_979_ += SpriteSub3.anInt8481 * i_982_; + i_980_ += SpriteSub3.anInt8450 * i_982_; + i_978_ += i_982_; + } + if ((i_982_ = ((1 + i_980_ - (this.anInt8470 << 12) - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_981_) i_981_ = i_982_; + for (/**/; i_981_ < 0; i_981_++) { + int i_983_ = (((i_980_ >> 12) * this.anInt8471) + (i_979_ >> 12)); + int i_984_ = i_978_++; + int[] is_985_ = is; + int i_986_ = i; + int i_987_ = i_611_; + if (i_987_ == 0) { + if (i_986_ == 1) is_985_[i_984_] = (this.anIntArray9936[i_983_]); + else if (i_986_ == 0) { + int i_988_ = (this.anIntArray9936[i_983_++]); + int i_989_ = (((i_988_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_990_ = (((i_988_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_991_ = (((i_988_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_985_[i_984_] = (i_989_ | i_990_ | i_991_) >>> 8; + } else if (i_986_ == 3) { + int i_992_ = (this.anIntArray9936[i_983_++]); + int i_993_ = SpriteSub3.anInt8480; + int i_994_ = i_992_ + i_993_; + int i_995_ = ((i_992_ & 0xff00ff) + (i_993_ & 0xff00ff)); + int i_996_ = ((i_995_ & 0x1000100) + (i_994_ - i_995_ & 0x10000)); + is_985_[i_984_] = i_994_ - i_996_ | i_996_ - (i_996_ >>> 8); + } else if (i_986_ == 2) { + int i_997_ = (this.anIntArray9936[i_983_]); + int i_998_ = (((i_997_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_999_ = (((i_997_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_985_[i_984_] = (((i_998_ | i_999_) >>> 8) + SpriteSub3.anInt8474); + } else throw new IllegalArgumentException(); + } else if (i_987_ == 1) { + if (i_986_ == 1) { + int i_1000_ = (this.anIntArray9936[i_983_]); + int i_1001_ = i_1000_ >>> 24; + int i_1002_ = 256 - i_1001_; + int i_1003_ = is_985_[i_984_]; + is_985_[i_984_] = ((((i_1000_ & 0xff00ff) * i_1001_ + (i_1003_ & 0xff00ff) * i_1002_) & ~0xff00ff) + (((i_1000_ & 0xff00) * i_1001_ + (i_1003_ & 0xff00) * i_1002_) & 0xff0000)) >> 8; + } else if (i_986_ == 0) { + int i_1004_ = (this.anIntArray9936[i_983_]); + int i_1005_ = (((i_1004_ >>> 24) * SpriteSub3.anInt8477) >> 8); + int i_1006_ = 256 - i_1005_; + if ((SpriteSub3.anInt8480 & 0xffffff) == 16777215) { + int i_1007_ = is_985_[i_984_]; + is_985_[i_984_] = ((((i_1004_ & 0xff00ff) * i_1005_ + (i_1007_ & 0xff00ff) * i_1006_) & ~0xff00ff) + (((i_1004_ & 0xff00) * i_1005_ + (i_1007_ & 0xff00) * i_1006_) & 0xff0000)) >> 8; + } else if (i_1005_ == 255) { + int i_1012_ = (((i_1004_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_1013_ = (((i_1004_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_1014_ = (((i_1004_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_985_[i_984_] = (i_1012_ | i_1013_ | i_1014_) >>> 8; + } else { + int i_1008_ = (((i_1004_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_1009_ = (((i_1004_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_1010_ = (((i_1004_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_1004_ = (i_1008_ | i_1009_ | i_1010_) >>> 8; + int i_1011_ = is_985_[i_984_]; + is_985_[i_984_] = ((((i_1004_ & 0xff00ff) * i_1005_ + (i_1011_ & 0xff00ff) * i_1006_) & ~0xff00ff) + (((i_1004_ & 0xff00) * i_1005_ + (i_1011_ & 0xff00) * i_1006_) & 0xff0000)) >> 8; + } + } else if (i_986_ == 3) { + int i_1015_ = (this.anIntArray9936[i_983_]); + int i_1016_ = SpriteSub3.anInt8480; + int i_1017_ = i_1015_ + i_1016_; + int i_1018_ = ((i_1015_ & 0xff00ff) + (i_1016_ & 0xff00ff)); + int i_1019_ = ((i_1018_ & 0x1000100) + (i_1017_ - i_1018_ & 0x10000)); + i_1019_ = i_1017_ - i_1019_ | i_1019_ - (i_1019_ >>> 8); + int i_1020_ = (((i_1015_ >>> 24) * SpriteSub3.anInt8477) >> 8); + int i_1021_ = 256 - i_1020_; + if (i_1020_ != 255) { + i_1015_ = i_1019_; + i_1019_ = is_985_[i_984_]; + i_1019_ = ((((i_1015_ & 0xff00ff) * i_1020_ + (i_1019_ & 0xff00ff) * i_1021_) & ~0xff00ff) + (((i_1015_ & 0xff00) * i_1020_ + (i_1019_ & 0xff00) * i_1021_) & 0xff0000)) >> 8; + } + is_985_[i_984_] = i_1019_; + } else if (i_986_ == 2) { + int i_1022_ = (this.anIntArray9936[i_983_]); + int i_1023_ = i_1022_ >>> 24; + int i_1024_ = 256 - i_1023_; + int i_1025_ = (((i_1022_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_1026_ = (((i_1022_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_1022_ = (((i_1025_ | i_1026_) >>> 8) + SpriteSub3.anInt8474); + int i_1027_ = is_985_[i_984_]; + is_985_[i_984_] = ((((i_1022_ & 0xff00ff) * i_1023_ + (i_1027_ & 0xff00ff) * i_1024_) & ~0xff00ff) + (((i_1022_ & 0xff00) * i_1023_ + (i_1027_ & 0xff00) * i_1024_) & 0xff0000)) >> 8; + } else throw new IllegalArgumentException(); + } else if (i_987_ == 2) { + if (i_986_ == 1) { + int i_1028_ = (this.anIntArray9936[i_983_]); + int i_1029_ = is_985_[i_984_]; + int i_1030_ = i_1028_ + i_1029_; + int i_1031_ = ((i_1028_ & 0xff00ff) + (i_1029_ & 0xff00ff)); + i_1029_ = ((i_1031_ & 0x1000100) + (i_1030_ - i_1031_ & 0x10000)); + is_985_[i_984_] = i_1030_ - i_1029_ | i_1029_ - (i_1029_ >>> 8); + } else if (i_986_ == 0) { + int i_1032_ = (this.anIntArray9936[i_983_]); + int i_1033_ = (((i_1032_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_1034_ = (((i_1032_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_1035_ = (((i_1032_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_1032_ = (i_1033_ | i_1034_ | i_1035_) >>> 8; + int i_1036_ = is_985_[i_984_]; + int i_1037_ = i_1032_ + i_1036_; + int i_1038_ = ((i_1032_ & 0xff00ff) + (i_1036_ & 0xff00ff)); + i_1036_ = ((i_1038_ & 0x1000100) + (i_1037_ - i_1038_ & 0x10000)); + is_985_[i_984_] = i_1037_ - i_1036_ | i_1036_ - (i_1036_ >>> 8); + } else if (i_986_ == 3) { + int i_1039_ = (this.anIntArray9936[i_983_]); + int i_1040_ = SpriteSub3.anInt8480; + int i_1041_ = i_1039_ + i_1040_; + int i_1042_ = ((i_1039_ & 0xff00ff) + (i_1040_ & 0xff00ff)); + int i_1043_ = ((i_1042_ & 0x1000100) + (i_1041_ - i_1042_ & 0x10000)); + i_1039_ = i_1041_ - i_1043_ | i_1043_ - (i_1043_ >>> 8); + i_1043_ = is_985_[i_984_]; + i_1041_ = i_1039_ + i_1043_; + i_1042_ = (i_1039_ & 0xff00ff) + (i_1043_ & 0xff00ff); + i_1043_ = ((i_1042_ & 0x1000100) + (i_1041_ - i_1042_ & 0x10000)); + is_985_[i_984_] = i_1041_ - i_1043_ | i_1043_ - (i_1043_ >>> 8); + } else if (i_986_ == 2) { + int i_1044_ = (this.anIntArray9936[i_983_]); + int i_1045_ = (((i_1044_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_1046_ = (((i_1044_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_1044_ = (((i_1045_ | i_1046_) >>> 8) + SpriteSub3.anInt8474); + int i_1047_ = is_985_[i_984_]; + int i_1048_ = i_1044_ + i_1047_; + int i_1049_ = ((i_1044_ & 0xff00ff) + (i_1047_ & 0xff00ff)); + i_1047_ = ((i_1049_ & 0x1000100) + (i_1048_ - i_1049_ & 0x10000)); + is_985_[i_984_] = i_1048_ - i_1047_ | i_1047_ - (i_1047_ >>> 8); + } + } else throw new IllegalArgumentException(); + i_979_ += SpriteSub3.anInt8481; + i_980_ += SpriteSub3.anInt8450; + } + i_977_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } + } else if (SpriteSub3.anInt8450 == 0) { + int i_1050_ = SpriteSub3.anInt8468; + while (i_1050_ < 0) { + int i_1051_ = SpriteSub3.anInt8451; + int i_1052_ = SpriteSub3.anInt8458 + SpriteSub3.anInt8479; + int i_1053_ = SpriteSub3.anInt8467; + int i_1054_ = SpriteSub3.anInt8478; + if (i_1053_ >= 0 && i_1053_ - (this.anInt8470 << 12) < 0) { + if (i_1052_ < 0) { + int i_1055_ = ((SpriteSub3.anInt8481 - 1 - i_1052_) / SpriteSub3.anInt8481); + i_1054_ += i_1055_; + i_1052_ += SpriteSub3.anInt8481 * i_1055_; + i_1051_ += i_1055_; + } + int i_1056_; + if ((i_1056_ = ((1 + i_1052_ - (this.anInt8471 << 12) - SpriteSub3.anInt8481) / SpriteSub3.anInt8481)) > i_1054_) i_1054_ = i_1056_; + for (/**/; i_1054_ < 0; i_1054_++) { + int i_1057_ = (((i_1053_ >> 12) * this.anInt8471) + (i_1052_ >> 12)); + int i_1058_ = i_1051_++; + int[] is_1059_ = is; + int i_1060_ = i; + int i_1061_ = i_611_; + if (i_1061_ == 0) { + if (i_1060_ == 1) is_1059_[i_1058_] = (this.anIntArray9936[i_1057_]); + else if (i_1060_ == 0) { + int i_1062_ = (this.anIntArray9936[i_1057_++]); + int i_1063_ = (((i_1062_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_1064_ = (((i_1062_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_1065_ = (((i_1062_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_1059_[i_1058_] = (i_1063_ | i_1064_ | i_1065_) >>> 8; + } else if (i_1060_ == 3) { + int i_1066_ = (this.anIntArray9936[i_1057_++]); + int i_1067_ = SpriteSub3.anInt8480; + int i_1068_ = i_1066_ + i_1067_; + int i_1069_ = ((i_1066_ & 0xff00ff) + (i_1067_ & 0xff00ff)); + int i_1070_ = ((i_1069_ & 0x1000100) + (i_1068_ - i_1069_ & 0x10000)); + is_1059_[i_1058_] = i_1068_ - i_1070_ | i_1070_ - (i_1070_ >>> 8); + } else if (i_1060_ == 2) { + int i_1071_ = (this.anIntArray9936[i_1057_]); + int i_1072_ = (((i_1071_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_1073_ = (((i_1071_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + is_1059_[i_1058_] = (((i_1072_ | i_1073_) >>> 8) + SpriteSub3.anInt8474); + } else throw new IllegalArgumentException(); + } else if (i_1061_ == 1) { + if (i_1060_ == 1) { + int i_1074_ = (this.anIntArray9936[i_1057_]); + int i_1075_ = i_1074_ >>> 24; + int i_1076_ = 256 - i_1075_; + int i_1077_ = is_1059_[i_1058_]; + is_1059_[i_1058_] = ((((i_1074_ & 0xff00ff) * i_1075_ + (i_1077_ & 0xff00ff) * i_1076_) & ~0xff00ff) + (((i_1074_ & 0xff00) * i_1075_ + (i_1077_ & 0xff00) * i_1076_) & 0xff0000)) >> 8; + } else if (i_1060_ == 0) { + int i_1078_ = (this.anIntArray9936[i_1057_]); + int i_1079_ = (((i_1078_ >>> 24) * SpriteSub3.anInt8477) >> 8); + int i_1080_ = 256 - i_1079_; + if ((SpriteSub3.anInt8480 & 0xffffff) == 16777215) { + int i_1081_ = is_1059_[i_1058_]; + is_1059_[i_1058_] = ((((i_1078_ & 0xff00ff) * i_1079_ + (i_1081_ & 0xff00ff) * i_1080_) & ~0xff00ff) + (((i_1078_ & 0xff00) * i_1079_ + (i_1081_ & 0xff00) * i_1080_) & 0xff0000)) >> 8; + } else if (i_1079_ == 255) { + int i_1086_ = (((i_1078_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_1087_ = (((i_1078_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_1088_ = (((i_1078_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_1059_[i_1058_] = (i_1086_ | i_1087_ | i_1088_) >>> 8; + } else { + int i_1082_ = (((i_1078_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_1083_ = (((i_1078_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_1084_ = (((i_1078_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_1078_ = (i_1082_ | i_1083_ | i_1084_) >>> 8; + int i_1085_ = is_1059_[i_1058_]; + is_1059_[i_1058_] = ((((i_1078_ & 0xff00ff) * i_1079_ + (i_1085_ & 0xff00ff) * i_1080_) & ~0xff00ff) + (((i_1078_ & 0xff00) * i_1079_ + (i_1085_ & 0xff00) * i_1080_) & 0xff0000)) >> 8; + } + } else if (i_1060_ == 3) { + int i_1089_ = (this.anIntArray9936[i_1057_]); + int i_1090_ = SpriteSub3.anInt8480; + int i_1091_ = i_1089_ + i_1090_; + int i_1092_ = ((i_1089_ & 0xff00ff) + (i_1090_ & 0xff00ff)); + int i_1093_ = ((i_1092_ & 0x1000100) + (i_1091_ - i_1092_ & 0x10000)); + i_1093_ = i_1091_ - i_1093_ | i_1093_ - (i_1093_ >>> 8); + int i_1094_ = (((i_1089_ >>> 24) * SpriteSub3.anInt8477) >> 8); + int i_1095_ = 256 - i_1094_; + if (i_1094_ != 255) { + i_1089_ = i_1093_; + i_1093_ = is_1059_[i_1058_]; + i_1093_ = ((((i_1089_ & 0xff00ff) * i_1094_ + (i_1093_ & 0xff00ff) * i_1095_) & ~0xff00ff) + (((i_1089_ & 0xff00) * i_1094_ + (i_1093_ & 0xff00) * i_1095_) & 0xff0000)) >> 8; + } + is_1059_[i_1058_] = i_1093_; + } else if (i_1060_ == 2) { + int i_1096_ = (this.anIntArray9936[i_1057_]); + int i_1097_ = i_1096_ >>> 24; + int i_1098_ = 256 - i_1097_; + int i_1099_ = (((i_1096_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_1100_ = (((i_1096_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_1096_ = (((i_1099_ | i_1100_) >>> 8) + SpriteSub3.anInt8474); + int i_1101_ = is_1059_[i_1058_]; + is_1059_[i_1058_] = ((((i_1096_ & 0xff00ff) * i_1097_ + (i_1101_ & 0xff00ff) * i_1098_) & ~0xff00ff) + (((i_1096_ & 0xff00) * i_1097_ + (i_1101_ & 0xff00) * i_1098_) & 0xff0000)) >> 8; + } else throw new IllegalArgumentException(); + } else if (i_1061_ == 2) { + if (i_1060_ == 1) { + int i_1102_ = (this.anIntArray9936[i_1057_]); + int i_1103_ = is_1059_[i_1058_]; + int i_1104_ = i_1102_ + i_1103_; + int i_1105_ = ((i_1102_ & 0xff00ff) + (i_1103_ & 0xff00ff)); + i_1103_ = ((i_1105_ & 0x1000100) + (i_1104_ - i_1105_ & 0x10000)); + is_1059_[i_1058_] = i_1104_ - i_1103_ | i_1103_ - (i_1103_ >>> 8); + } else if (i_1060_ == 0) { + int i_1106_ = (this.anIntArray9936[i_1057_]); + int i_1107_ = (((i_1106_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_1108_ = (((i_1106_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_1109_ = (((i_1106_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_1106_ = (i_1107_ | i_1108_ | i_1109_) >>> 8; + int i_1110_ = is_1059_[i_1058_]; + int i_1111_ = i_1106_ + i_1110_; + int i_1112_ = ((i_1106_ & 0xff00ff) + (i_1110_ & 0xff00ff)); + i_1110_ = ((i_1112_ & 0x1000100) + (i_1111_ - i_1112_ & 0x10000)); + is_1059_[i_1058_] = i_1111_ - i_1110_ | i_1110_ - (i_1110_ >>> 8); + } else if (i_1060_ == 3) { + int i_1113_ = (this.anIntArray9936[i_1057_]); + int i_1114_ = SpriteSub3.anInt8480; + int i_1115_ = i_1113_ + i_1114_; + int i_1116_ = ((i_1113_ & 0xff00ff) + (i_1114_ & 0xff00ff)); + int i_1117_ = ((i_1116_ & 0x1000100) + (i_1115_ - i_1116_ & 0x10000)); + i_1113_ = i_1115_ - i_1117_ | i_1117_ - (i_1117_ >>> 8); + i_1117_ = is_1059_[i_1058_]; + i_1115_ = i_1113_ + i_1117_; + i_1116_ = (i_1113_ & 0xff00ff) + (i_1117_ & 0xff00ff); + i_1117_ = ((i_1116_ & 0x1000100) + (i_1115_ - i_1116_ & 0x10000)); + is_1059_[i_1058_] = i_1115_ - i_1117_ | i_1117_ - (i_1117_ >>> 8); + } else if (i_1060_ == 2) { + int i_1118_ = (this.anIntArray9936[i_1057_]); + int i_1119_ = (((i_1118_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_1120_ = (((i_1118_ & 0xff00) * SpriteSub3.anInt8477) & 0xff0000); + i_1118_ = (((i_1119_ | i_1120_) >>> 8) + SpriteSub3.anInt8474); + int i_1121_ = is_1059_[i_1058_]; + int i_1122_ = i_1118_ + i_1121_; + int i_1123_ = ((i_1118_ & 0xff00ff) + (i_1121_ & 0xff00ff)); + i_1121_ = ((i_1123_ & 0x1000100) + (i_1122_ - i_1123_ & 0x10000)); + is_1059_[i_1058_] = i_1122_ - i_1121_ | i_1121_ - (i_1121_ >>> 8); + } + } else throw new IllegalArgumentException(); + i_1052_ += SpriteSub3.anInt8481; + } + } + i_1050_++; + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else if (SpriteSub3.anInt8450 < 0) { + for (int i_1124_ = SpriteSub3.anInt8468; i_1124_ < 0; i_1124_++) { + int i_1125_ = SpriteSub3.anInt8451; + int i_1126_ = SpriteSub3.anInt8458 + SpriteSub3.anInt8479; + int i_1127_ = SpriteSub3.anInt8467 + SpriteSub3.anInt8475; + int i_1128_ = SpriteSub3.anInt8478; + if (i_1126_ < 0) { + int i_1129_ = ((SpriteSub3.anInt8481 - 1 - i_1126_) / SpriteSub3.anInt8481); + i_1128_ += i_1129_; + i_1126_ += SpriteSub3.anInt8481 * i_1129_; + i_1127_ += SpriteSub3.anInt8450 * i_1129_; + i_1125_ += i_1129_; + } + int i_1130_; + if ((i_1130_ = (1 + i_1126_ - (this.anInt8471 << 12) - SpriteSub3.anInt8481) / SpriteSub3.anInt8481) > i_1128_) i_1128_ = i_1130_; + if ((i_1130_ = i_1127_ - (this.anInt8470 << 12)) >= 0) { + i_1130_ = ((SpriteSub3.anInt8450 - i_1130_) / SpriteSub3.anInt8450); + i_1128_ += i_1130_; + i_1126_ += SpriteSub3.anInt8481 * i_1130_; + i_1127_ += SpriteSub3.anInt8450 * i_1130_; + i_1125_ += i_1130_; + } + if ((i_1130_ = ((i_1127_ - SpriteSub3.anInt8450) / SpriteSub3.anInt8450)) > i_1128_) i_1128_ = i_1130_; + for (/**/; i_1128_ < 0; i_1128_++) { + int i_1131_ = ((i_1127_ >> 12) * this.anInt8471 + (i_1126_ >> 12)); + int i_1132_ = i_1125_++; + int[] is_1133_ = is; + int i_1134_ = i; + int i_1135_ = i_611_; + if (i_1135_ == 0) { + if (i_1134_ == 1) is_1133_[i_1132_] = (this.anIntArray9936[i_1131_]); + else if (i_1134_ == 0) { + int i_1136_ = (this.anIntArray9936[i_1131_++]); + int i_1137_ = (((i_1136_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_1138_ = ((i_1136_ & 0xff00) * SpriteSub3.anInt8463 & 0xff0000); + int i_1139_ = ((i_1136_ & 0xff) * SpriteSub3.anInt8465 & 0xff00); + is_1133_[i_1132_] = (i_1137_ | i_1138_ | i_1139_) >>> 8; + } else if (i_1134_ == 3) { + int i_1140_ = (this.anIntArray9936[i_1131_++]); + int i_1141_ = SpriteSub3.anInt8480; + int i_1142_ = i_1140_ + i_1141_; + int i_1143_ = (i_1140_ & 0xff00ff) + (i_1141_ & 0xff00ff); + int i_1144_ = ((i_1143_ & 0x1000100) + (i_1142_ - i_1143_ & 0x10000)); + is_1133_[i_1132_] = i_1142_ - i_1144_ | i_1144_ - (i_1144_ >>> 8); + } else if (i_1134_ == 2) { + int i_1145_ = (this.anIntArray9936[i_1131_]); + int i_1146_ = (((i_1145_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_1147_ = ((i_1145_ & 0xff00) * SpriteSub3.anInt8477 & 0xff0000); + is_1133_[i_1132_] = (((i_1146_ | i_1147_) >>> 8) + SpriteSub3.anInt8474); + } else throw new IllegalArgumentException(); + } else if (i_1135_ == 1) { + if (i_1134_ == 1) { + int i_1148_ = (this.anIntArray9936[i_1131_]); + int i_1149_ = i_1148_ >>> 24; + int i_1150_ = 256 - i_1149_; + int i_1151_ = is_1133_[i_1132_]; + is_1133_[i_1132_] = ((((i_1148_ & 0xff00ff) * i_1149_ + (i_1151_ & 0xff00ff) * i_1150_) & ~0xff00ff) + (((i_1148_ & 0xff00) * i_1149_ + (i_1151_ & 0xff00) * i_1150_) & 0xff0000)) >> 8; + } else if (i_1134_ == 0) { + int i_1152_ = (this.anIntArray9936[i_1131_]); + int i_1153_ = ((i_1152_ >>> 24) * SpriteSub3.anInt8477 >> 8); + int i_1154_ = 256 - i_1153_; + if ((SpriteSub3.anInt8480 & 0xffffff) == 16777215) { + int i_1155_ = is_1133_[i_1132_]; + is_1133_[i_1132_] = ((((i_1152_ & 0xff00ff) * i_1153_ + (i_1155_ & 0xff00ff) * i_1154_) & ~0xff00ff) + (((i_1152_ & 0xff00) * i_1153_ + (i_1155_ & 0xff00) * i_1154_) & 0xff0000)) >> 8; + } else if (i_1153_ == 255) { + int i_1160_ = (((i_1152_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_1161_ = (((i_1152_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_1162_ = (((i_1152_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_1133_[i_1132_] = (i_1160_ | i_1161_ | i_1162_) >>> 8; + } else { + int i_1156_ = (((i_1152_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_1157_ = (((i_1152_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_1158_ = (((i_1152_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_1152_ = (i_1156_ | i_1157_ | i_1158_) >>> 8; + int i_1159_ = is_1133_[i_1132_]; + is_1133_[i_1132_] = ((((i_1152_ & 0xff00ff) * i_1153_ + (i_1159_ & 0xff00ff) * i_1154_) & ~0xff00ff) + (((i_1152_ & 0xff00) * i_1153_ + (i_1159_ & 0xff00) * i_1154_) & 0xff0000)) >> 8; + } + } else if (i_1134_ == 3) { + int i_1163_ = (this.anIntArray9936[i_1131_]); + int i_1164_ = SpriteSub3.anInt8480; + int i_1165_ = i_1163_ + i_1164_; + int i_1166_ = (i_1163_ & 0xff00ff) + (i_1164_ & 0xff00ff); + int i_1167_ = ((i_1166_ & 0x1000100) + (i_1165_ - i_1166_ & 0x10000)); + i_1167_ = i_1165_ - i_1167_ | i_1167_ - (i_1167_ >>> 8); + int i_1168_ = ((i_1163_ >>> 24) * SpriteSub3.anInt8477 >> 8); + int i_1169_ = 256 - i_1168_; + if (i_1168_ != 255) { + i_1163_ = i_1167_; + i_1167_ = is_1133_[i_1132_]; + i_1167_ = ((((i_1163_ & 0xff00ff) * i_1168_ + (i_1167_ & 0xff00ff) * i_1169_) & ~0xff00ff) + (((i_1163_ & 0xff00) * i_1168_ + (i_1167_ & 0xff00) * i_1169_) & 0xff0000)) >> 8; + } + is_1133_[i_1132_] = i_1167_; + } else if (i_1134_ == 2) { + int i_1170_ = (this.anIntArray9936[i_1131_]); + int i_1171_ = i_1170_ >>> 24; + int i_1172_ = 256 - i_1171_; + int i_1173_ = (((i_1170_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_1174_ = ((i_1170_ & 0xff00) * SpriteSub3.anInt8477 & 0xff0000); + i_1170_ = (((i_1173_ | i_1174_) >>> 8) + SpriteSub3.anInt8474); + int i_1175_ = is_1133_[i_1132_]; + is_1133_[i_1132_] = ((((i_1170_ & 0xff00ff) * i_1171_ + (i_1175_ & 0xff00ff) * i_1172_) & ~0xff00ff) + (((i_1170_ & 0xff00) * i_1171_ + (i_1175_ & 0xff00) * i_1172_) & 0xff0000)) >> 8; + } else throw new IllegalArgumentException(); + } else if (i_1135_ == 2) { + if (i_1134_ == 1) { + int i_1176_ = (this.anIntArray9936[i_1131_]); + int i_1177_ = is_1133_[i_1132_]; + int i_1178_ = i_1176_ + i_1177_; + int i_1179_ = (i_1176_ & 0xff00ff) + (i_1177_ & 0xff00ff); + i_1177_ = (i_1179_ & 0x1000100) + (i_1178_ - i_1179_ & 0x10000); + is_1133_[i_1132_] = i_1178_ - i_1177_ | i_1177_ - (i_1177_ >>> 8); + } else if (i_1134_ == 0) { + int i_1180_ = (this.anIntArray9936[i_1131_]); + int i_1181_ = (((i_1180_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_1182_ = ((i_1180_ & 0xff00) * SpriteSub3.anInt8463 & 0xff0000); + int i_1183_ = ((i_1180_ & 0xff) * SpriteSub3.anInt8465 & 0xff00); + i_1180_ = (i_1181_ | i_1182_ | i_1183_) >>> 8; + int i_1184_ = is_1133_[i_1132_]; + int i_1185_ = i_1180_ + i_1184_; + int i_1186_ = (i_1180_ & 0xff00ff) + (i_1184_ & 0xff00ff); + i_1184_ = (i_1186_ & 0x1000100) + (i_1185_ - i_1186_ & 0x10000); + is_1133_[i_1132_] = i_1185_ - i_1184_ | i_1184_ - (i_1184_ >>> 8); + } else if (i_1134_ == 3) { + int i_1187_ = (this.anIntArray9936[i_1131_]); + int i_1188_ = SpriteSub3.anInt8480; + int i_1189_ = i_1187_ + i_1188_; + int i_1190_ = (i_1187_ & 0xff00ff) + (i_1188_ & 0xff00ff); + int i_1191_ = ((i_1190_ & 0x1000100) + (i_1189_ - i_1190_ & 0x10000)); + i_1187_ = i_1189_ - i_1191_ | i_1191_ - (i_1191_ >>> 8); + i_1191_ = is_1133_[i_1132_]; + i_1189_ = i_1187_ + i_1191_; + i_1190_ = (i_1187_ & 0xff00ff) + (i_1191_ & 0xff00ff); + i_1191_ = (i_1190_ & 0x1000100) + (i_1189_ - i_1190_ & 0x10000); + is_1133_[i_1132_] = i_1189_ - i_1191_ | i_1191_ - (i_1191_ >>> 8); + } else if (i_1134_ == 2) { + int i_1192_ = (this.anIntArray9936[i_1131_]); + int i_1193_ = (((i_1192_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_1194_ = ((i_1192_ & 0xff00) * SpriteSub3.anInt8477 & 0xff0000); + i_1192_ = (((i_1193_ | i_1194_) >>> 8) + SpriteSub3.anInt8474); + int i_1195_ = is_1133_[i_1132_]; + int i_1196_ = i_1192_ + i_1195_; + int i_1197_ = (i_1192_ & 0xff00ff) + (i_1195_ & 0xff00ff); + i_1195_ = (i_1197_ & 0x1000100) + (i_1196_ - i_1197_ & 0x10000); + is_1133_[i_1132_] = i_1196_ - i_1195_ | i_1195_ - (i_1195_ >>> 8); + } + } else throw new IllegalArgumentException(); + i_1126_ += SpriteSub3.anInt8481; + i_1127_ += SpriteSub3.anInt8450; + } + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } else { + for (int i_1198_ = SpriteSub3.anInt8468; i_1198_ < 0; i_1198_++) { + int i_1199_ = SpriteSub3.anInt8451; + int i_1200_ = SpriteSub3.anInt8458 + SpriteSub3.anInt8479; + int i_1201_ = SpriteSub3.anInt8467 + SpriteSub3.anInt8475; + int i_1202_ = SpriteSub3.anInt8478; + if (i_1200_ < 0) { + int i_1203_ = ((SpriteSub3.anInt8481 - 1 - i_1200_) / SpriteSub3.anInt8481); + i_1202_ += i_1203_; + i_1200_ += SpriteSub3.anInt8481 * i_1203_; + i_1201_ += SpriteSub3.anInt8450 * i_1203_; + i_1199_ += i_1203_; + } + int i_1204_; + if ((i_1204_ = (1 + i_1200_ - (this.anInt8471 << 12) - SpriteSub3.anInt8481) / SpriteSub3.anInt8481) > i_1202_) i_1202_ = i_1204_; + if (i_1201_ < 0) { + i_1204_ = ((SpriteSub3.anInt8450 - 1 - i_1201_) / SpriteSub3.anInt8450); + i_1202_ += i_1204_; + i_1200_ += SpriteSub3.anInt8481 * i_1204_; + i_1201_ += SpriteSub3.anInt8450 * i_1204_; + i_1199_ += i_1204_; + } + if ((i_1204_ = (1 + i_1201_ - (this.anInt8470 << 12) - SpriteSub3.anInt8450) / SpriteSub3.anInt8450) > i_1202_) i_1202_ = i_1204_; + for (/**/; i_1202_ < 0; i_1202_++) { + int i_1205_ = ((i_1201_ >> 12) * this.anInt8471 + (i_1200_ >> 12)); + int i_1206_ = i_1199_++; + int[] is_1207_ = is; + int i_1208_ = i; + int i_1209_ = i_611_; + if (i_1209_ == 0) { + if (i_1208_ == 1) is_1207_[i_1206_] = (this.anIntArray9936[i_1205_]); + else if (i_1208_ == 0) { + int i_1210_ = (this.anIntArray9936[i_1205_++]); + int i_1211_ = (((i_1210_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_1212_ = ((i_1210_ & 0xff00) * SpriteSub3.anInt8463 & 0xff0000); + int i_1213_ = ((i_1210_ & 0xff) * SpriteSub3.anInt8465 & 0xff00); + is_1207_[i_1206_] = (i_1211_ | i_1212_ | i_1213_) >>> 8; + } else if (i_1208_ == 3) { + int i_1214_ = (this.anIntArray9936[i_1205_++]); + int i_1215_ = SpriteSub3.anInt8480; + int i_1216_ = i_1214_ + i_1215_; + int i_1217_ = (i_1214_ & 0xff00ff) + (i_1215_ & 0xff00ff); + int i_1218_ = ((i_1217_ & 0x1000100) + (i_1216_ - i_1217_ & 0x10000)); + is_1207_[i_1206_] = i_1216_ - i_1218_ | i_1218_ - (i_1218_ >>> 8); + } else if (i_1208_ == 2) { + int i_1219_ = (this.anIntArray9936[i_1205_]); + int i_1220_ = (((i_1219_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_1221_ = ((i_1219_ & 0xff00) * SpriteSub3.anInt8477 & 0xff0000); + is_1207_[i_1206_] = (((i_1220_ | i_1221_) >>> 8) + SpriteSub3.anInt8474); + } else throw new IllegalArgumentException(); + } else if (i_1209_ == 1) { + if (i_1208_ == 1) { + int i_1222_ = (this.anIntArray9936[i_1205_]); + int i_1223_ = i_1222_ >>> 24; + int i_1224_ = 256 - i_1223_; + int i_1225_ = is_1207_[i_1206_]; + is_1207_[i_1206_] = ((((i_1222_ & 0xff00ff) * i_1223_ + (i_1225_ & 0xff00ff) * i_1224_) & ~0xff00ff) + (((i_1222_ & 0xff00) * i_1223_ + (i_1225_ & 0xff00) * i_1224_) & 0xff0000)) >> 8; + } else if (i_1208_ == 0) { + int i_1226_ = (this.anIntArray9936[i_1205_]); + int i_1227_ = ((i_1226_ >>> 24) * SpriteSub3.anInt8477 >> 8); + int i_1228_ = 256 - i_1227_; + if ((SpriteSub3.anInt8480 & 0xffffff) == 16777215) { + int i_1229_ = is_1207_[i_1206_]; + is_1207_[i_1206_] = ((((i_1226_ & 0xff00ff) * i_1227_ + (i_1229_ & 0xff00ff) * i_1228_) & ~0xff00ff) + (((i_1226_ & 0xff00) * i_1227_ + (i_1229_ & 0xff00) * i_1228_) & 0xff0000)) >> 8; + } else if (i_1227_ == 255) { + int i_1234_ = (((i_1226_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_1235_ = (((i_1226_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_1236_ = (((i_1226_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + is_1207_[i_1206_] = (i_1234_ | i_1235_ | i_1236_) >>> 8; + } else { + int i_1230_ = (((i_1226_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_1231_ = (((i_1226_ & 0xff00) * SpriteSub3.anInt8463) & 0xff0000); + int i_1232_ = (((i_1226_ & 0xff) * SpriteSub3.anInt8465) & 0xff00); + i_1226_ = (i_1230_ | i_1231_ | i_1232_) >>> 8; + int i_1233_ = is_1207_[i_1206_]; + is_1207_[i_1206_] = ((((i_1226_ & 0xff00ff) * i_1227_ + (i_1233_ & 0xff00ff) * i_1228_) & ~0xff00ff) + (((i_1226_ & 0xff00) * i_1227_ + (i_1233_ & 0xff00) * i_1228_) & 0xff0000)) >> 8; + } + } else if (i_1208_ == 3) { + int i_1237_ = (this.anIntArray9936[i_1205_]); + int i_1238_ = SpriteSub3.anInt8480; + int i_1239_ = i_1237_ + i_1238_; + int i_1240_ = (i_1237_ & 0xff00ff) + (i_1238_ & 0xff00ff); + int i_1241_ = ((i_1240_ & 0x1000100) + (i_1239_ - i_1240_ & 0x10000)); + i_1241_ = i_1239_ - i_1241_ | i_1241_ - (i_1241_ >>> 8); + int i_1242_ = ((i_1237_ >>> 24) * SpriteSub3.anInt8477 >> 8); + int i_1243_ = 256 - i_1242_; + if (i_1242_ != 255) { + i_1237_ = i_1241_; + i_1241_ = is_1207_[i_1206_]; + i_1241_ = ((((i_1237_ & 0xff00ff) * i_1242_ + (i_1241_ & 0xff00ff) * i_1243_) & ~0xff00ff) + (((i_1237_ & 0xff00) * i_1242_ + (i_1241_ & 0xff00) * i_1243_) & 0xff0000)) >> 8; + } + is_1207_[i_1206_] = i_1241_; + } else if (i_1208_ == 2) { + int i_1244_ = (this.anIntArray9936[i_1205_]); + int i_1245_ = i_1244_ >>> 24; + int i_1246_ = 256 - i_1245_; + int i_1247_ = (((i_1244_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_1248_ = ((i_1244_ & 0xff00) * SpriteSub3.anInt8477 & 0xff0000); + i_1244_ = (((i_1247_ | i_1248_) >>> 8) + SpriteSub3.anInt8474); + int i_1249_ = is_1207_[i_1206_]; + is_1207_[i_1206_] = ((((i_1244_ & 0xff00ff) * i_1245_ + (i_1249_ & 0xff00ff) * i_1246_) & ~0xff00ff) + (((i_1244_ & 0xff00) * i_1245_ + (i_1249_ & 0xff00) * i_1246_) & 0xff0000)) >> 8; + } else throw new IllegalArgumentException(); + } else if (i_1209_ == 2) { + if (i_1208_ == 1) { + int i_1250_ = (this.anIntArray9936[i_1205_]); + int i_1251_ = is_1207_[i_1206_]; + int i_1252_ = i_1250_ + i_1251_; + int i_1253_ = (i_1250_ & 0xff00ff) + (i_1251_ & 0xff00ff); + i_1251_ = (i_1253_ & 0x1000100) + (i_1252_ - i_1253_ & 0x10000); + is_1207_[i_1206_] = i_1252_ - i_1251_ | i_1251_ - (i_1251_ >>> 8); + } else if (i_1208_ == 0) { + int i_1254_ = (this.anIntArray9936[i_1205_]); + int i_1255_ = (((i_1254_ & 0xff0000) * SpriteSub3.anInt8469) & ~0xffffff); + int i_1256_ = ((i_1254_ & 0xff00) * SpriteSub3.anInt8463 & 0xff0000); + int i_1257_ = ((i_1254_ & 0xff) * SpriteSub3.anInt8465 & 0xff00); + i_1254_ = (i_1255_ | i_1256_ | i_1257_) >>> 8; + int i_1258_ = is_1207_[i_1206_]; + int i_1259_ = i_1254_ + i_1258_; + int i_1260_ = (i_1254_ & 0xff00ff) + (i_1258_ & 0xff00ff); + i_1258_ = (i_1260_ & 0x1000100) + (i_1259_ - i_1260_ & 0x10000); + is_1207_[i_1206_] = i_1259_ - i_1258_ | i_1258_ - (i_1258_ >>> 8); + } else if (i_1208_ == 3) { + int i_1261_ = (this.anIntArray9936[i_1205_]); + int i_1262_ = SpriteSub3.anInt8480; + int i_1263_ = i_1261_ + i_1262_; + int i_1264_ = (i_1261_ & 0xff00ff) + (i_1262_ & 0xff00ff); + int i_1265_ = ((i_1264_ & 0x1000100) + (i_1263_ - i_1264_ & 0x10000)); + i_1261_ = i_1263_ - i_1265_ | i_1265_ - (i_1265_ >>> 8); + i_1265_ = is_1207_[i_1206_]; + i_1263_ = i_1261_ + i_1265_; + i_1264_ = (i_1261_ & 0xff00ff) + (i_1265_ & 0xff00ff); + i_1265_ = (i_1264_ & 0x1000100) + (i_1263_ - i_1264_ & 0x10000); + is_1207_[i_1206_] = i_1263_ - i_1265_ | i_1265_ - (i_1265_ >>> 8); + } else if (i_1208_ == 2) { + int i_1266_ = (this.anIntArray9936[i_1205_]); + int i_1267_ = (((i_1266_ & 0xff00ff) * SpriteSub3.anInt8477) & ~0xff00ff); + int i_1268_ = ((i_1266_ & 0xff00) * SpriteSub3.anInt8477 & 0xff0000); + i_1266_ = (((i_1267_ | i_1268_) >>> 8) + SpriteSub3.anInt8474); + int i_1269_ = is_1207_[i_1206_]; + int i_1270_ = i_1266_ + i_1269_; + int i_1271_ = (i_1266_ & 0xff00ff) + (i_1269_ & 0xff00ff); + i_1269_ = (i_1271_ & 0x1000100) + (i_1270_ - i_1271_ & 0x10000); + is_1207_[i_1206_] = i_1270_ - i_1269_ | i_1269_ - (i_1269_ >>> 8); + } + } else throw new IllegalArgumentException(); + i_1200_ += SpriteSub3.anInt8481; + i_1201_ += SpriteSub3.anInt8450; + } + SpriteSub3.anInt8458 += SpriteSub3.anInt8457; + SpriteSub3.anInt8467 += SpriteSub3.anInt8452; + SpriteSub3.anInt8451 += SpriteSub3.anInt8453; + } + } + } +} diff --git a/client/src/AppletInvoker.java b/client/src/AppletInvoker.java new file mode 100644 index 000000000..d6404b504 --- /dev/null +++ b/client/src/AppletInvoker.java @@ -0,0 +1,31 @@ +/* AppletInvoker - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class224` (JODE-obfuscated). + * Reflection helper that invokes methods on the client Applet. invokeApplet/1616/1617 take an Applet and call into it via reflection (used for applet-host integration). + */ + +import netscape.javascript.JSObject; + +import java.applet.Applet; + +final class AppletInvoker { + static final void invokeApplet(Applet applet, int i, String string) throws Throwable { + JSObject.getWindow(applet).eval(string); + if (i == -15092) { + /* empty */ + } + } + + static final Object callApplet(String string, Object[] objects, Applet applet, byte i) throws Throwable { + if (i <= 0) return null; + return JSObject.getWindow(applet).call(string, objects); + } + + static final Object callAppletNoArgs(byte i, Applet applet, String string) throws Throwable { + if (i != 125) return null; + return JSObject.getWindow(applet).call(string, null); + } +} diff --git a/client/src/Applet_Sub1.java b/client/src/Applet_Sub1.java index 77564b7f4..eec24edae 100644 --- a/client/src/Applet_Sub1.java +++ b/client/src/Applet_Sub1.java @@ -35,7 +35,7 @@ public abstract class Applet_Sub1 extends Applet implements Runnable, FocusListe private boolean aBoolean17 = false; static int anInt18; static int anInt19; - static Class324 aClass324_20; + static BitmapFont aClass324_20; static int anInt21; static int anInt22; static int anInt23; @@ -76,17 +76,18 @@ public abstract class Applet_Sub1 extends Applet implements Runnable, FocusListe public static boolean aBoolean58; public static int anInt59; - abstract void method80(int i); + /** Close toolkit, sockets, and cache files. */ + abstract void closeResources(int i); public final void stop() { anInt24++; - if (this == Class348_Sub40_Sub9.anApplet_Sub1_9169 && !Class26.aBoolean384) Class113.aLong1739 = Class62.method599(-73) - -4000L; + if (this == DefinitionSub9.anApplet_Sub1_9169 && !AssetCacheLoader.shuttingDown) Component22.aLong1739 = Component240.currentTimeMillis(-73) - -4000L; } public final String getParameter(String string) { anInt3++; - if (Class52.aFrame4904 != null) return null; - if (Class93.anApplet1530 != null && Class93.anApplet1530 != this) return Class93.anApplet1530.getParameter(string); + if (RSACipher.aFrame4904 != null) return null; + if (ToolkitFactory.anApplet1530 != null && ToolkitFactory.anApplet1530 != this) return ToolkitFactory.anApplet1530.getParameter(string); return super.getParameter(string); } @@ -96,14 +97,15 @@ String method81(byte i) { return null; } - final void method82(int i, String string) { + /** Print {@code error_game_} and redirect to error page once. */ + final void reportGameError(int i, String string) { int i_0_ = 88 / ((i - -5) / 54); anInt22++; if (!aBoolean27) { aBoolean27 = true; System.out.println("error_game_" + string); try { - Class224.method1617((byte) 125, Class93.anApplet1530, "loggedout"); + AppletInvoker.callAppletNoArgs((byte) 125, ToolkitFactory.anApplet1530, "loggedout"); } catch (Throwable throwable) { /* empty */ } @@ -119,30 +121,32 @@ public final void windowActivated(WindowEvent windowevent) { anInt16++; } - final boolean method83(boolean bool) { + /** Load the {@code jagmisc} native (timing / system helpers). */ + final boolean tryLoadJagmisc(boolean bool) { if (bool != true) getDocumentBase(); anInt5++; - return Class348_Sub40_Sub19.method3098(-30282, "jagmisc"); + return DefinitionSub19.tryLoadNativeLibrary(-30282, "jagmisc"); } public final void focusLost(FocusEvent focusevent) { anInt9++; - Class348_Sub40_Sub16.aBoolean9229 = false; + ToolbarRefreshDefinition.aBoolean9229 = false; } - private final void method84(int i) { + /** One logic-frame sample: record timestamp ring, sync focus flag, then {@link #pulseGame}. */ + private final void pulseLogicFrame(int i) { anInt8++; - long l = Class62.method599(i + -88); - long l_1_ = Class328_Sub2_Sub1.aLongArray8800[Class244.anInt4613]; - Class328_Sub2_Sub1.aLongArray8800[Class244.anInt4613] = l; - Class244.anInt4613 = 0x1f & 1 + Class244.anInt4613; + long l = Component240.currentTimeMillis(i + -88); + long l_1_ = ShaderCompilerSub2Sub1.aLongArray8800[Component283.anInt4613]; + ShaderCompilerSub2Sub1.aLongArray8800[Component283.anInt4613] = l; + Component283.anInt4613 = 0x1f & 1 + Component283.anInt4613; if (l_1_ != 0L && l > l_1_) { /* empty */ } synchronized (this) { - Class175.aBoolean2329 = Class348_Sub40_Sub16.aBoolean9229; + Component143.aBoolean2329 = ToolbarRefreshDefinition.aBoolean9229; } - method99((byte) 93); + pulseGame((byte) 93); if (i != -1) aBoolean27 = true; } @@ -151,9 +155,10 @@ public final void update(Graphics graphics) { paint(graphics); } - static final void method85(int i, Class45 class45) { + /** Bind the cache store jagmisc uses for optional native-backed IO. */ + static final void setJagmiscCacheStore(int i, CacheStore class45) { anInt32++; - Class369_Sub3.aClass45_8601 = class45; + Component76.aClass45_8601 = class45; if (i != 0) anInt37 = 101; } @@ -164,52 +169,54 @@ public final void windowClosing(WindowEvent windowevent) { public final URL getDocumentBase() { anInt30++; - if (Class52.aFrame4904 != null) return null; - if (Class93.anApplet1530 != null && this != Class93.anApplet1530) return Class93.anApplet1530.getDocumentBase(); + if (RSACipher.aFrame4904 != null) return null; + if (ToolkitFactory.anApplet1530 != null && this != ToolkitFactory.anApplet1530) return ToolkitFactory.anApplet1530.getDocumentBase(); return super.getDocumentBase(); } - static final boolean method86(String string, int i) { + /** True if {@code string} (e.g. {@code jagdx}) was already extracted/cached this session. */ + static final boolean isNativeLibraryCached(String string, int i) { anInt13++; if (i != 0) return true; - return Class275.aHashtable3548.containsKey(string); + return Component300.aHashtable3548.containsKey(string); } public final void windowDeactivated(WindowEvent windowevent) { anInt12++; } - synchronized void method87(byte i) { + /** Tear down and recreate {@link DisplayModeManagerContainer50#gameCanvas} on the current host container. */ + synchronized void recreateGameCanvas(byte i) { if (i > -11) paint(null); - if (Class305.aCanvas3869 != null) { - Class305.aCanvas3869.removeFocusListener(this); - Class305.aCanvas3869.getParent().setBackground(Color.black); - Class305.aCanvas3869.getParent().remove(Class305.aCanvas3869); + if (DisplayModeManagerContainer50.gameCanvas != null) { + DisplayModeManagerContainer50.gameCanvas.removeFocusListener(this); + DisplayModeManagerContainer50.gameCanvas.getParent().setBackground(Color.black); + DisplayModeManagerContainer50.gameCanvas.getParent().remove(DisplayModeManagerContainer50.gameCanvas); } anInt7++; Container container; - if (Class34.aFrame476 == null) { - if (Class52.aFrame4904 == null) { - if (Class93.anApplet1530 == null) container = Class348_Sub40_Sub9.anApplet_Sub1_9169; - else container = Class93.anApplet1530; - } else container = Class52.aFrame4904; - } else container = Class34.aFrame476; + if (Component225.aFrame476 == null) { + if (RSACipher.aFrame4904 == null) { + if (ToolkitFactory.anApplet1530 == null) container = DefinitionSub9.anApplet_Sub1_9169; + else container = ToolkitFactory.anApplet1530; + } else container = RSACipher.aFrame4904; + } else container = Component225.aFrame476; container.setLayout(null); - Class305.aCanvas3869 = new Canvas_Sub1(this); - container.add(Class305.aCanvas3869); - Class305.aCanvas3869.setSize(Class321.anInt4017, Class348_Sub42_Sub8_Sub2.anInt10432); - Class305.aCanvas3869.setVisible(true); - if (container == Class52.aFrame4904) { - Insets insets = Class52.aFrame4904.getInsets(); - Class305.aCanvas3869.setLocation((insets.left + Class348_Sub48.anInt7129), insets.top - -Class335.anInt4167); - } else Class305.aCanvas3869.setLocation(Class348_Sub48.anInt7129, Class335.anInt4167); - Class305.aCanvas3869.addFocusListener(this); - Class305.aCanvas3869.requestFocus(); - Class348_Sub40_Sub16.aBoolean9229 = true; - Class175.aBoolean2329 = true; - Class49.aBoolean4726 = true; - Class203.aBoolean2674 = false; - Class348_Sub12.aLong6748 = Class62.method599(-106); + DisplayModeManagerContainer50.gameCanvas = new Canvas_Sub1(this); + container.add(DisplayModeManagerContainer50.gameCanvas); + DisplayModeManagerContainer50.gameCanvas.setSize(Component236.anInt4017, PacketReader.anInt10432); + DisplayModeManagerContainer50.gameCanvas.setVisible(true); + if (container == RSACipher.aFrame4904) { + Insets insets = RSACipher.aFrame4904.getInsets(); + DisplayModeManagerContainer50.gameCanvas.setLocation((insets.left + NodeSub48.anInt7129), insets.top - -DisplayModeManagerContainer147.anInt4167); + } else DisplayModeManagerContainer50.gameCanvas.setLocation(NodeSub48.anInt7129, DisplayModeManagerContainer147.anInt4167); + DisplayModeManagerContainer50.gameCanvas.addFocusListener(this); + DisplayModeManagerContainer50.gameCanvas.requestFocus(); + ToolbarRefreshDefinition.aBoolean9229 = true; + Component143.aBoolean2329 = true; + Component297.aBoolean4726 = true; + DisplayModeManagerContainer351.aBoolean2674 = false; + NodeSub12.aLong6748 = Component240.currentTimeMillis(-106); } public final void windowOpened(WindowEvent windowevent) { @@ -218,37 +225,38 @@ public final void windowOpened(WindowEvent windowevent) { public final synchronized void paint(Graphics graphics) { anInt18++; - if (this == Class348_Sub40_Sub9.anApplet_Sub1_9169 && !Class26.aBoolean384) { - Class49.aBoolean4726 = true; - if (Class367_Sub4.aBoolean7320 && -Class348_Sub12.aLong6748 + Class62.method599(-57) > 1000) { + if (this == DefinitionSub9.anApplet_Sub1_9169 && !AssetCacheLoader.shuttingDown) { + Component297.aBoolean4726 = true; + if (AbstractShaderSub4.aBoolean7320 && -NodeSub12.aLong6748 + Component240.currentTimeMillis(-57) > 1000) { Rectangle rectangle = graphics.getClipBounds(); - if (rectangle == null || (rectangle.width >= Class272.anInt3473 && (Class348_Sub22.anInt6857 <= rectangle.height))) Class203.aBoolean2674 = true; + if (rectangle == null || (rectangle.width >= SocketConnector.anInt3473 && (NodeSub22.anInt6857 <= rectangle.height))) DisplayModeManagerContainer351.aBoolean2674 = true; } } } - private final void method88(int i) { + /** Sample frame timestamps into the FPS ring and update {@code DisplayModeManagerContainer348.fps}. */ + private final void updateFpsCounter(int i) { anInt2++; - long l = Class62.method599(-119); - long l_2_ = Class348_Sub49.aLongArray7206[Class152.anInt2071]; - Class348_Sub49.aLongArray7206[Class152.anInt2071] = l; + long l = Component240.currentTimeMillis(-119); + long l_2_ = Buffer.aLongArray7206[InflaterDecompressor.anInt2071]; + Buffer.aLongArray7206[InflaterDecompressor.anInt2071] = l; if (l_2_ != 0L && l_2_ < l) { int i_3_ = (int) (l - l_2_); - Class239_Sub5.anInt5891 = (32000 + (i_3_ >> 1)) / i_3_; + DisplayModeManagerContainer348.fps = (32000 + (i_3_ >> 1)) / i_3_; } - Class152.anInt2071 = Class152.anInt2071 - -1 & 0x1f; - if (Class159.anInt2127++ > 50) { - Class159.anInt2127 -= 50; - Class49.aBoolean4726 = true; - Class305.aCanvas3869.setSize(Class321.anInt4017, Class348_Sub42_Sub8_Sub2.anInt10432); - Class305.aCanvas3869.setVisible(true); - if (Class52.aFrame4904 != null && Class34.aFrame476 == null) { - Insets insets = Class52.aFrame4904.getInsets(); - Class305.aCanvas3869.setLocation((insets.left - -Class348_Sub48.anInt7129), (insets.top + Class335.anInt4167)); - } else Class305.aCanvas3869.setLocation(Class348_Sub48.anInt7129, Class335.anInt4167); + InflaterDecompressor.anInt2071 = InflaterDecompressor.anInt2071 - -1 & 0x1f; + if (Component146.anInt2127++ > 50) { + Component146.anInt2127 -= 50; + Component297.aBoolean4726 = true; + DisplayModeManagerContainer50.gameCanvas.setSize(Component236.anInt4017, PacketReader.anInt10432); + DisplayModeManagerContainer50.gameCanvas.setVisible(true); + if (RSACipher.aFrame4904 != null && Component225.aFrame476 == null) { + Insets insets = RSACipher.aFrame4904.getInsets(); + DisplayModeManagerContainer50.gameCanvas.setLocation((insets.left - -NodeSub48.anInt7129), (insets.top + DisplayModeManagerContainer147.anInt4167)); + } else DisplayModeManagerContainer50.gameCanvas.setLocation(NodeSub48.anInt7129, DisplayModeManagerContainer147.anInt4167); } - method93(-11018); - if (i > -107) method90(true, true); + pulseDrawFrame(-11018); + if (i > -107) shutdown(true, true); } public final void windowDeiconified(WindowEvent windowevent) { @@ -257,15 +265,16 @@ public final void windowDeiconified(WindowEvent windowevent) { public final void focusGained(FocusEvent focusevent) { anInt23++; - Class348_Sub40_Sub16.aBoolean9229 = true; - Class49.aBoolean4726 = true; + ToolbarRefreshDefinition.aBoolean9229 = true; + Component297.aBoolean4726 = true; } public final void windowClosed(WindowEvent windowevent) { anInt33++; } - final boolean method89(int i) { + /** Host allow-list check (currently always true; original jagex.com/127.0.0.1 checks remain commented). */ + final boolean validateHost(int i) { anInt40++; return true; /*if (i <= 19) return true; @@ -280,21 +289,22 @@ final boolean method89(int i) { } } if (string.endsWith("192.168.1.")) return true; - method82(53, "invalidhost"); + reportGameError(53, "invalidhost"); return false;*/ } - private final void method90(boolean bool, boolean bool_4_) { + /** Begin client shutdown ({@code clean=}{@code bool}); calls {@link #cleanup}. */ + private final void shutdown(boolean bool, boolean bool_4_) { anInt26++; synchronized (this) { - if (Class26.aBoolean384) return; - Class26.aBoolean384 = true; + if (AssetCacheLoader.shuttingDown) return; + AssetCacheLoader.shuttingDown = true; } System.out.println("Shutdown start - clean:" + bool); - if (Class93.anApplet1530 != null) Class93.anApplet1530.destroy(); + if (ToolkitFactory.anApplet1530 != null) ToolkitFactory.anApplet1530.destroy(); if (bool_4_ != false) aBoolean17 = false; try { - method80(0); + closeResources(0); } catch (Exception exception) { /* empty */ } @@ -306,50 +316,51 @@ private final void method90(boolean bool, boolean bool_4_) { } aBoolean17 = false; } - Class257.method1945((byte) -128, true); - Class228.method1629(!bool_4_); - if (Class305.aCanvas3869 != null) { + Component36.method1945((byte) -128, true); + NativeLibraryLoader.unloadNativeLibraries(!bool_4_); + if (DisplayModeManagerContainer50.gameCanvas != null) { try { - Class305.aCanvas3869.removeFocusListener(this); - Class305.aCanvas3869.getParent().remove(Class305.aCanvas3869); + DisplayModeManagerContainer50.gameCanvas.removeFocusListener(this); + DisplayModeManagerContainer50.gameCanvas.getParent().remove(DisplayModeManagerContainer50.gameCanvas); } catch (Exception exception) { /* empty */ } } - if (Class348_Sub23_Sub1.aClass297_8992 != null) { + if (OggUrlStream.aClass297_8992 != null) { try { - Class348_Sub23_Sub1.aClass297_8992.method2234((byte) 103); + OggUrlStream.aClass297_8992.shutdown((byte) 103); } catch (Exception exception) { /* empty */ } } - method91((byte) 108); - if (Class52.aFrame4904 != null) { - Class52.aFrame4904.setVisible(false); - Class52.aFrame4904.dispose(); - Class52.aFrame4904 = null; + cleanup((byte) 108); + if (RSACipher.aFrame4904 != null) { + RSACipher.aFrame4904.setVisible(false); + RSACipher.aFrame4904.dispose(); + RSACipher.aFrame4904 = null; } System.out.println("Shutdown complete - clean:" + bool); } public static final void provideLoaderApplet(Applet applet) { anInt11++; - Class93.anApplet1530 = applet; + ToolkitFactory.anApplet1530 = applet; } - abstract void method91(byte i); + /** Subclass static-table / resource teardown after {@link #closeResources}. */ + abstract void cleanup(byte i); public final AppletContext getAppletContext() { anInt19++; - if (Class52.aFrame4904 != null) return null; - if (Class93.anApplet1530 != null && this != Class93.anApplet1530) return Class93.anApplet1530.getAppletContext(); + if (RSACipher.aFrame4904 != null) return null; + if (ToolkitFactory.anApplet1530 != null && this != ToolkitFactory.anApplet1530) return ToolkitFactory.anApplet1530.getAppletContext(); return super.getAppletContext(); } public final URL getCodeBase() { anInt29++; - if (Class52.aFrame4904 != null) return null; - if (Class93.anApplet1530 != null && this != Class93.anApplet1530) return Class93.anApplet1530.getCodeBase(); + if (RSACipher.aFrame4904 != null) return null; + if (ToolkitFactory.anApplet1530 != null && this != ToolkitFactory.anApplet1530) return ToolkitFactory.anApplet1530.getCodeBase(); return super.getCodeBase(); } @@ -357,11 +368,11 @@ public final URL getCodeBase() { public final void destroy() { anInt21++; - if (Class348_Sub40_Sub9.anApplet_Sub1_9169 == this && !Class26.aBoolean384) { - Class113.aLong1739 = Class62.method599(-108); - Class286_Sub5.method2161((byte) 77, 5000L); - Class231.aClass297_2993 = null; - method90(false, false); + if (DefinitionSub9.anApplet_Sub1_9169 == this && !AssetCacheLoader.shuttingDown) { + Component22.aLong1739 = Component240.currentTimeMillis(-108); + SpriteAtlasShader.sleep((byte) 77, 5000L); + BuildType.aClass297_2993 = null; + shutdown(false, false); } } @@ -369,33 +380,33 @@ public final void run() { anInt28++; do { try { - if (Class297.aString3782 != null) { - String string = Class297.aString3782.toLowerCase(); + if (ReflectionInvoker.javaVendor != null) { + String string = ReflectionInvoker.javaVendor.toLowerCase(); if (string.indexOf("sun") != -1 || string.indexOf("apple") != -1) { - String string_5_ = Class297.aString3796; + String string_5_ = ReflectionInvoker.javaVersion; if (string_5_.equals("1.1") || string_5_.startsWith("1.1.") || string_5_.equals("1.2") || string_5_.startsWith("1.2.")) { - method82(-119, "wrongjava"); + reportGameError(-119, "wrongjava"); break; } - } else if (string.indexOf("ibm") != -1 && (Class297.aString3796 == null || Class297.aString3796.equals("1.4.2"))) { - method82(81, "wrongjava"); + } else if (string.indexOf("ibm") != -1 && (ReflectionInvoker.javaVersion == null || ReflectionInvoker.javaVersion.equals("1.4.2"))) { + reportGameError(81, "wrongjava"); break; } } - if (Class297.aString3796 != null && Class297.aString3796.startsWith("1.")) { + if (ReflectionInvoker.javaVersion != null && ReflectionInvoker.javaVersion.startsWith("1.")) { int i = 2; int i_6_ = 0; - while (Class297.aString3796.length() > i) { - int i_7_ = Class297.aString3796.charAt(i); + while (ReflectionInvoker.javaVersion.length() > i) { + int i_7_ = ReflectionInvoker.javaVersion.charAt(i); if (i_7_ < 48 || i_7_ > 57) break; i++; i_6_ = 10 * i_6_ - (-i_7_ + 48); } - if (i_6_ >= 5) Class367_Sub4.aBoolean7320 = true; + if (i_6_ >= 5) AbstractShaderSub4.aBoolean7320 = true; } - Applet applet = Class348_Sub40_Sub9.anApplet_Sub1_9169; - if (Class93.anApplet1530 != null) applet = Class93.anApplet1530; - Method method = Class297.aMethod3786; + Applet applet = DefinitionSub9.anApplet_Sub1_9169; + if (ToolkitFactory.anApplet1530 != null) applet = ToolkitFactory.anApplet1530; + Method method = ReflectionInvoker.aMethod3786; if (method != null) { try { method.invoke(applet, Boolean.TRUE); @@ -403,113 +414,118 @@ public final void run() { /* empty */ } } - aa_Sub3.method168((byte) 103); - Class127_Sub1.method1119(false); - method87((byte) -97); - method92(28740); - Class348_Sub8.aClass241_6660 = Class229.method1631(false); - while (Class113.aLong1739 == 0L || (Class62.method599(-124) < Class113.aLong1739)) { - Class101_Sub2.anInt5744 = Class348_Sub8.aClass241_6660.method1861(0, Class73.aLong4783); - for (int i = 0; Class101_Sub2.anInt5744 > i; i++) - method84(-1); - method88(-119); - Class369_Sub3_Sub1.method3578((byte) -42, Class305.aCanvas3869, (Class348_Sub23_Sub1.aClass297_8992)); + ShaderSub3.method168((byte) 103); + Component162.method1119(false); + recreateGameCanvas((byte) -97); + initializeClient(28740); + NodeSub8.aClass241_6660 = Component267.method1631(false); + while (Component22.aLong1739 == 0L || (Component240.currentTimeMillis(-124) < Component22.aLong1739)) { + MatrixSub2.anInt5744 = NodeSub8.aClass241_6660.method1861(0, DisplayModeManagerContainer306.aLong4783); + for (int i = 0; MatrixSub2.anInt5744 > i; i++) + pulseLogicFrame(-1); + updateFpsCounter(-119); + DummyClass.pulseAwtQueue((byte) -42, DisplayModeManagerContainer50.gameCanvas, (OggUrlStream.aClass297_8992)); } } catch (Throwable throwable) { - Class156.method1242(method81((byte) 109), throwable, 15004); - method82(123, "crash"); + ClientErrorReporter.reportError(method81((byte) 109), throwable, 15004); + reportGameError(123, "crash"); } finally { - method90(true, false); + shutdown(true, false); } } while (false); } - abstract void method92(int i); + /** One-shot client bootstrap (prefs, hosts, palettes). Implemented by {@code client}. */ + abstract void initializeClient(int i); - abstract void method93(int i); + /** Draw/present pulse; implemented by {@code client} (safe-mode catch around the real draw path). */ + abstract void pulseDrawFrame(int i); static final void set(String string) { - Class363.aString4461 = string; - Class348_Sub38.anInt7006 = string.length(); + Component126.consoleInput = string; + NodeSub38.consoleCursor = string.length(); } - static final void method94(String string, int i) { + /** Append timestamped line(s) to the client console (and optional log stream). */ + static final void printConsole(String string, int i) { anInt6++; - if (Class286_Sub1.aStringArray6200 == null) Class14_Sub3.method249(2); - Class286_Sub3.aCalendar6221.setTime(new Date(Class62.method599(-102))); - int i_8_ = Class286_Sub3.aCalendar6221.get(11); - int i_9_ = Class286_Sub3.aCalendar6221.get(12); - int i_10_ = Class286_Sub3.aCalendar6221.get(13); + if (ArbShaderProgram.consoleLines == null) DisplayModeManagerContainer288.initDevConsole(2); + ParticleShader.aCalendar6221.setTime(new Date(Component240.currentTimeMillis(-102))); + int i_8_ = ParticleShader.aCalendar6221.get(11); + int i_9_ = ParticleShader.aCalendar6221.get(12); + int i_10_ = ParticleShader.aCalendar6221.get(13); String string_11_ = (Integer.toString(i_8_ / 10) + i_8_ % 10 + ":" + i_9_ / 10 + i_9_ % 10 + ":" + i_10_ / 10 + i_10_ % 10); - String[] strings = Class348_Sub40_Sub23.method3113('\n', true, string); + String[] strings = DefinitionSub23.splitByChar('\n', true, string); for (int i_12_ = 0; i_12_ < strings.length; i_12_++) { - for (int i_13_ = Class369_Sub2.anInt8587; i_13_ > 0; i_13_--) - Class286_Sub1.aStringArray6200[i_13_] = Class286_Sub1.aStringArray6200[-1 + i_13_]; - Class286_Sub1.aStringArray6200[0] = string_11_ + ": " + strings[i_12_]; - if (Class299_Sub1.aFileOutputStream6323 != null) { + for (int i_13_ = Component14.consoleLineCount; i_13_ > 0; i_13_--) + ArbShaderProgram.consoleLines[i_13_] = ArbShaderProgram.consoleLines[-1 + i_13_]; + ArbShaderProgram.consoleLines[0] = string_11_ + ": " + strings[i_12_]; + if (Component40.consoleLogStream != null) { try { - Class299_Sub1.aFileOutputStream6323.write(Class348_Sub24.method2992(((Class286_Sub1.aStringArray6200[0]) + "\n"), (byte) -20)); + Component40.consoleLogStream.write(ClientSystemInfo.encodeCp1252(((ArbShaderProgram.consoleLines[0]) + "\n"), (byte) -20)); } catch (java.io.IOException ioexception) { /* empty */ } } - if (-1 + Class286_Sub1.aStringArray6200.length > Class369_Sub2.anInt8587) { - Class369_Sub2.anInt8587++; - if (Class284.anInt3676 > 0) Class284.anInt3676++; + if (-1 + ArbShaderProgram.consoleLines.length > Component14.consoleLineCount) { + Component14.consoleLineCount++; + if (Component94.consoleScroll > 0) Component94.consoleScroll++; } } int i_14_ = 85 / ((i - -1) / 52); } - final void method95(int i, int i_15_, int i_16_, int i_17_, int i_18_, String string, int i_19_) { + /** Boot as an embedded applet: size the canvas and start the game thread via {@link ReflectionInvoker}. */ + final void startFromApplet(int i, int i_15_, int i_16_, int i_17_, int i_18_, String string, int i_19_) { anInt25++; try { - if (Class348_Sub40_Sub9.anApplet_Sub1_9169 == null) { - Class348_Sub48.anInt7129 = 0; - Class348_Sub22.anInt6857 = Class348_Sub42_Sub8_Sub2.anInt10432 = i_16_; - Class272.anInt3473 = Class321.anInt4017 = i; - Class335.anInt4167 = 0; - Class348_Sub1_Sub3.anInt8818 = i_15_; - Class348_Sub40_Sub9.anApplet_Sub1_9169 = this; - Class348_Sub8.anApplet6662 = Class93.anApplet1530; - Class231.aClass297_2993 = Class348_Sub23_Sub1.aClass297_8992 = new Class297(i_17_, string, i_18_, Class93.anApplet1530 != null); - Class144 class144 = Class348_Sub23_Sub1.aClass297_8992.method2236(this, -10240, 1); + if (DefinitionSub9.anApplet_Sub1_9169 == null) { + NodeSub48.anInt7129 = 0; + NodeSub22.anInt6857 = PacketReader.anInt10432 = i_16_; + SocketConnector.anInt3473 = Component236.anInt4017 = i; + DisplayModeManagerContainer147.anInt4167 = 0; + NodeSub1Sub3.anInt8818 = i_15_; + DefinitionSub9.anApplet_Sub1_9169 = this; + NodeSub8.anApplet6662 = ToolkitFactory.anApplet1530; + BuildType.aClass297_2993 = OggUrlStream.aClass297_8992 = new ReflectionInvoker(i_17_, string, i_18_, ToolkitFactory.anApplet1530 != null); + Task class144 = OggUrlStream.aClass297_8992.startThread(this, -10240, 1); if (i_19_ != 50) anInt37 = -13; - while (class144.anInt1997 == 0) Class286_Sub5.method2161((byte) -126, 10L); + while (class144.status == 0) SpriteAtlasShader.sleep((byte) -126, 10L); } else { - Class348_Sub51.anInt7252++; - if (Class348_Sub51.anInt7252 >= 3) method82(112, "alreadyloaded"); + NodeSub51.anInt7252++; + if (NodeSub51.anInt7252 >= 3) reportGameError(112, "alreadyloaded"); else getAppletContext().showDocument(getDocumentBase(), "_self"); } } catch (Throwable throwable) { - Class156.method1242(null, throwable, 15004); - method82(52, "crash"); + ClientErrorReporter.reportError(null, throwable, 15004); + reportGameError(52, "crash"); } } - final void method96(int i, int i_20_, boolean bool, int i_21_, int i_22_, String string, int i_23_, int i_24_) { + /** Boot as a standalone {@link Frame} titled {@code Jagex}; used by desktop {@code Loader}. */ + final void startFromFrame(int i, int i_20_, boolean bool, int i_21_, int i_22_, String string, int i_23_, int i_24_) { try { if (i_23_ != 23499) return; - Class272.anInt3473 = Class321.anInt4017 = i_20_; - Class348_Sub22.anInt6857 = Class348_Sub42_Sub8_Sub2.anInt10432 = i_24_; - Class348_Sub40_Sub9.anApplet_Sub1_9169 = this; - Class335.anInt4167 = 0; - Class348_Sub48.anInt7129 = 0; - Class348_Sub1_Sub3.anInt8818 = i_21_; - Class348_Sub8.anApplet6662 = null; - Class52.aFrame4904 = new Frame(); - Class52.aFrame4904.setTitle("Jagex"); - Class52.aFrame4904.setResizable(true); - Class52.aFrame4904.addWindowListener(this); - Class52.aFrame4904.setVisible(true); - Class52.aFrame4904.toFront(); - Insets insets = Class52.aFrame4904.getInsets(); - Class52.aFrame4904.setSize(insets.right + (insets.left + Class272.anInt3473), (insets.bottom + (Class348_Sub22.anInt6857 + insets.top))); - Class231.aClass297_2993 = Class348_Sub23_Sub1.aClass297_8992 = new Class297(i, string, i_22_, true); - Class144 class144 = Class348_Sub23_Sub1.aClass297_8992.method2236(this, i_23_ + -33739, 1); - while (class144.anInt1997 == 0) Class286_Sub5.method2161((byte) 21, 10L); + SocketConnector.anInt3473 = Component236.anInt4017 = i_20_; + NodeSub22.anInt6857 = PacketReader.anInt10432 = i_24_; + DefinitionSub9.anApplet_Sub1_9169 = this; + DisplayModeManagerContainer147.anInt4167 = 0; + NodeSub48.anInt7129 = 0; + NodeSub1Sub3.anInt8818 = i_21_; + NodeSub8.anApplet6662 = null; + RSACipher.aFrame4904 = new Frame(); + RSACipher.aFrame4904.setTitle("Jagex"); + RSACipher.aFrame4904.setResizable(true); + RSACipher.aFrame4904.addWindowListener(this); + RSACipher.aFrame4904.setVisible(true); + RSACipher.aFrame4904.toFront(); + Insets insets = RSACipher.aFrame4904.getInsets(); + RSACipher.aFrame4904.setSize(insets.right + (insets.left + SocketConnector.anInt3473), (insets.bottom + (NodeSub22.anInt6857 + insets.top))); + BuildType.aClass297_2993 = OggUrlStream.aClass297_8992 = new ReflectionInvoker(i, string, i_22_, true); + Task class144 = OggUrlStream.aClass297_8992.startThread(this, i_23_ + -33739, 1); + while (class144.status == 0) SpriteAtlasShader.sleep((byte) 21, 10L); } catch (Exception exception) { - Class156.method1242(null, exception, i_23_ + -8495); + ClientErrorReporter.reportError(null, exception, i_23_ + -8495); } anInt31++; } @@ -518,28 +534,31 @@ public final void windowIconified(WindowEvent windowevent) { anInt14++; } - final boolean method97(int i) { - if (i != -1) method88(-104); + /** Load the {@code jaclib} native. */ + final boolean tryLoadJaclib(int i) { + if (i != -1) updateFpsCounter(-104); anInt4++; - return Class348_Sub40_Sub19.method3098(-30282, "jaclib"); + return DefinitionSub19.tryLoadNativeLibrary(-30282, "jaclib"); } - public static void method98(int i) { + public static void clearStatics(int i) { anIntArray38 = null; aClass324_20 = null; - if (i != 32717) method86(null, 65); + if (i != 32717) isNativeLibraryCached(null, 65); } public final void start() { anInt36++; - if (this == Class348_Sub40_Sub9.anApplet_Sub1_9169 && !Class26.aBoolean384) Class113.aLong1739 = 0L; + if (this == DefinitionSub9.anApplet_Sub1_9169 && !AssetCacheLoader.shuttingDown) Component22.aLong1739 = 0L; } - abstract void method99(byte i); + /** Per-logic-tick game pulse; implemented by {@code client} → {@code processGameTick}. */ + abstract void pulseGame(byte i); - final boolean method100(int i) { + /** Load the {@code jagtheora} native (video ads). */ + final boolean tryLoadJagtheora(int i) { anInt10++; if (i != 10) return true; - return Class348_Sub40_Sub19.method3098(-30282, "jagtheora"); + return DefinitionSub19.tryLoadNativeLibrary(-30282, "jagtheora"); } } diff --git a/client/src/BuildInfo.java b/client/src/BuildInfo.java new file mode 100644 index 000000000..7778434f0 --- /dev/null +++ b/client/src/BuildInfo.java @@ -0,0 +1,535 @@ +/* BuildInfo - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class6` (JODE-obfuscated). + * Build/version info ('Build: 634') plus the developer-console overlay: + * {@link #drawDevConsole}, {@link #pollConsoleInput}, {@link #consoleBandHeight}. + */ + +final class BuildInfo { + short aShort143; + int anInt144; + boolean aBoolean145; + short aShort146; + static int anInt147; + byte aByte148; + static int anInt149; + short aShort150; + static Component150 aClass227_151 = new Component150(2); + static int anInt152; + static int anInt153; + int anInt154; + static int anInt155; + byte aByte156; + + static final void method203(int i, int i_0_, int i_1_, int i_2_, int i_3_) { + anInt149++; + int i_4_ = 0; + if (i > -92) aClass227_151 = null; + int i_5_ = i_3_; + int i_6_ = -i_3_; + int i_7_ = -1; + int i_8_ = LogicError.method831(Component22.anInt1745, i_3_ + i_0_, Component27.anInt4960, -108); + int i_9_ = LogicError.method831(Component22.anInt1745, -i_3_ + i_0_, Component27.anInt4960, 81); + MenuOpener.fillInts(-27, i_8_, DisplayModeManagerContainer167.anIntArrayArray255[i_2_], i_9_, i_1_); + while (i_5_ > i_4_) { + i_7_ += 2; + i_6_ += i_7_; + if (i_6_ > 0) { + i_5_--; + i_6_ -= i_5_ << 1; + int i_10_ = -i_5_ + i_2_; + int i_11_ = i_5_ + i_2_; + if (i_11_ >= Component72.anInt1910 && PauseTimer.anInt513 >= i_10_) { + int i_12_ = LogicError.method831(Component22.anInt1745, i_4_ + i_0_, Component27.anInt4960, 74); + int i_13_ = LogicError.method831(Component22.anInt1745, i_0_ + -i_4_, Component27.anInt4960, 98); + if (i_11_ <= PauseTimer.anInt513) MenuOpener.fillInts(-27, i_12_, (DisplayModeManagerContainer167.anIntArrayArray255[i_11_]), i_13_, i_1_); + if (Component72.anInt1910 <= i_10_) MenuOpener.fillInts(-27, i_12_, (DisplayModeManagerContainer167.anIntArrayArray255[i_10_]), i_13_, i_1_); + } + } + int i_14_ = -++i_4_ + i_2_; + int i_15_ = i_2_ - -i_4_; + if (Component72.anInt1910 <= i_15_ && PauseTimer.anInt513 >= i_14_) { + int i_16_ = LogicError.method831(Component22.anInt1745, i_0_ + i_5_, Component27.anInt4960, 52); + int i_17_ = LogicError.method831(Component22.anInt1745, i_0_ + -i_5_, Component27.anInt4960, -106); + if (i_15_ <= PauseTimer.anInt513) MenuOpener.fillInts(-27, i_16_, DisplayModeManagerContainer167.anIntArrayArray255[i_15_], i_17_, i_1_); + if (i_14_ >= Component72.anInt1910) MenuOpener.fillInts(-27, i_16_, DisplayModeManagerContainer167.anIntArrayArray255[i_14_], i_17_, i_1_); + } + } + } + + static final void method204(int i) { + anInt155++; + while (Component80.aClass348_Sub49_Sub2_3813.method3415(-62, DefinitionSub25.anInt9341) >= 15) { + int i_18_ = Component80.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 15); + if (i_18_ == 32767) break; + boolean bool = false; + NodeSub22 class348_sub22 = ((NodeSub22) Component21.aClass356_3654.get(i_18_, -6008)); + if (class348_sub22 == null) { + Npc npc = new Npc(); + npc.anInt10290 = i_18_; + class348_sub22 = new NodeSub22(npc); + Component21.aClass356_3654.put((byte) 57, i_18_, class348_sub22); + bool = true; + DefinitionSub23.aClass348_Sub22Array9319[NodeSub32.anInt6930++] = class348_sub22; + } + Npc npc = (class348_sub22.npc); + DisplayModeManagerContainer238.anIntArray1233[Component324.anInt2057++] = i_18_; + npc.anInt10306 = OggStreamReader.anInt9041; + if ((npc.definition) != null && npc.definition.method793(0)) Component298.method181(true, npc); + int i_19_ = Component80.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 2); + int i_20_ = Component80.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 1); + int i_21_ = Component80.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 5); + if (i_21_ > 15) i_21_ -= 32; + int i_22_ = Component80.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 5); + if (i_22_ > 15) i_22_ -= 32; + int i_23_ = 0x3d01 & 4 + Component80.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 3) << 11; + int i_24_ = Component80.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 1); + if (i_24_ == 1) Component354.anIntArray224[DisplayModeManagerContainer204.anInt1597++] = i_18_; + npc.method2448((Component291.aClass278_2529.method2079(Component80.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 14), -1)), i ^ 0x2b297815); + npc.method2434((byte) 111, npc.definition.anInt1399); + npc.anInt10310 = (npc.definition.anInt1329) << 3; + if (bool) npc.method2435((byte) -108, i_23_, true); + npc.method2444((Component72.localPlayer.anIntArray10317[0]) - -i_21_, i_20_ == 1, (Component72.localPlayer.anIntArray10320[0]) + i_22_, i + 724138125, npc.method2436((byte) 50), i_19_); + if (npc.definition.method793(0)) DisplayModeManagerContainer369.method1614(979190089, npc, npc.plane, (npc.anIntArray10317[0]), (npc.anIntArray10320[0]), null, null, 0); + } + if (i == -724138005) Component80.aClass348_Sub49_Sub2_3813.stopBitAccess(false); + } + + static final void method205(int i, int i_25_, int i_26_, String string, int i_27_, int i_28_, int i_29_, int i_30_) { + try { + anInt147++; + RenderableSub5 class318_sub5 = new RenderableSub5(); + class318_sub5.anInt6419 = i_25_; + class318_sub5.anInt6418 = i_30_; + class318_sub5.anInt6422 = i_29_; + class318_sub5.anInt6421 = i + OpenGlShader.clientCycle; + if (i_28_ >= -48) method206(-90, -126, -8); + class318_sub5.aString6416 = string; + class318_sub5.anInt6415 = i_26_; + class318_sub5.anInt6420 = i_27_; + Component241.aClass243_2957.method1869(-103, class318_sub5); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("go.F(" + i + ',' + i_25_ + ',' + i_26_ + ',' + (string != null ? "{...}" : "null") + ',' + i_27_ + ',' + i_28_ + ',' + i_29_ + ',' + i_30_ + ')')); + } + } + + static final int method206(int i, int i_31_, int i_32_) { + anInt152++; + int i_33_ = i_31_ >>> 24; + int i_34_ = -i_33_ + i_32_; + i_31_ = (0xff0000 & (i_31_ & 0xff00) * i_33_ | (0xff00ff & i_31_) * i_33_ & ~0xff00ff) >>> 8; + return i_31_ + (((i & 0xff00) * i_34_ & 0xff0000 | ~0xff00ff & (0xff00ff & i) * i_34_) >>> 8); + } + + /** + * Pixel height of the purple developer-console band. + *

    + *
  • Desktop: fixed 350.
  • + *
  • Mobile, IME closed: compact 175.
  • + *
  • Mobile, IME open: fills from window top down to just above the keyboard + * so the prompt stays visible while typing commands.
  • + *
+ */ + static int consoleBandHeight() { + int compact = isMobile() ? 175 : 350; + if (!isMobile() || !StringCache.devConsoleOpen) { + return compact; + } + int cover = MobileKeyboard.imeCoverCanvasPx(); + if (cover <= 0) { + return compact; + } + int canvasH = PacketReader.anInt10432; + if (canvasH <= 0) { + canvasH = GlToolkitSub2.anInt7666; + } + // Bottom of purple sits 20px above the keyboard top. + int filled = canvasH - cover - 30; + if (filled < compact) { + return compact; + } + if (filled > canvasH - 8) { + filled = canvasH - 8; + } + return filled; + } + + /** + * Last height actually drawn for the purple band. + *

+ * Mobile hosts hide the IME on console tap before the game loop drains + * the injected click ({@code KEYBOARD_INSET_PX → 0}). Without this sticky height, + * {@link #consoleBandHeight()} snaps back to compact and the lower (expanded) + * region stops consuming presses — walk / iface clicks pass through the purple. + */ + private static int lastDrawnConsoleH; + + /** + * Hit-test height: at least the last drawn band, so a tap that dismisses the + * keyboard still lands inside the purple that was on screen when the finger went down. + */ + private static int consoleHitHeight() { + int h = consoleBandHeight(); + if (lastDrawnConsoleH > h) { + h = lastDrawnConsoleH; + } + return h; + } + + /** + * Cursor currently over the open console band — refreshed by {@link #pollConsoleInput()}. + * Used by {@link DisplayModeManagerContainer1#updateMenuTip} to suppress walk / menus. + */ + private static boolean consoleMouseOver; + + /** Finger/mouse gesture started on the purple band (press → drag or tap). */ + private static boolean consoleGestureActive; + /** Canvas Y where the gesture began (tap hit-test uses this, not release Y). */ + private static int consoleGestureStartY; + /** {@link Component94#consoleScroll} at gesture start — drag scrolls relative to this. */ + private static int consoleGestureStartScroll; + /** True once movement exceeds {@link #CONSOLE_TAP_SLOP_PX} — tap will not re-run a command. */ + private static boolean consoleGestureDragged; + /** {@link OpenGlShader#clientCycle} after last re-run — debounce double-taps. */ + private static int consoleRerunCycle; + + /** Pixels of movement before a press is treated as scroll instead of a tap. */ + private static final int CONSOLE_TAP_SLOP_PX = 28; + /** Extra vertical gap between history cells (hit + draw spacing). */ + private static final int CONSOLE_CELL_GAP = 10; + /** + * Minimum height of the {@code -->} write strip (keyboard open zone). + * Larger than the font metrics so the soft-keyboard tap target is easy on mobile. + */ + private static final int CONSOLE_PROMPT_MIN_H = 30; + /** Ignore a second re-run within this many client cycles (~0.5s at 50fps). */ + private static final int CONSOLE_RERUN_DEBOUNCE = 25; + + /** {@code true} when the console is open and the cursor is over its band this frame. */ + static boolean isMouseOverConsole() { + return consoleMouseOver && StringCache.devConsoleOpen; + } + + /** Row pitch for history cells: font line height + gap (avoids fat-finger double hits). */ + private static int consoleCellPitch() { + int lineH = Component342.consoleLineHeight; + if (lineH < 1) { + lineH = 16; + } + return lineH + CONSOLE_CELL_GAP; + } + + /** + * Prompt strip height: separator → bottom of purple. + * Floored at {@link #CONSOLE_PROMPT_MIN_H} so the keyboard tap target stays large. + */ + private static int consolePromptStripH() { + int promptH = ImageProducerSprite.consolePromptHeight; + if (promptH < 1) { + promptH = Component342.consoleLineHeight + 4; + } + if (promptH < CONSOLE_PROMPT_MIN_H) { + promptH = CONSOLE_PROMPT_MIN_H; + } + return promptH; + } + + /** + * Hit-test in canvas coordinates (same space as + * {@link MouseHandler#getCursorX} / {@link MouseHandler#getCursorY}). + * Console is always anchored at the top of the game canvas. + */ + static boolean consoleContains(int x, int y) { + if (!StringCache.devConsoleOpen) { + return false; + } + return x >= 0 && x < Component236.anInt4017 + && y >= 0 && y < consoleHitHeight(); + } + + /** + * True only on the {@code -->} write strip (bottom of the purple band). + * Mobile hosts open/toggle the soft keyboard only here — history taps + * must re-run commands without raising the IME. + *

+ * Public: looked up by reflection from {@code voidawt.AwtHost}. + */ + public static boolean isConsolePromptTap(int x, int y) { + if (!StringCache.devConsoleOpen) { + return false; + } + if (x < 0 || x >= Component236.anInt4017) { + return false; + } + // Drawn band height (not sticky) so history never counts as prompt. + int h = consoleBandHeight(); + int promptH = consolePromptStripH(); + return y >= h - promptH && y < h; + } + + /** Clamp console history scroll index (same bounds as {@link PauseTimer#processDevConsoleInput}). */ + private static void setConsoleScroll(int scroll) { + int max = Component14.consoleLineCount - 1; + if (max < 0) { + max = 0; + } + if (scroll < 0) { + scroll = 0; + } else if (scroll > max) { + scroll = max; + } + Component94.consoleScroll = scroll; + } + + /** + * Extract {@code cmd} from a {@code "HH:MM:SS: --> cmd"} history line, or null. + * Strips {@code item ... (name)} display decoration so re-run sends a clean command. + */ + private static String commandFromHistoryLine(String line) { + if (line == null) { + return null; + } + int arrow = line.indexOf("--> "); + if (arrow < 0) { + arrow = line.indexOf("-->"); + if (arrow < 0) { + return null; + } + String cmd = line.substring(arrow + 3).trim(); + if (cmd.length() == 0) { + return null; + } + return Component210.stripItemConsoleEcho(cmd); + } + String cmd = line.substring(arrow + 4).trim(); + if (cmd.length() == 0) { + return null; + } + return Component210.stripItemConsoleEcho(cmd); + } + + /** + * Full-width cell hit-test for a {@code -->} history line, then re-submit. + * Cells use {@link #consoleCellPitch()} (line + gap); the gap is a dead zone so + * adjacent commands are harder to double-fire. Prompt strip is ignored. + * Geometry matches {@link #drawDevConsole} (drawn band height, not sticky hit height). + */ + private static void tryRerunCommandAt(int y) { + if (ArbShaderProgram.consoleLines == null || Component14.consoleLineCount <= 0) { + return; + } + if (OpenGlShader.clientCycle - consoleRerunCycle < CONSOLE_RERUN_DEBOUNCE + && OpenGlShader.clientCycle >= consoleRerunCycle) { + return; + } + int lineH = Component342.consoleLineHeight; + if (lineH < 1) { + return; + } + int pitch = consoleCellPitch(); + int consoleH = consoleBandHeight(); + int promptH = consolePromptStripH(); + int historyBottom = consoleH - promptH; + if (y < 0 || y >= historyBottom) { + return; + } + // Bottom-up cells matching draw: vis 0 = newest, just above the prompt. + int fromBottom = historyBottom - 1 - y; + int vis = fromBottom / pitch; + int within = fromBottom % pitch; + // Dead zone = top CONSOLE_CELL_GAP of each cell (padding between rows). + if (within >= lineH) { + return; + } + int lineIndex = Component94.consoleScroll + vis; + if (lineIndex < 0 || lineIndex >= Component14.consoleLineCount) { + return; + } + String cmd = commandFromHistoryLine(ArbShaderProgram.consoleLines[lineIndex]); + if (cmd == null) { + return; + } + Component126.consoleInput = cmd; + NodeSub38.consoleCursor = cmd.length(); + Component210.submitConsoleLine(false, 0); + consoleRerunCycle = OpenGlShader.clientCycle; + } + + /** + * Consume mouse presses that land on the purple console band so they do not + * reach walk / tip menus / interface click handlers underneath. + *

+ * Also handles mobile-friendly interaction: + *

    + *
  • One-finger drag scrolls history ({@link Component94#consoleScroll}).
  • + *
  • Tap on a {@code --> } history cell re-submits that command (no IME).
  • + *
+ * Same pattern as {@link MicrobotPanel#pollInput}: unlink from + * {@link Component327#aClass262_8744} after mouse drain, before + * {@link DisplayModeManagerContainer1#updateMenuTip}. Event types 0/1/2 = + * left/middle/right press ({@link Component307#method3584}). + */ + static void pollConsoleInput() { + consoleMouseOver = false; + if (!StringCache.devConsoleOpen || AbstractGlTextureSub4.mouseHandler == null) { + consoleGestureActive = false; + lastDrawnConsoleH = 0; + return; + } + try { + int mx = AbstractGlTextureSub4.mouseHandler.getCursorX(true); + int my = AbstractGlTextureSub4.mouseHandler.getCursorY((byte) 100); + consoleMouseOver = consoleContains(mx, my); + + Node node = Component327.aClass262_8744.first(4); + while (node != null) { + Node next = Component327.aClass262_8744.next((byte) 79); + if (node instanceof NodeSub45) { + NodeSub45 click = (NodeSub45) node; + int type = click.getEventType(86); + // 0=left, 1=middle, 2=right press — releases/wheel stay elsewhere. + if (type == 0 || type == 1 || type == 2) { + int cx = click.getX((byte) -128); + int cy = click.getY(33); + if (consoleContains(cx, cy)) { + if (type == 0) { + // Start tap-or-drag gesture on left press. + consoleGestureActive = true; + consoleGestureStartY = cy; + consoleGestureStartScroll = Component94.consoleScroll; + consoleGestureDragged = false; + } + click.unlink((byte) 97); + } + } + } + node = next; + } + + if (consoleGestureActive) { + if (AbstractGlTextureSub4.mouseHandler.isLeftButtonDown(-91)) { + int dy = my - consoleGestureStartY; + if (dy < 0) { + dy = -dy; + } + if (dy > CONSOLE_TAP_SLOP_PX) { + consoleGestureDragged = true; + } + int pitch = consoleCellPitch(); + // Natural mobile scroll (content follows finger): finger down → older + // history (higher consoleScroll). Opposite of the old inverted sign. + // Wheel path: PauseTimer uses mouseWheelDelta the other way around + // (positive notches → lower scroll) — same end UX as “scroll down”. + setConsoleScroll(consoleGestureStartScroll + + (my - consoleGestureStartY) / pitch); + } else { + // Release / injectLeftClick same-frame: short tap re-runs a --> cell. + // Does not open the keyboard — that is prompt-only on the native host. + if (!consoleGestureDragged) { + tryRerunCommandAt(consoleGestureStartY); + } + consoleGestureActive = false; + } + } + } catch (Throwable t) { + consoleGestureActive = false; + System.out.println("dev-console input: " + t.getMessage()); + } + } + + /** + * Draw the purple developer-console overlay (history + prompt + caret). + * Band height from {@link #consoleBandHeight()}; scroll from {@link Component94#consoleScroll}. + */ + static final void drawDevConsole(GraphicsToolkit var_ha, byte i) { + do { + try { + anInt153++; + int i_35_ = 0; + int i_36_ = 0; + if (i < 113) aClass227_151 = null; + if (Component210.gameCanvasAttached) { + i_35_ = BufferCacheSub3.method4008((byte) -127); + i_36_ = Component110.method260(false); + } + // Purple band: compact by default; expands to IME top when keyboard is up. + final int consoleH = consoleBandHeight(); + lastDrawnConsoleH = consoleH; + final int scrollTrack = consoleH - 8; + final int cellPitch = consoleCellPitch(); + final int promptH = consolePromptStripH(); + var_ha.KA(i_35_, i_36_, Component236.anInt4017 + i_35_, i_36_ + consoleH); + var_ha.fillRect(i_35_, i_36_, Component236.anInt4017, consoleH, 0x332277 | Component39.consoleFadeAlpha << 24, 1); + Component103.method2663(-5590, i_35_, Component236.anInt4017 + i_35_, i_36_, i_36_ + consoleH); + int i_37_ = (consoleH - promptH) / cellPitch; + if (i_37_ < 1) { + i_37_ = 1; + } + if (Component14.consoleLineCount > 0) { + int i_38_ = scrollTrack + -cellPitch; + int i_39_ = (i_37_ * i_38_ / (-1 + (i_37_ - -Component14.consoleLineCount))); + int i_40_ = 4; + if (Component14.consoleLineCount > 1) i_40_ += ((Component14.consoleLineCount + (-1 + -Component94.consoleScroll)) * (i_38_ - i_39_) / (Component14.consoleLineCount + -1)); + var_ha.fillRect(-16 + (Component236.anInt4017 + i_35_), i_36_ + i_40_, 12, i_39_, 0x332277 | Component39.consoleFadeAlpha << 24, 2); + for (int i_41_ = Component94.consoleScroll; ((i_41_ < i_37_ + Component94.consoleScroll) && Component14.consoleLineCount > i_41_); i_41_++) { + String[] strings = (DefinitionSub23.splitByChar('\010', true, ArbShaderProgram.consoleLines[i_41_])); + int i_42_ = (-16 + Component236.anInt4017 + -8) / strings.length; + for (int i_43_ = 0; i_43_ < strings.length; i_43_++) { + int i_44_ = i_42_ * i_43_ + 8; + var_ha.KA(i_35_ + i_44_, i_36_, i_42_ + i_35_ - (-i_44_ - -8), i_36_ + consoleH); + // Same bottom-up cell pitch as tryRerunCommandAt (line + gap). + Applet_Sub1.aClass324_20.drawText(AudioMixer.redactConsoleLine((byte) 31, strings[i_43_]), -1, (-((-Component94.consoleScroll + i_41_) * cellPitch) + (-promptH + i_36_ - (-consoleH - (-2 + -(Component163.aClass143_3179.descent))))), i_35_ + i_44_, -16777216, -110); + } + } + } + Component49.aClass324_4684.drawTextRightAligned("Build: 634", consoleH + (i_36_ + -20), -1, (Component236.anInt4017 + i_35_ + -25), -121, -16777216); + var_ha.KA(i_35_, i_36_, i_35_ - -Component236.anInt4017, i_36_ - -consoleH); + var_ha.method3649((byte) -80, Component236.anInt4017, -promptH + (consoleH + i_36_), -1, i_35_); + NodeList.aClass324_3326.drawText("--> " + AudioMixer.redactConsoleLine((byte) 31, Component126.consoleInput), -1, (i_36_ - (-consoleH + Component27.aClass143_4962.descent) - 1), 10 + i_35_, -16777216, -127); + if (!Component143.aBoolean2329) break; + int i_45_ = -1; + if (OpenGlShader.clientCycle % 30 > 15) i_45_ = 16777215; + var_ha.method3660(10 + (i_35_ - -(Component27.aClass143_4962.stringWidth(true, "--> " + (AudioMixer.redactConsoleLine((byte) 31, Component126.consoleInput).substring(0, NodeSub38.consoleCursor))))), i_45_, 12, consoleH + (i_36_ + -Component27.aClass143_4962.descent - 11), true); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("go.B(" + (var_ha != null ? "{...}" : "null") + ',' + i + ')')); + } + break; + } while (false); + } + + public static void method208(byte i) { + if (i != 0) method204(29); + aClass227_151 = null; + } + + /** Android/iOS rewrite to {@code voidawt}; desktop keeps {@code java.awt}. */ + static boolean isMobile() { + try { + Class.forName("voidawt.AwtHost"); + return true; + } catch (Throwable ignored) { + return false; + } + } + + /** Explicit GC stalls the game thread for seconds on mobile ART — skip there. */ + static void maybeGc() { + if (!isMobile()) { + System.gc(); + } + } + + BuildInfo(int i, int i_46_, int i_47_, int i_48_, int i_49_, int i_50_, int i_51_, int i_52_, int i_53_, boolean bool, int i_54_) { + this.aBoolean145 = bool; + this.aByte156 = (byte) i_53_; + this.anInt154 = i_54_; + this.aShort143 = (short) i_50_; + this.aByte148 = (byte) i_52_; + this.aShort146 = (short) i_51_; + this.aShort150 = (short) i_49_; + this.anInt144 = i; + } +} diff --git a/client/src/Callback_Sub1.java b/client/src/Callback_Sub1.java deleted file mode 100644 index 73047b75e..000000000 --- a/client/src/Callback_Sub1.java +++ /dev/null @@ -1,73 +0,0 @@ -/* Callback_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import com.ms.awt.WComponentPeer; -import com.ms.dll.Callback; -import com.ms.dll.Root; -import com.ms.win32.User32; - -import java.awt.*; - -final class Callback_Sub1 extends Callback { - private volatile boolean aBoolean7460 = true; - private volatile int anInt7461; - private int anInt7462; - private volatile int anInt7463; - private boolean aBoolean7464; - - final void method3621(int i, byte i_0_, int i_1_) { - if (i_0_ >= 65) User32.SetCursorPos(i, i_1_); - } - - final void method3622(boolean bool, int i, Component component) { - WComponentPeer wcomponentpeer = (WComponentPeer) component.getPeer(); - int i_2_ = wcomponentpeer.getTopHwnd(); - if (i_2_ != anInt7461 || !bool == aBoolean7460) { - if (i != 13259) method3622(true, -90, null); - if (!aBoolean7464) { - anInt7462 = User32.LoadCursor(0, 32512); - Root.alloc(this); - aBoolean7464 = true; - } - if (anInt7461 != i_2_) { - if (anInt7461 != 0) { - aBoolean7460 = true; - User32.SendMessage(i_2_, 101024, 0, 0); - synchronized (this) { - User32.SetWindowLong(anInt7461, -4, anInt7463); - } - } - synchronized (this) { - anInt7461 = i_2_; - anInt7463 = User32.SetWindowLong(anInt7461, -4, (Object) this); - } - } - aBoolean7460 = bool; - User32.SendMessage(i_2_, 101024, 0, 0); - } - } - - final synchronized int method3623(int i, int i_3_, int i_4_, int i_5_) { - if (i != anInt7461) { - int i_6_ = User32.GetWindowLong(i, -4); - return User32.CallWindowProc(i_6_, i, i_3_, i_4_, i_5_); - } - if (i_3_ == 32) { - int i_7_ = 0xffff & i_5_; - if (i_7_ == 1) { - User32.SetCursor(aBoolean7460 ? anInt7462 : 0); - return 0; - } - } - if (i_3_ == 101024) { - User32.SetCursor(!aBoolean7460 ? 0 : anInt7462); - return 0; - } - if (i_3_ == 1) { - anInt7461 = 0; - aBoolean7460 = true; - } - return User32.CallWindowProc(anInt7463, i, i_3_, i_4_, i_5_); - } -} diff --git a/client/src/Canvas_Sub1.java b/client/src/Canvas_Sub1.java index 3bee28a29..e50ea97af 100644 --- a/client/src/Canvas_Sub1.java +++ b/client/src/Canvas_Sub1.java @@ -17,29 +17,33 @@ final class Canvas_Sub1 extends Canvas { static int anInt69; static int anInt70; - static final void method119(int i, long l) { + /** + * Lerp camera focus toward the local player and apply yaw/pitch rates (follow mode). + * Snaps if focus is more than 2000 units away; {@code l} is elapsed ms. + */ + static final void updateFollowCamera(int i, long l) { try { anInt66++; - int i_0_ = (Class20.anInt319 + Class132.aPlayer_1907.x); - int i_1_ = (Class260.anInt3310 + Class132.aPlayer_1907.y); - if (-i_0_ + Class130_Sub1.anInt5799 < -2000 || -i_0_ + Class130_Sub1.anInt5799 > 2000 || Class192.anInt2578 - i_1_ < -2000 || -i_1_ + Class192.anInt2578 > 2000) { - Class192.anInt2578 = i_1_; - Class130_Sub1.anInt5799 = i_0_; + int i_0_ = (Component120.cameraShakeX + Component72.localPlayer.x); + int i_1_ = (Component92.cameraShakeZ + Component72.localPlayer.y); + if (-i_0_ + DisplayModeManagerContainer273.cameraFocusX < -2000 || -i_0_ + DisplayModeManagerContainer273.cameraFocusX > 2000 || Component353.cameraFocusZ - i_1_ < -2000 || -i_1_ + Component353.cameraFocusZ > 2000) { + Component353.cameraFocusZ = i_1_; + DisplayModeManagerContainer273.cameraFocusX = i_0_; } - if (Class130_Sub1.anInt5799 != i_0_) { - int i_2_ = i_0_ - Class130_Sub1.anInt5799; + if (DisplayModeManagerContainer273.cameraFocusX != i_0_) { + int i_2_ = i_0_ - DisplayModeManagerContainer273.cameraFocusX; int i_3_ = (int) ((long) i_2_ * l / 320L); if (i_2_ <= 0) { if (i_3_ == 0) i_3_ = -1; else if (i_3_ < i_2_) i_3_ = i_2_; } else if (i_3_ == 0) i_3_ = 1; else if (i_3_ > i_2_) i_3_ = i_2_; - Class130_Sub1.anInt5799 += i_3_; + DisplayModeManagerContainer273.cameraFocusX += i_3_; } if (i == -1) { - Class314.aFloat3938 += Class205.aFloat2687 * (float) l / 6.0F; - if (i_1_ != Class192.anInt2578) { - int i_4_ = i_1_ - Class192.anInt2578; + Component112.cameraYaw += Component275.cameraYawRate * (float) l / 6.0F; + if (i_1_ != Component353.cameraFocusZ) { + int i_4_ = i_1_ - Component353.cameraFocusZ; int i_5_ = (int) ((long) i_4_ * l / 320L); if (i_4_ > 0) { if (i_5_ != 0) { @@ -48,13 +52,13 @@ static final void method119(int i, long l) { } else if (i_5_ != 0) { if (i_5_ < i_4_) i_5_ = i_4_; } else i_5_ = -1; - Class192.anInt2578 += i_5_; + Component353.cameraFocusZ += i_5_; } - Class76.aFloat1287 += Class348_Sub27.aFloat6898 * (float) l / 6.0F; - Class239_Sub2.method1725(262144); + DisplayModeManagerContainer154.cameraPitch += NodeSub27.cameraPitchRate * (float) l / 6.0F; + DisplayModeManagerContainer199.clampCameraAngles(262144); } } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "vg.A(" + i + ',' + l + ')'); + throw NpcDefinition.wrapThrowable(runtimeexception, "vg.A(" + i + ',' + l + ')'); } } @@ -63,36 +67,41 @@ public final void update(Graphics graphics) { aComponent64.update(graphics); } - public static void method120(boolean bool) { + /** Null shared statics for GC / shutdown. */ + public static void clearStatics(boolean bool) { anIntArray60 = null; if (bool != false) anIntArray60 = null; } - static final void method121(int i, int i_6_, boolean bool, int i_7_, int i_8_, int i_9_) { + /** + * Set one inventory/container slot: id {@code i}, optional high-bit key when {@code bool}, + * slot {@code i_7_}, amount {@code i_8_}, itemId {@code i_9_}. Used by UPDATE_INV packets. + */ + static final void setContainerSlot(int i, int i_6_, boolean bool, int i_7_, int i_8_, int i_9_) { if (i_6_ != -364570972) anInt70 = -4; anInt68++; long l = i | (!bool ? 0 : -2147483648); - Class348_Sub13 class348_sub13 = ((Class348_Sub13) Class348_Sub40.aClass356_7041.method3480(l, -6008)); + NodeSub13 class348_sub13 = ((NodeSub13) Definition.containers.get(l, -6008)); if (class348_sub13 == null) { - class348_sub13 = new Class348_Sub13(); - Class348_Sub40.aClass356_7041.method3483((byte) 109, l, class348_sub13); + class348_sub13 = new NodeSub13(); + Definition.containers.put((byte) 109, l, class348_sub13); } - if (class348_sub13.anIntArray6757.length <= i_7_) { + if (class348_sub13.itemIds.length <= i_7_) { int[] is = new int[1 + i_7_]; int[] is_10_ = new int[1 + i_7_]; - for (int i_11_ = 0; (class348_sub13.anIntArray6757.length > i_11_); i_11_++) { - is[i_11_] = class348_sub13.anIntArray6757[i_11_]; - is_10_[i_11_] = class348_sub13.anIntArray6758[i_11_]; + for (int i_11_ = 0; (class348_sub13.itemIds.length > i_11_); i_11_++) { + is[i_11_] = class348_sub13.itemIds[i_11_]; + is_10_[i_11_] = class348_sub13.amounts[i_11_]; } - for (int i_12_ = class348_sub13.anIntArray6757.length; i_12_ < i_7_; i_12_++) { + for (int i_12_ = class348_sub13.itemIds.length; i_12_ < i_7_; i_12_++) { is[i_12_] = -1; is_10_[i_12_] = 0; } - class348_sub13.anIntArray6757 = is; - class348_sub13.anIntArray6758 = is_10_; + class348_sub13.itemIds = is; + class348_sub13.amounts = is_10_; } - class348_sub13.anIntArray6757[i_7_] = i_9_; - class348_sub13.anIntArray6758[i_7_] = i_8_; + class348_sub13.itemIds[i_7_] = i_9_; + class348_sub13.amounts[i_7_] = i_8_; } public final void paint(Graphics graphics) { @@ -100,18 +109,22 @@ public final void paint(Graphics graphics) { anInt65++; } - static final Class64 method122(int i, int i_13_, int i_14_, int i_15_, int i_16_, byte i_17_, ha var_ha) { + /** + * Load (or reuse) a model from the model cache by archive id {@code i_16_}, then apply + * optional rotations/height ({@code i_15_}/{@code i_13_}/{@code i_14_}/{@code i}). + */ + static final DisplayModeManagerContainer370 getCachedModel(int i, int i_13_, int i_14_, int i_15_, int i_16_, byte i_17_, GraphicsToolkit var_ha) { anInt62++; if (i_17_ != -35) anInt70 = 10; long l = i_16_; - Class64 class64 = (Class64) Class15.aClass60_225.method583(l, 81); + DisplayModeManagerContainer370 class64 = (DisplayModeManagerContainer370) Component279.aClass60_225.get(l, 81); int i_18_ = 2055; if (class64 == null) { - Class124 class124 = Class300.method2277(0, aa_Sub3.aClass45_5207, i_16_, -1); + DisplayModeManagerContainer77 class124 = Component189.loadFromCache(0, ShaderSub3.aClass45_5207, i_16_, -1); if (class124 == null) return null; if (class124.anInt1830 < 13) class124.method1092(2, 105); - class64 = var_ha.method3625(class124, i_18_, Class171.anInt2275, 64, 768); - Class15.aClass60_225.method582(class64, l, (byte) -122); + class64 = var_ha.method3625(class124, i_18_, Component382.anInt2275, 64, 768); + Component279.aClass60_225.putOne(class64, l, (byte) -122); } class64 = class64.method614((byte) 2, i_18_, true); if (i_15_ != 0) class64.a(i_15_); @@ -121,226 +134,230 @@ static final Class64 method122(int i, int i_13_, int i_14_, int i_15_, int i_16_ return class64; } - static final void method123(int i) { + /** + * Prefetch region landscape/loc archives, then build the scene graph when all groups are ready. + * Called while entering the game world ({@code clientState} map-load path). + */ + static final void loadAndBuildScene(int i) { anInt63++; - Class289.method2193(false, (byte) -125); - Class268.anInt3441 = 0; + Component156.method2193(false, (byte) -125); + DisplayModeManagerContainer259.anInt3441 = 0; boolean bool = true; - for (int i_19_ = 0; Class347.aByteArrayArray4281.length > i_19_; i_19_++) { - if (aa_Sub1.anIntArray5192[i_19_] != -1 && Class347.aByteArrayArray4281[i_19_] == null) { - Class347.aByteArrayArray4281[i_19_] = Class367_Sub10.aClass45_7382.method410(-1860, aa_Sub1.anIntArray5192[i_19_], 0); - if (Class347.aByteArrayArray4281[i_19_] == null) { + for (int i_19_ = 0; DisplayModeManagerContainer322.aByteArrayArray4281.length > i_19_; i_19_++) { + if (ShaderSub1.anIntArray5192[i_19_] != -1 && DisplayModeManagerContainer322.aByteArrayArray4281[i_19_] == null) { + DisplayModeManagerContainer322.aByteArrayArray4281[i_19_] = SoftwareFallbackShader.aClass45_7382.getFile(-1860, ShaderSub1.anIntArray5192[i_19_], 0); + if (DisplayModeManagerContainer322.aByteArrayArray4281[i_19_] == null) { bool = false; - Class268.anInt3441++; + DisplayModeManagerContainer259.anInt3441++; } } - if (Applet_Sub1.anIntArray38[i_19_] != -1 && Class14_Sub4.aByteArrayArray8642[i_19_] == null) { - Class14_Sub4.aByteArrayArray8642[i_19_] = (Class367_Sub10.aClass45_7382.method393(Applet_Sub1.anIntArray38[i_19_], 0, i + 2, Class239_Sub6.anIntArrayArray5894[i_19_])); - if (Class14_Sub4.aByteArrayArray8642[i_19_] == null) { - Class268.anInt3441++; + if (Applet_Sub1.anIntArray38[i_19_] != -1 && WorldNameText.aByteArrayArray8642[i_19_] == null) { + WorldNameText.aByteArrayArray8642[i_19_] = (SoftwareFallbackShader.aClass45_7382.getFile(Applet_Sub1.anIntArray38[i_19_], 0, i + 2, Component31.anIntArrayArray5894[i_19_])); + if (WorldNameText.aByteArrayArray8642[i_19_] == null) { + DisplayModeManagerContainer259.anInt3441++; bool = false; } } - if (Class295.anIntArray3759[i_19_] != -1 && Class129.aByteArrayArray1887[i_19_] == null) { - Class129.aByteArrayArray1887[i_19_] = Class367_Sub10.aClass45_7382.method410(-1860, Class295.anIntArray3759[i_19_], 0); - if (Class129.aByteArrayArray1887[i_19_] == null) { - Class268.anInt3441++; + if (DisplayModeManagerContainer61.anIntArray3759[i_19_] != -1 && Component30.aByteArrayArray1887[i_19_] == null) { + Component30.aByteArrayArray1887[i_19_] = SoftwareFallbackShader.aClass45_7382.getFile(-1860, DisplayModeManagerContainer61.anIntArray3759[i_19_], 0); + if (Component30.aByteArrayArray1887[i_19_] == null) { + DisplayModeManagerContainer259.anInt3441++; bool = false; } } - if (r.anIntArray9724[i_19_] != -1 && Class348_Sub23_Sub1.aByteArrayArray8996[i_19_] == null) { - Class348_Sub23_Sub1.aByteArrayArray8996[i_19_] = Class367_Sub10.aClass45_7382.method410(-1860, r.anIntArray9724[i_19_], 0); - if (Class348_Sub23_Sub1.aByteArrayArray8996[i_19_] == null) { + if (r.anIntArray9724[i_19_] != -1 && OggUrlStream.aByteArrayArray8996[i_19_] == null) { + OggUrlStream.aByteArrayArray8996[i_19_] = SoftwareFallbackShader.aClass45_7382.getFile(-1860, r.anIntArray9724[i_19_], 0); + if (OggUrlStream.aByteArrayArray8996[i_19_] == null) { bool = false; - Class268.anInt3441++; + DisplayModeManagerContainer259.anInt3441++; } } - if (Class322.anIntArray4031 != null && Class348_Sub50.aByteArrayArray7212[i_19_] == null && Class322.anIntArray4031[i_19_] != -1) { - Class348_Sub50.aByteArrayArray7212[i_19_] = (Class367_Sub10.aClass45_7382.method393(Class322.anIntArray4031[i_19_], 0, i + 2, Class239_Sub6.anIntArrayArray5894[i_19_])); - if (Class348_Sub50.aByteArrayArray7212[i_19_] == null) { + if (ImageCacheStore.anIntArray4031 != null && NodeSub50.aByteArrayArray7212[i_19_] == null && ImageCacheStore.anIntArray4031[i_19_] != -1) { + NodeSub50.aByteArrayArray7212[i_19_] = (SoftwareFallbackShader.aClass45_7382.getFile(ImageCacheStore.anIntArray4031[i_19_], 0, i + 2, Component31.anIntArrayArray5894[i_19_])); + if (NodeSub50.aByteArrayArray7212[i_19_] == null) { bool = false; - Class268.anInt3441++; + DisplayModeManagerContainer259.anInt3441++; } } } - if (r_Sub2.aClass252_10488 == null) { - if (Class348_Sub26.aClass348_Sub42_Sub14_6885 != null && (Class348_Sub32.aClass45_6950.method400(-18308, (Class348_Sub26.aClass348_Sub42_Sub14_6885.aString9625) + "_staticelements"))) { - if (Class348_Sub32.aClass45_6950.method413(100, (Class348_Sub26.aClass348_Sub42_Sub14_6885.aString9625) + "_staticelements")) - r_Sub2.aClass252_10488 = Class307.method2300(Class348_Sub32.aClass45_6950, ((Class348_Sub26.aClass348_Sub42_Sub14_6885.aString9625) + "_staticelements"), Class130.aBoolean1900, (byte) -91); + if (CacheNodeSub2.aClass252_10488 == null) { + if (Request.aClass348_Sub42_Sub14_6885 != null && (NodeSub32.aClass45_6950.hasGroup(-18308, (Request.aClass348_Sub42_Sub14_6885.aString9625) + "_staticelements"))) { + if (NodeSub32.aClass45_6950.isGroupReadyByName(100, (Request.aClass348_Sub42_Sub14_6885.aString9625) + "_staticelements")) + CacheNodeSub2.aClass252_10488 = Component358.loadStaticElements(NodeSub32.aClass45_6950, ((Request.aClass348_Sub42_Sub14_6885.aString9625) + "_staticelements"), Component387.aBoolean1900, (byte) -91); else { bool = false; - Class268.anInt3441++; + DisplayModeManagerContainer259.anInt3441++; } - } else r_Sub2.aClass252_10488 = new Class252(0); + } else CacheNodeSub2.aClass252_10488 = new Component278(0); } if (bool) { bool = true; - Class154.anInt2101 = 0; - for (int i_20_ = 0; i_20_ < Class347.aByteArrayArray4281.length; i_20_++) { - byte[] is = Class14_Sub4.aByteArrayArray8642[i_20_]; + Component101.anInt2101 = 0; + for (int i_20_ = 0; i_20_ < DisplayModeManagerContainer322.aByteArrayArray4281.length; i_20_++) { + byte[] is = WorldNameText.aByteArrayArray8642[i_20_]; if (is != null) { - int i_21_ = 64 * (Class348_Sub23_Sub3.anIntArray9042[i_20_] >> 8) - za_Sub2.regionTileX; - int i_22_ = 64 * (Class348_Sub23_Sub3.anIntArray9042[i_20_] & 0xff) - Class90.regionTileY; - if (Class312.anInt3931 != 0) { + int i_21_ = 64 * (OggStreamReader.anIntArray9042[i_20_] >> 8) - NodeBaseSub2.regionTileX; + int i_22_ = 64 * (OggStreamReader.anIntArray9042[i_20_] & 0xff) - Component330.regionTileY; + if (Component37.anInt3931 != 0) { i_22_ = 10; i_21_ = 10; } - bool &= Class348_Sub41.method3154(Class367_Sub4.anInt7319, i_21_, (Class348_Sub40_Sub3.anInt9109), i_22_, is, (byte) 39); + bool &= NodeSub41.method3154(AbstractShaderSub4.anInt7319, i_21_, (ParametricDefinition.anInt9109), i_22_, is, (byte) 39); } - is = Class348_Sub23_Sub1.aByteArrayArray8996[i_20_]; + is = OggUrlStream.aByteArrayArray8996[i_20_]; if (is != null) { - int i_23_ = 64 * (Class348_Sub23_Sub3.anIntArray9042[i_20_] >> 8) - za_Sub2.regionTileX; - int i_24_ = 64 * (Class348_Sub23_Sub3.anIntArray9042[i_20_] & 0xff) + -Class90.regionTileY; - if (Class312.anInt3931 != 0) { + int i_23_ = 64 * (OggStreamReader.anIntArray9042[i_20_] >> 8) - NodeBaseSub2.regionTileX; + int i_24_ = 64 * (OggStreamReader.anIntArray9042[i_20_] & 0xff) + -Component330.regionTileY; + if (Component37.anInt3931 != 0) { i_24_ = 10; i_23_ = 10; } - bool &= Class348_Sub41.method3154(Class367_Sub4.anInt7319, i_23_, (Class348_Sub40_Sub3.anInt9109), i_24_, is, (byte) 39); + bool &= NodeSub41.method3154(AbstractShaderSub4.anInt7319, i_23_, (ParametricDefinition.anInt9109), i_24_, is, (byte) 39); } } if (bool) { - if (Class36.anInt489 != 0) Class362.method3511(true, Applet_Sub1.aClass324_20, Class246.aClass143_3179, ((Class274.aClass274_3495.method2063(Class348_Sub33.anInt6967, 544)) + "
(100%)"), 2, Class348_Sub8.aHa6654); - Class369_Sub1.method3570(false); - Class348_Sub18.method2938((byte) 102); - Class239_Sub12.method1772(i ^ 0x41); + if (Component129.anInt489 != 0) Component149.method3511(true, Applet_Sub1.aClass324_20, Component163.aClass143_3179, ((FriendsIgnoreList.aClass274_3495.getLocalized(ObjectDeserializer.languageId, 544)) + "
(100%)"), 2, NodeSub8.toolkit); + Component381.method3570(false); + NodeSub18.method2938((byte) 102); + Component205.method1772(i ^ 0x41); boolean bool_25_ = false; - if (Class348_Sub8.aHa6654.method3639() && Class316.aClass348_Sub51_3959.aClass239_Sub18_7259.method1800(-32350) == 2) { - for (int i_26_ = 0; (i_26_ < Class347.aByteArrayArray4281.length); i_26_++) { - if ((Class348_Sub23_Sub1.aByteArrayArray8996[i_26_] != null) || Class129.aByteArrayArray1887[i_26_] != null) { + if (NodeSub8.toolkit.method3639() && Component192.aClass348_Sub51_3959.aClass239_Sub18_7259.method1800(-32350) == 2) { + for (int i_26_ = 0; (i_26_ < DisplayModeManagerContainer322.aByteArrayArray4281.length); i_26_++) { + if ((OggUrlStream.aByteArrayArray8996[i_26_] != null) || Component30.aByteArrayArray1887[i_26_] != null) { bool_25_ = true; break; } } } int i_27_; - if (Class316.aClass348_Sub51_3959.aClass239_Sub16_7247.method1789(-32350) != 1) i_27_ = Class9.anIntArray168[Class348_Sub15.anInt6769]; - else i_27_ = (Class286_Sub8.anIntArray6296[Class348_Sub15.anInt6769]); - if (Class348_Sub8.aHa6654.method3670()) i_27_++; + if (Component192.aClass348_Sub51_3959.aClass239_Sub16_7247.method1789(-32350) != 1) i_27_ = JaclibLoader.anIntArray168[ColorTagNode.anInt6769]; + else i_27_ = (CookieManager.anIntArray6296[ColorTagNode.anInt6769]); + if (NodeSub8.toolkit.method3670()) i_27_++; i_27_ = (int) (Loader.RENDER_DISTANCE_MULTIPLIER * i_27_); - Class348_Sub42_Sub2.method3171(Class348_Sub8.aHa6654, Class239_Sub16.anInt6012, 9, 4, Class367_Sub4.anInt7319, Class348_Sub40_Sub3.anInt9109, i_27_, bool_25_, Class348_Sub8.aHa6654.method3704() > 0); - Class348_Sub32.method3018(Class318_Sub1_Sub4_Sub2.anInt10096); - if (Class318_Sub1_Sub4_Sub2.anInt10096 != 0) Class348_Sub48.method3328(Class240.aClass324_4684); - else Class348_Sub48.method3328(null); + HashNodeSub2.method3171(NodeSub8.toolkit, Component25.anInt6012, 9, 4, AbstractShaderSub4.anInt7319, ParametricDefinition.anInt9109, i_27_, bool_25_, NodeSub8.toolkit.method3704() > 0); + NodeSub32.method3018(Component171.anInt10096); + if (Component171.anInt10096 != 0) NodeSub48.setDebugOverlayFont(Component49.aClass324_4684); + else NodeSub48.setDebugOverlayFont(null); for (int i_28_ = 0; i_28_ < 4; i_28_++) - Class348_Sub45.aClass361Array7108[i_28_].method3500(i ^ 0x2bc); - Class52.method491((byte) -86); - Class101_Sub2.method921((byte) 99, false); - ha_Sub3.method3936(i + i); - Class259.aClass305_3304 = null; - Class55_Sub1.aBoolean5265 = false; - Class369_Sub1.method3570(false); - System.gc(); - Class289.method2193(true, (byte) -128); - Class36.method354(2); - Class291.anInt3720 = Class316.aClass348_Sub51_3959.aClass239_Sub7_7238.method1748(-32350); - Class296.aBoolean3767 = Class226.anInt2964 >= 96; - Class369.aBoolean4972 = Class316.aClass348_Sub51_3959.aClass239_Sub18_7259.method1800(-32350) == 2; - Class186.aBoolean2492 = Class316.aClass348_Sub51_3959.aClass239_Sub28_7230.method1845(i + -32350) == 1; - OutputStream_Sub2.anInt101 = Class316.aClass348_Sub51_3959.aClass239_Sub27_7261.method1840(-32350) == 1 ? -1 : Class167.anInt2204; - IOException_Sub1.aBoolean86 = Class316.aClass348_Sub51_3959.aClass239_Sub9_7256.method1759(-32350) == 1; - Class47.aBoolean845 = Class316.aClass348_Sub51_3959.aClass239_Sub24_7235.method1820(i ^ ~0x7e5d) == 1; - Class338.aClass237_Sub1_4197 = new Class237_Sub1(4, Class367_Sub4.anInt7319, Class348_Sub40_Sub3.anInt9109, false); - if (Class312.anInt3931 != 0) Class44.method385(false, Class338.aClass237_Sub1_4197, Class347.aByteArrayArray4281); - else Class348_Sub1_Sub1.method2727((byte) -65, Class338.aClass237_Sub1_4197, (Class347.aByteArrayArray4281)); - Class108.method1015(Class367_Sub4.anInt7319 >> 4, (Class348_Sub40_Sub3.anInt9109 >> 4), true); - Class348_Sub42_Sub3.method3175((byte) -77); + NodeSub45.aClass361Array7108[i_28_].method3500(i ^ 0x2bc); + RSACipher.method491((byte) -86); + MatrixSub2.method921((byte) 99, false); + GlToolkitSub3.method3936(i + i); + Component293.aClass305_3304 = null; + Component326.aBoolean5265 = false; + Component381.method3570(false); + BuildInfo.maybeGc(); + Component156.method2193(true, (byte) -128); + Component129.method354(2); + ReferenceTable.anInt3720 = Component192.aClass348_Sub51_3959.aClass239_Sub7_7238.method1748(-32350); + HuffmanDecoder.aBoolean3767 = Component127.anInt2964 >= 96; + Component27.aBoolean4972 = Component192.aClass348_Sub51_3959.aClass239_Sub18_7259.method1800(-32350) == 2; + DisplayModeManagerContainer51.aBoolean2492 = Component192.aClass348_Sub51_3959.aClass239_Sub28_7230.method1845(i + -32350) == 1; + OutputStream_Sub2.anInt101 = Component192.aClass348_Sub51_3959.aClass239_Sub27_7261.method1840(-32350) == 1 ? -1 : Component385.anInt2204; + IOException_Sub1.aBoolean86 = Component192.aClass348_Sub51_3959.aClass239_Sub9_7256.method1759(-32350) == 1; + DisplayModeManagerContainer32.aBoolean845 = Component192.aClass348_Sub51_3959.aClass239_Sub24_7235.method1820(i ^ ~0x7e5d) == 1; + Component103.aClass237_Sub1_4197 = new Component251(4, AbstractShaderSub4.anInt7319, ParametricDefinition.anInt9109, false); + if (Component37.anInt3931 != 0) Component352.method385(false, Component103.aClass237_Sub1_4197, DisplayModeManagerContainer322.aByteArrayArray4281); + else NodeSub1Sub1.method2727((byte) -65, Component103.aClass237_Sub1_4197, (DisplayModeManagerContainer322.aByteArrayArray4281)); + Component83.method1015(AbstractShaderSub4.anInt7319 >> 4, (ParametricDefinition.anInt9109 >> 4), true); + HashNodeSub3.method3175((byte) -77); if (bool_25_) { - Class243.method1879(true); - Class170.aClass237_Sub1_5067 = new Class237_Sub1(1, Class367_Sub4.anInt7319, Class348_Sub40_Sub3.anInt9109, true); - if (Class312.anInt3931 == 0) { - Class348_Sub1_Sub1.method2727((byte) -44, (Class170.aClass237_Sub1_5067), (Class129.aByteArrayArray1887)); - Class289.method2193(true, (byte) -119); + Component315.method1879(true); + DisplayModeManagerContainer292.aClass237_Sub1_5067 = new Component251(1, AbstractShaderSub4.anInt7319, ParametricDefinition.anInt9109, true); + if (Component37.anInt3931 == 0) { + NodeSub1Sub1.method2727((byte) -44, (DisplayModeManagerContainer292.aClass237_Sub1_5067), (Component30.aByteArrayArray1887)); + Component156.method2193(true, (byte) -119); } else { - Class44.method385(false, Class170.aClass237_Sub1_5067, Class129.aByteArrayArray1887); - Class289.method2193(true, (byte) -125); + Component352.method385(false, DisplayModeManagerContainer292.aClass237_Sub1_5067, Component30.aByteArrayArray1887); + Component156.method2193(true, (byte) -125); } - Class170.aClass237_Sub1_5067.method1679(0, 0, (Class338.aClass237_Sub1_4197.anIntArrayArrayArray3122[0])); - Class170.aClass237_Sub1_5067.method1685(Class348_Sub8.aHa6654, null, 21407, null); - Class243.method1879(false); + DisplayModeManagerContainer292.aClass237_Sub1_5067.method1679(0, 0, (Component103.aClass237_Sub1_4197.anIntArrayArrayArray3122[0])); + DisplayModeManagerContainer292.aClass237_Sub1_5067.method1685(NodeSub8.toolkit, null, 21407, null); + Component315.method1879(false); } - Class338.aClass237_Sub1_4197.method1685(Class348_Sub8.aHa6654, (!bool_25_ ? null : (Class170.aClass237_Sub1_5067.anIntArrayArrayArray3122)), 21407, Class348_Sub45.aClass361Array7108); - if (Class312.anInt3931 == 0) { - Class289.method2193(true, (byte) -128); - Class122.method1090(Class14_Sub4.aByteArrayArray8642, i + 65536, Class338.aClass237_Sub1_4197); - if (Class348_Sub50.aByteArrayArray7212 != null) Class92.method859(i ^ ~0x7e); + Component103.aClass237_Sub1_4197.method1685(NodeSub8.toolkit, (!bool_25_ ? null : (DisplayModeManagerContainer292.aClass237_Sub1_5067.anIntArrayArrayArray3122)), 21407, NodeSub45.aClass361Array7108); + if (Component37.anInt3931 == 0) { + Component156.method2193(true, (byte) -128); + DisplayModeManagerContainer145.method1090(WorldNameText.aByteArrayArray8642, i + 65536, Component103.aClass237_Sub1_4197); + if (NodeSub50.aByteArrayArray7212 != null) DisplayModeManagerContainer23.method859(i ^ ~0x7e); } else { - Class289.method2193(true, (byte) -121); - Class101_Sub3.method944(i + -8212, Class14_Sub4.aByteArrayArray8642, Class338.aClass237_Sub1_4197); + Component156.method2193(true, (byte) -121); + MatrixSub3.method944(i + -8212, WorldNameText.aByteArrayArray8642, Component103.aClass237_Sub1_4197); } - Class348_Sub18.method2938((byte) 66); - if (Class226.anInt2964 < 96) Class299_Sub2_Sub1.method2271(31268); - Class289.method2193(true, (byte) -119); - Class338.aClass237_Sub1_4197.method1680(null, (byte) -125, (!bool_25_ ? null : (Class332.aSArray4142[0])), Class348_Sub8.aHa6654); - Class338.aClass237_Sub1_4197.method1697(false, Class348_Sub8.aHa6654, -36); - Class289.method2193(true, (byte) -122); + NodeSub18.method2938((byte) 66); + if (Component127.anInt2964 < 96) Component201.method2271(31268); + Component156.method2193(true, (byte) -119); + Component103.aClass237_Sub1_4197.method1680(null, (byte) -125, (!bool_25_ ? null : (Component9.aSArray4142[0])), NodeSub8.toolkit); + Component103.aClass237_Sub1_4197.method1697(false, NodeSub8.toolkit, -36); + Component156.method2193(true, (byte) -122); if (bool_25_) { - Class243.method1879(true); - Class289.method2193(true, (byte) -124); - if (Class312.anInt3931 != 0) Class101_Sub3.method944(-8212, (Class348_Sub23_Sub1.aByteArrayArray8996), Class170.aClass237_Sub1_5067); - else Class122.method1090((Class348_Sub23_Sub1.aByteArrayArray8996), i + 65536, Class170.aClass237_Sub1_5067); - Class348_Sub18.method2938((byte) 73); - Class289.method2193(true, (byte) -121); - Class170.aClass237_Sub1_5067.method1680((Class348_Sub1_Sub1.aSArray8801[0]), (byte) -127, null, (Class348_Sub8.aHa6654)); - Class170.aClass237_Sub1_5067.method1697(true, Class348_Sub8.aHa6654, i + -60); - Class289.method2193(true, (byte) -126); - Class243.method1879(false); + Component315.method1879(true); + Component156.method2193(true, (byte) -124); + if (Component37.anInt3931 != 0) MatrixSub3.method944(-8212, (OggUrlStream.aByteArrayArray8996), DisplayModeManagerContainer292.aClass237_Sub1_5067); + else DisplayModeManagerContainer145.method1090((OggUrlStream.aByteArrayArray8996), i + 65536, DisplayModeManagerContainer292.aClass237_Sub1_5067); + NodeSub18.method2938((byte) 73); + Component156.method2193(true, (byte) -121); + DisplayModeManagerContainer292.aClass237_Sub1_5067.method1680((NodeSub1Sub1.aSArray8801[0]), (byte) -127, null, (NodeSub8.toolkit)); + DisplayModeManagerContainer292.aClass237_Sub1_5067.method1697(true, NodeSub8.toolkit, i + -60); + Component156.method2193(true, (byte) -126); + Component315.method1879(false); } - Class348_Sub50.method3419(13022); - int i_29_ = Class338.aClass237_Sub1_4197.anInt5824; - if (i_29_ > Class355.anInt4372) i_29_ = Class355.anInt4372; - if (i_29_ < -1 + Class355.anInt4372) i_29_ = Class355.anInt4372 - 1; - if (Class316.aClass348_Sub51_3959.aClass239_Sub27_7261.method1840(-32350) == 0) Class84.method824(i_29_); - else Class84.method824(0); + NodeSub50.method3419(13022); + int i_29_ = Component103.aClass237_Sub1_4197.anInt5824; + if (i_29_ > Component117.anInt4372) i_29_ = Component117.anInt4372; + if (i_29_ < -1 + Component117.anInt4372) i_29_ = Component117.anInt4372 - 1; + if (Component192.aClass348_Sub51_3959.aClass239_Sub27_7261.method1840(-32350) == 0) DisplayModeManagerContainer26.method824(i_29_); + else DisplayModeManagerContainer26.method824(0); for (int i_30_ = 0; i_30_ < 4; i_30_++) { - for (int i_31_ = 0; Class367_Sub4.anInt7319 > i_31_; i_31_++) { - for (int i_32_ = 0; Class348_Sub40_Sub3.anInt9109 > i_32_; i_32_++) - Class203.method1479(i_32_, (byte) -126, i_31_, i_30_); + for (int i_31_ = 0; AbstractShaderSub4.anInt7319 > i_31_; i_31_++) { + for (int i_32_ = 0; ParametricDefinition.anInt9109 > i_32_; i_32_++) + DisplayModeManagerContainer351.method1479(i_32_, (byte) -126, i_31_, i_30_); } } - Class348_Sub40_Sub9.method3072((byte) -99); - Class369_Sub1.method3570(false); - Class363.method3514((byte) -105); - Class348_Sub18.method2938((byte) 62); - Class130_Sub1.method1131(99); - if (Class52.aFrame4904 != null && Class348_Sub40_Sub8.aClass238_9165 != null && Class240.anInt4674 == 11) { - Class352.anInt4335++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class327.aClass351_4094, (Class348_Sub23_Sub2.aClass77_9029), i ^ ~0x55); + DefinitionSub9.method3072((byte) -99); + Component381.method3570(false); + Component126.method3514((byte) -105); + NodeSub18.method2938((byte) 62); + DisplayModeManagerContainer273.method1131(99); + if (RSACipher.aFrame4904 != null && DefinitionSub8.aClass238_9165 != null && Component49.clientState == 11) { + Component48.anInt4335++; + ParticleSystem class348_sub47 = ParticleShader.method2148(DisplayModeManagerContainer363.aClass351_4094, (DisplayModeManagerContainer64.aClass77_9029), i ^ ~0x55); class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 108, 1057001181); - Class348_Sub42_Sub14.method3243(-122, class348_sub47); + HashNodeSub14.method3243(-122, class348_sub47); } - if (Class312.anInt3931 == 0) { - int i_33_ = ((ha.anInt4581 + -(Class367_Sub4.anInt7319 >> 4)) / 8); - int i_34_ = ((ha.anInt4581 - -(Class367_Sub4.anInt7319 >> 4)) / 8); - int i_35_ = ((Class327.anInt4095 + -(Class348_Sub40_Sub3.anInt9109 >> 4)) / 8); - int i_36_ = (((Class348_Sub40_Sub3.anInt9109 >> 4) + Class327.anInt4095) / 8); + if (Component37.anInt3931 == 0) { + int i_33_ = ((GraphicsToolkit.anInt4581 + -(AbstractShaderSub4.anInt7319 >> 4)) / 8); + int i_34_ = ((GraphicsToolkit.anInt4581 - -(AbstractShaderSub4.anInt7319 >> 4)) / 8); + int i_35_ = ((DisplayModeManagerContainer363.anInt4095 + -(ParametricDefinition.anInt9109 >> 4)) / 8); + int i_36_ = (((ParametricDefinition.anInt9109 >> 4) + DisplayModeManagerContainer363.anInt4095) / 8); for (int i_37_ = i_33_ - 1; i_37_ <= i_34_ - -1; i_37_++) { for (int i_38_ = i_35_ + -1; i_38_ <= i_36_ - -1; i_38_++) { if (i_33_ > i_37_ || i_34_ < i_37_ || i_38_ < i_35_ || i_38_ > i_36_) { - Class367_Sub10.aClass45_7382.method409("m" + i_37_ + "_" + i_38_, true); - Class367_Sub10.aClass45_7382.method409("l" + i_37_ + "_" + i_38_, true); + SoftwareFallbackShader.aClass45_7382.requestGroupByName("m" + i_37_ + "_" + i_38_, true); + SoftwareFallbackShader.aClass45_7382.requestGroupByName("l" + i_37_ + "_" + i_38_, true); } } } } - if (Class240.anInt4674 != 4) { - if (Class240.anInt4674 != 8) { - Class348_Sub49.method3379(2, 10); - if (Class348_Sub40_Sub8.aClass238_9165 != null) { - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class340.aClass351_4223), (Class348_Sub23_Sub2.aClass77_9029), -106); - Class348_Sub42_Sub14.method3243(127, class348_sub47); + if (Component49.clientState != 4) { + if (Component49.clientState != 8) { + Buffer.setClientState(2, 10); + if (DefinitionSub8.aClass238_9165 != null) { + ParticleSystem class348_sub47 = ParticleShader.method2148((CacheFileStore.aClass351_4223), (DisplayModeManagerContainer64.aClass77_9029), -106); + HashNodeSub14.method3243(127, class348_sub47); } - } else Class348_Sub49.method3379(2, 7); - } else Class348_Sub49.method3379(i ^ 0x2, 3); - Class348_Sub1.method2718(-106); - Class369_Sub1.method3570(false); - Class94.method867(true); - Class348_Sub16_Sub2.aBoolean8870 = true; - if (Class258_Sub4.aBoolean8558) { - Applet_Sub1.method94(("Took: " + (Class62.method599(-117) + -Class90.aLong1516) + "ms"), i + 52); - Class258_Sub4.aBoolean8558 = false; + } else Buffer.setClientState(2, 7); + } else Buffer.setClientState(i ^ 0x2, 3); + NodeSub1.method2718(-106); + Component381.method3570(false); + Component97.method867(true); + NodeSub16Sub2.aBoolean8870 = true; + if (AbstractGlTextureSub4.aBoolean8558) { + Applet_Sub1.printConsole(("Took: " + (Component240.currentTimeMillis(-117) + -Component330.aLong1516) + "ms"), i + 52); + AbstractGlTextureSub4.aBoolean8558 = false; } - } else Class36.anInt489 = 2; - } else Class36.anInt489 = 1; + } else Component129.anInt489 = 2; + } else Component129.anInt489 = 1; } Canvas_Sub1(Component component) { diff --git a/client/src/Class1.java b/client/src/Class1.java deleted file mode 100644 index b5b41b951..000000000 --- a/client/src/Class1.java +++ /dev/null @@ -1,132 +0,0 @@ -/* Class1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import com.ms.com.ComFailException; -import com.ms.directX.*; - -import java.awt.*; - -public final class Class1 implements Interface20 { - private final DSBufferDesc[] aDSBufferDescArray5152; - private final DirectSoundBuffer[] aDirectSoundBufferArray5153; - private int[] anIntArray5154; - private final DSCursors[] aDSCursorsArray5155 = new DSCursors[2]; - private final boolean[] aBooleanArray5156; - private int anInt5157; - private int anInt5158; - private final byte[][] aByteArrayArray5159; - private final int[] anIntArray5160; - private int anInt5161; - private DirectSound aDirectSound5162; - private final WaveFormatEx aWaveFormatEx5163; - private final int[] anIntArray5164; - - public final void method77(byte i, int i_0_) { - try { - aDirectSoundBufferArray5153[i_0_].stop(); - } catch (ComFailException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } - aBooleanArray5156[i_0_] = false; - if (i > 96) { - aDirectSoundBufferArray5153[i_0_].setCurrentPosition(0); - anIntArray5160[i_0_] = 0; - } - } - - public final void method74(int i, byte i_1_) { - if (aDirectSoundBufferArray5153[i] != null) { - try { - aDirectSoundBufferArray5153[i].stop(); - } catch (com.ms.com.ComFailException comfailexception) { - /* empty */ - } - aDirectSoundBufferArray5153[i] = null; - } - int i_2_ = 73 / ((i_1_ - 79) / 43); - } - - public final void method76(int i, int[] is) { - int i_3_ = is.length; - if (i_3_ != 256 * anInt5157) throw new IllegalArgumentException(); - int i_4_ = anIntArray5160[i] * anInt5161; - for (int i_5_ = 0; i_5_ < i_3_; i_5_++) { - int i_6_ = is[i_5_]; - if ((i_6_ + 8388608 & ~0xffffff) != 0) i_6_ = 0x7fffff ^ i_6_ >> 31; - aByteArrayArray5159[i][i_4_ + i_5_ * 2] = (byte) (i_6_ >> 8); - aByteArrayArray5159[i][i_4_ + i_5_ * 2 + 1] = (byte) (i_6_ >> 16); - } - aDirectSoundBufferArray5153[i].writeBuffer(i_4_, i_3_ * 2, aByteArrayArray5159[i], 0); - anIntArray5160[i] = anIntArray5160[i] + i_3_ / anInt5157 & 0xffff; - if (!aBooleanArray5156[i]) { - aDirectSoundBufferArray5153[i].play(1); - aBooleanArray5156[i] = true; - } - } - - public final int method75(byte i, int i_7_) { - if (i >= -79) return -15; - if (!aBooleanArray5156[i_7_]) return 0; - aDirectSoundBufferArray5153[i_7_].getCurrentPosition(aDSCursorsArray5155[i_7_]); - int i_8_ = aDSCursorsArray5155[i_7_].write / anInt5161; - int i_9_ = anIntArray5160[i_7_] + -i_8_ & 0xffff; - if (i_9_ > anIntArray5164[i_7_]) { - for (int i_10_ = 0xffff & i_8_ + -anIntArray5160[i_7_]; i_10_ > 0; i_10_ -= 256) - method76(i_7_, anIntArray5154); - i_9_ = 0xffff & -i_8_ + anIntArray5160[i_7_]; - } - return i_9_; - } - - public final void method78(int i, boolean bool, Component component, int i_11_) throws Exception { - if (anInt5158 == 0) { - if (i < 8000 || i > 48000) throw new IllegalArgumentException(); - anInt5157 = !bool ? 1 : 2; - if (i_11_ != 27929) aDirectSound5162 = null; - anInt5161 = bool ? 4 : 2; - anIntArray5154 = new int[anInt5157 * 256]; - aDirectSound5162.initialize(null); - aDirectSound5162.setCooperativeLevel(component, 2); - for (int i_12_ = 0; i_12_ < 2; i_12_++) - aDSBufferDescArray5152[i_12_].flags = 16384; - aWaveFormatEx5163.avgBytesPerSec = anInt5161 * i; - aWaveFormatEx5163.formatTag = 1; - aWaveFormatEx5163.bitsPerSample = 16; - aWaveFormatEx5163.blockAlign = anInt5161; - aWaveFormatEx5163.channels = anInt5157; - anInt5158 = i; - aWaveFormatEx5163.samplesPerSec = i; - } - } - - public final void method79(int i, int i_13_, byte i_14_) throws Exception { - if (anInt5158 == 0 || aDirectSoundBufferArray5153[i_13_] != null) throw new IllegalStateException(); - int i_15_ = anInt5161 * 65536; - if (aByteArrayArray5159[i_13_] == null || i_15_ != aByteArrayArray5159[i_13_].length) { - aByteArrayArray5159[i_13_] = new byte[i_15_]; - aDSBufferDescArray5152[i_13_].bufferBytes = i_15_; - } - aDirectSoundBufferArray5153[i_13_] = aDirectSound5162.createSoundBuffer(aDSBufferDescArray5152[i_13_], aWaveFormatEx5163); - aBooleanArray5156[i_13_] = false; - if (i_14_ < 106) method74(-6, (byte) -123); - anIntArray5160[i_13_] = 0; - anIntArray5164[i_13_] = i; - } - - public Class1() throws Exception { - aDSBufferDescArray5152 = new DSBufferDesc[2]; - aBooleanArray5156 = new boolean[2]; - aDirectSoundBufferArray5153 = new DirectSoundBuffer[2]; - aByteArrayArray5159 = new byte[2][]; - anIntArray5160 = new int[2]; - anIntArray5164 = new int[2]; - aDirectSound5162 = new DirectSound(); - aWaveFormatEx5163 = new WaveFormatEx(); - for (int i = 0; i < 2; i++) - aDSBufferDescArray5152[i] = new DSBufferDesc(); - for (int i = 0; i < 2; i++) - aDSCursorsArray5155[i] = new DSCursors(); - } -} diff --git a/client/src/Class10.java b/client/src/Class10.java deleted file mode 100644 index b8ea0ff57..000000000 --- a/client/src/Class10.java +++ /dev/null @@ -1,70 +0,0 @@ -/* Class10 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class10 { - Class318_Sub1 aClass318_Sub1_172; - int anInt173; - static int[][] anIntArrayArray174 = {{0, 2}, {0, 2}, {0, 0, 2}, {2, 0, 0}, {0, 2, 0}, {0, 0, 2}, {0, 5, 1, 4}, {0, 4, 4, 4}, {4, 4, 4, 0}, {6, 6, 6, 2, 2, 2}, {2, 2, 2, 6, 6, 6}, {0, 11, 6, 6, 6, 4}, {0, 2}, {0, 4, 4, 4}, {0, 4, 4, 4}}; - static int anInt175; - Class348_Sub16_Sub5 aClass348_Sub16_Sub5_176; - int anInt177; - int anInt178; - static int[] anIntArray179; - byte aByte180; - static int anInt181; - static int anInt182; - Class317 aClass317_183; - int anInt184; - int anInt185; - static Class230 aClass230_186; - static int[] anIntArray187 = {-1, 8192, 0, -1, 12288, 10240, 14336, -1, 4096, 6144, 2048}; - int anInt188; - Class348_Sub19_Sub1 aClass348_Sub19_Sub1_189; - static int anInt190; - static Class87 aClass87_191; - Class348_Sub10 aClass348_Sub10_192; - - static final String method217(byte i) { - anInt175++; - if (Class5_Sub1.aBoolean8335 || Class316.aClass348_Sub42_Sub12_3963 == null) return ""; - if (i < 51) return null; - return (Class316.aClass348_Sub42_Sub12_3963.aString9593); - } - - public static void method218(byte i) { - if (i < 101) method218((byte) -85); - anIntArray187 = null; - anIntArray179 = null; - aClass230_186 = null; - aClass87_191 = null; - anIntArrayArray174 = null; - } - - static final boolean method219(int i, boolean bool, int i_0_) { - if (bool != false) return false; - anInt190++; - return (i & 0x800) != 0 | Class278.method2077(-106, i_0_, i) || Class348_Sub42_Sub8_Sub2.method3200(i, i_0_, (byte) 88); - } - - final boolean method220(byte i) { - anInt181++; - if (i >= -12) method218((byte) 101); - return this.aByte180 == 2 || this.aByte180 == 3; - } - - Class10(byte i, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, Class318_Sub1 class318_sub1) { - this.anInt177 = i_2_; - this.anInt184 = i_4_; - this.anInt188 = i_3_; - this.anInt178 = i_5_; - this.anInt185 = i_1_; - this.aByte180 = i; - this.anInt173 = i_6_; - this.aClass318_Sub1_172 = class318_sub1; - } - - static { - aClass230_186 = new Class230("runescape", 0); - } -} diff --git a/client/src/Class100.java b/client/src/Class100.java deleted file mode 100644 index 3993855cf..000000000 --- a/client/src/Class100.java +++ /dev/null @@ -1,114 +0,0 @@ -/* Class100 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class100 { - static int anInt1577; - private int anInt1578; - static Class78[] aClass78Array1579 = new Class78[37]; - static int anInt1580; - private final ha_Sub2 aHa_Sub2_1581; - private Class83 aClass83_1582; - static int[] anIntArray1583 = new int[14]; - private int anInt1584 = 0; - static Class356 aClass356_1585 = new Class356(16); - Class286_Sub1 aClass286_Sub1_1586; - static int anInt1587; - private final Class286[] aClass286Array1588; - static int anInt1589; - static int anInt1590; - static Class227 aClass227_1591 = new Class227(1); - private int anInt1592; - - final void method884(int i, boolean bool, int i_0_, int i_1_, byte i_2_, boolean bool_3_) { - anInt1587++; - bool_3_ &= aHa_Sub2_1581.method3639(); - if (!bool_3_ && (i_0_ == 4 || i_0_ == 8 || i_0_ == 9)) { - if (i_0_ == 4) i_1_ = i; - i_0_ = 2; - } - if (i_0_ != 0 && bool) i_0_ |= ~0x7fffffff; - if (anInt1578 != i_0_) { - if (anInt1578 != 0) aClass286Array1588[0x7fffffff & anInt1578].method2133(-93); - if (i_0_ != 0) { - aClass286Array1588[i_0_ & 0x7fffffff].method2134(bool, false); - aClass286Array1588[0x7fffffff & i_0_].method2139(bool, (byte) -115); - aClass286Array1588[i_0_ & 0x7fffffff].method2136(i, i_1_, (byte) -106); - } - anInt1578 = i_0_; - anInt1584 = i_1_; - anInt1592 = i; - } else if (anInt1578 != 0) { - aClass286Array1588[0x7fffffff & anInt1578].method2139(bool, (byte) -101); - if (i != anInt1592 || anInt1584 != i_1_) { - aClass286Array1588[0x7fffffff & anInt1578].method2136(i, i_1_, (byte) -98); - anInt1592 = i; - anInt1584 = i_1_; - } - } - if (i_2_ <= 9) aClass83_1582 = null; - } - - final boolean method885(int i, byte i_4_, Class258 class258) { - anInt1590++; - if (anInt1578 == 0) return false; - if (i_4_ != -124) method889((byte) 99, 7); - aClass286Array1588[0x7fffffff & anInt1578].method2140(class258, (byte) -98, i); - return true; - } - - public static void method886(int i) { - aClass356_1585 = null; - aClass78Array1579 = null; - if (i != 16) aClass78Array1579 = null; - anIntArray1583 = null; - aClass227_1591 = null; - } - - static final void method887(Class46 class46, int i, int i_5_, int i_6_) { - if (i_6_ == 2147483647) { - anInt1589++; - if (Class289.aClass46_3701 == null && !Class5_Sub1.aBoolean8335 && (class46 != null && (Exception_Sub1.method141(class46, (byte) -79) != null))) { - Class289.aClass46_3701 = class46; - Class331.aClass46_4130 = Exception_Sub1.method141(class46, (byte) -117); - Class318_Sub1.anInt6392 = 0; - Class219.anInt2872 = i_5_; - Class318_Sub4.anInt6411 = i; - Class300.aBoolean3819 = false; - } - } - } - - static final int method888(byte i, int i_7_, Class46 class46) { - anInt1580++; - if (i != 57) method886(7); - if (!client.method105(class46).method3301(i_7_, false) && class46.anObjectArray741 == null) return -1; - if (class46.anIntArray706 != null && i_7_ < class46.anIntArray706.length) return class46.anIntArray706[i_7_]; - return -1; - } - - final boolean method889(byte i, int i_8_) { - if (i >= -45) method885(7, (byte) -70, null); - anInt1577++; - return aClass286Array1588[i_8_].method2137(-112); - } - - Class100(ha_Sub2 var_ha_Sub2) { - anInt1578 = 0; - anInt1592 = 0; - aHa_Sub2_1581 = var_ha_Sub2; - aClass83_1582 = new Class83(var_ha_Sub2); - aClass286Array1588 = new Class286[10]; - aClass286Array1588[1] = new Class286_Sub9(var_ha_Sub2); - aClass286Array1588[2] = new Class286_Sub3(var_ha_Sub2, aClass83_1582); - aClass286Array1588[4] = new Class286_Sub7(var_ha_Sub2, aClass83_1582); - aClass286Array1588[5] = new Class286_Sub5(var_ha_Sub2, aClass83_1582); - aClass286Array1588[6] = new Class286_Sub2(var_ha_Sub2); - aClass286Array1588[7] = new Class286_Sub8(var_ha_Sub2); - aClass286Array1588[3] = this.aClass286_Sub1_1586 = new Class286_Sub1(var_ha_Sub2); - aClass286Array1588[8] = new Class286_Sub6(var_ha_Sub2, aClass83_1582); - aClass286Array1588[9] = new Class286_Sub4(var_ha_Sub2, aClass83_1582); - if (!aClass286Array1588[8].method2137(-33)) aClass286Array1588[8] = aClass286Array1588[4]; - if (!aClass286Array1588[9].method2137(-82)) aClass286Array1588[9] = aClass286Array1588[8]; - } -} diff --git a/client/src/Class101.java b/client/src/Class101.java deleted file mode 100644 index e83cf611d..000000000 --- a/client/src/Class101.java +++ /dev/null @@ -1,154 +0,0 @@ -/* Class101 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class101 { - static int[] anIntArray1593 = new int[1]; - static int anInt1594; - static int anInt1595; - static int anInt1596; - static int anInt1597 = 0; - static int anInt1598; - static int anInt1599; - - abstract void method890(int[] is); - - abstract void method891(int i, int i_0_, int i_1_); - - public Class101() { - /* empty */ - } - - abstract void method892(int i, int i_2_, int i_3_, int[] is); - - static final void method893(byte i) { - Class348_Sub40_Sub22.method3111(91, Class316.aClass348_Sub51_3959.aClass239_Sub6_7226.method1743(-32350)); - anInt1595++; - int i_4_ = ((Class286_Sub4.anInt6246 >> 12) - -(za_Sub2.regionTileX >> 3)); - int i_5_ = ((Class90.regionTileY >> 3) + (Class59_Sub2_Sub2.anInt8685 >> 12)); - Class355.anInt4372 = Class132.aPlayer_1907.plane = (byte) 0; - Class132.aPlayer_1907.method2449(8, 8, (byte) 118); - if (i != -49) anInt1597 = 115; - int i_6_ = 18; - Class322.anIntArray4031 = new int[i_6_]; - Class348_Sub50.aByteArrayArray7212 = new byte[i_6_][]; - Class239_Sub6.anIntArrayArray5894 = new int[i_6_][4]; - aa_Sub1.anIntArray5192 = new int[i_6_]; - Class14_Sub4.aByteArrayArray8642 = new byte[i_6_][]; - Class348_Sub23_Sub3.anIntArray9042 = new int[i_6_]; - r.anIntArray9724 = new int[i_6_]; - Class295.anIntArray3759 = new int[i_6_]; - Class347.aByteArrayArray4281 = new byte[i_6_][]; - Applet_Sub1.anIntArray38 = new int[i_6_]; - Class348_Sub23_Sub1.aByteArrayArray8996 = new byte[i_6_][]; - Class129.aByteArrayArray1887 = new byte[i_6_][]; - i_6_ = 0; - for (int i_7_ = (i_4_ + -(Class367_Sub4.anInt7319 >> 4)) / 8; (i_4_ - -(Class367_Sub4.anInt7319 >> 4)) / 8 >= i_7_; i_7_++) { - for (int i_8_ = (-(Class348_Sub40_Sub3.anInt9109 >> 4) + i_5_) / 8; ((i_5_ + (Class348_Sub40_Sub3.anInt9109 >> 4)) / 8 >= i_8_); i_8_++) { - int i_9_ = i_8_ + (i_7_ << 8); - Class348_Sub23_Sub3.anIntArray9042[i_6_] = i_9_; - aa_Sub1.anIntArray5192[i_6_] = Class367_Sub10.aClass45_7382.method417("m" + i_7_ + "_" + i_8_, i + 49); - Applet_Sub1.anIntArray38[i_6_] = Class367_Sub10.aClass45_7382.method417("l" + i_7_ + "_" + i_8_, 0); - Class322.anIntArray4031[i_6_] = Class367_Sub10.aClass45_7382.method417("n" + i_7_ + "_" + i_8_, 0); - Class295.anIntArray3759[i_6_] = Class367_Sub10.aClass45_7382.method417("um" + i_7_ + "_" + i_8_, 0); - r.anIntArray9724[i_6_] = (Class367_Sub10.aClass45_7382.method417("ul" + i_7_ + "_" + i_8_, Class348_Sub21.method2955(i, -49))); - if (Class322.anIntArray4031[i_6_] == -1) { - aa_Sub1.anIntArray5192[i_6_] = -1; - Applet_Sub1.anIntArray38[i_6_] = -1; - Class295.anIntArray3759[i_6_] = -1; - r.anIntArray9724[i_6_] = -1; - } - i_6_++; - } - } - for (int i_10_ = i_6_; Class322.anIntArray4031.length > i_10_; i_10_++) { - Class322.anIntArray4031[i_10_] = -1; - aa_Sub1.anIntArray5192[i_10_] = -1; - Applet_Sub1.anIntArray38[i_10_] = -1; - Class295.anIntArray3759[i_10_] = -1; - r.anIntArray9724[i_10_] = -1; - } - int i_11_; - if (Class240.anInt4674 != 3) i_11_ = 8; - else i_11_ = 4; - Class348_Sub41.method3157(i_5_, (byte) 123, i_4_, i_11_, false); - } - - abstract void method894(int i, int i_12_, int i_13_); - - abstract void method895(int i); - - abstract void method896(int i); - - abstract void method897(int i, int i_14_, int i_15_, int[] is); - - abstract void method898(Class101 class101_16_); - - abstract void method899(int i); - - abstract void method900(int i); - - static final void method901(Class105[] class105s, int i) { - try { - anInt1599++; - Class239_Sub1.anInt5850 = class105s.length; - Class175.anIntArray2330 = new int[Class239_Sub1.anInt5850 + 10]; - Class341.aClass105Array4234 = new Class105[Class239_Sub1.anInt5850 + 10]; - Class214.method1575(class105s, 0, Class341.aClass105Array4234, 0, Class239_Sub1.anInt5850); - for (int i_17_ = 0; Class239_Sub1.anInt5850 > i_17_; i_17_++) - Class175.anIntArray2330[i_17_] = Class341.aClass105Array4234[i_17_].method980(); - if (i != 515880227) anInt1597 = 49; - for (int i_18_ = Class239_Sub1.anInt5850; (i_18_ < Class341.aClass105Array4234.length); i_18_++) - Class175.anIntArray2330[i_18_] = 12; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bca.RA(" + (class105s != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - abstract void method902(int i); - - abstract void method903(int i, int i_19_, int i_20_, int i_21_, int i_22_, int i_23_); - - static final Class258_Sub3_Sub1 method904(int i, ha_Sub2 var_ha_Sub2, int i_24_, int i_25_, int i_26_) { - try { - anInt1594++; - if (i <= 42) method906(123); - if (var_ha_Sub2.aBoolean7793 || (Class192.method1436(82, i_25_) && Class192.method1436(81, i_26_))) return new Class258_Sub3_Sub1(var_ha_Sub2, 3553, i_24_, i_25_, i_26_); - if (var_ha_Sub2.aBoolean7837) return new Class258_Sub3_Sub1(var_ha_Sub2, 34037, i_24_, i_25_, i_26_); - return new Class258_Sub3_Sub1(var_ha_Sub2, i_24_, i_25_, i_26_, Class33.method340(i_25_, (byte) 108), Class33.method340(i_26_, (byte) 108)); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bca.TA(" + i + ',' + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i_24_ + ',' + i_25_ + ',' + i_26_ + ')')); - } - } - - abstract void method905(int i, int i_27_, int i_28_, int[] is); - - public static void method906(int i) { - anIntArray1593 = null; - if (i != -31777) method901(null, -89); - } - - abstract Class101 method907(); - - abstract void method908(int i); - - static final void method909(int i) { - anInt1598++; - if (Class348_Sub40_Sub30.aBoolean9403 && i == 3553) { - while (Class215.anInt2834 < Class65.aClass110_Sub1Array1146.length) { - Class110_Sub1 class110_sub1 = Class65.aClass110_Sub1Array1146[Class215.anInt2834]; - if (class110_sub1 == null || class110_sub1.anInt5788 != -1) Class215.anInt2834++; - else { - if (Class176.aClass348_Sub26_2332 == null) Class176.aClass348_Sub26_2332 = (Class76.aClass169_1286.method1302(i ^ ~0x1967, class110_sub1.aString5794)); - int i_29_ = (Class176.aClass348_Sub26_2332.anInt6887); - if (i_29_ == -1) break; - class110_sub1.anInt5788 = i_29_; - Class215.anInt2834++; - Class176.aClass348_Sub26_2332 = null; - } - } - } - } - - abstract void method910(); -} diff --git a/client/src/Class101_Sub1.java b/client/src/Class101_Sub1.java deleted file mode 100644 index ec29e49f4..000000000 --- a/client/src/Class101_Sub1.java +++ /dev/null @@ -1,261 +0,0 @@ -/* Class101_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class101_Sub1 extends Class101 { - float aFloat5655; - static int anInt5656; - static int anInt5657; - static int anInt5658; - static int anInt5659; - static int anInt5660; - static int anInt5661; - float aFloat5662; - static long aLong5663; - float aFloat5664; - static int anInt5665; - float aFloat5666; - static int anInt5667; - static int anInt5668; - float aFloat5669; - static int anInt5670; - static int anInt5671; - float aFloat5672; - float aFloat5673; - static int anInt5674; - static Class246 aClass246_5675 = Class284.method2118((byte) -42); - static int anInt5676; - static Class351 aClass351_5677 = new Class351(56, 7); - float aFloat5678; - static int anInt5679; - float aFloat5680; - float aFloat5681; - static int anInt5682; - static int anInt5683; - static d aD5684; - float aFloat5685; - float aFloat5686; - static int anInt5687; - static int anInt5688; - static Class223 aClass223_5689 = new Class223(4, 1); - - public static void method911(int i) { - if (i != 0) method911(-121); - aClass223_5689 = null; - aD5684 = null; - aClass246_5675 = null; - aClass351_5677 = null; - } - - final void method910() { - anInt5688++; - this.aFloat5672 = this.aFloat5678 = this.aFloat5664 = 1.0F; - this.aFloat5655 = this.aFloat5662 = this.aFloat5673 = this.aFloat5680 = this.aFloat5669 = this.aFloat5666 = this.aFloat5686 = this.aFloat5685 = this.aFloat5681 = 0.0F; - } - - final void method894(int i, int i_0_, int i_1_) { - anInt5674++; - this.aFloat5685 = (float) i_0_; - this.aFloat5655 = this.aFloat5662 = this.aFloat5673 = this.aFloat5680 = this.aFloat5669 = this.aFloat5666 = 0.0F; - this.aFloat5672 = this.aFloat5678 = this.aFloat5664 = 1.0F; - this.aFloat5686 = (float) i; - this.aFloat5681 = (float) i_1_; - } - - final void method903(int i, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_) { - anInt5682++; - float f = Class239_Sub4.aFloatArray5876[i_4_ & 0x3fff]; - float f_7_ = Class239_Sub4.aFloatArray5874[0x3fff & i_4_]; - float f_8_ = Class239_Sub4.aFloatArray5876[i_5_ & 0x3fff]; - float f_9_ = Class239_Sub4.aFloatArray5874[0x3fff & i_5_]; - float f_10_ = Class239_Sub4.aFloatArray5876[0x3fff & i_6_]; - float f_11_ = Class239_Sub4.aFloatArray5874[0x3fff & i_6_]; - float f_12_ = f_10_ * f_7_; - float f_13_ = f_7_ * f_11_; - this.aFloat5666 = f_11_ * f_9_ + f_8_ * f_12_; - this.aFloat5669 = f_10_ * -f_9_ + f_13_ * f_8_; - this.aFloat5680 = -f_7_; - this.aFloat5678 = f * f_10_; - this.aFloat5664 = f_8_ * f; - this.aFloat5662 = f * f_9_; - this.aFloat5655 = f_12_ * f_9_ + -f_8_ * f_11_; - this.aFloat5673 = f * f_11_; - this.aFloat5672 = f_13_ * f_9_ + f_10_ * f_8_; - this.aFloat5681 = (-((float) i_3_ * this.aFloat5664) + (-((float) i_2_ * this.aFloat5680) + (float) -i * this.aFloat5662)); - this.aFloat5686 = (this.aFloat5672 * (float) -i - (float) i_2_ * this.aFloat5673 - this.aFloat5669 * (float) i_3_); - this.aFloat5685 = (-(this.aFloat5666 * (float) i_3_) + (this.aFloat5655 * (float) -i - (float) i_2_ * this.aFloat5678)); - } - - static final int method912(int i) { - if (i != 0) return -41; - anInt5657++; - return Class108.anInt1663; - } - - final void method898(Class101 class101) { - anInt5683++; - Class101_Sub1 class101_sub1_14_ = (Class101_Sub1) class101; - this.aFloat5669 = class101_sub1_14_.aFloat5669; - this.aFloat5681 = class101_sub1_14_.aFloat5681; - this.aFloat5655 = class101_sub1_14_.aFloat5655; - this.aFloat5664 = class101_sub1_14_.aFloat5664; - this.aFloat5666 = class101_sub1_14_.aFloat5666; - this.aFloat5678 = class101_sub1_14_.aFloat5678; - this.aFloat5680 = class101_sub1_14_.aFloat5680; - this.aFloat5672 = class101_sub1_14_.aFloat5672; - this.aFloat5662 = class101_sub1_14_.aFloat5662; - this.aFloat5686 = class101_sub1_14_.aFloat5686; - this.aFloat5673 = class101_sub1_14_.aFloat5673; - this.aFloat5685 = class101_sub1_14_.aFloat5685; - } - - final void method905(int i, int i_15_, int i_16_, int[] is) { - is[0] = (int) ((float) i_16_ * this.aFloat5669 + (this.aFloat5673 * (float) i_15_ + this.aFloat5672 * (float) i)); - anInt5687++; - is[1] = (int) (this.aFloat5655 * (float) i + (float) i_15_ * this.aFloat5678 + this.aFloat5666 * (float) i_16_); - is[2] = (int) (this.aFloat5664 * (float) i_16_ + ((float) i * this.aFloat5662 + (float) i_15_ * this.aFloat5680)); - } - - final void method891(int i, int i_17_, int i_18_) { - this.aFloat5685 += (float) i_17_; - this.aFloat5681 += (float) i_18_; - this.aFloat5686 += (float) i; - anInt5661++; - } - - final void method908(int i) { - anInt5656++; - float f = Class239_Sub4.aFloatArray5876[i & 0x3fff]; - float f_19_ = Class239_Sub4.aFloatArray5874[i & 0x3fff]; - float f_20_ = this.aFloat5672; - float f_21_ = this.aFloat5673; - float f_22_ = this.aFloat5669; - this.aFloat5672 = -(f_19_ * this.aFloat5655) + f * f_20_; - float f_23_ = this.aFloat5686; - this.aFloat5673 = f_21_ * f - this.aFloat5678 * f_19_; - this.aFloat5655 = f * this.aFloat5655 + f_20_ * f_19_; - this.aFloat5669 = f * f_22_ - this.aFloat5666 * f_19_; - this.aFloat5678 = f * this.aFloat5678 + f_19_ * f_21_; - this.aFloat5666 = f_19_ * f_22_ + f * this.aFloat5666; - this.aFloat5686 = -(f_19_ * this.aFloat5685) + f_23_ * f; - this.aFloat5685 = f * this.aFloat5685 + f_19_ * f_23_; - } - - final void method900(int i) { - anInt5658++; - float f = Class239_Sub4.aFloatArray5876[0x3fff & i]; - float f_24_ = Class239_Sub4.aFloatArray5874[0x3fff & i]; - float f_25_ = this.aFloat5655; - float f_26_ = this.aFloat5678; - float f_27_ = this.aFloat5666; - this.aFloat5655 = f_25_ * f - this.aFloat5662 * f_24_; - float f_28_ = this.aFloat5685; - this.aFloat5662 = f_24_ * f_25_ + this.aFloat5662 * f; - this.aFloat5678 = f * f_26_ - this.aFloat5680 * f_24_; - this.aFloat5666 = -(f_24_ * this.aFloat5664) + f * f_27_; - this.aFloat5680 = this.aFloat5680 * f + f_24_ * f_26_; - this.aFloat5685 = f * f_28_ - f_24_ * this.aFloat5681; - this.aFloat5664 = f * this.aFloat5664 + f_27_ * f_24_; - this.aFloat5681 = f_28_ * f_24_ + f * this.aFloat5681; - } - - final void method892(int i, int i_29_, int i_30_, int[] is) { - i_30_ -= this.aFloat5681; - anInt5668++; - i_29_ -= this.aFloat5685; - i -= this.aFloat5686; - is[0] = (int) (this.aFloat5662 * (float) i_30_ + (this.aFloat5655 * (float) i_29_ + this.aFloat5672 * (float) i)); - is[1] = (int) ((float) i_29_ * this.aFloat5678 + this.aFloat5673 * (float) i + (float) i_30_ * this.aFloat5680); - is[2] = (int) ((float) i_30_ * this.aFloat5664 + ((float) i_29_ * this.aFloat5666 + (float) i * this.aFloat5669)); - } - - final void method899(int i) { - anInt5670++; - this.aFloat5672 = 1.0F; - this.aFloat5678 = this.aFloat5664 = Class239_Sub4.aFloatArray5876[i & 0x3fff]; - this.aFloat5680 = Class239_Sub4.aFloatArray5874[0x3fff & i]; - this.aFloat5666 = -this.aFloat5680; - this.aFloat5673 = this.aFloat5669 = this.aFloat5686 = this.aFloat5655 = this.aFloat5685 = this.aFloat5662 = this.aFloat5681 = 0.0F; - } - - final void method902(int i) { - anInt5667++; - this.aFloat5664 = 1.0F; - this.aFloat5672 = this.aFloat5678 = Class239_Sub4.aFloatArray5876[0x3fff & i]; - this.aFloat5655 = Class239_Sub4.aFloatArray5874[0x3fff & i]; - this.aFloat5669 = this.aFloat5686 = this.aFloat5666 = this.aFloat5685 = this.aFloat5662 = this.aFloat5680 = this.aFloat5681 = 0.0F; - this.aFloat5673 = -this.aFloat5655; - } - - final Class101 method907() { - anInt5660++; - Class101_Sub1 class101_sub1_31_ = new Class101_Sub1(); - class101_sub1_31_.aFloat5664 = this.aFloat5664; - class101_sub1_31_.aFloat5681 = this.aFloat5681; - class101_sub1_31_.aFloat5662 = this.aFloat5662; - class101_sub1_31_.aFloat5669 = this.aFloat5669; - class101_sub1_31_.aFloat5655 = this.aFloat5655; - class101_sub1_31_.aFloat5666 = this.aFloat5666; - class101_sub1_31_.aFloat5686 = this.aFloat5686; - class101_sub1_31_.aFloat5678 = this.aFloat5678; - class101_sub1_31_.aFloat5673 = this.aFloat5673; - class101_sub1_31_.aFloat5685 = this.aFloat5685; - class101_sub1_31_.aFloat5672 = this.aFloat5672; - class101_sub1_31_.aFloat5680 = this.aFloat5680; - return class101_sub1_31_; - } - - final void method895(int i) { - this.aFloat5678 = 1.0F; - anInt5676++; - this.aFloat5672 = this.aFloat5664 = Class239_Sub4.aFloatArray5876[0x3fff & i]; - this.aFloat5669 = Class239_Sub4.aFloatArray5874[i & 0x3fff]; - this.aFloat5673 = this.aFloat5686 = this.aFloat5655 = this.aFloat5666 = this.aFloat5685 = this.aFloat5680 = this.aFloat5681 = 0.0F; - this.aFloat5662 = -this.aFloat5669; - } - - final void method896(int i) { - anInt5659++; - float f = Class239_Sub4.aFloatArray5876[0x3fff & i]; - float f_32_ = Class239_Sub4.aFloatArray5874[i & 0x3fff]; - float f_33_ = this.aFloat5672; - float f_34_ = this.aFloat5673; - float f_35_ = this.aFloat5669; - this.aFloat5672 = f_33_ * f + f_32_ * this.aFloat5662; - float f_36_ = this.aFloat5686; - this.aFloat5673 = f * f_34_ + f_32_ * this.aFloat5680; - this.aFloat5662 = -(f_32_ * f_33_) + this.aFloat5662 * f; - this.aFloat5669 = f * f_35_ + f_32_ * this.aFloat5664; - this.aFloat5680 = -(f_32_ * f_34_) + f * this.aFloat5680; - this.aFloat5664 = -(f_32_ * f_35_) + f * this.aFloat5664; - this.aFloat5686 = f_36_ * f + f_32_ * this.aFloat5681; - this.aFloat5681 = f * this.aFloat5681 - f_32_ * f_36_; - } - - final void method890(int[] is) { - anInt5671++; - float f = -this.aFloat5686 + (float) is[0]; - float f_37_ = (float) is[1] - this.aFloat5685; - float f_38_ = (float) is[2] - this.aFloat5681; - is[2] = (int) (this.aFloat5669 * f + f_37_ * this.aFloat5666 + this.aFloat5664 * f_38_); - is[1] = (int) (this.aFloat5673 * f + f_37_ * this.aFloat5678 + f_38_ * this.aFloat5680); - is[0] = (int) (this.aFloat5662 * f_38_ + (f * this.aFloat5672 + this.aFloat5655 * f_37_)); - } - - static final boolean method913(byte i) { - if (i <= 115) return true; - anInt5679++; - return Class73.anInt4776 > 0; - } - - public Class101_Sub1() { - method910(); - } - - final void method897(int i, int i_39_, int i_40_, int[] is) { - anInt5665++; - is[1] = (int) ((float) i * this.aFloat5655 + this.aFloat5678 * (float) i_39_ + (float) i_40_ * this.aFloat5666 + this.aFloat5685); - is[0] = (int) ((float) i_40_ * this.aFloat5669 + (this.aFloat5673 * (float) i_39_ + (float) i * this.aFloat5672) + this.aFloat5686); - is[2] = (int) (this.aFloat5681 + (this.aFloat5680 * (float) i_39_ + (float) i * this.aFloat5662 + (float) i_40_ * this.aFloat5664)); - } -} diff --git a/client/src/Class101_Sub2.java b/client/src/Class101_Sub2.java deleted file mode 100644 index d1d889449..000000000 --- a/client/src/Class101_Sub2.java +++ /dev/null @@ -1,651 +0,0 @@ -/* Class101_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class101_Sub2 extends Class101 { - static int anInt5690; - float aFloat5691; - static int anInt5692; - static int anInt5693; - static int anInt5694; - static int anInt5695; - static int anInt5696; - static int anInt5697; - static int anInt5698; - static Class351 aClass351_5699; - float aFloat5700; - static int anInt5701; - static int anInt5702; - static int anInt5703; - float aFloat5704; - static int anInt5705; - static int anInt5706; - static int anInt5707; - float aFloat5708; - static int anInt5709; - float aFloat5710; - float aFloat5711; - static int anInt5712; - static int anInt5713 = -1; - static int anInt5714; - static int anInt5715; - float aFloat5716; - static int anInt5717; - static int anInt5718; - static int anInt5719; - static int anInt5720; - static int anInt5721; - float aFloat5722; - static int anInt5723; - float aFloat5724; - static int anInt5725; - static int anInt5726; - static int anInt5727; - static int anInt5728; - float aFloat5729; - static int anInt5730; - static int anInt5731; - float aFloat5732; - static int anInt5733; - static int anInt5734; - static int anInt5735; - float aFloat5736; - static int anInt5737; - static int anInt5738; - static int anInt5739; - static int anInt5740; - static int anInt5741; - static Class114 aClass114_5742; - static int anInt5743; - static int anInt5744; - static long aLong5745; - - final void method902(int i) { - this.aFloat5716 = 1.0F; - anInt5712++; - this.aFloat5711 = this.aFloat5722 = Class239_Sub4.aFloatArray5876[0x3fff & i]; - this.aFloat5708 = Class239_Sub4.aFloatArray5874[i & 0x3fff]; - this.aFloat5700 = -this.aFloat5708; - this.aFloat5704 = this.aFloat5729 = this.aFloat5732 = this.aFloat5710 = this.aFloat5736 = this.aFloat5691 = this.aFloat5724 = 0.0F; - } - - final void method914(float f, float f_0_, int i, float f_1_) { - if (i == 0) { - this.aFloat5724 *= f_0_; - this.aFloat5729 *= f_1_; - this.aFloat5732 *= f; - this.aFloat5708 *= f; - this.aFloat5704 *= f_1_; - this.aFloat5722 *= f; - this.aFloat5710 *= f; - this.aFloat5716 *= f_0_; - this.aFloat5736 *= f_0_; - anInt5728++; - this.aFloat5711 *= f_1_; - this.aFloat5691 *= f_0_; - this.aFloat5700 *= f_1_; - } - } - - final void method894(int i, int i_2_, int i_3_) { - this.aFloat5724 = (float) i_3_; - this.aFloat5711 = this.aFloat5722 = this.aFloat5716 = 1.0F; - this.aFloat5710 = (float) i_2_; - this.aFloat5729 = (float) i; - anInt5706++; - this.aFloat5708 = this.aFloat5736 = this.aFloat5700 = this.aFloat5691 = this.aFloat5704 = this.aFloat5732 = 0.0F; - } - - final void method910() { - this.aFloat5711 = this.aFloat5722 = this.aFloat5716 = 1.0F; - this.aFloat5708 = this.aFloat5736 = this.aFloat5700 = this.aFloat5691 = this.aFloat5704 = this.aFloat5732 = this.aFloat5729 = this.aFloat5710 = this.aFloat5724 = 0.0F; - anInt5696++; - } - - final float[] method915(float[] fs, int i) { - fs[7] = this.aFloat5710; - anInt5726++; - fs[5] = this.aFloat5722; - fs[4] = this.aFloat5708; - fs[6] = this.aFloat5732; - fs[i] = this.aFloat5700; - fs[2] = this.aFloat5704; - fs[3] = this.aFloat5729; - fs[0] = this.aFloat5711; - return fs; - } - - final void method903(int i, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_) { - anInt5733++; - float f = Class239_Sub4.aFloatArray5876[i_6_ & 0x3fff]; - float f_9_ = Class239_Sub4.aFloatArray5874[i_6_ & 0x3fff]; - float f_10_ = Class239_Sub4.aFloatArray5876[0x3fff & i_7_]; - float f_11_ = Class239_Sub4.aFloatArray5874[0x3fff & i_7_]; - float f_12_ = Class239_Sub4.aFloatArray5876[0x3fff & i_8_]; - float f_13_ = Class239_Sub4.aFloatArray5874[i_8_ & 0x3fff]; - float f_14_ = f_12_ * f_9_; - float f_15_ = f_9_ * f_13_; - this.aFloat5700 = f_13_ * f; - this.aFloat5704 = -f_11_ * f_12_ + f_10_ * f_15_; - this.aFloat5716 = f * f_10_; - this.aFloat5732 = f_13_ * f_11_ + f_14_ * f_10_; - this.aFloat5711 = f_10_ * f_12_ + f_15_ * f_11_; - this.aFloat5736 = f * f_11_; - this.aFloat5722 = f_12_ * f; - this.aFloat5691 = -f_9_; - this.aFloat5708 = f_11_ * f_14_ + f_13_ * -f_10_; - this.aFloat5729 = (-(this.aFloat5704 * (float) i_5_) + (-((float) i_4_ * this.aFloat5700) + this.aFloat5711 * (float) -i)); - this.aFloat5710 = ((float) -i * this.aFloat5708 - this.aFloat5722 * (float) i_4_ - (float) i_5_ * this.aFloat5732); - this.aFloat5724 = (-(this.aFloat5716 * (float) i_5_) + (this.aFloat5736 * (float) -i - this.aFloat5691 * (float) i_4_)); - } - - final void method895(int i) { - this.aFloat5722 = 1.0F; - anInt5738++; - this.aFloat5711 = this.aFloat5716 = Class239_Sub4.aFloatArray5876[0x3fff & i]; - this.aFloat5704 = Class239_Sub4.aFloatArray5874[i & 0x3fff]; - this.aFloat5736 = -this.aFloat5704; - this.aFloat5700 = this.aFloat5729 = this.aFloat5708 = this.aFloat5732 = this.aFloat5710 = this.aFloat5691 = this.aFloat5724 = 0.0F; - } - - final void method899(int i) { - this.aFloat5711 = 1.0F; - anInt5721++; - this.aFloat5722 = this.aFloat5716 = Class239_Sub4.aFloatArray5876[0x3fff & i]; - this.aFloat5691 = Class239_Sub4.aFloatArray5874[0x3fff & i]; - this.aFloat5700 = this.aFloat5704 = this.aFloat5729 = this.aFloat5708 = this.aFloat5710 = this.aFloat5736 = this.aFloat5724 = 0.0F; - this.aFloat5732 = -this.aFloat5691; - } - - final void method892(int i, int i_16_, int i_17_, int[] is) { - anInt5694++; - i_17_ -= this.aFloat5724; - i -= this.aFloat5729; - i_16_ -= this.aFloat5710; - is[2] = (int) ((float) i_17_ * this.aFloat5716 + ((float) i_16_ * this.aFloat5732 + (float) i * this.aFloat5704)); - is[0] = (int) ((float) i * this.aFloat5711 + (float) i_16_ * this.aFloat5708 + this.aFloat5736 * (float) i_17_); - is[1] = (int) (this.aFloat5700 * (float) i + this.aFloat5722 * (float) i_16_ + this.aFloat5691 * (float) i_17_); - } - - final void method916(float f, boolean bool, float f_18_, float f_19_) { - this.aFloat5710 = f; - this.aFloat5724 = f_18_; - this.aFloat5711 = this.aFloat5722 = this.aFloat5716 = 1.0F; - if (bool == true) { - this.aFloat5729 = f_19_; - this.aFloat5708 = this.aFloat5736 = this.aFloat5700 = this.aFloat5691 = this.aFloat5704 = this.aFloat5732 = 0.0F; - anInt5735++; - } - } - - final void method891(int i, int i_20_, int i_21_) { - this.aFloat5729 += (float) i; - this.aFloat5710 += (float) i_20_; - anInt5707++; - this.aFloat5724 += (float) i_21_; - } - - final void method917(Class101 class101, byte i) { - anInt5698++; - Class101_Sub2 class101_sub2_22_ = (Class101_Sub2) class101; - float f = this.aFloat5711; - float f_23_ = this.aFloat5708; - float f_24_ = this.aFloat5700; - float f_25_ = this.aFloat5722; - float f_26_ = this.aFloat5704; - float f_27_ = this.aFloat5732; - if (i <= 104) this.aFloat5732 = -0.557632F; - float f_28_ = this.aFloat5729; - this.aFloat5708 = (f * class101_sub2_22_.aFloat5708 + class101_sub2_22_.aFloat5722 * f_23_ + (this.aFloat5736 * class101_sub2_22_.aFloat5732)); - this.aFloat5711 = ((class101_sub2_22_.aFloat5704 * this.aFloat5736) + (class101_sub2_22_.aFloat5711 * f + f_23_ * class101_sub2_22_.aFloat5700)); - float f_29_ = this.aFloat5710; - this.aFloat5722 = ((class101_sub2_22_.aFloat5732 * this.aFloat5691) + (f_24_ * class101_sub2_22_.aFloat5708 + class101_sub2_22_.aFloat5722 * f_25_)); - this.aFloat5700 = ((this.aFloat5691 * class101_sub2_22_.aFloat5704) + (class101_sub2_22_.aFloat5711 * f_24_ + f_25_ * class101_sub2_22_.aFloat5700)); - this.aFloat5736 = (f_23_ * class101_sub2_22_.aFloat5691 + class101_sub2_22_.aFloat5736 * f + (this.aFloat5736 * class101_sub2_22_.aFloat5716)); - this.aFloat5691 = ((this.aFloat5691 * class101_sub2_22_.aFloat5716) + (f_25_ * class101_sub2_22_.aFloat5691 + class101_sub2_22_.aFloat5736 * f_24_)); - this.aFloat5732 = (class101_sub2_22_.aFloat5722 * f_27_ + class101_sub2_22_.aFloat5708 * f_26_ + (this.aFloat5716 * class101_sub2_22_.aFloat5732)); - this.aFloat5704 = ((this.aFloat5716 * class101_sub2_22_.aFloat5704) + (class101_sub2_22_.aFloat5711 * f_26_ + f_27_ * class101_sub2_22_.aFloat5700)); - this.aFloat5729 = (class101_sub2_22_.aFloat5729 + (f_28_ * class101_sub2_22_.aFloat5711 + class101_sub2_22_.aFloat5700 * f_29_ + (class101_sub2_22_.aFloat5704 * this.aFloat5724))); - this.aFloat5710 = (class101_sub2_22_.aFloat5708 * f_28_ + f_29_ * class101_sub2_22_.aFloat5722 + (this.aFloat5724 * class101_sub2_22_.aFloat5732) + class101_sub2_22_.aFloat5710); - this.aFloat5716 = ((this.aFloat5716 * class101_sub2_22_.aFloat5716) + (class101_sub2_22_.aFloat5736 * f_26_ + class101_sub2_22_.aFloat5691 * f_27_)); - this.aFloat5724 = (class101_sub2_22_.aFloat5736 * f_28_ + class101_sub2_22_.aFloat5691 * f_29_ + (this.aFloat5724 * class101_sub2_22_.aFloat5716) + class101_sub2_22_.aFloat5724); - } - - final float[] method918(float[] fs, int i) { - fs[7] = 0.0F; - fs[13] = this.aFloat5710; - fs[14] = this.aFloat5724; - fs[12] = this.aFloat5729; - fs[11] = 0.0F; - anInt5709++; - fs[9] = this.aFloat5732; - fs[8] = this.aFloat5704; - fs[4] = this.aFloat5700; - fs[0] = this.aFloat5711; - fs[10] = this.aFloat5716; - fs[5] = this.aFloat5722; - fs[15] = 1.0F; - fs[1] = this.aFloat5708; - fs[3] = (float) i; - fs[2] = this.aFloat5736; - fs[6] = this.aFloat5691; - return fs; - } - - final void method919(float f, float[] fs, float f_30_, float f_31_, float f_32_, byte i) { - anInt5727++; - if (i != -120) method921((byte) -93, false); - fs[0] = (f_30_ * this.aFloat5700 + f_31_ * this.aFloat5711 + this.aFloat5704 * f); - fs[1] = (this.aFloat5708 * f_31_ + f_30_ * this.aFloat5722 + this.aFloat5732 * f); - float f_33_; - float f_34_; - float f_35_; - if (f_31_ > 0.00390625F || f_31_ < -0.00390625F) { - float f_36_ = -f_32_ / f_31_; - f_34_ = (this.aFloat5724 + f_36_ * this.aFloat5736); - f_35_ = (this.aFloat5729 + f_36_ * this.aFloat5711); - f_33_ = (f_36_ * this.aFloat5708 + this.aFloat5710); - } else if (f_30_ <= 0.00390625F && f_30_ >= -0.00390625F) { - float f_38_ = -f_32_ / f; - f_35_ = (this.aFloat5704 * f_38_ + this.aFloat5729); - f_33_ = (this.aFloat5732 * f_38_ + this.aFloat5710); - f_34_ = (this.aFloat5724 + f_38_ * this.aFloat5716); - } else { - float f_37_ = -f_32_ / f_30_; - f_33_ = (this.aFloat5710 + f_37_ * this.aFloat5722); - f_34_ = (this.aFloat5724 + this.aFloat5691 * f_37_); - f_35_ = (this.aFloat5729 + this.aFloat5700 * f_37_); - } - fs[2] = (f * this.aFloat5716 + (this.aFloat5691 * f_30_ + f_31_ * this.aFloat5736)); - fs[3] = -(fs[2] * f_34_ + (fs[0] * f_35_ + fs[1] * f_33_)); - } - - final void method900(int i) { - anInt5734++; - float f = Class239_Sub4.aFloatArray5876[0x3fff & i]; - float f_39_ = Class239_Sub4.aFloatArray5874[0x3fff & i]; - float f_40_ = this.aFloat5708; - float f_41_ = this.aFloat5722; - float f_42_ = this.aFloat5732; - this.aFloat5708 = f_40_ * f - f_39_ * this.aFloat5736; - float f_43_ = this.aFloat5710; - this.aFloat5722 = f_41_ * f - f_39_ * this.aFloat5691; - this.aFloat5736 = f * this.aFloat5736 + f_39_ * f_40_; - this.aFloat5691 = f * this.aFloat5691 + f_39_ * f_41_; - this.aFloat5732 = f_42_ * f - this.aFloat5716 * f_39_; - this.aFloat5710 = f * f_43_ - f_39_ * this.aFloat5724; - this.aFloat5716 = f * this.aFloat5716 + f_42_ * f_39_; - this.aFloat5724 = f_39_ * f_43_ + f * this.aFloat5724; - } - - final void method920(float f, boolean bool, float f_44_, float f_45_) { - this.aFloat5724 += f_44_; - anInt5717++; - this.aFloat5729 += f_45_; - this.aFloat5710 += f; - if (bool != false) method915(null, 69); - } - - static final void method921(byte i, boolean bool) { - if (i == 99) { - for (Class348_Sub9 class348_sub9 = (Class348_Sub9) Class218.aClass262_2859.method1995(4); class348_sub9 != null; class348_sub9 = (Class348_Sub9) Class218.aClass262_2859.method1990((byte) 120)) { - if (class348_sub9.aClass348_Sub16_Sub5_6676 != null) { - Class348_Sub43.aClass348_Sub16_Sub4_7065.method2880(class348_sub9.aClass348_Sub16_Sub5_6676); - class348_sub9.aClass348_Sub16_Sub5_6676 = null; - } - if (class348_sub9.aClass348_Sub16_Sub5_6673 != null) { - Class348_Sub43.aClass348_Sub16_Sub4_7065.method2880(class348_sub9.aClass348_Sub16_Sub5_6673); - class348_sub9.aClass348_Sub16_Sub5_6673 = null; - } - class348_sub9.method2715((byte) 94); - } - anInt5739++; - if (bool) { - for (Class348_Sub9 class348_sub9 = (Class348_Sub9) client.aClass262_5185.method1995(4); class348_sub9 != null; class348_sub9 = ((Class348_Sub9) client.aClass262_5185.method1990((byte) 69))) { - if ((class348_sub9.aClass348_Sub16_Sub5_6676) != null) { - Class348_Sub43.aClass348_Sub16_Sub4_7065.method2880(class348_sub9.aClass348_Sub16_Sub5_6676); - class348_sub9.aClass348_Sub16_Sub5_6676 = null; - } - class348_sub9.method2715((byte) 66); - } - for (Class348_Sub9 class348_sub9 = (Class348_Sub9) Class348_Sub42_Sub16_Sub2.aClass356_10465.method3484(0); class348_sub9 != null; class348_sub9 = (Class348_Sub9) Class348_Sub42_Sub16_Sub2.aClass356_10465.method3482(0)) { - if ((class348_sub9.aClass348_Sub16_Sub5_6676) != null) { - Class348_Sub43.aClass348_Sub16_Sub4_7065.method2880(class348_sub9.aClass348_Sub16_Sub5_6676); - class348_sub9.aClass348_Sub16_Sub5_6676 = null; - } - class348_sub9.method2715((byte) 112); - } - } - } - } - - final float method922(byte i, float f, float f_46_, float f_47_) { - anInt5701++; - if (i <= 63) this.aFloat5700 = -0.2392172F; - return (this.aFloat5722 * f_47_ + f * this.aFloat5708 + f_46_ * this.aFloat5732 + this.aFloat5710); - } - - final void method923(float f, float f_48_, byte i, float f_49_, float[] fs) { - fs[2] = (f_49_ * this.aFloat5716 + (this.aFloat5691 * f_48_ + this.aFloat5736 * f)); - if (i > -23) method897(30, -104, -112, null); - anInt5697++; - fs[1] = (this.aFloat5732 * f_49_ + (f_48_ * this.aFloat5722 + f * this.aFloat5708)); - fs[0] = (f_49_ * this.aFloat5704 + (this.aFloat5711 * f + f_48_ * this.aFloat5700)); - } - - final float[] method924(int i, float[] fs) { - fs[2] = this.aFloat5704; - fs[0] = this.aFloat5711; - fs[6] = this.aFloat5732; - fs[13] = 0.0F; - fs[3] = this.aFloat5729; - fs[7] = this.aFloat5710; - fs[12] = 0.0F; - fs[14] = 0.0F; - anInt5705++; - fs[10] = this.aFloat5716; - fs[8] = this.aFloat5736; - fs[1] = this.aFloat5700; - fs[5] = this.aFloat5722; - fs[9] = this.aFloat5691; - fs[15] = 1.0F; - fs[4] = this.aFloat5708; - fs[i] = this.aFloat5724; - return fs; - } - - public static void method925(int i) { - if (i == -5997) { - aClass351_5699 = null; - aClass114_5742 = null; - } - } - - final Class101 method907() { - anInt5695++; - Class101_Sub2 class101_sub2_50_ = new Class101_Sub2(); - class101_sub2_50_.aFloat5691 = this.aFloat5691; - class101_sub2_50_.aFloat5724 = this.aFloat5724; - class101_sub2_50_.aFloat5700 = this.aFloat5700; - class101_sub2_50_.aFloat5729 = this.aFloat5729; - class101_sub2_50_.aFloat5736 = this.aFloat5736; - class101_sub2_50_.aFloat5710 = this.aFloat5710; - class101_sub2_50_.aFloat5722 = this.aFloat5722; - class101_sub2_50_.aFloat5704 = this.aFloat5704; - class101_sub2_50_.aFloat5708 = this.aFloat5708; - class101_sub2_50_.aFloat5716 = this.aFloat5716; - class101_sub2_50_.aFloat5711 = this.aFloat5711; - class101_sub2_50_.aFloat5732 = this.aFloat5732; - return class101_sub2_50_; - } - - final void method926(int i, Class101 class101) { - anInt5737++; - if (i != -15699) this.aFloat5722 = 0.6372093F; - Class101_Sub2 class101_sub2_51_ = (Class101_Sub2) class101; - this.aFloat5711 = class101_sub2_51_.aFloat5711; - this.aFloat5710 = 0.0F; - this.aFloat5722 = class101_sub2_51_.aFloat5722; - this.aFloat5736 = class101_sub2_51_.aFloat5736; - this.aFloat5691 = class101_sub2_51_.aFloat5691; - this.aFloat5716 = class101_sub2_51_.aFloat5716; - this.aFloat5700 = class101_sub2_51_.aFloat5700; - this.aFloat5708 = class101_sub2_51_.aFloat5708; - this.aFloat5732 = class101_sub2_51_.aFloat5732; - this.aFloat5724 = 0.0F; - this.aFloat5729 = 0.0F; - this.aFloat5704 = class101_sub2_51_.aFloat5704; - } - - final void method927(Class101 class101, Class101 class101_52_) { - try { - anInt5743++; - Class101_Sub2 class101_sub2_53_ = (Class101_Sub2) class101; - Class101_Sub2 class101_sub2_54_ = (Class101_Sub2) class101_52_; - this.aFloat5711 = ((class101_sub2_53_.aFloat5704 * class101_sub2_54_.aFloat5736) + ((class101_sub2_53_.aFloat5711 * class101_sub2_54_.aFloat5711) + (class101_sub2_54_.aFloat5708 * class101_sub2_53_.aFloat5700))); - this.aFloat5708 = ((class101_sub2_53_.aFloat5722 * class101_sub2_54_.aFloat5708) + (class101_sub2_54_.aFloat5711 * class101_sub2_53_.aFloat5708) + (class101_sub2_53_.aFloat5732 * class101_sub2_54_.aFloat5736)); - this.aFloat5736 = ((class101_sub2_54_.aFloat5736 * class101_sub2_53_.aFloat5716) + ((class101_sub2_53_.aFloat5736 * class101_sub2_54_.aFloat5711) + (class101_sub2_54_.aFloat5708 * class101_sub2_53_.aFloat5691))); - this.aFloat5700 = ((class101_sub2_54_.aFloat5691 * class101_sub2_53_.aFloat5704) + ((class101_sub2_54_.aFloat5722 * class101_sub2_53_.aFloat5700) + (class101_sub2_54_.aFloat5700 * class101_sub2_53_.aFloat5711))); - this.aFloat5722 = ((class101_sub2_53_.aFloat5708 * class101_sub2_54_.aFloat5700) + (class101_sub2_54_.aFloat5722 * class101_sub2_53_.aFloat5722) + (class101_sub2_53_.aFloat5732 * class101_sub2_54_.aFloat5691)); - this.aFloat5704 = ((class101_sub2_53_.aFloat5700 * class101_sub2_54_.aFloat5732) + (class101_sub2_53_.aFloat5711 * class101_sub2_54_.aFloat5704) + (class101_sub2_53_.aFloat5704 * class101_sub2_54_.aFloat5716)); - this.aFloat5691 = ((class101_sub2_53_.aFloat5716 * class101_sub2_54_.aFloat5691) + ((class101_sub2_53_.aFloat5736 * class101_sub2_54_.aFloat5700) + (class101_sub2_53_.aFloat5691 * class101_sub2_54_.aFloat5722))); - this.aFloat5732 = ((class101_sub2_53_.aFloat5708 * class101_sub2_54_.aFloat5704) + (class101_sub2_53_.aFloat5722 * class101_sub2_54_.aFloat5732) + (class101_sub2_54_.aFloat5716 * class101_sub2_53_.aFloat5732)); - this.aFloat5729 = (class101_sub2_53_.aFloat5729 + ((class101_sub2_54_.aFloat5724 * class101_sub2_53_.aFloat5704) + ((class101_sub2_54_.aFloat5710 * class101_sub2_53_.aFloat5700) + (class101_sub2_53_.aFloat5711 * (class101_sub2_54_.aFloat5729))))); - this.aFloat5716 = ((class101_sub2_53_.aFloat5691 * class101_sub2_54_.aFloat5732) + (class101_sub2_53_.aFloat5736 * class101_sub2_54_.aFloat5704) + (class101_sub2_53_.aFloat5716 * class101_sub2_54_.aFloat5716)); - this.aFloat5710 = (class101_sub2_53_.aFloat5710 + ((class101_sub2_53_.aFloat5732 * class101_sub2_54_.aFloat5724) + ((class101_sub2_54_.aFloat5710 * class101_sub2_53_.aFloat5722) + (class101_sub2_53_.aFloat5708 * (class101_sub2_54_.aFloat5729))))); - this.aFloat5724 = ((class101_sub2_53_.aFloat5691 * class101_sub2_54_.aFloat5710) + (class101_sub2_53_.aFloat5736 * class101_sub2_54_.aFloat5729) + (class101_sub2_54_.aFloat5724 * class101_sub2_53_.aFloat5716) + class101_sub2_53_.aFloat5724); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("haa.HA(" + (class101 != null ? "{...}" : "null") + ',' + (class101_52_ != null ? "{...}" : "null") + ')')); - } - } - - final float[] method928(float[] fs, int i) { - fs[13] = 0.0F; - fs[i] = this.aFloat5708; - fs[5] = this.aFloat5722; - fs[6] = 0.0F; - fs[3] = 0.0F; - fs[15] = 1.0F; - fs[4] = this.aFloat5700; - fs[14] = 0.0F; - fs[10] = this.aFloat5724; - fs[2] = 0.0F; - fs[0] = this.aFloat5711; - fs[7] = 0.0F; - fs[11] = 0.0F; - fs[12] = 0.0F; - anInt5690++; - fs[8] = this.aFloat5729; - fs[9] = this.aFloat5710; - return fs; - } - - final float method929(float f, float f_55_, byte i, float f_56_) { - anInt5720++; - if (i != 45) this.aFloat5722 = 0.64777815F; - return (f * this.aFloat5704 + (f_55_ * this.aFloat5700 + f_56_ * this.aFloat5711) + this.aFloat5729); - } - - final void method908(int i) { - anInt5702++; - float f = Class239_Sub4.aFloatArray5876[i & 0x3fff]; - float f_57_ = Class239_Sub4.aFloatArray5874[i & 0x3fff]; - float f_58_ = this.aFloat5711; - float f_59_ = this.aFloat5700; - float f_60_ = this.aFloat5704; - float f_61_ = this.aFloat5729; - this.aFloat5711 = f_58_ * f - this.aFloat5708 * f_57_; - this.aFloat5708 = f * this.aFloat5708 + f_58_ * f_57_; - this.aFloat5700 = f_59_ * f - this.aFloat5722 * f_57_; - this.aFloat5722 = this.aFloat5722 * f + f_59_ * f_57_; - this.aFloat5704 = f_60_ * f - f_57_ * this.aFloat5732; - this.aFloat5729 = -(f_57_ * this.aFloat5710) + f * f_61_; - this.aFloat5732 = f_57_ * f_60_ + f * this.aFloat5732; - this.aFloat5710 = f_57_ * f_61_ + this.aFloat5710 * f; - } - - final void method890(int[] is) { - anInt5715++; - float f = -this.aFloat5729 + (float) is[0]; - float f_62_ = (float) is[1] - this.aFloat5710; - float f_63_ = (float) is[2] - this.aFloat5724; - is[2] = (int) (f_63_ * this.aFloat5716 + (this.aFloat5704 * f + f_62_ * this.aFloat5732)); - is[1] = (int) (this.aFloat5691 * f_63_ + (this.aFloat5722 * f_62_ + f * this.aFloat5700)); - is[0] = (int) (this.aFloat5708 * f_62_ + this.aFloat5711 * f + f_63_ * this.aFloat5736); - } - - final void method897(int i, int i_64_, int i_65_, int[] is) { - is[2] = (int) ((float) i_64_ * this.aFloat5691 + this.aFloat5736 * (float) i + this.aFloat5716 * (float) i_65_ + this.aFloat5724); - anInt5723++; - is[1] = (int) (this.aFloat5732 * (float) i_65_ + (this.aFloat5722 * (float) i_64_ + (float) i * this.aFloat5708) + this.aFloat5710); - is[0] = (int) (this.aFloat5729 + (this.aFloat5704 * (float) i_65_ + ((float) i * this.aFloat5711 + (this.aFloat5700 * (float) i_64_)))); - } - - final void method905(int i, int i_66_, int i_67_, int[] is) { - is[0] = (int) ((float) i * this.aFloat5711 + this.aFloat5700 * (float) i_66_ + (float) i_67_ * this.aFloat5704); - is[1] = (int) ((float) i_66_ * this.aFloat5722 + this.aFloat5708 * (float) i + this.aFloat5732 * (float) i_67_); - anInt5741++; - is[2] = (int) ((float) i * this.aFloat5736 + this.aFloat5691 * (float) i_66_ + (float) i_67_ * this.aFloat5716); - } - - final float[] method930(int i, float[] fs) { - fs[7] = 0.0F; - fs[14] = 0.0F; - fs[8] = this.aFloat5736; - fs[6] = this.aFloat5732; - fs[4] = this.aFloat5708; - fs[2] = this.aFloat5704; - fs[11] = 0.0F; - anInt5719++; - fs[15] = 0.0F; - fs[9] = this.aFloat5691; - fs[12] = 0.0F; - fs[13] = (float) i; - fs[3] = 0.0F; - fs[1] = this.aFloat5700; - fs[0] = this.aFloat5711; - fs[10] = this.aFloat5716; - fs[5] = this.aFloat5722; - return fs; - } - - final void method931(int i, Class101 class101) { - anInt5730++; - Class101_Sub2 class101_sub2_68_ = (Class101_Sub2) class101; - this.aFloat5700 = class101_sub2_68_.aFloat5708; - this.aFloat5704 = class101_sub2_68_.aFloat5736; - this.aFloat5711 = class101_sub2_68_.aFloat5711; - this.aFloat5708 = class101_sub2_68_.aFloat5700; - this.aFloat5722 = class101_sub2_68_.aFloat5722; - this.aFloat5736 = class101_sub2_68_.aFloat5704; - this.aFloat5732 = class101_sub2_68_.aFloat5691; - this.aFloat5691 = class101_sub2_68_.aFloat5732; - if (i != -25519) method932(0.19733748F, -0.027194114F, -1.3929868F, (byte) 77); - this.aFloat5729 = -((this.aFloat5704 * class101_sub2_68_.aFloat5724) + ((class101_sub2_68_.aFloat5710 * this.aFloat5700) + (class101_sub2_68_.aFloat5729 * this.aFloat5711))); - this.aFloat5716 = class101_sub2_68_.aFloat5716; - this.aFloat5710 = -((class101_sub2_68_.aFloat5724 * this.aFloat5732) + ((this.aFloat5708 * class101_sub2_68_.aFloat5729) + (class101_sub2_68_.aFloat5710 * this.aFloat5722))); - this.aFloat5724 = -((class101_sub2_68_.aFloat5710 * this.aFloat5691) + (this.aFloat5736 * class101_sub2_68_.aFloat5729) + (this.aFloat5716 * class101_sub2_68_.aFloat5724)); - } - - final void method896(int i) { - anInt5725++; - float f = Class239_Sub4.aFloatArray5876[i & 0x3fff]; - float f_69_ = Class239_Sub4.aFloatArray5874[i & 0x3fff]; - float f_70_ = this.aFloat5711; - float f_71_ = this.aFloat5700; - float f_72_ = this.aFloat5704; - this.aFloat5711 = f * f_70_ + this.aFloat5736 * f_69_; - float f_73_ = this.aFloat5729; - this.aFloat5736 = -(f_69_ * f_70_) + this.aFloat5736 * f; - this.aFloat5700 = f * f_71_ + f_69_ * this.aFloat5691; - this.aFloat5691 = -(f_69_ * f_71_) + this.aFloat5691 * f; - this.aFloat5704 = f * f_72_ + this.aFloat5716 * f_69_; - this.aFloat5716 = -(f_72_ * f_69_) + this.aFloat5716 * f; - this.aFloat5729 = f_73_ * f + f_69_ * this.aFloat5724; - this.aFloat5724 = -(f_73_ * f_69_) + f * this.aFloat5724; - } - - final void method932(float f, float f_74_, float f_75_, byte i) { - this.aFloat5722 = f_74_; - this.aFloat5704 = 0.0F; - this.aFloat5700 = 0.0F; - anInt5692++; - this.aFloat5729 = 0.0F; - this.aFloat5716 = f; - this.aFloat5724 = 0.0F; - this.aFloat5732 = 0.0F; - this.aFloat5710 = 0.0F; - if (i > -5) method900(-55); - this.aFloat5736 = 0.0F; - this.aFloat5708 = 0.0F; - this.aFloat5691 = 0.0F; - this.aFloat5711 = f_75_; - } - - final float method933(byte i, float f, float f_76_, float f_77_) { - if (i != -105) this.aFloat5724 = -0.26493254F; - anInt5740++; - return (this.aFloat5724 + (this.aFloat5736 * f + f_77_ * this.aFloat5691 + this.aFloat5716 * f_76_)); - } - - public Class101_Sub2() { - method910(); - } - - final void method934(byte i) { - this.aFloat5710 = -this.aFloat5710; - if (i == 64) { - this.aFloat5691 = -this.aFloat5691; - this.aFloat5736 = -this.aFloat5736; - this.aFloat5732 = -this.aFloat5732; - this.aFloat5724 = -this.aFloat5724; - anInt5731++; - this.aFloat5716 = -this.aFloat5716; - this.aFloat5708 = -this.aFloat5708; - this.aFloat5722 = -this.aFloat5722; - } - } - - final void method898(Class101 class101) { - anInt5693++; - Class101_Sub2 class101_sub2_78_ = (Class101_Sub2) class101; - this.aFloat5724 = class101_sub2_78_.aFloat5724; - this.aFloat5736 = class101_sub2_78_.aFloat5736; - this.aFloat5729 = class101_sub2_78_.aFloat5729; - this.aFloat5700 = class101_sub2_78_.aFloat5700; - this.aFloat5691 = class101_sub2_78_.aFloat5691; - this.aFloat5711 = class101_sub2_78_.aFloat5711; - this.aFloat5704 = class101_sub2_78_.aFloat5704; - this.aFloat5732 = class101_sub2_78_.aFloat5732; - this.aFloat5716 = class101_sub2_78_.aFloat5716; - this.aFloat5722 = class101_sub2_78_.aFloat5722; - this.aFloat5710 = class101_sub2_78_.aFloat5710; - this.aFloat5708 = class101_sub2_78_.aFloat5708; - } - - final void method935(float f, float f_79_, float f_80_, float f_81_, float f_82_, float f_83_, float f_84_, float f_85_, float f_86_, int i) { - anInt5718++; - this.aFloat5708 = f_79_; - this.aFloat5716 = f; - this.aFloat5700 = f_80_; - this.aFloat5724 = 0.0F; - this.aFloat5732 = f_85_; - this.aFloat5729 = 0.0F; - this.aFloat5722 = f_83_; - this.aFloat5704 = f_84_; - this.aFloat5710 = (float) i; - this.aFloat5691 = f_82_; - this.aFloat5736 = f_81_; - this.aFloat5711 = f_86_; - } - - final void method936(int i, int i_87_, int i_88_, float f, float f_89_, float f_90_, int i_91_) { - anInt5703++; - if (i == i_87_) { - this.aFloat5708 = this.aFloat5736 = this.aFloat5700 = this.aFloat5691 = this.aFloat5704 = this.aFloat5732 = 0.0F; - this.aFloat5729 = f - (float) i_91_; - this.aFloat5716 = 1.0F; - this.aFloat5710 = (float) -i_88_ + f_90_; - this.aFloat5711 = (float) (i_91_ * 2); - this.aFloat5722 = (float) (2 * i_88_); - this.aFloat5724 = f_89_; - } else { - float f_92_ = Class239_Sub4.aFloatArray5876[i & 0x3fff]; - float f_93_ = Class239_Sub4.aFloatArray5874[0x3fff & i]; - this.aFloat5711 = 2.0F * f_92_ * (float) i_91_; - this.aFloat5710 = (-0.5F * f_93_ - f_92_ * 0.5F) * (float) (2 * i_88_) + f_90_; - this.aFloat5722 = (float) i_88_ * (f_92_ * 2.0F); - this.aFloat5716 = 1.0F; - this.aFloat5700 = -2.0F * f_93_ * (float) i_88_; - this.aFloat5736 = this.aFloat5691 = this.aFloat5704 = this.aFloat5732 = 0.0F; - this.aFloat5724 = f_89_; - this.aFloat5708 = (float) i_91_ * (f_93_ * 2.0F); - this.aFloat5729 = f + (float) (2 * i_91_) * (0.5F * f_93_ - f_92_ * 0.5F); - } - } - - static { - aClass351_5699 = new Class351(53, -1); - aClass114_5742 = new Class114(119, 6); - } -} diff --git a/client/src/Class101_Sub3.java b/client/src/Class101_Sub3.java deleted file mode 100644 index c2c4887c3..000000000 --- a/client/src/Class101_Sub3.java +++ /dev/null @@ -1,424 +0,0 @@ -/* Class101_Sub3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class101_Sub3 extends Class101 { - static int anInt5746; - float aFloat5747; - static int anInt5748; - static int anInt5749; - float aFloat5750; - float aFloat5751; - static int anInt5752; - static int anInt5753; - float aFloat5754; - static int anInt5755; - float aFloat5756; - static int anInt5757; - static int anInt5758; - static int anInt5759; - static int anInt5760; - float aFloat5761; - float aFloat5762; - static int anInt5763; - static Class326 aClass326_5764; - static int anInt5765; - static int anInt5766; - static int anInt5767; - static int anInt5768 = 0; - float aFloat5769; - float aFloat5770; - static int anInt5771; - float aFloat5772; - static int anInt5773; - static int anInt5774; - static int anInt5775; - static int anInt5776; - static int anInt5777; - static int anInt5778; - static int anInt5779; - static int anInt5780; - float aFloat5781; - static int anInt5782; - static int anInt5783; - float aFloat5784; - static int anInt5785; - - final void method902(int i) { - anInt5779++; - this.aFloat5784 = 1.0F; - this.aFloat5770 = this.aFloat5769 = Class348_Sub23.aFloatArray6867[0x3fff & i]; - this.aFloat5761 = Class348_Sub23.aFloatArray6865[0x3fff & i]; - this.aFloat5781 = this.aFloat5747 = this.aFloat5762 = this.aFloat5772 = this.aFloat5756 = this.aFloat5754 = this.aFloat5751 = 0.0F; - this.aFloat5750 = -this.aFloat5761; - } - - final void method937(boolean bool, float f, float f_0_, float f_1_, float f_2_, float[] fs) { - anInt5765++; - float f_3_; - float f_4_; - float f_5_; - if (f > 0.00390625F || f < -0.00390625F) { - float f_6_ = -f_2_ / f; - f_4_ = (f_6_ * this.aFloat5770 + this.aFloat5747); - f_5_ = (this.aFloat5751 + this.aFloat5756 * f_6_); - f_3_ = (this.aFloat5772 + f_6_ * this.aFloat5761); - } else if (f_1_ <= 0.00390625F && f_1_ >= -0.00390625F) { - float f_8_ = -f_2_ / f_0_; - f_4_ = (f_8_ * this.aFloat5781 + this.aFloat5747); - f_3_ = (this.aFloat5762 * f_8_ + this.aFloat5772); - f_5_ = (this.aFloat5751 + f_8_ * this.aFloat5784); - } else { - float f_7_ = -f_2_ / f_1_; - f_3_ = (this.aFloat5769 * f_7_ + this.aFloat5772); - f_4_ = (this.aFloat5750 * f_7_ + this.aFloat5747); - f_5_ = (this.aFloat5754 * f_7_ + this.aFloat5751); - } - fs[0] = (f_0_ * this.aFloat5781 + (f * this.aFloat5770 + f_1_ * this.aFloat5750)); - fs[2] = (f_0_ * this.aFloat5784 + (this.aFloat5756 * f + this.aFloat5754 * f_1_)); - if (bool != true) this.aFloat5772 = -0.4364811F; - fs[1] = (this.aFloat5769 * f_1_ + this.aFloat5761 * f + this.aFloat5762 * f_0_); - fs[3] = -(fs[0] * f_4_ + f_3_ * fs[1] + f_5_ * fs[2]); - } - - final void method891(int i, int i_9_, int i_10_) { - this.aFloat5751 += (float) i_10_; - this.aFloat5772 += (float) i_9_; - this.aFloat5747 += (float) i; - anInt5785++; - } - - public static void method938(int i) { - aClass326_5764 = null; - if (i <= 8) aClass326_5764 = null; - } - - final void method900(int i) { - anInt5763++; - float f = Class348_Sub23.aFloatArray6867[0x3fff & i]; - float f_11_ = Class348_Sub23.aFloatArray6865[0x3fff & i]; - float f_12_ = this.aFloat5761; - float f_13_ = this.aFloat5769; - float f_14_ = this.aFloat5762; - this.aFloat5761 = f * f_12_ - this.aFloat5756 * f_11_; - float f_15_ = this.aFloat5772; - this.aFloat5756 = this.aFloat5756 * f + f_11_ * f_12_; - this.aFloat5769 = -(f_11_ * this.aFloat5754) + f_13_ * f; - this.aFloat5762 = f * f_14_ - this.aFloat5784 * f_11_; - this.aFloat5754 = f_13_ * f_11_ + f * this.aFloat5754; - this.aFloat5784 = f_14_ * f_11_ + f * this.aFloat5784; - this.aFloat5772 = -(f_11_ * this.aFloat5751) + f * f_15_; - this.aFloat5751 = f * this.aFloat5751 + f_15_ * f_11_; - } - - final void method939(float f, int i, float f_16_, int i_17_, int i_18_, int i_19_, float f_20_) { - if (i_18_ == 0) { - this.aFloat5761 = this.aFloat5756 = this.aFloat5750 = this.aFloat5754 = this.aFloat5781 = this.aFloat5762 = 0.0F; - this.aFloat5770 = (float) i; - this.aFloat5784 = 1.0F; - this.aFloat5769 = (float) i_17_; - } else { - float f_21_ = Class348_Sub23.aFloatArray6867[0x3fff & i_18_]; - float f_22_ = Class348_Sub23.aFloatArray6865[i_18_ & 0x3fff]; - this.aFloat5761 = (float) i * f_22_; - this.aFloat5769 = (float) i_17_ * f_21_; - this.aFloat5756 = this.aFloat5754 = this.aFloat5781 = this.aFloat5762 = 0.0F; - this.aFloat5784 = 1.0F; - this.aFloat5750 = -f_22_ * (float) i_17_; - this.aFloat5770 = (float) i * f_21_; - } - anInt5746++; - this.aFloat5747 = f_16_; - this.aFloat5772 = f_20_; - this.aFloat5751 = f; - int i_23_ = -88 / ((i_19_ - 6) / 39); - } - - final void method897(int i, int i_24_, int i_25_, int[] is) { - anInt5767++; - is[0] = (int) ((float) i_25_ * this.aFloat5781 + ((float) i * this.aFloat5770 + (float) i_24_ * this.aFloat5750) + this.aFloat5747); - is[2] = (int) ((float) i_24_ * this.aFloat5754 + this.aFloat5756 * (float) i + this.aFloat5784 * (float) i_25_ + this.aFloat5751); - is[1] = (int) (this.aFloat5772 + ((float) i_25_ * this.aFloat5762 + ((float) i * this.aFloat5761 + ((float) i_24_ * this.aFloat5769)))); - } - - final void method894(int i, int i_26_, int i_27_) { - this.aFloat5751 = (float) i_27_; - this.aFloat5747 = (float) i; - this.aFloat5761 = this.aFloat5756 = this.aFloat5750 = this.aFloat5754 = this.aFloat5781 = this.aFloat5762 = 0.0F; - this.aFloat5772 = (float) i_26_; - this.aFloat5770 = this.aFloat5769 = this.aFloat5784 = 1.0F; - anInt5749++; - } - - final void method890(int[] is) { - anInt5775++; - float f = (float) is[0] - this.aFloat5747; - float f_28_ = -this.aFloat5772 + (float) is[1]; - float f_29_ = -this.aFloat5751 + (float) is[2]; - is[1] = (int) (this.aFloat5769 * f_28_ + f * this.aFloat5750 + this.aFloat5754 * f_29_); - is[2] = (int) (this.aFloat5784 * f_29_ + (f_28_ * this.aFloat5762 + this.aFloat5781 * f)); - is[0] = (int) (this.aFloat5770 * f + this.aFloat5761 * f_28_ + f_29_ * this.aFloat5756); - } - - final void method903(int i, int i_30_, int i_31_, int i_32_, int i_33_, int i_34_) { - anInt5782++; - float f = Class348_Sub23.aFloatArray6867[i_32_ & 0x3fff]; - float f_35_ = Class348_Sub23.aFloatArray6865[i_32_ & 0x3fff]; - float f_36_ = Class348_Sub23.aFloatArray6867[0x3fff & i_33_]; - float f_37_ = Class348_Sub23.aFloatArray6865[0x3fff & i_33_]; - float f_38_ = Class348_Sub23.aFloatArray6867[0x3fff & i_34_]; - float f_39_ = Class348_Sub23.aFloatArray6865[0x3fff & i_34_]; - float f_40_ = f_35_ * f_38_; - float f_41_ = f_39_ * f_35_; - this.aFloat5762 = f_40_ * f_36_ + f_37_ * f_39_; - this.aFloat5756 = f * f_37_; - this.aFloat5770 = f_37_ * f_41_ + f_36_ * f_38_; - this.aFloat5769 = f_38_ * f; - this.aFloat5754 = -f_35_; - this.aFloat5750 = f_39_ * f; - this.aFloat5784 = f * f_36_; - this.aFloat5781 = f_38_ * -f_37_ + f_36_ * f_41_; - this.aFloat5761 = f_40_ * f_37_ + -f_36_ * f_39_; - this.aFloat5751 = (this.aFloat5756 * (float) -i - this.aFloat5754 * (float) i_30_ - (float) i_31_ * this.aFloat5784); - this.aFloat5747 = (-(this.aFloat5750 * (float) i_30_) + this.aFloat5770 * (float) -i - this.aFloat5781 * (float) i_31_); - this.aFloat5772 = (-((float) i_31_ * this.aFloat5762) + (this.aFloat5761 * (float) -i - this.aFloat5769 * (float) i_30_)); - } - - final void method908(int i) { - anInt5774++; - float f = Class348_Sub23.aFloatArray6867[i & 0x3fff]; - float f_42_ = Class348_Sub23.aFloatArray6865[i & 0x3fff]; - float f_43_ = this.aFloat5770; - float f_44_ = this.aFloat5750; - float f_45_ = this.aFloat5781; - this.aFloat5770 = f * f_43_ - this.aFloat5761 * f_42_; - float f_46_ = this.aFloat5747; - this.aFloat5761 = this.aFloat5761 * f + f_43_ * f_42_; - this.aFloat5750 = -(this.aFloat5769 * f_42_) + f_44_ * f; - this.aFloat5781 = -(f_42_ * this.aFloat5762) + f_45_ * f; - this.aFloat5769 = f * this.aFloat5769 + f_42_ * f_44_; - this.aFloat5762 = this.aFloat5762 * f + f_45_ * f_42_; - this.aFloat5747 = -(f_42_ * this.aFloat5772) + f * f_46_; - this.aFloat5772 = this.aFloat5772 * f + f_42_ * f_46_; - } - - final float[] method940(int i) { - Class288_Sub1.aFloatArray8575[0] = this.aFloat5770; - Class288_Sub1.aFloatArray8575[9] = this.aFloat5762; - Class288_Sub1.aFloatArray8575[12] = this.aFloat5747; - anInt5777++; - Class288_Sub1.aFloatArray8575[i] = this.aFloat5761; - Class288_Sub1.aFloatArray8575[6] = this.aFloat5754; - Class288_Sub1.aFloatArray8575[4] = this.aFloat5750; - Class288_Sub1.aFloatArray8575[10] = this.aFloat5784; - Class288_Sub1.aFloatArray8575[8] = this.aFloat5781; - Class288_Sub1.aFloatArray8575[14] = this.aFloat5751; - Class288_Sub1.aFloatArray8575[13] = this.aFloat5772; - Class288_Sub1.aFloatArray8575[2] = this.aFloat5756; - Class288_Sub1.aFloatArray8575[5] = this.aFloat5769; - return Class288_Sub1.aFloatArray8575; - } - - final Class101 method907() { - anInt5748++; - Class101_Sub3 class101_sub3_47_ = new Class101_Sub3(); - class101_sub3_47_.aFloat5747 = this.aFloat5747; - class101_sub3_47_.aFloat5750 = this.aFloat5750; - class101_sub3_47_.aFloat5769 = this.aFloat5769; - class101_sub3_47_.aFloat5784 = this.aFloat5784; - class101_sub3_47_.aFloat5772 = this.aFloat5772; - class101_sub3_47_.aFloat5762 = this.aFloat5762; - class101_sub3_47_.aFloat5781 = this.aFloat5781; - class101_sub3_47_.aFloat5770 = this.aFloat5770; - class101_sub3_47_.aFloat5756 = this.aFloat5756; - class101_sub3_47_.aFloat5761 = this.aFloat5761; - class101_sub3_47_.aFloat5751 = this.aFloat5751; - class101_sub3_47_.aFloat5754 = this.aFloat5754; - return class101_sub3_47_; - } - - static final void method941(int i, int i_48_) { - Class77.anInt1290 = i_48_; - anInt5755++; - if (i <= 113) aClass326_5764 = null; - } - - final void method942(int i) { - this.aFloat5754 = -this.aFloat5754; - anInt5760++; - this.aFloat5761 = -this.aFloat5761; - if (i == 3128) { - this.aFloat5769 = -this.aFloat5769; - this.aFloat5756 = -this.aFloat5756; - this.aFloat5784 = -this.aFloat5784; - this.aFloat5762 = -this.aFloat5762; - this.aFloat5772 = -this.aFloat5772; - this.aFloat5751 = -this.aFloat5751; - } - } - - final void method892(int i, int i_49_, int i_50_, int[] is) { - i_49_ -= this.aFloat5772; - anInt5773++; - i_50_ -= this.aFloat5751; - i -= this.aFloat5747; - is[0] = (int) (this.aFloat5756 * (float) i_50_ + ((float) i * this.aFloat5770 + (float) i_49_ * this.aFloat5761)); - is[2] = (int) (this.aFloat5781 * (float) i + (float) i_49_ * this.aFloat5762 + this.aFloat5784 * (float) i_50_); - is[1] = (int) ((float) i_50_ * this.aFloat5754 + (this.aFloat5750 * (float) i + (float) i_49_ * this.aFloat5769)); - } - - static final Class348_Sub16_Sub3 method943(boolean bool) { - anInt5776++; - if (bool != false) method943(true); - return Class98.aClass348_Sub16_Sub3_1564; - } - - final void method898(Class101 class101) { - anInt5758++; - Class101_Sub3 class101_sub3_51_ = (Class101_Sub3) class101; - this.aFloat5751 = class101_sub3_51_.aFloat5751; - this.aFloat5769 = class101_sub3_51_.aFloat5769; - this.aFloat5770 = class101_sub3_51_.aFloat5770; - this.aFloat5781 = class101_sub3_51_.aFloat5781; - this.aFloat5747 = class101_sub3_51_.aFloat5747; - this.aFloat5754 = class101_sub3_51_.aFloat5754; - this.aFloat5761 = class101_sub3_51_.aFloat5761; - this.aFloat5772 = class101_sub3_51_.aFloat5772; - this.aFloat5784 = class101_sub3_51_.aFloat5784; - this.aFloat5762 = class101_sub3_51_.aFloat5762; - this.aFloat5756 = class101_sub3_51_.aFloat5756; - this.aFloat5750 = class101_sub3_51_.aFloat5750; - } - - final void method895(int i) { - anInt5780++; - this.aFloat5769 = 1.0F; - this.aFloat5770 = this.aFloat5784 = Class348_Sub23.aFloatArray6867[0x3fff & i]; - this.aFloat5781 = Class348_Sub23.aFloatArray6865[0x3fff & i]; - this.aFloat5756 = -this.aFloat5781; - this.aFloat5750 = this.aFloat5747 = this.aFloat5761 = this.aFloat5762 = this.aFloat5772 = this.aFloat5754 = this.aFloat5751 = 0.0F; - } - - final void method899(int i) { - anInt5757++; - this.aFloat5770 = 1.0F; - this.aFloat5769 = this.aFloat5784 = Class348_Sub23.aFloatArray6867[0x3fff & i]; - this.aFloat5754 = Class348_Sub23.aFloatArray6865[0x3fff & i]; - this.aFloat5762 = -this.aFloat5754; - this.aFloat5750 = this.aFloat5781 = this.aFloat5747 = this.aFloat5761 = this.aFloat5772 = this.aFloat5756 = this.aFloat5751 = 0.0F; - } - - static final void method944(int i, byte[][] is, Class237_Sub1 class237_sub1) { - try { - if (i != -8212) method944(65, null, null); - anInt5752++; - for (int i_52_ = 0; i_52_ < class237_sub1.anInt3130; i_52_++) { - Class369_Sub1.method3570(false); - for (int i_53_ = 0; (i_53_ < Class367_Sub4.anInt7319 >> 3); i_53_++) { - for (int i_54_ = 0; (Class348_Sub40_Sub3.anInt9109 >> 3 > i_54_); i_54_++) { - int i_55_ = (Class62.anIntArrayArrayArray1116[i_52_][i_53_][i_54_]); - if (i_55_ != -1) { - int i_56_ = 0x3 & i_55_ >> 24; - if (!class237_sub1.aBoolean3109 || i_56_ == 0) { - int i_57_ = (0x6 & i_55_) >> 1; - int i_58_ = i_55_ >> 14 & 0x3ff; - int i_59_ = (0x3ff9 & i_55_) >> 3; - int i_60_ = i_59_ / 8 + (i_58_ / 8 << 8); - for (int i_61_ = 0; i_61_ < Class348_Sub23_Sub3.anIntArray9042.length; i_61_++) { - if (i_60_ == (Class348_Sub23_Sub3.anIntArray9042[i_61_]) && is[i_61_] != null) { - class237_sub1.method1692((i_58_ & 0x7) * 8, i_57_, is[i_61_], i_56_, (i_59_ & 0x7) * 8, Class348_Sub8.aHa6654, 8 * i_54_, 8 * i_53_, i + 8219, Class348_Sub45.aClass361Array7108, i_52_); - break; - } - } - } - } - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("iaa.W(" + i + ',' + (is != null ? "{...}" : "null") + ',' + (class237_sub1 != null ? "{...}" : "null") + ')')); - } - } - - final void method910() { - anInt5759++; - this.aFloat5770 = this.aFloat5769 = this.aFloat5784 = 1.0F; - this.aFloat5761 = this.aFloat5756 = this.aFloat5750 = this.aFloat5754 = this.aFloat5781 = this.aFloat5762 = this.aFloat5747 = this.aFloat5772 = this.aFloat5751 = 0.0F; - } - - final void method896(int i) { - anInt5766++; - float f = Class348_Sub23.aFloatArray6867[i & 0x3fff]; - float f_62_ = Class348_Sub23.aFloatArray6865[i & 0x3fff]; - float f_63_ = this.aFloat5770; - float f_64_ = this.aFloat5750; - float f_65_ = this.aFloat5781; - this.aFloat5770 = f_63_ * f + this.aFloat5756 * f_62_; - float f_66_ = this.aFloat5747; - this.aFloat5756 = f * this.aFloat5756 - f_62_ * f_63_; - this.aFloat5750 = f * f_64_ + f_62_ * this.aFloat5754; - this.aFloat5754 = -(f_64_ * f_62_) + this.aFloat5754 * f; - this.aFloat5781 = f * f_65_ + this.aFloat5784 * f_62_; - this.aFloat5784 = -(f_65_ * f_62_) + f * this.aFloat5784; - this.aFloat5747 = this.aFloat5751 * f_62_ + f * f_66_; - this.aFloat5751 = this.aFloat5751 * f - f_62_ * f_66_; - } - - final float[] method945(boolean bool) { - if (bool != true) this.aFloat5756 = 0.66213727F; - Class288_Sub1.aFloatArray8575[14] = 0.0F; - Class288_Sub1.aFloatArray8575[0] = this.aFloat5770; - Class288_Sub1.aFloatArray8575[13] = 0.0F; - Class288_Sub1.aFloatArray8575[1] = this.aFloat5761; - Class288_Sub1.aFloatArray8575[12] = 0.0F; - Class288_Sub1.aFloatArray8575[10] = this.aFloat5784; - Class288_Sub1.aFloatArray8575[5] = this.aFloat5769; - Class288_Sub1.aFloatArray8575[6] = this.aFloat5754; - Class288_Sub1.aFloatArray8575[9] = this.aFloat5762; - anInt5778++; - Class288_Sub1.aFloatArray8575[2] = this.aFloat5756; - Class288_Sub1.aFloatArray8575[4] = this.aFloat5750; - Class288_Sub1.aFloatArray8575[8] = this.aFloat5781; - return Class288_Sub1.aFloatArray8575; - } - - final void method946(Class101 class101, int i) { - anInt5771++; - Class101_Sub3 class101_sub3_67_ = (Class101_Sub3) class101; - this.aFloat5781 = class101_sub3_67_.aFloat5756; - if (i != -7929) method899(52); - this.aFloat5750 = class101_sub3_67_.aFloat5761; - this.aFloat5770 = class101_sub3_67_.aFloat5770; - this.aFloat5756 = class101_sub3_67_.aFloat5781; - this.aFloat5762 = class101_sub3_67_.aFloat5754; - this.aFloat5761 = class101_sub3_67_.aFloat5750; - this.aFloat5769 = class101_sub3_67_.aFloat5769; - this.aFloat5747 = -((class101_sub3_67_.aFloat5772 * this.aFloat5750) + (class101_sub3_67_.aFloat5747 * this.aFloat5770) + (class101_sub3_67_.aFloat5751 * this.aFloat5781)); - this.aFloat5754 = class101_sub3_67_.aFloat5762; - this.aFloat5784 = class101_sub3_67_.aFloat5784; - this.aFloat5772 = -((class101_sub3_67_.aFloat5772 * this.aFloat5769) + (class101_sub3_67_.aFloat5747 * this.aFloat5761) + (class101_sub3_67_.aFloat5751 * this.aFloat5762)); - this.aFloat5751 = -((this.aFloat5756 * class101_sub3_67_.aFloat5747) + (this.aFloat5754 * class101_sub3_67_.aFloat5772) + (class101_sub3_67_.aFloat5751 * this.aFloat5784)); - } - - static final void method947(byte i) { - anInt5783++; - if (i != 41) anInt5768 = 38; - for (Class348_Sub9 class348_sub9 = (Class348_Sub9) Class218.aClass262_2859.method1995(4); class348_sub9 != null; class348_sub9 = (Class348_Sub9) Class218.aClass262_2859.method1990((byte) 117)) { - if (class348_sub9.aBoolean6684) class348_sub9.method2781((byte) 21); - } - for (Class348_Sub9 class348_sub9 = (Class348_Sub9) client.aClass262_5185.method1995(4); class348_sub9 != null; class348_sub9 = ((Class348_Sub9) client.aClass262_5185.method1990((byte) 39))) { - if (class348_sub9.aBoolean6684) class348_sub9.method2781((byte) 21); - } - } - - public Class101_Sub3() { - method910(); - } - - final void method905(int i, int i_68_, int i_69_, int[] is) { - anInt5753++; - is[1] = (int) ((float) i_69_ * this.aFloat5762 + ((float) i_68_ * this.aFloat5769 + this.aFloat5761 * (float) i)); - is[2] = (int) (this.aFloat5754 * (float) i_68_ + this.aFloat5756 * (float) i + (float) i_69_ * this.aFloat5784); - is[0] = (int) (this.aFloat5750 * (float) i_68_ + this.aFloat5770 * (float) i + this.aFloat5781 * (float) i_69_); - } -} diff --git a/client/src/Class102.java b/client/src/Class102.java deleted file mode 100644 index 8921b6448..000000000 --- a/client/src/Class102.java +++ /dev/null @@ -1,17 +0,0 @@ -/* Class102 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class102 { - int anInt1600 = -1; - short aShort1601; - short aShort1602; - short aShort1603; - short aShort1604; - short aShort1605; - byte aByte1606; - - public Class102() { - /* empty */ - } -} diff --git a/client/src/Class103.java b/client/src/Class103.java deleted file mode 100644 index 961d1c5e6..000000000 --- a/client/src/Class103.java +++ /dev/null @@ -1,48 +0,0 @@ -/* Class103 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class103 { - static Class345 aClass345_1607 = Class59_Sub1_Sub1.method558(96); - static int anInt1608; - static int anInt1609; - - public static void method948(boolean bool) { - aClass345_1607 = null; - if (bool != false) aClass345_1607 = null; - } - - static final boolean method949(int i, int i_0_, int i_1_, byte i_2_, int i_3_, int i_4_) { - if (i_2_ < 117) aClass345_1607 = null; - anInt1609++; - for (int i_5_ = i_3_; i_0_ >= i_5_; i_5_++) { - for (int i_6_ = i; i_4_ >= i_6_; i_6_++) { - if ((Class348_Sub42_Sub17.anIntArrayArray9678[i_5_][i_6_] == i_1_) && Class239_Sub8.anIntArrayArray5921[i_5_][i_6_] <= 1) return true; - } - } - return false; - } - - static final void method950(int i, int i_7_, int i_8_, boolean bool, byte i_9_, int i_10_, boolean bool_11_) { - int i_12_ = 73 % ((i_9_ - -31) / 40); - if (i_8_ > i_7_) { - int i_13_ = (i_8_ + i_7_) / 2; - int i_14_ = i_7_; - Class110_Sub1 class110_sub1 = Class65.aClass110_Sub1Array1146[i_13_]; - Class65.aClass110_Sub1Array1146[i_13_] = Class65.aClass110_Sub1Array1146[i_8_]; - Class65.aClass110_Sub1Array1146[i_8_] = class110_sub1; - for (int i_15_ = i_7_; i_15_ < i_8_; i_15_++) { - if (Class50_Sub4.method473((byte) -122, i_10_, class110_sub1, i, bool_11_, bool, (Class65.aClass110_Sub1Array1146[i_15_])) <= 0) { - Class110_Sub1 class110_sub1_16_ = Class65.aClass110_Sub1Array1146[i_15_]; - Class65.aClass110_Sub1Array1146[i_15_] = Class65.aClass110_Sub1Array1146[i_14_]; - Class65.aClass110_Sub1Array1146[i_14_++] = class110_sub1_16_; - } - } - Class65.aClass110_Sub1Array1146[i_8_] = Class65.aClass110_Sub1Array1146[i_14_]; - Class65.aClass110_Sub1Array1146[i_14_] = class110_sub1; - method950(i, i_7_, i_14_ + -1, bool, (byte) 114, i_10_, bool_11_); - method950(i, i_14_ - -1, i_8_, bool, (byte) 50, i_10_, bool_11_); - } - anInt1608++; - } -} diff --git a/client/src/Class104.java b/client/src/Class104.java deleted file mode 100644 index bb7b010b2..000000000 --- a/client/src/Class104.java +++ /dev/null @@ -1,318 +0,0 @@ -/* Class104 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -import java.awt.*; - -final class Class104 { - static int anInt1610; - static int anInt1611; - private final int anInt1612; - private final int anInt1613; - static int anInt1614; - static int anInt1615; - private final ha_Sub2 aHa_Sub2_1616; - byte[] aByteArray1617; - private final int anInt1618; - static int anInt1619; - static Class221 aClass221_1620 = new Class221(); - static int anInt1621; - private final s_Sub2 aS_Sub2_1622; - private Class232[][] aClass232ArrayArray1623; - int anInt1624; - private final int anInt1625; - static int[] anIntArray1626 = new int[1]; - static Class45 aClass45_1627; - static int anInt1628; - static int anInt1629; - static int anInt1630; - - final void method951(r var_r, int i, int i_0_, int i_1_) { - anInt1619++; - r_Sub2 var_r_Sub2 = (r_Sub2) var_r; - i += var_r_Sub2.anInt10489 - -1; - i_0_ += var_r_Sub2.anInt10484 + 1; - int i_2_ = this.anInt1624 * i_0_ + i; - int i_3_ = 0; - int i_4_ = var_r_Sub2.anInt10487; - int i_5_ = var_r_Sub2.anInt10482; - int i_6_ = this.anInt1624 - i_5_; - int i_7_ = 0; - if (i_0_ <= 0) { - int i_8_ = -i_0_ + 1; - i_3_ += i_8_ * i_5_; - i_4_ -= i_8_; - i_0_ = 1; - i_2_ += i_8_ * this.anInt1624; - } - if (anInt1612 <= i_0_ + i_4_) { - int i_9_ = 1 + (i_4_ + i_0_ + -anInt1612); - i_4_ -= i_9_; - } - if (i <= 0) { - int i_10_ = 1 - i; - i_5_ -= i_10_; - i_2_ += i_10_; - i = 1; - i_6_ += i_10_; - i_7_ += i_10_; - i_3_ += i_10_; - } - if (i_5_ + i >= this.anInt1624) { - int i_11_ = 1 + (i - -i_5_ + -this.anInt1624); - i_7_ += i_11_; - i_6_ += i_11_; - i_5_ -= i_11_; - } - int i_12_ = 101 / ((-30 - i_1_) / 62); - if (i_5_ > 0 && i_4_ > 0) { - Class248.method1895(i_3_, this.aByteArray1617, i_4_, i_2_, i_6_, i_7_, var_r_Sub2.aByteArray10486, i_5_, (byte) 121); - method952(i_4_, i_5_, i, -1, i_0_); - } - } - - private final void method952(int i, int i_13_, int i_14_, int i_15_, int i_16_) { - anInt1629++; - if (aClass232ArrayArray1623 != null) { - int i_17_ = i_14_ + -1 >> 7; - int i_18_ = -1 + i_14_ - 1 - -i_13_ >> 7; - int i_19_ = i_15_ + i_16_ >> 7; - int i_20_ = -1 + i + i_16_ - 1 >> 7; - for (int i_21_ = i_17_; i_18_ >= i_21_; i_21_++) { - Class232[] class232s = aClass232ArrayArray1623[i_21_]; - for (int i_22_ = i_19_; i_22_ <= i_20_; i_22_++) - class232s[i_22_].aBoolean3009 = true; - } - } - } - - public static void method953(byte i) { - anIntArray1626 = null; - aClass45_1627 = null; - aClass221_1620 = null; - if (i != 9) aClass221_1620 = null; - } - - final boolean method954(int i, byte i_23_, int i_24_, r var_r) { - anInt1630++; - r_Sub2 var_r_Sub2 = (r_Sub2) var_r; - i_24_ += 1 + var_r_Sub2.anInt10484; - if (i_23_ != 88) aClass232ArrayArray1623 = null; - i += 1 + var_r_Sub2.anInt10489; - int i_25_ = i_24_ * this.anInt1624 + i; - int i_26_ = var_r_Sub2.anInt10487; - int i_27_ = var_r_Sub2.anInt10482; - int i_28_ = -i_27_ + this.anInt1624; - if (i_24_ <= 0) { - int i_29_ = -i_24_ + 1; - i_26_ -= i_29_; - i_24_ = 1; - i_25_ += this.anInt1624 * i_29_; - } - if (i_26_ + i_24_ >= anInt1612) { - int i_30_ = -anInt1612 + (1 + (i_24_ + i_26_)); - i_26_ -= i_30_; - } - if (i <= 0) { - int i_31_ = -i + 1; - i_27_ -= i_31_; - i_25_ += i_31_; - i_28_ += i_31_; - i = 1; - } - if (this.anInt1624 <= i - -i_27_) { - int i_32_ = -this.anInt1624 + 1 + (i + i_27_); - i_27_ -= i_32_; - i_28_ += i_32_; - } - if (i_27_ <= 0 || i_26_ <= 0) return false; - int i_33_ = 8; - i_28_ += (-1 + i_33_) * this.anInt1624; - return Class59_Sub1.method552(i_28_, i_26_, (byte) 112, i_33_, i_27_, i_25_, this.aByteArray1617); - } - - static final boolean method955(int i, int i_34_) { - if (i != 22311) aClass221_1620 = null; - anInt1615++; - return i_34_ >= 4 && i_34_ <= 8; - } - - final void method956(boolean bool, int i, boolean[][] bools, int i_35_, int i_36_, int i_37_) { - aHa_Sub2_1616.method3728(false, 114); - int i_38_ = 80 / ((i - 15) / 60); - anInt1614++; - aHa_Sub2_1616.method3748(0, false); - aHa_Sub2_1616.method3757(-2, -119); - aHa_Sub2_1616.method3761(0, 1); - aHa_Sub2_1616.method3753(1, 1); - float f = 1.0F / (float) (aHa_Sub2_1616.anInt7733 * 128); - if (bool) { - for (int i_51_ = 0; i_51_ < anInt1625; i_51_++) { - int i_52_ = i_51_ << anInt1613; - int i_53_ = 1 + i_51_ << anInt1613; - for (int i_54_ = 0; i_54_ < anInt1618; i_54_++) { - int i_55_ = i_54_ << anInt1613; - int i_56_ = 1 + i_54_ << anInt1613; - while_43_: - for (int i_57_ = i_55_; i_56_ > i_57_; i_57_++) { - if (-i_35_ <= i_57_ + -i_37_ && i_35_ >= -i_37_ + i_57_) { - for (int i_58_ = i_52_; i_53_ > i_58_; i_58_++) { - if (-i_35_ <= -i_36_ + i_58_ && -i_36_ + i_58_ <= i_35_ && (bools[i_35_ + i_57_ - i_37_][i_35_ + i_58_ + -i_36_])) { - OpenGL.glMatrixMode(5890); - OpenGL.glLoadIdentity(); - OpenGL.glScalef(f, f, 1.0F); - OpenGL.glTranslatef((float) -i_54_ / f, (float) -i_51_ / f, 1.0F); - OpenGL.glMatrixMode(5888); - aClass232ArrayArray1623[i_54_][i_51_].method1644((byte) -121); - break while_43_; - } - } - } - } - } - } - } else { - for (int i_39_ = 0; anInt1625 > i_39_; i_39_++) { - int i_40_ = i_39_ << anInt1613; - int i_41_ = i_39_ + 1 << anInt1613; - for (int i_42_ = 0; anInt1618 > i_42_; i_42_++) { - int i_43_ = 0; - int i_44_ = i_42_ << anInt1613; - int i_45_ = 1 + i_42_ << anInt1613; - Class348_Sub49_Sub1 class348_sub49_sub1 = aHa_Sub2_1616.aClass348_Sub49_Sub1_7798; - class348_sub49_sub1.anInt7197 = 0; - for (int i_46_ = i_40_; i_41_ > i_46_; i_46_++) { - if (-i_35_ <= -i_36_ + i_46_ && -i_36_ + i_46_ <= i_35_) { - int i_47_ = i_44_ + i_46_ * aS_Sub2_1622.anInt4587; - for (int i_48_ = i_44_; i_45_ > i_48_; i_48_++) { - if ((-i_35_ <= -i_37_ + i_48_) && -i_37_ + i_48_ <= i_35_ && (bools[i_35_ + i_48_ - i_37_][i_35_ + i_46_ + -i_36_])) { - short[] is = (aS_Sub2_1622.aShortArrayArray8267[i_47_]); - if (is != null) { - if (aHa_Sub2_1616.aBoolean7775) { - for (int i_50_ = 0; (i_50_ < is.length); i_50_++) { - i_43_++; - class348_sub49_sub1.writeShort((byte) 107, 0xffff & is[i_50_]); - } - } else { - for (int i_49_ = 0; is.length > i_49_; i_49_++) { - class348_sub49_sub1.method3397(111, is[i_49_] & 0xffff); - i_43_++; - } - } - } - } - i_47_++; - } - } - } - if (i_43_ > 0) { - OpenGL.glMatrixMode(5890); - OpenGL.glLoadIdentity(); - OpenGL.glScalef(f, f, 1.0F); - OpenGL.glTranslatef((float) -i_42_ / f, (float) -i_39_ / f, 1.0F); - OpenGL.glMatrixMode(5888); - aClass232ArrayArray1623[i_42_][i_39_].method1643((class348_sub49_sub1.aByteArray7154), 5123, i_43_, (byte) 70); - } - } - } - } - OpenGL.glMatrixMode(5890); - OpenGL.glLoadIdentity(); - OpenGL.glMatrixMode(5888); - } - - final void method957(int i) { - anInt1628++; - aClass232ArrayArray1623 = new Class232[anInt1618][anInt1625]; - for (int i_59_ = i; i_59_ < anInt1625; i_59_++) { - for (int i_60_ = 0; anInt1618 > i_60_; i_60_++) - aClass232ArrayArray1623[i_60_][i_59_] = new Class232(aHa_Sub2_1616, this, aS_Sub2_1622, i_60_, i_59_, anInt1613, 1 + 128 * i_60_, 128 * i_59_ + 1); - } - } - - static final ha method958(boolean bool, int i, d var_d, int i_61_, Canvas canvas, Class45 class45) { - try { - if (bool != true) aClass221_1620 = null; - anInt1610++; - int i_62_ = 0; - int i_63_ = 0; - if (canvas != null) { - Dimension dimension = canvas.getSize(); - i_63_ = dimension.height; - i_62_ = dimension.width; - } - return ha.method3692(i_61_, i_63_, i_62_, class45, 0, var_d, canvas, i); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("mha.E(" + bool + ',' + i + ',' + (var_d != null ? "{...}" : "null") + ',' + i_61_ + ',' + (canvas != null ? "{...}" : "null") + ',' + (class45 != null ? "{...}" : "null") + ')')); - } - } - - final void method959(int i, int i_64_, byte i_65_, r var_r) { - anInt1621++; - r_Sub2 var_r_Sub2 = (r_Sub2) var_r; - i_64_ += 1 + var_r_Sub2.anInt10484; - i += 1 + var_r_Sub2.anInt10489; - int i_66_ = this.anInt1624 * i_64_ + i; - int i_67_ = 0; - int i_68_ = var_r_Sub2.anInt10487; - int i_69_ = var_r_Sub2.anInt10482; - if (i_65_ < 67) method957(-40); - int i_70_ = this.anInt1624 - i_69_; - if (i_64_ <= 0) { - int i_71_ = -i_64_ + 1; - i_67_ += i_69_ * i_71_; - i_68_ -= i_71_; - i_64_ = 1; - i_66_ += i_71_ * this.anInt1624; - } - int i_72_ = 0; - if (i_64_ - -i_68_ >= anInt1612) { - int i_73_ = -anInt1612 + (1 + i_64_) - -i_68_; - i_68_ -= i_73_; - } - if (i <= 0) { - int i_74_ = -i + 1; - i_69_ -= i_74_; - i_66_ += i_74_; - i = 1; - i_72_ += i_74_; - i_67_ += i_74_; - i_70_ += i_74_; - } - if (this.anInt1624 <= i_69_ + i) { - int i_75_ = -this.anInt1624 + (1 + (i_69_ + i)); - i_72_ += i_75_; - i_69_ -= i_75_; - i_70_ += i_75_; - } - if (i_69_ > 0 && i_68_ > 0) { - Class22.method295(i_72_, i_67_, 256, var_r_Sub2.aByteArray10486, i_69_, this.aByteArray1617, i_68_, i_66_, i_70_); - method952(i_68_, i_69_, i, -1, i_64_); - } - } - - static final void method960(int i) { - Class98.aClass348_Sub16_Sub3_1564.method2877(-128); - anInt1611++; - Class285.aClass348_Sub16_Sub3_4743 = null; - Class348_Sub43.anInt7068 = i; - Class124.aClass45_1848 = null; - } - - Class104(ha_Sub2 var_ha_Sub2, s_Sub2 var_s_Sub2) { - try { - aHa_Sub2_1616 = var_ha_Sub2; - aS_Sub2_1622 = var_s_Sub2; - this.anInt1624 = (aS_Sub2_1622.anInt4592 * aS_Sub2_1622.anInt4587 >> aHa_Sub2_1616.anInt7731) + 2; - anInt1612 = (aS_Sub2_1622.anInt4592 * aS_Sub2_1622.anInt4590 >> aHa_Sub2_1616.anInt7731) + 2; - anInt1613 = (-aS_Sub2_1622.anInt4588 + (7 + aHa_Sub2_1616.anInt7731)); - this.aByteArray1617 = new byte[this.anInt1624 * anInt1612]; - anInt1618 = aS_Sub2_1622.anInt4587 >> anInt1613; - anInt1625 = aS_Sub2_1622.anInt4590 >> anInt1613; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("mha.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + (var_s_Sub2 != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class105.java b/client/src/Class105.java deleted file mode 100644 index 5e9e6f26b..000000000 --- a/client/src/Class105.java +++ /dev/null @@ -1,103 +0,0 @@ -/* Class105 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class105 implements Interface3 { - private final void method961(float f, float f_0_, float f_1_, float f_2_, int i, int i_3_, int i_4_, int i_5_, int i_6_) { - if (i != 0) { - double d = (double) (i_3_ & 0xffff) * 9.587379924285257E-5; - float f_7_ = (float) Math.sin(d) * (float) i; - float f_8_ = (float) Math.cos(d) * (float) i; - float f_9_ = (-f_1_ * f_8_ + -f_2_ * f_7_) / 4096.0F + f; - float f_10_ = (f_1_ * f_7_ + -f_2_ * f_8_) / 4096.0F + f_0_; - float f_11_ = ((((float) method966() - f_1_) * f_8_ + -f_2_ * f_7_) / 4096.0F + f); - float f_12_ = ((-((float) method966() - f_1_) * f_7_ + -f_2_ * f_8_) / 4096.0F + f_0_); - float f_13_ = ((-f_1_ * f_8_ + ((float) method980() - f_2_) * f_7_) / 4096.0F + f); - float f_14_ = (((f_1_ * f_7_ + ((float) method980() - f_2_) * f_8_) / 4096.0F) + f_0_); - method978(f_9_, f_10_, f_11_, f_12_, f_13_, f_14_, i_4_, i_5_, i_6_); - } - } - - abstract void method962(float f, float f_15_, float f_16_, float f_17_, float f_18_, float f_19_, int i, int i_20_, int i_21_, int i_22_); - - abstract void method963(int i, int i_23_, aa var_aa, int i_24_, int i_25_); - - abstract void method964(int i, int i_26_, int i_27_, int i_28_, int i_29_); - - abstract void method965(int i, int i_30_, int i_31_, int i_32_, int i_33_, int i_34_, int i_35_); - - abstract int method966(); - - final void method967(float f, float f_36_, float f_37_, float f_38_, int i, int i_39_, aa var_aa, int i_40_, int i_41_) { - if (i != 0) { - double d = (double) (i_39_ & 0xffff) * 9.587379924285257E-5; - float f_42_ = (float) Math.sin(d) * (float) i; - float f_43_ = (float) Math.cos(d) * (float) i; - float f_44_ = (-f_37_ * f_43_ + -f_38_ * f_42_) / 4096.0F + f; - float f_45_ = (f_37_ * f_42_ + -f_38_ * f_43_) / 4096.0F + f_36_; - float f_46_ = ((((float) method966() - f_37_) * f_43_ + -f_38_ * f_42_) / 4096.0F + f); - float f_47_ = ((-((float) method966() - f_37_) * f_42_ + -f_38_ * f_43_) / 4096.0F + f_36_); - float f_48_ = ((-f_37_ * f_43_ + ((float) method980() - f_38_) * f_42_) / 4096.0F + f); - float f_49_ = ((f_37_ * f_42_ + ((float) method980() - f_38_) * f_43_) / 4096.0F + f_36_); - method975(f_44_, f_45_, f_46_, f_47_, f_48_, f_49_, var_aa, i_40_, i_41_); - } - } - - abstract void method968(int i, int i_50_, int i_51_); - - abstract int method969(); - - final void method970(int i, int i_52_, int i_53_, int i_54_, int i_55_, int i_56_, int i_57_) { - method982(i, i_52_, i_53_, i_54_, i_55_, i_56_, i_57_, 1); - } - - abstract int method971(); - - final void method972(int i, int i_58_, int i_59_, int i_60_) { - method965(i, i_58_, i_59_, i_60_, 1, 0, 1); - } - - final void method973(int i, int i_61_, int i_62_, int i_63_) { - method982(i, i_61_, i_62_, i_63_, 1, 0, 1, 1); - } - - final void method974(int i, int i_64_) { - method964(i, i_64_, 1, 0, 1); - } - - private final void method975(float f, float f_65_, float f_66_, float f_67_, float f_68_, float f_69_, aa var_aa, int i, int i_70_) { - method983(f, f_65_, f_66_, f_67_, f_68_, f_69_, 1, var_aa, i, i_70_); - } - - final void method976(float f, float f_71_, int i, int i_72_, aa var_aa, int i_73_, int i_74_) { - method967(f, f_71_, (float) method966() / 2.0F, (float) method980() / 2.0F, i, i_72_, var_aa, i_73_, i_74_); - } - - final void method977(float f, float f_75_, int i, int i_76_, int i_77_, int i_78_, int i_79_) { - method961(f, f_75_, (float) method966() / 2.0F, (float) method980() / 2.0F, i, i_76_, i_77_, i_78_, i_79_); - } - - private final void method978(float f, float f_80_, float f_81_, float f_82_, float f_83_, float f_84_, int i, int i_85_, int i_86_) { - method962(f, f_80_, f_81_, f_82_, f_83_, f_84_, i, i_85_, i_86_, 1); - } - - abstract void method979(int i, int i_87_, int i_88_, int i_89_, int i_90_, int i_91_); - - abstract int method980(); - - final void method981(float f, float f_92_, int i, int i_93_) { - method961(f, f_92_, (float) method966() / 2.0F, (float) method980() / 2.0F, i, i_93_, 1, 0, 1); - } - - abstract void method982(int i, int i_94_, int i_95_, int i_96_, int i_97_, int i_98_, int i_99_, int i_100_); - - abstract void method983(float f, float f_101_, float f_102_, float f_103_, float f_104_, float f_105_, int i, aa var_aa, int i_106_, int i_107_); - - abstract void method984(int[] is); - - public Class105() { - /* empty */ - } - - abstract void method985(int i, int i_108_, int i_109_, int i_110_); -} diff --git a/client/src/Class105_Sub1.java b/client/src/Class105_Sub1.java deleted file mode 100644 index 1b5e98b95..000000000 --- a/client/src/Class105_Sub1.java +++ /dev/null @@ -1,489 +0,0 @@ -/* Class105_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class105_Sub1 extends Class105 { - static int anInt8390; - private final boolean aBoolean8391; - static int anInt8392; - static int anInt8393; - static int anInt8394; - static int anInt8395; - private final boolean aBoolean8396; - private int anInt8397 = 0; - static int anInt8398 = 0; - static int anInt8399; - private int anInt8400; - static int anInt8401; - static int anInt8402; - private final Interface18_Impl3 anInterface18_Impl3_8403; - static int anInt8404; - static int anInt8405; - static int anInt8406; - private final ha_Sub3 aHa_Sub3_8407; - private final boolean aBoolean8408; - static int anInt8409; - private final boolean aBoolean8410; - private final int anInt8411; - static int anInt8412; - static int anInt8413; - static int anInt8414; - static int anInt8415; - private int anInt8416 = 0; - private final int anInt8417; - private boolean aBoolean8418; - private int anInt8419 = 0; - static int anInt8420; - static int anInt8421; - static int anInt8422; - static int anInt8423; - - final int method980() { - anInt8402++; - return anInt8417 + (anInt8419 + anInt8397); - } - - final void method985(int i, int i_0_, int i_1_, int i_2_) { - anInt8413++; - anInt8419 = i_0_; - anInt8397 = i_2_; - anInt8400 = i; - anInt8416 = i_1_; - aBoolean8418 = (anInt8400 != 0 || anInt8419 != 0 || anInt8416 != 0 || anInt8397 != 0); - } - - private final void method986(int i, int i_3_, int i_4_, int i_5_, int[] is, int i_6_, int i_7_) { - anInt8394++; - anInterface18_Impl3_8403.method68(i_7_, 22809, is, i, i_6_, i_4_, i_3_, i_5_); - } - - static final Class369_Sub2 method987(int i, Class348_Sub49 class348_sub49) { - anInt8405++; - Class369 class369 = Class348_Sub16_Sub2.method2834((byte) -118, class348_sub49); - if (i != 743571200) method989(-21, 36, 81); - int i_8_ = class348_sub49.readInt((byte) -126); - int i_9_ = class348_sub49.readInt((byte) -126); - return new Class369_Sub2(class369.aClass221_4968, class369.aClass341_4973, class369.anInt4970, class369.anInt4959, class369.anInt4971, class369.anInt4963, class369.anInt4966, class369.anInt4965, class369.anInt4961, i_8_, i_9_); - } - - final int method966() { - anInt8399++; - return anInt8416 + anInt8400 + anInt8411; - } - - final int method969() { - anInt8404++; - return anInt8417; - } - - static final Class361 method988(int i, int i_10_, int i_11_) { - anInt8415++; - Class361 class361 = new Class361(); - class361.anInt4437 = 6 + i_11_; - class361.anInt4453 = -1; - class361.anInt4443 = 5 + (i - -1); - if (i_10_ != 1) return null; - class361.anInt4441 = -1; - class361.anIntArrayArray4438 = (new int[class361.anInt4437] - [class361.anInt4443]); - class361.method3500(700); - return class361; - } - - final void method962(float f, float f_12_, float f_13_, float f_14_, float f_15_, float f_16_, int i, int i_17_, int i_18_, int i_19_) { - anInt8393++; - Class101_Sub2 class101_sub2 = aHa_Sub3_8407.method3934(-114); - Class101_Sub2 class101_sub2_20_ = aHa_Sub3_8407.method3820(false); - anInterface18_Impl3_8403.method64(((aBoolean8410 || aBoolean8408 || ((0x1 & i_19_) == 0)) ? Class206.aClass209_4874 : Class71.aClass209_1212), -22095); - aHa_Sub3_8407.method3864(-5); - aHa_Sub3_8407.method3850((byte) 78, anInterface18_Impl3_8403); - aHa_Sub3_8407.method3817(81, i_18_); - aHa_Sub3_8407.method3923(true, i); - aHa_Sub3_8407.method3849((byte) 47, 1, Class348_Sub40_Sub39.aClass70_9485); - aHa_Sub3_8407.method3885(1, true, Class348_Sub40_Sub39.aClass70_9485); - aHa_Sub3_8407.method3894(-28186, i_17_); - if (aBoolean8418) { - float f_21_ = (float) method966(); - float f_22_ = (float) method980(); - float f_23_ = (-f + f_13_) / f_21_; - float f_24_ = (-f_12_ + f_14_) / f_21_; - float f_25_ = (f_15_ - f) / f_22_; - float f_26_ = (f_16_ - f_12_) / f_22_; - float f_27_ = (float) anInt8419 * f_25_; - float f_28_ = (float) anInt8419 * f_26_; - float f_29_ = f_23_ * (float) anInt8400; - float f_30_ = f_24_ * (float) anInt8400; - float f_31_ = -f_23_ * (float) anInt8416; - float f_32_ = -f_24_ * (float) anInt8416; - float f_33_ = -f_25_ * (float) anInt8397; - float f_34_ = (float) anInt8397 * -f_26_; - f = f_27_ + (f + f_29_); - f_15_ = f_29_ + f_15_ + f_33_; - f_14_ = f_14_ + f_32_ + f_28_; - f_13_ = f_27_ + (f_13_ + f_31_); - f_12_ = f_28_ + (f_12_ + f_30_); - f_16_ = f_16_ + f_30_ + f_34_; - } - class101_sub2.method935(1.0F, f_14_ - f_12_, -f + f_15_, 0.0F, 0.0F, -f_12_ + f_16_, 0.0F, 0.0F, f_13_ - f, 0); - class101_sub2.method920(f_12_, false, 0.0F, f); - class101_sub2_20_.method932(1.0F, anInterface18_Impl3_8403.method71((byte) -47, (float) anInt8417), anInterface18_Impl3_8403.method67((float) anInt8411, 123), (byte) -66); - aHa_Sub3_8407.method3853(-32, Class239_Sub18.aClass251_6030); - aHa_Sub3_8407.method3915(0); - aHa_Sub3_8407.method3933(-44); - aHa_Sub3_8407.method3879(-8629); - aHa_Sub3_8407.method3849((byte) 47, 1, Class318_Sub1_Sub2.aClass70_8737); - aHa_Sub3_8407.method3885(1, true, Class318_Sub1_Sub2.aClass70_8737); - } - - final void method965(int i, int i_35_, int i_36_, int i_37_, int i_38_, int i_39_, int i_40_) { - anInt8423++; - Class101_Sub2 class101_sub2 = aHa_Sub3_8407.method3934(-80); - Class101_Sub2 class101_sub2_41_ = aHa_Sub3_8407.method3820(false); - anInterface18_Impl3_8403.method64(Class206.aClass209_4874, -22095); - aHa_Sub3_8407.method3864(-20); - aHa_Sub3_8407.method3850((byte) -46, anInterface18_Impl3_8403); - aHa_Sub3_8407.method3817(98, i_40_); - aHa_Sub3_8407.method3923(true, i_38_); - aHa_Sub3_8407.method3849((byte) 47, 1, Class348_Sub40_Sub39.aClass70_9485); - aHa_Sub3_8407.method3885(1, true, Class348_Sub40_Sub39.aClass70_9485); - aHa_Sub3_8407.method3894(-28186, i_39_); - boolean bool = aBoolean8391 && anInt8419 == 0 && anInt8397 == 0; - boolean bool_42_ = (aBoolean8396 && anInt8400 == 0 && anInt8416 == 0); - if (bool_42_ & bool) { - class101_sub2_41_.method932(1.0F, anInterface18_Impl3_8403.method71((byte) -26, (float) i_37_), anInterface18_Impl3_8403.method67((float) i_36_, 118), (byte) -75); - class101_sub2.method932(0.0F, (float) i_37_, (float) i_36_, (byte) -83); - class101_sub2.method891(i, i_35_, 0); - aHa_Sub3_8407.method3853(-32, Class239_Sub18.aClass251_6030); - aHa_Sub3_8407.method3915(0); - aHa_Sub3_8407.method3933(-63); - } else if (bool_42_) { - int i_43_ = i_37_ + i_35_; - int i_44_ = method980(); - class101_sub2_41_.method932(1.0F, anInterface18_Impl3_8403.method71((byte) -99, (float) anInt8417), anInterface18_Impl3_8403.method67((float) i_36_, 110), (byte) -120); - aHa_Sub3_8407.method3853(-32, Class239_Sub18.aClass251_6030); - int i_45_ = anInt8419 + i_35_; - int i_46_ = i_45_ - -anInt8417; - while (i_46_ <= i_43_) { - class101_sub2.method932(0.0F, (float) anInt8417, (float) i_36_, (byte) -32); - class101_sub2.method891(i, i_45_, 0); - aHa_Sub3_8407.method3915(0); - i_46_ += i_44_; - i_45_ += i_44_; - aHa_Sub3_8407.method3933(-57); - } - if (i_43_ > i_45_) { - int i_47_ = i_43_ - i_45_; - class101_sub2_41_.method932(1.0F, anInterface18_Impl3_8403.method71((byte) -81, (float) i_47_), anInterface18_Impl3_8403.method67((float) i_36_, 127), (byte) -16); - aHa_Sub3_8407.method3853(-32, Class239_Sub18.aClass251_6030); - class101_sub2.method932(0.0F, (float) i_47_, (float) i_36_, (byte) -101); - class101_sub2.method891(i, i_45_, 0); - aHa_Sub3_8407.method3915(0); - aHa_Sub3_8407.method3933(-91); - } - } else if (bool) { - int i_61_ = i - -i_36_; - int i_62_ = method966(); - class101_sub2_41_.method932(1.0F, anInterface18_Impl3_8403.method71((byte) -121, (float) i_37_), anInterface18_Impl3_8403.method67((float) anInt8411, 77), (byte) -27); - aHa_Sub3_8407.method3853(-32, Class239_Sub18.aClass251_6030); - int i_63_ = i - -anInt8400; - for (int i_64_ = anInt8411 + i_63_; i_64_ <= i_61_; i_64_ += i_62_) { - class101_sub2.method932(0.0F, (float) i_37_, (float) anInt8411, (byte) -69); - class101_sub2.method891(i_63_, i_35_, 0); - aHa_Sub3_8407.method3915(0); - i_63_ += i_62_; - aHa_Sub3_8407.method3933(-40); - } - if (i_63_ < i_61_) { - int i_65_ = -i_63_ + i_61_; - class101_sub2_41_.method932(1.0F, anInterface18_Impl3_8403.method71((byte) -62, (float) i_37_), anInterface18_Impl3_8403.method67((float) i_65_, 119), (byte) -10); - aHa_Sub3_8407.method3853(-32, Class239_Sub18.aClass251_6030); - class101_sub2.method932(0.0F, (float) i_37_, (float) i_65_, (byte) -120); - class101_sub2.method891(i_63_, i_35_, 0); - aHa_Sub3_8407.method3915(0); - aHa_Sub3_8407.method3933(-57); - } - } else { - int i_48_ = i_37_ + i_35_; - int i_49_ = i + i_36_; - int i_50_ = method966(); - int i_51_ = method980(); - int i_52_ = anInt8419 + i_35_; - int i_53_ = i_52_ + anInt8417; - while (i_48_ >= i_53_) { - class101_sub2_41_.method932(1.0F, anInterface18_Impl3_8403.method71((byte) -89, (float) anInt8417), anInterface18_Impl3_8403.method67((float) anInt8411, 88), (byte) -16); - aHa_Sub3_8407.method3853(-32, Class239_Sub18.aClass251_6030); - int i_54_ = anInt8400 + i; - for (int i_55_ = i_54_ - -anInt8411; i_55_ <= i_49_; i_55_ += i_50_) { - class101_sub2.method932(0.0F, (float) anInt8417, (float) anInt8411, (byte) -65); - class101_sub2.method891(i_54_, i_52_, 0); - aHa_Sub3_8407.method3915(0); - i_54_ += i_50_; - aHa_Sub3_8407.method3933(-113); - } - if (i_49_ > i_54_) { - int i_56_ = -i_54_ + i_49_; - class101_sub2_41_.method932(1.0F, anInterface18_Impl3_8403.method71((byte) -82, (float) anInt8417), anInterface18_Impl3_8403.method67((float) i_56_, 86), (byte) -35); - aHa_Sub3_8407.method3853(-32, Class239_Sub18.aClass251_6030); - class101_sub2.method932(0.0F, (float) anInt8417, (float) i_56_, (byte) -26); - class101_sub2.method891(i_54_, i_52_, 0); - aHa_Sub3_8407.method3915(0); - aHa_Sub3_8407.method3933(-79); - } - i_53_ += i_51_; - i_52_ += i_51_; - } - if (i_52_ < i_48_) { - int i_57_ = i_48_ + -i_52_; - class101_sub2_41_.method932(1.0F, anInterface18_Impl3_8403.method71((byte) -121, (float) i_57_), anInterface18_Impl3_8403.method67((float) anInt8411, 102), (byte) -59); - aHa_Sub3_8407.method3853(-32, Class239_Sub18.aClass251_6030); - int i_58_ = anInt8400 + i; - int i_59_ = anInt8411 + i_58_; - while (i_49_ >= i_59_) { - class101_sub2.method932(0.0F, (float) i_57_, (float) anInt8411, (byte) -98); - class101_sub2.method891(i_58_, i_52_, 0); - aHa_Sub3_8407.method3915(0); - i_58_ += i_50_; - i_59_ += i_50_; - aHa_Sub3_8407.method3933(-69); - } - if (i_49_ > i_58_) { - int i_60_ = i_49_ - i_58_; - class101_sub2_41_.method932(1.0F, anInterface18_Impl3_8403.method71((byte) -102, (float) i_57_), anInterface18_Impl3_8403.method67((float) i_60_, 115), (byte) -90); - aHa_Sub3_8407.method3853(-32, Class239_Sub18.aClass251_6030); - class101_sub2.method932(0.0F, (float) i_57_, (float) i_60_, (byte) -95); - class101_sub2.method891(i_58_, i_52_, 0); - aHa_Sub3_8407.method3915(0); - aHa_Sub3_8407.method3933(-54); - } - } - } - aHa_Sub3_8407.method3879(-8629); - aHa_Sub3_8407.method3849((byte) 47, 1, Class318_Sub1_Sub2.aClass70_8737); - aHa_Sub3_8407.method3885(1, true, Class318_Sub1_Sub2.aClass70_8737); - } - - final void method983(float f, float f_66_, float f_67_, float f_68_, float f_69_, float f_70_, int i, aa var_aa, int i_71_, int i_72_) { - anInt8390++; - Class101_Sub2 class101_sub2 = aHa_Sub3_8407.method3934(-121); - Class101_Sub2 class101_sub2_73_ = aHa_Sub3_8407.method3820(false); - aa_Sub2 var_aa_Sub2 = (aa_Sub2) var_aa; - Interface18_Impl3 interface18_impl3 = var_aa_Sub2.anInterface18_Impl3_5196; - anInterface18_Impl3_8403.method64(((aBoolean8410 || aBoolean8408 || (0x1 & i) == 0) ? Class206.aClass209_4874 : Class71.aClass209_1212), -22095); - aHa_Sub3_8407.method3864(101); - aHa_Sub3_8407.method3850((byte) -102, anInterface18_Impl3_8403); - aHa_Sub3_8407.method3817(86, 1); - aHa_Sub3_8407.method3923(true, 1); - if (aBoolean8418) { - float f_74_ = (float) anInt8411 / (float) method966(); - float f_75_ = (float) anInt8417 / (float) method980(); - class101_sub2.method935(1.0F, f_74_ * (-f_66_ + f_68_), f_75_ * (-f + f_69_), 0.0F, 0.0F, f_75_ * (f_70_ - f_66_), 0.0F, 0.0F, (f_67_ - f) * f_74_, 0); - class101_sub2.method920(((float) anInt8419 + f_66_) * f_75_, false, 0.0F, ((float) anInt8400 + f) * f_74_); - } else { - class101_sub2.method935(1.0F, -f_66_ + f_68_, f_69_ - f, 0.0F, 0.0F, -f_66_ + f_70_, 0.0F, 0.0F, f_67_ - f, 0); - class101_sub2.method920(f_66_, false, 0.0F, f); - } - class101_sub2_73_.method932(1.0F, anInterface18_Impl3_8403.method71((byte) -87, (float) anInt8417), anInterface18_Impl3_8403.method67((float) anInt8411, 75), (byte) -60); - aHa_Sub3_8407.method3853(-32, Class239_Sub18.aClass251_6030); - aHa_Sub3_8407.method3897(1, -4382); - aHa_Sub3_8407.method3850((byte) -31, interface18_impl3); - aHa_Sub3_8407.method3874(Class167.aClass229_2207, 127, Class328_Sub3.aClass229_6519); - aHa_Sub3_8407.method3849((byte) 47, 0, Class318_Sub1_Sub2.aClass70_8737); - Class101_Sub2 class101_sub2_76_ = aHa_Sub3_8407.method3820(false); - class101_sub2_76_.method898(class101_sub2); - class101_sub2_76_.method891(-i_71_, -i_72_, 0); - class101_sub2_76_.method914(interface18_impl3.method71((byte) -32, 1.0F), 1.0F, 0, interface18_impl3.method67(1.0F, 71)); - aHa_Sub3_8407.method3853(-32, Class239_Sub18.aClass251_6030); - aHa_Sub3_8407.method3915(0); - aHa_Sub3_8407.method3933(-109); - aHa_Sub3_8407.method3879(-8629); - aHa_Sub3_8407.method3849((byte) 47, 0, Class342.aClass70_4247); - aHa_Sub3_8407.method3874(Class167.aClass229_2207, 118, Class167.aClass229_2207); - aHa_Sub3_8407.method3850((byte) 98, null); - aHa_Sub3_8407.method3897(0, -4382); - aHa_Sub3_8407.method3879(-8629); - } - - final void method968(int i, int i_77_, int i_78_) { - anInt8406++; - int[] is = aHa_Sub3_8407.na(i, i_77_, anInt8411, anInt8417); - int[] is_79_ = new int[anInt8417 * anInt8411]; - anInterface18_Impl3_8403.method65(0, is_79_, anInt8411, 0, anInt8417, (byte) 112, 0); - if (i_78_ == 0) { - for (int i_80_ = 0; anInt8417 > i_80_; i_80_++) { - int i_81_ = i_80_ * anInt8411; - for (int i_82_ = 0; i_82_ < anInt8411; i_82_++) - is_79_[i_81_ + i_82_] = (Class273.method2057((Class139.method1166(1828651008, is[i_81_ - -i_82_]) << 8), Class139.method1166(is_79_[i_81_ - -i_82_], 16777215))); - } - } else if (i_78_ == 1) { - for (int i_83_ = 0; anInt8417 > i_83_; i_83_++) { - int i_84_ = i_83_ * anInt8411; - for (int i_85_ = 0; anInt8411 > i_85_; i_85_++) - is_79_[i_85_ + i_84_] = (Class273.method2057(Class139.method1166(is_79_[i_85_ + i_84_], 16777215), (Class139.method1166(is[i_84_ - -i_85_], 743571200) << 16))); - } - } else if (i_78_ == 2) { - for (int i_89_ = 0; anInt8417 > i_89_; i_89_++) { - int i_90_ = i_89_ * anInt8411; - for (int i_91_ = 0; i_91_ < anInt8411; i_91_++) - is_79_[i_90_ + i_91_] = (Class273.method2057(Class139.method1166(is_79_[i_90_ + i_91_], 16777215), Class139.method1166(-3725444, (is[i_91_ + i_90_] << 24)))); - } - } else if (i_78_ == 3) { - for (int i_86_ = 0; anInt8417 > i_86_; i_86_++) { - int i_87_ = i_86_ * anInt8411; - for (int i_88_ = 0; i_88_ < anInt8411; i_88_++) - is_79_[i_88_ + i_87_] = (Class273.method2057(is[i_88_ + i_87_] != 0 ? -16777216 : 0, Class139.method1166(16777215, is_79_[i_88_ + i_87_]))); - } - } - method986(0, 0, anInt8411, anInt8417, is_79_, 0, anInt8411); - } - - static final boolean method989(int i, int i_92_, int i_93_) { - anInt8401++; - if (Class156.method1241(i_93_, i, i_92_ ^ 0x1fe) | (0x10000 & i) != 0 || Class348_Sub47.method3325(i, i_93_, true)) return true; - if (i_92_ != -385) return false; - return (i_93_ & 0x37) == 0 && Class273.method2056(i, 120, i_93_); - } - - final void method982(int i, int i_94_, int i_95_, int i_96_, int i_97_, int i_98_, int i_99_, int i_100_) { - anInt8395++; - Class101_Sub2 class101_sub2 = aHa_Sub3_8407.method3934(-95); - Class101_Sub2 class101_sub2_101_ = aHa_Sub3_8407.method3820(false); - anInterface18_Impl3_8403.method64(((aBoolean8410 || aBoolean8408 || ((i_100_ & 0x1) == 0)) ? Class206.aClass209_4874 : Class71.aClass209_1212), -22095); - aHa_Sub3_8407.method3864(81); - aHa_Sub3_8407.method3850((byte) 65, anInterface18_Impl3_8403); - aHa_Sub3_8407.method3817(58, i_99_); - aHa_Sub3_8407.method3923(true, i_97_); - aHa_Sub3_8407.method3849((byte) 47, 1, Class348_Sub40_Sub39.aClass70_9485); - aHa_Sub3_8407.method3885(1, true, Class348_Sub40_Sub39.aClass70_9485); - aHa_Sub3_8407.method3894(-28186, i_98_); - class101_sub2_101_.method932(1.0F, anInterface18_Impl3_8403.method71((byte) -44, (float) anInt8417), anInterface18_Impl3_8403.method67((float) anInt8411, 101), (byte) -30); - if (aBoolean8418) { - i_95_ = i_95_ * anInt8411 / method966(); - i_96_ = anInt8417 * i_96_ / method980(); - i += anInt8400 * i_95_ / anInt8411; - i_94_ += anInt8419 * i_96_ / anInt8417; - } - class101_sub2.method932(0.0F, (float) i_96_, (float) i_95_, (byte) -100); - class101_sub2.method891(i, i_94_, 0); - aHa_Sub3_8407.method3853(-32, Class239_Sub18.aClass251_6030); - aHa_Sub3_8407.method3915(0); - aHa_Sub3_8407.method3933(-118); - aHa_Sub3_8407.method3879(-8629); - aHa_Sub3_8407.method3849((byte) 47, 1, Class318_Sub1_Sub2.aClass70_8737); - aHa_Sub3_8407.method3885(1, true, Class318_Sub1_Sub2.aClass70_8737); - } - - final void method984(int[] is) { - is[0] = anInt8400; - is[1] = anInt8419; - anInt8421++; - is[3] = anInt8397; - is[2] = anInt8416; - } - - final void method964(int i, int i_102_, int i_103_, int i_104_, int i_105_) { - anInt8409++; - Class101_Sub2 class101_sub2 = aHa_Sub3_8407.method3934(-92); - Class101_Sub2 class101_sub2_106_ = aHa_Sub3_8407.method3820(false); - i += anInt8400; - i_102_ += anInt8419; - anInterface18_Impl3_8403.method64(Class206.aClass209_4874, -22095); - aHa_Sub3_8407.method3864(-82); - aHa_Sub3_8407.method3850((byte) -67, anInterface18_Impl3_8403); - aHa_Sub3_8407.method3817(96, i_105_); - aHa_Sub3_8407.method3923(true, i_103_); - aHa_Sub3_8407.method3849((byte) 47, 1, Class348_Sub40_Sub39.aClass70_9485); - aHa_Sub3_8407.method3885(1, true, Class348_Sub40_Sub39.aClass70_9485); - aHa_Sub3_8407.method3894(-28186, i_104_); - class101_sub2.method932(0.0F, (float) anInt8417, (float) anInt8411, (byte) -44); - class101_sub2.method891(i, i_102_, 0); - class101_sub2_106_.method932(1.0F, anInterface18_Impl3_8403.method71((byte) -125, (float) anInt8417), anInterface18_Impl3_8403.method67((float) anInt8411, 111), (byte) -19); - aHa_Sub3_8407.method3853(-32, Class239_Sub18.aClass251_6030); - aHa_Sub3_8407.method3915(0); - aHa_Sub3_8407.method3933(-41); - aHa_Sub3_8407.method3879(-8629); - aHa_Sub3_8407.method3849((byte) 47, 1, Class318_Sub1_Sub2.aClass70_8737); - aHa_Sub3_8407.method3885(1, true, Class318_Sub1_Sub2.aClass70_8737); - } - - final int method971() { - anInt8420++; - return anInt8411; - } - - final void method979(int i, int i_107_, int i_108_, int i_109_, int i_110_, int i_111_) { - anInt8392++; - int[] is = aHa_Sub3_8407.na(i_110_, i_111_, i_108_, i_109_); - if (is != null) { - for (int i_112_ = 0; i_112_ < is.length; i_112_++) - is[i_112_] = Class273.method2057(is[i_112_], -16777216); - method986(i, i_107_, i_108_, i_109_, is, 0, i_108_); - } - } - - final void method963(int i, int i_113_, aa var_aa, int i_114_, int i_115_) { - anInt8414++; - aa_Sub2 var_aa_Sub2 = (aa_Sub2) var_aa; - i_113_ += anInt8419; - i += anInt8400; - Interface18_Impl3 interface18_impl3 = var_aa_Sub2.anInterface18_Impl3_5196; - anInterface18_Impl3_8403.method64(Class206.aClass209_4874, -22095); - aHa_Sub3_8407.method3864(-81); - aHa_Sub3_8407.method3850((byte) -35, anInterface18_Impl3_8403); - aHa_Sub3_8407.method3817(110, 1); - aHa_Sub3_8407.method3923(true, 1); - Class101_Sub2 class101_sub2 = aHa_Sub3_8407.method3934(-120); - class101_sub2.method932(0.0F, (float) anInt8417, (float) anInt8411, (byte) -55); - class101_sub2.method891(i, i_113_, 0); - aHa_Sub3_8407.method3915(0); - Class101_Sub2 class101_sub2_116_ = aHa_Sub3_8407.method3820(false); - class101_sub2_116_.method932(1.0F, anInterface18_Impl3_8403.method71((byte) -102, (float) anInt8417), anInterface18_Impl3_8403.method67((float) anInt8411, 106), (byte) -33); - aHa_Sub3_8407.method3853(-32, Class239_Sub18.aClass251_6030); - aHa_Sub3_8407.method3897(1, -4382); - aHa_Sub3_8407.method3850((byte) 101, interface18_impl3); - aHa_Sub3_8407.method3874(Class167.aClass229_2207, 110, Class328_Sub3.aClass229_6519); - aHa_Sub3_8407.method3849((byte) 47, 0, Class318_Sub1_Sub2.aClass70_8737); - Class101_Sub2 class101_sub2_117_ = aHa_Sub3_8407.method3820(false); - class101_sub2_117_.method932(1.0F, interface18_impl3.method71((byte) -108, (float) anInt8417), interface18_impl3.method67((float) anInt8411, 95), (byte) -81); - class101_sub2_117_.method920(interface18_impl3.method71((byte) -27, (float) (i_113_ + -i_115_)), false, 0.0F, interface18_impl3.method67((float) (i - i_114_), 122)); - aHa_Sub3_8407.method3853(-32, Class239_Sub18.aClass251_6030); - aHa_Sub3_8407.method3933(-81); - aHa_Sub3_8407.method3879(-8629); - aHa_Sub3_8407.method3849((byte) 47, 0, Class342.aClass70_4247); - aHa_Sub3_8407.method3874(Class167.aClass229_2207, 127, Class167.aClass229_2207); - aHa_Sub3_8407.method3850((byte) -84, null); - aHa_Sub3_8407.method3897(0, -4382); - aHa_Sub3_8407.method3879(-8629); - } - - Class105_Sub1(ha_Sub3 var_ha_Sub3, int i, int i_118_, boolean bool) { - aBoolean8418 = false; - anInt8400 = 0; - anInt8417 = i_118_; - anInt8411 = i; - aHa_Sub3_8407 = var_ha_Sub3; - anInterface18_Impl3_8403 = var_ha_Sub3.method3861(i_118_, (byte) -84, i, Class68.aClass68_1183, (bool ? Class108.aClass304_1662 : Class348_Sub45.aClass304_7103)); - anInterface18_Impl3_8403.method66(true, true, 25688); - aBoolean8410 = (i != anInterface18_Impl3_8403.method69(false)); - aBoolean8408 = (i_118_ != anInterface18_Impl3_8403.method72(-39)); - aBoolean8396 = !aBoolean8410 && anInterface18_Impl3_8403.method73(97); - aBoolean8391 = !aBoolean8408 && anInterface18_Impl3_8403.method73(119); - } - - Class105_Sub1(ha_Sub3 var_ha_Sub3, int i, int i_119_, int[] is, int i_120_, int i_121_) { - aBoolean8418 = false; - anInt8400 = 0; - try { - aHa_Sub3_8407 = var_ha_Sub3; - anInt8411 = i; - anInt8417 = i_119_; - anInterface18_Impl3_8403 = var_ha_Sub3.method3830(i, is, false, (byte) -116, i_120_, i_121_, i_119_); - anInterface18_Impl3_8403.method66(true, true, 25688); - aBoolean8410 = i != anInterface18_Impl3_8403.method69(false); - aBoolean8408 = anInterface18_Impl3_8403.method72(-74) != i_119_; - aBoolean8396 = !aBoolean8410 && anInterface18_Impl3_8403.method73(91); - aBoolean8391 = !aBoolean8408 && anInterface18_Impl3_8403.method73(101); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("jd.(" + (var_ha_Sub3 != null ? "{...}" : "null") + ',' + i + ',' + i_119_ + ',' + (is != null ? "{...}" : "null") + ',' + i_120_ + ',' + i_121_ + ')')); - } - } -} diff --git a/client/src/Class105_Sub2.java b/client/src/Class105_Sub2.java deleted file mode 100644 index 6bd5707c3..000000000 --- a/client/src/Class105_Sub2.java +++ /dev/null @@ -1,536 +0,0 @@ -/* Class105_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -final class Class105_Sub2 extends Class105 { - static int anInt8424; - static int anInt8425; - static int anInt8426; - private boolean aBoolean8427; - static int anInt8428; - private int anInt8429 = 0; - private final ha_Sub2 aHa_Sub2_8430; - private Class258_Sub3_Sub1 aClass258_Sub3_Sub1_8431; - private int anInt8432 = 0; - static int anInt8433; - private final Class258_Sub3_Sub1 aClass258_Sub3_Sub1_8434; - static int anInt8435; - static int anInt8436; - static int anInt8437; - static int anInt8438; - static int anInt8439; - static int anInt8440; - static int anInt8441; - static int anInt8442; - static int anInt8443; - static int anInt8444; - static int anInt8445; - private int anInt8446; - private int anInt8447; - static int anInt8448; - private int anInt8449; - - static final char method990(char c, byte i) { - anInt8444++; - if (c == 198) return 'E'; - if (c == 230) return 'e'; - if (c == 223) return 's'; - if (c == 338) return 'E'; - if (c == 339) return 'e'; - if (i >= -18) return 'M'; - return '\0'; - } - - final void method962(float f, float f_0_, float f_1_, float f_2_, float f_3_, float f_4_, int i, int i_5_, int i_6_, int i_7_) { - anInt8435++; - if (aBoolean8427) { - float f_8_ = (float) method966(); - float f_9_ = (float) method980(); - float f_10_ = (f_1_ - f) / f_8_; - float f_11_ = (f_2_ - f_0_) / f_8_; - float f_12_ = (-f + f_3_) / f_9_; - float f_13_ = (-f_0_ + f_4_) / f_9_; - float f_14_ = (float) anInt8446 * f_12_; - float f_15_ = (float) anInt8446 * f_13_; - float f_16_ = (float) anInt8447 * f_10_; - float f_17_ = (float) anInt8447 * f_11_; - float f_18_ = -f_10_ * (float) anInt8449; - float f_19_ = (float) anInt8449 * -f_11_; - float f_20_ = -f_12_ * (float) anInt8432; - f_3_ = f_20_ + (f_3_ + f_16_); - f_1_ = f_1_ + f_18_ + f_14_; - float f_21_ = (float) anInt8432 * -f_13_; - f_2_ = f_2_ + f_19_ + f_15_; - f = f + f_16_ + f_14_; - f_0_ = f_15_ + (f_17_ + f_0_); - f_4_ = f_21_ + (f_4_ + f_17_); - } - float f_22_ = f_1_ - f + f_3_; - float f_23_ = -f_0_ + f_4_ + f_2_; - aClass258_Sub3_Sub1_8434.method1957(9728, (i_7_ & 0x1) != 0); - aHa_Sub2_8430.method3792(59); - aHa_Sub2_8430.method3771((byte) -93, aClass258_Sub3_Sub1_8434); - aHa_Sub2_8430.method3753(i_6_, 1); - aHa_Sub2_8430.method3761(0, i); - OpenGL.glColor4ub((byte) (i_5_ >> 16), (byte) (i_5_ >> 8), (byte) i_5_, (byte) (i_5_ >> 24)); - OpenGL.glBegin(7); - OpenGL.glTexCoord2f(0.0F, (aClass258_Sub3_Sub1_8434.aFloat9938)); - OpenGL.glVertex2f(f, f_0_); - OpenGL.glTexCoord2f(0.0F, 0.0F); - OpenGL.glVertex2f(f_3_, f_4_); - OpenGL.glTexCoord2f((aClass258_Sub3_Sub1_8434.aFloat9937), 0.0F); - OpenGL.glVertex2f(f_22_, f_23_); - OpenGL.glTexCoord2f((aClass258_Sub3_Sub1_8434.aFloat9937), (aClass258_Sub3_Sub1_8434.aFloat9938)); - OpenGL.glVertex2f(f_1_, f_2_); - OpenGL.glEnd(); - } - - final int method969() { - anInt8439++; - return aClass258_Sub3_Sub1_8434.anInt9939; - } - - final void method968(int i, int i_24_, int i_25_) { - anInt8438++; - OpenGL.glPixelTransferf(3348, 0.5F); - OpenGL.glPixelTransferf(3349, 0.499F); - OpenGL.glPixelTransferf(3352, 0.5F); - OpenGL.glPixelTransferf(3353, 0.499F); - OpenGL.glPixelTransferf(3354, 0.5F); - OpenGL.glPixelTransferf(3355, 0.499F); - aClass258_Sub3_Sub1_8431 = Class186_Sub1.method1401(aHa_Sub2_8430, i, 34037, aClass258_Sub3_Sub1_8434.anInt9940, i_24_, aClass258_Sub3_Sub1_8434.anInt9939); - anInt8429 = i_25_; - OpenGL.glPixelTransferf(3348, 1.0F); - OpenGL.glPixelTransferf(3349, 0.0F); - OpenGL.glPixelTransferf(3352, 1.0F); - OpenGL.glPixelTransferf(3353, 0.0F); - OpenGL.glPixelTransferf(3354, 1.0F); - OpenGL.glPixelTransferf(3355, 0.0F); - } - - final void method984(int[] is) { - is[1] = anInt8446; - anInt8445++; - is[3] = anInt8432; - is[0] = anInt8447; - is[2] = anInt8449; - } - - final int method980() { - anInt8433++; - return (anInt8446 + aClass258_Sub3_Sub1_8434.anInt9939 + anInt8432); - } - - final void method979(int i, int i_26_, int i_27_, int i_28_, int i_29_, int i_30_) { - anInt8436++; - aClass258_Sub3_Sub1_8434.method1967(i, i_28_, i_30_, i_26_, i_29_, (byte) -120, i_27_); - } - - final void method963(int i, int i_31_, aa var_aa, int i_32_, int i_33_) { - anInt8424++; - aa_Sub1 var_aa_Sub1 = (aa_Sub1) var_aa; - Class258_Sub3_Sub1 class258_sub3_sub1 = var_aa_Sub1.aClass258_Sub3_Sub1_5193; - aClass258_Sub3_Sub1_8434.method1957(9728, false); - aHa_Sub2_8430.method3792(75); - aHa_Sub2_8430.method3771((byte) -99, aClass258_Sub3_Sub1_8434); - aHa_Sub2_8430.method3761(0, 1); - aHa_Sub2_8430.method3738(-15039, 1); - aHa_Sub2_8430.method3771((byte) -123, class258_sub3_sub1); - aHa_Sub2_8430.method3729(7681, (byte) -101, 8448); - aHa_Sub2_8430.method3762(34168, 768, (byte) -87, 0); - aHa_Sub2_8430.method3753(1, 1); - i += anInt8447; - i_31_ += anInt8446; - int i_34_ = aClass258_Sub3_Sub1_8434.anInt9940 + i; - int i_35_ = (i_31_ - -aClass258_Sub3_Sub1_8434.anInt9939); - float f = (class258_sub3_sub1.aFloat9937 / (float) class258_sub3_sub1.anInt9940); - float f_36_ = (class258_sub3_sub1.aFloat9938 / (float) class258_sub3_sub1.anInt9939); - float f_37_ = f * (float) (-i_32_ + i); - float f_38_ = f * (float) (i_34_ - i_32_); - float f_39_ = (class258_sub3_sub1.aFloat9938 - f_36_ * (float) (i_31_ - i_33_)); - float f_40_ = (-((float) (i_35_ + -i_33_) * f_36_) + class258_sub3_sub1.aFloat9938); - OpenGL.glBegin(7); - OpenGL.glColor3f(1.0F, 1.0F, 1.0F); - OpenGL.glMultiTexCoord2f(33984, 0.0F, aClass258_Sub3_Sub1_8434.aFloat9938); - OpenGL.glMultiTexCoord2f(33985, f_37_, f_39_); - OpenGL.glVertex2i(i, i_31_); - OpenGL.glMultiTexCoord2f(33984, 0.0F, 0.0F); - OpenGL.glMultiTexCoord2f(33985, f_37_, f_40_); - OpenGL.glVertex2i(i, i_31_ - -aClass258_Sub3_Sub1_8434.anInt9939); - OpenGL.glMultiTexCoord2f(33984, aClass258_Sub3_Sub1_8434.aFloat9937, 0.0F); - OpenGL.glMultiTexCoord2f(33985, f_38_, f_40_); - OpenGL.glVertex2i(i - -(aClass258_Sub3_Sub1_8434.anInt9940), (aClass258_Sub3_Sub1_8434.anInt9939) + i_31_); - OpenGL.glMultiTexCoord2f(33984, aClass258_Sub3_Sub1_8434.aFloat9937, aClass258_Sub3_Sub1_8434.aFloat9938); - OpenGL.glMultiTexCoord2f(33985, f_38_, f_39_); - OpenGL.glVertex2i((aClass258_Sub3_Sub1_8434.anInt9940) + i, i_31_); - OpenGL.glEnd(); - aHa_Sub2_8430.method3762(5890, 768, (byte) -87, 0); - aHa_Sub2_8430.method3761(0, 0); - aHa_Sub2_8430.method3771((byte) -105, null); - aHa_Sub2_8430.method3738(-15039, 0); - } - - final void method985(int i, int i_41_, int i_42_, int i_43_) { - anInt8447 = i; - anInt8449 = i_42_; - anInt8446 = i_41_; - anInt8426++; - anInt8432 = i_43_; - aBoolean8427 = (anInt8447 != 0 || anInt8446 != 0 || anInt8449 != 0 || anInt8432 != 0); - } - - private final void method991(byte i) { - anInt8428++; - if (i == 9) { - aHa_Sub2_8430.method3738(-15039, 1); - aHa_Sub2_8430.method3771((byte) -78, null); - aHa_Sub2_8430.method3729(8448, (byte) -79, 8448); - aHa_Sub2_8430.method3762(34168, 768, (byte) -87, 1); - aHa_Sub2_8430.method3775(false, 0, 770, 5890); - aHa_Sub2_8430.method3738(-15039, 0); - aHa_Sub2_8430.method3762(34168, 768, (byte) -87, 1); - } - } - - final void method983(float f, float f_44_, float f_45_, float f_46_, float f_47_, float f_48_, int i, aa var_aa, int i_49_, int i_50_) { - anInt8448++; - Class258_Sub3_Sub1 class258_sub3_sub1 = ((aa_Sub1) var_aa).aClass258_Sub3_Sub1_5193; - if (aBoolean8427) { - float f_51_ = (float) method966(); - float f_52_ = (float) method980(); - float f_53_ = (-f + f_45_) / f_51_; - float f_54_ = (-f_44_ + f_46_) / f_51_; - float f_55_ = (-f + f_47_) / f_52_; - float f_56_ = (-f_44_ + f_48_) / f_52_; - float f_57_ = f_55_ * (float) anInt8446; - float f_58_ = f_56_ * (float) anInt8446; - float f_59_ = (float) anInt8447 * f_53_; - float f_60_ = (float) anInt8447 * f_54_; - float f_61_ = -f_53_ * (float) anInt8449; - float f_62_ = -f_54_ * (float) anInt8449; - float f_63_ = -f_55_ * (float) anInt8432; - f_46_ = f_46_ + f_62_ + f_58_; - f_45_ = f_61_ + f_45_ + f_57_; - f_47_ = f_63_ + (f_59_ + f_47_); - f = f_59_ + f + f_57_; - f_44_ = f_58_ + (f_44_ + f_60_); - float f_64_ = -f_56_ * (float) anInt8432; - f_48_ = f_60_ + f_48_ + f_64_; - } - float f_65_ = -f + f_45_ + f_47_; - aClass258_Sub3_Sub1_8434.method1957(9728, (0x1 & i) != 0); - float f_66_ = f_48_ - f_44_ + f_46_; - aHa_Sub2_8430.method3792(106); - aHa_Sub2_8430.method3771((byte) -123, aClass258_Sub3_Sub1_8434); - aHa_Sub2_8430.method3761(0, 1); - aHa_Sub2_8430.method3738(-15039, 1); - aHa_Sub2_8430.method3771((byte) -98, class258_sub3_sub1); - aHa_Sub2_8430.method3729(7681, (byte) -17, 8448); - aHa_Sub2_8430.method3762(34168, 768, (byte) -87, 0); - aHa_Sub2_8430.method3753(1, 1); - float f_67_ = (class258_sub3_sub1.aFloat9937 / (float) class258_sub3_sub1.anInt9940); - float f_68_ = (class258_sub3_sub1.aFloat9938 / (float) class258_sub3_sub1.anInt9939); - OpenGL.glBegin(7); - OpenGL.glColor3f(1.0F, 1.0F, 1.0F); - OpenGL.glMultiTexCoord2f(33984, 0.0F, aClass258_Sub3_Sub1_8434.aFloat9938); - OpenGL.glMultiTexCoord2f(33985, f_67_ * (f - (float) i_49_), ((class258_sub3_sub1.aFloat9938) - f_68_ * ((float) -i_50_ + f_44_))); - OpenGL.glVertex2f(f, f_44_); - OpenGL.glMultiTexCoord2f(33984, 0.0F, 0.0F); - OpenGL.glMultiTexCoord2f(33985, ((float) -i_49_ + f_47_) * f_67_, (-(f_68_ * (f_48_ - (float) i_50_)) + (class258_sub3_sub1.aFloat9938))); - OpenGL.glVertex2f(f_47_, f_48_); - OpenGL.glMultiTexCoord2f(33984, aClass258_Sub3_Sub1_8434.aFloat9937, 0.0F); - OpenGL.glMultiTexCoord2f(33985, (f_65_ - (float) i_49_) * f_67_, (-(f_68_ * (f_66_ - (float) i_50_)) + (class258_sub3_sub1.aFloat9938))); - OpenGL.glVertex2f(f_65_, f_66_); - OpenGL.glMultiTexCoord2f(33984, aClass258_Sub3_Sub1_8434.aFloat9937, aClass258_Sub3_Sub1_8434.aFloat9938); - OpenGL.glMultiTexCoord2f(33985, f_67_ * ((float) -i_49_ + f_45_), ((class258_sub3_sub1.aFloat9938) - f_68_ * (f_46_ - (float) i_50_))); - OpenGL.glVertex2f(f_45_, f_46_); - OpenGL.glEnd(); - aHa_Sub2_8430.method3762(5890, 768, (byte) -87, 0); - aHa_Sub2_8430.method3761(0, 0); - aHa_Sub2_8430.method3771((byte) -84, null); - aHa_Sub2_8430.method3738(-15039, 0); - } - - final int method966() { - anInt8440++; - return (anInt8447 + aClass258_Sub3_Sub1_8434.anInt9940 - -anInt8449); - } - - final void method964(int i, int i_69_, int i_70_, int i_71_, int i_72_) { - aClass258_Sub3_Sub1_8434.method1957(9728, false); - anInt8425++; - aHa_Sub2_8430.method3792(121); - aHa_Sub2_8430.method3753(i_72_, 1); - OpenGL.glColor4ub((byte) (i_71_ >> 16), (byte) (i_71_ >> 8), (byte) i_71_, (byte) (i_71_ >> 24)); - i += anInt8447; - i_69_ += anInt8446; - if (aClass258_Sub3_Sub1_8431 == null) { - aHa_Sub2_8430.method3771((byte) -127, aClass258_Sub3_Sub1_8434); - aHa_Sub2_8430.method3761(0, i_70_); - OpenGL.glBegin(7); - OpenGL.glTexCoord2f(0.0F, aClass258_Sub3_Sub1_8434.aFloat9938); - OpenGL.glVertex2i(i, i_69_); - OpenGL.glTexCoord2f(0.0F, 0.0F); - OpenGL.glVertex2i(i, i_69_ - -aClass258_Sub3_Sub1_8434.anInt9939); - OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, 0.0F); - OpenGL.glVertex2i((aClass258_Sub3_Sub1_8434.anInt9940) + i, (aClass258_Sub3_Sub1_8434.anInt9939) + i_69_); - OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, aClass258_Sub3_Sub1_8434.aFloat9938); - OpenGL.glVertex2i((aClass258_Sub3_Sub1_8434.anInt9940) + i, i_69_); - OpenGL.glEnd(); - } else { - method992(i_70_, 3); - aClass258_Sub3_Sub1_8431.method1957(9728, false); - OpenGL.glBegin(7); - OpenGL.glMultiTexCoord2f(33985, 0.0F, aClass258_Sub3_Sub1_8434.aFloat9938); - OpenGL.glTexCoord2f(0.0F, aClass258_Sub3_Sub1_8434.aFloat9938); - OpenGL.glVertex2i(i, i_69_); - OpenGL.glMultiTexCoord2f(33985, 0.0F, 0.0F); - OpenGL.glTexCoord2f(0.0F, 0.0F); - OpenGL.glVertex2i(i, i_69_ + aClass258_Sub3_Sub1_8434.anInt9939); - OpenGL.glMultiTexCoord2f(33985, aClass258_Sub3_Sub1_8434.aFloat9937, 0.0F); - OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, 0.0F); - OpenGL.glVertex2i((aClass258_Sub3_Sub1_8434.anInt9940) + i, (aClass258_Sub3_Sub1_8434.anInt9939) + i_69_); - OpenGL.glMultiTexCoord2f(33985, aClass258_Sub3_Sub1_8434.aFloat9937, aClass258_Sub3_Sub1_8434.aFloat9938); - OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, aClass258_Sub3_Sub1_8434.aFloat9938); - OpenGL.glVertex2i(i + aClass258_Sub3_Sub1_8434.anInt9940, i_69_); - OpenGL.glEnd(); - method991((byte) 9); - } - } - - private final void method992(int i, int i_73_) { - aHa_Sub2_8430.method3738(-15039, 1); - anInt8441++; - aHa_Sub2_8430.method3771((byte) -82, aClass258_Sub3_Sub1_8434); - aHa_Sub2_8430.method3729(aHa_Sub2_8430.method3781((byte) 17, i), (byte) -61, 7681); - aHa_Sub2_8430.method3762(34167, 768, (byte) -87, 1); - if (i_73_ != 3) method964(46, -15, -58, 122, 11); - aHa_Sub2_8430.method3775(false, 0, 770, 34168); - aHa_Sub2_8430.method3738(-15039, 0); - aHa_Sub2_8430.method3771((byte) -108, aClass258_Sub3_Sub1_8431); - aHa_Sub2_8430.method3729(34479, (byte) -47, 7681); - aHa_Sub2_8430.method3762(34166, 768, (byte) -87, 1); - if (anInt8429 != 0) { - if (anInt8429 == 1) aHa_Sub2_8430.method3749(0.0F, 0.5F, 0.5F, (byte) 64, 1.0F); - else if (anInt8429 != 2) { - if (anInt8429 == 3) aHa_Sub2_8430.method3749(0.0F, 128.5F, 128.5F, (byte) 63, 128.5F); - } else aHa_Sub2_8430.method3749(0.0F, 0.5F, 1.0F, (byte) 95, 0.5F); - } else aHa_Sub2_8430.method3749(0.0F, 1.0F, 0.5F, (byte) 50, 0.5F); - } - - final void method965(int i, int i_74_, int i_75_, int i_76_, int i_77_, int i_78_, int i_79_) { - anInt8442++; - int i_80_ = i_75_ + i; - int i_81_ = i_76_ + i_74_; - aClass258_Sub3_Sub1_8434.method1957(9728, false); - aHa_Sub2_8430.method3792(54); - aHa_Sub2_8430.method3771((byte) -88, aClass258_Sub3_Sub1_8434); - aHa_Sub2_8430.method3753(i_79_, 1); - aHa_Sub2_8430.method3761(0, i_77_); - OpenGL.glColor4ub((byte) (i_78_ >> 16), (byte) (i_78_ >> 8), (byte) i_78_, (byte) (i_78_ >> 24)); - if (aClass258_Sub3_Sub1_8434.aBoolean9941 && !aBoolean8427) { - float f = (aClass258_Sub3_Sub1_8434.aFloat9938 * (float) i_76_ / (float) (aClass258_Sub3_Sub1_8434.anInt9939)); - float f_82_ = ((float) i_75_ * aClass258_Sub3_Sub1_8434.aFloat9937 / (float) (aClass258_Sub3_Sub1_8434.anInt9940)); - OpenGL.glBegin(7); - OpenGL.glTexCoord2f(0.0F, f); - OpenGL.glVertex2i(i, i_74_); - OpenGL.glTexCoord2f(0.0F, 0.0F); - OpenGL.glVertex2i(i, i_81_); - OpenGL.glTexCoord2f(f_82_, 0.0F); - OpenGL.glVertex2i(i_80_, i_81_); - OpenGL.glTexCoord2f(f_82_, f); - OpenGL.glVertex2i(i_80_, i_74_); - OpenGL.glEnd(); - } else { - OpenGL.glPushMatrix(); - OpenGL.glTranslatef((float) anInt8447, (float) anInt8446, 0.0F); - int i_83_ = method966(); - int i_84_ = method980(); - int i_85_ = i_74_ - -(aClass258_Sub3_Sub1_8434.anInt9939); - OpenGL.glBegin(7); - int i_86_ = i_74_; - for (/**/; i_85_ <= i_81_; i_85_ += i_84_) { - int i_87_ = i + (aClass258_Sub3_Sub1_8434.anInt9940); - int i_88_ = i; - for (/**/; i_80_ >= i_87_; i_87_ += i_83_) { - OpenGL.glTexCoord2f(0.0F, aClass258_Sub3_Sub1_8434.aFloat9938); - OpenGL.glVertex2i(i_88_, i_86_); - OpenGL.glTexCoord2f(0.0F, 0.0F); - OpenGL.glVertex2i(i_88_, i_85_); - OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, 0.0F); - OpenGL.glVertex2i(i_87_, i_85_); - OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, aClass258_Sub3_Sub1_8434.aFloat9938); - OpenGL.glVertex2i(i_87_, i_86_); - i_88_ += i_83_; - } - if (i_88_ < i_80_) { - float f = ((float) (i_80_ + -i_88_) * (aClass258_Sub3_Sub1_8434.aFloat9937) / (float) aClass258_Sub3_Sub1_8434.anInt9940); - OpenGL.glTexCoord2f(0.0F, aClass258_Sub3_Sub1_8434.aFloat9938); - OpenGL.glVertex2i(i_88_, i_86_); - OpenGL.glTexCoord2f(0.0F, 0.0F); - OpenGL.glVertex2i(i_88_, i_85_); - OpenGL.glTexCoord2f(f, 0.0F); - OpenGL.glVertex2i(i_80_, i_85_); - OpenGL.glTexCoord2f(f, aClass258_Sub3_Sub1_8434.aFloat9938); - OpenGL.glVertex2i(i_80_, i_86_); - } - i_86_ += i_84_; - } - if (i_86_ < i_81_) { - float f = ((aClass258_Sub3_Sub1_8434.aFloat9938) * (float) (aClass258_Sub3_Sub1_8434.anInt9939 + (-i_81_ + i_86_)) / (float) aClass258_Sub3_Sub1_8434.anInt9939); - int i_89_ = i + (aClass258_Sub3_Sub1_8434.anInt9940); - int i_90_ = i; - while (i_80_ >= i_89_) { - OpenGL.glTexCoord2f(0.0F, aClass258_Sub3_Sub1_8434.aFloat9938); - OpenGL.glVertex2i(i_90_, i_86_); - OpenGL.glTexCoord2f(0.0F, f); - OpenGL.glVertex2i(i_90_, i_81_); - OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, f); - OpenGL.glVertex2i(i_89_, i_81_); - OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, aClass258_Sub3_Sub1_8434.aFloat9938); - OpenGL.glVertex2i(i_89_, i_86_); - i_89_ += i_83_; - i_90_ += i_83_; - } - if (i_80_ > i_90_) { - float f_91_ = ((float) (i_80_ - i_90_) * (aClass258_Sub3_Sub1_8434.aFloat9937) / (float) aClass258_Sub3_Sub1_8434.anInt9940); - OpenGL.glTexCoord2f(0.0F, aClass258_Sub3_Sub1_8434.aFloat9938); - OpenGL.glVertex2i(i_90_, i_86_); - OpenGL.glTexCoord2f(0.0F, f); - OpenGL.glVertex2i(i_90_, i_81_); - OpenGL.glTexCoord2f(f_91_, f); - OpenGL.glVertex2i(i_80_, i_81_); - OpenGL.glTexCoord2f(f_91_, aClass258_Sub3_Sub1_8434.aFloat9938); - OpenGL.glVertex2i(i_80_, i_86_); - } - } - OpenGL.glEnd(); - OpenGL.glPopMatrix(); - } - } - - final int method971() { - anInt8437++; - return aClass258_Sub3_Sub1_8434.anInt9940; - } - - final void method982(int i, int i_92_, int i_93_, int i_94_, int i_95_, int i_96_, int i_97_, int i_98_) { - anInt8443++; - aClass258_Sub3_Sub1_8434.method1957(9728, (0x1 & i_98_) != 0); - aHa_Sub2_8430.method3792(103); - aHa_Sub2_8430.method3753(i_97_, 1); - OpenGL.glColor4ub((byte) (i_96_ >> 16), (byte) (i_96_ >> 8), (byte) i_96_, (byte) (i_96_ >> 24)); - if (aBoolean8427) { - float f = (float) i_93_ / (float) method966(); - float f_99_ = (float) i_94_ / (float) method980(); - float f_100_ = (float) i + f * (float) anInt8447; - float f_101_ = (float) anInt8446 * f_99_ + (float) i_92_; - float f_102_ = f_100_ + f * (float) aClass258_Sub3_Sub1_8434.anInt9940; - float f_103_ = (f_101_ + (float) (aClass258_Sub3_Sub1_8434.anInt9939) * f_99_); - if (aClass258_Sub3_Sub1_8431 == null) { - aHa_Sub2_8430.method3771((byte) -85, aClass258_Sub3_Sub1_8434); - aHa_Sub2_8430.method3761(0, i_95_); - OpenGL.glBegin(7); - OpenGL.glTexCoord2f(0.0F, aClass258_Sub3_Sub1_8434.aFloat9938); - OpenGL.glVertex2f(f_100_, f_101_); - OpenGL.glTexCoord2f(0.0F, 0.0F); - OpenGL.glVertex2f(f_100_, f_103_); - OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, 0.0F); - OpenGL.glVertex2f(f_102_, f_103_); - OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, aClass258_Sub3_Sub1_8434.aFloat9938); - OpenGL.glVertex2f(f_102_, f_101_); - OpenGL.glEnd(); - } else { - method992(i_95_, 3); - aClass258_Sub3_Sub1_8431.method1957(9728, true); - OpenGL.glBegin(7); - OpenGL.glMultiTexCoord2f(33985, 0.0F, (aClass258_Sub3_Sub1_8434.aFloat9938)); - OpenGL.glTexCoord2f(0.0F, aClass258_Sub3_Sub1_8434.aFloat9938); - OpenGL.glVertex2f(f_100_, f_101_); - OpenGL.glMultiTexCoord2f(33985, 0.0F, 0.0F); - OpenGL.glTexCoord2f(0.0F, 0.0F); - OpenGL.glVertex2f(f_100_, f_103_); - OpenGL.glMultiTexCoord2f(33985, aClass258_Sub3_Sub1_8434.aFloat9937, 0.0F); - OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, 0.0F); - OpenGL.glVertex2f(f_102_, f_103_); - OpenGL.glMultiTexCoord2f(33985, aClass258_Sub3_Sub1_8434.aFloat9937, (aClass258_Sub3_Sub1_8434.aFloat9938)); - OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, aClass258_Sub3_Sub1_8434.aFloat9938); - OpenGL.glVertex2f(f_102_, f_101_); - OpenGL.glEnd(); - method991((byte) 9); - } - } else if (aClass258_Sub3_Sub1_8431 == null) { - aHa_Sub2_8430.method3771((byte) -101, aClass258_Sub3_Sub1_8434); - aHa_Sub2_8430.method3761(0, i_95_); - OpenGL.glBegin(7); - OpenGL.glTexCoord2f(0.0F, aClass258_Sub3_Sub1_8434.aFloat9938); - OpenGL.glVertex2i(i, i_92_); - OpenGL.glTexCoord2f(0.0F, 0.0F); - OpenGL.glVertex2i(i, i_92_ - -i_94_); - OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, 0.0F); - OpenGL.glVertex2i(i_93_ + i, i_94_ + i_92_); - OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, aClass258_Sub3_Sub1_8434.aFloat9938); - OpenGL.glVertex2i(i - -i_93_, i_92_); - OpenGL.glEnd(); - } else { - method992(i_95_, 3); - aClass258_Sub3_Sub1_8431.method1957(9728, true); - OpenGL.glBegin(7); - OpenGL.glMultiTexCoord2f(33985, 0.0F, aClass258_Sub3_Sub1_8434.aFloat9938); - OpenGL.glTexCoord2f(0.0F, aClass258_Sub3_Sub1_8434.aFloat9938); - OpenGL.glVertex2i(i, i_92_); - OpenGL.glMultiTexCoord2f(33985, 0.0F, 0.0F); - OpenGL.glTexCoord2f(0.0F, 0.0F); - OpenGL.glVertex2i(i, i_94_ + i_92_); - OpenGL.glMultiTexCoord2f(33985, aClass258_Sub3_Sub1_8434.aFloat9937, 0.0F); - OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, 0.0F); - OpenGL.glVertex2i(i - -i_93_, i_92_ + i_94_); - OpenGL.glMultiTexCoord2f(33985, aClass258_Sub3_Sub1_8434.aFloat9937, aClass258_Sub3_Sub1_8434.aFloat9938); - OpenGL.glTexCoord2f(aClass258_Sub3_Sub1_8434.aFloat9937, aClass258_Sub3_Sub1_8434.aFloat9938); - OpenGL.glVertex2i(i_93_ + i, i_92_); - OpenGL.glEnd(); - method991((byte) 9); - } - } - - static long method993(long l, long l_104_) { - try { - return l ^ l_104_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "nda.Q(" + l + ',' + l_104_ + ')'); - } - } - - Class105_Sub2(ha_Sub2 var_ha_Sub2, int i, int i_105_, boolean bool) { - aBoolean8427 = false; - anInt8446 = 0; - anInt8447 = 0; - anInt8449 = 0; - aHa_Sub2_8430 = var_ha_Sub2; - aClass258_Sub3_Sub1_8434 = Class101.method904(81, var_ha_Sub2, bool ? 6408 : 6407, i, i_105_); - } - - Class105_Sub2(ha_Sub2 var_ha_Sub2, int i, int i_106_, int i_107_, int i_108_) { - aBoolean8427 = false; - anInt8446 = 0; - anInt8447 = 0; - anInt8449 = 0; - aHa_Sub2_8430 = var_ha_Sub2; - aClass258_Sub3_Sub1_8434 = Class186_Sub1.method1401(var_ha_Sub2, i, 34037, i_107_, i_106_, i_108_); - } - - Class105_Sub2(ha_Sub2 var_ha_Sub2, int i, int i_109_, int[] is, int i_110_, int i_111_) { - aBoolean8427 = false; - anInt8446 = 0; - anInt8447 = 0; - anInt8449 = 0; - try { - aHa_Sub2_8430 = var_ha_Sub2; - aClass258_Sub3_Sub1_8434 = Class348_Sub40_Sub32.method3132(is, i_110_, i_111_, i_109_, i, var_ha_Sub2, false, (byte) 12); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("nda.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_109_ + ',' + (is != null ? "{...}" : "null") + ',' + i_110_ + ',' + i_111_ + ')')); - } - } -} diff --git a/client/src/Class105_Sub3.java b/client/src/Class105_Sub3.java deleted file mode 100644 index 04092498e..000000000 --- a/client/src/Class105_Sub3.java +++ /dev/null @@ -1,240 +0,0 @@ -/* Class105_Sub3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class105_Sub3 extends Class105 { - static int anInt8450; - static int anInt8451; - static int anInt8452; - static int anInt8453; - int anInt8454; - private static int anInt8455; - int anInt8456; - static int anInt8457; - static int anInt8458; - private static int anInt8459; - ha_Sub1 aHa_Sub1_8460; - int anInt8461; - private int[] anIntArray8462; - static int anInt8463; - int anInt8464; - static int anInt8465 = 0; - private static int anInt8466; - static int anInt8467; - static int anInt8468; - static int anInt8469; - int anInt8470; - int anInt8471; - static int anInt8472; - private static int anInt8473; - static int anInt8474 = 0; - static int anInt8475; - private static int anInt8476; - static int anInt8477; - static int anInt8478; - static int anInt8479; - static int anInt8480; - static int anInt8481; - private static int anInt8482; - - abstract void method964(int i, int i_0_, int i_1_, int i_2_, int i_3_); - - final int method971() { - return this.anInt8471; - } - - final void method984(int[] is) { - is[0] = this.anInt8461; - is[1] = this.anInt8464; - is[2] = this.anInt8454; - is[3] = this.anInt8456; - } - - final void method965(int i, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_) { - if (this.aHa_Sub1_8460.method3716()) throw new IllegalStateException(); - if (anIntArray8462 == null) anIntArray8462 = new int[4]; - this.aHa_Sub1_8460.K(anIntArray8462); - this.aHa_Sub1_8460.T(this.aHa_Sub1_8460.anInt7496, this.aHa_Sub1_8460.anInt7476, i + i_5_, i_4_ + i_6_); - int i_10_ = method966(); - int i_11_ = method980(); - int i_12_ = (i_5_ + i_10_ - 1) / i_10_; - int i_13_ = (i_6_ + i_11_ - 1) / i_11_; - for (int i_14_ = 0; i_14_ < i_13_; i_14_++) { - int i_15_ = i_14_ * i_11_; - for (int i_16_ = 0; i_16_ < i_12_; i_16_++) - method964(i + i_16_ * i_10_, i_4_ + i_15_, i_7_, i_8_, i_9_); - } - this.aHa_Sub1_8460.KA(anIntArray8462[0], anIntArray8462[1], anIntArray8462[2], anIntArray8462[3]); - } - - final void method983(float f, float f_17_, float f_18_, float f_19_, float f_20_, float f_21_, int i, aa var_aa, int i_22_, int i_23_) { - if (this.aHa_Sub1_8460.method3716()) throw new IllegalStateException(); - if (method997(f, f_17_, f_18_, f_19_, f_20_, f_21_)) { - aa_Sub3 var_aa_Sub3 = (aa_Sub3) var_aa; - method995(var_aa_Sub3.anIntArray5201, var_aa_Sub3.anIntArray5202, anInt8473 - i_22_, -i_23_ - (anInt8468 - anInt8466)); - } - } - - final void method985(int i, int i_24_, int i_25_, int i_26_) { - this.anInt8461 = i; - this.anInt8464 = i_24_; - this.anInt8454 = i_25_; - this.anInt8456 = i_26_; - } - - abstract void method994(int i, int i_27_); - - abstract void method995(int[] is, int[] is_28_, int i, int i_29_); - - final void method962(float f, float f_30_, float f_31_, float f_32_, float f_33_, float f_34_, int i, int i_35_, int i_36_, int i_37_) { - if (this.aHa_Sub1_8460.method3716()) throw new IllegalStateException(); - if (method997(f, f_30_, f_31_, f_32_, f_33_, f_34_)) { - anInt8480 = i_35_; - if (i != 1) { - anInt8477 = i_35_ >>> 24; - anInt8472 = 256 - anInt8477; - if (i == 0) { - anInt8469 = (i_35_ & 0xff0000) >> 16; - anInt8463 = (i_35_ & 0xff00) >> 8; - anInt8465 = i_35_ & 0xff; - } else if (i == 2) { - anInt8459 = i_35_ >>> 24; - anInt8455 = 256 - anInt8459; - int i_38_ = (i_35_ & 0xff00ff) * anInt8455 & ~0xff00ff; - int i_39_ = (i_35_ & 0xff00) * anInt8455 & 0xff0000; - anInt8474 = (i_38_ | i_39_) >>> 8; - } - } - if (i == 1) { - if (i_36_ == 0) method994(1, 0); - else if (i_36_ == 1) method994(1, 1); - else if (i_36_ == 2) method994(1, 2); - } else if (i == 0) { - if (i_36_ == 0) method994(0, 0); - else if (i_36_ == 1) method994(0, 1); - else if (i_36_ == 2) method994(0, 2); - } else if (i == 3) { - if (i_36_ == 0) method994(3, 0); - else if (i_36_ == 1) method994(3, 1); - else if (i_36_ == 2) method994(3, 2); - } else if (i == 2) { - if (i_36_ == 0) method994(2, 0); - else if (i_36_ == 1) method994(2, 1); - else if (i_36_ == 2) method994(2, 2); - } - } - } - - abstract void method996(int i, int i_40_, int i_41_, int i_42_, int i_43_, int i_44_, int i_45_, int i_46_, int i_47_); - - abstract void method982(int i, int i_48_, int i_49_, int i_50_, int i_51_, int i_52_, int i_53_, int i_54_); - - final int method969() { - return this.anInt8470; - } - - final int method980() { - return (this.anInt8464 + this.anInt8470 + this.anInt8456); - } - - Class105_Sub3(ha_Sub1 var_ha_Sub1, int i, int i_55_) { - this.aHa_Sub1_8460 = var_ha_Sub1; - this.anInt8471 = i; - this.anInt8470 = i_55_; - } - - final int method966() { - return (this.anInt8461 + this.anInt8471 + this.anInt8454); - } - - abstract void method963(int i, int i_56_, aa var_aa, int i_57_, int i_58_); - - private final boolean method997(float f, float f_59_, float f_60_, float f_61_, float f_62_, float f_63_) { - int i = (this.anInt8461 + this.anInt8471 + this.anInt8454); - int i_64_ = (this.anInt8464 + this.anInt8470 + this.anInt8456); - if (i != this.anInt8471 || i_64_ != this.anInt8470) { - float f_65_ = (f_60_ - f) / (float) i; - float f_66_ = (f_61_ - f_59_) / (float) i; - float f_67_ = (f_62_ - f) / (float) i_64_; - float f_68_ = (f_63_ - f_59_) / (float) i_64_; - float f_69_ = f_67_ * (float) this.anInt8464; - float f_70_ = f_68_ * (float) this.anInt8464; - float f_71_ = f_65_ * (float) this.anInt8461; - float f_72_ = f_66_ * (float) this.anInt8461; - float f_73_ = -f_65_ * (float) this.anInt8454; - float f_74_ = -f_66_ * (float) this.anInt8454; - float f_75_ = -f_67_ * (float) this.anInt8456; - float f_76_ = -f_68_ * (float) this.anInt8456; - f += f_71_ + f_69_; - f_59_ += f_72_ + f_70_; - f_60_ += f_73_ + f_69_; - f_61_ += f_74_ + f_70_; - f_62_ += f_71_ + f_75_; - f_63_ += f_72_ + f_76_; - } - float f_77_ = f_62_ + (f_60_ - f); - float f_78_ = f_61_ + (f_63_ - f_59_); - float f_79_; - float f_80_; - if (f < f_60_) { - f_79_ = f; - f_80_ = f_60_; - } else { - f_79_ = f_60_; - f_80_ = f; - } - if (f_62_ < f_79_) f_79_ = f_62_; - if (f_77_ < f_79_) f_79_ = f_77_; - if (f_62_ > f_80_) f_80_ = f_62_; - if (f_77_ > f_80_) f_80_ = f_77_; - float f_81_; - float f_82_; - if (f_59_ < f_61_) { - f_81_ = f_59_; - f_82_ = f_61_; - } else { - f_81_ = f_61_; - f_82_ = f_59_; - } - if (f_63_ < f_81_) f_81_ = f_63_; - if (f_78_ < f_81_) f_81_ = f_78_; - if (f_63_ > f_82_) f_82_ = f_63_; - if (f_78_ > f_82_) f_82_ = f_78_; - if (f_79_ < (float) (this.aHa_Sub1_8460.anInt7496)) f_79_ = (float) (this.aHa_Sub1_8460.anInt7496); - if (f_80_ > (float) (this.aHa_Sub1_8460.anInt7507)) f_80_ = (float) (this.aHa_Sub1_8460.anInt7507); - if (f_81_ < (float) (this.aHa_Sub1_8460.anInt7476)) f_81_ = (float) (this.aHa_Sub1_8460.anInt7476); - if (f_82_ > (float) (this.aHa_Sub1_8460.anInt7503)) f_82_ = (float) (this.aHa_Sub1_8460.anInt7503); - f_80_ = f_79_ - f_80_; - if (f_80_ >= 0.0F) return false; - f_82_ = f_81_ - f_82_; - if (f_82_ >= 0.0F) return false; - anInt8453 = this.aHa_Sub1_8460.anInt7477; - anInt8451 = (int) ((float) ((int) f_81_ * anInt8453) + f_79_); - float f_83_ = (f_60_ - f) * (f_63_ - f_59_) - (f_61_ - f_59_) * (f_62_ - f); - float f_84_ = (f_62_ - f) * (f_61_ - f_59_) - (f_63_ - f_59_) * (f_60_ - f); - anInt8481 = (int) ((f_63_ - f_59_) * 4096.0F * (float) this.anInt8471 / f_83_); - anInt8450 = (int) ((f_61_ - f_59_) * 4096.0F * (float) this.anInt8470 / f_84_); - anInt8457 = (int) ((f_62_ - f) * 4096.0F * (float) this.anInt8471 / f_84_); - anInt8452 = (int) ((f_60_ - f) * 4096.0F * (float) this.anInt8470 / f_83_); - anInt8476 = (int) (f_79_ * 16.0F + 8.0F - (f + f_60_ + f_62_ + f_77_) / 4.0F * 16.0F); - anInt8482 = (int) (f_81_ * 16.0F + 8.0F - (f_59_ + f_61_ + f_63_ + f_78_) / 4.0F * 16.0F); - anInt8458 = ((this.anInt8471 >> 1 << 12) + (anInt8482 * anInt8457 >> 4)); - anInt8467 = ((this.anInt8470 >> 1 << 12) + (anInt8482 * anInt8452 >> 4)); - anInt8479 = anInt8476 * anInt8481 >> 4; - anInt8475 = anInt8476 * anInt8450 >> 4; - anInt8473 = (int) f_79_; - anInt8478 = (int) f_80_; - anInt8466 = (int) f_81_; - anInt8468 = (int) f_82_; - return true; - } - - static { - anInt8472 = 0; - anInt8463 = 0; - anInt8469 = 0; - anInt8477 = 0; - anInt8459 = 0; - anInt8455 = 0; - } -} diff --git a/client/src/Class105_Sub3_Sub1.java b/client/src/Class105_Sub3_Sub1.java deleted file mode 100644 index 6b5811da7..000000000 --- a/client/src/Class105_Sub3_Sub1.java +++ /dev/null @@ -1,2956 +0,0 @@ -/* Class105_Sub3_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class105_Sub3_Sub1 extends Class105_Sub3 { - int[] anIntArray9933; - - final void method994(int i, int i_0_) { - int[] is = this.aHa_Sub1_8460.anIntArray7483; - if (Class105_Sub3.anInt8481 == 0) { - if (Class105_Sub3.anInt8450 == 0) { - int i_1_ = Class105_Sub3.anInt8468; - while (i_1_ < 0) { - int i_2_ = Class105_Sub3.anInt8451; - int i_3_ = Class105_Sub3.anInt8458; - int i_4_ = Class105_Sub3.anInt8467; - int i_5_ = Class105_Sub3.anInt8478; - if (i_3_ >= 0 && i_4_ >= 0 && i_3_ - (this.anInt8471 << 12) < 0 && (i_4_ - (this.anInt8470 << 12) < 0)) { - for (/**/; i_5_ < 0; i_5_++) { - int i_6_ = (((i_4_ >> 12) * this.anInt8471) + (i_3_ >> 12)); - int i_7_ = i_2_++; - int[] is_8_ = is; - int i_9_ = i; - int i_10_ = i_0_; - if (i_10_ == 0) { - if (i_9_ == 1) is_8_[i_7_] = (this.anIntArray9933[i_6_]); - else if (i_9_ == 0) { - int i_11_ = (this.anIntArray9933[i_6_++]); - int i_12_ = (((i_11_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_13_ = (((i_11_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_14_ = (((i_11_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_8_[i_7_] = (i_12_ | i_13_ | i_14_) >>> 8; - } else if (i_9_ == 3) { - int i_15_ = (this.anIntArray9933[i_6_++]); - int i_16_ = Class105_Sub3.anInt8480; - int i_17_ = i_15_ + i_16_; - int i_18_ = ((i_15_ & 0xff00ff) + (i_16_ & 0xff00ff)); - int i_19_ = ((i_18_ & 0x1000100) + (i_17_ - i_18_ & 0x10000)); - is_8_[i_7_] = i_17_ - i_19_ | i_19_ - (i_19_ >>> 8); - } else if (i_9_ == 2) { - int i_20_ = (this.anIntArray9933[i_6_]); - int i_21_ = (((i_20_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_22_ = (((i_20_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_8_[i_7_] = (((i_21_ | i_22_) >>> 8) + Class105_Sub3.anInt8474); - } else throw new IllegalArgumentException(); - } else if (i_10_ == 1) { - if (i_9_ == 1) { - int i_23_ = (this.anIntArray9933[i_6_]); - if (i_23_ != 0) is_8_[i_7_] = i_23_; - } else if (i_9_ == 0) { - int i_24_ = (this.anIntArray9933[i_6_]); - if (i_24_ != 0) { - if ((Class105_Sub3.anInt8480 & 0xffffff) == 16777215) { - int i_25_ = (Class105_Sub3.anInt8480 >>> 24); - int i_26_ = 256 - i_25_; - int i_27_ = is_8_[i_7_]; - is_8_[i_7_] = ((((i_24_ & 0xff00ff) * i_25_ + ((i_27_ & 0xff00ff) * i_26_)) & ~0xff00ff) + (((i_24_ & 0xff00) * i_25_ + ((i_27_ & 0xff00) * i_26_)) & 0xff0000)) >> 8; - } else if (Class105_Sub3.anInt8477 == 255) { - int i_32_ = (((i_24_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_33_ = (((i_24_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_34_ = (((i_24_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_8_[i_7_] = (i_32_ | i_33_ | i_34_) >>> 8; - } else { - int i_28_ = (((i_24_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_29_ = (((i_24_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_30_ = (((i_24_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_24_ = ((i_28_ | i_29_ | i_30_) >>> 8); - int i_31_ = is_8_[i_7_]; - is_8_[i_7_] = (((((i_24_ & 0xff00ff) * (Class105_Sub3.anInt8477)) + ((i_31_ & 0xff00ff) * (Class105_Sub3.anInt8472))) & ~0xff00ff) + ((((i_24_ & 0xff00) * (Class105_Sub3.anInt8477)) + ((i_31_ & 0xff00) * (Class105_Sub3.anInt8472))) & 0xff0000)) >> 8; - } - } - } else if (i_9_ == 3) { - int i_35_ = (this.anIntArray9933[i_6_]); - int i_36_ = Class105_Sub3.anInt8480; - int i_37_ = i_35_ + i_36_; - int i_38_ = ((i_35_ & 0xff00ff) + (i_36_ & 0xff00ff)); - int i_39_ = ((i_38_ & 0x1000100) + (i_37_ - i_38_ & 0x10000)); - i_39_ = i_37_ - i_39_ | i_39_ - (i_39_ >>> 8); - if (i_35_ == 0 && Class105_Sub3.anInt8477 != 255) { - i_35_ = i_39_; - i_39_ = is_8_[i_7_]; - i_39_ = (((((i_35_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_39_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_35_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_39_ & 0xff00) * (Class105_Sub3.anInt8472))) & 0xff0000)) >> 8; - } - is_8_[i_7_] = i_39_; - } else if (i_9_ == 2) { - int i_40_ = (this.anIntArray9933[i_6_]); - if (i_40_ != 0) { - int i_41_ = (((i_40_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_42_ = (((i_40_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_8_[i_7_++] = (((i_41_ | i_42_) >>> 8) + Class105_Sub3.anInt8474); - } - } else throw new IllegalArgumentException(); - } else if (i_10_ == 2) { - if (i_9_ == 1) { - int i_43_ = (this.anIntArray9933[i_6_]); - if (i_43_ != 0) { - int i_44_ = is_8_[i_7_]; - int i_45_ = i_43_ + i_44_; - int i_46_ = ((i_43_ & 0xff00ff) + (i_44_ & 0xff00ff)); - i_44_ = ((i_46_ & 0x1000100) + (i_45_ - i_46_ & 0x10000)); - is_8_[i_7_] = i_45_ - i_44_ | i_44_ - (i_44_ >>> 8); - } - } else if (i_9_ == 0) { - int i_47_ = (this.anIntArray9933[i_6_]); - if (i_47_ != 0) { - int i_48_ = (((i_47_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_49_ = (((i_47_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_50_ = (((i_47_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_47_ = (i_48_ | i_49_ | i_50_) >>> 8; - int i_51_ = is_8_[i_7_]; - int i_52_ = i_47_ + i_51_; - int i_53_ = ((i_47_ & 0xff00ff) + (i_51_ & 0xff00ff)); - i_51_ = ((i_53_ & 0x1000100) + (i_52_ - i_53_ & 0x10000)); - is_8_[i_7_] = i_52_ - i_51_ | i_51_ - (i_51_ >>> 8); - } - } else if (i_9_ == 3) { - int i_54_ = (this.anIntArray9933[i_6_]); - int i_55_ = Class105_Sub3.anInt8480; - int i_56_ = i_54_ + i_55_; - int i_57_ = ((i_54_ & 0xff00ff) + (i_55_ & 0xff00ff)); - int i_58_ = ((i_57_ & 0x1000100) + (i_56_ - i_57_ & 0x10000)); - i_54_ = i_56_ - i_58_ | i_58_ - (i_58_ >>> 8); - i_58_ = is_8_[i_7_]; - i_56_ = i_54_ + i_58_; - i_57_ = (i_54_ & 0xff00ff) + (i_58_ & 0xff00ff); - i_58_ = (i_57_ & 0x1000100) + (i_56_ - i_57_ & 0x10000); - is_8_[i_7_] = i_56_ - i_58_ | i_58_ - (i_58_ >>> 8); - } else if (i_9_ == 2) { - int i_59_ = (this.anIntArray9933[i_6_]); - if (i_59_ != 0) { - int i_60_ = (((i_59_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_61_ = (((i_59_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_59_ = (((i_60_ | i_61_) >>> 8) + Class105_Sub3.anInt8474); - int i_62_ = is_8_[i_7_]; - int i_63_ = i_59_ + i_62_; - int i_64_ = ((i_59_ & 0xff00ff) + (i_62_ & 0xff00ff)); - i_62_ = ((i_64_ & 0x1000100) + (i_63_ - i_64_ & 0x10000)); - is_8_[i_7_] = i_63_ - i_62_ | i_62_ - (i_62_ >>> 8); - } - } - } else throw new IllegalArgumentException(); - } - } - i_1_++; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else if (Class105_Sub3.anInt8450 < 0) { - int i_65_ = Class105_Sub3.anInt8468; - while (i_65_ < 0) { - int i_66_ = Class105_Sub3.anInt8451; - int i_67_ = Class105_Sub3.anInt8458; - int i_68_ = Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475; - int i_69_ = Class105_Sub3.anInt8478; - if (i_67_ >= 0 && i_67_ - (this.anInt8471 << 12) < 0) { - int i_70_; - if ((i_70_ = i_68_ - (this.anInt8470 << 12)) >= 0) { - i_70_ = ((Class105_Sub3.anInt8450 - i_70_) / Class105_Sub3.anInt8450); - i_69_ += i_70_; - i_68_ += Class105_Sub3.anInt8450 * i_70_; - i_66_ += i_70_; - } - if ((i_70_ = ((i_68_ - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_69_) i_69_ = i_70_; - for (/**/; i_69_ < 0; i_69_++) { - int i_71_ = (((i_68_ >> 12) * this.anInt8471) + (i_67_ >> 12)); - int i_72_ = i_66_++; - int[] is_73_ = is; - int i_74_ = i; - int i_75_ = i_0_; - if (i_75_ == 0) { - if (i_74_ == 1) is_73_[i_72_] = (this.anIntArray9933[i_71_]); - else if (i_74_ == 0) { - int i_76_ = (this.anIntArray9933[i_71_++]); - int i_77_ = (((i_76_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_78_ = (((i_76_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_79_ = (((i_76_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_73_[i_72_] = (i_77_ | i_78_ | i_79_) >>> 8; - } else if (i_74_ == 3) { - int i_80_ = (this.anIntArray9933[i_71_++]); - int i_81_ = Class105_Sub3.anInt8480; - int i_82_ = i_80_ + i_81_; - int i_83_ = ((i_80_ & 0xff00ff) + (i_81_ & 0xff00ff)); - int i_84_ = ((i_83_ & 0x1000100) + (i_82_ - i_83_ & 0x10000)); - is_73_[i_72_] = i_82_ - i_84_ | i_84_ - (i_84_ >>> 8); - } else if (i_74_ == 2) { - int i_85_ = (this.anIntArray9933[i_71_]); - int i_86_ = (((i_85_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_87_ = (((i_85_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_73_[i_72_] = (((i_86_ | i_87_) >>> 8) + Class105_Sub3.anInt8474); - } else throw new IllegalArgumentException(); - } else if (i_75_ == 1) { - if (i_74_ == 1) { - int i_88_ = (this.anIntArray9933[i_71_]); - if (i_88_ != 0) is_73_[i_72_] = i_88_; - } else if (i_74_ == 0) { - int i_89_ = (this.anIntArray9933[i_71_]); - if (i_89_ != 0) { - if ((Class105_Sub3.anInt8480 & 0xffffff) == 16777215) { - int i_90_ = (Class105_Sub3.anInt8480 >>> 24); - int i_91_ = 256 - i_90_; - int i_92_ = is_73_[i_72_]; - is_73_[i_72_] = ((((i_89_ & 0xff00ff) * i_90_ + ((i_92_ & 0xff00ff) * i_91_)) & ~0xff00ff) + (((i_89_ & 0xff00) * i_90_ + ((i_92_ & 0xff00) * i_91_)) & 0xff0000)) >> 8; - } else if (Class105_Sub3.anInt8477 == 255) { - int i_97_ = (((i_89_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_98_ = (((i_89_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_99_ = (((i_89_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_73_[i_72_] = (i_97_ | i_98_ | i_99_) >>> 8; - } else { - int i_93_ = (((i_89_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_94_ = (((i_89_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_95_ = (((i_89_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_89_ = ((i_93_ | i_94_ | i_95_) >>> 8); - int i_96_ = is_73_[i_72_]; - is_73_[i_72_] = (((((i_89_ & 0xff00ff) * (Class105_Sub3.anInt8477)) + ((i_96_ & 0xff00ff) * (Class105_Sub3.anInt8472))) & ~0xff00ff) + ((((i_89_ & 0xff00) * (Class105_Sub3.anInt8477)) + ((i_96_ & 0xff00) * (Class105_Sub3.anInt8472))) & 0xff0000)) >> 8; - } - } - } else if (i_74_ == 3) { - int i_100_ = (this.anIntArray9933[i_71_]); - int i_101_ = Class105_Sub3.anInt8480; - int i_102_ = i_100_ + i_101_; - int i_103_ = ((i_100_ & 0xff00ff) + (i_101_ & 0xff00ff)); - int i_104_ = ((i_103_ & 0x1000100) + (i_102_ - i_103_ & 0x10000)); - i_104_ = i_102_ - i_104_ | i_104_ - (i_104_ >>> 8); - if (i_100_ == 0 && Class105_Sub3.anInt8477 != 255) { - i_100_ = i_104_; - i_104_ = is_73_[i_72_]; - i_104_ = (((((i_100_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_104_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_100_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_104_ & 0xff00) * (Class105_Sub3.anInt8472))) & 0xff0000)) >> 8; - } - is_73_[i_72_] = i_104_; - } else if (i_74_ == 2) { - int i_105_ = (this.anIntArray9933[i_71_]); - if (i_105_ != 0) { - int i_106_ = (((i_105_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_107_ = (((i_105_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_73_[i_72_++] = (((i_106_ | i_107_) >>> 8) + Class105_Sub3.anInt8474); - } - } else throw new IllegalArgumentException(); - } else if (i_75_ == 2) { - if (i_74_ == 1) { - int i_108_ = (this.anIntArray9933[i_71_]); - if (i_108_ != 0) { - int i_109_ = is_73_[i_72_]; - int i_110_ = i_108_ + i_109_; - int i_111_ = ((i_108_ & 0xff00ff) + (i_109_ & 0xff00ff)); - i_109_ = ((i_111_ & 0x1000100) + (i_110_ - i_111_ & 0x10000)); - is_73_[i_72_] = (i_110_ - i_109_ | i_109_ - (i_109_ >>> 8)); - } - } else if (i_74_ == 0) { - int i_112_ = (this.anIntArray9933[i_71_]); - if (i_112_ != 0) { - int i_113_ = (((i_112_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_114_ = (((i_112_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_115_ = (((i_112_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_112_ = (i_113_ | i_114_ | i_115_) >>> 8; - int i_116_ = is_73_[i_72_]; - int i_117_ = i_112_ + i_116_; - int i_118_ = ((i_112_ & 0xff00ff) + (i_116_ & 0xff00ff)); - i_116_ = ((i_118_ & 0x1000100) + (i_117_ - i_118_ & 0x10000)); - is_73_[i_72_] = (i_117_ - i_116_ | i_116_ - (i_116_ >>> 8)); - } - } else if (i_74_ == 3) { - int i_119_ = (this.anIntArray9933[i_71_]); - int i_120_ = Class105_Sub3.anInt8480; - int i_121_ = i_119_ + i_120_; - int i_122_ = ((i_119_ & 0xff00ff) + (i_120_ & 0xff00ff)); - int i_123_ = ((i_122_ & 0x1000100) + (i_121_ - i_122_ & 0x10000)); - i_119_ = i_121_ - i_123_ | i_123_ - (i_123_ >>> 8); - i_123_ = is_73_[i_72_]; - i_121_ = i_119_ + i_123_; - i_122_ = (i_119_ & 0xff00ff) + (i_123_ & 0xff00ff); - i_123_ = ((i_122_ & 0x1000100) + (i_121_ - i_122_ & 0x10000)); - is_73_[i_72_] = i_121_ - i_123_ | i_123_ - (i_123_ >>> 8); - } else if (i_74_ == 2) { - int i_124_ = (this.anIntArray9933[i_71_]); - if (i_124_ != 0) { - int i_125_ = (((i_124_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_126_ = (((i_124_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_124_ = (((i_125_ | i_126_) >>> 8) + Class105_Sub3.anInt8474); - int i_127_ = is_73_[i_72_]; - int i_128_ = i_124_ + i_127_; - int i_129_ = ((i_124_ & 0xff00ff) + (i_127_ & 0xff00ff)); - i_127_ = ((i_129_ & 0x1000100) + (i_128_ - i_129_ & 0x10000)); - is_73_[i_72_] = (i_128_ - i_127_ | i_127_ - (i_127_ >>> 8)); - } - } - } else throw new IllegalArgumentException(); - i_68_ += Class105_Sub3.anInt8450; - } - } - i_65_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else { - int i_130_ = Class105_Sub3.anInt8468; - while (i_130_ < 0) { - int i_131_ = Class105_Sub3.anInt8451; - int i_132_ = Class105_Sub3.anInt8458; - int i_133_ = Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475; - int i_134_ = Class105_Sub3.anInt8478; - if (i_132_ >= 0 && (i_132_ - (this.anInt8471 << 12) < 0)) { - if (i_133_ < 0) { - int i_135_ = ((Class105_Sub3.anInt8450 - 1 - i_133_) / Class105_Sub3.anInt8450); - i_134_ += i_135_; - i_133_ += Class105_Sub3.anInt8450 * i_135_; - i_131_ += i_135_; - } - int i_136_; - if ((i_136_ = ((1 + i_133_ - (this.anInt8470 << 12) - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_134_) i_134_ = i_136_; - for (/**/; i_134_ < 0; i_134_++) { - int i_137_ = (((i_133_ >> 12) * this.anInt8471) + (i_132_ >> 12)); - int i_138_ = i_131_++; - int[] is_139_ = is; - int i_140_ = i; - int i_141_ = i_0_; - if (i_141_ == 0) { - if (i_140_ == 1) is_139_[i_138_] = (this.anIntArray9933[i_137_]); - else if (i_140_ == 0) { - int i_142_ = (this.anIntArray9933[i_137_++]); - int i_143_ = (((i_142_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_144_ = (((i_142_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_145_ = (((i_142_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_139_[i_138_] = (i_143_ | i_144_ | i_145_) >>> 8; - } else if (i_140_ == 3) { - int i_146_ = (this.anIntArray9933[i_137_++]); - int i_147_ = Class105_Sub3.anInt8480; - int i_148_ = i_146_ + i_147_; - int i_149_ = ((i_146_ & 0xff00ff) + (i_147_ & 0xff00ff)); - int i_150_ = ((i_149_ & 0x1000100) + (i_148_ - i_149_ & 0x10000)); - is_139_[i_138_] = i_148_ - i_150_ | i_150_ - (i_150_ >>> 8); - } else if (i_140_ == 2) { - int i_151_ = (this.anIntArray9933[i_137_]); - int i_152_ = (((i_151_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_153_ = (((i_151_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_139_[i_138_] = (((i_152_ | i_153_) >>> 8) + Class105_Sub3.anInt8474); - } else throw new IllegalArgumentException(); - } else if (i_141_ == 1) { - if (i_140_ == 1) { - int i_154_ = (this.anIntArray9933[i_137_]); - if (i_154_ != 0) is_139_[i_138_] = i_154_; - } else if (i_140_ == 0) { - int i_155_ = (this.anIntArray9933[i_137_]); - if (i_155_ != 0) { - if ((Class105_Sub3.anInt8480 & 0xffffff) == 16777215) { - int i_156_ = (Class105_Sub3.anInt8480 >>> 24); - int i_157_ = 256 - i_156_; - int i_158_ = is_139_[i_138_]; - is_139_[i_138_] = (((((i_155_ & 0xff00ff) * i_156_) + ((i_158_ & 0xff00ff) * i_157_)) & ~0xff00ff) + ((((i_155_ & 0xff00) * i_156_) + ((i_158_ & 0xff00) * i_157_)) & 0xff0000)) >> 8; - } else if (Class105_Sub3.anInt8477 == 255) { - int i_163_ = (((i_155_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_164_ = (((i_155_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_165_ = (((i_155_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_139_[i_138_] = (i_163_ | i_164_ | i_165_) >>> 8; - } else { - int i_159_ = (((i_155_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_160_ = (((i_155_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_161_ = (((i_155_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_155_ = (i_159_ | i_160_ | i_161_) >>> 8; - int i_162_ = is_139_[i_138_]; - is_139_[i_138_] = (((((i_155_ & 0xff00ff) * (Class105_Sub3.anInt8477)) + ((i_162_ & 0xff00ff) * (Class105_Sub3.anInt8472))) & ~0xff00ff) + ((((i_155_ & 0xff00) * (Class105_Sub3.anInt8477)) + ((i_162_ & 0xff00) * (Class105_Sub3.anInt8472))) & 0xff0000)) >> 8; - } - } - } else if (i_140_ == 3) { - int i_166_ = (this.anIntArray9933[i_137_]); - int i_167_ = Class105_Sub3.anInt8480; - int i_168_ = i_166_ + i_167_; - int i_169_ = ((i_166_ & 0xff00ff) + (i_167_ & 0xff00ff)); - int i_170_ = ((i_169_ & 0x1000100) + (i_168_ - i_169_ & 0x10000)); - i_170_ = i_168_ - i_170_ | i_170_ - (i_170_ >>> 8); - if (i_166_ == 0 && Class105_Sub3.anInt8477 != 255) { - i_166_ = i_170_; - i_170_ = is_139_[i_138_]; - i_170_ = (((((i_166_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_170_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_166_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_170_ & 0xff00) * (Class105_Sub3.anInt8472))) & 0xff0000)) >> 8; - } - is_139_[i_138_] = i_170_; - } else if (i_140_ == 2) { - int i_171_ = (this.anIntArray9933[i_137_]); - if (i_171_ != 0) { - int i_172_ = (((i_171_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_173_ = (((i_171_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_139_[i_138_++] = (((i_172_ | i_173_) >>> 8) + Class105_Sub3.anInt8474); - } - } else throw new IllegalArgumentException(); - } else if (i_141_ == 2) { - if (i_140_ == 1) { - int i_174_ = (this.anIntArray9933[i_137_]); - if (i_174_ != 0) { - int i_175_ = is_139_[i_138_]; - int i_176_ = i_174_ + i_175_; - int i_177_ = ((i_174_ & 0xff00ff) + (i_175_ & 0xff00ff)); - i_175_ = ((i_177_ & 0x1000100) + (i_176_ - i_177_ & 0x10000)); - is_139_[i_138_] = (i_176_ - i_175_ | i_175_ - (i_175_ >>> 8)); - } - } else if (i_140_ == 0) { - int i_178_ = (this.anIntArray9933[i_137_]); - if (i_178_ != 0) { - int i_179_ = (((i_178_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_180_ = (((i_178_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_181_ = (((i_178_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_178_ = (i_179_ | i_180_ | i_181_) >>> 8; - int i_182_ = is_139_[i_138_]; - int i_183_ = i_178_ + i_182_; - int i_184_ = ((i_178_ & 0xff00ff) + (i_182_ & 0xff00ff)); - i_182_ = ((i_184_ & 0x1000100) + (i_183_ - i_184_ & 0x10000)); - is_139_[i_138_] = (i_183_ - i_182_ | i_182_ - (i_182_ >>> 8)); - } - } else if (i_140_ == 3) { - int i_185_ = (this.anIntArray9933[i_137_]); - int i_186_ = Class105_Sub3.anInt8480; - int i_187_ = i_185_ + i_186_; - int i_188_ = ((i_185_ & 0xff00ff) + (i_186_ & 0xff00ff)); - int i_189_ = ((i_188_ & 0x1000100) + (i_187_ - i_188_ & 0x10000)); - i_185_ = i_187_ - i_189_ | i_189_ - (i_189_ >>> 8); - i_189_ = is_139_[i_138_]; - i_187_ = i_185_ + i_189_; - i_188_ = (i_185_ & 0xff00ff) + (i_189_ & 0xff00ff); - i_189_ = ((i_188_ & 0x1000100) + (i_187_ - i_188_ & 0x10000)); - is_139_[i_138_] = i_187_ - i_189_ | i_189_ - (i_189_ >>> 8); - } else if (i_140_ == 2) { - int i_190_ = (this.anIntArray9933[i_137_]); - if (i_190_ != 0) { - int i_191_ = (((i_190_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_192_ = (((i_190_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_190_ = (((i_191_ | i_192_) >>> 8) + Class105_Sub3.anInt8474); - int i_193_ = is_139_[i_138_]; - int i_194_ = i_190_ + i_193_; - int i_195_ = ((i_190_ & 0xff00ff) + (i_193_ & 0xff00ff)); - i_193_ = ((i_195_ & 0x1000100) + (i_194_ - i_195_ & 0x10000)); - is_139_[i_138_] = (i_194_ - i_193_ | i_193_ - (i_193_ >>> 8)); - } - } - } else throw new IllegalArgumentException(); - i_133_ += Class105_Sub3.anInt8450; - } - } - i_130_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } - } else if (Class105_Sub3.anInt8481 < 0) { - if (Class105_Sub3.anInt8450 == 0) { - int i_196_ = Class105_Sub3.anInt8468; - while (i_196_ < 0) { - int i_197_ = Class105_Sub3.anInt8451; - int i_198_ = Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479; - int i_199_ = Class105_Sub3.anInt8467; - int i_200_ = Class105_Sub3.anInt8478; - if (i_199_ >= 0 && (i_199_ - (this.anInt8470 << 12) < 0)) { - int i_201_; - if ((i_201_ = i_198_ - (this.anInt8471 << 12)) >= 0) { - i_201_ = ((Class105_Sub3.anInt8481 - i_201_) / Class105_Sub3.anInt8481); - i_200_ += i_201_; - i_198_ += Class105_Sub3.anInt8481 * i_201_; - i_197_ += i_201_; - } - if ((i_201_ = ((i_198_ - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_200_) i_200_ = i_201_; - for (/**/; i_200_ < 0; i_200_++) { - int i_202_ = (((i_199_ >> 12) * this.anInt8471) + (i_198_ >> 12)); - int i_203_ = i_197_++; - int[] is_204_ = is; - int i_205_ = i; - int i_206_ = i_0_; - if (i_206_ == 0) { - if (i_205_ == 1) is_204_[i_203_] = (this.anIntArray9933[i_202_]); - else if (i_205_ == 0) { - int i_207_ = (this.anIntArray9933[i_202_++]); - int i_208_ = (((i_207_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_209_ = (((i_207_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_210_ = (((i_207_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_204_[i_203_] = (i_208_ | i_209_ | i_210_) >>> 8; - } else if (i_205_ == 3) { - int i_211_ = (this.anIntArray9933[i_202_++]); - int i_212_ = Class105_Sub3.anInt8480; - int i_213_ = i_211_ + i_212_; - int i_214_ = ((i_211_ & 0xff00ff) + (i_212_ & 0xff00ff)); - int i_215_ = ((i_214_ & 0x1000100) + (i_213_ - i_214_ & 0x10000)); - is_204_[i_203_] = i_213_ - i_215_ | i_215_ - (i_215_ >>> 8); - } else if (i_205_ == 2) { - int i_216_ = (this.anIntArray9933[i_202_]); - int i_217_ = (((i_216_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_218_ = (((i_216_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_204_[i_203_] = (((i_217_ | i_218_) >>> 8) + Class105_Sub3.anInt8474); - } else throw new IllegalArgumentException(); - } else if (i_206_ == 1) { - if (i_205_ == 1) { - int i_219_ = (this.anIntArray9933[i_202_]); - if (i_219_ != 0) is_204_[i_203_] = i_219_; - } else if (i_205_ == 0) { - int i_220_ = (this.anIntArray9933[i_202_]); - if (i_220_ != 0) { - if ((Class105_Sub3.anInt8480 & 0xffffff) == 16777215) { - int i_221_ = (Class105_Sub3.anInt8480 >>> 24); - int i_222_ = 256 - i_221_; - int i_223_ = is_204_[i_203_]; - is_204_[i_203_] = (((((i_220_ & 0xff00ff) * i_221_) + ((i_223_ & 0xff00ff) * i_222_)) & ~0xff00ff) + ((((i_220_ & 0xff00) * i_221_) + ((i_223_ & 0xff00) * i_222_)) & 0xff0000)) >> 8; - } else if (Class105_Sub3.anInt8477 == 255) { - int i_228_ = (((i_220_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_229_ = (((i_220_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_230_ = (((i_220_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_204_[i_203_] = (i_228_ | i_229_ | i_230_) >>> 8; - } else { - int i_224_ = (((i_220_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_225_ = (((i_220_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_226_ = (((i_220_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_220_ = (i_224_ | i_225_ | i_226_) >>> 8; - int i_227_ = is_204_[i_203_]; - is_204_[i_203_] = (((((i_220_ & 0xff00ff) * (Class105_Sub3.anInt8477)) + ((i_227_ & 0xff00ff) * (Class105_Sub3.anInt8472))) & ~0xff00ff) + ((((i_220_ & 0xff00) * (Class105_Sub3.anInt8477)) + ((i_227_ & 0xff00) * (Class105_Sub3.anInt8472))) & 0xff0000)) >> 8; - } - } - } else if (i_205_ == 3) { - int i_231_ = (this.anIntArray9933[i_202_]); - int i_232_ = Class105_Sub3.anInt8480; - int i_233_ = i_231_ + i_232_; - int i_234_ = ((i_231_ & 0xff00ff) + (i_232_ & 0xff00ff)); - int i_235_ = ((i_234_ & 0x1000100) + (i_233_ - i_234_ & 0x10000)); - i_235_ = i_233_ - i_235_ | i_235_ - (i_235_ >>> 8); - if (i_231_ == 0 && Class105_Sub3.anInt8477 != 255) { - i_231_ = i_235_; - i_235_ = is_204_[i_203_]; - i_235_ = (((((i_231_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_235_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_231_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_235_ & 0xff00) * (Class105_Sub3.anInt8472))) & 0xff0000)) >> 8; - } - is_204_[i_203_] = i_235_; - } else if (i_205_ == 2) { - int i_236_ = (this.anIntArray9933[i_202_]); - if (i_236_ != 0) { - int i_237_ = (((i_236_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_238_ = (((i_236_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_204_[i_203_++] = (((i_237_ | i_238_) >>> 8) + Class105_Sub3.anInt8474); - } - } else throw new IllegalArgumentException(); - } else if (i_206_ == 2) { - if (i_205_ == 1) { - int i_239_ = (this.anIntArray9933[i_202_]); - if (i_239_ != 0) { - int i_240_ = is_204_[i_203_]; - int i_241_ = i_239_ + i_240_; - int i_242_ = ((i_239_ & 0xff00ff) + (i_240_ & 0xff00ff)); - i_240_ = ((i_242_ & 0x1000100) + (i_241_ - i_242_ & 0x10000)); - is_204_[i_203_] = (i_241_ - i_240_ | i_240_ - (i_240_ >>> 8)); - } - } else if (i_205_ == 0) { - int i_243_ = (this.anIntArray9933[i_202_]); - if (i_243_ != 0) { - int i_244_ = (((i_243_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_245_ = (((i_243_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_246_ = (((i_243_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_243_ = (i_244_ | i_245_ | i_246_) >>> 8; - int i_247_ = is_204_[i_203_]; - int i_248_ = i_243_ + i_247_; - int i_249_ = ((i_243_ & 0xff00ff) + (i_247_ & 0xff00ff)); - i_247_ = ((i_249_ & 0x1000100) + (i_248_ - i_249_ & 0x10000)); - is_204_[i_203_] = (i_248_ - i_247_ | i_247_ - (i_247_ >>> 8)); - } - } else if (i_205_ == 3) { - int i_250_ = (this.anIntArray9933[i_202_]); - int i_251_ = Class105_Sub3.anInt8480; - int i_252_ = i_250_ + i_251_; - int i_253_ = ((i_250_ & 0xff00ff) + (i_251_ & 0xff00ff)); - int i_254_ = ((i_253_ & 0x1000100) + (i_252_ - i_253_ & 0x10000)); - i_250_ = i_252_ - i_254_ | i_254_ - (i_254_ >>> 8); - i_254_ = is_204_[i_203_]; - i_252_ = i_250_ + i_254_; - i_253_ = (i_250_ & 0xff00ff) + (i_254_ & 0xff00ff); - i_254_ = ((i_253_ & 0x1000100) + (i_252_ - i_253_ & 0x10000)); - is_204_[i_203_] = i_252_ - i_254_ | i_254_ - (i_254_ >>> 8); - } else if (i_205_ == 2) { - int i_255_ = (this.anIntArray9933[i_202_]); - if (i_255_ != 0) { - int i_256_ = (((i_255_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_257_ = (((i_255_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_255_ = (((i_256_ | i_257_) >>> 8) + Class105_Sub3.anInt8474); - int i_258_ = is_204_[i_203_]; - int i_259_ = i_255_ + i_258_; - int i_260_ = ((i_255_ & 0xff00ff) + (i_258_ & 0xff00ff)); - i_258_ = ((i_260_ & 0x1000100) + (i_259_ - i_260_ & 0x10000)); - is_204_[i_203_] = (i_259_ - i_258_ | i_258_ - (i_258_ >>> 8)); - } - } - } else throw new IllegalArgumentException(); - i_198_ += Class105_Sub3.anInt8481; - } - } - i_196_++; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else if (Class105_Sub3.anInt8450 < 0) { - int i_261_ = Class105_Sub3.anInt8468; - while (i_261_ < 0) { - int i_262_ = Class105_Sub3.anInt8451; - int i_263_ = Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479; - int i_264_ = Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475; - int i_265_ = Class105_Sub3.anInt8478; - int i_266_; - if ((i_266_ = i_263_ - (this.anInt8471 << 12)) >= 0) { - i_266_ = ((Class105_Sub3.anInt8481 - i_266_) / Class105_Sub3.anInt8481); - i_265_ += i_266_; - i_263_ += Class105_Sub3.anInt8481 * i_266_; - i_264_ += Class105_Sub3.anInt8450 * i_266_; - i_262_ += i_266_; - } - if ((i_266_ = ((i_263_ - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_265_) i_265_ = i_266_; - if ((i_266_ = i_264_ - (this.anInt8470 << 12)) >= 0) { - i_266_ = ((Class105_Sub3.anInt8450 - i_266_) / Class105_Sub3.anInt8450); - i_265_ += i_266_; - i_263_ += Class105_Sub3.anInt8481 * i_266_; - i_264_ += Class105_Sub3.anInt8450 * i_266_; - i_262_ += i_266_; - } - if ((i_266_ = ((i_264_ - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_265_) i_265_ = i_266_; - for (/**/; i_265_ < 0; i_265_++) { - int i_267_ = (((i_264_ >> 12) * this.anInt8471) + (i_263_ >> 12)); - int i_268_ = i_262_++; - int[] is_269_ = is; - int i_270_ = i; - int i_271_ = i_0_; - if (i_271_ == 0) { - if (i_270_ == 1) is_269_[i_268_] = (this.anIntArray9933[i_267_]); - else if (i_270_ == 0) { - int i_272_ = (this.anIntArray9933[i_267_++]); - int i_273_ = (((i_272_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_274_ = (((i_272_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_275_ = (((i_272_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_269_[i_268_] = (i_273_ | i_274_ | i_275_) >>> 8; - } else if (i_270_ == 3) { - int i_276_ = (this.anIntArray9933[i_267_++]); - int i_277_ = Class105_Sub3.anInt8480; - int i_278_ = i_276_ + i_277_; - int i_279_ = ((i_276_ & 0xff00ff) + (i_277_ & 0xff00ff)); - int i_280_ = ((i_279_ & 0x1000100) + (i_278_ - i_279_ & 0x10000)); - is_269_[i_268_] = i_278_ - i_280_ | i_280_ - (i_280_ >>> 8); - } else if (i_270_ == 2) { - int i_281_ = (this.anIntArray9933[i_267_]); - int i_282_ = (((i_281_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_283_ = (((i_281_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_269_[i_268_] = (((i_282_ | i_283_) >>> 8) + Class105_Sub3.anInt8474); - } else throw new IllegalArgumentException(); - } else if (i_271_ == 1) { - if (i_270_ == 1) { - int i_284_ = (this.anIntArray9933[i_267_]); - if (i_284_ != 0) is_269_[i_268_] = i_284_; - } else if (i_270_ == 0) { - int i_285_ = (this.anIntArray9933[i_267_]); - if (i_285_ != 0) { - if ((Class105_Sub3.anInt8480 & 0xffffff) == 16777215) { - int i_286_ = Class105_Sub3.anInt8480 >>> 24; - int i_287_ = 256 - i_286_; - int i_288_ = is_269_[i_268_]; - is_269_[i_268_] = ((((i_285_ & 0xff00ff) * i_286_ + ((i_288_ & 0xff00ff) * i_287_)) & ~0xff00ff) + (((i_285_ & 0xff00) * i_286_ + ((i_288_ & 0xff00) * i_287_)) & 0xff0000)) >> 8; - } else if (Class105_Sub3.anInt8477 == 255) { - int i_293_ = (((i_285_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_294_ = (((i_285_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_295_ = (((i_285_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_269_[i_268_] = (i_293_ | i_294_ | i_295_) >>> 8; - } else { - int i_289_ = (((i_285_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_290_ = (((i_285_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_291_ = (((i_285_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_285_ = (i_289_ | i_290_ | i_291_) >>> 8; - int i_292_ = is_269_[i_268_]; - is_269_[i_268_] = (((((i_285_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_292_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_285_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_292_ & 0xff00) * (Class105_Sub3.anInt8472))) & 0xff0000)) >> 8; - } - } - } else if (i_270_ == 3) { - int i_296_ = (this.anIntArray9933[i_267_]); - int i_297_ = Class105_Sub3.anInt8480; - int i_298_ = i_296_ + i_297_; - int i_299_ = ((i_296_ & 0xff00ff) + (i_297_ & 0xff00ff)); - int i_300_ = ((i_299_ & 0x1000100) + (i_298_ - i_299_ & 0x10000)); - i_300_ = i_298_ - i_300_ | i_300_ - (i_300_ >>> 8); - if (i_296_ == 0 && Class105_Sub3.anInt8477 != 255) { - i_296_ = i_300_; - i_300_ = is_269_[i_268_]; - i_300_ = (((((i_296_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_300_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_296_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_300_ & 0xff00) * Class105_Sub3.anInt8472)) & 0xff0000)) >> 8; - } - is_269_[i_268_] = i_300_; - } else if (i_270_ == 2) { - int i_301_ = (this.anIntArray9933[i_267_]); - if (i_301_ != 0) { - int i_302_ = (((i_301_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_303_ = (((i_301_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_269_[i_268_++] = (((i_302_ | i_303_) >>> 8) + Class105_Sub3.anInt8474); - } - } else throw new IllegalArgumentException(); - } else if (i_271_ == 2) { - if (i_270_ == 1) { - int i_304_ = (this.anIntArray9933[i_267_]); - if (i_304_ != 0) { - int i_305_ = is_269_[i_268_]; - int i_306_ = i_304_ + i_305_; - int i_307_ = ((i_304_ & 0xff00ff) + (i_305_ & 0xff00ff)); - i_305_ = ((i_307_ & 0x1000100) + (i_306_ - i_307_ & 0x10000)); - is_269_[i_268_] = i_306_ - i_305_ | i_305_ - (i_305_ >>> 8); - } - } else if (i_270_ == 0) { - int i_308_ = (this.anIntArray9933[i_267_]); - if (i_308_ != 0) { - int i_309_ = (((i_308_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_310_ = (((i_308_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_311_ = (((i_308_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_308_ = (i_309_ | i_310_ | i_311_) >>> 8; - int i_312_ = is_269_[i_268_]; - int i_313_ = i_308_ + i_312_; - int i_314_ = ((i_308_ & 0xff00ff) + (i_312_ & 0xff00ff)); - i_312_ = ((i_314_ & 0x1000100) + (i_313_ - i_314_ & 0x10000)); - is_269_[i_268_] = i_313_ - i_312_ | i_312_ - (i_312_ >>> 8); - } - } else if (i_270_ == 3) { - int i_315_ = (this.anIntArray9933[i_267_]); - int i_316_ = Class105_Sub3.anInt8480; - int i_317_ = i_315_ + i_316_; - int i_318_ = ((i_315_ & 0xff00ff) + (i_316_ & 0xff00ff)); - int i_319_ = ((i_318_ & 0x1000100) + (i_317_ - i_318_ & 0x10000)); - i_315_ = i_317_ - i_319_ | i_319_ - (i_319_ >>> 8); - i_319_ = is_269_[i_268_]; - i_317_ = i_315_ + i_319_; - i_318_ = (i_315_ & 0xff00ff) + (i_319_ & 0xff00ff); - i_319_ = (i_318_ & 0x1000100) + (i_317_ - i_318_ & 0x10000); - is_269_[i_268_] = i_317_ - i_319_ | i_319_ - (i_319_ >>> 8); - } else if (i_270_ == 2) { - int i_320_ = (this.anIntArray9933[i_267_]); - if (i_320_ != 0) { - int i_321_ = (((i_320_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_322_ = (((i_320_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_320_ = (((i_321_ | i_322_) >>> 8) + Class105_Sub3.anInt8474); - int i_323_ = is_269_[i_268_]; - int i_324_ = i_320_ + i_323_; - int i_325_ = ((i_320_ & 0xff00ff) + (i_323_ & 0xff00ff)); - i_323_ = ((i_325_ & 0x1000100) + (i_324_ - i_325_ & 0x10000)); - is_269_[i_268_] = i_324_ - i_323_ | i_323_ - (i_323_ >>> 8); - } - } - } else throw new IllegalArgumentException(); - i_263_ += Class105_Sub3.anInt8481; - i_264_ += Class105_Sub3.anInt8450; - } - i_261_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else { - int i_326_ = Class105_Sub3.anInt8468; - while (i_326_ < 0) { - int i_327_ = Class105_Sub3.anInt8451; - int i_328_ = Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479; - int i_329_ = Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475; - int i_330_ = Class105_Sub3.anInt8478; - int i_331_; - if ((i_331_ = i_328_ - (this.anInt8471 << 12)) >= 0) { - i_331_ = ((Class105_Sub3.anInt8481 - i_331_) / Class105_Sub3.anInt8481); - i_330_ += i_331_; - i_328_ += Class105_Sub3.anInt8481 * i_331_; - i_329_ += Class105_Sub3.anInt8450 * i_331_; - i_327_ += i_331_; - } - if ((i_331_ = ((i_328_ - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_330_) i_330_ = i_331_; - if (i_329_ < 0) { - i_331_ = ((Class105_Sub3.anInt8450 - 1 - i_329_) / Class105_Sub3.anInt8450); - i_330_ += i_331_; - i_328_ += Class105_Sub3.anInt8481 * i_331_; - i_329_ += Class105_Sub3.anInt8450 * i_331_; - i_327_ += i_331_; - } - if ((i_331_ = ((1 + i_329_ - (this.anInt8470 << 12) - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_330_) i_330_ = i_331_; - for (/**/; i_330_ < 0; i_330_++) { - int i_332_ = (((i_329_ >> 12) * this.anInt8471) + (i_328_ >> 12)); - int i_333_ = i_327_++; - int[] is_334_ = is; - int i_335_ = i; - int i_336_ = i_0_; - if (i_336_ == 0) { - if (i_335_ == 1) is_334_[i_333_] = (this.anIntArray9933[i_332_]); - else if (i_335_ == 0) { - int i_337_ = (this.anIntArray9933[i_332_++]); - int i_338_ = (((i_337_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_339_ = (((i_337_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_340_ = (((i_337_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_334_[i_333_] = (i_338_ | i_339_ | i_340_) >>> 8; - } else if (i_335_ == 3) { - int i_341_ = (this.anIntArray9933[i_332_++]); - int i_342_ = Class105_Sub3.anInt8480; - int i_343_ = i_341_ + i_342_; - int i_344_ = ((i_341_ & 0xff00ff) + (i_342_ & 0xff00ff)); - int i_345_ = ((i_344_ & 0x1000100) + (i_343_ - i_344_ & 0x10000)); - is_334_[i_333_] = i_343_ - i_345_ | i_345_ - (i_345_ >>> 8); - } else if (i_335_ == 2) { - int i_346_ = (this.anIntArray9933[i_332_]); - int i_347_ = (((i_346_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_348_ = (((i_346_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_334_[i_333_] = (((i_347_ | i_348_) >>> 8) + Class105_Sub3.anInt8474); - } else throw new IllegalArgumentException(); - } else if (i_336_ == 1) { - if (i_335_ == 1) { - int i_349_ = (this.anIntArray9933[i_332_]); - if (i_349_ != 0) is_334_[i_333_] = i_349_; - } else if (i_335_ == 0) { - int i_350_ = (this.anIntArray9933[i_332_]); - if (i_350_ != 0) { - if ((Class105_Sub3.anInt8480 & 0xffffff) == 16777215) { - int i_351_ = Class105_Sub3.anInt8480 >>> 24; - int i_352_ = 256 - i_351_; - int i_353_ = is_334_[i_333_]; - is_334_[i_333_] = ((((i_350_ & 0xff00ff) * i_351_ + ((i_353_ & 0xff00ff) * i_352_)) & ~0xff00ff) + (((i_350_ & 0xff00) * i_351_ + ((i_353_ & 0xff00) * i_352_)) & 0xff0000)) >> 8; - } else if (Class105_Sub3.anInt8477 == 255) { - int i_358_ = (((i_350_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_359_ = (((i_350_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_360_ = (((i_350_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_334_[i_333_] = (i_358_ | i_359_ | i_360_) >>> 8; - } else { - int i_354_ = (((i_350_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_355_ = (((i_350_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_356_ = (((i_350_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_350_ = (i_354_ | i_355_ | i_356_) >>> 8; - int i_357_ = is_334_[i_333_]; - is_334_[i_333_] = (((((i_350_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_357_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_350_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_357_ & 0xff00) * (Class105_Sub3.anInt8472))) & 0xff0000)) >> 8; - } - } - } else if (i_335_ == 3) { - int i_361_ = (this.anIntArray9933[i_332_]); - int i_362_ = Class105_Sub3.anInt8480; - int i_363_ = i_361_ + i_362_; - int i_364_ = ((i_361_ & 0xff00ff) + (i_362_ & 0xff00ff)); - int i_365_ = ((i_364_ & 0x1000100) + (i_363_ - i_364_ & 0x10000)); - i_365_ = i_363_ - i_365_ | i_365_ - (i_365_ >>> 8); - if (i_361_ == 0 && Class105_Sub3.anInt8477 != 255) { - i_361_ = i_365_; - i_365_ = is_334_[i_333_]; - i_365_ = (((((i_361_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_365_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_361_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_365_ & 0xff00) * Class105_Sub3.anInt8472)) & 0xff0000)) >> 8; - } - is_334_[i_333_] = i_365_; - } else if (i_335_ == 2) { - int i_366_ = (this.anIntArray9933[i_332_]); - if (i_366_ != 0) { - int i_367_ = (((i_366_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_368_ = (((i_366_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_334_[i_333_++] = (((i_367_ | i_368_) >>> 8) + Class105_Sub3.anInt8474); - } - } else throw new IllegalArgumentException(); - } else if (i_336_ == 2) { - if (i_335_ == 1) { - int i_369_ = (this.anIntArray9933[i_332_]); - if (i_369_ != 0) { - int i_370_ = is_334_[i_333_]; - int i_371_ = i_369_ + i_370_; - int i_372_ = ((i_369_ & 0xff00ff) + (i_370_ & 0xff00ff)); - i_370_ = ((i_372_ & 0x1000100) + (i_371_ - i_372_ & 0x10000)); - is_334_[i_333_] = i_371_ - i_370_ | i_370_ - (i_370_ >>> 8); - } - } else if (i_335_ == 0) { - int i_373_ = (this.anIntArray9933[i_332_]); - if (i_373_ != 0) { - int i_374_ = (((i_373_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_375_ = (((i_373_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_376_ = (((i_373_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_373_ = (i_374_ | i_375_ | i_376_) >>> 8; - int i_377_ = is_334_[i_333_]; - int i_378_ = i_373_ + i_377_; - int i_379_ = ((i_373_ & 0xff00ff) + (i_377_ & 0xff00ff)); - i_377_ = ((i_379_ & 0x1000100) + (i_378_ - i_379_ & 0x10000)); - is_334_[i_333_] = i_378_ - i_377_ | i_377_ - (i_377_ >>> 8); - } - } else if (i_335_ == 3) { - int i_380_ = (this.anIntArray9933[i_332_]); - int i_381_ = Class105_Sub3.anInt8480; - int i_382_ = i_380_ + i_381_; - int i_383_ = ((i_380_ & 0xff00ff) + (i_381_ & 0xff00ff)); - int i_384_ = ((i_383_ & 0x1000100) + (i_382_ - i_383_ & 0x10000)); - i_380_ = i_382_ - i_384_ | i_384_ - (i_384_ >>> 8); - i_384_ = is_334_[i_333_]; - i_382_ = i_380_ + i_384_; - i_383_ = (i_380_ & 0xff00ff) + (i_384_ & 0xff00ff); - i_384_ = (i_383_ & 0x1000100) + (i_382_ - i_383_ & 0x10000); - is_334_[i_333_] = i_382_ - i_384_ | i_384_ - (i_384_ >>> 8); - } else if (i_335_ == 2) { - int i_385_ = (this.anIntArray9933[i_332_]); - if (i_385_ != 0) { - int i_386_ = (((i_385_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_387_ = (((i_385_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_385_ = (((i_386_ | i_387_) >>> 8) + Class105_Sub3.anInt8474); - int i_388_ = is_334_[i_333_]; - int i_389_ = i_385_ + i_388_; - int i_390_ = ((i_385_ & 0xff00ff) + (i_388_ & 0xff00ff)); - i_388_ = ((i_390_ & 0x1000100) + (i_389_ - i_390_ & 0x10000)); - is_334_[i_333_] = i_389_ - i_388_ | i_388_ - (i_388_ >>> 8); - } - } - } else throw new IllegalArgumentException(); - i_328_ += Class105_Sub3.anInt8481; - i_329_ += Class105_Sub3.anInt8450; - } - i_326_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } - } else if (Class105_Sub3.anInt8450 == 0) { - int i_391_ = Class105_Sub3.anInt8468; - while (i_391_ < 0) { - int i_392_ = Class105_Sub3.anInt8451; - int i_393_ = Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479; - int i_394_ = Class105_Sub3.anInt8467; - int i_395_ = Class105_Sub3.anInt8478; - if (i_394_ >= 0 && i_394_ - (this.anInt8470 << 12) < 0) { - if (i_393_ < 0) { - int i_396_ = ((Class105_Sub3.anInt8481 - 1 - i_393_) / Class105_Sub3.anInt8481); - i_395_ += i_396_; - i_393_ += Class105_Sub3.anInt8481 * i_396_; - i_392_ += i_396_; - } - int i_397_; - if ((i_397_ = ((1 + i_393_ - (this.anInt8471 << 12) - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_395_) i_395_ = i_397_; - for (/**/; i_395_ < 0; i_395_++) { - int i_398_ = (((i_394_ >> 12) * this.anInt8471) + (i_393_ >> 12)); - int i_399_ = i_392_++; - int[] is_400_ = is; - int i_401_ = i; - int i_402_ = i_0_; - if (i_402_ == 0) { - if (i_401_ == 1) is_400_[i_399_] = (this.anIntArray9933[i_398_]); - else if (i_401_ == 0) { - int i_403_ = (this.anIntArray9933[i_398_++]); - int i_404_ = (((i_403_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_405_ = (((i_403_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_406_ = (((i_403_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_400_[i_399_] = (i_404_ | i_405_ | i_406_) >>> 8; - } else if (i_401_ == 3) { - int i_407_ = (this.anIntArray9933[i_398_++]); - int i_408_ = Class105_Sub3.anInt8480; - int i_409_ = i_407_ + i_408_; - int i_410_ = ((i_407_ & 0xff00ff) + (i_408_ & 0xff00ff)); - int i_411_ = ((i_410_ & 0x1000100) + (i_409_ - i_410_ & 0x10000)); - is_400_[i_399_] = i_409_ - i_411_ | i_411_ - (i_411_ >>> 8); - } else if (i_401_ == 2) { - int i_412_ = (this.anIntArray9933[i_398_]); - int i_413_ = (((i_412_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_414_ = (((i_412_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_400_[i_399_] = (((i_413_ | i_414_) >>> 8) + Class105_Sub3.anInt8474); - } else throw new IllegalArgumentException(); - } else if (i_402_ == 1) { - if (i_401_ == 1) { - int i_415_ = (this.anIntArray9933[i_398_]); - if (i_415_ != 0) is_400_[i_399_] = i_415_; - } else if (i_401_ == 0) { - int i_416_ = (this.anIntArray9933[i_398_]); - if (i_416_ != 0) { - if ((Class105_Sub3.anInt8480 & 0xffffff) == 16777215) { - int i_417_ = Class105_Sub3.anInt8480 >>> 24; - int i_418_ = 256 - i_417_; - int i_419_ = is_400_[i_399_]; - is_400_[i_399_] = ((((i_416_ & 0xff00ff) * i_417_ + ((i_419_ & 0xff00ff) * i_418_)) & ~0xff00ff) + (((i_416_ & 0xff00) * i_417_ + ((i_419_ & 0xff00) * i_418_)) & 0xff0000)) >> 8; - } else if (Class105_Sub3.anInt8477 == 255) { - int i_424_ = (((i_416_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_425_ = (((i_416_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_426_ = (((i_416_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_400_[i_399_] = (i_424_ | i_425_ | i_426_) >>> 8; - } else { - int i_420_ = (((i_416_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_421_ = (((i_416_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_422_ = (((i_416_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_416_ = (i_420_ | i_421_ | i_422_) >>> 8; - int i_423_ = is_400_[i_399_]; - is_400_[i_399_] = (((((i_416_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_423_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_416_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_423_ & 0xff00) * (Class105_Sub3.anInt8472))) & 0xff0000)) >> 8; - } - } - } else if (i_401_ == 3) { - int i_427_ = (this.anIntArray9933[i_398_]); - int i_428_ = Class105_Sub3.anInt8480; - int i_429_ = i_427_ + i_428_; - int i_430_ = ((i_427_ & 0xff00ff) + (i_428_ & 0xff00ff)); - int i_431_ = ((i_430_ & 0x1000100) + (i_429_ - i_430_ & 0x10000)); - i_431_ = i_429_ - i_431_ | i_431_ - (i_431_ >>> 8); - if (i_427_ == 0 && Class105_Sub3.anInt8477 != 255) { - i_427_ = i_431_; - i_431_ = is_400_[i_399_]; - i_431_ = (((((i_427_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_431_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_427_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_431_ & 0xff00) * Class105_Sub3.anInt8472)) & 0xff0000)) >> 8; - } - is_400_[i_399_] = i_431_; - } else if (i_401_ == 2) { - int i_432_ = (this.anIntArray9933[i_398_]); - if (i_432_ != 0) { - int i_433_ = (((i_432_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_434_ = (((i_432_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_400_[i_399_++] = (((i_433_ | i_434_) >>> 8) + Class105_Sub3.anInt8474); - } - } else throw new IllegalArgumentException(); - } else if (i_402_ == 2) { - if (i_401_ == 1) { - int i_435_ = (this.anIntArray9933[i_398_]); - if (i_435_ != 0) { - int i_436_ = is_400_[i_399_]; - int i_437_ = i_435_ + i_436_; - int i_438_ = ((i_435_ & 0xff00ff) + (i_436_ & 0xff00ff)); - i_436_ = ((i_438_ & 0x1000100) + (i_437_ - i_438_ & 0x10000)); - is_400_[i_399_] = i_437_ - i_436_ | i_436_ - (i_436_ >>> 8); - } - } else if (i_401_ == 0) { - int i_439_ = (this.anIntArray9933[i_398_]); - if (i_439_ != 0) { - int i_440_ = (((i_439_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_441_ = (((i_439_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_442_ = (((i_439_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_439_ = (i_440_ | i_441_ | i_442_) >>> 8; - int i_443_ = is_400_[i_399_]; - int i_444_ = i_439_ + i_443_; - int i_445_ = ((i_439_ & 0xff00ff) + (i_443_ & 0xff00ff)); - i_443_ = ((i_445_ & 0x1000100) + (i_444_ - i_445_ & 0x10000)); - is_400_[i_399_] = i_444_ - i_443_ | i_443_ - (i_443_ >>> 8); - } - } else if (i_401_ == 3) { - int i_446_ = (this.anIntArray9933[i_398_]); - int i_447_ = Class105_Sub3.anInt8480; - int i_448_ = i_446_ + i_447_; - int i_449_ = ((i_446_ & 0xff00ff) + (i_447_ & 0xff00ff)); - int i_450_ = ((i_449_ & 0x1000100) + (i_448_ - i_449_ & 0x10000)); - i_446_ = i_448_ - i_450_ | i_450_ - (i_450_ >>> 8); - i_450_ = is_400_[i_399_]; - i_448_ = i_446_ + i_450_; - i_449_ = (i_446_ & 0xff00ff) + (i_450_ & 0xff00ff); - i_450_ = (i_449_ & 0x1000100) + (i_448_ - i_449_ & 0x10000); - is_400_[i_399_] = i_448_ - i_450_ | i_450_ - (i_450_ >>> 8); - } else if (i_401_ == 2) { - int i_451_ = (this.anIntArray9933[i_398_]); - if (i_451_ != 0) { - int i_452_ = (((i_451_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_453_ = (((i_451_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_451_ = (((i_452_ | i_453_) >>> 8) + Class105_Sub3.anInt8474); - int i_454_ = is_400_[i_399_]; - int i_455_ = i_451_ + i_454_; - int i_456_ = ((i_451_ & 0xff00ff) + (i_454_ & 0xff00ff)); - i_454_ = ((i_456_ & 0x1000100) + (i_455_ - i_456_ & 0x10000)); - is_400_[i_399_] = i_455_ - i_454_ | i_454_ - (i_454_ >>> 8); - } - } - } else throw new IllegalArgumentException(); - i_393_ += Class105_Sub3.anInt8481; - } - } - i_391_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else if (Class105_Sub3.anInt8450 < 0) { - for (int i_457_ = Class105_Sub3.anInt8468; i_457_ < 0; i_457_++) { - int i_458_ = Class105_Sub3.anInt8451; - int i_459_ = Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479; - int i_460_ = Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475; - int i_461_ = Class105_Sub3.anInt8478; - if (i_459_ < 0) { - int i_462_ = ((Class105_Sub3.anInt8481 - 1 - i_459_) / Class105_Sub3.anInt8481); - i_461_ += i_462_; - i_459_ += Class105_Sub3.anInt8481 * i_462_; - i_460_ += Class105_Sub3.anInt8450 * i_462_; - i_458_ += i_462_; - } - int i_463_; - if ((i_463_ = (1 + i_459_ - (this.anInt8471 << 12) - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481) > i_461_) i_461_ = i_463_; - if ((i_463_ = i_460_ - (this.anInt8470 << 12)) >= 0) { - i_463_ = ((Class105_Sub3.anInt8450 - i_463_) / Class105_Sub3.anInt8450); - i_461_ += i_463_; - i_459_ += Class105_Sub3.anInt8481 * i_463_; - i_460_ += Class105_Sub3.anInt8450 * i_463_; - i_458_ += i_463_; - } - if ((i_463_ = ((i_460_ - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_461_) i_461_ = i_463_; - for (/**/; i_461_ < 0; i_461_++) { - int i_464_ = ((i_460_ >> 12) * this.anInt8471 + (i_459_ >> 12)); - int i_465_ = i_458_++; - int[] is_466_ = is; - int i_467_ = i; - int i_468_ = i_0_; - if (i_468_ == 0) { - if (i_467_ == 1) is_466_[i_465_] = (this.anIntArray9933[i_464_]); - else if (i_467_ == 0) { - int i_469_ = (this.anIntArray9933[i_464_++]); - int i_470_ = (((i_469_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_471_ = ((i_469_ & 0xff00) * Class105_Sub3.anInt8463 & 0xff0000); - int i_472_ = ((i_469_ & 0xff) * Class105_Sub3.anInt8465 & 0xff00); - is_466_[i_465_] = (i_470_ | i_471_ | i_472_) >>> 8; - } else if (i_467_ == 3) { - int i_473_ = (this.anIntArray9933[i_464_++]); - int i_474_ = Class105_Sub3.anInt8480; - int i_475_ = i_473_ + i_474_; - int i_476_ = (i_473_ & 0xff00ff) + (i_474_ & 0xff00ff); - int i_477_ = ((i_476_ & 0x1000100) + (i_475_ - i_476_ & 0x10000)); - is_466_[i_465_] = i_475_ - i_477_ | i_477_ - (i_477_ >>> 8); - } else if (i_467_ == 2) { - int i_478_ = (this.anIntArray9933[i_464_]); - int i_479_ = (((i_478_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_480_ = ((i_478_ & 0xff00) * Class105_Sub3.anInt8477 & 0xff0000); - is_466_[i_465_] = (((i_479_ | i_480_) >>> 8) + Class105_Sub3.anInt8474); - } else throw new IllegalArgumentException(); - } else if (i_468_ == 1) { - if (i_467_ == 1) { - int i_481_ = (this.anIntArray9933[i_464_]); - if (i_481_ != 0) is_466_[i_465_] = i_481_; - } else if (i_467_ == 0) { - int i_482_ = (this.anIntArray9933[i_464_]); - if (i_482_ != 0) { - if ((Class105_Sub3.anInt8480 & 0xffffff) == 16777215) { - int i_483_ = Class105_Sub3.anInt8480 >>> 24; - int i_484_ = 256 - i_483_; - int i_485_ = is_466_[i_465_]; - is_466_[i_465_] = ((((i_482_ & 0xff00ff) * i_483_ + (i_485_ & 0xff00ff) * i_484_) & ~0xff00ff) + (((i_482_ & 0xff00) * i_483_ + (i_485_ & 0xff00) * i_484_) & 0xff0000)) >> 8; - } else if (Class105_Sub3.anInt8477 == 255) { - int i_490_ = (((i_482_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_491_ = (((i_482_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_492_ = (((i_482_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_466_[i_465_] = (i_490_ | i_491_ | i_492_) >>> 8; - } else { - int i_486_ = (((i_482_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_487_ = (((i_482_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_488_ = (((i_482_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_482_ = (i_486_ | i_487_ | i_488_) >>> 8; - int i_489_ = is_466_[i_465_]; - is_466_[i_465_] = (((((i_482_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_489_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_482_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_489_ & 0xff00) * Class105_Sub3.anInt8472)) & 0xff0000)) >> 8; - } - } - } else if (i_467_ == 3) { - int i_493_ = (this.anIntArray9933[i_464_]); - int i_494_ = Class105_Sub3.anInt8480; - int i_495_ = i_493_ + i_494_; - int i_496_ = (i_493_ & 0xff00ff) + (i_494_ & 0xff00ff); - int i_497_ = ((i_496_ & 0x1000100) + (i_495_ - i_496_ & 0x10000)); - i_497_ = i_495_ - i_497_ | i_497_ - (i_497_ >>> 8); - if (i_493_ == 0 && Class105_Sub3.anInt8477 != 255) { - i_493_ = i_497_; - i_497_ = is_466_[i_465_]; - i_497_ = (((((i_493_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_497_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_493_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_497_ & 0xff00) * Class105_Sub3.anInt8472)) & 0xff0000)) >> 8; - } - is_466_[i_465_] = i_497_; - } else if (i_467_ == 2) { - int i_498_ = (this.anIntArray9933[i_464_]); - if (i_498_ != 0) { - int i_499_ = (((i_498_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_500_ = (((i_498_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_466_[i_465_++] = (((i_499_ | i_500_) >>> 8) + Class105_Sub3.anInt8474); - } - } else throw new IllegalArgumentException(); - } else if (i_468_ == 2) { - if (i_467_ == 1) { - int i_501_ = (this.anIntArray9933[i_464_]); - if (i_501_ != 0) { - int i_502_ = is_466_[i_465_]; - int i_503_ = i_501_ + i_502_; - int i_504_ = ((i_501_ & 0xff00ff) + (i_502_ & 0xff00ff)); - i_502_ = (i_504_ & 0x1000100) + (i_503_ - i_504_ & 0x10000); - is_466_[i_465_] = i_503_ - i_502_ | i_502_ - (i_502_ >>> 8); - } - } else if (i_467_ == 0) { - int i_505_ = (this.anIntArray9933[i_464_]); - if (i_505_ != 0) { - int i_506_ = (((i_505_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_507_ = (((i_505_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_508_ = (((i_505_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_505_ = (i_506_ | i_507_ | i_508_) >>> 8; - int i_509_ = is_466_[i_465_]; - int i_510_ = i_505_ + i_509_; - int i_511_ = ((i_505_ & 0xff00ff) + (i_509_ & 0xff00ff)); - i_509_ = (i_511_ & 0x1000100) + (i_510_ - i_511_ & 0x10000); - is_466_[i_465_] = i_510_ - i_509_ | i_509_ - (i_509_ >>> 8); - } - } else if (i_467_ == 3) { - int i_512_ = (this.anIntArray9933[i_464_]); - int i_513_ = Class105_Sub3.anInt8480; - int i_514_ = i_512_ + i_513_; - int i_515_ = (i_512_ & 0xff00ff) + (i_513_ & 0xff00ff); - int i_516_ = ((i_515_ & 0x1000100) + (i_514_ - i_515_ & 0x10000)); - i_512_ = i_514_ - i_516_ | i_516_ - (i_516_ >>> 8); - i_516_ = is_466_[i_465_]; - i_514_ = i_512_ + i_516_; - i_515_ = (i_512_ & 0xff00ff) + (i_516_ & 0xff00ff); - i_516_ = (i_515_ & 0x1000100) + (i_514_ - i_515_ & 0x10000); - is_466_[i_465_] = i_514_ - i_516_ | i_516_ - (i_516_ >>> 8); - } else if (i_467_ == 2) { - int i_517_ = (this.anIntArray9933[i_464_]); - if (i_517_ != 0) { - int i_518_ = (((i_517_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_519_ = (((i_517_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_517_ = (((i_518_ | i_519_) >>> 8) + Class105_Sub3.anInt8474); - int i_520_ = is_466_[i_465_]; - int i_521_ = i_517_ + i_520_; - int i_522_ = ((i_517_ & 0xff00ff) + (i_520_ & 0xff00ff)); - i_520_ = (i_522_ & 0x1000100) + (i_521_ - i_522_ & 0x10000); - is_466_[i_465_] = i_521_ - i_520_ | i_520_ - (i_520_ >>> 8); - } - } - } else throw new IllegalArgumentException(); - i_459_ += Class105_Sub3.anInt8481; - i_460_ += Class105_Sub3.anInt8450; - } - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else { - for (int i_523_ = Class105_Sub3.anInt8468; i_523_ < 0; i_523_++) { - int i_524_ = Class105_Sub3.anInt8451; - int i_525_ = Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479; - int i_526_ = Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475; - int i_527_ = Class105_Sub3.anInt8478; - if (i_525_ < 0) { - int i_528_ = ((Class105_Sub3.anInt8481 - 1 - i_525_) / Class105_Sub3.anInt8481); - i_527_ += i_528_; - i_525_ += Class105_Sub3.anInt8481 * i_528_; - i_526_ += Class105_Sub3.anInt8450 * i_528_; - i_524_ += i_528_; - } - int i_529_; - if ((i_529_ = (1 + i_525_ - (this.anInt8471 << 12) - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481) > i_527_) i_527_ = i_529_; - if (i_526_ < 0) { - i_529_ = ((Class105_Sub3.anInt8450 - 1 - i_526_) / Class105_Sub3.anInt8450); - i_527_ += i_529_; - i_525_ += Class105_Sub3.anInt8481 * i_529_; - i_526_ += Class105_Sub3.anInt8450 * i_529_; - i_524_ += i_529_; - } - if ((i_529_ = (1 + i_526_ - (this.anInt8470 << 12) - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450) > i_527_) i_527_ = i_529_; - for (/**/; i_527_ < 0; i_527_++) { - int i_530_ = ((i_526_ >> 12) * this.anInt8471 + (i_525_ >> 12)); - int i_531_ = i_524_++; - int[] is_532_ = is; - int i_533_ = i; - int i_534_ = i_0_; - if (i_534_ == 0) { - if (i_533_ == 1) is_532_[i_531_] = (this.anIntArray9933[i_530_]); - else if (i_533_ == 0) { - int i_535_ = (this.anIntArray9933[i_530_++]); - int i_536_ = (((i_535_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_537_ = ((i_535_ & 0xff00) * Class105_Sub3.anInt8463 & 0xff0000); - int i_538_ = ((i_535_ & 0xff) * Class105_Sub3.anInt8465 & 0xff00); - is_532_[i_531_] = (i_536_ | i_537_ | i_538_) >>> 8; - } else if (i_533_ == 3) { - int i_539_ = (this.anIntArray9933[i_530_++]); - int i_540_ = Class105_Sub3.anInt8480; - int i_541_ = i_539_ + i_540_; - int i_542_ = (i_539_ & 0xff00ff) + (i_540_ & 0xff00ff); - int i_543_ = ((i_542_ & 0x1000100) + (i_541_ - i_542_ & 0x10000)); - is_532_[i_531_] = i_541_ - i_543_ | i_543_ - (i_543_ >>> 8); - } else if (i_533_ == 2) { - int i_544_ = (this.anIntArray9933[i_530_]); - int i_545_ = (((i_544_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_546_ = ((i_544_ & 0xff00) * Class105_Sub3.anInt8477 & 0xff0000); - is_532_[i_531_] = (((i_545_ | i_546_) >>> 8) + Class105_Sub3.anInt8474); - } else throw new IllegalArgumentException(); - } else if (i_534_ == 1) { - if (i_533_ == 1) { - int i_547_ = (this.anIntArray9933[i_530_]); - if (i_547_ != 0) is_532_[i_531_] = i_547_; - } else if (i_533_ == 0) { - int i_548_ = (this.anIntArray9933[i_530_]); - if (i_548_ != 0) { - if ((Class105_Sub3.anInt8480 & 0xffffff) == 16777215) { - int i_549_ = Class105_Sub3.anInt8480 >>> 24; - int i_550_ = 256 - i_549_; - int i_551_ = is_532_[i_531_]; - is_532_[i_531_] = ((((i_548_ & 0xff00ff) * i_549_ + (i_551_ & 0xff00ff) * i_550_) & ~0xff00ff) + (((i_548_ & 0xff00) * i_549_ + (i_551_ & 0xff00) * i_550_) & 0xff0000)) >> 8; - } else if (Class105_Sub3.anInt8477 == 255) { - int i_556_ = (((i_548_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_557_ = (((i_548_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_558_ = (((i_548_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_532_[i_531_] = (i_556_ | i_557_ | i_558_) >>> 8; - } else { - int i_552_ = (((i_548_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_553_ = (((i_548_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_554_ = (((i_548_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_548_ = (i_552_ | i_553_ | i_554_) >>> 8; - int i_555_ = is_532_[i_531_]; - is_532_[i_531_] = (((((i_548_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_555_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_548_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_555_ & 0xff00) * Class105_Sub3.anInt8472)) & 0xff0000)) >> 8; - } - } - } else if (i_533_ == 3) { - int i_559_ = (this.anIntArray9933[i_530_]); - int i_560_ = Class105_Sub3.anInt8480; - int i_561_ = i_559_ + i_560_; - int i_562_ = (i_559_ & 0xff00ff) + (i_560_ & 0xff00ff); - int i_563_ = ((i_562_ & 0x1000100) + (i_561_ - i_562_ & 0x10000)); - i_563_ = i_561_ - i_563_ | i_563_ - (i_563_ >>> 8); - if (i_559_ == 0 && Class105_Sub3.anInt8477 != 255) { - i_559_ = i_563_; - i_563_ = is_532_[i_531_]; - i_563_ = (((((i_559_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_563_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_559_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_563_ & 0xff00) * Class105_Sub3.anInt8472)) & 0xff0000)) >> 8; - } - is_532_[i_531_] = i_563_; - } else if (i_533_ == 2) { - int i_564_ = (this.anIntArray9933[i_530_]); - if (i_564_ != 0) { - int i_565_ = (((i_564_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_566_ = (((i_564_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_532_[i_531_++] = (((i_565_ | i_566_) >>> 8) + Class105_Sub3.anInt8474); - } - } else throw new IllegalArgumentException(); - } else if (i_534_ == 2) { - if (i_533_ == 1) { - int i_567_ = (this.anIntArray9933[i_530_]); - if (i_567_ != 0) { - int i_568_ = is_532_[i_531_]; - int i_569_ = i_567_ + i_568_; - int i_570_ = ((i_567_ & 0xff00ff) + (i_568_ & 0xff00ff)); - i_568_ = (i_570_ & 0x1000100) + (i_569_ - i_570_ & 0x10000); - is_532_[i_531_] = i_569_ - i_568_ | i_568_ - (i_568_ >>> 8); - } - } else if (i_533_ == 0) { - int i_571_ = (this.anIntArray9933[i_530_]); - if (i_571_ != 0) { - int i_572_ = (((i_571_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_573_ = (((i_571_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_574_ = (((i_571_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_571_ = (i_572_ | i_573_ | i_574_) >>> 8; - int i_575_ = is_532_[i_531_]; - int i_576_ = i_571_ + i_575_; - int i_577_ = ((i_571_ & 0xff00ff) + (i_575_ & 0xff00ff)); - i_575_ = (i_577_ & 0x1000100) + (i_576_ - i_577_ & 0x10000); - is_532_[i_531_] = i_576_ - i_575_ | i_575_ - (i_575_ >>> 8); - } - } else if (i_533_ == 3) { - int i_578_ = (this.anIntArray9933[i_530_]); - int i_579_ = Class105_Sub3.anInt8480; - int i_580_ = i_578_ + i_579_; - int i_581_ = (i_578_ & 0xff00ff) + (i_579_ & 0xff00ff); - int i_582_ = ((i_581_ & 0x1000100) + (i_580_ - i_581_ & 0x10000)); - i_578_ = i_580_ - i_582_ | i_582_ - (i_582_ >>> 8); - i_582_ = is_532_[i_531_]; - i_580_ = i_578_ + i_582_; - i_581_ = (i_578_ & 0xff00ff) + (i_582_ & 0xff00ff); - i_582_ = (i_581_ & 0x1000100) + (i_580_ - i_581_ & 0x10000); - is_532_[i_531_] = i_580_ - i_582_ | i_582_ - (i_582_ >>> 8); - } else if (i_533_ == 2) { - int i_583_ = (this.anIntArray9933[i_530_]); - if (i_583_ != 0) { - int i_584_ = (((i_583_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_585_ = (((i_583_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_583_ = (((i_584_ | i_585_) >>> 8) + Class105_Sub3.anInt8474); - int i_586_ = is_532_[i_531_]; - int i_587_ = i_583_ + i_586_; - int i_588_ = ((i_583_ & 0xff00ff) + (i_586_ & 0xff00ff)); - i_586_ = (i_588_ & 0x1000100) + (i_587_ - i_588_ & 0x10000); - is_532_[i_531_] = i_587_ - i_586_ | i_586_ - (i_586_ >>> 8); - } - } - } else throw new IllegalArgumentException(); - i_525_ += Class105_Sub3.anInt8481; - i_526_ += Class105_Sub3.anInt8450; - } - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } - } - - final void method979(int i, int i_589_, int i_590_, int i_591_, int i_592_, int i_593_) { - int[] is = this.aHa_Sub1_8460.anIntArray7483; - for (int i_594_ = 0; i_594_ < i_591_; i_594_++) { - int i_595_ = (i_589_ + i_594_) * this.anInt8471 + i; - int i_596_ = ((i_593_ + i_594_) * this.aHa_Sub1_8460.anInt7477 + i_592_); - for (int i_597_ = 0; i_597_ < i_590_; i_597_++) - this.anIntArray9933[i_595_ + i_597_] = is[i_596_ + i_597_]; - } - } - - final void method982(int i, int i_598_, int i_599_, int i_600_, int i_601_, int i_602_, int i_603_, int i_604_) { - if (this.aHa_Sub1_8460.method3716()) throw new IllegalStateException(); - if (i_599_ > 0 && i_600_ > 0) { - int i_605_ = 0; - int i_606_ = 0; - int i_607_ = this.aHa_Sub1_8460.anInt7477; - int i_608_ = (this.anInt8461 + this.anInt8471 + this.anInt8454); - int i_609_ = (this.anInt8464 + this.anInt8470 + this.anInt8456); - int i_610_ = (i_608_ << 16) / i_599_; - int i_611_ = (i_609_ << 16) / i_600_; - if (this.anInt8461 > 0) { - int i_612_ = (((this.anInt8461 << 16) + i_610_ - 1) / i_610_); - i += i_612_; - i_605_ += i_612_ * i_610_ - (this.anInt8461 << 16); - } - if (this.anInt8464 > 0) { - int i_613_ = (((this.anInt8464 << 16) + i_611_ - 1) / i_611_); - i_598_ += i_613_; - i_606_ += i_613_ * i_611_ - (this.anInt8464 << 16); - } - if (this.anInt8471 < i_608_) i_599_ = ((this.anInt8471 << 16) - i_605_ + i_610_ - 1) / i_610_; - if (this.anInt8470 < i_609_) i_600_ = ((this.anInt8470 << 16) - i_606_ + i_611_ - 1) / i_611_; - int i_614_ = i + i_598_ * i_607_; - int i_615_ = i_607_ - i_599_; - if (i_598_ + i_600_ > this.aHa_Sub1_8460.anInt7503) i_600_ -= (i_598_ + i_600_ - (this.aHa_Sub1_8460.anInt7503)); - if (i_598_ < this.aHa_Sub1_8460.anInt7476) { - int i_616_ = ((this.aHa_Sub1_8460.anInt7476) - i_598_); - i_600_ -= i_616_; - i_614_ += i_616_ * i_607_; - i_606_ += i_611_ * i_616_; - } - if (i + i_599_ > this.aHa_Sub1_8460.anInt7507) { - int i_617_ = (i + i_599_ - (this.aHa_Sub1_8460.anInt7507)); - i_599_ -= i_617_; - i_615_ += i_617_; - } - if (i < this.aHa_Sub1_8460.anInt7496) { - int i_618_ = ((this.aHa_Sub1_8460.anInt7496) - i); - i_599_ -= i_618_; - i_614_ += i_618_; - i_605_ += i_610_ * i_618_; - i_615_ += i_618_; - } - int[] is = (this.aHa_Sub1_8460.anIntArray7483); - if (i_603_ == 0) { - if (i_601_ == 1) { - int i_619_ = i_605_; - for (int i_620_ = -i_600_; i_620_ < 0; i_620_++) { - int i_621_ = ((i_606_ >> 16) * this.anInt8471); - for (int i_622_ = -i_599_; i_622_ < 0; i_622_++) { - is[i_614_++] = (this.anIntArray9933[(i_605_ >> 16) + i_621_]); - i_605_ += i_610_; - } - i_606_ += i_611_; - i_605_ = i_619_; - i_614_ += i_615_; - } - return; - } - if (i_601_ == 0) { - int i_623_ = (i_602_ & 0xff0000) >> 16; - int i_624_ = (i_602_ & 0xff00) >> 8; - int i_625_ = i_602_ & 0xff; - int i_626_ = i_605_; - for (int i_627_ = -i_600_; i_627_ < 0; i_627_++) { - int i_628_ = ((i_606_ >> 16) * this.anInt8471); - for (int i_629_ = -i_599_; i_629_ < 0; i_629_++) { - int i_630_ = (this.anIntArray9933[(i_605_ >> 16) + i_628_]); - int i_631_ = (i_630_ & 0xff0000) * i_623_ & ~0xffffff; - int i_632_ = (i_630_ & 0xff00) * i_624_ & 0xff0000; - int i_633_ = (i_630_ & 0xff) * i_625_ & 0xff00; - is[i_614_++] = (i_631_ | i_632_ | i_633_) >>> 8; - i_605_ += i_610_; - } - i_606_ += i_611_; - i_605_ = i_626_; - i_614_ += i_615_; - } - return; - } - if (i_601_ == 3) { - int i_634_ = i_605_; - for (int i_635_ = -i_600_; i_635_ < 0; i_635_++) { - int i_636_ = ((i_606_ >> 16) * this.anInt8471); - for (int i_637_ = -i_599_; i_637_ < 0; i_637_++) { - int i_638_ = (this.anIntArray9933[(i_605_ >> 16) + i_636_]); - int i_639_ = i_638_ + i_602_; - int i_640_ = (i_638_ & 0xff00ff) + (i_602_ & 0xff00ff); - int i_641_ = ((i_640_ & 0x1000100) + (i_639_ - i_640_ & 0x10000)); - is[i_614_++] = i_639_ - i_641_ | i_641_ - (i_641_ >>> 8); - i_605_ += i_610_; - } - i_606_ += i_611_; - i_605_ = i_634_; - i_614_ += i_615_; - } - return; - } - if (i_601_ == 2) { - int i_642_ = i_602_ >>> 24; - int i_643_ = 256 - i_642_; - int i_644_ = (i_602_ & 0xff00ff) * i_643_ & ~0xff00ff; - int i_645_ = (i_602_ & 0xff00) * i_643_ & 0xff0000; - i_602_ = (i_644_ | i_645_) >>> 8; - int i_646_ = i_605_; - for (int i_647_ = -i_600_; i_647_ < 0; i_647_++) { - int i_648_ = ((i_606_ >> 16) * this.anInt8471); - for (int i_649_ = -i_599_; i_649_ < 0; i_649_++) { - int i_650_ = (this.anIntArray9933[(i_605_ >> 16) + i_648_]); - i_644_ = (i_650_ & 0xff00ff) * i_642_ & ~0xff00ff; - i_645_ = (i_650_ & 0xff00) * i_642_ & 0xff0000; - is[i_614_++] = ((i_644_ | i_645_) >>> 8) + i_602_; - i_605_ += i_610_; - } - i_606_ += i_611_; - i_605_ = i_646_; - i_614_ += i_615_; - } - return; - } - throw new IllegalArgumentException(); - } - if (i_603_ == 1) { - if (i_601_ == 1) { - int i_651_ = i_605_; - for (int i_652_ = -i_600_; i_652_ < 0; i_652_++) { - int i_653_ = ((i_606_ >> 16) * this.anInt8471); - for (int i_654_ = -i_599_; i_654_ < 0; i_654_++) { - int i_655_ = (this.anIntArray9933[(i_605_ >> 16) + i_653_]); - if (i_655_ != 0) is[i_614_++] = i_655_; - else i_614_++; - i_605_ += i_610_; - } - i_606_ += i_611_; - i_605_ = i_651_; - i_614_ += i_615_; - } - return; - } - if (i_601_ == 0) { - int i_656_ = i_605_; - if ((i_602_ & 0xffffff) == 16777215) { - int i_657_ = i_602_ >>> 24; - int i_658_ = 256 - i_657_; - for (int i_659_ = -i_600_; i_659_ < 0; i_659_++) { - int i_660_ = ((i_606_ >> 16) * this.anInt8471); - for (int i_661_ = -i_599_; i_661_ < 0; i_661_++) { - int i_662_ = (this.anIntArray9933[(i_605_ >> 16) + i_660_]); - if (i_662_ != 0) { - int i_663_ = is[i_614_]; - is[i_614_++] = ((((i_662_ & 0xff00ff) * i_657_ + (i_663_ & 0xff00ff) * i_658_) & ~0xff00ff) + (((i_662_ & 0xff00) * i_657_ + (i_663_ & 0xff00) * i_658_) & 0xff0000)) >> 8; - } else i_614_++; - i_605_ += i_610_; - } - i_606_ += i_611_; - i_605_ = i_656_; - i_614_ += i_615_; - } - } else { - int i_664_ = (i_602_ & 0xff0000) >> 16; - int i_665_ = (i_602_ & 0xff00) >> 8; - int i_666_ = i_602_ & 0xff; - int i_667_ = i_602_ >>> 24; - int i_668_ = 256 - i_667_; - for (int i_669_ = -i_600_; i_669_ < 0; i_669_++) { - int i_670_ = ((i_606_ >> 16) * this.anInt8471); - for (int i_671_ = -i_599_; i_671_ < 0; i_671_++) { - int i_672_ = (this.anIntArray9933[(i_605_ >> 16) + i_670_]); - if (i_672_ != 0) { - if (i_667_ == 255) { - int i_677_ = ((i_672_ & 0xff0000) * i_664_ & ~0xffffff); - int i_678_ = ((i_672_ & 0xff00) * i_665_ & 0xff0000); - int i_679_ = ((i_672_ & 0xff) * i_666_ & 0xff00); - is[i_614_++] = (i_677_ | i_678_ | i_679_) >>> 8; - } else { - int i_673_ = ((i_672_ & 0xff0000) * i_664_ & ~0xffffff); - int i_674_ = ((i_672_ & 0xff00) * i_665_ & 0xff0000); - int i_675_ = ((i_672_ & 0xff) * i_666_ & 0xff00); - i_672_ = (i_673_ | i_674_ | i_675_) >>> 8; - int i_676_ = is[i_614_]; - is[i_614_++] = ((((i_672_ & 0xff00ff) * i_667_ + ((i_676_ & 0xff00ff) * i_668_)) & ~0xff00ff) + (((i_672_ & 0xff00) * i_667_ + ((i_676_ & 0xff00) * i_668_)) & 0xff0000)) >> 8; - } - } else i_614_++; - i_605_ += i_610_; - } - i_606_ += i_611_; - i_605_ = i_656_; - i_614_ += i_615_; - } - return; - } - return; - } - if (i_601_ == 3) { - int i_680_ = i_605_; - int i_681_ = i_602_ >>> 24; - int i_682_ = 256 - i_681_; - for (int i_683_ = -i_600_; i_683_ < 0; i_683_++) { - int i_684_ = ((i_606_ >> 16) * this.anInt8471); - for (int i_685_ = -i_599_; i_685_ < 0; i_685_++) { - int i_686_ = (this.anIntArray9933[(i_605_ >> 16) + i_684_]); - int i_687_ = i_686_ + i_602_; - int i_688_ = (i_686_ & 0xff00ff) + (i_602_ & 0xff00ff); - int i_689_ = ((i_688_ & 0x1000100) + (i_687_ - i_688_ & 0x10000)); - i_689_ = i_687_ - i_689_ | i_689_ - (i_689_ >>> 8); - if (i_686_ == 0 && i_681_ != 255) { - i_686_ = i_689_; - i_689_ = is[i_614_]; - i_689_ = ((((i_686_ & 0xff00ff) * i_681_ + (i_689_ & 0xff00ff) * i_682_) & ~0xff00ff) + (((i_686_ & 0xff00) * i_681_ + (i_689_ & 0xff00) * i_682_) & 0xff0000)) >> 8; - } - is[i_614_++] = i_689_; - i_605_ += i_610_; - } - i_606_ += i_611_; - i_605_ = i_680_; - i_614_ += i_615_; - } - return; - } - if (i_601_ == 2) { - int i_690_ = i_602_ >>> 24; - int i_691_ = 256 - i_690_; - int i_692_ = (i_602_ & 0xff00ff) * i_691_ & ~0xff00ff; - int i_693_ = (i_602_ & 0xff00) * i_691_ & 0xff0000; - i_602_ = (i_692_ | i_693_) >>> 8; - int i_694_ = i_605_; - for (int i_695_ = -i_600_; i_695_ < 0; i_695_++) { - int i_696_ = ((i_606_ >> 16) * this.anInt8471); - for (int i_697_ = -i_599_; i_697_ < 0; i_697_++) { - int i_698_ = (this.anIntArray9933[(i_605_ >> 16) + i_696_]); - if (i_698_ != 0) { - i_692_ = (i_698_ & 0xff00ff) * i_690_ & ~0xff00ff; - i_693_ = (i_698_ & 0xff00) * i_690_ & 0xff0000; - is[i_614_++] = ((i_692_ | i_693_) >>> 8) + i_602_; - } else i_614_++; - i_605_ += i_610_; - } - i_606_ += i_611_; - i_605_ = i_694_; - i_614_ += i_615_; - } - return; - } - throw new IllegalArgumentException(); - } - if (i_603_ == 2) { - if (i_601_ == 1) { - int i_699_ = i_605_; - for (int i_700_ = -i_600_; i_700_ < 0; i_700_++) { - int i_701_ = ((i_606_ >> 16) * this.anInt8471); - for (int i_702_ = -i_599_; i_702_ < 0; i_702_++) { - int i_703_ = (this.anIntArray9933[(i_605_ >> 16) + i_701_]); - if (i_703_ != 0) { - int i_704_ = is[i_614_]; - int i_705_ = i_703_ + i_704_; - int i_706_ = ((i_703_ & 0xff00ff) + (i_704_ & 0xff00ff)); - i_704_ = (i_706_ & 0x1000100) + (i_705_ - i_706_ & 0x10000); - is[i_614_++] = i_705_ - i_704_ | i_704_ - (i_704_ >>> 8); - } else i_614_++; - i_605_ += i_610_; - } - i_606_ += i_611_; - i_605_ = i_699_; - i_614_ += i_615_; - } - return; - } - if (i_601_ == 0) { - int i_707_ = i_605_; - int i_708_ = (i_602_ & 0xff0000) >> 16; - int i_709_ = (i_602_ & 0xff00) >> 8; - int i_710_ = i_602_ & 0xff; - for (int i_711_ = -i_600_; i_711_ < 0; i_711_++) { - int i_712_ = ((i_606_ >> 16) * this.anInt8471); - for (int i_713_ = -i_599_; i_713_ < 0; i_713_++) { - int i_714_ = (this.anIntArray9933[(i_605_ >> 16) + i_712_]); - if (i_714_ != 0) { - int i_715_ = (i_714_ & 0xff0000) * i_708_ & ~0xffffff; - int i_716_ = (i_714_ & 0xff00) * i_709_ & 0xff0000; - int i_717_ = (i_714_ & 0xff) * i_710_ & 0xff00; - i_714_ = (i_715_ | i_716_ | i_717_) >>> 8; - int i_718_ = is[i_614_]; - int i_719_ = i_714_ + i_718_; - int i_720_ = ((i_714_ & 0xff00ff) + (i_718_ & 0xff00ff)); - i_718_ = (i_720_ & 0x1000100) + (i_719_ - i_720_ & 0x10000); - is[i_614_++] = i_719_ - i_718_ | i_718_ - (i_718_ >>> 8); - } else i_614_++; - i_605_ += i_610_; - } - i_606_ += i_611_; - i_605_ = i_707_; - i_614_ += i_615_; - } - return; - } - if (i_601_ == 3) { - int i_721_ = i_605_; - for (int i_722_ = -i_600_; i_722_ < 0; i_722_++) { - int i_723_ = ((i_606_ >> 16) * this.anInt8471); - for (int i_724_ = -i_599_; i_724_ < 0; i_724_++) { - int i_725_ = (this.anIntArray9933[(i_605_ >> 16) + i_723_]); - int i_726_ = i_725_ + i_602_; - int i_727_ = (i_725_ & 0xff00ff) + (i_602_ & 0xff00ff); - int i_728_ = ((i_727_ & 0x1000100) + (i_726_ - i_727_ & 0x10000)); - i_725_ = i_726_ - i_728_ | i_728_ - (i_728_ >>> 8); - i_728_ = is[i_614_]; - i_726_ = i_725_ + i_728_; - i_727_ = (i_725_ & 0xff00ff) + (i_728_ & 0xff00ff); - i_728_ = (i_727_ & 0x1000100) + (i_726_ - i_727_ & 0x10000); - is[i_614_++] = i_726_ - i_728_ | i_728_ - (i_728_ >>> 8); - i_605_ += i_610_; - } - i_606_ += i_611_; - i_605_ = i_721_; - i_614_ += i_615_; - } - return; - } - if (i_601_ == 2) { - int i_729_ = i_602_ >>> 24; - int i_730_ = 256 - i_729_; - int i_731_ = (i_602_ & 0xff00ff) * i_730_ & ~0xff00ff; - int i_732_ = (i_602_ & 0xff00) * i_730_ & 0xff0000; - i_602_ = (i_731_ | i_732_) >>> 8; - int i_733_ = i_605_; - for (int i_734_ = -i_600_; i_734_ < 0; i_734_++) { - int i_735_ = ((i_606_ >> 16) * this.anInt8471); - for (int i_736_ = -i_599_; i_736_ < 0; i_736_++) { - int i_737_ = (this.anIntArray9933[(i_605_ >> 16) + i_735_]); - if (i_737_ != 0) { - i_731_ = (i_737_ & 0xff00ff) * i_729_ & ~0xff00ff; - i_732_ = (i_737_ & 0xff00) * i_729_ & 0xff0000; - i_737_ = ((i_731_ | i_732_) >>> 8) + i_602_; - int i_738_ = is[i_614_]; - int i_739_ = i_737_ + i_738_; - int i_740_ = ((i_737_ & 0xff00ff) + (i_738_ & 0xff00ff)); - i_738_ = (i_740_ & 0x1000100) + (i_739_ - i_740_ & 0x10000); - is[i_614_++] = i_739_ - i_738_ | i_738_ - (i_738_ >>> 8); - } else i_614_++; - i_605_ += i_610_; - } - i_606_ += i_611_; - i_605_ = i_733_; - i_614_ += i_615_; - } - return; - } - throw new IllegalArgumentException(); - } - throw new IllegalArgumentException(); - } - } - - final void method968(int i, int i_741_, int i_742_) { - throw new IllegalStateException("Can't capture alpha into a java_sprite_24"); - } - - Class105_Sub3_Sub1(ha_Sub1 var_ha_Sub1, int i, int i_743_) { - super(var_ha_Sub1, i, i_743_); - this.anIntArray9933 = new int[i * i_743_]; - } - - Class105_Sub3_Sub1(ha_Sub1 var_ha_Sub1, int[] is, int i, int i_744_, int i_745_, int i_746_, boolean bool) { - super(var_ha_Sub1, i_745_, i_746_); - if (bool) this.anIntArray9933 = new int[i_745_ * i_746_]; - else this.anIntArray9933 = is; - i_744_ -= this.anInt8471; - int i_747_ = 0; - for (int i_748_ = 0; i_748_ < i_746_; i_748_++) { - for (int i_749_ = 0; i_749_ < i_745_; i_749_++) { - int i_750_ = is[i++]; - if (i_750_ >>> 24 == 255) this.anIntArray9933[i_747_++] = (i_750_ & 0xffffff) == 0 ? -16777215 : i_750_; - else this.anIntArray9933[i_747_++] = 0; - } - i += i_744_; - } - } - - Class105_Sub3_Sub1(ha_Sub1 var_ha_Sub1, int[] is, int i, int i_751_) { - super(var_ha_Sub1, i, i_751_); - this.anIntArray9933 = is; - } - - final void method995(int[] is, int[] is_752_, int i, int i_753_) { - int[] is_754_ = this.aHa_Sub1_8460.anIntArray7483; - if (Class105_Sub3.anInt8481 == 0) { - if (Class105_Sub3.anInt8450 == 0) { - int i_755_ = Class105_Sub3.anInt8468; - while (i_755_ < 0) { - int i_756_ = i_755_ + i_753_; - if (i_756_ >= 0) { - if (i_756_ >= is.length) break; - int i_757_ = Class105_Sub3.anInt8451; - int i_758_ = Class105_Sub3.anInt8458; - int i_759_ = Class105_Sub3.anInt8467; - int i_760_ = Class105_Sub3.anInt8478; - if (i_758_ >= 0 && i_759_ >= 0 && i_758_ - (this.anInt8471 << 12) < 0 && i_759_ - (this.anInt8470 << 12) < 0) { - int i_761_ = is[i_756_] - i; - int i_762_ = -is_752_[i_756_]; - int i_763_ = i_761_ - (i_757_ - Class105_Sub3.anInt8451); - if (i_763_ > 0) { - i_757_ += i_763_; - i_760_ += i_763_; - i_758_ += Class105_Sub3.anInt8481 * i_763_; - i_759_ += Class105_Sub3.anInt8450 * i_763_; - } else i_762_ -= i_763_; - if (i_760_ < i_762_) i_760_ = i_762_; - for (/**/; i_760_ < 0; i_760_++) { - int i_764_ = (this.anIntArray9933[(((i_759_ >> 12) * this.anInt8471) + (i_758_ >> 12))]); - if (i_764_ != 0) is_754_[i_757_++] = i_764_; - else i_757_++; - } - } - } - i_755_++; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else if (Class105_Sub3.anInt8450 < 0) { - int i_765_ = Class105_Sub3.anInt8468; - while (i_765_ < 0) { - int i_766_ = i_765_ + i_753_; - if (i_766_ >= 0) { - if (i_766_ >= is.length) break; - int i_767_ = Class105_Sub3.anInt8451; - int i_768_ = Class105_Sub3.anInt8458; - int i_769_ = (Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475); - int i_770_ = Class105_Sub3.anInt8478; - if (i_768_ >= 0 && i_768_ - (this.anInt8471 << 12) < 0) { - int i_771_; - if ((i_771_ = i_769_ - (this.anInt8470 << 12)) >= 0) { - i_771_ = ((Class105_Sub3.anInt8450 - i_771_) / Class105_Sub3.anInt8450); - i_770_ += i_771_; - i_769_ += Class105_Sub3.anInt8450 * i_771_; - i_767_ += i_771_; - } - if ((i_771_ = ((i_769_ - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_770_) i_770_ = i_771_; - int i_772_ = is[i_766_] - i; - int i_773_ = -is_752_[i_766_]; - int i_774_ = i_772_ - (i_767_ - Class105_Sub3.anInt8451); - if (i_774_ > 0) { - i_767_ += i_774_; - i_770_ += i_774_; - i_768_ += Class105_Sub3.anInt8481 * i_774_; - i_769_ += Class105_Sub3.anInt8450 * i_774_; - } else i_773_ -= i_774_; - if (i_770_ < i_773_) i_770_ = i_773_; - for (/**/; i_770_ < 0; i_770_++) { - int i_775_ = (this.anIntArray9933[(((i_769_ >> 12) * this.anInt8471) + (i_768_ >> 12))]); - if (i_775_ != 0) is_754_[i_767_++] = i_775_; - else i_767_++; - i_769_ += Class105_Sub3.anInt8450; - } - } - } - i_765_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else { - int i_776_ = Class105_Sub3.anInt8468; - while (i_776_ < 0) { - int i_777_ = i_776_ + i_753_; - if (i_777_ >= 0) { - if (i_777_ >= is.length) break; - int i_778_ = Class105_Sub3.anInt8451; - int i_779_ = Class105_Sub3.anInt8458; - int i_780_ = (Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475); - int i_781_ = Class105_Sub3.anInt8478; - if (i_779_ >= 0 && i_779_ - (this.anInt8471 << 12) < 0) { - if (i_780_ < 0) { - int i_782_ = ((Class105_Sub3.anInt8450 - 1 - i_780_) / Class105_Sub3.anInt8450); - i_781_ += i_782_; - i_780_ += Class105_Sub3.anInt8450 * i_782_; - i_778_ += i_782_; - } - int i_783_; - if ((i_783_ = ((1 + i_780_ - (this.anInt8470 << 12) - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_781_) i_781_ = i_783_; - int i_784_ = is[i_777_] - i; - int i_785_ = -is_752_[i_777_]; - int i_786_ = i_784_ - (i_778_ - Class105_Sub3.anInt8451); - if (i_786_ > 0) { - i_778_ += i_786_; - i_781_ += i_786_; - i_779_ += Class105_Sub3.anInt8481 * i_786_; - i_780_ += Class105_Sub3.anInt8450 * i_786_; - } else i_785_ -= i_786_; - if (i_781_ < i_785_) i_781_ = i_785_; - for (/**/; i_781_ < 0; i_781_++) { - int i_787_ = (this.anIntArray9933[(((i_780_ >> 12) * this.anInt8471) + (i_779_ >> 12))]); - if (i_787_ != 0) is_754_[i_778_++] = i_787_; - else i_778_++; - i_780_ += Class105_Sub3.anInt8450; - } - } - } - i_776_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } - } else if (Class105_Sub3.anInt8481 < 0) { - if (Class105_Sub3.anInt8450 == 0) { - int i_788_ = Class105_Sub3.anInt8468; - while (i_788_ < 0) { - int i_789_ = i_788_ + i_753_; - if (i_789_ >= 0) { - if (i_789_ >= is.length) break; - int i_790_ = Class105_Sub3.anInt8451; - int i_791_ = (Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479); - int i_792_ = Class105_Sub3.anInt8467; - int i_793_ = Class105_Sub3.anInt8478; - if (i_792_ >= 0 && i_792_ - (this.anInt8470 << 12) < 0) { - int i_794_; - if ((i_794_ = i_791_ - (this.anInt8471 << 12)) >= 0) { - i_794_ = ((Class105_Sub3.anInt8481 - i_794_) / Class105_Sub3.anInt8481); - i_793_ += i_794_; - i_791_ += Class105_Sub3.anInt8481 * i_794_; - i_790_ += i_794_; - } - if ((i_794_ = ((i_791_ - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_793_) i_793_ = i_794_; - int i_795_ = is[i_789_] - i; - int i_796_ = -is_752_[i_789_]; - int i_797_ = i_795_ - (i_790_ - Class105_Sub3.anInt8451); - if (i_797_ > 0) { - i_790_ += i_797_; - i_793_ += i_797_; - i_791_ += Class105_Sub3.anInt8481 * i_797_; - i_792_ += Class105_Sub3.anInt8450 * i_797_; - } else i_796_ -= i_797_; - if (i_793_ < i_796_) i_793_ = i_796_; - for (/**/; i_793_ < 0; i_793_++) { - int i_798_ = (this.anIntArray9933[(((i_792_ >> 12) * this.anInt8471) + (i_791_ >> 12))]); - if (i_798_ != 0) is_754_[i_790_++] = i_798_; - else i_790_++; - i_791_ += Class105_Sub3.anInt8481; - } - } - } - i_788_++; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else if (Class105_Sub3.anInt8450 < 0) { - int i_799_ = Class105_Sub3.anInt8468; - while (i_799_ < 0) { - int i_800_ = i_799_ + i_753_; - if (i_800_ >= 0) { - if (i_800_ >= is.length) break; - int i_801_ = Class105_Sub3.anInt8451; - int i_802_ = (Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479); - int i_803_ = (Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475); - int i_804_ = Class105_Sub3.anInt8478; - int i_805_; - if ((i_805_ = i_802_ - (this.anInt8471 << 12)) >= 0) { - i_805_ = ((Class105_Sub3.anInt8481 - i_805_) / Class105_Sub3.anInt8481); - i_804_ += i_805_; - i_802_ += Class105_Sub3.anInt8481 * i_805_; - i_803_ += Class105_Sub3.anInt8450 * i_805_; - i_801_ += i_805_; - } - if ((i_805_ = ((i_802_ - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_804_) i_804_ = i_805_; - if ((i_805_ = i_803_ - (this.anInt8470 << 12)) >= 0) { - i_805_ = ((Class105_Sub3.anInt8450 - i_805_) / Class105_Sub3.anInt8450); - i_804_ += i_805_; - i_802_ += Class105_Sub3.anInt8481 * i_805_; - i_803_ += Class105_Sub3.anInt8450 * i_805_; - i_801_ += i_805_; - } - if ((i_805_ = ((i_803_ - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_804_) i_804_ = i_805_; - int i_806_ = is[i_800_] - i; - int i_807_ = -is_752_[i_800_]; - int i_808_ = i_806_ - (i_801_ - Class105_Sub3.anInt8451); - if (i_808_ > 0) { - i_801_ += i_808_; - i_804_ += i_808_; - i_802_ += Class105_Sub3.anInt8481 * i_808_; - i_803_ += Class105_Sub3.anInt8450 * i_808_; - } else i_807_ -= i_808_; - if (i_804_ < i_807_) i_804_ = i_807_; - for (/**/; i_804_ < 0; i_804_++) { - int i_809_ = (this.anIntArray9933[(((i_803_ >> 12) * this.anInt8471) + (i_802_ >> 12))]); - if (i_809_ != 0) is_754_[i_801_++] = i_809_; - else i_801_++; - i_802_ += Class105_Sub3.anInt8481; - i_803_ += Class105_Sub3.anInt8450; - } - } - i_799_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else { - int i_810_ = Class105_Sub3.anInt8468; - while (i_810_ < 0) { - int i_811_ = i_810_ + i_753_; - if (i_811_ >= 0) { - if (i_811_ >= is.length) break; - int i_812_ = Class105_Sub3.anInt8451; - int i_813_ = (Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479); - int i_814_ = (Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475); - int i_815_ = Class105_Sub3.anInt8478; - int i_816_; - if ((i_816_ = i_813_ - (this.anInt8471 << 12)) >= 0) { - i_816_ = ((Class105_Sub3.anInt8481 - i_816_) / Class105_Sub3.anInt8481); - i_815_ += i_816_; - i_813_ += Class105_Sub3.anInt8481 * i_816_; - i_814_ += Class105_Sub3.anInt8450 * i_816_; - i_812_ += i_816_; - } - if ((i_816_ = ((i_813_ - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_815_) i_815_ = i_816_; - if (i_814_ < 0) { - i_816_ = ((Class105_Sub3.anInt8450 - 1 - i_814_) / Class105_Sub3.anInt8450); - i_815_ += i_816_; - i_813_ += Class105_Sub3.anInt8481 * i_816_; - i_814_ += Class105_Sub3.anInt8450 * i_816_; - i_812_ += i_816_; - } - if ((i_816_ = ((1 + i_814_ - (this.anInt8470 << 12) - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_815_) i_815_ = i_816_; - int i_817_ = is[i_811_] - i; - int i_818_ = -is_752_[i_811_]; - int i_819_ = i_817_ - (i_812_ - Class105_Sub3.anInt8451); - if (i_819_ > 0) { - i_812_ += i_819_; - i_815_ += i_819_; - i_813_ += Class105_Sub3.anInt8481 * i_819_; - i_814_ += Class105_Sub3.anInt8450 * i_819_; - } else i_818_ -= i_819_; - if (i_815_ < i_818_) i_815_ = i_818_; - for (/**/; i_815_ < 0; i_815_++) { - int i_820_ = (this.anIntArray9933[(((i_814_ >> 12) * this.anInt8471) + (i_813_ >> 12))]); - if (i_820_ != 0) is_754_[i_812_++] = i_820_; - else i_812_++; - i_813_ += Class105_Sub3.anInt8481; - i_814_ += Class105_Sub3.anInt8450; - } - } - i_810_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } - } else if (Class105_Sub3.anInt8450 == 0) { - int i_821_ = Class105_Sub3.anInt8468; - while (i_821_ < 0) { - int i_822_ = i_821_ + i_753_; - if (i_822_ >= 0) { - if (i_822_ >= is.length) break; - int i_823_ = Class105_Sub3.anInt8451; - int i_824_ = Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479; - int i_825_ = Class105_Sub3.anInt8467; - int i_826_ = Class105_Sub3.anInt8478; - if (i_825_ >= 0 && (i_825_ - (this.anInt8470 << 12) < 0)) { - if (i_824_ < 0) { - int i_827_ = ((Class105_Sub3.anInt8481 - 1 - i_824_) / Class105_Sub3.anInt8481); - i_826_ += i_827_; - i_824_ += Class105_Sub3.anInt8481 * i_827_; - i_823_ += i_827_; - } - int i_828_; - if ((i_828_ = ((1 + i_824_ - (this.anInt8471 << 12) - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_826_) i_826_ = i_828_; - int i_829_ = is[i_822_] - i; - int i_830_ = -is_752_[i_822_]; - int i_831_ = i_829_ - (i_823_ - Class105_Sub3.anInt8451); - if (i_831_ > 0) { - i_823_ += i_831_; - i_826_ += i_831_; - i_824_ += Class105_Sub3.anInt8481 * i_831_; - i_825_ += Class105_Sub3.anInt8450 * i_831_; - } else i_830_ -= i_831_; - if (i_826_ < i_830_) i_826_ = i_830_; - for (/**/; i_826_ < 0; i_826_++) { - int i_832_ = (this.anIntArray9933[(((i_825_ >> 12) * this.anInt8471) + (i_824_ >> 12))]); - if (i_832_ != 0) is_754_[i_823_++] = i_832_; - else i_823_++; - i_824_ += Class105_Sub3.anInt8481; - } - } - } - i_821_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else if (Class105_Sub3.anInt8450 < 0) { - int i_833_ = Class105_Sub3.anInt8468; - while (i_833_ < 0) { - int i_834_ = i_833_ + i_753_; - if (i_834_ >= 0) { - if (i_834_ >= is.length) break; - int i_835_ = Class105_Sub3.anInt8451; - int i_836_ = Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479; - int i_837_ = Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475; - int i_838_ = Class105_Sub3.anInt8478; - if (i_836_ < 0) { - int i_839_ = ((Class105_Sub3.anInt8481 - 1 - i_836_) / Class105_Sub3.anInt8481); - i_838_ += i_839_; - i_836_ += Class105_Sub3.anInt8481 * i_839_; - i_837_ += Class105_Sub3.anInt8450 * i_839_; - i_835_ += i_839_; - } - int i_840_; - if ((i_840_ = ((1 + i_836_ - (this.anInt8471 << 12) - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_838_) i_838_ = i_840_; - if ((i_840_ = i_837_ - (this.anInt8470 << 12)) >= 0) { - i_840_ = ((Class105_Sub3.anInt8450 - i_840_) / Class105_Sub3.anInt8450); - i_838_ += i_840_; - i_836_ += Class105_Sub3.anInt8481 * i_840_; - i_837_ += Class105_Sub3.anInt8450 * i_840_; - i_835_ += i_840_; - } - if ((i_840_ = ((i_837_ - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_838_) i_838_ = i_840_; - int i_841_ = is[i_834_] - i; - int i_842_ = -is_752_[i_834_]; - int i_843_ = i_841_ - (i_835_ - Class105_Sub3.anInt8451); - if (i_843_ > 0) { - i_835_ += i_843_; - i_838_ += i_843_; - i_836_ += Class105_Sub3.anInt8481 * i_843_; - i_837_ += Class105_Sub3.anInt8450 * i_843_; - } else i_842_ -= i_843_; - if (i_838_ < i_842_) i_838_ = i_842_; - for (/**/; i_838_ < 0; i_838_++) { - int i_844_ = (this.anIntArray9933[(((i_837_ >> 12) * this.anInt8471) + (i_836_ >> 12))]); - if (i_844_ != 0) is_754_[i_835_++] = i_844_; - else i_835_++; - i_836_ += Class105_Sub3.anInt8481; - i_837_ += Class105_Sub3.anInt8450; - } - } - i_833_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else { - int i_845_ = Class105_Sub3.anInt8468; - while (i_845_ < 0) { - int i_846_ = i_845_ + i_753_; - if (i_846_ >= 0) { - if (i_846_ >= is.length) break; - int i_847_ = Class105_Sub3.anInt8451; - int i_848_ = Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479; - int i_849_ = Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475; - int i_850_ = Class105_Sub3.anInt8478; - if (i_848_ < 0) { - int i_851_ = ((Class105_Sub3.anInt8481 - 1 - i_848_) / Class105_Sub3.anInt8481); - i_850_ += i_851_; - i_848_ += Class105_Sub3.anInt8481 * i_851_; - i_849_ += Class105_Sub3.anInt8450 * i_851_; - i_847_ += i_851_; - } - int i_852_; - if ((i_852_ = ((1 + i_848_ - (this.anInt8471 << 12) - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_850_) i_850_ = i_852_; - if (i_849_ < 0) { - i_852_ = ((Class105_Sub3.anInt8450 - 1 - i_849_) / Class105_Sub3.anInt8450); - i_850_ += i_852_; - i_848_ += Class105_Sub3.anInt8481 * i_852_; - i_849_ += Class105_Sub3.anInt8450 * i_852_; - i_847_ += i_852_; - } - if ((i_852_ = ((1 + i_849_ - (this.anInt8470 << 12) - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_850_) i_850_ = i_852_; - int i_853_ = is[i_846_] - i; - int i_854_ = -is_752_[i_846_]; - int i_855_ = i_853_ - (i_847_ - Class105_Sub3.anInt8451); - if (i_855_ > 0) { - i_847_ += i_855_; - i_850_ += i_855_; - i_848_ += Class105_Sub3.anInt8481 * i_855_; - i_849_ += Class105_Sub3.anInt8450 * i_855_; - } else i_854_ -= i_855_; - if (i_850_ < i_854_) i_850_ = i_854_; - for (/**/; i_850_ < 0; i_850_++) { - int i_856_ = (this.anIntArray9933[(((i_849_ >> 12) * this.anInt8471) + (i_848_ >> 12))]); - if (i_856_ != 0) is_754_[i_847_++] = i_856_; - else i_847_++; - i_848_ += Class105_Sub3.anInt8481; - i_849_ += Class105_Sub3.anInt8450; - } - } - i_845_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } - } - - final void method963(int i, int i_857_, aa var_aa, int i_858_, int i_859_) { - if (this.aHa_Sub1_8460.method3716()) throw new IllegalStateException(); - i += this.anInt8461; - i_857_ += this.anInt8464; - int i_860_ = 0; - int i_861_ = this.aHa_Sub1_8460.anInt7477; - int i_862_ = this.anInt8471; - int i_863_ = this.anInt8470; - int i_864_ = i_861_ - i_862_; - int i_865_ = 0; - int i_866_ = i + i_857_ * i_861_; - if (i_857_ < this.aHa_Sub1_8460.anInt7476) { - int i_867_ = (this.aHa_Sub1_8460.anInt7476 - i_857_); - i_863_ -= i_867_; - i_857_ = this.aHa_Sub1_8460.anInt7476; - i_860_ += i_867_ * i_862_; - i_866_ += i_867_ * i_861_; - } - if (i_857_ + i_863_ > this.aHa_Sub1_8460.anInt7503) i_863_ -= i_857_ + i_863_ - this.aHa_Sub1_8460.anInt7503; - if (i < this.aHa_Sub1_8460.anInt7496) { - int i_868_ = (this.aHa_Sub1_8460.anInt7496 - i); - i_862_ -= i_868_; - i = this.aHa_Sub1_8460.anInt7496; - i_860_ += i_868_; - i_866_ += i_868_; - i_865_ += i_868_; - i_864_ += i_868_; - } - if (i + i_862_ > this.aHa_Sub1_8460.anInt7507) { - int i_869_ = (i + i_862_ - (this.aHa_Sub1_8460.anInt7507)); - i_862_ -= i_869_; - i_865_ += i_869_; - i_864_ += i_869_; - } - if (i_862_ > 0 && i_863_ > 0) { - aa_Sub3 var_aa_Sub3 = (aa_Sub3) var_aa; - int[] is = var_aa_Sub3.anIntArray5201; - int[] is_870_ = var_aa_Sub3.anIntArray5202; - int[] is_871_ = (this.aHa_Sub1_8460.anIntArray7483); - int i_872_ = i_857_; - if (i_859_ > i_872_) { - i_872_ = i_859_; - i_866_ += (i_859_ - i_857_) * i_861_; - i_860_ += (i_859_ - i_857_) * this.anInt8471; - } - int i_873_ = (Math.min(i_859_ + is.length, i_857_ + i_863_)); - for (int i_874_ = i_872_; i_874_ < i_873_; i_874_++) { - int i_875_ = is[i_874_ - i_859_] + i_858_; - int i_876_ = is_870_[i_874_ - i_859_]; - int i_877_ = i_862_; - if (i > i_875_) { - int i_878_ = i - i_875_; - if (i_878_ >= i_876_) { - i_860_ += i_862_ + i_865_; - i_866_ += i_862_ + i_864_; - continue; - } - i_876_ -= i_878_; - } else { - int i_879_ = i_875_ - i; - if (i_879_ >= i_862_) { - i_860_ += i_862_ + i_865_; - i_866_ += i_862_ + i_864_; - continue; - } - i_860_ += i_879_; - i_877_ -= i_879_; - i_866_ += i_879_; - } - int i_880_ = 0; - if (i_877_ < i_876_) i_876_ = i_877_; - else i_880_ = i_877_ - i_876_; - for (int i_881_ = -i_876_; i_881_ < 0; i_881_++) { - int i_882_ = this.anIntArray9933[i_860_++]; - if (i_882_ != 0) is_871_[i_866_++] = i_882_; - else i_866_++; - } - i_860_ += i_880_ + i_865_; - i_866_ += i_880_ + i_864_; - } - } - } - - final void method964(int i, int i_883_, int i_884_, int i_885_, int i_886_) { - if (this.aHa_Sub1_8460.method3716()) throw new IllegalStateException(); - int i_887_ = this.aHa_Sub1_8460.anInt7477; - i += this.anInt8461; - i_883_ += this.anInt8464; - int i_888_ = i_883_ * i_887_ + i; - int i_889_ = 0; - int i_890_ = this.anInt8470; - int i_891_ = this.anInt8471; - int i_892_ = i_887_ - i_891_; - int i_893_ = 0; - if (i_883_ < this.aHa_Sub1_8460.anInt7476) { - int i_894_ = (this.aHa_Sub1_8460.anInt7476 - i_883_); - i_890_ -= i_894_; - i_883_ = this.aHa_Sub1_8460.anInt7476; - i_889_ += i_894_ * i_891_; - i_888_ += i_894_ * i_887_; - } - if (i_883_ + i_890_ > this.aHa_Sub1_8460.anInt7503) i_890_ -= i_883_ + i_890_ - this.aHa_Sub1_8460.anInt7503; - if (i < this.aHa_Sub1_8460.anInt7496) { - int i_895_ = (this.aHa_Sub1_8460.anInt7496 - i); - i_891_ -= i_895_; - i = this.aHa_Sub1_8460.anInt7496; - i_889_ += i_895_; - i_888_ += i_895_; - i_893_ += i_895_; - i_892_ += i_895_; - } - if (i + i_891_ > this.aHa_Sub1_8460.anInt7507) { - int i_896_ = (i + i_891_ - (this.aHa_Sub1_8460.anInt7507)); - i_891_ -= i_896_; - i_893_ += i_896_; - i_892_ += i_896_; - } - if (i_891_ > 0 && i_890_ > 0) { - int[] is = (this.aHa_Sub1_8460.anIntArray7483); - if (i_886_ == 0) { - if (i_884_ == 1) { - for (int i_897_ = -i_890_; i_897_ < 0; i_897_++) { - int i_898_ = i_888_ + i_891_ - 3; - while (i_888_ < i_898_) { - is[i_888_++] = (this.anIntArray9933[i_889_++]); - is[i_888_++] = (this.anIntArray9933[i_889_++]); - is[i_888_++] = (this.anIntArray9933[i_889_++]); - is[i_888_++] = (this.anIntArray9933[i_889_++]); - } - i_898_ += 3; - while (i_888_ < i_898_) is[i_888_++] = (this.anIntArray9933[i_889_++]); - i_888_ += i_892_; - i_889_ += i_893_; - } - return; - } - if (i_884_ == 0) { - int i_899_ = (i_885_ & 0xff0000) >> 16; - int i_900_ = (i_885_ & 0xff00) >> 8; - int i_901_ = i_885_ & 0xff; - for (int i_902_ = -i_890_; i_902_ < 0; i_902_++) { - for (int i_903_ = -i_891_; i_903_ < 0; i_903_++) { - int i_904_ = (this.anIntArray9933[i_889_++]); - int i_905_ = (i_904_ & 0xff0000) * i_899_ & ~0xffffff; - int i_906_ = (i_904_ & 0xff00) * i_900_ & 0xff0000; - int i_907_ = (i_904_ & 0xff) * i_901_ & 0xff00; - is[i_888_++] = (i_905_ | i_906_ | i_907_) >>> 8; - } - i_888_ += i_892_; - i_889_ += i_893_; - } - return; - } - if (i_884_ == 3) { - for (int i_908_ = -i_890_; i_908_ < 0; i_908_++) { - for (int i_909_ = -i_891_; i_909_ < 0; i_909_++) { - int i_910_ = (this.anIntArray9933[i_889_++]); - int i_911_ = i_910_ + i_885_; - int i_912_ = (i_910_ & 0xff00ff) + (i_885_ & 0xff00ff); - int i_913_ = ((i_912_ & 0x1000100) + (i_911_ - i_912_ & 0x10000)); - is[i_888_++] = i_911_ - i_913_ | i_913_ - (i_913_ >>> 8); - } - i_888_ += i_892_; - i_889_ += i_893_; - } - return; - } - if (i_884_ == 2) { - int i_914_ = i_885_ >>> 24; - int i_915_ = 256 - i_914_; - int i_916_ = (i_885_ & 0xff00ff) * i_915_ & ~0xff00ff; - int i_917_ = (i_885_ & 0xff00) * i_915_ & 0xff0000; - i_885_ = (i_916_ | i_917_) >>> 8; - for (int i_918_ = -i_890_; i_918_ < 0; i_918_++) { - for (int i_919_ = -i_891_; i_919_ < 0; i_919_++) { - int i_920_ = (this.anIntArray9933[i_889_++]); - i_916_ = (i_920_ & 0xff00ff) * i_914_ & ~0xff00ff; - i_917_ = (i_920_ & 0xff00) * i_914_ & 0xff0000; - is[i_888_++] = ((i_916_ | i_917_) >>> 8) + i_885_; - } - i_888_ += i_892_; - i_889_ += i_893_; - } - return; - } - throw new IllegalArgumentException(); - } - if (i_886_ == 1) { - if (i_884_ == 1) { - for (int i_921_ = -i_890_; i_921_ < 0; i_921_++) { - int i_922_ = i_888_ + i_891_ - 3; - while (i_888_ < i_922_) { - int i_923_ = (this.anIntArray9933[i_889_++]); - if (i_923_ != 0) is[i_888_++] = i_923_; - else i_888_++; - i_923_ = (this.anIntArray9933[i_889_++]); - if (i_923_ != 0) is[i_888_++] = i_923_; - else i_888_++; - i_923_ = (this.anIntArray9933[i_889_++]); - if (i_923_ != 0) is[i_888_++] = i_923_; - else i_888_++; - i_923_ = (this.anIntArray9933[i_889_++]); - if (i_923_ != 0) is[i_888_++] = i_923_; - else i_888_++; - } - i_922_ += 3; - while (i_888_ < i_922_) { - int i_924_ = (this.anIntArray9933[i_889_++]); - if (i_924_ != 0) is[i_888_++] = i_924_; - else i_888_++; - } - i_888_ += i_892_; - i_889_ += i_893_; - } - return; - } - if (i_884_ == 0) { - if ((i_885_ & 0xffffff) == 16777215) { - int i_925_ = i_885_ >>> 24; - int i_926_ = 256 - i_925_; - for (int i_927_ = -i_890_; i_927_ < 0; i_927_++) { - for (int i_928_ = -i_891_; i_928_ < 0; i_928_++) { - int i_929_ = (this.anIntArray9933[i_889_++]); - if (i_929_ != 0) { - int i_930_ = is[i_888_]; - is[i_888_++] = ((((i_929_ & 0xff00ff) * i_925_ + (i_930_ & 0xff00ff) * i_926_) & ~0xff00ff) + (((i_929_ & 0xff00) * i_925_ + (i_930_ & 0xff00) * i_926_) & 0xff0000)) >> 8; - } else i_888_++; - } - i_888_ += i_892_; - i_889_ += i_893_; - } - } else { - int i_931_ = (i_885_ & 0xff0000) >> 16; - int i_932_ = (i_885_ & 0xff00) >> 8; - int i_933_ = i_885_ & 0xff; - int i_934_ = i_885_ >>> 24; - int i_935_ = 256 - i_934_; - for (int i_936_ = -i_890_; i_936_ < 0; i_936_++) { - for (int i_937_ = -i_891_; i_937_ < 0; i_937_++) { - int i_938_ = (this.anIntArray9933[i_889_++]); - if (i_938_ != 0) { - if (i_934_ == 255) { - int i_943_ = ((i_938_ & 0xff0000) * i_931_ & ~0xffffff); - int i_944_ = ((i_938_ & 0xff00) * i_932_ & 0xff0000); - int i_945_ = ((i_938_ & 0xff) * i_933_ & 0xff00); - is[i_888_++] = (i_943_ | i_944_ | i_945_) >>> 8; - } else { - int i_939_ = ((i_938_ & 0xff0000) * i_931_ & ~0xffffff); - int i_940_ = ((i_938_ & 0xff00) * i_932_ & 0xff0000); - int i_941_ = ((i_938_ & 0xff) * i_933_ & 0xff00); - i_938_ = (i_939_ | i_940_ | i_941_) >>> 8; - int i_942_ = is[i_888_]; - is[i_888_++] = ((((i_938_ & 0xff00ff) * i_934_ + ((i_942_ & 0xff00ff) * i_935_)) & ~0xff00ff) + (((i_938_ & 0xff00) * i_934_ + ((i_942_ & 0xff00) * i_935_)) & 0xff0000)) >> 8; - } - } else i_888_++; - } - i_888_ += i_892_; - i_889_ += i_893_; - } - return; - } - return; - } - if (i_884_ == 3) { - int i_946_ = i_885_ >>> 24; - int i_947_ = 256 - i_946_; - for (int i_948_ = -i_890_; i_948_ < 0; i_948_++) { - for (int i_949_ = -i_891_; i_949_ < 0; i_949_++) { - int i_950_ = (this.anIntArray9933[i_889_++]); - int i_951_ = i_950_ + i_885_; - int i_952_ = (i_950_ & 0xff00ff) + (i_885_ & 0xff00ff); - int i_953_ = ((i_952_ & 0x1000100) + (i_951_ - i_952_ & 0x10000)); - i_953_ = i_951_ - i_953_ | i_953_ - (i_953_ >>> 8); - if (i_950_ == 0 && i_946_ != 255) { - i_950_ = i_953_; - i_953_ = is[i_888_]; - i_953_ = ((((i_950_ & 0xff00ff) * i_946_ + (i_953_ & 0xff00ff) * i_947_) & ~0xff00ff) + (((i_950_ & 0xff00) * i_946_ + (i_953_ & 0xff00) * i_947_) & 0xff0000)) >> 8; - } - is[i_888_++] = i_953_; - } - i_888_ += i_892_; - i_889_ += i_893_; - } - return; - } - if (i_884_ == 2) { - int i_954_ = i_885_ >>> 24; - int i_955_ = 256 - i_954_; - int i_956_ = (i_885_ & 0xff00ff) * i_955_ & ~0xff00ff; - int i_957_ = (i_885_ & 0xff00) * i_955_ & 0xff0000; - i_885_ = (i_956_ | i_957_) >>> 8; - for (int i_958_ = -i_890_; i_958_ < 0; i_958_++) { - for (int i_959_ = -i_891_; i_959_ < 0; i_959_++) { - int i_960_ = (this.anIntArray9933[i_889_++]); - if (i_960_ != 0) { - i_956_ = (i_960_ & 0xff00ff) * i_954_ & ~0xff00ff; - i_957_ = (i_960_ & 0xff00) * i_954_ & 0xff0000; - is[i_888_++] = ((i_956_ | i_957_) >>> 8) + i_885_; - } else i_888_++; - } - i_888_ += i_892_; - i_889_ += i_893_; - } - return; - } - throw new IllegalArgumentException(); - } - if (i_886_ == 2) { - if (i_884_ == 1) { - for (int i_961_ = -i_890_; i_961_ < 0; i_961_++) { - for (int i_962_ = -i_891_; i_962_ < 0; i_962_++) { - int i_963_ = (this.anIntArray9933[i_889_++]); - if (i_963_ != 0) { - int i_964_ = is[i_888_]; - int i_965_ = i_963_ + i_964_; - int i_966_ = ((i_963_ & 0xff00ff) + (i_964_ & 0xff00ff)); - i_964_ = (i_966_ & 0x1000100) + (i_965_ - i_966_ & 0x10000); - is[i_888_++] = i_965_ - i_964_ | i_964_ - (i_964_ >>> 8); - } else i_888_++; - } - i_888_ += i_892_; - i_889_ += i_893_; - } - return; - } - if (i_884_ == 0) { - int i_967_ = (i_885_ & 0xff0000) >> 16; - int i_968_ = (i_885_ & 0xff00) >> 8; - int i_969_ = i_885_ & 0xff; - for (int i_970_ = -i_890_; i_970_ < 0; i_970_++) { - for (int i_971_ = -i_891_; i_971_ < 0; i_971_++) { - int i_972_ = (this.anIntArray9933[i_889_++]); - if (i_972_ != 0) { - int i_973_ = (i_972_ & 0xff0000) * i_967_ & ~0xffffff; - int i_974_ = (i_972_ & 0xff00) * i_968_ & 0xff0000; - int i_975_ = (i_972_ & 0xff) * i_969_ & 0xff00; - i_972_ = (i_973_ | i_974_ | i_975_) >>> 8; - int i_976_ = is[i_888_]; - int i_977_ = i_972_ + i_976_; - int i_978_ = ((i_972_ & 0xff00ff) + (i_976_ & 0xff00ff)); - i_976_ = (i_978_ & 0x1000100) + (i_977_ - i_978_ & 0x10000); - is[i_888_++] = i_977_ - i_976_ | i_976_ - (i_976_ >>> 8); - } else i_888_++; - } - i_888_ += i_892_; - i_889_ += i_893_; - } - return; - } - if (i_884_ == 3) { - for (int i_979_ = -i_890_; i_979_ < 0; i_979_++) { - for (int i_980_ = -i_891_; i_980_ < 0; i_980_++) { - int i_981_ = (this.anIntArray9933[i_889_++]); - int i_982_ = i_981_ + i_885_; - int i_983_ = (i_981_ & 0xff00ff) + (i_885_ & 0xff00ff); - int i_984_ = ((i_983_ & 0x1000100) + (i_982_ - i_983_ & 0x10000)); - i_981_ = i_982_ - i_984_ | i_984_ - (i_984_ >>> 8); - i_984_ = is[i_888_]; - i_982_ = i_981_ + i_984_; - i_983_ = (i_981_ & 0xff00ff) + (i_984_ & 0xff00ff); - i_984_ = (i_983_ & 0x1000100) + (i_982_ - i_983_ & 0x10000); - is[i_888_++] = i_982_ - i_984_ | i_984_ - (i_984_ >>> 8); - } - i_888_ += i_892_; - i_889_ += i_893_; - } - return; - } - if (i_884_ == 2) { - int i_985_ = i_885_ >>> 24; - int i_986_ = 256 - i_985_; - int i_987_ = (i_885_ & 0xff00ff) * i_986_ & ~0xff00ff; - int i_988_ = (i_885_ & 0xff00) * i_986_ & 0xff0000; - i_885_ = (i_987_ | i_988_) >>> 8; - for (int i_989_ = -i_890_; i_989_ < 0; i_989_++) { - for (int i_990_ = -i_891_; i_990_ < 0; i_990_++) { - int i_991_ = (this.anIntArray9933[i_889_++]); - if (i_991_ != 0) { - i_987_ = (i_991_ & 0xff00ff) * i_985_ & ~0xff00ff; - i_988_ = (i_991_ & 0xff00) * i_985_ & 0xff0000; - i_991_ = ((i_987_ | i_988_) >>> 8) + i_885_; - int i_992_ = is[i_888_]; - int i_993_ = i_991_ + i_992_; - int i_994_ = ((i_991_ & 0xff00ff) + (i_992_ & 0xff00ff)); - i_992_ = (i_994_ & 0x1000100) + (i_993_ - i_994_ & 0x10000); - is[i_888_++] = i_993_ - i_992_ | i_992_ - (i_992_ >>> 8); - } else i_888_++; - } - i_888_ += i_892_; - i_889_ += i_893_; - } - return; - } - throw new IllegalArgumentException(); - } - throw new IllegalArgumentException(); - } - } - - final void method996(int i, int i_995_, int i_996_, int i_997_, int i_998_, int i_999_, int i_1000_, int i_1001_, int i_1002_) { - if (i_997_ > 0 && i_998_ > 0) { - int i_1003_ = 0; - int i_1004_ = 0; - int i_1005_ = (this.anInt8461 + this.anInt8471 + this.anInt8454); - int i_1006_ = (this.anInt8464 + this.anInt8470 + this.anInt8456); - int i_1007_ = (i_1005_ << 16) / i_997_; - int i_1008_ = (i_1006_ << 16) / i_998_; - if (this.anInt8461 > 0) { - int i_1009_ = (((this.anInt8461 << 16) + i_1007_ - 1) / i_1007_); - i += i_1009_; - i_1003_ += i_1009_ * i_1007_ - (this.anInt8461 << 16); - } - if (this.anInt8464 > 0) { - int i_1010_ = (((this.anInt8464 << 16) + i_1008_ - 1) / i_1008_); - i_995_ += i_1010_; - i_1004_ += i_1010_ * i_1008_ - (this.anInt8464 << 16); - } - if (this.anInt8471 < i_1005_) i_997_ = ((this.anInt8471 << 16) - i_1003_ + i_1007_ - 1) / i_1007_; - if (this.anInt8470 < i_1006_) i_998_ = ((this.anInt8470 << 16) - i_1004_ + i_1008_ - 1) / i_1008_; - int i_1011_ = i + i_995_ * this.aHa_Sub1_8460.anInt7477; - int i_1012_ = (this.aHa_Sub1_8460.anInt7477 - i_997_); - if (i_995_ + i_998_ > this.aHa_Sub1_8460.anInt7503) i_998_ -= (i_995_ + i_998_ - (this.aHa_Sub1_8460.anInt7503)); - if (i_995_ < this.aHa_Sub1_8460.anInt7476) { - int i_1013_ = (this.aHa_Sub1_8460.anInt7476) - i_995_; - i_998_ -= i_1013_; - i_1011_ += i_1013_ * this.aHa_Sub1_8460.anInt7477; - i_1004_ += i_1008_ * i_1013_; - } - if (i + i_997_ > this.aHa_Sub1_8460.anInt7507) { - int i_1014_ = (i + i_997_ - (this.aHa_Sub1_8460.anInt7507)); - i_997_ -= i_1014_; - i_1012_ += i_1014_; - } - if (i < this.aHa_Sub1_8460.anInt7496) { - int i_1015_ = (this.aHa_Sub1_8460.anInt7496) - i; - i_997_ -= i_1015_; - i_1011_ += i_1015_; - i_1003_ += i_1007_ * i_1015_; - i_1012_ += i_1015_; - } - float[] fs = (this.aHa_Sub1_8460.aFloatArray7511); - int[] is = (this.aHa_Sub1_8460.anIntArray7483); - if (i_1001_ == 0) { - if (i_999_ == 1) { - int i_1016_ = i_1003_; - for (int i_1017_ = -i_998_; i_1017_ < 0; i_1017_++) { - int i_1018_ = ((i_1004_ >> 16) * this.anInt8471); - for (int i_1019_ = -i_997_; i_1019_ < 0; i_1019_++) { - if ((float) i_996_ < fs[i_1011_]) { - is[i_1011_] = (this.anIntArray9933[(i_1003_ >> 16) + i_1018_]); - fs[i_1011_] = (float) i_996_; - } - i_1003_ += i_1007_; - i_1011_++; - } - i_1004_ += i_1008_; - i_1003_ = i_1016_; - i_1011_ += i_1012_; - } - return; - } - if (i_999_ == 0) { - int i_1020_ = (i_1000_ & 0xff0000) >> 16; - int i_1021_ = (i_1000_ & 0xff00) >> 8; - int i_1022_ = i_1000_ & 0xff; - int i_1023_ = i_1003_; - for (int i_1024_ = -i_998_; i_1024_ < 0; i_1024_++) { - int i_1025_ = ((i_1004_ >> 16) * this.anInt8471); - for (int i_1026_ = -i_997_; i_1026_ < 0; i_1026_++) { - if ((float) i_996_ < fs[i_1011_]) { - int i_1027_ = (this.anIntArray9933[(i_1003_ >> 16) + i_1025_]); - int i_1028_ = ((i_1027_ & 0xff0000) * i_1020_ & ~0xffffff); - int i_1029_ = (i_1027_ & 0xff00) * i_1021_ & 0xff0000; - int i_1030_ = (i_1027_ & 0xff) * i_1022_ & 0xff00; - is[i_1011_] = (i_1028_ | i_1029_ | i_1030_) >>> 8; - fs[i_1011_] = (float) i_996_; - } - i_1003_ += i_1007_; - i_1011_++; - } - i_1004_ += i_1008_; - i_1003_ = i_1023_; - i_1011_ += i_1012_; - } - return; - } - if (i_999_ == 3) { - int i_1031_ = i_1003_; - for (int i_1032_ = -i_998_; i_1032_ < 0; i_1032_++) { - int i_1033_ = ((i_1004_ >> 16) * this.anInt8471); - for (int i_1034_ = -i_997_; i_1034_ < 0; i_1034_++) { - if ((float) i_996_ < fs[i_1011_]) { - int i_1035_ = (this.anIntArray9933[(i_1003_ >> 16) + i_1033_]); - int i_1036_ = i_1035_ + i_1000_; - int i_1037_ = ((i_1035_ & 0xff00ff) + (i_1000_ & 0xff00ff)); - int i_1038_ = ((i_1037_ & 0x1000100) + (i_1036_ - i_1037_ & 0x10000)); - is[i_1011_] = i_1036_ - i_1038_ | i_1038_ - (i_1038_ >>> 8); - fs[i_1011_] = (float) i_996_; - } - i_1003_ += i_1007_; - i_1011_++; - } - i_1004_ += i_1008_; - i_1003_ = i_1031_; - i_1011_ += i_1012_; - } - return; - } - if (i_999_ == 2) { - int i_1039_ = i_1000_ >>> 24; - int i_1040_ = 256 - i_1039_; - int i_1041_ = (i_1000_ & 0xff00ff) * i_1040_ & ~0xff00ff; - int i_1042_ = (i_1000_ & 0xff00) * i_1040_ & 0xff0000; - i_1000_ = (i_1041_ | i_1042_) >>> 8; - int i_1043_ = i_1003_; - for (int i_1044_ = -i_998_; i_1044_ < 0; i_1044_++) { - int i_1045_ = ((i_1004_ >> 16) * this.anInt8471); - for (int i_1046_ = -i_997_; i_1046_ < 0; i_1046_++) { - if ((float) i_996_ < fs[i_1011_]) { - int i_1047_ = (this.anIntArray9933[(i_1003_ >> 16) + i_1045_]); - i_1041_ = ((i_1047_ & 0xff00ff) * i_1039_ & ~0xff00ff); - i_1042_ = (i_1047_ & 0xff00) * i_1039_ & 0xff0000; - is[i_1011_] = ((i_1041_ | i_1042_) >>> 8) + i_1000_; - fs[i_1011_] = (float) i_996_; - } - i_1003_ += i_1007_; - i_1011_++; - } - i_1004_ += i_1008_; - i_1003_ = i_1043_; - i_1011_ += i_1012_; - } - return; - } - throw new IllegalArgumentException(); - } - if (i_1001_ == 1) { - if (i_999_ == 1) { - int i_1048_ = i_1003_; - for (int i_1049_ = -i_998_; i_1049_ < 0; i_1049_++) { - int i_1050_ = ((i_1004_ >> 16) * this.anInt8471); - for (int i_1051_ = -i_997_; i_1051_ < 0; i_1051_++) { - if ((float) i_996_ < fs[i_1011_]) { - int i_1052_ = (this.anIntArray9933[(i_1003_ >> 16) + i_1050_]); - if (i_1052_ != 0) { - is[i_1011_] = i_1052_; - fs[i_1011_] = (float) i_996_; - } - } - i_1003_ += i_1007_; - i_1011_++; - } - i_1004_ += i_1008_; - i_1003_ = i_1048_; - i_1011_ += i_1012_; - } - return; - } - if (i_999_ == 0) { - int i_1053_ = i_1003_; - if ((i_1000_ & 0xffffff) == 16777215) { - int i_1054_ = i_1000_ >>> 24; - int i_1055_ = 256 - i_1054_; - for (int i_1056_ = -i_998_; i_1056_ < 0; i_1056_++) { - int i_1057_ = ((i_1004_ >> 16) * this.anInt8471); - for (int i_1058_ = -i_997_; i_1058_ < 0; i_1058_++) { - if ((float) i_996_ < fs[i_1011_]) { - int i_1059_ = (this.anIntArray9933[(i_1003_ >> 16) + i_1057_]); - if (i_1059_ != 0) { - int i_1060_ = is[i_1011_]; - is[i_1011_] = ((((i_1059_ & 0xff00ff) * i_1054_ + ((i_1060_ & 0xff00ff) * i_1055_)) & ~0xff00ff) + (((i_1059_ & 0xff00) * i_1054_ + ((i_1060_ & 0xff00) * i_1055_)) & 0xff0000)) >> 8; - fs[i_1011_] = (float) i_996_; - } - } - i_1003_ += i_1007_; - i_1011_++; - } - i_1004_ += i_1008_; - i_1003_ = i_1053_; - i_1011_ += i_1012_; - } - } else { - int i_1061_ = (i_1000_ & 0xff0000) >> 16; - int i_1062_ = (i_1000_ & 0xff00) >> 8; - int i_1063_ = i_1000_ & 0xff; - int i_1064_ = i_1000_ >>> 24; - int i_1065_ = 256 - i_1064_; - for (int i_1066_ = -i_998_; i_1066_ < 0; i_1066_++) { - int i_1067_ = ((i_1004_ >> 16) * this.anInt8471); - for (int i_1068_ = -i_997_; i_1068_ < 0; i_1068_++) { - if ((float) i_996_ < fs[i_1011_]) { - int i_1069_ = (this.anIntArray9933[(i_1003_ >> 16) + i_1067_]); - if (i_1069_ != 0) { - if (i_1064_ == 255) { - int i_1074_ = (((i_1069_ & 0xff0000) * i_1061_) & ~0xffffff); - int i_1075_ = ((i_1069_ & 0xff00) * i_1062_ & 0xff0000); - int i_1076_ = ((i_1069_ & 0xff) * i_1063_ & 0xff00); - is[i_1011_] = (i_1074_ | i_1075_ | i_1076_) >>> 8; - fs[i_1011_] = (float) i_996_; - } else { - int i_1070_ = (((i_1069_ & 0xff0000) * i_1061_) & ~0xffffff); - int i_1071_ = ((i_1069_ & 0xff00) * i_1062_ & 0xff0000); - int i_1072_ = ((i_1069_ & 0xff) * i_1063_ & 0xff00); - i_1069_ = (i_1070_ | i_1071_ | i_1072_) >>> 8; - int i_1073_ = is[i_1011_]; - is[i_1011_] = (((((i_1069_ & 0xff00ff) * i_1064_) + ((i_1073_ & 0xff00ff) * i_1065_)) & ~0xff00ff) + ((((i_1069_ & 0xff00) * i_1064_) + ((i_1073_ & 0xff00) * i_1065_)) & 0xff0000)) >> 8; - fs[i_1011_] = (float) i_996_; - } - } - } - i_1003_ += i_1007_; - i_1011_++; - } - i_1004_ += i_1008_; - i_1003_ = i_1053_; - i_1011_ += i_1012_; - } - return; - } - return; - } - if (i_999_ == 3) { - int i_1077_ = i_1003_; - int i_1078_ = i_1000_ >>> 24; - int i_1079_ = 256 - i_1078_; - for (int i_1080_ = -i_998_; i_1080_ < 0; i_1080_++) { - int i_1081_ = ((i_1004_ >> 16) * this.anInt8471); - for (int i_1082_ = -i_997_; i_1082_ < 0; i_1082_++) { - if ((float) i_996_ < fs[i_1011_]) { - int i_1083_ = (this.anIntArray9933[(i_1003_ >> 16) + i_1081_]); - int i_1084_ = i_1083_ + i_1000_; - int i_1085_ = ((i_1083_ & 0xff00ff) + (i_1000_ & 0xff00ff)); - int i_1086_ = ((i_1085_ & 0x1000100) + (i_1084_ - i_1085_ & 0x10000)); - i_1086_ = i_1084_ - i_1086_ | i_1086_ - (i_1086_ >>> 8); - if (i_1083_ == 0 && i_1078_ != 255) { - i_1083_ = i_1086_; - i_1086_ = is[i_1011_]; - i_1086_ = ((((i_1083_ & 0xff00ff) * i_1078_ + (i_1086_ & 0xff00ff) * i_1079_) & ~0xff00ff) + (((i_1083_ & 0xff00) * i_1078_ + (i_1086_ & 0xff00) * i_1079_) & 0xff0000)) >> 8; - } - is[i_1011_] = i_1086_; - fs[i_1011_] = (float) i_996_; - } - i_1003_ += i_1007_; - i_1011_++; - } - i_1004_ += i_1008_; - i_1003_ = i_1077_; - i_1011_ += i_1012_; - } - return; - } - if (i_999_ == 2) { - int i_1087_ = i_1000_ >>> 24; - int i_1088_ = 256 - i_1087_; - int i_1089_ = (i_1000_ & 0xff00ff) * i_1088_ & ~0xff00ff; - int i_1090_ = (i_1000_ & 0xff00) * i_1088_ & 0xff0000; - i_1000_ = (i_1089_ | i_1090_) >>> 8; - int i_1091_ = i_1003_; - for (int i_1092_ = -i_998_; i_1092_ < 0; i_1092_++) { - int i_1093_ = ((i_1004_ >> 16) * this.anInt8471); - for (int i_1094_ = -i_997_; i_1094_ < 0; i_1094_++) { - if ((float) i_996_ < fs[i_1011_]) { - int i_1095_ = (this.anIntArray9933[(i_1003_ >> 16) + i_1093_]); - if (i_1095_ != 0) { - i_1089_ = ((i_1095_ & 0xff00ff) * i_1087_ & ~0xff00ff); - i_1090_ = ((i_1095_ & 0xff00) * i_1087_ & 0xff0000); - is[i_1011_] = (((i_1089_ | i_1090_) >>> 8) + i_1000_); - fs[i_1011_] = (float) i_996_; - } - } - i_1003_ += i_1007_; - i_1011_++; - } - i_1004_ += i_1008_; - i_1003_ = i_1091_; - i_1011_ += i_1012_; - } - return; - } - throw new IllegalArgumentException(); - } - if (i_1001_ == 2) { - if (i_999_ == 1) { - int i_1096_ = i_1003_; - for (int i_1097_ = -i_998_; i_1097_ < 0; i_1097_++) { - int i_1098_ = ((i_1004_ >> 16) * this.anInt8471); - for (int i_1099_ = -i_997_; i_1099_ < 0; i_1099_++) { - if ((float) i_996_ < fs[i_1011_]) { - int i_1100_ = (this.anIntArray9933[(i_1003_ >> 16) + i_1098_]); - if (i_1100_ != 0) { - int i_1101_ = is[i_1011_]; - int i_1102_ = i_1100_ + i_1101_; - int i_1103_ = ((i_1100_ & 0xff00ff) + (i_1101_ & 0xff00ff)); - i_1101_ = ((i_1103_ & 0x1000100) + (i_1102_ - i_1103_ & 0x10000)); - is[i_1011_] = (i_1102_ - i_1101_ | i_1101_ - (i_1101_ >>> 8)); - fs[i_1011_] = (float) i_996_; - } - } - i_1003_ += i_1007_; - i_1011_++; - } - i_1004_ += i_1008_; - i_1003_ = i_1096_; - i_1011_ += i_1012_; - } - return; - } - if (i_999_ == 0) { - int i_1104_ = i_1003_; - int i_1105_ = (i_1000_ & 0xff0000) >> 16; - int i_1106_ = (i_1000_ & 0xff00) >> 8; - int i_1107_ = i_1000_ & 0xff; - for (int i_1108_ = -i_998_; i_1108_ < 0; i_1108_++) { - int i_1109_ = ((i_1004_ >> 16) * this.anInt8471); - for (int i_1110_ = -i_997_; i_1110_ < 0; i_1110_++) { - if ((float) i_996_ < fs[i_1011_]) { - int i_1111_ = (this.anIntArray9933[(i_1003_ >> 16) + i_1109_]); - if (i_1111_ != 0) { - int i_1112_ = ((i_1111_ & 0xff0000) * i_1105_ & ~0xffffff); - int i_1113_ = ((i_1111_ & 0xff00) * i_1106_ & 0xff0000); - int i_1114_ = (i_1111_ & 0xff) * i_1107_ & 0xff00; - i_1111_ = (i_1112_ | i_1113_ | i_1114_) >>> 8; - int i_1115_ = is[i_1011_]; - int i_1116_ = i_1111_ + i_1115_; - int i_1117_ = ((i_1111_ & 0xff00ff) + (i_1115_ & 0xff00ff)); - i_1115_ = ((i_1117_ & 0x1000100) + (i_1116_ - i_1117_ & 0x10000)); - is[i_1011_] = (i_1116_ - i_1115_ | i_1115_ - (i_1115_ >>> 8)); - fs[i_1011_] = (float) i_996_; - } - } - i_1003_ += i_1007_; - i_1011_++; - } - i_1004_ += i_1008_; - i_1003_ = i_1104_; - i_1011_ += i_1012_; - } - return; - } - if (i_999_ == 3) { - int i_1118_ = i_1003_; - for (int i_1119_ = -i_998_; i_1119_ < 0; i_1119_++) { - int i_1120_ = ((i_1004_ >> 16) * this.anInt8471); - for (int i_1121_ = -i_997_; i_1121_ < 0; i_1121_++) { - if ((float) i_996_ < fs[i_1011_]) { - int i_1122_ = (this.anIntArray9933[(i_1003_ >> 16) + i_1120_]); - int i_1123_ = i_1122_ + i_1000_; - int i_1124_ = ((i_1122_ & 0xff00ff) + (i_1000_ & 0xff00ff)); - int i_1125_ = ((i_1124_ & 0x1000100) + (i_1123_ - i_1124_ & 0x10000)); - i_1122_ = i_1123_ - i_1125_ | i_1125_ - (i_1125_ >>> 8); - i_1125_ = is[i_1011_]; - i_1123_ = i_1122_ + i_1125_; - i_1124_ = (i_1122_ & 0xff00ff) + (i_1125_ & 0xff00ff); - i_1125_ = ((i_1124_ & 0x1000100) + (i_1123_ - i_1124_ & 0x10000)); - is[i_1011_] = i_1123_ - i_1125_ | i_1125_ - (i_1125_ >>> 8); - fs[i_1011_] = (float) i_996_; - } - i_1003_ += i_1007_; - i_1011_++; - } - i_1004_ += i_1008_; - i_1003_ = i_1118_; - i_1011_ += i_1012_; - } - return; - } - if (i_999_ == 2) { - int i_1126_ = i_1000_ >>> 24; - int i_1127_ = 256 - i_1126_; - int i_1128_ = (i_1000_ & 0xff00ff) * i_1127_ & ~0xff00ff; - int i_1129_ = (i_1000_ & 0xff00) * i_1127_ & 0xff0000; - i_1000_ = (i_1128_ | i_1129_) >>> 8; - int i_1130_ = i_1003_; - for (int i_1131_ = -i_998_; i_1131_ < 0; i_1131_++) { - int i_1132_ = ((i_1004_ >> 16) * this.anInt8471); - for (int i_1133_ = -i_997_; i_1133_ < 0; i_1133_++) { - if ((float) i_996_ < fs[i_1011_]) { - int i_1134_ = (this.anIntArray9933[(i_1003_ >> 16) + i_1132_]); - if (i_1134_ != 0) { - i_1128_ = ((i_1134_ & 0xff00ff) * i_1126_ & ~0xff00ff); - i_1129_ = ((i_1134_ & 0xff00) * i_1126_ & 0xff0000); - i_1134_ = (((i_1128_ | i_1129_) >>> 8) + i_1000_); - int i_1135_ = is[i_1011_]; - int i_1136_ = i_1134_ + i_1135_; - int i_1137_ = ((i_1134_ & 0xff00ff) + (i_1135_ & 0xff00ff)); - i_1135_ = ((i_1137_ & 0x1000100) + (i_1136_ - i_1137_ & 0x10000)); - is[i_1011_] = (i_1136_ - i_1135_ | i_1135_ - (i_1135_ >>> 8)); - fs[i_1011_] = (float) i_996_; - } - } - i_1003_ += i_1007_; - i_1011_++; - } - i_1004_ += i_1008_; - i_1003_ = i_1130_; - i_1011_ += i_1012_; - } - return; - } - throw new IllegalArgumentException(); - } - throw new IllegalArgumentException(); - } - } -} diff --git a/client/src/Class105_Sub3_Sub2.java b/client/src/Class105_Sub3_Sub2.java deleted file mode 100644 index be5c55518..000000000 --- a/client/src/Class105_Sub3_Sub2.java +++ /dev/null @@ -1,3018 +0,0 @@ -/* Class105_Sub3_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class105_Sub3_Sub2 extends Class105_Sub3 { - private final byte[] aByteArray9934; - private final int[] anIntArray9935; - - final void method979(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_) { - throw new IllegalStateException(); - } - - final void method968(int i, int i_5_, int i_6_) { - throw new IllegalStateException(); - } - - final void method996(int i, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_, int i_12_, int i_13_, int i_14_) { - if (i_9_ > 0 && i_10_ > 0) { - int i_15_ = 0; - int i_16_ = 0; - int i_17_ = (this.anInt8461 + this.anInt8471 + this.anInt8454); - int i_18_ = (this.anInt8464 + this.anInt8470 + this.anInt8456); - int i_19_ = (i_17_ << 16) / i_9_; - int i_20_ = (i_18_ << 16) / i_10_; - if (this.anInt8461 > 0) { - int i_21_ = (((this.anInt8461 << 16) + i_19_ - 1) / i_19_); - i += i_21_; - i_15_ += i_21_ * i_19_ - (this.anInt8461 << 16); - } - if (this.anInt8464 > 0) { - int i_22_ = (((this.anInt8464 << 16) + i_20_ - 1) / i_20_); - i_7_ += i_22_; - i_16_ += i_22_ * i_20_ - (this.anInt8464 << 16); - } - if (this.anInt8471 < i_17_) i_9_ = ((this.anInt8471 << 16) - i_15_ + i_19_ - 1) / i_19_; - if (this.anInt8470 < i_18_) i_10_ = ((this.anInt8470 << 16) - i_16_ + i_20_ - 1) / i_20_; - int i_23_ = i + i_7_ * (this.aHa_Sub1_8460.anInt7477); - int i_24_ = (this.aHa_Sub1_8460.anInt7477 - i_9_); - if (i_7_ + i_10_ > this.aHa_Sub1_8460.anInt7503) i_10_ -= i_7_ + i_10_ - this.aHa_Sub1_8460.anInt7503; - if (i_7_ < this.aHa_Sub1_8460.anInt7476) { - int i_25_ = ((this.aHa_Sub1_8460.anInt7476) - i_7_); - i_10_ -= i_25_; - i_23_ += i_25_ * this.aHa_Sub1_8460.anInt7477; - i_16_ += i_20_ * i_25_; - } - if (i + i_9_ > this.aHa_Sub1_8460.anInt7507) { - int i_26_ = i + i_9_ - this.aHa_Sub1_8460.anInt7507; - i_9_ -= i_26_; - i_24_ += i_26_; - } - if (i < this.aHa_Sub1_8460.anInt7496) { - int i_27_ = ((this.aHa_Sub1_8460.anInt7496) - i); - i_9_ -= i_27_; - i_23_ += i_27_; - i_15_ += i_19_ * i_27_; - i_24_ += i_27_; - } - float[] fs = (this.aHa_Sub1_8460.aFloatArray7511); - int[] is = (this.aHa_Sub1_8460.anIntArray7483); - if (i_13_ == 0) { - if (i_11_ == 1) { - int i_28_ = i_15_; - for (int i_29_ = -i_10_; i_29_ < 0; i_29_++) { - int i_30_ = (i_16_ >> 16) * this.anInt8471; - for (int i_31_ = -i_9_; i_31_ < 0; i_31_++) { - if ((float) i_8_ < fs[i_23_]) { - is[i_23_] = (anIntArray9935[(aByteArray9934[(i_15_ >> 16) + i_30_] & 0xff)]); - fs[i_23_] = (float) i_8_; - } - i_15_ += i_19_; - i_23_++; - } - i_16_ += i_20_; - i_15_ = i_28_; - i_23_ += i_24_; - } - return; - } - if (i_11_ == 0) { - int i_32_ = (i_12_ & 0xff0000) >> 16; - int i_33_ = (i_12_ & 0xff00) >> 8; - int i_34_ = i_12_ & 0xff; - int i_35_ = i_15_; - for (int i_36_ = -i_10_; i_36_ < 0; i_36_++) { - int i_37_ = (i_16_ >> 16) * this.anInt8471; - for (int i_38_ = -i_9_; i_38_ < 0; i_38_++) { - if ((float) i_8_ < fs[i_23_]) { - int i_39_ = (anIntArray9935[(aByteArray9934[(i_15_ >> 16) + i_37_] & 0xff)]); - int i_40_ = (i_39_ & 0xff0000) * i_32_ & ~0xffffff; - int i_41_ = (i_39_ & 0xff00) * i_33_ & 0xff0000; - int i_42_ = (i_39_ & 0xff) * i_34_ & 0xff00; - is[i_23_] = (i_40_ | i_41_ | i_42_) >>> 8; - fs[i_23_] = (float) i_8_; - } - i_15_ += i_19_; - i_23_++; - } - i_16_ += i_20_; - i_15_ = i_35_; - i_23_ += i_24_; - } - return; - } - if (i_11_ == 3) { - int i_43_ = i_15_; - for (int i_44_ = -i_10_; i_44_ < 0; i_44_++) { - int i_45_ = (i_16_ >> 16) * this.anInt8471; - for (int i_46_ = -i_9_; i_46_ < 0; i_46_++) { - if ((float) i_8_ < fs[i_23_]) { - byte i_47_ = aByteArray9934[(i_15_ >> 16) + i_45_]; - int i_48_ = i_47_ > 0 ? anIntArray9935[i_47_] : 0; - int i_49_ = i_48_ + i_12_; - int i_50_ = (i_48_ & 0xff00ff) + (i_12_ & 0xff00ff); - int i_51_ = ((i_50_ & 0x1000100) + (i_49_ - i_50_ & 0x10000)); - is[i_23_] = i_49_ - i_51_ | i_51_ - (i_51_ >>> 8); - fs[i_23_] = (float) i_8_; - } - i_15_ += i_19_; - i_23_++; - } - i_16_ += i_20_; - i_15_ = i_43_; - i_23_ += i_24_; - } - return; - } - if (i_11_ == 2) { - int i_52_ = i_12_ >>> 24; - int i_53_ = 256 - i_52_; - int i_54_ = (i_12_ & 0xff00ff) * i_53_ & ~0xff00ff; - int i_55_ = (i_12_ & 0xff00) * i_53_ & 0xff0000; - i_12_ = (i_54_ | i_55_) >>> 8; - int i_56_ = i_15_; - for (int i_57_ = -i_10_; i_57_ < 0; i_57_++) { - int i_58_ = (i_16_ >> 16) * this.anInt8471; - for (int i_59_ = -i_9_; i_59_ < 0; i_59_++) { - if ((float) i_8_ < fs[i_23_]) { - int i_60_ = (anIntArray9935[(aByteArray9934[(i_15_ >> 16) + i_58_] & 0xff)]); - i_54_ = (i_60_ & 0xff00ff) * i_52_ & ~0xff00ff; - i_55_ = (i_60_ & 0xff00) * i_52_ & 0xff0000; - is[i_23_] = ((i_54_ | i_55_) >>> 8) + i_12_; - fs[i_23_] = (float) i_8_; - } - i_15_ += i_19_; - i_23_++; - } - i_16_ += i_20_; - i_15_ = i_56_; - i_23_ += i_24_; - } - return; - } - throw new IllegalArgumentException(); - } - if (i_13_ == 1) { - if (i_11_ == 1) { - int i_61_ = i_15_; - for (int i_62_ = -i_10_; i_62_ < 0; i_62_++) { - int i_63_ = (i_16_ >> 16) * this.anInt8471; - for (int i_64_ = -i_9_; i_64_ < 0; i_64_++) { - if ((float) i_8_ < fs[i_23_]) { - int i_65_ = aByteArray9934[(i_15_ >> 16) + i_63_]; - if (i_65_ != 0) { - is[i_23_] = anIntArray9935[i_65_ & 0xff]; - fs[i_23_] = (float) i_8_; - } - } - i_15_ += i_19_; - i_23_++; - } - i_16_ += i_20_; - i_15_ = i_61_; - i_23_ += i_24_; - } - return; - } - if (i_11_ == 0) { - int i_66_ = i_15_; - if ((i_12_ & 0xffffff) == 16777215) { - int i_67_ = i_12_ >>> 24; - int i_68_ = 256 - i_67_; - for (int i_69_ = -i_10_; i_69_ < 0; i_69_++) { - int i_70_ = ((i_16_ >> 16) * this.anInt8471); - for (int i_71_ = -i_9_; i_71_ < 0; i_71_++) { - if ((float) i_8_ < fs[i_23_]) { - int i_72_ = (aByteArray9934[(i_15_ >> 16) + i_70_]); - if (i_72_ != 0) { - int i_73_ = anIntArray9935[i_72_ & 0xff]; - int i_74_ = is[i_23_]; - is[i_23_] = ((((i_73_ & 0xff00ff) * i_67_ + (i_74_ & 0xff00ff) * i_68_) & ~0xff00ff) + (((i_73_ & 0xff00) * i_67_ + (i_74_ & 0xff00) * i_68_) & 0xff0000)) >> 8; - fs[i_23_] = (float) i_8_; - } - } - i_15_ += i_19_; - i_23_++; - } - i_16_ += i_20_; - i_15_ = i_66_; - i_23_ += i_24_; - } - } else { - int i_75_ = (i_12_ & 0xff0000) >> 16; - int i_76_ = (i_12_ & 0xff00) >> 8; - int i_77_ = i_12_ & 0xff; - int i_78_ = i_12_ >>> 24; - int i_79_ = 256 - i_78_; - for (int i_80_ = -i_10_; i_80_ < 0; i_80_++) { - int i_81_ = ((i_16_ >> 16) * this.anInt8471); - for (int i_82_ = -i_9_; i_82_ < 0; i_82_++) { - if ((float) i_8_ < fs[i_23_]) { - int i_83_ = (aByteArray9934[(i_15_ >> 16) + i_81_]); - if (i_83_ != 0) { - int i_84_ = anIntArray9935[i_83_ & 0xff]; - if (i_78_ == 255) { - int i_89_ = ((i_84_ & 0xff0000) * i_75_ & ~0xffffff); - int i_90_ = ((i_84_ & 0xff00) * i_76_ & 0xff0000); - int i_91_ = ((i_84_ & 0xff) * i_77_ & 0xff00); - is[i_23_] = (i_89_ | i_90_ | i_91_) >>> 8; - fs[i_23_] = (float) i_8_; - } else { - int i_85_ = ((i_84_ & 0xff0000) * i_75_ & ~0xffffff); - int i_86_ = ((i_84_ & 0xff00) * i_76_ & 0xff0000); - int i_87_ = ((i_84_ & 0xff) * i_77_ & 0xff00); - i_84_ = ((i_85_ | i_86_ | i_87_) >>> 8); - int i_88_ = is[i_23_]; - is[i_23_] = ((((i_84_ & 0xff00ff) * i_78_ + ((i_88_ & 0xff00ff) * i_79_)) & ~0xff00ff) + (((i_84_ & 0xff00) * i_78_ + ((i_88_ & 0xff00) * i_79_)) & 0xff0000)) >> 8; - fs[i_23_] = (float) i_8_; - } - } - } - i_15_ += i_19_; - i_23_++; - } - i_16_ += i_20_; - i_15_ = i_66_; - i_23_ += i_24_; - } - return; - } - return; - } - if (i_11_ == 3) { - int i_92_ = i_15_; - int i_93_ = i_12_ >>> 24; - int i_94_ = 256 - i_93_; - for (int i_95_ = -i_10_; i_95_ < 0; i_95_++) { - int i_96_ = (i_16_ >> 16) * this.anInt8471; - for (int i_97_ = -i_9_; i_97_ < 0; i_97_++) { - if ((float) i_8_ < fs[i_23_]) { - byte i_98_ = aByteArray9934[(i_15_ >> 16) + i_96_]; - int i_99_ = i_98_ > 0 ? anIntArray9935[i_98_] : 0; - int i_100_ = i_99_ + i_12_; - int i_101_ = (i_99_ & 0xff00ff) + (i_12_ & 0xff00ff); - int i_102_ = ((i_101_ & 0x1000100) + (i_100_ - i_101_ & 0x10000)); - i_102_ = i_100_ - i_102_ | i_102_ - (i_102_ >>> 8); - if (i_99_ == 0 && i_93_ != 255) { - i_99_ = i_102_; - i_102_ = is[i_23_]; - i_102_ = ((((i_99_ & 0xff00ff) * i_93_ + (i_102_ & 0xff00ff) * i_94_) & ~0xff00ff) + (((i_99_ & 0xff00) * i_93_ + (i_102_ & 0xff00) * i_94_) & 0xff0000)) >> 8; - } - is[i_23_] = i_102_; - fs[i_23_] = (float) i_8_; - } - i_15_ += i_19_; - i_23_++; - } - i_16_ += i_20_; - i_15_ = i_92_; - i_23_ += i_24_; - } - return; - } - if (i_11_ == 2) { - int i_103_ = i_12_ >>> 24; - int i_104_ = 256 - i_103_; - int i_105_ = (i_12_ & 0xff00ff) * i_104_ & ~0xff00ff; - int i_106_ = (i_12_ & 0xff00) * i_104_ & 0xff0000; - i_12_ = (i_105_ | i_106_) >>> 8; - int i_107_ = i_15_; - for (int i_108_ = -i_10_; i_108_ < 0; i_108_++) { - int i_109_ = (i_16_ >> 16) * this.anInt8471; - for (int i_110_ = -i_9_; i_110_ < 0; i_110_++) { - if ((float) i_8_ < fs[i_23_]) { - int i_111_ = aByteArray9934[(i_15_ >> 16) + i_109_]; - if (i_111_ != 0) { - int i_112_ = anIntArray9935[i_111_ & 0xff]; - i_105_ = ((i_112_ & 0xff00ff) * i_103_ & ~0xff00ff); - i_106_ = ((i_112_ & 0xff00) * i_103_ & 0xff0000); - is[i_23_] = ((i_105_ | i_106_) >>> 8) + i_12_; - fs[i_23_] = (float) i_8_; - } - } - i_15_ += i_19_; - i_23_++; - } - i_16_ += i_20_; - i_15_ = i_107_; - i_23_ += i_24_; - } - return; - } - throw new IllegalArgumentException(); - } - if (i_13_ == 2) { - if (i_11_ == 1) { - int i_113_ = i_15_; - for (int i_114_ = -i_10_; i_114_ < 0; i_114_++) { - int i_115_ = (i_16_ >> 16) * this.anInt8471; - for (int i_116_ = -i_9_; i_116_ < 0; i_116_++) { - if ((float) i_8_ < fs[i_23_]) { - int i_117_ = aByteArray9934[(i_15_ >> 16) + i_115_]; - if (i_117_ != 0) { - int i_118_ = anIntArray9935[i_117_ & 0xff]; - int i_119_ = is[i_23_]; - int i_120_ = i_118_ + i_119_; - int i_121_ = ((i_118_ & 0xff00ff) + (i_119_ & 0xff00ff)); - i_119_ = ((i_121_ & 0x1000100) + (i_120_ - i_121_ & 0x10000)); - is[i_23_] = i_120_ - i_119_ | i_119_ - (i_119_ >>> 8); - fs[i_23_] = (float) i_8_; - } - } - i_15_ += i_19_; - i_23_++; - } - i_16_ += i_20_; - i_15_ = i_113_; - i_23_ += i_24_; - } - return; - } - if (i_11_ == 0) { - int i_122_ = i_15_; - int i_123_ = (i_12_ & 0xff0000) >> 16; - int i_124_ = (i_12_ & 0xff00) >> 8; - int i_125_ = i_12_ & 0xff; - for (int i_126_ = -i_10_; i_126_ < 0; i_126_++) { - int i_127_ = (i_16_ >> 16) * this.anInt8471; - for (int i_128_ = -i_9_; i_128_ < 0; i_128_++) { - if ((float) i_8_ < fs[i_23_]) { - int i_129_ = aByteArray9934[(i_15_ >> 16) + i_127_]; - if (i_129_ != 0) { - int i_130_ = anIntArray9935[i_129_ & 0xff]; - int i_131_ = ((i_130_ & 0xff0000) * i_123_ & ~0xffffff); - int i_132_ = ((i_130_ & 0xff00) * i_124_ & 0xff0000); - int i_133_ = (i_130_ & 0xff) * i_125_ & 0xff00; - i_130_ = (i_131_ | i_132_ | i_133_) >>> 8; - int i_134_ = is[i_23_]; - int i_135_ = i_130_ + i_134_; - int i_136_ = ((i_130_ & 0xff00ff) + (i_134_ & 0xff00ff)); - i_134_ = ((i_136_ & 0x1000100) + (i_135_ - i_136_ & 0x10000)); - is[i_23_] = i_135_ - i_134_ | i_134_ - (i_134_ >>> 8); - fs[i_23_] = (float) i_8_; - } - } - i_15_ += i_19_; - i_23_++; - } - i_16_ += i_20_; - i_15_ = i_122_; - i_23_ += i_24_; - } - return; - } - if (i_11_ == 3) { - int i_137_ = i_15_; - for (int i_138_ = -i_10_; i_138_ < 0; i_138_++) { - int i_139_ = (i_16_ >> 16) * this.anInt8471; - for (int i_140_ = -i_9_; i_140_ < 0; i_140_++) { - if ((float) i_8_ < fs[i_23_]) { - byte i_141_ = aByteArray9934[(i_15_ >> 16) + i_139_]; - int i_142_ = i_141_ > 0 ? anIntArray9935[i_141_] : 0; - int i_143_ = i_142_ + i_12_; - int i_144_ = (i_142_ & 0xff00ff) + (i_12_ & 0xff00ff); - int i_145_ = ((i_144_ & 0x1000100) + (i_143_ - i_144_ & 0x10000)); - i_142_ = i_143_ - i_145_ | i_145_ - (i_145_ >>> 8); - i_145_ = is[i_23_]; - i_143_ = i_142_ + i_145_; - i_144_ = (i_142_ & 0xff00ff) + (i_145_ & 0xff00ff); - i_145_ = (i_144_ & 0x1000100) + (i_143_ - i_144_ & 0x10000); - is[i_23_] = i_143_ - i_145_ | i_145_ - (i_145_ >>> 8); - fs[i_23_] = (float) i_8_; - } - i_15_ += i_19_; - i_23_++; - } - i_16_ += i_20_; - i_15_ = i_137_; - i_23_ += i_24_; - } - return; - } - if (i_11_ == 2) { - int i_146_ = i_12_ >>> 24; - int i_147_ = 256 - i_146_; - int i_148_ = (i_12_ & 0xff00ff) * i_147_ & ~0xff00ff; - int i_149_ = (i_12_ & 0xff00) * i_147_ & 0xff0000; - i_12_ = (i_148_ | i_149_) >>> 8; - int i_150_ = i_15_; - for (int i_151_ = -i_10_; i_151_ < 0; i_151_++) { - int i_152_ = (i_16_ >> 16) * this.anInt8471; - for (int i_153_ = -i_9_; i_153_ < 0; i_153_++) { - if ((float) i_8_ < fs[i_23_]) { - int i_154_ = aByteArray9934[(i_15_ >> 16) + i_152_]; - if (i_154_ != 0) { - int i_155_ = anIntArray9935[i_154_ & 0xff]; - i_148_ = ((i_155_ & 0xff00ff) * i_146_ & ~0xff00ff); - i_149_ = ((i_155_ & 0xff00) * i_146_ & 0xff0000); - i_155_ = ((i_148_ | i_149_) >>> 8) + i_12_; - int i_156_ = is[i_23_]; - int i_157_ = i_155_ + i_156_; - int i_158_ = ((i_155_ & 0xff00ff) + (i_156_ & 0xff00ff)); - i_156_ = ((i_158_ & 0x1000100) + (i_157_ - i_158_ & 0x10000)); - is[i_23_] = i_157_ - i_156_ | i_156_ - (i_156_ >>> 8); - fs[i_23_] = (float) i_8_; - } - } - i_15_ += i_19_; - i_23_++; - } - i_16_ += i_20_; - i_15_ = i_150_; - i_23_ += i_24_; - } - return; - } - throw new IllegalArgumentException(); - } - throw new IllegalArgumentException(); - } - } - - final void method982(int i, int i_159_, int i_160_, int i_161_, int i_162_, int i_163_, int i_164_, int i_165_) { - if (this.aHa_Sub1_8460.method3716()) throw new IllegalStateException(); - if (i_160_ > 0 && i_161_ > 0) { - int i_166_ = 0; - int i_167_ = 0; - int i_168_ = this.aHa_Sub1_8460.anInt7477; - int i_169_ = (this.anInt8461 + this.anInt8471 + this.anInt8454); - int i_170_ = (this.anInt8464 + this.anInt8470 + this.anInt8456); - int i_171_ = (i_169_ << 16) / i_160_; - int i_172_ = (i_170_ << 16) / i_161_; - if (this.anInt8461 > 0) { - int i_173_ = (((this.anInt8461 << 16) + i_171_ - 1) / i_171_); - i += i_173_; - i_166_ += i_173_ * i_171_ - (this.anInt8461 << 16); - } - if (this.anInt8464 > 0) { - int i_174_ = (((this.anInt8464 << 16) + i_172_ - 1) / i_172_); - i_159_ += i_174_; - i_167_ += i_174_ * i_172_ - (this.anInt8464 << 16); - } - if (this.anInt8471 < i_169_) i_160_ = ((this.anInt8471 << 16) - i_166_ + i_171_ - 1) / i_171_; - if (this.anInt8470 < i_170_) i_161_ = ((this.anInt8470 << 16) - i_167_ + i_172_ - 1) / i_172_; - int i_175_ = i + i_159_ * i_168_; - int i_176_ = i_168_ - i_160_; - if (i_159_ + i_161_ > this.aHa_Sub1_8460.anInt7503) i_161_ -= (i_159_ + i_161_ - (this.aHa_Sub1_8460.anInt7503)); - if (i_159_ < this.aHa_Sub1_8460.anInt7476) { - int i_177_ = ((this.aHa_Sub1_8460.anInt7476) - i_159_); - i_161_ -= i_177_; - i_175_ += i_177_ * i_168_; - i_167_ += i_172_ * i_177_; - } - if (i + i_160_ > this.aHa_Sub1_8460.anInt7507) { - int i_178_ = (i + i_160_ - (this.aHa_Sub1_8460.anInt7507)); - i_160_ -= i_178_; - i_176_ += i_178_; - } - if (i < this.aHa_Sub1_8460.anInt7496) { - int i_179_ = ((this.aHa_Sub1_8460.anInt7496) - i); - i_160_ -= i_179_; - i_175_ += i_179_; - i_166_ += i_171_ * i_179_; - i_176_ += i_179_; - } - int[] is = (this.aHa_Sub1_8460.anIntArray7483); - if (i_164_ == 0) { - if (i_162_ == 1) { - int i_180_ = i_166_; - for (int i_181_ = -i_161_; i_181_ < 0; i_181_++) { - int i_182_ = ((i_167_ >> 16) * this.anInt8471); - for (int i_183_ = -i_160_; i_183_ < 0; i_183_++) { - is[i_175_++] = (anIntArray9935[(aByteArray9934[(i_166_ >> 16) + i_182_] & 0xff)]); - i_166_ += i_171_; - } - i_167_ += i_172_; - i_166_ = i_180_; - i_175_ += i_176_; - } - return; - } - if (i_162_ == 0) { - int i_184_ = (i_163_ & 0xff0000) >> 16; - int i_185_ = (i_163_ & 0xff00) >> 8; - int i_186_ = i_163_ & 0xff; - int i_187_ = i_166_; - for (int i_188_ = -i_161_; i_188_ < 0; i_188_++) { - int i_189_ = ((i_167_ >> 16) * this.anInt8471); - for (int i_190_ = -i_160_; i_190_ < 0; i_190_++) { - int i_191_ = (anIntArray9935[(aByteArray9934[(i_166_ >> 16) + i_189_] & 0xff)]); - int i_192_ = (i_191_ & 0xff0000) * i_184_ & ~0xffffff; - int i_193_ = (i_191_ & 0xff00) * i_185_ & 0xff0000; - int i_194_ = (i_191_ & 0xff) * i_186_ & 0xff00; - is[i_175_++] = (i_192_ | i_193_ | i_194_) >>> 8; - i_166_ += i_171_; - } - i_167_ += i_172_; - i_166_ = i_187_; - i_175_ += i_176_; - } - return; - } - if (i_162_ == 3) { - int i_195_ = i_166_; - for (int i_196_ = -i_161_; i_196_ < 0; i_196_++) { - int i_197_ = ((i_167_ >> 16) * this.anInt8471); - for (int i_198_ = -i_160_; i_198_ < 0; i_198_++) { - byte i_199_ = aByteArray9934[(i_166_ >> 16) + i_197_]; - int i_200_ = i_199_ > 0 ? anIntArray9935[i_199_] : 0; - int i_201_ = i_200_ + i_163_; - int i_202_ = (i_200_ & 0xff00ff) + (i_163_ & 0xff00ff); - int i_203_ = ((i_202_ & 0x1000100) + (i_201_ - i_202_ & 0x10000)); - is[i_175_++] = i_201_ - i_203_ | i_203_ - (i_203_ >>> 8); - i_166_ += i_171_; - } - i_167_ += i_172_; - i_166_ = i_195_; - i_175_ += i_176_; - } - return; - } - if (i_162_ == 2) { - int i_204_ = i_163_ >>> 24; - int i_205_ = 256 - i_204_; - int i_206_ = (i_163_ & 0xff00ff) * i_205_ & ~0xff00ff; - int i_207_ = (i_163_ & 0xff00) * i_205_ & 0xff0000; - i_163_ = (i_206_ | i_207_) >>> 8; - int i_208_ = i_166_; - for (int i_209_ = -i_161_; i_209_ < 0; i_209_++) { - int i_210_ = ((i_167_ >> 16) * this.anInt8471); - for (int i_211_ = -i_160_; i_211_ < 0; i_211_++) { - int i_212_ = (anIntArray9935[(aByteArray9934[(i_166_ >> 16) + i_210_] & 0xff)]); - i_206_ = (i_212_ & 0xff00ff) * i_204_ & ~0xff00ff; - i_207_ = (i_212_ & 0xff00) * i_204_ & 0xff0000; - is[i_175_++] = ((i_206_ | i_207_) >>> 8) + i_163_; - i_166_ += i_171_; - } - i_167_ += i_172_; - i_166_ = i_208_; - i_175_ += i_176_; - } - return; - } - throw new IllegalArgumentException(); - } - if (i_164_ == 1) { - if (i_162_ == 1) { - int i_213_ = i_166_; - for (int i_214_ = -i_161_; i_214_ < 0; i_214_++) { - int i_215_ = ((i_167_ >> 16) * this.anInt8471); - for (int i_216_ = -i_160_; i_216_ < 0; i_216_++) { - int i_217_ = aByteArray9934[(i_166_ >> 16) + i_215_]; - if (i_217_ != 0) is[i_175_++] = anIntArray9935[i_217_ & 0xff]; - else i_175_++; - i_166_ += i_171_; - } - i_167_ += i_172_; - i_166_ = i_213_; - i_175_ += i_176_; - } - return; - } - if (i_162_ == 0) { - int i_218_ = i_166_; - if ((i_163_ & 0xffffff) == 16777215) { - int i_219_ = i_163_ >>> 24; - int i_220_ = 256 - i_219_; - for (int i_221_ = -i_161_; i_221_ < 0; i_221_++) { - int i_222_ = ((i_167_ >> 16) * this.anInt8471); - for (int i_223_ = -i_160_; i_223_ < 0; i_223_++) { - int i_224_ = aByteArray9934[(i_166_ >> 16) + i_222_]; - if (i_224_ != 0) { - int i_225_ = anIntArray9935[i_224_ & 0xff]; - int i_226_ = is[i_175_]; - is[i_175_++] = ((((i_225_ & 0xff00ff) * i_219_ + (i_226_ & 0xff00ff) * i_220_) & ~0xff00ff) + (((i_225_ & 0xff00) * i_219_ + (i_226_ & 0xff00) * i_220_) & 0xff0000)) >> 8; - } else i_175_++; - i_166_ += i_171_; - } - i_167_ += i_172_; - i_166_ = i_218_; - i_175_ += i_176_; - } - } else { - int i_227_ = (i_163_ & 0xff0000) >> 16; - int i_228_ = (i_163_ & 0xff00) >> 8; - int i_229_ = i_163_ & 0xff; - int i_230_ = i_163_ >>> 24; - int i_231_ = 256 - i_230_; - for (int i_232_ = -i_161_; i_232_ < 0; i_232_++) { - int i_233_ = ((i_167_ >> 16) * this.anInt8471); - for (int i_234_ = -i_160_; i_234_ < 0; i_234_++) { - int i_235_ = aByteArray9934[(i_166_ >> 16) + i_233_]; - if (i_235_ != 0) { - int i_236_ = anIntArray9935[i_235_ & 0xff]; - if (i_230_ == 255) { - int i_241_ = ((i_236_ & 0xff0000) * i_227_ & ~0xffffff); - int i_242_ = ((i_236_ & 0xff00) * i_228_ & 0xff0000); - int i_243_ = ((i_236_ & 0xff) * i_229_ & 0xff00); - is[i_175_++] = (i_241_ | i_242_ | i_243_) >>> 8; - } else { - int i_237_ = ((i_236_ & 0xff0000) * i_227_ & ~0xffffff); - int i_238_ = ((i_236_ & 0xff00) * i_228_ & 0xff0000); - int i_239_ = ((i_236_ & 0xff) * i_229_ & 0xff00); - i_236_ = (i_237_ | i_238_ | i_239_) >>> 8; - int i_240_ = is[i_175_]; - is[i_175_++] = ((((i_236_ & 0xff00ff) * i_230_ + ((i_240_ & 0xff00ff) * i_231_)) & ~0xff00ff) + (((i_236_ & 0xff00) * i_230_ + ((i_240_ & 0xff00) * i_231_)) & 0xff0000)) >> 8; - } - } else i_175_++; - i_166_ += i_171_; - } - i_167_ += i_172_; - i_166_ = i_218_; - i_175_ += i_176_; - } - return; - } - return; - } - if (i_162_ == 3) { - int i_244_ = i_166_; - int i_245_ = i_163_ >>> 24; - int i_246_ = 256 - i_245_; - for (int i_247_ = -i_161_; i_247_ < 0; i_247_++) { - int i_248_ = ((i_167_ >> 16) * this.anInt8471); - for (int i_249_ = -i_160_; i_249_ < 0; i_249_++) { - byte i_250_ = aByteArray9934[(i_166_ >> 16) + i_248_]; - int i_251_ = i_250_ > 0 ? anIntArray9935[i_250_] : 0; - int i_252_ = i_251_ + i_163_; - int i_253_ = (i_251_ & 0xff00ff) + (i_163_ & 0xff00ff); - int i_254_ = ((i_253_ & 0x1000100) + (i_252_ - i_253_ & 0x10000)); - i_254_ = i_252_ - i_254_ | i_254_ - (i_254_ >>> 8); - if (i_251_ == 0 && i_245_ != 255) { - i_251_ = i_254_; - i_254_ = is[i_175_]; - i_254_ = ((((i_251_ & 0xff00ff) * i_245_ + (i_254_ & 0xff00ff) * i_246_) & ~0xff00ff) + (((i_251_ & 0xff00) * i_245_ + (i_254_ & 0xff00) * i_246_) & 0xff0000)) >> 8; - } - is[i_175_++] = i_254_; - i_166_ += i_171_; - } - i_167_ += i_172_; - i_166_ = i_244_; - i_175_ += i_176_; - } - return; - } - if (i_162_ == 2) { - int i_255_ = i_163_ >>> 24; - int i_256_ = 256 - i_255_; - int i_257_ = (i_163_ & 0xff00ff) * i_256_ & ~0xff00ff; - int i_258_ = (i_163_ & 0xff00) * i_256_ & 0xff0000; - i_163_ = (i_257_ | i_258_) >>> 8; - int i_259_ = i_166_; - for (int i_260_ = -i_161_; i_260_ < 0; i_260_++) { - int i_261_ = ((i_167_ >> 16) * this.anInt8471); - for (int i_262_ = -i_160_; i_262_ < 0; i_262_++) { - int i_263_ = aByteArray9934[(i_166_ >> 16) + i_261_]; - if (i_263_ != 0) { - int i_264_ = anIntArray9935[i_263_ & 0xff]; - i_257_ = (i_264_ & 0xff00ff) * i_255_ & ~0xff00ff; - i_258_ = (i_264_ & 0xff00) * i_255_ & 0xff0000; - is[i_175_++] = ((i_257_ | i_258_) >>> 8) + i_163_; - } else i_175_++; - i_166_ += i_171_; - } - i_167_ += i_172_; - i_166_ = i_259_; - i_175_ += i_176_; - } - return; - } - throw new IllegalArgumentException(); - } - if (i_164_ == 2) { - if (i_162_ == 1) { - int i_265_ = i_166_; - for (int i_266_ = -i_161_; i_266_ < 0; i_266_++) { - int i_267_ = ((i_167_ >> 16) * this.anInt8471); - for (int i_268_ = -i_160_; i_268_ < 0; i_268_++) { - int i_269_ = aByteArray9934[(i_166_ >> 16) + i_267_]; - if (i_269_ != 0) { - int i_270_ = anIntArray9935[i_269_ & 0xff]; - int i_271_ = is[i_175_]; - int i_272_ = i_270_ + i_271_; - int i_273_ = ((i_270_ & 0xff00ff) + (i_271_ & 0xff00ff)); - i_271_ = (i_273_ & 0x1000100) + (i_272_ - i_273_ & 0x10000); - is[i_175_++] = i_272_ - i_271_ | i_271_ - (i_271_ >>> 8); - } else i_175_++; - i_166_ += i_171_; - } - i_167_ += i_172_; - i_166_ = i_265_; - i_175_ += i_176_; - } - return; - } - if (i_162_ == 0) { - int i_274_ = i_166_; - int i_275_ = (i_163_ & 0xff0000) >> 16; - int i_276_ = (i_163_ & 0xff00) >> 8; - int i_277_ = i_163_ & 0xff; - for (int i_278_ = -i_161_; i_278_ < 0; i_278_++) { - int i_279_ = ((i_167_ >> 16) * this.anInt8471); - for (int i_280_ = -i_160_; i_280_ < 0; i_280_++) { - int i_281_ = aByteArray9934[(i_166_ >> 16) + i_279_]; - if (i_281_ != 0) { - int i_282_ = anIntArray9935[i_281_ & 0xff]; - int i_283_ = (i_282_ & 0xff0000) * i_275_ & ~0xffffff; - int i_284_ = (i_282_ & 0xff00) * i_276_ & 0xff0000; - int i_285_ = (i_282_ & 0xff) * i_277_ & 0xff00; - i_282_ = (i_283_ | i_284_ | i_285_) >>> 8; - int i_286_ = is[i_175_]; - int i_287_ = i_282_ + i_286_; - int i_288_ = ((i_282_ & 0xff00ff) + (i_286_ & 0xff00ff)); - i_286_ = (i_288_ & 0x1000100) + (i_287_ - i_288_ & 0x10000); - is[i_175_++] = i_287_ - i_286_ | i_286_ - (i_286_ >>> 8); - } else i_175_++; - i_166_ += i_171_; - } - i_167_ += i_172_; - i_166_ = i_274_; - i_175_ += i_176_; - } - return; - } - if (i_162_ == 3) { - int i_289_ = i_166_; - for (int i_290_ = -i_161_; i_290_ < 0; i_290_++) { - int i_291_ = ((i_167_ >> 16) * this.anInt8471); - for (int i_292_ = -i_160_; i_292_ < 0; i_292_++) { - byte i_293_ = aByteArray9934[(i_166_ >> 16) + i_291_]; - int i_294_ = i_293_ > 0 ? anIntArray9935[i_293_] : 0; - int i_295_ = i_294_ + i_163_; - int i_296_ = (i_294_ & 0xff00ff) + (i_163_ & 0xff00ff); - int i_297_ = ((i_296_ & 0x1000100) + (i_295_ - i_296_ & 0x10000)); - i_294_ = i_295_ - i_297_ | i_297_ - (i_297_ >>> 8); - i_297_ = is[i_175_]; - i_295_ = i_294_ + i_297_; - i_296_ = (i_294_ & 0xff00ff) + (i_297_ & 0xff00ff); - i_297_ = (i_296_ & 0x1000100) + (i_295_ - i_296_ & 0x10000); - is[i_175_++] = i_295_ - i_297_ | i_297_ - (i_297_ >>> 8); - i_166_ += i_171_; - } - i_167_ += i_172_; - i_166_ = i_289_; - i_175_ += i_176_; - } - return; - } - if (i_162_ == 2) { - int i_298_ = i_163_ >>> 24; - int i_299_ = 256 - i_298_; - int i_300_ = (i_163_ & 0xff00ff) * i_299_ & ~0xff00ff; - int i_301_ = (i_163_ & 0xff00) * i_299_ & 0xff0000; - i_163_ = (i_300_ | i_301_) >>> 8; - int i_302_ = i_166_; - for (int i_303_ = -i_161_; i_303_ < 0; i_303_++) { - int i_304_ = ((i_167_ >> 16) * this.anInt8471); - for (int i_305_ = -i_160_; i_305_ < 0; i_305_++) { - int i_306_ = aByteArray9934[(i_166_ >> 16) + i_304_]; - if (i_306_ != 0) { - int i_307_ = anIntArray9935[i_306_ & 0xff]; - i_300_ = (i_307_ & 0xff00ff) * i_298_ & ~0xff00ff; - i_301_ = (i_307_ & 0xff00) * i_298_ & 0xff0000; - i_307_ = ((i_300_ | i_301_) >>> 8) + i_163_; - int i_308_ = is[i_175_]; - int i_309_ = i_307_ + i_308_; - int i_310_ = ((i_307_ & 0xff00ff) + (i_308_ & 0xff00ff)); - i_308_ = (i_310_ & 0x1000100) + (i_309_ - i_310_ & 0x10000); - is[i_175_++] = i_309_ - i_308_ | i_308_ - (i_308_ >>> 8); - } else i_175_++; - i_166_ += i_171_; - } - i_167_ += i_172_; - i_166_ = i_302_; - i_175_ += i_176_; - } - return; - } - throw new IllegalArgumentException(); - } - throw new IllegalArgumentException(); - } - } - - final void method995(int[] is, int[] is_311_, int i, int i_312_) { - int[] is_313_ = this.aHa_Sub1_8460.anIntArray7483; - if (Class105_Sub3.anInt8481 == 0) { - if (Class105_Sub3.anInt8450 == 0) { - int i_314_ = Class105_Sub3.anInt8468; - while (i_314_ < 0) { - int i_315_ = i_314_ + i_312_; - if (i_315_ >= 0) { - if (i_315_ >= is.length) break; - int i_316_ = Class105_Sub3.anInt8451; - int i_317_ = Class105_Sub3.anInt8458; - int i_318_ = Class105_Sub3.anInt8467; - int i_319_ = Class105_Sub3.anInt8478; - if (i_317_ >= 0 && i_318_ >= 0 && i_317_ - (this.anInt8471 << 12) < 0 && i_318_ - (this.anInt8470 << 12) < 0) { - int i_320_ = is[i_315_] - i; - int i_321_ = -is_311_[i_315_]; - int i_322_ = i_320_ - (i_316_ - Class105_Sub3.anInt8451); - if (i_322_ > 0) { - i_316_ += i_322_; - i_319_ += i_322_; - i_317_ += Class105_Sub3.anInt8481 * i_322_; - i_318_ += Class105_Sub3.anInt8450 * i_322_; - } else i_321_ -= i_322_; - if (i_319_ < i_321_) i_319_ = i_321_; - for (/**/; i_319_ < 0; i_319_++) { - int i_323_ = (aByteArray9934[(((i_318_ >> 12) * this.anInt8471) + (i_317_ >> 12))]); - if (i_323_ != 0) is_313_[i_316_++] = anIntArray9935[i_323_ & 0xff]; - else i_316_++; - } - } - } - i_314_++; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else if (Class105_Sub3.anInt8450 < 0) { - int i_324_ = Class105_Sub3.anInt8468; - while (i_324_ < 0) { - int i_325_ = i_324_ + i_312_; - if (i_325_ >= 0) { - if (i_325_ >= is.length) break; - int i_326_ = Class105_Sub3.anInt8451; - int i_327_ = Class105_Sub3.anInt8458; - int i_328_ = (Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475); - int i_329_ = Class105_Sub3.anInt8478; - if (i_327_ >= 0 && i_327_ - (this.anInt8471 << 12) < 0) { - int i_330_; - if ((i_330_ = i_328_ - (this.anInt8470 << 12)) >= 0) { - i_330_ = ((Class105_Sub3.anInt8450 - i_330_) / Class105_Sub3.anInt8450); - i_329_ += i_330_; - i_328_ += Class105_Sub3.anInt8450 * i_330_; - i_326_ += i_330_; - } - if ((i_330_ = ((i_328_ - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_329_) i_329_ = i_330_; - int i_331_ = is[i_325_] - i; - int i_332_ = -is_311_[i_325_]; - int i_333_ = i_331_ - (i_326_ - Class105_Sub3.anInt8451); - if (i_333_ > 0) { - i_326_ += i_333_; - i_329_ += i_333_; - i_327_ += Class105_Sub3.anInt8481 * i_333_; - i_328_ += Class105_Sub3.anInt8450 * i_333_; - } else i_332_ -= i_333_; - if (i_329_ < i_332_) i_329_ = i_332_; - for (/**/; i_329_ < 0; i_329_++) { - int i_334_ = (aByteArray9934[(((i_328_ >> 12) * this.anInt8471) + (i_327_ >> 12))]); - if (i_334_ != 0) is_313_[i_326_++] = anIntArray9935[i_334_ & 0xff]; - else i_326_++; - i_328_ += Class105_Sub3.anInt8450; - } - } - } - i_324_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else { - int i_335_ = Class105_Sub3.anInt8468; - while (i_335_ < 0) { - int i_336_ = i_335_ + i_312_; - if (i_336_ >= 0) { - if (i_336_ >= is.length) break; - int i_337_ = Class105_Sub3.anInt8451; - int i_338_ = Class105_Sub3.anInt8458; - int i_339_ = (Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475); - int i_340_ = Class105_Sub3.anInt8478; - if (i_338_ >= 0 && i_338_ - (this.anInt8471 << 12) < 0) { - if (i_339_ < 0) { - int i_341_ = ((Class105_Sub3.anInt8450 - 1 - i_339_) / Class105_Sub3.anInt8450); - i_340_ += i_341_; - i_339_ += Class105_Sub3.anInt8450 * i_341_; - i_337_ += i_341_; - } - int i_342_; - if ((i_342_ = ((1 + i_339_ - (this.anInt8470 << 12) - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_340_) i_340_ = i_342_; - int i_343_ = is[i_336_] - i; - int i_344_ = -is_311_[i_336_]; - int i_345_ = i_343_ - (i_337_ - Class105_Sub3.anInt8451); - if (i_345_ > 0) { - i_337_ += i_345_; - i_340_ += i_345_; - i_338_ += Class105_Sub3.anInt8481 * i_345_; - i_339_ += Class105_Sub3.anInt8450 * i_345_; - } else i_344_ -= i_345_; - if (i_340_ < i_344_) i_340_ = i_344_; - for (/**/; i_340_ < 0; i_340_++) { - int i_346_ = (aByteArray9934[(((i_339_ >> 12) * this.anInt8471) + (i_338_ >> 12))]); - if (i_346_ != 0) is_313_[i_337_++] = anIntArray9935[i_346_ & 0xff]; - else i_337_++; - i_339_ += Class105_Sub3.anInt8450; - } - } - } - i_335_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } - } else if (Class105_Sub3.anInt8481 < 0) { - if (Class105_Sub3.anInt8450 == 0) { - int i_347_ = Class105_Sub3.anInt8468; - while (i_347_ < 0) { - int i_348_ = i_347_ + i_312_; - if (i_348_ >= 0) { - if (i_348_ >= is.length) break; - int i_349_ = Class105_Sub3.anInt8451; - int i_350_ = (Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479); - int i_351_ = Class105_Sub3.anInt8467; - int i_352_ = Class105_Sub3.anInt8478; - if (i_351_ >= 0 && i_351_ - (this.anInt8470 << 12) < 0) { - int i_353_; - if ((i_353_ = i_350_ - (this.anInt8471 << 12)) >= 0) { - i_353_ = ((Class105_Sub3.anInt8481 - i_353_) / Class105_Sub3.anInt8481); - i_352_ += i_353_; - i_350_ += Class105_Sub3.anInt8481 * i_353_; - i_349_ += i_353_; - } - if ((i_353_ = ((i_350_ - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_352_) i_352_ = i_353_; - int i_354_ = is[i_348_] - i; - int i_355_ = -is_311_[i_348_]; - int i_356_ = i_354_ - (i_349_ - Class105_Sub3.anInt8451); - if (i_356_ > 0) { - i_349_ += i_356_; - i_352_ += i_356_; - i_350_ += Class105_Sub3.anInt8481 * i_356_; - i_351_ += Class105_Sub3.anInt8450 * i_356_; - } else i_355_ -= i_356_; - if (i_352_ < i_355_) i_352_ = i_355_; - for (/**/; i_352_ < 0; i_352_++) { - int i_357_ = (aByteArray9934[(((i_351_ >> 12) * this.anInt8471) + (i_350_ >> 12))]); - if (i_357_ != 0) is_313_[i_349_++] = anIntArray9935[i_357_ & 0xff]; - else i_349_++; - i_350_ += Class105_Sub3.anInt8481; - } - } - } - i_347_++; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else if (Class105_Sub3.anInt8450 < 0) { - int i_358_ = Class105_Sub3.anInt8468; - while (i_358_ < 0) { - int i_359_ = i_358_ + i_312_; - if (i_359_ >= 0) { - if (i_359_ >= is.length) break; - int i_360_ = Class105_Sub3.anInt8451; - int i_361_ = (Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479); - int i_362_ = (Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475); - int i_363_ = Class105_Sub3.anInt8478; - int i_364_; - if ((i_364_ = i_361_ - (this.anInt8471 << 12)) >= 0) { - i_364_ = ((Class105_Sub3.anInt8481 - i_364_) / Class105_Sub3.anInt8481); - i_363_ += i_364_; - i_361_ += Class105_Sub3.anInt8481 * i_364_; - i_362_ += Class105_Sub3.anInt8450 * i_364_; - i_360_ += i_364_; - } - if ((i_364_ = ((i_361_ - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_363_) i_363_ = i_364_; - if ((i_364_ = i_362_ - (this.anInt8470 << 12)) >= 0) { - i_364_ = ((Class105_Sub3.anInt8450 - i_364_) / Class105_Sub3.anInt8450); - i_363_ += i_364_; - i_361_ += Class105_Sub3.anInt8481 * i_364_; - i_362_ += Class105_Sub3.anInt8450 * i_364_; - i_360_ += i_364_; - } - if ((i_364_ = ((i_362_ - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_363_) i_363_ = i_364_; - int i_365_ = is[i_359_] - i; - int i_366_ = -is_311_[i_359_]; - int i_367_ = i_365_ - (i_360_ - Class105_Sub3.anInt8451); - if (i_367_ > 0) { - i_360_ += i_367_; - i_363_ += i_367_; - i_361_ += Class105_Sub3.anInt8481 * i_367_; - i_362_ += Class105_Sub3.anInt8450 * i_367_; - } else i_366_ -= i_367_; - if (i_363_ < i_366_) i_363_ = i_366_; - for (/**/; i_363_ < 0; i_363_++) { - int i_368_ = (aByteArray9934[(((i_362_ >> 12) * this.anInt8471) + (i_361_ >> 12))]); - if (i_368_ != 0) is_313_[i_360_++] = anIntArray9935[i_368_ & 0xff]; - else i_360_++; - i_361_ += Class105_Sub3.anInt8481; - i_362_ += Class105_Sub3.anInt8450; - } - } - i_358_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else { - int i_369_ = Class105_Sub3.anInt8468; - while (i_369_ < 0) { - int i_370_ = i_369_ + i_312_; - if (i_370_ >= 0) { - if (i_370_ >= is.length) break; - int i_371_ = Class105_Sub3.anInt8451; - int i_372_ = (Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479); - int i_373_ = (Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475); - int i_374_ = Class105_Sub3.anInt8478; - int i_375_; - if ((i_375_ = i_372_ - (this.anInt8471 << 12)) >= 0) { - i_375_ = ((Class105_Sub3.anInt8481 - i_375_) / Class105_Sub3.anInt8481); - i_374_ += i_375_; - i_372_ += Class105_Sub3.anInt8481 * i_375_; - i_373_ += Class105_Sub3.anInt8450 * i_375_; - i_371_ += i_375_; - } - if ((i_375_ = ((i_372_ - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_374_) i_374_ = i_375_; - if (i_373_ < 0) { - i_375_ = ((Class105_Sub3.anInt8450 - 1 - i_373_) / Class105_Sub3.anInt8450); - i_374_ += i_375_; - i_372_ += Class105_Sub3.anInt8481 * i_375_; - i_373_ += Class105_Sub3.anInt8450 * i_375_; - i_371_ += i_375_; - } - if ((i_375_ = ((1 + i_373_ - (this.anInt8470 << 12) - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_374_) i_374_ = i_375_; - int i_376_ = is[i_370_] - i; - int i_377_ = -is_311_[i_370_]; - int i_378_ = i_376_ - (i_371_ - Class105_Sub3.anInt8451); - if (i_378_ > 0) { - i_371_ += i_378_; - i_374_ += i_378_; - i_372_ += Class105_Sub3.anInt8481 * i_378_; - i_373_ += Class105_Sub3.anInt8450 * i_378_; - } else i_377_ -= i_378_; - if (i_374_ < i_377_) i_374_ = i_377_; - for (/**/; i_374_ < 0; i_374_++) { - int i_379_ = (aByteArray9934[(((i_373_ >> 12) * this.anInt8471) + (i_372_ >> 12))]); - if (i_379_ != 0) is_313_[i_371_++] = anIntArray9935[i_379_ & 0xff]; - else i_371_++; - i_372_ += Class105_Sub3.anInt8481; - i_373_ += Class105_Sub3.anInt8450; - } - } - i_369_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } - } else if (Class105_Sub3.anInt8450 == 0) { - int i_380_ = Class105_Sub3.anInt8468; - while (i_380_ < 0) { - int i_381_ = i_380_ + i_312_; - if (i_381_ >= 0) { - if (i_381_ >= is.length) break; - int i_382_ = Class105_Sub3.anInt8451; - int i_383_ = Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479; - int i_384_ = Class105_Sub3.anInt8467; - int i_385_ = Class105_Sub3.anInt8478; - if (i_384_ >= 0 && (i_384_ - (this.anInt8470 << 12) < 0)) { - if (i_383_ < 0) { - int i_386_ = ((Class105_Sub3.anInt8481 - 1 - i_383_) / Class105_Sub3.anInt8481); - i_385_ += i_386_; - i_383_ += Class105_Sub3.anInt8481 * i_386_; - i_382_ += i_386_; - } - int i_387_; - if ((i_387_ = ((1 + i_383_ - (this.anInt8471 << 12) - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_385_) i_385_ = i_387_; - int i_388_ = is[i_381_] - i; - int i_389_ = -is_311_[i_381_]; - int i_390_ = i_388_ - (i_382_ - Class105_Sub3.anInt8451); - if (i_390_ > 0) { - i_382_ += i_390_; - i_385_ += i_390_; - i_383_ += Class105_Sub3.anInt8481 * i_390_; - i_384_ += Class105_Sub3.anInt8450 * i_390_; - } else i_389_ -= i_390_; - if (i_385_ < i_389_) i_385_ = i_389_; - for (/**/; i_385_ < 0; i_385_++) { - int i_391_ = (aByteArray9934[(((i_384_ >> 12) * this.anInt8471) + (i_383_ >> 12))]); - if (i_391_ != 0) is_313_[i_382_++] = anIntArray9935[i_391_ & 0xff]; - else i_382_++; - i_383_ += Class105_Sub3.anInt8481; - } - } - } - i_380_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else if (Class105_Sub3.anInt8450 < 0) { - int i_392_ = Class105_Sub3.anInt8468; - while (i_392_ < 0) { - int i_393_ = i_392_ + i_312_; - if (i_393_ >= 0) { - if (i_393_ >= is.length) break; - int i_394_ = Class105_Sub3.anInt8451; - int i_395_ = Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479; - int i_396_ = Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475; - int i_397_ = Class105_Sub3.anInt8478; - if (i_395_ < 0) { - int i_398_ = ((Class105_Sub3.anInt8481 - 1 - i_395_) / Class105_Sub3.anInt8481); - i_397_ += i_398_; - i_395_ += Class105_Sub3.anInt8481 * i_398_; - i_396_ += Class105_Sub3.anInt8450 * i_398_; - i_394_ += i_398_; - } - int i_399_; - if ((i_399_ = ((1 + i_395_ - (this.anInt8471 << 12) - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_397_) i_397_ = i_399_; - if ((i_399_ = i_396_ - (this.anInt8470 << 12)) >= 0) { - i_399_ = ((Class105_Sub3.anInt8450 - i_399_) / Class105_Sub3.anInt8450); - i_397_ += i_399_; - i_395_ += Class105_Sub3.anInt8481 * i_399_; - i_396_ += Class105_Sub3.anInt8450 * i_399_; - i_394_ += i_399_; - } - if ((i_399_ = ((i_396_ - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_397_) i_397_ = i_399_; - int i_400_ = is[i_393_] - i; - int i_401_ = -is_311_[i_393_]; - int i_402_ = i_400_ - (i_394_ - Class105_Sub3.anInt8451); - if (i_402_ > 0) { - i_394_ += i_402_; - i_397_ += i_402_; - i_395_ += Class105_Sub3.anInt8481 * i_402_; - i_396_ += Class105_Sub3.anInt8450 * i_402_; - } else i_401_ -= i_402_; - if (i_397_ < i_401_) i_397_ = i_401_; - for (/**/; i_397_ < 0; i_397_++) { - int i_403_ = (aByteArray9934[(((i_396_ >> 12) * this.anInt8471) + (i_395_ >> 12))]); - if (i_403_ != 0) is_313_[i_394_++] = anIntArray9935[i_403_ & 0xff]; - else i_394_++; - i_395_ += Class105_Sub3.anInt8481; - i_396_ += Class105_Sub3.anInt8450; - } - } - i_392_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else { - int i_404_ = Class105_Sub3.anInt8468; - while (i_404_ < 0) { - int i_405_ = i_404_ + i_312_; - if (i_405_ >= 0) { - if (i_405_ >= is.length) break; - int i_406_ = Class105_Sub3.anInt8451; - int i_407_ = Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479; - int i_408_ = Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475; - int i_409_ = Class105_Sub3.anInt8478; - if (i_407_ < 0) { - int i_410_ = ((Class105_Sub3.anInt8481 - 1 - i_407_) / Class105_Sub3.anInt8481); - i_409_ += i_410_; - i_407_ += Class105_Sub3.anInt8481 * i_410_; - i_408_ += Class105_Sub3.anInt8450 * i_410_; - i_406_ += i_410_; - } - int i_411_; - if ((i_411_ = ((1 + i_407_ - (this.anInt8471 << 12) - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_409_) i_409_ = i_411_; - if (i_408_ < 0) { - i_411_ = ((Class105_Sub3.anInt8450 - 1 - i_408_) / Class105_Sub3.anInt8450); - i_409_ += i_411_; - i_407_ += Class105_Sub3.anInt8481 * i_411_; - i_408_ += Class105_Sub3.anInt8450 * i_411_; - i_406_ += i_411_; - } - if ((i_411_ = ((1 + i_408_ - (this.anInt8470 << 12) - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_409_) i_409_ = i_411_; - int i_412_ = is[i_405_] - i; - int i_413_ = -is_311_[i_405_]; - int i_414_ = i_412_ - (i_406_ - Class105_Sub3.anInt8451); - if (i_414_ > 0) { - i_406_ += i_414_; - i_409_ += i_414_; - i_407_ += Class105_Sub3.anInt8481 * i_414_; - i_408_ += Class105_Sub3.anInt8450 * i_414_; - } else i_413_ -= i_414_; - if (i_409_ < i_413_) i_409_ = i_413_; - for (/**/; i_409_ < 0; i_409_++) { - int i_415_ = (aByteArray9934[(((i_408_ >> 12) * this.anInt8471) + (i_407_ >> 12))]); - if (i_415_ != 0) is_313_[i_406_++] = anIntArray9935[i_415_ & 0xff]; - else i_406_++; - i_407_ += Class105_Sub3.anInt8481; - i_408_ += Class105_Sub3.anInt8450; - } - } - i_404_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } - } - - Class105_Sub3_Sub2(ha_Sub1 var_ha_Sub1, byte[] is, int[] is_416_, int i, int i_417_) { - super(var_ha_Sub1, i, i_417_); - aByteArray9934 = is; - anIntArray9935 = is_416_; - } - - final void method994(int i, int i_418_) { - int[] is = this.aHa_Sub1_8460.anIntArray7483; - if (Class105_Sub3.anInt8481 == 0) { - if (Class105_Sub3.anInt8450 == 0) { - int i_419_ = Class105_Sub3.anInt8468; - while (i_419_ < 0) { - int i_420_ = Class105_Sub3.anInt8451; - int i_421_ = Class105_Sub3.anInt8458; - int i_422_ = Class105_Sub3.anInt8467; - int i_423_ = Class105_Sub3.anInt8478; - if (i_421_ >= 0 && i_422_ >= 0 && (i_421_ - (this.anInt8471 << 12) < 0) && (i_422_ - (this.anInt8470 << 12) < 0)) { - for (/**/; i_423_ < 0; i_423_++) { - int i_424_ = (((i_422_ >> 12) * this.anInt8471) + (i_421_ >> 12)); - int i_425_ = i_420_++; - int[] is_426_ = is; - int i_427_ = i; - int i_428_ = i_418_; - if (i_428_ == 0) { - if (i_427_ == 1) is_426_[i_425_] = (anIntArray9935[aByteArray9934[i_424_] & 0xff]); - else if (i_427_ == 0) { - int i_429_ = (anIntArray9935[aByteArray9934[i_424_] & 0xff]); - int i_430_ = (((i_429_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_431_ = (((i_429_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_432_ = (((i_429_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_426_[i_425_] = (i_430_ | i_431_ | i_432_) >>> 8; - } else if (i_427_ == 3) { - int i_433_ = (anIntArray9935[aByteArray9934[i_424_] & 0xff]); - int i_434_ = Class105_Sub3.anInt8480; - int i_435_ = i_433_ + i_434_; - int i_436_ = ((i_433_ & 0xff00ff) + (i_434_ & 0xff00ff)); - int i_437_ = ((i_436_ & 0x1000100) + (i_435_ - i_436_ & 0x10000)); - is_426_[i_425_] = i_435_ - i_437_ | i_437_ - (i_437_ >>> 8); - } else if (i_427_ == 2) { - int i_438_ = (anIntArray9935[aByteArray9934[i_424_] & 0xff]); - int i_439_ = (((i_438_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_440_ = (((i_438_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_426_[i_425_] = (((i_439_ | i_440_) >>> 8) + Class105_Sub3.anInt8474); - } else throw new IllegalArgumentException(); - } else if (i_428_ == 1) { - if (i_427_ == 1) { - int i_441_ = aByteArray9934[i_424_]; - if (i_441_ != 0) is_426_[i_425_] = anIntArray9935[i_441_ & 0xff]; - } else if (i_427_ == 0) { - int i_442_ = aByteArray9934[i_424_]; - if (i_442_ != 0) { - int i_443_ = anIntArray9935[i_442_ & 0xff]; - if ((Class105_Sub3.anInt8480 & 0xffffff) == 16777215) { - int i_444_ = (Class105_Sub3.anInt8480 >>> 24); - int i_445_ = 256 - i_444_; - int i_446_ = is_426_[i_425_]; - is_426_[i_425_] = (((((i_443_ & 0xff00ff) * i_444_) + ((i_446_ & 0xff00ff) * i_445_)) & ~0xff00ff) + ((((i_443_ & 0xff00) * i_444_) + ((i_446_ & 0xff00) * i_445_)) & 0xff0000)) >> 8; - } else if (Class105_Sub3.anInt8477 == 255) { - int i_451_ = (((i_443_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_452_ = (((i_443_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_453_ = (((i_443_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_426_[i_425_] = (i_451_ | i_452_ | i_453_) >>> 8; - } else { - int i_447_ = (((i_443_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_448_ = (((i_443_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_449_ = (((i_443_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_443_ = (i_447_ | i_448_ | i_449_) >>> 8; - int i_450_ = is_426_[i_425_]; - is_426_[i_425_] = (((((i_443_ & 0xff00ff) * (Class105_Sub3.anInt8477)) + ((i_450_ & 0xff00ff) * (Class105_Sub3.anInt8472))) & ~0xff00ff) + ((((i_443_ & 0xff00) * (Class105_Sub3.anInt8477)) + ((i_450_ & 0xff00) * (Class105_Sub3.anInt8472))) & 0xff0000)) >> 8; - } - } - } else if (i_427_ == 3) { - byte i_454_ = aByteArray9934[i_424_]; - int i_455_ = (i_454_ > 0 ? anIntArray9935[i_454_] : 0); - int i_456_ = Class105_Sub3.anInt8480; - int i_457_ = i_455_ + i_456_; - int i_458_ = ((i_455_ & 0xff00ff) + (i_456_ & 0xff00ff)); - int i_459_ = ((i_458_ & 0x1000100) + (i_457_ - i_458_ & 0x10000)); - i_459_ = i_457_ - i_459_ | i_459_ - (i_459_ >>> 8); - if (i_455_ == 0 && Class105_Sub3.anInt8477 != 255) { - i_455_ = i_459_; - i_459_ = is_426_[i_425_]; - i_459_ = (((((i_455_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_459_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_455_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_459_ & 0xff00) * (Class105_Sub3.anInt8472))) & 0xff0000)) >> 8; - } - is_426_[i_425_] = i_459_; - } else if (i_427_ == 2) { - int i_460_ = aByteArray9934[i_424_]; - if (i_460_ != 0) { - int i_461_ = anIntArray9935[i_460_ & 0xff]; - int i_462_ = (((i_461_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_463_ = (((i_461_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_426_[i_425_++] = (((i_462_ | i_463_) >>> 8) + Class105_Sub3.anInt8474); - } - } else throw new IllegalArgumentException(); - } else if (i_428_ == 2) { - if (i_427_ == 1) { - int i_464_ = aByteArray9934[i_424_]; - if (i_464_ != 0) { - int i_465_ = anIntArray9935[i_464_ & 0xff]; - int i_466_ = is_426_[i_425_]; - int i_467_ = i_465_ + i_466_; - int i_468_ = ((i_465_ & 0xff00ff) + (i_466_ & 0xff00ff)); - i_466_ = ((i_468_ & 0x1000100) + (i_467_ - i_468_ & 0x10000)); - is_426_[i_425_] = (i_467_ - i_466_ | i_466_ - (i_466_ >>> 8)); - } - } else if (i_427_ == 0) { - int i_469_ = aByteArray9934[i_424_]; - if (i_469_ != 0) { - int i_470_ = anIntArray9935[i_469_ & 0xff]; - int i_471_ = (((i_470_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_472_ = (((i_470_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_473_ = (((i_470_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_470_ = (i_471_ | i_472_ | i_473_) >>> 8; - int i_474_ = is_426_[i_425_]; - int i_475_ = i_470_ + i_474_; - int i_476_ = ((i_470_ & 0xff00ff) + (i_474_ & 0xff00ff)); - i_474_ = ((i_476_ & 0x1000100) + (i_475_ - i_476_ & 0x10000)); - is_426_[i_425_] = (i_475_ - i_474_ | i_474_ - (i_474_ >>> 8)); - } - } else if (i_427_ == 3) { - byte i_477_ = aByteArray9934[i_424_]; - int i_478_ = (i_477_ > 0 ? anIntArray9935[i_477_] : 0); - int i_479_ = Class105_Sub3.anInt8480; - int i_480_ = i_478_ + i_479_; - int i_481_ = ((i_478_ & 0xff00ff) + (i_479_ & 0xff00ff)); - int i_482_ = ((i_481_ & 0x1000100) + (i_480_ - i_481_ & 0x10000)); - i_482_ = i_480_ - i_482_ | i_482_ - (i_482_ >>> 8); - if (i_478_ == 0 && Class105_Sub3.anInt8477 != 255) { - i_478_ = i_482_; - i_482_ = is_426_[i_425_]; - i_482_ = (((((i_478_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_482_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_478_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_482_ & 0xff00) * (Class105_Sub3.anInt8472))) & 0xff0000)) >> 8; - } - is_426_[i_425_] = i_482_; - } else if (i_427_ == 2) { - int i_483_ = aByteArray9934[i_424_]; - if (i_483_ != 0) { - int i_484_ = anIntArray9935[i_483_ & 0xff]; - int i_485_ = (((i_484_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_486_ = (((i_484_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_484_ = (((i_485_ | i_486_) >>> 8) + Class105_Sub3.anInt8474); - int i_487_ = is_426_[i_425_]; - int i_488_ = i_484_ + i_487_; - int i_489_ = ((i_484_ & 0xff00ff) + (i_487_ & 0xff00ff)); - i_487_ = ((i_489_ & 0x1000100) + (i_488_ - i_489_ & 0x10000)); - is_426_[i_425_] = (i_488_ - i_487_ | i_487_ - (i_487_ >>> 8)); - } - } - } else throw new IllegalArgumentException(); - } - } - i_419_++; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else if (Class105_Sub3.anInt8450 < 0) { - int i_490_ = Class105_Sub3.anInt8468; - while (i_490_ < 0) { - int i_491_ = Class105_Sub3.anInt8451; - int i_492_ = Class105_Sub3.anInt8458; - int i_493_ = Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475; - int i_494_ = Class105_Sub3.anInt8478; - if (i_492_ >= 0 && (i_492_ - (this.anInt8471 << 12) < 0)) { - int i_495_; - if ((i_495_ = i_493_ - (this.anInt8470 << 12)) >= 0) { - i_495_ = ((Class105_Sub3.anInt8450 - i_495_) / Class105_Sub3.anInt8450); - i_494_ += i_495_; - i_493_ += Class105_Sub3.anInt8450 * i_495_; - i_491_ += i_495_; - } - if ((i_495_ = ((i_493_ - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_494_) i_494_ = i_495_; - for (/**/; i_494_ < 0; i_494_++) { - int i_496_ = (((i_493_ >> 12) * this.anInt8471) + (i_492_ >> 12)); - int i_497_ = i_491_++; - int[] is_498_ = is; - int i_499_ = i; - int i_500_ = i_418_; - if (i_500_ == 0) { - if (i_499_ == 1) is_498_[i_497_] = (anIntArray9935[aByteArray9934[i_496_] & 0xff]); - else if (i_499_ == 0) { - int i_501_ = (anIntArray9935[aByteArray9934[i_496_] & 0xff]); - int i_502_ = (((i_501_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_503_ = (((i_501_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_504_ = (((i_501_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_498_[i_497_] = (i_502_ | i_503_ | i_504_) >>> 8; - } else if (i_499_ == 3) { - int i_505_ = (anIntArray9935[aByteArray9934[i_496_] & 0xff]); - int i_506_ = Class105_Sub3.anInt8480; - int i_507_ = i_505_ + i_506_; - int i_508_ = ((i_505_ & 0xff00ff) + (i_506_ & 0xff00ff)); - int i_509_ = ((i_508_ & 0x1000100) + (i_507_ - i_508_ & 0x10000)); - is_498_[i_497_] = i_507_ - i_509_ | i_509_ - (i_509_ >>> 8); - } else if (i_499_ == 2) { - int i_510_ = (anIntArray9935[aByteArray9934[i_496_] & 0xff]); - int i_511_ = (((i_510_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_512_ = (((i_510_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_498_[i_497_] = (((i_511_ | i_512_) >>> 8) + Class105_Sub3.anInt8474); - } else throw new IllegalArgumentException(); - } else if (i_500_ == 1) { - if (i_499_ == 1) { - int i_513_ = aByteArray9934[i_496_]; - if (i_513_ != 0) is_498_[i_497_] = anIntArray9935[i_513_ & 0xff]; - } else if (i_499_ == 0) { - int i_514_ = aByteArray9934[i_496_]; - if (i_514_ != 0) { - int i_515_ = anIntArray9935[i_514_ & 0xff]; - if ((Class105_Sub3.anInt8480 & 0xffffff) == 16777215) { - int i_516_ = (Class105_Sub3.anInt8480 >>> 24); - int i_517_ = 256 - i_516_; - int i_518_ = is_498_[i_497_]; - is_498_[i_497_] = (((((i_515_ & 0xff00ff) * i_516_) + ((i_518_ & 0xff00ff) * i_517_)) & ~0xff00ff) + ((((i_515_ & 0xff00) * i_516_) + ((i_518_ & 0xff00) * i_517_)) & 0xff0000)) >> 8; - } else if (Class105_Sub3.anInt8477 == 255) { - int i_523_ = (((i_515_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_524_ = (((i_515_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_525_ = (((i_515_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_498_[i_497_] = (i_523_ | i_524_ | i_525_) >>> 8; - } else { - int i_519_ = (((i_515_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_520_ = (((i_515_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_521_ = (((i_515_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_515_ = (i_519_ | i_520_ | i_521_) >>> 8; - int i_522_ = is_498_[i_497_]; - is_498_[i_497_] = (((((i_515_ & 0xff00ff) * (Class105_Sub3.anInt8477)) + ((i_522_ & 0xff00ff) * (Class105_Sub3.anInt8472))) & ~0xff00ff) + ((((i_515_ & 0xff00) * (Class105_Sub3.anInt8477)) + ((i_522_ & 0xff00) * (Class105_Sub3.anInt8472))) & 0xff0000)) >> 8; - } - } - } else if (i_499_ == 3) { - byte i_526_ = aByteArray9934[i_496_]; - int i_527_ = (i_526_ > 0 ? anIntArray9935[i_526_] : 0); - int i_528_ = Class105_Sub3.anInt8480; - int i_529_ = i_527_ + i_528_; - int i_530_ = ((i_527_ & 0xff00ff) + (i_528_ & 0xff00ff)); - int i_531_ = ((i_530_ & 0x1000100) + (i_529_ - i_530_ & 0x10000)); - i_531_ = i_529_ - i_531_ | i_531_ - (i_531_ >>> 8); - if (i_527_ == 0 && Class105_Sub3.anInt8477 != 255) { - i_527_ = i_531_; - i_531_ = is_498_[i_497_]; - i_531_ = (((((i_527_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_531_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_527_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_531_ & 0xff00) * (Class105_Sub3.anInt8472))) & 0xff0000)) >> 8; - } - is_498_[i_497_] = i_531_; - } else if (i_499_ == 2) { - int i_532_ = aByteArray9934[i_496_]; - if (i_532_ != 0) { - int i_533_ = anIntArray9935[i_532_ & 0xff]; - int i_534_ = (((i_533_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_535_ = (((i_533_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_498_[i_497_++] = (((i_534_ | i_535_) >>> 8) + Class105_Sub3.anInt8474); - } - } else throw new IllegalArgumentException(); - } else if (i_500_ == 2) { - if (i_499_ == 1) { - int i_536_ = aByteArray9934[i_496_]; - if (i_536_ != 0) { - int i_537_ = anIntArray9935[i_536_ & 0xff]; - int i_538_ = is_498_[i_497_]; - int i_539_ = i_537_ + i_538_; - int i_540_ = ((i_537_ & 0xff00ff) + (i_538_ & 0xff00ff)); - i_538_ = ((i_540_ & 0x1000100) + (i_539_ - i_540_ & 0x10000)); - is_498_[i_497_] = (i_539_ - i_538_ | i_538_ - (i_538_ >>> 8)); - } - } else if (i_499_ == 0) { - int i_541_ = aByteArray9934[i_496_]; - if (i_541_ != 0) { - int i_542_ = anIntArray9935[i_541_ & 0xff]; - int i_543_ = (((i_542_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_544_ = (((i_542_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_545_ = (((i_542_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_542_ = (i_543_ | i_544_ | i_545_) >>> 8; - int i_546_ = is_498_[i_497_]; - int i_547_ = i_542_ + i_546_; - int i_548_ = ((i_542_ & 0xff00ff) + (i_546_ & 0xff00ff)); - i_546_ = ((i_548_ & 0x1000100) + (i_547_ - i_548_ & 0x10000)); - is_498_[i_497_] = (i_547_ - i_546_ | i_546_ - (i_546_ >>> 8)); - } - } else if (i_499_ == 3) { - byte i_549_ = aByteArray9934[i_496_]; - int i_550_ = (i_549_ > 0 ? anIntArray9935[i_549_] : 0); - int i_551_ = Class105_Sub3.anInt8480; - int i_552_ = i_550_ + i_551_; - int i_553_ = ((i_550_ & 0xff00ff) + (i_551_ & 0xff00ff)); - int i_554_ = ((i_553_ & 0x1000100) + (i_552_ - i_553_ & 0x10000)); - i_554_ = i_552_ - i_554_ | i_554_ - (i_554_ >>> 8); - if (i_550_ == 0 && Class105_Sub3.anInt8477 != 255) { - i_550_ = i_554_; - i_554_ = is_498_[i_497_]; - i_554_ = (((((i_550_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_554_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_550_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_554_ & 0xff00) * (Class105_Sub3.anInt8472))) & 0xff0000)) >> 8; - } - is_498_[i_497_] = i_554_; - } else if (i_499_ == 2) { - int i_555_ = aByteArray9934[i_496_]; - if (i_555_ != 0) { - int i_556_ = anIntArray9935[i_555_ & 0xff]; - int i_557_ = (((i_556_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_558_ = (((i_556_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_556_ = (((i_557_ | i_558_) >>> 8) + Class105_Sub3.anInt8474); - int i_559_ = is_498_[i_497_]; - int i_560_ = i_556_ + i_559_; - int i_561_ = ((i_556_ & 0xff00ff) + (i_559_ & 0xff00ff)); - i_559_ = ((i_561_ & 0x1000100) + (i_560_ - i_561_ & 0x10000)); - is_498_[i_497_] = (i_560_ - i_559_ | i_559_ - (i_559_ >>> 8)); - } - } - } else throw new IllegalArgumentException(); - i_493_ += Class105_Sub3.anInt8450; - } - } - i_490_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else { - int i_562_ = Class105_Sub3.anInt8468; - while (i_562_ < 0) { - int i_563_ = Class105_Sub3.anInt8451; - int i_564_ = Class105_Sub3.anInt8458; - int i_565_ = Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475; - int i_566_ = Class105_Sub3.anInt8478; - if (i_564_ >= 0 && (i_564_ - (this.anInt8471 << 12) < 0)) { - if (i_565_ < 0) { - int i_567_ = ((Class105_Sub3.anInt8450 - 1 - i_565_) / Class105_Sub3.anInt8450); - i_566_ += i_567_; - i_565_ += Class105_Sub3.anInt8450 * i_567_; - i_563_ += i_567_; - } - int i_568_; - if ((i_568_ = ((1 + i_565_ - (this.anInt8470 << 12) - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_566_) i_566_ = i_568_; - for (/**/; i_566_ < 0; i_566_++) { - int i_569_ = (((i_565_ >> 12) * this.anInt8471) + (i_564_ >> 12)); - int i_570_ = i_563_++; - int[] is_571_ = is; - int i_572_ = i; - int i_573_ = i_418_; - if (i_573_ == 0) { - if (i_572_ == 1) is_571_[i_570_] = (anIntArray9935[aByteArray9934[i_569_] & 0xff]); - else if (i_572_ == 0) { - int i_574_ = (anIntArray9935[aByteArray9934[i_569_] & 0xff]); - int i_575_ = (((i_574_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_576_ = (((i_574_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_577_ = (((i_574_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_571_[i_570_] = (i_575_ | i_576_ | i_577_) >>> 8; - } else if (i_572_ == 3) { - int i_578_ = (anIntArray9935[aByteArray9934[i_569_] & 0xff]); - int i_579_ = Class105_Sub3.anInt8480; - int i_580_ = i_578_ + i_579_; - int i_581_ = ((i_578_ & 0xff00ff) + (i_579_ & 0xff00ff)); - int i_582_ = ((i_581_ & 0x1000100) + (i_580_ - i_581_ & 0x10000)); - is_571_[i_570_] = i_580_ - i_582_ | i_582_ - (i_582_ >>> 8); - } else if (i_572_ == 2) { - int i_583_ = (anIntArray9935[aByteArray9934[i_569_] & 0xff]); - int i_584_ = (((i_583_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_585_ = (((i_583_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_571_[i_570_] = (((i_584_ | i_585_) >>> 8) + Class105_Sub3.anInt8474); - } else throw new IllegalArgumentException(); - } else if (i_573_ == 1) { - if (i_572_ == 1) { - int i_586_ = aByteArray9934[i_569_]; - if (i_586_ != 0) is_571_[i_570_] = anIntArray9935[i_586_ & 0xff]; - } else if (i_572_ == 0) { - int i_587_ = aByteArray9934[i_569_]; - if (i_587_ != 0) { - int i_588_ = anIntArray9935[i_587_ & 0xff]; - if ((Class105_Sub3.anInt8480 & 0xffffff) == 16777215) { - int i_589_ = (Class105_Sub3.anInt8480 >>> 24); - int i_590_ = 256 - i_589_; - int i_591_ = is_571_[i_570_]; - is_571_[i_570_] = (((((i_588_ & 0xff00ff) * i_589_) + ((i_591_ & 0xff00ff) * i_590_)) & ~0xff00ff) + ((((i_588_ & 0xff00) * i_589_) + ((i_591_ & 0xff00) * i_590_)) & 0xff0000)) >> 8; - } else if (Class105_Sub3.anInt8477 == 255) { - int i_596_ = (((i_588_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_597_ = (((i_588_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_598_ = (((i_588_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_571_[i_570_] = (i_596_ | i_597_ | i_598_) >>> 8; - } else { - int i_592_ = (((i_588_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_593_ = (((i_588_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_594_ = (((i_588_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_588_ = (i_592_ | i_593_ | i_594_) >>> 8; - int i_595_ = is_571_[i_570_]; - is_571_[i_570_] = (((((i_588_ & 0xff00ff) * (Class105_Sub3.anInt8477)) + ((i_595_ & 0xff00ff) * (Class105_Sub3.anInt8472))) & ~0xff00ff) + ((((i_588_ & 0xff00) * (Class105_Sub3.anInt8477)) + ((i_595_ & 0xff00) * (Class105_Sub3.anInt8472))) & 0xff0000)) >> 8; - } - } - } else if (i_572_ == 3) { - byte i_599_ = aByteArray9934[i_569_]; - int i_600_ = (i_599_ > 0 ? anIntArray9935[i_599_] : 0); - int i_601_ = Class105_Sub3.anInt8480; - int i_602_ = i_600_ + i_601_; - int i_603_ = ((i_600_ & 0xff00ff) + (i_601_ & 0xff00ff)); - int i_604_ = ((i_603_ & 0x1000100) + (i_602_ - i_603_ & 0x10000)); - i_604_ = i_602_ - i_604_ | i_604_ - (i_604_ >>> 8); - if (i_600_ == 0 && Class105_Sub3.anInt8477 != 255) { - i_600_ = i_604_; - i_604_ = is_571_[i_570_]; - i_604_ = (((((i_600_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_604_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_600_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_604_ & 0xff00) * (Class105_Sub3.anInt8472))) & 0xff0000)) >> 8; - } - is_571_[i_570_] = i_604_; - } else if (i_572_ == 2) { - int i_605_ = aByteArray9934[i_569_]; - if (i_605_ != 0) { - int i_606_ = anIntArray9935[i_605_ & 0xff]; - int i_607_ = (((i_606_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_608_ = (((i_606_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_571_[i_570_++] = (((i_607_ | i_608_) >>> 8) + Class105_Sub3.anInt8474); - } - } else throw new IllegalArgumentException(); - } else if (i_573_ == 2) { - if (i_572_ == 1) { - int i_609_ = aByteArray9934[i_569_]; - if (i_609_ != 0) { - int i_610_ = anIntArray9935[i_609_ & 0xff]; - int i_611_ = is_571_[i_570_]; - int i_612_ = i_610_ + i_611_; - int i_613_ = ((i_610_ & 0xff00ff) + (i_611_ & 0xff00ff)); - i_611_ = ((i_613_ & 0x1000100) + (i_612_ - i_613_ & 0x10000)); - is_571_[i_570_] = (i_612_ - i_611_ | i_611_ - (i_611_ >>> 8)); - } - } else if (i_572_ == 0) { - int i_614_ = aByteArray9934[i_569_]; - if (i_614_ != 0) { - int i_615_ = anIntArray9935[i_614_ & 0xff]; - int i_616_ = (((i_615_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_617_ = (((i_615_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_618_ = (((i_615_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_615_ = (i_616_ | i_617_ | i_618_) >>> 8; - int i_619_ = is_571_[i_570_]; - int i_620_ = i_615_ + i_619_; - int i_621_ = ((i_615_ & 0xff00ff) + (i_619_ & 0xff00ff)); - i_619_ = ((i_621_ & 0x1000100) + (i_620_ - i_621_ & 0x10000)); - is_571_[i_570_] = (i_620_ - i_619_ | i_619_ - (i_619_ >>> 8)); - } - } else if (i_572_ == 3) { - byte i_622_ = aByteArray9934[i_569_]; - int i_623_ = (i_622_ > 0 ? anIntArray9935[i_622_] : 0); - int i_624_ = Class105_Sub3.anInt8480; - int i_625_ = i_623_ + i_624_; - int i_626_ = ((i_623_ & 0xff00ff) + (i_624_ & 0xff00ff)); - int i_627_ = ((i_626_ & 0x1000100) + (i_625_ - i_626_ & 0x10000)); - i_627_ = i_625_ - i_627_ | i_627_ - (i_627_ >>> 8); - if (i_623_ == 0 && Class105_Sub3.anInt8477 != 255) { - i_623_ = i_627_; - i_627_ = is_571_[i_570_]; - i_627_ = (((((i_623_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_627_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_623_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_627_ & 0xff00) * (Class105_Sub3.anInt8472))) & 0xff0000)) >> 8; - } - is_571_[i_570_] = i_627_; - } else if (i_572_ == 2) { - int i_628_ = aByteArray9934[i_569_]; - if (i_628_ != 0) { - int i_629_ = anIntArray9935[i_628_ & 0xff]; - int i_630_ = (((i_629_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_631_ = (((i_629_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_629_ = (((i_630_ | i_631_) >>> 8) + Class105_Sub3.anInt8474); - int i_632_ = is_571_[i_570_]; - int i_633_ = i_629_ + i_632_; - int i_634_ = ((i_629_ & 0xff00ff) + (i_632_ & 0xff00ff)); - i_632_ = ((i_634_ & 0x1000100) + (i_633_ - i_634_ & 0x10000)); - is_571_[i_570_] = (i_633_ - i_632_ | i_632_ - (i_632_ >>> 8)); - } - } - } else throw new IllegalArgumentException(); - i_565_ += Class105_Sub3.anInt8450; - } - } - i_562_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } - } else if (Class105_Sub3.anInt8481 < 0) { - if (Class105_Sub3.anInt8450 == 0) { - int i_635_ = Class105_Sub3.anInt8468; - while (i_635_ < 0) { - int i_636_ = Class105_Sub3.anInt8451; - int i_637_ = Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479; - int i_638_ = Class105_Sub3.anInt8467; - int i_639_ = Class105_Sub3.anInt8478; - if (i_638_ >= 0 && (i_638_ - (this.anInt8470 << 12) < 0)) { - int i_640_; - if ((i_640_ = i_637_ - (this.anInt8471 << 12)) >= 0) { - i_640_ = ((Class105_Sub3.anInt8481 - i_640_) / Class105_Sub3.anInt8481); - i_639_ += i_640_; - i_637_ += Class105_Sub3.anInt8481 * i_640_; - i_636_ += i_640_; - } - if ((i_640_ = ((i_637_ - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_639_) i_639_ = i_640_; - for (/**/; i_639_ < 0; i_639_++) { - int i_641_ = (((i_638_ >> 12) * this.anInt8471) + (i_637_ >> 12)); - int i_642_ = i_636_++; - int[] is_643_ = is; - int i_644_ = i; - int i_645_ = i_418_; - if (i_645_ == 0) { - if (i_644_ == 1) is_643_[i_642_] = (anIntArray9935[aByteArray9934[i_641_] & 0xff]); - else if (i_644_ == 0) { - int i_646_ = (anIntArray9935[aByteArray9934[i_641_] & 0xff]); - int i_647_ = (((i_646_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_648_ = (((i_646_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_649_ = (((i_646_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_643_[i_642_] = (i_647_ | i_648_ | i_649_) >>> 8; - } else if (i_644_ == 3) { - int i_650_ = (anIntArray9935[aByteArray9934[i_641_] & 0xff]); - int i_651_ = Class105_Sub3.anInt8480; - int i_652_ = i_650_ + i_651_; - int i_653_ = ((i_650_ & 0xff00ff) + (i_651_ & 0xff00ff)); - int i_654_ = ((i_653_ & 0x1000100) + (i_652_ - i_653_ & 0x10000)); - is_643_[i_642_] = i_652_ - i_654_ | i_654_ - (i_654_ >>> 8); - } else if (i_644_ == 2) { - int i_655_ = (anIntArray9935[aByteArray9934[i_641_] & 0xff]); - int i_656_ = (((i_655_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_657_ = (((i_655_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_643_[i_642_] = (((i_656_ | i_657_) >>> 8) + Class105_Sub3.anInt8474); - } else throw new IllegalArgumentException(); - } else if (i_645_ == 1) { - if (i_644_ == 1) { - int i_658_ = aByteArray9934[i_641_]; - if (i_658_ != 0) is_643_[i_642_] = anIntArray9935[i_658_ & 0xff]; - } else if (i_644_ == 0) { - int i_659_ = aByteArray9934[i_641_]; - if (i_659_ != 0) { - int i_660_ = anIntArray9935[i_659_ & 0xff]; - if ((Class105_Sub3.anInt8480 & 0xffffff) == 16777215) { - int i_661_ = (Class105_Sub3.anInt8480 >>> 24); - int i_662_ = 256 - i_661_; - int i_663_ = is_643_[i_642_]; - is_643_[i_642_] = (((((i_660_ & 0xff00ff) * i_661_) + ((i_663_ & 0xff00ff) * i_662_)) & ~0xff00ff) + ((((i_660_ & 0xff00) * i_661_) + ((i_663_ & 0xff00) * i_662_)) & 0xff0000)) >> 8; - } else if (Class105_Sub3.anInt8477 == 255) { - int i_668_ = (((i_660_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_669_ = (((i_660_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_670_ = (((i_660_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_643_[i_642_] = (i_668_ | i_669_ | i_670_) >>> 8; - } else { - int i_664_ = (((i_660_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_665_ = (((i_660_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_666_ = (((i_660_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_660_ = (i_664_ | i_665_ | i_666_) >>> 8; - int i_667_ = is_643_[i_642_]; - is_643_[i_642_] = (((((i_660_ & 0xff00ff) * (Class105_Sub3.anInt8477)) + ((i_667_ & 0xff00ff) * (Class105_Sub3.anInt8472))) & ~0xff00ff) + ((((i_660_ & 0xff00) * (Class105_Sub3.anInt8477)) + ((i_667_ & 0xff00) * (Class105_Sub3.anInt8472))) & 0xff0000)) >> 8; - } - } - } else if (i_644_ == 3) { - byte i_671_ = aByteArray9934[i_641_]; - int i_672_ = (i_671_ > 0 ? anIntArray9935[i_671_] : 0); - int i_673_ = Class105_Sub3.anInt8480; - int i_674_ = i_672_ + i_673_; - int i_675_ = ((i_672_ & 0xff00ff) + (i_673_ & 0xff00ff)); - int i_676_ = ((i_675_ & 0x1000100) + (i_674_ - i_675_ & 0x10000)); - i_676_ = i_674_ - i_676_ | i_676_ - (i_676_ >>> 8); - if (i_672_ == 0 && Class105_Sub3.anInt8477 != 255) { - i_672_ = i_676_; - i_676_ = is_643_[i_642_]; - i_676_ = (((((i_672_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_676_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_672_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_676_ & 0xff00) * (Class105_Sub3.anInt8472))) & 0xff0000)) >> 8; - } - is_643_[i_642_] = i_676_; - } else if (i_644_ == 2) { - int i_677_ = aByteArray9934[i_641_]; - if (i_677_ != 0) { - int i_678_ = anIntArray9935[i_677_ & 0xff]; - int i_679_ = (((i_678_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_680_ = (((i_678_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_643_[i_642_++] = (((i_679_ | i_680_) >>> 8) + Class105_Sub3.anInt8474); - } - } else throw new IllegalArgumentException(); - } else if (i_645_ == 2) { - if (i_644_ == 1) { - int i_681_ = aByteArray9934[i_641_]; - if (i_681_ != 0) { - int i_682_ = anIntArray9935[i_681_ & 0xff]; - int i_683_ = is_643_[i_642_]; - int i_684_ = i_682_ + i_683_; - int i_685_ = ((i_682_ & 0xff00ff) + (i_683_ & 0xff00ff)); - i_683_ = ((i_685_ & 0x1000100) + (i_684_ - i_685_ & 0x10000)); - is_643_[i_642_] = (i_684_ - i_683_ | i_683_ - (i_683_ >>> 8)); - } - } else if (i_644_ == 0) { - int i_686_ = aByteArray9934[i_641_]; - if (i_686_ != 0) { - int i_687_ = anIntArray9935[i_686_ & 0xff]; - int i_688_ = (((i_687_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_689_ = (((i_687_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_690_ = (((i_687_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_687_ = (i_688_ | i_689_ | i_690_) >>> 8; - int i_691_ = is_643_[i_642_]; - int i_692_ = i_687_ + i_691_; - int i_693_ = ((i_687_ & 0xff00ff) + (i_691_ & 0xff00ff)); - i_691_ = ((i_693_ & 0x1000100) + (i_692_ - i_693_ & 0x10000)); - is_643_[i_642_] = (i_692_ - i_691_ | i_691_ - (i_691_ >>> 8)); - } - } else if (i_644_ == 3) { - byte i_694_ = aByteArray9934[i_641_]; - int i_695_ = (i_694_ > 0 ? anIntArray9935[i_694_] : 0); - int i_696_ = Class105_Sub3.anInt8480; - int i_697_ = i_695_ + i_696_; - int i_698_ = ((i_695_ & 0xff00ff) + (i_696_ & 0xff00ff)); - int i_699_ = ((i_698_ & 0x1000100) + (i_697_ - i_698_ & 0x10000)); - i_699_ = i_697_ - i_699_ | i_699_ - (i_699_ >>> 8); - if (i_695_ == 0 && Class105_Sub3.anInt8477 != 255) { - i_695_ = i_699_; - i_699_ = is_643_[i_642_]; - i_699_ = (((((i_695_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_699_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_695_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_699_ & 0xff00) * (Class105_Sub3.anInt8472))) & 0xff0000)) >> 8; - } - is_643_[i_642_] = i_699_; - } else if (i_644_ == 2) { - int i_700_ = aByteArray9934[i_641_]; - if (i_700_ != 0) { - int i_701_ = anIntArray9935[i_700_ & 0xff]; - int i_702_ = (((i_701_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_703_ = (((i_701_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_701_ = (((i_702_ | i_703_) >>> 8) + Class105_Sub3.anInt8474); - int i_704_ = is_643_[i_642_]; - int i_705_ = i_701_ + i_704_; - int i_706_ = ((i_701_ & 0xff00ff) + (i_704_ & 0xff00ff)); - i_704_ = ((i_706_ & 0x1000100) + (i_705_ - i_706_ & 0x10000)); - is_643_[i_642_] = (i_705_ - i_704_ | i_704_ - (i_704_ >>> 8)); - } - } - } else throw new IllegalArgumentException(); - i_637_ += Class105_Sub3.anInt8481; - } - } - i_635_++; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else if (Class105_Sub3.anInt8450 < 0) { - int i_707_ = Class105_Sub3.anInt8468; - while (i_707_ < 0) { - int i_708_ = Class105_Sub3.anInt8451; - int i_709_ = Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479; - int i_710_ = Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475; - int i_711_ = Class105_Sub3.anInt8478; - int i_712_; - if ((i_712_ = i_709_ - (this.anInt8471 << 12)) >= 0) { - i_712_ = ((Class105_Sub3.anInt8481 - i_712_) / Class105_Sub3.anInt8481); - i_711_ += i_712_; - i_709_ += Class105_Sub3.anInt8481 * i_712_; - i_710_ += Class105_Sub3.anInt8450 * i_712_; - i_708_ += i_712_; - } - if ((i_712_ = ((i_709_ - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_711_) i_711_ = i_712_; - if ((i_712_ = i_710_ - (this.anInt8470 << 12)) >= 0) { - i_712_ = ((Class105_Sub3.anInt8450 - i_712_) / Class105_Sub3.anInt8450); - i_711_ += i_712_; - i_709_ += Class105_Sub3.anInt8481 * i_712_; - i_710_ += Class105_Sub3.anInt8450 * i_712_; - i_708_ += i_712_; - } - if ((i_712_ = ((i_710_ - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_711_) i_711_ = i_712_; - for (/**/; i_711_ < 0; i_711_++) { - int i_713_ = (((i_710_ >> 12) * this.anInt8471) + (i_709_ >> 12)); - int i_714_ = i_708_++; - int[] is_715_ = is; - int i_716_ = i; - int i_717_ = i_418_; - if (i_717_ == 0) { - if (i_716_ == 1) is_715_[i_714_] = (anIntArray9935[aByteArray9934[i_713_] & 0xff]); - else if (i_716_ == 0) { - int i_718_ = (anIntArray9935[aByteArray9934[i_713_] & 0xff]); - int i_719_ = (((i_718_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_720_ = (((i_718_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_721_ = (((i_718_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_715_[i_714_] = (i_719_ | i_720_ | i_721_) >>> 8; - } else if (i_716_ == 3) { - int i_722_ = (anIntArray9935[aByteArray9934[i_713_] & 0xff]); - int i_723_ = Class105_Sub3.anInt8480; - int i_724_ = i_722_ + i_723_; - int i_725_ = ((i_722_ & 0xff00ff) + (i_723_ & 0xff00ff)); - int i_726_ = ((i_725_ & 0x1000100) + (i_724_ - i_725_ & 0x10000)); - is_715_[i_714_] = i_724_ - i_726_ | i_726_ - (i_726_ >>> 8); - } else if (i_716_ == 2) { - int i_727_ = (anIntArray9935[aByteArray9934[i_713_] & 0xff]); - int i_728_ = (((i_727_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_729_ = (((i_727_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_715_[i_714_] = (((i_728_ | i_729_) >>> 8) + Class105_Sub3.anInt8474); - } else throw new IllegalArgumentException(); - } else if (i_717_ == 1) { - if (i_716_ == 1) { - int i_730_ = aByteArray9934[i_713_]; - if (i_730_ != 0) is_715_[i_714_] = anIntArray9935[i_730_ & 0xff]; - } else if (i_716_ == 0) { - int i_731_ = aByteArray9934[i_713_]; - if (i_731_ != 0) { - int i_732_ = anIntArray9935[i_731_ & 0xff]; - if ((Class105_Sub3.anInt8480 & 0xffffff) == 16777215) { - int i_733_ = Class105_Sub3.anInt8480 >>> 24; - int i_734_ = 256 - i_733_; - int i_735_ = is_715_[i_714_]; - is_715_[i_714_] = ((((i_732_ & 0xff00ff) * i_733_ + ((i_735_ & 0xff00ff) * i_734_)) & ~0xff00ff) + (((i_732_ & 0xff00) * i_733_ + ((i_735_ & 0xff00) * i_734_)) & 0xff0000)) >> 8; - } else if (Class105_Sub3.anInt8477 == 255) { - int i_740_ = (((i_732_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_741_ = (((i_732_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_742_ = (((i_732_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_715_[i_714_] = (i_740_ | i_741_ | i_742_) >>> 8; - } else { - int i_736_ = (((i_732_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_737_ = (((i_732_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_738_ = (((i_732_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_732_ = (i_736_ | i_737_ | i_738_) >>> 8; - int i_739_ = is_715_[i_714_]; - is_715_[i_714_] = (((((i_732_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_739_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_732_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_739_ & 0xff00) * (Class105_Sub3.anInt8472))) & 0xff0000)) >> 8; - } - } - } else if (i_716_ == 3) { - byte i_743_ = aByteArray9934[i_713_]; - int i_744_ = i_743_ > 0 ? anIntArray9935[i_743_] : 0; - int i_745_ = Class105_Sub3.anInt8480; - int i_746_ = i_744_ + i_745_; - int i_747_ = ((i_744_ & 0xff00ff) + (i_745_ & 0xff00ff)); - int i_748_ = ((i_747_ & 0x1000100) + (i_746_ - i_747_ & 0x10000)); - i_748_ = i_746_ - i_748_ | i_748_ - (i_748_ >>> 8); - if (i_744_ == 0 && Class105_Sub3.anInt8477 != 255) { - i_744_ = i_748_; - i_748_ = is_715_[i_714_]; - i_748_ = (((((i_744_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_748_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_744_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_748_ & 0xff00) * Class105_Sub3.anInt8472)) & 0xff0000)) >> 8; - } - is_715_[i_714_] = i_748_; - } else if (i_716_ == 2) { - int i_749_ = aByteArray9934[i_713_]; - if (i_749_ != 0) { - int i_750_ = anIntArray9935[i_749_ & 0xff]; - int i_751_ = (((i_750_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_752_ = (((i_750_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_715_[i_714_++] = (((i_751_ | i_752_) >>> 8) + Class105_Sub3.anInt8474); - } - } else throw new IllegalArgumentException(); - } else if (i_717_ == 2) { - if (i_716_ == 1) { - int i_753_ = aByteArray9934[i_713_]; - if (i_753_ != 0) { - int i_754_ = anIntArray9935[i_753_ & 0xff]; - int i_755_ = is_715_[i_714_]; - int i_756_ = i_754_ + i_755_; - int i_757_ = ((i_754_ & 0xff00ff) + (i_755_ & 0xff00ff)); - i_755_ = ((i_757_ & 0x1000100) + (i_756_ - i_757_ & 0x10000)); - is_715_[i_714_] = i_756_ - i_755_ | i_755_ - (i_755_ >>> 8); - } - } else if (i_716_ == 0) { - int i_758_ = aByteArray9934[i_713_]; - if (i_758_ != 0) { - int i_759_ = anIntArray9935[i_758_ & 0xff]; - int i_760_ = (((i_759_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_761_ = (((i_759_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_762_ = (((i_759_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_759_ = (i_760_ | i_761_ | i_762_) >>> 8; - int i_763_ = is_715_[i_714_]; - int i_764_ = i_759_ + i_763_; - int i_765_ = ((i_759_ & 0xff00ff) + (i_763_ & 0xff00ff)); - i_763_ = ((i_765_ & 0x1000100) + (i_764_ - i_765_ & 0x10000)); - is_715_[i_714_] = i_764_ - i_763_ | i_763_ - (i_763_ >>> 8); - } - } else if (i_716_ == 3) { - byte i_766_ = aByteArray9934[i_713_]; - int i_767_ = i_766_ > 0 ? anIntArray9935[i_766_] : 0; - int i_768_ = Class105_Sub3.anInt8480; - int i_769_ = i_767_ + i_768_; - int i_770_ = ((i_767_ & 0xff00ff) + (i_768_ & 0xff00ff)); - int i_771_ = ((i_770_ & 0x1000100) + (i_769_ - i_770_ & 0x10000)); - i_771_ = i_769_ - i_771_ | i_771_ - (i_771_ >>> 8); - if (i_767_ == 0 && Class105_Sub3.anInt8477 != 255) { - i_767_ = i_771_; - i_771_ = is_715_[i_714_]; - i_771_ = (((((i_767_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_771_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_767_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_771_ & 0xff00) * Class105_Sub3.anInt8472)) & 0xff0000)) >> 8; - } - is_715_[i_714_] = i_771_; - } else if (i_716_ == 2) { - int i_772_ = aByteArray9934[i_713_]; - if (i_772_ != 0) { - int i_773_ = anIntArray9935[i_772_ & 0xff]; - int i_774_ = (((i_773_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_775_ = (((i_773_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_773_ = (((i_774_ | i_775_) >>> 8) + Class105_Sub3.anInt8474); - int i_776_ = is_715_[i_714_]; - int i_777_ = i_773_ + i_776_; - int i_778_ = ((i_773_ & 0xff00ff) + (i_776_ & 0xff00ff)); - i_776_ = ((i_778_ & 0x1000100) + (i_777_ - i_778_ & 0x10000)); - is_715_[i_714_] = i_777_ - i_776_ | i_776_ - (i_776_ >>> 8); - } - } - } else throw new IllegalArgumentException(); - i_709_ += Class105_Sub3.anInt8481; - i_710_ += Class105_Sub3.anInt8450; - } - i_707_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else { - int i_779_ = Class105_Sub3.anInt8468; - while (i_779_ < 0) { - int i_780_ = Class105_Sub3.anInt8451; - int i_781_ = Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479; - int i_782_ = Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475; - int i_783_ = Class105_Sub3.anInt8478; - int i_784_; - if ((i_784_ = i_781_ - (this.anInt8471 << 12)) >= 0) { - i_784_ = ((Class105_Sub3.anInt8481 - i_784_) / Class105_Sub3.anInt8481); - i_783_ += i_784_; - i_781_ += Class105_Sub3.anInt8481 * i_784_; - i_782_ += Class105_Sub3.anInt8450 * i_784_; - i_780_ += i_784_; - } - if ((i_784_ = ((i_781_ - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_783_) i_783_ = i_784_; - if (i_782_ < 0) { - i_784_ = ((Class105_Sub3.anInt8450 - 1 - i_782_) / Class105_Sub3.anInt8450); - i_783_ += i_784_; - i_781_ += Class105_Sub3.anInt8481 * i_784_; - i_782_ += Class105_Sub3.anInt8450 * i_784_; - i_780_ += i_784_; - } - if ((i_784_ = ((1 + i_782_ - (this.anInt8470 << 12) - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_783_) i_783_ = i_784_; - for (/**/; i_783_ < 0; i_783_++) { - int i_785_ = (((i_782_ >> 12) * this.anInt8471) + (i_781_ >> 12)); - int i_786_ = i_780_++; - int[] is_787_ = is; - int i_788_ = i; - int i_789_ = i_418_; - if (i_789_ == 0) { - if (i_788_ == 1) is_787_[i_786_] = (anIntArray9935[aByteArray9934[i_785_] & 0xff]); - else if (i_788_ == 0) { - int i_790_ = (anIntArray9935[aByteArray9934[i_785_] & 0xff]); - int i_791_ = (((i_790_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_792_ = (((i_790_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_793_ = (((i_790_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_787_[i_786_] = (i_791_ | i_792_ | i_793_) >>> 8; - } else if (i_788_ == 3) { - int i_794_ = (anIntArray9935[aByteArray9934[i_785_] & 0xff]); - int i_795_ = Class105_Sub3.anInt8480; - int i_796_ = i_794_ + i_795_; - int i_797_ = ((i_794_ & 0xff00ff) + (i_795_ & 0xff00ff)); - int i_798_ = ((i_797_ & 0x1000100) + (i_796_ - i_797_ & 0x10000)); - is_787_[i_786_] = i_796_ - i_798_ | i_798_ - (i_798_ >>> 8); - } else if (i_788_ == 2) { - int i_799_ = (anIntArray9935[aByteArray9934[i_785_] & 0xff]); - int i_800_ = (((i_799_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_801_ = (((i_799_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_787_[i_786_] = (((i_800_ | i_801_) >>> 8) + Class105_Sub3.anInt8474); - } else throw new IllegalArgumentException(); - } else if (i_789_ == 1) { - if (i_788_ == 1) { - int i_802_ = aByteArray9934[i_785_]; - if (i_802_ != 0) is_787_[i_786_] = anIntArray9935[i_802_ & 0xff]; - } else if (i_788_ == 0) { - int i_803_ = aByteArray9934[i_785_]; - if (i_803_ != 0) { - int i_804_ = anIntArray9935[i_803_ & 0xff]; - if ((Class105_Sub3.anInt8480 & 0xffffff) == 16777215) { - int i_805_ = Class105_Sub3.anInt8480 >>> 24; - int i_806_ = 256 - i_805_; - int i_807_ = is_787_[i_786_]; - is_787_[i_786_] = ((((i_804_ & 0xff00ff) * i_805_ + ((i_807_ & 0xff00ff) * i_806_)) & ~0xff00ff) + (((i_804_ & 0xff00) * i_805_ + ((i_807_ & 0xff00) * i_806_)) & 0xff0000)) >> 8; - } else if (Class105_Sub3.anInt8477 == 255) { - int i_812_ = (((i_804_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_813_ = (((i_804_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_814_ = (((i_804_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_787_[i_786_] = (i_812_ | i_813_ | i_814_) >>> 8; - } else { - int i_808_ = (((i_804_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_809_ = (((i_804_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_810_ = (((i_804_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_804_ = (i_808_ | i_809_ | i_810_) >>> 8; - int i_811_ = is_787_[i_786_]; - is_787_[i_786_] = (((((i_804_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_811_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_804_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_811_ & 0xff00) * (Class105_Sub3.anInt8472))) & 0xff0000)) >> 8; - } - } - } else if (i_788_ == 3) { - byte i_815_ = aByteArray9934[i_785_]; - int i_816_ = i_815_ > 0 ? anIntArray9935[i_815_] : 0; - int i_817_ = Class105_Sub3.anInt8480; - int i_818_ = i_816_ + i_817_; - int i_819_ = ((i_816_ & 0xff00ff) + (i_817_ & 0xff00ff)); - int i_820_ = ((i_819_ & 0x1000100) + (i_818_ - i_819_ & 0x10000)); - i_820_ = i_818_ - i_820_ | i_820_ - (i_820_ >>> 8); - if (i_816_ == 0 && Class105_Sub3.anInt8477 != 255) { - i_816_ = i_820_; - i_820_ = is_787_[i_786_]; - i_820_ = (((((i_816_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_820_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_816_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_820_ & 0xff00) * Class105_Sub3.anInt8472)) & 0xff0000)) >> 8; - } - is_787_[i_786_] = i_820_; - } else if (i_788_ == 2) { - int i_821_ = aByteArray9934[i_785_]; - if (i_821_ != 0) { - int i_822_ = anIntArray9935[i_821_ & 0xff]; - int i_823_ = (((i_822_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_824_ = (((i_822_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_787_[i_786_++] = (((i_823_ | i_824_) >>> 8) + Class105_Sub3.anInt8474); - } - } else throw new IllegalArgumentException(); - } else if (i_789_ == 2) { - if (i_788_ == 1) { - int i_825_ = aByteArray9934[i_785_]; - if (i_825_ != 0) { - int i_826_ = anIntArray9935[i_825_ & 0xff]; - int i_827_ = is_787_[i_786_]; - int i_828_ = i_826_ + i_827_; - int i_829_ = ((i_826_ & 0xff00ff) + (i_827_ & 0xff00ff)); - i_827_ = ((i_829_ & 0x1000100) + (i_828_ - i_829_ & 0x10000)); - is_787_[i_786_] = i_828_ - i_827_ | i_827_ - (i_827_ >>> 8); - } - } else if (i_788_ == 0) { - int i_830_ = aByteArray9934[i_785_]; - if (i_830_ != 0) { - int i_831_ = anIntArray9935[i_830_ & 0xff]; - int i_832_ = (((i_831_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_833_ = (((i_831_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_834_ = (((i_831_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_831_ = (i_832_ | i_833_ | i_834_) >>> 8; - int i_835_ = is_787_[i_786_]; - int i_836_ = i_831_ + i_835_; - int i_837_ = ((i_831_ & 0xff00ff) + (i_835_ & 0xff00ff)); - i_835_ = ((i_837_ & 0x1000100) + (i_836_ - i_837_ & 0x10000)); - is_787_[i_786_] = i_836_ - i_835_ | i_835_ - (i_835_ >>> 8); - } - } else if (i_788_ == 3) { - byte i_838_ = aByteArray9934[i_785_]; - int i_839_ = i_838_ > 0 ? anIntArray9935[i_838_] : 0; - int i_840_ = Class105_Sub3.anInt8480; - int i_841_ = i_839_ + i_840_; - int i_842_ = ((i_839_ & 0xff00ff) + (i_840_ & 0xff00ff)); - int i_843_ = ((i_842_ & 0x1000100) + (i_841_ - i_842_ & 0x10000)); - i_843_ = i_841_ - i_843_ | i_843_ - (i_843_ >>> 8); - if (i_839_ == 0 && Class105_Sub3.anInt8477 != 255) { - i_839_ = i_843_; - i_843_ = is_787_[i_786_]; - i_843_ = (((((i_839_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_843_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_839_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_843_ & 0xff00) * Class105_Sub3.anInt8472)) & 0xff0000)) >> 8; - } - is_787_[i_786_] = i_843_; - } else if (i_788_ == 2) { - int i_844_ = aByteArray9934[i_785_]; - if (i_844_ != 0) { - int i_845_ = anIntArray9935[i_844_ & 0xff]; - int i_846_ = (((i_845_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_847_ = (((i_845_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_845_ = (((i_846_ | i_847_) >>> 8) + Class105_Sub3.anInt8474); - int i_848_ = is_787_[i_786_]; - int i_849_ = i_845_ + i_848_; - int i_850_ = ((i_845_ & 0xff00ff) + (i_848_ & 0xff00ff)); - i_848_ = ((i_850_ & 0x1000100) + (i_849_ - i_850_ & 0x10000)); - is_787_[i_786_] = i_849_ - i_848_ | i_848_ - (i_848_ >>> 8); - } - } - } else throw new IllegalArgumentException(); - i_781_ += Class105_Sub3.anInt8481; - i_782_ += Class105_Sub3.anInt8450; - } - i_779_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } - } else if (Class105_Sub3.anInt8450 == 0) { - int i_851_ = Class105_Sub3.anInt8468; - while (i_851_ < 0) { - int i_852_ = Class105_Sub3.anInt8451; - int i_853_ = Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479; - int i_854_ = Class105_Sub3.anInt8467; - int i_855_ = Class105_Sub3.anInt8478; - if (i_854_ >= 0 && i_854_ - (this.anInt8470 << 12) < 0) { - if (i_853_ < 0) { - int i_856_ = ((Class105_Sub3.anInt8481 - 1 - i_853_) / Class105_Sub3.anInt8481); - i_855_ += i_856_; - i_853_ += Class105_Sub3.anInt8481 * i_856_; - i_852_ += i_856_; - } - int i_857_; - if ((i_857_ = ((1 + i_853_ - (this.anInt8471 << 12) - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_855_) i_855_ = i_857_; - for (/**/; i_855_ < 0; i_855_++) { - int i_858_ = (((i_854_ >> 12) * this.anInt8471) + (i_853_ >> 12)); - int i_859_ = i_852_++; - int[] is_860_ = is; - int i_861_ = i; - int i_862_ = i_418_; - if (i_862_ == 0) { - if (i_861_ == 1) is_860_[i_859_] = (anIntArray9935[aByteArray9934[i_858_] & 0xff]); - else if (i_861_ == 0) { - int i_863_ = (anIntArray9935[aByteArray9934[i_858_] & 0xff]); - int i_864_ = (((i_863_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_865_ = (((i_863_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_866_ = (((i_863_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_860_[i_859_] = (i_864_ | i_865_ | i_866_) >>> 8; - } else if (i_861_ == 3) { - int i_867_ = (anIntArray9935[aByteArray9934[i_858_] & 0xff]); - int i_868_ = Class105_Sub3.anInt8480; - int i_869_ = i_867_ + i_868_; - int i_870_ = ((i_867_ & 0xff00ff) + (i_868_ & 0xff00ff)); - int i_871_ = ((i_870_ & 0x1000100) + (i_869_ - i_870_ & 0x10000)); - is_860_[i_859_] = i_869_ - i_871_ | i_871_ - (i_871_ >>> 8); - } else if (i_861_ == 2) { - int i_872_ = (anIntArray9935[aByteArray9934[i_858_] & 0xff]); - int i_873_ = (((i_872_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_874_ = (((i_872_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_860_[i_859_] = (((i_873_ | i_874_) >>> 8) + Class105_Sub3.anInt8474); - } else throw new IllegalArgumentException(); - } else if (i_862_ == 1) { - if (i_861_ == 1) { - int i_875_ = aByteArray9934[i_858_]; - if (i_875_ != 0) is_860_[i_859_] = anIntArray9935[i_875_ & 0xff]; - } else if (i_861_ == 0) { - int i_876_ = aByteArray9934[i_858_]; - if (i_876_ != 0) { - int i_877_ = anIntArray9935[i_876_ & 0xff]; - if ((Class105_Sub3.anInt8480 & 0xffffff) == 16777215) { - int i_878_ = Class105_Sub3.anInt8480 >>> 24; - int i_879_ = 256 - i_878_; - int i_880_ = is_860_[i_859_]; - is_860_[i_859_] = ((((i_877_ & 0xff00ff) * i_878_ + ((i_880_ & 0xff00ff) * i_879_)) & ~0xff00ff) + (((i_877_ & 0xff00) * i_878_ + ((i_880_ & 0xff00) * i_879_)) & 0xff0000)) >> 8; - } else if (Class105_Sub3.anInt8477 == 255) { - int i_885_ = (((i_877_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_886_ = (((i_877_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_887_ = (((i_877_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_860_[i_859_] = (i_885_ | i_886_ | i_887_) >>> 8; - } else { - int i_881_ = (((i_877_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_882_ = (((i_877_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_883_ = (((i_877_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_877_ = (i_881_ | i_882_ | i_883_) >>> 8; - int i_884_ = is_860_[i_859_]; - is_860_[i_859_] = (((((i_877_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_884_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_877_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_884_ & 0xff00) * (Class105_Sub3.anInt8472))) & 0xff0000)) >> 8; - } - } - } else if (i_861_ == 3) { - byte i_888_ = aByteArray9934[i_858_]; - int i_889_ = i_888_ > 0 ? anIntArray9935[i_888_] : 0; - int i_890_ = Class105_Sub3.anInt8480; - int i_891_ = i_889_ + i_890_; - int i_892_ = ((i_889_ & 0xff00ff) + (i_890_ & 0xff00ff)); - int i_893_ = ((i_892_ & 0x1000100) + (i_891_ - i_892_ & 0x10000)); - i_893_ = i_891_ - i_893_ | i_893_ - (i_893_ >>> 8); - if (i_889_ == 0 && Class105_Sub3.anInt8477 != 255) { - i_889_ = i_893_; - i_893_ = is_860_[i_859_]; - i_893_ = (((((i_889_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_893_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_889_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_893_ & 0xff00) * Class105_Sub3.anInt8472)) & 0xff0000)) >> 8; - } - is_860_[i_859_] = i_893_; - } else if (i_861_ == 2) { - int i_894_ = aByteArray9934[i_858_]; - if (i_894_ != 0) { - int i_895_ = anIntArray9935[i_894_ & 0xff]; - int i_896_ = (((i_895_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_897_ = (((i_895_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_860_[i_859_++] = (((i_896_ | i_897_) >>> 8) + Class105_Sub3.anInt8474); - } - } else throw new IllegalArgumentException(); - } else if (i_862_ == 2) { - if (i_861_ == 1) { - int i_898_ = aByteArray9934[i_858_]; - if (i_898_ != 0) { - int i_899_ = anIntArray9935[i_898_ & 0xff]; - int i_900_ = is_860_[i_859_]; - int i_901_ = i_899_ + i_900_; - int i_902_ = ((i_899_ & 0xff00ff) + (i_900_ & 0xff00ff)); - i_900_ = ((i_902_ & 0x1000100) + (i_901_ - i_902_ & 0x10000)); - is_860_[i_859_] = i_901_ - i_900_ | i_900_ - (i_900_ >>> 8); - } - } else if (i_861_ == 0) { - int i_903_ = aByteArray9934[i_858_]; - if (i_903_ != 0) { - int i_904_ = anIntArray9935[i_903_ & 0xff]; - int i_905_ = (((i_904_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_906_ = (((i_904_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_907_ = (((i_904_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_904_ = (i_905_ | i_906_ | i_907_) >>> 8; - int i_908_ = is_860_[i_859_]; - int i_909_ = i_904_ + i_908_; - int i_910_ = ((i_904_ & 0xff00ff) + (i_908_ & 0xff00ff)); - i_908_ = ((i_910_ & 0x1000100) + (i_909_ - i_910_ & 0x10000)); - is_860_[i_859_] = i_909_ - i_908_ | i_908_ - (i_908_ >>> 8); - } - } else if (i_861_ == 3) { - byte i_911_ = aByteArray9934[i_858_]; - int i_912_ = i_911_ > 0 ? anIntArray9935[i_911_] : 0; - int i_913_ = Class105_Sub3.anInt8480; - int i_914_ = i_912_ + i_913_; - int i_915_ = ((i_912_ & 0xff00ff) + (i_913_ & 0xff00ff)); - int i_916_ = ((i_915_ & 0x1000100) + (i_914_ - i_915_ & 0x10000)); - i_916_ = i_914_ - i_916_ | i_916_ - (i_916_ >>> 8); - if (i_912_ == 0 && Class105_Sub3.anInt8477 != 255) { - i_912_ = i_916_; - i_916_ = is_860_[i_859_]; - i_916_ = (((((i_912_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_916_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_912_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_916_ & 0xff00) * Class105_Sub3.anInt8472)) & 0xff0000)) >> 8; - } - is_860_[i_859_] = i_916_; - } else if (i_861_ == 2) { - int i_917_ = aByteArray9934[i_858_]; - if (i_917_ != 0) { - int i_918_ = anIntArray9935[i_917_ & 0xff]; - int i_919_ = (((i_918_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_920_ = (((i_918_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_918_ = (((i_919_ | i_920_) >>> 8) + Class105_Sub3.anInt8474); - int i_921_ = is_860_[i_859_]; - int i_922_ = i_918_ + i_921_; - int i_923_ = ((i_918_ & 0xff00ff) + (i_921_ & 0xff00ff)); - i_921_ = ((i_923_ & 0x1000100) + (i_922_ - i_923_ & 0x10000)); - is_860_[i_859_] = i_922_ - i_921_ | i_921_ - (i_921_ >>> 8); - } - } - } else throw new IllegalArgumentException(); - i_853_ += Class105_Sub3.anInt8481; - } - } - i_851_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else if (Class105_Sub3.anInt8450 < 0) { - for (int i_924_ = Class105_Sub3.anInt8468; i_924_ < 0; i_924_++) { - int i_925_ = Class105_Sub3.anInt8451; - int i_926_ = Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479; - int i_927_ = Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475; - int i_928_ = Class105_Sub3.anInt8478; - if (i_926_ < 0) { - int i_929_ = ((Class105_Sub3.anInt8481 - 1 - i_926_) / Class105_Sub3.anInt8481); - i_928_ += i_929_; - i_926_ += Class105_Sub3.anInt8481 * i_929_; - i_927_ += Class105_Sub3.anInt8450 * i_929_; - i_925_ += i_929_; - } - int i_930_; - if ((i_930_ = (1 + i_926_ - (this.anInt8471 << 12) - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481) > i_928_) i_928_ = i_930_; - if ((i_930_ = i_927_ - (this.anInt8470 << 12)) >= 0) { - i_930_ = ((Class105_Sub3.anInt8450 - i_930_) / Class105_Sub3.anInt8450); - i_928_ += i_930_; - i_926_ += Class105_Sub3.anInt8481 * i_930_; - i_927_ += Class105_Sub3.anInt8450 * i_930_; - i_925_ += i_930_; - } - if ((i_930_ = ((i_927_ - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_928_) i_928_ = i_930_; - for (/**/; i_928_ < 0; i_928_++) { - int i_931_ = ((i_927_ >> 12) * this.anInt8471 + (i_926_ >> 12)); - int i_932_ = i_925_++; - int[] is_933_ = is; - int i_934_ = i; - int i_935_ = i_418_; - if (i_935_ == 0) { - if (i_934_ == 1) is_933_[i_932_] = (anIntArray9935[aByteArray9934[i_931_] & 0xff]); - else if (i_934_ == 0) { - int i_936_ = (anIntArray9935[aByteArray9934[i_931_] & 0xff]); - int i_937_ = (((i_936_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_938_ = ((i_936_ & 0xff00) * Class105_Sub3.anInt8463 & 0xff0000); - int i_939_ = ((i_936_ & 0xff) * Class105_Sub3.anInt8465 & 0xff00); - is_933_[i_932_] = (i_937_ | i_938_ | i_939_) >>> 8; - } else if (i_934_ == 3) { - int i_940_ = (anIntArray9935[aByteArray9934[i_931_] & 0xff]); - int i_941_ = Class105_Sub3.anInt8480; - int i_942_ = i_940_ + i_941_; - int i_943_ = (i_940_ & 0xff00ff) + (i_941_ & 0xff00ff); - int i_944_ = ((i_943_ & 0x1000100) + (i_942_ - i_943_ & 0x10000)); - is_933_[i_932_] = i_942_ - i_944_ | i_944_ - (i_944_ >>> 8); - } else if (i_934_ == 2) { - int i_945_ = (anIntArray9935[aByteArray9934[i_931_] & 0xff]); - int i_946_ = (((i_945_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_947_ = ((i_945_ & 0xff00) * Class105_Sub3.anInt8477 & 0xff0000); - is_933_[i_932_] = (((i_946_ | i_947_) >>> 8) + Class105_Sub3.anInt8474); - } else throw new IllegalArgumentException(); - } else if (i_935_ == 1) { - if (i_934_ == 1) { - int i_948_ = aByteArray9934[i_931_]; - if (i_948_ != 0) is_933_[i_932_] = anIntArray9935[i_948_ & 0xff]; - } else if (i_934_ == 0) { - int i_949_ = aByteArray9934[i_931_]; - if (i_949_ != 0) { - int i_950_ = anIntArray9935[i_949_ & 0xff]; - if ((Class105_Sub3.anInt8480 & 0xffffff) == 16777215) { - int i_951_ = Class105_Sub3.anInt8480 >>> 24; - int i_952_ = 256 - i_951_; - int i_953_ = is_933_[i_932_]; - is_933_[i_932_] = ((((i_950_ & 0xff00ff) * i_951_ + (i_953_ & 0xff00ff) * i_952_) & ~0xff00ff) + (((i_950_ & 0xff00) * i_951_ + (i_953_ & 0xff00) * i_952_) & 0xff0000)) >> 8; - } else if (Class105_Sub3.anInt8477 == 255) { - int i_958_ = (((i_950_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_959_ = (((i_950_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_960_ = (((i_950_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_933_[i_932_] = (i_958_ | i_959_ | i_960_) >>> 8; - } else { - int i_954_ = (((i_950_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_955_ = (((i_950_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_956_ = (((i_950_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_950_ = (i_954_ | i_955_ | i_956_) >>> 8; - int i_957_ = is_933_[i_932_]; - is_933_[i_932_] = (((((i_950_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_957_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_950_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_957_ & 0xff00) * Class105_Sub3.anInt8472)) & 0xff0000)) >> 8; - } - } - } else if (i_934_ == 3) { - byte i_961_ = aByteArray9934[i_931_]; - int i_962_ = i_961_ > 0 ? anIntArray9935[i_961_] : 0; - int i_963_ = Class105_Sub3.anInt8480; - int i_964_ = i_962_ + i_963_; - int i_965_ = (i_962_ & 0xff00ff) + (i_963_ & 0xff00ff); - int i_966_ = ((i_965_ & 0x1000100) + (i_964_ - i_965_ & 0x10000)); - i_966_ = i_964_ - i_966_ | i_966_ - (i_966_ >>> 8); - if (i_962_ == 0 && Class105_Sub3.anInt8477 != 255) { - i_962_ = i_966_; - i_966_ = is_933_[i_932_]; - i_966_ = (((((i_962_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_966_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_962_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_966_ & 0xff00) * Class105_Sub3.anInt8472)) & 0xff0000)) >> 8; - } - is_933_[i_932_] = i_966_; - } else if (i_934_ == 2) { - int i_967_ = aByteArray9934[i_931_]; - if (i_967_ != 0) { - int i_968_ = anIntArray9935[i_967_ & 0xff]; - int i_969_ = (((i_968_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_970_ = (((i_968_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_933_[i_932_++] = (((i_969_ | i_970_) >>> 8) + Class105_Sub3.anInt8474); - } - } else throw new IllegalArgumentException(); - } else if (i_935_ == 2) { - if (i_934_ == 1) { - int i_971_ = aByteArray9934[i_931_]; - if (i_971_ != 0) { - int i_972_ = anIntArray9935[i_971_ & 0xff]; - int i_973_ = is_933_[i_932_]; - int i_974_ = i_972_ + i_973_; - int i_975_ = ((i_972_ & 0xff00ff) + (i_973_ & 0xff00ff)); - i_973_ = (i_975_ & 0x1000100) + (i_974_ - i_975_ & 0x10000); - is_933_[i_932_] = i_974_ - i_973_ | i_973_ - (i_973_ >>> 8); - } - } else if (i_934_ == 0) { - int i_976_ = aByteArray9934[i_931_]; - if (i_976_ != 0) { - int i_977_ = anIntArray9935[i_976_ & 0xff]; - int i_978_ = (((i_977_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_979_ = (((i_977_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_980_ = (((i_977_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_977_ = (i_978_ | i_979_ | i_980_) >>> 8; - int i_981_ = is_933_[i_932_]; - int i_982_ = i_977_ + i_981_; - int i_983_ = ((i_977_ & 0xff00ff) + (i_981_ & 0xff00ff)); - i_981_ = (i_983_ & 0x1000100) + (i_982_ - i_983_ & 0x10000); - is_933_[i_932_] = i_982_ - i_981_ | i_981_ - (i_981_ >>> 8); - } - } else if (i_934_ == 3) { - byte i_984_ = aByteArray9934[i_931_]; - int i_985_ = i_984_ > 0 ? anIntArray9935[i_984_] : 0; - int i_986_ = Class105_Sub3.anInt8480; - int i_987_ = i_985_ + i_986_; - int i_988_ = (i_985_ & 0xff00ff) + (i_986_ & 0xff00ff); - int i_989_ = ((i_988_ & 0x1000100) + (i_987_ - i_988_ & 0x10000)); - i_989_ = i_987_ - i_989_ | i_989_ - (i_989_ >>> 8); - if (i_985_ == 0 && Class105_Sub3.anInt8477 != 255) { - i_985_ = i_989_; - i_989_ = is_933_[i_932_]; - i_989_ = (((((i_985_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_989_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_985_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_989_ & 0xff00) * Class105_Sub3.anInt8472)) & 0xff0000)) >> 8; - } - is_933_[i_932_] = i_989_; - } else if (i_934_ == 2) { - int i_990_ = aByteArray9934[i_931_]; - if (i_990_ != 0) { - int i_991_ = anIntArray9935[i_990_ & 0xff]; - int i_992_ = (((i_991_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_993_ = (((i_991_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_991_ = (((i_992_ | i_993_) >>> 8) + Class105_Sub3.anInt8474); - int i_994_ = is_933_[i_932_]; - int i_995_ = i_991_ + i_994_; - int i_996_ = ((i_991_ & 0xff00ff) + (i_994_ & 0xff00ff)); - i_994_ = (i_996_ & 0x1000100) + (i_995_ - i_996_ & 0x10000); - is_933_[i_932_] = i_995_ - i_994_ | i_994_ - (i_994_ >>> 8); - } - } - } else throw new IllegalArgumentException(); - i_926_ += Class105_Sub3.anInt8481; - i_927_ += Class105_Sub3.anInt8450; - } - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else { - for (int i_997_ = Class105_Sub3.anInt8468; i_997_ < 0; i_997_++) { - int i_998_ = Class105_Sub3.anInt8451; - int i_999_ = Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479; - int i_1000_ = Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475; - int i_1001_ = Class105_Sub3.anInt8478; - if (i_999_ < 0) { - int i_1002_ = ((Class105_Sub3.anInt8481 - 1 - i_999_) / Class105_Sub3.anInt8481); - i_1001_ += i_1002_; - i_999_ += Class105_Sub3.anInt8481 * i_1002_; - i_1000_ += Class105_Sub3.anInt8450 * i_1002_; - i_998_ += i_1002_; - } - int i_1003_; - if ((i_1003_ = (1 + i_999_ - (this.anInt8471 << 12) - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481) > i_1001_) i_1001_ = i_1003_; - if (i_1000_ < 0) { - i_1003_ = ((Class105_Sub3.anInt8450 - 1 - i_1000_) / Class105_Sub3.anInt8450); - i_1001_ += i_1003_; - i_999_ += Class105_Sub3.anInt8481 * i_1003_; - i_1000_ += Class105_Sub3.anInt8450 * i_1003_; - i_998_ += i_1003_; - } - if ((i_1003_ = (1 + i_1000_ - (this.anInt8470 << 12) - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450) > i_1001_) i_1001_ = i_1003_; - for (/**/; i_1001_ < 0; i_1001_++) { - int i_1004_ = ((i_1000_ >> 12) * this.anInt8471 + (i_999_ >> 12)); - int i_1005_ = i_998_++; - int[] is_1006_ = is; - int i_1007_ = i; - int i_1008_ = i_418_; - if (i_1008_ == 0) { - if (i_1007_ == 1) is_1006_[i_1005_] = (anIntArray9935[aByteArray9934[i_1004_] & 0xff]); - else if (i_1007_ == 0) { - int i_1009_ = (anIntArray9935[aByteArray9934[i_1004_] & 0xff]); - int i_1010_ = (((i_1009_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_1011_ = ((i_1009_ & 0xff00) * Class105_Sub3.anInt8463 & 0xff0000); - int i_1012_ = ((i_1009_ & 0xff) * Class105_Sub3.anInt8465 & 0xff00); - is_1006_[i_1005_] = (i_1010_ | i_1011_ | i_1012_) >>> 8; - } else if (i_1007_ == 3) { - int i_1013_ = (anIntArray9935[aByteArray9934[i_1004_] & 0xff]); - int i_1014_ = Class105_Sub3.anInt8480; - int i_1015_ = i_1013_ + i_1014_; - int i_1016_ = (i_1013_ & 0xff00ff) + (i_1014_ & 0xff00ff); - int i_1017_ = ((i_1016_ & 0x1000100) + (i_1015_ - i_1016_ & 0x10000)); - is_1006_[i_1005_] = i_1015_ - i_1017_ | i_1017_ - (i_1017_ >>> 8); - } else if (i_1007_ == 2) { - int i_1018_ = (anIntArray9935[aByteArray9934[i_1004_] & 0xff]); - int i_1019_ = (((i_1018_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_1020_ = ((i_1018_ & 0xff00) * Class105_Sub3.anInt8477 & 0xff0000); - is_1006_[i_1005_] = (((i_1019_ | i_1020_) >>> 8) + Class105_Sub3.anInt8474); - } else throw new IllegalArgumentException(); - } else if (i_1008_ == 1) { - if (i_1007_ == 1) { - int i_1021_ = aByteArray9934[i_1004_]; - if (i_1021_ != 0) is_1006_[i_1005_] = anIntArray9935[i_1021_ & 0xff]; - } else if (i_1007_ == 0) { - int i_1022_ = aByteArray9934[i_1004_]; - if (i_1022_ != 0) { - int i_1023_ = anIntArray9935[i_1022_ & 0xff]; - if ((Class105_Sub3.anInt8480 & 0xffffff) == 16777215) { - int i_1024_ = Class105_Sub3.anInt8480 >>> 24; - int i_1025_ = 256 - i_1024_; - int i_1026_ = is_1006_[i_1005_]; - is_1006_[i_1005_] = ((((i_1023_ & 0xff00ff) * i_1024_ + (i_1026_ & 0xff00ff) * i_1025_) & ~0xff00ff) + (((i_1023_ & 0xff00) * i_1024_ + (i_1026_ & 0xff00) * i_1025_) & 0xff0000)) >> 8; - } else if (Class105_Sub3.anInt8477 == 255) { - int i_1031_ = (((i_1023_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_1032_ = (((i_1023_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_1033_ = (((i_1023_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_1006_[i_1005_] = (i_1031_ | i_1032_ | i_1033_) >>> 8; - } else { - int i_1027_ = (((i_1023_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_1028_ = (((i_1023_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_1029_ = (((i_1023_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_1023_ = (i_1027_ | i_1028_ | i_1029_) >>> 8; - int i_1030_ = is_1006_[i_1005_]; - is_1006_[i_1005_] = (((((i_1023_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_1030_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_1023_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_1030_ & 0xff00) * Class105_Sub3.anInt8472)) & 0xff0000)) >> 8; - } - } - } else if (i_1007_ == 3) { - byte i_1034_ = aByteArray9934[i_1004_]; - int i_1035_ = i_1034_ > 0 ? anIntArray9935[i_1034_] : 0; - int i_1036_ = Class105_Sub3.anInt8480; - int i_1037_ = i_1035_ + i_1036_; - int i_1038_ = (i_1035_ & 0xff00ff) + (i_1036_ & 0xff00ff); - int i_1039_ = ((i_1038_ & 0x1000100) + (i_1037_ - i_1038_ & 0x10000)); - i_1039_ = i_1037_ - i_1039_ | i_1039_ - (i_1039_ >>> 8); - if (i_1035_ == 0 && Class105_Sub3.anInt8477 != 255) { - i_1035_ = i_1039_; - i_1039_ = is_1006_[i_1005_]; - i_1039_ = (((((i_1035_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_1039_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_1035_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_1039_ & 0xff00) * Class105_Sub3.anInt8472)) & 0xff0000)) >> 8; - } - is_1006_[i_1005_] = i_1039_; - } else if (i_1007_ == 2) { - int i_1040_ = aByteArray9934[i_1004_]; - if (i_1040_ != 0) { - int i_1041_ = anIntArray9935[i_1040_ & 0xff]; - int i_1042_ = (((i_1041_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_1043_ = (((i_1041_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_1006_[i_1005_++] = (((i_1042_ | i_1043_) >>> 8) + Class105_Sub3.anInt8474); - } - } else throw new IllegalArgumentException(); - } else if (i_1008_ == 2) { - if (i_1007_ == 1) { - int i_1044_ = aByteArray9934[i_1004_]; - if (i_1044_ != 0) { - int i_1045_ = anIntArray9935[i_1044_ & 0xff]; - int i_1046_ = is_1006_[i_1005_]; - int i_1047_ = i_1045_ + i_1046_; - int i_1048_ = ((i_1045_ & 0xff00ff) + (i_1046_ & 0xff00ff)); - i_1046_ = ((i_1048_ & 0x1000100) + (i_1047_ - i_1048_ & 0x10000)); - is_1006_[i_1005_] = i_1047_ - i_1046_ | i_1046_ - (i_1046_ >>> 8); - } - } else if (i_1007_ == 0) { - int i_1049_ = aByteArray9934[i_1004_]; - if (i_1049_ != 0) { - int i_1050_ = anIntArray9935[i_1049_ & 0xff]; - int i_1051_ = (((i_1050_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_1052_ = (((i_1050_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_1053_ = (((i_1050_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_1050_ = (i_1051_ | i_1052_ | i_1053_) >>> 8; - int i_1054_ = is_1006_[i_1005_]; - int i_1055_ = i_1050_ + i_1054_; - int i_1056_ = ((i_1050_ & 0xff00ff) + (i_1054_ & 0xff00ff)); - i_1054_ = ((i_1056_ & 0x1000100) + (i_1055_ - i_1056_ & 0x10000)); - is_1006_[i_1005_] = i_1055_ - i_1054_ | i_1054_ - (i_1054_ >>> 8); - } - } else if (i_1007_ == 3) { - byte i_1057_ = aByteArray9934[i_1004_]; - int i_1058_ = i_1057_ > 0 ? anIntArray9935[i_1057_] : 0; - int i_1059_ = Class105_Sub3.anInt8480; - int i_1060_ = i_1058_ + i_1059_; - int i_1061_ = (i_1058_ & 0xff00ff) + (i_1059_ & 0xff00ff); - int i_1062_ = ((i_1061_ & 0x1000100) + (i_1060_ - i_1061_ & 0x10000)); - i_1062_ = i_1060_ - i_1062_ | i_1062_ - (i_1062_ >>> 8); - if (i_1058_ == 0 && Class105_Sub3.anInt8477 != 255) { - i_1058_ = i_1062_; - i_1062_ = is_1006_[i_1005_]; - i_1062_ = (((((i_1058_ & 0xff00ff) * Class105_Sub3.anInt8477) + ((i_1062_ & 0xff00ff) * Class105_Sub3.anInt8472)) & ~0xff00ff) + ((((i_1058_ & 0xff00) * Class105_Sub3.anInt8477) + ((i_1062_ & 0xff00) * Class105_Sub3.anInt8472)) & 0xff0000)) >> 8; - } - is_1006_[i_1005_] = i_1062_; - } else if (i_1007_ == 2) { - int i_1063_ = aByteArray9934[i_1004_]; - if (i_1063_ != 0) { - int i_1064_ = anIntArray9935[i_1063_ & 0xff]; - int i_1065_ = (((i_1064_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_1066_ = (((i_1064_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_1064_ = (((i_1065_ | i_1066_) >>> 8) + Class105_Sub3.anInt8474); - int i_1067_ = is_1006_[i_1005_]; - int i_1068_ = i_1064_ + i_1067_; - int i_1069_ = ((i_1064_ & 0xff00ff) + (i_1067_ & 0xff00ff)); - i_1067_ = ((i_1069_ & 0x1000100) + (i_1068_ - i_1069_ & 0x10000)); - is_1006_[i_1005_] = i_1068_ - i_1067_ | i_1067_ - (i_1067_ >>> 8); - } - } - } else throw new IllegalArgumentException(); - i_999_ += Class105_Sub3.anInt8481; - i_1000_ += Class105_Sub3.anInt8450; - } - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } - } - - final void method963(int i, int i_1070_, aa var_aa, int i_1071_, int i_1072_) { - if (this.aHa_Sub1_8460.method3716()) throw new IllegalStateException(); - i += this.anInt8461; - i_1070_ += this.anInt8464; - int i_1073_ = 0; - int i_1074_ = this.aHa_Sub1_8460.anInt7477; - int i_1075_ = this.anInt8471; - int i_1076_ = this.anInt8470; - int i_1077_ = i_1074_ - i_1075_; - int i_1078_ = 0; - int i_1079_ = i + i_1070_ * i_1074_; - if (i_1070_ < this.aHa_Sub1_8460.anInt7476) { - int i_1080_ = (this.aHa_Sub1_8460.anInt7476 - i_1070_); - i_1076_ -= i_1080_; - i_1070_ = this.aHa_Sub1_8460.anInt7476; - i_1073_ += i_1080_ * i_1075_; - i_1079_ += i_1080_ * i_1074_; - } - if (i_1070_ + i_1076_ > this.aHa_Sub1_8460.anInt7503) i_1076_ -= i_1070_ + i_1076_ - this.aHa_Sub1_8460.anInt7503; - if (i < this.aHa_Sub1_8460.anInt7496) { - int i_1081_ = (this.aHa_Sub1_8460.anInt7496 - i); - i_1075_ -= i_1081_; - i = this.aHa_Sub1_8460.anInt7496; - i_1073_ += i_1081_; - i_1079_ += i_1081_; - i_1078_ += i_1081_; - i_1077_ += i_1081_; - } - if (i + i_1075_ > this.aHa_Sub1_8460.anInt7507) { - int i_1082_ = (i + i_1075_ - (this.aHa_Sub1_8460.anInt7507)); - i_1075_ -= i_1082_; - i_1078_ += i_1082_; - i_1077_ += i_1082_; - } - if (i_1075_ > 0 && i_1076_ > 0) { - aa_Sub3 var_aa_Sub3 = (aa_Sub3) var_aa; - int[] is = var_aa_Sub3.anIntArray5201; - int[] is_1083_ = var_aa_Sub3.anIntArray5202; - int[] is_1084_ = (this.aHa_Sub1_8460.anIntArray7483); - int i_1085_ = i_1070_; - if (i_1072_ > i_1085_) { - i_1085_ = i_1072_; - i_1079_ += (i_1072_ - i_1070_) * i_1074_; - i_1073_ += (i_1072_ - i_1070_) * this.anInt8471; - } - int i_1086_ = (Math.min(i_1072_ + is.length, i_1070_ + i_1076_)); - for (int i_1087_ = i_1085_; i_1087_ < i_1086_; i_1087_++) { - int i_1088_ = is[i_1087_ - i_1072_] + i_1071_; - int i_1089_ = is_1083_[i_1087_ - i_1072_]; - int i_1090_ = i_1075_; - if (i > i_1088_) { - int i_1091_ = i - i_1088_; - if (i_1091_ >= i_1089_) { - i_1073_ += i_1075_ + i_1078_; - i_1079_ += i_1075_ + i_1077_; - continue; - } - i_1089_ -= i_1091_; - } else { - int i_1092_ = i_1088_ - i; - if (i_1092_ >= i_1075_) { - i_1073_ += i_1075_ + i_1078_; - i_1079_ += i_1075_ + i_1077_; - continue; - } - i_1073_ += i_1092_; - i_1090_ -= i_1092_; - i_1079_ += i_1092_; - } - int i_1093_ = 0; - if (i_1090_ < i_1089_) i_1089_ = i_1090_; - else i_1093_ = i_1090_ - i_1089_; - for (int i_1094_ = -i_1089_; i_1094_ < 0; i_1094_++) { - int i_1095_ = aByteArray9934[i_1073_++]; - if (i_1095_ != 0) is_1084_[i_1079_++] = anIntArray9935[i_1095_ & 0xff]; - else i_1079_++; - } - i_1073_ += i_1093_ + i_1078_; - i_1079_ += i_1093_ + i_1077_; - } - } - } - - final void method964(int i, int i_1096_, int i_1097_, int i_1098_, int i_1099_) { - if (this.aHa_Sub1_8460.method3716()) throw new IllegalStateException(); - int i_1100_ = this.aHa_Sub1_8460.anInt7477; - i += this.anInt8461; - i_1096_ += this.anInt8464; - int i_1101_ = i_1096_ * i_1100_ + i; - int i_1102_ = 0; - int i_1103_ = this.anInt8470; - int i_1104_ = this.anInt8471; - int i_1105_ = i_1100_ - i_1104_; - int i_1106_ = 0; - if (i_1096_ < this.aHa_Sub1_8460.anInt7476) { - int i_1107_ = (this.aHa_Sub1_8460.anInt7476 - i_1096_); - i_1103_ -= i_1107_; - i_1096_ = this.aHa_Sub1_8460.anInt7476; - i_1102_ += i_1107_ * i_1104_; - i_1101_ += i_1107_ * i_1100_; - } - if (i_1096_ + i_1103_ > this.aHa_Sub1_8460.anInt7503) i_1103_ -= i_1096_ + i_1103_ - this.aHa_Sub1_8460.anInt7503; - if (i < this.aHa_Sub1_8460.anInt7496) { - int i_1108_ = (this.aHa_Sub1_8460.anInt7496 - i); - i_1104_ -= i_1108_; - i = this.aHa_Sub1_8460.anInt7496; - i_1102_ += i_1108_; - i_1101_ += i_1108_; - i_1106_ += i_1108_; - i_1105_ += i_1108_; - } - if (i + i_1104_ > this.aHa_Sub1_8460.anInt7507) { - int i_1109_ = (i + i_1104_ - (this.aHa_Sub1_8460.anInt7507)); - i_1104_ -= i_1109_; - i_1106_ += i_1109_; - i_1105_ += i_1109_; - } - if (i_1104_ > 0 && i_1103_ > 0) { - int[] is = (this.aHa_Sub1_8460.anIntArray7483); - if (i_1099_ == 0) { - if (i_1097_ == 1) { - for (int i_1110_ = -i_1103_; i_1110_ < 0; i_1110_++) { - int i_1111_ = i_1101_ + i_1104_ - 3; - while (i_1101_ < i_1111_) { - is[i_1101_++] = (anIntArray9935[aByteArray9934[i_1102_++] & 0xff]); - is[i_1101_++] = (anIntArray9935[aByteArray9934[i_1102_++] & 0xff]); - is[i_1101_++] = (anIntArray9935[aByteArray9934[i_1102_++] & 0xff]); - is[i_1101_++] = (anIntArray9935[aByteArray9934[i_1102_++] & 0xff]); - } - i_1111_ += 3; - while (i_1101_ < i_1111_) is[i_1101_++] = (anIntArray9935[aByteArray9934[i_1102_++] & 0xff]); - i_1101_ += i_1105_; - i_1102_ += i_1106_; - } - return; - } - if (i_1097_ == 0) { - int i_1112_ = (i_1098_ & 0xff0000) >> 16; - int i_1113_ = (i_1098_ & 0xff00) >> 8; - int i_1114_ = i_1098_ & 0xff; - for (int i_1115_ = -i_1103_; i_1115_ < 0; i_1115_++) { - for (int i_1116_ = -i_1104_; i_1116_ < 0; i_1116_++) { - int i_1117_ = (anIntArray9935[aByteArray9934[i_1102_++] & 0xff]); - int i_1118_ = (i_1117_ & 0xff0000) * i_1112_ & ~0xffffff; - int i_1119_ = (i_1117_ & 0xff00) * i_1113_ & 0xff0000; - int i_1120_ = (i_1117_ & 0xff) * i_1114_ & 0xff00; - is[i_1101_++] = (i_1118_ | i_1119_ | i_1120_) >>> 8; - } - i_1101_ += i_1105_; - i_1102_ += i_1106_; - } - return; - } - if (i_1097_ == 3) { - for (int i_1121_ = -i_1103_; i_1121_ < 0; i_1121_++) { - for (int i_1122_ = -i_1104_; i_1122_ < 0; i_1122_++) { - int i_1123_ = (anIntArray9935[aByteArray9934[i_1102_++] & 0xff]); - int i_1124_ = i_1123_ + i_1098_; - int i_1125_ = (i_1123_ & 0xff00ff) + (i_1098_ & 0xff00ff); - int i_1126_ = ((i_1125_ & 0x1000100) + (i_1124_ - i_1125_ & 0x10000)); - is[i_1101_++] = i_1124_ - i_1126_ | i_1126_ - (i_1126_ >>> 8); - } - i_1101_ += i_1105_; - i_1102_ += i_1106_; - } - return; - } - if (i_1097_ == 2) { - int i_1127_ = i_1098_ >>> 24; - int i_1128_ = 256 - i_1127_; - int i_1129_ = (i_1098_ & 0xff00ff) * i_1128_ & ~0xff00ff; - int i_1130_ = (i_1098_ & 0xff00) * i_1128_ & 0xff0000; - i_1098_ = (i_1129_ | i_1130_) >>> 8; - for (int i_1131_ = -i_1103_; i_1131_ < 0; i_1131_++) { - for (int i_1132_ = -i_1104_; i_1132_ < 0; i_1132_++) { - int i_1133_ = (anIntArray9935[aByteArray9934[i_1102_++] & 0xff]); - i_1129_ = (i_1133_ & 0xff00ff) * i_1127_ & ~0xff00ff; - i_1130_ = (i_1133_ & 0xff00) * i_1127_ & 0xff0000; - is[i_1101_++] = ((i_1129_ | i_1130_) >>> 8) + i_1098_; - } - i_1101_ += i_1105_; - i_1102_ += i_1106_; - } - return; - } - throw new IllegalArgumentException(); - } - if (i_1099_ == 1) { - if (i_1097_ == 1) { - for (int i_1134_ = -i_1103_; i_1134_ < 0; i_1134_++) { - for (int i_1135_ = -i_1104_; i_1135_ < 0; i_1135_++) { - int i_1136_ = aByteArray9934[i_1102_++]; - if (i_1136_ != 0) { - int i_1137_ = (anIntArray9935[i_1136_ & 0xff] | ~0xffffff); - int i_1138_ = 255; - int i_1139_ = 0; - int i_1140_ = is[i_1101_]; - is[i_1101_++] = (((((i_1137_ & 0xff00ff) * i_1138_ + (i_1140_ & 0xff00ff) * i_1139_) & ~0xff00ff) >> 8) + (((((i_1137_ & ~0xff00ff) >>> 8) * i_1138_) + (((i_1140_ & ~0xff00ff) >>> 8) * i_1139_)) & ~0xff00ff)); - } else i_1101_++; - } - i_1101_ += i_1105_; - i_1102_ += i_1106_; - } - return; - } - if (i_1097_ == 0) { - if ((i_1098_ & 0xffffff) == 16777215) { - int i_1141_ = i_1098_ >>> 24; - int i_1142_ = 256 - i_1141_; - for (int i_1143_ = -i_1103_; i_1143_ < 0; i_1143_++) { - for (int i_1144_ = -i_1104_; i_1144_ < 0; i_1144_++) { - int i_1145_ = aByteArray9934[i_1102_++]; - if (i_1145_ != 0) { - int i_1146_ = anIntArray9935[i_1145_ & 0xff]; - int i_1147_ = is[i_1101_]; - is[i_1101_++] = ((((i_1146_ & 0xff00ff) * i_1141_ + (i_1147_ & 0xff00ff) * i_1142_) & ~0xff00ff) + (((i_1146_ & 0xff00) * i_1141_ + (i_1147_ & 0xff00) * i_1142_) & 0xff0000)) >> 8; - } else i_1101_++; - } - i_1101_ += i_1105_; - i_1102_ += i_1106_; - } - } else { - int i_1148_ = (i_1098_ & 0xff0000) >> 16; - int i_1149_ = (i_1098_ & 0xff00) >> 8; - int i_1150_ = i_1098_ & 0xff; - int i_1151_ = i_1098_ >>> 24; - int i_1152_ = 256 - i_1151_; - for (int i_1153_ = -i_1103_; i_1153_ < 0; i_1153_++) { - for (int i_1154_ = -i_1104_; i_1154_ < 0; i_1154_++) { - int i_1155_ = aByteArray9934[i_1102_++]; - if (i_1155_ != 0) { - int i_1156_ = anIntArray9935[i_1155_ & 0xff]; - if (i_1151_ == 255) { - int i_1161_ = ((i_1156_ & 0xff0000) * i_1148_ & ~0xffffff); - int i_1162_ = ((i_1156_ & 0xff00) * i_1149_ & 0xff0000); - int i_1163_ = ((i_1156_ & 0xff) * i_1150_ & 0xff00); - is[i_1101_++] = (i_1161_ | i_1162_ | i_1163_) >>> 8; - } else { - int i_1157_ = ((i_1156_ & 0xff0000) * i_1148_ & ~0xffffff); - int i_1158_ = ((i_1156_ & 0xff00) * i_1149_ & 0xff0000); - int i_1159_ = ((i_1156_ & 0xff) * i_1150_ & 0xff00); - i_1156_ = (i_1157_ | i_1158_ | i_1159_) >>> 8; - int i_1160_ = is[i_1101_]; - is[i_1101_++] = ((((i_1156_ & 0xff00ff) * i_1151_ + ((i_1160_ & 0xff00ff) * i_1152_)) & ~0xff00ff) + (((i_1156_ & 0xff00) * i_1151_ + ((i_1160_ & 0xff00) * i_1152_)) & 0xff0000)) >> 8; - } - } else i_1101_++; - } - i_1101_ += i_1105_; - i_1102_ += i_1106_; - } - return; - } - return; - } - if (i_1097_ == 3) { - int i_1164_ = i_1098_ >>> 24; - int i_1165_ = 256 - i_1164_; - for (int i_1166_ = -i_1103_; i_1166_ < 0; i_1166_++) { - for (int i_1167_ = -i_1104_; i_1167_ < 0; i_1167_++) { - byte i_1168_ = aByteArray9934[i_1102_++]; - int i_1169_ = i_1168_ > 0 ? anIntArray9935[i_1168_] : 0; - int i_1170_ = i_1169_ + i_1098_; - int i_1171_ = (i_1169_ & 0xff00ff) + (i_1098_ & 0xff00ff); - int i_1172_ = ((i_1171_ & 0x1000100) + (i_1170_ - i_1171_ & 0x10000)); - i_1172_ = i_1170_ - i_1172_ | i_1172_ - (i_1172_ >>> 8); - if (i_1169_ == 0 && i_1164_ != 255) { - i_1169_ = i_1172_; - i_1172_ = is[i_1101_]; - i_1172_ = ((((i_1169_ & 0xff00ff) * i_1164_ + (i_1172_ & 0xff00ff) * i_1165_) & ~0xff00ff) + (((i_1169_ & 0xff00) * i_1164_ + (i_1172_ & 0xff00) * i_1165_) & 0xff0000)) >> 8; - } - is[i_1101_++] = i_1172_; - } - i_1101_ += i_1105_; - i_1102_ += i_1106_; - } - return; - } - if (i_1097_ == 2) { - int i_1173_ = i_1098_ >>> 24; - int i_1174_ = 256 - i_1173_; - int i_1175_ = (i_1098_ & 0xff00ff) * i_1174_ & ~0xff00ff; - int i_1176_ = (i_1098_ & 0xff00) * i_1174_ & 0xff0000; - i_1098_ = (i_1175_ | i_1176_) >>> 8; - for (int i_1177_ = -i_1103_; i_1177_ < 0; i_1177_++) { - for (int i_1178_ = -i_1104_; i_1178_ < 0; i_1178_++) { - int i_1179_ = aByteArray9934[i_1102_++]; - if (i_1179_ != 0) { - int i_1180_ = anIntArray9935[i_1179_ & 0xff]; - i_1175_ = ((i_1180_ & 0xff00ff) * i_1173_ & ~0xff00ff); - i_1176_ = (i_1180_ & 0xff00) * i_1173_ & 0xff0000; - is[i_1101_++] = ((i_1175_ | i_1176_) >>> 8) + i_1098_; - } else i_1101_++; - } - i_1101_ += i_1105_; - i_1102_ += i_1106_; - } - return; - } - throw new IllegalArgumentException(); - } - if (i_1099_ == 2) { - if (i_1097_ == 1) { - for (int i_1181_ = -i_1103_; i_1181_ < 0; i_1181_++) { - for (int i_1182_ = -i_1104_; i_1182_ < 0; i_1182_++) { - int i_1183_ = aByteArray9934[i_1102_++]; - if (i_1183_ != 0) { - int i_1184_ = anIntArray9935[i_1183_ & 0xff]; - int i_1185_ = is[i_1101_]; - int i_1186_ = i_1184_ + i_1185_; - int i_1187_ = ((i_1184_ & 0xff00ff) + (i_1185_ & 0xff00ff)); - i_1185_ = ((i_1187_ & 0x1000100) + (i_1186_ - i_1187_ & 0x10000)); - is[i_1101_++] = i_1186_ - i_1185_ | i_1185_ - (i_1185_ >>> 8); - } else i_1101_++; - } - i_1101_ += i_1105_; - i_1102_ += i_1106_; - } - return; - } - if (i_1097_ == 0) { - int i_1188_ = (i_1098_ & 0xff0000) >> 16; - int i_1189_ = (i_1098_ & 0xff00) >> 8; - int i_1190_ = i_1098_ & 0xff; - for (int i_1191_ = -i_1103_; i_1191_ < 0; i_1191_++) { - for (int i_1192_ = -i_1104_; i_1192_ < 0; i_1192_++) { - int i_1193_ = aByteArray9934[i_1102_++]; - if (i_1193_ != 0) { - int i_1194_ = anIntArray9935[i_1193_ & 0xff]; - int i_1195_ = ((i_1194_ & 0xff0000) * i_1188_ & ~0xffffff); - int i_1196_ = (i_1194_ & 0xff00) * i_1189_ & 0xff0000; - int i_1197_ = (i_1194_ & 0xff) * i_1190_ & 0xff00; - i_1194_ = (i_1195_ | i_1196_ | i_1197_) >>> 8; - int i_1198_ = is[i_1101_]; - int i_1199_ = i_1194_ + i_1198_; - int i_1200_ = ((i_1194_ & 0xff00ff) + (i_1198_ & 0xff00ff)); - i_1198_ = ((i_1200_ & 0x1000100) + (i_1199_ - i_1200_ & 0x10000)); - is[i_1101_++] = i_1199_ - i_1198_ | i_1198_ - (i_1198_ >>> 8); - } else i_1101_++; - } - i_1101_ += i_1105_; - i_1102_ += i_1106_; - } - return; - } - if (i_1097_ == 3) { - for (int i_1201_ = -i_1103_; i_1201_ < 0; i_1201_++) { - for (int i_1202_ = -i_1104_; i_1202_ < 0; i_1202_++) { - byte i_1203_ = aByteArray9934[i_1102_++]; - int i_1204_ = i_1203_ > 0 ? anIntArray9935[i_1203_] : 0; - int i_1205_ = i_1204_ + i_1098_; - int i_1206_ = (i_1204_ & 0xff00ff) + (i_1098_ & 0xff00ff); - int i_1207_ = ((i_1206_ & 0x1000100) + (i_1205_ - i_1206_ & 0x10000)); - i_1204_ = i_1205_ - i_1207_ | i_1207_ - (i_1207_ >>> 8); - i_1207_ = is[i_1101_]; - i_1205_ = i_1204_ + i_1207_; - i_1206_ = (i_1204_ & 0xff00ff) + (i_1207_ & 0xff00ff); - i_1207_ = (i_1206_ & 0x1000100) + (i_1205_ - i_1206_ & 0x10000); - is[i_1101_++] = i_1205_ - i_1207_ | i_1207_ - (i_1207_ >>> 8); - } - i_1101_ += i_1105_; - i_1102_ += i_1106_; - } - return; - } - if (i_1097_ == 2) { - int i_1208_ = i_1098_ >>> 24; - int i_1209_ = 256 - i_1208_; - int i_1210_ = (i_1098_ & 0xff00ff) * i_1209_ & ~0xff00ff; - int i_1211_ = (i_1098_ & 0xff00) * i_1209_ & 0xff0000; - i_1098_ = (i_1210_ | i_1211_) >>> 8; - for (int i_1212_ = -i_1103_; i_1212_ < 0; i_1212_++) { - for (int i_1213_ = -i_1104_; i_1213_ < 0; i_1213_++) { - int i_1214_ = aByteArray9934[i_1102_++]; - if (i_1214_ != 0) { - int i_1215_ = anIntArray9935[i_1214_ & 0xff]; - i_1210_ = ((i_1215_ & 0xff00ff) * i_1208_ & ~0xff00ff); - i_1211_ = (i_1215_ & 0xff00) * i_1208_ & 0xff0000; - i_1215_ = ((i_1210_ | i_1211_) >>> 8) + i_1098_; - int i_1216_ = is[i_1101_]; - int i_1217_ = i_1215_ + i_1216_; - int i_1218_ = ((i_1215_ & 0xff00ff) + (i_1216_ & 0xff00ff)); - i_1216_ = ((i_1218_ & 0x1000100) + (i_1217_ - i_1218_ & 0x10000)); - is[i_1101_++] = i_1217_ - i_1216_ | i_1216_ - (i_1216_ >>> 8); - } else i_1101_++; - } - i_1101_ += i_1105_; - i_1102_ += i_1106_; - } - return; - } - throw new IllegalArgumentException(); - } - throw new IllegalArgumentException(); - } - } -} diff --git a/client/src/Class105_Sub3_Sub3.java b/client/src/Class105_Sub3_Sub3.java deleted file mode 100644 index 605a2c421..000000000 --- a/client/src/Class105_Sub3_Sub3.java +++ /dev/null @@ -1,2979 +0,0 @@ -/* Class105_Sub3_Sub3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class105_Sub3_Sub3 extends Class105_Sub3 { - int[] anIntArray9936; - - Class105_Sub3_Sub3(ha_Sub1 var_ha_Sub1, int[] is, int i, int i_0_) { - super(var_ha_Sub1, i, i_0_); - this.anIntArray9936 = is; - } - - Class105_Sub3_Sub3(ha_Sub1 var_ha_Sub1, int[] is, int i, int i_1_, int i_2_, int i_3_, boolean bool) { - super(var_ha_Sub1, i_2_, i_3_); - if (bool) this.anIntArray9936 = new int[i_2_ * i_3_]; - else this.anIntArray9936 = is; - i_1_ -= this.anInt8471; - int i_4_ = 0; - for (int i_5_ = 0; i_5_ < i_3_; i_5_++) { - for (int i_6_ = 0; i_6_ < i_2_; i_6_++) - this.anIntArray9936[i_4_++] = is[i++]; - i += i_1_; - } - } - - final void method995(int[] is, int[] is_7_, int i, int i_8_) { - int[] is_9_ = this.aHa_Sub1_8460.anIntArray7483; - if (Class105_Sub3.anInt8481 == 0) { - if (Class105_Sub3.anInt8450 == 0) { - int i_10_ = Class105_Sub3.anInt8468; - while (i_10_ < 0) { - int i_11_ = i_10_ + i_8_; - if (i_11_ >= 0) { - if (i_11_ >= is.length) break; - int i_12_ = Class105_Sub3.anInt8451; - int i_13_ = Class105_Sub3.anInt8458; - int i_14_ = Class105_Sub3.anInt8467; - int i_15_ = Class105_Sub3.anInt8478; - if (i_13_ >= 0 && i_14_ >= 0 && i_13_ - (this.anInt8471 << 12) < 0 && i_14_ - (this.anInt8470 << 12) < 0) { - int i_16_ = is[i_11_] - i; - int i_17_ = -is_7_[i_11_]; - int i_18_ = i_16_ - (i_12_ - Class105_Sub3.anInt8451); - if (i_18_ > 0) { - i_12_ += i_18_; - i_15_ += i_18_; - i_13_ += Class105_Sub3.anInt8481 * i_18_; - i_14_ += Class105_Sub3.anInt8450 * i_18_; - } else i_17_ -= i_18_; - if (i_15_ < i_17_) i_15_ = i_17_; - for (/**/; i_15_ < 0; i_15_++) { - int i_19_ = (this.anIntArray9936[(((i_14_ >> 12) * this.anInt8471) + (i_13_ >> 12))]); - int i_20_ = i_19_ >>> 24; - int i_21_ = 256 - i_20_; - int i_22_ = is_9_[i_12_]; - is_9_[i_12_++] = ((((i_19_ & 0xff00ff) * i_20_ + (i_22_ & 0xff00ff) * i_21_) & ~0xff00ff) + (((i_19_ & 0xff00) * i_20_ + (i_22_ & 0xff00) * i_21_) & 0xff0000)) >> 8; - } - } - } - i_10_++; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else if (Class105_Sub3.anInt8450 < 0) { - int i_23_ = Class105_Sub3.anInt8468; - while (i_23_ < 0) { - int i_24_ = i_23_ + i_8_; - if (i_24_ >= 0) { - if (i_24_ >= is.length) break; - int i_25_ = Class105_Sub3.anInt8451; - int i_26_ = Class105_Sub3.anInt8458; - int i_27_ = (Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475); - int i_28_ = Class105_Sub3.anInt8478; - if (i_26_ >= 0 && i_26_ - (this.anInt8471 << 12) < 0) { - int i_29_; - if ((i_29_ = i_27_ - (this.anInt8470 << 12)) >= 0) { - i_29_ = ((Class105_Sub3.anInt8450 - i_29_) / Class105_Sub3.anInt8450); - i_28_ += i_29_; - i_27_ += Class105_Sub3.anInt8450 * i_29_; - i_25_ += i_29_; - } - if ((i_29_ = ((i_27_ - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_28_) i_28_ = i_29_; - int i_30_ = is[i_24_] - i; - int i_31_ = -is_7_[i_24_]; - int i_32_ = i_30_ - (i_25_ - Class105_Sub3.anInt8451); - if (i_32_ > 0) { - i_25_ += i_32_; - i_28_ += i_32_; - i_26_ += Class105_Sub3.anInt8481 * i_32_; - i_27_ += Class105_Sub3.anInt8450 * i_32_; - } else i_31_ -= i_32_; - if (i_28_ < i_31_) i_28_ = i_31_; - for (/**/; i_28_ < 0; i_28_++) { - int i_33_ = (this.anIntArray9936[(((i_27_ >> 12) * this.anInt8471) + (i_26_ >> 12))]); - int i_34_ = i_33_ >>> 24; - int i_35_ = 256 - i_34_; - int i_36_ = is_9_[i_25_]; - is_9_[i_25_++] = ((((i_33_ & 0xff00ff) * i_34_ + (i_36_ & 0xff00ff) * i_35_) & ~0xff00ff) + (((i_33_ & 0xff00) * i_34_ + (i_36_ & 0xff00) * i_35_) & 0xff0000)) >> 8; - i_27_ += Class105_Sub3.anInt8450; - } - } - } - i_23_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else { - int i_37_ = Class105_Sub3.anInt8468; - while (i_37_ < 0) { - int i_38_ = i_37_ + i_8_; - if (i_38_ >= 0) { - if (i_38_ >= is.length) break; - int i_39_ = Class105_Sub3.anInt8451; - int i_40_ = Class105_Sub3.anInt8458; - int i_41_ = (Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475); - int i_42_ = Class105_Sub3.anInt8478; - if (i_40_ >= 0 && i_40_ - (this.anInt8471 << 12) < 0) { - if (i_41_ < 0) { - int i_43_ = ((Class105_Sub3.anInt8450 - 1 - i_41_) / Class105_Sub3.anInt8450); - i_42_ += i_43_; - i_41_ += Class105_Sub3.anInt8450 * i_43_; - i_39_ += i_43_; - } - int i_44_; - if ((i_44_ = ((1 + i_41_ - (this.anInt8470 << 12) - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_42_) i_42_ = i_44_; - int i_45_ = is[i_38_] - i; - int i_46_ = -is_7_[i_38_]; - int i_47_ = i_45_ - (i_39_ - Class105_Sub3.anInt8451); - if (i_47_ > 0) { - i_39_ += i_47_; - i_42_ += i_47_; - i_40_ += Class105_Sub3.anInt8481 * i_47_; - i_41_ += Class105_Sub3.anInt8450 * i_47_; - } else i_46_ -= i_47_; - if (i_42_ < i_46_) i_42_ = i_46_; - for (/**/; i_42_ < 0; i_42_++) { - int i_48_ = (this.anIntArray9936[(((i_41_ >> 12) * this.anInt8471) + (i_40_ >> 12))]); - int i_49_ = i_48_ >>> 24; - int i_50_ = 256 - i_49_; - int i_51_ = is_9_[i_39_]; - is_9_[i_39_++] = ((((i_48_ & 0xff00ff) * i_49_ + (i_51_ & 0xff00ff) * i_50_) & ~0xff00ff) + (((i_48_ & 0xff00) * i_49_ + (i_51_ & 0xff00) * i_50_) & 0xff0000)) >> 8; - i_41_ += Class105_Sub3.anInt8450; - } - } - } - i_37_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } - } else if (Class105_Sub3.anInt8481 < 0) { - if (Class105_Sub3.anInt8450 == 0) { - int i_52_ = Class105_Sub3.anInt8468; - while (i_52_ < 0) { - int i_53_ = i_52_ + i_8_; - if (i_53_ >= 0) { - if (i_53_ >= is.length) break; - int i_54_ = Class105_Sub3.anInt8451; - int i_55_ = (Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479); - int i_56_ = Class105_Sub3.anInt8467; - int i_57_ = Class105_Sub3.anInt8478; - if (i_56_ >= 0 && i_56_ - (this.anInt8470 << 12) < 0) { - int i_58_; - if ((i_58_ = i_55_ - (this.anInt8471 << 12)) >= 0) { - i_58_ = ((Class105_Sub3.anInt8481 - i_58_) / Class105_Sub3.anInt8481); - i_57_ += i_58_; - i_55_ += Class105_Sub3.anInt8481 * i_58_; - i_54_ += i_58_; - } - if ((i_58_ = ((i_55_ - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_57_) i_57_ = i_58_; - int i_59_ = is[i_53_] - i; - int i_60_ = -is_7_[i_53_]; - int i_61_ = i_59_ - (i_54_ - Class105_Sub3.anInt8451); - if (i_61_ > 0) { - i_54_ += i_61_; - i_57_ += i_61_; - i_55_ += Class105_Sub3.anInt8481 * i_61_; - i_56_ += Class105_Sub3.anInt8450 * i_61_; - } else i_60_ -= i_61_; - if (i_57_ < i_60_) i_57_ = i_60_; - for (/**/; i_57_ < 0; i_57_++) { - int i_62_ = (this.anIntArray9936[(((i_56_ >> 12) * this.anInt8471) + (i_55_ >> 12))]); - int i_63_ = i_62_ >>> 24; - int i_64_ = 256 - i_63_; - int i_65_ = is_9_[i_54_]; - is_9_[i_54_++] = ((((i_62_ & 0xff00ff) * i_63_ + (i_65_ & 0xff00ff) * i_64_) & ~0xff00ff) + (((i_62_ & 0xff00) * i_63_ + (i_65_ & 0xff00) * i_64_) & 0xff0000)) >> 8; - i_55_ += Class105_Sub3.anInt8481; - } - } - } - i_52_++; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else if (Class105_Sub3.anInt8450 < 0) { - int i_66_ = Class105_Sub3.anInt8468; - while (i_66_ < 0) { - int i_67_ = i_66_ + i_8_; - if (i_67_ >= 0) { - if (i_67_ >= is.length) break; - int i_68_ = Class105_Sub3.anInt8451; - int i_69_ = (Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479); - int i_70_ = (Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475); - int i_71_ = Class105_Sub3.anInt8478; - int i_72_; - if ((i_72_ = i_69_ - (this.anInt8471 << 12)) >= 0) { - i_72_ = ((Class105_Sub3.anInt8481 - i_72_) / Class105_Sub3.anInt8481); - i_71_ += i_72_; - i_69_ += Class105_Sub3.anInt8481 * i_72_; - i_70_ += Class105_Sub3.anInt8450 * i_72_; - i_68_ += i_72_; - } - if ((i_72_ = ((i_69_ - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_71_) i_71_ = i_72_; - if ((i_72_ = i_70_ - (this.anInt8470 << 12)) >= 0) { - i_72_ = ((Class105_Sub3.anInt8450 - i_72_) / Class105_Sub3.anInt8450); - i_71_ += i_72_; - i_69_ += Class105_Sub3.anInt8481 * i_72_; - i_70_ += Class105_Sub3.anInt8450 * i_72_; - i_68_ += i_72_; - } - if ((i_72_ = ((i_70_ - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_71_) i_71_ = i_72_; - int i_73_ = is[i_67_] - i; - int i_74_ = -is_7_[i_67_]; - int i_75_ = i_73_ - (i_68_ - Class105_Sub3.anInt8451); - if (i_75_ > 0) { - i_68_ += i_75_; - i_71_ += i_75_; - i_69_ += Class105_Sub3.anInt8481 * i_75_; - i_70_ += Class105_Sub3.anInt8450 * i_75_; - } else i_74_ -= i_75_; - if (i_71_ < i_74_) i_71_ = i_74_; - for (/**/; i_71_ < 0; i_71_++) { - int i_76_ = (this.anIntArray9936[(((i_70_ >> 12) * this.anInt8471) + (i_69_ >> 12))]); - int i_77_ = i_76_ >>> 24; - int i_78_ = 256 - i_77_; - int i_79_ = is_9_[i_68_]; - is_9_[i_68_++] = ((((i_76_ & 0xff00ff) * i_77_ + (i_79_ & 0xff00ff) * i_78_) & ~0xff00ff) + (((i_76_ & 0xff00) * i_77_ + (i_79_ & 0xff00) * i_78_) & 0xff0000)) >> 8; - i_69_ += Class105_Sub3.anInt8481; - i_70_ += Class105_Sub3.anInt8450; - } - } - i_66_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else { - int i_80_ = Class105_Sub3.anInt8468; - while (i_80_ < 0) { - int i_81_ = i_80_ + i_8_; - if (i_81_ >= 0) { - if (i_81_ >= is.length) break; - int i_82_ = Class105_Sub3.anInt8451; - int i_83_ = (Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479); - int i_84_ = (Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475); - int i_85_ = Class105_Sub3.anInt8478; - int i_86_; - if ((i_86_ = i_83_ - (this.anInt8471 << 12)) >= 0) { - i_86_ = ((Class105_Sub3.anInt8481 - i_86_) / Class105_Sub3.anInt8481); - i_85_ += i_86_; - i_83_ += Class105_Sub3.anInt8481 * i_86_; - i_84_ += Class105_Sub3.anInt8450 * i_86_; - i_82_ += i_86_; - } - if ((i_86_ = ((i_83_ - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_85_) i_85_ = i_86_; - if (i_84_ < 0) { - i_86_ = ((Class105_Sub3.anInt8450 - 1 - i_84_) / Class105_Sub3.anInt8450); - i_85_ += i_86_; - i_83_ += Class105_Sub3.anInt8481 * i_86_; - i_84_ += Class105_Sub3.anInt8450 * i_86_; - i_82_ += i_86_; - } - if ((i_86_ = ((1 + i_84_ - (this.anInt8470 << 12) - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_85_) i_85_ = i_86_; - int i_87_ = is[i_81_] - i; - int i_88_ = -is_7_[i_81_]; - int i_89_ = i_87_ - (i_82_ - Class105_Sub3.anInt8451); - if (i_89_ > 0) { - i_82_ += i_89_; - i_85_ += i_89_; - i_83_ += Class105_Sub3.anInt8481 * i_89_; - i_84_ += Class105_Sub3.anInt8450 * i_89_; - } else i_88_ -= i_89_; - if (i_85_ < i_88_) i_85_ = i_88_; - for (/**/; i_85_ < 0; i_85_++) { - int i_90_ = (this.anIntArray9936[(((i_84_ >> 12) * this.anInt8471) + (i_83_ >> 12))]); - int i_91_ = i_90_ >>> 24; - int i_92_ = 256 - i_91_; - int i_93_ = is_9_[i_82_]; - is_9_[i_82_++] = ((((i_90_ & 0xff00ff) * i_91_ + (i_93_ & 0xff00ff) * i_92_) & ~0xff00ff) + (((i_90_ & 0xff00) * i_91_ + (i_93_ & 0xff00) * i_92_) & 0xff0000)) >> 8; - i_83_ += Class105_Sub3.anInt8481; - i_84_ += Class105_Sub3.anInt8450; - } - } - i_80_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } - } else if (Class105_Sub3.anInt8450 == 0) { - int i_94_ = Class105_Sub3.anInt8468; - while (i_94_ < 0) { - int i_95_ = i_94_ + i_8_; - if (i_95_ >= 0) { - if (i_95_ >= is.length) break; - int i_96_ = Class105_Sub3.anInt8451; - int i_97_ = Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479; - int i_98_ = Class105_Sub3.anInt8467; - int i_99_ = Class105_Sub3.anInt8478; - if (i_98_ >= 0 && i_98_ - (this.anInt8470 << 12) < 0) { - if (i_97_ < 0) { - int i_100_ = ((Class105_Sub3.anInt8481 - 1 - i_97_) / Class105_Sub3.anInt8481); - i_99_ += i_100_; - i_97_ += Class105_Sub3.anInt8481 * i_100_; - i_96_ += i_100_; - } - int i_101_; - if ((i_101_ = ((1 + i_97_ - (this.anInt8471 << 12) - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_99_) i_99_ = i_101_; - int i_102_ = is[i_95_] - i; - int i_103_ = -is_7_[i_95_]; - int i_104_ = i_102_ - (i_96_ - Class105_Sub3.anInt8451); - if (i_104_ > 0) { - i_96_ += i_104_; - i_99_ += i_104_; - i_97_ += Class105_Sub3.anInt8481 * i_104_; - i_98_ += Class105_Sub3.anInt8450 * i_104_; - } else i_103_ -= i_104_; - if (i_99_ < i_103_) i_99_ = i_103_; - for (/**/; i_99_ < 0; i_99_++) { - int i_105_ = (this.anIntArray9936[(((i_98_ >> 12) * this.anInt8471) + (i_97_ >> 12))]); - int i_106_ = i_105_ >>> 24; - int i_107_ = 256 - i_106_; - int i_108_ = is_9_[i_96_]; - is_9_[i_96_++] = ((((i_105_ & 0xff00ff) * i_106_ + (i_108_ & 0xff00ff) * i_107_) & ~0xff00ff) + (((i_105_ & 0xff00) * i_106_ + (i_108_ & 0xff00) * i_107_) & 0xff0000)) >> 8; - i_97_ += Class105_Sub3.anInt8481; - } - } - } - i_94_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else if (Class105_Sub3.anInt8450 < 0) { - int i_109_ = Class105_Sub3.anInt8468; - while (i_109_ < 0) { - int i_110_ = i_109_ + i_8_; - if (i_110_ >= 0) { - if (i_110_ >= is.length) break; - int i_111_ = Class105_Sub3.anInt8451; - int i_112_ = Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479; - int i_113_ = Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475; - int i_114_ = Class105_Sub3.anInt8478; - if (i_112_ < 0) { - int i_115_ = ((Class105_Sub3.anInt8481 - 1 - i_112_) / Class105_Sub3.anInt8481); - i_114_ += i_115_; - i_112_ += Class105_Sub3.anInt8481 * i_115_; - i_113_ += Class105_Sub3.anInt8450 * i_115_; - i_111_ += i_115_; - } - int i_116_; - if ((i_116_ = ((1 + i_112_ - (this.anInt8471 << 12) - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_114_) i_114_ = i_116_; - if ((i_116_ = i_113_ - (this.anInt8470 << 12)) >= 0) { - i_116_ = ((Class105_Sub3.anInt8450 - i_116_) / Class105_Sub3.anInt8450); - i_114_ += i_116_; - i_112_ += Class105_Sub3.anInt8481 * i_116_; - i_113_ += Class105_Sub3.anInt8450 * i_116_; - i_111_ += i_116_; - } - if ((i_116_ = ((i_113_ - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_114_) i_114_ = i_116_; - int i_117_ = is[i_110_] - i; - int i_118_ = -is_7_[i_110_]; - int i_119_ = i_117_ - (i_111_ - Class105_Sub3.anInt8451); - if (i_119_ > 0) { - i_111_ += i_119_; - i_114_ += i_119_; - i_112_ += Class105_Sub3.anInt8481 * i_119_; - i_113_ += Class105_Sub3.anInt8450 * i_119_; - } else i_118_ -= i_119_; - if (i_114_ < i_118_) i_114_ = i_118_; - for (/**/; i_114_ < 0; i_114_++) { - int i_120_ = (this.anIntArray9936[(((i_113_ >> 12) * this.anInt8471) + (i_112_ >> 12))]); - int i_121_ = i_120_ >>> 24; - int i_122_ = 256 - i_121_; - int i_123_ = is_9_[i_111_]; - is_9_[i_111_++] = ((((i_120_ & 0xff00ff) * i_121_ + (i_123_ & 0xff00ff) * i_122_) & ~0xff00ff) + (((i_120_ & 0xff00) * i_121_ + (i_123_ & 0xff00) * i_122_) & 0xff0000)) >> 8; - i_112_ += Class105_Sub3.anInt8481; - i_113_ += Class105_Sub3.anInt8450; - } - } - i_109_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else { - int i_124_ = Class105_Sub3.anInt8468; - while (i_124_ < 0) { - int i_125_ = i_124_ + i_8_; - if (i_125_ >= 0) { - if (i_125_ >= is.length) break; - int i_126_ = Class105_Sub3.anInt8451; - int i_127_ = Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479; - int i_128_ = Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475; - int i_129_ = Class105_Sub3.anInt8478; - if (i_127_ < 0) { - int i_130_ = ((Class105_Sub3.anInt8481 - 1 - i_127_) / Class105_Sub3.anInt8481); - i_129_ += i_130_; - i_127_ += Class105_Sub3.anInt8481 * i_130_; - i_128_ += Class105_Sub3.anInt8450 * i_130_; - i_126_ += i_130_; - } - int i_131_; - if ((i_131_ = ((1 + i_127_ - (this.anInt8471 << 12) - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_129_) i_129_ = i_131_; - if (i_128_ < 0) { - i_131_ = ((Class105_Sub3.anInt8450 - 1 - i_128_) / Class105_Sub3.anInt8450); - i_129_ += i_131_; - i_127_ += Class105_Sub3.anInt8481 * i_131_; - i_128_ += Class105_Sub3.anInt8450 * i_131_; - i_126_ += i_131_; - } - if ((i_131_ = ((1 + i_128_ - (this.anInt8470 << 12) - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_129_) i_129_ = i_131_; - int i_132_ = is[i_125_] - i; - int i_133_ = -is_7_[i_125_]; - int i_134_ = i_132_ - (i_126_ - Class105_Sub3.anInt8451); - if (i_134_ > 0) { - i_126_ += i_134_; - i_129_ += i_134_; - i_127_ += Class105_Sub3.anInt8481 * i_134_; - i_128_ += Class105_Sub3.anInt8450 * i_134_; - } else i_133_ -= i_134_; - if (i_129_ < i_133_) i_129_ = i_133_; - for (/**/; i_129_ < 0; i_129_++) { - int i_135_ = (this.anIntArray9936[(((i_128_ >> 12) * this.anInt8471) + (i_127_ >> 12))]); - int i_136_ = i_135_ >>> 24; - int i_137_ = 256 - i_136_; - int i_138_ = is_9_[i_126_]; - is_9_[i_126_++] = ((((i_135_ & 0xff00ff) * i_136_ + (i_138_ & 0xff00ff) * i_137_) & ~0xff00ff) + (((i_135_ & 0xff00) * i_136_ + (i_138_ & 0xff00) * i_137_) & 0xff0000)) >> 8; - i_127_ += Class105_Sub3.anInt8481; - i_128_ += Class105_Sub3.anInt8450; - } - } - i_124_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } - } - - final void method979(int i, int i_139_, int i_140_, int i_141_, int i_142_, int i_143_) { - int[] is = this.aHa_Sub1_8460.anIntArray7483; - for (int i_144_ = 0; i_144_ < i_141_; i_144_++) { - int i_145_ = (i_139_ + i_144_) * i_140_ + i; - int i_146_ = (i_143_ + i_144_) * i_140_ + i_142_; - for (int i_147_ = 0; i_147_ < i_140_; i_147_++) - this.anIntArray9936[i_145_ + i_147_] = is[i_146_ + i_147_] & 0xffffff; - } - } - - final void method964(int i, int i_148_, int i_149_, int i_150_, int i_151_) { - if (this.aHa_Sub1_8460.method3716()) throw new IllegalStateException(); - int i_152_ = this.aHa_Sub1_8460.anInt7477; - i += this.anInt8461; - i_148_ += this.anInt8464; - int i_153_ = i_148_ * i_152_ + i; - int i_154_ = 0; - int i_155_ = this.anInt8470; - int i_156_ = this.anInt8471; - int i_157_ = i_152_ - i_156_; - int i_158_ = 0; - if (i_148_ < this.aHa_Sub1_8460.anInt7476) { - int i_159_ = (this.aHa_Sub1_8460.anInt7476 - i_148_); - i_155_ -= i_159_; - i_148_ = this.aHa_Sub1_8460.anInt7476; - i_154_ += i_159_ * i_156_; - i_153_ += i_159_ * i_152_; - } - if (i_148_ + i_155_ > this.aHa_Sub1_8460.anInt7503) i_155_ -= i_148_ + i_155_ - this.aHa_Sub1_8460.anInt7503; - if (i < this.aHa_Sub1_8460.anInt7496) { - int i_160_ = (this.aHa_Sub1_8460.anInt7496 - i); - i_156_ -= i_160_; - i = this.aHa_Sub1_8460.anInt7496; - i_154_ += i_160_; - i_153_ += i_160_; - i_158_ += i_160_; - i_157_ += i_160_; - } - if (i + i_156_ > this.aHa_Sub1_8460.anInt7507) { - int i_161_ = (i + i_156_ - (this.aHa_Sub1_8460.anInt7507)); - i_156_ -= i_161_; - i_158_ += i_161_; - i_157_ += i_161_; - } - if (i_156_ > 0 && i_155_ > 0) { - int[] is = (this.aHa_Sub1_8460.anIntArray7483); - if (i_151_ == 0) { - if (i_149_ == 1) { - for (int i_162_ = -i_155_; i_162_ < 0; i_162_++) { - int i_163_ = i_153_ + i_156_ - 3; - while (i_153_ < i_163_) { - is[i_153_++] = (this.anIntArray9936[i_154_++]); - is[i_153_++] = (this.anIntArray9936[i_154_++]); - is[i_153_++] = (this.anIntArray9936[i_154_++]); - is[i_153_++] = (this.anIntArray9936[i_154_++]); - } - i_163_ += 3; - while (i_153_ < i_163_) is[i_153_++] = (this.anIntArray9936[i_154_++]); - i_153_ += i_157_; - i_154_ += i_158_; - } - return; - } - if (i_149_ == 0) { - int i_164_ = (i_150_ & 0xff0000) >> 16; - int i_165_ = (i_150_ & 0xff00) >> 8; - int i_166_ = i_150_ & 0xff; - for (int i_167_ = -i_155_; i_167_ < 0; i_167_++) { - for (int i_168_ = -i_156_; i_168_ < 0; i_168_++) { - int i_169_ = (this.anIntArray9936[i_154_++]); - int i_170_ = (i_169_ & 0xff0000) * i_164_ & ~0xffffff; - int i_171_ = (i_169_ & 0xff00) * i_165_ & 0xff0000; - int i_172_ = (i_169_ & 0xff) * i_166_ & 0xff00; - is[i_153_++] = (i_170_ | i_171_ | i_172_) >>> 8; - } - i_153_ += i_157_; - i_154_ += i_158_; - } - return; - } - if (i_149_ == 3) { - for (int i_173_ = -i_155_; i_173_ < 0; i_173_++) { - for (int i_174_ = -i_156_; i_174_ < 0; i_174_++) { - int i_175_ = (this.anIntArray9936[i_154_++]); - int i_176_ = i_175_ + i_150_; - int i_177_ = (i_175_ & 0xff00ff) + (i_150_ & 0xff00ff); - int i_178_ = ((i_177_ & 0x1000100) + (i_176_ - i_177_ & 0x10000)); - is[i_153_++] = i_176_ - i_178_ | i_178_ - (i_178_ >>> 8); - } - i_153_ += i_157_; - i_154_ += i_158_; - } - return; - } - if (i_149_ == 2) { - int i_179_ = i_150_ >>> 24; - int i_180_ = 256 - i_179_; - int i_181_ = (i_150_ & 0xff00ff) * i_180_ & ~0xff00ff; - int i_182_ = (i_150_ & 0xff00) * i_180_ & 0xff0000; - i_150_ = (i_181_ | i_182_) >>> 8; - for (int i_183_ = -i_155_; i_183_ < 0; i_183_++) { - for (int i_184_ = -i_156_; i_184_ < 0; i_184_++) { - int i_185_ = (this.anIntArray9936[i_154_++]); - i_181_ = (i_185_ & 0xff00ff) * i_179_ & ~0xff00ff; - i_182_ = (i_185_ & 0xff00) * i_179_ & 0xff0000; - is[i_153_++] = ((i_181_ | i_182_) >>> 8) + i_150_; - } - i_153_ += i_157_; - i_154_ += i_158_; - } - return; - } - throw new IllegalArgumentException(); - } - if (i_151_ == 1) { - if (i_149_ == 1) { - for (int i_186_ = -i_155_; i_186_ < 0; i_186_++) { - for (int i_187_ = -i_156_; i_187_ < 0; i_187_++) { - int i_188_ = (this.anIntArray9936[i_154_++]); - int i_189_ = i_188_ >>> 24; - int i_190_ = 256 - i_189_; - int i_191_ = is[i_153_]; - is[i_153_++] = (((((i_188_ & 0xff00ff) * i_189_ + (i_191_ & 0xff00ff) * i_190_) & ~0xff00ff) >> 8) + ((((i_188_ & ~0xff00ff) >>> 8) * i_189_ + ((i_191_ & ~0xff00ff) >>> 8) * i_190_) & ~0xff00ff)); - } - i_153_ += i_157_; - i_154_ += i_158_; - } - return; - } - if (i_149_ == 0) { - if ((i_150_ & 0xffffff) == 16777215) { - for (int i_192_ = -i_155_; i_192_ < 0; i_192_++) { - for (int i_193_ = -i_156_; i_193_ < 0; i_193_++) { - int i_194_ = (this.anIntArray9936[i_154_++]); - int i_195_ = (i_194_ >>> 24) * (i_150_ >>> 24) >> 8; - int i_196_ = 256 - i_195_; - int i_197_ = is[i_153_]; - is[i_153_++] = ((((i_194_ & 0xff00ff) * i_195_ + (i_197_ & 0xff00ff) * i_196_) & ~0xff00ff) + (((i_194_ & 0xff00) * i_195_ + (i_197_ & 0xff00) * i_196_) & 0xff0000)) >> 8; - } - i_153_ += i_157_; - i_154_ += i_158_; - } - } else { - int i_198_ = (i_150_ & 0xff0000) >> 16; - int i_199_ = (i_150_ & 0xff00) >> 8; - int i_200_ = i_150_ & 0xff; - for (int i_201_ = -i_155_; i_201_ < 0; i_201_++) { - for (int i_202_ = -i_156_; i_202_ < 0; i_202_++) { - int i_203_ = (this.anIntArray9936[i_154_++]); - int i_204_ = (i_203_ >>> 24) * (i_150_ >>> 24) >> 8; - int i_205_ = 256 - i_204_; - if (i_204_ == 255) { - int i_210_ = ((i_203_ & 0xff0000) * i_198_ & ~0xffffff); - int i_211_ = ((i_203_ & 0xff00) * i_199_ & 0xff0000); - int i_212_ = (i_203_ & 0xff) * i_200_ & 0xff00; - is[i_153_++] = (i_210_ | i_211_ | i_212_) >>> 8; - } else { - int i_206_ = ((i_203_ & 0xff0000) * i_198_ & ~0xffffff); - int i_207_ = ((i_203_ & 0xff00) * i_199_ & 0xff0000); - int i_208_ = (i_203_ & 0xff) * i_200_ & 0xff00; - i_203_ = (i_206_ | i_207_ | i_208_) >>> 8; - int i_209_ = is[i_153_]; - is[i_153_++] = ((((i_203_ & 0xff00ff) * i_204_ + (i_209_ & 0xff00ff) * i_205_) & ~0xff00ff) + (((i_203_ & 0xff00) * i_204_ + (i_209_ & 0xff00) * i_205_) & 0xff0000)) >> 8; - } - } - i_153_ += i_157_; - i_154_ += i_158_; - } - return; - } - return; - } - if (i_149_ == 3) { - for (int i_213_ = -i_155_; i_213_ < 0; i_213_++) { - for (int i_214_ = -i_156_; i_214_ < 0; i_214_++) { - int i_215_ = (this.anIntArray9936[i_154_++]); - int i_216_ = i_215_ + i_150_; - int i_217_ = (i_215_ & 0xff00ff) + (i_150_ & 0xff00ff); - int i_218_ = ((i_217_ & 0x1000100) + (i_216_ - i_217_ & 0x10000)); - i_218_ = i_216_ - i_218_ | i_218_ - (i_218_ >>> 8); - int i_219_ = (i_218_ >>> 24) * (i_150_ >>> 24) >> 8; - int i_220_ = 256 - i_219_; - if (i_219_ != 255) { - i_215_ = i_218_; - i_218_ = is[i_153_]; - i_218_ = ((((i_215_ & 0xff00ff) * i_219_ + (i_218_ & 0xff00ff) * i_220_) & ~0xff00ff) + (((i_215_ & 0xff00) * i_219_ + (i_218_ & 0xff00) * i_220_) & 0xff0000)) >> 8; - } - is[i_153_++] = i_218_; - } - i_153_ += i_157_; - i_154_ += i_158_; - } - return; - } - if (i_149_ == 2) { - int i_221_ = i_150_ >>> 24; - int i_222_ = 256 - i_221_; - int i_223_ = (i_150_ & 0xff00ff) * i_222_ & ~0xff00ff; - int i_224_ = (i_150_ & 0xff00) * i_222_ & 0xff0000; - i_150_ = (i_223_ | i_224_) >>> 8; - for (int i_225_ = -i_155_; i_225_ < 0; i_225_++) { - for (int i_226_ = -i_156_; i_226_ < 0; i_226_++) { - int i_227_ = (this.anIntArray9936[i_154_++]); - int i_228_ = i_227_ >>> 24; - int i_229_ = 256 - i_228_; - i_223_ = (i_227_ & 0xff00ff) * i_221_ & ~0xff00ff; - i_224_ = (i_227_ & 0xff00) * i_221_ & 0xff0000; - i_227_ = ((i_223_ | i_224_) >>> 8) + i_150_; - int i_230_ = is[i_153_]; - is[i_153_++] = ((((i_227_ & 0xff00ff) * i_228_ + (i_230_ & 0xff00ff) * i_229_) & ~0xff00ff) + (((i_227_ & 0xff00) * i_228_ + (i_230_ & 0xff00) * i_229_) & 0xff0000)) >> 8; - } - i_153_ += i_157_; - i_154_ += i_158_; - } - return; - } - throw new IllegalArgumentException(); - } - if (i_151_ == 2) { - if (i_149_ == 1) { - for (int i_231_ = -i_155_; i_231_ < 0; i_231_++) { - for (int i_232_ = -i_156_; i_232_ < 0; i_232_++) { - int i_233_ = (this.anIntArray9936[i_154_++]); - if (i_233_ != 0) { - int i_234_ = is[i_153_]; - int i_235_ = i_233_ + i_234_; - int i_236_ = ((i_233_ & 0xff00ff) + (i_234_ & 0xff00ff)); - i_234_ = (i_236_ & 0x1000100) + (i_235_ - i_236_ & 0x10000); - is[i_153_++] = i_235_ - i_234_ | i_234_ - (i_234_ >>> 8); - } else i_153_++; - } - i_153_ += i_157_; - i_154_ += i_158_; - } - return; - } - if (i_149_ == 0) { - int i_237_ = (i_150_ & 0xff0000) >> 16; - int i_238_ = (i_150_ & 0xff00) >> 8; - int i_239_ = i_150_ & 0xff; - for (int i_240_ = -i_155_; i_240_ < 0; i_240_++) { - for (int i_241_ = -i_156_; i_241_ < 0; i_241_++) { - int i_242_ = (this.anIntArray9936[i_154_++]); - if (i_242_ != 0) { - int i_243_ = (i_242_ & 0xff0000) * i_237_ & ~0xffffff; - int i_244_ = (i_242_ & 0xff00) * i_238_ & 0xff0000; - int i_245_ = (i_242_ & 0xff) * i_239_ & 0xff00; - i_242_ = (i_243_ | i_244_ | i_245_) >>> 8; - int i_246_ = is[i_153_]; - int i_247_ = i_242_ + i_246_; - int i_248_ = ((i_242_ & 0xff00ff) + (i_246_ & 0xff00ff)); - i_246_ = (i_248_ & 0x1000100) + (i_247_ - i_248_ & 0x10000); - is[i_153_++] = i_247_ - i_246_ | i_246_ - (i_246_ >>> 8); - } else i_153_++; - } - i_153_ += i_157_; - i_154_ += i_158_; - } - return; - } - if (i_149_ == 3) { - for (int i_249_ = -i_155_; i_249_ < 0; i_249_++) { - for (int i_250_ = -i_156_; i_250_ < 0; i_250_++) { - int i_251_ = (this.anIntArray9936[i_154_++]); - int i_252_ = i_251_ + i_150_; - int i_253_ = (i_251_ & 0xff00ff) + (i_150_ & 0xff00ff); - int i_254_ = ((i_253_ & 0x1000100) + (i_252_ - i_253_ & 0x10000)); - i_251_ = i_252_ - i_254_ | i_254_ - (i_254_ >>> 8); - i_254_ = is[i_153_]; - i_252_ = i_251_ + i_254_; - i_253_ = (i_251_ & 0xff00ff) + (i_254_ & 0xff00ff); - i_254_ = (i_253_ & 0x1000100) + (i_252_ - i_253_ & 0x10000); - is[i_153_++] = i_252_ - i_254_ | i_254_ - (i_254_ >>> 8); - } - i_153_ += i_157_; - i_154_ += i_158_; - } - return; - } - if (i_149_ == 2) { - int i_255_ = i_150_ >>> 24; - int i_256_ = 256 - i_255_; - int i_257_ = (i_150_ & 0xff00ff) * i_256_ & ~0xff00ff; - int i_258_ = (i_150_ & 0xff00) * i_256_ & 0xff0000; - i_150_ = (i_257_ | i_258_) >>> 8; - for (int i_259_ = -i_155_; i_259_ < 0; i_259_++) { - for (int i_260_ = -i_156_; i_260_ < 0; i_260_++) { - int i_261_ = (this.anIntArray9936[i_154_++]); - if (i_261_ != 0) { - i_257_ = (i_261_ & 0xff00ff) * i_255_ & ~0xff00ff; - i_258_ = (i_261_ & 0xff00) * i_255_ & 0xff0000; - i_261_ = ((i_257_ | i_258_) >>> 8) + i_150_; - int i_262_ = is[i_153_]; - int i_263_ = i_261_ + i_262_; - int i_264_ = ((i_261_ & 0xff00ff) + (i_262_ & 0xff00ff)); - i_262_ = (i_264_ & 0x1000100) + (i_263_ - i_264_ & 0x10000); - is[i_153_++] = i_263_ - i_262_ | i_262_ - (i_262_ >>> 8); - } else i_153_++; - } - i_153_ += i_157_; - i_154_ += i_158_; - } - return; - } - throw new IllegalArgumentException(); - } - throw new IllegalArgumentException(); - } - } - - final void method963(int i, int i_265_, aa var_aa, int i_266_, int i_267_) { - if (this.aHa_Sub1_8460.method3716()) throw new IllegalStateException(); - i += this.anInt8461; - i_265_ += this.anInt8464; - int i_268_ = 0; - int i_269_ = this.aHa_Sub1_8460.anInt7477; - int i_270_ = this.anInt8471; - int i_271_ = this.anInt8470; - int i_272_ = i_269_ - i_270_; - int i_273_ = 0; - int i_274_ = i + i_265_ * i_269_; - if (i_265_ < this.aHa_Sub1_8460.anInt7476) { - int i_275_ = (this.aHa_Sub1_8460.anInt7476 - i_265_); - i_271_ -= i_275_; - i_265_ = this.aHa_Sub1_8460.anInt7476; - i_268_ += i_275_ * i_270_; - i_274_ += i_275_ * i_269_; - } - if (i_265_ + i_271_ > this.aHa_Sub1_8460.anInt7503) i_271_ -= i_265_ + i_271_ - this.aHa_Sub1_8460.anInt7503; - if (i < this.aHa_Sub1_8460.anInt7496) { - int i_276_ = (this.aHa_Sub1_8460.anInt7496 - i); - i_270_ -= i_276_; - i = this.aHa_Sub1_8460.anInt7496; - i_268_ += i_276_; - i_274_ += i_276_; - i_273_ += i_276_; - i_272_ += i_276_; - } - if (i + i_270_ > this.aHa_Sub1_8460.anInt7507) { - int i_277_ = (i + i_270_ - (this.aHa_Sub1_8460.anInt7507)); - i_270_ -= i_277_; - i_273_ += i_277_; - i_272_ += i_277_; - } - if (i_270_ > 0 && i_271_ > 0) { - aa_Sub3 var_aa_Sub3 = (aa_Sub3) var_aa; - int[] is = var_aa_Sub3.anIntArray5201; - int[] is_278_ = var_aa_Sub3.anIntArray5202; - int[] is_279_ = (this.aHa_Sub1_8460.anIntArray7483); - int i_280_ = i_265_; - if (i_267_ > i_280_) { - i_280_ = i_267_; - i_274_ += (i_267_ - i_265_) * i_269_; - i_268_ += (i_267_ - i_265_) * this.anInt8471; - } - int i_281_ = (Math.min(i_267_ + is.length, i_265_ + i_271_)); - for (int i_282_ = i_280_; i_282_ < i_281_; i_282_++) { - int i_283_ = is[i_282_ - i_267_] + i_266_; - int i_284_ = is_278_[i_282_ - i_267_]; - int i_285_ = i_270_; - if (i > i_283_) { - int i_286_ = i - i_283_; - if (i_286_ >= i_284_) { - i_268_ += i_270_ + i_273_; - i_274_ += i_270_ + i_272_; - continue; - } - i_284_ -= i_286_; - } else { - int i_287_ = i_283_ - i; - if (i_287_ >= i_270_) { - i_268_ += i_270_ + i_273_; - i_274_ += i_270_ + i_272_; - continue; - } - i_268_ += i_287_; - i_285_ -= i_287_; - i_274_ += i_287_; - } - int i_288_ = 0; - if (i_285_ < i_284_) i_284_ = i_285_; - else i_288_ = i_285_ - i_284_; - for (int i_289_ = -i_284_; i_289_ < 0; i_289_++) { - int i_290_ = this.anIntArray9936[i_268_++]; - int i_291_ = i_290_ >>> 24; - int i_292_ = 256 - i_291_; - int i_293_ = is_279_[i_274_]; - is_279_[i_274_++] = ((((i_290_ & 0xff00ff) * i_291_ + (i_293_ & 0xff00ff) * i_292_) & ~0xff00ff) + (((i_290_ & 0xff00) * i_291_ + (i_293_ & 0xff00) * i_292_) & 0xff0000)) >> 8; - } - i_268_ += i_288_ + i_273_; - i_274_ += i_288_ + i_272_; - } - } - } - - final void method982(int i, int i_294_, int i_295_, int i_296_, int i_297_, int i_298_, int i_299_, int i_300_) { - if (this.aHa_Sub1_8460.method3716()) throw new IllegalStateException(); - if (i_295_ > 0 && i_296_ > 0) { - int i_301_ = 0; - int i_302_ = 0; - int i_303_ = this.aHa_Sub1_8460.anInt7477; - int i_304_ = (this.anInt8461 + this.anInt8471 + this.anInt8454); - int i_305_ = (this.anInt8464 + this.anInt8470 + this.anInt8456); - int i_306_ = (i_304_ << 16) / i_295_; - int i_307_ = (i_305_ << 16) / i_296_; - if (this.anInt8461 > 0) { - int i_308_ = (((this.anInt8461 << 16) + i_306_ - 1) / i_306_); - i += i_308_; - i_301_ += i_308_ * i_306_ - (this.anInt8461 << 16); - } - if (this.anInt8464 > 0) { - int i_309_ = (((this.anInt8464 << 16) + i_307_ - 1) / i_307_); - i_294_ += i_309_; - i_302_ += i_309_ * i_307_ - (this.anInt8464 << 16); - } - if (this.anInt8471 < i_304_) i_295_ = ((this.anInt8471 << 16) - i_301_ + i_306_ - 1) / i_306_; - if (this.anInt8470 < i_305_) i_296_ = ((this.anInt8470 << 16) - i_302_ + i_307_ - 1) / i_307_; - int i_310_ = i + i_294_ * i_303_; - int i_311_ = i_303_ - i_295_; - if (i_294_ + i_296_ > this.aHa_Sub1_8460.anInt7503) i_296_ -= (i_294_ + i_296_ - (this.aHa_Sub1_8460.anInt7503)); - if (i_294_ < this.aHa_Sub1_8460.anInt7476) { - int i_312_ = ((this.aHa_Sub1_8460.anInt7476) - i_294_); - i_296_ -= i_312_; - i_310_ += i_312_ * i_303_; - i_302_ += i_307_ * i_312_; - } - if (i + i_295_ > this.aHa_Sub1_8460.anInt7507) { - int i_313_ = (i + i_295_ - (this.aHa_Sub1_8460.anInt7507)); - i_295_ -= i_313_; - i_311_ += i_313_; - } - if (i < this.aHa_Sub1_8460.anInt7496) { - int i_314_ = ((this.aHa_Sub1_8460.anInt7496) - i); - i_295_ -= i_314_; - i_310_ += i_314_; - i_301_ += i_306_ * i_314_; - i_311_ += i_314_; - } - int[] is = (this.aHa_Sub1_8460.anIntArray7483); - if (i_299_ == 0) { - if (i_297_ == 1) { - int i_315_ = i_301_; - for (int i_316_ = -i_296_; i_316_ < 0; i_316_++) { - int i_317_ = ((i_302_ >> 16) * this.anInt8471); - for (int i_318_ = -i_295_; i_318_ < 0; i_318_++) { - is[i_310_++] = (this.anIntArray9936[(i_301_ >> 16) + i_317_]); - i_301_ += i_306_; - } - i_302_ += i_307_; - i_301_ = i_315_; - i_310_ += i_311_; - } - return; - } - if (i_297_ == 0) { - int i_319_ = (i_298_ & 0xff0000) >> 16; - int i_320_ = (i_298_ & 0xff00) >> 8; - int i_321_ = i_298_ & 0xff; - int i_322_ = i_301_; - for (int i_323_ = -i_296_; i_323_ < 0; i_323_++) { - int i_324_ = ((i_302_ >> 16) * this.anInt8471); - for (int i_325_ = -i_295_; i_325_ < 0; i_325_++) { - int i_326_ = (this.anIntArray9936[(i_301_ >> 16) + i_324_]); - int i_327_ = (i_326_ & 0xff0000) * i_319_ & ~0xffffff; - int i_328_ = (i_326_ & 0xff00) * i_320_ & 0xff0000; - int i_329_ = (i_326_ & 0xff) * i_321_ & 0xff00; - is[i_310_++] = (i_327_ | i_328_ | i_329_) >>> 8; - i_301_ += i_306_; - } - i_302_ += i_307_; - i_301_ = i_322_; - i_310_ += i_311_; - } - return; - } - if (i_297_ == 3) { - int i_330_ = i_301_; - for (int i_331_ = -i_296_; i_331_ < 0; i_331_++) { - int i_332_ = ((i_302_ >> 16) * this.anInt8471); - for (int i_333_ = -i_295_; i_333_ < 0; i_333_++) { - int i_334_ = (this.anIntArray9936[(i_301_ >> 16) + i_332_]); - int i_335_ = i_334_ + i_298_; - int i_336_ = (i_334_ & 0xff00ff) + (i_298_ & 0xff00ff); - int i_337_ = ((i_336_ & 0x1000100) + (i_335_ - i_336_ & 0x10000)); - is[i_310_++] = i_335_ - i_337_ | i_337_ - (i_337_ >>> 8); - i_301_ += i_306_; - } - i_302_ += i_307_; - i_301_ = i_330_; - i_310_ += i_311_; - } - return; - } - if (i_297_ == 2) { - int i_338_ = i_298_ >>> 24; - int i_339_ = 256 - i_338_; - int i_340_ = (i_298_ & 0xff00ff) * i_339_ & ~0xff00ff; - int i_341_ = (i_298_ & 0xff00) * i_339_ & 0xff0000; - i_298_ = (i_340_ | i_341_) >>> 8; - int i_342_ = i_301_; - for (int i_343_ = -i_296_; i_343_ < 0; i_343_++) { - int i_344_ = ((i_302_ >> 16) * this.anInt8471); - for (int i_345_ = -i_295_; i_345_ < 0; i_345_++) { - int i_346_ = (this.anIntArray9936[(i_301_ >> 16) + i_344_]); - i_340_ = (i_346_ & 0xff00ff) * i_338_ & ~0xff00ff; - i_341_ = (i_346_ & 0xff00) * i_338_ & 0xff0000; - is[i_310_++] = ((i_340_ | i_341_) >>> 8) + i_298_; - i_301_ += i_306_; - } - i_302_ += i_307_; - i_301_ = i_342_; - i_310_ += i_311_; - } - return; - } - throw new IllegalArgumentException(); - } - if (i_299_ == 1) { - if (i_297_ == 1) { - int i_347_ = i_301_; - for (int i_348_ = -i_296_; i_348_ < 0; i_348_++) { - int i_349_ = ((i_302_ >> 16) * this.anInt8471); - for (int i_350_ = -i_295_; i_350_ < 0; i_350_++) { - int i_351_ = (this.anIntArray9936[(i_301_ >> 16) + i_349_]); - int i_352_ = i_351_ >>> 24; - int i_353_ = 256 - i_352_; - int i_354_ = is[i_310_]; - is[i_310_++] = (((((i_351_ & 0xff00ff) * i_352_ + (i_354_ & 0xff00ff) * i_353_) & ~0xff00ff) >> 8) + ((((i_351_ & ~0xff00ff) >>> 8) * i_352_ + ((i_354_ & ~0xff00ff) >>> 8) * i_353_) & ~0xff00ff)); - i_301_ += i_306_; - } - i_302_ += i_307_; - i_301_ = i_347_; - i_310_ += i_311_; - } - return; - } - if (i_297_ == 0) { - int i_355_ = i_301_; - if ((i_298_ & 0xffffff) == 16777215) { - for (int i_356_ = -i_296_; i_356_ < 0; i_356_++) { - int i_357_ = ((i_302_ >> 16) * this.anInt8471); - for (int i_358_ = -i_295_; i_358_ < 0; i_358_++) { - int i_359_ = (this.anIntArray9936[(i_301_ >> 16) + i_357_]); - int i_360_ = (i_359_ >>> 24) * (i_298_ >>> 24) >> 8; - int i_361_ = 256 - i_360_; - int i_362_ = is[i_310_]; - is[i_310_++] = ((((i_359_ & 0xff00ff) * i_360_ + (i_362_ & 0xff00ff) * i_361_) & ~0xff00ff) + (((i_359_ & 0xff00) * i_360_ + (i_362_ & 0xff00) * i_361_) & 0xff0000)) >> 8; - i_301_ += i_306_; - } - i_302_ += i_307_; - i_301_ = i_355_; - i_310_ += i_311_; - } - } else { - int i_363_ = (i_298_ & 0xff0000) >> 16; - int i_364_ = (i_298_ & 0xff00) >> 8; - int i_365_ = i_298_ & 0xff; - for (int i_366_ = -i_296_; i_366_ < 0; i_366_++) { - int i_367_ = ((i_302_ >> 16) * this.anInt8471); - for (int i_368_ = -i_295_; i_368_ < 0; i_368_++) { - int i_369_ = (this.anIntArray9936[(i_301_ >> 16) + i_367_]); - int i_370_ = (i_369_ >>> 24) * (i_298_ >>> 24) >> 8; - int i_371_ = 256 - i_370_; - if (i_370_ == 255) { - int i_376_ = ((i_369_ & 0xff0000) * i_363_ & ~0xffffff); - int i_377_ = ((i_369_ & 0xff00) * i_364_ & 0xff0000); - int i_378_ = (i_369_ & 0xff) * i_365_ & 0xff00; - is[i_310_++] = (i_376_ | i_377_ | i_378_) >>> 8; - } else { - int i_372_ = ((i_369_ & 0xff0000) * i_363_ & ~0xffffff); - int i_373_ = ((i_369_ & 0xff00) * i_364_ & 0xff0000); - int i_374_ = (i_369_ & 0xff) * i_365_ & 0xff00; - i_369_ = (i_372_ | i_373_ | i_374_) >>> 8; - int i_375_ = is[i_310_]; - is[i_310_++] = ((((i_369_ & 0xff00ff) * i_370_ + (i_375_ & 0xff00ff) * i_371_) & ~0xff00ff) + (((i_369_ & 0xff00) * i_370_ + (i_375_ & 0xff00) * i_371_) & 0xff0000)) >> 8; - } - i_301_ += i_306_; - } - i_302_ += i_307_; - i_301_ = i_355_; - i_310_ += i_311_; - } - return; - } - return; - } - if (i_297_ == 3) { - int i_379_ = i_301_; - for (int i_380_ = -i_296_; i_380_ < 0; i_380_++) { - int i_381_ = ((i_302_ >> 16) * this.anInt8471); - for (int i_382_ = -i_295_; i_382_ < 0; i_382_++) { - int i_383_ = (this.anIntArray9936[(i_301_ >> 16) + i_381_]); - int i_384_ = i_383_ + i_298_; - int i_385_ = (i_383_ & 0xff00ff) + (i_298_ & 0xff00ff); - int i_386_ = ((i_385_ & 0x1000100) + (i_384_ - i_385_ & 0x10000)); - i_386_ = i_384_ - i_386_ | i_386_ - (i_386_ >>> 8); - int i_387_ = (i_386_ >>> 24) * (i_298_ >>> 24) >> 8; - int i_388_ = 256 - i_387_; - if (i_387_ != 255) { - i_383_ = i_386_; - i_386_ = is[i_310_]; - i_386_ = ((((i_383_ & 0xff00ff) * i_387_ + (i_386_ & 0xff00ff) * i_388_) & ~0xff00ff) + (((i_383_ & 0xff00) * i_387_ + (i_386_ & 0xff00) * i_388_) & 0xff0000)) >> 8; - } - is[i_310_++] = i_386_; - i_301_ += i_306_; - } - i_302_ += i_307_; - i_301_ = i_379_; - i_310_ += i_311_; - } - return; - } - if (i_297_ == 2) { - int i_389_ = i_298_ >>> 24; - int i_390_ = 256 - i_389_; - int i_391_ = (i_298_ & 0xff00ff) * i_390_ & ~0xff00ff; - int i_392_ = (i_298_ & 0xff00) * i_390_ & 0xff0000; - i_298_ = (i_391_ | i_392_) >>> 8; - int i_393_ = i_301_; - for (int i_394_ = -i_296_; i_394_ < 0; i_394_++) { - int i_395_ = ((i_302_ >> 16) * this.anInt8471); - for (int i_396_ = -i_295_; i_396_ < 0; i_396_++) { - int i_397_ = (this.anIntArray9936[(i_301_ >> 16) + i_395_]); - int i_398_ = i_397_ >>> 24; - int i_399_ = 256 - i_398_; - i_391_ = (i_397_ & 0xff00ff) * i_389_ & ~0xff00ff; - i_392_ = (i_397_ & 0xff00) * i_389_ & 0xff0000; - i_397_ = ((i_391_ | i_392_) >>> 8) + i_298_; - int i_400_ = is[i_310_]; - is[i_310_++] = ((((i_397_ & 0xff00ff) * i_398_ + (i_400_ & 0xff00ff) * i_399_) & ~0xff00ff) + (((i_397_ & 0xff00) * i_398_ + (i_400_ & 0xff00) * i_399_) & 0xff0000)) >> 8; - i_301_ += i_306_; - } - i_302_ += i_307_; - i_301_ = i_393_; - i_310_ += i_311_; - } - return; - } - throw new IllegalArgumentException(); - } - if (i_299_ == 2) { - if (i_297_ == 1) { - int i_401_ = i_301_; - for (int i_402_ = -i_296_; i_402_ < 0; i_402_++) { - int i_403_ = ((i_302_ >> 16) * this.anInt8471); - for (int i_404_ = -i_295_; i_404_ < 0; i_404_++) { - int i_405_ = (this.anIntArray9936[(i_301_ >> 16) + i_403_]); - if (i_405_ != 0) { - int i_406_ = is[i_310_]; - int i_407_ = i_405_ + i_406_; - int i_408_ = ((i_405_ & 0xff00ff) + (i_406_ & 0xff00ff)); - i_406_ = (i_408_ & 0x1000100) + (i_407_ - i_408_ & 0x10000); - is[i_310_++] = i_407_ - i_406_ | i_406_ - (i_406_ >>> 8); - } else i_310_++; - i_301_ += i_306_; - } - i_302_ += i_307_; - i_301_ = i_401_; - i_310_ += i_311_; - } - return; - } - if (i_297_ == 0) { - int i_409_ = i_301_; - int i_410_ = (i_298_ & 0xff0000) >> 16; - int i_411_ = (i_298_ & 0xff00) >> 8; - int i_412_ = i_298_ & 0xff; - for (int i_413_ = -i_296_; i_413_ < 0; i_413_++) { - int i_414_ = ((i_302_ >> 16) * this.anInt8471); - for (int i_415_ = -i_295_; i_415_ < 0; i_415_++) { - int i_416_ = (this.anIntArray9936[(i_301_ >> 16) + i_414_]); - if (i_416_ != 0) { - int i_417_ = (i_416_ & 0xff0000) * i_410_ & ~0xffffff; - int i_418_ = (i_416_ & 0xff00) * i_411_ & 0xff0000; - int i_419_ = (i_416_ & 0xff) * i_412_ & 0xff00; - i_416_ = (i_417_ | i_418_ | i_419_) >>> 8; - int i_420_ = is[i_310_]; - int i_421_ = i_416_ + i_420_; - int i_422_ = ((i_416_ & 0xff00ff) + (i_420_ & 0xff00ff)); - i_420_ = (i_422_ & 0x1000100) + (i_421_ - i_422_ & 0x10000); - is[i_310_++] = i_421_ - i_420_ | i_420_ - (i_420_ >>> 8); - } else i_310_++; - i_301_ += i_306_; - } - i_302_ += i_307_; - i_301_ = i_409_; - i_310_ += i_311_; - } - return; - } - if (i_297_ == 3) { - int i_423_ = i_301_; - for (int i_424_ = -i_296_; i_424_ < 0; i_424_++) { - int i_425_ = ((i_302_ >> 16) * this.anInt8471); - for (int i_426_ = -i_295_; i_426_ < 0; i_426_++) { - int i_427_ = (this.anIntArray9936[(i_301_ >> 16) + i_425_]); - int i_428_ = i_427_ + i_298_; - int i_429_ = (i_427_ & 0xff00ff) + (i_298_ & 0xff00ff); - int i_430_ = ((i_429_ & 0x1000100) + (i_428_ - i_429_ & 0x10000)); - i_427_ = i_428_ - i_430_ | i_430_ - (i_430_ >>> 8); - i_430_ = is[i_310_]; - i_428_ = i_427_ + i_430_; - i_429_ = (i_427_ & 0xff00ff) + (i_430_ & 0xff00ff); - i_430_ = (i_429_ & 0x1000100) + (i_428_ - i_429_ & 0x10000); - is[i_310_++] = i_428_ - i_430_ | i_430_ - (i_430_ >>> 8); - i_301_ += i_306_; - } - i_302_ += i_307_; - i_301_ = i_423_; - i_310_ += i_311_; - } - return; - } - if (i_297_ == 2) { - int i_431_ = i_298_ >>> 24; - int i_432_ = 256 - i_431_; - int i_433_ = (i_298_ & 0xff00ff) * i_432_ & ~0xff00ff; - int i_434_ = (i_298_ & 0xff00) * i_432_ & 0xff0000; - i_298_ = (i_433_ | i_434_) >>> 8; - int i_435_ = i_301_; - for (int i_436_ = -i_296_; i_436_ < 0; i_436_++) { - int i_437_ = ((i_302_ >> 16) * this.anInt8471); - for (int i_438_ = -i_295_; i_438_ < 0; i_438_++) { - int i_439_ = (this.anIntArray9936[(i_301_ >> 16) + i_437_]); - if (i_439_ != 0) { - i_433_ = (i_439_ & 0xff00ff) * i_431_ & ~0xff00ff; - i_434_ = (i_439_ & 0xff00) * i_431_ & 0xff0000; - i_439_ = ((i_433_ | i_434_) >>> 8) + i_298_; - int i_440_ = is[i_310_]; - int i_441_ = i_439_ + i_440_; - int i_442_ = ((i_439_ & 0xff00ff) + (i_440_ & 0xff00ff)); - i_440_ = (i_442_ & 0x1000100) + (i_441_ - i_442_ & 0x10000); - is[i_310_++] = i_441_ - i_440_ | i_440_ - (i_440_ >>> 8); - } else i_310_++; - i_301_ += i_306_; - } - i_302_ += i_307_; - i_301_ = i_435_; - i_310_ += i_311_; - } - return; - } - throw new IllegalArgumentException(); - } - throw new IllegalArgumentException(); - } - } - - Class105_Sub3_Sub3(ha_Sub1 var_ha_Sub1, int i, int i_443_) { - super(var_ha_Sub1, i, i_443_); - this.anIntArray9936 = new int[i * i_443_]; - } - - final void method996(int i, int i_444_, int i_445_, int i_446_, int i_447_, int i_448_, int i_449_, int i_450_, int i_451_) { - if (i_446_ > 0 && i_447_ > 0) { - int i_452_ = 0; - int i_453_ = 0; - int i_454_ = (this.anInt8461 + this.anInt8471 + this.anInt8454); - int i_455_ = (this.anInt8464 + this.anInt8470 + this.anInt8456); - int i_456_ = (i_454_ << 16) / i_446_; - int i_457_ = (i_455_ << 16) / i_447_; - if (this.anInt8461 > 0) { - int i_458_ = (((this.anInt8461 << 16) + i_456_ - 1) / i_456_); - i += i_458_; - i_452_ += i_458_ * i_456_ - (this.anInt8461 << 16); - } - if (this.anInt8464 > 0) { - int i_459_ = (((this.anInt8464 << 16) + i_457_ - 1) / i_457_); - i_444_ += i_459_; - i_453_ += i_459_ * i_457_ - (this.anInt8464 << 16); - } - if (this.anInt8471 < i_454_) i_446_ = ((this.anInt8471 << 16) - i_452_ + i_456_ - 1) / i_456_; - if (this.anInt8470 < i_455_) i_447_ = ((this.anInt8470 << 16) - i_453_ + i_457_ - 1) / i_457_; - int i_460_ = i + i_444_ * this.aHa_Sub1_8460.anInt7477; - int i_461_ = (this.aHa_Sub1_8460.anInt7477 - i_446_); - if (i_444_ + i_447_ > this.aHa_Sub1_8460.anInt7503) i_447_ -= (i_444_ + i_447_ - (this.aHa_Sub1_8460.anInt7503)); - if (i_444_ < this.aHa_Sub1_8460.anInt7476) { - int i_462_ = ((this.aHa_Sub1_8460.anInt7476) - i_444_); - i_447_ -= i_462_; - i_460_ += i_462_ * this.aHa_Sub1_8460.anInt7477; - i_453_ += i_457_ * i_462_; - } - if (i + i_446_ > this.aHa_Sub1_8460.anInt7507) { - int i_463_ = (i + i_446_ - (this.aHa_Sub1_8460.anInt7507)); - i_446_ -= i_463_; - i_461_ += i_463_; - } - if (i < this.aHa_Sub1_8460.anInt7496) { - int i_464_ = ((this.aHa_Sub1_8460.anInt7496) - i); - i_446_ -= i_464_; - i_460_ += i_464_; - i_452_ += i_456_ * i_464_; - i_461_ += i_464_; - } - float[] fs = (this.aHa_Sub1_8460.aFloatArray7511); - int[] is = (this.aHa_Sub1_8460.anIntArray7483); - if (i_450_ == 0) { - if (i_448_ == 1) { - int i_465_ = i_452_; - for (int i_466_ = -i_447_; i_466_ < 0; i_466_++) { - int i_467_ = ((i_453_ >> 16) * this.anInt8471); - for (int i_468_ = -i_446_; i_468_ < 0; i_468_++) { - if ((float) i_445_ < fs[i_460_]) { - is[i_460_] = (this.anIntArray9936[(i_452_ >> 16) + i_467_]); - fs[i_460_] = (float) i_445_; - } - i_452_ += i_456_; - i_460_++; - } - i_453_ += i_457_; - i_452_ = i_465_; - i_460_ += i_461_; - } - return; - } - if (i_448_ == 0) { - int i_469_ = (i_449_ & 0xff0000) >> 16; - int i_470_ = (i_449_ & 0xff00) >> 8; - int i_471_ = i_449_ & 0xff; - int i_472_ = i_452_; - for (int i_473_ = -i_447_; i_473_ < 0; i_473_++) { - int i_474_ = ((i_453_ >> 16) * this.anInt8471); - for (int i_475_ = -i_446_; i_475_ < 0; i_475_++) { - if ((float) i_445_ < fs[i_460_]) { - int i_476_ = (this.anIntArray9936[(i_452_ >> 16) + i_474_]); - int i_477_ = (i_476_ & 0xff0000) * i_469_ & ~0xffffff; - int i_478_ = (i_476_ & 0xff00) * i_470_ & 0xff0000; - int i_479_ = (i_476_ & 0xff) * i_471_ & 0xff00; - is[i_460_] = (i_477_ | i_478_ | i_479_) >>> 8; - fs[i_460_] = (float) i_445_; - } - i_452_ += i_456_; - i_460_++; - } - i_453_ += i_457_; - i_452_ = i_472_; - i_460_ += i_461_; - } - return; - } - if (i_448_ == 3) { - int i_480_ = i_452_; - for (int i_481_ = -i_447_; i_481_ < 0; i_481_++) { - int i_482_ = ((i_453_ >> 16) * this.anInt8471); - for (int i_483_ = -i_446_; i_483_ < 0; i_483_++) { - if ((float) i_445_ < fs[i_460_]) { - int i_484_ = (this.anIntArray9936[(i_452_ >> 16) + i_482_]); - int i_485_ = i_484_ + i_449_; - int i_486_ = ((i_484_ & 0xff00ff) + (i_449_ & 0xff00ff)); - int i_487_ = ((i_486_ & 0x1000100) + (i_485_ - i_486_ & 0x10000)); - is[i_460_] = i_485_ - i_487_ | i_487_ - (i_487_ >>> 8); - fs[i_460_] = (float) i_445_; - } - i_452_ += i_456_; - i_460_++; - } - i_453_ += i_457_; - i_452_ = i_480_; - i_460_ += i_461_; - } - return; - } - if (i_448_ == 2) { - int i_488_ = i_449_ >>> 24; - int i_489_ = 256 - i_488_; - int i_490_ = (i_449_ & 0xff00ff) * i_489_ & ~0xff00ff; - int i_491_ = (i_449_ & 0xff00) * i_489_ & 0xff0000; - i_449_ = (i_490_ | i_491_) >>> 8; - int i_492_ = i_452_; - for (int i_493_ = -i_447_; i_493_ < 0; i_493_++) { - int i_494_ = ((i_453_ >> 16) * this.anInt8471); - for (int i_495_ = -i_446_; i_495_ < 0; i_495_++) { - if ((float) i_445_ < fs[i_460_]) { - int i_496_ = (this.anIntArray9936[(i_452_ >> 16) + i_494_]); - i_490_ = (i_496_ & 0xff00ff) * i_488_ & ~0xff00ff; - i_491_ = (i_496_ & 0xff00) * i_488_ & 0xff0000; - is[i_460_] = ((i_490_ | i_491_) >>> 8) + i_449_; - fs[i_460_] = (float) i_445_; - } - i_452_ += i_456_; - i_460_++; - } - i_453_ += i_457_; - i_452_ = i_492_; - i_460_ += i_461_; - } - return; - } - throw new IllegalArgumentException(); - } - if (i_450_ == 1) { - if (i_448_ == 1) { - int i_497_ = i_452_; - for (int i_498_ = -i_447_; i_498_ < 0; i_498_++) { - int i_499_ = ((i_453_ >> 16) * this.anInt8471); - for (int i_500_ = -i_446_; i_500_ < 0; i_500_++) { - if ((float) i_445_ < fs[i_460_]) { - int i_501_ = (this.anIntArray9936[(i_452_ >> 16) + i_499_]); - int i_502_ = i_501_ >>> 24; - int i_503_ = 256 - i_502_; - int i_504_ = is[i_460_]; - is[i_460_] = (((((i_501_ & 0xff00ff) * i_502_ + (i_504_ & 0xff00ff) * i_503_) & ~0xff00ff) >> 8) + (((((i_501_ & ~0xff00ff) >>> 8) * i_502_) + (((i_504_ & ~0xff00ff) >>> 8) * i_503_)) & ~0xff00ff)); - fs[i_460_] = (float) i_445_; - } - i_452_ += i_456_; - i_460_++; - } - i_453_ += i_457_; - i_452_ = i_497_; - i_460_ += i_461_; - } - return; - } - if (i_448_ == 0) { - int i_505_ = i_452_; - if ((i_449_ & 0xffffff) == 16777215) { - for (int i_506_ = -i_447_; i_506_ < 0; i_506_++) { - int i_507_ = ((i_453_ >> 16) * this.anInt8471); - for (int i_508_ = -i_446_; i_508_ < 0; i_508_++) { - if ((float) i_445_ < fs[i_460_]) { - int i_509_ = (this.anIntArray9936[(i_452_ >> 16) + i_507_]); - int i_510_ = ((i_509_ >>> 24) * (i_449_ >>> 24) >> 8); - int i_511_ = 256 - i_510_; - int i_512_ = is[i_460_]; - is[i_460_] = ((((i_509_ & 0xff00ff) * i_510_ + (i_512_ & 0xff00ff) * i_511_) & ~0xff00ff) + (((i_509_ & 0xff00) * i_510_ + (i_512_ & 0xff00) * i_511_) & 0xff0000)) >> 8; - fs[i_460_] = (float) i_445_; - } - i_452_ += i_456_; - i_460_++; - } - i_453_ += i_457_; - i_452_ = i_505_; - i_460_ += i_461_; - } - } else { - int i_513_ = (i_449_ & 0xff0000) >> 16; - int i_514_ = (i_449_ & 0xff00) >> 8; - int i_515_ = i_449_ & 0xff; - for (int i_516_ = -i_447_; i_516_ < 0; i_516_++) { - int i_517_ = ((i_453_ >> 16) * this.anInt8471); - for (int i_518_ = -i_446_; i_518_ < 0; i_518_++) { - if ((float) i_445_ < fs[i_460_]) { - int i_519_ = (this.anIntArray9936[(i_452_ >> 16) + i_517_]); - int i_520_ = ((i_519_ >>> 24) * (i_449_ >>> 24) >> 8); - int i_521_ = 256 - i_520_; - if (i_520_ == 255) { - int i_526_ = ((i_519_ & 0xff0000) * i_513_ & ~0xffffff); - int i_527_ = ((i_519_ & 0xff00) * i_514_ & 0xff0000); - int i_528_ = ((i_519_ & 0xff) * i_515_ & 0xff00); - is[i_460_] = (i_526_ | i_527_ | i_528_) >>> 8; - fs[i_460_] = (float) i_445_; - } else { - int i_522_ = ((i_519_ & 0xff0000) * i_513_ & ~0xffffff); - int i_523_ = ((i_519_ & 0xff00) * i_514_ & 0xff0000); - int i_524_ = ((i_519_ & 0xff) * i_515_ & 0xff00); - i_519_ = (i_522_ | i_523_ | i_524_) >>> 8; - int i_525_ = is[i_460_]; - is[i_460_] = ((((i_519_ & 0xff00ff) * i_520_ + ((i_525_ & 0xff00ff) * i_521_)) & ~0xff00ff) + (((i_519_ & 0xff00) * i_520_ + ((i_525_ & 0xff00) * i_521_)) & 0xff0000)) >> 8; - fs[i_460_] = (float) i_445_; - } - } - i_452_ += i_456_; - i_460_++; - } - i_453_ += i_457_; - i_452_ = i_505_; - i_460_ += i_461_; - } - return; - } - return; - } - if (i_448_ == 3) { - int i_529_ = i_452_; - for (int i_530_ = -i_447_; i_530_ < 0; i_530_++) { - int i_531_ = ((i_453_ >> 16) * this.anInt8471); - for (int i_532_ = -i_446_; i_532_ < 0; i_532_++) { - if ((float) i_445_ < fs[i_460_]) { - int i_533_ = (this.anIntArray9936[(i_452_ >> 16) + i_531_]); - int i_534_ = i_533_ + i_449_; - int i_535_ = ((i_533_ & 0xff00ff) + (i_449_ & 0xff00ff)); - int i_536_ = ((i_535_ & 0x1000100) + (i_534_ - i_535_ & 0x10000)); - i_536_ = i_534_ - i_536_ | i_536_ - (i_536_ >>> 8); - int i_537_ = (i_536_ >>> 24) * (i_449_ >>> 24) >> 8; - int i_538_ = 256 - i_537_; - if (i_537_ != 255) { - i_533_ = i_536_; - i_536_ = is[i_460_]; - i_536_ = ((((i_533_ & 0xff00ff) * i_537_ + (i_536_ & 0xff00ff) * i_538_) & ~0xff00ff) + (((i_533_ & 0xff00) * i_537_ + (i_536_ & 0xff00) * i_538_) & 0xff0000)) >> 8; - } - is[i_460_] = i_536_; - fs[i_460_] = (float) i_445_; - } - i_452_ += i_456_; - i_460_++; - } - i_453_ += i_457_; - i_452_ = i_529_; - i_460_ += i_461_; - } - return; - } - if (i_448_ == 2) { - int i_539_ = i_449_ >>> 24; - int i_540_ = 256 - i_539_; - int i_541_ = (i_449_ & 0xff00ff) * i_540_ & ~0xff00ff; - int i_542_ = (i_449_ & 0xff00) * i_540_ & 0xff0000; - i_449_ = (i_541_ | i_542_) >>> 8; - int i_543_ = i_452_; - for (int i_544_ = -i_447_; i_544_ < 0; i_544_++) { - int i_545_ = ((i_453_ >> 16) * this.anInt8471); - for (int i_546_ = -i_446_; i_546_ < 0; i_546_++) { - if ((float) i_445_ < fs[i_460_]) { - int i_547_ = (this.anIntArray9936[(i_452_ >> 16) + i_545_]); - int i_548_ = i_547_ >>> 24; - int i_549_ = 256 - i_548_; - i_541_ = (i_547_ & 0xff00ff) * i_539_ & ~0xff00ff; - i_542_ = (i_547_ & 0xff00) * i_539_ & 0xff0000; - i_547_ = ((i_541_ | i_542_) >>> 8) + i_449_; - int i_550_ = is[i_460_]; - is[i_460_] = ((((i_547_ & 0xff00ff) * i_548_ + (i_550_ & 0xff00ff) * i_549_) & ~0xff00ff) + (((i_547_ & 0xff00) * i_548_ + (i_550_ & 0xff00) * i_549_) & 0xff0000)) >> 8; - fs[i_460_] = (float) i_445_; - } - i_452_ += i_456_; - i_460_++; - } - i_453_ += i_457_; - i_452_ = i_543_; - i_460_ += i_461_; - } - return; - } - throw new IllegalArgumentException(); - } - if (i_450_ == 2) { - if (i_448_ == 1) { - int i_551_ = i_452_; - for (int i_552_ = -i_447_; i_552_ < 0; i_552_++) { - int i_553_ = ((i_453_ >> 16) * this.anInt8471); - for (int i_554_ = -i_446_; i_554_ < 0; i_554_++) { - if ((float) i_445_ < fs[i_460_]) { - int i_555_ = (this.anIntArray9936[(i_452_ >> 16) + i_553_]); - if (i_555_ != 0) { - int i_556_ = is[i_460_]; - int i_557_ = i_555_ + i_556_; - int i_558_ = ((i_555_ & 0xff00ff) + (i_556_ & 0xff00ff)); - i_556_ = ((i_558_ & 0x1000100) + (i_557_ - i_558_ & 0x10000)); - is[i_460_] = i_557_ - i_556_ | i_556_ - (i_556_ >>> 8); - fs[i_460_] = (float) i_445_; - } - } - i_452_ += i_456_; - i_460_++; - } - i_453_ += i_457_; - i_452_ = i_551_; - i_460_ += i_461_; - } - return; - } - if (i_448_ == 0) { - int i_559_ = i_452_; - int i_560_ = (i_449_ & 0xff0000) >> 16; - int i_561_ = (i_449_ & 0xff00) >> 8; - int i_562_ = i_449_ & 0xff; - for (int i_563_ = -i_447_; i_563_ < 0; i_563_++) { - int i_564_ = ((i_453_ >> 16) * this.anInt8471); - for (int i_565_ = -i_446_; i_565_ < 0; i_565_++) { - if ((float) i_445_ < fs[i_460_]) { - int i_566_ = (this.anIntArray9936[(i_452_ >> 16) + i_564_]); - if (i_566_ != 0) { - int i_567_ = ((i_566_ & 0xff0000) * i_560_ & ~0xffffff); - int i_568_ = ((i_566_ & 0xff00) * i_561_ & 0xff0000); - int i_569_ = (i_566_ & 0xff) * i_562_ & 0xff00; - i_566_ = (i_567_ | i_568_ | i_569_) >>> 8; - int i_570_ = is[i_460_]; - int i_571_ = i_566_ + i_570_; - int i_572_ = ((i_566_ & 0xff00ff) + (i_570_ & 0xff00ff)); - i_570_ = ((i_572_ & 0x1000100) + (i_571_ - i_572_ & 0x10000)); - is[i_460_] = i_571_ - i_570_ | i_570_ - (i_570_ >>> 8); - fs[i_460_] = (float) i_445_; - } - } - i_452_ += i_456_; - i_460_++; - } - i_453_ += i_457_; - i_452_ = i_559_; - i_460_ += i_461_; - } - return; - } - if (i_448_ == 3) { - int i_573_ = i_452_; - for (int i_574_ = -i_447_; i_574_ < 0; i_574_++) { - int i_575_ = ((i_453_ >> 16) * this.anInt8471); - for (int i_576_ = -i_446_; i_576_ < 0; i_576_++) { - if ((float) i_445_ < fs[i_460_]) { - int i_577_ = (this.anIntArray9936[(i_452_ >> 16) + i_575_]); - int i_578_ = i_577_ + i_449_; - int i_579_ = ((i_577_ & 0xff00ff) + (i_449_ & 0xff00ff)); - int i_580_ = ((i_579_ & 0x1000100) + (i_578_ - i_579_ & 0x10000)); - i_577_ = i_578_ - i_580_ | i_580_ - (i_580_ >>> 8); - i_580_ = is[i_460_]; - i_578_ = i_577_ + i_580_; - i_579_ = (i_577_ & 0xff00ff) + (i_580_ & 0xff00ff); - i_580_ = (i_579_ & 0x1000100) + (i_578_ - i_579_ & 0x10000); - is[i_460_] = i_578_ - i_580_ | i_580_ - (i_580_ >>> 8); - fs[i_460_] = (float) i_445_; - } - i_452_ += i_456_; - i_460_++; - } - i_453_ += i_457_; - i_452_ = i_573_; - i_460_ += i_461_; - } - return; - } - if (i_448_ == 2) { - int i_581_ = i_449_ >>> 24; - int i_582_ = 256 - i_581_; - int i_583_ = (i_449_ & 0xff00ff) * i_582_ & ~0xff00ff; - int i_584_ = (i_449_ & 0xff00) * i_582_ & 0xff0000; - i_449_ = (i_583_ | i_584_) >>> 8; - int i_585_ = i_452_; - for (int i_586_ = -i_447_; i_586_ < 0; i_586_++) { - int i_587_ = ((i_453_ >> 16) * this.anInt8471); - for (int i_588_ = -i_446_; i_588_ < 0; i_588_++) { - if ((float) i_445_ < fs[i_460_]) { - int i_589_ = (this.anIntArray9936[(i_452_ >> 16) + i_587_]); - if (i_589_ != 0) { - i_583_ = ((i_589_ & 0xff00ff) * i_581_ & ~0xff00ff); - i_584_ = ((i_589_ & 0xff00) * i_581_ & 0xff0000); - i_589_ = ((i_583_ | i_584_) >>> 8) + i_449_; - int i_590_ = is[i_460_]; - int i_591_ = i_589_ + i_590_; - int i_592_ = ((i_589_ & 0xff00ff) + (i_590_ & 0xff00ff)); - i_590_ = ((i_592_ & 0x1000100) + (i_591_ - i_592_ & 0x10000)); - is[i_460_] = i_591_ - i_590_ | i_590_ - (i_590_ >>> 8); - fs[i_460_] = (float) i_445_; - } - } - i_452_ += i_456_; - i_460_++; - } - i_453_ += i_457_; - i_452_ = i_585_; - i_460_ += i_461_; - } - return; - } - throw new IllegalArgumentException(); - } - throw new IllegalArgumentException(); - } - } - - final void method968(int i, int i_593_, int i_594_) { - if (i_594_ == 0) { - int[] is = (this.aHa_Sub1_8460.anIntArray7483); - for (int i_595_ = 0; i_595_ < this.anInt8470; i_595_++) { - int i_596_ = i_595_ * this.anInt8471; - int i_597_ = (((i_593_ + i_595_) * (this.aHa_Sub1_8460.anInt7477)) + i); - for (int i_598_ = 0; i_598_ < this.anInt8471; i_598_++) - this.anIntArray9936[i_596_ + i_598_] = ((this.anIntArray9936[i_596_ + i_598_]) & 0xffffff | is[i_597_ + i_598_] << 8 & ~0xffffff); - } - } else if (i_594_ == 1) { - int[] is = (this.aHa_Sub1_8460.anIntArray7483); - for (int i_599_ = 0; i_599_ < this.anInt8470; i_599_++) { - int i_600_ = i_599_ * this.anInt8471; - int i_601_ = (((i_593_ + i_599_) * (this.aHa_Sub1_8460.anInt7477)) + i); - for (int i_602_ = 0; i_602_ < this.anInt8471; i_602_++) - this.anIntArray9936[i_600_ + i_602_] = ((this.anIntArray9936[i_600_ + i_602_]) & 0xffffff | is[i_601_ + i_602_] << 16 & ~0xffffff); - } - } else if (i_594_ == 2) { - int[] is = (this.aHa_Sub1_8460.anIntArray7483); - for (int i_603_ = 0; i_603_ < this.anInt8470; i_603_++) { - int i_604_ = i_603_ * this.anInt8471; - int i_605_ = (((i_593_ + i_603_) * (this.aHa_Sub1_8460.anInt7477)) + i); - for (int i_606_ = 0; i_606_ < this.anInt8471; i_606_++) - this.anIntArray9936[i_604_ + i_606_] = ((this.anIntArray9936[i_604_ + i_606_]) & 0xffffff | is[i_605_ + i_606_] << 24 & ~0xffffff); - } - } else if (i_594_ == 3) { - int[] is = (this.aHa_Sub1_8460.anIntArray7483); - for (int i_607_ = 0; i_607_ < this.anInt8470; i_607_++) { - int i_608_ = i_607_ * this.anInt8471; - int i_609_ = (((i_593_ + i_607_) * (this.aHa_Sub1_8460.anInt7477)) + i); - for (int i_610_ = 0; i_610_ < this.anInt8471; i_610_++) - this.anIntArray9936[i_608_ + i_610_] = ((this.anIntArray9936[i_608_ + i_610_]) & 0xffffff | (is[i_609_ + i_610_] != 0 ? -16777216 : 0)); - } - } - } - - final void method994(int i, int i_611_) { - int[] is = this.aHa_Sub1_8460.anIntArray7483; - if (Class105_Sub3.anInt8481 == 0) { - if (Class105_Sub3.anInt8450 == 0) { - int i_612_ = Class105_Sub3.anInt8468; - while (i_612_ < 0) { - int i_613_ = Class105_Sub3.anInt8451; - int i_614_ = Class105_Sub3.anInt8458; - int i_615_ = Class105_Sub3.anInt8467; - int i_616_ = Class105_Sub3.anInt8478; - if (i_614_ >= 0 && i_615_ >= 0 && (i_614_ - (this.anInt8471 << 12) < 0) && (i_615_ - (this.anInt8470 << 12) < 0)) { - for (/**/; i_616_ < 0; i_616_++) { - int i_617_ = (((i_615_ >> 12) * this.anInt8471) + (i_614_ >> 12)); - int i_618_ = i_613_++; - int[] is_619_ = is; - int i_620_ = i; - int i_621_ = i_611_; - if (i_621_ == 0) { - if (i_620_ == 1) is_619_[i_618_] = (this.anIntArray9936[i_617_]); - else if (i_620_ == 0) { - int i_622_ = (this.anIntArray9936[i_617_++]); - int i_623_ = (((i_622_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_624_ = (((i_622_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_625_ = (((i_622_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_619_[i_618_] = (i_623_ | i_624_ | i_625_) >>> 8; - } else if (i_620_ == 3) { - int i_626_ = (this.anIntArray9936[i_617_++]); - int i_627_ = Class105_Sub3.anInt8480; - int i_628_ = i_626_ + i_627_; - int i_629_ = ((i_626_ & 0xff00ff) + (i_627_ & 0xff00ff)); - int i_630_ = ((i_629_ & 0x1000100) + (i_628_ - i_629_ & 0x10000)); - is_619_[i_618_] = i_628_ - i_630_ | i_630_ - (i_630_ >>> 8); - } else if (i_620_ == 2) { - int i_631_ = (this.anIntArray9936[i_617_]); - int i_632_ = (((i_631_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_633_ = (((i_631_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_619_[i_618_] = (((i_632_ | i_633_) >>> 8) + Class105_Sub3.anInt8474); - } else throw new IllegalArgumentException(); - } else if (i_621_ == 1) { - if (i_620_ == 1) { - int i_634_ = (this.anIntArray9936[i_617_]); - int i_635_ = i_634_ >>> 24; - int i_636_ = 256 - i_635_; - int i_637_ = is_619_[i_618_]; - is_619_[i_618_] = ((((i_634_ & 0xff00ff) * i_635_ + (i_637_ & 0xff00ff) * i_636_) & ~0xff00ff) + (((i_634_ & 0xff00) * i_635_ + (i_637_ & 0xff00) * i_636_) & 0xff0000)) >> 8; - } else if (i_620_ == 0) { - int i_638_ = (this.anIntArray9936[i_617_]); - int i_639_ = (((i_638_ >>> 24) * Class105_Sub3.anInt8477) >> 8); - int i_640_ = 256 - i_639_; - if ((Class105_Sub3.anInt8480 & 0xffffff) == 16777215) { - int i_641_ = is_619_[i_618_]; - is_619_[i_618_] = ((((i_638_ & 0xff00ff) * i_639_ + ((i_641_ & 0xff00ff) * i_640_)) & ~0xff00ff) + (((i_638_ & 0xff00) * i_639_ + ((i_641_ & 0xff00) * i_640_)) & 0xff0000)) >> 8; - } else if (i_639_ == 255) { - int i_646_ = (((i_638_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_647_ = (((i_638_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_648_ = (((i_638_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_619_[i_618_] = (i_646_ | i_647_ | i_648_) >>> 8; - } else { - int i_642_ = (((i_638_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_643_ = (((i_638_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_644_ = (((i_638_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_638_ = (i_642_ | i_643_ | i_644_) >>> 8; - int i_645_ = is_619_[i_618_]; - is_619_[i_618_] = ((((i_638_ & 0xff00ff) * i_639_ + ((i_645_ & 0xff00ff) * i_640_)) & ~0xff00ff) + (((i_638_ & 0xff00) * i_639_ + ((i_645_ & 0xff00) * i_640_)) & 0xff0000)) >> 8; - } - } else if (i_620_ == 3) { - int i_649_ = (this.anIntArray9936[i_617_]); - int i_650_ = Class105_Sub3.anInt8480; - int i_651_ = i_649_ + i_650_; - int i_652_ = ((i_649_ & 0xff00ff) + (i_650_ & 0xff00ff)); - int i_653_ = ((i_652_ & 0x1000100) + (i_651_ - i_652_ & 0x10000)); - i_653_ = i_651_ - i_653_ | i_653_ - (i_653_ >>> 8); - int i_654_ = (((i_649_ >>> 24) * Class105_Sub3.anInt8477) >> 8); - int i_655_ = 256 - i_654_; - if (i_654_ != 255) { - i_649_ = i_653_; - i_653_ = is_619_[i_618_]; - i_653_ = ((((i_649_ & 0xff00ff) * i_654_ + ((i_653_ & 0xff00ff) * i_655_)) & ~0xff00ff) + (((i_649_ & 0xff00) * i_654_ + ((i_653_ & 0xff00) * i_655_)) & 0xff0000)) >> 8; - } - is_619_[i_618_] = i_653_; - } else if (i_620_ == 2) { - int i_656_ = (this.anIntArray9936[i_617_]); - int i_657_ = i_656_ >>> 24; - int i_658_ = 256 - i_657_; - int i_659_ = (((i_656_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_660_ = (((i_656_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_656_ = (((i_659_ | i_660_) >>> 8) + Class105_Sub3.anInt8474); - int i_661_ = is_619_[i_618_]; - is_619_[i_618_] = ((((i_656_ & 0xff00ff) * i_657_ + (i_661_ & 0xff00ff) * i_658_) & ~0xff00ff) + (((i_656_ & 0xff00) * i_657_ + (i_661_ & 0xff00) * i_658_) & 0xff0000)) >> 8; - } else throw new IllegalArgumentException(); - } else if (i_621_ == 2) { - if (i_620_ == 1) { - int i_662_ = (this.anIntArray9936[i_617_]); - int i_663_ = is_619_[i_618_]; - int i_664_ = i_662_ + i_663_; - int i_665_ = ((i_662_ & 0xff00ff) + (i_663_ & 0xff00ff)); - i_663_ = ((i_665_ & 0x1000100) + (i_664_ - i_665_ & 0x10000)); - is_619_[i_618_] = i_664_ - i_663_ | i_663_ - (i_663_ >>> 8); - } else if (i_620_ == 0) { - int i_666_ = (this.anIntArray9936[i_617_]); - int i_667_ = (((i_666_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_668_ = (((i_666_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_669_ = (((i_666_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_666_ = (i_667_ | i_668_ | i_669_) >>> 8; - int i_670_ = is_619_[i_618_]; - int i_671_ = i_666_ + i_670_; - int i_672_ = ((i_666_ & 0xff00ff) + (i_670_ & 0xff00ff)); - i_670_ = ((i_672_ & 0x1000100) + (i_671_ - i_672_ & 0x10000)); - is_619_[i_618_] = i_671_ - i_670_ | i_670_ - (i_670_ >>> 8); - } else if (i_620_ == 3) { - int i_673_ = (this.anIntArray9936[i_617_]); - int i_674_ = Class105_Sub3.anInt8480; - int i_675_ = i_673_ + i_674_; - int i_676_ = ((i_673_ & 0xff00ff) + (i_674_ & 0xff00ff)); - int i_677_ = ((i_676_ & 0x1000100) + (i_675_ - i_676_ & 0x10000)); - i_673_ = i_675_ - i_677_ | i_677_ - (i_677_ >>> 8); - i_677_ = is_619_[i_618_]; - i_675_ = i_673_ + i_677_; - i_676_ = (i_673_ & 0xff00ff) + (i_677_ & 0xff00ff); - i_677_ = ((i_676_ & 0x1000100) + (i_675_ - i_676_ & 0x10000)); - is_619_[i_618_] = i_675_ - i_677_ | i_677_ - (i_677_ >>> 8); - } else if (i_620_ == 2) { - int i_678_ = (this.anIntArray9936[i_617_]); - int i_679_ = (((i_678_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_680_ = (((i_678_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_678_ = (((i_679_ | i_680_) >>> 8) + Class105_Sub3.anInt8474); - int i_681_ = is_619_[i_618_]; - int i_682_ = i_678_ + i_681_; - int i_683_ = ((i_678_ & 0xff00ff) + (i_681_ & 0xff00ff)); - i_681_ = ((i_683_ & 0x1000100) + (i_682_ - i_683_ & 0x10000)); - is_619_[i_618_] = i_682_ - i_681_ | i_681_ - (i_681_ >>> 8); - } - } else throw new IllegalArgumentException(); - } - } - i_612_++; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else if (Class105_Sub3.anInt8450 < 0) { - int i_684_ = Class105_Sub3.anInt8468; - while (i_684_ < 0) { - int i_685_ = Class105_Sub3.anInt8451; - int i_686_ = Class105_Sub3.anInt8458; - int i_687_ = Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475; - int i_688_ = Class105_Sub3.anInt8478; - if (i_686_ >= 0 && (i_686_ - (this.anInt8471 << 12) < 0)) { - int i_689_; - if ((i_689_ = i_687_ - (this.anInt8470 << 12)) >= 0) { - i_689_ = ((Class105_Sub3.anInt8450 - i_689_) / Class105_Sub3.anInt8450); - i_688_ += i_689_; - i_687_ += Class105_Sub3.anInt8450 * i_689_; - i_685_ += i_689_; - } - if ((i_689_ = ((i_687_ - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_688_) i_688_ = i_689_; - for (/**/; i_688_ < 0; i_688_++) { - int i_690_ = (((i_687_ >> 12) * this.anInt8471) + (i_686_ >> 12)); - int i_691_ = i_685_++; - int[] is_692_ = is; - int i_693_ = i; - int i_694_ = i_611_; - if (i_694_ == 0) { - if (i_693_ == 1) is_692_[i_691_] = (this.anIntArray9936[i_690_]); - else if (i_693_ == 0) { - int i_695_ = (this.anIntArray9936[i_690_++]); - int i_696_ = (((i_695_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_697_ = (((i_695_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_698_ = (((i_695_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_692_[i_691_] = (i_696_ | i_697_ | i_698_) >>> 8; - } else if (i_693_ == 3) { - int i_699_ = (this.anIntArray9936[i_690_++]); - int i_700_ = Class105_Sub3.anInt8480; - int i_701_ = i_699_ + i_700_; - int i_702_ = ((i_699_ & 0xff00ff) + (i_700_ & 0xff00ff)); - int i_703_ = ((i_702_ & 0x1000100) + (i_701_ - i_702_ & 0x10000)); - is_692_[i_691_] = i_701_ - i_703_ | i_703_ - (i_703_ >>> 8); - } else if (i_693_ == 2) { - int i_704_ = (this.anIntArray9936[i_690_]); - int i_705_ = (((i_704_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_706_ = (((i_704_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_692_[i_691_] = (((i_705_ | i_706_) >>> 8) + Class105_Sub3.anInt8474); - } else throw new IllegalArgumentException(); - } else if (i_694_ == 1) { - if (i_693_ == 1) { - int i_707_ = (this.anIntArray9936[i_690_]); - int i_708_ = i_707_ >>> 24; - int i_709_ = 256 - i_708_; - int i_710_ = is_692_[i_691_]; - is_692_[i_691_] = ((((i_707_ & 0xff00ff) * i_708_ + (i_710_ & 0xff00ff) * i_709_) & ~0xff00ff) + (((i_707_ & 0xff00) * i_708_ + (i_710_ & 0xff00) * i_709_) & 0xff0000)) >> 8; - } else if (i_693_ == 0) { - int i_711_ = (this.anIntArray9936[i_690_]); - int i_712_ = (((i_711_ >>> 24) * Class105_Sub3.anInt8477) >> 8); - int i_713_ = 256 - i_712_; - if ((Class105_Sub3.anInt8480 & 0xffffff) == 16777215) { - int i_714_ = is_692_[i_691_]; - is_692_[i_691_] = ((((i_711_ & 0xff00ff) * i_712_ + ((i_714_ & 0xff00ff) * i_713_)) & ~0xff00ff) + (((i_711_ & 0xff00) * i_712_ + ((i_714_ & 0xff00) * i_713_)) & 0xff0000)) >> 8; - } else if (i_712_ == 255) { - int i_719_ = (((i_711_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_720_ = (((i_711_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_721_ = (((i_711_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_692_[i_691_] = (i_719_ | i_720_ | i_721_) >>> 8; - } else { - int i_715_ = (((i_711_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_716_ = (((i_711_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_717_ = (((i_711_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_711_ = (i_715_ | i_716_ | i_717_) >>> 8; - int i_718_ = is_692_[i_691_]; - is_692_[i_691_] = ((((i_711_ & 0xff00ff) * i_712_ + ((i_718_ & 0xff00ff) * i_713_)) & ~0xff00ff) + (((i_711_ & 0xff00) * i_712_ + ((i_718_ & 0xff00) * i_713_)) & 0xff0000)) >> 8; - } - } else if (i_693_ == 3) { - int i_722_ = (this.anIntArray9936[i_690_]); - int i_723_ = Class105_Sub3.anInt8480; - int i_724_ = i_722_ + i_723_; - int i_725_ = ((i_722_ & 0xff00ff) + (i_723_ & 0xff00ff)); - int i_726_ = ((i_725_ & 0x1000100) + (i_724_ - i_725_ & 0x10000)); - i_726_ = i_724_ - i_726_ | i_726_ - (i_726_ >>> 8); - int i_727_ = (((i_722_ >>> 24) * Class105_Sub3.anInt8477) >> 8); - int i_728_ = 256 - i_727_; - if (i_727_ != 255) { - i_722_ = i_726_; - i_726_ = is_692_[i_691_]; - i_726_ = ((((i_722_ & 0xff00ff) * i_727_ + ((i_726_ & 0xff00ff) * i_728_)) & ~0xff00ff) + (((i_722_ & 0xff00) * i_727_ + ((i_726_ & 0xff00) * i_728_)) & 0xff0000)) >> 8; - } - is_692_[i_691_] = i_726_; - } else if (i_693_ == 2) { - int i_729_ = (this.anIntArray9936[i_690_]); - int i_730_ = i_729_ >>> 24; - int i_731_ = 256 - i_730_; - int i_732_ = (((i_729_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_733_ = (((i_729_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_729_ = (((i_732_ | i_733_) >>> 8) + Class105_Sub3.anInt8474); - int i_734_ = is_692_[i_691_]; - is_692_[i_691_] = ((((i_729_ & 0xff00ff) * i_730_ + (i_734_ & 0xff00ff) * i_731_) & ~0xff00ff) + (((i_729_ & 0xff00) * i_730_ + (i_734_ & 0xff00) * i_731_) & 0xff0000)) >> 8; - } else throw new IllegalArgumentException(); - } else if (i_694_ == 2) { - if (i_693_ == 1) { - int i_735_ = (this.anIntArray9936[i_690_]); - int i_736_ = is_692_[i_691_]; - int i_737_ = i_735_ + i_736_; - int i_738_ = ((i_735_ & 0xff00ff) + (i_736_ & 0xff00ff)); - i_736_ = ((i_738_ & 0x1000100) + (i_737_ - i_738_ & 0x10000)); - is_692_[i_691_] = i_737_ - i_736_ | i_736_ - (i_736_ >>> 8); - } else if (i_693_ == 0) { - int i_739_ = (this.anIntArray9936[i_690_]); - int i_740_ = (((i_739_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_741_ = (((i_739_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_742_ = (((i_739_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_739_ = (i_740_ | i_741_ | i_742_) >>> 8; - int i_743_ = is_692_[i_691_]; - int i_744_ = i_739_ + i_743_; - int i_745_ = ((i_739_ & 0xff00ff) + (i_743_ & 0xff00ff)); - i_743_ = ((i_745_ & 0x1000100) + (i_744_ - i_745_ & 0x10000)); - is_692_[i_691_] = i_744_ - i_743_ | i_743_ - (i_743_ >>> 8); - } else if (i_693_ == 3) { - int i_746_ = (this.anIntArray9936[i_690_]); - int i_747_ = Class105_Sub3.anInt8480; - int i_748_ = i_746_ + i_747_; - int i_749_ = ((i_746_ & 0xff00ff) + (i_747_ & 0xff00ff)); - int i_750_ = ((i_749_ & 0x1000100) + (i_748_ - i_749_ & 0x10000)); - i_746_ = i_748_ - i_750_ | i_750_ - (i_750_ >>> 8); - i_750_ = is_692_[i_691_]; - i_748_ = i_746_ + i_750_; - i_749_ = (i_746_ & 0xff00ff) + (i_750_ & 0xff00ff); - i_750_ = ((i_749_ & 0x1000100) + (i_748_ - i_749_ & 0x10000)); - is_692_[i_691_] = i_748_ - i_750_ | i_750_ - (i_750_ >>> 8); - } else if (i_693_ == 2) { - int i_751_ = (this.anIntArray9936[i_690_]); - int i_752_ = (((i_751_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_753_ = (((i_751_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_751_ = (((i_752_ | i_753_) >>> 8) + Class105_Sub3.anInt8474); - int i_754_ = is_692_[i_691_]; - int i_755_ = i_751_ + i_754_; - int i_756_ = ((i_751_ & 0xff00ff) + (i_754_ & 0xff00ff)); - i_754_ = ((i_756_ & 0x1000100) + (i_755_ - i_756_ & 0x10000)); - is_692_[i_691_] = i_755_ - i_754_ | i_754_ - (i_754_ >>> 8); - } - } else throw new IllegalArgumentException(); - i_687_ += Class105_Sub3.anInt8450; - } - } - i_684_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else { - int i_757_ = Class105_Sub3.anInt8468; - while (i_757_ < 0) { - int i_758_ = Class105_Sub3.anInt8451; - int i_759_ = Class105_Sub3.anInt8458; - int i_760_ = Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475; - int i_761_ = Class105_Sub3.anInt8478; - if (i_759_ >= 0 && (i_759_ - (this.anInt8471 << 12) < 0)) { - if (i_760_ < 0) { - int i_762_ = ((Class105_Sub3.anInt8450 - 1 - i_760_) / Class105_Sub3.anInt8450); - i_761_ += i_762_; - i_760_ += Class105_Sub3.anInt8450 * i_762_; - i_758_ += i_762_; - } - int i_763_; - if ((i_763_ = ((1 + i_760_ - (this.anInt8470 << 12) - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_761_) i_761_ = i_763_; - for (/**/; i_761_ < 0; i_761_++) { - int i_764_ = (((i_760_ >> 12) * this.anInt8471) + (i_759_ >> 12)); - int i_765_ = i_758_++; - int[] is_766_ = is; - int i_767_ = i; - int i_768_ = i_611_; - if (i_768_ == 0) { - if (i_767_ == 1) is_766_[i_765_] = (this.anIntArray9936[i_764_]); - else if (i_767_ == 0) { - int i_769_ = (this.anIntArray9936[i_764_++]); - int i_770_ = (((i_769_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_771_ = (((i_769_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_772_ = (((i_769_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_766_[i_765_] = (i_770_ | i_771_ | i_772_) >>> 8; - } else if (i_767_ == 3) { - int i_773_ = (this.anIntArray9936[i_764_++]); - int i_774_ = Class105_Sub3.anInt8480; - int i_775_ = i_773_ + i_774_; - int i_776_ = ((i_773_ & 0xff00ff) + (i_774_ & 0xff00ff)); - int i_777_ = ((i_776_ & 0x1000100) + (i_775_ - i_776_ & 0x10000)); - is_766_[i_765_] = i_775_ - i_777_ | i_777_ - (i_777_ >>> 8); - } else if (i_767_ == 2) { - int i_778_ = (this.anIntArray9936[i_764_]); - int i_779_ = (((i_778_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_780_ = (((i_778_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_766_[i_765_] = (((i_779_ | i_780_) >>> 8) + Class105_Sub3.anInt8474); - } else throw new IllegalArgumentException(); - } else if (i_768_ == 1) { - if (i_767_ == 1) { - int i_781_ = (this.anIntArray9936[i_764_]); - int i_782_ = i_781_ >>> 24; - int i_783_ = 256 - i_782_; - int i_784_ = is_766_[i_765_]; - is_766_[i_765_] = ((((i_781_ & 0xff00ff) * i_782_ + (i_784_ & 0xff00ff) * i_783_) & ~0xff00ff) + (((i_781_ & 0xff00) * i_782_ + (i_784_ & 0xff00) * i_783_) & 0xff0000)) >> 8; - } else if (i_767_ == 0) { - int i_785_ = (this.anIntArray9936[i_764_]); - int i_786_ = (((i_785_ >>> 24) * Class105_Sub3.anInt8477) >> 8); - int i_787_ = 256 - i_786_; - if ((Class105_Sub3.anInt8480 & 0xffffff) == 16777215) { - int i_788_ = is_766_[i_765_]; - is_766_[i_765_] = ((((i_785_ & 0xff00ff) * i_786_ + ((i_788_ & 0xff00ff) * i_787_)) & ~0xff00ff) + (((i_785_ & 0xff00) * i_786_ + ((i_788_ & 0xff00) * i_787_)) & 0xff0000)) >> 8; - } else if (i_786_ == 255) { - int i_793_ = (((i_785_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_794_ = (((i_785_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_795_ = (((i_785_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_766_[i_765_] = (i_793_ | i_794_ | i_795_) >>> 8; - } else { - int i_789_ = (((i_785_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_790_ = (((i_785_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_791_ = (((i_785_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_785_ = (i_789_ | i_790_ | i_791_) >>> 8; - int i_792_ = is_766_[i_765_]; - is_766_[i_765_] = ((((i_785_ & 0xff00ff) * i_786_ + ((i_792_ & 0xff00ff) * i_787_)) & ~0xff00ff) + (((i_785_ & 0xff00) * i_786_ + ((i_792_ & 0xff00) * i_787_)) & 0xff0000)) >> 8; - } - } else if (i_767_ == 3) { - int i_796_ = (this.anIntArray9936[i_764_]); - int i_797_ = Class105_Sub3.anInt8480; - int i_798_ = i_796_ + i_797_; - int i_799_ = ((i_796_ & 0xff00ff) + (i_797_ & 0xff00ff)); - int i_800_ = ((i_799_ & 0x1000100) + (i_798_ - i_799_ & 0x10000)); - i_800_ = i_798_ - i_800_ | i_800_ - (i_800_ >>> 8); - int i_801_ = (((i_796_ >>> 24) * Class105_Sub3.anInt8477) >> 8); - int i_802_ = 256 - i_801_; - if (i_801_ != 255) { - i_796_ = i_800_; - i_800_ = is_766_[i_765_]; - i_800_ = ((((i_796_ & 0xff00ff) * i_801_ + ((i_800_ & 0xff00ff) * i_802_)) & ~0xff00ff) + (((i_796_ & 0xff00) * i_801_ + ((i_800_ & 0xff00) * i_802_)) & 0xff0000)) >> 8; - } - is_766_[i_765_] = i_800_; - } else if (i_767_ == 2) { - int i_803_ = (this.anIntArray9936[i_764_]); - int i_804_ = i_803_ >>> 24; - int i_805_ = 256 - i_804_; - int i_806_ = (((i_803_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_807_ = (((i_803_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_803_ = (((i_806_ | i_807_) >>> 8) + Class105_Sub3.anInt8474); - int i_808_ = is_766_[i_765_]; - is_766_[i_765_] = ((((i_803_ & 0xff00ff) * i_804_ + (i_808_ & 0xff00ff) * i_805_) & ~0xff00ff) + (((i_803_ & 0xff00) * i_804_ + (i_808_ & 0xff00) * i_805_) & 0xff0000)) >> 8; - } else throw new IllegalArgumentException(); - } else if (i_768_ == 2) { - if (i_767_ == 1) { - int i_809_ = (this.anIntArray9936[i_764_]); - int i_810_ = is_766_[i_765_]; - int i_811_ = i_809_ + i_810_; - int i_812_ = ((i_809_ & 0xff00ff) + (i_810_ & 0xff00ff)); - i_810_ = ((i_812_ & 0x1000100) + (i_811_ - i_812_ & 0x10000)); - is_766_[i_765_] = i_811_ - i_810_ | i_810_ - (i_810_ >>> 8); - } else if (i_767_ == 0) { - int i_813_ = (this.anIntArray9936[i_764_]); - int i_814_ = (((i_813_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_815_ = (((i_813_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_816_ = (((i_813_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_813_ = (i_814_ | i_815_ | i_816_) >>> 8; - int i_817_ = is_766_[i_765_]; - int i_818_ = i_813_ + i_817_; - int i_819_ = ((i_813_ & 0xff00ff) + (i_817_ & 0xff00ff)); - i_817_ = ((i_819_ & 0x1000100) + (i_818_ - i_819_ & 0x10000)); - is_766_[i_765_] = i_818_ - i_817_ | i_817_ - (i_817_ >>> 8); - } else if (i_767_ == 3) { - int i_820_ = (this.anIntArray9936[i_764_]); - int i_821_ = Class105_Sub3.anInt8480; - int i_822_ = i_820_ + i_821_; - int i_823_ = ((i_820_ & 0xff00ff) + (i_821_ & 0xff00ff)); - int i_824_ = ((i_823_ & 0x1000100) + (i_822_ - i_823_ & 0x10000)); - i_820_ = i_822_ - i_824_ | i_824_ - (i_824_ >>> 8); - i_824_ = is_766_[i_765_]; - i_822_ = i_820_ + i_824_; - i_823_ = (i_820_ & 0xff00ff) + (i_824_ & 0xff00ff); - i_824_ = ((i_823_ & 0x1000100) + (i_822_ - i_823_ & 0x10000)); - is_766_[i_765_] = i_822_ - i_824_ | i_824_ - (i_824_ >>> 8); - } else if (i_767_ == 2) { - int i_825_ = (this.anIntArray9936[i_764_]); - int i_826_ = (((i_825_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_827_ = (((i_825_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_825_ = (((i_826_ | i_827_) >>> 8) + Class105_Sub3.anInt8474); - int i_828_ = is_766_[i_765_]; - int i_829_ = i_825_ + i_828_; - int i_830_ = ((i_825_ & 0xff00ff) + (i_828_ & 0xff00ff)); - i_828_ = ((i_830_ & 0x1000100) + (i_829_ - i_830_ & 0x10000)); - is_766_[i_765_] = i_829_ - i_828_ | i_828_ - (i_828_ >>> 8); - } - } else throw new IllegalArgumentException(); - i_760_ += Class105_Sub3.anInt8450; - } - } - i_757_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } - } else if (Class105_Sub3.anInt8481 < 0) { - if (Class105_Sub3.anInt8450 == 0) { - int i_831_ = Class105_Sub3.anInt8468; - while (i_831_ < 0) { - int i_832_ = Class105_Sub3.anInt8451; - int i_833_ = Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479; - int i_834_ = Class105_Sub3.anInt8467; - int i_835_ = Class105_Sub3.anInt8478; - if (i_834_ >= 0 && (i_834_ - (this.anInt8470 << 12) < 0)) { - int i_836_; - if ((i_836_ = i_833_ - (this.anInt8471 << 12)) >= 0) { - i_836_ = ((Class105_Sub3.anInt8481 - i_836_) / Class105_Sub3.anInt8481); - i_835_ += i_836_; - i_833_ += Class105_Sub3.anInt8481 * i_836_; - i_832_ += i_836_; - } - if ((i_836_ = ((i_833_ - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_835_) i_835_ = i_836_; - for (/**/; i_835_ < 0; i_835_++) { - int i_837_ = (((i_834_ >> 12) * this.anInt8471) + (i_833_ >> 12)); - int i_838_ = i_832_++; - int[] is_839_ = is; - int i_840_ = i; - int i_841_ = i_611_; - if (i_841_ == 0) { - if (i_840_ == 1) is_839_[i_838_] = (this.anIntArray9936[i_837_]); - else if (i_840_ == 0) { - int i_842_ = (this.anIntArray9936[i_837_++]); - int i_843_ = (((i_842_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_844_ = (((i_842_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_845_ = (((i_842_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_839_[i_838_] = (i_843_ | i_844_ | i_845_) >>> 8; - } else if (i_840_ == 3) { - int i_846_ = (this.anIntArray9936[i_837_++]); - int i_847_ = Class105_Sub3.anInt8480; - int i_848_ = i_846_ + i_847_; - int i_849_ = ((i_846_ & 0xff00ff) + (i_847_ & 0xff00ff)); - int i_850_ = ((i_849_ & 0x1000100) + (i_848_ - i_849_ & 0x10000)); - is_839_[i_838_] = i_848_ - i_850_ | i_850_ - (i_850_ >>> 8); - } else if (i_840_ == 2) { - int i_851_ = (this.anIntArray9936[i_837_]); - int i_852_ = (((i_851_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_853_ = (((i_851_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_839_[i_838_] = (((i_852_ | i_853_) >>> 8) + Class105_Sub3.anInt8474); - } else throw new IllegalArgumentException(); - } else if (i_841_ == 1) { - if (i_840_ == 1) { - int i_854_ = (this.anIntArray9936[i_837_]); - int i_855_ = i_854_ >>> 24; - int i_856_ = 256 - i_855_; - int i_857_ = is_839_[i_838_]; - is_839_[i_838_] = ((((i_854_ & 0xff00ff) * i_855_ + (i_857_ & 0xff00ff) * i_856_) & ~0xff00ff) + (((i_854_ & 0xff00) * i_855_ + (i_857_ & 0xff00) * i_856_) & 0xff0000)) >> 8; - } else if (i_840_ == 0) { - int i_858_ = (this.anIntArray9936[i_837_]); - int i_859_ = (((i_858_ >>> 24) * Class105_Sub3.anInt8477) >> 8); - int i_860_ = 256 - i_859_; - if ((Class105_Sub3.anInt8480 & 0xffffff) == 16777215) { - int i_861_ = is_839_[i_838_]; - is_839_[i_838_] = ((((i_858_ & 0xff00ff) * i_859_ + ((i_861_ & 0xff00ff) * i_860_)) & ~0xff00ff) + (((i_858_ & 0xff00) * i_859_ + ((i_861_ & 0xff00) * i_860_)) & 0xff0000)) >> 8; - } else if (i_859_ == 255) { - int i_866_ = (((i_858_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_867_ = (((i_858_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_868_ = (((i_858_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_839_[i_838_] = (i_866_ | i_867_ | i_868_) >>> 8; - } else { - int i_862_ = (((i_858_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_863_ = (((i_858_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_864_ = (((i_858_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_858_ = (i_862_ | i_863_ | i_864_) >>> 8; - int i_865_ = is_839_[i_838_]; - is_839_[i_838_] = ((((i_858_ & 0xff00ff) * i_859_ + ((i_865_ & 0xff00ff) * i_860_)) & ~0xff00ff) + (((i_858_ & 0xff00) * i_859_ + ((i_865_ & 0xff00) * i_860_)) & 0xff0000)) >> 8; - } - } else if (i_840_ == 3) { - int i_869_ = (this.anIntArray9936[i_837_]); - int i_870_ = Class105_Sub3.anInt8480; - int i_871_ = i_869_ + i_870_; - int i_872_ = ((i_869_ & 0xff00ff) + (i_870_ & 0xff00ff)); - int i_873_ = ((i_872_ & 0x1000100) + (i_871_ - i_872_ & 0x10000)); - i_873_ = i_871_ - i_873_ | i_873_ - (i_873_ >>> 8); - int i_874_ = (((i_869_ >>> 24) * Class105_Sub3.anInt8477) >> 8); - int i_875_ = 256 - i_874_; - if (i_874_ != 255) { - i_869_ = i_873_; - i_873_ = is_839_[i_838_]; - i_873_ = ((((i_869_ & 0xff00ff) * i_874_ + ((i_873_ & 0xff00ff) * i_875_)) & ~0xff00ff) + (((i_869_ & 0xff00) * i_874_ + ((i_873_ & 0xff00) * i_875_)) & 0xff0000)) >> 8; - } - is_839_[i_838_] = i_873_; - } else if (i_840_ == 2) { - int i_876_ = (this.anIntArray9936[i_837_]); - int i_877_ = i_876_ >>> 24; - int i_878_ = 256 - i_877_; - int i_879_ = (((i_876_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_880_ = (((i_876_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_876_ = (((i_879_ | i_880_) >>> 8) + Class105_Sub3.anInt8474); - int i_881_ = is_839_[i_838_]; - is_839_[i_838_] = ((((i_876_ & 0xff00ff) * i_877_ + (i_881_ & 0xff00ff) * i_878_) & ~0xff00ff) + (((i_876_ & 0xff00) * i_877_ + (i_881_ & 0xff00) * i_878_) & 0xff0000)) >> 8; - } else throw new IllegalArgumentException(); - } else if (i_841_ == 2) { - if (i_840_ == 1) { - int i_882_ = (this.anIntArray9936[i_837_]); - int i_883_ = is_839_[i_838_]; - int i_884_ = i_882_ + i_883_; - int i_885_ = ((i_882_ & 0xff00ff) + (i_883_ & 0xff00ff)); - i_883_ = ((i_885_ & 0x1000100) + (i_884_ - i_885_ & 0x10000)); - is_839_[i_838_] = i_884_ - i_883_ | i_883_ - (i_883_ >>> 8); - } else if (i_840_ == 0) { - int i_886_ = (this.anIntArray9936[i_837_]); - int i_887_ = (((i_886_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_888_ = (((i_886_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_889_ = (((i_886_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_886_ = (i_887_ | i_888_ | i_889_) >>> 8; - int i_890_ = is_839_[i_838_]; - int i_891_ = i_886_ + i_890_; - int i_892_ = ((i_886_ & 0xff00ff) + (i_890_ & 0xff00ff)); - i_890_ = ((i_892_ & 0x1000100) + (i_891_ - i_892_ & 0x10000)); - is_839_[i_838_] = i_891_ - i_890_ | i_890_ - (i_890_ >>> 8); - } else if (i_840_ == 3) { - int i_893_ = (this.anIntArray9936[i_837_]); - int i_894_ = Class105_Sub3.anInt8480; - int i_895_ = i_893_ + i_894_; - int i_896_ = ((i_893_ & 0xff00ff) + (i_894_ & 0xff00ff)); - int i_897_ = ((i_896_ & 0x1000100) + (i_895_ - i_896_ & 0x10000)); - i_893_ = i_895_ - i_897_ | i_897_ - (i_897_ >>> 8); - i_897_ = is_839_[i_838_]; - i_895_ = i_893_ + i_897_; - i_896_ = (i_893_ & 0xff00ff) + (i_897_ & 0xff00ff); - i_897_ = ((i_896_ & 0x1000100) + (i_895_ - i_896_ & 0x10000)); - is_839_[i_838_] = i_895_ - i_897_ | i_897_ - (i_897_ >>> 8); - } else if (i_840_ == 2) { - int i_898_ = (this.anIntArray9936[i_837_]); - int i_899_ = (((i_898_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_900_ = (((i_898_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_898_ = (((i_899_ | i_900_) >>> 8) + Class105_Sub3.anInt8474); - int i_901_ = is_839_[i_838_]; - int i_902_ = i_898_ + i_901_; - int i_903_ = ((i_898_ & 0xff00ff) + (i_901_ & 0xff00ff)); - i_901_ = ((i_903_ & 0x1000100) + (i_902_ - i_903_ & 0x10000)); - is_839_[i_838_] = i_902_ - i_901_ | i_901_ - (i_901_ >>> 8); - } - } else throw new IllegalArgumentException(); - i_833_ += Class105_Sub3.anInt8481; - } - } - i_831_++; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else if (Class105_Sub3.anInt8450 < 0) { - int i_904_ = Class105_Sub3.anInt8468; - while (i_904_ < 0) { - int i_905_ = Class105_Sub3.anInt8451; - int i_906_ = Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479; - int i_907_ = Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475; - int i_908_ = Class105_Sub3.anInt8478; - int i_909_; - if ((i_909_ = i_906_ - (this.anInt8471 << 12)) >= 0) { - i_909_ = ((Class105_Sub3.anInt8481 - i_909_) / Class105_Sub3.anInt8481); - i_908_ += i_909_; - i_906_ += Class105_Sub3.anInt8481 * i_909_; - i_907_ += Class105_Sub3.anInt8450 * i_909_; - i_905_ += i_909_; - } - if ((i_909_ = ((i_906_ - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_908_) i_908_ = i_909_; - if ((i_909_ = i_907_ - (this.anInt8470 << 12)) >= 0) { - i_909_ = ((Class105_Sub3.anInt8450 - i_909_) / Class105_Sub3.anInt8450); - i_908_ += i_909_; - i_906_ += Class105_Sub3.anInt8481 * i_909_; - i_907_ += Class105_Sub3.anInt8450 * i_909_; - i_905_ += i_909_; - } - if ((i_909_ = ((i_907_ - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_908_) i_908_ = i_909_; - for (/**/; i_908_ < 0; i_908_++) { - int i_910_ = (((i_907_ >> 12) * this.anInt8471) + (i_906_ >> 12)); - int i_911_ = i_905_++; - int[] is_912_ = is; - int i_913_ = i; - int i_914_ = i_611_; - if (i_914_ == 0) { - if (i_913_ == 1) is_912_[i_911_] = (this.anIntArray9936[i_910_]); - else if (i_913_ == 0) { - int i_915_ = (this.anIntArray9936[i_910_++]); - int i_916_ = (((i_915_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_917_ = (((i_915_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_918_ = (((i_915_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_912_[i_911_] = (i_916_ | i_917_ | i_918_) >>> 8; - } else if (i_913_ == 3) { - int i_919_ = (this.anIntArray9936[i_910_++]); - int i_920_ = Class105_Sub3.anInt8480; - int i_921_ = i_919_ + i_920_; - int i_922_ = ((i_919_ & 0xff00ff) + (i_920_ & 0xff00ff)); - int i_923_ = ((i_922_ & 0x1000100) + (i_921_ - i_922_ & 0x10000)); - is_912_[i_911_] = i_921_ - i_923_ | i_923_ - (i_923_ >>> 8); - } else if (i_913_ == 2) { - int i_924_ = (this.anIntArray9936[i_910_]); - int i_925_ = (((i_924_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_926_ = (((i_924_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_912_[i_911_] = (((i_925_ | i_926_) >>> 8) + Class105_Sub3.anInt8474); - } else throw new IllegalArgumentException(); - } else if (i_914_ == 1) { - if (i_913_ == 1) { - int i_927_ = (this.anIntArray9936[i_910_]); - int i_928_ = i_927_ >>> 24; - int i_929_ = 256 - i_928_; - int i_930_ = is_912_[i_911_]; - is_912_[i_911_] = ((((i_927_ & 0xff00ff) * i_928_ + (i_930_ & 0xff00ff) * i_929_) & ~0xff00ff) + (((i_927_ & 0xff00) * i_928_ + (i_930_ & 0xff00) * i_929_) & 0xff0000)) >> 8; - } else if (i_913_ == 0) { - int i_931_ = (this.anIntArray9936[i_910_]); - int i_932_ = (((i_931_ >>> 24) * Class105_Sub3.anInt8477) >> 8); - int i_933_ = 256 - i_932_; - if ((Class105_Sub3.anInt8480 & 0xffffff) == 16777215) { - int i_934_ = is_912_[i_911_]; - is_912_[i_911_] = ((((i_931_ & 0xff00ff) * i_932_ + (i_934_ & 0xff00ff) * i_933_) & ~0xff00ff) + (((i_931_ & 0xff00) * i_932_ + (i_934_ & 0xff00) * i_933_) & 0xff0000)) >> 8; - } else if (i_932_ == 255) { - int i_939_ = (((i_931_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_940_ = (((i_931_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_941_ = (((i_931_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_912_[i_911_] = (i_939_ | i_940_ | i_941_) >>> 8; - } else { - int i_935_ = (((i_931_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_936_ = (((i_931_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_937_ = (((i_931_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_931_ = (i_935_ | i_936_ | i_937_) >>> 8; - int i_938_ = is_912_[i_911_]; - is_912_[i_911_] = ((((i_931_ & 0xff00ff) * i_932_ + (i_938_ & 0xff00ff) * i_933_) & ~0xff00ff) + (((i_931_ & 0xff00) * i_932_ + (i_938_ & 0xff00) * i_933_) & 0xff0000)) >> 8; - } - } else if (i_913_ == 3) { - int i_942_ = (this.anIntArray9936[i_910_]); - int i_943_ = Class105_Sub3.anInt8480; - int i_944_ = i_942_ + i_943_; - int i_945_ = ((i_942_ & 0xff00ff) + (i_943_ & 0xff00ff)); - int i_946_ = ((i_945_ & 0x1000100) + (i_944_ - i_945_ & 0x10000)); - i_946_ = i_944_ - i_946_ | i_946_ - (i_946_ >>> 8); - int i_947_ = (((i_942_ >>> 24) * Class105_Sub3.anInt8477) >> 8); - int i_948_ = 256 - i_947_; - if (i_947_ != 255) { - i_942_ = i_946_; - i_946_ = is_912_[i_911_]; - i_946_ = ((((i_942_ & 0xff00ff) * i_947_ + (i_946_ & 0xff00ff) * i_948_) & ~0xff00ff) + (((i_942_ & 0xff00) * i_947_ + (i_946_ & 0xff00) * i_948_) & 0xff0000)) >> 8; - } - is_912_[i_911_] = i_946_; - } else if (i_913_ == 2) { - int i_949_ = (this.anIntArray9936[i_910_]); - int i_950_ = i_949_ >>> 24; - int i_951_ = 256 - i_950_; - int i_952_ = (((i_949_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_953_ = (((i_949_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_949_ = (((i_952_ | i_953_) >>> 8) + Class105_Sub3.anInt8474); - int i_954_ = is_912_[i_911_]; - is_912_[i_911_] = ((((i_949_ & 0xff00ff) * i_950_ + (i_954_ & 0xff00ff) * i_951_) & ~0xff00ff) + (((i_949_ & 0xff00) * i_950_ + (i_954_ & 0xff00) * i_951_) & 0xff0000)) >> 8; - } else throw new IllegalArgumentException(); - } else if (i_914_ == 2) { - if (i_913_ == 1) { - int i_955_ = (this.anIntArray9936[i_910_]); - int i_956_ = is_912_[i_911_]; - int i_957_ = i_955_ + i_956_; - int i_958_ = ((i_955_ & 0xff00ff) + (i_956_ & 0xff00ff)); - i_956_ = (i_958_ & 0x1000100) + (i_957_ - i_958_ & 0x10000); - is_912_[i_911_] = i_957_ - i_956_ | i_956_ - (i_956_ >>> 8); - } else if (i_913_ == 0) { - int i_959_ = (this.anIntArray9936[i_910_]); - int i_960_ = (((i_959_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_961_ = (((i_959_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_962_ = (((i_959_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_959_ = (i_960_ | i_961_ | i_962_) >>> 8; - int i_963_ = is_912_[i_911_]; - int i_964_ = i_959_ + i_963_; - int i_965_ = ((i_959_ & 0xff00ff) + (i_963_ & 0xff00ff)); - i_963_ = (i_965_ & 0x1000100) + (i_964_ - i_965_ & 0x10000); - is_912_[i_911_] = i_964_ - i_963_ | i_963_ - (i_963_ >>> 8); - } else if (i_913_ == 3) { - int i_966_ = (this.anIntArray9936[i_910_]); - int i_967_ = Class105_Sub3.anInt8480; - int i_968_ = i_966_ + i_967_; - int i_969_ = ((i_966_ & 0xff00ff) + (i_967_ & 0xff00ff)); - int i_970_ = ((i_969_ & 0x1000100) + (i_968_ - i_969_ & 0x10000)); - i_966_ = i_968_ - i_970_ | i_970_ - (i_970_ >>> 8); - i_970_ = is_912_[i_911_]; - i_968_ = i_966_ + i_970_; - i_969_ = (i_966_ & 0xff00ff) + (i_970_ & 0xff00ff); - i_970_ = (i_969_ & 0x1000100) + (i_968_ - i_969_ & 0x10000); - is_912_[i_911_] = i_968_ - i_970_ | i_970_ - (i_970_ >>> 8); - } else if (i_913_ == 2) { - int i_971_ = (this.anIntArray9936[i_910_]); - int i_972_ = (((i_971_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_973_ = (((i_971_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_971_ = (((i_972_ | i_973_) >>> 8) + Class105_Sub3.anInt8474); - int i_974_ = is_912_[i_911_]; - int i_975_ = i_971_ + i_974_; - int i_976_ = ((i_971_ & 0xff00ff) + (i_974_ & 0xff00ff)); - i_974_ = (i_976_ & 0x1000100) + (i_975_ - i_976_ & 0x10000); - is_912_[i_911_] = i_975_ - i_974_ | i_974_ - (i_974_ >>> 8); - } - } else throw new IllegalArgumentException(); - i_906_ += Class105_Sub3.anInt8481; - i_907_ += Class105_Sub3.anInt8450; - } - i_904_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else { - int i_977_ = Class105_Sub3.anInt8468; - while (i_977_ < 0) { - int i_978_ = Class105_Sub3.anInt8451; - int i_979_ = Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479; - int i_980_ = Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475; - int i_981_ = Class105_Sub3.anInt8478; - int i_982_; - if ((i_982_ = i_979_ - (this.anInt8471 << 12)) >= 0) { - i_982_ = ((Class105_Sub3.anInt8481 - i_982_) / Class105_Sub3.anInt8481); - i_981_ += i_982_; - i_979_ += Class105_Sub3.anInt8481 * i_982_; - i_980_ += Class105_Sub3.anInt8450 * i_982_; - i_978_ += i_982_; - } - if ((i_982_ = ((i_979_ - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_981_) i_981_ = i_982_; - if (i_980_ < 0) { - i_982_ = ((Class105_Sub3.anInt8450 - 1 - i_980_) / Class105_Sub3.anInt8450); - i_981_ += i_982_; - i_979_ += Class105_Sub3.anInt8481 * i_982_; - i_980_ += Class105_Sub3.anInt8450 * i_982_; - i_978_ += i_982_; - } - if ((i_982_ = ((1 + i_980_ - (this.anInt8470 << 12) - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_981_) i_981_ = i_982_; - for (/**/; i_981_ < 0; i_981_++) { - int i_983_ = (((i_980_ >> 12) * this.anInt8471) + (i_979_ >> 12)); - int i_984_ = i_978_++; - int[] is_985_ = is; - int i_986_ = i; - int i_987_ = i_611_; - if (i_987_ == 0) { - if (i_986_ == 1) is_985_[i_984_] = (this.anIntArray9936[i_983_]); - else if (i_986_ == 0) { - int i_988_ = (this.anIntArray9936[i_983_++]); - int i_989_ = (((i_988_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_990_ = (((i_988_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_991_ = (((i_988_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_985_[i_984_] = (i_989_ | i_990_ | i_991_) >>> 8; - } else if (i_986_ == 3) { - int i_992_ = (this.anIntArray9936[i_983_++]); - int i_993_ = Class105_Sub3.anInt8480; - int i_994_ = i_992_ + i_993_; - int i_995_ = ((i_992_ & 0xff00ff) + (i_993_ & 0xff00ff)); - int i_996_ = ((i_995_ & 0x1000100) + (i_994_ - i_995_ & 0x10000)); - is_985_[i_984_] = i_994_ - i_996_ | i_996_ - (i_996_ >>> 8); - } else if (i_986_ == 2) { - int i_997_ = (this.anIntArray9936[i_983_]); - int i_998_ = (((i_997_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_999_ = (((i_997_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_985_[i_984_] = (((i_998_ | i_999_) >>> 8) + Class105_Sub3.anInt8474); - } else throw new IllegalArgumentException(); - } else if (i_987_ == 1) { - if (i_986_ == 1) { - int i_1000_ = (this.anIntArray9936[i_983_]); - int i_1001_ = i_1000_ >>> 24; - int i_1002_ = 256 - i_1001_; - int i_1003_ = is_985_[i_984_]; - is_985_[i_984_] = ((((i_1000_ & 0xff00ff) * i_1001_ + (i_1003_ & 0xff00ff) * i_1002_) & ~0xff00ff) + (((i_1000_ & 0xff00) * i_1001_ + (i_1003_ & 0xff00) * i_1002_) & 0xff0000)) >> 8; - } else if (i_986_ == 0) { - int i_1004_ = (this.anIntArray9936[i_983_]); - int i_1005_ = (((i_1004_ >>> 24) * Class105_Sub3.anInt8477) >> 8); - int i_1006_ = 256 - i_1005_; - if ((Class105_Sub3.anInt8480 & 0xffffff) == 16777215) { - int i_1007_ = is_985_[i_984_]; - is_985_[i_984_] = ((((i_1004_ & 0xff00ff) * i_1005_ + (i_1007_ & 0xff00ff) * i_1006_) & ~0xff00ff) + (((i_1004_ & 0xff00) * i_1005_ + (i_1007_ & 0xff00) * i_1006_) & 0xff0000)) >> 8; - } else if (i_1005_ == 255) { - int i_1012_ = (((i_1004_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_1013_ = (((i_1004_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_1014_ = (((i_1004_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_985_[i_984_] = (i_1012_ | i_1013_ | i_1014_) >>> 8; - } else { - int i_1008_ = (((i_1004_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_1009_ = (((i_1004_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_1010_ = (((i_1004_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_1004_ = (i_1008_ | i_1009_ | i_1010_) >>> 8; - int i_1011_ = is_985_[i_984_]; - is_985_[i_984_] = ((((i_1004_ & 0xff00ff) * i_1005_ + (i_1011_ & 0xff00ff) * i_1006_) & ~0xff00ff) + (((i_1004_ & 0xff00) * i_1005_ + (i_1011_ & 0xff00) * i_1006_) & 0xff0000)) >> 8; - } - } else if (i_986_ == 3) { - int i_1015_ = (this.anIntArray9936[i_983_]); - int i_1016_ = Class105_Sub3.anInt8480; - int i_1017_ = i_1015_ + i_1016_; - int i_1018_ = ((i_1015_ & 0xff00ff) + (i_1016_ & 0xff00ff)); - int i_1019_ = ((i_1018_ & 0x1000100) + (i_1017_ - i_1018_ & 0x10000)); - i_1019_ = i_1017_ - i_1019_ | i_1019_ - (i_1019_ >>> 8); - int i_1020_ = (((i_1015_ >>> 24) * Class105_Sub3.anInt8477) >> 8); - int i_1021_ = 256 - i_1020_; - if (i_1020_ != 255) { - i_1015_ = i_1019_; - i_1019_ = is_985_[i_984_]; - i_1019_ = ((((i_1015_ & 0xff00ff) * i_1020_ + (i_1019_ & 0xff00ff) * i_1021_) & ~0xff00ff) + (((i_1015_ & 0xff00) * i_1020_ + (i_1019_ & 0xff00) * i_1021_) & 0xff0000)) >> 8; - } - is_985_[i_984_] = i_1019_; - } else if (i_986_ == 2) { - int i_1022_ = (this.anIntArray9936[i_983_]); - int i_1023_ = i_1022_ >>> 24; - int i_1024_ = 256 - i_1023_; - int i_1025_ = (((i_1022_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_1026_ = (((i_1022_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_1022_ = (((i_1025_ | i_1026_) >>> 8) + Class105_Sub3.anInt8474); - int i_1027_ = is_985_[i_984_]; - is_985_[i_984_] = ((((i_1022_ & 0xff00ff) * i_1023_ + (i_1027_ & 0xff00ff) * i_1024_) & ~0xff00ff) + (((i_1022_ & 0xff00) * i_1023_ + (i_1027_ & 0xff00) * i_1024_) & 0xff0000)) >> 8; - } else throw new IllegalArgumentException(); - } else if (i_987_ == 2) { - if (i_986_ == 1) { - int i_1028_ = (this.anIntArray9936[i_983_]); - int i_1029_ = is_985_[i_984_]; - int i_1030_ = i_1028_ + i_1029_; - int i_1031_ = ((i_1028_ & 0xff00ff) + (i_1029_ & 0xff00ff)); - i_1029_ = ((i_1031_ & 0x1000100) + (i_1030_ - i_1031_ & 0x10000)); - is_985_[i_984_] = i_1030_ - i_1029_ | i_1029_ - (i_1029_ >>> 8); - } else if (i_986_ == 0) { - int i_1032_ = (this.anIntArray9936[i_983_]); - int i_1033_ = (((i_1032_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_1034_ = (((i_1032_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_1035_ = (((i_1032_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_1032_ = (i_1033_ | i_1034_ | i_1035_) >>> 8; - int i_1036_ = is_985_[i_984_]; - int i_1037_ = i_1032_ + i_1036_; - int i_1038_ = ((i_1032_ & 0xff00ff) + (i_1036_ & 0xff00ff)); - i_1036_ = ((i_1038_ & 0x1000100) + (i_1037_ - i_1038_ & 0x10000)); - is_985_[i_984_] = i_1037_ - i_1036_ | i_1036_ - (i_1036_ >>> 8); - } else if (i_986_ == 3) { - int i_1039_ = (this.anIntArray9936[i_983_]); - int i_1040_ = Class105_Sub3.anInt8480; - int i_1041_ = i_1039_ + i_1040_; - int i_1042_ = ((i_1039_ & 0xff00ff) + (i_1040_ & 0xff00ff)); - int i_1043_ = ((i_1042_ & 0x1000100) + (i_1041_ - i_1042_ & 0x10000)); - i_1039_ = i_1041_ - i_1043_ | i_1043_ - (i_1043_ >>> 8); - i_1043_ = is_985_[i_984_]; - i_1041_ = i_1039_ + i_1043_; - i_1042_ = (i_1039_ & 0xff00ff) + (i_1043_ & 0xff00ff); - i_1043_ = ((i_1042_ & 0x1000100) + (i_1041_ - i_1042_ & 0x10000)); - is_985_[i_984_] = i_1041_ - i_1043_ | i_1043_ - (i_1043_ >>> 8); - } else if (i_986_ == 2) { - int i_1044_ = (this.anIntArray9936[i_983_]); - int i_1045_ = (((i_1044_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_1046_ = (((i_1044_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_1044_ = (((i_1045_ | i_1046_) >>> 8) + Class105_Sub3.anInt8474); - int i_1047_ = is_985_[i_984_]; - int i_1048_ = i_1044_ + i_1047_; - int i_1049_ = ((i_1044_ & 0xff00ff) + (i_1047_ & 0xff00ff)); - i_1047_ = ((i_1049_ & 0x1000100) + (i_1048_ - i_1049_ & 0x10000)); - is_985_[i_984_] = i_1048_ - i_1047_ | i_1047_ - (i_1047_ >>> 8); - } - } else throw new IllegalArgumentException(); - i_979_ += Class105_Sub3.anInt8481; - i_980_ += Class105_Sub3.anInt8450; - } - i_977_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } - } else if (Class105_Sub3.anInt8450 == 0) { - int i_1050_ = Class105_Sub3.anInt8468; - while (i_1050_ < 0) { - int i_1051_ = Class105_Sub3.anInt8451; - int i_1052_ = Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479; - int i_1053_ = Class105_Sub3.anInt8467; - int i_1054_ = Class105_Sub3.anInt8478; - if (i_1053_ >= 0 && i_1053_ - (this.anInt8470 << 12) < 0) { - if (i_1052_ < 0) { - int i_1055_ = ((Class105_Sub3.anInt8481 - 1 - i_1052_) / Class105_Sub3.anInt8481); - i_1054_ += i_1055_; - i_1052_ += Class105_Sub3.anInt8481 * i_1055_; - i_1051_ += i_1055_; - } - int i_1056_; - if ((i_1056_ = ((1 + i_1052_ - (this.anInt8471 << 12) - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481)) > i_1054_) i_1054_ = i_1056_; - for (/**/; i_1054_ < 0; i_1054_++) { - int i_1057_ = (((i_1053_ >> 12) * this.anInt8471) + (i_1052_ >> 12)); - int i_1058_ = i_1051_++; - int[] is_1059_ = is; - int i_1060_ = i; - int i_1061_ = i_611_; - if (i_1061_ == 0) { - if (i_1060_ == 1) is_1059_[i_1058_] = (this.anIntArray9936[i_1057_]); - else if (i_1060_ == 0) { - int i_1062_ = (this.anIntArray9936[i_1057_++]); - int i_1063_ = (((i_1062_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_1064_ = (((i_1062_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_1065_ = (((i_1062_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_1059_[i_1058_] = (i_1063_ | i_1064_ | i_1065_) >>> 8; - } else if (i_1060_ == 3) { - int i_1066_ = (this.anIntArray9936[i_1057_++]); - int i_1067_ = Class105_Sub3.anInt8480; - int i_1068_ = i_1066_ + i_1067_; - int i_1069_ = ((i_1066_ & 0xff00ff) + (i_1067_ & 0xff00ff)); - int i_1070_ = ((i_1069_ & 0x1000100) + (i_1068_ - i_1069_ & 0x10000)); - is_1059_[i_1058_] = i_1068_ - i_1070_ | i_1070_ - (i_1070_ >>> 8); - } else if (i_1060_ == 2) { - int i_1071_ = (this.anIntArray9936[i_1057_]); - int i_1072_ = (((i_1071_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_1073_ = (((i_1071_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - is_1059_[i_1058_] = (((i_1072_ | i_1073_) >>> 8) + Class105_Sub3.anInt8474); - } else throw new IllegalArgumentException(); - } else if (i_1061_ == 1) { - if (i_1060_ == 1) { - int i_1074_ = (this.anIntArray9936[i_1057_]); - int i_1075_ = i_1074_ >>> 24; - int i_1076_ = 256 - i_1075_; - int i_1077_ = is_1059_[i_1058_]; - is_1059_[i_1058_] = ((((i_1074_ & 0xff00ff) * i_1075_ + (i_1077_ & 0xff00ff) * i_1076_) & ~0xff00ff) + (((i_1074_ & 0xff00) * i_1075_ + (i_1077_ & 0xff00) * i_1076_) & 0xff0000)) >> 8; - } else if (i_1060_ == 0) { - int i_1078_ = (this.anIntArray9936[i_1057_]); - int i_1079_ = (((i_1078_ >>> 24) * Class105_Sub3.anInt8477) >> 8); - int i_1080_ = 256 - i_1079_; - if ((Class105_Sub3.anInt8480 & 0xffffff) == 16777215) { - int i_1081_ = is_1059_[i_1058_]; - is_1059_[i_1058_] = ((((i_1078_ & 0xff00ff) * i_1079_ + (i_1081_ & 0xff00ff) * i_1080_) & ~0xff00ff) + (((i_1078_ & 0xff00) * i_1079_ + (i_1081_ & 0xff00) * i_1080_) & 0xff0000)) >> 8; - } else if (i_1079_ == 255) { - int i_1086_ = (((i_1078_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_1087_ = (((i_1078_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_1088_ = (((i_1078_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_1059_[i_1058_] = (i_1086_ | i_1087_ | i_1088_) >>> 8; - } else { - int i_1082_ = (((i_1078_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_1083_ = (((i_1078_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_1084_ = (((i_1078_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_1078_ = (i_1082_ | i_1083_ | i_1084_) >>> 8; - int i_1085_ = is_1059_[i_1058_]; - is_1059_[i_1058_] = ((((i_1078_ & 0xff00ff) * i_1079_ + (i_1085_ & 0xff00ff) * i_1080_) & ~0xff00ff) + (((i_1078_ & 0xff00) * i_1079_ + (i_1085_ & 0xff00) * i_1080_) & 0xff0000)) >> 8; - } - } else if (i_1060_ == 3) { - int i_1089_ = (this.anIntArray9936[i_1057_]); - int i_1090_ = Class105_Sub3.anInt8480; - int i_1091_ = i_1089_ + i_1090_; - int i_1092_ = ((i_1089_ & 0xff00ff) + (i_1090_ & 0xff00ff)); - int i_1093_ = ((i_1092_ & 0x1000100) + (i_1091_ - i_1092_ & 0x10000)); - i_1093_ = i_1091_ - i_1093_ | i_1093_ - (i_1093_ >>> 8); - int i_1094_ = (((i_1089_ >>> 24) * Class105_Sub3.anInt8477) >> 8); - int i_1095_ = 256 - i_1094_; - if (i_1094_ != 255) { - i_1089_ = i_1093_; - i_1093_ = is_1059_[i_1058_]; - i_1093_ = ((((i_1089_ & 0xff00ff) * i_1094_ + (i_1093_ & 0xff00ff) * i_1095_) & ~0xff00ff) + (((i_1089_ & 0xff00) * i_1094_ + (i_1093_ & 0xff00) * i_1095_) & 0xff0000)) >> 8; - } - is_1059_[i_1058_] = i_1093_; - } else if (i_1060_ == 2) { - int i_1096_ = (this.anIntArray9936[i_1057_]); - int i_1097_ = i_1096_ >>> 24; - int i_1098_ = 256 - i_1097_; - int i_1099_ = (((i_1096_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_1100_ = (((i_1096_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_1096_ = (((i_1099_ | i_1100_) >>> 8) + Class105_Sub3.anInt8474); - int i_1101_ = is_1059_[i_1058_]; - is_1059_[i_1058_] = ((((i_1096_ & 0xff00ff) * i_1097_ + (i_1101_ & 0xff00ff) * i_1098_) & ~0xff00ff) + (((i_1096_ & 0xff00) * i_1097_ + (i_1101_ & 0xff00) * i_1098_) & 0xff0000)) >> 8; - } else throw new IllegalArgumentException(); - } else if (i_1061_ == 2) { - if (i_1060_ == 1) { - int i_1102_ = (this.anIntArray9936[i_1057_]); - int i_1103_ = is_1059_[i_1058_]; - int i_1104_ = i_1102_ + i_1103_; - int i_1105_ = ((i_1102_ & 0xff00ff) + (i_1103_ & 0xff00ff)); - i_1103_ = ((i_1105_ & 0x1000100) + (i_1104_ - i_1105_ & 0x10000)); - is_1059_[i_1058_] = i_1104_ - i_1103_ | i_1103_ - (i_1103_ >>> 8); - } else if (i_1060_ == 0) { - int i_1106_ = (this.anIntArray9936[i_1057_]); - int i_1107_ = (((i_1106_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_1108_ = (((i_1106_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_1109_ = (((i_1106_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_1106_ = (i_1107_ | i_1108_ | i_1109_) >>> 8; - int i_1110_ = is_1059_[i_1058_]; - int i_1111_ = i_1106_ + i_1110_; - int i_1112_ = ((i_1106_ & 0xff00ff) + (i_1110_ & 0xff00ff)); - i_1110_ = ((i_1112_ & 0x1000100) + (i_1111_ - i_1112_ & 0x10000)); - is_1059_[i_1058_] = i_1111_ - i_1110_ | i_1110_ - (i_1110_ >>> 8); - } else if (i_1060_ == 3) { - int i_1113_ = (this.anIntArray9936[i_1057_]); - int i_1114_ = Class105_Sub3.anInt8480; - int i_1115_ = i_1113_ + i_1114_; - int i_1116_ = ((i_1113_ & 0xff00ff) + (i_1114_ & 0xff00ff)); - int i_1117_ = ((i_1116_ & 0x1000100) + (i_1115_ - i_1116_ & 0x10000)); - i_1113_ = i_1115_ - i_1117_ | i_1117_ - (i_1117_ >>> 8); - i_1117_ = is_1059_[i_1058_]; - i_1115_ = i_1113_ + i_1117_; - i_1116_ = (i_1113_ & 0xff00ff) + (i_1117_ & 0xff00ff); - i_1117_ = ((i_1116_ & 0x1000100) + (i_1115_ - i_1116_ & 0x10000)); - is_1059_[i_1058_] = i_1115_ - i_1117_ | i_1117_ - (i_1117_ >>> 8); - } else if (i_1060_ == 2) { - int i_1118_ = (this.anIntArray9936[i_1057_]); - int i_1119_ = (((i_1118_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_1120_ = (((i_1118_ & 0xff00) * Class105_Sub3.anInt8477) & 0xff0000); - i_1118_ = (((i_1119_ | i_1120_) >>> 8) + Class105_Sub3.anInt8474); - int i_1121_ = is_1059_[i_1058_]; - int i_1122_ = i_1118_ + i_1121_; - int i_1123_ = ((i_1118_ & 0xff00ff) + (i_1121_ & 0xff00ff)); - i_1121_ = ((i_1123_ & 0x1000100) + (i_1122_ - i_1123_ & 0x10000)); - is_1059_[i_1058_] = i_1122_ - i_1121_ | i_1121_ - (i_1121_ >>> 8); - } - } else throw new IllegalArgumentException(); - i_1052_ += Class105_Sub3.anInt8481; - } - } - i_1050_++; - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else if (Class105_Sub3.anInt8450 < 0) { - for (int i_1124_ = Class105_Sub3.anInt8468; i_1124_ < 0; i_1124_++) { - int i_1125_ = Class105_Sub3.anInt8451; - int i_1126_ = Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479; - int i_1127_ = Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475; - int i_1128_ = Class105_Sub3.anInt8478; - if (i_1126_ < 0) { - int i_1129_ = ((Class105_Sub3.anInt8481 - 1 - i_1126_) / Class105_Sub3.anInt8481); - i_1128_ += i_1129_; - i_1126_ += Class105_Sub3.anInt8481 * i_1129_; - i_1127_ += Class105_Sub3.anInt8450 * i_1129_; - i_1125_ += i_1129_; - } - int i_1130_; - if ((i_1130_ = (1 + i_1126_ - (this.anInt8471 << 12) - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481) > i_1128_) i_1128_ = i_1130_; - if ((i_1130_ = i_1127_ - (this.anInt8470 << 12)) >= 0) { - i_1130_ = ((Class105_Sub3.anInt8450 - i_1130_) / Class105_Sub3.anInt8450); - i_1128_ += i_1130_; - i_1126_ += Class105_Sub3.anInt8481 * i_1130_; - i_1127_ += Class105_Sub3.anInt8450 * i_1130_; - i_1125_ += i_1130_; - } - if ((i_1130_ = ((i_1127_ - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450)) > i_1128_) i_1128_ = i_1130_; - for (/**/; i_1128_ < 0; i_1128_++) { - int i_1131_ = ((i_1127_ >> 12) * this.anInt8471 + (i_1126_ >> 12)); - int i_1132_ = i_1125_++; - int[] is_1133_ = is; - int i_1134_ = i; - int i_1135_ = i_611_; - if (i_1135_ == 0) { - if (i_1134_ == 1) is_1133_[i_1132_] = (this.anIntArray9936[i_1131_]); - else if (i_1134_ == 0) { - int i_1136_ = (this.anIntArray9936[i_1131_++]); - int i_1137_ = (((i_1136_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_1138_ = ((i_1136_ & 0xff00) * Class105_Sub3.anInt8463 & 0xff0000); - int i_1139_ = ((i_1136_ & 0xff) * Class105_Sub3.anInt8465 & 0xff00); - is_1133_[i_1132_] = (i_1137_ | i_1138_ | i_1139_) >>> 8; - } else if (i_1134_ == 3) { - int i_1140_ = (this.anIntArray9936[i_1131_++]); - int i_1141_ = Class105_Sub3.anInt8480; - int i_1142_ = i_1140_ + i_1141_; - int i_1143_ = (i_1140_ & 0xff00ff) + (i_1141_ & 0xff00ff); - int i_1144_ = ((i_1143_ & 0x1000100) + (i_1142_ - i_1143_ & 0x10000)); - is_1133_[i_1132_] = i_1142_ - i_1144_ | i_1144_ - (i_1144_ >>> 8); - } else if (i_1134_ == 2) { - int i_1145_ = (this.anIntArray9936[i_1131_]); - int i_1146_ = (((i_1145_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_1147_ = ((i_1145_ & 0xff00) * Class105_Sub3.anInt8477 & 0xff0000); - is_1133_[i_1132_] = (((i_1146_ | i_1147_) >>> 8) + Class105_Sub3.anInt8474); - } else throw new IllegalArgumentException(); - } else if (i_1135_ == 1) { - if (i_1134_ == 1) { - int i_1148_ = (this.anIntArray9936[i_1131_]); - int i_1149_ = i_1148_ >>> 24; - int i_1150_ = 256 - i_1149_; - int i_1151_ = is_1133_[i_1132_]; - is_1133_[i_1132_] = ((((i_1148_ & 0xff00ff) * i_1149_ + (i_1151_ & 0xff00ff) * i_1150_) & ~0xff00ff) + (((i_1148_ & 0xff00) * i_1149_ + (i_1151_ & 0xff00) * i_1150_) & 0xff0000)) >> 8; - } else if (i_1134_ == 0) { - int i_1152_ = (this.anIntArray9936[i_1131_]); - int i_1153_ = ((i_1152_ >>> 24) * Class105_Sub3.anInt8477 >> 8); - int i_1154_ = 256 - i_1153_; - if ((Class105_Sub3.anInt8480 & 0xffffff) == 16777215) { - int i_1155_ = is_1133_[i_1132_]; - is_1133_[i_1132_] = ((((i_1152_ & 0xff00ff) * i_1153_ + (i_1155_ & 0xff00ff) * i_1154_) & ~0xff00ff) + (((i_1152_ & 0xff00) * i_1153_ + (i_1155_ & 0xff00) * i_1154_) & 0xff0000)) >> 8; - } else if (i_1153_ == 255) { - int i_1160_ = (((i_1152_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_1161_ = (((i_1152_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_1162_ = (((i_1152_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_1133_[i_1132_] = (i_1160_ | i_1161_ | i_1162_) >>> 8; - } else { - int i_1156_ = (((i_1152_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_1157_ = (((i_1152_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_1158_ = (((i_1152_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_1152_ = (i_1156_ | i_1157_ | i_1158_) >>> 8; - int i_1159_ = is_1133_[i_1132_]; - is_1133_[i_1132_] = ((((i_1152_ & 0xff00ff) * i_1153_ + (i_1159_ & 0xff00ff) * i_1154_) & ~0xff00ff) + (((i_1152_ & 0xff00) * i_1153_ + (i_1159_ & 0xff00) * i_1154_) & 0xff0000)) >> 8; - } - } else if (i_1134_ == 3) { - int i_1163_ = (this.anIntArray9936[i_1131_]); - int i_1164_ = Class105_Sub3.anInt8480; - int i_1165_ = i_1163_ + i_1164_; - int i_1166_ = (i_1163_ & 0xff00ff) + (i_1164_ & 0xff00ff); - int i_1167_ = ((i_1166_ & 0x1000100) + (i_1165_ - i_1166_ & 0x10000)); - i_1167_ = i_1165_ - i_1167_ | i_1167_ - (i_1167_ >>> 8); - int i_1168_ = ((i_1163_ >>> 24) * Class105_Sub3.anInt8477 >> 8); - int i_1169_ = 256 - i_1168_; - if (i_1168_ != 255) { - i_1163_ = i_1167_; - i_1167_ = is_1133_[i_1132_]; - i_1167_ = ((((i_1163_ & 0xff00ff) * i_1168_ + (i_1167_ & 0xff00ff) * i_1169_) & ~0xff00ff) + (((i_1163_ & 0xff00) * i_1168_ + (i_1167_ & 0xff00) * i_1169_) & 0xff0000)) >> 8; - } - is_1133_[i_1132_] = i_1167_; - } else if (i_1134_ == 2) { - int i_1170_ = (this.anIntArray9936[i_1131_]); - int i_1171_ = i_1170_ >>> 24; - int i_1172_ = 256 - i_1171_; - int i_1173_ = (((i_1170_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_1174_ = ((i_1170_ & 0xff00) * Class105_Sub3.anInt8477 & 0xff0000); - i_1170_ = (((i_1173_ | i_1174_) >>> 8) + Class105_Sub3.anInt8474); - int i_1175_ = is_1133_[i_1132_]; - is_1133_[i_1132_] = ((((i_1170_ & 0xff00ff) * i_1171_ + (i_1175_ & 0xff00ff) * i_1172_) & ~0xff00ff) + (((i_1170_ & 0xff00) * i_1171_ + (i_1175_ & 0xff00) * i_1172_) & 0xff0000)) >> 8; - } else throw new IllegalArgumentException(); - } else if (i_1135_ == 2) { - if (i_1134_ == 1) { - int i_1176_ = (this.anIntArray9936[i_1131_]); - int i_1177_ = is_1133_[i_1132_]; - int i_1178_ = i_1176_ + i_1177_; - int i_1179_ = (i_1176_ & 0xff00ff) + (i_1177_ & 0xff00ff); - i_1177_ = (i_1179_ & 0x1000100) + (i_1178_ - i_1179_ & 0x10000); - is_1133_[i_1132_] = i_1178_ - i_1177_ | i_1177_ - (i_1177_ >>> 8); - } else if (i_1134_ == 0) { - int i_1180_ = (this.anIntArray9936[i_1131_]); - int i_1181_ = (((i_1180_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_1182_ = ((i_1180_ & 0xff00) * Class105_Sub3.anInt8463 & 0xff0000); - int i_1183_ = ((i_1180_ & 0xff) * Class105_Sub3.anInt8465 & 0xff00); - i_1180_ = (i_1181_ | i_1182_ | i_1183_) >>> 8; - int i_1184_ = is_1133_[i_1132_]; - int i_1185_ = i_1180_ + i_1184_; - int i_1186_ = (i_1180_ & 0xff00ff) + (i_1184_ & 0xff00ff); - i_1184_ = (i_1186_ & 0x1000100) + (i_1185_ - i_1186_ & 0x10000); - is_1133_[i_1132_] = i_1185_ - i_1184_ | i_1184_ - (i_1184_ >>> 8); - } else if (i_1134_ == 3) { - int i_1187_ = (this.anIntArray9936[i_1131_]); - int i_1188_ = Class105_Sub3.anInt8480; - int i_1189_ = i_1187_ + i_1188_; - int i_1190_ = (i_1187_ & 0xff00ff) + (i_1188_ & 0xff00ff); - int i_1191_ = ((i_1190_ & 0x1000100) + (i_1189_ - i_1190_ & 0x10000)); - i_1187_ = i_1189_ - i_1191_ | i_1191_ - (i_1191_ >>> 8); - i_1191_ = is_1133_[i_1132_]; - i_1189_ = i_1187_ + i_1191_; - i_1190_ = (i_1187_ & 0xff00ff) + (i_1191_ & 0xff00ff); - i_1191_ = (i_1190_ & 0x1000100) + (i_1189_ - i_1190_ & 0x10000); - is_1133_[i_1132_] = i_1189_ - i_1191_ | i_1191_ - (i_1191_ >>> 8); - } else if (i_1134_ == 2) { - int i_1192_ = (this.anIntArray9936[i_1131_]); - int i_1193_ = (((i_1192_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_1194_ = ((i_1192_ & 0xff00) * Class105_Sub3.anInt8477 & 0xff0000); - i_1192_ = (((i_1193_ | i_1194_) >>> 8) + Class105_Sub3.anInt8474); - int i_1195_ = is_1133_[i_1132_]; - int i_1196_ = i_1192_ + i_1195_; - int i_1197_ = (i_1192_ & 0xff00ff) + (i_1195_ & 0xff00ff); - i_1195_ = (i_1197_ & 0x1000100) + (i_1196_ - i_1197_ & 0x10000); - is_1133_[i_1132_] = i_1196_ - i_1195_ | i_1195_ - (i_1195_ >>> 8); - } - } else throw new IllegalArgumentException(); - i_1126_ += Class105_Sub3.anInt8481; - i_1127_ += Class105_Sub3.anInt8450; - } - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } else { - for (int i_1198_ = Class105_Sub3.anInt8468; i_1198_ < 0; i_1198_++) { - int i_1199_ = Class105_Sub3.anInt8451; - int i_1200_ = Class105_Sub3.anInt8458 + Class105_Sub3.anInt8479; - int i_1201_ = Class105_Sub3.anInt8467 + Class105_Sub3.anInt8475; - int i_1202_ = Class105_Sub3.anInt8478; - if (i_1200_ < 0) { - int i_1203_ = ((Class105_Sub3.anInt8481 - 1 - i_1200_) / Class105_Sub3.anInt8481); - i_1202_ += i_1203_; - i_1200_ += Class105_Sub3.anInt8481 * i_1203_; - i_1201_ += Class105_Sub3.anInt8450 * i_1203_; - i_1199_ += i_1203_; - } - int i_1204_; - if ((i_1204_ = (1 + i_1200_ - (this.anInt8471 << 12) - Class105_Sub3.anInt8481) / Class105_Sub3.anInt8481) > i_1202_) i_1202_ = i_1204_; - if (i_1201_ < 0) { - i_1204_ = ((Class105_Sub3.anInt8450 - 1 - i_1201_) / Class105_Sub3.anInt8450); - i_1202_ += i_1204_; - i_1200_ += Class105_Sub3.anInt8481 * i_1204_; - i_1201_ += Class105_Sub3.anInt8450 * i_1204_; - i_1199_ += i_1204_; - } - if ((i_1204_ = (1 + i_1201_ - (this.anInt8470 << 12) - Class105_Sub3.anInt8450) / Class105_Sub3.anInt8450) > i_1202_) i_1202_ = i_1204_; - for (/**/; i_1202_ < 0; i_1202_++) { - int i_1205_ = ((i_1201_ >> 12) * this.anInt8471 + (i_1200_ >> 12)); - int i_1206_ = i_1199_++; - int[] is_1207_ = is; - int i_1208_ = i; - int i_1209_ = i_611_; - if (i_1209_ == 0) { - if (i_1208_ == 1) is_1207_[i_1206_] = (this.anIntArray9936[i_1205_]); - else if (i_1208_ == 0) { - int i_1210_ = (this.anIntArray9936[i_1205_++]); - int i_1211_ = (((i_1210_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_1212_ = ((i_1210_ & 0xff00) * Class105_Sub3.anInt8463 & 0xff0000); - int i_1213_ = ((i_1210_ & 0xff) * Class105_Sub3.anInt8465 & 0xff00); - is_1207_[i_1206_] = (i_1211_ | i_1212_ | i_1213_) >>> 8; - } else if (i_1208_ == 3) { - int i_1214_ = (this.anIntArray9936[i_1205_++]); - int i_1215_ = Class105_Sub3.anInt8480; - int i_1216_ = i_1214_ + i_1215_; - int i_1217_ = (i_1214_ & 0xff00ff) + (i_1215_ & 0xff00ff); - int i_1218_ = ((i_1217_ & 0x1000100) + (i_1216_ - i_1217_ & 0x10000)); - is_1207_[i_1206_] = i_1216_ - i_1218_ | i_1218_ - (i_1218_ >>> 8); - } else if (i_1208_ == 2) { - int i_1219_ = (this.anIntArray9936[i_1205_]); - int i_1220_ = (((i_1219_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_1221_ = ((i_1219_ & 0xff00) * Class105_Sub3.anInt8477 & 0xff0000); - is_1207_[i_1206_] = (((i_1220_ | i_1221_) >>> 8) + Class105_Sub3.anInt8474); - } else throw new IllegalArgumentException(); - } else if (i_1209_ == 1) { - if (i_1208_ == 1) { - int i_1222_ = (this.anIntArray9936[i_1205_]); - int i_1223_ = i_1222_ >>> 24; - int i_1224_ = 256 - i_1223_; - int i_1225_ = is_1207_[i_1206_]; - is_1207_[i_1206_] = ((((i_1222_ & 0xff00ff) * i_1223_ + (i_1225_ & 0xff00ff) * i_1224_) & ~0xff00ff) + (((i_1222_ & 0xff00) * i_1223_ + (i_1225_ & 0xff00) * i_1224_) & 0xff0000)) >> 8; - } else if (i_1208_ == 0) { - int i_1226_ = (this.anIntArray9936[i_1205_]); - int i_1227_ = ((i_1226_ >>> 24) * Class105_Sub3.anInt8477 >> 8); - int i_1228_ = 256 - i_1227_; - if ((Class105_Sub3.anInt8480 & 0xffffff) == 16777215) { - int i_1229_ = is_1207_[i_1206_]; - is_1207_[i_1206_] = ((((i_1226_ & 0xff00ff) * i_1227_ + (i_1229_ & 0xff00ff) * i_1228_) & ~0xff00ff) + (((i_1226_ & 0xff00) * i_1227_ + (i_1229_ & 0xff00) * i_1228_) & 0xff0000)) >> 8; - } else if (i_1227_ == 255) { - int i_1234_ = (((i_1226_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_1235_ = (((i_1226_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_1236_ = (((i_1226_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - is_1207_[i_1206_] = (i_1234_ | i_1235_ | i_1236_) >>> 8; - } else { - int i_1230_ = (((i_1226_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_1231_ = (((i_1226_ & 0xff00) * Class105_Sub3.anInt8463) & 0xff0000); - int i_1232_ = (((i_1226_ & 0xff) * Class105_Sub3.anInt8465) & 0xff00); - i_1226_ = (i_1230_ | i_1231_ | i_1232_) >>> 8; - int i_1233_ = is_1207_[i_1206_]; - is_1207_[i_1206_] = ((((i_1226_ & 0xff00ff) * i_1227_ + (i_1233_ & 0xff00ff) * i_1228_) & ~0xff00ff) + (((i_1226_ & 0xff00) * i_1227_ + (i_1233_ & 0xff00) * i_1228_) & 0xff0000)) >> 8; - } - } else if (i_1208_ == 3) { - int i_1237_ = (this.anIntArray9936[i_1205_]); - int i_1238_ = Class105_Sub3.anInt8480; - int i_1239_ = i_1237_ + i_1238_; - int i_1240_ = (i_1237_ & 0xff00ff) + (i_1238_ & 0xff00ff); - int i_1241_ = ((i_1240_ & 0x1000100) + (i_1239_ - i_1240_ & 0x10000)); - i_1241_ = i_1239_ - i_1241_ | i_1241_ - (i_1241_ >>> 8); - int i_1242_ = ((i_1237_ >>> 24) * Class105_Sub3.anInt8477 >> 8); - int i_1243_ = 256 - i_1242_; - if (i_1242_ != 255) { - i_1237_ = i_1241_; - i_1241_ = is_1207_[i_1206_]; - i_1241_ = ((((i_1237_ & 0xff00ff) * i_1242_ + (i_1241_ & 0xff00ff) * i_1243_) & ~0xff00ff) + (((i_1237_ & 0xff00) * i_1242_ + (i_1241_ & 0xff00) * i_1243_) & 0xff0000)) >> 8; - } - is_1207_[i_1206_] = i_1241_; - } else if (i_1208_ == 2) { - int i_1244_ = (this.anIntArray9936[i_1205_]); - int i_1245_ = i_1244_ >>> 24; - int i_1246_ = 256 - i_1245_; - int i_1247_ = (((i_1244_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_1248_ = ((i_1244_ & 0xff00) * Class105_Sub3.anInt8477 & 0xff0000); - i_1244_ = (((i_1247_ | i_1248_) >>> 8) + Class105_Sub3.anInt8474); - int i_1249_ = is_1207_[i_1206_]; - is_1207_[i_1206_] = ((((i_1244_ & 0xff00ff) * i_1245_ + (i_1249_ & 0xff00ff) * i_1246_) & ~0xff00ff) + (((i_1244_ & 0xff00) * i_1245_ + (i_1249_ & 0xff00) * i_1246_) & 0xff0000)) >> 8; - } else throw new IllegalArgumentException(); - } else if (i_1209_ == 2) { - if (i_1208_ == 1) { - int i_1250_ = (this.anIntArray9936[i_1205_]); - int i_1251_ = is_1207_[i_1206_]; - int i_1252_ = i_1250_ + i_1251_; - int i_1253_ = (i_1250_ & 0xff00ff) + (i_1251_ & 0xff00ff); - i_1251_ = (i_1253_ & 0x1000100) + (i_1252_ - i_1253_ & 0x10000); - is_1207_[i_1206_] = i_1252_ - i_1251_ | i_1251_ - (i_1251_ >>> 8); - } else if (i_1208_ == 0) { - int i_1254_ = (this.anIntArray9936[i_1205_]); - int i_1255_ = (((i_1254_ & 0xff0000) * Class105_Sub3.anInt8469) & ~0xffffff); - int i_1256_ = ((i_1254_ & 0xff00) * Class105_Sub3.anInt8463 & 0xff0000); - int i_1257_ = ((i_1254_ & 0xff) * Class105_Sub3.anInt8465 & 0xff00); - i_1254_ = (i_1255_ | i_1256_ | i_1257_) >>> 8; - int i_1258_ = is_1207_[i_1206_]; - int i_1259_ = i_1254_ + i_1258_; - int i_1260_ = (i_1254_ & 0xff00ff) + (i_1258_ & 0xff00ff); - i_1258_ = (i_1260_ & 0x1000100) + (i_1259_ - i_1260_ & 0x10000); - is_1207_[i_1206_] = i_1259_ - i_1258_ | i_1258_ - (i_1258_ >>> 8); - } else if (i_1208_ == 3) { - int i_1261_ = (this.anIntArray9936[i_1205_]); - int i_1262_ = Class105_Sub3.anInt8480; - int i_1263_ = i_1261_ + i_1262_; - int i_1264_ = (i_1261_ & 0xff00ff) + (i_1262_ & 0xff00ff); - int i_1265_ = ((i_1264_ & 0x1000100) + (i_1263_ - i_1264_ & 0x10000)); - i_1261_ = i_1263_ - i_1265_ | i_1265_ - (i_1265_ >>> 8); - i_1265_ = is_1207_[i_1206_]; - i_1263_ = i_1261_ + i_1265_; - i_1264_ = (i_1261_ & 0xff00ff) + (i_1265_ & 0xff00ff); - i_1265_ = (i_1264_ & 0x1000100) + (i_1263_ - i_1264_ & 0x10000); - is_1207_[i_1206_] = i_1263_ - i_1265_ | i_1265_ - (i_1265_ >>> 8); - } else if (i_1208_ == 2) { - int i_1266_ = (this.anIntArray9936[i_1205_]); - int i_1267_ = (((i_1266_ & 0xff00ff) * Class105_Sub3.anInt8477) & ~0xff00ff); - int i_1268_ = ((i_1266_ & 0xff00) * Class105_Sub3.anInt8477 & 0xff0000); - i_1266_ = (((i_1267_ | i_1268_) >>> 8) + Class105_Sub3.anInt8474); - int i_1269_ = is_1207_[i_1206_]; - int i_1270_ = i_1266_ + i_1269_; - int i_1271_ = (i_1266_ & 0xff00ff) + (i_1269_ & 0xff00ff); - i_1269_ = (i_1271_ & 0x1000100) + (i_1270_ - i_1271_ & 0x10000); - is_1207_[i_1206_] = i_1270_ - i_1269_ | i_1269_ - (i_1269_ >>> 8); - } - } else throw new IllegalArgumentException(); - i_1200_ += Class105_Sub3.anInt8481; - i_1201_ += Class105_Sub3.anInt8450; - } - Class105_Sub3.anInt8458 += Class105_Sub3.anInt8457; - Class105_Sub3.anInt8467 += Class105_Sub3.anInt8452; - Class105_Sub3.anInt8451 += Class105_Sub3.anInt8453; - } - } - } -} diff --git a/client/src/Class106.java b/client/src/Class106.java deleted file mode 100644 index 0563cf245..000000000 --- a/client/src/Class106.java +++ /dev/null @@ -1,69 +0,0 @@ -/* Class106 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class106 { - static int anInt1631; - static int anInt1632; - private Class339 aClass339_1633; - static int anInt1634; - static int[] anIntArray1635 = new int[16]; - static int[] anIntArray1636 = null; - private final Class45 aClass45_1637; - static int[][] anIntArrayArray1638 = {{0, 1, 2, 3}, {1, -1, -1, 0}, {-1, 2, -1, 0}, {-1, 0, -1, 2}, {0, 1, -1, 2}, {1, 2, -1, 0}, {-1, 4, -1, 1}, {-1, 3, 4, -1}, {-1, 0, 2, -1}, {-1, -1, 2, 0}, {0, 2, 5, 3}, {0, -1, 6, -1}, {0, 1, 2, 3}}; - static int anInt1639; - static int anInt1640; - private final Class45 aClass45_1641; - - private final Class339 method998(int i) { - anInt1632++; - if (aClass339_1633 == null) aClass339_1633 = new Class339(); - if (i > -71) method1001(null, -15); - return aClass339_1633; - } - - public static void method999(int i) { - anIntArray1636 = null; - anIntArray1635 = null; - anIntArrayArray1638 = null; - if (i != 21745) method1001(null, -51); - } - - final Interface1 method1000(boolean bool, Interface12 interface12) { - anInt1640++; - if (interface12 == null) return null; - Class223 class223 = interface12.method51((byte) 120); - if (Class219.aClass223_2868 == class223) return new Class177((Class52) interface12); - if (Class101_Sub1.aClass223_5689 == class223) return new Class240(method998(-107), (Class125) interface12); - if (class223 == Class348_Sub40_Sub21.aClass223_9274) return new Class127(aClass45_1637, (Class288) interface12); - if (class223 == Class28.aClass223_4997) return new Class127_Sub1(aClass45_1637, (Class288_Sub1) interface12); - if (class223 == Class348_Sub49.aClass223_7175) return new Class5_Sub2(aClass45_1637, aClass45_1641, (Class369_Sub2) interface12); - if (class223 == Class313.aClass223_3934) return new Class5_Sub3(aClass45_1637, aClass45_1641, (Class369_Sub1) interface12); - if (class223 == Class185.aClass223_2489) return new Class5_Sub1(aClass45_1637, aClass45_1641, (Class369_Sub3) interface12); - if (class223 == Class174.aClass223_2307) return new Class67(aClass45_1637, aClass45_1641, (Class158) interface12); - if (bool != true) anIntArray1636 = null; - if (Class149.aClass223_2045 == class223) return new Class265(aClass45_1637, (Class120) interface12); - if (Class187.aClass223_2507 == class223) return new Class5_Sub1_Sub1(aClass45_1637, aClass45_1641, (Class369_Sub3_Sub1) interface12); - return null; - } - - static final void method1001(Class45 class45, int i) { - anInt1634++; - Class56.anInt1044 = class45.method417("p11_full", i); - Class17.anInt235 = class45.method417("p12_full", i); - Class291.anInt3736 = class45.method417("b12_full", 0); - } - - Class106(Class45 class45, Class45 class45_0_) { - try { - aClass45_1637 = class45; - aClass45_1641 = class45_0_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("mia.(" + (class45 != null ? "{...}" : "null") + ',' + (class45_0_ != null ? "{...}" : "null") + ')')); - } - } - - static { - anInt1631 = 0; - } -} diff --git a/client/src/Class107.java b/client/src/Class107.java deleted file mode 100644 index 2a79fbb20..000000000 --- a/client/src/Class107.java +++ /dev/null @@ -1,282 +0,0 @@ -/* Class107 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class107 { - static int anInt1642; - static int anInt1643; - static int anInt1644; - static int anInt1645 = -2; - static int anInt1646; - Class348_Sub42 aClass348_Sub42_1647 = new Class348_Sub42(); - static int anInt1648; - static int anInt1649; - static int[] anIntArray1650 = new int[1000]; - static int anInt1651; - private Class348_Sub42 aClass348_Sub42_1652; - static int anInt1653; - static int anInt1654; - static int anInt1655; - - final int method1002(int i) { - anInt1643++; - int i_0_ = i; - for (Class348_Sub42 class348_sub42 = (this.aClass348_Sub42_1647.aClass348_Sub42_7063); this.aClass348_Sub42_1647 != class348_sub42; class348_sub42 = class348_sub42.aClass348_Sub42_7063) - i_0_++; - return i_0_; - } - - final Class348_Sub42 method1003(byte i) { - anInt1644++; - if (i <= 41) return null; - Class348_Sub42 class348_sub42 = aClass348_Sub42_1652; - if (class348_sub42 == this.aClass348_Sub42_1647) { - aClass348_Sub42_1652 = null; - return null; - } - aClass348_Sub42_1652 = class348_sub42.aClass348_Sub42_7063; - return class348_sub42; - } - - public static void method1004(byte i) { - anIntArray1650 = null; - if (i != 16) method1006(false, (byte) -62); - } - - final void method1005(boolean bool, Class348_Sub42 class348_sub42) { - if (class348_sub42.aClass348_Sub42_7060 != null) class348_sub42.method3162(bool); - anInt1654++; - class348_sub42.aClass348_Sub42_7063 = this.aClass348_Sub42_1647; - class348_sub42.aClass348_Sub42_7060 = (this.aClass348_Sub42_1647.aClass348_Sub42_7060); - if (bool == true) { - class348_sub42.aClass348_Sub42_7060.aClass348_Sub42_7063 = class348_sub42; - class348_sub42.aClass348_Sub42_7063.aClass348_Sub42_7060 = class348_sub42; - } - } - - static final void method1006(boolean bool, byte i) { - anInt1655++; - if (bool) { - if (r.anInt9721 != -1) Class14.method235(r.anInt9721, (byte) -108); - for (Class348_Sub41 class348_sub41 = (Class348_Sub41) Class125.aClass356_4915.method3484(0); class348_sub41 != null; class348_sub41 = ((Class348_Sub41) Class125.aClass356_4915.method3482(0))) { - if (!class348_sub41.method2712((byte) 4)) { - class348_sub41 = ((Class348_Sub41) Class125.aClass356_4915.method3484(0)); - if (class348_sub41 == null) break; - } - Class127_Sub1.method1118(true, false, class348_sub41, 2533); - } - r.anInt9721 = -1; - Class125.aClass356_4915 = new Class356(8); - Class99.method882((byte) 11); - r.anInt9721 = Class54.anInt970; - Class239.method1713(false, 520); - Class354.method3466(-119); - Class66.method703(r.anInt9721); - } - Class223.aBoolean2895 = true; - if (i < 49) anInt1651 = 10; - } - - static final void method1007(Class46 class46, ha var_ha, int i, int i_1_, int i_2_) { - try { - anInt1648++; - aa var_aa = class46.method425(var_ha, (byte) 40); - if (var_aa != null) { - if (i_2_ != 22960) anIntArray1650 = null; - var_ha.KA(i, i_1_, i + class46.anInt709, class46.anInt789 + i_1_); - if (Class259.anInt3306 != 2 && Class259.anInt3306 != 5 && Class108.aClass105_1664 != null) { - int i_3_; - int i_4_; - int i_5_; - int i_6_; - if (Class348_Sub40_Sub21.anInt9282 == 4) { - i_3_ = Class348_Sub7.anInt6652; - i_4_ = Class348_Sub6.anInt6633; - i_5_ = 4096; - i_6_ = 0x3fff & (int) -Class314.aFloat3938; - } else { - i_5_ = 4096 - 16 * Class348_Sub49_Sub1.anInt9750; - i_3_ = (Class132.aPlayer_1907.y); - i_6_ = ((int) -Class314.aFloat3938 - -r_Sub2.anInt10483 & 0x3fff); - i_4_ = (Class132.aPlayer_1907.x); - } - int i_7_ = 48 - (-(i_4_ / 128) - -(Class367_Sub4.anInt7319 * 2)) - -208; - int i_8_ = (208 - (Class348_Sub40_Sub3.anInt9109 * 2 - 48) + 4 * Class348_Sub40_Sub3.anInt9109 - i_3_ / 128); - Class108.aClass105_1664.method967(((float) class46.anInt709 / 2.0F + (float) i), ((float) class46.anInt789 / 2.0F + (float) i_1_), (float) i_7_, (float) i_8_, i_5_, i_6_ << 2, var_aa, i, i_1_); - for (Class348_Sub35 class348_sub35 = (Class348_Sub35) Class318_Sub1_Sub5_Sub1.aClass262_10125.method1995(i_2_ ^ 0x59b4); class348_sub35 != null; class348_sub35 = (Class348_Sub35) Class318_Sub1_Sub5_Sub1.aClass262_10125.method1990((byte) 92)) { - int i_9_ = class348_sub35.anInt6976; - int i_10_ = (-za_Sub2.regionTileX + ((0xfffe5b0 & (r_Sub2.aClass252_10488.anIntArray3238[i_9_])) >> 14)); - int i_11_ = (-Class90.regionTileY + (0x3fff & (r_Sub2.aClass252_10488.anIntArray3238[i_9_]))); - int i_12_ = -(i_4_ / 128) + 2 + 4 * i_10_; - int i_13_ = 2 + (4 * i_11_ - i_3_ / 128); - Class318_Sub1.method2385(class46, i_1_, var_aa, (r_Sub2.aClass252_10488.anIntArray3239[i_9_]), i_12_, i, (byte) -94, i_13_, var_ha); - } - for (int i_14_ = 0; (Class348_Sub40_Sub38.anInt9479 > i_14_); i_14_++) { - int i_15_ = (Class348_Sub15.anIntArray6770[i_14_] * 4 - -2 - i_4_ / 128); - int i_16_ = (-(i_3_ / 128) + Class348_Sub40_Sub37.anIntArray9458[i_14_] * 4 - -2); - Class51 class51 = (Class348_Sub40_Sub12.aClass263_9195.method2005(0, Class263.anIntArray3347[i_14_])); - if (class51.anIntArray945 != null) { - class51 = class51.method480((Class318_Sub1_Sub3_Sub3.aClass170_10209), (byte) 47); - if (class51 == null || (class51.anInt921 == -1)) continue; - } - Class318_Sub1.method2385(class46, i_1_, var_aa, class51.anInt921, i_15_, i, (byte) -113, i_16_, var_ha); - } - for (Class348_Sub37 class348_sub37 = (Class348_Sub37) Class130.aClass356_1895.method3484(i_2_ ^ 0x59b0); class348_sub37 != null; class348_sub37 = ((Class348_Sub37) Class130.aClass356_1895.method3482(0))) { - int i_17_ = (int) (0x3L & (class348_sub37.aLong4291) >> 28); - if (Class334.anInt4155 == i_17_) { - int i_18_ = (-za_Sub2.regionTileX + (int) ((class348_sub37.aLong4291) & 0x3fffL)); - int i_19_ = (-Class90.regionTileY + (int) ((class348_sub37.aLong4291) >> 14 & 0x3fffL)); - int i_20_ = -(i_4_ / 128) + (2 + i_18_ * 4); - int i_21_ = -(i_3_ / 128) + (2 + i_19_ * 4); - Class151.method1211(i_1_, (Class348_Sub12.aClass105Array6742[0]), i, class46, var_aa, i_21_, i_2_ ^ 0x59b2, i_20_); - } - } - for (int i_22_ = 0; (i_22_ < Class150.anInt2057); i_22_++) { - Class348_Sub22 class348_sub22 = ((Class348_Sub22) (Class282.aClass356_3654.method3480(Class74.anIntArray1233[i_22_], -6008))); - if (class348_sub22 != null) { - Npc npc = (class348_sub22.aNpc_6859); - if (npc.method2445((byte) -126) && ((npc.plane) == (Class132.aPlayer_1907.plane))) { - Class79 class79 = (npc.aClass79_10505); - if (class79 != null && (class79.anIntArray1377 != null)) class79 = (class79.method794((Class318_Sub1_Sub3_Sub3.aClass170_10209), -1)); - if (class79 != null && class79.aBoolean1397 && class79.aBoolean1396) { - int i_23_ = (-(i_4_ / 128) + (npc.x) / 128); - int i_24_ = ((npc.y) / 128 + -(i_3_ / 128)); - if (class79.anInt1383 != -1) Class318_Sub1.method2385(class46, i_1_, var_aa, class79.anInt1383, i_23_, i, (byte) -73, i_24_, var_ha); - else Class151.method1211(i_1_, (Class348_Sub12.aClass105Array6742[1]), i, class46, var_aa, i_24_, 2, i_23_); - } - } - } - } - int i_25_ = Class328_Sub1.anInt6513; - int[] is = Class286_Sub7.anIntArray6290; - for (int i_26_ = 0; i_26_ < i_25_; i_26_++) { - Player player = (Class294.aPlayerArray5058[is[i_26_]]); - if (player != null && player.method2457((byte) 37) && !player.aBoolean10551 && (Class132.aPlayer_1907 != player) && (player.plane == (Class132.aPlayer_1907.plane))) { - int i_27_ = (-(i_4_ / 128) + (player.x) / 128); - int i_28_ = (-(i_3_ / 128) + (player.y) / 128); - boolean bool = false; - for (int i_29_ = 0; (Class348_Sub40_Sub30.anInt9383 > i_29_); i_29_++) { - if ((player.aString10544.equals(Class83.aStringArray1441[i_29_])) && (ha.anIntArray4578[i_29_] != 0)) { - bool = true; - break; - } - } - boolean bool_30_ = false; - for (int i_31_ = 0; Class37.anInt496 > i_31_; i_31_++) { - if (player.aString10544.equals(Class169.aClass19Array2261[i_31_].aString306)) { - bool_30_ = true; - break; - } - } - boolean bool_32_ = false; - if ((Class132.aPlayer_1907.anInt10542) != 0 && (player.anInt10542 != 0) && (player.anInt10542 == (Class132.aPlayer_1907.anInt10542))) bool_32_ = true; - if (!player.aBoolean10554) { - if (!bool) { - if (bool_30_) Class151.method1211(i_1_, (Class348_Sub12.aClass105Array6742[5]), i, class46, var_aa, i_28_, i_2_ + -22958, i_27_); - else if (!bool_32_) Class151.method1211(i_1_, (Class348_Sub12.aClass105Array6742[2]), i, class46, var_aa, i_28_, 2, i_27_); - else Class151.method1211(i_1_, (Class348_Sub12.aClass105Array6742[4]), i, class46, var_aa, i_28_, 2, i_27_); - } else Class151.method1211(i_1_, (Class348_Sub12.aClass105Array6742[3]), i, class46, var_aa, i_28_, 2, i_27_); - } else Class151.method1211(i_1_, (Class348_Sub12.aClass105Array6742[6]), i, class46, var_aa, i_28_, i_2_ + -22958, i_27_); - } - } - Class302[] class302s = Class348_Sub27.aClass302Array6897; - for (int i_33_ = 0; (i_33_ < class302s.length); i_33_++) { - Class302 class302 = class302s[i_33_]; - if (class302 != null && (class302.anInt3840 != 0) && Class367_Sub11.anInt7396 % 20 < 10) { - if (class302.anInt3840 == 1) { - Class348_Sub22 class348_sub22 = ((Class348_Sub22) (Class282.aClass356_3654.method3480(class302.anInt3833, -6008))); - if (class348_sub22 != null) { - Npc npc = (class348_sub22.aNpc_6859); - int i_34_ = (-(i_4_ / 128) + (npc.x) / 128); - int i_35_ = (-(i_3_ / 128) + (npc.y) / 128); - Class287.method2181(360000L, i_1_, -125, i_35_, i, class46, i_34_, (class302.anInt3831), var_aa); - } - } - if (class302.anInt3840 == 2) { - int i_36_ = (-(i_4_ / 128) + (class302.anInt3835 / 128)); - int i_37_ = (-(i_3_ / 128) + (class302.anInt3832 / 128)); - long l = class302.anInt3837 << 7; - l *= l; - Class287.method2181(l, i_1_, -112, i_37_, i, class46, i_36_, (class302.anInt3831), var_aa); - } - if ((class302.anInt3840 == 10) && class302.anInt3833 >= 0 && (class302.anInt3833 < (Class294.aPlayerArray5058).length)) { - Player player = (Class294.aPlayerArray5058[class302.anInt3833]); - if (player != null) { - int i_38_ = (-(i_4_ / 128) + (player.x) / 128); - int i_39_ = (-(i_3_ / 128) + (player.y) / 128); - Class287.method2181(360000L, i_1_, -121, i_39_, i, class46, i_38_, (class302.anInt3831), var_aa); - } - } - } - } - if (Class348_Sub40_Sub21.anInt9282 != 4) { - if (Class248.anInt3203 != 0) { - int i_40_ = (-(i_4_ / 128) + (Class248.anInt3203 * 4 + 2) - (-(2 * Class132.aPlayer_1907.method2436((byte) 77)) - -2)); - int i_41_ = (4 * Class97.anInt1548 - (-2 + i_3_ / 128) + (2 * (Class132.aPlayer_1907.method2436((byte) 59) - 1))); - Class151.method1211(i_1_, (Class25.aClass105Array367[(!Class348_Sub13.aBoolean6759 ? 0 : 1)]), i, class46, var_aa, i_41_, 2, i_40_); - } - if (!Class132.aPlayer_1907.aBoolean10551) var_ha.method3675(3, (byte) -125, -1 + (i - -((class46.anInt709) / 2)), -1 + ((class46.anInt789) / 2 + i_1_), 3, -1); - } - } else var_ha.A(-16777216, var_aa, i, i_1_); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("mn.F(" + (class46 != null ? "{...}" : "null") + ',' + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + i_1_ + ',' + i_2_ + ')')); - } - } - - final Class348_Sub42 method1008(int i) { - if (i != 20) aClass348_Sub42_1652 = null; - anInt1653++; - Class348_Sub42 class348_sub42 = (this.aClass348_Sub42_1647.aClass348_Sub42_7063); - if (class348_sub42 == this.aClass348_Sub42_1647) return null; - class348_sub42.method3162(true); - return class348_sub42; - } - - final void method1009(int i) { - anInt1646++; - if (i == 2110355138) { - for (; ; ) { - Class348_Sub42 class348_sub42 = (this.aClass348_Sub42_1647.aClass348_Sub42_7063); - if (this.aClass348_Sub42_1647 == class348_sub42) break; - class348_sub42.method3162(true); - } - aClass348_Sub42_1652 = null; - } - } - - static final void method1010(boolean bool, boolean bool_42_) { - r.aClass101_9720.method898(Class21.aHa326.method3640()); - anInt1642++; - int[] is = Class21.aHa326.Y(); - Class14_Sub3.anInt8630 = is[2]; - Class248.anInt3202 = is[0]; - Class27.anInt394 = is[3]; - Class239_Sub5.anInt5886 = is[1]; - if (bool_42_) { - Class21.aHa326.DA(Class94.anInt1537, Class318_Sub5.anInt6417, Class193.anInt2590, Class129.anInt1879); - r.method3284(true, Class318_Sub1_Sub5_Sub1.aDouble10120); - } else { - Class21.aHa326.DA(Class120.anInt4910, Class328_Sub1_Sub1.anInt8799, Class286_Sub5.anInt6255, OutputStream_Sub1.anInt95); - r.method3284(true, Class14_Sub2.aDouble8621); - } - if (bool != false) method1010(true, true); - } - - final Class348_Sub42 method1011(int i) { - if (i > -23) method1006(false, (byte) -34); - anInt1649++; - Class348_Sub42 class348_sub42 = (this.aClass348_Sub42_1647.aClass348_Sub42_7063); - if (class348_sub42 == this.aClass348_Sub42_1647) { - aClass348_Sub42_1652 = null; - return null; - } - aClass348_Sub42_1652 = class348_sub42.aClass348_Sub42_7063; - return class348_sub42; - } - - public Class107() { - this.aClass348_Sub42_1647.aClass348_Sub42_7060 = this.aClass348_Sub42_1647; - this.aClass348_Sub42_1647.aClass348_Sub42_7063 = this.aClass348_Sub42_1647; - } -} diff --git a/client/src/Class108.java b/client/src/Class108.java deleted file mode 100644 index 7318572c5..000000000 --- a/client/src/Class108.java +++ /dev/null @@ -1,82 +0,0 @@ -/* Class108 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class108 { - static int anInt1656 = 0; - static Class364 aClass364_1657 = new Class364("WTWIP", 3); - static int anInt1658; - static int anInt1659; - static int anInt1660; - static boolean aBoolean1661 = true; - static Class304 aClass304_1662 = new Class304(4); - static int anInt1663; - static Class105 aClass105_1664; - - static final float method1012(float f, float f_0_, float f_1_, float f_2_, int i, float f_3_, byte i_4_, float f_5_) { - anInt1659++; - float f_6_ = 0.0F; - float f_7_ = -f_3_ + f_0_; - float f_8_ = -f + f_5_; - float f_9_ = -f_1_ + f_2_; - if (i_4_ < 99) method1015(-13, -42, false); - float f_10_ = 0.0F; - float f_11_ = 0.0F; - float f_12_ = 0.0F; - while (f_6_ < 1.1F) { - float f_13_ = f_7_ * f_6_ + f_3_; - float f_14_ = f + f_6_ * f_8_; - float f_15_ = f_1_ + f_9_ * f_6_; - int i_16_ = (int) f_13_ >> 9; - int i_17_ = (int) f_15_ >> 9; - if (i_16_ > 0 && i_17_ > 0 && Class367_Sub4.anInt7319 > i_16_ && (i_17_ < Class348_Sub40_Sub3.anInt9109)) { - int i_18_ = (Class132.aPlayer_1907.plane); - if (i_18_ < 3 && ((Class348_Sub33.aByteArrayArrayArray6962[1][i_16_][i_17_]) & 0x2) != 0) i_18_++; - int i_19_ = Class348_Sub1_Sub1.aSArray8801[i_18_].method3986((int) f_13_, (int) f_15_, (byte) 109); - if (f_14_ > (float) i_19_) { - if (i < 2) return f_6_; - return (f_6_ - 0.1F + method1012(f_11_, f_13_, f_12_, f_15_, i - 1, f_10_, (byte) 122, f_14_) * 0.1F); - } - } - f_10_ = f_13_; - f_11_ = f_14_; - f_6_ += 0.1F; - f_12_ = f_15_; - } - return -1.0F; - } - - public static void method1013(byte i) { - aClass364_1657 = null; - if (i < 111) method1013((byte) 17); - aClass304_1662 = null; - aClass105_1664 = null; - } - - static final void method1014(int i) { - anInt1660++; - for (Class348_Sub42_Sub6 class348_sub42_sub6 = (Class348_Sub42_Sub6) r_Sub2.aClass262_10492.method1995(4); class348_sub42_sub6 != null; class348_sub42_sub6 = ((Class348_Sub42_Sub6) r_Sub2.aClass262_10492.method1990((byte) 55))) { - Class318_Sub1_Sub3_Sub4 class318_sub1_sub3_sub4 = (class348_sub42_sub6.aClass318_Sub1_Sub3_Sub4_9538); - if (class318_sub1_sub3_sub4.aBoolean10345) { - class348_sub42_sub6.method2715((byte) 76); - class318_sub1_sub3_sub4.method2466(false); - } else if (Class367_Sub11.anInt7396 >= (class318_sub1_sub3_sub4.anInt10349)) { - class318_sub1_sub3_sub4.method2470(Class348_Sub51.anInt7267, (byte) -16); - if (class318_sub1_sub3_sub4.aBoolean10345) class348_sub42_sub6.method2715((byte) 42); - else Class89.method850(class318_sub1_sub3_sub4, true); - } - } - if (i != -4) aBoolean1661 = false; - } - - static final void method1015(int i, int i_20_, boolean bool) { - anInt1658++; - Class190 class190 = Class262.aClass190ArrayArray3335[i][i_20_]; - if (class190 != null) { - Class196.anInt2601 = class190.anInt2535; - Class21.anInt325 = class190.anInt2538; - Class318_Sub1_Sub3_Sub1.anInt10023 = class190.anInt2548; - } - Class348_Sub23_Sub4.method2988(bool); - } -} diff --git a/client/src/Class109.java b/client/src/Class109.java deleted file mode 100644 index 9a18143e2..000000000 --- a/client/src/Class109.java +++ /dev/null @@ -1,4467 +0,0 @@ -/* Class109 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class109 { - int anInt1665; - private final ha_Sub1 aHa_Sub1_1666; - boolean aBoolean1667 = false; - int anInt1668; - boolean aBoolean1669; - private final Class167 aClass167_1670; - boolean aBoolean1671; - int anInt1672; - private final int[] anIntArray1673; - int anInt1674 = 0; - private boolean aBoolean1675 = false; - int[] anIntArray1676 = new int[4096]; - private final float[] aFloatArray1677; - private final int anInt1678; - int anInt1679; - private final boolean aBoolean1680; - private float aFloat1681; - private float aFloat1682; - private int anInt1683; - private float aFloat1684; - private int[] anIntArray1685; - private int anInt1686; - private final int anInt1687; - private int anInt1688; - private final int anInt1689; - private int anInt1690; - private int anInt1691; - private int[] anIntArray1692; - private int anInt1693; - private boolean aBoolean1694; - private int anInt1695; - private int anInt1696; - private final int anInt1697; - private int[] anIntArray1698; - - private final void method1016(int[] is, int[] is_0_, int i, int i_1_, int i_2_, float f, float f_3_, float f_4_, float f_5_, float f_6_, float f_7_, float f_8_, float f_9_, float f_10_, float f_11_, float f_12_, float f_13_, float f_14_, float f_15_, float f_16_, float f_17_) { - int i_18_ = i_2_ - i_1_; - float f_19_ = 1.0F / (float) i_18_; - float f_20_ = (f_3_ - f) * f_19_; - float f_21_ = (f_5_ - f_4_) * f_19_; - float f_22_ = (f_7_ - f_6_) * f_19_; - float f_23_ = (f_9_ - f_8_) * f_19_; - float f_24_ = (f_11_ - f_10_) * f_19_; - float f_25_ = (f_13_ - f_12_) * f_19_; - float f_26_ = (f_15_ - f_14_) * f_19_; - float f_27_ = (f_17_ - f_16_) * f_19_; - if (this.aBoolean1671) { - if (i_2_ > this.anInt1679) i_2_ = this.anInt1679; - if (i_1_ < 0) { - f -= f_20_ * (float) i_1_; - f_4_ -= f_21_ * (float) i_1_; - f_6_ -= f_22_ * (float) i_1_; - f_8_ -= f_23_ * (float) i_1_; - f_10_ -= f_24_ * (float) i_1_; - f_12_ -= f_25_ * (float) i_1_; - f_14_ -= f_26_ * (float) i_1_; - f_16_ -= f_27_ * (float) i_1_; - i_1_ = 0; - } - } - if (i_1_ < i_2_) { - i_18_ = i_2_ - i_1_; - i += i_1_; - while (i_18_-- > 0) { - float f_28_ = 1.0F / f; - if (f_28_ < aFloatArray1677[i]) { - int i_29_ = (int) (f_4_ * f_28_ * (float) anInt1693); - if (aBoolean1694) i_29_ &= anInt1690; - else if (i_29_ < 0) i_29_ = 0; - else if (i_29_ > anInt1690) i_29_ = anInt1690; - int i_30_ = (int) (f_6_ * f_28_ * (float) anInt1693); - if (aBoolean1694) i_30_ &= anInt1690; - else if (i_30_ < 0) i_30_ = 0; - else if (i_30_ > anInt1690) i_30_ = anInt1690; - int i_31_ = anIntArray1698[i_30_ * anInt1693 + i_29_]; - int i_32_ = 255; - if (anInt1683 == 2) i_32_ = i_31_ >> 24 & 0xff; - else if (anInt1683 == 1) i_32_ = i_31_ == 0 ? 0 : 255; - else i_32_ = (int) f_10_; - if (i_32_ != 0) { - if (i_32_ == 255) { - int i_38_ = (~0xffffff | ((int) (f_12_ * (float) (i_31_ >> 16 & 0xff)) << 8 & 0xff0000) | (int) (f_14_ * (float) (i_31_ >> 8 & 0xff)) & 0xff00 | ((int) (f_16_ * (float) (i_31_ & 0xff)) >> 8)); - if (f_8_ != 0.0F) { - int i_39_ = (int) (255.0F - f_8_); - int i_40_ = ((((anInt1696 & 0xff00ff) * (int) f_8_ & ~0xff00ff) | ((anInt1696 & 0xff00) * (int) f_8_ & 0xff0000)) >>> 8); - i_38_ = (((i_38_ & 0xff00ff) * i_39_ & ~0xff00ff | (i_38_ & 0xff00) * i_39_ & 0xff0000) >>> 8) + i_40_; - } - is[i] = i_38_; - aFloatArray1677[i] = f_28_; - } else { - int i_33_ = (~0xffffff | ((int) (f_12_ * (float) (i_31_ >> 16 & 0xff)) << 8 & 0xff0000) | (int) (f_14_ * (float) (i_31_ >> 8 & 0xff)) & 0xff00 | ((int) (f_16_ * (float) (i_31_ & 0xff)) >> 8)); - if (f_8_ != 0.0F) { - int i_34_ = (int) (255.0F - f_8_); - int i_35_ = ((((anInt1696 & 0xff00ff) * (int) f_8_ & ~0xff00ff) | ((anInt1696 & 0xff00) * (int) f_8_ & 0xff0000)) >>> 8); - i_33_ = (((i_33_ & 0xff00ff) * i_34_ & ~0xff00ff | (i_33_ & 0xff00) * i_34_ & 0xff0000) >>> 8) + i_35_; - } - int i_36_ = is[i]; - int i_37_ = 255 - i_32_; - i_33_ = ((((i_36_ & 0xff00ff) * i_37_ + (i_33_ & 0xff00ff) * i_32_) & ~0xff00ff) + (((i_36_ & 0xff00) * i_37_ + (i_33_ & 0xff00) * i_32_) & 0xff0000)) >> 8; - is[i] = i_33_; - aFloatArray1677[i] = f_28_; - } - } - } - i++; - f += f_20_; - f_4_ += f_21_; - f_6_ += f_22_; - f_8_ += f_23_; - f_10_ += f_24_; - f_12_ += f_25_; - f_14_ += f_26_; - f_16_ += f_27_; - } - } - } - - final int method1017() { - return this.anIntArray1676[0] / anInt1678; - } - - final void method1018(float f, float f_41_, float f_42_, float f_43_, float f_44_, float f_45_, float f_46_, float f_47_, float f_48_, int i) { - if (aBoolean1675) { - aHa_Sub1_1666.method3645((int) f, (int) f_43_, (int) f_44_, -8003, i, (int) f_41_); - aHa_Sub1_1666.method3645((int) f_41_, (int) f_44_, (int) f_45_, -8003, i, (int) f_42_); - aHa_Sub1_1666.method3645((int) f_42_, (int) f_45_, (int) f_43_, -8003, i, (int) f); - } else { - float f_49_ = f_44_ - f_43_; - float f_50_ = f_41_ - f; - float f_51_ = f_45_ - f_43_; - float f_52_ = f_42_ - f; - float f_53_ = f_47_ - f_46_; - float f_54_ = f_48_ - f_46_; - float f_55_ = 0.0F; - if (f_41_ != f) f_55_ = (f_44_ - f_43_) / (f_41_ - f); - float f_56_ = 0.0F; - if (f_42_ != f_41_) f_56_ = (f_45_ - f_44_) / (f_42_ - f_41_); - float f_57_ = 0.0F; - if (f_42_ != f) f_57_ = (f_43_ - f_45_) / (f - f_42_); - float f_58_ = f_49_ * f_52_ - f_51_ * f_50_; - if (f_58_ != 0.0F) { - float f_59_ = (f_53_ * f_52_ - f_54_ * f_50_) / f_58_; - float f_60_ = (f_54_ * f_49_ - f_53_ * f_51_) / f_58_; - if (f <= f_41_ && f <= f_42_) { - if (!(f >= (float) this.anInt1672)) { - if (f_41_ > (float) this.anInt1672) f_41_ = (float) this.anInt1672; - if (f_42_ > (float) this.anInt1672) f_42_ = (float) this.anInt1672; - f_46_ = f_46_ - f_59_ * f_43_ + f_59_; - if (f_41_ < f_42_) { - f_45_ = f_43_; - if (f < 0.0F) { - f_45_ -= f_57_ * f; - f_43_ -= f_55_ * f; - f_46_ -= f_60_ * f; - f = 0.0F; - } - if (f_41_ < 0.0F) { - f_44_ -= f_56_ * f_41_; - f_41_ = 0.0F; - } - if (f != f_41_ && f_57_ < f_55_ || f == f_41_ && f_57_ > f_56_) { - f_42_ -= f_41_; - f_41_ -= f; - f = (float) (this.anIntArray1676[(int) f]); - while (--f_41_ >= 0.0F) { - method1026(anIntArray1673, aFloatArray1677, (int) f, i, 0, (int) f_45_, (int) f_43_, f_46_, f_59_); - f_45_ += f_57_; - f_43_ += f_55_; - f_46_ += f_60_; - f += (float) anInt1678; - } - while (--f_42_ >= 0.0F) { - method1026(anIntArray1673, aFloatArray1677, (int) f, i, 0, (int) f_45_, (int) f_44_, f_46_, f_59_); - f_45_ += f_57_; - f_44_ += f_56_; - f_46_ += f_60_; - f += (float) anInt1678; - } - } else { - f_42_ -= f_41_; - f_41_ -= f; - f = (float) (this.anIntArray1676[(int) f]); - while (--f_41_ >= 0.0F) { - method1026(anIntArray1673, aFloatArray1677, (int) f, i, 0, (int) f_43_, (int) f_45_, f_46_, f_59_); - f_45_ += f_57_; - f_43_ += f_55_; - f_46_ += f_60_; - f += (float) anInt1678; - } - while (--f_42_ >= 0.0F) { - method1026(anIntArray1673, aFloatArray1677, (int) f, i, 0, (int) f_44_, (int) f_45_, f_46_, f_59_); - f_45_ += f_57_; - f_44_ += f_56_; - f_46_ += f_60_; - f += (float) anInt1678; - } - } - } else { - f_44_ = f_43_; - if (f < 0.0F) { - f_44_ -= f_57_ * f; - f_43_ -= f_55_ * f; - f_46_ -= f_60_ * f; - f = 0.0F; - } - if (f_42_ < 0.0F) { - f_45_ -= f_56_ * f_42_; - f_42_ = 0.0F; - } - if (f != f_42_ && f_57_ < f_55_ || f == f_42_ && f_56_ > f_55_) { - f_41_ -= f_42_; - f_42_ -= f; - f = (float) (this.anIntArray1676[(int) f]); - while (--f_42_ >= 0.0F) { - method1026(anIntArray1673, aFloatArray1677, (int) f, i, 0, (int) f_44_, (int) f_43_, f_46_, f_59_); - f_44_ += f_57_; - f_43_ += f_55_; - f_46_ += f_60_; - f += (float) anInt1678; - } - while (--f_41_ >= 0.0F) { - method1026(anIntArray1673, aFloatArray1677, (int) f, i, 0, (int) f_45_, (int) f_43_, f_46_, f_59_); - f_45_ += f_56_; - f_43_ += f_55_; - f_46_ += f_60_; - f += (float) anInt1678; - } - } else { - f_41_ -= f_42_; - f_42_ -= f; - f = (float) (this.anIntArray1676[(int) f]); - while (--f_42_ >= 0.0F) { - method1026(anIntArray1673, aFloatArray1677, (int) f, i, 0, (int) f_43_, (int) f_44_, f_46_, f_59_); - f_44_ += f_57_; - f_43_ += f_55_; - f_46_ += f_60_; - f += (float) anInt1678; - } - while (--f_41_ >= 0.0F) { - method1026(anIntArray1673, aFloatArray1677, (int) f, i, 0, (int) f_43_, (int) f_45_, f_46_, f_59_); - f_45_ += f_56_; - f_43_ += f_55_; - f_46_ += f_60_; - f += (float) anInt1678; - } - } - } - } - } else if (f_41_ <= f_42_) { - if (!(f_41_ >= (float) this.anInt1672)) { - if (f_42_ > (float) this.anInt1672) f_42_ = (float) this.anInt1672; - if (f > (float) this.anInt1672) f = (float) this.anInt1672; - f_47_ = f_47_ - f_59_ * f_44_ + f_59_; - if (f_42_ < f) { - f_43_ = f_44_; - if (f_41_ < 0.0F) { - f_43_ -= f_55_ * f_41_; - f_44_ -= f_56_ * f_41_; - f_47_ -= f_60_ * f_41_; - f_41_ = 0.0F; - } - if (f_42_ < 0.0F) { - f_45_ -= f_57_ * f_42_; - f_42_ = 0.0F; - } - if (f_41_ != f_42_ && f_55_ < f_56_ || f_41_ == f_42_ && f_55_ > f_57_) { - f -= f_42_; - f_42_ -= f_41_; - f_41_ = (float) (this.anIntArray1676[(int) f_41_]); - while (--f_42_ >= 0.0F) { - method1026(anIntArray1673, aFloatArray1677, (int) f_41_, i, 0, (int) f_43_, (int) f_44_, f_47_, f_59_); - f_43_ += f_55_; - f_44_ += f_56_; - f_47_ += f_60_; - f_41_ += (float) anInt1678; - } - while (--f >= 0.0F) { - method1026(anIntArray1673, aFloatArray1677, (int) f_41_, i, 0, (int) f_43_, (int) f_45_, f_47_, f_59_); - f_43_ += f_55_; - f_45_ += f_57_; - f_47_ += f_60_; - f_41_ += (float) anInt1678; - } - } else { - f -= f_42_; - f_42_ -= f_41_; - f_41_ = (float) (this.anIntArray1676[(int) f_41_]); - while (--f_42_ >= 0.0F) { - method1026(anIntArray1673, aFloatArray1677, (int) f_41_, i, 0, (int) f_44_, (int) f_43_, f_47_, f_59_); - f_43_ += f_55_; - f_44_ += f_56_; - f_47_ += f_60_; - f_41_ += (float) anInt1678; - } - while (--f >= 0.0F) { - method1026(anIntArray1673, aFloatArray1677, (int) f_41_, i, 0, (int) f_45_, (int) f_43_, f_47_, f_59_); - f_43_ += f_55_; - f_45_ += f_57_; - f_47_ += f_60_; - f_41_ += (float) anInt1678; - } - } - } else { - f_45_ = f_44_; - if (f_41_ < 0.0F) { - f_45_ -= f_55_ * f_41_; - f_44_ -= f_56_ * f_41_; - f_47_ -= f_60_ * f_41_; - f_41_ = 0.0F; - } - if (f < 0.0F) { - f_43_ -= f_57_ * f; - f = 0.0F; - } - if (f_55_ < f_56_) { - f_42_ -= f; - f -= f_41_; - f_41_ = (float) (this.anIntArray1676[(int) f_41_]); - while (--f >= 0.0F) { - method1026(anIntArray1673, aFloatArray1677, (int) f_41_, i, 0, (int) f_45_, (int) f_44_, f_47_, f_59_); - f_45_ += f_55_; - f_44_ += f_56_; - f_47_ += f_60_; - f_41_ += (float) anInt1678; - } - while (--f_42_ >= 0.0F) { - method1026(anIntArray1673, aFloatArray1677, (int) f_41_, i, 0, (int) f_43_, (int) f_44_, f_47_, f_59_); - f_43_ += f_57_; - f_44_ += f_56_; - f_47_ += f_60_; - f_41_ += (float) anInt1678; - } - } else { - f_42_ -= f; - f -= f_41_; - f_41_ = (float) (this.anIntArray1676[(int) f_41_]); - while (--f >= 0.0F) { - method1026(anIntArray1673, aFloatArray1677, (int) f_41_, i, 0, (int) f_44_, (int) f_45_, f_47_, f_59_); - f_45_ += f_55_; - f_44_ += f_56_; - f_47_ += f_60_; - f_41_ += (float) anInt1678; - } - while (--f_42_ >= 0.0F) { - method1026(anIntArray1673, aFloatArray1677, (int) f_41_, i, 0, (int) f_44_, (int) f_43_, f_47_, f_59_); - f_43_ += f_57_; - f_44_ += f_56_; - f_47_ += f_60_; - f_41_ += (float) anInt1678; - } - } - } - } - } else if (!(f_42_ >= (float) this.anInt1672)) { - if (f > (float) this.anInt1672) f = (float) this.anInt1672; - if (f_41_ > (float) this.anInt1672) f_41_ = (float) this.anInt1672; - f_48_ = f_48_ - f_59_ * f_45_ + f_59_; - if (f < f_41_) { - f_44_ = f_45_; - if (f_42_ < 0.0F) { - f_44_ -= f_56_ * f_42_; - f_45_ -= f_57_ * f_42_; - f_48_ -= f_60_ * f_42_; - f_42_ = 0.0F; - } - if (f < 0.0F) { - f_43_ -= f_55_ * f; - f = 0.0F; - } - if (f_56_ < f_57_) { - f_41_ -= f; - f -= f_42_; - f_42_ = (float) (this.anIntArray1676[(int) f_42_]); - while (--f >= 0.0F) { - method1026(anIntArray1673, aFloatArray1677, (int) f_42_, i, 0, (int) f_44_, (int) f_45_, f_48_, f_59_); - f_44_ += f_56_; - f_45_ += f_57_; - f_48_ += f_60_; - f_42_ += (float) anInt1678; - } - while (--f_41_ >= 0.0F) { - method1026(anIntArray1673, aFloatArray1677, (int) f_42_, i, 0, (int) f_44_, (int) f_43_, f_48_, f_59_); - f_44_ += f_56_; - f_43_ += f_55_; - f_48_ += f_60_; - f_42_ += (float) anInt1678; - } - } else { - f_41_ -= f; - f -= f_42_; - f_42_ = (float) (this.anIntArray1676[(int) f_42_]); - while (--f >= 0.0F) { - method1026(anIntArray1673, aFloatArray1677, (int) f_42_, i, 0, (int) f_45_, (int) f_44_, f_48_, f_59_); - f_44_ += f_56_; - f_45_ += f_57_; - f_48_ += f_60_; - f_42_ += (float) anInt1678; - } - while (--f_41_ >= 0.0F) { - method1026(anIntArray1673, aFloatArray1677, (int) f_42_, i, 0, (int) f_43_, (int) f_44_, f_48_, f_59_); - f_44_ += f_56_; - f_43_ += f_55_; - f_48_ += f_60_; - f_42_ += (float) anInt1678; - } - } - } else { - f_43_ = f_45_; - if (f_42_ < 0.0F) { - f_43_ -= f_56_ * f_42_; - f_45_ -= f_57_ * f_42_; - f_48_ -= f_60_ * f_42_; - f_42_ = 0.0F; - } - if (f_41_ < 0.0F) { - f_44_ -= f_55_ * f_41_; - f_41_ = 0.0F; - } - if (f_56_ < f_57_) { - f -= f_41_; - f_41_ -= f_42_; - f_42_ = (float) (this.anIntArray1676[(int) f_42_]); - while (--f_41_ >= 0.0F) { - method1026(anIntArray1673, aFloatArray1677, (int) f_42_, i, 0, (int) f_43_, (int) f_45_, f_48_, f_59_); - f_43_ += f_56_; - f_45_ += f_57_; - f_48_ += f_60_; - f_42_ += (float) anInt1678; - } - while (--f >= 0.0F) { - method1026(anIntArray1673, aFloatArray1677, (int) f_42_, i, 0, (int) f_44_, (int) f_45_, f_48_, f_59_); - f_44_ += f_55_; - f_45_ += f_57_; - f_48_ += f_60_; - f_42_ += (float) anInt1678; - } - } else { - f -= f_41_; - f_41_ -= f_42_; - f_42_ = (float) (this.anIntArray1676[(int) f_42_]); - while (--f_41_ >= 0.0F) { - method1026(anIntArray1673, aFloatArray1677, (int) f_42_, i, 0, (int) f_45_, (int) f_43_, f_48_, f_59_); - f_43_ += f_56_; - f_45_ += f_57_; - f_48_ += f_60_; - f_42_ += (float) anInt1678; - } - while (--f >= 0.0F) { - method1026(anIntArray1673, aFloatArray1677, (int) f_42_, i, 0, (int) f_45_, (int) f_44_, f_48_, f_59_); - f_44_ += f_55_; - f_45_ += f_57_; - f_48_ += f_60_; - f_42_ += (float) anInt1678; - } - } - } - } - } - } - } - - private final void method1019(int[] is, float[] fs, int i, int i_61_, int i_62_, int i_63_, int i_64_, float f, float f_65_, float f_66_, float f_67_) { - if (this.aBoolean1671) { - if (i_64_ > this.anInt1679) i_64_ = this.anInt1679; - if (i_63_ < 0) i_63_ = 0; - } - if (i_63_ < i_64_) { - i += i_63_ - 1; - f += f_65_ * (float) i_63_; - f_66_ += f_67_ * (float) i_63_; - if (aClass167_1670.aBoolean2202) { - do { - if (this.aBoolean1669) { - i_62_ = i_64_ - i_63_ >> 2; - f_65_ *= 4.0F; - if (this.anInt1674 == 0) { - if (i_62_ > 0) { - do { - i_61_ = Class126.anIntArray4983[(int) f]; - f += f_65_; - if (f_66_ < fs[++i]) { - is[i] = i_61_; - fs[i] = f_66_; - } - f_66_ += f_67_; - if (f_66_ < fs[++i]) { - is[i] = i_61_; - fs[i] = f_66_; - } - f_66_ += f_67_; - if (f_66_ < fs[++i]) { - is[i] = i_61_; - fs[i] = f_66_; - } - f_66_ += f_67_; - if (f_66_ < fs[++i]) { - is[i] = i_61_; - fs[i] = f_66_; - } - f_66_ += f_67_; - } while (--i_62_ > 0); - } - i_62_ = i_64_ - i_63_ & 0x3; - if (i_62_ > 0) { - i_61_ = Class126.anIntArray4983[(int) f]; - do { - if (f_66_ < fs[++i]) { - is[i] = i_61_; - fs[i] = f_66_; - } - f_66_ += f_67_; - } while (--i_62_ > 0); - } - } else { - int i_68_ = this.anInt1674; - int i_69_ = 256 - this.anInt1674; - if (i_62_ > 0) { - do { - i_61_ = Class126.anIntArray4983[(int) f]; - f += f_65_; - i_61_ = (((i_61_ & 0xff00ff) * i_69_ >> 8 & 0xff00ff) + ((i_61_ & 0xff00) * i_69_ >> 8 & 0xff00)); - if (f_66_ < fs[++i]) { - int i_70_ = is[i]; - is[i] = (i_61_ + (((i_70_ & 0xff00ff) * i_68_ >> 8) & 0xff00ff) + ((i_70_ & 0xff00) * i_68_ >> 8 & 0xff00)); - fs[i] = f_66_; - } - f_66_ += f_67_; - if (f_66_ < fs[++i]) { - int i_71_ = is[i]; - is[i] = (i_61_ + (((i_71_ & 0xff00ff) * i_68_ >> 8) & 0xff00ff) + ((i_71_ & 0xff00) * i_68_ >> 8 & 0xff00)); - fs[i] = f_66_; - } - f_66_ += f_67_; - if (f_66_ < fs[++i]) { - int i_72_ = is[i]; - is[i] = (i_61_ + (((i_72_ & 0xff00ff) * i_68_ >> 8) & 0xff00ff) + ((i_72_ & 0xff00) * i_68_ >> 8 & 0xff00)); - fs[i] = f_66_; - } - f_66_ += f_67_; - if (f_66_ < fs[++i]) { - int i_73_ = is[i]; - is[i] = (i_61_ + (((i_73_ & 0xff00ff) * i_68_ >> 8) & 0xff00ff) + ((i_73_ & 0xff00) * i_68_ >> 8 & 0xff00)); - fs[i] = f_66_; - } - f_66_ += f_67_; - } while (--i_62_ > 0); - } - i_62_ = i_64_ - i_63_ & 0x3; - if (i_62_ <= 0) break; - i_61_ = Class126.anIntArray4983[(int) f]; - i_61_ = (((i_61_ & 0xff00ff) * i_69_ >> 8 & 0xff00ff) + ((i_61_ & 0xff00) * i_69_ >> 8 & 0xff00)); - do { - if (f_66_ < fs[++i]) { - int i_74_ = is[i]; - is[i] = (i_61_ + ((i_74_ & 0xff00ff) * i_68_ >> 8 & 0xff00ff) + ((i_74_ & 0xff00) * i_68_ >> 8 & 0xff00)); - fs[i] = f_66_; - } - f_66_ += f_67_; - } while (--i_62_ > 0); - } - break; - } - i_62_ = i_64_ - i_63_; - if (this.anInt1674 == 0) { - do { - if (f_66_ < fs[++i]) { - is[i] = Class126.anIntArray4983[(int) f]; - fs[i] = f_66_; - } - f_66_ += f_67_; - f += f_65_; - } while (--i_62_ > 0); - break; - } - int i_75_ = this.anInt1674; - int i_76_ = 256 - this.anInt1674; - do { - if (f_66_ < fs[++i]) { - i_61_ = Class126.anIntArray4983[(int) f]; - i_61_ = (((i_61_ & 0xff00ff) * i_76_ >> 8 & 0xff00ff) + ((i_61_ & 0xff00) * i_76_ >> 8 & 0xff00)); - int i_77_ = is[i]; - is[i] = (i_61_ + ((i_77_ & 0xff00ff) * i_75_ >> 8 & 0xff00ff) + ((i_77_ & 0xff00) * i_75_ >> 8 & 0xff00)); - fs[i] = f_66_; - } - f += f_65_; - f_66_ += f_67_; - } while (--i_62_ > 0); - } while (false); - } else { - do { - if (this.aBoolean1669) { - i_62_ = i_64_ - i_63_ >> 2; - f_65_ *= 4.0F; - if (this.anInt1674 == 0) { - if (i_62_ > 0) { - do { - i_61_ = Class126.anIntArray4983[(int) f]; - f += f_65_; - if (f_66_ < fs[++i]) is[i] = i_61_; - f_66_ += f_67_; - if (f_66_ < fs[++i]) is[i] = i_61_; - f_66_ += f_67_; - if (f_66_ < fs[++i]) is[i] = i_61_; - f_66_ += f_67_; - if (f_66_ < fs[++i]) is[i] = i_61_; - f_66_ += f_67_; - } while (--i_62_ > 0); - } - i_62_ = i_64_ - i_63_ & 0x3; - if (i_62_ > 0) { - i_61_ = Class126.anIntArray4983[(int) f]; - do { - if (f_66_ < fs[++i]) is[i] = i_61_; - f_66_ += f_67_; - } while (--i_62_ > 0); - } - } else { - int i_78_ = this.anInt1674; - int i_79_ = 256 - this.anInt1674; - if (i_62_ > 0) { - do { - i_61_ = Class126.anIntArray4983[(int) f]; - f += f_65_; - i_61_ = (((i_61_ & 0xff00ff) * i_79_ >> 8 & 0xff00ff) + ((i_61_ & 0xff00) * i_79_ >> 8 & 0xff00)); - if (f_66_ < fs[++i]) { - int i_80_ = is[i]; - is[i] = (i_61_ + (((i_80_ & 0xff00ff) * i_78_ >> 8) & 0xff00ff) + ((i_80_ & 0xff00) * i_78_ >> 8 & 0xff00)); - } - f_66_ += f_67_; - if (f_66_ < fs[++i]) { - int i_81_ = is[i]; - is[i] = (i_61_ + (((i_81_ & 0xff00ff) * i_78_ >> 8) & 0xff00ff) + ((i_81_ & 0xff00) * i_78_ >> 8 & 0xff00)); - } - f_66_ += f_67_; - if (f_66_ < fs[++i]) { - int i_82_ = is[i]; - is[i] = (i_61_ + (((i_82_ & 0xff00ff) * i_78_ >> 8) & 0xff00ff) + ((i_82_ & 0xff00) * i_78_ >> 8 & 0xff00)); - } - f_66_ += f_67_; - if (f_66_ < fs[++i]) { - int i_83_ = is[i]; - is[i] = (i_61_ + (((i_83_ & 0xff00ff) * i_78_ >> 8) & 0xff00ff) + ((i_83_ & 0xff00) * i_78_ >> 8 & 0xff00)); - } - f_66_ += f_67_; - } while (--i_62_ > 0); - } - i_62_ = i_64_ - i_63_ & 0x3; - if (i_62_ <= 0) break; - i_61_ = Class126.anIntArray4983[(int) f]; - i_61_ = (((i_61_ & 0xff00ff) * i_79_ >> 8 & 0xff00ff) + ((i_61_ & 0xff00) * i_79_ >> 8 & 0xff00)); - do { - if (f_66_ < fs[++i]) { - int i_84_ = is[i]; - is[i] = (i_61_ + ((i_84_ & 0xff00ff) * i_78_ >> 8 & 0xff00ff) + ((i_84_ & 0xff00) * i_78_ >> 8 & 0xff00)); - } - f_66_ += f_67_; - } while (--i_62_ > 0); - } - break; - } - i_62_ = i_64_ - i_63_; - if (this.anInt1674 == 0) { - do { - if (f_66_ < fs[++i]) is[i] = Class126.anIntArray4983[(int) f]; - f_66_ += f_67_; - f += f_65_; - } while (--i_62_ > 0); - break; - } - int i_85_ = this.anInt1674; - int i_86_ = 256 - this.anInt1674; - do { - if (f_66_ < fs[++i]) { - i_61_ = Class126.anIntArray4983[(int) f]; - i_61_ = (((i_61_ & 0xff00ff) * i_86_ >> 8 & 0xff00ff) + ((i_61_ & 0xff00) * i_86_ >> 8 & 0xff00)); - int i_87_ = is[i]; - is[i] = (i_61_ + ((i_87_ & 0xff00ff) * i_85_ >> 8 & 0xff00ff) + ((i_87_ & 0xff00) * i_85_ >> 8 & 0xff00)); - } - f += f_65_; - f_66_ += f_67_; - } while (--i_62_ > 0); - } while (false); - } - } - } - - final void method1020(float f, float f_88_, float f_89_, float f_90_, float f_91_, float f_92_, float f_93_, float f_94_, float f_95_, float f_96_, float f_97_, float f_98_, float f_99_, float f_100_, float f_101_, int i, int i_102_, int i_103_, int i_104_, int i_105_, int i_106_, int i_107_, int i_108_, float f_109_, int i_110_, float f_111_, int i_112_, float f_113_) { - if (i_108_ != anInt1697) { - anIntArray1698 = aHa_Sub1_1666.method3718(i_108_); - if (anIntArray1698 == null) { - method1027((float) (int) f, (float) (int) f_88_, (float) (int) f_89_, (float) (int) f_90_, (float) (int) f_91_, (float) (int) f_92_, (float) (int) f_93_, (float) (int) f_94_, (float) (int) f_95_, Class6.method206(i, i_104_ | i_105_ << 24, 255), Class6.method206(i_102_, i_104_ | i_106_ << 24, 255), Class6.method206(i_103_, i_104_ | i_107_ << 24, 255)); - return; - } - anInt1693 = (aHa_Sub1_1666.method3727(i_108_) ? 64 : aHa_Sub1_1666.anInt7501); - anInt1690 = anInt1693 - 1; - anInt1683 = aHa_Sub1_1666.method3726(i_108_); - } - aFloat1681 = f_109_; - if (i_110_ != anInt1689) { - anIntArray1685 = aHa_Sub1_1666.method3718(i_110_); - if (anIntArray1685 == null) { - method1027((float) (int) f, (float) (int) f_88_, (float) (int) f_89_, (float) (int) f_90_, (float) (int) f_91_, (float) (int) f_92_, (float) (int) f_93_, (float) (int) f_94_, (float) (int) f_95_, Class6.method206(i, i_104_ | i_105_ << 24, 255), Class6.method206(i_102_, i_104_ | i_106_ << 24, 255), Class6.method206(i_103_, i_104_ | i_107_ << 24, 255)); - return; - } - anInt1691 = (aHa_Sub1_1666.method3727(i_110_) ? 64 : aHa_Sub1_1666.anInt7501); - anInt1686 = anInt1691 - 1; - } - aFloat1684 = f_111_; - if (i_112_ != anInt1687) { - anIntArray1692 = aHa_Sub1_1666.method3718(i_112_); - if (anIntArray1692 == null) { - method1027((float) (int) f, (float) (int) f_88_, (float) (int) f_89_, (float) (int) f_90_, (float) (int) f_91_, (float) (int) f_92_, (float) (int) f_93_, (float) (int) f_94_, (float) (int) f_95_, Class6.method206(i, i_104_ | i_105_ << 24, 255), Class6.method206(i_102_, i_104_ | i_106_ << 24, 255), Class6.method206(i_103_, i_104_ | i_107_ << 24, 255)); - return; - } - anInt1695 = (aHa_Sub1_1666.method3727(i_112_) ? 64 : aHa_Sub1_1666.anInt7501); - anInt1688 = anInt1695 - 1; - } - aFloat1682 = f_113_; - anInt1696 = i_104_; - float f_114_ = (float) (i >> 24 & 0xff); - float f_115_ = (float) (i_102_ >> 24 & 0xff); - float f_116_ = (float) (i_103_ >> 24 & 0xff); - float f_117_ = (float) (i >> 16 & 0xff); - float f_118_ = (float) (i_102_ >> 16 & 0xff); - float f_119_ = (float) (i_103_ >> 16 & 0xff); - float f_120_ = (float) (i >> 8 & 0xff); - float f_121_ = (float) (i_102_ >> 8 & 0xff); - float f_122_ = (float) (i_103_ >> 8 & 0xff); - float f_123_ = (float) (i & 0xff); - float f_124_ = (float) (i_102_ & 0xff); - float f_125_ = (float) (i_103_ & 0xff); - f_96_ /= f_93_; - f_97_ /= f_94_; - f_98_ /= f_95_; - f_99_ /= f_93_; - f_100_ /= f_94_; - f_101_ /= f_95_; - f_93_ = 1.0F / f_93_; - f_94_ = 1.0F / f_94_; - f_95_ = 1.0F / f_95_; - float f_126_ = 1.0F; - float f_127_ = 0.0F; - float f_128_ = 0.0F; - float f_129_ = 0.0F; - float f_130_ = 1.0F; - float f_131_ = 0.0F; - float f_132_ = 0.0F; - float f_133_ = 0.0F; - float f_134_ = 0.0F; - float f_135_ = 0.0F; - float f_136_ = 0.0F; - float f_137_ = 0.0F; - float f_138_ = 0.0F; - float f_139_ = 0.0F; - float f_140_ = 0.0F; - float f_141_ = 0.0F; - float f_142_ = 0.0F; - if (f_88_ != f) { - float f_143_ = f_88_ - f; - f_132_ = (f_91_ - f_90_) / f_143_; - f_133_ = (f_94_ - f_93_) / f_143_; - f_134_ = (f_97_ - f_96_) / f_143_; - f_135_ = (f_100_ - f_99_) / f_143_; - f_136_ = (float) (i_106_ - i_105_) / f_143_; - f_137_ = (f_115_ - f_114_) / f_143_; - f_138_ = (f_118_ - f_117_) / f_143_; - f_139_ = (f_121_ - f_120_) / f_143_; - f_140_ = (f_124_ - f_123_) / f_143_; - f_141_ = (f_127_ - f_126_) / f_143_; - f_142_ = (f_130_ - f_129_) / f_143_; - } - float f_144_ = 0.0F; - float f_145_ = 0.0F; - float f_146_ = 0.0F; - float f_147_ = 0.0F; - float f_148_ = 0.0F; - float f_149_ = 0.0F; - float f_150_ = 0.0F; - float f_151_ = 0.0F; - float f_152_ = 0.0F; - float f_153_ = 0.0F; - float f_154_ = 0.0F; - if (f_89_ != f_88_) { - float f_155_ = f_89_ - f_88_; - f_144_ = (f_92_ - f_91_) / f_155_; - f_145_ = (f_95_ - f_94_) / f_155_; - f_146_ = (f_98_ - f_97_) / f_155_; - f_147_ = (f_101_ - f_100_) / f_155_; - f_148_ = (float) (i_107_ - i_106_) / f_155_; - f_149_ = (f_116_ - f_115_) / f_155_; - f_150_ = (f_119_ - f_118_) / f_155_; - f_151_ = (f_122_ - f_121_) / f_155_; - f_152_ = (f_125_ - f_124_) / f_155_; - f_153_ = (f_128_ - f_127_) / f_155_; - f_154_ = (f_131_ - f_130_) / f_155_; - } - float f_156_ = 0.0F; - float f_157_ = 0.0F; - float f_158_ = 0.0F; - float f_159_ = 0.0F; - float f_160_ = 0.0F; - float f_161_ = 0.0F; - float f_162_ = 0.0F; - float f_163_ = 0.0F; - float f_164_ = 0.0F; - float f_165_ = 0.0F; - float f_166_ = 0.0F; - if (f != f_89_) { - float f_167_ = f - f_89_; - f_156_ = (f_90_ - f_92_) / f_167_; - f_157_ = (f_93_ - f_95_) / f_167_; - f_158_ = (f_96_ - f_98_) / f_167_; - f_159_ = (f_99_ - f_101_) / f_167_; - f_160_ = (float) (i_105_ - i_107_) / f_167_; - f_161_ = (f_114_ - f_116_) / f_167_; - f_162_ = (f_117_ - f_119_) / f_167_; - f_163_ = (f_120_ - f_122_) / f_167_; - f_164_ = (f_123_ - f_125_) / f_167_; - f_165_ = (f_126_ - f_128_) / f_167_; - f_166_ = (f_129_ - f_131_) / f_167_; - } - if (f <= f_88_ && f <= f_89_) { - if (!(f >= (float) this.anInt1672)) { - if (f_88_ > (float) this.anInt1672) f_88_ = (float) this.anInt1672; - if (f_89_ > (float) this.anInt1672) f_89_ = (float) this.anInt1672; - if (f_88_ < f_89_) { - f_92_ = f_90_; - f_95_ = f_93_; - f_98_ = f_96_; - f_101_ = f_99_; - i_107_ = i_105_; - f_116_ = f_114_; - f_119_ = f_117_; - f_122_ = f_120_; - f_125_ = f_123_; - f_128_ = f_126_; - f_131_ = f_129_; - if (f < 0.0F) { - f_90_ -= f_132_ * f; - f_92_ -= f_156_ * f; - f_93_ -= f_133_ * f; - f_95_ -= f_157_ * f; - f_96_ -= f_134_ * f; - f_98_ -= f_158_ * f; - f_99_ -= f_135_ * f; - f_101_ -= f_159_ * f; - i_105_ -= f_136_ * f; - i_107_ -= f_160_ * f; - f_114_ -= f_137_ * f; - f_116_ -= f_161_ * f; - f_117_ -= f_138_ * f; - f_119_ -= f_162_ * f; - f_120_ -= f_139_ * f; - f_122_ -= f_163_ * f; - f_123_ -= f_140_ * f; - f_125_ -= f_164_ * f; - f_126_ -= f_141_ * f; - f_128_ -= f_165_ * f; - f_129_ -= f_142_ * f; - f_131_ -= f_166_ * f; - f = 0.0F; - } - if (f_88_ < 0.0F) { - f_91_ -= f_144_ * f_88_; - f_94_ -= f_145_ * f_88_; - f_97_ -= f_146_ * f_88_; - f_100_ -= f_147_ * f_88_; - i_106_ -= f_148_ * f_88_; - f_115_ -= f_149_ * f_88_; - f_118_ -= f_150_ * f_88_; - f_121_ -= f_151_ * f_88_; - f_124_ -= f_152_ * f_88_; - f_127_ -= f_153_ * f_88_; - f_130_ -= f_154_ * f_88_; - f_88_ = 0.0F; - } - if (f != f_88_ && f_156_ < f_132_ || f == f_88_ && f_156_ > f_144_) { - f_89_ -= f_88_; - f_88_ -= f; - f = (float) this.anIntArray1676[(int) f]; - while (--f_88_ >= 0.0F) { - method1025(anIntArray1673, anIntArray1698, (int) f, (int) f_92_, (int) f_90_, f_95_, f_93_, f_98_, f_96_, f_101_, f_99_, (float) i_107_, (float) i_105_, f_116_, f_114_, f_119_, f_117_, f_122_, f_120_, f_125_, f_123_, f_128_, f_126_, f_131_, f_129_); - f_90_ += f_132_; - f_92_ += f_156_; - f_93_ += f_133_; - f_95_ += f_157_; - f_96_ += f_134_; - f_98_ += f_158_; - f_99_ += f_135_; - f_101_ += f_159_; - i_105_ += f_136_; - i_107_ += f_160_; - f_114_ += f_137_; - f_116_ += f_161_; - f_117_ += f_138_; - f_119_ += f_162_; - f_120_ += f_139_; - f_122_ += f_163_; - f_123_ += f_140_; - f_125_ += f_164_; - f_126_ += f_141_; - f_128_ += f_165_; - f_129_ += f_142_; - f_131_ += f_142_; - f += (float) anInt1678; - } - while (--f_89_ >= 0.0F) { - method1025(anIntArray1673, anIntArray1698, (int) f, (int) f_92_, (int) f_91_, f_95_, f_94_, f_98_, f_97_, f_101_, f_100_, (float) i_107_, (float) i_106_, f_116_, f_115_, f_119_, f_118_, f_122_, f_121_, f_125_, f_124_, f_128_, f_127_, f_131_, f_130_); - f_91_ += f_144_; - f_92_ += f_156_; - f_94_ += f_145_; - f_95_ += f_157_; - f_97_ += f_146_; - f_98_ += f_158_; - f_100_ += f_147_; - f_101_ += f_159_; - i_106_ += f_148_; - i_107_ += f_160_; - f_115_ += f_149_; - f_116_ += f_161_; - f_118_ += f_150_; - f_119_ += f_162_; - f_121_ += f_151_; - f_122_ += f_163_; - f_124_ += f_152_; - f_125_ += f_164_; - f_127_ += f_153_; - f_128_ += f_165_; - f_130_ += f_154_; - f_131_ += f_166_; - f += (float) anInt1678; - } - } else { - f_89_ -= f_88_; - f_88_ -= f; - f = (float) this.anIntArray1676[(int) f]; - while (--f_88_ >= 0.0F) { - method1025(anIntArray1673, anIntArray1698, (int) f, (int) f_90_, (int) f_92_, f_93_, f_95_, f_96_, f_98_, f_99_, f_101_, (float) i_105_, (float) i_107_, f_114_, f_116_, f_117_, f_119_, f_120_, f_122_, f_123_, f_125_, f_126_, f_128_, f_129_, f_131_); - f_90_ += f_132_; - f_92_ += f_156_; - f_93_ += f_133_; - f_95_ += f_157_; - f_96_ += f_134_; - f_98_ += f_158_; - f_99_ += f_135_; - f_101_ += f_159_; - i_105_ += f_136_; - i_107_ += f_160_; - f_114_ += f_137_; - f_116_ += f_161_; - f_117_ += f_138_; - f_119_ += f_162_; - f_120_ += f_139_; - f_122_ += f_163_; - f_123_ += f_140_; - f_125_ += f_164_; - f_126_ += f_141_; - f_128_ += f_165_; - f_129_ += f_142_; - f_131_ += f_166_; - f += (float) anInt1678; - } - while (--f_89_ >= 0.0F) { - method1025(anIntArray1673, anIntArray1698, (int) f, (int) f_91_, (int) f_92_, f_94_, f_95_, f_97_, f_98_, f_100_, f_101_, (float) i_106_, (float) i_107_, f_115_, f_116_, f_118_, f_119_, f_121_, f_122_, f_124_, f_125_, f_127_, f_128_, f_130_, f_131_); - f_91_ += f_144_; - f_92_ += f_156_; - f_94_ += f_145_; - f_95_ += f_157_; - f_97_ += f_146_; - f_98_ += f_158_; - f_100_ += f_147_; - f_101_ += f_159_; - i_106_ += f_148_; - i_107_ += f_160_; - f_115_ += f_149_; - f_116_ += f_161_; - f_118_ += f_150_; - f_119_ += f_162_; - f_121_ += f_151_; - f_122_ += f_163_; - f_124_ += f_152_; - f_125_ += f_164_; - f_127_ += f_153_; - f_128_ += f_165_; - f_130_ += f_154_; - f_131_ += f_166_; - f += (float) anInt1678; - } - } - } else { - f_91_ = f_90_; - f_94_ = f_93_; - f_97_ = f_96_; - f_100_ = f_99_; - i_106_ = i_105_; - f_115_ = f_114_; - f_118_ = f_117_; - f_121_ = f_120_; - f_124_ = f_123_; - f_127_ = f_126_; - f_130_ = f_129_; - if (f < 0.0F) { - f_90_ -= f_132_ * f; - f_91_ -= f_156_ * f; - f_93_ -= f_133_ * f; - f_94_ -= f_157_ * f; - f_96_ -= f_134_ * f; - f_97_ -= f_158_ * f; - f_99_ -= f_135_ * f; - f_100_ -= f_159_ * f; - i_105_ -= f_136_ * f; - i_106_ -= f_160_ * f; - f_114_ -= f_137_ * f; - f_115_ -= f_161_ * f; - f_117_ -= f_138_ * f; - f_118_ -= f_162_ * f; - f_120_ -= f_139_ * f; - f_121_ -= f_163_ * f; - f_123_ -= f_140_ * f; - f_124_ -= f_164_ * f; - f_126_ -= f_141_ * f; - f_127_ -= f_165_ * f; - f_129_ -= f_142_ * f; - f_130_ -= f_166_ * f; - f = 0.0F; - } - if (f_89_ < 0.0F) { - f_92_ -= f_144_ * f_89_; - f_95_ -= f_145_ * f_89_; - f_98_ -= f_146_ * f_89_; - f_101_ -= f_147_ * f_89_; - i_107_ -= f_148_ * f_89_; - f_116_ -= f_149_ * f_89_; - f_119_ -= f_150_ * f_89_; - f_122_ -= f_151_ * f_89_; - f_125_ -= f_152_ * f_89_; - f_128_ -= f_153_ * f_89_; - f_131_ -= f_154_ * f_89_; - f_89_ = 0.0F; - } - if (f != f_89_ && f_156_ < f_132_ || f == f_89_ && f_144_ > f_132_) { - f_88_ -= f_89_; - f_89_ -= f; - f = (float) this.anIntArray1676[(int) f]; - while (--f_89_ >= 0.0F) { - method1025(anIntArray1673, anIntArray1698, (int) f, (int) f_91_, (int) f_90_, f_94_, f_93_, f_97_, f_96_, f_100_, f_99_, (float) i_106_, (float) i_105_, f_115_, f_114_, f_118_, f_117_, f_121_, f_120_, f_124_, f_123_, f_127_, f_126_, f_130_, f_129_); - f_90_ += f_132_; - f_91_ += f_156_; - f_93_ += f_133_; - f_94_ += f_157_; - f_96_ += f_134_; - f_97_ += f_158_; - f_99_ += f_135_; - f_100_ += f_159_; - i_105_ += f_136_; - i_106_ += f_160_; - f_114_ += f_137_; - f_115_ += f_161_; - f_117_ += f_138_; - f_118_ += f_162_; - f_120_ += f_139_; - f_121_ += f_163_; - f_123_ += f_140_; - f_124_ += f_164_; - f_126_ += f_141_; - f_127_ += f_165_; - f_129_ += f_142_; - f_130_ += f_166_; - f += (float) anInt1678; - } - while (--f_88_ >= 0.0F) { - method1025(anIntArray1673, anIntArray1698, (int) f, (int) f_92_, (int) f_90_, f_95_, f_93_, f_98_, f_96_, f_101_, f_99_, (float) i_107_, (float) i_105_, f_116_, f_114_, f_119_, f_117_, f_122_, f_120_, f_125_, f_123_, f_128_, f_126_, f_131_, f_129_); - f_92_ += f_144_; - f_90_ += f_132_; - f_95_ += f_145_; - f_93_ += f_133_; - f_98_ += f_146_; - f_96_ += f_134_; - f_101_ += f_147_; - f_99_ += f_135_; - i_107_ += f_148_; - i_105_ += f_136_; - f_116_ += f_149_; - f_114_ += f_137_; - f_119_ += f_150_; - f_117_ += f_138_; - f_122_ += f_151_; - f_120_ += f_139_; - f_125_ += f_152_; - f_123_ += f_140_; - f_128_ += f_153_; - f_126_ += f_141_; - f_131_ += f_154_; - f_129_ += f_142_; - f += (float) anInt1678; - } - } else { - f_88_ -= f_89_; - f_89_ -= f; - f = (float) this.anIntArray1676[(int) f]; - while (--f_89_ >= 0.0F) { - method1025(anIntArray1673, anIntArray1698, (int) f, (int) f_90_, (int) f_91_, f_93_, f_94_, f_96_, f_97_, f_99_, f_100_, (float) i_105_, (float) i_106_, f_114_, f_115_, f_117_, f_118_, f_120_, f_121_, f_123_, f_124_, f_126_, f_127_, f_129_, f_130_); - f_91_ += f_156_; - f_90_ += f_132_; - f_94_ += f_157_; - f_93_ += f_133_; - f_97_ += f_158_; - f_96_ += f_134_; - f_100_ += f_159_; - f_99_ += f_135_; - i_106_ += f_160_; - i_105_ += f_136_; - f_115_ += f_161_; - f_114_ += f_137_; - f_118_ += f_162_; - f_117_ += f_138_; - f_121_ += f_163_; - f_120_ += f_139_; - f_124_ += f_164_; - f_123_ += f_140_; - f_127_ += f_165_; - f_126_ += f_141_; - f_130_ += f_166_; - f_129_ += f_142_; - f += (float) anInt1678; - } - while (--f_88_ >= 0.0F) { - method1025(anIntArray1673, anIntArray1698, (int) f, (int) f_90_, (int) f_92_, f_93_, f_95_, f_96_, f_98_, f_99_, f_101_, (float) i_105_, (float) i_107_, f_114_, f_116_, f_117_, f_119_, f_120_, f_122_, f_123_, f_125_, f_126_, f_128_, f_129_, f_131_); - f_90_ += f_132_; - f_92_ += f_144_; - f_93_ += f_133_; - f_95_ += f_145_; - f_96_ += f_134_; - f_98_ += f_146_; - f_99_ += f_135_; - f_101_ += f_147_; - i_105_ += f_136_; - i_107_ += f_148_; - f_114_ += f_137_; - f_116_ += f_149_; - f_117_ += f_138_; - f_119_ += f_150_; - f_120_ += f_139_; - f_122_ += f_151_; - f_123_ += f_140_; - f_125_ += f_152_; - f_126_ += f_141_; - f_128_ += f_153_; - f_129_ += f_142_; - f_131_ += f_154_; - f += (float) anInt1678; - } - } - } - } - } else if (f_88_ <= f_89_) { - if (!(f_88_ >= (float) this.anInt1672)) { - if (f_89_ > (float) this.anInt1672) f_89_ = (float) this.anInt1672; - if (f > (float) this.anInt1672) f = (float) this.anInt1672; - if (f_89_ < f) { - f_90_ = f_91_; - f_93_ = f_94_; - f_96_ = f_97_; - f_99_ = f_100_; - i_105_ = i_106_; - f_114_ = f_115_; - f_117_ = f_118_; - f_120_ = f_121_; - f_123_ = f_124_; - f_126_ = f_127_; - f_129_ = f_130_; - if (f_88_ < 0.0F) { - f_90_ -= f_132_ * f_88_; - f_91_ -= f_144_ * f_88_; - f_93_ -= f_133_ * f_88_; - f_94_ -= f_145_ * f_88_; - f_96_ -= f_134_ * f_88_; - f_97_ -= f_146_ * f_88_; - f_99_ -= f_135_ * f_88_; - f_100_ -= f_147_ * f_88_; - i_105_ -= f_136_ * f_88_; - i_106_ -= f_148_ * f_88_; - f_114_ -= f_137_ * f_88_; - f_115_ -= f_149_ * f_88_; - f_117_ -= f_138_ * f_88_; - f_118_ -= f_150_ * f_88_; - f_120_ -= f_139_ * f_88_; - f_121_ -= f_151_ * f_88_; - f_123_ -= f_140_ * f_88_; - f_124_ -= f_152_ * f_88_; - f_126_ -= f_141_ * f_88_; - f_127_ -= f_153_ * f_88_; - f_129_ -= f_142_ * f_88_; - f_130_ -= f_154_ * f_88_; - f_88_ = 0.0F; - } - if (f_89_ < 0.0F) { - f_92_ -= f_156_ * f_89_; - f_95_ -= f_157_ * f_89_; - f_98_ -= f_158_ * f_89_; - f_101_ -= f_159_ * f_89_; - i_107_ -= f_160_ * f_89_; - f_116_ -= f_161_ * f_89_; - f_119_ -= f_162_ * f_89_; - f_122_ -= f_163_ * f_89_; - f_125_ -= f_164_ * f_89_; - f_128_ -= f_165_ * f_89_; - f_131_ -= f_166_ * f_89_; - f_89_ = 0.0F; - } - if (f_88_ != f_89_ && f_132_ < f_144_ || f_88_ == f_89_ && f_132_ > f_156_) { - f -= f_89_; - f_89_ -= f_88_; - f_88_ = (float) (this.anIntArray1676[(int) f_88_]); - while (--f_89_ >= 0.0F) { - method1025(anIntArray1673, anIntArray1698, (int) f_88_, (int) f_90_, (int) f_91_, f_93_, f_94_, f_96_, f_97_, f_99_, f_100_, (float) i_105_, (float) i_106_, f_114_, f_115_, f_117_, f_118_, f_120_, f_121_, f_123_, f_124_, f_126_, f_127_, f_129_, f_130_); - f_90_ += f_132_; - f_91_ += f_144_; - f_93_ += f_133_; - f_94_ += f_145_; - f_96_ += f_134_; - f_97_ += f_146_; - f_99_ += f_135_; - f_100_ += f_147_; - i_105_ += f_136_; - i_106_ += f_148_; - f_114_ += f_137_; - f_115_ += f_149_; - f_117_ += f_138_; - f_118_ += f_150_; - f_120_ += f_139_; - f_121_ += f_151_; - f_123_ += f_140_; - f_124_ += f_152_; - f_126_ += f_141_; - f_127_ += f_153_; - f_129_ += f_142_; - f_130_ += f_154_; - f_88_ += (float) anInt1678; - } - while (--f >= 0.0F) { - method1025(anIntArray1673, anIntArray1698, (int) f_88_, (int) f_90_, (int) f_92_, f_93_, f_95_, f_96_, f_98_, f_99_, f_101_, (float) i_105_, (float) i_107_, f_114_, f_116_, f_117_, f_119_, f_120_, f_122_, f_123_, f_125_, f_126_, f_128_, f_129_, f_131_); - f_90_ += f_132_; - f_92_ += f_156_; - f_93_ += f_133_; - f_95_ += f_157_; - f_96_ += f_134_; - f_98_ += f_158_; - f_99_ += f_135_; - f_101_ += f_159_; - i_105_ += f_136_; - i_107_ += f_160_; - f_114_ += f_137_; - f_116_ += f_161_; - f_117_ += f_138_; - f_119_ += f_162_; - f_120_ += f_139_; - f_122_ += f_163_; - f_123_ += f_140_; - f_125_ += f_164_; - f_126_ += f_141_; - f_128_ += f_165_; - f_129_ += f_142_; - f_131_ += f_166_; - f_88_ += (float) anInt1678; - } - } else { - f -= f_89_; - f_89_ -= f_88_; - f_88_ = (float) (this.anIntArray1676[(int) f_88_]); - while (--f_89_ >= 0.0F) { - method1025(anIntArray1673, anIntArray1698, (int) f_88_, (int) f_91_, (int) f_90_, f_94_, f_93_, f_97_, f_96_, f_100_, f_99_, (float) i_106_, (float) i_105_, f_115_, f_114_, f_118_, f_117_, f_121_, f_120_, f_124_, f_123_, f_127_, f_126_, f_130_, f_129_); - f_91_ += f_144_; - f_90_ += f_132_; - f_94_ += f_145_; - f_93_ += f_133_; - f_97_ += f_146_; - f_96_ += f_134_; - f_100_ += f_147_; - f_99_ += f_135_; - i_106_ += f_148_; - i_105_ += f_136_; - f_115_ += f_149_; - f_114_ += f_137_; - f_118_ += f_150_; - f_117_ += f_138_; - f_121_ += f_151_; - f_120_ += f_139_; - f_124_ += f_152_; - f_123_ += f_140_; - f_128_ += f_153_; - f_126_ += f_141_; - f_130_ += f_154_; - f_129_ += f_142_; - f_88_ += (float) anInt1678; - } - while (--f >= 0.0F) { - method1025(anIntArray1673, anIntArray1698, (int) f_88_, (int) f_92_, (int) f_90_, f_95_, f_93_, f_98_, f_96_, f_101_, f_99_, (float) i_107_, (float) i_105_, f_116_, f_114_, f_119_, f_117_, f_122_, f_120_, f_125_, f_123_, f_128_, f_126_, f_131_, f_129_); - f_92_ += f_156_; - f_90_ += f_132_; - f_95_ += f_157_; - f_93_ += f_133_; - f_98_ += f_158_; - f_96_ += f_134_; - f_101_ += f_159_; - f_99_ += f_135_; - i_107_ += f_160_; - i_105_ += f_136_; - f_116_ += f_161_; - f_114_ += f_137_; - f_119_ += f_162_; - f_117_ += f_138_; - f_122_ += f_163_; - f_120_ += f_139_; - f_125_ += f_164_; - f_123_ += f_140_; - f_128_ += f_165_; - f_126_ += f_141_; - f_131_ += f_166_; - f_129_ += f_142_; - f_88_ += (float) anInt1678; - } - } - } else { - f_92_ = f_91_; - f_95_ = f_94_; - f_98_ = f_97_; - f_101_ = f_100_; - i_107_ = i_106_; - f_116_ = f_115_; - f_119_ = f_118_; - f_122_ = f_121_; - f_125_ = f_124_; - f_128_ = f_127_; - f_131_ = f_130_; - if (f_88_ < 0.0F) { - f_92_ -= f_132_ * f_88_; - f_91_ -= f_144_ * f_88_; - f_95_ -= f_133_ * f_88_; - f_94_ -= f_145_ * f_88_; - f_98_ -= f_134_ * f_88_; - f_97_ -= f_146_ * f_88_; - f_101_ -= f_135_ * f_88_; - f_100_ -= f_147_ * f_88_; - i_107_ -= f_136_ * f_88_; - i_106_ -= f_148_ * f_88_; - f_116_ -= f_137_ * f_88_; - f_115_ -= f_149_ * f_88_; - f_119_ -= f_138_ * f_88_; - f_118_ -= f_150_ * f_88_; - f_122_ -= f_139_ * f_88_; - f_121_ -= f_151_ * f_88_; - f_125_ -= f_140_ * f_88_; - f_124_ -= f_152_ * f_88_; - f_128_ -= f_141_ * f_88_; - f_127_ -= f_153_ * f_88_; - f_131_ -= f_142_ * f_88_; - f_130_ -= f_154_ * f_88_; - f_88_ = 0.0F; - } - if (f < 0.0F) { - f_90_ -= f_156_ * f; - f_93_ -= f_157_ * f; - f_96_ -= f_158_ * f; - f_99_ -= f_159_ * f; - i_105_ -= f_160_ * f; - f_114_ -= f_161_ * f; - f_117_ -= f_162_ * f; - f_120_ -= f_163_ * f; - f_123_ -= f_164_ * f; - f_126_ -= f_165_ * f; - f_129_ -= f_166_ * f; - f = 0.0F; - } - f_89_ -= f; - f -= f_88_; - f_88_ = (float) (this.anIntArray1676[(int) f_88_]); - if (f_132_ < f_144_) { - while (--f >= 0.0F) { - method1025(anIntArray1673, anIntArray1698, (int) f_88_, (int) f_92_, (int) f_91_, f_95_, f_94_, f_98_, f_97_, f_101_, f_100_, (float) i_107_, (float) i_106_, f_116_, f_115_, f_119_, f_118_, f_122_, f_121_, f_125_, f_124_, f_128_, f_127_, f_131_, f_130_); - f_92_ += f_132_; - f_91_ += f_144_; - f_95_ += f_133_; - f_94_ += f_145_; - f_98_ += f_134_; - f_97_ += f_146_; - f_101_ += f_135_; - f_100_ += f_147_; - i_107_ += f_136_; - i_106_ += f_148_; - f_116_ += f_137_; - f_115_ += f_149_; - f_119_ += f_138_; - f_118_ += f_150_; - f_122_ += f_139_; - f_121_ += f_151_; - f_125_ += f_140_; - f_124_ += f_152_; - f_128_ += f_141_; - f_127_ += f_153_; - f_131_ += f_142_; - f_130_ += f_154_; - f_88_ += (float) anInt1678; - } - while (--f_89_ >= 0.0F) { - method1025(anIntArray1673, anIntArray1698, (int) f_88_, (int) f_90_, (int) f_91_, f_93_, f_94_, f_96_, f_97_, f_99_, f_100_, (float) i_105_, (float) i_106_, f_114_, f_115_, f_117_, f_118_, f_120_, f_121_, f_123_, f_124_, f_126_, f_127_, f_129_, f_130_); - f_90_ += f_156_; - f_91_ += f_144_; - f_93_ += f_157_; - f_94_ += f_145_; - f_96_ += f_158_; - f_97_ += f_146_; - f_99_ += f_159_; - f_100_ += f_147_; - i_105_ += f_160_; - i_106_ += f_148_; - f_114_ += f_161_; - f_115_ += f_149_; - f_117_ += f_162_; - f_118_ += f_150_; - f_120_ += f_163_; - f_121_ += f_151_; - f_123_ += f_164_; - f_124_ += f_152_; - f_126_ += f_165_; - f_127_ += f_153_; - f_129_ += f_166_; - f_130_ += f_154_; - f_88_ += (float) anInt1678; - } - } else { - while (--f >= 0.0F) { - method1025(anIntArray1673, anIntArray1698, (int) f_88_, (int) f_91_, (int) f_92_, f_94_, f_95_, f_97_, f_98_, f_100_, f_101_, (float) i_106_, (float) i_107_, f_115_, f_116_, f_118_, f_119_, f_121_, f_122_, f_124_, f_125_, f_127_, f_128_, f_130_, f_131_); - f_91_ += f_144_; - f_92_ += f_132_; - f_94_ += f_145_; - f_95_ += f_133_; - f_97_ += f_146_; - f_98_ += f_134_; - f_100_ += f_147_; - f_101_ += f_135_; - i_106_ += f_148_; - i_107_ += f_136_; - f_115_ += f_149_; - f_116_ += f_137_; - f_118_ += f_150_; - f_119_ += f_138_; - f_121_ += f_151_; - f_122_ += f_139_; - f_124_ += f_152_; - f_125_ += f_140_; - f_127_ += f_153_; - f_128_ += f_141_; - f_130_ += f_154_; - f_131_ += f_142_; - f_88_ += (float) anInt1678; - } - while (--f_89_ >= 0.0F) { - method1025(anIntArray1673, anIntArray1698, (int) f_88_, (int) f_91_, (int) f_90_, f_94_, f_93_, f_97_, f_96_, f_100_, f_99_, (float) i_106_, (float) i_105_, f_115_, f_114_, f_118_, f_117_, f_121_, f_120_, f_124_, f_123_, f_127_, f_126_, f_130_, f_129_); - f_91_ += f_144_; - f_90_ += f_156_; - f_94_ += f_145_; - f_93_ += f_157_; - f_97_ += f_146_; - f_96_ += f_158_; - f_100_ += f_147_; - f_99_ += f_159_; - i_106_ += f_148_; - i_105_ += f_160_; - f_115_ += f_149_; - f_114_ += f_161_; - f_118_ += f_150_; - f_117_ += f_162_; - f_121_ += f_151_; - f_120_ += f_163_; - f_124_ += f_152_; - f_123_ += f_164_; - f_127_ += f_153_; - f_126_ += f_165_; - f_130_ += f_154_; - f_129_ += f_166_; - f_88_ += (float) anInt1678; - } - } - } - } - } else if (!(f_89_ >= (float) this.anInt1672)) { - if (f > (float) this.anInt1672) f = (float) this.anInt1672; - if (f_88_ > (float) this.anInt1672) f_88_ = (float) this.anInt1672; - if (f < f_88_) { - f_91_ = f_92_; - f_94_ = f_95_; - f_97_ = f_98_; - f_100_ = f_101_; - i_106_ = i_107_; - f_115_ = f_116_; - f_118_ = f_119_; - f_121_ = f_122_; - f_124_ = f_125_; - f_127_ = f_128_; - f_130_ = f_131_; - if (f_89_ < 0.0F) { - f_92_ -= f_156_ * f_89_; - f_91_ -= f_144_ * f_89_; - f_95_ -= f_157_ * f_89_; - f_94_ -= f_145_ * f_89_; - f_98_ -= f_158_ * f_89_; - f_97_ -= f_146_ * f_89_; - f_101_ -= f_159_ * f_89_; - f_100_ -= f_147_ * f_89_; - i_107_ -= f_160_ * 3.0F; - i_106_ -= f_148_ * f_89_; - f_116_ -= f_161_ * f_89_; - f_115_ -= f_149_ * f_89_; - f_119_ -= f_162_ * f_89_; - f_118_ -= f_150_ * f_89_; - f_122_ -= f_163_ * f_89_; - f_121_ -= f_151_ * f_89_; - f_125_ -= f_164_ * f_89_; - f_124_ -= f_152_ * f_89_; - f_128_ -= f_165_ * f_89_; - f_127_ -= f_153_ * f_89_; - f_131_ -= f_166_ * f_89_; - f_130_ -= f_154_ * f_89_; - f_89_ = 0.0F; - } - if (f < 0.0F) { - f_90_ -= f_132_ * f; - f_93_ -= f_133_ * f; - f_96_ -= f_134_ * f; - f_99_ -= f_135_ * f; - i_105_ -= f_136_ * f; - f_114_ -= f_137_ * f; - f_117_ -= f_138_ * f; - f_120_ -= f_139_ * f; - f_123_ -= f_140_ * f; - f_126_ -= f_141_ * f; - f_129_ -= f_142_ * f; - f = 0.0F; - } - if (f_144_ < f_156_) { - f_88_ -= f; - f -= f_89_; - f_89_ = (float) (this.anIntArray1676[(int) f_89_]); - while (--f >= 0.0F) { - method1025(anIntArray1673, anIntArray1698, (int) f_89_, (int) f_91_, (int) f_92_, f_94_, f_95_, f_97_, f_98_, f_100_, f_101_, (float) i_106_, (float) i_107_, f_115_, f_116_, f_118_, f_119_, f_121_, f_122_, f_124_, f_125_, f_127_, f_128_, f_130_, f_131_); - f_91_ += f_144_; - f_92_ += f_156_; - f_94_ += f_145_; - f_95_ += f_157_; - f_97_ += f_146_; - f_98_ += f_158_; - f_100_ += f_147_; - f_101_ += f_159_; - i_106_ += f_148_; - i_107_ += f_160_; - f_115_ += f_149_; - f_116_ += f_161_; - f_118_ += f_150_; - f_119_ += f_162_; - f_121_ += f_151_; - f_122_ += f_163_; - f_124_ += f_152_; - f_125_ += f_164_; - f_127_ += f_153_; - f_128_ += f_165_; - f_130_ += f_154_; - f_131_ += f_166_; - f_89_ += (float) anInt1678; - } - while (--f_88_ >= 0.0F) { - method1025(anIntArray1673, anIntArray1698, (int) f_89_, (int) f_91_, (int) f_90_, f_94_, f_93_, f_97_, f_96_, f_100_, f_99_, (float) i_106_, (float) i_105_, f_115_, f_114_, f_118_, f_117_, f_121_, f_120_, f_124_, f_123_, f_127_, f_126_, f_130_, f_129_); - f_91_ += f_144_; - f_90_ += f_132_; - f_94_ += f_145_; - f_93_ += f_133_; - f_97_ += f_146_; - f_96_ += f_134_; - f_100_ += f_147_; - f_99_ += f_135_; - i_106_ += f_148_; - i_105_ += f_136_; - f_115_ += f_149_; - f_114_ += f_137_; - f_118_ += f_150_; - f_117_ += f_138_; - f_121_ += f_151_; - f_120_ += f_139_; - f_124_ += f_152_; - f_123_ += f_140_; - f_127_ += f_153_; - f_126_ += f_141_; - f_130_ += f_154_; - f_129_ += f_142_; - f_89_ += (float) anInt1678; - } - } else { - f_88_ -= f; - f -= f_89_; - f_89_ = (float) (this.anIntArray1676[(int) f_89_]); - while (--f >= 0.0F) { - method1025(anIntArray1673, anIntArray1698, (int) f_89_, (int) f_92_, (int) f_91_, f_95_, f_94_, f_98_, f_97_, f_101_, f_100_, (float) i_107_, (float) i_106_, f_116_, f_115_, f_119_, f_118_, f_122_, f_121_, f_125_, f_124_, f_128_, f_127_, f_131_, f_130_); - f_92_ += f_156_; - f_91_ += f_144_; - f_95_ += f_157_; - f_94_ += f_145_; - f_98_ += f_158_; - f_97_ += f_146_; - f_101_ += f_159_; - f_100_ += f_147_; - i_107_ += f_160_; - i_106_ += f_148_; - f_116_ += f_161_; - f_115_ += f_149_; - f_119_ += f_162_; - f_118_ += f_150_; - f_122_ += f_163_; - f_121_ += f_151_; - f_125_ += f_164_; - f_124_ += f_152_; - f_128_ += f_165_; - f_127_ += f_153_; - f_131_ += f_166_; - f_130_ += f_154_; - f_89_ += (float) anInt1678; - } - while (--f_88_ >= 0.0F) { - method1025(anIntArray1673, anIntArray1698, (int) f_89_, (int) f_90_, (int) f_91_, f_93_, f_94_, f_96_, f_97_, f_99_, f_100_, (float) i_105_, (float) i_106_, f_114_, f_115_, f_117_, f_118_, f_120_, f_121_, f_123_, f_124_, f_126_, f_127_, f_129_, f_130_); - f_90_ += f_132_; - f_91_ += f_144_; - f_93_ += f_133_; - f_94_ += f_145_; - f_96_ += f_134_; - f_97_ += f_146_; - f_99_ += f_135_; - f_100_ += f_147_; - i_105_ += f_136_; - i_106_ += f_148_; - f_114_ += f_137_; - f_115_ += f_149_; - f_117_ += f_138_; - f_118_ += f_150_; - f_120_ += f_139_; - f_121_ += f_151_; - f_123_ += f_140_; - f_124_ += f_152_; - f_126_ += f_141_; - f_127_ += f_153_; - f_129_ += f_142_; - f_130_ += f_154_; - f_89_ += (float) anInt1678; - } - } - } else { - f_90_ = f_92_; - f_93_ = f_95_; - f_96_ = f_98_; - f_99_ = f_101_; - i_105_ = i_107_; - f_114_ = f_116_; - f_117_ = f_119_; - f_120_ = f_122_; - f_123_ = f_125_; - f_126_ = f_128_; - f_129_ = f_131_; - if (f_89_ < 0.0F) { - f_92_ -= f_156_ * f_89_; - f_90_ -= f_144_ * f_89_; - f_95_ -= f_157_ * f_89_; - f_93_ -= f_145_ * f_89_; - f_98_ -= f_158_ * f_89_; - f_96_ -= f_146_ * f_89_; - f_101_ -= f_159_ * f_89_; - f_99_ -= f_147_ * f_89_; - i_107_ -= f_160_ * 3.0F; - i_105_ -= f_148_ * f_89_; - f_116_ -= f_161_ * f_89_; - f_114_ -= f_149_ * f_89_; - f_119_ -= f_162_ * f_89_; - f_117_ -= f_150_ * f_89_; - f_122_ -= f_163_ * f_89_; - f_120_ -= f_151_ * f_89_; - f_125_ -= f_164_ * f_89_; - f_123_ -= f_152_ * f_89_; - f_128_ -= f_165_ * f_89_; - f_126_ -= f_153_ * f_89_; - f_131_ -= f_166_ * f_89_; - f_129_ -= f_154_ * f_89_; - f_89_ = 0.0F; - } - if (f_88_ < 0.0F) { - f_91_ -= f_132_ * f_88_; - f_94_ -= f_133_ * f_88_; - f_97_ -= f_134_ * f_88_; - f_100_ -= f_135_ * f_88_; - i_106_ -= f_136_ * f_88_; - f_115_ -= f_137_ * f_88_; - f_118_ -= f_138_ * f_88_; - f_121_ -= f_139_ * f_88_; - f_124_ -= f_140_ * f_88_; - f_127_ -= f_141_ * f_88_; - f_130_ -= f_142_ * f_88_; - f_88_ = 0.0F; - } - if (f_144_ < f_156_) { - f -= f_88_; - f_88_ -= f_89_; - f_89_ = (float) (this.anIntArray1676[(int) f_89_]); - while (--f_88_ >= 0.0F) { - method1025(anIntArray1673, anIntArray1698, (int) f_89_, (int) f_90_, (int) f_92_, f_93_, f_95_, f_96_, f_98_, f_99_, f_101_, (float) i_105_, (float) i_107_, f_114_, f_116_, f_117_, f_119_, f_120_, f_122_, f_123_, f_125_, f_126_, f_128_, f_129_, f_131_); - f_90_ += f_144_; - f_92_ += f_156_; - f_93_ += f_145_; - f_95_ += f_157_; - f_96_ += f_146_; - f_98_ += f_158_; - f_99_ += f_147_; - f_101_ += f_159_; - i_105_ += f_148_; - i_107_ += f_160_; - f_114_ += f_149_; - f_116_ += f_161_; - f_117_ += f_150_; - f_119_ += f_162_; - f_120_ += f_151_; - f_122_ += f_163_; - f_123_ += f_152_; - f_125_ += f_164_; - f_126_ += f_153_; - f_128_ += f_165_; - f_129_ += f_154_; - f_131_ += f_166_; - f_89_ += (float) anInt1678; - } - while (--f >= 0.0F) { - method1025(anIntArray1673, anIntArray1698, (int) f_89_, (int) f_91_, (int) f_92_, f_94_, f_95_, f_97_, f_98_, f_100_, f_101_, (float) i_106_, (float) i_107_, f_115_, f_116_, f_118_, f_119_, f_121_, f_122_, f_124_, f_125_, f_127_, f_128_, f_130_, f_131_); - f_91_ += f_132_; - f_92_ += f_156_; - f_94_ += f_133_; - f_95_ += f_157_; - f_97_ += f_134_; - f_98_ += f_158_; - f_100_ += f_135_; - f_101_ += f_159_; - i_106_ += f_136_; - i_107_ += f_160_; - f_115_ += f_137_; - f_116_ += f_161_; - f_118_ += f_138_; - f_119_ += f_162_; - f_121_ += f_139_; - f_122_ += f_163_; - f_124_ += f_140_; - f_125_ += f_164_; - f_127_ += f_141_; - f_128_ += f_165_; - f_130_ += f_142_; - f_131_ += f_166_; - f_89_ += (float) anInt1678; - } - } else { - f -= f_88_; - f_88_ -= f_89_; - f_89_ = (float) (this.anIntArray1676[(int) f_89_]); - while (--f_88_ >= 0.0F) { - method1025(anIntArray1673, anIntArray1698, (int) f_89_, (int) f_92_, (int) f_90_, f_95_, f_93_, f_98_, f_96_, f_101_, f_99_, (float) i_107_, (float) i_105_, f_116_, f_114_, f_119_, f_117_, f_122_, f_120_, f_125_, f_123_, f_128_, f_126_, f_131_, f_129_); - f_92_ += f_156_; - f_90_ += f_144_; - f_95_ += f_157_; - f_93_ += f_145_; - f_98_ += f_158_; - f_96_ += f_146_; - f_101_ += f_159_; - f_99_ += f_147_; - i_107_ += f_160_; - i_105_ += f_148_; - f_116_ += f_161_; - f_114_ += f_149_; - f_119_ += f_162_; - f_117_ += f_150_; - f_122_ += f_163_; - f_120_ += f_151_; - f_125_ += f_164_; - f_123_ += f_152_; - f_128_ += f_165_; - f_126_ += f_153_; - f_131_ += f_166_; - f_129_ += f_154_; - f_89_ += (float) anInt1678; - } - while (--f >= 0.0F) { - method1025(anIntArray1673, anIntArray1698, (int) f_89_, (int) f_92_, (int) f_91_, f_95_, f_94_, f_98_, f_97_, f_101_, f_100_, (float) i_107_, (float) i_106_, f_116_, f_115_, f_119_, f_118_, f_122_, f_121_, f_125_, f_124_, f_128_, f_127_, f_131_, f_130_); - f_92_ += f_156_; - f_91_ += f_132_; - f_95_ += f_157_; - f_94_ += f_133_; - f_98_ += f_158_; - f_97_ += f_134_; - f_101_ += f_159_; - f_100_ += f_135_; - i_107_ += f_160_; - i_106_ += f_136_; - f_116_ += f_161_; - f_115_ += f_137_; - f_119_ += f_162_; - f_118_ += f_138_; - f_122_ += f_163_; - f_121_ += f_139_; - f_125_ += f_164_; - f_124_ += f_140_; - f_128_ += f_165_; - f_127_ += f_141_; - f_131_ += f_166_; - f_130_ += f_142_; - f_89_ += (float) anInt1678; - } - } - } - } - } - - private final void method1021(int[] is, float[] fs, int i, int i_168_, int i_169_, int i_170_, int i_171_, float f, float f_172_, float f_173_, float f_174_, float f_175_, float f_176_, float f_177_, float f_178_) { - if (this.aBoolean1671) { - if (i_171_ > this.anInt1679) i_171_ = this.anInt1679; - if (i_170_ < 0) i_170_ = 0; - } - if (i_170_ < i_171_) { - if (aBoolean1680) { - i += i_170_; - f_173_ += f_174_ * (float) i_170_; - f_175_ += f_176_ * (float) i_170_; - f_177_ += f_178_ * (float) i_170_; - if (this.aBoolean1669) { - i_169_ = i_171_ - i_170_ >> 2; - f_174_ *= 4.0F; - f_176_ *= 4.0F; - f_178_ *= 4.0F; - if (this.anInt1674 == 0) { - if (i_169_ > 0) { - do { - i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); - f_173_ += f_174_; - f_175_ += f_176_; - f_177_ += f_178_; - is[i++] = i_168_; - is[i++] = i_168_; - is[i++] = i_168_; - is[i++] = i_168_; - } while (--i_169_ > 0); - } - i_169_ = i_171_ - i_170_ & 0x3; - if (i_169_ > 0) { - i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); - do is[i++] = i_168_; while (--i_169_ > 0); - } - } else if (this.aBoolean1667) { - if (i_169_ > 0) { - do { - i_168_ = ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); - f_173_ += f_174_; - f_175_ += f_176_; - f_177_ += f_178_; - int[] is_183_ = is; - int i_184_ = i++; - int i_185_ = i_168_; - int i_186_ = is_183_[i_184_]; - int i_187_ = i_185_ + i_186_; - int i_188_ = ((i_185_ & 0xff00ff) + (i_186_ & 0xff00ff)); - i_186_ = (i_188_ & 0x1000100) + (i_187_ - i_188_ & 0x10000); - is_183_[i_184_] = (~0xffffff | i_187_ - i_186_ | i_186_ - (i_186_ >>> 8)); - int[] is_189_ = is; - int i_190_ = i++; - int i_191_ = i_168_; - int i_192_ = is_189_[i_190_]; - int i_193_ = i_191_ + i_192_; - int i_194_ = ((i_191_ & 0xff00ff) + (i_192_ & 0xff00ff)); - i_192_ = (i_194_ & 0x1000100) + (i_193_ - i_194_ & 0x10000); - is_189_[i_190_] = (~0xffffff | i_193_ - i_192_ | i_192_ - (i_192_ >>> 8)); - int[] is_195_ = is; - int i_196_ = i++; - int i_197_ = i_168_; - int i_198_ = is_195_[i_196_]; - int i_199_ = i_197_ + i_198_; - int i_200_ = ((i_197_ & 0xff00ff) + (i_198_ & 0xff00ff)); - i_198_ = (i_200_ & 0x1000100) + (i_199_ - i_200_ & 0x10000); - is_195_[i_196_] = (~0xffffff | i_199_ - i_198_ | i_198_ - (i_198_ >>> 8)); - int[] is_201_ = is; - int i_202_ = i++; - int i_203_ = i_168_; - int i_204_ = is_201_[i_202_]; - int i_205_ = i_203_ + i_204_; - int i_206_ = ((i_203_ & 0xff00ff) + (i_204_ & 0xff00ff)); - i_204_ = (i_206_ & 0x1000100) + (i_205_ - i_206_ & 0x10000); - is_201_[i_202_] = (~0xffffff | i_205_ - i_204_ | i_204_ - (i_204_ >>> 8)); - } while (--i_169_ > 0); - } - i_169_ = i_171_ - i_170_ & 0x3; - if (i_169_ > 0) { - i_168_ = ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); - do { - int[] is_207_ = is; - int i_208_ = i++; - int i_209_ = i_168_; - int i_210_ = is_207_[i_208_]; - int i_211_ = i_209_ + i_210_; - int i_212_ = ((i_209_ & 0xff00ff) + (i_210_ & 0xff00ff)); - i_210_ = (i_212_ & 0x1000100) + (i_211_ - i_212_ & 0x10000); - is_207_[i_208_] = (~0xffffff | i_211_ - i_210_ | i_210_ - (i_210_ >>> 8)); - } while (--i_169_ > 0); - } - } else { - int i_179_ = this.anInt1674; - int i_180_ = 256 - this.anInt1674; - if (i_169_ > 0) { - do { - i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); - f_173_ += f_174_; - f_175_ += f_176_; - f_177_ += f_178_; - i_168_ = (((i_168_ & 0xff00ff) * i_180_ >> 8 & 0xff00ff) + ((i_168_ & 0xff00) * i_180_ >> 8 & 0xff00)); - int i_181_ = is[i]; - is[i++] = (i_168_ + ((i_181_ & 0xff00ff) * i_179_ >> 8 & 0xff00ff) + ((i_181_ & 0xff00) * i_179_ >> 8 & 0xff00)); - i_181_ = is[i]; - is[i++] = (i_168_ + ((i_181_ & 0xff00ff) * i_179_ >> 8 & 0xff00ff) + ((i_181_ & 0xff00) * i_179_ >> 8 & 0xff00)); - i_181_ = is[i]; - is[i++] = (i_168_ + ((i_181_ & 0xff00ff) * i_179_ >> 8 & 0xff00ff) + ((i_181_ & 0xff00) * i_179_ >> 8 & 0xff00)); - i_181_ = is[i]; - is[i++] = (i_168_ + ((i_181_ & 0xff00ff) * i_179_ >> 8 & 0xff00ff) + ((i_181_ & 0xff00) * i_179_ >> 8 & 0xff00)); - } while (--i_169_ > 0); - } - i_169_ = i_171_ - i_170_ & 0x3; - if (i_169_ > 0) { - i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); - i_168_ = (((i_168_ & 0xff00ff) * i_180_ >> 8 & 0xff00ff) + ((i_168_ & 0xff00) * i_180_ >> 8 & 0xff00)); - do { - int i_182_ = is[i]; - is[i++] = (i_168_ + ((i_182_ & 0xff00ff) * i_179_ >> 8 & 0xff00ff) + ((i_182_ & 0xff00) * i_179_ >> 8 & 0xff00)); - } while (--i_169_ > 0); - } - } - } else { - i_169_ = i_171_ - i_170_; - if (this.anInt1674 == 0) { - do { - is[i++] = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); - f_173_ += f_174_; - f_175_ += f_176_; - f_177_ += f_178_; - } while (--i_169_ > 0); - } else if (this.aBoolean1667) { - do { - int[] is_216_ = is; - int i_217_ = i++; - int i_218_ = ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); - int i_219_ = is_216_[i_217_]; - int i_220_ = i_218_ + i_219_; - int i_221_ = (i_218_ & 0xff00ff) + (i_219_ & 0xff00ff); - i_219_ = (i_221_ & 0x1000100) + (i_220_ - i_221_ & 0x10000); - is_216_[i_217_] = (~0xffffff | i_220_ - i_219_ | i_219_ - (i_219_ >>> 8)); - f_173_ += f_174_; - f_175_ += f_176_; - f_177_ += f_178_; - } while (--i_169_ > 0); - } else { - int i_213_ = this.anInt1674; - int i_214_ = 256 - this.anInt1674; - do { - i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); - f_173_ += f_174_; - f_175_ += f_176_; - f_177_ += f_178_; - i_168_ = (((i_168_ & 0xff00ff) * i_214_ >> 8 & 0xff00ff) + ((i_168_ & 0xff00) * i_214_ >> 8 & 0xff00)); - int i_215_ = is[i]; - is[i++] = (i_168_ + ((i_215_ & 0xff00ff) * i_213_ >> 8 & 0xff00ff) + ((i_215_ & 0xff00) * i_213_ >> 8 & 0xff00)); - } while (--i_169_ > 0); - } - } - } else { - i += i_170_ - 1; - f += f_172_ * (float) i_170_; - f_173_ += f_174_ * (float) i_170_; - f_175_ += f_176_ * (float) i_170_; - f_177_ += f_178_ * (float) i_170_; - if (aClass167_1670.aBoolean2202) { - if (this.aBoolean1669) { - i_169_ = i_171_ - i_170_ >> 2; - f_174_ *= 4.0F; - f_176_ *= 4.0F; - f_178_ *= 4.0F; - if (this.anInt1674 == 0) { - if (i_169_ > 0) { - do { - i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); - f_173_ += f_174_; - f_175_ += f_176_; - f_177_ += f_178_; - if (f < fs[++i]) { - is[i] = i_168_; - fs[i] = f; - } - f += f_172_; - if (f < fs[++i]) { - is[i] = i_168_; - fs[i] = f; - } - f += f_172_; - if (f < fs[++i]) { - is[i] = i_168_; - fs[i] = f; - } - f += f_172_; - if (f < fs[++i]) { - is[i] = i_168_; - fs[i] = f; - } - f += f_172_; - } while (--i_169_ > 0); - } - i_169_ = i_171_ - i_170_ & 0x3; - if (i_169_ > 0) { - i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); - do { - if (f < fs[++i]) { - is[i] = i_168_; - fs[i] = f; - } - f += f_172_; - } while (--i_169_ > 0); - } - } else if (this.aBoolean1667) { - if (i_169_ > 0) { - do { - i_168_ = ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); - f_173_ += f_174_; - f_175_ += f_176_; - f_177_ += f_178_; - if (f < fs[++i]) { - int[] is_229_ = is; - int i_230_ = i; - int i_231_ = i_168_; - int i_232_ = is_229_[i_230_]; - int i_233_ = i_231_ + i_232_; - int i_234_ = ((i_231_ & 0xff00ff) + (i_232_ & 0xff00ff)); - i_232_ = ((i_234_ & 0x1000100) + (i_233_ - i_234_ & 0x10000)); - is_229_[i_230_] = (~0xffffff | i_233_ - i_232_ | i_232_ - (i_232_ >>> 8)); - fs[i] = f; - } - f += f_172_; - if (f < fs[++i]) { - int[] is_235_ = is; - int i_236_ = i; - int i_237_ = i_168_; - int i_238_ = is_235_[i_236_]; - int i_239_ = i_237_ + i_238_; - int i_240_ = ((i_237_ & 0xff00ff) + (i_238_ & 0xff00ff)); - i_238_ = ((i_240_ & 0x1000100) + (i_239_ - i_240_ & 0x10000)); - is_235_[i_236_] = (~0xffffff | i_239_ - i_238_ | i_238_ - (i_238_ >>> 8)); - fs[i] = f; - } - f += f_172_; - if (f < fs[++i]) { - int[] is_241_ = is; - int i_242_ = i; - int i_243_ = i_168_; - int i_244_ = is_241_[i_242_]; - int i_245_ = i_243_ + i_244_; - int i_246_ = ((i_243_ & 0xff00ff) + (i_244_ & 0xff00ff)); - i_244_ = ((i_246_ & 0x1000100) + (i_245_ - i_246_ & 0x10000)); - is_241_[i_242_] = (~0xffffff | i_245_ - i_244_ | i_244_ - (i_244_ >>> 8)); - fs[i] = f; - } - f += f_172_; - if (f < fs[++i]) { - int[] is_247_ = is; - int i_248_ = i; - int i_249_ = i_168_; - int i_250_ = is_247_[i_248_]; - int i_251_ = i_249_ + i_250_; - int i_252_ = ((i_249_ & 0xff00ff) + (i_250_ & 0xff00ff)); - i_250_ = ((i_252_ & 0x1000100) + (i_251_ - i_252_ & 0x10000)); - is_247_[i_248_] = (~0xffffff | i_251_ - i_250_ | i_250_ - (i_250_ >>> 8)); - fs[i] = f; - } - f += f_172_; - } while (--i_169_ > 0); - } - i_169_ = i_171_ - i_170_ & 0x3; - if (i_169_ > 0) { - i_168_ = ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); - do { - if (f < fs[++i]) { - int[] is_253_ = is; - int i_254_ = i; - int i_255_ = i_168_; - int i_256_ = is_253_[i_254_]; - int i_257_ = i_255_ + i_256_; - int i_258_ = ((i_255_ & 0xff00ff) + (i_256_ & 0xff00ff)); - i_256_ = ((i_258_ & 0x1000100) + (i_257_ - i_258_ & 0x10000)); - is_253_[i_254_] = (~0xffffff | i_257_ - i_256_ | i_256_ - (i_256_ >>> 8)); - fs[i] = f; - } - f += f_172_; - } while (--i_169_ > 0); - } - } else { - int i_222_ = this.anInt1674; - int i_223_ = 256 - this.anInt1674; - if (i_169_ > 0) { - do { - i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); - f_173_ += f_174_; - f_175_ += f_176_; - f_177_ += f_178_; - i_168_ = (((i_168_ & 0xff00ff) * i_223_ >> 8 & 0xff00ff) + ((i_168_ & 0xff00) * i_223_ >> 8 & 0xff00)); - if (f < fs[++i]) { - int i_224_ = is[i]; - is[i] = (i_168_ + (((i_224_ & 0xff00ff) * i_222_ >> 8) & 0xff00ff) + (((i_224_ & 0xff00) * i_222_ >> 8) & 0xff00)); - fs[i] = f; - } - f += f_172_; - if (f < fs[++i]) { - int i_225_ = is[i]; - is[i] = (i_168_ + (((i_225_ & 0xff00ff) * i_222_ >> 8) & 0xff00ff) + (((i_225_ & 0xff00) * i_222_ >> 8) & 0xff00)); - fs[i] = f; - } - f += f_172_; - if (f < fs[++i]) { - int i_226_ = is[i]; - is[i] = (i_168_ + (((i_226_ & 0xff00ff) * i_222_ >> 8) & 0xff00ff) + (((i_226_ & 0xff00) * i_222_ >> 8) & 0xff00)); - fs[i] = f; - } - f += f_172_; - if (f < fs[++i]) { - int i_227_ = is[i]; - is[i] = (i_168_ + (((i_227_ & 0xff00ff) * i_222_ >> 8) & 0xff00ff) + (((i_227_ & 0xff00) * i_222_ >> 8) & 0xff00)); - fs[i] = f; - } - f += f_172_; - } while (--i_169_ > 0); - } - i_169_ = i_171_ - i_170_ & 0x3; - if (i_169_ > 0) { - i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); - i_168_ = (((i_168_ & 0xff00ff) * i_223_ >> 8 & 0xff00ff) + ((i_168_ & 0xff00) * i_223_ >> 8 & 0xff00)); - do { - if (f < fs[++i]) { - int i_228_ = is[i]; - is[i] = (i_168_ + (((i_228_ & 0xff00ff) * i_222_ >> 8) & 0xff00ff) + (((i_228_ & 0xff00) * i_222_ >> 8) & 0xff00)); - fs[i] = f; - } - f += f_172_; - } while (--i_169_ > 0); - } - } - } else { - i_169_ = i_171_ - i_170_; - if (this.anInt1674 == 0) { - do { - if (f < fs[++i]) { - is[i] = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); - fs[i] = f; - } - f += f_172_; - f_173_ += f_174_; - f_175_ += f_176_; - f_177_ += f_178_; - } while (--i_169_ > 0); - } else if (this.aBoolean1667) { - do { - if (f < fs[++i]) { - int[] is_262_ = is; - int i_263_ = i; - int i_264_ = ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); - int i_265_ = is_262_[i_263_]; - int i_266_ = i_264_ + i_265_; - int i_267_ = ((i_264_ & 0xff00ff) + (i_265_ & 0xff00ff)); - i_265_ = ((i_267_ & 0x1000100) + (i_266_ - i_267_ & 0x10000)); - is_262_[i_263_] = (~0xffffff | i_266_ - i_265_ | i_265_ - (i_265_ >>> 8)); - fs[i] = f; - } - f += f_172_; - f_173_ += f_174_; - f_175_ += f_176_; - f_177_ += f_178_; - } while (--i_169_ > 0); - } else { - int i_259_ = this.anInt1674; - int i_260_ = 256 - this.anInt1674; - do { - if (f < fs[++i]) { - i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); - i_168_ = (((i_168_ & 0xff00ff) * i_260_ >> 8 & 0xff00ff) + ((i_168_ & 0xff00) * i_260_ >> 8 & 0xff00)); - int i_261_ = is[i]; - is[i] = (i_168_ + ((i_261_ & 0xff00ff) * i_259_ >> 8 & 0xff00ff) + ((i_261_ & 0xff00) * i_259_ >> 8 & 0xff00)); - fs[i] = f; - } - f += f_172_; - f_173_ += f_174_; - f_175_ += f_176_; - f_177_ += f_178_; - } while (--i_169_ > 0); - } - } - } else if (this.aBoolean1669) { - i_169_ = i_171_ - i_170_ >> 2; - f_174_ *= 4.0F; - f_176_ *= 4.0F; - f_178_ *= 4.0F; - if (this.anInt1674 == 0) { - if (i_169_ > 0) { - do { - i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); - f_173_ += f_174_; - f_175_ += f_176_; - f_177_ += f_178_; - if (f < fs[++i]) is[i] = i_168_; - f += f_172_; - if (f < fs[++i]) is[i] = i_168_; - f += f_172_; - if (f < fs[++i]) is[i] = i_168_; - f += f_172_; - if (f < fs[++i]) is[i] = i_168_; - f += f_172_; - } while (--i_169_ > 0); - } - i_169_ = i_171_ - i_170_ & 0x3; - if (i_169_ > 0) { - i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); - do { - if (f < fs[++i]) is[i] = i_168_; - f += f_172_; - } while (--i_169_ > 0); - } - } else if (this.aBoolean1667) { - if (i_169_ > 0) { - do { - i_168_ = ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); - f_173_ += f_174_; - f_175_ += f_176_; - f_177_ += f_178_; - if (f < fs[++i]) { - int[] is_275_ = is; - int i_276_ = i; - int i_277_ = i_168_; - int i_278_ = is_275_[i_276_]; - int i_279_ = i_277_ + i_278_; - int i_280_ = ((i_277_ & 0xff00ff) + (i_278_ & 0xff00ff)); - i_278_ = ((i_280_ & 0x1000100) + (i_279_ - i_280_ & 0x10000)); - is_275_[i_276_] = (~0xffffff | i_279_ - i_278_ | i_278_ - (i_278_ >>> 8)); - } - f += f_172_; - if (f < fs[++i]) { - int[] is_281_ = is; - int i_282_ = i; - int i_283_ = i_168_; - int i_284_ = is_281_[i_282_]; - int i_285_ = i_283_ + i_284_; - int i_286_ = ((i_283_ & 0xff00ff) + (i_284_ & 0xff00ff)); - i_284_ = ((i_286_ & 0x1000100) + (i_285_ - i_286_ & 0x10000)); - is_281_[i_282_] = (~0xffffff | i_285_ - i_284_ | i_284_ - (i_284_ >>> 8)); - } - f += f_172_; - if (f < fs[++i]) { - int[] is_287_ = is; - int i_288_ = i; - int i_289_ = i_168_; - int i_290_ = is_287_[i_288_]; - int i_291_ = i_289_ + i_290_; - int i_292_ = ((i_289_ & 0xff00ff) + (i_290_ & 0xff00ff)); - i_290_ = ((i_292_ & 0x1000100) + (i_291_ - i_292_ & 0x10000)); - is_287_[i_288_] = (~0xffffff | i_291_ - i_290_ | i_290_ - (i_290_ >>> 8)); - } - f += f_172_; - if (f < fs[++i]) { - int[] is_293_ = is; - int i_294_ = i; - int i_295_ = i_168_; - int i_296_ = is_293_[i_294_]; - int i_297_ = i_295_ + i_296_; - int i_298_ = ((i_295_ & 0xff00ff) + (i_296_ & 0xff00ff)); - i_296_ = ((i_298_ & 0x1000100) + (i_297_ - i_298_ & 0x10000)); - is_293_[i_294_] = (~0xffffff | i_297_ - i_296_ | i_296_ - (i_296_ >>> 8)); - } - f += f_172_; - } while (--i_169_ > 0); - } - i_169_ = i_171_ - i_170_ & 0x3; - if (i_169_ > 0) { - i_168_ = ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); - do { - if (f < fs[++i]) { - int[] is_299_ = is; - int i_300_ = i; - int i_301_ = i_168_; - int i_302_ = is_299_[i_300_]; - int i_303_ = i_301_ + i_302_; - int i_304_ = ((i_301_ & 0xff00ff) + (i_302_ & 0xff00ff)); - i_302_ = ((i_304_ & 0x1000100) + (i_303_ - i_304_ & 0x10000)); - is_299_[i_300_] = (~0xffffff | i_303_ - i_302_ | i_302_ - (i_302_ >>> 8)); - } - f += f_172_; - } while (--i_169_ > 0); - } - } else { - int i_268_ = this.anInt1674; - int i_269_ = 256 - this.anInt1674; - if (i_169_ > 0) { - do { - i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); - f_173_ += f_174_; - f_175_ += f_176_; - f_177_ += f_178_; - i_168_ = (((i_168_ & 0xff00ff) * i_269_ >> 8 & 0xff00ff) + ((i_168_ & 0xff00) * i_269_ >> 8 & 0xff00)); - if (f < fs[++i]) { - int i_270_ = is[i]; - is[i] = (i_168_ + ((i_270_ & 0xff00ff) * i_268_ >> 8 & 0xff00ff) + ((i_270_ & 0xff00) * i_268_ >> 8 & 0xff00)); - } - f += f_172_; - if (f < fs[++i]) { - int i_271_ = is[i]; - is[i] = (i_168_ + ((i_271_ & 0xff00ff) * i_268_ >> 8 & 0xff00ff) + ((i_271_ & 0xff00) * i_268_ >> 8 & 0xff00)); - } - f += f_172_; - if (f < fs[++i]) { - int i_272_ = is[i]; - is[i] = (i_168_ + ((i_272_ & 0xff00ff) * i_268_ >> 8 & 0xff00ff) + ((i_272_ & 0xff00) * i_268_ >> 8 & 0xff00)); - } - f += f_172_; - if (f < fs[++i]) { - int i_273_ = is[i]; - is[i] = (i_168_ + ((i_273_ & 0xff00ff) * i_268_ >> 8 & 0xff00ff) + ((i_273_ & 0xff00) * i_268_ >> 8 & 0xff00)); - } - f += f_172_; - } while (--i_169_ > 0); - } - i_169_ = i_171_ - i_170_ & 0x3; - if (i_169_ > 0) { - i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); - i_168_ = (((i_168_ & 0xff00ff) * i_269_ >> 8 & 0xff00ff) + ((i_168_ & 0xff00) * i_269_ >> 8 & 0xff00)); - do { - if (f < fs[++i]) { - int i_274_ = is[i]; - is[i] = (i_168_ + ((i_274_ & 0xff00ff) * i_268_ >> 8 & 0xff00ff) + ((i_274_ & 0xff00) * i_268_ >> 8 & 0xff00)); - } - f += f_172_; - } while (--i_169_ > 0); - } - } - } else { - i_169_ = i_171_ - i_170_; - if (this.anInt1674 == 0) { - do { - if (f < fs[++i]) is[i] = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); - f += f_172_; - f_173_ += f_174_; - f_175_ += f_176_; - f_177_ += f_178_; - } while (--i_169_ > 0); - } else if (this.aBoolean1667) { - do { - if (f < fs[++i]) { - int[] is_308_ = is; - int i_309_ = i; - int i_310_ = ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); - int i_311_ = is_308_[i_309_]; - int i_312_ = i_310_ + i_311_; - int i_313_ = ((i_310_ & 0xff00ff) + (i_311_ & 0xff00ff)); - i_311_ = (i_313_ & 0x1000100) + (i_312_ - i_313_ & 0x10000); - is_308_[i_309_] = (~0xffffff | i_312_ - i_311_ | i_311_ - (i_311_ >>> 8)); - } - f += f_172_; - f_173_ += f_174_; - f_175_ += f_176_; - f_177_ += f_178_; - } while (--i_169_ > 0); - } else { - int i_305_ = this.anInt1674; - int i_306_ = 256 - this.anInt1674; - do { - if (f < fs[++i]) { - i_168_ = ~0xffffff | ((int) f_173_ & 0xff0000 | (int) f_175_ & 0xff00 | (int) f_177_ & 0xff); - i_168_ = (((i_168_ & 0xff00ff) * i_306_ >> 8 & 0xff00ff) + ((i_168_ & 0xff00) * i_306_ >> 8 & 0xff00)); - int i_307_ = is[i]; - is[i] = (i_168_ + ((i_307_ & 0xff00ff) * i_305_ >> 8 & 0xff00ff) + ((i_307_ & 0xff00) * i_305_ >> 8 & 0xff00)); - } - f += f_172_; - f_173_ += f_174_; - f_175_ += f_176_; - f_177_ += f_178_; - } while (--i_169_ > 0); - } - } - } - } - } - - final void method1022(float f, float f_314_, float f_315_, float f_316_, float f_317_, float f_318_, float f_319_, float f_320_, float f_321_, float f_322_, float f_323_, float f_324_) { - if (aBoolean1675) { - aHa_Sub1_1666.method3645((int) f, (int) f_316_, (int) f_317_, -8003, Class126.anIntArray4983[(int) f_322_], (int) f_314_); - aHa_Sub1_1666.method3645((int) f_314_, (int) f_317_, (int) f_318_, -8003, Class126.anIntArray4983[(int) f_322_], (int) f_315_); - aHa_Sub1_1666.method3645((int) f_315_, (int) f_318_, (int) f_316_, -8003, Class126.anIntArray4983[(int) f_322_], (int) f); - } else { - float f_325_ = f_317_ - f_316_; - float f_326_ = f_314_ - f; - float f_327_ = f_318_ - f_316_; - float f_328_ = f_315_ - f; - float f_329_ = f_323_ - f_322_; - float f_330_ = f_324_ - f_322_; - float f_331_ = f_320_ - f_319_; - float f_332_ = f_321_ - f_319_; - float f_333_; - if (f_315_ != f_314_) f_333_ = (f_318_ - f_317_) / (f_315_ - f_314_); - else f_333_ = 0.0F; - float f_334_; - if (f_314_ != f) f_334_ = f_325_ / f_326_; - else f_334_ = 0.0F; - float f_335_; - if (f_315_ != f) f_335_ = f_327_ / f_328_; - else f_335_ = 0.0F; - float f_336_ = f_325_ * f_328_ - f_327_ * f_326_; - if (f_336_ != 0.0F) { - float f_337_ = (f_329_ * f_328_ - f_330_ * f_326_) / f_336_; - float f_338_ = (f_330_ * f_325_ - f_329_ * f_327_) / f_336_; - float f_339_ = (f_331_ * f_328_ - f_332_ * f_326_) / f_336_; - float f_340_ = (f_332_ * f_325_ - f_331_ * f_327_) / f_336_; - if (f <= f_314_ && f <= f_315_) { - if (!(f >= (float) this.anInt1672)) { - if (f_314_ > (float) this.anInt1672) f_314_ = (float) this.anInt1672; - if (f_315_ > (float) this.anInt1672) f_315_ = (float) this.anInt1672; - f_322_ = f_322_ - f_337_ * f_316_ + f_337_; - f_319_ = f_319_ - f_339_ * f_316_ + f_339_; - if (f_314_ < f_315_) { - f_318_ = f_316_; - if (f < 0.0F) { - f_318_ -= f_335_ * f; - f_316_ -= f_334_ * f; - f_322_ -= f_338_ * f; - f_319_ -= f_340_ * f; - f = 0.0F; - } - if (f_314_ < 0.0F) { - f_317_ -= f_333_ * f_314_; - f_314_ = 0.0F; - } - if (f != f_314_ && f_335_ < f_334_ || f == f_314_ && f_335_ > f_333_) { - f_315_ -= f_314_; - f_314_ -= f; - f = (float) (this.anIntArray1676[(int) f]); - while (--f_314_ >= 0.0F) { - method1019(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_318_, (int) f_316_, f_322_, f_337_, f_319_, f_339_); - f_318_ += f_335_; - f_316_ += f_334_; - f_322_ += f_338_; - f_319_ += f_340_; - f += (float) anInt1678; - } - while (--f_315_ >= 0.0F) { - method1019(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_318_, (int) f_317_, f_322_, f_337_, f_319_, f_339_); - f_318_ += f_335_; - f_317_ += f_333_; - f_322_ += f_338_; - f_319_ += f_340_; - f += (float) anInt1678; - } - } else { - f_315_ -= f_314_; - f_314_ -= f; - f = (float) (this.anIntArray1676[(int) f]); - while (--f_314_ >= 0.0F) { - method1019(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_316_, (int) f_318_, f_322_, f_337_, f_319_, f_339_); - f_318_ += f_335_; - f_316_ += f_334_; - f_322_ += f_338_; - f_319_ += f_340_; - f += (float) anInt1678; - } - while (--f_315_ >= 0.0F) { - method1019(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_317_, (int) f_318_, f_322_, f_337_, f_319_, f_339_); - f_318_ += f_335_; - f_317_ += f_333_; - f_322_ += f_338_; - f_319_ += f_340_; - f += (float) anInt1678; - } - } - } else { - f_317_ = f_316_; - if (f < 0.0F) { - f_317_ -= f_335_ * f; - f_316_ -= f_334_ * f; - f_322_ -= f_338_ * f; - f_319_ -= f_340_ * f; - f = 0.0F; - } - if (f_315_ < 0.0F) { - f_318_ -= f_333_ * f_315_; - f_315_ = 0.0F; - } - if (f != f_315_ && f_335_ < f_334_ || f == f_315_ && f_333_ > f_334_) { - f_314_ -= f_315_; - f_315_ -= f; - f = (float) (this.anIntArray1676[(int) f]); - while (--f_315_ >= 0.0F) { - method1019(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_317_, (int) f_316_, f_322_, f_337_, f_319_, f_339_); - f_317_ += f_335_; - f_316_ += f_334_; - f_322_ += f_338_; - f_319_ += f_340_; - f += (float) anInt1678; - } - while (--f_314_ >= 0.0F) { - method1019(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_318_, (int) f_316_, f_322_, f_337_, f_319_, f_339_); - f_318_ += f_333_; - f_316_ += f_334_; - f_322_ += f_338_; - f_319_ += f_340_; - f += (float) anInt1678; - } - } else { - f_314_ -= f_315_; - f_315_ -= f; - f = (float) (this.anIntArray1676[(int) f]); - while (--f_315_ >= 0.0F) { - method1019(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_316_, (int) f_317_, f_322_, f_337_, f_319_, f_339_); - f_317_ += f_335_; - f_316_ += f_334_; - f_322_ += f_338_; - f_319_ += f_340_; - f += (float) anInt1678; - } - while (--f_314_ >= 0.0F) { - method1019(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_316_, (int) f_318_, f_322_, f_337_, f_319_, f_339_); - f_318_ += f_333_; - f_316_ += f_334_; - f_322_ += f_338_; - f_319_ += f_340_; - f += (float) anInt1678; - } - } - } - } - } else if (f_314_ <= f_315_) { - if (!(f_314_ >= (float) this.anInt1672)) { - if (f_315_ > (float) this.anInt1672) f_315_ = (float) this.anInt1672; - if (f > (float) this.anInt1672) f = (float) this.anInt1672; - f_323_ = f_323_ - f_337_ * f_317_ + f_337_; - f_320_ = f_320_ - f_339_ * f_317_ + f_339_; - if (f_315_ < f) { - f_316_ = f_317_; - if (f_314_ < 0.0F) { - f_316_ -= f_334_ * f_314_; - f_317_ -= f_333_ * f_314_; - f_323_ -= f_338_ * f_314_; - f_320_ -= f_340_ * f_314_; - f_314_ = 0.0F; - } - if (f_315_ < 0.0F) { - f_318_ -= f_335_ * f_315_; - f_315_ = 0.0F; - } - if (f_314_ != f_315_ && f_334_ < f_333_ || f_314_ == f_315_ && f_334_ > f_335_) { - f -= f_315_; - f_315_ -= f_314_; - f_314_ = (float) (this.anIntArray1676[(int) f_314_]); - while (--f_315_ >= 0.0F) { - method1019(anIntArray1673, aFloatArray1677, (int) f_314_, 0, 0, (int) f_316_, (int) f_317_, f_323_, f_337_, f_320_, f_339_); - f_316_ += f_334_; - f_317_ += f_333_; - f_323_ += f_338_; - f_320_ += f_340_; - f_314_ += (float) anInt1678; - } - while (--f >= 0.0F) { - method1019(anIntArray1673, aFloatArray1677, (int) f_314_, 0, 0, (int) f_316_, (int) f_318_, f_323_, f_337_, f_320_, f_339_); - f_316_ += f_334_; - f_318_ += f_335_; - f_323_ += f_338_; - f_320_ += f_340_; - f_314_ += (float) anInt1678; - } - } else { - f -= f_315_; - f_315_ -= f_314_; - f_314_ = (float) (this.anIntArray1676[(int) f_314_]); - while (--f_315_ >= 0.0F) { - method1019(anIntArray1673, aFloatArray1677, (int) f_314_, 0, 0, (int) f_317_, (int) f_316_, f_323_, f_337_, f_320_, f_339_); - f_316_ += f_334_; - f_317_ += f_333_; - f_323_ += f_338_; - f_320_ += f_340_; - f_314_ += (float) anInt1678; - } - while (--f >= 0.0F) { - method1019(anIntArray1673, aFloatArray1677, (int) f_314_, 0, 0, (int) f_318_, (int) f_316_, f_323_, f_337_, f_320_, f_339_); - f_316_ += f_334_; - f_318_ += f_335_; - f_323_ += f_338_; - f_320_ += f_340_; - f_314_ += (float) anInt1678; - } - } - } else { - f_318_ = f_317_; - if (f_314_ < 0.0F) { - f_318_ -= f_334_ * f_314_; - f_317_ -= f_333_ * f_314_; - f_323_ -= f_338_ * f_314_; - f_320_ -= f_340_ * f_314_; - f_314_ = 0.0F; - } - if (f < 0.0F) { - f_316_ -= f_335_ * f; - f = 0.0F; - } - if (f_334_ < f_333_) { - f_315_ -= f; - f -= f_314_; - f_314_ = (float) (this.anIntArray1676[(int) f_314_]); - while (--f >= 0.0F) { - method1019(anIntArray1673, aFloatArray1677, (int) f_314_, 0, 0, (int) f_318_, (int) f_317_, f_323_, f_337_, f_320_, f_339_); - f_318_ += f_334_; - f_317_ += f_333_; - f_323_ += f_338_; - f_320_ += f_340_; - f_314_ += (float) anInt1678; - } - while (--f_315_ >= 0.0F) { - method1019(anIntArray1673, aFloatArray1677, (int) f_314_, 0, 0, (int) f_316_, (int) f_317_, f_323_, f_337_, f_320_, f_339_); - f_316_ += f_335_; - f_317_ += f_333_; - f_323_ += f_338_; - f_320_ += f_340_; - f_314_ += (float) anInt1678; - } - } else { - f_315_ -= f; - f -= f_314_; - f_314_ = (float) (this.anIntArray1676[(int) f_314_]); - while (--f >= 0.0F) { - method1019(anIntArray1673, aFloatArray1677, (int) f_314_, 0, 0, (int) f_317_, (int) f_318_, f_323_, f_337_, f_320_, f_339_); - f_318_ += f_334_; - f_317_ += f_333_; - f_323_ += f_338_; - f_320_ += f_340_; - f_314_ += (float) anInt1678; - } - while (--f_315_ >= 0.0F) { - method1019(anIntArray1673, aFloatArray1677, (int) f_314_, 0, 0, (int) f_317_, (int) f_316_, f_323_, f_337_, f_320_, f_339_); - f_316_ += f_335_; - f_317_ += f_333_; - f_323_ += f_338_; - f_320_ += f_340_; - f_314_ += (float) anInt1678; - } - } - } - } - } else if (!(f_315_ >= (float) this.anInt1672)) { - if (f > (float) this.anInt1672) f = (float) this.anInt1672; - if (f_314_ > (float) this.anInt1672) f_314_ = (float) this.anInt1672; - f_324_ = f_324_ - f_337_ * f_318_ + f_337_; - f_321_ = f_321_ - f_339_ * f_318_ + f_339_; - if (f < f_314_) { - f_317_ = f_318_; - if (f_315_ < 0.0F) { - f_317_ -= f_333_ * f_315_; - f_318_ -= f_335_ * f_315_; - f_324_ -= f_338_ * f_315_; - f_321_ -= f_340_ * f_315_; - f_315_ = 0.0F; - } - if (f < 0.0F) { - f_316_ -= f_334_ * f; - f = 0.0F; - } - if (f_333_ < f_335_) { - f_314_ -= f; - f -= f_315_; - f_315_ = (float) (this.anIntArray1676[(int) f_315_]); - while (--f >= 0.0F) { - method1019(anIntArray1673, aFloatArray1677, (int) f_315_, 0, 0, (int) f_317_, (int) f_318_, f_324_, f_337_, f_321_, f_339_); - f_317_ += f_333_; - f_318_ += f_335_; - f_324_ += f_338_; - f_321_ += f_340_; - f_315_ += (float) anInt1678; - } - while (--f_314_ >= 0.0F) { - method1019(anIntArray1673, aFloatArray1677, (int) f_315_, 0, 0, (int) f_317_, (int) f_316_, f_324_, f_337_, f_321_, f_339_); - f_317_ += f_333_; - f_316_ += f_334_; - f_324_ += f_338_; - f_321_ += f_340_; - f_315_ += (float) anInt1678; - } - } else { - f_314_ -= f; - f -= f_315_; - f_315_ = (float) (this.anIntArray1676[(int) f_315_]); - while (--f >= 0.0F) { - method1019(anIntArray1673, aFloatArray1677, (int) f_315_, 0, 0, (int) f_318_, (int) f_317_, f_324_, f_337_, f_321_, f_339_); - f_317_ += f_333_; - f_318_ += f_335_; - f_324_ += f_338_; - f_321_ += f_340_; - f_315_ += (float) anInt1678; - } - while (--f_314_ >= 0.0F) { - method1019(anIntArray1673, aFloatArray1677, (int) f_315_, 0, 0, (int) f_316_, (int) f_317_, f_324_, f_337_, f_321_, f_339_); - f_317_ += f_333_; - f_316_ += f_334_; - f_324_ += f_338_; - f_321_ += f_340_; - f_315_ += (float) anInt1678; - } - } - } else { - f_316_ = f_318_; - if (f_315_ < 0.0F) { - f_316_ -= f_333_ * f_315_; - f_318_ -= f_335_ * f_315_; - f_324_ -= f_338_ * f_315_; - f_321_ -= f_340_ * f_315_; - f_315_ = 0.0F; - } - if (f_314_ < 0.0F) { - f_317_ -= f_334_ * f_314_; - f_314_ = 0.0F; - } - if (f_333_ < f_335_) { - f -= f_314_; - f_314_ -= f_315_; - f_315_ = (float) (this.anIntArray1676[(int) f_315_]); - while (--f_314_ >= 0.0F) { - method1019(anIntArray1673, aFloatArray1677, (int) f_315_, 0, 0, (int) f_316_, (int) f_318_, f_324_, f_337_, f_321_, f_339_); - f_316_ += f_333_; - f_318_ += f_335_; - f_324_ += f_338_; - f_321_ += f_340_; - f_315_ += (float) anInt1678; - } - while (--f >= 0.0F) { - method1019(anIntArray1673, aFloatArray1677, (int) f_315_, 0, 0, (int) f_317_, (int) f_318_, f_324_, f_337_, f_321_, f_339_); - f_317_ += f_334_; - f_318_ += f_335_; - f_324_ += f_338_; - f_321_ += f_340_; - f_315_ += (float) anInt1678; - } - } else { - f -= f_314_; - f_314_ -= f_315_; - f_315_ = (float) (this.anIntArray1676[(int) f_315_]); - while (--f_314_ >= 0.0F) { - method1019(anIntArray1673, aFloatArray1677, (int) f_315_, 0, 0, (int) f_318_, (int) f_316_, f_324_, f_337_, f_321_, f_339_); - f_316_ += f_333_; - f_318_ += f_335_; - f_324_ += f_338_; - f_321_ += f_340_; - f_315_ += (float) anInt1678; - } - while (--f >= 0.0F) { - method1019(anIntArray1673, aFloatArray1677, (int) f_315_, 0, 0, (int) f_318_, (int) f_317_, f_324_, f_337_, f_321_, f_339_); - f_317_ += f_334_; - f_318_ += f_335_; - f_324_ += f_338_; - f_321_ += f_340_; - f_315_ += (float) anInt1678; - } - } - } - } - } - } - } - - final void method1023(boolean bool) { - aBoolean1675 = bool; - } - - final void method1024(float f, float f_341_, float f_342_, float f_343_, float f_344_, float f_345_, float f_346_, float f_347_, float f_348_, float f_349_, float f_350_, float f_351_, float f_352_, float f_353_, float f_354_, int i, int i_355_, int i_356_, int i_357_, int i_358_, int i_359_, int i_360_, int i_361_) { - if (i_361_ != anInt1697) { - anIntArray1698 = aHa_Sub1_1666.method3719(i_361_); - if (anIntArray1698 == null) { - method1027((float) (int) f, (float) (int) f_341_, (float) (int) f_342_, (float) (int) f_343_, (float) (int) f_344_, (float) (int) f_345_, (float) (int) f_346_, (float) (int) f_347_, (float) (int) f_348_, Class6.method206(i, i_357_ | i_358_ << 24, 255), Class6.method206(i_355_, i_357_ | i_359_ << 24, 255), Class6.method206(i_356_, i_357_ | i_360_ << 24, 255)); - return; - } - anInt1693 = (aHa_Sub1_1666.method3727(i_361_) ? 64 : aHa_Sub1_1666.anInt7501); - anInt1690 = anInt1693 - 1; - anInt1683 = aHa_Sub1_1666.method3726(i_361_); - aBoolean1694 = aHa_Sub1_1666.method3714(i_361_); - } - anInt1696 = i_357_; - float f_362_ = (float) (i >> 24 & 0xff); - float f_363_ = (float) (i_355_ >> 24 & 0xff); - float f_364_ = (float) (i_356_ >> 24 & 0xff); - float f_365_ = (float) (i >> 16 & 0xff); - float f_366_ = (float) (i_355_ >> 16 & 0xff); - float f_367_ = (float) (i_356_ >> 16 & 0xff); - float f_368_ = (float) (i >> 8 & 0xff); - float f_369_ = (float) (i_355_ >> 8 & 0xff); - float f_370_ = (float) (i_356_ >> 8 & 0xff); - float f_371_ = (float) (i & 0xff); - float f_372_ = (float) (i_355_ & 0xff); - float f_373_ = (float) (i_356_ & 0xff); - f_349_ /= f_346_; - f_350_ /= f_347_; - f_351_ /= f_348_; - f_352_ /= f_346_; - f_353_ /= f_347_; - f_354_ /= f_348_; - f_346_ = 1.0F / f_346_; - f_347_ = 1.0F / f_347_; - f_348_ = 1.0F / f_348_; - float f_374_ = 0.0F; - float f_375_ = 0.0F; - float f_376_ = 0.0F; - float f_377_ = 0.0F; - float f_378_ = 0.0F; - float f_379_ = 0.0F; - float f_380_ = 0.0F; - float f_381_ = 0.0F; - float f_382_ = 0.0F; - if (f_341_ != f) { - float f_383_ = f_341_ - f; - f_374_ = (f_344_ - f_343_) / f_383_; - f_375_ = (f_347_ - f_346_) / f_383_; - f_376_ = (f_350_ - f_349_) / f_383_; - f_377_ = (f_353_ - f_352_) / f_383_; - f_378_ = (float) (i_359_ - i_358_) / f_383_; - f_379_ = (f_363_ - f_362_) / f_383_; - f_380_ = (f_366_ - f_365_) / f_383_; - f_381_ = (f_369_ - f_368_) / f_383_; - f_382_ = (f_372_ - f_371_) / f_383_; - } - float f_384_ = 0.0F; - float f_385_ = 0.0F; - float f_386_ = 0.0F; - float f_387_ = 0.0F; - float f_388_ = 0.0F; - float f_389_ = 0.0F; - float f_390_ = 0.0F; - float f_391_ = 0.0F; - float f_392_ = 0.0F; - if (f_342_ != f_341_) { - float f_393_ = f_342_ - f_341_; - f_384_ = (f_345_ - f_344_) / f_393_; - f_385_ = (f_348_ - f_347_) / f_393_; - f_386_ = (f_351_ - f_350_) / f_393_; - f_387_ = (f_354_ - f_353_) / f_393_; - f_388_ = (float) (i_360_ - i_359_) / f_393_; - f_389_ = (f_364_ - f_363_) / f_393_; - f_390_ = (f_367_ - f_366_) / f_393_; - f_391_ = (f_370_ - f_369_) / f_393_; - f_392_ = (f_373_ - f_372_) / f_393_; - } - float f_394_ = 0.0F; - float f_395_ = 0.0F; - float f_396_ = 0.0F; - float f_397_ = 0.0F; - float f_398_ = 0.0F; - float f_399_ = 0.0F; - float f_400_ = 0.0F; - float f_401_ = 0.0F; - float f_402_ = 0.0F; - if (f != f_342_) { - float f_403_ = f - f_342_; - f_394_ = (f_343_ - f_345_) / f_403_; - f_395_ = (f_346_ - f_348_) / f_403_; - f_396_ = (f_349_ - f_351_) / f_403_; - f_397_ = (f_352_ - f_354_) / f_403_; - f_398_ = (float) (i_358_ - i_360_) / f_403_; - f_399_ = (f_362_ - f_364_) / f_403_; - f_400_ = (f_365_ - f_367_) / f_403_; - f_401_ = (f_368_ - f_370_) / f_403_; - f_402_ = (f_371_ - f_373_) / f_403_; - } - if (f <= f_341_ && f <= f_342_) { - if (!(f >= (float) this.anInt1672)) { - if (f_341_ > (float) this.anInt1672) f_341_ = (float) this.anInt1672; - if (f_342_ > (float) this.anInt1672) f_342_ = (float) this.anInt1672; - if (f_341_ < f_342_) { - f_345_ = f_343_; - f_348_ = f_346_; - f_351_ = f_349_; - f_354_ = f_352_; - i_360_ = i_358_; - f_364_ = f_362_; - f_367_ = f_365_; - f_370_ = f_368_; - f_373_ = f_371_; - if (f < 0.0F) { - f_343_ -= f_374_ * f; - f_345_ -= f_394_ * f; - f_346_ -= f_375_ * f; - f_348_ -= f_395_ * f; - f_349_ -= f_376_ * f; - f_351_ -= f_396_ * f; - f_352_ -= f_377_ * f; - f_354_ -= f_397_ * f; - i_358_ -= f_378_ * f; - i_360_ -= f_398_ * f; - f_362_ -= f_379_ * f; - f_364_ -= f_399_ * f; - f_365_ -= f_379_ * f; - f_367_ -= f_399_ * f; - f_368_ -= f_379_ * f; - f_370_ -= f_399_ * f; - f_371_ -= f_379_ * f; - f_373_ -= f_399_ * f; - f = 0.0F; - } - if (f_341_ < 0.0F) { - f_344_ -= f_384_ * f_341_; - f_347_ -= f_385_ * f_341_; - f_350_ -= f_386_ * f_341_; - f_353_ -= f_387_ * f_341_; - i_359_ -= f_388_ * f_341_; - f_363_ -= f_389_ * f_341_; - f_366_ -= f_390_ * f_341_; - f_369_ -= f_391_ * f_341_; - f_372_ -= f_392_ * f_341_; - f_341_ = 0.0F; - } - if (f != f_341_ && f_394_ < f_374_ || f == f_341_ && f_394_ > f_384_) { - f_342_ -= f_341_; - f_341_ -= f; - f = (float) this.anIntArray1676[(int) f]; - while (--f_341_ >= 0.0F) { - method1016(anIntArray1673, anIntArray1698, (int) f, (int) f_345_, (int) f_343_, f_348_, f_346_, f_351_, f_349_, f_354_, f_352_, (float) i_360_, (float) i_358_, f_364_, f_362_, f_367_, f_365_, f_370_, f_368_, f_373_, f_371_); - f_343_ += f_374_; - f_345_ += f_394_; - f_346_ += f_375_; - f_348_ += f_395_; - f_349_ += f_376_; - f_351_ += f_396_; - f_352_ += f_377_; - f_354_ += f_397_; - i_358_ += f_378_; - i_360_ += f_398_; - f_362_ += f_379_; - f_364_ += f_399_; - f_365_ += f_380_; - f_367_ += f_400_; - f_368_ += f_381_; - f_370_ += f_401_; - f_371_ += f_382_; - f_373_ += f_402_; - f += (float) anInt1678; - } - while (--f_342_ >= 0.0F) { - method1016(anIntArray1673, anIntArray1698, (int) f, (int) f_345_, (int) f_344_, f_348_, f_347_, f_351_, f_350_, f_354_, f_353_, (float) i_360_, (float) i_359_, f_364_, f_363_, f_367_, f_366_, f_370_, f_369_, f_373_, f_372_); - f_344_ += f_384_; - f_345_ += f_394_; - f_347_ += f_385_; - f_348_ += f_395_; - f_350_ += f_386_; - f_351_ += f_396_; - f_353_ += f_387_; - f_354_ += f_397_; - i_359_ += f_388_; - i_360_ += f_398_; - f_363_ += f_389_; - f_364_ += f_399_; - f_366_ += f_390_; - f_367_ += f_400_; - f_369_ += f_391_; - f_370_ += f_401_; - f_372_ += f_392_; - f_373_ += f_402_; - f += (float) anInt1678; - } - } else { - f_342_ -= f_341_; - f_341_ -= f; - f = (float) this.anIntArray1676[(int) f]; - while (--f_341_ >= 0.0F) { - method1016(anIntArray1673, anIntArray1698, (int) f, (int) f_343_, (int) f_345_, f_346_, f_348_, f_349_, f_351_, f_352_, f_354_, (float) i_358_, (float) i_360_, f_362_, f_364_, f_365_, f_367_, f_368_, f_370_, f_371_, f_373_); - f_343_ += f_374_; - f_345_ += f_394_; - f_346_ += f_375_; - f_348_ += f_395_; - f_349_ += f_376_; - f_351_ += f_396_; - f_352_ += f_377_; - f_354_ += f_397_; - i_358_ += f_378_; - i_360_ += f_398_; - f_362_ += f_379_; - f_364_ += f_399_; - f_365_ += f_380_; - f_367_ += f_400_; - f_368_ += f_381_; - f_370_ += f_401_; - f_371_ += f_382_; - f_373_ += f_402_; - f += (float) anInt1678; - } - while (--f_342_ >= 0.0F) { - method1016(anIntArray1673, anIntArray1698, (int) f, (int) f_344_, (int) f_345_, f_347_, f_348_, f_350_, f_351_, f_353_, f_354_, (float) i_359_, (float) i_360_, f_363_, f_364_, f_366_, f_367_, f_369_, f_370_, f_372_, f_373_); - f_344_ += f_384_; - f_345_ += f_394_; - f_347_ += f_385_; - f_348_ += f_395_; - f_350_ += f_386_; - f_351_ += f_396_; - f_353_ += f_387_; - f_354_ += f_397_; - i_359_ += f_388_; - i_360_ += f_398_; - f_363_ += f_389_; - f_364_ += f_399_; - f_366_ += f_390_; - f_367_ += f_400_; - f_369_ += f_391_; - f_370_ += f_401_; - f_372_ += f_392_; - f_373_ += f_402_; - f += (float) anInt1678; - } - } - } else { - f_344_ = f_343_; - f_347_ = f_346_; - f_350_ = f_349_; - f_353_ = f_352_; - i_359_ = i_358_; - f_363_ = f_362_; - f_366_ = f_365_; - f_369_ = f_368_; - f_372_ = f_371_; - if (f < 0.0F) { - f_343_ -= f_374_ * f; - f_344_ -= f_394_ * f; - f_346_ -= f_375_ * f; - f_347_ -= f_395_ * f; - f_349_ -= f_376_ * f; - f_350_ -= f_396_ * f; - f_352_ -= f_377_ * f; - f_353_ -= f_397_ * f; - i_358_ -= f_378_ * f; - i_359_ -= f_398_ * f; - f_362_ -= f_379_ * f; - f_363_ -= f_399_ * f; - f_365_ -= f_379_ * f; - f_366_ -= f_399_ * f; - f_368_ -= f_379_ * f; - f_369_ -= f_399_ * f; - f_371_ -= f_379_ * f; - f_372_ -= f_399_ * f; - f = 0.0F; - } - if (f_342_ < 0.0F) { - f_345_ -= f_384_ * f_342_; - f_348_ -= f_385_ * f_342_; - f_351_ -= f_386_ * f_342_; - f_354_ -= f_387_ * f_342_; - i_360_ -= f_388_ * f_342_; - f_364_ -= f_389_ * f_342_; - f_367_ -= f_390_ * f_342_; - f_370_ -= f_391_ * f_342_; - f_373_ -= f_392_ * f_342_; - f_342_ = 0.0F; - } - if (f != f_342_ && f_394_ < f_374_ || f == f_342_ && f_384_ > f_374_) { - f_341_ -= f_342_; - f_342_ -= f; - f = (float) this.anIntArray1676[(int) f]; - while (--f_342_ >= 0.0F) { - method1016(anIntArray1673, anIntArray1698, (int) f, (int) f_344_, (int) f_343_, f_347_, f_346_, f_350_, f_349_, f_353_, f_352_, (float) i_359_, (float) i_358_, f_363_, f_362_, f_366_, f_365_, f_369_, f_368_, f_372_, f_371_); - f_343_ += f_374_; - f_344_ += f_394_; - f_346_ += f_375_; - f_347_ += f_395_; - f_349_ += f_376_; - f_350_ += f_396_; - f_352_ += f_377_; - f_353_ += f_397_; - i_358_ += f_378_; - i_359_ += f_398_; - f_362_ += f_379_; - f_363_ += f_399_; - f_365_ += f_380_; - f_366_ += f_400_; - f_368_ += f_381_; - f_369_ += f_401_; - f_371_ += f_382_; - f_372_ += f_402_; - f += (float) anInt1678; - } - while (--f_341_ >= 0.0F) { - method1016(anIntArray1673, anIntArray1698, (int) f, (int) f_345_, (int) f_343_, f_348_, f_346_, f_351_, f_349_, f_354_, f_352_, (float) i_360_, (float) i_358_, f_364_, f_362_, f_367_, f_365_, f_370_, f_368_, f_373_, f_371_); - f_345_ += f_384_; - f_343_ += f_374_; - f_348_ += f_385_; - f_346_ += f_375_; - f_351_ += f_386_; - f_349_ += f_376_; - f_354_ += f_387_; - f_352_ += f_377_; - i_360_ += f_388_; - i_358_ += f_378_; - f_364_ += f_389_; - f_362_ += f_379_; - f_367_ += f_390_; - f_365_ += f_380_; - f_370_ += f_391_; - f_368_ += f_381_; - f_373_ += f_392_; - f_371_ += f_382_; - f += (float) anInt1678; - } - } else { - f_341_ -= f_342_; - f_342_ -= f; - f = (float) this.anIntArray1676[(int) f]; - while (--f_342_ >= 0.0F) { - method1016(anIntArray1673, anIntArray1698, (int) f, (int) f_343_, (int) f_344_, f_346_, f_347_, f_349_, f_350_, f_352_, f_353_, (float) i_358_, (float) i_359_, f_362_, f_363_, f_365_, f_366_, f_368_, f_369_, f_371_, f_372_); - f_344_ += f_394_; - f_343_ += f_374_; - f_347_ += f_395_; - f_346_ += f_375_; - f_350_ += f_396_; - f_349_ += f_376_; - f_353_ += f_397_; - f_352_ += f_377_; - i_359_ += f_398_; - i_358_ += f_378_; - f_363_ += f_399_; - f_362_ += f_379_; - f_366_ += f_400_; - f_365_ += f_380_; - f_369_ += f_401_; - f_368_ += f_381_; - f_372_ += f_402_; - f_371_ += f_382_; - f += (float) anInt1678; - } - while (--f_341_ >= 0.0F) { - method1016(anIntArray1673, anIntArray1698, (int) f, (int) f_343_, (int) f_345_, f_346_, f_348_, f_349_, f_351_, f_352_, f_354_, (float) i_358_, (float) i_360_, f_362_, f_364_, f_365_, f_367_, f_368_, f_370_, f_371_, f_373_); - f_343_ += f_374_; - f_345_ += f_384_; - f_346_ += f_375_; - f_348_ += f_385_; - f_349_ += f_376_; - f_351_ += f_386_; - f_352_ += f_377_; - f_354_ += f_387_; - i_358_ += f_378_; - i_360_ += f_388_; - f_362_ += f_379_; - f_364_ += f_389_; - f_365_ += f_380_; - f_367_ += f_390_; - f_368_ += f_381_; - f_370_ += f_391_; - f_371_ += f_382_; - f_373_ += f_392_; - f += (float) anInt1678; - } - } - } - } - } else if (f_341_ <= f_342_) { - if (!(f_341_ >= (float) this.anInt1672)) { - if (f_342_ > (float) this.anInt1672) f_342_ = (float) this.anInt1672; - if (f > (float) this.anInt1672) f = (float) this.anInt1672; - if (f_342_ < f) { - f_343_ = f_344_; - f_346_ = f_347_; - f_349_ = f_350_; - f_352_ = f_353_; - i_358_ = i_359_; - f_362_ = f_363_; - f_365_ = f_366_; - f_368_ = f_369_; - f_371_ = f_372_; - if (f_341_ < 0.0F) { - f_343_ -= f_374_ * f_341_; - f_344_ -= f_384_ * f_341_; - f_346_ -= f_375_ * f_341_; - f_347_ -= f_385_ * f_341_; - f_349_ -= f_376_ * f_341_; - f_350_ -= f_386_ * f_341_; - f_352_ -= f_377_ * f_341_; - f_353_ -= f_387_ * f_341_; - i_358_ -= f_378_ * f_341_; - i_359_ -= f_388_ * f_341_; - f_362_ -= f_379_ * f_341_; - f_363_ -= f_389_ * f_341_; - f_365_ -= f_380_ * f_341_; - f_366_ -= f_390_ * f_341_; - f_368_ -= f_381_ * f_341_; - f_369_ -= f_391_ * f_341_; - f_371_ -= f_382_ * f_341_; - f_372_ -= f_392_ * f_341_; - f_341_ = 0.0F; - } - if (f_342_ < 0.0F) { - f_345_ -= f_394_ * f_342_; - f_348_ -= f_395_ * f_342_; - f_351_ -= f_396_ * f_342_; - f_354_ -= f_397_ * f_342_; - i_360_ -= f_398_ * f_342_; - f_364_ -= f_399_ * f_342_; - f_367_ -= f_400_ * f_342_; - f_370_ -= f_401_ * f_342_; - f_373_ -= f_402_ * f_342_; - f_342_ = 0.0F; - } - if (f_341_ != f_342_ && f_374_ < f_384_ || f_341_ == f_342_ && f_374_ > f_394_) { - f -= f_342_; - f_342_ -= f_341_; - f_341_ = (float) (this.anIntArray1676[(int) f_341_]); - while (--f_342_ >= 0.0F) { - method1016(anIntArray1673, anIntArray1698, (int) f_341_, (int) f_343_, (int) f_344_, f_346_, f_347_, f_349_, f_350_, f_352_, f_353_, (float) i_358_, (float) i_359_, f_362_, f_363_, f_365_, f_366_, f_368_, f_369_, f_371_, f_372_); - f_343_ += f_374_; - f_344_ += f_384_; - f_346_ += f_375_; - f_347_ += f_385_; - f_349_ += f_376_; - f_350_ += f_386_; - f_352_ += f_377_; - f_353_ += f_387_; - i_358_ += f_378_; - i_359_ += f_388_; - f_362_ += f_379_; - f_363_ += f_389_; - f_365_ += f_380_; - f_366_ += f_390_; - f_368_ += f_381_; - f_369_ += f_391_; - f_371_ += f_382_; - f_372_ += f_392_; - f_341_ += (float) anInt1678; - } - while (--f >= 0.0F) { - method1016(anIntArray1673, anIntArray1698, (int) f_341_, (int) f_343_, (int) f_345_, f_346_, f_348_, f_349_, f_351_, f_352_, f_354_, (float) i_358_, (float) i_360_, f_362_, f_364_, f_365_, f_367_, f_368_, f_370_, f_371_, f_373_); - f_343_ += f_374_; - f_345_ += f_394_; - f_346_ += f_375_; - f_348_ += f_395_; - f_349_ += f_376_; - f_351_ += f_396_; - f_352_ += f_377_; - f_354_ += f_397_; - i_358_ += f_378_; - i_360_ += f_398_; - f_362_ += f_379_; - f_364_ += f_399_; - f_365_ += f_380_; - f_367_ += f_400_; - f_368_ += f_381_; - f_370_ += f_401_; - f_371_ += f_382_; - f_373_ += f_402_; - f_341_ += (float) anInt1678; - } - } else { - f -= f_342_; - f_342_ -= f_341_; - f_341_ = (float) (this.anIntArray1676[(int) f_341_]); - while (--f_342_ >= 0.0F) { - method1016(anIntArray1673, anIntArray1698, (int) f_341_, (int) f_344_, (int) f_343_, f_347_, f_346_, f_350_, f_349_, f_353_, f_352_, (float) i_359_, (float) i_358_, f_363_, f_362_, f_366_, f_365_, f_369_, f_368_, f_372_, f_371_); - f_344_ += f_384_; - f_343_ += f_374_; - f_347_ += f_385_; - f_346_ += f_375_; - f_350_ += f_386_; - f_349_ += f_376_; - f_353_ += f_387_; - f_352_ += f_377_; - i_359_ += f_388_; - i_358_ += f_378_; - f_363_ += f_389_; - f_362_ += f_379_; - f_366_ += f_390_; - f_365_ += f_380_; - f_369_ += f_391_; - f_368_ += f_381_; - f_372_ += f_392_; - f_371_ += f_382_; - f_341_ += (float) anInt1678; - } - while (--f >= 0.0F) { - method1016(anIntArray1673, anIntArray1698, (int) f_341_, (int) f_345_, (int) f_343_, f_348_, f_346_, f_351_, f_349_, f_354_, f_352_, (float) i_360_, (float) i_358_, f_364_, f_362_, f_367_, f_365_, f_370_, f_368_, f_373_, f_371_); - f_345_ += f_394_; - f_343_ += f_374_; - f_348_ += f_395_; - f_346_ += f_375_; - f_351_ += f_396_; - f_349_ += f_376_; - f_354_ += f_397_; - f_352_ += f_377_; - i_360_ += f_398_; - i_358_ += f_378_; - f_364_ += f_399_; - f_362_ += f_379_; - f_367_ += f_400_; - f_365_ += f_380_; - f_370_ += f_401_; - f_368_ += f_381_; - f_373_ += f_402_; - f_371_ += f_382_; - f_341_ += (float) anInt1678; - } - } - } else { - f_345_ = f_344_; - f_348_ = f_347_; - f_351_ = f_350_; - f_354_ = f_353_; - i_360_ = i_359_; - f_364_ = f_363_; - f_367_ = f_366_; - f_370_ = f_369_; - f_373_ = f_372_; - if (f_341_ < 0.0F) { - f_345_ -= f_374_ * f_341_; - f_344_ -= f_384_ * f_341_; - f_348_ -= f_375_ * f_341_; - f_347_ -= f_385_ * f_341_; - f_351_ -= f_376_ * f_341_; - f_350_ -= f_386_ * f_341_; - f_354_ -= f_377_ * f_341_; - f_353_ -= f_387_ * f_341_; - i_360_ -= f_378_ * f_341_; - i_359_ -= f_388_ * f_341_; - f_364_ -= f_379_ * f_341_; - f_363_ -= f_389_ * f_341_; - f_367_ -= f_380_ * f_341_; - f_366_ -= f_390_ * f_341_; - f_370_ -= f_381_ * f_341_; - f_369_ -= f_391_ * f_341_; - f_373_ -= f_382_ * f_341_; - f_372_ -= f_392_ * f_341_; - f_341_ = 0.0F; - } - if (f < 0.0F) { - f_343_ -= f_394_ * f; - f_346_ -= f_395_ * f; - f_349_ -= f_396_ * f; - f_352_ -= f_397_ * f; - i_358_ -= f_398_ * f; - f_362_ -= f_399_ * f; - f_365_ -= f_400_ * f; - f_368_ -= f_401_ * f; - f_371_ -= f_402_ * f; - f = 0.0F; - } - f_342_ -= f; - f -= f_341_; - f_341_ = (float) (this.anIntArray1676[(int) f_341_]); - if (f_374_ < f_384_) { - while (--f >= 0.0F) { - method1016(anIntArray1673, anIntArray1698, (int) f_341_, (int) f_345_, (int) f_344_, f_348_, f_347_, f_351_, f_350_, f_354_, f_353_, (float) i_360_, (float) i_359_, f_364_, f_363_, f_367_, f_366_, f_370_, f_369_, f_373_, f_372_); - f_345_ += f_374_; - f_344_ += f_384_; - f_348_ += f_375_; - f_347_ += f_385_; - f_351_ += f_376_; - f_350_ += f_386_; - f_354_ += f_377_; - f_353_ += f_387_; - i_360_ += f_378_; - i_359_ += f_388_; - f_364_ += f_379_; - f_363_ += f_389_; - f_367_ += f_380_; - f_366_ += f_390_; - f_370_ += f_381_; - f_369_ += f_391_; - f_373_ += f_382_; - f_372_ += f_392_; - f_341_ += (float) anInt1678; - } - while (--f_342_ >= 0.0F) { - method1016(anIntArray1673, anIntArray1698, (int) f_341_, (int) f_343_, (int) f_344_, f_346_, f_347_, f_349_, f_350_, f_352_, f_353_, (float) i_358_, (float) i_359_, f_362_, f_363_, f_365_, f_366_, f_368_, f_369_, f_371_, f_372_); - f_343_ += f_394_; - f_344_ += f_384_; - f_346_ += f_395_; - f_347_ += f_385_; - f_349_ += f_396_; - f_350_ += f_386_; - f_352_ += f_397_; - f_353_ += f_387_; - i_358_ += f_398_; - i_359_ += f_388_; - f_362_ += f_399_; - f_363_ += f_389_; - f_365_ += f_400_; - f_366_ += f_390_; - f_368_ += f_401_; - f_369_ += f_391_; - f_371_ += f_402_; - f_372_ += f_392_; - f_341_ += (float) anInt1678; - } - } else { - while (--f >= 0.0F) { - method1016(anIntArray1673, anIntArray1698, (int) f_341_, (int) f_344_, (int) f_345_, f_347_, f_348_, f_350_, f_351_, f_353_, f_354_, (float) i_359_, (float) i_360_, f_363_, f_364_, f_366_, f_367_, f_369_, f_370_, f_372_, f_373_); - f_344_ += f_384_; - f_345_ += f_374_; - f_347_ += f_385_; - f_348_ += f_375_; - f_350_ += f_386_; - f_351_ += f_376_; - f_353_ += f_387_; - f_354_ += f_377_; - i_359_ += f_388_; - i_360_ += f_378_; - f_363_ += f_389_; - f_364_ += f_379_; - f_366_ += f_390_; - f_367_ += f_380_; - f_369_ += f_391_; - f_370_ += f_381_; - f_372_ += f_392_; - f_373_ += f_382_; - f_341_ += (float) anInt1678; - } - while (--f_342_ >= 0.0F) { - method1016(anIntArray1673, anIntArray1698, (int) f_341_, (int) f_344_, (int) f_343_, f_347_, f_346_, f_350_, f_349_, f_353_, f_352_, (float) i_359_, (float) i_358_, f_363_, f_362_, f_366_, f_365_, f_369_, f_368_, f_372_, f_371_); - f_344_ += f_384_; - f_343_ += f_394_; - f_347_ += f_385_; - f_346_ += f_395_; - f_350_ += f_386_; - f_349_ += f_396_; - f_353_ += f_387_; - f_352_ += f_397_; - i_359_ += f_388_; - i_358_ += f_398_; - f_363_ += f_389_; - f_362_ += f_399_; - f_366_ += f_390_; - f_365_ += f_400_; - f_369_ += f_391_; - f_368_ += f_401_; - f_372_ += f_392_; - f_371_ += f_402_; - f_341_ += (float) anInt1678; - } - } - } - } - } else if (!(f_342_ >= (float) this.anInt1672)) { - if (f > (float) this.anInt1672) f = (float) this.anInt1672; - if (f_341_ > (float) this.anInt1672) f_341_ = (float) this.anInt1672; - if (f < f_341_) { - f_344_ = f_345_; - f_347_ = f_348_; - f_350_ = f_351_; - f_353_ = f_354_; - i_359_ = i_360_; - f_363_ = f_364_; - f_366_ = f_367_; - f_369_ = f_370_; - f_372_ = f_373_; - if (f_342_ < 0.0F) { - f_345_ -= f_394_ * f_342_; - f_344_ -= f_384_ * f_342_; - f_348_ -= f_395_ * f_342_; - f_347_ -= f_385_ * f_342_; - f_351_ -= f_396_ * f_342_; - f_350_ -= f_386_ * f_342_; - f_354_ -= f_397_ * f_342_; - f_353_ -= f_387_ * f_342_; - i_360_ -= f_398_ * 3.0F; - i_359_ -= f_388_ * f_342_; - f_364_ -= f_399_ * f_342_; - f_363_ -= f_389_ * f_342_; - f_367_ -= f_400_ * f_342_; - f_366_ -= f_390_ * f_342_; - f_370_ -= f_401_ * f_342_; - f_369_ -= f_391_ * f_342_; - f_373_ -= f_402_ * f_342_; - f_372_ -= f_392_ * f_342_; - f_342_ = 0.0F; - } - if (f < 0.0F) { - f_343_ -= f_374_ * f; - f_346_ -= f_375_ * f; - f_349_ -= f_376_ * f; - f_352_ -= f_377_ * f; - i_358_ -= f_378_ * f; - f_362_ -= f_379_ * f; - f_365_ -= f_380_ * f; - f_368_ -= f_381_ * f; - f_371_ -= f_382_ * f; - f = 0.0F; - } - if (f_384_ < f_394_) { - f_341_ -= f; - f -= f_342_; - f_342_ = (float) (this.anIntArray1676[(int) f_342_]); - while (--f >= 0.0F) { - method1016(anIntArray1673, anIntArray1698, (int) f_342_, (int) f_344_, (int) f_345_, f_347_, f_348_, f_350_, f_351_, f_353_, f_354_, (float) i_359_, (float) i_360_, f_363_, f_364_, f_366_, f_367_, f_369_, f_370_, f_372_, f_373_); - f_344_ += f_384_; - f_345_ += f_394_; - f_347_ += f_385_; - f_348_ += f_395_; - f_350_ += f_386_; - f_351_ += f_396_; - f_353_ += f_387_; - f_354_ += f_397_; - i_359_ += f_388_; - i_360_ += f_398_; - f_363_ += f_389_; - f_364_ += f_399_; - f_366_ += f_390_; - f_367_ += f_400_; - f_369_ += f_391_; - f_370_ += f_401_; - f_372_ += f_392_; - f_373_ += f_402_; - f_342_ += (float) anInt1678; - } - while (--f_341_ >= 0.0F) { - method1016(anIntArray1673, anIntArray1698, (int) f_342_, (int) f_344_, (int) f_343_, f_347_, f_346_, f_350_, f_349_, f_353_, f_352_, (float) i_359_, (float) i_358_, f_363_, f_362_, f_366_, f_365_, f_369_, f_368_, f_372_, f_371_); - f_344_ += f_384_; - f_343_ += f_374_; - f_347_ += f_385_; - f_346_ += f_375_; - f_350_ += f_386_; - f_349_ += f_376_; - f_353_ += f_387_; - f_352_ += f_377_; - i_359_ += f_388_; - i_358_ += f_378_; - f_363_ += f_389_; - f_362_ += f_379_; - f_366_ += f_390_; - f_365_ += f_380_; - f_369_ += f_391_; - f_368_ += f_381_; - f_372_ += f_392_; - f_371_ += f_382_; - f_342_ += (float) anInt1678; - } - } else { - f_341_ -= f; - f -= f_342_; - f_342_ = (float) (this.anIntArray1676[(int) f_342_]); - while (--f >= 0.0F) { - method1016(anIntArray1673, anIntArray1698, (int) f_342_, (int) f_345_, (int) f_344_, f_348_, f_347_, f_351_, f_350_, f_354_, f_353_, (float) i_360_, (float) i_359_, f_364_, f_363_, f_367_, f_366_, f_370_, f_369_, f_373_, f_372_); - f_345_ += f_394_; - f_344_ += f_384_; - f_348_ += f_395_; - f_347_ += f_385_; - f_351_ += f_396_; - f_350_ += f_386_; - f_354_ += f_397_; - f_353_ += f_387_; - i_360_ += f_398_; - i_359_ += f_388_; - f_364_ += f_399_; - f_363_ += f_389_; - f_367_ += f_400_; - f_366_ += f_390_; - f_370_ += f_401_; - f_369_ += f_391_; - f_373_ += f_402_; - f_372_ += f_392_; - f_342_ += (float) anInt1678; - } - while (--f_341_ >= 0.0F) { - method1016(anIntArray1673, anIntArray1698, (int) f_342_, (int) f_343_, (int) f_344_, f_346_, f_347_, f_349_, f_350_, f_352_, f_353_, (float) i_358_, (float) i_359_, f_362_, f_363_, f_365_, f_366_, f_368_, f_369_, f_371_, f_372_); - f_343_ += f_374_; - f_344_ += f_384_; - f_346_ += f_375_; - f_347_ += f_385_; - f_349_ += f_376_; - f_350_ += f_386_; - f_352_ += f_377_; - f_353_ += f_387_; - i_358_ += f_378_; - i_359_ += f_388_; - f_362_ += f_379_; - f_363_ += f_389_; - f_365_ += f_380_; - f_366_ += f_390_; - f_368_ += f_381_; - f_369_ += f_391_; - f_371_ += f_382_; - f_372_ += f_392_; - f_342_ += (float) anInt1678; - } - } - } else { - f_343_ = f_345_; - f_346_ = f_348_; - f_349_ = f_351_; - f_352_ = f_354_; - i_358_ = i_360_; - f_362_ = f_364_; - f_365_ = f_367_; - f_368_ = f_370_; - f_371_ = f_373_; - if (f_342_ < 0.0F) { - f_345_ -= f_394_ * f_342_; - f_343_ -= f_384_ * f_342_; - f_348_ -= f_395_ * f_342_; - f_346_ -= f_385_ * f_342_; - f_351_ -= f_396_ * f_342_; - f_349_ -= f_386_ * f_342_; - f_354_ -= f_397_ * f_342_; - f_352_ -= f_387_ * f_342_; - i_360_ -= f_398_ * 3.0F; - i_358_ -= f_388_ * f_342_; - f_364_ -= f_399_ * f_342_; - f_362_ -= f_389_ * f_342_; - f_367_ -= f_400_ * f_342_; - f_365_ -= f_390_ * f_342_; - f_370_ -= f_401_ * f_342_; - f_368_ -= f_391_ * f_342_; - f_373_ -= f_402_ * f_342_; - f_371_ -= f_392_ * f_342_; - f_342_ = 0.0F; - } - if (f_341_ < 0.0F) { - f_344_ -= f_374_ * f_341_; - f_347_ -= f_375_ * f_341_; - f_350_ -= f_376_ * f_341_; - f_353_ -= f_377_ * f_341_; - i_359_ -= f_378_ * f_341_; - f_363_ -= f_379_ * f_341_; - f_366_ -= f_380_ * f_341_; - f_369_ -= f_381_ * f_341_; - f_372_ -= f_382_ * f_341_; - f_341_ = 0.0F; - } - if (f_384_ < f_394_) { - f -= f_341_; - f_341_ -= f_342_; - f_342_ = (float) (this.anIntArray1676[(int) f_342_]); - while (--f_341_ >= 0.0F) { - method1016(anIntArray1673, anIntArray1698, (int) f_342_, (int) f_343_, (int) f_345_, f_346_, f_348_, f_349_, f_351_, f_352_, f_354_, (float) i_358_, (float) i_360_, f_362_, f_364_, f_365_, f_367_, f_368_, f_370_, f_371_, f_373_); - f_343_ += f_384_; - f_345_ += f_394_; - f_346_ += f_385_; - f_348_ += f_395_; - f_349_ += f_386_; - f_351_ += f_396_; - f_352_ += f_387_; - f_354_ += f_397_; - i_358_ += f_388_; - i_360_ += f_398_; - f_362_ += f_389_; - f_364_ += f_399_; - f_365_ += f_390_; - f_367_ += f_400_; - f_368_ += f_391_; - f_370_ += f_401_; - f_371_ += f_392_; - f_373_ += f_402_; - f_342_ += (float) anInt1678; - } - while (--f >= 0.0F) { - method1016(anIntArray1673, anIntArray1698, (int) f_342_, (int) f_344_, (int) f_345_, f_347_, f_348_, f_350_, f_351_, f_353_, f_354_, (float) i_359_, (float) i_360_, f_363_, f_364_, f_366_, f_367_, f_369_, f_370_, f_372_, f_373_); - f_344_ += f_374_; - f_345_ += f_394_; - f_347_ += f_375_; - f_348_ += f_395_; - f_350_ += f_376_; - f_351_ += f_396_; - f_353_ += f_377_; - f_354_ += f_397_; - i_359_ += f_378_; - i_360_ += f_398_; - f_363_ += f_379_; - f_364_ += f_399_; - f_366_ += f_380_; - f_367_ += f_400_; - f_369_ += f_381_; - f_370_ += f_401_; - f_372_ += f_382_; - f_373_ += f_402_; - f_342_ += (float) anInt1678; - } - } else { - f -= f_341_; - f_341_ -= f_342_; - f_342_ = (float) (this.anIntArray1676[(int) f_342_]); - while (--f_341_ >= 0.0F) { - method1016(anIntArray1673, anIntArray1698, (int) f_342_, (int) f_345_, (int) f_343_, f_348_, f_346_, f_351_, f_349_, f_354_, f_352_, (float) i_360_, (float) i_358_, f_364_, f_362_, f_367_, f_365_, f_370_, f_368_, f_373_, f_371_); - f_345_ += f_394_; - f_343_ += f_384_; - f_348_ += f_395_; - f_346_ += f_385_; - f_351_ += f_396_; - f_349_ += f_386_; - f_354_ += f_397_; - f_352_ += f_387_; - i_360_ += f_398_; - i_358_ += f_388_; - f_364_ += f_399_; - f_362_ += f_389_; - f_367_ += f_400_; - f_365_ += f_390_; - f_370_ += f_401_; - f_368_ += f_391_; - f_373_ += f_402_; - f_371_ += f_392_; - f_342_ += (float) anInt1678; - } - while (--f >= 0.0F) { - method1016(anIntArray1673, anIntArray1698, (int) f_342_, (int) f_345_, (int) f_344_, f_348_, f_347_, f_351_, f_350_, f_354_, f_353_, (float) i_360_, (float) i_359_, f_364_, f_363_, f_367_, f_366_, f_370_, f_369_, f_373_, f_372_); - f_345_ += f_394_; - f_344_ += f_374_; - f_348_ += f_395_; - f_347_ += f_375_; - f_351_ += f_396_; - f_350_ += f_376_; - f_354_ += f_397_; - f_353_ += f_377_; - i_360_ += f_398_; - i_359_ += f_378_; - f_364_ += f_399_; - f_363_ += f_379_; - f_367_ += f_400_; - f_366_ += f_380_; - f_370_ += f_401_; - f_369_ += f_381_; - f_373_ += f_402_; - f_372_ += f_382_; - f_342_ += (float) anInt1678; - } - } - } - } - } - - private final void method1025(int[] is, int[] is_404_, int i, int i_405_, int i_406_, float f, float f_407_, float f_408_, float f_409_, float f_410_, float f_411_, float f_412_, float f_413_, float f_414_, float f_415_, float f_416_, float f_417_, float f_418_, float f_419_, float f_420_, float f_421_, float f_422_, float f_423_, float f_424_, float f_425_) { - int i_426_ = i_406_ - i_405_; - float f_427_ = 1.0F / (float) i_426_; - float f_428_ = (f_407_ - f) * f_427_; - float f_429_ = (f_409_ - f_408_) * f_427_; - float f_430_ = (f_411_ - f_410_) * f_427_; - float f_431_ = (f_413_ - f_412_) * f_427_; - float f_432_ = (f_417_ - f_416_) * f_427_; - float f_433_ = (f_419_ - f_418_) * f_427_; - float f_434_ = (f_421_ - f_420_) * f_427_; - float f_435_ = (f_423_ - f_422_) * f_427_; - float f_436_ = (f_425_ - f_424_) * f_427_; - if (this.aBoolean1671) { - if (i_406_ > this.anInt1679) i_406_ = this.anInt1679; - if (i_405_ < 0) { - f -= f_428_ * (float) i_405_; - f_408_ -= f_429_ * (float) i_405_; - f_410_ -= f_430_ * (float) i_405_; - f_412_ -= f_431_ * (float) i_405_; - f_416_ -= f_432_ * (float) i_405_; - f_418_ -= f_433_ * (float) i_405_; - f_420_ -= f_434_ * (float) i_405_; - f_422_ -= f_435_ * (float) i_405_; - f_424_ -= f_436_ * (float) i_405_; - i_405_ = 0; - } - } - if (i_405_ < i_406_) { - i_426_ = i_406_ - i_405_; - i += i_405_; - while (i_426_-- > 0) { - float f_437_ = 1.0F / f; - if (f_437_ < aFloatArray1677[i]) { - float f_438_ = f_408_ * f_437_; - float f_439_ = f_410_ * f_437_; - int i_440_ = ((int) (f_438_ * (float) anInt1693 * aFloat1681) & anInt1690); - int i_441_ = ((int) (f_439_ * (float) anInt1693 * aFloat1681) & anInt1690); - int i_442_ = anIntArray1698[i_441_ * anInt1693 + i_440_]; - i_440_ = ((int) (f_438_ * (float) anInt1691 * aFloat1684) & anInt1686); - i_441_ = ((int) (f_439_ * (float) anInt1691 * aFloat1684) & anInt1686); - int i_443_ = anIntArray1685[i_441_ * anInt1691 + i_440_]; - i_440_ = ((int) (f_438_ * (float) anInt1695 * aFloat1682) & anInt1688); - i_441_ = ((int) (f_439_ * (float) anInt1695 * aFloat1682) & anInt1688); - int i_444_ = anIntArray1692[i_441_ * anInt1695 + i_440_]; - float f_445_ = 1.0F - (f_422_ + f_424_); - i_442_ = (~0xffffff | ((int) (f_422_ * (float) (i_442_ >> 16 & 0xff)) << 16) | (int) (f_422_ * (float) (i_442_ >> 8 & 0xff)) << 8 | (int) (f_422_ * (float) (i_442_ & 0xff))); - i_443_ = (~0xffffff | ((int) (f_424_ * (float) (i_443_ >> 16 & 0xff)) << 16) | (int) (f_424_ * (float) (i_443_ >> 8 & 0xff)) << 8 | (int) (f_424_ * (float) (i_443_ & 0xff))); - i_444_ = (~0xffffff | ((int) (f_445_ * (float) (i_444_ >> 16 & 0xff)) << 16) | (int) (f_445_ * (float) (i_444_ >> 8 & 0xff)) << 8 | (int) (f_445_ * (float) (i_444_ & 0xff))); - int i_446_ = i_442_ + i_443_ + i_444_; - int i_447_ = (~0xffffff | ((int) (f_416_ * (float) (i_446_ >> 16 & 0xff)) << 8) & 0xff0000 | ((int) (f_418_ * (float) (i_446_ >> 8 & 0xff)) & 0xff00) | (int) (f_420_ * (float) (i_446_ & 0xff)) >> 8); - if (f_412_ != 0.0F) { - int i_448_ = (int) (255.0F - f_412_); - int i_449_ = ((((anInt1696 & 0xff00ff) * (int) f_412_ & ~0xff00ff) | ((anInt1696 & 0xff00) * (int) f_412_ & 0xff0000)) >>> 8); - i_447_ = (((i_447_ & 0xff00ff) * i_448_ & ~0xff00ff | (i_447_ & 0xff00) * i_448_ & 0xff0000) >>> 8) + i_449_; - } - is[i] = i_447_; - aFloatArray1677[i] = f_437_; - } - i++; - f += f_428_; - f_408_ += f_429_; - f_410_ += f_430_; - f_412_ += f_431_; - f_416_ += f_432_; - f_418_ += f_433_; - f_420_ += f_434_; - f_422_ += f_435_; - f_424_ += f_436_; - } - } - } - - private final void method1026(int[] is, float[] fs, int i, int i_450_, int i_451_, int i_452_, int i_453_, float f, float f_454_) { - if (this.aBoolean1671) { - if (i_453_ > this.anInt1679) i_453_ = this.anInt1679; - if (i_452_ < 0) i_452_ = 0; - } - if (i_452_ < i_453_) { - i += i_452_ - 1; - i_451_ = i_453_ - i_452_ >> 2; - f += f_454_ * (float) i_452_; - if (aClass167_1670.aBoolean2202) { - if (this.anInt1674 == 0) { - while (--i_451_ >= 0) { - if (f < fs[++i]) { - is[i] = i_450_; - fs[i] = f; - } - f += f_454_; - if (f < fs[++i]) { - is[i] = i_450_; - fs[i] = f; - } - f += f_454_; - if (f < fs[++i]) { - is[i] = i_450_; - fs[i] = f; - } - f += f_454_; - if (f < fs[++i]) { - is[i] = i_450_; - fs[i] = f; - } - f += f_454_; - } - i_451_ = i_453_ - i_452_ & 0x3; - while (--i_451_ >= 0) { - if (f < fs[++i]) { - is[i] = i_450_; - fs[i] = f; - } - f += f_454_; - } - } else if (this.anInt1674 == 254) { - if (i_452_ != 0 && i_453_ <= this.anInt1679 - 1) { - while (--i_451_ >= 0) { - if (f < fs[++i]) is[i - 1] = is[i]; - f += f_454_; - if (f < fs[++i]) is[i - 1] = is[i]; - f += f_454_; - if (f < fs[++i]) is[i - 1] = is[i]; - f += f_454_; - if (f < fs[++i]) is[i - 1] = is[i]; - f += f_454_; - } - i_451_ = i_453_ - i_452_ & 0x3; - while (--i_451_ >= 0) { - if (f < fs[++i]) is[i - 1] = is[i]; - f += f_454_; - } - } - } else { - int i_455_ = this.anInt1674; - int i_456_ = 256 - this.anInt1674; - i_450_ = (((i_450_ & 0xff00ff) * i_456_ >> 8 & 0xff00ff) + ((i_450_ & 0xff00) * i_456_ >> 8 & 0xff00)); - while (--i_451_ >= 0) { - if (f < fs[++i]) { - int i_457_ = is[i]; - is[i] = (i_450_ + ((i_457_ & 0xff00ff) * i_455_ >> 8 & 0xff00ff) + ((i_457_ & 0xff00) * i_455_ >> 8 & 0xff00)); - fs[i] = f; - } - f += f_454_; - if (f < fs[++i]) { - int i_458_ = is[i]; - is[i] = (i_450_ + ((i_458_ & 0xff00ff) * i_455_ >> 8 & 0xff00ff) + ((i_458_ & 0xff00) * i_455_ >> 8 & 0xff00)); - fs[i] = f; - } - f += f_454_; - if (f < fs[++i]) { - int i_459_ = is[i]; - is[i] = (i_450_ + ((i_459_ & 0xff00ff) * i_455_ >> 8 & 0xff00ff) + ((i_459_ & 0xff00) * i_455_ >> 8 & 0xff00)); - fs[i] = f; - } - f += f_454_; - if (f < fs[++i]) { - int i_460_ = is[i]; - is[i] = (i_450_ + ((i_460_ & 0xff00ff) * i_455_ >> 8 & 0xff00ff) + ((i_460_ & 0xff00) * i_455_ >> 8 & 0xff00)); - fs[i] = f; - } - f += f_454_; - } - i_451_ = i_453_ - i_452_ & 0x3; - while (--i_451_ >= 0) { - if (f < fs[++i]) { - int i_461_ = is[i]; - is[i] = (i_450_ + ((i_461_ & 0xff00ff) * i_455_ >> 8 & 0xff00ff) + ((i_461_ & 0xff00) * i_455_ >> 8 & 0xff00)); - fs[i] = f; - } - f += f_454_; - } - } - } else if (this.anInt1674 == 0) { - while (--i_451_ >= 0) { - if (f < fs[++i]) is[i] = i_450_; - f += f_454_; - if (f < fs[++i]) is[i] = i_450_; - f += f_454_; - if (f < fs[++i]) is[i] = i_450_; - f += f_454_; - if (f < fs[++i]) is[i] = i_450_; - f += f_454_; - } - i_451_ = i_453_ - i_452_ & 0x3; - while (--i_451_ >= 0) { - if (f < fs[++i]) is[i] = i_450_; - f += f_454_; - } - } else if (this.anInt1674 == 254) { - if (i_452_ != 0 && i_453_ <= this.anInt1679 - 1) { - while (--i_451_ >= 0) { - if (f < fs[++i]) is[i - 1] = is[i]; - f += f_454_; - if (f < fs[++i]) is[i - 1] = is[i]; - f += f_454_; - if (f < fs[++i]) is[i - 1] = is[i]; - f += f_454_; - if (f < fs[++i]) is[i - 1] = is[i]; - f += f_454_; - } - i_451_ = i_453_ - i_452_ & 0x3; - while (--i_451_ >= 0) { - if (f < fs[++i]) is[i - 1] = is[i]; - f += f_454_; - } - } - } else { - int i_462_ = this.anInt1674; - int i_463_ = 256 - this.anInt1674; - i_450_ = (((i_450_ & 0xff00ff) * i_463_ >> 8 & 0xff00ff) + ((i_450_ & 0xff00) * i_463_ >> 8 & 0xff00)); - while (--i_451_ >= 0) { - if (f < fs[++i]) { - int i_464_ = is[i]; - is[i] = (i_450_ + ((i_464_ & 0xff00ff) * i_462_ >> 8 & 0xff00ff) + ((i_464_ & 0xff00) * i_462_ >> 8 & 0xff00)); - } - f += f_454_; - if (f < fs[++i]) { - int i_465_ = is[i]; - is[i] = (i_450_ + ((i_465_ & 0xff00ff) * i_462_ >> 8 & 0xff00ff) + ((i_465_ & 0xff00) * i_462_ >> 8 & 0xff00)); - } - f += f_454_; - if (f < fs[++i]) { - int i_466_ = is[i]; - is[i] = (i_450_ + ((i_466_ & 0xff00ff) * i_462_ >> 8 & 0xff00ff) + ((i_466_ & 0xff00) * i_462_ >> 8 & 0xff00)); - } - f += f_454_; - if (f < fs[++i]) { - int i_467_ = is[i]; - is[i] = (i_450_ + ((i_467_ & 0xff00ff) * i_462_ >> 8 & 0xff00ff) + ((i_467_ & 0xff00) * i_462_ >> 8 & 0xff00)); - } - f += f_454_; - } - i_451_ = i_453_ - i_452_ & 0x3; - while (--i_451_ >= 0) { - if (f < fs[++i]) { - int i_468_ = is[i]; - is[i] = (i_450_ + ((i_468_ & 0xff00ff) * i_462_ >> 8 & 0xff00ff) + ((i_468_ & 0xff00) * i_462_ >> 8 & 0xff00)); - } - f += f_454_; - } - } - } - } - - final void method1027(float f, float f_469_, float f_470_, float f_471_, float f_472_, float f_473_, float f_474_, float f_475_, float f_476_, int i, int i_477_, int i_478_) { - if (aBoolean1675) { - aHa_Sub1_1666.method3645((int) f, (int) f_471_, (int) f_472_, -8003, ~0xffffff | i, (int) f_469_); - aHa_Sub1_1666.method3645((int) f_469_, (int) f_472_, (int) f_473_, -8003, ~0xffffff | i, (int) f_470_); - aHa_Sub1_1666.method3645((int) f_470_, (int) f_473_, (int) f_471_, -8003, ~0xffffff | i, (int) f); - } else { - float f_479_ = f_472_ - f_471_; - float f_480_ = f_469_ - f; - float f_481_ = f_473_ - f_471_; - float f_482_ = f_470_ - f; - float f_483_ = f_475_ - f_474_; - float f_484_ = f_476_ - f_474_; - float f_485_ = (float) ((i_477_ & 0xff0000) - (i & 0xff0000)); - float f_486_ = (float) ((i_478_ & 0xff0000) - (i & 0xff0000)); - float f_487_ = (float) ((i_477_ & 0xff00) - (i & 0xff00)); - float f_488_ = (float) ((i_478_ & 0xff00) - (i & 0xff00)); - float f_489_ = (float) ((i_477_ & 0xff) - (i & 0xff)); - float f_490_ = (float) ((i_478_ & 0xff) - (i & 0xff)); - float f_491_; - if (f_470_ != f_469_) f_491_ = (f_473_ - f_472_) / (f_470_ - f_469_); - else f_491_ = 0.0F; - float f_492_; - if (f_469_ != f) f_492_ = f_479_ / f_480_; - else f_492_ = 0.0F; - float f_493_; - if (f_470_ != f) f_493_ = f_481_ / f_482_; - else f_493_ = 0.0F; - float f_494_ = f_479_ * f_482_ - f_481_ * f_480_; - if (f_494_ != 0.0F) { - float f_495_ = (f_483_ * f_482_ - f_484_ * f_480_) / f_494_; - float f_496_ = (f_484_ * f_479_ - f_483_ * f_481_) / f_494_; - float f_497_ = (f_485_ * f_482_ - f_486_ * f_480_) / f_494_; - float f_498_ = (f_486_ * f_479_ - f_485_ * f_481_) / f_494_; - float f_499_ = (f_487_ * f_482_ - f_488_ * f_480_) / f_494_; - float f_500_ = (f_488_ * f_479_ - f_487_ * f_481_) / f_494_; - float f_501_ = (f_489_ * f_482_ - f_490_ * f_480_) / f_494_; - float f_502_ = (f_490_ * f_479_ - f_489_ * f_481_) / f_494_; - if (f <= f_469_ && f <= f_470_) { - if (!(f >= (float) this.anInt1672)) { - if (f_469_ > (float) this.anInt1672) f_469_ = (float) this.anInt1672; - if (f_470_ > (float) this.anInt1672) f_470_ = (float) this.anInt1672; - f_474_ = f_474_ - f_495_ * f_471_ + f_495_; - float f_503_ = ((float) (i & 0xff0000) - f_497_ * f_471_ + f_497_); - float f_504_ = (float) (i & 0xff00) - f_499_ * f_471_ + f_499_; - float f_505_ = (float) (i & 0xff) - f_501_ * f_471_ + f_501_; - if (f_469_ < f_470_) { - f_473_ = f_471_; - if (f < 0.0F) { - f_473_ -= f_493_ * f; - f_471_ -= f_492_ * f; - f_474_ -= f_496_ * f; - f_503_ -= f_498_ * f; - f_504_ -= f_500_ * f; - f_505_ -= f_502_ * f; - f = 0.0F; - } - if (f_469_ < 0.0F) { - f_472_ -= f_491_ * f_469_; - f_469_ = 0.0F; - } - if (f != f_469_ && f_493_ < f_492_ || f == f_469_ && f_493_ > f_491_) { - f_470_ -= f_469_; - f_469_ -= f; - f = (float) (this.anIntArray1676[(int) f]); - while (--f_469_ >= 0.0F) { - method1021(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_473_, (int) f_471_, f_474_, f_495_, f_503_, f_497_, f_504_, f_499_, f_505_, f_501_); - f_473_ += f_493_; - f_471_ += f_492_; - f_474_ += f_496_; - f_503_ += f_498_; - f_504_ += f_500_; - f_505_ += f_502_; - f += (float) anInt1678; - } - while (--f_470_ >= 0.0F) { - method1021(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_473_, (int) f_472_, f_474_, f_495_, f_503_, f_497_, f_504_, f_499_, f_505_, f_501_); - f_473_ += f_493_; - f_472_ += f_491_; - f_474_ += f_496_; - f_503_ += f_498_; - f_504_ += f_500_; - f_505_ += f_502_; - f += (float) anInt1678; - } - } else { - f_470_ -= f_469_; - f_469_ -= f; - f = (float) (this.anIntArray1676[(int) f]); - while (--f_469_ >= 0.0F) { - method1021(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_471_, (int) f_473_, f_474_, f_495_, f_503_, f_497_, f_504_, f_499_, f_505_, f_501_); - f_473_ += f_493_; - f_471_ += f_492_; - f_474_ += f_496_; - f_503_ += f_498_; - f_504_ += f_500_; - f_505_ += f_502_; - f += (float) anInt1678; - } - while (--f_470_ >= 0.0F) { - method1021(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_472_, (int) f_473_, f_474_, f_495_, f_503_, f_497_, f_504_, f_499_, f_505_, f_501_); - f_473_ += f_493_; - f_472_ += f_491_; - f_474_ += f_496_; - f_503_ += f_498_; - f_504_ += f_500_; - f_505_ += f_502_; - f += (float) anInt1678; - } - } - } else { - f_472_ = f_471_; - if (f < 0.0F) { - f_472_ -= f_493_ * f; - f_471_ -= f_492_ * f; - f_474_ -= f_496_ * f; - f_503_ -= f_498_ * f; - f_504_ -= f_500_ * f; - f_505_ -= f_502_ * f; - f = 0.0F; - } - if (f_470_ < 0.0F) { - f_473_ -= f_491_ * f_470_; - f_470_ = 0.0F; - } - if (f != f_470_ && f_493_ < f_492_ || f == f_470_ && f_491_ > f_492_) { - f_469_ -= f_470_; - f_470_ -= f; - f = (float) (this.anIntArray1676[(int) f]); - while (--f_470_ >= 0.0F) { - method1021(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_472_, (int) f_471_, f_474_, f_495_, f_503_, f_497_, f_504_, f_499_, f_505_, f_501_); - f_472_ += f_493_; - f_471_ += f_492_; - f_474_ += f_496_; - f_503_ += f_498_; - f_504_ += f_500_; - f_505_ += f_502_; - f += (float) anInt1678; - } - while (--f_469_ >= 0.0F) { - method1021(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_473_, (int) f_471_, f_474_, f_495_, f_503_, f_497_, f_504_, f_499_, f_505_, f_501_); - f_473_ += f_491_; - f_471_ += f_492_; - f_474_ += f_496_; - f_503_ += f_498_; - f_504_ += f_500_; - f_505_ += f_502_; - f += (float) anInt1678; - } - } else { - f_469_ -= f_470_; - f_470_ -= f; - f = (float) (this.anIntArray1676[(int) f]); - while (--f_470_ >= 0.0F) { - method1021(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_471_, (int) f_472_, f_474_, f_495_, f_503_, f_497_, f_504_, f_499_, f_505_, f_501_); - f_472_ += f_493_; - f_471_ += f_492_; - f_474_ += f_496_; - f_503_ += f_498_; - f_504_ += f_500_; - f_505_ += f_502_; - f += (float) anInt1678; - } - while (--f_469_ >= 0.0F) { - method1021(anIntArray1673, aFloatArray1677, (int) f, 0, 0, (int) f_471_, (int) f_473_, f_474_, f_495_, f_503_, f_497_, f_504_, f_499_, f_505_, f_501_); - f_473_ += f_491_; - f_471_ += f_492_; - f_474_ += f_496_; - f_503_ += f_498_; - f_504_ += f_500_; - f_505_ += f_502_; - f += (float) anInt1678; - } - } - } - } - } else if (f_469_ <= f_470_) { - if (!(f_469_ >= (float) this.anInt1672)) { - if (f_470_ > (float) this.anInt1672) f_470_ = (float) this.anInt1672; - if (f > (float) this.anInt1672) f = (float) this.anInt1672; - f_475_ = f_475_ - f_495_ * f_472_ + f_495_; - float f_506_ = ((float) (i_477_ & 0xff0000) - f_497_ * f_472_ + f_497_); - float f_507_ = ((float) (i_477_ & 0xff00) - f_499_ * f_472_ + f_499_); - float f_508_ = ((float) (i_477_ & 0xff) - f_501_ * f_472_ + f_501_); - if (f_470_ < f) { - f_471_ = f_472_; - if (f_469_ < 0.0F) { - f_471_ -= f_492_ * f_469_; - f_472_ -= f_491_ * f_469_; - f_475_ -= f_496_ * f_469_; - f_506_ -= f_498_ * f_469_; - f_507_ -= f_500_ * f_469_; - f_508_ -= f_502_ * f_469_; - f_469_ = 0.0F; - } - if (f_470_ < 0.0F) { - f_473_ -= f_493_ * f_470_; - f_470_ = 0.0F; - } - if (f_469_ != f_470_ && f_492_ < f_491_ || f_469_ == f_470_ && f_492_ > f_493_) { - f -= f_470_; - f_470_ -= f_469_; - f_469_ = (float) (this.anIntArray1676[(int) f_469_]); - while (--f_470_ >= 0.0F) { - method1021(anIntArray1673, aFloatArray1677, (int) f_469_, 0, 0, (int) f_471_, (int) f_472_, f_475_, f_495_, f_506_, f_497_, f_507_, f_499_, f_508_, f_501_); - f_471_ += f_492_; - f_472_ += f_491_; - f_475_ += f_496_; - f_506_ += f_498_; - f_507_ += f_500_; - f_508_ += f_502_; - f_469_ += (float) anInt1678; - } - while (--f >= 0.0F) { - method1021(anIntArray1673, aFloatArray1677, (int) f_469_, 0, 0, (int) f_471_, (int) f_473_, f_475_, f_495_, f_506_, f_497_, f_507_, f_499_, f_508_, f_501_); - f_471_ += f_492_; - f_473_ += f_493_; - f_475_ += f_496_; - f_506_ += f_498_; - f_507_ += f_500_; - f_508_ += f_502_; - f_469_ += (float) anInt1678; - } - } else { - f -= f_470_; - f_470_ -= f_469_; - f_469_ = (float) (this.anIntArray1676[(int) f_469_]); - while (--f_470_ >= 0.0F) { - method1021(anIntArray1673, aFloatArray1677, (int) f_469_, 0, 0, (int) f_472_, (int) f_471_, f_475_, f_495_, f_506_, f_497_, f_507_, f_499_, f_508_, f_501_); - f_471_ += f_492_; - f_472_ += f_491_; - f_475_ += f_496_; - f_506_ += f_498_; - f_507_ += f_500_; - f_508_ += f_502_; - f_469_ += (float) anInt1678; - } - while (--f >= 0.0F) { - method1021(anIntArray1673, aFloatArray1677, (int) f_469_, 0, 0, (int) f_473_, (int) f_471_, f_475_, f_495_, f_506_, f_497_, f_507_, f_499_, f_508_, f_501_); - f_471_ += f_492_; - f_473_ += f_493_; - f_475_ += f_496_; - f_506_ += f_498_; - f_507_ += f_500_; - f_508_ += f_502_; - f_469_ += (float) anInt1678; - } - } - } else { - f_473_ = f_472_; - if (f_469_ < 0.0F) { - f_473_ -= f_492_ * f_469_; - f_472_ -= f_491_ * f_469_; - f_475_ -= f_496_ * f_469_; - f_506_ -= f_498_ * f_469_; - f_507_ -= f_500_ * f_469_; - f_508_ -= f_502_ * f_469_; - f_469_ = 0.0F; - } - if (f < 0.0F) { - f_471_ -= f_493_ * f; - f = 0.0F; - } - if (f_492_ < f_491_) { - f_470_ -= f; - f -= f_469_; - f_469_ = (float) (this.anIntArray1676[(int) f_469_]); - while (--f >= 0.0F) { - method1021(anIntArray1673, aFloatArray1677, (int) f_469_, 0, 0, (int) f_473_, (int) f_472_, f_475_, f_495_, f_506_, f_497_, f_507_, f_499_, f_508_, f_501_); - f_473_ += f_492_; - f_472_ += f_491_; - f_475_ += f_496_; - f_506_ += f_498_; - f_507_ += f_500_; - f_508_ += f_502_; - f_469_ += (float) anInt1678; - } - while (--f_470_ >= 0.0F) { - method1021(anIntArray1673, aFloatArray1677, (int) f_469_, 0, 0, (int) f_471_, (int) f_472_, f_475_, f_495_, f_506_, f_497_, f_507_, f_499_, f_508_, f_501_); - f_471_ += f_493_; - f_472_ += f_491_; - f_475_ += f_496_; - f_506_ += f_498_; - f_507_ += f_500_; - f_508_ += f_502_; - f_469_ += (float) anInt1678; - } - } else { - f_470_ -= f; - f -= f_469_; - f_469_ = (float) (this.anIntArray1676[(int) f_469_]); - while (--f >= 0.0F) { - method1021(anIntArray1673, aFloatArray1677, (int) f_469_, 0, 0, (int) f_472_, (int) f_473_, f_475_, f_495_, f_506_, f_497_, f_507_, f_499_, f_508_, f_501_); - f_473_ += f_492_; - f_472_ += f_491_; - f_475_ += f_496_; - f_506_ += f_498_; - f_507_ += f_500_; - f_508_ += f_502_; - f_469_ += (float) anInt1678; - } - while (--f_470_ >= 0.0F) { - method1021(anIntArray1673, aFloatArray1677, (int) f_469_, 0, 0, (int) f_472_, (int) f_471_, f_475_, f_495_, f_506_, f_497_, f_507_, f_499_, f_508_, f_501_); - f_471_ += f_493_; - f_472_ += f_491_; - f_475_ += f_496_; - f_506_ += f_498_; - f_507_ += f_500_; - f_508_ += f_502_; - f_469_ += (float) anInt1678; - } - } - } - } - } else if (!(f_470_ >= (float) this.anInt1672)) { - if (f > (float) this.anInt1672) f = (float) this.anInt1672; - if (f_469_ > (float) this.anInt1672) f_469_ = (float) this.anInt1672; - f_476_ = f_476_ - f_495_ * f_473_ + f_495_; - float f_509_ = ((float) (i_478_ & 0xff0000) - f_497_ * f_473_ + f_497_); - float f_510_ = (float) (i_478_ & 0xff00) - f_499_ * f_473_ + f_499_; - float f_511_ = (float) (i_478_ & 0xff) - f_501_ * f_473_ + f_501_; - if (f < f_469_) { - f_472_ = f_473_; - if (f_470_ < 0.0F) { - f_472_ -= f_491_ * f_470_; - f_473_ -= f_493_ * f_470_; - f_476_ -= f_496_ * f_470_; - f_509_ -= f_498_ * f_470_; - f_510_ -= f_500_ * f_470_; - f_511_ -= f_502_ * f_470_; - f_470_ = 0.0F; - } - if (f < 0.0F) { - f_471_ -= f_492_ * f; - f = 0.0F; - } - if (f_491_ < f_493_) { - f_469_ -= f; - f -= f_470_; - f_470_ = (float) (this.anIntArray1676[(int) f_470_]); - while (--f >= 0.0F) { - method1021(anIntArray1673, aFloatArray1677, (int) f_470_, 0, 0, (int) f_472_, (int) f_473_, f_476_, f_495_, f_509_, f_497_, f_510_, f_499_, f_511_, f_501_); - f_472_ += f_491_; - f_473_ += f_493_; - f_476_ += f_496_; - f_509_ += f_498_; - f_510_ += f_500_; - f_511_ += f_502_; - f_470_ += (float) anInt1678; - } - while (--f_469_ >= 0.0F) { - method1021(anIntArray1673, aFloatArray1677, (int) f_470_, 0, 0, (int) f_472_, (int) f_471_, f_476_, f_495_, f_509_, f_497_, f_510_, f_499_, f_511_, f_501_); - f_472_ += f_491_; - f_471_ += f_492_; - f_476_ += f_496_; - f_509_ += f_498_; - f_510_ += f_500_; - f_511_ += f_502_; - f_470_ += (float) anInt1678; - } - } else { - f_469_ -= f; - f -= f_470_; - f_470_ = (float) (this.anIntArray1676[(int) f_470_]); - while (--f >= 0.0F) { - method1021(anIntArray1673, aFloatArray1677, (int) f_470_, 0, 0, (int) f_473_, (int) f_472_, f_476_, f_495_, f_509_, f_497_, f_510_, f_499_, f_511_, f_501_); - f_472_ += f_491_; - f_473_ += f_493_; - f_476_ += f_496_; - f_509_ += f_498_; - f_510_ += f_500_; - f_511_ += f_502_; - f_470_ += (float) anInt1678; - } - while (--f_469_ >= 0.0F) { - method1021(anIntArray1673, aFloatArray1677, (int) f_470_, 0, 0, (int) f_471_, (int) f_472_, f_476_, f_495_, f_509_, f_497_, f_510_, f_499_, f_511_, f_501_); - f_472_ += f_491_; - f_471_ += f_492_; - f_476_ += f_496_; - f_509_ += f_498_; - f_510_ += f_500_; - f_511_ += f_502_; - f_470_ += (float) anInt1678; - } - } - } else { - f_471_ = f_473_; - if (f_470_ < 0.0F) { - f_471_ -= f_491_ * f_470_; - f_473_ -= f_493_ * f_470_; - f_476_ -= f_496_ * f_470_; - f_509_ -= f_498_ * f_470_; - f_510_ -= f_500_ * f_470_; - f_511_ -= f_502_ * f_470_; - f_470_ = 0.0F; - } - if (f_469_ < 0.0F) { - f_472_ -= f_492_ * f_469_; - f_469_ = 0.0F; - } - if (f_491_ < f_493_) { - f -= f_469_; - f_469_ -= f_470_; - f_470_ = (float) (this.anIntArray1676[(int) f_470_]); - while (--f_469_ >= 0.0F) { - method1021(anIntArray1673, aFloatArray1677, (int) f_470_, 0, 0, (int) f_471_, (int) f_473_, f_476_, f_495_, f_509_, f_497_, f_510_, f_499_, f_511_, f_501_); - f_471_ += f_491_; - f_473_ += f_493_; - f_476_ += f_496_; - f_509_ += f_498_; - f_510_ += f_500_; - f_511_ += f_502_; - f_470_ += (float) anInt1678; - } - while (--f >= 0.0F) { - method1021(anIntArray1673, aFloatArray1677, (int) f_470_, 0, 0, (int) f_472_, (int) f_473_, f_476_, f_495_, f_509_, f_497_, f_510_, f_499_, f_511_, f_501_); - f_472_ += f_492_; - f_473_ += f_493_; - f_476_ += f_496_; - f_509_ += f_498_; - f_510_ += f_500_; - f_511_ += f_502_; - f_470_ += (float) anInt1678; - } - } else { - f -= f_469_; - f_469_ -= f_470_; - f_470_ = (float) (this.anIntArray1676[(int) f_470_]); - while (--f_469_ >= 0.0F) { - method1021(anIntArray1673, aFloatArray1677, (int) f_470_, 0, 0, (int) f_473_, (int) f_471_, f_476_, f_495_, f_509_, f_497_, f_510_, f_499_, f_511_, f_501_); - f_471_ += f_491_; - f_473_ += f_493_; - f_476_ += f_496_; - f_509_ += f_498_; - f_510_ += f_500_; - f_511_ += f_502_; - f_470_ += (float) anInt1678; - } - while (--f >= 0.0F) { - method1021(anIntArray1673, aFloatArray1677, (int) f_470_, 0, 0, (int) f_473_, (int) f_472_, f_476_, f_495_, f_509_, f_497_, f_510_, f_499_, f_511_, f_501_); - f_472_ += f_492_; - f_473_ += f_493_; - f_476_ += f_496_; - f_509_ += f_498_; - f_510_ += f_500_; - f_511_ += f_502_; - f_470_ += (float) anInt1678; - } - } - } - } - } - } - } - - final int method1028() { - return this.anIntArray1676[0] % anInt1678; - } - - Class109(ha_Sub1 var_ha_Sub1, Class167 class167) { - this.aBoolean1669 = true; - this.aBoolean1671 = false; - aBoolean1680 = false; - aFloat1682 = 0.0F; - anIntArray1685 = null; - anInt1687 = -1; - aFloat1684 = 0.0F; - anInt1693 = 0; - anInt1691 = 0; - anIntArray1692 = null; - anInt1689 = -1; - anInt1683 = 0; - aFloat1681 = 0.0F; - aBoolean1694 = true; - anInt1688 = 0; - anInt1695 = 0; - anInt1686 = 0; - anInt1690 = 0; - anInt1697 = -1; - anIntArray1698 = null; - aHa_Sub1_1666 = var_ha_Sub1; - aClass167_1670 = class167; - anInt1678 = aHa_Sub1_1666.anInt7477; - anIntArray1673 = aHa_Sub1_1666.anIntArray7483; - aFloatArray1677 = aHa_Sub1_1666.aFloatArray7511; - } -} diff --git a/client/src/Class11.java b/client/src/Class11.java deleted file mode 100644 index 5e89bcdf4..000000000 --- a/client/src/Class11.java +++ /dev/null @@ -1,24 +0,0 @@ -/* Class11 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class11 { - static int anInt193 = 0; - static int anInt194; - static int anInt195; - static Class231 aClass231_196; - static int anInt197 = 0; - - public static void method221(int i) { - if (i != 0) anInt197 = -100; - aClass231_196 = null; - } - - static final void method222(Player player, int i, byte i_0_, int i_1_) { - anInt195++; - if (i_0_ != 4) anInt194 = -100; - int[] is = new int[4]; - Class214.method1579(is, 0, is.length, i); - Class239_Sub16.method1791(23946, is, i_1_, player); - } -} diff --git a/client/src/Class110.java b/client/src/Class110.java deleted file mode 100644 index 6d6bf890f..000000000 --- a/client/src/Class110.java +++ /dev/null @@ -1,158 +0,0 @@ -/* Class110 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; -import java.lang.reflect.Field; - -abstract class Class110 { - static int anInt1699; - static short aShort1700 = 256; - static int anInt1701; - static Class114 aClass114_1702; - static int anInt1703; - int anInt1704; - static int anInt1705; - static Class105 aClass105_1706; - static int anInt1707; - int anInt1708; - static int anInt1709; - static int anInt1710; - int anInt1711; - static boolean aBoolean1712 = false; - /*synthetic*/ static Class aClass1713; - /*synthetic*/ static Class aClass1714; - - final boolean method1029(boolean bool) { - anInt1707++; - if (bool != true) aBoolean1712 = false; - return (this.anInt1708 & 0x1) != 0; - } - - public static void method1030(int i) { - aClass114_1702 = null; - aClass105_1706 = null; - if (i > -19) method1034(-89, null, null, -72); - } - - final boolean method1031(int i) { - int i_0_ = 101 / ((54 - i) / 47); - anInt1699++; - return (0x4 & this.anInt1708) != 0; - } - - static final int method1032(int i) { - anInt1701++; - int i_1_ = 0; - if (i != -1) method1034(117, null, null, 29); - Field[] fields = (aClass1713 != null ? aClass1713 : (aClass1713 = Class348_Sub51.class)).getDeclaredFields(); - Field[] fields_2_ = fields; - for (int i_3_ = 0; fields_2_.length > i_3_; i_3_++) { - Field field = fields_2_[i_3_]; - if ((aClass1714 != null ? aClass1714 : (aClass1714 = Class239.class)).isAssignableFrom(field.getType())) i_1_++; - } - return i_1_ - -1; - } - - final boolean method1033(int i) { - anInt1703++; - int i_4_ = -62 % ((i - -5) / 47); - return (0x8 & this.anInt1708) != 0; - } - - static final void method1034(int i, Class348_Sub49 class348_sub49, Class297 class297, int i_5_) { - try { - anInt1710++; - Class348_Sub48 class348_sub48 = new Class348_Sub48(); - class348_sub48.anInt7126 = class348_sub49.readUnsignedByte(255); - class348_sub48.anInt7130 = class348_sub49.readInt((byte) -126); - class348_sub48.anIntArray7132 = new int[class348_sub48.anInt7126]; - class348_sub48.aByteArrayArrayArray7128 = new byte[class348_sub48.anInt7126][][]; - class348_sub48.aClass144Array7127 = new Class144[class348_sub48.anInt7126]; - if (i_5_ > 90) { - class348_sub48.aClass144Array7135 = (new Class144 - [class348_sub48.anInt7126]); - class348_sub48.anIntArray7131 = new int[class348_sub48.anInt7126]; - class348_sub48.anIntArray7136 = new int[class348_sub48.anInt7126]; - for (int i_6_ = 0; i_6_ < class348_sub48.anInt7126; i_6_++) { - try { - int i_7_ = class348_sub49.readUnsignedByte(255); - if (i_7_ != 0 && i_7_ != 1 && i_7_ != 2) { - if (i_7_ == 3 || i_7_ == 4) { - String string = class348_sub49.readString((byte) 89); - String string_8_ = class348_sub49.readString((byte) -81); - int i_9_ = class348_sub49.readUnsignedByte(255); - String[] strings = new String[i_9_]; - for (int i_10_ = 0; i_9_ > i_10_; i_10_++) - strings[i_10_] = class348_sub49.readString((byte) -23); - byte[][] is = new byte[i_9_][]; - if (i_7_ == 3) { - for (int i_11_ = 0; i_11_ < i_9_; i_11_++) { - int i_12_ = class348_sub49.readInt((byte) -126); - is[i_11_] = new byte[i_12_]; - class348_sub49.method3389(2147483647, 0, i_12_, is[i_11_]); - } - } - class348_sub48.anIntArray7132[i_6_] = i_7_; - Class[] var_classes = new Class[i_9_]; - for (int i_13_ = 0; (i_13_ < i_9_); i_13_++) - var_classes[i_13_] = (Class348_Sub40_Sub1.method3052(11012, strings[i_13_])); - class348_sub48.aClass144Array7127[i_6_] = (class297.method2230(var_classes, 76, Class348_Sub40_Sub1.method3052(11012, string), string_8_)); - class348_sub48.aByteArrayArrayArray7128[i_6_] = is; - } - } else { - String string = class348_sub49.readString((byte) 103); - String string_14_ = class348_sub49.readString((byte) 109); - int i_15_ = 0; - if (i_7_ == 1) i_15_ = class348_sub49.readInt((byte) -126); - class348_sub48.anIntArray7132[i_6_] = i_7_; - class348_sub48.anIntArray7136[i_6_] = i_15_; - class348_sub48.aClass144Array7135[i_6_] = (class297.method2243(0, string_14_, Class348_Sub40_Sub1.method3052(11012, string))); - } - } catch (ClassNotFoundException classnotfoundexception) { - class348_sub48.anIntArray7131[i_6_] = -1; - } catch (SecurityException securityexception) { - class348_sub48.anIntArray7131[i_6_] = -2; - } catch (NullPointerException nullpointerexception) { - class348_sub48.anIntArray7131[i_6_] = -3; - } catch (Exception exception) { - class348_sub48.anIntArray7131[i_6_] = -4; - } catch (Throwable throwable) { - class348_sub48.anIntArray7131[i_6_] = -5; - } - } - Class348_Sub35.aClass262_6978.method1999(class348_sub48, -20180); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("mr.E(" + i + ',' + (class348_sub49 != null ? "{...}" : "null") + ',' + (class297 != null ? "{...}" : "null") + ',' + i_5_ + ')')); - } - } - - static final Class348_Sub31 method1035(int i, int i_16_, Canvas canvas, int i_17_) { - anInt1705++; - if (i != 9029) return null; - try { - Class348_Sub31 class348_sub31 = new Class348_Sub31_Sub1(); - class348_sub31.method3008(canvas, i_17_, -90, i_16_); - return class348_sub31; - } catch (Throwable throwable) { - Class348_Sub31_Sub2 class348_sub31_sub2 = new Class348_Sub31_Sub2(); - class348_sub31_sub2.method3008(canvas, i_17_, -128, i_16_); - return class348_sub31_sub2; - } - } - - final boolean method1036(byte i) { - anInt1709++; - if (i != -35) method1034(11, null, null, -12); - return (this.anInt1708 & 0x2) != 0; - } - - public Class110() { - /* empty */ - } - - static { - aClass114_1702 = new Class114(24, 6); - } -} diff --git a/client/src/Class110_Sub1.java b/client/src/Class110_Sub1.java deleted file mode 100644 index 7406b9015..000000000 --- a/client/src/Class110_Sub1.java +++ /dev/null @@ -1,93 +0,0 @@ -/* Class110_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class110_Sub1 extends Class110 { - int anInt5786; - String aString5787; - int anInt5788 = -1; - static int anInt5789; - static int anInt5790; - static float[] aFloatArray5791 = new float[4]; - static int anInt5792; - static int anInt5793; - String aString5794; - - final Class283 method1038(boolean bool) { - if (bool != false) method1040(-125); - anInt5789++; - return Class373_Sub2.aClass283Array7446[this.anInt1711]; - } - - static final String method1039(String string, boolean bool) { - anInt5793++; - StringBuffer stringbuffer = new StringBuffer(); - int i = string.length(); - if (bool != true) aFloatArray5791 = null; - for (int i_0_ = 0; i > i_0_; i_0_++) { - char c = string.charAt(i_0_); - if (c == 37 && i > 2 + i_0_) { - int i_1_ = string.charAt(i_0_ + 1); - boolean bool_2_ = false; - int i_3_; - if (i_1_ < 48 || i_1_ > 57) { - if (i_1_ < 97 || i_1_ > 102) { - if (i_1_ >= 65 && i_1_ <= 70) i_3_ = -55 + i_1_; - else { - stringbuffer.append('%'); - continue; - } - } else i_3_ = -97 + (10 + i_1_); - } else i_3_ = i_1_ - 48; - i_1_ = string.charAt(i_0_ + 2); - i_3_ *= 16; - if (i_1_ >= 48 && i_1_ <= 57) i_3_ += i_1_ - 48; - else if (i_1_ < 97 || i_1_ > 102) { - if (i_1_ >= 65 && i_1_ <= 70) i_3_ += -65 + (10 + i_1_); - else { - stringbuffer.append('%'); - continue; - } - } else i_3_ += 10 + (i_1_ - 97); - if (i_3_ != 0 && Class239_Sub3.method1732((byte) i_3_, -129)) stringbuffer.append(Class50_Sub1.method462((byte) i_3_, -128)); - i_0_ += 2; - } else if (c != 43) stringbuffer.append(c); - else stringbuffer.append(' '); - } - return stringbuffer.toString(); - } - - public static void method1040(int i) { - if (i == 512) aFloatArray5791 = null; - } - - static final void method1041(int i, Class318_Sub1_Sub3_Sub3 class318_sub1_sub3_sub3) { - anInt5790++; - boolean bool = false; - if ((Class367_Sub11.anInt7396 != class318_sub1_sub3_sub3.anInt10300) && class318_sub1_sub3_sub3.anInt10286 != -1 && class318_sub1_sub3_sub3.anInt10218 == 0) { - Class17 class17 = Class10.aClass87_191.method835((class318_sub1_sub3_sub3.anInt10286), i + 8); - if (class17.aBoolean241 || ((class17.anIntArray267[(class318_sub1_sub3_sub3.anInt10267)]) < 1 + (class318_sub1_sub3_sub3.anInt10232))) bool = true; - } else bool = true; - if (bool) { - int i_4_ = ((class318_sub1_sub3_sub3.anInt10300) + -(class318_sub1_sub3_sub3.anInt10239)); - int i_5_ = (Class367_Sub11.anInt7396 + -(class318_sub1_sub3_sub3.anInt10239)); - int i_6_ = ((class318_sub1_sub3_sub3.anInt10293) * 512 + 256 * class318_sub1_sub3_sub3.method2436((byte) 90)); - int i_7_ = (512 * (class318_sub1_sub3_sub3.anInt10314) - -(class318_sub1_sub3_sub3.method2436((byte) 44) * 256)); - int i_8_ = (512 * (class318_sub1_sub3_sub3.anInt10241) + 256 * class318_sub1_sub3_sub3.method2436((byte) 98)); - int i_9_ = ((class318_sub1_sub3_sub3.anInt10288) * 512 - -(class318_sub1_sub3_sub3.method2436((byte) 76) * 256)); - class318_sub1_sub3_sub3.x = (i_8_ * i_5_ + (i_4_ - i_5_) * i_6_) / i_4_; - class318_sub1_sub3_sub3.y = (i_7_ * (-i_5_ + i_4_) - -(i_5_ * i_9_)) / i_4_; - } - class318_sub1_sub3_sub3.anInt10326 = 0; - if ((~class318_sub1_sub3_sub3.anInt10231) == i) class318_sub1_sub3_sub3.method2435((byte) -108, 8192, false); - if (class318_sub1_sub3_sub3.anInt10231 == 1) class318_sub1_sub3_sub3.method2435((byte) -108, 12288, false); - if (class318_sub1_sub3_sub3.anInt10231 == 2) class318_sub1_sub3_sub3.method2435((byte) -108, 0, false); - if (class318_sub1_sub3_sub3.anInt10231 == 3) class318_sub1_sub3_sub3.method2435((byte) -108, 4096, false); - } - - static final void method1042(byte i) { - anInt5792++; - Class177.anInt4666 = Class86.anInt1482 = Class227.anInt2968 = za_Sub1.anInt9776 = 0; - int i_10_ = 58 % ((i - -66) / 39); - } -} diff --git a/client/src/Class111.java b/client/src/Class111.java deleted file mode 100644 index 854cc73e0..000000000 --- a/client/src/Class111.java +++ /dev/null @@ -1,153 +0,0 @@ -/* Class111 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.util.Random; - -final class Class111 { - private final int anInt1715; - static int anInt1716; - static int anInt1717; - private final Class45 aClass45_1718; - static int anInt1719; - static int anInt1720 = -1; - static int anInt1721; - static Class114 aClass114_1722 = new Class114(8, -2); - static int anInt1723; - private int[][] anIntArrayArray1724; - private final boolean[] aBooleanArray1725; - - final Class287 method1043(int i, byte i_0_) { - anInt1721++; - byte[] is = aClass45_1718.method410(-1860, 1, i); - if (i_0_ < 12) return null; - Class287 class287 = new Class287(); - class287.method2183(new Class348_Sub49(is), 21890); - return class287; - } - - final boolean method1044(int i) { - if (i < 15) anIntArrayArray1724 = null; - anInt1717++; - return anInt1715 != -1; - } - - static final int method1045(int i, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, byte i_6_) { - i_5_ &= 0x3; - anInt1716++; - if ((i_2_ & 0x1) == 1) { - int i_7_ = i_3_; - i_3_ = i_1_; - i_1_ = i_7_; - } - if (i_5_ == 0) return i_4_; - if (i_6_ != 16) return -78; - if (i_5_ == 1) return 7 + -i - i_3_ - -1; - if (i_5_ == 2) return -i_4_ + 7 - -1 - i_1_; - return i; - } - - final int[] method1046(int i, int i_8_) { - anInt1719++; - if (i < 0 || anIntArrayArray1724.length <= i) { - if (anInt1715 == -1) return new int[0]; - return new int[]{anInt1715}; - } - if (!aBooleanArray1725[i] || anIntArrayArray1724[i].length <= 1) return anIntArrayArray1724[i]; - int i_9_ = i_8_ == (~anInt1715) ? 0 : 1; - Random random = new Random(); - int[] is = new int[anIntArrayArray1724[i].length]; - Class214.method1578(anIntArrayArray1724[i], 0, is, 0, is.length); - for (int i_10_ = i_9_; is.length > i_10_; i_10_++) { - int i_11_ = i_9_ + Class124.method1097((byte) 80, is.length - i_9_, random); - int i_12_ = is[i_10_]; - is[i_10_] = is[i_11_]; - is[i_11_] = i_12_; - } - return is; - } - - public static void method1047(int i) { - if (i != 1) anInt1720 = 93; - aClass114_1722 = null; - } - - static final void method1048(Class46 class46, int i) { - anInt1723++; - int i_13_ = 113 % ((-25 - i) / 59); - Class46 class46_14_ = Class237.method1687(class46, 3); - int i_15_; - int i_16_; - if (class46_14_ == null) { - i_15_ = Class348_Sub42_Sub8_Sub2.anInt10432; - i_16_ = Class321.anInt4017; - } else { - i_15_ = class46_14_.anInt789; - i_16_ = class46_14_.anInt709; - } - Class239_Sub28.method1843(i_16_, -326, class46, false, i_15_); - Class14_Sub1.method239((byte) -114, i_16_, i_15_, class46); - } - - Class111(Class230 class230, int i, Class45 class45) { - try { - aClass45_1718 = class45; - aClass45_1718.method407(0, 1); - Class348_Sub49 class348_sub49 = new Class348_Sub49(aClass45_1718.method410(-1860, 0, 0)); - int i_17_ = class348_sub49.readUnsignedByte(255); - if (i_17_ > 3) { - anIntArrayArray1724 = new int[0][]; - aBooleanArray1725 = new boolean[0]; - anInt1715 = -1; - } else { - int i_18_ = class348_sub49.readUnsignedByte(255); - Class223[] class223s = Class19.method285(-122); - boolean bool = true; - if (class223s.length == i_18_) { - for (int i_19_ = 0; (class223s.length > i_19_); i_19_++) { - int i_20_ = class348_sub49.readUnsignedByte(255); - if (i_20_ != class223s[i_19_].anInt2896) { - bool = false; - break; - } - } - } else bool = false; - if (bool) { - int i_21_ = class348_sub49.readUnsignedByte(255); - int i_22_ = class348_sub49.readUnsignedByte(255); - if (i_17_ > 2) anInt1715 = class348_sub49.readShort(13638); - else anInt1715 = -1; - anIntArrayArray1724 = new int[i_22_ - -1][]; - aBooleanArray1725 = new boolean[i_22_ + 1]; - for (int i_23_ = 0; i_21_ > i_23_; i_23_++) { - int i_24_ = class348_sub49.readUnsignedByte(255); - aBooleanArray1725[i_24_] = class348_sub49.readUnsignedByte(255) == 1; - int i_25_ = class348_sub49.readUnsignedShort(842397944); - if (anInt1715 == -1) { - anIntArrayArray1724[i_24_] = new int[i_25_]; - for (int i_26_ = 0; i_25_ > i_26_; i_26_++) - anIntArrayArray1724[i_24_][i_26_] = class348_sub49.readUnsignedShort(842397944); - } else { - anIntArrayArray1724[i_24_] = new int[1 + i_25_]; - anIntArrayArray1724[i_24_][0] = anInt1715; - for (int i_27_ = 0; i_25_ > i_27_; i_27_++) - anIntArrayArray1724[i_24_][1 + i_27_] = class348_sub49.readUnsignedShort(842397944); - } - } - for (int i_28_ = 0; i_22_ + 1 > i_28_; i_28_++) { - if (anIntArrayArray1724[i_28_] == null) { - if (anInt1715 != -1) anIntArrayArray1724[i_28_] = new int[]{anInt1715}; - else anIntArrayArray1724[i_28_] = new int[0]; - } - } - } else { - aBooleanArray1725 = new boolean[0]; - anIntArrayArray1724 = new int[0][]; - anInt1715 = -1; - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("mt.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class112.java b/client/src/Class112.java deleted file mode 100644 index 61588b4f9..000000000 --- a/client/src/Class112.java +++ /dev/null @@ -1,199 +0,0 @@ -/* Class112 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class112 implements Runnable { - static int anInt1726; - static Class207 aClass207_1727; - static int anInt1728; - static int anInt1729; - private final Class107 aClass107_1730 = new Class107(); - static int anInt1731; - static int anInt1732; - private Thread aThread1733; - int anInt1734; - static int anInt1735; - static int anInt1736; - static int anInt1737; - private boolean aBoolean1738 = false; - - final Class348_Sub42_Sub16_Sub2 method1049(byte[] is, Class137 class137, byte i, int i_0_) { - try { - if (i != 10) aBoolean1738 = false; - anInt1732++; - Class348_Sub42_Sub16_Sub2 class348_sub42_sub16_sub2 = new Class348_Sub42_Sub16_Sub2(); - class348_sub42_sub16_sub2.aByteArray10461 = is; - class348_sub42_sub16_sub2.aBoolean9663 = false; - class348_sub42_sub16_sub2.aClass137_10458 = class137; - class348_sub42_sub16_sub2.aLong7057 = i_0_; - class348_sub42_sub16_sub2.anInt10457 = 2; - method1050(class348_sub42_sub16_sub2, i + -123); - return class348_sub42_sub16_sub2; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("aca.G(" + (is != null ? "{...}" : "null") + ',' + (class137 != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ')')); - } - } - - private final void method1050(Class348_Sub42_Sub16_Sub2 class348_sub42_sub16_sub2, int i) { - anInt1735++; - synchronized (aClass107_1730) { - aClass107_1730.method1005(true, class348_sub42_sub16_sub2); - this.anInt1734++; - if (i > -100) aClass207_1727 = null; - aClass107_1730.notifyAll(); - } - } - - final void method1051(boolean bool) { - aBoolean1738 = bool; - anInt1731++; - synchronized (aClass107_1730) { - aClass107_1730.notifyAll(); - } - try { - aThread1733.join(); - } catch (InterruptedException interruptedexception) { - /* empty */ - } - aThread1733 = null; - } - - public static void method1052(byte i) { - aClass207_1727 = null; - int i_1_ = 107 % ((i - -20) / 50); - } - - static final int method1053(int i) { - anInt1728++; - if (i != 3112) method1052((byte) 121); - if (Class289.aClass46_3701 == null) { - if (!Class5_Sub1.aBoolean8335 && Class316.aClass348_Sub42_Sub12_3963 != null) return (Class316.aClass348_Sub42_Sub12_3963.anInt9609); - int i_2_ = Class258_Sub4.aClass373_8552.method3597(true); - int i_3_ = Class258_Sub4.aClass373_8552.method3594((byte) 81); - if (Class348_Sub42_Sub6.aBoolean9535) { - if (i_2_ > Class135_Sub1.anInt4717 && i_2_ < Class63.anInt1117 + Class135_Sub1.anInt4717) { - int i_9_ = -1; - for (int i_10_ = 0; Class8.anInt166 > i_10_; i_10_++) { - if (Class71.aBoolean1211) { - int i_11_ = (Class348_Sub42_Sub5.anInt9532 - -33 - -(i_10_ * 16)); - if (i_3_ > -13 + i_11_ && i_3_ <= i_11_ + 3) i_9_ = i_10_; - } else { - int i_12_ = (i_10_ * 16 + 31 + Class348_Sub42_Sub5.anInt9532); - if (i_3_ > -13 + i_12_ && i_3_ <= i_12_ + 3) i_9_ = i_10_; - } - } - if (i_9_ != -1) { - int i_13_ = 0; - Class156 class156 = new Class156(Class233.aClass107_3022); - for (Class348_Sub42_Sub13 class348_sub42_sub13 = ((Class348_Sub42_Sub13) class156.method1240(110)); class348_sub42_sub13 != null; class348_sub42_sub13 = ((Class348_Sub42_Sub13) class156.method1243((byte) 77))) { - if (i_9_ == i_13_++) return ((Class348_Sub42_Sub12) class348_sub42_sub13.aClass107_9621.aClass348_Sub42_1647.aClass348_Sub42_7063).anInt9609; - } - } - } else if (Class242.aClass348_Sub42_Sub13_3152 != null && Class50_Sub3.anInt5252 < i_2_ && (Class348_Sub1_Sub1.anInt8806 + Class50_Sub3.anInt5252) > i_2_) { - int i_4_ = -1; - for (int i_5_ = 0; ((Class242.aClass348_Sub42_Sub13_3152.anInt9615) > i_5_); i_5_++) { - if (Class71.aBoolean1211) { - int i_7_ = Class373.anInt4534 + (33 + 16 * i_5_); - if (-13 + i_7_ < i_3_ && 3 + i_7_ >= i_3_) i_4_ = i_5_; - } else { - int i_6_ = i_5_ * 16 + 31 + Class373.anInt4534; - if (-13 + i_6_ < i_3_ && i_6_ - -3 >= i_3_) i_4_ = i_5_; - } - } - if (i_4_ != -1) { - int i_8_ = 0; - Class156 class156 = new Class156(Class242.aClass348_Sub42_Sub13_3152.aClass107_9621); - for (Class348_Sub42_Sub12 class348_sub42_sub12 = ((Class348_Sub42_Sub12) class156.method1240(9)); class348_sub42_sub12 != null; class348_sub42_sub12 = ((Class348_Sub42_Sub12) class156.method1243((byte) 90))) { - if (i_8_++ == i_4_) return (class348_sub42_sub12.anInt9609); - } - } - } - } else if (i_2_ > Class135_Sub1.anInt4717 && (i_2_ < Class135_Sub1.anInt4717 - -Class63.anInt1117)) { - int i_14_ = -1; - for (int i_15_ = 0; Class73.anInt4776 > i_15_; i_15_++) { - if (Class71.aBoolean1211) { - int i_17_ = ((-i_15_ + (-1 + Class73.anInt4776)) * 16 + Class348_Sub42_Sub5.anInt9532 + 33); - if (i_3_ > i_17_ - 13 && i_17_ + 3 >= i_3_) i_14_ = i_15_; - } else { - int i_16_ = 31 + (Class348_Sub42_Sub5.anInt9532 + (-i_15_ + (Class73.anInt4776 - 1)) * 16); - if (-13 + i_16_ < i_3_ && i_16_ + 3 >= i_3_) i_14_ = i_15_; - } - } - if (i_14_ != -1) { - int i_18_ = 0; - Class312 class312 = new Class312(Class348_Sub40_Sub4.aClass262_9111); - for (Class348_Sub42_Sub12 class348_sub42_sub12 = ((Class348_Sub42_Sub12) class312.method2327((byte) -53)); class348_sub42_sub12 != null; class348_sub42_sub12 = ((Class348_Sub42_Sub12) class312.method2329(i + -3102))) { - if (i_14_ == i_18_++) return (class348_sub42_sub12.anInt9609); - } - } - } - } - return -1; - } - - final Class348_Sub42_Sub16_Sub2 method1054(Class137 class137, int i, byte i_19_) { - anInt1729++; - Class348_Sub42_Sub16_Sub2 class348_sub42_sub16_sub2 = new Class348_Sub42_Sub16_Sub2(); - if (i_19_ != -112) return null; - class348_sub42_sub16_sub2.aBoolean9663 = false; - class348_sub42_sub16_sub2.anInt10457 = 3; - class348_sub42_sub16_sub2.aLong7057 = i; - class348_sub42_sub16_sub2.aClass137_10458 = class137; - method1050(class348_sub42_sub16_sub2, -101); - return class348_sub42_sub16_sub2; - } - - public final void run() { - while (!aBoolean1738) { - Class348_Sub42_Sub16_Sub2 class348_sub42_sub16_sub2; - synchronized (aClass107_1730) { - class348_sub42_sub16_sub2 = ((Class348_Sub42_Sub16_Sub2) aClass107_1730.method1008(20)); - if (class348_sub42_sub16_sub2 == null) { - try { - aClass107_1730.wait(); - } catch (InterruptedException interruptedexception) { - /* empty */ - } - continue; - } else this.anInt1734--; - } - try { - if ((class348_sub42_sub16_sub2.anInt10457) != 2) { - if (class348_sub42_sub16_sub2.anInt10457 == 3) class348_sub42_sub16_sub2.aByteArray10461 = (class348_sub42_sub16_sub2.aClass137_10458.method1161((byte) -4, (int) class348_sub42_sub16_sub2.aLong7057)); - } else class348_sub42_sub16_sub2.aClass137_10458.method1160(class348_sub42_sub16_sub2.aByteArray10461.length, (int) (class348_sub42_sub16_sub2.aLong7057), class348_sub42_sub16_sub2.aByteArray10461, -7305); - } catch (Exception exception) { - Class156.method1242(null, exception, 15004); - } - class348_sub42_sub16_sub2.aBoolean9664 = false; - } - anInt1736++; - } - - final Class348_Sub42_Sub16_Sub2 method1055(Class137 class137, int i, byte i_20_) { - if (i_20_ >= -98) method1052((byte) 110); - anInt1737++; - Class348_Sub42_Sub16_Sub2 class348_sub42_sub16_sub2 = new Class348_Sub42_Sub16_Sub2(); - class348_sub42_sub16_sub2.anInt10457 = 1; - synchronized (aClass107_1730) { - for (Class348_Sub42_Sub16_Sub2 class348_sub42_sub16_sub2_21_ = ((Class348_Sub42_Sub16_Sub2) aClass107_1730.method1011(-95)); class348_sub42_sub16_sub2_21_ != null; class348_sub42_sub16_sub2_21_ = ((Class348_Sub42_Sub16_Sub2) aClass107_1730.method1003((byte) 73))) { - if ((class348_sub42_sub16_sub2_21_.aLong7057 == (long) i) && (class348_sub42_sub16_sub2_21_.aClass137_10458 == class137) && class348_sub42_sub16_sub2_21_.anInt10457 == 2) { - class348_sub42_sub16_sub2.aByteArray10461 = class348_sub42_sub16_sub2_21_.aByteArray10461; - class348_sub42_sub16_sub2.aBoolean9664 = false; - return class348_sub42_sub16_sub2; - } - } - } - class348_sub42_sub16_sub2.aByteArray10461 = class137.method1161((byte) -4, i); - class348_sub42_sub16_sub2.aBoolean9663 = true; - class348_sub42_sub16_sub2.aBoolean9664 = false; - return class348_sub42_sub16_sub2; - } - - Class112(Class297 class297) { - this.anInt1734 = 0; - Class144 class144 = class297.method2236(this, -10240, 5); - while (class144.anInt1997 == 0) Class286_Sub5.method2161((byte) 43, 10L); - if (class144.anInt1997 == 2) throw new RuntimeException(); - aThread1733 = (Thread) class144.anObject1998; - } -} diff --git a/client/src/Class113.java b/client/src/Class113.java deleted file mode 100644 index 57651a864..000000000 --- a/client/src/Class113.java +++ /dev/null @@ -1,39 +0,0 @@ -/* Class113 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class113 { - static long aLong1739 = 0L; - static int anInt1740; - static int anInt1741; - static int anInt1742; - static Class45 aClass45_1743; - static Class105[] aClass105Array1744; - static int anInt1745 = 100; - - public Class113() { - /* empty */ - } - - public final String toString() { - anInt1741++; - throw new IllegalStateException(); - } - - static final int method1056(int i, int i_0_, char c) { - if (i_0_ != 30316) return 27; - anInt1740++; - int i_1_ = c << 4; - if (Character.isUpperCase(c) || Character.isTitleCase(c)) { - int i_2_ = Character.toLowerCase(c); - i_1_ = 1 + (i_2_ << 4); - } - return i_1_; - } - - public static void method1057(boolean bool) { - aClass45_1743 = null; - aClass105Array1744 = null; - if (bool != true) method1056(110, -57, '\uffd1'); - } -} diff --git a/client/src/Class114.java b/client/src/Class114.java deleted file mode 100644 index 79111dac4..000000000 --- a/client/src/Class114.java +++ /dev/null @@ -1,34 +0,0 @@ -/* Class114 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class114 { - static int anInt1746; - private int anInt1747; - static int anInt1748; - int anInt1749; - static int anInt1750; - - final int method1058(byte i) { - if (i <= 108) anInt1747 = 110; - anInt1746++; - return anInt1747; - } - - public final String toString() { - anInt1750++; - throw new IllegalStateException(); - } - - Class114(int i, int i_0_) { - this.anInt1749 = i_0_; - anInt1747 = i; - } - - static final Class179 method1059(byte i, int i_1_) { - anInt1748++; - if (i != 95) method1059((byte) 120, -75); - Class179 class179 = new Class179(i_1_, false); - return class179; - } -} diff --git a/client/src/Class115.java b/client/src/Class115.java deleted file mode 100644 index 9a8098031..000000000 --- a/client/src/Class115.java +++ /dev/null @@ -1,27 +0,0 @@ -/* Class115 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class115 { - static boolean[][][] aBooleanArrayArrayArray1751; - static Class348_Sub1[] aClass348_Sub1Array1752 = new Class348_Sub1[8]; - static int anInt1753; - static Class318_Sub1[] aClass318_Sub1Array1754; - static int anInt1755; - static int anInt1756; - static int[] anIntArray1757 = {16776960, 16711680, 65280, 65535, 16711935, 16777215}; - - static final int method1060(int i, byte i_0_) { - if (i_0_ != 69) aClass348_Sub1Array1752 = null; - anInt1755++; - return i >>> 7; - } - - public static void method1061(int i) { - aBooleanArrayArrayArray1751 = null; - if (i != 16711680) aClass348_Sub1Array1752 = null; - aClass318_Sub1Array1754 = null; - aClass348_Sub1Array1752 = null; - anIntArray1757 = null; - } -} diff --git a/client/src/Class116.java b/client/src/Class116.java deleted file mode 100644 index 74cedd920..000000000 --- a/client/src/Class116.java +++ /dev/null @@ -1,56 +0,0 @@ -/* Class116 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.IOException; - -final class Class116 { - static int anInt1758; - static boolean shiftClick = true; - static int anInt1760; - static String aString1761; - static Class114 aClass114_1762; - - public static void method1062(byte i) { - if (i == 35) { - aClass114_1762 = null; - aString1761 = null; - } - } - - static final void method1063(int i) { - if (i != 1) aString1761 = null; - anInt1760++; - Class234 class234 = null; - try { - Class144 class144 = Class348_Sub23_Sub1.aClass297_8992.method2233((byte) -46, "2", true); - while (class144.anInt1997 == 0) Class286_Sub5.method2161((byte) 63, 1L); - if (class144.anInt1997 == 1) { - class234 = (Class234) class144.anObject1998; - byte[] is = new byte[(int) class234.method1662((byte) -46)]; - int i_0_; - for (int i_1_ = 0; is.length > i_1_; i_1_ += i_0_) { - i_0_ = class234.method1656(is, i_1_, (byte) -12, is.length + -i_1_); - if (i_0_ == -1) throw new IOException("EOF"); - } - Class348_Sub31.method3014(new Class348_Sub49(is), (byte) -40); - } - } catch (Exception exception) { - /* empty */ - } - do { - try { - if (class234 == null) break; - class234.method1657(false); - } catch (Exception exception) { - break; - } - break; - } while (false); - } - - static { - anInt1758 = 0; - aClass114_1762 = new Class114(50, -1); - } -} diff --git a/client/src/Class117.java b/client/src/Class117.java deleted file mode 100644 index 4f9605e59..000000000 --- a/client/src/Class117.java +++ /dev/null @@ -1,132 +0,0 @@ -/* Class117 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class117 { - static int anInt1763; - private int anInt1764; - static int anInt1765; - static Class351 aClass351_1766 = new Class351(74, -1); - Class356 aClass356_1767; - static int anInt1768; - static int anInt1769; - private Class356 aClass356_1770; - static int anInt1771; - static int anInt1772; - static int anInt1773; - private String aString1774 = "null"; - static int anInt1775; - static int anInt1776; - static int anInt1777; - char aChar1778; - char aChar1779; - static int anInt1780 = 0; - - public static void method1064(int i) { - if (i != -3) aClass351_1766 = null; - aClass351_1766 = null; - } - - private final void method1065(Class348_Sub49 class348_sub49, int i, int i_0_) { - if (i_0_ == 1) this.aChar1778 = Class50_Sub1.method462(class348_sub49.readByte(-91), -128); - else if (i_0_ == 2) this.aChar1779 = Class50_Sub1.method462(class348_sub49.readByte(-119), -128); - else if (i_0_ == 3) aString1774 = class348_sub49.readString((byte) 86); - else if (i_0_ == 4) anInt1764 = class348_sub49.readInt((byte) -126); - else if (i_0_ == 5 || i_0_ == 6) { - int i_1_ = class348_sub49.readUnsignedShort(i ^ ~0x3235ab57); - this.aClass356_1767 = new Class356(Class33.method340(i_1_, (byte) 108)); - for (int i_2_ = 0; i_2_ < i_1_; i_2_++) { - int i_3_ = class348_sub49.readInt((byte) -126); - Class348 class348; - if (i_0_ != 5) class348 = new Class348_Sub35(class348_sub49.readInt((byte) -126)); - else class348 = new Class348_Sub50(class348_sub49.readString((byte) -35)); - this.aClass356_1767.method3483((byte) 21, i_3_, class348); - } - } - anInt1765++; - if (i != -21424) method1068((byte) -15); - } - - final boolean method1066(boolean bool, String string) { - anInt1776++; - if (this.aClass356_1767 == null) return false; - if (bool != false) aClass356_1770 = null; - if (aClass356_1770 == null) method1071(true); - for (Class348_Sub46 class348_sub46 = ((Class348_Sub46) aClass356_1770.method3480(Class287.method2179(string, (byte) 109), -6008)); class348_sub46 != null; class348_sub46 = (Class348_Sub46) aClass356_1770.method3476(true)) { - if (class348_sub46.aString7111.equals(string)) return true; - } - return false; - } - - final boolean method1067(boolean bool, int i) { - anInt1773++; - if (this.aClass356_1767 == null) return false; - if (bool != true) return true; - if (aClass356_1770 == null) method1068((byte) 120); - Class348_Sub35 class348_sub35 = (Class348_Sub35) aClass356_1770.method3480(i, -6008); - return class348_sub35 != null; - } - - private final void method1068(byte i) { - anInt1772++; - aClass356_1770 = new Class356(this.aClass356_1767.method3475(true)); - for (Class348_Sub35 class348_sub35 = ((Class348_Sub35) this.aClass356_1767.method3484(0)); class348_sub35 != null; class348_sub35 = (Class348_Sub35) this.aClass356_1767.method3482(0)) { - Class348_Sub35 class348_sub35_4_ = new Class348_Sub35((int) class348_sub35.aLong4291); - aClass356_1770.method3483((byte) 26, class348_sub35.anInt6976, class348_sub35_4_); - } - if (i < 85) method1069(111, null); - } - - final void method1069(int i, Class348_Sub49 class348_sub49) { - anInt1763++; - for (; ; ) { - int i_5_ = class348_sub49.readUnsignedByte(i + 255); - if (i_5_ == 0) break; - method1065(class348_sub49, i + -21424, i_5_); - } - if (i != 0) aString1774 = null; - } - - static final void method1070(byte i, int i_6_) { - if (i < 109) anInt1780 = 10; - anInt1769++; - if (Class348_Sub49_Sub2.anIntArray9757 == null || Class348_Sub49_Sub2.anIntArray9757.length < i_6_) Class348_Sub49_Sub2.anIntArray9757 = new int[i_6_]; - } - - private final void method1071(boolean bool) { - aClass356_1770 = new Class356(this.aClass356_1767.method3475(bool)); - anInt1768++; - for (Class348_Sub50 class348_sub50 = ((Class348_Sub50) this.aClass356_1767.method3484(0)); class348_sub50 != null; class348_sub50 = (Class348_Sub50) this.aClass356_1767.method3482(0)) { - Class348_Sub46 class348_sub46 = new Class348_Sub46((class348_sub50.aString7211), (int) (class348_sub50.aLong4291)); - aClass356_1770.method3483((byte) 102, Class287.method2179((class348_sub50.aString7211), (byte) 120), class348_sub46); - } - } - - static final void method1072(Class45 class45, byte i) { - if (i >= -91) method1070((byte) -93, 92); - Class239_Sub12.aClass45_5964 = class45; - anInt1771++; - } - - final int method1073(boolean bool, int i) { - if (bool != false) method1067(false, -31); - anInt1775++; - if (this.aClass356_1767 == null) return anInt1764; - Class348_Sub35 class348_sub35 = ((Class348_Sub35) this.aClass356_1767.method3480(i, -6008)); - if (class348_sub35 == null) return anInt1764; - return class348_sub35.anInt6976; - } - - public Class117() { - /* empty */ - } - - final String method1074(int i, int i_7_) { - anInt1777++; - if (i_7_ <= 60) return null; - if (this.aClass356_1767 == null) return aString1774; - Class348_Sub50 class348_sub50 = ((Class348_Sub50) this.aClass356_1767.method3480(i, -6008)); - if (class348_sub50 == null) return aString1774; - return class348_sub50.aString7211; - } -} diff --git a/client/src/Class118.java b/client/src/Class118.java deleted file mode 100644 index b06cb4e43..000000000 --- a/client/src/Class118.java +++ /dev/null @@ -1,35 +0,0 @@ -/* Class118 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class118 { - int anInt1781; - int anInt1782; - int anInt1783; - int anInt1784; - short aShort1785; - static int[] anIntArray1786 = null; - short aShort1787; - int anInt1788; - byte aByte1789; - short aShort1790; - boolean aBoolean1791; - - public static void method1075(byte i) { - anIntArray1786 = null; - if (i != 17) anIntArray1786 = null; - } - - Class118(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, boolean bool, boolean bool_8_, int i_9_) { - this.anInt1781 = i_0_; - this.anInt1782 = i_2_; - this.anInt1788 = i_1_; - this.anInt1784 = i_9_; - this.aByte1789 = (byte) i_7_; - this.aBoolean1791 = bool_8_; - this.aShort1785 = (short) i_3_; - this.anInt1783 = i; - this.aShort1787 = (short) i_5_; - this.aShort1790 = (short) i_4_; - } -} diff --git a/client/src/Class119.java b/client/src/Class119.java deleted file mode 100644 index 0ad6888f6..000000000 --- a/client/src/Class119.java +++ /dev/null @@ -1,26 +0,0 @@ -/* Class119 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaclib.memory.Buffer; - -class Class119 { - Buffer aBuffer1792; - private final ha_Sub2 aHa_Sub2_1793; - - final void method1076(byte[] is, int i) { - if (this.aBuffer1792 == null || this.aBuffer1792.getSize() < i) this.aBuffer1792 = aHa_Sub2_1793.aNativeHeap7730.a(i, false); - this.aBuffer1792.a(is, 0, 0, i); - } - - Class119(ha_Sub2 var_ha_Sub2, byte[] is, int i) { - aHa_Sub2_1793 = var_ha_Sub2; - this.aBuffer1792 = aHa_Sub2_1793.aNativeHeap7730.a(i, false); - if (is != null) this.aBuffer1792.a(is, 0, 0, i); - } - - Class119(ha_Sub2 var_ha_Sub2, Buffer buffer) { - aHa_Sub2_1793 = var_ha_Sub2; - this.aBuffer1792 = buffer; - } -} diff --git a/client/src/Class119_Sub1.java b/client/src/Class119_Sub1.java deleted file mode 100644 index 9589ec027..000000000 --- a/client/src/Class119_Sub1.java +++ /dev/null @@ -1,105 +0,0 @@ -/* Class119_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaclib.memory.Buffer; - -final class Class119_Sub1 extends Class119 implements Interface2 { - private int anInt4697; - static int anInt4698; - static int anInt4699; - static int anInt4700; - static int anInt4701; - static byte aByte4702; - static int anInt4703; - static int anInt4704; - static int anInt4705; - - Class119_Sub1(ha_Sub2 var_ha_Sub2, int i, byte[] is, int i_0_) { - super(var_ha_Sub2, is, i_0_); - try { - anInt4697 = i; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("cw.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + (is != null ? "{...}" : "null") + ',' + i_0_ + ')')); - } - } - - Class119_Sub1(ha_Sub2 var_ha_Sub2, int i, Buffer buffer) { - super(var_ha_Sub2, buffer); - try { - anInt4697 = i; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("cw.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + (buffer != null ? "{...}" : "null") + ')')); - } - } - - public final long method12(byte i) { - if (i != 42) method1077(null, (byte) -124); - anInt4704++; - return this.aBuffer1792.getAddress(); - } - - static final void method1077(ha var_ha, byte i) { - anInt4700++; - if ((Class73.anInt4776 >= 2 || r.aBoolean9722) && Class289.aClass46_3701 == null) { - if (i >= -71) method1077(null, (byte) -41); - String string; - if (r.aBoolean9722 && Class73.anInt4776 < 2) string = (Class28.aString5001 + Class274.aClass274_3515.method2063(Class348_Sub33.anInt6967, 544) + Class28.aString5000 + " ->"); - else if (!Class116.shiftClick || !Class182.aClass346_2449.method2696(81, -121) || Class73.anInt4776 <= 2) { - Class348_Sub42_Sub12 class348_sub42_sub12 = Class316.aClass348_Sub42_Sub12_3963; - if (class348_sub42_sub12 == null) return; - string = Class316.method2367((byte) -52, class348_sub42_sub12); - int[] is = null; - if (!Class148.method1197(-12081, class348_sub42_sub12.anInt9608)) { - if (class348_sub42_sub12.anInt9599 != -1) is = Exception_Sub1.aClass255_112.method1940(98, (class348_sub42_sub12.anInt9599)).anIntArray2772; - else if (Class367_Sub8.method3549((class348_sub42_sub12.anInt9608), (byte) 107)) { - Class348_Sub22 class348_sub22 = ((Class348_Sub22) (Class282.aClass356_3654.method3480((int) class348_sub42_sub12.aLong9605, -6008))); - if (class348_sub22 != null) { - Npc npc = (class348_sub22.aNpc_6859); - Class79 class79 = (npc.aClass79_10505); - if (class79.anIntArray1377 != null) class79 = (class79.method794((Class318_Sub1_Sub3_Sub3.aClass170_10209), -1)); - if (class79 != null) is = class79.anIntArray1342; - } - } else if (Class239_Sub21.method1813(8806, (class348_sub42_sub12.anInt9608))) { - Object object = null; - Class51 class51; - if ((class348_sub42_sub12.anInt9608) != 1001) class51 = (Class348_Sub40_Sub12.aClass263_9195.method2005(0, (int) ((class348_sub42_sub12.aLong9605) >>> 32 & 0x7fffffffL))); - else class51 = (Class348_Sub40_Sub12.aClass263_9195.method2005(0, (int) (class348_sub42_sub12.aLong9605))); - if (class51.anIntArray945 != null) class51 = class51.method480((Class318_Sub1_Sub3_Sub3.aClass170_10209), (byte) 47); - if (class51 != null) is = class51.anIntArray917; - } - } else is = (Exception_Sub1.aClass255_112.method1940(-73, (int) (class348_sub42_sub12.aLong9605)).anIntArray2772); - if (is != null) string += Class163.method1273(is, true); - } else string = Class316.method2367((byte) 125, Class316.aClass348_Sub42_Sub12_3963); - if (Class73.anInt4776 > 2) string += (" / " + (Class73.anInt4776 - 2) + Class274.aClass274_3508.method2063(Class348_Sub33.anInt6967, 544)); - if (Class348_Sub36.aClass46_6990 != null) { - Class324 class324 = Class348_Sub36.aClass46_6990.method426(var_ha, (byte) 68); - if (class324 == null) class324 = Class262.aClass324_3326; - class324.method2585(Class175.anIntArray2330, Class348_Sub36.aClass46_6990.anInt709, Class341.aClass105Array4234, Class348_Sub36.aClass46_6990.anInt700, Class348_Sub36.aClass46_6990.anInt749, Class348_Sub36.aClass46_6990.anInt789, Class348_Sub36.aClass46_6990.anInt809, OutputStream_Sub1.aRandom93, Class348_Sub36.aClass46_6990.anInt762, Class32.anInt451, Class356.anInt4383, -33, Class332.anInt4141, string, Class195.anIntArray5007); - Class13.method226(Class195.anIntArray5007[0], Class195.anIntArray5007[2], Class195.anIntArray5007[1], 0, Class195.anIntArray5007[3]); - } else if (Class21.aClass46_323 != null && (Class348_Sub42_Sub8_Sub2.aClass230_10434 == Class10.aClass230_186)) { - int i_1_ = (Class262.aClass324_3326.method2571(-1, Class356.anInt4383, Class175.anIntArray2330, string, 16777215, 0, Class341.aClass105Array4234, 16 + Class238_Sub1.anInt5832, 4 + Class120.anInt4911, OutputStream_Sub1.aRandom93)); - Class13.method226(Class120.anInt4911 - -4, (Class369.aClass143_4962.method1183(true, string) + i_1_), Class238_Sub1.anInt5832, 0, 16); - } - } - } - - public final int method13(byte i) { - anInt4699++; - if (i != -97) return -87; - return anInt4697; - } - - public final void method11(int i, int i_2_, byte[] is, int i_3_) { - anInt4705++; - this.method1076(is, i_2_); - anInt4697 = i; - if (i_3_ != -9894) method10(false); - } - - public final int method10(boolean bool) { - anInt4701++; - if (bool != true) method11(126, 120, null, -73); - return 0; - } -} diff --git a/client/src/Class119_Sub2.java b/client/src/Class119_Sub2.java deleted file mode 100644 index 4b2342fca..000000000 --- a/client/src/Class119_Sub2.java +++ /dev/null @@ -1,65 +0,0 @@ -/* Class119_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class119_Sub2 extends Class119 implements Interface8 { - static int anInt4826; - private int anInt4827; - static int anInt4828; - static int anInt4829; - static int anInt4830; - static int anInt4831; - static int anInt4832; - - static final short[] method1078(short[] is, int i, int i_0_) { - anInt4829++; - if (i_0_ < 87) method1078(null, 22, -24); - short[] is_1_ = new short[i]; - Class214.method1576(is, 0, is_1_, 0, i); - return is_1_; - } - - public final int method33(int i) { - if (i != -23923) return 92; - anInt4830++; - return 0; - } - - public final long method36(byte i) { - if (i <= 76) anInt4827 = 68; - anInt4832++; - return this.aBuffer1792.getAddress(); - } - - static final int method1079(int i, int i_2_, int i_3_, int i_4_) { - anInt4826++; - if (i != 4095) return 14; - i_2_ &= 0x3; - if (i_2_ == 0) return i_3_; - if (i_2_ == 1) return 4095 - i_4_; - if (i_2_ == 2) return 4095 + -i_3_; - return i_4_; - } - - public final int method34(int i) { - anInt4831++; - if (i != -5711) method35(null, -107, -123, -39); - return anInt4827; - } - - public final void method35(byte[] is, int i, int i_5_, int i_6_) { - this.method1076(is, i_6_); - anInt4828++; - anInt4827 = i; - if (i_5_ < 18) anInt4827 = -41; - } - - Class119_Sub2(ha_Sub2 var_ha_Sub2, int i, byte[] is, int i_7_) { - super(var_ha_Sub2, is, i_7_); - try { - anInt4827 = i; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wv.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + (is != null ? "{...}" : "null") + ',' + i_7_ + ')')); - } - } -} diff --git a/client/src/Class12.java b/client/src/Class12.java deleted file mode 100644 index bef741d5d..000000000 --- a/client/src/Class12.java +++ /dev/null @@ -1,46 +0,0 @@ -/* Class12 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class12 { - byte aByte198; - boolean aBoolean199; - int anInt200; - byte aByte201; - byte aByte202; - int anInt203; - boolean aBoolean204; - byte aByte205; - int anInt206; - boolean aBoolean207; - short aShort208; - boolean aBoolean209; - static int anInt210; - byte aByte211; - boolean aBoolean212; - byte aByte213; - static int anInt214; - boolean aBoolean215; - byte aByte216; - boolean aBoolean217; - boolean aBoolean218; - - static final void method223(int i, int i_0_, int i_1_, int i_2_, byte i_3_) { - if (i_2_ > i) Class135_Sub2.method1156(-27, i_2_, Class17.anIntArrayArray255[i_1_], i, i_0_); - else Class135_Sub2.method1156(-27, i, Class17.anIntArrayArray255[i_1_], i_2_, i_0_); - anInt214++; - if (i_3_ >= 20) { - /* empty */ - } - } - - static final void method224(byte i, int[][] is) { - Class17.anIntArrayArray255 = is; - anInt210++; - if (i != -40) method224((byte) 100, null); - } - - public Class12() { - /* empty */ - } -} diff --git a/client/src/Class120.java b/client/src/Class120.java deleted file mode 100644 index 9c4391057..000000000 --- a/client/src/Class120.java +++ /dev/null @@ -1,31 +0,0 @@ -/* Class120 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class120 implements Interface12 { - static int anInt4908; - static int anInt4909; - static int anInt4910; - static int anInt4911 = -1; - int anInt4912; - - public final Class223 method51(byte i) { - if (i < 116) method1080(81, 13, -51, -26); - anInt4909++; - return Class149.aClass223_2045; - } - - static final void method1080(int i, int i_0_, int i_1_, int i_2_) { - anInt4908++; - if (i_0_ == -23697) { - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i_2_, (byte) 105, 11); - class348_sub42_sub15.method3246(i_0_ + -1793); - class348_sub42_sub15.anInt9652 = i; - class348_sub42_sub15.anInt9651 = i_1_; - } - } - - Class120(int i) { - this.anInt4912 = i; - } -} diff --git a/client/src/Class121.java b/client/src/Class121.java deleted file mode 100644 index 9fc56d0f4..000000000 --- a/client/src/Class121.java +++ /dev/null @@ -1,85 +0,0 @@ -/* Class121 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class121 { - static int anInt1794; - static int anInt1795; - static int anInt1796 = 0; - static int anInt1797; - static int anInt1798; - static int anInt1799; - static Class105 aClass105_1800; - - public static void method1081(byte i) { - int i_0_ = -38 % ((i - 57) / 62); - aClass105_1800 = null; - } - - static final int method1082(int i, boolean bool) { - anInt1795++; - int i_1_ = Class348_Sub49.anInt7207; - while_44_: - do { - do { - if (i_1_ == 0) { - if (bool) return 0; - return Class339.anInt4211; - } else if (i_1_ != 1) { - if (i_1_ == 2) break; - break while_44_; - } - return Class339.anInt4211; - } while (false); - return 0; - } while (false); - i_1_ = -103 / ((i - -37) / 39); - return 0; - } - - static final void method1083(ha var_ha, int i, byte i_2_, int i_3_, int i_4_, int i_5_) { - anInt1798++; - Class21.aHa326 = var_ha; - Class51.aClass101_905 = Class21.aHa326.method3654(); - Class44.aClass101_624 = Class21.aHa326.method3654(); - r.aClass101_9720 = Class21.aHa326.method3654(); - Class348_Sub42_Sub9_Sub1.anInt10444 = i_4_; - Class348_Sub49.anInt7207 = 0; - Class211.anInt2747 = i; - Class132.anIntArray1909 = null; - Class92.anInterface4Array1525 = null; - Class85.method828((byte) 38, i_3_, i_5_); - Class27.anInt396 = -1; - Class295.anInt3760 = -1; - Class369_Sub1.anInt8583 = -1; - int i_6_ = 90 % ((70 - i_2_) / 33); - } - - static final boolean method1084(int i, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_, int i_12_) { - anInt1799++; - int i_13_ = i_9_ - -i_7_; - int i_14_ = i + i_10_; - int i_15_ = i_8_ + i_11_; - if (!Class286_Sub7.method2169(i_9_, i_13_, i_8_, i_9_, i_15_, i_14_, i_14_, i_14_, i_15_, false)) return false; - if (i_12_ != 18507) method1082(-107, false); - if (!Class286_Sub7.method2169(i_9_, i_13_, i_8_, i_13_, i_15_, i_14_, i_14_, i_14_, i_8_, false)) return false; - if (Class141.anInt1974 > i_9_) { - if (!Class286_Sub7.method2169(i_9_, i_9_, i_15_, i_9_, i_15_, i_14_, i_14_, i_10_, i_8_, false)) return false; - if (!Class286_Sub7.method2169(i_9_, i_9_, i_15_, i_9_, i_8_, i_14_, i_10_, i_10_, i_8_, false)) return false; - } else { - if (!Class286_Sub7.method2169(i_13_, i_13_, i_15_, i_13_, i_15_, i_14_, i_14_, i_10_, i_8_, false)) return false; - if (!Class286_Sub7.method2169(i_13_, i_13_, i_15_, i_13_, i_8_, i_14_, i_10_, i_10_, i_8_, false)) return false; - } - if (i_8_ >= Class348_Sub40_Sub27.anInt9360) { - if (!Class286_Sub7.method2169(i_9_, i_13_, i_15_, i_9_, i_15_, i_14_, i_14_, i_10_, i_15_, false)) return false; - return Class286_Sub7.method2169(i_9_, i_13_, i_15_, i_13_, i_15_, i_14_, i_10_, i_10_, i_15_, false); - } else { - if (!Class286_Sub7.method2169(i_9_, i_13_, i_8_, i_9_, i_8_, i_14_, i_14_, i_10_, i_8_, false)) return false; - return Class286_Sub7.method2169(i_9_, i_13_, i_8_, i_13_, i_8_, i_14_, i_10_, i_10_, i_8_, false); - } - } - - static { - anInt1794 = -1; - } -} diff --git a/client/src/Class122.java b/client/src/Class122.java deleted file mode 100644 index 698f4f6e4..000000000 --- a/client/src/Class122.java +++ /dev/null @@ -1,84 +0,0 @@ -/* Class122 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class122 { - static boolean aBoolean1801; - static int anInt1802; - static int anInt1803; - static int anInt1804; - static int anInt1805; - static boolean[] aBooleanArray1806 = new boolean[200]; - static int anInt1807; - static String[] aStringArray1808; - static int anInt1809; - - static final void method1085(int i, int i_0_, byte i_1_, int i_2_, int i_3_) { - anInt1805++; - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i_3_, (byte) 105, 8); - class348_sub42_sub15.method3246(-25490); - class348_sub42_sub15.anInt9652 = i_0_; - if (i_1_ < -57) { - class348_sub42_sub15.anInt9650 = i; - class348_sub42_sub15.anInt9651 = i_2_; - } - } - - public static void method1086(boolean bool) { - if (bool != true) anInt1803 = -25; - aStringArray1808 = null; - aBooleanArray1806 = null; - } - - static final boolean method1087(int i, int i_4_, int i_5_) { - if (i != 12644) method1085(55, -60, (byte) -29, -35, -112); - anInt1809++; - return (0x84080 & i_5_) != 0; - } - - static final int method1088(int i, byte i_6_, int i_7_, int i_8_, int i_9_) { - anInt1804++; - int i_10_ = -Class70.anIntArray1204[8192 * i_8_ / i_7_] + 65536 >> 1; - if (i_6_ != 22) return -73; - return ((i_10_ * i >> 16) + (i_9_ * (65536 + -i_10_) >> 16)); - } - - static final boolean method1089(int i, char c) { - anInt1807++; - if (i >= -107) aBooleanArray1806 = null; - if (c > 0 && c < 128 || c >= 160 && c <= 255) return true; - if (c != 0) { - char[] cs = Class44.aCharArray625; - for (int i_11_ = 0; cs.length > i_11_; i_11_++) { - int i_12_ = cs[i_11_]; - if (c == i_12_) return true; - } - } - return false; - } - - static final void method1090(byte[][] is, int i, Class237_Sub1 class237_sub1) { - try { - anInt1802++; - int i_13_ = Class347.aByteArrayArray4281.length; - if (i == 65536) { - for (int i_14_ = 0; i_14_ < i_13_; i_14_++) { - byte[] is_15_ = is[i_14_]; - if (is_15_ != null) { - int i_16_ = (64 * (Class348_Sub23_Sub3.anIntArray9042[i_14_] >> 8) + -za_Sub2.regionTileX); - int i_17_ = ((Class348_Sub23_Sub3.anIntArray9042[i_14_] & 0xff) * 64 - Class90.regionTileY); - Class369_Sub1.method3570(false); - class237_sub1.method1695(is_15_, (Class348_Sub45.aClass361Array7108), i_17_, Class348_Sub8.aHa6654, i_16_, i ^ 0x1054f); - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("nga.C(" + (is != null ? "{...}" : "null") + ',' + i + ',' + (class237_sub1 != null ? "{...}" : "null") + ')')); - } - } - - static { - anInt1803 = 0; - aStringArray1808 = new String[100]; - } -} diff --git a/client/src/Class123.java b/client/src/Class123.java deleted file mode 100644 index 68d4dab46..000000000 --- a/client/src/Class123.java +++ /dev/null @@ -1,25 +0,0 @@ -/* Class123 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class123 { - short aShort1810; - Interface2 anInterface2_1811; - byte aByte1812; - static Class25 aClass25_1813; - byte aByte1814; - static Class45 aClass45_1815; - - public static void method1091(int i) { - if (i != -9341) method1091(-16); - aClass45_1815 = null; - aClass25_1813 = null; - } - - Class123(Interface2 interface2, int i, int i_0_, int i_1_) { - this.aShort1810 = (short) i; - this.aByte1812 = (byte) i_1_; - this.aByte1814 = (byte) i_0_; - this.anInterface2_1811 = interface2; - } -} diff --git a/client/src/Class124.java b/client/src/Class124.java deleted file mode 100644 index 48c32e11a..000000000 --- a/client/src/Class124.java +++ /dev/null @@ -1,1046 +0,0 @@ -/* Class124 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; -import java.util.Random; - -final class Class124 { - int[] anIntArray1816; - int anInt1817; - int anInt1818; - static int anInt1819; - byte[] aByteArray1820; - int anInt1821; - short[] aShortArray1822; - byte[] aByteArray1823; - int[] anIntArray1824; - short[] aShortArray1825; - static int anInt1826; - static int anInt1827; - static int anInt1828; - short[] aShortArray1829; - int anInt1830 = 12; - static int anInt1831; - Class162[] aClass162Array1832; - byte[] aByteArray1833; - byte[] aByteArray1834; - short[] aShortArray1835; - int anInt1836 = 0; - static int anInt1837; - static int anInt1838; - byte[] aByteArray1839; - static int anInt1840; - int[] anIntArray1841; - short[] aShortArray1842; - byte[] aByteArray1843; - int[] anIntArray1844; - static int anInt1845; - Class129[] aClass129Array1846; - int[] anIntArray1847; - static Class45 aClass45_1848; - short[] aShortArray1849; - static int anInt1850; - byte aByte1851; - int[] anIntArray1852; - byte[] aByteArray1853; - static int anInt1854; - short[] aShortArray1855; - short[] aShortArray1856; - int[] anIntArray1857; - static int anInt1858; - int[] anIntArray1859; - static int anInt1860; - static int anInt1861; - short[] aShortArray1862; - short[] aShortArray1863; - static int anInt1864; - int[] anIntArray1865; - Class342[] aClass342Array1866; - int[] anIntArray1867; - int[] anIntArray1868; - static int anInt1869; - - final void method1092(int i, int i_0_) { - anInt1819++; - for (int i_1_ = 0; this.anInt1836 > i_1_; i_1_++) { - this.anIntArray1841[i_1_] <<= i; - this.anIntArray1847[i_1_] <<= i; - this.anIntArray1852[i_1_] <<= i; - } - if (i_0_ <= 39) method1107(40, -7, -80, -24); - if (this.anInt1818 > 0 && this.anIntArray1859 != null) { - for (int i_2_ = 0; i_2_ < this.anIntArray1859.length; i_2_++) { - this.anIntArray1859[i_2_] <<= i; - this.anIntArray1816[i_2_] <<= i; - if (this.aByteArray1823[i_2_] != 1) this.anIntArray1844[i_2_] <<= i; - } - } - } - - final int[][] method1093(byte i) { - anInt1854++; - int[] is = new int[256]; - int i_3_ = 0; - for (int i_4_ = 0; this.aClass162Array1832.length > i_4_; i_4_++) { - int i_5_ = (this.aClass162Array1832[i_4_].anInt2156); - if (i_5_ >= 0) { - is[i_5_]++; - if (i_3_ < i_5_) i_3_ = i_5_; - } - } - int[][] is_6_ = new int[1 + i_3_][]; - for (int i_7_ = 0; i_7_ <= i_3_; i_7_++) { - is_6_[i_7_] = new int[is[i_7_]]; - is[i_7_] = 0; - } - if (i > -68) return null; - for (int i_8_ = 0; i_8_ < this.aClass162Array1832.length; i_8_++) { - int i_9_ = (this.aClass162Array1832[i_8_].anInt2156); - if (i_9_ >= 0) is_6_[i_9_][is[i_9_]++] = i_8_; - } - return is_6_; - } - - final int[][] method1094(byte i) { - anInt1864++; - int[] is = new int[256]; - int i_10_ = 0; - for (int i_11_ = 0; i_11_ < this.anInt1817; i_11_++) { - int i_12_ = this.anIntArray1824[i_11_]; - if (i_12_ >= 0) { - if (i_10_ < i_12_) i_10_ = i_12_; - is[i_12_]++; - } - } - int[][] is_13_ = new int[i_10_ - -1][]; - if (i <= 13) method1102(-65, (byte) -8, (byte) 94, (short) -89, (byte) 6, (short) -117, 21, (byte) 21, -31); - for (int i_14_ = 0; i_10_ >= i_14_; i_14_++) { - is_13_[i_14_] = new int[is[i_14_]]; - is[i_14_] = 0; - } - for (int i_15_ = 0; i_15_ < this.anInt1817; i_15_++) { - int i_16_ = this.anIntArray1824[i_15_]; - if (i_16_ >= 0) is_13_[i_16_][is[i_16_]++] = i_15_; - } - return is_13_; - } - - final void method1095(short i, int i_17_, short i_18_) { - anInt1869++; - if (this.aShortArray1822 != null) { - for (int i_19_ = i_17_; this.anInt1817 > i_19_; i_19_++) { - if (i == this.aShortArray1822[i_19_]) this.aShortArray1822[i_19_] = i_18_; - } - } - } - - public static void method1096(int i) { - if (i >= 88) aClass45_1848 = null; - } - - static final int method1097(byte i, int i_20_, Random random) { - anInt1861++; - if (i_20_ <= 0) throw new IllegalArgumentException(); - if (Class192.method1436(-19, i_20_)) return (int) ((long) i_20_ * (0xffffffffL & (long) random.nextInt()) >> 32); - int i_21_ = -2147483648 + -(int) (4294967296L % (long) i_20_); - if (i < 78) aClass45_1848 = null; - int i_22_; - do i_22_ = random.nextInt(); while (i_22_ >= i_21_); - return Class350.method3452(i_22_, (byte) -15, i_20_); - } - - final void method1098(short i, byte i_23_, short i_24_) { - if (i_23_ == 126) { - for (int i_25_ = 0; i_25_ < this.anInt1817; i_25_++) { - if (i == this.aShortArray1862[i_25_]) this.aShortArray1862[i_25_] = i_24_; - } - anInt1826++; - } - } - - final void method1099(byte i, int i_26_, int i_27_, int i_28_) { - int i_29_ = 0; - int i_30_ = 19 % ((-40 - i) / 33); - for (/**/; this.anInt1836 > i_29_; i_29_++) { - this.anIntArray1841[i_29_] += i_27_; - this.anIntArray1847[i_29_] += i_28_; - this.anIntArray1852[i_29_] += i_26_; - } - anInt1840++; - } - - final int[][] method1100(boolean bool, int i) { - anInt1845++; - int[] is = new int[256]; - int i_31_ = 0; - int i_32_ = (!bool ? this.anInt1821 : this.anInt1836); - for (int i_33_ = 0; i_33_ < i_32_; i_33_++) { - int i_34_ = this.anIntArray1868[i_33_]; - if (i_34_ >= 0) { - is[i_34_]++; - if (i_31_ < i_34_) i_31_ = i_34_; - } - } - int[][] is_35_ = new int[1 + i_31_][]; - for (int i_36_ = 0; i_36_ <= i_31_; i_36_++) { - is_35_[i_36_] = new int[is[i_36_]]; - is[i_36_] = 0; - } - for (int i_37_ = 0; i_32_ > i_37_; i_37_++) { - int i_38_ = this.anIntArray1868[i_37_]; - if (i_38_ >= 0) is_35_[i_38_][is[i_38_]++] = i_37_; - } - if (i > -14) method1098((short) 9, (byte) 80, (short) -118); - return is_35_; - } - - final int method1101(int i, int i_39_, int i_40_, int i_41_) { - anInt1827++; - int i_42_ = 0; - int i_43_ = 120 / ((38 - i_41_) / 61); - for (/**/; i_42_ < this.anInt1836; i_42_++) { - if (this.anIntArray1841[i_42_] == i_40_ && i == this.anIntArray1847[i_42_] && this.anIntArray1852[i_42_] == i_39_) return i_42_; - } - this.anIntArray1841[this.anInt1836] = i_40_; - this.anIntArray1847[this.anInt1836] = i; - this.anIntArray1852[this.anInt1836] = i_39_; - this.anInt1821 = 1 + this.anInt1836; - return this.anInt1836++; - } - - final int method1102(int i, byte i_44_, byte i_45_, short i_46_, byte i_47_, short i_48_, int i_49_, byte i_50_, int i_51_) { - this.aShortArray1863[this.anInt1817] = (short) i; - anInt1860++; - this.aShortArray1835[this.anInt1817] = (short) i_49_; - this.aShortArray1855[this.anInt1817] = (short) i_51_; - if (i_47_ < 30) return -92; - this.aByteArray1843[this.anInt1817] = i_44_; - this.aByteArray1820[this.anInt1817] = i_45_; - this.aShortArray1862[this.anInt1817] = i_48_; - this.aByteArray1834[this.anInt1817] = i_50_; - this.aShortArray1822[this.anInt1817] = i_46_; - return this.anInt1817++; - } - - private final void method1103(int i, byte[] is) { - anInt1831++; - boolean bool = false; - boolean bool_52_ = false; - Class348_Sub49 class348_sub49 = new Class348_Sub49(is); - Class348_Sub49 class348_sub49_53_ = new Class348_Sub49(is); - Class348_Sub49 class348_sub49_54_ = new Class348_Sub49(is); - Class348_Sub49 class348_sub49_55_ = new Class348_Sub49(is); - Class348_Sub49 class348_sub49_56_ = new Class348_Sub49(is); - class348_sub49.anInt7197 = -18 + is.length; - this.anInt1836 = class348_sub49.readUnsignedShort(i ^ 0x3235f8f9); - this.anInt1817 = class348_sub49.readUnsignedShort(842397944); - this.anInt1818 = class348_sub49.readUnsignedByte(255); - int i_57_ = class348_sub49.readUnsignedByte(255); - int i_58_ = class348_sub49.readUnsignedByte(255); - int i_59_ = class348_sub49.readUnsignedByte(255); - int i_60_ = class348_sub49.readUnsignedByte(255); - int i_61_ = class348_sub49.readUnsignedByte(255); - int i_62_ = class348_sub49.readUnsignedShort(842397944); - int i_63_ = class348_sub49.readUnsignedShort(842397944); - int i_64_ = class348_sub49.readUnsignedShort(842397944); - int i_65_ = class348_sub49.readUnsignedShort(842397944); - int i_66_ = 0; - int i_67_ = i_66_; - i_66_ += this.anInt1836; - int i_68_ = i_66_; - i_66_ += this.anInt1817; - int i_69_ = i_66_; - if (i_58_ == 255) i_66_ += this.anInt1817; - int i_70_ = i_66_; - if (i_60_ == 1) i_66_ += this.anInt1817; - int i_71_ = i_66_; - if (i_57_ == 1) i_66_ += this.anInt1817; - int i_72_ = i_66_; - if (i_61_ == 1) i_66_ += this.anInt1836; - int i_73_ = i_66_; - if (i == i_59_) i_66_ += this.anInt1817; - int i_74_ = i_66_; - i_66_ += i_65_; - int i_75_ = i_66_; - i_66_ += this.anInt1817 * 2; - int i_76_ = i_66_; - i_66_ += this.anInt1818 * 6; - int i_77_ = i_66_; - i_66_ += i_62_; - int i_78_ = i_66_; - i_66_ += i_63_; - int i_79_ = i_66_; - this.aShortArray1862 = new short[this.anInt1817]; - if (i_58_ == 255) this.aByteArray1839 = new byte[this.anInt1817]; - else this.aByte1851 = (byte) i_58_; - if (i_61_ == 1) this.anIntArray1868 = new int[this.anInt1836]; - if (i_59_ == 1) this.aByteArray1834 = new byte[this.anInt1817]; - this.aShortArray1863 = new short[this.anInt1817]; - if (i_57_ == 1) { - this.aShortArray1822 = new short[this.anInt1817]; - this.aByteArray1820 = new byte[this.anInt1817]; - this.aByteArray1843 = new byte[this.anInt1817]; - } - this.anIntArray1847 = new int[this.anInt1836]; - if (i_60_ == 1) this.anIntArray1824 = new int[this.anInt1817]; - this.aShortArray1855 = new short[this.anInt1817]; - if (this.anInt1818 > 0) { - this.aByteArray1823 = new byte[this.anInt1818]; - this.aShortArray1829 = new short[this.anInt1818]; - this.aShortArray1849 = new short[this.anInt1818]; - this.aShortArray1825 = new short[this.anInt1818]; - } - this.aShortArray1835 = new short[this.anInt1817]; - this.anIntArray1852 = new int[this.anInt1836]; - this.anIntArray1841 = new int[this.anInt1836]; - class348_sub49.anInt7197 = i_67_; - i_66_ += i_64_; - class348_sub49_53_.anInt7197 = i_77_; - class348_sub49_54_.anInt7197 = i_78_; - class348_sub49_55_.anInt7197 = i_79_; - class348_sub49_56_.anInt7197 = i_72_; - int i_80_ = 0; - int i_81_ = 0; - int i_82_ = 0; - for (int i_83_ = 0; i_83_ < this.anInt1836; i_83_++) { - int i_84_ = class348_sub49.readUnsignedByte(255); - int i_85_ = 0; - if ((i_84_ & 0x1) != 0) i_85_ = class348_sub49_53_.method3362((byte) 77); - int i_86_ = 0; - if ((i_84_ & 0x2) != 0) i_86_ = class348_sub49_54_.method3362((byte) 77); - int i_87_ = 0; - if ((0x4 & i_84_) != 0) i_87_ = class348_sub49_55_.method3362((byte) 77); - this.anIntArray1841[i_83_] = i_85_ + i_80_; - this.anIntArray1847[i_83_] = i_81_ - -i_86_; - this.anIntArray1852[i_83_] = i_82_ + i_87_; - i_82_ = this.anIntArray1852[i_83_]; - i_81_ = this.anIntArray1847[i_83_]; - i_80_ = this.anIntArray1841[i_83_]; - if (i_61_ == 1) this.anIntArray1868[i_83_] = class348_sub49_56_.readUnsignedByte(Class348_Sub21.method2955(i, 254)); - } - class348_sub49.anInt7197 = i_75_; - class348_sub49_53_.anInt7197 = i_71_; - class348_sub49_54_.anInt7197 = i_69_; - class348_sub49_55_.anInt7197 = i_73_; - class348_sub49_56_.anInt7197 = i_70_; - for (int i_88_ = 0; i_88_ < this.anInt1817; i_88_++) { - this.aShortArray1862[i_88_] = (short) class348_sub49.readUnsignedShort(842397944); - if (i_57_ == 1) { - int i_89_ = class348_sub49_53_.readUnsignedByte(255); - if ((0x1 & i_89_) == 1) { - this.aByteArray1843[i_88_] = (byte) 1; - bool = true; - } else this.aByteArray1843[i_88_] = (byte) 0; - if ((i_89_ & 0x2) == 2) { - this.aByteArray1820[i_88_] = (byte) (i_89_ >> 2); - this.aShortArray1822[i_88_] = this.aShortArray1862[i_88_]; - this.aShortArray1862[i_88_] = (short) 127; - if (this.aShortArray1822[i_88_] != -1) bool_52_ = true; - } else { - this.aByteArray1820[i_88_] = (byte) -1; - this.aShortArray1822[i_88_] = (short) -1; - } - } - if (i_58_ == 255) this.aByteArray1839[i_88_] = class348_sub49_54_.readByte(-108); - if (i_59_ == 1) this.aByteArray1834[i_88_] = class348_sub49_55_.readByte(Class348_Sub21.method2955(i, -120)); - if (i_60_ == 1) this.anIntArray1824[i_88_] = class348_sub49_56_.readUnsignedByte(255); - } - class348_sub49.anInt7197 = i_74_; - this.anInt1821 = -1; - class348_sub49_53_.anInt7197 = i_68_; - short i_90_ = 0; - short i_91_ = 0; - short i_92_ = 0; - int i_93_ = 0; - for (int i_94_ = 0; i_94_ < this.anInt1817; i_94_++) { - int i_95_ = class348_sub49_53_.readUnsignedByte(255); - if (i_95_ == 1) { - i_90_ = (short) (i_93_ + class348_sub49.method3362((byte) 77)); - i_93_ = i_90_; - i_91_ = (short) (class348_sub49.method3362((byte) 77) + i_93_); - i_93_ = i_91_; - i_92_ = (short) (i_93_ + class348_sub49.method3362((byte) 77)); - this.aShortArray1863[i_94_] = i_90_; - i_93_ = i_92_; - this.aShortArray1835[i_94_] = i_91_; - this.aShortArray1855[i_94_] = i_92_; - if (i_90_ > this.anInt1821) this.anInt1821 = i_90_; - if (this.anInt1821 < i_91_) this.anInt1821 = i_91_; - if (this.anInt1821 < i_92_) this.anInt1821 = i_92_; - } - if (i_95_ == 2) { - i_91_ = i_92_; - i_92_ = (short) (class348_sub49.method3362((byte) 77) + i_93_); - this.aShortArray1863[i_94_] = i_90_; - i_93_ = i_92_; - this.aShortArray1835[i_94_] = i_91_; - this.aShortArray1855[i_94_] = i_92_; - if (i_92_ > this.anInt1821) this.anInt1821 = i_92_; - } - if (i_95_ == 3) { - i_90_ = i_92_; - i_92_ = (short) (class348_sub49.method3362((byte) 77) + i_93_); - i_93_ = i_92_; - this.aShortArray1863[i_94_] = i_90_; - this.aShortArray1835[i_94_] = i_91_; - this.aShortArray1855[i_94_] = i_92_; - if (this.anInt1821 < i_92_) this.anInt1821 = i_92_; - } - if (i_95_ == 4) { - short i_96_ = i_90_; - i_90_ = i_91_; - i_92_ = (short) (class348_sub49.method3362((byte) 77) + i_93_); - i_91_ = i_96_; - i_93_ = i_92_; - this.aShortArray1863[i_94_] = i_90_; - this.aShortArray1835[i_94_] = i_91_; - this.aShortArray1855[i_94_] = i_92_; - if (this.anInt1821 < i_92_) this.anInt1821 = i_92_; - } - } - this.anInt1821++; - class348_sub49.anInt7197 = i_76_; - for (int i_97_ = 0; i_97_ < this.anInt1818; i_97_++) { - this.aByteArray1823[i_97_] = (byte) 0; - this.aShortArray1829[i_97_] = (short) class348_sub49.readUnsignedShort(842397944); - this.aShortArray1849[i_97_] = (short) class348_sub49.readUnsignedShort(842397944); - this.aShortArray1825[i_97_] = (short) class348_sub49.readUnsignedShort(842397944); - } - if (this.aByteArray1820 != null) { - boolean bool_98_ = false; - for (int i_99_ = 0; i_99_ < this.anInt1817; i_99_++) { - int i_100_ = this.aByteArray1820[i_99_] & 0xff; - if (i_100_ != 255) { - if (((0xffff & this.aShortArray1829[i_100_]) != this.aShortArray1863[i_99_]) || (this.aShortArray1835[i_99_] != (0xffff & this.aShortArray1849[i_100_])) || ((0xffff & this.aShortArray1825[i_100_]) != this.aShortArray1855[i_99_])) bool_98_ = true; - else this.aByteArray1820[i_99_] = (byte) -1; - } - } - if (!bool_98_) this.aByteArray1820 = null; - } - if (!bool) this.aByteArray1843 = null; - if (!bool_52_) this.aShortArray1822 = null; - } - - private final int method1104(Class124 class124_101_, int i, int i_102_, short i_103_) { - anInt1858++; - int i_104_ = class124_101_.anIntArray1841[i_102_]; - int i_105_ = class124_101_.anIntArray1847[i_102_]; - int i_106_ = class124_101_.anIntArray1852[i_102_]; - for (int i_107_ = i; i_107_ < this.anInt1836; i_107_++) { - if (this.anIntArray1841[i_107_] == i_104_ && i_105_ == this.anIntArray1847[i_107_] && (i_106_ == this.anIntArray1852[i_107_])) { - this.aShortArray1842[i_107_] = (short) Class273.method2057((this.aShortArray1842[i_107_]), i_103_); - return i_107_; - } - } - this.anIntArray1841[this.anInt1836] = i_104_; - this.anIntArray1847[this.anInt1836] = i_105_; - this.anIntArray1852[this.anInt1836] = i_106_; - this.aShortArray1842[this.anInt1836] = i_103_; - this.anIntArray1868[this.anInt1836] = (class124_101_.anIntArray1868 != null ? class124_101_.anIntArray1868[i_102_] : -1); - return this.anInt1836++; - } - - final byte method1105(int i, byte i_108_, byte i_109_, short i_110_, short i_111_, byte i_112_, short i_113_, short i_114_, short i_115_, short i_116_) { - anInt1838++; - if (this.anInt1818 >= 255) throw new IllegalStateException(); - this.aByteArray1823[this.anInt1818] = (byte) 3; - this.aShortArray1829[this.anInt1818] = i_110_; - this.aShortArray1849[this.anInt1818] = i_114_; - this.aShortArray1825[this.anInt1818] = i_113_; - this.anIntArray1859[this.anInt1818] = i_115_; - this.anIntArray1816[this.anInt1818] = i_111_; - this.anIntArray1844[this.anInt1818] = i_116_; - this.aByteArray1833[this.anInt1818] = i_108_; - this.aByteArray1853[this.anInt1818] = i_112_; - this.anIntArray1867[this.anInt1818] = i_109_; - int i_117_ = 93 % ((i - -19) / 56); - return (byte) this.anInt1818++; - } - - private final void method1106(byte[] is, byte i) { - anInt1828++; - Class348_Sub49 class348_sub49 = new Class348_Sub49(is); - Class348_Sub49 class348_sub49_118_ = new Class348_Sub49(is); - Class348_Sub49 class348_sub49_119_ = new Class348_Sub49(is); - Class348_Sub49 class348_sub49_120_ = new Class348_Sub49(is); - Class348_Sub49 class348_sub49_121_ = new Class348_Sub49(is); - Class348_Sub49 class348_sub49_122_ = new Class348_Sub49(is); - Class348_Sub49 class348_sub49_123_ = new Class348_Sub49(is); - class348_sub49.anInt7197 = -23 + is.length; - this.anInt1836 = class348_sub49.readUnsignedShort(842397944); - this.anInt1817 = class348_sub49.readUnsignedShort(842397944); - this.anInt1818 = class348_sub49.readUnsignedByte(255); - int i_124_ = class348_sub49.readUnsignedByte(255); - boolean bool = (0x1 & i_124_) == 1; - boolean bool_125_ = (i_124_ & 0x2) == 2; - boolean bool_126_ = (i_124_ & 0x4) == 4; - boolean bool_127_ = (i_124_ & 0x8) == 8; - if (bool_127_) { - class348_sub49.anInt7197 -= 7; - this.anInt1830 = class348_sub49.readUnsignedByte(255); - class348_sub49.anInt7197 += 6; - } - int i_128_ = class348_sub49.readUnsignedByte(255); - int i_129_ = class348_sub49.readUnsignedByte(255); - int i_130_ = class348_sub49.readUnsignedByte(255); - int i_131_ = class348_sub49.readUnsignedByte(255); - int i_132_ = class348_sub49.readUnsignedByte(255); - int i_133_ = class348_sub49.readUnsignedShort(842397944); - int i_134_ = class348_sub49.readUnsignedShort(842397944); - int i_135_ = class348_sub49.readUnsignedShort(842397944); - int i_136_ = class348_sub49.readUnsignedShort(842397944); - int i_137_ = class348_sub49.readUnsignedShort(842397944); - int i_138_ = 0; - int i_139_ = 0; - int i_140_ = 0; - if (this.anInt1818 > 0) { - class348_sub49.anInt7197 = 0; - this.aByteArray1823 = new byte[this.anInt1818]; - for (int i_141_ = 0; (i_141_ < this.anInt1818); i_141_++) { - byte i_142_ = (this.aByteArray1823[i_141_] = class348_sub49.readByte(-124)); - if (i_142_ >= 1 && i_142_ <= 3) i_139_++; - if (i_142_ == 2) i_140_++; - if (i_142_ == 0) i_138_++; - } - } - int i_143_ = this.anInt1818; - int i_144_ = i_143_; - i_143_ += this.anInt1836; - int i_145_ = i_143_; - if (bool) i_143_ += this.anInt1817; - int i_146_ = i_143_; - i_143_ += this.anInt1817; - int i_147_ = i_143_; - if (i_128_ == 255) i_143_ += this.anInt1817; - int i_148_ = i_143_; - if (i_130_ == 1) i_143_ += this.anInt1817; - int i_149_ = i_143_; - if (i_132_ == 1) i_143_ += this.anInt1836; - int i_150_ = i_143_; - if (i_129_ == 1) i_143_ += this.anInt1817; - if (i <= 68) this.anInt1821 = 85; - int i_151_ = i_143_; - i_143_ += i_136_; - int i_152_ = i_143_; - if (i_131_ == 1) i_143_ += 2 * this.anInt1817; - int i_153_ = i_143_; - i_143_ += i_137_; - int i_154_ = i_143_; - i_143_ += 2 * this.anInt1817; - int i_155_ = i_143_; - i_143_ += i_133_; - int i_156_ = i_143_; - i_143_ += i_134_; - int i_157_ = i_143_; - i_143_ += i_135_; - int i_158_ = i_143_; - i_143_ += i_138_ * 6; - int i_159_ = i_143_; - i_143_ += 6 * i_139_; - int i_160_ = 6; - if (this.anInt1830 == 14) i_160_ = 7; - else if (this.anInt1830 >= 15) i_160_ = 9; - int i_161_ = i_143_; - i_143_ += i_160_ * i_139_; - int i_162_ = i_143_; - i_143_ += i_139_; - int i_163_ = i_143_; - i_143_ += i_139_; - int i_164_ = i_143_; - i_143_ += 2 * i_140_ + i_139_; - this.aShortArray1835 = new short[this.anInt1817]; - this.aShortArray1862 = new short[this.anInt1817]; - if (i_130_ == 1) this.anIntArray1824 = new int[this.anInt1817]; - if (this.anInt1818 > 0) { - if (i_140_ > 0) { - this.anIntArray1857 = new int[i_140_]; - this.anIntArray1865 = new int[i_140_]; - } - this.aShortArray1849 = new short[this.anInt1818]; - this.aShortArray1829 = new short[this.anInt1818]; - if (i_139_ > 0) { - this.anIntArray1867 = new int[i_139_]; - this.aByteArray1853 = new byte[i_139_]; - this.anIntArray1816 = new int[i_139_]; - this.aByteArray1833 = new byte[i_139_]; - this.anIntArray1844 = new int[i_139_]; - this.anIntArray1859 = new int[i_139_]; - } - this.aShortArray1825 = new short[this.anInt1818]; - } - if (bool) this.aByteArray1843 = new byte[this.anInt1817]; - if (i_129_ == 1) this.aByteArray1834 = new byte[this.anInt1817]; - if (i_128_ == 255) this.aByteArray1839 = new byte[this.anInt1817]; - else this.aByte1851 = (byte) i_128_; - this.aShortArray1855 = new short[this.anInt1817]; - this.anIntArray1847 = new int[this.anInt1836]; - this.aShortArray1863 = new short[this.anInt1817]; - if (i_131_ == 1 && this.anInt1818 > 0) this.aByteArray1820 = new byte[this.anInt1817]; - int i_165_ = i_143_; - this.anIntArray1852 = new int[this.anInt1836]; - this.anIntArray1841 = new int[this.anInt1836]; - if (i_132_ == 1) this.anIntArray1868 = new int[this.anInt1836]; - class348_sub49.anInt7197 = i_144_; - if (i_131_ == 1) this.aShortArray1822 = new short[this.anInt1817]; - class348_sub49_118_.anInt7197 = i_155_; - class348_sub49_119_.anInt7197 = i_156_; - class348_sub49_120_.anInt7197 = i_157_; - class348_sub49_121_.anInt7197 = i_149_; - int i_166_ = 0; - int i_167_ = 0; - int i_168_ = 0; - for (int i_169_ = 0; this.anInt1836 > i_169_; i_169_++) { - int i_170_ = class348_sub49.readUnsignedByte(255); - int i_171_ = 0; - if ((i_170_ & 0x1) != 0) i_171_ = class348_sub49_118_.method3362((byte) 77); - int i_172_ = 0; - if ((i_170_ & 0x2) != 0) i_172_ = class348_sub49_119_.method3362((byte) 77); - int i_173_ = 0; - if ((0x4 & i_170_) != 0) i_173_ = class348_sub49_120_.method3362((byte) 77); - this.anIntArray1841[i_169_] = i_171_ + i_166_; - this.anIntArray1847[i_169_] = i_172_ + i_167_; - this.anIntArray1852[i_169_] = i_168_ + i_173_; - i_167_ = this.anIntArray1847[i_169_]; - i_166_ = this.anIntArray1841[i_169_]; - i_168_ = this.anIntArray1852[i_169_]; - if (i_132_ == 1) this.anIntArray1868[i_169_] = class348_sub49_121_.readUnsignedByte(255); - } - class348_sub49.anInt7197 = i_154_; - class348_sub49_118_.anInt7197 = i_145_; - class348_sub49_119_.anInt7197 = i_147_; - class348_sub49_120_.anInt7197 = i_150_; - class348_sub49_121_.anInt7197 = i_148_; - class348_sub49_122_.anInt7197 = i_152_; - class348_sub49_123_.anInt7197 = i_153_; - for (int i_174_ = 0; (this.anInt1817 > i_174_); i_174_++) { - this.aShortArray1862[i_174_] = (short) class348_sub49.readUnsignedShort(842397944); - if (bool) this.aByteArray1843[i_174_] = class348_sub49_118_.readByte(-98); - if (i_128_ == 255) this.aByteArray1839[i_174_] = class348_sub49_119_.readByte(-78); - if (i_129_ == 1) this.aByteArray1834[i_174_] = class348_sub49_120_.readByte(-99); - if (i_130_ == 1) this.anIntArray1824[i_174_] = class348_sub49_121_.readUnsignedByte(255); - if (i_131_ == 1) this.aShortArray1822[i_174_] = (short) (class348_sub49_122_.readUnsignedShort(842397944) + -1); - if (this.aByteArray1820 != null) { - if (this.aShortArray1822[i_174_] == -1) this.aByteArray1820[i_174_] = (byte) -1; - else this.aByteArray1820[i_174_] = (byte) (-1 + class348_sub49_123_.readUnsignedByte(255)); - } - } - class348_sub49.anInt7197 = i_151_; - this.anInt1821 = -1; - class348_sub49_118_.anInt7197 = i_146_; - short i_175_ = 0; - short i_176_ = 0; - short i_177_ = 0; - int i_178_ = 0; - for (int i_179_ = 0; (i_179_ < this.anInt1817); i_179_++) { - int i_180_ = class348_sub49_118_.readUnsignedByte(255); - if (i_180_ == 1) { - i_175_ = (short) (class348_sub49.method3362((byte) 77) + i_178_); - i_178_ = i_175_; - i_176_ = (short) (class348_sub49.method3362((byte) 77) + i_178_); - i_178_ = i_176_; - i_177_ = (short) (i_178_ + class348_sub49.method3362((byte) 77)); - i_178_ = i_177_; - this.aShortArray1863[i_179_] = i_175_; - this.aShortArray1835[i_179_] = i_176_; - this.aShortArray1855[i_179_] = i_177_; - if (i_175_ > this.anInt1821) this.anInt1821 = i_175_; - if (this.anInt1821 < i_176_) this.anInt1821 = i_176_; - if (i_177_ > this.anInt1821) this.anInt1821 = i_177_; - } - if (i_180_ == 2) { - i_176_ = i_177_; - i_177_ = (short) (class348_sub49.method3362((byte) 77) + i_178_); - this.aShortArray1863[i_179_] = i_175_; - i_178_ = i_177_; - this.aShortArray1835[i_179_] = i_176_; - this.aShortArray1855[i_179_] = i_177_; - if (this.anInt1821 < i_177_) this.anInt1821 = i_177_; - } - if (i_180_ == 3) { - i_175_ = i_177_; - i_177_ = (short) (class348_sub49.method3362((byte) 77) + i_178_); - i_178_ = i_177_; - this.aShortArray1863[i_179_] = i_175_; - this.aShortArray1835[i_179_] = i_176_; - this.aShortArray1855[i_179_] = i_177_; - if (this.anInt1821 < i_177_) this.anInt1821 = i_177_; - } - if (i_180_ == 4) { - short i_181_ = i_175_; - i_175_ = i_176_; - i_177_ = (short) (i_178_ + class348_sub49.method3362((byte) 77)); - i_176_ = i_181_; - this.aShortArray1863[i_179_] = i_175_; - i_178_ = i_177_; - this.aShortArray1835[i_179_] = i_176_; - this.aShortArray1855[i_179_] = i_177_; - if (this.anInt1821 < i_177_) this.anInt1821 = i_177_; - } - } - class348_sub49.anInt7197 = i_158_; - this.anInt1821++; - class348_sub49_118_.anInt7197 = i_159_; - class348_sub49_119_.anInt7197 = i_161_; - class348_sub49_120_.anInt7197 = i_162_; - class348_sub49_121_.anInt7197 = i_163_; - class348_sub49_122_.anInt7197 = i_164_; - for (int i_182_ = 0; this.anInt1818 > i_182_; i_182_++) { - int i_183_ = this.aByteArray1823[i_182_] & 0xff; - if (i_183_ == 0) { - this.aShortArray1829[i_182_] = (short) class348_sub49.readUnsignedShort(842397944); - this.aShortArray1849[i_182_] = (short) class348_sub49.readUnsignedShort(842397944); - this.aShortArray1825[i_182_] = (short) class348_sub49.readUnsignedShort(842397944); - } - if (i_183_ == 1) { - this.aShortArray1829[i_182_] = (short) class348_sub49_118_.readUnsignedShort(842397944); - this.aShortArray1849[i_182_] = (short) class348_sub49_118_.readUnsignedShort(842397944); - this.aShortArray1825[i_182_] = (short) class348_sub49_118_.readUnsignedShort(842397944); - if (this.anInt1830 >= 15) { - this.anIntArray1859[i_182_] = class348_sub49_119_.readMedium(-1); - this.anIntArray1816[i_182_] = class348_sub49_119_.readMedium(-1); - this.anIntArray1844[i_182_] = class348_sub49_119_.readMedium(-1); - } else { - this.anIntArray1859[i_182_] = class348_sub49_119_.readUnsignedShort(842397944); - if (this.anInt1830 >= 14) this.anIntArray1816[i_182_] = class348_sub49_119_.readMedium(-1); - else this.anIntArray1816[i_182_] = class348_sub49_119_.readUnsignedShort(842397944); - this.anIntArray1844[i_182_] = class348_sub49_119_.readUnsignedShort(842397944); - } - this.aByteArray1833[i_182_] = class348_sub49_120_.readByte(-86); - this.aByteArray1853[i_182_] = class348_sub49_121_.readByte(-116); - this.anIntArray1867[i_182_] = class348_sub49_122_.readByte(-79); - } - if (i_183_ == 2) { - this.aShortArray1829[i_182_] = (short) class348_sub49_118_.readUnsignedShort(842397944); - this.aShortArray1849[i_182_] = (short) class348_sub49_118_.readUnsignedShort(842397944); - this.aShortArray1825[i_182_] = (short) class348_sub49_118_.readUnsignedShort(842397944); - if (this.anInt1830 >= 15) { - this.anIntArray1859[i_182_] = class348_sub49_119_.readMedium(-1); - this.anIntArray1816[i_182_] = class348_sub49_119_.readMedium(-1); - this.anIntArray1844[i_182_] = class348_sub49_119_.readMedium(-1); - } else { - this.anIntArray1859[i_182_] = class348_sub49_119_.readUnsignedShort(842397944); - if (this.anInt1830 < 14) this.anIntArray1816[i_182_] = class348_sub49_119_.readUnsignedShort(842397944); - else this.anIntArray1816[i_182_] = class348_sub49_119_.readMedium(-1); - this.anIntArray1844[i_182_] = class348_sub49_119_.readUnsignedShort(842397944); - } - this.aByteArray1833[i_182_] = class348_sub49_120_.readByte(-97); - this.aByteArray1853[i_182_] = class348_sub49_121_.readByte(-100); - this.anIntArray1867[i_182_] = class348_sub49_122_.readByte(-124); - this.anIntArray1857[i_182_] = class348_sub49_122_.readByte(-112); - this.anIntArray1865[i_182_] = class348_sub49_122_.readByte(-114); - } - if (i_183_ == 3) { - this.aShortArray1829[i_182_] = (short) class348_sub49_118_.readUnsignedShort(842397944); - this.aShortArray1849[i_182_] = (short) class348_sub49_118_.readUnsignedShort(842397944); - this.aShortArray1825[i_182_] = (short) class348_sub49_118_.readUnsignedShort(842397944); - if (this.anInt1830 < 15) { - this.anIntArray1859[i_182_] = class348_sub49_119_.readUnsignedShort(842397944); - if (this.anInt1830 < 14) this.anIntArray1816[i_182_] = class348_sub49_119_.readUnsignedShort(842397944); - else this.anIntArray1816[i_182_] = class348_sub49_119_.readMedium(-1); - this.anIntArray1844[i_182_] = class348_sub49_119_.readUnsignedShort(842397944); - } else { - this.anIntArray1859[i_182_] = class348_sub49_119_.readMedium(-1); - this.anIntArray1816[i_182_] = class348_sub49_119_.readMedium(-1); - this.anIntArray1844[i_182_] = class348_sub49_119_.readMedium(-1); - } - this.aByteArray1833[i_182_] = class348_sub49_120_.readByte(-104); - this.aByteArray1853[i_182_] = class348_sub49_121_.readByte(-127); - this.anIntArray1867[i_182_] = class348_sub49_122_.readByte(-109); - } - } - class348_sub49.anInt7197 = i_165_; - if (bool_125_) { - int i_184_ = class348_sub49.readUnsignedByte(255); - if (i_184_ > 0) { - this.aClass129Array1846 = new Class129[i_184_]; - for (int i_185_ = 0; i_184_ > i_185_; i_185_++) { - int i_186_ = class348_sub49.readUnsignedShort(842397944); - int i_187_ = class348_sub49.readUnsignedShort(842397944); - byte i_188_; - if (i_128_ != 255) i_188_ = (byte) i_128_; - else i_188_ = this.aByteArray1839[i_187_]; - this.aClass129Array1846[i_185_] = (new Class129(i_186_, this.aShortArray1863[i_187_], this.aShortArray1835[i_187_], this.aShortArray1855[i_187_], i_188_)); - } - } - int i_189_ = class348_sub49.readUnsignedByte(255); - if (i_189_ > 0) { - this.aClass342Array1866 = new Class342[i_189_]; - for (int i_190_ = 0; i_189_ > i_190_; i_190_++) { - int i_191_ = class348_sub49.readUnsignedShort(842397944); - int i_192_ = class348_sub49.readUnsignedShort(842397944); - this.aClass342Array1866[i_190_] = new Class342(i_191_, i_192_); - } - } - } - if (bool_126_) { - int i_193_ = class348_sub49.readUnsignedByte(255); - if (i_193_ > 0) { - this.aClass162Array1832 = new Class162[i_193_]; - for (int i_194_ = 0; i_193_ > i_194_; i_194_++) { - int i_195_ = class348_sub49.readUnsignedShort(842397944); - int i_196_ = class348_sub49.readUnsignedShort(842397944); - int i_197_ = class348_sub49.readUnsignedByte(255); - byte i_198_ = class348_sub49.readByte(-127); - this.aClass162Array1832[i_194_] = new Class162(i_195_, i_196_, i_197_, i_198_); - } - } - } - } - - final void method1107(int i, int i_199_, int i_200_, int i_201_) { - if (i_200_ != 0) { - int i_202_ = Class70.anIntArray1207[i_200_]; - int i_203_ = Class70.anIntArray1204[i_200_]; - for (int i_204_ = 0; i_204_ < this.anInt1836; i_204_++) { - int i_205_ = ((i_203_ * this.anIntArray1841[i_204_] + this.anIntArray1847[i_204_] * i_202_) >> 14); - this.anIntArray1847[i_204_] = ((-(this.anIntArray1841[i_204_] * i_202_) + this.anIntArray1847[i_204_] * i_203_) >> 14); - this.anIntArray1841[i_204_] = i_205_; - } - } - if (i != 6875) this.aShortArray1835 = null; - anInt1837++; - if (i_201_ != 0) { - int i_206_ = Class70.anIntArray1207[i_201_]; - int i_207_ = Class70.anIntArray1204[i_201_]; - for (int i_208_ = 0; i_208_ < this.anInt1836; i_208_++) { - int i_209_ = ((this.anIntArray1847[i_208_] * i_207_ + -(i_206_ * this.anIntArray1852[i_208_])) >> 14); - this.anIntArray1852[i_208_] = ((this.anIntArray1847[i_208_] * i_206_ - -(i_207_ * this.anIntArray1852[i_208_])) >> 14); - this.anIntArray1847[i_208_] = i_209_; - } - } - if (i_199_ != 0) { - int i_210_ = Class70.anIntArray1207[i_199_]; - int i_211_ = Class70.anIntArray1204[i_199_]; - for (int i_212_ = 0; this.anInt1836 > i_212_; i_212_++) { - int i_213_ = ((i_211_ * this.anIntArray1841[i_212_] + this.anIntArray1852[i_212_] * i_210_) >> 14); - this.anIntArray1852[i_212_] = ((i_211_ * this.anIntArray1852[i_212_] + -(this.anIntArray1841[i_212_] * i_210_)) >> 14); - this.anIntArray1841[i_212_] = i_213_; - } - } - } - - public Class124() { - this.anInt1817 = 0; - this.aByte1851 = (byte) 0; - this.anInt1821 = 0; - this.anInt1818 = 0; - } - - Class124(byte[] is) { - this.anInt1817 = 0; - this.aByte1851 = (byte) 0; - this.anInt1821 = 0; - this.anInt1818 = 0; - if (is[is.length + -1] == -1 && is[-2 + is.length] == -1) method1106(is, (byte) 93); - else method1103(1, is); - } - - static final void method1108(byte i, Canvas canvas) { - anInt1850++; - Dimension dimension = canvas.getSize(); - if (i != -99) method1096(57); - Class85.method828((byte) 38, dimension.height, dimension.width); - if (Class348_Sub49.anInt7207 != 1) Class21.aHa326.method3643(canvas, Class59_Sub1.anInt5283, Class107.anInt1651); - else Class21.aHa326.method3643(canvas, Class348_Sub16_Sub1.anInt8854, Class239_Sub16.anInt6008); - } - - Class124(int i, int i_214_, int i_215_) { - this.anInt1817 = 0; - this.aByte1851 = (byte) 0; - this.anInt1821 = 0; - this.anInt1818 = 0; - this.aByteArray1820 = new byte[i_214_]; - this.aShortArray1863 = new short[i_214_]; - this.aShortArray1862 = new short[i_214_]; - this.anIntArray1868 = new int[i]; - this.anIntArray1824 = new int[i_214_]; - this.anIntArray1852 = new int[i]; - if (i_215_ > 0) { - this.anIntArray1857 = new int[i_215_]; - this.anIntArray1867 = new int[i_215_]; - this.aShortArray1849 = new short[i_215_]; - this.anIntArray1844 = new int[i_215_]; - this.aShortArray1825 = new short[i_215_]; - this.anIntArray1865 = new int[i_215_]; - this.aByteArray1833 = new byte[i_215_]; - this.anIntArray1859 = new int[i_215_]; - this.aShortArray1829 = new short[i_215_]; - this.aByteArray1823 = new byte[i_215_]; - this.anIntArray1816 = new int[i_215_]; - this.aByteArray1853 = new byte[i_215_]; - } - this.aShortArray1822 = new short[i_214_]; - this.aByteArray1839 = new byte[i_214_]; - this.aShortArray1855 = new short[i_214_]; - this.aShortArray1835 = new short[i_214_]; - this.anIntArray1841 = new int[i]; - this.aByteArray1843 = new byte[i_214_]; - this.anIntArray1847 = new int[i]; - this.aByteArray1834 = new byte[i_214_]; - } - - Class124(Class124[] class124s, int i) { - this.anInt1817 = 0; - this.aByte1851 = (byte) 0; - this.anInt1821 = 0; - this.anInt1818 = 0; - this.anInt1818 = 0; - this.anInt1817 = 0; - this.anInt1836 = 0; - int i_216_ = 0; - int i_217_ = 0; - int i_218_ = 0; - boolean bool = false; - boolean bool_219_ = false; - boolean bool_220_ = false; - boolean bool_221_ = false; - boolean bool_222_ = false; - this.aByte1851 = (byte) -1; - boolean bool_223_ = false; - for (int i_224_ = 0; i > i_224_; i_224_++) { - Class124 class124_225_ = class124s[i_224_]; - if (class124_225_ != null) { - this.anInt1817 += class124_225_.anInt1817; - this.anInt1836 += class124_225_.anInt1836; - this.anInt1818 += class124_225_.anInt1818; - bool = bool | class124_225_.aByteArray1843 != null; - if (class124_225_.aClass162Array1832 != null) i_218_ += (class124_225_.aClass162Array1832).length; - if (class124_225_.aClass129Array1846 != null) i_216_ += (class124_225_.aClass129Array1846).length; - if (class124_225_.aClass342Array1866 != null) i_217_ += (class124_225_.aClass342Array1866).length; - bool_222_ = (bool_222_ | class124_225_.aShortArray1822 != null); - bool_221_ = (bool_221_ | class124_225_.aByteArray1820 != null); - if (class124_225_.aByteArray1839 == null) { - if (this.aByte1851 == -1) this.aByte1851 = class124_225_.aByte1851; - if (this.aByte1851 != class124_225_.aByte1851) bool_219_ = true; - } else bool_219_ = true; - bool_220_ = (bool_220_ | class124_225_.aByteArray1834 != null); - bool_223_ = (bool_223_ | class124_225_.anIntArray1824 != null); - } - } - this.aShortArray1835 = new short[this.anInt1817]; - if (this.anInt1818 > 0) { - this.aShortArray1829 = new short[this.anInt1818]; - this.aByteArray1823 = new byte[this.anInt1818]; - this.anIntArray1867 = new int[this.anInt1818]; - this.anIntArray1844 = new int[this.anInt1818]; - this.aByteArray1833 = new byte[this.anInt1818]; - this.anIntArray1857 = new int[this.anInt1818]; - this.anIntArray1865 = new int[this.anInt1818]; - this.anIntArray1859 = new int[this.anInt1818]; - this.aByteArray1853 = new byte[this.anInt1818]; - this.aShortArray1849 = new short[this.anInt1818]; - this.anIntArray1816 = new int[this.anInt1818]; - this.aShortArray1825 = new short[this.anInt1818]; - } - this.aShortArray1856 = new short[this.anInt1817]; - if (bool_222_) this.aShortArray1822 = new short[this.anInt1817]; - this.aShortArray1863 = new short[this.anInt1817]; - if (bool_223_) this.anIntArray1824 = new int[this.anInt1817]; - if (bool_219_) this.aByteArray1839 = new byte[this.anInt1817]; - if (bool) this.aByteArray1843 = new byte[this.anInt1817]; - if (i_218_ > 0) this.aClass162Array1832 = new Class162[i_218_]; - if (i_217_ > 0) this.aClass342Array1866 = new Class342[i_217_]; - this.anIntArray1868 = new int[this.anInt1836]; - if (bool_221_) this.aByteArray1820 = new byte[this.anInt1817]; - this.anIntArray1852 = new int[this.anInt1836]; - this.aShortArray1862 = new short[this.anInt1817]; - this.anIntArray1841 = new int[this.anInt1836]; - this.anIntArray1847 = new int[this.anInt1836]; - if (i_216_ > 0) this.aClass129Array1846 = new Class129[i_216_]; - this.aShortArray1855 = new short[this.anInt1817]; - if (bool_220_) this.aByteArray1834 = new byte[this.anInt1817]; - this.aShortArray1842 = new short[this.anInt1836]; - this.anInt1818 = 0; - i_217_ = 0; - i_218_ = 0; - i_216_ = 0; - this.anInt1817 = 0; - this.anInt1836 = 0; - for (int i_226_ = 0; i > i_226_; i_226_++) { - short i_227_ = (short) (1 << i_226_); - Class124 class124_228_ = class124s[i_226_]; - if (class124_228_ != null) { - if (class124_228_.aClass162Array1832 != null) { - for (int i_229_ = 0; (class124_228_.aClass162Array1832.length > i_229_); i_229_++) { - Class162 class162 = (class124_228_.aClass162Array1832[i_229_]); - this.aClass162Array1832[i_218_++] = class162.method1266(5, ((class162.anInt2155) - -(this.anInt1817))); - } - } - for (int i_230_ = 0; class124_228_.anInt1817 > i_230_; i_230_++) { - if (bool && class124_228_.aByteArray1843 != null) this.aByteArray1843[(this.anInt1817)] = (class124_228_.aByteArray1843[i_230_]); - if (bool_219_) { - if (class124_228_.aByteArray1839 != null) this.aByteArray1839[(this.anInt1817)] = (class124_228_.aByteArray1839[i_230_]); - else this.aByteArray1839[(this.anInt1817)] = class124_228_.aByte1851; - } - if (bool_220_ && class124_228_.aByteArray1834 != null) this.aByteArray1834[(this.anInt1817)] = (class124_228_.aByteArray1834[i_230_]); - if (bool_222_) { - if (class124_228_.aShortArray1822 == null) this.aShortArray1822[this.anInt1817] = (short) -1; - else this.aShortArray1822[this.anInt1817] = (class124_228_.aShortArray1822[i_230_]); - } - if (bool_223_) { - if (class124_228_.anIntArray1824 == null) this.anIntArray1824[(this.anInt1817)] = -1; - else this.anIntArray1824[(this.anInt1817)] = (class124_228_.anIntArray1824[i_230_]); - } - this.aShortArray1863[(this.anInt1817)] = (short) method1104(class124_228_, 0, (class124_228_.aShortArray1863[i_230_]), i_227_); - this.aShortArray1835[(this.anInt1817)] = (short) method1104(class124_228_, 0, (class124_228_.aShortArray1835[i_230_]), i_227_); - this.aShortArray1855[(this.anInt1817)] = (short) method1104(class124_228_, 0, (class124_228_.aShortArray1855[i_230_]), i_227_); - this.aShortArray1856[(this.anInt1817)] = i_227_; - this.aShortArray1862[(this.anInt1817)] = class124_228_.aShortArray1862[i_230_]; - this.anInt1817++; - } - if (class124_228_.aClass129Array1846 != null) { - for (int i_231_ = 0; (class124_228_.aClass129Array1846.length > i_231_); i_231_++) { - int i_232_ = method1104(class124_228_, 0, class124_228_.aClass129Array1846[i_231_].anInt1881, i_227_); - int i_233_ = method1104(class124_228_, 0, class124_228_.aClass129Array1846[i_231_].anInt1877, i_227_); - int i_234_ = method1104(class124_228_, 0, class124_228_.aClass129Array1846[i_231_].anInt1892, i_227_); - this.aClass129Array1846[i_216_] = class124_228_.aClass129Array1846[i_231_].method1124(i_233_, -1, i_234_, i_232_); - i_216_++; - } - } - if (class124_228_.aClass342Array1866 != null) { - for (int i_235_ = 0; (class124_228_.aClass342Array1866).length > i_235_; i_235_++) { - int i_236_ = method1104(class124_228_, 0, class124_228_.aClass342Array1866[i_235_].anInt4244, i_227_); - this.aClass342Array1866[i_217_] = class124_228_.aClass342Array1866[i_235_].method2687((byte) 94, i_236_); - i_217_++; - } - } - } - } - int i_237_ = 0; - this.anInt1821 = this.anInt1836; - for (int i_238_ = 0; i > i_238_; i_238_++) { - short i_239_ = (short) (1 << i_238_); - Class124 class124_240_ = class124s[i_238_]; - if (class124_240_ != null) { - for (int i_241_ = 0; class124_240_.anInt1817 > i_241_; i_241_++) { - if (bool_221_) this.aByteArray1820[i_237_++] = (byte) (((class124_240_.aByteArray1820) != null && (class124_240_.aByteArray1820[i_241_]) != -1) ? ((class124_240_.aByteArray1820[i_241_]) + this.anInt1818) : -1); - } - for (int i_242_ = 0; (class124_240_.anInt1818 > i_242_); i_242_++) { - byte i_243_ = (this.aByteArray1823[(this.anInt1818)] = (class124_240_.aByteArray1823[i_242_])); - if (i_243_ == 0) { - this.aShortArray1829[(this.anInt1818)] = (short) method1104(class124_240_, 0, (class124_240_.aShortArray1829[i_242_]), i_239_); - this.aShortArray1849[(this.anInt1818)] = (short) method1104(class124_240_, 0, (class124_240_.aShortArray1849[i_242_]), i_239_); - this.aShortArray1825[(this.anInt1818)] = (short) method1104(class124_240_, 0, (class124_240_.aShortArray1825[i_242_]), i_239_); - } - if (i_243_ >= 1 && i_243_ <= 3) { - this.aShortArray1829[(this.anInt1818)] = (class124_240_.aShortArray1829[i_242_]); - this.aShortArray1849[(this.anInt1818)] = (class124_240_.aShortArray1849[i_242_]); - this.aShortArray1825[(this.anInt1818)] = (class124_240_.aShortArray1825[i_242_]); - this.anIntArray1859[(this.anInt1818)] = (class124_240_.anIntArray1859[i_242_]); - this.anIntArray1816[(this.anInt1818)] = (class124_240_.anIntArray1816[i_242_]); - this.anIntArray1844[(this.anInt1818)] = (class124_240_.anIntArray1844[i_242_]); - this.aByteArray1833[(this.anInt1818)] = (class124_240_.aByteArray1833[i_242_]); - this.aByteArray1853[(this.anInt1818)] = (class124_240_.aByteArray1853[i_242_]); - this.anIntArray1867[(this.anInt1818)] = (class124_240_.anIntArray1867[i_242_]); - } - if (i_243_ == 2) { - this.anIntArray1857[(this.anInt1818)] = (class124_240_.anIntArray1857[i_242_]); - this.anIntArray1865[(this.anInt1818)] = (class124_240_.anIntArray1865[i_242_]); - } - this.anInt1818++; - } - } - } - } -} diff --git a/client/src/Class125.java b/client/src/Class125.java deleted file mode 100644 index fbb69ece6..000000000 --- a/client/src/Class125.java +++ /dev/null @@ -1,80 +0,0 @@ -/* Class125 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class125 implements Interface12 { - int anInt4913; - boolean aBoolean4914; - static Class356 aClass356_4915; - static int anInt4916; - int anInt4917; - int anInt4918; - static int anInt4919 = 0; - int anInt4920; - static Class323 aClass323_4921; - Class221 aClass221_4922; - int anInt4923; - int anInt4924; - Class341 aClass341_4925; - static int anInt4926; - static int anInt4927; - int anInt4928; - int anInt4929; - static int anInt4930 = 0; - - public static void method1109(byte i) { - aClass323_4921 = null; - if (i != -22) method1111(127, -73, -7, -77, -85, 79); - aClass356_4915 = null; - } - - public final Class223 method51(byte i) { - if (i <= 116) return null; - anInt4927++; - return Class101_Sub1.aClass223_5689; - } - - static final boolean method1110(int i, int i_0_, int i_1_, byte i_2_, int i_3_) { - anInt4916++; - if (!Class348_Sub40_Sub23.aBoolean9307 || !Class23.aBoolean351) return false; - if (Class225.anInt2946 < 100) return false; - if (!aa_Sub2.method164(i_1_, i_3_, (byte) -97, i)) return false; - int i_4_ = i_3_ << Class362.anInt4459; - int i_5_ = i << Class362.anInt4459; - if (i_2_ != -79) anInt4919 = 64; - if (Class121.method1084(i_0_, Class270.anInt3465, i_5_, i_4_, aa_Sub1.aSArray5191[i_1_].method3982((byte) -86, i, i_3_), Class270.anInt3465, 18507)) { - Class348_Sub40_Sub4.anInt9112++; - return true; - } - return false; - } - - static final void method1111(int i, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_) { - for (int i_11_ = i_9_; i >= i_11_; i_11_++) - Class135_Sub2.method1156(-27, i_7_, Class17.anIntArrayArray255[i_11_], i_8_, i_10_); - if (i_6_ != 0) anInt4930 = 29; - anInt4926++; - } - - Class125(int i, Class221 class221, Class341 class341, int i_12_, int i_13_, int i_14_, int i_15_, int i_16_, int i_17_, int i_18_, boolean bool) { - try { - this.aBoolean4914 = bool; - this.anInt4923 = i_15_; - this.anInt4918 = i; - this.anInt4924 = i_12_; - this.anInt4913 = i_16_; - this.anInt4929 = i_14_; - this.anInt4920 = i_13_; - this.anInt4917 = i_18_; - this.aClass341_4925 = class341; - this.anInt4928 = i_17_; - this.aClass221_4922 = class221; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("nha.(" + i + ',' + (class221 != null ? "{...}" : "null") + ',' + (class341 != null ? "{...}" : "null") + ',' + i_12_ + ',' + i_13_ + ',' + i_14_ + ',' + i_15_ + ',' + i_16_ + ',' + i_17_ + ',' + i_18_ + ',' + bool + ')')); - } - } - - static { - aClass356_4915 = new Class356(8); - } -} diff --git a/client/src/Class126.java b/client/src/Class126.java deleted file mode 100644 index 5a828f07e..000000000 --- a/client/src/Class126.java +++ /dev/null @@ -1,80 +0,0 @@ -/* Class126 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class126 implements Interface14 { - int anInt4981; - int anInt4982; - static int[] anIntArray4983; - static Class45 aClass45_4984; - static int anInt4985 = 0; - static int anInt4986; - static Class267[] aClass267Array4987; - static int anInt4988; - int anInt4989; - boolean aBoolean4990; - int anInt4991; - int anInt4992; - int anInt4993; - static int anInt4994; - static int anInt4995; - - public static void method1112(int i) { - if (i != 1) aClass267Array4987 = null; - aClass45_4984 = null; - anIntArray4983 = null; - aClass267Array4987 = null; - } - - static final boolean method1113(int i, int i_0_, int i_1_) { - anInt4995++; - if (i_1_ >= -3) aClass45_4984 = null; - return (Class188.method1412((byte) -35, i_0_, i) & (Class274.method2058(i, i_0_, 72) | (i & 0x2000) != 0 | Class348_Sub42_Sub9.method3203(i_0_, (byte) 114, i))); - } - - public final long method52(byte i) { - anInt4988++; - long[] ls = Class348_Sub40_Sub21.aLongArray9283; - long l = -1L; - l = (ls[(int) ((l ^ (long) this.anInt4991) & 0xffL)] ^ l >>> 8); - l = (l >>> 8 ^ ls[(int) (0xffL & ((long) (this.anInt4992 >> 8) ^ l))]); - l = (l >>> 8 ^ ls[(int) ((l ^ (long) this.anInt4992) & 0xffL)]); - l = (l >>> 8 ^ ls[(int) (0xffL & (l ^ (long) (this.anInt4989 >> 24)))]); - l = ls[(int) (0xffL & ((long) (this.anInt4989 >> 16) ^ l))] ^ l >>> 8; - l = (l >>> 8 ^ ls[(int) (0xffL & (l ^ (long) (this.anInt4989 >> 8)))]); - l = (l >>> 8 ^ ls[(int) ((l ^ (long) this.anInt4989) & 0xffL)]); - l = (l >>> 8 ^ ls[(int) (0xffL & ((long) this.anInt4993 ^ l))]); - l = ls[(int) ((l ^ (long) (this.anInt4982 >> 24)) & 0xffL)] ^ l >>> 8; - l = (l >>> 8 ^ ls[(int) ((l ^ (long) (this.anInt4982 >> 16)) & 0xffL)]); - if (i < 46) return -94L; - l = ls[(int) ((l ^ (long) (this.anInt4982 >> 8)) & 0xffL)] ^ l >>> 8; - l = (l >>> 8 ^ ls[(int) (0xffL & ((long) this.anInt4982 ^ l))]); - l = (ls[(int) (0xffL & (l ^ (long) this.anInt4981))] ^ l >>> 8); - l = (l >>> 8 ^ ls[(int) (0xffL & ((long) (this.aBoolean4990 ? 1 : 0) ^ l))]); - return l; - } - - static final void method1114(int i, int i_2_) { - anInt4986++; - if (i < 0 || i > 2) i = 0; - Class348_Sub6.anInt6637 = i; - Class348_Sub51.aClass318_Sub10Array7249 = new Class318_Sub10[1 + (Class348_Sub42_Sub9.anIntArray9558[Class348_Sub6.anInt6637])]; - Class258_Sub3.anInt8550 = 0; - if (i_2_ >= -118) method1114(-43, -71); - Class376.anInt4559 = 0; - } - - public final boolean method53(int i, Interface14 interface14) { - anInt4994++; - if (!(interface14 instanceof Class126)) return false; - Class126 class126_3_ = (Class126) interface14; - if (this.anInt4991 != class126_3_.anInt4991) return false; - if (i <= 50) return true; - if (this.anInt4992 != class126_3_.anInt4992) return false; - if (this.anInt4989 != class126_3_.anInt4989) return false; - if (this.anInt4993 != class126_3_.anInt4993) return false; - if (class126_3_.anInt4982 != this.anInt4982) return false; - if (this.anInt4981 != class126_3_.anInt4981) return false; - return !class126_3_.aBoolean4990 == !this.aBoolean4990; - } -} diff --git a/client/src/Class127.java b/client/src/Class127.java deleted file mode 100644 index 887f0597f..000000000 --- a/client/src/Class127.java +++ /dev/null @@ -1,69 +0,0 @@ -/* Class127 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -class Class127 implements Interface1 { - static int anInt4652; - static int anInt4653; - static int[] anIntArray4654; - Class105 aClass105_4655; - static int anInt4656 = 0; - static int anInt4657; - static int anInt4658; - Class288 aClass288_4659; - static int anInt4660; - private final Class45 aClass45_4661; - static int anInt4662; - - public final boolean method8(byte i) { - int i_0_ = -79 / ((i - 25) / 52); - anInt4658++; - return aClass45_4661.method421(false, (this.aClass288_4659.anInt4958)); - } - - public void method9(byte i, boolean bool) { - anInt4653++; - if (bool) { - int i_1_ = ((this.aClass288_4659.aClass221_4955.method1607(Class92.anInt1524, this.aClass105_4655.method966(), (byte) -117)) + this.aClass288_4659.anInt4950); - int i_2_ = ((this.aClass288_4659.aClass341_4952.method2679(ha_Sub2.anInt7666, this.aClass105_4655.method980(), 1595)) - -this.aClass288_4659.anInt4951); - this.aClass105_4655.method974(i_1_, i_2_); - } - if (i != -49) anInt4656 = 26; - } - - static final int method1115(int i, int i_3_, byte i_4_) { - anInt4652++; - int i_5_ = i - -(57 * i_3_); - i_5_ ^= i_5_ << 13; - int i_6_ = -76 / ((i_4_ - 22) / 60); - int i_7_ = 1376312589 + i_5_ * (15731 * i_5_ * i_5_ + 789221) & 0x7fffffff; - return (i_7_ & 0x7fa112f) >> 19; - } - - static final void method1116(int i, int i_8_, int i_9_, int i_10_, byte i_11_) { - if (Class369.anInt4960 > i_9_ + -i_10_ || Class113.anInt1745 < i_10_ + i_9_ || Class132.anInt1910 > i - i_10_ || i - -i_10_ > Class38.anInt513) Class6.method203(-107, i_9_, i_8_, i, i_10_); - else Class14_Sub4.method253(i, i_9_, -648, i_8_, i_10_); - anInt4662++; - int i_12_ = -68 / ((40 - i_11_) / 36); - } - - public static void method1117(int i) { - anIntArray4654 = null; - int i_13_ = -13 / ((i - 57) / 47); - } - - public final void method7(int i) { - if (i != 10286) anInt4656 = -123; - this.aClass105_4655 = Class369_Sub3_Sub1.method3577((this.aClass288_4659.anInt4958), (byte) -60, aClass45_4661); - anInt4660++; - } - - Class127(Class45 class45, Class288 class288) { - try { - aClass45_4661 = class45; - this.aClass288_4659 = class288; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("nl.(" + (class45 != null ? "{...}" : "null") + ',' + (class288 != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class127_Sub1.java b/client/src/Class127_Sub1.java deleted file mode 100644 index 4d725e6c1..000000000 --- a/client/src/Class127_Sub1.java +++ /dev/null @@ -1,87 +0,0 @@ -/* Class127_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.lang.reflect.Method; - -final class Class127_Sub1 extends Class127 { - static Class271 aClass271_8378; - static int anInt8379; - static int anInt8380; - static int anInt8381; - static int anInt8382; - private int anInt8383 = 0; - static Class114 aClass114_8384 = new Class114(18, 0); - static Class114 aClass114_8385; - static boolean aBoolean8386 = false; - static int anInt8387; - static int anInt8388; - /*synthetic*/ static Class aClass8389; - - public final void method9(byte i, boolean bool) { - anInt8379++; - int i_0_ = ((this.aClass288_4659.aClass221_4955.method1607(Class92.anInt1524, this.aClass105_4655.method966(), (byte) -117)) - -this.aClass288_4659.anInt4950); - int i_1_ = ((this.aClass288_4659.aClass341_4952.method2679(ha_Sub2.anInt7666, this.aClass105_4655.method980(), 1595)) + this.aClass288_4659.anInt4951); - this.aClass105_4655.method981((float) (this.aClass105_4655.method966() / 2 + i_0_), (float) (this.aClass105_4655.method980() / 2 + i_1_), 4096, anInt8383); - anInt8383 += ((Class288_Sub1) this.aClass288_4659).anInt8577; - if (i != -49) method9((byte) -26, true); - } - - static final void method1118(boolean bool, boolean bool_2_, Class348_Sub41 class348_sub41, int i) { - anInt8382++; - int i_3_ = class348_sub41.anInt7050; - int i_4_ = (int) class348_sub41.aLong4291; - if (i == 2533) { - class348_sub41.method2715((byte) 35); - if (bool) Class14.method235(i_3_, (byte) -116); - Class166.method1288(i ^ ~0x9e2, i_3_); - Class46 class46 = Class324.method2570(1512932720, i_4_); - if (class46 != null) Class251.method1916(-9343, class46); - Class348_Sub42_Sub17.method3270((byte) 119); - if (!bool_2_ && r.anInt9721 != -1) Class239_Sub12.method1775((byte) -8, r.anInt9721, 1); - Class333 class333 = new Class333(Class125.aClass356_4915); - for (Class348_Sub41 class348_sub41_5_ = (Class348_Sub41) class333.method2644((byte) 123); class348_sub41_5_ != null; class348_sub41_5_ = (Class348_Sub41) class333.method2646((byte) 99)) { - if (!class348_sub41_5_.method2712((byte) 4)) { - class348_sub41_5_ = (Class348_Sub41) class333.method2644((byte) 123); - if (class348_sub41_5_ == null) break; - } - if (class348_sub41_5_.anInt7053 == 3) { - int i_6_ = (int) class348_sub41_5_.aLong4291; - if (i_3_ == i_6_ >>> 16) method1118(true, bool_2_, class348_sub41_5_, 2533); - } - } - } - } - - Class127_Sub1(Class45 class45, Class288_Sub1 class288_sub1) { - super(class45, class288_sub1); - } - - static final void method1119(boolean bool) { - anInt8381++; - try { - if (bool != false) method1118(false, false, null, -35); - try { - Runtime runtime = Runtime.getRuntime(); - Integer integer = runtime.availableProcessors(); - Class348_Sub40_Sub29.anInt9372 = integer.intValue(); - } catch (Throwable throwable) { - /* empty */ - } - } catch (Exception exception) { - /* empty */ - } - } - - public static void method1120(int i) { - aClass114_8384 = null; - aClass271_8378 = null; - aClass114_8385 = null; - if (i != 1) method1119(true); - } - - static { - aClass114_8385 = new Class114(10, -2); - anInt8388 = 0; - } -} diff --git a/client/src/Class128.java b/client/src/Class128.java deleted file mode 100644 index 7da082dd9..000000000 --- a/client/src/Class128.java +++ /dev/null @@ -1,26 +0,0 @@ -/* Class128 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class128 { - static int anInt1870; - static Class114 aClass114_1871 = new Class114(52, -1); - static int anInt1872 = 0; - - static final void method1122(int i) { - for (int i_0_ = i; i_0_ < 5; i_0_++) - Class181.aBooleanArray2374[i_0_] = false; - anInt1870++; - Class9.anInt167 = Class318_Sub1_Sub5_Sub2.anInt10163 = -1; - Class348_Sub40_Sub21.anInt9282 = 1; - za_Sub1.anInt9775 = -1; - Class239_Sub12.anInt5973 = 0; - Class292.anInt4803 = -1; - Class367_Sub11.anInt7403 = 0; - } - - public static void method1123(int i) { - aClass114_1871 = null; - if (i != -1) method1122(-78); - } -} diff --git a/client/src/Class129.java b/client/src/Class129.java deleted file mode 100644 index 28e92157d..000000000 --- a/client/src/Class129.java +++ /dev/null @@ -1,63 +0,0 @@ -/* Class129 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class129 { - static int anInt1873; - int anInt1874; - byte aByte1875; - int anInt1876; - int anInt1877; - static Class45 aClass45_1878; - static int anInt1879; - int anInt1880; - int anInt1881; - int anInt1882; - int anInt1883; - int anInt1884; - static int[] anIntArray1885 = new int[32]; - private final int anInt1886; - static byte[][] aByteArrayArray1887; - Class129 aClass129_1888; - int anInt1889; - int anInt1890; - int anInt1891; - int anInt1892; - static int anInt1893; - - final Class129 method1124(int i, int i_0_, int i_1_, int i_2_) { - anInt1893++; - if (i_0_ != -1) return null; - return new Class129(anInt1886, i_2_, i, i_1_, this.aByte1875); - } - - final Class181 method1125(byte i) { - anInt1873++; - if (i != 59) this.anInt1880 = -51; - return Class373.method3591(anInt1886, i ^ 0x3b); - } - - public static void method1126(int i) { - if (i == 32) { - aClass45_1878 = null; - aByteArrayArray1887 = null; - anIntArray1885 = null; - } - } - - Class129(int i, int i_3_, int i_4_, int i_5_, byte i_6_) { - anInt1886 = i; - this.aByte1875 = i_6_; - this.anInt1881 = i_3_; - this.anInt1892 = i_5_; - this.anInt1877 = i_4_; - } - - static { - int i = 2; - for (int i_7_ = 0; i_7_ < 32; i_7_++) { - anIntArray1885[i_7_] = -1 + i; - i += i; - } - } -} diff --git a/client/src/Class13.java b/client/src/Class13.java deleted file mode 100644 index bf433ac43..000000000 --- a/client/src/Class13.java +++ /dev/null @@ -1,53 +0,0 @@ -/* Class13 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; - -final class Class13 { - static int anInt219; - static Class114 aClass114_220 = new Class114(40, -1); - static int anInt221; - static int[] anIntArray222; - static Class314_Sub1[] aClass314_Sub1Array223 = new Class314_Sub1[37]; - static int[] anIntArray224; - - public static void method225(byte i) { - if (i > 54) { - aClass114_220 = null; - anIntArray224 = null; - anIntArray222 = null; - aClass314_Sub1Array223 = null; - } - } - - static final void method226(int i, int i_0_, int i_1_, int i_2_, int i_3_) { - for (int i_4_ = i_2_; Class348_Sub38.anInt7008 > i_4_; i_4_++) { - Rectangle rectangle = Class180.aRectangleArray2371[i_4_]; - if (i < rectangle.width + rectangle.x && i_0_ + i > rectangle.x && (i_1_ < rectangle.y - -rectangle.height) && rectangle.y < i_1_ + i_3_) Class152.aBooleanArray2076[i_4_] = true; - } - anInt219++; - Class338.method2663(i_2_ + -5590, i, i - -i_0_, i_1_, i_3_ + i_1_); - } - - static final void method227(Class318_Sub1 class318_sub1, boolean bool, boolean bool_5_) { - class318_sub1.aBoolean6391 = bool_5_; - if (Class348_Sub40_Sub5.aBoolean9121) { - if (bool) Class319.aClass315Array3982[Class319.aClass315Array3982.length - 1].method2353(class318_sub1, false); - else { - int i = Class286_Sub4.method2154(class318_sub1.anInt6386); - int i_6_ = (Class52.anIntArray4906[2] * class318_sub1.method2379(-25675) / class318_sub1.anInt6389); - int i_7_ = Class286_Sub4.method2154((class318_sub1.anInt6386) - i_6_); - int i_8_ = Class286_Sub4.method2154((class318_sub1.anInt6386) + i_6_); - if (i_7_ == i_8_) Class319.aClass315Array3982[i].method2353(class318_sub1, false); - else if (i_8_ - i_7_ == 1) Class319.aClass315Array3982[Class75_Sub1.anInt5652 + i_7_].method2353(class318_sub1, false); - else Class319.aClass315Array3982[Class319.aClass315Array3982.length - 1].method2353(class318_sub1, false); - } - } else Class38.method365(class318_sub1, Class115.aClass348_Sub1Array1752); - } - - static { - anIntArray222 = new int[3]; - anIntArray224 = new int[250]; - } -} diff --git a/client/src/Class130.java b/client/src/Class130.java deleted file mode 100644 index be8e222ef..000000000 --- a/client/src/Class130.java +++ /dev/null @@ -1,71 +0,0 @@ -/* Class130 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class130 { - static Class60 aClass60_1894 = new Class60(5); - static Class356 aClass356_1895 = new Class356(64); - static int anInt1896; - static Class45 aClass45_1897; - static int anInt1898; - static boolean aBoolean1899 = false; - static boolean aBoolean1900 = false; - - public static void method1127(int i) { - aClass45_1897 = null; - aClass356_1895 = null; - if (i == 5125) aClass60_1894 = null; - } - - public Class130() { - /* empty */ - } - - static final int method1128(int i, Class68 class68) { - anInt1896++; - if (Class68.aClass68_1179 != class68) { - if (class68 != Class68.aClass68_1181) { - if (class68 == Class68.aClass68_1182) return 5124; - if (Class68.aClass68_1183 != class68) { - if (class68 != Class68.aClass68_1184) { - if (class68 == Class68.aClass68_1185) return 5125; - if (Class68.aClass68_1186 != class68) { - if (Class68.aClass68_1187 == class68) return 5126; - } else return 5131; - } else return 5123; - } else return 5121; - } else return 5122; - } else return 5120; - if (i > -19) method1129(-7, -90); - throw new IllegalArgumentException(""); - } - - static final void method1129(int i, int i_0_) { - Class367_Sub9.anInt7379 = 3; - Class164.anInt2173 = i_0_; - Class34.anInt481 = -1; - Class348_Sub40_Sub30.anInt9399 = i; - anInt1898++; - } - - static final boolean method1130(r var_r, int i, int i_1_, int i_2_, boolean[] bools) { - boolean bool = false; - if (aa_Sub1.aSArray5191 != Class332.aSArray4142) { - int i_3_ = Class348_Sub1_Sub1.aSArray8801[i].method3986(i_1_, i_2_, (byte) -109); - int i_4_ = 0; - for (/**/; i_4_ <= i; i_4_++) { - s var_s = Class348_Sub1_Sub1.aSArray8801[i_4_]; - if (var_s != null) { - int i_5_ = i_3_ - var_s.method3986(i_1_, i_2_, (byte) 72); - if (bools != null) { - bools[i_4_] = var_s.method3989(var_r, i_1_, i_5_, i_2_, 0, false); - if (!bools[i_4_]) continue; - } - var_s.CA(var_r, i_1_, i_5_, i_2_, 0, false); - bool = true; - } - } - } - return bool; - } -} diff --git a/client/src/Class130_Sub1.java b/client/src/Class130_Sub1.java deleted file mode 100644 index 57fd10612..000000000 --- a/client/src/Class130_Sub1.java +++ /dev/null @@ -1,4193 +0,0 @@ -// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov. -// Jad home page: http://www.kpdus.com/jad.html -// Decompiler options: packimports(3) -// Source File Name: Class130_Sub1.java - - -final class Class130_Sub1 extends Class130 { - - static final void method1131(int i) { - int j = 64 / ((11 - i) / 54); - anInt5795++; - Class60.aHa1098.L(Class187.anInt2500, Class316.aClass348_Sub51_3959.aClass239_Sub16_7247.method1789(-32350) != 1 ? -1 : Class36.anInt486 - -256 << 2, 0); - } - - static final boolean method1132(int i, int j, int k) { - if (i != 1673) return true; - anInt5796++; - return Class348_Sub42_Sub8.method3194(k, j, (byte) 124) || Class183.method1379(4, j, k); - } - - public static void method1133(int i) { - if (i <= 38) anInt5799 = 61; - aClass144_5800 = null; - } - - Class130_Sub1(Class58[] aclass58) { - aClass58Array5801 = aclass58; - } - - static final void method1134(int i) { - Class348_Sub49.method3379(2, 11); - anInt5802++; - if (i < 28) aClass144_5800 = null; - Class301.method2282(-12648); - System.gc(); - } - - static final void method1135(int i) { - Class95.aClass45_1541.anInt634 = 1; - anInt5798++; - Class348_Sub42_Sub10.method3211((byte) -119); - Class101_Sub2.anInt5740 = 0; - Class225.anInt2933 = 0; - ha_Sub2.anInt7661 = 0; - Class143.anInt1991 = 0; - Class246.anInt3175 = 0; - Class348_Sub51.anInt7266 = 0; - Applet_Sub1.anInt6 = 0; - Class348.anInt4289 = 0; - Class278.anInt3584 = 0; - Class60.anInt1085 = 0; - Class124.anInt1827 = 0; - Class188.anInt2519 = 0; - Class376.anInt4551 = 0; - Class14.anInt5098 = 0; - Class286_Sub4.anInt6245 = 0; - Class233.anInt3021 = 0; - Class73.anInt4781 = 0; - Class173.anInt2283 = 0; - Class285_Sub1.anInt8495 = 0; - Class367_Sub4.anInt7309 = 0; - Class348_Sub40_Sub35.anInt9446 = 0; - Class348_Sub40_Sub18.anInt9246 = 0; - Class318_Sub1_Sub5_Sub2.anInt10154 = 0; - Class262.anInt3332 = 0; - Class52.anInt4902 = 0; - Class330.anInt4110 = 0; - Class348_Sub5_Sub1.anInt8828 = 0; - s_Sub2.anInt8262 = 0; - Class318_Sub1_Sub3_Sub1.anInt10004 = 0; - Class322.anInt4018 = 0; - Class253.anInt3247 = 0; - InputStream_Sub1.anInt73 = 0; - Class101_Sub2.anInt5719 = 0; - Class318_Sub1_Sub4_Sub2.anInt10111 = 0; - Class318_Sub1_Sub1_Sub2.anInt9987 = 0; - Class299.anInt3814 = 0; - Class282.anInt3653 = 0; - Class64_Sub2.anInt5488 = 0; - Class354.anInt4354 = 0; - Class239_Sub20.anInt6055 = 0; - Class377.anInt9897 = 0; - Class348_Sub40_Sub6.anInt9137 = 0; - Class5_Sub2.anInt8357 = 0; - Class338.anInt4195 = 0; - Class367_Sub8.anInt7349 = 0; - Class348_Sub42.anInt7064 = 0; - Class64_Sub2.anInt5468 = 0; - Class318_Sub1_Sub4_Sub1.anInt10089 = 0; - Class311.anInt3899 = 0; - ha_Sub2.anInt7624 = 0; - Class239_Sub2.anInt5851 = 0; - Class286_Sub5.anInt6261 = 0; - Class348_Sub5.anInt6619 = 0; - Class203.anInt2672 = 0; - Class348_Sub23_Sub2.anInt9026 = 0; - Class264.anInt3377 = 0; - Class239_Sub26.anInt6123 = 0; - ha_Sub2.anInt7690 = 0; - Class348_Sub42_Sub8.anInt9546 = 0; - Class239_Sub16.anInt6017 = 0; - aa_Sub3.anInt5203 = 0; - Class186_Sub1.anInt5810 = 0; - Class286_Sub5.anInt6251 = 0; - Class170.anInt5080 = 0; - Applet_Sub1.anInt19 = 0; - Class60.anInt1093 = 0; - Class177.anInt4667 = 0; - Class14_Sub4.anInt8641 = 0; - Class206.anInt4880 = 0; - Class288.anInt4957 = 0; - Class45.anInt657 = 0; - Applet_Sub1.anInt12 = 0; - Class318_Sub1_Sub5_Sub1.anInt10123 = 0; - Class244.anInt4618 = 0; - Class348_Sub49.anInt7166 = 0; - Class281.anInt3646 = 0; - Npc.anInt10504 = 0; - Player.anInt10547 = 0; - Class239_Sub21.anInt6059 = 0; - Class202.anInt2646 = 0; - Class64_Sub2.anInt5480 = 0; - Class367_Sub10.anInt7384 = 0; - Class265.anInt4690 = 0; - Class107.anInt1648 = 0; - Class84.anInt1455 = 0; - Class348_Sub16_Sub3.anInt8940 = 0; - Class135_Sub2.anInt4833 = 0; - Class46.anInt825 = 0; - Class59_Sub2.anInt5304 = 0; - Class243.anInt3162 = 0; - Class348_Sub23_Sub1.anInt8999 = 0; - Class243.anInt3160 = 0; - Class324.anInt4054 = 0; - Class367_Sub10.anInt7389 = 0; - Npc.anInt10496 = 0; - Class377.anInt9842 = 0; - ha_Sub3.anInt7914 = 0; - Class206.anInt4876 = 0; - Class354.anInt4357 = 0; - Class367_Sub8.anInt7360 = 0; - Class348_Sub49_Sub1.anInt9744 = 0; - Class279.anInt3609 = 0; - Class105_Sub2.anInt8426 = 0; - Class183.anInt2460 = 0; - Class88.anInt1493 = 0; - Class348_Sub23_Sub1.anInt8998 = 0; - Class22.anInt329 = 0; - ha_Sub2.anInt7596 = 0; - Class79.anInt1341 = 0; - Class318_Sub1_Sub3_Sub3.anInt10311 = 0; - ha_Sub3.anInt8026 = 0; - Class268.anInt3431 = 0; - Class348_Sub45.anInt7104 = 0; - Class283.anInt3656 = 0; - Class348_Sub40_Sub22.anInt9295 = 0; - Class64.anInt1132 = 0; - Class231.anInt2990 = 0; - Class348_Sub46.anInt7114 = 0; - Class5_Sub1.anInt8337 = 0; - Class348_Sub29.anInt6910 = 0; - Class339.anInt4203 = 0; - Class302.anInt3836 = 0; - Class64_Sub3.anInt5562 = 0; - Class348_Sub41.anInt7047 = 0; - Class199.anInt2628 = 0; - Class168.anInt2253 = 0; - Class348_Sub16_Sub2.anInt8865 = 0; - Class367_Sub11.anInt7410 = 0; - Class286_Sub9.anInt6307 = 0; - s_Sub3.anInt8304 = 0; - Class14_Sub3.anInt8625 = 0; - Class348_Sub22.anInt6858 = 0; - Class5_Sub3.anInt8367 = 0; - Class373_Sub2.anInt7434 = 0; - Class318_Sub1_Sub4_Sub2.anInt10102 = 0; - ha_Sub2.anInt7552 = 0; - Class64_Sub3.anInt5585 = 0; - Class58.anInt1066 = 0; - Class348_Sub42_Sub10.anInt9560 = 0; - Class376.anInt4553 = 0; - Class363.anInt4465 = 0; - Class347.anInt4280 = 0; - Class239_Sub2.anInt5854 = 0; - Class348_Sub16_Sub2.anInt8881 = 0; - Class318_Sub1_Sub4_Sub2.anInt10104 = 0; - Class318_Sub1_Sub5_Sub2.anInt10170 = 0; - Player.anInt10518 = 0; - Class106.anInt1632 = 0; - ha_Sub2.anInt7632 = 0; - Class48.anInt849 = 0; - Class377.anInt9818 = 0; - Class64_Sub2.anInt5409 = 0; - Class161.anInt2140 = 0; - Player.anInt10559 = 0; - Class141.anInt1969 = 0; - Class254.anInt3260 = 0; - Class14_Sub1.anInt8609 = 0; - Class318_Sub4.anInt6413 = 0; - Class79.anInt1351 = 0; - Class348_Sub40_Sub29.anInt9371 = 0; - Class205.anInt2689 = 0; - Class318_Sub1_Sub1_Sub1.anInt9962 = 0; - Class194.anInt2598 = 0; - Class377.anInt9824 = 0; - Class324.anInt4051 = 0; - Class348_Sub42_Sub7.anInt9540 = 0; - Class348_Sub16_Sub3.anInt8951 = 0; - Class318_Sub1_Sub3_Sub1.anInt10007 = 0; - Class352.anInt4334 = 0; - ha_Sub3.anInt8054 = 0; - Class59_Sub1.anInt5286 = 0; - Class18.anInt288 = 0; - Class230.anInt2982 = 0; - Class61.anInt1105 = 0; - Class318_Sub1_Sub4_Sub1.anInt10091 = 0; - Class135.anInt1922 = 0; - Class348_Sub40_Sub1.anInt9093 = 0; - ha_Sub2.anInt7633 = 0; - Class101_Sub3.anInt5773 = 0; - Class348_Sub40_Sub26.anInt9350 = 0; - Class33.anInt461 = 0; - Class5_Sub3.anInt8377 = 0; - Class262.anInt3330 = 0; - Class348_Sub40_Sub26.anInt9353 = 0; - Class300.anInt3824 = 0; - Class239_Sub10.anInt5947 = 0; - Class239_Sub2.anInt5855 = 0; - Class348_Sub40_Sub33.anInt9425 = 0; - ha_Sub2.anInt7625 = 0; - Class348_Sub40_Sub1.anInt9087 = 0; - Class5_Sub1.anInt8334 = 0; - s_Sub2.anInt8244 = 0; - Class14_Sub1.anInt8617 = 0; - Class124.anInt1861 = 0; - Class348_Sub18.anInt6822 = 0; - Class219.anInt2865 = 0; - Class13.anInt219 = 0; - Class55.anInt994 = 0; - s_Sub3.anInt8290 = 0; - Class64_Sub3.anInt5577 = 0; - ha_Sub2.anInt7647 = 0; - Class286_Sub2.anInt6209 = 0; - Class161.anInt2149 = 0; - Class318_Sub1_Sub2.anInt8734 = 0; - Class294.anInt5027 = 0; - Class34.anInt471 = 0; - Class46.anInt766 = 0; - Class29.anInt402 = 0; - Class348_Sub43.anInt7073 = 0; - Class267.anInt3395 = 0; - Class69.anInt1192 = 0; - Class40.anInt547 = 0; - Class328_Sub2.anInt6516 = 0; - Class64_Sub2.anInt5484 = 0; - Class166.anInt2184 = 0; - client.anInt5178 = 0; - Class287.anInt3685 = 0; - Class311.anInt3911 = 0; - Class64_Sub3.anInt5615 = 0; - Class239_Sub8.anInt5917 = 0; - Class114.anInt1748 = 0; - Class64_Sub2.anInt5417 = 0; - Class98.anInt1570 = 0; - Class296.anInt3775 = 0; - Class294.anInt5049 = 0; - Class239_Sub19.anInt6045 = 0; - Class377.anInt9854 = 0; - Class163.anInt2160 = 0; - Class64_Sub2.anInt5447 = 0; - Class64_Sub2.anInt5496 = 0; - Class318_Sub1_Sub4.anInt8758 = 0; - Class56.anInt1019 = 0; - Class57.anInt1049 = 0; - Class318_Sub1_Sub1_Sub2.anInt9978 = 0; - Class14.anInt5103 = 0; - Class348_Sub23_Sub2.anInt9021 = 0; - Class348_Sub49.anInt7160 = 0; - Class348_Sub44.anInt7097 = 0; - Class265.anInt4695 = 0; - Class69.anInt1196 = 0; - Class181.anInt2378 = 0; - Class318_Sub1_Sub3_Sub5.anInt10404 = 0; - Class184.anInt2475 = 0; - Class82.anInt1438 = 0; - Class239_Sub25.anInt6104 = 0; - Class348_Sub49.anInt7172 = 0; - Class376.anInt4547 = 0; - Class88.anInt1504 = 0; - Class243.anInt3163 = 0; - Class206.anInt4867 = 0; - Class5_Sub1.anInt8351 = 0; - OutputStream_Sub2.anInt105 = 0; - Class129.anInt1873 = 0; - Class348_Sub13.anInt6755 = 0; - Class348_Sub44.anInt7096 = 0; - Class239_Sub11.anInt5958 = 0; - Class348_Sub16_Sub3.anInt8897 = 0; - aa_Sub3.anInt5205 = 0; - Class239_Sub28.anInt6139 = 0; - Class348_Sub49.anInt7150 = 0; - Class318_Sub1_Sub1_Sub1.anInt9944 = 0; - Class322.anInt4034 = 0; - Npc.anInt10495 = 0; - Class348_Sub40_Sub8.anInt9155 = 0; - Class60.anInt1091 = 0; - Class170.anInt5081 = 0; - Class45.anInt646 = 0; - Class238_Sub1.anInt5829 = 0; - Class64_Sub2.anInt5408 = 0; - Class243.anInt3157 = 0; - Class348_Sub49.anInt7161 = 0; - Class239_Sub17.anInt6025 = 0; - Class202.anInt2666 = 0; - Class318_Sub1_Sub4_Sub1.anInt10065 = 0; - Class377.anInt9812 = 0; - Class46.anInt783 = 0; - ha_Sub3.anInt8012 = 0; - Class348_Sub14.anInt6761 = 0; - Class318_Sub1_Sub5.anInt8774 = 0; - Class124.anInt1869 = 0; - Class318_Sub1_Sub1_Sub2.anInt9996 = 0; - Class239_Sub16.anInt6014 = 0; - Class348_Sub40_Sub9.anInt9166 = 0; - Class318_Sub1_Sub3_Sub1.anInt10012 = 0; - Class309.anInt4821 = 0; - Class110.anInt1699 = 0; - Class64_Sub2.anInt5453 = 0; - Class64_Sub2.anInt5526 = 0; - Class127.anInt4653 = 0; - Class367_Sub3.anInt7298 = 0; - Class291.anInt3741 = 0; - Class175.anInt2322 = 0; - Class348_Sub40_Sub29.anInt9382 = 0; - Class286_Sub1.anInt6192 = 0; - Class367_Sub3.anInt7303 = 0; - ha_Sub2.anInt7680 = 0; - ha_Sub2.anInt7551 = 0; - Class348_Sub23_Sub1.anInt8990 = 0; - Class126.anInt4994 = 0; - Class95.anInt1539 = 0; - Class219.anInt2867 = 0; - Class5_Sub1_Sub1.anInt9928 = 0; - Class206.anInt4871 = 0; - Class239_Sub26.anInt6117 = 0; - Class341.anInt4229 = 0; - Class361.anInt4447 = 0; - Class300.anInt3818 = 0; - Class58.anInt1056 = 0; - Class64_Sub3.anInt5532 = 0; - Class167.anInt2194 = 0; - Class92.anInt1526 = 0; - Class314_Sub1.anInt6366 = 0; - Class348_Sub1.anInt6556 = 0; - Class348_Sub49.anInt7194 = 0; - Class348_Sub40_Sub18.anInt9248 = 0; - Class348_Sub42_Sub5.anInt9525 = 0; - Class73.anInt4773 = 0; - Class31.anInt427 = 0; - client.anInt5183 = 0; - aa_Sub2.anInt5198 = 0; - Class5_Sub2.anInt8364 = 0; - Class255.anInt3280 = 0; - Class348_Sub42_Sub15.anInt9647 = 0; - Class206.anInt4887 = 0; - Class147.anInt2036 = 0; - Class153.anInt2086 = 0; - Class285.anInt4742 = 0; - RuntimeException_Sub1.anInt4598 = 0; - Class241.anInt3149 = 0; - Class174.anInt2300 = 0; - ha_Sub3.anInt8046 = 0; - Class173.anInt2284 = 0; - Class348_Sub31_Sub2.anInt9070 = i; - Class211.anInt2748 = 0; - Class318_Sub1_Sub3_Sub2.anInt10059 = 0; - Class5.anInt4629 = 0; - Class274.anInt3482 = 0; - Class60.anInt1097 = 0; - Class321.anInt4013 = 0; - Class33.anInt457 = 0; - Class59_Sub2_Sub2.anInt8677 = 0; - Class85.anInt1466 = 0; - Class373_Sub2.anInt7439 = 0; - Class64_Sub2.anInt5405 = 0; - Class239_Sub4.anInt5875 = 0; - Class311.anInt3901 = 0; - Class348_Sub40_Sub3.anInt9106 = 0; - Class318_Sub1_Sub5_Sub2.anInt10166 = 0; - ha_Sub2.anInt7603 = 0; - Class377.anInt9822 = 0; - ha_Sub2.anInt7536 = 0; - Class279.anInt3611 = 0; - Class119_Sub2.anInt4826 = 0; - Class233.anInt3017 = 0; - ha_Sub3.anInt7904 = 0; - Class51.anInt867 = 0; - Class318_Sub1_Sub5_Sub1.anInt10121 = 0; - r_Sub1.anInt10469 = 0; - Class294.anInt5038 = 0; - Class88.anInt1494 = 0; - Class62.anInt1111 = 0; - Class377.anInt9898 = 0; - ha_Sub2.anInt7670 = 0; - Class348_Sub40_Sub23.anInt9315 = 0; - Class275.anInt3549 = 0; - Class101_Sub2.anInt5702 = 0; - Class348_Sub42_Sub13.anInt9618 = 0; - Class239_Sub28.anInt6141 = 0; - Class202.anInt2655 = 0; - Class348_Sub40.anInt7037 = 0; - Class348_Sub16_Sub1.anInt8847 = 0; - Class64_Sub2.anInt5481 = 0; - Class132.anInt1908 = 0; - client.anInt5180 = 0; - Class356.anInt4387 = 0; - Class318_Sub1_Sub2.anInt8738 = 0; - Class119_Sub1.anInt4705 = 0; - Class318_Sub1_Sub2_Sub1.anInt10188 = 0; - Canvas_Sub1.anInt66 = 0; - Class237_Sub1.anInt5818 = 0; - Class152.anInt2074 = 0; - Class348_Sub1_Sub2.anInt8812 = 0; - Class348_Sub40_Sub23.anInt9316 = 0; - ha_Sub2.anInt7674 = 0; - Class64_Sub2.anInt5410 = 0; - r_Sub1.anInt10472 = 0; - Class94.anInt1535 = 0; - Class50_Sub1.anInt5220 = 0; - Class286_Sub1.anInt6202 = 0; - Class239_Sub17.anInt6023 = 0; - ha_Sub3.anInt7991 = 0; - Class258_Sub3.anInt8539 = 0; - Class318_Sub1_Sub1_Sub2.anInt10002 = 0; - Class348_Sub40_Sub14.anInt9205 = 0; - Class348_Sub40_Sub11.anInt9186 = 0; - Class277.anInt3567 = 0; - ha_Sub2.anInt7529 = 0; - Class318_Sub1_Sub1_Sub2.anInt9977 = 0; - Class342.anInt4242 = 0; - Class348_Sub49.anInt7179 = 0; - Class66.anInt1153 = 0; - Class341.anInt4237 = 0; - Class69.anInt1191 = 0; - Class318_Sub1_Sub1_Sub1.anInt9964 = 0; - Class286_Sub8.anInt6303 = 0; - Class355.anInt4370 = 0; - Class8.anInt163 = 0; - Class10.anInt175 = 0; - ha_Sub3.anInt8066 = 0; - Class55.anInt978 = 0; - Class318_Sub1_Sub3_Sub5.anInt10406 = 0; - Class243.anInt3158 = 0; - Class88.anInt1492 = 0; - Class170.anInt5073 = 0; - Class279.anInt3608 = 0; - Class346_Sub1.anInt6532 = 0; - s_Sub2.anInt8238 = 0; - Class315.anInt3951 = 0; - Class101_Sub2.anInt5738 = 0; - Class334.anInt4157 = 0; - Class239.anInt3137 = 0; - Class348_Sub40_Sub30.anInt9395 = 0; - Class59.anInt1080 = 0; - Class229.anInt2976 = 0; - Class124.anInt1850 = 0; - Class278.anInt3582 = 0; - Class55_Sub1.anInt5268 = 0; - Class239_Sub25.anInt6105 = 0; - Class34.anInt470 = 0; - Class346.anInt4277 = 0; - Applet_Sub1.anInt39 = 0; - Class191.anInt2567 = 0; - Class318_Sub1_Sub3_Sub4.anInt10362 = 0; - Class348.anInt4296 = 0; - Class38.anInt497 = 0; - ha_Sub3.anInt8081 = 0; - Class105_Sub1.anInt8409 = 0; - Class124.anInt1837 = 0; - Class318_Sub1_Sub5_Sub2.anInt10161 = 0; - Class348_Sub51.anInt7242 = 0; - Class238_Sub1.anInt5835 = 0; - Class225.anInt2903 = 0; - Class244.anInt4616 = 0; - Class286_Sub5.anInt6250 = 0; - ha_Sub2.anInt7527 = 0; - Class206.anInt4878 = 0; - Class348_Sub42_Sub16_Sub1.anInt10451 = 0; - Class348_Sub42_Sub2.anInt8568 = 0; - Class239_Sub5.anInt5893 = 0; - ha_Sub3.anInt8064 = 0; - Class328.anInt4101 = 0; - Class105_Sub1.anInt8420 = 0; - Class348_Sub32.anInt6931 = 0; - Class169.anInt2266 = 0; - Class314.anInt3942 = 0; - Class235.anInt3076 = 0; - Class325.anInt4067 = 0; - Class318_Sub1_Sub2_Sub1.anInt10192 = 0; - r_Sub2.anInt10485 = 0; - Class21.anInt321 = 0; - Class377.anInt9836 = 0; - Class348_Sub16_Sub1.anInt8846 = 0; - Class12.anInt210 = 0; - Class239_Sub27.anInt6129 = 0; - s_Sub3.anInt8292 = 0; - Class285_Sub1.anInt8487 = 0; - Class239_Sub14.anInt5982 = 0; - ha_Sub2.anInt7659 = 0; - Class127.anInt4662 = 0; - Class348_Sub35.anInt6975 = 0; - Class258_Sub3.anInt8544 = 0; - Class377.anInt9873 = 0; - Class55.anInt989 = 0; - ha_Sub2.anInt7727 = 0; - Class85.anInt1461 = 0; - Class318_Sub1_Sub1_Sub2.anInt9970 = 0; - ha_Sub3.anInt7946 = 0; - Class51.anInt958 = 0; - Class239.anInt3140 = 0; - Class77.anInt1302 = 0; - ha_Sub2.anInt7697 = 0; - Class348_Sub40_Sub30.anInt9393 = 0; - Class348_Sub49.anInt7203 = 0; - Class348_Sub16_Sub3.anInt8901 = 0; - Class348_Sub42_Sub1.anInt9493 = 0; - Class64_Sub2.anInt5464 = 0; - Class166.anInt2181 = 0; - Class348_Sub42_Sub8.anInt9549 = 0; - ha_Sub2.anInt7598 = 0; - Class17.anInt259 = 0; - Class206.anInt4877 = 0; - Class64_Sub3.anInt5618 = 0; - Class334.anInt4161 = 0; - Class348_Sub16_Sub3.anInt8911 = 0; - Class138.anInt1947 = 0; - Class5_Sub3.anInt8376 = 0; - Class258.anInt4857 = 0; - ha_Sub2.anInt7544 = 0; - Class265.anInt4691 = 0; - Class321.anInt3999 = 0; - Class222.anInt2887 = 0; - Class348_Sub5.anInt6622 = 0; - Class39.anInt514 = 0; - Class45.anInt647 = 0; - Class348_Sub44.anInt7094 = 0; - Class213.anInt2796 = 0; - Class93.anInt1533 = 0; - Class348_Sub42_Sub1.anInt9490 = 0; - Class318_Sub1_Sub3_Sub4.anInt10351 = 0; - ha_Sub2.anInt7611 = 0; - Class59_Sub2_Sub1.anInt8672 = 0; - Class15.anInt227 = 0; - Class348_Sub49.anInt7151 = 0; - Class318_Sub1_Sub3_Sub4.anInt10344 = 0; - Class239_Sub18.anInt6038 = 0; - Class367_Sub11.anInt7402 = 0; - Class51.anInt938 = 0; - Class55.anInt1005 = 0; - ha.anInt4561 = 0; - Class27.anInt393 = 0; - Class318_Sub1_Sub4.anInt8761 = 0; - Class318_Sub1_Sub3_Sub3.anInt10272 = 0; - Class64_Sub2.anInt5440 = 0; - Class318_Sub1_Sub5_Sub1.anInt10132 = 0; - Class348_Sub16_Sub3.anInt8919 = 0; - Class348_Sub23_Sub4.anInt9049 = 0; - Class261.anInt3313 = 0; - Class274.anInt3480 = 0; - Class296.anInt3770 = 0; - Class42.anInt608 = 0; - ha_Sub3.anInt7997 = 0; - Class105_Sub2.anInt8448 = 0; - Class191.anInt2558 = 0; - Class348_Sub49.anInt7163 = 0; - Exception_Sub1.anInt109 = 0; - anInt5798 = 0; - ha_Sub2.anInt7524 = 0; - Class239_Sub14.anInt5987 = 0; - Class348_Sub22.anInt6860 = 0; - Class318_Sub1_Sub3_Sub2.anInt10054 = 0; - ha_Sub3.anInt7909 = 0; - Class239_Sub21.anInt6064 = 0; - Class300.anInt3815 = 0; - Class367_Sub4.anInt7310 = 0; - Class150.anInt2053 = 0; - Class315.anInt3954 = 0; - Class103.anInt1609 = 0; - Class292.anInt4802 = 0; - Class218.anInt2850 = 0; - Class377.anInt9864 = 0; - Class114.anInt1746 = 0; - Class263.anInt3348 = 0; - Class324.anInt4050 = 0; - ha_Sub3.anInt8006 = 0; - Class318_Sub1_Sub1.anInt8722 = 0; - Class367_Sub3.anInt7302 = 0; - client.anInt5184 = 0; - Class348_Sub49.anInt7139 = 0; - Class217.anInt2843 = 0; - Class318_Sub1_Sub5_Sub1.anInt10146 = 0; - Class66.anInt1162 = 0; - Class195.anInt5009 = 0; - Class294.anInt5048 = 0; - Class66.anInt1165 = 0; - Class273.anInt5166 = 0; - Class101_Sub2.anInt5728 = 0; - Class119_Sub1.anInt4701 = 0; - Class64_Sub3.anInt5560 = 0; - Class87.anInt1489 = 0; - za_Sub1.anInt9771 = 0; - Class348_Sub42_Sub8_Sub2.anInt10433 = 0; - r.anInt9717 = 0; - Class348_Sub40_Sub26.anInt9355 = 0; - Class59.anInt1075 = 0; - Class340.anInt4221 = 0; - Class348_Sub1_Sub2.anInt8811 = 0; - Class318_Sub1_Sub1_Sub2.anInt9979 = 0; - Class286_Sub2.anInt6203 = 0; - Class328.anInt4099 = 0; - Class193.anInt2583 = 0; - Class327.anInt4092 = 0; - Class17.anInt257 = 0; - Class14_Sub1.anInt8606 = 0; - Class51.anInt891 = 0; - Class318_Sub1_Sub3_Sub2.anInt10052 = 0; - Class348_Sub18.anInt6804 = 0; - Class348_Sub42_Sub13.anInt9614 = 0; - Class50_Sub2.anInt5228 = 0; - Class97.anInt1554 = 0; - Applet_Sub1.anInt13 = 0; - Class135_Sub2.anInt4841 = 0; - Class348_Sub42_Sub2.anInt8566 = 0; - Class185.anInt2485 = 0; - ha_Sub2.anInt7531 = 0; - Class85.anInt1476 = 0; - Class14_Sub1.anInt8618 = 0; - Class278.anInt3589 = 0; - Class213.anInt2829 = 0; - Class5_Sub1.anInt8345 = 0; - Class101.anInt1594 = 0; - Class348_Sub42_Sub3.anInt9500 = 0; - Class348_Sub49.anInt7170 = 0; - Class213.anInt2832 = 0; - Class348_Sub40_Sub19.anInt9258 = 0; - Class348_Sub12.anInt6734 = 0; - Class250.anInt3222 = 0; - Class239_Sub28.anInt6140 = 0; - Class318_Sub1_Sub5_Sub2.anInt10162 = 0; - Class235.anInt3082 = 0; - Class239_Sub14.anInt5985 = 0; - Class348_Sub42_Sub15.anInt9649 = 0; - Applet_Sub1.anInt31 = 0; - Class105_Sub1.anInt8423 = 0; - Class348_Sub6.anInt6638 = 0; - Class101_Sub2.anInt5714 = 0; - Class64_Sub3.anInt5635 = 0; - Class318_Sub2.anInt6396 = 0; - Class377.anInt9852 = 0; - Class318_Sub1_Sub1_Sub1.anInt9951 = 0; - Class226.anInt2963 = 0; - ha_Sub2.anInt7534 = 0; - Class348_Sub44.anInt7091 = 0; - Class324.anInt4052 = 0; - Class348_Sub18.anInt6808 = 0; - Class190.anInt2543 = 0; - Class229.anInt2977 = 0; - Class367.anInt4478 = 0; - Class367_Sub8.anInt7356 = 0; - Class247.anInt3184 = 0; - ha_Sub2.anInt7660 = 0; - Class71.anInt1209 = 0; - Class367_Sub1.anInt7280 = 0; - Class280.anInt3629 = 0; - Class154.anInt2104 = 0; - Class348_Sub49.anInt7156 = 0; - Class318_Sub1_Sub4_Sub2.anInt10101 = 0; - ha_Sub2.anInt7600 = 0; - Applet_Sub1.anInt4 = 0; - Class348_Sub43.anInt7078 = 0; - Class296.anInt3771 = 0; - Class258.anInt4853 = 0; - Npc.anInt10513 = 0; - Class355.anInt4371 = 0; - Class238_Sub1.anInt5828 = 0; - ha_Sub3.anInt7945 = 0; - Class308.anInt3885 = 0; - Class348_Sub40_Sub27.anInt9359 = 0; - Class353.anInt4351 = 0; - Class14.anInt5104 = 0; - Class286_Sub1.anInt6184 = 0; - Class237.anInt3105 = 0; - Class124.anInt1840 = 0; - Class77.anInt1295 = 0; - Class18.anInt278 = 0; - ha_Sub2.anInt7545 = 0; - Class348_Sub40_Sub37.anInt9464 = 0; - Class187.anInt2506 = 0; - Class361.anInt4436 = 0; - Class285.anInt4745 = 0; - Class348_Sub1_Sub3.anInt8819 = 0; - Class348_Sub40_Sub15.anInt9219 = 0; - Class135_Sub2.anInt4844 = 0; - Class263.anInt3349 = 0; - Class239_Sub17.anInt6027 = 0; - Class208.anInt2709 = 0; - Class348_Sub40_Sub38.anInt9469 = 0; - Class178.anInt2340 = 0; - ha_Sub3.anInt8057 = 0; - Player.anInt10530 = 0; - Class348_Sub5_Sub1.anInt8834 = 0; - Class70.anInt1205 = 0; - Class14_Sub1.anInt8613 = 0; - Class325.anInt4074 = 0; - Class244.anInt4614 = 0; - Class311.anInt3897 = 0; - Class101_Sub1.anInt5670 = 0; - Class239_Sub10.anInt5941 = 0; - Class318_Sub1_Sub3_Sub4.anInt10364 = 0; - ha_Sub2.anInt7516 = 0; - Class239_Sub7.anInt5907 = 0; - ha_Sub2.anInt7682 = 0; - Class348_Sub40_Sub5.anInt9123 = 0; - Class348_Sub23_Sub4.anInt9056 = 0; - Class348_Sub5_Sub1.anInt8840 = 0; - Class348_Sub16_Sub2.anInt8863 = 0; - Class55_Sub1.anInt5266 = 0; - Class367_Sub9.anInt7377 = 0; - Class348_Sub42_Sub12.anInt9596 = 0; - Class318_Sub1_Sub1_Sub2.anInt9992 = 0; - Class348_Sub18.anInt6805 = 0; - Class127.anInt4660 = 0; - Applet_Sub1.anInt18 = 0; - Class258_Sub4.anInt8554 = 0; - Class64_Sub3.anInt5588 = 0; - Class348.anInt4287 = 0; - Class195.anInt5004 = 0; - Class367_Sub11.anInt7409 = 0; - Class64_Sub3.anInt5616 = 0; - ha_Sub2.anInt7686 = 0; - Class60.anInt1087 = 0; - Class167.anInt2199 = 0; - Class239_Sub8.anInt5912 = 0; - Class64_Sub3.anInt5587 = 0; - Class239_Sub24.anInt6094 = 0; - Class348_Sub13.anInt6756 = 0; - Class348_Sub40_Sub39.anInt9484 = 0; - s_Sub3.anInt8287 = 0; - Class335.anInt4169 = 0; - Class286_Sub5.anInt6257 = 0; - Class286_Sub1.anInt6185 = 0; - ha_Sub2.anInt7567 = 0; - Class280.anInt3628 = 0; - Class242.anInt3155 = 0; - Class348_Sub49.anInt7153 = 0; - Class45.anInt627 = 0; - Class377.anInt9850 = 0; - Class348_Sub42_Sub9_Sub1.anInt10439 = 0; - Class5.anInt4634 = 0; - Class107.anInt1654 = 0; - Class151.anInt2065 = 0; - Class348_Sub42.anInt7062 = 0; - ha_Sub2.anInt7599 = 0; - Class318_Sub4.anInt6407 = 0; - Class127_Sub1.anInt8382 = 0; - Class348_Sub1_Sub1.anInt8803 = 0; - Class263.anInt3346 = 0; - Class5.anInt4628 = 0; - Class14_Sub1.anInt8610 = 0; - Class279.anInt3600 = 0; - Class286_Sub3.anInt6230 = 0; - Class314_Sub1.anInt6359 = 0; - s_Sub3.anInt8289 = 0; - Class245.anInt3171 = 0; - Class268.anInt3436 = 0; - ha_Sub3.anInt7935 = 0; - Class318_Sub1_Sub5_Sub2.anInt10156 = 0; - Class84.anInt1458 = 0; - Class239_Sub9.anInt5930 = 0; - Class348_Sub16_Sub3.anInt8932 = 0; - Class25.anInt371 = 0; - Class185.anInt2486 = 0; - Class249.anInt3216 = 0; - ha_Sub2.anInt7675 = 0; - Class239.anInt3141 = 0; - Class213.anInt2814 = 0; - Class45.anInt639 = 0; - Class78.anInt1313 = 0; - Class309.anInt4810 = 0; - Class279.anInt3605 = 0; - Class239_Sub19.anInt6041 = 0; - Applet_Sub1.anInt1 = 0; - Class64.anInt1135 = 0; - Class348_Sub49_Sub2.anInt9767 = 0; - Class170.anInt5074 = 0; - Applet_Sub1.anInt24 = 0; - ha_Sub3.anInt7908 = 0; - Class377.anInt9834 = 0; - ha_Sub3.anInt7955 = 0; - Class166.anInt2186 = 0; - ha_Sub2.anInt7635 = 0; - Class164.anInt2175 = 0; - Class31.anInt442 = 0; - Class238.anInt3132 = 0; - Class239_Sub15.anInt6003 = 0; - Class348_Sub15.anInt6777 = 0; - Class237.anInt3118 = 0; - Class5_Sub2.anInt8359 = 0; - Class318.anInt3975 = 0; - ha_Sub3.anInt7956 = 0; - Class38.anInt512 = 0; - Class239_Sub12.anInt5961 = 0; - Class239_Sub11.anInt5954 = 0; - Class105_Sub2.anInt8445 = 0; - Class368.anInt4505 = 0; - Class136.anInt4790 = 0; - Class348_Sub40_Sub17.anInt9236 = 0; - Class5_Sub3.anInt8375 = 0; - Class348_Sub1.anInt6546 = 0; - Class285_Sub2.anInt8500 = 0; - Class112.anInt1735 = 0; - Class377.anInt9888 = 0; - Class64_Sub3.anInt5624 = 0; - Class308.anInt3886 = 0; - Class367_Sub10.anInt7388 = 0; - ha_Sub3.anInt8061 = 0; - Class286_Sub1.anInt6190 = 0; - Class348_Sub16_Sub3.anInt8920 = 0; - Class64_Sub2.anInt5505 = 0; - Class255.anInt3276 = 0; - Class292.anInt4800 = 0; - Class22.anInt333 = 0; - Class348_Sub42_Sub1.anInt9497 = 0; - Class60.anInt1088 = 0; - Class101_Sub3.anInt5760 = 0; - Class348_Sub42_Sub20.anInt9713 = 0; - Applet_Sub1.anInt25 = 0; - Class348_Sub16_Sub3.anInt8929 = 0; - Class286_Sub9.anInt6313 = 0; - Class348_Sub16_Sub3.anInt8948 = 0; - ha_Sub3.anInt7986 = 0; - Class286_Sub9.anInt6319 = 0; - Class223.anInt2898 = 0; - Class348_Sub49.anInt7201 = 0; - Class263.anInt3358 = 0; - Class279.anInt3597 = 0; - Class286_Sub6.anInt6267 = 0; - Class239_Sub26.anInt6124 = 0; - Class205.anInt2685 = 0; - Class146.anInt2014 = 0; - ha_Sub3.anInt8072 = 0; - Class318_Sub1_Sub4_Sub2.anInt10117 = 0; - Class101_Sub3.anInt5753 = 0; - Class170.anInt5066 = 0; - s.anInt4589 = 0; - Class179.anInt2358 = 0; - Class348_Sub23_Sub4.anInt9061 = 0; - ha_Sub2.anInt7668 = 0; - Class206.anInt4865 = 0; - ha_Sub2.anInt7627 = 0; - Class101_Sub2.anInt5712 = 0; - Class275.anInt3553 = 0; - Class348_Sub42_Sub17.anInt9674 = 0; - Class348_Sub42_Sub11.anInt9581 = 0; - ha_Sub2.anInt7592 = 0; - Class348_Sub23_Sub4.anInt9063 = 0; - Class356.anInt4382 = 0; - Class101.anInt1595 = 0; - ha_Sub3.anInt8076 = 0; - Class255.anInt3281 = 0; - Class66.anInt1163 = 0; - Class264.anInt3375 = 0; - Class318_Sub1_Sub3_Sub4.anInt10358 = 0; - Class318_Sub1_Sub3_Sub4.anInt10352 = 0; - Class314_Sub1.anInt6345 = 0; - Class318_Sub1_Sub3_Sub5.anInt10376 = 0; - Class348_Sub42_Sub14.anInt9641 = 0; - Class367_Sub11.anInt7401 = 0; - Class64_Sub2.anInt5403 = 0; - Class330.anInt4114 = 0; - Class258.anInt4855 = 0; - Class348_Sub49_Sub2.anInt9764 = 0; - s.anInt4591 = 0; - Class286_Sub2.anInt6204 = 0; - Class361.anInt4442 = 0; - Class264.anInt3366 = 0; - Class348_Sub49.anInt7204 = 0; - Class348_Sub40.anInt7044 = 0; - Class79.anInt1357 = 0; - Class211.anInt2733 = 0; - Class348_Sub42_Sub14.anInt9633 = 0; - Class64_Sub2.anInt5422 = 0; - Class206.anInt4893 = 0; - ha_Sub2.anInt7655 = 0; - Class299_Sub2.anInt6326 = 0; - Class369_Sub3.anInt8598 = 0; - Class377.anInt9816 = 0; - Class194.anInt2593 = 0; - Class101_Sub1.anInt5656 = 0; - Class348_Sub27.anInt6906 = 0; - Class318_Sub1_Sub4_Sub1.anInt10070 = 0; - Class324.anInt4060 = 0; - Class183.anInt2465 = 0; - Class43.anInt616 = 0; - Class213.anInt2806 = 0; - Class97.anInt1545 = 0; - Class59_Sub1_Sub1.anInt8654 = 0; - Class305.anInt3856 = 0; - Class175.anInt2323 = 0; - ha_Sub2.anInt7569 = 0; - Class287.anInt3689 = 0; - ha_Sub2.anInt7728 = 0; - Class104.anInt1621 = 0; - s_Sub3.anInt8315 = 0; - Class369.anInt4969 = 0; - Class348_Sub40_Sub15.anInt9217 = 0; - Class78.anInt1308 = 0; - Class101_Sub2.anInt5734 = 0; - Class64_Sub3.anInt5547 = 0; - Class348_Sub16_Sub3.anInt8950 = 0; - Class193.anInt2588 = 0; - Class287.anInt3693 = 0; - Class153.anInt2080 = 0; - Class59.anInt1073 = 0; - Class267.anInt3391 = 0; - Class50_Sub3.anInt5254 = 0; - Class101_Sub1.anInt5665 = 0; - ha_Sub3.anInt7950 = 0; - Class346_Sub1.anInt6535 = 0; - Class206.anInt4892 = 0; - Class284.anInt3674 = 0; - Class318_Sub1_Sub1_Sub1.anInt9968 = 0; - Class111.anInt1716 = 0; - Class348_Sub49_Sub2.anInt9753 = 0; - ha_Sub3.anInt7976 = 0; - Class286_Sub4.anInt6236 = 0; - ha_Sub2.anInt7565 = 0; - Class238_Sub1.anInt5830 = 0; - Class299_Sub1_Sub2.anInt8704 = 0; - Class242.anInt3154 = 0; - Class318_Sub1_Sub1_Sub1.anInt9963 = 0; - Class239_Sub3.anInt5866 = 0; - Class278.anInt3586 = 0; - Class348_Sub40_Sub24.anInt9330 = 0; - Class348_Sub40_Sub12.anInt9198 = 0; - Applet_Sub1.anInt5 = 0; - ha_Sub3.anInt7917 = 0; - Class11.anInt195 = 0; - Class318_Sub1_Sub3_Sub3.anInt10251 = 0; - Class295.anInt3757 = 0; - Class318_Sub1_Sub4_Sub2.anInt10108 = 0; - Class5_Sub3.anInt8372 = 0; - Class373_Sub2.anInt7428 = 0; - Class239_Sub22.anInt6071 = 0; - Player.anInt10523 = 0; - Class324.anInt4064 = 0; - Class318_Sub1_Sub4_Sub1.anInt10077 = 0; - Class369_Sub1.anInt8581 = 0; - Class170.anInt5076 = 0; - Class318_Sub1_Sub3_Sub4.anInt10354 = 0; - Class239_Sub8.anInt5923 = 0; - Class239_Sub19.anInt6044 = 0; - Class348_Sub38.anInt7000 = 0; - Class64_Sub2.anInt5430 = 0; - ha_Sub2.anInt7628 = 0; - Class239_Sub6.anInt5899 = 0; - Class239_Sub3.anInt5859 = 0; - Class153.anInt2085 = 0; - Class64_Sub3.anInt5534 = 0; - Class348_Sub14.anInt6765 = 0; - Class318_Sub1_Sub3_Sub1.anInt10031 = 0; - Class117.anInt1773 = 0; - Class367_Sub2.anInt7295 = 0; - Class348_Sub40_Sub10.anInt9178 = 0; - Class348_Sub40_Sub1.anInt9088 = 0; - Class239_Sub22.anInt6073 = 0; - ha_Sub3.anInt7920 = 0; - Class348_Sub4.anInt6600 = 0; - Class238_Sub1.anInt5839 = 0; - Class64_Sub3.anInt5565 = 0; - ha_Sub3.anInt8043 = 0; - Class100.anInt1590 = 0; - Class14_Sub3.anInt8632 = 0; - Class59_Sub1_Sub1.anInt8653 = 0; - Class37.anInt491 = 0; - Class220.anInt2877 = 0; - ha_Sub3.anInt7900 = 0; - Class286_Sub6.anInt6265 = 0; - ha_Sub3.anInt7938 = 0; - Class377.anInt9813 = 0; - Class348_Sub50.anInt7214 = 0; - Class318_Sub1_Sub3_Sub2.anInt10042 = 0; - Class77.anInt1300 = 0; - Class348_Sub3.anInt6576 = 0; - Class26.anInt378 = 0; - Class377.anInt9827 = 0; - Class151.anInt2063 = 0; - Class239_Sub8.anInt5918 = 0; - Class146.anInt2012 = 0; - Class285_Sub2.anInt8506 = 0; - Class22.anInt338 = 0; - Class64_Sub3.anInt5641 = 0; - Class45.anInt649 = 0; - Applet_Sub1.anInt2 = 0; - ha_Sub3.anInt8052 = 0; - ha_Sub2.anInt7716 = 0; - Class318_Sub1_Sub4_Sub1.anInt10069 = 0; - Class348_Sub23_Sub3.anInt9040 = 0; - ha_Sub3.anInt8040 = 0; - Class42.anInt610 = 0; - Class49.anInt4727 = 0; - Class318_Sub1_Sub3_Sub5.anInt10394 = 0; - ha_Sub3.anInt7892 = 0; - Class348.anInt4285 = 0; - Class264.anInt3364 = 0; - Class14_Sub4.anInt8651 = 0; - Class267.anInt3397 = 0; - ha_Sub3.anInt8073 = 0; - Class348_Sub42_Sub11.anInt9579 = 0; - Class373_Sub2.anInt7426 = 0; - Class286_Sub3.anInt6223 = 0; - Class64_Sub2.anInt5444 = 0; - ha_Sub2.anInt7580 = 0; - Class45.anInt635 = 0; - Class348_Sub9.anInt6671 = 0; - Class172.anInt2277 = 0; - Class213.anInt2768 = 0; - Class350.anInt4321 = 0; - ha_Sub2.anInt7621 = 0; - Class101_Sub1.anInt5687 = 0; - ha_Sub2.anInt7586 = 0; - Class367_Sub3.anInt7305 = 0; - Class101_Sub1.anInt5676 = 0; - Class154.anInt2098 = 0; - Class373.anInt4533 = 0; - Class348_Sub16_Sub3.anInt8935 = 0; - Class377.anInt9893 = 0; - Class233.anInt3023 = 0; - Class348_Sub40_Sub10.anInt9177 = 0; - Class339.anInt4208 = 0; - ha_Sub2.anInt7583 = 0; - Canvas_Sub1.anInt61 = 0; - Class45.anInt640 = 0; - ha.anInt4568 = 0; - Class377.anInt9875 = 0; - Class87.anInt1483 = 0; - Class322.anInt4028 = 0; - Class84.anInt1456 = 0; - Class217.anInt2846 = 0; - Class348_Sub40_Sub39.anInt9482 = 0; - Class318_Sub1.anInt6378 = 0; - Class348_Sub16_Sub3.anInt8954 = 0; - Class286_Sub9.anInt6306 = 0; - Class318_Sub1_Sub3_Sub1.anInt10027 = 0; - ha_Sub2.anInt7701 = 0; - Class64_Sub2.anInt5421 = 0; - Class348_Sub40_Sub2.anInt9097 = 0; - Class46.anInt712 = 0; - Class348_Sub23_Sub4.anInt9047 = 0; - Class195.anInt5008 = 0; - Class348_Sub4.anInt6593 = 0; - Class239_Sub13.anInt5978 = 0; - Class318_Sub1_Sub3_Sub4.anInt10357 = 0; - Class348_Sub40_Sub21.anInt9270 = 0; - Class98.anInt1567 = 0; - Class239_Sub12.anInt5963 = 0; - ha_Sub2.anInt7667 = 0; - ha_Sub3.anInt7940 = 0; - Class368.anInt4493 = 0; - Class348_Sub8.anInt6667 = 0; - Class239_Sub12.anInt5962 = 0; - Class369.anInt4964 = 0; - Class101_Sub2.anInt5692 = 0; - Class348_Sub40_Sub36.anInt9450 = 0; - ha_Sub3.anInt8042 = 0; - Class285_Sub1.anInt8493 = 0; - Class213.anInt2776 = 0; - Class348_Sub40_Sub23.anInt9309 = 0; - Class286_Sub6.anInt6269 = 0; - Class371.anInt4521 = 0; - Class64_Sub3.anInt5550 = 0; - s_Sub3.anInt8319 = 0; - ha_Sub3.anInt7985 = 0; - Class67.anInt4647 = 0; - Class183.anInt2457 = 0; - Class348_Sub40_Sub32.anInt9420 = 0; - Class354.anInt4358 = 0; - s_Sub2.anInt8259 = 0; - Class34.anInt466 = 0; - Class348_Sub42_Sub14.anInt9624 = 0; - Class327.anInt4090 = 0; - Class190.anInt2553 = 0; - Class278.anInt3587 = 0; - Class286_Sub4.anInt6241 = 0; - Class286_Sub2.anInt6208 = 0; - Class377.anInt9866 = 0; - Class232.anInt3004 = 0; - Class59.anInt1076 = 0; - Class59_Sub2_Sub2.anInt8680 = 0; - Class348_Sub3.anInt6583 = 0; - ha_Sub3.anInt8055 = 0; - Class211.anInt2741 = 0; - Class239_Sub26.anInt6122 = 0; - Class84.anInt1452 = 0; - Class239_Sub19.anInt6046 = 0; - Class377.anInt9900 = 0; - Class106.anInt1640 = 0; - Class101_Sub2.anInt5735 = 0; - Class348_Sub40_Sub15.anInt9221 = 0; - Class31.anInt441 = 0; - Class286_Sub8.anInt6293 = 0; - Class259.anInt3302 = 0; - Class258_Sub4.anInt8559 = 0; - Class348_Sub42_Sub4.anInt9510 = 0; - Class314_Sub1.anInt6357 = 0; - Class348_Sub40_Sub1.anInt9085 = 0; - Class318_Sub1_Sub3_Sub5.anInt10373 = 0; - Class274.anInt3484 = 0; - Class318_Sub1_Sub3_Sub1.anInt10026 = 0; - Class60.anInt1102 = 0; - Class285.anInt4756 = 0; - Class140.anInt1956 = 0; - Class255.anInt3275 = 0; - Class215.anInt2838 = 0; - Class12.anInt214 = 0; - Class258_Sub3.anInt8542 = 0; - Class101_Sub2.anInt5717 = 0; - Class373_Sub2.anInt7438 = 0; - ha_Sub3.anInt8007 = 0; - Class304.anInt3848 = 0; - Class286_Sub3.anInt6215 = 0; - Class121.anInt1798 = 0; - Class312.anInt3926 = 0; - Class175.anInt2321 = 0; - Class288.anInt4956 = 0; - ha_Sub2.anInt7556 = 0; - Class122.anInt1807 = 0; - Class239_Sub13.anInt5977 = 0; - ha_Sub3.anInt7982 = 0; - Class348_Sub40_Sub29.anInt9377 = 0; - Class30.anInt415 = 0; - Class348_Sub20.anInt6829 = 0; - Class318_Sub1_Sub4_Sub2.anInt10113 = 0; - Class348_Sub49.anInt7149 = 0; - Class372.anInt4530 = 0; - Class55.anInt1000 = 0; - Class159.anInt2126 = 0; - Class45.anInt654 = 0; - Class5_Sub3.anInt8374 = 0; - Class111.anInt1717 = 0; - ha_Sub2.anInt7679 = 0; - Class17.anInt240 = 0; - Class318_Sub1_Sub1_Sub1.anInt9965 = 0; - Class187.anInt2503 = 0; - Class348_Sub40_Sub32.anInt9416 = 0; - Class348_Sub16_Sub2.anInt8877 = 0; - Class318_Sub1_Sub1_Sub2.anInt9998 = 0; - Class255.anInt3279 = 0; - Class348_Sub3.anInt6588 = 0; - Class354.anInt4360 = 0; - Class64_Sub2.anInt5456 = 0; - Class318_Sub1_Sub4_Sub1.anInt10078 = 0; - Class64_Sub2.anInt5445 = 0; - Class46.anInt804 = 0; - Class348_Sub16_Sub2.anInt8878 = 0; - Class97.anInt1552 = 0; - ha_Sub3.anInt7992 = 0; - ha_Sub2.anInt7692 = 0; - Class311.anInt3900 = 0; - ha_Sub2.anInt7719 = 0; - Class203.anInt2673 = 0; - Class348_Sub16_Sub3.anInt8943 = 0; - ha_Sub3.anInt8041 = 0; - Class348_Sub40_Sub28.anInt9370 = 0; - Class175.anInt2310 = 0; - Class285_Sub1.anInt8488 = 0; - Class377.anInt9858 = 0; - Class219.anInt2863 = 0; - Class104.anInt1615 = 0; - Class348_Sub42_Sub18.anInt9681 = 0; - Class171.anInt2271 = 0; - Class105_Sub2.anInt8438 = 0; - Class158.anInt4939 = 0; - Class234.anInt3042 = 0; - Class43.anInt612 = 0; - Class44.anInt622 = 0; - Class348_Sub42_Sub17.anInt9677 = 0; - Class239_Sub19.anInt6039 = 0; - Class6.anInt155 = 0; - ha_Sub3.anInt7979 = 0; - Class239_Sub2.anInt5853 = 0; - ha_Sub2.anInt7571 = 0; - Class64_Sub3.anInt5619 = 0; - Class318_Sub1_Sub5_Sub2.anInt10165 = 0; - Class248.anInt3192 = 0; - InputStream_Sub2.anInt80 = 0; - Class332.anInt4138 = 0; - Class59_Sub2_Sub1.anInt8673 = 0; - Class318_Sub4.anInt6412 = 0; - Class292.anInt4799 = 0; - Class239_Sub21.anInt6065 = 0; - Class348_Sub11.anInt4762 = 0; - ha_Sub2.anInt7595 = 0; - Class156.anInt2112 = 0; - Class318_Sub1_Sub4_Sub1.anInt10072 = 0; - ha_Sub2.anInt7613 = 0; - ha_Sub2.anInt7708 = 0; - ha_Sub3.anInt7963 = 0; - Class348_Sub40_Sub17.anInt9235 = 0; - Class318_Sub1_Sub3_Sub4.anInt10346 = 0; - Class101_Sub2.anInt5715 = 0; - Class78.anInt1318 = 0; - Class318_Sub1_Sub3_Sub4.anInt10347 = 0; - Class348_Sub42_Sub14.anInt9637 = 0; - Class64_Sub3.anInt5533 = 0; - Class318_Sub1_Sub4.anInt8765 = 0; - Class377.anInt9851 = 0; - ha_Sub3.anInt7993 = 0; - Class348_Sub40_Sub14.anInt9209 = 0; - Class101_Sub2.anInt5723 = 0; - Class348_Sub42_Sub12.anInt9606 = 0; - Class318_Sub1_Sub5_Sub2.anInt10171 = 0; - Class348_Sub31.anInt6922 = 0; - Class258.anInt4863 = 0; - Class377.anInt9833 = 0; - Class205.anInt2690 = 0; - Class348_Sub16_Sub3.anInt8938 = 0; - ha_Sub2.anInt7695 = 0; - Class369_Sub2.anInt8588 = 0; - Class179.anInt2366 = 0; - Class45.anInt626 = 0; - ha_Sub2.anInt7657 = 0; - Class348_Sub45_Sub2.anInt9740 = 0; - Class348_Sub40_Sub22.anInt9289 = 0; - Class337.anInt4176 = 0; - Class348_Sub40.anInt7043 = 0; - Class348_Sub5_Sub1.anInt8829 = 0; - Class100.anInt1580 = 0; - Class31.anInt432 = 0; - ha.anInt4566 = 0; - Class130.anInt1896 = 0; - Class318_Sub1_Sub3_Sub2.anInt10038 = 0; - Class318_Sub1_Sub4.anInt8763 = 0; - ha_Sub3.anInt7942 = 0; - Class373_Sub2.anInt7427 = 0; - ha_Sub2.anInt7578 = 0; - Class367_Sub3.anInt7306 = 0; - Class99.anInt1573 = 0; - Class348_Sub1_Sub2.anInt8814 = 0; - Class348_Sub24.anInt6874 = 0; - Class199.anInt2624 = 0; - ha_Sub2.anInt7562 = 0; - Class124.anInt1831 = 0; - Class110.anInt1703 = 0; - Class239_Sub3.anInt5865 = 0; - Class314_Sub1.anInt6363 = 0; - Class37.anInt493 = 0; - Class286_Sub5.anInt6258 = 0; - Class377.anInt9882 = 0; - Class311.anInt3906 = 0; - Class286_Sub7.anInt6282 = 0; - Class315.anInt3949 = 0; - Class45.anInt644 = 0; - Class215.anInt2837 = 0; - ha_Sub3.anInt8031 = 0; - Class348_Sub16_Sub2.anInt8871 = 0; - Class312.anInt3928 = 0; - ha_Sub3.anInt8003 = 0; - Class50_Sub4.anInt5257 = 0; - Class179.anInt2363 = 0; - Class377.anInt9831 = 0; - Class14_Sub4.anInt8648 = 0; - Class318_Sub1_Sub3_Sub4.anInt10337 = 0; - Class179.anInt2369 = 0; - Class286_Sub8.anInt6297 = 0; - Class128.anInt1870 = 0; - Player.anInt10527 = 0; - Class69.anInt1193 = 0; - Class239_Sub27.anInt6130 = 0; - Class101_Sub3.anInt5777 = 0; - Class255.anInt3284 = 0; - Class318_Sub1_Sub5_Sub1.anInt10133 = 0; - ha_Sub3.anInt7954 = 0; - Class318_Sub4.anInt6408 = 0; - Class318_Sub2.anInt6395 = 0; - Class78.anInt1316 = 0; - Class154.anInt2091 = 0; - Class187.anInt2505 = 0; - Class15.anInt226 = 0; - Class133.anInt1916 = 0; - Class150.anInt2051 = 0; - Class64_Sub3.anInt5597 = 0; - Class46.anInt758 = 0; - Class107.anInt1644 = 0; - client.anInt5182 = 0; - Class286_Sub3.anInt6224 = 0; - Class348_Sub1.anInt6560 = 0; - ha_Sub3.anInt7968 = 0; - ha_Sub3.anInt7911 = 0; - ha_Sub3.anInt8011 = 0; - Class124.anInt1845 = 0; - Class348_Sub40_Sub36.anInt9452 = 0; - Class373_Sub2.anInt7452 = 0; - ha_Sub2.anInt7724 = 0; - Class64_Sub3.anInt5614 = 0; - Class286_Sub7.anInt6280 = 0; - Class155.anInt2108 = 0; - Class149.anInt2044 = 0; - Class348_Sub42_Sub16_Sub1.anInt10454 = 0; - Class154.anInt2090 = 0; - Class367_Sub11.anInt7393 = 0; - ha_Sub3.anInt8027 = 0; - Class33.anInt456 = 0; - Class348_Sub49_Sub2.anInt9758 = 0; - ha_Sub3.anInt8037 = 0; - Class348_Sub49.anInt7145 = 0; - Class286_Sub8.anInt6292 = 0; - Class369_Sub3_Sub1.anInt10173 = 0; - Class348_Sub40_Sub3.anInt9110 = 0; - Class101_Sub3.anInt5779 = 0; - Class51.anInt957 = 0; - ha_Sub2.anInt7672 = 0; - Class318_Sub1_Sub4_Sub2.anInt10098 = 0; - Class348_Sub9.anInt6690 = 0; - Class107.anInt1655 = 0; - Class309.anInt4809 = 0; - Class84.anInt1454 = 0; - s_Sub3.anInt8293 = 0; - Class299_Sub1_Sub1.anInt8687 = 0; - Class239_Sub29.anInt6149 = 0; - Class377.anInt9820 = 0; - Class239_Sub18.anInt6031 = 0; - Class202.anInt2650 = 0; - Class239_Sub10.anInt5940 = 0; - Class239_Sub15.anInt6001 = 0; - Class45.anInt652 = 0; - Class339.anInt4199 = 0; - Player.anInt10534 = 0; - Class52.anInt4897 = 0; - Class5_Sub2.anInt8355 = 0; - Class49.anInt4721 = 0; - Class285.anInt4735 = 0; - Class348_Sub40_Sub5.anInt9128 = 0; - ha_Sub2.anInt7602 = 0; - Class321.anInt3995 = 0; - Class348_Sub40_Sub30.anInt9394 = 0; - Class299_Sub1_Sub2.anInt8705 = 0; - Class377.anInt9861 = 0; - ha_Sub3.anInt7930 = 0; - Class46.anInt694 = 0; - ha_Sub3.anInt7970 = 0; - Class348_Sub5.anInt6625 = 0; - Class318_Sub1_Sub2_Sub1.anInt10182 = 0; - Class348_Sub45_Sub2.anInt9738 = 0; - ha_Sub2.anInt7548 = 0; - Class348_Sub40_Sub29.anInt9378 = 0; - Class363.anInt4462 = 0; - Class285.anInt4757 = 0; - Class59_Sub2_Sub1.anInt8671 = 0; - Class217.anInt2847 = 0; - Class239_Sub3.anInt5868 = 0; - Class18.anInt291 = 0; - Class191.anInt2556 = 0; - Class367_Sub3.anInt7300 = 0; - Class170.anInt5069 = 0; - ha_Sub2.anInt7656 = 0; - Class348_Sub40.anInt7028 = 0; - Class348_Sub1.anInt6552 = 0; - Class377.anInt9880 = 0; - Class64_Sub2.anInt5449 = 0; - Class377.anInt9839 = 0; - Class328_Sub3.anInt6520 = 0; - Class377.anInt9829 = 0; - Class50.anInt861 = 0; - Class318_Sub1_Sub3_Sub5.anInt10380 = 0; - Class127_Sub1.anInt8380 = 0; - Class367_Sub4.anInt7314 = 0; - Class263.anInt3354 = 0; - Class133.anInt1913 = 0; - Class337.anInt4175 = 0; - Class174.anInt2293 = 0; - Class239_Sub13.anInt5979 = 0; - Class34.anInt479 = 0; - Class348_Sub45_Sub2.anInt9731 = 0; - Class348_Sub16_Sub3.anInt8931 = 0; - Class311.anInt3909 = 0; - Class112.anInt1737 = 0; - Class258.anInt4854 = 0; - Class93.anInt1529 = 0; - Class371.anInt4523 = 0; - Class318_Sub1_Sub3_Sub3.anInt10212 = 0; - ha_Sub2.anInt7718 = 0; - Class348_Sub16_Sub1.anInt8858 = 0; - Class98.anInt1571 = 0; - Class239_Sub18.anInt6032 = 0; - ha_Sub3.anInt7884 = 0; - Class348_Sub49.anInt7157 = 0; - ha_Sub2.anInt7597 = 0; - aa.anInt115 = 0; - Class348_Sub40_Sub25.anInt9336 = 0; - Class239_Sub17.anInt6028 = 0; - Class211.anInt2736 = 0; - OutputStream_Sub1.anInt92 = 0; - Class59_Sub2_Sub2.anInt8678 = 0; - Class104.anInt1628 = 0; - Class367_Sub4.anInt7316 = 0; - ha_Sub2.anInt7615 = 0; - Class287.anInt3692 = 0; - Class324.anInt4045 = 0; - Class348_Sub49.anInt7178 = 0; - Class333.anInt4149 = 0; - client.anInt5173 = 0; - Class28.anInt4996 = 0; - Class139.anInt1955 = 0; - Class234.anInt3048 = 0; - Class278.anInt3580 = 0; - Class352.anInt4330 = 0; - Npc.anInt10506 = 0; - Class367_Sub2.anInt7291 = 0; - Class318_Sub1_Sub2_Sub1.anInt10183 = 0; - Class318_Sub1_Sub3.anInt8746 = 0; - Class239_Sub13.anInt5981 = 0; - Class377.anInt9817 = 0; - Class248.anInt3200 = 0; - Class244.anInt4617 = 0; - Class286_Sub9.anInt6312 = 0; - Class146.anInt2018 = 0; - ha_Sub2.anInt7538 = 0; - Class318_Sub1_Sub5.anInt8772 = 0; - Class348_Sub40_Sub8.anInt9151 = 0; - Class48.anInt855 = 0; - Class318_Sub5.anInt6423 = 0; - Applet_Sub1.anInt11 = 0; - Class21.anInt327 = 0; - Class318_Sub7.anInt6448 = 0; - Class178.anInt2336 = 0; - Class239_Sub12.anInt5972 = 0; - Class181.anInt2400 = 0; - Class64.anInt1137 = 0; - Class194.anInt2595 = 0; - Class348_Sub40_Sub30.anInt9387 = 0; - Class367_Sub2.anInt7288 = 0; - Class256.anInt3294 = 0; - Class348_Sub51.anInt7225 = 0; - Class14.anInt5083 = 0; - Class173.anInt2282 = 0; - Class55.anInt980 = 0; - Class101_Sub2.anInt5698 = 0; - Class315.anInt3952 = 0; - Class14.anInt5095 = 0; - Class361.anInt4454 = 0; - Class235.anInt3050 = 0; - aa.anInt113 = 0; - Class332.anInt4140 = 0; - Class64_Sub3.anInt5567 = 0; - Class239_Sub1.anInt5842 = 0; - Class101_Sub2.anInt5701 = 0; - Class348_Sub31_Sub2.anInt9081 = 0; - Class348_Sub42_Sub10.anInt9569 = 0; - Class348_Sub49.anInt7144 = 0; - Class348_Sub42_Sub9.anInt9557 = 0; - Class124.anInt1864 = 0; - Class238_Sub1.anInt5838 = 0; - Class240.anInt4675 = 0; - ha_Sub3.anInt8058 = 0; - Class5_Sub2.anInt8354 = 0; - Class348_Sub49_Sub2.anInt9765 = 0; - Class64_Sub2.anInt5450 = 0; - Class286_Sub7.anInt6279 = 0; - Class44.anInt623 = 0; - Class306.anInt3875 = 0; - Class318_Sub1_Sub5.anInt8776 = 0; - Class348_Sub40_Sub30.anInt9384 = 0; - Class50_Sub4.anInt5256 = 0; - Class91.anInt1522 = 0; - Class348_Sub32.anInt6941 = 0; - Class82.anInt1437 = 0; - Class354.anInt4353 = 0; - Class262.anInt3340 = 0; - Class50_Sub1.anInt5215 = 0; - ha_Sub3.anInt7951 = 0; - Class239_Sub25.anInt6107 = 0; - Class105_Sub1.anInt8402 = 0; - Class299_Sub2_Sub1.anInt8720 = 0; - Class85.anInt1467 = 0; - Class334.anInt4153 = 0; - Class348_Sub38.anInt7012 = 0; - Canvas_Sub1.anInt63 = 0; - Class126.anInt4988 = 0; - Class348_Sub27.anInt6901 = 0; - Class339.anInt4198 = 0; - Class348_Sub49.anInt7187 = 0; - Class348_Sub51.anInt7237 = 0; - Class348_Sub40_Sub5.anInt9126 = 0; - Class373_Sub2.anInt7445 = 0; - Class51.anInt898 = 0; - Class288_Sub1.anInt8578 = 0; - Class348_Sub40_Sub29.anInt9381 = 0; - Class262.anInt3324 = 0; - Class348_Sub42_Sub15.anInt9655 = 0; - Class248.anInt3190 = 0; - Class231.anInt2992 = 0; - Class286_Sub8.anInt6295 = 0; - Class3.anInt124 = 0; - Class101_Sub2.anInt5709 = 0; - Class285.anInt4738 = 0; - Class52.anInt4900 = 0; - ha_Sub3.anInt8078 = 0; - Class361.anInt4444 = 0; - Class348_Sub40_Sub21.anInt9271 = 0; - Class26.anInt373 = 0; - ha_Sub2.anInt7526 = 0; - Class85.anInt1462 = 0; - Class348_Sub40_Sub9.anInt9170 = 0; - Class286_Sub1.anInt6195 = 0; - ha_Sub3.anInt7932 = 0; - Class239_Sub15.anInt6005 = 0; - Class286_Sub4.anInt6243 = 0; - Class268.anInt3440 = 0; - Class285_Sub2.anInt8501 = 0; - Class286_Sub6.anInt6264 = 0; - Class316.anInt3966 = 0; - Class312.anInt3929 = 0; - Class17.anInt258 = 0; - ha_Sub2.anInt7522 = 0; - Class341.anInt4228 = 0; - Class286_Sub7.anInt6283 = 0; - Class101_Sub2.anInt5696 = 0; - Class318_Sub1_Sub4_Sub1.anInt10075 = 0; - Class135_Sub2.anInt4840 = 0; - Class234.anInt3043 = 0; - Class279.anInt3594 = 0; - Class348_Sub40_Sub33.anInt9426 = 0; - s_Sub3.anInt8288 = 0; - r_Sub2.anInt10491 = 0; - Class348_Sub42_Sub17.anInt9670 = 0; - Class348_Sub42_Sub15.anInt9646 = 0; - Class59_Sub2.anInt5310 = 0; - Class39.anInt516 = 0; - Class25.anInt362 = 0; - Class361.anInt4431 = 0; - Class104.anInt1610 = 0; - ha_Sub3.anInt8075 = 0; - Class34.anInt473 = 0; - Class377.anInt9857 = 0; - Class318_Sub1_Sub3_Sub5.anInt10415 = 0; - Class348_Sub49_Sub2.anInt9769 = 0; - Class183.anInt2459 = 0; - Class318_Sub1_Sub1_Sub2.anInt9985 = 0; - Class318_Sub7.anInt6442 = 0; - Class348_Sub5_Sub1.anInt8823 = 0; - Class51.anInt960 = 0; - Class183.anInt2467 = 0; - Class348_Sub49.anInt7190 = 0; - Class263.anInt3357 = 0; - Class50_Sub4.anInt5260 = 0; - s_Sub2.anInt8250 = 0; - Class167.anInt2200 = 0; - Class318_Sub1_Sub1_Sub1.anInt9967 = 0; - Class156.anInt2114 = 0; - ha_Sub3.anInt8065 = 0; - ha_Sub3.anInt7888 = 0; - Class64_Sub2.anInt5498 = 0; - Class318_Sub1_Sub3_Sub2.anInt10048 = 0; - Class60.anInt1099 = 0; - Class126.anInt4995 = 0; - Class137.anInt1937 = 0; - Class223.anInt2894 = 0; - Class64_Sub3.anInt5531 = 0; - Class172.anInt2278 = 0; - Class239.anInt3139 = 0; - Class348_Sub40_Sub21.anInt9267 = 0; - Class101_Sub1.anInt5671 = 0; - Class239_Sub10.anInt5939 = 0; - Class368.anInt4497 = 0; - Class45.anInt632 = 0; - Class253.anInt3255 = 0; - Class70.anInt1203 = 0; - Class348_Sub38.anInt7009 = 0; - ha_Sub3.anInt8010 = 0; - Class377.anInt9840 = 0; - Class101.anInt1598 = 0; - ha_Sub2.anInt7709 = 0; - Class348_Sub42_Sub8.anInt9548 = 0; - Class318_Sub1_Sub3_Sub1.anInt10030 = 0; - Class174.anInt2287 = 0; - Class211.anInt2732 = 0; - Class288.anInt4954 = 0; - Class60.anInt1096 = 0; - ha.anInt4572 = 0; - Class239_Sub25.anInt6108 = 0; - Class286_Sub2.anInt6207 = 0; - Class348.anInt4297 = 0; - Class54.anInt975 = 0; - Class318_Sub7.anInt6437 = 0; - Class367_Sub8.anInt7351 = 0; - Class367_Sub4.anInt7322 = 0; - Class348_Sub40_Sub16.anInt9222 = 0; - Class333.anInt4145 = 0; - Class90.anInt1515 = 0; - Class135_Sub2.anInt4836 = 0; - Class140.anInt1957 = 0; - Class64_Sub3.anInt5551 = 0; - Class239_Sub8.anInt5919 = 0; - Class318_Sub1_Sub4_Sub1.anInt10073 = 0; - ha_Sub3.anInt7922 = 0; - Class318_Sub1_Sub3_Sub4.anInt10333 = 0; - Class239_Sub28.anInt6143 = 0; - Class105_Sub2.anInt8436 = 0; - Class348_Sub42_Sub10.anInt9578 = 0; - Class101_Sub2.anInt5743 = 0; - Class262.anInt3337 = 0; - ha_Sub2.anInt7639 = 0; - Class318_Sub1_Sub2_Sub1.anInt10198 = 0; - Class348_Sub40_Sub16.anInt9228 = 0; - Class122.anInt1805 = 0; - Class68.anInt1180 = 0; - Class279.anInt3606 = 0; - Class116.anInt1760 = 0; - Class280.anInt3633 = 0; - Class318_Sub1_Sub5_Sub1.anInt10135 = 0; - Class150.anInt2052 = 0; - Class318_Sub1_Sub3_Sub2.anInt10053 = 0; - ha_Sub3.anInt7947 = 0; - Class101_Sub1.anInt5660 = 0; - ha_Sub2.anInt7541 = 0; - Class65.anInt1140 = 0; - ha_Sub3.anInt7885 = 0; - Class26.anInt380 = 0; - InputStream_Sub2.anInt81 = 0; - Class294.anInt5043 = 0; - Class348_Sub5.anInt6629 = 0; - Class367_Sub8.anInt7359 = 0; - Class367_Sub1.anInt7282 = 0; - Class157.anInt2122 = 0; - Class239_Sub17.anInt6020 = 0; - Class348_Sub9.anInt6672 = 0; - Class348_Sub15.anInt6779 = 0; - ha_Sub2.anInt7640 = 0; - Class248.anInt3195 = 0; - Class377.anInt9826 = 0; - Class64_Sub3.anInt5546 = 0; - Class187.anInt2502 = 0; - ha_Sub2.anInt7606 = 0; - Class348_Sub49_Sub2.anInt9766 = 0; - Class146.anInt2017 = 0; - Class195.anInt5014 = 0; - Class64_Sub3.anInt5582 = 0; - Class239_Sub11.anInt5952 = 0; - Class45.anInt663 = 0; - Class348_Sub42_Sub16_Sub2.anInt10464 = 0; - Class239_Sub26.anInt6126 = 0; - Class193.anInt2586 = 0; - Class87.anInt1484 = 0; - Class130.anInt1898 = 0; - Class239_Sub5.anInt5890 = 0; - Class239_Sub3.anInt5870 = 0; - ha_Sub3.anInt8049 = 0; - Class299_Sub1.anInt6322 = 0; - Class105_Sub1.anInt8413 = 0; - Class177.anInt4664 = 0; - Class206.anInt4864 = 0; - Class348_Sub40_Sub6.anInt9132 = 0; - Class64_Sub3.anInt5613 = 0; - Class348_Sub49_Sub2.anInt9752 = 0; - Class258_Sub2.anInt8534 = 0; - Class55.anInt1003 = 0; - Class318_Sub9_Sub1.anInt8788 = 0; - Class101_Sub3.anInt5782 = 0; - Class285_Sub1.anInt8485 = 0; - Class237.anInt3127 = 0; - Class318_Sub1.anInt6385 = 0; - Class331.anInt4134 = 0; - Class208.anInt2711 = 0; - ha_Sub2.anInt7568 = 0; - Class59_Sub1.anInt5277 = 0; - Class267.anInt3400 = 0; - Class367_Sub11.anInt7408 = 0; - Class101_Sub3.anInt5746 = 0; - Class60.anInt1092 = 0; - Class258_Sub4.anInt8555 = 0; - Class239_Sub24.anInt6091 = 0; - Class319.anInt3983 = 0; - Class318_Sub1_Sub5_Sub1.anInt10136 = 0; - Class348_Sub40.anInt7038 = 0; - Class314_Sub1.anInt6367 = 0; - Class348_Sub49.anInt7181 = 0; - Class324.anInt4058 = 0; - Class101_Sub2.anInt5721 = 0; - Class348_Sub40_Sub33.anInt9428 = 0; - Class342.anInt4243 = 0; - Class348_Sub40_Sub28.anInt9363 = 0; - Class318_Sub1_Sub1_Sub1.anInt9960 = 0; - r_Sub1.anInt10476 = 0; - Class348_Sub16_Sub3.anInt8918 = 0; - Class105_Sub1.anInt8406 = 0; - Class348_Sub9.anInt6682 = 0; - ha_Sub2.anInt7564 = 0; - Class248.anInt3198 = 0; - Class179.anInt2368 = 0; - Class237_Sub1.anInt5820 = 0; - Applet_Sub1.anInt28 = 0; - ha_Sub2.anInt7605 = 0; - Class348_Sub49.anInt7188 = 0; - ha_Sub2.anInt7587 = 0; - Class348_Sub24.anInt6873 = 0; - Class338.anInt4189 = 0; - Class101_Sub3.anInt5755 = 0; - Npc.anInt10501 = 0; - Class2.anInt120 = 0; - Class46.anInt722 = 0; - Class377.anInt9890 = 0; - Class348_Sub16_Sub3.anInt8905 = 0; - Class286_Sub7.anInt6291 = 0; - Class324.anInt4059 = 0; - Player.anInt10533 = 0; - Class348_Sub40_Sub8.anInt9161 = 0; - Class239_Sub17.anInt6026 = 0; - Class18.anInt277 = 0; - Class64_Sub2.anInt5501 = 0; - Class377.anInt9847 = 0; - Class135.anInt1926 = 0; - ha_Sub2.anInt7705 = 0; - Class318_Sub1_Sub3_Sub1.anInt10035 = 0; - ha_Sub3.anInt7977 = 0; - Class64_Sub2.anInt5407 = 0; - Class166.anInt2182 = 0; - Class318_Sub1_Sub3_Sub1.anInt10006 = 0; - Class64_Sub3.anInt5607 = 0; - Class258_Sub3_Sub1.anInt9942 = 0; - Class223.anInt2897 = 0; - ha_Sub3.anInt8009 = 0; - Class126.anInt4986 = 0; - Class318_Sub1_Sub3.anInt8753 = 0; - ha_Sub2.anInt7515 = 0; - Class373_Sub2.anInt7431 = 0; - Class191.anInt2560 = 0; - Class202.anInt2664 = 0; - Class290.anInt3707 = 0; - Class255.anInt3274 = 0; - Class14_Sub4.anInt8650 = 0; - Npc.anInt10508 = 0; - Class372.anInt4529 = 0; - Class45.anInt637 = 0; - Class36.anInt488 = 0; - Class64.anInt1129 = 0; - Class348_Sub40_Sub14.anInt9213 = 0; - Class220.anInt2876 = 0; - ha_Sub2.anInt7519 = 0; - Class64_Sub3.anInt5530 = 0; - Class213.anInt2809 = 0; - Class318_Sub1_Sub3_Sub4.anInt10359 = 0; - ha_Sub2.anInt7561 = 0; - Class348_Sub5.anInt6620 = 0; - ha_Sub2.anInt7648 = 0; - Class364.anInt4467 = 0; - Class209.anInt2716 = 0; - Class367_Sub11.anInt7412 = 0; - Class320.anInt3993 = 0; - Class348_Sub51.anInt7219 = 0; - Class318_Sub1_Sub4.anInt8757 = 0; - Class14_Sub4.anInt8637 = 0; - Class377.anInt9870 = 0; - Class318_Sub1_Sub5_Sub2.anInt10152 = 0; - Class50_Sub2.anInt5229 = 0; - Class318_Sub1_Sub1_Sub2.anInt9984 = 0; - Class377.anInt9896 = 0; - Class314_Sub1.anInt6362 = 0; - Class143.anInt1989 = 0; - Class175.anInt2325 = 0; - Class327.anInt4093 = 0; - Class186_Sub1.anInt5805 = 0; - ha_Sub2.anInt7584 = 0; - Class129.anInt1893 = 0; - Class304.anInt3849 = 0; - Class88.anInt1501 = 0; - Class239_Sub6.anInt5898 = 0; - Class175.anInt2320 = 0; - ha_Sub2.anInt7559 = 0; - Class348_Sub40_Sub39.anInt9486 = 0; - Class239_Sub29.anInt6145 = 0; - Class50_Sub3.anInt5253 = 0; - Class184.anInt2476 = 0; - Class376.anInt4550 = 0; - client.anInt5174 = 0; - ha_Sub2.anInt7518 = 0; - Class239_Sub7.anInt5905 = 0; - Class286_Sub3.anInt6226 = 0; - Player.anInt10562 = 0; - ha.anInt4576 = 0; - Class348_Sub15.anInt6771 = 0; - ha_Sub2.anInt7576 = 0; - Applet_Sub1.anInt21 = 0; - Class239_Sub17.anInt6022 = 0; - Class348_Sub46.anInt7110 = 0; - Class45.anInt660 = 0; - ha_Sub2.anInt7560 = 0; - Class32.anInt450 = 0; - Class318_Sub1_Sub1_Sub2.anInt9994 = 0; - Class239_Sub5.anInt5885 = 0; - Class35.anInt484 = 0; - Class239_Sub15.anInt5996 = 0; - Class218.anInt2858 = 0; - ha_Sub2.anInt7609 = 0; - ha_Sub2.anInt7604 = 0; - Class348_Sub42_Sub16.anInt9666 = 0; - Class238_Sub1.anInt5831 = 0; - Class219.anInt2874 = 0; - Class348_Sub49.anInt7205 = 0; - ha_Sub3.anInt7906 = 0; - ha_Sub2.anInt7662 = 0; - Class348_Sub3.anInt6587 = 0; - Class301.anInt3830 = 0; - ha_Sub3.anInt7972 = 0; - Class150.anInt2049 = 0; - ha_Sub3.anInt7990 = 0; - Class348_Sub40_Sub13.anInt9202 = 0; - Class21.anInt324 = 0; - Class348_Sub47.anInt7120 = 0; - Class175.anInt2318 = 0; - ha_Sub3.anInt8035 = 0; - Class254.anInt3263 = 0; - Class117.anInt1768 = 0; - Class348_Sub42_Sub10.anInt9575 = 0; - Class318_Sub1_Sub5_Sub1.anInt10126 = 0; - za_Sub2.anInt9779 = 0; - Class377.anInt9835 = 0; - Class160.anInt2136 = 0; - Class64_Sub2.anInt5431 = 0; - Class225.anInt2921 = 0; - Class239_Sub25.anInt6112 = 0; - Class348_Sub16_Sub3.anInt8900 = 0; - Class318_Sub1_Sub3_Sub4.anInt10353 = 0; - Class64_Sub3.anInt5590 = 0; - Class348_Sub40_Sub31.anInt9407 = 0; - Class191.anInt2569 = 0; - ha_Sub3.anInt8004 = 0; - Class24.anInt354 = 0; - Class309.anInt4811 = 0; - Class78.anInt1306 = 0; - Class331.anInt4132 = 0; - Class348_Sub22.anInt6861 = 0; - Class318_Sub1.anInt6384 = 0; - Class239_Sub7.anInt5904 = 0; - Class348_Sub40_Sub22.anInt9290 = 0; - ha_Sub2.anInt7620 = 0; - Class348_Sub40_Sub32.anInt9417 = 0; - Class308.anInt3881 = 0; - Class239_Sub23.anInt6079 = 0; - Class113.anInt1740 = 0; - Class64_Sub2.anInt5469 = 0; - ha_Sub3.anInt7929 = 0; - Class279.anInt3598 = 0; - Class42.anInt579 = 0; - Class243.anInt3164 = 0; - Class150.anInt2055 = 0; - Class105_Sub1.anInt8405 = 0; - Class348_Sub3.anInt6578 = 0; - Class286_Sub8.anInt6300 = 0; - Class237_Sub1.anInt5815 = 0; - Class348_Sub40_Sub34.anInt9437 = 0; - Class195.anInt5018 = 0; - Class318_Sub1_Sub1_Sub2.anInt9982 = 0; - Class318.anInt3972 = 0; - Class170.anInt5079 = 0; - Applet_Sub1.anInt34 = 0; - Class348_Sub42_Sub13.anInt9619 = 0; - Class318_Sub1_Sub3_Sub1.anInt10005 = 0; - Class373_Sub2.anInt7433 = 0; - ha_Sub2.anInt7617 = 0; - Class318_Sub1_Sub5_Sub1.anInt10131 = 0; - Class235.anInt3066 = 0; - Class367_Sub9.anInt7370 = 0; - Class15.anInt228 = 0; - Class377.anInt9832 = 0; - Class348_Sub49.anInt7140 = 0; - Class318_Sub1_Sub3_Sub2.anInt10049 = 0; - Class239_Sub5.anInt5888 = 0; - Class5_Sub1.anInt8336 = 0; - Class161.anInt2141 = 0; - Class318_Sub1_Sub3_Sub1.anInt10016 = 0; - Class348_Sub40_Sub8.anInt9148 = 0; - ha_Sub3.anInt8071 = 0; - ha_Sub3.anInt7899 = 0; - Class5_Sub1.anInt8346 = 0; - Class185.anInt2487 = 0; - Class348_Sub42_Sub5.anInt9522 = 0; - Class337.anInt4180 = 0; - Class348_Sub49.anInt7165 = 0; - Class318_Sub9_Sub1.anInt8782 = 0; - Class348_Sub16_Sub2.anInt8864 = 0; - Class213.anInt2790 = 0; - Class367_Sub1.anInt7279 = 0; - Class2.anInt116 = 0; - Class88.anInt1496 = 0; - Class231.anInt2991 = 0; - Class311.anInt3912 = 0; - InputStream_Sub1.anInt72 = 0; - Class318_Sub2.anInt6398 = 0; - Class348_Sub42_Sub11.anInt9584 = 0; - Class240.anInt4677 = 0; - Class348_Sub51.anInt7258 = 0; - Class348_Sub16_Sub3.anInt8934 = 0; - Class30.anInt414 = 0; - ha_Sub2.anInt7533 = 0; - Class290.anInt3716 = 0; - Class221.anInt2882 = 0; - Class241.anInt3148 = 0; - Npc.anInt10502 = 0; - Class348_Sub46.anInt7109 = 0; - Class284.anInt3665 = 0; - Class143.anInt1984 = 0; - Class239_Sub6.anInt5896 = 0; - ha_Sub3.anInt8015 = 0; - r_Sub2.anInt10481 = 0; - Class348_Sub8.anInt6659 = 0; - Class64.anInt1133 = 0; - Class348_Sub42_Sub7.anInt9543 = 0; - Class50_Sub3.anInt5239 = 0; - Class44.anInt621 = 0; - Class232.anInt3012 = 0; - Class369_Sub3_Sub1.anInt10178 = 0; - s_Sub3.anInt8300 = 0; - Class286_Sub8.anInt6298 = 0; - Class374.anInt4536 = 0; - Class239_Sub3.anInt5863 = 0; - Class6.anInt152 = 0; - za_Sub2.anInt9777 = 0; - Class239_Sub28.anInt6137 = 0; - Class318_Sub1_Sub3_Sub1.anInt10029 = 0; - Class170.anInt5064 = 0; - Class285_Sub1.anInt8483 = 0; - Class239_Sub27.anInt6133 = 0; - Class64_Sub3.anInt5545 = 0; - Class88.anInt1502 = 0; - Class348_Sub42_Sub6.anInt9537 = 0; - Class101_Sub2.anInt5707 = 0; - Class348_Sub42_Sub17.anInt9675 = 0; - Class14_Sub1.anInt8607 = 0; - Class280.anInt3639 = 0; - Class326.anInt4084 = 0; - Class261.anInt3315 = 0; - Class124.anInt1860 = 0; - Class318_Sub1_Sub3_Sub1.anInt10022 = 0; - Class121.anInt1799 = 0; - Class238_Sub1.anInt5833 = 0; - Class348_Sub16_Sub3.anInt8907 = 0; - Class373_Sub2.anInt7447 = 0; - Class6.anInt153 = 0; - Class64_Sub3.anInt5651 = 0; - Class33.anInt459 = 0; - Class318_Sub1_Sub2_Sub1.anInt10197 = 0; - Class64_Sub3.anInt5631 = 0; - Class314_Sub1.anInt6353 = 0; - Class141.anInt1968 = 0; - Class377.anInt9865 = 0; - Class285.anInt4758 = 0; - Class195.anInt5003 = 0; - Class234.anInt3045 = 0; - Class348_Sub49_Sub2.anInt9760 = 0; - Class16.anInt234 = 0; - Class299_Sub1.anInt6320 = 0; - Class348_Sub49.anInt7155 = 0; - s_Sub2.anInt8263 = 0; - Class348_Sub49.anInt7189 = 0; - Class107.anInt1649 = 0; - Class5_Sub3.anInt8373 = 0; - Class348_Sub40_Sub12.anInt9192 = 0; - Class55.anInt996 = 0; - Class348_Sub31_Sub2.anInt9079 = 0; - Class64_Sub3.anInt5570 = 0; - Class239_Sub13.anInt5975 = 0; - Class45.anInt628 = 0; - Class348_Sub42_Sub20.anInt9703 = 0; - Class348_Sub11.anInt4765 = 0; - Class262.anInt3341 = 0; - Class112.anInt1731 = 0; - Class64_Sub3.anInt5602 = 0; - Applet_Sub1.anInt30 = 0; - Class262.anInt3325 = 0; - Class101_Sub3.anInt5766 = 0; - Class239_Sub8.anInt5916 = 0; - Class318_Sub1_Sub1_Sub2.anInt9969 = 0; - Class318_Sub1_Sub3_Sub4.anInt10328 = 0; - Class230.anInt2983 = 0; - Class348_Sub20.anInt6837 = 0; - Class64_Sub2.anInt5426 = 0; - ha_Sub2.anInt7642 = 0; - Class367_Sub10.anInt7381 = 0; - Class339.anInt4200 = 0; - Class267.anInt3399 = 0; - Class239_Sub12.anInt5970 = 0; - Class186_Sub1.anInt5811 = 0; - Class88.anInt1499 = 0; - Class367_Sub9.anInt7366 = 0; - Class348_Sub16_Sub1.anInt8849 = 0; - ha_Sub2.anInt7678 = 0; - ha_Sub2.anInt7673 = 0; - ha_Sub2.anInt7581 = 0; - ha_Sub3.anInt8016 = 0; - Class64.anInt1126 = 0; - Class286.anInt3681 = 0; - Class64_Sub3.anInt5628 = 0; - Class348_Sub49.anInt7167 = 0; - Class213.anInt2780 = 0; - Class312.anInt3927 = 0; - Class348_Sub40_Sub16.anInt9223 = 0; - Class117.anInt1772 = 0; - Class318_Sub1_Sub1_Sub2.anInt9990 = 0; - Class225.anInt2952 = 0; - Class239_Sub9.anInt5928 = 0; - ha_Sub2.anInt7717 = 0; - Class135_Sub2.anInt4838 = 0; - Class348_Sub42_Sub8.anInt9547 = 0; - ha_Sub2.anInt7582 = 0; - ha_Sub3.anInt7988 = 0; - Class279.anInt3596 = 0; - Class342.anInt4241 = 0; - Class101_Sub2.anInt5741 = 0; - Class318_Sub1_Sub5.anInt8779 = 0; - ha.anInt4580 = 0; - Class190.anInt2537 = 0; - Class348_Sub33.anInt6961 = 0; - Class348_Sub40_Sub11.anInt9188 = 0; - Class64_Sub3.anInt5630 = 0; - Class239_Sub4.anInt5873 = 0; - Class263.anInt3344 = 0; - ha_Sub2.anInt7710 = 0; - Class140.anInt1960 = 0; - Class101_Sub3.anInt5763 = 0; - ha_Sub2.anInt7665 = 0; - Class367_Sub8.anInt7354 = 0; - Class348_Sub26.anInt6886 = 0; - Class367_Sub2.anInt7286 = 0; - Class231.anInt2994 = 0; - Class189.anInt2532 = 0; - Npc.anInt10514 = 0; - Class296.anInt3765 = 0; - Class348_Sub40.anInt7029 = 0; - Class14_Sub4.anInt8635 = 0; - Class46.anInt837 = 0; - Class286_Sub9.anInt6311 = 0; - ha_Sub3.anInt7943 = 0; - Class348_Sub11.anInt4760 = 0; - Class14_Sub4.anInt8636 = 0; - ha_Sub2.anInt7634 = 0; - Class348_Sub16_Sub3.anInt8927 = 0; - s_Sub3.anInt8318 = 0; - Class348_Sub49.anInt7171 = 0; - Class188.anInt2517 = 0; - Class348_Sub42_Sub20.anInt9708 = 0; - Class316.anInt3958 = 0; - Class64_Sub2.anInt5425 = 0; - Class202.anInt2667 = 0; - ha_Sub3.anInt7923 = 0; - Class348_Sub40_Sub38.anInt9472 = 0; - Class288_Sub1.anInt8574 = 0; - Class211.anInt2746 = 0; - Class348_Sub40_Sub14.anInt9206 = 0; - Class34.anInt469 = 0; - Class367_Sub1.anInt7278 = 0; - Class239_Sub1.anInt5849 = 0; - Class239_Sub1.anInt5841 = 0; - Class286_Sub7.anInt6281 = 0; - Class101_Sub3.anInt5780 = 0; - Class101_Sub3.anInt5749 = 0; - Class348_Sub40_Sub19.anInt9256 = 0; - ha_Sub3.anInt7944 = 0; - Class101.anInt1596 = 0; - Class40.anInt551 = 0; - Class268.anInt3445 = 0; - Class66.anInt1171 = 0; - Class318_Sub1_Sub3_Sub3.anInt10235 = 0; - Class294.anInt5052 = 0; - Class239_Sub9.anInt5926 = 0; - Applet_Sub1.anInt15 = 0; - Class46.anInt829 = 0; - Class348_Sub42_Sub14.anInt9638 = 0; - Class179.anInt2357 = 0; - s_Sub2.anInt8239 = 0; - Class348_Sub16_Sub3.anInt8930 = 0; - Class377.anInt9859 = 0; - Class286_Sub3.anInt6229 = 0; - Class18.anInt271 = 0; - Class286_Sub8.anInt6294 = 0; - ha_Sub3.anInt7983 = 0; - Class326.anInt4088 = 0; - ha_Sub2.anInt7614 = 0; - ha.anInt4577 = 0; - Class352.anInt4335 = 0; - Class318_Sub1_Sub3_Sub1.anInt10021 = 0; - Class112.anInt1729 = 0; - Class64_Sub2.anInt5491 = 0; - Class46.anInt802 = 0; - Class348_Sub40_Sub7.anInt9145 = 0; - Class239_Sub23.anInt6082 = 0; - ha_Sub3.anInt7896 = 0; - Class58.anInt1060 = 0; - Class299_Sub1_Sub1.anInt8692 = 0; - Class348_Sub51.anInt7233 = 0; - Class348_Sub16_Sub3.anInt8893 = 0; - Class50_Sub1.anInt5216 = 0; - Player.anInt10541 = 0; - Class166.anInt2179 = 0; - Class348_Sub23_Sub4.anInt9052 = 0; - ha_Sub2.anInt7637 = 0; - ha.anInt4575 = 0; - Class124.anInt1828 = 0; - aa_Sub2.anInt5194 = 0; - RuntimeException_Sub1.anInt4605 = 0; - Class117.anInt1775 = 0; - Class348_Sub49.anInt7169 = 0; - Class27.anInt390 = 0; - Class348_Sub42_Sub16_Sub1.anInt10455 = 0; - Class330.anInt4120 = 0; - Class373_Sub2.anInt7449 = 0; - IOException_Sub1.anInt87 = 0; - Class286_Sub6.anInt6271 = 0; - Class348_Sub49.anInt7143 = 0; - Class318_Sub1_Sub1_Sub2.anInt9995 = 0; - client.anInt5172 = 0; - Class306.anInt3874 = 0; - Class97.anInt1557 = 0; - Class14.anInt5100 = 0; - r_Sub2.anInt10490 = 0; - Class315.anInt3950 = 0; - Class340.anInt4219 = 0; - Class348_Sub18.anInt6817 = 0; - ha_Sub3.anInt8021 = 0; - Class348_Sub23_Sub4.anInt9053 = 0; - Class285_Sub2.anInt8499 = 0; - Class348_Sub40_Sub17_Sub1.anInt10427 = 0; - Class348_Sub40_Sub16.anInt9227 = 0; - Class346_Sub1.anInt6531 = 0; - Class348_Sub5.anInt6628 = 0; - Class105_Sub2.anInt8440 = 0; - Class239_Sub10.anInt5936 = 0; - Class318_Sub1_Sub3.anInt8754 = 0; - Class341.anInt4227 = 0; - Class367_Sub10.anInt7387 = 0; - Class348_Sub44.anInt7100 = 0; - Class239_Sub4.anInt5872 = 0; - s_Sub2.anInt8251 = 0; - Class309.anInt4825 = 0; - Class45.anInt645 = 0; - Class268.anInt3448 = 0; - Class5_Sub1.anInt8341 = 0; - Class105_Sub2.anInt8435 = 0; - Class45.anInt630 = 0; - Class120.anInt4909 = 0; - Class104.anInt1630 = 0; - Class348_Sub16_Sub3.anInt8913 = 0; - Class339.anInt4210 = 0; - Class64_Sub2.anInt5441 = 0; - Class222.anInt2888 = 0; - Class348_Sub42_Sub12.anInt9594 = 0; - Class239_Sub29.anInt6146 = 0; - Npc.anInt10510 = 0; - Class346_Sub1.anInt6529 = 0; - Class348_Sub40_Sub30.anInt9397 = 0; - Class101_Sub3.anInt5757 = 0; - Class192.anInt2582 = 0; - Applet_Sub1.anInt8 = 0; - ha_Sub2.anInt7549 = 0; - Class14_Sub4.anInt8645 = 0; - Class64_Sub2.anInt5513 = 0; - Class348_Sub17.anInt6803 = 0; - Class78.anInt1310 = 0; - Class324.anInt4055 = 0; - Class148.anInt2043 = 0; - Class315.anInt3947 = 0; - ha_Sub3.anInt8024 = 0; - Class348_Sub40_Sub12.anInt9191 = 0; - Class232.anInt3013 = 0; - ha_Sub3.anInt8000 = 0; - Class175.anInt2313 = 0; - Class268.anInt3434 = 0; - Class101_Sub1.anInt5661 = 0; - ha_Sub2.anInt7618 = 0; - Class239_Sub11.anInt5956 = 0; - Class179.anInt2362 = 0; - ha_Sub3.anInt8028 = 0; - ha_Sub3.anInt7953 = 0; - Class303.anInt3845 = 0; - r_Sub1.anInt10473 = 0; - Class348_Sub1_Sub3.anInt8821 = 0; - Class348_Sub46.anInt7112 = 0; - Class137.anInt1934 = 0; - ha_Sub2.anInt7557 = 0; - ha_Sub3.anInt7965 = 0; - Class239_Sub27.anInt6127 = 0; - Class348_Sub42_Sub5.anInt9529 = 0; - Class45.anInt668 = 0; - Class348_Sub40_Sub34.anInt9434 = 0; - Class59_Sub1_Sub1.anInt8655 = 0; - Class348_Sub49_Sub2.anInt9763 = 0; - Class104.anInt1619 = 0; - Class348_Sub16_Sub1.anInt8845 = 0; - Class286_Sub9.anInt6309 = 0; - Class171.anInt2267 = 0; - ha_Sub3.anInt8002 = 0; - Class318_Sub1_Sub3_Sub4.anInt10360 = 0; - Class45.anInt641 = 0; - Class348_Sub42_Sub3.anInt9509 = 0; - Class348_Sub14.anInt6763 = 0; - Class79.anInt1389 = 0; - Class58.anInt1063 = 0; - Class348_Sub40_Sub15.anInt9218 = 0; - Class22.anInt340 = 0; - Class239_Sub6.anInt5895 = 0; - Class100.anInt1589 = 0; - Class239_Sub22.anInt6074 = 0; - Class61.anInt1108 = 0; - Class348_Sub23_Sub2.anInt9025 = 0; - Class119_Sub2.anInt4829 = 0; - Class79.anInt1379 = 0; - Class286_Sub8.anInt6305 = 0; - Class318_Sub1_Sub4_Sub1.anInt10083 = 0; - Class318_Sub1_Sub3.anInt8740 = 0; - Class367.anInt4484 = 0; - Class253.anInt3250 = 0; - Class285.anInt4752 = 0; - OutputStream_Sub1.anInt96 = 0; - Class253.anInt3252 = 0; - ha_Sub2.anInt7550 = 0; - Class316.anInt3965 = 0; - Class318_Sub1_Sub5_Sub2.anInt10158 = 0; - Class348_Sub31.anInt6914 = 0; - Class106.anInt1634 = 0; - Class300.anInt3820 = 0; - Class377.anInt9841 = 0; - Class64_Sub3.anInt5569 = 0; - Class239_Sub24.anInt6084 = 0; - Class22.anInt328 = 0; - Class271.anInt3469 = 0; - Class167.anInt2206 = 0; - ha_Sub3.anInt7995 = 0; - Class18.anInt272 = 0; - Class30.anInt411 = 0; - Player.anInt10555 = 0; - Class377.anInt9884 = 0; - Class110.anInt1707 = 0; - Class239_Sub22.anInt6070 = 0; - Class348_Sub42_Sub17.anInt9680 = 0; - Class2.anInt121 = 0; - Class108.anInt1660 = 0; - ha_Sub3.anInt8068 = 0; - Class14_Sub1.anInt8615 = 0; - Class348_Sub40_Sub17.anInt9239 = 0; - Class348_Sub40_Sub21.anInt9268 = 0; - Class354.anInt4352 = 0; - Class348_Sub7.anInt6646 = 0; - Applet_Sub1.anInt22 = 0; - Class239_Sub11.anInt5953 = 0; - Class64_Sub2.anInt5500 = 0; - Class318_Sub1_Sub3_Sub3.anInt10262 = 0; - Class299_Sub1_Sub2.anInt8702 = 0; - Class311.anInt3902 = 0; - Class124.anInt1819 = 0; - ha_Sub2.anInt7644 = 0; - Class101_Sub3.anInt5774 = 0; - Class348_Sub42_Sub13.anInt9620 = 0; - Class135_Sub1.anInt4706 = 0; - Class84.anInt1453 = 0; - Class348_Sub42_Sub6.anInt9539 = 0; - Class377.anInt9828 = 0; - Class281.anInt3645 = 0; - Class296.anInt3768 = 0; - Class239_Sub16.anInt6007 = 0; - Class5_Sub2.anInt8362 = 0; - Class348_Sub16_Sub3.anInt8917 = 0; - Class318_Sub1_Sub4_Sub1.anInt10080 = 0; - Class348_Sub49.anInt7185 = 0; - Class117.anInt1769 = 0; - Class361.anInt4439 = 0; - Class239_Sub18.anInt6033 = 0; - Class174.anInt2295 = 0; - Class90.anInt1514 = 0; - Class346_Sub1.anInt6530 = 0; - Class105_Sub2.anInt8441 = 0; - ha_Sub2.anInt7699 = 0; - Class64.anInt1125 = 0; - Class73.anInt4775 = 0; - Class324.anInt4065 = 0; - Class239_Sub15.anInt6004 = 0; - Class64.anInt1134 = 0; - Class314_Sub1.anInt6349 = 0; - Class105_Sub1.anInt8415 = 0; - Class286_Sub9.anInt6315 = 0; - Class367_Sub1.anInt7281 = 0; - client.anInt5175 = 0; - Class31.anInt440 = 0; - Class119_Sub2.anInt4832 = 0; - Class62.anInt1115 = 0; - Class348_Sub40.anInt7034 = 0; - Class14_Sub4.anInt8647 = 0; - Class348_Sub42_Sub16_Sub1.anInt10452 = 0; - Class213.anInt2816 = 0; - Class367.anInt4481 = 0; - Class318_Sub1_Sub3_Sub2.anInt10040 = 0; - Class64_Sub2.anInt5414 = 0; - ha_Sub2.anInt7566 = 0; - Class174.anInt2288 = 0; - client.anInt5186 = 0; - Class341.anInt4231 = 0; - Class239_Sub25.anInt6106 = 0; - Class239_Sub25.anInt6099 = 0; - Class101_Sub3.anInt5767 = 0; - Class348_Sub17.anInt6794 = 0; - Class248.anInt3193 = 0; - Class239_Sub29.anInt6153 = 0; - Class348_Sub49.anInt7198 = 0; - Class110.anInt1705 = 0; - Class373_Sub2.anInt7455 = 0; - Class218.anInt2857 = 0; - Class84.anInt1459 = 0; - Class76.anInt1281 = 0; - ha_Sub3.anInt8033 = 0; - Class348_Sub11.anInt4769 = 0; - Class286_Sub5.anInt6256 = 0; - Class324.anInt4061 = 0; - Class98.anInt1568 = 0; - Class50_Sub4.anInt5261 = 0; - Class348_Sub11.anInt4768 = 0; - Class101_Sub1.anInt5667 = 0; - Applet_Sub1.anInt26 = 0; - Class348_Sub20.anInt6828 = 0; - Class239_Sub3.anInt5860 = 0; - Class318_Sub1_Sub3_Sub1.anInt10037 = 0; - Class274.anInt3479 = 0; - Class348_Sub42_Sub2.anInt8570 = 0; - Class18.anInt283 = 0; - Class6.anInt149 = 0; - OutputStream_Sub2.anInt103 = 0; - Class348_Sub23.anInt6866 = 0; - Class64_Sub3.anInt5622 = 0; - Class14.anInt5087 = 0; - Class318_Sub1.anInt6390 = 0; - InputStream_Sub1.anInt71 = 0; - Class348_Sub16_Sub1.anInt8859 = 0; - Class179.anInt2355 = 0; - Class367_Sub1.anInt7277 = 0; - Class348_Sub41.anInt7049 = 0; - Class308.anInt3879 = 0; - Class377.anInt9889 = 0; - Class348_Sub15.anInt6778 = 0; - Class65.anInt1143 = 0; - ha_Sub2.anInt7681 = 0; - Class258.anInt4861 = 0; - Applet_Sub1.anInt36 = 0; - Class59_Sub1.anInt5292 = 0; - Class202.anInt2651 = 0; - Class348_Sub40_Sub26.anInt9348 = 0; - Class279.anInt3595 = 0; - Class348_Sub5.anInt6626 = 0; - Class232.anInt3007 = 0; - Class25.anInt372 = 0; - Class218.anInt2852 = 0; - Class55.anInt992 = 0; - Npc.anInt10509 = 0; - ha_Sub3.anInt7913 = 0; - Class143.anInt1990 = 0; - Class64_Sub3.anInt5633 = 0; - ha_Sub2.anInt7563 = 0; - ha_Sub2.anInt7520 = 0; - Class269.anInt3450 = 0; - Class348_Sub16_Sub3.anInt8924 = 0; - Class286_Sub2.anInt6210 = 0; - Class278.anInt3591 = 0; - Class100.anInt1577 = 0; - Class348_Sub16_Sub2.anInt8882 = 0; - Class348_Sub16_Sub1.anInt8850 = 0; - Class242.anInt3151 = 0; - Class37.anInt494 = 0; - Class318_Sub1_Sub5_Sub1.anInt10141 = 0; - Class237.anInt3106 = 0; - Class181.anInt2396 = 0; - Class318_Sub1_Sub3.anInt8742 = 0; - Class77.anInt1297 = 0; - ha_Sub3.anInt7961 = 0; - Class348_Sub40_Sub35.anInt9441 = 0; - Class64_Sub3.anInt5643 = 0; - Class235.anInt3070 = 0; - Class348_Sub40_Sub37.anInt9460 = 0; - ha_Sub2.anInt7650 = 0; - Class348_Sub49.anInt7152 = 0; - Class348_Sub23_Sub2.anInt9017 = 0; - Class32.anInt455 = 0; - Class74.anInt1235 = 0; - ha_Sub2.anInt7530 = 0; - Class213.anInt2813 = 0; - Class255.anInt3270 = 0; - ha_Sub2.anInt7623 = 0; - ha_Sub3.anInt7893 = 0; - Class239_Sub25.anInt6101 = 0; - Class239_Sub20.anInt6050 = 0; - Class160.anInt2134 = 0; - Class239_Sub17.anInt6024 = 0; - Class170.anInt5077 = 0; - Class87.anInt1490 = 0; - Class351.anInt4325 = 0; - Class186_Sub1.anInt5809 = 0; - Class199.anInt2634 = 0; - ha_Sub2.anInt7698 = 0; - Class124.anInt1854 = 0; - Class286_Sub2.anInt6211 = 0; - Class286_Sub5.anInt6252 = 0; - Class318_Sub1_Sub2.anInt8729 = 0; - ha_Sub2.anInt7685 = 0; - Class348_Sub16_Sub2.anInt8875 = 0; - Class302.anInt3841 = 0; - Class34.anInt467 = 0; - Class348_Sub49.anInt7202 = 0; - ha_Sub2.anInt7547 = 0; - Class157.anInt2121 = 0; - Class154.anInt2096 = 0; - Class346_Sub1.anInt6525 = 0; - Class58.anInt1062 = 0; - Class35.anInt485 = 0; - Class251.anInt3230 = 0; - Class348_Sub42_Sub14.anInt9630 = 0; - Class348_Sub31.anInt6919 = 0; - Class318_Sub1_Sub5_Sub2.anInt10169 = 0; - Class233.anInt3019 = 0; - Class348_Sub9.anInt6669 = 0; - Class348_Sub5_Sub1.anInt8827 = 0; - client.anInt5181 = 0; - Class51.anInt870 = 0; - Class264.anInt3369 = 0; - Class59_Sub1.anInt5282 = 0; - Class292.anInt4805 = 0; - Class248.anInt3189 = 0; - Class182.anInt2452 = 0; - Class367_Sub3.anInt7307 = 0; - Class318_Sub1_Sub3_Sub2.anInt10043 = 0; - Class215.anInt2839 = 0; - Class227.anInt2966 = 0; - Class318_Sub1_Sub4_Sub1.anInt10063 = 0; - Class5.anInt4627 = 0; - Class221.anInt2879 = 0; - Class340.anInt4214 = 0; - Class153.anInt2088 = 0; - Class318_Sub1_Sub1_Sub2.anInt10000 = 0; - Class64_Sub2.anInt5434 = 0; - Class26.anInt375 = 0; - Class42.anInt589 = 0; - Class348_Sub31_Sub2.anInt9072 = 0; - Class125.anInt4926 = 0; - Class348_Sub49.anInt7147 = 0; - Class348_Sub40_Sub6.anInt9131 = 0; - Class239_Sub14.anInt5983 = 0; - Class356.anInt4381 = 0; - Class368.anInt4486 = 0; - ha_Sub2.anInt7671 = 0; - Applet_Sub1.anInt16 = 0; - Class357.anInt4393 = 0; - Class318_Sub1_Sub3.anInt8748 = 0; - Class285_Sub1.anInt8489 = 0; - Class202.anInt2653 = 0; - Class308.anInt3880 = 0; - Class43.anInt613 = 0; - s.anInt4593 = 0; - Class324.anInt4049 = 0; - Class59_Sub2_Sub2.anInt8676 = 0; - Class59_Sub1.anInt5295 = 0; - r_Sub1.anInt10470 = 0; - Class348_Sub12.anInt6739 = 0; - Class64_Sub3.anInt5603 = 0; - Class64_Sub2.anInt5523 = 0; - ha_Sub3.anInt7975 = 0; - Class348_Sub40_Sub24.anInt9328 = 0; - Class348_Sub42_Sub10.anInt9570 = 0; - Class318_Sub1_Sub3_Sub1.anInt10034 = 0; - Class348_Sub49.anInt7191 = 0; - Class50_Sub2.anInt5235 = 0; - Class64_Sub3.anInt5636 = 0; - Class348_Sub42_Sub3.anInt9507 = 0; - Player.anInt10545 = 0; - Class348_Sub1.anInt6563 = 0; - Class348_Sub16_Sub3.anInt8903 = 0; - Class361.anInt4434 = 0; - Class348_Sub31_Sub2.anInt9074 = 0; - Class290.anInt3715 = 0; - Class70.anInt1206 = 0; - Class377.anInt9879 = 0; - Class233.anInt3016 = 0; - Class348_Sub31_Sub2.anInt9076 = 0; - Class367_Sub4.anInt7313 = 0; - Class348_Sub49_Sub2.anInt9761 = 0; - Class99.anInt1576 = 0; - Class348_Sub42_Sub14.anInt9623 = 0; - Class219.anInt2869 = 0; - s_Sub2.anInt8236 = 0; - Class48.anInt848 = 0; - ha_Sub2.anInt7589 = 0; - Class348_Sub13.anInt6754 = 0; - Class195.anInt5005 = 0; - Class237.anInt3115 = 0; - Class361.anInt4432 = 0; - Player.anInt10563 = 0; - Class348_Sub16_Sub3.anInt8908 = 0; - Class14_Sub4.anInt8646 = 0; - Class318_Sub1_Sub3_Sub3.anInt10216 = 0; - Class187.anInt2508 = 0; - Class348_Sub41.anInt7046 = 0; - Class59.anInt1077 = 0; - Class348_Sub1_Sub1.anInt8809 = 0; - Class49.anInt4723 = 0; - Class377.anInt9844 = 0; - Class101_Sub1.anInt5682 = 0; - Class348_Sub42_Sub11.anInt9583 = 0; - Class101_Sub3.anInt5759 = 0; - Class101_Sub2.anInt5690 = 0; - Canvas_Sub1.anInt65 = 0; - Class318_Sub1_Sub5.anInt8768 = 0; - Class143.anInt1983 = 0; - Class318_Sub1_Sub3_Sub2.anInt10039 = 0; - Class348_Sub40_Sub16.anInt9224 = 0; - Class64_Sub3.anInt5589 = 0; - Class348_Sub17.anInt6790 = 0; - Class318_Sub1_Sub5_Sub2.anInt10167 = 0; - Class318_Sub1_Sub1_Sub1.anInt9947 = 0; - Class314_Sub1.anInt6370 = 0; - Class42.anInt594 = 0; - Class348_Sub42_Sub8_Sub2.anInt10430 = 0; - Class348_Sub40_Sub29.anInt9376 = 0; - Class348_Sub40_Sub20.anInt9262 = 0; - Class239_Sub1.anInt5846 = 0; - Class348_Sub45_Sub2.anInt9732 = 0; - Class59.anInt1072 = 0; - Class376.anInt4555 = 0; - Class94.anInt1536 = 0; - Class64_Sub2.anInt5514 = 0; - Class14_Sub3.anInt8624 = 0; - ha_Sub2.anInt7677 = 0; - Class76.anInt1284 = 0; - Class368.anInt4495 = 0; - Class199.anInt2627 = 0; - Class377.anInt9874 = 0; - Class348_Sub23_Sub2.anInt9022 = 0; - Class348_Sub49_Sub2.anInt9755 = 0; - Class348_Sub31_Sub2.anInt9068 = 0; - Class239_Sub21.anInt6069 = 0; - Class377.anInt9846 = 0; - Class324.anInt4057 = 0; - Canvas_Sub1.anInt69 = 0; - Class377.anInt9892 = 0; - Class54.anInt972 = 0; - Class348_Sub42_Sub2.anInt8561 = 0; - Class318_Sub1_Sub2_Sub1.anInt10193 = 0; - ha_Sub2.anInt7702 = 0; - ha_Sub2.anInt7608 = 0; - ha_Sub2.anInt7706 = 0; - Class362.anInt4457 = 0; - Class253.anInt3254 = 0; - Class348_Sub42_Sub1.anInt9489 = 0; - ha_Sub3.anInt8018 = 0; - Class89.anInt1511 = 0; - Class348_Sub40_Sub20.anInt9265 = 0; - Class318_Sub1_Sub2_Sub1.anInt10179 = 0; - ha_Sub2.anInt7622 = 0; - Class373_Sub2.anInt7436 = 0; - Class213.anInt2782 = 0; - Npc.anInt10500 = 0; - Class239_Sub14.anInt5984 = 0; - Class348_Sub42_Sub8_Sub2.anInt10438 = 0; - Class318_Sub1_Sub5_Sub1.anInt10139 = 0; - Class262.anInt3339 = 0; - Class318_Sub1_Sub3_Sub5.anInt10372 = 0; - Class334.anInt4163 = 0; - ha_Sub2.anInt7570 = 0; - Class348_Sub1_Sub3.anInt8820 = 0; - Class261.anInt3322 = 0; - Class114.anInt1750 = 0; - Class64_Sub2.anInt5448 = 0; - Class58.anInt1061 = 0; - Class373_Sub2.anInt7443 = 0; - Class79.anInt1378 = 0; - Class239_Sub21.anInt6067 = 0; - Class318_Sub1_Sub3_Sub3.anInt10298 = 0; - Class318.anInt3973 = 0; - Class284.anInt3664 = 0; - client.anInt5179 = 0; - Class88.anInt1498 = 0; - Class348_Sub40_Sub21.anInt9272 = 0; - Class239_Sub23.anInt6077 = 0; - Class240.anInt4676 = 0; - Class239_Sub16.anInt6010 = 0; - Class318_Sub1_Sub5_Sub2.anInt10160 = 0; - Class137.anInt1935 = 0; - Class348_Sub49.anInt7162 = 0; - Class307.anInt3878 = 0; - anInt5795 = 0; - Class64_Sub2.anInt5446 = 0; - Class154.anInt2097 = 0; - Class34.anInt462 = 0; - Class318_Sub1_Sub3_Sub5.anInt10402 = 0; - Class339.anInt4209 = 0; - Class348_Sub49.anInt7164 = 0; - Class348_Sub40_Sub38.anInt9468 = 0; - Class239_Sub23.anInt6078 = 0; - Class348_Sub40.anInt7039 = 0; - Class101_Sub2.anInt5693 = 0; - ha.anInt4570 = 0; - Class273.anInt5168 = 0; - Class237.anInt3116 = 0; - ha_Sub3.anInt8036 = 0; - ha_Sub3.anInt7996 = 0; - Class199.anInt2630 = 0; - Class348_Sub42_Sub18.anInt9686 = 0; - Class139.anInt1950 = 0; - Class65.anInt1139 = 0; - Class348_Sub47.anInt7123 = 0; - Class110_Sub1.anInt5789 = 0; - Class50_Sub3.anInt5238 = 0; - Class348_Sub51.anInt7239 = 0; - Class60.anInt1101 = 0; - ha_Sub2.anInt7658 = 0; - Class255.anInt3283 = 0; - Class239_Sub26.anInt6125 = 0; - Class348_Sub23.anInt6870 = 0; - Class286_Sub5.anInt6249 = 0; - ha_Sub3.anInt8044 = 0; - Class348_Sub41.anInt7051 = 0; - Class119_Sub1.anInt4704 = 0; - Class45.anInt651 = 0; - Class258.anInt4852 = 0; - Class161.anInt2142 = 0; - Class117.anInt1776 = 0; - Class5_Sub2.anInt8353 = 0; - ha_Sub3.anInt7952 = 0; - Class46.anInt827 = 0; - Class318_Sub1_Sub3_Sub2.anInt10061 = 0; - Class105_Sub2.anInt8437 = 0; - Class239_Sub5.anInt5892 = 0; - Class34.anInt478 = 0; - s.anInt4586 = 0; - Class286_Sub1.anInt6186 = 0; - Class361.anInt4451 = 0; - Class318_Sub1_Sub3_Sub4.anInt10340 = 0; - Class166.anInt2178 = 0; - Class377.anInt9815 = 0; - Class59_Sub2_Sub1.anInt8669 = 0; - ha_Sub3.anInt8013 = 0; - Class239_Sub16.anInt6013 = 0; - Class170.anInt5071 = 0; - Class60.anInt1090 = 0; - Class127.anInt4652 = 0; - Class328_Sub3.anInt6521 = 0; - Class263.anInt3353 = 0; - Class348_Sub40_Sub9.anInt9172 = 0; - Class239_Sub18.anInt6036 = 0; - Class301.anInt3827 = 0; - Class163.anInt2166 = 0; - Class348_Sub42_Sub16_Sub1.anInt10448 = 0; - Class191.anInt2566 = 0; - Class318_Sub2.anInt6397 = 0; - Class377.anInt9814 = 0; - Class18.anInt274 = 0; - s_Sub2.anInt8255 = 0; - Class348_Sub40_Sub19.anInt9253 = 0; - Npc.anInt10494 = 0; - ha_Sub2.anInt7590 = 0; - Class377.anInt9823 = 0; - Class101_Sub1.anInt5674 = 0; - Class348_Sub40_Sub12.anInt9193 = 0; - ha_Sub3.anInt7890 = 0; - Class334.anInt4164 = 0; - Class203.anInt2675 = 0; - ha_Sub2.anInt7631 = 0; - Class318_Sub1_Sub4_Sub1.anInt10086 = 0; - Class239_Sub29.anInt6144 = 0; - Class315.anInt3955 = 0; - Class348_Sub40_Sub28.anInt9361 = 0; - Class318_Sub1_Sub3_Sub3.anInt10313 = 0; - Class108.anInt1658 = 0; - ha_Sub2.anInt7514 = 0; - Player.anInt10529 = 0; - Class318_Sub1_Sub3_Sub5.anInt10374 = 0; - Class117.anInt1765 = 0; - Player.anInt10532 = 0; - Class47.anInt844 = 0; - Class117.anInt1777 = 0; - Class122.anInt1809 = 0; - Class348_Sub17.anInt6801 = 0; - Class105_Sub1.anInt8394 = 0; - Class348_Sub49.anInt7176 = 0; - Class188.anInt2520 = 0; - Class318_Sub1_Sub3_Sub1.anInt10013 = 0; - Class127_Sub1.anInt8379 = 0; - Class10.anInt181 = 0; - Class348_Sub40_Sub6.anInt9136 = 0; - Class294.anInt5039 = 0; - Class377.anInt9894 = 0; - Class93.anInt1532 = 0; - Class64_Sub2.anInt5487 = 0; - ha_Sub3.anInt8053 = 0; - Class172.anInt2281 = 0; - ha_Sub2.anInt7537 = 0; - Class267.anInt3393 = 0; - Class303.anInt3846 = 0; - Class97.anInt1549 = 0; - Class101_Sub1.anInt5688 = 0; - Class348_Sub42_Sub10.anInt9576 = 0; - Class363.anInt4464 = 0; - Class38.anInt505 = 0; - Class287.anInt3694 = 0; - Class213.anInt2754 = 0; - Class110_Sub1.anInt5792 = 0; - ha_Sub2.anInt7591 = 0; - s_Sub2.anInt8247 = 0; - Class299_Sub1_Sub2.anInt8699 = 0; - Class239_Sub17.anInt6019 = 0; - s_Sub2.anInt8242 = 0; - Class348_Sub42_Sub11.anInt9589 = 0; - Class377.anInt9855 = 0; - Class348_Sub16_Sub3.anInt8892 = 0; - Class348_Sub42_Sub15.anInt9648 = 0; - Class377.anInt9837 = 0; - Class213.anInt2793 = 0; - Class291.anInt3731 = 0; - Class158.anInt4933 = 0; - Class286_Sub9.anInt6314 = 0; - Npc.anInt10511 = 0; - Class5_Sub3.anInt8369 = 0; - Class318_Sub1_Sub5.anInt8778 = 0; - Class350.anInt4318 = 0; - Class90.anInt1513 = 0; - Class239_Sub7.anInt5906 = 0; - Class239_Sub24.anInt6090 = 0; - Class231.anInt2997 = 0; - Class229.anInt2980 = 0; - Class14.anInt5094 = 0; - Player.anInt10528 = 0; - Class64_Sub2.anInt5466 = 0; - ha_Sub3.anInt8008 = 0; - Class372.anInt4527 = 0; - Class368.anInt4491 = 0; - Class175.anInt2319 = 0; - ha_Sub3.anInt7978 = 0; - Class179.anInt2356 = 0; - Class348_Sub49_Sub1.anInt9742 = 0; - Class239_Sub23.anInt6081 = 0; - Player.anInt10546 = 0; - Class101_Sub1.anInt5668 = 0; - Class367.anInt4482 = 0; - Class76.anInt1278 = 0; - Class377.anInt9863 = 0; - Class324.anInt4053 = 0; - Class239_Sub3.anInt5861 = 0; - Class318_Sub1_Sub3_Sub1.anInt10011 = 0; - Class367_Sub11.anInt7400 = 0; - Class16.anInt230 = 0; - Class59_Sub2.anInt5301 = 0; - Class318_Sub1_Sub2.anInt8735 = 0; - Player.anInt10525 = 0; - Class151.anInt2066 = 0; - Class14_Sub3.anInt8627 = 0; - Class377.anInt9886 = 0; - Class55.anInt1002 = 0; - Class286_Sub6.anInt6273 = 0; - Class190.anInt2550 = 0; - Class101_Sub1.anInt5658 = 0; - Class239_Sub1.anInt5848 = 0; - Class119_Sub2.anInt4831 = 0; - Class67.anInt4642 = 0; - Class64_Sub3.anInt5623 = 0; - Class368.anInt4494 = 0; - ha_Sub3.anInt8051 = 0; - Class286_Sub5.anInt6253 = 0; - Class294.anInt5031 = 0; - Class318_Sub1_Sub1_Sub2.anInt9973 = 0; - Class286_Sub3.anInt6216 = 0; - Class309.anInt4823 = 0; - Class186.anInt2493 = 0; - Class239_Sub27.anInt6132 = 0; - Class377.anInt9838 = 0; - Class346_Sub1.anInt6538 = 0; - Class318_Sub1_Sub3_Sub4.anInt10363 = 0; - Class289.anInt3698 = 0; - Class59_Sub1_Sub2.anInt8661 = 0; - Class162.anInt2152 = 0; - Class294.anInt5033 = 0; - Class148.anInt2041 = 0; - Class348_Sub23_Sub1.anInt8997 = 0; - Class348_Sub40.anInt7027 = 0; - Class55.anInt988 = 0; - Class348_Sub49.anInt7208 = 0; - Class318_Sub1_Sub1_Sub2.anInt9972 = 0; - ha_Sub2.anInt7703 = 0; - ha_Sub2.anInt7594 = 0; - Class101_Sub2.anInt5739 = 0; - ha_Sub2.anInt7663 = 0; - Class300.anInt3822 = 0; - Class377.anInt9872 = 0; - ha.anInt4565 = 0; - Class348_Sub16_Sub3.anInt8946 = 0; - ha_Sub3.anInt7897 = 0; - ha_Sub2.anInt7689 = 0; - Class143.anInt1982 = 0; - Class101_Sub2.anInt5718 = 0; - Class101_Sub1.anInt5659 = 0; - Class51.anInt866 = 0; - Class16.anInt232 = 0; - Class170.anInt5075 = 0; - Class5_Sub1.anInt8340 = 0; - Class369_Sub3.anInt8594 = 0; - Class279.anInt3599 = 0; - Class50_Sub1.anInt5210 = 0; - Class119_Sub1.anInt4700 = 0; - Class250.anInt3219 = 0; - ha_Sub3.anInt7939 = 0; - Class315.anInt3945 = 0; - Class14.anInt5092 = 0; - Class262.anInt3328 = 0; - Class335.anInt4166 = 0; - Class239_Sub1.anInt5844 = 0; - Class213.anInt2828 = 0; - Class64_Sub2.anInt5437 = 0; - Class348_Sub1_Sub2.anInt8813 = 0; - Class318_Sub1_Sub5_Sub1.anInt10143 = 0; - Class348_Sub16_Sub2.anInt8868 = 0; - Class45.anInt636 = 0; - Class318_Sub1_Sub1_Sub1.anInt9946 = 0; - ha_Sub2.anInt7638 = 0; - OutputStream_Sub2.anInt107 = 0; - Class348_Sub32.anInt6939 = 0; - Class163.anInt2171 = 0; - Class40.anInt542 = 0; - Class316.anInt3964 = 0; - Class348_Sub23_Sub4.anInt9060 = 0; - ha_Sub2.anInt7652 = 0; - Class239_Sub12.anInt5967 = 0; - Applet_Sub1.anInt7 = 0; - IOException_Sub1.anInt88 = 0; - Class348_Sub49.anInt7180 = 0; - Class239_Sub9.anInt5927 = 0; - Class239_Sub2.anInt5852 = 0; - ha_Sub3.anInt7902 = 0; - Class294.anInt5055 = 0; - Class348_Sub16_Sub3.anInt8952 = 0; - Class348_Sub40_Sub22.anInt9296 = 0; - Class239_Sub25.anInt6102 = 0; - Class348_Sub42_Sub10.anInt9561 = 0; - Class64_Sub3.anInt5535 = 0; - Class156.anInt2116 = 0; - Class9.anInt170 = 0; - Npc.anInt10515 = 0; - Class314_Sub1.anInt6356 = 0; - Class24.anInt356 = 0; - ha_Sub2.anInt7646 = 0; - Class348_Sub24.anInt6871 = 0; - Class367_Sub4.anInt7308 = 0; - Class46.anInt691 = 0; - Class348_Sub20.anInt6845 = 0; - Class342.anInt4251 = 0; - Class105_Sub2.anInt8439 = 0; - Class239_Sub6.anInt5897 = 0; - Class367_Sub2.anInt7289 = 0; - Class348_Sub45_Sub2.anInt9735 = 0; - Class153.anInt2082 = 0; - Class235.anInt3086 = 0; - Class269.anInt3456 = 0; - Class377.anInt9821 = 0; - Class318_Sub7.anInt6445 = 0; - Class285_Sub1.anInt8494 = 0; - Class348_Sub11.anInt4763 = 0; - Class206.anInt4885 = 0; - Class239_Sub21.anInt6060 = 0; - Class318_Sub1_Sub4_Sub1.anInt10087 = 0; - Class346_Sub1.anInt6527 = 0; - Class122.anInt1804 = 0; - Class313.anInt3933 = 0; - ha_Sub2.anInt7700 = 0; - Class314.anInt3940 = 0; - Class265.anInt4696 = 0; - Class318_Sub2.anInt6399 = 0; - ha.anInt4573 = 0; - Class79.anInt1334 = 0; - Class101_Sub2.anInt5725 = 0; - Class318_Sub1_Sub4_Sub1.anInt10068 = 0; - Class60.anInt1094 = 0; - Class239_Sub26.anInt6116 = 0; - Class105_Sub2.anInt8442 = 0; - Class50_Sub1.anInt5218 = 0; - ha_Sub2.anInt7546 = 0; - Class171.anInt2273 = 0; - Class206.anInt4890 = 0; - Class235.anInt3061 = 0; - Class299_Sub2_Sub1.anInt8710 = 0; - Class62.anInt1113 = 0; - s_Sub3.anInt8298 = 0; - Class162.anInt2154 = 0; - Class348.anInt4298 = 0; - Class322.anInt4019 = 0; - ha_Sub2.anInt7543 = 0; - Class348_Sub40_Sub33.anInt9430 = 0; - Class64_Sub2.anInt5459 = 0; - Class66.anInt1166 = 0; - Class348_Sub42_Sub10.anInt9568 = 0; - Class318_Sub1_Sub3_Sub4.anInt10343 = 0; - Class248.anInt3187 = 0; - Class239_Sub27.anInt6131 = 0; - Class295.anInt3752 = 0; - ha_Sub3.anInt7903 = 0; - Class239_Sub1.anInt5843 = 0; - ha_Sub3.anInt7960 = 0; - Class57.anInt1053 = 0; - ha_Sub3.anInt8077 = 0; - Class348_Sub40_Sub17_Sub1.anInt10425 = 0; - Class59_Sub1.anInt5291 = 0; - Class348_Sub47.anInt7121 = 0; - Class377.anInt9848 = 0; - Class235.anInt3058 = 0; - Class295.anInt3755 = 0; - Class255.anInt3282 = 0; - Class14.anInt5086 = 0; - Class169.anInt2263 = 0; - Class318_Sub1_Sub3_Sub3.anInt10228 = 0; - client.anInt5170 = 0; - ha_Sub2.anInt7535 = 0; - Class348_Sub23_Sub1.anInt9003 = 0; - ha_Sub2.anInt7669 = 0; - Class239_Sub28.anInt6138 = 0; - Class239_Sub24.anInt6086 = 0; - Class267.anInt3390 = 0; - ha_Sub2.anInt7540 = 0; - Class110.anInt1709 = 0; - Class348_Sub40_Sub32.anInt9414 = 0; - Class239_Sub21.anInt6057 = 0; - Class348_Sub40.anInt7030 = 0; - ha_Sub3.anInt7921 = 0; - Class218.anInt2855 = 0; - Class194.anInt2592 = 0; - Class341.anInt4232 = 0; - Class262.anInt3329 = 0; - Class348_Sub40_Sub12.anInt9196 = 0; - Class348_Sub40.anInt7026 = 0; - Class348_Sub20.anInt6838 = 0; - Class78.anInt1309 = 0; - Class348_Sub23_Sub3.anInt9045 = 0; - Class119_Sub2.anInt4830 = 0; - Class305.anInt3864 = 0; - Player.anInt10548 = 0; - Class239_Sub24.anInt6088 = 0; - Class278.anInt3579 = 0; - Class348_Sub49.anInt7195 = 0; - Class359.anInt4422 = 0; - s_Sub2.anInt8254 = 0; - Class348_Sub23.anInt6863 = 0; - Class248.anInt3188 = 0; - ha_Sub2.anInt7704 = 0; - Class318_Sub1_Sub3_Sub5.anInt10397 = 0; - Class111.anInt1719 = 0; - Class361.anInt4435 = 0; - Class286_Sub4.anInt6239 = 0; - Class318_Sub1_Sub4_Sub1.anInt10085 = 0; - Class239_Sub20.anInt6053 = 0; - Class348_Sub37.anInt6996 = 0; - Class282.anInt3651 = 0; - Class305.anInt3860 = 0; - Class64_Sub2.anInt5522 = 0; - Class14.anInt5097 = 0; - Class348_Sub40_Sub34.anInt9433 = 0; - Class318_Sub1_Sub3_Sub3.anInt10233 = 0; - ha_Sub2.anInt7528 = 0; - ha_Sub3.anInt8067 = 0; - Class208.anInt2714 = 0; - Class356.anInt4380 = 0; - Class255.anInt3277 = 0; - Class235.anInt3080 = 0; - Class263.anInt3356 = 0; - Class31.anInt446 = 0; - Class287.anInt3686 = 0; - Class248.anInt3191 = 0; - Class239_Sub3.anInt5864 = 0; - Class300.anInt3816 = 0; - Class311.anInt3904 = 0; - Class251.anInt3231 = 0; - Class348_Sub42_Sub19.anInt9698 = 0; - Class318_Sub1_Sub2.anInt8733 = 0; - Class167.anInt2193 = 0; - Class367.anInt4485 = 0; - Class17.anInt266 = 0; - Class348_Sub16_Sub3.anInt8936 = 0; - Class254.anInt3262 = 0; - Class318_Sub1_Sub3_Sub3.anInt10277 = 0; - Class348_Sub40_Sub4.anInt9115 = 0; - Class285.anInt4751 = 0; - Class348_Sub42_Sub16_Sub2.anInt10460 = 0; - Class101_Sub2.anInt5720 = 0; - Class101_Sub2.anInt5727 = 0; - Class258_Sub3.anInt8540 = 0; - Class318_Sub1_Sub4_Sub2.anInt10100 = 0; - Class239_Sub28.anInt6142 = 0; - Class239_Sub15.anInt6002 = 0; - Applet_Sub1.anInt33 = 0; - Class318_Sub1_Sub3_Sub1.anInt10008 = 0; - Class101_Sub3.anInt5785 = 0; - Class64_Sub3.anInt5574 = 0; - Class377.anInt9887 = 0; - ha_Sub2.anInt7649 = 0; - Class296.anInt3772 = 0; - client.anInt5188 = 0; - Class348_Sub18.anInt6807 = 0; - ha_Sub2.anInt7726 = 0; - Class318_Sub1_Sub3_Sub3.anInt10307 = 0; - Class124.anInt1826 = 0; - Class127_Sub1.anInt8381 = 0; - Class348_Sub40_Sub39.anInt9483 = 0; - Class104.anInt1611 = 0; - Class348_Sub5_Sub1.anInt8839 = 0; - Class254.anInt3257 = 0; - Class46.anInt743 = 0; - Class318_Sub1_Sub4_Sub1.anInt10092 = 0; - Class318_Sub1_Sub1_Sub2.anInt9975 = 0; - ha_Sub3.anInt7907 = 0; - Class88.anInt1495 = 0; - Class318_Sub1_Sub3_Sub5.anInt10379 = 0; - Class348_Sub16_Sub3.anInt8898 = 0; - Class89.anInt1509 = 0; - Class318_Sub1_Sub3_Sub1.anInt10033 = 0; - ha_Sub2.anInt7558 = 0; - Class348_Sub40_Sub7.anInt9142 = 0; - Class356.anInt4384 = 0; - Class330.anInt4119 = 0; - Class251.anInt3233 = 0; - Applet_Sub1.anInt9 = 0; - Class170.anInt5072 = 0; - Class62.anInt1112 = 0; - Applet_Sub1.anInt10 = 0; - Class19.anInt309 = 0; - Class237.anInt3107 = 0; - ha_Sub2.anInt7539 = 0; - Class261.anInt3316 = 0; - Class376.anInt4552 = 0; - Class248.anInt3194 = 0; - Class367_Sub9.anInt7374 = 0; - Class289.anInt3703 = 0; - Class318_Sub1_Sub3_Sub3.anInt10205 = 0; - Class239_Sub24.anInt6085 = 0; - Class356.anInt4375 = 0; - Npc.anInt10498 = 0; - Class239_Sub10.anInt5944 = 0; - Class255.anInt3272 = 0; - anInt5802 = 0; - Class348_Sub47.anInt7117 = 0; - Class324.anInt4047 = 0; - Class377.anInt9891 = 0; - OutputStream_Sub2.anInt104 = 0; - Class261.anInt3317 = 0; - Class377.anInt9883 = 0; - Class99.anInt1575 = 0; - Class14_Sub1.anInt8616 = 0; - Class61.anInt1104 = 0; - Class45.anInt653 = 0; - Class239_Sub3.anInt5862 = 0; - Class348_Sub40_Sub37.anInt9457 = 0; - Class97.anInt1553 = 0; - Class348_Sub40_Sub17.anInt9238 = 0; - Class367_Sub8.anInt7352 = 0; - Class45.anInt633 = 0; - Class318_Sub1_Sub5_Sub1.anInt10122 = 0; - ha_Sub3.anInt7999 = 0; - ha_Sub2.anInt7585 = 0; - Class348_Sub40_Sub10.anInt9179 = 0; - Class264.anInt3367 = 0; - ha_Sub3.anInt7941 = 0; - Class348_Sub23_Sub1.anInt8991 = 0; - Class164.anInt2174 = 0; - Class79.anInt1332 = 0; - Class239_Sub7.anInt5908 = 0; - ha_Sub3.anInt7936 = 0; - Class318_Sub1_Sub3_Sub2.anInt10041 = 0; - Class239_Sub9.anInt5931 = 0; - Npc.anInt10507 = 0; - Class318_Sub1_Sub1_Sub2.anInt10001 = 0; - Class318_Sub1_Sub1_Sub1.anInt9958 = 0; - ha_Sub3.anInt8023 = 0; - Class348_Sub38.anInt7003 = 0; - Class346_Sub1.anInt6536 = 0; - Class318_Sub1_Sub3_Sub5.anInt10389 = 0; - Class353.anInt4345 = 0; - Class348_Sub51.anInt7217 = 0; - Class101_Sub3.anInt5778 = 0; - Class239_Sub7.anInt5910 = 0; - Class235.anInt3077 = 0; - Class107.anInt1642 = 0; - Class141.anInt1970 = 0; - Class239_Sub23.anInt6080 = 0; - Class367_Sub8.anInt7357 = 0; - Class318_Sub1_Sub3_Sub2.anInt10057 = 0; - Class318_Sub1_Sub1_Sub1.anInt9961 = 0; - Class182.anInt2453 = 0; - Class189.anInt2528 = 0; - Class239_Sub15.anInt5998 = 0; - Class239_Sub3.anInt5867 = 0; - Class258_Sub2.anInt8533 = 0; - Class169.anInt2257 = 0; - Class277.anInt3571 = 0; - Class84.anInt1451 = 0; - Class156.anInt2120 = 0; - Class299_Sub2.anInt6324 = 0; - Class348_Sub42_Sub16_Sub2.anInt10462 = 0; - Class151.anInt2064 = 0; - Class170.anInt5062 = 0; - Class348_Sub49.anInt7196 = 0; - Class331.anInt4137 = 0; - Class237.anInt3110 = 0; - Class348_Sub40_Sub31.anInt9409 = 0; - Class279.anInt3612 = 0; - Class348_Sub16_Sub2.anInt8867 = 0; - Class367_Sub9.anInt7372 = 0; - Class318_Sub1_Sub5.anInt8777 = 0; - Class348_Sub23_Sub1.anInt9004 = 0; - Class346_Sub1.anInt6533 = 0; - Class334.anInt4159 = 0; - Class286_Sub7.anInt6287 = 0; - Class239_Sub8.anInt5924 = 0; - Class348_Sub40_Sub25.anInt9337 = 0; - Class348_Sub40_Sub23.anInt9321 = 0; - Class217.anInt2840 = 0; - Class216.anInt4979 = 0; - s_Sub3.anInt8297 = 0; - Class288_Sub1.anInt8576 = 0; - Class243.anInt3159 = 0; - Class154.anInt2099 = 0; - Class286_Sub9.anInt6318 = 0; - Class318_Sub1_Sub1.anInt8726 = 0; - Class348_Sub14.anInt6760 = 0; - Class377.anInt9830 = 0; - Class262.anInt3327 = 0; - Class101.anInt1599 = 0; - Class239_Sub10.anInt5946 = 0; - Class84.anInt1457 = 0; - Class101_Sub2.anInt5703 = 0; - ha_Sub3.anInt8025 = 0; - Class348_Sub42_Sub16_Sub2.anInt10459 = 0; - Class166.anInt2189 = 0; - Class240.anInt4680 = 0; - Class50_Sub3.anInt5244 = 0; - Class359.anInt4419 = 0; - Class234.anInt3041 = 0; - Class105_Sub2.anInt8433 = 0; - Class183.anInt2463 = 0; - Class30.anInt410 = 0; - Class101_Sub2.anInt5733 = 0; - Class285.anInt4749 = 0; - Class237.anInt3125 = 0; - Class348_Sub40_Sub19.anInt9255 = 0; - Class348_Sub42_Sub7.anInt9544 = 0; - Class348_Sub23_Sub2.anInt9030 = 0; - Class294.anInt5025 = 0; - Class348_Sub3.anInt6570 = 0; - Class77.anInt1299 = 0; - Class318_Sub1_Sub1_Sub2.anInt9986 = 0; - Class117.anInt1763 = 0; - Class64_Sub3.anInt5549 = 0; - Class285_Sub1.anInt8486 = 0; - Class158.anInt4941 = 0; - Class5_Sub2.anInt8358 = 0; - Class52.anInt4894 = 0; - Class375.anInt4539 = 0; - Class192.anInt2573 = 0; - Class318_Sub1_Sub4_Sub2.anInt10109 = 0; - Applet_Sub1.anInt23 = 0; - Class348_Sub1.anInt6557 = 0; - Class286_Sub7.anInt6286 = 0; - Class105_Sub2.anInt8444 = 0; - Class361.anInt4448 = 0; - Class274.anInt3478 = 0; - Class373.anInt4535 = 0; - Class239_Sub18.anInt6029 = 0; - Class318_Sub1_Sub4_Sub2.anInt10107 = 0; - Class324.anInt4046 = 0; - ha_Sub2.anInt7610 = 0; - Class348_Sub23_Sub1.anInt8989 = 0; - Class67.anInt4645 = 0; - Class239_Sub4.anInt5877 = 0; - ha_Sub3.anInt7971 = 0; - Class119_Sub1.anInt4698 = 0; - Class135_Sub2.anInt4842 = 0; - Applet_Sub1.anInt32 = 0; - Class112.anInt1726 = 0; - Class196.anInt2600 = 0; - Class202.anInt2662 = 0; - Class66.anInt1157 = 0; - Class251.anInt3235 = 0; - Class319.anInt3984 = 0; - Class330.anInt4115 = 0; - Class42.anInt600 = 0; - Class260.anInt3308 = 0; - Class159.anInt2128 = 0; - ha_Sub3.anInt7886 = 0; - Class318_Sub1_Sub3_Sub5.anInt10370 = 0; - Class65.anInt1142 = 0; - Class156.anInt2119 = 0; - Class110_Sub1.anInt5790 = 0; - ha_Sub3.anInt7926 = 0; - ha_Sub3.anInt7989 = 0; - Class240.anInt4678 = 0; - Class244.anInt4620 = 0; - Class239_Sub10.anInt5935 = 0; - Class262.anInt3333 = 0; - Class220.anInt2878 = 0; - Class54.anInt971 = 0; - Class64_Sub2.anInt5479 = 0; - Class318_Sub1_Sub3_Sub1.anInt10020 = 0; - Class208.anInt2710 = 0; - Class115.anInt1755 = 0; - Class348_Sub6.anInt6639 = 0; - Class181.anInt2409 = 0; - Class239_Sub21.anInt6068 = 0; - Class52.anInt4898 = 0; - Class64_Sub3.anInt5599 = 0; - s_Sub2.anInt8248 = 0; - Class318_Sub1_Sub4_Sub1.anInt10088 = 0; - Class318_Sub1_Sub3_Sub3.anInt10214 = 0; - Player.anInt10543 = 0; - Class285.anInt4740 = 0; - Class269.anInt3461 = 0; - Class348_Sub49.anInt7158 = 0; - Class239_Sub12.anInt5960 = 0; - Class25.anInt365 = 0; - Class350.anInt4315 = 0; - Class164.anInt2172 = 0; - Class59_Sub1.anInt5284 = 0; - Class239_Sub5.anInt5889 = 0; - Class85.anInt1470 = 0; - Class348_Sub3.anInt6579 = 0; - Class239_Sub19.anInt6040 = 0; - ha_Sub3.anInt8050 = 0; - Class318_Sub1_Sub2_Sub1.anInt10187 = 0; - Class64_Sub3.anInt5611 = 0; - Class286_Sub4.anInt6240 = 0; - Class163.anInt2161 = 0; - Class239_Sub29.anInt6150 = 0; - ha_Sub2.anInt7573 = 0; - Class188.anInt2516 = 0; - Class64_Sub2.anInt5411 = 0; - Class171.anInt2274 = 0; - Class348_Sub49.anInt7159 = 0; - ha_Sub2.anInt7693 = 0; - Class67.anInt4644 = 0; - Class239_Sub20.anInt6052 = 0; - Class286_Sub2.anInt6206 = 0; - Class318_Sub1_Sub3_Sub3.anInt10249 = 0; - Class100.anInt1587 = 0; - Class113.anInt1741 = 0; - s_Sub2.anInt8271 = 0; - Class124.anInt1858 = 0; - Class348_Sub49.anInt7199 = 0; - Class377.anInt9868 = 0; - ha_Sub3.anInt8059 = 0; - Class62.anInt1110 = 0; - Class55.anInt998 = 0; - Class101_Sub3.anInt5775 = 0; - Class367_Sub10.anInt7386 = 0; - Class17.anInt243 = 0; - Class105_Sub2.anInt8425 = 0; - Class318_Sub1_Sub5_Sub2.anInt10159 = 0; - Class348_Sub40_Sub33.anInt9429 = 0; - Class318_Sub1_Sub1_Sub1.anInt9956 = 0; - Class239_Sub26.anInt6119 = 0; - ha_Sub3.anInt7949 = 0; - Class244.anInt4612 = 0; - Class361.anInt4446 = 0; - Class85.anInt1464 = 0; - Class101_Sub1.anInt5657 = 0; - Class136.anInt4794 = 0; - Class318_Sub1_Sub3_Sub3.anInt10299 = 0; - Class105_Sub1.anInt8390 = 0; - Class377.anInt9843 = 0; - Class318_Sub1_Sub4_Sub1.anInt10093 = 0; - Class367_Sub4.anInt7312 = 0; - Class318_Sub1_Sub5.anInt8767 = 0; - Class289.anInt3696 = 0; - Class206.anInt4868 = 0; - Class101_Sub2.anInt5730 = 0; - Class79.anInt1326 = 0; - Class235.anInt3087 = 0; - Class251.anInt3229 = 0; - ha_Sub3.anInt8030 = 0; - Class5.anInt4641 = 0; - Class307.anInt3877 = 0; - Class202.anInt2647 = 0; - Class237.anInt3112 = 0; - Class318_Sub1_Sub4_Sub1.anInt10067 = 0; - Class348_Sub16_Sub1.anInt8851 = 0; - Class348_Sub49.anInt7177 = 0; - Class348_Sub16_Sub3.anInt8955 = 0; - Class239_Sub11.anInt5957 = 0; - Class51.anInt927 = 0; - Class369_Sub2.anInt8593 = 0; - Class243.anInt3168 = 0; - Class247.anInt3180 = 0; - Class161.anInt2150 = 0; - Class64_Sub3.anInt5606 = 0; - ha_Sub2.anInt7654 = 0; - Class318_Sub1_Sub4_Sub2.anInt10103 = 0; - Class348_Sub16_Sub3.anInt8923 = 0; - Class377.anInt9881 = 0; - Class59_Sub1.anInt5281 = 0; - Class377.anInt9853 = 0; - Class184.anInt2472 = 0; - Class348_Sub16_Sub2.anInt8873 = 0; - Npc.anInt10493 = 0; - ha_Sub3.anInt8017 = 0; - Class318_Sub1_Sub3_Sub3.anInt10297 = 0; - Class50_Sub2.anInt5234 = 0; - Class141.anInt1967 = 0; - Class351.anInt4324 = 0; - Class45.anInt658 = 0; - Class87.anInt1485 = 0; - Class348_Sub40_Sub14.anInt9207 = 0; - Class69.anInt1194 = 0; - Class239_Sub8.anInt5914 = 0; - Class348_Sub49.anInt7192 = 0; - Class110_Sub1.anInt5793 = 0; - Class32.anInt447 = 0; - Class161.anInt2144 = 0; - Class348_Sub1_Sub1.anInt8802 = 0; - Class258.anInt4862 = 0; - Class348_Sub5_Sub1.anInt8831 = 0; - Class27.anInt391 = 0; - Class117.anInt1771 = 0; - Class239_Sub10.anInt5942 = 0; - Canvas_Sub1.anInt62 = 0; - Class262.anInt3338 = 0; - Class239_Sub18.anInt6034 = 0; - Class60.anInt1095 = 0; - Class59_Sub2.anInt5307 = 0; - za_Sub2.anInt9778 = 0; - Class357.anInt4392 = 0; - Class14.anInt5102 = 0; - Class101_Sub3.anInt5765 = 0; - Class346_Sub1.anInt6534 = 0; - ha_Sub3.anInt7957 = 0; - Class78.anInt1304 = 0; - ha_Sub2.anInt7542 = 0; - Class79.anInt1400 = 0; - Class252.anInt3243 = 0; - Class237_Sub1.anInt5825 = 0; - Class318_Sub1_Sub1_Sub1.anInt9953 = 0; - Class246.anInt3178 = 0; - Class38.anInt509 = 0; - Class318_Sub1_Sub4_Sub2.anInt10110 = 0; - Class348_Sub50.anInt7210 = 0; - Class377.anInt9862 = 0; - Class59_Sub1_Sub1.anInt8658 = 0; - Class305.anInt3868 = 0; - Class289.anInt3702 = 0; - Class178.anInt2337 = 0; - Class348_Sub37.anInt6999 = 0; - Class51.anInt899 = 0; - Class285_Sub2.anInt8496 = 0; - client.anInt5177 = 0; - Class66.anInt1159 = 0; - Class50_Sub3.anInt5251 = 0; - Class239.anInt3134 = 0; - Class318_Sub1_Sub3.anInt8749 = 0; - s_Sub3.anInt8310 = 0; - Class213.anInt2800 = 0; - Class348_Sub40_Sub32.anInt9418 = 0; - Class239_Sub14.anInt5988 = 0; - Class170.anInt5068 = 0; - Class316.anInt3962 = 0; - Class237_Sub1.anInt5816 = 0; - Class318_Sub1_Sub3_Sub2.anInt10044 = 0; - Class45.anInt661 = 0; - Class125.anInt4927 = 0; - Class45.anInt650 = 0; - ha_Sub3.anInt8029 = 0; - Class361.anInt4449 = 0; - Class65.anInt1147 = 0; - Class348_Sub5.anInt6623 = 0; - Class341.anInt4230 = 0; - Class377.anInt9878 = 0; - Class356.anInt4378 = 0; - Class239_Sub18.anInt6037 = 0; - Class348_Sub16_Sub2.anInt8880 = 0; - Class239_Sub15.anInt6000 = 0; - Class348_Sub40_Sub8.anInt9153 = 0; - Class280.anInt3625 = 0; - Class46.anInt767 = 0; - Class120.anInt4908 = 0; - Class348_Sub16_Sub3.anInt8941 = 0; - Class240.anInt4681 = 0; - ha_Sub2.anInt7588 = 0; - Class59_Sub2_Sub2.anInt8682 = 0; - Class318_Sub1_Sub3_Sub2.anInt10058 = 0; - Class110.anInt1710 = 0; - Applet_Sub1.anInt35 = 0; - Class348_Sub32.anInt6933 = 0; - Class135.anInt1925 = 0; - Class286_Sub4.anInt6238 = 0; - Class50_Sub4.anInt5263 = 0; - ha_Sub3.anInt7918 = 0; - ha_Sub3.anInt7973 = 0; - Class64_Sub3.anInt5604 = 0; - Class105_Sub1.anInt8414 = 0; - Class75_Sub1.anInt5653 = 0; - Class239_Sub6.anInt5901 = 0; - Class239_Sub12.anInt5968 = 0; - Class59_Sub2_Sub2.anInt8675 = 0; - Class50_Sub3.anInt5240 = 0; - Class336.anInt4170 = 0; - Class25.anInt361 = 0; - Class101_Sub2.anInt5697 = 0; - Class286_Sub1.anInt6191 = 0; - Class348_Sub40_Sub35.anInt9442 = 0; - Class239_Sub21.anInt6063 = 0; - ha_Sub2.anInt7694 = 0; - Class348_Sub3.anInt6580 = 0; - Class64_Sub3.anInt5612 = 0; - Class348_Sub40_Sub17.anInt9233 = 0; - Class318_Sub1_Sub2.anInt8730 = 0; - Class175.anInt2314 = 0; - Class135_Sub1.anInt4714 = 0; - Class369.anInt4967 = 0; - Class179.anInt2359 = 0; - Class351.anInt4322 = 0; - Class143.anInt1981 = 0; - Class348_Sub42_Sub18.anInt9683 = 0; - Class377.anInt9849 = 0; - Class348_Sub42_Sub15.anInt9656 = 0; - Class64_Sub3.anInt5637 = 0; - Class325.anInt4066 = 0; - Class301.anInt3828 = 0; - Class107.anInt1643 = 0; - Class107.anInt1653 = 0; - Class348_Sub44.anInt7095 = 0; - Class348_Sub16_Sub3.anInt8909 = 0; - Class318_Sub1_Sub3_Sub3.anInt10200 = 0; - Class258.anInt4850 = 0; - Class277.anInt3565 = 0; - Class48.anInt850 = 0; - Class348_Sub4.anInt6615 = 0; - Class143.anInt1978 = 0; - Class364.anInt4468 = 0; - Class348_Sub42_Sub3.anInt9508 = 0; - ha_Sub3.anInt7912 = 0; - Class348_Sub41.anInt7055 = 0; - Class348_Sub40_Sub7.anInt9146 = 0; - Class309.anInt4820 = 0; - Canvas_Sub1.anInt68 = 0; - Class45.anInt631 = 0; - Class105_Sub1.anInt8401 = 0; - Class202.anInt2660 = 0; - ha_Sub3.anInt7889 = 0; - Class152.anInt2070 = 0; - Class348_Sub49.anInt7148 = 0; - ha_Sub2.anInt7696 = 0; - Class348_Sub31.anInt6915 = 0; - Class348_Sub40_Sub30.anInt9391 = 0; - Class31.anInt445 = 0; - Class18.anInt280 = 0; - Class318_Sub1_Sub4.anInt8760 = 0; - Class64_Sub2.anInt5465 = 0; - Class355.anInt4363 = 0; - Npc.anInt10497 = 0; - Class348_Sub33.anInt6956 = 0; - Class319.anInt3987 = 0; - ha_Sub3.anInt7981 = 0; - Class348_Sub49.anInt7173 = 0; - Class348_Sub40_Sub5.anInt9120 = 0; - Class330.anInt4125 = 0; - Class219.anInt2870 = 0; - ha_Sub2.anInt7601 = 0; - Class64_Sub3.anInt5625 = 0; - Class373_Sub2.anInt7440 = 0; - Class367_Sub11.anInt7405 = 0; - Class192.anInt2575 = 0; - Class45.anInt648 = 0; - Class135.anInt1924 = 0; - Class64_Sub3.anInt5538 = 0; - ha_Sub2.anInt7574 = 0; - Class64_Sub2.anInt5458 = 0; - Class31.anInt437 = 0; - Class318_Sub1_Sub2.anInt8736 = 0; - ha_Sub3.anInt7901 = 0; - Class55.anInt982 = 0; - Class348_Sub40_Sub39.anInt9487 = 0; - Class369_Sub2.anInt8586 = 0; - Class286_Sub6.anInt6275 = 0; - anInt5796 = 0; - Class239_Sub8.anInt5920 = 0; - Class73.anInt4774 = 0; - Class237.anInt3121 = 0; - Class55.anInt997 = 0; - Class105_Sub1.anInt8395 = 0; - Class369_Sub1.anInt8579 = 0; - Class239_Sub8.anInt5922 = 0; - OutputStream_Sub2.anInt102 = 0; - Class105_Sub1.anInt8399 = 0; - Class64_Sub2.anInt5504 = 0; - Class101_Sub2.anInt5706 = 0; - Class348_Sub17.anInt6789 = 0; - Class177.anInt4668 = 0; - ha_Sub2.anInt7579 = 0; - Class348_Sub40_Sub23.anInt9308 = 0; - Class101_Sub2.anInt5737 = 0; - Class348_Sub49_Sub2.anInt9762 = 0; - Class50_Sub3.anInt5248 = 0; - Class319.anInt3986 = 0; - Class141.anInt1972 = 0; - Class314_Sub1.anInt6358 = 0; - Class143.anInt1980 = 0; - Applet_Sub1.anInt40 = 0; - ha.anInt4563 = 0; - Class119_Sub2.anInt4828 = 0; - Class348_Sub49.anInt7182 = 0; - Class101_Sub3.anInt5783 = 0; - Class348_Sub16_Sub3.anInt8889 = 0; - OutputStream_Sub1.anInt94 = 0; - Class348_Sub40_Sub14.anInt9212 = 0; - Class361.anInt4452 = 0; - Class105_Sub2.anInt8428 = 0; - Class87.anInt1486 = 0; - Class66.anInt1167 = 0; - Class299_Sub1_Sub2.anInt8700 = 0; - Class150.anInt2056 = 0; - za_Sub1.anInt9772 = 0; - Class92.anInt1527 = 0; - Class239_Sub20.anInt6049 = 0; - Class175.anInt2317 = 0; - Class38.anInt511 = 0; - Class348_Sub40_Sub27.anInt9356 = 0; - Class346_Sub1.anInt6539 = 0; - Class14_Sub2.anInt8620 = 0; - Class269.anInt3460 = 0; - Class64_Sub3.anInt5578 = 0; - Class280.anInt3640 = 0; - Class258_Sub3.anInt8548 = 0; - Class10.anInt182 = 0; - Class324.anInt4056 = 0; - Class348_Sub40_Sub36.anInt9454 = 0; - Class311.anInt3905 = 0; - Class348_Sub1_Sub1.anInt8804 = 0; - Class306.anInt3876 = 0; - ha_Sub3.anInt7928 = 0; - Class112.anInt1736 = 0; - Class348_Sub23.anInt6864 = 0; - Class64_Sub3.anInt5639 = 0; - Class348_Sub40_Sub29.anInt9373 = 0; - Class237_Sub1.anInt5817 = 0; - Applet_Sub1.anInt3 = 0; - Class375.anInt4541 = 0; - Class64.anInt1128 = 0; - Class213.anInt2751 = 0; - Class239_Sub16.anInt6011 = 0; - Class239_Sub25.anInt6100 = 0; - Class46.anInt768 = 0; - Class59_Sub1_Sub2.anInt8659 = 0; - Class105_Sub2.anInt8443 = 0; - Class318_Sub1_Sub4_Sub2.anInt10097 = 0; - Class239_Sub8.anInt5913 = 0; - Class348_Sub49_Sub1.anInt9745 = 0; - Class135_Sub1.anInt4710 = 0; - Class225.anInt2902 = 0; - Class55.anInt985 = 0; - Class59_Sub1_Sub1.anInt8656 = 0; - Applet_Sub1.anInt29 = 0; - ha_Sub3.anInt8038 = 0; - Class77.anInt1301 = 0; - Class160.anInt2129 = 0; - ha_Sub3.anInt7967 = 0; - Class46.anInt718 = 0; - ha_Sub2.anInt7653 = 0; - Class348_Sub49.anInt7137 = 0; - Class230.anInt2989 = 0; - Class318_Sub1_Sub3_Sub1.anInt10018 = 0; - Class377.anInt9877 = 0; - Class237.anInt3102 = 0; - Class318_Sub1_Sub3_Sub1.anInt10009 = 0; - Class45.anInt638 = 0; - Class19.anInt305 = 0; - Class239_Sub28.anInt6134 = 0; - Class64.anInt1130 = 0; - client.anInt5187 = 0; - Class290.anInt3718 = 0; - Class286_Sub2.anInt6213 = 0; - Class301.anInt3826 = 0; - Class66.anInt1156 = 0; - Class105_Sub1.anInt8392 = 0; - Class175.anInt2328 = 0; - Class64_Sub2.anInt5525 = 0; - Class348_Sub49.anInt7184 = 0; - Class66.anInt1158 = 0; - Class237_Sub1.anInt5826 = 0; - Class348_Sub4.anInt6611 = 0; - Class58.anInt1065 = 0; - ha_Sub3.anInt7887 = 0; - ha_Sub3.anInt7984 = 0; - Class105_Sub1.anInt8393 = 0; - Class121.anInt1795 = 0; - Class348_Sub40_Sub22.anInt9292 = 0; - Class348_Sub40_Sub24.anInt9331 = 0; - Class367_Sub1.anInt7284 = 0; - Class348_Sub42_Sub17.anInt9676 = 0; - Class299_Sub2_Sub1.anInt8709 = 0; - Class14_Sub4.anInt8649 = 0; - Class348_Sub42_Sub16.anInt9662 = 0; - Class348_Sub40_Sub2.anInt9100 = 0; - Class188.anInt2518 = 0; - Class50_Sub1.anInt5211 = 0; - RuntimeException_Sub1.anInt4597 = 0; - Class45.anInt665 = 0; - Class258_Sub3.anInt8543 = 0; - Class348_Sub40_Sub34.anInt9435 = 0; - Class367_Sub9.anInt7380 = 0; - Class239_Sub29.anInt6152 = 0; - Class367_Sub10.anInt7383 = 0; - Class14_Sub1.anInt8611 = 0; - Class325.anInt4068 = 0; - Class2.anInt122 = 0; - Class348_Sub40_Sub3.anInt9102 = 0; - Class101_Sub3.anInt5752 = 0; - ha_Sub2.anInt7555 = 0; - Class361.anInt4440 = 0; - Class239_Sub28.anInt6135 = 0; - Class367_Sub9.anInt7368 = 0; - Class328_Sub2.anInt6518 = 0; - Class46.anInt736 = 0; - Class135_Sub1.anInt4712 = 0; - Class64_Sub2.anInt5521 = 0; - Class348_Sub42_Sub10.anInt9563 = 0; - Class348_Sub42_Sub8.anInt9551 = 0; - Class5.anInt4633 = 0; - Class367_Sub8.anInt7364 = 0; - s_Sub2.anInt8249 = 0; - Class137.anInt1931 = 0; - Class377.anInt9819 = 0; - Class105_Sub2.anInt8424 = 0; - Class367_Sub2.anInt7292 = 0; - Class303.anInt3843 = 0; - Class31.anInt428 = 0; - Class105_Sub1.anInt8404 = 0; - Class348_Sub49.anInt7174 = 0; - Class348_Sub40.anInt7040 = 0; - Class318_Sub1_Sub3_Sub3.anInt10263 = 0; - Class18.anInt273 = 0; - Class318_Sub1_Sub3_Sub4.anInt10361 = 0; - Class286_Sub3.anInt6217 = 0; - Class119_Sub1.anInt4699 = 0; - ha_Sub3.anInt8034 = 0; - Class348_Sub49.anInt7209 = 0; - Class348_Sub16_Sub2.anInt8860 = 0; - Class309.anInt4815 = 0; - Class318_Sub1_Sub3_Sub2.anInt10060 = 0; - Class226.anInt2962 = 0; - ha_Sub2.anInt7619 = 0; - Class111.anInt1721 = 0; - Class261.anInt3320 = 0; - Class348_Sub49.anInt7200 = 0; - ha_Sub3.anInt8005 = 0; - Class228.anInt2975 = 0; - Class348_Sub40_Sub32.anInt9419 = 0; - Class64_Sub2.anInt5518 = 0; - Class315.anInt3944 = 0; - Class348_Sub40_Sub8.anInt9154 = 0; - Class318_Sub1_Sub3.anInt8752 = 0; - r_Sub1.anInt10475 = 0; - Class348_Sub42_Sub20.anInt9709 = 0; - Class135_Sub2.anInt4834 = 0; - Class239_Sub9.anInt5925 = 0; - Class14_Sub1.anInt8614 = 0; - Class101_Sub2.anInt5705 = 0; - Class348_Sub40_Sub31.anInt9404 = 0; - Class239_Sub8.anInt5915 = 0; - Class318_Sub1_Sub3_Sub2.anInt10050 = 0; - Class64_Sub2.anInt5471 = 0; - Class356.anInt4379 = 0; - Class298.anInt3810 = 0; - Class348_Sub23_Sub2.anInt9012 = 0; - Class239_Sub6.anInt5903 = 0; - ha_Sub2.anInt7612 = 0; - Class163.anInt2167 = 0; - Class367_Sub2.anInt7287 = 0; - Class76.anInt1280 = 0; - Class5.anInt4639 = 0; - Class348_Sub44.anInt7099 = 0; - Class56.anInt1022 = 0; - Class348_Sub21.anInt6856 = 0; - ha.anInt4569 = 0; - Class373_Sub2.anInt7451 = 0; - Class248.anInt3185 = 0; - Class248.anInt3199 = 0; - Class348_Sub49_Sub1.anInt9741 = 0; - Class368.anInt4496 = 0; - Class348_Sub40_Sub20.anInt9261 = 0; - Class274.anInt3477 = 0; - Class14.anInt5085 = 0; - Class348_Sub42_Sub16.anInt9668 = 0; - Class318_Sub1_Sub5.anInt8771 = 0; - ha_Sub3.anInt7916 = 0; - Class348_Sub40_Sub9.anInt9168 = 0; - Class27.anInt397 = 0; - Class64_Sub2.anInt5489 = 0; - Class294.anInt5028 = 0; - Class367_Sub4.anInt7321 = 0; - Class348_Sub40_Sub26.anInt9345 = 0; - Class101_Sub2.anInt5695 = 0; - Class348_Sub42_Sub13.anInt9613 = 0; - Class348_Sub49.anInt7186 = 0; - ha_Sub3.anInt7980 = 0; - Class348_Sub42_Sub9_Sub1.anInt10445 = 0; - Class51.anInt910 = 0; - Class188.anInt2515 = 0; - Class239_Sub16.anInt6016 = 0; - Class358.anInt4413 = 0; - Class124.anInt1838 = 0; - Class348_Sub23_Sub2.anInt9013 = 0; - Class218.anInt2849 = 0; - Class285_Sub2.anInt8497 = 0; - Class312.anInt3924 = 0; - Class348_Sub40_Sub31.anInt9413 = 0; - Class318_Sub1_Sub4_Sub2.anInt10106 = 0; - Class5_Sub3.anInt8371 = 0; - ha_Sub2.anInt7629 = 0; - Class318_Sub1_Sub5_Sub1.anInt10147 = 0; - Class318_Sub1_Sub3_Sub4.anInt10342 = 0; - Class64_Sub2.anInt5517 = 0; - Class348_Sub42_Sub9_Sub1.anInt10441 = 0; - Class348_Sub40_Sub12.anInt9190 = 0; - Class217.anInt2841 = 0; - Class25.anInt363 = 0; - Class348_Sub16_Sub1.anInt8856 = 0; - Class348_Sub49.anInt7168 = 0; - Class258_Sub1.anInt8524 = 0; - Class169.anInt2262 = 0; - aa_Sub2.anInt5195 = 0; - Class318_Sub1_Sub1_Sub1.anInt9948 = 0; - Class348_Sub42_Sub10.anInt9573 = 0; - ha_Sub3.anInt8070 = 0; - Class286_Sub7.anInt6288 = 0; - Class64_Sub3.anInt5561 = 0; - Class318_Sub1_Sub1_Sub1.anInt9952 = 0; - Class55.anInt990 = 0; - Class239_Sub29.anInt6148 = 0; - Class286_Sub3.anInt6214 = 0; - Class64_Sub2.anInt5435 = 0; - Class348_Sub40_Sub38.anInt9476 = 0; - Class331.anInt4131 = 0; - Class65.anInt1138 = 0; - Class348_Sub40_Sub3.anInt9105 = 0; - Class73.anInt4777 = 0; - Class206.anInt4866 = 0; - Class239_Sub14.anInt5986 = 0; - Class348_Sub40_Sub37.anInt9462 = 0; - Class356.anInt4386 = 0; - Class348_Sub42_Sub3.anInt9506 = 0; - Class311.anInt3903 = 0; - Class239_Sub23.anInt6083 = 0; - Class239_Sub20.anInt6051 = 0; - Class258_Sub3.anInt8541 = 0; - Class314_Sub1.anInt6341 = 0; - Class318_Sub7.anInt6438 = 0; - Class348_Sub7.anInt6641 = 0; - Class377.anInt9871 = 0; - Class268.anInt3446 = 0; - Class376.anInt4549 = 0; - Class377.anInt9876 = 0; - s_Sub2.anInt8261 = 0; - Class51.anInt956 = 0; - Class318_Sub1_Sub1_Sub1.anInt9957 = 0; - Class263.anInt3351 = 0; - Class348_Sub23_Sub4.anInt9059 = 0; - Class367_Sub1.anInt7283 = 0; - Class286_Sub6.anInt6263 = 0; - Class184.anInt2470 = 0; - Class5_Sub2.anInt8360 = 0; - Class318_Sub1_Sub3_Sub5.anInt10390 = 0; - Class239_Sub22.anInt6072 = 0; - Class97.anInt1555 = 0; - Class64_Sub3.anInt5548 = 0; - Class233.anInt3018 = 0; - Class194.anInt2591 = 0; - Class361.anInt4445 = 0; - Class348_Sub31_Sub2.anInt9071 = 0; - Class272.anInt3472 = 0; - Class187.anInt2504 = 0; - Class322.anInt4023 = 0; - Class377.anInt9867 = 0; - Class163.anInt2168 = 0; - Class108.anInt1659 = 0; - Class26.anInt376 = 0; - Class348_Sub18.anInt6816 = 0; - Class318_Sub1_Sub3_Sub5.anInt10377 = 0; - ha_Sub3.anInt7994 = 0; - Class348_Sub31.anInt6918 = 0; - Class192.anInt2580 = 0; - Class248.anInt3186 = 0; - Class373_Sub2.anInt7435 = 0; - Class228.anInt2973 = 0; - ha_Sub3.anInt7959 = 0; - Class280.anInt3634 = 0; - Class101_Sub3.anInt5771 = 0; - Class216.anInt4977 = 0; - Class127.anInt4657 = 0; - Class368.anInt4511 = 0; - ha_Sub3.anInt7934 = 0; - Class348_Sub40_Sub7.anInt9143 = 0; - Class239_Sub3.anInt5869 = 0; - Class304.anInt3851 = 0; - Class272.anInt3471 = 0; - Class348_Sub5_Sub1.anInt8843 = 0; - Class79.anInt1403 = 0; - Class239_Sub24.anInt6087 = 0; - Class18.anInt270 = 0; - Class255.anInt3266 = 0; - Class79.anInt1394 = 0; - ha_Sub3.anInt8032 = 0; - Class125.anInt4916 = 0; - Class42.anInt571 = 0; - Class110.anInt1701 = 0; - Class348_Sub42_Sub14.anInt9636 = 0; - Class83.anInt1445 = 0; - ha_Sub2.anInt7521 = 0; - Class239_Sub2.anInt5856 = 0; - Class104.anInt1629 = 0; - ha_Sub2.anInt7616 = 0; - Class239_Sub19.anInt6047 = 0; - Class239_Sub26.anInt6118 = 0; - Class318_Sub1_Sub3_Sub4.anInt10348 = 0; - Class14_Sub2.anInt8619 = 0; - Class346_Sub1.anInt6526 = 0; - ha_Sub3.anInt7895 = 0; - Class294.anInt5061 = 0; - Class101_Sub1.anInt5679 = 0; - Class348_Sub42_Sub11.anInt9585 = 0; - Class286_Sub4.anInt6235 = 0; - Class348_Sub31_Sub2.anInt9080 = 0; - Class348_Sub42_Sub5.anInt9526 = 0; - Class101_Sub2.anInt5726 = 0; - Class239_Sub16.anInt6009 = 0; - Class348_Sub40_Sub7.anInt9141 = 0; - Class348_Sub45_Sub2.anInt9737 = 0; - Class27.anInt392 = 0; - Class348_Sub49.anInt7193 = 0; - Class326.anInt4083 = 0; - Class237.anInt3111 = 0; - Class177.anInt4665 = 0; - Class292.anInt4801 = 0; - Class235.anInt3078 = 0; - Class59_Sub1_Sub1.anInt8652 = 0; - Class206.anInt4869 = 0; - Class56.anInt1014 = 0; - Class348_Sub16_Sub3.anInt8912 = 0; - Class37.anInt490 = 0; - Class51.anInt871 = 0; - Class348_Sub40_Sub27.anInt9358 = 0; - Class232.anInt3005 = 0; - Class239_Sub11.anInt5955 = 0; - Class377.anInt9825 = 0; - Class64_Sub2.anInt5451 = 0; - Class14_Sub4.anInt8643 = 0; - Class152.anInt2078 = 0; - ha_Sub3.anInt8022 = 0; - ha_Sub3.anInt7915 = 0; - Class368.anInt4510 = 0; - Class314_Sub1.anInt6348 = 0; - Class348_Sub40.anInt7035 = 0; - Class348_Sub40_Sub18.anInt9247 = 0; - ha_Sub3.anInt7964 = 0; - Class318_Sub1_Sub3_Sub5.anInt10388 = 0; - Class239_Sub5.anInt5887 = 0; - Class55_Sub1.anInt5273 = 0; - ha_Sub2.anInt7676 = 0; - Class239_Sub25.anInt6109 = 0; - Class356.anInt4376 = 0; - Class285_Sub1.anInt8484 = 0; - Class107.anInt1646 = 0; - Class322.anInt4030 = 0; - Class348_Sub40_Sub21.anInt9273 = 0; - ha_Sub3.anInt8060 = 0; - Class64_Sub3.anInt5650 = 0; - Class348_Sub20.anInt6836 = 0; - Class367_Sub1.anInt7285 = 0; - Class348_Sub16_Sub2.anInt8872 = 0; - Class377.anInt9885 = 0; - ha_Sub2.anInt7517 = 0; - ha_Sub2.anInt7607 = 0; - ha_Sub2.anInt7525 = 0; - Class348_Sub42_Sub8_Sub2.anInt10435 = 0; - Class326.anInt4089 = 0; - Class5_Sub1.anInt8348 = 0; - Class261.anInt3318 = 0; - Class331.anInt4136 = 0; - Class348_Sub49.anInt7138 = 0; - Class318_Sub1_Sub5_Sub2.anInt10151 = 0; - Class367.anInt4480 = 0; - Class237_Sub1.anInt5822 = 0; - Class348_Sub40_Sub28.anInt9366 = 0; - Applet_Sub1.anInt14 = 0; - Class239_Sub4.anInt5880 = 0; - s_Sub3.anInt8309 = 0; - Class135_Sub1.anInt4713 = 0; - ha_Sub2.anInt7630 = 0; - Class340.anInt4224 = 0; - Class239_Sub28.anInt6136 = 0; - ha_Sub2.anInt7683 = 0; - Class367_Sub8.anInt7358 = 0; - Class348_Sub42_Sub12.anInt9598 = 0; - Class318_Sub1_Sub4_Sub2.anInt10105 = 0; - Class318_Sub1_Sub3_Sub4.anInt10329 = 0; - Class348_Sub40_Sub18.anInt9251 = 0; - ha_Sub2.anInt7593 = 0; - Class348_Sub16_Sub3.anInt8949 = 0; - Class318_Sub1_Sub5_Sub1.anInt10142 = 0; - Class61.anInt1106 = 0; - Class51.anInt901 = 0; - ha.anInt4564 = 0; - Class262.anInt3336 = 0; - Class186_Sub1.anInt5806 = 0; - Class222.anInt2889 = 0; - ha_Sub3.anInt7933 = 0; - ha_Sub3.anInt7898 = 0; - Class151.anInt2059 = 0; - Class318_Sub1_Sub1_Sub1.anInt9954 = 0; - Class318_Sub1_Sub5_Sub1.anInt10144 = 0; - Class182.anInt2450 = 0; - Class122.anInt1802 = 0; - Class127.anInt4658 = 0; - Class243.anInt3161 = 0; - Class346_Sub1.anInt6540 = 0; - Class319.anInt3978 = 0; - Class369_Sub3_Sub1.anInt10175 = 0; - Class34.anInt468 = 0; - Class348_Sub20.anInt6834 = 0; - ha_Sub3.anInt8048 = 0; - Class185.anInt2484 = 0; - Class318_Sub1_Sub5_Sub2.anInt10164 = 0; - Class278.anInt3588 = 0; - Class59.anInt1070 = 0; - Class348_Sub49.anInt7183 = 0; - Class55.anInt1004 = 0; - Class152.anInt2073 = 0; - Class64_Sub3.anInt5568 = 0; - Class42.anInt563 = 0; - Class318_Sub1_Sub1.anInt8721 = 0; - InputStream_Sub1.anInt74 = 0; - Class361.anInt4450 = 0; - Class318_Sub1_Sub3_Sub3.anInt10256 = 0; - Class299_Sub1_Sub2.anInt8703 = 0; - Class279.anInt3607 = 0; - Class17.anInt246 = 0; - Class111.anInt1723 = 0; - Class348_Sub40_Sub35.anInt9440 = 0; - Class14_Sub4.anInt8639 = 0; - Class348_Sub1.anInt6549 = 0; - Class31.anInt436 = 0; - Class315.anInt3948 = 0; - Class230.anInt2988 = 0; - ha.anInt4574 = 0; - Class46.anInt819 = 0; - Class318_Sub1_Sub5_Sub1.anInt10119 = 0; - Class64_Sub2.anInt5483 = 0; - Class318_Sub7.anInt6440 = 0; - Class19.anInt307 = 0; - ha_Sub3.anInt7966 = 0; - Class318_Sub1_Sub4_Sub2.anInt10099 = 0; - ha_Sub2.anInt7651 = 0; - Class101_Sub1.anInt5683 = 0; - Player.anInt10550 = 0; - Class101_Sub3.anInt5748 = 0; - Class61.anInt1107 = 0; - Class318_Sub1_Sub4_Sub2.anInt10112 = 0; - Class6.anInt147 = 0; - Class285_Sub1.anInt8490 = 0; - Class64_Sub2.anInt5454 = 0; - Class239_Sub3.anInt5858 = 0; - Class348_Sub40_Sub24.anInt9326 = 0; - Class199.anInt2637 = 0; - Class239_Sub24.anInt6092 = 0; - Class14_Sub1.anInt8608 = 0; - Class237_Sub1.anInt5823 = 0; - Class101_Sub3.anInt5776 = 0; - Class348_Sub40_Sub37.anInt9459 = 0; - Class239_Sub10.anInt5937 = 0; - Class348_Sub23_Sub3.anInt9046 = 0; - Class316.anInt3960 = 0; - Class45.anInt642 = 0; - Class318_Sub1_Sub3_Sub5.anInt10382 = 0; - Class367_Sub11.anInt7414 = 0; - Class112.anInt1732 = 0; - Class133.anInt1912 = 0; - Class318_Sub1_Sub5_Sub1.anInt10140 = 0; - Class56.anInt1020 = 0; - Class137.anInt1936 = 0; - Class348_Sub40_Sub5.anInt9127 = 0; - Class369_Sub3_Sub1.anInt10176 = 0; - s_Sub3.anInt8316 = 0; - Class294.anInt5044 = 0; - Class196.anInt2599 = 0; - Class154.anInt2107 = 0; - Class348_Sub16_Sub3.anInt8890 = 0; - Class55.anInt986 = 0; - Class239_Sub16.anInt6015 = 0; - Class206.anInt4881 = 0; - Class272.anInt3474 = 0; - Class377.anInt9845 = 0; - Class112.anInt1728 = 0; - Class340.anInt4222 = 0; - ha_Sub3.anInt7969 = 0; - ha_Sub3.anInt7948 = 0; - Class104.anInt1614 = 0; - Class318_Sub9.anInt6467 = 0; - Class143.anInt1985 = 0; - Class54.anInt968 = 0; - Class239_Sub5.anInt5884 = 0; - Class187.anInt2499 = 0; - Class348_Sub49.anInt7141 = 0; - Class153.anInt2081 = 0; - Class258_Sub3.anInt8546 = 0; - Class348_Sub18.anInt6821 = 0; - Class163.anInt2170 = 0; - Class318_Sub1_Sub5_Sub2.anInt10157 = 0; - Class101_Sub2.anInt5694 = 0; - Class206.anInt4879 = 0; - Class64_Sub2.anInt5490 = 0; - ha_Sub3.anInt7998 = 0; - Class10.anInt190 = 0; - ha_Sub3.anInt8047 = 0; - ha_Sub2.anInt7684 = 0; - Class177.anInt4663 = 0; - Class286_Sub3.anInt6231 = 0; - ha_Sub2.anInt7643 = 0; - Class373_Sub2.anInt7430 = 0; - Class228.anInt2971 = 0; - Class299.anInt3812 = 0; - Class234.anInt3038 = 0; - ha_Sub2.anInt7691 = 0; - Class318_Sub1_Sub3_Sub5.anInt10405 = 0; - Class348_Sub16_Sub3.anInt8922 = 0; - Class101_Sub3.anInt5758 = 0; - Class103.anInt1608 = 0; - Class348_Sub49.anInt7142 = 0; - Class189.anInt2521 = 0; - Class258_Sub1.anInt8526 = 0; - ha_Sub2.anInt7532 = 0; - Class250.anInt3224 = 0; - Class45.anInt662 = 0; - ha_Sub3.anInt8056 = 0; - Class348_Sub20.anInt6827 = 0; - Class78.anInt1307 = 0; - Class348_Sub42_Sub15.anInt9653 = 0; - Class367.anInt4483 = 0; - Class348_Sub16_Sub2.anInt8876 = 0; - Class348_Sub42.anInt7061 = 0; - Class135_Sub1.anInt4711 = 0; - Class318_Sub1_Sub1.anInt8723 = 0; - Class141.anInt1964 = 0; - Class314_Sub1.anInt6343 = 0; - Class234.anInt3040 = 0; - Class348_Sub40_Sub3.anInt9108 = 0; - Class32.anInt449 = 0; - Class60.anInt1103 = 0; - Class35.anInt483 = 0; - Class348_Sub42_Sub4.anInt9514 = 0; - Class101_Sub2.anInt5731 = 0; - Class318_Sub1_Sub1_Sub1.anInt9943 = 0; - Class140.anInt1958 = 0; - Class286_Sub3.anInt6232 = 0; - Class348_Sub42_Sub1.anInt9496 = 0; - Class230.anInt2984 = 0; - Class159.anInt2124 = 0; - ha_Sub2.anInt7572 = 0; - IOException_Sub1.anInt89 = 0; - Class318_Sub1_Sub3_Sub5.anInt10385 = 0; - Class105_Sub1.anInt8421 = 0; - Class373_Sub2.anInt7437 = 0; - Class239_Sub1.anInt5845 = 0; - s_Sub3.anInt8295 = 0; - Class318_Sub1_Sub3_Sub3.anInt10254 = 0; - Class46.anInt684 = 0; - Class318_Sub1_Sub3_Sub3.anInt10281 = 0; - Class244.anInt4621 = 0; - Class298.anInt3808 = 0; - Class153.anInt2079 = 0; - Class14_Sub2.anInt8622 = 0; - Class237.anInt3131 = 0; - Class239_Sub4.anInt5879 = 0; - Class91.anInt1520 = 0; - Class348_Sub49.anInt7146 = 0; - Class348_Sub40_Sub10.anInt9174 = 0; - ha_Sub2.anInt7687 = 0; - Class346_Sub1.anInt6537 = 0; - Class334.anInt4160 = 0; - ha_Sub3.anInt7894 = 0; - Class239_Sub15.anInt5999 = 0; - Class377.anInt9895 = 0; - Class239_Sub13.anInt5974 = 0; - Class373_Sub2.anInt7457 = 0; - Class154.anInt2106 = 0; - Class348_Sub40_Sub6.anInt9138 = 0; - Class347.aBoolean4278 = true; - Class175.aBoolean2329 = true; - Class318_Sub1_Sub4.method2480(~i); - for (int j = 0; Class348_Sub27.aClass302Array6897.length > j; j++) - Class348_Sub27.aClass302Array6897[j] = null; - - r.aBoolean9722 = false; - Class348_Sub17.method2928(true); - r_Sub2.anInt10483 = -60 + (int) (Math.random() * 120D); - Class260.anInt3310 = -55 + (int) (Math.random() * 110D); - Class314.aFloat3938 = 0x3fff & -80 + (int) (160D * Math.random()); - Class348_Sub49_Sub1.anInt9750 = (int) (30D * Math.random()) + -20; - Class195.anInt5016 = (int) (80D * Math.random()) - 40; - Class20.anInt319 = (int) (Math.random() * 100D) - 50; - Class348_Sub40_Sub16.method3089(-126); - for (int k = 0; k < 2048; k++) - Class294.aPlayerArray5058[k] = null; - - Class150.anInt2057 = 0; - Class348_Sub32.anInt6930 = 0; - Class282.aClass356_3654.method3481(0); - Class348_Sub40_Sub17.aClass262_9240.method1996(112); - r_Sub2.aClass262_10492.method1996(109); - Class225.aClass243_2957.method1876((byte) -45); - Class130.aClass356_1895.method3481(0); - Class348_Sub42_Sub20.aClass262_9711 = new Class262(); - Class318_Sub1_Sub3_Sub3.aClass170_10209.method1314((byte) 74); - Class331.method2636(i + 69); - Class239_Sub12.anInt5973 = 0; - Class275.anInt3550 = 0; - Class281.anInt3647 = 0; - Class258_Sub2.anInt8537 = 0; - Class121.anInt1797 = 0; - Class348_Sub42_Sub4.anInt9515 = 0; - Class352.anInt4336 = 0; - Class348_Sub40_Sub31.anInt9406 = 0; - Class348_Sub35.anInt6981 = 0; - Class367_Sub11.anInt7403 = 0; - for (int l = 0; l < Class77.anIntArray1303.length; l++) - if (!Class286_Sub6.aBooleanArray6270[l]) Class77.anIntArray1303[l] = -1; - - if (r.anInt9721 != -1) Class14.method235(r.anInt9721, (byte) -105); - for (Class348_Sub41 class348_sub41 = (Class348_Sub41) Class125.aClass356_4915.method3484(0); class348_sub41 != null; class348_sub41 = (Class348_Sub41) Class125.aClass356_4915.method3482(0)) { - if (!class348_sub41.method2712((byte) 4)) { - class348_sub41 = (Class348_Sub41) Class125.aClass356_4915.method3484(0); - if (class348_sub41 == null) break; - } - Class127_Sub1.method1118(true, false, class348_sub41, 2533); - } - - r.anInt9721 = -1; - Class125.aClass356_4915 = new Class356(8); - Class99.method882((byte) 11); - Class49.aClass46_4730 = null; - for (int i1 = 0; i1 < 8; i1++) { - Class318_Sub1_Sub2_Sub1.aStringArray10195[i1] = null; - Class71.aBooleanArray1214[i1] = false; - Canvas_Sub1.anIntArray60[i1] = -1; - } - - Class363.method3515(-45); - Class238_Sub1.aBoolean5840 = true; - for (int j1 = 0; j1 < 100; j1++) - Class152.aBooleanArray2076[j1] = true; - - for (int k1 = 0; k1 < 6; k1++) - Class239_Sub26.aClass54Array6114[k1] = new Class54(); - - for (int l1 = 0; l1 < 25; l1++) { - Class161.anIntArray2145[l1] = 0; - Class256.anIntArray3295[l1] = 0; - Class186.anIntArray2497[l1] = 0; - } - - Class76.method773(true); - Class369_Sub3_Sub1.aBoolean10174 = true; - Class318_Sub6.aShortArray6428 = Class348_Sub26.aShortArray6889 = Class348_Sub42_Sub3.aShortArray9502 = Class336.aShortArray4172 = new short[256]; - Class239_Sub4.aString5882 = Class274.aClass274_3509.method2063(Class348_Sub33.anInt6967, 544); - Class316.aClass348_Sub51_3959.method3429((byte) 74, Class316.aClass348_Sub51_3959.aClass239_Sub14_7264, Class316.aClass348_Sub51_3959.aClass239_Sub14_7250.method1778(i + -32350)); - Class316.aClass348_Sub51_3959.method3429((byte) 74, Class316.aClass348_Sub51_3959.aClass239_Sub27_7261, Class316.aClass348_Sub51_3959.aClass239_Sub27_7255.method1840(-32350)); - Class135_Sub1.anInt4718 = 0; - Class348_Sub40_Sub39.method3153(0); - Class286_Sub2.method2145(-24498); - Class101_Sub2.aLong5745 = 0L; - Class239_Sub4.aClass348_Sub26_5881 = null; - Class95.aClass45_1541.anInt634 = 2; - } - - static int anInt5795; - static int anInt5796; - static int anInt5797; - static int anInt5798; - static int anInt5799; - static Class144 aClass144_5800; - Class58[] aClass58Array5801; - static int anInt5802; -} diff --git a/client/src/Class131.java b/client/src/Class131.java deleted file mode 100644 index 3a5901e08..000000000 --- a/client/src/Class131.java +++ /dev/null @@ -1,23 +0,0 @@ -/* Class131 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class131 { - static Class114 aClass114_1901 = new Class114(38, -1); - static int anInt1902; - static char[] aCharArray1903 = {'[', ']', '#'}; - static Class351 aClass351_1904; - - public static void method1136(byte i) { - aCharArray1903 = null; - if (i == -98) { - aClass114_1901 = null; - aClass351_1904 = null; - } - } - - static { - anInt1902 = 0; - aClass351_1904 = new Class351(61, 11); - } -} diff --git a/client/src/Class132.java b/client/src/Class132.java deleted file mode 100644 index a1c321df0..000000000 --- a/client/src/Class132.java +++ /dev/null @@ -1,47 +0,0 @@ -/* Class132 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class132 { - static int anInt1905 = 4; - static int anInt1906; - static Player aPlayer_1907; - static int anInt1908; - static int[] anIntArray1909; - static int anInt1910 = 0; - static int anInt1911 = 7000; - - public static void method1137(int i) { - if (i != 3) method1138(null, true, null, (byte) 70); - anIntArray1909 = null; - aPlayer_1907 = null; - } - - static final void method1138(String string, boolean bool, String string_0_, byte i) { - try { - anInt1908++; - Class64_Sub3.aString5600 = string; - Class186.aString2496 = string_0_; - Class318_Sub1_Sub3_Sub3.aBoolean10238 = bool; - if (!Class318_Sub1_Sub3_Sub3.aBoolean10238 && (Class64_Sub3.aString5600.equals("") || Class186.aString2496.equals(""))) Class14_Sub4.method254(3, (byte) -100); - else { - int i_1_ = 34 % ((16 - i) / 55); - if (Class239_Sub12.anInt5969 != 1) { - Class63.anInt1121 = 0; - Class348_Sub42_Sub7.anInt9541 = -1; - } - Class110.aBoolean1712 = false; - Class14_Sub4.method254(-3, (byte) -94); - Class225.anInt2955 = 1; - Class11.anInt197 = 0; - Class318_Sub1_Sub1_Sub2.anInt9971 = 0; - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("nr.A(" + (string != null ? "{...}" : "null") + ',' + bool + ',' + (string_0_ != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - static { - anInt1906 = anInt1911; - } -} diff --git a/client/src/Class133.java b/client/src/Class133.java deleted file mode 100644 index 3d9855053..000000000 --- a/client/src/Class133.java +++ /dev/null @@ -1,248 +0,0 @@ -/* Class133 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import com.sun.management.HotSpotDiagnosticMXBean; - -import java.lang.management.ManagementFactory; - -final class Class133 { - static int anInt1912; - static int anInt1913; - static Class114 aClass114_1914 = new Class114(84, 7); - static boolean aBoolean1915 = false; - static int anInt1916; - static Class114 aClass114_1917 = new Class114(20, -2); - static byte[][] aByteArrayArray1918 = new byte[250][]; - /*synthetic*/ static Class aClass1919; - /*synthetic*/ static Class aClass1920; - - public static void method1139(int i) { - if (i == 2767) { - aByteArrayArray1918 = null; - aClass114_1917 = null; - aClass114_1914 = null; - } - } - - static final void method1140(int i) { - anInt1916++; - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub27_7255), 1); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub27_7261), 1); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub14_7250), 2); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub14_7264), 2); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub4_7220), 1); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub9_7256), 1); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub13_7236), 1); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub1_7246), 1); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub21_7270), 1); - if (i >= 45) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub24_7235), 1); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub7_7238), 2); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub28_7230), 1); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub18_7259), 2); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub16_7247), 1); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub20_7216), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub20_7248), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub15_7224), 2); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub6_7226), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub12_7243), 0); - Class237.method1686(-127); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub23_7231), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub29_7229), 4); - Class348_Sub40.method3038(-1); - Class76.method773(true); - RuntimeException_Sub1.aBoolean4604 = true; - } - } - - static final void method1141(Class348_Sub49_Sub2 class348_sub49_sub2, int i, int i_0_, int i_1_, Player player) { - do { - try { - anInt1912++; - if (i_1_ >= 41) { - byte i_2_ = -1; - if ((i_0_ & 0x1) != 0) { - int i_3_ = class348_sub49_sub2.readUnsignedShort(842397944); - if (i_3_ == 65535) i_3_ = -1; - player.anInt10275 = i_3_; - } - if ((0x10000 & i_0_) != 0) { - int i_4_ = class348_sub49_sub2.readUnsignedByte(255); - int[] is = new int[i_4_]; - int[] is_5_ = new int[i_4_]; - for (int i_6_ = 0; i_6_ < i_4_; i_6_++) { - int i_7_ = class348_sub49_sub2.readShortAddLittle(-118); - if ((i_7_ & 0xc000) == 49152) { - int i_8_ = class348_sub49_sub2.readShortLittle(false); - is[i_6_] = Class273.method2057(i_7_ << 16, i_8_); - } else is[i_6_] = i_7_; - is_5_[i_6_] = class348_sub49_sub2.readShortLittle(false); - } - player.method2430(is_5_, is, -116); - } - if ((0x400 & i_0_) != 0) { - int i_9_ = class348_sub49_sub2.readShortLittle(false); - player.anInt10227 = class348_sub49_sub2.readUnsignedByteSubtract((byte) -94); - player.anInt10271 = class348_sub49_sub2.readUnsignedByteSubtract((byte) -104); - player.anInt10210 = 0x7fff & i_9_; - player.aBoolean10226 = (i_9_ & 0x8000) != 0; - player.anInt10287 = (player.anInt10210 + (Class367_Sub11.anInt7396 + (player.anInt10227))); - } - if ((0x1000 & i_0_) != 0) { - player.aString10292 = class348_sub49_sub2.readString((byte) 110); - if (player.aString10292.charAt(0) == '~') { - player.aString10292 = player.aString10292.substring(1); - Class286_Sub2.method2144(player.method2450(false, -70), 2, (byte) -116, 0, player.aString10292, player.method2456(true, 255), player.aString10537); - } else if (Class132.aPlayer_1907 == player) - Class286_Sub2.method2144(player.method2450(false, -88), 2, (byte) -102, 0, (player.aString10292), player.method2456(true, 255), (player.aString10537)); - player.anInt10264 = 150; - player.anInt10234 = 0; - player.anInt10201 = 0; - } - if ((i_0_ & 0x4) != 0) { - int i_10_ = class348_sub49_sub2.readByteInverse((byte) 21); - if (i_10_ > 0) { - for (int i_11_ = 0; i_10_ > i_11_; i_11_++) { - int i_12_ = -1; - int i_13_ = -1; - int i_14_ = class348_sub49_sub2.readSmart(-127); - int i_15_ = -1; - if (i_14_ == 32767) { - i_14_ = class348_sub49_sub2.readSmart(-125); - i_13_ = class348_sub49_sub2.readSmart(-126); - i_12_ = class348_sub49_sub2.readSmart(-128); - i_15_ = class348_sub49_sub2.readSmart(-122); - } else if (i_14_ != 32766) i_13_ = class348_sub49_sub2.readSmart(-117); - else i_14_ = -1; - int i_16_ = class348_sub49_sub2.readSmart(-123); - int i_17_ = class348_sub49_sub2.readByteAdd((byte) -98); - player.method2438(i_13_, Class367_Sub11.anInt7396, i_14_, i_15_, i_12_, i_16_, i_17_, (byte) 102); - } - } - } - if ((i_0_ & 0x2) != 0) { - player.anInt10524 = class348_sub49_sub2.readUnsignedShort(842397944); - if (player.anInt10319 == 0) { - player.method2440((byte) 49, player.anInt10524); - player.anInt10524 = -1; - } - } - if ((0x8000 & i_0_) != 0) { - player.aBoolean10554 = class348_sub49_sub2.readByteAdd((byte) -94) == 1; - } - if ((i_0_ & 0x100) != 0) { - int i_18_ = class348_sub49_sub2.readByteInverse((byte) 21); - int[] is = new int[i_18_]; - int[] is_19_ = new int[i_18_]; - int[] is_20_ = new int[i_18_]; - for (int i_21_ = 0; i_21_ < i_18_; i_21_++) { - int i_22_ = class348_sub49_sub2.readUnsignedShort(842397944); - if (i_22_ == 65535) i_22_ = -1; - is[i_21_] = i_22_; - is_19_[i_21_] = class348_sub49_sub2.readByteInverse((byte) 21); - is_20_[i_21_] = class348_sub49_sub2.readUnsignedShort(842397944); - } - Class167.method1297((byte) -116, player, is_20_, is, is_19_); - } - if ((0x2000 & i_0_) != 0) { - player.anInt10293 = class348_sub49_sub2.readByte(-121); - player.anInt10314 = class348_sub49_sub2.readByteSubtract(-27697); - player.anInt10241 = class348_sub49_sub2.readByteInverse(-622951480); - player.anInt10288 = class348_sub49_sub2.readByteInverse(-622951480); - player.anInt10239 = (class348_sub49_sub2.readShortAddLittle(-118) - -Class367_Sub11.anInt7396); - player.anInt10300 = (class348_sub49_sub2.readShortAdd(19) - -Class367_Sub11.anInt7396); - player.anInt10231 = class348_sub49_sub2.readUnsignedByte(255); - player.anInt10322 = 0; - if (player.aBoolean10539) { - player.anInt10288 += player.anInt10531; - player.anInt10293 += player.anInt10549; - player.anInt10314 += player.anInt10531; - player.anInt10241 += player.anInt10549; - player.anInt10319 = 0; - } else { - player.anInt10241 += (player.anIntArray10320[0]); - player.anInt10288 += (player.anIntArray10317[0]); - player.anInt10319 = 1; - player.anInt10314 += (player.anIntArray10317[0]); - player.anInt10293 += (player.anIntArray10320[0]); - } - } - if ((0x200 & i_0_) != 0) { - int i_23_ = class348_sub49_sub2.readShortAddLittle(-107); - if (i_23_ == 65535) i_23_ = -1; - int i_24_ = class348_sub49_sub2.readIntLittle((byte) -121); - int i_25_ = class348_sub49_sub2.readUnsignedByteSubtract((byte) 54); - int i_26_ = i_25_ & 0x7; - int i_27_ = 0xf & i_25_ >> 3; - if (i_27_ == 15) i_27_ = -1; - player.method2437(i_26_, i_23_, -1012294866, i_27_, true, i_24_); - } - if ((i_0_ & 0x40000) != 0) { - player.aByte10255 = class348_sub49_sub2.readByteInverse(-622951480); - player.aByte10206 = class348_sub49_sub2.readByte(-99); - player.aByte10270 = class348_sub49_sub2.readByte(-87); - player.aByte10279 = (byte) class348_sub49_sub2.readUnsignedByte(255); - player.anInt10248 = (Class367_Sub11.anInt7396 + class348_sub49_sub2.readShortAddLittle(-120)); - player.anInt10250 = (Class367_Sub11.anInt7396 + class348_sub49_sub2.readShortAdd(125)); - } - if ((i_0_ & 0x80) != 0) { - Class259.aByteArray3300[i] = class348_sub49_sub2.readByteSubtract(-27697); - } - if ((i_0_ & 0x20) != 0) { - int i_28_ = class348_sub49_sub2.readShortAddLittle(-126); - if (i_28_ == 65535) i_28_ = -1; - int i_29_ = class348_sub49_sub2.readIntInverseMiddle(255); - int i_30_ = class348_sub49_sub2.readByteAdd((byte) -125); - int i_31_ = i_30_ & 0x7; - int i_32_ = (0x78 & i_30_) >> 3; - if (i_32_ == 15) i_32_ = -1; - player.method2437(i_31_, i_28_, -1012294866, i_32_, false, i_29_); - } - if ((0x8 & i_0_) != 0) { - int[] is = new int[4]; - for (int i_33_ = 0; i_33_ < 4; i_33_++) { - is[i_33_] = class348_sub49_sub2.readShortAdd(123); - if (is[i_33_] == 65535) is[i_33_] = -1; - } - int i_34_ = class348_sub49_sub2.readByteAdd((byte) -101); - Class239_Sub16.method1791(23946, is, i_34_, player); - } - if ((i_0_ & 0x10) != 0) { - int i_35_ = class348_sub49_sub2.readUnsignedByte(255); - byte[] is = new byte[i_35_]; - Class348_Sub49 class348_sub49 = new Class348_Sub49(is); - class348_sub49_sub2.method3347(is, 0, i_35_, (byte) -124); - Class154.aClass348_Sub49Array2105[i] = class348_sub49; - player.method2452((byte) 84, class348_sub49); - } - if ((0x800 & i_0_) != 0) i_2_ = class348_sub49_sub2.readByteInverse(-622951480); - if (!player.aBoolean10539) break; - if (i_2_ != 127) { - byte i_36_; - if (i_2_ != -1) i_36_ = i_2_; - else i_36_ = Class259.aByteArray3300[i]; - Class348_Sub42_Sub9_Sub1.method3208(player, i_36_, -21); - player.method2455(player.anInt10531, -26443, i_36_, player.anInt10549); - } else player.method2449(player.anInt10531, player.anInt10549, (byte) 84); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ns.A(" + (class348_sub49_sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + i_1_ + ',' + (player != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - static final synchronized void method1142(byte i) { - anInt1913++; - if (Class168.anObject2256 == null) { - try { - Class168.anObject2256 = ManagementFactory.newPlatformMXBeanProxy(ManagementFactory.getPlatformMBeanServer(), "com.sun.management:type=HotSpotDiagnostic", HotSpotDiagnosticMXBean.class); - } catch (Exception exception) { - System.out.println("HeapDump setup error:"); - exception.printStackTrace(); - } - } - } - -} diff --git a/client/src/Class134.java b/client/src/Class134.java deleted file mode 100644 index f560f40f3..000000000 --- a/client/src/Class134.java +++ /dev/null @@ -1,63 +0,0 @@ -/* Class134 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import com.ms.awt.WComponentPeer; -import com.ms.com.IUnknown; -import com.ms.directX.DDSurfaceDesc; -import com.ms.directX.DirectDraw; -import com.ms.directX.IEnumModesCallback; -import com.ms.win32.User32; - -import java.awt.*; - -final class Class134 implements IEnumModesCallback { - private static int[] anIntArray4606; - private final DirectDraw aDirectDraw4607 = new DirectDraw(); - private static int anInt4608; - - public final void method1144(DDSurfaceDesc ddsurfacedesc, IUnknown iunknown) { - if (anIntArray4606 == null) anInt4608 += 4; - else { - anIntArray4606[anInt4608++] = ddsurfacedesc.width; - anIntArray4606[anInt4608++] = ddsurfacedesc.height; - anIntArray4606[anInt4608++] = ddsurfacedesc.rgbBitCount; - anIntArray4606[anInt4608++] = ddsurfacedesc.refreshRate; - } - } - - final int[] method1145(boolean bool) { - aDirectDraw4607.enumDisplayModes(0, null, null, this); - anIntArray4606 = new int[anInt4608]; - anInt4608 = 0; - aDirectDraw4607.enumDisplayModes(0, null, null, this); - if (bool != true) anInt4608 = 52; - int[] is = anIntArray4606; - anIntArray4606 = null; - anInt4608 = 0; - return is; - } - - final void method1146(int i, int i_0_, int i_1_, int i_2_, int i_3_, Frame frame) { - frame.setVisible(true); - WComponentPeer wcomponentpeer = (WComponentPeer) frame.getPeer(); - int i_4_ = wcomponentpeer.getHwnd(); - User32.SetWindowLong(i_4_, -16, -2147483648); - User32.SetWindowLong(i_4_, -20, 8); - aDirectDraw4607.setCooperativeLevel((java.awt.Component) frame, 17); - aDirectDraw4607.setDisplayMode(i_1_, i, i_0_, i_3_, 0); - frame.setBounds(0, 0, i_1_, i); - frame.toFront(); - frame.requestFocus(); - int i_5_ = -104 / ((32 - i_2_) / 39); - } - - final void method1147(Frame frame, int i) { - aDirectDraw4607.restoreDisplayMode(); - aDirectDraw4607.setCooperativeLevel((java.awt.Component) frame, i); - } - - public Class134() { - aDirectDraw4607.initialize(null); - } -} diff --git a/client/src/Class135.java b/client/src/Class135.java deleted file mode 100644 index 0a3514a9b..000000000 --- a/client/src/Class135.java +++ /dev/null @@ -1,92 +0,0 @@ -/* Class135 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaclib.memory.Buffer; -import jaggl.OpenGL; - -import java.awt.*; - -abstract class Class135 { - private int anInt1921; - static int anInt1922; - private final boolean aBoolean1923; - static int anInt1924; - static int anInt1925; - static int anInt1926; - ha_Sub2 aHa_Sub2_1927; - static Color[] aColorArray1928 = {new Color(9179409), new Color(3289650), new Color(3289650), new Color(3289650)}; - int anInt1929; - private final int anInt1930; - - static final void method1148(int i, int i_0_) { - anInt1925++; - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i, (byte) 105, i_0_);//6 - class348_sub42_sub15.method3251(i_0_ ^ ~0x3ebf); - } - - public static void method1149(int i) { - int i_1_ = -90 / ((-50 - i) / 37); - aColorArray1928 = null; - } - - final void method1150(byte[] is, int i, int i_2_) { - anInt1926++; - if (i != 0) method1148(-47, 124); - method1152(i ^ ~0x74); - if (anInt1921 >= i_2_) OpenGL.glBufferSubDataARBub(anInt1930, 0, i_2_, is, 0); - else { - OpenGL.glBufferDataARBub(anInt1930, i_2_, is, 0, !aBoolean1923 ? 35044 : 35040); - this.aHa_Sub2_1927.anInt7747 += -anInt1921 + i_2_; - anInt1921 = i_2_; - } - } - - protected final void finalize() throws Throwable { - anInt1922++; - this.aHa_Sub2_1927.method3780(anInt1921, -1, this.anInt1929); - super.finalize(); - } - - static final Class143 method1151(int i, ha var_ha, int i_3_) { - anInt1924++; - if (i != -25411) return null; - Class352 class352 = Class239_Sub3.method1734(i_3_, var_ha, (byte) -81, true); - if (class352 == null) return null; - return class352.aClass143_4333; - } - - abstract void method1152(int i); - - Class135(ha_Sub2 var_ha_Sub2, int i, byte[] is, int i_4_, boolean bool) { - try { - aBoolean1923 = bool; - this.aHa_Sub2_1927 = var_ha_Sub2; - anInt1930 = i; - anInt1921 = i_4_; - OpenGL.glGenBuffersARB(1, r_Sub1.anIntArray10478, 0); - this.anInt1929 = r_Sub1.anIntArray10478[0]; - method1152(-111); - OpenGL.glBufferDataARBub(i, anInt1921, is, 0, aBoolean1923 ? 35040 : 35044); - this.aHa_Sub2_1927.anInt7747 += anInt1921; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bi.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + (is != null ? "{...}" : "null") + ',' + i_4_ + ',' + bool + ')')); - } - } - - Class135(ha_Sub2 var_ha_Sub2, int i, Buffer buffer, int i_5_, boolean bool) { - try { - anInt1930 = i; - anInt1921 = i_5_; - this.aHa_Sub2_1927 = var_ha_Sub2; - aBoolean1923 = bool; - OpenGL.glGenBuffersARB(1, r_Sub1.anIntArray10478, 0); - this.anInt1929 = r_Sub1.anIntArray10478[0]; - method1152(-126); - OpenGL.glBufferDataARBa(i, anInt1921, buffer.getAddress(), !aBoolean1923 ? 35044 : 35040); - this.aHa_Sub2_1927.anInt7747 += anInt1921; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bi.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + (buffer != null ? "{...}" : "null") + ',' + i_5_ + ',' + bool + ')')); - } - } -} diff --git a/client/src/Class135_Sub1.java b/client/src/Class135_Sub1.java deleted file mode 100644 index 898268e9c..000000000 --- a/client/src/Class135_Sub1.java +++ /dev/null @@ -1,156 +0,0 @@ -/* Class135_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaclib.memory.Buffer; - -final class Class135_Sub1 extends Class135 implements Interface2 { - static int anInt4706; - static Class114 aClass114_4707; - private int anInt4708; - static int[] anIntArray4709 = new int[2048]; - static int anInt4710; - static int anInt4711; - static int anInt4712; - static int anInt4713; - static int anInt4714; - static int anInt4715; - static int anInt4716; - static int anInt4717; - static int anInt4718; - - public final int method13(byte i) { - anInt4706++; - if (i != -97) method10(false); - return anInt4708; - } - - final void method1152(int i) { - this.aHa_Sub2_1927.method3750(91, this); - if (i >= -78) method10(false); - anInt4710++; - } - - public final void method11(int i, int i_0_, byte[] is, int i_1_) { - this.method1150(is, 0, i_0_); - anInt4711++; - anInt4708 = i; - if (i_1_ != -9894) method12((byte) -37); - } - - Class135_Sub1(ha_Sub2 var_ha_Sub2, int i, byte[] is, int i_2_, boolean bool) { - super(var_ha_Sub2, 34962, is, i_2_, bool); - try { - anInt4708 = i; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("jt.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + (is != null ? "{...}" : "null") + ',' + i_2_ + ',' + bool + ')')); - } - } - - Class135_Sub1(ha_Sub2 var_ha_Sub2, int i, Buffer buffer, int i_3_, boolean bool) { - super(var_ha_Sub2, 34962, buffer, i_3_, bool); - try { - anInt4708 = i; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("jt.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + (buffer != null ? "{...}" : "null") + ',' + i_3_ + ',' + bool + ')')); - } - } - - static final void method1153(ha var_ha, int i) { - anInt4713++; - int i_4_ = 0; - int i_5_ = 0; - if (Class59_Sub1.aBoolean5300) { - i_4_ = s_Sub3.method4008((byte) -122); - i_5_ = Class16.method260(false); - } - int i_6_ = i_4_ + anInt4717; - int i_7_ = Class348_Sub42_Sub5.anInt9532 + i_5_; - int i_8_ = Class63.anInt1117; - int i_9_ = -3 + Class237_Sub1.anInt5819; - int i_10_ = 20; - Class299_Sub2_Sub1.method2270(Class63.anInt1117, i_4_ + anInt4717, var_ha, Class274.aClass274_3507.method2063(Class348_Sub33.anInt6967, i + 528), false, i_5_ + Class348_Sub42_Sub5.anInt9532, Class237_Sub1.anInt5819, i_10_); - int i_11_ = i_4_ + Class258_Sub4.aClass373_8552.method3597(true); - if (i != 16) method1154((byte) 9); - int i_12_ = i_5_ + Class258_Sub4.aClass373_8552.method3594((byte) 95); - if (Class348_Sub42_Sub6.aBoolean9535) { - int i_15_ = 0; - for (Class348_Sub42_Sub13 class348_sub42_sub13 = ((Class348_Sub42_Sub13) Class233.aClass107_3022.method1011(-73)); class348_sub42_sub13 != null; class348_sub42_sub13 = ((Class348_Sub42_Sub13) Class233.aClass107_3022.method1003((byte) 61))) { - int i_16_ = 16 * i_15_ + i_7_ - (-i_10_ + -13); - if (i_4_ + anInt4717 < i_11_ && i_11_ < Class63.anInt1117 + (i_4_ + anInt4717) && i_12_ > -13 + i_16_ && i_16_ - -4 > i_12_ && ((class348_sub42_sub13.anInt9615) > 1 || ((Class348_Sub42_Sub12) class348_sub42_sub13.aClass107_9621.aClass348_Sub42_1647.aClass348_Sub42_7063).aBoolean9610)) - var_ha.aa(anInt4717 + i_4_, -12 + i_16_, Class63.anInt1117, 16, (255 + -Class348_Sub42_Sub4.anInt9511 << 24) | Class264.anInt3374, 1); - i_15_++; - } - if (Class242.aClass348_Sub42_Sub13_3152 != null) { - i_15_ = 0; - Class299_Sub2_Sub1.method2270(Class348_Sub1_Sub1.anInt8806, Class50_Sub3.anInt5252, var_ha, (Class242.aClass348_Sub42_Sub13_3152.aString9617), false, Class373.anInt4534, Class177.anInt4669, i_10_); - for (Class348_Sub42_Sub12 class348_sub42_sub12 = ((Class348_Sub42_Sub12) Class242.aClass348_Sub42_Sub13_3152.aClass107_9621.method1011(-44)); class348_sub42_sub12 != null; class348_sub42_sub12 = ((Class348_Sub42_Sub12) Class242.aClass348_Sub42_Sub13_3152.aClass107_9621.method1003((byte) 71))) { - int i_17_ = i_15_ * 16 + (Class373.anInt4534 + i_10_ - -13); - if (Class50_Sub3.anInt5252 < i_11_ && (Class50_Sub3.anInt5252 - -Class348_Sub1_Sub1.anInt8806) > i_11_ && -13 + i_17_ < i_12_ && i_17_ - -4 > i_12_ && (class348_sub42_sub12.aBoolean9610)) - var_ha.aa(Class50_Sub3.anInt5252, i_17_ - 12, Class348_Sub1_Sub1.anInt8806, 16, (-Class348_Sub42_Sub4.anInt9511 + 255 << 24) | Class264.anInt3374, 1); - i_15_++; - } - Class84.method826(i_10_, Class50_Sub3.anInt5252, Class348_Sub1_Sub1.anInt8806, Class177.anInt4669, 125, Class373.anInt4534, var_ha); - } - } else { - int i_13_ = 0; - for (Class348_Sub42_Sub12 class348_sub42_sub12 = ((Class348_Sub42_Sub12) Class348_Sub40_Sub4.aClass262_9111.method1995(4)); class348_sub42_sub12 != null; class348_sub42_sub12 = (Class348_Sub42_Sub12) Class348_Sub40_Sub4.aClass262_9111.method1990((byte) 101)) { - int i_14_ = (16 * (-1 + (Class73.anInt4776 - i_13_)) + 13 + (i_7_ + i_10_)); - if (i_11_ > anInt4717 - -i_4_ && anInt4717 + i_4_ - -Class63.anInt1117 > i_11_ && i_12_ > i_14_ - 13 && 4 + i_14_ > i_12_ && (class348_sub42_sub12.aBoolean9610)) - var_ha.aa(i_4_ + anInt4717, -12 + i_14_, Class63.anInt1117, 16, (255 + -Class348_Sub42_Sub4.anInt9511 << 24) | Class264.anInt3374, 1); - i_13_++; - } - } - Class84.method826(i_10_, anInt4717 + i_4_, Class63.anInt1117, Class237_Sub1.anInt5819, -75, Class348_Sub42_Sub5.anInt9532 - -i_5_, var_ha); - if (Class348_Sub42_Sub6.aBoolean9535) { - int i_20_ = 0; - for (Class348_Sub42_Sub13 class348_sub42_sub13 = ((Class348_Sub42_Sub13) Class233.aClass107_3022.method1011(-77)); class348_sub42_sub13 != null; class348_sub42_sub13 = ((Class348_Sub42_Sub13) Class233.aClass107_3022.method1003((byte) 111))) { - int i_21_ = i_10_ + (i_5_ + Class348_Sub42_Sub5.anInt9532 + 13 - -(16 * i_20_)); - i_20_++; - if (class348_sub42_sub13.anInt9615 == 1) - Class318_Sub2.method2494(Class348_Sub42_Sub5.anInt9532 - -i_5_, ~0xffffff | Class5_Sub2.anInt8363, i_21_, var_ha, ((Class348_Sub42_Sub12) class348_sub42_sub13.aClass107_9621.aClass348_Sub42_1647.aClass348_Sub42_7063), Class63.anInt1117, i_12_, Class348_Sub42_Sub11.anInt9586 | ~0xffffff, (byte) 125, Class237_Sub1.anInt5819, anInt4717 - -i_4_, i_11_); - else Class318_Sub1_Sub3_Sub3.method2431(~0xffffff | Class348_Sub42_Sub11.anInt9586, i_21_, class348_sub42_sub13, i_11_, Class63.anInt1117, ~0xffffff | Class5_Sub2.anInt8363, i_12_, var_ha, Class348_Sub42_Sub5.anInt9532 - -i_5_, i ^ 0x60, i_4_ + anInt4717, Class237_Sub1.anInt5819); - } - if (Class242.aClass348_Sub42_Sub13_3152 != null) { - i_20_ = 0; - for (Class348_Sub42_Sub12 class348_sub42_sub12 = ((Class348_Sub42_Sub12) Class242.aClass348_Sub42_Sub13_3152.aClass107_9621.method1011(-118)); class348_sub42_sub12 != null; class348_sub42_sub12 = ((Class348_Sub42_Sub12) Class242.aClass348_Sub42_Sub13_3152.aClass107_9621.method1003((byte) 111))) { - int i_22_ = i_20_ * 16 + 13 + (Class373.anInt4534 + i_10_); - i_20_++; - Class318_Sub2.method2494(Class373.anInt4534, Class5_Sub2.anInt8363 | ~0xffffff, i_22_, var_ha, class348_sub42_sub12, Class348_Sub1_Sub1.anInt8806, i_12_, (Class348_Sub42_Sub11.anInt9586 | ~0xffffff), (byte) 127, Class177.anInt4669, Class50_Sub3.anInt5252, i_11_); - } - Class332.method2642(Class348_Sub1_Sub1.anInt8806, Class373.anInt4534, true, Class50_Sub3.anInt5252, Class177.anInt4669); - } - } else { - int i_18_ = 0; - for (Class348_Sub42_Sub12 class348_sub42_sub12 = ((Class348_Sub42_Sub12) Class348_Sub40_Sub4.aClass262_9111.method1995(4)); class348_sub42_sub12 != null; class348_sub42_sub12 = (Class348_Sub42_Sub12) Class348_Sub40_Sub4.aClass262_9111.method1990((byte) 71)) { - int i_19_ = (i_7_ - -i_10_ - (-13 - (Class73.anInt4776 + (-1 + -i_18_)) * 16)); - i_18_++; - Class318_Sub2.method2494(i_7_, ~0xffffff | Class5_Sub2.anInt8363, i_19_, var_ha, class348_sub42_sub12, i_8_, i_12_, (~0xffffff | Class348_Sub42_Sub11.anInt9586), (byte) 125, i_9_, i_6_, i_11_); - } - } - Class332.method2642(Class63.anInt1117, Class348_Sub42_Sub5.anInt9532 - -i_5_, true, i_4_ + anInt4717, Class237_Sub1.anInt5819); - } - - public final int method10(boolean bool) { - anInt4714++; - if (bool != true) method12((byte) -54); - return this.anInt1929; - } - - public static void method1154(byte i) { - int i_23_ = -93 / ((i - -75) / 36); - anIntArray4709 = null; - aClass114_4707 = null; - } - - public final long method12(byte i) { - if (i != 42) aClass114_4707 = null; - anInt4712++; - return 0L; - } - - static { - aClass114_4707 = new Class114(39, 8); - anInt4718 = 0; - } -} diff --git a/client/src/Class135_Sub2.java b/client/src/Class135_Sub2.java deleted file mode 100644 index b769cd33e..000000000 --- a/client/src/Class135_Sub2.java +++ /dev/null @@ -1,124 +0,0 @@ -/* Class135_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class135_Sub2 extends Class135 implements Interface8 { - static int anInt4833; - static int anInt4834; - static Class251 aClass251_4835 = new Class251(); - static int anInt4836; - private int anInt4837; - static int anInt4838; - static Class161 aClass161_4839; - static int anInt4840; - static int anInt4841; - static int anInt4842; - static Class45 aClass45_4843; - static int anInt4844; - private static char[] aCharArray4845 = new char[64]; - static Class348_Sub42_Sub12 aClass348_Sub42_Sub12_4846; - - final void method1152(int i) { - anInt4840++; - this.aHa_Sub2_1927.method3793(1, this); - if (i >= -78) aClass161_4839 = null; - } - - public final int method34(int i) { - anInt4838++; - if (i != -5711) method35(null, -82, 99, -89); - return anInt4837; - } - - public final void method35(byte[] is, int i, int i_0_, int i_1_) { - if (i_0_ > 18) { - this.method1150(is, 0, i_1_); - anInt4833++; - anInt4837 = i; - } - } - - public static void method1155(byte i) { - aClass251_4835 = null; - aClass161_4839 = null; - int i_2_ = -29 / ((i - -49) / 43); - aClass45_4843 = null; - aCharArray4845 = null; - aClass348_Sub42_Sub12_4846 = null; - } - - public final int method33(int i) { - if (i != -23923) method35(null, -47, -115, -72); - anInt4836++; - return this.anInt1929; - } - - static final void method1156(int i, int i_3_, int[] is, int i_4_, int i_5_) { - i_4_--; - anInt4841++; - int i_6_ = --i_3_ - 7; - if (i == -27) { - while (i_6_ > i_4_) { - is[++i_4_] = i_5_; - is[++i_4_] = i_5_; - is[++i_4_] = i_5_; - is[++i_4_] = i_5_; - is[++i_4_] = i_5_; - is[++i_4_] = i_5_; - is[++i_4_] = i_5_; - is[++i_4_] = i_5_; - } - while (i_3_ > i_4_) is[++i_4_] = i_5_; - } - } - - static final void method1157(int i, byte i_7_) { - if (i_7_ < -77) { - Class239_Sub12.anInt5969 = 2; - anInt4834++; - RuntimeException_Sub1.anInt4596 = i; - long l = 0L; - if (Class348_Sub23_Sub3.aString9043 == null) { - Class14_Sub4.method254(35, (byte) -87); - return; - } else { - Class348_Sub49 class348_sub49 = (new Class348_Sub49(Class98.method878((Class110_Sub1.method1039(Class348_Sub23_Sub3.aString9043, true)), -126))); - l = class348_sub49.readLong(-456577760); - Class348_Sub33.aLong6966 = class348_sub49.readLong(-456577760); - } - Class132.method1138(Class27.method313(l, -95), true, "", (byte) 79); - } - } - - public final long method36(byte i) { - if (i < 76) aClass251_4835 = null; - anInt4842++; - return 0L; - } - - Class135_Sub2(ha_Sub2 var_ha_Sub2, int i, byte[] is, int i_8_, boolean bool) { - super(var_ha_Sub2, 34963, is, i_8_, bool); - try { - anInt4837 = i; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("kaa.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + (is != null ? "{...}" : "null") + ',' + i_8_ + ',' + bool + ')')); - } - } - - static final boolean method1158(int i, int i_9_, int i_10_) { - if (i_9_ != -1) aClass161_4839 = null; - anInt4844++; - return (i_10_ & 0x180) != 0; - } - - static { - for (int i = 0; i < 26; i++) - aCharArray4845[i] = (char) (65 + i); - for (int i = 26; i < 52; i++) - aCharArray4845[i] = (char) (i + 71); - for (int i = 52; i < 62; i++) - aCharArray4845[i] = (char) (-4 + i); - aCharArray4845[63] = '-'; - aCharArray4845[62] = '*'; - } -} diff --git a/client/src/Class136.java b/client/src/Class136.java deleted file mode 100644 index abd2433bd..000000000 --- a/client/src/Class136.java +++ /dev/null @@ -1,44 +0,0 @@ -/* Class136 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class136 implements Interface7 { - static Class65 aClass65_4787; - private final String aString4788; - private final Class45 aClass45_4789; - static int anInt4790; - static short[][] aShortArrayArray4791; - static int anInt4792; - static int anInt4793 = 1405; - static int anInt4794; - static int anInt4795; - static Class45 aClass45_4796; - - public static void method1159(byte i) { - aShortArrayArray4791 = null; - aClass65_4787 = null; - if (i >= 36) aClass45_4796 = null; - } - - Class136(Class45 class45, String string) { - try { - aString4788 = string; - aClass45_4789 = class45; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("nv.(" + (class45 != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ')')); - } - } - - public final Class69 method32(int i) { - anInt4794++; - if (i != -15004) method1159((byte) -110); - return Class69.aClass69_1198; - } - - public final int method31(int i) { - anInt4790++; - if (aClass45_4789.method413(100, aString4788)) return 100; - int i_0_ = 31 % ((-43 - i) / 62); - return aClass45_4789.method397(aString4788, 0); - } -} diff --git a/client/src/Class137.java b/client/src/Class137.java deleted file mode 100644 index 92974e67a..000000000 --- a/client/src/Class137.java +++ /dev/null @@ -1,160 +0,0 @@ -/* Class137 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class137 { - static int anInt1931; - private int anInt1932; - private Class78 aClass78_1933 = null; - static int anInt1934; - static int anInt1935; - static int anInt1936; - static int anInt1937; - private Class78 aClass78_1938 = null; - private int anInt1939 = 65000; - - final boolean method1160(int i, int i_0_, byte[] is, int i_1_) { - if (i_1_ != -7305) return true; - anInt1935++; - synchronized (aClass78_1933) { - if (i < 0 || i > anInt1939) throw new IllegalArgumentException(); - boolean bool = method1162(is, -15096, i_0_, i, true); - if (!bool) bool = method1162(is, -15096, i_0_, i, false); - return bool; - } - } - - final byte[] method1161(byte i, int i_2_) { - anInt1937++; - synchronized (aClass78_1933) { - try { - if ((long) (6 * i_2_ - -6) > aClass78_1938.method787(0)) return null; - aClass78_1938.method789(6 * i_2_, (byte) -106); - aClass78_1938.method788(0, Class239.aByteArray3144, 6, i + -16713); - int i_3_ = ((0xff & Class239.aByteArray3144[2]) + ((0xff00 & Class239.aByteArray3144[1] << 8) + (0xff0000 & Class239.aByteArray3144[0] << 16))); - int i_4_ = ((0xff & Class239.aByteArray3144[5]) + ((0xff & Class239.aByteArray3144[3]) << 16) - -((Class239.aByteArray3144[4] & 0xff) << 8)); - if (i_3_ < 0 || anInt1939 < i_3_) return null; - if (i_4_ <= 0 || (long) i_4_ > aClass78_1933.method787(0) / 520L) return null; - byte[] is = new byte[i_3_]; - int i_5_ = 0; - if (i != -4) return null; - int i_6_ = 0; - while (i_3_ > i_5_) { - if (i_4_ == 0) return null; - aClass78_1933.method789(i_4_ * 520, (byte) -103); - int i_7_ = -i_5_ + i_3_; - if (i_7_ > 512) i_7_ = 512; - aClass78_1933.method788(0, Class239.aByteArray3144, 8 + i_7_, i ^ 0x414f); - int i_8_ = ((0xff00 & Class239.aByteArray3144[0] << 8) + (Class239.aByteArray3144[1] & 0xff)); - int i_9_ = ((Class239.aByteArray3144[2] << 8 & 0xff00) + (Class239.aByteArray3144[3] & 0xff)); - int i_10_ = (((Class239.aByteArray3144[5] & 0xff) << 8) + (0xff0000 & Class239.aByteArray3144[4] << 16) + (Class239.aByteArray3144[6] & 0xff)); - int i_11_ = 0xff & Class239.aByteArray3144[7]; - if (i_2_ != i_8_ || i_9_ != i_6_ || i_11_ != anInt1932) return null; - if (i_10_ < 0 || ((long) i_10_ > aClass78_1933.method787(i + 4) / 520L)) return null; - i_4_ = i_10_; - i_6_++; - for (int i_12_ = 0; i_12_ < i_7_; i_12_++) - is[i_5_++] = Class239.aByteArray3144[8 + i_12_]; - } - return is; - } catch (java.io.IOException ioexception) { - return null; - } - } - } - - private final boolean method1162(byte[] is, int i, int i_13_, int i_14_, boolean bool) { - anInt1936++; - synchronized (aClass78_1933) { - try { - int i_15_; - if (bool) { - if (aClass78_1938.method787(i + 15096) < (long) (i_13_ * 6 - -6)) return false; - aClass78_1938.method789(i_13_ * 6, (byte) 70); - aClass78_1938.method788(0, Class239.aByteArray3144, 6, -16717); - i_15_ = ((0xff & Class239.aByteArray3144[5]) + ((0xff & Class239.aByteArray3144[3]) << 16) + ((Class239.aByteArray3144[4] & 0xff) << 8)); - if (i_15_ <= 0 || (aClass78_1933.method787(i ^ ~0x3af7) / 520L < (long) i_15_)) return false; - } else { - i_15_ = (int) ((519L + aClass78_1933.method787(0)) / 520L); - if (i_15_ == 0) i_15_ = 1; - } - Class239.aByteArray3144[0] = (byte) (i_14_ >> 16); - Class239.aByteArray3144[4] = (byte) (i_15_ >> 8); - Class239.aByteArray3144[2] = (byte) i_14_; - Class239.aByteArray3144[1] = (byte) (i_14_ >> 8); - Class239.aByteArray3144[3] = (byte) (i_15_ >> 16); - Class239.aByteArray3144[5] = (byte) i_15_; - aClass78_1938.method789(i_13_ * 6, (byte) 111); - aClass78_1938.method783(0, 6, true, Class239.aByteArray3144); - int i_16_ = 0; - if (i != -15096) anInt1932 = 122; - int i_17_ = 0; - while (i_16_ < i_14_) { - int i_18_ = 0; - if (bool) { - aClass78_1933.method789(520 * i_15_, (byte) -116); - try { - aClass78_1933.method788(0, Class239.aByteArray3144, 8, -16717); - } catch (java.io.EOFException eofexception) { - break; - } - int i_19_ = ((0xff & Class239.aByteArray3144[1]) + (0xff00 & (Class239.aByteArray3144[0] << 8))); - i_18_ = ((0xff00 & Class239.aByteArray3144[5] << 8) + (((Class239.aByteArray3144[4] & 0xff) << 16) - -(0xff & Class239.aByteArray3144[6]))); - int i_20_ = ((Class239.aByteArray3144[2] << 8 & 0xff00) + (Class239.aByteArray3144[3] & 0xff)); - int i_21_ = 0xff & Class239.aByteArray3144[7]; - if (i_19_ != i_13_ || i_20_ != i_17_ || i_21_ != anInt1932) return false; - if (i_18_ < 0 || (aClass78_1933.method787(0) / 520L < (long) i_18_)) return false; - } - if (i_18_ == 0) { - bool = false; - i_18_ = (int) ((aClass78_1933.method787(0) - -519L) / 520L); - if (i_18_ == 0) i_18_++; - if (i_15_ == i_18_) i_18_++; - } - if (i_14_ + -i_16_ <= 512) i_18_ = 0; - Class239.aByteArray3144[3] = (byte) i_17_; - Class239.aByteArray3144[2] = (byte) (i_17_ >> 8); - Class239.aByteArray3144[0] = (byte) (i_13_ >> 8); - Class239.aByteArray3144[1] = (byte) i_13_; - Class239.aByteArray3144[5] = (byte) (i_18_ >> 8); - Class239.aByteArray3144[6] = (byte) i_18_; - Class239.aByteArray3144[7] = (byte) anInt1932; - Class239.aByteArray3144[4] = (byte) (i_18_ >> 16); - aClass78_1933.method789(520 * i_15_, (byte) -121); - aClass78_1933.method783(0, 8, true, Class239.aByteArray3144); - int i_22_ = -i_16_ + i_14_; - if (i_22_ > 512) i_22_ = 512; - aClass78_1933.method783(i_16_, i_22_, true, is); - i_17_++; - i_16_ += i_22_; - i_15_ = i_18_; - } - return true; - } catch (java.io.IOException ioexception) { - return false; - } - } - } - - public final String toString() { - anInt1934++; - return "Cache:" + anInt1932; - } - - static final boolean method1163(int i, byte i_23_, int i_24_) { - int i_25_ = -65 / ((i_23_ - 2) / 55); - anInt1931++; - return (i_24_ & 0x800) != 0; - } - - Class137(int i, Class78 class78, Class78 class78_26_, int i_27_) { - try { - anInt1932 = i; - aClass78_1933 = class78; - aClass78_1938 = class78_26_; - anInt1939 = i_27_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("nw.(" + i + ',' + (class78 != null ? "{...}" : "null") + ',' + (class78_26_ != null ? "{...}" : "null") + ',' + i_27_ + ')')); - } - } -} diff --git a/client/src/Class138.java b/client/src/Class138.java deleted file mode 100644 index c28a2ff39..000000000 --- a/client/src/Class138.java +++ /dev/null @@ -1,34 +0,0 @@ -/* Class138 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class138 { - static Class45 aClass45_1940; - int anInt1941; - static Class46[] aClass46Array1942; - int anInt1943; - int anInt1944; - int anInt1945; - static Class348_Sub42_Sub12 aClass348_Sub42_Sub12_1946; - static int anInt1947; - - public static void method1164(byte i) { - if (i <= -42) { - aClass45_1940 = null; - aClass348_Sub42_Sub12_1946 = null; - aClass46Array1942 = null; - } - } - - Class138(int i, int i_0_, int i_1_, int i_2_) { - this.anInt1943 = i_1_; - this.anInt1945 = i_0_; - this.anInt1941 = i; - this.anInt1944 = i_2_; - } - - public final String toString() { - anInt1947++; - throw new IllegalStateException(); - } -} diff --git a/client/src/Class139.java b/client/src/Class139.java deleted file mode 100644 index fd914a489..000000000 --- a/client/src/Class139.java +++ /dev/null @@ -1,75 +0,0 @@ -/* Class139 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class139 { - byte[] aByteArray1948; - static int anInt1949 = 0; - static int anInt1950; - short[] aShortArray1951; - static boolean aBoolean1952 = false; - short[] aShortArray1953; - short[] aShortArray1954; - static int anInt1955; - - static final void method1165(int i) { - Class299.aClass348_Sub49_Sub2_3813.startBitAccess(i ^ ~0x79); - anInt1950++; - int i_0_ = Class299.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 8); - if (i == 1) { - if (i_0_ < Class150.anInt2057) { - for (int i_1_ = i_0_; Class150.anInt2057 > i_1_; i_1_++) - Class5_Sub1_Sub1.anIntArray9932[Class358.anInt4411++] = Class74.anIntArray1233[i_1_]; - } - if (i_0_ > Class150.anInt2057) throw new RuntimeException("gnpov1"); - Class150.anInt2057 = 0; - for (int i_2_ = 0; i_2_ < i_0_; i_2_++) { - int i_3_ = Class74.anIntArray1233[i_2_]; - Npc npc = (((Class348_Sub22) Class282.aClass356_3654.method3480(i_3_, -6008)).aNpc_6859); - int i_4_ = Class299.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 1); - if (i_4_ == 0) { - Class74.anIntArray1233[Class150.anInt2057++] = i_3_; - npc.anInt10306 = Class348_Sub23_Sub3.anInt9041; - } else { - int i_5_ = Class299.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 2); - if (i_5_ == 0) { - Class74.anIntArray1233[Class150.anInt2057++] = i_3_; - npc.anInt10306 = Class348_Sub23_Sub3.anInt9041; - Class13.anIntArray224[Class101.anInt1597++] = i_3_; - } else if (i_5_ == 1) { - Class74.anIntArray1233[Class150.anInt2057++] = i_3_; - npc.anInt10306 = Class348_Sub23_Sub3.anInt9041; - int i_6_ = Class299.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 3); - npc.method2443(i_6_, 1, -10); - int i_7_ = Class299.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 1); - if (i_7_ == 1) Class13.anIntArray224[Class101.anInt1597++] = i_3_; - } else if (i_5_ == 2) { - Class74.anIntArray1233[Class150.anInt2057++] = i_3_; - npc.anInt10306 = Class348_Sub23_Sub3.anInt9041; - if (Class299.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 1) == 1) { - int i_9_ = Class299.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 3); - npc.method2443(i_9_, 2, -10); - int i_10_ = Class299.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 3); - npc.method2443(i_10_, 2, -10); - } else { - int i_8_ = Class299.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 3); - npc.method2443(i_8_, 0, i + -11); - } - int i_11_ = Class299.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 1); - if (i_11_ == 1) Class13.anIntArray224[Class101.anInt1597++] = i_3_; - } else if (i_5_ == 3) Class5_Sub1_Sub1.anIntArray9932[Class358.anInt4411++] = i_3_; - } - } - } - } - - static int method1166(int i, int i_12_) { - return i & i_12_; - } - - static final boolean method1167(int i, byte i_13_) { - anInt1955++; - if (i_13_ >= -45) anInt1949 = 88; - return i == 0 || i == 1 || i == 2; - } -} diff --git a/client/src/Class14.java b/client/src/Class14.java deleted file mode 100644 index 780770af0..000000000 --- a/client/src/Class14.java +++ /dev/null @@ -1,332 +0,0 @@ -/* Class14 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -abstract class Class14 implements Interface18 { - Class377 aClass377_5082; - static int anInt5083; - Class304 aClass304_5084; - static int anInt5085; - static int anInt5086; - static int anInt5087; - Class68 aClass68_5088; - static long aLong5089 = -1L; - private final int anInt5090; - static int[] anIntArray5091; - static int anInt5092; - int anInt5093; - static int anInt5094; - static int anInt5095; - private int anInt5096; - static int anInt5097; - static int anInt5098; - private boolean aBoolean5099; - static int anInt5100; - private Class209 aClass209_5101 = Class71.aClass209_1212; - static int anInt5102; - static int anInt5103; - static int anInt5104; - - public final void method63(byte i) { - anInt5104++; - int i_0_ = this.aClass377_5082.method3877((byte) -126); - if (i > -21) this.aClass377_5082 = null; - int i_1_ = (this.aClass377_5082.anIntArray9927[i_0_]); - if (this.anInt5093 != i_1_) { - if (i_1_ != 0) { - OpenGL.glBindTexture(i_1_, 0); - OpenGL.glDisable(i_1_); - } - OpenGL.glEnable(this.anInt5093); - this.aClass377_5082.anIntArray9927[i_0_] = this.anInt5093; - } - OpenGL.glBindTexture(this.anInt5093, anInt5096); - } - - final int method228(int i) { - anInt5085++; - if (Class68.aClass68_1183 != this.aClass68_5088) { - if (Class68.aClass68_1186 == this.aClass68_5088) { - if (this.aClass304_5084 == Class348_Sub45.aClass304_7103) return 34843; - if (Class108.aClass304_1662 == this.aClass304_5084) return 34842; - if (this.aClass304_5084 != Class348_Sub40_Sub38.aClass304_9471) { - if (this.aClass304_5084 != Class348_Sub40_Sub22.aClass304_9303) { - if (Class191.aClass304_2571 != this.aClass304_5084) { - if (this.aClass304_5084 == Class318.aClass304_3977) return 6145; - } else return 34847; - } else return 34846; - } else return 34844; - } else if (this.aClass68_5088 == Class68.aClass68_1187) { - if (Class348_Sub45.aClass304_7103 != this.aClass304_5084) { - if (this.aClass304_5084 == Class108.aClass304_1662) return 34836; - if (this.aClass304_5084 != Class348_Sub40_Sub38.aClass304_9471) { - if (Class348_Sub40_Sub22.aClass304_9303 == this.aClass304_5084) return 34840; - if (Class191.aClass304_2571 != this.aClass304_5084) { - if (Class318.aClass304_3977 == this.aClass304_5084) return 6145; - } else return 34841; - } else return 34838; - } else return 34837; - } - } else if (this.aClass304_5084 != Class348_Sub45.aClass304_7103) { - if (this.aClass304_5084 != Class108.aClass304_1662) { - if (this.aClass304_5084 != Class348_Sub40_Sub38.aClass304_9471) { - if (Class348_Sub40_Sub22.aClass304_9303 == this.aClass304_5084) return 6409; - if (this.aClass304_5084 == Class191.aClass304_2571) return 6410; - if (this.aClass304_5084 == Class318.aClass304_3977) return 6145; - } else return 6406; - } else return 6408; - } else return 6407; - if (i <= 104) method238(-54, 105, 2, null, 120); - throw new IllegalStateException(); - } - - private final void method229(boolean bool) { - this.aClass377_5082.method3850((byte) 107, this); - anInt5083++; - if (aClass209_5101 == Class71.aClass209_1212) { - OpenGL.glTexParameteri(this.anInt5093, 10241, !aBoolean5099 ? 9729 : 9987); - OpenGL.glTexParameteri(this.anInt5093, 10240, 9729); - } else { - OpenGL.glTexParameteri(this.anInt5093, 10241, !aBoolean5099 ? 9728 : 9984); - OpenGL.glTexParameteri(this.anInt5093, 10240, 9728); - } - if (bool != true) method232(null, (byte) 106, true, 70); - } - - final void method230(int i, int i_2_, byte[] is, int i_3_, int i_4_) { - anInt5100++; - if (i_2_ > 0 && !Class192.method1436(66, i_2_)) throw new IllegalArgumentException(""); - if (i_3_ > 0 && !Class192.method1436(i ^ 0x1cb6, i_3_)) throw new IllegalArgumentException(""); - int i_5_ = this.aClass304_5084.anInt3850; - int i_6_ = 0; - int i_7_ = Math.min(i_2_, i_3_); - int i_8_ = i_2_ >> 1; - if (i != 7365) method236(0, (byte) -113); - int i_9_ = i_3_ >> 1; - byte[] is_10_ = is; - byte[] is_11_ = new byte[i_9_ * (i_8_ * i_5_)]; - for (; ; ) { - OpenGL.glTexImage2Dub(i_4_, i_6_, method228(108), i_2_, i_3_, 0, Class348_Sub40_Sub3.method3055(i + -7265, this.aClass304_5084), 5121, is_10_, 0); - if (i_7_ <= 1) break; - int i_12_ = i_2_ * i_5_; - for (int i_13_ = 0; i_5_ > i_13_; i_13_++) { - int i_14_ = i_13_; - int i_15_ = i_13_; - int i_16_ = i_15_ - -i_12_; - for (int i_17_ = 0; i_17_ < i_9_; i_17_++) { - for (int i_18_ = 0; i_8_ > i_18_; i_18_++) { - int i_19_ = is_10_[i_15_]; - i_15_ += i_5_; - i_19_ += is_10_[i_15_]; - i_19_ += is_10_[i_16_]; - i_15_ += i_5_; - i_16_ += i_5_; - i_19_ += is_10_[i_16_]; - is_11_[i_14_] = (byte) (i_19_ >> 2); - i_16_ += i_5_; - i_14_ += i_5_; - } - i_15_ += i_12_; - i_16_ += i_12_; - } - } - byte[] is_20_ = is_11_; - is_11_ = is_10_; - i_2_ = i_8_; - i_3_ = i_9_; - is_10_ = is_20_; - i_8_ >>= 1; - i_9_ >>= 1; - i_6_++; - i_7_ >>= 1; - } - } - - private final int method231(int i) { - anInt5095++; - int i_21_ = (anInt5090 * (this.aClass68_5088.anInt1178 * this.aClass304_5084.anInt3850)); - if (i >= -105) method232(null, (byte) 118, true, 16); - if (aBoolean5099) return 4 * i_21_ / 3; - return i_21_; - } - - static final Class324 method232(ha var_ha, byte i, boolean bool, int i_22_) { - if (i != -53) method237(true); - anInt5094++; - Class352 class352 = Class239_Sub3.method1734(i_22_, var_ha, (byte) 55, bool); - if (class352 == null) return null; - return class352.aClass324_4332; - } - - final void method233(int i, int i_23_, int[] is, int i_24_, int i_25_) { - anInt5092++; - if (i > 0 && !Class192.method1436(-43, i)) throw new IllegalArgumentException(""); - if (i_23_ > 0 && !Class192.method1436(i_25_ ^ ~0xd2, i_23_)) throw new IllegalArgumentException(""); - if (Class108.aClass304_1662 != this.aClass304_5084) throw new IllegalArgumentException(""); - int i_26_ = 0; - int i_27_ = Math.min(i, i_23_); - int i_28_ = i >> 1; - int i_29_ = i_23_ >> 1; - int[] is_30_ = is; - int[] is_31_ = new int[i_29_ * i_28_]; - if (i_25_ != 255) aBoolean5099 = true; - for (; ; ) { - OpenGL.glTexImage2Di(i_24_, i_26_, method228(112), i, i_23_, 0, 32993, (this.aClass377_5082.anInt9918), is_30_, 0); - if (i_27_ <= 1) break; - int i_32_ = 0; - int i_33_ = 0; - int i_34_ = i_33_ + i; - for (int i_35_ = 0; i_29_ > i_35_; i_35_++) { - for (int i_36_ = 0; i_28_ > i_36_; i_36_++) { - int i_37_ = is_30_[i_33_++]; - int i_38_ = is_30_[i_33_++]; - int i_39_ = is_30_[i_34_++]; - int i_40_ = i_37_ >> 16 & 0xff; - int i_41_ = 0xff & i_37_ >> 24; - int i_42_ = 0xff & i_37_; - int i_43_ = (i_37_ & 0xff58) >> 8; - int i_44_ = is_30_[i_34_++]; - i_42_ += i_38_ & 0xff; - i_40_ += (0xffba54 & i_38_) >> 16; - i_41_ += 0xff & i_38_ >> 24; - i_43_ += 0xff & i_38_ >> 8; - i_41_ += i_39_ >> 24 & 0xff; - i_42_ += i_39_ & 0xff; - i_43_ += (0xff9c & i_39_) >> 8; - i_40_ += i_39_ >> 16 & 0xff; - i_41_ += i_44_ >> 24 & 0xff; - i_40_ += 0xff & i_44_ >> 16; - i_43_ += 0xff & i_44_ >> 8; - i_42_ += i_44_ & 0xff; - is_31_[i_32_++] = (Class273.method2057((Class273.method2057(Class139.method1166(i_43_ << 6, 65280), Class273.method2057((Class139.method1166(i_41_, 1020) << 22), (Class139.method1166(1020, i_40_) << 14)))), Class139.method1166(255, i_42_ >> 2))); - } - i_33_ += i; - i_34_ += i; - } - int[] is_45_ = is_31_; - is_31_ = is_30_; - i_23_ = i_29_; - is_30_ = is_45_; - i = i_28_; - i_28_ >>= 1; - i_26_++; - i_27_ >>= 1; - i_29_ >>= 1; - } - } - - private final void method234(int i) { - if (i == 1617553025) { - if (anInt5096 > 0) { - this.aClass377_5082.method3967(method231(-109), (byte) 59, anInt5096); - anInt5096 = 0; - } - anInt5097++; - } - } - - static final void method235(int i, byte i_46_) { - anInt5087++; - if (i != -1 && Class163.aBooleanArray2162[i]) { - Class229.aClass45_2978.method411(i, -120); - Class348_Sub40_Sub33.aClass46ArrayArray9427[i] = null; - Class369_Sub2.aClass46ArrayArray8584[i] = null; - if (i_46_ <= -94) Class163.aBooleanArray2162[i] = false; - } - } - - private final void method236(int i, byte i_47_) { - anInt5098++; - this.aClass377_5082.anInt8062 -= i; - this.aClass377_5082.anInt8062 += method231(-119); - if (i_47_ >= -124) aBoolean5099 = false; - } - - public static void method237(boolean bool) { - if (bool != false) aLong5089 = -54L; - anIntArray5091 = null; - } - - public final void method64(Class209 class209, int i) { - anInt5086++; - if (i != -22095) this.aClass304_5084 = null; - if (class209 != aClass209_5101) { - aClass209_5101 = class209; - method229(true); - } - } - - final void method238(int i, int i_48_, int i_49_, float[] fs, int i_50_) { - anInt5102++; - if (i_49_ > 0 && !Class192.method1436(100, i_49_)) throw new IllegalArgumentException(""); - if (i_50_ > 0 && !Class192.method1436(i_48_ + 109, i_50_)) throw new IllegalArgumentException(""); - int i_51_ = this.aClass304_5084.anInt3850; - int i_52_ = 0; - if (i_48_ != 1) method228(107); - int i_53_ = Math.min(i_50_, i_49_); - int i_54_ = i_49_ >> 1; - int i_55_ = i_50_ >> 1; - float[] fs_56_ = fs; - float[] fs_57_ = new float[i_54_ * (i_55_ * i_51_)]; - for (; ; ) { - OpenGL.glTexImage2Df(i, i_52_, method228(123), i_49_, i_50_, 0, (Class348_Sub40_Sub3.method3055(124, this.aClass304_5084)), 5126, fs_56_, 0); - if (i_53_ <= 1) break; - int i_58_ = i_49_ * i_51_; - for (int i_59_ = 0; i_51_ > i_59_; i_59_++) { - int i_60_ = i_59_; - int i_61_ = i_59_; - int i_62_ = i_61_ + i_58_; - for (int i_63_ = 0; i_63_ < i_55_; i_63_++) { - for (int i_64_ = 0; i_54_ > i_64_; i_64_++) { - float f = fs_56_[i_61_]; - i_61_ += i_51_; - f += fs_56_[i_61_]; - f += fs_56_[i_62_]; - i_61_ += i_51_; - i_62_ += i_51_; - f += fs_56_[i_62_]; - i_62_ += i_51_; - fs_57_[i_60_] = 0.25F * f; - i_60_ += i_51_; - } - i_62_ += i_58_; - i_61_ += i_58_; - } - } - float[] fs_65_ = fs_57_; - fs_57_ = fs_56_; - i_49_ = i_54_; - i_50_ = i_55_; - fs_56_ = fs_65_; - i_54_ >>= 1; - i_55_ >>= 1; - i_53_ >>= 1; - i_52_++; - } - } - - protected final void finalize() throws Throwable { - anInt5103++; - method234(1617553025); - super.finalize(); - } - - Class14(Class377 class377, int i, Class304 class304, Class68 class68, int i_66_, boolean bool) { - try { - anInt5090 = i_66_; - this.aClass377_5082 = class377; - this.aClass304_5084 = class304; - this.aClass68_5088 = class68; - aBoolean5099 = bool; - this.anInt5093 = i; - OpenGL.glGenTextures(1, Class141.anIntArray1975, 0); - anInt5096 = Class141.anIntArray1975[0]; - method229(true); - method236(0, (byte) -126); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("hda.(" + (class377 != null ? "{...}" : "null") + ',' + i + ',' + (class304 != null ? "{...}" : "null") + ',' + (class68 != null ? "{...}" : "null") + ',' + i_66_ + ',' + bool + ')')); - } - } -} diff --git a/client/src/Class140.java b/client/src/Class140.java deleted file mode 100644 index bf64d4239..000000000 --- a/client/src/Class140.java +++ /dev/null @@ -1,80 +0,0 @@ -/* Class140 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; - -final class Class140 { - static int anInt1956; - static int anInt1957; - static int anInt1958; - static Class114 aClass114_1959 = new Class114(81, 6); - static int anInt1960; - static Class351 aClass351_1961 = new Class351(77, -1); - static int anInt1962; - - static final void method1168(int i, int i_0_, Rectangle[] rectangles) throws Exception_Sub1 { - anInt1957++; - if (Class348_Sub49.anInt7207 != 1) Class21.aHa326.method3707(rectangles, i, 0, 0); - else Class21.aHa326.method3707(rectangles, i, Class339.anInt4211, Class348_Sub40_Sub8.anInt9157); - if (i_0_ != 0) aClass351_1961 = null; - } - - public static void method1169(boolean bool) { - aClass351_1961 = null; - aClass114_1959 = null; - if (bool != false) aClass351_1961 = null; - } - - static final void method1170(byte i) { - anInt1956++; - if (Class34.aFrame476 == null) { - int i_1_ = Class348_Sub48.anInt7129; - int i_2_ = Class335.anInt4167; - if (i > -25) method1172((byte) -22, -1); - int i_3_ = -i_1_ + -Class321.anInt4017 + Class272.anInt3473; - int i_4_ = -i_2_ + (Class348_Sub22.anInt6857 + -Class348_Sub42_Sub8_Sub2.anInt10432); - do { - if (i_1_ > 0 || i_3_ > 0 || i_2_ > 0 || i_4_ > 0) { - try { - java.awt.Container container; - if (Class52.aFrame4904 == null) { - if (Class93.anApplet1530 == null) container = Class348_Sub40_Sub9.anApplet_Sub1_9169; - else container = Class93.anApplet1530; - } else container = Class52.aFrame4904; - int i_5_ = 0; - int i_6_ = 0; - if (container == Class52.aFrame4904) { - Insets insets = Class52.aFrame4904.getInsets(); - i_5_ = insets.left; - i_6_ = insets.top; - } - Graphics graphics = container.getGraphics(); - graphics.setColor(Color.black); - if (i_1_ > 0) graphics.fillRect(i_5_, i_6_, i_1_, Class348_Sub22.anInt6857); - if (i_2_ > 0) graphics.fillRect(i_5_, i_6_, Class272.anInt3473, i_2_); - if (i_3_ > 0) graphics.fillRect((-i_3_ + Class272.anInt3473 + i_5_), i_6_, i_3_, Class348_Sub22.anInt6857); - if (i_4_ <= 0) break; - graphics.fillRect(i_5_, Class348_Sub22.anInt6857 + (i_6_ - i_4_), Class272.anInt3473, i_4_); - } catch (Exception exception) { - break; - } - break; - } - } while (false); - } - } - - static final String method1171(int i, int i_7_, boolean bool) { - if (i_7_ < 43) return null; - anInt1958++; - if (!bool || i < 0) return Integer.toString(i); - return Class367_Sub9.method3551(8320, 10, i, bool); - } - - static final boolean method1172(byte i, int i_8_) { - anInt1960++; - int i_9_ = 35 / ((-45 - i) / 38); - return (i_8_ >= 0 && i_8_ <= 3) || i_8_ == 9; - } -} diff --git a/client/src/Class141.java b/client/src/Class141.java deleted file mode 100644 index a3be3bff2..000000000 --- a/client/src/Class141.java +++ /dev/null @@ -1,112 +0,0 @@ -/* Class141 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class141 { - private Class60 aClass60_1963 = new Class60(64); - static int anInt1964; - Class45 aClass45_1965; - static Class273 aClass273_1966; - static int anInt1967; - static int anInt1968; - static int anInt1969; - static int anInt1970; - private final Class45 aClass45_1971; - static int anInt1972; - static int[] anIntArray1973 = {0, 1, 2, 3, 4, 5, 6, 14}; - static int anInt1974; - static int[] anIntArray1975; - Class60 aClass60_1976 = new Class60(64); - static Class26 aClass26_1977; - - final Class218 method1173(byte i, int i_0_) { - anInt1964++; - Class218 class218; - synchronized (aClass60_1963) { - class218 = (Class218) aClass60_1963.method583(i_0_, 118); - } - if (class218 != null) return class218; - byte[] is; - synchronized (aClass45_1971) { - is = aClass45_1971.method410(i + -1891, 34, i_0_); - } - class218 = new Class218(); - if (i != 31) return null; - class218.aClass141_2851 = this; - if (is != null) class218.method1597((byte) -114, new Class348_Sub49(is)); - synchronized (aClass60_1963) { - aClass60_1963.method582(class218, i_0_, (byte) -108); - } - return class218; - } - - final void method1174(byte i) { - synchronized (aClass60_1963) { - aClass60_1963.method587(-87); - } - anInt1969++; - synchronized (this.aClass60_1976) { - if (i > -89) { - /* empty */ - } else this.aClass60_1976.method587(-79); - } - } - - final void method1175(byte i) { - synchronized (aClass60_1963) { - aClass60_1963.method590(i + -125); - } - anInt1967++; - if (i == 125) { - synchronized (this.aClass60_1976) { - this.aClass60_1976.method590(0); - } - } - } - - final void method1176(int i, byte i_1_) { - if (i_1_ < 31) method1177((byte) -119); - synchronized (aClass60_1963) { - aClass60_1963.method578(2, i); - } - anInt1968++; - synchronized (this.aClass60_1976) { - this.aClass60_1976.method578(2, i); - } - } - - static final void method1177(byte i) { - Class291.anIntArray3726 = Class367_Sub1.method3533((byte) 127, 2048, 4, 8, 0.4F, 35, true, 8); - if (i == 122) anInt1970++; - } - - final void method1178(int i, int i_2_, int i_3_) { - anInt1972++; - if (i_2_ != 1) aClass273_1966 = null; - aClass60_1963 = new Class60(i_3_); - this.aClass60_1976 = new Class60(i); - } - - public static void method1179(byte i) { - anIntArray1975 = null; - aClass26_1977 = null; - anIntArray1973 = null; - aClass273_1966 = null; - if (i >= -111) method1177((byte) 47); - } - - Class141(Class230 class230, int i, Class45 class45, Class45 class45_4_) { - try { - this.aClass45_1965 = class45_4_; - aClass45_1971 = class45; - aClass45_1971.method407(0, 34); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("oda.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ',' + (class45_4_ != null ? "{...}" : "null") + ')')); - } - } - - static { - aClass273_1966 = new Class273("", 18); - anIntArray1975 = new int[1]; - } -} diff --git a/client/src/Class142.java b/client/src/Class142.java deleted file mode 100644 index b2c15c4d9..000000000 --- a/client/src/Class142.java +++ /dev/null @@ -1,79 +0,0 @@ -/* Class142 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaclib.memory.Buffer; -import jagdx.IDirect3DIndexBuffer; -import jagdx.ue; - -final class Class142 implements Interface5_Impl2 { - private final Class378 aClass378_8515; - private int anInt8516; - IDirect3DIndexBuffer anIDirect3DIndexBuffer8517; - private Class68 aClass68_8518; - private final boolean aBoolean8519; - private boolean aBoolean8520 = false; - private int anInt8521; - - public final Class68 method25(byte i) { - if (i <= 19) aClass68_8518 = null; - return aClass68_8518; - } - - public final boolean method22(int i) { - if (i != -23) anInt8516 = 118; - if (aBoolean8520 && ue.a(this.anIDirect3DIndexBuffer8517.Unlock(), false)) { - aBoolean8520 = false; - return true; - } - return false; - } - - public final void method23(int i, int i_0_) { - if (i != 15959) anInt8516 = -78; - anInt8516 = aClass68_8518.anInt1178 * i_0_; - if (anInt8521 < anInt8516) { - int i_1_ = 8; - int i_2_; - if (aBoolean8519) { - i_1_ |= 0x200; - i_2_ = 0; - } else i_2_ = 1; - if (null != this.anIDirect3DIndexBuffer8517) this.anIDirect3DIndexBuffer8517.a(9275); - this.anIDirect3DIndexBuffer8517 = (aClass378_8515.anIDirect3DDevice9810.a(anInt8516, i_1_, aClass68_8518 != Class68.aClass68_1184 ? 102 : 101, i_2_, this.anIDirect3DIndexBuffer8517)); - anInt8521 = anInt8516; - } - } - - public final Buffer method24(boolean bool, boolean bool_3_) { - if (null == this.anIDirect3DIndexBuffer8517) return null; - if (bool_3_) method23(-111, 54); - bool &= aBoolean8519; - if (!aBoolean8520 && ue.a((this.anIDirect3DIndexBuffer8517.Lock(0, anInt8521, !bool ? 0 : 8192, aClass378_8515.aGeometryBuffer9811)), false)) { - aBoolean8520 = true; - return aClass378_8515.aGeometryBuffer9811; - } - return null; - } - - public final int method16(boolean bool) { - if (bool) method25((byte) 116); - return anInt8516; - } - - public final void method21(int i) { - if (null != this.anIDirect3DIndexBuffer8517) { - this.anIDirect3DIndexBuffer8517.a(9275); - this.anIDirect3DIndexBuffer8517 = null; - } - if (i != 23315) method23(65, -35); - anInt8521 = 0; - anInt8516 = 0; - } - - Class142(Class378 class378, Class68 class68, boolean bool) { - aClass378_8515 = class378; - aBoolean8519 = bool; - aClass68_8518 = class68; - } -} diff --git a/client/src/Class143.java b/client/src/Class143.java deleted file mode 100644 index 4a05a0732..000000000 --- a/client/src/Class143.java +++ /dev/null @@ -1,388 +0,0 @@ -/* Class143 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class143 { - static int anInt1978; - private byte[][] aByteArrayArray1979; - static int anInt1980; - static int anInt1981; - static int anInt1982; - static int anInt1983; - static int anInt1984; - static int anInt1985; - private final byte[] aByteArray1986; - static Class351 aClass351_1987 = new Class351(66, -1); - int anInt1988; - static int anInt1989; - static int anInt1990; - static int anInt1991; - int anInt1992; - int anInt1993; - - public static void method1180(byte i) { - if (i != -76) method1180((byte) 27); - aClass351_1987 = null; - } - - final String method1181(Class105[] class105s, int i, String string, byte i_0_) { - try { - anInt1989++; - if (i >= method1186(string, class105s, false)) return string; - i -= method1186("...", null, false); - int i_1_ = -1; - if (i_0_ < 54) aClass351_1987 = null; - int i_2_ = -1; - int i_3_ = 0; - int i_4_ = string.length(); - String string_5_ = ""; - for (int i_6_ = 0; i_4_ > i_6_; i_6_++) { - char c = string.charAt(i_6_); - if (c == 60) i_1_ = i_6_; - else { - if (c == 62 && i_1_ != -1) { - String string_7_ = string.substring(i_1_ - -1, i_6_); - i_1_ = -1; - if (!string_7_.equals("lt")) { - if (!string_7_.equals("gt")) { - if (string_7_.equals("nbsp")) c = '\u00a0'; - else if (!string_7_.equals("shy")) { - if (string_7_.equals("times")) c = '\u00d7'; - else if (!string_7_.equals("euro")) { - if (!string_7_.equals("copy")) { - if (!string_7_.equals("reg")) { - if (string_7_.startsWith("img=") && class105s != null) { - try { - int i_8_ = (Class348_Sub41.method3156(true, (string_7_.substring(4)))); - i_2_ = -1; - i_3_ += (class105s[i_8_].method966()); - if (i_3_ > i) return (string_5_ + "..."); - string_5_ = (string.substring(0, i_6_ - -1)); - } catch (Exception exception) { - /* empty */ - } - } - continue; - } - c = '\u00ae'; - } else c = '\u00a9'; - } else c = '\u20ac'; - } else c = '\u00ad'; - } else c = '>'; - } else c = '<'; - } - if (i_1_ == -1) { - i_3_ += 0xff & (aByteArray1986[Class354.method3464(c, false) & 0xff]); - if (aByteArrayArray1979 != null && i_2_ != -1) i_3_ += aByteArrayArray1979[i_2_][c]; - i_2_ = c; - int i_9_ = i_3_; - if (aByteArrayArray1979 != null) i_9_ += aByteArrayArray1979[c][46]; - if (i_9_ > i) return string_5_ + "..."; - string_5_ = string.substring(0, i_6_ + 1); - } - } - } - return string; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("oea.I(" + (class105s != null ? "{...}" : "null") + ',' + i + ',' + (string != null ? "{...}" : "null") + ',' + i_0_ + ')')); - } - } - - final int method1182(int i, byte i_10_, char c) { - if (i_10_ > -47) aClass351_1987 = null; - anInt1985++; - if (aByteArrayArray1979 != null) return aByteArrayArray1979[i][c]; - return 0; - } - - final int method1183(boolean bool, String string) { - anInt1981++; - if (bool != true) method1181(null, 54, null, (byte) 21); - return method1186(string, null, false); - } - - final int method1184(byte i, int i_11_) { - anInt1982++; - if (i != -48) aByteArrayArray1979 = null; - return 0xff & aByteArray1986[i_11_]; - } - - final int method1185(Class105[] class105s, int i, int i_12_, int i_13_, String string) { - try { - anInt1990++; - if (i_12_ == i) i_12_ = this.anInt1992; - int i_14_ = method1188(string, new int[]{i_13_}, Class186.aStringArray2494, (byte) 87, class105s); - int i_15_ = (-1 + i_14_) * i_12_; - return (this.anInt1988 + (i_15_ + this.anInt1993)); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("oea.A(" + (class105s != null ? "{...}" : "null") + ',' + i + ',' + i_12_ + ',' + i_13_ + ',' + (string != null ? "{...}" : "null") + ')')); - } - } - - final int method1186(String string, Class105[] class105s, boolean bool) { - try { - if (bool != false) this.anInt1993 = 95; - anInt1980++; - if (string == null) return 0; - int i = -1; - int i_16_ = -1; - int i_17_ = 0; - int i_18_ = string.length(); - for (int i_19_ = 0; i_19_ < i_18_; i_19_++) { - char c = string.charAt(i_19_); - if (c == 60) i = i_19_; - else { - if (c == 62 && i != -1) { - String string_20_ = string.substring(1 + i, i_19_); - i = -1; - if (string_20_.equals("lt")) c = '<'; - else if (!string_20_.equals("gt")) { - if (!string_20_.equals("nbsp")) { - if (string_20_.equals("shy")) c = '\u00ad'; - else if (!string_20_.equals("times")) { - if (!string_20_.equals("euro")) { - if (!string_20_.equals("copy")) { - if (string_20_.equals("reg")) c = '\u00ae'; - else { - if (string_20_.startsWith("img=") && class105s != null) { - try { - int i_21_ = (Class348_Sub41.method3156(true, (string_20_.substring(4)))); - i_16_ = -1; - i_17_ += (class105s[i_21_].method966()); - } catch (Exception exception) { - /* empty */ - } - } - continue; - } - } else c = '\u00a9'; - } else c = '\u20ac'; - } else c = '\u00d7'; - } else c = '\u00a0'; - } else c = '>'; - } - if (i == -1) { - i_17_ += 0xff & (aByteArray1986[Class354.method3464(c, false) & 0xff]); - if (aByteArrayArray1979 != null && i_16_ != -1) i_17_ += aByteArrayArray1979[i_16_][c]; - i_16_ = c; - } - } - } - return i_17_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("oea.F(" + (string != null ? "{...}" : "null") + ',' + (class105s != null ? "{...}" : "null") + ',' + bool + ')')); - } - } - - final int method1187(String string, boolean bool, int i, Class105[] class105s) { - try { - anInt1984++; - int i_22_ = method1188(string, new int[]{i}, Class186.aStringArray2494, (byte) 87, class105s); - int i_23_ = 0; - if (bool != false) this.anInt1988 = -58; - for (int i_24_ = 0; i_22_ > i_24_; i_24_++) { - int i_25_ = method1186(Class186.aStringArray2494[i_24_], class105s, false); - if (i_25_ > i_23_) i_23_ = i_25_; - } - return i_23_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("oea.K(" + (string != null ? "{...}" : "null") + ',' + bool + ',' + i + ',' + (class105s != null ? "{...}" : "null") + ')')); - } - } - - final int method1188(String string, int[] is, String[] strings, byte i, Class105[] class105s) { - try { - anInt1978++; - if (i != 87) method1190(null, 80, null, 55); - if (string == null) return 0; - int i_26_ = 0; - int i_27_ = 0; - int i_28_ = -1; - int i_29_ = 0; - int i_30_ = 0; - int i_31_ = -1; - int i_32_ = -1; - int i_33_ = 0; - int i_34_ = string.length(); - for (int i_35_ = 0; i_34_ > i_35_; i_35_++) { - int i_36_ = Class354.method3464(string.charAt(i_35_), false) & 0xff; - int i_37_ = 0; - if (i_36_ == 60) i_31_ = i_35_; - else { - int i_38_; - if (i_31_ == -1) { - i_37_ += method1184((byte) -48, i_36_); - i_38_ = i_35_; - if (aByteArrayArray1979 != null && i_32_ != -1) i_37_ += aByteArrayArray1979[i_32_][i_36_]; - i_32_ = i_36_; - } else { - if (i_36_ != 62) continue; - i_38_ = i_31_; - String string_39_ = string.substring(1 + i_31_, i_35_); - i_31_ = -1; - if (string_39_.equals("br")) { - strings[i_33_] = string.substring(i_27_, i_35_ - -1); - i_33_++; - if (strings.length <= i_33_) return 0; - i_27_ = 1 + i_35_; - i_32_ = -1; - i_26_ = 0; - i_28_ = -1; - continue; - } - if (string_39_.equals("lt")) { - i_37_ += method1184((byte) -48, 60); - if (aByteArrayArray1979 != null && i_32_ != -1) i_37_ += aByteArrayArray1979[i_32_][60]; - i_32_ = 60; - } else if (string_39_.equals("gt")) { - i_37_ += method1184((byte) -48, 62); - if (aByteArrayArray1979 != null && i_32_ != -1) i_37_ += aByteArrayArray1979[i_32_][62]; - i_32_ = 62; - } else if (string_39_.equals("nbsp")) { - i_37_ += method1184((byte) -48, 160); - if (aByteArrayArray1979 != null && i_32_ != -1) i_37_ += aByteArrayArray1979[i_32_][160]; - i_32_ = 160; - } else if (string_39_.equals("shy")) { - i_37_ += method1184((byte) -48, 173); - if (aByteArrayArray1979 != null && i_32_ != -1) i_37_ += aByteArrayArray1979[i_32_][173]; - i_32_ = 173; - } else if (string_39_.equals("times")) { - i_37_ += method1184((byte) -48, 215); - if (aByteArrayArray1979 != null && i_32_ != -1) i_37_ += aByteArrayArray1979[i_32_][215]; - i_32_ = 215; - } else if (string_39_.equals("euro")) { - i_37_ += method1184((byte) -48, 8364); - if (aByteArrayArray1979 != null && i_32_ != -1) i_37_ += (aByteArrayArray1979[i_32_][8364]); - i_32_ = 8364; - } else if (string_39_.equals("copy")) { - i_37_ += method1184((byte) -48, 169); - if (aByteArrayArray1979 != null && i_32_ != -1) i_37_ += (aByteArrayArray1979[i_32_][169]); - i_32_ = 169; - } else if (string_39_.equals("reg")) { - i_37_ += method1184((byte) -48, 174); - if (aByteArrayArray1979 != null && i_32_ != -1) i_37_ += (aByteArrayArray1979[i_32_][174]); - i_32_ = 174; - } else if (string_39_.startsWith("img=") && class105s != null) { - try { - int i_40_ = (Class348_Sub41.method3156(true, (string_39_.substring(4)))); - i_32_ = -1; - i_37_ += class105s[i_40_].method966(); - } catch (Exception exception) { - /* empty */ - } - } - i_36_ = -1; - } - if (i_37_ > 0) { - i_26_ += i_37_; - if (is != null) { - if (i_36_ == 32) { - i_30_ = 1; - i_29_ = i_26_; - i_28_ = i_35_; - } - if (i_26_ > is[is.length > i_33_ ? i_33_ : is.length + -1]) { - if (i_28_ >= 0) { - strings[i_33_] = string.substring(i_27_, -i_30_ + 1 + i_28_); - if (strings.length <= ++i_33_) return 0; - i_27_ = 1 + i_28_; - i_32_ = -1; - i_28_ = -1; - i_26_ -= i_29_; - } else { - strings[i_33_] = string.substring(i_27_, i_38_); - i_33_++; - if (i_33_ >= strings.length) return 0; - i_27_ = i_38_; - i_32_ = -1; - i_28_ = -1; - i_26_ = i_37_; - } - } - if (i_36_ == 45) { - i_29_ = i_26_; - i_28_ = i_35_; - i_30_ = 0; - } - } - } - } - } - if (i_27_ < string.length()) { - strings[i_33_] = string.substring(i_27_); - i_33_++; - } - return i_33_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("oea.J(" + (string != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ',' + (strings != null ? "{...}" : "null") + ',' + i + ',' + (class105s != null ? "{...}" : "null") + ')')); - } - } - - static final void method1189(int i, int i_41_) { - anInt1991++; - if (i != -1) aClass351_1987 = null; - Class348_Sub15 class348_sub15 = ((Class348_Sub15) Class27.aClass356_389.method3480(i_41_, -6008)); - if (class348_sub15 != null) { - class348_sub15.aBoolean6781 = !class348_sub15.aBoolean6781; - class348_sub15.aClass55_Sub1_6768.method514((byte) 116, class348_sub15.aBoolean6781); - } - } - - final int method1190(Class105[] class105s, int i, String string, int i_42_) { - try { - anInt1983++; - if (i != 1) this.anInt1992 = -13; - return method1188(string, new int[]{i_42_}, Class186.aStringArray2494, (byte) 87, class105s); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("oea.B(" + (class105s != null ? "{...}" : "null") + ',' + i + ',' + (string != null ? "{...}" : "null") + ',' + i_42_ + ')')); - } - } - - Class143(byte[] is) { - Class348_Sub49 class348_sub49 = new Class348_Sub49(is); - int i = class348_sub49.readUnsignedByte(255); - if (i != 0) throw new RuntimeException(""); - boolean bool = class348_sub49.readUnsignedByte(255) == 1; - aByteArray1986 = new byte[256]; - class348_sub49.method3389(2147483647, 0, 256, aByteArray1986); - if (bool) { - int[] is_43_ = new int[256]; - int[] is_44_ = new int[256]; - for (int i_45_ = 0; i_45_ < 256; i_45_++) - is_43_[i_45_] = class348_sub49.readUnsignedByte(255); - for (int i_46_ = 0; i_46_ < 256; i_46_++) - is_44_[i_46_] = class348_sub49.readUnsignedByte(255); - byte[][] is_47_ = new byte[256][]; - for (int i_48_ = 0; i_48_ < 256; i_48_++) { - is_47_[i_48_] = new byte[is_43_[i_48_]]; - byte i_49_ = 0; - for (int i_50_ = 0; (is_47_[i_48_].length > i_50_); i_50_++) { - i_49_ += class348_sub49.readByte(-83); - is_47_[i_48_][i_50_] = i_49_; - } - } - byte[][] is_51_ = new byte[256][]; - for (int i_52_ = 0; i_52_ < 256; i_52_++) { - is_51_[i_52_] = new byte[is_43_[i_52_]]; - byte i_53_ = 0; - for (int i_54_ = 0; (is_51_[i_52_].length > i_54_); i_54_++) { - i_53_ += class348_sub49.readByte(-115); - is_51_[i_52_][i_54_] = i_53_; - } - } - aByteArrayArray1979 = new byte[256][256]; - for (int i_55_ = 0; i_55_ < 256; i_55_++) { - if (i_55_ != 32 && i_55_ != 160) { - for (int i_56_ = 0; i_56_ < 256; i_56_++) { - if (i_56_ != 32 && i_56_ != 160) aByteArrayArray1979[i_55_][i_56_] = (byte) (Class239_Sub8.method1756(aByteArray1986, -34, i_56_, i_55_, is_47_, is_51_, is_44_, is_43_)); - } - } - } - this.anInt1992 = is_44_[32] - -is_43_[32]; - } else this.anInt1992 = class348_sub49.readUnsignedByte(255); - class348_sub49.readUnsignedByte(255); - class348_sub49.readUnsignedByte(255); - this.anInt1988 = class348_sub49.readUnsignedByte(255); - this.anInt1993 = class348_sub49.readUnsignedByte(255); - } -} diff --git a/client/src/Class144.java b/client/src/Class144.java deleted file mode 100644 index dfe109e3b..000000000 --- a/client/src/Class144.java +++ /dev/null @@ -1,13 +0,0 @@ -/* Class144 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -public class Class144 { - int anInt1994; - Class144 aClass144_1995; - Object anObject1996; - public volatile int anInt1997 = 0; - public volatile Object anObject1998; - int anInt1999; - public int anInt2000; -} diff --git a/client/src/Class145.java b/client/src/Class145.java deleted file mode 100644 index 6e6db7182..000000000 --- a/client/src/Class145.java +++ /dev/null @@ -1,21 +0,0 @@ -/* Class145 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class145 { - int[] anIntArray2001; - short[] aShortArray2002; - short aShort2003; - byte aByte2004; - short[] aShortArray2005; - short[] aShortArray2006; - short[] aShortArray2007; - short[] aShortArray2008; - short[] aShortArray2009; - short aShort2010; - int[] anIntArray2011; - - public Class145() { - /* empty */ - } -} diff --git a/client/src/Class146.java b/client/src/Class146.java deleted file mode 100644 index 046aa2288..000000000 --- a/client/src/Class146.java +++ /dev/null @@ -1,52 +0,0 @@ -/* Class146 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class146 { - static int anInt2012; - static long[] aLongArray2013 = new long[10]; - static int anInt2014; - static Class45 aClass45_2015; - int anInt2016; - static int anInt2017; - static int anInt2018; - int anInt2019; - int anInt2020; - - final void method1191(int i, Class348_Sub49 class348_sub49) { - if (i == 2048) { - anInt2018++; - for (; ; ) { - int i_0_ = class348_sub49.readUnsignedByte(255); - if (i_0_ == 0) break; - method1192(i_0_, class348_sub49, (byte) 17); - } - } - } - - private final void method1192(int i, Class348_Sub49 class348_sub49, byte i_1_) { - anInt2014++; - if (i_1_ != 17) method1194(-80); - if (i == 1) { - this.anInt2019 = class348_sub49.readUnsignedShort(842397944); - this.anInt2016 = class348_sub49.readUnsignedByte(255); - this.anInt2020 = class348_sub49.readUnsignedByte(i_1_ ^ 0xee); - } - } - - static final boolean method1193(int i, int i_2_, boolean bool) { - if (bool != true) return true; - anInt2017++; - return (i_2_ & 0x800) != 0; - } - - public static void method1194(int i) { - if (i != 10) method1193(91, -68, true); - aLongArray2013 = null; - aClass45_2015 = null; - } - - public Class146() { - /* empty */ - } -} diff --git a/client/src/Class147.java b/client/src/Class147.java deleted file mode 100644 index 902aa16b6..000000000 --- a/client/src/Class147.java +++ /dev/null @@ -1,64 +0,0 @@ -/* Class147 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class147 { - static int anInt2021 = 0; - String aString2022; - static int anInt2023; - String aString2024; - String aString2025; - int anInt2026; - int anInt2027; - String aString2028; - static Class357[][][] aClass357ArrayArrayArray2029; - int anInt2030; - int anInt2031; - int anInt2032; - String aString2033; - static Class338[] aClass338Array2034; - static int anInt2035 = 0; - static int anInt2036; - - public static void method1195(byte i) { - if (i < 73) method1195((byte) 61); - aClass357ArrayArrayArray2029 = null; - aClass338Array2034 = null; - } - - Class147(int i, int i_0_, String string, String string_1_, String string_2_, String string_3_, int i_4_, String string_5_) { - try { - this.anInt2031 = Class318_Sub1_Sub3.method2408((byte) 53); - this.aString2028 = string_5_; - this.anInt2032 = i; - this.aString2033 = string_1_; - this.aString2025 = string_2_; - this.aString2022 = string_3_; - this.anInt2030 = Class367_Sub11.anInt7396; - this.aString2024 = string; - this.anInt2027 = i_0_; - this.anInt2026 = i_4_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("og.(" + i + ',' + i_0_ + ',' + (string != null ? "{...}" : "null") + ',' + (string_1_ != null ? "{...}" : "null") + ',' + (string_2_ != null ? "{...}" : "null") + ',' + (string_3_ != null ? "{...}" : "null") + ',' + i_4_ + ',' + (string_5_ != null ? "{...}" : "null") + ')')); - } - } - - final void method1196(int i, int i_6_, String string, String string_7_, String string_8_, int i_9_, int i_10_, String string_11_, String string_12_) { - try { - this.anInt2031 = Class318_Sub1_Sub3.method2408((byte) -91); - anInt2036++; - this.aString2033 = string_7_; - this.aString2024 = string_11_; - this.anInt2030 = Class367_Sub11.anInt7396; - this.aString2025 = string; - this.anInt2032 = i; - this.aString2022 = string_8_; - this.aString2028 = string_12_; - this.anInt2027 = i_6_; - if (i_9_ != -18691) this.anInt2027 = -83; - this.anInt2026 = i_10_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("og.A(" + i + ',' + i_6_ + ',' + (string != null ? "{...}" : "null") + ',' + (string_7_ != null ? "{...}" : "null") + ',' + (string_8_ != null ? "{...}" : "null") + ',' + i_9_ + ',' + i_10_ + ',' + (string_11_ != null ? "{...}" : "null") + ',' + (string_12_ != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class148.java b/client/src/Class148.java deleted file mode 100644 index 85248256f..000000000 --- a/client/src/Class148.java +++ /dev/null @@ -1,37 +0,0 @@ -/* Class148 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class148 { - static int anInt2037; - Class148 aClass148_2038; - static int[] anIntArray2039 = {1, 0, -1, 0}; - Class318_Sub1_Sub3 aClass318_Sub1_Sub3_2040; - static int anInt2041; - static Class196 aClass196_2042 = new Class196(); - static int anInt2043; - - static final boolean method1197(int i, int i_0_) { - if (i != -12081) return true; - anInt2041++; - if (i_0_ == 21 || i_0_ == 10 || i_0_ == 47 || i_0_ == 22 || i_0_ == 5) return true; - return i_0_ == 49 || i_0_ == 1010; - } - - public static void method1198(int i) { - if (i == 1010) { - anIntArray2039 = null; - aClass196_2042 = null; - } - } - - final void method1199(byte i) { - anInt2043++; - if (i == -106 && ha_Sub2.anInt7722 < 500) { - this.aClass318_Sub1_Sub3_2040 = null; - this.aClass148_2038 = Class16.aClass148_231; - Class16.aClass148_231 = this; - ha_Sub2.anInt7722++; - } - } -} diff --git a/client/src/Class149.java b/client/src/Class149.java deleted file mode 100644 index 57cd9f8fb..000000000 --- a/client/src/Class149.java +++ /dev/null @@ -1,23 +0,0 @@ -/* Class149 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class149 { - static int anInt2044; - static Class223 aClass223_2045 = new Class223(8, 1); - static int anInt2046; - - public static void method1200(boolean bool) { - aClass223_2045 = null; - if (bool != false) anInt2046 = 37; - } - - static final int method1201(int i, int i_0_, int i_1_, int i_2_) { - i_2_ &= 0x3; - anInt2044++; - if (i_2_ == 0) return i_0_; - if ((~i_2_) == i_1_) return i; - if (i_2_ == 2) return -i_0_ + 4095; - return -i + 4095; - } -} diff --git a/client/src/Class14_Sub1.java b/client/src/Class14_Sub1.java deleted file mode 100644 index 8370a1ad0..000000000 --- a/client/src/Class14_Sub1.java +++ /dev/null @@ -1,278 +0,0 @@ -/* Class14_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -final class Class14_Sub1 extends Class14 implements Interface18_Impl3 { - private int anInt8604; - static String aString8605 = null; - static int anInt8606; - static int anInt8607; - static int anInt8608; - static int anInt8609; - static int anInt8610; - static int anInt8611; - private int anInt8612; - static int anInt8613; - static int anInt8614; - static int anInt8615; - static int anInt8616; - static int anInt8617; - static int anInt8618; - - public final float method71(byte i, float f) { - anInt8606++; - if (i >= -24) method242(false); - return f / (float) anInt8604; - } - - Class14_Sub1(Class377 class377, int i, int i_0_, boolean bool, int[] is, int i_1_, int i_2_) { - super(class377, 3553, Class108.aClass304_1662, Class68.aClass68_1183, i * i_0_, bool); - try { - anInt8612 = i; - anInt8604 = i_0_; - this.aClass377_5082.method3850((byte) 79, this); - if (bool && i_2_ == 0 && i_1_ == 0) this.method233(i, i_0_, is, this.anInt5093, 255); - else { - OpenGL.glPixelStorei(3314, i_2_); - OpenGL.glTexImage2Di(this.anInt5093, 0, 6408, anInt8612, anInt8604, 0, 32993, this.aClass377_5082.anInt9918, is, 4 * i_1_); - OpenGL.glPixelStorei(3314, 0); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bm.(" + (class377 != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + bool + ',' + (is != null ? "{...}" : "null") + ',' + i_1_ + ',' + i_2_ + ')')); - } - } - - static final void method239(byte i, int i_3_, int i_4_, Class46 class46) { - anInt8610++; - if (class46.aByte817 != 0) { - if (class46.aByte817 == 1) class46.anInt800 = ((-class46.anInt709 + i_3_) / 2 + class46.anInt788); - else if (class46.aByte817 != 2) { - if (class46.aByte817 != 3) { - if (class46.aByte817 != 4) class46.anInt800 = (-class46.anInt709 + i_3_ + -(i_3_ * class46.anInt788 >> 14)); - else class46.anInt800 = ((-class46.anInt709 + i_3_) / 2 - -(i_3_ * class46.anInt788 >> 14)); - } else class46.anInt800 = i_3_ * class46.anInt788 >> 14; - } else class46.anInt800 = (-class46.anInt788 + (-class46.anInt709 + i_3_)); - } else class46.anInt800 = class46.anInt788; - int i_5_ = 83 % ((i - 50) / 50); - if (class46.aByte681 != 0) { - if (class46.aByte681 == 1) class46.anInt750 = ((i_4_ + -class46.anInt789) / 2 - -class46.anInt739); - else if (class46.aByte681 == 2) class46.anInt750 = (i_4_ - class46.anInt789 - class46.anInt739); - else if (class46.aByte681 != 3) { - if (class46.aByte681 != 4) class46.anInt750 = (-(i_4_ * class46.anInt739 >> 14) + (i_4_ + -class46.anInt789)); - else class46.anInt750 = ((i_4_ * class46.anInt739 >> 14) + (-class46.anInt789 + i_4_) / 2); - } else class46.anInt750 = class46.anInt739 * i_4_ >> 14; - } else class46.anInt750 = class46.anInt739; - if (Class299_Sub2.aBoolean6327 && (client.method105(class46).anInt7098 != 0 || class46.anInt774 == 0)) { - if (class46.anInt750 < 0) class46.anInt750 = 0; - else if (i_4_ < (class46.anInt789 + class46.anInt750)) class46.anInt750 = i_4_ - class46.anInt789; - if (class46.anInt800 >= 0) { - if (i_3_ < (class46.anInt800 - -class46.anInt709)) class46.anInt800 = i_3_ + -class46.anInt709; - } else class46.anInt800 = 0; - } - } - - Class14_Sub1(Class377 class377, Class304 class304, int i, int i_6_, boolean bool, byte[] is, int i_7_, int i_8_) { - super(class377, 3553, class304, Class68.aClass68_1183, i_6_ * i, bool); - try { - anInt8612 = i; - anInt8604 = i_6_; - this.aClass377_5082.method3850((byte) -102, this); - OpenGL.glPixelStorei(3317, 1); - if (!bool || i_8_ != 0 || i_7_ != 0) { - OpenGL.glPixelStorei(3314, i_8_); - OpenGL.glTexImage2Dub(this.anInt5093, 0, this.method228(109), i, i_6_, 0, (Class348_Sub40_Sub3.method3055(121, this.aClass304_5084)), 5121, is, i_7_); - OpenGL.glPixelStorei(3314, 0); - } else this.method230(7365, i, is, i_6_, this.anInt5093); - OpenGL.glPixelStorei(3317, 4); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bm.(" + (class377 != null ? "{...}" : "null") + ',' + (class304 != null ? "{...}" : "null") + ',' + i + ',' + i_6_ + ',' + bool + ',' + (is != null ? "{...}" : "null") + ',' + i_7_ + ',' + i_8_ + ')')); - } - } - - public final float method67(float f, int i) { - anInt8611++; - if (i <= 69) method72(84); - return f / (float) anInt8612; - } - - final void method240(int i, byte i_9_, float[] fs, Class304 class304, int i_10_, int i_11_, int i_12_, int i_13_, int i_14_) { - try { - int i_15_ = 108 / ((-45 - i_9_) / 49); - anInt8614++; - this.aClass377_5082.method3850((byte) -106, this); - OpenGL.glPixelStorei(3314, i); - OpenGL.glTexSubImage2Df(this.anInt5093, 0, i_12_, i_10_, i_13_, i_14_, Class348_Sub40_Sub3.method3055(106, class304), 5121, fs, i_11_); - OpenGL.glPixelStorei(3314, 0); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bm.CA(" + i + ',' + i_9_ + ',' + (fs != null ? "{...}" : "null") + ',' + (class304 != null ? "{...}" : "null") + ',' + i_10_ + ',' + i_11_ + ',' + i_12_ + ',' + i_13_ + ',' + i_14_ + ')')); - } - } - - static final void method241(byte i) { - anInt8617++; - int i_16_ = Class348_Sub35.anInt6981 * 512 + 256; - int i_17_ = 512 * Class275.anInt3550 + 256; - int i_18_ = (Class275.method2064(i_16_, Class355.anInt4372, 11219, i_17_) + -Class348_Sub42_Sub4.anInt9515); - if (Class258_Sub2.anInt8537 >= 100) { - Class59_Sub2_Sub2.anInt8685 = 256 + 512 * Class275.anInt3550; - Class286_Sub4.anInt6246 = Class348_Sub35.anInt6981 * 512 + 256; - Class305.anInt3855 = (Class275.method2064(Class286_Sub4.anInt6246, Class355.anInt4372, 11219, Class59_Sub2_Sub2.anInt8685) + -Class348_Sub42_Sub4.anInt9515); - } else { - if (Class286_Sub4.anInt6246 < i_16_) { - Class286_Sub4.anInt6246 += (Class348_Sub40_Sub31.anInt9406 + (Class258_Sub2.anInt8537 * (i_16_ + -Class286_Sub4.anInt6246) / 1000)); - if (i_16_ < Class286_Sub4.anInt6246) Class286_Sub4.anInt6246 = i_16_; - } - if (Class286_Sub4.anInt6246 > i_16_) { - Class286_Sub4.anInt6246 -= (Class348_Sub40_Sub31.anInt9406 - -(Class258_Sub2.anInt8537 * (-i_16_ + Class286_Sub4.anInt6246) / 1000)); - if (Class286_Sub4.anInt6246 < i_16_) Class286_Sub4.anInt6246 = i_16_; - } - if (Class305.anInt3855 < i_18_) { - Class305.anInt3855 += ((-Class305.anInt3855 + i_18_) * Class258_Sub2.anInt8537 / 1000) + Class348_Sub40_Sub31.anInt9406; - if (i_18_ < Class305.anInt3855) Class305.anInt3855 = i_18_; - } - if (Class59_Sub2_Sub2.anInt8685 < i_17_) { - Class59_Sub2_Sub2.anInt8685 += (Class348_Sub40_Sub31.anInt9406 - -((i_17_ + -Class59_Sub2_Sub2.anInt8685) * Class258_Sub2.anInt8537 / 1000)); - if (Class59_Sub2_Sub2.anInt8685 > i_17_) Class59_Sub2_Sub2.anInt8685 = i_17_; - } - if (i_18_ < Class305.anInt3855) { - Class305.anInt3855 -= ((Class305.anInt3855 - i_18_) * Class258_Sub2.anInt8537 / 1000) + Class348_Sub40_Sub31.anInt9406; - if (i_18_ > Class305.anInt3855) Class305.anInt3855 = i_18_; - } - if (Class59_Sub2_Sub2.anInt8685 > i_17_) { - Class59_Sub2_Sub2.anInt8685 -= (Class348_Sub40_Sub31.anInt9406 + ((Class59_Sub2_Sub2.anInt8685 - i_17_) * Class258_Sub2.anInt8537 / 1000)); - if (i_17_ > Class59_Sub2_Sub2.anInt8685) Class59_Sub2_Sub2.anInt8685 = i_17_; - } - } - i_17_ = 256 + Class281.anInt3647 * 512; - i_16_ = 256 + 512 * Class352.anInt4336; - i_18_ = (Class275.method2064(i_16_, Class355.anInt4372, 11219, i_17_) - Class121.anInt1797); - int i_19_ = -Class286_Sub4.anInt6246 + i_16_; - int i_20_ = -Class305.anInt3855 + i_18_; - int i_21_ = -Class59_Sub2_Sub2.anInt8685 + i_17_; - int i_22_ = (int) Math.sqrt(i_19_ * i_19_ - -(i_21_ * i_21_)); - int i_23_ = ((int) (Math.atan2(i_20_, i_22_) * 2607.5945876176133) & 0x3fff); - if (i < 126) aString8605 = null; - if (i_23_ < 1024) i_23_ = 1024; - int i_24_ = 0x3fff & (int) (-2607.5945876176133 * Math.atan2(i_19_, i_21_)); - if (i_23_ > 3072) i_23_ = 3072; - if (i_23_ > Class348_Sub42_Sub19.anInt9701) { - Class348_Sub42_Sub19.anInt9701 += (Class239_Sub12.anInt5973 * (i_23_ - Class348_Sub42_Sub19.anInt9701 >> 3) / 1000) + Class367_Sub11.anInt7403 << 3; - if (i_23_ < Class348_Sub42_Sub19.anInt9701) Class348_Sub42_Sub19.anInt9701 = i_23_; - } - if (Class348_Sub42_Sub19.anInt9701 > i_23_) { - Class348_Sub42_Sub19.anInt9701 -= (((-i_23_ + Class348_Sub42_Sub19.anInt9701 >> 3) * Class239_Sub12.anInt5973 / 1000) + Class367_Sub11.anInt7403) << 3; - if (Class348_Sub42_Sub19.anInt9701 < i_23_) Class348_Sub42_Sub19.anInt9701 = i_23_; - } - int i_25_ = -Class5.anInt4638 + i_24_; - if (i_25_ > 8192) i_25_ -= 16384; - if (i_25_ < -8192) i_25_ += 16384; - i_25_ >>= 3; - if (i_25_ > 0) { - Class5.anInt4638 += (Class367_Sub11.anInt7403 + Class239_Sub12.anInt5973 * i_25_ / 1000) << 3; - Class5.anInt4638 &= 0x3fff; - } - if (i_25_ < 0) { - Class5.anInt4638 -= Class367_Sub11.anInt7403 - -(-i_25_ * Class239_Sub12.anInt5973 / 1000) << 3; - Class5.anInt4638 &= 0x3fff; - } - int i_26_ = i_24_ - Class5.anInt4638; - if (i_26_ > 8192) i_26_ -= 16384; - if (i_26_ < -8192) i_26_ += 16384; - Class338.anInt4186 = 0; - if (i_26_ < 0 && i_25_ > 0 || i_26_ > 0 && i_25_ < 0) Class5.anInt4638 = i_24_; - } - - public final void method70(int i, int i_27_, byte i_28_, int i_29_, int i_30_, int i_31_, int i_32_, byte[] is, Class304 class304) { - try { - anInt8608++; - this.aClass377_5082.method3850((byte) -24, this); - OpenGL.glPixelStorei(3317, 1); - OpenGL.glPixelStorei(3314, i_29_); - OpenGL.glTexSubImage2Dub(this.anInt5093, 0, i_32_, i, i_31_, i_30_, Class348_Sub40_Sub3.method3055(103, class304), 5121, is, i_27_); - if (i_28_ >= -4) anInt8612 = 33; - OpenGL.glPixelStorei(3314, 0); - OpenGL.glPixelStorei(3317, 4); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bm.T(" + i + ',' + i_27_ + ',' + i_28_ + ',' + i_29_ + ',' + i_30_ + ',' + i_31_ + ',' + i_32_ + ',' + (is != null ? "{...}" : "null") + ',' + (class304 != null ? "{...}" : "null") + ')')); - } - } - - public final void method65(int i, int[] is, int i_33_, int i_34_, int i_35_, byte i_36_, int i_37_) { - anInt8613++; - int[] is_38_ = new int[anInt8612 * anInt8604]; - this.aClass377_5082.method3850((byte) -32, this); - OpenGL.glGetTexImagei(this.anInt5093, 0, 32993, 5121, is_38_, 0); - if (i_36_ == 112) { - for (int i_39_ = 0; i_35_ > i_39_; i_39_++) - Class214.method1578(is_38_, ((-i_39_ + i_35_ + (-1 + i_34_)) * anInt8612), is, i_33_ * i_39_ + i_37_, i_33_); - } - } - - public final int method69(boolean bool) { - anInt8607++; - if (bool != false) return -121; - return anInt8612; - } - - public final int method72(int i) { - anInt8609++; - int i_40_ = -48 / ((55 - i) / 63); - return anInt8604; - } - - public final boolean method73(int i) { - anInt8618++; - return i >= 84; - } - - public static void method242(boolean bool) { - if (bool == true) aString8605 = null; - } - - public final void method68(int i, int i_41_, int[] is, int i_42_, int i_43_, int i_44_, int i_45_, int i_46_) { - this.aClass377_5082.method3850((byte) -116, this); - if (i_41_ != 22809) aString8605 = null; - anInt8616++; - OpenGL.glPixelStorei(3314, i); - OpenGL.glTexSubImage2Di(this.anInt5093, 0, i_42_, i_45_, i_44_, i_46_, 32993, (this.aClass377_5082.anInt9918), is, i_43_); - OpenGL.glPixelStorei(3314, 0); - } - - Class14_Sub1(Class377 class377, Class304 class304, Class68 class68, int i, int i_47_) { - super(class377, 3553, class304, class68, i_47_ * i, false); - try { - anInt8612 = i; - anInt8604 = i_47_; - this.aClass377_5082.method3850((byte) 110, this); - OpenGL.glTexImage2Dub(this.anInt5093, 0, this.method228(113), i, i_47_, 0, Class348_Sub40_Sub3.method3055(113, this.aClass304_5084), Class130.method1128(-112, this.aClass68_5088), null, 0); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bm.(" + (class377 != null ? "{...}" : "null") + ',' + (class304 != null ? "{...}" : "null") + ',' + (class68 != null ? "{...}" : "null") + ',' + i + ',' + i_47_ + ')')); - } - } - - public final void method66(boolean bool, boolean bool_48_, int i) { - this.aClass377_5082.method3850((byte) -29, this); - anInt8615++; - OpenGL.glTexParameteri(this.anInt5093, 10242, !bool ? 33071 : 10497); - OpenGL.glTexParameteri(this.anInt5093, 10243, !bool_48_ ? 33071 : 10497); - if (i != 25688) anInt8604 = -90; - } - - Class14_Sub1(Class377 class377, Class304 class304, int i, int i_49_, boolean bool, float[] fs, int i_50_, int i_51_) { - super(class377, 3553, class304, Class68.aClass68_1187, i * i_49_, bool); - try { - anInt8612 = i; - anInt8604 = i_49_; - this.aClass377_5082.method3850((byte) -67, this); - if (bool || i_51_ != 0 || i_50_ != 0) { - OpenGL.glPixelStorei(3314, i_51_); - OpenGL.glTexImage2Df(this.anInt5093, 0, this.method228(111), i, i_49_, 0, (Class348_Sub40_Sub3.method3055(106, this.aClass304_5084)), 5126, fs, 4 * i_50_); - OpenGL.glPixelStorei(3314, 0); - } else this.method238(this.anInt5093, 1, i, fs, i_49_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bm.(" + (class377 != null ? "{...}" : "null") + ',' + (class304 != null ? "{...}" : "null") + ',' + i + ',' + i_49_ + ',' + bool + ',' + (fs != null ? "{...}" : "null") + ',' + i_50_ + ',' + i_51_ + ')')); - } - } -} diff --git a/client/src/Class14_Sub2.java b/client/src/Class14_Sub2.java deleted file mode 100644 index 32278fc46..000000000 --- a/client/src/Class14_Sub2.java +++ /dev/null @@ -1,78 +0,0 @@ -/* Class14_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -final class Class14_Sub2 extends Class14 implements Interface18_Impl2 { - static int anInt8619; - static int anInt8620; - static double aDouble8621; - static int anInt8622; - /*synthetic*/ static Class aClass8623; - - Class14_Sub2(Class377 class377, int i, boolean bool, int[][] is) { - super(class377, 34067, Class108.aClass304_1662, Class68.aClass68_1183, 6 * (i * i), bool); - try { - this.aClass377_5082.method3850((byte) -109, this); - if (bool) { - for (int i_1_ = 0; i_1_ < 6; i_1_++) - this.method233(i, i, is[i_1_], i_1_ + 34069, 255); - } else { - for (int i_0_ = 0; i_0_ < 6; i_0_++) - OpenGL.glTexImage2Di(34069 + i_0_, 0, this.method228(121), i, i, 0, Class348_Sub40_Sub3.method3055(110, this.aClass304_5084), (this.aClass377_5082.anInt9918), is[i_0_], 0); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("le.(" + (class377 != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (is != null ? "{...}" : "null") + ')')); - } - } - - static final void method243(int i) { - anInt8620++; - Class234 class234 = null; - try { - Class144 class144 = Class348_Sub23_Sub1.aClass297_8992.method2233((byte) -46, "", true); - while (class144.anInt1997 == 0) Class286_Sub5.method2161((byte) -122, 1L); - if (class144.anInt1997 == 1) { - class234 = (Class234) class144.anObject1998; - Class348_Sub49 class348_sub49 = Class316.aClass348_Sub51_3959.method3427(24); - class234.method1658((byte) 114, 0, (class348_sub49.anInt7197), (class348_sub49.aByteArray7154)); - } - } catch (Exception exception) { - /* empty */ - } - do { - try { - if (i != 37) aDouble8621 = -0.46512114956219314; - if (class234 == null) break; - class234.method1657(false); - } catch (Exception exception) { - break; - } - break; - } while (false); - } - - static final int method244(int i) { - anInt8622++; - if ((double) Class75.aFloat1249 == 3.0) return 37; - if (i != 37) return 11; - if ((double) Class75.aFloat1249 == 4.0) return 50; - if ((double) Class75.aFloat1249 == 6.0) return 75; - if ((double) Class75.aFloat1249 == 8.0) return 100; - return 200; - } - - static final boolean method245(int i, int i_2_, int i_3_, byte i_4_) { - if (i_4_ < 38) return false; - anInt8619++; - Interface10 interface10 = (Interface10) r_Sub2.method3297(i, i_2_, i_3_); - boolean bool = true; - if (interface10 != null) bool &= Class55.method520(interface10, -1); - interface10 = ((Interface10) Class177.method1353(i, i_2_, i_3_, (aClass8623 != null ? aClass8623 : (aClass8623 = Interface10.class)))); - if (interface10 != null) bool &= Class55.method520(interface10, -1); - interface10 = (Interface10) Class348_Sub16_Sub3.method2878(i, i_2_, i_3_); - if (interface10 != null) bool &= Class55.method520(interface10, -1); - return bool; - } -} diff --git a/client/src/Class14_Sub3.java b/client/src/Class14_Sub3.java deleted file mode 100644 index 50dca2b9d..000000000 --- a/client/src/Class14_Sub3.java +++ /dev/null @@ -1,79 +0,0 @@ -/* Class14_Sub3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -import java.io.IOException; - -final class Class14_Sub3 extends Class14 implements Interface18_Impl1 { - static int anInt8624; - static int anInt8625; - private final int anInt8626; - static int anInt8627; - static int anInt8628; - private final int anInt8629; - static int anInt8630; - private final int anInt8631; - static int anInt8632; - - Class14_Sub3(Class377 class377, Class304 class304, int i, int i_0_, int i_1_, byte[] is) { - super(class377, 32879, class304, Class68.aClass68_1183, i_0_ * (i * i_1_), false); - try { - anInt8626 = i_1_; - anInt8631 = i; - anInt8629 = i_0_; - this.aClass377_5082.method3850((byte) 86, this); - OpenGL.glPixelStorei(3317, 1); - OpenGL.glTexImage3Dub(this.anInt5093, 0, this.method228(105), anInt8631, anInt8629, anInt8626, 0, Class348_Sub40_Sub3.method3055(109, this.aClass304_5084), 5121, is, 0); - OpenGL.glPixelStorei(3317, 4); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qba.(" + (class377 != null ? "{...}" : "null") + ',' + (class304 != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + i_1_ + ',' + (is != null ? "{...}" : "null") + ')')); - } - } - - static final Class348_Sub51 method247(int i) { - anInt8632++; - Class234 class234 = null; - Class348_Sub51 class348_sub51 = new Class348_Sub51(Class348_Sub42_Sub8_Sub2.aClass230_10434, 0); - try { - Class144 class144 = Class348_Sub23_Sub1.aClass297_8992.method2233((byte) -46, "", true); - while (class144.anInt1997 == 0) Class286_Sub5.method2161((byte) -85, 1L); - if (class144.anInt1997 == 1) { - class234 = (Class234) class144.anObject1998; - byte[] is = new byte[(int) class234.method1662((byte) -46)]; - int i_2_; - for (int i_3_ = 0; is.length > i_3_; i_3_ += i_2_) { - i_2_ = class234.method1656(is, i_3_, (byte) -49, -i_3_ + is.length); - if (i_2_ == -1) throw new IOException("EOF"); - } - class348_sub51 = new Class348_Sub51(new Class348_Sub49(is), (Class348_Sub42_Sub8_Sub2.aClass230_10434), 0); - } - } catch (Exception exception) { - /* empty */ - } - if (i != 24916) return null; - try { - if (class234 != null) class234.method1657(false); - } catch (Exception exception) { - /* empty */ - } - return class348_sub51; - } - - static final Class114[] method248(int i) { - anInt8624++; - if (i != -11271) method249(39); - return (new Class114[]{Class166.aClass114_2183, Class295.aClass114_3751, Class318_Sub1_Sub5_Sub2.aClass114_10168, Class356.aClass114_4388, Class17.aClass114_250, Class330.aClass114_4126, Class254.aClass114_3264, Class239.aClass114_3143, Class111.aClass114_1722, Class348_Sub42_Sub3.aClass114_9503, Class127_Sub1.aClass114_8385, Class318_Sub1.aClass114_6383, Class202.aClass114_2665, Class359.aClass114_4421, Class346_Sub1.aClass114_6528, Class19.aClass114_315, Class367_Sub11.aClass114_7398, Class239_Sub14.aClass114_5992, Class127_Sub1.aClass114_8384, Class20.aClass114_318, Class133.aClass114_1917, Class367_Sub3.aClass114_7301, Class361.aClass114_4433, Class318_Sub1_Sub5_Sub2.aClass114_10149, Class110.aClass114_1702, Class168.aClass114_2248, Class239_Sub20.aClass114_6056, Class312.aClass114_3925, Class348_Sub40_Sub16.aClass114_9225, Class292.aClass114_4798, Class5_Sub2.aClass114_8365, Class352.aClass114_4331, Class239_Sub26.aClass114_6121, Class348_Sub38.aClass114_7015, Class239_Sub4.aClass114_5883, Class59.aClass114_1068, Class348_Sub45.aClass114_7106, Class367_Sub9.aClass114_7367, Class131.aClass114_1901, Class135_Sub1.aClass114_4707, Class13.aClass114_220, Class239_Sub24.aClass114_6089, IOException_Sub1.aClass114_90, Class252.aClass114_3240, Class298.aClass114_3809, Class271.aClass114_3467, Class239_Sub21.aClass114_6058, Class185.aClass114_2483, Class255.aClass114_3265, Class228.aClass114_2972, Class116.aClass114_1762, Class15.aClass114_229, Class128.aClass114_1871, Class63.aClass114_1120, Class74.aClass114_1234, Class296.aClass114_3773, Class260.aClass114_3307, Class174.aClass114_2305, Class369_Sub2.aClass114_8590, Class28.aClass114_4998, Class172.aClass114_2279, Class348_Sub40_Sub12.aClass114_9197, Class348_Sub47.aClass114_7124, Class264.aClass114_3371, Class239_Sub11.aClass114_5950, Class22.aClass114_330, Class47.aClass114_843, Class345.aClass114_4272, Class151.aClass114_2068, Class239_Sub11.aClass114_5949, Class19.aClass114_304, InputStream_Sub2.aClass114_82, Class348_Sub42_Sub8.aClass114_9552, Class348_Sub40_Sub19.aClass114_9254, Class314_Sub1.aClass114_6340, InputStream_Sub1.aClass114_79, Class73.aClass114_4779, Class173.aClass114_2285, Class63.aClass114_1123, Class280.aClass114_3641, Class176.aClass114_2335, Class140.aClass114_1959, Class318_Sub6.aClass114_6424, Class348_Sub1_Sub2.aClass114_8817, Class133.aClass114_1914, Class348_Sub40_Sub24.aClass114_9324, Class348_Sub41.aClass114_7052, Class345.aClass114_4269, Class365.aClass114_4477, Class239_Sub22.aClass114_6075, Class322.aClass114_4027, Class348_Sub40_Sub15.aClass114_9216, Class178.aClass114_2338, Class267.aClass114_3427, Class205.aClass114_2693, Class20.aClass114_316, Class367_Sub4.aClass114_7324, Class348_Sub46.aClass114_7113, Class189.aClass114_2527, Class168.aClass114_2255, Class59_Sub2_Sub2.aClass114_8683, Class348_Sub45.aClass114_7105, Class348_Sub40_Sub19.aClass114_9257, Class367_Sub8.aClass114_7363, Class348_Sub40_Sub22.aClass114_9285, Class367_Sub4.aClass114_7323, Class218.aClass114_2860, Class318_Sub1_Sub3.aClass114_8756, Class239.aClass114_3135, Class348_Sub42_Sub8.aClass114_9550, Class3.aClass114_123, Class167.aClass114_2196, Class264.aClass114_3368, Class95.aClass114_1540, Class303.aClass114_3842, Class239_Sub15.aClass114_5997, Class321.aClass114_4015, Class368.aClass114_4500, Class209.aClass114_2717, Class101_Sub2.aClass114_5742, Class176.aClass114_2331}); - } - - static final void method249(int i) { - anInt8627++; - Class286_Sub1.aStringArray6200 = new String[500]; - Class348_Sub31_Sub2.anInt9077 = 2 + (Class369.aClass143_4962.anInt1993 + Class369.aClass143_4962.anInt1988); - Class68.anInt1188 = (Class246.aClass143_3179.anInt1988 - (-Class246.aClass143_3179.anInt1993 - i)); - for (int i_4_ = 0; (i_4_ < Class286_Sub1.aStringArray6200.length); i_4_++) - Class286_Sub1.aStringArray6200[i_4_] = ""; - Applet_Sub1.method94(Class274.aClass274_3483.method2063(Class348_Sub33.anInt6967, 544), 67); - } -} diff --git a/client/src/Class14_Sub4.java b/client/src/Class14_Sub4.java deleted file mode 100644 index f23aacd36..000000000 --- a/client/src/Class14_Sub4.java +++ /dev/null @@ -1,224 +0,0 @@ -/* Class14_Sub4 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -final class Class14_Sub4 extends Class14 implements Interface18_Impl3 { - static int anInt8633; - private int anInt8634; - static int anInt8635; - static int anInt8636; - static int anInt8637; - static Class230 aClass230_8638 = new Class230("stellardawn", 1); - static int anInt8639; - private int anInt8640; - static int anInt8641; - static byte[][] aByteArrayArray8642; - static int anInt8643; - static Class323 aClass323_8644; - static int anInt8645; - static int anInt8646; - static int anInt8647; - static int anInt8648; - static int anInt8649; - static int anInt8650; - static int anInt8651; - - static final String method250(int i, boolean bool, int i_0_) { - if (bool != true) method251((byte) 96); - anInt8641++; - int i_1_ = -i_0_ + i; - if (i_1_ < -9) return ""; - if (i_1_ < -6) return ""; - if (i_1_ < -3) return ""; - if (i_1_ < 0) return ""; - if (i_1_ > 9) return ""; - if (i_1_ > 6) return ""; - if (i_1_ > 3) return ""; - if (i_1_ > 0) return ""; - return ""; - } - - public final int method72(int i) { - anInt8649++; - int i_2_ = 96 % ((i - 55) / 63); - return anInt8634; - } - - public static void method251(byte i) { - if (i != 2) method250(-45, false, -102); - aClass323_8644 = null; - aClass230_8638 = null; - aByteArrayArray8642 = null; - } - - Class14_Sub4(Class377 class377, int i, int i_3_, int[] is, int i_4_, int i_5_) { - super(class377, 34037, Class108.aClass304_1662, Class68.aClass68_1183, i * i_3_, false); - try { - anInt8640 = i; - anInt8634 = i_3_; - this.aClass377_5082.method3850((byte) 76, this); - OpenGL.glPixelStorei(3314, i_5_); - OpenGL.glTexImage2Di(this.anInt5093, 0, 6408, anInt8640, anInt8634, 0, 32993, (this.aClass377_5082.anInt9918), is, i_4_ * 4); - OpenGL.glPixelStorei(3314, 0); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("tw.(" + (class377 != null ? "{...}" : "null") + ',' + i + ',' + i_3_ + ',' + (is != null ? "{...}" : "null") + ',' + i_4_ + ',' + i_5_ + ')')); - } - } - - Class14_Sub4(Class377 class377, Class304 class304, int i, int i_6_, byte[] is, int i_7_, int i_8_) { - super(class377, 34037, class304, Class68.aClass68_1183, i * i_6_, false); - try { - anInt8634 = i_6_; - anInt8640 = i; - this.aClass377_5082.method3850((byte) -127, this); - OpenGL.glPixelStorei(3317, 1); - OpenGL.glPixelStorei(3314, i_8_); - OpenGL.glTexImage2Dub(this.anInt5093, 0, this.method228(126), i, i_6_, 0, (Class348_Sub40_Sub3.method3055(111, this.aClass304_5084)), 5121, is, i_7_); - OpenGL.glPixelStorei(3314, 0); - OpenGL.glPixelStorei(3317, 4); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("tw.(" + (class377 != null ? "{...}" : "null") + ',' + (class304 != null ? "{...}" : "null") + ',' + i + ',' + i_6_ + ',' + (is != null ? "{...}" : "null") + ',' + i_7_ + ',' + i_8_ + ')')); - } - } - - public final void method66(boolean bool, boolean bool_9_, int i) { - if (i != 25688) method254(-82, (byte) -35); - anInt8639++; - } - - Class14_Sub4(Class377 class377, Class304 class304, Class68 class68, int i, int i_10_) { - super(class377, 34037, class304, class68, i_10_ * i, false); - try { - anInt8634 = i_10_; - anInt8640 = i; - this.aClass377_5082.method3850((byte) 115, this); - OpenGL.glTexImage2Dub(this.anInt5093, 0, this.method228(109), i, i_10_, 0, Class348_Sub40_Sub3.method3055(105, this.aClass304_5084), Class130.method1128(-54, this.aClass68_5088), null, 0); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("tw.(" + (class377 != null ? "{...}" : "null") + ',' + (class304 != null ? "{...}" : "null") + ',' + (class68 != null ? "{...}" : "null") + ',' + i + ',' + i_10_ + ')')); - } - } - - static final boolean method252(int i, int i_11_) { - anInt8636++; - if (i_11_ != 5126) aByteArrayArray8642 = null; - return i == 0 || i == 2; - } - - static final void method253(int i, int i_12_, int i_13_, int i_14_, int i_15_) { - anInt8648++; - if (i_13_ != -648) aClass323_8644 = null; - int i_16_ = 0; - int i_17_ = i_15_; - int i_18_ = -i_15_; - int i_19_ = -1; - Class135_Sub2.method1156(i_13_ + 621, i_12_ + i_15_, Class17.anIntArrayArray255[i], i_12_ + -i_15_, i_14_); - while (i_16_ < i_17_) { - i_19_ += 2; - i_18_ += i_19_; - i_16_++; - if (i_18_ >= 0) { - i_17_--; - i_18_ -= i_17_ << 1; - int[] is = Class17.anIntArrayArray255[i - -i_17_]; - int[] is_20_ = Class17.anIntArrayArray255[i + -i_17_]; - int i_21_ = i_16_ + i_12_; - int i_22_ = i_12_ + -i_16_; - Class135_Sub2.method1156(-27, i_21_, is, i_22_, i_14_); - Class135_Sub2.method1156(-27, i_21_, is_20_, i_22_, i_14_); - } - int i_23_ = i_17_ + i_12_; - int i_24_ = i_12_ - i_17_; - int[] is = Class17.anIntArrayArray255[i_16_ + i]; - int[] is_25_ = Class17.anIntArrayArray255[-i_16_ + i]; - Class135_Sub2.method1156(i_13_ + 621, i_23_, is, i_24_, i_14_); - Class135_Sub2.method1156(-27, i_23_, is_25_, i_24_, i_14_); - } - } - - public final void method65(int i, int[] is, int i_26_, int i_27_, int i_28_, byte i_29_, int i_30_) { - anInt8645++; - if (i_29_ != 112) anInt8634 = 49; - int[] is_31_ = new int[anInt8634 * anInt8640]; - this.aClass377_5082.method3850((byte) -34, this); - OpenGL.glGetTexImagei(this.anInt5093, 0, 32993, 5121, is_31_, 0); - for (int i_32_ = 0; i_28_ > i_32_; i_32_++) - Class214.method1578(is_31_, anInt8640 * (i_28_ + -1 + (i_27_ + -i_32_)), is, i_32_ * i_26_ + i_30_, i_26_); - } - - public final float method67(float f, int i) { - if (i <= 69) aByteArrayArray8642 = null; - anInt8646++; - return f; - } - - Class14_Sub4(Class377 class377, Class304 class304, int i, int i_33_, float[] fs, int i_34_, int i_35_) { - super(class377, 34037, class304, Class68.aClass68_1187, i_33_ * i, false); - try { - anInt8640 = i; - anInt8634 = i_33_; - this.aClass377_5082.method3850((byte) -45, this); - OpenGL.glPixelStorei(3314, i_35_); - OpenGL.glTexImage2Df(this.anInt5093, 0, this.method228(107), i, i_33_, 0, (Class348_Sub40_Sub3.method3055(126, this.aClass304_5084)), 5126, fs, i_34_ * 4); - OpenGL.glPixelStorei(3314, 0); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("tw.(" + (class377 != null ? "{...}" : "null") + ',' + (class304 != null ? "{...}" : "null") + ',' + i + ',' + i_33_ + ',' + (fs != null ? "{...}" : "null") + ',' + i_34_ + ',' + i_35_ + ')')); - } - } - - public final float method71(byte i, float f) { - if (i > -24) method67(-1.6376895F, -84); - anInt8637++; - return f; - } - - public final boolean method73(int i) { - if (i <= 84) method68(-26, 9, null, -21, 80, 34, 77, -73); - anInt8635++; - return false; - } - - public final int method69(boolean bool) { - anInt8651++; - if (bool != false) anInt8640 = -103; - return anInt8640; - } - - public final void method68(int i, int i_36_, int[] is, int i_37_, int i_38_, int i_39_, int i_40_, int i_41_) { - this.aClass377_5082.method3850((byte) 118, this); - anInt8650++; - if (i == 0) i = i_39_; - if (i_39_ != i) OpenGL.glPixelStorei(3314, i); - OpenGL.glTexSubImage2Di(this.anInt5093, 0, i_37_, i_40_, i_39_, i_41_, 32993, (this.aClass377_5082.anInt9918), is, i_38_); - if (i != i_39_) OpenGL.glPixelStorei(3314, 0); - if (i_36_ != 22809) anInt8634 = 115; - } - - public final void method70(int i, int i_42_, byte i_43_, int i_44_, int i_45_, int i_46_, int i_47_, byte[] is, Class304 class304) { - try { - this.aClass377_5082.method3850((byte) -39, this); - anInt8647++; - if (i_44_ == 0) i_44_ = i_46_; - OpenGL.glPixelStorei(3317, 1); - if (i_43_ >= -4) method250(74, false, -106); - if (i_46_ != i_44_) OpenGL.glPixelStorei(3314, i_44_); - OpenGL.glTexSubImage2Dub(this.anInt5093, 0, i_47_, i, i_46_, i_45_, Class348_Sub40_Sub3.method3055(120, class304), 5121, is, i_42_); - if (i_46_ != i_44_) OpenGL.glPixelStorei(3314, 0); - OpenGL.glPixelStorei(3317, 4); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("tw.T(" + i + ',' + i_42_ + ',' + i_43_ + ',' + i_44_ + ',' + i_45_ + ',' + i_46_ + ',' + i_47_ + ',' + (is != null ? "{...}" : "null") + ',' + (class304 != null ? "{...}" : "null") + ')')); - } - } - - static final void method254(int i, byte i_48_) { - if (i_48_ > -79) method252(127, 53); - if (Loader.skipLobby) { - Class348_Sub6.anInt6634 = i; - Class107.anInt1645 = i; - } else if (Class239_Sub12.anInt5969 != 1) { - if (Class239_Sub12.anInt5969 == 2) Class348_Sub6.anInt6634 = i; - } else Class107.anInt1645 = i; - anInt8643++; - } -} diff --git a/client/src/Class15.java b/client/src/Class15.java deleted file mode 100644 index c69367a59..000000000 --- a/client/src/Class15.java +++ /dev/null @@ -1,34 +0,0 @@ -/* Class15 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class15 { - static Class60 aClass60_225 = new Class60(4); - static int anInt226; - static int anInt227; - static int anInt228; - static Class114 aClass114_229 = new Class114(51, 17); - - public static void method255(int i) { - aClass60_225 = null; - if (i != 6725) aClass60_225 = null; - aClass114_229 = null; - } - - static final int method256(int i, byte i_0_) { - anInt228++; - if (i_0_ < 61) method257(-27, null, 'G'); - return i >>> 7; - } - - static final int method257(int i, String string, char c) { - anInt227++; - int i_1_ = 0; - if (i != 4) aClass114_229 = null; - int i_2_ = string.length(); - for (int i_3_ = 0; i_2_ > i_3_; i_3_++) { - if (c == string.charAt(i_3_)) i_1_++; - } - return i_1_; - } -} diff --git a/client/src/Class150.java b/client/src/Class150.java deleted file mode 100644 index cdb2de02e..000000000 --- a/client/src/Class150.java +++ /dev/null @@ -1,107 +0,0 @@ -/* Class150 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class150 { - static Class113 aClass113_2047; - private Class45 aClass45_2048; - static int anInt2049; - private final Class60 aClass60_2050 = new Class60(64); - static int anInt2051; - static int anInt2052; - static int anInt2053; - Class45 aClass45_2054; - static int anInt2055; - static int anInt2056; - static int anInt2057 = 0; - - static final void method1202(int i) { - anInt2052++; - int[] is = new int[Exception_Sub1.aClass255_112.anInt3271]; - int i_0_ = i; - for (int i_1_ = 0; Exception_Sub1.aClass255_112.anInt3271 > i_1_; i_1_++) { - Class213 class213 = Exception_Sub1.aClass255_112.method1940(-104, i_1_); - if (class213.anInt2815 >= 0 || class213.anInt2788 >= 0) is[i_0_++] = i_1_; - } - Class25.anIntArray369 = new int[i_0_]; - for (int i_2_ = 0; i_2_ < i_0_; i_2_++) - Class25.anIntArray369[i_2_] = is[i_2_]; - } - - final Class34 method1203(byte i, int i_3_) { - anInt2056++; - if (i != 33) aClass45_2048 = null; - Class34 class34; - synchronized (aClass60_2050) { - class34 = (Class34) aClass60_2050.method583(i_3_, -58); - } - if (class34 != null) return class34; - byte[] is; - synchronized (aClass45_2048) { - is = aClass45_2048.method410(i + -1893, 3, i_3_); - } - class34 = new Class34(); - class34.aClass150_475 = this; - if (is != null) class34.method346(~i, new Class348_Sub49(is)); - synchronized (aClass60_2050) { - aClass60_2050.method582(class34, i_3_, (byte) -109); - } - return class34; - } - - final void method1204(int i) { - synchronized (aClass60_2050) { - aClass60_2050.method587(-93); - } - anInt2049++; - if (i != 0) aClass45_2048 = null; - } - - static final Class348_Sub42_Sub14 method1205(int i, boolean bool, Class45 class45, int i_4_) { - anInt2053++; - Class348_Sub49 class348_sub49 = new Class348_Sub49(class45.method410(-1860, i_4_, i)); - if (bool != true) method1208(102); - Class348_Sub42_Sub14 class348_sub42_sub14 = new Class348_Sub42_Sub14(i, class348_sub49.readString((byte) 88), class348_sub49.readString((byte) 120), class348_sub49.readInt((byte) -126), class348_sub49.readInt((byte) -126), class348_sub49.readUnsignedByte(255) == 1, class348_sub49.readUnsignedByte(255), class348_sub49.readUnsignedByte(255)); - int i_5_ = class348_sub49.readUnsignedByte(255); - for (int i_6_ = 0; i_6_ < i_5_; i_6_++) - class348_sub42_sub14.aClass262_9629.method1999(new Class348_Sub18(class348_sub49.readUnsignedByte(255), class348_sub49.readUnsignedShort(842397944), class348_sub49.readUnsignedShort(842397944), class348_sub49.readUnsignedShort(842397944), class348_sub49.readUnsignedShort(842397944), class348_sub49.readUnsignedShort(842397944), class348_sub49.readUnsignedShort(842397944), class348_sub49.readUnsignedShort(842397944), class348_sub49.readUnsignedShort(842397944)), -20180); - class348_sub42_sub14.method3240((byte) 37); - return class348_sub42_sub14; - } - - final void method1206(byte i) { - if (i != -37) aClass45_2048 = null; - anInt2051++; - synchronized (aClass60_2050) { - aClass60_2050.method590(0); - } - } - - final void method1207(int i, int i_7_) { - anInt2055++; - if (i == -17452) { - synchronized (aClass60_2050) { - aClass60_2050.method578(i + 17454, i_7_); - } - } - } - - public static void method1208(int i) { - aClass113_2047 = null; - int i_8_ = -65 / ((i - -58) / 57); - } - - Class150(Class230 class230, int i, Class45 class45, Class45 class45_9_) { - try { - this.aClass45_2054 = class45_9_; - aClass45_2048 = class45; - aClass45_2048.method407(0, 3); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("oha.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ',' + (class45_9_ != null ? "{...}" : "null") + ')')); - } - } - - static { - aClass113_2047 = new Class113(); - } -} diff --git a/client/src/Class151.java b/client/src/Class151.java deleted file mode 100644 index ba02524e4..000000000 --- a/client/src/Class151.java +++ /dev/null @@ -1,81 +0,0 @@ -/* Class151 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class151 { - short[] aShortArray2058; - static int anInt2059; - short[] aShortArray2060; - static int anInt2061 = 0; - static int[] anIntArray2062 = new int[4]; - static int anInt2063; - static int anInt2064; - static int anInt2065; - static int anInt2066; - short[] aShortArray2067; - static Class114 aClass114_2068 = new Class114(68, 6); - byte[] aByteArray2069; - - public static void method1209(int i) { - int i_0_ = 95 / ((-21 - i) / 45); - anIntArray2062 = null; - aClass114_2068 = null; - } - - static final boolean method1210(byte i, int i_1_) { - anInt2066++; - if (i > -93) anInt2061 = -39; - return i_1_ == 0 || i_1_ == 2; - } - - static final void method1211(int i, Class105 class105, int i_2_, Class46 class46, aa var_aa, int i_3_, int i_4_, int i_5_) { - try { - anInt2064++; - if (class105 != null) { - int i_6_; - if (Class348_Sub40_Sub21.anInt9282 != 4) - i_6_ = (0x3fff & (int) Class314.aFloat3938 - -r_Sub2.anInt10483); - else i_6_ = 0x3fff & (int) Class314.aFloat3938; - int i_7_ = 10 + Math.max(class46.anInt709 / 2, class46.anInt789 / i_4_); - int i_8_ = i_5_ * i_5_ - -(i_3_ * i_3_); - if (i_7_ * i_7_ >= i_8_) { - int i_9_ = Class70.anIntArray1207[i_6_]; - int i_10_ = Class70.anIntArray1204[i_6_]; - if (Class348_Sub40_Sub21.anInt9282 != 4) { - i_10_ = 256 * i_10_ / (Class348_Sub49_Sub1.anInt9750 - -256); - i_9_ = i_9_ * 256 / (Class348_Sub49_Sub1.anInt9750 - -256); - } - int i_11_ = i_5_ * i_10_ + i_3_ * i_9_ >> 14; - int i_12_ = i_3_ * i_10_ + -(i_9_ * i_5_) >> 14; - class105.method963((i_11_ + (class46.anInt709 / 2 + (i_2_ + -(class105.method966() / 2)))), (i - -(class46.anInt789 / 2) + (-i_12_ + -(class105.method980() / 2))), var_aa, i_2_, i); - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ok.C(" + i + ',' + (class105 != null ? "{...}" : "null") + ',' + i_2_ + ',' + (class46 != null ? "{...}" : "null") + ',' + (var_aa != null ? "{...}" : "null") + ',' + i_3_ + ',' + i_4_ + ',' + i_5_ + ')')); - } - } - - static final void method1212(int i, int i_13_, int i_14_, int i_15_) { - anInt2059++; - i = Class316.aClass348_Sub51_3959.aClass239_Sub26_7260.method1838(-32350) * i >> 8; - if (i_14_ == i_13_ && !Class74.aBoolean1236) Class104.method960(1); - else if (i_13_ != -1 && (i_13_ != Class267.anInt3428 || !Class167.method1296(true)) && i != 0 && !Class74.aBoolean1236) { - Class40.method368(i, 18002, false, i_13_, Class59_Sub2_Sub1.aClass45_8667, 0, i_15_); - Class348_Sub40_Sub17_Sub1.method3093(93); - } - if (Class267.anInt3428 != i_13_) Class209.aClass348_Sub16_Sub3_2718 = null; - Class267.anInt3428 = i_13_; - } - - static final void method1213(String string, String string_16_, int i) { - try { - if (i > -48) aClass114_2068 = null; - anInt2063++; - RuntimeException_Sub1.anInt4596 = -1; - Class239_Sub12.anInt5969 = Loader.skipLobby ? 2 : 1; - Class132.method1138(string, false, string_16_, (byte) -95); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ok.E(" + (string != null ? "{...}" : "null") + ',' + (string_16_ != null ? "{...}" : "null") + ',' + i + ')')); - } - } -} diff --git a/client/src/Class152.java b/client/src/Class152.java deleted file mode 100644 index 9cc2ccd5c..000000000 --- a/client/src/Class152.java +++ /dev/null @@ -1,95 +0,0 @@ -/* Class152 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.util.zip.Inflater; - -final class Class152 { - static int anInt2070; - static int anInt2071; - private Inflater anInflater2072; - static int anInt2073; - static int anInt2074; - static float[] aFloatArray2075 = new float[2]; - static boolean[] aBooleanArray2076 = new boolean[100]; - static Class243 aClass243_2077; - static int anInt2078; - - final byte[] method1214(int i, byte[] is) { - anInt2074++; - Class348_Sub49 class348_sub49 = new Class348_Sub49(is); - class348_sub49.anInt7197 = is.length - 4; - int i_0_ = class348_sub49.method3359(-86); - class348_sub49.anInt7197 = 0; - if (i != 9) aFloatArray2075 = null; - byte[] is_1_ = new byte[i_0_]; - method1218(is_1_, 29123, class348_sub49); - return is_1_; - } - - static final void method1215(byte i) { - if (i != 3) method1217(-39, null); - anInt2078++; - if (Class240.anInt4674 != 9) { - if (Class240.anInt4674 == 5 || Class240.anInt4674 == 6) Class348_Sub49.method3379(2, 3); - else if (Class240.anInt4674 == 12) Class348_Sub49.method3379(2, 3); - } else Class348_Sub49.method3379(2, 5); - } - - public static void method1216(byte i) { - if (i != -97) aFloatArray2075 = null; - aClass243_2077 = null; - aBooleanArray2076 = null; - aFloatArray2075 = null; - } - - static final void method1217(int i, Class357[][][] class357s) { - anInt2070++; - for (int i_2_ = i; i_2_ < class357s.length; i_2_++) { - Class357[][] class357s_3_ = class357s[i_2_]; - for (int i_4_ = 0; i_4_ < class357s_3_.length; i_4_++) { - for (int i_5_ = 0; (class357s_3_[i_4_].length > i_5_); i_5_++) { - Class357 class357 = class357s_3_[i_4_][i_5_]; - if (class357 != null) { - if (class357.aClass318_Sub1_Sub1_4402 instanceof Interface10) ((Interface10) class357.aClass318_Sub1_Sub1_4402).method40(-12031); - if (class357.aClass318_Sub1_Sub5_4395 instanceof Interface10) ((Interface10) class357.aClass318_Sub1_Sub5_4395).method40(-12031); - if (class357.aClass318_Sub1_Sub5_4407 instanceof Interface10) ((Interface10) class357.aClass318_Sub1_Sub5_4407).method40(-12031); - if (class357.aClass318_Sub1_Sub4_4406 instanceof Interface10) ((Interface10) class357.aClass318_Sub1_Sub4_4406).method40(-12031); - if (class357.aClass318_Sub1_Sub4_4403 instanceof Interface10) ((Interface10) class357.aClass318_Sub1_Sub4_4403).method40(-12031); - for (Class148 class148 = class357.aClass148_4396; class148 != null; class148 = class148.aClass148_2038) { - Class318_Sub1_Sub3 class318_sub1_sub3 = (class148.aClass318_Sub1_Sub3_2040); - if (class318_sub1_sub3 instanceof Interface10) ((Interface10) class318_sub1_sub3).method40(i ^ ~0x2efe); - } - } - } - } - } - } - - public Class152() { - this(-1, 1000000, 1000000); - } - - final void method1218(byte[] is, int i, Class348_Sub49 class348_sub49) { - try { - if (i != 29123) method1217(-91, null); - anInt2073++; - if ((class348_sub49.aByteArray7154[class348_sub49.anInt7197]) != 31 || (class348_sub49.aByteArray7154[1 + class348_sub49.anInt7197]) != -117) throw new RuntimeException("Invalid GZIP header!"); - if (anInflater2072 == null) anInflater2072 = new Inflater(true); - try { - anInflater2072.setInput(class348_sub49.aByteArray7154, class348_sub49.anInt7197 - -10, -8 - (10 + class348_sub49.anInt7197 - (class348_sub49.aByteArray7154).length)); - anInflater2072.inflate(is); - } catch (Exception exception) { - anInflater2072.reset(); - throw new RuntimeException("Invalid GZIP compressed data!"); - } - anInflater2072.reset(); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ol.A(" + (is != null ? "{...}" : "null") + ',' + i + ',' + (class348_sub49 != null ? "{...}" : "null") + ')')); - } - } - - private Class152(int i, int i_6_, int i_7_) { - /* empty */ - } -} diff --git a/client/src/Class153.java b/client/src/Class153.java deleted file mode 100644 index 0ab2e4676..000000000 --- a/client/src/Class153.java +++ /dev/null @@ -1,148 +0,0 @@ -/* Class153 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class153 { - static int anInt2079; - static int anInt2080; - static int anInt2081; - static int anInt2082; - private Class60 aClass60_2083 = new Class60(128); - private final Class45 aClass45_2084; - static int anInt2085; - static int anInt2086; - Class45 aClass45_2087; - static int anInt2088; - Class60 aClass60_2089 = new Class60(64); - - final void method1219(int i) { - anInt2080++; - synchronized (aClass60_2083) { - aClass60_2083.method590(0); - } - synchronized (this.aClass60_2089) { - if (i != 7851) { - /* empty */ - } else this.aClass60_2089.method590(i + -7851); - } - } - - final void method1220(byte i, int i_0_, int i_1_) { - anInt2081++; - aClass60_2083 = new Class60(i_1_); - this.aClass60_2089 = new Class60(i_0_); - int i_2_ = 11 / ((i - -46) / 43); - } - - static final boolean method1221(int i, int i_3_, int i_4_) { - if (i != -3157) return false; - anInt2088++; - return Class299_Sub1.method2259(0, i_4_, i_3_) | (i_3_ & 0x70000) != 0 || Class288.method2187(i_3_, -79, i_4_); - } - - final void method1222(boolean bool) { - if (bool != true) method1222(false); - synchronized (aClass60_2083) { - aClass60_2083.method587(-99); - } - anInt2082++; - synchronized (this.aClass60_2089) { - this.aClass60_2089.method587(-78); - } - } - - static final Class348_Sub42_Sub19 method1223(int i, int i_5_, int i_6_, Class273 class273) { - anInt2086++; - int i_7_ = class273.anInt5167 | i << 10; - Class348_Sub42_Sub19 class348_sub42_sub19 = ((Class348_Sub42_Sub19) Class322.aClass308_4036.method2302((long) i_7_ << 16, (byte) -91)); - if (class348_sub42_sub19 != null) return class348_sub42_sub19; - byte[] is = (Class113.aClass45_1743.method415((byte) 73, Class113.aClass45_1743.method423(i_7_, (byte) -90))); - if (is != null) { - if (is.length <= 1) return null; - try { - class348_sub42_sub19 = Class318_Sub4.method2502(is, -85); - } catch (Exception exception) { - throw new RuntimeException(exception.getMessage() + " S: " + i_7_); - } - class348_sub42_sub19.aClass273_9691 = class273; - Class322.aClass308_4036.method2305((long) i_7_ << 16, class348_sub42_sub19, -1); - return class348_sub42_sub19; - } - i_7_ = class273.anInt5167 | 65536 + i_5_ << 10; - class348_sub42_sub19 = ((Class348_Sub42_Sub19) Class322.aClass308_4036.method2302((long) i_7_ << 16, (byte) -31)); - if (class348_sub42_sub19 != null) return class348_sub42_sub19; - is = (Class113.aClass45_1743.method415((byte) 73, Class113.aClass45_1743.method423(i_7_, (byte) -107))); - if (is != null) { - if (is.length <= 1) return null; - try { - class348_sub42_sub19 = Class318_Sub4.method2502(is, -101); - } catch (Exception exception) { - throw new RuntimeException(exception.getMessage() + " S: " + i_7_); - } - class348_sub42_sub19.aClass273_9691 = class273; - Class322.aClass308_4036.method2305((long) i_7_ << 16, class348_sub42_sub19, -1); - return class348_sub42_sub19; - } - i_7_ = class273.anInt5167 | 0x3fffc00; - class348_sub42_sub19 = ((Class348_Sub42_Sub19) Class322.aClass308_4036.method2302((long) i_7_ << 16, (byte) -107)); - if (class348_sub42_sub19 != null) return class348_sub42_sub19; - is = (Class113.aClass45_1743.method415((byte) 73, Class113.aClass45_1743.method423(i_7_, (byte) 104))); - if (is != null) { - if (is.length <= 1) return null; - try { - class348_sub42_sub19 = Class318_Sub4.method2502(is, -110); - } catch (Exception exception) { - throw new RuntimeException(exception.getMessage() + " S: " + i_7_); - } - class348_sub42_sub19.aClass273_9691 = class273; - Class322.aClass308_4036.method2305((long) i_7_ << 16, class348_sub42_sub19, -1); - return class348_sub42_sub19; - } - if (i_6_ != 96837648) return null; - return null; - } - - final void method1224(int i, byte i_8_) { - synchronized (aClass60_2083) { - if (i_8_ > -95) method1225(-75, (byte) -61); - aClass60_2083.method578(2, i); - } - anInt2079++; - synchronized (this.aClass60_2089) { - this.aClass60_2089.method578(2, i); - } - } - - final Class42 method1225(int i, byte i_9_) { - anInt2085++; - Class42 class42; - synchronized (aClass60_2083) { - class42 = (Class42) aClass60_2083.method583(i, 91); - } - if (class42 != null) return class42; - if (i_9_ < 36) return null; - byte[] is; - synchronized (aClass45_2084) { - is = aClass45_2084.method410(-1860, 36, i); - } - class42 = new Class42(); - class42.aClass153_593 = this; - class42.anInt581 = i; - if (is != null) class42.method379(new Class348_Sub49(is), 109); - class42.method372(-25359); - synchronized (aClass60_2083) { - aClass60_2083.method582(class42, i, (byte) -106); - } - return class42; - } - - Class153(Class230 class230, int i, Class45 class45, Class45 class45_10_) { - try { - aClass45_2084 = class45; - this.aClass45_2087 = class45_10_; - aClass45_2084.method407(0, 36); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("on.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ',' + (class45_10_ != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class154.java b/client/src/Class154.java deleted file mode 100644 index b7041b7aa..000000000 --- a/client/src/Class154.java +++ /dev/null @@ -1,550 +0,0 @@ -/* Class154 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class154 { - static int anInt2090; - static int anInt2091; - private int[] anIntArray2092; - int anInt2093 = -1; - private long aLong2094; - int[] anIntArray2095; - static int anInt2096; - static int anInt2097; - static int anInt2098; - static int anInt2099; - boolean aBoolean2100; - static int anInt2101 = 0; - private long aLong2102; - private int anInt2103; - static int anInt2104; - static Class348_Sub49[] aClass348_Sub49Array2105 = new Class348_Sub49[2048]; - static int anInt2106; - static int anInt2107; - - final Class64 method1226(Interface17 interface17, Class17 class17, Class182[] class182s, boolean bool, Class255 class255, int i, Class17 class17_0_, int i_1_, boolean bool_2_, int i_3_, int[] is, int i_4_, Class150 class150, int i_5_, ha var_ha, Class278 class278, Class87 class87, int i_6_, int i_7_, int i_8_, Class261 class261) { - try { - anInt2097++; - if (this.anInt2093 != -1) return (class278.method2079(this.anInt2093, -1).method800(i, class182s, class87, !bool_2_, class17, i_8_, class261, i_7_, class17_0_, interface17, var_ha, i_3_, is, i_1_, i_6_, i_4_, i_5_)); - int i_9_ = i_4_; - long l = aLong2102; - int[] is_10_ = anIntArray2092; - if (class17_0_ != null && (class17_0_.anInt249 >= 0 || class17_0_.anInt261 >= 0)) { - is_10_ = new int[12]; - for (int i_11_ = 0; i_11_ < 12; i_11_++) - is_10_[i_11_] = anIntArray2092[i_11_]; - if (class17_0_.anInt249 >= 0) { - if (class17_0_.anInt249 == 65535) { - is_10_[5] = 0; - l ^= ~0xffffffffL; - } else { - is_10_[5] = Class273.method2057((class17_0_.anInt249), 1073741824); - l ^= (long) is_10_[5] << 32; - } - } - if (class17_0_.anInt261 >= 0) { - if (class17_0_.anInt261 == 65535) { - is_10_[3] = 0; - l ^= 0xffffffffL; - } else { - is_10_[3] = Class273.method2057((class17_0_.anInt261), 1073741824); - l ^= is_10_[3]; - } - } - } - boolean bool_12_ = false; - boolean bool_13_ = false; - boolean bool_14_ = false; - boolean bool_15_ = class17_0_ != null || class17 != null; - int i_16_ = class182s != null ? class182s.length : 0; - for (int i_17_ = 0; i_16_ > i_17_; i_17_++) { - Class95.aClass348_Sub42_Sub17Array1543[i_17_] = null; - if (class182s[i_17_] != null) { - Class17 class17_18_ = class87.method835((class182s[i_17_].anInt2454), 7); - if (class17_18_.anIntArray237 != null) { - bool_15_ = true; - Class57.aClass17Array1048[i_17_] = class17_18_; - int i_19_ = class182s[i_17_].anInt2451; - int i_20_ = class182s[i_17_].anInt2455; - int i_21_ = class17_18_.anIntArray237[i_19_]; - Class95.aClass348_Sub42_Sub17Array1543[i_17_] = class87.method839(i_21_ >>> 16, 3); - i_21_ &= 0xffff; - Class184.anIntArray2471[i_17_] = i_21_; - if (Class95.aClass348_Sub42_Sub17Array1543[i_17_] != null) { - bool_13_ |= Class95.aClass348_Sub42_Sub17Array1543[i_17_].method3272(i_21_, 0); - bool_12_ |= Class95.aClass348_Sub42_Sub17Array1543[i_17_].method3271(i_21_, 14); - bool_14_ |= Class95.aClass348_Sub42_Sub17Array1543[i_17_].method3267((byte) -109, i_21_); - } - if ((class17_18_.aBoolean241 || Class28.aBoolean5002) && i_20_ != -1 && (class17_18_.anIntArray237.length > i_20_)) { - Class100.anIntArray1583[i_17_] = class17_18_.anIntArray267[i_19_]; - Class50_Sub3.anIntArray5241[i_17_] = class182s[i_17_].anInt2456; - int i_22_ = class17_18_.anIntArray237[i_20_]; - Class295.aClass348_Sub42_Sub17Array3753[i_17_] = class87.method839(i_22_ >>> 16, 3); - i_22_ &= 0xffff; - Class227.anIntArray2967[i_17_] = i_22_; - if (Class295.aClass348_Sub42_Sub17Array3753[i_17_] != null) { - bool_13_ |= Class295.aClass348_Sub42_Sub17Array3753[i_17_].method3272(i_22_, 0); - bool_12_ |= Class295.aClass348_Sub42_Sub17Array3753[i_17_].method3271(i_22_, 14); - bool_14_ |= Class295.aClass348_Sub42_Sub17Array3753[i_17_].method3267((byte) -115, i_22_); - } - } else { - Class100.anIntArray1583[i_17_] = 0; - Class50_Sub3.anIntArray5241[i_17_] = 0; - Class295.aClass348_Sub42_Sub17Array3753[i_17_] = null; - Class227.anIntArray2967[i_17_] = -1; - } - } - } - } - int i_23_ = -1; - int i_24_ = -1; - int i_25_ = 0; - Class348_Sub42_Sub17 class348_sub42_sub17 = null; - Class348_Sub42_Sub17 class348_sub42_sub17_26_ = null; - int i_27_ = -1; - int i_28_ = -1; - int i_29_ = 0; - Class348_Sub42_Sub17 class348_sub42_sub17_30_ = null; - Class348_Sub42_Sub17 class348_sub42_sub17_31_ = null; - if (bool_15_) { - if (class17_0_ != null) { - i_23_ = class17_0_.anIntArray237[i_7_]; - int i_32_ = i_23_ >>> 16; - class348_sub42_sub17 = class87.method839(i_32_, 3); - i_23_ &= 0xffff; - if (class348_sub42_sub17 != null) { - bool_13_ |= class348_sub42_sub17.method3272(i_23_, 0); - bool_12_ |= class348_sub42_sub17.method3271(i_23_, 14); - bool_14_ |= class348_sub42_sub17.method3267((byte) -110, i_23_); - } - if ((class17_0_.aBoolean241 || Class28.aBoolean5002) && i_1_ != -1 && i_1_ < class17_0_.anIntArray237.length) { - i_24_ = class17_0_.anIntArray237[i_1_]; - i_25_ = class17_0_.anIntArray267[i_7_]; - int i_33_ = i_24_ >>> 16; - class348_sub42_sub17_26_ = (i_32_ == i_33_ ? class348_sub42_sub17 : class87.method839(i_33_, 3)); - i_24_ &= 0xffff; - if (class348_sub42_sub17_26_ != null) { - bool_13_ |= class348_sub42_sub17_26_.method3272(i_24_, 0); - bool_12_ |= class348_sub42_sub17_26_.method3271(i_24_, 14); - bool_14_ |= class348_sub42_sub17_26_.method3267((byte) -106, i_24_); - } - } - } - i_9_ |= 0x20; - if (class17 != null) { - i_27_ = class17.anIntArray237[i_6_]; - int i_34_ = i_27_ >>> 16; - i_27_ &= 0xffff; - class348_sub42_sub17_30_ = class87.method839(i_34_, 3); - if (class348_sub42_sub17_30_ != null) { - bool_13_ |= class348_sub42_sub17_30_.method3272(i_27_, 0); - bool_12_ |= class348_sub42_sub17_30_.method3271(i_27_, 14); - bool_14_ |= class348_sub42_sub17_30_.method3267((byte) -123, i_27_); - } - if ((class17.aBoolean241 || Class28.aBoolean5002) && i_3_ != -1 && i_3_ < class17.anIntArray237.length) { - i_28_ = class17.anIntArray237[i_3_]; - i_29_ = class17.anIntArray267[i_6_]; - int i_35_ = i_28_ >>> 16; - i_28_ &= 0xffff; - class348_sub42_sub17_31_ = (i_35_ == i_34_ ? class348_sub42_sub17_30_ : class87.method839(i_35_, 3)); - if (class348_sub42_sub17_31_ != null) { - bool_13_ |= class348_sub42_sub17_31_.method3272(i_28_, 0); - bool_12_ |= class348_sub42_sub17_31_.method3271(i_28_, 14); - bool_14_ |= class348_sub42_sub17_31_.method3267((byte) -96, i_28_); - } - } - } - if (bool_13_) i_9_ |= 0x80; - if (bool_12_) i_9_ |= 0x100; - if (bool_14_) i_9_ |= 0x400; - } - Class64 class64; - synchronized (Class24.aClass60_355) { - class64 = (Class64) Class24.aClass60_355.method583(l, -47); - } - Class225 class225 = null; - if (anInt2103 != -1) class225 = class261.method1983(anInt2103, 32); - if (class64 == null || var_ha.method3667(class64.ua(), i_9_) != 0) { - if (class64 != null) i_9_ = var_ha.method3679(i_9_, class64.ua()); - int i_36_ = i_9_; - boolean bool_37_ = false; - for (int i_38_ = 0; i_38_ < 12; i_38_++) { - int i_39_ = is_10_[i_38_]; - if ((0x40000000 & i_39_) == 0) { - if ((~0x7fffffff & i_39_) != 0 && !class150.method1203((byte) 33, i_39_ & 0x3fffffff).method348((byte) 34)) bool_37_ = true; - } else if (!class255.method1940(94, 0x3fffffff & i_39_).method1565(this.aBoolean2100, -1)) bool_37_ = true; - } - if (bool_37_) { - if (aLong2094 != -1) { - synchronized (Class24.aClass60_355) { - class64 = (Class64) Class24.aClass60_355.method583(aLong2094, -92); - } - } - if (class64 == null || var_ha.method3667(class64.ua(), i_9_) != 0) return null; - } else { - Class124[] class124s = new Class124[12]; - for (int i_40_ = 0; i_40_ < 12; i_40_++) { - int i_41_ = is_10_[i_40_]; - if ((0x40000000 & i_41_) == 0) { - if ((~0x7fffffff & i_41_) != 0) { - Class124 class124 = class150.method1203((byte) 33, i_41_ & 0x3fffffff).method341(91); - if (class124 != null) class124s[i_40_] = class124; - } - } else { - Class124 class124 = (class255.method1940(104, i_41_ & 0x3fffffff).method1558(this.aBoolean2100, !bool_2_)); - if (class124 != null) class124s[i_40_] = class124; - } - } - if (class225 != null && class225.anIntArrayArray2939 != null) { - for (int i_42_ = 0; ((class225.anIntArrayArray2939).length > i_42_); i_42_++) { - if (class124s[i_42_] != null) { - int i_43_ = 0; - int i_44_ = 0; - int i_45_ = 0; - int i_46_ = 0; - int i_47_ = 0; - int i_48_ = 0; - if ((class225.anIntArrayArray2939[i_42_]) != null) { - i_47_ = ((class225.anIntArrayArray2939[i_42_][4]) << 3); - i_44_ = (class225.anIntArrayArray2939[i_42_][1]); - i_48_ = ((class225.anIntArrayArray2939[i_42_][5]) << 3); - i_43_ = (class225.anIntArrayArray2939[i_42_][0]); - i_46_ = ((class225.anIntArrayArray2939[i_42_][3]) << 3); - i_45_ = (class225.anIntArrayArray2939[i_42_][2]); - } - if (i_46_ != 0 || i_47_ != 0 || i_48_ != 0) class124s[i_42_].method1107(6875, i_47_, i_48_, i_46_); - if (i_43_ != 0 || i_44_ != 0 || i_45_ != 0) class124s[i_42_].method1099((byte) -82, i_45_, i_43_, i_44_); - } - } - } - Class124 class124 = new Class124(class124s, class124s.length); - i_36_ |= 0x4000; - class64 = var_ha.method3625(class124, i_36_, Class168.anInt2251, 64, 850); - for (int i_49_ = 0; i_49_ < 5; i_49_++) { - for (int i_50_ = 0; (Class367_Sub2.aShortArrayArrayArray7290.length > i_50_); i_50_++) { - if ((Class367_Sub2.aShortArrayArrayArray7290[i_50_][i_49_]).length > this.anIntArray2095[i_49_]) class64.ia((Class136.aShortArrayArray4791[i_50_][i_49_]), (Class367_Sub2.aShortArrayArrayArray7290[i_50_][i_49_][(this.anIntArray2095[i_49_])])); - } - } - if (bool) { - class64.s(i_9_); - synchronized (Class24.aClass60_355) { - Class24.aClass60_355.method582(class64, l, (byte) -98); - } - aLong2094 = l; - } - } - } - Class64 class64_51_ = class64.method614((byte) 4, i_9_, bool_2_); - boolean bool_52_ = false; - if (is != null) { - for (int i_53_ = 0; i_53_ < 12; i_53_++) { - if (is[i_53_] != -1) bool_52_ = true; - } - } - if (!bool_15_ && !bool_52_) return class64_51_; - Class101[] class101s = null; - if (class225 != null) class101s = class225.method1618(var_ha, 0); - if (bool_52_ && class101s != null) { - for (int i_54_ = 0; i_54_ < 12; i_54_++) { - if (class101s[i_54_] != null) class64_51_.method610(class101s[i_54_], 1 << i_54_, true); - } - } - int i_55_ = 0; - int i_56_ = 1; - for (/**/; i_16_ > i_55_; i_55_++) { - if (Class95.aClass348_Sub42_Sub17Array1543[i_55_] != null) - class64_51_.method603((byte) -55, -1 + Class50_Sub3.anIntArray5241[i_55_], null, i_56_, Class184.anIntArray2471[i_55_], Class227.anIntArray2967[i_55_], Class295.aClass348_Sub42_Sub17Array3753[i_55_], 0, Class95.aClass348_Sub42_Sub17Array1543[i_55_], false, Class100.anIntArray1583[i_55_]); - i_56_ <<= 1; - } - if (bool_52_) { - for (int i_57_ = 0; i_57_ < 12; i_57_++) { - if (is[i_57_] != -1) { - int i_58_ = is[i_57_] - i; - i_58_ &= 0x3fff; - Class101 class101 = var_ha.method3654(); - class101.method895(i_58_); - class64_51_.method610(class101, 1 << i_57_, false); - } - } - } - if (bool_52_ && class101s != null) { - for (int i_59_ = 0; i_59_ < 12; i_59_++) { - if (class101s[i_59_] != null) class64_51_.method610(class101s[i_59_], 1 << i_59_, false); - } - } - if (class348_sub42_sub17 != null && class348_sub42_sub17_30_ != null) - class64_51_.method625(class348_sub42_sub17_26_, i_25_, (byte) 121, i_29_, class348_sub42_sub17_30_, i_23_, i_27_, i_5_ - 1, class348_sub42_sub17, false, i_24_, class348_sub42_sub17_31_, i_8_ + -1, class17_0_.aBooleanArray263, i_28_); - else if (class348_sub42_sub17 != null) class64_51_.method617(i_23_, i_25_, class348_sub42_sub17_26_, 0, class348_sub42_sub17, false, false, i_24_, i_5_ + -1); - else if (class348_sub42_sub17_30_ != null) class64_51_.method617(i_27_, i_29_, class348_sub42_sub17_31_, 0, class348_sub42_sub17_30_, false, false, i_28_, i_8_ + -1); - for (int i_60_ = 0; i_16_ > i_60_; i_60_++) { - Class95.aClass348_Sub42_Sub17Array1543[i_60_] = null; - Class295.aClass348_Sub42_Sub17Array3753[i_60_] = null; - Class57.aClass17Array1048[i_60_] = null; - } - return class64_51_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("oo.C(" + (interface17 != null ? "{...}" : "null") + ',' + (class17 != null ? "{...}" : "null") + ',' + (class182s != null ? "{...}" : "null") + ',' + bool + ',' + (class255 != null ? "{...}" : "null") + ',' + i + ',' + (class17_0_ != null ? "{...}" : "null") + ',' + i_1_ + ',' + bool_2_ + ',' + i_3_ + ',' + (is != null ? "{...}" : "null") + ',' + i_4_ + ',' + (class150 != null ? "{...}" : "null") + ',' + i_5_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + (class278 != null ? "{...}" : "null") + ',' + (class87 != null ? "{...}" : "null") + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ',' + (class261 != null ? "{...}" : "null") + ')')); - } - } - - final void method1227(byte i, int i_61_, int i_62_, Class255 class255) { - try { - if (i == 42) { - anInt2099++; - if (i_62_ == -1) anIntArray2092[i_61_] = 0; - else if (class255.method1940(-125, i_62_) != null) { - anIntArray2092[i_61_] = Class273.method2057(1073741824, i_62_); - method1234(-100); - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("oo.H(" + i + ',' + i_61_ + ',' + i_62_ + ',' + (class255 != null ? "{...}" : "null") + ')')); - } - } - - final void method1228(int i, int i_63_, int i_64_, int[] is, boolean bool, int[] is_65_) { - try { - if (i_64_ != anInt2103) anInt2103 = i_64_; - anIntArray2092 = is; - if (i_63_ <= 54) anIntArray2092 = null; - this.anIntArray2095 = is_65_; - anInt2090++; - this.anInt2093 = i; - this.aBoolean2100 = bool; - method1234(-25); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("oo.F(" + i + ',' + i_63_ + ',' + i_64_ + ',' + (is != null ? "{...}" : "null") + ',' + bool + ',' + (is_65_ != null ? "{...}" : "null") + ')')); - } - } - - final void method1229(byte i, boolean bool) { - anInt2104++; - this.aBoolean2100 = bool; - if (i != -17) this.aBoolean2100 = false; - method1234(-78); - } - - final Class64 method1230(Class255 class255, int i, Class87 class87, Class150 class150, Interface17 interface17, Class278 class278, int i_66_, int i_67_, int i_68_, Class17 class17, int i_69_, ha var_ha) { - try { - anInt2107++; - if (this.anInt2093 != -1) return (class278.method2079(this.anInt2093, -1).method803(interface17, var_ha, i_69_, i_67_, class17, class87, i_66_, 121, i_68_)); - int i_70_ = i_68_; - if (class17 != null) { - boolean bool = false; - boolean bool_71_ = false; - boolean bool_72_ = false; - boolean bool_73_ = false; - int i_74_ = -1; - int i_75_ = -1; - Object object = null; - i_70_ |= 0x20; - Object object_76_ = null; - i_74_ = class17.anIntArray237[i_66_]; - int i_77_ = i_74_ >>> 16; - i_74_ &= 0xffff; - Class348_Sub42_Sub17 class348_sub42_sub17 = class87.method839(i_77_, 3); - if (class348_sub42_sub17 != null) { - bool_71_ |= class348_sub42_sub17.method3272(i_74_, 0); - bool |= class348_sub42_sub17.method3271(i_74_, 14); - bool_73_ |= class348_sub42_sub17.method3267((byte) -125, i_74_); - bool_72_ |= class17.aBoolean242; - } - if ((class17.aBoolean241 || Class28.aBoolean5002) && i_67_ != -1 && i_67_ < class17.anIntArray237.length) { - i_75_ = class17.anIntArray237[i_67_]; - int i_78_ = i_75_ >>> 16; - Class348_Sub42_Sub17 class348_sub42_sub17_79_ = (i_78_ != i_77_ ? class87.method839(i_78_, i ^ ~0x17f6eb54) : class348_sub42_sub17); - i_75_ &= 0xffff; - if (class348_sub42_sub17_79_ != null) { - bool_71_ |= class348_sub42_sub17_79_.method3272(i_75_, 0); - bool |= class348_sub42_sub17_79_.method3271(i_75_, 14); - bool_73_ |= class348_sub42_sub17_79_.method3267((byte) -127, i_75_); - } - } - if (bool_71_) i_70_ |= 0x80; - if (bool) i_70_ |= 0x100; - if (bool_72_) i_70_ |= 0x200; - if (bool_73_) i_70_ |= 0x400; - } - if (i != -402058072) aLong2094 = -101L; - Class64 class64; - synchronized (Class130.aClass60_1894) { - class64 = (Class64) Class130.aClass60_1894.method583(aLong2102, i ^ ~0x17f6eb29); - } - if (class64 == null || var_ha.method3667(class64.ua(), i_70_) != 0) { - if (class64 != null) i_70_ = var_ha.method3679(i_70_, class64.ua()); - int i_80_ = i_70_; - boolean bool = false; - for (int i_81_ = 0; i_81_ < 12; i_81_++) { - int i_82_ = anIntArray2092[i_81_]; - if ((i_82_ & 0x40000000) != 0) { - if (!class255.method1940(i ^ 0x17f6eb2c, 0x3fffffff & i_82_).method1555((byte) 97, this.aBoolean2100)) bool = true; - } else if ((~0x7fffffff & i_82_) != 0 && !class150.method1203((byte) 33, i_82_ & 0x3fffffff).method342((byte) 110)) bool = true; - } - if (bool) return null; - Class124[] class124s = new Class124[12]; - int i_83_ = 0; - for (int i_84_ = 0; i_84_ < 12; i_84_++) { - int i_85_ = anIntArray2092[i_84_]; - if ((i_85_ & 0x40000000) == 0) { - if ((i_85_ & ~0x7fffffff) != 0) { - Class124 class124 = class150.method1203((byte) 33, i_85_ & 0x3fffffff).method343((byte) -73); - if (class124 != null) class124s[i_83_++] = class124; - } - } else { - Class124 class124 = (class255.method1940(-107, i_85_ & 0x3fffffff).method1554(this.aBoolean2100, -14)); - if (class124 != null) class124s[i_83_++] = class124; - } - } - i_80_ |= 0x4000; - Class124 class124 = new Class124(class124s, i_83_); - class64 = var_ha.method3625(class124, i_80_, Class168.anInt2251, 64, 768); - for (int i_86_ = 0; i_86_ < 5; i_86_++) { - for (int i_87_ = 0; (Class367_Sub2.aShortArrayArrayArray7290.length > i_87_); i_87_++) { - if (this.anIntArray2095[i_86_] < (Class367_Sub2.aShortArrayArrayArray7290[i_87_][i_86_]).length) class64.ia((Class136.aShortArrayArray4791[i_87_][i_86_]), (Class367_Sub2.aShortArrayArrayArray7290[i_87_][i_86_][(this.anIntArray2095[i_86_])])); - } - } - class64.s(i_70_); - synchronized (Class130.aClass60_1894) { - Class130.aClass60_1894.method582(class64, aLong2102, (byte) -97); - } - } - if (class17 == null) return class64; - Class64 class64_88_ = class64.method614((byte) 4, i_70_, true); - class64_88_ = class17.method269(123, class64, i_67_, i_69_, i_68_, i_66_); - return class64_88_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("oo.J(" + (class255 != null ? "{...}" : "null") + ',' + i + ',' + (class87 != null ? "{...}" : "null") + ',' + (class150 != null ? "{...}" : "null") + ',' + (interface17 != null ? "{...}" : "null") + ',' + (class278 != null ? "{...}" : "null") + ',' + i_66_ + ',' + i_67_ + ',' + i_68_ + ',' + (class17 != null ? "{...}" : "null") + ',' + i_69_ + ',' + (var_ha != null ? "{...}" : "null") + ')')); - } - } - - final void method1231(int i, int i_89_, int i_90_) { - this.anIntArray2095[i] = i_90_; - if (i_89_ == 0) { - anInt2091++; - method1234(-48); - } - } - - final Class64 method1232(int i, int i_91_, int i_92_, int i_93_, Class87 class87, Class150 class150, int i_94_, int i_95_, int i_96_, ha var_ha, int i_97_, Class17 class17) { - try { - anInt2106++; - int i_98_ = i_91_; - if (class17 != null) { - boolean bool = false; - boolean bool_99_ = false; - boolean bool_100_ = false; - boolean bool_101_ = false; - int i_102_ = -1; - int i_103_ = -1; - Object object = null; - Object object_104_ = null; - i_98_ |= 0x20; - i_102_ = class17.anIntArray237[i_97_]; - int i_105_ = i_102_ >>> 16; - Class348_Sub42_Sub17 class348_sub42_sub17 = class87.method839(i_105_, 3); - i_102_ &= 0xffff; - if (class348_sub42_sub17 != null) { - bool_99_ |= class348_sub42_sub17.method3272(i_102_, i_94_ ^ ~0x3be2); - bool |= class348_sub42_sub17.method3271(i_102_, 14); - bool_101_ |= class348_sub42_sub17.method3267((byte) -125, i_102_); - bool_100_ |= class17.aBoolean242; - } - if ((class17.aBoolean241 || Class28.aBoolean5002) && i != -1 && i < class17.anIntArray237.length) { - i_103_ = class17.anIntArray237[i]; - int i_106_ = i_103_ >>> 16; - i_103_ &= 0xffff; - Class348_Sub42_Sub17 class348_sub42_sub17_107_; - if (i_105_ != i_106_) class348_sub42_sub17_107_ = class87.method839(i_103_ >>> 16, 3); - else class348_sub42_sub17_107_ = class348_sub42_sub17; - if (class348_sub42_sub17_107_ != null) { - bool_99_ |= class348_sub42_sub17_107_.method3272(i_103_, 0); - bool |= class348_sub42_sub17_107_.method3271(i_103_, 14); - bool_101_ |= class348_sub42_sub17_107_.method3267((byte) -123, i_103_); - } - } - if (bool_99_) i_98_ |= 0x80; - if (bool) i_98_ |= 0x100; - if (bool_100_) i_98_ |= 0x200; - if (bool_101_) i_98_ |= 0x400; - } - long l = (long) i_95_ | ((long) (i_93_ << 16) | (long) i_92_ << 32); - Class64 class64; - synchronized (Class130.aClass60_1894) { - class64 = (Class64) Class130.aClass60_1894.method583(l, i_94_ ^ ~0x3bd4); - } - if (class64 == null || var_ha.method3667(class64.ua(), i_98_) != 0) { - if (class64 != null) i_98_ = var_ha.method3679(i_98_, class64.ua()); - int i_108_ = i_98_; - Class124[] class124s = new Class124[3]; - int i_109_ = 0; - if (!class150.method1203((byte) 33, i_95_).method342((byte) 114) || !class150.method1203((byte) 33, i_93_).method342((byte) 102) || !class150.method1203((byte) 33, i_92_).method342((byte) 94)) return null; - Class124 class124 = class150.method1203((byte) 33, i_95_).method343((byte) -50); - if (class124 != null) class124s[i_109_++] = class124; - class124 = class150.method1203((byte) 33, i_93_).method343((byte) -105); - if (class124 != null) class124s[i_109_++] = class124; - class124 = class150.method1203((byte) 33, i_92_).method343((byte) -30); - if (class124 != null) class124s[i_109_++] = class124; - class124 = new Class124(class124s, i_109_); - i_108_ |= 0x4000; - class64 = var_ha.method3625(class124, i_108_, Class168.anInt2251, 64, 768); - for (int i_110_ = 0; i_110_ < 5; i_110_++) { - for (int i_111_ = 0; (i_111_ < Class367_Sub2.aShortArrayArrayArray7290.length); i_111_++) { - if (this.anIntArray2095[i_110_] < (Class367_Sub2.aShortArrayArrayArray7290[i_111_][i_110_]).length) class64.ia((Class136.aShortArrayArray4791[i_111_][i_110_]), (Class367_Sub2.aShortArrayArrayArray7290[i_111_][i_110_][(this.anIntArray2095[i_110_])])); - } - } - class64.s(i_98_); - synchronized (Class130.aClass60_1894) { - Class130.aClass60_1894.method582(class64, l, (byte) -109); - } - } - if (class17 == null) return class64; - if (i_94_ != -15331) return null; - class64 = class64.method614((byte) 4, i_98_, true); - class64 = class17.method269(-32, class64, i, i_96_, i_91_, i_97_); - return class64; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("oo.G(" + i + ',' + i_91_ + ',' + i_92_ + ',' + i_93_ + ',' + (class87 != null ? "{...}" : "null") + ',' + (class150 != null ? "{...}" : "null") + ',' + i_94_ + ',' + i_95_ + ',' + i_96_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_97_ + ',' + (class17 != null ? "{...}" : "null") + ')')); - } - } - - final void method1233(Class150 class150, int i, int i_112_, int i_113_) { - try { - anInt2098++; - int i_114_ = Class283.anIntArray3661[i_113_]; - if (class150.method1203((byte) 33, i) != null) { - if (i_112_ != -1) aLong2094 = -53L; - anIntArray2092[i_114_] = Class273.method2057(i, -2147483648); - method1234(-54); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("oo.D(" + (class150 != null ? "{...}" : "null") + ',' + i + ',' + i_112_ + ',' + i_113_ + ')')); - } - } - - private final void method1234(int i) { - anInt2096++; - aLong2102 = -1L; - long[] ls = Class348_Sub40_Sub21.aLongArray9283; - aLong2102 = ls[(int) (((long) (anInt2103 >> 8) ^ aLong2102) & 0xffL)] ^ aLong2102 >>> 8; - if (i > -6) aLong2094 = 43L; - aLong2102 = aLong2102 >>> 8 ^ ls[(int) (0xffL & ((long) anInt2103 ^ aLong2102))]; - for (int i_115_ = 0; i_115_ < 12; i_115_++) { - aLong2102 = (aLong2102 >>> 8 ^ ls[(int) (((long) (anIntArray2092[i_115_] >> 24) ^ aLong2102) & 0xffL)]); - aLong2102 = ls[(int) (0xffL & ((long) (anIntArray2092[i_115_] >> 16) ^ aLong2102))] ^ aLong2102 >>> 8; - aLong2102 = (aLong2102 >>> 8 ^ ls[(int) (0xffL & (aLong2102 ^ (long) (anIntArray2092[i_115_] >> 8)))]); - aLong2102 = (ls[(int) (0xffL & (aLong2102 ^ (long) anIntArray2092[i_115_]))] ^ aLong2102 >>> 8); - } - for (int i_116_ = 0; i_116_ < 5; i_116_++) - aLong2102 = (ls[(int) (0xffL & (aLong2102 ^ (long) (this.anIntArray2095[i_116_])))] ^ aLong2102 >>> 8); - aLong2102 = (aLong2102 >>> 8 ^ ls[(int) (0xffL & (aLong2102 ^ (long) (!this.aBoolean2100 ? 0 : 1)))]); - } - - public static void method1235(byte i) { - if (i != 7) anInt2101 = -42; - aClass348_Sub49Array2105 = null; - } - - public Class154() { - /* empty */ - } -} diff --git a/client/src/Class155.java b/client/src/Class155.java deleted file mode 100644 index 0df6e3e99..000000000 --- a/client/src/Class155.java +++ /dev/null @@ -1,40 +0,0 @@ -/* Class155 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class155 { - static int anInt2108; - static Class351 aClass351_2109 = new Class351(19, -1); - static boolean aBoolean2110 = false; - - public static void method1236(byte i) { - aClass351_2109 = null; - if (i >= -78) method1237((byte) 54, null); - } - - static final void method1237(byte i, Class46 class46) { - anInt2108++; - if (i < 69) method1236((byte) -52); - if (r.aBoolean9722) { - Class296.anInt3775++; - if (class46.anObjectArray679 != null) { - Class46 class46_0_ = Class348_Sub22.method2957(Class9.anInt169, (byte) -54, Class149.anInt2046); - if (class46_0_ != null) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); - class348_sub36.aClass46_6989 = class46; - class348_sub36.aClass46_6983 = class46_0_; - class348_sub36.anObjectArray6987 = class46.anObjectArray679; - Class66.method705(class348_sub36); - } - } - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class344.aClass351_4266, Class348_Sub23_Sub2.aClass77_9029, -120); - class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 100, class46.anInt830); - class348_sub47.aClass348_Sub49_Sub2_7116.writeIntInverseMiddle(Class149.anInt2046, -4086); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-123, Class9.anInt169); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, Class301.anInt3829); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(92, class46.anInt704); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, class46.anInt812); - Class348_Sub42_Sub14.method3243(-89, class348_sub47); - } - } -} diff --git a/client/src/Class156.java b/client/src/Class156.java deleted file mode 100644 index 37d565527..000000000 --- a/client/src/Class156.java +++ /dev/null @@ -1,100 +0,0 @@ -/* Class156 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.DataInputStream; -import java.net.URL; - -final class Class156 { - static float aFloat2111; - static int anInt2112; - static String[] aStringArray2113 = new String[100]; - static int anInt2114; - private Class348_Sub42 aClass348_Sub42_2115; - static int anInt2116; - static int[] anIntArray2117 = new int[2]; - private Class107 aClass107_2118; - static int anInt2119; - static int anInt2120; - - static final boolean method1238(int i, int i_0_, int i_1_) { - anInt2116++; - if (i_1_ > -4) aFloat2111 = -0.9273654F; - return (0x800 & i) != 0; - } - - public static void method1239(int i) { - aStringArray2113 = null; - anIntArray2117 = null; - if (i != 30114) anIntArray2117 = null; - } - - final Class348_Sub42 method1240(int i) { - anInt2114++; - if (i <= 7) method1240(79); - Class348_Sub42 class348_sub42 = (aClass107_2118.aClass348_Sub42_1647.aClass348_Sub42_7063); - if (class348_sub42 == aClass107_2118.aClass348_Sub42_1647) { - aClass348_Sub42_2115 = null; - return null; - } - aClass348_Sub42_2115 = class348_sub42.aClass348_Sub42_7063; - return class348_sub42; - } - - static final boolean method1241(int i, int i_2_, int i_3_) { - if (i_3_ > -111) method1239(-81); - anInt2119++; - return ((i_2_ & 0x18) != 0 | (0x220 & i_2_) == 544); - } - - public Class156() { - /* empty */ - } - - static final void method1242(String string, Throwable throwable, int i) { - anInt2112++; - do { - try { - String string_4_ = ""; - if (throwable != null) string_4_ = Class348_Sub5_Sub1.method2766(false, throwable); - if (string != null) { - if (throwable != null) string_4_ += " | "; - string_4_ += string; - } - Class88.method847(string_4_, -5192); - string_4_ = Class341.method2680("%3a", true, ":", string_4_); - string_4_ = Class341.method2680("%40", true, "@", string_4_); - string_4_ = Class341.method2680("%26", true, "&", string_4_); - string_4_ = Class341.method2680("%23", true, "#", string_4_); - if (Class348_Sub8.anApplet6662 != null) { - if (i != 15004) method1238(-69, 63, 124); - Class144 class144 = (Class231.aClass297_2993.method2237(new URL(Class348_Sub8.anApplet6662.getCodeBase(), ("clienterror.ws?c=" + Class348_Sub1_Sub3.anInt8818 + "&u=" + (s_Sub2.aString8265 != null ? s_Sub2.aString8265 : String.valueOf(Class89.aLong1507)) + "&v1=" + Class297.aString3782 + "&v2=" + Class297.aString3796 + "&e=" + string_4_)), 8362)); - while (class144.anInt1997 == 0) Class286_Sub5.method2161((byte) -123, 1L); - if (class144.anInt1997 != 1) break; - DataInputStream datainputstream = (DataInputStream) class144.anObject1998; - datainputstream.read(); - datainputstream.close(); - } - } catch (Exception exception) { - break; - } - break; - } while (false); - } - - final Class348_Sub42 method1243(byte i) { - anInt2120++; - if (i < 44) aStringArray2113 = null; - Class348_Sub42 class348_sub42 = aClass348_Sub42_2115; - if (class348_sub42 == aClass107_2118.aClass348_Sub42_1647) { - aClass348_Sub42_2115 = null; - return null; - } - aClass348_Sub42_2115 = class348_sub42.aClass348_Sub42_7063; - return class348_sub42; - } - - Class156(Class107 class107) { - aClass107_2118 = class107; - } -} diff --git a/client/src/Class157.java b/client/src/Class157.java deleted file mode 100644 index 95e7dfbb7..000000000 --- a/client/src/Class157.java +++ /dev/null @@ -1,62 +0,0 @@ -/* Class157 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class157 { - static int anInt2121; - static int anInt2122; - static Class101 aClass101_2123; - - static final void method1244(int i, Class348_Sub49_Sub2 class348_sub49_sub2) { - if (i < 10) aClass101_2123 = null; - class348_sub49_sub2.writeInt((byte) 121, Class348_Sub29.aClass45_6909.method389(26)); - anInt2121++; - class348_sub49_sub2.writeInt((byte) 112, Class186.aClass45_2490.method389(-106)); - class348_sub49_sub2.writeInt((byte) 118, Class95.aClass45_1541.method389(-109)); - class348_sub49_sub2.writeInt((byte) 120, Class348_Sub35.aClass45_6980.method389(-108)); - class348_sub49_sub2.writeInt((byte) 93, Class129.aClass45_1878.method389(-104)); - class348_sub49_sub2.writeInt((byte) 90, Class367_Sub10.aClass45_7382.method389(-122)); - class348_sub49_sub2.writeInt((byte) 92, Class59_Sub2_Sub1.aClass45_8667.method389(9)); - class348_sub49_sub2.writeInt((byte) 90, aa_Sub3.aClass45_5207.method389(120)); - class348_sub49_sub2.writeInt((byte) 99, Class21.aClass45_322.method389(64)); - class348_sub49_sub2.writeInt((byte) 90, Class369_Sub2.aClass45_8589.method389(-123)); - class348_sub49_sub2.writeInt((byte) 115, Class16.aClass45_233.method389(-113)); - class348_sub49_sub2.writeInt((byte) 94, Class348_Sub23_Sub2.aClass45_9033.method389(-113)); - class348_sub49_sub2.writeInt((byte) 121, Class113.aClass45_1743.method389(-110)); - class348_sub49_sub2.writeInt((byte) 123, Class104.aClass45_1627.method389(72)); - class348_sub49_sub2.writeInt((byte) 120, Class239_Sub4.aClass45_5878.method389(37)); - class348_sub49_sub2.writeInt((byte) 115, Class123.aClass45_1815.method389(-115)); - class348_sub49_sub2.writeInt((byte) 126, Class94.aClass45_1538.method389(104)); - class348_sub49_sub2.writeInt((byte) 93, Class247.aClass45_3183.method389(28)); - class348_sub49_sub2.writeInt((byte) 115, Class216.aClass45_4975.method389(-96)); - class348_sub49_sub2.writeInt((byte) 102, Class174.aClass45_2306.method389(98)); - class348_sub49_sub2.writeInt((byte) 97, r_Sub2.aClass45_10480.method389(114)); - class348_sub49_sub2.writeInt((byte) 123, Class78.aClass45_1322.method389(-104)); - class348_sub49_sub2.writeInt((byte) 97, Class348_Sub16_Sub3.aClass45_8926.method389(-96)); - class348_sub49_sub2.writeInt((byte) 111, Class348_Sub32.aClass45_6950.method389(109)); - class348_sub49_sub2.writeInt((byte) 108, Class130.aClass45_1897.method389(-106)); - class348_sub49_sub2.writeInt((byte) 102, Class82.aClass45_1434.method389(102)); - class348_sub49_sub2.writeInt((byte) 113, Class348_Sub11.aClass45_4770.method389(-122)); - class348_sub49_sub2.writeInt((byte) 86, Class239.aClass45_3146.method389(97)); - class348_sub49_sub2.writeInt((byte) 96, Class367_Sub8.aClass45_7362.method389(-6)); - class348_sub49_sub2.writeInt((byte) 96, Class262.aClass45_3323.method389(-122)); - class348_sub49_sub2.writeInt((byte) 107, Class126.aClass45_4984.method389(-107)); - class348_sub49_sub2.writeInt((byte) 125, Class136.aClass45_4796.method389(-118)); - class348_sub49_sub2.writeInt((byte) 90, Class172.method1327(31)); - class348_sub49_sub2.writeInt((byte) 120, Class101_Sub1.method912(0)); - class348_sub49_sub2.writeInt((byte) 87, Class146.aClass45_2015.method389(-94)); - } - - static final String method1245(String string, boolean bool) { - if (bool != false) method1244(22, null); - anInt2122++; - String string_0_ = Class239_Sub16.method1788((byte) 115, Class268.method2031(-1994, string)); - if (string_0_ == null) string_0_ = ""; - return string_0_; - } - - public static void method1246(int i) { - if (i >= -71) method1244(-50, null); - aClass101_2123 = null; - } -} diff --git a/client/src/Class158.java b/client/src/Class158.java deleted file mode 100644 index dbe23361a..000000000 --- a/client/src/Class158.java +++ /dev/null @@ -1,82 +0,0 @@ -/* Class158 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import com.sun.management.HotSpotDiagnosticMXBean; - -import java.io.File; -import java.lang.reflect.Method; - -final class Class158 implements Interface12 { - int anInt4931; - int anInt4932; - static int anInt4933; - static Class356 aClass356_4934 = new Class356(8); - int anInt4935; - int anInt4936; - int anInt4937; - static Class299 aClass299_4938; - static int anInt4939; - int anInt4940; - static int anInt4941; - String aString4942; - int anInt4943; - int anInt4944; - Class341 aClass341_4945; - int anInt4946; - int anInt4947; - Class221 aClass221_4948; - /*synthetic*/ static Class aClass4949; - - static final void method1247(File file, boolean bool, boolean bool_0_) { - if (Class168.anObject2256 == null) Class133.method1142((byte) 26); - anInt4939++; - if (bool_0_ != false) aClass299_4938 = null; - try { - Method method = (HotSpotDiagnosticMXBean.class.getDeclaredMethod("dumpHeap", (aClass4949 != null ? aClass4949 : (aClass4949 = String.class)), Boolean.TYPE)); - method.invoke(Class168.anObject2256, file.getAbsolutePath(), new Boolean(bool)); - } catch (Exception exception) { - System.out.println("HeapDump error:"); - exception.printStackTrace(); - } - } - - public final Class223 method51(byte i) { - anInt4941++; - if (i <= 116) aClass299_4938 = null; - return Class174.aClass223_2307; - } - - static final Class221[] method1248(int i) { - anInt4933++; - if (i < 11) aClass299_4938 = null; - return (new Class221[]{Class5_Sub1.aClass221_8344, Class104.aClass221_1620, Class223.aClass221_2893}); - } - - public static void method1249(boolean bool) { - if (bool != true) method1248(-21); - aClass356_4934 = null; - aClass299_4938 = null; - } - - Class158(String string, Class221 class221, Class341 class341, int i, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_) { - try { - this.anInt4946 = i_3_; - this.anInt4932 = i_1_; - this.anInt4943 = i_2_; - this.anInt4944 = i_7_; - this.aString4942 = string; - this.aClass221_4948 = class221; - this.anInt4931 = i_5_; - this.anInt4940 = i_9_; - this.anInt4947 = i; - this.aClass341_4945 = class341; - this.anInt4936 = i_6_; - this.anInt4935 = i_8_; - this.anInt4937 = i_4_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ot.(" + (string != null ? "{...}" : "null") + ',' + (class221 != null ? "{...}" : "null") + ',' + (class341 != null ? "{...}" : "null") + ',' + i + ',' + i_1_ + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ',' + i_9_ + ')')); - } - } - -} diff --git a/client/src/Class159.java b/client/src/Class159.java deleted file mode 100644 index e8079836b..000000000 --- a/client/src/Class159.java +++ /dev/null @@ -1,64 +0,0 @@ -/* Class159 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class159 { - static int anInt2124; - int anInt2125 = 0; - static int anInt2126; - static int anInt2127 = 500; - static int anInt2128; - - private final void method1251(Class348_Sub49 class348_sub49, int i, int i_0_) { - if (i == 5) this.anInt2125 = class348_sub49.readUnsignedShort(842397944); - anInt2126++; - int i_1_ = 60 % ((i_0_ - 33) / 57); - } - - static final void method1252(int i, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, byte i_8_, int i_9_) { - anInt2124++; - if (Class320.method2547(i_2_, (byte) 84)) { - int i_11_ = 0; - int i_12_ = 0; - int i_13_ = 0; - int i_14_ = 0; - int i_15_ = 0; - if (Class59_Sub1.aBoolean5300) { - i_11_ = Class314.anInt3941; - i_15_ = Class348_Sub42_Sub16_Sub2.anInt10463; - i_13_ = Class314.anInt3939; - i_12_ = Class239.anInt3142; - i_14_ = Class348_Sub3.anInt6585; - Class348_Sub42_Sub16_Sub2.anInt10463 = 1; - } - if (Class369_Sub2.aClass46ArrayArray8584[i_2_] == null) Class348_Sub40_Sub7.method3064(i_9_, i, i_4_ < 0, i_5_, i_3_, i_4_, i_6_, false, (Class348_Sub40_Sub33.aClass46ArrayArray9427[i_2_]), -1, i_7_); - else Class348_Sub40_Sub7.method3064(i_9_, i, i_4_ < 0, i_5_, i_3_, i_4_, i_6_, false, (Class369_Sub2.aClass46ArrayArray8584[i_2_]), -1, i_7_); - if (i_8_ <= 58) anInt2127 = -84; - if (Class59_Sub1.aBoolean5300) { - if (i_4_ >= 0 && Class348_Sub42_Sub16_Sub2.anInt10463 == 2) Class338.method2663(-5590, Class314.anInt3941, Class314.anInt3939, Class239.anInt3142, Class348_Sub3.anInt6585); - Class348_Sub42_Sub16_Sub2.anInt10463 = i_15_; - Class314.anInt3939 = i_13_; - Class239.anInt3142 = i_12_; - Class348_Sub3.anInt6585 = i_14_; - Class314.anInt3941 = i_11_; - } - } else if (i_4_ == -1) { - for (int i_10_ = 0; i_10_ < 100; i_10_++) - Class152.aBooleanArray2076[i_10_] = true; - } else Class152.aBooleanArray2076[i_4_] = true; - } - - final void method1253(Class348_Sub49 class348_sub49, boolean bool) { - for (; ; ) { - int i = class348_sub49.readUnsignedByte(255); - if (i == 0) break; - method1251(class348_sub49, i, -105); - } - anInt2128++; - if (bool != true) this.anInt2125 = 58; - } - - public Class159() { - /* empty */ - } -} diff --git a/client/src/Class16.java b/client/src/Class16.java deleted file mode 100644 index e5159715a..000000000 --- a/client/src/Class16.java +++ /dev/null @@ -1,64 +0,0 @@ -/* Class16 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class16 { - static int anInt230; - static Class148 aClass148_231; - static int anInt232; - static Class45 aClass45_233; - static int anInt234; - - static final void method258(int i, int i_0_) { - Class357 class357 = Class147.aClass357ArrayArrayArray2029[0][i][i_0_]; - for (int i_1_ = 0; i_1_ < 3; i_1_++) { - Class357 class357_2_ = (Class147.aClass357ArrayArrayArray2029[i_1_][i][i_0_] = Class147.aClass357ArrayArrayArray2029[i_1_ + 1][i][i_0_]); - if (class357_2_ != null) { - for (Class148 class148 = class357_2_.aClass148_4396; class148 != null; class148 = class148.aClass148_2038) { - Class318_Sub1_Sub3 class318_sub1_sub3 = class148.aClass318_Sub1_Sub3_2040; - if ((class318_sub1_sub3.aShort8743 == i) && (class318_sub1_sub3.aShort8750) == i_0_) class318_sub1_sub3.plane--; - } - if (class357_2_.aClass318_Sub1_Sub1_4402 != null) class357_2_.aClass318_Sub1_Sub1_4402.plane--; - if (class357_2_.aClass318_Sub1_Sub4_4406 != null) class357_2_.aClass318_Sub1_Sub4_4406.plane--; - if (class357_2_.aClass318_Sub1_Sub4_4403 != null) class357_2_.aClass318_Sub1_Sub4_4403.plane--; - if (class357_2_.aClass318_Sub1_Sub5_4395 != null) class357_2_.aClass318_Sub1_Sub5_4395.plane--; - if (class357_2_.aClass318_Sub1_Sub5_4407 != null) class357_2_.aClass318_Sub1_Sub5_4407.plane--; - } - } - if (Class147.aClass357ArrayArrayArray2029[0][i][i_0_] == null) { - Class147.aClass357ArrayArrayArray2029[0][i][i_0_] = new Class357(0); - Class147.aClass357ArrayArrayArray2029[0][i][i_0_].aByte4399 = (byte) 1; - } - Class147.aClass357ArrayArrayArray2029[0][i][i_0_].aClass357_4400 = class357; - Class147.aClass357ArrayArrayArray2029[3][i][i_0_] = null; - } - - static final void method259(int i, int i_3_, boolean bool, String string, int i_4_) { - anInt230++; - Class178.method1356(false, null, i, i_4_, bool, string, true); - int i_5_ = -1 / ((i_3_ - -33) / 63); - } - - static final int method260(boolean bool) { - if (bool != false) aClass45_233 = null; - anInt232++; - if (Class348_Sub49.anInt7207 == 1) return Class348_Sub40_Sub8.anInt9157; - return 0; - } - - public static void method261(byte i) { - aClass45_233 = null; - aClass148_231 = null; - if (i != -120) method262(-23); - } - - static final void method262(int i) { - anInt234++; - if (i != 0) aClass148_231 = null; - if (!Class160.aBoolean2130) { - Class160.aBoolean2130 = true; - Class205.aFloat2687 += (-Class205.aFloat2687 + -24.0F) / 2.0F; - Class369_Sub3_Sub1.aBoolean10174 = true; - } - } -} diff --git a/client/src/Class160.java b/client/src/Class160.java deleted file mode 100644 index 20324c3b9..000000000 --- a/client/src/Class160.java +++ /dev/null @@ -1,54 +0,0 @@ -/* Class160 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class160 { - static int anInt2129; - static boolean aBoolean2130; - static float[] aFloatArray2131; - char aChar2132; - static boolean[][] aBooleanArrayArray2133 = {{true, true, true, true, true, true, true, true, true, true, true, true, true}, {true, true, true, false, false, false, true, true, false, false, false, false, true}, {true, false, false, false, false, true, true, true, false, false, false, false, false}, {false, false, true, true, true, true, false, false, false, false, false, false, false}, {true, true, true, true, true, true, false, false, false, false, false, false, false}, {true, true, true, false, false, true, true, true, false, false, false, false, false}, {true, true, false, false, false, true, true, true, false, false, false, false, true}, {true, true, false, false, false, false, false, true, false, false, false, false, false}, {false, true, true, true, true, true, true, true, false, false, false, false, false}, {true, false, false, false, true, true, true, true, true, true, false, false, false}, {true, true, true, true, true, false, false, false, true, true, false, false, false}, {true, true, true, false, false, false, false, false, false, false, true, true, false}, new boolean[13], {true, true, true, true, true, true, true, true, true, true, true, true, true}, new boolean[13]}; - static int anInt2134; - int anInt2135 = 1; - static int anInt2136; - static float aFloat2137; - - public static void method1254(byte i) { - aBooleanArrayArray2133 = null; - aFloatArray2131 = null; - if (i <= 11) aBooleanArrayArray2133 = null; - } - - final void method1255(Class348_Sub49 class348_sub49, int i) { - for (; ; ) { - int i_0_ = class348_sub49.readUnsignedByte(255); - if (i_0_ == 0) break; - method1256(-90, i_0_, class348_sub49); - } - if (i != -1) aBoolean2130 = false; - anInt2129++; - } - - private final void method1256(int i, int i_1_, Class348_Sub49 class348_sub49) { - anInt2136++; - if (i_1_ != 1) { - if (i_1_ == 2) this.anInt2135 = 0; - } else this.aChar2132 = Class50_Sub1.method462(class348_sub49.readByte(-119), -128); - if (i >= -73) method1255(null, -43); - } - - static final boolean method1257(int i, int i_2_, int i_3_) { - if (i > -23) aBooleanArrayArray2133 = null; - anInt2134++; - return (0x20 & i_3_) != 0; - } - - public Class160() { - /* empty */ - } - - static { - aFloatArray2131 = new float[4]; - aBoolean2130 = false; - } -} diff --git a/client/src/Class161.java b/client/src/Class161.java deleted file mode 100644 index 0866f66be..000000000 --- a/client/src/Class161.java +++ /dev/null @@ -1,116 +0,0 @@ -/* Class161 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class161 { - int anInt2138; - private boolean aBoolean2139 = false; - static int anInt2140; - static int anInt2141; - static int anInt2142; - int anInt2143; - static int anInt2144; - static int[] anIntArray2145 = new int[25]; - private boolean aBoolean2146 = true; - String aString2147; - int anInt2148; - static int anInt2149; - static int anInt2150; - static boolean aBoolean2151 = false; - - static final boolean method1258(int i, int i_0_, int i_1_) { - if (i_0_ != -9301) method1263(true); - anInt2150++; - return (0x800 & i) != 0; - } - - final void method1259(int i) { - if (i != 0) method1258(39, 119, 4); - anInt2149++; - if (!aBoolean2146) { - aBoolean2139 = true; - aBoolean2146 = true; - } else if (!aBoolean2139) aBoolean2146 = false; - else aBoolean2139 = false; - } - - static final void method1260(boolean bool, int i, Class190 class190) { - if (Class348_Sub40_Sub10.aBoolean9181) { - Class348_Sub40_Sub10.aBoolean9181 = false; - i = 0; - } - anInt2140++; - if (Class239_Sub14.aClass190_5990 == null || !Class239_Sub14.aClass190_5990.method1424(class190, (byte) 84)) { - Class239_Sub14.aClass190_5990 = class190; - Class348_Sub33.aLong6963 = Class62.method599(-78); - Class206.anInt4889 = Class286_Sub5.anInt6248 = i; - if (Class206.anInt4889 == 0) Class348_Sub40_Sub32.method3134(-1); - else { - Class318_Sub1_Sub1.aFloat8725 = Class160.aFloat2137; - Canvas_Sub1.anInt70 = Class187.anInt2500; - Class239_Sub24.aClass299_6098 = Class158.aClass299_4938; - Class64.aFloat1136 = Class244.aFloat4626; - Class245.aFloat3172 = Class269.aFloat3462; - Class45.aFloat670 = Class348_Sub3.aFloat6586; - Class258_Sub4.aFloat8560 = Class239_Sub10.aFloat5945; - Class246.aFloat3177 = Class361.aFloat4455; - Class318_Sub1_Sub3.anInt8739 = Class119_Sub1.anInt4703; - Class239_Sub19.anInt6042 = Class36.anInt486; - } - } - if (bool != false) aBoolean2151 = true; - } - - public static void method1261(byte i) { - if (i > 46) anIntArray2145 = null; - } - - final Class144 method1262(Class297 class297, byte i) { - if (i != 36) method1258(-105, -70, -80); - anInt2144++; - return class297.method2235(aBoolean2139, (aBoolean2146 ? this.anInt2138 : this.anInt2148), this.aString2147, i ^ 0x6e65); - } - - static final void method1263(boolean bool) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub27_7255), 1); - anInt2142++; - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub27_7261), 1); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub14_7250), 1); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub14_7264), 1); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub4_7220), 1); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub9_7256), 1); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub13_7236), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub1_7246), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub21_7270), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub7_7238), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub24_7235), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub28_7230), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub18_7259), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub16_7247), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub20_7216), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub20_7248), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub15_7224), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub6_7226), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub12_7243), 0); - Class237.method1686(55); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub23_7231), 2); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub29_7229), 2); - Class348_Sub40.method3038(-1); - Class76.method773(bool); - RuntimeException_Sub1.aBoolean4604 = true; - } - - final boolean method1264(byte i, Class161 class161_2_) { - if (i <= 69) return false; - anInt2141++; - if (class161_2_ != null) { - return (this.anInt2143 == class161_2_.anInt2143) && this.aString2147.equals(class161_2_.aString2147); - } - return false; - } - - public Class161() { - this.anInt2138 = Loader.port; - this.anInt2148 = 43594; - } -} diff --git a/client/src/Class162.java b/client/src/Class162.java deleted file mode 100644 index 33935ee4c..000000000 --- a/client/src/Class162.java +++ /dev/null @@ -1,38 +0,0 @@ -/* Class162 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class162 { - static int anInt2152; - int anInt2153; - static int anInt2154; - int anInt2155; - int anInt2156; - static Class74 aClass74_2157 = new Class74(5, 16); - int anInt2158; - - static final void method1265(int i) { - anInt2152++; - if (i != 16) aClass74_2157 = null; - if (Class348_Sub40.aClass279_7042 != null) Class348_Sub40.aClass279_7042.method2093(true); - if (Class194.aClass279_2596 != null) Class194.aClass279_2596.method2093(true); - } - - final Class162 method1266(int i, int i_0_) { - if (i != 5) method1266(82, -25); - anInt2154++; - return new Class162(this.anInt2153, i_0_, this.anInt2156, this.anInt2158); - } - - Class162(int i, int i_1_, int i_2_, int i_3_) { - this.anInt2156 = i_2_; - this.anInt2155 = i_1_; - this.anInt2158 = i_3_; - this.anInt2153 = i; - } - - public static void method1267(byte i) { - aClass74_2157 = null; - if (i != 85) method1267((byte) 121); - } -} diff --git a/client/src/Class163.java b/client/src/Class163.java deleted file mode 100644 index 4bea163ba..000000000 --- a/client/src/Class163.java +++ /dev/null @@ -1,171 +0,0 @@ -/* Class163 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class163 { - private int anInt2159; - static int anInt2160; - static int anInt2161; - static boolean[] aBooleanArray2162; - private int[][] anIntArrayArray2163; - private int anInt2164; - static int[][] anIntArrayArray2165 = {{2, 4, 6, 0}, {0, 2, 3, 5, 6, 4}, {0, 1, 4, 5}, {4, 6, 0, 2}, {2, 4, 0}, {0, 2, 4}, {6, 0, 1, 2, 4, 5}, {0, 1, 2, 4, 6, 7}, {4, 7, 6, 0}, {0, 8, 6, 1, 9, 2, 9, 4}, {2, 9, 4, 0, 8, 6}, {2, 11, 3, 7, 10, 10, 6, 6}, {2, 4, 6, 0}}; - static int anInt2166; - static int anInt2167; - static int anInt2168; - static Class17[] aClass17Array2169 = new Class17[14]; - static int anInt2170; - static int anInt2171; - - final short[] method1268(int i, short[] is) { - anInt2171++; - int i_0_ = 14 % ((i - 48) / 33); - if (anIntArrayArray2163 != null) { - int i_1_ = 14 + (int) ((long) anInt2159 * (long) is.length / (long) anInt2164); - int[] is_2_ = new int[i_1_]; - int i_3_ = 0; - int i_4_ = 0; - for (int i_5_ = 0; i_5_ < is.length; i_5_++) { - int i_6_ = is[i_5_]; - int[] is_7_ = anIntArrayArray2163[i_4_]; - for (int i_8_ = 0; i_8_ < 14; i_8_++) - is_2_[i_3_ + i_8_] += i_6_ * is_7_[i_8_] >> 2; - i_4_ += anInt2159; - int i_9_ = i_4_ / anInt2164; - i_4_ -= anInt2164 * i_9_; - i_3_ += i_9_; - } - is = new short[i_1_]; - for (int i_10_ = 0; i_10_ < i_1_; i_10_++) { - int i_11_ = 8192 + is_2_[i_10_] >> 14; - if (i_11_ >= -32768) { - if (i_11_ > 32767) is[i_10_] = (short) 32767; - else is[i_10_] = (short) i_11_; - } else is[i_10_] = (short) -32768; - } - } - return is; - } - - static final Class348_Sub42_Sub14 method1269(int i) { - if (i != -17096) return null; - anInt2168++; - return Class75.aClass348_Sub42_Sub14_1243; - } - - final int method1270(int i, byte i_12_) { - if (i_12_ != -85) return 59; - anInt2160++; - if (anIntArrayArray2163 != null) i = (int) ((long) i * (long) anInt2159 / (long) anInt2164); - return i; - } - - static final void method1271(int i) { - anInt2166++; - synchronized (Class342.aClass60_4254) { - Class342.aClass60_4254.method587(-86); - if (i != 0) method1276(25); - } - } - - final byte[] method1272(byte[] is, int i) { - if (i != 1) method1276(71); - anInt2167++; - if (anIntArrayArray2163 != null) { - int i_13_ = ((int) ((long) anInt2159 * (long) is.length / (long) anInt2164) + 14); - int[] is_14_ = new int[i_13_]; - int i_15_ = 0; - int i_16_ = 0; - for (int i_17_ = 0; i_17_ < is.length; i_17_++) { - int i_18_ = is[i_17_]; - int[] is_19_ = anIntArrayArray2163[i_16_]; - for (int i_20_ = 0; i_20_ < 14; i_20_++) - is_14_[i_15_ + i_20_] += i_18_ * is_19_[i_20_]; - i_16_ += anInt2159; - int i_21_ = i_16_ / anInt2164; - i_16_ -= anInt2164 * i_21_; - i_15_ += i_21_; - } - is = new byte[i_13_]; - for (int i_22_ = 0; i_22_ < i_13_; i_22_++) { - int i_23_ = is_14_[i_22_] - -32768 >> 16; - if (i_23_ >= -128) { - if (i_23_ > 127) is[i_22_] = (byte) 127; - else is[i_22_] = (byte) i_23_; - } else is[i_22_] = (byte) -128; - } - } - return is; - } - - static final String method1273(int[] is, boolean bool) { - anInt2161++; - StringBuffer stringbuffer = new StringBuffer(); - int i = Class239_Sub1.anInt5850; - for (int i_24_ = 0; is.length > i_24_; i_24_++) { - Class321 class321 = Class348_Sub23_Sub2.aClass187_9036.method1408(-12637, is[i_24_]); - if (class321.anInt4000 != -1) { - Class105 class105 = ((Class105) Class34.aClass60_463.method583(class321.anInt4000, -74)); - if (class105 == null) { - Class207 class207 = Class207.method1521(Class21.aClass45_322, class321.anInt4000, 0); - if (class207 != null) { - class105 = Class348_Sub8.aHa6654.method3691(class207, true); - Class34.aClass60_463.method582(class105, class321.anInt4000, (byte) -127); - } - } - if (class105 != null) { - Class341.aClass105Array4234[i] = class105; - stringbuffer.append(" "); - i++; - } - } - } - if (bool != true) aBooleanArray2162 = null; - return stringbuffer.toString(); - } - - static final void method1274(Class76 class76) { - Class71.aClass76_1208 = class76; - } - - final int method1275(int i, int i_25_) { - int i_26_ = 26 % ((i - -29) / 32); - anInt2170++; - if (anIntArrayArray2163 != null) i_25_ = ((int) ((long) i_25_ * (long) anInt2159 / (long) anInt2164) + 6); - return i_25_; - } - - Class163(int i, int i_27_) { - if (i != i_27_) { - int i_28_ = Class348_Sub1_Sub1.method2726(-21806, i, i_27_); - i /= i_28_; - i_27_ /= i_28_; - anIntArrayArray2163 = new int[i][14]; - anInt2159 = i_27_; - anInt2164 = i; - for (int i_29_ = 0; i_29_ < i; i_29_++) { - int[] is = anIntArrayArray2163[i_29_]; - double d = (double) i_29_ / (double) i + 6.0; - int i_30_ = (int) Math.floor(1.0 + (-7.0 + d)); - if (i_30_ < 0) i_30_ = 0; - int i_31_ = (int) Math.ceil(d + 7.0); - if (i_31_ > 14) i_31_ = 14; - double d_32_ = (double) i_27_ / (double) i; - for (/**/; i_30_ < i_31_; i_30_++) { - double d_33_ = 3.141592653589793 * (-d + (double) i_30_); - double d_34_ = d_32_; - if (d_33_ < -1.0E-4 || d_33_ > 1.0E-4) d_34_ *= Math.sin(d_33_) / d_33_; - d_34_ *= (Math.cos(0.2243994752564138 * ((double) i_30_ - d)) * 0.46) + 0.54; - is[i_30_] = (int) Math.floor(0.5 + d_34_ * 65536.0); - } - } - } - } - - public static void method1276(int i) { - int i_35_ = 101 % ((i - -20) / 49); - aClass17Array2169 = null; - anIntArrayArray2165 = null; - aBooleanArray2162 = null; - } -} diff --git a/client/src/Class164.java b/client/src/Class164.java deleted file mode 100644 index 56d4ce5e7..000000000 --- a/client/src/Class164.java +++ /dev/null @@ -1,308 +0,0 @@ -/* Class164 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jagex3.jagmisc.jagmisc; - -final class Class164 { - static int anInt2172; - static int anInt2173; - static int anInt2174; - static int anInt2175; - - static final void method1277(byte i) { - anInt2175++; - Class351.aClass60_4327.method590(i + -62); - Class358.aClass60_4417.method590(0); - Class239_Sub24.aClass60_6096.method590(0); - if (i != 62) method1277((byte) 43); - Class348_Sub40_Sub9.aClass60_9171.method590(0); - } - - static final int method1278(int i) { - if (Class316.aClass348_Sub51_3959.aClass239_Sub11_7265.method1768(i + -3690) == 0) { - for (int i_0_ = 0; (i_0_ < Class348_Sub42_Sub19.anInt9699); i_0_++) { - if (Class348_Sub42_Sub5.anInterface6Array9534[i_0_].method28((byte) 31) == 115 || Class348_Sub42_Sub5.anInterface6Array9534[i_0_].method28((byte) 71) == 83) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub11_7265), 1); - Class304.aBoolean3847 = true; - break; - } - } - } - anInt2174++; - if (Class348_Sub42_Sub15.aClass56_9660 == Class56.aClass56_1018) { - Runtime runtime = Runtime.getRuntime(); - int i_1_ = (int) ((runtime.totalMemory() + -runtime.freeMemory()) / 1024L); - long l = Class62.method599(i + 28559); - if (Class348_Sub17.aLong6791 == 0) Class348_Sub17.aLong6791 = l; - if (i_1_ > 16384 && -Class348_Sub17.aLong6791 + l < 5000) { - if (-Class173.aLong2286 + l > 1000L) { - System.gc(); - Class173.aLong2286 = l; - } - return 0; - } - } - if (Class56.aClass56_1023 == Class348_Sub42_Sub15.aClass56_9660) { - if (Class175.aClass340_2327 == null) Class175.aClass340_2327 = new Class340(Class348_Sub4.aClass248_6601, Class39.aClass112_520, Class52.aBigInteger4896, Class348_Sub42_Sub15.aBigInteger9657); - if (!Class175.aClass340_2327.method2674(7)) return 0; - Class348_Sub23.method2965(null, 0, true, 0); - Class286_Sub7.aBoolean6289 = !Class348_Sub14.method2804((byte) -63); - Class286_Sub7.aClass45_6277 = Class369_Sub2.method3571(false, (Class286_Sub7.aBoolean6289 ? 34 : 32), (byte) -23, 1); - Class348_Sub40_Sub17_Sub1.aClass45_10426 = Class369_Sub2.method3571(false, 33, (byte) -23, 1); - Class104.aClass45_1627 = Class369_Sub2.method3571(false, 13, (byte) -23, 1); - } - if (Class56.aClass56_1024 == Class348_Sub42_Sub15.aClass56_9660) { - boolean bool = Class348_Sub40_Sub17_Sub1.aClass45_10426.method401(89); - int i_2_ = Class13.aClass314_Sub1Array223[33].method2349(1); - i_2_ = i_2_ + Class13.aClass314_Sub1Array223[!Class286_Sub7.aBoolean6289 ? 32 : 34].method2349(1); - i_2_ += Class13.aClass314_Sub1Array223[13].method2349(1); - i_2_ = i_2_ + (!bool ? Class348_Sub40_Sub17_Sub1.aClass45_10426.method398((byte) -31) : 100); - if (i_2_ != 400) return i_2_ / 4; - Class348_Sub31.anInt6924 = Class286_Sub7.aClass45_6277.method389(77); - Class108.anInt1663 = Class348_Sub40_Sub17_Sub1.aClass45_10426.method389(i + 28561); - Class106.method1001(Class286_Sub7.aClass45_6277, 0); - int i_3_ = Class316.aClass348_Sub51_3959.aClass239_Sub19_7257.method1805(i ^ 0x11ae); - Class186_Sub1.aClass111_5813 = new Class111(Class348_Sub42_Sub8_Sub2.aClass230_10434, Class348_Sub33.anInt6967, Class348_Sub40_Sub17_Sub1.aClass45_10426); - int[] is = Class186_Sub1.aClass111_5813.method1046(i_3_, 0); - if (is.length == 0) is = Class186_Sub1.aClass111_5813.method1046(0, 0); - Class106 class106 = new Class106(Class286_Sub7.aClass45_6277, Class104.aClass45_1627); - if (is.length > 0) { - Class182.anInterface16Array2447 = new Interface16[is.length]; - for (int i_4_ = 0; (Class182.anInterface16Array2447.length > i_4_); i_4_++) - Class182.anInterface16Array2447[i_4_] = new Class195(Class186_Sub1.aClass111_5813.method1043(is[i_4_], (byte) 102), class106); - } - } - if (Class348_Sub42_Sub15.aClass56_9660 == Class56.aClass56_1026) Class348_Sub42_Sub3.method3178(Class104.aClass45_1627, -81, Class5_Sub1.method184(1084489728), Class286_Sub7.aClass45_6277); - if (Class56.aClass56_1027 == Class348_Sub42_Sub15.aClass56_9660) { - int i_5_ = Class348_Sub50.method3420(0); - int i_6_ = Class348_Sub42_Sub16.method3256(2); - if (i_6_ > i_5_) return 100 * i_5_ / i_6_; - } - if (Class348_Sub42_Sub15.aClass56_9660 == Class56.aClass56_1028) { - if (Class182.anInterface16Array2447 != null && (Class182.anInterface16Array2447.length > 0)) { - if (Class182.anInterface16Array2447[0].method60(-19079) < 100) return 0; - if (Class182.anInterface16Array2447.length > 1 && Class186_Sub1.aClass111_5813.method1044(86) && (Class182.anInterface16Array2447[1].method60(i + 9581) < 100)) return 0; - } - Class170.method1311(5139, Class348_Sub8.aHa6654); - Class369.method3568(Class348_Sub8.aHa6654, 4); - Class348_Sub49.method3379(2, 1); - } - if (Class348_Sub42_Sub15.aClass56_9660 == Class56.aClass56_1029) { - for (int i_7_ = 0; i_7_ < 4; i_7_++) - Class348_Sub45.aClass361Array7108[i_7_] = Class105_Sub1.method988(Class348_Sub40_Sub3.anInt9109, 1, Class367_Sub4.anInt7319); - } - if (Class348_Sub42_Sub15.aClass56_9660 == Class56.aClass56_1030) { - Class21.aClass45_322 = Class369_Sub2.method3571(false, 8, (byte) -23, 1); - Class348_Sub29.aClass45_6909 = Class369_Sub2.method3571(false, 0, (byte) -23, 1); - Class186.aClass45_2490 = Class369_Sub2.method3571(false, 1, (byte) -23, 1); - Class95.aClass45_1541 = Class369_Sub2.method3571(false, 2, (byte) -23, 1); - Class348_Sub35.aClass45_6980 = Class369_Sub2.method3571(false, 3, (byte) -23, 1); - Class129.aClass45_1878 = Class369_Sub2.method3571(false, 4, (byte) -23, 1); - Class367_Sub10.aClass45_7382 = Class369_Sub2.method3571(true, 5, (byte) -23, 1); - Class59_Sub2_Sub1.aClass45_8667 = Class369_Sub2.method3571(true, 6, (byte) -23, 1); - aa_Sub3.aClass45_5207 = Class369_Sub2.method3571(false, 7, (byte) -23, 1); - Class369_Sub2.aClass45_8589 = Class369_Sub2.method3571(false, 9, (byte) -23, 1); - Class16.aClass45_233 = Class369_Sub2.method3571(false, 10, (byte) -23, 1); - Class348_Sub23_Sub2.aClass45_9033 = Class369_Sub2.method3571(false, 11, (byte) -23, 1); - Class113.aClass45_1743 = Class369_Sub2.method3571(false, 12, (byte) -23, 1); - Class239_Sub4.aClass45_5878 = Class369_Sub2.method3571(false, 14, (byte) -23, 1); - Class123.aClass45_1815 = Class369_Sub2.method3571(false, 15, (byte) -23, 1); - Class94.aClass45_1538 = Class369_Sub2.method3571(false, 16, (byte) -23, 1); - Class247.aClass45_3183 = Class369_Sub2.method3571(false, 17, (byte) -23, 1); - Class216.aClass45_4975 = Class369_Sub2.method3571(false, 18, (byte) -23, 1); - Class174.aClass45_2306 = Class369_Sub2.method3571(false, 19, (byte) -23, 1); - r_Sub2.aClass45_10480 = Class369_Sub2.method3571(false, 20, (byte) -23, 1); - Class78.aClass45_1322 = Class369_Sub2.method3571(false, 21, (byte) -23, 1); - Class348_Sub16_Sub3.aClass45_8926 = Class369_Sub2.method3571(false, 22, (byte) -23, 1); - Class348_Sub32.aClass45_6950 = Class369_Sub2.method3571(true, 23, (byte) -23, 1); - Class130.aClass45_1897 = Class369_Sub2.method3571(false, 24, (byte) -23, 1); - Class82.aClass45_1434 = Class369_Sub2.method3571(false, 25, (byte) -23, 1); - Class348_Sub11.aClass45_4770 = Class369_Sub2.method3571(true, 26, (byte) -23, 1); - Class239.aClass45_3146 = Class369_Sub2.method3571(false, 27, (byte) -23, 1); - Class367_Sub8.aClass45_7362 = Class369_Sub2.method3571(true, 28, (byte) -23, 1); - Class262.aClass45_3323 = Class369_Sub2.method3571(false, 29, (byte) -23, 1); - Class126.aClass45_4984 = Class369_Sub2.method3571(true, 30, (byte) -23, 1); - Class136.aClass45_4796 = Class369_Sub2.method3571(true, 31, (byte) -23, 1); - Class146.aClass45_2015 = Class369_Sub2.method3571(true, 36, (byte) -23, 2); - } - if (Class56.aClass56_1031 == Class348_Sub42_Sub15.aClass56_9660) { - int i_8_ = 0; - for (int i_9_ = 0; i_9_ < 37; i_9_++) { - if (Class13.aClass314_Sub1Array223[i_9_] != null) i_8_ += (Class13.aClass314_Sub1Array223[i_9_].method2349(i + 28661) * Class8.anIntArray164[i_9_] / 100); - } - if (i_8_ != 100) { - if (Class268.anInt3435 < 0) Class268.anInt3435 = i_8_; - return ((i_8_ + -Class268.anInt3435) * 100 / (-Class268.anInt3435 + 100)); - } - Class286_Sub5.method2159((byte) -109, Class21.aClass45_322); - Class348_Sub42_Sub3.method3178(Class104.aClass45_1627, -124, Class5_Sub1.method184(i ^ ~0x40a46ff3), Class21.aClass45_322); - } - if (Class56.aClass56_1032 == Class348_Sub42_Sub15.aClass56_9660) { - if (Class345.anInt4270 == -1) Class345.anInt4270 = Class59_Sub2_Sub1.aClass45_8667.method417("scape main", 0); - r_Sub1.method3290(56); - Class348_Sub49.method3379(2, 2); - } - if (Class56.aClass56_1033 == Class348_Sub42_Sub15.aClass56_9660) Class30.method323(Class126.aClass45_4984, Class348_Sub23_Sub1.aClass297_8992, (byte) 95); - if (Class56.aClass56_1034 == Class348_Sub42_Sub15.aClass56_9660) { - int i_10_ = Class239_Sub11.method1770((byte) -25); - if (i_10_ < 100) return i_10_; - Class263.method2013(Class367_Sub8.aClass45_7362.method415((byte) 73, 1), (byte) 112); - RuntimeException_Sub1.method4012(Class367_Sub8.aClass45_7362.method415((byte) 73, 3), (byte) -111); - } - if (i != -28660) return 2; - if (Class348_Sub42_Sub15.aClass56_9660 == Class56.aClass56_1035) { - if (Class348_Sub31.anInt6923 != -1 && !aa_Sub3.aClass45_5207.method420(-10499, Class348_Sub31.anInt6923, 0)) return 99; - Class348_Sub40_Sub4.aD9113 = new Class244(Class348_Sub11.aClass45_4770, Class369_Sub2.aClass45_8589, Class21.aClass45_322); - Class101_Sub3.aClass326_5764 = new Class326(Class348_Sub42_Sub8_Sub2.aClass230_10434, Class348_Sub33.anInt6967, Class95.aClass45_1541); - Class64_Sub3.aClass261_5558 = new Class261(Class348_Sub42_Sub8_Sub2.aClass230_10434, Class348_Sub33.anInt6967, Class95.aClass45_1541); - Class239.aClass166_3147 = new Class166(Class348_Sub42_Sub8_Sub2.aClass230_10434, Class348_Sub33.anInt6967, Class95.aClass45_1541, Class21.aClass45_322); - Class348_Sub7.aClass33_6653 = new Class33(Class348_Sub42_Sub8_Sub2.aClass230_10434, Class348_Sub33.anInt6967, Class247.aClass45_3183); - Class229.aClass268_2979 = new Class268(Class348_Sub42_Sub8_Sub2.aClass230_10434, Class348_Sub33.anInt6967, Class95.aClass45_1541); - Class362.aClass183_4460 = new Class183(Class348_Sub42_Sub8_Sub2.aClass230_10434, Class348_Sub33.anInt6967, Class95.aClass45_1541); - Class73.aClass219_4782 = new Class219(Class348_Sub42_Sub8_Sub2.aClass230_10434, Class348_Sub33.anInt6967, Class95.aClass45_1541, Class21.aClass45_322); - Class348_Sub40_Sub25.aClass150_9342 = new Class150(Class348_Sub42_Sub8_Sub2.aClass230_10434, Class348_Sub33.anInt6967, Class95.aClass45_1541, aa_Sub3.aClass45_5207); - Class127_Sub1.aClass271_8378 = new Class271(Class348_Sub42_Sub8_Sub2.aClass230_10434, Class348_Sub33.anInt6967, Class95.aClass45_1541); - Class348_Sub1.aClass185_6559 = new Class185(Class348_Sub42_Sub8_Sub2.aClass230_10434, Class348_Sub33.anInt6967, Class95.aClass45_1541); - Class348_Sub40_Sub12.aClass263_9195 = new Class263(Class348_Sub42_Sub8_Sub2.aClass230_10434, Class348_Sub33.anInt6967, true, Class94.aClass45_1538, aa_Sub3.aClass45_5207); - Class348_Sub23_Sub2.aClass153_9031 = new Class153(Class348_Sub42_Sub8_Sub2.aClass230_10434, Class348_Sub33.anInt6967, Class95.aClass45_1541, Class21.aClass45_322); - Class2.aClass141_117 = new Class141(Class348_Sub42_Sub8_Sub2.aClass230_10434, Class348_Sub33.anInt6967, Class95.aClass45_1541, Class21.aClass45_322); - Class189.aClass278_2529 = new Class278(Class348_Sub42_Sub8_Sub2.aClass230_10434, Class348_Sub33.anInt6967, true, Class216.aClass45_4975, aa_Sub3.aClass45_5207); - Exception_Sub1.aClass255_112 = new Class255(Class348_Sub42_Sub8_Sub2.aClass230_10434, Class348_Sub33.anInt6967, true, Class101_Sub3.aClass326_5764, Class174.aClass45_2306, aa_Sub3.aClass45_5207); - Class348_Sub23_Sub2.aClass187_9036 = new Class187(Class348_Sub42_Sub8_Sub2.aClass230_10434, Class348_Sub33.anInt6967, Class95.aClass45_1541); - Class10.aClass87_191 = new Class87(Class348_Sub42_Sub8_Sub2.aClass230_10434, Class348_Sub33.anInt6967, r_Sub2.aClass45_10480, Class348_Sub29.aClass45_6909, Class186.aClass45_2490); - Class30.aClass84_413 = new Class84(Class348_Sub42_Sub8_Sub2.aClass230_10434, Class348_Sub33.anInt6967, Class95.aClass45_1541); - Class123.aClass25_1813 = new Class25(Class348_Sub42_Sub8_Sub2.aClass230_10434, Class348_Sub33.anInt6967, Class95.aClass45_1541); - Class348_Sub40_Sub18.aClass319_9245 = new Class319(Class348_Sub42_Sub8_Sub2.aClass230_10434, Class348_Sub33.anInt6967, Class78.aClass45_1322, aa_Sub3.aClass45_5207); - Class136.aClass65_4787 = new Class65(Class348_Sub42_Sub8_Sub2.aClass230_10434, Class348_Sub33.anInt6967, Class95.aClass45_1541); - Class91.aClass82_1523 = new Class82(Class348_Sub42_Sub8_Sub2.aClass230_10434, Class348_Sub33.anInt6967, Class95.aClass45_1541); - Class239_Sub14.aClass259_5995 = new Class259(Class348_Sub42_Sub8_Sub2.aClass230_10434, Class348_Sub33.anInt6967, Class95.aClass45_1541); - Class229.aClass194_2981 = new Class194(Class348_Sub42_Sub8_Sub2.aClass230_10434, Class348_Sub33.anInt6967, Class348_Sub16_Sub3.aClass45_8926); - Class269.aClass217_3453 = new Class217(Class348_Sub42_Sub8_Sub2.aClass230_10434, Class348_Sub33.anInt6967, Class95.aClass45_1541); - Class65.method699(Class104.aClass45_1627, (byte) -100, Class348_Sub35.aClass45_6980, Class21.aClass45_322, aa_Sub3.aClass45_5207); - Applet_Sub1.method85(0, Class262.aClass45_3323); - Class200.aClass226_2639 = new Class226(Class348_Sub33.anInt6967, Class130.aClass45_1897, Class82.aClass45_1434); - Class239_Sub6.aClass355_5900 = new Class355(Class348_Sub33.anInt6967, Class130.aClass45_1897, Class82.aClass45_1434, new Class28()); - Class150.method1202(0); - Class348_Sub40_Sub12.aClass263_9195.method2008(i + 28539, Class316.aClass348_Sub51_3959.aClass239_Sub27_7261.method1840(i + -3690) == 0); - Class318_Sub1_Sub3_Sub3.aClass170_10209 = new Class170(); - Class348_Sub40.method3038(-1); - RuntimeException_Sub1.method4011(i + 29684, Class239.aClass45_3146); - Class348_Sub29.method3004(aa_Sub3.aClass45_5207, false, Class348_Sub40_Sub4.aD9113); - Class296 class296 = new Class296(Class16.aClass45_233.method391("huffman", "", -29832)); - ha_Sub3.method3896(class296, (byte) 13); - try { - jagmisc.init(); - } catch (Throwable throwable) { - /* empty */ - } - Class348_Sub8.aClass241_6660 = Class229.method1631(false); - Class348_Sub40_Sub20.aClass348_Sub4_9264 = new Class348_Sub4(true, Class348_Sub23_Sub1.aClass297_8992); - } - if (Class348_Sub42_Sub15.aClass56_9660 == Class56.aClass56_1037) { - int i_11_ = (Class348_Sub22.method2958(22388, Class21.aClass45_322) + Class348_Sub49_Sub2.method3405(2012104999, true)); - int i_12_ = (Class288_Sub1.method2188(-30477) - -Class348_Sub42_Sub16.method3256(2)); - if (i_11_ < i_12_) return i_11_ * 100 / i_12_; - } - if (Class56.aClass56_1038 == Class348_Sub42_Sub15.aClass56_9660) - Class75.method752(Class348_Sub32.aClass45_6950, Class229.aClass268_2979, Class362.aClass183_4460, Class348_Sub40_Sub12.aClass263_9195, Class348_Sub23_Sub2.aClass153_9031, Class2.aClass141_117, Class318_Sub1_Sub3_Sub3.aClass170_10209); - if (Class56.aClass56_1039 == Class348_Sub42_Sub15.aClass56_9660) { - // TODO make cache edit to extend these or change id's - Class77.anIntArray1303 = (new int[Class239_Sub14.aClass259_5995.anInt3305 + 1000]); - Class286_Sub6.aBooleanArray6270 = (new boolean[Class239_Sub14.aClass259_5995.anInt3305 + 1000]); - Class258_Sub2.aStringArray8532 = new String[Class91.aClass82_1523.anInt1439]; - for (int i_13_ = 0; Class239_Sub14.aClass259_5995.anInt3305 + 1000 > i_13_; i_13_++) { - if (Class239_Sub14.aClass259_5995.method1976(i_13_, i ^ ~0x6fc0).anInt2135 == 0) { - Class286_Sub6.aBooleanArray6270[i_13_] = true; - Class335.anInt4168++; - } - Class77.anIntArray1303[i_13_] = -1; - } - Class116.method1063(1); - Class285.anInt4737 = Class348_Sub35.aClass45_6980.method417("loginscreen", i ^ ~0x6ff3); - Class54.anInt970 = Class348_Sub35.aClass45_6980.method417("lobbyscreen", 0); - Class367_Sub10.aClass45_7382.method404(0, true, false); - Class59_Sub2_Sub1.aClass45_8667.method404(0, true, true); - Class21.aClass45_322.method404(i + 28660, true, true); - Class104.aClass45_1627.method404(0, true, true); - Class16.aClass45_233.method404(0, true, true); - Class348_Sub35.aClass45_6980.method404(0, true, true); - Class95.aClass45_1541.anInt634 = 2; - Class319.aBoolean3988 = true; - Class247.aClass45_3183.anInt634 = 2; - Class94.aClass45_1538.anInt634 = 2; - Class216.aClass45_4975.anInt634 = 2; - Class174.aClass45_2306.anInt634 = 2; - r_Sub2.aClass45_10480.anInt634 = 2; - Class78.aClass45_1322.anInt634 = 2; - } - if (Class348_Sub42_Sub15.aClass56_9660 == Class56.aClass56_1040) { - if (!Class320.method2547(Class285.anInt4737, (byte) 84)) return 0; - boolean bool = true; - for (int i_14_ = 0; i_14_ < (Class348_Sub40_Sub33.aClass46ArrayArray9427[Class285.anInt4737]).length; i_14_++) { - Class46 class46 = (Class348_Sub40_Sub33.aClass46ArrayArray9427[Class285.anInt4737][i_14_]); - if (class46.anInt774 == 5 && class46.anInt756 != -1 && !Class21.aClass45_322.method420(-10499, (class46.anInt756), 0)) bool = false; - } - if (!bool) return 0; - } - if (Class56.aClass56_1041 == Class348_Sub42_Sub15.aClass56_9660) Class348_Sub42_Sub8.method3198(true, (byte) -45); - if (Class348_Sub42_Sub15.aClass56_9660 == Class56.aClass56_1042) { - Class51.aClass311_897.method2319((byte) -56); - try { - Class348_Sub32.aThread6946.join(); - } catch (InterruptedException interruptedexception) { - return 0; - } - Class186_Sub1.aClass111_5813 = null; - Class348_Sub40_Sub17_Sub1.aClass45_10426 = null; - Class51.aClass311_897 = null; - Class182.anInterface16Array2447 = null; - Class348_Sub32.aThread6946 = null; - Class286_Sub7.aClass45_6277 = null; - ha_Sub3.method3886(i + 28556); - Class348_Sub23_Sub2.aBoolean9038 = Class316.aClass348_Sub51_3959.aClass239_Sub11_7265.method1768(-32350) == 1; - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub11_7265), 1); - if (Class348_Sub23_Sub2.aBoolean9038) Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub25_7251), 0); - else if (Class316.aClass348_Sub51_3959.aClass239_Sub25_7251.aBoolean6113 && Class348_Sub40_Sub20.aClass348_Sub4_9264.anInt6609 < 512 && Class348_Sub40_Sub20.aClass348_Sub4_9264.anInt6609 != 0) - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub25_7251), 0); - Class14_Sub2.method243(i ^ ~0x6fd6); - if (Class348_Sub23_Sub2.aBoolean9038) Class367_Sub10.method3553(false, (byte) 108, 0); - else Class367_Sub10.method3553(false, (byte) 102, Class316.aClass348_Sub51_3959.aClass239_Sub25_7251.method1829(-32350)); - Class85.method830(Class316.aClass348_Sub51_3959.aClass239_Sub8_7227.method1751(-32350), -1, (byte) 102, false, -1); - Class170.method1311(5139, Class348_Sub8.aHa6654); - Class369.method3568(Class348_Sub8.aHa6654, i ^ ~0x6ff7); - Class255.method1933(Class21.aClass45_322, Class348_Sub8.aHa6654, true); - Class101.method901(Class113.aClass105Array1744, 515880227); - } - return Class348_Sub40_Sub6.method3063(false); - } - - static final String method1279(boolean bool, int i, String[] strings, int i_15_) { - try { - anInt2172++; - if (i == 0) return ""; - if (i == 1) { - String string = strings[i_15_]; - if (string == null) return "null"; - return string; - } - int i_16_ = i + i_15_; - int i_17_ = 0; - for (int i_18_ = i_15_; i_16_ > i_18_; i_18_++) { - String string = strings[i_18_]; - if (string == null) i_17_ += 4; - else i_17_ += string.length(); - } - StringBuffer stringbuffer = new StringBuffer(i_17_); - for (int i_19_ = i_15_; i_19_ < i_16_; i_19_++) { - String string = strings[i_19_]; - if (string == null) stringbuffer.append("null"); - else stringbuffer.append(string); - } - if (bool != true) method1277((byte) -20); - return stringbuffer.toString(); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("pea.C(" + bool + ',' + i + ',' + (strings != null ? "{...}" : "null") + ',' + i_15_ + ')')); - } - } -} diff --git a/client/src/Class165.java b/client/src/Class165.java deleted file mode 100644 index ff57a4c93..000000000 --- a/client/src/Class165.java +++ /dev/null @@ -1,42 +0,0 @@ -/* Class165 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; -import java.awt.image.BufferedImage; - -final class Class165 { - private final Robot aRobot2176; - private Component aComponent2177; - - final void method1280(int i, int i_0_) { - aRobot2176.mouseMove(i, i_0_); - } - - final void method1281(Component component, boolean bool) { - if (bool) component = null; - else if (component == null) throw new NullPointerException(); - if (component != aComponent2177) { - if (null != aComponent2177) { - aComponent2177.setCursor(null); - aComponent2177 = null; - } - if (null != component) { - component.setCursor(component.getToolkit().createCustomCursor(new BufferedImage(1, 1, 2), new Point(0, 0), null)); - aComponent2177 = component; - } - } - } - - final void method1282(Component component, int[] is, int i, int i_1_, Point point) { - if (is != null) { - BufferedImage bufferedimage = new BufferedImage(i, i_1_, 2); - bufferedimage.setRGB(0, 0, i, i_1_, is, 0, i); - component.setCursor(component.getToolkit().createCustomCursor(bufferedimage, point, null)); - } else component.setCursor(null); - } - - Class165() throws Exception { - aRobot2176 = new Robot(); - } -} diff --git a/client/src/Class166.java b/client/src/Class166.java deleted file mode 100644 index 6808bc581..000000000 --- a/client/src/Class166.java +++ /dev/null @@ -1,133 +0,0 @@ -/* Class166 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.File; - -final class Class166 { - static int anInt2178; - static int anInt2179; - Class45 aClass45_2180; - static int anInt2181; - static int anInt2182; - static Class114 aClass114_2183 = new Class114(0, -1); - static int anInt2184; - private final Class60 aClass60_2185 = new Class60(64); - static int anInt2186; - static Class262 aClass262_2187 = new Class262(); - private final Class45 aClass45_2188; - static int anInt2189; - Class60 aClass60_2190 = new Class60(2); - - final void method1283(int i) { - synchronized (aClass60_2185) { - aClass60_2185.method587(-76); - } - anInt2178++; - synchronized (this.aClass60_2190) { - this.aClass60_2190.method587(-110); - } - if (i != 1) method1286(null, -124, null); - } - - public static void method1284(int i) { - aClass114_2183 = null; - if (i == -21165) aClass262_2187 = null; - } - - final void method1285(int i, int i_0_) { - anInt2189++; - synchronized (aClass60_2185) { - aClass60_2185.method578(2, i); - } - synchronized (this.aClass60_2190) { - if (i_0_ != 8) this.aClass45_2180 = null; - this.aClass60_2190.method578(i_0_ + -6, i); - } - } - - static final void method1286(File file, int i, String string) { - do { - try { - anInt2181++; - Class275.aHashtable3548.put(string, file); - if (i == 64) break; - aClass114_2183 = null; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("pg.F(" + (file != null ? "{...}" : "null") + ',' + i + ',' + (string != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - final Class222 method1287(byte i, int i_1_) { - anInt2182++; - Class222 class222; - synchronized (aClass60_2185) { - class222 = (Class222) aClass60_2185.method583(i_1_, i ^ ~0x1d); - } - if (class222 != null) return class222; - if (i != -104) this.aClass60_2190 = null; - byte[] is; - synchronized (aClass45_2188) { - is = aClass45_2188.method410(-1860, 33, i_1_); - } - class222 = new Class222(); - class222.aClass166_2886 = this; - if (is != null) class222.method1611(new Class348_Sub49(is), false); - synchronized (aClass60_2185) { - aClass60_2185.method582(class222, i_1_, (byte) -116); - } - return class222; - } - - static final void method1288(int i, int i_2_) { - anInt2186++; - for (Class348 class348 = Class226.aClass356_2959.method3484(0); class348 != null; class348 = Class226.aClass356_2959.method3482(0)) { - if ((class348.aLong4291 >> 48 & 0xffffL) == (long) i_2_) class348.method2715((byte) 119); - } - } - - static final void method1289(int i, int i_3_, int i_4_, int i_5_, int i_6_) { - anInt2179++; - int i_7_ = Class26.anInt385; - if (i_5_ != 8) method1284(-59); - int i_8_ = Class93.anInt1534; - if (Class59_Sub1.aBoolean5300) { - i_7_ += s_Sub3.method4008((byte) -126); - i_8_ += Class16.method260(false); - } - if (Class239_Sub20.anInt6048 == 1) { - Class105 class105 = (Class348_Sub40_Sub37.aClass105Array9467[Class348.anInt4292 / 100]); - class105.method974(i_7_ - 8, i_8_ + -8); - Class338.method2663(-5590, -8 + i_7_, -8 + (i_7_ - -class105.method966()), -8 + i_8_, class105.method980() + -8 + i_8_); - } - if (Class239_Sub20.anInt6048 == 2) { - Class105 class105 = (Class348_Sub40_Sub37.aClass105Array9467[Class348.anInt4292 / 100 + 4]); - class105.method974(i_7_ + -8, -8 + i_8_); - Class338.method2663(-5590, i_7_ - 8, class105.method966() + i_7_ + -8, -8 + i_8_, class105.method980() + -8 + i_8_); - } - Class289.method2192((byte) 80); - } - - final void method1290(int i) { - anInt2184++; - synchronized (aClass60_2185) { - aClass60_2185.method590(0); - } - synchronized (this.aClass60_2190) { - this.aClass60_2190.method590(0); - if (i != -8) aClass114_2183 = null; - } - } - - Class166(Class230 class230, int i, Class45 class45, Class45 class45_9_) { - try { - aClass45_2188 = class45; - this.aClass45_2180 = class45_9_; - aClass45_2188.method407(0, 33); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("pg.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ',' + (class45_9_ != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class167.java b/client/src/Class167.java deleted file mode 100644 index 9c45bc86f..000000000 --- a/client/src/Class167.java +++ /dev/null @@ -1,218 +0,0 @@ -/* Class167 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class167 { - private final ha_Sub1 aHa_Sub1_2191; - int anInt2192; - static int anInt2193; - static int anInt2194; - boolean aBoolean2195 = false; - static Class114 aClass114_2196 = new Class114(111, -1); - int anInt2197; - Runnable aRunnable2198; - static int anInt2199; - static int anInt2200; - boolean aBoolean2201; - boolean aBoolean2202; - static float aFloat2203; - static int anInt2204 = 0; - int anInt2205; - static int anInt2206; - static Class229 aClass229_2207 = new Class229(); - static Class45 aClass45_2208; - Class101_Sub1 aClass101_Sub1_2209; - int anInt2210; - int anInt2211; - int[] anIntArray2212; - int[] anIntArray2213; - int[] anIntArray2214; - int anInt2215; - int[] anIntArray2216; - int[] anIntArray2217; - int[] anIntArray2218; - Class64_Sub1 aClass64_Sub1_2219; - Class109 aClass109_2220; - int anInt2221; - int[] anIntArray2222; - Class64_Sub1 aClass64_Sub1_2223; - Class64_Sub1 aClass64_Sub1_2224; - Class64_Sub1 aClass64_Sub1_2225; - float[] aFloatArray2226; - Class64_Sub1 aClass64_Sub1_2227; - int[] anIntArray2228; - int anInt2229; - int[] anIntArray2230; - Class64_Sub1 aClass64_Sub1_2231; - int[] anIntArray2232; - Class64_Sub1 aClass64_Sub1_2233; - int[] anIntArray2234; - int[] anIntArray2235; - int[] anIntArray2236; - int[] anIntArray2237; - int[] anIntArray2238; - Class64_Sub1 aClass64_Sub1_2239; - int[] anIntArray2240; - int[] anIntArray2241; - int[] anIntArray2242; - Class64_Sub1 aClass64_Sub1_2243; - int[] anIntArray2244; - int[] anIntArray2245; - Class64_Sub1 aClass64_Sub1_2246; - int[] anIntArray2247; - - final void method1291(int i, Runnable runnable) { - if (i == 10000) { - this.aRunnable2198 = runnable; - anInt2193++; - } - } - - final void method1292(int i) { - if (i == 64) { - anInt2194++; - this.aClass109_2220 = new Class109(aHa_Sub1_2191, this); - } - } - - public static void method1293(int i) { - aClass114_2196 = null; - aClass45_2208 = null; - aClass229_2207 = null; - if (i != 1) method1295(null, -117, -102); - } - - static final boolean method1294(byte i, byte[] is) { - anInt2199++; - Class348_Sub49 class348_sub49 = new Class348_Sub49(is); - if (i > -98) method1294((byte) 73, null); - int i_0_ = class348_sub49.readUnsignedByte(255); - if (i_0_ != 2) return false; - boolean bool = class348_sub49.readUnsignedByte(255) == 1; - if (bool) Class59_Sub2_Sub2.method569((byte) -123, class348_sub49); - Class348_Sub42_Sub6.method3188((byte) -67, class348_sub49); - return true; - } - - static final void method1295(Class318_Sub1[] class318_sub1s, int i, int i_1_) { - if (i < i_1_) { - int i_2_ = (i + i_1_) / 2; - int i_3_ = i; - Class318_Sub1 class318_sub1 = class318_sub1s[i_2_]; - class318_sub1s[i_2_] = class318_sub1s[i_1_]; - class318_sub1s[i_1_] = class318_sub1; - int i_4_ = class318_sub1.anInt6389; - for (int i_5_ = i; i_5_ < i_1_; i_5_++) { - if (class318_sub1s[i_5_].anInt6389 < i_4_ + (i_5_ & 0x1)) { - Class318_Sub1 class318_sub1_6_ = class318_sub1s[i_5_]; - class318_sub1s[i_5_] = class318_sub1s[i_3_]; - class318_sub1s[i_3_++] = class318_sub1_6_; - } - } - class318_sub1s[i_1_] = class318_sub1s[i_3_]; - class318_sub1s[i_3_] = class318_sub1; - method1295(class318_sub1s, i, i_3_ - 1); - method1295(class318_sub1s, i_3_ + 1, i_1_); - } - } - - static final boolean method1296(boolean bool) { - if (bool != true) method1297((byte) 88, null, null, null, null); - anInt2200++; - if (Class348_Sub43.anInt7068 != 0) return true; - return Class98.aClass348_Sub16_Sub3_1564.method2860(120); - } - - static final void method1297(byte i, Player player, int[] is, int[] is_7_, int[] is_8_) { - try { - anInt2206++; - if (i > -96) aFloat2203 = 0.6824298F; - for (int i_9_ = 0; is_7_.length > i_9_; i_9_++) { - int i_10_ = is_7_[i_9_]; - int i_11_ = is[i_9_]; - int i_12_ = is_8_[i_9_]; - for (int i_13_ = 0; i_11_ != 0 && i_13_ < (player.aClass182Array10308).length; i_11_ >>>= 1) { - if ((i_11_ & 0x1) != 0) { - if (i_10_ != -1) { - Class17 class17 = Class10.aClass87_191.method835(i_10_, 7); - int i_14_ = class17.anInt248; - Class182 class182 = (player.aClass182Array10308[i_13_]); - if (class182 != null) { - if (class182.anInt2454 == i_10_) { - if (i_14_ == 0) class182 = player.aClass182Array10308[i_13_] = null; - else if (i_14_ == 1) { - class182.anInt2448 = i_12_; - class182.anInt2455 = 1; - class182.anInt2456 = 0; - class182.anInt2451 = 0; - class182.anInt2445 = 0; - if (!player.aBoolean10309) Class287.method2178(player, 0, class17, -54); - } else if (i_14_ == 2) class182.anInt2445 = 0; - } else if (class17.anInt239 >= Class10.aClass87_191.method835((class182.anInt2454), 7).anInt239) class182 = player.aClass182Array10308[i_13_] = null; - } - if (class182 == null) { - class182 = player.aClass182Array10308[i_13_] = new Class182(); - class182.anInt2445 = 0; - class182.anInt2455 = 1; - class182.anInt2448 = i_12_; - class182.anInt2456 = 0; - class182.anInt2454 = i_10_; - class182.anInt2451 = 0; - if (!player.aBoolean10309) Class287.method2178(player, 0, class17, -123); - } - } else player.aClass182Array10308[i_13_] = null; - } - i_13_++; - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("pga.G(" + i + ',' + (player != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ',' + (is_7_ != null ? "{...}" : "null") + ',' + (is_8_ != null ? "{...}" : "null") + ')')); - } - } - - Class167(ha_Sub1 var_ha_Sub1) { - this.anInt2192 = 0; - this.anInt2197 = 0; - this.anInt2205 = 0; - this.aBoolean2202 = true; - this.anInt2211 = 0; - this.aClass101_Sub1_2209 = new Class101_Sub1(); - this.anIntArray2213 = new int[Class64_Sub1.anInt5350]; - this.anIntArray2214 = new int[Class64_Sub1.anInt5350]; - this.anIntArray2212 = new int[64]; - this.aFloatArray2226 = new float[2]; - this.anIntArray2216 = new int[10000]; - this.anIntArray2222 = new int[Class64_Sub1.anInt5350]; - this.anIntArray2232 = new int[64]; - this.anIntArray2218 = new int[8]; - this.anIntArray2237 = new int[Class64_Sub1.anInt5350]; - this.anIntArray2236 = new int[10000]; - this.anIntArray2230 = new int[Class64_Sub1.anInt5350]; - this.anIntArray2240 = new int[10]; - this.anIntArray2228 = new int[64]; - this.anIntArray2238 = new int[10]; - this.anIntArray2241 = new int[8]; - this.anIntArray2235 = new int[10]; - this.anIntArray2245 = new int[8]; - this.anIntArray2217 = new int[64]; - this.anIntArray2244 = new int[Class64_Sub1.anInt5350]; - this.anIntArray2247 = new int[10]; - this.anIntArray2234 = new int[Class64_Sub1.anInt5350]; - aHa_Sub1_2191 = var_ha_Sub1; - this.anInt2210 = aHa_Sub1_2191.anInt7494 + -255; - this.aClass109_2220 = new Class109(var_ha_Sub1, this); - this.aClass64_Sub1_2243 = new Class64_Sub1(aHa_Sub1_2191); - this.aClass64_Sub1_2224 = new Class64_Sub1(aHa_Sub1_2191); - this.aClass64_Sub1_2219 = new Class64_Sub1(aHa_Sub1_2191); - this.aClass64_Sub1_2239 = new Class64_Sub1(aHa_Sub1_2191); - this.aClass64_Sub1_2233 = new Class64_Sub1(aHa_Sub1_2191); - this.aClass64_Sub1_2231 = new Class64_Sub1(aHa_Sub1_2191); - this.aClass64_Sub1_2223 = new Class64_Sub1(aHa_Sub1_2191); - this.aClass64_Sub1_2227 = new Class64_Sub1(aHa_Sub1_2191); - this.aClass64_Sub1_2246 = new Class64_Sub1(aHa_Sub1_2191); - this.aClass64_Sub1_2225 = new Class64_Sub1(aHa_Sub1_2191); - this.anIntArray2242 = new int[Class64_Sub1.anInt5346]; - for (int i = 0; Class64_Sub1.anInt5346 > i; i++) - this.anIntArray2242[i] = -1; - } -} diff --git a/client/src/Class168.java b/client/src/Class168.java deleted file mode 100644 index 4cb9506d2..000000000 --- a/client/src/Class168.java +++ /dev/null @@ -1,36 +0,0 @@ -/* Class168 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class168 { - static Class114 aClass114_2248; - static Class46 aClass46_2249; - static short aShort2250 = 205; - static int anInt2251; - static Class323 aClass323_2252; - static int anInt2253; - static int anInt2254 = 0; - static Class114 aClass114_2255; - static volatile Object anObject2256; - - public static void method1298(int i) { - if (i != -1) aClass46_2249 = null; - anObject2256 = null; - aClass114_2255 = null; - aClass46_2249 = null; - aClass114_2248 = null; - aClass323_2252 = null; - } - - static final boolean method1299(int i, int i_0_, int i_1_) { - anInt2253++; - if (i != 393216) anInt2251 = -106; - return Class348_Sub42_Sub16_Sub1.method3262(i_0_, i_1_, 102) | (i_0_ & 0x60000) != 0 || Class348_Sub9.method2783(i_1_, (byte) -99, i_0_); - } - - static { - aClass114_2248 = new Class114(25, 6); - aClass114_2255 = new Class114(99, -1); - anObject2256 = null; - } -} diff --git a/client/src/Class169.java b/client/src/Class169.java deleted file mode 100644 index 936980819..000000000 --- a/client/src/Class169.java +++ /dev/null @@ -1,104 +0,0 @@ -/* Class169 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jagex3.jagmisc.jagmisc; - -import java.net.InetAddress; - -final class Class169 implements Runnable { - static int anInt2257; - private Class262 aClass262_2258 = new Class262(); - private Thread aThread2259 = new Thread(this); - static Class105[] aClass105Array2260; - static Class19[] aClass19Array2261; - static int anInt2262; - static int anInt2263; - static int anInt2264 = 0; - static int anInt2265 = Class299.method2253(1600, 124); - static int anInt2266; - - public final void run() { - anInt2263++; - for (; ; ) { - Class348_Sub26 class348_sub26; - synchronized (aClass262_2258) { - Class348 class348; - for (class348 = aClass262_2258.method1997(8); class348 == null; class348 = aClass262_2258.method1997(8)) { - try { - aClass262_2258.wait(); - } catch (InterruptedException interruptedexception) { - /* empty */ - } - } - if (!(class348 instanceof Class348_Sub26)) break; - class348_sub26 = (Class348_Sub26) class348; - } - int i; - try { - byte[] is = InetAddress.getByName(class348_sub26.aString6888).getAddress(); - i = jagmisc.ping(is[0], is[1], is[2], is[3], 1000L); - } catch (Throwable throwable) { - i = 1000; - } - class348_sub26.anInt6887 = i; - } - } - - public static void method1300(byte i) { - if (i < -127) { - aClass105Array2260 = null; - aClass19Array2261 = null; - } - } - - static final void method1301(r var_r, int i, int i_0_, int i_1_, boolean[] bools) { - if (aa_Sub1.aSArray5191 != Class332.aSArray4142) { - int i_2_ = Class348_Sub1_Sub1.aSArray8801[i].method3986(i_0_, i_1_, (byte) -93); - for (int i_3_ = 0; i_3_ <= i; i_3_++) { - if (bools == null || bools[i_3_]) { - s var_s = Class348_Sub1_Sub1.aSArray8801[i_3_]; - if (var_s != null) var_s.wa(var_r, i_0_, i_2_ - var_s.method3986(i_0_, i_1_, (byte) -103), i_1_, 0, false); - } - } - } - } - - public Class169() { - aThread2259.setDaemon(true); - aThread2259.start(); - } - - final Class348_Sub26 method1302(int i, String string) { - anInt2266++; - if (aThread2259 == null) throw new IllegalStateException(""); - if (string == null) throw new IllegalArgumentException(""); - if (i != -5255) aClass262_2258 = null; - Class348_Sub26 class348_sub26 = new Class348_Sub26(string); - method1304(1000, class348_sub26); - return class348_sub26; - } - - final void method1303(byte i) { - anInt2257++; - if (aThread2259 != null) { - method1304(1000, new Class348()); - try { - aThread2259.join(); - } catch (InterruptedException interruptedexception) { - /* empty */ - } - aThread2259 = null; - if (i != 16) anInt2264 = 87; - } - } - - private final void method1304(int i, Class348 class348) { - if (i != 1000) method1303((byte) 95); - synchronized (aClass262_2258) { - aClass262_2258.method1999(class348, -20180); - aClass262_2258.notify(); - } - anInt2262++; - } -} diff --git a/client/src/Class17.java b/client/src/Class17.java deleted file mode 100644 index d9549fbc9..000000000 --- a/client/src/Class17.java +++ /dev/null @@ -1,337 +0,0 @@ -/* Class17 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class17 { - static int anInt235; - int[] anIntArray236; - int[] anIntArray237; - int anInt238; - int anInt239; - static int anInt240; - boolean aBoolean241; - boolean aBoolean242 = false; - static int anInt243; - int anInt244; - int anInt245; - static int anInt246; - static boolean aBoolean247 = false; - int anInt248; - int anInt249; - static Class114 aClass114_250 = new Class114(4, 1); - Class87 aClass87_251; - static Interface4 anInterface4_252; - int[] anIntArray253; - boolean aBoolean254; - static int[][] anIntArrayArray255; - static int[] anIntArray256; - static int anInt257; - static int anInt258; - static int anInt259; - private int[] anIntArray260; - int anInt261; - int anInt262; - boolean[] aBooleanArray263; - int[][] anIntArrayArray264; - int[] anIntArray265; - static int anInt266; - int[] anIntArray267; - boolean aBoolean268; - int anInt269; - - final int method263(int i, int i_0_, int i_1_, boolean bool) { - anInt240++; - int i_2_ = 0; - int i_3_ = 0; - int i_4_ = this.anIntArray237[i_1_]; - Class348_Sub42_Sub17 class348_sub42_sub17 = null; - Class348_Sub42_Sub17 class348_sub42_sub17_5_ = this.aClass87_251.method839(i_4_ >> 16, 3); - i_4_ &= 0xffff; - if (class348_sub42_sub17_5_ == null) return i_2_; - if ((this.aBoolean241 || Class28.aBoolean5002) && i != -1 && i < this.anIntArray237.length) { - i_3_ = this.anIntArray237[i]; - class348_sub42_sub17 = this.aClass87_251.method839(i_3_ >> 16, 3); - i_3_ &= 0xffff; - } - if (i_0_ <= 96) return 11; - if (this.aBoolean242) i_2_ |= 0x200; - if (class348_sub42_sub17_5_.method3272(i_4_, 0)) i_2_ |= 0x80; - if (class348_sub42_sub17_5_.method3271(i_4_, 14)) i_2_ |= 0x100; - if (class348_sub42_sub17_5_.method3267((byte) -110, i_4_)) i_2_ |= 0x400; - if (class348_sub42_sub17 != null) { - if (class348_sub42_sub17.method3272(i_3_, 0)) i_2_ |= 0x80; - if (class348_sub42_sub17.method3271(i_3_, 14)) i_2_ |= 0x100; - if (class348_sub42_sub17.method3267((byte) -127, i_3_)) i_2_ |= 0x400; - } - if (anIntArray260 != null && bool) { - if (anIntArray260.length > i_1_) { - int i_6_ = anIntArray260[i_1_]; - if (i_6_ != 65535) { - Class348_Sub42_Sub17 class348_sub42_sub17_7_ = this.aClass87_251.method839(i_6_ >> 16, 3); - i_6_ &= 0xffff; - if (class348_sub42_sub17_7_ != null) { - if (class348_sub42_sub17_7_.method3272(i_6_, 0)) i_2_ |= 0x80; - if (class348_sub42_sub17_7_.method3271(i_6_, 14)) i_2_ |= 0x100; - if (class348_sub42_sub17_7_.method3267((byte) -103, i_6_)) i_2_ |= 0x400; - } - } - } - if ((this.aBoolean241 || Class28.aBoolean5002) && i != -1 && anIntArray260.length > i) { - int i_8_ = anIntArray260[i]; - if (i_8_ != 65535) { - Class348_Sub42_Sub17 class348_sub42_sub17_9_ = this.aClass87_251.method839(i_8_ >> 16, 3); - i_8_ &= 0xffff; - if (class348_sub42_sub17_9_ != null) { - if (class348_sub42_sub17_9_.method3272(i_8_, 0)) i_2_ |= 0x80; - if (class348_sub42_sub17_9_.method3271(i_8_, 14)) i_2_ |= 0x100; - if (class348_sub42_sub17_9_.method3267((byte) -93, i_8_)) i_2_ |= 0x400; - } - } - } - } - return 0x20 | i_2_; - } - - private final void method264(Class348_Sub49 class348_sub49, int i, int i_10_) { - if (i_10_ == -14861) { - if (i == 1) { - int i_11_ = class348_sub49.readUnsignedShort(842397944);//short - this.anIntArray267 = new int[i_11_]; - this.anIntArray237 = new int[i_11_]; - for (int i_12_ = 0; i_12_ < i_11_; i_12_++) - this.anIntArray267[i_12_] = class348_sub49.readUnsignedShort(842397944); - for (int i_13_ = 0; i_13_ < i_11_; i_13_++) - this.anIntArray237[i_13_] = class348_sub49.readUnsignedShort(842397944); - for (int i_14_ = 0; i_14_ < i_11_; i_14_++) - this.anIntArray237[i_14_] = ((class348_sub49.readUnsignedShort(842397944) << 16) + this.anIntArray237[i_14_]); - } else if (i != 2) { - if (i == 3) { - this.aBooleanArray263 = new boolean[256]; - int i_15_ = class348_sub49.readUnsignedByte(255);//byte - for (int i_16_ = 0; i_16_ < i_15_; i_16_++) - this.aBooleanArray263[class348_sub49.readUnsignedByte(255)] = true; - } else if (i != 5) { - if (i != 6) { - if (i != 7) { - if (i != 8) { - if (i == 9) this.anInt262 = class348_sub49.readUnsignedByte(i_10_ + 15116); - else if (i == 10) this.anInt245 = class348_sub49.readUnsignedByte(i_10_ ^ ~0x3af3); - else if (i != 11) { - if (i == 12) { - int i_17_ = class348_sub49.readUnsignedByte(i_10_ ^ ~0x3af3); - anIntArray260 = new int[i_17_]; - for (int i_18_ = 0; (i_18_ < i_17_); i_18_++) - anIntArray260[i_18_] = class348_sub49.readUnsignedShort(842397944); - for (int i_19_ = 0; (i_17_ > i_19_); i_19_++) - anIntArray260[i_19_] = ((class348_sub49.readUnsignedShort(842397944) << 16) - -anIntArray260[i_19_]); - } else if (i == 13) { - int i_20_ = class348_sub49.readUnsignedShort(842397944); - this.anIntArrayArray264 = new int[i_20_][]; - for (int i_21_ = 0; (i_21_ < i_20_); i_21_++) { - int i_22_ = class348_sub49.readUnsignedByte(255); - if (i_22_ > 0) { - this.anIntArrayArray264[i_21_] = new int[i_22_]; - this.anIntArrayArray264[i_21_][0] = class348_sub49.readMedium(-1); - for (int i_23_ = 1; (i_22_ > i_23_); i_23_++) - this.anIntArrayArray264[i_21_][i_23_] = (class348_sub49.readUnsignedShort(842397944)); - } - } - } else if (i != 14) { - if (i == 15) this.aBoolean241 = true; - else if (i == 16) this.aBoolean254 = true; - else if (i == 18) this.aBoolean268 = true; - else if (i == 19) { - if (this.anIntArray253 == null) { - this.anIntArray253 = (new int[(this.anIntArrayArray264).length]); - for (int i_24_ = 0; ((this.anIntArrayArray264).length > i_24_); i_24_++) - this.anIntArray253[i_24_] = 255; - } - this.anIntArray253[class348_sub49.readUnsignedByte(255)] = (class348_sub49.readUnsignedByte(Class348_Sub21.method2955(i_10_, -15092))); - } else if (i == 20) { - if ((this.anIntArray236 == null) || (this.anIntArray265) == null) { - this.anIntArray236 = (new int[(this.anIntArrayArray264).length]); - this.anIntArray265 = (new int[(this.anIntArrayArray264).length]); - for (int i_25_ = 0; ((this.anIntArrayArray264).length > i_25_); i_25_++) { - this.anIntArray236[i_25_] = 256; - this.anIntArray265[i_25_] = 256; - } - } - int i_26_ = class348_sub49.readUnsignedByte(255); - this.anIntArray236[i_26_] = class348_sub49.readUnsignedShort(842397944); - this.anIntArray265[i_26_] = class348_sub49.readUnsignedShort(842397944); - } - } else this.aBoolean242 = true; - } else this.anInt248 = class348_sub49.readUnsignedByte(255); - } else this.anInt244 = class348_sub49.readUnsignedByte(255); - } else this.anInt261 = class348_sub49.readUnsignedShort(842397944); - } else this.anInt249 = class348_sub49.readUnsignedShort(842397944); - } else this.anInt239 = class348_sub49.readUnsignedByte(i_10_ + 15116); - } else this.anInt238 = class348_sub49.readUnsignedShort(i_10_ ^ ~0x3235c2f4); - anInt257++; - } - } - - public static void method265(boolean bool) { - anIntArray256 = null; - aClass114_250 = null; - anIntArrayArray255 = null; - if (bool != false) method268(-22, -54, -101, -115, -107, 90, 13, -47); - anInterface4_252 = null; - } - - final Class64 method266(Class64 class64, int i, int i_27_, byte i_28_, int i_29_, int i_30_, int i_31_, int i_32_) { - anInt266++; - int i_33_ = this.anIntArray267[i_29_]; - i_29_ = this.anIntArray237[i_29_]; - Class348_Sub42_Sub17 class348_sub42_sub17 = this.aClass87_251.method839(i_29_ >> 16, 3); - i_29_ &= 0xffff; - if (class348_sub42_sub17 == null) return class64.method614(i_28_, i_32_, true); - Class348_Sub42_Sub17 class348_sub42_sub17_34_ = null; - if ((this.aBoolean241 || Class28.aBoolean5002) && i_27_ != -1 && this.anIntArray237.length > i_27_) { - i_27_ = this.anIntArray237[i_27_]; - class348_sub42_sub17_34_ = this.aClass87_251.method839(i_27_ >> 16, 3); - i_27_ &= 0xffff; - } - if (this.aBoolean242) i_32_ |= 0x200; - if (class348_sub42_sub17.method3272(i_29_, i_31_ + -663780816)) i_32_ |= 0x80; - if (class348_sub42_sub17.method3271(i_29_, i_31_ ^ 0x27907dde)) i_32_ |= 0x100; - if (class348_sub42_sub17.method3267((byte) -126, i_29_)) i_32_ |= 0x400; - if (class348_sub42_sub17_34_ != null) { - if (class348_sub42_sub17_34_.method3272(i_27_, 0)) i_32_ |= 0x80; - if (class348_sub42_sub17_34_.method3271(i_27_, 14)) i_32_ |= 0x100; - if (class348_sub42_sub17_34_.method3267((byte) -125, i_27_)) i_32_ |= 0x400; - } - i_32_ |= 0x20; - if (i_31_ != 663780816) this.anInt261 = -72; - Class64 class64_35_ = class64.method614(i_28_, i_32_, true); - class64_35_.method617(i_29_, i_33_, class348_sub42_sub17_34_, i, class348_sub42_sub17, false, this.aBoolean242, i_27_, i_30_ + -1); - return class64_35_; - } - - final void method267(Class348_Sub49 class348_sub49, boolean bool) { - anInt243++; - for (; ; ) { - int i = class348_sub49.readUnsignedByte(255); - if (i == 0) break; - method264(class348_sub49, i, -14861); - } - if (bool != false) this.anIntArray267 = null; - } - - static final void method268(int i, int i_36_, int i_37_, int i_38_, int i_39_, int i_40_, int i_41_, int i_42_) { - anInt259++; - int i_43_ = -334 + i_39_; - if (i_43_ < 0) i_43_ = 0; - else if (i_43_ > 100) i_43_ = 100; - int i_44_ = (i_43_ * (-Class348_Sub23_Sub3.aShort9044 + Class320.aShort3992) / 100 + Class348_Sub23_Sub3.aShort9044); - i_42_ = i_42_ * i_44_ >> 8; - Class132.anInt1906 = Class132.anInt1911 * i_44_ >> 8; - int i_45_ = 16384 - i & 0x3fff; - int i_46_ = 0x3fff & 16384 - i_37_; - if (i_40_ != -19360) anInterface4_252 = null; - int i_47_ = 0; - int i_48_ = 0; - int i_49_ = i_42_; - if (i_45_ != 0) { - i_48_ = -i_49_ * Class70.anIntArray1207[i_45_] >> 14; - i_49_ = Class70.anIntArray1204[i_45_] * i_49_ >> 14; - } - if (i_46_ != 0) { - i_47_ = Class70.anIntArray1207[i_46_] * i_49_ >> 14; - i_49_ = i_49_ * Class70.anIntArray1204[i_46_] >> 14; - } - Class5.anInt4638 = i_37_; - Class338.anInt4186 = 0; - Class59_Sub2_Sub2.anInt8685 = i_38_ - i_49_; - Class305.anInt3855 = -i_48_ + i_36_; - Class286_Sub4.anInt6246 = -i_47_ + i_41_; - Class348_Sub42_Sub19.anInt9701 = i; - } - - final Class64 method269(int i, Class64 class64, int i_50_, int i_51_, int i_52_, int i_53_) { - anInt246++; - int i_54_ = this.anIntArray267[i_53_]; - int i_55_ = this.anIntArray237[i_53_]; - Class348_Sub42_Sub17 class348_sub42_sub17 = this.aClass87_251.method839(i_55_ >> 16, 3); - i_55_ &= 0xffff; - if (class348_sub42_sub17 == null) return class64.method614((byte) 1, i_52_, true); - Class348_Sub42_Sub17 class348_sub42_sub17_56_ = null; - if ((this.aBoolean241 || Class28.aBoolean5002) && i_50_ != -1 && this.anIntArray237.length > i_50_) { - i_50_ = this.anIntArray237[i_50_]; - class348_sub42_sub17_56_ = this.aClass87_251.method839(i_50_ >> 16, 3); - i_50_ &= 0xffff; - } - Class348_Sub42_Sub17 class348_sub42_sub17_57_ = null; - Class348_Sub42_Sub17 class348_sub42_sub17_58_ = null; - int i_59_ = 0; - int i_60_ = 0; - if (anIntArray260 != null) { - if (anIntArray260.length > i_53_) { - i_59_ = anIntArray260[i_53_]; - if (i_59_ != 65535) { - class348_sub42_sub17_57_ = this.aClass87_251.method839(i_59_ >> 16, 3); - i_59_ &= 0xffff; - } - } - if ((this.aBoolean241 || Class28.aBoolean5002) && i_50_ != -1 && i_50_ < anIntArray260.length) { - i_60_ = anIntArray260[i_50_]; - if (i_60_ != 65535) { - class348_sub42_sub17_58_ = this.aClass87_251.method839(i_60_ >> 16, 3); - i_60_ &= 0xffff; - } - } - } - if (this.aBoolean242) i_52_ |= 0x200; - if (class348_sub42_sub17.method3272(i_55_, 0)) i_52_ |= 0x80; - if (class348_sub42_sub17.method3271(i_55_, 14)) i_52_ |= 0x100; - if (class348_sub42_sub17.method3267((byte) -102, i_55_)) i_52_ |= 0x400; - if (class348_sub42_sub17_57_ != null) { - if (class348_sub42_sub17_57_.method3272(i_59_, 0)) i_52_ |= 0x80; - if (class348_sub42_sub17_57_.method3271(i_59_, 14)) i_52_ |= 0x100; - if (class348_sub42_sub17_57_.method3267((byte) -109, i_59_)) i_52_ |= 0x400; - } - if (class348_sub42_sub17_56_ != null) { - if (class348_sub42_sub17_56_.method3272(i_50_, 0)) i_52_ |= 0x80; - if (class348_sub42_sub17_56_.method3271(i_50_, 14)) i_52_ |= 0x100; - if (class348_sub42_sub17_56_.method3267((byte) -114, i_50_)) i_52_ |= 0x400; - } - if (class348_sub42_sub17_58_ != null) { - if (class348_sub42_sub17_58_.method3272(i_60_, 0)) i_52_ |= 0x80; - if (class348_sub42_sub17_58_.method3271(i_60_, 14)) i_52_ |= 0x100; - if (class348_sub42_sub17_58_.method3267((byte) -109, i_60_)) i_52_ |= 0x400; - } - i_52_ |= 0x20; - Class64 class64_61_ = class64.method614((byte) 1, i_52_, true); - int i_62_ = -33 / ((49 - i) / 45); - class64_61_.method617(i_55_, i_54_, class348_sub42_sub17_56_, 0, class348_sub42_sub17, false, this.aBoolean242, i_50_, -1 + i_51_); - if (class348_sub42_sub17_57_ != null) class64_61_.method617(i_59_, i_54_, class348_sub42_sub17_58_, 0, class348_sub42_sub17_57_, false, this.aBoolean242, i_60_, -1 + i_51_); - return class64_61_; - } - - final void method270(byte i) { - anInt258++; - if (this.anInt262 == -1) { - if (this.aBooleanArray263 == null) this.anInt262 = 0; - else this.anInt262 = 2; - } - if (this.anInt245 == -1) { - if (this.aBooleanArray263 != null) this.anInt245 = 2; - else this.anInt245 = 0; - } - int i_63_ = -41 / ((i - 45) / 49); - } - - public Class17() { - this.anInt238 = -1; - this.aBoolean241 = false; - this.anInt245 = -1; - this.anInt239 = 5; - this.aBoolean254 = false; - this.anInt262 = -1; - this.anInt249 = -1; - this.anInt248 = 2; - this.anInt261 = -1; - this.anInt244 = 99; - this.aBoolean268 = false; - } -} diff --git a/client/src/Class170.java b/client/src/Class170.java deleted file mode 100644 index 1ae6e72d4..000000000 --- a/client/src/Class170.java +++ /dev/null @@ -1,326 +0,0 @@ -/* Class170 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class170 implements Interface17 { - static int anInt5062; - int[] anIntArray5063; - static int anInt5064; - static int anInt5065; - static int anInt5066; - static Class237_Sub1 aClass237_Sub1_5067; - static int anInt5068; - static int anInt5069; - private Class356 aClass356_5070 = new Class356(128); - static int anInt5071; - static int anInt5072; - static int anInt5073; - static int anInt5074; - static int anInt5075; - static int anInt5076; - static int anInt5077; - private final int[] anIntArray5078; - static int anInt5079; - static int anInt5080; - static int anInt5081; - - final int method1305(byte i, boolean bool) { - anInt5071++; - if (i >= -124) method1308(-105, 89, -65, -52, (byte) 76, 37, -61, 73); - long l = Class62.method599(-79); - for (Class348_Sub14 class348_sub14 = (bool ? (Class348_Sub14) aClass356_5070.method3484(0) : (Class348_Sub14) aClass356_5070.method3482(0)); class348_sub14 != null; class348_sub14 = (Class348_Sub14) aClass356_5070.method3482(0)) { - if (l > (class348_sub14.aLong6762 & 0x3fffffffffffffffL)) { - if ((0x4000000000000000L & class348_sub14.aLong6762) != 0L) { - int i_0_ = (int) class348_sub14.aLong4291; - this.anIntArray5063[i_0_] = anIntArray5078[i_0_]; - class348_sub14.method2715((byte) 31); - return i_0_; - } - class348_sub14.method2715((byte) 75); - } - } - return -1; - } - - final void method1306(byte i, int i_1_, int i_2_) { - if (i == -78) { - anInt5066++; - this.anIntArray5063[i_2_] = i_1_; - Class348_Sub14 class348_sub14 = ((Class348_Sub14) aClass356_5070.method3480(i_2_, -6008)); - if (class348_sub14 == null) { - class348_sub14 = new Class348_Sub14(500L + Class62.method599(-122)); - aClass356_5070.method3483((byte) 73, i_2_, class348_sub14); - } else class348_sub14.aLong6762 = Class62.method599(-88) - -500L; - } - } - - public final int method62(int i, int i_3_) { - anInt5068++; - Class146 class146 = Class229.aClass194_2981.method1446(i, -1); - int i_4_ = class146.anInt2019; - if (i_3_ != -65536) return -52; - int i_5_ = class146.anInt2016; - int i_6_ = class146.anInt2020; - int i_7_ = Class129.anIntArray1885[-i_5_ + i_6_]; - return this.anIntArray5063[i_4_] >> i_5_ & i_7_; - } - - final void method1307(int i, int i_8_, int i_9_) { - anInt5074++; - Class146 class146 = Class229.aClass194_2981.method1446(i, -1); - int i_10_ = class146.anInt2019; - int i_11_ = class146.anInt2016; - int i_12_ = class146.anInt2020; - int i_13_ = Class129.anIntArray1885[-i_11_ + i_12_]; - if (i_8_ < (~i_9_) || i_13_ < i_9_) i_9_ = 0; - i_13_ <<= i_11_; - method1306((byte) -78, i_9_ << i_11_ & i_13_ | (this.anIntArray5063[i_10_]) & (~i_13_), i_10_); - } - - static final void method1308(int i, int i_14_, int i_15_, int i_16_, byte i_17_, int i_18_, int i_19_, int i_20_) { - anInt5072++; - if (Class369.anInt4960 <= i_15_ && i_19_ <= Class113.anInt1745 && i_14_ >= Class132.anInt1910 && Class38.anInt513 >= i_20_) Class239_Sub3.method1730(i_16_, i_20_, i_14_, i_19_, i, i_18_, -128, i_15_); - else s_Sub3.method4004(i_20_, i_19_, i_14_, i, i_18_, -80, i_15_, i_16_); - if (i_17_ > -113) aClass237_Sub1_5067 = null; - } - - static final void method1309(boolean bool, int i) { - if (Class51.aClass311_897 == null) Class70.method726(92); - if (i < 116) aClass237_Sub1_5067 = null; - anInt5062++; - if (bool) Class51.aClass311_897.method2326(96); - } - - public static void method1310(boolean bool) { - if (bool == true) aClass237_Sub1_5067 = null; - } - - static final void method1311(int i, ha var_ha) { - Class199.aClass352Array2636 = new Class352[Class348_Sub1.anIntArray6547.length]; - anInt5064++; - if (i != 5139) anInt5065 = 62; - for (int i_21_ = 0; (i_21_ < Class348_Sub1.anIntArray6547.length); i_21_++) { - int i_22_ = Class348_Sub1.anIntArray6547[i_21_]; - Class143 class143 = Class239_Sub10.method1766((byte) -86, i_22_, s.aClass45_4585); - Class324 class324 = var_ha.method3686(class143, Class207.method1523(Class39.aClass45_518, i_22_), true); - Class199.aClass352Array2636[i_21_] = new Class352(class324, class143); - } - } - - static final Class52 method1312(byte i, Class348_Sub49 class348_sub49) { - anInt5075++; - int i_23_ = class348_sub49.readInt((byte) -126); - if (i < 47) method1315(4); - return new Class52(i_23_); - } - - final void method1313(byte i, int i_24_, int i_25_) { - anInt5073++; - if (i != 42) anInt5065 = -16; - anIntArray5078[i_25_] = i_24_; - Class348_Sub14 class348_sub14 = ((Class348_Sub14) aClass356_5070.method3480(i_25_, i + -6050)); - if (class348_sub14 == null) { - class348_sub14 = new Class348_Sub14(4611686018427387905L); - aClass356_5070.method3483((byte) 19, i_25_, class348_sub14); - } else if (class348_sub14.aLong6762 != 4611686018427387905L) class348_sub14.aLong6762 = 0x4000000000000000L | 500L + Class62.method599(-108); - } - - final void method1314(byte i) { - for (int i_26_ = 0; (i_26_ < Class269.aClass217_3453.anInt2845); i_26_++) { - Class159 class159 = Class269.aClass217_3453.method1588(-105, i_26_); - if (class159 != null && class159.anInt2125 == 0) { - anIntArray5078[i_26_] = 0; - this.anIntArray5063[i_26_] = 0; - } - } - anInt5076++; - aClass356_5070 = new Class356(128); - int i_27_ = -69 % ((25 - i) / 39); - } - - public final int method61(int i, byte i_28_) { - anInt5081++; - if (i_28_ != -16) anInt5065 = 51; - return this.anIntArray5063[i]; - } - - static final void method1315(int i) { - anInt5077++; - if (Class318_Sub1_Sub5.aClass144_8766 != null) { - if (Class318_Sub1_Sub5.aClass144_8766.anInt1997 == 1) { - Class318_Sub1_Sub5.aClass144_8766 = null; - return; - } - if (Class318_Sub1_Sub5.aClass144_8766.anInt1997 == 2) { - Class348_Sub16_Sub3.method2862(Class195.aClass297_5017, Class348_Sub42_Sub8.aString9554, -120, 2); - Class318_Sub1_Sub5.aClass144_8766 = null; - return; - } - } - int i_29_ = -31 / ((-29 - i) / 61); - } - - final void method1316(byte i, int i_30_, int i_31_) { - anInt5069++; - Class146 class146 = Class229.aClass194_2981.method1446(i_30_, -1); - int i_32_ = class146.anInt2019; - int i_33_ = class146.anInt2016; - if (i < -56) { - int i_34_ = class146.anInt2020; - int i_35_ = Class129.anIntArray1885[i_34_ - i_33_]; - if (i_31_ < 0 || i_35_ < i_31_) i_31_ = 0; - i_35_ <<= i_33_; - method1313((byte) 42, (i_31_ << i_33_ & i_35_ | (~i_35_) & anIntArray5078[i_32_]), i_32_); - } - } - - static final boolean method1317(int i, byte i_36_, int i_37_) { - anInt5079++; - if (i_36_ >= -67) method1317(43, (byte) 36, 20); - return Class294.method2217(i, i_37_, 0) | (i_37_ & 0x70000) != 0 || Class264.method2015(i_37_, i, 7); - } - - static final void method1318(int i) { - if (i != -65536) method1310(false); - for (int i_38_ = 0; i_38_ < Class101.anInt1597; i_38_++) { - int i_39_ = Class13.anIntArray224[i_38_]; - Npc npc = (((Class348_Sub22) Class282.aClass356_3654.method3480(i_39_, -6008)).aNpc_6859); - int i_40_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - if ((0x10 & i_40_) != 0) i_40_ += Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(i ^ ~0xff00) << 8; - if ((0x2 & i_40_) != 0) { - if (npc.aClass79_10505.method793(i ^ ~0xffff)) Class5.method181(true, npc); - npc.method2448((Class189.aClass278_2529.method2079(Class299.aClass348_Sub49_Sub2_3813.readShortAdd(-1), -1)), -2); - npc.method2434((byte) 95, npc.aClass79_10505.anInt1399); - npc.anInt10310 = npc.aClass79_10505.anInt1329 << 3; - if (npc.aClass79_10505.method793(0)) Class223.method1614(979190089, npc, (npc.plane), (npc.anIntArray10317[0]), (npc.anIntArray10320[0]), null, null, 0); - } - if ((0x8 & i_40_) != 0) { - int[] is = new int[4]; - for (int i_41_ = 0; i_41_ < 4; i_41_++) { - is[i_41_] = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - if (is[i_41_] == 65535) is[i_41_] = -1; - } - int i_42_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -121); - Class348_Sub17.method2931(i_42_, (byte) 115, is, npc); - } - if ((i_40_ & 0x20) != 0) { - int i_43_ = Class299.aClass348_Sub49_Sub2_3813.readShortLittle(false); - int i_44_ = Class299.aClass348_Sub49_Sub2_3813.readIntMiddleEndian((byte) 82); - if (i_43_ == 65535) i_43_ = -1; - int i_45_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - int i_46_ = 0x7 & i_45_; - int i_47_ = (i_45_ & 0x79) >> 3; - if (i_47_ == 15) i_47_ = -1; - npc.method2437(i_46_, i_43_, i ^ 0x3c569b2e, i_47_, false, i_44_); - } - if ((0x4000 & i_40_) != 0) { - int i_48_ = Class299.aClass348_Sub49_Sub2_3813.readByteInverse((byte) 21); - int[] is = new int[i_48_]; - int[] is_49_ = new int[i_48_]; - int[] is_50_ = new int[i_48_]; - for (int i_51_ = 0; i_48_ > i_51_; i_51_++) { - int i_52_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - if (i_52_ == 65535) i_52_ = -1; - is[i_51_] = i_52_; - is_49_[i_51_] = Class299.aClass348_Sub49_Sub2_3813.readByteInverse((byte) 21); - is_50_[i_51_] = Class299.aClass348_Sub49_Sub2_3813.readShortAddLittle(-109); - } - Class367_Sub8.method3548(-7387, npc, is_50_, is, is_49_); - } - if ((i_40_ & 0x200) != 0) { - int i_53_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -121); - int[] is = new int[i_53_]; - int[] is_54_ = new int[i_53_]; - for (int i_55_ = 0; i_53_ > i_55_; i_55_++) { - int i_56_ = Class299.aClass348_Sub49_Sub2_3813.readShortAdd(124); - if ((0xc000 & i_56_) == 49152) { - int i_57_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(i + 842463480); - is[i_55_] = Class273.method2057(i_57_, i_56_ << 16); - } else is[i_55_] = i_56_; - is_54_[i_55_] = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - } - npc.method2430(is_54_, is, -100); - } - if ((0x4 & i_40_) != 0) { - npc.anInt10499 = Class299.aClass348_Sub49_Sub2_3813.readShortAdd(124); - npc.anInt10512 = Class299.aClass348_Sub49_Sub2_3813.readShortLittle(false); - } - if ((0x1000 & i_40_) != 0) { - npc.anInt10293 = Class299.aClass348_Sub49_Sub2_3813.readByteSubtract(-27697); - npc.anInt10314 = Class299.aClass348_Sub49_Sub2_3813.readByteSubtract(-27697); - npc.anInt10241 = Class299.aClass348_Sub49_Sub2_3813.readByte(-128); - npc.anInt10288 = Class299.aClass348_Sub49_Sub2_3813.readByteSubtract(-27697); - npc.anInt10239 = (Class299.aClass348_Sub49_Sub2_3813.readShortLittle(false) + Class367_Sub11.anInt7396); - npc.anInt10300 = (Class299.aClass348_Sub49_Sub2_3813.readShortAdd(12) - -Class367_Sub11.anInt7396); - npc.anInt10231 = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) 66); - npc.anInt10314 += npc.anIntArray10317[0]; - npc.anInt10322 = 0; - npc.anInt10288 += npc.anIntArray10317[0]; - npc.anInt10293 += npc.anIntArray10320[0]; - npc.anInt10241 += npc.anIntArray10320[0]; - npc.anInt10319 = 1; - } - if ((i_40_ & 0x2000) != 0) { - npc.aByte10255 = Class299.aClass348_Sub49_Sub2_3813.readByteInverse(-622951480); - npc.aByte10206 = Class299.aClass348_Sub49_Sub2_3813.readByteSubtract(-27697); - npc.aByte10270 = Class299.aClass348_Sub49_Sub2_3813.readByteInverse(i + -622885944); - npc.aByte10279 = (byte) Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - npc.anInt10248 = Class367_Sub11.anInt7396 + Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - npc.anInt10250 = Class367_Sub11.anInt7396 + Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - } - if ((i_40_ & 0x40) != 0) { - int i_58_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -100); - if (i_58_ > 0) { - for (int i_59_ = 0; i_58_ > i_59_; i_59_++) { - int i_60_ = -1; - int i_61_ = -1; - int i_62_ = -1; - int i_63_ = Class299.aClass348_Sub49_Sub2_3813.readSmart(-126); - if (i_63_ == 32767) { - i_63_ = Class299.aClass348_Sub49_Sub2_3813.readSmart(-118); - i_61_ = Class299.aClass348_Sub49_Sub2_3813.readSmart(-117); - i_60_ = Class299.aClass348_Sub49_Sub2_3813.readSmart(-122); - i_62_ = Class299.aClass348_Sub49_Sub2_3813.readSmart(-123); - } else if (i_63_ != 32766) i_61_ = Class299.aClass348_Sub49_Sub2_3813.readSmart(-123); - else i_63_ = -1; - int i_64_ = Class299.aClass348_Sub49_Sub2_3813.readSmart(-122); - int i_65_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - npc.method2438(i_61_, Class367_Sub11.anInt7396, i_63_, i_62_, i_60_, i_64_, i_65_, (byte) 124); - } - } - } - if ((i_40_ & 0x80) != 0) { - npc.anInt10275 = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - if ((npc.anInt10275) == 65535) npc.anInt10275 = -1; - } - if ((0x1 & i_40_) != 0) { - npc.aString10292 = Class299.aClass348_Sub49_Sub2_3813.readString((byte) 121); - npc.anInt10264 = 100; - } - if ((i_40_ & 0x800) != 0) { - int i_66_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - npc.anInt10227 = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -84); - npc.anInt10271 = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -88); - npc.anInt10210 = 0x7fff & i_66_; - npc.aBoolean10226 = (0x8000 & i_66_) != 0; - npc.anInt10287 = (npc.anInt10227 + Class367_Sub11.anInt7396 + npc.anInt10210); - } - if ((i_40_ & 0x400) != 0) { - int i_67_ = Class299.aClass348_Sub49_Sub2_3813.readShortLittle(false); - int i_68_ = Class299.aClass348_Sub49_Sub2_3813.readIntLittle((byte) -127); - if (i_67_ == 65535) i_67_ = -1; - int i_69_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -116); - int i_70_ = i_69_ & 0x7; - int i_71_ = (i_69_ & 0x7e) >> 3; - if (i_71_ == 15) i_71_ = -1; - npc.method2437(i_70_, i_67_, i ^ 0x3c569b2e, i_71_, true, i_68_); - } - } - anInt5080++; - } - - public Class170() { - this.anIntArray5063 = new int[Class269.aClass217_3453.anInt2845]; - anIntArray5078 = new int[Class269.aClass217_3453.anInt2845]; - } -} diff --git a/client/src/Class171.java b/client/src/Class171.java deleted file mode 100644 index 5b2b0e12e..000000000 --- a/client/src/Class171.java +++ /dev/null @@ -1,153 +0,0 @@ -/* Class171 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class171 { - static int anInt2267; - private final ha_Sub2 aHa_Sub2_2268; - static short aShort2269 = 32767; - int anInt2270; - static int anInt2271; - static int[] anIntArray2272; - static int anInt2273; - static int anInt2274; - static int anInt2275; - /*synthetic*/ static Class aClass2276; - - static final int method1319(int i, boolean bool, byte[] is, int i_0_) { - anInt2267++; - if (bool != true) return 63; - int i_1_ = -1; - for (int i_2_ = i_0_; i_2_ < i; i_2_++) - i_1_ = (i_1_ >>> 8 ^ Class89.anIntArray1508[(i_1_ ^ is[i_2_]) & 0xff]); - i_1_ ^= 0xffffffff; - return i_1_; - } - - static final void method1320() { - for (int i = 0; i < Class331.anInt4135; i++) { - if (!r.aBooleanArray9718[i]) { - Class211 class211 = Class239_Sub14.aClass211Array5993[i]; - Class348_Sub1 class348_sub1 = class211.aClass348_Sub1_2745; - int i_3_ = class211.anInt2731; - int i_4_ = (class348_sub1.method2723(-1) - Class348_Sub23_Sub2.anInt9037); - int i_5_ = 1 + (2 * i_4_ >> Class362.anInt4459); - int i_6_ = 0; - int[] is = new int[i_5_ * i_5_]; - int i_7_ = (class348_sub1.method2724(-1) - i_4_ >> Class362.anInt4459); - int i_8_ = (class348_sub1.method2717((byte) 79) - i_4_ >> Class362.anInt4459); - int i_9_ = (class348_sub1.method2717((byte) 113) + i_4_ >> Class362.anInt4459); - if (i_8_ < 0) { - i_6_ -= i_8_; - i_8_ = 0; - } - if (i_9_ >= Class348_Sub41.anInt7054) i_9_ = Class348_Sub41.anInt7054 - 1; - for (int i_10_ = i_8_; i_10_ <= i_9_; i_10_++) { - int i_11_ = class211.aShortArray2742[i_6_]; - int i_12_ = i_11_ >>> 8; - int i_13_ = i_6_ * i_5_ + i_12_; - int i_14_ = i_7_ + (i_11_ >>> 8); - int i_15_ = i_14_ + (i_11_ & 0xff) - 1; - if (i_14_ < 0) { - i_13_ -= i_14_; - i_14_ = 0; - } - if (i_15_ >= Class318_Sub7.anInt6451) i_15_ = Class318_Sub7.anInt6451 - 1; - for (int i_16_ = i_14_; i_16_ <= i_15_; i_16_++) { - int i_17_ = 1; - Class318_Sub1_Sub3 class318_sub1_sub3 = (Class177.method1353(i_3_, i_16_, i_10_, (aClass2276 != null ? aClass2276 : (aClass2276 = Class318_Sub1_Sub3.class)))); - if (class318_sub1_sub3 != null && (class318_sub1_sub3.aByte8745) != 0) { - if ((class318_sub1_sub3.aByte8745) == 1) { - boolean bool = i_16_ - 1 >= i_14_; - boolean bool_18_ = i_16_ + 1 <= i_15_; - if (!bool && i_10_ + 1 <= i_9_) { - int i_19_ = (class211.aShortArray2742[i_6_ + 1]); - int i_20_ = i_7_ + (i_19_ >>> 8); - int i_21_ = i_20_ + (i_19_ & 0xff); - bool = i_16_ > i_20_ && i_16_ < i_21_; - } - if (!bool_18_ && i_10_ - 1 >= i_8_) { - int i_22_ = (class211.aShortArray2742[i_6_ - 1]); - int i_23_ = i_7_ + (i_22_ >>> 8); - int i_24_ = i_23_ + (i_22_ & 0xff); - bool_18_ = i_16_ > i_23_ && i_16_ < i_24_; - } - if (bool && !bool_18_) i_17_ = 4; - else if (bool_18_ && !bool) i_17_ = 2; - } else { - boolean bool = i_16_ - 1 >= i_14_; - boolean bool_25_ = i_16_ + 1 <= i_15_; - if (!bool && i_10_ - 1 >= i_8_) { - int i_26_ = (class211.aShortArray2742[i_6_ - 1]); - int i_27_ = i_7_ + (i_26_ >>> 8); - int i_28_ = i_27_ + (i_26_ & 0xff); - bool = i_16_ > i_27_ && i_16_ < i_28_; - } - if (!bool_25_ && i_10_ + 1 <= i_9_) { - int i_29_ = (class211.aShortArray2742[i_6_ + 1]); - int i_30_ = i_7_ + (i_29_ >>> 8); - int i_31_ = i_30_ + (i_29_ & 0xff); - bool_25_ = i_16_ > i_30_ && i_16_ < i_31_; - } - if (bool && !bool_25_) i_17_ = 3; - else if (bool_25_ && !bool) i_17_ = 5; - } - } - is[i_13_++] = i_17_; - } - i_6_++; - } - r.aBooleanArray9718[i] = true; - aa_Sub1.aSArray5191[i_3_].method3981(class348_sub1, is); - } - } - } - - protected final void finalize() throws Throwable { - aHa_Sub2_2268.method3765((byte) 65, this.anInt2270); - anInt2274++; - super.finalize(); - } - - static final int method1321(byte i, int i_32_, int i_33_, int i_34_, int i_35_, int i_36_) { - int i_37_ = 4 / ((-51 - i) / 63); - anInt2273++; - if (aa_Sub1.aSArray5191 == null) return 0; - if (i_35_ < 3) { - int i_38_ = i_32_ >> 9; - int i_39_ = i_33_ >> 9; - if (i_34_ < 0 || i_36_ < 0 || -1 + Class367_Sub4.anInt7319 < i_34_ || (i_36_ > Class348_Sub40_Sub3.anInt9109 - 1)) return 0; - if (i_38_ < 1 || i_39_ < 1 || -1 + Class367_Sub4.anInt7319 < i_38_ || -1 + Class348_Sub40_Sub3.anInt9109 < i_39_) return 0; - boolean bool = ((0x2 & (Class348_Sub33.aByteArrayArrayArray6962[1][i_32_ >> 9][i_33_ >> 9])) != 0); - if ((i_32_ & 0x1ff) == 0) { - boolean bool_40_ = ((0x2 & (Class348_Sub33.aByteArrayArrayArray6962[1][-1 + i_38_][i_33_ >> 9])) != 0); - boolean bool_41_ = ((0x2 & (Class348_Sub33.aByteArrayArrayArray6962[1][i_38_][i_33_ >> 9])) != 0); - if (bool_40_ == !bool_41_) bool = (0x2 & (Class348_Sub33.aByteArrayArrayArray6962[1][i_34_][i_36_])) != 0; - } - if ((i_33_ & 0x1ff) == 0) { - boolean bool_42_ = ((Class348_Sub33.aByteArrayArrayArray6962[1][i_32_ >> 9][-1 + i_39_]) & 0x2) != 0; - boolean bool_43_ = ((0x2 & (Class348_Sub33.aByteArrayArrayArray6962[1][i_32_ >> 9][i_39_])) != 0); - if (bool_42_ == !bool_43_) bool = (0x2 & (Class348_Sub33.aByteArrayArrayArray6962[1][i_34_][i_36_])) != 0; - } - if (bool) i_35_++; - } - return aa_Sub1.aSArray5191[i_35_].method3986(i_32_, i_33_, (byte) 22); - } - - public static void method1322(byte i) { - if (i == -28) anIntArray2272 = null; - } - - static final void method1323(int i, int i_44_) { - synchronized (Class342.aClass60_4254) { - Class342.aClass60_4254.method578(2, i); - } - if (i_44_ == 26603) anInt2271++; - } - - Class171(ha_Sub2 var_ha_Sub2, int i, int i_45_) { - aHa_Sub2_2268 = var_ha_Sub2; - this.anInt2270 = i_45_; - } - -} diff --git a/client/src/Class172.java b/client/src/Class172.java deleted file mode 100644 index 776bd42f8..000000000 --- a/client/src/Class172.java +++ /dev/null @@ -1,38 +0,0 @@ -/* Class172 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class172 { - static int anInt2277; - static int anInt2278; - static Class114 aClass114_2279 = new Class114(60, 0); - static int[] anIntArray2280 = new int[200]; - static int anInt2281; - - public static void method1325(int i) { - anIntArray2280 = null; - if (i <= -123) aClass114_2279 = null; - } - - static final Class348_Sub16_Sub3 method1326(Class348_Sub16_Sub3 class348_sub16_sub3, int i) { - anInt2278++; - Class348_Sub16_Sub3 class348_sub16_sub3_0_ = (class348_sub16_sub3 == null ? new Class348_Sub16_Sub3() : new Class348_Sub16_Sub3(class348_sub16_sub3)); - class348_sub16_sub3_0_.method2841(i, -94, 128); - return class348_sub16_sub3_0_; - } - - static final int method1327(int i) { - if (i <= 17) anIntArray2280 = null; - anInt2277++; - return Class348_Sub31.anInt6924; - } - - static final void method1328(int i) { - if (i != -26162) anIntArray2280 = null; - Class351.aClass60_4327.method587(-118); - anInt2281++; - Class358.aClass60_4417.method587(-89); - Class239_Sub24.aClass60_6096.method587(-87); - Class348_Sub40_Sub9.aClass60_9171.method587(-95); - } -} diff --git a/client/src/Class173.java b/client/src/Class173.java deleted file mode 100644 index 694cde488..000000000 --- a/client/src/Class173.java +++ /dev/null @@ -1,48 +0,0 @@ -/* Class173 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class173 { - static int anInt2282; - static int anInt2283; - static int anInt2284; - static Class114 aClass114_2285 = new Class114(77, 4); - static long aLong2286 = 0L; - - public final String toString() { - anInt2282++; - throw new IllegalStateException(); - } - - public static void method1329(int i) { - if (i != 4) method1329(95); - aClass114_2285 = null; - } - - static final void method1330(int i, int i_0_, int i_1_) { - anInt2284++; - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i_1_, (byte) 105, 5); - class348_sub42_sub15.method3246(-25490); - if (i_0_ != -19906) method1329(71); - class348_sub42_sub15.anInt9652 = i; - } - - static final byte[] method1331(byte i, Object object, int i_2_, int i_3_) { - anInt2283++; - if (object == null) return null; - if (object instanceof byte[]) { - byte[] is = (byte[]) object; - return Class93.method864(i_2_, is, i_3_, -104); - } - if (i < 89) aClass114_2285 = null; - if (object instanceof Class344) { - Class344 class344 = (Class344) object; - return class344.method2689(2, i_3_, i_2_); - } - throw new IllegalArgumentException(); - } - - public Class173() { - /* empty */ - } -} diff --git a/client/src/Class174.java b/client/src/Class174.java deleted file mode 100644 index 787d38b67..000000000 --- a/client/src/Class174.java +++ /dev/null @@ -1,131 +0,0 @@ -/* Class174 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class174 { - static int anInt2287; - static int anInt2288; - int anInt2289; - int anInt2290; - int anInt2291; - int anInt2292; - static int anInt2293; - int anInt2294; - static int anInt2295; - int anInt2296; - int anInt2297 = 0; - int anInt2298; - int anInt2299; - static int anInt2300; - long aLong2301; - private int anInt2302; - int anInt2303; - int anInt2304; - static Class114 aClass114_2305 = new Class114(57, 10); - static Class45 aClass45_2306; - static Class223 aClass223_2307 = new Class223(7, 2); - private boolean aBoolean2308; - static Class105 aClass105_2309; - - static final boolean method1332(boolean bool, boolean bool_0_, int i, String string) { - anInt2293++; - if (i < 2 || i > 36) throw new IllegalArgumentException("Invalid radix:" + i); - boolean bool_1_ = false; - boolean bool_2_ = false; - int i_3_ = 0; - if (bool != true) aClass45_2306 = null; - int i_4_ = string.length(); - for (int i_5_ = 0; i_5_ < i_4_; i_5_++) { - int i_6_ = string.charAt(i_5_); - if (i_5_ == 0) { - if (i_6_ == 45) { - bool_1_ = true; - continue; - } - if (i_6_ == 43 && bool_0_) continue; - } - if (i_6_ < 48 || i_6_ > 57) { - if (i_6_ < 65 || i_6_ > 90) { - if (i_6_ >= 97 && i_6_ <= 122) i_6_ -= 87; - else return false; - } else i_6_ -= 55; - } else i_6_ -= 48; - if (i_6_ >= i) return false; - if (bool_1_) i_6_ = -i_6_; - int i_7_ = i * i_3_ - -i_6_; - if (i_7_ / i != i_3_) return false; - bool_2_ = true; - i_3_ = i_7_; - } - return bool_2_; - } - - static final void method1333(short[] is, int i, String[] strings) { - try { - if (i != 26073) aClass105_2309 = null; - anInt2295++; - Class64.method607(strings.length + -1, strings, is, 0, false); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("po.B(" + (is != null ? "{...}" : "null") + ',' + i + ',' + (strings != null ? "{...}" : "null") + ')')); - } - } - - public static void method1334(byte i) { - aClass223_2307 = null; - if (i != -110) method1333(null, -51, null); - aClass114_2305 = null; - aClass105_2309 = null; - aClass45_2306 = null; - } - - private final void method1335(Class348_Sub49 class348_sub49, int i, byte i_8_) { - anInt2287++; - if (i == 1) anInt2302 = class348_sub49.readUnsignedShort(842397944); - else if (i == 2) class348_sub49.readUnsignedByte(255); - else if (i == 3) { - this.anInt2291 = class348_sub49.readInt((byte) -126); - this.anInt2290 = class348_sub49.readInt((byte) -126); - this.anInt2294 = class348_sub49.readInt((byte) -126); - } else if (i == 4) { - this.anInt2289 = class348_sub49.readUnsignedByte(255); - this.anInt2304 = class348_sub49.readInt((byte) -126); - } else if (i != 6) { - if (i == 8) this.anInt2297 = 1; - else if (i == 9) this.anInt2292 = 1; - else if (i == 10) aBoolean2308 = true; - } else this.anInt2296 = class348_sub49.readUnsignedByte(255); - if (i_8_ >= -124) this.aLong2301 = 65L; - } - - final void method1336(int i, Class348_Sub49 class348_sub49) { - for (; ; ) { - int i_9_ = class348_sub49.readUnsignedByte(255); - if (i_9_ == 0) break; - method1335(class348_sub49, i_9_, (byte) -128); - } - anInt2288++; - if (i <= 36) this.anInt2296 = 8; - } - - final void method1337(int i) { - anInt2300++; - this.anInt2298 = Class70.anIntArray1204[anInt2302 << 3]; - long l = this.anInt2291; - long l_10_ = this.anInt2290; - long l_11_ = this.anInt2294; - this.anInt2299 = (int) Math.sqrt((double) (l_10_ * l_10_ + (l * l - -(l_11_ * l_11_)))); - if (this.anInt2304 == 0) this.anInt2304 = 1; - if ((~this.anInt2289) != i) { - if (this.anInt2289 == 1) { - this.aLong2301 = this.anInt2299 * 8 / this.anInt2304; - this.aLong2301 *= this.aLong2301; - } else if (this.anInt2289 == 2) this.aLong2301 = 8 * this.anInt2299 / this.anInt2304; - } else this.aLong2301 = 2147483647L; - if (aBoolean2308) this.anInt2299 *= -1; - } - - public Class174() { - this.anInt2292 = 0; - aBoolean2308 = false; - } -} diff --git a/client/src/Class175.java b/client/src/Class175.java deleted file mode 100644 index ca0f6cb6d..000000000 --- a/client/src/Class175.java +++ /dev/null @@ -1,259 +0,0 @@ -/* Class175 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class175 { - static int anInt2310; - private int anInt2311; - private final Class356 aClass356_2312; - static int anInt2313; - static int anInt2314; - static Class351 aClass351_2315; - private Class107 aClass107_2316 = new Class107(); - static int anInt2317; - static int anInt2318; - static int anInt2319; - static int anInt2320; - static int anInt2321; - static int anInt2322; - static int anInt2323; - private final int anInt2324; - static int anInt2325; - static boolean[] aBooleanArray2326 = new boolean[100]; - static Class340 aClass340_2327; - static int anInt2328; - static boolean aBoolean2329; - static int[] anIntArray2330; - - private final void method1338(int i, Interface14 interface14) { - anInt2321++; - long l = interface14.method52((byte) 117); - for (Class348_Sub42_Sub9 class348_sub42_sub9 = (Class348_Sub42_Sub9) aClass356_2312.method3480(l, -6008); class348_sub42_sub9 != null; class348_sub42_sub9 = (Class348_Sub42_Sub9) aClass356_2312.method3476(true)) { - if (class348_sub42_sub9.anInterface14_9559.method53(78, interface14)) { - method1342(class348_sub42_sub9, (byte) 79); - break; - } - } - if (i != 7) method1340(-127, null); - } - - final int method1339(int i) { - if (i != 100) return -3; - anInt2310++; - return anInt2324; - } - - final Object method1340(int i, Interface14 interface14) { - anInt2313++; - long l = interface14.method52((byte) 64); - for (Class348_Sub42_Sub9 class348_sub42_sub9 = (Class348_Sub42_Sub9) aClass356_2312.method3480(l, -6008); class348_sub42_sub9 != null; class348_sub42_sub9 = (Class348_Sub42_Sub9) aClass356_2312.method3476(true)) { - if (class348_sub42_sub9.anInterface14_9559.method53(94, interface14)) { - Object object = class348_sub42_sub9.method3205(65536); - if (object == null) { - class348_sub42_sub9.method2715((byte) 36); - class348_sub42_sub9.method3162(true); - anInt2311 += (class348_sub42_sub9.anInt9556); - } else { - if (class348_sub42_sub9.method3206((byte) -128)) { - Class348_Sub42_Sub9_Sub1 class348_sub42_sub9_sub1 = (new Class348_Sub42_Sub9_Sub1(interface14, object, (class348_sub42_sub9.anInt9556))); - aClass356_2312.method3483((byte) 125, (class348_sub42_sub9.aLong4291), class348_sub42_sub9_sub1); - aClass107_2316.method1005(true, class348_sub42_sub9_sub1); - class348_sub42_sub9_sub1.aLong7057 = 0L; - class348_sub42_sub9.method2715((byte) 65); - class348_sub42_sub9.method3162(true); - } else { - aClass107_2316.method1005(true, class348_sub42_sub9); - class348_sub42_sub9.aLong7057 = 0L; - } - return object; - } - } - } - if (i < 66) return null; - return null; - } - - private final void method1341(Object object, Interface14 interface14, int i, int i_0_) { - try { - if (i < -84) { - anInt2314++; - if (anInt2324 < i_0_) throw new IllegalStateException("s>cs"); - method1338(7, interface14); - anInt2311 -= i_0_; - while (anInt2311 < 0) { - Class348_Sub42_Sub9 class348_sub42_sub9 = (Class348_Sub42_Sub9) aClass107_2316.method1008(20); - method1342(class348_sub42_sub9, (byte) 60); - } - Class348_Sub42_Sub9_Sub1 class348_sub42_sub9_sub1 = new Class348_Sub42_Sub9_Sub1(interface14, object, i_0_); - aClass356_2312.method3483((byte) 120, interface14.method52((byte) 120), class348_sub42_sub9_sub1); - aClass107_2316.method1005(true, class348_sub42_sub9_sub1); - class348_sub42_sub9_sub1.aLong7057 = 0L; - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("pq.L(" + (object != null ? "{...}" : "null") + ',' + (interface14 != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ')')); - } - } - - private final void method1342(Class348_Sub42_Sub9 class348_sub42_sub9, byte i) { - anInt2317++; - if (i < 51) method1341(null, null, -110, 119); - if (class348_sub42_sub9 != null) { - class348_sub42_sub9.method2715((byte) 42); - class348_sub42_sub9.method3162(true); - anInt2311 += class348_sub42_sub9.anInt9556; - } - } - - static final void method1343(int i, Class46 class46, int i_1_, int i_2_) { - Class32.anInt451 = i; - Class348_Sub36.aClass46_6990 = class46; - Class332.anInt4141 = i_2_; - anInt2328++; - if (i_1_ != 1) method1349((byte) 119); - } - - final void method1344(byte i) { - anInt2319++; - for (Class348_Sub42_Sub9 class348_sub42_sub9 = (Class348_Sub42_Sub9) aClass107_2316.method1011(-87); class348_sub42_sub9 != null; class348_sub42_sub9 = ((Class348_Sub42_Sub9) aClass107_2316.method1003((byte) 69))) { - if (class348_sub42_sub9.method3206((byte) 5)) { - class348_sub42_sub9.method2715((byte) 127); - class348_sub42_sub9.method3162(true); - anInt2311 += class348_sub42_sub9.anInt9556; - } - } - if (i > -34) aBooleanArray2326 = null; - } - - final void method1345(byte i) { - aClass107_2316.method1009(2110355138); - anInt2325++; - aClass356_2312.method3481(0); - int i_3_ = 18 % ((i - -89) / 35); - anInt2311 = anInt2324; - } - - final void method1346(int i, int i_4_) { - anInt2322++; - if (Class103.aClass345_1607 != null) { - for (Class348_Sub42_Sub9 class348_sub42_sub9 = (Class348_Sub42_Sub9) aClass107_2316.method1011(-72); class348_sub42_sub9 != null; class348_sub42_sub9 = ((Class348_Sub42_Sub9) aClass107_2316.method1003((byte) 59))) { - if (class348_sub42_sub9.method3206((byte) -124)) { - if (class348_sub42_sub9.method3205(i + 67027) == null) { - class348_sub42_sub9.method2715((byte) 103); - class348_sub42_sub9.method3162(true); - anInt2311 += (class348_sub42_sub9.anInt9556); - } - } else if (++class348_sub42_sub9.aLong7057 > (long) i_4_) { - Class348_Sub42_Sub9 class348_sub42_sub9_5_ = Class103.aClass345_1607.method2694(-1, class348_sub42_sub9); - aClass356_2312.method3483((byte) 120, (class348_sub42_sub9.aLong4291), class348_sub42_sub9_5_); - Class59_Sub2_Sub2.method573(class348_sub42_sub9_5_, class348_sub42_sub9, (byte) 63); - class348_sub42_sub9.method2715((byte) 70); - class348_sub42_sub9.method3162(true); - } - } - } - if (i != -1491) method1342(null, (byte) 51); - } - - static final float[] method1347(int i, int i_6_, float f, float f_7_, int i_8_, float f_9_, int i_10_, int i_11_) { - anInt2323++; - float[] fs = new float[9]; - float[] fs_12_ = new float[9]; - float f_13_ = (float) Math.cos((float) i_11_ * 0.024543693F); - int i_14_ = -94 / ((i_8_ - 57) / 62); - float f_15_ = (float) Math.sin(0.024543693F * (float) i_11_); - fs[6] = -f_15_; - float f_16_ = -f_13_ + 1.0F; - fs[8] = f_13_; - fs[3] = 0.0F; - fs[1] = 0.0F; - fs[2] = f_15_; - fs[4] = 1.0F; - fs[5] = 0.0F; - fs[0] = f_13_; - fs[7] = 0.0F; - float[] fs_17_ = new float[9]; - float f_18_ = 1.0F; - f_13_ = (float) i_6_ / 32767.0F; - float f_19_ = 0.0F; - f_16_ = -f_13_ + 1.0F; - f_15_ = -(float) Math.sqrt(1.0F - f_13_ * f_13_); - float f_20_ = (float) Math.sqrt(i_10_ * i_10_ + i * i); - if (f_20_ == 0.0F && f_13_ == 0.0F) fs_12_ = fs; - else { - if (f_20_ != 0.0F) { - f_18_ = (float) -i / f_20_; - f_19_ = (float) i_10_ / f_20_; - } - fs_17_[5] = f_18_ * f_15_; - fs_17_[2] = f_18_ * f_19_ * f_16_; - fs_17_[8] = f_13_ + f_16_ * (f_19_ * f_19_); - fs_17_[4] = f_13_; - fs_17_[0] = f_16_ * (f_18_ * f_18_) + f_13_; - fs_17_[6] = f_16_ * (f_19_ * f_18_); - fs_17_[3] = f_15_ * -f_19_; - fs_17_[1] = f_15_ * f_19_; - fs_17_[7] = f_15_ * -f_18_; - fs_12_[0] = fs_17_[0] * fs[0] + fs[1] * fs_17_[3] + fs_17_[6] * fs[2]; - fs_12_[1] = fs_17_[7] * fs[2] + (fs[1] * fs_17_[4] + fs[0] * fs_17_[1]); - fs_12_[2] = fs[1] * fs_17_[5] + fs[0] * fs_17_[2] + fs[2] * fs_17_[8]; - fs_12_[3] = fs_17_[0] * fs[3] + fs[4] * fs_17_[3] + fs_17_[6] * fs[5]; - fs_12_[4] = fs[5] * fs_17_[7] + (fs[3] * fs_17_[1] + fs[4] * fs_17_[4]); - fs_12_[6] = fs_17_[0] * fs[6] + fs[7] * fs_17_[3] + fs_17_[6] * fs[8]; - fs_12_[5] = fs[4] * fs_17_[5] + fs_17_[2] * fs[3] + fs[5] * fs_17_[8]; - fs_12_[7] = fs_17_[1] * fs[6] + fs_17_[4] * fs[7] + fs[8] * fs_17_[7]; - fs_12_[8] = fs_17_[5] * fs[7] + fs[6] * fs_17_[2] + fs[8] * fs_17_[8]; - } - fs_12_[7] *= f; - fs_12_[4] *= f_9_; - fs_12_[3] *= f_9_; - fs_12_[5] *= f_9_; - fs_12_[2] *= f_7_; - fs_12_[8] *= f; - fs_12_[6] *= f; - fs_12_[1] *= f_7_; - fs_12_[0] *= f_7_; - return fs_12_; - } - - final void method1348(int i, Object object, Interface14 interface14) { - do { - try { - anInt2318++; - method1341(object, interface14, -114, 1); - if (i > 62) break; - aClass107_2316 = null; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("pq.K(" + i + ',' + (object != null ? "{...}" : "null") + ',' + (interface14 != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - public static void method1349(byte i) { - anIntArray2330 = null; - aClass340_2327 = null; - aBooleanArray2326 = null; - aClass351_2315 = null; - if (i > -103) aBooleanArray2326 = null; - } - - final int method1350(byte i) { - int i_21_ = -9 % ((73 - i) / 53); - anInt2320++; - return anInt2311; - } - - Class175(int i) { - anInt2311 = i; - anInt2324 = i; - int i_22_; - for (i_22_ = 1; i_22_ + i_22_ < i; i_22_ += i_22_) { - /* empty */ - } - aClass356_2312 = new Class356(i_22_); - } - - static { - aClass351_2315 = new Class351(18, 3); - } -} diff --git a/client/src/Class176.java b/client/src/Class176.java deleted file mode 100644 index 4bab0d240..000000000 --- a/client/src/Class176.java +++ /dev/null @@ -1,25 +0,0 @@ -/* Class176 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class176 { - static Class114 aClass114_2331 = new Class114(120, -2); - static Class348_Sub26 aClass348_Sub26_2332; - static Class323 aClass323_2333; - static Class348_Sub47[] aClass348_Sub47Array2334 = new Class348_Sub47[300]; - static Class114 aClass114_2335; - - public static void method1351(int i) { - aClass114_2331 = null; - aClass348_Sub26_2332 = null; - aClass114_2335 = null; - if (i != 1) aClass114_2331 = null; - aClass348_Sub47Array2334 = null; - aClass323_2333 = null; - } - - static { - aClass348_Sub26_2332 = null; - aClass114_2335 = new Class114(80, 0); - } -} diff --git a/client/src/Class177.java b/client/src/Class177.java deleted file mode 100644 index 7b83564f8..000000000 --- a/client/src/Class177.java +++ /dev/null @@ -1,66 +0,0 @@ -/* Class177 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class177 implements Interface1 { - static int anInt4663; - static int anInt4664; - static int anInt4665; - static int anInt4666 = 0; - static int anInt4667; - static int anInt4668; - static int anInt4669; - static int[] anIntArray4670 = new int[3]; - private final Class52 aClass52_4671; - - public final void method9(byte i, boolean bool) { - if (bool) Class348_Sub8.aHa6654.aa(0, 0, Class321.anInt4017, Class348_Sub42_Sub8_Sub2.anInt10432, aClass52_4671.anInt4899, 0); - anInt4668++; - if (i != -49) anInt4666 = -20; - } - - static final void method1352(int i, int i_0_, int i_1_, byte i_2_) { - anInt4664++; - if (i_2_ != -98) method1354((byte) 69); - i_0_ = (i_0_ * Class316.aClass348_Sub51_3959.aClass239_Sub26_7260.method1838(-32350) >> 8); - if (i_0_ != 0 && i != -1) { - if (!Class74.aBoolean1236 && Class267.anInt3428 != -1 && Class167.method1296(true) && !Class327.method2605((byte) -99)) { - Class209.aClass348_Sub16_Sub3_2718 = Class101_Sub3.method943(false); - Class348_Sub16_Sub3 class348_sub16_sub3 = Class172.method1326(Class209.aClass348_Sub16_Sub3_2718, i_2_ ^ ~0x68); - Class348_Sub42_Sub18.method3273(true, -95, class348_sub16_sub3); - } - Class348_Sub1_Sub3.method2732(0, i, false, 102, Class348_Sub23_Sub2.aClass45_9033, i_0_); - Class348_Sub5.method2755(-1, 255, -1); - Class74.aBoolean1236 = true; - } - } - - public final void method7(int i) { - anInt4667++; - if (i != 10286) method1354((byte) 42); - } - - public final boolean method8(byte i) { - anInt4663++; - int i_3_ = 35 / ((i - 25) / 52); - return true; - } - - static final Class318_Sub1_Sub3 method1353(int i, int i_4_, int i_5_, Class var_class) { - Class357 class357 = Class147.aClass357ArrayArrayArray2029[i][i_4_][i_5_]; - if (class357 == null) return null; - for (Class148 class148 = class357.aClass148_4396; class148 != null; class148 = class148.aClass148_2038) { - Class318_Sub1_Sub3 class318_sub1_sub3 = class148.aClass318_Sub1_Sub3_2040; - if (var_class.isAssignableFrom(class318_sub1_sub3.getClass()) && class318_sub1_sub3.aShort8743 == i_4_ && (class318_sub1_sub3.aShort8750 == i_5_)) return class318_sub1_sub3; - } - return null; - } - - public static void method1354(byte i) { - if (i == -22) anIntArray4670 = null; - } - - Class177(Class52 class52) { - aClass52_4671 = class52; - } -} diff --git a/client/src/Class178.java b/client/src/Class178.java deleted file mode 100644 index 844159003..000000000 --- a/client/src/Class178.java +++ /dev/null @@ -1,104 +0,0 @@ -/* Class178 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class178 { - static int anInt2336; - static int anInt2337; - static Class114 aClass114_2338 = new Class114(92, -1); - static Class29 aClass29_2339 = new Class29(14, 0); - static int anInt2340; - static Class29 aClass29_2341 = new Class29(15, 4); - static Class29 aClass29_2342 = new Class29(16, -2); - static Class29 aClass29_2343 = new Class29(17, 0); - static Class29 aClass29_2344 = new Class29(18, -2); - static Class29 aClass29_2345 = new Class29(19, -2); - static Class29 aClass29_2346 = new Class29(20, 6); - static Class29 aClass29_2347 = new Class29(21, 9); - static Class29 aClass29_2348 = new Class29(22, -2); - static Class29 aClass29_2349 = new Class29(23, 4); - static Class29 aClass29_2350 = new Class29(24, -1); - static Class29 aClass29_2351 = new Class29(26, 0); - static Class29 aClass29_2352 = new Class29(27, 0); - static Class29 aClass29_2353 = new Class29(28, -2); - private static Class29[] aClass29Array2354 = new Class29[32]; - - public static void method1355(int i) { - aClass29_2346 = null; - aClass29_2349 = null; - aClass29_2344 = null; - aClass29_2352 = null; - aClass114_2338 = null; - if (i > -74) method1356(true, null, -116, -47, true, null, true); - aClass29_2350 = null; - aClass29Array2354 = null; - aClass29_2353 = null; - aClass29_2351 = null; - aClass29_2339 = null; - aClass29_2343 = null; - aClass29_2341 = null; - aClass29_2345 = null; - aClass29_2342 = null; - aClass29_2348 = null; - aClass29_2347 = null; - } - - static final void method1356(boolean bool, String string, int i, int i_0_, boolean bool_1_, String string_2_, boolean bool_3_) { - try { - anInt2337++; - Class174.aClass45_2306.anInt634 = 1; - string_2_ = string_2_.toLowerCase(); - short[] is = new short[16]; - int i_4_ = -1; - String string_5_ = null; - if (i_0_ != -1) { - Class254 class254 = Class101_Sub3.aClass326_5764.method2600(i_0_, 28364); - if (class254 == null || bool != class254.method1925(!bool_3_)) return; - if (class254.method1925(!bool_3_)) string_5_ = class254.aString3258; - else i_4_ = class254.anInt3256; - } - int i_6_ = 0; - int i_7_ = 0; - if (bool_3_ != true) aClass29_2352 = null; - for (/**/; i_7_ < Exception_Sub1.aClass255_112.anInt3271; i_7_++) { - Class213 class213 = Exception_Sub1.aClass255_112.method1940(-74, i_7_); - if ((!bool_1_ || class213.aBoolean2755) && class213.anInt2833 == -1 && class213.anInt2812 == -1 && class213.anInt2799 == 0 && class213.aString2795.toLowerCase().indexOf(string_2_) != -1) { - if (i_0_ != -1) { - if (bool) { - if (!string.equals(class213.method1561(string_5_, i_0_, -1511086397))) continue; - } else if (class213.method1567(i_4_, -116, i_0_) != i) continue; - } - if (i_6_ >= 250) { - Class192.aShortArray2579 = null; - Class76.anInt1285 = -1; - return; - } - if (is.length <= i_6_) { - short[] is_8_ = new short[2 * is.length]; - for (int i_9_ = 0; i_9_ < i_6_; i_9_++) - is_8_[i_9_] = is[i_9_]; - is = is_8_; - } - is[i_6_++] = (short) i_7_; - } - } - Class192.aShortArray2579 = is; - Class76.anInt1285 = i_6_; - Class148.anInt2037 = 0; - String[] strings = new String[Class76.anInt1285]; - for (int i_10_ = 0; Class76.anInt1285 > i_10_; i_10_++) - strings[i_10_] = Exception_Sub1.aClass255_112.method1940(123, is[i_10_]).aString2795; - Class174.method1333(Class192.aShortArray2579, 26073, strings); - Class174.aClass45_2306.method412((byte) 116); - Class174.aClass45_2306.anInt634 = 2; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qa.A(" + bool + ',' + (string != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + bool_1_ + ',' + (string_2_ != null ? "{...}" : "null") + ',' + bool_3_ + ')')); - } - } - - static { - Class29[] class29s = Class5_Sub1.method188((byte) 59); - for (int i = 0; i < class29s.length; i++) - aClass29Array2354[class29s[i].anInt400] = class29s[i]; - } -} diff --git a/client/src/Class179.java b/client/src/Class179.java deleted file mode 100644 index 5d3bdd6f1..000000000 --- a/client/src/Class179.java +++ /dev/null @@ -1,147 +0,0 @@ -/* Class179 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class179 { - static int anInt2355; - static int anInt2356; - static int anInt2357; - static int anInt2358; - static int anInt2359; - private boolean aBoolean2360 = false; - static int anInt2361 = 1; - static int anInt2362; - static int anInt2363; - private int anInt2364 = -1; - private final int anInt2365; - static int anInt2366; - private String[] aStringArray2367 = new String[0]; - static int anInt2368; - static int anInt2369; - - static final Object method1357(byte[] is, boolean bool, byte i) { - if (i < 73) anInt2361 = -51; - anInt2363++; - if (is == null) return null; - if (is.length > 136 && !Class17.aBoolean247) { - try { - Class344 class344 = new Class344_Sub1(); - class344.method2691((byte) 62, is); - return class344; - } catch (Throwable throwable) { - Class17.aBoolean247 = true; - } - } - if (bool) return ha_Sub3.method3873(is, 0); - return is; - } - - private final int method1358(int i, int i_0_) { - int i_1_ = 71 % ((i_0_ - -4) / 53); - anInt2362++; - int i_2_ = aStringArray2367.length; - while (i_2_ <= i) { - if (!aBoolean2360) i_2_ += anInt2365; - else if (i_2_ != 0) i_2_ *= anInt2365; - else i_2_ = 1; - } - return i_2_; - } - - static final int method1359(boolean bool, int i) { - anInt2368++; - if (bool != true) anInt2361 = -32; - return i >>> 10; - } - - static final void method1360(String string, Class297 class297, boolean bool, boolean bool_3_, int i) { - try { - anInt2369++; - if (bool_3_) { - if (Class297.aString3803.startsWith("win") && class297.aBoolean3777) { - String string_4_ = null; - if (Class93.anApplet1530 != null) string_4_ = Class93.anApplet1530.getParameter("haveie6"); - if (string_4_ == null || !string_4_.equals("1")) { - Class144 class144 = Class348_Sub16_Sub3.method2862(class297, string, -117, 0); - Class318_Sub1_Sub5.aClass144_8766 = class144; - Class195.aClass297_5017 = class297; - Class348_Sub42_Sub8.aString9554 = string; - return; - } - } - if (Class297.aString3803.startsWith("mac")) { - String string_5_ = null; - if (Class93.anApplet1530 != null) string_5_ = Class93.anApplet1530.getParameter("havefirefox"); - if (string_5_ != null && string_5_.equals("1") && bool) { - Class348_Sub16_Sub3.method2862(class297, string, 42, 1); - return; - } - } - Class348_Sub16_Sub3.method2862(class297, string, 96, 2); - } else Class348_Sub16_Sub3.method2862(class297, string, -96, 3); - int i_6_ = -6 / ((i - 20) / 44); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bo.C(" + (string != null ? "{...}" : "null") + ',' + (class297 != null ? "{...}" : "null") + ',' + bool + ',' + bool_3_ + ',' + i + ')')); - } - } - - final String[] method1361(int i) { - anInt2359++; - int i_7_ = 95 % ((15 - i) / 32); - String[] strings = new String[1 + anInt2364]; - Class214.method1575(aStringArray2367, 0, strings, 0, anInt2364 - -1); - return strings; - } - - private final void method1362(String string, int i, int i_8_) { - if (i >= -56) aBoolean2360 = true; - anInt2366++; - if (i_8_ > anInt2364) anInt2364 = i_8_; - if (aStringArray2367.length <= i_8_) method1363(i_8_, -107); - aStringArray2367[i_8_] = string; - } - - private final void method1363(int i, int i_9_) { - int i_10_ = 50 % ((3 - i_9_) / 63); - anInt2358++; - String[] strings = new String[method1358(i, 108)]; - Class214.method1575(aStringArray2367, 0, strings, 0, aStringArray2367.length); - aStringArray2367 = strings; - } - - final void method1364(int i, String string) { - method1362(string, -99, 1 + anInt2364); - anInt2356++; - if (i != -1) aBoolean2360 = true; - } - - static final void method1365(int i, byte i_11_, Class348_Sub49 class348_sub49) { - if (i_11_ > -113) anInt2361 = -64; - if (Class374.aClass78_4538 != null) { - try { - Class374.aClass78_4538.method789(0L, (byte) 59); - Class374.aClass78_4538.method783(i, 24, true, (class348_sub49.aByteArray7154)); - } catch (Exception exception) { - /* empty */ - } - } - anInt2355++; - } - - Class179(int i, boolean bool) { - anInt2365 = i; - aBoolean2360 = bool; - } - - public final String toString() { - anInt2357++; - StringBuffer stringbuffer = new StringBuffer(); - stringbuffer.append("["); - for (int i = 0; anInt2364 > i; i++) { - if (i != 0) stringbuffer.append(", "); - stringbuffer.append(aStringArray2367[i]); - } - stringbuffer.append("]"); - return stringbuffer.toString(); - } -} diff --git a/client/src/Class18.java b/client/src/Class18.java deleted file mode 100644 index 87cd52877..000000000 --- a/client/src/Class18.java +++ /dev/null @@ -1,352 +0,0 @@ -/* Class18 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -final class Class18 { - static int anInt270; - static int anInt271; - static int anInt272; - static int anInt273; - static int anInt274; - private int anInt275 = 1; - private int anInt276 = 0; - static int anInt277; - static int anInt278; - static int[] anIntArray279 = new int[2048]; - static int anInt280; - private Class206 aClass206_281; - static int anInt282; - static int anInt283; - private Class206 aClass206_284; - private Class206 aClass206_285; - private int anInt286; - private int anInt287 = 0; - static int anInt288; - private boolean aBoolean289; - private final ha_Sub2 aHa_Sub2_290; - static int anInt291; - private final Class262 aClass262_292; - private boolean aBoolean293; - private boolean aBoolean294; - private Class258_Sub3[] aClass258_Sub3Array295; - private Class348_Sub42_Sub2 aClass348_Sub42_Sub2_296; - private boolean aBoolean297; - private Class348_Sub42_Sub2 aClass348_Sub42_Sub2_298; - private boolean aBoolean299; - private Class258_Sub3 aClass258_Sub3_300; - private int anInt301; - private int anInt302; - private boolean aBoolean303; - - static final void method271(int i, Class46 class46, byte i_0_, int i_1_) { - anInt278++; - aa var_aa = class46.method425(Class348_Sub8.aHa6654, (byte) 19); - if (var_aa != null) { - Class348_Sub8.aHa6654.KA(i_1_, i, class46.anInt709 + i_1_, i - -class46.anInt789); - if (Class259.anInt3306 >= 3) Class348_Sub8.aHa6654.A(-16777216, var_aa, i_1_, i); - else Class79.aClass105_1365.method976(((float) class46.anInt709 / 2.0F + (float) i_1_), (float) i + (float) class46.anInt789 / 2.0F, 4096, (0x3fff & (int) -Class314.aFloat3938) << 2, var_aa, i_1_, i); - if (i_0_ != -98) method271(88, null, (byte) 15, 71); - } - } - - final void method272(int i) { - anInt277++; - if (aBoolean289) { - if (aClass206_285 != null) { - aHa_Sub2_290.method3764(-17083, aClass206_285); - int i_2_ = 16384; - aHa_Sub2_290.method3751(aClass206_281, -115); - aClass206_285.method1505(0, 0); - aClass206_281.method1503(0, (byte) 3); - if (aBoolean303) i_2_ |= 0x100; - OpenGL.glBlitFramebufferEXT(0, 0, anInt286, anInt275, 0, 0, anInt286, anInt275, i_2_, 9728); - aHa_Sub2_290.method3805(8387, aClass206_285); - aHa_Sub2_290.method3782(aClass206_281, 327685); - } - aHa_Sub2_290.method3792(92); - aHa_Sub2_290.method3753(0, 1); - aHa_Sub2_290.method3761(0, 1); - int i_3_ = 19 % ((i - 12) / 49); - aHa_Sub2_290.la(); - int i_4_ = 0; - int i_5_ = 1; - Class348_Sub5 class348_sub5; - for (Class348_Sub5 class348_sub5_6_ = (Class348_Sub5) aClass262_292.method1995(4); class348_sub5_6_ != null; class348_sub5_6_ = class348_sub5) { - class348_sub5 = (Class348_Sub5) aClass262_292.method1990((byte) 113); - int i_7_ = class348_sub5_6_.method2764(1); - for (int i_8_ = 0; i_8_ < i_7_; i_8_++) { - class348_sub5_6_.method2750(aClass258_Sub3_300, aClass258_Sub3Array295[i_4_], i_8_, (byte) 103); - if (class348_sub5 == null && i_8_ == i_7_ - 1) { - aHa_Sub2_290.method3770(-422613672, aClass206_281); - aHa_Sub2_290.method3790(103, 0, 0); - OpenGL.glBegin(7); - OpenGL.glTexCoord2f(0.0F, (float) anInt275); - OpenGL.glMultiTexCoord2f(33985, 0.0F, 1.0F); - OpenGL.glVertex2i(anInt287, anInt276); - OpenGL.glTexCoord2f(0.0F, 0.0F); - OpenGL.glMultiTexCoord2f(33985, 0.0F, 0.0F); - OpenGL.glVertex2i(anInt287, anInt276 - -anInt275); - OpenGL.glTexCoord2f((float) anInt286, 0.0F); - OpenGL.glMultiTexCoord2f(33985, 1.0F, 0.0F); - OpenGL.glVertex2i(anInt287 - -anInt286, anInt276 + anInt275); - OpenGL.glTexCoord2f((float) anInt286, (float) anInt275); - OpenGL.glMultiTexCoord2f(33985, 1.0F, 1.0F); - OpenGL.glVertex2i(anInt286 + anInt287, anInt276); - OpenGL.glEnd(); - } else { - aClass206_281.method1503(i_5_, (byte) 3); - OpenGL.glBegin(7); - OpenGL.glTexCoord2f(0.0F, (float) anInt275); - OpenGL.glMultiTexCoord2f(33985, 0.0F, 1.0F); - OpenGL.glVertex2i(0, 0); - OpenGL.glTexCoord2f(0.0F, 0.0F); - OpenGL.glMultiTexCoord2f(33985, 0.0F, 0.0F); - OpenGL.glVertex2i(0, anInt275); - OpenGL.glTexCoord2f((float) anInt286, 0.0F); - OpenGL.glMultiTexCoord2f(33985, 1.0F, 0.0F); - OpenGL.glVertex2i(anInt286, anInt275); - OpenGL.glTexCoord2f((float) anInt286, (float) anInt275); - OpenGL.glMultiTexCoord2f(33985, 1.0F, 1.0F); - OpenGL.glVertex2i(anInt286, 0); - OpenGL.glEnd(); - } - class348_sub5_6_.method2756((byte) -80, i_8_); - i_4_ = i_4_ + 1 & 0x1; - i_5_ = i_5_ - -1 & 0x1; - } - } - aBoolean289 = false; - } - } - - static final void method273(Class46 class46, int i) { - anInt288++; - if (class46.anInt774 == 5 && class46.anInt812 != -1) Class318_Sub1.method2383(Class348_Sub8.aHa6654, -2, class46); - if (i != -2835) method273(null, 44); - } - - final boolean method274(Class348_Sub5 class348_sub5, boolean bool) { - anInt273++; - if (aClass206_284 != null) { - if (class348_sub5.method2751(bool) || class348_sub5.method2758(85)) { - aClass262_292.method1999(class348_sub5, -20180); - method281((byte) -94); - if (method276(false)) { - if (anInt286 != -1 && anInt275 != -1) class348_sub5.method2754(anInt275, (byte) 55, anInt286); - class348_sub5.aBoolean6621 = true; - return true; - } - } - method278(class348_sub5, true); - } - if (bool != true) return false; - return false; - } - - final boolean method275(int i, int i_9_, int i_10_, int i_11_, int i_12_) { - if (i_12_ != -1) return true; - anInt272++; - if (aClass206_284 == null || aClass262_292.method2002((byte) 18)) return false; - if (anInt286 != i || i_10_ != anInt275) { - anInt286 = i; - anInt275 = i_10_; - for (Class348 class348 = aClass262_292.method1995(i_12_ ^ ~0x4); aClass262_292.aClass348_3334 != class348; class348 = class348.aClass348_4294) - ((Class348_Sub5) class348).method2754(anInt275, (byte) 41, anInt286); - aBoolean297 = true; - aBoolean293 = true; - aBoolean294 = true; - } - if (method276(false)) { - aBoolean289 = true; - anInt276 = i_11_; - anInt287 = i_9_; - aHa_Sub2_290.method3773(i_12_, aClass206_284); - aClass206_284.method1503(0, (byte) 3); - aHa_Sub2_290.method3790(98, (-aHa_Sub2_290.anInt7641 + (anInt275 - -anInt276)), -anInt287); - return true; - } - return false; - } - - private final boolean method276(boolean bool) { - if (aBoolean293) { - if (aClass348_Sub42_Sub2_298 != null) { - aClass348_Sub42_Sub2_298.method3172(4); - aClass348_Sub42_Sub2_298 = null; - } - if (aClass258_Sub3_300 != null) { - aClass258_Sub3_300.method1952(-19948); - aClass258_Sub3_300 = null; - } - if (aClass206_285 != null) aClass348_Sub42_Sub2_298 = new Class348_Sub42_Sub2(aHa_Sub2_290, 6402, anInt286, anInt275, (aHa_Sub2_290.anInt7713)); - if (aBoolean303) aClass258_Sub3_300 = new Class258_Sub3(aHa_Sub2_290, 34037, 6402, anInt286, anInt275); - else if (aClass348_Sub42_Sub2_298 == null) aClass348_Sub42_Sub2_298 = new Class348_Sub42_Sub2(aHa_Sub2_290, 6402, anInt286, anInt275); - aBoolean293 = false; - aBoolean294 = true; - aBoolean299 = true; - } - anInt271++; - if (aBoolean297) { - if (aClass348_Sub42_Sub2_296 != null) { - aClass348_Sub42_Sub2_296.method3172(4); - aClass348_Sub42_Sub2_296 = null; - } - if (aClass258_Sub3Array295[0] != null) { - aClass258_Sub3Array295[0].method1952(-19948); - aClass258_Sub3Array295[0] = null; - } - if (aClass258_Sub3Array295[1] != null) { - aClass258_Sub3Array295[1].method1952(-19948); - aClass258_Sub3Array295[1] = null; - } - if (aClass206_285 != null) aClass348_Sub42_Sub2_296 = new Class348_Sub42_Sub2(aHa_Sub2_290, anInt301, anInt286, anInt275, (aHa_Sub2_290.anInt7713)); - aClass258_Sub3Array295[0] = new Class258_Sub3(aHa_Sub2_290, 34037, anInt301, anInt286, anInt275); - aClass258_Sub3Array295[1] = anInt302 > 1 ? new Class258_Sub3(aHa_Sub2_290, 34037, anInt301, anInt286, anInt275) : null; - aBoolean294 = true; - aBoolean299 = true; - aBoolean297 = false; - } - if (bool != false) anInt282 = -21; - if (aBoolean294) { - if (aClass206_285 == null) { - aHa_Sub2_290.method3773(-1, aClass206_281); - aClass206_281.method1500(2983, 0); - aClass206_281.method1500(2983, 1); - aClass206_281.method1500(2983, 8); - aClass206_281.method1509(aClass258_Sub3Array295[0], 0, 0); - if (anInt302 > 1) aClass206_281.method1509(aClass258_Sub3Array295[1], 0, 1); - if (aBoolean303) aClass206_281.method1509(aClass258_Sub3_300, 0, 8); - else aClass206_281.method1508(8, aClass348_Sub42_Sub2_298, 114); - aHa_Sub2_290.method3770(-422613672, aClass206_281); - } else { - aHa_Sub2_290.method3773(-1, aClass206_281); - aClass206_281.method1500(2983, 0); - aClass206_281.method1500(2983, 1); - aClass206_281.method1500(2983, 8); - aClass206_281.method1509(aClass258_Sub3Array295[0], 0, 0); - if (anInt302 > 1) aClass206_281.method1509(aClass258_Sub3Array295[1], 0, 1); - if (aBoolean303) aClass206_281.method1509(aClass258_Sub3_300, 0, 8); - aHa_Sub2_290.method3770(-422613672, aClass206_281); - aHa_Sub2_290.method3773(-1, aClass206_285); - aClass206_285.method1500(2983, 0); - aClass206_285.method1500(2983, 8); - aClass206_285.method1508(0, aClass348_Sub42_Sub2_296, -100); - aClass206_285.method1508(8, aClass348_Sub42_Sub2_298, -47); - aHa_Sub2_290.method3770(-422613672, aClass206_285); - } - aBoolean294 = false; - aBoolean299 = true; - } - if (aBoolean299) { - aHa_Sub2_290.method3773(-1, aClass206_284); - aBoolean299 = !aClass206_284.method1507(118); - aHa_Sub2_290.method3770(-422613672, aClass206_284); - } - return !aBoolean299; - } - - public static void method277(byte i) { - if (i >= 77) anIntArray279 = null; - } - - final void method278(Class348_Sub5 class348_sub5, boolean bool) { - anInt280++; - if (bool == true) { - class348_sub5.aBoolean6621 = false; - class348_sub5.method2763((byte) -126); - class348_sub5.method2715((byte) 103); - method281((byte) -80); - } - } - - final void method279(byte i) { - int i_13_ = 84 % ((-63 - i) / 56); - aClass348_Sub42_Sub2_296 = null; - anInt291++; - aClass206_284 = aClass206_285 = aClass206_281 = null; - aClass258_Sub3_300 = null; - aClass348_Sub42_Sub2_298 = null; - aClass258_Sub3Array295 = null; - if (!aClass262_292.method2002((byte) 18)) { - for (Class348 class348 = aClass262_292.method1995(4); aClass262_292.aClass348_3334 != class348; class348 = class348.aClass348_4294) - ((Class348_Sub5) class348).method2763((byte) -124); - } - anInt286 = anInt275 = 1; - } - - final boolean method280(int i) { - anInt270++; - if (i != 1) anInt286 = -99; - return aClass206_284 != null; - } - - private final void method281(byte i) { - anInt283++; - boolean bool = false; - int i_14_ = 0; - int i_15_ = 0; - Class348_Sub5 class348_sub5 = (Class348_Sub5) aClass262_292.method1995(4); - int i_16_ = 50 / ((-34 - i) / 45); - for (/**/; class348_sub5 != null; class348_sub5 = (Class348_Sub5) aClass262_292.method1990((byte) 67)) { - int i_17_ = class348_sub5.method2761(true); - i_15_ += class348_sub5.method2764(1); - if (i_14_ < i_17_) i_14_ = i_17_; - bool |= class348_sub5.method2759(1); - } - int i_18_; - if (i_14_ != 2) { - if (i_14_ == 1) i_18_ = 34842; - else i_18_ = 6408; - } else i_18_ = 34836; - if (anInt301 != i_18_) { - aBoolean297 = true; - anInt301 = i_18_; - } - int i_19_ = Math.min(anInt302, 2); - int i_20_ = Math.min(i_15_, 2); - anInt302 = i_15_; - if (!bool == aBoolean303) { - aBoolean303 = bool; - aBoolean293 = true; - } - if (i_20_ != i_19_) aBoolean294 = aBoolean297 = true; - } - - static final void method282(int i, ha var_ha, int i_21_, byte i_22_, int i_23_, int i_24_, int i_25_, int i_26_) { - anInt274++; - Class21.aHa326 = var_ha; - Class51.aClass101_905 = Class21.aHa326.method3654(); - Class44.aClass101_624 = Class21.aHa326.method3654(); - r.aClass101_9720 = Class21.aHa326.method3654(); - Class73.anInt4784 = i_26_; - Class239_Sub24.anInt6095 = 0; - if (i_22_ <= 64) anIntArray279 = null; - Class344.anInt4267 = i_23_; - Class286.anInt3682 = 0; - Class58.anInt1067 = i_24_; - Class17.anInterface4_252 = null; - Class348_Sub49.anInt7207 = 1; - Class239_Sub12.anInt5965 = i; - Class85.method828((byte) 38, i_25_, i_21_); - } - - Class18(ha_Sub2 var_ha_Sub2) { - anInt286 = 1; - aClass262_292 = new Class262(); - aBoolean293 = true; - aClass258_Sub3Array295 = new Class258_Sub3[2]; - aBoolean297 = true; - aBoolean294 = true; - aBoolean299 = true; - anInt302 = 0; - anInt301 = -1; - aBoolean303 = false; - aHa_Sub2_290 = var_ha_Sub2; - if (aHa_Sub2_290.aBoolean7820 && aHa_Sub2_290.aBoolean7837) { - aClass206_284 = aClass206_281 = new Class206(aHa_Sub2_290); - if (aHa_Sub2_290.anInt7713 > 1 && aHa_Sub2_290.aBoolean7815 && aHa_Sub2_290.aBoolean7807) aClass206_284 = aClass206_285 = new Class206(aHa_Sub2_290); - } - } -} diff --git a/client/src/Class180.java b/client/src/Class180.java deleted file mode 100644 index 129c472fd..000000000 --- a/client/src/Class180.java +++ /dev/null @@ -1,24 +0,0 @@ -/* Class180 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; - -final class Class180 { - static int[] anIntArray2370 = new int[13]; - static Rectangle[] aRectangleArray2371 = new Rectangle[100]; - static Class196 aClass196_2372; - - public static void method1366(byte i) { - aClass196_2372 = null; - anIntArray2370 = null; - aRectangleArray2371 = null; - if (i != -43) aRectangleArray2371 = null; - } - - static { - for (int i = 0; i < 100; i++) - aRectangleArray2371[i] = new Rectangle(); - aClass196_2372 = new Class196(); - } -} diff --git a/client/src/Class181.java b/client/src/Class181.java deleted file mode 100644 index 881373cd5..000000000 --- a/client/src/Class181.java +++ /dev/null @@ -1,281 +0,0 @@ -/* Class181 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class181 { - int anInt2373; - static boolean[] aBooleanArray2374 = new boolean[5]; - private int anInt2375; - boolean aBoolean2376; - int anInt2377; - static int anInt2378; - int anInt2379 = 0; - int[] anIntArray2380; - int anInt2381; - boolean aBoolean2382 = false; - int anInt2383; - int anInt2384; - int[] anIntArray2385; - int anInt2386; - int anInt2387 = -1; - int anInt2388; - int anInt2389; - int anInt2390; - int anInt2391; - int anInt2392; - int anInt2393; - int anInt2394; - int[] anIntArray2395; - static int anInt2396; - boolean aBoolean2397; - static int anInt2398; - int anInt2399; - static int anInt2400; - private int anInt2401; - int[] anIntArray2402; - int anInt2403; - int anInt2404 = -1; - int anInt2405; - boolean aBoolean2406; - int anInt2407; - int anInt2408; - static int anInt2409; - int anInt2410; - boolean aBoolean2411 = true; - private int anInt2412; - int anInt2413; - int anInt2414; - short aShort2415; - int anInt2416; - int anInt2417; - short aShort2418; - private int anInt2419; - private int anInt2420; - int anInt2421; - int anInt2422; - int anInt2423; - boolean aBoolean2424; - int anInt2425; - int anInt2426; - int anInt2427; - private int anInt2428; - int anInt2429; - boolean aBoolean2430; - short aShort2431; - private int anInt2432; - int anInt2433; - private int anInt2434; - boolean aBoolean2435; - int anInt2436; - int anInt2437; - int anInt2438; - int anInt2439; - private int anInt2440; - short aShort2441; - int anInt2442; - boolean aBoolean2443; - private int anInt2444; - - static final void method1367(int i, int i_0_, float f, int i_1_, float[] fs, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, float[] fs_7_) { - try { - i_2_ -= i; - anInt2409++; - i_1_ -= i_3_; - i_4_ -= i_5_; - float f_8_ = (float) i_2_ * fs_7_[2] + (fs_7_[1] * (float) i_4_ + fs_7_[0] * (float) i_1_); - float f_9_ = (float) i_2_ * fs_7_[5] + ((float) i_1_ * fs_7_[3] + (float) i_4_ * fs_7_[4]); - float f_10_ = (fs_7_[6] * (float) i_1_ + (float) i_4_ * fs_7_[7] + (float) i_2_ * fs_7_[8]); - float f_11_ = (float) Math.sqrt(f_8_ * f_8_ + f_9_ * f_9_ + f_10_ * f_10_); - float f_12_ = 0.5F + ((float) Math.atan2(f_8_, f_10_) / 6.2831855F); - if (i_6_ != -4) method1369((byte) 98); - float f_13_ = f + (0.5F + ((float) Math.asin(f_9_ / f_11_) / 3.1415927F)); - if (i_0_ == 1) { - float f_15_ = f_12_; - f_12_ = -f_13_; - f_13_ = f_15_; - } else if (i_0_ == 2) { - f_13_ = -f_13_; - f_12_ = -f_12_; - } else if (i_0_ == 3) { - float f_14_ = f_12_; - f_12_ = f_13_; - f_13_ = -f_14_; - } - fs[0] = f_12_; - fs[1] = f_13_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qb.E(" + i + ',' + i_0_ + ',' + f + ',' + i_1_ + ',' + (fs != null ? "{...}" : "null") + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + (fs_7_ != null ? "{...}" : "null") + ')')); - } - } - - private final void method1368(int i, Class348_Sub49 class348_sub49, int i_16_) { - if (i >= -43) method1369((byte) -111); - anInt2396++; - if (i_16_ == 1) { - this.aShort2431 = (short) class348_sub49.readUnsignedShort(842397944); - this.aShort2415 = (short) class348_sub49.readUnsignedShort(842397944); - this.aShort2418 = (short) class348_sub49.readUnsignedShort(842397944); - this.aShort2441 = (short) class348_sub49.readUnsignedShort(842397944); - int i_23_ = 3; - this.aShort2431 <<= i_23_; - this.aShort2418 <<= i_23_; - this.aShort2441 <<= i_23_; - this.aShort2415 <<= i_23_; - } else if (i_16_ == 2) class348_sub49.readUnsignedByte(255); - else if (i_16_ == 3) { - this.anInt2392 = class348_sub49.readInt((byte) -126); - this.anInt2438 = class348_sub49.readInt((byte) -126); - } else if (i_16_ == 4) { - this.anInt2436 = class348_sub49.readUnsignedByte(255); - this.anInt2437 = class348_sub49.readByte(-115); - } else if (i_16_ != 5) { - if (i_16_ == 6) { - anInt2428 = class348_sub49.readInt((byte) -126); - anInt2434 = class348_sub49.readInt((byte) -126); - } else if (i_16_ == 7) { - this.anInt2394 = class348_sub49.readUnsignedShort(842397944); - this.anInt2407 = class348_sub49.readUnsignedShort(842397944); - } else if (i_16_ == 8) { - this.anInt2391 = class348_sub49.readUnsignedShort(842397944); - this.anInt2389 = class348_sub49.readUnsignedShort(842397944); - } else if (i_16_ == 9) { - int i_21_ = class348_sub49.readUnsignedByte(255); - this.anIntArray2402 = new int[i_21_]; - for (int i_22_ = 0; i_22_ < i_21_; i_22_++) - this.anIntArray2402[i_22_] = class348_sub49.readUnsignedShort(842397944); - } else if (i_16_ == 10) { - int i_19_ = class348_sub49.readUnsignedByte(255); - this.anIntArray2395 = new int[i_19_]; - for (int i_20_ = 0; (i_20_ < i_19_); i_20_++) - this.anIntArray2395[i_20_] = class348_sub49.readUnsignedShort(842397944); - } else if (i_16_ == 12) this.anInt2384 = class348_sub49.readByte(-112); - else if (i_16_ != 13) { - if (i_16_ == 14) this.anInt2422 = class348_sub49.readUnsignedShort(842397944); - else if (i_16_ != 15) { - if (i_16_ == 16) { - this.aBoolean2406 = class348_sub49.readUnsignedByte(255) == 1; - this.anInt2393 = class348_sub49.readUnsignedShort(842397944); - this.anInt2425 = class348_sub49.readUnsignedShort(842397944); - this.aBoolean2411 = class348_sub49.readUnsignedByte(255) == 1; - } else if (i_16_ == 17) this.anInt2387 = class348_sub49.readUnsignedShort(842397944); - else if (i_16_ == 18) this.anInt2386 = class348_sub49.readInt((byte) -126); - else if (i_16_ != 19) { - if (i_16_ == 20) anInt2375 = class348_sub49.readUnsignedByte(255); - else if (i_16_ != 21) { - if (i_16_ == 22) this.anInt2404 = (class348_sub49.readInt((byte) -126)); - else if (i_16_ != 23) { - if (i_16_ != 24) { - if (i_16_ == 25) { - int i_17_ = (class348_sub49.readUnsignedByte(255)); - this.anIntArray2380 = (new int - [i_17_]); - for (int i_18_ = 0; i_17_ > i_18_; i_18_++) - this.anIntArray2380[i_18_] = (class348_sub49.readUnsignedShort(842397944)); - } else if (i_16_ != 26) { - if (i_16_ == 27) this.anInt2427 = ((class348_sub49.readUnsignedShort(842397944)) << -755800980 << 80752930); - else if (i_16_ == 28) anInt2432 = (class348_sub49.readUnsignedByte(255)); - else if (i_16_ != 29) { - if (i_16_ != 30) { - if (i_16_ == 31) { - this.anInt2442 = class348_sub49.readUnsignedShort(842397944) << 2097170348 << -1512556382; - this.anInt2417 = class348_sub49.readUnsignedShort(842397944) << -355565332 << -2060812222; - } else if (i_16_ != 32) { - if (i_16_ != 33) { - if (i_16_ == 34) this.aBoolean2376 = false; - } else this.aBoolean2424 = true; - } else this.aBoolean2430 = false; - } else this.aBoolean2382 = true; - } else class348_sub49.readShort(13638); - } else this.aBoolean2435 = false; - } else this.aBoolean2443 = false; - } else anInt2401 = class348_sub49.readUnsignedByte(255); - } else anInt2440 = class348_sub49.readUnsignedByte(255); - } else this.anInt2379 = class348_sub49.readUnsignedByte(255); - } else this.anInt2414 = class348_sub49.readUnsignedShort(842397944); - } else this.anInt2423 = class348_sub49.readByte(-124); - } else this.anInt2442 = this.anInt2417 = (class348_sub49.readUnsignedShort(842397944) << -374037204 << 1009462498); - } - - public static void method1369(byte i) { - aBooleanArray2374 = null; - if (i != 2) anInt2398 = 113; - } - - final void method1370(int i, Class348_Sub49 class348_sub49) { - anInt2400++; - for (; ; ) { - int i_24_ = class348_sub49.readUnsignedByte(255); - if (i_24_ == 0) break; - method1368(-75, class348_sub49, i_24_); - } - int i_25_ = 117 / ((i - -51) / 43); - } - - final void method1371(int i) { - this.anInt2429 = (0xff8084 & anInt2428) >> 16; - anInt2420 = anInt2434 >> 16 & 0xff; - if (this.anInt2384 > -2 || this.anInt2423 > -2) this.aBoolean2397 = true; - anInt2378++; - anInt2419 = anInt2434 >> 8 & 0xff; - this.anInt2390 = 0xff & anInt2428 >> 8; - this.anInt2433 = -this.anInt2429 + anInt2420; - anInt2412 = 0xff & anInt2434; - this.anInt2399 = anInt2428 & 0xff; - this.anInt2403 = anInt2419 - this.anInt2390; - if (i != 4) this.aBoolean2376 = false; - this.anInt2413 = anInt2428 >> 24 & 0xff; - this.anInt2408 = anInt2412 - this.anInt2399; - anInt2444 = 0xff & anInt2434 >> 24; - this.anInt2410 = -this.anInt2413 + anInt2444; - if (this.anInt2427 != -1) { - this.anInt2388 = this.anInt2407 * anInt2432 / 100; - if (this.anInt2388 == 0) this.anInt2388 = 1; - this.anInt2439 = ((this.anInt2427 + -((this.anInt2417 - this.anInt2442) / 2) + -this.anInt2442) / this.anInt2388); - } - if (this.anInt2386 != 0) { - this.anInt2381 = this.anInt2407 * anInt2440 / 100; - this.anInt2373 = anInt2375 * this.anInt2407 / 100; - if (this.anInt2373 == 0) this.anInt2373 = 1; - this.anInt2426 = ((((this.anInt2386 & 0xff61a1) >> 16) + (-this.anInt2429 - this.anInt2433 / 2)) << 8) / this.anInt2373; - this.anInt2405 = (((0xff & this.anInt2386) - (this.anInt2399 - -(this.anInt2408 / 2))) << 8) / this.anInt2373; - if (this.anInt2381 == 0) this.anInt2381 = 1; - this.anInt2421 = ((-(this.anInt2403 / 2) + -this.anInt2390 + ((this.anInt2386 & 0xff16) >> 8)) << 8) / this.anInt2373; - Class181 class181_26_ = this; - class181_26_.anInt2426 = (class181_26_.anInt2426 + (this.anInt2426 > 0 ? -4 : 4)); - Class181 class181_27_ = this; - class181_27_.anInt2405 = (class181_27_.anInt2405 + (this.anInt2405 <= 0 ? 4 : -4)); - this.anInt2416 = (((this.anInt2386 >> 24 & 0xff) - this.anInt2410 / 2 - this.anInt2413) << 8) / this.anInt2381; - Class181 class181_28_ = this; - class181_28_.anInt2421 = (class181_28_.anInt2421 + (this.anInt2421 > 0 ? -4 : 4)); - Class181 class181_29_ = this; - class181_29_.anInt2416 = (class181_29_.anInt2416 + (this.anInt2416 <= 0 ? 4 : -4)); - } - if (this.anInt2404 != -1) { - this.anInt2383 = anInt2401 * this.anInt2407 / 100; - if (this.anInt2383 == 0) this.anInt2383 = 1; - this.anInt2377 = ((-this.anInt2392 + (-((this.anInt2438 + -this.anInt2392) / 2) + this.anInt2404)) / this.anInt2383); - } - } - - public Class181() { - this.anInt2384 = -2; - this.aBoolean2397 = false; - anInt2401 = 100; - this.aBoolean2376 = true; - this.anInt2393 = -1; - this.anInt2423 = -2; - anInt2375 = 100; - this.anInt2427 = -1; - this.anInt2425 = -1; - this.aBoolean2430 = true; - this.anInt2422 = 0; - this.aBoolean2424 = false; - this.anInt2414 = -1; - anInt2432 = 100; - anInt2440 = 100; - this.anInt2436 = 0; - this.aBoolean2435 = true; - this.aBoolean2406 = true; - this.aBoolean2443 = true; - } -} diff --git a/client/src/Class182.java b/client/src/Class182.java deleted file mode 100644 index 2c08e9091..000000000 --- a/client/src/Class182.java +++ /dev/null @@ -1,58 +0,0 @@ -/* Class182 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class182 { - int anInt2445; - static int anInt2446; - static Interface16[] anInterface16Array2447; - int anInt2448; - static Class346 aClass346_2449; - static int anInt2450; - int anInt2451; - static int anInt2452; - static int anInt2453; - int anInt2454; - int anInt2455; - int anInt2456; - - static final void method1372(int i) { - RuntimeException_Sub1.anInt4596 = i; - Class239_Sub12.anInt5969 = 1; - anInt2452++; - long l = 0L; - if (Class348_Sub23_Sub3.aString9043 == null) { - Class14_Sub4.method254(35, (byte) -101); - return; - } else { - Class348_Sub49 class348_sub49 = new Class348_Sub49(Class98.method878((Class110_Sub1.method1039((Class348_Sub23_Sub3.aString9043), true)), -125)); - l = class348_sub49.readLong(-456577760); - Class348_Sub33.aLong6966 = class348_sub49.readLong(-456577760); - } - Class132.method1138(Class27.method313(l, -100), true, "", (byte) -115); - } - - static final void method1373(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_) { - anInt2450++; - if (Class320.method2547(i, (byte) 84) && i_5_ == -1391) { - if (Class369_Sub2.aClass46ArrayArray8584[i] == null) client.method107((Class348_Sub40_Sub33.aClass46ArrayArray9427[i]), -1, i_1_, i_10_, i_2_, i_7_, i_0_, i_8_, i_4_, i_3_, i_6_, i_9_); - else client.method107(Class369_Sub2.aClass46ArrayArray8584[i], -1, i_1_, i_10_, i_2_, i_7_, i_0_, i_8_, i_4_, i_3_, i_6_, i_9_); - } - } - - static final Class50_Sub4 method1374(int i, Class348_Sub49 class348_sub49) { - if (i < 106) aClass346_2449 = null; - anInt2453++; - return new Class50_Sub4(class348_sub49.readShort(13638), class348_sub49.readShort(13638), class348_sub49.readShort(13638), class348_sub49.readShort(13638), class348_sub49.readMedium(-1), class348_sub49.readUnsignedByte(255)); - } - - public static void method1375(int i) { - if (i != 5616) aClass346_2449 = null; - aClass346_2449 = null; - anInterface16Array2447 = null; - } - - public Class182() { - /* empty */ - } -} diff --git a/client/src/Class183.java b/client/src/Class183.java deleted file mode 100644 index a4870960c..000000000 --- a/client/src/Class183.java +++ /dev/null @@ -1,134 +0,0 @@ -/* Class183 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class183 { - static int anInt2457; - private final Class60 aClass60_2458 = new Class60(128); - static int anInt2459; - static int anInt2460; - private final Class45 aClass45_2461; - static Class250 aClass250_2462; - static int anInt2463; - static int anInt2464; - static int anInt2465; - static int[] anIntArray2466 = new int[14]; - static int anInt2467; - - static final void method1376(Class318_Sub1 class318_sub1) { - if (class318_sub1 != null) { - for (int i = 0; i < 2; i++) { - Class318_Sub1 class318_sub1_0_ = null; - for (Class318_Sub1 class318_sub1_1_ = Class348.aClass318_Sub1Array4293[i]; class318_sub1_1_ != null; class318_sub1_1_ = (class318_sub1_1_.aClass318_Sub1_6379)) { - if (class318_sub1_1_ == class318_sub1) { - if (class318_sub1_0_ != null) class318_sub1_0_.aClass318_Sub1_6379 = (class318_sub1_1_.aClass318_Sub1_6379); - else Class348.aClass318_Sub1Array4293[i] = (class318_sub1_1_.aClass318_Sub1_6379); - Class348_Sub16_Sub2.aBoolean8870 = true; - return; - } - class318_sub1_0_ = class318_sub1_1_; - } - class318_sub1_0_ = null; - for (Class318_Sub1 class318_sub1_2_ = Class250.aClass318_Sub1Array3226[i]; class318_sub1_2_ != null; class318_sub1_2_ = (class318_sub1_2_.aClass318_Sub1_6379)) { - if (class318_sub1_2_ == class318_sub1) { - if (class318_sub1_0_ != null) class318_sub1_0_.aClass318_Sub1_6379 = (class318_sub1_2_.aClass318_Sub1_6379); - else Class250.aClass318_Sub1Array3226[i] = (class318_sub1_2_.aClass318_Sub1_6379); - Class348_Sub16_Sub2.aBoolean8870 = true; - return; - } - class318_sub1_0_ = class318_sub1_2_; - } - class318_sub1_0_ = null; - for (Class318_Sub1 class318_sub1_3_ = Class115.aClass318_Sub1Array1754[i]; class318_sub1_3_ != null; class318_sub1_3_ = (class318_sub1_3_.aClass318_Sub1_6379)) { - if (class318_sub1_3_ == class318_sub1) { - if (class318_sub1_0_ != null) class318_sub1_0_.aClass318_Sub1_6379 = (class318_sub1_3_.aClass318_Sub1_6379); - else Class115.aClass318_Sub1Array1754[i] = (class318_sub1_3_.aClass318_Sub1_6379); - Class348_Sub16_Sub2.aBoolean8870 = true; - return; - } - class318_sub1_0_ = class318_sub1_3_; - } - } - } - } - - final void method1377(int i) { - anInt2457++; - if (i != 2) method1376(null); - synchronized (aClass60_2458) { - aClass60_2458.method587(-125); - } - } - - public static void method1378(int i) { - aClass250_2462 = null; - anIntArray2466 = null; - if (i != 14) method1382(99, -102); - } - - static final boolean method1379(int i, int i_4_, int i_5_) { - anInt2459++; - if (i != 4) return true; - return (Class348_Sub42_Sub8.method3194(i_5_, i_4_, (byte) 126) & Class239_Sub26.method1837(i_4_, 46, i_5_)); - } - - final Class22 method1380(boolean bool, int i) { - anInt2460++; - if (bool != true) return null; - Class22 class22; - synchronized (aClass60_2458) { - class22 = (Class22) aClass60_2458.method583(i, 77); - } - if (class22 != null) return class22; - byte[] is; - synchronized (aClass45_2461) { - is = aClass45_2461.method410(-1860, 1, i); - } - class22 = new Class22(); - if (is != null) class22.method290(new Class348_Sub49(is), -1); - synchronized (aClass60_2458) { - aClass60_2458.method582(class22, i, (byte) -124); - } - return class22; - } - - final void method1381(boolean bool) { - synchronized (aClass60_2458) { - if (bool != true) method1382(-96, 76); - aClass60_2458.method590(0); - } - anInt2465++; - } - - static final int method1382(int i, int i_6_) { - anInt2463++; - if (i != 6406) { - if (i != 6409) { - if (i == 32841) return 1; - if (i != 6410) { - if (i == 6407) return 3; - if (i == 6408) return 4; - } else return 2; - } else return 1; - } else return 1; - if (i_6_ != -6409) anIntArray2466 = null; - throw new IllegalArgumentException(""); - } - - final void method1383(int i, int i_7_) { - anInt2467++; - synchronized (aClass60_2458) { - aClass60_2458.method578(2, i_7_); - } - if (i != 32841) anInt2464 = 86; - } - - Class183(Class230 class230, int i, Class45 class45) { - try { - aClass45_2461 = class45; - aClass45_2461.method407(0, 1); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qe.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class184.java b/client/src/Class184.java deleted file mode 100644 index 83fd428f9..000000000 --- a/client/src/Class184.java +++ /dev/null @@ -1,87 +0,0 @@ -/* Class184 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class184 { - int[] anIntArray2468; - static boolean aBoolean2469; - static int anInt2470; - static int[] anIntArray2471 = new int[14]; - static int anInt2472; - String[] aStringArray2473; - Class348_Sub42_Sub19 aClass348_Sub42_Sub19_2474; - static int anInt2475; - static int anInt2476; - int anInt2477 = -1; - /*synthetic*/ static Class aClass2478; - - static final int method1384(int i, int i_0_, int i_1_) { - i_1_ = (0x7f & i) * i_1_ >> 7; - if (i_0_ != 1421041063) return -72; - anInt2476++; - if (i_1_ >= 2) { - if (i_1_ > 126) i_1_ = 126; - } else i_1_ = 2; - return i_1_ + (0xff80 & i); - } - - static final void method1385(boolean bool, byte[] is, byte i) { - anInt2475++; - if (Class299_Sub1_Sub2.aClass348_Sub49_8698 == null) Class299_Sub1_Sub2.aClass348_Sub49_8698 = new Class348_Sub49(20000); - Class299_Sub1_Sub2.aClass348_Sub49_8698.writeBytes(is.length, 0, is, 97); - if (bool) { - Class167.method1294((byte) -113, (Class299_Sub1_Sub2.aClass348_Sub49_8698.aByteArray7154)); - Class65.aClass110_Sub1Array1146 = new Class110_Sub1[Class225.anInt2956]; - int i_2_ = 0; - for (int i_3_ = Class318_Sub1_Sub2.anInt8731; (Class239_Sub29.anInt6151 >= i_3_); i_3_++) { - Class110_Sub1 class110_sub1 = Class239_Sub5.method1742(false, i_3_); - if (class110_sub1 != null) Class65.aClass110_Sub1Array1146[i_2_++] = class110_sub1; - } - Class130.aBoolean1899 = false; - Class240.aLong4683 = Class62.method599(-92); - Class299_Sub1_Sub2.aClass348_Sub49_8698 = null; - } - if (i > -21) aBoolean2469 = true; - } - - public static void method1386(boolean bool) { - anIntArray2471 = null; - if (bool != true) aBoolean2469 = true; - } - - static final void method1387(int i, Class348_Sub27 class348_sub27) { - anInt2470++; - if (Class147.aClass357ArrayArrayArray2029 != null) { - if (i >= -38) method1384(-77, 22, 77); - Interface10 interface10 = null; - if (class348_sub27.anInt6904 == 0) interface10 = ((Interface10) r_Sub2.method3297((class348_sub27.anInt6899), (class348_sub27.anInt6905), (class348_sub27.anInt6896))); - if (class348_sub27.anInt6904 == 1) interface10 = ((Interface10) (Class348_Sub40_Sub32.method3135(class348_sub27.anInt6899, class348_sub27.anInt6905, class348_sub27.anInt6896))); - if (class348_sub27.anInt6904 == 2) interface10 = ((Interface10) (Class177.method1353(class348_sub27.anInt6899, class348_sub27.anInt6905, class348_sub27.anInt6896, (aClass2478 != null ? aClass2478 : (aClass2478 = Interface10.class))))); - if (class348_sub27.anInt6904 == 3) interface10 = ((Interface10) (Class348_Sub16_Sub3.method2878(class348_sub27.anInt6899, class348_sub27.anInt6905, class348_sub27.anInt6896))); - if (interface10 == null) { - class348_sub27.anInt6892 = 0; - class348_sub27.anInt6902 = -1; - class348_sub27.anInt6903 = 0; - } else { - class348_sub27.anInt6902 = interface10.method42(-103); - class348_sub27.anInt6903 = interface10.method39(111); - class348_sub27.anInt6892 = interface10.method41(-32228); - } - } - } - - static final void method1388(int i, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_) { - Class135_Sub2.method1156(-27, i_6_, Class17.anIntArrayArray255[i++], i_7_, i_4_); - anInt2472++; - Class135_Sub2.method1156(-27, i_6_, Class17.anIntArrayArray255[i_8_--], i_7_, i_4_); - int i_9_ = -52 / ((i_5_ - -32) / 55); - for (int i_10_ = i; i_8_ >= i_10_; i_10_++) { - int[] is = Class17.anIntArrayArray255[i_10_]; - is[i_7_] = is[i_6_] = i_4_; - } - } - - static { - aBoolean2469 = false; - } -} diff --git a/client/src/Class185.java b/client/src/Class185.java deleted file mode 100644 index 11c797812..000000000 --- a/client/src/Class185.java +++ /dev/null @@ -1,91 +0,0 @@ -/* Class185 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class185 { - private final Class60 aClass60_2479 = new Class60(64); - private final Class45 aClass45_2480; - static int anInt2481; - static int anInt2482; - static Class114 aClass114_2483; - static int anInt2484; - static int anInt2485; - static int anInt2486; - static int anInt2487; - static char[] aCharArray2488 = {' ', '\u00a0', '_', '-', '\u00e0', '\u00e1', '\u00e2', '\u00e4', '\u00e3', '\u00c0', '\u00c1', '\u00c2', '\u00c4', '\u00c3', '\u00e8', '\u00e9', '\u00ea', '\u00eb', '\u00c8', '\u00c9', '\u00ca', '\u00cb', '\u00ed', '\u00ee', '\u00ef', '\u00cd', '\u00ce', '\u00cf', '\u00f2', '\u00f3', '\u00f4', '\u00f6', '\u00f5', '\u00d2', '\u00d3', '\u00d4', '\u00d6', '\u00d5', '\u00f9', '\u00fa', '\u00fb', '\u00fc', '\u00d9', '\u00da', '\u00db', '\u00dc', '\u00e7', '\u00c7', '\u00ff', '\u0178', '\u00f1', '\u00d1', '\u00df'}; - static Class223 aClass223_2489; - - final void method1390(int i) { - synchronized (aClass60_2479) { - int i_0_ = 25 / ((i - 69) / 33); - aClass60_2479.method587(-98); - } - anInt2486++; - } - - final Class253 method1391(byte i, int i_1_) { - anInt2485++; - Class253 class253; - synchronized (aClass60_2479) { - class253 = (Class253) aClass60_2479.method583(i_1_, 96); - } - if (class253 != null) return class253; - byte[] is; - synchronized (aClass45_2480) { - is = aClass45_2480.method410(-1860, 31, i_1_); - } - class253 = new Class253(); - int i_2_ = 50 / ((i - -63) / 56); - if (is != null) class253.method1921((byte) -69, new Class348_Sub49(is)); - synchronized (aClass60_2479) { - aClass60_2479.method582(class253, i_1_, (byte) -108); - } - return class253; - } - - final void method1392(int i, int i_3_) { - synchronized (aClass60_2479) { - aClass60_2479.method578(2, i_3_); - } - if (i >= 12) anInt2484++; - } - - final void method1393(byte i) { - synchronized (aClass60_2479) { - aClass60_2479.method590(0); - int i_4_ = -89 % ((42 - i) / 50); - } - anInt2487++; - } - - static final void method1394(int i, int i_5_, int i_6_) { - boolean bool = (Class147.aClass357ArrayArrayArray2029[0][i_5_][i_6_] != null && Class147.aClass357ArrayArrayArray2029[0][i_5_][i_6_].aClass357_4400 != null); - for (int i_7_ = i; i_7_ >= 0; i_7_--) { - if (Class147.aClass357ArrayArrayArray2029[i_7_][i_5_][i_6_] == null) { - Class357 class357 = (Class147.aClass357ArrayArrayArray2029[i_7_][i_5_][i_6_] = new Class357(i_7_)); - if (bool) class357.aByte4399++; - } - } - } - - Class185(Class230 class230, int i, Class45 class45) { - try { - aClass45_2480 = class45; - aClass45_2480.method407(0, 31); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qf.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); - } - } - - public static void method1395(byte i) { - aClass114_2483 = null; - aCharArray2488 = null; - aClass223_2489 = null; - if (i != 82) method1394(120, -36, -100); - } - - static { - aClass114_2483 = new Class114(47, 6); - aClass223_2489 = new Class223(3, 2); - } -} diff --git a/client/src/Class186.java b/client/src/Class186.java deleted file mode 100644 index b314ce0cd..000000000 --- a/client/src/Class186.java +++ /dev/null @@ -1,62 +0,0 @@ -/* Class186 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class186 { - static Class45 aClass45_2490; - static Class74 aClass74_2491; - static boolean aBoolean2492 = false; - static int anInt2493; - static String[] aStringArray2494; - static Class351 aClass351_2495; - static String aString2496; - static int[] anIntArray2497; - - public static void method1396(int i) { - aClass45_2490 = null; - aClass74_2491 = null; - aStringArray2494 = null; - anIntArray2497 = null; - aString2496 = null; - aClass351_2495 = null; - if (i != 25) aClass351_2495 = null; - } - - static final void method1397(int i) { - anInt2493++; - int i_0_ = Class328_Sub1.anInt6513; - int[] is = Class286_Sub7.anIntArray6290; - for (int i_1_ = 0; i_1_ < i_0_; i_1_++) { - Player player = Class294.aPlayerArray5058[is[i_1_]]; - if (player != null && (player.anInt10264) > 0) { - player.anInt10264--; - if ((player.anInt10264) == 0) player.aString10292 = null; - } - } - for (int i_2_ = i; i_2_ < Class150.anInt2057; i_2_++) { - long l = Class74.anIntArray1233[i_2_]; - Class348_Sub22 class348_sub22 = ((Class348_Sub22) Class282.aClass356_3654.method3480(l, -6008)); - if (class348_sub22 != null) { - Npc npc = (class348_sub22.aNpc_6859); - if ((npc.anInt10264) > 0) { - npc.anInt10264--; - if (npc.anInt10264 == 0) npc.aString10292 = null; - } - } - } - } - - public Class186() { - /* empty */ - } - - abstract void method1398(int i, int i_3_, float f, float f_4_, int i_5_, float f_6_, int i_7_, float f_8_, int i_9_, int i_10_, float[] fs); - - static { - aClass74_2491 = new Class74(13, -1); - aStringArray2494 = new String[100]; - aClass351_2495 = new Class351(35, 5); - aString2496 = ""; - anIntArray2497 = new int[25]; - } -} diff --git a/client/src/Class186_Sub1.java b/client/src/Class186_Sub1.java deleted file mode 100644 index c14831b00..000000000 --- a/client/src/Class186_Sub1.java +++ /dev/null @@ -1,155 +0,0 @@ -/* Class186_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -import java.util.Random; - -final class Class186_Sub1 extends Class186 { - private final int[] anIntArray5804 = new int[512]; - static int anInt5805; - static int anInt5806; - static int anInt5807 = 0; - static Class341 aClass341_5808 = new Class341(); - static int anInt5809; - static int anInt5810; - static int anInt5811; - static int anInt5812 = 100; - static Class111 aClass111_5813; - static int anInt5814; - - final void method1398(int i, int i_0_, float f, float f_1_, int i_2_, float f_3_, int i_4_, float f_5_, int i_6_, int i_7_, float[] fs) { - anInt5810++; - int i_8_ = (int) (-1.0F + f * (float) i_6_); - i_8_ &= 0xff; - int i_9_ = (int) (-1.0F + (float) i_0_ * f_5_); - i_9_ &= 0xff; - int i_10_ = (int) (-1.0F + (float) i * f_1_); - i_10_ &= 0xff; - float f_11_ = (float) i_7_ * f_1_; - int i_12_ = (int) f_11_; - int i_13_ = i_12_ + 1; - float f_14_ = f_11_ - (float) i_12_; - float f_15_ = (float) i_4_ - f_14_; - float f_16_ = Class342.method2684(6, f_14_); - i_13_ &= i_10_; - i_12_ &= i_10_; - int i_17_ = anIntArray5804[i_12_]; - int i_18_ = anIntArray5804[i_13_]; - for (int i_19_ = 0; i_0_ > i_19_; i_19_++) { - float f_20_ = f_5_ * (float) i_19_; - int i_21_ = (int) f_20_; - int i_22_ = i_21_ + 1; - float f_23_ = (float) -i_21_ + f_20_; - float f_24_ = -f_23_ + 1.0F; - float f_25_ = Class342.method2684(i_4_ ^ 0x7, f_23_); - i_21_ &= i_9_; - i_22_ &= i_9_; - int i_26_ = anIntArray5804[i_17_ + i_21_]; - int i_27_ = anIntArray5804[i_17_ + i_22_]; - int i_28_ = anIntArray5804[i_21_ + i_18_]; - int i_29_ = anIntArray5804[i_22_ - -i_18_]; - for (int i_30_ = 0; i_30_ < i_6_; i_30_++) { - float f_31_ = f * (float) i_30_; - int i_32_ = (int) f_31_; - int i_33_ = 1 + i_32_; - float f_34_ = f_31_ - (float) i_32_; - float f_35_ = 1.0F - f_34_; - i_32_ &= i_8_; - i_33_ &= i_8_; - float f_36_ = Class342.method2684(i_4_ ^ 0x7, f_34_); - fs[i_2_++] = f_3_ * (Class314.method2337((Class314.method2337((Class314.method2337((Class285.method2119(f_24_, Class139.method1166((anIntArray5804[i_26_ + i_32_]), 7), f_15_, -70, f_35_)), true, (Class285.method2119(f_24_, Class139.method1166(7, (anIntArray5804[i_33_ - -i_26_])), f_15_, -73, f_34_)), f_36_)), true, (Class314.method2337((Class285.method2119(f_23_, Class139.method1166(7, (anIntArray5804[i_32_ + i_27_])), f_15_, -75, f_35_)), true, (Class285.method2119(f_23_, Class139.method1166((anIntArray5804[i_27_ + i_33_]), 7), f_15_, -91, f_34_)), f_36_)), f_25_)), true, (Class314.method2337((Class314.method2337((Class285.method2119(f_24_, Class139.method1166((anIntArray5804[i_28_ + i_32_]), 7), f_14_, -72, f_35_)), true, (Class285.method2119(f_24_, Class139.method1166((anIntArray5804[i_28_ + i_33_]), 7), f_14_, -75, f_34_)), f_36_)), true, (Class314.method2337((Class285.method2119(f_23_, Class139.method1166((anIntArray5804[i_29_ + i_32_]), 7), f_14_, -100, f_35_)), true, (Class285.method2119(f_23_, Class139.method1166((anIntArray5804[i_29_ + i_33_]), 7), f_14_, -72, f_34_)), f_36_)), f_25_)), f_16_)); - } - } - } - - static final int method1399(int i, char c) { - anInt5805++; - if (i != 7) method1400(-22); - if (c >= 0 && Class239_Sub6.anIntArray5902.length > c) return Class239_Sub6.anIntArray5902[c]; - return -1; - } - - public static void method1400(int i) { - if (i != 1) method1401(null, 48, -14, -102, 78, 29); - aClass341_5808 = null; - aClass111_5813 = null; - } - - static final Class258_Sub3_Sub1 method1401(ha_Sub2 var_ha_Sub2, int i, int i_37_, int i_38_, int i_39_, int i_40_) { - anInt5809++; - if (i_37_ != 34037) aClass341_5808 = null; - if (var_ha_Sub2.aBoolean7793 || Class192.method1436(-20, i_38_) && Class192.method1436(-119, i_40_)) return new Class258_Sub3_Sub1(var_ha_Sub2, 3553, i, i_39_, i_38_, i_40_, true); - if (!var_ha_Sub2.aBoolean7837) return new Class258_Sub3_Sub1(var_ha_Sub2, i, i_39_, i_38_, i_40_, Class33.method340(i_38_, (byte) 108), Class33.method340(i_40_, (byte) 108), true); - return new Class258_Sub3_Sub1(var_ha_Sub2, 34037, i, i_39_, i_38_, i_40_, true); - } - - Class186_Sub1(int i) { - Random random = new Random(i); - for (int i_41_ = 0; i_41_ < 256; i_41_++) - anIntArray5804[i_41_] = anIntArray5804[256 + i_41_] = i_41_; - for (int i_42_ = 0; i_42_ < 256; i_42_++) { - int i_43_ = 0xff & random.nextInt(); - int i_44_ = anIntArray5804[i_43_]; - anIntArray5804[i_43_] = anIntArray5804[256 + i_43_] = anIntArray5804[i_42_]; - anIntArray5804[i_42_] = anIntArray5804[256 + i_42_] = i_44_; - } - } - - static final void method1402(int i) { - if (i == 1) { - Class318_Sub1_Sub2.aClass60_8732.method590(0); - anInt5811++; - } - } - - static final void method1403(int i, int i_45_, byte[] is, boolean bool, int i_46_, int i_47_, int i_48_) { - anInt5806++; - if (i_45_ > 0 && !Class192.method1436(69, i_45_)) throw new IllegalArgumentException(""); - if (i > 0 && !Class192.method1436(100, i)) throw new IllegalArgumentException(""); - int i_49_ = Class183.method1382(i_46_, -6409); - int i_50_ = 0; - int i_51_ = Math.min(i_45_, i); - if (bool != false) anInt5807 = -127; - int i_52_ = i_45_ >> 1; - int i_53_ = i >> 1; - byte[] is_54_ = is; - byte[] is_55_ = new byte[i_52_ * (i_53_ * i_49_)]; - for (; ; ) { - OpenGL.glTexImage2Dub(i_47_, i_50_, i_48_, i_45_, i, 0, i_46_, 5121, is_54_, 0); - if (i_51_ <= 1) break; - int i_56_ = i_45_ * i_49_; - byte[] is_57_ = is_55_; - for (int i_58_ = 0; i_49_ > i_58_; i_58_++) { - int i_59_ = i_58_; - int i_60_ = i_58_; - int i_61_ = i_56_ + i_60_; - for (int i_62_ = 0; i_62_ < i_53_; i_62_++) { - for (int i_63_ = 0; i_63_ < i_52_; i_63_++) { - int i_64_ = is_54_[i_60_]; - i_60_ += i_49_; - i_64_ += is_54_[i_60_]; - i_64_ += is_54_[i_61_]; - i_60_ += i_49_; - i_61_ += i_49_; - i_64_ += is_54_[i_61_]; - is_55_[i_59_] = (byte) (i_64_ >> 2); - i_61_ += i_49_; - i_59_ += i_49_; - } - i_61_ += i_56_; - i_60_ += i_56_; - } - } - is_55_ = is_54_; - is_54_ = is_57_; - i = i_53_; - i_45_ = i_52_; - i_53_ >>= 1; - i_50_++; - i_51_ >>= 1; - i_52_ >>= 1; - } - } -} diff --git a/client/src/Class187.java b/client/src/Class187.java deleted file mode 100644 index 79ef14aa7..000000000 --- a/client/src/Class187.java +++ /dev/null @@ -1,102 +0,0 @@ -/* Class187 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class187 { - private Class45 aClass45_2498; - static int anInt2499; - static int anInt2500; - private Class60 aClass60_2501 = new Class60(64); - static int anInt2502; - static int anInt2503; - static int anInt2504; - static int anInt2505; - static int anInt2506; - static Class223 aClass223_2507 = new Class223(9, 2); - static int anInt2508; - static int[] anIntArray2509 = new int[2]; - static int anInt2510; - - final void method1404(byte i) { - synchronized (aClass60_2501) { - aClass60_2501.method590(0); - if (i >= -20) method1407((byte) -33); - } - anInt2508++; - } - - static final void method1405(int i, boolean bool, boolean bool_0_) { - anInt2506++; - Class348_Sub13 class348_sub13 = Class258_Sub4.method1974((byte) 42, i, bool); - if (class348_sub13 != null && bool_0_ == true) { - for (int i_1_ = 0; (class348_sub13.anIntArray6757.length > i_1_); i_1_++) { - class348_sub13.anIntArray6757[i_1_] = -1; - class348_sub13.anIntArray6758[i_1_] = 0; - } - } - } - - static final void method1406(boolean bool) { - if (bool == true) { - Class3.method175((byte) -6); - anInt2505++; - Class59_Sub1.aBoolean5300 = false; - } - } - - public static void method1407(byte i) { - int i_2_ = 92 / ((-3 - i) / 60); - anIntArray2509 = null; - aClass223_2507 = null; - } - - final Class321 method1408(int i, int i_3_) { - anInt2504++; - Class321 class321; - synchronized (aClass60_2501) { - class321 = (Class321) aClass60_2501.method583(i_3_, 76); - } - if (class321 != null) return class321; - byte[] is; - synchronized (aClass45_2498) { - is = aClass45_2498.method410(-1860, 35, i_3_); - } - class321 = new Class321(); - if (is != null) class321.method2551(-125, new Class348_Sub49(is)); - if (i != -12637) aClass60_2501 = null; - class321.method2548((byte) 127); - synchronized (aClass60_2501) { - aClass60_2501.method582(class321, i_3_, (byte) -99); - } - return class321; - } - - final void method1409(int i, int i_4_) { - synchronized (aClass60_2501) { - if (i_4_ != -20721) aClass45_2498 = null; - aClass60_2501.method578(i_4_ + 20723, i); - } - anInt2503++; - } - - final void method1410(int i) { - synchronized (aClass60_2501) { - if (i != -27995) method1409(-42, 23); - aClass60_2501.method587(-85); - } - anInt2502++; - } - - Class187(Class230 class230, int i, Class45 class45) { - do { - try { - aClass45_2498 = class45; - if (aClass45_2498 == null) break; - aClass45_2498.method407(0, 35); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qga.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } -} diff --git a/client/src/Class188.java b/client/src/Class188.java deleted file mode 100644 index ce091c221..000000000 --- a/client/src/Class188.java +++ /dev/null @@ -1,150 +0,0 @@ -/* Class188 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -final class Class188 { - private final ha_Sub2 aHa_Sub2_2511; - static Class351 aClass351_2512; - private Class337 aClass337_2513; - static boolean aBoolean2514 = false; - static int anInt2515; - static int anInt2516; - static int anInt2517; - static int anInt2518; - static int anInt2519; - static int anInt2520; - - public static void method1411(boolean bool) { - if (bool != true) method1416(121); - aClass351_2512 = null; - } - - static final boolean method1412(byte i, int i_0_, int i_1_) { - if (i != -35) method1411(true); - anInt2519++; - return (i_1_ & 0x800) != 0 && (0x37 & i_0_) != 0; - } - - final boolean method1413(Class258_Sub1 class258_sub1, Class258_Sub1 class258_sub1_2_, int i, float f) { - try { - anInt2517++; - if (!method1414(35632)) return false; - Class206 class206 = aHa_Sub2_2511.aClass206_7778; - int i_3_ = 30 % ((-55 - i) / 59); - Class348_Sub42_Sub2 class348_sub42_sub2 = new Class348_Sub42_Sub2(aHa_Sub2_2511, 6408, (class258_sub1.anInt8523), (class258_sub1.anInt8529)); - aHa_Sub2_2511.method3773(-1, class206); - boolean bool = false; - class206.method1508(0, class348_sub42_sub2, -12); - if (class206.method1507(117)) { - OpenGL.glPushMatrix(); - OpenGL.glLoadIdentity(); - OpenGL.glMatrixMode(5889); - OpenGL.glPushMatrix(); - OpenGL.glLoadIdentity(); - OpenGL.glOrtho(0.0, 1.0, 0.0, 1.0, -1.0, 1.0); - OpenGL.glPushAttrib(2048); - OpenGL.glViewport(0, 0, class258_sub1.anInt8523, class258_sub1.anInt8529); - OpenGL.glUseProgramObjectARB(aClass337_2513.aLong4178); - OpenGL.glUniform1iARB((OpenGL.glGetUniformLocationARB(aClass337_2513.aLong4178, "heightMap")), 0); - OpenGL.glUniform1fARB((OpenGL.glGetUniformLocationARB(aClass337_2513.aLong4178, "rcpRelief")), 1.0F / f); - OpenGL.glUniform2fARB(OpenGL.glGetUniformLocationARB(aClass337_2513.aLong4178, "sampleSize"), (1.0F / (float) class258_sub1_2_.anInt8523), (1.0F / (float) class258_sub1_2_.anInt8529)); - for (int i_4_ = 0; i_4_ < class258_sub1.anInt8522; i_4_++) { - float f_5_ = ((float) i_4_ / (float) (class258_sub1.anInt8522)); - aHa_Sub2_2511.method3771((byte) -118, class258_sub1_2_); - OpenGL.glBegin(7); - OpenGL.glTexCoord3f(0.0F, 0.0F, f_5_); - OpenGL.glVertex2f(0.0F, 0.0F); - OpenGL.glTexCoord3f(1.0F, 0.0F, f_5_); - OpenGL.glVertex2f(1.0F, 0.0F); - OpenGL.glTexCoord3f(1.0F, 1.0F, f_5_); - OpenGL.glVertex2f(1.0F, 1.0F); - OpenGL.glTexCoord3f(0.0F, 1.0F, f_5_); - OpenGL.glVertex2f(0.0F, 1.0F); - OpenGL.glEnd(); - class258_sub1.method1958(-26823, 0, class258_sub1.anInt8523, 0, 0, i_4_, class258_sub1.anInt8529, 0); - } - OpenGL.glUseProgramObjectARB(0L); - OpenGL.glPopAttrib(); - OpenGL.glPopMatrix(); - OpenGL.glMatrixMode(5888); - OpenGL.glPopMatrix(); - bool = true; - } - class206.method1500(2983, 0); - aHa_Sub2_2511.method3770(-422613672, class206); - return bool; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qi.D(" + (class258_sub1 != null ? "{...}" : "null") + ',' + (class258_sub1_2_ != null ? "{...}" : "null") + ',' + i + ',' + f + ')')); - } - } - - final boolean method1414(int i) { - if (aHa_Sub2_2511.aBoolean7820 && aHa_Sub2_2511.aBoolean7783 && aClass337_2513 == null) { - Class242 class242 = (Class348_Sub42_Sub15.method3249(35632, 121, aHa_Sub2_2511, "uniform float rcpRelief;\nuniform vec2 sampleSize;\nuniform sampler3D heightMap;\nvoid main() {\nfloat dx = texture3D(heightMap, vec3(-sampleSize.x, 0.0, 0.0)+gl_TexCoord[0].xyz).r - texture3D(heightMap, vec3(sampleSize.x, 0.0, 0.0)+gl_TexCoord[0].xyz).r;\nfloat dy = texture3D(heightMap, vec3(0.0, -sampleSize.y, 0.0)+gl_TexCoord[0].xyz).r - texture3D(heightMap, vec3(0.0, sampleSize.y, 0.0)+gl_TexCoord[0].xyz).r;\ngl_FragColor = vec4(0.5+normalize(vec3(dx, dy, rcpRelief))*0.5, texture3D(heightMap, gl_TexCoord[0].xyz).r);\n}\n")); - if (class242 != null) aClass337_2513 = Class318_Sub1_Sub5_Sub2.method2493(aHa_Sub2_2511, i + -35633, (new Class242[]{class242})); - } - anInt2518++; - if (i != 35632) method1413(null, null, 102, 0.17865802F); - return aClass337_2513 != null; - } - - static final void method1415(int i, int i_6_) { - anInt2520++; - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i, (byte) 105, 17); - if (i_6_ < 106) method1417(-62, null, -125); - class348_sub42_sub15.method3251(-16058); - } - - static final void method1416(int i) { - Class229.aClass268_2979.method2032(5, -101); - anInt2515++; - Class362.aClass183_4460.method1383(i ^ 0x804c, 5); - Class348_Sub40_Sub25.aClass150_9342.method1207(-17452, 5); - Class348_Sub40_Sub12.aClass263_9195.method2010(5, i + -6); - Class189.aClass278_2529.method2076(5, true); - Exception_Sub1.aClass255_112.method1937(5, false); - Class10.aClass87_191.method836(5, 93); - Class348_Sub40_Sub18.aClass319_9245.method2544(5, (byte) -41); - Class229.aClass194_2981.method1442(5, (byte) 1); - Class269.aClass217_3453.method1587(5, i ^ 0xeab); - Class64_Sub3.aClass261_5558.method1984((byte) 119, 5); - Class348_Sub23_Sub2.aClass153_9031.method1224(5, (byte) -98); - Class2.aClass141_117.method1176(5, (byte) 52); - Class101_Sub3.aClass326_5764.method2603(5, 11); - Class348_Sub23_Sub2.aClass187_9036.method1409(5, -20721); - Class30.aClass84_413.method819((byte) 74, 5); - Class123.aClass25_1813.method299(5, 16); - Class348_Sub1.aClass185_6559.method1392(88, 5); - Class239.aClass166_3147.method1285(i, 8); - Class136.aClass65_4787.method697(5, 26); - Class73.aClass219_4782.method1603(5, -66); - Class97.method876(5, 0); - Class59.method545(50, -1); - Class2.method174(50, -30742); - Class94.method865(-8186, 5); - Class171.method1323(5, 26603); - Class353.aClass60_4346.method578(i + -3, 5); - Class328_Sub2.aClass60_6517.method578(2, 5); - Class348_Sub1_Sub1.aClass60_8807.method578(i ^ 0x7, 5); - Class34.aClass60_463.method578(2, 5); - Class66.aClass60_1174.method578(2, 5); - } - - static final Class348_Sub17 method1417(int i, Class45 class45, int i_7_) { - anInt2516++; - if (i != 0) aBoolean2514 = true; - byte[] is = class45.method415((byte) 73, i_7_); - if (is == null) return null; - return new Class348_Sub17(is); - } - - Class188(ha_Sub2 var_ha_Sub2) { - aHa_Sub2_2511 = var_ha_Sub2; - } - - static { - aClass351_2512 = new Class351(16, 7); - } -} diff --git a/client/src/Class189.java b/client/src/Class189.java deleted file mode 100644 index 9fe919173..000000000 --- a/client/src/Class189.java +++ /dev/null @@ -1,254 +0,0 @@ -/* Class189 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class189 { - static int anInt2521; - boolean aBoolean2522 = false; - static int anInt2523 = 0; - static int anInt2524; - int anInt2525; - int anInt2526; - static Class114 aClass114_2527 = new Class114(98, -2); - static int anInt2528; - static Class278 aClass278_2529; - int anInt2530; - boolean aBoolean2531 = false; - static int anInt2532; - int anInt2533 = 1; - int anInt2534; - - private final void method1418(int i, int i_0_, Class348_Sub49 class348_sub49, byte i_1_) { - if (i_1_ != 94) this.anInt2526 = -81; - anInt2532++; - if (i == 1) { - this.anInt2525 = class348_sub49.readUnsignedShort(842397944); - if (this.anInt2525 == 65535) this.anInt2525 = -1; - } else if (i == 2) { - this.anInt2526 = 1 + class348_sub49.readUnsignedShort(842397944); - this.anInt2530 = class348_sub49.readUnsignedShort(842397944) - -1; - } else if (i != 3) { - if (i == 4) this.anInt2534 = class348_sub49.readUnsignedByte(255); - else if (i != 5) { - if (i == 6) this.aBoolean2522 = true; - else if (i == 7) this.aBoolean2531 = true; - } else this.anInt2533 = class348_sub49.readUnsignedByte(255); - } else class348_sub49.readByte(-106); - } - - final void method1419(int i, Class348_Sub49 class348_sub49, byte i_2_) { - anInt2528++; - int i_3_ = 93 / ((i_2_ - -24) / 55); - for (; ; ) { - int i_4_ = class348_sub49.readUnsignedByte(255); - if (i_4_ == 0) break; - method1418(i_4_, i, class348_sub49, (byte) 94); - } - } - - static final boolean method1420(int i, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_, int i_12_, Class361 class361, int i_13_, int i_14_) { - anInt2521++; - int i_15_ = i_10_; - int i_16_ = i_7_; - int i_17_ = 64; - int i_18_ = 64; - int i_19_ = i_10_ - i_17_; - if (i_6_ >= -65) method1420(115, 22, 74, 19, 100, -62, 111, 76, 26, null, -41, -28); - r.anIntArrayArray9723[i_17_][i_18_] = 99; - int i_20_ = i_7_ + -i_18_; - Class223.anIntArrayArray2900[i_17_][i_18_] = 0; - int i_21_ = 0; - Class367_Sub11.anIntArray7397[i_21_] = i_15_; - int i_22_ = 0; - Class205.anIntArray2694[i_21_++] = i_16_; - int[][] is = class361.anIntArrayArray4438; - while_56_: - while (i_22_ != i_21_) { - i_16_ = Class205.anIntArray2694[i_22_]; - i_15_ = Class367_Sub11.anIntArray7397[i_22_]; - i_17_ = i_15_ + -i_19_; - i_18_ = -i_20_ + i_16_; - i_22_ = 0xfff & i_22_ - -1; - int i_23_ = i_15_ - class361.anInt4453; - int i_24_ = i_16_ - class361.anInt4441; - int i_25_ = i_13_; - while_48_: - do { - while_47_: - do { - while_46_: - do { - while_45_: - do { - do { - if (i_25_ == -4) { - if (i_15_ == i_9_ && (i_16_ == i_14_)) { - Class348_Sub40_Sub30.anInt9388 = i_15_; - Class115.anInt1753 = i_16_; - return true; - } - break while_48_; - } else if (i_25_ != -3) { - if (i_25_ != -2) { - if (i_25_ != -1) { - if (i_25_ == 0 || i_25_ == 1 || i_25_ == 2 || i_25_ == 3 || i_25_ == 9) break while_46_; - break while_47_; - } - } else break; - break while_45_; - } - if (Class239_Sub28.method1842(i, i_14_, -1, i_12_, i_15_, i_16_, i_9_, i_12_, i_8_)) { - Class115.anInt1753 = i_16_; - Class348_Sub40_Sub30.anInt9388 = i_15_; - return true; - } - break while_48_; - } while (false); - if (class361.method3497(-28388, i_9_, i_11_, i_12_, i_8_, i_15_, i_12_, i_16_, i_14_, i)) { - Class348_Sub40_Sub30.anInt9388 = i_15_; - Class115.anInt1753 = i_16_; - return true; - } - break while_48_; - } while (false); - if (class361.method3503(i_15_, (byte) -98, i_14_, i_12_, i_8_, i, i_11_, i_16_, i_9_)) { - Class348_Sub40_Sub30.anInt9388 = i_15_; - Class115.anInt1753 = i_16_; - return true; - } - break while_48_; - } while (false); - if (class361.method3495(i_9_, i_16_, i_12_, i_5_, i_15_, i_14_, i_13_, -71)) { - Class348_Sub40_Sub30.anInt9388 = i_15_; - Class115.anInt1753 = i_16_; - return true; - } - break while_48_; - } while (false); - if (class361.method3504(i_14_, i_16_, i_9_, i_15_, i_13_, 1, i_5_, i_12_)) { - Class115.anInt1753 = i_16_; - Class348_Sub40_Sub30.anInt9388 = i_15_; - return true; - } - } while (false); - i_25_ = Class223.anIntArrayArray2900[i_17_][i_18_] + 1; - while_49_: - do { - if (i_17_ > 0 && r.anIntArrayArray9723[-1 + i_17_][i_18_] == 0 && (is[-1 + i_23_][i_24_] & 0x43a40000) == 0 && ((is[-1 + i_23_][-1 + i_12_ + i_24_] & 0x4e240000) == 0)) { - for (int i_26_ = 1; -1 + i_12_ > i_26_; i_26_++) { - if ((is[i_23_ - 1][i_26_ + i_24_] & 0x4fa40000) != 0) break while_49_; - } - Class367_Sub11.anIntArray7397[i_21_] = i_15_ - 1; - Class205.anIntArray2694[i_21_] = i_16_; - i_21_ = i_21_ - -1 & 0xfff; - r.anIntArrayArray9723[i_17_ - 1][i_18_] = 2; - Class223.anIntArrayArray2900[-1 + i_17_][i_18_] = i_25_; - } - } while (false); - while_50_: - do { - if (i_17_ < -i_12_ + 128 && r.anIntArrayArray9723[i_17_ + 1][i_18_] == 0 && (is[i_23_ + i_12_][i_24_] & 0x60e40000) == 0 && ((is[i_12_ + i_23_][-1 + (i_24_ - -i_12_)] & 0x78240000) == 0)) { - for (int i_27_ = 1; i_12_ - 1 > i_27_; i_27_++) { - if ((is[i_12_ + i_23_][i_24_ - -i_27_] & 0x78e40000) != 0) break while_50_; - } - Class367_Sub11.anIntArray7397[i_21_] = 1 + i_15_; - Class205.anIntArray2694[i_21_] = i_16_; - r.anIntArrayArray9723[1 + i_17_][i_18_] = 8; - i_21_ = 0xfff & i_21_ - -1; - Class223.anIntArrayArray2900[i_17_ + 1][i_18_] = i_25_; - } - } while (false); - while_51_: - do { - if (i_18_ > 0 && r.anIntArrayArray9723[i_17_][-1 + i_18_] == 0 && (0x43a40000 & is[i_23_][i_24_ - 1]) == 0 && (0x60e40000 & is[-1 + (i_23_ + i_12_)][i_24_ - 1]) == 0) { - for (int i_28_ = 1; i_12_ - 1 > i_28_; i_28_++) { - if ((0x63e40000 & is[i_23_ - -i_28_][-1 + i_24_]) != 0) break while_51_; - } - Class367_Sub11.anIntArray7397[i_21_] = i_15_; - Class205.anIntArray2694[i_21_] = -1 + i_16_; - r.anIntArrayArray9723[i_17_][-1 + i_18_] = 1; - i_21_ = 0xfff & 1 + i_21_; - Class223.anIntArrayArray2900[i_17_][-1 + i_18_] = i_25_; - } - } while (false); - while_52_: - do { - if (i_18_ < -i_12_ + 128 && (r.anIntArrayArray9723[i_17_][1 + i_18_] == 0) && ((0x4e240000 & is[i_23_][i_24_ - -i_12_]) == 0) && ((0x78240000 & is[-1 + i_12_ + i_23_][i_24_ + i_12_]) == 0)) { - for (int i_29_ = 1; -1 + i_12_ > i_29_; i_29_++) { - if ((0x7e240000 & is[i_23_ + i_29_][i_12_ + i_24_]) != 0) break while_52_; - } - Class367_Sub11.anIntArray7397[i_21_] = i_15_; - Class205.anIntArray2694[i_21_] = i_16_ - -1; - r.anIntArrayArray9723[i_17_][1 + i_18_] = 4; - i_21_ = i_21_ - -1 & 0xfff; - Class223.anIntArrayArray2900[i_17_][i_18_ + 1] = i_25_; - } - } while (false); - while_53_: - do { - if (i_17_ > 0 && i_18_ > 0 && r.anIntArrayArray9723[i_17_ - 1][-1 + i_18_] == 0 && ((is[i_23_ + -1][-1 + i_24_] & 0x43a40000) == 0)) { - for (int i_30_ = 1; i_12_ > i_30_; i_30_++) { - if ((0x4fa40000 & is[-1 + i_23_][i_24_ + (-1 + i_30_)]) != 0 || (0x63e40000 & is[i_23_ - (1 + -i_30_)][i_24_ - 1]) != 0) break while_53_; - } - Class367_Sub11.anIntArray7397[i_21_] = i_15_ - 1; - Class205.anIntArray2694[i_21_] = -1 + i_16_; - i_21_ = 1 + i_21_ & 0xfff; - r.anIntArrayArray9723[i_17_ - 1][-1 + i_18_] = 3; - Class223.anIntArrayArray2900[i_17_ + -1][-1 + i_18_] = i_25_; - } - } while (false); - while_54_: - do { - if (128 - i_12_ > i_17_ && i_18_ > 0 && r.anIntArrayArray9723[1 + i_17_][i_18_ + -1] == 0 && (0x60e40000 & is[i_23_ + i_12_][-1 + i_24_]) == 0) { - for (int i_31_ = 1; i_12_ > i_31_; i_31_++) { - if ((0x78e40000 & is[i_23_ - -i_12_][i_31_ + (i_24_ - 1)]) != 0 || ((is[i_23_ + i_31_][-1 + i_24_] & 0x63e40000) != 0)) break while_54_; - } - Class367_Sub11.anIntArray7397[i_21_] = i_15_ - -1; - Class205.anIntArray2694[i_21_] = -1 + i_16_; - r.anIntArrayArray9723[1 + i_17_][-1 + i_18_] = 9; - i_21_ = 0xfff & i_21_ - -1; - Class223.anIntArrayArray2900[1 + i_17_][-1 + i_18_] = i_25_; - } - } while (false); - while_55_: - do { - if (i_17_ > 0 && i_18_ < -i_12_ + 128 && r.anIntArrayArray9723[-1 + i_17_][1 + i_18_] == 0 && (is[i_23_ - 1][i_12_ + i_24_] & 0x4e240000) == 0) { - for (int i_32_ = 1; i_32_ < i_12_; i_32_++) { - if ((is[-1 + i_23_][i_32_ + i_24_] & 0x4fa40000) != 0 || (is[i_32_ + (i_23_ + -1)][i_24_ - -i_12_] & 0x7e240000) != 0) break while_55_; - } - Class367_Sub11.anIntArray7397[i_21_] = i_15_ - 1; - Class205.anIntArray2694[i_21_] = i_16_ - -1; - r.anIntArrayArray9723[i_17_ - 1][i_18_ - -1] = 6; - i_21_ = i_21_ - -1 & 0xfff; - Class223.anIntArrayArray2900[-1 + i_17_][i_18_ - -1] = i_25_; - } - } while (false); - if (i_17_ < 128 + -i_12_ && i_18_ < 128 + -i_12_ && (r.anIntArrayArray9723[i_17_ + 1][1 + i_18_] == 0) && (0x78240000 & is[i_12_ + i_23_][i_24_ + i_12_]) == 0) { - for (int i_33_ = 1; i_12_ > i_33_; i_33_++) { - if ((0x7e240000 & is[i_23_ + i_33_][i_24_ - -i_12_]) != 0 || ((is[i_12_ + i_23_][i_24_ - -i_33_] & 0x78e40000) != 0)) continue while_56_; - } - Class367_Sub11.anIntArray7397[i_21_] = i_15_ - -1; - Class205.anIntArray2694[i_21_] = i_16_ - -1; - i_21_ = 0xfff & 1 + i_21_; - r.anIntArrayArray9723[i_17_ - -1][1 + i_18_] = 12; - Class223.anIntArrayArray2900[i_17_ + 1][i_18_ - -1] = i_25_; - } - } - Class115.anInt1753 = i_16_; - Class348_Sub40_Sub30.anInt9388 = i_15_; - return false; - } - - public static void method1421(byte i) { - aClass278_2529 = null; - if (i != -85) method1421((byte) 39); - aClass114_2527 = null; - } - - public Class189() { - this.anInt2526 = 64; - this.anInt2530 = 64; - this.anInt2525 = -1; - this.anInt2534 = 2; - } -} diff --git a/client/src/Class19.java b/client/src/Class19.java deleted file mode 100644 index 3e6772b3d..000000000 --- a/client/src/Class19.java +++ /dev/null @@ -1,71 +0,0 @@ -/* Class19 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class19 { - static Class114 aClass114_304; - static int anInt305; - String aString306; - static int anInt307; - int anInt308; - static int anInt309; - byte aByte310; - static Class174[] aClass174Array311 = new Class174[16]; - String aString312; - String aString313; - String aString314; - static Class114 aClass114_315; - - static final void method283(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_) { - for (Class318_Sub5 class318_sub5 = (Class318_Sub5) Class225.aClass243_2957.method1872(8); class318_sub5 != null; class318_sub5 = ((Class318_Sub5) Class225.aClass243_2957.method1878((byte) 0))) { - if (class318_sub5.anInt6421 <= Class367_Sub11.anInt7396) class318_sub5.method2373(false); - else { - Class318_Sub5.method2505(i_0_ >> 1, class318_sub5.anInt6420 * 2, 0, i_5_, i_2_ >> 1, class318_sub5.anInt6418, 256 + (class318_sub5.anInt6422 << 9), i_1_, (class318_sub5.anInt6419 << 9) + 256); - Class262.aClass324_3326.method2575((byte) 122, i_3_ - -Class239_Sub21.anIntArray6062[0], ~0xffffff | class318_sub5.anInt6415, class318_sub5.aString6416, 0, i_4_ - -Class239_Sub21.anIntArray6062[1]); - } - } - anInt305++; - if (i >= -108) aClass114_304 = null; - } - - public static void method284(byte i) { - aClass114_315 = null; - aClass114_304 = null; - if (i == 51) aClass174Array311 = null; - } - - static final Class223[] method285(int i) { - anInt309++; - if (i > -62) method286((byte) 66, null); - return (new Class223[]{Class219.aClass223_2868, Class348_Sub49.aClass223_7175, Class313.aClass223_3934, Class185.aClass223_2489, Class101_Sub1.aClass223_5689, Class348_Sub40_Sub21.aClass223_9274, Class28.aClass223_4997, Class174.aClass223_2307, Class149.aClass223_2045, Class187.aClass223_2507}); - } - - static final Class57[] method286(byte i, Class297 class297) { - anInt307++; - if (!class297.method2247(-4)) return new Class57[0]; - int i_6_ = 52 / ((39 - i) / 61); - Class144 class144 = class297.method2240(972476528); - while (class144.anInt1997 == 0) Class286_Sub5.method2161((byte) -97, 10L); - if (class144.anInt1997 == 2) return new Class57[0]; - int[] is = (int[]) class144.anObject1998; - Class57[] class57s = new Class57[is.length >> 2]; - for (int i_7_ = 0; class57s.length > i_7_; i_7_++) { - Class57 class57 = new Class57(); - class57s[i_7_] = class57; - class57.anInt1047 = is[i_7_ << 2]; - class57.anInt1054 = is[1 + (i_7_ << 2)]; - class57.anInt1046 = is[2 + (i_7_ << 2)]; - class57.anInt1052 = is[(i_7_ << 2) + 3]; - } - return class57s; - } - - public Class19() { - /* empty */ - } - - static { - aClass114_304 = new Class114(70, -2); - aClass114_315 = new Class114(15, 16); - } -} diff --git a/client/src/Class190.java b/client/src/Class190.java deleted file mode 100644 index eb5de5bff..000000000 --- a/client/src/Class190.java +++ /dev/null @@ -1,220 +0,0 @@ -/* Class190 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; - -final class Class190 { - int anInt2535; - float aFloat2536; - static int anInt2537; - int anInt2538; - static Class351 aClass351_2539 = new Class351(26, 7); - int anInt2540; - Class299 aClass299_2541; - float aFloat2542 = 0.25F; - static int anInt2543; - float aFloat2544; - float aFloat2545 = 1.0F; - int anInt2546; - float aFloat2547; - int anInt2548; - int anInt2549; - static int anInt2550; - float aFloat2551 = 1.0F; - static int[] anIntArray2552; - static int anInt2553; - static Rectangle[] aRectangleArray2554 = new Rectangle[100]; - static float aFloat2555; - - static final boolean method1422(int i, int i_0_, int i_1_, int i_2_) { - anInt2550++; - Class348_Sub40_Sub4.aClass101_9114.method897(i_1_, i, i_0_, Class318_Sub1_Sub5_Sub2.anIntArray10172); - int i_3_ = Class318_Sub1_Sub5_Sub2.anIntArray10172[2]; - if (i_3_ < 50) return false; - Class318_Sub1_Sub5_Sub2.anIntArray10172[2] = i_3_; - Class318_Sub1_Sub5_Sub2.anIntArray10172[0] = (Class140.anInt1962 * Class318_Sub1_Sub5_Sub2.anIntArray10172[0] / i_3_) + Class69.anInt1202; - Class318_Sub1_Sub5_Sub2.anIntArray10172[1] = (Class348_Sub49_Sub2.anInt9759 + (Class318_Sub1_Sub5_Sub2.anIntArray10172[1] * Class285_Sub2.anInt8498 / i_3_)); - if (i_2_ != -7596) aRectangleArray2554 = null; - return true; - } - - final void method1423(int i, Class348_Sub49 class348_sub49) { - anInt2553++; - this.aFloat2545 = (float) (class348_sub49.readUnsignedByte(255) * 8) / 255.0F; - this.aFloat2542 = (float) (8 * class348_sub49.readUnsignedByte(i + 247)) / 255.0F; - this.aFloat2551 = (float) (i * class348_sub49.readUnsignedByte(i + 247)) / 255.0F; - } - - final boolean method1424(Class190 class190_4_, byte i) { - anInt2543++; - if (i != 84) return false; - return (this.anInt2540 == class190_4_.anInt2540) && (this.aFloat2547 == class190_4_.aFloat2547) && (class190_4_.aFloat2544 == this.aFloat2544) && (this.aFloat2536 == class190_4_.aFloat2536) && (class190_4_.aFloat2542 == this.aFloat2542) && (class190_4_.aFloat2545 == this.aFloat2545) && (class190_4_.aFloat2551 == this.aFloat2551) && (class190_4_.anInt2549 == this.anInt2549) && (class190_4_.anInt2546 == this.anInt2546) && (class190_4_.aClass299_2541 == this.aClass299_2541); - } - - static final boolean method1425(byte i, Class42 class42, Class348_Sub21 class348_sub21, int i_5_, ha var_ha, int i_6_) { - try { - anInt2537++; - int i_7_ = 2147483647; - int i_8_ = -2147483648; - int i_9_ = 2147483647; - int i_10_ = -2147483648; - if (class42.anIntArray591 != null) { - i_8_ = (Class75.anInt1272 + ((-Class75.anInt1274 + (class348_sub21.anInt6852 + class42.anInt595)) * (Class75.anInt1276 - Class75.anInt1272) / (-Class75.anInt1274 + Class75.anInt1265))); - i_9_ = (-((-Class75.anInt1262 + Class75.anInt1268) * (class42.anInt570 + (class348_sub21.anInt6851 - Class75.anInt1257)) / (Class75.anInt1277 + -Class75.anInt1257)) + Class75.anInt1268); - i_10_ = (-((-Class75.anInt1262 + Class75.anInt1268) * (class348_sub21.anInt6851 + (class42.anInt607 + -Class75.anInt1257)) / (Class75.anInt1277 - Class75.anInt1257)) + Class75.anInt1268); - i_7_ = (((-Class75.anInt1272 + Class75.anInt1276) * (-Class75.anInt1274 + class348_sub21.anInt6852 + class42.anInt603) / (-Class75.anInt1274 + Class75.anInt1265)) + Class75.anInt1272); - } - Class105 class105 = null; - int i_11_ = 0; - if (i > -29) aRectangleArray2554 = null; - int i_12_ = 0; - int i_13_ = 0; - int i_14_ = 0; - if (class42.anInt578 != -1) { - if (class348_sub21.aBoolean6848 && class42.anInt605 != -1) class105 = class42.method374(true, var_ha, (byte) 127); - else class105 = class42.method374(false, var_ha, (byte) 127); - if (class105 != null) { - i_11_ = (class348_sub21.anInt6853 + -(class105.method966() - -1 >> 1)); - i_12_ = (class348_sub21.anInt6853 + (1 + class105.method966() >> 1)); - if (i_11_ < i_7_) i_7_ = i_11_; - if (i_12_ > i_8_) i_8_ = i_12_; - i_13_ = (class348_sub21.anInt6855 - (class105.method980() - -1 >> 1)); - if (i_13_ < i_9_) i_9_ = i_13_; - i_14_ = (class348_sub21.anInt6855 + (1 + class105.method980() >> 1)); - if (i_14_ > i_10_) i_10_ = i_14_; - } - } - Class323 class323 = null; - int i_15_ = 0; - int i_16_ = 0; - int i_17_ = 0; - int i_18_ = 0; - int i_19_ = 0; - int i_20_ = 0; - int i_21_ = 0; - int i_22_ = 0; - if (class42.aString597 != null) { - class323 = Class239_Sub15.method1782(class42.anInt576, 10144); - if (class323 != null) { - i_15_ = (Class258_Sub1.aClass143_8527.method1188(class42.aString597, null, ha_Sub3.aStringArray8019, (byte) 87, null)); - i_17_ = (class348_sub21.anInt6855 - (class42.anInt568 * (Class75.anInt1268 + -Class75.anInt1262) / (Class75.anInt1277 - Class75.anInt1257))); - i_16_ = (class348_sub21.anInt6853 + ((-Class75.anInt1272 + Class75.anInt1276) * class42.anInt566 / (Class75.anInt1265 + -Class75.anInt1274))); - if (class105 == null) i_17_ -= i_15_ * class323.method2560() / 2; - else i_17_ -= ((class105.method980() >> 1) - -(i_15_ * class323.method2565())); - for (int i_23_ = 0; i_15_ > i_23_; i_23_++) { - String string = ha_Sub3.aStringArray8019[i_23_]; - if (i_23_ < -1 + i_15_) string = string.substring(0, -4 + string.length()); - int i_24_ = class323.method2564(string); - if (i_18_ < i_24_) i_18_ = i_24_; - } - i_19_ = i_6_ + i_16_ + -(i_18_ / 2); - i_20_ = i_6_ + i_16_ + i_18_ / 2; - if (i_7_ > i_19_) i_7_ = i_19_; - i_21_ = i_17_ + i_5_; - if (i_20_ > i_8_) i_8_ = i_20_; - i_22_ = i_5_ + (i_17_ + class323.method2565() * i_15_); - if (i_9_ > i_21_) i_9_ = i_21_; - if (i_10_ < i_22_) i_10_ = i_22_; - } - } - if (Class75.anInt1272 > i_8_ || i_7_ > Class75.anInt1276 || i_10_ < Class75.anInt1262 || i_9_ > Class75.anInt1268) return true; - Class75.method745(var_ha, class348_sub21, class42); - if (class105 != null) { - if (Class367_Sub9.anInt7379 > 0 && ((Class348_Sub40_Sub30.anInt9399 != -1 && (Class348_Sub40_Sub30.anInt9399 == class348_sub21.anInt6847)) || (Class34.anInt481 != -1 && (class42.anInt596 == Class34.anInt481)))) { - int i_25_; - if (Class164.anInt2173 <= 50) i_25_ = 2 * Class164.anInt2173; - else i_25_ = -(Class164.anInt2173 * 2) + 200; - int i_26_ = 0xffff00 | i_25_ << 24; - var_ha.method3656((byte) -105, i_26_, class105.method971() / 2 - -7, (class348_sub21.anInt6853), (class348_sub21.anInt6855)); - var_ha.method3656((byte) -120, i_26_, class105.method971() / 2 - -5, (class348_sub21.anInt6853), (class348_sub21.anInt6855)); - var_ha.method3656((byte) -126, i_26_, 3 + class105.method971() / 2, (class348_sub21.anInt6853), (class348_sub21.anInt6855)); - var_ha.method3656((byte) -112, i_26_, 1 + class105.method971() / 2, (class348_sub21.anInt6853), (class348_sub21.anInt6855)); - var_ha.method3656((byte) -123, i_26_, class105.method971() / 2, (class348_sub21.anInt6853), (class348_sub21.anInt6855)); - } - class105.method974((class348_sub21.anInt6853 + -(class105.method966() >> 1)), (class348_sub21.anInt6855 + -(class105.method980() >> 1))); - } - if (class42.aString597 != null && class323 != null) Class342.method2683(class323, class348_sub21, i_16_, 64, i_15_, var_ha, i_17_, i_18_, class42); - if (class42.anInt578 != -1 || class42.aString597 != null) { - Class348_Sub12 class348_sub12 = new Class348_Sub12(class348_sub21); - class348_sub12.anInt6746 = i_13_; - class348_sub12.anInt6753 = i_21_; - class348_sub12.anInt6747 = i_11_; - class348_sub12.anInt6738 = i_22_; - class348_sub12.anInt6745 = i_19_; - class348_sub12.anInt6735 = i_14_; - class348_sub12.anInt6737 = i_20_; - class348_sub12.anInt6750 = i_12_; - Class289.aClass262_3705.method1999(class348_sub12, -20180); - } - return false; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bp.C(" + i + ',' + (class42 != null ? "{...}" : "null") + ',' + (class348_sub21 != null ? "{...}" : "null") + ',' + i_5_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_6_ + ')')); - } - } - - public static void method1426(int i) { - aClass351_2539 = null; - aRectangleArray2554 = null; - anIntArray2552 = null; - if (i != 25165) aRectangleArray2554 = null; - } - - public Class190() { - this.anInt2535 = -50; - this.aFloat2536 = 1.2F; - this.aClass299_2541 = Class348_Sub42_Sub10.aClass299_9571; - this.anInt2546 = 0; - this.anInt2549 = Class268.anInt3444; - this.anInt2548 = -60; - this.anInt2538 = -50; - this.aFloat2544 = 0.69921875F; - this.anInt2540 = Class268.anInt3439; - this.aFloat2547 = 1.1523438F; - } - - Class190(Class348_Sub49 class348_sub49) { - int i = class348_sub49.readUnsignedByte(255); - if (Class316.aClass348_Sub51_3959.aClass239_Sub28_7230.method1845(-32350) != 1 || Class60.aHa1098.method3704() <= 0) { - if ((0x1 & i) != 0) class348_sub49.readInt((byte) -126); - if ((0x2 & i) != 0) class348_sub49.readUnsignedShort(842397944); - if ((i & 0x4) != 0) class348_sub49.readUnsignedShort(842397944); - if ((0x8 & i) != 0) class348_sub49.readUnsignedShort(842397944); - this.anInt2540 = Class268.anInt3439; - this.aFloat2547 = 1.1523438F; - this.aFloat2544 = 0.69921875F; - this.aFloat2536 = 1.2F; - } else { - if ((i & 0x1) != 0) this.anInt2540 = class348_sub49.readInt((byte) -126); - else this.anInt2540 = Class268.anInt3439; - if ((0x2 & i) != 0) this.aFloat2547 = (float) class348_sub49.readUnsignedShort(842397944) / 256.0F; - else this.aFloat2547 = 1.1523438F; - if ((i & 0x4) == 0) this.aFloat2544 = 0.69921875F; - else this.aFloat2544 = (float) class348_sub49.readUnsignedShort(842397944) / 256.0F; - if ((0x8 & i) != 0) this.aFloat2536 = (float) class348_sub49.readUnsignedShort(842397944) / 256.0F; - else this.aFloat2536 = 1.2F; - } - if ((i & 0x10) == 0) { - this.anInt2548 = -60; - this.anInt2535 = -50; - this.anInt2538 = -50; - } else { - this.anInt2538 = class348_sub49.readShort(13638); - this.anInt2548 = class348_sub49.readShort(13638); - this.anInt2535 = class348_sub49.readShort(13638); - } - if ((0x20 & i) == 0) this.anInt2549 = Class268.anInt3444; - else this.anInt2549 = class348_sub49.readInt((byte) -126); - if ((i & 0x40) != 0) this.anInt2546 = class348_sub49.readUnsignedShort(842397944); - else this.anInt2546 = 0; - if ((0x80 & i) != 0) { - int i_27_ = class348_sub49.readUnsignedShort(842397944); - int i_28_ = class348_sub49.readUnsignedShort(842397944); - int i_29_ = class348_sub49.readUnsignedShort(842397944); - int i_30_ = class348_sub49.readUnsignedShort(842397944); - int i_31_ = class348_sub49.readUnsignedShort(842397944); - int i_32_ = class348_sub49.readUnsignedShort(842397944); - this.aClass299_2541 = Class230.method1636(i_31_, i_30_, i_27_, i_32_, i_28_, -1, i_29_); - } else this.aClass299_2541 = Class348_Sub42_Sub10.aClass299_9571; - } -} diff --git a/client/src/Class191.java b/client/src/Class191.java deleted file mode 100644 index 449ed3043..000000000 --- a/client/src/Class191.java +++ /dev/null @@ -1,135 +0,0 @@ -/* Class191 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class191 { - static int anInt2556; - private int anInt2557 = 0; - static int anInt2558; - private final int anInt2559; - static int anInt2560; - private Class262 aClass262_2561; - private int anInt2562 = -1; - private Class348_Sub6[] aClass348_Sub6Array2563; - private int[][] anIntArrayArray2564; - private int anInt2565; - static int anInt2566; - static int anInt2567; - static Class227 aClass227_2568 = new Class227(0); - static int anInt2569; - boolean aBoolean2570; - static Class304 aClass304_2571 = new Class304(2); - - final int[][] method1427(byte i) { - anInt2558++; - if (anInt2559 != anInt2565) throw new RuntimeException("Can only retrieve a full image cache"); - for (int i_0_ = 0; anInt2559 > i_0_; i_0_++) - aClass348_Sub6Array2563[i_0_] = aa_Sub3.aClass348_Sub6_5206; - if (i != 16) method1427((byte) -42); - return anIntArrayArray2564; - } - - static final void method1428(boolean bool) { - Class342.anImage4249 = null; - anInt2569++; - Class351.aFont4329 = null; - if (bool != true) method1431(-122); - } - - static final void method1429(String string, int i) { - Class286_Sub2.method2144("", i, (byte) -125, 0, string, "", ""); - anInt2560++; - } - - static final void method1430(int i, byte i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, Class318_Sub1_Sub3_Sub3 class318_sub1_sub3_sub3, Class318_Sub1_Sub3_Sub3 class318_sub1_sub3_sub3_8_) { - try { - anInt2567++; - int i_9_ = class318_sub1_sub3_sub3.method2425(-1); - if (i_9_ != -1) { - Object object = null; - Class105 class105 = ((Class105) Class348_Sub1_Sub1.aClass60_8807.method583(i_9_, 118)); - if (class105 == null) { - Class207[] class207s = Class207.method1519(Class21.aClass45_322, i_9_, 0); - if (class207s == null) return; - class105 = Class348_Sub8.aHa6654.method3691(class207s[0], true); - Class348_Sub1_Sub1.aClass60_8807.method582(class105, i_9_, (byte) -115); - } - aa_Sub2.method165(class318_sub1_sub3_sub3_8_.plane, i_5_, 0, i_3_ >> 1, class318_sub1_sub3_sub3_8_.x, class318_sub1_sub3_sub3_8_.method2436((byte) 126) * 256, class318_sub1_sub3_sub3_8_.y, (byte) 92, i_6_ >> 1, i_2_); - int i_10_ = i_7_ + (Class239_Sub21.anIntArray6062[0] + -18); - int i_11_ = -54 + (Class239_Sub21.anIntArray6062[1] + i_4_) - 16; - i_10_ += i / 4 * 18; - i_11_ += 18 * (i % 4); - int i_12_ = -76 / ((i_1_ - 3) / 38); - class105.method974(i_10_, i_11_); - if (class318_sub1_sub3_sub3 == class318_sub1_sub3_sub3_8_) Class348_Sub8.aHa6654.method3668(18, -1 + i_11_, -256, i_10_ - 1, 18, 57); - Class338.method2663(-5590, i_10_ + -1, 18 + i_10_, i_11_ + -1, i_11_ - -18); - Class318_Sub6 class318_sub6 = Class367.method3529(32564); - class318_sub6.anInt6426 = 16 + i_10_; - class318_sub6.anInt6427 = i_11_; - class318_sub6.aClass318_Sub1_Sub3_Sub3_6431 = class318_sub1_sub3_sub3; - class318_sub6.anInt6425 = i_11_ - -16; - class318_sub6.anInt6429 = i_10_; - InputStream_Sub2.aClass243_83.method1869(-87, class318_sub6); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qk.G(" + i + ',' + i_1_ + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + (class318_sub1_sub3_sub3 != null ? "{...}" : "null") + ',' + ((class318_sub1_sub3_sub3_8_ != null) ? "{...}" : "null") + ')')); - } - } - - public static void method1431(int i) { - aClass304_2571 = null; - aClass227_2568 = null; - if (i != 0) aClass227_2568 = null; - } - - final void method1432(byte i) { - for (int i_13_ = 0; i_13_ < anInt2559; i_13_++) - anIntArrayArray2564[i_13_] = null; - anInt2556++; - aClass348_Sub6Array2563 = null; - anIntArrayArray2564 = null; - aClass262_2561.method1996(112); - if (i != 124) anInt2565 = -126; - aClass262_2561 = null; - } - - final int[] method1433(int i, int i_14_) { - if (i != 0) method1427((byte) 108); - anInt2566++; - if (anInt2559 == anInt2565) { - this.aBoolean2570 = aClass348_Sub6Array2563[i_14_] == null; - aClass348_Sub6Array2563[i_14_] = aa_Sub3.aClass348_Sub6_5206; - return anIntArrayArray2564[i_14_]; - } - if (anInt2559 != 1) { - Class348_Sub6 class348_sub6 = aClass348_Sub6Array2563[i_14_]; - if (class348_sub6 == null) { - this.aBoolean2570 = true; - if (anInt2557 < anInt2559) { - class348_sub6 = new Class348_Sub6(i_14_, anInt2557); - anInt2557++; - } else { - Class348_Sub6 class348_sub6_15_ = (Class348_Sub6) aClass262_2561.method1993(i + -123); - class348_sub6 = new Class348_Sub6(i_14_, class348_sub6_15_.anInt6636); - aClass348_Sub6Array2563[class348_sub6_15_.anInt6630] = null; - class348_sub6_15_.method2715((byte) 80); - } - aClass348_Sub6Array2563[i_14_] = class348_sub6; - } else this.aBoolean2570 = false; - aClass262_2561.method2001(class348_sub6, -90); - return (anIntArrayArray2564[class348_sub6.anInt6636]); - } - this.aBoolean2570 = i_14_ != anInt2562; - anInt2562 = i_14_; - return anIntArrayArray2564[0]; - } - - Class191(int i, int i_16_, int i_17_) { - aClass262_2561 = new Class262(); - this.aBoolean2570 = false; - anInt2559 = i; - anInt2565 = i_16_; - aClass348_Sub6Array2563 = new Class348_Sub6[anInt2565]; - anIntArrayArray2564 = new int[anInt2559][i_17_]; - } -} diff --git a/client/src/Class192.java b/client/src/Class192.java deleted file mode 100644 index eaa039f52..000000000 --- a/client/src/Class192.java +++ /dev/null @@ -1,65 +0,0 @@ -/* Class192 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class192 { - Interface5_Impl2 anInterface5_Impl2_2572; - static int anInt2573; - boolean aBoolean2574; - static int anInt2575; - Interface5_Impl2 anInterface5_Impl2_2576; - boolean aBoolean2577; - static int anInt2578; - static short[] aShortArray2579; - static int anInt2580; - static int anInt2581 = 0; - static int anInt2582; - - static final void method1434(int i) { - anInt2573++; - for (Class318_Sub6 class318_sub6 = (Class318_Sub6) InputStream_Sub2.aClass243_83.method1875(60); class318_sub6 != null; class318_sub6 = ((Class318_Sub6) InputStream_Sub2.aClass243_83.method1875(60))) - Class318_Sub1_Sub3_Sub4.method2461(class318_sub6, true); - int i_0_; - int i_1_; - if (Class316.aClass348_Sub51_3959.aClass239_Sub27_7261.method1840(-32350) == 1) { - i_0_ = 0; - i_1_ = 3; - } else i_0_ = i_1_ = Class167.anInt2204; - client.method115(); - for (int i_2_ = i_0_; i_2_ <= i_1_; i_2_++) { - client.method109(); - client.method117(i_2_); - client.method104(i_2_); - } - client.method106(); - if (i == -14988) client.method112(); - } - - final void method1435(byte i) { - if (i >= -6) this.aBoolean2577 = true; - anInt2575++; - if (this.anInterface5_Impl2_2576 != null) this.anInterface5_Impl2_2576.method21(23315); - this.aBoolean2577 = false; - } - - static final boolean method1436(int i, int i_3_) { - int i_4_ = 22 % ((i - 16) / 35); - anInt2582++; - return i_3_ == (i_3_ & -i_3_); - } - - Class192(boolean bool) { - this.aBoolean2574 = bool; - } - - final boolean method1437(byte i) { - anInt2580++; - if (i != -100) this.anInterface5_Impl2_2572 = null; - return this.aBoolean2577 && !this.aBoolean2574; - } - - public static void method1438(int i) { - int i_5_ = 85 % ((i - -28) / 60); - aShortArray2579 = null; - } -} diff --git a/client/src/Class193.java b/client/src/Class193.java deleted file mode 100644 index 4735cc6d3..000000000 --- a/client/src/Class193.java +++ /dev/null @@ -1,85 +0,0 @@ -/* Class193 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; - -final class Class193 { - static int anInt2583; - int anInt2584; - private final Class377 aClass377_2585; - static int anInt2586; - static Class351 aClass351_2587 = new Class351(38, 7); - static int anInt2588; - static Class202 aClass202_2589; - static int anInt2590; - - static final Class279 method1439(int i, Class297 class297, Component component, int i_0_, int i_1_) { - try { - anInt2583++; - if (Class22.anInt339 == 0) throw new IllegalStateException(); - if (i_0_ < 0 || i_0_ >= 2) throw new IllegalArgumentException(); - if (i < 256) i = 256; - try { - Class279 class279 = new Class279_Sub1(); - class279.anInt3620 = i; - class279.anIntArray3603 = new int[(Class282.aBoolean3652 ? 2 : 1) * 256]; - class279.method2095(component); - class279.anInt3613 = (i & ~0x3ff) + 1024; - if (class279.anInt3613 > 16384) class279.anInt3613 = 16384; - class279.method2082(class279.anInt3613); - if (Class253.anInt3248 > 0 && Class183.aClass250_2462 == null) { - Class183.aClass250_2462 = new Class250(); - Class183.aClass250_2462.aClass297_3228 = class297; - class297.method2236(Class183.aClass250_2462, -10240, Class253.anInt3248); - } - if (Class183.aClass250_2462 != null) { - if ((Class183.aClass250_2462.aClass279Array3218[i_0_]) != null) throw new IllegalArgumentException(); - Class183.aClass250_2462.aClass279Array3218[i_0_] = class279; - } - if (i_1_ != 7) method1440(107); - return class279; - } catch (Throwable throwable) { - try { - Class279_Sub2 class279_sub2 = new Class279_Sub2(class297, i_0_); - class279_sub2.anInt3620 = i; - class279_sub2.anIntArray3603 = new int[(!Class282.aBoolean3652 ? 1 : 2) * 256]; - class279_sub2.method2095(component); - class279_sub2.anInt3613 = 16384; - class279_sub2.method2082(class279_sub2.anInt3613); - if (Class253.anInt3248 > 0 && Class183.aClass250_2462 == null) { - Class183.aClass250_2462 = new Class250(); - Class183.aClass250_2462.aClass297_3228 = class297; - class297.method2236(Class183.aClass250_2462, -10240, Class253.anInt3248); - } - if (Class183.aClass250_2462 != null) { - if ((Class183.aClass250_2462.aClass279Array3218[i_0_]) != null) throw new IllegalArgumentException(); - Class183.aClass250_2462.aClass279Array3218[i_0_] = class279_sub2; - } - return class279_sub2; - } catch (Throwable throwable_2_) { - return new Class279(); - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qr.A(" + i + ',' + (class297 != null ? "{...}" : "null") + ',' + (component != null ? "{...}" : "null") + ',' + i_0_ + ',' + i_1_ + ')')); - } - } - - protected final void finalize() throws Throwable { - anInt2588++; - aClass377_2585.method3971(16386, this.anInt2584); - super.finalize(); - } - - Class193(Class377 class377, int i, int i_3_) { - aClass377_2585 = class377; - this.anInt2584 = i_3_; - } - - public static void method1440(int i) { - aClass202_2589 = null; - int i_4_ = -79 / ((i - -45) / 46); - aClass351_2587 = null; - } -} diff --git a/client/src/Class194.java b/client/src/Class194.java deleted file mode 100644 index 88e340731..000000000 --- a/client/src/Class194.java +++ /dev/null @@ -1,87 +0,0 @@ -/* Class194 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class194 { - static int anInt2591; - static int anInt2592; - static int anInt2593; - private Class60 aClass60_2594 = new Class60(64); - static int anInt2595; - static Class279 aClass279_2596; - private final Class45 aClass45_2597; - static int anInt2598; - - public static void method1441(byte i) { - aClass279_2596 = null; - if (i != 18) aClass279_2596 = null; - } - - final void method1442(int i, byte i_0_) { - anInt2598++; - synchronized (aClass60_2594) { - if (i_0_ != 1) aClass60_2594 = null; - aClass60_2594.method578(2, i); - } - } - - final void method1443(int i) { - anInt2595++; - int i_1_ = 14 % ((-39 - i) / 51); - synchronized (aClass60_2594) { - aClass60_2594.method587(-80); - } - } - - final void method1444(int i, int i_2_) { - int i_3_ = -6 % ((67 - i_2_) / 47); - anInt2591++; - synchronized (aClass60_2594) { - aClass60_2594.method590(0); - aClass60_2594 = new Class60(i); - } - } - - final void method1445(int i) { - anInt2592++; - if (i == 64) { - synchronized (aClass60_2594) { - aClass60_2594.method590(0); - } - } - } - - final Class146 method1446(int i, int i_4_) { - anInt2593++; - Class146 class146; - synchronized (aClass60_2594) { - class146 = (Class146) aClass60_2594.method583(i, 76); - } - if (class146 != null) return class146; - byte[] is; - synchronized (aClass45_2597) { - is = aClass45_2597.method410(i_4_ ^ 0x743, Class179.method1359(true, i), Class348_Sub14.method2806(false, i)); - } - class146 = new Class146(); - if (i_4_ != -1) return null; - if (is != null) class146.method1191(i_4_ ^ ~0x800, new Class348_Sub49(is)); - synchronized (aClass60_2594) { - aClass60_2594.method582(class146, i, (byte) -105); - } - return class146; - } - - Class194(Class230 class230, int i, Class45 class45) { - do { - try { - aClass45_2597 = class45; - if (aClass45_2597 == null) break; - int i_5_ = aClass45_2597.method414(-1) + -1; - aClass45_2597.method407(0, i_5_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qs.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } -} diff --git a/client/src/Class195.java b/client/src/Class195.java deleted file mode 100644 index b3bf80624..000000000 --- a/client/src/Class195.java +++ /dev/null @@ -1,118 +0,0 @@ -/* Class195 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class195 implements Interface16 { - static int anInt5003; - static int anInt5004; - static int anInt5005; - private final Class287 aClass287_5006; - static int[] anIntArray5007 = new int[4]; - static int anInt5008; - static int anInt5009; - private ha aHa5010; - private boolean aBoolean5011; - private final Interface1[] anInterface1Array5012; - static boolean aBoolean5013 = false; - static int anInt5014; - static Class351 aClass351_5015; - static int anInt5016 = 0; - static Class297 aClass297_5017; - static int anInt5018; - static int anInt5019; - - public static void method1447(int i) { - if (i == 76) { - anIntArray5007 = null; - aClass297_5017 = null; - aClass351_5015 = null; - } - } - - static final void method1448(int i) { - anInt5003++; - if (i <= -55) Class348_Sub40_Sub7.aClass348_Sub42_Sub12_9144 = new Class348_Sub42_Sub12((Class274.aClass274_3487.method2063(Class348_Sub33.anInt6967, 544)), "", Class362.anInt4458, 1004, -1, 0L, 0, 0, true, false, 0L, true); - } - - public final void method57(int i) { - anInt5004++; - if (aHa5010 != Class348_Sub8.aHa6654) { - aHa5010 = Class348_Sub8.aHa6654; - aBoolean5011 = true; - } - aHa5010.GA(0); - Interface1[] interface1s = anInterface1Array5012; - for (int i_0_ = 0; interface1s.length > i_0_; i_0_++) { - Interface1 interface1 = interface1s[i_0_]; - if (interface1 != null) interface1.method7(10286); - } - if (i <= 84) method56((byte) 2, 40L); - } - - public final void method58(boolean bool, int i) { - anInt5018++; - bool = true; - Interface1[] interface1s = anInterface1Array5012; - for (int i_1_ = 0; interface1s.length > i_1_; i_1_++) { - Interface1 interface1 = interface1s[i_1_]; - if (interface1 != null) interface1.method9((byte) -49, bool || aBoolean5011); - } - if (i > -69) method1447(-38); - aBoolean5011 = false; - } - - public final void method59(int i) { - anInt5008++; - if (i != -9719) aClass351_5015 = null; - } - - public final int method55(byte i) { - anInt5009++; - if (i != -58) method58(false, -122); - return aClass287_5006.anInt3687; - } - - static final Class148 method1449(int i, int i_2_, int i_3_) { - Class357 class357 = Class147.aClass357ArrayArrayArray2029[i][i_2_][i_3_]; - if (class357 == null) return null; - return class357.aClass148_4396; - } - - public final boolean method56(byte i, long l) { - try { - anInt5005++; - if (i < 30) method1449(-81, 10, -115); - return l - -(long) aClass287_5006.anInt3690 <= Class62.method599(-97); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "qt.I(" + i + ',' + l + ')'); - } - } - - Class195(Class287 class287, Class106 class106) { - try { - aClass287_5006 = class287; - anInterface1Array5012 = new Interface1[(aClass287_5006.anInterface12Array3688).length]; - for (int i = 0; (i < anInterface1Array5012.length); i++) - anInterface1Array5012[i] = class106.method1000(true, (aClass287_5006.anInterface12Array3688[i])); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qt.(" + (class287 != null ? "{...}" : "null") + ',' + (class106 != null ? "{...}" : "null") + ')')); - } - } - - public final int method60(int i) { - if (i != -19079) method58(false, 116); - anInt5014++; - int i_4_ = 0; - Interface1[] interface1s = anInterface1Array5012; - for (int i_5_ = 0; interface1s.length > i_5_; i_5_++) { - Interface1 interface1 = interface1s[i_5_]; - if (interface1 == null || interface1.method8((byte) -121)) i_4_++; - } - return i_4_ * 100 / anInterface1Array5012.length; - } - - static { - aClass351_5015 = new Class351(76, 4); - anInt5019 = 0; - } -} diff --git a/client/src/Class196.java b/client/src/Class196.java deleted file mode 100644 index dc8eea32d..000000000 --- a/client/src/Class196.java +++ /dev/null @@ -1,24 +0,0 @@ -/* Class196 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class196 { - static int anInt2599; - static int anInt2600; - static int anInt2601 = -50; - - final boolean method1450(int i) { - anInt2600++; - if (i >= -1) return true; - return this == Class180.aClass196_2372 | Class46.aClass196_838 == this; - } - - public final String toString() { - anInt2599++; - throw new IllegalStateException(); - } - - public Class196() { - /* empty */ - } -} diff --git a/client/src/Class197.java b/client/src/Class197.java deleted file mode 100644 index 9f528581c..000000000 --- a/client/src/Class197.java +++ /dev/null @@ -1,62 +0,0 @@ -/* Class197 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class197 { - private int[] anIntArray2602; - int anInt2603; - private int anInt2604 = 2; - private int[] anIntArray2605 = new int[2]; - int anInt2606; - int anInt2607; - private int anInt2608; - private int anInt2609; - private int anInt2610; - private int anInt2611; - private int anInt2612; - - final int method1451(int i) { - if (anInt2609 >= anInt2610) { - anInt2612 = anIntArray2602[anInt2611++] << 15; - if (anInt2611 >= anInt2604) anInt2611 = anInt2604 - 1; - anInt2610 = (int) ((double) anIntArray2605[anInt2611] / 65536.0 * (double) i); - if (anInt2610 > anInt2609) anInt2608 = (((anIntArray2602[anInt2611] << 15) - anInt2612) / (anInt2610 - anInt2609)); - } - anInt2612 += anInt2608; - anInt2609++; - return anInt2612 - anInt2608 >> 15; - } - - final void method1452(Class348_Sub49 class348_sub49) { - this.anInt2603 = class348_sub49.readUnsignedByte(255); - this.anInt2607 = class348_sub49.readInt((byte) -126); - this.anInt2606 = class348_sub49.readInt((byte) -126); - method1454(class348_sub49); - } - - final void method1453() { - anInt2610 = 0; - anInt2611 = 0; - anInt2608 = 0; - anInt2612 = 0; - anInt2609 = 0; - } - - public Class197() { - anIntArray2602 = new int[2]; - anIntArray2605[0] = 0; - anIntArray2605[1] = 65535; - anIntArray2602[0] = 0; - anIntArray2602[1] = 65535; - } - - final void method1454(Class348_Sub49 class348_sub49) { - anInt2604 = class348_sub49.readUnsignedByte(255); - anIntArray2605 = new int[anInt2604]; - anIntArray2602 = new int[anInt2604]; - for (int i = 0; i < anInt2604; i++) { - anIntArray2605[i] = class348_sub49.readUnsignedShort(842397944); - anIntArray2602[i] = class348_sub49.readUnsignedShort(842397944); - } - } -} diff --git a/client/src/Class198.java b/client/src/Class198.java deleted file mode 100644 index 7140494b3..000000000 --- a/client/src/Class198.java +++ /dev/null @@ -1,21 +0,0 @@ -/* Class198 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class198 { - short[] aShortArray2613; - short[] aShortArray2614; - int[] anIntArray2615; - short[] aShortArray2616; - byte[] aByteArray2617; - short[] aShortArray2618; - short aShort2619; - short aShort2620; - short[] aShortArray2621; - short[] aShortArray2622; - int[] anIntArray2623; - - public Class198() { - /* empty */ - } -} diff --git a/client/src/Class199.java b/client/src/Class199.java deleted file mode 100644 index 7294d13ee..000000000 --- a/client/src/Class199.java +++ /dev/null @@ -1,143 +0,0 @@ -/* Class199 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; - -final class Class199 { - static int anInt2624; - private final boolean aBoolean2625; - private int anInt2626; - static int anInt2627; - static int anInt2628; - private final boolean aBoolean2629; - static int anInt2630; - static int[] anIntArray2631 = new int[4096]; - static int[] anIntArray2632; - static int[] anIntArray2633; - static int anInt2634; - private final int anInt2635; - static Class352[] aClass352Array2636; - static int anInt2637; - - static final void method1455(int i, Color color, String string, Color color_0_, byte i_1_, Color color_2_) { - try { - anInt2627++; - try { - Graphics graphics = Class305.aCanvas3869.getGraphics(); - if (Class351.aFont4329 == null) Class351.aFont4329 = new Font("Helvetica", 1, 13); - if (color == null) color = new Color(140, 17, 17); - if (color_0_ == null) color_0_ = new Color(140, 17, 17); - if (color_2_ == null) color_2_ = new Color(255, 255, 255); - try { - if (Class342.anImage4249 == null) Class342.anImage4249 = (Class305.aCanvas3869.createImage(Class321.anInt4017, Class348_Sub42_Sub8_Sub2.anInt10432)); - Graphics graphics_3_ = Class342.anImage4249.getGraphics(); - graphics_3_.setColor(Color.black); - graphics_3_.fillRect(0, 0, Class321.anInt4017, Class348_Sub42_Sub8_Sub2.anInt10432); - int i_4_ = -152 + Class321.anInt4017 / 2; - int i_5_ = -18 + Class348_Sub42_Sub8_Sub2.anInt10432 / 2; - graphics_3_.setColor(color_0_); - graphics_3_.drawRect(i_4_, i_5_, 303, 33); - graphics_3_.setColor(color); - graphics_3_.fillRect(2 + i_4_, i_5_ - -2, i * 3, 30); - graphics_3_.setColor(Color.black); - graphics_3_.drawRect(i_4_ + 1, 1 + i_5_, 301, 31); - graphics_3_.fillRect(3 * i + (i_4_ - -2), 2 + i_5_, 300 - i * 3, 30); - graphics_3_.setFont(Class351.aFont4329); - graphics_3_.setColor(color_2_); - if (i_1_ > -42) anIntArray2631 = null; - graphics_3_.drawString(string, (i_4_ + (304 - string.length() * 6) / 2), i_5_ + 22); - if (Class348_Sub42_Sub16.aString9665 != null) { - graphics_3_.setFont(Class351.aFont4329); - graphics_3_.setColor(color_2_); - graphics_3_.drawString(Class348_Sub42_Sub16.aString9665, (Class321.anInt4017 / 2 - (Class348_Sub42_Sub16.aString9665.length() * 6 / 2)), -26 + Class348_Sub42_Sub8_Sub2.anInt10432 / 2); - } - graphics.drawImage(Class342.anImage4249, 0, 0, null); - } catch (Exception exception) { - graphics.setColor(Color.black); - graphics.fillRect(0, 0, Class321.anInt4017, Class348_Sub42_Sub8_Sub2.anInt10432); - int i_6_ = -152 + Class321.anInt4017 / 2; - int i_7_ = Class348_Sub42_Sub8_Sub2.anInt10432 / 2 + -18; - graphics.setColor(color_0_); - graphics.drawRect(i_6_, i_7_, 303, 33); - graphics.setColor(color); - graphics.fillRect(2 + i_6_, 2 + i_7_, i * 3, 30); - graphics.setColor(Color.black); - graphics.drawRect(1 + i_6_, 1 + i_7_, 301, 31); - graphics.fillRect(3 * i + 2 + i_6_, 2 + i_7_, -(i * 3) + 300, 30); - graphics.setFont(Class351.aFont4329); - graphics.setColor(color_2_); - if (Class348_Sub42_Sub16.aString9665 != null) { - graphics.setFont(Class351.aFont4329); - graphics.setColor(color_2_); - graphics.drawString(Class348_Sub42_Sub16.aString9665, (Class321.anInt4017 / 2 + -(6 * Class348_Sub42_Sub16.aString9665.length() / 2)), Class348_Sub42_Sub8_Sub2.anInt10432 / 2 - 26); - } - graphics.drawString(string, i_6_ - -((304 + -(string.length() * 6)) / 2), 22 + i_7_); - } - } catch (Exception exception) { - Class305.aCanvas3869.repaint(); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("rc.A(" + i + ',' + (color != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ',' + (color_0_ != null ? "{...}" : "null") + ',' + i_1_ + ',' + (color_2_ != null ? "{...}" : "null") + ')')); - } - } - - final boolean method1456(byte i) { - if (i < 49) return true; - anInt2634++; - return aBoolean2625; - } - - static final int method1457(int i, int i_8_) { - if (Class348_Sub1_Sub2.aByteArrayArray8816 != null) return Class348_Sub1_Sub2.aByteArrayArray8816[i][i_8_] & 0xff; - return 0; - } - - final int method1458(int i) { - if (i != -23688) return -22; - anInt2628++; - return anInt2635; - } - - static final void method1459(int i, int i_9_) { - anInt2637++; - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i, (byte) 105, 10); - class348_sub42_sub15.method3251(-16058); - if (i_9_ != 2) aClass352Array2636 = null; - } - - final boolean method1460(int i) { - anInt2630++; - if (i >= -27) anInt2626 = 107; - return aBoolean2629; - } - - public static void method1461(byte i) { - anIntArray2633 = null; - if (i <= 77) anIntArray2633 = null; - anIntArray2631 = null; - aClass352Array2636 = null; - anIntArray2632 = null; - } - - final int method1462(int i) { - int i_10_ = 23 % ((-4 - i) / 55); - anInt2624++; - return anInt2626; - } - - Class199(boolean bool, int i, int i_11_, boolean bool_12_) { - anInt2626 = i_11_; - aBoolean2625 = bool_12_; - anInt2635 = i; - aBoolean2629 = bool; - } - - static { - for (int i = 0; i < 4096; i++) - anIntArray2631[i] = Class252.method1918(-3358, i); - anIntArray2632 = new int[32]; - anIntArray2633 = new int[32]; - aClass352Array2636 = null; - } -} diff --git a/client/src/Class2.java b/client/src/Class2.java deleted file mode 100644 index 6c25ddba5..000000000 --- a/client/src/Class2.java +++ /dev/null @@ -1,59 +0,0 @@ -/* Class2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class2 { - static int anInt116; - static Class141 aClass141_117; - r aR118; - Class64 aClass64_119; - static int anInt120; - static int anInt121; - static int anInt122; - - static final Class110_Sub1 method170(boolean bool) { - if (bool != true) method174(-106, -36); - anInt122++; - if (Class348_Sub36.anInt6985 < Class65.aClass110_Sub1Array1146.length) return Class65.aClass110_Sub1Array1146[Class348_Sub36.anInt6985++]; - return null; - } - - public static void method171(byte i) { - aClass141_117 = null; - if (i != 72) method173(39, null, null); - } - - static final void method172(int i, Class45 class45) { - if (i != 30284) method170(true); - anInt116++; - Class59_Sub2_Sub1.aClass45_8670 = class45; - } - - static final void method173(int i, Class46 class46, Class46 class46_0_) { - try { - anInt120++; - Class348_Sub38.anInt7009++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class239_Sub9.aClass351_5934, Class348_Sub23_Sub2.aClass77_9029, -104); - class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 112, class46.anInt830); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(class46_0_.anInt704, (byte) 3); - class348_sub47.aClass348_Sub49_Sub2_7116.writeIntMiddle(class46_0_.anInt830, (byte) 44); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, class46_0_.anInt812); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, class46.anInt704); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, class46.anInt812); - if (i > -50) aClass141_117 = null; - Class348_Sub42_Sub14.method3243(-100, class348_sub47); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ak.E(" + i + ',' + (class46 != null ? "{...}" : "null") + ',' + (class46_0_ != null ? "{...}" : "null") + ')')); - } - } - - static final void method174(int i, int i_1_) { - if (i_1_ != -30742) aClass141_117 = null; - anInt121++; - Class332.aClass60_4139.method578(2, i); - } - - public Class2() { - /* empty */ - } -} diff --git a/client/src/Class20.java b/client/src/Class20.java deleted file mode 100644 index 3b5e3447c..000000000 --- a/client/src/Class20.java +++ /dev/null @@ -1,18 +0,0 @@ -/* Class20 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class20 { - static Class114 aClass114_316 = new Class114(95, 10); - static int anInt317; - static Class114 aClass114_318 = new Class114(19, -2); - static int anInt319 = 0; - static int anInt320 = 0; - - public static void method287(int i) { - if (i == 51) { - aClass114_316 = null; - aClass114_318 = null; - } - } -} diff --git a/client/src/Class200.java b/client/src/Class200.java deleted file mode 100644 index 0be8970ee..000000000 --- a/client/src/Class200.java +++ /dev/null @@ -1,16 +0,0 @@ -/* Class200 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class200 { - static Class351 aClass351_2638 = new Class351(59, 8); - static Class226 aClass226_2639; - static Class105[] aClass105Array2640; - - public static void method1463(byte i) { - aClass351_2638 = null; - aClass105Array2640 = null; - if (i != 25) aClass105Array2640 = null; - aClass226_2639 = null; - } -} diff --git a/client/src/Class201.java b/client/src/Class201.java deleted file mode 100644 index 8f4e728f3..000000000 --- a/client/src/Class201.java +++ /dev/null @@ -1,82 +0,0 @@ -/* Class201 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.File; -import java.io.RandomAccessFile; -import java.util.Hashtable; - -public class Class201 { - private static int anInt2641; - private static final Hashtable aHashtable2642; - private static String aString2643; - private static boolean aBoolean2644 = false; - private static String aString2645; - - public static File method1464(int i, int i_0_, String string, String string_1_) { - if (!aBoolean2644) throw new RuntimeException(""); - File file = (File) aHashtable2642.get(string); - if (file != null) return file; - String[] strings = {"c:/rscache/", "/rscache/", "c:/windows/", "c:/winnt/", "c:/", aString2643, "/tmp/", ""}; - String[] strings_2_ = {".jagex_cache_" + i_0_, ".file_store_" + i_0_}; - for (int i_3_ = i; i_3_ < 2; i_3_++) { - for (int i_4_ = 0; strings_2_.length > i_4_; i_4_++) { - for (int i_5_ = 0; strings.length > i_5_; i_5_++) { - String string_6_ = (strings[i_5_] + strings_2_[i_4_] + "/" + (string_1_ == null ? "" : string_1_ + "/") + string); - RandomAccessFile randomaccessfile = null; - try { - File file_7_ = new File(string_6_); - if (i_3_ != 0 || file_7_.exists()) { - String string_8_ = strings[i_5_]; - if (i_3_ != 1 || string_8_.length() <= 0 || new File(string_8_).exists()) { - new File(strings[i_5_] + strings_2_[i_4_]).mkdir(); - if (string_1_ != null) new File(strings[i_5_] + strings_2_[i_4_] + "/" + string_1_).mkdir(); - randomaccessfile = new RandomAccessFile(file_7_, "rw"); - int i_9_ = randomaccessfile.read(); - randomaccessfile.seek(0L); - randomaccessfile.write(i_9_); - randomaccessfile.seek(0L); - randomaccessfile.close(); - aHashtable2642.put(string, file_7_); - return file_7_; - } - } - } catch (Exception exception) { - try { - if (randomaccessfile != null) { - randomaccessfile.close(); - Object object = null; - } - } catch (Exception exception_10_) { - /* empty */ - } - } - } - } - } - throw new RuntimeException(); - } - - public static void method1465(byte i, String string, int i_11_) { - anInt2641 = i_11_; - if (i != -121) aBoolean2644 = false; - aString2645 = string; - try { - aString2643 = System.getProperty("user.home"); - if (aString2643 != null) aString2643 += "/"; - } catch (Exception exception) { - /* empty */ - } - aBoolean2644 = true; - if (aString2643 == null) aString2643 = "~/"; - } - - public static File method1466(int i, String string) { - if (i != -2) method1466(75, null); - return method1464(0, anInt2641, string, aString2645); - } - - static { - aHashtable2642 = new Hashtable(16); - } -} diff --git a/client/src/Class202.java b/client/src/Class202.java deleted file mode 100644 index f8bbebf94..000000000 --- a/client/src/Class202.java +++ /dev/null @@ -1,223 +0,0 @@ -/* Class202 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.EOFException; -import java.io.IOException; -import java.io.InputStream; -import java.io.OutputStream; -import java.net.Socket; - -final class Class202 implements Runnable { - static int anInt2646; - static int anInt2647; - private int anInt2648 = 0; - private final Class297 aClass297_2649; - static int anInt2650; - static int anInt2651; - private InputStream anInputStream2652; - static int anInt2653; - private boolean aBoolean2654 = false; - static int anInt2655; - private int anInt2656 = 0; - private OutputStream anOutputStream2657; - private Class144 aClass144_2658; - private boolean aBoolean2659 = false; - static int anInt2660; - static Class351 aClass351_2661 = new Class351(24, 7); - static int anInt2662; - private byte[] aByteArray2663; - static int anInt2664; - static Class114 aClass114_2665 = new Class114(12, 0); - static int anInt2666; - static int anInt2667; - private final Socket aSocket2668; - private final int anInt2669; - static int anInt2670 = 0; - static Class60 aClass60_2671 = new Class60(10); - - final int method1467(byte i) throws IOException { - anInt2651++; - if (i != 83) aClass114_2665 = null; - if (aBoolean2654) return 0; - return anInputStream2652.available(); - } - - final void method1468(int i) { - anInt2667++; - if (!aBoolean2654) { - if (i < 63) anOutputStream2657 = null; - anInputStream2652 = new InputStream_Sub2(); - anOutputStream2657 = new OutputStream_Sub2(); - } - } - - static final void method1469(int i) { - anInt2662++; - Class286.anInt3682 = 0; - Class239_Sub24.anInt6095 = 0; - int i_0_ = 29 % ((-42 - i) / 63); - for (int i_1_ = 0; Class250.anInt3225 > i_1_; i_1_++) { - int i_2_ = Class31.anInt425 * i_1_; - for (int i_3_ = 0; i_3_ < Class31.anInt425; i_3_++) { - int i_4_ = i_2_ - -i_3_; - Class92.anInterface4Array1525[i_4_].method15(i_3_ * Class58.anInt1067, i_1_ * Class344.anInt4267, Class58.anInt1067, Class344.anInt4267, 0, 0, true, true); - } - } - } - - final void method1470(byte[] is, int i, int i_5_, int i_6_) throws IOException { - anInt2655++; - if (!aBoolean2654) { - if (aBoolean2659) { - aBoolean2659 = false; - throw new IOException(); - } - if (aByteArray2663 == null) aByteArray2663 = new byte[anInt2669]; - synchronized (this) { - if (i_6_ == -1) { - for (int i_7_ = 0; i_7_ < i; i_7_++) { - aByteArray2663[anInt2648] = is[i_7_ + i_5_]; - anInt2648 = (anInt2648 - -1) % anInt2669; - if (anInt2648 == (anInt2656 - (-anInt2669 - -100)) % anInt2669) throw new IOException(); - } - if (aClass144_2658 == null) aClass144_2658 = aClass297_2649.method2236(this, -10240, 3); - this.notifyAll(); - } else { - /* empty */ - } - } - } - } - - public static void method1471(byte i) { - if (i >= 80) { - aClass60_2671 = null; - aClass114_2665 = null; - aClass351_2661 = null; - } - } - - final void method1472(boolean bool) throws IOException { - anInt2650++; - if (bool == true && !aBoolean2654) { - if (aBoolean2659) { - aBoolean2659 = false; - throw new IOException(); - } - } - } - - final int method1473(int i) throws IOException { - anInt2647++; - if (aBoolean2654) return 0; - if (i != 0) return 38; - return anInputStream2652.read(); - } - - public final void run() { - try { - for (; ; ) { - int i; - int i_8_; - synchronized (this) { - if (anInt2648 == anInt2656) { - if (aBoolean2654) break; - try { - this.wait(); - } catch (InterruptedException interruptedexception) { - /* empty */ - } - } - i = anInt2656; - if (anInt2656 > anInt2648) i_8_ = anInt2669 - anInt2656; - else i_8_ = -anInt2656 + anInt2648; - } - if (i_8_ > 0) { - try { - anOutputStream2657.write(aByteArray2663, i, i_8_); - } catch (IOException ioexception) { - aBoolean2659 = true; - } - anInt2656 = (i_8_ + anInt2656) % anInt2669; - try { - if (anInt2648 == anInt2656) anOutputStream2657.flush(); - } catch (IOException ioexception) { - aBoolean2659 = true; - } - } - } - try { - if (anInputStream2652 != null) anInputStream2652.close(); - if (anOutputStream2657 != null) anOutputStream2657.close(); - if (aSocket2668 != null) aSocket2668.close(); - } catch (IOException ioexception) { - /* empty */ - } - aByteArray2663 = null; - } catch (Exception exception) { - Class156.method1242(null, exception, 15004); - } - anInt2664++; - } - - final void method1474(byte[] is, int i, byte i_9_, int i_10_) throws IOException { - anInt2666++; - if (!aBoolean2654) { - while (i_10_ > 0) { - int i_11_ = anInputStream2652.read(is, i, i_10_); - if (i_11_ <= 0) throw new EOFException(); - i_10_ -= i_11_; - i += i_11_; - } - if (i_9_ != -72) run(); - } - } - - static final boolean method1475(byte i, int i_12_, int i_13_) { - anInt2653++; - if (i > -95) method1469(-48); - return (Class286_Sub9.method2174((byte) -115, i_13_, i_12_) & Class137.method1163(i_12_, (byte) -72, i_13_)); - } - - protected final void finalize() { - anInt2646++; - method1476((byte) -126); - } - - final void method1476(byte i) { - anInt2660++; - if (!aBoolean2654) { - synchronized (this) { - aBoolean2654 = true; - if (i > -120) method1476((byte) -105); - this.notifyAll(); - } - if (aClass144_2658 != null) { - while (aClass144_2658.anInt1997 == 0) Class286_Sub5.method2161((byte) 105, 1L); - if (aClass144_2658.anInt1997 == 1) { - try { - ((Thread) aClass144_2658.anObject1998).join(); - } catch (InterruptedException interruptedexception) { - /* empty */ - } - } - } - aClass144_2658 = null; - } - } - - Class202(Socket socket, Class297 class297, int i) throws IOException { - try { - aSocket2668 = socket; - aClass297_2649 = class297; - aSocket2668.setSoTimeout(30000); - aSocket2668.setTcpNoDelay(true); - anInputStream2652 = aSocket2668.getInputStream(); - anOutputStream2657 = aSocket2668.getOutputStream(); - anInt2669 = i; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("re.(" + (socket != null ? "{...}" : "null") + ',' + (class297 != null ? "{...}" : "null") + ',' + i + ')')); - } - } -} diff --git a/client/src/Class203.java b/client/src/Class203.java deleted file mode 100644 index 188cf4477..000000000 --- a/client/src/Class203.java +++ /dev/null @@ -1,75 +0,0 @@ -/* Class203 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class203 { - static int anInt2672; - static int anInt2673; - static volatile boolean aBoolean2674 = false; - static int anInt2675; - - static final void method1477(int i, int i_0_) { - anInt2672++; - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i, (byte) 105, i_0_);//14 - class348_sub42_sub15.method3251(-16058); - } - - static final Class348_Sub47 method1478(boolean bool) { - anInt2673++; - Class348_Sub47 class348_sub47 = Class300.method2273((byte) -103); - if (bool != true) return null; - class348_sub47.anInt7122 = 0; - class348_sub47.aClass351_7118 = null; - class348_sub47.aClass348_Sub49_Sub2_7116 = new Class348_Sub49_Sub2(5000); - return class348_sub47; - } - - static final void method1479(int i, byte i_1_, int i_2_, int i_3_) { - anInt2675++; - int i_4_ = i_2_ - -za_Sub2.regionTileX; - int i_5_ = Class90.regionTileY + i; - if (Class147.aClass357ArrayArrayArray2029 != null && i_2_ >= 0 && i >= 0 && Class367_Sub4.anInt7319 > i_2_ && Class348_Sub40_Sub3.anInt9109 > i && (Class316.aClass348_Sub51_3959.aClass239_Sub27_7261.method1840(-32350) != 0 || i_3_ == (Class132.aPlayer_1907.plane))) { - long l = i_5_ << 14 | i_3_ << 28 | i_4_; - Class348_Sub37 class348_sub37 = ((Class348_Sub37) Class130.aClass356_1895.method3480(l, -6008)); - if (class348_sub37 == null) Class282.method2110(i_3_, i_2_, i); - else { - Class348_Sub34 class348_sub34 = (Class348_Sub34) class348_sub37.aClass262_6998.method1995(4); - if (class348_sub34 == null) Class282.method2110(i_3_, i_2_, i); - else { - Class318_Sub1_Sub2_Sub1 class318_sub1_sub2_sub1 = ((Class318_Sub1_Sub2_Sub1) Class282.method2110(i_3_, i_2_, i)); - if (class318_sub1_sub2_sub1 == null) class318_sub1_sub2_sub1 = (new Class318_Sub1_Sub2_Sub1(i_2_ << 9, aa_Sub1.aSArray5191[i_3_].method3982((byte) -86, i, i_2_), i << 9, i_3_, i_3_)); - else class318_sub1_sub2_sub1.anInt10189 = class318_sub1_sub2_sub1.anInt10180 = -1; - class318_sub1_sub2_sub1.anInt10181 = class348_sub34.anInt6973; - if (i_1_ >= -112) aBoolean2674 = true; - class318_sub1_sub2_sub1.anInt10185 = class348_sub34.anInt6971; - for (; ; ) { - Class348_Sub34 class348_sub34_6_ = ((Class348_Sub34) class348_sub37.aClass262_6998.method1990((byte) 55)); - if (class348_sub34_6_ == null) break; - if (class348_sub34_6_.anInt6973 != class318_sub1_sub2_sub1.anInt10181) { - class318_sub1_sub2_sub1.anInt10189 = (class348_sub34_6_.anInt6973); - class318_sub1_sub2_sub1.anInt10190 = (class348_sub34_6_.anInt6971); - for (; ; ) { - Class348_Sub34 class348_sub34_7_ = ((Class348_Sub34) class348_sub37.aClass262_6998.method1990((byte) 55)); - if (class348_sub34_7_ == null) break; - if ((class318_sub1_sub2_sub1.anInt10181 != (class348_sub34_7_.anInt6973)) && ((class318_sub1_sub2_sub1.anInt10189) != (class348_sub34_7_.anInt6973))) { - class318_sub1_sub2_sub1.anInt10180 = (class348_sub34_7_.anInt6973); - class318_sub1_sub2_sub1.anInt10186 = (class348_sub34_7_.anInt6971); - } - } - break; - } - } - int i_8_ = Class275.method2064(256 + (i_2_ << 9), i_3_, 11219, 256 + (i << 9)); - class318_sub1_sub2_sub1.y = i << 9; - class318_sub1_sub2_sub1.plane = (byte) i_3_; - class318_sub1_sub2_sub1.anInt10196 = 0; - class318_sub1_sub2_sub1.x = i_2_ << 9; - class318_sub1_sub2_sub1.anInt6382 = i_8_; - class318_sub1_sub2_sub1.aByte6376 = (byte) i_3_; - if (Class79.method802(i, i_2_, true)) class318_sub1_sub2_sub1.aByte6376++; - Class367_Sub2.method3536(i_3_, i_2_, i, i_8_, class318_sub1_sub2_sub1); - } - } - } - } -} diff --git a/client/src/Class204.java b/client/src/Class204.java deleted file mode 100644 index e33f8d569..000000000 --- a/client/src/Class204.java +++ /dev/null @@ -1,178 +0,0 @@ -/* Class204 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class204 { - private static byte[] aByteArray2676 = {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 1, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; - private final Class348_Sub49 aClass348_Sub49_2677; - private int[] anIntArray2678; - private int[] anIntArray2679; - private long aLong2680; - int[] anIntArray2681; - private int[] anIntArray2682; - int anInt2683; - private int anInt2684; - - final boolean method1480() { - int i = anIntArray2682.length; - for (int i_0_ = 0; i_0_ < i; i_0_++) { - if (anIntArray2682[i_0_] >= 0) return false; - } - return true; - } - - private final int method1481(int i, int i_1_) { - if (i_1_ == 255) { - int i_2_ = aClass348_Sub49_2677.readUnsignedByte(255); - int i_3_ = aClass348_Sub49_2677.method3366((byte) 112); - if (i_2_ == 47) { - aClass348_Sub49_2677.anInt7197 += i_3_; - return 1; - } - if (i_2_ == 81) { - int i_4_ = aClass348_Sub49_2677.readMedium(-1); - i_3_ -= 3; - int i_5_ = this.anIntArray2681[i]; - aLong2680 += (long) i_5_ * (long) (anInt2684 - i_4_); - anInt2684 = i_4_; - aClass348_Sub49_2677.anInt7197 += i_3_; - return 2; - } - aClass348_Sub49_2677.anInt7197 += i_3_; - return 3; - } - byte i_6_ = aByteArray2676[i_1_ - 128]; - int i_7_ = i_1_; - if (i_6_ >= 1) i_7_ |= aClass348_Sub49_2677.readUnsignedByte(255) << 8; - if (i_6_ >= 2) i_7_ |= aClass348_Sub49_2677.readUnsignedByte(255) << 16; - return i_7_; - } - - final void method1482(byte[] is) { - aClass348_Sub49_2677.aByteArray7154 = is; - aClass348_Sub49_2677.anInt7197 = 10; - int i = aClass348_Sub49_2677.readUnsignedShort(842397944); - this.anInt2683 = aClass348_Sub49_2677.readUnsignedShort(842397944); - anInt2684 = 500000; - anIntArray2679 = new int[i]; - int i_8_ = 0; - while (i_8_ < i) { - int i_9_ = aClass348_Sub49_2677.readInt((byte) -126); - int i_10_ = aClass348_Sub49_2677.readInt((byte) -126); - if (i_9_ == 1297379947) { - anIntArray2679[i_8_] = aClass348_Sub49_2677.anInt7197; - i_8_++; - } - aClass348_Sub49_2677.anInt7197 += i_10_; - } - aLong2680 = 0L; - anIntArray2682 = new int[i]; - for (int i_11_ = 0; i_11_ < i; i_11_++) - anIntArray2682[i_11_] = anIntArray2679[i_11_]; - this.anIntArray2681 = new int[i]; - anIntArray2678 = new int[i]; - } - - final int method1483() { - return anIntArray2682.length; - } - - final void method1484(long l) { - aLong2680 = l; - int i = anIntArray2682.length; - for (int i_12_ = 0; i_12_ < i; i_12_++) { - this.anIntArray2681[i_12_] = 0; - anIntArray2678[i_12_] = 0; - aClass348_Sub49_2677.anInt7197 = anIntArray2679[i_12_]; - method1485(i_12_); - anIntArray2682[i_12_] = aClass348_Sub49_2677.anInt7197; - } - } - - final void method1485(int i) { - int i_13_ = aClass348_Sub49_2677.method3366((byte) 98); - this.anIntArray2681[i] += i_13_; - } - - final void method1486(int i) { - anIntArray2682[i] = aClass348_Sub49_2677.anInt7197; - } - - final void method1487() { - aClass348_Sub49_2677.aByteArray7154 = null; - anIntArray2679 = null; - anIntArray2682 = null; - this.anIntArray2681 = null; - anIntArray2678 = null; - } - - final long method1488(int i) { - return aLong2680 + (long) i * (long) anInt2684; - } - - private final int method1489(int i) { - int i_14_ = (aClass348_Sub49_2677.aByteArray7154[aClass348_Sub49_2677.anInt7197]); - if (i_14_ < 0) { - i_14_ &= 0xff; - anIntArray2678[i] = i_14_; - aClass348_Sub49_2677.anInt7197++; - } else i_14_ = anIntArray2678[i]; - if (i_14_ == 240 || i_14_ == 247) { - int i_15_ = aClass348_Sub49_2677.method3366((byte) 40); - if (i_14_ == 247 && i_15_ > 0) { - int i_16_ = ((aClass348_Sub49_2677.aByteArray7154[aClass348_Sub49_2677.anInt7197]) & 0xff); - if (i_16_ >= 241 && i_16_ <= 243 || i_16_ == 246 || i_16_ == 248 || i_16_ >= 250 && i_16_ <= 252 || i_16_ == 254) { - aClass348_Sub49_2677.anInt7197++; - anIntArray2678[i] = i_16_; - return method1481(i, i_16_); - } - } - aClass348_Sub49_2677.anInt7197 += i_15_; - return 0; - } - return method1481(i, i_14_); - } - - final int method1490() { - int i = anIntArray2682.length; - int i_17_ = -1; - int i_18_ = 2147483647; - for (int i_19_ = 0; i_19_ < i; i_19_++) { - if (anIntArray2682[i_19_] >= 0 && this.anIntArray2681[i_19_] < i_18_) { - i_17_ = i_19_; - i_18_ = this.anIntArray2681[i_19_]; - } - } - return i_17_; - } - - final boolean method1491() { - return aClass348_Sub49_2677.aByteArray7154 != null; - } - - final void method1492(int i) { - aClass348_Sub49_2677.anInt7197 = anIntArray2682[i]; - } - - public static void method1493() { - aByteArray2676 = null; - } - - final int method1494(int i) { - int i_20_ = method1489(i); - return i_20_; - } - - final void method1495() { - aClass348_Sub49_2677.anInt7197 = -1; - } - - public Class204() { - aClass348_Sub49_2677 = new Class348_Sub49(null); - } - - Class204(byte[] is) { - aClass348_Sub49_2677 = new Class348_Sub49(null); - method1482(is); - } -} diff --git a/client/src/Class205.java b/client/src/Class205.java deleted file mode 100644 index 8606b9d2a..000000000 --- a/client/src/Class205.java +++ /dev/null @@ -1,132 +0,0 @@ -/* Class205 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class205 { - static int anInt2685; - static Class351 aClass351_2686; - static float aFloat2687 = 0.0F; - static int anInt2688; - static int anInt2689; - static int anInt2690; - static Class351 aClass351_2691; - static Class348_Sub44 aClass348_Sub44_2692; - static Class114 aClass114_2693; - static int[] anIntArray2694; - - static final void method1496(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_) { - Class117.method1070((byte) 118, i_2_); - anInt2685++; - int i_6_ = 0; - int i_7_ = -i_4_ + i_2_; - if (i_7_ < 0) i_7_ = 0; - int i_8_ = i_2_; - int i_9_ = -i_2_; - int i_10_ = i_7_; - int i_11_ = -i_7_; - int i_12_ = -1; - if (i_0_ >= Class132.anInt1910 && i_0_ <= Class38.anInt513) { - int[] is = Class17.anIntArrayArray255[i_0_]; - int i_13_ = Class85.method831(Class113.anInt1745, -i_2_ + i_5_, Class369.anInt4960, -104); - int i_14_ = Class85.method831(Class113.anInt1745, i_5_ - -i_2_, Class369.anInt4960, i_3_ + -94); - int i_15_ = Class85.method831(Class113.anInt1745, i_5_ - i_7_, Class369.anInt4960, -82); - int i_16_ = Class85.method831(Class113.anInt1745, i_5_ - -i_7_, Class369.anInt4960, -96); - Class135_Sub2.method1156(-27, i_15_, is, i_13_, i); - Class135_Sub2.method1156(-27, i_16_, is, i_15_, i_1_); - Class135_Sub2.method1156(-27, i_14_, is, i_16_, i); - } - int i_17_ = -1; - while (i_6_ < i_8_) { - i_12_ += 2; - i_17_ += 2; - i_11_ += i_17_; - i_9_ += i_12_; - if (i_11_ >= 0 && i_10_ >= 1) { - i_10_--; - Class348_Sub49_Sub2.anIntArray9757[i_10_] = i_6_; - i_11_ -= i_10_ << 1; - } - i_6_++; - if (i_9_ >= 0) { - i_8_--; - i_9_ -= i_8_ << 1; - int i_18_ = i_0_ - i_8_; - int i_19_ = i_0_ + i_8_; - if (Class132.anInt1910 <= i_19_ && Class38.anInt513 >= i_18_) { - if (i_8_ >= i_7_) { - int i_20_ = Class85.method831(Class113.anInt1745, i_6_ + i_5_, Class369.anInt4960, i_3_ ^ 0x36); - int i_21_ = Class85.method831(Class113.anInt1745, i_5_ - i_6_, Class369.anInt4960, 112); - if (i_19_ <= Class38.anInt513) Class135_Sub2.method1156(-27, i_20_, (Class17.anIntArrayArray255[i_19_]), i_21_, i); - if (Class132.anInt1910 <= i_18_) Class135_Sub2.method1156(-27, i_20_, (Class17.anIntArrayArray255[i_18_]), i_21_, i); - } else { - int i_22_ = Class348_Sub49_Sub2.anIntArray9757[i_8_]; - int i_23_ = Class85.method831(Class113.anInt1745, i_6_ + i_5_, Class369.anInt4960, -123); - int i_24_ = Class85.method831(Class113.anInt1745, -i_6_ + i_5_, Class369.anInt4960, 110); - int i_25_ = Class85.method831(Class113.anInt1745, i_22_ + i_5_, Class369.anInt4960, 85); - int i_26_ = Class85.method831(Class113.anInt1745, i_5_ - i_22_, Class369.anInt4960, 84); - if (Class38.anInt513 >= i_19_) { - int[] is = Class17.anIntArrayArray255[i_19_]; - Class135_Sub2.method1156(-27, i_26_, is, i_24_, i); - Class135_Sub2.method1156(-27, i_25_, is, i_26_, i_1_); - Class135_Sub2.method1156(-27, i_23_, is, i_25_, i); - } - if (Class132.anInt1910 <= i_18_) { - int[] is = Class17.anIntArrayArray255[i_18_]; - Class135_Sub2.method1156(-27, i_26_, is, i_24_, i); - Class135_Sub2.method1156(-27, i_25_, is, i_26_, i_1_); - Class135_Sub2.method1156(-27, i_23_, is, i_25_, i); - } - } - } - } - int i_27_ = -i_6_ + i_0_; - int i_28_ = i_0_ + i_6_; - if (Class132.anInt1910 <= i_28_ && i_27_ <= Class38.anInt513) { - int i_29_ = i_8_ + i_5_; - int i_30_ = i_5_ + -i_8_; - if (Class369.anInt4960 <= i_29_ && i_30_ <= Class113.anInt1745) { - i_29_ = Class85.method831(Class113.anInt1745, i_29_, Class369.anInt4960, 102); - i_30_ = Class85.method831(Class113.anInt1745, i_30_, Class369.anInt4960, -100); - if (i_6_ >= i_7_) { - if (Class38.anInt513 >= i_28_) Class135_Sub2.method1156(-27, i_29_, (Class17.anIntArrayArray255[i_28_]), i_30_, i); - if (i_27_ >= Class132.anInt1910) Class135_Sub2.method1156(-27, i_29_, (Class17.anIntArrayArray255[i_27_]), i_30_, i); - } else { - int i_31_ = (i_6_ > i_10_ ? Class348_Sub49_Sub2.anIntArray9757[i_6_] : i_10_); - int i_32_ = Class85.method831(Class113.anInt1745, i_31_ + i_5_, Class369.anInt4960, 71); - int i_33_ = Class85.method831(Class113.anInt1745, -i_31_ + i_5_, Class369.anInt4960, 65); - if (i_28_ <= Class38.anInt513) { - int[] is = Class17.anIntArrayArray255[i_28_]; - Class135_Sub2.method1156(-27, i_33_, is, i_30_, i); - Class135_Sub2.method1156(-27, i_32_, is, i_33_, i_1_); - Class135_Sub2.method1156(-27, i_29_, is, i_32_, i); - } - if (Class132.anInt1910 <= i_27_) { - int[] is = Class17.anIntArrayArray255[i_27_]; - Class135_Sub2.method1156(i_3_ + -29, i_33_, is, i_30_, i); - Class135_Sub2.method1156(-27, i_32_, is, i_33_, i_1_); - Class135_Sub2.method1156(-27, i_29_, is, i_32_, i); - } - } - } - } - } - if (i_3_ != 2) method1497(79); - } - - public static void method1497(int i) { - anIntArray2694 = null; - aClass348_Sub44_2692 = null; - aClass351_2691 = null; - aClass114_2693 = null; - if (i != 16384) method1496(-23, 118, -17, -52, 33, 108, 2); - aClass351_2686 = null; - } - - static { - aClass351_2686 = new Class351(41, -1); - aClass351_2691 = new Class351(46, 2); - aClass348_Sub44_2692 = new Class348_Sub44(0, -1); - anIntArray2694 = new int[4096]; - aClass114_2693 = new Class114(94, -1); - } -} diff --git a/client/src/Class206.java b/client/src/Class206.java deleted file mode 100644 index 271b065c6..000000000 --- a/client/src/Class206.java +++ /dev/null @@ -1,291 +0,0 @@ -/* Class206 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -final class Class206 implements Interface11 { - static int anInt4864; - static int anInt4865; - static int anInt4866; - static int anInt4867; - static int anInt4868; - static int anInt4869; - static int anInt4870; - static int anInt4871; - private int anInt4872; - private int anInt4873; - static Class209 aClass209_4874; - private final Interface9[] anInterface9Array4875 = new Interface9[9]; - static int anInt4876; - static int anInt4877; - static int anInt4878; - static int anInt4879; - static int anInt4880; - static int anInt4881; - private int anInt4882; - private final ha_Sub2 aHa_Sub2_4883; - private int anInt4884; - static int anInt4885; - private int anInt4886; - static int anInt4887; - static boolean aBoolean4888 = false; - static int anInt4889; - static int anInt4890; - private int anInt4891; - static int anInt4892; - static int anInt4893; - - public final void method45(byte i) { - anInt4865++; - OpenGL.glBindFramebufferEXT(36008, 0); - if (i == -47) { - anInt4872 &= ~0x1; - anInt4873 = method1504(-114); - } - } - - final void method1498(int i, int i_0_, int i_1_, Class258_Sub2 class258_sub2) { - method1502(0, (byte) -38, class258_sub2, i, i_1_); - if (i_0_ < -49) anInt4887++; - } - - public final void method46(int i) { - OpenGL.glBindFramebufferEXT(36160, anInt4891); - anInt4867++; - anInt4872 |= 0x4; - if (i != -11762) anInt4889 = 110; - anInt4873 = method1504(-115); - } - - public static void method1499(int i) { - if (i < -124) aClass209_4874 = null; - } - - final void method1500(int i, int i_2_) { - if (anInterface9Array4875[i_2_] != null) anInterface9Array4875[i_2_].method37(-3022); - if (i != 2983) anInt4891 = -116; - anInt4866++; - anInt4884 &= ~(1 << i_2_); - anInterface9Array4875[i_2_] = null; - } - - static final void method1501(int i) { - int i_3_ = 56 / ((i - -56) / 42); - for (int i_4_ = 0; i_4_ < Class147.anInt2021; i_4_++) { - Class10 class10 = Class258_Sub2.aClass10Array8531[i_4_]; - boolean bool = false; - if (class10.aClass348_Sub16_Sub5_176 == null) { - class10.anInt188--; - if (class10.anInt188 >= (!class10.method220((byte) -66) ? -10 : -1500)) { - if (class10.aByte180 == 1 && class10.aClass317_183 == null) { - class10.aClass317_183 = Class317.method2372(Class129.aClass45_1878, class10.anInt185, 0); - if (class10.aClass317_183 == null) continue; - class10.anInt188 += class10.aClass317_183.method2370(); - } else if (class10.method220((byte) -39) && ((class10.aClass348_Sub10_192 == null) || (class10.aClass348_Sub19_Sub1_189) == null)) { - if (class10.aClass348_Sub10_192 == null) class10.aClass348_Sub10_192 = Class348_Sub10.method2793((Class239_Sub4.aClass45_5878), (class10.anInt185)); - if (class10.aClass348_Sub10_192 == null) continue; - if (class10.aClass348_Sub19_Sub1_189 == null) { - class10.aClass348_Sub19_Sub1_189 = class10.aClass348_Sub10_192.method2791(new int[]{22050}); - if (class10.aClass348_Sub19_Sub1_189 == null) continue; - } - } - if (class10.anInt188 < 0) { - int i_5_ = 8192; - int i_6_; - if (class10.anInt178 == 0) i_6_ = ((class10.anInt184 * (class10.aByte180 == 3 ? Class316.aClass348_Sub51_3959.aClass239_Sub26_7215.method1838(-32350) : Class316.aClass348_Sub51_3959.aClass239_Sub26_7272.method1838(-32350))) >> 2); - else { - int i_7_ = 0x3 & (class10.anInt178 >> 24); - if ((Class132.aPlayer_1907.plane) == i_7_) { - int i_8_ = 0x1fe00 & (class10.anInt178 << 9); - int i_9_ = (Class132.aPlayer_1907.method2436((byte) 52) << 8); - int i_10_ = ((class10.anInt178 & 0xff7e29) >> 16); - int i_11_ = (-(Class132.aPlayer_1907.x) + 256 + (i_10_ << 9) + i_9_); - int i_12_ = ((class10.anInt178 & 0xffc1) >> 8); - int i_13_ = (256 + (i_12_ << 9) - ((Class132.aPlayer_1907.y) - i_9_)); - int i_14_ = (Math.abs(i_11_) + (Math.abs(i_13_) + -512)); - if (i_8_ < i_14_) { - class10.anInt188 = -99999; - continue; - } - if (i_14_ < 0) i_14_ = 0; - i_6_ = ((i_8_ + -i_14_) * (Class316.aClass348_Sub51_3959.aClass239_Sub26_7234.method1838(-32350) * class10.anInt184) / i_8_) >> 2; - if ((class10.aClass318_Sub1_172 != null) && (class10.aClass318_Sub1_172 instanceof Class318_Sub1_Sub3)) { - Class318_Sub1_Sub3 class318_sub1_sub3 = ((Class318_Sub1_Sub3) (class10.aClass318_Sub1_172)); - short i_15_ = (class318_sub1_sub3.aShort8743); - short i_16_ = (class318_sub1_sub3.aShort8750); - } - if (i_11_ != 0 || i_13_ != 0) { - int i_17_ = (0x3fff & (-4096 + -Class5.anInt4638 + -(int) (2607.5945876176133 * (Math.atan2(i_11_, i_13_))))); - if (i_17_ > 8192) i_17_ = 16384 + -i_17_; - int i_18_; - if (i_14_ <= 0) i_18_ = 8192; - else if (i_14_ >= 4096) i_18_ = 16384; - else i_18_ = 8192 + (-i_14_ + 8192) / 4096; - i_5_ = ((-i_18_ + 16384 >> 1) + i_18_ * i_17_ / 8192); - } - } else i_6_ = 0; - } - if (i_6_ > 0) { - Class348_Sub19_Sub1 class348_sub19_sub1 = null; - if (class10.aByte180 != 1) { - if (class10.method220((byte) -112)) class348_sub19_sub1 = (class10.aClass348_Sub19_Sub1_189); - } else class348_sub19_sub1 = class10.aClass317_183.method2369().method2944(Class57.aClass163_1050); - Class348_Sub16_Sub5 class348_sub16_sub5 = (class10.aClass348_Sub16_Sub5_176 = (Class348_Sub16_Sub5.method2911(class348_sub19_sub1, class10.anInt173, i_6_, i_5_))); - class348_sub16_sub5.method2917(-1 + class10.anInt177); - Class348_Sub43.aClass348_Sub16_Sub4_7065.method2883(class348_sub16_sub5); - } - } - } else bool = true; - } else if (!class10.aClass348_Sub16_Sub5_176.method2712((byte) 4)) bool = true; - if (bool) { - Class147.anInt2021--; - for (int i_19_ = i_4_; Class147.anInt2021 > i_19_; i_19_++) - Class258_Sub2.aClass10Array8531[i_19_] = Class258_Sub2.aClass10Array8531[i_19_ - -1]; - i_4_--; - } - } - anInt4890++; - if (Class74.aBoolean1236 && !Class167.method1296(true)) { - if (Class316.aClass348_Sub51_3959.aClass239_Sub26_7260.method1838(-32350) != 0 && Class267.anInt3428 != -1) { - if (Class209.aClass348_Sub16_Sub3_2718 != null) Class348_Sub40_Sub15.method3086(2, Class209.aClass348_Sub16_Sub3_2718, Class316.aClass348_Sub51_3959.aClass239_Sub26_7260.method1838(-32350), Class59_Sub2_Sub1.aClass45_8667, false, 0, Class267.anInt3428); - else Class348_Sub1_Sub3.method2732(0, Class267.anInt3428, false, 124, Class59_Sub2_Sub1.aClass45_8667, Class316.aClass348_Sub51_3959.aClass239_Sub26_7260.method1838(-32350)); - } - Class74.aBoolean1236 = false; - Class209.aClass348_Sub16_Sub3_2718 = null; - } else if (Class316.aClass348_Sub51_3959.aClass239_Sub26_7260.method1838(-32350) != 0 && Class267.anInt3428 != -1 && !Class167.method1296(true)) { - Class318.anInt3973++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(ha_Sub2.aClass351_7554, Class348_Sub23_Sub2.aClass77_9029, -107); - class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 118, Class267.anInt3428); - Class348_Sub42_Sub14.method3243(-54, class348_sub47); - Class267.anInt3428 = -1; - } - } - - private final void method1502(int i, byte i_20_, Class258_Sub2 class258_sub2, int i_21_, int i_22_) { - anInt4876++; - if (anInt4873 == -1) throw new RuntimeException(); - int i_23_ = 1 << i_21_; - if (i_20_ > -16) aBoolean4888 = false; - if ((anInt4884 & (~i_23_)) == 0) { - anInt4882 = class258_sub2.anInt8538; - anInt4886 = class258_sub2.anInt8538; - } else if (class258_sub2.anInt8538 != anInt4882 || anInt4886 != class258_sub2.anInt8538) throw new RuntimeException(); - class258_sub2.method1961(anInt4873, i_22_, Class59_Sub2.anIntArray5306[i_21_], i, -1); - anInterface9Array4875[i_21_] = class258_sub2; - anInt4884 |= i_23_; - } - - final void method1503(int i, byte i_24_) { - anInt4885++; - if (i_24_ != 3) aClass209_4874 = null; - if (anInt4873 == -1) throw new RuntimeException(); - OpenGL.glDrawBuffer(Class59_Sub2.anIntArray5306[i]); - } - - public final void method48(int i) { - anInt4871++; - OpenGL.glBindFramebufferEXT(36160, 0); - int i_25_ = 46 % ((84 - i) / 32); - anInt4872 &= ~0x4; - anInt4873 = method1504(-124); - } - - private final int method1504(int i) { - anInt4869++; - if ((0x4 & anInt4872) != 0) return 36160; - if (i >= -112) method1502(84, (byte) -103, null, 17, 11); - if ((0x2 & anInt4872) != 0) return 36009; - if ((0x1 & anInt4872) != 0) return 36008; - return -1; - } - - public final void method50(int i) { - if (i != -32502) method1498(-50, 9, 123, null); - OpenGL.glBindFramebufferEXT(36009, 0); - anInt4878++; - anInt4872 &= ~0x2; - anInt4873 = method1504(i + 32374); - } - - final void method1505(int i, int i_26_) { - anInt4880++; - if ((~anInt4873) == i) throw new RuntimeException(); - OpenGL.glReadBuffer(Class59_Sub2.anIntArray5306[i_26_]); - } - - private final void method1506(int i, Class258_Sub3 class258_sub3, int i_27_, int i_28_) { - anInt4892++; - if (anInt4873 == -1) throw new RuntimeException(); - int i_29_ = 1 << i_27_; - if (i_28_ == (~((~i_29_) & anInt4884))) { - anInt4882 = class258_sub3.anInt8547; - anInt4886 = class258_sub3.anInt8551; - } else if ((anInt4882 != class258_sub3.anInt8547) || class258_sub3.anInt8551 != anInt4886) throw new RuntimeException(); - class258_sub3.method1963(anInt4873, i, 0, Class59_Sub2.anIntArray5306[i_27_]); - anInterface9Array4875[i_27_] = class258_sub3; - anInt4884 |= i_29_; - } - - public final void method47(int i) { - OpenGL.glBindFramebufferEXT(36009, anInt4891); - if (i != -11421) method1508(119, null, 117); - anInt4877++; - anInt4872 |= 0x2; - anInt4873 = method1504(i ^ 0x2cec); - } - - final boolean method1507(int i) { - anInt4868++; - int i_30_ = OpenGL.glCheckFramebufferStatusEXT(anInt4873); - int i_31_ = -56 / ((71 - i) / 45); - return i_30_ == 36053; - } - - final void method1508(int i, Class348_Sub42_Sub2 class348_sub42_sub2, int i_32_) { - anInt4881++; - if (anInt4873 == -1) throw new RuntimeException(); - int i_33_ = 1 << i; - if ((anInt4884 & (~i_33_)) == 0) { - anInt4886 = class348_sub42_sub2.anInt8565; - anInt4882 = class348_sub42_sub2.anInt8572; - } else if ((class348_sub42_sub2.anInt8572 != anInt4882) || (anInt4886 != class348_sub42_sub2.anInt8565)) throw new RuntimeException(); - int i_34_ = -68 / ((i_32_ - 64) / 49); - class348_sub42_sub2.method3173(36161, Class59_Sub2.anIntArray5306[i], anInt4873); - anInterface9Array4875[i] = class348_sub42_sub2; - anInt4884 |= i_33_; - } - - final void method1509(Class258_Sub3 class258_sub3, int i, int i_35_) { - method1506(i, class258_sub3, i_35_, -1); - anInt4879++; - } - - public final void method49(int i) { - anInt4893++; - OpenGL.glBindFramebufferEXT(36008, anInt4891); - anInt4872 |= 0x1; - anInt4873 = method1504(i ^ 0x6a7c); - if (i != -27141) aBoolean4888 = false; - } - - protected final void finalize() throws Throwable { - anInt4864++; - aHa_Sub2_4883.method3800(96, anInt4891); - super.finalize(); - } - - Class206(ha_Sub2 var_ha_Sub2) { - anInt4872 = 0; - anInt4873 = -1; - if (!var_ha_Sub2.aBoolean7820) throw new IllegalStateException(""); - aHa_Sub2_4883 = var_ha_Sub2; - OpenGL.glGenFramebuffersEXT(1, Class106.anIntArray1635, 0); - anInt4891 = Class106.anIntArray1635[0]; - } - - static { - aClass209_4874 = new Class209(); - anInt4889 = 0; - } -} diff --git a/client/src/Class207.java b/client/src/Class207.java deleted file mode 100644 index 885234d32..000000000 --- a/client/src/Class207.java +++ /dev/null @@ -1,431 +0,0 @@ -/* Class207 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class207 { - byte[] aByteArray2695; - int anInt2696; - int[] anIntArray2697; - int anInt2698; - byte[] aByteArray2699; - int anInt2700; - int anInt2701; - int anInt2702; - int anInt2703; - - final int method1510() { - return (this.anInt2702 + this.anInt2703 + this.anInt2698); - } - - final void method1511(int i) { - int i_0_ = -1; - if (this.anIntArray2697.length < 255) { - for (int i_1_ = 0; i_1_ < this.anIntArray2697.length; i_1_++) { - if (this.anIntArray2697[i_1_] == i) { - i_0_ = i_1_; - break; - } - } - if (i_0_ == -1) { - i_0_ = this.anIntArray2697.length; - int[] is = new int[this.anIntArray2697.length + 1]; - Class214.method1578(this.anIntArray2697, 0, is, 0, this.anIntArray2697.length); - this.anIntArray2697 = is; - is[i_0_] = i; - } - } else { - int i_2_ = 2147483647; - int i_3_ = i >> 16 & 0xff; - int i_4_ = i >> 8 & 0xff; - int i_5_ = i & 0xff; - for (int i_6_ = 0; i_6_ < this.anIntArray2697.length; i_6_++) { - int i_7_ = this.anIntArray2697[i_6_]; - int i_8_ = i_7_ >> 16 & 0xff; - int i_9_ = i_7_ >> 8 & 0xff; - int i_10_ = i_7_ & 0xff; - int i_11_ = i_3_ - i_8_; - if (i_11_ < 0) i_11_ = -i_11_; - int i_12_ = i_4_ - i_9_; - if (i_12_ < 0) i_12_ = -i_12_; - int i_13_ = i_5_ - i_10_; - if (i_13_ < 0) i_13_ = -i_13_; - int i_14_ = i_11_ + i_12_ + i_13_; - if (i_14_ < i_2_) { - i_2_ = i_14_; - i_0_ = i_6_; - } - } - } - for (int i_15_ = this.anInt2696 - 1; i_15_ > 0; i_15_--) { - int i_16_ = i_15_ * this.anInt2702; - for (int i_17_ = this.anInt2702 - 1; i_17_ > 0; i_17_--) { - if (((this.anIntArray2697[this.aByteArray2699[i_17_ + i_16_] & 0xff]) == 0) && (this.anIntArray2697[((this.aByteArray2699[i_17_ + i_16_ - 1 - this.anInt2702]) & 0xff)]) != 0) this.aByteArray2699[i_17_ + i_16_] = (byte) i_0_; - } - } - } - - static final Class207 method1512(Class45 class45, int i) { - byte[] is = class45.method415((byte) 73, i); - if (is == null) return null; - return method1517(is)[0]; - } - - final void method1513(int i) { - int i_18_ = method1510(); - int i_19_ = method1522(); - if (this.anInt2702 != i_18_ || this.anInt2696 != i_19_) { - int i_20_ = i; - if (i_20_ > this.anInt2703) i_20_ = this.anInt2703; - int i_21_ = i; - if ((i_21_ + this.anInt2703 + this.anInt2702) > i_18_) i_21_ = (i_18_ - this.anInt2703 - this.anInt2702); - int i_22_ = i; - if (i_22_ > this.anInt2700) i_22_ = this.anInt2700; - int i_23_ = i; - if ((i_23_ + this.anInt2700 + this.anInt2696) > i_19_) i_23_ = (i_19_ - this.anInt2700 - this.anInt2696); - int i_24_ = this.anInt2702 + i_20_ + i_21_; - int i_25_ = this.anInt2696 + i_22_ + i_23_; - byte[] is = new byte[i_24_ * i_25_]; - if (this.aByteArray2695 == null) { - for (int i_26_ = 0; i_26_ < this.anInt2696; i_26_++) { - int i_27_ = i_26_ * this.anInt2702; - int i_28_ = (i_26_ + i_22_) * i_24_ + i_20_; - for (int i_29_ = 0; i_29_ < this.anInt2702; i_29_++) - is[i_28_++] = this.aByteArray2699[i_27_++]; - } - } else { - byte[] is_30_ = new byte[i_24_ * i_25_]; - for (int i_31_ = 0; i_31_ < this.anInt2696; i_31_++) { - int i_32_ = i_31_ * this.anInt2702; - int i_33_ = (i_31_ + i_22_) * i_24_ + i_20_; - for (int i_34_ = 0; i_34_ < this.anInt2702; i_34_++) { - is_30_[i_33_] = this.aByteArray2695[i_32_]; - is[i_33_++] = this.aByteArray2699[i_32_++]; - } - } - this.aByteArray2695 = is_30_; - } - this.anInt2703 -= i_20_; - this.anInt2700 -= i_22_; - this.anInt2698 -= i_21_; - this.anInt2701 -= i_23_; - this.anInt2702 = i_24_; - this.anInt2696 = i_25_; - this.aByteArray2699 = is; - } - } - - final void method1514() { - byte[] is = this.aByteArray2699; - if (this.aByteArray2695 == null) { - for (int i = (this.anInt2696 >> 1) - 1; i >= 0; i--) { - int i_35_ = i * this.anInt2702; - int i_36_ = ((this.anInt2696 - i - 1) * this.anInt2702); - for (int i_37_ = -this.anInt2702; i_37_ < 0; i_37_++) { - byte i_38_ = is[i_35_]; - is[i_35_] = is[i_36_]; - is[i_36_] = i_38_; - i_35_++; - i_36_++; - } - } - } else { - byte[] is_39_ = this.aByteArray2695; - for (int i = (this.anInt2696 >> 1) - 1; i >= 0; i--) { - int i_40_ = i * this.anInt2702; - int i_41_ = ((this.anInt2696 - i - 1) * this.anInt2702); - for (int i_42_ = -this.anInt2702; i_42_ < 0; i_42_++) { - byte i_43_ = is[i_40_]; - is[i_40_] = is[i_41_]; - is[i_41_] = i_43_; - i_43_ = is_39_[i_40_]; - is_39_[i_40_] = is_39_[i_41_]; - is_39_[i_41_] = i_43_; - i_40_++; - i_41_++; - } - } - } - int i = this.anInt2700; - this.anInt2700 = this.anInt2701; - this.anInt2701 = i; - } - - final void method1515(int i) { - int i_44_ = -1; - if (this.anIntArray2697.length < 255) { - for (int i_45_ = 0; i_45_ < this.anIntArray2697.length; i_45_++) { - if (this.anIntArray2697[i_45_] == i) { - i_44_ = i_45_; - break; - } - } - if (i_44_ == -1) { - i_44_ = this.anIntArray2697.length; - int[] is = new int[this.anIntArray2697.length + 1]; - Class214.method1578(this.anIntArray2697, 0, is, 0, this.anIntArray2697.length); - this.anIntArray2697 = is; - is[i_44_] = i; - } - } else { - int i_46_ = 2147483647; - int i_47_ = i >> 16 & 0xff; - int i_48_ = i >> 8 & 0xff; - int i_49_ = i & 0xff; - for (int i_50_ = 0; i_50_ < this.anIntArray2697.length; i_50_++) { - int i_51_ = this.anIntArray2697[i_50_]; - int i_52_ = i_51_ >> 16 & 0xff; - int i_53_ = i_51_ >> 8 & 0xff; - int i_54_ = i_51_ & 0xff; - int i_55_ = i_47_ - i_52_; - if (i_55_ < 0) i_55_ = -i_55_; - int i_56_ = i_48_ - i_53_; - if (i_56_ < 0) i_56_ = -i_56_; - int i_57_ = i_49_ - i_54_; - if (i_57_ < 0) i_57_ = -i_57_; - int i_58_ = i_55_ + i_56_ + i_57_; - if (i_58_ < i_46_) { - i_46_ = i_58_; - i_44_ = i_50_; - } - } - } - int i_59_ = 0; - byte[] is = (new byte - [this.anInt2702 * this.anInt2696]); - for (int i_60_ = 0; i_60_ < this.anInt2696; i_60_++) { - for (int i_61_ = 0; i_61_ < this.anInt2702; i_61_++) { - int i_62_ = this.aByteArray2699[i_59_] & 0xff; - if (this.anIntArray2697[i_62_] == 0) { - if (i_61_ > 0 && (this.anIntArray2697[(this.aByteArray2699[i_59_ - 1] & 0xff)]) != 0) i_62_ = i_44_; - else if (i_60_ > 0 && (this.anIntArray2697[((this.aByteArray2699[i_59_ - this.anInt2702]) & 0xff)]) != 0) i_62_ = i_44_; - else if (i_61_ < this.anInt2702 - 1 && (this.anIntArray2697[(this.aByteArray2699[i_59_ + 1] & 0xff)]) != 0) i_62_ = i_44_; - else if (i_60_ < this.anInt2696 - 1 && (this.anIntArray2697[((this.aByteArray2699[i_59_ + this.anInt2702]) & 0xff)]) != 0) i_62_ = i_44_; - } - is[i_59_++] = (byte) i_62_; - } - } - this.aByteArray2699 = is; - } - - final int[] method1516() { - int i = method1510(); - int[] is = new int[i * method1522()]; - if (this.aByteArray2695 == null) { - for (int i_67_ = 0; i_67_ < this.anInt2696; i_67_++) { - int i_68_ = i_67_ * this.anInt2702; - int i_69_ = (this.anInt2703 + (i_67_ + this.anInt2700) * i); - for (int i_70_ = 0; i_70_ < this.anInt2702; i_70_++) { - int i_71_ = (this.anIntArray2697[this.aByteArray2699[i_68_++] & 0xff]); - if (i_71_ != 0) is[i_69_++] = ~0xffffff | i_71_; - else is[i_69_++] = 0; - } - } - } else { - for (int i_63_ = 0; i_63_ < this.anInt2696; i_63_++) { - int i_64_ = i_63_ * this.anInt2702; - int i_65_ = (this.anInt2703 + (i_63_ + this.anInt2700) * i); - for (int i_66_ = 0; i_66_ < this.anInt2702; i_66_++) { - is[i_65_++] = (this.aByteArray2695[i_64_] << 24 | (this.anIntArray2697[(this.aByteArray2699[i_64_] & 0xff)])); - i_64_++; - } - } - } - return is; - } - - private static final Class207[] method1517(byte[] is) { - Class348_Sub49 class348_sub49 = new Class348_Sub49(is); - class348_sub49.anInt7197 = is.length - 2; - int i = class348_sub49.readUnsignedShort(842397944); - Class207[] class207s = new Class207[i]; - for (int i_72_ = 0; i_72_ < i; i_72_++) - class207s[i_72_] = new Class207(); - class348_sub49.anInt7197 = is.length - 7 - i * 8; - int i_73_ = class348_sub49.readUnsignedShort(842397944); - int i_74_ = class348_sub49.readUnsignedShort(842397944); - int i_75_ = (class348_sub49.readUnsignedByte(255) & 0xff) + 1; - for (int i_76_ = 0; i_76_ < i; i_76_++) - class207s[i_76_].anInt2703 = class348_sub49.readUnsignedShort(842397944); - for (int i_77_ = 0; i_77_ < i; i_77_++) - class207s[i_77_].anInt2700 = class348_sub49.readUnsignedShort(842397944); - for (int i_78_ = 0; i_78_ < i; i_78_++) - class207s[i_78_].anInt2702 = class348_sub49.readUnsignedShort(842397944); - for (int i_79_ = 0; i_79_ < i; i_79_++) - class207s[i_79_].anInt2696 = class348_sub49.readUnsignedShort(842397944); - for (int i_80_ = 0; i_80_ < i; i_80_++) { - Class207 class207 = class207s[i_80_]; - class207.anInt2698 = (i_73_ - class207.anInt2702 - class207.anInt2703); - class207.anInt2701 = (i_74_ - class207.anInt2696 - class207.anInt2700); - } - class348_sub49.anInt7197 = is.length - 7 - i * 8 - (i_75_ - 1) * 3; - int[] is_81_ = new int[i_75_]; - for (int i_82_ = 1; i_82_ < i_75_; i_82_++) { - is_81_[i_82_] = class348_sub49.readMedium(-1); - if (is_81_[i_82_] == 0) is_81_[i_82_] = 1; - } - for (int i_83_ = 0; i_83_ < i; i_83_++) - class207s[i_83_].anIntArray2697 = is_81_; - class348_sub49.anInt7197 = 0; - for (int i_84_ = 0; i_84_ < i; i_84_++) { - Class207 class207 = class207s[i_84_]; - int i_85_ = (class207.anInt2702 * class207.anInt2696); - class207.aByteArray2699 = new byte[i_85_]; - int i_86_ = class348_sub49.readUnsignedByte(255); - if ((i_86_ & 0x2) == 0) { - if ((i_86_ & 0x1) == 0) { - for (int i_87_ = 0; i_87_ < i_85_; i_87_++) - class207.aByteArray2699[i_87_] = class348_sub49.readByte(-126); - } else { - for (int i_88_ = 0; i_88_ < class207.anInt2702; i_88_++) { - for (int i_89_ = 0; i_89_ < class207.anInt2696; i_89_++) - class207.aByteArray2699[(i_88_ + i_89_ * class207.anInt2702)] = class348_sub49.readByte(-96); - } - } - } else { - boolean bool = false; - class207.aByteArray2695 = new byte[i_85_]; - if ((i_86_ & 0x1) == 0) { - for (int i_90_ = 0; i_90_ < i_85_; i_90_++) - class207.aByteArray2699[i_90_] = class348_sub49.readByte(-118); - for (int i_91_ = 0; i_91_ < i_85_; i_91_++) { - byte i_92_ = (class207.aByteArray2695[i_91_] = class348_sub49.readByte(-89)); - bool = bool | i_92_ != -1; - } - } else { - for (int i_93_ = 0; i_93_ < class207.anInt2702; i_93_++) { - for (int i_94_ = 0; i_94_ < class207.anInt2696; i_94_++) - class207.aByteArray2699[(i_93_ + i_94_ * class207.anInt2702)] = class348_sub49.readByte(-84); - } - for (int i_95_ = 0; i_95_ < class207.anInt2702; i_95_++) { - for (int i_96_ = 0; i_96_ < class207.anInt2696; i_96_++) { - byte i_97_ = (class207.aByteArray2695[i_95_ + i_96_ * (class207.anInt2702)] = class348_sub49.readByte(-122)); - bool = bool | i_97_ != -1; - } - } - } - if (!bool) class207.aByteArray2695 = null; - } - } - return class207s; - } - - final void method1518() { - byte[] is = this.aByteArray2699; - if (this.aByteArray2695 == null) { - for (int i = this.anInt2696 - 1; i >= 0; i--) { - int i_98_ = i * this.anInt2702; - for (int i_99_ = (i + 1) * this.anInt2702; i_98_ < i_99_; i_98_++) { - i_99_--; - byte i_100_ = is[i_98_]; - is[i_98_] = is[i_99_]; - is[i_99_] = i_100_; - } - } - } else { - byte[] is_101_ = this.aByteArray2695; - for (int i = this.anInt2696 - 1; i >= 0; i--) { - int i_102_ = i * this.anInt2702; - for (int i_103_ = (i + 1) * this.anInt2702; i_102_ < i_103_; i_102_++) { - i_103_--; - byte i_104_ = is[i_102_]; - is[i_102_] = is[i_103_]; - is[i_103_] = i_104_; - i_104_ = is_101_[i_102_]; - is_101_[i_102_] = is_101_[i_103_]; - is_101_[i_103_] = i_104_; - } - } - } - int i = this.anInt2703; - this.anInt2703 = this.anInt2698; - this.anInt2698 = i; - } - - static final Class207[] method1519(Class45 class45, int i, int i_105_) { - byte[] is = class45.method410(-1860, i, i_105_); - if (is == null) return null; - return method1517(is); - } - - final void method1520() { - byte[] is = (new byte - [this.anInt2702 * this.anInt2696]); - int i = 0; - if (this.aByteArray2695 == null) { - for (int i_106_ = 0; i_106_ < this.anInt2702; i_106_++) { - for (int i_107_ = this.anInt2696 - 1; i_107_ >= 0; i_107_--) - is[i++] = (this.aByteArray2699[i_106_ + i_107_ * this.anInt2702]); - } - this.aByteArray2699 = is; - } else { - byte[] is_108_ = new byte[(this.anInt2702 * this.anInt2696)]; - for (int i_109_ = 0; i_109_ < this.anInt2702; i_109_++) { - for (int i_110_ = this.anInt2696 - 1; i_110_ >= 0; i_110_--) { - is[i] = (this.aByteArray2699[i_109_ + i_110_ * this.anInt2702]); - is_108_[i++] = (this.aByteArray2695[i_109_ + i_110_ * this.anInt2702]); - } - } - this.aByteArray2699 = is; - this.aByteArray2695 = is_108_; - } - int i_111_ = this.anInt2700; - this.anInt2700 = this.anInt2703; - this.anInt2703 = this.anInt2701; - this.anInt2701 = this.anInt2698; - this.anInt2698 = this.anInt2700; - i_111_ = this.anInt2696; - this.anInt2696 = this.anInt2702; - this.anInt2702 = i_111_; - } - - public Class207() { - /* empty */ - } - - static final Class207 method1521(Class45 class45, int i, int i_112_) { - byte[] is = class45.method410(-1860, i, i_112_); - if (is == null) return null; - return method1517(is)[0]; - } - - final int method1522() { - return (this.anInt2696 + this.anInt2700 + this.anInt2701); - } - - static final Class207[] method1523(Class45 class45, int i) { - byte[] is = class45.method415((byte) 73, i); - if (is == null) return null; - return method1517(is); - } - - final void method1524() { - int i = method1510(); - int i_113_ = method1522(); - if (this.anInt2702 != i || this.anInt2696 != i_113_) { - byte[] is = new byte[i * i_113_]; - if (this.aByteArray2695 == null) { - for (int i_119_ = 0; i_119_ < this.anInt2696; i_119_++) { - int i_120_ = i_119_ * this.anInt2702; - int i_121_ = ((i_119_ + this.anInt2700) * i + this.anInt2703); - for (int i_122_ = 0; i_122_ < this.anInt2702; i_122_++) - is[i_121_++] = this.aByteArray2699[i_120_++]; - } - } else { - byte[] is_114_ = new byte[i * i_113_]; - for (int i_115_ = 0; i_115_ < this.anInt2696; i_115_++) { - int i_116_ = i_115_ * this.anInt2702; - int i_117_ = ((i_115_ + this.anInt2700) * i + this.anInt2703); - for (int i_118_ = 0; i_118_ < this.anInt2702; i_118_++) { - is[i_117_] = this.aByteArray2699[i_116_]; - is_114_[i_117_++] = this.aByteArray2695[i_116_++]; - } - } - this.aByteArray2695 = is_114_; - } - this.anInt2703 = this.anInt2698 = this.anInt2700 = this.anInt2701 = 0; - this.anInt2702 = i; - this.anInt2696 = i_113_; - this.aByteArray2699 = is; - } - } -} diff --git a/client/src/Class208.java b/client/src/Class208.java deleted file mode 100644 index aac5649ff..000000000 --- a/client/src/Class208.java +++ /dev/null @@ -1,111 +0,0 @@ -/* Class208 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.IOException; -import java.io.OutputStream; - -final class Class208 implements Runnable { - private IOException anIOException2704; - private int anInt2705 = 0; - private final byte[] aByteArray2706; - static Class262 aClass262_2707 = new Class262(); - private final Thread aThread2708; - static int anInt2709; - static int anInt2710; - static int anInt2711; - private OutputStream anOutputStream2712; - private int anInt2713 = 0; - static int anInt2714; - private final int anInt2715; - - public static void method1525(byte i) { - if (i != 4) aClass262_2707 = null; - aClass262_2707 = null; - } - - public final void run() { - anInt2710++; - for (; ; ) { - int i; - synchronized (this) { - for (; ; ) { - if (anIOException2704 != null) return; - if (anInt2705 > anInt2713) i = -anInt2705 + anInt2715 - -anInt2713; - else i = anInt2713 - anInt2705; - if (i > 0) break; - try { - this.wait(); - } catch (InterruptedException interruptedexception) { - /* empty */ - } - } - } - try { - if (anInt2715 >= anInt2705 - -i) anOutputStream2712.write(aByteArray2706, anInt2705, i); - else { - int i_0_ = -anInt2705 + anInt2715; - anOutputStream2712.write(aByteArray2706, anInt2705, i_0_); - anOutputStream2712.write(aByteArray2706, 0, -i_0_ + i); - } - } catch (IOException ioexception) { - synchronized (this) { - anIOException2704 = ioexception; - break; - } - } - synchronized (this) { - anInt2705 = (anInt2705 + i) % anInt2715; - } - } - } - - final void method1526(byte i) { - synchronized (this) { - if (anIOException2704 == null) anIOException2704 = new IOException(""); - this.notifyAll(); - } - anInt2714++; - if (i != -99) anIOException2704 = null; - try { - aThread2708.join(); - } catch (InterruptedException interruptedexception) { - /* empty */ - } - } - - final void method1527(int i) { - if (i != -21179) method1525((byte) 113); - anInt2711++; - anOutputStream2712 = new OutputStream_Sub1(); - } - - final void method1528(byte i, int i_1_, int i_2_, byte[] is) throws IOException { - anInt2709++; - if (i_1_ < 0 || i_2_ < 0 || i_1_ + i_2_ > is.length) throw new IOException(); - synchronized (this) { - if (anIOException2704 != null) throw new IOException(anIOException2704.toString()); - int i_3_; - if (anInt2705 <= anInt2713) i_3_ = anInt2705 + anInt2715 - (anInt2713 - -1); - else i_3_ = -1 + (-anInt2713 + anInt2705); - if (i_3_ < i_1_) throw new IOException(""); - if (i < 4) method1527(65); - if (i_1_ + anInt2713 > anInt2715) { - int i_4_ = anInt2715 - anInt2713; - Class214.method1577(is, i_2_, aByteArray2706, anInt2713, i_4_); - Class214.method1577(is, i_2_ - -i_4_, aByteArray2706, 0, -i_4_ + i_1_); - } else Class214.method1577(is, i_2_, aByteArray2706, anInt2713, i_1_); - anInt2713 = (i_1_ + anInt2713) % anInt2715; - this.notifyAll(); - } - } - - Class208(OutputStream outputstream, int i) { - anOutputStream2712 = outputstream; - anInt2715 = 1 + i; - aByteArray2706 = new byte[anInt2715]; - aThread2708 = new Thread(this); - aThread2708.setDaemon(true); - aThread2708.start(); - } -} diff --git a/client/src/Class209.java b/client/src/Class209.java deleted file mode 100644 index d937b8783..000000000 --- a/client/src/Class209.java +++ /dev/null @@ -1,24 +0,0 @@ -/* Class209 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class209 { - static int anInt2716; - static Class114 aClass114_2717 = new Class114(118, -2); - static Class348_Sub16_Sub3 aClass348_Sub16_Sub3_2718; - - public static void method1529(boolean bool) { - aClass114_2717 = null; - if (bool != true) aClass114_2717 = null; - aClass348_Sub16_Sub3_2718 = null; - } - - public final String toString() { - anInt2716++; - throw new IllegalStateException(); - } - - public Class209() { - /* empty */ - } -} diff --git a/client/src/Class21.java b/client/src/Class21.java deleted file mode 100644 index 88bf71418..000000000 --- a/client/src/Class21.java +++ /dev/null @@ -1,56 +0,0 @@ -/* Class21 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class21 { - static int anInt321; - static Class45 aClass45_322; - static Class46 aClass46_323 = null; - static int anInt324; - static int anInt325 = -50; - static ha aHa326; - static int anInt327; - - public final String toString() { - anInt327++; - throw new IllegalStateException(); - } - - public static void method288(byte i) { - aClass45_322 = null; - if (i > 93) { - aHa326 = null; - aClass46_323 = null; - } - } - - static final void method289(int i, int i_0_, int i_1_, int i_2_) { - anInt324++; - if (Class369_Sub1.anInt8583 != i_2_ || Class295.anInt3760 != i_0_ || i_1_ != Class27.anInt396) { - Class369_Sub1.anInt8583 = i_2_; - Class348_Sub16_Sub2.aBoolean8870 = true; - Class27.anInt396 = i_1_; - Class295.anInt3760 = i_0_; - double d = -((double) (i_2_ * 2) * 3.141592653589793) / 16384.0; - double d_3_ = -(3.141592653589793 * (double) (2 * i_0_)) / 16384.0; - double d_4_ = Math.cos(d_3_); - double d_5_ = Math.sin(d_3_); - double d_6_ = Math.cos(d); - double d_7_ = Math.sin(d); - Class247.aDouble3182 = d_4_; - Class348_Sub15.aDouble6774 = d_7_; - Class295.aDouble3761 = d_6_; - Class348_Sub16_Sub2.aDouble8869 = d_4_ * d_6_; - if (i != -15902) method288((byte) -120); - Class348_Sub42_Sub5.aDouble9531 = d_7_ * -d_4_; - Class357.aDouble4404 = d_5_; - Class319.aDouble3980 = 0.0; - Class59.aDouble1083 = d_6_ * -d_5_; - Class348_Sub23_Sub2.aDouble9023 = d_5_ * d_7_; - } - } - - public Class21() { - /* empty */ - } -} diff --git a/client/src/Class210.java b/client/src/Class210.java deleted file mode 100644 index 8d18b77a8..000000000 --- a/client/src/Class210.java +++ /dev/null @@ -1,224 +0,0 @@ -/* Class210 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class210 { - private static float[] aFloatArray2719 = {1.0649863E-7F, 1.1341951E-7F, 1.2079015E-7F, 1.2863978E-7F, 1.369995E-7F, 1.459025E-7F, 1.5538409E-7F, 1.6548181E-7F, 1.7623574E-7F, 1.8768856E-7F, 1.998856E-7F, 2.128753E-7F, 2.2670913E-7F, 2.4144197E-7F, 2.5713223E-7F, 2.7384212E-7F, 2.9163792E-7F, 3.1059022E-7F, 3.307741E-7F, 3.5226967E-7F, 3.7516213E-7F, 3.995423E-7F, 4.255068E-7F, 4.5315863E-7F, 4.8260745E-7F, 5.1397E-7F, 5.4737063E-7F, 5.829419E-7F, 6.208247E-7F, 6.611694E-7F, 7.041359E-7F, 7.4989464E-7F, 7.98627E-7F, 8.505263E-7F, 9.057983E-7F, 9.646621E-7F, 1.0273513E-6F, 1.0941144E-6F, 1.1652161E-6F, 1.2409384E-6F, 1.3215816E-6F, 1.4074654E-6F, 1.4989305E-6F, 1.5963394E-6F, 1.7000785E-6F, 1.8105592E-6F, 1.9282195E-6F, 2.053526E-6F, 2.1869757E-6F, 2.3290977E-6F, 2.4804558E-6F, 2.6416496E-6F, 2.813319E-6F, 2.9961443E-6F, 3.1908505E-6F, 3.39821E-6F, 3.619045E-6F, 3.8542307E-6F, 4.1047006E-6F, 4.371447E-6F, 4.6555283E-6F, 4.958071E-6F, 5.280274E-6F, 5.623416E-6F, 5.988857E-6F, 6.3780467E-6F, 6.7925284E-6F, 7.2339453E-6F, 7.704048E-6F, 8.2047E-6F, 8.737888E-6F, 9.305725E-6F, 9.910464E-6F, 1.0554501E-5F, 1.1240392E-5F, 1.1970856E-5F, 1.2748789E-5F, 1.3577278E-5F, 1.4459606E-5F, 1.5399271E-5F, 1.6400005E-5F, 1.7465769E-5F, 1.8600793E-5F, 1.9809577E-5F, 2.1096914E-5F, 2.2467912E-5F, 2.3928002E-5F, 2.5482977E-5F, 2.7139005E-5F, 2.890265E-5F, 3.078091E-5F, 3.2781227E-5F, 3.4911533E-5F, 3.718028E-5F, 3.9596467E-5F, 4.2169668E-5F, 4.491009E-5F, 4.7828602E-5F, 5.0936775E-5F, 5.424693E-5F, 5.7772202E-5F, 6.152657E-5F, 6.552491E-5F, 6.9783084E-5F, 7.4317984E-5F, 7.914758E-5F, 8.429104E-5F, 8.976875E-5F, 9.560242E-5F, 1.0181521E-4F, 1.0843174E-4F, 1.1547824E-4F, 1.2298267E-4F, 1.3097477E-4F, 1.3948625E-4F, 1.4855085E-4F, 1.5820454E-4F, 1.6848555E-4F, 1.7943469E-4F, 1.9109536E-4F, 2.0351382E-4F, 2.167393E-4F, 2.3082423E-4F, 2.4582449E-4F, 2.6179955E-4F, 2.7881275E-4F, 2.9693157E-4F, 3.1622787E-4F, 3.3677815E-4F, 3.5866388E-4F, 3.8197188E-4F, 4.0679457E-4F, 4.3323037E-4F, 4.613841E-4F, 4.913675E-4F, 5.2329927E-4F, 5.573062E-4F, 5.935231E-4F, 6.320936E-4F, 6.731706E-4F, 7.16917E-4F, 7.635063E-4F, 8.1312325E-4F, 8.6596457E-4F, 9.2223985E-4F, 9.821722E-4F, 0.0010459992F, 0.0011139743F, 0.0011863665F, 0.0012634633F, 0.0013455702F, 0.0014330129F, 0.0015261382F, 0.0016253153F, 0.0017309374F, 0.0018434235F, 0.0019632196F, 0.0020908006F, 0.0022266726F, 0.0023713743F, 0.0025254795F, 0.0026895993F, 0.0028643848F, 0.0030505287F, 0.003248769F, 0.0034598925F, 0.0036847359F, 0.0039241905F, 0.0041792067F, 0.004450795F, 0.004740033F, 0.005048067F, 0.0053761187F, 0.005725489F, 0.0060975635F, 0.0064938175F, 0.0069158226F, 0.0073652514F, 0.007843887F, 0.008353627F, 0.008896492F, 0.009474637F, 0.010090352F, 0.01074608F, 0.011444421F, 0.012188144F, 0.012980198F, 0.013823725F, 0.014722068F, 0.015678791F, 0.016697686F, 0.017782796F, 0.018938422F, 0.020169148F, 0.021479854F, 0.022875736F, 0.02436233F, 0.025945531F, 0.027631618F, 0.029427277F, 0.031339627F, 0.03337625F, 0.035545226F, 0.037855156F, 0.0403152F, 0.042935107F, 0.045725275F, 0.048696756F, 0.05186135F, 0.05523159F, 0.05882085F, 0.062643364F, 0.06671428F, 0.07104975F, 0.075666964F, 0.08058423F, 0.08582105F, 0.09139818F, 0.097337745F, 0.1036633F, 0.11039993F, 0.11757434F, 0.12521498F, 0.13335215F, 0.14201812F, 0.15124726F, 0.16107617F, 0.1715438F, 0.18269168F, 0.19456401F, 0.20720787F, 0.22067343F, 0.23501402F, 0.25028655F, 0.26655158F, 0.28387362F, 0.3023213F, 0.32196787F, 0.34289113F, 0.36517414F, 0.3889052F, 0.41417846F, 0.44109413F, 0.4697589F, 0.50028646F, 0.53279793F, 0.5674221F, 0.6042964F, 0.64356697F, 0.6853896F, 0.72993004F, 0.777365F, 0.8278826F, 0.88168305F, 0.9389798F, 1.0F}; - private final int[] anIntArray2720; - private static int[] anIntArray2721; - private final int anInt2722; - private final int[] anIntArray2723; - private static int[] anIntArray2724 = {256, 128, 86, 64}; - private final int[] anIntArray2725; - private final int[] anIntArray2726; - private static boolean[] aBooleanArray2727; - private static int[] anIntArray2728; - private final int[] anIntArray2729; - private final int[][] anIntArrayArray2730; - - final void method1530(float[] fs, int i) { - int i_0_ = anIntArray2726.length; - int i_1_ = anIntArray2724[anInt2722 - 1]; - aBooleanArray2727[0] = aBooleanArray2727[1] = true; - for (int i_2_ = 2; i_2_ < i_0_; i_2_++) { - int i_3_ = method1537(anIntArray2721, i_2_); - int i_4_ = method1532(anIntArray2721, i_2_); - int i_5_ = method1533(anIntArray2721[i_3_], anIntArray2728[i_3_], anIntArray2721[i_4_], anIntArray2728[i_4_], anIntArray2721[i_2_]); - int i_6_ = anIntArray2728[i_2_]; - int i_7_ = i_1_ - i_5_; - int i_8_ = i_5_; - int i_9_ = (Math.min(i_7_, i_8_)) << 1; - if (i_6_ == 0) { - aBooleanArray2727[i_2_] = false; - anIntArray2728[i_2_] = i_5_; - } else { - aBooleanArray2727[i_3_] = aBooleanArray2727[i_4_] = true; - aBooleanArray2727[i_2_] = true; - if (i_6_ >= i_9_) anIntArray2728[i_2_] = (i_7_ > i_8_ ? i_6_ - i_8_ + i_5_ : i_5_ - i_6_ + i_7_ - 1); - else anIntArray2728[i_2_] = ((i_6_ & 0x1) != 0 ? i_5_ - (i_6_ + 1) / 2 : i_5_ + i_6_ / 2); - } - } - method1535(0, i_0_ - 1); - int i_10_ = 0; - int i_11_ = anIntArray2728[0] * anInt2722; - for (int i_12_ = 1; i_12_ < i_0_; i_12_++) { - if (aBooleanArray2727[i_12_]) { - int i_13_ = anIntArray2721[i_12_]; - int i_14_ = anIntArray2728[i_12_] * anInt2722; - method1531(i_10_, i_11_, i_13_, i_14_, fs, i); - if (i_13_ >= i) return; - i_10_ = i_13_; - i_11_ = i_14_; - } - } - float f = aFloatArray2719[i_11_]; - for (int i_15_ = i_10_; i_15_ < i; i_15_++) - fs[i_15_] *= f; - } - - private final void method1531(int i, int i_16_, int i_17_, int i_18_, float[] fs, int i_19_) { - int i_20_ = i_18_ - i_16_; - int i_21_ = i_17_ - i; - int i_22_ = i_20_ < 0 ? -i_20_ : i_20_; - int i_23_ = i_20_ / i_21_; - int i_24_ = i_16_; - int i_25_ = 0; - int i_26_ = i_20_ < 0 ? i_23_ - 1 : i_23_ + 1; - i_22_ = i_22_ - (i_23_ < 0 ? -i_23_ : i_23_) * i_21_; - fs[i] *= aFloatArray2719[i_24_]; - if (i_17_ > i_19_) i_17_ = i_19_; - for (int i_27_ = i + 1; i_27_ < i_17_; i_27_++) { - i_25_ += i_22_; - if (i_25_ >= i_21_) { - i_25_ -= i_21_; - i_24_ += i_26_; - } else i_24_ += i_23_; - fs[i_27_] *= aFloatArray2719[i_24_]; - } - } - - private static final int method1532(int[] is, int i) { - int i_28_ = is[i]; - int i_29_ = -1; - int i_30_ = 2147483647; - for (int i_31_ = 0; i_31_ < i; i_31_++) { - int i_32_ = is[i_31_]; - if (i_32_ > i_28_ && i_32_ < i_30_) { - i_29_ = i_31_; - i_30_ = i_32_; - } - } - return i_29_; - } - - private final int method1533(int i, int i_33_, int i_34_, int i_35_, int i_36_) { - int i_37_ = i_35_ - i_33_; - int i_38_ = i_34_ - i; - int i_39_ = i_37_ < 0 ? -i_37_ : i_37_; - int i_40_ = i_39_ * (i_36_ - i); - int i_41_ = i_40_ / i_38_; - if (i_37_ < 0) return i_33_ - i_41_; - return i_33_ + i_41_; - } - - final boolean method1534() { - boolean bool = Class348_Sub10.method2788() != 0; - if (!bool) return false; - int i = anIntArray2726.length; - for (int i_42_ = 0; i_42_ < i; i_42_++) - anIntArray2721[i_42_] = anIntArray2726[i_42_]; - int i_43_ = anIntArray2724[anInt2722 - 1]; - int i_44_ = Class299.method2253(i_43_ - 1, -17); - anIntArray2728[0] = Class348_Sub10.method2789(i_44_); - anIntArray2728[1] = Class348_Sub10.method2789(i_44_); - int i_45_ = 2; - for (int i_46_ = 0; i_46_ < anIntArray2725.length; i_46_++) { - int i_47_ = anIntArray2725[i_46_]; - int i_48_ = anIntArray2720[i_47_]; - int i_49_ = anIntArray2729[i_47_]; - int i_50_ = (1 << i_49_) - 1; - int i_51_ = 0; - if (i_49_ > 0) i_51_ = Class348_Sub10.aClass370Array6718[anIntArray2723[i_47_]].method3581(); - for (int i_52_ = 0; i_52_ < i_48_; i_52_++) { - int i_53_ = anIntArrayArray2730[i_47_][i_51_ & i_50_]; - i_51_ >>>= i_49_; - anIntArray2728[i_45_++] = (i_53_ >= 0 ? Class348_Sub10.aClass370Array6718[i_53_].method3581() : 0); - } - } - return true; - } - - private final void method1535(int i, int i_54_) { - if (i < i_54_) { - int i_55_ = i; - int i_56_ = anIntArray2721[i_55_]; - int i_57_ = anIntArray2728[i_55_]; - boolean bool = aBooleanArray2727[i_55_]; - for (int i_58_ = i + 1; i_58_ <= i_54_; i_58_++) { - int i_59_ = anIntArray2721[i_58_]; - if (i_59_ < i_56_) { - anIntArray2721[i_55_] = i_59_; - anIntArray2728[i_55_] = anIntArray2728[i_58_]; - aBooleanArray2727[i_55_] = aBooleanArray2727[i_58_]; - i_55_++; - anIntArray2721[i_58_] = anIntArray2721[i_55_]; - anIntArray2728[i_58_] = anIntArray2728[i_55_]; - aBooleanArray2727[i_58_] = aBooleanArray2727[i_55_]; - } - } - anIntArray2721[i_55_] = i_56_; - anIntArray2728[i_55_] = i_57_; - aBooleanArray2727[i_55_] = bool; - method1535(i, i_55_ - 1); - method1535(i_55_ + 1, i_54_); - } - } - - public static void method1536() { - anIntArray2724 = null; - aFloatArray2719 = null; - anIntArray2721 = null; - anIntArray2728 = null; - aBooleanArray2727 = null; - } - - private static final int method1537(int[] is, int i) { - int i_60_ = is[i]; - int i_61_ = -1; - int i_62_ = -2147483648; - for (int i_63_ = 0; i_63_ < i; i_63_++) { - int i_64_ = is[i_63_]; - if (i_64_ < i_60_ && i_64_ > i_62_) { - i_61_ = i_63_; - i_62_ = i_64_; - } - } - return i_61_; - } - - Class210() { - int i = Class348_Sub10.method2789(16); - if (i != 1) throw new RuntimeException(); - int i_65_ = Class348_Sub10.method2789(5); - int i_66_ = 0; - anIntArray2725 = new int[i_65_]; - for (int i_67_ = 0; i_67_ < i_65_; i_67_++) { - int i_68_ = Class348_Sub10.method2789(4); - anIntArray2725[i_67_] = i_68_; - if (i_68_ >= i_66_) i_66_ = i_68_ + 1; - } - anIntArray2720 = new int[i_66_]; - anIntArray2729 = new int[i_66_]; - anIntArray2723 = new int[i_66_]; - anIntArrayArray2730 = new int[i_66_][]; - for (int i_69_ = 0; i_69_ < i_66_; i_69_++) { - anIntArray2720[i_69_] = Class348_Sub10.method2789(3) + 1; - int i_70_ = anIntArray2729[i_69_] = Class348_Sub10.method2789(2); - if (i_70_ != 0) anIntArray2723[i_69_] = Class348_Sub10.method2789(8); - i_70_ = 1 << i_70_; - int[] is = new int[i_70_]; - anIntArrayArray2730[i_69_] = is; - for (int i_71_ = 0; i_71_ < i_70_; i_71_++) - is[i_71_] = Class348_Sub10.method2789(8) - 1; - } - anInt2722 = Class348_Sub10.method2789(2) + 1; - int i_72_ = Class348_Sub10.method2789(4); - int i_73_ = 2; - for (int i_74_ = 0; i_74_ < i_65_; i_74_++) - i_73_ += anIntArray2720[anIntArray2725[i_74_]]; - anIntArray2726 = new int[i_73_]; - anIntArray2726[0] = 0; - anIntArray2726[1] = 1 << i_72_; - i_73_ = 2; - for (int i_75_ = 0; i_75_ < i_65_; i_75_++) { - int i_76_ = anIntArray2725[i_75_]; - for (int i_77_ = 0; i_77_ < anIntArray2720[i_76_]; i_77_++) - anIntArray2726[i_73_++] = Class348_Sub10.method2789(i_72_); - } - if (anIntArray2721 == null || anIntArray2721.length < i_73_) { - anIntArray2721 = new int[i_73_]; - anIntArray2728 = new int[i_73_]; - aBooleanArray2727 = new boolean[i_73_]; - } - } -} diff --git a/client/src/Class211.java b/client/src/Class211.java deleted file mode 100644 index 6b935c1ac..000000000 --- a/client/src/Class211.java +++ /dev/null @@ -1,381 +0,0 @@ -/* Class211 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class211 { - int anInt2731; - static int anInt2732; - static int anInt2733; - int anInt2734; - private int anInt2735; - static int anInt2736; - boolean aBoolean2737; - private int anInt2738; - private int anInt2739; - private int anInt2740; - static int anInt2741; - short[] aShortArray2742; - private int anInt2743; - static int[] anIntArray2744 = new int[2]; - Class348_Sub1 aClass348_Sub1_2745; - static int anInt2746; - static int anInt2747; - static int anInt2748; - boolean aBoolean2749; - - static final boolean method1538(int i, byte i_0_, Class348_Sub49_Sub2 class348_sub49_sub2) { - anInt2732++; - int i_1_ = class348_sub49_sub2.readBits((byte) -24, 2); - if (i_1_ == 0) { - if (class348_sub49_sub2.readBits((byte) -24, 1) != 0) method1538(i, (byte) 105, class348_sub49_sub2); - int i_2_ = class348_sub49_sub2.readBits((byte) -24, 6); - int i_3_ = class348_sub49_sub2.readBits((byte) -24, 6); - boolean bool = (class348_sub49_sub2.readBits((byte) -24, 1) == 1); - if (bool) Class18.anIntArray279[Class101_Sub3.anInt5768++] = i; - if (Class294.aPlayerArray5058[i] != null) throw new RuntimeException("hr:lr"); - Class359 class359 = Class348_Sub17.aClass359Array6802[i]; - Player player = (Class294.aPlayerArray5058[i] = new Player()); - player.anInt10290 = i; - if (Class154.aClass348_Sub49Array2105[i] != null) player.method2452((byte) 84, Class154.aClass348_Sub49Array2105[i]); - player.method2435((byte) -108, (class359.anInt4423), true); - player.anInt10275 = class359.anInt4425; - int i_4_ = class359.anInt4420; - int i_5_ = i_4_ >> 28; - int i_6_ = (0x3fcd8e & i_4_) >> 14; - int i_7_ = 0xff & i_4_; - int i_8_ = -za_Sub2.regionTileX + i_2_ + (i_6_ << 6); - player.aBoolean10554 = class359.aBoolean4426; - int i_9_ = -Class90.regionTileY + i_3_ + (i_7_ << 6); - player.aByteArray10321[0] = Class259.aByteArray3300[i]; - player.plane = player.aByte6376 = (byte) i_5_; - if (Class79.method802(i_9_, i_8_, true)) player.aByte6376++; - player.method2449(i_9_, i_8_, (byte) 102); - player.aBoolean10539 = false; - Class348_Sub17.aClass359Array6802[i] = null; - return true; - } - if (i_1_ == 1) { - int i_10_ = class348_sub49_sub2.readBits((byte) -24, 2); - int i_11_ = Class348_Sub17.aClass359Array6802[i].anInt4420; - Class348_Sub17.aClass359Array6802[i].anInt4420 = (0xfffffff & i_11_) + (((i_11_ >> 28) + i_10_ & 0x3) << 28); - return false; - } - if (i_1_ == 2) { - int i_12_ = class348_sub49_sub2.readBits((byte) -24, 5); - int i_13_ = i_12_ >> 3; - int i_14_ = 0x7 & i_12_; - int i_15_ = Class348_Sub17.aClass359Array6802[i].anInt4420; - int i_16_ = 0x3 & i_13_ + (i_15_ >> 28); - int i_17_ = (i_15_ & 0x3fd366) >> 14; - int i_18_ = 0xff & i_15_; - if (i_14_ == 0) { - i_17_--; - i_18_--; - } - if (i_14_ == 1) i_18_--; - if (i_14_ == 2) { - i_18_--; - i_17_++; - } - if (i_14_ == 3) i_17_--; - if (i_14_ == 4) i_17_++; - if (i_14_ == 5) { - i_17_--; - i_18_++; - } - if (i_14_ == 6) i_18_++; - if (i_14_ == 7) { - i_17_++; - i_18_++; - } - Class348_Sub17.aClass359Array6802[i].anInt4420 = i_18_ + ((i_16_ << 28) + (i_17_ << 14)); - return false; - } - int i_19_ = class348_sub49_sub2.readBits((byte) -24, 18); - int i_20_ = i_19_ >> 16; - int i_21_ = 0xff & i_19_ >> 8; - int i_22_ = 0xff & i_19_; - int i_23_ = Class348_Sub17.aClass359Array6802[i].anInt4420; - int i_24_ = 0x3 & (i_23_ >> 28) - -i_20_; - int i_25_ = i_21_ + (i_23_ >> 14) & 0xff; - if (i_0_ != 105) anIntArray2744 = null; - int i_26_ = 0xff & i_23_ + i_22_; - Class348_Sub17.aClass359Array6802[i].anInt4420 = i_26_ + (i_24_ << 28) - -(i_25_ << 14); - return false; - } - - final void method1539(int i, byte i_27_, int i_28_, int i_29_, int i_30_) { - anInt2741++; - if (i_27_ <= 114) method1538(-108, (byte) -46, null); - anInt2735 = i_28_; - anInt2738 = i; - anInt2743 = i_30_; - anInt2740 = i_29_; - } - - static final void method1540(int i, int i_31_, int i_32_) { - anInt2746++; - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i_31_, (byte) 105, 13); - class348_sub42_sub15.method3246(-25490); - class348_sub42_sub15.anInt9652 = i_32_; - if (i >= -84) anIntArray2744 = null; - } - - private final void method1541(int i, ha var_ha, int i_33_, int i_34_, int i_35_, int i_36_, int i_37_) { - anInt2736++; - if (i_35_ == 3) this.aClass348_Sub1_2745 = var_ha.method3690(i_34_, i, i_33_, i_37_, i_36_, 1.0F); - } - - private final void method1542(int i) { - int i_38_ = this.anInt2734; - while_70_: - do { - while_69_: - do { - while_68_: - do { - while_67_: - do { - while_66_: - do { - while_65_: - do { - while_64_: - do { - while_63_: - do { - while_62_: - do { - while_61_: - do { - while_60_: - do { - while_59_: - do { - while_58_: - do { - while_57_: - do { - do { - if (i_38_ == 2) { - anInt2743 = 2048; - anInt2738 = 0; - anInt2735 = 2048; - anInt2740 = 1; - break while_70_; - } else if (i_38_ != 3) { - if (i_38_ != 4) { - if (i_38_ != 5) { - if (i_38_ != 12) { - if (i_38_ != 13) { - if (i_38_ != 10) { - if (i_38_ != 11) { - if (i_38_ != 6) { - if (i_38_ != 7) { - if (i_38_ != 8) { - if (i_38_ != 9) { - if (i_38_ != 14) { - if (i_38_ != 15) { - if (i_38_ == 16) break while_68_; - break while_69_; - } - } else break while_66_; - break while_67_; - } - } else break while_64_; - break while_65_; - } - } else break while_62_; - break while_63_; - } - } else break while_60_; - break while_61_; - } - } else break while_58_; - break while_59_; - } - } else break; - break while_57_; - } - anInt2738 = 0; - anInt2743 = 2048; - anInt2740 = 1; - anInt2735 = 4096; - break while_70_; - } while (false); - anInt2738 = 0; - anInt2740 = 4; - anInt2743 = 2048; - anInt2735 = 2048; - break while_70_; - } while (false); - anInt2735 = 8192; - anInt2740 = 4; - anInt2743 = 2048; - anInt2738 = 0; - break while_70_; - } while (false); - anInt2735 = 2048; - anInt2740 = 2; - anInt2738 = 0; - anInt2743 = 2048; - break while_70_; - } while (false); - anInt2743 = 2048; - anInt2738 = 0; - anInt2740 = 2; - anInt2735 = 8192; - break while_70_; - } while (false); - anInt2743 = 512; - anInt2740 = 3; - anInt2738 = 1536; - anInt2735 = 2048; - break while_70_; - } while (false); - anInt2740 = 3; - anInt2743 = 512; - anInt2738 = 1536; - anInt2735 = 4096; - break while_70_; - } while (false); - anInt2738 = 1280; - anInt2740 = 3; - anInt2743 = 768; - anInt2735 = 2048; - break while_70_; - } while (false); - anInt2738 = 1280; - anInt2740 = 3; - anInt2735 = 4096; - anInt2743 = 768; - break while_70_; - } while (false); - anInt2738 = 1024; - anInt2735 = 2048; - anInt2743 = 1024; - anInt2740 = 3; - break while_70_; - } while (false); - anInt2743 = 1024; - anInt2735 = 4096; - anInt2740 = 3; - anInt2738 = 1024; - break while_70_; - } while (false); - anInt2740 = 1; - anInt2738 = 1280; - anInt2735 = 2048; - anInt2743 = 768; - break while_70_; - } while (false); - anInt2735 = 4096; - anInt2743 = 512; - anInt2740 = 1; - anInt2738 = 1536; - break while_70_; - } while (false); - anInt2735 = 8192; - anInt2740 = 1; - anInt2743 = 256; - anInt2738 = 1792; - break while_70_; - } while (false); - anInt2735 = 2048; - anInt2743 = 2048; - anInt2738 = 0; - anInt2740 = 0; - } while (false); - if (i == 32402) anInt2748++; - } - - public static void method1543(int i) { - anIntArray2744 = null; - if (i != -4524) anInt2747 = 24; - } - - final void method1544(int i, boolean bool, int i_39_) { - if (i != 8688) method1544(86, false, 92); - anInt2733++; - int i_40_; - while_74_: - do { - if (bool) i_40_ = 2048; - else { - int i_41_ = 0x7ff & anInt2735 * i_39_ / 50 + anInt2739; - int i_42_ = anInt2740; - while_73_: - do { - while_72_: - do { - while_71_: - do { - do { - if (i_42_ == 1) { - i_40_ = ((Class70.anIntArray1207[i_41_ << 3]) >> 4) + 1024; - break while_74_; - } else if (i_42_ != 3) { - if (i_42_ != 4) { - if (i_42_ != 2) { - if (i_42_ == 5) break while_72_; - break while_73_; - } - } else break; - break while_71_; - } - i_40_ = (Class291.anIntArray3726[i_41_] >> 1); - break while_74_; - } while (false); - i_40_ = i_41_ >> 10 << 11; - break while_74_; - } while (false); - i_40_ = i_41_; - break while_74_; - } while (false); - i_40_ = (i_41_ >= 1024 ? -i_41_ + 2048 : i_41_) << 1; - break while_74_; - } while (false); - i_40_ = 2048; - } - } while (false); - this.aClass348_Sub1_2745.method2716(-1, ((float) ((anInt2743 * i_40_ >> 11) + anInt2738) / 2048.0F)); - } - - protected Class211() { - if (Class291.anIntArray3726 == null) Class141.method1177((byte) 122); - method1542(32402); - } - - Class211(ha var_ha, Class348_Sub49 class348_sub49, int i) { - try { - if (Class291.anIntArray3726 == null) Class141.method1177((byte) 122); - this.anInt2731 = class348_sub49.readUnsignedByte(255); - this.aBoolean2737 = (0x8 & this.anInt2731) != 0; - this.aBoolean2749 = (this.anInt2731 & 0x10) != 0; - this.anInt2731 = 0x7 & this.anInt2731; - int i_43_ = class348_sub49.readUnsignedShort(842397944) << i; - int i_44_ = class348_sub49.readUnsignedShort(842397944) << i; - int i_45_ = class348_sub49.readUnsignedShort(842397944) << i; - int i_46_ = class348_sub49.readUnsignedByte(255); - int i_47_ = 1 + i_46_ * 2; - this.aShortArray2742 = new short[i_47_]; - for (int i_48_ = 0; (i_48_ < this.aShortArray2742.length); i_48_++) { - int i_49_ = (short) class348_sub49.readUnsignedShort(842397944); - int i_50_ = i_49_ >>> 8; - if (i_47_ <= i_50_) i_50_ = i_47_ - 1; - int i_51_ = 0xff & i_49_; - if (-i_50_ + i_47_ < i_51_) i_51_ = i_47_ - i_50_; - this.aShortArray2742[i_48_] = (short) Class273.method2057(i_51_, i_50_ << 8); - } - i_46_ = ((i_46_ << Class362.anInt4459) + Class348_Sub23_Sub2.anInt9037); - int i_52_ = (Class10.anIntArray179 == null ? (Class126.anIntArray4983[Class25.method303(class348_sub49.readUnsignedShort(842397944), 30) & 0xffff]) : (Class10.anIntArray179[class348_sub49.readUnsignedShort(842397944)])); - int i_53_ = class348_sub49.readUnsignedByte(255); - anInt2739 = (0xe0 & i_53_) << 3; - this.anInt2734 = 0x1f & i_53_; - if (this.anInt2734 != 31) method1542(32402); - method1541(i_45_, var_ha, i_44_, i_43_, 3, i_52_, i_46_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ro.(" + (var_ha != null ? "{...}" : "null") + ',' + (class348_sub49 != null ? "{...}" : "null") + ',' + i + ')')); - } - } -} diff --git a/client/src/Class212.java b/client/src/Class212.java deleted file mode 100644 index 44a01a0e2..000000000 --- a/client/src/Class212.java +++ /dev/null @@ -1,446 +0,0 @@ -/* Class212 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class212 { - private static Class40 aClass40_2750 = new Class40(); - - private static final int method1545(int i, Class40 class40) { - for (; ; ) { - if (class40.anInt546 >= i) { - int i_0_ = ((class40.anInt554 >> class40.anInt546 - i) & (1 << i) - 1); - class40.anInt546 -= i; - return i_0_; - } - class40.anInt554 = (class40.anInt554 << 8 | (class40.aByteArray534[class40.anInt522]) & 0xff); - class40.anInt546 += 8; - class40.anInt522++; - class40.anInt536++; - } - } - - private static final void method1546(int[] is, int[] is_1_, int[] is_2_, byte[] is_3_, int i, int i_4_, int i_5_) { - int i_6_ = 0; - for (int i_7_ = i; i_7_ <= i_4_; i_7_++) { - for (int i_8_ = 0; i_8_ < i_5_; i_8_++) { - if (is_3_[i_8_] == i_7_) { - is_2_[i_6_] = i_8_; - i_6_++; - } - } - } - for (int i_9_ = 0; i_9_ < 23; i_9_++) - is_1_[i_9_] = 0; - for (int i_10_ = 0; i_10_ < i_5_; i_10_++) - is_1_[is_3_[i_10_] + 1]++; - for (int i_11_ = 1; i_11_ < 23; i_11_++) - is_1_[i_11_] += is_1_[i_11_ - 1]; - for (int i_12_ = 0; i_12_ < 23; i_12_++) - is[i_12_] = 0; - int i_13_ = 0; - for (int i_14_ = i; i_14_ <= i_4_; i_14_++) { - i_13_ += is_1_[i_14_ + 1] - is_1_[i_14_]; - is[i_14_] = i_13_ - 1; - i_13_ <<= 1; - } - for (int i_15_ = i + 1; i_15_ <= i_4_; i_15_++) - is_1_[i_15_] = (is[i_15_ - 1] + 1 << 1) - is_1_[i_15_]; - } - - static final int method1547(byte[] is, int i, byte[] is_16_, int i_17_, int i_18_) { - synchronized (aClass40_2750) { - aClass40_2750.aByteArray534 = is_16_; - aClass40_2750.anInt522 = i_18_; - aClass40_2750.aByteArray527 = is; - aClass40_2750.anInt548 = 0; - aClass40_2750.anInt538 = i; - aClass40_2750.anInt546 = 0; - aClass40_2750.anInt554 = 0; - aClass40_2750.anInt536 = 0; - aClass40_2750.anInt524 = 0; - method1552(aClass40_2750); - i -= aClass40_2750.anInt538; - aClass40_2750.aByteArray534 = null; - aClass40_2750.aByteArray527 = null; - return i; - } - } - - private static final byte method1548(Class40 class40) { - return (byte) method1545(8, class40); - } - - private static final void method1549(Class40 class40) { - byte i = class40.aByte539; - int i_19_ = class40.anInt533; - int i_20_ = class40.anInt555; - int i_21_ = class40.anInt537; - int[] is = Class286_Sub3.anIntArray6228; - int i_22_ = class40.anInt552; - byte[] is_23_ = class40.aByteArray527; - int i_24_ = class40.anInt548; - int i_25_ = class40.anInt538; - int i_26_ = i_25_; - int i_27_ = class40.anInt550 + 1; - while_75_: - for (; ; ) { - if (i_19_ > 0) { - for (; ; ) { - if (i_25_ == 0) break while_75_; - if (i_19_ == 1) break; - is_23_[i_24_] = i; - i_19_--; - i_24_++; - i_25_--; - } - if (i_25_ == 0) { - i_19_ = 1; - break; - } - is_23_[i_24_] = i; - i_24_++; - i_25_--; - } - for (; ; ) { - if (i_20_ == i_27_) { - i_19_ = 0; - break while_75_; - } - i = (byte) i_21_; - i_22_ = is[i_22_]; - int i_28_ = (byte) i_22_; - i_22_ >>= 8; - i_20_++; - if (i_28_ == i_21_) { - if (i_20_ != i_27_) break; - if (i_25_ == 0) { - i_19_ = 1; - break while_75_; - } - is_23_[i_24_] = i; - i_24_++; - i_25_--; - } else { - i_21_ = i_28_; - if (i_25_ == 0) { - i_19_ = 1; - break while_75_; - } - is_23_[i_24_] = i; - i_24_++; - i_25_--; - } - } - i_19_ = 2; - i_22_ = is[i_22_]; - int i_29_ = (byte) i_22_; - i_22_ >>= 8; - if (++i_20_ != i_27_) { - if (i_29_ == i_21_) { - i_19_ = 3; - i_22_ = is[i_22_]; - i_29_ = (byte) i_22_; - i_22_ >>= 8; - if (++i_20_ != i_27_) { - if (i_29_ == i_21_) { - i_22_ = is[i_22_]; - i_29_ = (byte) i_22_; - i_22_ >>= 8; - i_20_++; - i_19_ = (i_29_ & 0xff) + 4; - i_22_ = is[i_22_]; - i_21_ = (byte) i_22_; - i_22_ >>= 8; - i_20_++; - } else i_21_ = i_29_; - } - } else i_21_ = i_29_; - } - } - int i_30_ = class40.anInt524; - class40.anInt524 += i_26_ - i_25_; - class40.aByte539 = i; - class40.anInt533 = i_19_; - class40.anInt555 = i_20_; - class40.anInt537 = i_21_; - Class286_Sub3.anIntArray6228 = is; - class40.anInt552 = i_22_; - class40.aByteArray527 = is_23_; - class40.anInt548 = i_24_; - class40.anInt538 = i_25_; - } - - private static final void method1550(Class40 class40) { - class40.anInt541 = 0; - for (int i = 0; i < 256; i++) { - if (class40.aBooleanArray523[i]) { - class40.aByteArray528[class40.anInt541] = (byte) i; - class40.anInt541++; - } - } - } - - public static void method1551() { - aClass40_2750 = null; - } - - private static final void method1552(Class40 class40) { - boolean bool = false; - boolean bool_31_ = false; - boolean bool_32_ = false; - boolean bool_33_ = false; - boolean bool_34_ = false; - boolean bool_35_ = false; - boolean bool_36_ = false; - boolean bool_37_ = false; - boolean bool_38_ = false; - boolean bool_39_ = false; - boolean bool_40_ = false; - boolean bool_41_ = false; - boolean bool_42_ = false; - boolean bool_43_ = false; - boolean bool_44_ = false; - boolean bool_45_ = false; - boolean bool_46_ = false; - boolean bool_47_ = false; - int i = 0; - int[] is = null; - int[] is_48_ = null; - int[] is_49_ = null; - class40.anInt526 = 1; - if (Class286_Sub3.anIntArray6228 == null) Class286_Sub3.anIntArray6228 = new int[class40.anInt526 * 100000]; - boolean bool_50_ = true; - while (bool_50_) { - byte i_51_ = method1548(class40); - if (i_51_ == 23) break; - i_51_ = method1548(class40); - i_51_ = method1548(class40); - i_51_ = method1548(class40); - i_51_ = method1548(class40); - i_51_ = method1548(class40); - i_51_ = method1548(class40); - i_51_ = method1548(class40); - i_51_ = method1548(class40); - i_51_ = method1548(class40); - i_51_ = method1553(class40); - class40.anInt530 = 0; - int i_52_ = method1548(class40); - class40.anInt530 = class40.anInt530 << 8 | i_52_ & 0xff; - i_52_ = method1548(class40); - class40.anInt530 = class40.anInt530 << 8 | i_52_ & 0xff; - i_52_ = method1548(class40); - class40.anInt530 = class40.anInt530 << 8 | i_52_ & 0xff; - for (int i_53_ = 0; i_53_ < 16; i_53_++) { - i_51_ = method1553(class40); - class40.aBooleanArray532[i_53_] = i_51_ == 1; - } - for (int i_54_ = 0; i_54_ < 256; i_54_++) - class40.aBooleanArray523[i_54_] = false; - for (int i_55_ = 0; i_55_ < 16; i_55_++) { - if (class40.aBooleanArray532[i_55_]) { - for (int i_56_ = 0; i_56_ < 16; i_56_++) { - i_51_ = method1553(class40); - if (i_51_ == 1) class40.aBooleanArray523[(i_55_ * 16 + i_56_)] = true; - } - } - } - method1550(class40); - int i_57_ = class40.anInt541 + 2; - int i_58_ = method1545(3, class40); - int i_59_ = method1545(15, class40); - for (int i_60_ = 0; i_60_ < i_59_; i_60_++) { - int i_61_ = 0; - for (; ; ) { - i_51_ = method1553(class40); - if (i_51_ == 0) break; - i_61_++; - } - class40.aByteArray544[i_60_] = (byte) i_61_; - } - byte[] is_62_ = new byte[6]; - for (byte i_63_ = 0; i_63_ < i_58_; i_63_++) - is_62_[i_63_] = i_63_; - for (int i_64_ = 0; i_64_ < i_59_; i_64_++) { - byte i_65_ = class40.aByteArray544[i_64_]; - byte i_66_ = is_62_[i_65_]; - for (/**/; i_65_ > 0; i_65_--) - is_62_[i_65_] = is_62_[i_65_ - 1]; - is_62_[0] = i_66_; - class40.aByteArray531[i_64_] = i_66_; - } - for (int i_67_ = 0; i_67_ < i_58_; i_67_++) { - int i_68_ = method1545(5, class40); - for (int i_69_ = 0; i_69_ < i_57_; i_69_++) { - for (; ; ) { - i_51_ = method1553(class40); - if (i_51_ == 0) break; - i_51_ = method1553(class40); - if (i_51_ == 0) i_68_++; - else i_68_--; - } - class40.aByteArrayArray549[i_67_][i_69_] = (byte) i_68_; - } - } - for (int i_70_ = 0; i_70_ < i_58_; i_70_++) { - int i_71_ = 32; - byte i_72_ = 0; - for (int i_73_ = 0; i_73_ < i_57_; i_73_++) { - if (class40.aByteArrayArray549[i_70_][i_73_] > i_72_) i_72_ = (class40.aByteArrayArray549[i_70_][i_73_]); - if (class40.aByteArrayArray549[i_70_][i_73_] < i_71_) i_71_ = (class40.aByteArrayArray549[i_70_][i_73_]); - } - method1546(class40.anIntArrayArray556[i_70_], class40.anIntArrayArray553[i_70_], class40.anIntArrayArray529[i_70_], class40.aByteArrayArray549[i_70_], i_71_, i_72_, i_57_); - class40.anIntArray525[i_70_] = i_71_; - } - int i_74_ = class40.anInt541 + 1; - int i_75_ = -1; - int i_76_ = 0; - for (int i_77_ = 0; i_77_ <= 255; i_77_++) - class40.anIntArray535[i_77_] = 0; - int i_78_ = 4095; - for (int i_79_ = 15; i_79_ >= 0; i_79_--) { - for (int i_80_ = 15; i_80_ >= 0; i_80_--) { - class40.aByteArray545[i_78_] = (byte) (i_79_ * 16 + i_80_); - i_78_--; - } - class40.anIntArray540[i_79_] = i_78_ + 1; - } - int i_81_ = 0; - if (i_76_ == 0) { - i_75_++; - i_76_ = 50; - byte i_82_ = class40.aByteArray531[i_75_]; - i = class40.anIntArray525[i_82_]; - is = class40.anIntArrayArray556[i_82_]; - is_49_ = class40.anIntArrayArray529[i_82_]; - is_48_ = class40.anIntArrayArray553[i_82_]; - } - i_76_--; - int i_83_ = i; - int i_84_; - int i_85_; - for (i_85_ = method1545(i_83_, class40); i_85_ > is[i_83_]; i_85_ = i_85_ << 1 | i_84_) { - i_83_++; - i_84_ = method1553(class40); - } - int i_86_ = is_49_[i_85_ - is_48_[i_83_]]; - while (i_86_ != i_74_) { - if (i_86_ == 0 || i_86_ == 1) { - int i_87_ = -1; - int i_88_ = 1; - do { - if (i_86_ == 0) i_87_ += i_88_; - else if (i_86_ == 1) i_87_ += 2 * i_88_; - i_88_ *= 2; - if (i_76_ == 0) { - i_75_++; - i_76_ = 50; - byte i_89_ = class40.aByteArray531[i_75_]; - i = class40.anIntArray525[i_89_]; - is = class40.anIntArrayArray556[i_89_]; - is_49_ = (class40.anIntArrayArray529[i_89_]); - is_48_ = (class40.anIntArrayArray553[i_89_]); - } - i_76_--; - i_83_ = i; - for (i_85_ = method1545(i_83_, class40); i_85_ > is[i_83_]; i_85_ = i_85_ << 1 | i_84_) { - i_83_++; - i_84_ = method1553(class40); - } - i_86_ = is_49_[i_85_ - is_48_[i_83_]]; - } while (i_86_ == 0 || i_86_ == 1); - i_87_++; - i_52_ = (class40.aByteArray528[(class40.aByteArray545[class40.anIntArray540[0]]) & 0xff]); - class40.anIntArray535[i_52_ & 0xff] += i_87_; - for (/**/; i_87_ > 0; i_87_--) { - Class286_Sub3.anIntArray6228[i_81_] = i_52_ & 0xff; - i_81_++; - } - } else { - int i_90_ = i_86_ - 1; - if (i_90_ < 16) { - int i_91_ = class40.anIntArray540[0]; - i_51_ = class40.aByteArray545[i_91_ + i_90_]; - for (/**/; i_90_ > 3; i_90_ -= 4) { - int i_92_ = i_91_ + i_90_; - class40.aByteArray545[i_92_] = class40.aByteArray545[i_92_ - 1]; - class40.aByteArray545[i_92_ - 1] = class40.aByteArray545[i_92_ - 2]; - class40.aByteArray545[i_92_ - 2] = class40.aByteArray545[i_92_ - 3]; - class40.aByteArray545[i_92_ - 3] = class40.aByteArray545[i_92_ - 4]; - } - for (/**/; i_90_ > 0; i_90_--) - class40.aByteArray545[i_91_ + i_90_] = (class40.aByteArray545[i_91_ + i_90_ - 1]); - class40.aByteArray545[i_91_] = i_51_; - } else { - int i_93_ = i_90_ / 16; - int i_94_ = i_90_ % 16; - int i_95_ = class40.anIntArray540[i_93_] + i_94_; - i_51_ = class40.aByteArray545[i_95_]; - for (/**/; i_95_ > class40.anIntArray540[i_93_]; i_95_--) - class40.aByteArray545[i_95_] = class40.aByteArray545[i_95_ - 1]; - class40.anIntArray540[i_93_]++; - for (/**/; i_93_ > 0; i_93_--) { - class40.anIntArray540[i_93_]--; - class40.aByteArray545[class40.anIntArray540[i_93_]] = (class40.aByteArray545[(class40.anIntArray540[i_93_ - 1]) + 16 - 1]); - } - class40.anIntArray540[0]--; - class40.aByteArray545[(class40.anIntArray540[0])] = i_51_; - if (class40.anIntArray540[0] == 0) { - int i_96_ = 4095; - for (int i_97_ = 15; i_97_ >= 0; i_97_--) { - for (int i_98_ = 15; i_98_ >= 0; i_98_--) { - class40.aByteArray545[i_96_] = (class40.aByteArray545[(class40.anIntArray540[i_97_]) + i_98_]); - i_96_--; - } - class40.anIntArray540[i_97_] = i_96_ + 1; - } - } - } - class40.anIntArray535[(class40.aByteArray528[i_51_ & 0xff] & 0xff)]++; - Class286_Sub3.anIntArray6228[i_81_] = (class40.aByteArray528[i_51_ & 0xff] & 0xff); - i_81_++; - if (i_76_ == 0) { - i_75_++; - i_76_ = 50; - byte i_99_ = class40.aByteArray531[i_75_]; - i = class40.anIntArray525[i_99_]; - is = class40.anIntArrayArray556[i_99_]; - is_49_ = class40.anIntArrayArray529[i_99_]; - is_48_ = class40.anIntArrayArray553[i_99_]; - } - i_76_--; - i_83_ = i; - for (i_85_ = method1545(i_83_, class40); i_85_ > is[i_83_]; i_85_ = i_85_ << 1 | i_84_) { - i_83_++; - i_84_ = method1553(class40); - } - i_86_ = is_49_[i_85_ - is_48_[i_83_]]; - } - } - class40.anInt533 = 0; - class40.aByte539 = (byte) 0; - class40.anIntArray557[0] = 0; - for (int i_100_ = 1; i_100_ <= 256; i_100_++) - class40.anIntArray557[i_100_] = class40.anIntArray535[i_100_ - 1]; - for (int i_101_ = 1; i_101_ <= 256; i_101_++) - class40.anIntArray557[i_101_] += class40.anIntArray557[i_101_ - 1]; - for (int i_102_ = 0; i_102_ < i_81_; i_102_++) { - i_52_ = (byte) (Class286_Sub3.anIntArray6228[i_102_] & 0xff); - Class286_Sub3.anIntArray6228[(class40.anIntArray557[i_52_ & 0xff])] |= i_102_ << 8; - class40.anIntArray557[i_52_ & 0xff]++; - } - class40.anInt552 = (Class286_Sub3.anIntArray6228[class40.anInt530] >> 8); - class40.anInt555 = 0; - class40.anInt552 = Class286_Sub3.anIntArray6228[class40.anInt552]; - class40.anInt537 = (byte) (class40.anInt552 & 0xff); - class40.anInt552 >>= 8; - class40.anInt555++; - class40.anInt550 = i_81_; - method1549(class40); - bool_50_ = (class40.anInt555 == class40.anInt550 + 1) && class40.anInt533 == 0; - } - } - - private static final byte method1553(Class40 class40) { - return (byte) method1545(1, class40); - } -} diff --git a/client/src/Class213.java b/client/src/Class213.java deleted file mode 100644 index cd2902c15..000000000 --- a/client/src/Class213.java +++ /dev/null @@ -1,741 +0,0 @@ -/* Class213 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class213 { - static int anInt2751; - int anInt2752 = -1; - private int anInt2753; - static int anInt2754; - boolean aBoolean2755; - private int anInt2756; - Class356 aClass356_2757; - int anInt2758; - int anInt2759; - private int anInt2760; - Class255 aClass255_2761; - int[] anIntArray2762; - String[] aStringArray2763; - int anInt2764; - private int anInt2765; - int anInt2766; - private int anInt2767; - static int anInt2768; - int anInt2769; - private int anInt2770 = -1; - private short[] aShortArray2771; - int[] anIntArray2772; - static Class238 aClass238_2773; - int anInt2774; - private int anInt2775; - static int anInt2776; - private short[] aShortArray2777; - int anInt2778; - int anInt2779; - static int anInt2780; - int anInt2781; - static int anInt2782; - boolean aBoolean2783; - int anInt2784; - private short[] aShortArray2785; - private int anInt2786; - int anInt2787; - int anInt2788; - static long aLong2789; - static int anInt2790; - private int anInt2791; - private int anInt2792; - static int anInt2793; - private int anInt2794; - String aString2795; - static int anInt2796; - private int anInt2797; - static int anInt2798 = 0; - int anInt2799; - static int anInt2800; - private short[] aShortArray2801; - int anInt2802; - private int anInt2803; - private int anInt2804; - private int anInt2805; - static int anInt2806; - private int anInt2807; - private int anInt2808; - static int anInt2809; - int anInt2810; - String[] aStringArray2811; - int anInt2812; - static int anInt2813; - static int anInt2814; - int anInt2815; - static int anInt2816; - int anInt2817; - int anInt2818; - int anInt2819; - int anInt2820; - private byte[] aByteArray2821; - private int anInt2822; - private int anInt2823; - private int anInt2824; - int anInt2825; - int anInt2826; - int anInt2827; - static int anInt2828; - static int anInt2829; - int anInt2830; - int[] anIntArray2831; - static int anInt2832; - int anInt2833; - - final Class124 method1554(boolean bool, int i) { - anInt2796++; - int i_0_ = anInt2792; - int i_1_ = anInt2767; - if (bool) { - i_1_ = anInt2775; - i_0_ = anInt2822; - } - if (i_0_ == -1) return null; - Class124 class124 = Class300.method2277(0, this.aClass255_2761.aClass45_3268, i_0_, -1); - if ((~class124.anInt1830) > i) class124.method1092(2, 54); - if (i_1_ != -1) { - Class124 class124_2_ = Class300.method2277(0, (this.aClass255_2761.aClass45_3268), i_1_, -1); - if (class124_2_.anInt1830 < 13) class124_2_.method1092(2, i ^ ~0x78); - Class124[] class124s = {class124, class124_2_}; - class124 = new Class124(class124s, 2); - } - if (aShortArray2777 != null) { - for (int i_3_ = 0; i_3_ < aShortArray2777.length; i_3_++) - class124.method1098(aShortArray2777[i_3_], (byte) 126, aShortArray2771[i_3_]); - } - if (aShortArray2785 != null) { - for (int i_4_ = 0; i_4_ < aShortArray2785.length; i_4_++) - class124.method1095(aShortArray2785[i_4_], 0, aShortArray2801[i_4_]); - } - return class124; - } - - final boolean method1555(byte i, boolean bool) { - anInt2828++; - int i_5_ = anInt2792; - int i_6_ = -15 / ((28 - i) / 55); - int i_7_ = anInt2767; - if (bool) { - i_5_ = anInt2822; - i_7_ = anInt2775; - } - if (i_5_ == -1) return true; - boolean bool_8_ = true; - if (!this.aClass255_2761.aClass45_3268.method420(-10499, i_5_, 0)) bool_8_ = false; - if (i_7_ != -1 && !this.aClass255_2761.aClass45_3268.method420(-10499, i_7_, 0)) bool_8_ = false; - return bool_8_; - } - - final void method1556(Class213 class213_9_, byte i, Class213 class213_10_) { - try { - anInt2808 = class213_9_.anInt2808; - this.anInt2779 = class213_10_.anInt2779; - this.anInt2819 = 0; - aShortArray2785 = class213_9_.aShortArray2785; - this.anInt2788 = class213_9_.anInt2788; - this.anInt2781 = class213_10_.anInt2781; - this.aStringArray2811 = class213_9_.aStringArray2811; - anInt2797 = class213_9_.anInt2797; - aByteArray2821 = class213_9_.aByteArray2821; - aShortArray2771 = class213_9_.aShortArray2771; - this.aString2795 = class213_9_.aString2795; - anInt2756 = class213_10_.anInt2756; - anInt2770 = class213_9_.anInt2770; - aShortArray2777 = class213_9_.aShortArray2777; - this.anInt2815 = class213_9_.anInt2815; - anInt2822 = class213_9_.anInt2822; - anInt2804 = class213_9_.anInt2804; - this.anInt2825 = class213_10_.anInt2825; - anInt2767 = class213_9_.anInt2767; - aShortArray2801 = class213_9_.aShortArray2801; - this.aBoolean2783 = class213_9_.aBoolean2783; - this.anInt2810 = class213_10_.anInt2810; - this.aStringArray2763 = new String[5]; - if (i > -5) method1554(false, -92); - anInt2823 = class213_9_.anInt2823; - anInt2775 = class213_9_.anInt2775; - anInt2832++; - anInt2807 = class213_9_.anInt2807; - anInt2792 = class213_9_.anInt2792; - this.aClass356_2757 = class213_9_.aClass356_2757; - anInt2805 = class213_9_.anInt2805; - this.anInt2827 = class213_9_.anInt2827; - this.anInt2787 = class213_10_.anInt2787; - anInt2760 = class213_9_.anInt2760; - anInt2753 = class213_9_.anInt2753; - anInt2803 = class213_9_.anInt2803; - this.anInt2826 = class213_10_.anInt2826; - if (class213_9_.aStringArray2763 != null) { - for (int i_11_ = 0; i_11_ < 4; i_11_++) - this.aStringArray2763[i_11_] = class213_9_.aStringArray2763[i_11_]; - } - this.aStringArray2763[4] = Class274.aClass274_3489.method2063((this.aClass255_2761.anInt3286), 544); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("rq.G(" + (class213_9_ != null ? "{...}" : "null") + ',' + i + ',' + (class213_10_ != null ? "{...}" : "null") + ')')); - } - } - - private final String method1557(int i, int i_12_) { - anInt2816++; - if (i_12_ != -11619) this.anInt2788 = -113; - if (i < 100000) return "" + i + ""; - if (i < 10000000) return ("" + i / 1000 + Class274.aClass274_3519.method2063((this.aClass255_2761.anInt3286), 544) + ""); - return ("" + i / 1000000 + Class274.aClass274_3517.method2063((this.aClass255_2761.anInt3286), 544) + ""); - } - - final Class124 method1558(boolean bool, boolean bool_13_) { - anInt2809++; - int i = this.anInt2815; - int i_14_ = anInt2804; - if (bool_13_ != false) this.aClass356_2757 = null; - int i_15_ = anInt2805; - if (bool) { - i = this.anInt2788; - i_15_ = anInt2770; - i_14_ = anInt2760; - } - if (i == -1) return null; - Class124 class124 = Class300.method2277(0, this.aClass255_2761.aClass45_3268, i, -1); - if (class124.anInt1830 < 13) class124.method1092(2, 64); - if (i_14_ != -1) { - Class124 class124_16_ = Class300.method2277(0, (this.aClass255_2761.aClass45_3268), i_14_, -1); - if (class124_16_.anInt1830 < 13) class124_16_.method1092(2, 89); - if (i_15_ == -1) { - Class124[] class124s = {class124, class124_16_}; - class124 = new Class124(class124s, 2); - } else { - Class124 class124_17_ = Class300.method2277(0, (this.aClass255_2761.aClass45_3268), i_15_, -1); - if (class124_17_.anInt1830 < 13) class124_17_.method1092(2, 109); - Class124[] class124s = {class124, class124_16_, class124_17_}; - class124 = new Class124(class124s, 3); - } - } - if (class124 == null) return null; - if (!bool && (anInt2807 != 0 || anInt2797 != 0 || anInt2808 != 0)) class124.method1099((byte) 110, anInt2808, anInt2807, anInt2797); - if (bool && (anInt2803 != 0 || anInt2753 != 0 || anInt2823 != 0)) class124.method1099((byte) 24, anInt2823, anInt2803, anInt2753); - if (aShortArray2777 != null) { - for (int i_18_ = 0; aShortArray2777.length > i_18_; i_18_++) - class124.method1098(aShortArray2777[i_18_], (byte) 126, aShortArray2771[i_18_]); - } - if (aShortArray2785 != null) { - for (int i_19_ = 0; aShortArray2785.length > i_19_; i_19_++) - class124.method1095(aShortArray2785[i_19_], 0, aShortArray2801[i_19_]); - } - return class124; - } - - final Class64 method1559(Class154 class154, Class17 class17, ha var_ha, int i, int i_20_, int i_21_, int i_22_, byte i_23_, int i_24_) { - try { - anInt2813++; - if (this.anIntArray2762 != null && i_21_ > 1) { - int i_25_ = -1; - for (int i_26_ = 0; i_26_ < 10; i_26_++) { - if (i_21_ >= this.anIntArray2831[i_26_] && this.anIntArray2831[i_26_] != 0) i_25_ = this.anIntArray2762[i_26_]; - } - if (i_25_ != -1) return (this.aClass255_2761.method1940(103, i_25_).method1559(class154, class17, var_ha, i, i_20_, 1, i_22_, (byte) 88, i_24_)); - } - if (i_23_ != 88) this.aString2795 = null; - int i_27_ = i; - if (class17 != null) i_27_ |= class17.method263(i_24_, 105, i_22_, true); - Class64 class64; - synchronized (this.aClass255_2761.aClass60_3287) { - class64 = (Class64) (this.aClass255_2761.aClass60_3287.method583(var_ha.anInt4567 << 29 | this.anInt2769, 69)); - } - if (class64 == null || var_ha.method3667(class64.ua(), i_27_) != 0) { - if (class64 != null) i_27_ = var_ha.method3679(i_27_, class64.ua()); - int i_28_ = i_27_; - if (aShortArray2785 != null) i_28_ |= 0x8000; - if (aShortArray2777 != null || class154 != null) i_28_ |= 0x4000; - if (anInt2786 != 128) i_28_ |= 0x1; - if (anInt2786 != 128) i_28_ |= 0x2; - if (anInt2786 != 128) i_28_ |= 0x4; - Class124 class124 = Class300.method2277(0, (this.aClass255_2761.aClass45_3268), anInt2756, -1); - if (class124 == null) return null; - if (class124.anInt1830 < 13) class124.method1092(2, 97); - class64 = var_ha.method3625(class124, i_28_, (this.aClass255_2761.anInt3291), anInt2791 + 64, 850 - -anInt2824); - if (anInt2786 != 128 || anInt2794 != 128 || anInt2765 != 128) class64.O(anInt2786, anInt2794, anInt2765); - if (aShortArray2777 != null) { - for (int i_29_ = 0; (i_29_ < aShortArray2777.length); i_29_++) { - if (aByteArray2821 == null || aByteArray2821.length <= i_29_) class64.ia(aShortArray2777[i_29_], aShortArray2771[i_29_]); - else class64.ia(aShortArray2777[i_29_], (Class336.aShortArray4172[aByteArray2821[i_29_] & 0xff])); - } - } - if (aShortArray2785 != null) { - for (int i_30_ = 0; aShortArray2785.length > i_30_; i_30_++) - class64.aa(aShortArray2785[i_30_], aShortArray2801[i_30_]); - } - if (class154 != null) { - for (int i_31_ = 0; i_31_ < 5; i_31_++) { - for (int i_32_ = 0; (Class367_Sub2.aShortArrayArrayArray7290.length > i_32_); i_32_++) { - if (class154.anIntArray2095[i_31_] < (Class367_Sub2.aShortArrayArrayArray7290[i_32_][i_31_]).length) class64.ia((Class136.aShortArrayArray4791[i_32_][i_31_]), (Class367_Sub2.aShortArrayArrayArray7290[i_32_][i_31_][(class154.anIntArray2095[i_31_])])); - } - } - } - class64.s(i_27_); - synchronized (this.aClass255_2761.aClass60_3287) { - this.aClass255_2761.aClass60_3287.method582(class64, var_ha.anInt4567 << 29 | this.anInt2769, (byte) -111); - } - } - if (class17 != null) class64 = class17.method269(116, class64, i_24_, i_20_, i_27_, i_22_); - class64.s(i); - return class64; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("rq.S(" + (class154 != null ? "{...}" : "null") + ',' + (class17 != null ? "{...}" : "null") + ',' + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + i_20_ + ',' + i_21_ + ',' + i_22_ + ',' + i_23_ + ',' + i_24_ + ')')); - } - } - - final Class213 method1560(int i, byte i_33_) { - if (i_33_ != 97) this.anIntArray2762 = null; - anInt2768++; - if (this.anIntArray2762 != null && i > 1) { - int i_34_ = -1; - for (int i_35_ = 0; i_35_ < 10; i_35_++) { - if (i >= this.anIntArray2831[i_35_] && this.anIntArray2831[i_35_] != 0) i_34_ = this.anIntArray2762[i_35_]; - } - if (i_34_ != -1) return this.aClass255_2761.method1940(95, i_34_); - } - return this; - } - - final String method1561(String string, int i, int i_36_) { - try { - anInt2751++; - if (this.aClass356_2757 == null) return string; - if (i_36_ != -1511086397) method1569(25, null); - Class348_Sub50 class348_sub50 = ((Class348_Sub50) this.aClass356_2757.method3480(i, i_36_ ^ 0x5a114e4b)); - if (class348_sub50 == null) return string; - return class348_sub50.aString7211; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("rq.N(" + (string != null ? "{...}" : "null") + ',' + i + ',' + i_36_ + ')')); - } - } - - final int[] method1562(int i, boolean bool, int i_37_, ha var_ha, ha var_ha_38_, Class324 class324, Class154 class154, int i_39_, byte i_40_, int i_41_) { - try { - anInt2806++; - Class124 class124 = Class300.method2277(0, (this.aClass255_2761.aClass45_3268), anInt2756, i_40_ ^ 0x65); - if (class124 == null) return null; - if (class124.anInt1830 < 13) class124.method1092(2, i_40_ ^ ~0xb); - if (aShortArray2777 != null) { - for (int i_42_ = 0; (aShortArray2777.length > i_42_); i_42_++) { - if (aByteArray2821 == null || i_42_ >= aByteArray2821.length) class124.method1098(aShortArray2777[i_42_], (byte) 126, aShortArray2771[i_42_]); - else class124.method1098(aShortArray2777[i_42_], (byte) 126, (Class336.aShortArray4172[aByteArray2821[i_42_] & 0xff])); - } - } - if (aShortArray2785 != null) { - for (int i_43_ = 0; (aShortArray2785.length > i_43_); i_43_++) - class124.method1095(aShortArray2785[i_43_], 0, aShortArray2801[i_43_]); - } - if (class154 != null) { - for (int i_44_ = 0; i_44_ < 5; i_44_++) { - for (int i_45_ = 0; (i_45_ < Class367_Sub2.aShortArrayArrayArray7290.length); i_45_++) { - if ((Class367_Sub2.aShortArrayArrayArray7290[i_45_][i_44_]).length > class154.anIntArray2095[i_44_]) class124.method1098((Class136.aShortArrayArray4791[i_45_][i_44_]), (byte) 126, (Class367_Sub2.aShortArrayArrayArray7290[i_45_][i_44_][(class154.anIntArray2095[i_44_])])); - } - } - } - int i_46_ = 2048; - boolean bool_47_ = false; - if (anInt2786 != 128 || anInt2794 != 128 || anInt2765 != 128) { - i_46_ |= 0x7; - bool_47_ = true; - } - Class64 class64 = var_ha_38_.method3625(class124, i_46_, 64, anInt2791 + 64, 768 + anInt2824); - if (!class64.method618()) return null; - if (bool_47_) class64.O(anInt2786, anInt2794, anInt2765); - Class105 class105 = null; - if (this.anInt2833 == -1) { - if (this.anInt2812 != -1) { - class105 = (this.aClass255_2761.method1932(var_ha_38_, i_37_, i, class324, class154, 0, true, (byte) 83, var_ha, this.anInt2778, false, i_41_)); - if (class105 == null) return null; - } - } else { - class105 = (this.aClass255_2761.method1932(var_ha_38_, 0, 10, class324, class154, 0, true, (byte) 83, var_ha, this.anInt2758, true, 1)); - if (class105 == null) return null; - } - int i_48_; - if (!bool) { - if (i_41_ == 2) i_48_ = ((int) (1.04 * (double) this.anInt2825) << 2); - else i_48_ = this.anInt2825 << 2; - } else i_48_ = ((int) (1.5 * (double) this.anInt2825) << 2); - var_ha_38_.DA(16, 16, 512, 512); - Class101 class101 = var_ha_38_.method3654(); - class101.method910(); - var_ha_38_.method3638(class101); - var_ha_38_.xa(1.0F); - var_ha_38_.ZA(16777215, 1.0F, 1.0F, -50.0F, -10.0F, -50.0F); - Class101 class101_49_ = var_ha_38_.method3705(); - class101_49_.method902(-this.anInt2810 << 3); - class101_49_.method896(this.anInt2781 << 3); - class101_49_.method891(this.anInt2779 << 2, ((i_48_ * (Class70.anIntArray1207[this.anInt2787 << 3]) >> 14) - class64.fa() / 2 + (this.anInt2826 << 2)), ((i_48_ * (Class70.anIntArray1204[this.anInt2787 << 3]) >> 14) - -(this.anInt2826 << 2))); - class101_49_.method900(this.anInt2787 << 3); - int i_50_ = var_ha_38_.i(); - int i_51_ = var_ha_38_.XA(); - var_ha_38_.f(50, 2147483647); - var_ha_38_.ya(); - var_ha_38_.la(); - var_ha_38_.aa(0, 0, 36, 32, 0, 0); - class64.method615(class101_49_, null, 1); - var_ha_38_.f(i_50_, i_51_); - int[] is = var_ha_38_.na(0, 0, 36, 32); - if (i_40_ != -102) method1554(false, 37); - if (i_41_ >= 1) { - is = method1572(-16777214, -1, is); - if (i_41_ >= 2) is = method1572(-1, -1, is); - } - if (i_37_ != 0) method1571(i_37_, is, (byte) 119); - var_ha_38_.method3662(36, is, (byte) 94, 0, 36, 32).method974(0, 0); - if (this.anInt2833 == -1) { - if (this.anInt2812 != -1) class105.method974(0, 0); - } else class105.method974(0, 0); - if (i_39_ == 1 || (i_39_ == 2 && (this.anInt2820 == 1 || i != 1) && i != -1)) class324.method2576(method1557(i, i_40_ + -11517), -256, 9, 0, -16777215, i_40_ + -15); - is = var_ha_38_.na(0, 0, 36, 32); - for (int i_52_ = 0; i_52_ < is.length; i_52_++) { - if ((0xffffff & is[i_52_]) != 0) is[i_52_] = Class273.method2057(is[i_52_], -16777216); - else is[i_52_] = 0; - } - return is; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("rq.O(" + i + ',' + bool + ',' + i_37_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + (var_ha_38_ != null ? "{...}" : "null") + ',' + (class324 != null ? "{...}" : "null") + ',' + (class154 != null ? "{...}" : "null") + ',' + i_39_ + ',' + i_40_ + ',' + i_41_ + ')')); - } - } - - final void method1563(byte i) { - if (i < 32) this.anInt2752 = -31; - anInt2814++; - } - - public static void method1564(int i) { - aClass238_2773 = null; - if (i <= 54) aLong2789 = -74L; - } - - final boolean method1565(boolean bool, int i) { - anInt2780++; - int i_53_ = this.anInt2815; - int i_54_ = anInt2804; - int i_55_ = anInt2805; - if (bool) { - i_55_ = anInt2770; - i_53_ = this.anInt2788; - i_54_ = anInt2760; - } - if (i_53_ == -1) return true; - boolean bool_56_ = true; - if (!this.aClass255_2761.aClass45_3268.method420(-10499, i_53_, 0)) bool_56_ = false; - if (i_54_ != -1 && !this.aClass255_2761.aClass45_3268.method420(i ^ 0x2902, i_54_, 0)) bool_56_ = false; - if (i != i_55_ && !this.aClass255_2761.aClass45_3268.method420(-10499, i_55_, 0)) bool_56_ = false; - return bool_56_; - } - - private final void method1566(int i, int i_57_, Class348_Sub49 class348_sub49) { - try { - if (i != 4) method1564(9); - if (i_57_ != 1) { - if (i_57_ != 2) { - if (i_57_ == 4) this.anInt2825 = class348_sub49.readUnsignedShort(i ^ 0x3235f8fc); - else if (i_57_ == 5) this.anInt2787 = class348_sub49.readUnsignedShort(842397944); - else if (i_57_ == 6) this.anInt2781 = class348_sub49.readUnsignedShort(i ^ 0x3235f8fc); - else if (i_57_ == 7) { - this.anInt2779 = class348_sub49.readUnsignedShort(842397944); - if (this.anInt2779 > 32767) this.anInt2779 -= 65536; - } else if (i_57_ == 8) { - this.anInt2826 = class348_sub49.readUnsignedShort(842397944); - if (this.anInt2826 > 32767) this.anInt2826 -= 65536; - } else if (i_57_ != 11) { - if (i_57_ != 12) { - if (i_57_ == 16) this.aBoolean2783 = true; - else if (i_57_ == 18) this.anInt2802 = class348_sub49.readUnsignedShort(i ^ 0x3235f8fc); - else if (i_57_ == 23) this.anInt2815 = class348_sub49.readUnsignedShort(842397944); - else if (i_57_ == 24) anInt2804 = class348_sub49.readUnsignedShort(i ^ 0x3235f8fc); - else if (i_57_ == 25) this.anInt2788 = class348_sub49.readUnsignedShort(i + 842397940); - else if (i_57_ == 26) anInt2760 = class348_sub49.readUnsignedShort(i + 842397940); - else if (i_57_ < 30 || i_57_ >= 35) { - if (i_57_ >= 35 && i_57_ < 40) this.aStringArray2763[-35 + i_57_] = class348_sub49.readString((byte) 103); - else if (i_57_ == 40) { - int i_58_ = class348_sub49.readUnsignedByte(255); - aShortArray2777 = new short[i_58_]; - aShortArray2771 = new short[i_58_]; - for (int i_59_ = 0; i_58_ > i_59_; i_59_++) { - aShortArray2777[i_59_] = (short) (class348_sub49.readUnsignedShort(842397944)); - aShortArray2771[i_59_] = (short) (class348_sub49.readUnsignedShort(842397944)); - } - } else if (i_57_ == 41) { - int i_68_ = class348_sub49.readUnsignedByte(i + 251); - aShortArray2801 = new short[i_68_]; - aShortArray2785 = new short[i_68_]; - for (int i_69_ = 0; i_69_ < i_68_; i_69_++) { - aShortArray2785[i_69_] = (short) (class348_sub49.readUnsignedShort(842397944)); - aShortArray2801[i_69_] = (short) (class348_sub49.readUnsignedShort(842397944)); - } - } else if (i_57_ == 42) { - int i_60_ = class348_sub49.readUnsignedByte(i + 251); - aByteArray2821 = new byte[i_60_]; - for (int i_61_ = 0; i_61_ < i_60_; i_61_++) - aByteArray2821[i_61_] = class348_sub49.readByte(-114); - } else if (i_57_ == 65) this.aBoolean2755 = true; - else if (i_57_ == 78) anInt2805 = class348_sub49.readUnsignedShort(842397944); - else if (i_57_ == 79) anInt2770 = (class348_sub49.readUnsignedShort(i ^ 0x3235f8fc)); - else if (i_57_ == 90) anInt2792 = class348_sub49.readUnsignedShort(842397944); - else if (i_57_ == 91) anInt2822 = class348_sub49.readUnsignedShort(842397944); - else if (i_57_ != 92) { - if (i_57_ != 93) { - if (i_57_ != 95) { - if (i_57_ != 96) { - if (i_57_ == 97) this.anInt2758 = (class348_sub49.readUnsignedShort(842397944)); - else if (i_57_ == 98) this.anInt2833 = (class348_sub49.readUnsignedShort(842397944)); - else if ((i_57_ >= 100) && (i_57_ < 110)) { - if ((this.anIntArray2762) == null) { - this.anIntArray2831 = (new int - [10]); - this.anIntArray2762 = (new int - [10]); - } - this.anIntArray2762[i_57_ - 100] = (class348_sub49.readUnsignedShort(842397944)); - this.anIntArray2831[i_57_ + -100] = (class348_sub49.readUnsignedShort(842397944)); - } else if (i_57_ == 110) anInt2786 = (class348_sub49.readUnsignedShort(842397944)); - else if (i_57_ != 111) { - if (i_57_ == 112) anInt2765 = (class348_sub49.readUnsignedShort(842397944)); - else if (i_57_ != 113) { - if (i_57_ == 114) anInt2824 = ((class348_sub49.readByte(-90)) * 5); - else if (i_57_ == 115) this.anInt2827 = (class348_sub49.readUnsignedByte(255)); - else if (i_57_ != 121) { - if (i_57_ != 122) { - if (i_57_ == 125) { - anInt2807 = class348_sub49.readByte(-99) << 2; - anInt2797 = class348_sub49.readByte(i + -99) << 2; - anInt2808 = class348_sub49.readByte(-111) << 2; - } else if (i_57_ == 126) { - anInt2803 = class348_sub49.readByte(-121) << 2; - anInt2753 = class348_sub49.readByte(-92) << 2; - anInt2823 = class348_sub49.readByte(-93) << 2; - } else if (i_57_ == 127) { - this.anInt2752 = class348_sub49.readUnsignedByte(255); - this.anInt2759 = class348_sub49.readUnsignedShort(842397944); - } else if (i_57_ == 128) { - this.anInt2764 = class348_sub49.readUnsignedByte(255); - this.anInt2830 = class348_sub49.readUnsignedShort(842397944); - } else if (i_57_ == 129) { - this.anInt2766 = class348_sub49.readUnsignedByte(i ^ 0xfb); - this.anInt2818 = class348_sub49.readUnsignedShort(842397944); - } else if (i_57_ == 130) { - this.anInt2774 = class348_sub49.readUnsignedByte(255); - this.anInt2817 = class348_sub49.readUnsignedShort(842397944); - } else if (i_57_ == 132) { - int i_62_ = class348_sub49.readUnsignedByte(i ^ 0xfb); - this.anIntArray2772 = new int[i_62_]; - for (int i_63_ = 0; i_62_ > i_63_; i_63_++) - this.anIntArray2772[i_63_] = class348_sub49.readUnsignedShort(842397944); - } else if (i_57_ == 134) this.anInt2784 = class348_sub49.readUnsignedByte(255); - else if (i_57_ == 249) { - int i_64_ = class348_sub49.readUnsignedByte(255); - if (this.aClass356_2757 == null) { - int i_65_ = Class33.method340(i_64_, (byte) 108); - this.aClass356_2757 = new Class356(i_65_); - } - for (int i_66_ = 0; i_66_ < i_64_; i_66_++) { - boolean bool = class348_sub49.readUnsignedByte(255) == 1; - int i_67_ = class348_sub49.readMedium(-1); - Class348 class348; - if (bool) class348 = new Class348_Sub50(class348_sub49.readString((byte) 107)); - else class348 = new Class348_Sub35(class348_sub49.readInt((byte) -126)); - this.aClass356_2757.method3483((byte) 76, i_67_, class348); - } - } - } else this.anInt2812 = class348_sub49.readUnsignedShort(i + 842397940); - } else this.anInt2778 = (class348_sub49.readUnsignedShort(842397944)); - } else anInt2791 = (class348_sub49.readByte(-88)); - } else anInt2794 = (class348_sub49.readUnsignedShort(842397944)); - } else this.anInt2799 = (class348_sub49.readUnsignedByte(255)); - } else this.anInt2810 = (class348_sub49.readUnsignedShort(i + 842397940)); - } else anInt2775 = (class348_sub49.readUnsignedShort(i + 842397940)); - } else anInt2767 = class348_sub49.readUnsignedShort(842397944); - } else this.aStringArray2811[-30 + i_57_] = class348_sub49.readString((byte) 98); - } else this.anInt2819 = class348_sub49.readInt((byte) -126); - } else this.anInt2820 = 1; - } else this.aString2795 = class348_sub49.readString((byte) -42); - } else anInt2756 = class348_sub49.readUnsignedShort(i + 842397940); - anInt2754++; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("rq.L(" + i + ',' + i_57_ + ',' + (class348_sub49 != null ? "{...}" : "null") + ')')); - } - } - - final int method1567(int i, int i_70_, int i_71_) { - anInt2793++; - if (this.aClass356_2757 == null) return i; - Class348_Sub35 class348_sub35 = ((Class348_Sub35) this.aClass356_2757.method3480(i_71_, -6008)); - if (class348_sub35 == null) return i; - int i_72_ = 56 % ((-32 - i_70_) / 50); - return class348_sub35.anInt6976; - } - - static final void method1568(int[] is, int i, int i_73_, int i_74_, float[] fs, int[] is_75_, int i_76_, int i_77_, int i_78_, int i_79_, int i_80_, int i_81_, float[] fs_82_) { - try { - if (i_77_ <= 112) aLong2789 = 95L; - anInt2782++; - int i_83_ = i * i_80_ - -i_73_; - int i_84_ = i_81_ + i_79_ * i_74_; - int i_85_ = -i_76_ + i_80_; - int i_86_ = -i_76_ + i_79_; - if (is_75_ == null) { - for (int i_87_ = 0; i_78_ > i_87_; i_87_++) { - int i_88_ = i_83_ - -i_76_; - while (i_83_ < i_88_) fs[i_84_++] = fs_82_[i_83_++]; - i_83_ += i_85_; - i_84_ += i_86_; - } - } else if (fs_82_ == null) { - for (int i_91_ = 0; i_91_ < i_78_; i_91_++) { - int i_92_ = i_76_ + i_83_; - while (i_83_ < i_92_) is[i_84_++] = is_75_[i_83_++]; - i_83_ += i_85_; - i_84_ += i_86_; - } - } else { - for (int i_89_ = 0; i_78_ > i_89_; i_89_++) { - int i_90_ = i_83_ - -i_76_; - while (i_83_ < i_90_) { - is[i_84_] = is_75_[i_83_]; - fs[i_84_++] = fs_82_[i_83_++]; - } - i_83_ += i_85_; - i_84_ += i_86_; - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("rq.C(" + (is != null ? "{...}" : "null") + ',' + i + ',' + i_73_ + ',' + i_74_ + ',' + (fs != null ? "{...}" : "null") + ',' + (is_75_ != null ? "{...}" : "null") + ',' + i_76_ + ',' + i_77_ + ',' + i_78_ + ',' + i_79_ + ',' + i_80_ + ',' + i_81_ + ',' + (fs_82_ != null ? "{...}" : "null") + ')')); - } - } - - final void method1569(int i, Class348_Sub49 class348_sub49) { - try { - if (i != 768) method1565(true, -71); - for (; ; ) { - int i_93_ = class348_sub49.readUnsignedByte(i + -513); - if (i_93_ == 0) break; - method1566(4, i_93_, class348_sub49); - } - anInt2800++; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("rq.I(" + i + ',' + (class348_sub49 != null ? "{...}" : "null") + ')')); - } - } - - final void method1570(int i, Class213 class213_94_, Class213 class213_95_) { - try { - aShortArray2771 = class213_95_.aShortArray2771; - aShortArray2785 = class213_95_.aShortArray2785; - aByteArray2821 = class213_95_.aByteArray2821; - this.aBoolean2783 = class213_94_.aBoolean2783; - this.anInt2787 = class213_95_.anInt2787; - this.anInt2810 = class213_95_.anInt2810; - anInt2776++; - this.anInt2779 = class213_95_.anInt2779; - aShortArray2801 = class213_95_.aShortArray2801; - this.anInt2781 = class213_95_.anInt2781; - this.anInt2819 = class213_94_.anInt2819; - this.anInt2826 = class213_95_.anInt2826; - this.anInt2820 = i; - aShortArray2777 = class213_95_.aShortArray2777; - this.anInt2825 = class213_95_.anInt2825; - this.aString2795 = class213_94_.aString2795; - anInt2756 = class213_95_.anInt2756; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("rq.F(" + i + ',' + (class213_94_ != null ? "{...}" : "null") + ',' + (class213_95_ != null ? "{...}" : "null") + ')')); - } - } - - private final void method1571(int i, int[] is, byte i_96_) { - try { - if (i_96_ <= 81) anInt2805 = -46; - for (int i_97_ = 31; i_97_ > 0; i_97_--) { - int i_98_ = 36 * i_97_; - for (int i_99_ = 35; i_99_ > 0; i_99_--) { - if (is[i_99_ - -i_98_] == 0 && is[i_99_ + i_98_ - 1 + -36] != 0) is[i_98_ + i_99_] = i; - } - } - anInt2790++; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("rq.M(" + i + ',' + (is != null ? "{...}" : "null") + ',' + i_96_ + ')')); - } - } - - public Class213() { - this.anInt2766 = -1; - anInt2775 = -1; - anInt2765 = 128; - this.anInt2778 = -1; - this.anInt2758 = -1; - this.aString2795 = "null"; - anInt2794 = 128; - this.anInt2799 = 0; - this.anInt2788 = -1; - this.anInt2784 = 0; - anInt2804 = -1; - anInt2792 = -1; - this.aBoolean2755 = false; - this.anInt2787 = 0; - this.anInt2812 = -1; - this.anInt2810 = 0; - anInt2767 = -1; - anInt2760 = -1; - this.anInt2817 = -1; - this.anInt2779 = 0; - anInt2786 = 128; - anInt2808 = 0; - anInt2803 = 0; - anInt2822 = -1; - this.anInt2815 = -1; - anInt2823 = 0; - this.anInt2818 = -1; - this.anInt2781 = 0; - this.anInt2774 = -1; - this.anInt2826 = 0; - anInt2807 = 0; - anInt2791 = 0; - anInt2805 = -1; - this.anInt2764 = -1; - this.anInt2820 = 0; - this.anInt2759 = -1; - this.anInt2802 = -1; - anInt2797 = 0; - this.anInt2830 = -1; - this.anInt2827 = 0; - anInt2824 = 0; - this.anInt2819 = 1; - anInt2753 = 0; - this.anInt2825 = 2000; - this.anInt2833 = -1; - this.aBoolean2783 = false; - } - - private final int[] method1572(int i, int i_100_, int[] is) { - try { - anInt2829++; - if (i_100_ != -1) return null; - int[] is_101_ = new int[1152]; - int i_102_ = 0; - for (int i_103_ = 0; i_103_ < 32; i_103_++) { - for (int i_104_ = 0; i_104_ < 36; i_104_++) { - int i_105_ = is[i_102_]; - if (i_105_ == 0) { - if (i_104_ <= 0 || is[i_102_ - 1] == 0) { - if (i_103_ > 0 && is[-36 + i_102_] != 0) i_105_ = i; - else if (i_104_ < 35 && is[i_102_ + 1] != 0) i_105_ = i; - else if (i_103_ < 31 && is[i_102_ + 36] != 0) i_105_ = i; - } else i_105_ = i; - } - is_101_[i_102_++] = i_105_; - } - } - return is_101_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("rq.K(" + i + ',' + i_100_ + ',' + (is != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class214.java b/client/src/Class214.java deleted file mode 100644 index 1a9c480e6..000000000 --- a/client/src/Class214.java +++ /dev/null @@ -1,237 +0,0 @@ -/* Class214 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class214 { - static final void method1573(int[] is, int i, int i_0_) { - i_0_ = i + i_0_ - 7; - while (i < i_0_) { - is[i++] = 0; - is[i++] = 0; - is[i++] = 0; - is[i++] = 0; - is[i++] = 0; - is[i++] = 0; - is[i++] = 0; - is[i++] = 0; - } - i_0_ += 7; - while (i < i_0_) is[i++] = 0; - } - - static final void method1574(float[] fs, int i, float[] fs_1_, int i_2_, int i_3_) { - if (fs == fs_1_) { - if (i == i_2_) return; - if (i_2_ > i && i_2_ < i + i_3_) { - i_3_--; - i += i_3_; - i_2_ += i_3_; - i_3_ = i - i_3_; - i_3_ += 7; - while (i >= i_3_) { - fs_1_[i_2_--] = fs[i--]; - fs_1_[i_2_--] = fs[i--]; - fs_1_[i_2_--] = fs[i--]; - fs_1_[i_2_--] = fs[i--]; - fs_1_[i_2_--] = fs[i--]; - fs_1_[i_2_--] = fs[i--]; - fs_1_[i_2_--] = fs[i--]; - fs_1_[i_2_--] = fs[i--]; - } - i_3_ -= 7; - while (i >= i_3_) fs_1_[i_2_--] = fs[i--]; - return; - } - } - i_3_ += i; - i_3_ -= 7; - while (i < i_3_) { - fs_1_[i_2_++] = fs[i++]; - fs_1_[i_2_++] = fs[i++]; - fs_1_[i_2_++] = fs[i++]; - fs_1_[i_2_++] = fs[i++]; - fs_1_[i_2_++] = fs[i++]; - fs_1_[i_2_++] = fs[i++]; - fs_1_[i_2_++] = fs[i++]; - fs_1_[i_2_++] = fs[i++]; - } - i_3_ += 7; - while (i < i_3_) fs_1_[i_2_++] = fs[i++]; - } - - static final void method1575(Object[] objects, int i, Object[] objects_4_, int i_5_, int i_6_) { - if (objects == objects_4_) { - if (i == i_5_) return; - if (i_5_ > i && i_5_ < i + i_6_) { - i_6_--; - i += i_6_; - i_5_ += i_6_; - i_6_ = i - i_6_; - i_6_ += 7; - while (i >= i_6_) { - objects_4_[i_5_--] = objects[i--]; - objects_4_[i_5_--] = objects[i--]; - objects_4_[i_5_--] = objects[i--]; - objects_4_[i_5_--] = objects[i--]; - objects_4_[i_5_--] = objects[i--]; - objects_4_[i_5_--] = objects[i--]; - objects_4_[i_5_--] = objects[i--]; - objects_4_[i_5_--] = objects[i--]; - } - i_6_ -= 7; - while (i >= i_6_) objects_4_[i_5_--] = objects[i--]; - return; - } - } - i_6_ += i; - i_6_ -= 7; - while (i < i_6_) { - objects_4_[i_5_++] = objects[i++]; - objects_4_[i_5_++] = objects[i++]; - objects_4_[i_5_++] = objects[i++]; - objects_4_[i_5_++] = objects[i++]; - objects_4_[i_5_++] = objects[i++]; - objects_4_[i_5_++] = objects[i++]; - objects_4_[i_5_++] = objects[i++]; - objects_4_[i_5_++] = objects[i++]; - } - i_6_ += 7; - while (i < i_6_) objects_4_[i_5_++] = objects[i++]; - } - - static final void method1576(short[] is, int i, short[] is_7_, int i_8_, int i_9_) { - if (is == is_7_) { - if (i == i_8_) return; - if (i_8_ > i && i_8_ < i + i_9_) { - i_9_--; - i += i_9_; - i_8_ += i_9_; - i_9_ = i - i_9_; - i_9_ += 7; - while (i >= i_9_) { - is_7_[i_8_--] = is[i--]; - is_7_[i_8_--] = is[i--]; - is_7_[i_8_--] = is[i--]; - is_7_[i_8_--] = is[i--]; - is_7_[i_8_--] = is[i--]; - is_7_[i_8_--] = is[i--]; - is_7_[i_8_--] = is[i--]; - is_7_[i_8_--] = is[i--]; - } - i_9_ -= 7; - while (i >= i_9_) is_7_[i_8_--] = is[i--]; - return; - } - } - i_9_ += i; - i_9_ -= 7; - while (i < i_9_) { - is_7_[i_8_++] = is[i++]; - is_7_[i_8_++] = is[i++]; - is_7_[i_8_++] = is[i++]; - is_7_[i_8_++] = is[i++]; - is_7_[i_8_++] = is[i++]; - is_7_[i_8_++] = is[i++]; - is_7_[i_8_++] = is[i++]; - is_7_[i_8_++] = is[i++]; - } - i_9_ += 7; - while (i < i_9_) is_7_[i_8_++] = is[i++]; - } - - static final void method1577(byte[] is, int i, byte[] is_10_, int i_11_, int i_12_) { - if (is == is_10_) { - if (i == i_11_) return; - if (i_11_ > i && i_11_ < i + i_12_) { - i_12_--; - i += i_12_; - i_11_ += i_12_; - i_12_ = i - i_12_; - i_12_ += 7; - while (i >= i_12_) { - is_10_[i_11_--] = is[i--]; - is_10_[i_11_--] = is[i--]; - is_10_[i_11_--] = is[i--]; - is_10_[i_11_--] = is[i--]; - is_10_[i_11_--] = is[i--]; - is_10_[i_11_--] = is[i--]; - is_10_[i_11_--] = is[i--]; - is_10_[i_11_--] = is[i--]; - } - i_12_ -= 7; - while (i >= i_12_) is_10_[i_11_--] = is[i--]; - return; - } - } - i_12_ += i; - i_12_ -= 7; - while (i < i_12_) { - is_10_[i_11_++] = is[i++]; - is_10_[i_11_++] = is[i++]; - is_10_[i_11_++] = is[i++]; - is_10_[i_11_++] = is[i++]; - is_10_[i_11_++] = is[i++]; - is_10_[i_11_++] = is[i++]; - is_10_[i_11_++] = is[i++]; - is_10_[i_11_++] = is[i++]; - } - i_12_ += 7; - while (i < i_12_) is_10_[i_11_++] = is[i++]; - } - - static final void method1578(int[] is, int i, int[] is_13_, int i_14_, int i_15_) { - if (is == is_13_) { - if (i == i_14_) return; - if (i_14_ > i && i_14_ < i + i_15_) { - i_15_--; - i += i_15_; - i_14_ += i_15_; - i_15_ = i - i_15_; - i_15_ += 7; - while (i >= i_15_) { - is_13_[i_14_--] = is[i--]; - is_13_[i_14_--] = is[i--]; - is_13_[i_14_--] = is[i--]; - is_13_[i_14_--] = is[i--]; - is_13_[i_14_--] = is[i--]; - is_13_[i_14_--] = is[i--]; - is_13_[i_14_--] = is[i--]; - is_13_[i_14_--] = is[i--]; - } - i_15_ -= 7; - while (i >= i_15_) is_13_[i_14_--] = is[i--]; - return; - } - } - i_15_ += i; - i_15_ -= 7; - while (i < i_15_) { - is_13_[i_14_++] = is[i++]; - is_13_[i_14_++] = is[i++]; - is_13_[i_14_++] = is[i++]; - is_13_[i_14_++] = is[i++]; - is_13_[i_14_++] = is[i++]; - is_13_[i_14_++] = is[i++]; - is_13_[i_14_++] = is[i++]; - is_13_[i_14_++] = is[i++]; - } - i_15_ += 7; - while (i < i_15_) is_13_[i_14_++] = is[i++]; - } - - static final void method1579(int[] is, int i, int i_16_, int i_17_) { - i_16_ = i + i_16_ - 7; - while (i < i_16_) { - is[i++] = i_17_; - is[i++] = i_17_; - is[i++] = i_17_; - is[i++] = i_17_; - is[i++] = i_17_; - is[i++] = i_17_; - is[i++] = i_17_; - is[i++] = i_17_; - } - i_16_ += 7; - while (i < i_16_) is[i++] = i_17_; - } -} diff --git a/client/src/Class215.java b/client/src/Class215.java deleted file mode 100644 index b3e5da7dd..000000000 --- a/client/src/Class215.java +++ /dev/null @@ -1,128 +0,0 @@ -/* Class215 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; - -final class Class215 { - static int anInt2834 = 0; - static int anInt2835; - static float aFloat2836; - static int anInt2837; - static int anInt2838; - static int anInt2839; - - static final void method1580(byte i, boolean bool, int i_0_, int i_1_, int i_2_, int i_3_) { - if (Class34.aFrame476 != null && (i_2_ != 3 || i_0_ != Class346.anInt4276 || i_3_ != Class239_Sub8.anInt5911)) { - Class56.method527(Class34.aFrame476, Class348_Sub23_Sub1.aClass297_8992, false); - Class34.aFrame476 = null; - } - anInt2839++; - int i_4_ = -33 / ((-74 - i) / 51); - if (i_2_ == 3 && Class34.aFrame476 == null) { - Class34.aFrame476 = Class318_Sub1_Sub3_Sub4.method2463(i_3_, i_0_, (Class348_Sub23_Sub1.aClass297_8992), 0, 14199, 0); - if (Class34.aFrame476 != null) { - Class346.anInt4276 = i_0_; - Class239_Sub8.anInt5911 = i_3_; - Class14_Sub2.method243(37); - } - } - if (i_2_ == 3 && Class34.aFrame476 == null) method1580((byte) -126, true, -1, i_1_, Class316.aClass348_Sub51_3959.aClass239_Sub8_7227.method1751(-32350), -1); - else { - java.awt.Container container; - if (Class34.aFrame476 != null) { - Class348_Sub22.anInt6857 = i_3_; - Class272.anInt3473 = i_0_; - container = Class34.aFrame476; - } else if (Class52.aFrame4904 == null) { - if (Class93.anApplet1530 == null) container = Class348_Sub40_Sub9.anApplet_Sub1_9169; - else container = Class93.anApplet1530; - Class272.anInt3473 = container.getSize().width; - Class348_Sub22.anInt6857 = container.getSize().height; - } else { - Insets insets = Class52.aFrame4904.getInsets(); - Class272.anInt3473 = Class52.aFrame4904.getSize().width + (-insets.left + -insets.right); - Class348_Sub22.anInt6857 = Class52.aFrame4904.getSize().height - (insets.top - -insets.bottom); - container = Class52.aFrame4904; - } - if (i_2_ == 1) { - Class321.anInt4017 = Class92.anInt1524; - Class348_Sub42_Sub8_Sub2.anInt10432 = ha_Sub2.anInt7666; - Class348_Sub48.anInt7129 = (Class272.anInt3473 + -Class92.anInt1524) / 2; - Class335.anInt4167 = 0; - } else Class286_Sub5.method2158((byte) 56); - if (Class55_Sub1.aClass364_5271 != Class8.aClass364_165) { - if (Class321.anInt4017 < 1024 && (Class348_Sub42_Sub8_Sub2.anInt10432 < 768)) { - /* empty */ - } - } - if (bool) Class348_Sub47.method3327(1406); - else { - Class305.aCanvas3869.setSize(Class321.anInt4017, (Class348_Sub42_Sub8_Sub2.anInt10432)); - if (!Class59_Sub1.aBoolean5300) Class348_Sub8.aHa6654.method3669(Class305.aCanvas3869, Class321.anInt4017, (Class348_Sub42_Sub8_Sub2.anInt10432)); - else s.method3980(86, Class305.aCanvas3869); - if (Class52.aFrame4904 == container) { - Insets insets = Class52.aFrame4904.getInsets(); - Class305.aCanvas3869.setLocation((Class348_Sub48.anInt7129 + insets.left), (insets.top - -Class335.anInt4167)); - } else Class305.aCanvas3869.setLocation(Class348_Sub48.anInt7129, Class335.anInt4167); - } - Class50_Sub1.aBoolean5219 = i_2_ >= 2; - if (r.anInt9721 != -1) Class239.method1713(true, 520); - if (Class348_Sub40_Sub8.aClass238_9165 != null && Class334.method2653(true, Class240.anInt4674)) Class286_Sub2.method2145(-24498); - for (int i_5_ = 0; i_5_ < 100; i_5_++) - Class152.aBooleanArray2076[i_5_] = true; - Class49.aBoolean4726 = true; - } - } - - static final boolean method1581(int i, char c) { - anInt2838++; - if (i >= -18) return false; - return (c >= 65 && c <= 90) || (c >= 97 && c <= 122); - } - - static final void method1582(int i) { - anInt2837++; - if (i == 7851) { - do { - try { - if (Class348_Sub43.anInt7068 == 1) { - int i_6_ = Class98.aClass348_Sub16_Sub3_1564.method2844((byte) 123); - if (i_6_ > 0 && Class98.aClass348_Sub16_Sub3_1564.method2860(124)) { - i_6_ -= Class239_Sub14.anInt5994; - if (i_6_ < 0) i_6_ = 0; - Class98.aClass348_Sub16_Sub3_1564.method2861(0, i_6_); - break; - } - Class98.aClass348_Sub16_Sub3_1564.method2877(-128); - Class98.aClass348_Sub16_Sub3_1564.method2867(i ^ 0x1eaf); - Class141.aClass26_1977 = null; - if (Class124.aClass45_1848 != null) Class348_Sub43.anInt7068 = 2; - else Class348_Sub43.anInt7068 = 0; - Class286.aClass348_Sub2_3683 = null; - } - if (Class348_Sub43.anInt7068 != 3) break; - int i_7_ = Class98.aClass348_Sub16_Sub3_1564.method2844((byte) -87); - if (i_7_ < Class58.anInt1059 && Class98.aClass348_Sub16_Sub3_1564.method2860(95)) { - i_7_ += Class348_Sub40_Sub35.anInt9444; - if (Class58.anInt1059 < i_7_) i_7_ = Class58.anInt1059; - Class98.aClass348_Sub16_Sub3_1564.method2861(i ^ 0x1eab, i_7_); - } else { - Class348_Sub40_Sub35.anInt9444 = 0; - Class348_Sub43.anInt7068 = 0; - } - } catch (Exception exception) { - exception.printStackTrace(); - Class98.aClass348_Sub16_Sub3_1564.method2877(-128); - Class124.aClass45_1848 = null; - Class286.aClass348_Sub2_3683 = null; - Class285.aClass348_Sub16_Sub3_4743 = null; - Class141.aClass26_1977 = null; - Class348_Sub43.anInt7068 = 0; - break; - } - break; - } while (false); - } - } -} diff --git a/client/src/Class216.java b/client/src/Class216.java deleted file mode 100644 index 524e5e370..000000000 --- a/client/src/Class216.java +++ /dev/null @@ -1,46 +0,0 @@ -/* Class216 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class216 implements Interface13 { - int anInt4974; - static Class45 aClass45_4975; - static int anInt4976; - static int anInt4977; - int anInt4978; - static int anInt4979; - float[] aFloatArray4980; - - static final void method1583(byte i) { - anInt4977++; - if (r.anInt9721 != -1) { - int i_0_ = Class258_Sub4.aClass373_8552.method3597(true); - int i_1_ = Class258_Sub4.aClass373_8552.method3594((byte) 72); - Class348_Sub45 class348_sub45 = ((Class348_Sub45) Class318_Sub1_Sub3.aClass262_8744.method1995(4)); - if (class348_sub45 != null) { - i_0_ = class348_sub45.method3308((byte) -128); - i_1_ = class348_sub45.method3311(58); - } - int i_2_ = 0; - if (i != -73) anInt4976 = 105; - int i_3_ = 0; - if (Class59_Sub1.aBoolean5300) { - i_2_ = s_Sub3.method4008((byte) -128); - i_3_ = Class16.method260(false); - } - Class182.method1373(r.anInt9721, i_2_, i_2_, Class321.anInt4017 + i_2_, i_1_, i_0_, -1391, i_0_ + i_2_, Class348_Sub42_Sub8_Sub2.anInt10432 + i_3_, i_3_, i_3_ + i_1_, i_3_); - if (Class168.aClass46_2249 != null) Class228.method1630(0, i_3_ + i_1_, i_2_ + i_0_); - } - } - - public static void method1584(byte i) { - if (i != -64) method1584((byte) -48); - aClass45_4975 = null; - } - - Class216(int i, int i_4_) { - this.anInt4978 = i_4_; - this.anInt4974 = i; - this.aFloatArray4980 = new float[i * i_4_]; - } -} diff --git a/client/src/Class217.java b/client/src/Class217.java deleted file mode 100644 index 3f8172f69..000000000 --- a/client/src/Class217.java +++ /dev/null @@ -1,80 +0,0 @@ -/* Class217 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class217 { - static int anInt2840; - static int anInt2841; - private final Class45 aClass45_2842; - static int anInt2843; - static Class60 aClass60_2844 = new Class60(64); - int anInt2845; - static int anInt2846; - static int anInt2847; - private Class60 aClass60_2848 = new Class60(64); - - public static void method1585(int i) { - if (i != -1) method1585(-34); - aClass60_2844 = null; - } - - static final void method1586(boolean bool, byte i, String string) { - if (i >= -51) aClass60_2844 = null; - anInt2840++; - Class16.method259(-1, 113, bool, string, -1); - } - - final void method1587(int i, int i_0_) { - if (i_0_ != 3758) aClass60_2848 = null; - synchronized (aClass60_2848) { - aClass60_2848.method578(2, i); - } - anInt2841++; - } - - final Class159 method1588(int i, int i_1_) { - anInt2847++; - Class159 class159; - synchronized (aClass60_2848) { - class159 = (Class159) aClass60_2848.method583(i_1_, -126); - } - if (class159 != null) return class159; - byte[] is; - synchronized (aClass45_2842) { - is = aClass45_2842.method410(-1860, 16, i_1_); - if (i >= -17) aClass60_2848 = null; - } - class159 = new Class159(); - if (is != null) class159.method1253(new Class348_Sub49(is), true); - synchronized (aClass60_2848) { - aClass60_2848.method582(class159, i_1_, (byte) -124); - } - return class159; - } - - final void method1589(byte i) { - anInt2843++; - synchronized (aClass60_2848) { - aClass60_2848.method590(0); - } - if (i < 126) method1588(-98, -35); - } - - final void method1590(int i) { - anInt2846++; - if (i != 0) this.anInt2845 = -97; - synchronized (aClass60_2848) { - aClass60_2848.method587(i ^ ~0x6b); - } - } - - Class217(Class230 class230, int i, Class45 class45) { - try { - aClass45_2842 = class45; - if (aClass45_2842 != null) this.anInt2845 = aClass45_2842.method407(0, 16); - else this.anInt2845 = 0; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("rv.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class218.java b/client/src/Class218.java deleted file mode 100644 index 8c443b402..000000000 --- a/client/src/Class218.java +++ /dev/null @@ -1,112 +0,0 @@ -/* Class218 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class218 { - static int anInt2849; - static int anInt2850; - Class141 aClass141_2851; - static int anInt2852; - int anInt2853; - boolean aBoolean2854 = false; - static int anInt2855; - int anInt2856; - static int anInt2857; - static int anInt2858; - static Class262 aClass262_2859 = new Class262(); - static Class114 aClass114_2860; - static int anInt2861 = 1401; - - static final void method1591(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_) { - anInt2855++; - if (i >= 1 && i_5_ >= 1 && -2 + Class367_Sub4.anInt7319 >= i && i_5_ <= -2 + Class348_Sub40_Sub3.anInt9109) { - int i_8_ = i_7_; - if (i_8_ < 3 && Class79.method802(i_5_, i, true)) i_8_++; - if ((Class316.aClass348_Sub51_3959.aClass239_Sub27_7261.method1840(-32350) == 0 && !Class58.method536(i_5_, false, i, Class167.anInt2204, i_8_)) || Class147.aClass357ArrayArrayArray2029 == null) return; - Class338.aClass237_Sub1_4197.method1694((Class348_Sub45.aClass361Array7108[i_7_]), i_1_, i_7_, Class348_Sub8.aHa6654, i, i_5_, (byte) 106); - if (i_3_ >= 0) { - int i_9_ = Class316.aClass348_Sub51_3959.aClass239_Sub4_7220.method1737(-32350); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub4_7220), 1); - Class338.aClass237_Sub1_4197.method1689(i, i_7_, i_3_, Class348_Sub8.aHa6654, i_8_, 50, i_4_, i_5_, i_2_, i_6_, (Class348_Sub45.aClass361Array7108[i_7_])); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub4_7220), i_9_); - } - } - if (i_0_ < 12) aClass262_2859 = null; - } - - static final void method1592(byte i, int i_10_, int i_11_, int i_12_, Player player) { - anInt2849++; - int i_13_ = (player.anIntArray10320[0]); - int i_14_ = (player.anIntArray10317[0]); - if (i_13_ >= 0 && Class367_Sub4.anInt7319 > i_13_ && i_14_ >= 0 && i_14_ < Class348_Sub40_Sub3.anInt9109 && (i_12_ >= 0 && i_12_ < Class367_Sub4.anInt7319 && i_10_ >= 0 && Class348_Sub40_Sub3.anInt9109 > i_10_)) { - int i_15_ = (Class59_Sub2_Sub2.method574(i_12_, player.method2436((byte) 62), 0, Class348_Sub40_Sub11.anIntArray9185, true, (byte) 120, -4, i_13_, i_14_, Class348_Sub42_Sub14.anIntArray9626, i_10_, (Class348_Sub45.aClass361Array7108[(player.plane)]), 0, 0, 0)); - if (i_15_ >= 1) { - if (i_11_ != 4) aClass262_2859 = null; - if (i_15_ <= 3) { - for (int i_16_ = 0; i_16_ < -1 + i_15_; i_16_++) - player.method2451(i, Class348_Sub42_Sub14.anIntArray9626[i_16_], i_11_ + -29038, Class348_Sub40_Sub11.anIntArray9185[i_16_]); - } - } - } - } - - public Class218() { - /* empty */ - } - - final boolean method1593(int i) { - if (i != 106) this.aClass141_2851 = null; - anInt2858++; - return this.aClass141_2851.aClass45_1965.method421(false, this.anInt2853); - } - - public static void method1594(int i) { - aClass262_2859 = null; - if (i != -1966608624) aClass262_2859 = null; - aClass114_2860 = null; - } - - private final void method1595(byte i, int i_17_, Class348_Sub49 class348_sub49) { - anInt2852++; - if (i >= 5) { - if (i_17_ == 1) this.anInt2853 = class348_sub49.readUnsignedShort(842397944); - else if (i_17_ != 2) { - if (i_17_ == 3) this.aBoolean2854 = true; - else if (i_17_ == 4) this.anInt2853 = -1; - } else this.anInt2856 = class348_sub49.readMedium(-1); - } - } - - final Class105 method1596(int i, boolean bool, int i_18_, ha var_ha) { - anInt2857++; - if (i_18_ < 51) aClass114_2860 = null; - long l = var_ha.anInt4567 << 19 | (this.anInt2853 | i << 16 | (!bool ? 0 : 262144)); - Class105 class105 = (Class105) this.aClass141_2851.aClass60_1976.method583(l, -87); - if (class105 != null) return class105; - if (!this.aClass141_2851.aClass45_1965.method421(false, this.anInt2853)) return null; - Class207 class207 = Class207.method1521(this.aClass141_2851.aClass45_1965, this.anInt2853, 0); - if (class207 != null) { - class207.anInt2701 = class207.anInt2703 = class207.anInt2698 = class207.anInt2700 = 0; - if (bool) class207.method1514(); - for (int i_19_ = 0; i_19_ < i; i_19_++) - class207.method1520(); - } - class105 = var_ha.method3691(class207, true); - if (class105 != null) this.aClass141_2851.aClass60_1976.method582(class105, l, (byte) -101); - return class105; - } - - final void method1597(byte i, Class348_Sub49 class348_sub49) { - anInt2850++; - for (; ; ) { - int i_20_ = class348_sub49.readUnsignedByte(255); - if (i_20_ == 0) break; - method1595((byte) 61, i_20_, class348_sub49); - } - if (i != -114) aClass262_2859 = null; - } - - static { - aClass114_2860 = new Class114(106, 8); - } -} diff --git a/client/src/Class219.java b/client/src/Class219.java deleted file mode 100644 index b9a3952d8..000000000 --- a/client/src/Class219.java +++ /dev/null @@ -1,258 +0,0 @@ -/* Class219 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class219 { - Class60 aClass60_2862 = new Class60(20); - static int anInt2863; - static Class196 aClass196_2864 = new Class196(); - static int anInt2865; - private final Class45 aClass45_2866; - static int anInt2867; - static Class223 aClass223_2868 = new Class223(0, 1); - static int anInt2869; - static int anInt2870; - static byte aByte2871; - static int anInt2872 = 0; - Class45 aClass45_2873; - static int anInt2874; - private final Class60 aClass60_2875 = new Class60(64); - - final void method1598(int i) { - anInt2863++; - synchronized (aClass60_2875) { - aClass60_2875.method587(-103); - } - synchronized (this.aClass60_2862) { - if (i <= 42) method1598(36); - this.aClass60_2862.method587(-126); - } - } - - static final boolean method1599(byte i, int i_0_, int i_1_) { - anInt2869++; - if (i > -65) return false; - return (i_0_ & 0xc580) != 0; - } - - static final void method1600(boolean bool, int i, Class318_Sub1_Sub3_Sub3 class318_sub1_sub3_sub3) { - anInt2867++; - Class225 class225 = class318_sub1_sub3_sub3.method2422((byte) 72); - if (class318_sub1_sub3_sub3.anInt10319 == 0) { - class318_sub1_sub3_sub3.anInt10326 = 0; - Class235.anInt3062 = -1; - Class127_Sub1.anInt8387 = 0; - } else { - if (i != (~(class318_sub1_sub3_sub3.anInt10286)) && (class318_sub1_sub3_sub3.anInt10218) == 0) { - Class17 class17 = (Class10.aClass87_191.method835((class318_sub1_sub3_sub3.anInt10286), i + 7)); - if ((class318_sub1_sub3_sub3.anInt10322) > 0 && class17.anInt262 == 0) { - Class235.anInt3062 = -1; - Class127_Sub1.anInt8387 = 0; - class318_sub1_sub3_sub3.anInt10326++; - return; - } - if ((class318_sub1_sub3_sub3.anInt10322) <= 0 && class17.anInt245 == 0) { - Class127_Sub1.anInt8387 = 0; - Class235.anInt3062 = -1; - class318_sub1_sub3_sub3.anInt10326++; - return; - } - } - if (class318_sub1_sub3_sub3.anInt10269 != -1 && (class318_sub1_sub3_sub3.anInt10225) <= Class367_Sub11.anInt7396) { - Class368 class368 = (Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 118, (class318_sub1_sub3_sub3.anInt10269))); - if (class368.aBoolean4487 && class368.anInt4503 != -1) { - Class17 class17 = Class10.aClass87_191.method835(class368.anInt4503, 7); - if ((class318_sub1_sub3_sub3.anInt10322) > 0 && class17.anInt262 == 0) { - Class127_Sub1.anInt8387 = 0; - class318_sub1_sub3_sub3.anInt10326++; - Class235.anInt3062 = -1; - return; - } - if ((class318_sub1_sub3_sub3.anInt10322) <= 0 && class17.anInt245 == 0) { - Class235.anInt3062 = -1; - Class127_Sub1.anInt8387 = 0; - class318_sub1_sub3_sub3.anInt10326++; - return; - } - } - } - if (class318_sub1_sub3_sub3.anInt10269 != -1 && ((class318_sub1_sub3_sub3.anInt10225) <= Class367_Sub11.anInt7396)) { - Class368 class368 = (Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 98, (class318_sub1_sub3_sub3.anInt10269))); - if (class368.aBoolean4487 && class368.anInt4503 != -1) { - Class17 class17 = Class10.aClass87_191.method835((class368.anInt4503), i ^ 0x7); - if ((class318_sub1_sub3_sub3.anInt10322) > 0 && class17.anInt262 == 0) { - Class127_Sub1.anInt8387 = 0; - class318_sub1_sub3_sub3.anInt10326++; - Class235.anInt3062 = -1; - return; - } - if ((class318_sub1_sub3_sub3.anInt10322) <= 0 && class17.anInt245 == 0) { - Class235.anInt3062 = -1; - Class127_Sub1.anInt8387 = 0; - class318_sub1_sub3_sub3.anInt10326++; - return; - } - } - } - int i_2_ = class318_sub1_sub3_sub3.x; - int i_3_ = class318_sub1_sub3_sub3.y; - int i_4_ = (512 * (class318_sub1_sub3_sub3.anIntArray10320[-1 + class318_sub1_sub3_sub3.anInt10319]) + class318_sub1_sub3_sub3.method2436((byte) 117) * 256); - int i_5_ = (512 * (class318_sub1_sub3_sub3.anIntArray10317[-1 + class318_sub1_sub3_sub3.anInt10319]) - -(class318_sub1_sub3_sub3.method2436((byte) 72) * 256)); - if (i_2_ >= i_4_) { - if (i_4_ < i_2_) { - if (i_5_ > i_3_) class318_sub1_sub3_sub3.method2440((byte) 49, 6144); - else if (i_5_ < i_3_) class318_sub1_sub3_sub3.method2440((byte) 49, 2048); - else class318_sub1_sub3_sub3.method2440((byte) 49, 4096); - } else if (i_5_ <= i_3_) { - if (i_3_ > i_5_) class318_sub1_sub3_sub3.method2440((byte) 49, 0); - } else class318_sub1_sub3_sub3.method2440((byte) 49, 8192); - } else if (i_3_ >= i_5_) { - if (i_5_ < i_3_) class318_sub1_sub3_sub3.method2440((byte) 49, 14336); - else class318_sub1_sub3_sub3.method2440((byte) 49, 12288); - } else class318_sub1_sub3_sub3.method2440((byte) 49, 10240); - byte i_6_ = (class318_sub1_sub3_sub3.aByteArray10321[-1 + (class318_sub1_sub3_sub3.anInt10319)]); - if (!bool && (i_4_ - i_2_ > 1024 || i_4_ + -i_2_ < -1024 || -i_3_ + i_5_ > 1024 || i_5_ + -i_3_ < -1024)) { - class318_sub1_sub3_sub3.y = i_5_; - class318_sub1_sub3_sub3.x = i_4_; - class318_sub1_sub3_sub3.method2435((byte) -108, (class318_sub1_sub3_sub3.anInt10282), false); - Class235.anInt3062 = -1; - class318_sub1_sub3_sub3.anInt10319--; - if ((class318_sub1_sub3_sub3.anInt10322) > 0) class318_sub1_sub3_sub3.anInt10322--; - Class127_Sub1.anInt8387 = 0; - } else { - int i_7_ = 16; - boolean bool_8_ = true; - if (class318_sub1_sub3_sub3 instanceof Npc) bool_8_ = ((Npc) class318_sub1_sub3_sub3).aClass79_10505.aBoolean1331; - if (bool_8_) { - int i_9_ = ((class318_sub1_sub3_sub3.anInt10282) - class318_sub1_sub3_sub3.aClass264_10217.anInt3370); - if (i_9_ != 0 && class318_sub1_sub3_sub3.anInt10275 == -1 && (class318_sub1_sub3_sub3.anInt10310) != 0) i_7_ = 8; - if (!bool && (class318_sub1_sub3_sub3.anInt10319) > 2) i_7_ = 24; - if (!bool && (class318_sub1_sub3_sub3.anInt10319) > 3) i_7_ = 32; - } else { - if (!bool && class318_sub1_sub3_sub3.anInt10319 > 1) i_7_ = 24; - if (!bool && class318_sub1_sub3_sub3.anInt10319 > 2) i_7_ = 32; - } - if ((class318_sub1_sub3_sub3.anInt10326) > 0 && (class318_sub1_sub3_sub3.anInt10319) > 1) { - i_7_ = 32; - class318_sub1_sub3_sub3.anInt10326--; - } - if (i_6_ == 2) i_7_ <<= 1; - else if (i_6_ == 0) i_7_ >>= 1; - Class127_Sub1.anInt8387 = 0; - if (class225.anInt2945 != -1) { - i_7_ <<= 9; - if ((class318_sub1_sub3_sub3.anInt10319) == 1) { - int i_10_ = (class318_sub1_sub3_sub3.anInt10325 * class318_sub1_sub3_sub3.anInt10325); - int i_11_ = ((i_4_ >= class318_sub1_sub3_sub3.x ? -(class318_sub1_sub3_sub3.x) + i_4_ : (class318_sub1_sub3_sub3.x) + -i_4_) << 9); - int i_12_ = (((class318_sub1_sub3_sub3.y) <= i_5_ ? i_5_ - class318_sub1_sub3_sub3.y : (class318_sub1_sub3_sub3.y) + -i_5_) << 9); - int i_13_ = Math.max(i_12_, i_11_); - int i_14_ = class225.anInt2945 * 2 * i_13_; - if (i_10_ <= i_14_) { - if (i_13_ < i_10_ / 2) { - class318_sub1_sub3_sub3.anInt10325 -= class225.anInt2945; - if (class318_sub1_sub3_sub3.anInt10325 < 0) class318_sub1_sub3_sub3.anInt10325 = 0; - } else if (i_7_ > class318_sub1_sub3_sub3.anInt10325) { - class318_sub1_sub3_sub3.anInt10325 += class225.anInt2945; - if (class318_sub1_sub3_sub3.anInt10325 > i_7_) class318_sub1_sub3_sub3.anInt10325 = i_7_; - } - } else class318_sub1_sub3_sub3.anInt10325 /= 2; - } else if (i_7_ <= class318_sub1_sub3_sub3.anInt10325) { - if (class318_sub1_sub3_sub3.anInt10325 > 0) { - class318_sub1_sub3_sub3.anInt10325 -= class225.anInt2945; - if (class318_sub1_sub3_sub3.anInt10325 < 0) class318_sub1_sub3_sub3.anInt10325 = 0; - } - } else { - class318_sub1_sub3_sub3.anInt10325 += class225.anInt2945; - if (i_7_ < class318_sub1_sub3_sub3.anInt10325) class318_sub1_sub3_sub3.anInt10325 = i_7_; - } - i_7_ = (class318_sub1_sub3_sub3.anInt10325) >> 9; - if (i_7_ < 1) i_7_ = 1; - } - if (i_2_ == i_4_ && i_5_ == i_3_) Class235.anInt3062 = -1; - else { - if (i_4_ > i_2_) { - Class127_Sub1.anInt8387 |= 0x4; - class318_sub1_sub3_sub3.x += i_7_; - if (i_4_ < (class318_sub1_sub3_sub3.x)) class318_sub1_sub3_sub3.x = i_4_; - } else if (i_4_ < i_2_) { - Class127_Sub1.anInt8387 |= 0x8; - class318_sub1_sub3_sub3.x -= i_7_; - if (class318_sub1_sub3_sub3.x < i_4_) class318_sub1_sub3_sub3.x = i_4_; - } - if (i_7_ >= 32) Class235.anInt3062 = 2; - else Class235.anInt3062 = i_6_; - if (i_3_ < i_5_) { - Class127_Sub1.anInt8387 |= 0x1; - class318_sub1_sub3_sub3.y += i_7_; - if (i_5_ < (class318_sub1_sub3_sub3.y)) class318_sub1_sub3_sub3.y = i_5_; - } else if (i_5_ < i_3_) { - Class127_Sub1.anInt8387 |= 0x2; - class318_sub1_sub3_sub3.y -= i_7_; - if (i_5_ > (class318_sub1_sub3_sub3.y)) class318_sub1_sub3_sub3.y = i_5_; - } - } - if (i_4_ == class318_sub1_sub3_sub3.x && i_5_ == (class318_sub1_sub3_sub3.y)) { - if ((class318_sub1_sub3_sub3.anInt10322) > 0) class318_sub1_sub3_sub3.anInt10322--; - class318_sub1_sub3_sub3.anInt10319--; - } - } - } - } - - final Class31 method1601(int i, int i_15_) { - anInt2874++; - Class31 class31; - synchronized (aClass60_2875) { - class31 = (Class31) aClass60_2875.method583(i_15_, i + -148); - } - if (class31 != null) return class31; - byte[] is; - synchronized (aClass45_2866) { - is = aClass45_2866.method410(-1860, i, i_15_); - } - class31 = new Class31(); - class31.aClass219_438 = this; - if (is != null) class31.method332(i ^ ~0x55, new Class348_Sub49(is)); - synchronized (aClass60_2875) { - aClass60_2875.method582(class31, i_15_, (byte) -109); - } - return class31; - } - - final void method1602(int i) { - synchronized (aClass60_2875) { - aClass60_2875.method590(i); - } - anInt2865++; - synchronized (this.aClass60_2862) { - this.aClass60_2862.method590(0); - } - } - - final void method1603(int i, int i_16_) { - anInt2870++; - synchronized (aClass60_2875) { - aClass60_2875.method578(2, i); - if (i_16_ >= -22) this.aClass45_2873 = null; - } - synchronized (this.aClass60_2862) { - this.aClass60_2862.method578(2, i); - } - } - - public static void method1604(int i) { - aClass196_2864 = null; - aClass223_2868 = null; - if (i != 11868) anInt2872 = -94; - } - - Class219(Class230 class230, int i, Class45 class45, Class45 class45_17_) { - try { - this.aClass45_2873 = class45_17_; - aClass45_2866 = class45; - aClass45_2866.method407(0, 46); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("sb.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ',' + (class45_17_ != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class22.java b/client/src/Class22.java deleted file mode 100644 index 117d9b852..000000000 --- a/client/src/Class22.java +++ /dev/null @@ -1,145 +0,0 @@ -/* Class22 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; - -final class Class22 { - static int anInt328; - static int anInt329; - static Class114 aClass114_330 = new Class114(65, -1); - int anInt331 = -1; - int anInt332; - static int anInt333; - boolean aBoolean334; - int anInt335; - int anInt336 = 512; - private int anInt337 = 0; - static int anInt338; - static int anInt339; - static int anInt340; - int anInt341; - boolean aBoolean342; - int anInt343; - - final void method290(Class348_Sub49 class348_sub49, int i) { - if (i != -1) this.anInt332 = 25; - for (; ; ) { - int i_0_ = class348_sub49.readUnsignedByte(255); - if (i_0_ == 0) break; - method291(i_0_, -4, class348_sub49); - } - anInt329++; - } - - private final void method291(int i, int i_1_, Class348_Sub49 class348_sub49) { - if (i == 1) { - anInt337 = class348_sub49.readMedium(-1); - method292(anInt337, (byte) 117); - } else if (i == 2) { - this.anInt331 = class348_sub49.readUnsignedShort(i_1_ + 842397948); - if (this.anInt331 == 65535) this.anInt331 = -1; - } else if (i != 3) { - if (i != 4) { - if (i == 5) this.aBoolean334 = false; - } else this.aBoolean342 = false; - } else this.anInt336 = class348_sub49.readUnsignedShort(842397944) << 2; - if (i_1_ != -4) method290(null, 12); - anInt333++; - } - - private final void method292(int i, byte i_2_) { - anInt340++; - double d = (double) (0xff & i >> 16) / 256.0; - double d_3_ = (double) ((0xff2b & i) >> 8) / 256.0; - double d_4_ = (double) (0xff & i) / 256.0; - double d_5_ = d; - if (d_3_ < d_5_) d_5_ = d_3_; - if (d_4_ < d_5_) d_5_ = d_4_; - double d_6_ = d; - if (d_3_ > d_6_) d_6_ = d_3_; - if (d_4_ > d_6_) d_6_ = d_4_; - double d_7_ = 0.0; - double d_8_ = 0.0; - double d_9_ = (d_5_ + d_6_) / 2.0; - if (d_6_ != d_5_) { - if (d_9_ < 0.5) d_8_ = (d_6_ - d_5_) / (d_5_ + d_6_); - if (d != d_6_) { - if (d_6_ != d_3_) { - if (d_6_ == d_4_) d_7_ = (d - d_3_) / (-d_5_ + d_6_) + 4.0; - } else d_7_ = (-d + d_4_) / (d_6_ - d_5_) + 2.0; - } else d_7_ = (-d_4_ + d_3_) / (d_6_ - d_5_); - if (d_9_ >= 0.5) d_8_ = (d_6_ - d_5_) / (-d_5_ + (2.0 - d_6_)); - } - this.anInt332 = (int) (256.0 * d_8_); - d_7_ /= 6.0; - this.anInt335 = (int) (256.0 * d_9_); - if (this.anInt332 >= 0) { - if (this.anInt332 > 255) this.anInt332 = 255; - } else this.anInt332 = 0; - if (d_9_ > 0.5) this.anInt343 = (int) (512.0 * ((1.0 - d_9_) * d_8_)); - else this.anInt343 = (int) (512.0 * (d_9_ * d_8_)); - if (this.anInt335 < 0) this.anInt335 = 0; - else if (this.anInt335 > 255) this.anInt335 = 255; - if (this.anInt343 < 1) this.anInt343 = 1; - int i_10_ = 39 % ((i_2_ - 61) / 55); - this.anInt341 = (int) (d_7_ * (double) this.anInt343); - } - - public static void method293(byte i) { - aClass114_330 = null; - if (i >= -40) method295(-6, -74, -119, null, -35, null, 125, 67, -102); - } - - static final void method294(ha var_ha, int i) { - anInt328++; - if (Class5_Sub1_Sub1.aClass262_9931.method1998(i) != 0) { - if (Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) == 0) { - for (Class348_Sub7 class348_sub7 = ((Class348_Sub7) Class5_Sub1_Sub1.aClass262_9931.method1995(4)); class348_sub7 != null; class348_sub7 = (Class348_Sub7) Class5_Sub1_Sub1.aClass262_9931.method1990((byte) 31)) { - Exception_Sub1.aClass255_112.method1932(var_ha, class348_sub7.anInt6647, class348_sub7.anInt6648, Class240.aClass324_4684, (!class348_sub7.aBoolean6650 ? null : (Class132.aPlayer_1907.aClass154_10536)), class348_sub7.anInt6642, false, (byte) 83, var_ha, class348_sub7.anInt6649, false, class348_sub7.anInt6645); - class348_sub7.method2715((byte) 29); - } - Class354.method3466(i + -113); - } else { - if (Class348_Sub34.aHa6968 == null) { - Canvas canvas = new Canvas(); - canvas.setSize(36, 32); - Class348_Sub34.aHa6968 = Class104.method958(true, 0, Class348_Sub40_Sub4.aD9113, 0, canvas, Class136.aClass45_4796); - Class348_Sub40_Sub9.aClass324_9173 = (Class348_Sub34.aHa6968.method3686(Class239_Sub23.method1819(Class56.anInt1044, 0, -44, Class104.aClass45_1627), Class207.method1519(Class21.aClass45_322, Class56.anInt1044, 0), true)); - } - for (Class348_Sub7 class348_sub7 = ((Class348_Sub7) Class5_Sub1_Sub1.aClass262_9931.method1995(i + 4)); class348_sub7 != null; class348_sub7 = (Class348_Sub7) Class5_Sub1_Sub1.aClass262_9931.method1990((byte) 118)) { - Exception_Sub1.aClass255_112.method1932(Class348_Sub34.aHa6968, class348_sub7.anInt6647, class348_sub7.anInt6648, Class348_Sub40_Sub9.aClass324_9173, (class348_sub7.aBoolean6650 ? (Class132.aPlayer_1907.aClass154_10536) : null), class348_sub7.anInt6642, false, (byte) 83, var_ha, class348_sub7.anInt6649, false, class348_sub7.anInt6645); - class348_sub7.method2715((byte) 21); - } - } - } - } - - static final void method295(int i, int i_11_, int i_12_, byte[] is, int i_13_, byte[] is_14_, int i_15_, int i_16_, int i_17_) { - try { - anInt338++; - int i_18_ = -(i_13_ >> 2); - i_13_ = -(0x3 & i_13_); - if (i_12_ != 256) anInt339 = -63; - for (int i_19_ = -i_15_; i_19_ < 0; i_19_++) { - for (int i_20_ = i_18_; i_20_ < 0; i_20_++) { - is_14_[i_16_++] += is[i_11_++]; - is_14_[i_16_++] += is[i_11_++]; - is_14_[i_16_++] += is[i_11_++]; - is_14_[i_16_++] += is[i_11_++]; - } - for (int i_21_ = i_13_; i_21_ < 0; i_21_++) - is_14_[i_16_++] += is[i_11_++]; - i_16_ += i_17_; - i_11_ += i; - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("hk.E(" + i + ',' + i_11_ + ',' + i_12_ + ',' + (is != null ? "{...}" : "null") + ',' + i_13_ + ',' + (is_14_ != null ? "{...}" : "null") + ',' + i_15_ + ',' + i_16_ + ',' + i_17_ + ')')); - } - } - - public Class22() { - this.aBoolean334 = true; - this.aBoolean342 = true; - } -} diff --git a/client/src/Class220.java b/client/src/Class220.java deleted file mode 100644 index 93b76a471..000000000 --- a/client/src/Class220.java +++ /dev/null @@ -1,31 +0,0 @@ -/* Class220 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class220 { - static int anInt2876; - static int anInt2877; - static int anInt2878; - - static final void method1605(int i) { - if (Class235.anIntArray3068 == null || Class127.anIntArray4654 == null) { - Class127.anIntArray4654 = new int[256]; - Class235.anIntArray3068 = new int[256]; - for (int i_0_ = 0; i_0_ < 256; i_0_++) { - double d = 6.283185307179586 * ((double) i_0_ / 255.0); - Class235.anIntArray3068[i_0_] = (int) (4096.0 * Math.sin(d)); - Class127.anIntArray4654[i_0_] = (int) (4096.0 * Math.cos(d)); - } - } - anInt2878++; - if (i != 26188) method1606(-76, 98, 86); - } - - static final byte method1606(int i, int i_1_, int i_2_) { - anInt2876++; - if (i_2_ != 9) return (byte) 0; - if (i_1_ != -27939) return (byte) -50; - if ((i & 0x1) == 0) return (byte) 1; - return (byte) 2; - } -} diff --git a/client/src/Class221.java b/client/src/Class221.java deleted file mode 100644 index a3823d1ac..000000000 --- a/client/src/Class221.java +++ /dev/null @@ -1,29 +0,0 @@ -/* Class221 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class221 { - static int anInt2879; - static int anInt2880; - static boolean aBoolean2881 = false; - static int anInt2882; - - public Class221() { - /* empty */ - } - - final int method1607(int i, int i_0_, byte i_1_) { - anInt2882++; - int i_2_ = (Math.max(Class321.anInt4017, i)); - if (Class5_Sub1.aClass221_8344 == this) return 0; - if (i_1_ >= -103) aBoolean2881 = true; - if (this == Class223.aClass221_2893) return i_2_ - i_0_; - if (Class104.aClass221_1620 == this) return (-i_0_ + i_2_) / 2; - return 0; - } - - public final String toString() { - anInt2879++; - throw new IllegalStateException(); - } -} diff --git a/client/src/Class222.java b/client/src/Class222.java deleted file mode 100644 index e6a78227a..000000000 --- a/client/src/Class222.java +++ /dev/null @@ -1,57 +0,0 @@ -/* Class222 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class222 { - int anInt2883; - static int anInt2884 = 0; - static Class138 aClass138_2885 = new Class138(4, 1, 1, 1); - Class166 aClass166_2886; - static int anInt2887; - static int anInt2888; - static int anInt2889; - int anInt2890; - private int anInt2891; - static Class351 aClass351_2892 = new Class351(39, 8); - - private final void method1608(int i, Class348_Sub49 class348_sub49, byte i_0_) { - anInt2887++; - if (i == 1) anInt2891 = class348_sub49.readUnsignedShort(842397944); - else if (i == 2) { - this.anInt2883 = class348_sub49.readUnsignedByte(255); - this.anInt2890 = class348_sub49.readUnsignedByte(255); - } - if (i_0_ != 4) method1608(-8, null, (byte) 81); - } - - public static void method1609(byte i) { - if (i <= -71) { - aClass351_2892 = null; - aClass138_2885 = null; - } - } - - final synchronized Class207 method1610(byte i) { - anInt2888++; - Class207 class207 = (Class207) this.aClass166_2886.aClass60_2190.method583(anInt2891, -70); - if (class207 != null) return class207; - class207 = Class207.method1521(this.aClass166_2886.aClass45_2180, anInt2891, 0); - if (i < 49) method1609((byte) 93); - if (class207 != null) this.aClass166_2886.aClass60_2190.method582(class207, anInt2891, (byte) -120); - return class207; - } - - final void method1611(Class348_Sub49 class348_sub49, boolean bool) { - for (; ; ) { - int i = class348_sub49.readUnsignedByte(255); - if (i == 0) break; - method1608(i, class348_sub49, (byte) 4); - } - anInt2889++; - if (bool != false) method1610((byte) -86); - } - - public Class222() { - /* empty */ - } -} diff --git a/client/src/Class223.java b/client/src/Class223.java deleted file mode 100644 index a3774d050..000000000 --- a/client/src/Class223.java +++ /dev/null @@ -1,113 +0,0 @@ -/* Class223 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class223 { - static Class221 aClass221_2893; - static int anInt2894; - static boolean aBoolean2895 = false; - int anInt2896; - static int anInt2897; - static int anInt2898; - static int[] anIntArray2899; - static int[][] anIntArrayArray2900; - - public static void method1612(byte i) { - anIntArray2899 = null; - if (i != -9) method1614(-47, null, -126, -99, 117, null, null, 90); - anIntArrayArray2900 = null; - aClass221_2893 = null; - } - - public final String toString() { - anInt2894++; - throw new IllegalStateException(); - } - - static final boolean method1613(boolean bool, int i, int i_0_) { - if (bool != false) method1612((byte) -104); - anInt2897++; - return (i_0_ & 0x22) != 0; - } - - Class223(int i, int i_1_) { - this.anInt2896 = i_1_; - } - - static final void method1614(int i, Npc npc, int i_2_, int i_3_, int i_4_, Player player, Class51 class51, int i_5_) { - try { - anInt2898++; - if (i != 979190089) aBoolean2895 = false; - Class348_Sub9 class348_sub9 = new Class348_Sub9(); - class348_sub9.anInt6678 = i_4_ << 9; - class348_sub9.anInt6693 = i_2_; - class348_sub9.anInt6689 = i_3_ << 9; - if (class51 == null) { - if (npc != null) { - class348_sub9.aNpc_6691 = npc; - Class79 class79 = (npc.aClass79_10505); - if (class79.anIntArray1377 != null) { - class348_sub9.aBoolean6684 = true; - class79 = class79.method794((Class318_Sub1_Sub3_Sub3.aClass170_10209), i ^ ~0x3a5d4149); - } - if (class79 != null) { - class348_sub9.anInt6698 = (i_4_ + class79.anInt1399 << 9); - class348_sub9.anInt6687 = (i_3_ - -class79.anInt1399 << 9); - class348_sub9.anInt6685 = Class8.method214(npc, -1); - class348_sub9.anInt6696 = class79.anInt1340; - class348_sub9.anInt6694 = class79.anInt1392 << 9; - class348_sub9.anInt6677 = class79.anInt1356; - class348_sub9.anInt6681 = class79.anInt1363; - class348_sub9.aBoolean6674 = class79.aBoolean1370; - } - client.aClass262_5185.method1999(class348_sub9, i + -979210269); - } else if (player != null) { - class348_sub9.aPlayer_6679 = player; - class348_sub9.anInt6698 = (player.method2436((byte) 74) + i_4_) << 9; - class348_sub9.anInt6687 = (player.method2436((byte) 86) + i_3_) << 9; - class348_sub9.anInt6685 = Class315.method2357(-1, player); - class348_sub9.anInt6681 = 256; - class348_sub9.anInt6694 = (player.anInt10553 << 9); - class348_sub9.anInt6677 = player.anInt10558; - class348_sub9.anInt6696 = 256; - class348_sub9.aBoolean6674 = player.aBoolean10517; - Class348_Sub42_Sub16_Sub2.aClass356_10465.method3483((byte) 65, player.anInt10290, class348_sub9); - } - } else { - class348_sub9.aClass51_6695 = class51; - int i_6_ = class51.anInt961; - int i_7_ = class51.anInt926; - if (i_5_ == 1 || i_5_ == 3) { - i_6_ = class51.anInt926; - i_7_ = class51.anInt961; - } - class348_sub9.anInt6687 = i_7_ + i_3_ << 9; - class348_sub9.anInt6680 = class51.anInt962; - class348_sub9.anInt6685 = class51.anInt887; - class348_sub9.anInt6681 = class51.anInt916; - class348_sub9.anIntArray6697 = class51.anIntArray904; - class348_sub9.anInt6696 = class51.anInt878; - class348_sub9.aBoolean6699 = class51.aBoolean903; - class348_sub9.anInt6694 = class51.anInt889 << 9; - class348_sub9.anInt6668 = class51.anInt937; - class348_sub9.anInt6698 = i_6_ + i_4_ << 9; - class348_sub9.anInt6677 = class51.anInt936; - class348_sub9.aBoolean6674 = class51.aBoolean888; - if (class51.anIntArray945 != null) { - class348_sub9.aBoolean6684 = true; - class348_sub9.method2781((byte) 21); - } - if (class348_sub9.anIntArray6697 != null) class348_sub9.anInt6670 = (class348_sub9.anInt6680 - -(int) ((double) (-class348_sub9.anInt6680 + class348_sub9.anInt6668) * Math.random())); - Class218.aClass262_2859.method1999(class348_sub9, -20180); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ad.B(" + i + ',' + (npc != null ? "{...}" : "null") + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ',' + (player != null ? "{...}" : "null") + ',' + (class51 != null ? "{...}" : "null") + ',' + i_5_ + ')')); - } - } - - static { - aClass221_2893 = new Class221(); - anIntArray2899 = new int[13]; - anIntArrayArray2900 = new int[128][128]; - } -} diff --git a/client/src/Class224.java b/client/src/Class224.java deleted file mode 100644 index adb27446a..000000000 --- a/client/src/Class224.java +++ /dev/null @@ -1,26 +0,0 @@ -/* Class224 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import netscape.javascript.JSObject; - -import java.applet.Applet; - -final class Class224 { - static final void method1615(Applet applet, int i, String string) throws Throwable { - JSObject.getWindow(applet).eval(string); - if (i == -15092) { - /* empty */ - } - } - - static final Object method1616(String string, Object[] objects, Applet applet, byte i) throws Throwable { - if (i <= 0) return null; - return JSObject.getWindow(applet).call(string, objects); - } - - static final Object method1617(byte i, Applet applet, String string) throws Throwable { - if (i != 125) return null; - return JSObject.getWindow(applet).call(string, null); - } -} diff --git a/client/src/Class225.java b/client/src/Class225.java deleted file mode 100644 index 8866a94c9..000000000 --- a/client/src/Class225.java +++ /dev/null @@ -1,287 +0,0 @@ -/* Class225 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class225 { - int anInt2901; - static int anInt2902; - static int anInt2903; - int anInt2904; - int anInt2905; - int[] anIntArray2906; - int[] anIntArray2907; - int anInt2908 = -1; - int anInt2909; - int[][] anIntArrayArray2910; - int anInt2911; - int anInt2912; - boolean aBoolean2913; - int anInt2914; - int[] anIntArray2915; - int anInt2916; - int anInt2917; - int anInt2918; - int anInt2919; - int anInt2920; - static int anInt2921; - int anInt2922; - int anInt2923; - int anInt2924; - private Class101[] aClass101Array2925; - int anInt2926; - int anInt2927; - int anInt2928; - int[] anIntArray2929; - private int anInt2930; - static Class225 aClass225_2931 = new Class225(); - int anInt2932; - static int anInt2933; - int anInt2934; - int anInt2935; - int anInt2936; - int anInt2937; - int anInt2938; - int[][] anIntArrayArray2939; - int anInt2940; - int anInt2941; - private final int anInt2942; - int anInt2943; - static Class173 aClass173_2944; - int anInt2945; - static int anInt2946 = 0; - int anInt2947; - int anInt2948; - int anInt2949; - int anInt2950; - int anInt2951; - static int anInt2952; - int anInt2953; - int anInt2954; - static int anInt2955; - static int anInt2956; - static Class243 aClass243_2957; - int anInt2958; - - final Class101[] method1618(ha var_ha, int i) { - anInt2952++; - if (aClass101Array2925 != null && var_ha.anInt4567 == anInt2942) return aClass101Array2925; - if (this.anIntArrayArray2939 == null) return null; - aClass101Array2925 = new Class101[this.anIntArrayArray2939.length]; - for (int i_0_ = i; (this.anIntArrayArray2939.length > i_0_); i_0_++) { - int i_1_ = 0; - int i_2_ = 0; - int i_3_ = 0; - int i_4_ = 0; - int i_5_ = 0; - int i_6_ = 0; - if (this.anIntArrayArray2939[i_0_] != null) { - i_2_ = this.anIntArrayArray2939[i_0_][1]; - i_3_ = this.anIntArrayArray2939[i_0_][2]; - i_4_ = (this.anIntArrayArray2939[i_0_][3] << 3); - i_1_ = this.anIntArrayArray2939[i_0_][0]; - i_5_ = (this.anIntArrayArray2939[i_0_][4] << 3); - i_6_ = (this.anIntArrayArray2939[i_0_][5] << 3); - } - if (i_1_ != 0 || i_2_ != 0 || i_3_ != 0 || i_4_ != 0 || i_5_ != 0 || i_6_ != 0) { - Class101 class101 = aClass101Array2925[i_0_] = var_ha.method3654(); - if (i_6_ != 0) class101.method908(i_6_); - if (i_4_ != 0) class101.method900(i_4_); - if (i_5_ != 0) class101.method896(i_5_); - class101.method891(i_1_, i_2_, i_3_); - } - } - return aClass101Array2925; - } - - public static void method1619(byte i) { - aClass225_2931 = null; - aClass173_2944 = null; - int i_7_ = 86 / ((i - 41) / 40); - aClass243_2957 = null; - } - - final void method1620(Class348_Sub49 class348_sub49, int i) { - for (; ; ) { - int i_8_ = class348_sub49.readUnsignedByte(255); - if (i_8_ == 0) break; - method1622(class348_sub49, 48, i_8_); - } - if (i >= -27) method1621((byte) 109); - anInt2933++; - } - - final int method1621(byte i) { - anInt2921++; - if (this.anInt2918 != -1) return this.anInt2918; - if (this.anIntArray2915 != null) { - int i_9_ = (int) ((double) anInt2930 * Math.random()); - int i_10_; - for (i_10_ = 0; i_9_ >= this.anIntArray2929[i_10_]; i_10_++) - i_9_ -= this.anIntArray2929[i_10_]; - return this.anIntArray2915[i_10_]; - } - int i_11_ = -62 % ((-71 - i) / 52); - return -1; - } - - private final void method1622(Class348_Sub49 class348_sub49, int i, int i_12_) { - anInt2903++; - if (i_12_ == 1) { - this.anInt2918 = class348_sub49.readUnsignedShort(i ^ 0x3235f8c8); - this.anInt2951 = class348_sub49.readUnsignedShort(842397944); - if (this.anInt2951 == 65535) this.anInt2951 = -1; - if (this.anInt2918 == 65535) this.anInt2918 = -1; - } else if (i_12_ != 2) { - if (i_12_ == 3) this.anInt2924 = class348_sub49.readUnsignedShort(i + 842397896); - else if (i_12_ == 4) this.anInt2958 = class348_sub49.readUnsignedShort(842397944); - else if (i_12_ == 5) this.anInt2947 = class348_sub49.readUnsignedShort(842397944); - else if (i_12_ != 6) { - if (i_12_ == 7) this.anInt2920 = class348_sub49.readUnsignedShort(842397944); - else if (i_12_ != 8) { - if (i_12_ != 9) { - if (i_12_ == 26) { - this.anInt2932 = (short) (class348_sub49.readUnsignedByte(i ^ 0xcf) * 4); - this.anInt2941 = (short) (class348_sub49.readUnsignedByte(255) * 4); - } else if (i_12_ == 27) { - if (this.anIntArrayArray2939 == null) this.anIntArrayArray2939 = new int[12][]; - int i_13_ = class348_sub49.readUnsignedByte(255); - this.anIntArrayArray2939[i_13_] = new int[6]; - for (int i_14_ = 0; i_14_ < 6; i_14_++) - this.anIntArrayArray2939[i_13_][i_14_] = class348_sub49.readShort(13638); - } else if (i_12_ == 28) { - this.anIntArray2906 = new int[12]; - for (int i_21_ = 0; i_21_ < 12; i_21_++) { - this.anIntArray2906[i_21_] = class348_sub49.readUnsignedByte(255); - if ((this.anIntArray2906[i_21_]) == 255) this.anIntArray2906[i_21_] = -1; - } - } else if (i_12_ != 29) { - if (i_12_ == 30) this.anInt2917 = class348_sub49.readUnsignedShort(842397944); - else if (i_12_ != 31) { - if (i_12_ == 32) this.anInt2935 = class348_sub49.readUnsignedShort(842397944); - else if (i_12_ == 33) this.anInt2950 = class348_sub49.readShort(13638); - else if (i_12_ != 34) { - if (i_12_ != 35) { - if (i_12_ != 36) { - if (i_12_ == 37) this.anInt2945 = (class348_sub49.readUnsignedByte(255)); - else if (i_12_ != 38) { - if (i_12_ != 39) { - if (i_12_ == 40) this.anInt2938 = (class348_sub49.readUnsignedShort(842397944)); - else if (i_12_ == 41) this.anInt2937 = (class348_sub49.readUnsignedShort(i + 842397896)); - else if (i_12_ != 42) { - if (i_12_ == 43) this.anInt2909 = (class348_sub49.readUnsignedShort(842397944)); - else if (i_12_ != 44) { - if (i_12_ != 45) { - if (i_12_ != 46) { - if (i_12_ == 47) this.anInt2927 = class348_sub49.readUnsignedShort(842397944); - else if (i_12_ != 48) { - if (i_12_ == 49) this.anInt2911 = class348_sub49.readUnsignedShort(842397944); - else if (i_12_ == 50) this.anInt2934 = class348_sub49.readUnsignedShort(842397944); - else if (i_12_ != 51) { - if (i_12_ == 52) { - int i_15_ = class348_sub49.readUnsignedByte(i ^ 0xcf); - this.anIntArray2915 = new int[i_15_]; - this.anIntArray2929 = new int[i_15_]; - for (int i_16_ = 0; i_16_ < i_15_; i_16_++) { - this.anIntArray2915[i_16_] = class348_sub49.readUnsignedShort(842397944); - int i_17_ = class348_sub49.readUnsignedByte(255); - this.anIntArray2929[i_16_] = i_17_; - anInt2930 += i_17_; - } - } else if (i_12_ == 53) this.aBoolean2913 = false; - else if (i_12_ == 54) { - this.anInt2912 = class348_sub49.readUnsignedByte(255) << 6; - this.anInt2943 = class348_sub49.readUnsignedByte(i + 207) << 6; - } else if (i_12_ == 55) { - if (this.anIntArray2907 == null) this.anIntArray2907 = new int[12]; - int i_18_ = class348_sub49.readUnsignedByte(i ^ 0xcf); - this.anIntArray2907[i_18_] = class348_sub49.readUnsignedShort(i + 842397896); - } else if (i_12_ == 56) { - if (this.anIntArrayArray2910 == null) this.anIntArrayArray2910 = new int[12][]; - int i_19_ = class348_sub49.readUnsignedByte(255); - this.anIntArrayArray2910[i_19_] = new int[3]; - for (int i_20_ = 0; i_20_ < 3; i_20_++) - this.anIntArrayArray2910[i_19_][i_20_] = class348_sub49.readShort(i + 13590); - } - } else this.anInt2953 = class348_sub49.readUnsignedShort(842397944); - } else this.anInt2905 = class348_sub49.readUnsignedShort(842397944); - } else this.anInt2908 = class348_sub49.readUnsignedShort(842397944); - } else this.anInt2928 = class348_sub49.readUnsignedShort(842397944); - } else this.anInt2923 = (class348_sub49.readUnsignedShort(842397944)); - } else this.anInt2954 = (class348_sub49.readUnsignedShort(842397944)); - } else this.anInt2922 = (class348_sub49.readUnsignedShort(842397944)); - } else this.anInt2916 = (class348_sub49.readUnsignedShort(842397944)); - } else this.anInt2926 = (class348_sub49.readShort(i ^ 0x3576)); - } else this.anInt2904 = (class348_sub49.readUnsignedShort(i + 842397896)); - } else this.anInt2936 = class348_sub49.readUnsignedByte(255); - } else this.anInt2901 = class348_sub49.readUnsignedByte(255); - } else this.anInt2948 = class348_sub49.readUnsignedByte(255); - } else this.anInt2949 = class348_sub49.readUnsignedShort(842397944); - } else this.anInt2914 = class348_sub49.readUnsignedShort(842397944); - } else this.anInt2919 = class348_sub49.readUnsignedShort(842397944); - } else this.anInt2940 = class348_sub49.readUnsignedShort(i + 842397896); - if (i != 48) this.anInt2928 = -71; - } - - final boolean method1623(int i, int i_22_) { - if (i_22_ >= -32) method1618(null, 16); - anInt2902++; - if (i == -1) return false; - if (this.anInt2918 == i) return true; - if (this.anIntArray2915 != null) { - for (int i_23_ = 0; this.anIntArray2915.length > i_23_; i_23_++) { - if (this.anIntArray2915[i_23_] == i) return true; - } - } - return false; - } - - public Class225() { - this.anInt2901 = 0; - this.anInt2911 = -1; - this.anIntArray2915 = null; - this.anInt2904 = 0; - this.anInt2923 = -1; - this.anInt2918 = -1; - this.anInt2909 = -1; - this.anInt2920 = -1; - this.anInt2916 = -1; - this.anInt2922 = -1; - this.anInt2932 = 0; - this.anInt2912 = 0; - this.anInt2917 = 0; - this.anInt2914 = -1; - this.anIntArray2929 = null; - this.anInt2919 = -1; - this.anInt2935 = 0; - this.anInt2927 = -1; - this.anInt2937 = -1; - this.anInt2926 = 0; - this.anInt2928 = -1; - this.anInt2941 = 0; - this.anInt2938 = -1; - this.anInt2945 = -1; - this.anInt2943 = 0; - this.anInt2905 = -1; - anInt2930 = 0; - this.aBoolean2913 = true; - this.anInt2950 = 0; - this.anInt2940 = -1; - this.anInt2934 = -1; - anInt2942 = -1; - this.anInt2951 = -1; - this.anInt2949 = -1; - this.anInt2948 = 0; - this.anInt2947 = -1; - this.anInt2924 = -1; - this.anInt2954 = -1; - this.anInt2953 = -1; - this.anInt2936 = 0; - this.anInt2958 = -1; - } - - static { - aClass173_2944 = new Class173(); - anInt2955 = 0; - aClass243_2957 = new Class243(); - } -} diff --git a/client/src/Class226.java b/client/src/Class226.java deleted file mode 100644 index 19c365659..000000000 --- a/client/src/Class226.java +++ /dev/null @@ -1,61 +0,0 @@ -/* Class226 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class226 { - static Class356 aClass356_2959 = new Class356(512); - private final Class60 aClass60_2960 = new Class60(64); - private final Class45 aClass45_2961; - static int anInt2962; - static int anInt2963; - static int anInt2964 = 64; - private Class45 aClass45_2965; - - public static void method1624(int i) { - aClass356_2959 = null; - if (i != 28962) aClass356_2959 = null; - } - - final Class348_Sub42_Sub11 method1625(int i, int i_0_) { - anInt2963++; - Class348_Sub42_Sub11 class348_sub42_sub11 = (Class348_Sub42_Sub11) aClass60_2960.method583(i_0_, -51); - if (class348_sub42_sub11 != null) return class348_sub42_sub11; - byte[] is; - if (i_0_ < 32768) is = aClass45_2961.method410(-1860, 0, i_0_); - else is = aClass45_2965.method410(-1860, 0, 0x7fff & i_0_); - class348_sub42_sub11 = new Class348_Sub42_Sub11(); - if (is != null) class348_sub42_sub11.method3221(117, new Class348_Sub49(is)); - if (i_0_ >= 32768) class348_sub42_sub11.method3224((byte) 104); - if (i != 0) aClass45_2965 = null; - aClass60_2960.method582(class348_sub42_sub11, i_0_, (byte) -123); - return class348_sub42_sub11; - } - - static final void method1626(int i, boolean bool) { - anInt2962++; - int i_1_ = Class239_Sub19.anInt6043; - int i_2_ = Class348_Sub33.anInt6964; - if (i == 1) { - if (bool && Class305.aBoolean3870) { - i_1_ <<= 1; - i_2_ = -i_1_; - } - Class348_Sub8.aHa6654.f(i_2_, i_1_); - } - } - - Class226(int i, Class45 class45, Class45 class45_3_) { - do { - try { - aClass45_2961 = class45; - aClass45_2965 = class45_3_; - if (aClass45_2961 != null) aClass45_2961.method407(0, 0); - if (aClass45_2965 == null) break; - aClass45_2965.method407(0, 0); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("sga.(" + i + ',' + (class45 != null ? "{...}" : "null") + ',' + (class45_3_ != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } -} diff --git a/client/src/Class227.java b/client/src/Class227.java deleted file mode 100644 index 91ea8af36..000000000 --- a/client/src/Class227.java +++ /dev/null @@ -1,30 +0,0 @@ -/* Class227 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class227 { - static int anInt2966; - static int[] anIntArray2967; - static int anInt2968 = 0; - static Object anObject2969; - int anInt2970; - - public final String toString() { - anInt2966++; - throw new IllegalStateException(); - } - - public static void method1627(byte i) { - anIntArray2967 = null; - if (i <= 105) method1627((byte) -48); - anObject2969 = null; - } - - Class227(int i) { - this.anInt2970 = i; - } - - static { - anIntArray2967 = new int[14]; - } -} diff --git a/client/src/Class228.java b/client/src/Class228.java deleted file mode 100644 index cee4eb07a..000000000 --- a/client/src/Class228.java +++ /dev/null @@ -1,169 +0,0 @@ -/* Class228 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.File; -import java.lang.reflect.Field; -import java.lang.reflect.Method; -import java.util.Enumeration; -import java.util.Hashtable; -import java.util.Vector; - -final class Class228 { - static int anInt2971; - static Class114 aClass114_2972 = new Class114(49, 4); - static int anInt2973; - static Class57[] aClass57Array2974; - static int anInt2975; - - public static void method1628(byte i) { - aClass57Array2974 = null; - if (i <= 47) aClass57Array2974 = null; - aClass114_2972 = null; - } - - static final boolean method1629(boolean bool) { - anInt2973++; - Hashtable hashtable = new Hashtable(); - Enumeration enumeration = Player.aHashtable10565.keys(); - while (enumeration.hasMoreElements()) { - Object object = enumeration.nextElement(); - hashtable.put(object, Player.aHashtable10565.get(object)); - } - try { - Field field = ClassLoader.class.getDeclaredField("nativeLibraries"); - if (bool != true) return false; - field.setAccessible(true); - try { - enumeration = Player.aHashtable10565.keys(); - while (enumeration.hasMoreElements()) { - String string = (String) enumeration.nextElement(); - try { - File file = (File) Class275.aHashtable3548.get(string); - Class var_class_1_ = (Class) Player.aHashtable10565.get(string); - Vector vector = ((Vector) field.get(var_class_1_.getClassLoader())); - for (int i = 0; i < vector.size(); i++) { - try { - Object object = vector.elementAt(i); - Field field_2_ = object.getClass().getDeclaredField("name"); - field_2_.setAccessible(true); - try { - String string_3_ = (String) field_2_.get(object); - if (string_3_ != null && (string_3_.equalsIgnoreCase(file.getCanonicalPath()))) { - Field field_4_ = object.getClass().getDeclaredField("handle"); - Method method_5_ = (object.getClass().getDeclaredMethod("finalize")); - field_4_.setAccessible(true); - method_5_.setAccessible(true); - try { - method_5_.invoke(object); - field_4_.set(object, new Integer(0)); - hashtable.remove(string); - } catch (Throwable throwable) { - if (Loader.trace) { - throwable.printStackTrace(); - } - /* empty */ - } - method_5_.setAccessible(false); - field_4_.setAccessible(false); - } - } catch (Throwable throwable) { - if (Loader.trace) { - throwable.printStackTrace(); - } - /* empty */ - } - field_2_.setAccessible(false); - } catch (Throwable throwable) { - if (Loader.trace) { - throwable.printStackTrace(); - } - /* empty */ - } - } - } catch (Throwable throwable) { - if (Loader.trace) { - throwable.printStackTrace(); - } - /* empty */ - } - } - } catch (Throwable throwable) { - if (Loader.trace) { - throwable.printStackTrace(); - } - /* empty */ - } - field.setAccessible(false); - } catch (Throwable throwable) { - if (Loader.trace) { - throwable.printStackTrace(); - } - /* empty */ - } - Player.aHashtable10565 = hashtable; - return Player.aHashtable10565.isEmpty(); - } - - static final void method1630(int i, int i_6_, int i_7_) { - if (Class75.aFloat1249 > Class75.aFloat1247) { - Class75.aFloat1247 += (double) Class75.aFloat1247 / 30.0; - if (Class75.aFloat1249 < Class75.aFloat1247) Class75.aFloat1247 = Class75.aFloat1249; - Class348_Sub15.method2811(false); - Class75.anInt1255 = (int) Class75.aFloat1247 >> 1; - Class75.aByteArrayArrayArray1251 = Class325.method2596(Class75.anInt1255, 12871); - } else if (Class75.aFloat1247 > Class75.aFloat1249) { - Class75.aFloat1247 -= (double) Class75.aFloat1247 / 30.0; - if (Class75.aFloat1249 > Class75.aFloat1247) Class75.aFloat1247 = Class75.aFloat1249; - Class348_Sub15.method2811(false); - Class75.anInt1255 = (int) Class75.aFloat1247 >> 1; - Class75.aByteArrayArrayArray1251 = Class325.method2596(Class75.anInt1255, i + 12871); - } - anInt2971++; - if (i != (~Class244.anInt4609) && Class48.anInt859 != -1) { - int i_8_ = Class244.anInt4609 - Class348_Sub36.anInt6992; - if (i_8_ < 2 || i_8_ > 2) i_8_ /= 8; - int i_9_ = -Class245.anInt3170 + Class48.anInt859; - Class348_Sub36.anInt6992 = i_8_ + Class348_Sub36.anInt6992; - if (i_9_ < 2 || i_9_ > 2) i_9_ /= 8; - Class245.anInt3170 -= -i_9_; - if (i_8_ == 0 && i_9_ == 0) { - Class244.anInt4609 = -1; - Class48.anInt859 = -1; - } - Class348_Sub15.method2811(false); - } - if (Class367_Sub9.anInt7379 > 0) { - Class164.anInt2173--; - if (Class164.anInt2173 == 0) { - Class367_Sub9.anInt7379--; - Class164.anInt2173 = 100; - } - } else { - Class34.anInt481 = -1; - Class348_Sub40_Sub30.anInt9399 = -1; - } - if (Class246.aBoolean3174 && Class289.aClass262_3705 != null) { - for (Class348_Sub12 class348_sub12 = (Class348_Sub12) Class289.aClass262_3705.method1995(4); class348_sub12 != null; class348_sub12 = ((Class348_Sub12) Class289.aClass262_3705.method1990((byte) 116))) { - Class42 class42 = (Class75.aClass153_1238.method1225(class348_sub12.aClass348_Sub21_6751.anInt6847, (byte) 125)); - if (class348_sub12.method2799(i_6_, i_7_, 95)) { - if (class42.aStringArray577 != null) { - if (class42.aStringArray577[4] != null) Class50_Sub3.method466(false, class42.aString565, 0, (byte) -100, false, class42.anInt596, -1, true, 1006, class348_sub12.aClass348_Sub21_6751.anInt6847, class42.aStringArray577[4], class348_sub12.aClass348_Sub21_6751.anInt6847, -1); - if (class42.aStringArray577[3] != null) Class50_Sub3.method466(false, class42.aString565, 0, (byte) -127, false, class42.anInt596, -1, true, 1003, class348_sub12.aClass348_Sub21_6751.anInt6847, class42.aStringArray577[3], class348_sub12.aClass348_Sub21_6751.anInt6847, -1); - if (class42.aStringArray577[2] != null) Class50_Sub3.method466(false, class42.aString565, 0, (byte) -108, false, class42.anInt596, -1, true, 1002, class348_sub12.aClass348_Sub21_6751.anInt6847, class42.aStringArray577[2], class348_sub12.aClass348_Sub21_6751.anInt6847, -1); - if (class42.aStringArray577[1] != null) Class50_Sub3.method466(false, class42.aString565, 0, (byte) -69, false, class42.anInt596, -1, true, 1012, class348_sub12.aClass348_Sub21_6751.anInt6847, class42.aStringArray577[1], class348_sub12.aClass348_Sub21_6751.anInt6847, -1); - if (class42.aStringArray577[0] != null) Class50_Sub3.method466(false, class42.aString565, 0, (byte) -92, false, class42.anInt596, -1, true, 1009, class348_sub12.aClass348_Sub21_6751.anInt6847, class42.aStringArray577[0], class348_sub12.aClass348_Sub21_6751.anInt6847, -1); - } - if (!class348_sub12.aClass348_Sub21_6751.aBoolean6848) { - class348_sub12.aClass348_Sub21_6751.aBoolean6848 = true; - Class66.method701(Class90.aClass273_1512, class348_sub12.aClass348_Sub21_6751.anInt6847, class42.anInt596); - } - if (class348_sub12.aClass348_Sub21_6751.aBoolean6848) Class66.method701(Class59_Sub1_Sub2.aClass273_8664, class348_sub12.aClass348_Sub21_6751.anInt6847, class42.anInt596); - } else if (class348_sub12.aClass348_Sub21_6751.aBoolean6848) { - class348_sub12.aClass348_Sub21_6751.aBoolean6848 = false; - Class66.method701(Class77.aClass273_1298, class348_sub12.aClass348_Sub21_6751.anInt6847, class42.anInt596); - } - } - } - } -} diff --git a/client/src/Class229.java b/client/src/Class229.java deleted file mode 100644 index fe65bb1b1..000000000 --- a/client/src/Class229.java +++ /dev/null @@ -1,43 +0,0 @@ -/* Class229 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class229 { - static int anInt2976; - static int anInt2977; - static Class45 aClass45_2978; - static Class268 aClass268_2979; - static int anInt2980; - static Class194 aClass194_2981; - - static final Class241 method1631(boolean bool) { - anInt2980++; - if (bool != false) aClass194_2981 = null; - try { - return new Class241_Sub2(); - } catch (Throwable throwable) { - try { - return new Class241_Sub3(); - } catch (Throwable throwable_0_) { - return new Class241_Sub1(); - } - } - } - - public static void method1632(int i) { - aClass45_2978 = null; - int i_1_ = -20 / ((-87 - i) / 34); - aClass194_2981 = null; - aClass268_2979 = null; - } - - public Class229() { - /* empty */ - } - - static final boolean method1633(boolean bool, int i, int i_2_) { - if (bool != false) method1633(false, 85, -80); - anInt2977++; - return (0x400 & i) != 0; - } -} diff --git a/client/src/Class23.java b/client/src/Class23.java deleted file mode 100644 index 1c7bcafd1..000000000 --- a/client/src/Class23.java +++ /dev/null @@ -1,20 +0,0 @@ -/* Class23 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class23 { - byte[] aByteArray344; - int anInt345; - int anInt346; - int anInt347; - byte[] aByteArray348; - int anInt349; - int anInt350; - static boolean aBoolean351 = true; - int anInt352; - int anInt353; - - public Class23() { - /* empty */ - } -} diff --git a/client/src/Class230.java b/client/src/Class230.java deleted file mode 100644 index 07b292f4e..000000000 --- a/client/src/Class230.java +++ /dev/null @@ -1,541 +0,0 @@ -/* Class230 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class230 { - static int anInt2982; - static int anInt2983; - static int anInt2984; - String aString2985; - static int anInt2986 = 0; - int anInt2987; - static int anInt2988; - static int anInt2989; - - static final void method1634(int[] is, int i, byte[][][] is_0_, int i_1_, int i_2_, int[] is_3_, int i_4_, int i_5_, boolean bool, int i_6_, int i_7_, int[] is_8_, int[] is_9_, byte i_10_, int[] is_11_, int i_12_, boolean bool_13_, int i_14_) { - do { - try { - anInt2982++; - if (Class348_Sub49.anInt7207 != -1) { - int[] is_15_ = Class21.aHa326.Y(); - int i_16_ = is_15_[0]; - int i_17_ = is_15_[1]; - int i_18_ = is_15_[2]; - int i_19_ = is_15_[3]; - int i_20_ = i_18_; - int i_21_ = i_19_; - if (Class348_Sub49.anInt7207 == 1) { - i_20_ = (int) ((double) i_18_ * (double) Class107.anInt1651 / (double) Class239_Sub16.anInt6008); - i_21_ = (int) ((double) Class107.anInt1651 * (double) i_19_ / (double) Class239_Sub16.anInt6008); - } - if (!Class348_Sub16_Sub2.aBoolean8870) { - if (Class348_Sub49.anInt7207 == 1) Class43.method383(0); - int i_22_ = -Class105_Sub1.anInt8422 + i_4_; - int i_23_ = i_6_ + -Class29.anInt403; - int i_24_ = -Class348_Sub21.anInt6849 + i_5_; - int i_25_ = (int) ((Class247.aDouble3182 * (double) i_22_ + (double) i_23_ * Class319.aDouble3980 + (double) i_24_ * Class357.aDouble4404) * (double) i_20_ / (double) i_14_); - int i_26_ = (int) ((((double) i_24_ * Class348_Sub42_Sub5.aDouble9531) + (((double) i_22_ * Class348_Sub23_Sub2.aDouble9023) + ((double) i_23_ * Class295.aDouble3761))) * (double) i_21_ / (double) i_14_); - double d = ((double) i_24_ * Class348_Sub16_Sub2.aDouble8869 + (Class348_Sub15.aDouble6774 * (double) i_23_ + (double) i_22_ * Class59.aDouble1083)); - int i_27_ = i_25_ + Class211.anInt2747 - Class328.anInt4100; - int i_28_ = (Class348_Sub42_Sub9_Sub1.anInt10444 + i_26_ + -Class348_Sub3.anInt6568); - int i_29_ = Class59_Sub1.anInt5283 + i_27_; - int i_30_ = Class107.anInt1651 + i_28_; - if ((i_27_ < 0 || i_28_ < 0 || i_29_ > Class348_Sub16_Sub1.anInt8854 || (i_30_ > Class239_Sub16.anInt6008)) && Class348_Sub49.anInt7207 != 2) { - if (i_29_ <= 0 || i_30_ <= 0 || (Class348_Sub16_Sub1.anInt8854 <= i_27_) || (i_28_ >= Class239_Sub16.anInt6008)) Class348_Sub16_Sub2.aBoolean8870 = true; - else { - int i_31_ = i_27_ - Class211.anInt2747; - int i_32_ = (i_28_ - Class348_Sub42_Sub9_Sub1.anInt10444); - int i_33_ = 0; - int i_34_ = 0; - int i_35_ = 0; - int i_36_ = 0; - double d_37_ = 0.0; - if (Class348_Sub49.anInt7207 == 0) { - d_37_ = d + Class348_Sub42_Sub4.aDouble9517; - i_33_ = i_31_; - i_34_ = i_32_; - } else if (Class348_Sub49.anInt7207 == 1) { - i_35_ = i_31_ / Class58.anInt1067; - i_36_ = i_32_ / Class344.anInt4267; - i_33_ = i_35_ * Class58.anInt1067; - i_34_ = i_36_ * Class344.anInt4267; - d_37_ = ((d + Class348_Sub42_Sub4.aDouble9517) * (double) (i_32_ * i_34_ + i_33_ * i_31_) / (double) (i_32_ * i_32_ + i_31_ * i_31_)); - } - d_37_ = -d_37_; - int i_38_ = 0; - int i_39_ = 0; - int i_40_ = 0; - int i_41_ = 0; - int i_42_ = 0; - int i_43_; - int i_44_; - int i_45_; - int i_46_; - if (i_33_ >= 0) { - i_45_ = 0; - i_43_ = (-i_33_ + Class348_Sub16_Sub1.anInt8854); - if (Class348_Sub49.anInt7207 == 1) { - i_42_ = i_35_; - i_40_ = -i_35_ + Class31.anInt425; - } - i_46_ = i_33_; - i_44_ = i_43_; - } else { - i_43_ = (Class348_Sub16_Sub1.anInt8854 + i_33_); - i_44_ = 0; - i_45_ = -i_33_; - i_46_ = i_45_; - if (Class348_Sub49.anInt7207 == 1) { - i_42_ = -i_35_; - i_40_ = 0; - } - } - int i_47_ = 0; - int i_48_; - int i_49_; - int i_50_; - int i_51_; - int i_52_; - int i_53_; - if (i_34_ >= 0) { - i_50_ = Class239_Sub16.anInt6008 + -i_34_; - i_48_ = 0; - i_49_ = i_50_; - i_51_ = i_34_; - i_53_ = 0; - if (Class348_Sub49.anInt7207 == 1) { - i_41_ = 0; - i_39_ = i_36_; - i_38_ = -i_36_ + Class250.anInt3225; - i_47_ = i_38_; - } - i_52_ = i_50_; - } else { - i_48_ = -i_34_; - i_49_ = 0; - i_50_ = Class239_Sub16.anInt6008 + i_34_; - i_51_ = i_48_; - i_52_ = i_50_; - i_53_ = i_51_; - if (Class348_Sub49.anInt7207 == 1) { - i_39_ = -i_36_; - i_38_ = 0; - i_47_ = i_36_ + Class250.anInt3225; - i_41_ = i_39_; - } - } - Class243 class243 = (Class348_Sub42_Sub8_Sub2.aClass76_10436.aClass243_1282); - for (Class318_Sub4 class318_sub4 = ((Class318_Sub4) class243.method1872(8)); class318_sub4 != null; class318_sub4 = ((Class318_Sub4) class243.method1878((byte) 122))) { - Class318_Sub3[] class318_sub3s = (class318_sub4.aClass318_Sub3Array6414); - boolean bool_54_ = true; - for (int i_55_ = 0; class318_sub3s.length > i_55_; i_55_++) { - Class318_Sub3 class318_sub3 = class318_sub3s[i_55_]; - int i_56_ = (class318_sub3.anInt6405); - int i_57_ = (class318_sub3.anInt6402); - int i_58_ = (class318_sub3.anInt6406); - int i_59_ = (class318_sub3.anInt6404); - int i_60_ = (class318_sub3.anInt6403); - class318_sub3.anInt6404 = i_59_ = -i_34_ + i_59_; - class318_sub3.anInt6405 = i_56_ = -i_33_ + i_56_; - class318_sub3.anInt6406 = i_58_ += -i_33_; - class318_sub3.anInt6402 = i_57_ = -i_34_ + i_57_; - if (bool_54_) { - int i_61_ = -i_60_ + (Math.min(i_58_, i_56_)); - if (i_61_ <= Class348_Sub16_Sub1.anInt8854) { - int i_62_ = (-i_60_ + (Math.min(i_59_, i_57_))); - if (Class239_Sub16.anInt6008 >= i_62_) { - int i_63_ = ((Math.max(i_58_, i_56_)) - -i_60_); - if (i_63_ >= 0) { - int i_64_ = ((Math.max(i_59_, i_57_)) + i_60_); - if (i_64_ >= 0) bool_54_ = false; - } - } - } - } - } - if (bool_54_) { - class318_sub4.method2373(false); - Class59_Sub1_Sub1.method560(class318_sub4, i ^ 0x4b); - } - } - if (Class348_Sub49.anInt7207 == 0) Class21.aHa326.method3687(Class17.anInterface4_252); - Class21.aHa326.F(-i_33_, -i_34_); - Class21.aHa326.b(i_45_, i_48_, i_43_, i_50_, d_37_); - r.method3284(true, (Class348_Sub42_Sub4.aDouble9517 + d_37_)); - Class14_Sub2.aDouble8621 = d_37_ + Class348_Sub42_Sub4.aDouble9517; - if (Class348_Sub49.anInt7207 == 1) { - Class328_Sub1_Sub1.anInt8799 = (i_17_ + -Class348_Sub3.anInt6568 - i_34_); - OutputStream_Sub1.anInt95 = i_21_; - Class120.anInt4910 = -Class328.anInt4100 + (i_16_ - i_33_); - Class286_Sub5.anInt6255 = i_20_; - Class21.aHa326.DA(Class120.anInt4910, (Class328_Sub1_Sub1.anInt8799), Class286_Sub5.anInt6255, (OutputStream_Sub1.anInt95)); - } else { - Class286_Sub5.anInt6255 = i_20_; - Class328_Sub1_Sub1.anInt8799 = (-Class348_Sub3.anInt6568 + i_17_ - (-(Class348_Sub42_Sub9_Sub1.anInt10444) - -i_34_)); - Class120.anInt4910 = (-Class328.anInt4100 + i_16_ + (Class211.anInt2747 + -i_33_)); - OutputStream_Sub1.anInt95 = i_21_; - Class21.aHa326.DA(Class120.anInt4910, (Class328_Sub1_Sub1.anInt8799), Class286_Sub5.anInt6255, (OutputStream_Sub1.anInt95)); - } - Class163.method1274(Class348_Sub42_Sub8_Sub2.aClass76_10436); - if (i_51_ > 0) { - Class21.aHa326.KA(0, i_49_, (Class348_Sub16_Sub1.anInt8854), i_51_ + i_49_); - Class21.aHa326.ya(); - Class21.aHa326.GA(Class77.anInt1290); - Class258_Sub1.method1960(i_12_, i_4_, i_6_, i_5_, is_0_, is_3_, is_8_, is_9_, is_11_, is, i_2_, i_10_, i_7_, i_1_, bool, bool_13_, i_14_, 1, false); - } - if (i_46_ > 0) { - Class21.aHa326.KA(i_44_, i_53_, i_44_ - -i_46_, i_53_ + i_52_); - Class21.aHa326.ya(); - Class21.aHa326.GA(Class77.anInt1290); - Class258_Sub1.method1960(i_12_, i_4_, i_6_, i_5_, is_0_, is_3_, is_8_, is_9_, is_11_, is, i_2_, i_10_, i_7_, i_1_, bool, bool_13_, i_14_, 1, false); - } - Class21.aHa326.la(); - Class271.method2046(); - if (Class348_Sub49.anInt7207 == 0) Class21.aHa326.method3672(); - Class348_Sub3.anInt6568 += i_34_; - Class328.anInt4100 += i_33_; - Class348_Sub42_Sub4.aDouble9517 += d_37_; - Class348_Sub40_Sub8.anInt9157 = (-Class348_Sub3.anInt6568 + i_26_ + Class348_Sub42_Sub9_Sub1.anInt10444); - Class339.anInt4211 = (-Class328.anInt4100 + Class211.anInt2747 + i_25_); - if (Class348_Sub49.anInt7207 == 1) { - Class239_Sub24.anInt6095 += i_35_; - Class286.anInt3682 += i_36_; - for (int i_65_ = 0; i_65_ < Class250.anInt3225; i_65_++) { - int i_66_ = ((Class350.method3452(i_65_ - -Class286.anInt3682, (byte) -15, Class250.anInt3225)) * Class31.anInt425); - for (int i_67_ = 0; (Class31.anInt425 > i_67_); i_67_++) { - int i_68_ = ((Class350.method3452(i_67_ + (Class239_Sub24.anInt6095), (byte) -15, Class31.anInt425)) + i_66_); - boolean bool_69_ = (((i_38_ <= i_65_) && i_39_ + i_38_ > i_65_) || (i_65_ >= i_41_ && (i_65_ < i_41_ - -i_47_) && i_67_ >= i_40_ && (i_40_ - -i_42_ > i_67_))); - Class92.anInterface4Array1525[i_68_].method15(Class58.anInt1067 * i_67_, i_65_ * Class344.anInt4267, Class58.anInt1067, Class344.anInt4267, 0, 0, bool_69_, true); - } - } - } - } - } else { - Class339.anInt4211 = i_27_; - Class348_Sub40_Sub8.anInt9157 = i_28_; - if (Class348_Sub49.anInt7207 == 2) Class348_Sub42_Sub4.aDouble9517 = -d; - } - } - if (Class348_Sub16_Sub2.aBoolean8870) { - Class348_Sub21.anInt6849 = i_5_; - Class29.anInt403 = i_6_; - Class348_Sub40_Sub8.anInt9157 = Class348_Sub42_Sub9_Sub1.anInt10444; - Class328.anInt4100 = 0; - Class339.anInt4211 = Class211.anInt2747; - Class105_Sub1.anInt8422 = i_4_; - Class348_Sub3.anInt6568 = 0; - Class348_Sub42_Sub4.aDouble9517 = 0.0; - if (Class348_Sub49.anInt7207 == 0) Class21.aHa326.method3687(Class17.anInterface4_252); - Class21.aHa326.la(); - Class21.aHa326.ya(); - Class21.aHa326.GA(Class77.anInt1290); - Class51.aClass101_905.method903(Class105_Sub1.anInt8422, Class29.anInt403, Class348_Sub21.anInt6849, Class369_Sub1.anInt8583, Class295.anInt3760, Class27.anInt396); - Class21.aHa326.method3638(Class51.aClass101_905); - if (Class348_Sub49.anInt7207 == 1) { - Class328_Sub1_Sub1.anInt8799 = i_17_; - Class120.anInt4910 = i_16_; - OutputStream_Sub1.anInt95 = i_21_; - Class286_Sub5.anInt6255 = i_20_; - Class21.aHa326.DA(Class120.anInt4910, Class328_Sub1_Sub1.anInt8799, Class286_Sub5.anInt6255, OutputStream_Sub1.anInt95); - } else { - Class120.anInt4910 = i_16_ - -Class211.anInt2747; - Class328_Sub1_Sub1.anInt8799 = Class348_Sub42_Sub9_Sub1.anInt10444 + i_17_; - Class286_Sub5.anInt6255 = i_20_; - OutputStream_Sub1.anInt95 = i_21_; - Class21.aHa326.DA(Class120.anInt4910, Class328_Sub1_Sub1.anInt8799, Class286_Sub5.anInt6255, OutputStream_Sub1.anInt95); - } - Class14_Sub2.aDouble8621 = 0.0; - Class348_Sub42_Sub8_Sub2.aClass76_10436.method775((byte) 69); - Class163.method1274(Class348_Sub42_Sub8_Sub2.aClass76_10436); - Class258_Sub1.method1960(i_12_, i_4_, i_6_, i_5_, is_0_, is_3_, is_8_, is_9_, is_11_, is, i_2_, i_10_, i_7_, i_1_, bool, bool_13_, i_14_, 1, false); - Class271.method2046(); - Class348_Sub16_Sub2.aBoolean8870 = false; - if (Class348_Sub49.anInt7207 == 0) Class21.aHa326.method3672(); - if (Class348_Sub49.anInt7207 == 1) Class202.method1469(-117); - } - if (Class348_Sub49.anInt7207 == 0) Class17.anInterface4_252.method14(Class339.anInt4211, Class348_Sub40_Sub8.anInt9157, Class59_Sub1.anInt5283, Class107.anInt1651, 0, 0, true, true); - Class318_Sub1_Sub1_Sub2.anInt9997++; - r.method3284(true, Class348_Sub42_Sub4.aDouble9517); - Class318_Sub1_Sub5_Sub1.aDouble10120 = Class348_Sub42_Sub4.aDouble9517; - if (Class348_Sub49.anInt7207 == 0 || Class348_Sub49.anInt7207 == 2) { - if (Class348_Sub49.anInt7207 == 2) { - Class21.aHa326.GA(Class77.anInt1290); - Class21.aHa326.ya(); - } - Class193.anInt2590 = i_20_; - Class129.anInt1879 = i_21_; - Class94.anInt1537 = (-Class339.anInt4211 + -Class328.anInt4100 + (i_16_ + Class211.anInt2747)); - Class318_Sub5.anInt6417 = (-Class348_Sub40_Sub8.anInt9157 + (i_17_ + Class348_Sub42_Sub9_Sub1.anInt10444 + -Class348_Sub3.anInt6568)); - Class21.aHa326.DA(Class94.anInt1537, Class318_Sub5.anInt6417, Class193.anInt2590, Class129.anInt1879); - } else if (Class348_Sub49.anInt7207 == 1) { - Class193.anInt2590 = i_20_; - Class94.anInt1537 = i_16_ + -Class328.anInt4100; - Class318_Sub5.anInt6417 = -Class348_Sub3.anInt6568 + i_17_; - Class129.anInt1879 = i_21_; - Class21.aHa326.DA(Class94.anInt1537, Class318_Sub5.anInt6417, Class193.anInt2590, Class129.anInt1879); - Class21.aHa326.KA(Class339.anInt4211, Class348_Sub40_Sub8.anInt9157, (Class339.anInt4211 - -Class59_Sub1.anInt5283), (Class107.anInt1651 + Class348_Sub40_Sub8.anInt9157)); - } - Class258_Sub1.method1960(i_12_, i_4_, i_6_, i_5_, is_0_, is_3_, is_8_, is_9_, is_11_, is, i_2_, i_10_, i_7_, i_1_, bool, bool_13_, i_14_, Class348_Sub49.anInt7207 != 2 ? 2 : 0, Class348_Sub49.anInt7207 == 1); - Class21.aHa326.la(); - Class21.aHa326.DA(i_16_, i_17_, i_18_, i_19_); - if (i == -2) break; - anInt2986 = -82; - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("sj.D(" + (is != null ? "{...}" : "null") + ',' + i + ',' + (is_0_ != null ? "{...}" : "null") + ',' + i_1_ + ',' + i_2_ + ',' + (is_3_ != null ? "{...}" : "null") + ',' + i_4_ + ',' + i_5_ + ',' + bool + ',' + i_6_ + ',' + i_7_ + ',' + (is_8_ != null ? "{...}" : "null") + ',' + (is_9_ != null ? "{...}" : "null") + ',' + i_10_ + ',' + (is_11_ != null ? "{...}" : "null") + ',' + i_12_ + ',' + bool_13_ + ',' + i_14_ + ')')); - } - break; - } while (false); - } - - static final void method1635(int i, Class318_Sub1_Sub3_Sub3 class318_sub1_sub3_sub3) { - try { - anInt2983++; - do { - if ((class318_sub1_sub3_sub3.anInt10268) != -1) { - Class17 class17 = (Class10.aClass87_191.method835(class318_sub1_sub3_sub3.anInt10268, 7)); - if (class17 == null || class17.anIntArray237 == null) { - class318_sub1_sub3_sub3.aBoolean10213 = false; - class318_sub1_sub3_sub3.anInt10268 = -1; - } else { - class318_sub1_sub3_sub3.anInt10203++; - if ((class318_sub1_sub3_sub3.anInt10245 < class17.anIntArray237.length) && ((class17.anIntArray267[class318_sub1_sub3_sub3.anInt10245]) < class318_sub1_sub3_sub3.anInt10203)) { - class318_sub1_sub3_sub3.anInt10312++; - class318_sub1_sub3_sub3.anInt10245++; - class318_sub1_sub3_sub3.anInt10203 = 1; - if (!class318_sub1_sub3_sub3.aBoolean10309) Class287.method2178(class318_sub1_sub3_sub3, (class318_sub1_sub3_sub3.anInt10245), class17, -58); - } - if (class318_sub1_sub3_sub3.anInt10245 >= class17.anIntArray237.length) { - class318_sub1_sub3_sub3.anInt10245 = 0; - class318_sub1_sub3_sub3.anInt10203 = 0; - if (class318_sub1_sub3_sub3.aBoolean10213) { - class318_sub1_sub3_sub3.anInt10268 = class318_sub1_sub3_sub3.method2422((byte) 72).method1621((byte) -16); - if (class318_sub1_sub3_sub3.anInt10268 == -1) { - class318_sub1_sub3_sub3.aBoolean10213 = false; - break; - } - class17 = (Class10.aClass87_191.method835(class318_sub1_sub3_sub3.anInt10268, 7)); - } - if (!class318_sub1_sub3_sub3.aBoolean10309) Class287.method2178(class318_sub1_sub3_sub3, (class318_sub1_sub3_sub3.anInt10245), class17, -23); - } - class318_sub1_sub3_sub3.anInt10312 = class318_sub1_sub3_sub3.anInt10245 + 1; - if (class17.anIntArray237 == null) { - class318_sub1_sub3_sub3.anInt10268 = -1; - class318_sub1_sub3_sub3.aBoolean10213 = false; - } else if (class318_sub1_sub3_sub3.anInt10312 >= class17.anIntArray237.length) class318_sub1_sub3_sub3.anInt10312 = 0; - } - } - } while (false); - do { - if ((class318_sub1_sub3_sub3.anInt10269) != -1 && (Class367_Sub11.anInt7396 >= (class318_sub1_sub3_sub3.anInt10225))) { - Class368 class368 = (Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 90, class318_sub1_sub3_sub3.anInt10269)); - int i_70_ = class368.anInt4503; - if (i_70_ != -1) { - Class17 class17 = Class10.aClass87_191.method835(i_70_, 7); - if (class368.aBoolean4487) { - if (class17.anInt262 == 3) { - if (class318_sub1_sub3_sub3.anInt10322 > 0 && (class318_sub1_sub3_sub3.anInt10239 <= Class367_Sub11.anInt7396) && (Class367_Sub11.anInt7396 > (class318_sub1_sub3_sub3.anInt10300))) { - class318_sub1_sub3_sub3.anInt10269 = -1; - break; - } - } else if (class17.anInt262 == 1 && class318_sub1_sub3_sub3.anInt10322 > 0 && (Class367_Sub11.anInt7396 >= (class318_sub1_sub3_sub3.anInt10239)) && (Class367_Sub11.anInt7396 > (class318_sub1_sub3_sub3.anInt10300))) { - class318_sub1_sub3_sub3.anInt10225 = 1 + Class367_Sub11.anInt7396; - break; - } - } - if (class17 != null && class17.anIntArray237 != null) { - if (class318_sub1_sub3_sub3.anInt10240 < 0) { - class318_sub1_sub3_sub3.anInt10240 = 0; - if (!class318_sub1_sub3_sub3.aBoolean10309) Class287.method2178(class318_sub1_sub3_sub3, 0, class17, -89); - } - class318_sub1_sub3_sub3.anInt10243++; - if ((class17.anIntArray237.length > class318_sub1_sub3_sub3.anInt10240) && ((class17.anIntArray267[class318_sub1_sub3_sub3.anInt10240]) < class318_sub1_sub3_sub3.anInt10243)) { - class318_sub1_sub3_sub3.anInt10240++; - class318_sub1_sub3_sub3.anInt10243 = 1; - if (!class318_sub1_sub3_sub3.aBoolean10309) Class287.method2178(class318_sub1_sub3_sub3, class318_sub1_sub3_sub3.anInt10240, class17, -17); - } - if (class318_sub1_sub3_sub3.anInt10240 >= class17.anIntArray237.length) { - if (class368.aBoolean4487) { - class318_sub1_sub3_sub3.anInt10305++; - class318_sub1_sub3_sub3.anInt10240 -= class17.anInt238; - if (class17.anInt244 <= (class318_sub1_sub3_sub3.anInt10305)) class318_sub1_sub3_sub3.anInt10269 = -1; - else if ((class318_sub1_sub3_sub3.anInt10240) >= 0 && ((class17.anIntArray237).length > (class318_sub1_sub3_sub3.anInt10240))) { - if (!class318_sub1_sub3_sub3.aBoolean10309) Class287.method2178(class318_sub1_sub3_sub3, (class318_sub1_sub3_sub3.anInt10240), class17, -70); - } else class318_sub1_sub3_sub3.anInt10269 = -1; - } else class318_sub1_sub3_sub3.anInt10269 = -1; - } - class318_sub1_sub3_sub3.anInt10283 = class318_sub1_sub3_sub3.anInt10240 - -1; - if (class318_sub1_sub3_sub3.anInt10283 >= class17.anIntArray237.length) { - if (class368.aBoolean4487) { - class318_sub1_sub3_sub3.anInt10283 -= class17.anInt238; - if ((class318_sub1_sub3_sub3.anInt10305 - -1) >= class17.anInt244) class318_sub1_sub3_sub3.anInt10283 = -1; - else if ((class318_sub1_sub3_sub3.anInt10283) < 0 || ((class17.anIntArray237).length <= (class318_sub1_sub3_sub3.anInt10283))) class318_sub1_sub3_sub3.anInt10283 = -1; - } else class318_sub1_sub3_sub3.anInt10283 = -1; - } - } else class318_sub1_sub3_sub3.anInt10269 = -1; - } else class318_sub1_sub3_sub3.anInt10269 = -1; - } - } while (false); - do { - if ((class318_sub1_sub3_sub3.anInt10291) != -1 && (class318_sub1_sub3_sub3.anInt10211 <= Class367_Sub11.anInt7396)) { - Class368 class368 = (Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 93, class318_sub1_sub3_sub3.anInt10291)); - int i_71_ = class368.anInt4503; - if (i_71_ != -1) { - Class17 class17 = Class10.aClass87_191.method835(i_71_, 7); - if (class368.aBoolean4487) { - if (class17.anInt262 != 3) { - if (class17.anInt262 == 1 && class318_sub1_sub3_sub3.anInt10322 > 0 && (Class367_Sub11.anInt7396 >= (class318_sub1_sub3_sub3.anInt10239)) && (class318_sub1_sub3_sub3.anInt10300 < Class367_Sub11.anInt7396)) { - class318_sub1_sub3_sub3.anInt10211 = Class367_Sub11.anInt7396 - -1; - break; - } - } else if (class318_sub1_sub3_sub3.anInt10322 > 0 && ((class318_sub1_sub3_sub3.anInt10239) <= Class367_Sub11.anInt7396) && ((class318_sub1_sub3_sub3.anInt10300) < Class367_Sub11.anInt7396)) { - class318_sub1_sub3_sub3.anInt10291 = -1; - break; - } - } - if (class17 == null || class17.anIntArray237 == null) class318_sub1_sub3_sub3.anInt10291 = -1; - else { - if (class318_sub1_sub3_sub3.anInt10224 < 0) { - class318_sub1_sub3_sub3.anInt10224 = 0; - if (!class318_sub1_sub3_sub3.aBoolean10309) Class287.method2178(class318_sub1_sub3_sub3, 0, class17, -70); - } - class318_sub1_sub3_sub3.anInt10273++; - if ((class17.anIntArray237.length > class318_sub1_sub3_sub3.anInt10224) && ((class17.anIntArray267[class318_sub1_sub3_sub3.anInt10224]) < class318_sub1_sub3_sub3.anInt10273)) { - class318_sub1_sub3_sub3.anInt10224++; - class318_sub1_sub3_sub3.anInt10273 = 1; - if (!class318_sub1_sub3_sub3.aBoolean10309) Class287.method2178(class318_sub1_sub3_sub3, class318_sub1_sub3_sub3.anInt10224, class17, -114); - } - if (class17.anIntArray237.length <= class318_sub1_sub3_sub3.anInt10224) { - if (class368.aBoolean4487) { - class318_sub1_sub3_sub3.anInt10265++; - class318_sub1_sub3_sub3.anInt10224 -= class17.anInt238; - if (class17.anInt244 <= (class318_sub1_sub3_sub3.anInt10265)) class318_sub1_sub3_sub3.anInt10291 = -1; - else if ((class318_sub1_sub3_sub3.anInt10224) >= 0 && ((class318_sub1_sub3_sub3.anInt10224) < (class17.anIntArray237).length)) { - if (!class318_sub1_sub3_sub3.aBoolean10309) Class287.method2178(class318_sub1_sub3_sub3, (class318_sub1_sub3_sub3.anInt10224), class17, -92); - } else class318_sub1_sub3_sub3.anInt10291 = -1; - } else class318_sub1_sub3_sub3.anInt10291 = -1; - } - class318_sub1_sub3_sub3.anInt10276 = class318_sub1_sub3_sub3.anInt10224 - -1; - if (class318_sub1_sub3_sub3.anInt10276 >= class17.anIntArray237.length) { - if (class368.aBoolean4487) { - class318_sub1_sub3_sub3.anInt10276 -= class17.anInt238; - if (1 + (class318_sub1_sub3_sub3.anInt10265) < class17.anInt244) { - if ((class318_sub1_sub3_sub3.anInt10276) < 0 || ((class318_sub1_sub3_sub3.anInt10276) >= (class17.anIntArray237).length)) class318_sub1_sub3_sub3.anInt10276 = -1; - } else class318_sub1_sub3_sub3.anInt10276 = -1; - } else class318_sub1_sub3_sub3.anInt10276 = -1; - } - } - } else class318_sub1_sub3_sub3.anInt10291 = -1; - } - } while (false); - if ((class318_sub1_sub3_sub3.anInt10286 != -1) && (class318_sub1_sub3_sub3.anInt10218) <= 1) { - Class17 class17 = (Class10.aClass87_191.method835((class318_sub1_sub3_sub3.anInt10286), 7)); - if (class17.anInt262 != 3) { - if (class17.anInt262 == 1 && class318_sub1_sub3_sub3.anInt10322 > 0 && (class318_sub1_sub3_sub3.anInt10239) <= Class367_Sub11.anInt7396 && (class318_sub1_sub3_sub3.anInt10300) < Class367_Sub11.anInt7396) class318_sub1_sub3_sub3.anInt10218 = 2; - } else if ((class318_sub1_sub3_sub3.anInt10322) > 0 && (class318_sub1_sub3_sub3.anInt10239 <= Class367_Sub11.anInt7396) && (Class367_Sub11.anInt7396 > class318_sub1_sub3_sub3.anInt10300)) { - class318_sub1_sub3_sub3.anInt10286 = -1; - class318_sub1_sub3_sub3.anIntArray10236 = null; - } - } - if ((class318_sub1_sub3_sub3.anInt10286 != -1) && (class318_sub1_sub3_sub3.anInt10218) == 0) { - Class17 class17 = (Class10.aClass87_191.method835((class318_sub1_sub3_sub3.anInt10286), 7)); - if (class17 == null || class17.anIntArray237 == null) { - class318_sub1_sub3_sub3.anInt10286 = -1; - class318_sub1_sub3_sub3.anIntArray10236 = null; - } else { - class318_sub1_sub3_sub3.anInt10232++; - if ((class17.anIntArray237.length > (class318_sub1_sub3_sub3.anInt10267)) && (class318_sub1_sub3_sub3.anInt10232 > (class17.anIntArray267[class318_sub1_sub3_sub3.anInt10267]))) { - class318_sub1_sub3_sub3.anInt10267++; - class318_sub1_sub3_sub3.anInt10232 = 1; - if (!class318_sub1_sub3_sub3.aBoolean10309) Class287.method2178(class318_sub1_sub3_sub3, (class318_sub1_sub3_sub3.anInt10267), class17, -34); - } - if (class17.anIntArray237.length <= (class318_sub1_sub3_sub3.anInt10267)) { - class318_sub1_sub3_sub3.anInt10267 -= class17.anInt238; - class318_sub1_sub3_sub3.anInt10294++; - if (class17.anInt244 <= class318_sub1_sub3_sub3.anInt10294) { - class318_sub1_sub3_sub3.anIntArray10236 = null; - class318_sub1_sub3_sub3.anInt10286 = -1; - } else if (class318_sub1_sub3_sub3.anInt10267 < 0 || (class318_sub1_sub3_sub3.anInt10267 >= (class17.anIntArray237).length)) { - class318_sub1_sub3_sub3.anIntArray10236 = null; - class318_sub1_sub3_sub3.anInt10286 = -1; - } else if (!class318_sub1_sub3_sub3.aBoolean10309) Class287.method2178(class318_sub1_sub3_sub3, (class318_sub1_sub3_sub3.anInt10267), class17, -88); - } - class318_sub1_sub3_sub3.anInt10244 = (class318_sub1_sub3_sub3.anInt10267) + 1; - if (class17.anIntArray237.length <= (class318_sub1_sub3_sub3.anInt10244)) { - class318_sub1_sub3_sub3.anInt10244 -= class17.anInt238; - if (class17.anInt244 <= 1 + class318_sub1_sub3_sub3.anInt10294) class318_sub1_sub3_sub3.anInt10244 = -1; - else if (class318_sub1_sub3_sub3.anInt10244 < 0 || (class318_sub1_sub3_sub3.anInt10244 >= class17.anIntArray237.length)) class318_sub1_sub3_sub3.anInt10244 = -1; - } - } - } - int i_72_ = -86 / ((-18 - i) / 51); - if (class318_sub1_sub3_sub3.anInt10218 > 0) class318_sub1_sub3_sub3.anInt10218--; - for (int i_73_ = 0; ((class318_sub1_sub3_sub3.aClass182Array10308).length > i_73_); i_73_++) { - Class182 class182 = (class318_sub1_sub3_sub3.aClass182Array10308[i_73_]); - if (class182 != null) { - if (class182.anInt2448 > 0) class182.anInt2448--; - else { - Class17 class17 = Class10.aClass87_191.method835((class182.anInt2454), 7); - if (class17 == null || class17.anIntArray237 == null) class318_sub1_sub3_sub3.aClass182Array10308[i_73_] = null; - else { - class182.anInt2456++; - if ((class17.anIntArray237.length > class182.anInt2451) && (class182.anInt2456 > (class17.anIntArray267[class182.anInt2451]))) { - class182.anInt2451++; - class182.anInt2456 = 1; - if (!class318_sub1_sub3_sub3.aBoolean10309) Class287.method2178(class318_sub1_sub3_sub3, class182.anInt2451, class17, -108); - } - if (class182.anInt2451 >= class17.anIntArray237.length) { - class182.anInt2451 -= class17.anInt238; - class182.anInt2445++; - if (class17.anInt244 > class182.anInt2445) { - if (class182.anInt2451 < 0 || ((class17.anIntArray237).length <= (class182.anInt2451))) class318_sub1_sub3_sub3.aClass182Array10308[i_73_] = null; - else if (!class318_sub1_sub3_sub3.aBoolean10309) Class287.method2178(class318_sub1_sub3_sub3, class182.anInt2451, class17, -46); - } else class318_sub1_sub3_sub3.aClass182Array10308[i_73_] = null; - } - class182.anInt2455 = 1 + class182.anInt2451; - if (class182.anInt2455 >= class17.anIntArray237.length) { - class182.anInt2455 -= class17.anInt238; - if (class17.anInt244 > class182.anInt2445 - -1) { - if (class182.anInt2455 < 0 || ((class17.anIntArray237).length <= (class182.anInt2455))) class182.anInt2455 = -1; - } else class182.anInt2455 = -1; - } - } - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("sj.A(" + i + ',' + (class318_sub1_sub3_sub3 != null ? "{...}" : "null") + ')')); - } - } - - static final Class299 method1636(int i, int i_74_, int i_75_, int i_76_, int i_77_, int i_78_, int i_79_) { - anInt2988++; - long l = ((long) i_76_ * 76724863L ^ ((long) i * 32147369L ^ ((long) i_74_ * 986053L ^ ((long) i_75_ * 67481L ^ (long) i_77_ * 97549L ^ (long) i_79_ * 475427L)))); - Class299 class299 = (Class299) Class375.aClass60_4543.method583(l, 90); - if (class299 != null) return class299; - class299 = Class60.aHa1098.method3697(i_75_, i_77_, i_79_, i_74_, i, i_76_); - if (i_78_ != -1) method1636(58, 63, -99, -89, -7, 18, 71); - Class375.aClass60_4543.method582(class299, l, (byte) -106); - return class299; - } - - public final String toString() { - anInt2989++; - throw new IllegalStateException(); - } - - Class230(String string, int i) { - try { - this.aString2985 = string; - this.anInt2987 = i; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("sj.(" + (string != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - static final boolean method1637(int i, int i_80_, int i_81_) { - anInt2984++; - if (i_80_ != 32768) return true; - return (0x8000 & i_81_) != 0; - } -} diff --git a/client/src/Class231.java b/client/src/Class231.java deleted file mode 100644 index 83fa6b917..000000000 --- a/client/src/Class231.java +++ /dev/null @@ -1,94 +0,0 @@ -/* Class231 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class231 { - static int anInt2990; - static int anInt2991; - static int anInt2992; - static Class297 aClass297_2993; - static int anInt2994; - int anInt2995; - static int anInt2996; - static int anInt2997; - - static final float[] method1638(int i, float[] fs, int i_0_) { - anInt2990++; - if (i_0_ != -1) aClass297_2993 = null; - float[] fs_1_ = new float[i]; - Class214.method1574(fs, 0, fs_1_, 0, i); - return fs_1_; - } - - public final String toString() { - anInt2992++; - throw new IllegalStateException(); - } - - static final boolean method1639(int i, int i_2_) { - if (i_2_ != 14634) method1638(-102, null, 28); - anInt2994++; - return i >= 12 && i <= 17; - } - - final int method1640(int i) { - if (i != 0) return -76; - anInt2991++; - return this.anInt2995; - } - - public static void method1641(byte i) { - aClass297_2993 = null; - if (i != 85) aClass297_2993 = null; - } - - static final void method1642(byte i, ha var_ha) { - anInt2997++; - int i_3_ = 0; - int i_4_ = 0; - if (Class59_Sub1.aBoolean5300) { - i_3_ = s_Sub3.method4008((byte) -124); - i_4_ = Class16.method260(false); - } - int i_5_ = -10660793; - Class318_Sub7.method2509(Class63.anInt1117, Class348_Sub42_Sub5.anInt9532 - -i_4_, var_ha, Class135_Sub1.anInt4717 - -i_3_, i_5_, true, Class237_Sub1.anInt5819, -16777216); - if (i > 98) { - Class262.aClass324_3326.method2576(Class274.aClass274_3507.method2063(Class348_Sub33.anInt6967, 544), i_5_, i_4_ + (Class348_Sub42_Sub5.anInt9532 - -14), i_3_ + (Class135_Sub1.anInt4717 + 3), -1, -125); - int i_6_ = Class258_Sub4.aClass373_8552.method3597(true) - -i_3_; - int i_7_ = i_4_ + Class258_Sub4.aClass373_8552.method3594((byte) 127); - if (Class348_Sub42_Sub6.aBoolean9535) { - int i_8_ = 0; - for (Class348_Sub42_Sub13 class348_sub42_sub13 = ((Class348_Sub42_Sub13) Class233.aClass107_3022.method1011(-119)); class348_sub42_sub13 != null; class348_sub42_sub13 = ((Class348_Sub42_Sub13) Class233.aClass107_3022.method1003((byte) 44))) { - int i_9_ = (31 + i_4_ + Class348_Sub42_Sub5.anInt9532 + i_8_ * 16); - i_8_++; - if ((class348_sub42_sub13.anInt9615) == 1) - Class318_Sub2.method2494(i_4_ + Class348_Sub42_Sub5.anInt9532, -256, i_9_, var_ha, ((Class348_Sub42_Sub12) (class348_sub42_sub13.aClass107_9621.aClass348_Sub42_1647.aClass348_Sub42_7063)), Class63.anInt1117, i_7_, -1, (byte) 124, Class237_Sub1.anInt5819, Class135_Sub1.anInt4717 - -i_3_, i_6_); - else Class318_Sub1_Sub3_Sub3.method2431(-1, i_9_, class348_sub42_sub13, i_6_, Class63.anInt1117, -256, i_7_, var_ha, Class348_Sub42_Sub5.anInt9532 + i_4_, 126, Class135_Sub1.anInt4717 - -i_3_, Class237_Sub1.anInt5819); - } - if (Class242.aClass348_Sub42_Sub13_3152 != null) { - Class318_Sub7.method2509(Class348_Sub1_Sub1.anInt8806, Class373.anInt4534, var_ha, Class50_Sub3.anInt5252, i_5_, true, Class177.anInt4669, -16777216); - i_8_ = 0; - Class262.aClass324_3326.method2576(Class242.aClass348_Sub42_Sub13_3152.aString9617, i_5_, Class373.anInt4534 - -14, 3 + Class50_Sub3.anInt5252, -1, -126); - for (Class348_Sub42_Sub12 class348_sub42_sub12 = ((Class348_Sub42_Sub12) Class242.aClass348_Sub42_Sub13_3152.aClass107_9621.method1011(-84)); class348_sub42_sub12 != null; class348_sub42_sub12 = ((Class348_Sub42_Sub12) Class242.aClass348_Sub42_Sub13_3152.aClass107_9621.method1003((byte) 73))) { - int i_10_ = 31 + (Class373.anInt4534 + i_8_ * 16); - i_8_++; - Class318_Sub2.method2494(Class373.anInt4534, -256, i_10_, var_ha, class348_sub42_sub12, Class348_Sub1_Sub1.anInt8806, i_7_, -1, (byte) 125, Class177.anInt4669, Class50_Sub3.anInt5252, i_6_); - } - Class332.method2642(Class348_Sub1_Sub1.anInt8806, Class373.anInt4534, true, Class50_Sub3.anInt5252, Class177.anInt4669); - } - } else { - int i_11_ = 0; - for (Class348_Sub42_Sub12 class348_sub42_sub12 = ((Class348_Sub42_Sub12) Class348_Sub40_Sub4.aClass262_9111.method1995(4)); class348_sub42_sub12 != null; class348_sub42_sub12 = (Class348_Sub42_Sub12) Class348_Sub40_Sub4.aClass262_9111.method1990((byte) 55)) { - int i_12_ = 31 + (i_4_ + Class348_Sub42_Sub5.anInt9532 - -((-i_11_ + -1 + Class73.anInt4776) * 16)); - Class318_Sub2.method2494(i_4_ + Class348_Sub42_Sub5.anInt9532, -256, i_12_, var_ha, class348_sub42_sub12, Class63.anInt1117, i_7_, -1, (byte) 124, Class237_Sub1.anInt5819, Class135_Sub1.anInt4717 - -i_3_, i_6_); - i_11_++; - } - } - Class332.method2642(Class63.anInt1117, Class348_Sub42_Sub5.anInt9532 - -i_4_, true, Class135_Sub1.anInt4717 + i_3_, Class237_Sub1.anInt5819); - } - } - - Class231(String string, int i) { - this.anInt2995 = i; - } -} diff --git a/client/src/Class232.java b/client/src/Class232.java deleted file mode 100644 index acf472477..000000000 --- a/client/src/Class232.java +++ /dev/null @@ -1,155 +0,0 @@ -/* Class232 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class232 { - private Class258_Sub3 aClass258_Sub3_2998; - private final Class104 aClass104_2999; - private final ha_Sub2 aHa_Sub2_3000; - private Interface8 anInterface8_3001; - private final int anInt3002; - private final int anInt3003; - static int anInt3004; - static int anInt3005; - static int anInt3006; - static int anInt3007; - private final int anInt3008; - boolean aBoolean3009 = true; - private int anInt3010 = -1; - private Class119_Sub2 aClass119_Sub2_3011; - static int anInt3012; - static int anInt3013; - static int[] anIntArray3014 = new int[1]; - - final void method1643(byte[] is, int i, int i_0_, byte i_1_) { - aClass119_Sub2_3011.method35(is, i, 110, aHa_Sub2_3000.method3785(i, 4) * i_0_); - anInt3005++; - method1646(aClass119_Sub2_3011, 113, i_0_); - if (i_1_ < 8) method1648((byte) 82); - } - - final void method1644(byte i) { - if (i > -83) anInt3006 = -60; - anInt3013++; - method1646(anInterface8_3001, 115, anInt3008); - } - - public static void method1645(int i) { - if (i >= 35) anIntArray3014 = null; - } - - private final void method1646(Interface8 interface8, int i, int i_2_) { - anInt3007++; - if (i_2_ != 0) { - method1648((byte) 121); - if (i <= 107) method1647(-124, -86); - aHa_Sub2_3000.method3771((byte) -93, aClass258_Sub3_2998); - aHa_Sub2_3000.method3759(i_2_, -128, 4, interface8, 0); - } - } - - static final void method1647(int i, int i_3_) { - if (i != -128) anIntArray3014 = null; - anInt3012++; - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i_3_, (byte) 105, 1); - class348_sub42_sub15.method3251(-16058); - } - - Class232(ha_Sub2 var_ha_Sub2, Class104 class104, s_Sub2 var_s_Sub2, int i, int i_4_, int i_5_, int i_6_, int i_7_) { - try { - aHa_Sub2_3000 = var_ha_Sub2; - aClass104_2999 = class104; - anInt3003 = i_6_; - anInt3002 = i_7_; - int i_8_ = 1 << i_5_; - int i_9_ = 0; - int i_10_ = i << i_5_; - int i_11_ = i_4_ << i_5_; - for (int i_12_ = 0; i_8_ > i_12_; i_12_++) { - int i_13_ = var_s_Sub2.anInt4587 * (i_11_ - -i_12_) - -i_10_; - for (int i_14_ = 0; i_14_ < i_8_; i_14_++) { - short[] is = var_s_Sub2.aShortArrayArray8267[i_13_++]; - if (is != null) i_9_ += is.length; - } - } - anInt3008 = i_9_; - if (i_9_ <= 0) aClass258_Sub3_2998 = null; - else { - Class348_Sub49 class348_sub49 = new Class348_Sub49(i_9_ * 2); - if (aHa_Sub2_3000.aBoolean7775) { - for (int i_19_ = 0; i_8_ > i_19_; i_19_++) { - int i_20_ = (i_10_ + (i_19_ + i_11_) * var_s_Sub2.anInt4587); - for (int i_21_ = 0; i_8_ > i_21_; i_21_++) { - short[] is = (var_s_Sub2.aShortArrayArray8267[i_20_++]); - if (is != null) { - for (int i_22_ = 0; (i_22_ < is.length); i_22_++) - class348_sub49.writeShort((byte) 107, (is[i_22_] & 0xffff)); - } - } - } - } else { - for (int i_15_ = 0; i_8_ > i_15_; i_15_++) { - int i_16_ = ((i_11_ - -i_15_) * var_s_Sub2.anInt4587 - -i_10_); - for (int i_17_ = 0; i_8_ > i_17_; i_17_++) { - short[] is = (var_s_Sub2.aShortArrayArray8267[i_16_++]); - if (is != null) { - for (int i_18_ = 0; is.length > i_18_; i_18_++) - class348_sub49.method3397(87, is[i_18_] & 0xffff); - } - } - } - } - anInterface8_3001 = (aHa_Sub2_3000.method3733(5123, -39, class348_sub49.anInt7197, class348_sub49.aByteArray7154, false)); - aClass119_Sub2_3011 = new Class119_Sub2(aHa_Sub2_3000, 5123, null, 1); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("sm.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + (class104 != null ? "{...}" : "null") + ',' + (var_s_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ')')); - } - } - - private final void method1648(byte i) { - anInt3004++; - if (this.aBoolean3009) { - this.aBoolean3009 = false; - byte[] is = aClass104_2999.aByteArray1617; - byte[] is_23_ = aHa_Sub2_3000.aByteArray7879; - if (i > 115) { - int i_24_ = 0; - int i_25_ = aClass104_2999.anInt1624; - int i_26_ = (anInt3003 - -(anInt3002 * aClass104_2999.anInt1624)); - for (int i_27_ = -128; i_27_ < 0; i_27_++) { - i_24_ = (i_24_ << 8) + -i_24_; - for (int i_28_ = -128; i_28_ < 0; i_28_++) { - if (is[i_26_++] != 0) i_24_++; - } - i_26_ += i_25_ - 128; - } - if (aClass258_Sub3_2998 != null && i_24_ == anInt3010) this.aBoolean3009 = false; - else { - anInt3010 = i_24_; - i_26_ = anInt3003 - -(i_25_ * anInt3002); - int i_29_ = 0; - for (int i_30_ = -128; i_30_ < 0; i_30_++) { - for (int i_31_ = -128; i_31_ < 0; i_31_++) { - if (is[i_26_] == 0) { - int i_32_ = 0; - if (is[i_26_ - 1] != 0) i_32_++; - if (is[1 + i_26_] != 0) i_32_++; - if (is[-i_25_ + i_26_] != 0) i_32_++; - if (is[i_25_ + i_26_] != 0) i_32_++; - is_23_[i_29_++] = (byte) (i_32_ * 17); - } else is_23_[i_29_++] = (byte) 68; - i_26_++; - } - i_26_ += aClass104_2999.anInt1624 - 128; - } - if (aClass258_Sub3_2998 == null) { - aClass258_Sub3_2998 = new Class258_Sub3(aHa_Sub2_3000, 3553, 6406, 128, 128, false, (aHa_Sub2_3000.aByteArray7879), 6406, false); - aClass258_Sub3_2998.method1965(false, false, 10243); - aClass258_Sub3_2998.method1957(9728, true); - } else aClass258_Sub3_2998.method1970(0, 0, 128, false, 0, 128, 6406, -69, aHa_Sub2_3000.aByteArray7879, 0); - } - } - } - } -} diff --git a/client/src/Class233.java b/client/src/Class233.java deleted file mode 100644 index 10151acb0..000000000 --- a/client/src/Class233.java +++ /dev/null @@ -1,409 +0,0 @@ -/* Class233 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -final class Class233 { - static float[] aFloatArray3015 = new float[16]; - static int anInt3016; - static int anInt3017; - static int anInt3018; - static int anInt3019; - private final Class348_Sub49_Sub1 aClass348_Sub49_Sub1_3020; - static int anInt3021; - static Class107 aClass107_3022 = new Class107(); - static int anInt3023; - private final float[] aFloatArray3024 = new float[16]; - private Class123 aClass123_3025; - private final int anInt3026; - private Interface2 anInterface2_3027; - private Class123 aClass123_3028; - private Class123 aClass123_3029; - private final Class318_Sub9_Sub2[][] aClass318_Sub9_Sub2ArrayArray3030; - private final Class318_Sub9_Sub2[][] aClass318_Sub9_Sub2ArrayArray3031; - private final int[] anIntArray3032; - private final int[] anIntArray3033; - private int anInt3034; - private final int[] anIntArray3035; - - private final void method1649(ha_Sub2 var_ha_Sub2, int i, int i_0_) { - anInt3019++; - Class86.aFloat1478 = var_ha_Sub2.aFloat7768; - if (i_0_ != 24484) method1655(null, -66, 67); - var_ha_Sub2.method3789((byte) -119, (float) i); - var_ha_Sub2.method3760(i_0_ + -24483); - OpenGL.glDisable(16384); - OpenGL.glDisable(16385); - var_ha_Sub2.method3748(0, false); - OpenGL.glNormal3f(0.0F, -1.0F, 0.0F); - } - - private final void method1650(ha_Sub2 var_ha_Sub2, byte i) { - var_ha_Sub2.method3748(0, true); - anInt3016++; - OpenGL.glEnable(16384); - OpenGL.glEnable(16385); - if (i != -5) aFloatArray3015 = null; - if (Class86.aFloat1478 != var_ha_Sub2.aFloat7768) var_ha_Sub2.xa(Class86.aFloat1478); - } - - final void method1651(ha_Sub2 var_ha_Sub2, byte i, int i_1_, Class98 class98) { - try { - anInt3017++; - if (var_ha_Sub2.aClass101_Sub3_7760 != null) { - if (i_1_ >= 0) method1649(var_ha_Sub2, i_1_, 24484); - else method1652(false, var_ha_Sub2); - float f = (var_ha_Sub2.aClass101_Sub3_7760.aFloat5756); - float f_2_ = (var_ha_Sub2.aClass101_Sub3_7760.aFloat5754); - float f_3_ = (var_ha_Sub2.aClass101_Sub3_7760.aFloat5784); - float f_4_ = (var_ha_Sub2.aClass101_Sub3_7760.aFloat5751); - try { - int i_5_ = 0; - int i_6_ = 2147483647; - int i_7_ = 0; - Class318_Sub9 class318_sub9 = (class98.aClass88_1569.aClass318_Sub9_1503); - for (Class318_Sub9 class318_sub9_8_ = (class318_sub9.aClass318_Sub9_6469); class318_sub9_8_ != class318_sub9; class318_sub9_8_ = (class318_sub9_8_.aClass318_Sub9_6469)) { - Class318_Sub9_Sub2 class318_sub9_sub2 = (Class318_Sub9_Sub2) class318_sub9_8_; - int i_9_ = (int) (f_4_ + ((float) (class318_sub9_sub2.anInt8796 >> 12) * f_2_ + (float) ((class318_sub9_sub2.anInt8791) >> 12) * f + (float) ((class318_sub9_sub2.anInt8789) >> 12) * f_3_)); - if (i_7_ < i_9_) i_7_ = i_9_; - if (i_6_ > i_9_) i_6_ = i_9_; - anIntArray3032[i_5_++] = i_9_; - } - int i_10_ = i_7_ - i_6_; - int i_11_; - if (2 + i_10_ > 1600) { - i_11_ = 1 - -Class299.method2253(i_10_, -86) - anInt3026; - i_10_ = (i_10_ >> i_11_) + 2; - } else { - i_10_ += 2; - i_11_ = 0; - } - i_5_ = 0; - Class318_Sub9 class318_sub9_12_ = class318_sub9.aClass318_Sub9_6469; - int i_13_ = -2; - if (i > -23) aClass107_3022 = null; - boolean bool = true; - boolean bool_14_ = true; - while (class318_sub9 != class318_sub9_12_) { - anInt3034 = 0; - for (int i_15_ = 0; i_10_ > i_15_; i_15_++) - anIntArray3033[i_15_] = 0; - for (int i_16_ = 0; i_16_ < 64; i_16_++) - anIntArray3035[i_16_] = 0; - for (/**/; class318_sub9 != class318_sub9_12_; class318_sub9_12_ = (class318_sub9_12_.aClass318_Sub9_6469)) { - Class318_Sub9_Sub2 class318_sub9_sub2 = (Class318_Sub9_Sub2) class318_sub9_12_; - if (bool_14_) { - bool = class318_sub9_sub2.aBoolean8794; - i_13_ = class318_sub9_sub2.anInt8792; - bool_14_ = false; - } - if (i_5_ > 0 && ((class318_sub9_sub2.anInt8792) != i_13_ || (class318_sub9_sub2.aBoolean8794 == !bool))) { - bool_14_ = true; - break; - } - int i_17_ = anIntArray3032[i_5_++] + -i_6_ >> i_11_; - if (i_17_ < 1600) { - if (anIntArray3033[i_17_] < 64) aClass318_Sub9_Sub2ArrayArray3031[i_17_][anIntArray3033[i_17_]++] = class318_sub9_sub2; - else { - if (anIntArray3033[i_17_] == 64) { - if (anInt3034 == 64) continue; - anIntArray3033[i_17_] += anInt3034++ + 1; - } - aClass318_Sub9_Sub2ArrayArray3030[-1 + (-64 + anIntArray3033[i_17_])][anIntArray3035[(anIntArray3033[i_17_] - 64 + -1)]++] = class318_sub9_sub2; - } - } - } - if (i_13_ < 0) var_ha_Sub2.method3757(-1, -124); - else var_ha_Sub2.method3757(i_13_, -100); - if (!bool || (Class86.aFloat1478 == var_ha_Sub2.aFloat7768)) { - if (var_ha_Sub2.aFloat7768 != 1.0F) var_ha_Sub2.xa(1.0F); - } else var_ha_Sub2.xa(Class86.aFloat1478); - method1655(var_ha_Sub2, i_10_, 785980556); - } - } catch (Exception exception) { - /* empty */ - } - method1650(var_ha_Sub2, (byte) -5); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("sn.G(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_1_ + ',' + (class98 != null ? "{...}" : "null") + ')')); - } - } - - private final void method1652(boolean bool, ha_Sub2 var_ha_Sub2) { - Class86.aFloat1478 = var_ha_Sub2.aFloat7768; - anInt3021++; - var_ha_Sub2.method3784((byte) -62); - OpenGL.glDisable(16384); - OpenGL.glDisable(16385); - var_ha_Sub2.method3748(0, bool); - OpenGL.glNormal3f(0.0F, -1.0F, 0.0F); - } - - public static void method1653(int i) { - aClass107_3022 = null; - aFloatArray3015 = null; - if (i != 1489574736) aClass107_3022 = null; - } - - final void method1654(int i, ha_Sub2 var_ha_Sub2) { - if (i == 643267468) { - anInt3023++; - anInterface2_3027 = var_ha_Sub2.method3731(2, true, 24, null, 196584); - aClass123_3025 = new Class123(anInterface2_3027, 5126, 2, 0); - aClass123_3029 = new Class123(anInterface2_3027, 5126, 3, 8); - aClass123_3028 = new Class123(anInterface2_3027, 5121, 4, 20); - } - } - - private final void method1655(ha_Sub2 var_ha_Sub2, int i, int i_18_) { - anInt3018++; - if (i_18_ == 785980556) { - OpenGL.glGetFloatv(2982, aFloatArray3024, 0); - float f = aFloatArray3024[0]; - float f_19_ = aFloatArray3024[4]; - float f_20_ = aFloatArray3024[8]; - float f_21_ = aFloatArray3024[1]; - float f_22_ = aFloatArray3024[5]; - float f_23_ = aFloatArray3024[9]; - float f_24_ = f_21_ + f; - float f_25_ = f_22_ + f_19_; - float f_26_ = f_23_ + f_20_; - float f_27_ = f - f_21_; - float f_28_ = -f_22_ + f_19_; - float f_29_ = -f_23_ + f_20_; - float f_30_ = -f + f_21_; - float f_31_ = -f_19_ + f_22_; - aClass348_Sub49_Sub1_3020.anInt7197 = 0; - float f_32_ = -f_20_ + f_23_; - if (var_ha_Sub2.aBoolean7775) { - for (int i_56_ = i - 1; i_56_ >= 0; i_56_--) { - int i_57_ = (Math.min(anIntArray3033[i_56_], 64)); - if (i_57_ > 0) { - for (int i_58_ = -1 + i_57_; i_58_ >= 0; i_58_--) { - Class318_Sub9_Sub2 class318_sub9_sub2 = (aClass318_Sub9_Sub2ArrayArray3031[i_56_][i_58_]); - int i_59_ = (class318_sub9_sub2.anInt8790); - byte i_60_ = (byte) (i_59_ >> 16); - byte i_61_ = (byte) (i_59_ >> 8); - byte i_62_ = (byte) i_59_; - byte i_63_ = (byte) (i_59_ >>> 24); - float f_64_ = (float) (class318_sub9_sub2.anInt8791 >> 12); - float f_65_ = (float) (class318_sub9_sub2.anInt8796 >> 12); - float f_66_ = (float) (class318_sub9_sub2.anInt8789 >> 12); - int i_67_ = ((class318_sub9_sub2.anInt8793) >> 12); - aClass348_Sub49_Sub1_3020.method3400(0.0F, (byte) -88); - aClass348_Sub49_Sub1_3020.method3400(0.0F, (byte) -96); - aClass348_Sub49_Sub1_3020.method3400((float) -i_67_ * f_24_ + f_64_, (byte) -96); - aClass348_Sub49_Sub1_3020.method3400(f_65_ + f_25_ * (float) -i_67_, (byte) -84); - aClass348_Sub49_Sub1_3020.method3400(f_66_ + f_26_ * (float) -i_67_, (byte) -119); - aClass348_Sub49_Sub1_3020.writeByte(false, i_60_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_61_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_62_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_63_); - aClass348_Sub49_Sub1_3020.method3400(1.0F, (byte) -114); - aClass348_Sub49_Sub1_3020.method3400(0.0F, (byte) -116); - aClass348_Sub49_Sub1_3020.method3400((float) i_67_ * f_27_ + f_64_, (byte) -121); - aClass348_Sub49_Sub1_3020.method3400((float) i_67_ * f_28_ + f_65_, (byte) -95); - aClass348_Sub49_Sub1_3020.method3400(f_66_ + (float) i_67_ * f_29_, (byte) -78); - aClass348_Sub49_Sub1_3020.writeByte(false, i_60_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_61_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_62_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_63_); - aClass348_Sub49_Sub1_3020.method3400(1.0F, (byte) -128); - aClass348_Sub49_Sub1_3020.method3400(1.0F, (byte) -91); - aClass348_Sub49_Sub1_3020.method3400(f_64_ + f_24_ * (float) i_67_, (byte) -101); - aClass348_Sub49_Sub1_3020.method3400(f_25_ * (float) i_67_ + f_65_, (byte) -128); - aClass348_Sub49_Sub1_3020.method3400(f_66_ + (float) i_67_ * f_26_, (byte) -123); - aClass348_Sub49_Sub1_3020.writeByte(false, i_60_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_61_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_62_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_63_); - aClass348_Sub49_Sub1_3020.method3400(0.0F, (byte) -94); - aClass348_Sub49_Sub1_3020.method3400(1.0F, (byte) -101); - aClass348_Sub49_Sub1_3020.method3400(f_30_ * (float) i_67_ + f_64_, (byte) -84); - aClass348_Sub49_Sub1_3020.method3400(f_65_ + f_31_ * (float) i_67_, (byte) -87); - aClass348_Sub49_Sub1_3020.method3400(f_32_ * (float) i_67_ + f_66_, (byte) -120); - aClass348_Sub49_Sub1_3020.writeByte(false, i_60_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_61_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_62_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_63_); - } - if (anIntArray3033[i_56_] > 64) { - int i_68_ = -64 + anIntArray3033[i_56_] - 1; - for (int i_69_ = anIntArray3035[i_68_] - 1; i_69_ >= 0; i_69_--) { - Class318_Sub9_Sub2 class318_sub9_sub2 = (aClass318_Sub9_Sub2ArrayArray3030[i_68_][i_69_]); - int i_70_ = (class318_sub9_sub2.anInt8790); - byte i_71_ = (byte) (i_70_ >> 16); - byte i_72_ = (byte) (i_70_ >> 8); - byte i_73_ = (byte) i_70_; - byte i_74_ = (byte) (i_70_ >>> 24); - float f_75_ = (float) (class318_sub9_sub2.anInt8791 >> 12); - float f_76_ = (float) (class318_sub9_sub2.anInt8796 >> 12); - float f_77_ = (float) (class318_sub9_sub2.anInt8789 >> 12); - int i_78_ = (class318_sub9_sub2.anInt8793 >> 12); - aClass348_Sub49_Sub1_3020.method3400(0.0F, (byte) -77); - aClass348_Sub49_Sub1_3020.method3400(0.0F, (byte) -103); - aClass348_Sub49_Sub1_3020.method3400((float) -i_78_ * f_24_ + f_75_, (byte) -79); - aClass348_Sub49_Sub1_3020.method3400(f_76_ + f_25_ * (float) -i_78_, (byte) -102); - aClass348_Sub49_Sub1_3020.method3400(f_77_ + f_26_ * (float) -i_78_, (byte) -79); - aClass348_Sub49_Sub1_3020.writeByte(false, i_71_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_72_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_73_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_74_); - aClass348_Sub49_Sub1_3020.method3400(1.0F, (byte) -119); - aClass348_Sub49_Sub1_3020.method3400(0.0F, (byte) -118); - aClass348_Sub49_Sub1_3020.method3400((float) i_78_ * f_27_ + f_75_, (byte) -126); - aClass348_Sub49_Sub1_3020.method3400(f_76_ + f_28_ * (float) i_78_, (byte) -103); - aClass348_Sub49_Sub1_3020.method3400(f_77_ + (float) i_78_ * f_29_, (byte) -94); - aClass348_Sub49_Sub1_3020.writeByte(false, i_71_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_72_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_73_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_74_); - aClass348_Sub49_Sub1_3020.method3400(1.0F, (byte) -128); - aClass348_Sub49_Sub1_3020.method3400(1.0F, (byte) -127); - aClass348_Sub49_Sub1_3020.method3400(f_24_ * (float) i_78_ + f_75_, (byte) -125); - aClass348_Sub49_Sub1_3020.method3400(f_25_ * (float) i_78_ + f_76_, (byte) -98); - aClass348_Sub49_Sub1_3020.method3400(f_77_ + (float) i_78_ * f_26_, (byte) -119); - aClass348_Sub49_Sub1_3020.writeByte(false, i_71_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_72_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_73_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_74_); - aClass348_Sub49_Sub1_3020.method3400(0.0F, (byte) -116); - aClass348_Sub49_Sub1_3020.method3400(1.0F, (byte) -116); - aClass348_Sub49_Sub1_3020.method3400((float) i_78_ * f_30_ + f_75_, (byte) -124); - aClass348_Sub49_Sub1_3020.method3400((float) i_78_ * f_31_ + f_76_, (byte) -83); - aClass348_Sub49_Sub1_3020.method3400((float) i_78_ * f_32_ + f_77_, (byte) -80); - aClass348_Sub49_Sub1_3020.writeByte(false, i_71_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_72_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_73_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_74_); - } - } - } - } - } else { - for (int i_33_ = -1 + i; i_33_ >= 0; i_33_--) { - int i_34_ = (Math.min(anIntArray3033[i_33_], 64)); - if (i_34_ > 0) { - for (int i_35_ = -1 + i_34_; i_35_ >= 0; i_35_--) { - Class318_Sub9_Sub2 class318_sub9_sub2 = (aClass318_Sub9_Sub2ArrayArray3031[i_33_][i_35_]); - int i_36_ = (class318_sub9_sub2.anInt8790); - byte i_37_ = (byte) (i_36_ >> 16); - byte i_38_ = (byte) (i_36_ >> 8); - byte i_39_ = (byte) i_36_; - byte i_40_ = (byte) (i_36_ >>> 24); - float f_41_ = (float) (class318_sub9_sub2.anInt8791 >> 12); - float f_42_ = (float) (class318_sub9_sub2.anInt8796 >> 12); - float f_43_ = (float) (class318_sub9_sub2.anInt8789 >> 12); - int i_44_ = ((class318_sub9_sub2.anInt8793) >> 12); - aClass348_Sub49_Sub1_3020.method3399(18291, 0.0F); - aClass348_Sub49_Sub1_3020.method3399(18291, 0.0F); - aClass348_Sub49_Sub1_3020.method3399(18291, (float) -i_44_ * f_24_ + f_41_); - aClass348_Sub49_Sub1_3020.method3399(18291, (float) -i_44_ * f_25_ + f_42_); - aClass348_Sub49_Sub1_3020.method3399(18291, f_26_ * (float) -i_44_ + f_43_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_37_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_38_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_39_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_40_); - aClass348_Sub49_Sub1_3020.method3399(18291, 1.0F); - aClass348_Sub49_Sub1_3020.method3399(18291, 0.0F); - aClass348_Sub49_Sub1_3020.method3399(18291, f_41_ + f_27_ * (float) i_44_); - aClass348_Sub49_Sub1_3020.method3399(18291, f_42_ + f_28_ * (float) i_44_); - aClass348_Sub49_Sub1_3020.method3399(18291, f_43_ + f_29_ * (float) i_44_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_37_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_38_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_39_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_40_); - aClass348_Sub49_Sub1_3020.method3399(18291, 1.0F); - aClass348_Sub49_Sub1_3020.method3399(i_18_ + -785962265, 1.0F); - aClass348_Sub49_Sub1_3020.method3399(18291, (float) i_44_ * f_24_ + f_41_); - aClass348_Sub49_Sub1_3020.method3399(18291, f_42_ + (float) i_44_ * f_25_); - aClass348_Sub49_Sub1_3020.method3399(i_18_ ^ 0x2ed95bff, f_43_ + f_26_ * (float) i_44_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_37_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_38_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_39_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_40_); - aClass348_Sub49_Sub1_3020.method3399(18291, 0.0F); - aClass348_Sub49_Sub1_3020.method3399(i_18_ + -785962265, 1.0F); - aClass348_Sub49_Sub1_3020.method3399(18291, f_41_ + f_30_ * (float) i_44_); - aClass348_Sub49_Sub1_3020.method3399(18291, (float) i_44_ * f_31_ + f_42_); - aClass348_Sub49_Sub1_3020.method3399(i_18_ ^ 0x2ed95bff, (float) i_44_ * f_32_ + f_43_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_37_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_38_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_39_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_40_); - } - if (anIntArray3033[i_33_] > 64) { - int i_45_ = -65 + anIntArray3033[i_33_]; - for (int i_46_ = -1 + anIntArray3035[i_45_]; i_46_ >= 0; i_46_--) { - Class318_Sub9_Sub2 class318_sub9_sub2 = (aClass318_Sub9_Sub2ArrayArray3030[i_45_][i_46_]); - int i_47_ = (class318_sub9_sub2.anInt8790); - byte i_48_ = (byte) (i_47_ >> 16); - byte i_49_ = (byte) (i_47_ >> 8); - byte i_50_ = (byte) i_47_; - byte i_51_ = (byte) (i_47_ >>> 24); - float f_52_ = (float) (class318_sub9_sub2.anInt8791 >> 12); - float f_53_ = (float) (class318_sub9_sub2.anInt8796 >> 12); - float f_54_ = (float) (class318_sub9_sub2.anInt8789 >> 12); - int i_55_ = (class318_sub9_sub2.anInt8793 >> 12); - aClass348_Sub49_Sub1_3020.method3399(i_18_ + -785962265, 0.0F); - aClass348_Sub49_Sub1_3020.method3399(18291, 0.0F); - aClass348_Sub49_Sub1_3020.method3399(i_18_ ^ 0x2ed95bff, f_52_ + (float) -i_55_ * f_24_); - aClass348_Sub49_Sub1_3020.method3399(18291, f_53_ + f_25_ * (float) -i_55_); - aClass348_Sub49_Sub1_3020.method3399(18291, f_54_ + f_26_ * (float) -i_55_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_48_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_49_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_50_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_51_); - aClass348_Sub49_Sub1_3020.method3399(18291, 1.0F); - aClass348_Sub49_Sub1_3020.method3399(18291, 0.0F); - aClass348_Sub49_Sub1_3020.method3399(i_18_ ^ 0x2ed95bff, f_27_ * (float) i_55_ + f_52_); - aClass348_Sub49_Sub1_3020.method3399(18291, (float) i_55_ * f_28_ + f_53_); - aClass348_Sub49_Sub1_3020.method3399(18291, f_29_ * (float) i_55_ + f_54_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_48_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_49_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_50_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_51_); - aClass348_Sub49_Sub1_3020.method3399(18291, 1.0F); - aClass348_Sub49_Sub1_3020.method3399(i_18_ ^ 0x2ed95bff, 1.0F); - aClass348_Sub49_Sub1_3020.method3399(i_18_ ^ 0x2ed95bff, (float) i_55_ * f_24_ + f_52_); - aClass348_Sub49_Sub1_3020.method3399(18291, (float) i_55_ * f_25_ + f_53_); - aClass348_Sub49_Sub1_3020.method3399(18291, (float) i_55_ * f_26_ + f_54_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_48_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_49_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_50_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_51_); - aClass348_Sub49_Sub1_3020.method3399(i_18_ ^ 0x2ed95bff, 0.0F); - aClass348_Sub49_Sub1_3020.method3399(18291, 1.0F); - aClass348_Sub49_Sub1_3020.method3399(i_18_ + -785962265, (float) i_55_ * f_30_ + f_52_); - aClass348_Sub49_Sub1_3020.method3399(18291, (float) i_55_ * f_31_ + f_53_); - aClass348_Sub49_Sub1_3020.method3399(18291, (float) i_55_ * f_32_ + f_54_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_48_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_49_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_50_); - aClass348_Sub49_Sub1_3020.writeByte(false, i_51_); - } - } - } - } - } - if (aClass348_Sub49_Sub1_3020.anInt7197 != 0) { - anInterface2_3027.method11(24, aClass348_Sub49_Sub1_3020.anInt7197, (aClass348_Sub49_Sub1_3020.aByteArray7154), -9894); - var_ha_Sub2.method3794(aClass123_3029, aClass123_3028, i_18_ + -786006967, aClass123_3025, null); - var_ha_Sub2.method3756((aClass348_Sub49_Sub1_3020.anInt7197 / 24), 7, 0, 120); - } - } - } - - Class233() { - aClass348_Sub49_Sub1_3020 = new Class348_Sub49_Sub1(786336); - anInt3026 = Class299.method2253(1600, 124); - anIntArray3032 = new int[8191]; - aClass318_Sub9_Sub2ArrayArray3031 = new Class318_Sub9_Sub2[1600][64]; - anIntArray3033 = new int[1600]; - anInt3034 = 0; - aClass318_Sub9_Sub2ArrayArray3030 = new Class318_Sub9_Sub2[64][768]; - anIntArray3035 = new int[64]; - } -} diff --git a/client/src/Class234.java b/client/src/Class234.java deleted file mode 100644 index 9d8a79884..000000000 --- a/client/src/Class234.java +++ /dev/null @@ -1,113 +0,0 @@ -/* Class234 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.EOFException; -import java.io.File; -import java.io.IOException; -import java.io.RandomAccessFile; - -final class Class234 { - private RandomAccessFile aRandomAccessFile3036; - private final long aLong3037; - static int anInt3038; - private long aLong3039; - static int anInt3040; - static int anInt3041; - static int anInt3042; - static int anInt3043; - static Class138 aClass138_3044; - static int anInt3045; - private final File aFile3046; - static int anInt3047 = 0; - static int anInt3048; - static int anInt3049; - - final int method1656(byte[] is, int i, byte i_0_, int i_1_) throws IOException { - anInt3040++; - int i_2_ = aRandomAccessFile3036.read(is, i, i_1_); - int i_3_ = 39 % ((75 - i_0_) / 39); - if (i_2_ > 0) aLong3039 += i_2_; - return i_2_; - } - - final void method1657(boolean bool) throws IOException { - anInt3045++; - if (bool != false) method1660(-27); - if (aRandomAccessFile3036 != null) { - aRandomAccessFile3036.close(); - aRandomAccessFile3036 = null; - } - } - - final void method1658(byte i, int i_4_, int i_5_, byte[] is) throws IOException { - anInt3043++; - if (aLong3037 < (long) i_5_ - -aLong3039) { - aRandomAccessFile3036.seek(aLong3037); - aRandomAccessFile3036.write(1); - throw new EOFException(); - } - if (i < 108) aLong3039 = 124L; - aRandomAccessFile3036.write(is, i_4_, i_5_); - aLong3039 += i_5_; - } - - public static void method1659(byte i) { - if (i >= -2) method1659((byte) 126); - aClass138_3044 = null; - } - - final File method1660(int i) { - anInt3042++; - if (i <= 64) method1659((byte) -48); - return aFile3046; - } - - final void method1661(int i, long l) throws IOException { - try { - anInt3048++; - if (i != -18968) aRandomAccessFile3036 = null; - aRandomAccessFile3036.seek(l); - aLong3039 = l; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "so.B(" + i + ',' + l + ')'); - } - } - - final long method1662(byte i) throws IOException { - anInt3038++; - if (i != -46) return 97L; - return aRandomAccessFile3036.length(); - } - - protected final void finalize() throws Throwable { - if (aRandomAccessFile3036 != null) { - System.out.println("Warning! fileondisk " + aFile3046 + " not closed correctly using close(). Auto-closing instead. "); - method1657(false); - } - anInt3041++; - } - - Class234(File file, String string, long l) throws IOException { - try { - if (l == -1) l = 9223372036854775807L; - if (l < file.length()) file.delete(); - aRandomAccessFile3036 = new RandomAccessFile(file, string); - aLong3037 = l; - aLong3039 = 0L; - aFile3046 = file; - int i = aRandomAccessFile3036.read(); - if (i != -1 && !string.equals("r")) { - aRandomAccessFile3036.seek(0L); - aRandomAccessFile3036.write(i); - } - aRandomAccessFile3036.seek(0L); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("so.(" + (file != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ',' + l + ')')); - } - } - - static { - aClass138_3044 = new Class138(0, 2, 2, 1); - } -} diff --git a/client/src/Class235.java b/client/src/Class235.java deleted file mode 100644 index f2899ad41..000000000 --- a/client/src/Class235.java +++ /dev/null @@ -1,336 +0,0 @@ -/* Class235 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class235 { - static int anInt3050; - private final Class318_Sub1 aClass318_Sub1_3051; - int anInt3052; - private int anInt3053; - private int anInt3054; - private int anInt3055; - private int anInt3056; - private Class17 aClass17_3057; - static int anInt3058; - private Class64 aClass64_3059; - private int anInt3060 = 0; - static int anInt3061; - static int anInt3062; - int anInt3063; - private boolean aBoolean3064; - private final boolean aBoolean3065; - static int anInt3066; - private final byte aByte3067; - static int[] anIntArray3068; - private boolean aBoolean3069; - static int anInt3070; - private r aR3071; - private boolean[] aBooleanArray3072; - private int anInt3073; - private int anInt3074; - static Class78 aClass78_3075; - static int anInt3076; - static int anInt3077; - static int anInt3078; - int anInt3079; - static int anInt3080; - Class318_Sub10 aClass318_Sub10_3081; - static int anInt3082; - private int anInt3083; - private int anInt3084; - private final byte aByte3085; - static int anInt3086; - static int anInt3087; - - final int method1663(int i) { - if (i < 31) return 48; - anInt3087++; - return anInt3060; - } - - final int method1664(int i) { - if (i > -20) finalize(); - anInt3076++; - return anInt3055; - } - - final boolean method1665(int i) { - if (i != 2) anInt3056 = -73; - anInt3070++; - return aBoolean3065; - } - - private final void method1666(byte i, int i_0_) { - anInt3077++; - if (i != 69) aClass64_3059 = null; - int i_1_ = i_0_; - boolean bool = false; - if (i_1_ == -1) { - Class51 class51 = Class348_Sub40_Sub12.aClass263_9195.method2005(i ^ 0x45, this.anInt3063); - Class51 class51_2_ = class51; - if (class51.anIntArray945 != null) class51 = class51.method480((Class318_Sub1_Sub3_Sub3.aClass170_10209), (byte) 47); - if (class51 == null) return; - if (class51_2_ == class51) class51_2_ = null; - if (class51.anIntArray943 == null) { - if (class51.anInt868 != -1) { - if (anInt3053 != class51.anInt941) { - i_1_ = class51.anInt868; - bool = class51.aBoolean924; - } - } else if (class51_2_ != null && class51_2_.anIntArray943 != null) { - if (aClass17_3057 != null && class51_2_.method481((byte) 105, (aClass17_3057.anInt269))) return; - i_1_ = class51_2_.method489(i ^ ~0x45); - if (anInt3053 != class51_2_.anInt941) bool = class51_2_.aBoolean924; - } else if (class51_2_ != null && (class51_2_.anInt868 != -1) && (anInt3053 != class51_2_.anInt941)) { - bool = class51_2_.aBoolean924; - i_1_ = class51_2_.anInt868; - } - } else { - if (aClass17_3057 != null && class51.method481((byte) 73, aClass17_3057.anInt269)) return; - i_1_ = class51.method489(i + -70); - if (anInt3053 != class51.anInt941) bool = class51.aBoolean924; - } - } - if (i_1_ == -1) aClass17_3057 = null; - else { - aClass64_3059 = null; - if (aClass17_3057 != null && i_1_ == aClass17_3057.anInt269) { - if (aClass17_3057.anInt248 == 0) return; - } else aClass17_3057 = Class10.aClass87_191.method835(i_1_, i + -62); - if (aClass17_3057.anIntArray237 == null) aClass17_3057 = null; - else { - if (bool) { - anInt3084 = (int) ((double) (aClass17_3057.anIntArray237).length * Math.random()); - anInt3054 = 1 + (int) ((double) (aClass17_3057.anIntArray267[anInt3084]) * Math.random()); - } else { - anInt3084 = 0; - anInt3054 = 1; - } - anInt3083 = anInt3084 - -1; - if (anInt3083 < 0 || anInt3083 >= aClass17_3057.anIntArray237.length) anInt3083 = -1; - anInt3074 = -anInt3054 + Class367_Sub11.anInt7396; - } - } - } - - final void method1667(byte i, ha var_ha) { - anInt3061++; - method1668(true, true, i + -244, 262144, var_ha); - if (i != 116) this.anInt3063 = 99; - } - - final Class64 method1668(boolean bool, boolean bool_3_, int i, int i_4_, ha var_ha) { - anInt3082++; - Class51 class51 = Class348_Sub40_Sub12.aClass263_9195.method2005(0, this.anInt3063); - if (class51.anIntArray945 != null) class51 = class51.method480(Class318_Sub1_Sub3_Sub3.aClass170_10209, (byte) 47); - if (class51 == null) { - method1674(-1, var_ha); - anInt3073 = -1; - anInt3056 = -1; - anInt3053 = -1; - return null; - } - if (!aBoolean3064 && class51.anInt941 != anInt3053) { - aClass64_3059 = null; - method1666((byte) 69, -1); - } - method1672(aClass318_Sub1_3051, true); - if (bool_3_) { - bool_3_ = bool_3_ & (aBoolean3065 & Class316.aClass348_Sub51_3959.aClass239_Sub7_7238.method1748(-32350) != 0); - bool_3_ = (bool_3_ & (class51.anInt941 != anInt3056 || (aClass17_3057 != null && Class316.aClass348_Sub51_3959.aClass239_Sub7_7238.method1748(-32350) >= 2 && (anInt3084 != anInt3073 || ((aClass17_3057.aBoolean254 || Class28.aBoolean5002) && (anInt3083 != anInt3084)))))); - } - if (bool && !bool_3_) { - anInt3053 = class51.anInt941; - return null; - } - if (bool_3_) { - Class169.method1301(aR3071, aByte3067, (aClass318_Sub1_3051.x), (aClass318_Sub1_3051.y), aBooleanArray3072); - anInt3056 = -1; - anInt3073 = -1; - } - if (i > -126) return null; - s var_s = aa_Sub1.aSArray5191[aByte3067]; - s var_s_5_; - if (!aBoolean3069) var_s_5_ = aByte3067 >= 3 ? null : aa_Sub1.aSArray5191[1 + aByte3067]; - else var_s_5_ = Class348_Sub1_Sub1.aSArray8801[0]; - Class64 class64 = null; - if (aClass17_3057 == null) { - if (aClass64_3059 == null || i_4_ != (i_4_ & aClass64_3059.ua()) || (anInt3053 != class51.anInt941)) { - if (aClass64_3059 != null) i_4_ |= aClass64_3059.ua(); - Class2 class2 = (class51.method476(var_ha, var_s_5_, (this.anInt3079 != 11 ? this.anInt3079 : 10), i_4_, aClass318_Sub1_3051.x, bool_3_, var_s, var_s.method3986((aClass318_Sub1_3051.x), (aClass318_Sub1_3051.y), (byte) -114), aClass318_Sub1_3051.y, (this.anInt3079 == 11 ? 4 + this.anInt3052 : this.anInt3052), 128)); - if (class2 == null) { - anInt3055 = 0; - aBooleanArray3072 = null; - aR3071 = null; - anInt3060 = 0; - aClass64_3059 = null; - } else { - aClass64_3059 = class64 = class2.aClass64_119; - if (bool_3_) { - aBooleanArray3072 = null; - aR3071 = class2.aR118; - Class130.method1130(aR3071, aByte3067, aClass318_Sub1_3051.x, aClass318_Sub1_3051.y, null); - anInt3073 = -1; - anInt3056 = class51.anInt941; - } - anInt3060 = class64.fa(); - anInt3055 = class64.ma(); - } - } else class64 = aClass64_3059; - } else { - if (bool_3_) i_4_ |= 0x40000; - class64 = (class51.method483(anInt3083, anInt3054, (this.anInt3079 == 11 ? 10 : this.anInt3079), var_s.method3986((aClass318_Sub1_3051.x), (aClass318_Sub1_3051.y), (byte) -2), var_ha, (this.anInt3079 == 11 ? this.anInt3052 + 4 : this.anInt3052), i_4_, (byte) 76, var_s_5_, aClass318_Sub1_3051.y, anInt3084, aClass318_Sub1_3051.x, aClass17_3057, var_s)); - if (class64 == null) { - anInt3055 = 0; - aBooleanArray3072 = null; - anInt3060 = 0; - aR3071 = null; - } else { - if (bool_3_) { - if (aBooleanArray3072 == null) aBooleanArray3072 = new boolean[4]; - aR3071 = class64.ba(aR3071); - Class130.method1130(aR3071, aByte3067, (aClass318_Sub1_3051.x), (aClass318_Sub1_3051.y), aBooleanArray3072); - anInt3073 = anInt3084; - anInt3056 = class51.anInt941; - } - anInt3060 = class64.fa(); - anInt3055 = class64.ma(); - } - aClass64_3059 = null; - } - anInt3053 = class51.anInt941; - return class64; - } - - static final String method1669(int i, int i_6_) { - if (i != -19918) method1669(75, 33); - anInt3066++; - return ((0xff & i_6_ >> 24) + "." + ((i_6_ & 0xffb428) >> 16) + "." + (i_6_ >> 8 & 0xff) + "." + (i_6_ & 0xff)); - } - - final void method1670(int i, Class101 class101, int i_7_, ha var_ha, int i_8_, Class64 class64, boolean bool, byte i_9_, int i_10_) { - do { - try { - anInt3058++; - if (i_9_ != -73) this.anInt3052 = 62; - Class129[] class129s = class64.method619(); - Class342[] class342s = class64.method604(); - if ((this.aClass318_Sub10_3081 == null || this.aClass318_Sub10_3081.aBoolean6470) && (class129s != null || class342s != null)) { - Class51 class51 = Class348_Sub40_Sub12.aClass263_9195.method2005(0, this.anInt3063); - if (class51.anIntArray945 != null) class51 = class51.method480((Class318_Sub1_Sub3_Sub3.aClass170_10209), (byte) 47); - if (class51 != null) this.aClass318_Sub10_3081 = Class318_Sub10.method2526(Class367_Sub11.anInt7396, true); - } - if (this.aClass318_Sub10_3081 == null) break; - class64.method620(class101); - if (bool) this.aClass318_Sub10_3081.method2536(var_ha, Class367_Sub11.anInt7396, class129s, class342s, false); - else this.aClass318_Sub10_3081.method2540(Class367_Sub11.anInt7396); - this.aClass318_Sub10_3081.method2533(aByte3085, i_8_, i, i_10_, i_7_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bv.E(" + i + ',' + (class101 != null ? "{...}" : "null") + ',' + i_7_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_8_ + ',' + (class64 != null ? "{...}" : "null") + ',' + bool + ',' + i_9_ + ',' + i_10_ + ')')); - } - break; - } while (false); - } - - final void method1671(int i, int i_11_) { - aBoolean3064 = true; - anInt3078++; - method1666((byte) 69, i_11_); - if (i != 262144) aClass78_3075 = null; - } - - protected final void finalize() { - anInt3080++; - if (this.aClass318_Sub10_3081 != null) this.aClass318_Sub10_3081.method2534(); - } - - private final void method1672(Class318_Sub1 class318_sub1, boolean bool) { - if (bool != true) method1674(-55, null); - anInt3086++; - int i; - while_76_: - for (; ; ) { - if (aClass17_3057 == null) { - if (aBoolean3064) return; - method1666((byte) 69, -1); - if (aClass17_3057 == null) return; - } - i = -anInt3074 + Class367_Sub11.anInt7396; - if (i > 100 && aClass17_3057.anInt238 > 0) { - int i_12_; - for (i_12_ = (-aClass17_3057.anInt238 + aClass17_3057.anIntArray237.length); (anInt3084 < i_12_ && (aClass17_3057.anIntArray267[anInt3084] < i)); anInt3084++) - i -= aClass17_3057.anIntArray267[anInt3084]; - if (i_12_ <= anInt3084) { - int i_13_ = 0; - for (int i_14_ = i_12_; (aClass17_3057.anIntArray237.length > i_14_); i_14_++) - i_13_ += aClass17_3057.anIntArray267[i_14_]; - i %= i_13_; - } - anInt3083 = 1 + anInt3084; - if (anInt3083 >= aClass17_3057.anIntArray237.length) { - anInt3083 -= aClass17_3057.anInt238; - if (anInt3083 < 0 || anInt3083 >= aClass17_3057.anIntArray237.length) anInt3083 = -1; - } - } - for (; ; ) { - if (aClass17_3057.anIntArray267[anInt3084] >= i) break while_76_; - Class287.method2178(class318_sub1, anInt3084, aClass17_3057, -99); - i -= aClass17_3057.anIntArray267[anInt3084]; - anInt3084++; - if (aClass17_3057.anIntArray237.length <= anInt3084) { - anInt3084 -= aClass17_3057.anInt238; - if (anInt3084 < 0 || anInt3084 >= aClass17_3057.anIntArray237.length) { - aClass17_3057 = null; - break; - } - } - anInt3083 = anInt3084 + 1; - if (aClass17_3057.anIntArray237.length <= anInt3083) { - anInt3083 -= aClass17_3057.anInt238; - if (anInt3083 < 0 || (anInt3083 >= aClass17_3057.anIntArray237.length)) anInt3083 = -1; - } - } - } - anInt3054 = i; - anInt3074 = -i + Class367_Sub11.anInt7396; - } - - public static void method1673(int i) { - aClass78_3075 = null; - anIntArray3068 = null; - if (i >= -19) method1669(-110, -13); - } - - Class235(ha var_ha, Class51 class51, int i, int i_15_, int i_16_, int i_17_, Class318_Sub1 class318_sub1, boolean bool, int i_18_) { - anInt3055 = 0; - aBoolean3064 = false; - anInt3053 = -1; - aBoolean3069 = false; - anInt3056 = -1; - anInt3073 = -1; - try { - this.anInt3079 = i; - this.anInt3063 = class51.anInt941; - aClass318_Sub1_3051 = class318_sub1; - aByte3085 = (byte) i_16_; - aByte3067 = (byte) i_17_; - aBoolean3069 = bool; - this.anInt3052 = i_15_; - aBoolean3065 = (var_ha.method3682() && class51.aBoolean894 && !aBoolean3069); - if (i_18_ != -1) aBoolean3064 = true; - method1666((byte) 69, i_18_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bv.(" + (var_ha != null ? "{...}" : "null") + ',' + (class51 != null ? "{...}" : "null") + ',' + i + ',' + i_15_ + ',' + i_16_ + ',' + i_17_ + ',' + (class318_sub1 != null ? "{...}" : "null") + ',' + bool + ',' + i_18_ + ')')); - } - } - - final void method1674(int i, ha var_ha) { - if (i != -1) aBoolean3064 = false; - if (aR3071 != null) { - Class169.method1301(aR3071, aByte3067, (aClass318_Sub1_3051.x), (aClass318_Sub1_3051.y), aBooleanArray3072); - aR3071 = null; - aBooleanArray3072 = null; - } - anInt3050++; - } -} diff --git a/client/src/Class236.java b/client/src/Class236.java deleted file mode 100644 index ab9e2f517..000000000 --- a/client/src/Class236.java +++ /dev/null @@ -1,24 +0,0 @@ -/* Class236 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class236 { - short[] aShortArray3088; - short aShort3089; - short[] aShortArray3090; - short[] aShortArray3091; - int[] anIntArray3092; - int[] anIntArray3093; - short[] aShortArray3094; - short[] aShortArray3095; - short[] aShortArray3096; - short[] aShortArray3097; - short[] aShortArray3098; - short aShort3099; - byte aByte3100; - short[] aShortArray3101; - - public Class236() { - /* empty */ - } -} diff --git a/client/src/Class237.java b/client/src/Class237.java deleted file mode 100644 index 469fd062b..000000000 --- a/client/src/Class237.java +++ /dev/null @@ -1,1295 +0,0 @@ -/* Class237 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -class Class237 { - static int anInt3102; - static boolean aBoolean3103 = false; - byte[][][] aByteArrayArrayArray3104; - static int anInt3105; - static int anInt3106; - static int anInt3107; - byte[][][] aByteArrayArrayArray3108; - boolean aBoolean3109; - static int anInt3110; - static int anInt3111; - static int anInt3112; - private final byte[][][] aByteArrayArrayArray3113; - int anInt3114; - static int anInt3115; - static int anInt3116; - int anInt3117; - static int anInt3118; - private final Class268 aClass268_3119; - private final Class183 aClass183_3120; - static int anInt3121; - int[][][] anIntArrayArrayArray3122; - private final byte[][][] aByteArrayArrayArray3123; - private final int[] anIntArray3124; - static int anInt3125; - private final byte[][][] aByteArrayArrayArray3126; - static int anInt3127; - private final int[] anIntArray3128 = {0, 0, 0, 256, 512, 512, 512, 256, 256, 384, 128, 128, 256}; - private final byte[][][] aByteArrayArrayArray3129; - int anInt3130; - static int anInt3131; - - private final void method1675(int i, int i_0_, byte[][] is, int i_1_, byte[][] is_2_, int i_3_, Class277 class277, Class22 class22, boolean[] bools, int i_4_, byte[][] is_5_, int i_6_, int i_7_, ha var_ha) { - do { - try { - anInt3112++; - boolean[] bools_8_ = (class277 != null && class277.aBoolean3560 ? Class50_Sub1.aBooleanArrayArray5225[i_7_] : Class265.aBooleanArrayArray4693[i_7_]); - if (i_1_ > 0) { - if (i > 0) { - int i_9_ = is_5_[i + -1][i_1_ - 1] & 0xff; - if (i_9_ > 0) { - Class277 class277_10_ = aClass268_3119.method2034(i_9_ - 1, false); - if (class277_10_.anInt3563 != -1 && class277_10_.aBoolean3560) { - byte i_11_ = is[-1 + i][i_1_ - 1]; - int i_12_ = 4 + is_2_[i + -1][-1 + i_1_] * 2 & 0x7; - int i_13_ = (Class348_Sub42_Sub17.method3266(var_ha, 127, class277_10_)); - if (Class160.aBooleanArrayArray2133[i_11_][i_12_]) { - Class348_Sub15.anIntArray6775[0] = class277_10_.anInt3563; - Class348_Sub40_Sub38.anIntArray9480[0] = i_13_; - Class223.anIntArray2899[0] = class277_10_.anInt3575; - Class348_Sub6.anIntArray6631[0] = class277_10_.anInt3570; - Class306.anIntArray3873[0] = class277_10_.anInt3564; - Class180.anIntArray2370[0] = 256; - } - } - } - } - if (i < i_6_ + -1) { - int i_14_ = 0xff & is_5_[1 + i][i_1_ - 1]; - if (i_14_ > 0) { - Class277 class277_15_ = aClass268_3119.method2034(i_14_ - 1, false); - if (class277_15_.anInt3563 != -1 && class277_15_.aBoolean3560) { - byte i_16_ = is[i + 1][-1 + i_1_]; - int i_17_ = 0x7 & 2 * is_2_[1 + i][i_1_ + -1] + 6; - int i_18_ = (Class348_Sub42_Sub17.method3266(var_ha, 125, class277_15_)); - if (Class160.aBooleanArrayArray2133[i_16_][i_17_]) { - Class348_Sub15.anIntArray6775[2] = class277_15_.anInt3563; - Class348_Sub40_Sub38.anIntArray9480[2] = i_18_; - Class223.anIntArray2899[2] = class277_15_.anInt3575; - Class348_Sub6.anIntArray6631[2] = class277_15_.anInt3570; - Class306.anIntArray3873[2] = class277_15_.anInt3564; - Class180.anIntArray2370[2] = 512; - } - } - } - } - } - if (i_3_ + i_0_ > i_1_) { - if (i > 0) { - int i_19_ = is_5_[-1 + i][1 + i_1_] & 0xff; - if (i_19_ > 0) { - Class277 class277_20_ = aClass268_3119.method2034(-1 + i_19_, false); - if (class277_20_.anInt3563 != -1 && class277_20_.aBoolean3560) { - byte i_21_ = is[-1 + i][1 + i_1_]; - int i_22_ = 2 * is_2_[-1 + i][1 + i_1_] + 2 & 0x7; - int i_23_ = (Class348_Sub42_Sub17.method3266(var_ha, i_3_ ^ ~0x7c, class277_20_)); - if (Class160.aBooleanArrayArray2133[i_21_][i_22_]) { - Class348_Sub15.anIntArray6775[6] = class277_20_.anInt3563; - Class348_Sub40_Sub38.anIntArray9480[6] = i_23_; - Class223.anIntArray2899[6] = class277_20_.anInt3575; - Class348_Sub6.anIntArray6631[6] = class277_20_.anInt3570; - Class306.anIntArray3873[6] = class277_20_.anInt3564; - Class180.anIntArray2370[6] = 64; - } - } - } - } - if (i < i_6_ - 1) { - int i_24_ = is_5_[i - -1][i_1_ + 1] & 0xff; - if (i_24_ > 0) { - Class277 class277_25_ = aClass268_3119.method2034(-1 + i_24_, false); - if (class277_25_.anInt3563 != -1 && class277_25_.aBoolean3560) { - byte i_26_ = is[1 + i][i_1_ - -1]; - int i_27_ = 0x7 & /*--*/(is_2_[i - -1][1 + i_1_] * 2); - int i_28_ = (Class348_Sub42_Sub17.method3266(var_ha, i_3_ + 127, class277_25_)); - if (Class160.aBooleanArrayArray2133[i_26_][i_27_]) { - Class348_Sub15.anIntArray6775[4] = class277_25_.anInt3563; - Class348_Sub40_Sub38.anIntArray9480[4] = i_28_; - Class223.anIntArray2899[4] = class277_25_.anInt3575; - Class348_Sub6.anIntArray6631[4] = class277_25_.anInt3570; - Class306.anIntArray3873[4] = class277_25_.anInt3564; - Class180.anIntArray2370[4] = 128; - } - } - } - } - } - if (i_1_ > 0) { - int i_29_ = 0xff & is_5_[i][i_1_ + -1]; - if (i_29_ > 0) { - Class277 class277_30_ = aClass268_3119.method2034(-1 + i_29_, false); - if (class277_30_.anInt3563 != -1) { - byte i_31_ = is[i][-1 + i_1_]; - int i_32_ = is_2_[i][i_1_ - 1]; - if (class277_30_.aBoolean3560) { - int i_33_ = 2; - int i_34_ = 4 + i_32_ * 2; - int i_35_ = (Class348_Sub42_Sub17.method3266(var_ha, 125, class277_30_)); - for (int i_36_ = 0; i_36_ < 3; i_36_++) { - i_33_ &= 0x7; - i_34_ = 0x7 & i_34_; - if ((Class160.aBooleanArrayArray2133[i_31_][i_34_]) && (Class306.anIntArray3873[i_33_] <= (class277_30_.anInt3564))) { - Class348_Sub15.anIntArray6775[i_33_] = (class277_30_.anInt3563); - Class348_Sub40_Sub38.anIntArray9480[i_33_] = i_35_; - Class223.anIntArray2899[i_33_] = (class277_30_.anInt3575); - Class348_Sub6.anIntArray6631[i_33_] = (class277_30_.anInt3570); - if (Class306.anIntArray3873[i_33_] != (class277_30_.anInt3564)) Class180.anIntArray2370[i_33_] = 32; - else Class180.anIntArray2370[i_33_] = (Class273.method2057((Class180.anIntArray2370[i_33_]), 32)); - Class306.anIntArray3873[i_33_] = (class277_30_.anInt3564); - } - i_34_++; - i_33_--; - } - if (!bools_8_[0x3 & i_4_]) bools[0] = (Class50_Sub1.aBooleanArrayArray5225[i_31_][Class139.method1166(i_32_ + 2, 3)]); - } else if (!bools_8_[0x3 & i_4_]) bools[0] = (Class265.aBooleanArrayArray4693[i_31_][Class139.method1166(3, i_32_ + 2)]); - } - } - } - if (i_1_ < -1 + i_0_) { - int i_37_ = is_5_[i][i_1_ - -1] & 0xff; - if (i_37_ > 0) { - Class277 class277_38_ = aClass268_3119.method2034(-1 + i_37_, false); - if (class277_38_.anInt3563 != -1) { - byte i_39_ = is[i][i_1_ + 1]; - int i_40_ = is_2_[i][i_1_ - -1]; - if (class277_38_.aBoolean3560) { - int i_41_ = 4; - int i_42_ = 2 * i_40_ + 2; - int i_43_ = (Class348_Sub42_Sub17.method3266(var_ha, 124, class277_38_)); - for (int i_44_ = 0; i_44_ < 3; i_44_++) { - i_41_ &= 0x7; - i_42_ = 0x7 & i_42_; - if ((Class160.aBooleanArrayArray2133[i_39_][i_42_]) && ((class277_38_.anInt3564) >= Class306.anIntArray3873[i_41_])) { - Class348_Sub15.anIntArray6775[i_41_] = (class277_38_.anInt3563); - Class348_Sub40_Sub38.anIntArray9480[i_41_] = i_43_; - Class223.anIntArray2899[i_41_] = (class277_38_.anInt3575); - Class348_Sub6.anIntArray6631[i_41_] = (class277_38_.anInt3570); - if (Class306.anIntArray3873[i_41_] != (class277_38_.anInt3564)) Class180.anIntArray2370[i_41_] = 16; - else Class180.anIntArray2370[i_41_] = (Class273.method2057((Class180.anIntArray2370[i_41_]), 16)); - Class306.anIntArray3873[i_41_] = (class277_38_.anInt3564); - } - i_42_--; - i_41_++; - } - if (!bools_8_[0x3 & i_4_ + 2]) bools[2] = (Class50_Sub1.aBooleanArrayArray5225[i_39_][Class139.method1166(3, --i_40_)]); - } else if (!bools_8_[0x3 & 2 + i_4_]) bools[2] = (Class265.aBooleanArrayArray4693[i_39_][Class139.method1166(3, i_40_)]); - } - } - } - if (i > 0) { - int i_45_ = 0xff & is_5_[i + -1][i_1_]; - if (i_45_ > 0) { - Class277 class277_46_ = aClass268_3119.method2034(-1 + i_45_, false); - if (class277_46_.anInt3563 != -1) { - byte i_47_ = is[-1 + i][i_1_]; - int i_48_ = is_2_[-1 + i][i_1_]; - if (class277_46_.aBoolean3560) { - int i_49_ = 6; - int i_50_ = 2 * i_48_ + 4; - int i_51_ = (Class348_Sub42_Sub17.method3266(var_ha, 127, class277_46_)); - for (int i_52_ = 0; i_52_ < 3; i_52_++) { - i_50_ &= 0x7; - i_49_ = 0x7 & i_49_; - if ((Class160.aBooleanArrayArray2133[i_47_][i_50_]) && (Class306.anIntArray3873[i_49_] <= (class277_46_.anInt3564))) { - Class348_Sub15.anIntArray6775[i_49_] = (class277_46_.anInt3563); - Class348_Sub40_Sub38.anIntArray9480[i_49_] = i_51_; - Class223.anIntArray2899[i_49_] = (class277_46_.anInt3575); - Class348_Sub6.anIntArray6631[i_49_] = (class277_46_.anInt3570); - if (Class306.anIntArray3873[i_49_] != (class277_46_.anInt3564)) Class180.anIntArray2370[i_49_] = 8; - else Class180.anIntArray2370[i_49_] = (Class273.method2057((Class180.anIntArray2370[i_49_]), 8)); - Class306.anIntArray3873[i_49_] = (class277_46_.anInt3564); - } - i_49_++; - i_50_--; - } - if (!bools_8_[3 - -i_4_ & 0x3]) bools[3] = (Class50_Sub1.aBooleanArrayArray5225[i_47_][Class139.method1166(3, 1 + i_48_)]); - } else if (!bools_8_[0x3 & 3 - -i_4_]) bools[3] = (Class265.aBooleanArrayArray4693[i_47_][Class139.method1166(3, 1 + i_48_)]); - } - } - } - if (i_6_ - 1 > i) { - int i_53_ = is_5_[1 + i][i_1_] & 0xff; - if (i_53_ > 0) { - Class277 class277_54_ = aClass268_3119.method2034(-1 + i_53_, false); - if (class277_54_.anInt3563 != -1) { - byte i_55_ = is[i + 1][i_1_]; - int i_56_ = is_2_[1 + i][i_1_]; - if (class277_54_.aBoolean3560) { - int i_57_ = 4; - int i_58_ = 6 + i_56_ * 2; - int i_59_ = (Class348_Sub42_Sub17.method3266(var_ha, 127, class277_54_)); - for (int i_60_ = 0; i_60_ < 3; i_60_++) { - i_57_ = 0x7 & i_57_; - i_58_ = 0x7 & i_58_; - if ((Class160.aBooleanArrayArray2133[i_55_][i_58_]) && (Class306.anIntArray3873[i_57_] <= (class277_54_.anInt3564))) { - Class348_Sub15.anIntArray6775[i_57_] = (class277_54_.anInt3563); - Class348_Sub40_Sub38.anIntArray9480[i_57_] = i_59_; - Class223.anIntArray2899[i_57_] = (class277_54_.anInt3575); - Class348_Sub6.anIntArray6631[i_57_] = (class277_54_.anInt3570); - if (class277_54_.anInt3564 == Class306.anIntArray3873[i_57_]) Class180.anIntArray2370[i_57_] = (Class273.method2057((Class180.anIntArray2370[i_57_]), 4)); - else Class180.anIntArray2370[i_57_] = 4; - Class306.anIntArray3873[i_57_] = (class277_54_.anInt3564); - } - i_58_++; - i_57_--; - } - if (!bools_8_[1 + i_4_ & 0x3]) bools[1] = (Class50_Sub1.aBooleanArrayArray5225[i_55_][Class139.method1166(3, i_56_ + 3)]); - } else if (!bools_8_[1 - -i_4_ & 0x3]) bools[1] = (Class265.aBooleanArrayArray4693[i_55_][Class139.method1166(3, 3 - -i_56_)]); - } - } - } - if (class277 == null) break; - int i_61_ = Class348_Sub42_Sub17.method3266(var_ha, i_3_ ^ ~0x7e, class277); - if (!class277.aBoolean3560) break; - for (int i_62_ = 0; i_62_ < 8; i_62_++) { - int i_63_ = -(i_4_ * 2) + i_62_ & 0x7; - if (Class160.aBooleanArrayArray2133[i_7_][i_62_] && (Class306.anIntArray3873[i_63_] <= class277.anInt3564)) { - Class348_Sub15.anIntArray6775[i_63_] = class277.anInt3563; - Class348_Sub40_Sub38.anIntArray9480[i_63_] = i_61_; - Class223.anIntArray2899[i_63_] = class277.anInt3575; - Class348_Sub6.anIntArray6631[i_63_] = class277.anInt3570; - if (Class306.anIntArray3873[i_63_] != class277.anInt3564) Class180.anIntArray2370[i_63_] = 2; - else Class180.anIntArray2370[i_63_] = Class273.method2057((Class180.anIntArray2370[i_63_]), 2); - Class306.anIntArray3873[i_63_] = class277.anInt3564; - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("sr.M(" + i + ',' + i_0_ + ',' + (is != null ? "{...}" : "null") + ',' + i_1_ + ',' + (is_2_ != null ? "{...}" : "null") + ',' + i_3_ + ',' + (class277 != null ? "{...}" : "null") + ',' + (class22 != null ? "{...}" : "null") + ',' + (bools != null ? "{...}" : "null") + ',' + i_4_ + ',' + (is_5_ != null ? "{...}" : "null") + ',' + i_6_ + ',' + i_7_ + ',' + (var_ha != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - private final void method1676(s var_s, s var_s_64_, int i, s var_s_65_, int[][] is, ha var_ha, int i_66_) { - try { - anInt3102++; - byte[][] is_67_ = aByteArrayArrayArray3126[i_66_]; - if (i != -26833) this.anInt3114 = -107; - byte[][] is_68_ = aByteArrayArrayArray3129[i_66_]; - byte[][] is_69_ = aByteArrayArrayArray3113[i_66_]; - byte[][] is_70_ = aByteArrayArrayArray3123[i_66_]; - for (int i_71_ = 0; (i_71_ < this.anInt3117); i_71_++) { - int i_72_ = (i_71_ >= this.anInt3117 - 1 ? i_71_ : i_71_ + 1); - for (int i_73_ = 0; i_73_ < this.anInt3114; i_73_++) { - int i_74_ = (i_73_ < this.anInt3114 + -1 ? 1 + i_73_ : i_73_); - if (OutputStream_Sub2.anInt101 == -1 || Class58.method536(i_73_, false, i_71_, OutputStream_Sub2.anInt101, i_66_)) { - boolean bool = false; - boolean bool_75_ = false; - boolean[] bools = new boolean[4]; - byte i_76_ = is_67_[i_71_][i_73_]; - int i_77_ = is_68_[i_71_][i_73_]; - int i_78_ = 0xff & is_70_[i_71_][i_73_]; - int i_79_ = is_69_[i_71_][i_73_] & 0xff; - int i_80_ = 0xff & is_69_[i_71_][i_74_]; - int i_81_ = is_69_[i_72_][i_74_] & 0xff; - int i_82_ = is_69_[i_72_][i_73_] & 0xff; - if (i_78_ != 0 || i_79_ != 0) { - Class277 class277 = (i_78_ == 0 ? null : aClass268_3119.method2034(i_78_ - 1, false)); - Class22 class22 = (i_79_ == 0 ? null : aClass183_3120.method1380(true, -1 + i_79_)); - if (i_76_ == 0 && class277 == null) i_76_ = (byte) 12; - Class277 class277_83_ = class277; - if (class277 != null) { - if (class277.anInt3563 != -1 || class277.anInt3569 != -1) { - if (class22 != null && i_76_ != 0) bool_75_ = (class277.aBoolean3560); - } else { - class277_83_ = class277; - class277 = null; - } - } - if ((i_76_ == 0 || i_76_ == 12) && i_71_ > 0 && i_73_ > 0 && (this.anInt3117 > i_71_) && (this.anInt3114 > i_73_)) { - int i_84_ = 0; - int i_85_ = 0; - int i_86_ = 0; - i_86_ = i_86_ + (is_69_[i_72_][i_74_] != i_79_ ? -1 : 1); - i_85_ = (i_85_ + (is_69_[i_72_][i_73_ + -1] != i_79_ ? -1 : 1)); - int i_87_ = 0; - i_84_ = i_84_ + (i_79_ == (is_69_[-1 + i_71_][-1 + i_73_]) ? 1 : -1); - if (is_69_[i_71_][i_73_ - 1] == i_79_) { - i_84_++; - i_85_++; - } else { - i_85_--; - i_84_--; - } - i_87_ = (i_87_ + (is_69_[-1 + i_71_][i_74_] != i_79_ ? -1 : 1)); - if (i_79_ == is_69_[i_72_][i_73_]) { - i_85_++; - i_86_++; - } else { - i_85_--; - i_86_--; - } - if (i_79_ == is_69_[i_71_][i_74_]) { - i_86_++; - i_87_++; - } else { - i_87_--; - i_86_--; - } - if (i_79_ == is_69_[-1 + i_71_][i_73_]) { - i_87_++; - i_84_++; - } else { - i_87_--; - i_84_--; - } - int i_88_ = i_84_ + -i_86_; - if (i_88_ < 0) i_88_ = -i_88_; - int i_89_ = -i_87_ + i_85_; - if (i_89_ < 0) i_89_ = -i_89_; - if (i_89_ == i_88_) { - i_88_ = (var_s_64_.method3982((byte) -86, i_73_, i_71_) + -var_s_64_.method3982((byte) -86, i_74_, i_72_)); - if (i_88_ < 0) i_88_ = -i_88_; - i_89_ = (var_s_64_.method3982((byte) -86, i_73_, i_72_) - var_s_64_.method3982((byte) -86, i_74_, i_71_)); - if (i_89_ < 0) i_89_ = -i_89_; - } - i_77_ = (i_89_ <= i_88_ ? 0 : 1); - } - for (int i_90_ = 0; i_90_ < 13; i_90_++) { - Class306.anIntArray3873[i_90_] = -1; - Class180.anIntArray2370[i_90_] = 1; - } - boolean[] bools_91_ = ((class277 == null || !class277.aBoolean3560) ? Class265.aBooleanArrayArray4693[i_76_] : (Class50_Sub1.aBooleanArrayArray5225[i_76_])); - method1675(i_71_, this.anInt3114, is_67_, i_73_, is_68_, -1, class277, class22, bools, i_77_, is_70_, this.anInt3117, i_76_, var_ha); - boolean bool_92_ = (class277 != null && (class277.anInt3563 != class277.anInt3569)); - if (!bool_92_) { - for (int i_93_ = 0; i_93_ < 8; i_93_++) { - if (Class306.anIntArray3873[i_93_] >= 0 && ((Class348_Sub15.anIntArray6775[i_93_]) != (Class348_Sub40_Sub38.anIntArray9480[i_93_]))) { - bool_92_ = true; - break; - } - } - } - if (!bools_91_[i_77_ + 1 & 0x3]) bools[1] = (Class369_Sub3_Sub1.method3576(bools[1], Class139.method1166((Class180.anIntArray2370[2]), (Class180.anIntArray2370[4])) == 0)); - if (!bools_91_[0x3 & i_77_ + 3]) bools[3] = (Class369_Sub3_Sub1.method3576(bools[3], Class139.method1166((Class180.anIntArray2370[0]), (Class180.anIntArray2370[6])) == 0)); - if (!bools_91_[i_77_ & 0x3]) bools[0] = (Class369_Sub3_Sub1.method3576(bools[0], Class139.method1166((Class180.anIntArray2370[0]), (Class180.anIntArray2370[2])) == 0)); - if (!bools_91_[i_77_ + 2 & 0x3]) bools[2] = (Class369_Sub3_Sub1.method3576(bools[2], Class139.method1166((Class180.anIntArray2370[4]), (Class180.anIntArray2370[6])) == 0)); - if (!bool_75_ && (i_76_ == 0 || i_76_ == 12)) { - if (!bools[0] || bools[1] || bools[2] || !bools[3]) { - if (!bools[0] || !bools[1] || bools[2] || bools[3]) { - if (!bools[0] && bools[1] && bools[2] && !bools[3]) { - i_77_ = 2; - i_76_ = (i_76_ != 0 ? (byte) 14 : (byte) 13); - bools[1] = bools[2] = false; - } else if (!bools[0] && !bools[1] && bools[2] && bools[3]) { - i_76_ = (i_76_ != 0 ? (byte) 14 : (byte) 13); - bools[2] = bools[3] = false; - i_77_ = 1; - } - } else { - i_76_ = (i_76_ == 0 ? (byte) 13 : (byte) 14); - bools[0] = bools[1] = false; - i_77_ = 3; - } - } else { - bools[0] = bools[3] = false; - i_77_ = 0; - i_76_ = (i_76_ == 0 ? (byte) 13 : (byte) 14); - } - } - boolean bool_94_ = (!bool_75_ && !bools[0] && !bools[2] && !bools[1] && !bools[3]); - int[] is_95_ = null; - int[] is_96_; - int[] is_97_; - int i_98_; - int[] is_99_; - int i_100_; - if (bool_94_) { - is_96_ = Class10.anIntArrayArray174[i_76_]; - is_97_ = Class68.anIntArrayArray1190[i_76_]; - i_98_ = (class22 != null ? Class43.anIntArray619[i_76_] : 0); - is_99_ = (Class348_Sub12.anIntArrayArray6740[i_76_]); - i_100_ = (class277 == null ? 0 : (Class348_Sub40_Sub18.anIntArray9249[i_76_])); - } else if (bool_75_) { - i_100_ = (class277 == null ? 0 : Class48.anIntArray860[i_76_]); - is_96_ = Class98.anIntArrayArray1566[i_76_]; - is_95_ = Class106.anIntArrayArray1638[i_76_]; - is_97_ = Class163.anIntArrayArray2165[i_76_]; - is_99_ = (Class348_Sub15.anIntArrayArray6780[i_76_]); - i_98_ = (class22 != null ? Class283.anIntArray3659[i_76_] : 0); - } else { - i_98_ = (class22 == null ? 0 : Class246.anIntArray3173[i_76_]); - i_100_ = (class277 == null ? 0 : Class334.anIntArray4152[i_76_]); - is_97_ = Class284.anIntArrayArray3677[i_76_]; - is_99_ = (Class239_Sub20.anIntArrayArray6054[i_76_]); - is_96_ = (Exception_Sub1.anIntArrayArray111[i_76_]); - is_95_ = (Class348_Sub16_Sub3.anIntArrayArray8910[i_76_]); - } - int i_101_ = i_100_ + i_98_; - if (i_101_ <= 0) Class185.method1394(i_66_, i_71_, i_73_); - else { - if (bools[0]) i_101_++; - if (bools[2]) i_101_++; - if (bools[1]) i_101_++; - if (bools[3]) i_101_++; - int i_102_ = 0; - int i_103_ = 0; - int i_104_ = i_101_ * 3; - int[] is_105_ = bool_92_ ? new int[i_104_] : null; - int[] is_106_ = new int[i_104_]; - int[] is_107_ = new int[i_104_]; - int[] is_108_ = new int[i_104_]; - int[] is_109_ = new int[i_104_]; - int[] is_110_ = new int[i_104_]; - int[] is_111_ = var_s == null ? null : new int[i_104_]; - int[] is_112_ = (var_s == null && var_s_65_ == null ? null : new int[i_104_]); - int i_113_ = -1; - int i_114_ = -1; - int i_115_ = 256; - if (class277 != null) { - i_114_ = class277.anInt3575; - i_115_ = class277.anInt3570; - i_113_ = class277.anInt3563; - int i_116_ = (Class348_Sub42_Sub17.method3266(var_ha, i ^ ~0x68ad, class277)); - for (int i_117_ = 0; i_117_ < i_100_; i_117_++) { - boolean bool_118_ = false; - int i_119_; - if (!bools[-i_77_ & 0x3] || is_95_[0] != i_102_) { - if (!bools[-i_77_ + 2 & 0x3] || is_95_[2] != i_102_) { - if (!bools[-i_77_ + 1 & 0x3] || (is_95_[1] != i_102_)) { - if (!(bools[0x3 & -i_77_ + 3]) || (i_102_ != is_95_[3])) { - Class348.anIntArray4288[0] = is_96_[i_102_]; - Class348.anIntArray4288[1] = is_97_[i_102_]; - Class348.anIntArray4288[2] = is_99_[i_102_]; - i_119_ = 3; - } else { - Class348.anIntArray4288[0] = is_96_[i_102_]; - Class348.anIntArray4288[1] = 7; - Class348.anIntArray4288[2] = is_99_[i_102_]; - Class348.anIntArray4288[3] = 7; - Class348.anIntArray4288[4] = is_97_[i_102_]; - i_119_ = 6; - Class348.anIntArray4288[5] = is_99_[i_102_]; - } - } else { - Class348.anIntArray4288[0] = is_96_[i_102_]; - Class348.anIntArray4288[1] = 3; - Class348.anIntArray4288[2] = is_99_[i_102_]; - Class348.anIntArray4288[3] = 3; - Class348.anIntArray4288[4] = is_97_[i_102_]; - i_119_ = 6; - Class348.anIntArray4288[5] = is_99_[i_102_]; - } - } else { - Class348.anIntArray4288[0] = is_96_[i_102_]; - Class348.anIntArray4288[1] = 5; - Class348.anIntArray4288[2] = is_99_[i_102_]; - Class348.anIntArray4288[3] = 5; - Class348.anIntArray4288[4] = is_97_[i_102_]; - i_119_ = 6; - Class348.anIntArray4288[5] = is_99_[i_102_]; - } - } else { - Class348.anIntArray4288[0] = is_96_[i_102_]; - Class348.anIntArray4288[1] = 1; - Class348.anIntArray4288[2] = is_99_[i_102_]; - Class348.anIntArray4288[3] = 1; - Class348.anIntArray4288[4] = is_97_[i_102_]; - Class348.anIntArray4288[5] = is_99_[i_102_]; - i_119_ = 6; - } - for (int i_120_ = 0; (i_119_ > i_120_); i_120_++) { - int i_121_ = (Class348.anIntArray4288[i_120_]); - int i_122_ = -(2 * i_77_) + i_121_ & 0x7; - int i_123_ = anIntArray3124[i_121_]; - int i_124_ = anIntArray3128[i_121_]; - int i_125_; - int i_126_; - if (i_77_ == 1) { - i_125_ = 512 + -i_123_; - i_126_ = i_124_; - } else if (i_77_ == 2) { - i_126_ = 512 - i_123_; - i_125_ = -i_124_ + 512; - } else if (i_77_ == 3) { - i_125_ = i_123_; - i_126_ = 512 + -i_124_; - } else { - i_125_ = i_124_; - i_126_ = i_123_; - } - is_106_[i_103_] = i_126_; - is_107_[i_103_] = i_125_; - if (is_111_ != null && (Class160.aBooleanArrayArray2133[i_76_][i_121_])) { - int i_127_ = (i_126_ + (i_71_ << 9)); - int i_128_ = i_125_ + (i_73_ << 9); - is_111_[i_103_] = ((var_s.method3986(i_127_, i_128_, (byte) 124)) + -(var_s_64_.method3986(i_127_, i_128_, (byte) -118))); - } - if (is_112_ != null) { - if (var_s == null || (Class160.aBooleanArrayArray2133[i_76_][i_121_])) { - if (var_s_65_ != null && !(Class348_Sub42_Sub1.aBooleanArrayArray9495[i_76_][i_121_])) { - int i_129_ = ((i_71_ << 9) - -i_126_); - int i_130_ = ((i_73_ << 9) + i_125_); - is_112_[i_103_] = ((var_s_65_.method3986(i_129_, i_130_, (byte) -105)) + -(var_s_64_.method3986(i_129_, i_130_, (byte) -109))); - } - } else { - int i_131_ = ((i_71_ << 9) + i_126_); - int i_132_ = (i_125_ + (i_73_ << 9)); - is_112_[i_103_] = ((var_s_64_.method3986(i_131_, i_132_, (byte) -4)) - (var_s.method3986(i_131_, i_132_, (byte) 73))); - } - } - if (i_121_ < 8 && ((Class306.anIntArray3873[i_122_]) > (class277.anInt3564))) { - if (is_105_ != null) is_105_[i_103_] = (Class348_Sub40_Sub38.anIntArray9480[i_122_]); - is_110_[i_103_] = (Class348_Sub6.anIntArray6631[i_122_]); - is_109_[i_103_] = (Class223.anIntArray2899[i_122_]); - is_108_[i_103_] = (Class348_Sub15.anIntArray6775[i_122_]); - } else { - if (is_105_ != null) is_105_[i_103_] = i_116_; - is_109_[i_103_] = (class277.anInt3575); - is_110_[i_103_] = (class277.anInt3570); - is_108_[i_103_] = i_113_; - } - i_103_++; - } - i_102_++; - } - if (!this.aBoolean3109 && i_66_ == 0) Class333.method2643(i_71_, i_73_, class277.anInt3559, 8 * (class277.anInt3558), class277.anInt3574); - if (i_76_ != 12 && (class277.anInt3563 != -1) && class277.aBoolean3566) bool = true; - } else if (bool_94_) i_102_ += (Class348_Sub40_Sub18.anIntArray9249[i_76_]); - else if (!bool_75_) i_102_ += Class334.anIntArray4152[i_76_]; - else i_102_ += Class48.anIntArray860[i_76_]; - if (class22 != null) { - if (i_82_ == 0) i_82_ = i_79_; - if (i_81_ == 0) i_81_ = i_79_; - if (i_80_ == 0) i_80_ = i_79_; - Class22 class22_133_ = aClass183_3120.method1380(true, -1 + i_79_); - Class22 class22_134_ = aClass183_3120.method1380(true, i_80_ - 1); - Class22 class22_135_ = aClass183_3120.method1380(true, i_81_ + -1); - Class22 class22_136_ = aClass183_3120.method1380(true, -1 + i_82_); - for (int i_137_ = 0; (i_98_ > i_137_); i_137_++) { - boolean bool_138_ = false; - int i_139_; - if (!bools[-i_77_ & 0x3] || i_102_ != is_95_[0]) { - if (!bools[2 + -i_77_ & 0x3] || i_102_ != is_95_[2]) { - if (bools[0x3 & -i_77_ + 1] && (is_95_[1] == i_102_)) { - Class348.anIntArray4288[0] = is_96_[i_102_]; - Class348.anIntArray4288[1] = 3; - Class348.anIntArray4288[2] = is_99_[i_102_]; - Class348.anIntArray4288[3] = 3; - Class348.anIntArray4288[4] = is_97_[i_102_]; - Class348.anIntArray4288[5] = is_99_[i_102_]; - i_139_ = 6; - } else if ((bools[-i_77_ + 3 & 0x3]) && (i_102_ == is_95_[3])) { - Class348.anIntArray4288[0] = is_96_[i_102_]; - Class348.anIntArray4288[1] = 7; - Class348.anIntArray4288[2] = is_99_[i_102_]; - Class348.anIntArray4288[3] = 7; - Class348.anIntArray4288[4] = is_97_[i_102_]; - Class348.anIntArray4288[5] = is_99_[i_102_]; - i_139_ = 6; - } else { - Class348.anIntArray4288[0] = is_96_[i_102_]; - Class348.anIntArray4288[1] = is_97_[i_102_]; - i_139_ = 3; - Class348.anIntArray4288[2] = is_99_[i_102_]; - } - } else { - Class348.anIntArray4288[0] = is_96_[i_102_]; - Class348.anIntArray4288[1] = 5; - Class348.anIntArray4288[2] = is_99_[i_102_]; - Class348.anIntArray4288[3] = 5; - Class348.anIntArray4288[4] = is_97_[i_102_]; - i_139_ = 6; - Class348.anIntArray4288[5] = is_99_[i_102_]; - } - } else { - Class348.anIntArray4288[0] = is_96_[i_102_]; - Class348.anIntArray4288[1] = 1; - Class348.anIntArray4288[2] = is_99_[i_102_]; - Class348.anIntArray4288[3] = 1; - Class348.anIntArray4288[4] = is_97_[i_102_]; - i_139_ = 6; - Class348.anIntArray4288[5] = is_99_[i_102_]; - } - i_102_++; - for (int i_140_ = 0; (i_140_ < i_139_); i_140_++) { - int i_141_ = (Class348.anIntArray4288[i_140_]); - int i_142_ = -(2 * i_77_) + i_141_ & 0x7; - int i_143_ = anIntArray3124[i_141_]; - int i_144_ = anIntArray3128[i_141_]; - int i_145_; - int i_146_; - if (i_77_ == 1) { - i_146_ = i_144_; - i_145_ = -i_143_ + 512; - } else if (i_77_ == 2) { - i_145_ = 512 + -i_144_; - i_146_ = 512 + -i_143_; - } else if (i_77_ == 3) { - i_145_ = i_143_; - i_146_ = 512 + -i_144_; - } else { - i_145_ = i_144_; - i_146_ = i_143_; - } - is_106_[i_103_] = i_146_; - is_107_[i_103_] = i_145_; - if (is_111_ != null && (Class160.aBooleanArrayArray2133[i_76_][i_141_])) { - int i_147_ = (i_146_ + (i_71_ << 9)); - int i_148_ = ((i_73_ << 9) - -i_145_); - is_111_[i_103_] = ((var_s.method3986(i_147_, i_148_, (byte) -95)) - (var_s_64_.method3986(i_147_, i_148_, (byte) 69))); - } - if (is_112_ != null) { - if (var_s == null || (Class160.aBooleanArrayArray2133[i_76_][i_141_])) { - if (var_s_65_ != null && !(Class348_Sub42_Sub1.aBooleanArrayArray9495[i_76_][i_141_])) { - int i_149_ = ((i_71_ << 9) - -i_146_); - int i_150_ = (i_145_ + (i_73_ << 9)); - is_112_[i_103_] = ((var_s_65_.method3986(i_149_, i_150_, (byte) 92)) + -(var_s_64_.method3986(i_149_, i_150_, (byte) 127))); - } - } else { - int i_151_ = ((i_71_ << 9) + i_146_); - int i_152_ = (i_145_ + (i_73_ << 9)); - is_112_[i_103_] = ((var_s_64_.method3986(i_151_, i_152_, (byte) -102)) - (var_s.method3986(i_151_, i_152_, (byte) 106))); - } - } - if (i_141_ < 8 && (Class306.anIntArray3873[i_142_]) >= 0) { - if (is_105_ != null) is_105_[i_103_] = (Class348_Sub40_Sub38.anIntArray9480[i_142_]); - is_110_[i_103_] = (Class348_Sub6.anIntArray6631[i_142_]); - is_109_[i_103_] = (Class223.anIntArray2899[i_142_]); - is_108_[i_103_] = (Class348_Sub15.anIntArray6775[i_142_]); - } else { - if (!bool_75_ || !(Class160.aBooleanArrayArray2133[i_76_][i_141_])) { - if ((i_146_ == 0) && i_145_ == 0) { - is_108_[i_103_] = is[i_71_][i_73_]; - is_109_[i_103_] = (class22_133_.anInt331); - is_110_[i_103_] = (class22_133_.anInt336); - } else if (i_146_ != 0 || (i_145_ != 512)) { - if (i_146_ == 512 && i_145_ == 512) { - is_108_[i_103_] = (is[i_72_][i_74_]); - is_109_[i_103_] = (class22_135_.anInt331); - is_110_[i_103_] = (class22_135_.anInt336); - } else if ((i_146_ != 512) || (i_145_ != 0)) { - if (i_146_ >= 256) { - if (i_145_ >= 256) { - is_109_[i_103_] = (class22_135_.anInt331); - is_110_[i_103_] = (class22_135_.anInt336); - } else { - is_109_[i_103_] = (class22_136_.anInt331); - is_110_[i_103_] = (class22_136_.anInt336); - } - } else if (i_145_ < 256) { - is_109_[i_103_] = (class22_133_.anInt331); - is_110_[i_103_] = (class22_133_.anInt336); - } else { - is_109_[i_103_] = (class22_134_.anInt331); - is_110_[i_103_] = (class22_134_.anInt336); - } - int i_153_ = (Class334.method2652((is[i_71_][i_73_]), (is[i_72_][i_73_]), 1, (i_146_ << 7 >> 9))); - int i_154_ = (Class334.method2652((is[i_71_][i_74_]), (is[i_72_][i_74_]), 1, (i_146_ << 7 >> 9))); - is_108_[i_103_] = (Class334.method2652(i_153_, i_154_, i + 26834, (i_145_ << 7 >> 9))); - } else { - is_108_[i_103_] = (is[i_72_][i_73_]); - is_109_[i_103_] = (class22_136_.anInt331); - is_110_[i_103_] = (class22_136_.anInt336); - } - } else { - is_108_[i_103_] = is[i_71_][i_74_]; - is_109_[i_103_] = (class22_134_.anInt331); - is_110_[i_103_] = (class22_134_.anInt336); - } - } else { - is_109_[i_103_] = i_114_; - is_110_[i_103_] = i_115_; - is_108_[i_103_] = i_113_; - } - if (is_105_ != null) is_105_[i_103_] = is_108_[i_103_]; - } - i_103_++; - } - } - if (i_76_ != 0 && class22.aBoolean342) bool = true; - } - int i_155_ = var_s_64_.method3982((byte) -86, i_73_, i_71_); - int i_156_ = var_s_64_.method3982((byte) -86, i_73_, i_72_); - int i_157_ = var_s_64_.method3982((byte) -86, i_74_, i_72_); - int i_158_ = var_s_64_.method3982((byte) -86, i_74_, i_71_); - boolean bool_159_ = Class79.method802(i_73_, i_71_, true); - if (bool_159_ && i_66_ > 1 || (!bool_159_ && i_66_ > 0)) { - boolean bool_160_ = true; - if (class22 != null && !class22.aBoolean334) bool_160_ = false; - else if (i_79_ == 0 && i_76_ != 0) bool_160_ = false; - else if (i_78_ > 0 && class277_83_ != null && !(class277_83_.aBoolean3561)) bool_160_ = false; - if (bool_160_ && (i_156_ == i_155_) && i_157_ == i_155_ && i_155_ == i_158_) this.aByteArrayArrayArray3108[i_66_][i_71_][i_73_] = (byte) (Class273.method2057((this.aByteArrayArrayArray3108[i_66_][i_71_][i_73_]), 4)); - } - int i_161_ = 0; - int i_162_ = 0; - int i_163_ = 0; - if (this.aBoolean3109) { - i_161_ = Class367_Sub8.method3547(i_71_, i_73_); - i_162_ = Class318_Sub1_Sub5.method2483(i_71_, i_73_); - i_163_ = Class199.method1457(i_71_, i_73_); - } - var_s_64_.U(i_71_, i_73_, is_106_, is_111_, is_107_, is_112_, is_108_, is_105_, is_109_, is_110_, i_161_, i_162_, i_163_, bool); - Class185.method1394(i_66_, i_71_, i_73_); - } - } - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("sr.B(" + (var_s != null ? "{...}" : "null") + ',' + (var_s_64_ != null ? "{...}" : "null") + ',' + i + ',' + (var_s_65_ != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_66_ + ')')); - } - } - - static final Class231 method1677(int i, int i_164_) { - anInt3116++; - Class231[] class231s = Class239.method1709(-126); - if (i >= -111) return null; - for (int i_165_ = 0; i_165_ < class231s.length; i_165_++) { - Class231 class231 = class231s[i_165_]; - if (class231.anInt2995 == i_164_) return class231; - } - return null; - } - - final void method1678(int i, int i_166_, int i_167_, int i_168_, int i_169_, int i_170_) { - if (i_168_ >= -80) this.aByteArrayArrayArray3108 = null; - for (int i_171_ = i_167_; i_166_ + i_167_ > i_171_; i_171_++) { - for (int i_172_ = i; i_169_ + i > i_172_; i_172_++) { - if (i_172_ >= 0 && i_172_ < this.anInt3117 && i_171_ >= 0 && this.anInt3114 > i_171_) this.anIntArrayArrayArray3122[i_170_][i_172_][i_171_] = (i_170_ <= 0 ? 0 : -960 + (this.anIntArrayArrayArray3122[-1 + i_170_][i_172_][i_171_])); - } - } - anInt3105++; - if (i > 0 && this.anInt3117 > i) { - for (int i_173_ = i_167_ - -1; i_173_ < i_167_ - -i_166_; i_173_++) { - if (i_173_ >= 0 && this.anInt3114 > i_173_) this.anIntArrayArrayArray3122[i_170_][i][i_173_] = (this.anIntArrayArrayArray3122[i_170_][i - 1][i_173_]); - } - } - if (i_167_ > 0 && i_167_ < this.anInt3114) { - for (int i_174_ = 1 + i; i_174_ < i_169_ + i; i_174_++) { - if (i_174_ >= 0 && i_174_ < this.anInt3117) this.anIntArrayArrayArray3122[i_170_][i_174_][i_167_] = (this.anIntArrayArrayArray3122[i_170_][i_174_][-1 + i_167_]); - } - } - if (i >= 0 && i_167_ >= 0 && this.anInt3117 > i && i_167_ < this.anInt3114) { - if (i_170_ != 0) { - if (i > 0 && ((this.anIntArrayArrayArray3122[i_170_ - 1][-1 + i][i_167_]) != (this.anIntArrayArrayArray3122[i_170_][i - 1][i_167_]))) this.anIntArrayArrayArray3122[i_170_][i][i_167_] = (this.anIntArrayArrayArray3122[i_170_][i - 1][i_167_]); - else if (i_167_ <= 0 || ((this.anIntArrayArrayArray3122[i_170_][i][-1 + i_167_]) == (this.anIntArrayArrayArray3122[-1 + i_170_][i][-1 + i_167_]))) { - if (i > 0 && i_167_ > 0 && ((this.anIntArrayArrayArray3122[i_170_ + -1][i + -1][-1 + i_167_]) != (this.anIntArrayArrayArray3122[i_170_][i + -1][-1 + i_167_]))) this.anIntArrayArrayArray3122[i_170_][i][i_167_] = (this.anIntArrayArrayArray3122[i_170_][i + -1][-1 + i_167_]); - } else this.anIntArrayArrayArray3122[i_170_][i][i_167_] = (this.anIntArrayArrayArray3122[i_170_][i][i_167_ + -1]); - } else if (i <= 0 || (this.anIntArrayArrayArray3122[i_170_][-1 + i][i_167_]) == 0) { - if (i_167_ <= 0 || (this.anIntArrayArrayArray3122[i_170_][i][-1 + i_167_]) == 0) { - if (i > 0 && i_167_ > 0 && (this.anIntArrayArrayArray3122[i_170_][-1 + i][i_167_ - 1]) != 0) this.anIntArrayArrayArray3122[i_170_][i][i_167_] = (this.anIntArrayArrayArray3122[i_170_][i - 1][-1 + i_167_]); - } else this.anIntArrayArrayArray3122[i_170_][i][i_167_] = (this.anIntArrayArrayArray3122[i_170_][i][-1 + i_167_]); - } else this.anIntArrayArrayArray3122[i_170_][i][i_167_] = (this.anIntArrayArrayArray3122[i_170_][-1 + i][i_167_]); - } - } - - final void method1679(int i, int i_175_, int[][] is) { - anInt3121++; - int[][] is_176_ = this.anIntArrayArrayArray3122[i]; - for (int i_177_ = i_175_; (i_177_ < this.anInt3117 - -1); i_177_++) { - for (int i_178_ = 0; (i_178_ < this.anInt3114 + 1); i_178_++) - is_176_[i_177_][i_178_] += is[i_177_][i_178_]; - } - } - - final void method1680(s var_s, byte i, s var_s_179_, ha var_ha) { - try { - anInt3131++; - int[][] is = (new int[this.anInt3117] - [this.anInt3114]); - if (i <= -122) { - if (Class348_Sub24.anIntArray6878 == null || (this.anInt3114 != Class348_Sub24.anIntArray6878.length)) { - Class318_Sub9_Sub1.anIntArray8785 = new int[this.anInt3114]; - Class348_Sub40_Sub6.anIntArray9135 = new int[this.anInt3114]; - Class265.anIntArray4692 = new int[this.anInt3114]; - Class348_Sub24.anIntArray6878 = new int[this.anInt3114]; - Class348_Sub8.anIntArray6655 = new int[this.anInt3114]; - } - for (int i_180_ = 0; this.anInt3130 > i_180_; i_180_++) { - for (int i_181_ = 0; this.anInt3114 > i_181_; i_181_++) { - Class348_Sub24.anIntArray6878[i_181_] = 0; - Class348_Sub40_Sub6.anIntArray9135[i_181_] = 0; - Class348_Sub8.anIntArray6655[i_181_] = 0; - Class265.anIntArray4692[i_181_] = 0; - Class318_Sub9_Sub1.anIntArray8785[i_181_] = 0; - } - for (int i_182_ = -5; i_182_ < this.anInt3117; i_182_++) { - for (int i_183_ = 0; (i_183_ < this.anInt3114); i_183_++) { - int i_184_ = i_182_ - -5; - if (this.anInt3117 > i_184_) { - int i_185_ = ((aByteArrayArrayArray3113[i_180_][i_184_][i_183_]) & 0xff); - if (i_185_ > 0) { - Class22 class22 = aClass183_3120.method1380(true, -1 + i_185_); - Class348_Sub24.anIntArray6878[i_183_] += class22.anInt341; - Class348_Sub40_Sub6.anIntArray9135[i_183_] += class22.anInt332; - Class348_Sub8.anIntArray6655[i_183_] += class22.anInt335; - Class265.anIntArray4692[i_183_] += class22.anInt343; - Class318_Sub9_Sub1.anIntArray8785[i_183_]++; - } - } - int i_186_ = i_182_ - 5; - if (i_186_ >= 0) { - int i_187_ = 0xff & (aByteArrayArrayArray3113[i_180_][i_186_][i_183_]); - if (i_187_ > 0) { - Class22 class22 = aClass183_3120.method1380(true, -1 + i_187_); - Class348_Sub24.anIntArray6878[i_183_] -= class22.anInt341; - Class348_Sub40_Sub6.anIntArray9135[i_183_] -= class22.anInt332; - Class348_Sub8.anIntArray6655[i_183_] -= class22.anInt335; - Class265.anIntArray4692[i_183_] -= class22.anInt343; - Class318_Sub9_Sub1.anIntArray8785[i_183_]--; - } - } - } - if (i_182_ >= 0) { - int i_188_ = 0; - int i_189_ = 0; - int i_190_ = 0; - int i_191_ = 0; - int i_192_ = 0; - for (int i_193_ = -5; (this.anInt3114 > i_193_); i_193_++) { - int i_194_ = 5 + i_193_; - if (i_194_ < this.anInt3114) { - i_190_ += (Class348_Sub8.anIntArray6655[i_194_]); - i_189_ += (Class348_Sub40_Sub6.anIntArray9135[i_194_]); - i_188_ += (Class348_Sub24.anIntArray6878[i_194_]); - i_192_ += (Class318_Sub9_Sub1.anIntArray8785[i_194_]); - i_191_ += Class265.anIntArray4692[i_194_]; - } - int i_195_ = i_193_ + -5; - if (i_195_ >= 0) { - i_191_ -= Class265.anIntArray4692[i_195_]; - i_188_ -= (Class348_Sub24.anIntArray6878[i_195_]); - i_190_ -= (Class348_Sub8.anIntArray6655[i_195_]); - i_192_ -= (Class318_Sub9_Sub1.anIntArray8785[i_195_]); - i_189_ -= (Class348_Sub40_Sub6.anIntArray9135[i_195_]); - } - if (i_193_ >= 0 && i_191_ > 0 && i_192_ > 0) is[i_182_][i_193_] = Class247.method1890(i_190_ / i_192_, (byte) 66, i_189_ / i_192_, (256 * i_188_ / i_191_)); - } - } - } - if (!IOException_Sub1.aBoolean86) method1683(var_ha, i_180_ != 0 ? null : var_s, i_180_, (byte) 127, is, aa_Sub1.aSArray5191[i_180_], i_180_ != 0 ? null : var_s_179_); - else method1676(i_180_ != 0 ? null : var_s, aa_Sub1.aSArray5191[i_180_], -26833, i_180_ == 0 ? var_s_179_ : null, is, var_ha, i_180_); - aByteArrayArrayArray3113[i_180_] = null; - aByteArrayArrayArray3123[i_180_] = null; - aByteArrayArrayArray3126[i_180_] = null; - aByteArrayArrayArray3129[i_180_] = null; - } - if (!this.aBoolean3109) { - if (Class291.anInt3720 != 0) Class258_Sub3.method1968(); - if (Class186.aBoolean2492) Class171.method1320(); - } - for (int i_196_ = 0; (this.anInt3130 > i_196_); i_196_++) - aa_Sub1.aSArray5191[i_196_].YA(); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("sr.L(" + (var_s != null ? "{...}" : "null") + ',' + i + ',' + (var_s_179_ != null ? "{...}" : "null") + ',' + (var_ha != null ? "{...}" : "null") + ')')); - } - } - - final void method1681(Class348_Sub49 class348_sub49, int i, Class361[] class361s, int i_197_, int i_198_, int i_199_, byte i_200_) { - try { - anInt3107++; - if (!this.aBoolean3109) { - for (int i_201_ = 0; i_201_ < 4; i_201_++) { - Class361 class361 = class361s[i_201_]; - for (int i_202_ = 0; i_202_ < 64; i_202_++) { - for (int i_203_ = 0; i_203_ < 64; i_203_++) { - int i_204_ = i_202_ + i; - int i_205_ = i_199_ + i_203_; - if (i_204_ >= 0 && (i_204_ < this.anInt3117) && i_205_ >= 0 && (this.anInt3114 > i_205_)) class361.method3501((byte) 107, i_205_, i_204_); - } - } - } - } - int i_206_ = i + i_198_; - int i_207_ = 65 % ((i_200_ - 34) / 42); - int i_208_ = i_197_ - -i_199_; - for (int i_209_ = 0; this.anInt3130 > i_209_; i_209_++) { - for (int i_210_ = 0; i_210_ < 64; i_210_++) { - for (int i_211_ = 0; i_211_ < 64; i_211_++) - method1682(false, 0, i_211_ + i_199_, 0, class348_sub49, 0, 1115212770, i + i_210_, i_206_ + i_210_, i_208_ - -i_211_, i_209_); - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("sr.I(" + (class348_sub49 != null ? "{...}" : "null") + ',' + i + ',' + (class361s != null ? "{...}" : "null") + ',' + i_197_ + ',' + i_198_ + ',' + i_199_ + ',' + i_200_ + ')')); - } - } - - private final void method1682(boolean bool, int i, int i_212_, int i_213_, Class348_Sub49 class348_sub49, int i_214_, int i_215_, int i_216_, int i_217_, int i_218_, int i_219_) { - anInt3125++; - if (i_213_ != 1) { - if (i_213_ == 2) { - i = 1; - i_214_ = 1; - } else if (i_213_ == 3) i_214_ = 1; - } else i = 1; - if (i_216_ < 0 || i_216_ >= this.anInt3117 || i_212_ < 0 || this.anInt3114 <= i_212_) { - for (; ; ) { - int i_220_ = class348_sub49.readUnsignedByte(255); - if (i_220_ == 0) break; - if (i_220_ == 1) { - class348_sub49.readUnsignedByte(i_215_ ^ 0x4278cb1d); - break; - } - if (i_220_ <= 49) class348_sub49.readUnsignedByte(255); - } - } else { - if (!this.aBoolean3109 && !bool) Class348_Sub33.aByteArrayArrayArray6962[i_219_][i_216_][i_212_] = (byte) 0; - for (; ; ) { - int i_221_ = class348_sub49.readUnsignedByte(i_215_ ^ 0x4278cb1d); - if (i_221_ == 0) { - if (this.aBoolean3109) this.anIntArrayArrayArray3122[0][i_214_ + i_216_][i + i_212_] = 0; - else if (i_219_ != 0) this.anIntArrayArrayArray3122[i_219_][i_214_ + i_216_][i + i_212_] = -960 + (this.anIntArrayArrayArray3122[-1 + i_219_][i_214_ + i_216_][i + i_212_]); - else this.anIntArrayArrayArray3122[0][i_214_ + i_216_][i_212_ - -i] = (8 * -(Class318_Sub1_Sub3_Sub4.method2462(-113, i_217_ + 932731, i_218_ + 556238)) << 2); - break; - } - if (i_221_ == 1) { - int i_222_ = class348_sub49.readUnsignedByte(255); - if (this.aBoolean3109) this.anIntArrayArrayArray3122[0][i_216_ - -i_214_][i_212_ + i] = i_222_ * 8 << 2; - else { - if (i_222_ == 1) i_222_ = 0; - if (i_219_ != 0) this.anIntArrayArrayArray3122[i_219_][i_214_ + i_216_][i + i_212_] = (this.anIntArrayArrayArray3122[-1 + i_219_][i_214_ + i_216_][i_212_ - -i]) - (i_222_ * 8 << 2); - else this.anIntArrayArrayArray3122[0][i_216_ - -i_214_][i_212_ - -i] = 8 * -i_222_ << 2; - } - break; - } - if (i_221_ <= 49) { - if (bool) class348_sub49.readUnsignedByte(255); - else { - aByteArrayArrayArray3123[i_219_][i_216_][i_212_] = class348_sub49.readByte(i_215_ + -1115212859); - aByteArrayArrayArray3126[i_219_][i_216_][i_212_] = (byte) ((i_221_ + -2) / 4); - aByteArrayArrayArray3129[i_219_][i_216_][i_212_] = (byte) Class139.method1166(3, -2 + i_221_ + i_213_); - } - } else if (i_221_ <= 81) { - if (!this.aBoolean3109 && !bool) Class348_Sub33.aByteArrayArrayArray6962[i_219_][i_216_][i_212_] = (byte) (i_221_ - 49); - } else if (!bool) aByteArrayArrayArray3113[i_219_][i_216_][i_212_] = (byte) (-81 + i_221_); - } - } - if (i_215_ != 1115212770) this.aByteArrayArrayArray3104 = null; - } - - private final void method1683(ha var_ha, s var_s, int i, byte i_223_, int[][] is, s var_s_224_, s var_s_225_) { - do { - try { - anInt3111++; - for (int i_226_ = 0; i_226_ < this.anInt3117; i_226_++) { - for (int i_227_ = 0; this.anInt3114 > i_227_; i_227_++) { - if (OutputStream_Sub2.anInt101 == -1 || Class58.method536(i_227_, false, i_226_, OutputStream_Sub2.anInt101, i)) { - byte i_228_ = aByteArrayArrayArray3126[i][i_226_][i_227_]; - byte i_229_ = aByteArrayArrayArray3129[i][i_226_][i_227_]; - int i_230_ = (aByteArrayArrayArray3123[i][i_226_][i_227_] & 0xff); - int i_231_ = 0xff & (aByteArrayArrayArray3113[i][i_226_][i_227_]); - Class277 class277 = (i_230_ != 0 ? aClass268_3119.method2034(-1 + i_230_, false) : null); - if (i_228_ == 0 && class277 == null) i_228_ = (byte) 12; - Class22 class22 = (i_231_ == 0 ? null : aClass183_3120.method1380(true, i_231_ - 1)); - int i_232_ = 0; - int i_233_ = 0; - if (i_228_ != 0) { - i_233_ = (class277 == null ? 0 : (Class348_Sub40_Sub18.anIntArray9249[i_228_])); - i_232_ = (class22 != null ? Class43.anIntArray619[i_228_] : 0); - } else if (class277 != null) i_233_ = (Class348_Sub40_Sub18.anIntArray9249[i_228_]); - else if (class22 != null) i_232_ = (Class348_Sub40_Sub18.anIntArray9249[i_228_]); - int i_234_ = i_233_ + i_232_; - int i_235_ = 0; - if (i_234_ != 0) { - int i_236_ = (class277 != null ? class277.anInt3575 : -1); - int i_237_ = (class22 != null ? class22.anInt331 : -1); - int[] is_238_ = new int[i_234_]; - int[] is_239_ = new int[i_234_]; - int[] is_240_ = new int[i_234_]; - int[] is_241_ = new int[i_234_]; - boolean bool = false; - boolean bool_242_ = false; - if (class277 == null || (class277.anInt3563 == -1 && (class277.anInt3569 == -1) && i_236_ == -1)) { - bool_242_ = true; - for (int i_243_ = 0; i_243_ < i_233_; i_243_++) { - is_238_[i_235_] = -1; - i_235_++; - } - } else { - for (int i_244_ = 0; (i_233_ > i_244_); i_244_++) { - is_240_[i_235_] = i_236_; - is_241_[i_235_] = class277.anInt3570; - if (class277.anInt3563 != -1) is_238_[i_235_] = (class277.anInt3563); - else is_238_[i_235_] = -1; - if (class277.anInt3569 == -1) is_239_[i_235_] = -1; - else { - bool = true; - is_239_[i_235_] = (class277.anInt3569); - } - i_235_++; - } - if (!this.aBoolean3109 && i == 0) Class333.method2643(i_226_, i_227_, class277.anInt3559, (class277.anInt3558 * 8), class277.anInt3574); - } - if (!bool) is_239_ = null; - if (class22 == null) { - if (bool_242_) continue; - for (int i_245_ = 0; i_245_ < i_232_; i_245_++) { - is_238_[i_235_] = -1; - i_235_++; - } - } else { - for (int i_246_ = 0; (i_232_ > i_246_); i_246_++) { - is_240_[i_235_] = i_237_; - is_241_[i_235_] = class22.anInt336; - is_238_[i_235_] = is[i_226_][i_227_]; - if (is_239_ != null) is_239_[i_235_] = -1; - i_235_++; - } - } - int i_247_ = anIntArray3124.length; - int[] is_248_ = new int[i_247_]; - int[] is_249_ = new int[i_247_]; - int[] is_250_ = var_s == null ? null : new int[i_247_]; - int[] is_251_ = (var_s != null || var_s_225_ != null ? new int[i_247_] : null); - for (int i_252_ = 0; i_247_ > i_252_; i_252_++) { - int i_253_ = anIntArray3124[i_252_]; - int i_254_ = anIntArray3128[i_252_]; - if (i_229_ == 0) { - is_248_[i_252_] = i_253_; - is_249_[i_252_] = i_254_; - } else if (i_229_ == 1) { - is_248_[i_252_] = i_254_; - int i_256_ = i_253_; - is_249_[i_252_] = 512 - i_256_; - } else if (i_229_ == 2) { - is_248_[i_252_] = -i_253_ + 512; - is_249_[i_252_] = 512 - i_254_; - } else if (i_229_ == 3) { - is_248_[i_252_] = 512 - i_254_; - int i_255_ = i_253_; - is_249_[i_252_] = i_255_; - } - if (is_250_ != null && (Class160.aBooleanArrayArray2133[i_228_][i_252_])) { - int i_257_ = (is_248_[i_252_] + (i_226_ << 9)); - int i_258_ = ((i_227_ << 9) - -is_249_[i_252_]); - is_250_[i_252_] = (var_s.method3986(i_257_, i_258_, (byte) -101) + -(var_s_224_.method3986(i_257_, i_258_, (byte) -12))); - } - if (is_251_ != null) { - if (var_s != null && !(Class160.aBooleanArrayArray2133[i_228_][i_252_])) { - int i_259_ = (is_248_[i_252_] + (i_226_ << 9)); - int i_260_ = ((i_227_ << 9) + is_249_[i_252_]); - is_251_[i_252_] = ((var_s_224_.method3986(i_259_, i_260_, (byte) 87)) - (var_s.method3986(i_259_, i_260_, (byte) -90))); - } else if (var_s_225_ != null && !(Class348_Sub42_Sub1.aBooleanArrayArray9495[i_228_][i_252_])) { - int i_261_ = (is_248_[i_252_] + (i_226_ << 9)); - int i_262_ = (is_249_[i_252_] + (i_227_ << 9)); - is_251_[i_252_] = ((var_s_225_.method3986(i_261_, i_262_, (byte) -128)) + -(var_s_224_.method3986(i_261_, i_262_, (byte) -1))); - } - } - } - int i_263_ = var_s_224_.method3982((byte) -86, i_227_, i_226_); - int i_264_ = var_s_224_.method3982((byte) -86, i_227_, 1 + i_226_); - int i_265_ = var_s_224_.method3982((byte) -86, 1 + i_227_, i_226_ - -1); - int i_266_ = var_s_224_.method3982((byte) -86, i_227_ + 1, i_226_); - boolean bool_267_ = Class79.method802(i_227_, i_226_, true); - if (bool_267_ && i > 1 || !bool_267_ && i > 0) { - boolean bool_268_ = true; - if (class22 != null && !class22.aBoolean334) bool_268_ = false; - else if (i_231_ == 0 && i_228_ != 0) bool_268_ = false; - else if (i_230_ > 0 && class277 != null && !(class277.aBoolean3561)) bool_268_ = false; - if (bool_268_ && (i_264_ == i_263_) && (i_263_ == i_265_) && (i_263_ == i_266_)) this.aByteArrayArrayArray3108[i][i_226_][i_227_] = (byte) (Class273.method2057((this.aByteArrayArrayArray3108[i][i_226_][i_227_]), 4)); - } - int i_269_ = 0; - int i_270_ = 0; - int i_271_ = 0; - if (this.aBoolean3109) { - i_269_ = Class367_Sub8.method3547(i_226_, i_227_); - i_270_ = Class318_Sub1_Sub5.method2483(i_226_, i_227_); - i_271_ = Class199.method1457(i_226_, i_227_); - } - var_s_224_.method3978(i_226_, i_227_, is_248_, is_250_, is_249_, is_251_, Class10.anIntArrayArray174[i_228_], Class68.anIntArrayArray1190[i_228_], (Class348_Sub12.anIntArrayArray6740[i_228_]), is_238_, is_239_, is_240_, is_241_, i_269_, i_270_, i_271_, false); - Class185.method1394(i, i_226_, i_227_); - } - } - } - } - if (i_223_ >= 115) break; - this.anInt3117 = 57; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("sr.H(" + (var_ha != null ? "{...}" : "null") + ',' + (var_s != null ? "{...}" : "null") + ',' + i + ',' + i_223_ + ',' + (is != null ? "{...}" : "null") + ',' + (var_s_224_ != null ? "{...}" : "null") + ',' + (var_s_225_ != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - final void method1684(int i, int i_272_, int i_273_, Class348_Sub49 class348_sub49, int i_274_, int i_275_, int i_276_, Class361[] class361s, int i_277_, int i_278_) { - try { - if (i_273_ == -1) { - anInt3115++; - int i_279_ = 8 * (i_276_ & 0x7); - int i_280_ = 8 * (0x7 & i_274_); - if (!this.aBoolean3109) { - Class361 class361 = class361s[i_272_]; - for (int i_281_ = 0; i_281_ < 8; i_281_++) { - for (int i_282_ = 0; i_282_ < 8; i_282_++) { - int i_283_ = i + Class295.method2220(0x7 & i_282_, i_277_, 0x7 & i_281_, (byte) 71); - int i_284_ = (Class87.method837(i_281_ & 0x7, true, 0x7 & i_282_, i_277_) + i_275_); - if (i_283_ > 0 && i_283_ < -1 + this.anInt3117 && i_284_ > 0 && this.anInt3114 + -1 > i_284_) class361.method3501((byte) 124, i_284_, i_283_); - } - } - } - int i_285_ = (i_276_ & ~0x7) << 3; - int i_286_ = (~0x7 & i_274_) << 3; - int i_287_ = 0; - int i_288_ = 0; - if (i_277_ != 1) { - if (i_277_ == 2) { - i_288_ = 1; - i_287_ = 1; - } else if (i_277_ == 3) i_287_ = 1; - } else i_288_ = 1; - for (int i_289_ = 0; this.anInt3130 > i_289_; i_289_++) { - for (int i_290_ = 0; i_290_ < 64; i_290_++) { - for (int i_291_ = 0; i_291_ < 64; i_291_++) { - if (i_278_ != i_289_ || i_279_ > i_290_ || i_290_ > i_279_ - -8 || i_280_ > i_291_ || 8 + i_280_ < i_291_) method1682(false, 0, -1, 0, class348_sub49, 0, 1115212770, -1, 0, 0, 0); - else { - int i_292_; - int i_293_; - if (i_290_ == i_279_ + 8 || i_280_ - -8 == i_291_) { - if (i_277_ == 0) { - i_292_ = -i_280_ + (i_291_ + i_275_); - i_293_ = -i_279_ - -i_290_ + i; - } else if (i_277_ == 1) { - i_292_ = i_275_ + 8 + (i_279_ + -i_290_); - i_293_ = i_291_ - (i_280_ - i); - } else if (i_277_ == 2) { - i_292_ = i_275_ + 8 + (-i_291_ + i_280_); - i_293_ = i_279_ - i_290_ + i + 8; - } else { - i_293_ = i_280_ - (i_291_ - i) - -8; - i_292_ = i_275_ - (i_279_ + -i_290_); - } - method1682(true, 0, i_292_, 0, class348_sub49, 0, 1115212770, i_293_, i_290_ + i_285_, i_291_ + i_286_, i_272_); - } else { - i_293_ = Class295.method2220(0x7 & i_291_, i_277_, i_290_ & 0x7, (byte) 71) + i; - i_292_ = (i_275_ + Class87.method837(0x7 & i_290_, true, 0x7 & i_291_, i_277_)); - method1682(false, i_288_, i_292_, i_277_, class348_sub49, i_287_, 1115212770, i_293_, i_285_ - -i_290_, i_291_ + i_286_, i_272_); - } - if (i_290_ == 63 || i_291_ == 63) { - int i_294_ = 1; - if (i_290_ == 63 && i_291_ == 63) i_294_ = 3; - for (int i_295_ = 0; (i_294_ > i_295_); i_295_++) { - int i_296_ = i_290_; - int i_297_ = i_291_; - if (i_295_ == 0) { - i_297_ = (i_291_ == 63 ? 64 : i_291_); - i_296_ = i_290_ == 63 ? 64 : i_290_; - } else if (i_295_ == 1) i_296_ = 64; - else if (i_295_ == 2) i_297_ = 64; - int i_298_; - int i_299_; - if (i_277_ == 0) { - i_298_ = -i_280_ - -i_297_ + i_275_; - i_299_ = i_296_ + -i_279_ + i; - } else if (i_277_ == 1) { - i_298_ = i_279_ - (i_296_ - i_275_) - -8; - i_299_ = i + i_297_ - i_280_; - } else if (i_277_ == 2) { - i_298_ = (8 + i_275_ + -i_297_ + i_280_); - i_299_ = i_279_ - (i_296_ - i - 8); - } else { - i_299_ = -i_297_ - -i_280_ + 8 + i; - i_298_ = -i_279_ - -i_296_ + i_275_; - } - if (i_299_ >= 0 && (i_299_ < this.anInt3117) && i_298_ >= 0 && (this.anInt3114 > i_298_)) this.anIntArrayArrayArray3122[i_272_][i_299_][i_298_] = (this.anIntArrayArrayArray3122[i_272_][i_287_ + i_293_][i_288_ + i_292_]); - } - } - } - } - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("sr.E(" + i + ',' + i_272_ + ',' + i_273_ + ',' + (class348_sub49 != null ? "{...}" : "null") + ',' + i_274_ + ',' + i_275_ + ',' + i_276_ + ',' + (class361s != null ? "{...}" : "null") + ',' + i_277_ + ',' + i_278_ + ')')); - } - } - - final void method1685(ha var_ha, int[][][] is, int i, Class361[] class361s) { - try { - anInt3118++; - if (i != 21407) method1680(null, (byte) -116, null, null); - if (!this.aBoolean3109) { - for (int i_300_ = 0; i_300_ < 4; i_300_++) { - for (int i_301_ = 0; (i_301_ < this.anInt3117); i_301_++) { - for (int i_302_ = 0; this.anInt3114 > i_302_; i_302_++) { - if ((0x1 & (Class348_Sub33.aByteArrayArrayArray6962[i_300_][i_301_][i_302_])) != 0) { - int i_303_ = i_300_; - if ((0x2 & (Class348_Sub33.aByteArrayArrayArray6962[1][i_301_][i_302_])) != 0) i_303_--; - if (i_303_ >= 0) class361s[i_303_].method3507(i_302_, i_301_, (byte) -116); - } - } - } - } - } - for (int i_304_ = 0; this.anInt3130 > i_304_; i_304_++) { - int i_305_ = 0; - int i_306_ = 0; - if (!this.aBoolean3109) { - if (Class186.aBoolean2492) i_305_ |= 0x2; - if (Class369.aBoolean4972) i_306_ |= 0x8; - if (Class291.anInt3720 != 0) { - if (i_304_ == 0 | Class296.aBoolean3767) i_306_ |= 0x10; - i_305_ |= 0x1; - } - } - if (Class186.aBoolean2492) i_306_ |= 0x7; - if (!Class47.aBoolean845) i_306_ |= 0x20; - int[][] is_307_ = (is == null || is.length <= i_304_ ? this.anIntArrayArrayArray3122[i_304_] : is[i_304_]); - Class348_Sub45.method3313(i_304_, var_ha.method3648(this.anInt3117, this.anInt3114, (this.anIntArrayArrayArray3122[i_304_]), is_307_, 512, i_305_, i_306_)); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("sr.J(" + (var_ha != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ',' + i + ',' + (class361s != null ? "{...}" : "null") + ')')); - } - } - - static final void method1686(int i) { - int i_308_ = -110 / ((i - -74) / 44); - if (Class348_Sub40_Sub29.anInt9372 > 1) Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub17_7263), 4); - else Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub17_7263), 2); - anInt3106++; - } - - static final Class46 method1687(Class46 class46, int i) { - if (i != 3) method1686(-21); - anInt3110++; - if (class46.anInt834 != -1) return Class324.method2570(1512932720, class46.anInt834); - int i_309_ = class46.anInt830 >>> 16; - Class333 class333 = new Class333(Class125.aClass356_4915); - for (Class348_Sub41 class348_sub41 = (Class348_Sub41) class333.method2644((byte) 123); class348_sub41 != null; class348_sub41 = (Class348_Sub41) class333.method2646((byte) 117)) { - if (i_309_ == class348_sub41.anInt7050) return Class324.method2570(1512932720, (int) (class348_sub41.aLong4291)); - } - return null; - } - - final void method1688(int i, int i_310_, int i_311_, int i_312_, int i_313_) { - if (i_312_ > 50) { - for (int i_314_ = 0; (this.anInt3130 > i_314_); i_314_++) - method1678(i_313_, i_310_, i, -124, i_311_, i_314_); - anInt3127++; - } - } - - Class237(int i, int i_315_, int i_316_, boolean bool, Class268 class268, Class183 class183) { - anIntArray3124 = new int[]{0, 256, 512, 512, 512, 256, 0, 0, 128, 256, 128, 384, 256}; - try { - this.aBoolean3109 = bool; - aClass268_3119 = class268; - aClass183_3120 = class183; - this.anInt3117 = i_315_; - this.anInt3130 = i; - this.anInt3114 = i_316_; - this.anIntArrayArrayArray3122 = (new int[this.anInt3130] - [this.anInt3117 + 1] - [1 + this.anInt3114]); - this.aByteArrayArrayArray3108 = (new byte[this.anInt3130] - [this.anInt3117 - -1] - [1 + this.anInt3114]); - aByteArrayArrayArray3113 = (new byte[this.anInt3130] - [this.anInt3117][this.anInt3114]); - aByteArrayArrayArray3129 = (new byte[this.anInt3130] - [this.anInt3117][this.anInt3114]); - aByteArrayArrayArray3126 = (new byte[this.anInt3130] - [this.anInt3117][this.anInt3114]); - aByteArrayArrayArray3123 = (new byte[this.anInt3130] - [this.anInt3117][this.anInt3114]); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("sr.(" + i + ',' + i_315_ + ',' + i_316_ + ',' + bool + ',' + (class268 != null ? "{...}" : "null") + ',' + (class183 != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class237_Sub1.java b/client/src/Class237_Sub1.java deleted file mode 100644 index a8f70583b..000000000 --- a/client/src/Class237_Sub1.java +++ /dev/null @@ -1,776 +0,0 @@ -/* Class237_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class237_Sub1 extends Class237 { - static int anInt5815; - static int anInt5816; - static int anInt5817; - static int anInt5818; - static int anInt5819; - static int anInt5820; - static Class341 aClass341_5821 = new Class341(); - static int anInt5822; - static int anInt5823; - int anInt5824 = 99; - static int anInt5825; - static int anInt5826; - /*synthetic*/ static Class aClass5827; - - final void method1689(int i, int i_0_, int i_1_, ha var_ha, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, Class361 class361) { - try { - anInt5823++; - if (Class316.aClass348_Sub51_3959.aClass239_Sub27_7261.method1840(i_3_ ^ ~0x7e6f) != 0 || Class58.method536(i_5_, false, i, Class167.anInt2204, i_2_)) { - if (this.anInt5824 > i_0_) this.anInt5824 = i_0_; - Class51 class51 = Class348_Sub40_Sub12.aClass263_9195.method2005(0, i_1_); - if (Class316.aClass348_Sub51_3959.aClass239_Sub24_7235.method1820(i_3_ + -32400) != 0 || !class51.aBoolean931) { - int i_8_; - int i_9_; - if (i_7_ == 1 || i_7_ == 3) { - i_8_ = class51.anInt961; - i_9_ = class51.anInt926; - } else { - i_8_ = class51.anInt926; - i_9_ = class51.anInt961; - } - if (i_3_ != 50) method1695(null, null, -32, null, -51, 80); - int i_10_; - int i_11_; - if (i - -i_9_ <= this.anInt3117) { - i_10_ = (i_9_ >> 1) + i; - i_11_ = i + (1 + i_9_ >> 1); - } else { - i_10_ = i; - i_11_ = 1 + i; - } - int i_12_; - int i_13_; - if (this.anInt3114 < i_8_ + i_5_) { - i_12_ = i_5_ + 1; - i_13_ = i_5_; - } else { - i_12_ = (1 + i_8_ >> 1) + i_5_; - i_13_ = (i_8_ >> 1) + i_5_; - } - s var_s = aa_Sub1.aSArray5191[i_2_]; - int i_14_ = ((var_s.method3982((byte) -86, i_13_, i_10_) + var_s.method3982((byte) -86, i_13_, i_11_) - (-var_s.method3982((byte) -86, i_12_, i_10_) - var_s.method3982((byte) -86, i_12_, i_11_))) >> 2); - int i_15_ = (i << 9) - -(i_9_ << 8); - int i_16_ = (i_8_ << 8) + (i_5_ << 9); - boolean bool = (Class348_Sub42_Sub3.aBoolean9498 && !this.aBoolean3109 && class51.aBoolean906); - if (class51.method474((byte) 82)) Class223.method1614(979190089, null, i_0_, i_5_, i, null, class51, i_7_); - boolean bool_17_ = (i_6_ == -1 && class51.anInt868 == -1 && class51.anIntArray943 == null && class51.anIntArray945 == null && !class51.aBoolean929); - if (!Class49.aBoolean4728 || ((!Class140.method1172((byte) -85, i_4_) || class51.anInt955 == 1) && (!Class231.method1639(i_4_, i_3_ ^ 0x3918) || class51.anInt955 != 0))) { - if (i_4_ == 22) { - if ((Class316.aClass348_Sub51_3959.aClass239_Sub4_7220.method1737(-32350) != 0) || (class51.anInt874 != 0) || (class51.anInt920 == 1) || class51.aBoolean947) { - Class318_Sub1_Sub1 class318_sub1_sub1; - if (bool_17_) { - Class318_Sub1_Sub1_Sub2 class318_sub1_sub1_sub2 = (new Class318_Sub1_Sub1_Sub2(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_7_, bool)); - class318_sub1_sub1 = class318_sub1_sub1_sub2; - if (class318_sub1_sub1_sub2.method38(-18443)) class318_sub1_sub1_sub2.method44(836, var_ha); - } else class318_sub1_sub1 = (new Class318_Sub1_Sub1_Sub1(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_7_, i_6_)); - Class75_Sub1.method770(i_0_, i, i_5_, class318_sub1_sub1); - if (class51.anInt920 == 1 && class361 != null) class361.method3496(i_5_, i, 1); - } - } else if (i_4_ == 10 || i_4_ == 11) { - Class318_Sub1_Sub3_Sub1 class318_sub1_sub3_sub1 = null; - Class318_Sub1_Sub3 class318_sub1_sub3; - int i_18_; - if (bool_17_) { - Class318_Sub1_Sub3_Sub1 class318_sub1_sub3_sub1_19_ = (new Class318_Sub1_Sub3_Sub1(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i, i_9_ + (i + -1), i_5_, -1 + (i_8_ + i_5_), i_4_, i_7_, bool)); - class318_sub1_sub3 = class318_sub1_sub3_sub1_19_; - class318_sub1_sub3_sub1 = class318_sub1_sub3_sub1_19_; - i_18_ = class318_sub1_sub3_sub1_19_.method2416(15); - } else { - i_18_ = 15; - class318_sub1_sub3 = (new Class318_Sub1_Sub3_Sub2(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i, i_9_ + (i + -1), i_5_, -1 + (i_5_ + i_8_), i_4_, i_7_, i_6_)); - } - if (Class89.method850(class318_sub1_sub3, false)) { - if (class318_sub1_sub3_sub1 != null && class318_sub1_sub3_sub1.method38(-18443)) class318_sub1_sub3_sub1.method44(836, var_ha); - if (class51.aBoolean918 && Class348_Sub42_Sub3.aBoolean9498) { - if (i_18_ > 30) i_18_ = 30; - for (int i_20_ = 0; (i_20_ <= i_9_); i_20_++) { - for (int i_21_ = 0; i_8_ >= i_21_; i_21_++) - var_s.ka(i_20_ + i, i_5_ + i_21_, i_18_); - } - } - } - if ((class51.anInt920 != 0) && class361 != null) class361.method3505(!(class51.aBoolean876), i_9_, i_5_, true, i, (class51.aBoolean896), i_8_); - } else if (i_4_ >= 12 && i_4_ <= 17 || (i_4_ >= 18 && i_4_ <= 21)) { - Class318_Sub1_Sub3 class318_sub1_sub3; - if (bool_17_) { - Class318_Sub1_Sub3_Sub1 class318_sub1_sub3_sub1 = (new Class318_Sub1_Sub3_Sub1(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i, -1 + (i_9_ + i), i_5_, -1 + i_5_ + i_8_, i_4_, i_7_, bool)); - class318_sub1_sub3 = class318_sub1_sub3_sub1; - if (class318_sub1_sub3_sub1.method38(-18443)) class318_sub1_sub3_sub1.method44(i_3_ + 786, var_ha); - } else class318_sub1_sub3 = (new Class318_Sub1_Sub3_Sub2(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i, i + (i_9_ - 1), i_5_, i_5_ - (-i_8_ - -1), i_4_, i_7_, i_6_)); - Class89.method850(class318_sub1_sub3, false); - if (Class348_Sub42_Sub3.aBoolean9498 && !this.aBoolean3109 && i_4_ >= 12 && i_4_ <= 17 && i_4_ != 13 && i_0_ > 0 && (class51.anInt955 != 0)) this.aByteArrayArrayArray3108[i_0_][i][i_5_] = (byte) (Class273.method2057((this.aByteArrayArrayArray3108[i_0_][i][i_5_]), 4)); - if ((class51.anInt920 != 0) && class361 != null) class361.method3505(!(class51.aBoolean876), i_9_, i_5_, true, i, (class51.aBoolean896), i_8_); - } else if (i_4_ == 0) { - int i_22_ = class51.anInt955; - if (Class348_Sub40_Sub10.aBoolean9184 && (class51.anInt955 == -1)) i_22_ = 1; - Class318_Sub1_Sub4 class318_sub1_sub4; - if (bool_17_) { - Class318_Sub1_Sub4_Sub1 class318_sub1_sub4_sub1 = (new Class318_Sub1_Sub4_Sub1(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_4_, i_7_, bool)); - if (class318_sub1_sub4_sub1.method38(-18443)) class318_sub1_sub4_sub1.method44(836, var_ha); - class318_sub1_sub4 = class318_sub1_sub4_sub1; - } else class318_sub1_sub4 = (new Class318_Sub1_Sub4_Sub2(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_4_, i_7_, i_6_)); - Class348_Sub42_Sub16.method3254(i_0_, i, i_5_, class318_sub1_sub4, null); - if (i_7_ == 0) { - if (Class348_Sub42_Sub3.aBoolean9498 && class51.aBoolean918) { - var_s.ka(i, i_5_, 50); - var_s.ka(i, i_5_ - -1, 50); - } - if (i_22_ == 1 && !this.aBoolean3109) Class239_Sub21.method1810(i, class51.anInt953, class51.anInt909, i_5_, i_3_ + -51, i_0_, 1); - } else if (i_7_ == 1) { - if (Class348_Sub42_Sub3.aBoolean9498 && class51.aBoolean918) { - var_s.ka(i, 1 + i_5_, 50); - var_s.ka(1 + i, 1 + i_5_, 50); - } - if (i_22_ == 1 && !this.aBoolean3109) Class239_Sub21.method1810(i, -class51.anInt953, class51.anInt909, 1 + i_5_, -1, i_0_, 2); - } else if (i_7_ == 2) { - if (Class348_Sub42_Sub3.aBoolean9498 && class51.aBoolean918) { - var_s.ka(i - -1, i_5_, 50); - var_s.ka(1 + i, 1 + i_5_, 50); - } - if (i_22_ == 1 && !this.aBoolean3109) Class239_Sub21.method1810(1 + i, -class51.anInt953, class51.anInt909, i_5_, i_3_ + -51, i_0_, 1); - } else if (i_7_ == 3) { - if (Class348_Sub42_Sub3.aBoolean9498 && class51.aBoolean918) { - var_s.ka(i, i_5_, 50); - var_s.ka(1 + i, i_5_, 50); - } - if (i_22_ == 1 && !this.aBoolean3109) Class239_Sub21.method1810(i, class51.anInt953, class51.anInt909, i_5_, -1, i_0_, 2); - } - if (class51.anInt920 != 0 && class361 != null) class361.method3510(i_5_, i, i_3_ ^ ~0x1b, i_4_, i_7_, !(class51.aBoolean876), (class51.aBoolean896)); - if (class51.anInt883 != 64) Class240.method1852(i_0_, i, i_5_, (class51.anInt883)); - } else if (i_4_ == 1) { - Class318_Sub1_Sub4 class318_sub1_sub4; - if (bool_17_) { - Class318_Sub1_Sub4_Sub1 class318_sub1_sub4_sub1 = (new Class318_Sub1_Sub4_Sub1(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_4_, i_7_, bool)); - if (class318_sub1_sub4_sub1.method38(-18443)) class318_sub1_sub4_sub1.method44(836, var_ha); - class318_sub1_sub4 = class318_sub1_sub4_sub1; - } else class318_sub1_sub4 = (new Class318_Sub1_Sub4_Sub2(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_4_, i_7_, i_6_)); - Class348_Sub42_Sub16.method3254(i_0_, i, i_5_, class318_sub1_sub4, null); - if (class51.aBoolean918 && Class348_Sub42_Sub3.aBoolean9498) { - if (i_7_ == 0) var_s.ka(i, i_5_ + 1, 50); - else if (i_7_ != 1) { - if (i_7_ != 2) { - if (i_7_ == 3) var_s.ka(i, i_5_, 50); - } else var_s.ka(1 + i, i_5_, 50); - } else var_s.ka(1 + i, 1 + i_5_, 50); - } - if ((class51.anInt920 != 0) && class361 != null) class361.method3510(i_5_, i, -63, i_4_, i_7_, !(class51.aBoolean876), (class51.aBoolean896)); - } else if (i_4_ == 2) { - int i_23_ = i_7_ - -1 & 0x3; - Class318_Sub1_Sub4 class318_sub1_sub4; - Class318_Sub1_Sub4 class318_sub1_sub4_24_; - if (bool_17_) { - Class318_Sub1_Sub4_Sub1 class318_sub1_sub4_sub1 = (new Class318_Sub1_Sub4_Sub1(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_4_, 4 + i_7_, bool)); - Class318_Sub1_Sub4_Sub1 class318_sub1_sub4_sub1_25_ = (new Class318_Sub1_Sub4_Sub1(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_4_, i_23_, bool)); - if (class318_sub1_sub4_sub1.method38(-18443)) class318_sub1_sub4_sub1.method44(836, var_ha); - class318_sub1_sub4_24_ = class318_sub1_sub4_sub1_25_; - class318_sub1_sub4 = class318_sub1_sub4_sub1; - if (class318_sub1_sub4_sub1_25_.method38(i_3_ ^ ~0x4838)) class318_sub1_sub4_sub1_25_.method44(836, var_ha); - } else { - class318_sub1_sub4 = (new Class318_Sub1_Sub4_Sub2(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_4_, i_7_ + 4, i_6_)); - class318_sub1_sub4_24_ = (new Class318_Sub1_Sub4_Sub2(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_4_, i_23_, i_6_)); - } - Class348_Sub42_Sub16.method3254(i_0_, i, i_5_, class318_sub1_sub4, class318_sub1_sub4_24_); - if (((class51.anInt955 == 1) || (Class348_Sub40_Sub10.aBoolean9184 && class51.anInt955 == -1)) && !this.aBoolean3109) { - if (i_7_ == 0) { - Class239_Sub21.method1810(i, class51.anInt953, class51.anInt909, i_5_, -1, i_0_, 1); - Class239_Sub21.method1810(i, class51.anInt953, class51.anInt909, 1 + i_5_, -1, i_0_, 2); - } else if (i_7_ == 1) { - Class239_Sub21.method1810(1 + i, class51.anInt953, class51.anInt909, i_5_, -1, i_0_, 1); - Class239_Sub21.method1810(i, class51.anInt953, class51.anInt909, i_5_ + 1, -1, i_0_, 2); - } else if (i_7_ == 2) { - Class239_Sub21.method1810(1 + i, class51.anInt953, class51.anInt909, i_5_, -1, i_0_, 1); - Class239_Sub21.method1810(i, class51.anInt953, class51.anInt909, i_5_, -1, i_0_, 2); - } else if (i_7_ == 3) { - Class239_Sub21.method1810(i, (class51.anInt953), (class51.anInt909), i_5_, -1, i_0_, 1); - Class239_Sub21.method1810(i, (class51.anInt953), (class51.anInt909), i_5_, -1, i_0_, 2); - } - } - if ((class51.anInt920 != 0) && class361 != null) class361.method3510(i_5_, i, -102, i_4_, i_7_, !(class51.aBoolean876), (class51.aBoolean896)); - if (class51.anInt883 != 64) Class240.method1852(i_0_, i, i_5_, (class51.anInt883)); - } else if (i_4_ == 3) { - Class318_Sub1_Sub4 class318_sub1_sub4; - if (bool_17_) { - Class318_Sub1_Sub4_Sub1 class318_sub1_sub4_sub1 = (new Class318_Sub1_Sub4_Sub1(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_4_, i_7_, bool)); - if (class318_sub1_sub4_sub1.method38(i_3_ + -18493)) class318_sub1_sub4_sub1.method44(836, var_ha); - class318_sub1_sub4 = class318_sub1_sub4_sub1; - } else class318_sub1_sub4 = (new Class318_Sub1_Sub4_Sub2(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_4_, i_7_, i_6_)); - Class348_Sub42_Sub16.method3254(i_0_, i, i_5_, class318_sub1_sub4, null); - if (class51.aBoolean918 && Class348_Sub42_Sub3.aBoolean9498) { - if (i_7_ == 0) var_s.ka(i, 1 + i_5_, 50); - else if (i_7_ == 1) var_s.ka(1 + i, 1 + i_5_, 50); - else if (i_7_ != 2) { - if (i_7_ == 3) var_s.ka(i, i_5_, 50); - } else var_s.ka(i + 1, i_5_, 50); - } - if ((class51.anInt920 != 0) && class361 != null) class361.method3510(i_5_, i, i_3_ ^ ~0x46, i_4_, i_7_, !(class51.aBoolean876), (class51.aBoolean896)); - } else if (i_4_ == 9) { - Class318_Sub1_Sub3 class318_sub1_sub3; - if (bool_17_) { - Class318_Sub1_Sub3_Sub1 class318_sub1_sub3_sub1 = (new Class318_Sub1_Sub3_Sub1(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i, i, i_5_, i_5_, i_4_, i_7_, bool)); - if (class318_sub1_sub3_sub1.method38(i_3_ + -18493)) class318_sub1_sub3_sub1.method44(836, var_ha); - class318_sub1_sub3 = class318_sub1_sub3_sub1; - } else class318_sub1_sub3 = (new Class318_Sub1_Sub3_Sub2(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i, -1 + i + i_9_, i_5_, i_5_ + (i_8_ - 1), i_4_, i_7_, i_6_)); - Class89.method850(class318_sub1_sub3, false); - if ((class51.anInt955 == 1) && !this.aBoolean3109) { - int i_26_; - if ((i_7_ & 0x1) == 0) i_26_ = 8; - else i_26_ = 16; - Class239_Sub21.method1810(i, 0, (class51.anInt909), i_5_, -1, i_0_, i_26_); - } - if (class51.anInt920 != 0 && class361 != null) class361.method3505(!(class51.aBoolean876), i_9_, i_5_, true, i, (class51.aBoolean896), i_8_); - if (class51.anInt883 != 64) Class240.method1852(i_0_, i, i_5_, (class51.anInt883)); - } else if (i_4_ == 4) { - Class318_Sub1_Sub5 class318_sub1_sub5; - if (bool_17_) { - Class318_Sub1_Sub5_Sub1 class318_sub1_sub5_sub1 = (new Class318_Sub1_Sub5_Sub1(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, 0, 0, i_4_, i_7_)); - if (class318_sub1_sub5_sub1.method38(-18443)) class318_sub1_sub5_sub1.method44(i_3_ + 786, var_ha); - class318_sub1_sub5 = class318_sub1_sub5_sub1; - } else class318_sub1_sub5 = (new Class318_Sub1_Sub5_Sub2(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, 0, 0, i_4_, i_7_, i_6_)); - Class44.method388(i_0_, i, i_5_, class318_sub1_sub5, null); - } else if (i_4_ == 5) { - int i_27_ = 65; - Interface10 interface10 = ((Interface10) r_Sub2.method3297(i_0_, i, i_5_)); - if (interface10 != null) i_27_ = 1 + (Class348_Sub40_Sub12.aClass263_9195.method2005(0, interface10.method42(-93)).anInt883); - Class318_Sub1_Sub5 class318_sub1_sub5; - if (bool_17_) { - Class318_Sub1_Sub5_Sub1 class318_sub1_sub5_sub1 = (new Class318_Sub1_Sub5_Sub1(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_27_ * Class148.anIntArray2039[i_7_], (Class348_Sub40_Sub16.anIntArray9230[i_7_]) * i_27_, i_4_, i_7_)); - if (class318_sub1_sub5_sub1.method38(-18443)) class318_sub1_sub5_sub1.method44(836, var_ha); - class318_sub1_sub5 = class318_sub1_sub5_sub1; - } else class318_sub1_sub5 = (new Class318_Sub1_Sub5_Sub2(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, Class148.anIntArray2039[i_7_] * i_27_, i_27_ * (Class348_Sub40_Sub16.anIntArray9230[i_7_]), i_4_, i_7_, i_6_)); - Class44.method388(i_0_, i, i_5_, class318_sub1_sub5, null); - } else if (i_4_ == 6) { - int i_28_ = 33; - Interface10 interface10 = ((Interface10) r_Sub2.method3297(i_0_, i, i_5_)); - if (interface10 != null) i_28_ = 1 + (Class348_Sub40_Sub12.aClass263_9195.method2005(0, interface10.method42(-117)).anInt883) / 2; - Class318_Sub1_Sub5 class318_sub1_sub5; - if (bool_17_) { - Class318_Sub1_Sub5_Sub1 class318_sub1_sub5_sub1 = (new Class318_Sub1_Sub5_Sub1(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_28_ * Class148.anIntArray2039[i_7_], (Class348_Sub40_Sub16.anIntArray9230[i_7_]) * i_28_, i_4_, 4 + i_7_)); - if (class318_sub1_sub5_sub1.method38(-18443)) class318_sub1_sub5_sub1.method44(836, var_ha); - class318_sub1_sub5 = class318_sub1_sub5_sub1; - } else class318_sub1_sub5 = (new Class318_Sub1_Sub5_Sub2(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, (OutputStream_Sub1.anIntArray99[i_7_] * i_28_), i_28_ * Class273.anIntArray5165[i_7_], i_4_, 4 + i_7_, i_6_)); - Class44.method388(i_0_, i, i_5_, class318_sub1_sub5, null); - } else if (i_4_ == 7) { - int i_29_ = 0x3 & 2 + i_7_; - Class318_Sub1_Sub5 class318_sub1_sub5; - if (bool_17_) { - Class318_Sub1_Sub5_Sub1 class318_sub1_sub5_sub1 = (new Class318_Sub1_Sub5_Sub1(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, 0, 0, i_4_, 4 + i_29_)); - if (class318_sub1_sub5_sub1.method38(i_3_ ^ ~0x4838)) class318_sub1_sub5_sub1.method44(836, var_ha); - class318_sub1_sub5 = class318_sub1_sub5_sub1; - } else class318_sub1_sub5 = (new Class318_Sub1_Sub5_Sub2(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, 0, 0, i_4_, 4 + i_29_, i_6_)); - Class44.method388(i_0_, i, i_5_, class318_sub1_sub5, null); - } else if (i_4_ == 8) { - int i_30_ = 2 + i_7_ & 0x3; - int i_31_ = 33; - Interface10 interface10 = ((Interface10) r_Sub2.method3297(i_0_, i, i_5_)); - if (interface10 != null) i_31_ = (Class348_Sub40_Sub12.aClass263_9195.method2005(i_3_ + -50, interface10.method42(-122)).anInt883) / 2 + 1; - Class318_Sub1_Sub5 class318_sub1_sub5; - Class318_Sub1_Sub5 class318_sub1_sub5_32_; - if (bool_17_) { - Class318_Sub1_Sub5_Sub1 class318_sub1_sub5_sub1 = (new Class318_Sub1_Sub5_Sub1(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_31_ * (OutputStream_Sub1.anIntArray99[i_7_]), Class273.anIntArray5165[i_7_] * i_31_, i_4_, 4 + i_7_)); - Class318_Sub1_Sub5_Sub1 class318_sub1_sub5_sub1_34_ = (new Class318_Sub1_Sub5_Sub1(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, 0, 0, i_4_, 4 + i_30_)); - if (class318_sub1_sub5_sub1.method38(-18443)) class318_sub1_sub5_sub1.method44(836, var_ha); - if (class318_sub1_sub5_sub1_34_.method38(i_3_ ^ ~0x4838)) class318_sub1_sub5_sub1_34_.method44(836, var_ha); - class318_sub1_sub5 = class318_sub1_sub5_sub1_34_; - class318_sub1_sub5_32_ = class318_sub1_sub5_sub1; - } else { - Class318_Sub1_Sub5_Sub2 class318_sub1_sub5_sub2 = (new Class318_Sub1_Sub5_Sub2(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, i_31_ * (OutputStream_Sub1.anIntArray99[i_7_]), i_31_ * Class273.anIntArray5165[i_7_], i_4_, i_7_ - -4, i_6_)); - Class318_Sub1_Sub5_Sub2 class318_sub1_sub5_sub2_33_ = (new Class318_Sub1_Sub5_Sub2(var_ha, class51, i_0_, i_2_, i_15_, i_14_, i_16_, this.aBoolean3109, 0, 0, i_4_, i_30_ + 4, i_6_)); - class318_sub1_sub5_32_ = class318_sub1_sub5_sub2; - class318_sub1_sub5 = class318_sub1_sub5_sub2_33_; - } - Class44.method388(i_0_, i, i_5_, class318_sub1_sub5_32_, class318_sub1_sub5); - } - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("vaa.W(" + i + ',' + i_0_ + ',' + i_1_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + (class361 != null ? "{...}" : "null") + ')')); - } - } - - private final Interface10 method1690(int i, int i_35_, int i_36_, int i_37_, int i_38_) { - anInt5822++; - Interface10 interface10 = null; - if (i == 0) interface10 = (Interface10) r_Sub2.method3297(i_37_, i_36_, i_35_); - if (i == 1) interface10 = (Interface10) Class348_Sub40_Sub32.method3135(i_37_, i_36_, i_35_); - if (i == 2) interface10 = ((Interface10) Class177.method1353(i_37_, i_36_, i_35_, (aClass5827 != null ? aClass5827 : (aClass5827 = Interface10.class)))); - if (i_38_ != 30987) method1698(-120); - if (i == 3) interface10 = (Interface10) Class348_Sub16_Sub3.method2878(i_37_, i_36_, i_35_); - return interface10; - } - - final void method1691(int i, ha var_ha, Class348_Sub49 class348_sub49, int[] is, int i_39_, byte i_40_) { - do { - try { - anInt5818++; - if (!this.aBoolean3109) { - boolean bool = false; - Class190 class190 = null; - int i_41_ = -112 / ((-71 - i_40_) / 38); - if (is != null) is[0] = -1; - while (class348_sub49.anInt7197 < (class348_sub49.aByteArray7154).length) { - int i_42_ = class348_sub49.readUnsignedByte(255); - if (i_42_ == 0) class190 = new Class190(class348_sub49); - else if (i_42_ == 1) { - int i_58_ = class348_sub49.readUnsignedByte(255); - if (i_58_ > 0) { - for (int i_59_ = 0; i_58_ > i_59_; i_59_++) { - Class211 class211 = new Class211(var_ha, class348_sub49, 2); - if (class211.anInt2734 == 31) { - Class253 class253 = (Class348_Sub1.aClass185_6559.method1391((byte) -1, class348_sub49.readUnsignedShort(842397944))); - class211.method1539(class253.anInt3251, (byte) 115, class253.anInt3249, class253.anInt3245, class253.anInt3244); - } - if (var_ha.method3704() > 0) { - Class348_Sub1 class348_sub1 = (class211.aClass348_Sub1_2745); - int i_60_ = ((i_39_ << 9) + class348_sub1.method2724(-1)); - int i_61_ = (class348_sub1.method2717((byte) 93) + (i << 9)); - int i_62_ = i_60_ >> 9; - int i_63_ = i_61_ >> 9; - if (i_62_ >= 0 && i_63_ >= 0 && (this.anInt3117 > i_62_) && (this.anInt3114 > i_63_)) { - class348_sub1.method2725(i_60_, (byte) 70, i_61_, ((this.anIntArrayArrayArray3122[(class211.anInt2731)][i_62_][i_63_]) + -class348_sub1.method2722(120))); - Class348_Sub42_Sub19.method3276(class211); - } - } - } - } - } else if (i_42_ == 2) { - if (class190 == null) class190 = new Class190(); - class190.method1423(8, class348_sub49); - } else if (i_42_ != 128) { - if (i_42_ == 129) { - if ((this.aByteArrayArrayArray3104) == null) this.aByteArrayArrayArray3104 = new byte[4][][]; - for (int i_43_ = 0; i_43_ < 4; i_43_++) { - byte i_44_ = class348_sub49.readByte(-102); - if (i_44_ != 0 || (this.aByteArrayArrayArray3104[i_43_]) == null) { - if (i_44_ == 1) { - if ((this.aByteArrayArrayArray3104[i_43_]) == null) this.aByteArrayArrayArray3104[i_43_] = (new byte - [1 + (this.anInt3117)] - [1 + (this.anInt3114)]); - for (int i_49_ = 0; (i_49_ < 64); i_49_ += 4) { - for (int i_50_ = 0; (i_50_ < 64); i_50_ += 4) { - byte i_51_ = (class348_sub49.readByte(-103)); - for (int i_52_ = (i_49_ + i_39_); (i_52_ < (4 + i_49_ + i_39_)); i_52_++) { - for (int i_53_ = i + i_50_; ((4 + i + i_50_) > i_53_); i_53_++) { - if (i_52_ >= 0 && (this.anInt3117 > i_52_) && (i_53_ >= 0) && (i_53_ < (this.anInt3114))) this.aByteArrayArrayArray3104[i_43_][i_52_][i_53_] = i_51_; - } - } - } - } - } else if (i_44_ == 2) { - if ((this.aByteArrayArrayArray3104[i_43_]) == null) this.aByteArrayArrayArray3104[i_43_] = (new byte - [((this.anInt3117) - -1)] - [((this.anInt3114) + 1)]); - if (i_43_ > 0) { - int i_45_ = i_39_; - int i_46_ = 64 + i_39_; - int i_47_ = i; - if (i_46_ >= 0) { - if ((this.anInt3117) <= i_46_) i_46_ = (this.anInt3117); - } else i_46_ = 0; - if (i_47_ < 0) i_47_ = 0; - else if ((this.anInt3114) <= i_47_) i_47_ = (this.anInt3114); - int i_48_ = 64 + i; - if (i_45_ >= 0) { - if ((this.anInt3117) <= i_45_) i_45_ = (this.anInt3117); - } else i_45_ = 0; - if (i_48_ >= 0) { - if (i_48_ >= (this.anInt3114)) i_48_ = (this.anInt3114); - } else i_48_ = 0; - for (/**/; (i_46_ > i_45_); i_45_++) { - for (/**/; (i_48_ > i_47_); i_47_++) - this.aByteArrayArrayArray3104[i_43_][i_45_][i_47_] = (this.aByteArrayArrayArray3104[(-1 + i_43_)][i_45_][i_47_]); - } - } - } - } else { - int i_54_ = i_39_; - int i_55_ = i_39_ - -64; - int i_56_ = i; - if (i_56_ < 0) i_56_ = 0; - else if ((this.anInt3114) <= i_56_) i_56_ = (this.anInt3114); - if (i_54_ >= 0) { - if ((this.anInt3117) <= i_54_) i_54_ = (this.anInt3117); - } else i_54_ = 0; - int i_57_ = i - -64; - if (i_55_ < 0) i_55_ = 0; - else if (i_55_ >= (this.anInt3117)) i_55_ = (this.anInt3117); - if (i_57_ < 0) i_57_ = 0; - else if ((this.anInt3114) <= i_57_) i_57_ = (this.anInt3114); - for (/**/; i_54_ < i_55_; i_54_++) { - for (/**/; i_57_ > i_56_; i_56_++) - this.aByteArrayArrayArray3104[i_43_][i_54_][i_56_] = (byte) 0; - } - } - } - bool = true; - } else throw new IllegalStateException(""); - } else if (is != null) { - is[0] = class348_sub49.readUnsignedShort(842397944); - is[1] = class348_sub49.readShort(13638); - is[2] = class348_sub49.readShort(13638); - is[3] = class348_sub49.readShort(13638); - is[4] = class348_sub49.readUnsignedShort(842397944); - } else class348_sub49.anInt7197 += 10; - } - if (class190 != null) { - for (int i_64_ = 0; i_64_ < 8; i_64_++) { - for (int i_65_ = 0; i_65_ < 8; i_65_++) { - int i_66_ = i_64_ + (i_39_ >> 3); - int i_67_ = (i >> 3) - -i_65_; - if (i_66_ >= 0 && ((this.anInt3117 >> 3) > i_66_) && i_67_ >= 0 && i_67_ < (this.anInt3114 >> 3)) Class5_Sub2.method192(class190, 10000, i_66_, i_67_); - } - } - } - if (bool || this.aByteArrayArrayArray3104 == null) break; - for (int i_68_ = 0; i_68_ < 4; i_68_++) { - if (this.aByteArrayArrayArray3104[i_68_] != null) { - for (int i_69_ = 0; i_69_ < 16; i_69_++) { - for (int i_70_ = 0; i_70_ < 16; i_70_++) { - int i_71_ = (i_39_ >> 2) + i_69_; - int i_72_ = i_70_ + (i >> 2); - if (i_71_ >= 0 && i_71_ < 26 && i_72_ >= 0 && i_72_ < 26) this.aByteArrayArrayArray3104[i_68_][i_71_][i_72_] = (byte) 0; - } - } - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("vaa.AA(" + i + ',' + (var_ha != null ? "{...}" : "null") + ',' + (class348_sub49 != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ',' + i_39_ + ',' + i_40_ + ')')); - } - break; - } while (false); - } - - final void method1692(int i, int i_73_, byte[] is, int i_74_, int i_75_, ha var_ha, int i_76_, int i_77_, int i_78_, Class361[] class361s, int i_79_) { - try { - anInt5826++; - if (i_78_ != 7) method1693('\uffb8', -54); - Class348_Sub49 class348_sub49 = new Class348_Sub49(is); - int i_80_ = -1; - for (; ; ) { - int i_81_ = class348_sub49.method3334(-85); - if (i_81_ == 0) break; - i_80_ += i_81_; - int i_82_ = 0; - for (; ; ) { - int i_83_ = class348_sub49.readSmart(-117); - if (i_83_ == 0) break; - i_82_ += -1 + i_83_; - int i_84_ = i_82_ & 0x3f; - int i_85_ = i_82_ >> 6 & 0x3f; - int i_86_ = i_82_ >> 12; - int i_87_ = class348_sub49.readUnsignedByte(255); - int i_88_ = i_87_ >> 2; - int i_89_ = i_87_ & 0x3; - if (i_74_ == i_86_ && i <= i_85_ && i - -8 > i_85_ && i_75_ <= i_84_ && i_75_ - -8 > i_84_) { - Class51 class51 = Class348_Sub40_Sub12.aClass263_9195.method2005(0, i_80_); - int i_90_ = Class249.method1908(0x7 & i_84_, i_85_ & 0x7, i_73_, true, class51.anInt926, class51.anInt961, i_89_) + i_77_; - int i_91_ = i_76_ + Class111.method1045(0x7 & i_85_, (class51.anInt926), i_89_, (class51.anInt961), i_84_ & 0x7, i_73_, (byte) 16); - if (i_90_ > 0 && i_91_ > 0 && i_90_ < -1 + this.anInt3117 && -1 + this.anInt3114 > i_91_) { - Class361 class361 = null; - if (!this.aBoolean3109) { - int i_92_ = i_79_; - if ((0x2 & (Class348_Sub33.aByteArrayArrayArray6962[1][i_90_][i_91_])) == 2) i_92_--; - if (i_92_ >= 0) class361 = class361s[i_92_]; - } - method1689(i_90_, i_79_, i_80_, var_ha, i_79_, 50, i_88_, i_91_, -1, i_89_ - -i_73_ & 0x3, class361); - } - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("vaa.S(" + i + ',' + i_73_ + ',' + (is != null ? "{...}" : "null") + ',' + i_74_ + ',' + i_75_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_76_ + ',' + i_77_ + ',' + i_78_ + ',' + (class361s != null ? "{...}" : "null") + ',' + i_79_ + ')')); - } - } - - static final boolean method1693(char c, int i) { - anInt5815++; - if (i > -100) method1693('\uffa3', 97); - if (c >= 32 && c <= 126) return true; - if (c >= 160 && c <= 255) return true; - return c == 8364 || c == 338 || c == 8212 || c == 339 || c == 376; - } - - final void method1694(Class361 class361, int i, int i_93_, ha var_ha, int i_94_, int i_95_, byte i_96_) { - while_77_: - do { - do { - try { - anInt5817++; - Interface10 interface10 = method1690(i, i_95_, i_94_, i_93_, 30987); - if (i_96_ <= 66) anInt5819 = -107; - if (interface10 == null) break while_77_; - Class51 class51 = Class348_Sub40_Sub12.aClass263_9195.method2005(0, interface10.method42(-89)); - int i_97_ = interface10.method39(-128); - int i_98_ = interface10.method41(-32228); - if (class51.method474((byte) -50)) Class314.method2336(class51, i_94_, i_95_, i_93_, -128); - if (interface10.method38(-18443)) interface10.method43(var_ha, -14218); - if (i == 0) { - Class348_Sub40_Sub4.method3058(i_93_, i_94_, i_95_); - if (class51.anInt920 != 0) class361.method3506((class51.aBoolean896), i_98_, i_94_, i_97_, i_95_, !(class51.aBoolean876), 29216); - if (class51.anInt955 == 1) { - if (i_98_ == 0) { - Class348_Sub23_Sub4.method2987(i_93_, 1, i_95_, -3951, i_94_); - break; - } else if (i_98_ != 1) { - if (i_98_ != 2) { - if (i_98_ == 3) Class348_Sub23_Sub4.method2987(i_93_, 2, i_95_, -3951, i_94_); - } else Class348_Sub23_Sub4.method2987(i_93_, 1, i_95_, -3951, 1 + i_94_); - } else Class348_Sub23_Sub4.method2987(i_93_, 2, 1 + i_95_, -3951, i_94_); - break; - } - } else { - if (i != 1) { - if (i == 2) { - Class348_Sub42_Sub16.method3253(i_93_, i_94_, i_95_, (aClass5827 != null ? aClass5827 : (aClass5827 = Interface10.class))); - if (class51.anInt920 != 0 && (class51.anInt961 + i_94_ < this.anInt3117) && (i_95_ - -class51.anInt961 < this.anInt3114) && (class51.anInt926 + i_94_ < this.anInt3117) && (this.anInt3114 > (i_95_ + class51.anInt926))) - class361.method3509(i_98_, !class51.aBoolean876, class51.aBoolean896, i_94_, i_95_, class51.anInt926, 84, class51.anInt961); - if (i_97_ != 9) break; - if ((0x1 & i_98_) != 0) Class348_Sub23_Sub4.method2987(i_93_, 16, i_95_, -3951, i_94_); - else Class348_Sub23_Sub4.method2987(i_93_, 8, i_95_, -3951, i_94_); - } else if (i == 3) { - Class348_Sub16_Sub3.method2879(i_93_, i_94_, i_95_); - if (class51.anInt920 == 1) class361.method3499((byte) -52, i_94_, i_95_); - } - break; - } - Class286_Sub7.method2168(i_93_, i_94_, i_95_); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("vaa.U(" + (class361 != null ? "{...}" : "null") + ',' + i + ',' + i_93_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_94_ + ',' + i_95_ + ',' + i_96_ + ')')); - } - } while (false); - break; - } while (false); - } - - final void method1695(byte[] is, Class361[] class361s, int i, ha var_ha, int i_99_, int i_100_) { - try { - anInt5820++; - if (i_100_ == 1359) { - Class348_Sub49 class348_sub49 = new Class348_Sub49(is); - int i_101_ = -1; - for (; ; ) { - int i_102_ = class348_sub49.method3334(-57); - if (i_102_ == 0) break; - i_101_ += i_102_; - int i_103_ = 0; - for (; ; ) { - int i_104_ = class348_sub49.readSmart(-122); - if (i_104_ == 0) break; - i_103_ += i_104_ + -1; - int i_105_ = 0x3f & i_103_; - int i_106_ = i_103_ >> 6 & 0x3f; - int i_107_ = i_103_ >> 12; - int i_108_ = class348_sub49.readUnsignedByte(255); - int i_109_ = i_108_ >> 2; - int i_110_ = 0x3 & i_108_; - int i_111_ = i_99_ + i_106_; - int i_112_ = i + i_105_; - if (i_111_ > 0 && i_112_ > 0 && (i_111_ < this.anInt3117 - 1) && i_112_ < this.anInt3114 - 1) { - Class361 class361 = null; - if (!this.aBoolean3109) { - int i_113_ = i_107_; - if ((0x2 & (Class348_Sub33.aByteArrayArrayArray6962[1][i_111_][i_112_])) == 2) i_113_--; - if (i_113_ >= 0) class361 = class361s[i_113_]; - } - method1689(i_111_, i_107_, i_101_, var_ha, i_107_, i_100_ ^ 0x57d, i_109_, i_112_, -1, i_110_, class361); - } - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("vaa.R(" + (is != null ? "{...}" : "null") + ',' + (class361s != null ? "{...}" : "null") + ',' + i + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_99_ + ',' + i_100_ + ')')); - } - } - - Class237_Sub1(int i, int i_114_, int i_115_, boolean bool) { - super(i, i_114_, i_115_, bool, Class229.aClass268_2979, Class362.aClass183_4460); - } - - final void method1696(Class348_Sub49 class348_sub49, boolean bool, int i, int i_116_, int i_117_, int i_118_, int i_119_, int i_120_, ha var_ha, int[] is, int i_121_) { - do { - try { - anInt5825++; - if (!this.aBoolean3109) { - boolean bool_122_ = bool; - Class190 class190 = null; - if (is != null) is[0] = -1; - int i_123_ = 8 * (0x7 & i_116_); - int i_124_ = (i & 0x7) * 8; - while ((class348_sub49.aByteArray7154).length > class348_sub49.anInt7197) { - int i_125_ = class348_sub49.readUnsignedByte(255); - if (i_125_ != 0) { - if (i_125_ == 1) { - int i_126_ = class348_sub49.readUnsignedByte(255); - if (i_126_ > 0) { - for (int i_127_ = 0; (i_126_ > i_127_); i_127_++) { - Class211 class211 = new Class211(var_ha, class348_sub49, 2); - if (class211.anInt2734 == 31) { - Class253 class253 = (Class348_Sub1.aClass185_6559.method1391((byte) 111, (class348_sub49.readUnsignedShort(842397944)))); - class211.method1539((class253.anInt3251), (byte) 124, (class253.anInt3249), (class253.anInt3245), (class253.anInt3244)); - } - if (var_ha.method3704() > 0) { - Class348_Sub1 class348_sub1 = (class211.aClass348_Sub1_2745); - int i_128_ = (class348_sub1.method2724(-1) >> 9); - int i_129_ = (class348_sub1.method2717((byte) 79) >> 9); - if ((i_121_ == (class211.anInt2731)) && (i_123_ <= i_128_) && (i_123_ + 8 > i_128_) && i_124_ <= i_129_ && (i_124_ - -8 > i_129_)) { - int i_130_ = ((i_117_ << 9) + (Class149.method1201((0xfff & (class348_sub1.method2717((byte) 95))), (0xfff & (class348_sub1.method2724(-1))), -2, i_119_))); - int i_131_ = ((i_120_ << 9) + (Class119_Sub2.method1079(4095, i_119_, (0xfff & (class348_sub1.method2717((byte) 119))), (0xfff & (class348_sub1.method2724(-1)))))); - i_128_ = i_130_ >> 9; - i_129_ = i_131_ >> 9; - if (i_128_ >= 0 && (i_129_ >= 0) && (i_128_ < (this.anInt3117)) && ((this.anInt3114) > i_129_)) { - class348_sub1.method2725(i_130_, (byte) 70, i_131_, ((this.anIntArrayArrayArray3122[i_121_][i_128_][i_129_]) - (class348_sub1.method2722(124)))); - Class348_Sub42_Sub19.method3276(class211); - } - } - } - } - } - } else if (i_125_ == 2) { - if (class190 == null) class190 = new Class190(); - class190.method1423(8, class348_sub49); - } else if (i_125_ == 128) { - if (is != null) { - is[0] = class348_sub49.readUnsignedShort(842397944); - is[1] = class348_sub49.readShort(13638); - is[2] = class348_sub49.readShort(13638); - is[3] = class348_sub49.readShort(13638); - is[4] = class348_sub49.readUnsignedShort(842397944); - } else class348_sub49.anInt7197 += 10; - } else if (i_125_ == 129) { - if (this.aByteArrayArrayArray3104 == null) this.aByteArrayArrayArray3104 = new byte[4][][]; - for (int i_132_ = 0; i_132_ < 4; i_132_++) { - byte i_133_ = class348_sub49.readByte(-112); - if (i_133_ == 0 && ((this.aByteArrayArrayArray3104[i_118_]) != null)) { - if (i_121_ >= i_132_) { - int i_134_ = i_117_; - int i_135_ = i_117_ - -7; - int i_136_ = i_120_; - if (i_135_ >= 0) { - if (this.anInt3117 <= i_135_) i_135_ = (this.anInt3117); - } else i_135_ = 0; - if (i_134_ < 0) i_134_ = 0; - else if (i_134_ >= (this.anInt3117)) i_134_ = (this.anInt3117); - int i_137_ = i_120_ - -7; - if (i_136_ < 0) i_136_ = 0; - else if ((this.anInt3114) <= i_136_) i_136_ = (this.anInt3114); - if (i_137_ >= 0) { - if (i_137_ >= (this.anInt3114)) i_137_ = (this.anInt3114); - } else i_137_ = 0; - for (/**/; (i_134_ < i_135_); i_134_++) { - for (/**/; i_136_ < i_137_; i_136_++) - this.aByteArrayArrayArray3104[i_118_][i_134_][i_136_] = (byte) 0; - } - } - } else if (i_133_ == 1) { - if ((this.aByteArrayArrayArray3104[i_118_]) == null) this.aByteArrayArrayArray3104[i_118_] = (new byte - [(this.anInt3117) + 1] - [1 + (this.anInt3114)]); - for (int i_138_ = 0; i_138_ < 64; i_138_ += 4) { - for (int i_139_ = 0; i_139_ < 64; i_139_ += 4) { - byte i_140_ = class348_sub49.readByte(-113); - if (i_132_ <= i_121_) { - for (int i_141_ = i_138_; (i_141_ < i_138_ - -4); i_141_++) { - for (int i_142_ = i_139_; (i_142_ < i_139_ - -4); i_142_++) { - if ((i_141_ >= i_123_) && (i_141_ < 8 + i_123_) && (i_124_ <= i_142_) && (8 + i_124_ > i_124_)) { - int i_143_ = (i_117_ - -(Class295.method2220((0x7 & i_142_), i_119_, (i_141_ & 0x7), (byte) 71))); - int i_144_ = (i_120_ + (Class87.method837((i_141_ & 0x7), true, (0x7 & i_142_), i_119_))); - if (i_143_ >= 0 && (this.anInt3117 > i_143_) && (i_144_ >= 0) && ((this.anInt3114) > i_144_)) this.aByteArrayArrayArray3104[i_118_][i_143_][i_144_] = i_140_; - } - } - } - } - } - } - } - } - } else throw new IllegalStateException(""); - } else class190 = new Class190(class348_sub49); - } - if (class190 != null) Class5_Sub2.method192(class190, 10000, i_117_ >> 3, i_120_ >> 3); - if (bool_122_ || this.aByteArrayArrayArray3104 == null || (this.aByteArrayArrayArray3104[i_118_] == null)) break; - int i_145_ = 7 + i_117_; - int i_146_ = 7 + i_120_; - for (int i_147_ = i_117_; i_145_ > i_147_; i_147_++) { - for (int i_148_ = i_120_; i_148_ < i_146_; i_148_++) - this.aByteArrayArrayArray3104[i_118_][i_147_][i_148_] = (byte) 0; - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("vaa.O(" + (class348_sub49 != null ? "{...}" : "null") + ',' + bool + ',' + i + ',' + i_116_ + ',' + i_117_ + ',' + i_118_ + ',' + i_119_ + ',' + i_120_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ',' + i_121_ + ')')); - } - break; - } while (false); - } - - final void method1697(boolean bool, ha var_ha, int i) { - try { - Class342.method2686(); - anInt5816++; - if (!bool) { - if (this.anInt3130 > 1) { - for (int i_149_ = 0; this.anInt3117 > i_149_; i_149_++) { - for (int i_150_ = 0; this.anInt3114 > i_150_; i_150_++) { - if ((0x2 & (Class348_Sub33.aByteArrayArrayArray6962[1][i_149_][i_150_])) == 2) Class16.method258(i_149_, i_150_); - } - } - } - for (int i_151_ = 0; (this.anInt3130 > i_151_); i_151_++) { - for (int i_152_ = 0; this.anInt3114 >= i_152_; i_152_++) { - for (int i_153_ = 0; (this.anInt3117 >= i_153_); i_153_++) { - if ((0x4 & (this.aByteArrayArrayArray3108[i_151_][i_153_][i_152_])) != 0) { - int i_154_ = i_153_; - int i_155_ = i_153_; - int i_156_ = i_152_; - int i_157_ = i_152_; - for (/**/; (i_156_ > 0 && ((this.aByteArrayArrayArray3108[i_151_][i_153_][-1 + i_156_]) & 0x4) != 0); i_156_--) { - if (i_157_ - i_156_ >= 10) break; - } - for (/**/; (this.anInt3114 > i_157_ && (0x4 & (this.aByteArrayArrayArray3108[i_151_][i_153_][i_157_ + 1])) != 0); i_157_++) { - if (-i_156_ + i_157_ >= 10) break; - } - while_78_: - for (/**/; i_154_ > 0; i_154_--) { - if (i_155_ + -i_154_ >= 10) break; - for (int i_158_ = i_156_; (i_158_ <= i_157_); i_158_++) { - if (((this.aByteArrayArrayArray3108[i_151_][-1 + i_154_][i_158_]) & 0x4) == 0) break while_78_; - } - } - while_79_: - for (/**/; (i_155_ < this.anInt3117 && -i_154_ + i_155_ < 10); i_155_++) { - for (int i_159_ = i_156_; (i_157_ >= i_159_); i_159_++) { - if (((this.aByteArrayArrayArray3108[i_151_][i_155_ + 1][i_159_]) & 0x4) == 0) break while_79_; - } - } - if (((1 + (-i_156_ + i_157_)) * (i_155_ + (-i_154_ + 1))) >= 4) { - int i_160_ = (this.anIntArrayArrayArray3122[i_151_][i_154_][i_156_]); - Class258_Sub3.method1966(512 + (i_155_ << 9), i_160_, i_156_ << 9, i_160_, (byte) 0, 4, (i_157_ << 9) + 512, i_151_, i_154_ << 9); - for (int i_161_ = i_154_; (i_161_ <= i_155_); i_161_++) { - for (int i_162_ = i_156_; (i_157_ >= i_162_); i_162_++) - this.aByteArrayArrayArray3108[i_151_][i_161_][i_162_] = (byte) (Class139.method1166((this.aByteArrayArrayArray3108[i_151_][i_161_][i_162_]), -5)); - } - } - } - } - } - } - Class328_Sub3.method2616(12); - } - if (i < -6) this.aByteArrayArrayArray3108 = null; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("vaa.T(" + bool + ',' + (var_ha != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - public static void method1698(int i) { - aClass341_5821 = null; - if (i != 1) method1698(-10); - } - -} diff --git a/client/src/Class238.java b/client/src/Class238.java deleted file mode 100644 index cadac82bd..000000000 --- a/client/src/Class238.java +++ /dev/null @@ -1,38 +0,0 @@ -/* Class238 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.IOException; - -abstract class Class238 { - static int anInt3132; - static Class114 aClass114_3133; - - abstract void method1700(byte i); - - abstract int method1701(int i, int i_0_, byte i_1_, byte[] is) throws IOException; - - abstract void method1702(int i); - - static final void method1703(int i, int i_2_, int i_3_, int i_4_, int i_5_) { - anInt3132++; - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i_2_, (byte) 105, i_4_);//4 - class348_sub42_sub15.method3246(-25490); - class348_sub42_sub15.anInt9651 = i_3_; - class348_sub42_sub15.anInt9652 = i; - class348_sub42_sub15.anInt9650 = i_5_; - } - - public static void method1704(byte i) { - if (i >= -90) aClass114_3133 = null; - aClass114_3133 = null; - } - - public Class238() { - /* empty */ - } - - abstract boolean method1705(int i, int i_6_) throws IOException; - - abstract void method1706(int i, int i_7_, int i_8_, byte[] is) throws IOException; -} diff --git a/client/src/Class238_Sub1.java b/client/src/Class238_Sub1.java deleted file mode 100644 index 114d77e68..000000000 --- a/client/src/Class238_Sub1.java +++ /dev/null @@ -1,193 +0,0 @@ -/* Class238_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.IOException; -import java.net.Socket; - -final class Class238_Sub1 extends Class238 { - static int anInt5828; - static int anInt5829; - static int anInt5830; - static int anInt5831; - static int anInt5832 = -1; - static int anInt5833; - private Class376 aClass376_5834; - static int anInt5835; - private final Socket aSocket5836; - private final Class208 aClass208_5837; - static int anInt5838; - static int anInt5839; - static boolean aBoolean5840 = true; - - static final void method1707(int i) { - if (i != 26469) method1708(20, 93, 118, 24, (byte) -1, null); - Class322.aClass308_4036.method2303(true); - anInt5829++; - } - - final void method1706(int i, int i_0_, int i_1_, byte[] is) throws IOException { - anInt5833++; - aClass208_5837.method1528((byte) 5, i_1_, i, is); - if (i_0_ < 89) method1708(-99, 31, -13, 83, (byte) 112, null); - } - - final void method1702(int i) { - anInt5828++; - aClass376_5834.method3618(0); - int i_2_ = 29 / ((-25 - i) / 38); - aClass208_5837.method1527(-21179); - } - - static final void method1708(int i, int i_3_, int i_4_, int i_5_, byte i_6_, Class348_Sub9 class348_sub9) { - anInt5830++; - if (class348_sub9.anInt6685 != -1 || class348_sub9.anIntArray6697 != null) { - int i_7_ = 0; - int i_8_ = ((class348_sub9.anInt6677 * Class316.aClass348_Sub51_3959.aClass239_Sub26_7234.method1838(-32350)) >> 8); - if (class348_sub9.anInt6698 >= i_3_) { - if (class348_sub9.anInt6678 > i_3_) i_7_ += -i_3_ + class348_sub9.anInt6678; - } else i_7_ += -class348_sub9.anInt6698 + i_3_; - if (i_5_ <= class348_sub9.anInt6687) { - if (class348_sub9.anInt6689 > i_5_) i_7_ += -i_5_ + class348_sub9.anInt6689; - } else i_7_ += -class348_sub9.anInt6687 + i_5_; - if (class348_sub9.anInt6694 == 0 || (-256 + i_7_ > class348_sub9.anInt6694) || Class316.aClass348_Sub51_3959.aClass239_Sub26_7234.method1838(-32350) == 0 || class348_sub9.anInt6693 != i_4_) { - if (class348_sub9.aClass348_Sub16_Sub5_6676 != null) { - Class348_Sub43.aClass348_Sub16_Sub4_7065.method2880(class348_sub9.aClass348_Sub16_Sub5_6676); - class348_sub9.aClass348_Sub19_Sub1_6686 = null; - class348_sub9.aClass348_Sub16_Sub5_6676 = null; - class348_sub9.aClass348_Sub10_6688 = null; - } - if (class348_sub9.aClass348_Sub16_Sub5_6673 != null) { - Class348_Sub43.aClass348_Sub16_Sub4_7065.method2880(class348_sub9.aClass348_Sub16_Sub5_6673); - class348_sub9.aClass348_Sub16_Sub5_6673 = null; - class348_sub9.aClass348_Sub10_6683 = null; - class348_sub9.aClass348_Sub19_Sub1_6692 = null; - } - } else { - i_7_ -= 256; - if (i_7_ < 0) i_7_ = 0; - int i_9_ = ((class348_sub9.anInt6694 + -i_7_) * i_8_ / class348_sub9.anInt6694); - Class132.aPlayer_1907.method2436((byte) 100); - if (i_6_ == -78) { - int i_10_ = 8192; - int i_11_ = (-i_3_ + ((class348_sub9.anInt6678 + class348_sub9.anInt6698) / 2)); - int i_12_ = (-i_5_ + ((class348_sub9.anInt6687 - -class348_sub9.anInt6689) / 2)); - if (i_11_ != 0 || i_12_ != 0) { - int i_13_ = ((-Class5.anInt4638 + -(int) (Math.atan2(i_11_, i_12_) * 2607.5945876176133) + -4096) & 0x3fff); - if (i_13_ > 8192) i_13_ = 16384 - i_13_; - int i_14_; - if (i_7_ <= 0) i_14_ = 8192; - else if (i_7_ < 4096) i_14_ = 8192 + 8192 * i_7_ / 4096; - else i_14_ = 16384; - i_10_ = ((16384 - i_14_ >> 1) + i_14_ * i_13_ / 8192); - } - if ((class348_sub9.aClass348_Sub16_Sub5_6676) != null) { - class348_sub9.aClass348_Sub16_Sub5_6676.method2915(i_9_); - class348_sub9.aClass348_Sub16_Sub5_6676.method2909(i_10_); - } else if (class348_sub9.anInt6685 >= 0) { - int i_15_ = ((class348_sub9.anInt6681 == 256 && (class348_sub9.anInt6696 == 256)) ? 256 : (Class299_Sub1.method2257(class348_sub9.anInt6681, class348_sub9.anInt6696, (byte) -120))); - if (class348_sub9.aBoolean6674) { - if ((class348_sub9.aClass348_Sub10_6688) == null) class348_sub9.aClass348_Sub10_6688 = (Class348_Sub10.method2793(Class239_Sub4.aClass45_5878, (class348_sub9.anInt6685))); - if ((class348_sub9.aClass348_Sub10_6688) != null) { - if ((class348_sub9.aClass348_Sub19_Sub1_6686) == null) class348_sub9.aClass348_Sub19_Sub1_6686 = class348_sub9.aClass348_Sub10_6688.method2791(new int[]{22050}); - if ((class348_sub9.aClass348_Sub19_Sub1_6686) != null) { - Class348_Sub16_Sub5 class348_sub16_sub5 = (Class348_Sub16_Sub5.method2911((class348_sub9.aClass348_Sub19_Sub1_6686), i_15_, i_9_ << 6, i_10_)); - class348_sub16_sub5.method2917(-1); - Class348_Sub43.aClass348_Sub16_Sub4_7065.method2883(class348_sub16_sub5); - class348_sub9.aClass348_Sub16_Sub5_6676 = class348_sub16_sub5; - } - } - } else { - Class317 class317 = Class317.method2372(Class129.aClass45_1878, (class348_sub9.anInt6685), 0); - if (class317 != null) { - Class348_Sub19_Sub1 class348_sub19_sub1 = class317.method2369().method2944(Class57.aClass163_1050); - Class348_Sub16_Sub5 class348_sub16_sub5 = (Class348_Sub16_Sub5.method2911(class348_sub19_sub1, i_15_, i_9_ << 6, i_10_)); - class348_sub16_sub5.method2917(-1); - Class348_Sub43.aClass348_Sub16_Sub4_7065.method2883(class348_sub16_sub5); - class348_sub9.aClass348_Sub16_Sub5_6676 = class348_sub16_sub5; - } - } - } - do { - if ((class348_sub9.aClass348_Sub16_Sub5_6673) == null) { - if ((class348_sub9.anIntArray6697 != null) && (class348_sub9.anInt6670 -= i) <= 0) { - int i_16_ = (((class348_sub9.anInt6681) == 256 && (class348_sub9.anInt6696) == 256) ? 256 : ((class348_sub9.anInt6696) + (int) (Math.random() * (double) (-(class348_sub9.anInt6696) + (class348_sub9.anInt6681))))); - if (class348_sub9.aBoolean6699) { - if ((class348_sub9.aClass348_Sub10_6683) == null) { - int i_17_ = (int) ((double) (class348_sub9.anIntArray6697).length * Math.random()); - class348_sub9.aClass348_Sub10_6683 = (Class348_Sub10.method2793(Class239_Sub4.aClass45_5878, (class348_sub9.anIntArray6697[i_17_]))); - } - if ((class348_sub9.aClass348_Sub10_6683) != null) { - if ((class348_sub9.aClass348_Sub19_Sub1_6692) == null) class348_sub9.aClass348_Sub19_Sub1_6692 = (class348_sub9.aClass348_Sub10_6683.method2791(new int[]{22050})); - if ((class348_sub9.aClass348_Sub19_Sub1_6692) != null) { - Class348_Sub16_Sub5 class348_sub16_sub5 = (Class348_Sub16_Sub5.method2911((class348_sub9.aClass348_Sub19_Sub1_6692), i_16_, i_9_ << 6, i_10_)); - class348_sub16_sub5.method2917(0); - Class348_Sub43.aClass348_Sub16_Sub4_7065.method2883(class348_sub16_sub5); - class348_sub9.aClass348_Sub16_Sub5_6673 = class348_sub16_sub5; - class348_sub9.anInt6670 = ((int) ((double) ((class348_sub9.anInt6668) - (class348_sub9.anInt6680)) * Math.random()) + (class348_sub9.anInt6680)); - } - } - } else { - int i_18_ = (int) (Math.random() * (double) (class348_sub9.anIntArray6697).length); - Class317 class317 = Class317.method2372((Class129.aClass45_1878), (class348_sub9.anIntArray6697[i_18_]), 0); - if (class317 == null) break; - Class348_Sub19_Sub1 class348_sub19_sub1 = (class317.method2369().method2944(Class57.aClass163_1050)); - Class348_Sub16_Sub5 class348_sub16_sub5 = (Class348_Sub16_Sub5.method2911(class348_sub19_sub1, i_16_, i_9_ << 6, i_10_)); - class348_sub16_sub5.method2917(0); - Class348_Sub43.aClass348_Sub16_Sub4_7065.method2883(class348_sub16_sub5); - class348_sub9.anInt6670 = ((int) ((double) (-(class348_sub9.anInt6680) + (class348_sub9.anInt6668)) * Math.random()) + (class348_sub9.anInt6680)); - class348_sub9.aClass348_Sub16_Sub5_6673 = class348_sub16_sub5; - } - break; - } - } else { - class348_sub9.aClass348_Sub16_Sub5_6673.method2915(i_9_); - class348_sub9.aClass348_Sub16_Sub5_6673.method2909(i_10_); - if (!class348_sub9.aClass348_Sub16_Sub5_6673.method2712((byte) 4)) { - class348_sub9.aClass348_Sub10_6683 = null; - class348_sub9.aClass348_Sub19_Sub1_6692 = null; - class348_sub9.aClass348_Sub16_Sub5_6673 = null; - } - } - } while (false); - } - } - } - } - - final void method1700(byte i) { - anInt5839++; - try { - aSocket5836.close(); - } catch (IOException ioexception) { - /* empty */ - } - aClass376_5834.method3615(15984); - if (i == 36) aClass208_5837.method1526((byte) -99); - } - - final int method1701(int i, int i_19_, byte i_20_, byte[] is) throws IOException { - int i_21_ = 84 / ((-56 - i_20_) / 47); - anInt5831++; - return aClass376_5834.method3617(i, i_19_, 0, is); - } - - final boolean method1705(int i, int i_22_) throws IOException { - if (i_22_ <= 91) aClass376_5834 = null; - anInt5838++; - return aClass376_5834.method3619(i, false); - } - - Class238_Sub1(Socket socket, int i) throws IOException { - aSocket5836 = socket; - aSocket5836.setSoTimeout(30000); - aSocket5836.setTcpNoDelay(true); - aClass376_5834 = new Class376(aSocket5836.getInputStream(), i); - aClass208_5837 = new Class208(aSocket5836.getOutputStream(), i); - } - - protected final void finalize() { - anInt5835++; - method1700((byte) 36); - } -} diff --git a/client/src/Class239.java b/client/src/Class239.java deleted file mode 100644 index 33c54e827..000000000 --- a/client/src/Class239.java +++ /dev/null @@ -1,86 +0,0 @@ -/* Class239 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class239 { - static int anInt3134; - static Class114 aClass114_3135 = new Class114(108, 5); - Class348_Sub51 aClass348_Sub51_3136; - static int anInt3137; - int anInt3138; - static int anInt3139; - static int anInt3140; - static int anInt3141; - static int anInt3142; - static Class114 aClass114_3143; - static byte[] aByteArray3144 = new byte[520]; - static Class114 aClass114_3145; - static Class45 aClass45_3146; - static Class166 aClass166_3147; - - static final Class231[] method1709(int i) { - if (i > -110) method1715(97); - anInt3141++; - return (new Class231[]{Class68.aClass231_1189, Class348_Sub40_Sub20.aClass231_9263, Class288.aClass231_4953}); - } - - abstract int method1710(int i); - - static final void method1711(int i, Class45 class45, int i_0_, Class45 class45_1_) { - try { - Class135_Sub2.aClass45_4843 = class45_1_; - anInt3140++; - if (i != 7) aClass45_3146 = null; - Class138.aClass45_1940 = class45; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("su.Q(" + i + ',' + (class45 != null ? "{...}" : "null") + ',' + i_0_ + ',' + (class45_1_ != null ? "{...}" : "null") + ')')); - } - } - - abstract void method1712(int i, int i_2_); - - static final void method1713(boolean bool, int i) { - Class239_Sub3.method1728(Class348_Sub42_Sub8_Sub2.anInt10432, -1, r.anInt9721, bool, Class321.anInt4017); - if (i == 520) anInt3137++; - } - - abstract int method1714(int i, int i_3_); - - public static void method1715(int i) { - aClass114_3145 = null; - aClass114_3143 = null; - aClass45_3146 = null; - aClass114_3135 = null; - aByteArray3144 = null; - aClass166_3147 = null; - if (i < 13) method1709(-99); - } - - abstract void method1716(boolean bool); - - Class239(Class348_Sub51 class348_sub51) { - this.aClass348_Sub51_3136 = class348_sub51; - this.anInt3138 = method1710(20014); - } - - static final void method1717(int i, int i_4_, int i_5_, int i_6_) { - Class348_Sub33.aByteArrayArrayArray6962 = new byte[i_6_][i_5_][i_4_]; - if (i != 19278) method1717(35, 126, -83, 85); - anInt3134++; - } - - Class239(int i, Class348_Sub51 class348_sub51) { - this.aClass348_Sub51_3136 = class348_sub51; - this.anInt3138 = i; - } - - final void method1718(int i, int i_7_) { - if (i_7_ < 3) method1712(12, 42); - anInt3139++; - if (method1714(3, i) != 3) method1712(124, i); - } - - static { - aClass114_3143 = new Class114(7, 3); - } -} diff --git a/client/src/Class239_Sub1.java b/client/src/Class239_Sub1.java deleted file mode 100644 index 848c35b96..000000000 --- a/client/src/Class239_Sub1.java +++ /dev/null @@ -1,101 +0,0 @@ -/* Class239_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class239_Sub1 extends Class239 { - static int anInt5841; - static int anInt5842; - static int anInt5843; - static int anInt5844; - static int anInt5845; - static int anInt5846; - static short[][] aShortArrayArray5847; - static int anInt5848; - static int anInt5849; - static int anInt5850; - - static final void method1719(boolean bool, String string, String string_0_, int i, int i_1_) { - try { - Class178.method1356(true, string_0_, i_1_, i, bool, string, true); - anInt5845++; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("aj.G(" + bool + ',' + (string != null ? "{...}" : "null") + ',' + (string_0_ != null ? "{...}" : "null") + ',' + i + ',' + i_1_ + ')')); - } - } - - final int method1720(int i) { - anInt5843++; - if (i != -32350) method1714(82, -89); - return this.anInt3138; - } - - static final void method1721(String string, byte i) { - anInt5849++; - if (r.aBoolean9722 && (0x18 & Class38.anInt500) != 0) { - int i_2_ = -88 / ((i - -33) / 37); - boolean bool = false; - int i_3_ = Class328_Sub1.anInt6513; - int[] is = Class286_Sub7.anIntArray6290; - for (int i_4_ = 0; i_3_ > i_4_; i_4_++) { - Player player = (Class294.aPlayerArray5058[is[i_4_]]); - if (player.aString10544 != null && player.aString10544.equalsIgnoreCase(string) && (((player == Class132.aPlayer_1907) && (0x10 & Class38.anInt500) != 0) || (player != null && (Class38.anInt500 & 0x8) != 0))) { - Class228.anInt2975++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class52.aClass351_4907, (Class348_Sub23_Sub2.aClass77_9029), -102); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, Class9.anInt169); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(is[i_4_], (byte) 3); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(Class301.anInt3829, (byte) 3); - class348_sub47.aClass348_Sub49_Sub2_7116.writeIntInverseMiddle(Class149.anInt2046, -4086); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByteInverse((byte) -64, 0); - Class348_Sub42_Sub14.method3243(116, class348_sub47); - bool = true; - Class298.method2252(true, player.anIntArray10320[0], player.anIntArray10317[0], (byte) -99, player.method2436((byte) 54), 0, player.method2436((byte) 91), -2, 0); - break; - } - } - if (!bool) Class59.method544((Class274.aClass274_3504.method2063(Class348_Sub33.anInt6967, 544)) + string, false, 4); - if (r.aBoolean9722) Class341.method2678(-2049); - } - } - - final void method1716(boolean bool) { - if (this.anInt3138 != 1 && this.anInt3138 != 0) this.anInt3138 = method1710(20014); - if (bool == false) anInt5846++; - } - - Class239_Sub1(Class348_Sub51 class348_sub51) { - super(class348_sub51); - } - - static final boolean method1722(int i, int i_5_, byte i_6_) { - int i_7_ = 92 % ((i_6_ - 48) / 32); - anInt5848++; - return (0x10000 & i) != 0; - } - - public static void method1723(byte i) { - aShortArrayArray5847 = null; - if (i != 119) anInt5850 = -51; - } - - final int method1714(int i, int i_8_) { - if (i != 3) anInt5850 = 94; - anInt5841++; - return 1; - } - - final void method1712(int i, int i_9_) { - int i_10_ = -57 / ((82 - i) / 35); - anInt5844++; - this.anInt3138 = i_9_; - } - - Class239_Sub1(int i, Class348_Sub51 class348_sub51) { - super(i, class348_sub51); - } - - final int method1710(int i) { - if (i != 20014) anInt5850 = -72; - anInt5842++; - return 1; - } -} diff --git a/client/src/Class239_Sub10.java b/client/src/Class239_Sub10.java deleted file mode 100644 index 1184936d0..000000000 --- a/client/src/Class239_Sub10.java +++ /dev/null @@ -1,136 +0,0 @@ -/* Class239_Sub10 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class239_Sub10 extends Class239 { - static int anInt5935; - static int anInt5936; - static int anInt5937; - static Class351 aClass351_5938 = new Class351(0, 0); - static int anInt5939; - static int anInt5940; - static int anInt5941; - static int anInt5942; - static int anInt5943 = 1337; - static int anInt5944; - static float aFloat5945; - static int anInt5946; - static int anInt5947; - static int anInt5948; - - Class239_Sub10(int i, Class348_Sub51 class348_sub51) { - super(i, class348_sub51); - } - - static final void method1760(int i, int i_0_, boolean bool, int i_1_, byte i_2_, int i_3_, int i_4_, int i_5_) { - if (i_2_ > -85) method1762(-14, 70, 13, -100); - anInt5940++; - if ((bool ? Class316.aClass348_Sub51_3959.aClass239_Sub26_7215.method1838(-32350) : Class316.aClass348_Sub51_3959.aClass239_Sub26_7272.method1838(-32350)) != 0 && i_3_ != 0 && Class147.anInt2021 < 50 && i != -1) - Class258_Sub2.aClass10Array8531[Class147.anInt2021++] = new Class10(!bool ? (byte) 2 : (byte) 3, i, i_3_, i_5_, i_0_, i_1_, i_4_, null); - } - - final void method1716(boolean bool) { - anInt5941++; - if (bool != false) method1712(-34, -61); - if (this.anInt3138 < 0 || this.anInt3138 > 4) this.anInt3138 = method1710(20014); - } - - static final void method1761(int i) { - anInt5935++; - Class348_Sub47.method3324(Class348_Sub8.aHa6654, (byte) 105, Class367_Sub11.anInt7396); - if (i != 85) anInt5943 = -99; - if (r.anInt9721 != -1) Class75_Sub1.method769(r.anInt9721, (byte) 118); - for (int i_6_ = 0; Class348_Sub38.anInt7008 > i_6_; i_6_++) { - if (Class152.aBooleanArray2076[i_6_]) Class268.aBooleanArray3438[i_6_] = true; - Class175.aBooleanArray2326[i_6_] = Class152.aBooleanArray2076[i_6_]; - Class152.aBooleanArray2076[i_6_] = false; - } - Class58.anInt1064 = Class367_Sub11.anInt7396; - if (r.anInt9721 != -1) { - Class348_Sub38.anInt7008 = 0; - Class88.method842(false); - } - Class348_Sub8.aHa6654.la(); - Class348_Sub42_Sub20.method3281((byte) 77, Class348_Sub8.aHa6654); - int i_7_ = Class112.method1053(3112); - if (i_7_ == -1) i_7_ = Class362.anInt4458; - if (i_7_ == -1) i_7_ = Class348_Sub42_Sub16_Sub1.anInt10447; - Class33.method338(0, i_7_); - Class348_Sub51.anInt7267 = 0; - } - - final void method1712(int i, int i_8_) { - anInt5939++; - this.anInt3138 = i_8_; - int i_9_ = -17 / ((82 - i) / 35); - } - - static final int method1762(int i, int i_10_, int i_11_, int i_12_) { - int i_13_ = 56 / ((i - 74) / 43); - anInt5947++; - if ((0x8 & Class348_Sub33.aByteArrayArrayArray6962[i_10_][i_12_][i_11_]) != 0) return 0; - if (i_10_ > 0 && ((0x2 & Class348_Sub33.aByteArrayArrayArray6962[1][i_12_][i_11_]) != 0)) return i_10_ + -1; - return i_10_; - } - - public static void method1763(int i) { - aClass351_5938 = null; - if (i != -15596) method1763(-92); - } - - final int method1764(int i) { - anInt5942++; - if (i != -32350) method1763(18); - return this.anInt3138; - } - - final int method1714(int i, int i_14_) { - anInt5936++; - if (i != 3) method1710(-95); - return 1; - } - - static final char method1765(char c, int i, int i_15_) { - anInt5946++; - if (c >= 192 && c <= 255) { - if (c >= 192 && c <= 198) return 'A'; - if (c == 199) return 'C'; - if (c >= 200 && c <= 203) return 'E'; - if (c >= 204 && c <= 207) return 'I'; - if (c >= 210 && c <= 214) return 'O'; - if (c >= 217 && c <= 220) return 'U'; - if (c == 221) return 'Y'; - if (c == 223) return 's'; - if (c >= 224 && c <= 230) return 'a'; - if (c == 231) return 'c'; - if (c >= 232 && c <= 235) return 'e'; - if (c >= 236 && c <= 239) return 'i'; - if (c >= 242 && c <= 246) return 'o'; - if (c >= 249 && c <= 252) return 'u'; - if (c == 253 || c == 255) return 'y'; - } - if (i_15_ != 105) aClass351_5938 = null; - if (c == 338) return 'O'; - if (c == 339) return 'o'; - if (c == 376) return 'Y'; - return c; - } - - static final Class143 method1766(byte i, int i_16_, Class45 class45) { - anInt5944++; - if (i >= -24) return null; - byte[] is = class45.method415((byte) 73, i_16_); - if (is == null) return null; - return new Class143(is); - } - - final int method1710(int i) { - if (i != 20014) return 118; - anInt5937++; - return 3; - } - - Class239_Sub10(Class348_Sub51 class348_sub51) { - super(class348_sub51); - } -} diff --git a/client/src/Class239_Sub11.java b/client/src/Class239_Sub11.java deleted file mode 100644 index 26742f843..000000000 --- a/client/src/Class239_Sub11.java +++ /dev/null @@ -1,154 +0,0 @@ -/* Class239_Sub11 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class239_Sub11 extends Class239 { - static Class114 aClass114_5949 = new Class114(69, 12); - static Class114 aClass114_5950; - static int anInt5951 = 1339; - static int anInt5952; - static int anInt5953; - static int anInt5954; - static int anInt5955; - static int anInt5956; - static int anInt5957; - static int anInt5958; - static int anInt5959; - - static final void method1767(boolean bool, int i) { - anInt5953++; - Class101_Sub3.method947((byte) 41); - int i_0_ = (Class269.aClass217_3453.method1588(-51, i).anInt2125); - if (i_0_ != 0) { - if (bool != true) method1769(-43); - int i_1_ = (Class318_Sub1_Sub3_Sub3.aClass170_10209.anIntArray5063[i]); - if (i_0_ == 5) Class318_Sub1_Sub5.anInt8770 = i_1_; - if (i_0_ == 6) Class348_Sub40_Sub31.anInt9408 = i_1_; - } - } - - final int method1768(int i) { - if (i != -32350) method1767(true, -55); - anInt5958++; - return this.anInt3138; - } - - public static void method1769(int i) { - aClass114_5950 = null; - if (i != 100) method1769(-25); - aClass114_5949 = null; - } - - final int method1710(int i) { - anInt5956++; - if (i != 20014) return -48; - return 0; - } - - final void method1716(boolean bool) { - if (bool != false) method1716(false); - anInt5954++; - if (this.anInt3138 != 1 && this.anInt3138 != 0) this.anInt3138 = method1710(20014); - } - - Class239_Sub11(int i, Class348_Sub51 class348_sub51) { - super(i, class348_sub51); - } - - final void method1712(int i, int i_2_) { - anInt5952++; - this.anInt3138 = i_2_; - int i_3_ = 98 / ((82 - i) / 35); - } - - static final int method1770(byte i) { - anInt5957++; - if (Class367_Sub8.anInt7365 == 0) { - Class267.aClass267_3401.method2025(new Class309("jaclib"), false); - if (Class267.aClass267_3401.method2027(119).method31(28) != 100) return 1; - if (!((Class309) Class267.aClass267_3401.method2027(71)).method2313(124)) Class79.aClient1367.method97(i + 24); - Class367_Sub8.anInt7365 = 1; - } - if (Class367_Sub8.anInt7365 == 1) { - Class126.aClass267Array4987 = Class267.method2029(110); - Class267.aClass267_3396.method2025(new Class292(Class367_Sub8.aClass45_7362), false); - Class267.aClass267_3402.method2025(new Class309("jaggl"), false); - Class267.aClass267_3403.method2025(new Class309("jagdx"), false); - Class267.aClass267_3404.method2025(new Class309("jagmisc"), false); - Class267.aClass267_3405.method2025(new Class309("sw3d"), false); - Class267.aClass267_3406.method2025(new Class309("hw3d"), false); - Class267.aClass267_3407.method2025(new Class309("jagtheora"), false); - Class267.aClass267_3408.method2025(new Class292(Class136.aClass45_4796), false); - Class267.aClass267_3409.method2025(new Class292(Class348_Sub11.aClass45_4770), false); - Class267.aClass267_3410.method2025(new Class292(Class95.aClass45_1541), false); - Class267.aClass267_3411.method2025(new Class292(Class94.aClass45_1538), false); - Class267.aClass267_3412.method2025(new Class292(Class247.aClass45_3183), false); - Class267.aClass267_3413.method2025(new Class292(Class216.aClass45_4975), false); - Class267.aClass267_3414.method2025(new Class292(Class174.aClass45_2306), false); - Class267.aClass267_3415.method2025(new Class292(r_Sub2.aClass45_10480), false); - Class267.aClass267_3416.method2025(new Class292(Class78.aClass45_1322), false); - Class267.aClass267_3417.method2025(new Class292(Class348_Sub16_Sub3.aClass45_8926), false); - Class267.aClass267_3418.method2025(new Class292(Class130.aClass45_1897), false); - Class267.aClass267_3419.method2025(new Class292(Class82.aClass45_1434), false); - Class267.aClass267_3420.method2025(new Class292(Class239.aClass45_3146), false); - Class267.aClass267_3421.method2025(new Class292(Class262.aClass45_3323), false); - Class267.aClass267_3422.method2025(new Class73((Class16.aClass45_233), "huffman"), false); - Class267.aClass267_3423.method2025(new Class292(Class348_Sub35.aClass45_6980), false); - Class267.aClass267_3424.method2025(new Class292(Class113.aClass45_1743), false); - Class267.aClass267_3425.method2025(new Class292(Class104.aClass45_1627), false); - Class267.aClass267_3426.method2025(new Class136((Class348_Sub32.aClass45_6950), "details"), false); - for (int i_4_ = 0; i_4_ < Class126.aClass267Array4987.length; i_4_++) { - if (Class126.aClass267Array4987[i_4_].method2027(78) == null) throw new RuntimeException(); - } - int i_5_ = 0; - Class267[] class267s = Class126.aClass267Array4987; - for (int i_6_ = 0; i_6_ < class267s.length; i_6_++) { - Class267 class267 = class267s[i_6_]; - int i_7_ = class267.method2024(-1); - int i_8_ = class267.method2027(80).method31(87); - i_5_ += i_8_ * i_7_ / 100; - } - Class348_Sub40_Sub24.anInt9327 = i_5_; - Class367_Sub8.anInt7365 = 2; - } - if (Class126.aClass267Array4987 == null) return 100; - int i_9_ = 0; - int i_10_ = 0; - boolean bool = true; - if (i != -25) anInt5951 = -33; - Class267[] class267s = Class126.aClass267Array4987; - for (int i_11_ = 0; class267s.length > i_11_; i_11_++) { - Class267 class267 = class267s[i_11_]; - int i_12_ = class267.method2024(-1); - int i_13_ = class267.method2027(70).method31(i ^ 0x75); - i_9_ += i_12_; - i_10_ += i_13_ * i_12_ / 100; - if (i_13_ < 100) bool = false; - } - if (bool) { - if (!((Class309) Class267.aClass267_3404.method2027(92)).method2313(102)) Class79.aClient1367.method83(true); - if (!((Class309) Class267.aClass267_3407.method2027(i ^ ~0x64)).method2313(103)) Class38.aBoolean510 = Class79.aClient1367.method100(i ^ ~0x12); - Class126.aClass267Array4987 = null; - } - i_9_ -= Class348_Sub40_Sub24.anInt9327; - i_10_ -= Class348_Sub40_Sub24.anInt9327; - int i_14_ = i_9_ <= 0 ? 100 : 100 * i_10_ / i_9_; - if (!bool && i_14_ > 99) i_14_ = 99; - return i_14_; - } - - Class239_Sub11(Class348_Sub51 class348_sub51) { - super(class348_sub51); - } - - final int method1714(int i, int i_15_) { - if (i != 3) return 94; - anInt5955++; - return 1; - } - - static { - aClass114_5950 = new Class114(64, 2); - anInt5959 = 0; - } -} diff --git a/client/src/Class239_Sub12.java b/client/src/Class239_Sub12.java deleted file mode 100644 index cd39fe25a..000000000 --- a/client/src/Class239_Sub12.java +++ /dev/null @@ -1,85 +0,0 @@ -/* Class239_Sub12 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class239_Sub12 extends Class239 { - static int anInt5960; - static int anInt5961; - static int anInt5962; - static int anInt5963; - static Class45 aClass45_5964; - static int anInt5965; - static String aString5966 = null; - static int anInt5967; - static int anInt5968; - static int anInt5969; - static int anInt5970; - static long aLong5971; - static int anInt5972; - static int anInt5973; - - final int method1714(int i, int i_0_) { - anInt5972++; - if (i != 3) return 121; - if (!Class348.method2714(7351, this.aClass348_Sub51_3136.aClass239_Sub25_7271.method1829(-32350))) return 3; - return 1; - } - - final int method1771(int i) { - anInt5960++; - if (i != -32350) method1714(80, -99); - return this.anInt3138; - } - - final void method1712(int i, int i_1_) { - int i_2_ = -19 % ((82 - i) / 35); - this.anInt3138 = i_1_; - anInt5963++; - } - - static final void method1772(int i) { - anInt5968++; - Class348_Sub15 class348_sub15 = (Class348_Sub15) Class27.aClass356_389.method3484(0); - if (i <= 4) aString5966 = null; - for (/**/; class348_sub15 != null; class348_sub15 = (Class348_Sub15) Class27.aClass356_389.method3482(0)) - Class64_Sub3.method690((byte) 108, (class348_sub15.anInt6773)); - } - - public static void method1773(byte i) { - int i_3_ = -86 / ((i - 13) / 45); - aString5966 = null; - aClass45_5964 = null; - } - - Class239_Sub12(Class348_Sub51 class348_sub51) { - super(class348_sub51); - } - - final void method1716(boolean bool) { - if (bool != false) method1716(false); - anInt5962++; - if (this.aClass348_Sub51_3136.aClass239_Sub25_7271.method1830((byte) -119) && !Class348.method2714(7351, this.aClass348_Sub51_3136.aClass239_Sub25_7271.method1829(-32350))) this.anInt3138 = 0; - if (this.anInt3138 < 0 || this.anInt3138 > 1) this.anInt3138 = method1710(20014); - } - - Class239_Sub12(int i, Class348_Sub51 class348_sub51) { - super(i, class348_sub51); - } - - final boolean method1774(int i) { - if (i < 85) method1773((byte) 116); - anInt5961++; - return Class348.method2714(7351, this.aClass348_Sub51_3136.aClass239_Sub25_7271.method1829(-32350)); - } - - final int method1710(int i) { - anInt5970++; - if (i != 20014) anInt5965 = -58; - return 0; - } - - static final void method1775(byte i, int i_4_, int i_5_) { - anInt5967++; - if (i == -8 && Class320.method2547(i_4_, (byte) 84)) Class348_Sub40_Sub19.method3097((Class348_Sub40_Sub33.aClass46ArrayArray9427[i_4_]), i_5_, 119); - } -} diff --git a/client/src/Class239_Sub13.java b/client/src/Class239_Sub13.java deleted file mode 100644 index 1c410f2c9..000000000 --- a/client/src/Class239_Sub13.java +++ /dev/null @@ -1,67 +0,0 @@ -/* Class239_Sub13 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class239_Sub13 extends Class239 { - static int anInt5974; - static int anInt5975; - static int anInt5976; - static int anInt5977; - static int anInt5978; - static int anInt5979; - static int anInt5980 = 0; - static int anInt5981; - - final int method1776(int i) { - if (i != -32350) anInt5980 = 42; - anInt5978++; - return this.anInt3138; - } - - final void method1716(boolean bool) { - if (this.aClass348_Sub51_3136.method3422(674) == Class14_Sub4.aClass230_8638) this.anInt3138 = 2; - if (bool == false) { - anInt5974++; - if (this.anInt3138 < 0 || this.anInt3138 > 2) this.anInt3138 = method1710(20014); - } - } - - static final void method1777(int i, Class318_Sub1_Sub3_Sub3 class318_sub1_sub3_sub3) { - if (i == -3) { - if (class318_sub1_sub3_sub3 instanceof Npc) { - Npc npc = (Npc) class318_sub1_sub3_sub3; - if (npc.aClass79_10505 != null) Class286_Sub3.method2150(((Class132.aPlayer_1907.plane) != (npc.plane)), false, npc); - } else if (class318_sub1_sub3_sub3 instanceof Player) { - Player player = ((Player) class318_sub1_sub3_sub3); - Class348_Sub43.method3298((byte) 105, ((player.plane) != (Class132.aPlayer_1907.plane)), player); - } - anInt5981++; - } - } - - final int method1714(int i, int i_0_) { - if (i != 3) return 3; - anInt5979++; - return 1; - } - - Class239_Sub13(int i, Class348_Sub51 class348_sub51) { - super(i, class348_sub51); - } - - final void method1712(int i, int i_1_) { - anInt5977++; - this.anInt3138 = i_1_; - int i_2_ = -54 / ((82 - i) / 35); - } - - final int method1710(int i) { - anInt5975++; - if (i != 20014) return 70; - return 1; - } - - Class239_Sub13(Class348_Sub51 class348_sub51) { - super(class348_sub51); - } -} diff --git a/client/src/Class239_Sub14.java b/client/src/Class239_Sub14.java deleted file mode 100644 index e75b45cc6..000000000 --- a/client/src/Class239_Sub14.java +++ /dev/null @@ -1,126 +0,0 @@ -/* Class239_Sub14 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; - -final class Class239_Sub14 extends Class239 { - static int anInt5982; - static int anInt5983; - static int anInt5984; - static int anInt5985; - static int anInt5986; - static int anInt5987; - static int anInt5988; - static Class251 aClass251_5989 = new Class251(); - static Class190 aClass190_5990; - static int[][] anIntArrayArray5991 = new int[6][]; - static Class114 aClass114_5992 = new Class114(17, 4); - static Class211[] aClass211Array5993; - static int anInt5994; - static Class259 aClass259_5995; - - final int method1778(int i) { - if (i != -32350) aClass190_5990 = null; - anInt5984++; - return this.anInt3138; - } - - final void method1716(boolean bool) { - if (this.aClass348_Sub51_3136.aClass239_Sub3_7222.method1735(bool) && this.anInt3138 == 2) this.anInt3138 = 1; - anInt5988++; - if (this.anInt3138 < 0 || this.anInt3138 > 2) this.anInt3138 = method1710(20014); - } - - Class239_Sub14(int i, Class348_Sub51 class348_sub51) { - super(i, class348_sub51); - } - - Class239_Sub14(Class348_Sub51 class348_sub51) { - super(class348_sub51); - } - - static final void method1779(byte i) { - anInt5985++; - Class364.method3517(73); - Class262.aClass190ArrayArray3335 = null; - Class60.aHa1098 = null; - if (i <= 89) anInt5994 = -75; - Class239_Sub24.aClass299_6098 = null; - Class158.aClass299_4938 = null; - Class348_Sub42_Sub10.aClass299_9571 = null; - } - - public static void method1780(int i) { - aClass114_5992 = null; - int i_0_ = 108 % ((-24 - i) / 54); - aClass251_5989 = null; - anIntArrayArray5991 = null; - aClass259_5995 = null; - aClass211Array5993 = null; - aClass190_5990 = null; - } - - static final int method1781(int i, int i_1_, int i_2_) { - anInt5983++; - if (Class348_Sub31.anInt6923 == -1) return 1; - if (i != Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350)) { - Class258_Sub3_Sub1.method1971(-2, Class274.aClass274_3496.method2063(Class348_Sub33.anInt6967, 544), true, i); - if (i != Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350)) return -1; - } - try { - Dimension dimension = Class305.aCanvas3869.getSize(); - Class362.method3511(true, Applet_Sub1.aClass324_20, Class246.aClass143_3179, Class274.aClass274_3496.method2063(Class348_Sub33.anInt6967, 544), 2, Class348_Sub8.aHa6654); - Class124 class124 = Class300.method2277(0, aa_Sub3.aClass45_5207, Class348_Sub31.anInt6923, -1); - long l = Class62.method599(-88); - Class348_Sub8.aHa6654.la(); - Class157.aClass101_2123.method894(0, Class348_Sub23_Sub2.anInt9037, 0); - Class348_Sub8.aHa6654.method3638(Class157.aClass101_2123); - Class348_Sub8.aHa6654.DA(dimension.width / 2, dimension.height / 2, 512, 512); - Class348_Sub8.aHa6654.xa(1.0F); - if (i_1_ >= -66) aClass190_5990 = null; - Class348_Sub8.aHa6654.ZA(16777215, 0.5F, 0.5F, 20.0F, -50.0F, 30.0F); - Class64 class64 = Class348_Sub8.aHa6654.method3625(class124, 2048, 64, 64, 768); - int i_3_ = 0; - while_80_: - for (int i_4_ = 0; i_4_ < 500; i_4_++) { - Class348_Sub8.aHa6654.GA(0); - Class348_Sub8.aHa6654.ya(); - for (int i_5_ = 15; i_5_ >= 0; i_5_--) { - for (int i_6_ = 0; i_6_ <= i_5_; i_6_++) { - Class50_Sub1.aClass101_5209.method894((int) ((-((float) i_5_ / 2.0F) + (float) i_6_) * (float) Class270.anInt3465), 0, (i_5_ + 1) * Class270.anInt3465); - i_3_++; - class64.method615(Class50_Sub1.aClass101_5209, null, 0); - if (Class62.method599(-105) + -l >= (long) i_2_) break while_80_; - } - } - } - Class348_Sub8.aHa6654.method3633(); - long l_7_ = (long) (1000 * i_3_) / (Class62.method599(-86) + -l); - Class348_Sub8.aHa6654.GA(0); - Class348_Sub8.aHa6654.ya(); - return (int) l_7_; - } catch (Throwable throwable) { - throwable.printStackTrace(); - return -1; - } - } - - final void method1712(int i, int i_8_) { - this.anInt3138 = i_8_; - anInt5987++; - int i_9_ = -73 / ((82 - i) / 35); - } - - final int method1710(int i) { - anInt5982++; - if (i != 20014) aClass211Array5993 = null; - return 2; - } - - final int method1714(int i, int i_10_) { - if (i != 3) return 23; - anInt5986++; - return 1; - } -} diff --git a/client/src/Class239_Sub15.java b/client/src/Class239_Sub15.java deleted file mode 100644 index 0ba9274f0..000000000 --- a/client/src/Class239_Sub15.java +++ /dev/null @@ -1,157 +0,0 @@ -/* Class239_Sub15 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class239_Sub15 extends Class239 { - static int anInt5996; - static Class114 aClass114_5997 = new Class114(115, 11); - static int anInt5998; - static int anInt5999; - static int anInt6000; - static int anInt6001; - static int anInt6002; - static int anInt6003; - static int anInt6004; - static int anInt6005; - static int anInt6006 = 0; - - static final Class323 method1782(int i, int i_0_) { - if (i_0_ != 10144) return null; - anInt6004++; - if (i == 0) { - if ((double) Class75.aFloat1247 == 3.0) return Class125.aClass323_4921; - if ((double) Class75.aFloat1247 == 4.0) return Class14_Sub4.aClass323_8644; - if ((double) Class75.aFloat1247 == 6.0) return Class39.aClass323_521; - if ((double) Class75.aFloat1247 >= 8.0) return Class168.aClass323_2252; - } else if (i == 1) { - if ((double) Class75.aFloat1247 == 3.0) return Class39.aClass323_521; - if ((double) Class75.aFloat1247 == 4.0) return Class168.aClass323_2252; - if ((double) Class75.aFloat1247 == 6.0) return Class176.aClass323_2333; - if ((double) Class75.aFloat1247 >= 8.0) return Class285.aClass323_4754; - } else if (i == 2) { - if ((double) Class75.aFloat1247 == 3.0) return Class176.aClass323_2333; - if ((double) Class75.aFloat1247 == 4.0) return Class285.aClass323_4754; - if ((double) Class75.aFloat1247 == 6.0) return Class348_Sub3.aClass323_6581; - if ((double) Class75.aFloat1247 >= 8.0) return Class240.aClass323_4672; - } - return null; - } - - final void method1716(boolean bool) { - if (bool != false) method1783(115, -122, -59, 41, -49, 92); - anInt5999++; - if (this.aClass348_Sub51_3136.method3428((byte) -84).method1458(-23688) < 96) this.anInt3138 = 0; - if (this.anInt3138 < 0 || this.anInt3138 > 2) this.anInt3138 = method1710(20014); - } - - final int method1714(int i, int i_1_) { - anInt6005++; - if (i != 3) method1784(99); - if (this.aClass348_Sub51_3136.method3428((byte) -85).method1458(-23688) < 96) return 3; - return 1; - } - - Class239_Sub15(int i, Class348_Sub51 class348_sub51) { - super(i, class348_sub51); - Class126.method1114(this.anInt3138, -122); - } - - static final void method1783(int i, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_) { - anInt5998++; - int i_7_ = -i_3_ + i_4_; - int i_8_ = i_5_ + -i; - if ((~i_8_) == i_2_) { - if (i_7_ != 0) Class332.method2641(i_4_, i_3_, -117, i, i_6_); - return; - } else if (i_7_ == 0) { - Class12.method223(i_5_, i_6_, i_3_, i, (byte) 47); - return; - } - if (i_7_ < 0) i_7_ = -i_7_; - if (i_8_ < 0) i_8_ = -i_8_; - boolean bool = i_8_ < i_7_; - if (bool) { - int i_9_ = i; - int i_10_ = i_5_; - i = i_3_; - i_5_ = i_4_; - i_3_ = i_9_; - i_4_ = i_10_; - } - if (i_5_ < i) { - int i_11_ = i; - i = i_5_; - int i_12_ = i_3_; - i_5_ = i_11_; - i_3_ = i_4_; - i_4_ = i_12_; - } - int i_13_ = i_3_; - int i_14_ = -i + i_5_; - int i_15_ = -i_3_ + i_4_; - int i_16_ = -(i_14_ >> 1); - if (i_15_ < 0) i_15_ = -i_15_; - int i_17_ = i_4_ <= i_3_ ? -1 : 1; - if (bool) { - for (int i_19_ = i; i_5_ >= i_19_; i_19_++) { - Class17.anIntArrayArray255[i_19_][i_13_] = i_6_; - i_16_ += i_15_; - if (i_16_ > 0) { - i_13_ += i_17_; - i_16_ -= i_14_; - } - } - } else { - for (int i_18_ = i; i_18_ <= i_5_; i_18_++) { - i_16_ += i_15_; - Class17.anIntArrayArray255[i_13_][i_18_] = i_6_; - if (i_16_ > 0) { - i_13_ += i_17_; - i_16_ -= i_14_; - } - } - } - } - - final void method1712(int i, int i_20_) { - anInt6003++; - this.anInt3138 = i_20_; - int i_21_ = 33 % ((i - 82) / 35); - Class126.method1114(this.anInt3138, -122); - } - - final int method1710(int i) { - anInt5996++; - if (i != 20014) method1782(-76, -103); - if (this.aClass348_Sub51_3136.method3428((byte) -105).method1458(-23688) < 96) return 0; - return 2; - } - - Class239_Sub15(Class348_Sub51 class348_sub51) { - super(class348_sub51); - Class126.method1114(this.anInt3138, -120); - } - - final int method1784(int i) { - anInt6000++; - if (i != -32350) return -82; - return this.anInt3138; - } - - public static void method1785(int i) { - aClass114_5997 = null; - if (i != 8) aClass114_5997 = null; - } - - final boolean method1786(int i) { - if (i < 85) method1784(-69); - anInt6001++; - return this.aClass348_Sub51_3136.method3428((byte) -104).method1458(-23688) >= 96; - } - - static final void method1787(int i, int i_22_) { - anInt6002++; - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i, (byte) 105, i_22_);//8 - class348_sub42_sub15.method3251(-16058); - } -} diff --git a/client/src/Class239_Sub16.java b/client/src/Class239_Sub16.java deleted file mode 100644 index 445c4d554..000000000 --- a/client/src/Class239_Sub16.java +++ /dev/null @@ -1,150 +0,0 @@ -/* Class239_Sub16 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class239_Sub16 extends Class239 { - static int anInt6007; - static int anInt6008; - static int anInt6009; - static int anInt6010; - static int anInt6011; - static int anInt6012 = 1; - static int anInt6013; - static int anInt6014; - static int anInt6015; - static int anInt6016; - static int anInt6017; - - static final String method1788(byte i, long l) { - try { - anInt6016++; - if (l <= 0L || l >= 6582952005840035281L) return null; - if (l % 37L == 0L) return null; - int i_0_ = 0; - long l_1_ = l; - int i_2_ = -20 % ((i - -6) / 62); - for (/**/; l_1_ != 0L; l_1_ /= 37L) - i_0_++; - StringBuffer stringbuffer = new StringBuffer(i_0_); - while (l != 0) { - long l_3_ = l; - l /= 37L; - char c = Class48.aCharArray852[(int) (l_3_ + -(37L * l))]; - if (c == 95) { - int i_4_ = stringbuffer.length() + -1; - stringbuffer.setCharAt(i_4_, Character.toUpperCase(stringbuffer.charAt(i_4_))); - c = '\u00a0'; - } - stringbuffer.append(c); - } - stringbuffer.reverse(); - stringbuffer.setCharAt(0, Character.toUpperCase(stringbuffer.charAt(0))); - return stringbuffer.toString(); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "sba.F(" + i + ',' + l + ')'); - } - } - - final int method1714(int i, int i_5_) { - if (i != 3) anInt6012 = -22; - anInt6014++; - if (i_5_ == 0 || this.aClass348_Sub51_3136.aClass239_Sub9_7256.method1759(i ^ ~0x7e5e) == 1) return 1; - return 2; - } - - final void method1716(boolean bool) { - if (bool != false) anInt6012 = 46; - if (this.anInt3138 != 0 && this.aClass348_Sub51_3136.aClass239_Sub9_7256.method1759(-32350) != 1) this.anInt3138 = 0; - anInt6007++; - if (this.anInt3138 < 0 || this.anInt3138 > 1) this.anInt3138 = method1710(20014); - } - - final int method1789(int i) { - if (i != -32350) anInt6008 = 32; - anInt6017++; - return this.anInt3138; - } - - Class239_Sub16(Class348_Sub51 class348_sub51) { - super(class348_sub51); - } - - final void method1712(int i, int i_6_) { - anInt6011++; - int i_7_ = -19 / ((i - 82) / 35); - this.anInt3138 = i_6_; - } - - final boolean method1790(int i) { - if (i < 85) anInt6012 = -109; - anInt6015++; - return true; - } - - Class239_Sub16(int i, Class348_Sub51 class348_sub51) { - super(i, class348_sub51); - } - - static final void method1791(int i, int[] is, int i_8_, Player player) { - do { - try { - anInt6009++; - if ((player.anIntArray10236) != null) { - boolean bool = true; - for (int i_9_ = 0; (player.anIntArray10236.length > i_9_); i_9_++) { - if ((player.anIntArray10236[i_9_]) != is[i_9_]) { - bool = false; - break; - } - } - if (bool && player.anInt10286 != -1) { - Class17 class17 = (Class10.aClass87_191.method835(player.anInt10286, 7)); - int i_10_ = class17.anInt248; - if (i_10_ == 1) { - player.anInt10232 = 0; - player.anInt10267 = 0; - player.anInt10294 = 0; - player.anInt10218 = i_8_; - player.anInt10244 = 1; - if (!player.aBoolean10309) Class287.method2178(player, player.anInt10267, class17, i ^ ~0x5df4); - } - if (i_10_ == 2) player.anInt10294 = 0; - } - } - boolean bool = true; - if (i != 23946) method1791(126, null, -73, null); - for (int i_11_ = 0; is.length > i_11_; i_11_++) { - if (is[i_11_] != -1) bool = false; - if (player.anIntArray10236 == null || (player.anIntArray10236[i_11_]) == -1 || (Class10.aClass87_191.method835((player.anIntArray10236[i_11_]), 7).anInt239 <= (Class10.aClass87_191.method835(is[i_11_], i ^ 0x5d8d).anInt239))) { - player.anInt10218 = i_8_; - player.anIntArray10236 = is; - break; - } - } - if (!bool) break; - player.anIntArray10236 = is; - player.anInt10218 = i_8_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("sba.E(" + i + ',' + (is != null ? "{...}" : "null") + ',' + i_8_ + ',' + (player != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - final int method1710(int i) { - if (i != 20014) method1789(40); - anInt6010++; - return 1; - } - - static final void method1792(int i, int i_12_, int i_13_, int i_14_, byte i_15_, int i_16_) { - anInt6013++; - int i_17_ = Class85.method831(Class38.anInt513, i, Class132.anInt1910, -90); - int i_18_ = Class85.method831(Class38.anInt513, i_13_, Class132.anInt1910, -94); - int i_19_ = Class85.method831(Class113.anInt1745, i_12_, Class369.anInt4960, 77); - int i_20_ = Class85.method831(Class113.anInt1745, i_14_, Class369.anInt4960, 59); - int i_21_ = -27 / ((i_15_ - -6) / 55); - for (int i_22_ = i_17_; i_22_ <= i_18_; i_22_++) - Class135_Sub2.method1156(-27, i_20_, Class17.anIntArrayArray255[i_22_], i_19_, i_16_); - } -} diff --git a/client/src/Class239_Sub17.java b/client/src/Class239_Sub17.java deleted file mode 100644 index 378175ce9..000000000 --- a/client/src/Class239_Sub17.java +++ /dev/null @@ -1,148 +0,0 @@ -/* Class239_Sub17 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class239_Sub17 extends Class239 { - static Class273 aClass273_6018 = new Class273("", 14); - static int anInt6019; - static int anInt6020; - static int[] anIntArray6021; - static int anInt6022; - static int anInt6023; - static int anInt6024; - static int anInt6025; - static int anInt6026; - static int anInt6027; - static int anInt6028; - - static final String method1793(byte[] is, int i, int i_0_, int i_1_) { - anInt6020++; - char[] cs = new char[i_1_]; - int i_2_ = 0; - if (i_0_ >= -82) return null; - int i_3_ = i; - int i_4_ = i_1_ + i; - while (i_4_ > i_3_) { - int i_5_ = 0xff & is[i_3_++]; - int i_6_; - if (i_5_ < 128) { - if (i_5_ == 0) i_6_ = 65533; - else i_6_ = i_5_; - } else if (i_5_ >= 192) { - if (i_5_ >= 224) { - if (i_5_ < 240) { - if (i_3_ + 1 < i_4_ && (is[i_3_] & 0xc0) == 128 && (0xc0 & is[1 + i_3_]) == 128) { - i_6_ = ((i_5_ & 0xf) << 12 | is[i_3_++] << 6 & 0xfc0 | is[i_3_++] & 0x3f); - if (i_6_ < 2048) i_6_ = 65533; - } else i_6_ = 65533; - } else if (i_5_ >= 248) i_6_ = 65533; - else if (i_4_ <= i_3_ - -2 || (0xc0 & is[i_3_]) != 128 || (0xc0 & is[1 + i_3_]) != 128 || (is[2 + i_3_] & 0xc0) != 128) i_6_ = 65533; - else { - i_6_ = (i_5_ << 18 & 0x1c0000 | (is[i_3_++] & 0x3f) << 12 | 0xfc0 & is[i_3_++] << 6 | 0x3f & is[i_3_++]); - if (i_6_ >= 65536 && i_6_ <= 1114111) i_6_ = 65533; - else i_6_ = 65533; - } - } else if (i_3_ >= i_4_ || (0xc0 & is[i_3_]) != 128) i_6_ = 65533; - else { - i_6_ = is[i_3_++] & 0x3f | i_5_ << 6 & 0x7c0; - if (i_6_ < 128) i_6_ = 65533; - } - } else i_6_ = 65533; - cs[i_2_++] = (char) i_6_; - } - return new String(cs, 0, i_2_); - } - - final int method1714(int i, int i_7_) { - anInt6023++; - if (i != 3) return 49; - return 1; - } - - final void method1712(int i, int i_8_) { - int i_9_ = -117 % ((82 - i) / 35); - this.anInt3138 = i_8_; - anInt6025++; - } - - public static void method1794(int i) { - if (i != 63) anIntArray6021 = null; - aClass273_6018 = null; - anIntArray6021 = null; - } - - final void method1716(boolean bool) { - if (bool != false) method1793(null, 50, -30, -126); - if (this.anInt3138 < 0 && this.anInt3138 > 4) this.anInt3138 = method1710(20014); - anInt6024++; - } - - static final String method1795(byte[] is, boolean bool) { - if (bool != true) method1797(4, -104, null, (byte) -82); - anInt6026++; - return Class367_Sub8.method3546(is, 0, is.length, 0); - } - - static final boolean method1796(int i, int i_10_) { - if (i < 53) return true; - anInt6019++; - return i_10_ == 18 || i_10_ == 6 || i_10_ == 1011 || i_10_ == 13 || i_10_ == 16; - } - - static final void method1797(int i, int i_11_, Class46 class46, byte i_12_) { - if (r.aBoolean9722) { - Class254 class254 = (Class246.anInt3176 != -1 ? Class101_Sub3.aClass326_5764.method2600(Class246.anInt3176, 28364) : null); - if (client.method105(class46).method3303(1) && (Class38.anInt500 & 0x20) != 0 && (class254 == null || (class46.method428(class254.anInt3256, Class246.anInt3176, -128) != class254.anInt3256))) { - Class31.anInt436++; - Class50_Sub3.method466(false, (Class28.aString5000 + " -> " + class46.aString752) + Loader.getDebug(class46.anInt830 >> 16, class46.anInt830 & 0xffff), class46.anInt830, (byte) -90, false, class46.anInt704, class46.anInt812, true, 6, class46.anInt830 | (class46.anInt704 << 0), Class28.aString5001, 0L, Class348_Sub49_Sub1.anInt9747); - } - } - anInt6022++; - for (int i_13_ = 9; i_13_ >= 5; i_13_--) { - String string = Class368.method3561(i_13_, class46, true); - if (string != null) { - Class50_Sub3.method466(false, class46.aString752 + Loader.getDebug(class46.anInt830 >> 16, class46.anInt830 & 0xffff), class46.anInt830, (byte) -122, false, class46.anInt704, class46.anInt812, true, 1011, (class46.anInt704 << 0) | class46.anInt830, string, 1 + i_13_, Class100.method888((byte) 57, i_13_, class46)); - Class335.anInt4169++; - } - } - String string = Class239_Sub8.method1753(0, class46); - if (string != null) { - Class50_Sub3.method466(false, class46.aString752 + Loader.getDebug(class46.anInt830 >> 16, class46.anInt830 & 0xffff), class46.anInt830, (byte) -83, false, class46.anInt704, class46.anInt812, true, 13, (class46.anInt704 << 0) | class46.anInt830, string, 0L, class46.anInt713); - Class178.anInt2340++; - } - if (i_12_ >= -55) method1793(null, -19, 70, -103); - for (int i_14_ = 4; i_14_ >= 0; i_14_--) { - String string_15_ = Class368.method3561(i_14_, class46, true); - if (string_15_ != null) { - Class50_Sub3.method466(false, class46.aString752, class46.anInt830, (byte) -67, false, class46.anInt704, class46.anInt812, true, 18, (class46.anInt704 << 0) | class46.anInt830, string_15_, 1 + i_14_, Class100.method888((byte) 57, i_14_, class46)); - Class335.anInt4169++; - } - } - if (client.method105(class46).method3305(0)) { - if (class46.aString816 != null) Class50_Sub3.method466(false, "", class46.anInt830, (byte) -118, false, class46.anInt704, class46.anInt812, true, 16, (class46.anInt704 << 0) | class46.anInt830, class46.aString816, 0L, -1); - else Class50_Sub3.method466(false, "", class46.anInt830, (byte) -79, false, class46.anInt704, class46.anInt812, true, 16, class46.anInt704 << 0 | class46.anInt830, Class274.aClass274_3492.method2063(Class348_Sub33.anInt6967, 544), 0L, -1); - Class348_Sub42_Sub15.anInt9655++; - } - } - - Class239_Sub17(Class348_Sub51 class348_sub51) { - super(class348_sub51); - } - - Class239_Sub17(int i, Class348_Sub51 class348_sub51) { - super(i, class348_sub51); - } - - final int method1798(int i) { - anInt6028++; - if (i != -32350) return 61; - return this.anInt3138; - } - - final int method1710(int i) { - if (i != 20014) aClass273_6018 = null; - anInt6027++; - if (this.aClass348_Sub51_3136.method3428((byte) -96).method1462(-113) > 1) return 4; - return 2; - } -} diff --git a/client/src/Class239_Sub18.java b/client/src/Class239_Sub18.java deleted file mode 100644 index 24a2e7fea..000000000 --- a/client/src/Class239_Sub18.java +++ /dev/null @@ -1,92 +0,0 @@ -/* Class239_Sub18 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.IOException; - -final class Class239_Sub18 extends Class239 { - static int anInt6029; - static Class251 aClass251_6030 = new Class251(); - static int anInt6031; - static int anInt6032; - static int anInt6033; - static int anInt6034; - static int[] anIntArray6035; - static int anInt6036; - static int anInt6037; - static int anInt6038; - - Class239_Sub18(int i, Class348_Sub51 class348_sub51) { - super(i, class348_sub51); - } - - public static void method1799(int i) { - int i_0_ = 51 / ((i - 33) / 40); - anIntArray6035 = null; - aClass251_6030 = null; - } - - final int method1714(int i, int i_1_) { - anInt6034++; - if (i != 3) return -46; - if (this.aClass348_Sub51_3136.method3425(-62)) return 3; - if (i_1_ == 0 || this.aClass348_Sub51_3136.aClass239_Sub9_7256.method1759(-32350) == 1) return 1; - return 2; - } - - final int method1710(int i) { - if (i != 20014) anIntArray6035 = null; - anInt6029++; - return 1; - } - - final int method1800(int i) { - anInt6031++; - if (i != -32350) anIntArray6035 = null; - return this.anInt3138; - } - - final void method1716(boolean bool) { - anInt6036++; - if (bool == false) { - if (this.aClass348_Sub51_3136.method3425(-94)) this.anInt3138 = 0; - if (this.anInt3138 < 0 && this.anInt3138 > 2) this.anInt3138 = method1710(20014); - } - } - - final boolean method1801(int i) { - if (i <= 85) method1800(90); - anInt6037++; - return !this.aClass348_Sub51_3136.method3425(-70); - } - - static final void method1802(int i) throws IOException { - if (Class348_Sub40_Sub8.aClass238_9165 != null && Class348_Sub34.anInt6969 > 0) { - int i_2_ = 0; - for (; ; ) { - Class348_Sub47 class348_sub47 = (Class348_Sub47) Class348_Sub40_Sub13.aClass262_9201.method1995(i ^ 0x4); - if (class348_sub47 == null) break; - Class348_Sub40_Sub8.aClass238_9165.method1706(0, i ^ 0x77, class348_sub47.anInt7119, (class348_sub47.aClass348_Sub49_Sub2_7116.aByteArray7154)); - i_2_ += class348_sub47.anInt7119; - Class348_Sub34.anInt6969 -= class348_sub47.anInt7119; - class348_sub47.method2715((byte) 74); - class348_sub47.aClass348_Sub49_Sub2_7116.method3360((byte) -69); - class348_sub47.method3326((byte) -45); - } - Class11.anInt193 = 0; - Class81.anInt1433 += i_2_; - } - if (i != 0) method1799(58); - anInt6038++; - } - - final void method1712(int i, int i_3_) { - this.anInt3138 = i_3_; - anInt6032++; - int i_4_ = 65 / ((82 - i) / 35); - } - - Class239_Sub18(Class348_Sub51 class348_sub51) { - super(class348_sub51); - } -} diff --git a/client/src/Class239_Sub19.java b/client/src/Class239_Sub19.java deleted file mode 100644 index 91374a3d9..000000000 --- a/client/src/Class239_Sub19.java +++ /dev/null @@ -1,66 +0,0 @@ -/* Class239_Sub19 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class239_Sub19 extends Class239 { - static int anInt6039; - static int anInt6040; - static int anInt6041; - static int anInt6042; - static int anInt6043; - static int anInt6044; - static int anInt6045; - static int anInt6046; - static int anInt6047; - - final int method1710(int i) { - anInt6041++; - if (i != 20014) return -14; - return 0; - } - - Class239_Sub19(Class348_Sub51 class348_sub51) { - super(class348_sub51); - } - - Class239_Sub19(int i, Class348_Sub51 class348_sub51) { - super(i, class348_sub51); - } - - final void method1716(boolean bool) { - anInt6045++; - if (bool != false) anInt6043 = 2; - } - - final int method1714(int i, int i_0_) { - if (i != 3) anInt6043 = 15; - anInt6039++; - return 1; - } - - static final void method1803(int i, String string, int i_1_) { - anInt6047++; - if (i_1_ != -32394) method1803(93, null, 106); - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i, (byte) 105, 3); - class348_sub42_sub15.method3246(i_1_ ^ 0x1d18); - class348_sub42_sub15.aString9654 = string; - } - - final void method1712(int i, int i_2_) { - anInt6046++; - this.anInt3138 = i_2_; - int i_3_ = -25 / ((82 - i) / 35); - } - - static final void method1804(int i) { - Class348_Sub42_Sub10.method3211((byte) 60); - if (i != 8839) anInt6042 = 63; - anInt6040++; - } - - final int method1805(int i) { - if (i != -32350) return -40; - anInt6044++; - return this.anInt3138; - } -} diff --git a/client/src/Class239_Sub2.java b/client/src/Class239_Sub2.java deleted file mode 100644 index a951bf8e8..000000000 --- a/client/src/Class239_Sub2.java +++ /dev/null @@ -1,98 +0,0 @@ -/* Class239_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class239_Sub2 extends Class239 { - static int anInt5851; - static int anInt5852; - static int anInt5853; - static int anInt5854; - static int anInt5855; - static int anInt5856; - static Class105[] aClass105Array5857; - - final int method1714(int i, int i_0_) { - anInt5851++; - if (i != 3) return -26; - return 3; - } - - final void method1716(boolean bool) { - anInt5854++; - this.anInt3138 = method1710(20014); - if (bool != false) aClass105Array5857 = null; - } - - final int method1710(int i) { - if (i != 20014) method1716(true); - anInt5853++; - if (!this.aClass348_Sub51_3136.method3425(-76)) return 0; - return 1; - } - - Class239_Sub2(Class348_Sub51 class348_sub51) { - super(class348_sub51); - } - - public static void method1724(int i) { - aClass105Array5857 = null; - if (i != -4) aClass105Array5857 = null; - } - - static final void method1725(int i) { - anInt5855++; - int i_1_ = 1024; - int i_2_ = 3072; - if (Class305.aBoolean3870) { - i_2_ = 4096; - if (Class348_Sub49_Sub1.aBoolean9746) i_1_ = 2048; - } - if (Class76.aFloat1287 < (float) i_1_) Class76.aFloat1287 = (float) i_1_; - if (Class76.aFloat1287 > (float) i_2_) Class76.aFloat1287 = (float) i_2_; - for (/**/; Class314.aFloat3938 >= 16384.0F; Class314.aFloat3938 -= 16384.0F) { - /* empty */ - } - for (/**/; Class314.aFloat3938 < 0.0F; Class314.aFloat3938 += 16384.0F) { - /* empty */ - } - int i_3_ = Class130_Sub1.anInt5799 >> 9; - int i_4_ = Class192.anInt2578 >> 9; - int i_5_ = Class275.method2064(Class130_Sub1.anInt5799, Class355.anInt4372, 11219, Class192.anInt2578); - int i_6_ = 0; - if (i_3_ > 3 && i_4_ > 3 && -4 + Class367_Sub4.anInt7319 > i_3_ && Class348_Sub40_Sub3.anInt9109 - 4 > i_4_) { - for (int i_7_ = i_3_ - 4; i_3_ - -4 >= i_7_; i_7_++) { - for (int i_8_ = -4 + i_4_; i_8_ <= 4 + i_4_; i_8_++) { - int i_9_ = Class355.anInt4372; - if (i_9_ < 3 && Class79.method802(i_8_, i_7_, true)) i_9_++; - int i_10_ = 0; - if ((Class338.aClass237_Sub1_4197.aByteArrayArrayArray3104) != null && (Class338.aClass237_Sub1_4197.aByteArrayArrayArray3104[i_9_]) != null) i_10_ = 8 * ((Class338.aClass237_Sub1_4197.aByteArrayArrayArray3104[i_9_][i_7_][i_8_]) & 0xff) << 2; - if (aa_Sub1.aSArray5191 != null && aa_Sub1.aSArray5191[i_9_] != null) { - int i_11_ = (i_5_ + i_10_ + -aa_Sub1.aSArray5191[i_9_].method3982((byte) -86, i_8_, i_7_)); - if (i_6_ < i_11_) i_6_ = i_11_; - } - } - } - } - int i_12_ = 1536 * (i_6_ >> 2); - if (i_12_ > 786432) i_12_ = 786432; - if (i_12_ < i) i_12_ = 262144; - if (Class348_Sub35.anInt6979 < i_12_) Class348_Sub35.anInt6979 += (i_12_ - Class348_Sub35.anInt6979) / 24; - else if (Class348_Sub35.anInt6979 > i_12_) Class348_Sub35.anInt6979 += (-Class348_Sub35.anInt6979 + i_12_) / 80; - } - - final void method1712(int i, int i_13_) { - int i_14_ = 87 / ((82 - i) / 35); - this.anInt3138 = i_13_; - anInt5852++; - } - - final int method1726(int i) { - anInt5856++; - if (i != -32350) aClass105Array5857 = null; - return this.anInt3138; - } - - Class239_Sub2(int i, Class348_Sub51 class348_sub51) { - super(i, class348_sub51); - } -} diff --git a/client/src/Class239_Sub20.java b/client/src/Class239_Sub20.java deleted file mode 100644 index 716ca953f..000000000 --- a/client/src/Class239_Sub20.java +++ /dev/null @@ -1,67 +0,0 @@ -/* Class239_Sub20 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class239_Sub20 extends Class239 { - static int anInt6048 = 0; - static int anInt6049; - static int anInt6050; - static int anInt6051; - static int anInt6052; - static int anInt6053; - static int[][] anIntArrayArray6054 = {{12, 12, 12, 12}, {12, 12, 12, 12}, {5, 5, 5}, {5, 5, 5}, {5, 5, 5}, {5, 5, 5}, {12, 12, 12, 12, 12, 12}, {1, 1, 1, 7}, {1, 1, 7, 1}, {8, 9, 9, 8, 8, 9}, {8, 8, 9, 8, 9, 9}, {10, 10, 11, 11, 11, 10}, {12, 12, 12, 12}}; - static int anInt6055; - static Class114 aClass114_6056 = new Class114(26, 11); - - final int method1710(int i) { - if (i != 20014) return -9; - anInt6055++; - return 0; - } - - final int method1714(int i, int i_0_) { - anInt6051++; - if (!Class348.method2714(7351, this.aClass348_Sub51_3136.aClass239_Sub25_7271.method1829(-32350))) return 3; - if (i != 3) method1807((byte) 64); - return 1; - } - - Class239_Sub20(int i, Class348_Sub51 class348_sub51) { - super(i, class348_sub51); - } - - final boolean method1806(int i) { - if (i < 85) method1714(-53, -119); - anInt6049++; - return Class348.method2714(7351, this.aClass348_Sub51_3136.aClass239_Sub25_7271.method1829(-32350)); - } - - public static void method1807(byte i) { - anIntArrayArray6054 = null; - if (i != -121) anIntArrayArray6054 = null; - aClass114_6056 = null; - } - - Class239_Sub20(Class348_Sub51 class348_sub51) { - super(class348_sub51); - } - - final int method1808(int i) { - anInt6053++; - if (i != -32350) anInt6048 = -97; - return this.anInt3138; - } - - final void method1712(int i, int i_1_) { - int i_2_ = 38 / ((82 - i) / 35); - anInt6052++; - this.anInt3138 = i_1_; - } - - final void method1716(boolean bool) { - anInt6050++; - if (bool != false) method1714(-51, -128); - if (this.aClass348_Sub51_3136.aClass239_Sub25_7271.method1830((byte) -123) && !Class348.method2714(7351, this.aClass348_Sub51_3136.aClass239_Sub25_7271.method1829(-32350))) this.anInt3138 = 0; - if (this.anInt3138 < 0 || this.anInt3138 > 2) this.anInt3138 = method1710(20014); - } -} diff --git a/client/src/Class239_Sub21.java b/client/src/Class239_Sub21.java deleted file mode 100644 index 15176351c..000000000 --- a/client/src/Class239_Sub21.java +++ /dev/null @@ -1,183 +0,0 @@ -/* Class239_Sub21 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class239_Sub21 extends Class239 { - static int anInt6057; - static Class114 aClass114_6058; - static int anInt6059; - static int anInt6060; - static int[] anIntArray6061; - static int[] anIntArray6062 = new int[3]; - static int anInt6063; - static int anInt6064; - static int anInt6065; - static Class318_Sub1[] aClass318_Sub1Array6066; - static int anInt6067; - static int anInt6068; - static int anInt6069; - - final int method1710(int i) { - anInt6065++; - if (i != 20014) return -81; - return 1; - } - - final boolean method1809(int i) { - anInt6063++; - if (i < 85) method1813(11, 68); - return !this.aClass348_Sub51_3136.method3425(-104); - } - - static final void method1810(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_) { - if (i_5_ != 8 && i_5_ != 16) { - Class357 class357 = Class147.aClass357ArrayArrayArray2029[i_4_][i][i_2_]; - if (class357 == null) class357 = new Class357(i_4_); - if (i_5_ == 1) { - class357.aShort4401 = (short) i_0_; - class357.aShort4409 = (short) i_1_; - } else if (i_5_ == 2) { - class357.aShort4398 = (short) i_1_; - class357.aShort4397 = (short) i_0_; - } - if (Class50_Sub1.aBoolean5226) Class286_Sub3.method2152(false); - } else if (i_5_ == 8) { - int i_12_ = i << Class362.anInt4459; - int i_13_ = Class270.anInt3465 + i_12_; - int i_14_ = i_2_ << Class362.anInt4459; - int i_15_ = Class270.anInt3465 + i_14_; - int i_16_ = Class348_Sub1_Sub1.aSArray8801[i_4_].method3982((byte) -86, i_2_, i); - int i_17_ = Class348_Sub1_Sub1.aSArray8801[i_4_].method3982((byte) -86, 1 + i_2_, i - -1); - Class294.aClass338Array5060[Class348_Sub44.anInt7101++] = new Class338(i_5_, i_4_, i_12_, i_13_, i_13_, i_12_, i_16_, i_17_, -i_1_ + i_17_, -i_1_ + i_16_, i_14_, i_15_, i_15_, i_14_); - } else { - int i_6_ = Class270.anInt3465 + (i << Class362.anInt4459); - int i_7_ = -Class270.anInt3465 + i_6_; - int i_8_ = i_2_ << Class362.anInt4459; - int i_9_ = i_8_ + Class270.anInt3465; - int i_10_ = Class348_Sub1_Sub1.aSArray8801[i_4_].method3982((byte) -86, i_2_, i + 1); - int i_11_ = Class348_Sub1_Sub1.aSArray8801[i_4_].method3982((byte) -86, 1 + i_2_, i); - Class294.aClass338Array5060[Class348_Sub44.anInt7101++] = new Class338(i_5_, i_4_, i_6_, i_7_, i_7_, i_6_, i_10_, i_11_, -i_1_ + i_11_, i_10_ - i_1_, i_8_, i_9_, i_9_, i_8_); - } - if (i_3_ != -1) method1811(31, null, 115, null); - anInt6067++; - } - - static final int method1811(int i, String string, int i_18_, String string_19_) { - try { - anInt6060++; - int i_20_ = string_19_.length(); - int i_21_ = string.length(); - int i_22_ = 0; - int i_23_ = 0; - char c = '\0'; - char c_24_ = '\0'; - while_81_: - do { - char c_25_; - char c_26_; - for (; ; ) { - if (-c + i_22_ >= i_20_ && -c_24_ + i_23_ >= i_21_) break while_81_; - if (-c + i_22_ >= i_20_) return -1; - if (i_21_ <= -c_24_ + i_23_) return 1; - if (c != 0) { - c_25_ = c; - boolean bool = false; - } else c_25_ = string_19_.charAt(i_22_++); - if (c_24_ != 0) { - c_26_ = c_24_; - boolean bool = false; - } else c_26_ = string.charAt(i_23_++); - c = Class105_Sub2.method990(c_25_, (byte) -39); - c_24_ = Class105_Sub2.method990(c_26_, (byte) -127); - c_25_ = Class239_Sub10.method1765(c_25_, i_18_, 105); - c_26_ = Class239_Sub10.method1765(c_26_, i_18_, 105); - if (c_25_ != c_26_ && (Character.toUpperCase(c_26_) != Character.toUpperCase(c_25_))) { - c_25_ = Character.toLowerCase(c_25_); - c_26_ = Character.toLowerCase(c_26_); - if (c_25_ != c_26_) break; - } - } - return (Class113.method1056(i_18_, 30316, c_25_) + -Class113.method1056(i_18_, i ^ 0x55ac, c_26_)); - } while (false); - int i_27_ = Math.min(i_20_, i_21_); - for (int i_28_ = 0; i_27_ > i_28_; i_28_++) { - if (i_18_ == 2) { - i_23_ = -i_28_ + (i_21_ - 1); - i_22_ = i_20_ - (1 - -i_28_); - } else i_22_ = i_23_ = i_28_; - char c_29_ = string_19_.charAt(i_22_); - char c_30_ = string.charAt(i_23_); - if (c_29_ != c_30_ && (Character.toUpperCase(c_29_) != Character.toUpperCase(c_30_))) { - c_29_ = Character.toLowerCase(c_29_); - c_30_ = Character.toLowerCase(c_30_); - if (c_30_ != c_29_) return (Class113.method1056(i_18_, 30316, c_29_) + -Class113.method1056(i_18_, 30316, c_30_)); - } - } - if (i != 9152) method1810(-67, 60, -16, -117, -17, -84, 39); - int i_31_ = -i_21_ + i_20_; - if (i_31_ != 0) return i_31_; - for (int i_32_ = 0; i_27_ > i_32_; i_32_++) { - char c_33_ = string_19_.charAt(i_32_); - char c_34_ = string.charAt(i_32_); - if (c_34_ != c_33_) return (Class113.method1056(i_18_, 30316, c_33_) - Class113.method1056(i_18_, 30316, c_34_)); - } - return 0; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("vu.F(" + i + ',' + (string != null ? "{...}" : "null") + ',' + i_18_ + ',' + (string_19_ != null ? "{...}" : "null") + ')')); - } - } - - final void method1712(int i, int i_35_) { - this.anInt3138 = i_35_; - anInt6059++; - int i_36_ = -103 % ((i - 82) / 35); - } - - final int method1714(int i, int i_37_) { - if (i != 3) return 91; - anInt6064++; - if (this.aClass348_Sub51_3136.method3425(i ^ ~0x4b)) return 3; - return 1; - } - - Class239_Sub21(Class348_Sub51 class348_sub51) { - super(class348_sub51); - } - - final void method1716(boolean bool) { - if (this.aClass348_Sub51_3136.method3425(-112)) this.anInt3138 = 0; - anInt6057++; - if (bool != false) aClass318_Sub1Array6066 = null; - if (this.anInt3138 != 1 && this.anInt3138 != 0) this.anInt3138 = method1710(20014); - } - - Class239_Sub21(int i, Class348_Sub51 class348_sub51) { - super(i, class348_sub51); - } - - final int method1812(int i) { - if (i != -32350) anIntArray6062 = null; - anInt6068++; - return this.anInt3138; - } - - static final boolean method1813(int i, int i_38_) { - anInt6069++; - if (i != 8806) method1813(-86, 33); - if (i_38_ == 3 || i_38_ == 4 || i_38_ == 9 || i_38_ == 59 || i_38_ == 1007) return true; - return i_38_ == 2 || i_38_ == 1001; - } - - public static void method1814(byte i) { - aClass318_Sub1Array6066 = null; - anIntArray6062 = null; - int i_39_ = 41 % ((i - -32) / 32); - anIntArray6061 = null; - aClass114_6058 = null; - } - - static { - anIntArray6061 = new int[32]; - aClass114_6058 = new Class114(46, -1); - } -} diff --git a/client/src/Class239_Sub22.java b/client/src/Class239_Sub22.java deleted file mode 100644 index 14c802d02..000000000 --- a/client/src/Class239_Sub22.java +++ /dev/null @@ -1,56 +0,0 @@ -/* Class239_Sub22 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class239_Sub22 extends Class239 { - static int anInt6070; - static int anInt6071; - static int anInt6072; - static int anInt6073; - static int anInt6074; - static Class114 aClass114_6075 = new Class114(89, 0); - static int anInt6076; - - final int method1710(int i) { - anInt6072++; - if (i != 20014) return 63; - return 1; - } - - final void method1716(boolean bool) { - if (this.anInt3138 != 1 && this.anInt3138 != 0) this.anInt3138 = method1710(20014); - anInt6070++; - if (bool != false) anInt6076 = 59; - } - - final void method1712(int i, int i_0_) { - anInt6074++; - this.anInt3138 = i_0_; - int i_1_ = 126 / ((82 - i) / 35); - } - - Class239_Sub22(Class348_Sub51 class348_sub51) { - super(class348_sub51); - } - - final int method1815(int i) { - if (i != -32350) method1816(84); - anInt6071++; - return this.anInt3138; - } - - Class239_Sub22(int i, Class348_Sub51 class348_sub51) { - super(class348_sub51); - } - - public static void method1816(int i) { - aClass114_6075 = null; - if (i != 1) aClass114_6075 = null; - } - - final int method1714(int i, int i_2_) { - anInt6073++; - if (i != 3) anInt6076 = -121; - return 1; - } -} diff --git a/client/src/Class239_Sub23.java b/client/src/Class239_Sub23.java deleted file mode 100644 index 3ae7b15b8..000000000 --- a/client/src/Class239_Sub23.java +++ /dev/null @@ -1,72 +0,0 @@ -/* Class239_Sub23 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class239_Sub23 extends Class239 { - static int anInt6077; - static int anInt6078; - static int anInt6079; - static int anInt6080; - static int anInt6081; - static int anInt6082; - static int anInt6083; - - final int method1710(int i) { - anInt6077++; - if (i != 20014) return -71; - if (!this.aClass348_Sub51_3136.method3425(-109)) { - if (this.aClass348_Sub51_3136.aClass239_Sub25_7271.method1830((byte) -107) && Class14_Sub4.method252(this.aClass348_Sub51_3136.aClass239_Sub25_7271.method1829(-32350), 5126)) return 1; - return 0; - } - return 2; - } - - Class239_Sub23(int i, Class348_Sub51 class348_sub51) { - super(i, class348_sub51); - } - - final void method1716(boolean bool) { - if (bool == false) { - if (this.aClass348_Sub51_3136.method3425(-68)) this.anInt3138 = 2; - anInt6079++; - if (this.anInt3138 < 0 || this.anInt3138 > 2) this.anInt3138 = method1710(20014); - } - } - - final boolean method1817(int i) { - if (i < 85) return false; - anInt6078++; - return !this.aClass348_Sub51_3136.method3425(-108); - } - - final int method1818(int i) { - if (i != -32350) return 29; - anInt6082++; - return this.anInt3138; - } - - final int method1714(int i, int i_0_) { - if (i != 3) method1716(true); - anInt6080++; - if (this.aClass348_Sub51_3136.method3425(-109)) return 3; - return 1; - } - - static final Class143 method1819(int i, int i_1_, int i_2_, Class45 class45) { - anInt6081++; - byte[] is = class45.method410(-1860, i, i_1_); - if (i_2_ >= -31) method1819(65, -4, -97, null); - if (is == null) return null; - return new Class143(is); - } - - final void method1712(int i, int i_3_) { - anInt6083++; - this.anInt3138 = i_3_; - int i_4_ = 7 % ((82 - i) / 35); - } - - Class239_Sub23(Class348_Sub51 class348_sub51) { - super(class348_sub51); - } -} diff --git a/client/src/Class239_Sub24.java b/client/src/Class239_Sub24.java deleted file mode 100644 index 0e39f63ec..000000000 --- a/client/src/Class239_Sub24.java +++ /dev/null @@ -1,363 +0,0 @@ -/* Class239_Sub24 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.File; - -final class Class239_Sub24 extends Class239 { - static int anInt6084; - static int anInt6085; - static int anInt6086; - static int anInt6087; - static int anInt6088; - static Class114 aClass114_6089 = new Class114(41, 3); - static int anInt6090; - static int anInt6091; - static int anInt6092; - static String[][] aStringArrayArray6093 = {{"M1", "M2", "S1", "F"}, {"M1", "M2", "M3", "S1", "S2", "F"}, {"M1", "M2", "M3", "M4", "S1", "S2", "S3", "F"}}; - static int anInt6094; - static int anInt6095; - static Class60 aClass60_6096 = new Class60(8); - static Class105 aClass105_6097; - static Class299 aClass299_6098; - - final void method1712(int i, int i_0_) { - int i_1_ = -73 % ((i - 82) / 35); - this.anInt3138 = i_0_; - anInt6085++; - } - - Class239_Sub24(Class348_Sub51 class348_sub51) { - super(class348_sub51); - } - - final int method1820(int i) { - if (i != -32350) return -43; - anInt6091++; - return this.anInt3138; - } - - static final byte[] method1821(int i, File file) { - anInt6086++; - int i_2_ = 34 % ((i - 31) / 39); - return Class327.method2607((int) file.length(), file, 121); - } - - public static void method1822(byte i) { - aClass114_6089 = null; - aClass60_6096 = null; - aClass105_6097 = null; - aStringArrayArray6093 = null; - aClass299_6098 = null; - if (i != 110) aClass299_6098 = null; - } - - final int method1710(int i) { - if (i != 20014) return -20; - anInt6084++; - return 1; - } - - final int method1714(int i, int i_3_) { - anInt6092++; - if (this.aClass348_Sub51_3136.method3422(674) == Class10.aClass230_186) { - if (this.aClass348_Sub51_3136.method3425(i + -70)) return 3; - if (i_3_ == 0 || this.aClass348_Sub51_3136.aClass239_Sub9_7256.method1759(-32350) == 1) return 1; - return 2; - } - if (i != 3) method1716(true); - return 3; - } - - static final void method1823(ha var_ha, int i, int i_4_, byte i_5_) { - anInt6088++; - int i_6_ = 56 % ((68 - i_5_) / 58); - if (i >= 0 && i_4_ >= 0 && Class18.anInt282 != 0 && Class305.anInt3861 != 0) { - Class101 class101; - int i_7_; - int i_8_; - int i_9_; - int i_10_; - int i_11_; - int i_12_; - if (Class59_Sub1.aBoolean5300) { - Class107.method1010(false, false); - class101 = var_ha.method3640(); - int[] is = var_ha.Y(); - i_7_ = is[0]; - i_8_ = is[1]; - i_9_ = is[3]; - i_10_ = is[2]; - i_11_ = i + Class121.method1082(-81, false); - i_12_ = Class348_Sub23.method2960(false, -52) + i_4_; - } else { - var_ha.DA(Class336.anInt4171, Class205.anInt2688, Class18.anInt282, Class305.anInt3861); - i_8_ = Class205.anInt2688; - i_9_ = Class305.anInt3861; - i_7_ = Class336.anInt4171; - i_10_ = Class18.anInt282; - var_ha.KA(Class120.anInt4911, Class238_Sub1.anInt5832, Class18.anInt282, Class305.anInt3861); - class101 = var_ha.method3654(); - class101.method903(Class14_Sub4.anInt8633, Class59_Sub2_Sub1.anInt8668, Class43.anInt620, Class348_Sub44.anInt7092, Class281.anInt3650, Class348_Sub51.anInt7244); - var_ha.method3638(class101); - i_12_ = i_4_; - i_11_ = i; - } - Class226.method1626(1, true); - if (i_10_ == 0) i_10_ = 1; - if (i_9_ == 0) i_9_ = 1; - if (Class348_Sub1_Sub1.aSArray8801 != null && (!r.aBoolean9722 || (0x40 & Class38.anInt500) != 0)) { - int i_13_ = -1; - int i_14_ = -1; - int i_15_ = var_ha.i(); - int i_16_ = var_ha.XA(); - int i_17_; - int i_18_; - int i_19_; - int i_20_; - if (Class305.aBoolean3870) { - i_17_ = i_18_ = Class132.anInt1906 * (-i_7_ + i_11_) / i_10_; - i_19_ = i_20_ = Class132.anInt1906 * (-i_8_ + i_12_) / i_9_; - } else { - i_17_ = i_15_ * (-i_7_ + i_11_) / i_10_; - i_19_ = i_15_ * (i_12_ + -i_8_) / i_9_; - i_20_ = i_16_ * (-i_8_ + i_12_) / i_9_; - i_18_ = (i_11_ - i_7_) * i_16_ / i_10_; - } - int[] is = {i_17_, i_19_, i_15_}; - int[] is_21_ = {i_18_, i_20_, i_16_}; - class101.method890(is); - class101.method890(is_21_); - float f = Class108.method1012((float) is[1], (float) is_21_[0], (float) is[2], (float) is_21_[2], 4, (float) is[0], (byte) 123, (float) is_21_[1]); - if (f > 0.0F) { - int i_22_ = is_21_[0] + -is[0]; - int i_23_ = -is[2] + is_21_[2]; - int i_24_ = (int) ((float) is[0] + (float) i_22_ * f); - int i_25_ = (int) ((float) is[2] + (float) i_23_ * f); - i_13_ = (Class132.aPlayer_1907.method2436((byte) 71) + -1 << 8) + i_24_ >> 9; - i_14_ = i_25_ - -(Class132.aPlayer_1907.method2436((byte) 73) + -1 << 8) >> 9; - int i_26_ = (Class132.aPlayer_1907.plane); - if (i_26_ < 3 && ((0x2 & (Class348_Sub33.aByteArrayArrayArray6962[1][i_24_ >> 9][i_25_ >> 9])) != 0)) i_26_++; - } - if (i_13_ != -1 && i_14_ != -1) { - if (!r.aBoolean9722 || (0x40 & Class38.anInt500) == 0) { - if (Class122.aBoolean1801) Class50_Sub3.method466(false, "", i_14_, (byte) -109, true, i_13_, -1, true, 12, i_14_ | i_13_ << 0, (Class274.aClass274_3510.method2063(Class348_Sub33.anInt6967, 544)), 0L, -1); - Class352.anInt4334++; - Class50_Sub3.method466(false, "", i_14_, (byte) -82, true, i_13_, -1, true, 19, i_14_ | i_13_ << 0, Class239_Sub4.aString5882, 0L, Class333.anInt4144); - } else { - Class46 class46 = Class348_Sub22.method2957(Class9.anInt169, (byte) -54, Class149.anInt2046); - if (class46 == null) Class341.method2678(-2049); - else Class50_Sub3.method466(false, " ->", i_14_, (byte) -101, true, i_13_, -1, true, 15, i_13_ << 0 | i_14_, Class28.aString5001, 0L, (Class348_Sub49_Sub1.anInt9747)); - } - } - } - if (Class59_Sub1.aBoolean5300) Class285_Sub1.method2129((byte) 86); - for (int i_27_ = 0; (i_27_ < (!Class59_Sub1.aBoolean5300 ? 1 : 2)); i_27_++) { - boolean bool = i_27_ == 0; - Class76 class76 = (bool ? Class71.aClass76_1208 : Class348_Sub42_Sub8_Sub2.aClass76_10436); - int i_28_ = i; - int i_29_ = i_4_; - if (Class59_Sub1.aBoolean5300) { - Class107.method1010(false, bool); - i_28_ += Class121.method1082(-92, bool); - i_29_ += Class348_Sub23.method2960(bool, -48); - } - Class243 class243 = class76.aClass243_1282; - for (Class318_Sub4 class318_sub4 = (Class318_Sub4) class243.method1872(8); class318_sub4 != null; class318_sub4 = (Class318_Sub4) class243.method1878((byte) -123)) { - if ((RuntimeException_Sub1.aBoolean4599 || ((Class132.aPlayer_1907.plane) == class318_sub4.aClass318_Sub1_6410.plane)) && class318_sub4.method2504(i_29_, i_28_, var_ha, -115)) { - boolean bool_30_ = false; - boolean bool_31_ = false; - int i_32_; - int i_33_; - if (class318_sub4.aClass318_Sub1_6410 instanceof Class318_Sub1_Sub3) { - i_32_ = ((Class318_Sub1_Sub3) class318_sub4.aClass318_Sub1_6410).aShort8750; - i_33_ = ((Class318_Sub1_Sub3) class318_sub4.aClass318_Sub1_6410).aShort8743; - } else { - i_32_ = (class318_sub4.aClass318_Sub1_6410.y >> 9); - i_33_ = (class318_sub4.aClass318_Sub1_6410.x >> 9); - } - if (class318_sub4.aClass318_Sub1_6410 instanceof Player) { - Player player = ((Player) (class318_sub4.aClass318_Sub1_6410)); - int i_34_ = player.method2436((byte) 78); - if (((0x1 & i_34_) == 0 && (0x1ff & (player.x)) == 0 && (0x1ff & (player.y)) == 0) || ((i_34_ & 0x1) == 1 && ((player.x) & 0x1ff) == 256 && ((player.y) & 0x1ff) == 256)) { - int i_35_ = (player.x - (-1 + player.method2436((byte) 82) << 8)); - int i_36_ = (player.y + -(-1 + player.method2436((byte) 105) << 8)); - for (int i_37_ = 0; (Class150.anInt2057 > i_37_); i_37_++) { - Class348_Sub22 class348_sub22 = ((Class348_Sub22) (Class282.aClass356_3654.method3480(Class74.anIntArray1233[i_37_], -6008))); - if (class348_sub22 != null) { - Npc npc = (class348_sub22.aNpc_6859); - if ((Class367_Sub11.anInt7396 != (npc.anInt10215)) && (npc.aBoolean10309)) { - int i_38_ = ((npc.x) - ((npc.aClass79_10505.anInt1399) + -1 << 8)); - int i_39_ = (-((-1 + (npc.aClass79_10505.anInt1399)) << 8) + (npc.y)); - if (i_35_ <= i_38_ && ((-(i_38_ + -i_35_ >> 9) + (player.method2436((byte) 68))) >= (npc.aClass79_10505.anInt1399)) && i_36_ <= i_39_ && ((-(-i_36_ + i_39_ >> 9) + (player.method2436((byte) 97))) >= (npc.aClass79_10505.anInt1399))) { - Class286_Sub3.method2150(((class318_sub4.aClass318_Sub1_6410.plane) != (Class132.aPlayer_1907.plane)), false, npc); - npc.anInt10215 = Class367_Sub11.anInt7396; - } - } - } - } - int i_40_ = Class328_Sub1.anInt6513; - int[] is = Class286_Sub7.anIntArray6290; - for (int i_41_ = 0; (i_40_ > i_41_); i_41_++) { - Player player_42_ = (Class294.aPlayerArray5058[is[i_41_]]); - if ((player_42_ != null) && (Class367_Sub11.anInt7396 != (player_42_.anInt10215)) && (player != player_42_) && (player_42_.aBoolean10309)) { - int i_43_ = ((player_42_.x) + -((player_42_.method2436((byte) 94) - 1) << 8)); - int i_44_ = ((player_42_.y) + -((-1 + (player_42_.method2436((byte) 82))) << 8)); - if ((i_43_ >= i_35_) && ((player.method2436((byte) 70) - (-i_35_ + i_43_ >> 9)) >= player_42_.method2436((byte) 89)) && (i_44_ >= i_36_) && ((player.method2436((byte) 42) - (i_44_ - i_36_ >> 9)) >= player_42_.method2436((byte) 127))) { - Class348_Sub43.method3298((byte) 114, ((class318_sub4.aClass318_Sub1_6410.plane) != (Class132.aPlayer_1907.plane)), player_42_); - player_42_.anInt10215 = Class367_Sub11.anInt7396; - } - } - } - } - if (Class367_Sub11.anInt7396 == player.anInt10215) continue; - Class348_Sub43.method3298((byte) 96, ((Class132.aPlayer_1907.plane) != class318_sub4.aClass318_Sub1_6410.plane), player); - player.anInt10215 = Class367_Sub11.anInt7396; - } - if (class318_sub4.aClass318_Sub1_6410 instanceof Npc) { - Npc npc = ((Npc) (class318_sub4.aClass318_Sub1_6410)); - if (npc.aClass79_10505 != null) { - if (((npc.aClass79_10505.anInt1399 & 0x1) == 0 && (0x1ff & (npc.x)) == 0 && (0x1ff & (npc.y)) == 0) || ((0x1 & npc.aClass79_10505.anInt1399) == 1 && (0x1ff & (npc.x)) == 256 && ((npc.y) & 0x1ff) == 256)) { - int i_45_ = ((npc.x) - ((-1 + npc.aClass79_10505.anInt1399) << 8)); - int i_46_ = ((npc.y) - (npc.aClass79_10505.anInt1399 - 1 << 8)); - for (int i_47_ = 0; i_47_ < Class150.anInt2057; i_47_++) { - Class348_Sub22 class348_sub22 = ((Class348_Sub22) (Class282.aClass356_3654.method3480(Class74.anIntArray1233[i_47_], -6008))); - if (class348_sub22 != null) { - Npc npc_48_ = (class348_sub22.aNpc_6859); - if (((npc_48_.anInt10215) != Class367_Sub11.anInt7396) && (npc != npc_48_) && (npc_48_.aBoolean10309)) { - int i_49_ = (-((npc_48_.aClass79_10505.anInt1399) - 1 << 8) + (npc_48_.x)); - int i_50_ = ((npc_48_.y) + -((npc_48_.aClass79_10505.anInt1399) - 1 << 8)); - if (i_49_ >= i_45_ && ((npc_48_.aClass79_10505.anInt1399) <= ((npc.aClass79_10505.anInt1399) - (-i_45_ + i_49_ >> 9))) && (i_46_ <= i_50_) && ((npc_48_.aClass79_10505.anInt1399) <= ((npc.aClass79_10505.anInt1399) + -(i_50_ + -i_46_ >> 9)))) { - Class286_Sub3.method2150(((class318_sub4.aClass318_Sub1_6410.plane) != (Class132.aPlayer_1907.plane)), false, npc_48_); - npc_48_.anInt10215 = (Class367_Sub11.anInt7396); - } - } - } - } - int i_51_ = Class328_Sub1.anInt6513; - int[] is = Class286_Sub7.anIntArray6290; - for (int i_52_ = 0; (i_51_ > i_52_); i_52_++) { - Player player = (Class294.aPlayerArray5058[is[i_52_]]); - if ((player != null) && (Class367_Sub11.anInt7396 != (player.anInt10215)) && (player.aBoolean10309)) { - int i_53_ = ((player.x) - ((-1 + (player.method2436((byte) 116))) << 8)); - int i_54_ = ((player.y) + -((player.method2436((byte) 121)) + -1 << 8)); - if ((i_53_ >= i_45_) && ((-(-i_45_ + i_53_ >> 9) + (npc.aClass79_10505.anInt1399)) >= player.method2436((byte) 114)) && (i_54_ >= i_46_) && (player.method2436((byte) 58) <= ((npc.aClass79_10505.anInt1399) - (i_54_ + -i_46_ >> 9)))) { - Class348_Sub43.method3298((byte) 125, ((class318_sub4.aClass318_Sub1_6410.plane) != (Class132.aPlayer_1907.plane)), player); - player.anInt10215 = Class367_Sub11.anInt7396; - } - } - } - } - if (Class367_Sub11.anInt7396 == npc.anInt10215) continue; - Class286_Sub3.method2150((class318_sub4.aClass318_Sub1_6410.plane != (Class132.aPlayer_1907.plane)), false, npc); - npc.anInt10215 = Class367_Sub11.anInt7396; - } - } - if (class318_sub4.aClass318_Sub1_6410 instanceof Class318_Sub1_Sub2_Sub1) { - int i_55_ = za_Sub2.regionTileX + i_33_; - int i_56_ = i_32_ - -Class90.regionTileY; - Class348_Sub37 class348_sub37 = ((Class348_Sub37) (Class130.aClass356_1895.method3480((class318_sub4.aClass318_Sub1_6410.plane) << 28 | i_56_ << 14 | i_55_, -6008))); - if (class348_sub37 != null) { - int i_57_ = 0; - Class348_Sub34 class348_sub34 = ((Class348_Sub34) class348_sub37.aClass262_6998.method1993(-92)); - while (class348_sub34 != null) { - Class213 class213 = (Exception_Sub1.aClass255_112.method1940(79, (class348_sub34.anInt6973))); - if (r.aBoolean9722 && ((Class132.aPlayer_1907.plane) == class318_sub4.aClass318_Sub1_6410.plane)) { - Class254 class254 = (Class246.anInt3176 != -1 ? (Class101_Sub3.aClass326_5764.method2600(Class246.anInt3176, 28364)) : null); - if ((Class38.anInt500 & 0x1) != 0 && (class254 == null || ((class254.anInt3256) != (class213.method1567((class254.anInt3256), 29, Class246.anInt3176))))) { - Class97.anInt1555++; - Class50_Sub3.method466(false, (Class28.aString5000 + " -> " + (class213.aString2795)), i_32_, (byte) -76, false, i_33_, -1, true, 49, i_57_, Class28.aString5001, class348_sub34.anInt6973, (Class348_Sub49_Sub1.anInt9747)); - } - } - if (class318_sub4.aClass318_Sub1_6410.plane == (Class132.aPlayer_1907.plane)) { - String[] strings = (class213.aStringArray2811); - for (int i_58_ = 4; i_58_ >= 0; i_58_--) { - if (strings != null && strings[i_58_] != null) { - int i_59_ = 0; - if (i_58_ == 0) i_59_ = 21; - int i_60_ = Class38.anInt506; - if (i_58_ == 1) i_59_ = 10; - if (i_58_ == 2) i_59_ = 47; - if (i_58_ == 3) i_59_ = 22; - if (i_58_ == (class213.anInt2752)) i_60_ = class213.anInt2759; - if (i_58_ == 4) i_59_ = 5; - if ((class213.anInt2764) == i_58_) i_60_ = class213.anInt2830; - Class50_Sub3.method466(false, ("" + (class213.aString2795)), i_32_, (byte) -119, false, i_33_, -1, true, i_59_, i_57_, strings[i_58_], class348_sub34.anInt6973, i_60_); - Class348_Sub42_Sub8.anInt9548++; - } - } - } - Class348_Sub33.anInt6956++; - Class50_Sub3.method466(((Class132.aPlayer_1907.plane) != class318_sub4.aClass318_Sub1_6410.plane), ("" + class213.aString2795) + Loader.getDebug(class213.anInt2769), i_32_, (byte) -122, false, i_33_, -1, true, 1010, i_57_, (Class274.aClass274_3505.method2063(Class348_Sub33.anInt6967, 544)), class348_sub34.anInt6973, Class286_Sub8.anInt6299); - class348_sub34 = ((Class348_Sub34) class348_sub37.aClass262_6998.method2003(-127)); - i_57_++; - } - } - } - if (class318_sub4.aClass318_Sub1_6410 instanceof Interface10) { - Interface10 interface10 = ((Interface10) (class318_sub4.aClass318_Sub1_6410)); - Class51 class51 = (Class348_Sub40_Sub12.aClass263_9195.method2005(0, interface10.method42(-100))); - if (class51.anIntArray945 != null) class51 = (class51.method480((Class318_Sub1_Sub3_Sub3.aClass170_10209), (byte) 47)); - if (class51 != null) { - if (r.aBoolean9722 && ((Class132.aPlayer_1907.plane) == (class318_sub4.aClass318_Sub1_6410.plane))) { - Class254 class254 = (Class246.anInt3176 != -1 ? (Class101_Sub3.aClass326_5764.method2600(Class246.anInt3176, 28364)) : null); - if (((0x4 & Class38.anInt500) != 0) && (class254 == null || ((class254.anInt3256) != (class51.method487(Class246.anInt3176, (class254.anInt3256), 54))))) { - Class220.anInt2877++; - Class50_Sub3.method466(false, (Class28.aString5000 + " -> " + (class51.aString884)), i_32_, (byte) -94, false, i_33_, -1, true, 2, interface10.hashCode(), Class28.aString5001, (Class348_Sub40_Sub21.method3107((byte) 95, interface10, i_32_, i_33_)), Class348_Sub49_Sub1.anInt9747); - } - } - if (class318_sub4.aClass318_Sub1_6410.plane == (Class132.aPlayer_1907.plane)) { - String[] strings = class51.aStringArray913; - if (strings != null) { - for (int i_61_ = 4; i_61_ >= 0; i_61_--) { - if (strings[i_61_] != null) { - int i_62_ = 0; - if (i_61_ == 0) i_62_ = 3; - int i_63_ = Class38.anInt506; - if (i_61_ == 1) i_62_ = 4; - if (i_61_ == 2) i_62_ = 9; - if (i_61_ == 3) i_62_ = 59; - if (i_61_ == 4) i_62_ = 1007; - if ((class51.anInt950) == i_61_) i_63_ = (class51.anInt869); - if (i_61_ == (class51.anInt951)) i_63_ = (class51.anInt877); - Class50_Sub3.method466(false, ("" + (class51.aString884)), i_32_, (byte) -100, false, i_33_, -1, true, i_62_, interface10.hashCode(), strings[i_61_], (Class348_Sub40_Sub21.method3107((byte) -116, interface10, i_32_, i_33_)), i_63_); - Class83.anInt1445++; - } - } - } - int x = i_33_ + za_Sub2.regionTileX; - int y = i_32_ + Class90.regionTileY; - Class50_Sub3.method466(((Class132.aPlayer_1907.plane) != class318_sub4.aClass318_Sub1_6410.plane), ("" + class51.aString884 + Loader.getDebug(class51.anInt941, x, y, class318_sub4.aClass318_Sub1_6410.plane)), i_32_, (byte) -120, false, i_33_, -1, true, 1001, interface10.hashCode(), (Class274.aClass274_3505.method2063(Class348_Sub33.anInt6967, 544)), class51.anInt941, Class286_Sub8.anInt6299); - anInt6094++; - } - } - } - } - } - if (Class59_Sub1.aBoolean5300) Class285_Sub1.method2129((byte) 86); - } - Class226.method1626(1, false); - } - } - - final void method1716(boolean bool) { - if (this.aClass348_Sub51_3136.method3422(674) != Class10.aClass230_186) this.anInt3138 = 1; - else if (this.aClass348_Sub51_3136.method3425(-95)) this.anInt3138 = 0; - anInt6090++; - if (this.anInt3138 != 0 && this.anInt3138 != 1) this.anInt3138 = method1710(20014); - if (bool != false) aClass60_6096 = null; - } - - final boolean method1824(int i) { - anInt6087++; - if (i < 85) method1823(null, 104, -95, (byte) 26); - if (this.aClass348_Sub51_3136.method3422(674) == Class10.aClass230_186) { - return !this.aClass348_Sub51_3136.method3425(-96); - } - return false; - } - - Class239_Sub24(int i, Class348_Sub51 class348_sub51) { - super(i, class348_sub51); - } -} diff --git a/client/src/Class239_Sub25.java b/client/src/Class239_Sub25.java deleted file mode 100644 index 15213271d..000000000 --- a/client/src/Class239_Sub25.java +++ /dev/null @@ -1,165 +0,0 @@ -/* Class239_Sub25 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class239_Sub25 extends Class239 { - static int anInt6099; - static int anInt6100; - static int anInt6101; - static int anInt6102; - static Class318_Sub9_Sub2_Sub1[] aClass318_Sub9_Sub2_Sub1Array6103; - static int anInt6104; - static int anInt6105; - static int anInt6106; - static int anInt6107; - static int anInt6108; - static int anInt6109; - private boolean aBoolean6110 = true; - static int anInt6111; - static int anInt6112; - boolean aBoolean6113 = false; - - final int method1714(int i, int i_0_) { - anInt6100++; - if (i != 3) aBoolean6110 = false; - if (!this.aClass348_Sub51_3136.method3428((byte) -89).method1460(-38)) return 3; - if (i_0_ == 3 && !Applet_Sub1.method86("jagdx", i ^ 0x3)) return 3; - return 2; - } - - final void method1712(int i, int i_1_) { - int i_2_ = -50 / ((i - 82) / 35); - this.anInt3138 = i_1_; - anInt6106++; - this.aBoolean6113 = false; - } - - static final void method1825(int i, int i_3_, int i_4_) { - anInt6102++; - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(0, (byte) 105, 15); - class348_sub42_sub15.method3246(-25490); - class348_sub42_sub15.anInt9652 = i_4_; - class348_sub42_sub15.anInt9651 = i_3_; - if (i < 57) method1828(5); - } - - final void method1826(boolean bool, int i) { - aBoolean6110 = bool; - anInt6109++; - if (i != -142238264) method1828(20); - } - - static final void method1827(int i) { - anInt6112++; - if (Class126.anIntArray4983 == null) Class126.anIntArray4983 = new int[65536]; - else return; - double d = 0.7 + (0.03 * Math.random() - 0.015); - int i_5_ = 0; - if (i == 1415665776) { - for (int i_6_ = 0; i_6_ < 512; i_6_++) { - float f = (((float) (i_6_ >> 3) / 64.0F + 0.0078125F) * 360.0F); - float f_7_ = (float) (i_6_ & 0x7) / 8.0F + 0.0625F; - for (int i_8_ = 0; i_8_ < 128; i_8_++) { - float f_9_ = (float) i_8_ / 128.0F; - float f_10_ = 0.0F; - float f_11_ = 0.0F; - float f_12_ = 0.0F; - float f_13_ = f / 60.0F; - int i_14_ = (int) f_13_; - int i_15_ = i_14_ % 6; - float f_16_ = (float) -i_14_ + f_13_; - float f_17_ = f_9_ * (-f_7_ + 1.0F); - float f_18_ = f_9_ * (1.0F - f_16_ * f_7_); - float f_19_ = (1.0F - (1.0F - f_16_) * f_7_) * f_9_; - if (i_15_ == 0) { - f_10_ = f_9_; - f_11_ = f_19_; - f_12_ = f_17_; - } else if (i_15_ == 1) { - f_11_ = f_9_; - f_10_ = f_18_; - f_12_ = f_17_; - } else if (i_15_ == 2) { - f_12_ = f_19_; - f_10_ = f_17_; - f_11_ = f_9_; - } else if (i_15_ == 3) { - f_12_ = f_9_; - f_11_ = f_18_; - f_10_ = f_17_; - } else if (i_15_ == 4) { - f_12_ = f_9_; - f_11_ = f_17_; - f_10_ = f_19_; - } else if (i_15_ == 5) { - f_10_ = f_9_; - f_11_ = f_17_; - f_12_ = f_18_; - } - f_10_ = (float) Math.pow(f_10_, d); - f_11_ = (float) Math.pow(f_11_, d); - f_12_ = (float) Math.pow(f_12_, d); - int i_20_ = (int) (f_10_ * 256.0F); - int i_21_ = (int) (256.0F * f_11_); - int i_22_ = (int) (256.0F * f_12_); - int i_23_ = ((i_21_ << 8) + ((i_20_ << 16) + (-16777216 + i_22_))); - Class126.anIntArray4983[i_5_++] = i_23_; - } - } - } - } - - final int method1710(int i) { - this.aBoolean6113 = true; - anInt6101++; - if (i != 20014) aBoolean6110 = false; - if (!this.aClass348_Sub51_3136.method3428((byte) -113).method1460(i + -20083)) return 0; - return 2; - } - - Class239_Sub25(int i, Class348_Sub51 class348_sub51) { - super(i, class348_sub51); - } - - Class239_Sub25(Class348_Sub51 class348_sub51) { - super(class348_sub51); - } - - static final void method1828(int i) { - if (i < 20) method1832(47); - anInt6104++; - synchronized (Class342.aClass60_4254) { - Class342.aClass60_4254.method590(0); - } - } - - final void method1716(boolean bool) { - anInt6108++; - if (!this.aClass348_Sub51_3136.method3428((byte) -106).method1460(-33)) this.anInt3138 = 0; - if (bool != false) method1829(31); - if (this.anInt3138 < 0 || this.anInt3138 > 5) this.anInt3138 = method1710(20014); - } - - final int method1829(int i) { - anInt6107++; - if (i != -32350) aBoolean6110 = false; - return this.anInt3138; - } - - final boolean method1830(byte i) { - anInt6099++; - if (i >= -93) aBoolean6110 = false; - return aBoolean6110; - } - - final boolean method1831(int i) { - anInt6105++; - if (i < 85) return true; - return this.aClass348_Sub51_3136.method3428((byte) -124).method1460(-59); - } - - public static void method1832(int i) { - if (i != 1) method1828(33); - aClass318_Sub9_Sub2_Sub1Array6103 = null; - } -} diff --git a/client/src/Class239_Sub26.java b/client/src/Class239_Sub26.java deleted file mode 100644 index 4ce3be191..000000000 --- a/client/src/Class239_Sub26.java +++ /dev/null @@ -1,128 +0,0 @@ -/* Class239_Sub26 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class239_Sub26 extends Class239 { - static Class54[] aClass54Array6114; - static int anInt6115; - static int anInt6116; - static int anInt6117; - static int anInt6118; - static int anInt6119; - static float aFloat6120 = 1.0F; - static Class114 aClass114_6121; - static int anInt6122; - static int anInt6123; - static int anInt6124; - static int anInt6125; - static int anInt6126; - - static final boolean method1833(byte i, int i_0_, int i_1_) { - if (i > -111) method1834(null, (byte) -87); - anInt6126++; - return (i_0_ & 0x84080) != 0; - } - - final int method1710(int i) { - if (i != 20014) return 112; - anInt6116++; - return 127; - } - - static final void method1834(Class318_Sub1_Sub3_Sub3 class318_sub1_sub3_sub3, byte i) { - anInt6125++; - int i_2_ = (class318_sub1_sub3_sub3.anInt10239 - Class367_Sub11.anInt7396); - if (i < 0) { - int i_3_ = ((class318_sub1_sub3_sub3.anInt10293) * 512 + 256 * class318_sub1_sub3_sub3.method2436((byte) 73)); - int i_4_ = (512 * (class318_sub1_sub3_sub3.anInt10314) - -(class318_sub1_sub3_sub3.method2436((byte) 114) * 256)); - class318_sub1_sub3_sub3.anInt10326 = 0; - class318_sub1_sub3_sub3.y += ((i_4_ + -class318_sub1_sub3_sub3.y) / i_2_); - class318_sub1_sub3_sub3.x += ((i_3_ + -class318_sub1_sub3_sub3.x) / i_2_); - if (class318_sub1_sub3_sub3.anInt10231 == 0) class318_sub1_sub3_sub3.method2440((byte) 49, 8192); - if (class318_sub1_sub3_sub3.anInt10231 == 1) class318_sub1_sub3_sub3.method2440((byte) 49, 12288); - if (class318_sub1_sub3_sub3.anInt10231 == 2) class318_sub1_sub3_sub3.method2440((byte) 49, 0); - if (class318_sub1_sub3_sub3.anInt10231 == 3) class318_sub1_sub3_sub3.method2440((byte) 49, 4096); - } - } - - final void method1716(boolean bool) { - if (bool != false) anInt6115 = 87; - if (this.anInt3138 < 0 && this.anInt3138 > 127) this.anInt3138 = method1710(20014); - anInt6117++; - } - - final int method1714(int i, int i_5_) { - if (i != 3) method1834(null, (byte) 50); - anInt6124++; - return 1; - } - - public static void method1835(int i) { - aClass54Array6114 = null; - aClass114_6121 = null; - if (i != -28594) anInt6115 = -7; - } - - Class239_Sub26(int i, Class348_Sub51 class348_sub51) { - super(i, class348_sub51); - } - - static final int method1836(int i, int i_6_, boolean bool, String string) { - anInt6118++; - if (i_6_ < 2 || i_6_ > 36) throw new IllegalArgumentException("Invalid radix:" + i_6_); - boolean bool_7_ = false; - boolean bool_8_ = false; - int i_9_ = 0; - if (i != -123) method1837(-93, 121, 38); - int i_10_ = string.length(); - for (int i_11_ = 0; i_11_ < i_10_; i_11_++) { - int i_12_ = string.charAt(i_11_); - if (i_11_ == 0) { - if (i_12_ == 45) { - bool_7_ = true; - continue; - } - if (i_12_ == 43 && bool) continue; - } - if (i_12_ >= 48 && i_12_ <= 57) i_12_ -= 48; - else if (i_12_ >= 65 && i_12_ <= 90) i_12_ -= 55; - else if (i_12_ >= 97 && i_12_ <= 122) i_12_ -= 87; - else throw new NumberFormatException(); - if (i_12_ >= i_6_) throw new NumberFormatException(); - if (bool_7_) i_12_ = -i_12_; - int i_13_ = i_6_ * i_9_ - -i_12_; - if (i_9_ != i_13_ / i_6_) throw new NumberFormatException(); - bool_8_ = true; - i_9_ = i_13_; - } - if (!bool_8_) throw new NumberFormatException(); - return i_9_; - } - - static final boolean method1837(int i, int i_14_, int i_15_) { - if (i_14_ < 41) aClass114_6121 = null; - anInt6122++; - return (i_15_ & 0x800) != 0; - } - - final void method1712(int i, int i_16_) { - int i_17_ = 63 % ((i - 82) / 35); - anInt6119++; - this.anInt3138 = i_16_; - } - - Class239_Sub26(Class348_Sub51 class348_sub51) { - super(class348_sub51); - } - - final int method1838(int i) { - if (i != -32350) method1836(89, 103, false, null); - anInt6123++; - return this.anInt3138; - } - - static { - aClass54Array6114 = new Class54[6]; - aClass114_6121 = new Class114(32, 6); - } -} diff --git a/client/src/Class239_Sub27.java b/client/src/Class239_Sub27.java deleted file mode 100644 index 4f7aff9d5..000000000 --- a/client/src/Class239_Sub27.java +++ /dev/null @@ -1,112 +0,0 @@ -/* Class239_Sub27 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class239_Sub27 extends Class239 { - static int anInt6127; - static Class341 aClass341_6128; - static int anInt6129; - static int anInt6130; - static int anInt6131; - static int anInt6132; - static int anInt6133; - - static final void method1839(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_) { - anInt6129++; - int i_5_ = 0; - int i_6_ = i_0_; - int i_7_ = i_4_ * i_4_; - int i_8_ = i_0_ * i_0_; - int i_9_ = i_8_ << 1; - int i_10_ = i_7_ << 1; - int i_11_ = i_0_ << 1; - int i_12_ = i_9_ + i_7_ * (-i_11_ + 1); - int i_13_ = -((i_11_ + i_2_) * i_10_) + i_8_; - int i_14_ = i_7_ << 2; - int i_15_ = i_8_ << 2; - int i_16_ = i_9_ * (3 + (i_5_ << 1)); - int i_17_ = i_10_ * (-3 + (i_6_ << 1)); - int i_18_ = i_15_ * (i_5_ - -1); - if (Class132.anInt1910 <= i_1_ && Class38.anInt513 >= i_1_) { - int i_19_ = Class85.method831(Class113.anInt1745, i + i_4_, Class369.anInt4960, -89); - int i_20_ = Class85.method831(Class113.anInt1745, -i_4_ + i, Class369.anInt4960, -116); - Class135_Sub2.method1156(-27, i_19_, Class17.anIntArrayArray255[i_1_], i_20_, i_3_); - } - int i_21_ = i_14_ * (i_6_ - 1); - while (i_6_ > 0) { - if (i_12_ < 0) { - while (i_12_ < 0) { - i_13_ += i_18_; - i_12_ += i_16_; - i_5_++; - i_16_ += i_15_; - i_18_ += i_15_; - } - } - if (i_13_ < 0) { - i_12_ += i_16_; - i_13_ += i_18_; - i_16_ += i_15_; - i_18_ += i_15_; - i_5_++; - } - i_13_ += -i_17_; - i_12_ += -i_21_; - i_21_ -= i_14_; - i_17_ -= i_14_; - i_6_--; - int i_22_ = i_1_ + -i_6_; - int i_23_ = i_6_ + i_1_; - if (i_23_ >= Class132.anInt1910 && i_22_ <= Class38.anInt513) { - int i_24_ = Class85.method831(Class113.anInt1745, i + i_5_, Class369.anInt4960, 86); - int i_25_ = Class85.method831(Class113.anInt1745, -i_5_ + i, Class369.anInt4960, 32); - if (Class132.anInt1910 <= i_22_) Class135_Sub2.method1156(i_2_ + -26, i_24_, Class17.anIntArrayArray255[i_22_], i_25_, i_3_); - if (Class38.anInt513 >= i_23_) Class135_Sub2.method1156(-27, i_24_, Class17.anIntArrayArray255[i_23_], i_25_, i_3_); - } - } - } - - final int method1840(int i) { - anInt6127++; - if (i != -32350) aClass341_6128 = null; - return this.anInt3138; - } - - public static void method1841(int i) { - if (i != 16878) method1839(-83, -10, 27, 111, 41, 109); - aClass341_6128 = null; - } - - final void method1712(int i, int i_26_) { - this.anInt3138 = i_26_; - anInt6132++; - int i_27_ = 123 / ((82 - i) / 35); - } - - final int method1714(int i, int i_28_) { - if (i != 3) aClass341_6128 = null; - anInt6130++; - return 3; - } - - Class239_Sub27(int i, Class348_Sub51 class348_sub51) { - super(i, class348_sub51); - } - - Class239_Sub27(Class348_Sub51 class348_sub51) { - super(class348_sub51); - } - - final int method1710(int i) { - anInt6133++; - if (i != 20014) method1716(true); - if ((this.aClass348_Sub51_3136.method3422(674) == Class10.aClass230_186) && this.aClass348_Sub51_3136.method3425(-111)) return 0; - return 1; - } - - final void method1716(boolean bool) { - anInt6131++; - this.anInt3138 = method1710(20014); - if (bool != false) method1710(98); - } -} diff --git a/client/src/Class239_Sub28.java b/client/src/Class239_Sub28.java deleted file mode 100644 index 291ac8cbe..000000000 --- a/client/src/Class239_Sub28.java +++ /dev/null @@ -1,129 +0,0 @@ -/* Class239_Sub28 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class239_Sub28 extends Class239 { - static int anInt6134; - static int anInt6135; - static int anInt6136; - static int anInt6137; - static int anInt6138; - static int anInt6139; - static int anInt6140; - static int anInt6141; - static int anInt6142; - static int anInt6143; - - static final boolean method1842(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_) { - anInt6134++; - if (i_1_ != -1) return false; - if (i_3_ >= i + i_5_ || i_3_ - -i_6_ <= i_5_) return false; - return i_0_ + i_7_ > i_4_ && i_0_ < i_2_ + i_4_; - } - - static final void method1843(int i, int i_8_, Class46 class46, boolean bool, int i_9_) { - anInt6135++; - if (i_8_ != -326) method1844(32, -33, false, 1, false, 64, -83); - int i_10_ = class46.anInt709; - int i_11_ = class46.anInt789; - if (class46.aByte778 == 0) class46.anInt709 = class46.anInt842; - else if (class46.aByte778 != 1) { - if (class46.aByte778 == 2) class46.anInt709 = class46.anInt842 * i >> 14; - } else class46.anInt709 = -class46.anInt842 + i; - if (class46.aByte724 != 0) { - if (class46.aByte724 != 1) { - if (class46.aByte724 == 2) class46.anInt789 = class46.anInt728 * i_9_ >> 14; - } else class46.anInt789 = i_9_ - class46.anInt728; - } else class46.anInt789 = class46.anInt728; - if (class46.aByte778 == 4) class46.anInt709 = (class46.anInt789 * class46.anInt710 / class46.anInt775); - if (class46.aByte724 == 4) class46.anInt789 = (class46.anInt775 * class46.anInt709 / class46.anInt710); - if (Class299_Sub2.aBoolean6327 && (client.method105(class46).anInt7098 != 0 || class46.anInt774 == 0)) { - if (class46.anInt789 < 5 && class46.anInt709 < 5) { - class46.anInt789 = 5; - class46.anInt709 = 5; - } else { - if (class46.anInt789 <= 0) class46.anInt789 = 5; - if (class46.anInt709 <= 0) class46.anInt709 = 5; - } - } - if (Class239_Sub10.anInt5943 == class46.anInt765) Class348_Sub1.aClass46_6561 = class46; - if (bool && class46.anObjectArray727 != null && (i_10_ != class46.anInt709 || (i_11_ != class46.anInt789))) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); - class348_sub36.aClass46_6989 = class46; - class348_sub36.anObjectArray6987 = class46.anObjectArray727; - Class348_Sub1_Sub2.aClass262_8810.method1999(class348_sub36, -20180); - } - } - - static final void method1844(int i, int i_12_, boolean bool, int i_13_, boolean bool_14_, int i_15_, int i_16_) { - Class348_Sub42_Sub4.anInt9515 = i_13_; - Class275.anInt3550 = i_16_; - if (bool_14_ == false) { - Class348_Sub40_Sub31.anInt9406 = i; - anInt6136++; - Class348_Sub35.anInt6981 = i_12_; - Class258_Sub2.anInt8537 = i_15_; - if (bool && Class258_Sub2.anInt8537 >= 100) { - Class59_Sub2_Sub2.anInt8685 = 256 + 512 * Class275.anInt3550; - Class286_Sub4.anInt6246 = 256 + Class348_Sub35.anInt6981 * 512; - Class305.anInt3855 = (Class275.method2064(Class286_Sub4.anInt6246, Class355.anInt4372, 11219, Class59_Sub2_Sub2.anInt8685) + -Class348_Sub42_Sub4.anInt9515); - } - Class348_Sub40_Sub21.anInt9282 = 2; - Class9.anInt167 = Class318_Sub1_Sub5_Sub2.anInt10163 = -1; - } - } - - Class239_Sub28(Class348_Sub51 class348_sub51) { - super(class348_sub51); - } - - final int method1714(int i, int i_17_) { - if (i != 3) method1712(-55, 59); - anInt6139++; - return 1; - } - - Class239_Sub28(int i, Class348_Sub51 class348_sub51) { - super(i, class348_sub51); - } - - final void method1716(boolean bool) { - if (bool != false) method1847(null, 64); - anInt6142++; - if (this.anInt3138 != 1 && this.anInt3138 != 0) this.anInt3138 = method1710(20014); - } - - final int method1710(int i) { - if (i != 20014) return 52; - anInt6138++; - return 1; - } - - final int method1845(int i) { - anInt6141++; - if (i != -32350) return -127; - return this.anInt3138; - } - - static final boolean method1846(int i, int i_18_, int i_19_) { - if (i_19_ <= 42) return true; - anInt6143++; - return Class278.method2075(i_18_, -126, i) | (0x40000 & i_18_) != 0 || Class273.method2056(i_18_, 122, i); - } - - static final String[] method1847(String[] strings, int i) { - anInt6140++; - String[] strings_20_ = new String[5]; - for (int i_21_ = i; i_21_ < 5; i_21_++) { - strings_20_[i_21_] = i_21_ + ": "; - if (strings != null && strings[i_21_] != null) strings_20_[i_21_] = strings_20_[i_21_] + strings[i_21_]; - } - return strings_20_; - } - - final void method1712(int i, int i_22_) { - int i_23_ = -89 / ((82 - i) / 35); - anInt6137++; - this.anInt3138 = i_22_; - } -} diff --git a/client/src/Class239_Sub29.java b/client/src/Class239_Sub29.java deleted file mode 100644 index 484ef03d1..000000000 --- a/client/src/Class239_Sub29.java +++ /dev/null @@ -1,97 +0,0 @@ -/* Class239_Sub29 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class239_Sub29 extends Class239 { - static int anInt6144; - static int anInt6145; - static int anInt6146; - static boolean aBoolean6147 = false; - static int anInt6148; - static int anInt6149; - static int anInt6150; - static int anInt6151; - static int anInt6152; - static int anInt6153; - - final int method1848(int i) { - if (i != -32350) method1714(100, 29); - anInt6145++; - return this.anInt3138; - } - - Class239_Sub29(Class348_Sub51 class348_sub51) { - super(class348_sub51); - } - - final int method1710(int i) { - anInt6153++; - if (i != 20014) method1716(true); - return 0; - } - - Class239_Sub29(int i, Class348_Sub51 class348_sub51) { - super(i, class348_sub51); - } - - final void method1712(int i, int i_0_) { - int i_1_ = -10 / ((i - 82) / 35); - this.anInt3138 = i_0_; - anInt6148++; - } - - static final boolean method1849(char c, int i) { - anInt6149++; - if (Character.isISOControl(c)) return false; - if (Npc.method2446(c, (byte) 105)) return true; - char[] cs = Class185.aCharArray2488; - for (int i_2_ = 0; cs.length > i_2_; i_2_++) { - int i_3_ = cs[i_2_]; - if (c == i_3_) return true; - } - int i_4_ = -127 / ((i - 44) / 45); - char[] cs_5_ = Class131.aCharArray1903; - for (int i_6_ = 0; cs_5_.length > i_6_; i_6_++) { - int i_7_ = cs_5_[i_6_]; - if (i_7_ == c) return true; - } - return false; - } - - static final int method1850(int i, int i_8_) { - anInt6144++; - int i_9_ = 101 % ((-20 - i_8_) / 37); - return i >>> 8; - } - - final int method1714(int i, int i_10_) { - anInt6146++; - if (i != 3) aBoolean6147 = false; - return 1; - } - - static final void method1851(byte i) { - anInt6152++; - for (int i_11_ = 0; i_11_ < 5; i_11_++) - Class181.aBooleanArray2374[i_11_] = false; - Class359.anInt4424 = Class59_Sub2_Sub2.anInt8685; - Class283.anInt3662 = Class348_Sub42_Sub19.anInt9701; - Class5_Sub3.anInt8368 = Class305.anInt3855; - Class348_Sub49_Sub1.anInt9751 = Class367_Sub11.anInt7396; - Class9.anInt167 = Class318_Sub1_Sub5_Sub2.anInt10163 = -1; - Class318_Sub1_Sub3_Sub2.anInt10047 = Class286_Sub4.anInt6246; - int i_12_ = -99 % ((i - 11) / 56); - Class239_Sub12.anInt5973 = 0; - Class253.anInt3253 = Class5.anInt4638; - Class367_Sub11.anInt7403 = 0; - Class348_Sub40_Sub21.anInt9282 = 5; - za_Sub1.anInt9775 = -1; - Class292.anInt4803 = -1; - } - - final void method1716(boolean bool) { - if (this.anInt3138 < 0 || this.anInt3138 > 4) this.anInt3138 = method1710(20014); - anInt6150++; - if (bool != false) anInt6151 = 62; - } -} diff --git a/client/src/Class239_Sub3.java b/client/src/Class239_Sub3.java deleted file mode 100644 index ed1d8b4ec..000000000 --- a/client/src/Class239_Sub3.java +++ /dev/null @@ -1,162 +0,0 @@ -/* Class239_Sub3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class239_Sub3 extends Class239 { - static int anInt5858; - static int anInt5859; - static int anInt5860; - static int anInt5861; - static int anInt5862; - static int anInt5863; - static int anInt5864; - static int anInt5865; - static int anInt5866; - static int anInt5867; - static int anInt5868; - static int anInt5869; - static int anInt5870; - static int anInt5871; - - final void method1712(int i, int i_0_) { - this.anInt3138 = i_0_; - anInt5862++; - int i_1_ = -40 / ((i - 82) / 35); - } - - final int method1727(int i) { - if (i != -32350) anInt5871 = 39; - anInt5869++; - return this.anInt3138; - } - - static final void method1728(int i, int i_2_, int i_3_, boolean bool, int i_4_) { - anInt5860++; - if (Class320.method2547(i_3_, (byte) 84)) Class367_Sub1.method3534(false, i_2_, i_4_, bool, i, (Class348_Sub40_Sub33.aClass46ArrayArray9427[i_3_])); - } - - Class239_Sub3(Class348_Sub51 class348_sub51) { - super(class348_sub51); - } - - final int method1710(int i) { - if (i != 20014) anInt5871 = -72; - anInt5867++; - return 0; - } - - Class239_Sub3(int i, Class348_Sub51 class348_sub51) { - super(i, class348_sub51); - } - - final boolean method1729(int i) { - if (i <= 85) return true; - anInt5861++; - return true; - } - - static final void method1730(int i, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_) { - if (i_10_ != -128) method1730(-6, -95, 101, -81, 56, 14, -29, -19); - anInt5868++; - int i_12_ = -i_9_ + i_5_; - int i_13_ = i_9_ + i_6_; - for (int i_14_ = i_6_; i_14_ < i_13_; i_14_++) - Class135_Sub2.method1156(-27, i_7_, Class17.anIntArrayArray255[i_14_], i_11_, i); - int i_15_ = i_7_ + -i_9_; - int i_16_ = i_9_ + i_11_; - for (int i_17_ = i_5_; i_12_ < i_17_; i_17_--) - Class135_Sub2.method1156(i_10_ + 101, i_7_, Class17.anIntArrayArray255[i_17_], i_11_, i); - for (int i_18_ = i_13_; i_18_ <= i_12_; i_18_++) { - int[] is = Class17.anIntArrayArray255[i_18_]; - Class135_Sub2.method1156(-27, i_16_, is, i_11_, i); - Class135_Sub2.method1156(-27, i_15_, is, i_16_, i_8_); - Class135_Sub2.method1156(-27, i_7_, is, i_15_, i); - } - } - - static final void method1731(int i) { - anInt5863++; - Class348_Sub45 class348_sub45 = ((Class348_Sub45) Class318_Sub1_Sub3.aClass262_8744.method1995(i ^ 0x5)); - boolean bool = (Class289.aClass46_3701 != null || Class348_Sub42.anInt7059 > 0); - int i_19_ = class348_sub45.method3308((byte) -128); - int i_20_ = class348_sub45.method3311(119); - if (bool) Class282.anInt3655 = 1; - if (!bool) Class325.method2599((byte) 109, Class316.aClass348_Sub42_Sub12_3963, i_20_, i_19_); - else Class138.aClass348_Sub42_Sub12_1946 = Class316.aClass348_Sub42_Sub12_3963; - if (i != 1) method1734(-88, null, (byte) -126, false); - } - - static final boolean method1732(byte i, int i_21_) { - anInt5865++; - int i_22_ = i & 0xff; - if (i_22_ == 0) return false; - return i_21_ < (~i_22_) || i_22_ >= 160 || Class44.aCharArray625[i_22_ + -128] != 0; - } - - final void method1716(boolean bool) { - anInt5864++; - if (method1735(bool)) { - if (this.aClass348_Sub51_3136.aClass239_Sub25_7271.method1830((byte) -97) && !Class151.method1210((byte) -94, this.aClass348_Sub51_3136.aClass239_Sub25_7271.method1829(-32350))) this.anInt3138 = 1; - if (this.aClass348_Sub51_3136.aClass239_Sub8_7254.method1751(-32350) == 1) this.anInt3138 = 1; - } - if (this.anInt3138 == 3) this.anInt3138 = 2; - if (bool != false) method1716(true); - if (this.anInt3138 < 0 || this.anInt3138 > 3) this.anInt3138 = method1710(20014); - } - - static final void method1733(byte i, int i_23_) { - anInt5870++; - if (i != -78) method1732((byte) 80, -38); - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i_23_, (byte) 105, 11); - class348_sub42_sub15.method3251(-16058); - } - - final int method1714(int i, int i_24_) { - anInt5866++; - if (Class60.method576(i_24_, 29)) { - if (this.aClass348_Sub51_3136.aClass239_Sub25_7271.method1830((byte) -97) && !Class151.method1210((byte) -113, this.aClass348_Sub51_3136.aClass239_Sub25_7271.method1829(-32350))) return 3; - if (this.aClass348_Sub51_3136.aClass239_Sub8_7254.method1751(-32350) == 1) return 3; - } - if (i_24_ == i) return 3; - if (Class60.method576(i_24_, i ^ 0x56)) return 2; - return 1; - } - - static final Class352 method1734(int i, ha var_ha, byte i_25_, boolean bool) { - try { - anInt5859++; - if (i == -1) return null; - if (Class348_Sub1.anIntArray6547 != null) { - for (int i_26_ = 0; i_26_ < Class348_Sub1.anIntArray6547.length; i_26_++) { - if (Class348_Sub1.anIntArray6547[i_26_] == i) return Class199.aClass352Array2636[i_26_]; - } - } - Class352 class352 = (Class352) Class332.aClass60_4139.method583(i, -92); - if (class352 != null) { - if (bool && class352.aClass143_4333 == null) { - Class143 class143 = Class239_Sub10.method1766((byte) -76, i, s.aClass45_4585); - if (class143 == null) return null; - class352.aClass143_4333 = class143; - } - return class352; - } - int i_27_ = -118 / ((-33 - i_25_) / 44); - Class207[] class207s = Class207.method1523(Class39.aClass45_518, i); - if (class207s == null) return null; - Class143 class143 = Class239_Sub10.method1766((byte) -39, i, s.aClass45_4585); - if (class143 == null) return null; - if (!bool) class352 = new Class352(var_ha.method3686(class143, class207s, true)); - else class352 = new Class352(var_ha.method3686(class143, class207s, true), class143); - Class332.aClass60_4139.method582(class352, i, (byte) -109); - return class352; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("jaa.K(" + i + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_25_ + ',' + bool + ')')); - } - } - - final boolean method1735(boolean bool) { - if (bool != false) anInt5871 = -86; - anInt5858++; - return Class60.method576(this.anInt3138, 29); - } -} diff --git a/client/src/Class239_Sub4.java b/client/src/Class239_Sub4.java deleted file mode 100644 index 1ea160082..000000000 --- a/client/src/Class239_Sub4.java +++ /dev/null @@ -1,86 +0,0 @@ -/* Class239_Sub4 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class239_Sub4 extends Class239 { - static int anInt5872; - static int anInt5873; - static float[] aFloatArray5874 = new float[16384]; - static int anInt5875; - static float[] aFloatArray5876 = new float[16384]; - static int anInt5877; - static Class45 aClass45_5878; - static int anInt5879; - static int anInt5880; - static Class348_Sub26 aClass348_Sub26_5881; - static String aString5882; - static Class114 aClass114_5883; - - final void method1716(boolean bool) { - if (bool != false) method1736(-57); - anInt5880++; - if (this.aClass348_Sub51_3136.method3422(674) != Class10.aClass230_186) this.anInt3138 = 1; - else if (this.aClass348_Sub51_3136.method3425(-95)) this.anInt3138 = 0; - if (this.anInt3138 != 0 && this.anInt3138 != 1) this.anInt3138 = method1710(20014); - } - - final void method1712(int i, int i_0_) { - int i_1_ = 107 / ((i - 82) / 35); - anInt5879++; - this.anInt3138 = i_0_; - } - - final boolean method1736(int i) { - anInt5873++; - if (this.aClass348_Sub51_3136.method3425(-80)) return false; - if (i < 85) method1716(true); - return this.aClass348_Sub51_3136.method3422(674) == Class10.aClass230_186; - } - - Class239_Sub4(Class348_Sub51 class348_sub51) { - super(class348_sub51); - } - - final int method1710(int i) { - if (i != 20014) aClass114_5883 = null; - anInt5877++; - return 1; - } - - final int method1737(int i) { - if (i != -32350) method1716(true); - anInt5875++; - return this.anInt3138; - } - - final int method1714(int i, int i_2_) { - if (i != 3) aString5882 = null; - anInt5872++; - if (this.aClass348_Sub51_3136.method3425(-63)) return 3; - if (this.aClass348_Sub51_3136.method3422(674) == Class10.aClass230_186) return 1; - return 3; - } - - public static void method1738(int i) { - aClass45_5878 = null; - aFloatArray5874 = null; - aString5882 = null; - if (i != 21921) method1738(11); - aFloatArray5876 = null; - aClass348_Sub26_5881 = null; - aClass114_5883 = null; - } - - Class239_Sub4(int i, Class348_Sub51 class348_sub51) { - super(i, class348_sub51); - } - - static { - double d = 3.834951969714103E-4; - for (int i = 0; i < 16384; i++) { - aFloatArray5874[i] = (float) Math.sin(d * (double) i); - aFloatArray5876[i] = (float) Math.cos((double) i * d); - } - aClass114_5883 = new Class114(34, 12); - } -} diff --git a/client/src/Class239_Sub5.java b/client/src/Class239_Sub5.java deleted file mode 100644 index 473a86a7d..000000000 --- a/client/src/Class239_Sub5.java +++ /dev/null @@ -1,107 +0,0 @@ -/* Class239_Sub5 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class239_Sub5 extends Class239 { - static int anInt5884; - static int anInt5885; - static int anInt5886; - static int anInt5887; - static int anInt5888; - static int anInt5889; - static int anInt5890; - static int anInt5891 = 0; - static int anInt5892; - static int anInt5893; - - final int method1710(int i) { - anInt5892++; - if (i != 20014) return 98; - return 1; - } - - final void method1712(int i, int i_0_) { - this.anInt3138 = i_0_; - int i_1_ = 57 / ((i - 82) / 35); - anInt5887++; - } - - final int method1739(int i) { - anInt5889++; - if (i != -32350) anInt5886 = -17; - return this.anInt3138; - } - - Class239_Sub5(Class348_Sub51 class348_sub51) { - super(class348_sub51); - } - - static final boolean method1740(int i, int i_2_, boolean bool) { - if (bool != false) return true; - anInt5890++; - return Class239_Sub26.method1833((byte) -128, i_2_, i) || Class348_Sub42_Sub8_Sub2.method3200(i_2_, i, (byte) 96); - } - - static final void method1741(Class348_Sub49_Sub2 class348_sub49_sub2, byte i) { - anInt5893++; - class348_sub49_sub2.startBitAccess(122); - int i_3_ = Class348_Sub42_Sub11.anInt9591; - Player player = (Class132.aPlayer_1907 = Class294.aPlayerArray5058[i_3_] = new Player()); - player.anInt10290 = i_3_; - int i_4_ = class348_sub49_sub2.readBits((byte) -24, 30); - if (i != 118) anInt5886 = 111; - byte i_5_ = (byte) (i_4_ >> 28); - int i_6_ = i_4_ >> 14 & 0x3fff; - player.anIntArray10320[0] = -za_Sub2.regionTileX + i_6_; - int i_7_ = 0x3fff & i_4_; - player.x = (((player.anIntArray10320[0]) << 9) + (player.method2436((byte) 91) << 8)); - player.anIntArray10317[0] = i_7_ + -Class90.regionTileY; - player.y = (((player.anIntArray10317[0]) << 9) - -(player.method2436((byte) 85) << 8)); - Class355.anInt4372 = player.plane = player.aByte6376 = i_5_; - if (Class79.method802((player.anIntArray10317[0]), (player.anIntArray10320[0]), true)) player.aByte6376++; - if (Class154.aClass348_Sub49Array2105[i_3_] != null) player.method2452((byte) 84, (Class154.aClass348_Sub49Array2105[i_3_])); - Class328_Sub1.anInt6513 = 0; - Class286_Sub7.anIntArray6290[Class328_Sub1.anInt6513++] = i_3_; - Class348_Sub5.aByteArray6624[i_3_] = (byte) 0; - Class348_Sub42_Sub4.anInt9513 = 0; - for (int i_8_ = 1; i_8_ < 2048; i_8_++) { - if (i_8_ != i_3_) { - int i_9_ = class348_sub49_sub2.readBits((byte) -24, 18); - int i_10_ = i_9_ >> 16; - int i_11_ = (i_9_ & 0xff78) >> 8; - int i_12_ = i_9_ & 0xff; - Class359 class359 = Class348_Sub17.aClass359Array6802[i_8_] = new Class359(); - class359.aBoolean4426 = false; - class359.anInt4420 = (i_11_ << 14) + ((i_10_ << 28) + i_12_); - class359.anInt4423 = 0; - class359.anInt4425 = -1; - Class135_Sub1.anIntArray4709[Class348_Sub42_Sub4.anInt9513++] = i_8_; - Class348_Sub5.aByteArray6624[i_8_] = (byte) 0; - } - } - class348_sub49_sub2.stopBitAccess(false); - } - - Class239_Sub5(int i, Class348_Sub51 class348_sub51) { - super(i, class348_sub51); - } - - static final Class110_Sub1 method1742(boolean bool, int i) { - if (bool != false) method1740(35, -126, false); - anInt5885++; - if (!Class195.aBoolean5013 || Class318_Sub1_Sub2.anInt8731 > i || Class239_Sub29.anInt6151 < i) return null; - return (OutputStream_Sub1.aClass110_Sub1Array97[i + -Class318_Sub1_Sub2.anInt8731]); - } - - final int method1714(int i, int i_13_) { - if (i != 3) anInt5891 = -34; - anInt5884++; - return 1; - } - - final void method1716(boolean bool) { - anInt5888++; - if (bool != false) method1710(-110); - if (this.anInt3138 != 1 && this.anInt3138 != 0) this.anInt3138 = method1710(20014); - } -} diff --git a/client/src/Class239_Sub6.java b/client/src/Class239_Sub6.java deleted file mode 100644 index ae36bd2e4..000000000 --- a/client/src/Class239_Sub6.java +++ /dev/null @@ -1,94 +0,0 @@ -/* Class239_Sub6 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class239_Sub6 extends Class239 { - static int[][] anIntArrayArray5894; - static int anInt5895; - static int anInt5896; - static int anInt5897; - static int anInt5898; - static int anInt5899; - static Class355 aClass355_5900; - static int anInt5901; - static int[] anIntArray5902 = new int[128]; - static int anInt5903; - - final int method1710(int i) { - if (i != 20014) method1712(-15, 91); - anInt5898++; - return 0; - } - - final int method1743(int i) { - anInt5896++; - if (i != -32350) return -65; - return this.anInt3138; - } - - final boolean method1744(int i) { - if (i <= 85) method1743(-113); - anInt5903++; - int i_0_ = this.aClass348_Sub51_3136.method3428((byte) -93).method1458(-23688); - return i_0_ >= 96; - } - - final void method1716(boolean bool) { - anInt5897++; - int i = this.aClass348_Sub51_3136.method3428((byte) -105).method1458(-23688); - if (i < 96) this.anInt3138 = 0; - if (bool != false) aClass355_5900 = null; - if (this.anInt3138 > 1 && i < 128) this.anInt3138 = 1; - if (this.anInt3138 > 2 && i < 192) this.anInt3138 = 2; - if (this.anInt3138 < 0 || this.anInt3138 > 3) this.anInt3138 = method1710(20014); - } - - final int method1714(int i, int i_1_) { - anInt5899++; - int i_2_ = this.aClass348_Sub51_3136.method3428((byte) -104).method1458(i ^ ~0x5c84); - if (i_2_ < 96) return 3; - if (i_1_ > 1 && i_2_ < 128) return 3; - if (i_1_ > i && i_2_ < 192) return 3; - return 1; - } - - final void method1712(int i, int i_3_) { - int i_4_ = -32 / ((82 - i) / 35); - anInt5901++; - this.anInt3138 = i_3_; - } - - static final int method1745(String string, int i) { - if (i != -65) method1745(null, 67); - anInt5895++; - return string.length() + 1; - } - - Class239_Sub6(int i, Class348_Sub51 class348_sub51) { - super(i, class348_sub51); - } - - public static void method1746(int i) { - anIntArray5902 = null; - if (i != -15628) aClass355_5900 = null; - aClass355_5900 = null; - anIntArrayArray5894 = null; - } - - Class239_Sub6(Class348_Sub51 class348_sub51) { - super(class348_sub51); - } - - static { - for (int i = 0; anIntArray5902.length > i; i++) - anIntArray5902[i] = -1; - for (int i = 65; i <= 90; i++) - anIntArray5902[i] = -65 + i; - for (int i = 97; i <= 122; i++) - anIntArray5902[i] = i - 97 + 26; - for (int i = 48; i <= 57; i++) - anIntArray5902[i] = i + -48 - -52; - anIntArray5902[42] = anIntArray5902[43] = 62; - anIntArray5902[45] = anIntArray5902[47] = 63; - } -} diff --git a/client/src/Class239_Sub7.java b/client/src/Class239_Sub7.java deleted file mode 100644 index b84f677db..000000000 --- a/client/src/Class239_Sub7.java +++ /dev/null @@ -1,63 +0,0 @@ -/* Class239_Sub7 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class239_Sub7 extends Class239 { - static int anInt5904; - static int anInt5905; - static int anInt5906; - static int anInt5907; - static int anInt5908; - static int anInt5909 = -1; - static int anInt5910; - - final int method1714(int i, int i_0_) { - anInt5905++; - if (this.aClass348_Sub51_3136.method3425(-93)) return 3; - if (this.aClass348_Sub51_3136.aClass239_Sub24_7235.method1820(i ^ ~0x7e5e) == 0) return 3; - if (i != 3) anInt5909 = -111; - return 1; - } - - Class239_Sub7(int i, Class348_Sub51 class348_sub51) { - super(i, class348_sub51); - } - - Class239_Sub7(Class348_Sub51 class348_sub51) { - super(class348_sub51); - } - - final void method1716(boolean bool) { - if (this.aClass348_Sub51_3136.method3425(-82)) this.anInt3138 = 0; - anInt5904++; - if (this.aClass348_Sub51_3136.aClass239_Sub24_7235.method1820(-32350) == 0) this.anInt3138 = 0; - if (bool != false) method1712(-60, 72); - if (this.anInt3138 < 0 || this.anInt3138 > 2) this.anInt3138 = method1710(20014); - } - - final void method1712(int i, int i_1_) { - anInt5906++; - int i_2_ = -93 % ((82 - i) / 35); - this.anInt3138 = i_1_; - } - - final boolean method1747(int i) { - anInt5908++; - if (this.aClass348_Sub51_3136.method3425(-127)) return false; - if (this.aClass348_Sub51_3136.aClass239_Sub24_7235.method1820(-32350) == 0) return false; - if (i < 85) method1747(105); - return true; - } - - final int method1748(int i) { - if (i != -32350) return 111; - anInt5910++; - return this.anInt3138; - } - - final int method1710(int i) { - anInt5907++; - if (i != 20014) anInt5909 = 100; - return 2; - } -} diff --git a/client/src/Class239_Sub8.java b/client/src/Class239_Sub8.java deleted file mode 100644 index f2255074e..000000000 --- a/client/src/Class239_Sub8.java +++ /dev/null @@ -1,229 +0,0 @@ -/* Class239_Sub8 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class239_Sub8 extends Class239 { - static int anInt5911; - static int anInt5912; - static int anInt5913; - static int anInt5914; - static int anInt5915; - static int anInt5916; - static int anInt5917; - static int anInt5918; - static int anInt5919; - static int anInt5920; - static int[][] anIntArrayArray5921; - static int anInt5922; - static int anInt5923; - static int anInt5924; - - static final int method1749(Class110_Sub1 class110_sub1, Class110_Sub1 class110_sub1_0_, boolean bool, int i, byte i_1_) { - try { - anInt5916++; - if (i == 1) { - int i_2_ = class110_sub1.anInt1704; - int i_3_ = class110_sub1_0_.anInt1704; - if (!bool) { - if (i_2_ == -1) i_2_ = 2001; - if (i_3_ == -1) i_3_ = 2001; - } - return -i_3_ + i_2_; - } - if (i == 2) return (Class239_Sub21.method1811(9152, (class110_sub1_0_.method1038(false).aString3663), Class348_Sub33.anInt6967, (class110_sub1.method1038(false).aString3663))); - if (i == 3) { - if (class110_sub1.aString5787.equals("-")) { - if (class110_sub1_0_.aString5787.equals("-")) return 0; - if (bool) return -1; - return 1; - } else if (class110_sub1_0_.aString5787.equals("-")) { - if (!bool) return -1; - return 1; - } - return (Class239_Sub21.method1811(9152, class110_sub1_0_.aString5787, Class348_Sub33.anInt6967, class110_sub1.aString5787)); - } - if (i == 4) { - if (!class110_sub1.method1033(-85)) { - if (!class110_sub1_0_.method1033(101)) return 0; - return -1; - } - if (class110_sub1_0_.method1033(70)) return 0; - return 1; - } - if (i == 5) { - if (class110_sub1.method1036((byte) -35)) { - if (!class110_sub1_0_.method1036((byte) -35)) return 1; - return 0; - } - if (!class110_sub1_0_.method1036((byte) -35)) return 0; - return -1; - } - if (i == 6) { - if (class110_sub1.method1031(i_1_ ^ ~0x61)) { - if (class110_sub1_0_.method1031(-105)) return 0; - return 1; - } - if (class110_sub1_0_.method1031(i_1_ ^ ~0x60)) return -1; - return 0; - } - if (i_1_ != -30) return 63; - if (i == 7) { - if (class110_sub1.method1029(true)) { - if (!class110_sub1_0_.method1029(true)) return 1; - return 0; - } - if (class110_sub1_0_.method1029(true)) return -1; - return 0; - } - if (i == 8) { - int i_4_ = class110_sub1.anInt5788; - int i_5_ = class110_sub1_0_.anInt5788; - if (bool) { - if (i_5_ == 1000) i_5_ = -1; - if (i_4_ == 1000) i_4_ = -1; - } else { - if (i_5_ == -1) i_5_ = 1000; - if (i_4_ == -1) i_4_ = 1000; - } - return -i_5_ + i_4_; - } - return (class110_sub1.anInt5786 + -class110_sub1_0_.anInt5786); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("mfa.L(" + (class110_sub1 != null ? "{...}" : "null") + ',' + (class110_sub1_0_ != null ? "{...}" : "null") + ',' + bool + ',' + i + ',' + i_1_ + ')')); - } - } - - final int method1710(int i) { - if (i != 20014) method1749(null, null, false, 94, (byte) -39); - anInt5914++; - if (this.aClass348_Sub51_3136.method3428((byte) -80).method1456((byte) 111)) return 3; - return 2; - } - - static final void method1750(int i, int i_6_) { - anInt5912++; - Class348_Sub42_Sub1.anInt9488 = i_6_; - Class202.aClass60_2671.method590(0); - } - - final int method1751(int i) { - anInt5917++; - if (i != -32350) anInt5911 = 114; - return this.anInt3138; - } - - Class239_Sub8(Class348_Sub51 class348_sub51) { - super(class348_sub51); - } - - Class239_Sub8(int i, Class348_Sub51 class348_sub51) { - super(i, class348_sub51); - } - - final void method1712(int i, int i_7_) { - int i_8_ = -87 / ((i - 82) / 35); - anInt5915++; - this.anInt3138 = i_7_; - } - - final int method1714(int i, int i_9_) { - if (i != 3) anInt5911 = 95; - anInt5923++; - return 1; - } - - static final void method1752(int i, int i_10_, int i_11_) { - Class59_Sub1.anInt5283 = i_11_; - anInt5922++; - Class107.anInt1651 = i_10_; - if (i == -1) { - if (Class348_Sub49.anInt7207 == 0) { - Class239_Sub16.anInt6008 = (2 * Class348_Sub42_Sub9_Sub1.anInt10444 + Class107.anInt1651); - Class348_Sub16_Sub1.anInt8854 = Class211.anInt2747 * 2 + Class59_Sub1.anInt5283; - } else if (Class348_Sub49.anInt7207 == 1) { - Class31.anInt425 = (Class239_Sub12.anInt5965 + Class59_Sub1.anInt5283 / Class58.anInt1067 - -2); - Class250.anInt3225 = (Class73.anInt4784 + Class107.anInt1651 / Class344.anInt4267 - -2); - Class348_Sub16_Sub1.anInt8854 = Class58.anInt1067 * Class31.anInt425; - Class239_Sub16.anInt6008 = Class344.anInt4267 * Class250.anInt3225; - Class211.anInt2747 = (-Class59_Sub1.anInt5283 + Class348_Sub16_Sub1.anInt8854 >> 1); - Class348_Sub42_Sub9_Sub1.anInt10444 = (Class239_Sub16.anInt6008 - Class107.anInt1651 >> 1); - } else if (Class348_Sub49.anInt7207 == 2) { - Class348_Sub16_Sub1.anInt8854 = Class59_Sub1.anInt5283; - Class239_Sub16.anInt6008 = Class107.anInt1651; - } - } - } - - static final String method1753(int i, Class46 class46) { - anInt5924++; - if (client.method105(class46).method3307(116) == 0) return null; - if (class46.aString780 == null || class46.aString780.trim().length() == 0) { - if (Class299_Sub2.aBoolean6327) return "Hidden-use"; - return null; - } - if (i != 0) return null; - return class46.aString780; - } - - final void method1716(boolean bool) { - anInt5913++; - if (this.anInt3138 < 1 || this.anInt3138 > 3) this.anInt3138 = method1710(20014); - if (bool != false) anIntArrayArray5921 = null; - } - - static final int method1754(boolean bool, int i, int i_12_, int i_13_) { - anInt5920++; - if (Class348.anInt4290 < 100) return -2; - if (bool != true) method1754(false, 115, 112, -104); - int i_14_ = -2; - int i_15_ = 2147483647; - int i_16_ = i_12_ - Class75.anInt1266; - int i_17_ = i_13_ - Class75.anInt1263; - for (Class348_Sub21 class348_sub21 = (Class348_Sub21) Class75.aClass262_1254.method1995(4); class348_sub21 != null; class348_sub21 = (Class348_Sub21) Class75.aClass262_1254.method1990((byte) 113)) { - if (class348_sub21.anInt6847 == i) { - int i_18_ = class348_sub21.anInt6852; - int i_19_ = class348_sub21.anInt6851; - int i_20_ = (i_19_ - -Class75.anInt1263 | Class75.anInt1266 + i_18_ << 14); - int i_21_ = ((-i_19_ + i_17_) * (-i_19_ + i_17_) + (i_16_ - i_18_) * (-i_18_ + i_16_)); - if (i_14_ < 0 || i_15_ > i_21_) { - i_15_ = i_21_; - i_14_ = i_20_; - } - } - } - return i_14_; - } - - public static void method1755(int i) { - anIntArrayArray5921 = null; - if (i != 1) method1749(null, null, false, -43, (byte) 102); - } - - static final int method1756(byte[] is, int i, int i_22_, int i_23_, byte[][] is_24_, byte[][] is_25_, int[] is_26_, int[] is_27_) { - try { - anInt5918++; - int i_28_ = -19 % ((i - 64) / 39); - int i_29_ = is_26_[i_23_]; - int i_30_ = is_27_[i_23_] + i_29_; - int i_31_ = is_26_[i_22_]; - int i_32_ = is_27_[i_22_] + i_31_; - int i_33_ = i_29_; - if (i_29_ < i_31_) i_33_ = i_31_; - int i_34_ = i_30_; - if (i_32_ < i_30_) i_34_ = i_32_; - int i_35_ = 0xff & is[i_23_]; - if (i_35_ > (is[i_22_] & 0xff)) i_35_ = 0xff & is[i_22_]; - byte[] is_36_ = is_25_[i_23_]; - byte[] is_37_ = is_24_[i_22_]; - int i_38_ = i_33_ + -i_29_; - int i_39_ = -i_31_ + i_33_; - for (int i_40_ = i_33_; i_34_ > i_40_; i_40_++) { - int i_41_ = is_37_[i_39_++] + is_36_[i_38_++]; - if (i_41_ < i_35_) i_35_ = i_41_; - } - return -i_35_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("mfa.K(" + (is != null ? "{...}" : "null") + ',' + i + ',' + i_22_ + ',' + i_23_ + ',' + (is_24_ != null ? "{...}" : "null") + ',' + (is_25_ != null ? "{...}" : "null") + ',' + (is_26_ != null ? "{...}" : "null") + ',' + (is_27_ != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class239_Sub9.java b/client/src/Class239_Sub9.java deleted file mode 100644 index 4c80b5687..000000000 --- a/client/src/Class239_Sub9.java +++ /dev/null @@ -1,80 +0,0 @@ -/* Class239_Sub9 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class239_Sub9 extends Class239 { - static int anInt5925; - static int anInt5926; - static int anInt5927; - static int anInt5928; - static Class351 aClass351_5929 = new Class351(25, 3); - static int anInt5930; - static int anInt5931; - static Class230 aClass230_5932 = new Class230("game4", 3); - static Class105[] aClass105Array5933; - static Class351 aClass351_5934 = new Class351(78, 16); - - Class239_Sub9(int i, Class348_Sub51 class348_sub51) { - super(i, class348_sub51); - } - - final void method1712(int i, int i_0_) { - anInt5925++; - int i_1_ = -123 % ((82 - i) / 35); - this.anInt3138 = i_0_; - } - - final boolean method1757(int i) { - anInt5927++; - if (this.aClass348_Sub51_3136.method3425(-122)) return false; - if (i < 85) method1759(117); - return this.aClass348_Sub51_3136.method3422(674) == Class10.aClass230_186; - } - - public static void method1758(int i) { - if (i != -16211) aClass351_5934 = null; - aClass230_5932 = null; - aClass351_5929 = null; - aClass105Array5933 = null; - aClass351_5934 = null; - } - - final int method1714(int i, int i_2_) { - anInt5926++; - if (this.aClass348_Sub51_3136.method3425(-114)) return 3; - if (this.aClass348_Sub51_3136.method3422(674) == Class10.aClass230_186) { - if (i_2_ == 0) { - if (this.aClass348_Sub51_3136.aClass239_Sub16_7247.method1789(-32350) == 1) return 2; - if (this.aClass348_Sub51_3136.aClass239_Sub24_7235.method1820(i + -32353) == 1) return 2; - if (this.aClass348_Sub51_3136.aClass239_Sub18_7259.method1800(-32350) > 0) return 2; - } - return 1; - } - if (i != 3) method1710(57); - return 3; - } - - final void method1716(boolean bool) { - anInt5931++; - if (bool != false) aClass351_5929 = null; - if (this.aClass348_Sub51_3136.method3422(674) != Class10.aClass230_186) this.anInt3138 = 1; - else if (this.aClass348_Sub51_3136.method3425(-125)) this.anInt3138 = 0; - if (this.anInt3138 != 0 && this.anInt3138 != 1) this.anInt3138 = method1710(20014); - } - - final int method1759(int i) { - anInt5930++; - if (i != -32350) method1714(-83, -18); - return this.anInt3138; - } - - Class239_Sub9(Class348_Sub51 class348_sub51) { - super(class348_sub51); - } - - final int method1710(int i) { - if (i != 20014) aClass351_5934 = null; - anInt5928++; - return 1; - } -} diff --git a/client/src/Class24.java b/client/src/Class24.java deleted file mode 100644 index e653f4a72..000000000 --- a/client/src/Class24.java +++ /dev/null @@ -1,39 +0,0 @@ -/* Class24 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class24 { - static int anInt354; - static Class60 aClass60_355 = new Class60(260); - static int anInt356; - static Class318_Sub1_Sub3[] aClass318_Sub1_Sub3Array357; - static byte[][] aByteArrayArray358 = new byte[1000][]; - static int anInt359; - - public static void method296(byte i) { - if (i != -99) method298(false, 24, -128, 22, -7); - aClass60_355 = null; - aByteArrayArray358 = null; - aClass318_Sub1_Sub3Array357 = null; - } - - static final void method297(boolean bool) { - if (bool != false) aClass60_355 = null; - Class5.aClass60_4636.method590(0); - anInt356++; - } - - static final void method298(boolean bool, int i, int i_0_, int i_1_, int i_2_) { - anInt354++; - if (Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) == 0) Class348_Sub42_Sub3.method3177(-98, false); - else { - Class111.anInt1720 = Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350); - Class367_Sub10.method3553(true, (byte) 103, 0); - } - Class88.aBoolean1500 = bool; - Class339.anInt4202 = i; - Class239_Sub7.anInt5909 = i_0_; - Class75.method754(i_1_); - if (i_2_ > -41) method297(true); - } -} diff --git a/client/src/Class240.java b/client/src/Class240.java deleted file mode 100644 index 1c5f6e827..000000000 --- a/client/src/Class240.java +++ /dev/null @@ -1,99 +0,0 @@ -/* Class240 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class240 implements Interface1 { - static Class323 aClass323_4672; - static float aFloat4673; - static int anInt4674 = 0; - static int anInt4675; - static int anInt4676; - static int anInt4677; - static int anInt4678; - static Class105[] aClass105Array4679; - static int anInt4680; - static int anInt4681; - private final Class339 aClass339_4682; - static long aLong4683; - static Class324 aClass324_4684; - private final Class125 aClass125_4685; - static int anInt4686; - - public final boolean method8(byte i) { - anInt4678++; - int i_0_ = -50 / ((25 - i) / 52); - return aClass339_4682.method2668(-21913); - } - - static final void method1852(int i, int i_1_, int i_2_, int i_3_) { - Class357 class357 = Class147.aClass357ArrayArrayArray2029[i][i_1_][i_2_]; - if (class357 != null) { - Class318_Sub1_Sub5 class318_sub1_sub5 = class357.aClass318_Sub1_Sub5_4395; - Class318_Sub1_Sub5 class318_sub1_sub5_4_ = class357.aClass318_Sub1_Sub5_4407; - if (class318_sub1_sub5 != null) { - class318_sub1_sub5.aShort8781 = (short) ((class318_sub1_sub5.aShort8781) * i_3_ / (16 << Class362.anInt4459 - 7)); - class318_sub1_sub5.aShort8769 = (short) ((class318_sub1_sub5.aShort8769) * i_3_ / (16 << Class362.anInt4459 - 7)); - } - if (class318_sub1_sub5_4_ != null) { - class318_sub1_sub5_4_.aShort8781 = (short) ((class318_sub1_sub5_4_.aShort8781) * i_3_ / (16 << Class362.anInt4459 - 7)); - class318_sub1_sub5_4_.aShort8769 = (short) ((class318_sub1_sub5_4_.aShort8769) * i_3_ / (16 << Class362.anInt4459 - 7)); - } - } - } - - public static void method1853(byte i) { - aClass105Array4679 = null; - if (i != 48) anInt4674 = -62; - aClass323_4672 = null; - aClass324_4684 = null; - } - - static final int method1854(int i, int i_5_, boolean bool, int i_6_) { - if (i < 45) method1852(83, 33, 101, -55); - anInt4681++; - Class348_Sub13 class348_sub13 = Class258_Sub4.method1974((byte) 37, i_5_, bool); - if (class348_sub13 == null) return 0; - if (i_6_ < 0 || i_6_ >= class348_sub13.anIntArray6758.length) return 0; - return class348_sub13.anIntArray6758[i_6_]; - } - - public final void method7(int i) { - if (i == 10286) anInt4675++; - } - - public final void method9(byte i, boolean bool) { - anInt4676++; - Class295 class295 = aClass339_4682.method2667(false, aClass125_4685.anInt4918); - if (class295 != null) { - int i_7_ = ((aClass125_4685.aClass221_4922.method1607(Class92.anInt1524, aClass125_4685.anInt4929, (byte) -118)) - -aClass125_4685.anInt4924); - int i_8_ = ((aClass125_4685.aClass341_4925.method2679(ha_Sub2.anInt7666, aClass125_4685.anInt4923, i ^ ~0x60b)) - -aClass125_4685.anInt4920); - if (aClass125_4685.aBoolean4914) Class348_Sub8.aHa6654.method3628(i_7_, i_8_, aClass125_4685.anInt4929, aClass125_4685.anInt4923, aClass125_4685.anInt4917, 0); - i_8_ += method1855(5, class295.aString3756, true, Class262.aClass324_3326, i_7_, i_8_) * 12; - i_8_ += 8; - if (aClass125_4685.aBoolean4914) Class348_Sub8.aHa6654.method3709(i_7_, i_8_, i_7_ + aClass125_4685.anInt4929 + -1, i_8_, aClass125_4685.anInt4917, 0); - i_8_ = ++i_8_ + method1855(5, class295.aString3754, true, Class262.aClass324_3326, i_7_, i_8_) * 12; - i_8_ += 5; - i_8_ += method1855(5, class295.aString3758, true, Class262.aClass324_3326, i_7_, i_8_) * 12; - } - if (i != -49) method8((byte) 12); - } - - private final int method1855(int i, String string, boolean bool, Class324 class324, int i_9_, int i_10_) { - try { - if (bool != true) return -62; - anInt4677++; - return (class324.method2584(null, 0, aClass125_4685.anInt4928, null, aClass125_4685.anInt4913, 0, -(i * 2) + aClass125_4685.anInt4923, null, i + i_10_, 0, 0, -(i * 2) + aClass125_4685.anInt4929, i_9_ + i, false, 0, string)); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ta.A(" + i + ',' + (string != null ? "{...}" : "null") + ',' + bool + ',' + (class324 != null ? "{...}" : "null") + ',' + i_9_ + ',' + i_10_ + ')')); - } - } - - Class240(Class339 class339, Class125 class125) { - try { - aClass125_4685 = class125; - aClass339_4682 = class339; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ta.(" + (class339 != null ? "{...}" : "null") + ',' + (class125 != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class241.java b/client/src/Class241.java deleted file mode 100644 index aa094c11a..000000000 --- a/client/src/Class241.java +++ /dev/null @@ -1,43 +0,0 @@ -/* Class241 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class241 { - static int anInt3148; - static int anInt3149; - static Class351 aClass351_3150 = new Class351(71, 2); - - abstract void method1856(byte i); - - static final long method1857(byte i) { - anInt3148++; - if (i != -45) return -58L; - return Class348_Sub8.aClass241_6660.method1862(-18931); - } - - abstract long method1858(int i); - - abstract int method1859(int i, long l); - - public static void method1860(byte i) { - aClass351_3150 = null; - int i_0_ = -52 / ((-22 - i) / 55); - } - - public Class241() { - /* empty */ - } - - final int method1861(int i, long l) { - try { - anInt3149++; - long l_1_ = method1858(-73); - if ((long) i < l_1_) Class286_Sub5.method2161((byte) 61, l_1_); - return method1859(71, l); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "tb.H(" + i + ',' + l + ')'); - } - } - - abstract long method1862(int i); -} diff --git a/client/src/Class241_Sub1.java b/client/src/Class241_Sub1.java deleted file mode 100644 index 9dfdcc24b..000000000 --- a/client/src/Class241_Sub1.java +++ /dev/null @@ -1,72 +0,0 @@ -/* Class241_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class241_Sub1 extends Class241 { - private long aLong6154; - private long aLong6155; - private int anInt6156 = 1; - private final long[] aLongArray6157; - private long aLong6158; - private int anInt6159; - - final long method1862(int i) { - if (i != -18931) anInt6159 = 65; - return aLong6158; - } - - final int method1859(int i, long l) { - if (i != 71) return 127; - if (aLong6154 > aLong6158) { - aLong6155 += aLong6154 - aLong6158; - aLong6158 += -aLong6158 + aLong6154; - aLong6154 += l; - return 1; - } - int i_0_ = 0; - do { - i_0_++; - aLong6154 += l; - } while (i_0_ < 10 && (aLong6154 < aLong6158)); - if (aLong6154 < aLong6158) aLong6154 = aLong6158; - return i_0_; - } - - final long method1858(int i) { - if (i >= -60) anInt6156 = 64; - aLong6158 += method1863(56); - if (aLong6158 < aLong6154) return (aLong6154 - aLong6158) / 1000000L; - return 0L; - } - - final void method1856(byte i) { - aLong6155 = 0L; - if (aLong6154 > aLong6158) aLong6158 += -aLong6158 + aLong6154; - if (i < 88) aLong6158 = -33L; - } - - private final long method1863(int i) { - long l = Class62.method599(-56) * 1000000L; - long l_1_ = l + -aLong6155; - aLong6155 = l; - if (l_1_ > -5000000000L && l_1_ < 5000000000L) { - aLongArray6157[anInt6159] = l_1_; - if (anInt6156 < 10) anInt6156++; - anInt6159 = (anInt6159 - -1) % 10; - } - long l_2_ = 0L; - int i_3_ = 1; - if (i <= 0) method1859(91, -39L); - for (/**/; anInt6156 >= i_3_; i_3_++) - l_2_ += aLongArray6157[(10 + (anInt6159 + -i_3_)) % 10]; - return l_2_ / (long) anInt6156; - } - - Class241_Sub1() { - aLong6155 = 0L; - aLongArray6157 = new long[10]; - aLong6154 = 0L; - anInt6159 = 0; - aLong6158 = 0L; - } -} diff --git a/client/src/Class241_Sub2.java b/client/src/Class241_Sub2.java deleted file mode 100644 index 25e7e0ee9..000000000 --- a/client/src/Class241_Sub2.java +++ /dev/null @@ -1,75 +0,0 @@ -/* Class241_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jagex3.jagmisc.jagmisc; - -final class Class241_Sub2 extends Class241 { - private long aLong6160; - private long aLong6161 = 0L; - private long aLong6162; - private int anInt6163; - private final long[] aLongArray6164; - private int anInt6165; - - private final long method1864(int i) { - long l = jagmisc.nanoTime(); - long l_0_ = l + -aLong6162; - aLong6162 = l; - if (l_0_ > -5000000000L && l_0_ < 5000000000L) { - aLongArray6164[anInt6163] = l_0_; - if (anInt6165 < 1) anInt6165++; - anInt6163 = (1 + anInt6163) % 10; - } - long l_1_ = 0L; - if (i != 10) method1864(107); - for (int i_2_ = 1; i_2_ <= anInt6165; i_2_++) - l_1_ += aLongArray6164[(10 + (anInt6163 + -i_2_)) % 10]; - return l_1_ / (long) anInt6165; - } - - final long method1858(int i) { - aLong6161 += method1864(10); - if (i > -60) return -8L; - if (aLong6161 < aLong6160) return (-aLong6161 + aLong6160) / 1000000L; - return 0L; - } - - final void method1856(byte i) { - if (i <= 88) method1856((byte) 111); - aLong6162 = 0L; - if (aLong6160 > aLong6161) aLong6161 += -aLong6161 + aLong6160; - } - - final long method1862(int i) { - if (i != -18931) return -56L; - return aLong6161; - } - - Class241_Sub2() { - aLong6160 = 0L; - anInt6163 = 0; - aLong6162 = 0L; - aLongArray6164 = new long[10]; - anInt6165 = 1; - aLong6160 = aLong6161 = jagmisc.nanoTime(); - if (aLong6161 == 0) throw new RuntimeException(); - } - - final int method1859(int i, long l) { - if (i != 71) method1859(41, -7L); - if (aLong6161 < aLong6160) { - aLong6162 += aLong6160 + -aLong6161; - aLong6161 += -aLong6161 + aLong6160; - aLong6160 += l; - return 1; - } - int i_3_ = 0; - do { - i_3_++; - aLong6160 += l; - } while (i_3_ < 10 && aLong6161 > aLong6160); - if (aLong6160 < aLong6161) aLong6160 = aLong6161; - return i_3_; - } -} diff --git a/client/src/Class241_Sub3.java b/client/src/Class241_Sub3.java deleted file mode 100644 index 7730d864f..000000000 --- a/client/src/Class241_Sub3.java +++ /dev/null @@ -1,70 +0,0 @@ -/* Class241_Sub3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class241_Sub3 extends Class241 { - private long aLong6166 = 0L; - private long aLong6167 = 0L; - private int anInt6168; - private long aLong6169 = 0L; - private int anInt6170 = 0; - private final long[] aLongArray6171; - - final long method1858(int i) { - aLong6166 += method1865(10); - if (i > -60) aLong6169 = 17L; - if (aLong6167 > aLong6166) return (-aLong6166 + aLong6167) / 1000000L; - return 0L; - } - - final void method1856(byte i) { - aLong6169 = 0L; - if (i < 88) method1856((byte) -4); - if (aLong6166 < aLong6167) aLong6166 += aLong6167 + -aLong6166; - } - - private final long method1865(int i) { - long l = System.nanoTime(); - long l_0_ = -aLong6169 + l; - if (i != 10) return -56L; - aLong6169 = l; - if (l_0_ > -5000000000L && l_0_ < 5000000000L) { - aLongArray6171[anInt6170] = l_0_; - if (anInt6168 < 1) anInt6168++; - anInt6170 = (1 + anInt6170) % 10; - } - long l_1_ = 0L; - for (int i_2_ = 1; i_2_ <= anInt6168; i_2_++) - l_1_ += aLongArray6171[(-i_2_ + anInt6170 - -10) % 10]; - return l_1_ / (long) anInt6168; - } - - final int method1859(int i, long l) { - if (i != 71) return 22; - if (aLong6167 <= aLong6166) { - int i_3_ = 0; - do { - i_3_++; - aLong6167 += l; - } while (i_3_ < 10 && (aLong6167 < aLong6166)); - if (aLong6167 < aLong6166) aLong6167 = aLong6166; - return i_3_; - } - aLong6169 += -aLong6166 + aLong6167; - aLong6166 += aLong6167 + -aLong6166; - aLong6167 += l; - return 1; - } - - final long method1862(int i) { - if (i != -18931) return -36L; - return aLong6166; - } - - Class241_Sub3() { - anInt6168 = 1; - aLongArray6171 = new long[10]; - aLong6166 = System.nanoTime(); - aLong6167 = System.nanoTime(); - } -} diff --git a/client/src/Class242.java b/client/src/Class242.java deleted file mode 100644 index b70f55b2e..000000000 --- a/client/src/Class242.java +++ /dev/null @@ -1,56 +0,0 @@ -/* Class242 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class242 { - static int anInt3151; - static Class348_Sub42_Sub13 aClass348_Sub42_Sub13_3152 = null; - private final ha_Sub2 aHa_Sub2_3153; - static int anInt3154; - static int anInt3155; - long aLong3156; - - public static void method1866(int i) { - if (i != 0) aClass348_Sub42_Sub13_3152 = null; - aClass348_Sub42_Sub13_3152 = null; - } - - static final void method1867(int i) { - if (i < 44) method1868((byte) -81, null); - anInt3155++; - Class88.anInt1498++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class318_Sub1_Sub1.aClass351_8724, Class348_Sub23_Sub2.aClass77_9029, -99); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 0); - Class348_Sub42_Sub14.method3243(118, class348_sub47); - } - - protected final void finalize() throws Throwable { - anInt3151++; - aHa_Sub2_3153.method3769(this.aLong3156, false); - super.finalize(); - } - - static final void method1868(byte i, Class348_Sub42_Sub13 class348_sub42_sub13) { - int i_0_ = -104 / ((i - 38) / 54); - anInt3154++; - class348_sub42_sub13.method3162(true); - boolean bool = false; - for (Class348_Sub42_Sub13 class348_sub42_sub13_1_ = ((Class348_Sub42_Sub13) Class233.aClass107_3022.method1011(-85)); class348_sub42_sub13_1_ != null; class348_sub42_sub13_1_ = ((Class348_Sub42_Sub13) Class233.aClass107_3022.method1003((byte) 84))) { - if (Class318_Sub2.method2496(class348_sub42_sub13_1_.method3235(-17937), class348_sub42_sub13.method3235(-17937), true)) { - Class69.method721(class348_sub42_sub13_1_, class348_sub42_sub13, -1); - bool = true; - break; - } - } - if (!bool) Class233.aClass107_3022.method1005(true, class348_sub42_sub13); - } - - Class242(ha_Sub2 var_ha_Sub2, long l, int i) { - try { - aHa_Sub2_3153 = var_ha_Sub2; - this.aLong3156 = l; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("tba.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + l + ',' + i + ')')); - } - } -} diff --git a/client/src/Class243.java b/client/src/Class243.java deleted file mode 100644 index 4c01e0523..000000000 --- a/client/src/Class243.java +++ /dev/null @@ -1,128 +0,0 @@ -/* Class243 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class243 { - static int anInt3157; - static int anInt3158; - static int anInt3159; - static int anInt3160; - static int anInt3161; - static int anInt3162; - static int anInt3163; - static int anInt3164; - static Class351 aClass351_3165 = new Class351(60, 8); - private final Class318 aClass318_3166 = new Class318(); - private Class318 aClass318_3167; - static int anInt3168; - - final void method1869(int i, Class318 class318) { - if (class318.aClass318_3976 != null) class318.method2373(false); - anInt3158++; - class318.aClass318_3976 = aClass318_3166.aClass318_3976; - if (i > -81) aClass318_3167 = null; - class318.aClass318_3970 = aClass318_3166; - class318.aClass318_3976.aClass318_3970 = class318; - class318.aClass318_3970.aClass318_3976 = class318; - } - - final Class318 method1870(int i) { - if (i > -103) aClass318_3167 = null; - anInt3162++; - Class318 class318 = aClass318_3166.aClass318_3976; - if (aClass318_3166 == class318) { - aClass318_3167 = null; - return null; - } - aClass318_3167 = class318.aClass318_3976; - return class318; - } - - final boolean method1871(byte i) { - anInt3157++; - if (i <= 98) method1879(true); - return aClass318_3166 == aClass318_3166.aClass318_3970; - } - - final Class318 method1872(int i) { - anInt3163++; - Class318 class318 = aClass318_3166.aClass318_3970; - if (i != 8) method1878((byte) 126); - if (class318 == aClass318_3166) { - aClass318_3167 = null; - return null; - } - aClass318_3167 = class318.aClass318_3970; - return class318; - } - - public static void method1873(byte i) { - if (i > -111) aClass351_3165 = null; - aClass351_3165 = null; - } - - final int method1874(int i) { - anInt3161++; - int i_0_ = i; - for (Class318 class318 = aClass318_3166.aClass318_3970; aClass318_3166 != class318; class318 = class318.aClass318_3970) - i_0_++; - return i_0_; - } - - final Class318 method1875(int i) { - anInt3160++; - Class318 class318 = aClass318_3166.aClass318_3970; - if (class318 == aClass318_3166) return null; - class318.method2373(false); - if (i != 60) method1878((byte) 16); - return class318; - } - - final void method1876(byte i) { - if (i == -45) { - anInt3168++; - for (; ; ) { - Class318 class318 = aClass318_3166.aClass318_3970; - if (class318 == aClass318_3166) break; - class318.method2373(false); - } - aClass318_3167 = null; - } - } - - static final void method1877(ha var_ha, int i) { - anInt3164++; - if (i >= -20) method1877(null, -112); - for (Class318_Sub10 class318_sub10 = (Class318_Sub10) Class152.aClass243_2077.method1872(8); class318_sub10 != null; class318_sub10 = (Class318_Sub10) Class152.aClass243_2077.method1878((byte) 124)) { - if (class318_sub10.aBoolean6482) class318_sub10.method2528(var_ha); - } - } - - final Class318 method1878(byte i) { - anInt3159++; - Class318 class318 = aClass318_3167; - int i_1_ = -59 % ((67 - i) / 55); - if (class318 == aClass318_3166) { - aClass318_3167 = null; - return null; - } - aClass318_3167 = class318.aClass318_3970; - return class318; - } - - static final void method1879(boolean bool) { - if (bool) { - Class147.aClass357ArrayArrayArray2029 = Class348_Sub31_Sub2.aClass357ArrayArrayArray9082; - aa_Sub1.aSArray5191 = Class332.aSArray4142; - } else { - Class147.aClass357ArrayArrayArray2029 = Class65.aClass357ArrayArrayArray1148; - aa_Sub1.aSArray5191 = Class348_Sub1_Sub1.aSArray8801; - } - Class189.anInt2524 = Class147.aClass357ArrayArrayArray2029.length; - } - - public Class243() { - aClass318_3166.aClass318_3976 = aClass318_3166; - aClass318_3166.aClass318_3970 = aClass318_3166; - } -} diff --git a/client/src/Class244.java b/client/src/Class244.java deleted file mode 100644 index 180223a5f..000000000 --- a/client/src/Class244.java +++ /dev/null @@ -1,155 +0,0 @@ -/* Class244 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class244 implements d { - static int anInt4609 = -1; - static int anInt4610; - private final Class12[] aClass12Array4611; - static int anInt4612; - static int anInt4613; - static int anInt4614; - static long aLong4615; - static int anInt4616; - static int anInt4617; - static int anInt4618; - private final Class45 aClass45_4619; - static int anInt4620; - static int anInt4621; - private final Class308 aClass308_4622 = new Class308(256); - static int[] anIntArray4623 = new int[8]; - private final Class45 aClass45_4624; - private final int anInt4625; - static float aFloat4626; - - public final int[] method6(int i, int i_0_, float f, int i_1_, boolean bool, int i_2_) { - if (i != -21540) method3(-46, 6); - anInt4617++; - return method1881(i_1_, false).method3183(this, i_2_, i_0_, (aClass12Array4611[i_1_].aBoolean207), f, aClass45_4624, (byte) 11); - } - - public static void method1880(int i) { - if (i >= -103) anInt4610 = -87; - anIntArray4623 = null; - } - - private final Class348_Sub42_Sub5 method1881(int i, boolean bool) { - anInt4620++; - Class348_Sub42 class348_sub42 = aClass308_4622.method2302(i, (byte) -34); - if (class348_sub42 != null) return (Class348_Sub42_Sub5) class348_sub42; - byte[] is = aClass45_4619.method415((byte) 73, i); - if (is == null) return null; - if (bool != false) method1(-58, 1.9039171F, false, -106, -22, -18); - Class348_Sub42_Sub5 class348_sub42_sub5 = new Class348_Sub42_Sub5(new Class348_Sub49(is)); - aClass308_4622.method2305(i, class348_sub42_sub5, -1); - return class348_sub42_sub5; - } - - public final Class12 method3(int i, int i_3_) { - anInt4621++; - if (i_3_ != -6662) return null; - return aClass12Array4611[i]; - } - - public final int[] method5(boolean bool, int i, float f, int i_4_, int i_5_, int i_6_) { - int i_7_ = 41 / ((i_6_ - -69) / 48); - anInt4614++; - return method1881(i, false).method3185(i_4_, this, 0, aClass12Array4611[i].aBoolean207, f, bool, aClass45_4624, i_5_); - } - - public final boolean method4(int i, int i_8_) { - anInt4616++; - Class348_Sub42_Sub5 class348_sub42_sub5 = method1881(i_8_, false); - if (i != -7953) method4(56, -109); - return class348_sub42_sub5 != null && class348_sub42_sub5.method3184(this, aClass45_4624, -85); - } - - public final float[] method1(int i, float f, boolean bool, int i_9_, int i_10_, int i_11_) { - if (i_9_ != -30824) return null; - anInt4612++; - return method1881(i_11_, false).method3186(i, this, (aClass12Array4611[i_11_].aBoolean207), i_10_, aClass45_4624, -20); - } - - public final int method2(boolean bool) { - anInt4618++; - if (bool != true) aLong4615 = -52L; - return anInt4625; - } - - Class244(Class45 class45, Class45 class45_12_, Class45 class45_13_) { - try { - aClass45_4619 = class45_12_; - aClass45_4624 = class45_13_; - Class348_Sub49 class348_sub49 = new Class348_Sub49(class45.method410(-1860, 0, 0)); - anInt4625 = class348_sub49.readUnsignedShort(842397944); - aClass12Array4611 = new Class12[anInt4625]; - for (int i = 0; anInt4625 > i; i++) { - if (class348_sub49.readUnsignedByte(255) == 1) aClass12Array4611[i] = new Class12(); - } - for (int i = 0; i < anInt4625; i++) { - if (aClass12Array4611[i] != null) aClass12Array4611[i].aBoolean209 = class348_sub49.readUnsignedByte(255) == 0; - } - for (int i = 0; i < anInt4625; i++) { - if (aClass12Array4611[i] != null) aClass12Array4611[i].aBoolean199 = class348_sub49.readUnsignedByte(255) == 1; - } - for (int i = 0; anInt4625 > i; i++) { - if (aClass12Array4611[i] != null) aClass12Array4611[i].aBoolean204 = class348_sub49.readUnsignedByte(255) == 1; - } - for (int i = 0; i < anInt4625; i++) { - if (aClass12Array4611[i] != null) aClass12Array4611[i].aByte216 = class348_sub49.readByte(-85); - } - for (int i = 0; i < anInt4625; i++) { - if (aClass12Array4611[i] != null) aClass12Array4611[i].aByte201 = class348_sub49.readByte(-113); - } - for (int i = 0; i < anInt4625; i++) { - if (aClass12Array4611[i] != null) aClass12Array4611[i].aByte213 = class348_sub49.readByte(-97); - } - for (int i = 0; i < anInt4625; i++) { - if (aClass12Array4611[i] != null) aClass12Array4611[i].aByte202 = class348_sub49.readByte(-82); - } - for (int i = 0; i < anInt4625; i++) { - if (aClass12Array4611[i] != null) aClass12Array4611[i].aShort208 = (short) class348_sub49.readUnsignedShort(842397944); - } - for (int i = 0; anInt4625 > i; i++) { - if (aClass12Array4611[i] != null) aClass12Array4611[i].aByte198 = class348_sub49.readByte(-86); - } - for (int i = 0; anInt4625 > i; i++) { - if (aClass12Array4611[i] != null) aClass12Array4611[i].aByte211 = class348_sub49.readByte(-104); - } - for (int i = 0; anInt4625 > i; i++) { - if (aClass12Array4611[i] != null) aClass12Array4611[i].aBoolean212 = class348_sub49.readUnsignedByte(255) == 1; - } - for (int i = 0; anInt4625 > i; i++) { - if (aClass12Array4611[i] != null) aClass12Array4611[i].aBoolean207 = class348_sub49.readUnsignedByte(255) == 1; - } - for (int i = 0; i < anInt4625; i++) { - if (aClass12Array4611[i] != null) aClass12Array4611[i].aByte205 = class348_sub49.readByte(-77); - } - for (int i = 0; i < anInt4625; i++) { - if (aClass12Array4611[i] != null) aClass12Array4611[i].aBoolean217 = class348_sub49.readUnsignedByte(255) == 1; - } - for (int i = 0; anInt4625 > i; i++) { - if (aClass12Array4611[i] != null) aClass12Array4611[i].aBoolean215 = class348_sub49.readUnsignedByte(255) == 1; - } - for (int i = 0; anInt4625 > i; i++) { - if (aClass12Array4611[i] != null) aClass12Array4611[i].aBoolean218 = class348_sub49.readUnsignedByte(255) == 1; - } - for (int i = 0; i < anInt4625; i++) { - if (aClass12Array4611[i] != null) aClass12Array4611[i].anInt203 = class348_sub49.readUnsignedByte(255); - } - for (int i = 0; anInt4625 > i; i++) { - if (aClass12Array4611[i] != null) aClass12Array4611[i].anInt206 = class348_sub49.readInt((byte) -126); - } - for (int i = 0; anInt4625 > i; i++) { - if (aClass12Array4611[i] != null) aClass12Array4611[i].anInt200 = class348_sub49.readUnsignedByte(255); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("tda.(" + (class45 != null ? "{...}" : "null") + ',' + (class45_12_ != null ? "{...}" : "null") + ',' + (class45_13_ != null ? "{...}" : "null") + ')')); - } - } - - static { - anInt4610 = 328; - aLong4615 = 0L; - } -} diff --git a/client/src/Class245.java b/client/src/Class245.java deleted file mode 100644 index 95595a643..000000000 --- a/client/src/Class245.java +++ /dev/null @@ -1,74 +0,0 @@ -/* Class245 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class245 { - private static int[] anIntArray3169 = new int[3]; - static int anInt3170; - static int anInt3171; - static float aFloat3172; - - public static void method1882(int i) { - if (i != 25365) anInt3170 = 100; - anIntArray3169 = null; - } - - static final void method1883(Class318 class318, Class318 class318_0_, boolean bool) { - try { - anInt3171++; - if (class318_0_.aClass318_3976 != null) class318_0_.method2373(false); - class318_0_.aClass318_3970 = class318; - if (bool != true) anIntArray3169 = null; - class318_0_.aClass318_3976 = class318.aClass318_3976; - class318_0_.aClass318_3976.aClass318_3970 = class318_0_; - class318_0_.aClass318_3970.aClass318_3976 = class318_0_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("te.B(" + (class318 != null ? "{...}" : "null") + ',' + (class318_0_ != null ? "{...}" : "null") + ',' + bool + ')')); - } - } - - static final void method1884() { - int i = 10; - int i_1_ = 30; - if (Class348_Sub18.anInt6818 != 0 && Class362.aClass324_4456 != null) { - Class9.aHa171.K(Class348_Sub40_Sub10.anIntArray9183); - for (int i_2_ = 0; i_2_ < Class17.anIntArray256.length; i_2_++) - Class9.aHa171.method3660((Class17.anIntArray256[i_2_] + Class345.anIntArray4271[i_2_]), -256, (Class348_Sub40_Sub10.anIntArray9183[3] - Class348_Sub40_Sub10.anIntArray9183[1]), Class348_Sub40_Sub10.anIntArray9183[1], true); - for (int i_3_ = 0; i_3_ < Class348_Sub42_Sub10.anInt9577; i_3_++) { - Class338 class338 = Class348_Sub42_Sub19.aClass338Array9700[i_3_]; - Class9.aHa171.H(class338.anIntArray4187[0], class338.anIntArray4191[0], class338.anIntArray4184[0], Class177.anIntArray4670); - Class9.aHa171.H(class338.anIntArray4187[1], class338.anIntArray4191[1], class338.anIntArray4184[1], Class13.anIntArray222); - Class9.aHa171.H(class338.anIntArray4187[2], class338.anIntArray4191[2], class338.anIntArray4184[2], anIntArray3169); - Class9.aHa171.H(class338.anIntArray4187[3], class338.anIntArray4191[3], class338.anIntArray4184[3], Class99.anIntArray1574); - if (Class177.anIntArray4670[2] != -1 && Class13.anIntArray222[2] != -1 && anIntArray3169[2] != -1 && Class99.anIntArray1574[2] != -1) { - int i_4_ = -65536; - if (class338.aByte4192 == 4) i_4_ = -16776961; - Class9.aHa171.method3645(Class177.anIntArray4670[1], Class177.anIntArray4670[0], Class13.anIntArray222[0], -8003, i_4_, Class13.anIntArray222[1]); - Class9.aHa171.method3645(Class13.anIntArray222[1], Class13.anIntArray222[0], anIntArray3169[0], -8003, i_4_, anIntArray3169[1]); - Class9.aHa171.method3645(anIntArray3169[1], anIntArray3169[0], Class99.anIntArray1574[0], -8003, i_4_, Class99.anIntArray1574[1]); - Class9.aHa171.method3645(Class99.anIntArray1574[1], Class99.anIntArray1574[0], Class177.anIntArray4670[0], -8003, i_4_, Class177.anIntArray4670[1]); - Class9.aHa171.method3645(Class177.anIntArray4670[1], Class177.anIntArray4670[0], anIntArray3169[0], -8003, i_4_, anIntArray3169[1]); - } - } - Class362.aClass324_4456.method2576(("Dynamic: " + Class86.anInt1477 + "/" + 5000), -256, i_1_ + 45, i, -16777216, -120); - Class362.aClass324_4456.method2576(("Total Opaque Onscreen: " + Class5_Sub1_Sub1.anInt9930 + "/" + 10000), -256, i_1_ + 60, i, -16777216, -124); - Class362.aClass324_4456.method2576(("Total Trans Onscreen: " + Class348_Sub42_Sub3.anInt9504 + "/" + 5000), -256, i_1_ + 75, i, -16777216, -111); - Class362.aClass324_4456.method2576(("Occluders: " + (Class239_Sub26.anInt6115 + Class69.anInt1200) + " Active: " + (Class348_Sub42_Sub10.anInt9577)), -256, i_1_ + 90, i, -16777216, -111); - Class362.aClass324_4456.method2576(("Occluded: Ground:" + Class348_Sub23_Sub2.anInt9039 + " Walls: " + Class42.anInt562 + " CPs: " + Class348_Sub40_Sub4.anInt9112 + " Pixels: " + Class225.anInt2946), -256, i_1_ + 105, i, -16777216, -115); - Class362.aClass324_4456.method2576(("Occlude Calc Took: " + (Class286_Sub6.aLong6276 / 1000L) + "us"), -256, i_1_ + 120, i, -16777216, -123); - if (Class348_Sub18.anInt6818 == 2 && Class14.anIntArray5091 != null) { - for (int i_5_ = 0; i_5_ < Class14.anIntArray5091.length; i_5_++) { - float f = (float) Class14.anIntArray5091[i_5_]; - f /= 4194304.0F; - if (f > 1.0F) f = 1.0F; - f *= 255.0F; - f = 255.0F - f; - int i_6_ = (int) f; - Class14.anIntArray5091[i_5_] = i_6_ | i_6_ << 8 | i_6_ << 16 | ~0xffffff; - } - Class105 class105 = Class9.aHa171.method3662(Class306.anInt3872, Class14.anIntArray5091, (byte) 94, 0, Class306.anInt3872, Class86.anInt1480); - class105.method964(i, 170, 1, 0, 0); - } - } - } -} diff --git a/client/src/Class246.java b/client/src/Class246.java deleted file mode 100644 index 44379bf0a..000000000 --- a/client/src/Class246.java +++ /dev/null @@ -1,58 +0,0 @@ -/* Class246 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class246 { - static int[] anIntArray3173 = {0, 2, 2, 2, 1, 1, 3, 3, 1, 3, 3, 4, 4}; - static boolean aBoolean3174 = false; - static int anInt3175; - static int anInt3176; - static float aFloat3177; - static int anInt3178; - static Class143 aClass143_3179; - - static final void method1885(int i, int i_0_, int i_1_, int i_2_, int i_3_, float[] fs, int i_4_, float f, int i_5_, int i_6_, float f_7_, float[] fs_8_) { - try { - i_4_ -= i_5_; - i_0_ -= i; - anInt3175++; - i_3_ -= i_6_; - float f_9_ = fs_8_[2] * (float) i_0_ + (fs_8_[1] * (float) i_4_ + (float) i_3_ * fs_8_[0]); - float f_10_ = (fs_8_[5] * (float) i_0_ + (fs_8_[3] * (float) i_3_ + (float) i_4_ * fs_8_[4])); - float f_11_ = ((float) i_3_ * fs_8_[6] + fs_8_[7] * (float) i_4_ + (float) i_0_ * fs_8_[i_2_]); - float f_12_ = 0.5F + ((float) Math.atan2(f_9_, f_11_) / 6.2831855F); - if (f_7_ != 1.0F) f_12_ *= f_7_; - float f_13_ = 0.5F + f_10_ + f; - if (i_1_ == 1) { - float f_14_ = f_12_; - f_12_ = -f_13_; - f_13_ = f_14_; - } else if (i_1_ == 2) { - f_12_ = -f_12_; - f_13_ = -f_13_; - } else if (i_1_ == 3) { - float f_15_ = f_12_; - f_12_ = f_13_; - f_13_ = -f_15_; - } - fs[1] = f_13_; - fs[0] = f_12_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ca.D(" + i + ',' + i_0_ + ',' + i_1_ + ',' + i_2_ + ',' + i_3_ + ',' + (fs != null ? "{...}" : "null") + ',' + i_4_ + ',' + f + ',' + i_5_ + ',' + i_6_ + ',' + f_7_ + ',' + (fs_8_ != null ? "{...}" : "null") + ')')); - } - } - - public static void method1886(int i) { - if (i != 4908) method1885(-84, 89, 50, 37, 107, null, -109, 0.5058839F, -21, -30, 0.003914575F, null); - anIntArray3173 = null; - aClass143_3179 = null; - } - - static final boolean method1887(int i, int i_16_, int i_17_) { - anInt3178++; - if (i != 0) return true; - return Class348_Sub40_Sub3.method3056(63, i_17_, i_16_) | (0x70000 & i_17_) != 0 || Class264.method2015(i_17_, i_16_, i + 7); - } - - abstract Class348_Sub42_Sub8 method1888(int i, Class348_Sub42_Sub8 class348_sub42_sub8); -} diff --git a/client/src/Class246_Sub1.java b/client/src/Class246_Sub1.java deleted file mode 100644 index 83dfaaf17..000000000 --- a/client/src/Class246_Sub1.java +++ /dev/null @@ -1,10 +0,0 @@ -/* Class246_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class246_Sub1 extends Class246 { - final Class348_Sub42_Sub8 method1888(int i, Class348_Sub42_Sub8 class348_sub42_sub8) { - if (i != 3) return null; - return new Class348_Sub42_Sub8_Sub1(class348_sub42_sub8.method3193(i + 95), class348_sub42_sub8.anInt9545); - } -} diff --git a/client/src/Class247.java b/client/src/Class247.java deleted file mode 100644 index d8e63976e..000000000 --- a/client/src/Class247.java +++ /dev/null @@ -1,41 +0,0 @@ -/* Class247 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class247 { - static int anInt3180; - static Class21 aClass21_3181 = new Class21(); - static double aDouble3182; - static Class45 aClass45_3183; - static int anInt3184; - - public static void method1889(int i) { - if (i != 255) method1889(-18); - aClass21_3181 = null; - aClass45_3183 = null; - } - - static final int method1890(int i, byte i_0_, int i_1_, int i_2_) { - anInt3180++; - int i_3_ = 88 % (-i_0_ / 55); - if (i > 243) i_1_ >>= 4; - else if (i <= 217) { - if (i > 192) i_1_ >>= 2; - else if (i > 179) i_1_ >>= 1; - } else i_1_ >>= 3; - return ((i >> 1) + (i_1_ >> 5 << 7) + ((0xff & i_2_) >> 2 << 10)); - } - - static final boolean method1891(int i) { - if (i != 314376967) method1890(-22, (byte) -36, 19, 113); - anInt3184++; - if (Class289.aBoolean3697) { - try { - return !((Boolean) Class224.method1617((byte) 125, Class93.anApplet1530, "showingVideoAd")).booleanValue(); - } catch (Throwable throwable) { - /* empty */ - } - } - return true; - } -} diff --git a/client/src/Class248.java b/client/src/Class248.java deleted file mode 100644 index 5da921dde..000000000 --- a/client/src/Class248.java +++ /dev/null @@ -1,374 +0,0 @@ -/* Class248 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.IOException; - -final class Class248 { - static int anInt3185; - static int anInt3186; - static int anInt3187; - static int anInt3188; - static int anInt3189; - static int anInt3190; - static int anInt3191; - static int anInt3192; - static int anInt3193; - static int anInt3194; - static int anInt3195; - static Class229 aClass229_3196 = new Class229(); - private final Class107 aClass107_3197 = new Class107(); - static int anInt3198; - static int anInt3199; - static int anInt3200; - static int anInt3201; - static int anInt3202; - static int anInt3203 = -1; - private final Class107 aClass107_3204 = new Class107(); - private final Class107 aClass107_3205 = new Class107(); - private final Class107 aClass107_3206 = new Class107(); - private long aLong3207; - private final Class348_Sub49 aClass348_Sub49_3208 = new Class348_Sub49(4); - private Class202 aClass202_3209; - private int anInt3210; - private final Class348_Sub49 aClass348_Sub49_3211; - private byte aByte3212 = 0; - volatile int anInt3213 = 0; - volatile int anInt3214 = 0; - private Class348_Sub42_Sub16_Sub1 aClass348_Sub42_Sub16_Sub1_3215; - - final void method1892(int i, boolean bool) { - anInt3194++; - if (aClass202_3209 != null) { - try { - aClass348_Sub49_3208.anInt7197 = 0; - aClass348_Sub49_3208.writeByte(false, bool ? 2 : 3); - aClass348_Sub49_3208.method3340(-9912, 0); - if (i < -66) aClass202_3209.method1470((aClass348_Sub49_3208.aByteArray7154), 4, 0, -1); - } catch (IOException ioexception) { - try { - aClass202_3209.method1476((byte) -121); - } catch (Exception exception) { - /* empty */ - } - this.anInt3213++; - aClass202_3209 = null; - this.anInt3214 = -2; - } - } - } - - final boolean method1893(byte i) { - if (aClass202_3209 != null) { - long l = Class62.method599(-106); - int i_0_ = (int) (-aLong3207 + l); - if (i_0_ > 200) i_0_ = 200; - aLong3207 = l; - anInt3210 += i_0_; - if (anInt3210 > 30000) { - try { - aClass202_3209.method1476((byte) -121); - } catch (Exception exception) { - /* empty */ - } - aClass202_3209 = null; - } - } - anInt3190++; - if (aClass202_3209 == null) { - return method1902(4) == 0 && method1894(4350) == 0; - } - try { - aClass202_3209.method1472(true); - for (Class348_Sub42_Sub16_Sub1 class348_sub42_sub16_sub1 = ((Class348_Sub42_Sub16_Sub1) aClass107_3197.method1011(-30)); class348_sub42_sub16_sub1 != null; class348_sub42_sub16_sub1 = ((Class348_Sub42_Sub16_Sub1) aClass107_3197.method1003((byte) 65))) { - aClass348_Sub49_3208.anInt7197 = 0; - aClass348_Sub49_3208.writeByte(false, 1); - aClass348_Sub49_3208.method3340(-9912, (int) (class348_sub42_sub16_sub1.aLong7057)); - aClass202_3209.method1470((aClass348_Sub49_3208.aByteArray7154), 4, 0, -1); - aClass107_3204.method1005(true, class348_sub42_sub16_sub1); - } - Class348_Sub42_Sub16_Sub1 class348_sub42_sub16_sub1 = (Class348_Sub42_Sub16_Sub1) aClass107_3205.method1011(-75); - if (i <= 72) return false; - for (/**/; class348_sub42_sub16_sub1 != null; class348_sub42_sub16_sub1 = ((Class348_Sub42_Sub16_Sub1) aClass107_3205.method1003((byte) 102))) { - aClass348_Sub49_3208.anInt7197 = 0; - aClass348_Sub49_3208.writeByte(false, 0); - aClass348_Sub49_3208.method3340(-9912, (int) (class348_sub42_sub16_sub1.aLong7057)); - aClass202_3209.method1470((aClass348_Sub49_3208.aByteArray7154), 4, 0, -1); - aClass107_3206.method1005(true, class348_sub42_sub16_sub1); - } - for (int i_1_ = 0; i_1_ < 100; i_1_++) { - int i_2_ = aClass202_3209.method1467((byte) 83); - if (i_2_ < 0) throw new IOException(); - if (i_2_ == 0) break; - anInt3210 = 0; - int i_3_ = 0; - if (aClass348_Sub42_Sub16_Sub1_3215 == null) i_3_ = 8; - else if (aClass348_Sub42_Sub16_Sub1_3215.anInt10456 == 0) i_3_ = 1; - if (i_3_ <= 0) { - int i_4_ = (aClass348_Sub42_Sub16_Sub1_3215.aClass348_Sub49_10453.aByteArray7154.length + -aClass348_Sub42_Sub16_Sub1_3215.aByte10449); - int i_5_ = (-aClass348_Sub42_Sub16_Sub1_3215.anInt10456 + 512); - if (i_5_ > -(aClass348_Sub42_Sub16_Sub1_3215.aClass348_Sub49_10453.anInt7197) + i_4_) i_5_ = i_4_ - aClass348_Sub42_Sub16_Sub1_3215.aClass348_Sub49_10453.anInt7197; - if (i_2_ < i_5_) i_5_ = i_2_; - aClass202_3209.method1474((aClass348_Sub42_Sub16_Sub1_3215.aClass348_Sub49_10453.aByteArray7154), aClass348_Sub42_Sub16_Sub1_3215.aClass348_Sub49_10453.anInt7197, (byte) -72, i_5_); - if (aByte3212 != 0) { - for (int i_6_ = 0; i_5_ > i_6_; i_6_++) - aClass348_Sub42_Sub16_Sub1_3215.aClass348_Sub49_10453.aByteArray7154[i_6_ + aClass348_Sub42_Sub16_Sub1_3215.aClass348_Sub49_10453.anInt7197] = (byte) (Class348_Sub21.method2955((aClass348_Sub42_Sub16_Sub1_3215.aClass348_Sub49_10453.aByteArray7154[(i_6_ + (aClass348_Sub42_Sub16_Sub1_3215.aClass348_Sub49_10453.anInt7197))]), aByte3212)); - } - aClass348_Sub42_Sub16_Sub1_3215.anInt10456 += i_5_; - aClass348_Sub42_Sub16_Sub1_3215.aClass348_Sub49_10453.anInt7197 += i_5_; - if (i_4_ == aClass348_Sub42_Sub16_Sub1_3215.aClass348_Sub49_10453.anInt7197) { - aClass348_Sub42_Sub16_Sub1_3215.method3162(true); - aClass348_Sub42_Sub16_Sub1_3215.aBoolean9664 = false; - aClass348_Sub42_Sub16_Sub1_3215 = null; - } else if (aClass348_Sub42_Sub16_Sub1_3215.anInt10456 == 512) aClass348_Sub42_Sub16_Sub1_3215.anInt10456 = 0; - } else { - int i_7_ = i_3_ + -(aClass348_Sub49_3211.anInt7197); - if (i_2_ < i_7_) i_7_ = i_2_; - aClass202_3209.method1474((aClass348_Sub49_3211.aByteArray7154), aClass348_Sub49_3211.anInt7197, (byte) -72, i_7_); - if (aByte3212 != 0) { - for (int i_8_ = 0; i_8_ < i_7_; i_8_++) - aClass348_Sub49_3211.aByteArray7154[i_8_ + aClass348_Sub49_3211.anInt7197] = (byte) (Class348_Sub21.method2955((aClass348_Sub49_3211.aByteArray7154[i_8_ + (aClass348_Sub49_3211.anInt7197)]), aByte3212)); - } - aClass348_Sub49_3211.anInt7197 += i_7_; - if (aClass348_Sub49_3211.anInt7197 >= i_3_) { - if (aClass348_Sub42_Sub16_Sub1_3215 == null) { - aClass348_Sub49_3211.anInt7197 = 0; - int i_9_ = aClass348_Sub49_3211.readUnsignedByte(255); - int i_10_ = aClass348_Sub49_3211.readUnsignedShort(842397944); - int i_11_ = aClass348_Sub49_3211.readUnsignedByte(255); - int i_12_ = aClass348_Sub49_3211.readInt((byte) -126); - int i_13_ = 0x7f & i_11_; - boolean bool = (0x80 & i_11_) != 0; - long l = (i_9_ << 16) + i_10_; - Object object = null; - Class348_Sub42_Sub16_Sub1 class348_sub42_sub16_sub1_14_; - if (bool) { - for (class348_sub42_sub16_sub1_14_ = ((Class348_Sub42_Sub16_Sub1) aClass107_3206.method1011(-89)); class348_sub42_sub16_sub1_14_ != null; class348_sub42_sub16_sub1_14_ = ((Class348_Sub42_Sub16_Sub1) aClass107_3206.method1003((byte) 98))) { - if (l == (class348_sub42_sub16_sub1_14_.aLong7057)) break; - } - } else { - for (class348_sub42_sub16_sub1_14_ = ((Class348_Sub42_Sub16_Sub1) aClass107_3204.method1011(-108)); class348_sub42_sub16_sub1_14_ != null; class348_sub42_sub16_sub1_14_ = ((Class348_Sub42_Sub16_Sub1) aClass107_3204.method1003((byte) 90))) { - if (l == (class348_sub42_sub16_sub1_14_.aLong7057)) break; - } - } - if (class348_sub42_sub16_sub1_14_ == null) throw new IOException(); - int i_15_ = i_13_ == 0 ? 5 : 9; - aClass348_Sub42_Sub16_Sub1_3215 = class348_sub42_sub16_sub1_14_; - aClass348_Sub42_Sub16_Sub1_3215.aClass348_Sub49_10453 = (new Class348_Sub49((aClass348_Sub42_Sub16_Sub1_3215.aByte10449) + i_15_ + i_12_)); - aClass348_Sub42_Sub16_Sub1_3215.aClass348_Sub49_10453.writeByte(false, i_13_); - aClass348_Sub42_Sub16_Sub1_3215.aClass348_Sub49_10453.writeInt((byte) 97, i_12_); - aClass348_Sub49_3211.anInt7197 = 0; - aClass348_Sub42_Sub16_Sub1_3215.anInt10456 = 8; - } else if ((aClass348_Sub42_Sub16_Sub1_3215.anInt10456) == 0) { - if ((aClass348_Sub49_3211.aByteArray7154[0]) == -1) { - aClass348_Sub42_Sub16_Sub1_3215.anInt10456 = 1; - aClass348_Sub49_3211.anInt7197 = 0; - } else aClass348_Sub42_Sub16_Sub1_3215 = null; - } else throw new IOException(); - } - } - } - return true; - } catch (IOException ioexception) { - try { - aClass202_3209.method1476((byte) -122); - } catch (Exception exception) { - /* empty */ - } - this.anInt3214 = -2; - this.anInt3213++; - aClass202_3209 = null; - return method1902(4) == 0 && method1894(4350) == 0; - } - } - - private final int method1894(int i) { - anInt3199++; - if (i != 4350) return 29; - return aClass107_3205.method1002(0) - -aClass107_3206.method1002(0); - } - - static final void method1895(int i, byte[] is, int i_16_, int i_17_, int i_18_, int i_19_, byte[] is_20_, int i_21_, byte i_22_) { - try { - anInt3198++; - int i_23_ = -(i_21_ >> 2); - i_21_ = -(0x3 & i_21_); - if (i_22_ != 121) aClass229_3196 = null; - for (int i_24_ = -i_16_; i_24_ < 0; i_24_++) { - for (int i_25_ = i_23_; i_25_ < 0; i_25_++) { - is[i_17_++] += -is_20_[i++]; - is[i_17_++] += -is_20_[i++]; - is[i_17_++] += -is_20_[i++]; - is[i_17_++] += -is_20_[i++]; - } - for (int i_26_ = i_21_; i_26_ < 0; i_26_++) - is[i_17_++] += -is_20_[i++]; - i_17_ += i_18_; - i += i_19_; - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("tha.M(" + i + ',' + (is != null ? "{...}" : "null") + ',' + i_16_ + ',' + i_17_ + ',' + i_18_ + ',' + i_19_ + ',' + (is_20_ != null ? "{...}" : "null") + ',' + i_21_ + ',' + i_22_ + ')')); - } - } - - private final void method1896(int i) { - if (i <= -58) { - anInt3191++; - if (aClass202_3209 != null) { - try { - aClass348_Sub49_3208.anInt7197 = 0; - aClass348_Sub49_3208.writeByte(false, 6); - aClass348_Sub49_3208.method3340(-9912, 3); - aClass202_3209.method1470((aClass348_Sub49_3208.aByteArray7154), 4, 0, -1); - } catch (IOException ioexception) { - try { - aClass202_3209.method1476((byte) -123); - } catch (Exception exception) { - /* empty */ - } - this.anInt3214 = -2; - aClass202_3209 = null; - this.anInt3213++; - } - } - } - } - - public static void method1897(byte i) { - if (i == 119) aClass229_3196 = null; - } - - final void method1898(boolean bool) { - if (aClass202_3209 != null) aClass202_3209.method1468(72); - if (bool != true) method1904(99); - anInt3185++; - } - - final boolean method1899(int i) { - if (i > -91) this.anInt3214 = -39; - anInt3186++; - return method1894(4350) >= 20; - } - - final boolean method1900(int i) { - int i_27_ = -51 % ((41 - i) / 47); - anInt3195++; - return method1902(4) >= 20; - } - - final void method1901(int i) { - if (i > -27) method1901(21); - if (aClass202_3209 != null) aClass202_3209.method1476((byte) -122); - anInt3200++; - } - - final int method1902(int i) { - anInt3192++; - if (i != 4) this.anInt3213 = 18; - return aClass107_3197.method1002(0) + aClass107_3204.method1002(0); - } - - final void method1903(boolean bool, boolean bool_28_, Class202 class202) { - if (aClass202_3209 != null) { - try { - aClass202_3209.method1476((byte) -124); - } catch (Exception exception) { - /* empty */ - } - aClass202_3209 = null; - } - anInt3193++; - aClass202_3209 = class202; - method1896(-92); - method1892(-92, bool_28_); - aClass348_Sub49_3211.anInt7197 = 0; - aClass348_Sub42_Sub16_Sub1_3215 = null; - if (bool != false) aLong3207 = -35L; - for (; ; ) { - Class348_Sub42_Sub16_Sub1 class348_sub42_sub16_sub1 = (Class348_Sub42_Sub16_Sub1) aClass107_3204.method1008(20); - if (class348_sub42_sub16_sub1 == null) break; - aClass107_3197.method1005(true, class348_sub42_sub16_sub1); - } - for (; ; ) { - Class348_Sub42_Sub16_Sub1 class348_sub42_sub16_sub1 = (Class348_Sub42_Sub16_Sub1) aClass107_3206.method1008(20); - if (class348_sub42_sub16_sub1 == null) break; - aClass107_3205.method1005(!bool, class348_sub42_sub16_sub1); - } - if (aByte3212 != 0) { - try { - aClass348_Sub49_3208.anInt7197 = 0; - aClass348_Sub49_3208.writeByte(bool, 4); - aClass348_Sub49_3208.writeByte(bool, aByte3212); - aClass348_Sub49_3208.writeShort((byte) 107, 0); - aClass202_3209.method1470((aClass348_Sub49_3208.aByteArray7154), 4, 0, -1); - } catch (IOException ioexception) { - try { - aClass202_3209.method1476((byte) -126); - } catch (Exception exception) { - /* empty */ - } - this.anInt3214 = -2; - this.anInt3213++; - aClass202_3209 = null; - } - } - anInt3210 = 0; - aLong3207 = Class62.method599(-105); - } - - final void method1904(int i) { - try { - aClass202_3209.method1476((byte) -123); - } catch (Exception exception) { - /* empty */ - } - anInt3189++; - aClass202_3209 = null; - this.anInt3213++; - aByte3212 = (byte) (int) (Math.random() * 255.0 + 1.0); - this.anInt3214 = i; - } - - final void method1905(int i) { - anInt3188++; - if (aClass202_3209 != null) { - try { - aClass348_Sub49_3208.anInt7197 = i; - aClass348_Sub49_3208.writeByte(false, 7); - aClass348_Sub49_3208.method3340(-9912, 0); - aClass202_3209.method1470((aClass348_Sub49_3208.aByteArray7154), 4, 0, ~i); - } catch (IOException ioexception) { - try { - aClass202_3209.method1476((byte) -125); - } catch (Exception exception) { - /* empty */ - } - this.anInt3214 = -2; - this.anInt3213++; - aClass202_3209 = null; - } - } - } - - final Class348_Sub42_Sub16_Sub1 method1906(byte i, byte i_29_, boolean bool, int i_30_, int i_31_) { - anInt3187++; - int i_32_ = -118 % ((i - -15) / 61); - long l = (i_31_ << 16) - -i_30_; - Class348_Sub42_Sub16_Sub1 class348_sub42_sub16_sub1 = new Class348_Sub42_Sub16_Sub1(); - class348_sub42_sub16_sub1.aBoolean9663 = bool; - class348_sub42_sub16_sub1.aLong7057 = l; - class348_sub42_sub16_sub1.aByte10449 = i_29_; - if (bool) { - if (method1902(4) >= 20) throw new RuntimeException(); - aClass107_3197.method1005(true, class348_sub42_sub16_sub1); - } else { - if (method1894(4350) >= 20) throw new RuntimeException(); - aClass107_3205.method1005(true, class348_sub42_sub16_sub1); - } - return class348_sub42_sub16_sub1; - } - - public Class248() { - aClass348_Sub49_3211 = new Class348_Sub49(8); - } -} diff --git a/client/src/Class249.java b/client/src/Class249.java deleted file mode 100644 index 5d6a1424c..000000000 --- a/client/src/Class249.java +++ /dev/null @@ -1,28 +0,0 @@ -/* Class249 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class249 { - static int anInt3216; - static Class21 aClass21_3217 = new Class21(); - - public static void method1907(byte i) { - aClass21_3217 = null; - int i_0_ = -55 / ((i - -39) / 60); - } - - static final int method1908(int i, int i_1_, int i_2_, boolean bool, int i_3_, int i_4_, int i_5_) { - i_2_ &= 0x3; - anInt3216++; - if (bool != true) aClass21_3217 = null; - if ((i_5_ & 0x1) == 1) { - int i_6_ = i_4_; - i_4_ = i_3_; - i_3_ = i_6_; - } - if (i_2_ == 0) return i_1_; - if (i_2_ == 1) return i; - if (i_2_ == 2) return 7 + -i_1_ + (-i_4_ + 1); - return -i_3_ - (-1 - (7 - i)); - } -} diff --git a/client/src/Class25.java b/client/src/Class25.java deleted file mode 100644 index d003200a6..000000000 --- a/client/src/Class25.java +++ /dev/null @@ -1,102 +0,0 @@ -/* Class25 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class25 { - private Class60 aClass60_360 = new Class60(16); - static int anInt361; - static int anInt362; - static int anInt363; - static Class351 aClass351_364 = new Class351(12, 3); - static int anInt365; - private Class45 aClass45_366; - static Class105[] aClass105Array367; - static boolean aBoolean368 = false; - static int[] anIntArray369; - static int anInt370; - static int anInt371; - static int anInt372; - - final void method299(int i, int i_0_) { - if (i_0_ != 16) aClass45_366 = null; - synchronized (aClass60_360) { - aClass60_360.method578(2, i); - } - anInt365++; - } - - final void method300(byte i) { - anInt371++; - int i_1_ = 111 % ((i - -40) / 57); - synchronized (aClass60_360) { - aClass60_360.method590(0); - } - } - - final Class38 method301(int i, int i_2_) { - anInt361++; - Class38 class38; - synchronized (aClass60_360) { - class38 = (Class38) aClass60_360.method583(i, -91); - } - if (class38 != null) return class38; - byte[] is; - synchronized (aClass45_366) { - is = aClass45_366.method410(-1860, 30, i); - } - if (i_2_ < 6) aClass60_360 = null; - class38 = new Class38(); - if (is != null) class38.method364(new Class348_Sub49(is), (byte) 54); - synchronized (aClass60_360) { - aClass60_360.method582(class38, i, (byte) -109); - } - return class38; - } - - final void method302(int i) { - synchronized (aClass60_360) { - if (i != -797644856) aClass105Array367 = null; - aClass60_360.method587(i ^ 0x2f8b186f); - } - anInt372++; - } - - static final short method303(int i, int i_3_) { - anInt362++; - int i_4_ = (i & 0xfe66) >> 10; - int i_5_ = i >> 3 & 0x70; - int i_6_ = i & 0x7f; - i_5_ = (i_6_ <= 64 ? i_6_ * i_5_ >> 7 : i_5_ * (127 + -i_6_) >> 7); - int i_7_ = i_5_ + i_6_; - int i_8_; - if (i_7_ != 0) i_8_ = (i_5_ << 8) / i_7_; - else i_8_ = i_5_ << 1; - int i_9_ = i_7_; - if (i_3_ != 30) return (short) 79; - return (short) (i_9_ | (i_8_ >> 4 << 7 | i_4_ << 10)); - } - - static final void method304(int i, int i_10_, int i_11_) { - anInt363++; - if (i_10_ != 437853543) aBoolean368 = true; - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i_11_, (byte) 105, 16); - class348_sub42_sub15.method3246(-25490); - class348_sub42_sub15.anInt9652 = i; - } - - public static void method305(byte i) { - anIntArray369 = null; - if (i != 79) method303(-22, -13); - aClass351_364 = null; - aClass105Array367 = null; - } - - Class25(Class230 class230, int i, Class45 class45) { - try { - aClass45_366 = class45; - aClass45_366.method407(0, 30); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("hq.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class250.java b/client/src/Class250.java deleted file mode 100644 index add5e3619..000000000 --- a/client/src/Class250.java +++ /dev/null @@ -1,73 +0,0 @@ -/* Class250 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class250 implements Runnable { - volatile Class279[] aClass279Array3218 = new Class279[2]; - static int anInt3219; - static int[] anIntArray3220; - volatile boolean aBoolean3221 = false; - static int anInt3222; - volatile boolean aBoolean3223 = false; - static int anInt3224; - static int anInt3225; - static Class318_Sub1[] aClass318_Sub1Array3226; - static int anInt3227 = 0; - Class297 aClass297_3228; - - static final String method1909(byte i, String string) { - if (i != 31) method1911((byte) 87); - anInt3222++; - String string_0_ = null; - int i_1_ = string.indexOf("--> "); - if (i_1_ >= 0) { - string_0_ = string.substring(0, 4 + i_1_); - string = string.substring(i_1_ + 4); - } - if (string.startsWith("directlogin ")) { - int i_2_ = string.indexOf(" ", "directlogin ".length()); - if (i_2_ >= 0) { - int i_3_ = string.length(); - string = string.substring(0, i_2_) + " "; - for (int i_4_ = 1 + i_2_; i_4_ < i_3_; i_4_++) - string += "*"; - } - } - if (string_0_ == null) return string; - return string_0_ + string; - } - - public final void run() { - this.aBoolean3223 = true; - anInt3224++; - try { - while (!this.aBoolean3221) { - for (int i = 0; i < 2; i++) { - Class279 class279 = this.aClass279Array3218[i]; - if (class279 != null) class279.method2084(-6858); - } - Class286_Sub5.method2161((byte) -107, 10L); - Class369_Sub3_Sub1.method3578((byte) -42, null, (this.aClass297_3228)); - } - } catch (Exception exception) { - Class156.method1242(null, exception, 15004); - } finally { - this.aBoolean3223 = false; - } - } - - public static void method1910(int i) { - anIntArray3220 = null; - if (i != 0) method1910(-18); - aClass318_Sub1Array3226 = null; - } - - static final void method1911(byte i) { - if (i != 99) anIntArray3220 = null; - Class367_Sub11.aClass32_7415 = new Class32(8); - anInt3219++; - Class318_Sub7.anInt6450 = 0; - for (Class318_Sub10 class318_sub10 = (Class318_Sub10) Class152.aClass243_2077.method1872(8); class318_sub10 != null; class318_sub10 = (Class318_Sub10) Class152.aClass243_2077.method1878((byte) -115)) - class318_sub10.method2530(); - } -} diff --git a/client/src/Class251.java b/client/src/Class251.java deleted file mode 100644 index 1fea0ff27..000000000 --- a/client/src/Class251.java +++ /dev/null @@ -1,56 +0,0 @@ -/* Class251 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class251 { - static int anInt3229; - static int anInt3230; - static int anInt3231; - static Class351 aClass351_3232 = new Class351(51, 3); - static int anInt3233; - static int anInt3234 = 0; - static int anInt3235; - static int anInt3236; - - public static void method1912(int i) { - if (i == 8549) aClass351_3232 = null; - } - - static final void method1913(boolean bool, int i, Class46 class46) { - anInt3235++; - int i_0_ = -40 % ((-35 - i) / 51); - int i_1_ = (class46.anInt698 == 0 ? class46.anInt709 : class46.anInt698); - int i_2_ = (class46.anInt791 != 0 ? class46.anInt791 : class46.anInt789); - Class367_Sub1.method3534(false, class46.anInt830, i_1_, bool, i_2_, (Class348_Sub40_Sub33.aClass46ArrayArray9427[(class46.anInt830 >> 16)])); - if (class46.aClass46Array798 != null) Class367_Sub1.method3534(false, class46.anInt830, i_1_, bool, i_2_, class46.aClass46Array798); - Class348_Sub41 class348_sub41 = ((Class348_Sub41) Class125.aClass356_4915.method3480(class46.anInt830, -6008)); - if (class348_sub41 != null) Class239_Sub3.method1728(i_2_, -1, (class348_sub41.anInt7050), bool, i_1_); - } - - static final int method1914(int i, int i_3_) { - anInt3231++; - if (i != -23590) method1913(false, -115, null); - return i_3_ & 0xff; - } - - public final String toString() { - anInt3230++; - throw new IllegalStateException(); - } - - static final boolean method1915(byte i, int i_4_) { - if (i != 4) return false; - anInt3233++; - return i_4_ != 1 && i_4_ != 7; - } - - static final void method1916(int i, Class46 class46) { - anInt3229++; - if (class46.anInt794 == Class58.anInt1064) Class152.aBooleanArray2076[class46.anInt760] = true; - if (i != -9343) method1914(-107, 120); - } - - public Class251() { - /* empty */ - } -} diff --git a/client/src/Class252.java b/client/src/Class252.java deleted file mode 100644 index 1aeed456a..000000000 --- a/client/src/Class252.java +++ /dev/null @@ -1,34 +0,0 @@ -/* Class252 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class252 { - static Class351 aClass351_3237 = new Class351(80, 7); - int[] anIntArray3238; - int[] anIntArray3239; - static Class114 aClass114_3240 = new Class114(43, 4); - int anInt3241; - static float aFloat3242; - static int anInt3243; - - public static void method1917(int i) { - if (i != 40960) aClass114_3240 = null; - aClass351_3237 = null; - aClass114_3240 = null; - } - - static final int method1918(int i, int i_0_) { - if (i != -3358) return 126; - anInt3243++; - int i_1_ = i_0_ * (i_0_ * i_0_ >> 12) >> 12; - int i_2_ = i_0_ * 6 + -61440; - int i_3_ = 40960 - -(i_2_ * i_0_ >> 12); - return i_3_ * i_1_ >> 12; - } - - Class252(int i) { - this.anInt3241 = i; - this.anIntArray3239 = new int[this.anInt3241]; - this.anIntArray3238 = new int[this.anInt3241]; - } -} diff --git a/client/src/Class253.java b/client/src/Class253.java deleted file mode 100644 index 4058d0a24..000000000 --- a/client/src/Class253.java +++ /dev/null @@ -1,79 +0,0 @@ -/* Class253 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class253 { - int anInt3244; - int anInt3245 = 0; - static int anInt3246 = 0; - static int anInt3247; - static int anInt3248; - int anInt3249; - static int anInt3250; - int anInt3251; - static int anInt3252; - static int anInt3253; - static int anInt3254; - static int anInt3255; - - static final void method1919(int i, float f, byte[] is, float f_0_, int i_1_, float f_2_, Class186 class186, float f_3_, int i_4_, byte i_5_, int i_6_, float f_7_, int i_8_) { - try { - int i_9_ = 0; - if (i_5_ < 11) method1919(97, -1.4756906F, null, 0.7518226F, 93, -0.33127537F, null, -0.6670833F, 25, (byte) -96, 123, -1.8054857F, 43); - for (/**/; i_9_ < i_6_; i_9_++) { - Player.method2460(f, i_1_, f_0_, i_4_, i, f_7_, class186, i_9_, (byte) 30, i_8_, f_3_, is, i_6_, f_2_); - i_1_ += i * i_8_; - } - anInt3250++; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("u.B(" + i + ',' + f + ',' + (is != null ? "{...}" : "null") + ',' + f_0_ + ',' + i_1_ + ',' + f_2_ + ',' + (class186 != null ? "{...}" : "null") + ',' + f_3_ + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + f_7_ + ',' + i_8_ + ')')); - } - } - - static final int method1920(int i, int i_10_) { - if (i != 127) return -32; - anInt3252++; - return 0x7f & i_10_; - } - - final void method1921(byte i, Class348_Sub49 class348_sub49) { - if (i != -69) method1923(-117, -120, null); - anInt3255++; - for (; ; ) { - int i_11_ = class348_sub49.readUnsignedByte(255); - if (i_11_ == 0) break; - method1923(i_11_, 4, class348_sub49); - } - } - - static final void method1922(String string, int i, String string_12_, boolean bool) { - try { - if (bool == true) { - anInt3247++; - RuntimeException_Sub1.anInt4596 = i; - Class239_Sub12.anInt5969 = 2; - Class132.method1138(string_12_, false, string, (byte) -45); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("u.E(" + (string != null ? "{...}" : "null") + ',' + i + ',' + (string_12_ != null ? "{...}" : "null") + ',' + bool + ')')); - } - } - - private final void method1923(int i, int i_13_, Class348_Sub49 class348_sub49) { - anInt3254++; - if (i_13_ == 4) { - if (i != 1) { - if (i != 2) { - if (i == 3) this.anInt3244 = class348_sub49.readUnsignedShort(i_13_ ^ 0x3235f8fc); - else if (i == 4) this.anInt3251 = class348_sub49.readShort(13638); - } else this.anInt3249 = class348_sub49.readUnsignedShort(i_13_ + 842397940); - } else this.anInt3245 = class348_sub49.readUnsignedByte(255); - } - } - - public Class253() { - this.anInt3244 = 2048; - this.anInt3249 = 2048; - this.anInt3251 = 0; - } -} diff --git a/client/src/Class254.java b/client/src/Class254.java deleted file mode 100644 index 11793e9c9..000000000 --- a/client/src/Class254.java +++ /dev/null @@ -1,57 +0,0 @@ -/* Class254 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class254 { - int anInt3256; - static int anInt3257; - String aString3258; - private char aChar3259; - static int anInt3260; - boolean aBoolean3261 = true; - static int anInt3262; - static int anInt3263; - static Class114 aClass114_3264 = new Class114(6, 2); - - final void method1924(Class348_Sub49 class348_sub49, byte i) { - int i_0_ = -47 % ((i - -74) / 49); - for (; ; ) { - int i_1_ = class348_sub49.readUnsignedByte(255); - if (i_1_ == 0) break; - method1927(true, class348_sub49, i_1_); - } - anInt3263++; - } - - final boolean method1925(boolean bool) { - anInt3262++; - if (bool != false) return true; - return aChar3259 == 115; - } - - public static void method1926(int i) { - if (i >= -125) aClass114_3264 = null; - aClass114_3264 = null; - } - - private final void method1927(boolean bool, Class348_Sub49 class348_sub49, int i) { - anInt3257++; - if (i != 1) { - if (i == 2) this.anInt3256 = class348_sub49.readInt((byte) -126); - else if (i == 4) this.aBoolean3261 = false; - else if (i == 5) this.aString3258 = class348_sub49.readString((byte) 91); - } else aChar3259 = Class50_Sub1.method462(class348_sub49.readByte(-115), -128); - if (bool != true) this.aBoolean3261 = true; - } - - static final int method1928(int i, int i_2_, int i_3_) { - anInt3260++; - int i_4_ = i_3_ >>> 31; - if (i_2_ > 0) method1928(82, -44, -111); - return (i_3_ - -i_4_) / i + -i_4_; - } - - public Class254() { - /* empty */ - } -} diff --git a/client/src/Class255.java b/client/src/Class255.java deleted file mode 100644 index c199b8668..000000000 --- a/client/src/Class255.java +++ /dev/null @@ -1,317 +0,0 @@ -/* Class255 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class255 { - static Class114 aClass114_3265; - static int anInt3266; - private final Class45 aClass45_3267; - Class45 aClass45_3268; - private boolean aBoolean3269; - static int anInt3270; - int anInt3271; - static int anInt3272; - static int[] anIntArray3273 = new int[5]; - static int anInt3274; - static int anInt3275; - static int anInt3276; - static int anInt3277; - private final Class60 aClass60_3278 = new Class60(64); - static int anInt3279; - static int anInt3280; - static int anInt3281; - static int anInt3282; - static int anInt3283; - static int anInt3284; - static Class161 aClass161_3285; - int anInt3286; - Class60 aClass60_3287 = new Class60(50); - Class175 aClass175_3288 = new Class175(250); - private Class126 aClass126_3289 = new Class126(); - private final String[] aStringArray3290; - int anInt3291; - private Class326 aClass326_3292; - private final String[] aStringArray3293; - - static final Class74[] method1929(byte i) { - if (i != -19) method1933(null, null, false); - anInt3280++; - return (new Class74[]{Class348_Sub42_Sub8_Sub2.aClass74_10437, Class348_Sub26.aClass74_6891, Class265.aClass74_4689, Class374.aClass74_4537, Class327.aClass74_4098, Class162.aClass74_2157, Class59_Sub1_Sub2.aClass74_8662, Class39.aClass74_515, Class348_Sub35.aClass74_6977, Class286_Sub1.aClass74_6201, Class91.aClass74_1519, Class348_Sub16_Sub1.aClass74_8853, Class348_Sub40_Sub38.aClass74_9475, Class186.aClass74_2491}); - } - - final void method1930(int i) { - synchronized (this.aClass60_3287) { - this.aClass60_3287.method590(0); - if (i != -21804) method1930(-35); - } - anInt3275++; - } - - public static void method1931(boolean bool) { - anIntArray3273 = null; - if (bool != true) aClass114_3265 = null; - aClass114_3265 = null; - aClass161_3285 = null; - } - - final Class105 method1932(ha var_ha, int i, int i_0_, Class324 class324, Class154 class154, int i_1_, boolean bool, byte i_2_, ha var_ha_3_, int i_4_, boolean bool_5_, int i_6_) { - try { - anInt3266++; - Class105 class105 = method1941(i_6_, (byte) -74, i_4_, i_0_, i, i_1_, var_ha_3_, class154); - if (class105 != null) return class105; - Class213 class213 = method1940(90, i_4_); - if (i_0_ > 1 && class213.anIntArray2762 != null) { - int i_7_ = -1; - for (int i_8_ = 0; i_8_ < 10; i_8_++) { - if ((class213.anIntArray2831[i_8_] <= i_0_) && class213.anIntArray2831[i_8_] != 0) i_7_ = class213.anIntArray2762[i_8_]; - } - if (i_7_ != -1) class213 = method1940(127, i_7_); - } - if (i_2_ != 83) method1935(-83, -37, null, null, false, -49); - int[] is = class213.method1562(i_0_, bool_5_, i, var_ha_3_, var_ha, class324, class154, i_1_, (byte) -102, i_6_); - if (is == null) return null; - Class105 class105_9_; - if (bool) class105_9_ = var_ha.method3662(36, is, (byte) 94, 0, 36, 32); - else class105_9_ = var_ha_3_.method3662(36, is, (byte) 94, 0, 36, 32); - if (!bool) { - Class126 class126 = new Class126(); - class126.anInt4982 = i; - class126.aBoolean4990 = class154 != null; - class126.anInt4989 = i_0_; - class126.anInt4992 = i_4_; - class126.anInt4981 = i_1_; - class126.anInt4991 = var_ha_3_.anInt4567; - class126.anInt4993 = i_6_; - this.aClass175_3288.method1348(70, class105_9_, class126); - } - return class105_9_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ub.C(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + (class324 != null ? "{...}" : "null") + ',' + (class154 != null ? "{...}" : "null") + ',' + i_1_ + ',' + bool + ',' + i_2_ + ',' + (var_ha_3_ != null ? "{...}" : "null") + ',' + i_4_ + ',' + bool_5_ + ',' + i_6_ + ')')); - } - } - - static final void method1933(Class45 class45, ha var_ha, boolean bool) { - try { - anInt3279++; - Class207[] class207s = Class207.method1519(class45, Class348_Sub22.anInt6862, 0); - Class169.aClass105Array2260 = new Class105[class207s.length]; - for (int i = 0; class207s.length > i; i++) - Class169.aClass105Array2260[i] = var_ha.method3691(class207s[i], true); - class207s = Class207.method1519(class45, Class106.anInt1639, 0); - Class348_Sub45.aClass105Array7107 = new Class105[class207s.length]; - for (int i = 0; class207s.length > i; i++) - Class348_Sub45.aClass105Array7107[i] = var_ha.method3691(class207s[i], true); - class207s = Class207.method1519(class45, Class373_Sub2.anInt7429, 0); - Class239_Sub2.aClass105Array5857 = new Class105[class207s.length]; - for (int i = 0; class207s.length > i; i++) - Class239_Sub2.aClass105Array5857[i] = var_ha.method3691(class207s[i], true); - class207s = Class207.method1519(class45, ha.anInt4562, 0); - Class318_Sub1_Sub1_Sub1.aClass105Array9959 = new Class105[class207s.length]; - for (int i = 0; class207s.length > i; i++) - Class318_Sub1_Sub1_Sub1.aClass105Array9959[i] = var_ha.method3691(class207s[i], true); - class207s = Class207.method1519(class45, Class82.anInt1435, 0); - Class264.aClass105Array3378 = new Class105[class207s.length]; - for (int i = 0; class207s.length > i; i++) - Class264.aClass105Array3378[i] = var_ha.method3691(class207s[i], true); - class207s = Class207.method1519(class45, Class115.anInt1756, 0); - Class239_Sub9.aClass105Array5933 = new Class105[class207s.length]; - for (int i = 0; i < class207s.length; i++) - Class239_Sub9.aClass105Array5933[i] = var_ha.method3691(class207s[i], true); - class207s = Class207.method1519(class45, Class291.anInt3739, 0); - Class59_Sub1.aClass105Array5294 = new Class105[class207s.length]; - for (int i = 0; class207s.length > i; i++) - Class59_Sub1.aClass105Array5294[i] = var_ha.method3691(class207s[i], true); - class207s = Class207.method1519(class45, Class86.anInt1481, 0); - Class25.aClass105Array367 = new Class105[class207s.length]; - for (int i = 0; class207s.length > i; i++) - Class25.aClass105Array367[i] = var_ha.method3691(class207s[i], true); - class207s = Class207.method1519(class45, Class239_Sub10.anInt5948, 0); - Class348_Sub40_Sub37.aClass105Array9467 = new Class105[class207s.length]; - for (int i = 0; i < class207s.length; i++) - Class348_Sub40_Sub37.aClass105Array9467[i] = var_ha.method3691(class207s[i], true); - class207s = Class207.method1519(class45, Class113.anInt1742, 0); - Class348_Sub12.aClass105Array6742 = new Class105[class207s.length]; - for (int i = 0; class207s.length > i; i++) - Class348_Sub12.aClass105Array6742[i] = var_ha.method3691(class207s[i], true); - class207s = Class207.method1519(class45, Class364.anInt4469, 0); - Class240.aClass105Array4679 = new Class105[class207s.length]; - for (int i = 0; i < class207s.length; i++) - Class240.aClass105Array4679[i] = var_ha.method3691(class207s[i], true); - class207s = Class207.method1519(class45, Class348_Sub40_Sub38.anInt9473, 0); - Class113.aClass105Array1744 = new Class105[class207s.length]; - for (int i = 0; class207s.length > i; i++) - Class113.aClass105Array1744[i] = var_ha.method3691(class207s[i], true); - Class79.aClass105_1365 = var_ha.method3691(Class207.method1521(class45, Class52.anInt4895, 0), bool); - Class239_Sub24.aClass105_6097 = var_ha.method3691(Class207.method1521(class45, (Class186_Sub1.anInt5814), 0), true); - class207s = Class207.method1519(class45, Class5_Sub3.anInt8370, 0); - Class200.aClass105Array2640 = new Class105[class207s.length]; - for (int i = 0; i < class207s.length; i++) - Class200.aClass105Array2640[i] = var_ha.method3691(class207s[i], true); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ub.N(" + (class45 != null ? "{...}" : "null") + ',' + (var_ha != null ? "{...}" : "null") + ',' + bool + ')')); - } - } - - final void method1934(byte i, boolean bool) { - if (i != 11) method1935(97, -31, null, null, false, 53); - anInt3276++; - if (!aBoolean3269 != !bool) { - aBoolean3269 = bool; - method1939(i ^ ~0x14); - } - } - - static final void method1935(int i, int i_10_, Class30 class30, Class64 class64, boolean bool, int i_11_) { - try { - anInt3270++; - if (class64 != null) { - if (bool != false) method1929((byte) 106); - class30.method320(class64.EA(), class64.fa(), (byte) -4, i_11_, class64.na(), i, class64.V(), class64.G(), class64.HA(), i_10_, class64.RA()); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ub.H(" + i + ',' + i_10_ + ',' + (class30 != null ? "{...}" : "null") + ',' + (class64 != null ? "{...}" : "null") + ',' + bool + ',' + i_11_ + ')')); - } - } - - final void method1936(int i) { - anInt3281++; - synchronized (this.aClass175_3288) { - this.aClass175_3288.method1345((byte) -126); - int i_12_ = -63 / ((21 - i) / 50); - } - } - - final void method1937(int i, boolean bool) { - anInt3274++; - synchronized (aClass60_3278) { - aClass60_3278.method578(2, i); - } - synchronized (this.aClass60_3287) { - if (bool != false) method1939(-11); - this.aClass60_3287.method578(2, i); - } - synchronized (this.aClass175_3288) { - this.aClass175_3288.method1346(-1491, i); - } - } - - final void method1938(int i) { - anInt3272++; - synchronized (aClass60_3278) { - aClass60_3278.method587(-88); - } - synchronized (this.aClass60_3287) { - this.aClass60_3287.method587(-85); - } - synchronized (this.aClass175_3288) { - this.aClass175_3288.method1344((byte) -124); - } - if (i < 105) this.aClass45_3268 = null; - } - - final void method1939(int i) { - synchronized (aClass60_3278) { - if (i > -28) aClass326_3292 = null; - aClass60_3278.method590(0); - } - anInt3277++; - synchronized (this.aClass60_3287) { - this.aClass60_3287.method590(0); - } - synchronized (this.aClass175_3288) { - this.aClass175_3288.method1345((byte) 47); - } - } - - final Class213 method1940(int i, int i_13_) { - anInt3283++; - Class213 class213; - synchronized (aClass60_3278) { - class213 = (Class213) aClass60_3278.method583(i_13_, 90); - } - if (class213 != null) return class213; - byte[] is; - synchronized (aClass45_3267) { - is = aClass45_3267.method410(-1860, Class54.method500(7, i_13_), Class251.method1914(-23590, i_13_)); - } - class213 = new Class213(); - class213.aClass255_2761 = this; - class213.anInt2769 = i_13_; - class213.aStringArray2811 = new String[]{null, null, Class274.aClass274_3490.method2063(this.anInt3286, 544), null, null}; - class213.aStringArray2763 = (new String[]{null, null, null, null, Class274.aClass274_3491.method2063(this.anInt3286, 544)}); - if (is != null) class213.method1569(768, new Class348_Sub49(is)); - class213.method1563((byte) 92); - int i_14_ = 4 / ((i - 13) / 59); - if (class213.anInt2833 != -1) class213.method1570(1, method1940(90, class213.anInt2758), method1940(101, class213.anInt2833)); - if (class213.anInt2812 != -1) class213.method1556(method1940(-58, class213.anInt2778), (byte) -29, method1940(-82, class213.anInt2812)); - if (!aBoolean3269 && class213.aBoolean2783) { - class213.aString2795 = Class274.aClass274_3488.method2063(this.anInt3286, 544); - class213.anInt2827 = 0; - class213.aStringArray2811 = aStringArray3290; - class213.aStringArray2763 = aStringArray3293; - class213.aBoolean2755 = false; - class213.anIntArray2772 = null; - if (class213.aClass356_2757 != null) { - boolean bool = false; - for (Class348 class348 = class213.aClass356_2757.method3484(0); class348 != null; class348 = class213.aClass356_2757.method3482(0)) { - Class254 class254 = aClass326_3292.method2600((int) class348.aLong4291, 28364); - if (class254.aBoolean3261) class348.method2715((byte) 60); - else bool = true; - } - if (!bool) class213.aClass356_2757 = null; - } - } - synchronized (aClass60_3278) { - aClass60_3278.method582(class213, i_13_, (byte) -118); - } - return class213; - } - - final Class105 method1941(int i, byte i_15_, int i_16_, int i_17_, int i_18_, int i_19_, ha var_ha, Class154 class154) { - try { - aClass126_3289.anInt4992 = i_16_; - aClass126_3289.anInt4989 = i_17_; - aClass126_3289.anInt4991 = var_ha.anInt4567; - aClass126_3289.anInt4981 = i_19_; - if (i_15_ != -74) aClass126_3289 = null; - aClass126_3289.aBoolean4990 = class154 != null; - aClass126_3289.anInt4982 = i_18_; - anInt3282++; - aClass126_3289.anInt4993 = i; - return (Class105) this.aClass175_3288.method1340(123, aClass126_3289); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ub.D(" + i + ',' + i_15_ + ',' + i_16_ + ',' + i_17_ + ',' + i_18_ + ',' + i_19_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + (class154 != null ? "{...}" : "null") + ')')); - } - } - - final void method1942(int i, byte i_20_) { - this.anInt3291 = i; - anInt3284++; - synchronized (this.aClass60_3287) { - this.aClass60_3287.method590(0); - int i_21_ = 89 % ((-65 - i_20_) / 60); - } - } - - Class255(Class230 class230, int i, boolean bool, Class326 class326, Class45 class45, Class45 class45_22_) { - try { - aBoolean3269 = bool; - aClass326_3292 = class326; - this.aClass45_3268 = class45_22_; - this.anInt3286 = i; - aClass45_3267 = class45; - if (aClass45_3267 != null) { - int i_23_ = -1 + aClass45_3267.method414(-1); - this.anInt3271 = aClass45_3267.method407(0, i_23_) + i_23_ * 256; - } else this.anInt3271 = 0; - aStringArray3290 = (new String[]{null, null, Class274.aClass274_3490.method2063(this.anInt3286, 544), null, null}); - aStringArray3293 = (new String[]{null, null, null, null, Class274.aClass274_3491.method2063(this.anInt3286, 544)}); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ub.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class326 != null ? "{...}" : "null") + ',' + (class45 != null ? "{...}" : "null") + ',' + (class45_22_ != null ? "{...}" : "null") + ')')); - } - } - - static { - aClass114_3265 = new Class114(48, -2); - } -} diff --git a/client/src/Class256.java b/client/src/Class256.java deleted file mode 100644 index 5a09dd3e7..000000000 --- a/client/src/Class256.java +++ /dev/null @@ -1,31 +0,0 @@ -/* Class256 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class256 { - static int anInt3294; - static int[] anIntArray3295 = new int[25]; - - static final Class174 method1943(boolean bool, int i) { - anInt3294++; - Class174 class174 = ((Class174) Class318_Sub1_Sub2.aClass60_8732.method583(i, -78)); - if (class174 != null) return class174; - byte[] is = Class59_Sub2_Sub1.aClass45_8670.method410(-1860, 1, i); - class174 = new Class174(); - if (bool != false) method1944(64); - class174.anInt2303 = i; - if (is != null) class174.method1336(83, new Class348_Sub49(is)); - class174.method1337(-1); - if (class174.anInt2296 == 2 && (Class59_Sub2_Sub2.aClass356_8679.method3480(i, -6008) == null)) { - Class59_Sub2_Sub2.aClass356_8679.method3483((byte) 87, i, new Class348_Sub35(Class285_Sub1.anInt8492)); - Class19.aClass174Array311[Class285_Sub1.anInt8492++] = class174; - } - Class318_Sub1_Sub2.aClass60_8732.method582(class174, i, (byte) -109); - return class174; - } - - public static void method1944(int i) { - anIntArray3295 = null; - if (i != 1) method1944(-45); - } -} diff --git a/client/src/Class257.java b/client/src/Class257.java deleted file mode 100644 index e3bc054d0..000000000 --- a/client/src/Class257.java +++ /dev/null @@ -1,49 +0,0 @@ -/* Class257 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class257 { - private static boolean aBoolean3296 = false; - private static final Class262 aClass262_3297; - private static int anInt3298 = 0; - - static final synchronized void method1945(byte i, boolean bool) { - if (i < -120) aBoolean3296 = bool; - } - - static final synchronized void method1946(int i) { - anInt3298--; - if (i >= -83) method1947(-1, null); - if (anInt3298 == 0) method1948((byte) -109); - } - - static final synchronized void method1947(int i, Interface19 interface19) { - if (!aBoolean3296) { - if (i >= anInt3298) interface19.w(false); - else { - Class348_Sub28 class348_sub28 = new Class348_Sub28(); - class348_sub28.anInterface19_6908 = interface19; - aClass262_3297.method1999(class348_sub28, -20180); - } - } - } - - static final synchronized void method1948(byte i) { - for (; ; ) { - Class348_Sub28 class348_sub28 = (Class348_Sub28) aClass262_3297.method1997(8); - if (class348_sub28 == null) break; - class348_sub28.anInterface19_6908.w(true); - class348_sub28.method2715((byte) 69); - } - if (i > -22) aBoolean3296 = false; - } - - static final synchronized void method1949(byte i) { - anInt3298++; - int i_0_ = -68 % ((i - -79) / 45); - } - - static { - aClass262_3297 = new Class262(); - } -} diff --git a/client/src/Class258.java b/client/src/Class258.java deleted file mode 100644 index d9a29ee60..000000000 --- a/client/src/Class258.java +++ /dev/null @@ -1,122 +0,0 @@ -/* Class258 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -abstract class Class258 implements Interface9 { - private int anInt4847; - static int anInt4848 = 0; - int anInt4849; - static int anInt4850; - ha_Sub2 aHa_Sub2_4851; - static int anInt4852; - static int anInt4853; - static int anInt4854; - static int anInt4855; - private boolean aBoolean4856 = false; - static int anInt4857; - int anInt4858; - int anInt4859; - private boolean aBoolean4860; - static int anInt4861; - static int anInt4862; - static int anInt4863; - - final boolean method1950(int i) { - anInt4852++; - int i_0_ = 22 / ((i - -31) / 50); - if (this.aHa_Sub2_4851.aBoolean7820) { - int i_1_ = method1951(-120); - this.aHa_Sub2_4851.method3771((byte) -102, this); - OpenGL.glGenerateMipmapEXT(this.anInt4849); - aBoolean4860 = true; - method1956(true); - method1954(i_1_, 121); - return true; - } - return false; - } - - private final int method1951(int i) { - anInt4861++; - if (i >= -96) anInt4847 = -92; - int i_2_ = (this.aHa_Sub2_4851.method3798(this.anInt4858, 2) * anInt4847); - if (aBoolean4860) return i_2_ * 4 / 3; - return i_2_; - } - - final void method1952(int i) { - anInt4863++; - if (this.anInt4859 > 0) { - this.aHa_Sub2_4851.method3737((this.anInt4859), (byte) 121, method1951(i + 19838)); - this.anInt4859 = 0; - } - if (i != -19948) this.anInt4859 = -40; - } - - final int method1953(int i) { - anInt4853++; - if (i < 29) method1956(true); - return this.anInt4859; - } - - private final void method1954(int i, int i_3_) { - anInt4854++; - if (i_3_ < 17) aBoolean4856 = true; - this.aHa_Sub2_4851.anInt7748 -= i; - this.aHa_Sub2_4851.anInt7748 += method1951(-106); - } - - final void method1955(boolean bool, byte i) { - if (i != -123) method1953(50); - if (aBoolean4860 == !bool) { - int i_4_ = method1951(-119); - aBoolean4860 = true; - method1956(true); - method1954(i_4_, 115); - } - anInt4850++; - } - - private final void method1956(boolean bool) { - anInt4857++; - if (bool != true) this.anInt4849 = -74; - this.aHa_Sub2_4851.method3771((byte) -87, this); - if (aBoolean4856) { - OpenGL.glTexParameteri(this.anInt4849, 10241, aBoolean4860 ? 9987 : 9729); - OpenGL.glTexParameteri(this.anInt4849, 10240, 9729); - } else { - OpenGL.glTexParameteri(this.anInt4849, 10241, aBoolean4860 ? 9984 : 9728); - OpenGL.glTexParameteri(this.anInt4849, 10240, 9728); - } - } - - final void method1957(int i, boolean bool) { - if (!aBoolean4856 == bool) { - aBoolean4856 = bool; - method1956(true); - } - anInt4855++; - if (i != 9728) method1956(false); - } - - protected final void finalize() throws Throwable { - anInt4862++; - method1952(-19948); - super.finalize(); - } - - Class258(ha_Sub2 var_ha_Sub2, int i, int i_5_, int i_6_, boolean bool) { - aBoolean4860 = bool; - this.anInt4849 = i; - anInt4847 = i_6_; - this.anInt4858 = i_5_; - this.aHa_Sub2_4851 = var_ha_Sub2; - OpenGL.glGenTextures(1, Class286_Sub5.anIntArray6260, 0); - this.anInt4859 = Class286_Sub5.anIntArray6260[0]; - method1954(0, 94); - } - - public abstract void method37(int i); -} diff --git a/client/src/Class258_Sub1.java b/client/src/Class258_Sub1.java deleted file mode 100644 index e9a9ee74d..000000000 --- a/client/src/Class258_Sub1.java +++ /dev/null @@ -1,196 +0,0 @@ -/* Class258_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -final class Class258_Sub1 extends Class258 { - int anInt8522; - int anInt8523; - static int anInt8524; - private int anInt8525 = -1; - static int anInt8526; - static Class143 aClass143_8527; - private int anInt8528 = -1; - int anInt8529; - - final void method1958(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_) { - this.aHa_Sub2_4851.method3771((byte) -110, this); - anInt8526++; - OpenGL.glCopyTexSubImage3D(this.anInt4849, 0, i_2_, i_6_, i_4_, i_3_, i_0_, i_1_, i_5_); - OpenGL.glFlush(); - if (i != -26823) aClass143_8527 = null; - } - - public final void method37(int i) { - anInt8524++; - OpenGL.glFramebufferTexture3DEXT(anInt8528, anInt8525, this.anInt4849, 0, 0, 0); - anInt8525 = -1; - if (i != -3022) method1960(112, -107, -46, -98, null, null, null, null, null, null, -114, (byte) 75, -105, 62, true, false, 110, -31, true); - anInt8528 = -1; - } - - Class258_Sub1(ha_Sub2 var_ha_Sub2, int i, int i_7_, int i_8_, int i_9_, byte[] is, int i_10_) { - super(var_ha_Sub2, 32879, i, i_7_ * (i_8_ * i_9_), false); - try { - this.anInt8523 = i_7_; - this.anInt8522 = i_9_; - this.anInt8529 = i_8_; - this.aHa_Sub2_4851.method3771((byte) -84, this); - OpenGL.glPixelStorei(3317, 1); - OpenGL.glTexImage3Dub(this.anInt4849, 0, this.anInt4858, this.anInt8523, this.anInt8529, this.anInt8522, 0, i_10_, 5121, is, 0); - OpenGL.glPixelStorei(3317, 4); - this.method1957(9728, true); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("gj.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_7_ + ',' + i_8_ + ',' + i_9_ + ',' + (is != null ? "{...}" : "null") + ',' + i_10_ + ')')); - } - } - - public static void method1959(int i) { - int i_11_ = -121 / ((-52 - i) / 60); - aClass143_8527 = null; - } - - static final void method1960(int i, int i_12_, int i_13_, int i_14_, byte[][][] is, int[] is_15_, int[] is_16_, int[] is_17_, int[] is_18_, int[] is_19_, int i_20_, byte i_21_, int i_22_, int i_23_, boolean bool, boolean bool_24_, int i_25_, int i_26_, boolean bool_27_) { - Class23.aBoolean351 = true; - Class318_Sub1_Sub3_Sub3.aBoolean10221 = Class9.aHa171.method3704() > 0; - Class348_Sub40_Sub17.aBoolean9242 = bool_24_; - Class239_Sub25.anInt6111 = i_12_ >> Class362.anInt4459; - Class285_Sub2.anInt8502 = i_14_ >> Class362.anInt4459; - Class141.anInt1974 = i_12_; - Class348_Sub40_Sub27.anInt9360 = i_14_; - Class232.anInt3006 = i_13_; - Class37.anInt492 = Class239_Sub25.anInt6111 - Class318_Sub1_Sub4_Sub1.anInt10084; - if (Class37.anInt492 < 0) { - Class105_Sub1.anInt8412 = -Class37.anInt492; - Class37.anInt492 = 0; - } else Class105_Sub1.anInt8412 = 0; - Class348_Sub34.anInt6974 = Class285_Sub2.anInt8502 - Class318_Sub1_Sub4_Sub1.anInt10084; - if (Class348_Sub34.anInt6974 < 0) { - Class240.anInt4686 = -Class348_Sub34.anInt6974; - Class348_Sub34.anInt6974 = 0; - } else Class240.anInt4686 = 0; - Class27.anInt387 = Class239_Sub25.anInt6111 + Class318_Sub1_Sub4_Sub1.anInt10084; - if (Class27.anInt387 > Class318_Sub7.anInt6451) Class27.anInt387 = Class318_Sub7.anInt6451; - Class59_Sub1.anInt5293 = Class285_Sub2.anInt8502 + Class318_Sub1_Sub4_Sub1.anInt10084; - if (Class59_Sub1.anInt5293 > Class348_Sub41.anInt7054) Class59_Sub1.anInt5293 = Class348_Sub41.anInt7054; - boolean[][] bools = Class99.aBooleanArrayArray1572; - boolean[][] bools_28_ = Class348_Sub8.aBooleanArrayArray6656; - if (Class348_Sub40_Sub17.aBoolean9242) { - for (int i_29_ = 0; i_29_ < (Class318_Sub1_Sub4_Sub1.anInt10084 + Class318_Sub1_Sub4_Sub1.anInt10084 + 2); i_29_++) { - int i_30_ = 0; - int i_31_ = 0; - for (int i_32_ = 0; i_32_ < (Class318_Sub1_Sub4_Sub1.anInt10084 + Class318_Sub1_Sub4_Sub1.anInt10084 + 2); i_32_++) { - if (i_32_ > 1) Class171.anIntArray2272[i_32_ - 2] = i_30_; - i_30_ = i_31_; - int i_33_ = (Class239_Sub25.anInt6111 - Class318_Sub1_Sub4_Sub1.anInt10084 + i_29_); - int i_34_ = (Class285_Sub2.anInt8502 - Class318_Sub1_Sub4_Sub1.anInt10084 + i_32_); - if (i_33_ >= 0 && i_34_ >= 0 && i_33_ < Class318_Sub7.anInt6451 && i_34_ < Class348_Sub41.anInt7054) { - int i_35_ = i_33_ << Class362.anInt4459; - int i_36_ = i_34_ << Class362.anInt4459; - int i_37_ = (Class348_Sub1_Sub1.aSArray8801[Class348_Sub1_Sub1.aSArray8801.length - 1].method3982((byte) -86, i_34_, i_33_) - (1000 << Class362.anInt4459 - 7)); - int i_38_ = (Class332.aSArray4142 != null ? (Class332.aSArray4142[0].method3982((byte) -86, i_34_, i_33_) + Class270.anInt3465) : (Class348_Sub1_Sub1.aSArray8801[0].method3982((byte) -86, i_34_, i_33_) + Class270.anInt3465)); - i_31_ = (i_25_ >= 0 ? Class9.aHa171.r(i_35_, i_37_, i_36_, i_35_, i_38_, i_36_, i_25_) : Class9.aHa171.JA(i_35_, i_37_, i_36_, i_35_, i_38_, i_36_)); - Class348_Sub8.aBooleanArrayArray6656[i_29_][i_32_] = i_31_ == 0; - } else { - i_31_ = -1; - Class348_Sub8.aBooleanArrayArray6656[i_29_][i_32_] = false; - } - if (i_29_ > 0 && i_32_ > 0) { - int i_39_ = (Class171.anIntArray2272[i_32_ - 1] & Class171.anIntArray2272[i_32_] & i_30_ & i_31_); - Class99.aBooleanArrayArray1572[i_29_ - 1][i_32_ - 1] = i_39_ == 0; - } - } - Class171.anIntArray2272[(Class318_Sub1_Sub4_Sub1.anInt10084 + Class318_Sub1_Sub4_Sub1.anInt10084)] = i_30_; - Class171.anIntArray2272[(Class318_Sub1_Sub4_Sub1.anInt10084 + Class318_Sub1_Sub4_Sub1.anInt10084 + 1)] = i_31_; - } - if (i_25_ >= 0) Class23.aBoolean351 = false; - else { - Player.anIntArray10566 = is_15_; - Class250.anIntArray3220 = is_16_; - Class59_Sub1_Sub2.anIntArray8666 = is_17_; - Class299_Sub2_Sub1.anIntArray8712 = is_18_; - client.anIntArray5176 = is_19_; - Class348_Sub42_Sub14.method3241(i_20_, (byte) 39, Class9.aHa171); - } - } else { - if (Class369_Sub3.aBooleanArrayArray8596 == null) Class369_Sub3.aBooleanArrayArray8596 = (new boolean - [Class318_Sub7.anInt6451 + Class318_Sub7.anInt6451 + 1] - [(Class348_Sub41.anInt7054 + Class318_Sub7.anInt6451 + 1)]); - for (int i_40_ = 0; i_40_ < Class369_Sub3.aBooleanArrayArray8596.length; i_40_++) { - for (int i_41_ = 0; i_41_ < Class369_Sub3.aBooleanArrayArray8596[0].length; i_41_++) - Class369_Sub3.aBooleanArrayArray8596[i_40_][i_41_] = true; - } - Class348_Sub8.aBooleanArrayArray6656 = Class369_Sub3.aBooleanArrayArray8596; - Class99.aBooleanArrayArray1572 = Class369_Sub3.aBooleanArrayArray8596; - Class37.anInt492 = 0; - Class348_Sub34.anInt6974 = 0; - Class27.anInt387 = Class318_Sub7.anInt6451; - Class59_Sub1.anInt5293 = Class348_Sub41.anInt7054; - Class23.aBoolean351 = false; - } - Class243.method1877(Class9.aHa171, -69); - if (!Class71.aClass76_1208.aBoolean1283) { - Class243 class243 = Class71.aClass76_1208.aClass243_1282; - for (Class318_Sub4 class318_sub4 = (Class318_Sub4) class243.method1872(8); class318_sub4 != null; class318_sub4 = (Class318_Sub4) class243.method1878((byte) 125)) { - class318_sub4.method2373(false); - Class59_Sub1_Sub1.method560(class318_sub4, 6); - } - } - if (Class318_Sub1_Sub3_Sub3.aBoolean10221) { - for (int i_42_ = 0; i_42_ < Class331.anInt4135; i_42_++) - Class239_Sub14.aClass211Array5993[i_42_].method1544(8688, bool, i); - } - if (Class348_Sub40_Sub5.aBoolean9121) { - Class52.anIntArray4906 = Class9.aHa171.Y(); - Class9.aHa171.K(Class348_Sub40_Sub10.anIntArray9183); - int i_43_ = ((Class348_Sub40_Sub10.anIntArray9183[2] - Class348_Sub40_Sub10.anIntArray9183[0]) / Class75_Sub1.anInt5652); - for (int i_44_ = 0; i_44_ < Class75_Sub1.anInt5652 - 1; i_44_++) - Class17.anIntArray256[i_44_] = i_43_ * (i_44_ + 1) + Class345.anIntArray4271[i_44_]; - for (int i_45_ = 0; i_45_ < Class348_Sub40_Sub34.aClass293Array9432.length; i_45_++) - Class348_Sub40_Sub34.aClass293Array9432[i_45_].method2209(); - } - if (Class348_Sub31_Sub2.aClass357ArrayArrayArray9082 != null) { - if (Class348_Sub40_Sub5.aBoolean9121) Class285_Sub1.method2131(0); - Class243.method1879(true); - Class9.aHa171.ra(-1, 1583160, 40, 127); - Class348_Sub49_Sub1.method3398(true, is, i_20_, i_21_, i_25_, i_26_, bool_27_); - if (Class348_Sub40_Sub5.aBoolean9121) Class304.method2290(); - Class9.aHa171.pa(); - Class243.method1879(false); - } - Class348_Sub49_Sub1.method3398(false, is, i_20_, i_21_, i_25_, i_26_, bool_27_); - if (Class348_Sub40_Sub5.aBoolean9121) { - for (int i_46_ = 0; i_46_ < Class189.anInt2524; i_46_++) - Class5_Sub2.aBooleanArrayArrayArray8361[i_46_] = Class115.aBooleanArrayArrayArray1751[i_46_]; - Class285_Sub1.method2131(0); - for (int i_47_ = 0; i_47_ < Class348_Sub40_Sub34.aClass293Array9432.length; i_47_++) - Class348_Sub40_Sub34.aClass293Array9432[i_47_].method2209(); - } - if (Class348_Sub40_Sub5.aBoolean9121) { - Class304.method2290(); - for (int i_48_ = 0; i_48_ < Class189.anInt2524; i_48_++) - Class115.aBooleanArrayArrayArray1751[i_48_] = Class5_Sub2.aBooleanArrayArrayArray8361[i_48_]; - if (Npc.anInt10503 == 2) { - if (Class146.aLongArray2013[0] < Class146.aLongArray2013[1]) { - if (Class17.anIntArray256[0] + Class345.anIntArray4271[0] > Class348_Sub40_Sub10.anIntArray9183[0]) Class345.anIntArray4271[0]++; - } else if ((Class146.aLongArray2013[0] > Class146.aLongArray2013[1]) && ((Class17.anIntArray256[0] + Class345.anIntArray4271[0]) < Class348_Sub40_Sub10.anIntArray9183[2])) Class345.anIntArray4271[0]--; - } - } - if (!Class348_Sub40_Sub17.aBoolean9242) { - Class99.aBooleanArrayArray1572 = bools; - Class348_Sub8.aBooleanArrayArray6656 = bools_28_; - } - Class245.method1884(); - } - - Class258_Sub1(ha_Sub2 var_ha_Sub2, int i, int i_49_, int i_50_, int i_51_) { - super(var_ha_Sub2, 32879, i, i_51_ * i_49_ * i_50_, false); - this.anInt8523 = i_49_; - this.anInt8529 = i_50_; - this.anInt8522 = i_51_; - this.aHa_Sub2_4851.method3771((byte) -123, this); - OpenGL.glTexImage3Dub(this.anInt4849, 0, this.anInt4858, this.anInt8523, this.anInt8529, this.anInt8522, 0, Class348_Sub9.method2779(true, (this.anInt4858)), 5121, null, 0); - this.method1957(9728, true); - } -} diff --git a/client/src/Class258_Sub2.java b/client/src/Class258_Sub2.java deleted file mode 100644 index de476be9c..000000000 --- a/client/src/Class258_Sub2.java +++ /dev/null @@ -1,80 +0,0 @@ -/* Class258_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -final class Class258_Sub2 extends Class258 { - static long[] aLongArray8530; - static Class10[] aClass10Array8531 = new Class10[50]; - static String[] aStringArray8532; - static int anInt8533; - static int anInt8534; - private int anInt8535 = -1; - private int anInt8536 = -1; - static int anInt8537; - int anInt8538; - - final void method1961(int i, int i_0_, int i_1_, int i_2_, int i_3_) { - anInt8533++; - OpenGL.glFramebufferTexture2DEXT(i, i_1_, i_0_, this.anInt4859, i_2_); - if (i_3_ != -1) aStringArray8532 = null; - anInt8536 = i; - anInt8535 = i_1_; - } - - Class258_Sub2(ha_Sub2 var_ha_Sub2, int i, int i_4_) { - super(var_ha_Sub2, 34067, i, i_4_ * (i_4_ * 6), false); - this.anInt8538 = i_4_; - this.aHa_Sub2_4851.method3771((byte) -81, this); - for (int i_5_ = 0; i_5_ < 6; i_5_++) - OpenGL.glTexImage2Dub(i_5_ + 34069, 0, this.anInt4858, i_4_, i_4_, 0, Class348_Sub9.method2779(true, (this.anInt4858)), 5121, null, 0); - this.method1957(9728, true); - } - - public final void method37(int i) { - OpenGL.glFramebufferTexture2DEXT(anInt8536, anInt8535, 3553, 0, 0); - anInt8534++; - anInt8535 = -1; - if (i != -3022) anInt8537 = 60; - anInt8536 = -1; - } - - Class258_Sub2(ha_Sub2 var_ha_Sub2, int i, int i_6_, boolean bool, byte[][] is, int i_7_) { - super(var_ha_Sub2, 34067, i, i_6_ * (i_6_ * 6), bool); - try { - this.anInt8538 = i_6_; - this.aHa_Sub2_4851.method3771((byte) -127, this); - for (int i_8_ = 0; i_8_ < 6; i_8_++) - OpenGL.glTexImage2Dub(i_8_ + 34069, 0, this.anInt4858, i_6_, i_6_, 0, i_7_, 5121, is[i_8_], 0); - this.method1957(9728, true); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("q.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_6_ + ',' + bool + ',' + (is != null ? "{...}" : "null") + ',' + i_7_ + ')')); - } - } - - Class258_Sub2(ha_Sub2 var_ha_Sub2, int i, int i_9_, boolean bool, int[][] is) { - super(var_ha_Sub2, 34067, i, 6 * i_9_ * i_9_, bool); - try { - this.anInt8538 = i_9_; - this.aHa_Sub2_4851.method3771((byte) -77, this); - if (bool) { - for (int i_10_ = 0; i_10_ < 6; i_10_++) - Class353.method3460(i_10_ + 34069, this.anInt4858, i_9_, this.aHa_Sub2_4851.anInt7812, i_9_, is[i_10_], 32993, -83); - } else { - for (int i_11_ = 0; i_11_ < 6; i_11_++) - OpenGL.glTexImage2Di(i_11_ + 34069, 0, this.anInt4858, i_9_, i_9_, 0, 32993, (this.aHa_Sub2_4851.anInt7812), is[i_11_], 0); - } - this.method1957(9728, true); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("q.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_9_ + ',' + bool + ',' + (is != null ? "{...}" : "null") + ')')); - } - } - - public static void method1962(int i) { - aStringArray8532 = null; - aLongArray8530 = null; - aClass10Array8531 = null; - if (i != -1) aStringArray8532 = null; - } -} diff --git a/client/src/Class258_Sub3.java b/client/src/Class258_Sub3.java deleted file mode 100644 index cc917711f..000000000 --- a/client/src/Class258_Sub3.java +++ /dev/null @@ -1,242 +0,0 @@ -/* Class258_Sub3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -import java.awt.*; -import java.awt.image.PixelGrabber; - -class Class258_Sub3 extends Class258 { - static int anInt8539; - static int anInt8540; - static int anInt8541; - static int anInt8542; - static int anInt8543; - static int anInt8544; - private int anInt8545; - static int anInt8546; - int anInt8547; - static int anInt8548; - private int anInt8549 = -1; - static int anInt8550 = 0; - int anInt8551; - - Class258_Sub3(ha_Sub2 var_ha_Sub2, int i, int i_0_, int i_1_, int i_2_) { - super(var_ha_Sub2, i, i_0_, i_1_ * i_2_, false); - anInt8545 = -1; - this.anInt8547 = i_1_; - this.anInt8551 = i_2_; - this.aHa_Sub2_4851.method3771((byte) -111, this); - OpenGL.glTexImage2Dub(this.anInt4849, 0, this.anInt4858, i_1_, i_2_, 0, Class348_Sub9.method2779(true, (this.anInt4858)), 5121, null, 0); - this.method1957(9728, true); - } - - final void method1963(int i, int i_3_, int i_4_, int i_5_) { - anInt8541++; - if (i_4_ != 0) anInt8550 = -125; - OpenGL.glFramebufferTexture2DEXT(i, i_5_, this.anInt4849, this.anInt4859, i_3_); - anInt8549 = i; - anInt8545 = i_5_; - } - - Class258_Sub3(ha_Sub2 var_ha_Sub2, int i, int i_6_, int i_7_, int i_8_, boolean bool, float[] fs, int i_9_) { - super(var_ha_Sub2, i, i_6_, i_8_ * i_7_, bool); - anInt8545 = -1; - try { - this.anInt8547 = i_7_; - this.anInt8551 = i_8_; - this.aHa_Sub2_4851.method3771((byte) -91, this); - if (bool && this.anInt4849 != 34037) { - Class59_Sub1.method551(i_7_, i_9_, i, fs, 0, i_8_, i_6_); - this.method1955(true, (byte) -123); - } else { - OpenGL.glTexImage2Df(this.anInt4849, 0, this.anInt4858, this.anInt8547, this.anInt8551, 0, i_9_, 5126, fs, 0); - this.method1955(false, (byte) -123); - } - this.method1957(9728, true); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("tp.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ',' + bool + ',' + (fs != null ? "{...}" : "null") + ',' + i_9_ + ')')); - } - } - - final void method1964(boolean bool, int i, int i_10_, int[] is, int i_11_, byte i_12_, int i_13_, int i_14_, int i_15_) { - anInt8543++; - if (i_15_ == 0) i_15_ = i_13_; - if (bool) { - int[] is_16_ = new int[i_13_ * i]; - for (int i_17_ = 0; i_17_ < i; i_17_++) { - int i_18_ = i_13_ * i_17_; - int i_19_ = (-1 + i - i_17_) * i_15_ + i_11_; - for (int i_20_ = 0; i_20_ < i_13_; i_20_++) - is_16_[i_18_++] = is[i_19_++]; - } - is = is_16_; - } - this.aHa_Sub2_4851.method3771((byte) -80, this); - if (i_13_ != i_15_) OpenGL.glPixelStorei(3314, i_15_); - OpenGL.glTexSubImage2Di(this.anInt4849, 0, i_14_, i_10_, i_13_, i, 32993, (this.aHa_Sub2_4851.anInt7812), is, i_11_); - if (i_13_ != i_15_) OpenGL.glPixelStorei(3314, 0); - if (i_12_ > -65) this.anInt8547 = 101; - } - - Class258_Sub3(ha_Sub2 var_ha_Sub2, int i, int i_21_, int i_22_, int i_23_, boolean bool, int[] is, int i_24_, int i_25_, boolean bool_26_) { - super(var_ha_Sub2, i, i_21_, i_23_ * i_22_, bool); - anInt8545 = -1; - try { - this.anInt8547 = i_22_; - this.anInt8551 = i_23_; - if (bool_26_) { - int[] is_27_ = new int[is.length]; - for (int i_28_ = 0; i_23_ > i_28_; i_28_++) { - int i_29_ = i_28_ * i_22_; - int i_30_ = i_22_ * (-1 + -i_28_ + i_23_); - for (int i_31_ = 0; i_31_ < i_22_; i_31_++) - is_27_[i_29_++] = is[i_30_++]; - } - is = is_27_; - } - this.aHa_Sub2_4851.method3771((byte) -79, this); - if (this.anInt4849 == 34037 || !bool || i_24_ != 0 || i_25_ != 0) { - OpenGL.glPixelStorei(3314, i_24_); - OpenGL.glTexImage2Di(this.anInt4849, 0, this.anInt4858, this.anInt8547, this.anInt8551, 0, 32993, this.aHa_Sub2_4851.anInt7812, is, 4 * i_25_); - OpenGL.glPixelStorei(3314, 0); - this.method1955(false, (byte) -123); - } else { - Class353.method3460(this.anInt4849, this.anInt4858, this.anInt8551, this.aHa_Sub2_4851.anInt7812, this.anInt8547, is, 32993, -103); - this.method1955(true, (byte) -123); - } - this.method1957(9728, true); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("tp.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_21_ + ',' + i_22_ + ',' + i_23_ + ',' + bool + ',' + (is != null ? "{...}" : "null") + ',' + i_24_ + ',' + i_25_ + ',' + bool_26_ + ')')); - } - } - - Class258_Sub3(ha_Sub2 var_ha_Sub2, int i, int i_32_, int i_33_, int i_34_, boolean bool, byte[] is, int i_35_, boolean bool_36_) { - super(var_ha_Sub2, i, i_32_, i_33_ * i_34_, bool); - anInt8545 = -1; - try { - this.anInt8547 = i_33_; - this.anInt8551 = i_34_; - if (bool_36_) { - byte[] is_37_ = new byte[is.length]; - for (int i_38_ = 0; i_34_ > i_38_; i_38_++) { - int i_39_ = i_33_ * i_38_; - int i_40_ = i_33_ * (-i_38_ + (i_34_ + -1)); - for (int i_41_ = 0; i_33_ > i_41_; i_41_++) - is_37_[i_39_++] = is[i_40_++]; - } - is = is_37_; - } - this.aHa_Sub2_4851.method3771((byte) -84, this); - OpenGL.glPixelStorei(3317, 1); - if (!bool || this.anInt4849 == 34037) { - OpenGL.glTexImage2Dub(this.anInt4849, 0, this.anInt4858, this.anInt8547, this.anInt8551, 0, i_35_, 5121, is, 0); - this.method1955(false, (byte) -123); - } else { - Class186_Sub1.method1403(i_34_, i_33_, is, false, i_35_, i, i_32_); - this.method1955(true, (byte) -123); - } - OpenGL.glPixelStorei(3317, 4); - this.method1957(9728, true); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("tp.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_32_ + ',' + i_33_ + ',' + i_34_ + ',' + bool + ',' + (is != null ? "{...}" : "null") + ',' + i_35_ + ',' + bool_36_ + ')')); - } - } - - final void method1965(boolean bool, boolean bool_42_, int i) { - anInt8540++; - if (i != 10243) method1966(-20, 83, 1, -22, (byte) -31, 74, -57, 109, -102); - if (this.anInt4849 == 3553) { - this.aHa_Sub2_4851.method3771((byte) -102, this); - OpenGL.glTexParameteri(this.anInt4849, 10242, bool_42_ ? 10497 : 33071); - OpenGL.glTexParameteri(this.anInt4849, 10243, !bool ? 33071 : 10497); - } - } - - static final void method1966(int i, int i_43_, int i_44_, int i_45_, byte i_46_, int i_47_, int i_48_, int i_49_, int i_50_) { - Class147.aClass338Array2034[Class239_Sub26.anInt6115++] = new Class338(i_47_, i_49_, i_50_, i, i, i_50_, i_45_, i_43_, i_43_, i_45_, i_44_, i_44_, i_48_, i_48_); - anInt8548++; - if (i_46_ != 0) method1968(); - } - - final void method1967(int i, int i_51_, int i_52_, int i_53_, int i_54_, byte i_55_, int i_56_) { - anInt8544++; - int i_57_ = (this.aHa_Sub2_4851.anInt7641 + (-i_52_ - i_51_)); - this.aHa_Sub2_4851.method3771((byte) -100, this); - OpenGL.glCopyTexSubImage2D(this.anInt4849, 0, i, -i_51_ - (i_53_ - (this.anInt8551)), i_54_, i_57_, i_56_, i_51_); - if (i_55_ != -120) method1965(true, true, -57); - OpenGL.glFlush(); - } - - static final void method1968() { - za.method3437(1, Class189.anInt2524); - } - - public final void method37(int i) { - if (i != -3022) this.anInt8547 = 75; - OpenGL.glFramebufferTexture2DEXT(anInt8549, anInt8545, this.anInt4849, 0, 0); - anInt8542++; - anInt8545 = -1; - anInt8549 = -1; - } - - static final Class105 method1969(byte[] is, int i) { - anInt8546++; - if (i != -5901) anInt8550 = 83; - if (is == null) throw new RuntimeException(""); - for (; ; ) { - try { - Image image = Toolkit.getDefaultToolkit().createImage(is); - MediaTracker mediatracker = new MediaTracker(Class79.aClient1367); - mediatracker.addImage(image, 0); - mediatracker.waitForAll(); - int i_58_ = image.getWidth(Class79.aClient1367); - int i_59_ = image.getHeight(Class79.aClient1367); - if (mediatracker.isErrorAny() || i_58_ < 0 || i_59_ < 0) throw new RuntimeException(""); - int[] is_60_ = new int[i_59_ * i_58_]; - PixelGrabber pixelgrabber = new PixelGrabber(image, 0, 0, i_58_, i_59_, is_60_, 0, i_58_); - pixelgrabber.grabPixels(); - return Class348_Sub8.aHa6654.method3662(i_58_, is_60_, (byte) 94, 0, i_58_, i_59_); - } catch (InterruptedException interruptedexception) { - /* empty */ - } - } - } - - final void method1970(int i, int i_61_, int i_62_, boolean bool, int i_63_, int i_64_, int i_65_, int i_66_, byte[] is, int i_67_) { - if (i_63_ == 0) i_63_ = i_62_; - anInt8539++; - if (bool) { - int i_68_ = Class183.method1382(i_65_, -6409); - int i_69_ = i_68_ * i_62_; - int i_70_ = i_63_ * i_68_; - byte[] is_71_ = new byte[i_64_ * i_69_]; - for (int i_72_ = 0; i_64_ > i_72_; i_72_++) { - int i_73_ = i_69_ * i_72_; - int i_74_ = (-1 + i_64_ - i_72_) * i_70_ + i_67_; - for (int i_75_ = 0; i_75_ < i_69_; i_75_++) - is_71_[i_73_++] = is[i_74_++]; - } - is = is_71_; - } - this.aHa_Sub2_4851.method3771((byte) -102, this); - OpenGL.glPixelStorei(3317, 1); - if (i_62_ != i_63_) OpenGL.glPixelStorei(3314, i_63_); - OpenGL.glTexSubImage2Dub(this.anInt4849, 0, i, i_61_, i_62_, i_64_, i_65_, 5121, is, i_67_); - if (i_63_ != i_62_) OpenGL.glPixelStorei(3314, 0); - OpenGL.glPixelStorei(3317, 4); - int i_76_ = -17 % ((46 - i_66_) / 59); - } - - Class258_Sub3(ha_Sub2 var_ha_Sub2, int i, int i_77_, int i_78_, int i_79_, int i_80_) { - super(var_ha_Sub2, i, 6407, i_80_ * i_79_, false); - anInt8545 = -1; - this.anInt8547 = i_79_; - this.anInt8551 = i_80_; - int i_81_ = (this.aHa_Sub2_4851.anInt7641 + (-i_78_ + -i_80_)); - this.aHa_Sub2_4851.method3771((byte) -111, this); - OpenGL.glCopyTexImage2D(this.anInt4849, 0, this.anInt4858, i_77_, i_81_, i_79_, i_80_, 0); - this.method1957(9728, true); - } -} diff --git a/client/src/Class258_Sub3_Sub1.java b/client/src/Class258_Sub3_Sub1.java deleted file mode 100644 index ea5f780d6..000000000 --- a/client/src/Class258_Sub3_Sub1.java +++ /dev/null @@ -1,147 +0,0 @@ -/* Class258_Sub3_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class258_Sub3_Sub1 extends Class258_Sub3 { - float aFloat9937; - float aFloat9938; - int anInt9939; - int anInt9940; - boolean aBoolean9941; - static int anInt9942; - - Class258_Sub3_Sub1(ha_Sub2 var_ha_Sub2, int i, int i_0_, int i_1_, int i_2_) { - super(var_ha_Sub2, i, i_0_, i_1_, i_2_); - if (this.anInt4849 == 34037) { - this.aFloat9938 = (float) i_2_; - this.aBoolean9941 = false; - this.aFloat9937 = (float) i_1_; - } else { - this.aBoolean9941 = true; - this.aFloat9937 = this.aFloat9938 = 1.0F; - } - this.anInt9940 = i_1_; - this.anInt9939 = i_2_; - } - - Class258_Sub3_Sub1(ha_Sub2 var_ha_Sub2, int i, int i_3_, int i_4_, int i_5_, int i_6_) { - super(var_ha_Sub2, 3553, i, i_5_, i_6_); - this.aFloat9937 = (float) i_3_ / (float) i_5_; - this.anInt9939 = i_4_; - this.anInt9940 = i_3_; - this.aFloat9938 = (float) i_4_ / (float) i_6_; - this.aBoolean9941 = false; - this.method1965(false, false, 10243); - } - - Class258_Sub3_Sub1(ha_Sub2 var_ha_Sub2, int i, int i_7_, int i_8_, int i_9_, int i_10_, boolean bool) { - super(var_ha_Sub2, i, i_7_, i_8_, i_9_, i_10_); - this.anInt9940 = i_9_; - if (this.anInt4849 == 34037) { - this.aBoolean9941 = false; - this.aFloat9937 = (float) i_9_; - this.aFloat9938 = (float) i_10_; - } else { - this.aBoolean9941 = true; - this.aFloat9937 = this.aFloat9938 = 1.0F; - } - this.anInt9939 = i_10_; - } - - static final void method1971(int i, String string, boolean bool, int i_11_) { - anInt9942++; - Class59_Sub1_Sub1.method556(false); - Class341.method2681(9864); - Class348_Sub22.method2959(-1); - Class348_Sub23.method2965(string, i_11_, bool, 0); - Class348_Sub24.method2994(2); - Class170.method1311(5139, Class348_Sub8.aHa6654); - Class369.method3568(Class348_Sub8.aHa6654, 4); - Class255.method1933(Class21.aClass45_322, Class348_Sub8.aHa6654, true); - Class274.method2061(-128); - Class101.method901(Class113.aClass105Array1744, 515880227); - Class354.method3466(i ^ ~0x4f); - Class348_Sub40.method3038(-1); - if (Class240.anInt4674 == 3) Class348_Sub49.method3379(2, 4); - else if (Class240.anInt4674 == 7) Class348_Sub49.method3379(2, 8); - else if (Class240.anInt4674 != 10) { - if (Class240.anInt4674 == 1 || Class240.anInt4674 == 2) Class376.method3616(12639); - } else Class348_Sub49.method3379(2, 11); - } - - Class258_Sub3_Sub1(ha_Sub2 var_ha_Sub2, int i, int i_12_, int i_13_, int i_14_, int i_15_, int i_16_, boolean bool) { - super(var_ha_Sub2, 3553, i, i_12_, i_15_, i_16_); - this.anInt9940 = i_13_; - this.aFloat9938 = (float) i_14_ / (float) i_16_; - this.aFloat9937 = (float) i_13_ / (float) i_15_; - this.anInt9939 = i_14_; - this.aBoolean9941 = false; - this.method1965(false, false, 10243); - } - - Class258_Sub3_Sub1(ha_Sub2 var_ha_Sub2, int i, int i_17_, int i_18_, int i_19_, int i_20_, byte[] is, int i_21_) { - super(var_ha_Sub2, 3553, i, i_19_, i_20_); - try { - this.anInt9940 = i_17_; - this.anInt9939 = i_18_; - this.method1970(0, 0, i_17_, true, 0, i_18_, i_21_, 127, is, 0); - this.aFloat9938 = (float) i_18_ / (float) i_20_; - this.aFloat9937 = (float) i_17_ / (float) i_19_; - this.aBoolean9941 = false; - this.method1965(false, false, 10243); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("eba.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_17_ + ',' + i_18_ + ',' + i_19_ + ',' + i_20_ + ',' + (is != null ? "{...}" : "null") + ',' + i_21_ + ')')); - } - } - - Class258_Sub3_Sub1(ha_Sub2 var_ha_Sub2, int i, int i_22_, int i_23_, boolean bool, int[] is, int i_24_, int i_25_) { - super(var_ha_Sub2, i, 6408, i_22_, i_23_, bool, is, i_24_, i_25_, true); - try { - if (this.anInt4849 == 34037) { - this.aFloat9937 = (float) i_22_; - this.aBoolean9941 = false; - this.aFloat9938 = (float) i_23_; - } else { - this.aBoolean9941 = true; - this.aFloat9937 = this.aFloat9938 = 1.0F; - } - this.anInt9939 = i_23_; - this.anInt9940 = i_22_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("eba.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_22_ + ',' + i_23_ + ',' + bool + ',' + (is != null ? "{...}" : "null") + ',' + i_24_ + ',' + i_25_ + ')')); - } - } - - Class258_Sub3_Sub1(ha_Sub2 var_ha_Sub2, int i, int i_26_, int i_27_, int i_28_, int[] is) { - super(var_ha_Sub2, 3553, 6408, i_27_, i_28_); - try { - this.anInt9940 = i; - this.anInt9939 = i_26_; - this.method1964(true, i_26_, 0, is, 0, (byte) -73, i, 0, 0); - this.aFloat9937 = (float) i / (float) i_27_; - this.aFloat9938 = (float) i_26_ / (float) i_28_; - this.aBoolean9941 = false; - this.method1965(false, false, 10243); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("eba.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_26_ + ',' + i_27_ + ',' + i_28_ + ',' + (is != null ? "{...}" : "null") + ')')); - } - } - - Class258_Sub3_Sub1(ha_Sub2 var_ha_Sub2, int i, int i_29_, int i_30_, int i_31_, boolean bool, byte[] is, int i_32_) { - super(var_ha_Sub2, i, i_29_, i_30_, i_31_, bool, is, i_32_, true); - try { - this.anInt9940 = i_30_; - if (this.anInt4849 == 34037) { - this.aFloat9938 = (float) i_31_; - this.aBoolean9941 = false; - this.aFloat9937 = (float) i_30_; - } else { - this.aBoolean9941 = true; - this.aFloat9937 = this.aFloat9938 = 1.0F; - } - this.anInt9939 = i_31_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("eba.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_29_ + ',' + i_30_ + ',' + i_31_ + ',' + bool + ',' + (is != null ? "{...}" : "null") + ',' + i_32_ + ')')); - } - } -} diff --git a/client/src/Class258_Sub4.java b/client/src/Class258_Sub4.java deleted file mode 100644 index 6c2d347be..000000000 --- a/client/src/Class258_Sub4.java +++ /dev/null @@ -1,59 +0,0 @@ -/* Class258_Sub4 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -final class Class258_Sub4 extends Class258 { - static Class373 aClass373_8552; - static Class138 aClass138_8553; - static int anInt8554; - static int anInt8555; - private final int anInt8556; - static int[] anIntArray8557 = new int[500]; - static boolean aBoolean8558 = false; - static int anInt8559; - static float aFloat8560; - - public final void method37(int i) { - if (i == -3022) anInt8554++; - } - - Class258_Sub4(ha_Sub2 var_ha_Sub2, int i, int i_0_, byte[] is, int i_1_) { - super(var_ha_Sub2, 3552, i, i_0_, false); - try { - anInt8556 = i_0_; - this.aHa_Sub2_4851.method3771((byte) -94, this); - OpenGL.glPixelStorei(3317, 1); - OpenGL.glTexImage1Dub(this.anInt4849, 0, this.anInt4858, anInt8556, 0, i_1_, 5121, is, 0); - OpenGL.glPixelStorei(3317, 4); - this.method1957(9728, true); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wha.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + (is != null ? "{...}" : "null") + ',' + i_1_ + ')')); - } - } - - final void method1972(byte i, boolean bool) { - this.aHa_Sub2_4851.method3771((byte) -114, this); - int i_2_ = 59 / ((-49 - i) / 40); - anInt8555++; - OpenGL.glTexParameteri(this.anInt4849, 10242, !bool ? 33071 : 10497); - } - - public static void method1973(int i) { - aClass138_8553 = null; - aClass373_8552 = null; - if (i == 24885) anIntArray8557 = null; - } - - static final Class348_Sub13 method1974(byte i, int i_3_, boolean bool) { - anInt8559++; - int i_4_ = -43 / ((-65 - i) / 55); - long l = i_3_ | (bool ? -2147483648 : 0); - return ((Class348_Sub13) Class348_Sub40.aClass356_7041.method3480(l, -6008)); - } - - static { - aClass138_8553 = new Class138(9, 0, 4, 1); - } -} diff --git a/client/src/Class259.java b/client/src/Class259.java deleted file mode 100644 index 9231fd820..000000000 --- a/client/src/Class259.java +++ /dev/null @@ -1,50 +0,0 @@ -/* Class259 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class259 { - private final Class45 aClass45_3299; - static byte[] aByteArray3300 = new byte[2048]; - static Class60 aClass60_3301 = new Class60(30); - static int anInt3302; - private final Class60 aClass60_3303 = new Class60(64); - static Class305 aClass305_3304; - int anInt3305; - static int anInt3306 = 0; - - public static void method1975(byte i) { - aClass60_3301 = null; - int i_0_ = -54 / ((i - 77) / 37); - aClass305_3304 = null; - aByteArray3300 = null; - } - - final Class160 method1976(int i, int i_1_) { - anInt3302++; - Class160 class160; - synchronized (aClass60_3303) { - class160 = (Class160) aClass60_3303.method583(i, -51); - } - if (class160 != null) return class160; - int i_2_ = 44 % ((-41 - i_1_) / 33); - byte[] is; - synchronized (aClass45_3299) { - is = aClass45_3299.method410(-1860, 19, i); - } - class160 = new Class160(); - if (is != null) class160.method1255(new Class348_Sub49(is), -1); - synchronized (aClass60_3303) { - aClass60_3303.method582(class160, i, (byte) -120); - } - return class160; - } - - Class259(Class230 class230, int i, Class45 class45) { - try { - aClass45_3299 = class45; - this.anInt3305 = aClass45_3299.method407(0, 19); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("uea.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class26.java b/client/src/Class26.java deleted file mode 100644 index cb974a70e..000000000 --- a/client/src/Class26.java +++ /dev/null @@ -1,98 +0,0 @@ -/* Class26 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class26 { - static int anInt373; - private final Class356 aClass356_374 = new Class356(256); - static int anInt375; - static int anInt376; - private final Class45 aClass45_377; - static int anInt378; - private final Class45 aClass45_379; - static int anInt380; - private final Class356 aClass356_381 = new Class356(256); - static Class364 aClass364_382 = new Class364("WTQA", 2); - static int anInt383; - static boolean aBoolean384 = false; - static int anInt385 = 0; - static int anInt386; - - public static void method306(boolean bool) { - aClass364_382 = null; - if (bool != true) method311((byte) -5, '\002'); - } - - private final Class348_Sub19_Sub1 method307(int i, int[] is, int i_0_, int i_1_) { - anInt378++; - int i_2_ = i ^ (i_1_ >>> 12 | i_1_ << 4 & 0xfff1); - i_2_ |= i_1_ << 16; - long l = i_2_; - Class348_Sub19_Sub1 class348_sub19_sub1 = (Class348_Sub19_Sub1) aClass356_381.method3480(l, -6008); - if (class348_sub19_sub1 != null) return class348_sub19_sub1; - if (is != null && is[0] <= 0) return null; - Class317 class317 = Class317.method2372(aClass45_379, i_1_, i); - if (i_0_ < 50) method311((byte) -60, 'n'); - if (class317 == null) return null; - class348_sub19_sub1 = class317.method2369(); - aClass356_381.method3483((byte) 32, l, class348_sub19_sub1); - if (is != null) is[0] -= (class348_sub19_sub1.aByteArray8984).length; - return class348_sub19_sub1; - } - - final Class348_Sub19_Sub1 method308(int i, int[] is, int i_3_) { - anInt373++; - if ((~aClass45_379.method414(-1)) == i_3_) return method307(i, is, 122, 0); - if (aClass45_379.method407(0, i) == 1) return method307(0, is, 69, i); - throw new RuntimeException(); - } - - final Class348_Sub19_Sub1 method309(int[] is, int i, int i_4_) { - anInt376++; - if (aClass45_377.method414(i_4_) == 1) return method310(i, 0, (byte) 92, is); - if (aClass45_377.method407(0, i) == 1) return method310(0, i, (byte) 78, is); - if (i_4_ != -1) method307(44, null, -124, -47); - throw new RuntimeException(); - } - - private final Class348_Sub19_Sub1 method310(int i, int i_5_, byte i_6_, int[] is) { - anInt375++; - int i_7_ = i ^ (0xfff0 & i_5_ << 4 | i_5_ >>> 12); - i_7_ |= i_5_ << 16; - int i_8_ = -113 / ((i_6_ - 16) / 34); - long l = (long) i_7_ ^ 0x100000000L; - Class348_Sub19_Sub1 class348_sub19_sub1 = (Class348_Sub19_Sub1) aClass356_381.method3480(l, -6008); - if (class348_sub19_sub1 != null) return class348_sub19_sub1; - if (is != null && is[0] <= 0) return null; - Class348_Sub10 class348_sub10 = (Class348_Sub10) aClass356_374.method3480(l, -6008); - if (class348_sub10 == null) { - class348_sub10 = Class348_Sub10.method2795(aClass45_377, i_5_, i); - if (class348_sub10 == null) return null; - aClass356_374.method3483((byte) 108, l, class348_sub10); - } - class348_sub19_sub1 = class348_sub10.method2791(is); - if (class348_sub19_sub1 == null) return null; - class348_sub10.method2715((byte) 27); - aClass356_381.method3483((byte) 117, l, class348_sub19_sub1); - return class348_sub19_sub1; - } - - static final boolean method311(byte i, char c) { - anInt380++; - if (i <= 85) method311((byte) -75, '\014'); - return c == 160 || c == 32 || c == 95 || c == 45; - } - - Class26(Class45 class45, Class45 class45_9_) { - try { - aClass45_377 = class45_9_; - aClass45_379 = class45; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("hs.(" + (class45 != null ? "{...}" : "null") + ',' + (class45_9_ != null ? "{...}" : "null") + ')')); - } - } - - static { - anInt383 = 0; - } -} diff --git a/client/src/Class260.java b/client/src/Class260.java deleted file mode 100644 index 4430e9148..000000000 --- a/client/src/Class260.java +++ /dev/null @@ -1,36 +0,0 @@ -/* Class260 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class260 { - static Class114 aClass114_3307 = new Class114(56, 2); - static int anInt3308; - static Class45 aClass45_3309; - static int anInt3310; - static int[] anIntArray3311; - static int anInt3312 = 0; - - static final boolean method1977(byte i, int i_0_) { - if (i != -79) return false; - anInt3308++; - return i_0_ == 3 || i_0_ == 7 || i_0_ == 10; - } - - static final void method1978() { - for (int i = 0; i < Class348_Sub40_Sub34.aClass293Array9432.length; i++) - Class348_Sub40_Sub34.aClass293Array9432[i].method2205(); - Class348_Sub40_Sub34.aClass293Array9432 = null; - } - - public static void method1979(byte i) { - aClass45_3309 = null; - anIntArray3311 = null; - if (i < 105) method1978(); - aClass114_3307 = null; - } - - static { - anInt3310 = 0; - anIntArray3311 = new int[1]; - } -} diff --git a/client/src/Class261.java b/client/src/Class261.java deleted file mode 100644 index b7953c321..000000000 --- a/client/src/Class261.java +++ /dev/null @@ -1,288 +0,0 @@ -/* Class261 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class261 { - static int anInt3313; - static Class113 aClass113_3314 = new Class113(); - static int anInt3315; - static int anInt3316; - static int anInt3317; - static int anInt3318; - private final Class45 aClass45_3319; - static int anInt3320; - private final Class60 aClass60_3321 = new Class60(64); - static int anInt3322; - - public static void method1980(int i) { - if (i > 92) aClass113_3314 = null; - } - - static final String method1981(String string, byte i, char c, String string_0_) { - try { - anInt3322++; - int i_1_ = string.length(); - int i_2_ = string_0_.length(); - int i_3_ = i_1_; - int i_4_ = -1 + i_2_; - if (i_4_ != 0) { - int i_5_ = 0; - for (; ; ) { - i_5_ = string.indexOf(c, i_5_); - if (i_5_ < 0) break; - i_5_++; - i_3_ += i_4_; - } - } - StringBuffer stringbuffer = new StringBuffer(i_3_); - int i_6_ = 0; - if (i > -77) return null; - for (; ; ) { - int i_7_ = string.indexOf(c, i_6_); - if (i_7_ < 0) break; - stringbuffer.append(string, i_6_, i_7_); - stringbuffer.append(string_0_); - i_6_ = i_7_ + 1; - } - stringbuffer.append(string.substring(i_6_)); - return stringbuffer.toString(); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("uga.H(" + (string != null ? "{...}" : "null") + ',' + i + ',' + c + ',' + (string_0_ != null ? "{...}" : "null") + ')')); - } - } - - static final void method1982(int i, int i_8_, String string) { - Class348_Sub42_Sub12.anInt9594++; - anInt3318++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class117.aClass351_1766, Class348_Sub23_Sub2.aClass77_9029, i + -107); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 1 - -Class239_Sub6.method1745(string, -65)); - if (i == 16) { - class348_sub47.aClass348_Sub49_Sub2_7116.writeByteSubtract((byte) -70, i_8_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); - Class348_Sub42_Sub14.method3243(117, class348_sub47); - } - } - - final Class225 method1983(int i, int i_9_) { - anInt3320++; - Class225 class225; - synchronized (aClass60_3321) { - class225 = (Class225) aClass60_3321.method583(i, 69); - } - if (class225 != null) return class225; - byte[] is; - synchronized (aClass45_3319) { - is = aClass45_3319.method410(-1860, i_9_, i); - } - class225 = new Class225(); - if (is != null) class225.method1620(new Class348_Sub49(is), -108); - synchronized (aClass60_3321) { - aClass60_3321.method582(class225, i, (byte) -109); - } - return class225; - } - - final void method1984(byte i, int i_10_) { - synchronized (aClass60_3321) { - aClass60_3321.method578(2, i_10_); - } - anInt3315++; - if (i < 36) method1980(-32); - } - - final void method1985(int i) { - anInt3317++; - synchronized (aClass60_3321) { - aClass60_3321.method590(i); - } - } - - final void method1986(byte i) { - synchronized (aClass60_3321) { - aClass60_3321.method587(-112); - } - int i_11_ = 119 / ((i - 47) / 55); - anInt3316++; - } - - static final void method1987(int i) { - int i_12_ = 81 % ((i - -70) / 35); - anInt3313++; - if (!Class5_Sub1.aBoolean8335) Class348_Sub42_Sub6.aBoolean9535 = ((Class332.anInt4143 != -1 && Class73.anInt4776 >= Class332.anInt4143) || (Class348_Sub42_Sub8_Sub2.anInt10432 < 16 * Class73.anInt4776 - -(!Class71.aBoolean1211 ? 22 : 26))); - Class166.aClass262_2187.method1996(103); - Class348_Sub40_Sub38.aClass262_9478.method1996(104); - for (Class348_Sub42_Sub12 class348_sub42_sub12 = ((Class348_Sub42_Sub12) Class348_Sub40_Sub4.aClass262_9111.method1995(4)); class348_sub42_sub12 != null; class348_sub42_sub12 = (Class348_Sub42_Sub12) Class348_Sub40_Sub4.aClass262_9111.method1990((byte) 83)) { - int i_13_ = class348_sub42_sub12.anInt9608; - if (i_13_ < 1000) { - class348_sub42_sub12.method2715((byte) 97); - if (i_13_ == 15 || i_13_ == 2 || i_13_ == 30 || i_13_ == 49 || i_13_ == 51 || i_13_ == 50 || i_13_ == 6) Class348_Sub40_Sub38.aClass262_9478.method1999(class348_sub42_sub12, -20180); - else Class166.aClass262_2187.method1999(class348_sub42_sub12, -20180); - } - } - Class166.aClass262_2187.method1988(Class348_Sub40_Sub4.aClass262_9111, (byte) -115); - Class348_Sub40_Sub38.aClass262_9478.method1988(Class348_Sub40_Sub4.aClass262_9111, (byte) -115); - if (Class73.anInt4776 > 1) { - if (!Class116.shiftClick || !Class182.aClass346_2449.method2696(81, -122) || Class73.anInt4776 <= 2) Class316.aClass348_Sub42_Sub12_3963 = ((Class348_Sub42_Sub12) Class348_Sub40_Sub4.aClass262_9111.aClass348_3334.aClass348_4295); - else Class316.aClass348_Sub42_Sub12_3963 = ((Class348_Sub42_Sub12) Class348_Sub40_Sub4.aClass262_9111.aClass348_3334.aClass348_4295.aClass348_4295); - Class135_Sub2.aClass348_Sub42_Sub12_4846 = ((Class348_Sub42_Sub12) Class348_Sub40_Sub4.aClass262_9111.aClass348_3334.aClass348_4295); - } else { - Class316.aClass348_Sub42_Sub12_3963 = null; - Class135_Sub2.aClass348_Sub42_Sub12_4846 = null; - } - int i_14_ = -1; - Class348_Sub45 class348_sub45 = (Class348_Sub45) Class318_Sub1_Sub3.aClass262_8744.method1995(4); - if (class348_sub45 != null) i_14_ = class348_sub45.method3310(58); - if (Class5_Sub1.aBoolean8335) { - if (i_14_ == -1) { - int i_15_ = Class258_Sub4.aClass373_8552.method3597(true); - int i_16_ = Class258_Sub4.aClass373_8552.method3594((byte) 116); - boolean bool = false; - if (Class242.aClass348_Sub42_Sub13_3152 != null) { - if (Class50_Sub3.anInt5252 + -10 > i_15_ || ((Class50_Sub3.anInt5252 - -Class348_Sub1_Sub1.anInt8806 + 10) < i_15_) || -10 + Class373.anInt4534 > i_16_ || (Class177.anInt4669 + Class373.anInt4534 + 10 < i_16_)) Class348_Sub42_Sub19.method3277((byte) -48); - else bool = true; - } - if (!bool) { - if (Class135_Sub1.anInt4717 - 10 <= i_15_ && i_15_ <= (10 + Class135_Sub1.anInt4717 - -Class63.anInt1117) && i_16_ >= -10 + Class348_Sub42_Sub5.anInt9532 && i_16_ <= (10 + Class348_Sub42_Sub5.anInt9532 - -Class237_Sub1.anInt5819)) { - if (Class348_Sub42_Sub6.aBoolean9535) { - int i_17_ = -1; - int i_18_ = -1; - for (int i_19_ = 0; i_19_ < Class8.anInt166; i_19_++) { - if (Class71.aBoolean1211) { - int i_21_ = (16 * i_19_ + 33 + Class348_Sub42_Sub5.anInt9532); - if ((i_16_ > -13 + i_21_) && i_21_ + 4 > i_16_) { - i_18_ = -13 + i_21_; - i_17_ = i_19_; - break; - } - } else { - int i_20_ = (16 * i_19_ + Class348_Sub42_Sub5.anInt9532 - -31); - if (i_20_ + -13 < i_16_ && (i_20_ + 3 > i_16_)) { - i_18_ = i_20_ + -13; - i_17_ = i_19_; - break; - } - } - } - if (i_17_ != -1) { - int i_22_ = 0; - Class156 class156 = new Class156(Class233.aClass107_3022); - for (Class348_Sub42_Sub13 class348_sub42_sub13 = ((Class348_Sub42_Sub13) class156.method1240(75)); class348_sub42_sub13 != null; class348_sub42_sub13 = ((Class348_Sub42_Sub13) class156.method1243((byte) 74))) { - if (i_17_ == i_22_) { - if (class348_sub42_sub13.anInt9615 > 1) Class99.method881(class348_sub42_sub13, i_16_, true, i_18_); - break; - } - i_22_++; - } - } - } - } else Class286_Sub2.method2146((byte) 70); - } - } - if (i_14_ == 0) { - int i_23_ = class348_sub45.method3308((byte) -128); - int i_24_ = class348_sub45.method3311(33); - if (Class242.aClass348_Sub42_Sub13_3152 != null && Class50_Sub3.anInt5252 <= i_23_ && (Class348_Sub1_Sub1.anInt8806 + Class50_Sub3.anInt5252 >= i_23_) && i_24_ >= Class373.anInt4534 && Class373.anInt4534 + Class177.anInt4669 >= i_24_) { - int i_25_ = -1; - for (int i_26_ = 0; (Class242.aClass348_Sub42_Sub13_3152.anInt9615 > i_26_); i_26_++) { - if (Class71.aBoolean1211) { - int i_27_ = 33 + (Class373.anInt4534 + i_26_ * 16); - if (i_24_ > -13 + i_27_ && i_24_ < 4 + i_27_) i_25_ = i_26_; - } else { - int i_28_ = i_26_ * 16 + 31 + Class373.anInt4534; - if (i_28_ + -13 < i_24_ && i_24_ < 3 + i_28_) i_25_ = i_26_; - } - } - if (i_25_ != -1) { - int i_29_ = 0; - Class156 class156 = new Class156(Class242.aClass348_Sub42_Sub13_3152.aClass107_9621); - for (Class348_Sub42_Sub12 class348_sub42_sub12 = ((Class348_Sub42_Sub12) class156.method1240(98)); class348_sub42_sub12 != null; class348_sub42_sub12 = ((Class348_Sub42_Sub12) class156.method1243((byte) 122))) { - if (i_29_ == i_25_) { - Class325.method2599((byte) 126, class348_sub42_sub12, i_24_, i_23_); - break; - } - i_29_++; - } - } - Class286_Sub2.method2146((byte) 78); - } else if (Class135_Sub1.anInt4717 <= i_23_ && (i_23_ <= Class135_Sub1.anInt4717 - -Class63.anInt1117) && i_24_ >= Class348_Sub42_Sub5.anInt9532 && ((Class348_Sub42_Sub5.anInt9532 - -Class237_Sub1.anInt5819) >= i_24_)) { - if (Class348_Sub42_Sub6.aBoolean9535) { - int i_30_ = -1; - for (int i_31_ = 0; i_31_ < Class8.anInt166; i_31_++) { - if (Class71.aBoolean1211) { - int i_33_ = (Class348_Sub42_Sub5.anInt9532 + 33 - -(i_31_ * 16)); - if (i_24_ > -13 + i_33_ && i_33_ + 4 > i_24_) { - i_30_ = i_31_; - break; - } - } else { - int i_32_ = (Class348_Sub42_Sub5.anInt9532 + 31 + i_31_ * 16); - if (i_24_ > i_32_ - 13 && i_32_ + 3 > i_24_) { - i_30_ = i_31_; - break; - } - } - } - if (i_30_ != -1) { - int i_34_ = 0; - Class156 class156 = new Class156(Class233.aClass107_3022); - for (Class348_Sub42_Sub13 class348_sub42_sub13 = ((Class348_Sub42_Sub13) class156.method1240(18)); class348_sub42_sub13 != null; class348_sub42_sub13 = ((Class348_Sub42_Sub13) class156.method1243((byte) 55))) { - if (i_34_ == i_30_) { - Class325.method2599((byte) 122, ((Class348_Sub42_Sub12) (class348_sub42_sub13.aClass107_9621.aClass348_Sub42_1647.aClass348_Sub42_7063)), i_24_, i_23_); - Class286_Sub2.method2146((byte) 118); - break; - } - i_34_++; - } - } - } else { - int i_35_ = -1; - for (int i_36_ = 0; (i_36_ < Class73.anInt4776); i_36_++) { - if (Class71.aBoolean1211) { - int i_37_ = (33 + Class348_Sub42_Sub5.anInt9532 + 16 * (Class73.anInt4776 - (1 - -i_36_))); - if (i_37_ - 13 < i_24_ && 4 + i_37_ > i_24_) i_35_ = i_36_; - } else { - int i_38_ = (Class348_Sub42_Sub5.anInt9532 + (31 - -((Class73.anInt4776 - 1 - i_36_) * 16))); - if (i_38_ - 13 < i_24_ && (i_24_ < i_38_ - -3)) i_35_ = i_36_; - } - } - if (i_35_ != -1) { - int i_39_ = 0; - Class312 class312 = new Class312(Class348_Sub40_Sub4.aClass262_9111); - for (Class348_Sub42_Sub12 class348_sub42_sub12 = ((Class348_Sub42_Sub12) class312.method2327((byte) -53)); class348_sub42_sub12 != null; class348_sub42_sub12 = ((Class348_Sub42_Sub12) class312.method2329(10))) { - if (i_35_ == i_39_) { - Class325.method2599((byte) 107, class348_sub42_sub12, i_24_, i_23_); - break; - } - i_39_++; - } - } - Class286_Sub2.method2146((byte) -46); - } - } - } - } else { - if (i_14_ == 0 && ((Class318_Sub1_Sub5.anInt8770 == 1 && Class73.anInt4776 > 2) || Class318_Sub1_Sub5.method2485(-100))) i_14_ = 2; - if (i_14_ == 2 && Class73.anInt4776 > 0 && class348_sub45 != null) { - if (Class289.aClass46_3701 == null && Class348_Sub42.anInt7059 == 0) Class304.method2291((byte) -124, class348_sub45.method3308((byte) -127), class348_sub45.method3311(-104)); - else Class282.anInt3655 = 2; - } - if (i_14_ == 0) { - if (Class316.aClass348_Sub42_Sub12_3963 != null) Class239_Sub3.method1731(1); - else if (r.aBoolean9722) Class341.method2678(-2049); - } - if (Class289.aClass46_3701 == null && Class348_Sub42.anInt7059 == 0) { - Class138.aClass348_Sub42_Sub12_1946 = null; - Class282.anInt3655 = 0; - } - } - } - - Class261(Class230 class230, int i, Class45 class45) { - try { - aClass45_3319 = class45; - aClass45_3319.method407(0, 32); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("uga.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class262.java b/client/src/Class262.java deleted file mode 100644 index 64f3b2ecd..000000000 --- a/client/src/Class262.java +++ /dev/null @@ -1,258 +0,0 @@ -/* Class262 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; - -final class Class262 { - static Class45 aClass45_3323; - static int anInt3324; - static int anInt3325; - static Class324 aClass324_3326; - static int anInt3327; - static int anInt3328; - static int anInt3329; - static int anInt3330; - static Object anObject3331; - static int anInt3332; - static int anInt3333; - Class348 aClass348_3334 = new Class348(); - static Class190[][] aClass190ArrayArray3335; - static int anInt3336; - static int anInt3337; - static int anInt3338; - static int anInt3339; - static int anInt3340; - static int anInt3341; - private Class348 aClass348_3342; - - final void method1988(Class262 class262_0_, byte i) { - if (i != -115) method1995(-53); - method1989((this.aClass348_3334.aClass348_4294), false, class262_0_); - anInt3340++; - } - - private final void method1989(Class348 class348, boolean bool, Class262 class262_1_) { - do { - try { - anInt3325++; - Class348 class348_2_ = (this.aClass348_3334.aClass348_4295); - this.aClass348_3334.aClass348_4295 = class348.aClass348_4295; - class348.aClass348_4295.aClass348_4294 = this.aClass348_3334; - if (this.aClass348_3334 != class348) { - class348.aClass348_4295 = (class262_1_.aClass348_3334.aClass348_4295); - class348.aClass348_4295.aClass348_4294 = class348; - class262_1_.aClass348_3334.aClass348_4295 = class348_2_; - class348_2_.aClass348_4294 = class262_1_.aClass348_3334; - } - if (bool == false) break; - aClass45_3323 = null; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("uh.K(" + (class348 != null ? "{...}" : "null") + ',' + bool + ',' + (class262_1_ != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - final Class348 method1990(byte i) { - anInt3329++; - if (i < 29) aClass348_3342 = null; - Class348 class348 = aClass348_3342; - if (this.aClass348_3334 == class348) { - aClass348_3342 = null; - return null; - } - aClass348_3342 = class348.aClass348_4294; - return class348; - } - - static final void method1991(float f, float f_3_, float[] fs, int i, int i_4_, boolean bool, int i_5_, int i_6_, int i_7_, int i_8_, float f_9_, float[] fs_10_, int i_11_, int i_12_) { - do { - try { - anInt3338++; - i_7_ -= i_6_; - i -= i_4_; - i_8_ -= i_11_; - float f_13_ = fs[2] * (float) i + (fs[1] * (float) i_8_ + fs[0] * (float) i_7_); - float f_14_ = ((float) i_7_ * fs[3] + (float) i_8_ * fs[4] + (float) i * fs[5]); - float f_15_ = fs[8] * (float) i + (fs[6] * (float) i_7_ + (float) i_8_ * fs[7]); - float f_16_; - float f_17_; - if (i_12_ == 0) { - f_16_ = 0.5F + (f_3_ + f_13_); - f_17_ = -f_15_ + f + 0.5F; - } else if (i_12_ == 1) { - f_17_ = 0.5F + (f_15_ + f); - f_16_ = 0.5F + (f_3_ + f_13_); - } else if (i_12_ == 2) { - f_16_ = 0.5F + (-f_13_ + f_3_); - f_17_ = -f_14_ + f_9_ + 0.5F; - } else if (i_12_ == 3) { - f_17_ = -f_14_ + f_9_ + 0.5F; - f_16_ = f_13_ + f_3_ + 0.5F; - } else if (i_12_ == 4) { - f_16_ = f_15_ + f + 0.5F; - f_17_ = -f_14_ + f_9_ + 0.5F; - } else { - f_16_ = 0.5F + (f + -f_15_); - f_17_ = -f_14_ + f_9_ + 0.5F; - } - if (i_5_ == 1) { - float f_18_ = f_16_; - f_16_ = -f_17_; - f_17_ = f_18_; - } else if (i_5_ == 2) { - f_17_ = -f_17_; - f_16_ = -f_16_; - } else if (i_5_ == 3) { - float f_19_ = f_16_; - f_16_ = f_17_; - f_17_ = -f_19_; - } - fs_10_[1] = f_17_; - fs_10_[0] = f_16_; - if (bool == false) break; - method1991(0.31271333F, 1.5829445F, null, -17, 88, true, -70, -107, 8, 5, -0.347415F, null, -24, -19); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("uh.B(" + f + ',' + f_3_ + ',' + (fs != null ? "{...}" : "null") + ',' + i + ',' + i_4_ + ',' + bool + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ',' + f_9_ + ',' + (fs_10_ != null ? "{...}" : "null") + ',' + i_11_ + ',' + i_12_ + ')')); - } - break; - } while (false); - } - - static final void method1992(Class318_Sub1 class318_sub1, int i, int i_20_, int i_21_) { - if (i_20_ < Class318_Sub7.anInt6451) { - Class357 class357 = Class147.aClass357ArrayArrayArray2029[i][i_20_ + 1][i_21_]; - if (class357 != null && class357.aClass318_Sub1_Sub1_4402 != null && class357.aClass318_Sub1_Sub1_4402.method2388(-107)) class318_sub1.method2380(Class9.aHa171, 0, true, (class357.aClass318_Sub1_Sub1_4402), 0, (byte) -116, Class270.anInt3465); - } - if (i_21_ < Class318_Sub7.anInt6451) { - Class357 class357 = Class147.aClass357ArrayArrayArray2029[i][i_20_][i_21_ + 1]; - if (class357 != null && class357.aClass318_Sub1_Sub1_4402 != null && class357.aClass318_Sub1_Sub1_4402.method2388(-92)) class318_sub1.method2380(Class9.aHa171, 0, true, (class357.aClass318_Sub1_Sub1_4402), Class270.anInt3465, (byte) -128, 0); - } - if (i_20_ < Class318_Sub7.anInt6451 && i_21_ < Class348_Sub41.anInt7054) { - Class357 class357 = (Class147.aClass357ArrayArrayArray2029[i][i_20_ + 1][i_21_ + 1]); - if (class357 != null && class357.aClass318_Sub1_Sub1_4402 != null && class357.aClass318_Sub1_Sub1_4402.method2388(-107)) class318_sub1.method2380(Class9.aHa171, 0, true, (class357.aClass318_Sub1_Sub1_4402), Class270.anInt3465, (byte) -117, Class270.anInt3465); - } - if (i_20_ < Class318_Sub7.anInt6451 && i_21_ > 0) { - Class357 class357 = (Class147.aClass357ArrayArrayArray2029[i][i_20_ + 1][i_21_ - 1]); - if (class357 != null && class357.aClass318_Sub1_Sub1_4402 != null && class357.aClass318_Sub1_Sub1_4402.method2388(-90)) class318_sub1.method2380(Class9.aHa171, 0, true, (class357.aClass318_Sub1_Sub1_4402), -Class270.anInt3465, (byte) -116, Class270.anInt3465); - } - } - - final Class348 method1993(int i) { - anInt3336++; - Class348 class348 = this.aClass348_3334.aClass348_4295; - if (this.aClass348_3334 == class348) { - aClass348_3342 = null; - return null; - } - aClass348_3342 = class348.aClass348_4295; - if (i > -65) method1993(67); - return class348; - } - - public static void method1994(int i) { - aClass190ArrayArray3335 = null; - anObject3331 = null; - if (i != -13722) method2000(-104, 106, null, null); - aClass45_3323 = null; - aClass324_3326 = null; - } - - final Class348 method1995(int i) { - if (i != 4) method2001(null, -30); - anInt3332++; - Class348 class348 = this.aClass348_3334.aClass348_4294; - if (class348 == this.aClass348_3334) { - aClass348_3342 = null; - return null; - } - aClass348_3342 = class348.aClass348_4294; - return class348; - } - - final void method1996(int i) { - if (i > 97) { - anInt3339++; - for (; ; ) { - Class348 class348 = (this.aClass348_3334.aClass348_4294); - if (this.aClass348_3334 == class348) break; - class348.method2715((byte) 24); - } - aClass348_3342 = null; - } - } - - final Class348 method1997(int i) { - anInt3341++; - if (i != 8) aClass190ArrayArray3335 = null; - Class348 class348 = this.aClass348_3334.aClass348_4294; - if (this.aClass348_3334 == class348) return null; - class348.method2715((byte) 114); - return class348; - } - - final int method1998(int i) { - anInt3333++; - int i_22_ = i; - Class348 class348 = this.aClass348_3334.aClass348_4294; - while (class348 != this.aClass348_3334) { - class348 = class348.aClass348_4294; - i_22_++; - } - return i_22_; - } - - final void method1999(Class348 class348, int i) { - if (class348.aClass348_4295 != null) class348.method2715((byte) 91); - anInt3328++; - class348.aClass348_4294 = this.aClass348_3334; - class348.aClass348_4295 = this.aClass348_3334.aClass348_4295; - class348.aClass348_4295.aClass348_4294 = class348; - if (i != -20180) method2001(null, -94); - class348.aClass348_4294.aClass348_4295 = class348; - } - - static final ha method2000(int i, int i_23_, Canvas canvas, d var_d) { - try { - anInt3324++; - if (i != 3) method1992(null, -40, 69, -1); - return new ha_Sub2(canvas, var_d, i_23_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("uh.D(" + i + ',' + i_23_ + ',' + (canvas != null ? "{...}" : "null") + ',' + (var_d != null ? "{...}" : "null") + ')')); - } - } - - final void method2001(Class348 class348, int i) { - anInt3330++; - if (class348.aClass348_4295 != null) class348.method2715((byte) 63); - class348.aClass348_4295 = this.aClass348_3334; - class348.aClass348_4294 = this.aClass348_3334.aClass348_4294; - if (i > -89) aClass324_3326 = null; - class348.aClass348_4295.aClass348_4294 = class348; - class348.aClass348_4294.aClass348_4295 = class348; - } - - final boolean method2002(byte i) { - if (i != 18) aClass190ArrayArray3335 = null; - anInt3327++; - return this.aClass348_3334 == this.aClass348_3334.aClass348_4294; - } - - final Class348 method2003(int i) { - anInt3337++; - Class348 class348 = aClass348_3342; - if (class348 == this.aClass348_3334) { - aClass348_3342 = null; - return null; - } - int i_24_ = -111 / ((i - -88) / 38); - aClass348_3342 = class348.aClass348_4295; - return class348; - } - - public Class262() { - this.aClass348_3334.aClass348_4295 = this.aClass348_3334; - this.aClass348_3334.aClass348_4294 = this.aClass348_3334; - } -} diff --git a/client/src/Class263.java b/client/src/Class263.java deleted file mode 100644 index 62408de0c..000000000 --- a/client/src/Class263.java +++ /dev/null @@ -1,365 +0,0 @@ -/* Class263 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class263 { - private final Class45 aClass45_3343; - static int anInt3344; - Class45 aClass45_3345; - static int anInt3346; - static int[] anIntArray3347 = new int[1000]; - static int anInt3348; - static int anInt3349; - private Class60 aClass60_3350; - static int anInt3351; - private static char[] aCharArray3352 = new char[64]; - static int anInt3353; - static int anInt3354; - boolean aBoolean3355 = false; - static int anInt3356; - static int anInt3357; - static int anInt3358; - boolean aBoolean3359; - Class60 aClass60_3360; - Class60 aClass60_3361; - Class60 aClass60_3362; - int anInt3363; - - final void method2004(boolean bool, byte i) { - anInt3346++; - if (bool == !this.aBoolean3359) { - this.aBoolean3359 = bool; - if (i != 25) aClass60_3350 = null; - method2012(i + -23853); - } - } - - final Class51 method2005(int i, int i_0_) { - anInt3351++; - Class51 class51; - synchronized (aClass60_3350) { - class51 = (Class51) aClass60_3350.method583(i_0_, i ^ 0x32); - } - if (class51 != null) return class51; - byte[] is; - synchronized (aClass45_3343) { - is = aClass45_3343.method410(i + -1860, Class239_Sub29.method1850(i_0_, 111), Class5_Sub1.method185(i_0_, (byte) -90)); - } - class51 = new Class51(); - class51.anInt941 = i_0_; - class51.aClass263_933 = this; - if (is != null) class51.method479((byte) 0, new Class348_Sub49(is)); - class51.method488(-105); - if (i != 0) this.aClass60_3361 = null; - if (!this.aBoolean3359 && class51.aBoolean942) { - class51.anIntArray917 = null; - class51.aStringArray913 = null; - } - if (class51.aBoolean876) { - class51.anInt920 = 0; - class51.aBoolean896 = false; - } - synchronized (aClass60_3350) { - aClass60_3350.method582(class51, i_0_, (byte) -109); - } - return class51; - } - - final void method2006(int i) { - if (i >= 68) { - anInt3353++; - synchronized (aClass60_3350) { - aClass60_3350.method587(-106); - } - synchronized (this.aClass60_3360) { - this.aClass60_3360.method587(-125); - } - synchronized (this.aClass60_3361) { - this.aClass60_3361.method587(-122); - } - synchronized (this.aClass60_3362) { - this.aClass60_3362.method587(-101); - } - } - } - - static final boolean method2007(int i, int i_1_, int i_2_, Class361 class361, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_) { - anInt3354++; - int i_10_ = i_8_; - int i_11_ = i_4_; - int i_12_ = 64; - int i_13_ = 64; - int i_14_ = -i_12_ + i_8_; - int i_15_ = -i_13_ + i_4_; - r.anIntArrayArray9723[i_12_][i_13_] = 99; - if (i_1_ >= -27) method2011((byte) 103); - Class223.anIntArrayArray2900[i_12_][i_13_] = 0; - int i_16_ = 0; - Class367_Sub11.anIntArray7397[i_16_] = i_10_; - int i_17_ = 0; - Class205.anIntArray2694[i_16_++] = i_11_; - int[][] is = class361.anIntArrayArray4438; - while (i_16_ != i_17_) { - i_11_ = Class205.anIntArray2694[i_17_]; - i_10_ = Class367_Sub11.anIntArray7397[i_17_]; - i_17_ = 0xfff & 1 + i_17_; - i_12_ = i_10_ - i_14_; - i_13_ = -i_15_ + i_11_; - int i_18_ = i_10_ + -class361.anInt4453; - int i_19_ = -class361.anInt4441 + i_11_; - int i_20_ = i; - while_85_: - do { - while_84_: - do { - while_83_: - do { - while_82_: - do { - do { - if (i_20_ == -4) { - if (i_10_ == i_3_ && i_2_ == i_11_) { - Class348_Sub40_Sub30.anInt9388 = i_10_; - Class115.anInt1753 = i_11_; - return true; - } - break while_85_; - } else if (i_20_ != -3) { - if (i_20_ != -2) { - if (i_20_ != -1) { - if (i_20_ == 0 || i_20_ == 1 || i_20_ == 2 || i_20_ == 3 || (i_20_ == 9)) break while_83_; - break while_84_; - } - } else break; - break while_82_; - } - if (Class239_Sub28.method1842(i_5_, i_2_, -1, 2, i_10_, i_11_, i_3_, 2, i_6_)) { - Class115.anInt1753 = i_11_; - Class348_Sub40_Sub30.anInt9388 = i_10_; - return true; - } - break while_85_; - } while (false); - if (class361.method3497(-28388, i_3_, i_7_, 2, i_6_, i_10_, 2, i_11_, i_2_, i_5_)) { - Class348_Sub40_Sub30.anInt9388 = i_10_; - Class115.anInt1753 = i_11_; - return true; - } - break while_85_; - } while (false); - if (class361.method3503(i_10_, (byte) -82, i_2_, 2, i_6_, i_5_, i_7_, i_11_, i_3_)) { - Class348_Sub40_Sub30.anInt9388 = i_10_; - Class115.anInt1753 = i_11_; - return true; - } - break while_85_; - } while (false); - if (class361.method3495(i_3_, i_11_, 2, i_9_, i_10_, i_2_, i, -53)) { - Class348_Sub40_Sub30.anInt9388 = i_10_; - Class115.anInt1753 = i_11_; - return true; - } - break while_85_; - } while (false); - if (class361.method3504(i_2_, i_11_, i_3_, i_10_, i, 1, i_9_, 2)) { - Class348_Sub40_Sub30.anInt9388 = i_10_; - Class115.anInt1753 = i_11_; - return true; - } - } while (false); - i_20_ = Class223.anIntArrayArray2900[i_12_][i_13_] + 1; - if (i_12_ > 0 && r.anIntArrayArray9723[i_12_ + -1][i_13_] == 0 && (0x43a40000 & is[i_18_ - 1][i_19_]) == 0 && (0x4e240000 & is[i_18_ - 1][1 + i_19_]) == 0) { - Class367_Sub11.anIntArray7397[i_16_] = -1 + i_10_; - Class205.anIntArray2694[i_16_] = i_11_; - r.anIntArrayArray9723[-1 + i_12_][i_13_] = 2; - i_16_ = i_16_ + 1 & 0xfff; - Class223.anIntArrayArray2900[i_12_ + -1][i_13_] = i_20_; - } - if (i_12_ < 126 && (r.anIntArrayArray9723[i_12_ - -1][i_13_] == 0) && (0x60e40000 & is[2 + i_18_][i_19_]) == 0 && (is[i_18_ + 2][i_19_ + 1] & 0x78240000) == 0) { - Class367_Sub11.anIntArray7397[i_16_] = 1 + i_10_; - Class205.anIntArray2694[i_16_] = i_11_; - r.anIntArrayArray9723[1 + i_12_][i_13_] = 8; - i_16_ = i_16_ + 1 & 0xfff; - Class223.anIntArrayArray2900[1 + i_12_][i_13_] = i_20_; - } - if (i_13_ > 0 && r.anIntArrayArray9723[i_12_][-1 + i_13_] == 0 && (0x43a40000 & is[i_18_][i_19_ - 1]) == 0 && ((is[i_18_ + 1][-1 + i_19_] & 0x60e40000) == 0)) { - Class367_Sub11.anIntArray7397[i_16_] = i_10_; - Class205.anIntArray2694[i_16_] = i_11_ - 1; - r.anIntArrayArray9723[i_12_][i_13_ + -1] = 1; - i_16_ = 1 + i_16_ & 0xfff; - Class223.anIntArrayArray2900[i_12_][i_13_ + -1] = i_20_; - } - if (i_13_ < 126 && r.anIntArrayArray9723[i_12_][i_13_ + 1] == 0 && (is[i_18_][2 + i_19_] & 0x4e240000) == 0 && ((0x78240000 & is[1 + i_18_][2 + i_19_]) == 0)) { - Class367_Sub11.anIntArray7397[i_16_] = i_10_; - Class205.anIntArray2694[i_16_] = 1 + i_11_; - i_16_ = 1 + i_16_ & 0xfff; - r.anIntArrayArray9723[i_12_][1 + i_13_] = 4; - Class223.anIntArrayArray2900[i_12_][i_13_ - -1] = i_20_; - } - if (i_12_ > 0 && i_13_ > 0 && r.anIntArrayArray9723[-1 + i_12_][i_13_ + -1] == 0 && (is[i_18_ + -1][i_19_] & 0x4fa40000) == 0 && (is[i_18_ - 1][i_19_ - 1] & 0x43a40000) == 0 && (is[i_18_][i_19_ - 1] & 0x63e40000) == 0) { - Class367_Sub11.anIntArray7397[i_16_] = -1 + i_10_; - Class205.anIntArray2694[i_16_] = i_11_ - 1; - i_16_ = 0xfff & 1 + i_16_; - r.anIntArrayArray9723[i_12_ - 1][i_13_ - 1] = 3; - Class223.anIntArrayArray2900[-1 + i_12_][-1 + i_13_] = i_20_; - } - if (i_12_ < 126 && i_13_ > 0 && (r.anIntArrayArray9723[i_12_ + 1][-1 + i_13_] == 0) && (is[i_18_ - -1][i_19_ + -1] & 0x63e40000) == 0 && (0x60e40000 & is[2 + i_18_][-1 + i_19_]) == 0 && (is[i_18_ - -2][i_19_] & 0x78e40000) == 0) { - Class367_Sub11.anIntArray7397[i_16_] = 1 + i_10_; - Class205.anIntArray2694[i_16_] = i_11_ + -1; - r.anIntArrayArray9723[1 + i_12_][-1 + i_13_] = 9; - i_16_ = 0xfff & i_16_ - -1; - Class223.anIntArrayArray2900[i_12_ - -1][i_13_ - 1] = i_20_; - } - if (i_12_ > 0 && i_13_ < 126 && r.anIntArrayArray9723[i_12_ - 1][1 + i_13_] == 0 && (is[i_18_ - 1][1 + i_19_] & 0x4fa40000) == 0 && (0x4e240000 & is[i_18_ - 1][2 + i_19_]) == 0 && (is[i_18_][i_19_ - -2] & 0x7e240000) == 0) { - Class367_Sub11.anIntArray7397[i_16_] = i_10_ - 1; - Class205.anIntArray2694[i_16_] = i_11_ + 1; - r.anIntArrayArray9723[i_12_ + -1][1 + i_13_] = 6; - i_16_ = 1 + i_16_ & 0xfff; - Class223.anIntArrayArray2900[-1 + i_12_][1 + i_13_] = i_20_; - } - if (i_12_ < 126 && i_13_ < 126 && r.anIntArrayArray9723[i_12_ + 1][1 + i_13_] == 0 && (is[i_18_ - -1][i_19_ + 2] & 0x7e240000) == 0 && (is[i_18_ + 2][i_19_ - -2] & 0x78240000) == 0 && ((0x78e40000 & is[i_18_ + 2][1 + i_19_]) == 0)) { - Class367_Sub11.anIntArray7397[i_16_] = i_10_ - -1; - Class205.anIntArray2694[i_16_] = 1 + i_11_; - i_16_ = 1 + i_16_ & 0xfff; - r.anIntArrayArray9723[1 + i_12_][i_13_ - -1] = 12; - Class223.anIntArrayArray2900[1 + i_12_][1 + i_13_] = i_20_; - } - } - Class348_Sub40_Sub30.anInt9388 = i_10_; - Class115.anInt1753 = i_11_; - return false; - } - - final void method2008(int i, boolean bool) { - anInt3344++; - if (!this.aBoolean3355 == bool) { - this.aBoolean3355 = bool; - if (i >= -27) this.aClass60_3361 = null; - method2012(-23828); - } - } - - final void method2009(int i, byte i_21_) { - this.anInt3363 = i; - anInt3348++; - synchronized (this.aClass60_3360) { - this.aClass60_3360.method590(0); - } - synchronized (this.aClass60_3361) { - this.aClass60_3361.method590(0); - } - if (i_21_ < 94) anIntArray3347 = null; - synchronized (this.aClass60_3362) { - this.aClass60_3362.method590(0); - } - } - - final void method2010(int i, int i_22_) { - anInt3349++; - synchronized (aClass60_3350) { - aClass60_3350.method578(2, i); - } - synchronized (this.aClass60_3360) { - this.aClass60_3360.method578(i_22_ ^ ~0x2, i); - } - synchronized (this.aClass60_3361) { - this.aClass60_3361.method578(i_22_ ^ ~0x2, i); - } - synchronized (this.aClass60_3362) { - this.aClass60_3362.method578(2, i); - if (i_22_ != -1) method2013(null, (byte) 96); - } - } - - public static void method2011(byte i) { - anIntArray3347 = null; - if (i > -19) aCharArray3352 = null; - aCharArray3352 = null; - } - - final void method2012(int i) { - synchronized (aClass60_3350) { - aClass60_3350.method590(0); - } - anInt3356++; - synchronized (this.aClass60_3360) { - this.aClass60_3360.method590(0); - } - synchronized (this.aClass60_3361) { - this.aClass60_3361.method590(0); - } - synchronized (this.aClass60_3362) { - this.aClass60_3362.method590(0); - } - } - - static final void method2013(byte[] is, byte i) { - if (i != 112) method2007(84, 119, -100, null, 92, -110, 96, 62, 31, 11, 62); - anInt3357++; - Class348_Sub49 class348_sub49 = new Class348_Sub49(is); - for (; ; ) { - int i_23_ = class348_sub49.readUnsignedByte(255); - if (i_23_ == 0) break; - if (i_23_ == 1) { - int[] is_28_ = Class81.anIntArray1432 = new int[6]; - is_28_[0] = class348_sub49.readUnsignedShort(i + 842397832); - is_28_[1] = class348_sub49.readUnsignedShort(i + 842397832); - is_28_[2] = class348_sub49.readUnsignedShort(842397944); - is_28_[3] = class348_sub49.readUnsignedShort(842397944); - is_28_[4] = class348_sub49.readUnsignedShort(842397944); - is_28_[5] = class348_sub49.readUnsignedShort(842397944); - } else if (i_23_ == 4) { - int i_24_ = class348_sub49.readUnsignedByte(255); - RuntimeException_Sub1.anIntArray4603 = new int[i_24_]; - for (int i_25_ = 0; i_24_ > i_25_; i_25_++) { - RuntimeException_Sub1.anIntArray4603[i_25_] = class348_sub49.readUnsignedShort(842397944); - if (RuntimeException_Sub1.anIntArray4603[i_25_] == 65535) RuntimeException_Sub1.anIntArray4603[i_25_] = -1; - } - } else if (i_23_ == 5) { - int i_26_ = class348_sub49.readUnsignedByte(255); - Class239_Sub17.anIntArray6021 = new int[i_26_]; - for (int i_27_ = 0; i_27_ < i_26_; i_27_++) { - Class239_Sub17.anIntArray6021[i_27_] = class348_sub49.readUnsignedShort(842397944); - if (Class239_Sub17.anIntArray6021[i_27_] == 65535) Class239_Sub17.anIntArray6021[i_27_] = -1; - } - } - } - } - - final void method2014(int i, boolean bool) { - aClass60_3350 = new Class60(i); - anInt3358++; - if (bool != true) this.aClass60_3362 = null; - } - - Class263(Class230 class230, int i, boolean bool, Class45 class45, Class45 class45_29_) { - aClass60_3350 = new Class60(64); - this.aClass60_3360 = new Class60(500); - this.aClass60_3361 = new Class60(30); - this.aClass60_3362 = new Class60(50); - do { - try { - this.aBoolean3359 = bool; - this.aClass45_3345 = class45_29_; - aClass45_3343 = class45; - if (aClass45_3343 == null) break; - int i_30_ = aClass45_3343.method414(-1) + -1; - aClass45_3343.method407(0, i_30_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("uha.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class45 != null ? "{...}" : "null") + ',' + (class45_29_ != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - static { - for (int i = 0; i < 26; i++) - aCharArray3352[i] = (char) (65 + i); - for (int i = 26; i < 52; i++) - aCharArray3352[i] = (char) (97 + i - 26); - for (int i = 52; i < 62; i++) - aCharArray3352[i] = (char) (-52 + (i + 48)); - aCharArray3352[62] = '+'; - aCharArray3352[63] = '/'; - } -} diff --git a/client/src/Class264.java b/client/src/Class264.java deleted file mode 100644 index c5cb5280f..000000000 --- a/client/src/Class264.java +++ /dev/null @@ -1,122 +0,0 @@ -/* Class264 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class264 { - static int anInt3364; - private int anInt3365; - static int anInt3366; - static int anInt3367; - static Class114 aClass114_3368 = new Class114(112, 4); - static int anInt3369; - int anInt3370; - static Class114 aClass114_3371 = new Class114(63, 5); - static int anInt3372; - static int anInt3373 = 0; - static int anInt3374; - static int anInt3375; - static int anInt3376; - static int anInt3377; - static Class105[] aClass105Array3378; - - static final boolean method2015(int i, int i_0_, int i_1_) { - anInt3375++; - if (i_1_ != 7) return false; - return ((Class294.method2217(i_0_, i, i_1_ ^ 0x7) | Class348_Sub40_Sub3.method3056(115, i, i_0_) | Class348_Sub40_Sub9.method3073(i_0_, i, (byte) 50)) & Class161.method1258(i, -9301, i_0_)); - } - - final void method2016(int i, int i_2_) { - if (i != 15615) method2019((byte) 98); - anInt3365 = 0; - this.anInt3370 = i_2_; - anInt3377++; - } - - static final void method2017(int i, Class17 class17, int i_3_) { - anInt3367++; - if (Class147.anInt2021 < 50 && (class17 != null && class17.anIntArrayArray264 != null && (class17.anIntArrayArray264.length > i) && class17.anIntArrayArray264[i] != null)) { - int i_4_ = class17.anIntArrayArray264[i][0]; - int i_5_ = i_4_ >> 8; - if (class17.anIntArrayArray264[i].length > 1) { - int i_6_ = (int) (Math.random() * (double) (class17.anIntArrayArray264[i]).length); - if (i_6_ > 0) i_5_ = class17.anIntArrayArray264[i][i_6_]; - } - int i_7_ = 0x7 & i_4_ >> 5; - if (i_3_ > 8) { - int i_8_ = 256; - if (class17.anIntArray236 != null && class17.anIntArray265 != null) i_8_ = Class299_Sub1.method2257((class17.anIntArray265[i]), (class17.anIntArray236[i]), (byte) -125); - if (class17.aBoolean268) Class279.method2090(i_7_, i_8_, false, (byte) -35, 255, 0, i_5_); - else Class348_Sub20.method2947(true, 255, i_5_, i_7_, 0, i_8_); - } - } - } - - public static void method2018(int i) { - aClass105Array3378 = null; - aClass114_3371 = null; - aClass114_3368 = null; - if (i != 0) method2015(30, 1, -62); - } - - final int method2019(byte i) { - if (i >= -18) anInt3373 = 32; - anInt3369++; - return this.anInt3370 & 0x3fff; - } - - final boolean method2020(int i, int i_9_, int i_10_, byte i_11_) { - anInt3366++; - int i_12_ = anInt3365; - if (this.anInt3370 == i_9_ && anInt3365 == 0) return false; - if (i_11_ > -8) return true; - boolean bool; - if (anInt3365 == 0) { - if ((i_9_ > this.anInt3370 && i_9_ <= i_10_ + this.anInt3370) || (i_9_ < this.anInt3370 && (this.anInt3370 - i_10_ <= i_9_))) { - this.anInt3370 = i_9_; - return false; - } - bool = true; - } else if (anInt3365 > 0 && this.anInt3370 < i_9_) { - int i_13_ = anInt3365 * anInt3365 / (2 * i_10_); - int i_14_ = i_13_ + this.anInt3370; - bool = i_14_ < i_9_ && this.anInt3370 <= i_14_; - } else if (anInt3365 < 0 && i_9_ < this.anInt3370) { - int i_15_ = anInt3365 * anInt3365 / (2 * i_10_); - int i_16_ = this.anInt3370 - i_15_; - bool = i_9_ < i_16_ && i_16_ <= this.anInt3370; - } else bool = false; - if (bool) { - if (this.anInt3370 >= i_9_) { - anInt3365 -= i_10_; - if (i != 0 && anInt3365 < -i) anInt3365 = -i; - } else { - anInt3365 += i_10_; - if (i != 0 && i < anInt3365) anInt3365 = i; - } - if (i_12_ != anInt3365) { - int i_17_ = anInt3365 * anInt3365 / (2 * i_10_); - if (i_9_ > this.anInt3370) { - if (i_9_ < this.anInt3370 - -i_17_) anInt3365 = i_12_; - } else if (this.anInt3370 > i_9_ && i_9_ > this.anInt3370 - i_17_) anInt3365 = i_12_; - } - } else if (anInt3365 <= 0) { - anInt3365 += i_10_; - if (anInt3365 > 0) anInt3365 = 0; - } else { - anInt3365 -= i_10_; - if (anInt3365 < 0) anInt3365 = 0; - } - this.anInt3370 += anInt3365 + i_12_ >> 1; - return bool; - } - - final void method2021(byte i) { - anInt3364++; - this.anInt3370 &= 0x3fff; - if (i < 77) method2021((byte) 36); - } - - public Class264() { - /* empty */ - } -} diff --git a/client/src/Class265.java b/client/src/Class265.java deleted file mode 100644 index 58f640771..000000000 --- a/client/src/Class265.java +++ /dev/null @@ -1,72 +0,0 @@ -/* Class265 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class265 implements Interface1 { - private final Class120 aClass120_4687; - private Class105 aClass105_4688; - static Class74 aClass74_4689 = new Class74(2, 4); - static int anInt4690; - static int anInt4691; - static int[] anIntArray4692; - static boolean[][] aBooleanArrayArray4693 = {new boolean[4], new boolean[4], {false, false, true, false}, {false, false, true, false}, {false, false, true, false}, {false, false, true, false}, {true, false, true, false}, {true, false, false, true}, {true, false, false, true}, new boolean[4], new boolean[4], new boolean[4], new boolean[4]}; - private final Class45 aClass45_4694; - static int anInt4695; - static int anInt4696; - - public final void method7(int i) { - aClass105_4688 = Class369_Sub3_Sub1.method3577((aClass120_4687.anInt4912), (byte) 116, aClass45_4694); - if (i != 10286) aBooleanArrayArray4693 = null; - anInt4695++; - } - - static final Class50_Sub1 method2022(Class348_Sub49 class348_sub49, int i) { - if (i != 0) return null; - anInt4691++; - return new Class50_Sub1(class348_sub49.readShort(13638), class348_sub49.readShort(13638), class348_sub49.readShort(i + 13638), class348_sub49.readShort(13638), class348_sub49.readMedium(-1), class348_sub49.readMedium(-1), class348_sub49.readUnsignedByte(255)); - } - - public final void method9(byte i, boolean bool) { - anInt4696++; - if (i != -49) method2022(null, 101); - if (bool) { - int i_0_ = (Math.max(Class321.anInt4017, Class92.anInt1524)); - int i_1_ = (Math.max(Class348_Sub42_Sub8_Sub2.anInt10432, ha_Sub2.anInt7666)); - int i_2_ = aClass105_4688.method966(); - int i_3_ = aClass105_4688.method980(); - int i_4_ = 0; - int i_5_ = i_0_; - int i_6_ = i_0_ * i_3_ / i_2_; - int i_7_ = (i_1_ + -i_6_) / 2; - if (i_1_ < i_6_) { - i_6_ = i_1_; - i_5_ = i_1_ * i_2_ / i_3_; - i_7_ = 0; - i_4_ = (i_0_ - i_5_) / 2; - } - aClass105_4688.method973(i_4_, i_7_, i_5_, i_6_); - } - } - - public static void method2023(byte i) { - if (i > -13) aClass74_4689 = null; - aClass74_4689 = null; - anIntArray4692 = null; - aBooleanArrayArray4693 = null; - } - - Class265(Class45 class45, Class120 class120) { - try { - aClass45_4694 = class45; - aClass120_4687 = class120; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("uk.(" + (class45 != null ? "{...}" : "null") + ',' + (class120 != null ? "{...}" : "null") + ')')); - } - } - - public final boolean method8(byte i) { - int i_8_ = -105 % ((25 - i) / 52); - anInt4690++; - return aClass45_4694.method421(false, aClass120_4687.anInt4912); - } -} diff --git a/client/src/Class266.java b/client/src/Class266.java deleted file mode 100644 index 8c0ac1318..000000000 --- a/client/src/Class266.java +++ /dev/null @@ -1,21 +0,0 @@ -/* Class266 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class266 { - short aShort3379; - int anInt3380; - int anInt3381; - short aShort3382; - short aShort3383; - short aShort3384; - short aShort3385; - byte aByte3386; - int anInt3387; - int anInt3388 = 0; - int anInt3389; - - public Class266() { - /* empty */ - } -} diff --git a/client/src/Class267.java b/client/src/Class267.java deleted file mode 100644 index b014368b9..000000000 --- a/client/src/Class267.java +++ /dev/null @@ -1,151 +0,0 @@ -/* Class267 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class267 { - static int anInt3390; - static int anInt3391; - private final Class69 aClass69_3392; - static int anInt3393; - private int anInt3394 = 1; - static int anInt3395; - static Class267 aClass267_3396 = new Class267(Class69.aClass69_1195); - static int anInt3397; - private Interface7 anInterface7_3398; - static int anInt3399; - static int anInt3400; - static Class267 aClass267_3401 = new Class267(Class69.aClass69_1199); - static Class267 aClass267_3402 = new Class267(Class69.aClass69_1199); - static Class267 aClass267_3403 = new Class267(Class69.aClass69_1199); - static Class267 aClass267_3404 = new Class267(Class69.aClass69_1199); - static Class267 aClass267_3405 = new Class267(Class69.aClass69_1199); - static Class267 aClass267_3406 = new Class267(Class69.aClass69_1199); - static Class267 aClass267_3407 = new Class267(Class69.aClass69_1199); - static Class267 aClass267_3408 = new Class267(Class69.aClass69_1195); - static Class267 aClass267_3409 = new Class267(Class69.aClass69_1195); - static Class267 aClass267_3410 = new Class267(Class69.aClass69_1195); - static Class267 aClass267_3411 = new Class267(Class69.aClass69_1195); - static Class267 aClass267_3412 = new Class267(Class69.aClass69_1195); - static Class267 aClass267_3413 = new Class267(Class69.aClass69_1195); - static Class267 aClass267_3414 = new Class267(Class69.aClass69_1195); - static Class267 aClass267_3415 = new Class267(Class69.aClass69_1195); - static Class267 aClass267_3416 = new Class267(Class69.aClass69_1195); - static Class267 aClass267_3417 = new Class267(Class69.aClass69_1195); - static Class267 aClass267_3418 = new Class267(Class69.aClass69_1195); - static Class267 aClass267_3419 = new Class267(Class69.aClass69_1195); - static Class267 aClass267_3420 = new Class267(Class69.aClass69_1195); - static Class267 aClass267_3421 = new Class267(Class69.aClass69_1195); - static Class267 aClass267_3422 = new Class267(Class69.aClass69_1197); - static Class267 aClass267_3423 = new Class267(Class69.aClass69_1195); - static Class267 aClass267_3424 = new Class267(Class69.aClass69_1195); - static Class267 aClass267_3425 = new Class267(Class69.aClass69_1195); - static Class267 aClass267_3426 = new Class267(Class69.aClass69_1198); - static Class114 aClass114_3427 = new Class114(93, -2); - static int anInt3428 = -1; - - final int method2024(int i) { - if (i != -1) return 41; - anInt3390++; - return anInt3394; - } - - final void method2025(Interface7 interface7, boolean bool) { - anInt3399++; - if (bool != false) toString(); - if (interface7.method32(-15004) != aClass69_3392) throw new IllegalArgumentException(); - anInterface7_3398 = interface7; - } - - public static void method2026(int i) { - aClass267_3421 = null; - aClass267_3413 = null; - aClass267_3404 = null; - aClass267_3405 = null; - aClass267_3403 = null; - aClass267_3411 = null; - if (i == 23377) { - aClass267_3410 = null; - aClass267_3420 = null; - aClass267_3414 = null; - aClass267_3409 = null; - aClass267_3418 = null; - aClass267_3426 = null; - aClass267_3412 = null; - aClass267_3423 = null; - aClass267_3424 = null; - aClass267_3408 = null; - aClass267_3416 = null; - aClass267_3407 = null; - aClass267_3406 = null; - aClass267_3419 = null; - aClass267_3401 = null; - aClass267_3425 = null; - aClass267_3402 = null; - aClass267_3415 = null; - aClass267_3396 = null; - aClass114_3427 = null; - aClass267_3422 = null; - aClass267_3417 = null; - } - } - - public final String toString() { - anInt3400++; - throw new IllegalStateException(); - } - - final Interface7 method2027(int i) { - anInt3391++; - if (i <= 68) return null; - return anInterface7_3398; - } - - static final void method2028(int i, Class51 class51, int i_0_, ha var_ha, int i_1_, int i_2_) { - try { - anInt3395++; - Class218 class218 = Class2.aClass141_117.method1173((byte) 31, class51.anInt875); - if (class218.anInt2853 != -1) { - if (class51.aBoolean912) { - i_1_ += class51.anInt923; - i_1_ &= 0x3; - } else i_1_ = 0; - Class105 class105 = class218.method1596(i_1_, class51.aBoolean925, 82, var_ha); - if (class105 != null) { - int i_3_ = class51.anInt961; - int i_4_ = class51.anInt926; - int i_5_ = 60 % ((52 - i_2_) / 56); - if ((0x1 & i_1_) == 1) { - i_3_ = class51.anInt926; - i_4_ = class51.anInt961; - } - int i_6_ = class105.method966(); - int i_7_ = class105.method980(); - if (class218.aBoolean2854) { - i_7_ = i_4_ * 4; - i_6_ = i_3_ * 4; - } - if (class218.anInt2856 == 0) class105.method973(i, -((i_4_ + -1) * 4) + i_0_, i_6_, i_7_); - else class105.method970(i, i_0_ - 4 * (-1 + i_4_), i_6_, i_7_, 0, (class218.anInt2856 | ~0xffffff), 1); - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("up.C(" + i + ',' + (class51 != null ? "{...}" : "null") + ',' + i_0_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_1_ + ',' + i_2_ + ')')); - } - } - - static final Class267[] method2029(int i) { - if (i <= 99) return null; - anInt3393++; - return (new Class267[]{aClass267_3396, aClass267_3401, aClass267_3402, aClass267_3403, aClass267_3404, aClass267_3405, aClass267_3406, aClass267_3407, aClass267_3408, aClass267_3409, aClass267_3410, aClass267_3411, aClass267_3412, aClass267_3413, aClass267_3414, aClass267_3415, aClass267_3416, aClass267_3417, aClass267_3418, aClass267_3419, aClass267_3420, aClass267_3421, aClass267_3422, aClass267_3423, aClass267_3424, aClass267_3425, aClass267_3426}); - } - - final void method2030(int i, int i_8_) { - anInt3394 = i_8_; - anInt3397++; - if (i != 1) method2026(34); - } - - private Class267(Class69 class69) { - aClass69_3392 = class69; - } -} diff --git a/client/src/Class268.java b/client/src/Class268.java deleted file mode 100644 index f81689c38..000000000 --- a/client/src/Class268.java +++ /dev/null @@ -1,161 +0,0 @@ -/* Class268 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class268 { - int anInt3429; - private static short[] aShortArray3430 = {-1, -1, -1, -1, -1}; - static int anInt3431; - static int[] anIntArray3432 = new int[500]; - private final Class60 aClass60_3433 = new Class60(64); - static int anInt3434; - static int anInt3435; - static int anInt3436; - private static short[] aShortArray3437; - static boolean[] aBooleanArray3438; - static int anInt3439 = 16777215; - static int anInt3440; - static int anInt3441 = 0; - private final Class45 aClass45_3442; - static short[][] aShortArrayArray3443; - static int anInt3444; - static int anInt3445; - static int anInt3446; - int anInt3447 = 0; - static int anInt3448; - private static short[] aShortArray3449; - - static final long method2031(int i, String string) { - anInt3448++; - long l = 0L; - int i_0_ = string.length(); - for (int i_1_ = 0; i_1_ < i_0_; i_1_++) { - l *= 37L; - int i_2_ = string.charAt(i_1_); - if (i_2_ < 65 || i_2_ > 90) { - if (i_2_ >= 97 && i_2_ <= 122) l += 1 - (-i_2_ + 97); - else if (i_2_ >= 48 && i_2_ <= 57) l += i_2_ + 27 - 48; - } else l += 1 + (i_2_ + -65); - if (l >= 177917621779460413L) break; - } - if (i != -1994) aShortArrayArray3443 = null; - for (/**/; (l % 37L == 0 && l != 0); l /= 37L) { - /* empty */ - } - return l; - } - - final void method2032(int i, int i_3_) { - synchronized (aClass60_3433) { - aClass60_3433.method578(2, i); - if (i_3_ > -10) method2035(116, 38); - } - anInt3436++; - } - - final void method2033(byte i) { - anInt3434++; - synchronized (aClass60_3433) { - if (i != 46) method2037(-66); - aClass60_3433.method587(-94); - } - } - - final Class277 method2034(int i, boolean bool) { - if (bool != false) aShortArray3437 = null; - anInt3431++; - Class277 class277; - synchronized (aClass60_3433) { - class277 = (Class277) aClass60_3433.method583(i, 64); - } - if (class277 != null) return class277; - byte[] is; - synchronized (aClass45_3442) { - is = aClass45_3442.method410(-1860, 4, i); - } - class277 = new Class277(); - class277.anInt3573 = i; - class277.aClass268_3562 = this; - if (is != null) class277.method2070(true, new Class348_Sub49(is)); - class277.method2067(-4860); - synchronized (aClass60_3433) { - aClass60_3433.method582(class277, i, (byte) -111); - } - return class277; - } - - static final void method2035(int i, int i_4_) { - anInt3445++; - int i_5_ = Class367_Sub11.anInt7396 - Class348_Sub49_Sub1.anInt9751; - if (i_5_ >= 100) { - Class348_Sub40_Sub21.anInt9282 = 1; - Class9.anInt167 = Class318_Sub1_Sub5_Sub2.anInt10163 = -1; - } else { - int i_6_ = (int) Class76.aFloat1287; - if (i_6_ < Class348_Sub35.anInt6979 >> 8) i_6_ = Class348_Sub35.anInt6979 >> 8; - if (Class181.aBooleanArray2374[4] && Class255.anIntArray3273[4] - -128 > i_6_) i_6_ = Class255.anIntArray3273[4] + 128; - int i_7_ = 0x3fff & (int) Class314.aFloat3938 + Class195.anInt5016; - if (i_4_ != 0) method2031(-117, null); - Class17.method268(i_6_, -200 + (Class275.method2064((Class132.aPlayer_1907.x), Class355.anInt4372, 11219, (Class132.aPlayer_1907.y))), i_7_, Class192.anInt2578, i, -19360, Class130_Sub1.anInt5799, 3 * (i_6_ >> 3) + 600 << 2); - float f = (-((float) ((100 + -i_5_) * (100 - i_5_) * (-i_5_ + 100)) / 1000000.0F) + 1.0F); - Class286_Sub4.anInt6246 = (int) ((float) Class318_Sub1_Sub3_Sub2.anInt10047 + f * (float) (-Class318_Sub1_Sub3_Sub2.anInt10047 + Class286_Sub4.anInt6246)); - Class305.anInt3855 = (int) ((float) (-Class5_Sub3.anInt8368 + Class305.anInt3855) * f + (float) Class5_Sub3.anInt8368); - Class348_Sub42_Sub19.anInt9701 = (int) ((float) Class283.anInt3662 + (float) (Class348_Sub42_Sub19.anInt9701 - Class283.anInt3662) * f); - Class59_Sub2_Sub2.anInt8685 = (int) ((float) Class359.anInt4424 + f * (float) (-Class359.anInt4424 + Class59_Sub2_Sub2.anInt8685)); - int i_8_ = Class5.anInt4638 - Class253.anInt3253; - if (i_8_ <= 8192) { - if (i_8_ < -8192) i_8_ += 16384; - } else i_8_ -= 16384; - Class5.anInt4638 = (int) ((float) i_8_ * f + (float) Class253.anInt3253); - Class5.anInt4638 &= 0x3fff; - } - } - - public static void method2036(byte i) { - aShortArrayArray3443 = null; - aShortArray3437 = null; - if (i != 121) method2035(57, 35); - aShortArray3449 = null; - aShortArray3430 = null; - anIntArray3432 = null; - aBooleanArray3438 = null; - } - - final void method2037(int i) { - synchronized (aClass60_3433) { - aClass60_3433.method590(0); - } - anInt3440++; - } - - static final void method2038(int i) { - if (i <= -47) { - for (int i_9_ = 0; i_9_ < Class147.anInt2021; i_9_++) { - Class10 class10 = Class258_Sub2.aClass10Array8531[i_9_]; - if (class10.aByte180 == 3) { - if (class10.aClass348_Sub16_Sub5_176 == null) class10.anInt188 = -2147483648; - else Class348_Sub43.aClass348_Sub16_Sub4_7065.method2880(class10.aClass348_Sub16_Sub5_176); - } - } - anInt3446++; - } - } - - Class268(Class230 class230, int i, Class45 class45) { - try { - aClass45_3442 = class45; - this.anInt3429 = aClass45_3442.method407(0, 4); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("cb.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); - } - } - - static { - aShortArray3437 = new short[]{-1, -1, -1, -1, -1}; - anInt3444 = 13156520; - anInt3435 = -1; - aBooleanArray3438 = new boolean[100]; - aShortArray3449 = new short[]{6798, 8741, 25238, 4626, 4550}; - aShortArrayArray3443 = new short[][]{aShortArray3449, aShortArray3437, aShortArray3430}; - } -} diff --git a/client/src/Class269.java b/client/src/Class269.java deleted file mode 100644 index 5efafccde..000000000 --- a/client/src/Class269.java +++ /dev/null @@ -1,103 +0,0 @@ -/* Class269 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class269 { - static int anInt3450; - static int anInt3451; - Interface18_Impl1 anInterface18_Impl1_3452 = null; - static Class217 aClass217_3453; - private Interface18_Impl3[] anInterface18_Impl3Array3454; - Interface18_Impl1 anInterface18_Impl1_3455 = null; - static int anInt3456; - private final ha_Sub3 aHa_Sub3_3457; - boolean aBoolean3458; - Interface18_Impl3[] anInterface18_Impl3Array3459; - static int anInt3460; - static int anInt3461; - static float aFloat3462; - - final boolean method2039(int i) { - anInt3461++; - if (i < 81) this.anInterface18_Impl1_3452 = null; - if (!this.aBoolean3458) { - return this.anInterface18_Impl3Array3459 != null; - } - return this.anInterface18_Impl1_3452 != null; - } - - static final void method2040(int i, boolean bool) { - Class185.anInt2482 = i; - if (bool != true) aFloat3462 = -0.54794437F; - anInt3450++; - synchronized (Class342.aClass60_4254) { - Class342.aClass60_4254.method590(0); - } - } - - final boolean method2041(byte i) { - if (i < 42) aFloat3462 = 2.1357973F; - if (this.anInterface18_Impl1_3455 == null) { - if (Class262.anObject3331 == null) { - byte[] is = Class5_Sub2.method194(128, -1922, 8, 0.6F, 128, 4.0F, 4.0F, 0.5F, 16.0F, new Class186_Sub1(419684), 16); - Class262.anObject3331 = Class179.method1357(is, false, (byte) 87); - } - byte[] is = Class50_Sub1.method461(false, Class262.anObject3331, 53146732); - byte[] is_0_ = new byte[4 * is.length]; - int i_1_ = 0; - for (int i_2_ = 0; i_2_ < 16; i_2_++) { - int i_3_ = 128 * (i_2_ * 128); - int i_4_ = i_3_; - for (int i_5_ = 0; i_5_ < 128; i_5_++) { - int i_6_ = 128 * i_5_ + i_4_; - int i_7_ = (0x7f & -1 + i_5_) * 128 + i_4_; - int i_8_ = i_4_ + 128 * (0x7f & 1 + i_5_); - for (int i_9_ = 0; i_9_ < 128; i_9_++) { - float f = (float) ((is[i_9_ + i_7_] & 0xff) - (is[i_9_ + i_8_] & 0xff)); - float f_10_ = (float) ((0xff & is[(-1 + i_9_ & 0x7f) + i_6_]) - (0xff & is[i_6_ - -(i_9_ - -1 & 0x7f)])); - float f_11_ = (float) (128.0 / (Math.sqrt(f * f + (16384.0F + f_10_ * f_10_)))); - is_0_[i_1_++] = (byte) (int) (f_10_ * f_11_ + 127.0F); - is_0_[i_1_++] = (byte) (int) (128.0F * f_11_ + 127.0F); - is_0_[i_1_++] = (byte) (int) (f_11_ * f + 127.0F); - is_0_[i_1_++] = is[i_3_++]; - } - } - } - this.anInterface18_Impl1_3455 = aHa_Sub3_3457.method3872(16, 128, Class108.aClass304_1662, true, 128, is_0_); - } - anInt3456++; - return this.anInterface18_Impl1_3455 != null; - } - - public static void method2042(byte i) { - if (i == -67) aClass217_3453 = null; - } - - Class269(ha_Sub3 var_ha_Sub3) { - anInterface18_Impl3Array3454 = null; - this.anInterface18_Impl3Array3459 = null; - aHa_Sub3_3457 = var_ha_Sub3; - this.aBoolean3458 = aHa_Sub3_3457.aBoolean8159; - if (this.aBoolean3458 && !aHa_Sub3_3457.method3931(true, Class191.aClass304_2571, Class68.aClass68_1183)) this.aBoolean3458 = false; - if (this.aBoolean3458 || aHa_Sub3_3457.method3880(Class68.aClass68_1183, Class191.aClass304_2571, (byte) 123)) { - OutputStream_Sub1.method134((byte) -126); - if (this.aBoolean3458) { - byte[] is = Class50_Sub1.method461(false, Class355.anObject4366, 53146732); - this.anInterface18_Impl1_3452 = aHa_Sub3_3457.method3872(16, 128, Class191.aClass304_2571, true, 128, is); - is = Class50_Sub1.method461(false, Class227.anObject2969, 53146732); - aHa_Sub3_3457.method3872(16, 128, Class191.aClass304_2571, true, 128, is); - } else { - this.anInterface18_Impl3Array3459 = new Interface18_Impl3[16]; - for (int i = 0; i < 16; i++) { - byte[] is = Class173.method1331((byte) 100, Class355.anObject4366, 128 * (i * 128 * 2), 32768); - this.anInterface18_Impl3Array3459[i] = aHa_Sub3_3457.method3944(is, 128, Class191.aClass304_2571, 2, true, 128); - } - anInterface18_Impl3Array3454 = new Interface18_Impl3[16]; - for (int i = 0; i < 16; i++) { - byte[] is = Class173.method1331((byte) 120, Class227.anObject2969, 128 * (128 * i) * 2, 32768); - anInterface18_Impl3Array3454[i] = aHa_Sub3_3457.method3944(is, 128, Class191.aClass304_2571, 2, true, 128); - } - } - } - } -} diff --git a/client/src/Class27.java b/client/src/Class27.java deleted file mode 100644 index ac9a9f85b..000000000 --- a/client/src/Class27.java +++ /dev/null @@ -1,134 +0,0 @@ -/* Class27 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class27 { - static int anInt387; - static int anInt388 = 0; - static Class356 aClass356_389 = new Class356(4); - static int anInt390; - static int anInt391; - static int anInt392; - static int anInt393; - static int anInt394; - static Class351 aClass351_395 = new Class351(49, 6); - static int anInt396 = -1; - static int anInt397; - static Class351 aClass351_398 = new Class351(23, 8); - static Class341 aClass341_399 = new Class341(); - - static final void method312(int i, byte i_0_) { - Class48.anInt859 = -1; - if (i != 37) { - if (i != 50) { - if (i != 75) { - if (i != 100) { - if (i == 200) Class75.aFloat1249 = 16.0F; - } else Class75.aFloat1249 = 8.0F; - } else Class75.aFloat1249 = 6.0F; - } else Class75.aFloat1249 = 4.0F; - } else Class75.aFloat1249 = 3.0F; - anInt397++; - Class48.anInt859 = -1; - if (i_0_ != 56) anInt394 = 32; - } - - static final String method313(long l, int i) { - try { - anInt392++; - if (l <= 0L || l >= 6582952005840035281L) return null; - if (l % 37L == 0L) return null; - int i_1_ = 0; - for (long l_2_ = l; l_2_ != 0; l_2_ /= 37L) - i_1_++; - if (i >= -82) anInt396 = -58; - StringBuffer stringbuffer = new StringBuffer(i_1_); - while (l != 0) { - long l_3_ = l; - l /= 37L; - stringbuffer.append(Class48.aCharArray852[(int) (-(37L * l) + l_3_)]); - } - return stringbuffer.reverse().toString(); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "ht.A(" + l + ',' + i + ')'); - } - } - - static final void method314(byte i, int i_4_) { - if (i >= -31) anInt394 = -128; - Class34.anInt481 = i_4_; - Class367_Sub9.anInt7379 = 3; - anInt390++; - Class164.anInt2173 = 100; - Class348_Sub40_Sub30.anInt9399 = -1; - } - - static final int method315(byte i, String string) { - anInt393++; - int i_5_ = 0; - if (i <= 70) return -84; - for (/**/; i_5_ < Class59_Sub2.aStringArray5305.length; i_5_++) { - if (Class59_Sub2.aStringArray5305[i_5_].equalsIgnoreCase(string)) return i_5_; - } - return -1; - } - - public static void method316(byte i) { - aClass356_389 = null; - aClass351_398 = null; - aClass341_399 = null; - if (i != -94) method313(98L, -24); - aClass351_395 = null; - } - - static final void method317(String string, int i, boolean bool) { - anInt391++; - if (string != null) { - if (Class348_Sub42_Sub12.anInt9604 >= 100) Class59.method544((Class274.aClass274_3522.method2063(Class348_Sub33.anInt6967, 544)), false, 4); - else { - String string_6_ = Class285_Sub1.method2127(2, string); - if (string_6_ != null) { - for (int i_7_ = 0; (i_7_ < Class348_Sub42_Sub12.anInt9604); i_7_++) { - String string_8_ = Class285_Sub1.method2127(2, (Class51.aStringArray932[i_7_])); - if (string_8_ != null && string_8_.equals(string_6_)) { - Class59.method544((string + (Class274.aClass274_3523.method2063(Class348_Sub33.anInt6967, 544))), false, 4); - return; - } - if (Class348_Sub40_Sub21.aStringArray9275[i_7_] != null) { - String string_9_ = (Class285_Sub1.method2127(2, (Class348_Sub40_Sub21.aStringArray9275[i_7_]))); - if (string_9_ != null && string_9_.equals(string_6_)) { - Class59.method544(string + (Class274.aClass274_3523.method2063((Class348_Sub33.anInt6967), 544)), false, 4); - return; - } - } - } - if (i >= 90) { - for (int i_10_ = 0; i_10_ < Class348_Sub40_Sub30.anInt9383; i_10_++) { - String string_11_ = Class285_Sub1.method2127(2, (Class83.aStringArray1441[i_10_])); - if (string_11_ != null && string_11_.equals(string_6_)) { - Class59.method544(((Class274.aClass274_3528.method2063(Class348_Sub33.anInt6967, 544)) + string + (Class274.aClass274_3529.method2063(Class348_Sub33.anInt6967, 544))), false, 4); - return; - } - if (Class286_Sub2.aStringArray6205[i_10_] != null) { - String string_12_ = (Class285_Sub1.method2127(2, (Class286_Sub2.aStringArray6205[i_10_]))); - if (string_12_ != null && string_12_.equals(string_6_)) { - Class59.method544(((Class274.aClass274_3528.method2063(Class348_Sub33.anInt6967, 544)) + string + (Class274.aClass274_3529.method2063(Class348_Sub33.anInt6967, 544))), false, 4); - return; - } - } - } - if (Class285_Sub1.method2127(2, (Class132.aPlayer_1907.aString10544)).equals(string_6_)) Class59.method544((Class274.aClass274_3525.method2063(Class348_Sub33.anInt6967, 544)), false, 4); - else { - Class5.anInt4628++; - Class348_Sub47 class348_sub47 = (Class286_Sub3.method2148(Class348_Sub42_Sub19.aClass351_9687, Class348_Sub23_Sub2.aClass77_9029, -94)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, Class239_Sub6.method1745(string, -65) - -1); - class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, !bool ? 0 : 1); - Class348_Sub42_Sub14.method3243(-116, class348_sub47); - } - } - } - } - } - } -} diff --git a/client/src/Class270.java b/client/src/Class270.java deleted file mode 100644 index 7de8c4e22..000000000 --- a/client/src/Class270.java +++ /dev/null @@ -1,14 +0,0 @@ -/* Class270 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class270 { - Interface8 anInterface8_3463; - static int[] anIntArray3464 = new int[6]; - static int anInt3465; - - public static void method2043(boolean bool) { - if (bool != true) method2043(false); - anIntArray3464 = null; - } -} diff --git a/client/src/Class271.java b/client/src/Class271.java deleted file mode 100644 index 71b0f1eed..000000000 --- a/client/src/Class271.java +++ /dev/null @@ -1,48 +0,0 @@ -/* Class271 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class271 { - private final Class60 aClass60_3466 = new Class60(64); - static Class114 aClass114_3467 = new Class114(45, 8); - private final Class45 aClass45_3468; - static int anInt3469; - - final Class348_Sub42_Sub7 method2044(int i, int i_0_) { - anInt3469++; - Class348_Sub42_Sub7 class348_sub42_sub7; - synchronized (aClass60_3466) { - class348_sub42_sub7 = (Class348_Sub42_Sub7) aClass60_3466.method583(i_0_, -85); - } - if (class348_sub42_sub7 != null) return class348_sub42_sub7; - byte[] is; - synchronized (aClass45_3468) { - is = aClass45_3468.method410(-1860, 5, i_0_); - } - class348_sub42_sub7 = new Class348_Sub42_Sub7(); - if (i < 78) method2046(); - if (is != null) class348_sub42_sub7.method3192((byte) 16, new Class348_Sub49(is)); - synchronized (aClass60_3466) { - aClass60_3466.method582(class348_sub42_sub7, i_0_, (byte) -93); - } - return class348_sub42_sub7; - } - - public static void method2045(byte i) { - aClass114_3467 = null; - if (i != 62) method2046(); - } - - static final void method2046() { - Class71.aClass76_1208 = Class71.aClass76_1210; - } - - Class271(Class230 class230, int i, Class45 class45) { - try { - aClass45_3468 = class45; - aClass45_3468.method407(0, 5); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ut.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class272.java b/client/src/Class272.java deleted file mode 100644 index 94f14f7aa..000000000 --- a/client/src/Class272.java +++ /dev/null @@ -1,70 +0,0 @@ -/* Class272 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.IOException; -import java.net.Socket; - -abstract class Class272 { - int anInt3470; - static int anInt3471; - static int anInt3472; - static int anInt3473; - static int anInt3474; - static int[] anIntArray3475 = {1, 4, 1, 2}; - String aString3476; - - final Socket method2047(byte i) throws IOException { - anInt3472++; - if (i <= 84) anIntArray3475 = null; - return new Socket(this.aString3476, this.anInt3470); - } - - public static void method2048(int i) { - anIntArray3475 = null; - if (i != 1) anInt3473 = -69; - } - - static final void method2049(int i) { - anInt3474++; - if (i > 49) { - if (Class240.anInt4674 == 7) Class348_Sub40_Sub34.method3141(false, (byte) 11); - else { - Class213.aClass238_2773 = Class348_Sub40_Sub8.aClass238_9165; - Class348_Sub40_Sub8.aClass238_9165 = null; - Class348_Sub49.method3379(2, 13); - } - } - } - - public Class272() { - /* empty */ - } - - abstract Socket method2050(int i) throws IOException; - - static final void method2051(int i, int i_0_, Class221 class221, Class341 class341, int i_1_, int i_2_, int i_3_, byte i_4_, int i_5_, int i_6_, int i_7_, int i_8_) { - try { - Class95.aClass221_1542 = class221; - Class239_Sub3.anInt5871 = i_7_; - Class239_Sub27.aClass341_6128 = class341; - Class86.anInt1479 = i; - Class348_Sub7.aClass207_6643 = null; - Class295.anInt3762 = i_8_; - Class348_Sub40_Sub1.aClass207_9090 = null; - Class289.anInt3704 = i_3_; - Class20.anInt317 = i_5_; - anInt3471++; - Class269.anInt3451 = i_0_; - OutputStream_Sub1.anInt98 = i_2_; - Class290.anInt3712 = i_6_; - Class112.aClass207_1727 = null; - Class348_Sub32.anInt6938 = i_1_; - Class359.method3490(true); - int i_9_ = -77 % ((i_4_ - 29) / 34); - Class295.aBoolean3763 = true; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("uu.E(" + i + ',' + i_0_ + ',' + (class221 != null ? "{...}" : "null") + ',' + (class341 != null ? "{...}" : "null") + ',' + i_1_ + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ')')); - } - } -} diff --git a/client/src/Class272_Sub1.java b/client/src/Class272_Sub1.java deleted file mode 100644 index 9a7527cac..000000000 --- a/client/src/Class272_Sub1.java +++ /dev/null @@ -1,17 +0,0 @@ -/* Class272_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.IOException; -import java.net.Socket; - -final class Class272_Sub1 extends Class272 { - final Socket method2050(int i) throws IOException { - if (i > -100) return null; - return this.method2047((byte) 87); - } - - public Class272_Sub1() { - /* empty */ - } -} diff --git a/client/src/Class272_Sub2.java b/client/src/Class272_Sub2.java deleted file mode 100644 index a6d28934b..000000000 --- a/client/src/Class272_Sub2.java +++ /dev/null @@ -1,132 +0,0 @@ -/* Class272_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import sun.net.www.protocol.http.AuthenticationInfo; - -import java.io.BufferedReader; -import java.io.IOException; -import java.io.InputStreamReader; -import java.io.OutputStream; -import java.lang.reflect.Method; -import java.net.*; -import java.nio.charset.Charset; -import java.nio.charset.StandardCharsets; -import java.util.List; - -public final class Class272_Sub2 extends Class272 { - private final ProxySelector aProxySelector6172 = ProxySelector.getDefault(); - static Class aClass6173; - static Class aClass6174; - - private final Socket method2052(String string, int i, String string_0_) throws IOException { - Socket socket = new Socket(string, i); - socket.setSoTimeout(10000); - OutputStream outputstream = socket.getOutputStream(); - if (string_0_ != null) outputstream.write(("CONNECT " + this.aString3476 + ":" + this.anInt3470 + " HTTP/1.0\n" + string_0_ + "\n\n").getBytes(StandardCharsets.ISO_8859_1)); - else outputstream.write(("CONNECT " + this.aString3476 + ":" + this.anInt3470 + " HTTP/1.0\n\n").getBytes(StandardCharsets.ISO_8859_1)); - outputstream.flush(); - BufferedReader bufferedreader = new BufferedReader(new InputStreamReader(socket.getInputStream())); - String string_1_ = bufferedreader.readLine(); - if (string_1_ != null) { - if (string_1_.startsWith("HTTP/1.0 200") || string_1_.startsWith("HTTP/1.1 200")) return socket; - if (string_1_.startsWith("HTTP/1.0 407") || string_1_.startsWith("HTTP/1.1 407")) { - int i_2_ = 0; - string_1_ = bufferedreader.readLine(); - String string_3_ = "proxy-authenticate: "; - for (/**/; null != string_1_ && i_2_ < 50; string_1_ = bufferedreader.readLine()) { - if (string_1_.toLowerCase().startsWith(string_3_)) { - string_1_ = string_1_.substring(string_3_.length()).trim(); - int i_4_ = string_1_.indexOf(' '); - if (i_4_ != -1) string_1_ = string_1_.substring(0, i_4_); - throw new IOException_Sub1(string_1_); - } - i_2_++; - } - throw new IOException_Sub1(""); - } - } - outputstream.close(); - bufferedreader.close(); - socket.close(); - return null; - } - - final Socket method2050(int i) throws IOException { - boolean flag1; - boolean flag = Boolean.parseBoolean(System.getProperty("java.net.useSystemProxies")); - if (!flag) System.setProperty("java.net.useSystemProxies", "true"); - flag1 = anInt3470 == 443; - IOException_Sub1 ioexception_sub1; - Object[] aobj1; - int j; - if (i >= -100) return null; - List list; - List list1; - try { - list = aProxySelector6172.select(new URI((flag1 ? "https" : "http") + "://" + aString3476)); - list1 = aProxySelector6172.select(new URI((flag1 ? "http" : "https") + "://" + aString3476)); - } catch (URISyntaxException urisyntaxexception) { - return method2047((byte) 121); - } - list.addAll(list1); - Object[] aobj = list.toArray(); - ioexception_sub1 = null; - aobj1 = aobj; - j = 0; - - for (; j < aobj1.length; ++j) { - Object localObject2 = aobj1[j]; - - Proxy localProxy = (Proxy) localObject2; - try { - Socket localSocket = method2053(localProxy, (byte) 125); - if (localSocket != null) { - return localSocket; - } - } catch (IOException_Sub1 localIOException_Sub1) { - ioexception_sub1 = localIOException_Sub1; - } catch (IOException localIOException) { - } - } - if (ioexception_sub1 != null) throw ioexception_sub1; - else return method2047((byte) 92); - } - - private final Socket method2053(Proxy proxy, byte i) throws IOException { - if (proxy.type() == Proxy.Type.DIRECT) return method2047((byte) 126); - java.net.SocketAddress socketaddress = proxy.address(); - if (!(socketaddress instanceof InetSocketAddress)) return null; - InetSocketAddress inetsocketaddress = (InetSocketAddress) socketaddress; - if (i != 125) return null; - if (proxy.type() == Proxy.Type.HTTP) { - String string = null; - try { - Method method = (AuthenticationInfo.class.getDeclaredMethod("getProxyAuth", (aClass6173 == null ? aClass6173 = String.class : aClass6173), Integer.TYPE)); - method.setAccessible(true); - Object object = method.invoke(null, inetsocketaddress.getHostName(), new Integer(inetsocketaddress.getPort())); - if (null != object) { - Method method_14_ = (AuthenticationInfo.class.getDeclaredMethod("supportsPreemptiveAuthorization")); - method_14_.setAccessible(true); - if (((Boolean) method_14_.invoke(object, new Object[0])).booleanValue()) { - Method method_15_ = AuthenticationInfo.class.getDeclaredMethod("getHeaderName"); - method_15_.setAccessible(true); - Method method_16_ = (AuthenticationInfo.class.getDeclaredMethod("getHeaderValue", (aClass6174 == null ? aClass6174 = URL.class : aClass6174), (aClass6173 == null ? (aClass6173 = String.class) : aClass6173))); - method_16_.setAccessible(true); - String string_17_ = ((String) method_15_.invoke(object, new Object[0])); - String string_18_ = ((String) method_16_.invoke(object, (new Object[]{new URL("https://" + (this.aString3476) + "/"), "https"}))); - string = string_17_ + ": " + string_18_; - } - } - } catch (Exception exception) { - /* empty */ - } - return method2052(inetsocketaddress.getHostName(), inetsocketaddress.getPort(), string); - } else if (proxy.type() == Proxy.Type.SOCKS) { - Socket socket = new Socket(proxy); - socket.connect(new InetSocketAddress((this.aString3476), (this.anInt3470))); - return socket; - } - return null; - } -} diff --git a/client/src/Class273.java b/client/src/Class273.java deleted file mode 100644 index 8ebcdac48..000000000 --- a/client/src/Class273.java +++ /dev/null @@ -1,38 +0,0 @@ -/* Class273 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class273 implements Interface21 { - static int[] anIntArray5165 = {-1, -1, 1, 1}; - static int anInt5166; - int anInt5167; - static int anInt5168; - static Class173 aClass173_5169 = new Class173(); - - public static void method2055(int i) { - anIntArray5165 = null; - aClass173_5169 = null; - if (i != 1) anIntArray5165 = null; - } - - static final boolean method2056(int i, int i_0_, int i_1_) { - if (i_0_ < 80) method2055(17); - anInt5168++; - if (!Class146.method1193(i_1_, i, true)) return false; - if (Class122.method1087(12644, i_1_, i) | (i & 0xb000) != 0 | Class278.method2075(i, -128, i_1_)) return true; - return ((Class156.method1241(i_1_, i, -128) | Class239_Sub1.method1722(i, i_1_, (byte) 92)) & (0x37 & i_1_) == 0); - } - - static int method2057(int i, int i_2_) { - return i | i_2_; - } - - public final String toString() { - anInt5166++; - throw new IllegalStateException(); - } - - Class273(String string, int i) { - this.anInt5167 = i; - } -} diff --git a/client/src/Class274.java b/client/src/Class274.java deleted file mode 100644 index 2398ea25b..000000000 --- a/client/src/Class274.java +++ /dev/null @@ -1,396 +0,0 @@ -/* Class274 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class274 { - static int anInt3477; - static int anInt3478; - static int anInt3479; - static int anInt3480; - private final String[] aStringArray3481; - static int anInt3482; - static Class274 aClass274_3483 = (new Class274("This is the developer console. To close, press the `, \u00b2 or \u00a7 keys on your keyboard.", "Das ist die Entwicklerkonsole. Zum Schlie\u00dfen, die Tasten `, \u00b2 or \u00a7 dr\u00fccken.", "Ceci est la console de d\u00e9veloppement. Pour la fermer, appuyez sur les touches `, \u00b2 ou \u00a7.", "Este \u00e9 o painel de controle do desenvolvedor. Para fechar, pressione `, \u00b2 ou \u00a7.")); - static int anInt3484; - static Class274 aClass274_3485 = (new Class274("There was an error executing the command.", "Es gab einen Fehler beim Ausf\u00fchren des Befehls.", "Une erreur s'est produite lors de l'ex\u00e9cution de la commande.", "Houve um erro quando o comando foi executado.")); - static Class274 aClass274_3486 = new Class274("Unknown developer command: ", "Unbekannter Befehl: ", "Commande inconnue : ", "Comando desconhecido: "); - static Class274 aClass274_3487 = new Class274("Cancel", "Abbrechen", "Annuler", "Cancelar"); - static Class274 aClass274_3488; - static Class274 aClass274_3489; - static Class274 aClass274_3490; - static Class274 aClass274_3491; - static Class274 aClass274_3492; - static Class274 aClass274_3493; - static Class274 aClass274_3494; - static Class274 aClass274_3495; - static Class274 aClass274_3496; - static Class274 aClass274_3497; - static Class274 aClass274_3498; - static Class274 aClass274_3499; - static Class274 aClass274_3500; - static Class274 aClass274_3501; - static Class274 aClass274_3502; - static Class274 aClass274_3503; - static Class274 aClass274_3504; - static Class274 aClass274_3505; - static Class274 aClass274_3506; - static Class274 aClass274_3507; - static Class274 aClass274_3508; - static Class274 aClass274_3509; - static Class274 aClass274_3510; - static Class274 aClass274_3511; - static Class274 aClass274_3512; - static Class274 aClass274_3513; - static Class274 aClass274_3514; - static Class274 aClass274_3515; - static Class274 aClass274_3516; - static Class274 aClass274_3517; - static Class274 aClass274_3518; - static Class274 aClass274_3519; - static Class274 aClass274_3520; - static Class274 aClass274_3521; - static Class274 aClass274_3522; - static Class274 aClass274_3523; - static Class274 aClass274_3524; - static Class274 aClass274_3525; - static Class274 aClass274_3526; - static Class274 aClass274_3527; - static Class274 aClass274_3528; - static Class274 aClass274_3529; - static Class274 aClass274_3530; - static Class274 aClass274_3531; - static Class274 aClass274_3532; - static Class274 aClass274_3533; - static Class274 aClass274_3534; - static Class274 aClass274_3535; - static Class274 aClass274_3536; - static Class274 aClass274_3537; - static Class274 aClass274_3538; - static Class274 aClass274_3539; - static Class274 aClass274_3540; - static Class274 aClass274_3541; - static Class274 aClass274_3542; - static Class274 aClass274_3543; - static Class274 aClass274_3544; - static Class274 aClass274_3545; - static Class274 aClass274_3546; - static Class190 aClass190_3547; - - static final boolean method2058(int i, int i_0_, int i_1_) { - if (i_1_ <= 28) method2059(108); - anInt3478++; - return (0x18 & i) != 0 | (i & 0x220) == 544; - } - - public static void method2059(int i) { - aClass274_3523 = null; - aClass274_3530 = null; - aClass274_3533 = null; - aClass274_3509 = null; - aClass274_3503 = null; - aClass274_3500 = null; - aClass274_3537 = null; - aClass274_3504 = null; - aClass274_3505 = null; - aClass274_3540 = null; - aClass274_3514 = null; - aClass274_3515 = null; - aClass274_3531 = null; - aClass274_3543 = null; - if (i > -88) method2062((byte) -47); - aClass274_3542 = null; - aClass274_3501 = null; - aClass274_3519 = null; - aClass274_3522 = null; - aClass274_3485 = null; - aClass274_3483 = null; - aClass274_3488 = null; - aClass274_3496 = null; - aClass274_3497 = null; - aClass274_3526 = null; - aClass274_3538 = null; - aClass274_3487 = null; - aClass274_3507 = null; - aClass274_3493 = null; - aClass274_3520 = null; - aClass274_3511 = null; - aClass274_3490 = null; - aClass274_3532 = null; - aClass274_3508 = null; - aClass274_3541 = null; - aClass274_3492 = null; - aClass274_3517 = null; - aClass274_3499 = null; - aClass274_3498 = null; - aClass274_3529 = null; - aClass274_3516 = null; - aClass274_3502 = null; - aClass274_3544 = null; - aClass274_3518 = null; - aClass274_3528 = null; - aClass274_3510 = null; - aClass274_3513 = null; - aClass274_3489 = null; - aClass274_3491 = null; - aClass274_3494 = null; - aClass274_3524 = null; - aClass274_3486 = null; - aClass274_3525 = null; - aClass274_3521 = null; - aClass274_3512 = null; - aClass274_3534 = null; - aClass274_3536 = null; - aClass274_3539 = null; - aClass190_3547 = null; - aClass274_3545 = null; - aClass274_3535 = null; - aClass274_3506 = null; - aClass274_3527 = null; - aClass274_3495 = null; - aClass274_3546 = null; - } - - static final void method2060(byte i, boolean bool) { - if (i > -4) method2059(-6); - anInt3484++; - Class5_Sub3.anInt8374++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class348_Sub34.aClass351_6970, Class348_Sub23_Sub2.aClass77_9029, -109); - Class348_Sub42_Sub14.method3243(37, class348_sub47); - for (Class348_Sub41 class348_sub41 = (Class348_Sub41) Class125.aClass356_4915.method3484(0); class348_sub41 != null; class348_sub41 = (Class348_Sub41) Class125.aClass356_4915.method3482(0)) { - if (!class348_sub41.method2712((byte) 4)) { - class348_sub41 = (Class348_Sub41) Class125.aClass356_4915.method3484(0); - if (class348_sub41 == null) break; - } - if (class348_sub41.anInt7053 == 0) Class127_Sub1.method1118(true, bool, class348_sub41, 2533); - } - if (Class49.aClass46_4730 != null) { - Class251.method1916(-9343, Class49.aClass46_4730); - Class49.aClass46_4730 = null; - } - } - - static final void method2061(int i) { - Class348_Sub42_Sub15.aClass105_9658 = null; - Class348_Sub42_Sub15.aClass105_9659 = null; - Class174.aClass105_2309 = null; - Class341.aClass105Array4234 = null; - Class121.aClass105_1800 = null; - anInt3477++; - int i_2_ = 89 / ((-74 - i) / 42); - Class348_Sub5.aClass105_6627 = null; - OutputStream_Sub2.aClass105_106 = null; - Class309.aClass105_4808 = null; - Class110.aClass105_1706 = null; - } - - static final void method2062(byte i) { - if (Class147.aClass338Array2034 != null) { - for (int i_3_ = 0; i_3_ < Class239_Sub26.anInt6115; i_3_++) - Class147.aClass338Array2034[i_3_] = null; - Class147.aClass338Array2034 = null; - } - anInt3480++; - if (Class318_Sub1_Sub3_Sub4.aClass338Array10330 != null) { - for (int i_4_ = 0; i_4_ < Class69.anInt1200; i_4_++) - Class318_Sub1_Sub3_Sub4.aClass338Array10330[i_4_] = null; - Class318_Sub1_Sub3_Sub4.aClass338Array10330 = null; - } - if (Class294.aClass338Array5060 != null) { - for (int i_5_ = 0; i_5_ < Class348_Sub44.anInt7101; i_5_++) - Class294.aClass338Array5060[i_5_] = null; - Class294.aClass338Array5060 = null; - } - Class354.anIntArrayArrayArray4356 = null; - int i_6_ = 36 % ((-81 - i) / 38); - Class14.anIntArray5091 = null; - Class348_Sub42_Sub19.aClass338Array9700 = null; - Class306.anInt3872 = Class86.anInt1480 = -1; - } - - private Class274(String string, String string_7_, String string_8_, String string_9_) { - try { - aStringArray3481 = new String[]{string, string_7_, string_8_, string_9_}; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("va.(" + (string != null ? "{...}" : "null") + ',' + (string_7_ != null ? "{...}" : "null") + ',' + (string_8_ != null ? "{...}" : "null") + ',' + (string_9_ != null ? "{...}" : "null") + ')')); - } - } - - public final String toString() { - anInt3482++; - throw new IllegalStateException(); - } - - final String method2063(int i, int i_10_) { - if (i_10_ != 544) method2061(126); - anInt3479++; - return aStringArray3481[i]; - } - - static { - new Class274("#Player", "#Spieler", "#Joueur", "#Jogador"); - aClass274_3488 = new Class274("Members object", "Gegenstand f\u00fcr Mitglieder", "Objet d'abonn\u00e9s", "Objeto para membros"); - new Class274("Login to a members' server to use this object.", "Du musst auf einer Mitglieder-Welt sein, um diesen Gegenstand zu benutzen.", "Connectez-vous \u00e0 un serveur d'abonn\u00e9s pour utiliser cet objet.", "Acesse um servidor para membros para usar este objeto."); - new Class274("Swap this note at any bank for the equivalent item.", "Dieses Zertifikat kann in einer Bank entsprechend eingetauscht werden.", "\u00c9changez ce re\u00e7u contre l'objet correspondant dans la banque de votre choix.", "V\u00e1 a qualquer banco para trocar esta nota pelo objeto equivalente."); - aClass274_3489 = new Class274("Discard", "Ablegen", "Jeter", "Descartar"); - aClass274_3490 = new Class274("Take", "Nehmen", "Prendre", "Pegar"); - aClass274_3491 = new Class274("Drop", "Fallen lassen", "Poser", "Largar"); - new Class274("Ok", "Okay", "OK", "Ok"); - new Class274("Select", "Ausw\u00e4hlen", "S\u00e9lectionner", "Selecionar"); - aClass274_3492 = new Class274("Continue", "Weiter", "Continuer", "Continuar"); - new Class274("Invalid player name.", "Unzul\u00e4ssiger Charaktername!", "Nom de joueur incorrect.", "Nome de jogador inv\u00e1lido."); - new Class274("You can't report yourself!", "Du kannst dich nicht selbst melden!", "Vous ne pouvez pas vous signaler vous-m\u00eame !", "Voc\u00ea n\u00e3o pode denunciar a si pr\u00f3prio!"); - new Class274("You already sent an abuse report under 60 secs ago! Do not abuse this system!", "Du hast bereits vor weniger als 60 Sekunden einen Regelversto\u00df gemeldet!", "Vous avez d\u00e9j\u00e0 signal\u00e9 un abus il y a moins d'une minute ! N'abusez pas du syst\u00e8me !", "Voc\u00ea j\u00e1 enviou uma den\u00fancia de abuso h\u00e1 menos de um minuto. N\u00e3o abuse deste sistema!"); - new Class274(null, "Dieses System darf nicht missbraucht werden!", null, null); - new Class274("You cannot report that person for Staff Impersonation, they are Jagex Staff.", "Diese Person ist ein Jagex-Mitarbeiter!", "Cette personne est un membre du personnel de Jagex, vous ne pouvez pas la signaler pour abus d'identit\u00e9.", "Voc\u00ea n\u00e3o pode denunciar essa pessoa por tentar se passar por membro da equipe Jagex, pois ela faz parte da equipe."); - new Class274("You can spot a Jagex moderator by the gold crown next to their name.", "Jagex-Mitarbeiter haben eine goldene Krone neben ihrem Namen.", "Vous pouvez reconna\u00eetre les mod\u00e9rateurs Jagex \u00e0 la couronne dor\u00e9e en regard de leur nom.", "Os moderadores da Jagex s\u00e3o identificados por uma coroa dourada pr\u00f3xima ao \u007fnome."); - new Class274("You can report that person under a different rule.", "Diese Person kann bez\u00fcglich einer anderen Regel gemeldet werden.", "Vous pouvez signaler cette personne pour une autre infraction aux r\u00e8gles.", "Voc\u00ea n\u00e3o pode denunciar essa pessoa de acordo com uma regra diferente."); - new Class274("Thank-you, your abuse report has been received.", "Vielen Dank, deine Meldung ist bei uns eingegangen.", "Merci, nous avons bien re\u00e7u votre rapport d'abus.", "Obrigado. Sua den\u00fancia de abuso foi recebida."); - new Class274("Unable to send abuse report - system busy.", "Meldung konnte nicht gesendet werden - Systeme \u00fcberlastet", "Impossible de signaler un abus - Erreur syst\u00e8me", "Sistema ocupado. N\u00e3o foi poss\u00edvel enviar sua den\u00fancia de abuso."); - new Class274("Invalid name", "Unzul\u00e4ssiger Name!", "Nom incorrect", "Nome inv\u00e1lido"); - new Class274("To use this item please login to a members' server.", "Du musst auf einer Mitglieder-Welt sein, um diesen Gegenstand zu benutzen.", "Veuillez vous connecter \u00e0 un serveur d'abonn\u00e9s pour utiliser cet objet.", "Acesse um servidor para membros para usar este objeto."); - new Class274("To interact with this please login to a members' server.", "Logg dich auf einer Mitglieder-Welt ein, um damit zu interagieren.", "Veuillez vous connecter \u00e0 un serveur d'abonn\u00e9s pour cette interaction.", "Para interagir, acesse um servidor para membros."); - new Class274("Nothing interesting happens.", "Nichts Interessantes passiert.", "Il ne se passe rien d'int\u00e9ressant.", "Nada de interessante acontece."); - new Class274("You can't reach that.", "Da kommst du nicht hin.", "Vous ne pouvez pas l'atteindre.", "Voc\u00ea n\u00e3o consegue alcan\u00e7ar isso."); - new Class274("Invalid teleport!", "Unzul\u00e4ssiger Teleport!", "T\u00e9l\u00e9portation non valide !", "Teleporte inv\u00e1lido!"); - new Class274("To go here you must login to a members' server.", "Du musst auf einer Mitglieder-Welt sein, um dort hinzukommen.", "Vous devez vous connecter \u00e0 un serveur d'abonn\u00e9s pour aller \u00e0 cet endroit.", "Para entrar aqui, acesse um servidor para membros."); - new Class274("Unable to add friend - system busy.", "Der Freund konnte nicht hinzugef\u00fcgt werden, das System ist derzeit ausgelastet.", "Impossible d'ajouter un ami - syst\u00e8me occup\u00e9.", "N\u00e3o foi poss\u00edvel adicionar o amigo. O sistema est\u00e1 ocupado."); - new Class274("Unable to add friend - unknown player.", "Spieler konnte nicht hinzugef\u00fcgt werden - Spieler unbekannt.", "Impossible d'ajouter l'ami - joueur inconnu.", "N\u00e3o foi poss\u00edvel adicionar um amigo - jogador desconhecido."); - new Class274("Unable to add name - system busy.", "Der Name konnte nicht hinzugef\u00fcgt werden, das System ist derzeit ausgelastet.", "Impossible d'ajouter un nom - syst\u00e8me occup\u00e9.", "N\u00e3o foi poss\u00edvel adicionar o nome. O sistema est\u00e1 ocupado."); - new Class274("Unable to add name - unknown player.", "Name konnte nicht hinzugef\u00fcgt werden - Spieler unbekannt.", "Impossible d'ajouter le nom - joueur inconnu.", "N\u00e3o foi poss\u00edvel adicionar um nome - jogador desconhecido."); - aClass274_3493 = (new Class274("Your friends list is full, max of 200 for free users, and 200 for members.", "Ihre Freunde-Liste ist voll!", "Votre liste d'amis est pleine (200 noms maximum pour la version gratuite et 200 pour les abonn\u00e9s).", "Sua lista de amigos est\u00e1 cheia. O limite \u00e9 200 para usu\u00e1rios n\u00e3o pagantes, e 200 para membros.")); - aClass274_3494 = (new Class274(null, "Mitglieder k\u00f6nnen 200 Freunde hinzuf\u00fcgen, freie Spieler nur 200.", null, null)); - new Class274("Unable to delete friend - system busy.", "Der Freund konnte nicht entfernt werden, das System ist derzeit ausgelastet.", "Impossible de supprimer un ami - syst\u00e8me occup\u00e9.", "N\u00e3o foi poss\u00edvel excluir o amigo. O sistema est\u00e1 ocupado."); - new Class274("Unable to delete name - system busy.", "Name konnte nicht gel\u00f6scht werden - Systemfehler.", "Impossible d'effacer le nom - syst\u00e8me occup\u00e9.", "N\u00e3o foi poss\u00edvel deletar o nome - sistema ocupado."); - new Class274("Unable to send message - system busy.", "Deine Nachricht konnte nicht verschickt werden, das System ist derzeit ausgelastet.", "Impossible d'envoyer un message - syst\u00e8me occup\u00e9.", "N\u00e3o foi poss\u00edvel enviar a mensagem. O sistema est\u00e1 ocupado."); - new Class274("Unable to send message - player unavailable.", "Deine Nachricht konnte nicht verschickt werden,", "Impossible d'envoyer un message - joueur indisponible.", "N\u00e3o foi poss\u00edvel enviar a mensagem. O jogador n\u00e3o est\u00e1 dispon\u00edvel."); - new Class274(null, "der Spieler ist momentan nicht verf\u00fcgbar.", null, null); - new Class274("Unable to send message - player not on your friends list.", "Nachricht kann nicht geschickt werden,", "Impossible d'envoyer un message - joueur non inclus dans votre liste d'amis.", "N\u00e3o foi poss\u00edvel enviar a mensagem. O jogador n\u00e3o est\u00e1 na sua lista de amigos."); - new Class274(null, "Spieler nicht auf deiner Freunde-Liste.", null, null); - new Class274("You appear to be telling someone your password - please don't!", "Willst du jemandem dein Passwort verraten? Das darfst du nicht! Falls das", "Il semble que vous r\u00e9v\u00e9liez votre mot de passe \u00e0 quelqu'un - ne faites jamais \u00e7a !", "Parece que voc\u00ea est\u00e1 revelando sua senha a algu\u00e9m. N\u00e3o fa\u00e7a isso!"); - new Class274("If you are not, please change your password to something more obscure!", "nicht der Fall ist, \u00e4ndere dein Passwort zu einem ungew\u00f6hnlicheren Begriff!", "Si ce n'est pas le cas, remplacez votre mot de passe par une formule moins \u00e9vidente !", "Caso n\u00e3o esteja, altere sua senha para algo mais obscuro!"); - new Class274("Unable to send message - set your display name first by logging into the game.", "Nachricht konnte nicht gesendet werden. Bitte richte erst deinen Charakternamen ein, ", "Impossible d'envoyer le message - enregistrez un nom de personnage en vous connectant au jeu.", "N\u00e3o \u00e9 poss\u00edvel enviar a mensagem. Defina um nome de personagem antes, fazendo login no jogo."); - new Class274(null, "indem du dich ins Spiel einloggst.", null, null); - new Class274("For that rule you can only report players who have spoken or traded recently.", "Mit dieser Option k\u00f6nnen nur Spieler gemeldet werden,", "Cette r\u00e8gle n'est invocable que pour les discussions ou \u00e9changes r\u00e9cents.", "Para essa regra, voc\u00ea s\u00f3 pode denunciar jogadores com quem tenha falado ou negociado recentemente."); - new Class274(null, "die k\u00fcrzlich gesprochen oder gehandelt haben.", null, null); - new Class274("That player is offline, or has privacy mode enabled.", "Dieser Spieler ist offline oder hat den Privatsph\u00e4ren-Modus aktiviert.", "Ce joueur est d\u00e9connect\u00e9 ou en mode priv\u00e9.", "O jogador est\u00e1 offline ou est\u00e1 com o modo de privacidade ativado."); - new Class274("You cannot send a quick chat message to a player on this world at this time.", "Einem Spieler auf dieser Welt k\u00f6nnen derzeit keine Direktchat-Nachrichten", "Impossible d'envoyer un message rapide \u00e0 un joueur de ce serveur \u00e0 l'heure actuelle.", "Voc\u00ea n\u00e3o pode enviar uma mensagem de papo r\u00e1pido para um jogador neste mundo neste momento."); - new Class274(null, "geschickt werden.", null, null); - new Class274("This player is on a quick chat world and cannot receive your message.", "Der Spieler kann auf einer Direktchat-Welt keine Nachrichten empfangen.", "Ce joueur est sur un serveur \u00e0 messagerie rapide et ne peut pas recevoir votre message.", "Este jogador n\u00e3o pode receber sua mensagem porque est\u00e1 em um mundo de papo r\u00e1pido."); - new Class274("Chat disabled", "Deaktiviert", "Messagerie d\u00e9sactiv\u00e9e", "Bate-papo desativado"); - new Class274("clan_chat", "clanchat", "conversation_clan", "clan_chat"); - new Class274("You are not currently in a clan channel.", "Du befindest dich derzeit nicht in einem Chatraum.", "Vous n'\u00eates pas dans un canal de clan.", "No momento voc\u00ea n\u00e3o est\u00e1 em um canal de cl\u00e3."); - new Class274("You are not allowed to talk in this clan channel.", "Du darfst in diesem Chatraum nicht reden.", "Vous n'\u00eates pas autoris\u00e9 \u00e0 parler dans ce canal de clan.", "Voc\u00ea n\u00e3o tem permiss\u00e3o para conversar neste canal de cl\u00e3."); - new Class274("Error sending message to clan chat - please try again later!", "Fehler beim Versenden der Nachricht - bitte versuch es sp\u00e4ter erneut.", "Erreur lors de l'envoi du message au canal de clan - veuillez r\u00e9essayer ult\u00e9rieurement.", "Erro ao enviar mensagem ao canal de cl\u00e3. Tente de novo depois!"); - new Class274("Please wait until you are logged out of your previous channel.", "Bitte warte, bis du den vorherigen Chatraum verlassen hast.", "Veuillez attendre d'\u00eatre d\u00e9connect\u00e9(e) de votre canal pr\u00e9c\u00e9dent.", "Aguarde at\u00e9 se desconectar do canal anterior."); - new Class274("You are not currently in a channel.", "Du befindest dich derzeit nicht in einem Chatraum.", "Vous n'\u00eates dans aucun canal \u00e0 l'heure actuelle.", "No momento voc\u00ea n\u00e3o est\u00e1 em um canal."); - new Class274("Attempting to join channel...", "Chatraum wird betreten...", "Tentative de connexion au canal...", "Tentando acessar canal..."); - new Class274("Sending request to leave channel...", "Chatraum wird verlassen...", "Envoi de la demande de sortie du canal...", "Enviando solicita\u00e7\u00e3o para deixar o canal..."); - new Class274("Already attempting to join a channel - please wait...", "Du versuchst bereits, einem Chatraum beizutreten - bitte warte.", "Tentative de connexion au canal d\u00e9j\u00e0 en cours - veuillez patienter...", "J\u00e1 h\u00e1 uma tentativa de entrar em um canal. Aguarde..."); - new Class274("Leave request already in progress - please wait...", "Du versuchst bereits, einen Chatraum zu verlassen - bitte warte.", "Demande de sortie d\u00e9j\u00e0 effectu\u00e9e - veuillez patienter...", "Solicita\u00e7\u00e3o de sa\u00edda j\u00e1 em andamento. Aguarde..."); - new Class274("Invalid channel name entered!", "Ung\u00fcltiger Chatraum-Name angegeben.", "Nom de canal incorrect !", "Nome de canal inv\u00e1lido!"); - new Class274("Unable to join clan chat at this time - please try again later!", "Chatraum kann nicht betreten werden - bitte versuch es sp\u00e4ter erneut.", "Impossible de participer \u00e0 une discussion de clan pour le moment - veuillez r\u00e9essayer ult\u00e9rieurement.", "N\u00e3o foi poss\u00edvel entrar no bate-papo do cl\u00e3 dessa vez. Tente de novo depois!"); - new Class274("Now talking in clan channel ", "Chatraum: ", "Vous participez actuellement au canal de clan ", "Falando no canal do cl\u00e3 agora "); - new Class274("Now talking in clan channel of player: ", "Clanchat dieses Spieler beigetreten: ", "Vous participez actuellement au canal de clan du joueur : ", "Falando no canal do cl\u00e3 do jogador: "); - new Class274("To talk, start each line of chat with the / symbol.", "Leite eine Zeile mit / ein, um hier zu chatten.", "Pour parler, ins\u00e9rez le symbole / au d\u00e9but de chaque ligne.", "Para falar, comece cada linha de conversa com o s\u00edmbolo /."); - new Class274("Error joining clan channel - please try again later!", "Fehler beim Betreten des Chatraums - bitte versuch es sp\u00e4ter erneut.", "Erreur lors de la connexion au canal de clan - veuillez r\u00e9essayer ult\u00e9rieurement.", "Erro ao entrar no canal do cl\u00e3. Tente de novo depois!"); - new Class274("You are temporarily blocked from joining channels - please try again later!", "Du darfst derzeit keine Chatr\u00e4ume betreten - bitte versuch es sp\u00e4ter.", "Vous \u00eates temporairement exclu des canaux - veuillez r\u00e9essayer ult\u00e9rieurement.", "Voc\u00ea est\u00e1 temporariamente impedido de entrar em canais. Tente de novo depois!"); - new Class274("The channel you tried to join does not exist.", "Der von dir gew\u00fcnschte Chatraum existiert nicht.", "Le canal que vous essayez de rejoindre n'existe pas.", "O canal que voc\u00ea tentou acessar n\u00e3o existe."); - new Class274("The channel you tried to join is currently full.", "Der von dir gew\u00fcnschte Chatraum ist derzeit \u00fcberf\u00fcllt.", "Le canal que vous essayez de rejoindre est plein.", "O canal que voc\u00ea tentou acessar est\u00e1 cheio no momento."); - new Class274("You do not have a high enough rank to join this clan channel.", "Dein Rang reicht nicht aus, um diesen Chatraum zu betreten.", "Votre rang n'est pas assez \u00e9lev\u00e9 pour rejoindre ce canal de clan.", "Sua posi\u00e7\u00e3o n\u00e3o \u00e9 alta o suficiente para voc\u00ea entrar nesse canal de cl\u00e3."); - new Class274("You are temporarily banned from this clan channel.", "Du wurdest tempor\u00e4r aus diesem Chatraum verbannt.", "Vous \u00eates temporairement exclu de ce canal de clan.", "Voc\u00ea est\u00e1 temporariamente vetado de entrar nesse canal de cl\u00e3."); - new Class274("You are not allowed to join this user's clan channel.", "Du darfst den Chatraum dieses Benutzers nicht betreten.", "Vous n'\u00eates pas autoris\u00e9 \u00e0 rejoindre le canal de clan de cet utilisateur.", "Voc\u00ea n\u00e3o tem permiss\u00e3o para entrar no canal de cl\u00e3 desse usu\u00e1rio."); - new Class274(" joined the channel.", " hat den Chatraum betreten.", " a rejoint le canal.", " entrou no canal."); - new Class274(" left the channel.", " hat den Chatraum verlassen.", " a quitt\u00e9 le canal.", " deixou o canal."); - new Class274(" was kicked from the channel.", " wurde aus dem Chatraum rausgeworfen.", " a \u00e9t\u00e9 expuls\u00e9 du canal.", " foi expulso do canal."); - new Class274("You have been kicked from the channel.", "Du wurdest aus dem Chatraum rausgeworfen.", "Vous avez \u00e9t\u00e9 expuls\u00e9 du canal.", "Voc\u00ea foi expulso do canal."); - new Class274("You have been removed from this channel.", "Du wurdest aus dem Chatraum entfernt.", "Vous avez \u00e9t\u00e9 supprim\u00e9 de ce canal.", "Voc\u00ea foi retirado desse canal."); - new Class274("You have left the channel.", "Du hast den Chatraum verlassen.", "Vous avez quitt\u00e9 le canal.", "Voc\u00ea saiu do canal."); - new Class274("Your clan channel has now been enabled!", "Dein Chatraum ist jetzt eingeschaltet.", "Votre canal de clan est activ\u00e9 !", "Seu canal de cl\u00e3 j\u00e1 est\u00e1 ativado!"); - new Class274("Join your channel by clicking 'Join Chat' and typing: ", "Klick auf 'Betreten' und gib ein: ", "Pour rejoindre votre canal, cliquez sur \u00ab Participer \u00bb et entrez : ", "Para entrar no seu canal, clique em \"Acessar bate-papo\" e digite: "); - new Class274("Your clan channel has now been disabled!", "Dein Chatraum ist jetzt ausgeschaltet.", "Votre canal de clan est d\u00e9sactiv\u00e9.", "Seu canal de cl\u00e3 foi desativado!"); - new Class274("You do not have permission to kick users in this channel.", "Du darfst keine Benutzer aus diesem Chatraum rauswerfen.", "Vous n'\u00eates pas autoris\u00e9 \u00e0 expulser des utilisateurs de ce canal.", "Voc\u00ea n\u00e3o tem permiss\u00e3o para expulsar usu\u00e1rios neste canal."); - new Class274("You do not have permission to kick this user.", "Du darfst diesen Benutzer nicht rauswerfen.", "Vous n'\u00eates pas autoris\u00e9 \u00e0 expulser cet utilisateur.", "Voc\u00ea n\u00e3o tem permiss\u00e3o para expulsar este usu\u00e1rio."); - new Class274("That user is not in this channel.", "Dieser Benutzer befindet sich nicht in diesem Chatraum.", "Cet utilisateur n'est pas dans ce canal.", "Esse usu\u00e1rio n\u00e3o est\u00e1 no canal."); - new Class274("You have been temporarily muted due to breaking a rule.", "Aufgrund eines Regelversto\u00dfes wurdest du vor\u00fcbergehend stumm geschaltet.", "La messagerie instantan\u00e9e a \u00e9t\u00e9 temporairement bloqu\u00e9e suite \u00e0 une infraction.", "Voc\u00ea foi temporariamente vetado por ter violado uma regra."); - new Class274("This mute will remain for a further ", "Diese Stummschaltung gilt f\u00fcr weitere ", "Votre acc\u00e8s restera bloqu\u00e9 encore ", "Este veto permanecer\u00e1 por mais "); - new Class274(" days.", " Tage.", " jours.", " dias."); - new Class274("You will be un-muted within 24 hours.", "Du wirst innerhalb der n\u00e4chsten 24 Stunden wieder sprechen k\u00f6nnen.", "Vous aurez \u00e0 nouveau acc\u00e8s \u00e0 la messagerie instantan\u00e9e dans 24 heures.", "O veto ser\u00e1 retirado dentro de 24 horas."); - new Class274("To prevent further mutes please read the rules.", "Um eine erneute Stummschaltung zu verhindern, lies bitte die Regeln.", "Pour \u00e9viter un nouveau blocage, lisez le r\u00e8glement.", "Para evitar outros vetos, leia as regras."); - new Class274("You have been permanently muted due to breaking a rule.", "Du wurdest permanent stumm geschaltet, da du gegen eine Regel versto\u00dfen hast.", "L'acc\u00e8s \u00e0 la messagerie instantan\u00e9e vous a d\u00e9finitivement \u00e9t\u00e9 retir\u00e9 suite \u00e0 une infraction.", "Voc\u00ea foi permanentemente vetado por ter violado uma regra."); - aClass274_3495 = new Class274("Loading - please wait.", "Ladevorgang - bitte warte.", "Chargement en cours. Veuillez patienter.", "Carregando. Aguarde."); - aClass274_3496 = new Class274("Profiling...", "Profiling...", "Profilage...", "Profiling..."); - aClass274_3497 = new Class274("Connection lost.", "Verbindung abgebrochen.", "Connexion perdue.", "Conex\u00e3o perdida."); - aClass274_3498 = (new Class274("Please wait - attempting to reestablish.", "Bitte warte - es wird versucht, die Verbindung wiederherzustellen.", "Veuillez patienter - tentative de r\u00e9tablissement.", "Tentando reestabelecer conex\u00e3o. Aguarde.")); - aClass274_3499 = new Class274("Checking for updates - ", "Suche nach Updates - ", "V\u00e9rification des mises \u00e0 jour - ", "Verificando atualiza\u00e7\u00f5es - "); - aClass274_3500 = new Class274("Fetching Updates - ", "Lade Update - ", "Chargement des MAJ - ", "Carregando atualiza\u00e7\u00f5es - "); - new Class274("Loading config - ", "Lade Konfiguration - ", "Chargement des fichiers config - ", "Carregando config - "); - new Class274("Loaded config", "Konfig geladen.", "Fichiers config charg\u00e9s", "Config carregada"); - new Class274("Loading sprites - ", "Lade Sprites - ", "Chargement des sprites - ", "Carregando sprites - "); - new Class274("Loaded sprites", "Sprites geladen.", "Sprites charg\u00e9s", "Sprites carregados"); - new Class274("Loading wordpack - ", "Lade Wordpack - ", "Chargement du module texte - ", "Carregando pacote de palavras - "); - new Class274("Loaded wordpack", "Wordpack geladen.", "Module texte charg\u00e9", "Pacote de palavras carregado"); - new Class274("Loading interfaces - ", "Lade Benutzeroberfl\u00e4che - ", "Chargement des interfaces - ", "Carregando interfaces - "); - new Class274("Loaded interfaces", "Benutzeroberfl\u00e4che geladen.", "Interfaces charg\u00e9es", "Interfaces carregadas"); - new Class274("Loading interface scripts - ", "Lade Interface-Skripte - ", "Chargement des interfaces - ", "Carregando interfaces - "); - new Class274("Loaded interface scripts", "Interface-Skripte geladen", "Interfaces charg\u00e9es", "Interfaces carregadas"); - new Class274("Loading additional fonts - ", "Lade Zusatzschriftarten - ", "Chargement de polices secondaires - ", "Carregando fontes principais - "); - new Class274("Loaded additional fonts", "Zusatzschriftarten geladen", "Polices secondaires charg\u00e9es", "Fontes principais carregadas"); - new Class274("Loading world map - ", "Lade Weltkarte - ", "Chargement de la mappemonde - ", "Carregando mapa-m\u00fandi - "); - new Class274("Loaded world map", "Weltkarte geladen", "Mappemonde charg\u00e9e", "Mapa-m\u00fandi carregado"); - new Class274("Loading world list data", "Lade Liste der Welten", "Chargement de la liste des serveurs", "Carregando dados da lista de mundos"); - new Class274("Loaded world list data", "Liste der Welten geladen", "Liste des serveurs charg\u00e9e", "Dados da lista de mundos carregados"); - new Class274("Loaded client variable data", "Client-Variablen geladen", "Variables du client charg\u00e9es", "As vari\u00e1veis do sistema foram carregadas"); - aClass274_3501 = new Class274("Loading...", "Lade...", "Chargement en cours...", "Carregando..."); - new Class274("Please close the interface you have open before using 'Report Abuse'.", "Bitte schlie\u00df die momentan ge\u00f6ffnete Benutzeroberfl\u00e4che,", "Fermez l'interface que vous avez ouverte avant d'utiliser le bouton \u00ab Signaler un abus \u00bb.", "Feche a interface aberta antes de usar o recurso \"Denunciar abuso\"."); - new Class274(null, "bevor du die Option 'Regelversto\u00df melden' benutzt.", null, null); - new Class274("System update in: ", "System-Update in: ", "Mise \u00e0 jour syst\u00e8me dans : ", "Atualiza\u00e7\u00e3o do sistema em: "); - aClass274_3502 = new Class274(" has logged in.", " loggt sich ein.", " s'est connect\u00e9.", " entrou no jogo."); - aClass274_3503 = new Class274(" has logged out.", " loggt sich aus.", " s'est d\u00e9connect\u00e9.", " saiu do jogo."); - aClass274_3504 = new Class274("Unable to find ", "Spieler kann nicht gefunden werden: ", "Impossible de trouver ", "N\u00e3o \u00e9 poss\u00edvel encontrar "); - new Class274("Use", "Benutzen", "Utiliser", "Usar"); - aClass274_3505 = new Class274("Examine", "Untersuchen", "Examiner", "Examinar"); - aClass274_3506 = new Class274("Attack", "Angreifen", "Attaquer", "Atacar"); - aClass274_3507 = new Class274("Choose Option", "W\u00e4hl eine Option", "Choisir une option", "Selecionar op\u00e7\u00e3o"); - aClass274_3508 = new Class274(" more options", " weitere Optionen", " autres options", " mais op\u00e7\u00f5es"); - aClass274_3509 = new Class274("Walk here", "Hierhin gehen", "Atteindre", "Caminhar para c\u00e1"); - aClass274_3510 = new Class274("Face here", "Hierhin drehen", "Regarder dans cette direction", "Virar para c\u00e1"); - aClass274_3511 = new Class274("level: ", "Stufe: ", "niveau ", "n\u00edvel: "); - aClass274_3512 = new Class274("skill: ", "Fertigkeit: ", "comp\u00e9tence ", "habilidade: "); - aClass274_3513 = new Class274("rating: ", "Kampfstufe: ", "classement ", "qualifica\u00e7\u00e3o: "); - aClass274_3514 = new Class274("Please wait...", "Bitte warte...", "Veuillez patienter...", "Aguarde..."); - new Class274("Close", "Bitte schlie\u00df die momentan ge\u00f6ffnete Benutzeroberfl\u00e4che,", "Fermez l'interface que vous avez ouverte avant d'utiliser le bouton \u00ab Signaler un abus \u00bb.", "Feche a interface aberta antes de usar o recurso \"Denunciar abuso\"."); - aClass274_3515 = new Class274(" ", ": ", " ", " "); - aClass274_3516 = new Class274("M", "M", "M", "M"); - aClass274_3517 = new Class274("M", "M", "M", "M"); - aClass274_3518 = new Class274("K", "T", "K", "K"); - aClass274_3519 = new Class274("K", "T", "K", "K"); - new Class274("From", "Von:", "De", "De"); - aClass274_3520 = new Class274("Self", "Mich", "Moi", "Eu"); - aClass274_3521 = new Class274(" is already on your friends list.", " steht bereits auf deiner Freunde-Liste!", " est d\u00e9j\u00e0 dans votre liste d'amis.", " j\u00e1 est\u00e1 na sua lista de amigos."); - aClass274_3522 = (new Class274("Your ignore list is full. Max of 100 users.", "Deine Ignorieren-Liste ist voll, du kannst nur 100 Spieler darauf eintragen.", "Votre liste noire est pleine (100 noms maximum).", "Sua lista de ignorados est\u00e1 cheia. O limite \u00e9 100 usu\u00e1rios.")); - aClass274_3523 = new Class274(" is already on your ignore list.", " steht bereits auf deiner Ignorieren-Liste!", " est d\u00e9j\u00e0 dans votre liste noire.", " j\u00e1 est\u00e1 na sua lista de ignorados."); - aClass274_3524 = (new Class274("You can't add yourself to your own friends list.", "Du kannst dich nicht auf deine eigene Freunde-Liste setzen!", "Vous ne pouvez pas ajouter votre nom \u00e0 votre liste d'amis.", "Voc\u00ea n\u00e3o pode adicionar a si pr\u00f3prio \u00e0 sua lista de amigos.")); - aClass274_3525 = (new Class274("You can't add yourself to your own ignore list.", "Du kannst dich nicht auf deine eigene Ignorieren-Liste setzen!", "Vous ne pouvez pas ajouter votre nom \u00e0 votre liste noire.", "Voc\u00ea n\u00e3o pode adicionar a si pr\u00f3prio \u00e0 sua lista de ignorados.")); - new Class274("Changes will take effect on your clan in the next 60 seconds.", "Die \u00c4nderungen am Chatraum werden innerhalb von 60 Sekunden g\u00fcltig.", "Les modifications seront apport\u00e9es \u00e0 votre clan dans les prochaines 60 secondes.", "As altera\u00e7\u00f5es passar\u00e3o a valer no seu cl\u00e3 nos pr\u00f3ximos 60 segundos."); - aClass274_3526 = new Class274("Please remove ", "Bitte entferne ", "Veuillez commencer par supprimer ", "Remova "); - aClass274_3527 = new Class274(" from your ignore list first.", " zuerst von deiner Ignorieren-Liste!", " de votre liste noire.", " da sua lista de ignorados primeiro."); - aClass274_3528 = new Class274("Please remove ", "Bitte entferne ", "Veuillez commencer par supprimer ", "Remova "); - aClass274_3529 = new Class274(" from your friends list first.", " zuerst von deiner Freunde-Liste!", " de votre liste d'amis.", " da sua lista de amigos primeiro."); - aClass274_3530 = new Class274("yellow:", "gelb:", "jaune:", "amarelo:"); - aClass274_3531 = new Class274("red:", "rot:", "rouge:", "vermelho:"); - aClass274_3532 = new Class274("green:", "gr\u00fcn:", "vert:", "verde:"); - aClass274_3533 = new Class274("cyan:", "blaugr\u00fcn:", "cyan:", "cyan:"); - aClass274_3534 = new Class274("purple:", "lila:", "violet:", "roxo:"); - aClass274_3535 = new Class274("white:", "weiss:", "blanc:", "branco:"); - aClass274_3536 = new Class274("flash1:", "blinken1:", "clignotant1:", "flash1:"); - aClass274_3537 = new Class274("flash2:", "blinken2:", "clignotant2:", "flash2:"); - aClass274_3538 = new Class274("flash3:", "blinken3:", "clignotant3:", "brilho3:"); - aClass274_3539 = new Class274("glow1:", "leuchten1:", "brillant1:", "brilho1:"); - aClass274_3540 = new Class274("glow2:", "leuchten2:", "brillant2:", "brilho2:"); - aClass274_3541 = new Class274("glow3:", "leuchten3:", "brillant3:", "brilho3:"); - aClass274_3542 = new Class274("wave:", "welle:", "ondulation:", "onda:"); - aClass274_3543 = new Class274("wave2:", "welle2:", "ondulation2:", "onda2:"); - aClass274_3544 = new Class274("shake:", "sch\u00fctteln:", "tremblement:", "tremor:"); - aClass274_3545 = new Class274("scroll:", "scrollen:", "d\u00e9roulement:", "rolagem:"); - aClass274_3546 = new Class274("slide:", "gleiten:", "glissement:", "deslizamento:"); - } -} diff --git a/client/src/Class275.java b/client/src/Class275.java deleted file mode 100644 index 2adbceff2..000000000 --- a/client/src/Class275.java +++ /dev/null @@ -1,44 +0,0 @@ -/* Class275 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.util.Hashtable; - -final class Class275 { - static Hashtable aHashtable3548 = new Hashtable(); - static int anInt3549; - static int anInt3550; - static int[] anIntArray3551; - static int[] anIntArray3552 = new int[5]; - static int anInt3553; - - static final int method2064(int i, int i_0_, int i_1_, int i_2_) { - anInt3549++; - if (aa_Sub1.aSArray5191 == null) return 0; - int i_3_ = i >> 9; - int i_4_ = i_2_ >> 9; - if (i_3_ < 0 || i_4_ < 0 || i_3_ > -1 + Class367_Sub4.anInt7319 || (i_4_ > Class348_Sub40_Sub3.anInt9109 + -1)) return 0; - int i_5_ = i_0_; - if (i_5_ < 3 && (Class348_Sub33.aByteArrayArrayArray6962[1][i_3_][i_4_] & 0x2) != 0) i_5_++; - if (i_1_ != 11219) aHashtable3548 = null; - return aa_Sub1.aSArray5191[i_5_].method3986(i, i_2_, (byte) -113); - } - - public static void method2065(int i) { - anIntArray3552 = null; - anIntArray3551 = null; - aHashtable3548 = null; - if (i != 31913) anInt3550 = 52; - } - - static final boolean method2066(byte i) { - anInt3553++; - if (Class240.anInt4674 < 1) return false; - if (i < 101) method2065(66); - return true; - } - - static { - anIntArray3551 = new int[]{2047, 16383, 65535}; - } -} diff --git a/client/src/Class276.java b/client/src/Class276.java deleted file mode 100644 index 5e9578533..000000000 --- a/client/src/Class276.java +++ /dev/null @@ -1,25 +0,0 @@ -/* Class276 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class276 { - int[] anIntArray3554; - int anInt3555; - int[] anIntArray3556; - int anInt3557; - - Class276() { - Class348_Sub10.method2789(16); - this.anInt3555 = (Class348_Sub10.method2788() != 0 ? Class348_Sub10.method2789(4) + 1 : 1); - if (Class348_Sub10.method2788() != 0) Class348_Sub10.method2789(8); - Class348_Sub10.method2789(2); - if (this.anInt3555 > 1) this.anInt3557 = Class348_Sub10.method2789(4); - this.anIntArray3556 = new int[this.anInt3555]; - this.anIntArray3554 = new int[this.anInt3555]; - for (int i = 0; i < this.anInt3555; i++) { - Class348_Sub10.method2789(8); - this.anIntArray3556[i] = Class348_Sub10.method2789(8); - this.anIntArray3554[i] = Class348_Sub10.method2789(8); - } - } -} diff --git a/client/src/Class277.java b/client/src/Class277.java deleted file mode 100644 index 079f6aa6c..000000000 --- a/client/src/Class277.java +++ /dev/null @@ -1,92 +0,0 @@ -/* Class277 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class277 { - int anInt3558 = 64; - int anInt3559; - boolean aBoolean3560; - boolean aBoolean3561 = true; - Class268 aClass268_3562; - int anInt3563; - int anInt3564 = 8; - static int anInt3565; - boolean aBoolean3566; - static int anInt3567; - static Class137 aClass137_3568; - int anInt3569; - int anInt3570; - static int anInt3571; - static Class21 aClass21_3572 = new Class21(); - int anInt3573; - int anInt3574; - int anInt3575; - - final void method2067(int i) { - this.anInt3564 = (this.anInt3564 << 8 | this.anInt3573); - if (i != -4860) method2067(-102); - anInt3571++; - } - - static long method2068(long l, long l_0_) { - try { - return l | l_0_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "vd.D(" + l + ',' + l_0_ + ')'); - } - } - - private final void method2069(int i, Class348_Sub49 class348_sub49, int i_1_) { - anInt3567++; - if (i == -1) { - if (i_1_ != 1) { - if (i_1_ == 2) this.anInt3575 = class348_sub49.readUnsignedByte(255); - else if (i_1_ == 3) { - this.anInt3575 = class348_sub49.readUnsignedShort(842397944); - if (this.anInt3575 == 65535) this.anInt3575 = -1; - } else if (i_1_ != 5) { - if (i_1_ != 7) { - if (i_1_ == 8) this.aClass268_3562.anInt3447 = this.anInt3573; - else if (i_1_ == 9) this.anInt3570 = (class348_sub49.readUnsignedShort(842397944) << 2); - else if (i_1_ == 10) this.aBoolean3566 = false; - else if (i_1_ == 11) this.anInt3564 = class348_sub49.readUnsignedByte(255); - else if (i_1_ != 12) { - if (i_1_ != 13) { - if (i_1_ != 14) { - if (i_1_ == 16) this.anInt3574 = class348_sub49.readUnsignedByte(255); - } else this.anInt3558 = (class348_sub49.readUnsignedByte(255) << 2); - } else this.anInt3559 = class348_sub49.readMedium(-1); - } else this.aBoolean3560 = true; - } else this.anInt3569 = (Class348_Sub40_Sub34.method3140(-67, class348_sub49.readMedium(-1))); - } else this.aBoolean3561 = false; - } else this.anInt3563 = Class348_Sub40_Sub34.method3140(-57, class348_sub49.readMedium(-1)); - } - } - - final void method2070(boolean bool, Class348_Sub49 class348_sub49) { - if (bool != true) this.aBoolean3561 = false; - for (; ; ) { - int i = class348_sub49.readUnsignedByte(255); - if (i == 0) break; - method2069(-1, class348_sub49, i); - } - anInt3565++; - } - - public static void method2071(int i) { - aClass21_3572 = null; - aClass137_3568 = null; - if (i > -126) aClass21_3572 = null; - } - - public Class277() { - this.anInt3563 = 0; - this.aBoolean3566 = true; - this.aBoolean3560 = false; - this.anInt3569 = -1; - this.anInt3570 = 512; - this.anInt3559 = 1190717; - this.anInt3575 = -1; - this.anInt3574 = 127; - } -} diff --git a/client/src/Class278.java b/client/src/Class278.java deleted file mode 100644 index 78f1014d1..000000000 --- a/client/src/Class278.java +++ /dev/null @@ -1,152 +0,0 @@ -/* Class278 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class278 { - Class45 aClass45_3576; - private Class60 aClass60_3577 = new Class60(64); - Class230 aClass230_3578; - static int anInt3579; - static int anInt3580; - static int anInt3581; - static int anInt3582; - boolean aBoolean3583; - static int anInt3584; - private final Class45 aClass45_3585; - static int anInt3586; - static int anInt3587; - static int anInt3588; - static int anInt3589; - Class60 aClass60_3590 = new Class60(50); - static int anInt3591; - Class60 aClass60_3592 = new Class60(5); - int anInt3593; - - final void method2072(byte i, boolean bool) { - if (i >= 22) { - anInt3580++; - if (this.aBoolean3583 != bool) { - this.aBoolean3583 = bool; - method2078(-6080); - } - } - } - - final void method2073(int i, int i_0_) { - this.anInt3593 = i_0_; - anInt3591++; - synchronized (this.aClass60_3590) { - this.aClass60_3590.method590(0); - } - synchronized (this.aClass60_3592) { - this.aClass60_3592.method590(0); - } - if (i != -25032) method2079(-66, 101); - } - - final void method2074(int i) { - synchronized (this.aClass60_3590) { - this.aClass60_3590.method590(0); - } - if (i < -94) { - anInt3582++; - synchronized (this.aClass60_3592) { - this.aClass60_3592.method590(0); - } - } - } - - static final boolean method2075(int i, int i_1_, int i_2_) { - anInt3584++; - if (i_1_ > -125) anInt3581 = -110; - return (i & 0x100100) != 0; - } - - final void method2076(int i, boolean bool) { - anInt3589++; - synchronized (aClass60_3577) { - aClass60_3577.method578(2, i); - } - synchronized (this.aClass60_3590) { - this.aClass60_3590.method578(2, i); - } - if (bool != true) method2072((byte) 120, true); - synchronized (this.aClass60_3592) { - this.aClass60_3592.method578(2, i); - } - } - - static final boolean method2077(int i, int i_3_, int i_4_) { - int i_5_ = -75 % ((-43 - i) / 40); - anInt3588++; - return (i_4_ & 0x8000) != 0; - } - - final void method2078(int i) { - anInt3579++; - synchronized (aClass60_3577) { - if (i != -6080) this.aClass60_3590 = null; - aClass60_3577.method590(i + 6080); - } - synchronized (this.aClass60_3590) { - this.aClass60_3590.method590(i + 6080); - } - synchronized (this.aClass60_3592) { - this.aClass60_3592.method590(0); - } - } - - final Class79 method2079(int i, int i_6_) { - anInt3586++; - Class79 class79; - synchronized (aClass60_3577) { - class79 = (Class79) aClass60_3577.method583(i, -104); - } - if (class79 != null) return class79; - byte[] is; - synchronized (aClass45_3585) { - is = aClass45_3585.method410(i_6_ + -1859, Class115.method1060(i, (byte) 69), Class253.method1920(127, i)); - } - class79 = new Class79(); - class79.anInt1344 = i; - class79.aClass278_1348 = this; - if (is != null) class79.method798(111, new Class348_Sub49(is)); - class79.method799(-117); - synchronized (aClass60_3577) { - aClass60_3577.method582(class79, i, (byte) -102); - if (i_6_ != -1) aClass60_3577 = null; - } - return class79; - } - - final void method2080(int i) { - anInt3587++; - synchronized (aClass60_3577) { - aClass60_3577.method587(-118); - } - synchronized (this.aClass60_3590) { - this.aClass60_3590.method587(-100); - } - synchronized (this.aClass60_3592) { - this.aClass60_3592.method587(-107); - } - if (i <= 122) method2075(-125, -46, 9); - } - - Class278(Class230 class230, int i, boolean bool, Class45 class45, Class45 class45_7_) { - do { - try { - this.aBoolean3583 = bool; - aClass45_3585 = class45; - this.aClass45_3576 = class45_7_; - this.aClass230_3578 = class230; - if (aClass45_3585 == null) break; - int i_8_ = aClass45_3585.method414(-1) + -1; - aClass45_3585.method407(0, i_8_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("vda.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class45 != null ? "{...}" : "null") + ',' + (class45_7_ != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } -} diff --git a/client/src/Class279.java b/client/src/Class279.java deleted file mode 100644 index 60292f8ab..000000000 --- a/client/src/Class279.java +++ /dev/null @@ -1,314 +0,0 @@ -/* Class279 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; - -class Class279 { - static int anInt3594; - static int anInt3595; - static int anInt3596; - static int anInt3597; - static int anInt3598; - static int anInt3599; - static int anInt3600; - private final int anInt3601 = 32; - private long aLong3602; - int[] anIntArray3603; - private Class348_Sub16 aClass348_Sub16_3604; - static int anInt3605; - static int anInt3606; - static int anInt3607; - static int anInt3608; - static int anInt3609; - private boolean aBoolean3610 = false; - static int anInt3611; - static int anInt3612; - int anInt3613; - private long aLong3614; - private int anInt3615; - private int anInt3616; - private int anInt3617; - private long aLong3618; - private final Class348_Sub16[] aClass348_Sub16Array3619; - int anInt3620; - private final Class348_Sub16[] aClass348_Sub16Array3621; - private int anInt3622; - private boolean aBoolean3623; - private int anInt3624; - - int method2081() throws Exception { - anInt3605++; - return this.anInt3613; - } - - void method2082(int i) throws Exception { - anInt3607++; - } - - void method2083() throws Exception { - anInt3606++; - } - - final synchronized void method2084(int i) { - anInt3595++; - if (!aBoolean3610) { - long l = Class62.method599(-107); - try { - if (l > aLong3602 + 6000L) aLong3602 = -6000L + l; - if (i != -6858) anInt3616 = 114; - for (/**/; aLong3602 + 5000L < l; l = Class62.method599(-96)) { - method2089(256, (byte) -99); - aLong3602 += 256000 / Class22.anInt339; - } - } catch (Exception exception) { - aLong3602 = l; - } - if (this.anIntArray3603 != null) { - try { - if (aLong3614 != 0) { - if (aLong3614 > l) return; - method2082(this.anInt3613); - aBoolean3623 = true; - aLong3614 = 0L; - } - int i_0_ = method2081(); - if (-i_0_ + anInt3622 > anInt3624) anInt3624 = -i_0_ + anInt3622; - int i_1_ = this.anInt3620 - -anInt3616; - if (i_1_ - -256 > 16384) i_1_ = 16128; - if (256 + i_1_ > this.anInt3613) { - this.anInt3613 += 1024; - if (this.anInt3613 > 16384) this.anInt3613 = 16384; - method2091(); - method2082(this.anInt3613); - i_0_ = 0; - aBoolean3623 = true; - if (256 + i_1_ > this.anInt3613) { - i_1_ = this.anInt3613 + -256; - anInt3616 = -this.anInt3620 + i_1_; - } - } - for (/**/; i_0_ < i_1_; i_0_ += 256) { - method2086(this.anIntArray3603, 256); - method2094(); - } - if (l > aLong3618) { - if (!aBoolean3623) { - if (anInt3624 == 0 && anInt3617 == 0) { - method2091(); - aLong3614 = 2000L + l; - return; - } - anInt3616 = Math.min(anInt3617, anInt3624); - anInt3617 = anInt3624; - } else aBoolean3623 = false; - aLong3618 = l - -2000L; - anInt3624 = 0; - } - anInt3622 = i_0_; - } catch (Exception exception) { - method2091(); - aLong3614 = 2000L + l; - } - } - } - } - - private final void method2085(int i, Class348_Sub16 class348_sub16, int i_2_) { - anInt3597++; - int i_3_ = i_2_ >> 5; - if (i != -1846918107) method2088(true, null); - Class348_Sub16 class348_sub16_4_ = aClass348_Sub16Array3621[i_3_]; - if (class348_sub16_4_ != null) class348_sub16_4_.aClass348_Sub16_6785 = class348_sub16; - else aClass348_Sub16Array3619[i_3_] = class348_sub16; - aClass348_Sub16Array3621[i_3_] = class348_sub16; - class348_sub16.anInt6786 = i_2_; - } - - private final void method2086(int[] is, int i) { - int i_5_ = i; - if (Class282.aBoolean3652) i_5_ <<= 1; - Class214.method1573(is, 0, i_5_); - anInt3615 -= i; - if (aClass348_Sub16_3604 != null && anInt3615 <= 0) { - anInt3615 += Class22.anInt339 >> 4; - Class348_Sub15.method2814(aClass348_Sub16_3604, 112); - method2085(-1846918107, aClass348_Sub16_3604, aClass348_Sub16_3604.method2820()); - int i_6_ = 0; - int i_7_ = 255; - int i_8_ = 7; - while_88_: - while (i_7_ != 0) { - int i_9_; - int i_10_; - if (i_8_ < 0) { - i_9_ = i_8_ & 0x3; - i_10_ = -(i_8_ >> 2); - } else { - i_9_ = i_8_; - i_10_ = 0; - } - for (int i_11_ = i_7_ >>> i_9_ & 0x11111111; i_11_ != 0; i_11_ >>>= 4) { - if ((i_11_ & 0x1) != 0) { - i_7_ &= ~(1 << i_9_); - Class348_Sub16 class348_sub16 = null; - Class348_Sub16 class348_sub16_12_ = aClass348_Sub16Array3619[i_9_]; - while (class348_sub16_12_ != null) { - Class348_Sub19 class348_sub19 = (class348_sub16_12_.aClass348_Sub19_6787); - if (class348_sub19 != null && (class348_sub19.anInt6824 > i_10_)) { - i_7_ |= 1 << i_9_; - class348_sub16 = class348_sub16_12_; - class348_sub16_12_ = (class348_sub16_12_.aClass348_Sub16_6785); - } else { - class348_sub16_12_.aBoolean6784 = true; - int i_13_ = class348_sub16_12_.method2821(); - i_6_ += i_13_; - if (class348_sub19 != null) class348_sub19.anInt6824 += i_13_; - if (i_6_ >= anInt3601) break while_88_; - Class348_Sub16 class348_sub16_14_ = class348_sub16_12_.method2816(); - if (class348_sub16_14_ != null) { - int i_15_ = (class348_sub16_12_.anInt6786); - for (/**/; class348_sub16_14_ != null; class348_sub16_14_ = class348_sub16_12_.method2818()) - method2085(-1846918107, class348_sub16_14_, (i_15_ * class348_sub16_14_.method2820() >> 8)); - } - Class348_Sub16 class348_sub16_16_ = (class348_sub16_12_.aClass348_Sub16_6785); - class348_sub16_12_.aClass348_Sub16_6785 = null; - if (class348_sub16 == null) aClass348_Sub16Array3619[i_9_] = class348_sub16_16_; - else class348_sub16.aClass348_Sub16_6785 = class348_sub16_16_; - if (class348_sub16_16_ == null) aClass348_Sub16Array3621[i_9_] = class348_sub16; - class348_sub16_12_ = class348_sub16_16_; - } - } - } - i_9_ += 4; - i_10_++; - } - i_8_--; - } - for (int i_17_ = 0; i_17_ < 8; i_17_++) { - Class348_Sub16 class348_sub16 = aClass348_Sub16Array3619[i_17_]; - aClass348_Sub16Array3619[i_17_] = aClass348_Sub16Array3621[i_17_] = null; - Class348_Sub16 class348_sub16_18_; - for (/**/; class348_sub16 != null; class348_sub16 = class348_sub16_18_) { - class348_sub16_18_ = (class348_sub16.aClass348_Sub16_6785); - class348_sub16.aClass348_Sub16_6785 = null; - } - } - } - if (anInt3615 < 0) anInt3615 = 0; - if (aClass348_Sub16_3604 != null) aClass348_Sub16_3604.method2817(is, 0, i); - aLong3602 = Class62.method599(-102); - } - - final synchronized void method2087(int i) { - aBoolean3623 = true; - anInt3599++; - try { - if (i >= -110) aLong3602 = -66L; - method2083(); - } catch (Exception exception) { - method2091(); - aLong3614 = 2000L + Class62.method599(-96); - } - } - - final synchronized void method2088(boolean bool, Class348_Sub16 class348_sub16) { - if (bool != false) method2085(0, null, 69); - aClass348_Sub16_3604 = class348_sub16; - anInt3600++; - } - - private final void method2089(int i, byte i_19_) { - anInt3611++; - anInt3615 -= i; - if (anInt3615 < 0) anInt3615 = 0; - if (aClass348_Sub16_3604 != null) aClass348_Sub16_3604.method2819(i); - if (i_19_ > -75) method2090(13, 6, true, (byte) 40, 67, -121, -107); - } - - static final void method2090(int i, int i_20_, boolean bool, byte i_21_, int i_22_, int i_23_, int i_24_) { - if ((bool ? Class316.aClass348_Sub51_3959.aClass239_Sub26_7215.method1838(-32350) : Class316.aClass348_Sub51_3959.aClass239_Sub26_7272.method1838(-32350)) != 0 && i != 0 && Class147.anInt2021 < 50 && i_24_ != -1) - Class258_Sub2.aClass10Array8531[Class147.anInt2021++] = new Class10(!bool ? (byte) 2 : (byte) 3, i_24_, i, i_23_, i_22_, 0, i_20_, null); - if (i_21_ == -35) anInt3608++; - } - - void method2091() { - anInt3598++; - } - - static final void method2092(int i, int i_25_, int[] is, int i_26_, Object[] objects) { - try { - int i_27_ = -92 / ((i_26_ - -55) / 57); - if (i_25_ < i) { - int i_28_ = (i + i_25_) / 2; - int i_29_ = i_25_; - int i_30_ = is[i_28_]; - is[i_28_] = is[i]; - is[i] = i_30_; - Object object = objects[i_28_]; - objects[i_28_] = objects[i]; - objects[i] = object; - int i_31_ = i_30_ != 2147483647 ? 1 : 0; - for (int i_32_ = i_25_; i_32_ < i; i_32_++) { - if (is[i_32_] < (i_31_ & i_32_) + i_30_) { - int i_33_ = is[i_32_]; - is[i_32_] = is[i_29_]; - is[i_29_] = i_33_; - Object object_34_ = objects[i_32_]; - objects[i_32_] = objects[i_29_]; - objects[i_29_++] = object_34_; - } - } - is[i] = is[i_29_]; - is[i_29_] = i_30_; - objects[i] = objects[i_29_]; - objects[i_29_] = object; - method2092(-1 + i_29_, i_25_, is, 9, objects); - method2092(i, i_29_ - -1, is, -127, objects); - } - anInt3594++; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("cba.K(" + i + ',' + i_25_ + ',' + (is != null ? "{...}" : "null") + ',' + i_26_ + ',' + (objects != null ? "{...}" : "null") + ')')); - } - } - - final synchronized void method2093(boolean bool) { - anInt3609++; - if (Class183.aClass250_2462 != null) { - boolean bool_35_ = true; - for (int i = 0; i < 2; i++) { - if (Class183.aClass250_2462.aClass279Array3218[i] == this) Class183.aClass250_2462.aClass279Array3218[i] = null; - if (Class183.aClass250_2462.aClass279Array3218[i] != null) bool_35_ = false; - } - if (bool_35_) { - Class183.aClass250_2462.aBoolean3221 = true; - while (Class183.aClass250_2462.aBoolean3223) Class286_Sub5.method2161((byte) 68, 50L); - Class183.aClass250_2462 = null; - } - } - method2091(); - this.anIntArray3603 = null; - aBoolean3610 = bool; - } - - void method2094() throws Exception { - anInt3612++; - } - - void method2095(Component component) throws Exception { - anInt3596++; - } - - public Class279() { - aLong3602 = Class62.method599(-99); - aLong3614 = 0L; - aLong3618 = 0L; - anInt3615 = 0; - anInt3617 = 0; - aClass348_Sub16Array3621 = new Class348_Sub16[8]; - aBoolean3623 = true; - anInt3622 = 0; - aClass348_Sub16Array3619 = new Class348_Sub16[8]; - anInt3624 = 0; - } -} diff --git a/client/src/Class279_Sub1.java b/client/src/Class279_Sub1.java deleted file mode 100644 index 153fc8626..000000000 --- a/client/src/Class279_Sub1.java +++ /dev/null @@ -1,81 +0,0 @@ -/* Class279_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import javax.sound.sampled.*; -import java.awt.*; - -final class Class279_Sub1 extends Class279 { - private int anInt6175; - private byte[] aByteArray6176; - private SourceDataLine aSourceDataLine6177; - private boolean aBoolean6178 = false; - private AudioFormat anAudioFormat6179; - static Class aClass6180; - - final void method2091() { - if (null != aSourceDataLine6177) { - aSourceDataLine6177.close(); - aSourceDataLine6177 = null; - } - } - - final void method2082(int i) throws LineUnavailableException { - try { - DataLine.Info info = (new DataLine.Info((aClass6180 == null ? (aClass6180 = SourceDataLine.class) : aClass6180), anAudioFormat6179, i << (Class282.aBoolean3652 ? 2 : 1))); - aSourceDataLine6177 = (SourceDataLine) AudioSystem.getLine(info); - aSourceDataLine6177.open(); - aSourceDataLine6177.start(); - anInt6175 = i; - } catch (LineUnavailableException lineunavailableexception) { - if (1 == Class286_Sub4.method2155(i, (byte) 43)) { - aSourceDataLine6177 = null; - throw lineunavailableexception; - } else method2082(Class33.method340(i, (byte) 108)); - } - } - - final void method2095(Component component) { - Mixer.Info[] infos = AudioSystem.getMixerInfo(); - if (null != infos) { - Mixer.Info[] infos_0_ = infos; - for (int i = 0; i < infos_0_.length; i++) { - Mixer.Info info = infos_0_[i]; - if (info != null) { - String string = info.getName(); - if (null != string && string.toLowerCase().indexOf("soundmax") >= 0) aBoolean6178 = true; - } - } - } - anAudioFormat6179 = new AudioFormat((float) Class22.anInt339, 16, Class282.aBoolean3652 ? 2 : 1, true, false); - aByteArray6176 = new byte[256 << (!Class282.aBoolean3652 ? 1 : 2)]; - } - - final int method2081() { - return anInt6175 - (aSourceDataLine6177.available() >> (Class282.aBoolean3652 ? 2 : 1)); - } - - final void method2083() throws LineUnavailableException { - aSourceDataLine6177.flush(); - if (aBoolean6178) { - aSourceDataLine6177.close(); - aSourceDataLine6177 = null; - DataLine.Info info = (new DataLine.Info((aClass6180 == null ? (aClass6180 = SourceDataLine.class) : aClass6180), anAudioFormat6179, anInt6175 << (!Class282.aBoolean3652 ? 1 : 2))); - aSourceDataLine6177 = (SourceDataLine) AudioSystem.getLine(info); - aSourceDataLine6177.open(); - aSourceDataLine6177.start(); - } - } - - final void method2094() { - int i = 256; - if (Class282.aBoolean3652) i <<= 1; - for (int i_1_ = 0; i_1_ < i; i_1_++) { - int i_2_ = this.anIntArray3603[i_1_]; - if ((i_2_ + 8388608 & ~0xffffff) != 0) i_2_ = 0x7fffff ^ i_2_ >> 31; - aByteArray6176[i_1_ * 2] = (byte) (i_2_ >> 8); - aByteArray6176[i_1_ * 2 + 1] = (byte) (i_2_ >> 16); - } - aSourceDataLine6177.write(aByteArray6176, 0, i << 1); - } -} diff --git a/client/src/Class279_Sub2.java b/client/src/Class279_Sub2.java deleted file mode 100644 index 6157bc1ea..000000000 --- a/client/src/Class279_Sub2.java +++ /dev/null @@ -1,44 +0,0 @@ -/* Class279_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; - -final class Class279_Sub2 extends Class279 { - private final int anInt6181; - private static Interface20 anInterface20_6182; - - final void method2083() { - anInterface20_6182.method77((byte) 98, anInt6181); - } - - final int method2081() { - return anInterface20_6182.method75((byte) -93, anInt6181); - } - - public static void method2097() { - anInterface20_6182 = null; - } - - final void method2091() { - anInterface20_6182.method74(anInt6181, (byte) 122); - } - - final void method2095(Component component) throws Exception { - anInterface20_6182.method78(Class22.anInt339, Class282.aBoolean3652, component, 27929); - } - - final void method2094() { - anInterface20_6182.method76(anInt6181, this.anIntArray3603); - } - - Class279_Sub2(Class297 class297, int i) { - anInterface20_6182 = (Interface20) class297.method2244(21); - anInt6181 = i; - } - - final void method2082(int i) throws Exception { - if (i > 32768) throw new IllegalArgumentException(); - anInterface20_6182.method79(i, anInt6181, (byte) 112); - } -} diff --git a/client/src/Class28.java b/client/src/Class28.java deleted file mode 100644 index fe295b854..000000000 --- a/client/src/Class28.java +++ /dev/null @@ -1,48 +0,0 @@ -/* Class28 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class28 implements Interface15 { - static int anInt4996; - static Class223 aClass223_4997 = new Class223(6, 1); - static Class114 aClass114_4998; - static int anInt4999 = 0; - static String aString5000 = null; - static String aString5001 = null; - static boolean aBoolean5002 = false; - - public Class28() { - /* empty */ - } - - public final String method54(int i, long l, Class138 class138, int[] is) { - try { - anInt4996++; - if (Class234.aClass138_3044 == class138) { - Class117 class117 = Class348_Sub7.aClass33_6653.method337(true, is[0]); - return class117.method1074((int) l, 91); - } - if (Class299_Sub1.aClass138_6321 == class138 || za.aClass138_7274 == class138) { - Class213 class213 = Exception_Sub1.aClass255_112.method1940(i + -99, (int) l); - return class213.aString2795; - } - if (i != 1) method54(85, -41L, null, null); - if (class138 == Class348_Sub42_Sub5.aClass138_9530 || class138 == Class348_Sub49_Sub1.aClass138_9748 || Class71.aClass138_1213 == class138) return Class348_Sub7.aClass33_6653.method337(true, is[0]).method1074((int) l, i ^ 0x48); - return null; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("hu.A(" + i + ',' + l + ',' + (class138 != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ')')); - } - } - - public static void method318(int i) { - aString5001 = null; - aString5000 = null; - int i_0_ = 74 / ((i - 58) / 49); - aClass223_4997 = null; - aClass114_4998 = null; - } - - static { - aClass114_4998 = new Class114(59, 3); - } -} diff --git a/client/src/Class280.java b/client/src/Class280.java deleted file mode 100644 index c0fdf23fe..000000000 --- a/client/src/Class280.java +++ /dev/null @@ -1,448 +0,0 @@ -/* Class280 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaclib.memory.Buffer; -import jaclib.memory.Stream; - -final class Class280 { - static int anInt3625; - private int anInt3626; - private final int[] anIntArray3627 = new int[64]; - static int anInt3628; - static int anInt3629; - private final Interface5_Impl1 anInterface5_Impl1_3630; - private int[] anIntArray3631; - private final Class318_Sub9_Sub2[][] aClass318_Sub9_Sub2ArrayArray3632; - static int anInt3633; - static int anInt3634; - private final Interface5_Impl2 anInterface5_Impl2_3635; - private final int[] anIntArray3636; - private final Class130 aClass130_3637; - private final Interface5_Impl1 anInterface5_Impl1_3638; - static int anInt3639; - static int anInt3640; - static Class114 aClass114_3641 = new Class114(79, 3); - private Class318_Sub9_Sub2[][] aClass318_Sub9_Sub2ArrayArray3642; - static int anInt3643 = 0; - - private final void method2098(ha_Sub3 var_ha_Sub3, int i, int i_0_) { - anInt3629++; - Class59_Sub1.aFloat5299 = var_ha_Sub3.aFloat8093; - int i_1_ = 75 % ((2 - i) / 34); - var_ha_Sub3.method3867((float) i_0_, -86); - var_ha_Sub3.method3857((byte) 92); - var_ha_Sub3.method3865(false, 36); - var_ha_Sub3.method3946(-32, false); - var_ha_Sub3.method3942(5); - } - - private final void method2099(int i, ha_Sub3 var_ha_Sub3) { - anInt3628++; - var_ha_Sub3.method3946(i + -26358, true); - var_ha_Sub3.method3865(true, 54); - if (i != 26326) anIntArray3631 = null; - if (Class59_Sub1.aFloat5299 != var_ha_Sub3.aFloat8093) var_ha_Sub3.xa(Class59_Sub1.aFloat5299); - } - - final void method2100(byte i, ha_Sub3 var_ha_Sub3) { - anInterface5_Impl1_3638.method20(786336, (byte) 123, 24); - int i_2_ = -125 / ((i - 65) / 49); - anInt3625++; - } - - final void method2101(ha_Sub3 var_ha_Sub3, Class98 class98, int i, int i_3_) { - try { - anInt3633++; - if (var_ha_Sub3.aClass101_Sub2_8080 != null) { - if (i >= 0) method2098(var_ha_Sub3, -121, i); - else method2103((byte) -33, var_ha_Sub3); - float f = (var_ha_Sub3.aClass101_Sub2_8080.aFloat5736); - float f_4_ = (var_ha_Sub3.aClass101_Sub2_8080.aFloat5691); - float f_5_ = (var_ha_Sub3.aClass101_Sub2_8080.aFloat5716); - float f_6_ = (var_ha_Sub3.aClass101_Sub2_8080.aFloat5724); - try { - int i_7_ = 0; - int i_8_ = 2147483647; - int i_9_ = i_3_; - Class318_Sub9 class318_sub9 = (class98.aClass88_1569.aClass318_Sub9_1503); - for (Class318_Sub9 class318_sub9_10_ = (class318_sub9.aClass318_Sub9_6469); class318_sub9 != class318_sub9_10_; class318_sub9_10_ = (class318_sub9_10_.aClass318_Sub9_6469)) { - Class318_Sub9_Sub2 class318_sub9_sub2 = (Class318_Sub9_Sub2) class318_sub9_10_; - int i_11_ = (int) ((float) (class318_sub9_sub2.anInt8791 >> 12) * f + f_4_ * (float) ((class318_sub9_sub2.anInt8796) >> 12) + (float) (class318_sub9_sub2.anInt8789 >> 12) * f_5_ + f_6_); - if (i_9_ < i_11_) i_9_ = i_11_; - anIntArray3631[i_7_++] = i_11_; - if (i_8_ > i_11_) i_8_ = i_11_; - } - int i_12_ = -i_8_ + i_9_; - int i_13_; - if (2 + i_12_ > 1600) { - i_13_ = (Class299.method2253(i_12_, i_3_ + 119) + 1 + -Class169.anInt2265); - i_12_ = 2 + (i_12_ >> i_13_); - } else { - i_13_ = 0; - i_12_ += 2; - } - Class318_Sub9 class318_sub9_14_ = class318_sub9.aClass318_Sub9_6469; - i_7_ = 0; - int i_15_ = -2; - boolean bool = true; - boolean bool_16_ = true; - while (class318_sub9_14_ != class318_sub9) { - anInt3626 = 0; - for (int i_17_ = 0; i_12_ > i_17_; i_17_++) - anIntArray3636[i_17_] = 0; - for (int i_18_ = 0; i_18_ < 64; i_18_++) - anIntArray3627[i_18_] = 0; - for (/**/; class318_sub9_14_ != class318_sub9; class318_sub9_14_ = (class318_sub9_14_.aClass318_Sub9_6469)) { - Class318_Sub9_Sub2 class318_sub9_sub2 = (Class318_Sub9_Sub2) class318_sub9_14_; - if (bool_16_) { - bool = class318_sub9_sub2.aBoolean8794; - i_15_ = class318_sub9_sub2.anInt8792; - bool_16_ = false; - } - if (i_7_ > 0 && (i_15_ != class318_sub9_sub2.anInt8792 || !bool != !(class318_sub9_sub2.aBoolean8794))) { - bool_16_ = true; - break; - } - int i_19_ = -i_8_ + anIntArray3631[i_7_++] >> i_13_; - if (i_19_ < 1600) { - if (anIntArray3636[i_19_] < 64) aClass318_Sub9_Sub2ArrayArray3632[i_19_][anIntArray3636[i_19_]++] = class318_sub9_sub2; - else { - if (anIntArray3636[i_19_] == 64) { - if (anInt3626 == 64) continue; - anIntArray3636[i_19_] += anInt3626++ + 1; - } - aClass318_Sub9_Sub2ArrayArray3642[-65 + anIntArray3636[i_19_]][anIntArray3627[(anIntArray3636[i_19_] + -65)]++] = class318_sub9_sub2; - } - } - } - var_ha_Sub3.method3814(false, false, i_15_ >= 0 ? i_15_ : -1, (byte) 117); - if (bool && (Class59_Sub1.aFloat5299 != var_ha_Sub3.aFloat8093)) var_ha_Sub3.xa(Class59_Sub1.aFloat5299); - else if (var_ha_Sub3.aFloat8093 != 1.0F) var_ha_Sub3.xa(1.0F); - method2102(false, var_ha_Sub3, i_12_); - } - } catch (Exception exception) { - /* empty */ - } - method2099(i_3_ ^ 0x66d6, var_ha_Sub3); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ve.G(" + (var_ha_Sub3 != null ? "{...}" : "null") + ',' + (class98 != null ? "{...}" : "null") + ',' + i + ',' + i_3_ + ')')); - } - } - - private final void method2102(boolean bool, ha_Sub3 var_ha_Sub3, int i) { - anInt3640++; - if (bool != false) method2098(null, 21, -85); - int i_20_ = 0; - Class101_Sub2 class101_sub2 = var_ha_Sub3.method3948(-22036); - float f = class101_sub2.aFloat5711; - float f_21_ = class101_sub2.aFloat5700; - float f_22_ = class101_sub2.aFloat5704; - float f_23_ = class101_sub2.aFloat5708; - float f_24_ = class101_sub2.aFloat5722; - float f_25_ = class101_sub2.aFloat5732; - float f_26_ = f_23_ + f; - float f_27_ = f_21_ + f_24_; - float f_28_ = f_22_ + f_25_; - float f_29_ = f - f_23_; - float f_30_ = f_21_ - f_24_; - float f_31_ = -f_25_ + f_22_; - float f_32_ = f_23_ - f; - float f_33_ = -f_21_ + f_24_; - float f_34_ = -f_22_ + f_25_; - Buffer buffer = anInterface5_Impl1_3638.method19(true, 26775); - if (buffer != null) { - Stream stream = var_ha_Sub3.method3893(buffer, 9179); - if (Stream.c()) { - for (int i_58_ = i + -1; i_58_ >= 0; i_58_--) { - int i_59_ = (Math.min(anIntArray3636[i_58_], 64)); - if (i_59_ > 0) { - for (int i_60_ = i_59_ + -1; i_60_ >= 0; i_60_--) { - Class318_Sub9_Sub2 class318_sub9_sub2 = (aClass318_Sub9_Sub2ArrayArray3632[i_58_][i_60_]); - int i_61_ = (class318_sub9_sub2.anInt8790); - byte i_62_ = (byte) (i_61_ >> 16); - byte i_63_ = (byte) (i_61_ >> 8); - byte i_64_ = (byte) i_61_; - byte i_65_ = (byte) (i_61_ >>> 24); - float f_66_ = (float) (class318_sub9_sub2.anInt8791 >> 12); - float f_67_ = (float) (class318_sub9_sub2.anInt8796 >> 12); - float f_68_ = (float) (class318_sub9_sub2.anInt8789 >> 12); - int i_69_ = ((class318_sub9_sub2.anInt8793) >> 12); - stream.a(f_26_ * (float) -i_69_ + f_66_); - stream.a(f_67_ + f_27_ * (float) -i_69_); - stream.a(f_68_ + (float) -i_69_ * f_28_); - if (var_ha_Sub3.anInt8178 != 0) stream.a(i_62_, i_63_, i_64_, i_65_); - else stream.b(i_62_, i_63_, i_64_, i_65_); - stream.a(0.0F); - stream.a(0.0F); - stream.a(f_29_ * (float) i_69_ + f_66_); - stream.a((float) i_69_ * f_30_ + f_67_); - stream.a(f_68_ + f_31_ * (float) i_69_); - if (var_ha_Sub3.anInt8178 != 0) stream.a(i_62_, i_63_, i_64_, i_65_); - else stream.b(i_62_, i_63_, i_64_, i_65_); - stream.a(1.0F); - stream.a(0.0F); - stream.a(f_66_ + f_26_ * (float) i_69_); - stream.a(f_67_ + f_27_ * (float) i_69_); - stream.a(f_28_ * (float) i_69_ + f_68_); - if (var_ha_Sub3.anInt8178 != 0) stream.a(i_62_, i_63_, i_64_, i_65_); - else stream.b(i_62_, i_63_, i_64_, i_65_); - stream.a(1.0F); - stream.a(1.0F); - stream.a(f_66_ + f_32_ * (float) i_69_); - stream.a(f_67_ + f_33_ * (float) i_69_); - stream.a(f_68_ + f_34_ * (float) i_69_); - if (var_ha_Sub3.anInt8178 != 0) stream.a(i_62_, i_63_, i_64_, i_65_); - else stream.b(i_62_, i_63_, i_64_, i_65_); - stream.a(0.0F); - i_20_++; - stream.a(1.0F); - } - if (anIntArray3636[i_58_] > 64) { - int i_70_ = anIntArray3636[i_58_] - 65; - for (int i_71_ = -1 + anIntArray3627[i_70_]; i_71_ >= 0; i_71_--) { - Class318_Sub9_Sub2 class318_sub9_sub2 = (aClass318_Sub9_Sub2ArrayArray3642[i_70_][i_71_]); - int i_72_ = (class318_sub9_sub2.anInt8790); - byte i_73_ = (byte) (i_72_ >> 16); - byte i_74_ = (byte) (i_72_ >> 8); - byte i_75_ = (byte) i_72_; - byte i_76_ = (byte) (i_72_ >>> 24); - float f_77_ = (float) (class318_sub9_sub2.anInt8791 >> 12); - float f_78_ = (float) (class318_sub9_sub2.anInt8796 >> 12); - float f_79_ = (float) (class318_sub9_sub2.anInt8789 >> 12); - int i_80_ = (class318_sub9_sub2.anInt8793 >> 12); - stream.a(f_26_ * (float) -i_80_ + f_77_); - stream.a((float) -i_80_ * f_27_ + f_78_); - stream.a(f_79_ + f_28_ * (float) -i_80_); - if (var_ha_Sub3.anInt8178 == 0) stream.b(i_73_, i_74_, i_75_, i_76_); - else stream.a(i_73_, i_74_, i_75_, i_76_); - stream.a(0.0F); - stream.a(0.0F); - stream.a(f_29_ * (float) i_80_ + f_77_); - stream.a((float) i_80_ * f_30_ + f_78_); - stream.a((float) i_80_ * f_31_ + f_79_); - if (var_ha_Sub3.anInt8178 == 0) stream.b(i_73_, i_74_, i_75_, i_76_); - else stream.a(i_73_, i_74_, i_75_, i_76_); - stream.a(1.0F); - stream.a(0.0F); - stream.a(f_77_ + (float) i_80_ * f_26_); - stream.a((float) i_80_ * f_27_ + f_78_); - stream.a((float) i_80_ * f_28_ + f_79_); - if (var_ha_Sub3.anInt8178 != 0) stream.a(i_73_, i_74_, i_75_, i_76_); - else stream.b(i_73_, i_74_, i_75_, i_76_); - stream.a(1.0F); - stream.a(1.0F); - stream.a((float) i_80_ * f_32_ + f_77_); - stream.a((float) i_80_ * f_33_ + f_78_); - stream.a(f_79_ + (float) i_80_ * f_34_); - if (var_ha_Sub3.anInt8178 != 0) stream.a(i_73_, i_74_, i_75_, i_76_); - else stream.b(i_73_, i_74_, i_75_, i_76_); - stream.a(0.0F); - i_20_++; - stream.a(1.0F); - } - } - } - } - } else { - for (int i_35_ = -1 + i; i_35_ >= 0; i_35_--) { - int i_36_ = (Math.min(anIntArray3636[i_35_], 64)); - if (i_36_ > 0) { - for (int i_37_ = i_36_ + -1; i_37_ >= 0; i_37_--) { - Class318_Sub9_Sub2 class318_sub9_sub2 = (aClass318_Sub9_Sub2ArrayArray3632[i_35_][i_37_]); - int i_38_ = (class318_sub9_sub2.anInt8790); - byte i_39_ = (byte) (i_38_ >> 16); - byte i_40_ = (byte) (i_38_ >> 8); - byte i_41_ = (byte) i_38_; - byte i_42_ = (byte) (i_38_ >>> 24); - float f_43_ = (float) (class318_sub9_sub2.anInt8791 >> 12); - float f_44_ = (float) (class318_sub9_sub2.anInt8796 >> 12); - float f_45_ = (float) (class318_sub9_sub2.anInt8789 >> 12); - int i_46_ = ((class318_sub9_sub2.anInt8793) >> 12); - stream.b((float) -i_46_ * f_26_ + f_43_); - stream.b(f_44_ + (float) -i_46_ * f_27_); - stream.b((float) -i_46_ * f_28_ + f_45_); - if (var_ha_Sub3.anInt8178 == 0) stream.b(i_39_, i_40_, i_41_, i_42_); - else stream.a(i_39_, i_40_, i_41_, i_42_); - stream.b(0.0F); - stream.b(0.0F); - stream.b(f_43_ + (float) i_46_ * f_29_); - stream.b(f_44_ + (float) i_46_ * f_30_); - stream.b(f_45_ + (float) i_46_ * f_31_); - if (var_ha_Sub3.anInt8178 != 0) stream.a(i_39_, i_40_, i_41_, i_42_); - else stream.b(i_39_, i_40_, i_41_, i_42_); - stream.b(1.0F); - stream.b(0.0F); - stream.b(f_43_ + f_26_ * (float) i_46_); - stream.b(f_27_ * (float) i_46_ + f_44_); - stream.b(f_28_ * (float) i_46_ + f_45_); - if (var_ha_Sub3.anInt8178 == 0) stream.b(i_39_, i_40_, i_41_, i_42_); - else stream.a(i_39_, i_40_, i_41_, i_42_); - stream.b(1.0F); - stream.b(1.0F); - stream.b(f_32_ * (float) i_46_ + f_43_); - stream.b((float) i_46_ * f_33_ + f_44_); - stream.b(f_45_ + f_34_ * (float) i_46_); - if (var_ha_Sub3.anInt8178 == 0) stream.b(i_39_, i_40_, i_41_, i_42_); - else stream.a(i_39_, i_40_, i_41_, i_42_); - stream.b(0.0F); - i_20_++; - stream.b(1.0F); - } - if (anIntArray3636[i_35_] > 64) { - int i_47_ = -64 + anIntArray3636[i_35_] + -1; - for (int i_48_ = anIntArray3627[i_47_] + -1; i_48_ >= 0; i_48_--) { - Class318_Sub9_Sub2 class318_sub9_sub2 = (aClass318_Sub9_Sub2ArrayArray3642[i_47_][i_48_]); - int i_49_ = (class318_sub9_sub2.anInt8790); - byte i_50_ = (byte) (i_49_ >> 16); - byte i_51_ = (byte) (i_49_ >> 8); - byte i_52_ = (byte) i_49_; - byte i_53_ = (byte) (i_49_ >>> 24); - float f_54_ = (float) (class318_sub9_sub2.anInt8791 >> 12); - float f_55_ = (float) (class318_sub9_sub2.anInt8796 >> 12); - float f_56_ = (float) (class318_sub9_sub2.anInt8789 >> 12); - int i_57_ = (class318_sub9_sub2.anInt8793 >> 12); - stream.b(f_54_ + (float) -i_57_ * f_26_); - stream.b((float) -i_57_ * f_27_ + f_55_); - stream.b(f_56_ + f_28_ * (float) -i_57_); - if (var_ha_Sub3.anInt8178 == 0) stream.b(i_50_, i_51_, i_52_, i_53_); - else stream.a(i_50_, i_51_, i_52_, i_53_); - stream.b(0.0F); - stream.b(0.0F); - stream.b(f_54_ + (float) i_57_ * f_29_); - stream.b(f_30_ * (float) i_57_ + f_55_); - stream.b(f_31_ * (float) i_57_ + f_56_); - if (var_ha_Sub3.anInt8178 != 0) stream.a(i_50_, i_51_, i_52_, i_53_); - else stream.b(i_50_, i_51_, i_52_, i_53_); - stream.b(1.0F); - stream.b(0.0F); - stream.b(f_54_ + (float) i_57_ * f_26_); - stream.b((float) i_57_ * f_27_ + f_55_); - stream.b(f_28_ * (float) i_57_ + f_56_); - if (var_ha_Sub3.anInt8178 == 0) stream.b(i_50_, i_51_, i_52_, i_53_); - else stream.a(i_50_, i_51_, i_52_, i_53_); - stream.b(1.0F); - stream.b(1.0F); - stream.b(f_54_ + f_32_ * (float) i_57_); - stream.b(f_55_ + (float) i_57_ * f_33_); - stream.b((float) i_57_ * f_34_ + f_56_); - if (var_ha_Sub3.anInt8178 != 0) stream.a(i_50_, i_51_, i_52_, i_53_); - else stream.b(i_50_, i_51_, i_52_, i_53_); - stream.b(0.0F); - stream.b(1.0F); - i_20_++; - } - } - } - } - } - stream.a(); - if (anInterface5_Impl1_3638.method18(6331)) { - var_ha_Sub3.method3925(66, anInterface5_Impl1_3638, 0); - var_ha_Sub3.method3925(68, anInterface5_Impl1_3630, 1); - var_ha_Sub3.method3862(0, aClass130_3637); - var_ha_Sub3.method3938(Class247.aClass21_3181, 2 * i_20_, anInterface5_Impl2_3635, 0, 0, i_20_ * 4, 118); - } - } - } - - private final void method2103(byte i, ha_Sub3 var_ha_Sub3) { - if (i != -33) aClass318_Sub9_Sub2ArrayArray3642 = null; - anInt3639++; - Class59_Sub1.aFloat5299 = var_ha_Sub3.aFloat8093; - var_ha_Sub3.method3825(8); - var_ha_Sub3.method3865(false, i + 89); - var_ha_Sub3.method3946(-32, false); - var_ha_Sub3.method3942(5); - } - - public static void method2104(int i) { - aClass114_3641 = null; - if (i < 66) method2104(127); - } - - final void method2105(int i) { - if (i > -118) aClass114_3641 = null; - anInt3634++; - anInterface5_Impl1_3638.method21(23315); - } - - Class280(ha_Sub3 var_ha_Sub3) { - anInt3626 = 0; - aClass318_Sub9_Sub2ArrayArray3632 = new Class318_Sub9_Sub2[1600][64]; - anIntArray3631 = new int[8191]; - aClass318_Sub9_Sub2ArrayArray3642 = new Class318_Sub9_Sub2[64][768]; - anIntArray3636 = new int[1600]; - aClass130_3637 = (var_ha_Sub3.method3812(0, (new Class58[]{new Class58(new Class325[]{Class325.aClass325_4073, Class325.aClass325_4076, Class325.aClass325_4078}), new Class58(Class325.aClass325_4075)}))); - anInterface5_Impl1_3638 = var_ha_Sub3.method3889(true, 16711680); - anInterface5_Impl1_3630 = var_ha_Sub3.method3889(false, 16711680); - anInterface5_Impl1_3630.method20(393168, (byte) 124, 12); - anInterface5_Impl2_3635 = var_ha_Sub3.method3840(-28633, false); - anInterface5_Impl2_3635.method23(15959, 49146); - Buffer buffer = anInterface5_Impl2_3635.method24(true, false); - if (buffer != null) { - Stream stream = var_ha_Sub3.method3893(buffer, 9179); - if (Stream.c()) { - for (int i = 0; i < 8191; i++) { - int i_82_ = i * 4; - stream.d(i_82_); - stream.d(i_82_ + 1); - stream.d(i_82_ + 2); - stream.d(2 + i_82_); - stream.d(3 + i_82_); - stream.d(i_82_); - } - } else { - for (int i = 0; i < 8191; i++) { - int i_81_ = 4 * i; - stream.a(i_81_); - stream.a(1 + i_81_); - stream.a(2 + i_81_); - stream.a(2 + i_81_); - stream.a(3 + i_81_); - stream.a(i_81_); - } - } - stream.a(); - anInterface5_Impl2_3635.method22(-23); - } - Buffer buffer_83_ = anInterface5_Impl1_3630.method19(true, 26775); - if (buffer_83_ != null) { - Stream stream = var_ha_Sub3.method3893(buffer_83_, 9179); - if (Stream.c()) { - for (int i = 0; i < 8191; i++) { - stream.a(0.0F); - stream.a(-1.0F); - stream.a(0.0F); - stream.a(0.0F); - stream.a(-1.0F); - stream.a(0.0F); - stream.a(0.0F); - stream.a(-1.0F); - stream.a(0.0F); - stream.a(0.0F); - stream.a(-1.0F); - stream.a(0.0F); - } - } else { - for (int i = 0; i < 8191; i++) { - stream.b(0.0F); - stream.b(-1.0F); - stream.b(0.0F); - stream.b(0.0F); - stream.b(-1.0F); - stream.b(0.0F); - stream.b(0.0F); - stream.b(-1.0F); - stream.b(0.0F); - stream.b(0.0F); - stream.b(-1.0F); - stream.b(0.0F); - } - } - stream.a(); - anInterface5_Impl1_3630.method18(6331); - } - } -} diff --git a/client/src/Class281.java b/client/src/Class281.java deleted file mode 100644 index a44cf387f..000000000 --- a/client/src/Class281.java +++ /dev/null @@ -1,52 +0,0 @@ -/* Class281 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class281 { - static Class351 aClass351_3644 = new Class351(42, 8); - static int anInt3645; - static int anInt3646; - static int anInt3647; - static Class351 aClass351_3648 = new Class351(55, 4); - static Class143 aClass143_3649; - static int anInt3650; - - static final void method2106(String string, int i) { - anInt3645++; - Class348_Sub47 class348_sub47 = Class203.method1478(true); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, Class178.aClass29_2353.anInt400); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, 0); - int i_0_ = (class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, 634); - int[] is = Class50_Sub1.method463(class348_sub47, false); - int i_1_ = (class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197); - class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, Class348_Sub33.anInt6967); - class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197 += 7; - class348_sub47.aClass348_Sub49_Sub2_7116.method3350(i_1_, true, is, class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197); - class348_sub47.aClass348_Sub49_Sub2_7116.method3383(1809639944, -i_0_ + (class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197)); - Class348_Sub42_Sub14.method3243(118, class348_sub47); - if (i <= 99) method2108(null, 70); - Class367_Sub2.anInt7297 = 1; - Class352.anInt4337 = -3; - Class169.anInt2264 = 0; - Class105_Sub1.anInt8398 = 0; - } - - public static void method2107(byte i) { - aClass351_3648 = null; - aClass143_3649 = null; - aClass351_3644 = null; - if (i != 77) method2107((byte) -107); - } - - static final int method2108(String string, int i) { - anInt3646++; - int i_2_ = string.length(); - int i_3_ = 0; - for (int i_4_ = 0; i_2_ > i_4_; i_4_++) - i_3_ = (Class354.method3464(string.charAt(i_4_), false) + ((i_3_ << 5) - i_3_)); - if (i != -29286) return 0; - return i_3_; - } -} diff --git a/client/src/Class282.java b/client/src/Class282.java deleted file mode 100644 index 202096009..000000000 --- a/client/src/Class282.java +++ /dev/null @@ -1,68 +0,0 @@ -/* Class282 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class282 { - static int anInt3651; - static boolean aBoolean3652; - static int anInt3653; - static Class356 aClass356_3654; - static int anInt3655 = 0; - - static final void method2109(int i) { - anInt3653++; - Class348_Sub42_Sub18 class348_sub42_sub18 = ((Class348_Sub42_Sub18) Class348_Sub40_Sub17.aClass262_9240.method1995(4)); - if (i != 512) method2110(-125, 79, 70); - for (/**/; class348_sub42_sub18 != null; class348_sub42_sub18 = (Class348_Sub42_Sub18) Class348_Sub40_Sub17.aClass262_9240.method1990((byte) 56)) { - Class318_Sub1_Sub3_Sub5 class318_sub1_sub3_sub5 = (class348_sub42_sub18.aClass318_Sub1_Sub3_Sub5_9682); - if (Class367_Sub11.anInt7396 > class318_sub1_sub3_sub5.anInt10392) { - class348_sub42_sub18.method2715((byte) 101); - class318_sub1_sub3_sub5.method2472(-2159); - } else if ((class318_sub1_sub3_sub5.anInt10411) <= Class367_Sub11.anInt7396) { - class318_sub1_sub3_sub5.method2474((byte) 121); - if ((class318_sub1_sub3_sub5.anInt10412) > 0) { - Class348_Sub22 class348_sub22 = ((Class348_Sub22) (aClass356_3654.method3480(-1 + class318_sub1_sub3_sub5.anInt10412, -6008))); - if (class348_sub22 != null) { - Npc npc = (class348_sub22.aNpc_6859); - if ((npc.x) >= 0 && (Class367_Sub4.anInt7319 * 512 > npc.x) && (npc.y) >= 0 && (512 * Class348_Sub40_Sub3.anInt9109 > npc.y)) - class318_sub1_sub3_sub5.method2471((byte) -103, ((Class275.method2064(npc.x, (class318_sub1_sub3_sub5.plane), 11219, npc.y)) + -class318_sub1_sub3_sub5.anInt10366), npc.y, Class367_Sub11.anInt7396, npc.x); - } - } - if ((class318_sub1_sub3_sub5.anInt10412) < 0) { - int i_0_ = -(class318_sub1_sub3_sub5.anInt10412) - 1; - Player player; - if (i_0_ == Class348_Sub42_Sub11.anInt9591) player = Class132.aPlayer_1907; - else player = (Class294.aPlayerArray5058[i_0_]); - if (player != null && (player.x) >= 0 && ((player.x) < 512 * Class367_Sub4.anInt7319) && (player.y) >= 0 && (player.y) < 512 * Class348_Sub40_Sub3.anInt9109) - class318_sub1_sub3_sub5.method2471((byte) -103, ((Class275.method2064((player.x), (class318_sub1_sub3_sub5.plane), 11219, (player.y))) - class318_sub1_sub3_sub5.anInt10366), (player.y), Class367_Sub11.anInt7396, (player.x)); - } - class318_sub1_sub3_sub5.method2475((byte) 75, Class348_Sub51.anInt7267); - Class89.method850(class318_sub1_sub3_sub5, true); - } - } - } - - static final Class318_Sub1_Sub2 method2110(int i, int i_1_, int i_2_) { - Class357 class357 = Class147.aClass357ArrayArrayArray2029[i][i_1_][i_2_]; - if (class357 == null) return null; - Class318_Sub1_Sub2 class318_sub1_sub2 = class357.aClass318_Sub1_Sub2_4408; - class357.aClass318_Sub1_Sub2_4408 = null; - Class183.method1376(class318_sub1_sub2); - return class318_sub1_sub2; - } - - public static void method2111(byte i) { - aClass356_3654 = null; - if (i <= 56) method2111((byte) -49); - } - - static final boolean method2112(int i, int i_3_) { - anInt3651++; - if (i <= 121) return false; - return i_3_ == 3 || i_3_ == 4; - } - - static { - aClass356_3654 = new Class356(64); - } -} diff --git a/client/src/Class283.java b/client/src/Class283.java deleted file mode 100644 index 9bb9c2f83..000000000 --- a/client/src/Class283.java +++ /dev/null @@ -1,31 +0,0 @@ -/* Class283 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class283 { - static int anInt3656; - int anInt3657; - static float[] aFloatArray3658 = new float[2]; - static int[] anIntArray3659; - static long aLong3660; - static int[] anIntArray3661 = {8, 11, 4, 6, 9, 7, 10, 0}; - static int anInt3662; - String aString3663; - - public static void method2113(byte i) { - anIntArray3659 = null; - anIntArray3661 = null; - if (i != 74) method2113((byte) -2); - aFloatArray3658 = null; - } - - static final boolean method2114(int i, boolean bool) { - anInt3656++; - if (bool != true) method2114(90, true); - return i == 3 || i == 5 || i == 6; - } - - static { - anIntArray3659 = new int[]{0, 4, 3, 3, 1, 1, 3, 5, 1, 5, 3, 6, 4}; - } -} diff --git a/client/src/Class284.java b/client/src/Class284.java deleted file mode 100644 index cc81bcc2a..000000000 --- a/client/src/Class284.java +++ /dev/null @@ -1,69 +0,0 @@ -/* Class284 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; - -final class Class284 { - static int anInt3664; - static int anInt3665; - int anInt3666; - int anInt3667; - int anInt3668; - int anInt3669; - int anInt3670; - int anInt3671; - int anInt3672; - int anInt3673; - static int anInt3674; - int anInt3675; - static int anInt3676 = 0; - static int[][] anIntArrayArray3677 = {{2, 4, 6, 0}, {0, 2, 4, 6}, {0, 2, 4}, {4, 0, 2}, {2, 4, 0}, {0, 2, 4}, {6, 0, 1, 2, 4, 5}, {0, 4, 7, 6}, {4, 7, 6, 0}, {0, 8, 6, 2, 9, 4}, {2, 9, 4, 0, 8, 6}, {2, 11, 4, 6, 10, 0}, {2, 4, 6, 0}}; - int anInt3678; - int anInt3679; - int anInt3680; - - final boolean method2115(Class284 class284_0_, boolean bool) { - if (bool != true) return true; - anInt3664++; - return class284_0_.anInt3673 == this.anInt3673 && (this.anInt3667 == class284_0_.anInt3667) && (this.anInt3671 == class284_0_.anInt3671); - } - - static final int method2116(int i) { - anInt3665++; - ha var_ha = Class348_Sub8.aHa6654; - boolean bool = false; - if (Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(i + -5766) != 0) { - Canvas canvas = new Canvas(); - canvas.setSize(100, 100); - var_ha = Class104.method958(true, 0, null, 0, canvas, null); - bool = true; - } - long l = Class62.method599(i + 26482); - for (int i_1_ = 0; i_1_ < 10000; i_1_++) - var_ha.method3676(5, 10, 100, 75, 50, 100, 15, 90, 100, -65536, -65536, -65536, 1); - int i_2_ = (int) (-l + Class62.method599(-71)); - if (i != -26584) method2116(-124); - var_ha.method3675(100, (byte) -125, 0, 0, 100, -16777216); - if (bool) var_ha.method3635((byte) 121); - return i_2_; - } - - public static void method2117(int i) { - if (i == 0) anIntArrayArray3677 = null; - } - - static final Class246 method2118(byte i) { - anInt3674++; - try { - if (i != -42) anInt3676 = -23; - return new Class246_Sub1(); - } catch (Throwable throwable) { - return null; - } - } - - public Class284() { - /* empty */ - } -} diff --git a/client/src/Class285.java b/client/src/Class285.java deleted file mode 100644 index 2ccbc6d0c..000000000 --- a/client/src/Class285.java +++ /dev/null @@ -1,178 +0,0 @@ -/* Class285 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaclib.memory.Buffer; -import jaclib.memory.Source; -import jaclib.memory.heap.NativeHeapBuffer; -import jaggl.MapBuffer; -import jaggl.OpenGL; - -abstract class Class285 implements Interface5 { - static int anInt4735; - private int anInt4736 = 0; - static int anInt4737; - static int anInt4738; - private int anInt4739; - static int anInt4740; - static boolean aBoolean4741 = false; - static int anInt4742; - static Class348_Sub16_Sub3 aClass348_Sub16_Sub3_4743; - static String[] aStringArray4744 = new String[200]; - static int anInt4745; - private int anInt4746 = -1; - private int anInt4747; - private NativeHeapBuffer aNativeHeapBuffer4748; - static int anInt4749; - private final boolean aBoolean4750; - static int anInt4751; - static int anInt4752; - static int anInt4753 = 0; - static Class323 aClass323_4754; - private final int anInt4755; - static int anInt4756; - static int anInt4757; - static int anInt4758; - Class377 aClass377_4759; - - static final float method2119(float f, int i, float f_0_, int i_1_, float f_2_) { - anInt4738++; - if (i_1_ >= -59) method2119(1.299765F, 45, -0.43444797F, -35, 0.059617087F); - float[] fs = Class337.aFloatArrayArray4174[i]; - return fs[1] * f + f_2_ * fs[0] + fs[2] * f_0_; - } - - final Buffer method2120(int i, MapBuffer mapbuffer, boolean bool) { - anInt4756++; - if (i != 0) this.aClass377_4759 = null; - if (anInt4736 == 0) { - method2126((byte) -36); - if (anInt4746 <= 0) { - anInt4736 = 2; - return aNativeHeapBuffer4748; - } - OpenGL.glBindBufferARB(anInt4755, anInt4746); - if (bool) { - OpenGL.glBufferDataARBub(anInt4755, anInt4739, null, 0, aBoolean4750 ? 35040 : 35044); - if (anInt4747 <= (this.aClass377_4759.aNativeHeapBuffer7974.b)) { - anInt4736 = 1; - return (this.aClass377_4759.aNativeHeapBuffer7974); - } - } - if (!mapbuffer.a() && mapbuffer.a(anInt4755, anInt4747, 35001)) { - anInt4736 = 2; - return mapbuffer; - } - } - return null; - } - - final boolean method2121(int i, Source source, int i_3_) { - anInt4745++; - if (i != 25625) method2126((byte) -74); - if (i_3_ > anInt4739) { - method2126((byte) -36); - if (anInt4746 <= 0) throw new RuntimeException("ARGH!"); - OpenGL.glBindBufferARB(anInt4755, anInt4746); - OpenGL.glBufferDataARBa(anInt4755, i_3_, source.getAddress(), !aBoolean4750 ? 35044 : 35040); - this.aClass377_4759.anInt8063 += i_3_ - anInt4747; - anInt4739 = i_3_; - } else if (anInt4746 > 0) { - OpenGL.glBindBufferARB(anInt4755, anInt4746); - OpenGL.glBufferSubDataARBa(anInt4755, 0, anInt4747, source.getAddress()); - this.aClass377_4759.anInt8063 += i_3_ - anInt4747; - } else throw new RuntimeException("ARGH!"); - anInt4747 = i_3_; - return true; - } - - void method21(int i) { - if (i != 23315) aClass323_4754 = null; - anInt4749++; - if (anInt4746 > 0) { - this.aClass377_4759.method3969(anInt4747, anInt4746, 3089); - anInt4746 = -1; - } - } - - final long method2122(int i) { - anInt4758++; - if (i != 27819) return 59L; - if (anInt4746 == 0) return aNativeHeapBuffer4748.getAddress(); - return 0L; - } - - final boolean method2123(MapBuffer mapbuffer, int i) { - anInt4735++; - boolean bool = true; - if (i != anInt4736) { - if (anInt4746 > 0) { - OpenGL.glBindBufferARB(anInt4755, anInt4746); - if (anInt4736 != 1) bool = mapbuffer.b(); - else OpenGL.glBufferSubDataARBa(anInt4755, 0, anInt4739, this.aClass377_4759.aNativeHeapBuffer7974.getAddress()); - } - anInt4736 = 0; - } - return bool; - } - - public static void method2124(int i) { - aClass348_Sub16_Sub3_4743 = null; - aClass323_4754 = null; - aStringArray4744 = null; - if (i != 0) method2119(-1.1717526F, -45, -2.0738192F, 18, -0.4863547F); - } - - void method23(int i, int i_4_) { - anInt4752++; - if (i_4_ > anInt4739) { - method2126((byte) -36); - if (anInt4746 <= 0) aNativeHeapBuffer4748 = this.aClass377_4759.method3869((byte) 47, false, i_4_); - else { - OpenGL.glBindBufferARB(anInt4755, anInt4746); - OpenGL.glBufferDataARBub(anInt4755, i_4_, null, 0, !aBoolean4750 ? 35044 : 35040); - this.aClass377_4759.anInt8063 += i_4_ - anInt4739; - } - anInt4739 = i_4_; - } - anInt4747 = i_4_; - if (i != 15959) aStringArray4744 = null; - } - - final void method2125(int i) { - anInt4742++; - if (i == 0) { - if (this.aClass377_4759.aBoolean9920) OpenGL.glBindBufferARB(anInt4755, anInt4746); - } - } - - public int method16(boolean bool) { - anInt4740++; - if (bool != false) method2122(127); - return anInt4747; - } - - protected final void finalize() throws Throwable { - anInt4751++; - method21(23315); - super.finalize(); - } - - private final void method2126(byte i) { - anInt4757++; - if (i != -36) anInt4736 = -3; - if (anInt4746 < 0) { - if (this.aClass377_4759.aBoolean9920) { - OpenGL.glGenBuffersARB(1, Class260.anIntArray3311, 0); - anInt4746 = Class260.anIntArray3311[0]; - OpenGL.glBindBufferARB(anInt4755, anInt4746); - } else anInt4746 = 0; - } - } - - Class285(Class377 class377, int i, boolean bool) { - this.aClass377_4759 = class377; - anInt4755 = i; - aBoolean4750 = bool; - } -} diff --git a/client/src/Class285_Sub1.java b/client/src/Class285_Sub1.java deleted file mode 100644 index 00574d4c6..000000000 --- a/client/src/Class285_Sub1.java +++ /dev/null @@ -1,143 +0,0 @@ -/* Class285_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaclib.memory.Buffer; -import jaclib.memory.Source; - -final class Class285_Sub1 extends Class285 implements Interface5_Impl1 { - static int anInt8483; - static int anInt8484; - static int anInt8485; - static int anInt8486; - static int anInt8487; - static int anInt8488; - static int anInt8489; - static int anInt8490; - private byte aByte8491; - static int anInt8492 = 0; - static int anInt8493; - static int anInt8494; - static int anInt8495; - - static final String method2127(int i, String string) { - if (i != 2) return null; - anInt8483++; - if (string == null) return null; - int i_0_ = 0; - int i_1_; - for (i_1_ = string.length(); i_1_ > i_0_; i_0_++) { - if (!Class26.method311((byte) 113, string.charAt(i_0_))) break; - } - for (/**/; (i_0_ < i_1_ && Class26.method311((byte) 104, string.charAt(i_1_ + -1))); i_1_--) { - /* empty */ - } - int i_2_ = i_1_ + -i_0_; - if (i_2_ < 1 || i_2_ > 12) return null; - StringBuffer stringbuffer = new StringBuffer(i_2_); - for (int i_3_ = i_0_; i_1_ > i_3_; i_3_++) { - char c = string.charAt(i_3_); - if (Class239_Sub29.method1849(c, i + 108)) { - char c_4_ = Class287.method2184(c, -10072); - if (c_4_ != 0) stringbuffer.append(c_4_); - } - } - if (stringbuffer.length() == 0) return null; - return stringbuffer.toString(); - } - - static final Class369_Sub3_Sub1 method2128(int i, Class348_Sub49 class348_sub49) { - anInt8495++; - Class369_Sub3 class369_sub3 = Class348_Sub46.method3322(0, class348_sub49); - int i_5_ = class348_sub49.readShort(13638); - return (new Class369_Sub3_Sub1(class369_sub3.aClass221_4968, class369_sub3.aClass341_4973, class369_sub3.anInt4970, class369_sub3.anInt4959, class369_sub3.anInt4971, class369_sub3.anInt4963, class369_sub3.anInt4966, class369_sub3.anInt4965, class369_sub3.anInt4961, class369_sub3.anInt8599, class369_sub3.anInt8595, class369_sub3.anInt8603, class369_sub3.anInt8602, class369_sub3.anInt8600, class369_sub3.anInt8597, i_5_)); - } - - static final void method2129(byte i) { - anInt8494++; - Class21.aHa326.method3638(r.aClass101_9720); - if (i < 9) anInt8492 = -40; - Class21.aHa326.DA(Class248.anInt3202, Class239_Sub5.anInt5886, Class14_Sub3.anInt8630, Class27.anInt394); - } - - public final void method21(int i) { - super.method21(i); - anInt8485++; - } - - public final boolean method18(int i) { - if (i != 6331) anInt8492 = -14; - anInt8489++; - return super.method2123((this.aClass377_4759.aMapBuffer9915), i ^ 0x18bb); - } - - final int method2130(int i) { - if (i != 3545) return -18; - anInt8487++; - return aByte8491; - } - - public final Buffer method19(boolean bool, int i) { - anInt8490++; - if (i != 26775) aByte8491 = (byte) 7; - return super.method2120(0, (this.aClass377_4759.aMapBuffer9915), bool); - } - - public final int method16(boolean bool) { - anInt8486++; - if (bool != false) method18(-20); - return super.method16(bool); - } - - public final boolean method17(Source source, int i, int i_6_, byte i_7_) { - anInt8484++; - aByte8491 = (byte) i; - if (i_7_ >= -15) aByte8491 = (byte) 62; - super.method2121(25625, source, i_6_); - return true; - } - - Class285_Sub1(Class377 class377, boolean bool) { - super(class377, 34962, bool); - } - - public final boolean method20(int i, byte i_8_, int i_9_) { - anInt8488++; - aByte8491 = (byte) i_9_; - super.method23(15959, i); - if (i_8_ <= 122) method18(-86); - return true; - } - - static final void method2131(int i) { - if (i == 0) { - if (Npc.anInt10503 == 2) { - Class348_Sub40_Sub34.aClass293Array9432[0].method2206(Class319.aClass315Array3982[0]); - Class348_Sub40_Sub34.aClass293Array9432[1].method2206(Class319.aClass315Array3982[1]); - } else if (Npc.anInt10503 == 3) { - Class348_Sub40_Sub34.aClass293Array9432[0].method2206(Class319.aClass315Array3982[0]); - Class348_Sub40_Sub34.aClass293Array9432[1].method2206(Class319.aClass315Array3982[1]); - Class348_Sub40_Sub34.aClass293Array9432[2].method2206(Class319.aClass315Array3982[2]); - } else { - Class348_Sub40_Sub34.aClass293Array9432[0].method2206(Class319.aClass315Array3982[0]); - Class348_Sub40_Sub34.aClass293Array9432[1].method2206(Class319.aClass315Array3982[1]); - Class348_Sub40_Sub34.aClass293Array9432[2].method2206(Class319.aClass315Array3982[2]); - Class348_Sub40_Sub34.aClass293Array9432[3].method2206(Class319.aClass315Array3982[3]); - } - } else if (i == 1) { - if (Npc.anInt10503 == 2) Class348_Sub40_Sub34.aClass293Array9432[0].method2206(Class319.aClass315Array3982[2]); - else if (Npc.anInt10503 == 3) { - Class348_Sub40_Sub34.aClass293Array9432[0].method2206(Class319.aClass315Array3982[3]); - Class348_Sub40_Sub34.aClass293Array9432[1].method2206(Class319.aClass315Array3982[4]); - } else { - Class348_Sub40_Sub34.aClass293Array9432[0].method2206(Class319.aClass315Array3982[4]); - Class348_Sub40_Sub34.aClass293Array9432[1].method2206(Class319.aClass315Array3982[5]); - Class348_Sub40_Sub34.aClass293Array9432[2].method2206(Class319.aClass315Array3982[6]); - } - } else if (i == 2) { - if (Npc.anInt10503 == 2) Class348_Sub40_Sub34.aClass293Array9432[0].method2206(Class319.aClass315Array3982[3]); - else if (Npc.anInt10503 == 3) Class348_Sub40_Sub34.aClass293Array9432[0].method2206(Class319.aClass315Array3982[5]); - else Class348_Sub40_Sub34.aClass293Array9432[0].method2206(Class319.aClass315Array3982[7]); - } - } -} diff --git a/client/src/Class285_Sub2.java b/client/src/Class285_Sub2.java deleted file mode 100644 index f6e64d9e8..000000000 --- a/client/src/Class285_Sub2.java +++ /dev/null @@ -1,72 +0,0 @@ -/* Class285_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaclib.memory.Buffer; - -final class Class285_Sub2 extends Class285 implements Interface5_Impl2 { - static int anInt8496; - static int anInt8497; - static int anInt8498; - static int anInt8499; - static int anInt8500; - static int anInt8501; - static int anInt8502; - static Class70 aClass70_8503 = new Class70(); - private final Class68 aClass68_8504; - static byte[][] aByteArrayArray8505 = new byte[50][]; - static int anInt8506; - static int[] anIntArray8507 = {0, 0, 0, 0, 0, 0, 0, 0, 85, 80, 84, 0, 91, 0, 0, 0, 81, 82, 86, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 0, 0, 83, 104, 105, 103, 102, 96, 98, 97, 99, 0, 0, 0, 0, 0, 0, 0, 25, 16, 17, 18, 19, 20, 21, 22, 23, 24, 0, 0, 0, 0, 0, 0, 0, 48, 68, 66, 50, 34, 51, 52, 53, 39, 54, 55, 56, 70, 69, 40, 41, 32, 35, 49, 36, 38, 67, 33, 65, 37, 64, 0, 0, 0, 0, 0, 228, 231, 227, 233, 224, 219, 225, 230, 226, 232, 89, 87, 0, 88, 229, 90, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 0, 0, 0, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; - - public final void method23(int i, int i_0_) { - super.method23(i, i_0_ * aClass68_8504.anInt1178); - anInt8499++; - } - - public static void method2132(int i) { - aClass70_8503 = null; - if (i >= -8) anInt8498 = -77; - anIntArray8507 = null; - aByteArrayArray8505 = null; - } - - public final Buffer method24(boolean bool, boolean bool_1_) { - if (bool_1_ != false) aClass70_8503 = null; - anInt8500++; - return super.method2120(0, (this.aClass377_4759.aMapBuffer9913), bool); - } - - public final int method16(boolean bool) { - anInt8497++; - if (bool != false) method16(true); - return super.method16(false); - } - - public final boolean method22(int i) { - anInt8501++; - if (i != -23) return false; - return super.method2123((this.aClass377_4759.aMapBuffer9913), 0); - } - - public final Class68 method25(byte i) { - anInt8506++; - if (i <= 19) aClass70_8503 = null; - return aClass68_8504; - } - - public final void method21(int i) { - if (i == 23315) { - anInt8496++; - super.method21(i); - } - } - - Class285_Sub2(Class377 class377, Class68 class68, boolean bool) { - super(class377, 34963, bool); - try { - aClass68_8504 = class68; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("mw.(" + (class377 != null ? "{...}" : "null") + ',' + (class68 != null ? "{...}" : "null") + ',' + bool + ')')); - } - } -} diff --git a/client/src/Class286.java b/client/src/Class286.java deleted file mode 100644 index 7258daa73..000000000 --- a/client/src/Class286.java +++ /dev/null @@ -1,42 +0,0 @@ -/* Class286 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class286 { - static int anInt3681; - static int anInt3682; - static Class348_Sub2 aClass348_Sub2_3683; - ha_Sub2 aHa_Sub2_3684; - - abstract void method2133(int i); - - abstract void method2134(boolean bool, boolean bool_0_); - - public static void method2135(int i) { - if (i == 0) aClass348_Sub2_3683 = null; - } - - abstract void method2136(int i, int i_1_, byte i_2_); - - abstract boolean method2137(int i); - - static final boolean method2138(int i) { - anInt3681++; - Class348_Sub48 class348_sub48 = (Class348_Sub48) Class348_Sub35.aClass262_6978.method1995(4); - if (class348_sub48 == null) return false; - int i_3_ = 118 % ((-40 - i) / 50); - for (int i_4_ = 0; (class348_sub48.anInt7126 > i_4_); i_4_++) { - if ((class348_sub48.aClass144Array7135[i_4_] != null) && (class348_sub48.aClass144Array7135[i_4_].anInt1997) == 0) return false; - if ((class348_sub48.aClass144Array7127[i_4_] != null) && (class348_sub48.aClass144Array7127[i_4_].anInt1997) == 0) return false; - } - return true; - } - - abstract void method2139(boolean bool, byte i); - - abstract void method2140(Class258 class258, byte i, int i_5_); - - Class286(ha_Sub2 var_ha_Sub2) { - this.aHa_Sub2_3684 = var_ha_Sub2; - } -} diff --git a/client/src/Class286_Sub1.java b/client/src/Class286_Sub1.java deleted file mode 100644 index 289909497..000000000 --- a/client/src/Class286_Sub1.java +++ /dev/null @@ -1,153 +0,0 @@ -/* Class286_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -final class Class286_Sub1 extends Class286 { - private boolean aBoolean6183 = false; - static int anInt6184; - static int anInt6185; - static int anInt6186; - private Class171 aClass171_6187; - private Class171 aClass171_6188; - static int[] anIntArray6189 = new int[1]; - static int anInt6190; - static int anInt6191; - static int anInt6192; - private boolean aBoolean6193; - private Class258_Sub3 aClass258_Sub3_6194; - static int anInt6195; - private Class171 aClass171_6196; - private boolean aBoolean6197; - private final boolean aBoolean6198; - private Class171 aClass171_6199; - static String[] aStringArray6200; - static Class74 aClass74_6201 = new Class74(9, 19); - static int anInt6202; - - final void method2141(boolean bool) { - if (bool == false) { - anInt6192++; - Class101_Sub3 class101_sub3 = (this.aHa_Sub2_3684.aClass101_Sub3_7766); - if (!aBoolean6197) OpenGL.glBindProgramARB(34336, ((this.aHa_Sub2_3684.anInt7788 == 2147483647) ? aClass171_6188.anInt2270 : aClass171_6199.anInt2270)); - else OpenGL.glBindProgramARB(34336, (this.aHa_Sub2_3684.anInt7788 != 2147483647 ? aClass171_6187.anInt2270 : aClass171_6196.anInt2270)); - class101_sub3.method937(true, 0.0F, 0.0F, -1.0F, (float) (this.aHa_Sub2_3684.anInt7788), Class92.aFloatArray1528); - OpenGL.glProgramLocalParameter4fARB(34336, 1, Class92.aFloatArray1528[0], Class92.aFloatArray1528[1], Class92.aFloatArray1528[2], Class92.aFloatArray1528[3]); - OpenGL.glEnable(34336); - aBoolean6193 = true; - method2143(34336); - } - } - - final void method2139(boolean bool, byte i) { - int i_0_ = -82 / ((i - -60) / 38); - anInt6190++; - } - - public static void method2142(byte i) { - aStringArray6200 = null; - int i_1_ = 19 % ((i - -67) / 59); - aClass74_6201 = null; - anIntArray6189 = null; - } - - final boolean method2137(int i) { - anInt6202++; - if (i >= -5) return false; - return aBoolean6198; - } - - final void method2134(boolean bool, boolean bool_2_) { - aBoolean6197 = bool; - anInt6191++; - this.aHa_Sub2_3684.method3738(-15039, 1); - this.aHa_Sub2_3684.method3771((byte) -97, aClass258_Sub3_6194); - this.aHa_Sub2_3684.method3729(34165, (byte) 101, 7681); - this.aHa_Sub2_3684.method3762(34166, 768, (byte) -87, 0); - this.aHa_Sub2_3684.method3762(5890, 770, (byte) -87, 2); - this.aHa_Sub2_3684.method3775(bool_2_, 0, 770, 34168); - this.aHa_Sub2_3684.method3738(-15039, 0); - method2141(false); - } - - final void method2143(int i) { - if (i == 34336) { - if (aBoolean6193) { - int i_3_ = this.aHa_Sub2_3684.XA(); - int i_4_ = this.aHa_Sub2_3684.i(); - float f = (float) i_3_ - 0.125F * (float) (-i_4_ + i_3_); - float f_5_ = (float) i_3_ - 0.25F * (float) (i_3_ - i_4_); - OpenGL.glProgramLocalParameter4fARB(34336, 0, f_5_, f, 1.0F / (float) this.aHa_Sub2_3684.anInt7848, (float) (this.aHa_Sub2_3684.anInt7809) / 255.0F); - this.aHa_Sub2_3684.method3738(-15039, 1); - this.aHa_Sub2_3684.method3808(this.aHa_Sub2_3684.anInt7806, 122); - this.aHa_Sub2_3684.method3738(-15039, 0); - } - anInt6184++; - } - } - - Class286_Sub1(ha_Sub2 var_ha_Sub2) { - super(var_ha_Sub2); - if (this.aHa_Sub2_3684.aBoolean7841) { - aClass171_6188 = (Class50.method459(34336, this.aHa_Sub2_3684, "!!ARBvp1.0\nATTRIB iPos = vertex.position;\nATTRIB iColour = vertex.color;\nATTRIB iTexCoord = vertex.texcoord[0];\nOUTPUT oPos = result.position;\nOUTPUT oColour = result.color;\nOUTPUT oTexCoord0 = result.texcoord[0];\nOUTPUT oTexCoord1 = result.texcoord[1];\nOUTPUT oFogCoord = result.fogcoord;\nPARAM fogParams = program.local[0];\nPARAM waterPlane = program.local[1];\nPARAM tMatrix[4] = { state.matrix.texture[0] };\nPARAM pMatrix[4] = { state.matrix.projection };\nPARAM mvMatrix[4] = { state.matrix.modelview };\nTEMP viewPos, fogFactor;\nDP4 viewPos.x, mvMatrix[0], iPos;\nDP4 viewPos.y, mvMatrix[1], iPos;\nDP4 viewPos.z, mvMatrix[2], iPos;\nDP4 viewPos.w, mvMatrix[3], iPos;\nSUB fogFactor.x, -viewPos.z, fogParams.x;\nMUL fogFactor.x, fogFactor.x, 0.001953125;\nMAD fogFactor.y, iTexCoord.z, fogParams.z, fogParams.w;\nSUB fogFactor.z, -viewPos.z, fogParams.y;\nMUL fogFactor.z, fogFactor.z, 0.00390625;\nMUL fogFactor.x, fogFactor.x, fogFactor.y;\nMIN fogFactor, fogFactor, 1;\nMAX fogFactor, fogFactor, 0;\nMUL fogFactor.z, fogFactor.z, iTexCoord.z;\nMAD viewPos.xyz, waterPlane.xyzw, fogFactor.zzzz, viewPos.xyzw;\nMAX oTexCoord1.xyz, fogFactor.xxxx, fogFactor.yyyy;\nMOV oTexCoord1.w, 1;\nMOV oColour, iColour;\nDP4 oPos.x, pMatrix[0], viewPos;\nDP4 oPos.y, pMatrix[1], viewPos;\nDP4 oPos.z, pMatrix[2], viewPos;\nDP4 oPos.w, pMatrix[3], viewPos;\nMOV oFogCoord.x, viewPos.z;\nDP3 oTexCoord0.x, tMatrix[0], iTexCoord;\nDP3 oTexCoord0.y, tMatrix[1], iTexCoord;\nMOV oTexCoord0.zw, iTexCoord;\nEND\n", false)); - aClass171_6196 = (Class50.method459(34336, this.aHa_Sub2_3684, "!!ARBvp1.0\nATTRIB iPos = vertex.position;\nATTRIB iNormal = vertex.normal;\nATTRIB iColour = vertex.color;\nATTRIB iTexCoord = vertex.texcoord[0];\nOUTPUT oPos = result.position;\nOUTPUT oColour = result.color;\nOUTPUT oTexCoord0 = result.texcoord[0];\nOUTPUT oTexCoord1 = result.texcoord[1];\nOUTPUT oFogCoord = result.fogcoord;\nPARAM fogParams = program.local[0];\nPARAM waterPlane = program.local[1];\nPARAM tMatrix[4] = { state.matrix.texture[0] };\nPARAM pMatrix[4] = { state.matrix.projection };\nPARAM mvMatrix[4] = { state.matrix.modelview };\nTEMP viewPos, viewNormal, fogFactor, colour, ndotl;\nDP4 viewPos.x, mvMatrix[0], iPos;\nDP4 viewPos.y, mvMatrix[1], iPos;\nDP4 viewPos.z, mvMatrix[2], iPos;\nDP4 viewPos.w, mvMatrix[3], iPos;\nSUB fogFactor.x, -viewPos.z, fogParams.x;\nMUL fogFactor.x, fogFactor.x, 0.001953125;\nMAD fogFactor.y, iTexCoord.z, fogParams.z, fogParams.w;\nSUB fogFactor.z, -viewPos.z, fogParams.y;\nMUL fogFactor.z, fogFactor.z, 0.00390625;\nMUL fogFactor.x, fogFactor.x, fogFactor.y;\nMIN fogFactor, fogFactor, 1;\nMAX fogFactor, fogFactor, 0;\nMUL fogFactor.z, fogFactor.z, iTexCoord.z;\nMAD viewPos.xyz, waterPlane.xyzw, fogFactor.zzzz, viewPos.xyzw;\nMAX oTexCoord1.xyz, fogFactor.xxxx, fogFactor.yyyy;\nMOV oTexCoord1.w, 1;\nDP3 viewNormal.x, mvMatrix[0], iNormal;\nDP3 viewNormal.y, mvMatrix[1], iNormal;\nDP3 viewNormal.z, mvMatrix[2], iNormal;\nDP3 ndotl.x, viewNormal, state.light[0].position;\nDP3 ndotl.y, viewNormal, state.light[1].position;\nMAX ndotl, ndotl, 0;\nMOV colour, state.lightmodel.ambient;\nMAD colour, state.light[0].diffuse, ndotl.xxxx, colour;\nMAD colour, state.light[1].diffuse, ndotl.yyyy, colour;\nMUL oColour, iColour, colour;\nDP4 oPos.x, pMatrix[0], viewPos;\nDP4 oPos.y, pMatrix[1], viewPos;\nDP4 oPos.z, pMatrix[2], viewPos;\nDP4 oPos.w, pMatrix[3], viewPos;\nMOV oFogCoord.x, viewPos.z;\nDP3 oTexCoord0.x, tMatrix[0], iTexCoord;\nDP3 oTexCoord0.y, tMatrix[1], iTexCoord;\nMOV oTexCoord0.zw, iTexCoord;\nEND\n", false)); - aClass171_6199 = (Class50.method459(34336, this.aHa_Sub2_3684, "!!ARBvp1.0\nATTRIB iPos = vertex.position;\nATTRIB iColour = vertex.color;\nATTRIB iTexCoord = vertex.texcoord[0];\nOUTPUT oPos = result.position;\nOUTPUT oColour = result.color;\nOUTPUT oTexCoord0 = result.texcoord[0];\nOUTPUT oTexCoord1 = result.texcoord[1];\nOUTPUT oFogCoord = result.fogcoord;\nPARAM fogParams = program.local[0];\nPARAM waterPlane = program.local[1];\nPARAM pMatrix[4] = { state.matrix.projection };\nPARAM mvMatrix[4] = { state.matrix.modelview };\nPARAM texMatrix[4] = { state.matrix.texture[0] };\nTEMP viewPos, fogFactor, depth;\nDP4 viewPos.x, mvMatrix[0], iPos;\nDP4 viewPos.y, mvMatrix[1], iPos;\nDP4 viewPos.z, mvMatrix[2], iPos;\nDP4 viewPos.w, mvMatrix[3], iPos;\nSUB fogFactor.x, -viewPos.z, fogParams.x;\nMUL fogFactor.x, fogFactor.x, 0.001953125;\nDP4 depth, waterPlane, viewPos;\nMAD fogFactor.y, -depth, fogParams.z, fogParams.w;\nSUB fogFactor.z, -viewPos.z, fogParams.y;\nMUL fogFactor.z, fogFactor.z, 0.00390625;\nMIN fogFactor, fogFactor, 1;\nMAX fogFactor, fogFactor, 0;\nMUL fogFactor.z, fogFactor.z, -depth;\nMAD viewPos.xyz, waterPlane.xyzw, fogFactor.zzzz, viewPos.xyzw;\nMAX oTexCoord1.xyz, fogFactor.xxxx, fogFactor.yyyy;\nMOV oTexCoord1.w, 1;\nMOV oColour, iColour;\nDP4 oPos.x, pMatrix[0], viewPos;\nDP4 oPos.y, pMatrix[1], viewPos;\nDP4 oPos.z, pMatrix[2], viewPos;\nDP4 oPos.w, pMatrix[3], viewPos;\nMOV oFogCoord.x, viewPos.z;\nDP4 oTexCoord0.x, texMatrix[0], iTexCoord;\nDP4 oTexCoord0.y, texMatrix[1], iTexCoord;\nDP4 oTexCoord0.z, texMatrix[2], iTexCoord;\nMOV oTexCoord0.w, 1;\nEND\n", false)); - aClass171_6187 = (Class50.method459(34336, this.aHa_Sub2_3684, "!!ARBvp1.0\nATTRIB iPos = vertex.position;\nATTRIB iNormal = vertex.normal;\nATTRIB iColour = vertex.color;\nATTRIB iTexCoord = vertex.texcoord[0];\nOUTPUT oPos = result.position;\nOUTPUT oColour = result.color;\nOUTPUT oTexCoord0 = result.texcoord[0];\nOUTPUT oTexCoord1 = result.texcoord[1];\nOUTPUT oFogCoord = result.fogcoord;\nPARAM fogParams = program.local[0];\nPARAM waterPlane = program.local[1];\nPARAM pMatrix[4] = { state.matrix.projection };\nPARAM mvMatrix[4] = { state.matrix.modelview };\nPARAM texMatrix[4] = { state.matrix.texture[0] };\nTEMP viewPos, viewNormal, fogFactor, depth, colour, ndotl;\nDP4 viewPos.x, mvMatrix[0], iPos;\nDP4 viewPos.y, mvMatrix[1], iPos;\nDP4 viewPos.z, mvMatrix[2], iPos;\nDP4 viewPos.w, mvMatrix[3], iPos;\nSUB fogFactor.x, -viewPos.z, fogParams.x;\nMUL fogFactor.x, fogFactor.x, 0.001953125;\nDP4 depth, waterPlane, viewPos;\nMAD fogFactor.y, -depth, fogParams.z, fogParams.w;\nSUB fogFactor.z, -viewPos.z, fogParams.y;\nMUL fogFactor.z, fogFactor.z, 0.00390625;\nMIN fogFactor, fogFactor, 1;\nMAX fogFactor, fogFactor, 0;\nMUL fogFactor.z, fogFactor.z, -depth;\nMAD viewPos.xyz, waterPlane.xyzw, fogFactor.zzzz, viewPos.xyzw;\nMAX oTexCoord1.xyz, fogFactor.xxxx, fogFactor.yyyy;\nMOV oTexCoord1.w, 1;\nDP3 viewNormal.x, mvMatrix[0], iNormal;\nDP3 viewNormal.y, mvMatrix[1], iNormal;\nDP3 viewNormal.z, mvMatrix[2], iNormal;\nDP3 ndotl.x, viewNormal, state.light[0].position;\nDP3 ndotl.y, viewNormal, state.light[1].position;\nMAX ndotl, ndotl, 0;\nMOV colour, state.lightmodel.ambient;\nMAD colour, state.light[0].diffuse, ndotl.xxxx, colour;\nMAD colour, state.light[1].diffuse, ndotl.yyyy, colour;\nMUL oColour, iColour, colour;\nDP4 oPos.x, pMatrix[0], viewPos;\nDP4 oPos.y, pMatrix[1], viewPos;\nDP4 oPos.z, pMatrix[2], viewPos;\nDP4 oPos.w, pMatrix[3], viewPos;\nMOV oFogCoord.x, viewPos.z;\nDP4 oTexCoord0.x, texMatrix[0], iTexCoord;\nDP4 oTexCoord0.y, texMatrix[1], iTexCoord;\nDP4 oTexCoord0.z, texMatrix[2], iTexCoord;\nMOV oTexCoord0.w, 1;\nEND\n", false)); - if (aClass171_6187 != null & (aClass171_6188 != null & aClass171_6196 != null & aClass171_6199 != null)) { - aClass258_Sub3_6194 = new Class258_Sub3(var_ha_Sub2, 3553, 6406, 2, 1, false, new byte[]{0, -1}, 6406, false); - aClass258_Sub3_6194.method1965(false, false, 10243); - aBoolean6198 = true; - } else aBoolean6198 = false; - } else aBoolean6198 = false; - } - - final void method2133(int i) { - if (i > -75) method2141(true); - anInt6186++; - if (aBoolean6193) { - OpenGL.glBindProgramARB(34336, 0); - OpenGL.glDisable(34820); - OpenGL.glDisable(34336); - aBoolean6193 = false; - } - this.aHa_Sub2_3684.method3738(-15039, 1); - this.aHa_Sub2_3684.method3771((byte) -97, null); - this.aHa_Sub2_3684.method3729(8448, (byte) -61, 8448); - this.aHa_Sub2_3684.method3762(5890, 768, (byte) -87, 0); - this.aHa_Sub2_3684.method3762(34166, 770, (byte) -87, 2); - this.aHa_Sub2_3684.method3775(false, 0, 770, 5890); - this.aHa_Sub2_3684.method3738(-15039, 0); - if (aBoolean6183) { - this.aHa_Sub2_3684.method3762(5890, 768, (byte) -87, 0); - this.aHa_Sub2_3684.method3775(false, 0, 770, 5890); - aBoolean6183 = false; - } - } - - final void method2136(int i, int i_6_, byte i_7_) { - anInt6195++; - if (i_7_ > -42) method2139(true, (byte) -81); - } - - final void method2140(Class258 class258, byte i, int i_8_) { - if (class258 == null) { - if (!aBoolean6183) { - this.aHa_Sub2_3684.method3771((byte) -114, (this.aHa_Sub2_3684.aClass258_Sub3_7827)); - this.aHa_Sub2_3684.method3761(0, 1); - this.aHa_Sub2_3684.method3762(34168, 768, (byte) -87, 0); - this.aHa_Sub2_3684.method3775(false, 0, 770, 34168); - aBoolean6183 = true; - } - } else { - if (aBoolean6183) { - this.aHa_Sub2_3684.method3762(5890, 768, (byte) -87, 0); - this.aHa_Sub2_3684.method3775(false, 0, 770, 5890); - aBoolean6183 = false; - } - this.aHa_Sub2_3684.method3771((byte) -105, class258); - this.aHa_Sub2_3684.method3761(0, i_8_); - } - if (i < -89) anInt6185++; - } -} diff --git a/client/src/Class286_Sub2.java b/client/src/Class286_Sub2.java deleted file mode 100644 index f9be936cd..000000000 --- a/client/src/Class286_Sub2.java +++ /dev/null @@ -1,96 +0,0 @@ -/* Class286_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class286_Sub2 extends Class286 { - static int anInt6203; - static int anInt6204; - static String[] aStringArray6205 = new String[200]; - static int anInt6206; - static int anInt6207; - static int anInt6208; - static int anInt6209; - static int anInt6210; - static int anInt6211; - static int anInt6212; - static int anInt6213; - - final void method2133(int i) { - if (i < -75) { - this.aHa_Sub2_3684.method3804(false, (byte) -61); - anInt6211++; - } - } - - static final void method2144(String string, int i, byte i_0_, int i_1_, String string_2_, String string_3_, String string_4_) { - do { - try { - Class318_Sub1_Sub3_Sub5.method2477(string, string_2_, (byte) -110, -1, string_3_, null, i, i_1_, string_4_); - anInt6203++; - if (i_0_ < -86) break; - aStringArray6205 = null; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("di.G(" + (string != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + i_1_ + ',' + (string_2_ != null ? "{...}" : "null") + ',' + (string_3_ != null ? "{...}" : "null") + ',' + (string_4_ != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - Class286_Sub2(ha_Sub2 var_ha_Sub2) { - super(var_ha_Sub2); - } - - static final void method2145(int i) { - anInt6210++; - Class368.anInt4494++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class59_Sub1.aClass351_5288, Class348_Sub23_Sub2.aClass77_9029, -124); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, Class348_Sub42_Sub12.method3229(-96)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, Class321.anInt4017); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, Class348_Sub42_Sub8_Sub2.anInt10432); - if (i != -24498) aStringArray6205 = null; - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, Class316.aClass348_Sub51_3959.aClass239_Sub20_7248.method1808(-32350)); - Class348_Sub42_Sub14.method3243(-101, class348_sub47); - } - - final void method2140(Class258 class258, byte i, int i_5_) { - anInt6206++; - this.aHa_Sub2_3684.method3771((byte) -80, class258); - if (i >= -89) method2136(-67, -39, (byte) 18); - this.aHa_Sub2_3684.method3761(0, i_5_); - } - - static final void method2146(byte i) { - int i_6_ = 34 % ((i - 32) / 38); - anInt6213++; - Class348_Sub42_Sub19.method3277((byte) -48); - Class5_Sub1.aBoolean8335 = false; - Class13.method226(Class135_Sub1.anInt4717, Class63.anInt1117, Class348_Sub42_Sub5.anInt9532, 0, Class237_Sub1.anInt5819); - } - - final void method2136(int i, int i_7_, byte i_8_) { - anInt6209++; - if (i_8_ > -42) method2133(35); - } - - final boolean method2137(int i) { - anInt6208++; - if (i > -5) anInt6212 = 1; - return true; - } - - public static void method2147(int i) { - if (i != -1) anInt6212 = -79; - aStringArray6205 = null; - } - - final void method2134(boolean bool, boolean bool_9_) { - this.aHa_Sub2_3684.method3804(true, (byte) -83); - if (bool_9_ != false) method2136(-78, 73, (byte) 12); - anInt6204++; - } - - final void method2139(boolean bool, byte i) { - int i_10_ = 23 / ((-60 - i) / 38); - anInt6207++; - } -} diff --git a/client/src/Class286_Sub3.java b/client/src/Class286_Sub3.java deleted file mode 100644 index 6bb5f10c0..000000000 --- a/client/src/Class286_Sub3.java +++ /dev/null @@ -1,368 +0,0 @@ -/* Class286_Sub3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -import java.util.Calendar; -import java.util.TimeZone; - -final class Class286_Sub3 extends Class286 { - static int anInt6214; - static int anInt6215; - static int anInt6216; - static int anInt6217; - private float[] aFloatArray6218; - private int anInt6219; - private Class171 aClass171_6220; - static Calendar aCalendar6221 = Calendar.getInstance(TimeZone.getTimeZone("GMT")); - private Class61 aClass61_6222; - static int anInt6223; - static int anInt6224; - private float aFloat6225; - static int anInt6226; - private final Class83 aClass83_6227; - static int[] anIntArray6228; - static int anInt6229; - static int anInt6230; - static int anInt6231; - static int anInt6232; - - final void method2136(int i, int i_0_, byte i_1_) { - anInt6224++; - if (aClass61_6222 != null) { - if (i_1_ >= -42) method2149(-65); - this.aHa_Sub2_3684.method3738(-15039, 1); - if ((i & 0x80) != 0) this.aHa_Sub2_3684.method3771((byte) -122, null); - else if ((0x1 & i_0_) != 1) { - if (!aClass83_6227.aBoolean1442) this.aHa_Sub2_3684.method3771((byte) -84, aClass83_6227.aClass258_Sub3Array1444[0]); - else this.aHa_Sub2_3684.method3771((byte) -97, aClass83_6227.aClass258_Sub1_1440); - OpenGL.glProgramLocalParameter4fARB(34336, 65, 0.0F, 0.0F, 0.0F, 1.0F); - } else if (aClass83_6227.aBoolean1442) { - this.aHa_Sub2_3684.method3771((byte) -83, aClass83_6227.aClass258_Sub1_1440); - OpenGL.glProgramLocalParameter4fARB(34336, 65, aFloat6225, 0.0F, 0.0F, 1.0F); - } else { - int i_2_ = (this.aHa_Sub2_3684.anInt7735 % 4000 * 16 / 4000); - this.aHa_Sub2_3684.method3771((byte) -88, aClass83_6227.aClass258_Sub3Array1444[i_2_]); - OpenGL.glProgramLocalParameter4fARB(34336, 65, 0.0F, 0.0F, 0.0F, 1.0F); - } - this.aHa_Sub2_3684.method3738(-15039, 0); - if ((0x40 & i) == 0) { - Class348_Sub42_Sub1.aFloatArray9491[2] = (this.aHa_Sub2_3684.aFloat7823 * (this.aHa_Sub2_3684.aFloat7768)); - Class348_Sub42_Sub1.aFloatArray9491[0] = (this.aHa_Sub2_3684.aFloat7781 * (this.aHa_Sub2_3684.aFloat7768)); - Class348_Sub42_Sub1.aFloatArray9491[1] = (this.aHa_Sub2_3684.aFloat7768 * (this.aHa_Sub2_3684.aFloat7816)); - OpenGL.glProgramLocalParameter4fvARB(34336, 66, (Class348_Sub42_Sub1.aFloatArray9491), 0); - } else OpenGL.glProgramLocalParameter4fARB(34336, 66, 1.0F, 1.0F, 1.0F, 1.0F); - int i_3_ = i & 0x3; - if (i_3_ == 2) OpenGL.glProgramLocalParameter4fARB(34336, 64, 0.05F, 1.0F, 1.0F, 1.0F); - else if (i_3_ == 3) OpenGL.glProgramLocalParameter4fARB(34336, 64, 0.1F, 1.0F, 1.0F, 1.0F); - else OpenGL.glProgramLocalParameter4fARB(34336, 64, 0.025F, 1.0F, 1.0F, 1.0F); - } - } - - final void method2140(Class258 class258, byte i, int i_4_) { - if (i <= -89) { - anInt6216++; - this.aHa_Sub2_3684.method3771((byte) -115, class258); - this.aHa_Sub2_3684.method3761(0, i_4_); - } - } - - static final Class348_Sub47 method2148(Class351 class351, Class77 class77, int i) { - try { - anInt6230++; - Class348_Sub47 class348_sub47 = Class300.method2273((byte) -103); - if (i >= -80) aCalendar6221 = null; - class348_sub47.anInt7122 = class351.anInt4323; - class348_sub47.aClass351_7118 = class351; - if (class348_sub47.anInt7122 != -1) { - if (class348_sub47.anInt7122 == -2) class348_sub47.aClass348_Sub49_Sub2_7116 = new Class348_Sub49_Sub2(10000); - else if (class348_sub47.anInt7122 <= 18) class348_sub47.aClass348_Sub49_Sub2_7116 = new Class348_Sub49_Sub2(20); - else if (class348_sub47.anInt7122 <= 98) class348_sub47.aClass348_Sub49_Sub2_7116 = new Class348_Sub49_Sub2(100); - else class348_sub47.aClass348_Sub49_Sub2_7116 = new Class348_Sub49_Sub2(260); - } else class348_sub47.aClass348_Sub49_Sub2_7116 = new Class348_Sub49_Sub2(260); - class348_sub47.aClass348_Sub49_Sub2_7116.method3416(-17, class77); - - if (Loader.debug) { - System.out.println("Encode packet " + class348_sub47.aClass351_7118.method3456(200)); - } - class348_sub47.aClass348_Sub49_Sub2_7116.method3408(class348_sub47.aClass351_7118.method3456(200), 18676); - class348_sub47.anInt7119 = 0; - return class348_sub47; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("em.C(" + (class351 != null ? "{...}" : "null") + ',' + (class77 != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - Class286_Sub3(ha_Sub2 var_ha_Sub2, Class83 class83) { - super(var_ha_Sub2); - do { - try { - aClass83_6227 = class83; - if (!this.aHa_Sub2_3684.aBoolean7841 || (this.aHa_Sub2_3684.anInt7795 < 2)) break; - aClass171_6220 = (Class50.method459(34336, this.aHa_Sub2_3684, "!!ARBvp1.0\nOPTION ARB_position_invariant;\nATTRIB iPos = vertex.position;\nATTRIB iColour = vertex.color;\nATTRIB iTexCoord = vertex.texcoord[0];\nOUTPUT oColour = result.color;\nOUTPUT oTexCoord0 = result.texcoord[0];\nOUTPUT oTexCoord1 = result.texcoord[1];\nOUTPUT oFogCoord = result.fogcoord;\nPARAM time = program.local[65];\nPARAM turbulence = program.local[64];\nPARAM lightAmbient = program.local[66]; \nPARAM pMatrix[4] = { state.matrix.projection };\nPARAM mvMatrix[4] = { state.matrix.modelview };\nPARAM ivMatrix[4] = { state.matrix.texture[1] };\nPARAM texMatrix[4] = { state.matrix.texture[0] };\nPARAM fNoise[64] = { program.local[0..63] };\nTEMP noise, viewPos, worldPos, texCoord;\nADDRESS noiseAddr;\nDP4 viewPos.x, mvMatrix[0], iPos;\nDP4 viewPos.y, mvMatrix[1], iPos;\nDP4 viewPos.z, mvMatrix[2], iPos;\nDP4 viewPos.w, mvMatrix[3], iPos;\nMOV oFogCoord.x, -viewPos.z;\nDP4 worldPos.x, ivMatrix[0], viewPos;\nDP4 worldPos.y, ivMatrix[1], viewPos;\nDP4 worldPos.z, ivMatrix[2], viewPos;\nDP4 worldPos.w, ivMatrix[3], viewPos;\nADD noise.x, worldPos.x, worldPos.z;SUB noise.y, worldPos.z, worldPos.x;MUL noise, noise, 0.0001220703125;\nFRC noise, noise;\nMUL noise, noise, 64;\nARL noiseAddr.x, noise.x;\nMOV noise.x, fNoise[noiseAddr.x].x;\nARL noiseAddr.x, noise.y;\nMOV noise.y, fNoise[noiseAddr.x].y;\nMUL noise, noise, turbulence.x;\nDP4 texCoord.x, texMatrix[0], iTexCoord;\nDP4 texCoord.y, texMatrix[1], iTexCoord;\nADD oTexCoord0.xy, texCoord, noise;\nMOV oTexCoord0.z, 0;\nMOV oTexCoord0.w, 1;\nMUL oTexCoord1.xy, texCoord, 0.125;\nMOV oTexCoord1.zw, time.xxxw;\nMUL oColour.xyz, iColour, lightAmbient;\nMOV oColour.w, iColour.w;\nEND", false)); - if (aClass171_6220 != null) { - int[][] is = Class348_Sub49_Sub2.method3413(4, 3, 64, 4, 256, true, 0, 0.4F, false); - int[][] is_5_ = Class348_Sub49_Sub2.method3413(4, 3, 64, 4, 256, true, 8, 0.4F, false); - aFloatArray6218 = new float[32768]; - int i = 0; - for (int i_6_ = 0; i_6_ < 256; i_6_++) { - int[] is_7_ = is[i_6_]; - int[] is_8_ = is_5_[i_6_]; - for (int i_9_ = 0; i_9_ < 64; i_9_++) { - aFloatArray6218[i++] = (float) is_7_[i_9_] / 4096.0F; - aFloatArray6218[i++] = (float) is_8_[i_9_] / 4096.0F; - } - } - method2149(-25); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("em.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + (class83 != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - private final void method2149(int i) { - anInt6217++; - aClass61_6222 = new Class61(this.aHa_Sub2_3684, 2); - aClass61_6222.method595((byte) 103, 0); - this.aHa_Sub2_3684.method3738(-15039, 1); - this.aHa_Sub2_3684.method3808(-16777216, 118); - this.aHa_Sub2_3684.method3729(260, (byte) 114, 7681); - this.aHa_Sub2_3684.method3775(false, 0, 770, 34166); - this.aHa_Sub2_3684.method3738(-15039, 0); - OpenGL.glBindProgramARB(34336, aClass171_6220.anInt2270); - OpenGL.glEnable(34336); - aClass61_6222.method591(-1); - aClass61_6222.method595((byte) 127, 1); - int i_10_ = 65 / ((i - 62) / 49); - this.aHa_Sub2_3684.method3738(-15039, 1); - OpenGL.glMatrixMode(5890); - OpenGL.glLoadIdentity(); - OpenGL.glMatrixMode(5888); - this.aHa_Sub2_3684.method3761(0, 0); - this.aHa_Sub2_3684.method3775(false, 0, 770, 5890); - this.aHa_Sub2_3684.method3738(-15039, 0); - OpenGL.glBindProgramARB(34336, 0); - OpenGL.glDisable(34336); - OpenGL.glDisable(34820); - aClass61_6222.method591(-1); - } - - final boolean method2137(int i) { - if (i >= -5) return true; - anInt6215++; - return true; - } - - final void method2133(int i) { - anInt6231++; - if (aClass61_6222 != null) { - if (i >= -75) method2134(true, false); - aClass61_6222.method594('\001', 28666); - this.aHa_Sub2_3684.method3738(-15039, 1); - this.aHa_Sub2_3684.method3771((byte) -103, null); - this.aHa_Sub2_3684.method3738(-15039, 0); - } - } - - final void method2134(boolean bool, boolean bool_11_) { - anInt6232++; - if (aClass61_6222 != null) { - aClass61_6222.method594('\0', 28666); - this.aHa_Sub2_3684.method3738(-15039, 1); - OpenGL.glMatrixMode(5890); - if (bool_11_ == false) { - OpenGL.glLoadMatrixf(this.aHa_Sub2_3684.aClass101_Sub3_7767.method940(1), 0); - OpenGL.glMatrixMode(5888); - this.aHa_Sub2_3684.method3738(-15039, 0); - if (this.aHa_Sub2_3684.anInt7735 != anInt6219) { - int i = ((this.aHa_Sub2_3684.anInt7735) % 5000 * 128 / 5000); - for (int i_12_ = 0; i_12_ < 64; i_12_++) { - OpenGL.glProgramLocalParameter4fvARB(34336, i_12_, aFloatArray6218, i); - i += 2; - } - if (aClass83_6227.aBoolean1442) aFloat6225 = (float) (this.aHa_Sub2_3684.anInt7735 % 4000) / 4000.0F; - else OpenGL.glProgramLocalParameter4fARB(34336, 65, 0.0F, 0.0F, 0.0F, 1.0F); - anInt6219 = (this.aHa_Sub2_3684.anInt7735); - } - } - } - } - - final void method2139(boolean bool, byte i) { - int i_13_ = 22 % ((-60 - i) / 38); - anInt6229++; - } - - static final void method2150(boolean bool, boolean bool_14_, Npc npc) { - anInt6226++; - if (Class73.anInt4776 < 400) { - Class79 class79 = (npc.aClass79_10505); - if (class79.anIntArray1377 != null) { - class79 = class79.method794((Class318_Sub1_Sub3_Sub3.aClass170_10209), -1); - if (class79 == null) return; - } - if (class79.aBoolean1396) { - String string = class79.aString1372; - if (class79.anInt1361 != 0) { - String string_15_ = ((Class14_Sub4.aClass230_8638 != Class348_Sub42_Sub8_Sub2.aClass230_10434) ? Class274.aClass274_3511.method2063(Class348_Sub33.anInt6967, 544) : Class274.aClass274_3513.method2063(Class348_Sub33.anInt6967, 544)); - string += ((Class14_Sub4.method250((Class132.aPlayer_1907.anInt10516), true, class79.anInt1361)) + " (" + string_15_ + class79.anInt1361 + ")"); - } - if (r.aBoolean9722 && !bool) { - Class254 class254 = (Class246.anInt3176 == -1 ? null : Class101_Sub3.aClass326_5764.method2600(Class246.anInt3176, 28364)); - if ((Class38.anInt500 & 0x2) != 0 && (class254 == null || (class79.method805((class254.anInt3256), Class246.anInt3176, 61) != class254.anInt3256))) { - Class50_Sub3.method466(false, Class28.aString5000 + " -> " + string, 0, (byte) -81, false, 0, -1, true, 30, npc.anInt10290, Class28.aString5001, npc.anInt10290, Class348_Sub49_Sub1.anInt9747); - Class193.anInt2586++; - } - } - if (!bool) { - String[] strings = class79.aStringArray1349; - if (za_Sub2.aBoolean9783) strings = Class239_Sub28.method1847(strings, 0); - if (strings != null) { - for (int i = 4; i >= 0; i--) { - if (strings[i] != null && (class79.aByte1384 == 0 || !(strings[i].equalsIgnoreCase(Class274.aClass274_3506.method2063(Class348_Sub33.anInt6967, 544))))) { - int i_16_ = 0; - if (i == 0) i_16_ = 25; - int i_17_ = Class38.anInt506; - if (i == 1) i_16_ = 20; - if (i == 2) i_16_ = 44; - if (i == 3) i_16_ = 46; - if (class79.anInt1335 == i) i_17_ = class79.anInt1371; - if (i == 4) i_16_ = 60; - if (i == class79.anInt1385) i_17_ = class79.anInt1338; - Class229.anInt2976++; - Class50_Sub3.method466(false, "" + string, 0, (byte) -93, false, 0, -1, true, i_16_, npc.anInt10290, strings[i], npc.anInt10290, (!(strings[i].equalsIgnoreCase(Class274.aClass274_3506.method2063(Class348_Sub33.anInt6967, 544))) ? i_17_ : class79.anInt1401)); - } - } - } - if (class79.aByte1384 == 1 && strings != null) { - for (int i = 4; i >= 0; i--) { - if (strings[i] != null && (strings[i].equalsIgnoreCase(Class274.aClass274_3506.method2063(Class348_Sub33.anInt6967, 544)))) { - short i_18_ = 0; - if ((Class132.aPlayer_1907.anInt10516) < class79.anInt1361) i_18_ = (short) 2000; - short i_19_ = 0; - if (i == 0) i_19_ = (short) 25; - if (i == 1) i_19_ = (short) 20; - if (i == 2) i_19_ = (short) 44; - if (i == 3) i_19_ = (short) 46; - if (i == 4) i_19_ = (short) 60; - if (i_19_ != 0) i_19_ += i_18_; - Class368.anInt4510++; - Class50_Sub3.method466(false, "" + string, 0, (byte) -101, false, 0, -1, true, i_19_, npc.anInt10290, strings[i], npc.anInt10290, class79.anInt1401); - } - } - } - } - Class205.anInt2690++; - int npcX = (npc.x >> 9) + za_Sub2.regionTileX - npc.aClass79_10505.anInt1399 + 1; - int npcY = (npc.y >> 9) + Class90.regionTileY - npc.aClass79_10505.anInt1399 + 1; - Class50_Sub3.method466(bool, "" + string + Loader.getDebug(class79.anInt1344, npcX, npcY, npc.plane), 0, (byte) -105, bool_14_, 0, -1, true, 1008, npc.anInt10290, Class274.aClass274_3505.method2063(Class348_Sub33.anInt6967, 544), npc.anInt10290, Class286_Sub8.anInt6299); - } - } - } - - public static void method2151(int i) { - anIntArray6228 = null; - if (i > -72) method2148(null, null, 77); - aCalendar6221 = null; - } - - static final void method2152(boolean bool) { - for (int i = 0; i < Class69.anInt1200; i++) - Class318_Sub1_Sub3_Sub4.aClass338Array10330[i] = null; - anInt6223++; - Class69.anInt1200 = 0; - for (int i = 0; Class189.anInt2524 > i; i++) { - for (int i_20_ = 0; i_20_ < Class318_Sub7.anInt6451; i_20_++) { - for (int i_21_ = 0; (i_21_ < Class348_Sub41.anInt7054); i_21_++) { - Class357 class357 = (Class147.aClass357ArrayArrayArray2029[i][i_21_][i_20_]); - if (class357 != null) { - if (class357.aShort4398 > 0) class357.aShort4398 *= -1; - if (class357.aShort4409 > 0) class357.aShort4409 *= -1; - } - } - } - } - if (bool != false) anIntArray6228 = null; - for (int i = 0; Class189.anInt2524 > i; i++) { - for (int i_22_ = 0; i_22_ < Class318_Sub7.anInt6451; i_22_++) { - for (int i_23_ = 0; Class348_Sub41.anInt7054 > i_23_; i_23_++) { - Class357 class357 = (Class147.aClass357ArrayArrayArray2029[i][i_23_][i_22_]); - if (class357 != null) { - boolean bool_24_ = ((Class147.aClass357ArrayArrayArray2029[0][i_23_][i_22_]) != null && (Class147.aClass357ArrayArrayArray2029[0][i_23_][i_22_].aClass357_4400) != null); - if (class357.aShort4409 < 0) { - int i_25_ = i_22_; - int i_26_ = i_22_; - int i_27_ = i; - int i_28_ = i; - Class357 class357_29_ = (Class147.aClass357ArrayArrayArray2029[i][i_23_][i_25_ + -1]); - int i_30_; - for (i_30_ = (Class348_Sub1_Sub1.aSArray8801[i].method3982((byte) -86, i_22_, i_23_)); (i_25_ > 0 && class357_29_ != null && class357_29_.aShort4409 < 0 && (class357_29_.aShort4409 == class357.aShort4409) && (class357.aShort4401 == class357_29_.aShort4401) && ((Class348_Sub1_Sub1.aSArray8801[i].method3982((byte) -86, -1 + i_25_, i_23_)) == i_30_)); class357_29_ = (Class147.aClass357ArrayArrayArray2029[i][i_23_][i_25_ + -1])) { - if (-1 + i_25_ > 0 && i_30_ != (Class348_Sub1_Sub1.aSArray8801[i].method3982((byte) -86, i_25_ + -2, i_23_))) break; - i_25_--; - } - for (class357_29_ = (Class147.aClass357ArrayArrayArray2029[i][i_23_][1 + i_26_]); ((Class348_Sub41.anInt7054 > i_26_) && class357_29_ != null && class357_29_.aShort4409 < 0 && (class357_29_.aShort4409 == class357.aShort4409) && (class357.aShort4401 == class357_29_.aShort4401) && i_30_ == (Class348_Sub1_Sub1.aSArray8801[i].method3982((byte) -86, i_26_ - -1, i_23_))); class357_29_ = (Class147.aClass357ArrayArrayArray2029[i][i_23_][i_26_ + 1])) { - if ((Class348_Sub41.anInt7054 > 1 + i_26_) && i_30_ != (Class348_Sub1_Sub1.aSArray8801[i].method3982((byte) -86, i_26_ + 2, i_23_))) break; - i_26_++; - } - int i_31_ = 1 + (-i_27_ + i_28_); - int i_32_ = Class348_Sub1_Sub1.aSArray8801[bool_24_ ? 1 + i_27_ : i_27_].method3982((byte) -86, i_25_, i_23_); - int i_33_ = (class357.aShort4409 * i_31_ + i_32_); - int i_34_ = (Class348_Sub1_Sub1.aSArray8801[!bool_24_ ? i_27_ : i_27_ + 1].method3982((byte) -86, 1 + i_26_, i_23_)); - int i_35_ = (i_34_ - -(i_31_ * class357.aShort4409)); - int i_36_ = i_23_ << Class362.anInt4459; - int i_37_ = i_25_ << Class362.anInt4459; - int i_38_ = (Class270.anInt3465 + (i_26_ << Class362.anInt4459)); - Class318_Sub1_Sub3_Sub4.aClass338Array10330[Class69.anInt1200++] = (new Class338(1, i_28_, class357.aShort4401 + i_36_, class357.aShort4401 + i_36_, class357.aShort4401 + i_36_, class357.aShort4401 + i_36_, i_32_, i_34_, i_35_, i_33_, i_37_, i_38_, i_38_, i_37_)); - for (int i_39_ = i_27_; i_28_ >= i_39_; i_39_++) { - for (int i_40_ = i_25_; i_26_ >= i_40_; i_40_++) - Class147.aClass357ArrayArrayArray2029[i_39_][i_23_][i_40_].aShort4409 *= -1; - } - } - if (class357.aShort4398 < 0) { - int i_41_ = i_23_; - int i_42_ = i_23_; - int i_43_ = i; - int i_44_ = i; - Class357 class357_45_ = (Class147.aClass357ArrayArrayArray2029[i][i_41_ - 1][i_22_]); - int i_46_; - for (i_46_ = (Class348_Sub1_Sub1.aSArray8801[i].method3982((byte) -86, i_22_, i_23_)); (i_41_ > 0 && class357_45_ != null && class357_45_.aShort4398 < 0 && (class357.aShort4398 == class357_45_.aShort4398) && (class357.aShort4397 == class357_45_.aShort4397) && ((Class348_Sub1_Sub1.aSArray8801[i].method3982((byte) -86, i_22_, -1 + i_41_)) == i_46_)); class357_45_ = (Class147.aClass357ArrayArrayArray2029[i][i_41_ - 1][i_22_])) { - if (i_41_ + -1 > 0 && ((Class348_Sub1_Sub1.aSArray8801[i].method3982((byte) -86, i_22_, -2 + i_41_)) != i_46_)) break; - i_41_--; - } - for (class357_45_ = (Class147.aClass357ArrayArrayArray2029[i][i_42_ - -1][i_22_]); (i_42_ < Class318_Sub7.anInt6451 && class357_45_ != null && class357_45_.aShort4398 < 0 && (class357.aShort4398 == class357_45_.aShort4398) && (class357_45_.aShort4397 == class357.aShort4397) && ((Class348_Sub1_Sub1.aSArray8801[i].method3982((byte) -86, i_22_, i_42_ + 1)) == i_46_)); class357_45_ = (Class147.aClass357ArrayArrayArray2029[i][1 + i_42_][i_22_])) { - if (Class318_Sub7.anInt6451 > i_42_ + 1 && ((Class348_Sub1_Sub1.aSArray8801[i].method3982((byte) -86, i_22_, 2 + i_42_)) != i_46_)) break; - i_42_++; - } - int i_47_ = 1 + -i_43_ + i_44_; - int i_48_ = Class348_Sub1_Sub1.aSArray8801[!bool_24_ ? i_43_ : 1 + i_43_].method3982((byte) -86, i_22_, i_41_); - int i_49_ = (i_48_ - -(i_47_ * class357.aShort4398)); - int i_50_ = (Class348_Sub1_Sub1.aSArray8801[!bool_24_ ? i_43_ : 1 + i_43_].method3982((byte) -86, i_22_, 1 + i_42_)); - int i_51_ = (class357.aShort4398 * i_47_ + i_50_); - int i_52_ = i_41_ << Class362.anInt4459; - int i_53_ = ((i_42_ << Class362.anInt4459) + Class270.anInt3465); - int i_54_ = i_22_ << Class362.anInt4459; - Class318_Sub1_Sub3_Sub4.aClass338Array10330[Class69.anInt1200++] = (new Class338(2, i_44_, i_52_, i_53_, i_53_, i_52_, i_48_, i_50_, i_51_, i_49_, i_54_ + class357.aShort4397, i_54_ + class357.aShort4397, class357.aShort4397 + i_54_, (i_54_ - -class357.aShort4397))); - for (int i_55_ = i_43_; i_55_ <= i_44_; i_55_++) { - for (int i_56_ = i_41_; (i_42_ >= i_56_); i_56_++) - Class147.aClass357ArrayArrayArray2029[i_55_][i_56_][i_22_].aShort4398 *= -1; - } - } - } - } - } - } - Class50_Sub1.aBoolean5226 = true; - } - - static final void method2153(int i) { - anInt6214++; - if (!Class160.aBoolean2130 && i <= -37) { - Class160.aBoolean2130 = true; - Class205.aFloat2687 += (-Class205.aFloat2687 + 24.0F) / 2.0F; - Class369_Sub3_Sub1.aBoolean10174 = true; - } - } -} diff --git a/client/src/Class286_Sub4.java b/client/src/Class286_Sub4.java deleted file mode 100644 index 68344c810..000000000 --- a/client/src/Class286_Sub4.java +++ /dev/null @@ -1,157 +0,0 @@ -/* Class286_Sub4 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -final class Class286_Sub4 extends Class286 { - private boolean aBoolean6233; - private Class337 aClass337_6234; - static int anInt6235; - static int anInt6236; - private boolean aBoolean6237 = false; - static int anInt6238; - static int anInt6239; - static int anInt6240; - static int anInt6241; - private final Class83 aClass83_6242; - static int anInt6243; - static Class351 aClass351_6244 = new Class351(9, 8); - static int anInt6245; - static int anInt6246; - - final void method2140(Class258 class258, byte i, int i_0_) { - if (!aBoolean6233) { - this.aHa_Sub2_3684.method3771((byte) -124, class258); - this.aHa_Sub2_3684.method3761(0, i_0_); - } - anInt6240++; - if (i > -89) anInt6246 = 45; - } - - final void method2133(int i) { - anInt6236++; - if (i >= -75) method2137(-39); - if (aBoolean6233) { - this.aHa_Sub2_3684.method3738(-15039, 1); - this.aHa_Sub2_3684.method3771((byte) -92, null); - this.aHa_Sub2_3684.method3738(-15039, 0); - this.aHa_Sub2_3684.method3771((byte) -123, null); - OpenGL.glUseProgramObjectARB(0L); - aBoolean6233 = false; - } - } - - static final int method2154(int i) { - int i_1_ = -1; - for (int i_2_ = 0; i_2_ < Class75_Sub1.anInt5652 - 1; i_2_++) { - if (i < (Class17.anIntArray256[i_2_] + Class345.anIntArray4271[i_2_])) { - i_1_ = i_2_; - break; - } - } - if (i_1_ == -1) i_1_ = Class75_Sub1.anInt5652 - 1; - return i_1_; - } - - static final int method2155(int i, byte i_3_) { - if (i_3_ != 43) return -54; - i = (i & 0x55555555) + ((~0x55555554 & i) >>> 1); - anInt6241++; - i = (0x33333333 & i >>> 2) + (0x33333333 & i); - i = 0xf0f0f0f & (i >>> 4) + i; - i += i >>> 8; - i += i >>> 16; - return i & 0xff; - } - - public static void method2156(int i) { - aClass351_6244 = null; - if (i <= 57) aClass351_6244 = null; - } - - final void method2134(boolean bool, boolean bool_4_) { - if (bool_4_ != false) aBoolean6237 = false; - anInt6235++; - Class258_Sub2 class258_sub2 = this.aHa_Sub2_3684.method3741(444720536); - if (aBoolean6237 && class258_sub2 != null) { - float f = 2.0F * (-Math.abs(this.aHa_Sub2_3684.aFloatArray7825[1]) + 1.0F) + 1.0F; - this.aHa_Sub2_3684.method3738(-15039, 1); - this.aHa_Sub2_3684.method3771((byte) -114, class258_sub2); - this.aHa_Sub2_3684.method3738(-15039, 0); - this.aHa_Sub2_3684.method3771((byte) -87, (aClass83_6242.aClass258_Sub1_1443)); - long l = aClass337_6234.aLong4178; - OpenGL.glUseProgramObjectARB(l); - OpenGL.glUniform1iARB(OpenGL.glGetUniformLocationARB(l, "normalSampler"), 0); - OpenGL.glUniform1iARB(OpenGL.glGetUniformLocationARB(l, "envMapSampler"), 1); - OpenGL.glUniform3fARB(OpenGL.glGetUniformLocationARB(l, "sunDir"), -(this.aHa_Sub2_3684.aFloatArray7825[0]), -(this.aHa_Sub2_3684.aFloatArray7825[1]), -(this.aHa_Sub2_3684.aFloatArray7825[2])); - OpenGL.glUniform4fARB(OpenGL.glGetUniformLocationARB(l, "sunColour"), this.aHa_Sub2_3684.aFloat7781 * f, this.aHa_Sub2_3684.aFloat7816 * f, this.aHa_Sub2_3684.aFloat7823 * f, 1.0F); - OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "sunExponent"), 64.0F + 928.0F * Math.abs(this.aHa_Sub2_3684.aFloatArray7825[1])); - aBoolean6233 = true; - } - } - - final void method2139(boolean bool, byte i) { - int i_5_ = 126 / ((i - -60) / 38); - anInt6239++; - } - - Class286_Sub4(ha_Sub2 var_ha_Sub2, Class83 class83) { - super(var_ha_Sub2); - aBoolean6233 = false; - do { - try { - aClass83_6242 = class83; - if (aClass83_6242.aClass258_Sub1_1443 == null || !(this.aHa_Sub2_3684.aBoolean7791) || !(this.aHa_Sub2_3684.aBoolean7783)) break; - Class242 class242 = (Class348_Sub42_Sub15.method3249(35633, -21, this.aHa_Sub2_3684, "uniform float time;\nuniform float scale;\nvarying vec3 wvVertex;\nvarying float waterDepth;\nvoid main() {\nwaterDepth = gl_MultiTexCoord0.z;\nvec4 ecVertex = gl_ModelViewMatrix*gl_Vertex;\nwvVertex.x = dot(gl_NormalMatrix[0], ecVertex.xyz);\nwvVertex.y = dot(gl_NormalMatrix[1], ecVertex.xyz);\nwvVertex.z = dot(gl_NormalMatrix[2], ecVertex.xyz);\ngl_TexCoord[0].x = dot(gl_TextureMatrix[0][0], gl_MultiTexCoord0)*scale;\ngl_TexCoord[0].y = dot(gl_TextureMatrix[0][1], gl_MultiTexCoord0)*scale;\ngl_TexCoord[0].z = time;\ngl_TexCoord[0].w = 1.0;\ngl_FogFragCoord = 1.0-clamp((gl_Fog.end+ecVertex.z)*gl_Fog.scale, 0.0, 1.0);\ngl_Position = ftransform();\n}\n")); - Class242 class242_6_ = (Class348_Sub42_Sub15.method3249(35632, -53, this.aHa_Sub2_3684, "varying vec3 wvVertex;\nvarying float waterDepth;\nuniform vec3 sunDir;\nuniform vec4 sunColour;\nuniform float sunExponent;\nuniform vec2 waveIntensity;\nuniform float waveExponent;\nuniform float breakWaterDepth;\nuniform float breakWaterOffset;\nuniform sampler3D normalSampler;\nuniform samplerCube envMapSampler;\nvoid main() {\nvec4 wnNormal = texture3D(normalSampler, gl_TexCoord[0].xyz).rbga;\nwnNormal.xyz = 2.0*wnNormal.xyz-1.0;\nvec3 wnVector = normalize(wvVertex);\nvec3 wnReflection = reflect(wnVector, wnNormal.xyz);\nvec3 envColour = textureCube(envMapSampler, wnReflection).rgb;\nvec4 specularColour = sunColour*pow(clamp(-dot(sunDir, wnReflection), 0.0, 1.0), sunExponent);\nfloat shoreFactor = clamp(waterDepth/breakWaterDepth-breakWaterOffset*wnNormal.w, 0.0, 1.0);\nfloat waveFactor = pow(1.0-shoreFactor, waveExponent)-0.5;\nwaveFactor = -4.0*waveFactor*waveFactor+1.0;\nfloat ndote = dot(wnVector, wnNormal.xyz);\nfloat fresnel = pow(1.0-abs(ndote), 1.0);\nvec4 surfaceColour = mix(vec4(envColour, fresnel*shoreFactor), (waveIntensity.x*wnNormal.wwww)+waveIntensity.y, waveFactor)+specularColour*shoreFactor;\ngl_FragColor = vec4(mix(surfaceColour.rgb, gl_Fog.color.rgb, gl_FogFragCoord), surfaceColour.a);\n}\n")); - aClass337_6234 = Class318_Sub1_Sub5_Sub2.method2493((this.aHa_Sub2_3684), -1, (new Class242[]{class242, class242_6_})); - aBoolean6237 = aClass337_6234 != null; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("er.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + (class83 != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - final void method2136(int i, int i_7_, byte i_8_) { - if (aBoolean6233) { - int i_9_ = 1 << (0x3 & i); - float f = (float) (1 << (0x7 & i >> 3)) / 32.0F; - int i_10_ = i_7_ & 0xffff; - float f_11_ = (float) (0x3 & i_7_ >> 16) / 8.0F; - float f_12_ = (float) ((i_7_ & 0x7c05fa) >> 19) / 16.0F; - float f_13_ = (float) ((0x784c903 & i_7_) >> 23) / 16.0F; - int i_14_ = (0x79631502 & i_7_) >> 27; - long l = aClass337_6234.aLong4178; - OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "time"), (float) (i_9_ * (this.aHa_Sub2_3684.anInt7735) % 40000) / 40000.0F); - OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "scale"), f); - OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "breakWaterDepth"), (float) i_10_); - OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "breakWaterOffset"), f_11_); - OpenGL.glUniform2fARB(OpenGL.glGetUniformLocationARB(l, "waveIntensity"), f_13_, f_12_); - OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "waveExponent"), (float) i_14_); - } - anInt6243++; - if (i_8_ > -42) method2140(null, (byte) -69, -63); - } - - static final String method2157(int i, int i_15_) { - anInt6238++; - if (i_15_ != -1431655765) method2157(-27, 75); - Class348_Sub15 class348_sub15 = ((Class348_Sub15) Class27.aClass356_389.method3480(i, -6008)); - if (class348_sub15 != null) { - Class348_Sub23_Sub4 class348_sub23_sub4 = class348_sub15.aClass55_Sub1_6768.method513(i_15_ + 1431655815); - if (class348_sub23_sub4 != null) { - double d = class348_sub15.aClass55_Sub1_6768.method519(i_15_ ^ 0x55555524); - if ((double) class348_sub23_sub4.method2983((byte) 85) <= d && d <= (double) class348_sub23_sub4.method2984((byte) 97)) return class348_sub23_sub4.method2989(9); - } - } - return null; - } - - final boolean method2137(int i) { - anInt6245++; - if (i >= -5) method2136(94, 3, (byte) 11); - return aBoolean6237; - } -} diff --git a/client/src/Class286_Sub5.java b/client/src/Class286_Sub5.java deleted file mode 100644 index 1681f40db..000000000 --- a/client/src/Class286_Sub5.java +++ /dev/null @@ -1,199 +0,0 @@ -/* Class286_Sub5 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -final class Class286_Sub5 extends Class286 { - static d aD6247; - static int anInt6248 = -1; - static int anInt6249; - static int anInt6250; - static int anInt6251; - static int anInt6252; - static int anInt6253; - private final Class61 aClass61_6254; - static int anInt6255; - static int anInt6256; - static int anInt6257; - static int anInt6258; - private final Class83 aClass83_6259; - static int[] anIntArray6260 = new int[1]; - static int anInt6261; - - static final void method2158(byte i) { - anInt6256++; - int i_0_ = 0; - if (Class316.aClass348_Sub51_3959 != null) i_0_ = Class316.aClass348_Sub51_3959.aClass239_Sub23_7231.method1818(-32350); - if (i == 56) { - if (i_0_ == 2) { - int i_1_ = (Math.min(Class272.anInt3473, 800)); - Class321.anInt4017 = i_1_; - Class348_Sub48.anInt7129 = (Class272.anInt3473 + -i_1_) / 2; - int i_2_ = (Math.min(Class348_Sub22.anInt6857, 600)); - Class348_Sub42_Sub8_Sub2.anInt10432 = i_2_; - Class335.anInt4167 = 0; - } else if (i_0_ == 1) { - int i_3_ = Math.min(Class272.anInt3473, 1024); - Class348_Sub48.anInt7129 = (Class272.anInt3473 + -i_3_) / 2; - int i_4_ = (Math.min(Class348_Sub22.anInt6857, 768)); - Class321.anInt4017 = i_3_; - Class335.anInt4167 = 0; - Class348_Sub42_Sub8_Sub2.anInt10432 = i_4_; - } else { - Class335.anInt4167 = 0; - Class348_Sub42_Sub8_Sub2.anInt10432 = Class348_Sub22.anInt6857; - Class348_Sub48.anInt7129 = 0; - Class321.anInt4017 = Class272.anInt3473; - } - } - } - - final void method2136(int i, int i_5_, byte i_6_) { - anInt6252++; - float f = -5.0E-4F * (float) (1 + (i & 0x3)); - float f_7_ = 5.0E-4F * (float) (1 + ((i & 0x18) >> 3)); - float f_8_ = (i & 0x40) == 0 ? 4.8828125E-4F : 9.765625E-4F; - boolean bool = (i & 0x80) != 0; - this.aHa_Sub2_3684.method3738(-15039, 1); - if (bool) { - Class110_Sub1.aFloatArray5791[1] = 0.0F; - Class110_Sub1.aFloatArray5791[0] = f_8_; - Class110_Sub1.aFloatArray5791[3] = 0.0F; - Class110_Sub1.aFloatArray5791[2] = 0.0F; - } else { - Class110_Sub1.aFloatArray5791[1] = 0.0F; - Class110_Sub1.aFloatArray5791[0] = 0.0F; - Class110_Sub1.aFloatArray5791[2] = f_8_; - Class110_Sub1.aFloatArray5791[3] = 0.0F; - } - OpenGL.glTexGenfv(8192, 9474, Class110_Sub1.aFloatArray5791, 0); - Class110_Sub1.aFloatArray5791[0] = 0.0F; - Class110_Sub1.aFloatArray5791[1] = f_8_; - Class110_Sub1.aFloatArray5791[3] = (f * (float) this.aHa_Sub2_3684.anInt7735 % 1.0F); - if (i_6_ >= -42) method2136(-27, -15, (byte) -43); - Class110_Sub1.aFloatArray5791[2] = 0.0F; - OpenGL.glTexGenfv(8193, 9474, Class110_Sub1.aFloatArray5791, 0); - if (aClass83_6259.aBoolean1442) { - Class110_Sub1.aFloatArray5791[0] = 0.0F; - Class110_Sub1.aFloatArray5791[3] = (float) (this.aHa_Sub2_3684.anInt7735) * f_7_ % 1.0F; - Class110_Sub1.aFloatArray5791[2] = 0.0F; - Class110_Sub1.aFloatArray5791[1] = 0.0F; - OpenGL.glTexGenfv(8194, 9473, Class110_Sub1.aFloatArray5791, 0); - } else { - int i_9_ = (int) (16.0F * ((float) this.aHa_Sub2_3684.anInt7735 * f_7_)); - this.aHa_Sub2_3684.method3771((byte) -81, aClass83_6259.aClass258_Sub3Array1448[i_9_ % 16]); - } - this.aHa_Sub2_3684.method3738(-15039, 0); - } - - final void method2140(Class258 class258, byte i, int i_10_) { - anInt6257++; - this.aHa_Sub2_3684.method3771((byte) -118, class258); - this.aHa_Sub2_3684.method3761(0, i_10_); - if (i > -89) method2140(null, (byte) 109, -112); - } - - final void method2133(int i) { - anInt6249++; - aClass61_6254.method594('\001', 28666); - this.aHa_Sub2_3684.method3738(-15039, 1); - this.aHa_Sub2_3684.method3771((byte) -113, null); - if (i > -75) anInt6248 = -7; - this.aHa_Sub2_3684.method3738(-15039, 0); - } - - Class286_Sub5(ha_Sub2 var_ha_Sub2, Class83 class83) { - super(var_ha_Sub2); - try { - aClass83_6259 = class83; - aClass61_6254 = new Class61(var_ha_Sub2, 2); - aClass61_6254.method595((byte) 104, 0); - this.aHa_Sub2_3684.method3738(-15039, 1); - if (aClass83_6259.aBoolean1442) { - OpenGL.glTexGeni(8194, 9472, 9217); - OpenGL.glEnable(3170); - } - OpenGL.glTexGeni(8192, 9472, 9216); - OpenGL.glTexGeni(8193, 9472, 9216); - OpenGL.glEnable(3168); - OpenGL.glEnable(3169); - this.aHa_Sub2_3684.method3738(-15039, 0); - aClass61_6254.method591(-1); - aClass61_6254.method595((byte) 117, 1); - this.aHa_Sub2_3684.method3738(-15039, 1); - if (aClass83_6259.aBoolean1442) OpenGL.glDisable(3170); - OpenGL.glDisable(3168); - OpenGL.glDisable(3169); - this.aHa_Sub2_3684.method3738(-15039, 0); - aClass61_6254.method591(-1); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("gn.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + (class83 != null ? "{...}" : "null") + ')')); - } - } - - static final void method2159(byte i, Class45 class45) { - Class348_Sub22.anInt6862 = class45.method417("hitmarks", 0); - anInt6258++; - Class106.anInt1639 = class45.method417("hitbar_default", 0); - Class373_Sub2.anInt7429 = class45.method417("timerbar_default", 0); - ha.anInt4562 = class45.method417("headicons_pk", 0); - Class82.anInt1435 = class45.method417("headicons_prayer", 0); - Class115.anInt1756 = class45.method417("hint_headicons", 0); - Class291.anInt3739 = class45.method417("hint_mapmarkers", 0); - Class86.anInt1481 = class45.method417("mapflag", 0); - Class239_Sub10.anInt5948 = class45.method417("cross", 0); - Class113.anInt1742 = class45.method417("mapdots", 0); - Class364.anInt4469 = class45.method417("scrollbar", 0); - Class348_Sub40_Sub38.anInt9473 = class45.method417("name_icons", 0); - Class187.anInt2510 = class45.method417("floorshadows", 0); - Class52.anInt4895 = class45.method417("compass", 0); - if (i > -72) method2161((byte) 106, 125L); - Class186_Sub1.anInt5814 = class45.method417("otherlevel", 0); - Class5_Sub3.anInt8370 = class45.method417("hint_mapedge", 0); - } - - final void method2134(boolean bool, boolean bool_11_) { - anInt6250++; - aClass61_6254.method594('\0', 28666); - if (aClass83_6259.aBoolean1442) { - this.aHa_Sub2_3684.method3738(-15039, 1); - this.aHa_Sub2_3684.method3771((byte) -117, (aClass83_6259.aClass258_Sub1_1446)); - this.aHa_Sub2_3684.method3738(-15039, 0); - } - if (bool_11_ != false) anInt6248 = -68; - } - - public static void method2160(int i) { - if (i == 0) { - aD6247 = null; - anIntArray6260 = null; - } - } - - final void method2139(boolean bool, byte i) { - anInt6261++; - int i_12_ = -52 % ((i - -60) / 38); - } - - final boolean method2137(int i) { - if (i >= -5) anInt6248 = 124; - anInt6253++; - return true; - } - - static final void method2161(byte i, long l) { - try { - anInt6251++; - if (l > 0L) { - if (l % 10L == 0) { - Class327.method2606(-125, -1L + l); - Class327.method2606(-125, 1L); - } else Class327.method2606(59, l); - int i_13_ = 70 % ((i - -52) / 32); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "gn.D(" + i + ',' + l + ')'); - } - } -} diff --git a/client/src/Class286_Sub6.java b/client/src/Class286_Sub6.java deleted file mode 100644 index a83998868..000000000 --- a/client/src/Class286_Sub6.java +++ /dev/null @@ -1,188 +0,0 @@ -/* Class286_Sub6 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -final class Class286_Sub6 extends Class286 { - static Class230 aClass230_6262 = new Class230("game3", 2); - static int anInt6263; - static int anInt6264; - static int anInt6265; - private boolean aBoolean6266; - static int anInt6267; - private final Class83 aClass83_6268; - static int anInt6269; - static boolean[] aBooleanArray6270; - static int anInt6271; - private boolean aBoolean6272 = false; - static int anInt6273; - private Class337 aClass337_6274; - static int anInt6275; - static long aLong6276; - - final void method2140(Class258 class258, byte i, int i_0_) { - if (!aBoolean6266) { - this.aHa_Sub2_3684.method3771((byte) -128, class258); - this.aHa_Sub2_3684.method3761(0, i_0_); - } - anInt6269++; - if (i >= -89) method2140(null, (byte) -85, 27); - } - - final void method2139(boolean bool, byte i) { - int i_1_ = -57 / ((-60 - i) / 38); - anInt6263++; - } - - final boolean method2137(int i) { - if (i >= -5) return true; - anInt6267++; - return false; - } - - static final String method2162(boolean bool) { - if (bool != false) aLong6276 = -88L; - anInt6271++; - String string = "www"; - if (Class367_Sub8.aClass364_7361 != Class8.aClass364_165) { - if (Class8.aClass364_165 != Class26.aClass364_382) { - if (Class8.aClass364_165 == Class108.aClass364_1657) string = "www-wtwip"; - } else string = "www-wtqa"; - } else string = "www-wtrc"; - String string_2_ = ""; - if (Class239_Sub12.aString5966 != null) string_2_ = "/p=" + Class239_Sub12.aString5966; - return ("http://" + string + "." + (Class348_Sub42_Sub8_Sub2.aClass230_10434.aString2985) + ".com/l=" + Class348_Sub33.anInt6967 + "/a=" + Class202.anInt2670 + string_2_ + "/"); - } - - static final boolean method2163(boolean bool) { - anInt6273++; - try { - if (Class348_Sub43.anInt7068 == 2) { - if (Class286.aClass348_Sub2_3683 == null) { - Class286.aClass348_Sub2_3683 = Class348_Sub2.method2734(Class124.aClass45_1848, (Class318_Sub1_Sub4_Sub1.anInt10074), Class318.anInt3971); - if (Class286.aClass348_Sub2_3683 == null) return false; - } - if (Class141.aClass26_1977 == null) Class141.aClass26_1977 = new Class26(Class43.aClass45_611, Class333.aClass45_4147); - Class348_Sub16_Sub3 class348_sub16_sub3 = Class98.aClass348_Sub16_Sub3_1564; - if (Class285.aClass348_Sub16_Sub3_4743 != null) class348_sub16_sub3 = Class285.aClass348_Sub16_Sub3_4743; - if (class348_sub16_sub3.method2866((Class286.aClass348_Sub2_3683), 22050, Class141.aClass26_1977, Class367_Sub9.aClass45_7371, -35)) { - Class98.aClass348_Sub16_Sub3_1564 = class348_sub16_sub3; - Class98.aClass348_Sub16_Sub3_1564.method2864((byte) 52); - if (Class348_Sub40_Sub35.anInt9444 <= 0) { - Class348_Sub43.anInt7068 = 0; - Class98.aClass348_Sub16_Sub3_1564.method2861(0, Class58.anInt1059); - for (int i = 0; i < Class367_Sub3.anIntArray7299.length; i++) { - Class98.aClass348_Sub16_Sub3_1564.method2843(Class367_Sub3.anIntArray7299[i], i, -7836); - Class367_Sub3.anIntArray7299[i] = 255; - } - } else { - Class348_Sub43.anInt7068 = 3; - Class98.aClass348_Sub16_Sub3_1564.method2861(0, (Math.min(Class58.anInt1059, Class348_Sub40_Sub35.anInt9444))); - for (int i = 0; (Class367_Sub3.anIntArray7299.length > i); i++) { - Class98.aClass348_Sub16_Sub3_1564.method2843(Class367_Sub3.anIntArray7299[i], i, -7836); - Class367_Sub3.anIntArray7299[i] = 255; - } - } - if (Class285.aClass348_Sub16_Sub3_4743 == null) { - if (Class239_Sub12.aLong5971 <= 0) Class98.aClass348_Sub16_Sub3_1564.method2869(Class286.aClass348_Sub2_3683, Class346.aBoolean4275, false); - else Class98.aClass348_Sub16_Sub3_1564.method2870(Class286.aClass348_Sub2_3683, Class239_Sub12.aLong5971, Class346.aBoolean4275, true, (byte) 24); - } - if (Class318_Sub1_Sub4.aClass279_8764 != null) Class318_Sub1_Sub4.aClass279_8764.method2088(bool, Class98.aClass348_Sub16_Sub3_1564); - Class124.aClass45_1848 = null; - Class286.aClass348_Sub2_3683 = null; - Class239_Sub12.aLong5971 = 0L; - Class141.aClass26_1977 = null; - Class285.aClass348_Sub16_Sub3_4743 = null; - return true; - } - } - if (bool != false) aBooleanArray6270 = null; - } catch (Exception exception) { - exception.printStackTrace(); - Class98.aClass348_Sub16_Sub3_1564.method2877(-128); - Class285.aClass348_Sub16_Sub3_4743 = null; - Class141.aClass26_1977 = null; - Class286.aClass348_Sub2_3683 = null; - Class124.aClass45_1848 = null; - Class348_Sub43.anInt7068 = 0; - } - return false; - } - - final void method2134(boolean bool, boolean bool_3_) { - if (bool_3_ == false) { - anInt6264++; - Class258_Sub2 class258_sub2 = this.aHa_Sub2_3684.method3741(444720536); - if (aBoolean6272 && class258_sub2 != null) { - this.aHa_Sub2_3684.method3738(-15039, 1); - this.aHa_Sub2_3684.method3771((byte) -126, class258_sub2); - this.aHa_Sub2_3684.method3738(-15039, 0); - this.aHa_Sub2_3684.method3771((byte) -75, aClass83_6268.aClass258_Sub1_1443); - long l = aClass337_6274.aLong4178; - OpenGL.glUseProgramObjectARB(l); - OpenGL.glUniform1iARB(OpenGL.glGetUniformLocationARB(l, "normalSampler"), 0); - OpenGL.glUniform1iARB(OpenGL.glGetUniformLocationARB(l, "envMapSampler"), 1); - OpenGL.glUniform3fARB(OpenGL.glGetUniformLocationARB(l, "sunDir"), -(this.aHa_Sub2_3684.aFloatArray7825[0]), -(this.aHa_Sub2_3684.aFloatArray7825[1]), -(this.aHa_Sub2_3684.aFloatArray7825[2])); - OpenGL.glUniform4fARB(OpenGL.glGetUniformLocationARB(l, "sunColour"), this.aHa_Sub2_3684.aFloat7781, this.aHa_Sub2_3684.aFloat7816, this.aHa_Sub2_3684.aFloat7823, 1.0F); - OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "sunExponent"), (96.0F + Math.abs(this.aHa_Sub2_3684.aFloatArray7825[1]) * 928.0F)); - aBoolean6266 = true; - } - } - } - - final void method2133(int i) { - if (i <= -75) { - anInt6265++; - if (aBoolean6266) { - this.aHa_Sub2_3684.method3738(-15039, 1); - this.aHa_Sub2_3684.method3771((byte) -108, null); - this.aHa_Sub2_3684.method3738(-15039, 0); - this.aHa_Sub2_3684.method3771((byte) -121, null); - OpenGL.glUseProgramObjectARB(0L); - aBoolean6266 = false; - } - } - } - - public static void method2164(boolean bool) { - if (bool == true) { - aClass230_6262 = null; - aBooleanArray6270 = null; - } - } - - Class286_Sub6(ha_Sub2 var_ha_Sub2, Class83 class83) { - super(var_ha_Sub2); - aBoolean6266 = false; - do { - try { - aClass83_6268 = class83; - if (aClass83_6268.aClass258_Sub1_1443 == null || !(this.aHa_Sub2_3684.aBoolean7791) || !(this.aHa_Sub2_3684.aBoolean7783)) break; - Class242 class242 = (Class348_Sub42_Sub15.method3249(35633, -110, this.aHa_Sub2_3684, "uniform float time;\nuniform float scale;\nvarying vec3 wvVertex;\nvarying float waterDepth;\nvoid main() {\nwaterDepth = gl_MultiTexCoord0.z;\nvec4 ecVertex = gl_ModelViewMatrix*gl_Vertex;\nwvVertex.x = dot(gl_NormalMatrix[0], ecVertex.xyz);\nwvVertex.y = dot(gl_NormalMatrix[1], ecVertex.xyz);\nwvVertex.z = dot(gl_NormalMatrix[2], ecVertex.xyz);\ngl_TexCoord[0].x = dot(gl_TextureMatrix[0][0], gl_MultiTexCoord0)*scale;\ngl_TexCoord[0].y = dot(gl_TextureMatrix[0][1], gl_MultiTexCoord0)*scale;\ngl_TexCoord[0].z = time;\ngl_TexCoord[0].w = 1.0;\ngl_FogFragCoord = 1.0-clamp((gl_Fog.end+ecVertex.z)*gl_Fog.scale, 0.0, 1.0);\ngl_Position = ftransform();\n}\n")); - Class242 class242_4_ = (Class348_Sub42_Sub15.method3249(35632, -38, this.aHa_Sub2_3684, "varying vec3 wvVertex;\nvarying float waterDepth;\nuniform vec3 sunDir;\nuniform vec4 sunColour;\nuniform float sunExponent;\nuniform float breakWaterDepth;\nuniform float breakWaterOffset;\nuniform sampler3D normalSampler;\nuniform samplerCube envMapSampler;\nvoid main() {\nvec4 wnNormal = texture3D(normalSampler, gl_TexCoord[0].xyz).rbga;\nwnNormal.xyz = 2.0*wnNormal.xyz-1.0;\nvec3 wnVector = normalize(wvVertex);\nvec3 wnReflection = reflect(wnVector, wnNormal.xyz);\nvec3 envColour = textureCube(envMapSampler, wnReflection).rgb;\nvec4 specularColour = sunColour*pow(clamp(-dot(sunDir, wnReflection), 0.0, 1.0), sunExponent);\nfloat shoreFactor = clamp(waterDepth/breakWaterDepth-breakWaterOffset*wnNormal.w, 0.0, 1.0);\nfloat ndote = dot(wnVector, wnNormal.xyz);\nfloat fresnel = pow(1.0-abs(ndote), 2.0);\nvec4 surfaceColour = vec4(envColour, fresnel*shoreFactor)+specularColour*shoreFactor;\ngl_FragColor = vec4(mix(surfaceColour.rgb, gl_Fog.color.rgb, gl_FogFragCoord), surfaceColour.a);\n}\n")); - aClass337_6274 = Class318_Sub1_Sub5_Sub2.method2493((this.aHa_Sub2_3684), -1, (new Class242[]{class242, class242_4_})); - aBoolean6272 = aClass337_6274 != null; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("tia.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + (class83 != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - final void method2136(int i, int i_5_, byte i_6_) { - if (aBoolean6266) { - int i_7_ = 1 << (0x3 & i); - float f = (float) (1 << ((i & 0x3d) >> 3)) / 32.0F; - int i_8_ = i_5_ & 0xffff; - float f_9_ = (float) (0x3 & i_5_ >> 16) / 8.0F; - long l = aClass337_6274.aLong4178; - OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "time"), (float) (i_7_ * (this.aHa_Sub2_3684.anInt7735) % 40000) / 40000.0F); - OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "scale"), f); - OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "breakWaterDepth"), (float) i_8_); - OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "breakWaterOffset"), f_9_); - } - if (i_6_ >= -42) method2163(false); - anInt6275++; - } -} diff --git a/client/src/Class286_Sub7.java b/client/src/Class286_Sub7.java deleted file mode 100644 index bed262a8e..000000000 --- a/client/src/Class286_Sub7.java +++ /dev/null @@ -1,221 +0,0 @@ -/* Class286_Sub7 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -final class Class286_Sub7 extends Class286 { - static Class45 aClass45_6277; - private final Class83 aClass83_6278; - static int anInt6279; - static int anInt6280; - static int anInt6281; - static int anInt6282; - static int anInt6283; - private Class61 aClass61_6284; - private Class258_Sub4 aClass258_Sub4_6285; - static int anInt6286; - static int anInt6287; - static int anInt6288; - static boolean aBoolean6289; - static int[] anIntArray6290 = new int[2048]; - static int anInt6291; - - static final void method2165(boolean bool, String string) { - anInt6287++; - if (string != null) { - if (string.startsWith("*")) string = string.substring(1); - String string_0_ = Class285_Sub1.method2127(2, string); - if (string_0_ != null) { - for (int i = 0; (Class348_Sub40_Sub30.anInt9383 > i); i++) { - String string_1_ = Class83.aStringArray1441[i]; - if (string_1_.startsWith("*")) string_1_ = string_1_.substring(1); - string_1_ = Class285_Sub1.method2127(2, string_1_); - if (string_1_ != null && string_1_.equals(string_0_)) { - Class348_Sub40_Sub30.anInt9383--; - for (int i_2_ = i; i_2_ < Class348_Sub40_Sub30.anInt9383; i_2_++) { - Class83.aStringArray1441[i_2_] = Class83.aStringArray1441[i_2_ - -1]; - Class286_Sub2.aStringArray6205[i_2_] = Class286_Sub2.aStringArray6205[1 + i_2_]; - ha.anIntArray4578[i_2_] = ha.anIntArray4578[i_2_ - -1]; - Class285.aStringArray4744[i_2_] = Class285.aStringArray4744[1 + i_2_]; - Class172.anIntArray2280[i_2_] = Class172.anIntArray2280[i_2_ - -1]; - Class122.aBooleanArray1806[i_2_] = Class122.aBooleanArray1806[1 + i_2_]; - } - Class126.anInt4985 = Class311.anInt3918; - Class348_Sub42_Sub7.anInt9540++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class357.aClass351_4394, (Class348_Sub23_Sub2.aClass77_9029), -99); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, Class239_Sub6.method1745(string, -65)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); - Class348_Sub42_Sub14.method3243(117, class348_sub47); - break; - } - } - if (bool != true) aBoolean6289 = true; - } - } - } - - final void method2136(int i, int i_3_, byte i_4_) { - if (i_4_ >= -42) aClass258_Sub4_6285 = null; - if ((0x1 & i) == 1) { - if (aClass83_6278.aBoolean1442) { - this.aHa_Sub2_3684.method3771((byte) -83, aClass83_6278.aClass258_Sub1_1440); - Class160.aFloatArray2131[2] = 0.0F; - Class160.aFloatArray2131[3] = (float) ((this.aHa_Sub2_3684.anInt7735) % 4000) / 4000.0F; - Class160.aFloatArray2131[0] = 0.0F; - Class160.aFloatArray2131[1] = 0.0F; - OpenGL.glTexGenfv(8194, 9473, Class160.aFloatArray2131, 0); - } else { - int i_5_ = (16 * (this.aHa_Sub2_3684.anInt7735 % 4000) / 4000); - this.aHa_Sub2_3684.method3771((byte) -95, aClass83_6278.aClass258_Sub3Array1444[i_5_]); - } - } else if (aClass83_6278.aBoolean1442) { - this.aHa_Sub2_3684.method3771((byte) -126, (aClass83_6278.aClass258_Sub1_1440)); - Class160.aFloatArray2131[0] = 0.0F; - Class160.aFloatArray2131[2] = 0.0F; - Class160.aFloatArray2131[1] = 0.0F; - Class160.aFloatArray2131[3] = 0.0F; - OpenGL.glTexGenfv(8194, 9473, Class160.aFloatArray2131, 0); - } else this.aHa_Sub2_3684.method3771((byte) -110, aClass83_6278.aClass258_Sub3Array1444[0]); - anInt6291++; - } - - final void method2134(boolean bool, boolean bool_6_) { - if (this.aHa_Sub2_3684.anInt7782 > 0) { - float f = -0.5F / (float) (this.aHa_Sub2_3684.anInt7782); - this.aHa_Sub2_3684.method3738(-15039, 1); - Class160.aFloatArray2131[3] = 0.25F + (this.aHa_Sub2_3684.aFloat7792) * f; - Class160.aFloatArray2131[0] = 0.0F; - Class160.aFloatArray2131[2] = f; - Class160.aFloatArray2131[1] = 0.0F; - OpenGL.glPushMatrix(); - OpenGL.glLoadIdentity(); - OpenGL.glTexGenfv(8192, 9474, Class160.aFloatArray2131, 0); - OpenGL.glPopMatrix(); - this.aHa_Sub2_3684.method3744((float) this.aHa_Sub2_3684.anInt7782, 770, 0.5F); - this.aHa_Sub2_3684.method3771((byte) -99, aClass258_Sub4_6285); - this.aHa_Sub2_3684.method3738(-15039, 0); - } - anInt6286++; - aClass61_6284.method594('\0', 28666); - OpenGL.glMatrixMode(5890); - OpenGL.glPushMatrix(); - if (bool_6_ == false) { - OpenGL.glScalef(0.25F, 0.25F, 1.0F); - OpenGL.glMatrixMode(5888); - } - } - - public static void method2166(int i) { - if (i == 6336) { - aClass45_6277 = null; - anIntArray6290 = null; - } - } - - private final void method2167(int i) { - aClass61_6284 = new Class61(this.aHa_Sub2_3684, 2); - anInt6283++; - aClass61_6284.method595((byte) 109, 0); - this.aHa_Sub2_3684.method3738(i + 6366, 1); - this.aHa_Sub2_3684.method3729(7681, (byte) 98, 260); - this.aHa_Sub2_3684.method3762(34168, 768, (byte) -87, 0); - OpenGL.glTexGeni(8192, 9472, 9216); - OpenGL.glEnable(3168); - this.aHa_Sub2_3684.method3738(-15039, 0); - OpenGL.glTexEnvf(8960, 34163, 2.0F); - if (aClass83_6278.aBoolean1442) { - OpenGL.glTexGeni(8194, 9472, 9217); - OpenGL.glTexGeni(8195, 9472, 9217); - OpenGL.glTexGenfv(8195, 9473, new float[]{0.0F, 0.0F, 0.0F, 1.0F}, 0); - OpenGL.glEnable(3170); - OpenGL.glEnable(3171); - } - aClass61_6284.method591(-1); - aClass61_6284.method595((byte) 117, 1); - this.aHa_Sub2_3684.method3738(-15039, 1); - if (i != -21405) method2137(-18); - this.aHa_Sub2_3684.method3729(8448, (byte) -115, 8448); - this.aHa_Sub2_3684.method3762(5890, 768, (byte) -87, 0); - OpenGL.glDisable(3168); - this.aHa_Sub2_3684.method3738(-15039, 0); - OpenGL.glTexEnvf(8960, 34163, 1.0F); - if (aClass83_6278.aBoolean1442) { - OpenGL.glDisable(3170); - OpenGL.glDisable(3171); - } - aClass61_6284.method591(i + 21404); - } - - Class286_Sub7(ha_Sub2 var_ha_Sub2, Class83 class83) { - super(var_ha_Sub2); - try { - aClass83_6278 = class83; - method2167(-21405); - aClass258_Sub4_6285 = new Class258_Sub4(this.aHa_Sub2_3684, 6406, 2, new byte[]{0, -1}, 6406); - aClass258_Sub4_6285.method1972((byte) -91, false); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("tn.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + (class83 != null ? "{...}" : "null") + ')')); - } - } - - final boolean method2137(int i) { - anInt6288++; - if (i > -5) return true; - return true; - } - - static final void method2168(int i, int i_7_, int i_8_) { - Class357 class357 = Class147.aClass357ArrayArrayArray2029[i][i_7_][i_8_]; - if (class357 != null) { - Class183.method1376(class357.aClass318_Sub1_Sub5_4395); - Class183.method1376(class357.aClass318_Sub1_Sub5_4407); - if (class357.aClass318_Sub1_Sub5_4395 != null) class357.aClass318_Sub1_Sub5_4395 = null; - if (class357.aClass318_Sub1_Sub5_4407 != null) class357.aClass318_Sub1_Sub5_4407 = null; - } - } - - final void method2133(int i) { - aClass61_6284.method594('\001', 28666); - anInt6282++; - if (this.aHa_Sub2_3684.anInt7782 > 0) { - this.aHa_Sub2_3684.method3738(-15039, 1); - this.aHa_Sub2_3684.method3771((byte) -115, null); - this.aHa_Sub2_3684.method3744(0.0F, 770, 1.0F); - this.aHa_Sub2_3684.method3738(-15039, 0); - } - if (i > -75) aClass258_Sub4_6285 = null; - this.aHa_Sub2_3684.method3729(8448, (byte) 102, 8448); - OpenGL.glMatrixMode(5890); - OpenGL.glPopMatrix(); - OpenGL.glMatrixMode(5888); - } - - final void method2140(Class258 class258, byte i, int i_9_) { - if (i < -89) anInt6280++; - } - - static final boolean method2169(int i, int i_10_, int i_11_, int i_12_, int i_13_, int i_14_, int i_15_, int i_16_, int i_17_, boolean bool) { - anInt6281++; - if (!Class190.method1422(i_16_, i_11_, i, -7596)) return false; - i_16_ = Class318_Sub1_Sub5_Sub2.anIntArray10172[1]; - i = Class318_Sub1_Sub5_Sub2.anIntArray10172[0]; - i_11_ = Class318_Sub1_Sub5_Sub2.anIntArray10172[2]; - if (!Class190.method1422(i_15_, i_17_, i_10_, -7596)) return false; - i_10_ = Class318_Sub1_Sub5_Sub2.anIntArray10172[0]; - i_17_ = Class318_Sub1_Sub5_Sub2.anIntArray10172[2]; - i_15_ = Class318_Sub1_Sub5_Sub2.anIntArray10172[1]; - if (!Class190.method1422(i_14_, i_13_, i_12_, -7596)) return false; - i_13_ = Class318_Sub1_Sub5_Sub2.anIntArray10172[2]; - if (bool != false) return false; - i_14_ = Class318_Sub1_Sub5_Sub2.anIntArray10172[1]; - i_12_ = Class318_Sub1_Sub5_Sub2.anIntArray10172[0]; - return Class348_Sub40_Sub29.method3125(i_12_, i_16_, i_10_, i_13_, i_17_, (byte) -76, i_15_, i_11_, i, i_14_); - } - - final void method2139(boolean bool, byte i) { - this.aHa_Sub2_3684.method3729(260, (byte) -94, 8448); - anInt6279++; - int i_18_ = 107 % ((-60 - i) / 38); - } -} diff --git a/client/src/Class286_Sub8.java b/client/src/Class286_Sub8.java deleted file mode 100644 index a0fa3e137..000000000 --- a/client/src/Class286_Sub8.java +++ /dev/null @@ -1,151 +0,0 @@ -/* Class286_Sub8 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -final class Class286_Sub8 extends Class286 { - static int anInt6292; - static int anInt6293; - static int anInt6294; - static int anInt6295; - static int[] anIntArray6296 = {32, 39, 44, 47}; - static int anInt6297; - static int anInt6298; - static int anInt6299 = -1; - static int anInt6300; - private boolean aBoolean6301 = false; - private Class61 aClass61_6302; - static int anInt6303; - static float aFloat6304; - static int anInt6305; - - final void method2133(int i) { - if (i <= -75) { - if (aBoolean6301) { - aClass61_6302.method594('\001', 28666); - this.aHa_Sub2_3684.method3738(-15039, 1); - this.aHa_Sub2_3684.method3771((byte) -92, null); - this.aHa_Sub2_3684.method3738(-15039, 0); - } else this.aHa_Sub2_3684.method3775(false, 0, 770, 5890); - anInt6297++; - this.aHa_Sub2_3684.method3729(8448, (byte) 116, 8448); - aBoolean6301 = false; - } - } - - static final void method2170(int i, byte i_0_) { - Class48.anInt859 = -1; - anInt6300++; - if (i_0_ != 3) method2170(-109, (byte) 7); - Class245.anInt3170 = i; - Class48.anInt859 = -1; - Class348_Sub15.method2811(false); - } - - public static void method2171(int i) { - if (i != 0) method2172(-6); - anIntArray6296 = null; - } - - final void method2140(Class258 class258, byte i, int i_1_) { - anInt6303++; - this.aHa_Sub2_3684.method3771((byte) -86, class258); - this.aHa_Sub2_3684.method3761(0, i_1_); - if (i >= -89) method2172(12); - } - - static final void method2172(int i) { - int i_2_ = 27 / ((i - -12) / 57); - anInt6295++; - if (Class93.anApplet1530 != null) { - try { - String string = Class93.anApplet1530.getParameter("cookiehost"); - int i_3_ = (int) (Class62.method599(-74) / 86400000L) - 11745; - String string_4_ = ("usrdob=" + i_3_ + "; version=1; path=/; domain=" + string); - Class224.method1615(Class93.anApplet1530, -15092, "document.cookie=\"" + string_4_ + "\""); - } catch (Throwable throwable) { - /* empty */ - } - } - } - - Class286_Sub8(ha_Sub2 var_ha_Sub2) { - super(var_ha_Sub2); - if (var_ha_Sub2.aBoolean7863) { - aClass61_6302 = new Class61(var_ha_Sub2, 2); - aClass61_6302.method595((byte) 123, 0); - this.aHa_Sub2_3684.method3738(-15039, 1); - this.aHa_Sub2_3684.method3729(34165, (byte) -35, 7681); - this.aHa_Sub2_3684.method3762(34168, 770, (byte) -87, 2); - this.aHa_Sub2_3684.method3775(false, 0, 770, 34167); - OpenGL.glTexGeni(8192, 9472, 34066); - OpenGL.glTexGeni(8193, 9472, 34066); - OpenGL.glTexGeni(8194, 9472, 34066); - OpenGL.glEnable(3168); - OpenGL.glEnable(3169); - OpenGL.glEnable(3170); - this.aHa_Sub2_3684.method3738(-15039, 0); - aClass61_6302.method591(-1); - aClass61_6302.method595((byte) 126, 1); - this.aHa_Sub2_3684.method3738(-15039, 1); - this.aHa_Sub2_3684.method3729(8448, (byte) -73, 8448); - this.aHa_Sub2_3684.method3762(34166, 770, (byte) -87, 2); - this.aHa_Sub2_3684.method3775(false, 0, 770, 5890); - OpenGL.glDisable(3168); - OpenGL.glDisable(3169); - OpenGL.glDisable(3170); - OpenGL.glMatrixMode(5890); - OpenGL.glLoadIdentity(); - OpenGL.glMatrixMode(5888); - this.aHa_Sub2_3684.method3738(-15039, 0); - aClass61_6302.method591(-1); - } - } - - final void method2139(boolean bool, byte i) { - anInt6298++; - int i_5_ = 94 / ((i - -60) / 38); - this.aHa_Sub2_3684.method3729(8448, (byte) -28, 7681); - } - - final boolean method2137(int i) { - if (i > -5) aFloat6304 = -0.3934622F; - anInt6294++; - return true; - } - - static final void method2173(boolean bool, int i, boolean bool_6_) { - int i_7_ = 111 % ((i - -62) / 38); - anInt6292++; - if (bool) { - Class26.anInt383--; - if (Class26.anInt383 == 0) Class10.anIntArray179 = null; - } - if (bool_6_) { - Class348_Sub40_Sub26.anInt9346--; - if (Class348_Sub40_Sub26.anInt9346 == 0) Class126.anIntArray4983 = null; - } - } - - final void method2134(boolean bool, boolean bool_8_) { - if (bool_8_ != false) method2171(85); - anInt6293++; - Class258_Sub2 class258_sub2 = this.aHa_Sub2_3684.method3741(444720536); - if (aClass61_6302 != null && class258_sub2 != null && bool) { - aClass61_6302.method594('\0', 28666); - this.aHa_Sub2_3684.method3738(-15039, 1); - this.aHa_Sub2_3684.method3771((byte) -77, class258_sub2); - OpenGL.glMatrixMode(5890); - OpenGL.glLoadMatrixf(this.aHa_Sub2_3684.aClass101_Sub3_7767.method945(true), 0); - OpenGL.glMatrixMode(5888); - this.aHa_Sub2_3684.method3738(-15039, 0); - aBoolean6301 = true; - } else this.aHa_Sub2_3684.method3775(false, 0, 770, 34168); - } - - final void method2136(int i, int i_9_, byte i_10_) { - anInt6305++; - if (i_10_ > -42) aBoolean6301 = false; - } -} diff --git a/client/src/Class286_Sub9.java b/client/src/Class286_Sub9.java deleted file mode 100644 index 28852c8e7..000000000 --- a/client/src/Class286_Sub9.java +++ /dev/null @@ -1,342 +0,0 @@ -/* Class286_Sub9 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -final class Class286_Sub9 extends Class286 { - static int anInt6306; - static int anInt6307; - private boolean aBoolean6308; - static int anInt6309; - private Class61 aClass61_6310; - static int anInt6311; - static int anInt6312; - static int anInt6313; - static int anInt6314; - static int anInt6315; - private boolean aBoolean6316 = false; - private Class258_Sub2[] aClass258_Sub2Array6317; - static int anInt6318; - static int anInt6319; - - static final boolean method2174(byte i, int i_0_, int i_1_) { - anInt6313++; - int i_2_ = 52 % ((i - 68) / 41); - return false; - } - - final void method2133(int i) { - anInt6318++; - if (aBoolean6316) { - if (!aBoolean6308) { - this.aHa_Sub2_3684.method3738(-15039, 2); - this.aHa_Sub2_3684.method3771((byte) -84, null); - } - this.aHa_Sub2_3684.method3738(-15039, 1); - this.aHa_Sub2_3684.method3771((byte) -87, null); - this.aHa_Sub2_3684.method3738(-15039, 0); - aClass61_6310.method594('\001', 28666); - aBoolean6316 = false; - } else this.aHa_Sub2_3684.method3775(false, 0, 770, 5890); - if (i < -75) this.aHa_Sub2_3684.method3729(8448, (byte) -75, 8448); - } - - static final int method2175(int i, byte i_3_, int i_4_) { - anInt6319++; - if (i_3_ >= -14) return 64; - if (i_4_ == 1 || i_4_ == 3) return Class348_Sub20.anIntArray6830[i & 0x3]; - return Class84.anIntArray1450[0x3 & i]; - } - - final void method2140(Class258 class258, byte i, int i_5_) { - if (i >= -89) aClass258_Sub2Array6317 = null; - this.aHa_Sub2_3684.method3771((byte) -115, class258); - anInt6312++; - this.aHa_Sub2_3684.method3761(0, i_5_); - } - - private final void method2176(int i) { - aClass61_6310 = new Class61(this.aHa_Sub2_3684, 2); - if (i >= -7) method2140(null, (byte) 112, -64); - anInt6314++; - aClass61_6310.method595((byte) 105, 0); - this.aHa_Sub2_3684.method3738(-15039, 1); - OpenGL.glTexGeni(8192, 9472, 34065); - OpenGL.glTexGeni(8193, 9472, 34065); - OpenGL.glTexGeni(8194, 9472, 34065); - OpenGL.glEnable(3168); - OpenGL.glEnable(3169); - OpenGL.glEnable(3170); - OpenGL.glMatrixMode(5890); - OpenGL.glLoadIdentity(); - OpenGL.glRotatef(22.5F, 1.0F, 0.0F, 0.0F); - OpenGL.glMatrixMode(5888); - if (aBoolean6308) { - this.aHa_Sub2_3684.method3729(260, (byte) 104, 7681); - this.aHa_Sub2_3684.method3762(5890, 770, (byte) -87, 0); - this.aHa_Sub2_3684.method3775(false, 0, 770, 34167); - } else { - this.aHa_Sub2_3684.method3729(7681, (byte) 126, 8448); - this.aHa_Sub2_3684.method3762(34168, 768, (byte) -87, 0); - this.aHa_Sub2_3684.method3738(-15039, 2); - this.aHa_Sub2_3684.method3729(260, (byte) 124, 7681); - this.aHa_Sub2_3684.method3762(34168, 768, (byte) -87, 0); - this.aHa_Sub2_3684.method3762(34168, 770, (byte) -87, 1); - this.aHa_Sub2_3684.method3775(false, 0, 770, 34167); - } - this.aHa_Sub2_3684.method3738(-15039, 0); - aClass61_6310.method591(-1); - aClass61_6310.method595((byte) 114, 1); - this.aHa_Sub2_3684.method3738(-15039, 1); - OpenGL.glDisable(3168); - OpenGL.glDisable(3169); - OpenGL.glDisable(3170); - OpenGL.glMatrixMode(5890); - OpenGL.glLoadIdentity(); - OpenGL.glMatrixMode(5888); - if (aBoolean6308) { - this.aHa_Sub2_3684.method3729(8448, (byte) 115, 8448); - this.aHa_Sub2_3684.method3762(5890, 768, (byte) -87, 0); - this.aHa_Sub2_3684.method3775(false, 0, 770, 5890); - } else { - this.aHa_Sub2_3684.method3729(8448, (byte) -9, 8448); - this.aHa_Sub2_3684.method3762(5890, 768, (byte) -87, 0); - this.aHa_Sub2_3684.method3738(-15039, 2); - this.aHa_Sub2_3684.method3729(8448, (byte) 92, 8448); - this.aHa_Sub2_3684.method3762(5890, 768, (byte) -87, 0); - this.aHa_Sub2_3684.method3762(34168, 768, (byte) -87, 1); - this.aHa_Sub2_3684.method3775(false, 0, 770, 5890); - } - this.aHa_Sub2_3684.method3738(-15039, 0); - aClass61_6310.method591(-1); - } - - final void method2136(int i, int i_6_, byte i_7_) { - anInt6307++; - if (aBoolean6316) { - this.aHa_Sub2_3684.method3738(-15039, 1); - this.aHa_Sub2_3684.method3771((byte) -91, aClass258_Sub2Array6317[i + -1]); - this.aHa_Sub2_3684.method3738(-15039, 0); - } - if (i_7_ > -42) method2134(true, true); - } - - final boolean method2137(int i) { - anInt6315++; - return i <= -5; - } - - final void method2134(boolean bool, boolean bool_8_) { - if (bool_8_ == false) { - anInt6306++; - if (aClass61_6310 == null || !bool) this.aHa_Sub2_3684.method3775(false, 0, 770, 34168); - else { - if (!aBoolean6308) { - this.aHa_Sub2_3684.method3738(-15039, 2); - this.aHa_Sub2_3684.method3771((byte) -120, (this.aHa_Sub2_3684.aClass258_Sub3_7827)); - this.aHa_Sub2_3684.method3738(-15039, 0); - } - aClass61_6310.method594('\0', 28666); - aBoolean6316 = true; - } - } - } - - final void method2139(boolean bool, byte i) { - this.aHa_Sub2_3684.method3729(8448, (byte) 121, 7681); - anInt6309++; - int i_9_ = 96 / ((i - -60) / 38); - } - - Class286_Sub9(ha_Sub2 var_ha_Sub2) { - super(var_ha_Sub2); - if (var_ha_Sub2.aBoolean7863) { - aBoolean6308 = var_ha_Sub2.anInt7795 < 3; - int i = aBoolean6308 ? 48 : 127; - byte[][] is = new byte[6][4096]; - byte[][] is_10_ = new byte[6][4096]; - byte[][] is_11_ = new byte[6][4096]; - int i_12_ = 0; - for (int i_13_ = 0; i_13_ < 64; i_13_++) { - for (int i_14_ = 0; i_14_ < 64; i_14_++) { - float f = (float) i_13_ * 2.0F / 64.0F - 1.0F; - float f_15_ = -1.0F + 2.0F * (float) i_14_ / 64.0F; - float f_16_ = (float) (1.0 / Math.sqrt(f * f + (1.0F + (f_15_ * f_15_)))); - f_15_ *= f_16_; - f *= f_16_; - for (int i_17_ = 0; i_17_ < 6; i_17_++) { - float f_18_; - if (i_17_ == 0) f_18_ = -f_15_; - else if (i_17_ == 1) f_18_ = f_15_; - else if (i_17_ != 2) { - if (i_17_ != 3) { - if (i_17_ != 4) f_18_ = -f_16_; - else f_18_ = f_16_; - } else f_18_ = -f; - } else f_18_ = f; - int i_19_; - int i_20_; - int i_21_; - if (f_18_ > 0.0F) { - i_19_ = (int) ((double) i * Math.pow(f_18_, 96.0)); - i_20_ = (int) ((double) i * Math.pow(f_18_, 36.0)); - i_21_ = (int) ((double) i * Math.pow(f_18_, 12.0)); - } else i_19_ = i_20_ = i_21_ = 0; - is_10_[i_17_][i_12_] = (byte) i_19_; - is_11_[i_17_][i_12_] = (byte) i_20_; - is[i_17_][i_12_] = (byte) i_21_; - } - i_12_++; - } - } - aClass258_Sub2Array6317 = new Class258_Sub2[3]; - aClass258_Sub2Array6317[0] = new Class258_Sub2(this.aHa_Sub2_3684, 6406, 64, false, is_10_, 6406); - aClass258_Sub2Array6317[1] = new Class258_Sub2(this.aHa_Sub2_3684, 6406, 64, false, is_11_, 6406); - aClass258_Sub2Array6317[2] = new Class258_Sub2(this.aHa_Sub2_3684, 6406, 64, false, is, 6406); - method2176(-88); - } - } - - static final void method2177(int i, int i_22_, Class348_Sub49_Sub2 class348_sub49_sub2) { - anInt6311++; - boolean bool = (class348_sub49_sub2.readBits((byte) -24, i) == 1); - if (bool) Class18.anIntArray279[Class101_Sub3.anInt5768++] = i_22_; - int i_23_ = class348_sub49_sub2.readBits((byte) -24, 2); - Player player = Class294.aPlayerArray5058[i_22_]; - if (i_23_ == 0) { - if (bool) player.aBoolean10539 = false; - else { - if (Class348_Sub42_Sub11.anInt9591 == i_22_) throw new RuntimeException("s:lr"); - Class359 class359 = (Class348_Sub17.aClass359Array6802[i_22_] = new Class359()); - class359.anInt4420 = ((Class90.regionTileY - -(player.anIntArray10317[0]) >> 6) + ((player.anIntArray10320[0] + za_Sub2.regionTileX) >> 6 << 14) + ((player.plane) << 28)); - if (player.anInt10524 != -1) class359.anInt4423 = player.anInt10524; - else class359.anInt4423 = player.aClass264_10217.method2019((byte) -91); - class359.aBoolean4426 = player.aBoolean10554; - class359.anInt4425 = (player.anInt10275); - if (player.anInt10553 > 0) Class295.method2221(player, -28482); - Class294.aPlayerArray5058[i_22_] = null; - if (class348_sub49_sub2.readBits((byte) -24, 1) != 0) Class211.method1538(i_22_, (byte) 105, class348_sub49_sub2); - } - } else if (i_23_ == 1) { - int i_24_ = class348_sub49_sub2.readBits((byte) -24, 3); - int i_25_ = (player.anIntArray10320[0]); - int i_26_ = (player.anIntArray10317[0]); - if (i_24_ == 0) { - i_26_--; - i_25_--; - } else if (i_24_ != 1) { - if (i_24_ == 2) { - i_25_++; - i_26_--; - } else if (i_24_ == 3) i_25_--; - else if (i_24_ != 4) { - if (i_24_ == 5) { - i_26_++; - i_25_--; - } else if (i_24_ != 6) { - if (i_24_ == 7) { - i_26_++; - i_25_++; - } - } else i_26_++; - } else i_25_++; - } else i_26_--; - if (bool) { - player.anInt10531 = i_26_; - player.aBoolean10539 = true; - player.anInt10549 = i_25_; - } else player.method2455(i_26_, -26443, (Class259.aByteArray3300[i_22_]), i_25_); - } else if (i_23_ == 2) { - int i_27_ = class348_sub49_sub2.readBits((byte) -24, 4); - int i_28_ = (player.anIntArray10320[0]); - int i_29_ = (player.anIntArray10317[0]); - if (i_27_ == 0) { - i_28_ -= 2; - i_29_ -= 2; - } else if (i_27_ == 1) { - i_29_ -= 2; - i_28_--; - } else if (i_27_ != 2) { - if (i_27_ == 3) { - i_29_ -= 2; - i_28_++; - } else if (i_27_ == 4) { - i_28_ += 2; - i_29_ -= 2; - } else if (i_27_ == 5) { - i_28_ -= 2; - i_29_--; - } else if (i_27_ == 6) { - i_29_--; - i_28_ += 2; - } else if (i_27_ == 7) i_28_ -= 2; - else if (i_27_ == 8) i_28_ += 2; - else if (i_27_ == 9) { - i_29_++; - i_28_ -= 2; - } else if (i_27_ == 10) { - i_29_++; - i_28_ += 2; - } else if (i_27_ == 11) { - i_29_ += 2; - i_28_ -= 2; - } else if (i_27_ == 12) { - i_29_ += 2; - i_28_--; - } else if (i_27_ != 13) { - if (i_27_ == 14) { - i_29_ += 2; - i_28_++; - } else if (i_27_ == 15) { - i_28_ += 2; - i_29_ += 2; - } - } else i_29_ += 2; - } else i_29_ -= 2; - if (bool) { - player.aBoolean10539 = true; - player.anInt10549 = i_28_; - player.anInt10531 = i_29_; - } else player.method2455(i_29_, -26443, (Class259.aByteArray3300[i_22_]), i_28_); - } else { - int i_30_ = class348_sub49_sub2.readBits((byte) -24, 1); - if (i_30_ == 0) { - int i_31_ = class348_sub49_sub2.readBits((byte) -24, 12); - int i_32_ = i_31_ >> 10; - int i_33_ = 0x1f & i_31_ >> 5; - if (i_33_ > 15) i_33_ -= 32; - int i_34_ = 0x1f & i_31_; - if (i_34_ > 15) i_34_ -= 32; - int i_35_ = i_33_ + (player.anIntArray10320[0]); - int i_36_ = i_34_ + (player.anIntArray10317[0]); - if (bool) { - player.anInt10531 = i_36_; - player.anInt10549 = i_35_; - player.aBoolean10539 = true; - } else player.method2455(i_36_, -26443, (Class259.aByteArray3300[i_22_]), i_35_); - player.plane = player.aByte6376 = (byte) (0x3 & (player.plane) + i_32_); - if (Class79.method802(i_36_, i_35_, true)) player.aByte6376++; - if (Class348_Sub42_Sub11.anInt9591 == i_22_) { - if ((player.plane) != Class355.anInt4372) Class348_Sub16_Sub2.aBoolean8870 = true; - Class355.anInt4372 = (player.plane); - } - } else { - int i_37_ = class348_sub49_sub2.readBits((byte) -24, 30); - int i_38_ = i_37_ >> 28; - int i_39_ = 0x3fff & i_37_ >> 14; - int i_40_ = 0x3fff & i_37_; - int i_41_ = ((i_39_ + ((player.anIntArray10320[0]) + za_Sub2.regionTileX) & 0x3fff) - za_Sub2.regionTileX); - int i_42_ = (-Class90.regionTileY + (0x3fff & (i_40_ + Class90.regionTileY + (player.anIntArray10317[0])))); - if (bool) { - player.aBoolean10539 = true; - player.anInt10531 = i_42_; - player.anInt10549 = i_41_; - } else player.method2455(i_42_, -26443, (Class259.aByteArray3300[i_22_]), i_41_); - player.plane = player.aByte6376 = (byte) ((player.plane) + i_38_ & 0x3); - if (Class79.method802(i_42_, i_41_, true)) player.aByte6376++; - if (Class348_Sub42_Sub11.anInt9591 == i_22_) Class355.anInt4372 = (player.plane); - } - } - } -} diff --git a/client/src/Class287.java b/client/src/Class287.java deleted file mode 100644 index 5b74fc94b..000000000 --- a/client/src/Class287.java +++ /dev/null @@ -1,206 +0,0 @@ -/* Class287 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.util.zip.CRC32; - -final class Class287 { - static int anInt3685; - static int anInt3686; - int anInt3687; - Interface12[] anInterface12Array3688; - static int anInt3689; - int anInt3690; - static CRC32 aCRC32_3691 = new CRC32(); - static int anInt3692; - static int anInt3693; - static int anInt3694; - static int anInt3695 = 0; - - static final void method2178(Class318_Sub1 class318_sub1, int i, Class17 class17, int i_0_) { - try { - anInt3694++; - if (Class147.anInt2021 < 50 && (class17 != null && class17.anIntArrayArray264 != null && (class17.anIntArrayArray264.length > i) && class17.anIntArrayArray264[i] != null)) { - int i_1_ = class17.anIntArrayArray264[i][0]; - int i_2_ = i_1_ >> 8; - int i_3_ = (i_1_ & 0xf1) >> 5; - if (i_0_ > -13) anInt3695 = 0; - if (class17.anIntArrayArray264[i].length > 1) { - int i_4_ = (int) ((double) (class17.anIntArrayArray264[i]).length * Math.random()); - if (i_4_ > 0) i_2_ = class17.anIntArrayArray264[i][i_4_]; - } - int i_5_ = i_1_ & 0x1f; - int i_6_ = 256; - if (class17.anIntArray236 != null && class17.anIntArray265 != null) i_6_ = ((int) (Math.random() * (double) (-(class17.anIntArray236[i]) + (class17.anIntArray265[i]))) + class17.anIntArray236[i]); - int i_7_ = (class17.anIntArray253 == null ? 255 : class17.anIntArray253[i]); - if (i_5_ == 0) { - if (Class132.aPlayer_1907 == class318_sub1) { - if (!class17.aBoolean268) Class348_Sub20.method2947(true, i_7_, i_2_, i_3_, 0, i_6_); - else Class279.method2090(i_3_, i_6_, false, (byte) -35, i_7_, 0, i_2_); - } - } else if (Class316.aClass348_Sub51_3959.aClass239_Sub26_7234.method1838(-32350) != 0) { - int i_8_ = (class318_sub1.x + -256 >> 9); - int i_9_ = (class318_sub1.y - 256 >> 9); - int i_10_ = ((Class132.aPlayer_1907 != class318_sub1) ? ((class318_sub1.plane << 24) + ((i_8_ << 16) + (i_9_ << 8)) + i_5_) : 0); - Class258_Sub2.aClass10Array8531[Class147.anInt2021++] = new Class10((class17.aBoolean268 ? (byte) 2 : (byte) 1), i_2_, i_3_, 0, i_7_, i_10_, i_6_, class318_sub1); - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("vp.A(" + (class318_sub1 != null ? "{...}" : "null") + ',' + i + ',' + (class17 != null ? "{...}" : "null") + ',' + i_0_ + ')')); - } - } - - static final long method2179(String string, byte i) { - anInt3689++; - int i_11_ = string.length(); - long l = 0L; - if (i <= 98) method2184('\uffed', -66); - for (int i_12_ = 0; i_12_ < i_11_; i_12_++) - l = (l << 5) + -l + (long) string.charAt(i_12_); - return l; - } - - public static void method2180(byte i) { - aCRC32_3691 = null; - if (i > -70) anInt3695 = 92; - } - - static final void method2181(long l, int i, int i_13_, int i_14_, int i_15_, Class46 class46, int i_16_, int i_17_, aa var_aa) { - try { - anInt3686++; - int i_18_ = i_14_ * i_14_ + i_16_ * i_16_; - if (l >= (long) i_18_) { - if (i_13_ > -49) method2178(null, -119, null, 58); - int i_19_ = Math.min(class46.anInt709 / 2, class46.anInt789 / 2); - if (i_18_ > i_19_ * i_19_) { - i_19_ -= 10; - int i_20_; - if (Class348_Sub40_Sub21.anInt9282 == 4) i_20_ = (int) Class314.aFloat3938 & 0x3fff; - else i_20_ = 0x3fff & ((int) Class314.aFloat3938 + r_Sub2.anInt10483); - int i_21_ = Class70.anIntArray1207[i_20_]; - int i_22_ = Class70.anIntArray1204[i_20_]; - if (Class348_Sub40_Sub21.anInt9282 != 4) { - i_22_ = i_22_ * 256 / (Class348_Sub49_Sub1.anInt9750 - -256); - i_21_ = 256 * i_21_ / (Class348_Sub49_Sub1.anInt9750 - -256); - } - int i_23_ = i_22_ * i_16_ + i_21_ * i_14_ >> 14; - int i_24_ = i_22_ * i_14_ + -(i_21_ * i_16_) >> 14; - double d = Math.atan2(i_23_, i_24_); - int i_25_ = (int) ((double) i_19_ * Math.sin(d)); - int i_26_ = (int) (Math.cos(d) * (double) i_19_); - Class200.aClass105Array2640[i_17_].method981(((float) class46.anInt709 / 2.0F + (float) i_15_ + (float) i_25_), ((float) i + (float) class46.anInt789 / 2.0F - (float) i_26_), 4096, (int) (65535.0 * (-d / 6.283185307179586))); - } else Class151.method1211(i, Class59_Sub1.aClass105Array5294[i_17_], i_15_, class46, var_aa, i_14_, 2, i_16_); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("vp.D(" + l + ',' + i + ',' + i_13_ + ',' + i_14_ + ',' + i_15_ + ',' + (class46 != null ? "{...}" : "null") + ',' + i_16_ + ',' + i_17_ + ',' + (var_aa != null ? "{...}" : "null") + ')')); - } - } - - public Class287() { - /* empty */ - } - - private final Interface12 method2182(boolean bool, Class223 class223, Class348_Sub49 class348_sub49) { - try { - anInt3692++; - if (Class219.aClass223_2868 == class223) return Class170.method1312((byte) 64, class348_sub49); - if (Class348_Sub49.aClass223_7175 == class223) return Class105_Sub1.method987(743571200, class348_sub49); - if (Class101_Sub1.aClass223_5689 == class223) return Class303.method2287(class348_sub49, (byte) -112); - if (class223 == Class28.aClass223_4997) return Class337.method2660((byte) 26, class348_sub49); - if (bool != true) method2180((byte) -104); - if (class223 == Class348_Sub40_Sub21.aClass223_9274) return Class288_Sub1.method2189(class348_sub49, 86); - if (class223 == Class313.aClass223_3934) return Class5.method179(16533, class348_sub49); - if (Class185.aClass223_2489 == class223) return Class348_Sub46.method3322(0, class348_sub49); - if (class223 == Class174.aClass223_2307) return Class50_Sub4.method472(-27794, class348_sub49); - if (Class149.aClass223_2045 == class223) return Class328_Sub2.method2612(class348_sub49, true); - if (Class187.aClass223_2507 == class223) return Class285_Sub1.method2128(-1730, class348_sub49); - return null; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("vp.F(" + bool + ',' + (class223 != null ? "{...}" : "null") + ',' + (class348_sub49 != null ? "{...}" : "null") + ')')); - } - } - - final void method2183(Class348_Sub49 class348_sub49, int i) { - this.anInt3690 = class348_sub49.readMedium(-1); - anInt3693++; - this.anInt3687 = class348_sub49.readUnsignedShort(842397944); - this.anInterface12Array3688 = new Interface12[class348_sub49.readUnsignedByte(i ^ 0x557d)]; - Class223[] class223s = Class19.method285(-99); - int i_27_ = 0; - if (i != 21890) method2180((byte) 25); - for (/**/; this.anInterface12Array3688.length > i_27_; i_27_++) - this.anInterface12Array3688[i_27_] = method2182(true, class223s[(class348_sub49.readUnsignedByte(Class348_Sub21.method2955(i, 21885)))], class348_sub49); - } - - static final char method2184(char c, int i) { - anInt3685++; - if (i != -10072) anInt3695 = -123; - int i_28_ = c; - while_97_: - do { - while_96_: - do { - while_95_: - do { - while_94_: - do { - while_93_: - do { - while_92_: - do { - while_91_: - do { - while_90_: - do { - while_89_: - do { - do { - if (i_28_ != 32 && (i_28_ != 160) && (i_28_ != 95) && i_28_ != 45) { - if ((i_28_ != 91) && (i_28_ != 93) && i_28_ != 35) { - if ((i_28_ != 224) && (i_28_ != 225) && i_28_ != 226 && (i_28_ != 228) && i_28_ != 227 && i_28_ != 192 && (i_28_ != 193) && (i_28_ != 194) && (i_28_ != 196) && i_28_ != 195) { - if (i_28_ != 232 && i_28_ != 233 && (i_28_ != 234) && (i_28_ != 235) && i_28_ != 200 && i_28_ != 201 && i_28_ != 202 && (i_28_ != 203)) { - if ((i_28_ != 237) && (i_28_ != 238) && (i_28_ != 239) && (i_28_ != 205) && (i_28_ != 206) && (i_28_ != 207)) { - if ((i_28_ != 242) && (i_28_ != 243) && (i_28_ != 244) && (i_28_ != 246) && (i_28_ != 245) && (i_28_ != 210) && (i_28_ != 211) && (i_28_ != 212) && (i_28_ != 214) && (i_28_ != 213)) { - if (i_28_ != 249 && i_28_ != 250 && i_28_ != 251 && i_28_ != 252 && i_28_ != 217 && i_28_ != 218 && i_28_ != 219 && i_28_ != 220) { - if (i_28_ != 231 && i_28_ != 199) { - if (i_28_ != 255 && i_28_ != 376) { - if (i_28_ != 241 && i_28_ != 209) { - if (i_28_ == 223) break while_96_; - break while_97_; - } - } else break while_94_; - break while_95_; - } - } else break while_92_; - break while_93_; - } - } else break while_90_; - break while_91_; - } - } else break; - break while_89_; - } - } else return '_'; - return c; - } while (false); - return 'a'; - } while (false); - return 'e'; - } while (false); - return 'i'; - } while (false); - return 'o'; - } while (false); - return 'u'; - } while (false); - return 'c'; - } while (false); - return 'y'; - } while (false); - return 'n'; - } while (false); - return 'b'; - } while (false); - return Character.toLowerCase(c); - } -} diff --git a/client/src/Class288.java b/client/src/Class288.java deleted file mode 100644 index cd2511fe1..000000000 --- a/client/src/Class288.java +++ /dev/null @@ -1,50 +0,0 @@ -/* Class288 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -class Class288 implements Interface12 { - int anInt4950; - int anInt4951; - Class341 aClass341_4952; - static Class231 aClass231_4953 = new Class231("WIP", 2); - static int anInt4954; - Class221 aClass221_4955; - static int anInt4956; - static int anInt4957; - int anInt4958; - - public static void method2185(int i) { - aClass231_4953 = null; - if (i != 2) aClass231_4953 = null; - } - - static final int method2186(byte i, String string) { - anInt4954++; - if (i != -114) method2187(-85, -44, 56); - return string.length() + 2; - } - - static final boolean method2187(int i, int i_0_, int i_1_) { - anInt4956++; - if (i_0_ > -70) method2187(-57, -121, 54); - return ((Class348.method2709(i_1_, i, -1) | Class223.method1613(false, i_1_, i) | Class299_Sub1.method2259(0, i_1_, i)) & Class64.method616(2, i, i_1_)); - } - - public Class223 method51(byte i) { - if (i <= 116) method2186((byte) 116, null); - anInt4957++; - return Class348_Sub40_Sub21.aClass223_9274; - } - - Class288(int i, Class221 class221, Class341 class341, int i_2_, int i_3_) { - try { - this.anInt4950 = i_2_; - this.anInt4958 = i; - this.anInt4951 = i_3_; - this.aClass221_4955 = class221; - this.aClass341_4952 = class341; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("vr.(" + i + ',' + (class221 != null ? "{...}" : "null") + ',' + (class341 != null ? "{...}" : "null") + ',' + i_2_ + ',' + i_3_ + ')')); - } - } -} diff --git a/client/src/Class288_Sub1.java b/client/src/Class288_Sub1.java deleted file mode 100644 index 4890711a4..000000000 --- a/client/src/Class288_Sub1.java +++ /dev/null @@ -1,48 +0,0 @@ -/* Class288_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class288_Sub1 extends Class288 { - static int anInt8574; - static float[] aFloatArray8575 = {1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F}; - static int anInt8576; - int anInt8577; - static int anInt8578; - - Class288_Sub1(int i, Class221 class221, Class341 class341, int i_0_, int i_1_, int i_2_) { - super(i, class221, class341, i_0_, i_1_); - try { - this.anInt8577 = i_2_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wg.(" + i + ',' + (class221 != null ? "{...}" : "null") + ',' + (class341 != null ? "{...}" : "null") + ',' + i_0_ + ',' + i_1_ + ',' + i_2_ + ')')); - } - } - - static final int method2188(int i) { - anInt8578++; - if (i != -30477) aFloatArray8575 = null; - return 16; - } - - static final Class288 method2189(Class348_Sub49 class348_sub49, int i) { - anInt8576++; - int i_3_ = class348_sub49.readUnsignedShort(842397944); - Class221 class221 = Class158.method1248(48)[class348_sub49.readUnsignedByte(255)]; - Class341 class341 = Class62.method596(20000)[class348_sub49.readUnsignedByte(255)]; - if (i <= 27) method2189(null, -35); - int i_4_ = class348_sub49.readShort(13638); - int i_5_ = class348_sub49.readShort(13638); - return new Class288(i_3_, class221, class341, i_4_, i_5_); - } - - public final Class223 method51(byte i) { - anInt8574++; - if (i <= 116) method2190(false); - return Class28.aClass223_4997; - } - - public static void method2190(boolean bool) { - if (bool != true) aFloatArray8575 = null; - aFloatArray8575 = null; - } -} diff --git a/client/src/Class289.java b/client/src/Class289.java deleted file mode 100644 index 90261a72f..000000000 --- a/client/src/Class289.java +++ /dev/null @@ -1,67 +0,0 @@ -/* Class289 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class289 { - static int anInt3696; - static boolean aBoolean3697 = false; - static int anInt3698; - static int anInt3699; - static byte[][][] aByteArrayArrayArray3700; - static Class46 aClass46_3701 = null; - static int anInt3702; - static int anInt3703; - static int anInt3704; - static Class262 aClass262_3705; - - public static void method2191(int i) { - if (i != 0) method2192((byte) -74); - aClass46_3701 = null; - aByteArrayArrayArray3700 = null; - aClass262_3705 = null; - } - - static final void method2192(byte i) { - Class250.anInt3227 = 0; - anInt3702++; - int i_0_ = (((Class132.aPlayer_1907.x) >> 9) - -za_Sub2.regionTileX); - int i_1_ = (Class90.regionTileY + (Class132.aPlayer_1907.y >> 9)); - if (i != 80) method2192((byte) -34); - if (i_0_ >= 3053 && i_0_ <= 3156 && i_1_ >= 3056 && i_1_ <= 3136) Class250.anInt3227 = 1; - if (i_0_ >= 3072 && i_0_ <= 3118 && i_1_ >= 9492 && i_1_ <= 9535) Class250.anInt3227 = 1; - if (Class250.anInt3227 == 1 && i_0_ >= 3139 && i_0_ <= 3199 && i_1_ >= 3008 && i_1_ <= 3062) Class250.anInt3227 = 0; - } - - static final void method2193(boolean bool, byte i) { - anInt3698++; - Class369_Sub1.method3570(false); - if (Class334.method2653(true, Class240.anInt4674)) { - Class11.anInt193++; - if (i < -118 && (Class11.anInt193 >= 50 || bool)) { - Class11.anInt193 = 0; - if (!Class110.aBoolean1712 && Class348_Sub40_Sub8.aClass238_9165 != null) { - IOException_Sub1.anInt88++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class239_Sub10.aClass351_5938), (Class348_Sub23_Sub2.aClass77_9029), -106); - Class348_Sub42_Sub14.method3243(122, class348_sub47); - try { - Class239_Sub18.method1802(0); - } catch (java.io.IOException ioexception) { - Class110.aBoolean1712 = true; - } - } - Class369_Sub1.method3570(false); - } - } - } - - static final int method2194(int i, Class348_Sub42_Sub13 class348_sub42_sub13) { - anInt3696++; - if (i != -1) return -42; - String string = Class348_Sub15.method2812(i + -43, class348_sub42_sub13); - return Class369.aClass143_4962.method1186(string, Class341.aClass105Array4234, false); - } - - static { - anInt3699 = 0; - } -} diff --git a/client/src/Class29.java b/client/src/Class29.java deleted file mode 100644 index 8aaa557aa..000000000 --- a/client/src/Class29.java +++ /dev/null @@ -1,19 +0,0 @@ -/* Class29 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class29 { - int anInt400; - static int anInt401 = 0; - static int anInt402; - static int anInt403; - - public final String toString() { - anInt402++; - throw new IllegalStateException(); - } - - Class29(int i, int i_0_) { - this.anInt400 = i; - } -} diff --git a/client/src/Class290.java b/client/src/Class290.java deleted file mode 100644 index 9b4aee0e9..000000000 --- a/client/src/Class290.java +++ /dev/null @@ -1,47 +0,0 @@ -/* Class290 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class290 { - static boolean aBoolean3706; - static int anInt3707; - Interface5_Impl1 anInterface5_Impl1_3708; - boolean aBoolean3709; - static float aFloat3710; - Interface5_Impl1 anInterface5_Impl1_3711; - static int anInt3712; - static int anInt3713 = 0; - boolean aBoolean3714; - static int anInt3715; - static int anInt3716; - static int anInt3717 = 1338; - static int anInt3718; - - final void method2195(boolean bool) { - if (this.anInterface5_Impl1_3708 != null) this.anInterface5_Impl1_3708.method21(23315); - anInt3715++; - this.aBoolean3714 = bool; - } - - static final void method2196(byte i) { - Class239_Sub19.anInt6043 = (int) ((double) Class367_Sub4.anInt7319 * 34.46); - Class348_Sub33.anInt6964 = 200; - anInt3716++; - if (i == -9) { - Class239_Sub19.anInt6043 <<= 2; - if (Class348_Sub8.aHa6654.method3670()) Class239_Sub19.anInt6043 += 512; - Class226.method1626(1, false); - } - Class239_Sub19.anInt6043 = (int) (Class239_Sub19.anInt6043 * Loader.CULLING_DISTANCE_MULTIPLIER); - } - - final boolean method2197(byte i) { - if (i >= -4) method2195(true); - anInt3718++; - return this.aBoolean3714 && !this.aBoolean3709; - } - - Class290(boolean bool) { - this.aBoolean3709 = bool; - } -} diff --git a/client/src/Class291.java b/client/src/Class291.java deleted file mode 100644 index f23031480..000000000 --- a/client/src/Class291.java +++ /dev/null @@ -1,142 +0,0 @@ -/* Class291 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class291 { - int anInt3719; - static int anInt3720 = 0; - int[][] anIntArrayArray3721; - int[] anIntArray3722; - Class316 aClass316_3723; - int[] anIntArray3724; - int[] anIntArray3725; - static int[] anIntArray3726; - int anInt3727; - Class316[] aClass316Array3728; - int[] anIntArray3729; - byte[][] aByteArrayArray3730; - static int anInt3731; - int anInt3732; - int[] anIntArray3733; - int anInt3734; - int[][] anIntArrayArray3735; - static int anInt3736; - static Class318_Sub1[] aClass318_Sub1Array3737; - int[] anIntArray3738; - static int anInt3739; - private byte[] aByteArray3740; - static int anInt3741; - - static final int method2198(int i, int i_0_, int i_1_) { - i_0_ = i_0_ * (i_1_ & 0x7f) >> 7; - if (i != 0) method2198(52, -11, 108); - anInt3741++; - if (i_0_ >= 2) { - if (i_0_ > 126) i_0_ = 126; - } else i_0_ = 2; - return (0xff80 & i_1_) - -i_0_; - } - - public static void method2199(byte i) { - anIntArray3726 = null; - if (i < 55) aClass318_Sub1Array3737 = null; - aClass318_Sub1Array3737 = null; - } - - private final void method2200(byte i, byte[] is) { - anInt3731++; - Class348_Sub49 class348_sub49 = new Class348_Sub49(Class348_Sub41.method3158(is, -105)); - int i_2_ = class348_sub49.readUnsignedByte(255); - if (i_2_ < 5 || i_2_ > 6) throw new RuntimeException(); - if (i_2_ < 6) this.anInt3732 = 0; - else this.anInt3732 = class348_sub49.readInt((byte) -126); - int i_3_ = class348_sub49.readUnsignedByte(255); - boolean bool = (i_3_ & 0x1) != 0; - boolean bool_4_ = (i_3_ & 0x2) != 0; - this.anInt3727 = class348_sub49.readUnsignedShort(842397944); - int i_5_ = 0; - this.anIntArray3738 = new int[this.anInt3727]; - int i_6_ = -1; - for (int i_7_ = 0; i_7_ < this.anInt3727; i_7_++) { - this.anIntArray3738[i_7_] = i_5_ += class348_sub49.readUnsignedShort(842397944); - if (i_6_ < this.anIntArray3738[i_7_]) i_6_ = this.anIntArray3738[i_7_]; - } - this.anInt3734 = i_6_ - -1; - if (bool_4_) this.aByteArrayArray3730 = new byte[this.anInt3734][]; - this.anIntArray3729 = new int[this.anInt3734]; - this.anIntArray3724 = new int[this.anInt3734]; - this.anIntArray3725 = new int[this.anInt3734]; - this.anIntArray3722 = new int[this.anInt3734]; - this.anIntArrayArray3721 = new int[this.anInt3734][]; - if (bool) { - this.anIntArray3733 = new int[this.anInt3734]; - for (int i_8_ = 0; i_8_ < this.anInt3734; i_8_++) - this.anIntArray3733[i_8_] = -1; - for (int i_9_ = 0; (this.anInt3727 > i_9_); i_9_++) - this.anIntArray3733[(this.anIntArray3738[i_9_])] = class348_sub49.readInt((byte) -126); - this.aClass316_3723 = new Class316(this.anIntArray3733); - } - if (i >= -83) method2200((byte) 42, null); - for (int i_10_ = 0; i_10_ < this.anInt3727; i_10_++) - this.anIntArray3729[(this.anIntArray3738[i_10_])] = class348_sub49.readInt((byte) -126); - if (bool_4_) { - for (int i_11_ = 0; i_11_ < this.anInt3727; i_11_++) { - byte[] is_12_ = new byte[64]; - class348_sub49.method3389(2147483647, 0, 64, is_12_); - this.aByteArrayArray3730[(this.anIntArray3738[i_11_])] = is_12_; - } - } - for (int i_13_ = 0; i_13_ < this.anInt3727; i_13_++) - this.anIntArray3722[(this.anIntArray3738[i_13_])] = class348_sub49.readInt((byte) -126); - for (int i_14_ = 0; this.anInt3727 > i_14_; i_14_++) - this.anIntArray3725[(this.anIntArray3738[i_14_])] = class348_sub49.readUnsignedShort(842397944); - for (int i_15_ = 0; this.anInt3727 > i_15_; i_15_++) { - int i_16_ = this.anIntArray3738[i_15_]; - i_5_ = 0; - int i_17_ = this.anIntArray3725[i_16_]; - int i_18_ = -1; - this.anIntArrayArray3721[i_16_] = new int[i_17_]; - for (int i_19_ = 0; i_17_ > i_19_; i_19_++) { - int i_20_ = (this.anIntArrayArray3721[i_16_][i_19_] = i_5_ += class348_sub49.readUnsignedShort(842397944)); - if (i_18_ < i_20_) i_18_ = i_20_; - } - this.anIntArray3724[i_16_] = i_18_ + 1; - if (1 + i_18_ == i_17_) this.anIntArrayArray3721[i_16_] = null; - } - if (bool) { - this.anIntArrayArray3735 = new int[i_6_ + 1][]; - this.aClass316Array3728 = new Class316[1 + i_6_]; - for (int i_21_ = 0; i_21_ < this.anInt3727; i_21_++) { - int i_22_ = this.anIntArray3738[i_21_]; - int i_23_ = this.anIntArray3725[i_22_]; - this.anIntArrayArray3735[i_22_] = new int[this.anIntArray3724[i_22_]]; - for (int i_24_ = 0; this.anIntArray3724[i_22_] > i_24_; i_24_++) - this.anIntArrayArray3735[i_22_][i_24_] = -1; - for (int i_25_ = 0; i_23_ > i_25_; i_25_++) { - int i_26_; - if (this.anIntArrayArray3721[i_22_] != null) i_26_ = (this.anIntArrayArray3721[i_22_][i_25_]); - else i_26_ = i_25_; - this.anIntArrayArray3735[i_22_][i_26_] = class348_sub49.readInt((byte) -126); - } - this.aClass316Array3728[i_22_] = new Class316(this.anIntArrayArray3735[i_22_]); - } - } - } - - Class291(byte[] is, int i, byte[] is_27_) { - try { - this.anInt3719 = Class59_Sub1.method554(5126, is.length, is); - if (i != this.anInt3719) throw new RuntimeException(); - if (is_27_ != null) { - if (is_27_.length != 64) throw new RuntimeException(); - aByteArray3740 = Class348_Sub1_Sub2.method2730(4567, 0, is, is.length); - for (int i_28_ = 0; i_28_ < 64; i_28_++) { - if (aByteArray3740[i_28_] != is_27_[i_28_]) throw new RuntimeException(); - } - } - method2200((byte) -120, is); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("vw.(" + (is != null ? "{...}" : "null") + ',' + i + ',' + (is_27_ != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class292.java b/client/src/Class292.java deleted file mode 100644 index 604275e0d..000000000 --- a/client/src/Class292.java +++ /dev/null @@ -1,67 +0,0 @@ -/* Class292 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class292 implements Interface7 { - static int anInt4797 = 0; - static Class114 aClass114_4798; - static int anInt4799; - static int anInt4800; - static int anInt4801; - static int anInt4802; - static int anInt4803 = -1; - private final Class45 aClass45_4804; - static int anInt4805; - - static final int method2201(int i) { - anInt4805++; - synchronized (Class24.aClass60_355) { - if (i != 2121) method2202(-113); - return Class24.aClass60_355.method575(0); - } - } - - public final int method31(int i) { - anInt4801++; - int i_0_ = 16 / ((i - -43) / 62); - if (aClass45_4804.method401(125)) return 100; - return aClass45_4804.method398((byte) -31); - } - - public static void method2202(int i) { - aClass114_4798 = null; - if (i != -17902) anInt4803 = 78; - } - - public final Class69 method32(int i) { - if (i != -15004) return null; - anInt4800++; - return Class69.aClass69_1195; - } - - static final boolean method2203(byte i) { - int i_1_ = 11 % ((12 - i) / 53); - anInt4802++; - try { - return Class348_Sub42_Sub8_Sub2.method3201(true); - } catch (java.io.IOException ioexception) { - Class272.method2049(106); - return true; - } catch (Exception exception) { - String string = ("T2 - " + (Class348_Sub3.aClass114_6584 != null ? Class348_Sub3.aClass114_6584.method1058((byte) 119) : -1) + "," + (Class239.aClass114_3145 != null ? Class239.aClass114_3145.method1058((byte) 119) : -1) + "," + (Class348_Sub40_Sub36.aClass114_9456 == null ? -1 : Class348_Sub40_Sub36.aClass114_9456.method1058((byte) 113)) + " - " + Class348_Sub40_Sub25.anInt9341 + "," + ((Class132.aPlayer_1907.anIntArray10320[0]) + za_Sub2.regionTileX) + "," + (Class90.regionTileY - -(Class132.aPlayer_1907.anIntArray10317[0])) + " - "); - for (int i_2_ = 0; Class348_Sub40_Sub25.anInt9341 > i_2_ && i_2_ < 50; i_2_++) - string += (Class299.aClass348_Sub49_Sub2_3813.aByteArray7154[i_2_]) + ","; - Class156.method1242(string, exception, 15004); - Class348_Sub40_Sub34.method3141(false, (byte) 11); - return true; - } - } - - Class292(Class45 class45) { - aClass45_4804 = class45; - } - - static { - aClass114_4798 = new Class114(29, 7); - } -} diff --git a/client/src/Class293.java b/client/src/Class293.java deleted file mode 100644 index 208333ef6..000000000 --- a/client/src/Class293.java +++ /dev/null @@ -1,119 +0,0 @@ -/* Class293 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class293 implements Runnable { - private long aLong3742; - private Class315 aClass315_3743; - private volatile boolean aBoolean3744; - private volatile boolean aBoolean3745; - private final ha aHa3746; - private final int[] anIntArray3747; - private final Class348_Sub1[] aClass348_Sub1Array3748 = new Class348_Sub1[8]; - private final int anInt3749; - private volatile boolean aBoolean3750; - - final long method2204() { - return aLong3742; - } - - public final void run() { - while (aBoolean3745) method2207(); - } - - final void method2205() { - aBoolean3750 = false; - aBoolean3745 = false; - synchronized (this) { - this.notify(); - } - } - - final void method2206(Class315 class315) { - if (aClass315_3743 != null) aClass315_3743.method2356(null, (byte) -108); - aClass315_3743 = class315; - if (aClass315_3743 != null) aClass315_3743.method2356(this, (byte) -108); - } - - private final void method2207() { - aHa3746.method3659(anInt3749); - while (!aBoolean3750 && aBoolean3745) { - if (aClass315_3743 == null || aClass315_3743.method2360(-112)) { - aBoolean3744 = false; - aLong3742 = Class50_Sub4.aClass47_5262.method446(1); - synchronized (this) { - try { - this.wait(); - } catch (InterruptedException interruptedexception) { - /* empty */ - } - } - } else { - aBoolean3744 = true; - Class318 class318 = aClass315_3743.method2362(25061); - if (class318 instanceof Class318_Sub1) { - Class318_Sub1 class318_sub1 = (Class318_Sub1) class318; - if (class318_sub1.aBoolean6387) class318_sub1.method2387(Class9.aHa171, -127); - else { - Class38.method365(class318_sub1, aClass348_Sub1Array3748); - if (Class362.aClass324_4456 != null) Class362.aClass324_4456.method2576(aClass315_3743.aString3953, -256, class318_sub1.anInt6380, class318_sub1.anInt6386, -16777216, -114); - } - } else { - int i = ((Class318_Sub2) class318).anInt6394; - if (i >= 1 && i <= 4) { - s var_s = aa_Sub1.aSArray5191[i - 1]; - for (int i_0_ = 0; i_0_ < (Class318_Sub1_Sub4_Sub1.anInt10084 + Class318_Sub1_Sub4_Sub1.anInt10084); i_0_++) { - for (int i_1_ = 0; i_1_ < (Class318_Sub1_Sub4_Sub1.anInt10084 + Class318_Sub1_Sub4_Sub1.anInt10084); i_1_++) { - if (Class115.aBooleanArrayArrayArray1751[i - 1][i_0_][i_1_]) { - int i_2_ = (Class239_Sub25.anInt6111 - Class318_Sub1_Sub4_Sub1.anInt10084 + i_0_); - int i_3_ = (Class285_Sub2.anInt8502 - Class318_Sub1_Sub4_Sub1.anInt10084 + i_1_); - if (i_2_ >= 0 && i_2_ < var_s.anInt4587 && i_3_ >= 0 && i_3_ < var_s.anInt4590) { - Class9.aHa171.H(i_2_ << Class362.anInt4459, var_s.method3982((byte) -86, i_3_, i_2_), i_3_ << Class362.anInt4459, anIntArray3747); - if (Class286_Sub4.method2154(anIntArray3747[0]) == anInt3749 - 1) var_s.method3979(i_2_, i_3_); - } - } - } - } - } - } - } - } - aHa3746.method3678(anInt3749); - while (aBoolean3750 && aBoolean3745) { - synchronized (this) { - try { - this.wait(); - } catch (InterruptedException interruptedexception) { - /* empty */ - } - } - } - } - - final void method2208() { - aBoolean3750 = true; - synchronized (this) { - this.notify(); - } - } - - final void method2209() { - aBoolean3750 = false; - synchronized (this) { - this.notify(); - } - } - - final boolean method2210() { - return aClass315_3743 == null || (!aBoolean3744 && aClass315_3743.method2360(70)); - } - - Class293(int i, ha var_ha) { - anIntArray3747 = new int[3]; - aBoolean3750 = true; - aBoolean3745 = true; - aBoolean3744 = false; - anInt3749 = i; - aHa3746 = var_ha; - } -} diff --git a/client/src/Class294.java b/client/src/Class294.java deleted file mode 100644 index bb1b40b64..000000000 --- a/client/src/Class294.java +++ /dev/null @@ -1,273 +0,0 @@ -/* Class294 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; -import java.lang.reflect.Field; - -final class Class294 implements Interface16 { - private boolean aBoolean5020; - private int anInt5021; - private boolean aBoolean5022; - private int anInt5023; - private FontMetrics aFontMetrics5024; - static int anInt5025; - private Image anImage5026; - static int anInt5027; - static int anInt5028; - private int anInt5029; - private Image anImage5030; - static int anInt5031; - private Image anImage5032; - static int anInt5033; - private Color aColor5034; - private Image anImage5035; - private int anInt5036; - private Image anImage5037; - static int anInt5038; - static int anInt5039; - private int anInt5040; - private Image anImage5041; - private int anInt5042; - static int anInt5043; - static int anInt5044; - private boolean aBoolean5045; - private int anInt5046; - private Image anImage5047; - static int anInt5048; - static int anInt5049; - private int anInt5050; - private int anInt5051; - static int anInt5052; - private Font aFont5053; - private Image anImage5054; - static int anInt5055; - private Image anImage5056; - static Class351 aClass351_5057 = new Class351(10, -1); - static Player[] aPlayerArray5058 = new Player[2048]; - private Image anImage5059; - static Class338[] aClass338Array5060; - static int anInt5061; - - private final void method2211(boolean bool) throws IllegalAccessException, NoSuchFieldException { - anInt5055++; - Class var_class = Class93.anApplet1530.getClass(); - anImage5047 = (Image) method2213(var_class, 2, "bar"); - anImage5035 = (Image) method2213(var_class, 2, "background"); - anImage5032 = (Image) method2213(var_class, 2, "left"); - anImage5037 = (Image) method2213(var_class, 2, "right"); - anImage5054 = (Image) method2213(var_class, 2, "top"); - anImage5041 = (Image) method2213(var_class, 2, "bottom"); - anImage5030 = (Image) method2213(var_class, 2, "bodyLeft"); - anImage5026 = (Image) method2213(var_class, 2, "bodyRight"); - anImage5056 = (Image) method2213(var_class, 2, "bodyFill"); - aFont5053 = (Font) method2213(var_class, 2, "bf"); - aFontMetrics5024 = (FontMetrics) method2213(var_class, 2, "bfm"); - aColor5034 = (Color) method2213(var_class, 2, "colourtext"); - Object object = method2213(var_class, 2, "lb"); - Class var_class_0_ = object.getClass(); - aBoolean5020 = method2216(object, bool, var_class_0_, "xMiddle"); - aBoolean5045 = method2216(object, bool, var_class_0_, "yMiddle"); - anInt5021 = method2212(object, var_class_0_, "xOffset", 95); - anInt5051 = method2212(object, var_class_0_, "yOffset", -124); - anInt5023 = method2212(object, var_class_0_, "width", 104); - anInt5036 = method2212(object, var_class_0_, "height", -45); - anInt5029 = method2212(object, var_class_0_, "boxXOffset", -91); - anInt5040 = method2212(object, var_class_0_, "boxYOffset", -74); - anInt5050 = method2212(object, var_class_0_, "boxWidth", 120); - anInt5046 = method2212(object, var_class_0_, "textYOffset", -47); - anInt5042 = method2212(object, var_class_0_, "offsetPerTenCycles", 107); - } - - private final int method2212(Object object, Class var_class, String string, int i) throws IllegalAccessException, NoSuchFieldException { - try { - int i_1_ = -38 / ((i - 24) / 60); - anInt5039++; - Field field = var_class.getDeclaredField(string); - return field.getInt(object); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wba.K(" + (object != null ? "{...}" : "null") + ',' + (var_class != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - private final Object method2213(Class var_class, int i, String string) throws IllegalAccessException, NoSuchFieldException { - try { - if (i != 2) return null; - anInt5038++; - Field field = var_class.getDeclaredField(string); - Object object = field.get(Class93.anApplet1530); - field.set(Class93.anApplet1530, null); - return object; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wba.C(" + (var_class != null ? "{...}" : "null") + ',' + i + ',' + (string != null ? "{...}" : "null") + ')')); - } - } - - public final int method55(byte i) { - if (i != -58) return -26; - anInt5052++; - return 0; - } - - public final boolean method56(byte i, long l) { - try { - if (i < 30) method2215((byte) 25, -63); - anInt5061++; - return true; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "wba.I(" + i + ',' + l + ')'); - } - } - - public static void method2214(int i) { - aClass351_5057 = null; - if (i != 0) aPlayerArray5058 = null; - aClass338Array5060 = null; - aPlayerArray5058 = null; - } - - public final int method60(int i) { - if (i != -19079) anInt5023 = -66; - anInt5049++; - return 100; - } - - private final int method2215(byte i, int i_2_) { - anInt5033++; - if (i < 23) anImage5030 = null; - if (aBoolean5020) return (-i_2_ + Class321.anInt4017) / 2; - return 0; - } - - public final void method57(int i) { - anInt5043++; - if (i <= 84) anInt5023 = -93; - } - - public final void method59(int i) { - Class191.method1428(true); - anInt5025++; - if (i != -9719) aBoolean5022 = false; - } - - private final boolean method2216(Object object, boolean bool, Class var_class, String string) throws IllegalAccessException, NoSuchFieldException { - try { - if (bool != true) method2217(4, -90, 15); - anInt5048++; - Field field = var_class.getDeclaredField(string); - return field.getBoolean(object); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wba.H(" + (object != null ? "{...}" : "null") + ',' + bool + ',' + (var_class != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ')')); - } - } - - static final boolean method2217(int i, int i_3_, int i_4_) { - anInt5027++; - if (i_4_ != 0) aClass338Array5060 = null; - return (i_3_ & 0x21) != 0; - } - - public final void method58(boolean bool, int i) { - anInt5044++; - if (i > -69) method2215((byte) -61, -24); - if (!aBoolean5022) { - if (Class93.anApplet1530 == null) aBoolean5022 = true; - else if (aFont5053 == null) { - try { - method2211(true); - } catch (Exception exception) { - aBoolean5022 = true; - } - } - } - if (aBoolean5022) method2219(33); - else { - Graphics graphics = Class305.aCanvas3869.getGraphics(); - if (graphics != null) { - try { - int i_5_ = Class51.aClass311_897.method2320((byte) 103); - String string = Class51.aClass311_897.method2318(-9324); - if (Class342.anImage4249 == null) Class342.anImage4249 = (Class305.aCanvas3869.createImage(Class321.anInt4017, Class348_Sub42_Sub8_Sub2.anInt10432)); - Graphics graphics_6_ = Class342.anImage4249.getGraphics(); - graphics_6_.clearRect(0, 0, Class321.anInt4017, Class348_Sub42_Sub8_Sub2.anInt10432); - int i_7_ = anImage5030.getWidth(null); - int i_8_ = anImage5026.getWidth(null); - int i_9_ = anImage5056.getWidth(null); - int i_10_ = anImage5030.getHeight(null); - int i_11_ = anImage5026.getHeight(null); - int i_12_ = anImage5056.getHeight(null); - graphics_6_.drawImage(anImage5030, (method2215((byte) 84, i_7_) - (-anInt5029 + anInt5050 / 2)), method2218(i_10_, -6277) + anInt5040, null); - int i_13_ = i_7_ + -(anInt5050 / 2) + anInt5029; - int i_14_ = anInt5029 + anInt5050 / 2; - for (int i_15_ = i_13_; i_14_ >= i_15_; i_15_ += i_9_) - graphics_6_.drawImage(anImage5056, i_15_ + (method2215((byte) 77, i_7_) - -anInt5029), (method2218(i_12_, -6277) + anInt5040), null); - graphics_6_.drawImage(anImage5026, (method2215((byte) 25, i_8_) - (-anInt5029 - anInt5050 / 2)), (method2218(i_11_, -6277) - -anInt5040), null); - int i_16_ = anImage5032.getWidth(null); - int i_17_ = anImage5032.getHeight(null); - int i_18_ = anImage5037.getWidth(null); - int i_19_ = anImage5037.getHeight(null); - int i_20_ = anImage5041.getHeight(null); - int i_21_ = anImage5054.getWidth(null); - int i_22_ = anImage5054.getHeight(null); - int i_23_ = anImage5041.getWidth(null); - int i_24_ = anImage5047.getWidth(null); - int i_25_ = anImage5035.getWidth(null); - int i_26_ = method2215((byte) 122, anInt5023) + anInt5021; - int i_27_ = method2218(anInt5036, -6277) - -anInt5051; - graphics_6_.drawImage(anImage5032, i_26_, i_27_ - -((anInt5036 + -i_17_) / 2), null); - graphics_6_.drawImage(anImage5037, anInt5023 + i_26_ - i_18_, (anInt5036 - i_19_) / 2 + i_27_, null); - if (anImage5059 == null) anImage5059 = (Class305.aCanvas3869.createImage(-i_18_ + (-i_16_ + anInt5023), anInt5036)); - Graphics graphics_28_ = anImage5059.getGraphics(); - for (int i_29_ = 0; (-i_18_ + (anInt5023 + -i_16_) > i_29_); i_29_ += i_21_) - graphics_28_.drawImage(anImage5054, i_29_, 0, null); - for (int i_30_ = 0; (i_30_ < anInt5023 - (i_16_ + i_18_)); i_30_ += i_23_) - graphics_28_.drawImage(anImage5041, i_30_, -i_20_ + anInt5036, null); - int i_31_ = i_5_ * (-i_18_ + (-i_16_ + anInt5023)) / 100; - if (i_31_ > 0) { - Image image = Class305.aCanvas3869.createImage(i_31_, (-i_22_ + (anInt5036 + -i_20_))); - int i_32_ = image.getWidth(null); - Graphics graphics_33_ = image.getGraphics(); - int i_34_ = anInt5042 * aa_Sub2.method163(512) / 10 % i_24_; - for (int i_35_ = -i_24_ + i_34_; i_35_ < i_32_; i_35_ += i_24_) - graphics_33_.drawImage(anImage5047, i_35_, 0, null); - graphics_28_.drawImage(image, 0, i_22_, null); - } - int i_36_ = i_31_; - i_31_ = -i_31_ + -i_18_ + anInt5023 + -i_16_; - if (i_31_ > 0) { - Image image = Class305.aCanvas3869.createImage(i_31_, (-i_22_ + (anInt5036 + -i_20_))); - int i_37_ = image.getWidth(null); - Graphics graphics_38_ = image.getGraphics(); - for (int i_39_ = 0; i_39_ < i_37_; i_39_ += i_25_) - graphics_38_.drawImage(anImage5035, i_39_, 0, null); - graphics_28_.drawImage(image, i_36_, i_22_, null); - } - graphics_6_.drawImage(anImage5059, i_16_ + i_26_, i_27_, null); - graphics_6_.setFont(aFont5053); - graphics_6_.setColor(aColor5034); - graphics_6_.drawString(string, i_26_ + (anInt5023 + -aFontMetrics5024.stringWidth(string)) / 2, anInt5046 + (4 + anInt5036 / 2 + i_27_)); - graphics.drawImage(Class342.anImage4249, 0, 0, null); - } catch (Exception exception) { - aBoolean5022 = true; - } - } else Class305.aCanvas3869.repaint(); - } - } - - private final int method2218(int i, int i_40_) { - anInt5028++; - if (aBoolean5045) return (-i + Class348_Sub42_Sub8_Sub2.anInt10432) / 2; - if (i_40_ != -6277) anImage5026 = null; - return 0; - } - - private final void method2219(int i) { - anInt5031++; - Class199.method1455(Class51.aClass311_897.method2320((byte) 78), Class135.aColorArray1928[Class222.anInt2884], Class51.aClass311_897.method2318(-9324), (Class348_Sub40_Sub8.aColorArray9163[Class222.anInt2884]), (byte) -100, Class50_Sub3.aColorArray5242[Class222.anInt2884]); - if (i != 33) method55((byte) 1); - } - - public Class294() { - /* empty */ - } -} diff --git a/client/src/Class295.java b/client/src/Class295.java deleted file mode 100644 index 900eec82b..000000000 --- a/client/src/Class295.java +++ /dev/null @@ -1,72 +0,0 @@ -/* Class295 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class295 { - static Class114 aClass114_3751; - static int anInt3752; - static Class348_Sub42_Sub17[] aClass348_Sub42_Sub17Array3753 = new Class348_Sub42_Sub17[14]; - String aString3754; - static int anInt3755; - String aString3756; - static int anInt3757; - String aString3758; - static int[] anIntArray3759; - static int anInt3760; - static double aDouble3761; - static int anInt3762; - static boolean aBoolean3763; - static int anInt3764; - - static final int method2220(int i, int i_0_, int i_1_, byte i_2_) { - anInt3757++; - if (i_2_ != 71) return -122; - i_0_ &= 0x3; - if (i_0_ == 0) return i_1_; - if (i_0_ == 1) return i; - if (i_0_ == 2) return 7 + -i_1_; - return 7 + -i; - } - - static final void method2221(Player player, int i) { - anInt3752++; - if (i != -28482) aClass348_Sub42_Sub17Array3753 = null; - Class348_Sub9 class348_sub9 = ((Class348_Sub9) (Class348_Sub42_Sub16_Sub2.aClass356_10465.method3480(player.anInt10290, -6008))); - if (class348_sub9 != null) { - if (class348_sub9.aClass348_Sub16_Sub5_6676 != null) { - Class348_Sub43.aClass348_Sub16_Sub4_7065.method2880(class348_sub9.aClass348_Sub16_Sub5_6676); - class348_sub9.aClass348_Sub16_Sub5_6676 = null; - } - class348_sub9.method2715((byte) 82); - } - } - - static final void method2222(int i, byte i_3_) { - anInt3755++; - Class73.aLong4783 = 1000000000L / (long) i; - if (i_3_ != -124) method2223(-83); - } - - public static void method2223(int i) { - aClass348_Sub42_Sub17Array3753 = null; - anIntArray3759 = null; - aClass114_3751 = null; - if (i < 100) aBoolean3763 = false; - } - - Class295(String string, String string_4_, String string_5_) { - try { - this.aString3754 = string_4_; - this.aString3758 = string_5_; - this.aString3756 = string; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wc.(" + (string != null ? "{...}" : "null") + ',' + (string_4_ != null ? "{...}" : "null") + ',' + (string_5_ != null ? "{...}" : "null") + ')')); - } - } - - static { - aClass114_3751 = new Class114(1, 2); - anInt3760 = -1; - anInt3764 = 0; - } -} diff --git a/client/src/Class296.java b/client/src/Class296.java deleted file mode 100644 index 32570a57a..000000000 --- a/client/src/Class296.java +++ /dev/null @@ -1,210 +0,0 @@ -/* Class296 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class296 { - static int anInt3765; - private final int[] anIntArray3766; - static boolean aBoolean3767 = false; - static int anInt3768; - private final byte[] aByteArray3769; - static int anInt3770; - static int anInt3771; - static int anInt3772; - static Class114 aClass114_3773 = new Class114(55, 0); - private int[] anIntArray3774; - static int anInt3775; - - static final boolean method2224(int i, byte i_0_, int i_1_) { - int i_2_ = 41 / ((59 - i_0_) / 37); - anInt3765++; - return (i & 0x800) != 0; - } - - public static void method2225(int i) { - if (i != 32) aClass114_3773 = null; - aClass114_3773 = null; - } - - final int method2226(byte[] is, int i, byte[] is_3_, int i_4_, int i_5_, int i_6_) { - try { - anInt3770++; - if (i_4_ == 0) return 0; - i_4_ += i_6_; - int i_7_ = 0; - if (i_5_ != -1) anIntArray3774 = null; - int i_8_ = i; - for (; ; ) { - byte i_9_ = is_3_[i_8_]; - if (i_9_ >= 0) i_7_++; - else i_7_ = anIntArray3774[i_7_]; - int i_10_; - if ((i_10_ = anIntArray3774[i_7_]) < 0) { - is[i_6_++] = (byte) (~i_10_); - if (i_4_ <= i_6_) break; - i_7_ = 0; - } - if ((0x40 & i_9_) != 0) i_7_ = anIntArray3774[i_7_]; - else i_7_++; - if ((i_10_ = anIntArray3774[i_7_]) < 0) { - is[i_6_++] = (byte) (~i_10_); - if (i_6_ >= i_4_) break; - i_7_ = 0; - } - if ((0x20 & i_9_) == 0) i_7_++; - else i_7_ = anIntArray3774[i_7_]; - if ((i_10_ = anIntArray3774[i_7_]) < 0) { - is[i_6_++] = (byte) (~i_10_); - if (i_6_ >= i_4_) break; - i_7_ = 0; - } - if ((i_9_ & 0x10) == 0) i_7_++; - else i_7_ = anIntArray3774[i_7_]; - if ((i_10_ = anIntArray3774[i_7_]) < 0) { - is[i_6_++] = (byte) (~i_10_); - if (i_6_ >= i_4_) break; - i_7_ = 0; - } - if ((0x8 & i_9_) == 0) i_7_++; - else i_7_ = anIntArray3774[i_7_]; - if ((i_10_ = anIntArray3774[i_7_]) < 0) { - is[i_6_++] = (byte) (~i_10_); - if (i_4_ <= i_6_) break; - i_7_ = 0; - } - if ((i_9_ & 0x4) != 0) i_7_ = anIntArray3774[i_7_]; - else i_7_++; - if ((i_10_ = anIntArray3774[i_7_]) < 0) { - is[i_6_++] = (byte) (~i_10_); - if (i_4_ <= i_6_) break; - i_7_ = 0; - } - if ((i_9_ & 0x2) == 0) i_7_++; - else i_7_ = anIntArray3774[i_7_]; - if ((i_10_ = anIntArray3774[i_7_]) < 0) { - is[i_6_++] = (byte) (~i_10_); - if (i_4_ <= i_6_) break; - i_7_ = 0; - } - if ((i_9_ & 0x1) != 0) i_7_ = anIntArray3774[i_7_]; - else i_7_++; - if ((i_10_ = anIntArray3774[i_7_]) < 0) { - is[i_6_++] = (byte) (~i_10_); - if (i_6_ >= i_4_) break; - i_7_ = 0; - } - i_8_++; - } - return i_8_ + 1 + -i; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wda.A(" + (is != null ? "{...}" : "null") + ',' + i + ',' + (is_3_ != null ? "{...}" : "null") + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ')')); - } - } - - final int method2227(int i, int i_11_, int i_12_, byte[] is, int i_13_, byte[] is_14_) { - try { - anInt3771++; - int i_15_ = 0; - i += i_11_; - int i_16_ = i_12_ << 3; - if (i_13_ <= 14) method2226(null, 61, null, 89, 122, 10); - for (/**/; i > i_11_; i_11_++) { - int i_17_ = 0xff & is[i_11_]; - int i_18_ = anIntArray3766[i_17_]; - int i_19_ = aByteArray3769[i_17_]; - if (i_19_ == 0) throw new RuntimeException("No codeword for data value " + i_17_); - int i_20_ = i_16_ >> 3; - int i_21_ = i_16_ & 0x7; - i_15_ &= -i_21_ >> 31; - int i_22_ = (i_21_ - -i_19_ + -1 >> 3) + i_20_; - i_16_ += i_19_; - i_21_ += 24; - is_14_[i_20_] = (byte) (i_15_ = Class273.method2057(i_15_, i_18_ >>> i_21_)); - if (i_22_ > i_20_) { - i_20_++; - i_21_ -= 8; - is_14_[i_20_] = (byte) (i_15_ = i_18_ >>> i_21_); - if (i_20_ < i_22_) { - i_20_++; - i_21_ -= 8; - is_14_[i_20_] = (byte) (i_15_ = i_18_ >>> i_21_); - if (i_22_ > i_20_) { - i_21_ -= 8; - i_20_++; - is_14_[i_20_] = (byte) (i_15_ = i_18_ >>> i_21_); - if (i_20_ < i_22_) { - i_21_ -= 8; - i_20_++; - is_14_[i_20_] = (byte) (i_15_ = i_18_ << -i_21_); - } - } - } - } - } - return -i_12_ + (i_16_ - -7 >> 3); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wda.C(" + i + ',' + i_11_ + ',' + i_12_ + ',' + (is != null ? "{...}" : "null") + ',' + i_13_ + ',' + (is_14_ != null ? "{...}" : "null") + ')')); - } - } - - static final void method2228(int i) { - if (i == 0) { - Class215.method1582(7851); - anInt3772++; - Class369_Sub1.method3570(false); - } - } - - Class296(byte[] is) { - int i = is.length; - anIntArray3766 = new int[i]; - aByteArray3769 = is; - anIntArray3774 = new int[8]; - int[] is_23_ = new int[33]; - int i_24_ = 0; - for (int i_25_ = 0; i_25_ < i; i_25_++) { - int i_26_ = is[i_25_]; - if (i_26_ != 0) { - int i_27_ = 1 << 32 - i_26_; - int i_28_ = is_23_[i_26_]; - anIntArray3766[i_25_] = i_28_; - int i_29_; - if ((i_27_ & i_28_) == 0) { - for (int i_30_ = -1 + i_26_; i_30_ >= 1; i_30_--) { - int i_31_ = is_23_[i_30_]; - if (i_31_ != i_28_) break; - int i_32_ = 1 << 32 + -i_30_; - if ((i_31_ & i_32_) != 0) { - is_23_[i_30_] = is_23_[i_30_ - 1]; - break; - } - is_23_[i_30_] = Class273.method2057(i_31_, i_32_); - } - i_29_ = i_27_ | i_28_; - } else i_29_ = is_23_[-1 + i_26_]; - is_23_[i_26_] = i_29_; - for (int i_33_ = i_26_ + 1; i_33_ <= 32; i_33_++) { - if (i_28_ == is_23_[i_33_]) is_23_[i_33_] = i_29_; - } - int i_34_ = 0; - for (int i_35_ = 0; i_35_ < i_26_; i_35_++) { - int i_36_ = -2147483648 >>> i_35_; - if ((i_28_ & i_36_) == 0) i_34_++; - else { - if (anIntArray3774[i_34_] == 0) anIntArray3774[i_34_] = i_24_; - i_34_ = anIntArray3774[i_34_]; - } - i_36_ >>>= 1; - if (anIntArray3774.length <= i_34_) { - int[] is_37_ = new int[anIntArray3774.length * 2]; - for (int i_38_ = 0; anIntArray3774.length > i_38_; i_38_++) - is_37_[i_38_] = anIntArray3774[i_38_]; - anIntArray3774 = is_37_; - } - } - anIntArray3774[i_34_] = ~i_25_; - if (i_34_ >= i_24_) i_24_ = 1 + i_34_; - } - } - } -} diff --git a/client/src/Class297.java b/client/src/Class297.java deleted file mode 100644 index a93dd073f..000000000 --- a/client/src/Class297.java +++ /dev/null @@ -1,468 +0,0 @@ -/* Class297 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; -import java.awt.datatransfer.Clipboard; -import java.awt.datatransfer.Transferable; -import java.io.DataInputStream; -import java.io.File; -import java.io.FileOutputStream; -import java.io.IOException; -import java.lang.reflect.Method; -import java.net.InetAddress; -import java.net.Socket; -import java.net.URL; - -final class Class297 implements Runnable { - private Callback_Sub1 aCallback_Sub1_3776; - boolean aBoolean3777; - static String aString3778; - Class234 aClass234_3779 = null; - static String aString3780; - private static volatile long aLong3781 = 0L; - static String aString3782; - static Method aMethod3783; - private static String aString3784; - Class234 aClass234_3785 = null; - static Method aMethod3786; - private Object anObject3787; - Class234 aClass234_3788; - private static String aString3789; - private final Thread aThread3790; - private Object anObject3791; - private static int anInt3792; - private Object anObject3793; - boolean aBoolean3794; - Class234[] aClass234Array3795; - static String aString3796; - private Class144 aClass144_3797; - private Class144 aClass144_3798; - EventQueue anEventQueue3799; - private static String aString3800; - private boolean aBoolean3801; - private Class134 aClass134_3802; - static String aString3803; - /*synthetic*/ static Class aClass3804; - /*synthetic*/ static Class aClass3805; - /*synthetic*/ static Class aClass3806; - /*synthetic*/ static Class aClass3807; - - final Class144 method2229(int i, int i_0_, int i_1_, int i_2_, byte i_3_) { - if (i_3_ != -11) aLong3781 = 34L; - return method2246(8, (i_1_ << 16) - -i, 6, i_0_ + (i_2_ << 16), null); - } - - final Class144 method2230(Class[] var_classes, int i, Class var_class, String string) { - if (i < 49) return null; - return method2246(8, 0, 8, 0, new Object[]{var_class, string, var_classes}); - } - - static final Class234 method2231(String string, int i) { - if (i != -1141472112) return null; - return method2241(string, 12606, aString3789, anInt3792); - } - - final Class144 method2232(int i, int i_4_) { - if (i <= 20) method2236(null, -123, -128); - return method2246(8, 0, 3, i_4_, null); - } - - final Class144 method2233(byte i, String string, boolean bool) { - if (i != -46) return null; - if (!bool) return method2246(8, 0, 13, 0, string); - return method2246(8, 0, 12, 0, string); - } - - public final void run() { - for (; ; ) { - Class144 class144; - synchronized (this) { - for (; ; ) { - if (aBoolean3801) return; - if (aClass144_3797 != null) { - class144 = aClass144_3797; - aClass144_3797 = aClass144_3797.aClass144_1995; - if (aClass144_3797 == null) aClass144_3798 = null; - break; - } - try { - this.wait(); - } catch (InterruptedException interruptedexception) { - /* empty */ - } - } - } - try { - int i = class144.anInt1994; - if (i == 1) { - if (aLong3781 > Class62.method599(-53)) throw new IOException(); - if (Loader.debug) { - System.out.println("Connect: " + class144.anObject1996 + " " + class144.anInt2000); - } - class144.anObject1998 = new Socket(InetAddress.getByName((String) (class144.anObject1996)), class144.anInt2000); - } else if (i == 22) { - if (aLong3781 > Class62.method599(-92)) throw new IOException(); - try { - class144.anObject1998 = Class61.method593(class144.anInt2000, (byte) -90, ((String) class144.anObject1996)).method2050(-112); - } catch (IOException_Sub1 ioexception_sub1) { - class144.anObject1998 = ioexception_sub1.getMessage(); - throw ioexception_sub1; - } - } else if (i == 2) { - Thread thread = new Thread((Runnable) (class144.anObject1996)); - thread.setDaemon(true); - thread.start(); - thread.setPriority(class144.anInt2000); - class144.anObject1998 = thread; - } else if (i == 4) { - if (Class62.method599(-73) < aLong3781) throw new IOException(); - class144.anObject1998 = new DataInputStream(((URL) (class144.anObject1996)).openStream()); - } else if (i == 8) { - Object[] objects = ((Object[]) class144.anObject1996); - if (this.aBoolean3777 && (((Class) objects[0]).getClassLoader() == null)) throw new SecurityException(); - class144.anObject1998 = (((Class) objects[0]).getDeclaredMethod((String) objects[1], (Class[]) objects[2])); - } else if (i == 9) { - Object[] objects = ((Object[]) class144.anObject1996); - if (this.aBoolean3777 && (((Class) objects[0]).getClassLoader() == null)) throw new SecurityException(); - class144.anObject1998 = (((Class) objects[0]).getDeclaredField((String) objects[1])); - } else if (i == 18) { - Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard(); - class144.anObject1998 = clipboard.getContents(null); - } else if (i == 19) { - Transferable transferable = ((Transferable) (class144.anObject1996)); - Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard(); - clipboard.setContents(transferable, null); - } else if (this.aBoolean3777) { - if (i == 3) { - if (aLong3781 > Class62.method599(-123)) throw new IOException(); - String string = (((0xff & (class144.anInt2000 >> 24))) + "." + (0xff & (class144.anInt2000 >> 16)) + "." + ((class144.anInt2000 >> 8) & 0xff) + "." + (0xff & class144.anInt2000)); - class144.anObject1998 = InetAddress.getByName(string).getHostName(); - } else if (i == 21) { - if (Class62.method599(-82) < aLong3781) throw new IOException(); - class144.anObject1998 = InetAddress.getByName((String) (class144.anObject1996)).getAddress(); - } else if (i != 5) { - if (i == 6) { - Frame frame = (new Frame("Jagex Full Screen")); - class144.anObject1998 = frame; - frame.setResizable(false); - if (this.aBoolean3794) aClass134_3802.method1146((class144.anInt2000 & 0xffff), (class144.anInt1999 >> 16), (class144.anInt2000 >>> 16), -43, 0xffff & (class144.anInt1999), frame); - else - ((Class7) anObject3793).method209(frame, (new Integer((class144.anInt2000) >>> 16)), (new Integer(0xffff & (class144.anInt2000))), (new Integer((class144.anInt1999) >> 16)), (new Integer((class144.anInt1999) & 0xffff))); - } else if (i == 7) { - if (this.aBoolean3794) aClass134_3802.method1147(((Frame) (class144.anObject1996)), 8); - else ((Class7) anObject3793).method211(); - } else if (i == 12) { - Class234 class234 = (method2241(((String) (class144.anObject1996)), 12606, aString3789, anInt3792)); - class144.anObject1998 = class234; - } else if (i == 13) { - Class234 class234 = (method2241(((String) (class144.anObject1996)), 12606, "", anInt3792)); - class144.anObject1998 = class234; - } else if ((this.aBoolean3777) && i == 14) { - int i_5_ = (class144.anInt2000); - int i_6_ = (class144.anInt1999); - if (this.aBoolean3794) aCallback_Sub1_3776.method3621(i_5_, (byte) 115, i_6_); - else ((Class165) anObject3791).method1280((new Integer(i_5_)), (new Integer(i_6_))); - } else if ((this.aBoolean3777) && (i == 15)) { - boolean bool = ((class144.anInt2000) != 0); - Component component = ((Component) (class144.anObject1996)); - if (this.aBoolean3794) aCallback_Sub1_3776.method3622(bool, 13259, component); - else ((Class165) anObject3791).method1281(component, (new Boolean(bool))); - } else if (!(this.aBoolean3794) && (i == 17)) { - Object[] objects = ((Object[]) (class144.anObject1996)); - ((Class165) anObject3791).method1282((Component) objects[0], (int[]) objects[1], (new Integer(class144.anInt2000)), (new Integer(class144.anInt1999)), (Point) objects[2]); - } else if (i == 16) { - try { - if (!aString3803.startsWith("win")) throw new Exception(); - String string = ((String) (class144.anObject1996)); - if (!(string.startsWith("http://")) && !(string.startsWith("https://"))) throw new Exception(); - String string_7_ = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789?&=,.%+-_#:/*"; - for (int i_8_ = 0; (i_8_ < (string.length())); i_8_++) { - if ((string_7_.indexOf(string.charAt(i_8_))) == -1) throw new Exception(); - } - Runtime.getRuntime().exec("cmd /c start \"j\" \"" + string + "\""); - class144.anObject1998 = null; - } catch (Exception exception) { - class144.anObject1998 = exception; - throw exception; - } - } else throw new Exception(""); - } else if (!this.aBoolean3794) class144.anObject1998 = ((Class7) anObject3793).method210(); - else class144.anObject1998 = aClass134_3802.method1145(true); - } else throw new Exception(""); - class144.anInt1997 = 1; - } catch (Throwable throwable) { - if (Loader.trace) { - throwable.printStackTrace(); - } - class144.anInt1997 = 2; - } - synchronized (class144) { - class144.notify(); - } - } - } - - final void method2234(byte i) { - synchronized (this) { - aBoolean3801 = true; - this.notifyAll(); - } - try { - aThread3790.join(); - if (i != 103) this.aClass234_3788 = null; - } catch (InterruptedException interruptedexception) { - /* empty */ - } - if (this.aClass234_3785 != null) { - try { - this.aClass234_3785.method1657(false); - } catch (IOException ioexception) { - /* empty */ - } - } - if (this.aClass234_3779 != null) { - try { - this.aClass234_3779.method1657(false); - } catch (IOException ioexception) { - /* empty */ - } - } - if (this.aClass234Array3795 != null) { - for (int i_9_ = 0; i_9_ < this.aClass234Array3795.length; i_9_++) { - if (this.aClass234Array3795[i_9_] != null) { - try { - this.aClass234Array3795[i_9_].method1657(false); - } catch (IOException ioexception) { - /* empty */ - } - } - } - } - do { - if (this.aClass234_3788 != null) { - try { - this.aClass234_3788.method1657(false); - } catch (IOException ioexception) { - break; - } - break; - } - } while (false); - } - - final Class144 method2235(boolean bool, int i, String string, int i_10_) { - if (i_10_ != 28225) return null; - return method2246(i_10_ ^ 0x6e49, 0, bool ? 22 : 1, i, string); - } - - final Class144 method2236(Runnable runnable, int i, int i_11_) { - if (i != -10240) method2242(null, (byte) 57, null); - return method2246(8, 0, 2, i_11_, runnable); - } - - final Class144 method2237(URL url, int i) { - if (i != 8362) return null; - return method2246(8, 0, 4, 0, url); - } - - final Class144 method2238(int i, int[] is, int i_12_, Point point, Component component, int i_13_) { - if (i_12_ != 17) method2240(-75); - return method2246(i_12_ + -9, i, 17, i_13_, new Object[]{component, is, point}); - } - - final void method2239(int i) { - if (i > -90) this.aClass234_3779 = null; - aLong3781 = 5000L + Class62.method599(-107); - } - - final Class144 method2240(int i) { - if (i != 972476528) return null; - return method2246(8, 0, 5, 0, null); - } - - private static final Class234 method2241(String string, int i, String string_14_, int i_15_) { - String string_16_; - if (i_15_ == 33) string_16_ = "jagex_" + string_14_ + "_preferences" + string + "_rc.dat"; - else if (i_15_ != 34) string_16_ = "jagex_" + string_14_ + "_preferences" + string + ".dat"; - else string_16_ = "jagex_" + string_14_ + "_preferences" + string + "_wip.dat"; - if (i != 12606) return null; - String[] strings = {"c:/rscache/", "/rscache/", aString3800, "c:/windows/", "c:/winnt/", "c:/", "/tmp/", ""}; - for (int i_17_ = 0; strings.length > i_17_; i_17_++) { - String string_18_ = strings[i_17_]; - if (string_18_.length() <= 0 || new File(string_18_).exists()) { - try { - Class234 class234 = new Class234(new File(string_18_, string_16_), "rw", 10000L); - return class234; - } catch (Exception exception) { - /* empty */ - } - } - } - return null; - } - - final boolean method2242(byte[] is, byte i, File file) { - try { - FileOutputStream fileoutputstream = new FileOutputStream(file); - fileoutputstream.write(is, 0, is.length); - if (i != -104) return false; - fileoutputstream.close(); - return true; - } catch (IOException ioexception) { - throw new RuntimeException(); - } - } - - final Class144 method2243(int i, String string, Class var_class) { - if (i != 0) method2239(-13); - return method2246(8, 0, 9, 0, new Object[]{var_class, string}); - } - - final Object method2244(int i) { - if (i != 21) method2237(null, 23); - return anObject3787; - } - - final Class144 method2245(String string, int i) { - if (i != 16) return null; - return method2246(i + -8, 0, 16, 0, string); - } - - private final Class144 method2246(int i, int i_19_, int i_20_, int i_21_, Object object) { - Class144 class144 = new Class144(); - class144.anObject1996 = object; - class144.anInt1999 = i_19_; - class144.anInt1994 = i_20_; - class144.anInt2000 = i_21_; - synchronized (this) { - if (aClass144_3798 == null) aClass144_3798 = aClass144_3797 = class144; - else { - aClass144_3798.aClass144_1995 = class144; - aClass144_3798 = class144; - } - this.notify(); - if (i != 8) method2235(false, 76, null, 37); - } - return class144; - } - - final boolean method2247(int i) { - if (i != -4) method2245(null, 50); - if (!this.aBoolean3777) return false; - if (this.aBoolean3794) { - return aClass134_3802 != null; - } - return anObject3793 != null; - } - - final Class144 method2248(byte i, Frame frame) { - if (i != 89) return null; - return method2246(i ^ 0x51, 0, 7, 0, frame); - } - - Class297(int i, String string, int i_22_, boolean bool) throws Exception { - this.aBoolean3777 = false; - aClass144_3798 = null; - aBoolean3801 = false; - this.aClass234_3788 = null; - this.aBoolean3794 = false; - aClass144_3797 = null; - aString3789 = string; - this.aBoolean3777 = bool; - aString3796 = "1.1"; - aString3782 = "Unknown"; - anInt3792 = i; - try { - aString3782 = System.getProperty("java.vendor"); - aString3796 = System.getProperty("java.version"); - } catch (Exception exception) { - /* empty */ - } - if (aString3782.toLowerCase().indexOf("microsoft") != -1) this.aBoolean3794 = true; - try { - aString3784 = System.getProperty("os.name"); - } catch (Exception exception) { - aString3784 = "Unknown"; - } - aString3803 = aString3784.toLowerCase(); - try { - aString3780 = System.getProperty("os.arch").toLowerCase(); - } catch (Exception exception) { - aString3780 = ""; - } - try { - aString3778 = System.getProperty("os.version").toLowerCase(); - } catch (Exception exception) { - aString3778 = ""; - } - try { - aString3800 = System.getProperty("user.home"); - if (aString3800 != null) aString3800 += "/"; - } catch (Exception exception) { - /* empty */ - } - if (aString3800 == null) aString3800 = "~/"; - try { - this.anEventQueue3799 = Toolkit.getDefaultToolkit().getSystemEventQueue(); - } catch (Throwable throwable) { - /* empty */ - } - if (!this.aBoolean3794) { - try { - aMethod3783 = Component.class.getDeclaredMethod("setFocusTraversalKeysEnabled", Boolean.TYPE); - } catch (Exception exception) { - /* empty */ - } - try { - aMethod3786 = (Container.class.getDeclaredMethod("setFocusCycleRoot", Boolean.TYPE)); - } catch (Exception exception) { - /* empty */ - } - } - Class201.method1465((byte) -121, aString3789, anInt3792); - if (this.aBoolean3777) { - this.aClass234_3788 = new Class234(Class201.method1464(0, anInt3792, "random.dat", null), "rw", 25L); - this.aClass234_3785 = new Class234(Class201.method1466(-2, "main_file_cache.dat2"), "rw", 209715200L); - this.aClass234_3779 = new Class234(Class201.method1466(-2, "main_file_cache.idx255"), "rw", 1048576L); - this.aClass234Array3795 = new Class234[i_22_]; - for (int i_23_ = 0; i_22_ > i_23_; i_23_++) - this.aClass234Array3795[i_23_] = new Class234(Class201.method1466(-2, ("main_file_cache.idx" + i_23_)), "rw", 1048576L); - if (this.aBoolean3794) { - try { - anObject3787 = new Class1(); - } catch (Throwable throwable) { - /* empty */ - } - } - try { - if (!this.aBoolean3794) anObject3793 = new Class7(); - else aClass134_3802 = new Class134(); - } catch (Throwable throwable) { - /* empty */ - } - try { - if (!this.aBoolean3794) anObject3791 = new Class165(); - else aCallback_Sub1_3776 = new Callback_Sub1(); - } catch (Throwable throwable) { - /* empty */ - } - } - if (this.aBoolean3777 && !this.aBoolean3794) { - ThreadGroup threadgroup = Thread.currentThread().getThreadGroup(); - for (ThreadGroup threadgroup_24_ = threadgroup.getParent(); threadgroup_24_ != null; threadgroup_24_ = threadgroup.getParent()) - threadgroup = threadgroup_24_; - Thread[] threads = new Thread[1000]; - threadgroup.enumerate(threads); - for (int i_25_ = 0; threads.length > i_25_; i_25_++) { - if (threads[i_25_] != null && threads[i_25_].getName().startsWith("AWT")) threads[i_25_].setPriority(1); - } - } - aBoolean3801 = false; - aThread3790 = new Thread(this); - aThread3790.setPriority(10); - aThread3790.setDaemon(true); - aThread3790.start(); - } - -} diff --git a/client/src/Class298.java b/client/src/Class298.java deleted file mode 100644 index c53d257eb..000000000 --- a/client/src/Class298.java +++ /dev/null @@ -1,39 +0,0 @@ -/* Class298 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class298 { - static int anInt3808; - static Class114 aClass114_3809 = new Class114(44, 6); - static int anInt3810; - static boolean aBoolean3811 = false; - - static final int method2250(int i, int i_0_, int i_1_, int i_2_) { - if (i_0_ < 36) aBoolean3811 = true; - anInt3810++; - int i_3_ = -i_1_ + 255; - i_2_ = (~0xff00ff & (i_2_ & 0xff00ff) * i_1_ | 0xff0000 & (0xff00 & i_2_) * i_1_) >>> 8; - return i_2_ + ((i_3_ * (i & 0xff00ff) & ~0xff00ff | i_3_ * (0xff00 & i) & 0xff0000) >>> 8); - } - - public static void method2251(int i) { - if (i != 16711680) aClass114_3809 = null; - aClass114_3809 = null; - } - - static final boolean method2252(boolean bool, int i, int i_4_, byte i_5_, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_) { - anInt3808++; - int i_11_ = (Class132.aPlayer_1907.anIntArray10320[0]); - int i_12_ = (Class132.aPlayer_1907.anIntArray10317[0]); - if (i_11_ < 0 || i_11_ >= Class367_Sub4.anInt7319 || i_12_ < 0 || Class348_Sub40_Sub3.anInt9109 <= i_12_) return false; - if (i < 0 || i >= Class367_Sub4.anInt7319 || i_4_ < 0 || Class348_Sub40_Sub3.anInt9109 <= i_4_) return false; - int i_13_ = (Class59_Sub2_Sub2.method574(i, Class132.aPlayer_1907.method2436((byte) 70), i_6_, Class348_Sub40_Sub11.anIntArray9185, bool, (byte) 120, i_9_, i_11_, i_12_, Class348_Sub42_Sub14.anIntArray9626, i_4_, (Class348_Sub45.aClass361Array7108[Class132.aPlayer_1907.plane]), i_8_, i_7_, i_10_)); - if (i_13_ < 1) return false; - Class248.anInt3203 = Class348_Sub42_Sub14.anIntArray9626[-1 + i_13_]; - Class97.anInt1548 = Class348_Sub40_Sub11.anIntArray9185[-1 + i_13_]; - Class348_Sub13.aBoolean6759 = false; - if (i_5_ > -83) aBoolean3811 = true; - Class299_Sub1_Sub2.method2264(false); - return true; - } -} diff --git a/client/src/Class299.java b/client/src/Class299.java deleted file mode 100644 index 8bef79068..000000000 --- a/client/src/Class299.java +++ /dev/null @@ -1,122 +0,0 @@ -/* Class299 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class299 { - static int anInt3812; - static Class348_Sub49_Sub2 aClass348_Sub49_Sub2_3813 = new Class348_Sub49_Sub2(7500); - static int anInt3814; - - static final int method2253(int i, int i_0_) { - anInt3814++; - int i_1_ = -124 % ((i_0_ - 55) / 63); - int i_2_ = 0; - if (i < 0 || i >= 65536) { - i_2_ += 16; - i >>>= 16; - } - if (i >= 256) { - i >>>= 8; - i_2_ += 8; - } - if (i >= 16) { - i_2_ += 4; - i >>>= 4; - } - if (i >= 4) { - i_2_ += 2; - i >>>= 2; - } - if (i >= 1) { - i >>>= 1; - i_2_++; - } - return i_2_ - -i; - } - - public Class299() { - /* empty */ - } - - public static void method2254(int i) { - aClass348_Sub49_Sub2_3813 = null; - if (i != -14804) aClass348_Sub49_Sub2_3813 = null; - } - - static final void method2255(int i, int i_3_, byte i_4_, int i_5_, int i_6_, int i_7_, int i_8_) { - Class117.method1070((byte) 117, i); - anInt3812++; - if (i_4_ >= -65) method2255(-118, -20, (byte) -121, 100, -62, 77, -119); - int i_9_ = 0; - int i_10_ = -i_5_ + i; - if (i_10_ < 0) i_10_ = 0; - int i_11_ = i; - int i_12_ = -i; - int i_13_ = i_10_; - int i_14_ = -i_10_; - int i_15_ = -1; - int i_16_ = -1; - int[] is = Class17.anIntArrayArray255[i_6_]; - int i_17_ = i_3_ + -i_10_; - int i_18_ = i_10_ + i_3_; - Class135_Sub2.method1156(-27, i_17_, is, -i + i_3_, i_8_); - Class135_Sub2.method1156(-27, i_18_, is, i_17_, i_7_); - Class135_Sub2.method1156(-27, i + i_3_, is, i_18_, i_8_); - while (i_11_ > i_9_) { - i_16_ += 2; - i_15_ += 2; - i_14_ += i_16_; - i_12_ += i_15_; - if (i_14_ >= 0 && i_13_ >= 1) { - Class348_Sub49_Sub2.anIntArray9757[i_13_] = i_9_; - i_13_--; - i_14_ -= i_13_ << 1; - } - i_9_++; - if (i_12_ >= 0) { - i_11_--; - i_12_ -= i_11_ << 1; - if (i_10_ <= i_11_) { - int[] is_19_ = Class17.anIntArrayArray255[i_11_ + i_6_]; - int[] is_20_ = Class17.anIntArrayArray255[i_6_ + -i_11_]; - int i_21_ = i_3_ - -i_9_; - int i_22_ = -i_9_ + i_3_; - Class135_Sub2.method1156(-27, i_21_, is_19_, i_22_, i_8_); - Class135_Sub2.method1156(-27, i_21_, is_20_, i_22_, i_8_); - } else { - int[] is_23_ = Class17.anIntArrayArray255[i_6_ - -i_11_]; - int[] is_24_ = Class17.anIntArrayArray255[-i_11_ + i_6_]; - int i_25_ = Class348_Sub49_Sub2.anIntArray9757[i_11_]; - int i_26_ = i_9_ + i_3_; - int i_27_ = i_3_ - i_9_; - int i_28_ = i_3_ - -i_25_; - int i_29_ = -i_25_ + i_3_; - Class135_Sub2.method1156(-27, i_29_, is_23_, i_27_, i_8_); - Class135_Sub2.method1156(-27, i_28_, is_23_, i_29_, i_7_); - Class135_Sub2.method1156(-27, i_26_, is_23_, i_28_, i_8_); - Class135_Sub2.method1156(-27, i_29_, is_24_, i_27_, i_8_); - Class135_Sub2.method1156(-27, i_28_, is_24_, i_29_, i_7_); - Class135_Sub2.method1156(-27, i_26_, is_24_, i_28_, i_8_); - } - } - int[] is_30_ = Class17.anIntArrayArray255[i_6_ + i_9_]; - int[] is_31_ = Class17.anIntArrayArray255[-i_9_ + i_6_]; - int i_32_ = i_3_ - -i_11_; - int i_33_ = i_3_ - i_11_; - if (i_10_ > i_9_) { - int i_34_ = (i_9_ <= i_13_ ? i_13_ : Class348_Sub49_Sub2.anIntArray9757[i_9_]); - int i_35_ = i_34_ + i_3_; - int i_36_ = i_3_ + -i_34_; - Class135_Sub2.method1156(-27, i_36_, is_30_, i_33_, i_8_); - Class135_Sub2.method1156(-27, i_35_, is_30_, i_36_, i_7_); - Class135_Sub2.method1156(-27, i_32_, is_30_, i_35_, i_8_); - Class135_Sub2.method1156(-27, i_36_, is_31_, i_33_, i_8_); - Class135_Sub2.method1156(-27, i_35_, is_31_, i_36_, i_7_); - Class135_Sub2.method1156(-27, i_32_, is_31_, i_35_, i_8_); - } else { - Class135_Sub2.method1156(-27, i_32_, is_30_, i_33_, i_8_); - Class135_Sub2.method1156(-27, i_32_, is_31_, i_33_, i_8_); - } - } - } -} diff --git a/client/src/Class299_Sub1.java b/client/src/Class299_Sub1.java deleted file mode 100644 index 290359d86..000000000 --- a/client/src/Class299_Sub1.java +++ /dev/null @@ -1,34 +0,0 @@ -/* Class299_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.FileOutputStream; - -abstract class Class299_Sub1 extends Class299 { - static int anInt6320; - static Class138 aClass138_6321 = new Class138(1, 2, 2, 0); - static int anInt6322; - static FileOutputStream aFileOutputStream6323; - - abstract Class258_Sub2 method2256(byte i); - - static final int method2257(int i, int i_0_, byte i_1_) { - anInt6322++; - double d = Math.log(i) / Math.log(2.0); - double d_2_ = Math.log(i_0_) / Math.log(2.0); - int i_3_ = -43 % ((i_1_ - 11) / 59); - double d_4_ = (d - d_2_) * Math.random() + d_2_; - return (int) (0.5 + Math.pow(2.0, d_4_)); - } - - public static void method2258(byte i) { - aClass138_6321 = null; - if (i < -119) aFileOutputStream6323 = null; - } - - static final boolean method2259(int i, int i_5_, int i_6_) { - anInt6320++; - if (i != 0) aClass138_6321 = null; - return (0x34 & i_6_) != 0; - } -} diff --git a/client/src/Class299_Sub1_Sub1.java b/client/src/Class299_Sub1_Sub1.java deleted file mode 100644 index 25243c65c..000000000 --- a/client/src/Class299_Sub1_Sub1.java +++ /dev/null @@ -1,78 +0,0 @@ -/* Class299_Sub1_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class299_Sub1_Sub1 extends Class299_Sub1 { - private final int anInt8686; - static int anInt8687; - private Class258_Sub2 aClass258_Sub2_8688; - private final int anInt8689; - private final int anInt8690; - private final int anInt8691; - static int anInt8692; - private final ha_Sub2 aHa_Sub2_8693; - static long aLong8694; - private final int anInt8695; - static float aFloat8696; - private final int anInt8697; - - final Class258_Sub2 method2256(byte i) { - anInt8692++; - if (i != -121) method2256((byte) 33); - if (aClass258_Sub2_8688 == null) { - d var_d = aHa_Sub2_8693.aD4579; - Class308.anIntArray3883[3] = anInt8690; - Class308.anIntArray3883[4] = anInt8686; - Class308.anIntArray3883[2] = anInt8691; - Class308.anIntArray3883[5] = anInt8697; - Class308.anIntArray3883[1] = anInt8695; - Class308.anIntArray3883[0] = anInt8689; - boolean bool = false; - int i_0_ = 0; - for (int i_1_ = 0; i_1_ < 6; i_1_++) { - if (!var_d.method4(i ^ 0x1f68, Class308.anIntArray3883[i_1_])) return null; - Class12 class12 = var_d.method3(Class308.anIntArray3883[i_1_], -6662); - int i_2_ = !class12.aBoolean199 ? 128 : 64; - if (i_0_ < i_2_) i_0_ = i_2_; - if (class12.aByte205 > 0) bool = true; - } - for (int i_3_ = 0; i_3_ < 6; i_3_++) - Class341.anIntArrayArray4233[i_3_] = var_d.method5(false, Class308.anIntArray3883[i_3_], 1.0F, i_0_, i_0_, i + 192); - aClass258_Sub2_8688 = new Class258_Sub2(aHa_Sub2_8693, 6407, i_0_, bool, Class341.anIntArrayArray4233); - } - return aClass258_Sub2_8688; - } - - static final void method2260(int i, int i_4_, long l, int i_5_, boolean bool, Class45 class45, byte i_6_, int i_7_) { - do { - try { - Class239_Sub14.anInt5994 = 10000; - Class124.aClass45_1848 = class45; - Class58.anInt1059 = i_7_; - Class318_Sub1_Sub4_Sub1.anInt10074 = i; - Class346.aBoolean4275 = bool; - Class285.aClass348_Sub16_Sub3_4743 = null; - Class318.anInt3971 = i_4_; - anInt8687++; - Class239_Sub12.aLong5971 = l; - Class348_Sub43.anInt7068 = 1; - Class348_Sub40_Sub35.anInt9444 = i_5_; - if (i_6_ >= 54) break; - method2260(36, 99, 61L, 90, false, null, (byte) 126, -67); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("dq.E(" + i + ',' + i_4_ + ',' + l + ',' + i_5_ + ',' + bool + ',' + (class45 != null ? "{...}" : "null") + ',' + i_6_ + ',' + i_7_ + ')')); - } - break; - } while (false); - } - - Class299_Sub1_Sub1(ha_Sub2 var_ha_Sub2, int i, int i_8_, int i_9_, int i_10_, int i_11_, int i_12_) { - anInt8691 = i_9_; - anInt8690 = i_10_; - anInt8697 = i_12_; - anInt8689 = i; - anInt8695 = i_8_; - anInt8686 = i_11_; - aHa_Sub2_8693 = var_ha_Sub2; - } -} diff --git a/client/src/Class299_Sub1_Sub2.java b/client/src/Class299_Sub1_Sub2.java deleted file mode 100644 index 9b0b018e0..000000000 --- a/client/src/Class299_Sub1_Sub2.java +++ /dev/null @@ -1,221 +0,0 @@ -/* Class299_Sub1_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -final class Class299_Sub1_Sub2 extends Class299_Sub1 { - static Class348_Sub49 aClass348_Sub49_8698; - static int anInt8699; - static int anInt8700; - private final Class258_Sub2 aClass258_Sub2_8701; - static int anInt8702; - static int anInt8703; - static int anInt8704; - static int anInt8705; - static Class351 aClass351_8706 = new Class351(79, 3); - private ha_Sub2 aHa_Sub2_8707; - - final boolean method2261(Class258_Sub2 class258_sub2, float f, int i, Class258_Sub2 class258_sub2_0_) { - try { - anInt8703++; - boolean bool = true; - Class206 class206 = aHa_Sub2_8707.aClass206_7778; - aHa_Sub2_8707.K(Class348_Sub6.anIntArray6635); - aHa_Sub2_8707.la(); - aHa_Sub2_8707.method3755(-32); - OpenGL.glMatrixMode(5889); - OpenGL.glLoadIdentity(); - OpenGL.glOrtho(0.0, 1.0, 0.0, 1.0, -1.0, 1.0); - OpenGL.glMatrixMode(5888); - OpenGL.glLoadIdentity(); - OpenGL.glPushAttrib(2048); - OpenGL.glViewport(0, 0, aClass258_Sub2_8701.anInt8538, aClass258_Sub2_8701.anInt8538); - aHa_Sub2_8707.method3807(false, i + -65532); - aHa_Sub2_8707.method3728(false, i + -65411); - aHa_Sub2_8707.method3752(114, false); - aHa_Sub2_8707.method3748(i + -65534, false); - aHa_Sub2_8707.method3757(-2, -91); - aHa_Sub2_8707.method3738(-15039, 1); - aHa_Sub2_8707.method3749(f, 0.0F, 0.0F, (byte) 110, 0.0F); - aHa_Sub2_8707.method3729(34165, (byte) -115, 34165); - aHa_Sub2_8707.method3771((byte) -95, class258_sub2_0_); - aHa_Sub2_8707.method3738(-15039, 0); - aHa_Sub2_8707.method3761(0, 1); - aHa_Sub2_8707.method3771((byte) -90, class258_sub2); - aHa_Sub2_8707.method3773(i ^ ~0xfffe, class206); - for (int i_1_ = 0; i_1_ < 6; i_1_++) { - int i_2_ = 34069 + i_1_; - class206.method1498(0, i + -65591, i_2_, aClass258_Sub2_8701); - class206.method1503(0, (byte) 3); - if (class206.method1507(-116)) { - OpenGL.glBegin(7); - int i_3_ = i_2_; - while_101_: - do { - while_100_: - do { - while_99_: - do { - while_98_: - do { - do { - if (i_3_ == 34069) { - OpenGL.glTexCoord3i(65535, 65534, 65534); - OpenGL.glMultiTexCoord3i(33985, 65535, 65534, 65534); - OpenGL.glVertex2f(0.0F, 0.0F); - OpenGL.glTexCoord3i(65535, 65534, -65534); - OpenGL.glMultiTexCoord3i(33985, 65535, 65534, -65534); - OpenGL.glVertex2f(1.0F, 0.0F); - OpenGL.glTexCoord3i(65535, -65534, -65534); - OpenGL.glMultiTexCoord3i(33985, 65535, -65534, -65534); - OpenGL.glVertex2f(1.0F, 1.0F); - OpenGL.glTexCoord3i(65535, -65534, 65534); - OpenGL.glMultiTexCoord3i(33985, 65535, -65534, 65534); - OpenGL.glVertex2f(0.0F, 1.0F); - break while_101_; - } else if (i_3_ != 34070) { - if (i_3_ != 34071) { - if (i_3_ != 34072) { - if (i_3_ != 34073) { - if (i_3_ != 34074) break while_101_; - } else break while_99_; - break while_100_; - } - } else break; - break while_98_; - } - OpenGL.glTexCoord3i(-65535, 65534, -65534); - OpenGL.glMultiTexCoord3i(33985, -65535, 65534, -65534); - OpenGL.glVertex2f(0.0F, 0.0F); - OpenGL.glTexCoord3i(-65535, 65534, 65534); - OpenGL.glMultiTexCoord3i(33985, -65535, 65534, 65534); - OpenGL.glVertex2f(1.0F, 0.0F); - OpenGL.glTexCoord3i(-65535, -65534, 65534); - OpenGL.glMultiTexCoord3i(33985, -65535, -65534, 65534); - OpenGL.glVertex2f(1.0F, 1.0F); - OpenGL.glTexCoord3i(-65535, -65534, -65534); - OpenGL.glMultiTexCoord3i(33985, -65535, -65534, -65534); - OpenGL.glVertex2f(0.0F, 1.0F); - break while_101_; - } while (false); - OpenGL.glTexCoord3i(-65534, 65535, -65534); - OpenGL.glMultiTexCoord3i(33985, -65534, 65535, -65534); - OpenGL.glVertex2f(0.0F, 0.0F); - OpenGL.glTexCoord3i(65534, 65535, -65534); - OpenGL.glMultiTexCoord3i(33985, 65534, 65535, -65534); - OpenGL.glVertex2f(1.0F, 0.0F); - OpenGL.glTexCoord3i(65534, 65535, 65534); - OpenGL.glMultiTexCoord3i(33985, 65534, 65535, 65534); - OpenGL.glVertex2f(1.0F, 1.0F); - OpenGL.glTexCoord3i(-65534, 65535, 65534); - OpenGL.glMultiTexCoord3i(33985, -65534, 65535, 65534); - OpenGL.glVertex2f(0.0F, 1.0F); - break while_101_; - } while (false); - OpenGL.glTexCoord3i(-65534, -65535, 65534); - OpenGL.glMultiTexCoord3i(33985, -65534, -65535, 65534); - OpenGL.glVertex2f(0.0F, 0.0F); - OpenGL.glTexCoord3i(65534, -65535, 65534); - OpenGL.glMultiTexCoord3i(33985, 65534, -65535, 65534); - OpenGL.glVertex2f(1.0F, 0.0F); - OpenGL.glTexCoord3i(65534, -65535, -65534); - OpenGL.glMultiTexCoord3i(33985, 65534, -65535, -65534); - OpenGL.glVertex2f(1.0F, 1.0F); - OpenGL.glTexCoord3i(-65534, -65535, -65534); - OpenGL.glMultiTexCoord3i(33985, -65534, -65535, -65534); - OpenGL.glVertex2f(0.0F, 1.0F); - break while_101_; - } while (false); - OpenGL.glTexCoord3i(-65534, 65534, 65535); - OpenGL.glMultiTexCoord3i(33985, -65534, 65534, 65535); - OpenGL.glVertex2f(0.0F, 0.0F); - OpenGL.glTexCoord3i(65534, 65534, 65535); - OpenGL.glMultiTexCoord3i(33985, 65534, 65534, 65535); - OpenGL.glVertex2f(1.0F, 0.0F); - OpenGL.glTexCoord3i(65534, -65534, 65535); - OpenGL.glMultiTexCoord3i(33985, 65534, -65534, 65535); - OpenGL.glVertex2f(1.0F, 1.0F); - OpenGL.glTexCoord3i(-65534, -65534, 65535); - OpenGL.glMultiTexCoord3i(33985, -65534, -65534, 65535); - OpenGL.glVertex2f(0.0F, 1.0F); - break while_101_; - } while (false); - OpenGL.glTexCoord3i(65534, 65534, -65535); - OpenGL.glMultiTexCoord3i(33985, 65534, 65534, -65535); - OpenGL.glVertex2f(0.0F, 0.0F); - OpenGL.glTexCoord3i(-65534, 65534, -65535); - OpenGL.glMultiTexCoord3i(33985, -65534, 65534, -65535); - OpenGL.glVertex2f(1.0F, 0.0F); - OpenGL.glTexCoord3i(-65534, -65534, -65535); - OpenGL.glMultiTexCoord3i(33985, -65534, -65534, -65535); - OpenGL.glVertex2f(1.0F, 1.0F); - OpenGL.glTexCoord3i(65534, -65534, -65535); - OpenGL.glMultiTexCoord3i(33985, 65534, -65534, -65535); - OpenGL.glVertex2f(0.0F, 1.0F); - } while (false); - OpenGL.glEnd(); - } else { - bool = false; - break; - } - } - class206.method1500(2983, 0); - aHa_Sub2_8707.method3770(-422613672, class206); - aHa_Sub2_8707.method3738(i + -80573, 1); - if (i != 65534) return true; - aHa_Sub2_8707.method3771((byte) -95, null); - aHa_Sub2_8707.method3729(8448, (byte) 121, 8448); - aHa_Sub2_8707.method3738(-15039, 0); - aHa_Sub2_8707.method3771((byte) -88, null); - OpenGL.glPopAttrib(); - aHa_Sub2_8707.KA(Class348_Sub6.anIntArray6635[0], Class348_Sub6.anIntArray6635[1], Class348_Sub6.anIntArray6635[2], Class348_Sub6.anIntArray6635[3]); - if (bool && !aHa_Sub2_8707.aBoolean7847) aClass258_Sub2_8701.method1950(69); - return bool; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qda.L(" + (class258_sub2 != null ? "{...}" : "null") + ',' + f + ',' + i + ',' + (class258_sub2_0_ != null ? "{...}" : "null") + ')')); - } - } - - final Class258_Sub2 method2256(byte i) { - anInt8700++; - if (i != -121) return null; - return aClass258_Sub2_8701; - } - - final int method2262(int i) { - if (i != 65534) aHa_Sub2_8707 = null; - anInt8699++; - return aClass258_Sub2_8701.anInt8538; - } - - static final Class105 method2263(ha var_ha, int i, int i_4_) { - anInt8705++; - Class348_Sub15 class348_sub15 = ((Class348_Sub15) Class27.aClass356_389.method3480(i_4_, -6008)); - if (class348_sub15 != null) { - Class348_Sub23_Sub2 class348_sub23_sub2 = class348_sub15.aClass55_Sub1_6768.method506(false); - class348_sub15.aBoolean6772 = true; - if (class348_sub23_sub2 != null) return class348_sub23_sub2.method2975(var_ha, 0); - } - if (i != 0) aClass351_8706 = null; - return null; - } - - static final void method2264(boolean bool) { - if (bool != false) aClass348_Sub49_8698 = null; - anInt8704++; - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(0, (byte) 105, 15); - class348_sub42_sub15.method3251(-16058); - } - - public static void method2265(int i) { - aClass348_Sub49_8698 = null; - if (i != -10794) aClass351_8706 = null; - aClass351_8706 = null; - } - - Class299_Sub1_Sub2(ha_Sub2 var_ha_Sub2, int i) { - aHa_Sub2_8707 = var_ha_Sub2; - aClass258_Sub2_8701 = new Class258_Sub2(var_ha_Sub2, 6408, i); - } -} diff --git a/client/src/Class299_Sub2.java b/client/src/Class299_Sub2.java deleted file mode 100644 index 4cf8073b8..000000000 --- a/client/src/Class299_Sub2.java +++ /dev/null @@ -1,31 +0,0 @@ -/* Class299_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class299_Sub2 extends Class299 { - static int anInt6324; - static int anInt6325; - static int anInt6326; - static boolean aBoolean6327 = false; - static Class78 aClass78_6328; - - abstract Interface18_Impl2 method2266(boolean bool); - - static final void method2267(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_) { - anInt6324++; - if (i != 10499) method2267(55, -44, 14, -122, 70, 0, 127, 112); - if (i_6_ == i_0_) Npc.method2441(i_2_, i_6_, i_4_, -22728, i_5_, i_3_, i_1_); - else if (Class369.anInt4960 > -i_6_ + i_1_ || i_6_ + i_1_ > Class113.anInt1745 || -i_0_ + i_5_ < Class132.anInt1910 || i_0_ + i_5_ > Class38.anInt513) Class348_Sub40.method3041(i_6_, i_1_, i_5_, i ^ ~0x2903, i_0_, i_3_, i_2_, i_4_); - else Class348_Sub31.method3012(i_0_, i_3_, i_6_, i_2_, i_1_, (byte) -117, i_5_, i_4_); - } - - public static void method2268(int i) { - if (i == -24054) aClass78_6328 = null; - } - - static final void method2269(boolean bool) { - if (bool != true) anInt6325 = -78; - Class72.method739(); - anInt6326++; - } -} diff --git a/client/src/Class299_Sub2_Sub1.java b/client/src/Class299_Sub2_Sub1.java deleted file mode 100644 index 3c8a67bf0..000000000 --- a/client/src/Class299_Sub2_Sub1.java +++ /dev/null @@ -1,98 +0,0 @@ -/* Class299_Sub2_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class299_Sub2_Sub1 extends Class299_Sub2 { - private final int anInt8708; - static int anInt8709; - static int anInt8710; - private final int anInt8711; - static int[] anIntArray8712; - static double aDouble8713 = -1.0; - private final int anInt8714; - private final int anInt8715; - private final int anInt8716; - private final int anInt8717; - private final ha_Sub3 aHa_Sub3_8718; - private Interface18_Impl2 anInterface18_Impl2_8719; - static int anInt8720; - - final Interface18_Impl2 method2266(boolean bool) { - if (bool != true) return null; - anInt8720++; - if (anInterface18_Impl2_8719 == null) { - Class270.anIntArray3464[3] = anInt8711; - Class270.anIntArray3464[1] = anInt8717; - Class270.anIntArray3464[4] = anInt8708; - d var_d = aHa_Sub3_8718.aD4579; - Class270.anIntArray3464[5] = anInt8714; - Class270.anIntArray3464[2] = anInt8715; - Class270.anIntArray3464[0] = anInt8716; - boolean bool_0_ = false; - int i = 0; - for (int i_1_ = 0; i_1_ < 6; i_1_++) { - if (!var_d.method4(-7953, Class270.anIntArray3464[i_1_])) return null; - Class12 class12 = var_d.method3(Class270.anIntArray3464[i_1_], -6662); - int i_2_ = class12.aBoolean199 ? 64 : 128; - if (i < i_2_) i = i_2_; - if (class12.aByte205 > 0) bool_0_ = true; - } - for (int i_3_ = 0; i_3_ < 6; i_3_++) - Class239_Sub14.anIntArrayArray5991[i_3_] = var_d.method5(false, Class270.anIntArray3464[i_3_], 1.0F, i, i, 81); - anInterface18_Impl2_8719 = aHa_Sub3_8718.method3900(Class239_Sub14.anIntArrayArray5991, bool_0_, 61, i); - } - return anInterface18_Impl2_8719; - } - - static final void method2270(int i, int i_4_, ha var_ha, String string, boolean bool, int i_5_, int i_6_, int i_7_) { - try { - if (OutputStream_Sub2.aClass105_106 == null || Class121.aClass105_1800 == null) { - if (Class21.aClass45_322.method421(false, Class231.anInt2996) && Class21.aClass45_322.method421(false, Class348_Sub40_Sub16.anInt9231)) { - OutputStream_Sub2.aClass105_106 = (var_ha.method3691(Class207.method1521(Class21.aClass45_322, Class231.anInt2996, 0), true)); - Class207 class207 = Class207.method1521(Class21.aClass45_322, Class348_Sub40_Sub16.anInt9231, 0); - Class121.aClass105_1800 = var_ha.method3691(class207, true); - class207.method1518(); - Class348_Sub5.aClass105_6627 = var_ha.method3691(class207, true); - } else var_ha.aa(i_4_, i_5_, i, i_7_, (255 + -Class51.anInt948 << 24 | Class264.anInt3376), 1); - } - anInt8709++; - if (OutputStream_Sub2.aClass105_106 != null && Class121.aClass105_1800 != null) { - int i_8_ = ((i - 2 * Class121.aClass105_1800.method971()) / OutputStream_Sub2.aClass105_106.method971()); - for (int i_9_ = 0; i_9_ < i_8_; i_9_++) - OutputStream_Sub2.aClass105_106.method974((Class121.aClass105_1800.method971() + i_4_ + (OutputStream_Sub2.aClass105_106.method971() * i_9_)), i_5_); - Class121.aClass105_1800.method974(i_4_, i_5_); - Class348_Sub5.aClass105_6627.method974((-Class348_Sub5.aClass105_6627.method971() + i_4_ - -i), i_5_); - } - if (bool == false) { - Class262.aClass324_3326.method2576(string, (Class348_Sub42_Sub11.anInt9586) | ~0xffffff, 14 + i_5_, 3 + i_4_, -1, -127); - var_ha.aa(i_4_, i_7_ + i_5_, i, i_6_ + -i_7_, (Class264.anInt3376 | 255 + -Class51.anInt948 << 24), 1); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("kv.G(" + i + ',' + i_4_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ',' + bool + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ')')); - } - } - - static final void method2271(int i) { - anInt8710++; - if (!Class55_Sub1.aBoolean5265) { - Class152.method1217(0, Class65.aClass357ArrayArrayArray1148); - if (Class348_Sub31_Sub2.aClass357ArrayArrayArray9082 != null) Class152.method1217(0, (Class348_Sub31_Sub2.aClass357ArrayArrayArray9082)); - Class55_Sub1.aBoolean5265 = true; - } - } - - public static void method2272(int i) { - if (i < 85) method2271(-124); - anIntArray8712 = null; - } - - Class299_Sub2_Sub1(ha_Sub3 var_ha_Sub3, int i, int i_10_, int i_11_, int i_12_, int i_13_, int i_14_) { - anInt8715 = i_11_; - anInt8708 = i_13_; - anInt8716 = i; - anInt8711 = i_12_; - anInt8717 = i_10_; - anInt8714 = i_14_; - aHa_Sub3_8718 = var_ha_Sub3; - } -} diff --git a/client/src/Class3.java b/client/src/Class3.java deleted file mode 100644 index 9156e7c89..000000000 --- a/client/src/Class3.java +++ /dev/null @@ -1,32 +0,0 @@ -/* Class3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class3 { - static Class114 aClass114_123 = new Class114(110, 10); - static int anInt124; - static Class161 aClass161_125; - - static final void method175(byte i) { - Class295.anInt3760 = -1; - Class17.anInterface4_252 = null; - r.aClass101_9720 = null; - Class132.anIntArray1909 = null; - Class92.anInterface4Array1525 = null; - Class21.aHa326 = null; - Class44.aClass101_624 = null; - anInt124++; - int i_0_ = 9 / ((62 - i) / 47); - Class27.anInt396 = -1; - Class51.aClass101_905 = null; - Class348_Sub49.anInt7207 = -1; - Class369_Sub1.anInt8583 = -1; - Class348_Sub42_Sub8_Sub2.aClass76_10436.method775((byte) 69); - } - - public static void method176(int i) { - aClass114_123 = null; - aClass161_125 = null; - if (i != -1) method176(-19); - } -} diff --git a/client/src/Class30.java b/client/src/Class30.java deleted file mode 100644 index 50e55087b..000000000 --- a/client/src/Class30.java +++ /dev/null @@ -1,101 +0,0 @@ -/* Class30 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class30 { - private int anInt404; - private int anInt405; - private int anInt406; - static int[] anIntArray407 = new int[1]; - private int anInt408; - private int anInt409; - static int anInt410; - static int anInt411; - private int anInt412; - static Class84 aClass84_413; - static int anInt414; - static int anInt415; - private int anInt416; - private int anInt417; - private int anInt418; - private int anInt419; - - static final void method319(int i, int i_0_, byte i_1_, int i_2_, int i_3_) { - if (i_1_ != -18) method322(73); - anInt414++; - Class336.anInt4171 = i_2_; - Class305.anInt3861 = i_0_; - Class18.anInt282 = i; - Class205.anInt2688 = i_3_; - } - - final void method320(int i, int i_4_, byte i_5_, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_, int i_12_, int i_13_) { - anInt415++; - anInt409 = i_6_; - anInt417 = i_12_; - anInt405 = i_7_ * i_7_; - anInt408 = i_8_; - anInt404 = i_10_ + anInt408; - anInt412 = anInt408 + i_11_; - anInt419 = anInt409 + i_13_; - anInt418 = i_9_ + anInt409; - anInt416 = i_4_ + anInt417; - anInt406 = anInt417 - -i; - if (i_5_ != -4) aClass84_413 = null; - } - - final boolean method321(int i, int i_14_, int i_15_, int i_16_) { - anInt411++; - if (anInt418 > i_16_ || i_16_ > anInt419) return false; - if (anInt416 > i_15_ || i_15_ > anInt406) return false; - if (i_14_ < anInt412 || anInt404 < i_14_) return false; - if (i != -14735) method323(null, null, (byte) 29); - int i_17_ = -anInt409 + i_16_; - int i_18_ = i_14_ + -anInt408; - return anInt405 > i_17_ * i_17_ + i_18_ * i_18_; - } - - public static void method322(int i) { - anIntArray407 = null; - aClass84_413 = null; - if (i != 1) method322(-112); - } - - static final void method323(Class45 class45, Class297 class297, byte i) { - try { - Class348_Sub41.aString7048 = ""; - Class59_Sub1.aClass297_5297 = class297; - anInt410++; - Class167.aClass45_2208 = class45; - if (!Class348_Sub24.aString6877.startsWith("win")) { - if (!Class348_Sub24.aString6877.startsWith("linux")) { - if (Class348_Sub24.aString6877.startsWith("mac")) Class348_Sub41.aString7048 += "macos/"; - } else Class348_Sub41.aString7048 += "linux/"; - } else Class348_Sub41.aString7048 += "windows/"; - if (i != 95) anIntArray407 = null; - if (!Class59_Sub1.aClass297_5297.aBoolean3794) { - if (!Class348_Sub24.aString6876.startsWith("amd64") && !Class348_Sub24.aString6876.startsWith("x86_64")) { - if (!Class348_Sub24.aString6876.startsWith("i386") && !Class348_Sub24.aString6876.startsWith("i486") && !Class348_Sub24.aString6876.startsWith("i586") && !Class348_Sub24.aString6876.startsWith("x86")) { - if (!Class348_Sub24.aString6876.startsWith("ppc")) Class348_Sub41.aString7048 += "universal/"; - else Class348_Sub41.aString7048 += "ppc/"; - } else Class348_Sub41.aString7048 += "x86/"; - } else Class348_Sub41.aString7048 += "x86_64/"; - } else Class348_Sub41.aString7048 += "msjava/"; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("hw.A(" + (class45 != null ? "{...}" : "null") + ',' + (class297 != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - Class30(int i, int i_19_, int i_20_, int i_21_, int i_22_, int i_23_, int i_24_, int i_25_, int i_26_, int i_27_) { - anInt408 = i_20_; - anInt417 = i_19_; - anInt405 = i_21_ * i_21_; - anInt409 = i; - anInt412 = anInt408 + i_26_; - anInt406 = i_25_ + anInt417; - anInt416 = i_24_ + anInt417; - anInt404 = i_27_ + anInt408; - anInt419 = i_23_ + anInt409; - anInt418 = anInt409 - -i_22_; - } -} diff --git a/client/src/Class300.java b/client/src/Class300.java deleted file mode 100644 index 02b426cd3..000000000 --- a/client/src/Class300.java +++ /dev/null @@ -1,66 +0,0 @@ -/* Class300 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class300 { - static int anInt3815; - static int anInt3816; - int anInt3817; - static int anInt3818; - static boolean aBoolean3819 = false; - static int anInt3820; - int[] anIntArray3821; - static int anInt3822; - int anInt3823 = -1; - static int anInt3824; - - static final Class348_Sub47 method2273(byte i) { - anInt3824++; - if (i != -103) return null; - if (Class239_Sub13.anInt5980 == 0) return new Class348_Sub47(); - return Class176.aClass348_Sub47Array2334[--Class239_Sub13.anInt5980]; - } - - static final int method2274(String string, int i) { - anInt3816++; - if (string == null) return -1; - if (i >= -41) return 97; - for (int i_0_ = 0; (i_0_ < Class348_Sub40_Sub30.anInt9383); i_0_++) { - if (string.equalsIgnoreCase(Class83.aStringArray1441[i_0_])) return i_0_; - } - return -1; - } - - final void method2275(Class348_Sub49 class348_sub49, byte i) { - anInt3818++; - for (; ; ) { - int i_1_ = class348_sub49.readUnsignedByte(255); - if (i_1_ == 0) break; - method2276(0, class348_sub49, i_1_); - } - int i_2_ = -63 / ((72 - i) / 37); - } - - private final void method2276(int i, Class348_Sub49 class348_sub49, int i_3_) { - if (i_3_ == 1) this.anInt3817 = class348_sub49.readUnsignedShort(842397944); - else if (i_3_ == 2) { - this.anIntArray3821 = new int[class348_sub49.readUnsignedByte(255)]; - for (int i_4_ = 0; (i_4_ < this.anIntArray3821.length); i_4_++) - this.anIntArray3821[i_4_] = class348_sub49.readUnsignedShort(842397944); - } else if (i_3_ == 3) this.anInt3823 = class348_sub49.readUnsignedByte(255); - if (i != 0) aBoolean3819 = true; - anInt3822++; - } - - static final Class124 method2277(int i, Class45 class45, int i_5_, int i_6_) { - if (i_6_ != -1) aBoolean3819 = true; - anInt3815++; - byte[] is = class45.method410(-1860, i_5_, i); - if (is == null) return null; - return new Class124(is); - } - - public Class300() { - this.anInt3817 = -1; - } -} diff --git a/client/src/Class301.java b/client/src/Class301.java deleted file mode 100644 index f4d4a1762..000000000 --- a/client/src/Class301.java +++ /dev/null @@ -1,70 +0,0 @@ -/* Class301 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class301 { - static Class351 aClass351_3825; - static int anInt3826; - static int anInt3827; - static int anInt3828; - static int anInt3829 = -1; - static int anInt3830; - - static final int method2278(int i, int i_0_, byte i_1_, int i_2_) { - anInt3830++; - int i_3_ = -114 / ((i_1_ - 74) / 45); - int i_4_ = i_2_ / i; - int i_5_ = -1 + i & i_2_; - int i_6_ = i_0_ / i; - int i_7_ = i_0_ & -1 + i; - int i_8_ = Class44.method384(i_4_, -1, i_6_); - int i_9_ = Class44.method384(i_4_ - -1, -1, i_6_); - int i_10_ = Class44.method384(i_4_, -1, 1 + i_6_); - int i_11_ = Class44.method384(i_4_ + 1, -1, i_6_ + 1); - int i_12_ = Class122.method1088(i_9_, (byte) 22, i, i_5_, i_8_); - int i_13_ = Class122.method1088(i_11_, (byte) 22, i, i_5_, i_10_); - return Class122.method1088(i_13_, (byte) 22, i, i_7_, i_12_); - } - - static final int method2279(boolean bool, int i, int i_14_, int i_15_, int i_16_) { - anInt3828++; - int i_17_ = i & 0xf; - if (bool != true) aClass351_3825 = null; - int i_18_ = i_17_ < 8 ? i_16_ : i_15_; - int i_19_ = (i_17_ < 4 ? i_15_ : i_17_ == 12 || i_17_ == 14 ? i_16_ : i_14_); - return (((i_17_ & 0x1) != 0 ? -i_18_ : i_18_) - -((0x2 & i_17_) == 0 ? i_19_ : -i_19_)); - } - - static final void method2280(byte i, int i_20_) { - anInt3826++; - if (Class289.aByteArrayArrayArray3700 == null) Class289.aByteArrayArrayArray3700 = (new byte[4][Class367_Sub4.anInt7319] - [Class348_Sub40_Sub3.anInt9109]); - if (i_20_ != 28587) method2278(35, -47, (byte) 56, -93); - for (int i_21_ = 0; i_21_ < 4; i_21_++) { - for (int i_22_ = 0; Class367_Sub4.anInt7319 > i_22_; i_22_++) { - for (int i_23_ = 0; (Class348_Sub40_Sub3.anInt9109 > i_23_); i_23_++) - Class289.aByteArrayArrayArray3700[i_21_][i_22_][i_23_] = i; - } - } - } - - public static void method2281(int i) { - aClass351_3825 = null; - if (i != 1) method2278(-115, 106, (byte) -74, -75); - } - - static final void method2282(int i) { - anInt3827++; - Class348_Sub42_Sub3.method3177(i ^ 0x315e, false); - if (i == -12648) { - if (Class111.anInt1720 >= 0 && Class111.anInt1720 != 0) { - Class367_Sub10.method3553(false, (byte) 116, Class111.anInt1720); - Class111.anInt1720 = -1; - } - } - } - - static { - aClass351_3825 = new Class351(82, 18); - } -} diff --git a/client/src/Class302.java b/client/src/Class302.java deleted file mode 100644 index cbbc3a168..000000000 --- a/client/src/Class302.java +++ /dev/null @@ -1,66 +0,0 @@ -/* Class302 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class302 { - int anInt3831; - int anInt3832; - int anInt3833; - int anInt3834 = -1; - int anInt3835; - static int anInt3836; - int anInt3837; - int anInt3838; - int anInt3839; - int anInt3840; - static int anInt3841; - - static final void method2283(boolean bool, int i, int i_0_, int i_1_, boolean bool_2_) { - Class103.method950(i_0_, 0, Class65.aClass110_Sub1Array1146.length + -1, bool, (byte) 56, i_1_, bool_2_); - anInt3836++; - Class215.anInt2834 = i; - Class176.aClass348_Sub26_2332 = null; - } - - static final void method2284(byte i, long l) { - try { - anInt3841++; - if (Class147.aClass357ArrayArrayArray2029 != null) { - if (Class348_Sub40_Sub21.anInt9282 != 1 && Class348_Sub40_Sub21.anInt9282 != 5) { - if (Class348_Sub40_Sub21.anInt9282 == 4) Class82.method814((byte) 125, l); - } else Canvas_Sub1.method119(-1, l); - } - Class348_Sub47.method3324(Class348_Sub8.aHa6654, (byte) 83, Class367_Sub11.anInt7396); - if (r.anInt9721 != -1) Class75_Sub1.method769(r.anInt9721, (byte) 118); - for (int i_3_ = 0; i_3_ < Class348_Sub38.anInt7008; i_3_++) { - if (Class152.aBooleanArray2076[i_3_]) Class268.aBooleanArray3438[i_3_] = true; - Class175.aBooleanArray2326[i_3_] = Class152.aBooleanArray2076[i_3_]; - Class152.aBooleanArray2076[i_3_] = false; - } - Class58.anInt1064 = Class367_Sub11.anInt7396; - Class5_Sub2.method198(null, false, -1, -1); - Class175.method1343(-1, null, 1, -1); - if (r.anInt9721 != -1) { - Class348_Sub38.anInt7008 = 0; - Class88.method842(false); - } - Class348_Sub8.aHa6654.la(); - Class348_Sub42_Sub20.method3281((byte) 46, Class348_Sub8.aHa6654); - int i_4_ = Class112.method1053(3112); - if (i_4_ == -1) i_4_ = Class362.anInt4458; - if (i_4_ == -1) i_4_ = Class348_Sub42_Sub16_Sub1.anInt10447; - Class33.method338(0, i_4_); - if (i == -43) { - int i_5_ = (Class132.aPlayer_1907.method2436((byte) 103) << 8); - Class335.method2655(98, Class132.aPlayer_1907.plane, Class348_Sub51.anInt7267, i_5_ + (Class132.aPlayer_1907.y), (Class132.aPlayer_1907.x - -i_5_)); - Class348_Sub51.anInt7267 = 0; - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "wo.B(" + i + ',' + l + ')'); - } - } - - public Class302() { - /* empty */ - } -} diff --git a/client/src/Class303.java b/client/src/Class303.java deleted file mode 100644 index 6348f89dc..000000000 --- a/client/src/Class303.java +++ /dev/null @@ -1,54 +0,0 @@ -/* Class303 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class303 { - static Class114 aClass114_3842; - static int anInt3843; - static int anInt3844 = 1; - static int anInt3845; - static int anInt3846; - - static final void method2285(boolean bool, byte i, int i_0_) { - if (i > -61) aClass114_3842 = null; - anInt3843++; - if (bool) { - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class241.aClass351_3150, Class348_Sub23_Sub2.aClass77_9029, -126); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_0_); - Class348_Sub42_Sub14.method3243(42, class348_sub47); - } else Class66.method701(Class141.aClass273_1966, i_0_, -1); - } - - public static void method2286(int i) { - aClass114_3842 = null; - if (i != 114) anInt3844 = 87; - } - - static final Class125 method2287(Class348_Sub49 class348_sub49, byte i) { - anInt3846++; - int i_1_ = class348_sub49.readUnsignedByte(255); - Class221 class221 = Class158.method1248(87)[class348_sub49.readUnsignedByte(255)]; - Class341 class341 = Class62.method596(20000)[class348_sub49.readUnsignedByte(255)]; - int i_2_ = class348_sub49.readShort(13638); - int i_3_ = class348_sub49.readShort(13638); - int i_4_ = class348_sub49.readUnsignedShort(842397944); - int i_5_ = class348_sub49.readUnsignedShort(842397944); - int i_6_ = class348_sub49.readInt((byte) -126); - int i_7_ = class348_sub49.readInt((byte) -126); - int i_8_ = class348_sub49.readInt((byte) -126); - int i_9_ = -54 / ((i - -45) / 61); - boolean bool = class348_sub49.readUnsignedByte(255) == 1; - return new Class125(i_1_, class221, class341, i_2_, i_3_, i_4_, i_5_, i_6_, i_7_, i_8_, bool); - } - - static final void method2288(boolean bool, ha var_ha) { - anInt3845++; - if (!Class71.aBoolean1211) Class231.method1642((byte) 108, var_ha); - else Class135_Sub1.method1153(var_ha, 16); - if (bool != false) anInt3844 = -97; - } - - static { - aClass114_3842 = new Class114(114, 4); - } -} diff --git a/client/src/Class304.java b/client/src/Class304.java deleted file mode 100644 index 29d59747c..000000000 --- a/client/src/Class304.java +++ /dev/null @@ -1,126 +0,0 @@ -/* Class304 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class304 { - static boolean aBoolean3847 = false; - static int anInt3848; - static int anInt3849; - int anInt3850; - static int anInt3851; - - Class304(int i) { - this.anInt3850 = i; - } - - public final String toString() { - anInt3851++; - throw new IllegalStateException(); - } - - static final void method2289(int i, int i_0_, int i_1_, int i_2_, byte[] is, int i_3_) { - if (i_1_ > -32) method2290(); - anInt3848++; - if (i < i_3_) { - i_0_ += i; - i_2_ = -i + i_3_ >> 2; - while (--i_2_ >= 0) { - is[i_0_++] = (byte) 1; - is[i_0_++] = (byte) 1; - is[i_0_++] = (byte) 1; - is[i_0_++] = (byte) 1; - } - i_2_ = 0x3 & -i + i_3_; - while (--i_2_ >= 0) is[i_0_++] = (byte) 1; - } - } - - static final void method2290() { - for (; ; ) { - boolean bool = true; - for (int i = 0; i < Class348_Sub40_Sub34.aClass293Array9432.length; i++) { - if (!Class348_Sub40_Sub34.aClass293Array9432[i].method2210()) { - synchronized (Class348_Sub40_Sub34.aClass293Array9432[i]) { - Class348_Sub40_Sub34.aClass293Array9432[i].notify(); - } - bool = false; - } else Class146.aLongArray2013[i] = Class348_Sub40_Sub34.aClass293Array9432[i].method2204(); - } - if (bool) break; - try { - Class286_Sub5.method2161((byte) -18, 1L); - } catch (Exception exception) { - /* empty */ - } - } - Class348_Sub40_Sub34.aClass293Array9432[Class348_Sub40_Sub34.aClass293Array9432.length - 1].method2208(); - Class285_Sub1.method2131(1); - for (; ; ) { - boolean bool = true; - for (int i = 0; i < Class348_Sub40_Sub34.aClass293Array9432.length - 1; i++) { - if (!Class348_Sub40_Sub34.aClass293Array9432[i].method2210()) { - synchronized (Class348_Sub40_Sub34.aClass293Array9432[i]) { - Class348_Sub40_Sub34.aClass293Array9432[i].notify(); - } - bool = false; - } - } - if (bool) break; - try { - Class286_Sub5.method2161((byte) 72, 1L); - } catch (Exception exception) { - /* empty */ - } - } - for (int i = 1; i < Class348_Sub40_Sub34.aClass293Array9432.length - 2; i++) - Class348_Sub40_Sub34.aClass293Array9432[i].method2208(); - Class285_Sub1.method2131(2); - while (!Class348_Sub40_Sub34.aClass293Array9432[0].method2210()) { - synchronized (Class348_Sub40_Sub34.aClass293Array9432[0]) { - Class348_Sub40_Sub34.aClass293Array9432[0].notify(); - } - try { - Class286_Sub5.method2161((byte) 112, 1L); - } catch (Exception exception) { - /* empty */ - } - } - Class348_Sub40_Sub34.aClass293Array9432[0].method2208(); - } - - static final void method2291(byte i, int i_4_, int i_5_) { - anInt3849++; - int i_6_ = (Class369.aClass143_4962.method1183(true, Class274.aClass274_3507.method2063(Class348_Sub33.anInt6967, 544))); - int i_7_; - if (Class348_Sub42_Sub6.aBoolean9535) { - for (Class348_Sub42_Sub13 class348_sub42_sub13 = ((Class348_Sub42_Sub13) Class233.aClass107_3022.method1011(-87)); class348_sub42_sub13 != null; class348_sub42_sub13 = ((Class348_Sub42_Sub13) Class233.aClass107_3022.method1003((byte) 126))) { - int i_9_; - if (class348_sub42_sub13.anInt9615 != 1) i_9_ = Class289.method2194(-1, class348_sub42_sub13); - else i_9_ = (OutputStream_Sub2.method138(((Class348_Sub42_Sub12) (class348_sub42_sub13.aClass107_9621.aClass348_Sub42_1647.aClass348_Sub42_7063)), false)); - if (i_6_ < i_9_) i_6_ = i_9_; - } - i_6_ += 8; - i_7_ = 21 + 16 * Class8.anInt166; - Class237_Sub1.anInt5819 = (Class71.aBoolean1211 ? 26 : 22) + 16 * Class8.anInt166; - } else { - for (Class348_Sub42_Sub12 class348_sub42_sub12 = ((Class348_Sub42_Sub12) Class348_Sub40_Sub4.aClass262_9111.method1995(4)); class348_sub42_sub12 != null; class348_sub42_sub12 = (Class348_Sub42_Sub12) Class348_Sub40_Sub4.aClass262_9111.method1990((byte) 69)) { - int i_8_ = OutputStream_Sub2.method138(class348_sub42_sub12, false); - if (i_6_ < i_8_) i_6_ = i_8_; - } - i_6_ += 8; - Class237_Sub1.anInt5819 = (!Class71.aBoolean1211 ? 22 : 26) + 16 * Class73.anInt4776; - i_7_ = 21 + Class73.anInt4776 * 16; - } - int i_10_ = -(i_6_ / 2) + i_4_; - if (Class321.anInt4017 < i_6_ + i_10_) i_10_ = -i_6_ + Class321.anInt4017; - if (i_10_ < 0) i_10_ = 0; - int i_11_ = i_5_; - if (i > -108) method2290(); - if (i_11_ + i_7_ > Class348_Sub42_Sub8_Sub2.anInt10432) i_11_ = Class348_Sub42_Sub8_Sub2.anInt10432 + -i_7_; - if (i_11_ < 0) i_11_ = 0; - Class135_Sub1.anInt4717 = i_10_; - Class5_Sub1.aBoolean8335 = true; - Class348_Sub42_Sub5.anInt9532 = i_11_; - Class63.anInt1117 = i_6_; - } -} diff --git a/client/src/Class305.java b/client/src/Class305.java deleted file mode 100644 index 39731f7d9..000000000 --- a/client/src/Class305.java +++ /dev/null @@ -1,143 +0,0 @@ -/* Class305 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; - -final class Class305 { - private int anInt3852; - private int anInt3853; - private final int anInt3854; - static int anInt3855; - static int anInt3856; - private boolean aBoolean3857 = true; - private final int anInt3858; - private int anInt3859 = -1; - static int anInt3860; - static int anInt3861; - private final Class72[] aClass72Array3862; - private int anInt3863; - static int anInt3864; - private final Class72[] aClass72Array3865; - private final int anInt3866; - private Class105 aClass105_3867; - static int anInt3868; - static Canvas aCanvas3869; - static boolean aBoolean3870 = false; - private final Class72 aClass72_3871; - - final boolean method2292(int i, ha var_ha, int i_0_) { - if (anInt3859 != i_0_) { - anInt3859 = i_0_; - int i_1_ = Class348_Sub40_Sub1.method3051(i_0_, 4096); - if (i_1_ > 512) i_1_ = 512; - if (i_1_ <= 0) i_1_ = 1; - if (i_1_ != anInt3863) { - aClass105_3867 = null; - anInt3863 = i_1_; - } - if (aClass72Array3862 != null) { - anInt3852 = 0; - int[] is = new int[aClass72Array3862.length]; - for (int i_2_ = 0; aClass72Array3862.length > i_2_; i_2_++) { - Class72 class72 = aClass72Array3862[i_2_]; - if (class72.method733(anInt3866, anInt3854, anInt3853, anInt3859)) { - is[anInt3852] = class72.anInt1232; - aClass72Array3865[anInt3852++] = class72; - } - } - Class279.method2092(-1 + anInt3852, 0, is, -120, aClass72Array3865); - } - aBoolean3857 = true; - } - anInt3856++; - if (i <= 27) anInt3853 = -98; - boolean bool = false; - if (aBoolean3857) { - aBoolean3857 = false; - for (int i_3_ = -1 + anInt3852; i_3_ >= 0; i_3_--) { - boolean bool_4_ = aClass72Array3865[i_3_].method736(var_ha, aClass72_3871); - bool |= bool_4_; - Class305 class305_5_ = this; - class305_5_.aBoolean3857 = class305_5_.aBoolean3857 | !bool_4_; - } - } - return bool; - } - - final void method2293(int i, ha var_ha, byte i_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_, int i_12_, int i_13_) { - i_10_ = 0x3fff & i + i_10_; - anInt3860++; - if (anInt3858 != -1 && anInt3863 != 0) { - Class12 class12 = Class101_Sub1.aD5684.method3(anInt3858, -6662); - if (aClass105_3867 == null && Class101_Sub1.aD5684.method4(-7953, anInt3858)) { - int[] is = (class12.anInt200 == 2 ? Class101_Sub1.aD5684.method6(-21540, anInt3863, 0.7F, anInt3858, false, anInt3863) : Class101_Sub1.aD5684.method5(false, anInt3858, 0.7F, anInt3863, anInt3863, -119)); - aClass105_3867 = var_ha.method3662(anInt3863, is, (byte) 94, 0, anInt3863, anInt3863); - } - if (class12.anInt200 == 2) var_ha.aa(i_7_, i_9_, i_8_, i_13_, i_12_, 0); - if (aClass105_3867 != null) { - int i_14_ = class12.anInt200 == 2 ? 1 : 0; - int i_15_ = i_13_ * i_11_ / -4096; - int i_16_; - for (i_16_ = (-i_13_ + i_8_) / 2 + i_13_ * i_10_ / 4096; i_13_ < i_16_; i_16_ -= i_13_) { - /* empty */ - } - for (/**/; i_16_ < 0; i_16_ += i_13_) { - /* empty */ - } - for (/**/; i_13_ < i_15_; i_15_ -= i_13_) { - /* empty */ - } - for (/**/; i_15_ < 0; i_15_ += i_13_) { - /* empty */ - } - for (int i_17_ = -i_13_ + i_16_; i_8_ > i_17_; i_17_ += i_13_) { - for (int i_18_ = i_15_ + -i_13_; i_18_ < i_13_; i_18_ += i_13_) - aClass105_3867.method970(i_7_ + i_17_, i_18_ + i_9_, i_13_, i_13_, 1, 0, i_14_); - } - } - } else var_ha.aa(i_7_, i_9_, i_8_, i_13_, i_12_, 0); - for (int i_19_ = -1 + anInt3852; i_19_ >= 0; i_19_--) - aClass72Array3865[i_19_].method737(var_ha, i_7_, i_9_, i_8_, i_13_, i_11_, i_10_); - int i_20_ = 103 % ((i_6_ - 14) / 32); - } - - public static void method2294(int i) { - aCanvas3869 = null; - if (i <= 94) method2296(-107); - } - - final void method2295(byte i) { - anInt3864++; - if (aClass72Array3862 != null) { - for (int i_21_ = 0; aClass72Array3862.length > i_21_; i_21_++) - aClass72Array3862[i_21_].method734(); - } - aClass105_3867 = null; - if (i != 96) method2292(-84, null, 73); - } - - static final void method2296(int i) { - anInt3868++; - if (i < -46) { - for (int i_22_ = 0; i_22_ < 100; i_22_++) - Class318_Sub2.aClass147Array6400[i_22_] = null; - za_Sub1.anInt9774 = 0; - } - } - - Class305(int i, Class72[] class72s, int i_23_, int i_24_, int i_25_, int i_26_) { - anInt3853 = i_26_; - anInt3858 = i; - aClass72Array3862 = class72s; - anInt3854 = i_25_; - anInt3866 = i_24_; - if (class72s == null) { - aClass72Array3865 = null; - aClass72_3871 = null; - } else { - aClass72Array3865 = new Class72[class72s.length]; - aClass72_3871 = i_23_ < 0 ? null : class72s[i_23_]; - } - } -} diff --git a/client/src/Class306.java b/client/src/Class306.java deleted file mode 100644 index 8d7ce9e2f..000000000 --- a/client/src/Class306.java +++ /dev/null @@ -1,40 +0,0 @@ -/* Class306 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; - -final class Class306 { - static int anInt3872 = -1; - static int[] anIntArray3873 = new int[13]; - static int anInt3874; - static int anInt3875; - static int anInt3876; - - static final ha method2297(int i, int i_0_, d var_d, Canvas canvas, int i_1_) { - try { - if (i != -6) method2297(23, -44, null, null, -57); - anInt3875++; - return new oa(canvas, var_d, i_1_, i_0_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ws.C(" + i + ',' + i_0_ + ',' + (var_d != null ? "{...}" : "null") + ',' + (canvas != null ? "{...}" : "null") + ',' + i_1_ + ')')); - } - } - - static final void method2298(byte i, String string) { - anInt3876++; - if (Class169.aClass19Array2261 != null) { - Class119_Sub1.anInt4698++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class357.aClass351_4405, Class348_Sub23_Sub2.aClass77_9029, -97); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, Class239_Sub6.method1745(string, -65)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); - if (i > -50) method2297(104, 26, null, null, -19); - Class348_Sub42_Sub14.method3243(-43, class348_sub47); - } - } - - public static void method2299(byte i) { - anIntArray3873 = null; - if (i != -128) method2297(66, -48, null, null, 100); - } -} diff --git a/client/src/Class307.java b/client/src/Class307.java deleted file mode 100644 index 6f40cc21b..000000000 --- a/client/src/Class307.java +++ /dev/null @@ -1,50 +0,0 @@ -/* Class307 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class307 { - static int anInt3877; - static int anInt3878; - - static final Class252 method2300(Class45 class45, String string, boolean bool, byte i) { - try { - anInt3877++; - int i_0_ = class45.method417(string, 0); - if (i != -91) return null; - if (i_0_ == -1) return new Class252(0); - int[] is = class45.method396(i_0_, i ^ ~0x5a); - Class252 class252 = new Class252(is.length); - int i_1_ = 0; - int i_2_ = 0; - while (i_1_ < class252.anInt3241) { - Class348_Sub49 class348_sub49 = new Class348_Sub49(class45.method410(-1860, i_0_, is[i_2_++])); - int i_3_ = class348_sub49.readInt((byte) -126); - int i_4_ = class348_sub49.readUnsignedShort(i ^ ~0x3235f8a2); - int i_5_ = class348_sub49.readUnsignedByte(255); - if (!bool && i_5_ == 1) class252.anInt3241--; - else { - class252.anIntArray3238[i_1_] = i_3_; - class252.anIntArray3239[i_1_] = i_4_; - i_1_++; - } - } - return class252; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wt.A(" + (class45 != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ',' + bool + ',' + i + ')')); - } - } - - static final int method2301(byte i, int i_6_, boolean bool) { - anInt3878++; - if (bool) return 0; - Class348_Sub13 class348_sub13 = Class258_Sub4.method1974((byte) -9, i_6_, bool); - if (class348_sub13 == null) return (Class127_Sub1.aClass271_8378.method2044(109, i_6_).anInt9542); - int i_7_ = 0; - for (int i_8_ = 0; (i_8_ < class348_sub13.anIntArray6757.length); i_8_++) { - if (class348_sub13.anIntArray6757[i_8_] == -1) i_7_++; - } - if (i != 35) method2301((byte) -102, 43, true); - i_7_ += (Class127_Sub1.aClass271_8378.method2044(82, i_6_).anInt9542 + -class348_sub13.anIntArray6757.length); - return i_7_; - } -} diff --git a/client/src/Class308.java b/client/src/Class308.java deleted file mode 100644 index 4156d231f..000000000 --- a/client/src/Class308.java +++ /dev/null @@ -1,100 +0,0 @@ -/* Class308 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class308 { - static int anInt3879; - static int anInt3880; - static int anInt3881; - static byte[][] aByteArrayArray3882; - static int[] anIntArray3883; - static Interface6[] anInterface6Array3884 = new Interface6[75]; - static int anInt3885; - static int anInt3886; - private Class348_Sub42 aClass348_Sub42_3887 = new Class348_Sub42(); - private final Class356 aClass356_3888; - private Class107 aClass107_3889 = new Class107(); - private final int anInt3890; - private int anInt3891; - - final Class348_Sub42 method2302(long l, byte i) { - try { - if (i > -25) aClass107_3889 = null; - anInt3885++; - Class348_Sub42 class348_sub42 = (Class348_Sub42) aClass356_3888.method3480(l, -6008); - if (class348_sub42 != null) aClass107_3889.method1005(true, class348_sub42); - return class348_sub42; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "wu.D(" + l + ',' + i + ')'); - } - } - - final void method2303(boolean bool) { - anInt3879++; - if (bool != true) method2305(-121L, null, -1); - aClass107_3889.method1009(2110355138); - aClass356_3888.method3481(0); - aClass348_Sub42_3887 = new Class348_Sub42(); - anInt3891 = anInt3890; - } - - final void method2304(int i, long l) { - do { - try { - anInt3880++; - Class348_Sub42 class348_sub42 = (Class348_Sub42) aClass356_3888.method3480(l, -6008); - if (class348_sub42 != null) { - class348_sub42.method2715((byte) 73); - class348_sub42.method3162(true); - anInt3891++; - } - if (i <= -110) break; - method2304(36, -86L); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "wu.C(" + i + ',' + l + ')'); - } - break; - } while (false); - } - - final void method2305(long l, Class348_Sub42 class348_sub42, int i) { - try { - anInt3881++; - if ((~anInt3891) == i) { - Class348_Sub42 class348_sub42_0_ = aClass107_3889.method1008(20); - class348_sub42_0_.method2715((byte) 113); - class348_sub42_0_.method3162(true); - if (class348_sub42_0_ == aClass348_Sub42_3887) { - class348_sub42_0_ = aClass107_3889.method1008(20); - class348_sub42_0_.method2715((byte) 79); - class348_sub42_0_.method3162(true); - } - } else anInt3891--; - aClass356_3888.method3483((byte) 37, l, class348_sub42); - aClass107_3889.method1005(true, class348_sub42); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wu.E(" + l + ',' + (class348_sub42 != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - public static void method2306(byte i) { - if (i != -90) method2306((byte) -74); - anIntArray3883 = null; - anInterface6Array3884 = null; - aByteArrayArray3882 = null; - } - - Class308(int i) { - anInt3891 = i; - anInt3890 = i; - int i_1_; - for (i_1_ = 1; i_1_ + i_1_ < i; i_1_ += i_1_) { - /* empty */ - } - aClass356_3888 = new Class356(i_1_); - } - - static { - anIntArray3883 = new int[6]; - } -} diff --git a/client/src/Class309.java b/client/src/Class309.java deleted file mode 100644 index 2733c7b8f..000000000 --- a/client/src/Class309.java +++ /dev/null @@ -1,147 +0,0 @@ -/* Class309 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class309 implements Interface7 { - static int[] anIntArray4806; - private final String aString4807; - static Class105 aClass105_4808; - static int anInt4809; - static int anInt4810; - static int anInt4811; - static int[] anIntArray4812; - static int[] anIntArray4813; - static int anInt4814 = 50; - static int anInt4815; - static int anInt4816; - static int[] anIntArray4817; - static String[] aStringArray4818; - static int[] anIntArray4819; - static int anInt4820; - static int anInt4821; - static int[] anIntArray4822; - static int anInt4823; - private boolean aBoolean4824; - static int anInt4825; - - static final void method2307(int i, long l, int i_0_, int i_1_) { - try { - anInt4823++; - if (i_1_ <= 3) method2308((byte) -121, 59); - int i_2_ = (int) l >> 14 & 0x1f; - int i_3_ = (0x37d8b0 & (int) l) >> 20; - int i_4_ = 0x7fffffff & (int) (l >>> 32); - if (i_2_ != 10 && i_2_ != 11 && i_2_ != 22) Class298.method2252(true, i_0_, i, (byte) -119, 0, 0, 0, i_2_, i_3_); - else { - Class51 class51 = Class348_Sub40_Sub12.aClass263_9195.method2005(0, i_4_); - int i_5_; - int i_6_; - if (i_3_ == 0 || i_3_ == 2) { - i_5_ = class51.anInt926; - i_6_ = class51.anInt961; - } else { - i_5_ = class51.anInt961; - i_6_ = class51.anInt926; - } - int i_7_ = class51.anInt914; - if (i_3_ != 0) i_7_ = (0xf & i_7_ << i_3_) + (i_7_ >> 4 + -i_3_); - Class298.method2252(true, i_0_, i, (byte) -99, i_5_, i_7_, i_6_, 0, 0); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("cf.B(" + i + ',' + l + ',' + i_0_ + ',' + i_1_ + ')')); - } - } - - static final boolean method2308(byte i, int i_8_) { - if (i != 26) anIntArray4822 = null; - anInt4810++; - return i_8_ == 15 || i_8_ == 2 || i_8_ == 30 || i_8_ == 49 || i_8_ == 51 || i_8_ == 50 || i_8_ == 6; - } - - public final int method31(int i) { - int i_9_ = 88 % ((-43 - i) / 62); - anInt4821++; - int i_10_ = Class59.method547(aString4807, 7468); - if (i_10_ >= 0 && i_10_ <= 100) return i_10_; - aBoolean4824 = true; - return 100; - } - - static final byte[] method2309(int i, byte[] is) { - anInt4825++; - if (is == null) return null; - byte[] is_11_ = new byte[is.length]; - if (i >= -9) anInt4814 = 49; - Class214.method1577(is, 0, is_11_, 0, is.length); - return is_11_; - } - - public final Class69 method32(int i) { - anInt4809++; - if (i != -15004) aStringArray4818 = null; - return Class69.aClass69_1199; - } - - public static void method2310(byte i) { - if (i < 65) anIntArray4819 = null; - aStringArray4818 = null; - anIntArray4819 = null; - anIntArray4822 = null; - anIntArray4813 = null; - anIntArray4817 = null; - aClass105_4808 = null; - anIntArray4806 = null; - anIntArray4812 = null; - } - - static final void method2311(byte i, int i_12_) { - anInt4820++; - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i_12_, (byte) 105, 16); - class348_sub42_sub15.method3251(-16058); - int i_13_ = 126 / ((i - -54) / 38); - } - - static final void method2312(int i, int i_14_, Class262 class262, int i_15_, ha var_ha) { - do { - try { - anInt4811++; - Class289.aClass262_3705.method1996(125); - if (!Class348_Sub1_Sub1.aBoolean8805) { - for (Class348_Sub21 class348_sub21 = (Class348_Sub21) class262.method1995(4); class348_sub21 != null; class348_sub21 = ((Class348_Sub21) class262.method1990((byte) 104))) { - Class42 class42 = (Class75.aClass153_1238.method1225(class348_sub21.anInt6847, (byte) 82)); - if (Class60.method589(class42, -4)) { - boolean bool = Class190.method1425((byte) -31, class42, class348_sub21, i_14_, var_ha, i_15_); - if (bool) Class59.method549((byte) -43, class348_sub21, var_ha, class42); - } - } - if (i == -13084) break; - aStringArray4818 = null; - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("cf.G(" + i + ',' + i_14_ + ',' + (class262 != null ? "{...}" : "null") + ',' + i_15_ + ',' + (var_ha != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - final boolean method2313(int i) { - if (i <= 99) method2309(-35, null); - anInt4815++; - return aBoolean4824; - } - - Class309(String string) { - aString4807 = string; - } - - static { - anIntArray4812 = new int[anInt4814]; - anIntArray4806 = new int[anInt4814]; - anIntArray4813 = new int[anInt4814]; - anIntArray4817 = new int[anInt4814]; - anInt4816 = 0; - aStringArray4818 = new String[anInt4814]; - anIntArray4822 = new int[anInt4814]; - anIntArray4819 = new int[anInt4814]; - } -} diff --git a/client/src/Class31.java b/client/src/Class31.java deleted file mode 100644 index f42c9054d..000000000 --- a/client/src/Class31.java +++ /dev/null @@ -1,184 +0,0 @@ -/* Class31 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class31 { - int anInt420; - private int anInt421; - int anInt422; - private String aString423; - int anInt424; - static int anInt425; - int anInt426 = -1; - static int anInt427; - static int anInt428; - private int anInt429 = -1; - static Class113 aClass113_430; - int anInt431; - static int anInt432; - private int anInt433; - int anInt434; - int anInt435; - static int anInt436; - static int anInt437; - Class219 aClass219_438; - private int anInt439; - static int anInt440; - static int anInt441; - static int anInt442; - static int anInt443 = 1; - int anInt444; - static int anInt445; - static int anInt446; - - final Class105 method324(ha var_ha, boolean bool) { - anInt440++; - if (bool != true) return null; - if (anInt429 < 0) return null; - Class105 class105 = (Class105) this.aClass219_438.aClass60_2862.method583(anInt429, -62); - if (class105 == null) { - method330(var_ha, -41); - class105 = (Class105) this.aClass219_438.aClass60_2862.method583(anInt429, 53); - } - return class105; - } - - final Class105 method325(ha var_ha, int i) { - anInt428++; - if (anInt439 < 0) return null; - Class105 class105 = (Class105) this.aClass219_438.aClass60_2862.method583(anInt439, -59); - if (i < 23) return null; - if (class105 == null) { - method330(var_ha, -118); - class105 = (Class105) this.aClass219_438.aClass60_2862.method583(anInt439, 123); - } - return class105; - } - - static final void method326(byte i) { - anInt442++; - if (!Class50_Sub1.aBoolean5224) { - Class369_Sub3_Sub1.aBoolean10174 = true; - Class348_Sub27.aFloat6898 += (12.0F - Class348_Sub27.aFloat6898) / 2.0F; - Class50_Sub1.aBoolean5224 = true; - if (i != 68) aClass113_430 = null; - } - } - - final Class105 method327(ha var_ha, byte i) { - anInt432++; - if (anInt421 < 0) return null; - Class105 class105 = (Class105) this.aClass219_438.aClass60_2862.method583(anInt421, 118); - if (class105 == null) { - method330(var_ha, -66); - class105 = (Class105) this.aClass219_438.aClass60_2862.method583(anInt421, 119); - } - int i_0_ = 20 % ((i - 19) / 51); - return class105; - } - - public static void method328(int i) { - if (i != 0) anInt425 = -128; - aClass113_430 = null; - } - - private final void method329(Class348_Sub49 class348_sub49, int i, int i_1_) { - if (i_1_ != 1) { - if (i_1_ != 2) { - if (i_1_ == 3) anInt421 = class348_sub49.readUnsignedShort(842397944); - else if (i_1_ != 4) { - if (i_1_ == 5) anInt433 = class348_sub49.readUnsignedShort(842397944); - else if (i_1_ == 6) anInt439 = class348_sub49.readUnsignedShort(842397944); - else if (i_1_ != 7) { - if (i_1_ != 8) { - if (i_1_ != 9) { - if (i_1_ != 10) { - if (i_1_ == 11) this.anInt426 = 0; - else if (i_1_ == 12) this.anInt431 = class348_sub49.readUnsignedByte(255); - else if (i_1_ == 13) this.anInt420 = class348_sub49.readShort(i ^ ~0x3547); - else if (i_1_ == 14) this.anInt426 = class348_sub49.readUnsignedShort(842397944); - } else this.anInt422 = class348_sub49.readShort(13638); - } else this.anInt434 = class348_sub49.readUnsignedShort(842397944); - } else aString423 = class348_sub49.method3371(i ^ 0x34af); - } else this.anInt424 = class348_sub49.readShort(13638); - } else anInt429 = class348_sub49.readUnsignedShort(842397944); - } else this.anInt444 = class348_sub49.readMedium(-1); - } else this.anInt435 = class348_sub49.readUnsignedShort(842397944); - if (i != -2) method333(-112, 38); - anInt437++; - } - - private final void method330(ha var_ha, int i) { - anInt446++; - Class45 class45 = this.aClass219_438.aClass45_2873; - if (anInt421 >= 0 && this.aClass219_438.aClass60_2862.method583(anInt421, 121) == null && class45.method421(false, anInt421)) { - Class207 class207 = Class207.method1512(class45, anInt421); - this.aClass219_438.aClass60_2862.method582(var_ha.method3691(class207, true), anInt421, (byte) -112); - } - if (anInt433 >= 0 && this.aClass219_438.aClass60_2862.method583(anInt433, -99) == null && class45.method421(false, anInt433)) { - Class207 class207 = Class207.method1512(class45, anInt433); - this.aClass219_438.aClass60_2862.method582(var_ha.method3691(class207, true), anInt433, (byte) -128); - } - if (anInt429 >= 0 && this.aClass219_438.aClass60_2862.method583(anInt429, 86) == null && class45.method421(false, anInt429)) { - Class207 class207 = Class207.method1512(class45, anInt429); - this.aClass219_438.aClass60_2862.method582(var_ha.method3691(class207, true), anInt429, (byte) -108); - } - if (i > -7) this.anInt434 = -14; - if (anInt439 >= 0 && this.aClass219_438.aClass60_2862.method583(anInt439, -83) == null && class45.method421(false, anInt439)) { - Class207 class207 = Class207.method1512(class45, anInt439); - this.aClass219_438.aClass60_2862.method582(var_ha.method3691(class207, true), anInt439, (byte) -101); - } - } - - final Class105 method331(ha var_ha, byte i) { - anInt441++; - if (anInt433 < 0) return null; - int i_2_ = -84 % ((i - 32) / 35); - Class105 class105 = (Class105) this.aClass219_438.aClass60_2862.method583(anInt433, -50); - if (class105 == null) { - method330(var_ha, -89); - class105 = (Class105) this.aClass219_438.aClass60_2862.method583(anInt433, -117); - } - return class105; - } - - final void method332(int i, Class348_Sub49 class348_sub49) { - if (i > -119) method333(119, -71); - for (; ; ) { - int i_3_ = class348_sub49.readUnsignedByte(255); - if (i_3_ == 0) break; - method329(class348_sub49, -2, i_3_); - } - anInt427++; - } - - final String method333(int i, int i_4_) { - anInt445++; - String string = aString423; - if (i_4_ != 0) return null; - for (; ; ) { - int i_5_ = string.indexOf("%1"); - if (i_5_ < 0) break; - string = (string.substring(0, i_5_) + Class140.method1171(i, 55, false) + string.substring(i_5_ - -2)); - } - return string; - } - - public Class31() { - aString423 = ""; - this.anInt424 = 0; - anInt433 = -1; - this.anInt422 = 0; - anInt439 = -1; - this.anInt431 = -1; - this.anInt434 = 70; - this.anInt435 = -1; - anInt421 = -1; - this.anInt420 = 0; - this.anInt444 = 16777215; - } - - static { - aClass113_430 = new Class113(); - } -} diff --git a/client/src/Class310.java b/client/src/Class310.java deleted file mode 100644 index 16ba616c3..000000000 --- a/client/src/Class310.java +++ /dev/null @@ -1,27 +0,0 @@ -/* Class310 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jagdx.IDirect3DBaseTexture; - -abstract class Class310 { - boolean aBoolean3892; - Class378 aClass378_3893; - Class209 aClass209_3894 = Class71.aClass209_1212; - Class68 aClass68_3895; - Class304 aClass304_3896; - - void method64(Class209 class209, int i) { - this.aClass209_3894 = class209; - if (i != -22095) method64(null, -80); - } - - abstract IDirect3DBaseTexture method2314(int i); - - Class310(Class378 class378, Class304 class304, Class68 class68, boolean bool, int i) { - this.aClass68_3895 = class68; - this.aClass378_3893 = class378; - this.aBoolean3892 = bool; - this.aClass304_3896 = class304; - } -} diff --git a/client/src/Class310_Sub1.java b/client/src/Class310_Sub1.java deleted file mode 100644 index aaa32abde..000000000 --- a/client/src/Class310_Sub1.java +++ /dev/null @@ -1,47 +0,0 @@ -/* Class310_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jagdx.IDirect3DBaseTexture; -import jagdx.IDirect3DCubeTexture; -import jagdx.PixelBuffer; -import jagdx.ue; - -final class Class310_Sub1 extends Class310 implements Interface18_Impl2 { - private final int anInt6329; - private final IDirect3DCubeTexture anIDirect3DCubeTexture6330; - - public final void method63(byte i) { - this.aClass378_3893.method3956((byte) -128, this); - if (i > -21) method2314(88); - } - - Class310_Sub1(Class378 class378, int i, boolean bool, int[][] is) { - super(class378, Class108.aClass304_1662, Class68.aClass68_1183, bool && class378.aBoolean9802, 6 * i * i); - anInt6329 = i; - if (this.aBoolean3892) anIDirect3DCubeTexture6330 = this.aClass378_3893.anIDirect3DDevice9810.a(anInt6329, 0, 1024, 21, 1); - else anIDirect3DCubeTexture6330 = this.aClass378_3893.anIDirect3DDevice9810.a(anInt6329, 1, 0, 21, 1); - PixelBuffer pixelbuffer = (this.aClass378_3893.aPixelBuffer9803); - for (int i_0_ = 0; i_0_ < 6; i_0_++) { - int i_1_ = anIDirect3DCubeTexture6330.LockRect(i_0_, 0, 0, 0, anInt6329, anInt6329, 0, pixelbuffer); - if (ue.a(i_1_, false)) { - int i_2_ = pixelbuffer.getRowPitch(); - if (i_2_ == anInt6329 * 4) pixelbuffer.a(is[i_0_], 0, 0, anInt6329 * anInt6329); - else { - for (int i_3_ = 0; anInt6329 > i_3_; i_3_++) - pixelbuffer.a(is[i_0_], anInt6329 * i_3_, i_3_ * i_2_, anInt6329); - } - anIDirect3DCubeTexture6330.UnlockRect(i_0_, 0); - } - } - } - - final IDirect3DBaseTexture method2314(int i) { - if (i != 17723) method2314(-17); - return anIDirect3DCubeTexture6330; - } - - public final void method64(Class209 class209, int i) { - super.method64(class209, i); - } -} diff --git a/client/src/Class310_Sub2.java b/client/src/Class310_Sub2.java deleted file mode 100644 index 68ae230cc..000000000 --- a/client/src/Class310_Sub2.java +++ /dev/null @@ -1,172 +0,0 @@ -/* Class310_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jagdx.IDirect3DBaseTexture; -import jagdx.IDirect3DTexture; -import jagdx.PixelBuffer; -import jagdx.ue; - -final class Class310_Sub2 extends Class310 implements Interface18_Impl3 { - private final int anInt6331; - private final IDirect3DTexture anIDirect3DTexture6332; - private final int anInt6333; - boolean aBoolean6334; - boolean aBoolean6335; - - Class310_Sub2(Class378 class378, int i, int i_0_, boolean bool, int[] is, int i_1_, int i_2_) { - super(class378, Class108.aClass304_1662, Class68.aClass68_1183, bool && class378.aBoolean9798, i_0_ * i); - if (this.aClass378_3893.aBoolean9792) { - anInt6331 = i_0_; - anInt6333 = i; - } else { - anInt6333 = Class33.method340(i, (byte) 108); - anInt6331 = Class33.method340(i_0_, (byte) 108); - } - if (!bool) anIDirect3DTexture6332 = this.aClass378_3893.anIDirect3DDevice9810.a(anInt6333, anInt6331, 1, 0, 21, 1); - else anIDirect3DTexture6332 = this.aClass378_3893.anIDirect3DDevice9810.a(anInt6333, anInt6331, 0, 1024, 21, 1); - PixelBuffer pixelbuffer = (this.aClass378_3893.aPixelBuffer9803); - int i_3_ = anIDirect3DTexture6332.LockRect(0, 0, 0, i, i_0_, 0, pixelbuffer); - if (ue.a(i_3_, false)) { - if (0 == i_2_) i_2_ = i; - int i_4_ = pixelbuffer.getRowPitch(); - if (i_4_ == 4 * i && i == i_2_) pixelbuffer.a(is, i_1_, 0, i * i_0_); - else { - for (int i_5_ = 0; i_0_ > i_5_; i_5_++) - pixelbuffer.a(is, i_5_ * i_2_ + i_1_, i_4_ * i_5_, i); - } - anIDirect3DTexture6332.UnlockRect(0); - } - } - - Class310_Sub2(Class378 class378, Class304 class304, Class68 class68, int i, int i_6_) { - super(class378, class304, class68, false, i_6_ * i); - if (this.aClass378_3893.aBoolean9792) { - anInt6333 = i; - anInt6331 = i_6_; - } else { - anInt6333 = Class33.method340(i, (byte) 108); - anInt6331 = Class33.method340(i_6_, (byte) 108); - } - anIDirect3DTexture6332 = (this.aClass378_3893.anIDirect3DDevice9810.a(i, i_6_, 1, 0, Class378.method3958(22, this.aClass68_3895, this.aClass304_3896), 1)); - } - - public final void method64(Class209 class209, int i) { - super.method64(class209, i); - } - - final IDirect3DBaseTexture method2314(int i) { - if (i != 17723) return null; - return anIDirect3DTexture6332; - } - - public final int method69(boolean bool) { - if (bool) return -95; - return anInt6333; - } - - public final int method72(int i) { - int i_7_ = -47 % ((55 - i) / 63); - return anInt6331; - } - - public final void method65(int i, int[] is, int i_8_, int i_9_, int i_10_, byte i_11_, int i_12_) { - if (Class108.aClass304_1662 != this.aClass304_3896 || this.aClass68_3895 != Class68.aClass68_1183) throw new RuntimeException(); - if (i_11_ != 112) this.aBoolean6334 = false; - PixelBuffer pixelbuffer = (this.aClass378_3893.aPixelBuffer9803); - int i_13_ = anIDirect3DTexture6332.LockRect(0, i, i_9_, i_8_, i_10_, 16, pixelbuffer); - if (ue.a(i_13_, false)) { - int i_14_ = pixelbuffer.getRowPitch(); - if (i_14_ != 4 * i_8_) { - for (int i_15_ = 0; i_15_ < i_10_; i_15_++) - pixelbuffer.b(is, i_12_ - -(i_8_ * i_15_), i_15_ * i_14_, i_8_); - } else pixelbuffer.b(is, i_12_, 0, is.length); - anIDirect3DTexture6332.UnlockRect(0); - } - } - - Class310_Sub2(Class378 class378, Class304 class304, int i, int i_16_, boolean bool, byte[] is, int i_17_, int i_18_) { - super(class378, class304, Class68.aClass68_1183, bool && class378.aBoolean9798, i * i_16_); - if (this.aClass378_3893.aBoolean9792) { - anInt6333 = i; - anInt6331 = i_16_; - } else { - anInt6333 = Class33.method340(i, (byte) 108); - anInt6331 = Class33.method340(i_16_, (byte) 108); - } - if (bool) anIDirect3DTexture6332 = (this.aClass378_3893.anIDirect3DDevice9810.a(anInt6333, anInt6331, 0, 1024, Class378.method3958(22, Class68.aClass68_1183, this.aClass304_3896), 1)); - else anIDirect3DTexture6332 = (this.aClass378_3893.anIDirect3DDevice9810.a(anInt6333, anInt6331, 1, 0, Class378.method3958(22, Class68.aClass68_1183, this.aClass304_3896), 1)); - PixelBuffer pixelbuffer = (this.aClass378_3893.aPixelBuffer9803); - int i_19_ = anIDirect3DTexture6332.LockRect(0, 0, 0, i, i_16_, 0, pixelbuffer); - if (ue.a(i_19_, false)) { - if (0 == i_18_) i_18_ = i; - i *= this.aClass304_3896.anInt3850; - i_18_ *= (this.aClass304_3896.anInt3850); - int i_20_ = pixelbuffer.getRowPitch(); - if (i != i_20_ || i != i_18_) { - for (int i_21_ = 0; i_16_ > i_21_; i_21_++) - pixelbuffer.a(is, i_21_ * i_18_ + i_17_, i_20_ * i_21_, i); - } else pixelbuffer.a(is, i_17_, 0, i * i_16_); - anIDirect3DTexture6332.UnlockRect(0); - } - } - - public final float method71(byte i, float f) { - if (i > -24) return -0.2576451F; - return f / (float) anInt6331; - } - - public final void method68(int i, int i_22_, int[] is, int i_23_, int i_24_, int i_25_, int i_26_, int i_27_) { - if (this.aClass304_3896 != Class108.aClass304_1662 || this.aClass68_3895 != Class68.aClass68_1183) throw new RuntimeException(); - PixelBuffer pixelbuffer = (this.aClass378_3893.aPixelBuffer9803); - int i_28_ = anIDirect3DTexture6332.LockRect(0, i_23_, i_26_, i_25_, i_27_, 0, pixelbuffer); - if (ue.a(i_28_, false)) { - int i_29_ = pixelbuffer.getRowPitch(); - if (i_29_ != i_25_ * 4 || i_25_ != i) { - for (int i_30_ = 0; i_27_ > i_30_; i_30_++) - pixelbuffer.a(is, i_24_ + i * i_30_, i_30_ * i_29_, i_25_); - } else pixelbuffer.a(is, i_24_, 0, i_27_ * i_25_); - anIDirect3DTexture6332.UnlockRect(0); - } - if (i_22_ != 22809) this.aBoolean6334 = false; - } - - public final float method67(float f, int i) { - if (i < 69) return 0.44069603F; - return f / (float) anInt6333; - } - - public final void method63(byte i) { - if (i > -21) method64(null, 39); - this.aClass378_3893.method3954(13700, this); - } - - public final void method70(int i, int i_31_, byte i_32_, int i_33_, int i_34_, int i_35_, int i_36_, byte[] is, Class304 class304) { - if (this.aClass304_3896 != class304 || this.aClass68_3895 != Class68.aClass68_1183) throw new RuntimeException(); - if (i_32_ < -4) { - PixelBuffer pixelbuffer = (this.aClass378_3893.aPixelBuffer9803); - int i_37_ = anIDirect3DTexture6332.LockRect(0, i_36_, i, i_35_, i_34_, 0, pixelbuffer); - if (ue.a(i_37_, false)) { - i_33_ *= (this.aClass304_3896.anInt3850); - i_35_ *= (this.aClass304_3896.anInt3850); - int i_38_ = pixelbuffer.getRowPitch(); - if (i_38_ == i_35_ && i_33_ == i_35_) pixelbuffer.a(is, i_31_, 0, i_35_ * i_34_); - else { - for (int i_39_ = 0; i_34_ > i_39_; i_39_++) - pixelbuffer.a(is, i_31_ + i_39_ * i_33_, i_39_ * i_38_, i_35_); - } - anIDirect3DTexture6332.UnlockRect(0); - } - } - } - - public final boolean method73(int i) { - if (i <= 84) method67(1.9572803F, 45); - return true; - } - - public final void method66(boolean bool, boolean bool_40_, int i) { - this.aBoolean6335 = bool_40_; - if (i == 25688) this.aBoolean6334 = bool; - } -} diff --git a/client/src/Class310_Sub3.java b/client/src/Class310_Sub3.java deleted file mode 100644 index 8117c0891..000000000 --- a/client/src/Class310_Sub3.java +++ /dev/null @@ -1,58 +0,0 @@ -/* Class310_Sub3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jagdx.IDirect3DBaseTexture; -import jagdx.IDirect3DVolumeTexture; -import jagdx.PixelBuffer; -import jagdx.ue; - -final class Class310_Sub3 extends Class310 implements Interface18_Impl1 { - private final IDirect3DVolumeTexture anIDirect3DVolumeTexture6336; - private final int anInt6337; - private int anInt6338; - private final int anInt6339; - - public final void method63(byte i) { - this.aClass378_3893.method3959(-101, this); - if (i >= -21) method2314(78); - } - - final IDirect3DBaseTexture method2314(int i) { - if (i != 17723) anInt6338 = -39; - return anIDirect3DVolumeTexture6336; - } - - public final void method64(Class209 class209, int i) { - super.method64(class209, i); - } - - Class310_Sub3(Class378 class378, Class304 class304, int i, int i_0_, int i_1_, byte[] is) { - super(class378, class304, Class68.aClass68_1183, false, i_1_ * i_0_ * i); - anInt6338 = i; - anInt6337 = i_1_; - anInt6339 = i_0_; - anIDirect3DVolumeTexture6336 = (this.aClass378_3893.anIDirect3DDevice9810.a(i, i_0_, i_1_, 1, 0, Class378.method3958(22, this.aClass68_3895, class304), 1)); - PixelBuffer pixelbuffer = (this.aClass378_3893.aPixelBuffer9803); - int i_2_ = anIDirect3DVolumeTexture6336.LockBox(0, 0, 0, 0, i, i_0_, i_1_, 0, pixelbuffer); - if (ue.a(i_2_, false)) { - int i_3_ = (this.aClass304_3896.anInt3850 * anInt6338); - int i_4_ = i_3_ * anInt6339; - int i_5_ = pixelbuffer.getSlicePitch(); - if (i_5_ == i_4_) pixelbuffer.a(is, 0, 0, anInt6337 * (i_3_ * anInt6339)); - else { - int i_6_ = pixelbuffer.getRowPitch(); - if (i_3_ == i_6_) { - for (int i_9_ = 0; anInt6337 > i_9_; i_9_++) - pixelbuffer.a(is, i_4_ * i_9_, i_9_ * i_5_, i_4_); - } else { - for (int i_7_ = 0; i_7_ < anInt6337; i_7_++) { - for (int i_8_ = 0; anInt6339 > i_8_; i_8_++) - pixelbuffer.a(is, i_3_ * i_8_ + i_4_ * i_7_, i_8_ * i_6_ + i_7_ * i_5_, i_3_); - } - } - } - anIDirect3DVolumeTexture6336.UnlockBox(0); - } - } -} diff --git a/client/src/Class311.java b/client/src/Class311.java deleted file mode 100644 index 402e864ec..000000000 --- a/client/src/Class311.java +++ /dev/null @@ -1,187 +0,0 @@ -/* Class311 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class311 implements Runnable { - static int anInt3897; - static Class351 aClass351_3898 = new Class351(11, 8); - static int anInt3899; - static int anInt3900; - static int anInt3901; - static int anInt3902; - static int anInt3903; - static int anInt3904; - static int anInt3905; - static int anInt3906; - private Interface16 anInterface16_3907 = new Class294(); - private boolean aBoolean3908; - static int anInt3909; - private volatile boolean aBoolean3910; - static int anInt3911; - static int anInt3912; - static Class46 aClass46_3913; - private long aLong3914; - private int anInt3915; - private Class56 aClass56_3916; - private long aLong3917; - static int anInt3918 = 1; - private Interface16 anInterface16_3919 = null; - private int anInt3920; - private String aString3921; - - final int method2315(byte i) { - anInt3909++; - if (aClass56_3916 == null) return 0; - if (i < 103) aLong3917 = -58L; - int i_0_ = aClass56_3916.method525(-118); - if (aClass56_3916.aBoolean1016 && (anInt3915 < aClass56_3916.anInt1021)) return 1 + anInt3915; - if (i_0_ < 0 || -1 + Class328_Sub2.aClass56Array6515.length <= i_0_) return 100; - if (aClass56_3916.anInt1025 == anInt3915) return aClass56_3916.anInt1021; - return aClass56_3916.anInt1025; - } - - final synchronized void method2316(Class56 class56, String string, int i, long l, boolean bool) { - try { - if (bool != false) method2318(9); - aString3921 = string; - anInt3915 = i; - anInt3897++; - aLong3917 = l; - aClass56_3916 = class56; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ae.J(" + (class56 != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ',' + i + ',' + l + ',' + bool + ')')); - } - } - - public final void run() { - anInt3902++; - while (!aBoolean3910) { - long l = Class62.method599(-61); - synchronized (this) { - try { - anInt3920++; - if (anInterface16_3907 instanceof Class294) anInterface16_3907.method58(aBoolean3908, -104); - else { - long l_1_ = Class62.method599(-104); - if (Class348_Sub8.aHa6654 != null && anInterface16_3919 != null && anInterface16_3919.method55((byte) -58) != 0 && (aLong3914 >= l_1_ - (long) anInterface16_3919.method55((byte) -58))) { - int i = (int) ((l_1_ + -aLong3914) * 255L / (long) anInterface16_3919.method55((byte) -58)); - int i_2_ = -i + 255; - i_2_ = 0xffffff | i_2_ << 24; - i = 0xffffff | i << 24; - Class140.method1170((byte) -121); - Class348_Sub8.aHa6654.GA(0); - Class105 class105 = (Class348_Sub8.aHa6654.method3629(Class321.anInt4017, Class348_Sub42_Sub8_Sub2.anInt10432, true)); - Class348_Sub8.aHa6654.method3681(class105, 0); - anInterface16_3919.method58(true, -126); - Class348_Sub8.aHa6654.method3672(); - class105.method964(0, 0, 0, i_2_, 1); - Class348_Sub8.aHa6654.method3681(class105, 0); - Class348_Sub8.aHa6654.GA(0); - anInterface16_3907.method58(true, -114); - Class348_Sub8.aHa6654.method3672(); - class105.method964(0, 0, 0, i, 1); - } else { - if (anInterface16_3919 != null) { - aBoolean3908 = true; - anInterface16_3919.method59(-9719); - anInterface16_3919 = null; - } - if (aBoolean3908) { - Class140.method1170((byte) -64); - if (Class348_Sub8.aHa6654 != null) Class348_Sub8.aHa6654.GA(0); - } - anInterface16_3907.method58((aBoolean3908 || (Class348_Sub8.aHa6654 != null && Class348_Sub8.aHa6654.method3655())), -90); - } - try { - if (Class348_Sub8.aHa6654 != null && !(anInterface16_3907 instanceof Class294)) Class348_Sub8.aHa6654.method3689((byte) 57); - } catch (Exception_Sub1 exception_sub1) { - Class156.method1242((exception_sub1.getMessage() + " (Recovered) " + Class79.aClient1367.method81((byte) 80)), exception_sub1, 15004); - Class367_Sub10.method3553(true, (byte) 114, 0); - } - } - java.awt.Container container; - if (Class52.aFrame4904 != null) container = Class52.aFrame4904; - else if (Class93.anApplet1530 != null) container = Class93.anApplet1530; - else container = Class348_Sub40_Sub9.anApplet_Sub1_9169; - container.getSize(); - container.getSize(); - if (Class52.aFrame4904 == container) Class52.aFrame4904.getInsets(); - aBoolean3908 = false; - if (Class348_Sub8.aHa6654 != null && !(anInterface16_3907 instanceof Class294) && (aClass56_3916.method525(-112) < Class56.aClass56_1041.method525(-127))) Class367_Sub11.method3556(false); - } catch (Exception exception) { - continue; - } - } - long l_3_ = Class62.method599(-73); - int i = (int) (-l_3_ - -l + 20L); - if (i > 0) Class286_Sub5.method2161((byte) -3, i); - } - } - - public static void method2317(byte i) { - if (i > 50) { - aClass351_3898 = null; - aClass46_3913 = null; - } - } - - final String method2318(int i) { - if (i != -9324) method2320((byte) -47); - anInt3903++; - return aString3921; - } - - final void method2319(byte i) { - aBoolean3910 = true; - if (i >= -37) aLong3914 = -36L; - anInt3906++; - } - - final int method2320(byte i) { - anInt3901++; - int i_4_ = -127 / ((29 - i) / 45); - return anInt3915; - } - - final synchronized void method2321(int i, Interface16 interface16) { - anInt3911++; - if (i != 10559) aClass46_3913 = null; - anInterface16_3919 = anInterface16_3907; - anInterface16_3907 = interface16; - aLong3914 = Class62.method599(-67); - } - - final synchronized boolean method2322(int i) { - anInt3900++; - if (i != 0) return false; - return anInterface16_3907.method56((byte) 125, aLong3914); - } - - final long method2323(int i) { - anInt3912++; - if (i != 0) method2318(14); - return aLong3917; - } - - final Class56 method2324(int i) { - anInt3904++; - if (i <= 45) return null; - return aClass56_3916; - } - - final int method2325(byte i) { - int i_5_ = 32 / ((i - -41) / 47); - anInt3899++; - return anInt3920; - } - - final synchronized void method2326(int i) { - if (i <= 39) method2315((byte) 28); - anInt3905++; - aBoolean3908 = true; - } - - public Class311() { - /* empty */ - } -} diff --git a/client/src/Class312.java b/client/src/Class312.java deleted file mode 100644 index 83a63ba39..000000000 --- a/client/src/Class312.java +++ /dev/null @@ -1,105 +0,0 @@ -/* Class312 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class312 { - private Class348 aClass348_3922; - private Class262 aClass262_3923; - static int anInt3924; - static Class114 aClass114_3925; - static int anInt3926; - static int anInt3927; - static int anInt3928; - static int anInt3929; - static int anInt3930 = 2; - static int anInt3931; - static int anInt3932; - - final Class348 method2327(byte i) { - anInt3929++; - Class348 class348 = (aClass262_3923.aClass348_3334.aClass348_4294); - if (i != -53) method2329(-21); - if (aClass262_3923.aClass348_3334 == class348) { - aClass348_3922 = null; - return null; - } - aClass348_3922 = class348.aClass348_4294; - return class348; - } - - final void method2328(Class262 class262, int i) { - anInt3927++; - if (i <= 73) method2327((byte) -67); - aClass262_3923 = class262; - } - - final Class348 method2329(int i) { - anInt3928++; - if (i != 10) method2330((byte) -25); - Class348 class348 = aClass348_3922; - if (aClass262_3923.aClass348_3334 == class348) { - aClass348_3922 = null; - return null; - } - aClass348_3922 = class348.aClass348_4294; - return class348; - } - - static final void method2330(byte i) { - Class348_Sub3.method2739(0); - anInt3924++; - if (i == 86) { - Class348_Sub40_Sub25.anInt9341 = 0; - Class348_Sub40_Sub36.aClass114_9456 = null; - Class299.aClass348_Sub49_Sub2_3813.anInt7197 = 0; - Class238.aClass114_3133 = null; - Class239.aClass114_3145 = null; - Class348_Sub50.anInt7213 = 0; - Class348_Sub3.aClass114_6584 = null; - Class289.anInt3699 = 0; - Class348_Sub40_Sub39.method3153(0); - Class348_Sub40_Sub37.method3147((byte) 27); - for (int i_0_ = 0; i_0_ < 2048; i_0_++) - Class294.aPlayerArray5058[i_0_] = null; - Class132.aPlayer_1907 = null; - for (int i_1_ = 0; Class348_Sub32.anInt6930 > i_1_; i_1_++) { - Npc npc = (Class348_Sub40_Sub23.aClass348_Sub22Array9319[i_1_].aNpc_6859); - if (npc != null) npc.anInt10275 = -1; - } - Class363.method3515(i + 36); - Class9.anInt167 = Class318_Sub1_Sub5_Sub2.anInt10163 = -1; - Class348_Sub40_Sub21.anInt9282 = 1; - Class348_Sub49.method3379(2, 10); - for (int i_2_ = 0; i_2_ < 100; i_2_++) - Class152.aBooleanArray2076[i_2_] = true; - Class286_Sub2.method2145(-24498); - Class239_Sub4.aClass348_Sub26_5881 = null; - Class101_Sub2.aLong5745 = 0L; - } - } - - public static void method2331(boolean bool) { - aClass114_3925 = null; - if (bool != true) anInt3930 = -53; - } - - static final boolean method2332(int i, byte i_3_, int i_4_) { - if (i_3_ <= 120) anInt3930 = 6; - anInt3926++; - return (0x20 & i_4_) != 0; - } - - public Class312() { - /* empty */ - } - - Class312(Class262 class262) { - aClass262_3923 = class262; - } - - static { - aClass114_3925 = new Class114(27, 3); - anInt3931 = 0; - anInt3932 = 1403; - } -} diff --git a/client/src/Class313.java b/client/src/Class313.java deleted file mode 100644 index 99a80ca50..000000000 --- a/client/src/Class313.java +++ /dev/null @@ -1,24 +0,0 @@ -/* Class313 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class313 { - static int anInt3933; - static Class223 aClass223_3934 = new Class223(2, 2); - static float aFloat3935; - static int anInt3936 = 0; - static int anInt3937; - - public static void method2333(boolean bool) { - if (bool == false) aClass223_3934 = null; - } - - static final void method2334(int i) { - Class318_Sub1_Sub3_Sub4.anInt10340++; - if (i != 0) method2333(true); - anInt3933++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(aa_Sub3.aClass351_5200, Class348_Sub23_Sub2.aClass77_9029, i ^ ~0x53); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, Class135_Sub1.anInt4718); - Class348_Sub42_Sub14.method3243(118, class348_sub47); - } -} diff --git a/client/src/Class314.java b/client/src/Class314.java deleted file mode 100644 index 0a6695274..000000000 --- a/client/src/Class314.java +++ /dev/null @@ -1,49 +0,0 @@ -/* Class314 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class314 { - static float aFloat3938 = 0.0F; - static int anInt3939; - static int anInt3940; - static int anInt3941; - static int anInt3942; - static float aFloat3943; - - public Class314() { - /* empty */ - } - - abstract int method2335(int i, int i_0_); - - static final void method2336(Class51 class51, int i, int i_1_, int i_2_, int i_3_) { - anInt3940++; - if (i_3_ > -126) anInt3941 = 15; - for (Class348_Sub9 class348_sub9 = (Class348_Sub9) Class218.aClass262_2859.method1995(4); class348_sub9 != null; class348_sub9 = (Class348_Sub9) Class218.aClass262_2859.method1990((byte) 123)) { - if (i_2_ == class348_sub9.anInt6693 && (class348_sub9.anInt6678 == i << 9) && (i_1_ << 9 == class348_sub9.anInt6689) && (class348_sub9.aClass51_6695.anInt941 == class51.anInt941)) { - if (class348_sub9.aClass348_Sub16_Sub5_6676 != null) { - Class348_Sub43.aClass348_Sub16_Sub4_7065.method2880(class348_sub9.aClass348_Sub16_Sub5_6676); - class348_sub9.aClass348_Sub16_Sub5_6676 = null; - } - if (class348_sub9.aClass348_Sub16_Sub5_6673 != null) { - Class348_Sub43.aClass348_Sub16_Sub4_7065.method2880(class348_sub9.aClass348_Sub16_Sub5_6673); - class348_sub9.aClass348_Sub16_Sub5_6673 = null; - } - class348_sub9.method2715((byte) 125); - break; - } - } - } - - static final float method2337(float f, boolean bool, float f_4_, float f_5_) { - if (bool != true) method2337(-0.96692735F, false, 0.1946915F, -1.0497112F); - anInt3942++; - return f + (-f + f_4_) * f_5_; - } - - abstract void method2338(byte i, int i_6_); - - abstract byte[] method2339(int i, byte i_7_); - - abstract Class291 method2340(byte i); -} diff --git a/client/src/Class314_Sub1.java b/client/src/Class314_Sub1.java deleted file mode 100644 index eb29dcbaa..000000000 --- a/client/src/Class314_Sub1.java +++ /dev/null @@ -1,433 +0,0 @@ -/* Class314_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class314_Sub1 extends Class314 { - static Class114 aClass114_6340 = new Class114(74, 28); - static int anInt6341; - private Class291 aClass291_6342; - static int anInt6343; - private final int anInt6344; - static int anInt6345; - private final byte[] aByteArray6346; - private final Class248 aClass248_6347; - static int anInt6348; - static int anInt6349; - private final int anInt6350; - private byte[] aByteArray6351; - private int anInt6352; - static int anInt6353; - private final Class112 aClass112_6354; - private Class348_Sub42_Sub16 aClass348_Sub42_Sub16_6355; - static int anInt6356; - static int anInt6357; - static int anInt6358; - static int anInt6359; - private final Class356 aClass356_6360; - private int anInt6361 = 0; - static int anInt6362; - static int anInt6363; - private final Class137 aClass137_6364; - private final Class137 aClass137_6365; - static int anInt6366; - static int anInt6367; - private boolean aBoolean6368; - private final Class262 aClass262_6369; - static int anInt6370; - private boolean aBoolean6371; - private Class262 aClass262_6372; - private int anInt6373; - private long aLong6374; - private boolean aBoolean6375; - - final int method2341(int i) { - anInt6370++; - if (aClass291_6342 == null) return 0; - if (!aBoolean6368) return aClass291_6342.anInt3727; - if (i != 24940) method2345(-32); - Class348 class348 = aClass262_6372.method1995(i ^ 0x6168); - if (class348 == null) return 0; - return (int) class348.aLong4291; - } - - final void method2342(int i) { - anInt6349++; - if (i != 0) aBoolean6375 = false; - if (aClass262_6372 != null && method2340((byte) 56) != null) { - for (Class348 class348 = aClass262_6369.method1995(4); class348 != null; class348 = aClass262_6369.method1990((byte) 112)) { - int i_0_ = (int) class348.aLong4291; - if (i_0_ < 0 || (aClass291_6342.anInt3734 <= i_0_) || aClass291_6342.anIntArray3725[i_0_] == 0) class348.method2715((byte) 37); - else { - if (aByteArray6351[i_0_] == 0) method2350(i_0_, (byte) 65, 1); - if (aByteArray6351[i_0_] == -1) method2350(i_0_, (byte) 65, 2); - if (aByteArray6351[i_0_] == 1) class348.method2715((byte) 29); - } - } - } - } - - final void method2343(int i) { - anInt6356++; - if (aClass262_6372 != null) { - if (method2340((byte) 56) == null) return; - if (aBoolean6368) { - boolean bool = true; - for (Class348 class348 = aClass262_6372.method1995(4); class348 != null; class348 = aClass262_6372.method1990((byte) 106)) { - int i_1_ = (int) class348.aLong4291; - if (aByteArray6351[i_1_] == 0) method2350(i_1_, (byte) 65, 1); - if (aByteArray6351[i_1_] != 0) class348.method2715((byte) 22); - else bool = false; - } - while (aClass291_6342.anIntArray3725.length > anInt6373) { - if (aClass291_6342.anIntArray3725[anInt6373] == 0) anInt6373++; - else { - if (aClass112_6354.anInt1734 >= 250) { - bool = false; - break; - } - if (aByteArray6351[anInt6373] == 0) method2350(anInt6373, (byte) 65, 1); - if (aByteArray6351[anInt6373] == 0) { - Class348 class348 = new Class348(); - class348.aLong4291 = anInt6373; - aClass262_6372.method1999(class348, -20180); - bool = false; - } - anInt6373++; - } - } - if (bool) { - anInt6373 = 0; - aBoolean6368 = false; - } - } else if (aBoolean6371) { - boolean bool = true; - for (Class348 class348 = aClass262_6372.method1995(4); class348 != null; class348 = aClass262_6372.method1990((byte) 43)) { - int i_2_ = (int) class348.aLong4291; - if (aByteArray6351[i_2_] != 1) method2350(i_2_, (byte) 65, 2); - if (aByteArray6351[i_2_] != 1) bool = false; - else class348.method2715((byte) 60); - } - while (aClass291_6342.anIntArray3725.length > anInt6373) { - if (aClass291_6342.anIntArray3725[anInt6373] == 0) anInt6373++; - else { - if (aClass248_6347.method1899(-124)) { - bool = false; - break; - } - if (aByteArray6351[anInt6373] != 1) method2350(anInt6373, (byte) 65, 2); - if (aByteArray6351[anInt6373] != 1) { - Class348 class348 = new Class348(); - class348.aLong4291 = anInt6373; - bool = false; - aClass262_6372.method1999(class348, i + -20179); - } - anInt6373++; - } - } - if (bool) { - anInt6373 = 0; - aBoolean6371 = false; - } - } else aClass262_6372 = null; - } - if (i == -1) { - if (aBoolean6375 && Class62.method599(-94) >= aLong6374) { - for (Class348_Sub42_Sub16 class348_sub42_sub16 = (Class348_Sub42_Sub16) aClass356_6360.method3484(0); class348_sub42_sub16 != null; class348_sub42_sub16 = ((Class348_Sub42_Sub16) aClass356_6360.method3482(0))) { - if (!class348_sub42_sub16.aBoolean9664) { - if (class348_sub42_sub16.aBoolean9667) { - if (!class348_sub42_sub16.aBoolean9663) throw new RuntimeException(); - class348_sub42_sub16.method2715((byte) 116); - } else class348_sub42_sub16.aBoolean9667 = true; - } - } - aLong6374 = Class62.method599(-82) - -1000L; - } - } - } - - public static void method2344(int i) { - if (i == 0) aClass114_6340 = null; - } - - final int method2345(int i) { - anInt6357++; - if (aClass291_6342 == null) return 0; - if (i != 0) method2338((byte) -34, 120); - return aClass291_6342.anInt3727; - } - - final byte[] method2339(int i, byte i_3_) { - int i_4_ = -16 / ((i_3_ - -44) / 37); - anInt6363++; - Class348_Sub42_Sub16 class348_sub42_sub16 = method2350(i, (byte) 65, 0); - if (class348_sub42_sub16 == null) return null; - byte[] is = class348_sub42_sub16.method3259(16); - class348_sub42_sub16.method2715((byte) 33); - return is; - } - - final void method2346(int i) { - if (i == 27872) { - anInt6366++; - if (aClass137_6365 != null) { - aBoolean6371 = true; - if (aClass262_6372 == null) aClass262_6372 = new Class262(); - } - } - } - - final void method2338(byte i, int i_5_) { - anInt6345++; - if (i != -52) aClass291_6342 = null; - if (aClass137_6365 != null) { - for (Class348 class348 = aClass262_6369.method1995(i ^ ~0x37); class348 != null; class348 = aClass262_6369.method1990((byte) 124)) { - if ((long) i_5_ == class348.aLong4291) return; - } - Class348 class348 = new Class348(); - class348.aLong4291 = i_5_; - aClass262_6369.method1999(class348, -20180); - } - } - - static final String method2347(byte i) { - if (i != -119) return null; - anInt6343++; - if (Class5_Sub1.aBoolean8335 || Class316.aClass348_Sub42_Sub12_3963 == null) return ""; - if (((Class316.aClass348_Sub42_Sub12_3963.aString9601) == null || Class316.aClass348_Sub42_Sub12_3963.aString9601.length() == 0) && (Class316.aClass348_Sub42_Sub12_3963.aString9595) != null && Class316.aClass348_Sub42_Sub12_3963.aString9595.length() > 0) - return (Class316.aClass348_Sub42_Sub12_3963.aString9595); - return (Class316.aClass348_Sub42_Sub12_3963.aString9601); - } - - static final int method2348(int i) { - anInt6353++; - if (i != -8454) method2352(44, -11, 126); - int i_6_; - if (Class226.anInt2964 < 96) { - Class348_Sub40_Sub12.method3076(0, true); - i_6_ = 1; - } else { - int i_7_ = Class284.method2116(-26584); - if (i_7_ > 100) { - if (i_7_ <= 500) { - i_6_ = 3; - Class47.method447((byte) -59); - } else if (i_7_ <= 1000) { - i_6_ = 2; - Class161.method1263(true); - } else { - Class348_Sub40_Sub12.method3076(0, true); - i_6_ = 1; - } - } else { - i_6_ = 4; - Class133.method1140(58); - } - } - if (Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) != 0) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub25_7251), 0); - Class367_Sub10.method3553(false, (byte) 120, 0); - } - Class14_Sub2.method243(37); - return i_6_; - } - - final int method2349(int i) { - if (i != 1) method2335(11, -116); - anInt6367++; - if (method2340((byte) 56) == null) { - if (aClass348_Sub42_Sub16_6355 == null) return 0; - return aClass348_Sub42_Sub16_6355.method3257(16); - } - return 100; - } - - final int method2335(int i, int i_8_) { - anInt6341++; - Class348_Sub42_Sub16 class348_sub42_sub16 = ((Class348_Sub42_Sub16) aClass356_6360.method3480(i, -6008)); - if (i_8_ != -22197) anInt6352 = 21; - if (class348_sub42_sub16 != null) return class348_sub42_sub16.method3257(16); - return 0; - } - - private final Class348_Sub42_Sub16 method2350(int i, byte i_9_, int i_10_) { - if (i_9_ != 65) aByteArray6351 = null; - anInt6362++; - Class348_Sub42_Sub16 class348_sub42_sub16 = ((Class348_Sub42_Sub16) aClass356_6360.method3480(i, -6008)); - if (class348_sub42_sub16 != null && i_10_ == 0 && !class348_sub42_sub16.aBoolean9663 && class348_sub42_sub16.aBoolean9664) { - class348_sub42_sub16.method2715((byte) 66); - class348_sub42_sub16 = null; - } - if (class348_sub42_sub16 == null) { - if (i_10_ == 0) { - if (aClass137_6365 == null || aByteArray6351[i] == -1) { - if (aClass248_6347.method1900(-9)) return null; - class348_sub42_sub16 = aClass248_6347.method1906((byte) -125, (byte) 2, true, i, anInt6350); - } else class348_sub42_sub16 = aClass112_6354.method1055(aClass137_6365, i, (byte) -110); - } else if (i_10_ == 1) { - if (aClass137_6365 == null) throw new RuntimeException(); - class348_sub42_sub16 = aClass112_6354.method1054(aClass137_6365, i, (byte) -112); - } else { - if (i_10_ != 2) throw new RuntimeException(); - if (aClass137_6365 == null) throw new RuntimeException(); - if (aByteArray6351[i] != -1) throw new RuntimeException(); - if (aClass248_6347.method1899(-120)) return null; - class348_sub42_sub16 = aClass248_6347.method1906((byte) 97, (byte) 2, false, i, anInt6350); - } - aClass356_6360.method3483((byte) 73, i, class348_sub42_sub16); - } - if (class348_sub42_sub16.aBoolean9664) return null; - byte[] is = class348_sub42_sub16.method3259(16); - if (!(class348_sub42_sub16 instanceof Class348_Sub42_Sub16_Sub2)) { - try { - if (is == null || is.length <= 2) throw new RuntimeException(); - Class287.aCRC32_3691.reset(); - Class287.aCRC32_3691.update(is, 0, -2 + is.length); - int i_11_ = (int) Class287.aCRC32_3691.getValue(); - if (aClass291_6342.anIntArray3729[i] != i_11_) throw new RuntimeException(); - if (aClass291_6342.aByteArrayArray3730 != null && (aClass291_6342.aByteArrayArray3730[i] != null)) { - byte[] is_12_ = aClass291_6342.aByteArrayArray3730[i]; - byte[] is_13_ = Class348_Sub1_Sub2.method2730(i_9_ ^ 0x1196, 0, is, is.length + -2); - for (int i_14_ = 0; i_14_ < 64; i_14_++) { - if (is_12_[i_14_] != is_13_[i_14_]) throw new RuntimeException(); - } - } - aClass248_6347.anInt3213 = 0; - aClass248_6347.anInt3214 = 0; - } catch (RuntimeException runtimeexception) { - aClass248_6347.method1904(-1); - class348_sub42_sub16.method2715((byte) 44); - if (class348_sub42_sub16.aBoolean9663 && !aClass248_6347.method1900(i_9_ ^ 0x1f)) { - Class348_Sub42_Sub16_Sub1 class348_sub42_sub16_sub1 = aClass248_6347.method1906((byte) 111, (byte) 2, true, i, anInt6350); - aClass356_6360.method3483((byte) 84, i, class348_sub42_sub16_sub1); - } - return null; - } - is[is.length - 2] = (byte) (aClass291_6342.anIntArray3722[i] >>> 8); - is[is.length - 1] = (byte) aClass291_6342.anIntArray3722[i]; - if (aClass137_6365 != null) { - aClass112_6354.method1049(is, aClass137_6365, (byte) 10, i); - if (aByteArray6351[i] != 1) { - anInt6361++; - aByteArray6351[i] = (byte) 1; - } - } - if (!class348_sub42_sub16.aBoolean9663) class348_sub42_sub16.method2715((byte) 110); - return class348_sub42_sub16; - } - try { - if (is == null || is.length <= 2) throw new RuntimeException(); - Class287.aCRC32_3691.reset(); - Class287.aCRC32_3691.update(is, 0, is.length + -2); - int i_15_ = (int) Class287.aCRC32_3691.getValue(); - if (i_15_ != aClass291_6342.anIntArray3729[i]) throw new RuntimeException(); - if (aClass291_6342.aByteArrayArray3730 != null && (aClass291_6342.aByteArrayArray3730[i] != null)) { - byte[] is_16_ = aClass291_6342.aByteArrayArray3730[i]; - byte[] is_17_ = Class348_Sub1_Sub2.method2730(i_9_ + 4502, 0, is, is.length - 2); - for (int i_18_ = 0; i_18_ < 64; i_18_++) { - if (is_17_[i_18_] != is_16_[i_18_]) throw new RuntimeException(); - } - } - int i_19_ = ((0xff00 & is[-2 + is.length] << 8) + (0xff & is[is.length + -1])); - if ((aClass291_6342.anIntArray3722[i] & 0xffff) != i_19_) throw new RuntimeException(); - if (aByteArray6351[i] != 1) { - anInt6361++; - aByteArray6351[i] = (byte) 1; - } - if (!class348_sub42_sub16.aBoolean9663) class348_sub42_sub16.method2715((byte) 115); - return class348_sub42_sub16; - } catch (Exception exception) { - aByteArray6351[i] = (byte) -1; - class348_sub42_sub16.method2715((byte) 121); - if (class348_sub42_sub16.aBoolean9663 && !aClass248_6347.method1900(-30)) { - Class348_Sub42_Sub16_Sub1 class348_sub42_sub16_sub1 = aClass248_6347.method1906((byte) 99, (byte) 2, true, i, anInt6350); - aClass356_6360.method3483((byte) 66, i, class348_sub42_sub16_sub1); - } - return null; - } - } - - final int method2351(int i) { - if (i != 0) return -19; - anInt6359++; - return anInt6361; - } - - final Class291 method2340(byte i) { - anInt6348++; - if (aClass291_6342 != null) return aClass291_6342; - if (i != 56) return null; - if (aClass348_Sub42_Sub16_6355 == null) { - if (aClass248_6347.method1900(-14)) return null; - aClass348_Sub42_Sub16_6355 = aClass248_6347.method1906((byte) -114, (byte) 0, true, anInt6350, 255); - } - if (aClass348_Sub42_Sub16_6355.aBoolean9664) return null; - byte[] is = aClass348_Sub42_Sub16_6355.method3259(16); - do { - if (aClass348_Sub42_Sub16_6355 instanceof Class348_Sub42_Sub16_Sub2) { - try { - if (is == null) throw new RuntimeException(); - aClass291_6342 = new Class291(is, anInt6344, aByteArray6346); - if (anInt6352 != aClass291_6342.anInt3732) throw new RuntimeException(); - break; - } catch (RuntimeException runtimeexception) { - aClass291_6342 = null; - if (aClass248_6347.method1900(i + 66)) aClass348_Sub42_Sub16_6355 = null; - else aClass348_Sub42_Sub16_6355 = aClass248_6347.method1906((byte) -95, (byte) 0, true, anInt6350, 255); - return null; - } - } - try { - if (is == null) throw new RuntimeException(); - aClass291_6342 = new Class291(is, anInt6344, aByteArray6346); - } catch (RuntimeException runtimeexception) { - aClass248_6347.method1904(i + -57); - aClass291_6342 = null; - if (aClass248_6347.method1900(i ^ ~0x16)) aClass348_Sub42_Sub16_6355 = null; - else aClass348_Sub42_Sub16_6355 = aClass248_6347.method1906((byte) 47, (byte) 0, true, anInt6350, 255); - return null; - } - if (aClass137_6364 != null) aClass112_6354.method1049(is, aClass137_6364, (byte) 10, anInt6350); - } while (false); - aClass348_Sub42_Sub16_6355 = null; - if (aClass137_6365 != null) { - anInt6361 = 0; - aByteArray6351 = new byte[aClass291_6342.anInt3734]; - } - return aClass291_6342; - } - - static final boolean method2352(int i, int i_20_, int i_21_) { - anInt6358++; - int i_22_ = -38 / ((60 - i) / 40); - return (0x10 & i_21_) != 0; - } - - Class314_Sub1(int i, Class137 class137, Class137 class137_23_, Class248 class248, Class112 class112, int i_24_, byte[] is, int i_25_, boolean bool) { - aClass356_6360 = new Class356(16); - anInt6373 = 0; - aClass262_6369 = new Class262(); - aLong6374 = 0L; - do { - try { - anInt6350 = i; - aClass137_6365 = class137; - if (aClass137_6365 != null) { - aBoolean6368 = true; - aClass262_6372 = new Class262(); - } else aBoolean6368 = false; - anInt6344 = i_24_; - aByteArray6346 = is; - anInt6352 = i_25_; - aClass137_6364 = class137_23_; - aBoolean6375 = bool; - aClass248_6347 = class248; - aClass112_6354 = class112; - if (aClass137_6364 == null) break; - aClass348_Sub42_Sub16_6355 = aClass112_6354.method1055(aClass137_6364, anInt6350, (byte) -112); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bja.(" + i + ',' + (class137 != null ? "{...}" : "null") + ',' + (class137_23_ != null ? "{...}" : "null") + ',' + (class248 != null ? "{...}" : "null") + ',' + (class112 != null ? "{...}" : "null") + ',' + i_24_ + ',' + (is != null ? "{...}" : "null") + ',' + i_25_ + ',' + bool + ')')); - } - break; - } while (false); - } -} diff --git a/client/src/Class315.java b/client/src/Class315.java deleted file mode 100644 index 5fb1a76c1..000000000 --- a/client/src/Class315.java +++ /dev/null @@ -1,130 +0,0 @@ -/* Class315 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class315 { - static int anInt3944; - static int anInt3945; - private final Class243 aClass243_3946 = new Class243(); - static int anInt3947; - static int anInt3948; - static int anInt3949; - static int anInt3950; - static int anInt3951; - static int anInt3952; - String aString3953; - static int anInt3954; - static int anInt3955; - private Class293 aClass293_3956; - private volatile int anInt3957; - - final void method2353(Class318_Sub1 class318_sub1, boolean bool) { - class318_sub1.aBoolean6387 = bool; - anInt3944++; - synchronized (aClass243_3946) { - aClass243_3946.method1869(-90, class318_sub1); - anInt3957++; - } - if (aClass293_3956 != null) { - synchronized (aClass293_3956) { - aClass293_3956.notify(); - } - } - } - - static final boolean method2354(Class364 class364, int i) { - anInt3954++; - if (i != -1) method2355(-93, (byte) 115, true, null, -92, -67, 6); - return Class367_Sub8.aClass364_7361 == class364 || Class26.aClass364_382 == class364 || Class108.aClass364_1657 == class364 || class364 == Class342.aClass364_4246; - } - - static final void method2355(int i, byte i_0_, boolean bool, Class45 class45, int i_1_, int i_2_, int i_3_) { - Class58.anInt1059 = i; - anInt3948++; - Class346.aBoolean4275 = bool; - Class285.aClass348_Sub16_Sub3_4743 = null; - Class318_Sub1_Sub4_Sub1.anInt10074 = i_1_; - Class239_Sub14.anInt5994 = i_3_; - Class348_Sub43.anInt7068 = 1; - if (i_0_ != 50) method2357(-59, null); - Class318.anInt3971 = i_2_; - Class124.aClass45_1848 = class45; - } - - final void method2356(Class293 class293, byte i) { - aClass293_3956 = class293; - if (i != -108) method2358(-10, -55, 5); - anInt3949++; - } - - static final int method2357(int i, Player player) { - anInt3951++; - int i_4_ = (player.anInt10560); - Class225 class225 = player.method2422((byte) 72); - if (i != (player.anInt10268) && !(player.aBoolean10213)) { - if ((player.anInt10268) != class225.anInt2919 && (player.anInt10268 != class225.anInt2920) && (class225.anInt2949 != (player.anInt10268)) && (player.anInt10268 != class225.anInt2914)) { - if ((class225.anInt2940 == (player.anInt10268)) || (player.anInt10268 == class225.anInt2924) || (player.anInt10268 == class225.anInt2947) || (player.anInt10268 == class225.anInt2958)) - i_4_ = player.anInt10526; - } else i_4_ = player.anInt10519; - } else i_4_ = player.anInt10535; - return i_4_; - } - - static final boolean method2358(int i, int i_5_, int i_6_) { - if (i >= -106) return true; - anInt3945++; - return Class122.method1087(12644, i_6_, i_5_) || Class273.method2056(i_5_, 107, i_6_); - } - - final void method2359(Class318_Sub2 class318_sub2, int i) { - if (i != -1) method2362(45); - synchronized (aClass243_3946) { - aClass243_3946.method1869(-127, class318_sub2); - anInt3957++; - } - anInt3947++; - if (aClass293_3956 != null) { - synchronized (aClass293_3956) { - aClass293_3956.notify(); - } - } - } - - final boolean method2360(int i) { - int i_7_ = 46 % ((i - 10) / 54); - anInt3955++; - return anInt3957 == 0; - } - - final void method2361(int i, Class318_Sub1 class318_sub1) { - class318_sub1.aBoolean6387 = true; - anInt3950++; - synchronized (aClass243_3946) { - aClass243_3946.method1869(-122, class318_sub1); - anInt3957++; - } - if (i != -15481) this.aString3953 = null; - if (aClass293_3956 != null) { - synchronized (aClass293_3956) { - aClass293_3956.notify(); - } - } - } - - final Class318 method2362(int i) { - anInt3952++; - Object object = null; - Class318 class318; - synchronized (aClass243_3946) { - if (i != 25061) method2353(null, true); - class318 = aClass243_3946.method1872(8); - class318.method2373(false); - anInt3957--; - } - return class318; - } - - Class315(String string) { - this.aString3953 = string; - } -} diff --git a/client/src/Class316.java b/client/src/Class316.java deleted file mode 100644 index 674cce627..000000000 --- a/client/src/Class316.java +++ /dev/null @@ -1,117 +0,0 @@ -/* Class316 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class316 { - static int anInt3958; - static Class348_Sub51 aClass348_Sub51_3959; - static int anInt3960; - private final int[] anIntArray3961; - static int anInt3962; - static Class348_Sub42_Sub12 aClass348_Sub42_Sub12_3963; - static int anInt3964; - static int anInt3965; - static int anInt3966; - - static final void method2363(int i) { - if (i <= -39) { - anInt3958++; - if (Class275.method2066((byte) 106)) { - if (Class286_Sub1.aStringArray6200 == null) Class14_Sub3.method249(2); - Class168.anInt2254 = 0; - Class351.aBoolean4328 = true; - } - } - } - - static final void method2364(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_) { - if (i_7_ == 3) { - if (i_3_ != i_1_ || i_2_ != i_6_ || i_5_ != i_0_ || i_8_ != i_4_) { - int i_9_ = i_1_; - int i_10_ = i_6_; - int i_11_ = i_1_ * 3; - int i_12_ = 3 * i_6_; - int i_13_ = i_3_ * 3; - int i_14_ = 3 * i_2_; - int i_15_ = 3 * i_0_; - int i_16_ = i_4_ * 3; - int i_17_ = -i_1_ + (i_13_ + i_5_) + -i_15_; - int i_18_ = -i_6_ + (i_8_ + (-i_16_ - -i_14_)); - int i_19_ = -i_13_ + -i_13_ + (i_15_ + i_11_); - int i_20_ = i_12_ + -i_14_ + (i_16_ - i_14_); - int i_21_ = -i_11_ + i_13_; - int i_22_ = -i_12_ + i_14_; - for (int i_23_ = 128; i_23_ <= 4096; i_23_ += 128) { - int i_24_ = i_23_ * i_23_ >> 12; - int i_25_ = i_24_ * i_23_ >> 12; - int i_26_ = i_17_ * i_25_; - int i_27_ = i_18_ * i_25_; - int i_28_ = i_19_ * i_24_; - int i_29_ = i_24_ * i_20_; - int i_30_ = i_23_ * i_21_; - int i_31_ = i_22_ * i_23_; - int i_32_ = i_1_ - -(i_26_ - (-i_28_ + -i_30_) >> 12); - int i_33_ = i_6_ - -(i_29_ + (i_27_ - -i_31_) >> 12); - Class339.method2665(i_9_, (byte) 109, i, i_10_, i_33_, i_32_); - i_9_ = i_32_; - i_10_ = i_33_; - } - } else Class339.method2665(i_1_, (byte) 73, i, i_6_, i_8_, i_5_); - anInt3964++; - } - } - - Class316(int[] is) { - int i; - for (i = 1; is.length - -(is.length >> 1) >= i; i <<= 1) { - /* empty */ - } - anIntArray3961 = new int[i + i]; - for (int i_34_ = 0; i_34_ < i + i; i_34_++) - anIntArray3961[i_34_] = -1; - for (int i_35_ = 0; is.length > i_35_; i_35_++) { - int i_36_; - for (i_36_ = is[i_35_] & -1 + i; anIntArray3961[i_36_ - -i_36_ - -1] != -1; i_36_ = -1 + i & 1 + i_36_) { - /* empty */ - } - anIntArray3961[i_36_ + i_36_] = is[i_35_]; - anIntArray3961[i_36_ - (-i_36_ + -1)] = i_35_; - } - } - - final int method2365(int i, int i_37_) { - anInt3960++; - if (i != 1) method2365(-74, 111); - int i_38_ = -1 + (anIntArray3961.length >> 1); - int i_39_ = i_38_ & i_37_; - for (; ; ) { - int i_40_ = anIntArray3961[i_39_ + i_39_ - -1]; - if (i_40_ == -1) return -1; - if (i_37_ == anIntArray3961[i_39_ + i_39_]) return i_40_; - i_39_ = i_38_ & 1 + i_39_; - } - } - - public static void method2366(boolean bool) { - aClass348_Sub42_Sub12_3963 = null; - aClass348_Sub51_3959 = null; - if (bool != true) method2368(46); - } - - static final String method2367(byte i, Class348_Sub42_Sub12 class348_sub42_sub12) { - anInt3962++; - int i_41_ = 9 / ((79 - i) / 46); - if (class348_sub42_sub12.aString9595 == null || class348_sub42_sub12.aString9595.length() == 0) { - if ((class348_sub42_sub12.aString9601 == null) || class348_sub42_sub12.aString9601.length() <= 0) return (class348_sub42_sub12.aString9593); - return (class348_sub42_sub12.aString9593 + Class274.aClass274_3515.method2063(Class348_Sub33.anInt6967, 544) + (class348_sub42_sub12.aString9601)); - } - if (class348_sub42_sub12.aString9601 == null || class348_sub42_sub12.aString9601.length() <= 0) return (class348_sub42_sub12.aString9593 + Class274.aClass274_3515.method2063(Class348_Sub33.anInt6967, 544) + (class348_sub42_sub12.aString9595)); - return (class348_sub42_sub12.aString9593 + Class274.aClass274_3515.method2063(Class348_Sub33.anInt6967, 544) + class348_sub42_sub12.aString9601 + Class274.aClass274_3515.method2063(Class348_Sub33.anInt6967, 544) + class348_sub42_sub12.aString9595); - } - - static final void method2368(int i) { - Class15.aClass60_225.method590(0); - anInt3965++; - if (i != -1) aClass348_Sub51_3959 = null; - } -} diff --git a/client/src/Class317.java b/client/src/Class317.java deleted file mode 100644 index 992610e40..000000000 --- a/client/src/Class317.java +++ /dev/null @@ -1,78 +0,0 @@ -/* Class317 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class317 { - private int anInt3967; - private int anInt3968; - private final Class80[] aClass80Array3969; - - final Class348_Sub19_Sub1 method2369() { - byte[] is = method2371(); - return new Class348_Sub19_Sub1(22050, is, 22050 * anInt3967 / 1000, 22050 * anInt3968 / 1000); - } - - final int method2370() { - int i = 9999999; - for (int i_0_ = 0; i_0_ < 10; i_0_++) { - if (aClass80Array3969[i_0_] != null && aClass80Array3969[i_0_].anInt1407 / 20 < i) i = aClass80Array3969[i_0_].anInt1407 / 20; - } - if (anInt3967 < anInt3968 && anInt3967 / 20 < i) i = anInt3967 / 20; - if (i == 9999999 || i == 0) return 0; - for (int i_1_ = 0; i_1_ < 10; i_1_++) { - if (aClass80Array3969[i_1_] != null) aClass80Array3969[i_1_].anInt1407 -= i * 20; - } - if (anInt3967 < anInt3968) { - anInt3967 -= i * 20; - anInt3968 -= i * 20; - } - return i; - } - - private final byte[] method2371() { - int i = 0; - for (int i_2_ = 0; i_2_ < 10; i_2_++) { - if (aClass80Array3969[i_2_] != null && (aClass80Array3969[i_2_].anInt1421 + aClass80Array3969[i_2_].anInt1407) > i) i = (aClass80Array3969[i_2_].anInt1421 + aClass80Array3969[i_2_].anInt1407); - } - if (i == 0) return new byte[0]; - int i_3_ = 22050 * i / 1000; - byte[] is = new byte[i_3_]; - for (int i_4_ = 0; i_4_ < 10; i_4_++) { - if (aClass80Array3969[i_4_] != null) { - int i_5_ = (aClass80Array3969[i_4_].anInt1421 * 22050 / 1000); - int i_6_ = (aClass80Array3969[i_4_].anInt1407 * 22050 / 1000); - int[] is_7_ = (aClass80Array3969[i_4_].method809(i_5_, aClass80Array3969[i_4_].anInt1421)); - for (int i_8_ = 0; i_8_ < i_5_; i_8_++) { - int i_9_ = is[i_8_ + i_6_] + (is_7_[i_8_] >> 8); - if ((i_9_ + 128 & ~0xff) != 0) i_9_ = i_9_ >> 31 ^ 0x7f; - is[i_8_ + i_6_] = (byte) i_9_; - } - } - } - return is; - } - - private Class317(Class348_Sub49 class348_sub49) { - aClass80Array3969 = new Class80[10]; - for (int i = 0; i < 10; i++) { - int i_10_ = class348_sub49.readUnsignedByte(255); - if (i_10_ != 0) { - class348_sub49.anInt7197--; - aClass80Array3969[i] = new Class80(); - aClass80Array3969[i].method807(class348_sub49); - } - } - anInt3967 = class348_sub49.readUnsignedShort(842397944); - anInt3968 = class348_sub49.readUnsignedShort(842397944); - } - - private Class317() { - aClass80Array3969 = new Class80[10]; - } - - static final Class317 method2372(Class45 class45, int i, int i_11_) { - byte[] is = class45.method410(-1860, i, i_11_); - if (is == null) return null; - return new Class317(new Class348_Sub49(is)); - } -} diff --git a/client/src/Class318.java b/client/src/Class318.java deleted file mode 100644 index 2d60e4289..000000000 --- a/client/src/Class318.java +++ /dev/null @@ -1,46 +0,0 @@ -/* Class318 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -class Class318 { - Class318 aClass318_3970; - static int anInt3971; - static int anInt3972; - static int anInt3973; - static Class243[] aClass243Array3974 = new Class243[5]; - static int anInt3975; - Class318 aClass318_3976; - static Class304 aClass304_3977; - - final void method2373(boolean bool) { - anInt3975++; - if (this.aClass318_3976 != null) { - this.aClass318_3976.aClass318_3970 = this.aClass318_3970; - this.aClass318_3970.aClass318_3976 = this.aClass318_3976; - this.aClass318_3970 = null; - if (bool == false) this.aClass318_3976 = null; - } - } - - public static void method2374(byte i) { - aClass304_3977 = null; - int i_0_ = 108 / ((i - -83) / 41); - aClass243Array3974 = null; - } - - static final void method2375(int i) { - anInt3972++; - Class202.aClass60_2671.method590(0); - if (i != 16127) anInt3971 = -113; - } - - public Class318() { - /* empty */ - } - - static { - for (int i = 0; aClass243Array3974.length > i; i++) - aClass243Array3974[i] = new Class243(); - aClass304_3977 = new Class304(1); - } -} diff --git a/client/src/Class318_Sub1.java b/client/src/Class318_Sub1.java deleted file mode 100644 index 3d878844f..000000000 --- a/client/src/Class318_Sub1.java +++ /dev/null @@ -1,194 +0,0 @@ -/* Class318_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class318_Sub1 extends Class318 { - byte aByte6376; - int x; - static int anInt6378; - Class318_Sub1 aClass318_Sub1_6379; - int anInt6380; - byte plane; - int anInt6382; - static Class114 aClass114_6383 = new Class114(11, 6); - static int anInt6384; - static int anInt6385; - int anInt6386; - boolean aBoolean6387; - int y; - int anInt6389; - static int anInt6390; - boolean aBoolean6391 = false; - static int anInt6392; - - abstract boolean method2376(int i); - - abstract boolean method2377(byte i); - - abstract boolean method2378(int i); - - abstract int method2379(int i); - - abstract void method2380(ha var_ha, int i, boolean bool, Class318_Sub1 class318_sub1_0_, int i_1_, byte i_2_, int i_3_); - - abstract Class30 method2381(ha var_ha, int i); - - abstract boolean method2382(byte i); - - static final void method2383(ha var_ha, int i, Class46 class46) { - do { - try { - if (i != -2) method2383(null, -63, null); - anInt6385++; - boolean bool = ((Exception_Sub1.aClass255_112.method1941(class46.anInt672, (byte) -74, class46.anInt812, class46.anInt781, ~0xffffff | class46.anInt809, class46.anInt678, var_ha, (!class46.aBoolean720 ? null : (Class132.aPlayer_1907.aClass154_10536)))) == null); - if (!bool) break; - Class5_Sub1_Sub1.aClass262_9931.method1999(new Class348_Sub7(class46.anInt812, class46.anInt781, class46.anInt672, (~0xffffff | class46.anInt809), class46.anInt678, class46.aBoolean720), i ^ 0x4ed2); - Class251.method1916(-9343, class46); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ga.QA(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + (class46 != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - abstract int method2384(Class348_Sub1[] class348_sub1s, int i); - - static final void method2385(Class46 class46, int i, aa var_aa, int i_4_, int i_5_, int i_6_, byte i_7_, int i_8_, ha var_ha) { - do { - try { - anInt6390++; - Class42 class42 = Class348_Sub23_Sub2.aClass153_9031.method1225(i_4_, (byte) 98); - if (i_7_ < -52) { - if (class42 == null || !class42.aBoolean569 || !class42.method373((Class318_Sub1_Sub3_Sub3.aClass170_10209), 69)) break; - if (class42.anIntArray591 != null) { - int[] is = (new int - [class42.anIntArray591.length]); - for (int i_9_ = 0; is.length / 2 > i_9_; i_9_++) { - int i_10_; - if (Class348_Sub40_Sub21.anInt9282 != 4) i_10_ = 0x3fff & (r_Sub2.anInt10483 + (int) Class314.aFloat3938); - else i_10_ = (int) Class314.aFloat3938 & 0x3fff; - int i_11_ = Class70.anIntArray1207[i_10_]; - int i_12_ = Class70.anIntArray1204[i_10_]; - if (Class348_Sub40_Sub21.anInt9282 != 4) { - i_11_ = (i_11_ * 256 / (Class348_Sub49_Sub1.anInt9750 + 256)); - i_12_ = i_12_ * 256 / (256 + (Class348_Sub49_Sub1.anInt9750)); - } - is[i_9_ * 2] = (((i_11_ * (((class42.anIntArray591[i_9_ * 2 - -1]) * 4) + i_8_) + (i_5_ - -(4 * (class42.anIntArray591[2 * i_9_]))) * i_12_) >> 14) + (i_6_ - -(class46.anInt709 / 2))); - is[i_9_ * 2 - -1] = (-((((class42.anIntArray591[1 + i_9_ * 2]) * 4 + i_8_) * i_12_ - (i_5_ - -((class42.anIntArray591[i_9_ * 2]) * 4)) * i_11_) >> 14) + i + class46.anInt789 / 2); - } - Class329.method2619(var_ha, is, class42.anInt582, class46.anIntArray677, class46.anIntArray772); - if (class42.anInt584 > 0) { - for (int i_13_ = 0; (i_13_ < -1 + is.length / 2); i_13_++) { - int i_14_ = is[i_13_ * 2]; - int i_15_ = is[1 + 2 * i_13_]; - int i_16_ = is[2 + i_13_ * 2]; - int i_17_ = is[1 + 2 * (i_13_ - -1)]; - if (i_14_ <= i_16_) { - if (i_14_ == i_16_ && i_15_ > i_17_) { - int i_18_ = i_15_; - i_15_ = i_17_; - i_17_ = i_18_; - } - } else { - int i_19_ = i_14_; - i_14_ = i_16_; - int i_20_ = i_15_; - i_15_ = i_17_; - i_16_ = i_19_; - i_17_ = i_20_; - } - var_ha.method3703(i_14_, i_15_, i_16_, i_17_, (class42.anIntArray572[((class42.aByteArray564[i_13_]) & 0xff)]), 1, var_aa, i_6_, i, class42.anInt584, class42.anInt575, (class42.anInt601)); - } - int i_21_ = is[-2 + is.length]; - int i_22_ = is[-1 + is.length]; - int i_23_ = is[0]; - int i_24_ = is[1]; - if (i_23_ < i_21_) { - int i_25_ = i_21_; - i_21_ = i_23_; - int i_26_ = i_22_; - i_22_ = i_24_; - i_23_ = i_25_; - i_24_ = i_26_; - } else if (i_21_ == i_23_ && i_22_ > i_24_) { - int i_27_ = i_22_; - i_22_ = i_24_; - i_24_ = i_27_; - } - var_ha.method3703(i_21_, i_22_, i_23_, i_24_, (class42.anIntArray572[(class42.aByteArray564[((class42.aByteArray564).length - 1)]) & 0xff]), 1, var_aa, i_6_, i, class42.anInt584, class42.anInt575, class42.anInt601); - } else { - for (int i_28_ = 0; -1 + is.length / 2 > i_28_; i_28_++) - var_ha.method3636(is[i_28_ * 2], is[2 * i_28_ + 1], is[2 * (i_28_ - -1)], is[2 * i_28_ + 3], (class42.anIntArray572[((class42.aByteArray564[i_28_]) & 0xff)]), 1, var_aa, i_6_, i); - var_ha.method3636(is[is.length + -2], is[-1 + is.length], is[0], is[1], (class42.anIntArray572[(class42.aByteArray564[((class42.aByteArray564).length + -1)]) & 0xff]), 1, var_aa, i_6_, i); - } - } - Class105 class105 = null; - if (class42.anInt578 != -1) { - class105 = class42.method374(false, var_ha, (byte) 127); - if (class105 != null) Class151.method1211(i, class105, i_6_, class46, var_aa, i_8_, 2, i_5_); - } - if (class42.aString597 == null) break; - int i_29_ = 0; - if (class105 != null) i_29_ = class105.method969(); - Class324 class324 = Class240.aClass324_4684; - Class143 class143 = Class258_Sub1.aClass143_8527; - if (class42.anInt576 == 1) { - class324 = Applet_Sub1.aClass324_20; - class143 = Class246.aClass143_3179; - } - if (class42.anInt576 == 2) { - class143 = Class369.aClass143_4962; - class324 = Class262.aClass324_3326; - } - Class334.method2650(class143, class42.anInt580, var_aa, i_8_, i_6_, class42.aString597, i, class324, i_29_, class46, i_5_, 100); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ga.KA(" + (class46 != null ? "{...}" : "null") + ',' + i + ',' + (var_aa != null ? "{...}" : "null") + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ',' + (var_ha != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - abstract Class318_Sub4 method2386(int i, ha var_ha); - - abstract void method2387(ha var_ha, int i); - - abstract boolean method2388(int i); - - public static void method2389(int i) { - aClass114_6383 = null; - if (i != 1) aClass114_6383 = null; - } - - final int method2390(Class348_Sub1[] class348_sub1s, int i, int i_30_, int i_31_) { - anInt6384++; - if (i_30_ != -2) this.aByte6376 = (byte) 33; - long l = (Class348_Sub42_Sub8_Sub2.aLongArrayArrayArray10431[this.plane][i][i_31_]); - long l_32_ = 0L; - int i_33_ = 0; - for (/**/; l_32_ <= 48; l_32_ += 16L) { - int i_34_ = (int) (0xffffL & l >> (int) l_32_); - if (i_34_ <= 0) break; - class348_sub1s[i_33_++] = (Class239_Sub14.aClass211Array5993[i_34_ + -1].aClass348_Sub1_2745); - } - for (int i_35_ = i_33_; i_35_ < 4; i_35_++) - class348_sub1s[i_35_] = null; - return i_33_; - } - - abstract boolean method2391(ha var_ha, int i, int i_36_, int i_37_); - - abstract void method2392(boolean bool); - - public Class318_Sub1() { - /* empty */ - } - - int method2393(int i) { - if (i >= -109) method2385(null, 23, null, -94, -53, 18, (byte) -3, 35, null); - anInt6378++; - return 0; - } - - abstract int method2394(boolean bool); -} diff --git a/client/src/Class318_Sub10.java b/client/src/Class318_Sub10.java deleted file mode 100644 index 7fd7651e9..000000000 --- a/client/src/Class318_Sub10.java +++ /dev/null @@ -1,223 +0,0 @@ -/* Class318_Sub10 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class318_Sub10 extends Class318 { - boolean aBoolean6470; - private long aLong6471; - private long aLong6472; - private boolean aBoolean6473 = false; - private static boolean[] aBooleanArray6474 = new boolean[32]; - Class318_Sub9_Sub2_Sub1[] aClass318_Sub9_Sub2_Sub1Array6475; - int anInt6476 = 0; - private static boolean[] aBooleanArray6477 = new boolean[8]; - private Class243 aClass243_6478; - Class262 aClass262_6479; - private int anInt6480; - Class98 aClass98_6481; - boolean aBoolean6482; - int anInt6483; - private boolean aBoolean6484; - private int anInt6485; - - final Class98 method2525() { - return this.aClass98_6481; - } - - static final Class318_Sub10 method2526(int i, boolean bool) { - if (Class258_Sub3.anInt8550 != Class376.anInt4559) { - Class318_Sub10 class318_sub10 = Class348_Sub51.aClass318_Sub10Array7249[Class376.anInt4559]; - Class376.anInt4559 = Class376.anInt4559 + 1 & (Class348_Sub42_Sub9.anIntArray9558[Class348_Sub6.anInt6637]); - class318_sub10.method2531(i, bool); - return class318_sub10; - } - return new Class318_Sub10(i, bool); - } - - public static void method2527() { - aBooleanArray6474 = null; - aBooleanArray6477 = null; - } - - final void method2528(ha var_ha) { - this.aClass98_6481.aClass88_1569.method845((byte) 89); - for (Class318_Sub7 class318_sub7 = (Class318_Sub7) aClass243_6478.method1872(8); class318_sub7 != null; class318_sub7 = (Class318_Sub7) aClass243_6478.method1878((byte) 126)) - class318_sub7.method2511(true, var_ha, aLong6471); - } - - final void method2529() { - aBoolean6484 = true; - } - - final void method2530() { - this.aBoolean6470 = true; - for (Class348_Sub42_Sub20 class348_sub42_sub20 = ((Class348_Sub42_Sub20) this.aClass262_6479.method1995(4)); class348_sub42_sub20 != null; class348_sub42_sub20 = (Class348_Sub42_Sub20) this.aClass262_6479.method1990((byte) 89)) { - if (class348_sub42_sub20.aClass174_9704.anInt2296 == 1) class348_sub42_sub20.method3162(true); - } - for (int i = 0; i < (this.aClass318_Sub9_Sub2_Sub1Array6475).length; i++) { - if (this.aClass318_Sub9_Sub2_Sub1Array6475[i] != null) { - this.aClass318_Sub9_Sub2_Sub1Array6475[i].method2520(); - this.aClass318_Sub9_Sub2_Sub1Array6475[i] = null; - } - } - this.anInt6476 = 0; - aClass243_6478 = new Class243(); - anInt6480 = 0; - this.aClass262_6479 = new Class262(); - anInt6485 = 0; - this.method2373(false); - Class348_Sub51.aClass318_Sub10Array7249[Class258_Sub3.anInt8550] = this; - Class258_Sub3.anInt8550 = (Class258_Sub3.anInt8550 + 1 & Class348_Sub42_Sub9.anIntArray9558[Class348_Sub6.anInt6637]); - } - - private final void method2531(int i, boolean bool) { - Class152.aClass243_2077.method1869(-88, this); - aLong6472 = i; - aLong6471 = i; - aBoolean6484 = true; - this.aBoolean6482 = bool; - } - - private final void method2532(ha var_ha, Class129[] class129s, boolean bool) { - for (int i = 0; i < 32; i++) - aBooleanArray6474[i] = false; - while_110_: - for (Class318_Sub7 class318_sub7 = (Class318_Sub7) aClass243_6478.method1872(8); class318_sub7 != null; class318_sub7 = (Class318_Sub7) aClass243_6478.method1878((byte) -28)) { - if (class129s != null) { - for (int i = 0; i < class129s.length; i++) { - if ((class318_sub7.aClass129_6436 == class129s[i]) || (class318_sub7.aClass129_6436 == class129s[i].aClass129_1888)) { - aBooleanArray6474[i] = true; - class318_sub7.method2507(true); - class318_sub7.aBoolean6446 = false; - continue while_110_; - } - } - } - if (!bool) { - if (class318_sub7.anInt6447 == 0) { - class318_sub7.method2373(false); - anInt6480--; - } else class318_sub7.aBoolean6446 = true; - } - } - if (class129s != null) { - for (int i = 0; i < class129s.length; i++) { - if (i == 32 || anInt6480 == 32) break; - if (!aBooleanArray6474[i]) { - Class318_Sub7 class318_sub7 = new Class318_Sub7(var_ha, class129s[i], this, aLong6472); - aClass243_6478.method1869(-126, class318_sub7); - anInt6480++; - aBooleanArray6474[i] = true; - } - } - } - } - - final void method2533(int i, int i_0_, int i_1_, int i_2_, int i_3_) { - this.anInt6483 = i; - } - - final void method2534() { - aBoolean6473 = true; - } - - final boolean method2535(ha var_ha, long l) { - if (aLong6472 != aLong6471) method2534(); - else method2537(); - if (l - aLong6472 > 750L) { - method2530(); - return false; - } - int i = (int) (l - aLong6471); - if (aBoolean6484) { - for (Class318_Sub7 class318_sub7 = (Class318_Sub7) aClass243_6478.method1872(8); class318_sub7 != null; class318_sub7 = (Class318_Sub7) aClass243_6478.method1878((byte) 122)) { - for (int i_4_ = 0; i_4_ < class318_sub7.aClass181_6441.anInt2422; i_4_++) - class318_sub7.method2513(var_ha, 1, l, 3, !aBoolean6473); - } - aBoolean6484 = false; - } - for (Class318_Sub7 class318_sub7 = (Class318_Sub7) aClass243_6478.method1872(8); class318_sub7 != null; class318_sub7 = (Class318_Sub7) aClass243_6478.method1878((byte) -72)) - class318_sub7.method2513(var_ha, i, l, 3, !aBoolean6473); - aLong6471 = l; - return true; - } - - final void method2536(ha var_ha, long l, Class129[] class129s, Class342[] class342s, boolean bool) { - if (!this.aBoolean6470) { - method2532(var_ha, class129s, bool); - method2538(class342s, bool); - aLong6472 = l; - } - } - - private final void method2537() { - aBoolean6473 = false; - } - - private final void method2538(Class342[] class342s, boolean bool) { - for (int i = 0; i < 8; i++) - aBooleanArray6477[i] = false; - while_112_: - for (Class348_Sub42_Sub20 class348_sub42_sub20 = ((Class348_Sub42_Sub20) this.aClass262_6479.method1995(4)); class348_sub42_sub20 != null; class348_sub42_sub20 = (Class348_Sub42_Sub20) this.aClass262_6479.method1990((byte) 85)) { - if (class342s != null) { - for (int i = 0; i < class342s.length; i++) { - if ((class348_sub42_sub20.aClass342_9702) == class342s[i] || ((class348_sub42_sub20.aClass342_9702) == class342s[i].aClass342_4248)) { - aBooleanArray6477[i] = true; - class348_sub42_sub20.method3279(2); - continue while_112_; - } - } - } - if (!bool) { - class348_sub42_sub20.method2715((byte) 108); - anInt6485--; - if (class348_sub42_sub20.method3164((byte) 1)) { - class348_sub42_sub20.method3162(true); - Class318_Sub7.anInt6450--; - } - } - } - if (class342s != null) { - for (int i = 0; i < class342s.length; i++) { - if (i == 8 || anInt6485 == 8) break; - if (!aBooleanArray6477[i]) { - Class348_Sub42_Sub20 class348_sub42_sub20 = null; - if ((class342s[i].method2685((byte) -13).anInt2296) == 1 && Class318_Sub7.anInt6450 < 32) { - class348_sub42_sub20 = new Class348_Sub42_Sub20(class342s[i], this); - Class367_Sub11.aClass32_7415.method335(class348_sub42_sub20, -8098, class342s[i].anInt4245); - Class318_Sub7.anInt6450++; - } - if (class348_sub42_sub20 == null) class348_sub42_sub20 = new Class348_Sub42_Sub20(class342s[i], this); - this.aClass262_6479.method1999(class348_sub42_sub20, -20180); - anInt6485++; - aBooleanArray6477[i] = true; - } - } - } - } - - final Class98 method2539() { - this.aClass98_6481.aClass88_1569.method845((byte) 43); - for (int i = 0; i < (this.aClass318_Sub9_Sub2_Sub1Array6475).length; i++) { - if ((this.aClass318_Sub9_Sub2_Sub1Array6475[i] != null) && this.aClass318_Sub9_Sub2_Sub1Array6475[i].aClass318_Sub7_10419 != null) this.aClass98_6481.aClass88_1569.method844((this.aClass318_Sub9_Sub2_Sub1Array6475[i]), true); - } - return this.aClass98_6481; - } - - final void method2540(long l) { - aLong6472 = l; - } - - private Class318_Sub10(int i, boolean bool) { - this.aBoolean6470 = false; - aClass243_6478 = new Class243(); - anInt6480 = 0; - this.aClass262_6479 = new Class262(); - this.aBoolean6482 = false; - anInt6485 = 0; - aBoolean6484 = false; - this.aClass98_6481 = new Class98(); - this.aClass318_Sub9_Sub2_Sub1Array6475 = new Class318_Sub9_Sub2_Sub1[8192]; - method2531(i, bool); - } -} diff --git a/client/src/Class318_Sub1_Sub1.java b/client/src/Class318_Sub1_Sub1.java deleted file mode 100644 index 0d3f63f5c..000000000 --- a/client/src/Class318_Sub1_Sub1.java +++ /dev/null @@ -1,62 +0,0 @@ -/* Class318_Sub1_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class318_Sub1_Sub1 extends Class318_Sub1 { - static int anInt8721; - static int anInt8722; - static int anInt8723; - static Class351 aClass351_8724 = new Class351(50, -1); - static float aFloat8725; - static int anInt8726; - short aShort8727; - static long aLong8728; - - final boolean method2382(byte i) { - if (i > -51) aClass351_8724 = null; - anInt8723++; - return aa_Sub2.method164(this.aByte6376, (this.x >> Class362.anInt4459), (byte) -97, (this.y >> Class362.anInt4459)); - } - - final int method2384(Class348_Sub1[] class348_sub1s, int i) { - anInt8722++; - int i_0_ = 88 % ((i - -14) / 61); - return this.method2390(class348_sub1s, (this.x >> Class362.anInt4459), -2, (this.y >> Class362.anInt4459)); - } - - public static void method2395(byte i) { - aClass351_8724 = null; - if (i != 50) method2395((byte) 65); - } - - static final void method2396(int i, int i_1_, int i_2_, int i_3_) { - i <<= i_3_; - anInt8726++; - i_1_ <<= 3; - i_2_ <<= 3; - if (Class348_Sub40_Sub21.anInt9282 == 2) { - Class5.anInt4638 = i_1_; - Class338.anInt4186 = i_2_; - Class348_Sub42_Sub19.anInt9701 = i; - } - Class314.aFloat3938 = (float) i_1_; - Class76.aFloat1287 = (float) i; - Class239_Sub2.method1725(262144); - Class369_Sub3_Sub1.aBoolean10174 = true; - } - - Class318_Sub1_Sub1(int i, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_) { - this.aByte6376 = (byte) i_7_; - this.x = i; - this.y = i_5_; - this.aShort8727 = (short) i_8_; - this.anInt6382 = i_4_; - this.plane = (byte) i_6_; - } - - final boolean method2378(int i) { - if (i != 0) aClass351_8724 = null; - anInt8721++; - return (Class99.aBooleanArrayArray1572[(Class318_Sub1_Sub4_Sub1.anInt10084 + -Class239_Sub25.anInt6111 + (this.x >> Class362.anInt4459))][((this.y >> Class362.anInt4459) + -Class285_Sub2.anInt8502 + Class318_Sub1_Sub4_Sub1.anInt10084)]); - } -} diff --git a/client/src/Class318_Sub1_Sub1_Sub1.java b/client/src/Class318_Sub1_Sub1_Sub1.java deleted file mode 100644 index c0a506c50..000000000 --- a/client/src/Class318_Sub1_Sub1_Sub1.java +++ /dev/null @@ -1,208 +0,0 @@ -/* Class318_Sub1_Sub1_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class318_Sub1_Sub1_Sub1 extends Class318_Sub1_Sub1 implements Interface10 { - static int anInt9943; - static int anInt9944; - private boolean aBoolean9945 = false; - static int anInt9946; - static int anInt9947; - static int anInt9948; - static int[] anIntArray9949 = new int[1]; - private Class30 aClass30_9950; - static int anInt9951; - static int anInt9952; - static int anInt9953; - static int anInt9954; - Class235 aClass235_9955; - static int anInt9956; - static int anInt9957; - static int anInt9958; - static Class105[] aClass105Array9959; - static int anInt9960; - static int anInt9961; - static int anInt9962; - static int anInt9963; - static int anInt9964; - static int anInt9965; - private boolean aBoolean9966; - static int anInt9967; - static int anInt9968; - - public final int method42(int i) { - anInt9943++; - if (i > -62) aClass30_9950 = null; - return (this.aClass235_9955.anInt3063); - } - - final void method2387(ha var_ha, int i) { - if (i > -125) method2399(null, -65); - anInt9962++; - Class64 class64 = this.aClass235_9955.method1668(true, true, -128, 262144, var_ha); - if (class64 != null) { - int i_0_ = this.x >> 9; - int i_1_ = this.y >> 9; - Class101 class101 = var_ha.method3705(); - class101.method894(this.x, this.anInt6382, this.y); - this.aClass235_9955.method1670(i_0_, class101, i_1_, var_ha, i_0_, class64, false, (byte) -73, i_1_); - } - } - - final int method2394(boolean bool) { - if (bool != true) return -82; - anInt9963++; - return this.aClass235_9955.method1663(109); - } - - public final void method40(int i) { - if (i != -12031) method2399(null, -125); - anInt9954++; - } - - public final int method41(int i) { - anInt9957++; - if (i != -32228) return -36; - return (this.aClass235_9955.anInt3052); - } - - static final boolean method2397(byte i) { - Class135_Sub1.anInt4718++; - Class239_Sub29.aBoolean6147 = true; - if (i > -123) anIntArray9949 = null; - anInt9967++; - return true; - } - - public static void method2398(byte i) { - if (i != -83) anIntArray9949 = null; - aClass105Array9959 = null; - anIntArray9949 = null; - } - - final Class318_Sub4 method2386(int i, ha var_ha) { - anInt9968++; - Class64 class64 = this.aClass235_9955.method1668(false, true, -128, 2048, var_ha); - if (class64 == null) return null; - Class101 class101 = var_ha.method3705(); - class101.method894(this.x, this.anInt6382, this.y); - Class318_Sub4 class318_sub4 = OutputStream_Sub2.method136(i, aBoolean9966, false); - int i_2_ = this.x >> 9; - int i_3_ = this.y >> 9; - this.aClass235_9955.method1670(i_2_, class101, i_3_, var_ha, i_2_, class64, true, (byte) -73, i_3_); - if (!Class305.aBoolean3870) class64.method615(class101, (class318_sub4.aClass318_Sub3Array6414[0]), 0); - else class64.method608(class101, (class318_sub4.aClass318_Sub3Array6414[0]), Class132.anInt1906, 0); - if ((this.aClass235_9955.aClass318_Sub10_3081) != null) { - Class98 class98 = this.aClass235_9955.aClass318_Sub10_3081.method2525(); - if (Class305.aBoolean3870) var_ha.method3685(class98, Class132.anInt1906); - else var_ha.method3684(class98); - } - aBoolean9945 = (class64.F() || (this.aClass235_9955.aClass318_Sub10_3081) != null); - if (aClass30_9950 != null) Class255.method1935(this.y, this.anInt6382, aClass30_9950, class64, false, this.x); - else aClass30_9950 = (Class348_Sub23_Sub1.method2967(this.x, class64, this.y, this.anInt6382, 2)); - return class318_sub4; - } - - final void method2380(ha var_ha, int i, boolean bool, Class318_Sub1 class318_sub1, int i_4_, byte i_5_, int i_6_) { - try { - anInt9946++; - if (i_5_ > -106) this.aClass235_9955 = null; - throw new IllegalStateException(); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("saa.N(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class318_sub1 != null ? "{...}" : "null") + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ')')); - } - } - - Class318_Sub1_Sub1_Sub1(ha var_ha, Class51 class51, int i, int i_7_, int i_8_, int i_9_, int i_10_, boolean bool, int i_11_, int i_12_) { - super(i_8_, i_9_, i_10_, i, i_7_, class51.anInt930); - try { - this.aClass235_9955 = new Class235(var_ha, class51, 22, i_11_, i, i_7_, this, bool, i_12_); - aBoolean9966 = class51.anInt874 != 0 && !bool; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("saa.(" + (var_ha != null ? "{...}" : "null") + ',' + (class51 != null ? "{...}" : "null") + ',' + i + ',' + i_7_ + ',' + i_8_ + ',' + i_9_ + ',' + i_10_ + ',' + bool + ',' + i_11_ + ',' + i_12_ + ')')); - } - } - - final boolean method2377(byte i) { - anInt9964++; - if (i != 122) this.aClass235_9955 = null; - return aBoolean9945; - } - - final int method2379(int i) { - if (i != -25675) aClass105Array9959 = null; - anInt9965++; - return this.aClass235_9955.method1664(i ^ 0x647d); - } - - final void method2392(boolean bool) { - if (bool != true) this.aClass235_9955 = null; - anInt9953++; - throw new IllegalStateException(); - } - - final boolean method2391(ha var_ha, int i, int i_13_, int i_14_) { - anInt9952++; - Class64 class64 = this.aClass235_9955.method1668(false, false, -128, 131072, var_ha); - if (class64 == null) return false; - Class101 class101 = var_ha.method3705(); - if (i_14_ != 0) return true; - class101.method894(this.x, this.anInt6382, this.y); - if (Class305.aBoolean3870) return class64.method623(i_13_, i, class101, false, 0, Class132.anInt1906); - return class64.method628(i_13_, i, class101, false, 0); - } - - static final void method2399(String string, int i) { - int i_15_ = 87 / ((i - -7) / 56); - anInt9958++; - if (!string.equals("")) { - Class88.anInt1498++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class318_Sub1_Sub1.aClass351_8724, Class348_Sub23_Sub2.aClass77_9029, -124); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, Class239_Sub6.method1745(string, -65)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); - Class348_Sub42_Sub14.method3243(121, class348_sub47); - } - } - - final Class30 method2381(ha var_ha, int i) { - if (i != 7) return null; - anInt9960++; - return aClass30_9950; - } - - final boolean method2388(int i) { - anInt9944++; - return i >= -65; - } - - public final boolean method38(int i) { - anInt9948++; - if (i != -18443) method2381(null, -3); - return this.aClass235_9955.method1665(2); - } - - public final void method43(ha var_ha, int i) { - if (i == -14218) { - this.aClass235_9955.method1674(-1, var_ha); - anInt9951++; - } - } - - final boolean method2376(int i) { - anInt9956++; - if (i >= -12) aClass30_9950 = null; - return false; - } - - public final int method39(int i) { - int i_16_ = 7 / ((-91 - i) / 35); - anInt9947++; - return (this.aClass235_9955.anInt3079); - } - - public final void method44(int i, ha var_ha) { - if (i != 836) aBoolean9966 = true; - this.aClass235_9955.method1667((byte) 116, var_ha); - anInt9961++; - } -} diff --git a/client/src/Class318_Sub1_Sub1_Sub2.java b/client/src/Class318_Sub1_Sub1_Sub2.java deleted file mode 100644 index a143ad49d..000000000 --- a/client/src/Class318_Sub1_Sub1_Sub2.java +++ /dev/null @@ -1,280 +0,0 @@ -/* Class318_Sub1_Sub1_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class318_Sub1_Sub1_Sub2 extends Class318_Sub1_Sub1 implements Interface10 { - static int anInt9969; - static int anInt9970; - static int anInt9971 = 0; - static int anInt9972; - static int anInt9973; - private final boolean aBoolean9974; - static int anInt9975; - private r aR9976; - static int anInt9977; - static int anInt9978; - static int anInt9979; - private final byte aByte9980; - static int[] anIntArray9981 = new int[5]; - static int anInt9982; - private boolean aBoolean9983; - static int anInt9984; - static int anInt9985; - static int anInt9986; - static int anInt9987; - private final boolean aBoolean9988; - private boolean aBoolean9989; - static int anInt9990; - private short aShort9991; - static int anInt9992; - private Class64 aClass64_9993; - static int anInt9994; - static int anInt9995; - static int anInt9996; - static int anInt9997 = 1; - static int anInt9998; - private Class30 aClass30_9999; - static int anInt10000; - static int anInt10001; - static int anInt10002; - - public static void method2400(byte i) { - if (i != 3) anIntArray9981 = null; - anIntArray9981 = null; - } - - final void method2380(ha var_ha, int i, boolean bool, Class318_Sub1 class318_sub1, int i_0_, byte i_1_, int i_2_) { - do { - try { - anInt9970++; - if (i_1_ > -106) method2402(-5, (byte) 56); - if (!(class318_sub1 instanceof Class318_Sub1_Sub1_Sub2)) break; - Class318_Sub1_Sub1_Sub2 class318_sub1_sub1_sub2_3_ = (Class318_Sub1_Sub1_Sub2) class318_sub1; - if (aClass64_9993 == null || class318_sub1_sub1_sub2_3_.aClass64_9993 == null) break; - aClass64_9993.method613((class318_sub1_sub1_sub2_3_.aClass64_9993), i_2_, i, i_0_, bool); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("uo.N(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class318_sub1 != null ? "{...}" : "null") + ',' + i_0_ + ',' + i_1_ + ',' + i_2_ + ')')); - } - break; - } while (false); - } - - final int method2379(int i) { - anInt10000++; - if (i != -25675) return -120; - if (aClass64_9993 == null) return 0; - return aClass64_9993.ma(); - } - - public final void method43(ha var_ha, int i) { - anInt9995++; - if (i != -14218) method2404(null, -47, 49); - Object object = null; - r var_r; - if (aR9976 == null && aBoolean9988) { - Class2 class2 = method2401(var_ha, 262144, true, 22); - var_r = class2 == null ? null : class2.aR118; - } else { - var_r = aR9976; - aR9976 = null; - } - if (var_r != null) Class169.method1301(var_r, this.aByte6376, this.x, this.y, null); - } - - private final Class2 method2401(ha var_ha, int i, boolean bool, int i_4_) { - anInt9985++; - if (i_4_ != 22) method2404(null, -21, -25); - Class51 class51 = Class348_Sub40_Sub12.aClass263_9195.method2005(0, aShort9991 & 0xffff); - s var_s; - s var_s_5_; - if (aBoolean9983) { - var_s = Class332.aSArray4142[this.aByte6376]; - var_s_5_ = Class348_Sub1_Sub1.aSArray8801[0]; - } else { - var_s = (Class348_Sub1_Sub1.aSArray8801[this.aByte6376]); - if (this.aByte6376 < 3) var_s_5_ = (Class348_Sub1_Sub1.aSArray8801[1 + this.aByte6376]); - else var_s_5_ = null; - } - return class51.method476(var_ha, var_s_5_, 22, i, this.x, bool, var_s, this.anInt6382, this.y, aByte9980, 128); - } - - static final boolean method2402(int i, byte i_6_) { - anInt9994++; - if (i_6_ >= -52) return true; - return i == 4 || i == 8 || i == 11; - } - - final void method2392(boolean bool) { - anInt9972++; - if (bool == true) { - aBoolean9989 = false; - if (aClass64_9993 != null) aClass64_9993.s(~0x10000 & aClass64_9993.ua()); - } - } - - public final int method42(int i) { - anInt9969++; - if (i >= -62) return -1; - return aShort9991 & 0xffff; - } - - final Class318_Sub4 method2386(int i, ha var_ha) { - anInt9990++; - if (aClass64_9993 == null) return null; - Class101 class101 = var_ha.method3705(); - class101.method894(this.x, this.anInt6382, this.y); - Class318_Sub4 class318_sub4 = OutputStream_Sub2.method136(i, aBoolean9974, false); - if (Class305.aBoolean3870) aClass64_9993.method608(class101, (class318_sub4.aClass318_Sub3Array6414[0]), Class132.anInt1906, 0); - else aClass64_9993.method615(class101, (class318_sub4.aClass318_Sub3Array6414[0]), 0); - return class318_sub4; - } - - public final boolean method38(int i) { - if (i != -18443) aClass30_9999 = null; - anInt10002++; - return aBoolean9988; - } - - final boolean method2388(int i) { - if (i > -65) return true; - anInt9978++; - return aBoolean9989; - } - - final boolean method2376(int i) { - if (i >= -12) method2392(true); - anInt9975++; - if (aClass64_9993 != null) { - return !aClass64_9993.r(); - } - return true; - } - - final int method2394(boolean bool) { - anInt9979++; - if (bool != true) method38(-4); - if (aClass64_9993 != null) return aClass64_9993.fa(); - return 0; - } - - public final int method41(int i) { - anInt10001++; - if (i != -32228) method2394(false); - return aByte9980; - } - - static final void method2403(int i, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_, int i_12_) { - anInt9977++; - if (i_10_ != 19206) method2402(-3, (byte) 46); - Class302[] class302s = Class348_Sub27.aClass302Array6897; - for (int i_13_ = 0; i_13_ < class302s.length; i_13_++) { - Class302 class302 = class302s[i_13_]; - if (class302 != null && class302.anInt3840 == 2) { - Class318_Sub5.method2505(i_9_ >> 1, 2 * class302.anInt3839, 0, i_12_, i_11_ >> 1, class302.anInt3838, class302.anInt3832, i_7_, class302.anInt3835); - if (Class239_Sub21.anIntArray6062[0] > -1 && Class367_Sub11.anInt7396 % 20 < 10) { - Class105 class105 = (Class239_Sub9.aClass105Array5933[class302.anInt3831]); - int i_14_ = -12 + (i - -Class239_Sub21.anIntArray6062[0]); - int i_15_ = i_8_ - -Class239_Sub21.anIntArray6062[1] - 28; - class105.method974(i_14_, i_15_); - Class338.method2663(-5590, i_14_, i_14_ - -class105.method966(), i_15_, class105.method980() + i_15_); - } - } - } - } - - public final void method40(int i) { - if (i == -12031) { - anInt9982++; - if (aClass64_9993 != null) aClass64_9993.method612(); - } - } - - final boolean method2377(byte i) { - if (i != 122) method40(3); - anInt9973++; - if (aClass64_9993 == null) return false; - return aClass64_9993.F(); - } - - public final void method44(int i, ha var_ha) { - anInt9986++; - Object object = null; - r var_r; - if (aR9976 != null || !aBoolean9988) { - var_r = aR9976; - aR9976 = null; - } else { - Class2 class2 = method2401(var_ha, 262144, true, 22); - var_r = class2 == null ? null : class2.aR118; - } - if (var_r != null) Class130.method1130(var_r, this.aByte6376, this.x, this.y, null); - if (i != 836) aShort9991 = (short) 86; - } - - final boolean method2391(ha var_ha, int i, int i_16_, int i_17_) { - if (i_17_ != 0) anInt9997 = -51; - anInt9996++; - Class64 class64 = method2404(var_ha, 69, 131072); - if (class64 != null) { - Class101 class101 = var_ha.method3705(); - class101.method894(this.x, this.anInt6382, this.y); - if (Class305.aBoolean3870) return class64.method623(i_16_, i, class101, false, 0, Class132.anInt1906); - return class64.method628(i_16_, i, class101, false, 0); - } - return false; - } - - private final Class64 method2404(ha var_ha, int i, int i_18_) { - anInt9984++; - int i_19_ = 65 / ((-34 - i) / 53); - if (aClass64_9993 != null && var_ha.method3667(aClass64_9993.ua(), i_18_) == 0) return aClass64_9993; - Class2 class2 = method2401(var_ha, i_18_, false, 22); - if (class2 != null) return class2.aClass64_119; - return null; - } - - Class318_Sub1_Sub1_Sub2(ha var_ha, Class51 class51, int i, int i_20_, int i_21_, int i_22_, int i_23_, boolean bool, int i_24_, boolean bool_25_) { - super(i_21_, i_22_, i_23_, i, i_20_, class51.anInt930); - do { - try { - aBoolean9983 = bool; - aBoolean9974 = (class51.anInt874 != 0 && !bool); - this.y = i_23_; - aBoolean9989 = bool_25_; - this.x = i_21_; - aByte9980 = (byte) i_24_; - aShort9991 = (short) class51.anInt941; - aBoolean9988 = (var_ha.method3682() && class51.aBoolean894 && !aBoolean9983 && Class316.aClass348_Sub51_3959.aClass239_Sub7_7238.method1748(-32350) != 0); - int i_26_ = 2048; - if (aBoolean9989) i_26_ |= 0x10000; - Class2 class2 = method2401(var_ha, i_26_, aBoolean9988, 22); - if (class2 == null) break; - aClass64_9993 = class2.aClass64_119; - aR9976 = class2.aR118; - if (!aBoolean9989) break; - aClass64_9993 = aClass64_9993.method614((byte) 0, i_26_, false); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("uo.(" + (var_ha != null ? "{...}" : "null") + ',' + (class51 != null ? "{...}" : "null") + ',' + i + ',' + i_20_ + ',' + i_21_ + ',' + i_22_ + ',' + i_23_ + ',' + bool + ',' + i_24_ + ',' + bool_25_ + ')')); - } - break; - } while (false); - } - - final Class30 method2381(ha var_ha, int i) { - if (aClass30_9999 == null) aClass30_9999 = (Class348_Sub23_Sub1.method2967(this.x, method2404(var_ha, 86, 0), this.y, this.anInt6382, i ^ 0x5)); - if (i != 7) return null; - anInt9998++; - return aClass30_9999; - } - - final void method2387(ha var_ha, int i) { - if (i >= -125) aBoolean9983 = false; - anInt9987++; - } - - public final int method39(int i) { - int i_27_ = -125 % ((i - -91) / 35); - anInt9992++; - return 22; - } -} diff --git a/client/src/Class318_Sub1_Sub2.java b/client/src/Class318_Sub1_Sub2.java deleted file mode 100644 index 7a7d85843..000000000 --- a/client/src/Class318_Sub1_Sub2.java +++ /dev/null @@ -1,100 +0,0 @@ -/* Class318_Sub1_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class318_Sub1_Sub2 extends Class318_Sub1 { - static int anInt8729; - static int anInt8730; - static int anInt8731; - static Class60 aClass60_8732 = new Class60(64); - static int anInt8733; - static int anInt8734; - static int anInt8735; - static int anInt8736; - static Class70 aClass70_8737 = new Class70(); - static int anInt8738; - - static final void method2405(int i) { - anInt8729++; - Class234 class234 = null; - try { - class234 = Class297.method2231("2", -1141472112); - Class348_Sub49 class348_sub49 = new Class348_Sub49(3 + 6 * Class335.anInt4168); - class348_sub49.writeByte(false, 1); - class348_sub49.writeShort((byte) 107, Class335.anInt4168); - int i_0_ = -4 % ((-12 - i) / 38); - for (int i_1_ = 0; (i_1_ < Class77.anIntArray1303.length); i_1_++) { - if (Class286_Sub6.aBooleanArray6270[i_1_]) { - class348_sub49.writeShort((byte) 107, i_1_); - class348_sub49.writeInt((byte) 124, Class77.anIntArray1303[i_1_]); - } - } - class234.method1658((byte) 117, 0, class348_sub49.anInt7197, (class348_sub49.aByteArray7154)); - } catch (Exception exception) { - /* empty */ - } - try { - if (class234 != null) class234.method1657(false); - } catch (Exception exception) { - /* empty */ - } - Class34.aLong482 = Class62.method599(-117); - Class184.aBoolean2469 = false; - } - - final boolean method2382(byte i) { - if (i > -51) return false; - anInt8733++; - Class148 class148 = Class195.method1449(this.plane, (this.x >> Class362.anInt4459), (this.y >> Class362.anInt4459)); - if (class148 == null || !class148.aClass318_Sub1_Sub3_2040.aBoolean8741) return aa_Sub2.method164(this.plane, (this.x >> Class362.anInt4459), (byte) -97, (this.y >> Class362.anInt4459)); - return (Class125.method1110(this.y >> Class362.anInt4459, class148.aClass318_Sub1_Sub3_2040.method2394(true) + this.method2394(true), this.plane, (byte) -79, this.x >> Class362.anInt4459)); - } - - final boolean method2378(int i) { - if (i != 0) method2406(79); - anInt8734++; - return (Class99.aBooleanArrayArray1572[(Class318_Sub1_Sub4_Sub1.anInt10084 + -Class239_Sub25.anInt6111 + (this.x >> Class362.anInt4459))][(Class318_Sub1_Sub4_Sub1.anInt10084 + (-Class285_Sub2.anInt8502 + (this.y >> Class362.anInt4459)))]); - } - - final void method2392(boolean bool) { - if (bool != true) anInt8731 = 119; - anInt8730++; - throw new IllegalStateException(); - } - - public static void method2406(int i) { - if (i > -126) anInt8731 = 118; - aClass60_8732 = null; - aClass70_8737 = null; - } - - final int method2384(Class348_Sub1[] class348_sub1s, int i) { - anInt8735++; - int i_2_ = -79 % ((-14 - i) / 61); - return this.method2390(class348_sub1s, (this.x >> Class362.anInt4459), -2, (this.y >> Class362.anInt4459)); - } - - final boolean method2388(int i) { - if (i > -65) anInt8731 = -84; - anInt8738++; - return false; - } - - final void method2380(ha var_ha, int i, boolean bool, Class318_Sub1 class318_sub1, int i_3_, byte i_4_, int i_5_) { - try { - if (i_4_ > -106) method2405(-8); - anInt8736++; - throw new IllegalStateException(); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("fha.N(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class318_sub1 != null ? "{...}" : "null") + ',' + i_3_ + ',' + i_4_ + ',' + i_5_ + ')')); - } - } - - Class318_Sub1_Sub2(int i, int i_6_, int i_7_, int i_8_, int i_9_) { - this.x = i; - this.plane = (byte) i_8_; - this.anInt6382 = i_6_; - this.aByte6376 = (byte) i_9_; - this.y = i_7_; - } -} diff --git a/client/src/Class318_Sub1_Sub2_Sub1.java b/client/src/Class318_Sub1_Sub2_Sub1.java deleted file mode 100644 index 694e14157..000000000 --- a/client/src/Class318_Sub1_Sub2_Sub1.java +++ /dev/null @@ -1,196 +0,0 @@ -/* Class318_Sub1_Sub2_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class318_Sub1_Sub2_Sub1 extends Class318_Sub1_Sub2 { - static int anInt10179; - int anInt10180 = -1; - int anInt10181; - static int anInt10182; - static int anInt10183; - private int anInt10184 = 0; - int anInt10185; - int anInt10186; - static int anInt10187; - static int anInt10188; - int anInt10189; - int anInt10190; - private boolean aBoolean10191 = false; - static int anInt10192; - static int anInt10193; - static Class138 aClass138_10194; - static String[] aStringArray10195 = new String[8]; - int anInt10196; - static int anInt10197; - static int anInt10198; - static float aFloat10199; - - final int method2393(int i) { - anInt10197++; - if (i > -109) aStringArray10195 = null; - Class213 class213 = (Exception_Sub1.aClass255_112.method1940(-115, this.anInt10181)); - int i_0_ = class213.anInt2784; - if (this.anInt10189 != -1) { - Class213 class213_1_ = (Exception_Sub1.aClass255_112.method1940(74, this.anInt10189)); - if (class213_1_.anInt2784 > i_0_) i_0_ = class213_1_.anInt2784; - } - if (this.anInt10180 != -1) { - Class213 class213_2_ = (Exception_Sub1.aClass255_112.method1940(-88, this.anInt10180)); - if (i_0_ < class213_2_.anInt2784) i_0_ = class213_2_.anInt2784; - } - return i_0_; - } - - final Class30 method2381(ha var_ha, int i) { - if (i != 7) method2386(-74, null); - anInt10182++; - return null; - } - - Class318_Sub1_Sub2_Sub1(int i, int i_3_, int i_4_, int i_5_, int i_6_) { - super(i, i_3_, i_4_, i_5_, i_6_); - this.anInt10189 = -1; - this.anInt10196 = 0; - } - - final int method2394(boolean bool) { - if (bool != true) this.anInt10196 = 68; - anInt10183++; - return -10; - } - - final void method2387(ha var_ha, int i) { - anInt10198++; - if (i > -125) this.anInt10196 = 71; - } - - final boolean method2391(ha var_ha, int i, int i_7_, int i_8_) { - anInt10188++; - Class101 class101 = var_ha.method3705(); - class101.method894(this.x, -10 + this.anInt6382, this.y); - Class213 class213 = (Exception_Sub1.aClass255_112.method1940(i_8_ ^ 0x6b, this.anInt10181)); - Class64 class64 = class213.method1559(null, null, var_ha, 131072, 0, this.anInt10185, 0, (byte) 88, -1); - if (class64 != null && (Class305.aBoolean3870 ? class64.method623(i_7_, i, class101, true, class213.anInt2784, Class132.anInt1906) : class64.method628(i_7_, i, class101, true, class213.anInt2784))) return true; - if ((~this.anInt10189) != i_8_) { - Class213 class213_9_ = (Exception_Sub1.aClass255_112.method1940(-88, this.anInt10189)); - class64 = class213_9_.method1559(null, null, var_ha, 131072, 0, (this.anInt10190), 0, (byte) 88, -1); - if (class64 != null && (Class305.aBoolean3870 ? class64.method623(i_7_, i, class101, true, class213_9_.anInt2784, Class132.anInt1906) : class64.method628(i_7_, i, class101, true, class213_9_.anInt2784))) return true; - } - if (this.anInt10180 != -1) { - Class213 class213_10_ = (Exception_Sub1.aClass255_112.method1940(-99, this.anInt10180)); - class64 = class213_10_.method1559(null, null, var_ha, 131072, 0, (this.anInt10186), 0, (byte) 88, -1); - return class64 != null && (!Class305.aBoolean3870 ? class64.method628(i_7_, i, class101, true, class213_10_.anInt2784) : class64.method623(i_7_, i, class101, true, class213_10_.anInt2784, Class132.anInt1906)); - } - return false; - } - - public static void method2407(boolean bool) { - aStringArray10195 = null; - aClass138_10194 = null; - if (bool != false) method2407(true); - } - - final Class318_Sub4 method2386(int i, ha var_ha) { - if (i != 1) method2386(60, null); - anInt10179++; - Class148 class148 = Class195.method1449(this.plane, (this.x >> Class362.anInt4459), (this.y >> Class362.anInt4459)); - if (class148 != null && class148.aClass318_Sub1_Sub3_2040.aBoolean8741) { - int i_11_ = class148.aClass318_Sub1_Sub3_2040.method2394(true); - if (this.anInt10196 != i_11_) { - this.anInt6382 -= this.anInt10196; - this.anInt10196 = i_11_; - this.anInt6382 += i_11_; - } - } - Class101 class101 = var_ha.method3705(); - class101.method910(); - if (class148 == null || !(class148.aClass318_Sub1_Sub3_2040.aBoolean8741)) { - boolean bool = false; - boolean bool_12_ = false; - boolean bool_13_ = false; - s var_s = aa_Sub1.aSArray5191[this.aByte6376]; - int i_14_ = anInt10184 << 1; - int i_15_ = i_14_; - int i_16_ = -i_14_ / 2; - int i_17_ = -i_15_ / 2; - int i_18_ = var_s.method3986(this.x + i_16_, this.y + i_17_, (byte) -102); - int i_19_ = i_14_ / 2; - int i_20_ = -i_15_ / 2; - int i_21_ = var_s.method3986(i_19_ + this.x, this.y - -i_20_, (byte) 94); - int i_22_ = -i_14_ / 2; - int i_23_ = i_15_ / 2; - int i_24_ = var_s.method3986(this.x + i_22_, i_23_ + this.y, (byte) -102); - int i_25_ = i_14_ / 2; - int i_26_ = i_15_ / 2; - int i_27_ = var_s.method3986(this.x + i_25_, this.y + i_26_, (byte) 5); - int i_28_ = Math.min(i_18_, i_21_); - int i_29_ = Math.min(i_24_, i_27_); - int i_30_ = Math.min(i_27_, i_21_); - if (i_15_ != 0) { - int i_31_ = ((int) (2607.5945876176133 * Math.atan2(i_28_ + -i_29_, i_15_)) & 0x3fff); - if (i_31_ != 0) class101.method900(i_31_); - } - int i_32_ = Math.min(i_24_, i_18_); - int i_33_ = i_18_ - -i_27_; - if (i_14_ != 0) { - int i_34_ = ((int) (2607.5945876176133 * Math.atan2(i_32_ - i_30_, i_14_)) & 0x3fff); - if (i_34_ != 0) class101.method908(-i_34_); - } - if (i_24_ + i_21_ < i_33_) i_33_ = i_24_ + i_21_; - i_33_ = (i_33_ >> 1) + -this.anInt6382; - if (i_33_ != 0) class101.method891(0, i_33_, 0); - } - class101.method891(this.x, -10 + this.anInt6382, this.y); - Class318_Sub4 class318_sub4 = OutputStream_Sub2.method136(3, true, false); - aBoolean10191 = false; - anInt10184 = 0; - if (this.anInt10180 != -1) { - Class64 class64 = (Exception_Sub1.aClass255_112.method1940(i ^ 0x6c, this.anInt10180).method1559(null, null, var_ha, 2048, 0, this.anInt10186, 0, (byte) 88, -1)); - if (class64 != null) { - if (Class305.aBoolean3870) class64.method608(class101, (class318_sub4.aClass318_Sub3Array6414[2]), Class132.anInt1906, 0); - else class64.method615(class101, (class318_sub4.aClass318_Sub3Array6414[2]), 0); - aBoolean10191 |= class64.F(); - anInt10184 = class64.ma(); - } - } - if (this.anInt10189 != -1) { - Class64 class64 = (Exception_Sub1.aClass255_112.method1940(i ^ ~0x3b, this.anInt10189).method1559(null, null, var_ha, 2048, 0, this.anInt10190, 0, (byte) 88, -1)); - if (class64 != null) { - if (!Class305.aBoolean3870) class64.method615(class101, (class318_sub4.aClass318_Sub3Array6414[1]), 0); - else class64.method608(class101, (class318_sub4.aClass318_Sub3Array6414[1]), Class132.anInt1906, 0); - aBoolean10191 |= class64.F(); - if (anInt10184 < class64.ma()) anInt10184 = class64.ma(); - } - } - Class64 class64 = (Exception_Sub1.aClass255_112.method1940(-48, this.anInt10181).method1559(null, null, var_ha, 2048, 0, this.anInt10185, 0, (byte) 88, -1)); - if (class64 != null) { - if (!Class305.aBoolean3870) class64.method615(class101, (class318_sub4.aClass318_Sub3Array6414[0]), 0); - else class64.method608(class101, (class318_sub4.aClass318_Sub3Array6414[0]), Class132.anInt1906, 0); - aBoolean10191 |= class64.F(); - if (anInt10184 < class64.ma()) anInt10184 = class64.ma(); - } - return class318_sub4; - } - - final int method2379(int i) { - anInt10193++; - if (i != -25675) aClass138_10194 = null; - return anInt10184; - } - - final boolean method2377(byte i) { - anInt10192++; - if (i != 122) method2394(true); - return aBoolean10191; - } - - final boolean method2376(int i) { - if (i >= -12) this.anInt10180 = -23; - anInt10187++; - return false; - } - - static { - aClass138_10194 = new Class138(13, 0, 1, 0); - } -} diff --git a/client/src/Class318_Sub1_Sub3.java b/client/src/Class318_Sub1_Sub3.java deleted file mode 100644 index bbdeb396c..000000000 --- a/client/src/Class318_Sub1_Sub3.java +++ /dev/null @@ -1,204 +0,0 @@ -/* Class318_Sub1_Sub3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class318_Sub1_Sub3 extends Class318_Sub1 { - static int anInt8739; - static int anInt8740; - boolean aBoolean8741; - static int anInt8742; - short aShort8743; - static Class262 aClass262_8744 = new Class262(); - byte aByte8745; - static int anInt8746; - short aShort8747; - static int anInt8748; - static int anInt8749; - short aShort8750; - short aShort8751; - static int anInt8752; - static int anInt8753; - static int anInt8754; - static Class45 aClass45_8755; - static Class114 aClass114_8756 = new Class114(107, 6); - - final boolean method2378(int i) { - anInt8740++; - if (i != 0) this.aShort8747 = (short) -75; - for (int i_0_ = this.aShort8743; i_0_ <= this.aShort8751; i_0_++) { - for (int i_1_ = this.aShort8750; (i_1_ <= this.aShort8747); i_1_++) { - int i_2_ = (-Class239_Sub25.anInt6111 + i_0_ + Class318_Sub1_Sub4_Sub1.anInt10084); - if (i_2_ >= 0 && (Class99.aBooleanArrayArray1572.length > i_2_)) { - int i_3_ = (Class318_Sub1_Sub4_Sub1.anInt10084 + (i_1_ - Class285_Sub2.anInt8502)); - if (i_3_ >= 0 && (Class99.aBooleanArrayArray1572.length > i_3_) && Class99.aBooleanArrayArray1572[i_2_][i_3_]) return true; - } - } - } - return false; - } - - final boolean method2382(byte i) { - anInt8748++; - if (i > -51) return true; - return Class318_Sub2.method2499(this.aByte6376, this.aShort8747, this.aShort8750, this.method2394(true), this.aShort8743, (byte) 116, (this.aShort8751)); - } - - static final int method2408(byte i) { - anInt8754++; - int i_4_ = -71 % ((-2 - i) / 44); - return Class348_Sub40_Sub31.anInt9411++; - } - - void method2409(byte i) { - if (i <= -109) anInt8746++; - } - - static final boolean method2410(byte i, int i_5_, int i_6_) { - anInt8752++; - if (i >= -21) return true; - if (!Class5_Sub1.aBoolean8335) return false; - int i_7_ = i_6_ >> 16; - int i_8_ = i_6_ & 0xffff; - if (Class348_Sub40_Sub33.aClass46ArrayArray9427[i_7_] == null || Class348_Sub40_Sub33.aClass46ArrayArray9427[i_7_][i_8_] == null) return false; - Class46 class46 = Class348_Sub40_Sub33.aClass46ArrayArray9427[i_7_][i_8_]; - if (i_5_ == -1 && class46.anInt774 == 0) { - for (Class348_Sub42_Sub12 class348_sub42_sub12 = ((Class348_Sub42_Sub12) Class348_Sub40_Sub4.aClass262_9111.method1995(4)); class348_sub42_sub12 != null; class348_sub42_sub12 = (Class348_Sub42_Sub12) Class348_Sub40_Sub4.aClass262_9111.method1990((byte) 56)) { - if (class348_sub42_sub12.anInt9608 == 6 || class348_sub42_sub12.anInt9608 == 1011 || (class348_sub42_sub12.anInt9608 == 13) || (class348_sub42_sub12.anInt9608 == 18) || (class348_sub42_sub12.anInt9608 == 16)) { - for (Class46 class46_9_ = Class324.method2570(1512932720, (class348_sub42_sub12.anInt9607)); class46_9_ != null; class46_9_ = Class237.method1687(class46_9_, 3)) { - if (class46_9_.anInt830 == class46.anInt830) return true; - } - } - } - } else { - for (Class348_Sub42_Sub12 class348_sub42_sub12 = ((Class348_Sub42_Sub12) Class348_Sub40_Sub4.aClass262_9111.method1995(4)); class348_sub42_sub12 != null; class348_sub42_sub12 = (Class348_Sub42_Sub12) Class348_Sub40_Sub4.aClass262_9111.method1990((byte) 93)) { - if ((class348_sub42_sub12.anInt9602 == i_5_) && (class348_sub42_sub12.anInt9607 == class46.anInt830) && ((class348_sub42_sub12.anInt9608) == 6 || (class348_sub42_sub12.anInt9608) == 1011 || (class348_sub42_sub12.anInt9608) == 13 || (class348_sub42_sub12.anInt9608) == 18 || (class348_sub42_sub12.anInt9608) == 16)) - return true; - } - } - return false; - } - - Class318_Sub1_Sub3(int i, int i_10_, int i_11_, int i_12_, int i_13_, int i_14_, int i_15_, int i_16_, int i_17_, boolean bool, byte i_18_) { - this.anInt6382 = i_12_; - this.aBoolean8741 = bool; - this.aShort8747 = (short) i_17_; - this.x = i_11_; - this.aByte8745 = i_18_; - this.aShort8751 = (short) i_15_; - this.y = i_13_; - this.plane = (byte) i; - this.aShort8750 = (short) i_16_; - this.aShort8743 = (short) i_14_; - this.aByte6376 = (byte) i_10_; - } - - static final int method2411(Class113 class113, int i) { - anInt8742++; - if (class113 == za_Sub1.aClass113_9773) return 9216; - if (class113 == Class31.aClass113_430) return 34065; - if (Class261.aClass113_3314 == class113) return 34066; - if (i != 25602) method2413(-121, null); - throw new IllegalArgumentException(); - } - - public static void method2412(boolean bool) { - aClass45_8755 = null; - aClass114_8756 = null; - aClass262_8744 = null; - if (bool != true) method2408((byte) -121); - } - - final int method2384(Class348_Sub1[] class348_sub1s, int i) { - anInt8753++; - int i_19_ = 0; - while_104_: - for (int i_20_ = this.aShort8743; (i_20_ <= this.aShort8751); i_20_++) { - for (int i_21_ = this.aShort8750; this.aShort8747 >= i_21_; i_21_++) { - long l = (Class348_Sub42_Sub8_Sub2.aLongArrayArrayArray10431[this.plane][i_20_][i_21_]); - long l_22_ = 0L; - while_103_: - while (l_22_ <= 48L) { - int i_23_ = (int) (l >>> (int) l_22_ & 0xffffL); - if (i_23_ <= 0) break; - Class211 class211 = Class239_Sub14.aClass211Array5993[-1 + i_23_]; - for (int i_24_ = 0; i_19_ > i_24_; i_24_++) { - if (class211.aClass348_Sub1_2745 == class348_sub1s[i_24_]) { - l_22_ += 16L; - continue while_103_; - } - } - class348_sub1s[i_19_++] = class211.aClass348_Sub1_2745; - if (i_19_ == 4) break while_104_; - l_22_ += 16L; - } - } - } - int i_25_ = 17 % ((i - -14) / 61); - for (int i_26_ = i_19_; i_26_ < 4; i_26_++) - class348_sub1s[i_26_] = null; - if (this.aByte8745 != 0) { - int i_27_ = (this.aShort8743 + -Class239_Sub25.anInt6111); - int i_28_ = (-Class285_Sub2.anInt8502 + this.aShort8750); - int i_29_; - short i_30_; - int i_31_; - short i_32_; - if (this.aByte8745 == 1) { - if (i_27_ >= i_28_) { - i_32_ = this.aShort8743; - i_30_ = this.aShort8750; - i_31_ = this.aShort8750 - -1; - i_29_ = this.aShort8743 - 1; - } else { - i_30_ = this.aShort8750; - i_31_ = this.aShort8750 + -1; - i_32_ = this.aShort8743; - i_29_ = 1 + this.aShort8743; - } - } else if (-i_27_ < i_28_) { - i_29_ = this.aShort8743 + -1; - i_30_ = this.aShort8750; - i_31_ = -1 + this.aShort8750; - i_32_ = this.aShort8743; - } else { - i_31_ = this.aShort8750 + 1; - i_32_ = this.aShort8743; - i_30_ = this.aShort8750; - i_29_ = 1 + this.aShort8743; - } - int i_33_ = 0; - while_106_: - for (/**/; i_19_ > i_33_; i_33_++) { - long l = (Class348_Sub42_Sub8_Sub2.aLongArrayArrayArray10431[this.plane][i_32_][i_31_]); - while (l != 0L) { - Class211 class211 = (Class239_Sub14.aClass211Array5993[(int) (-1L + (l & 0xffffL))]); - l >>>= 16; - if (class211.aClass348_Sub1_2745 == class348_sub1s[i_33_]) continue while_106_; - } - l = (Class348_Sub42_Sub8_Sub2.aLongArrayArrayArray10431[this.plane][i_29_][i_30_]); - while (l != 0) { - Class211 class211 = (Class239_Sub14.aClass211Array5993[(int) (-1L + (0xffffL & l))]); - l >>>= 16; - if (class348_sub1s[i_33_] == class211.aClass348_Sub1_2745) continue while_106_; - } - for (int i_34_ = i_33_; i_34_ < i_19_ - 1; i_34_++) - class348_sub1s[i_34_] = class348_sub1s[i_34_ - -1]; - i_19_--; - } - } - return i_19_; - } - - static final int method2413(int i, Class348_Sub49_Sub2 class348_sub49_sub2) { - anInt8749++; - int i_35_ = class348_sub49_sub2.readBits((byte) -24, 2); - if (i != 1) aClass262_8744 = null; - int i_36_; - if (i_35_ != 0) { - if (i_35_ == 1) i_36_ = class348_sub49_sub2.readBits((byte) -24, 5); - else if (i_35_ != 2) i_36_ = class348_sub49_sub2.readBits((byte) -24, 11); - else i_36_ = class348_sub49_sub2.readBits((byte) -24, 8); - } else i_36_ = 0; - return i_36_; - } -} diff --git a/client/src/Class318_Sub1_Sub3_Sub1.java b/client/src/Class318_Sub1_Sub3_Sub1.java deleted file mode 100644 index f31c32a97..000000000 --- a/client/src/Class318_Sub1_Sub3_Sub1.java +++ /dev/null @@ -1,281 +0,0 @@ -/* Class318_Sub1_Sub3_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class318_Sub1_Sub3_Sub1 extends Class318_Sub1_Sub3 implements Interface10 { - private final boolean aBoolean10003; - static int anInt10004; - static int anInt10005; - static int anInt10006; - static int anInt10007; - static int anInt10008; - static int anInt10009; - static Class348_Sub42_Sub17[] aClass348_Sub42_Sub17Array10010 = new Class348_Sub42_Sub17[14]; - static int anInt10011; - static int anInt10012; - static int anInt10013; - private final boolean aBoolean10014; - private byte aByte10015; - static int anInt10016; - private final boolean aBoolean10017; - static int anInt10018; - private boolean aBoolean10019; - static int anInt10020; - static int anInt10021; - static int anInt10022; - static int anInt10023 = -60; - private final byte aByte10024; - private Class30 aClass30_10025; - static int anInt10026; - static int anInt10027; - Class64 aClass64_10028; - static int anInt10029; - static int anInt10030; - static int anInt10031; - private short aShort10032; - static int anInt10033; - static int anInt10034; - static int anInt10035; - private r aR10036; - static int anInt10037; - - public final void method40(int i) { - if (i == -12031) { - if (this.aClass64_10028 != null) this.aClass64_10028.method612(); - anInt10022++; - } - } - - final int method2394(boolean bool) { - if (bool != true) return 109; - anInt10006++; - if (this.aClass64_10028 == null) return 0; - return this.aClass64_10028.fa(); - } - - public final void method44(int i, ha var_ha) { - anInt10008++; - Object object = null; - r var_r; - if (aR10036 != null || !aBoolean10003) { - var_r = aR10036; - aR10036 = null; - } else { - Class2 class2 = method2417(0, var_ha, 262144, true); - var_r = class2 != null ? class2.aR118 : null; - } - if (i != 836) method41(-125); - if (var_r != null) Class130.method1130(var_r, this.aByte6376, this.x, this.y, null); - } - - Class318_Sub1_Sub3_Sub1(ha var_ha, Class51 class51, int i, int i_0_, int i_1_, int i_2_, int i_3_, boolean bool, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_, boolean bool_10_) { - super(i, i_0_, i_1_, i_2_, i_3_, i_4_, i_5_, i_6_, i_7_, class51.anInt895 == 1, Class348_Sub9.method2782(i_9_, i_8_, 0)); - do { - try { - aShort10032 = (short) class51.anInt941; - aByte10015 = (byte) i_9_; - aByte10024 = (byte) i_8_; - aBoolean10014 = class51.anInt874 != 0 && !bool; - aBoolean10017 = bool; - aBoolean10019 = bool_10_; - this.aByte6376 = (byte) i_0_; - aBoolean10003 = (var_ha.method3682() && class51.aBoolean894 && !aBoolean10017 && Class316.aClass348_Sub51_3959.aClass239_Sub7_7238.method1748(-32350) != 0); - int i_11_ = 2048; - if (aBoolean10019) i_11_ |= 0x10000; - Class2 class2 = method2417(0, var_ha, i_11_, aBoolean10003); - if (class2 == null) break; - this.aClass64_10028 = class2.aClass64_119; - aR10036 = class2.aR118; - if (!aBoolean10019) break; - this.aClass64_10028 = this.aClass64_10028.method614((byte) 0, i_11_, false); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("dm.(" + (var_ha != null ? "{...}" : "null") + ',' + (class51 != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + i_1_ + ',' + i_2_ + ',' + i_3_ + ',' + bool + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ',' + i_9_ + ',' + bool_10_ + ')')); - } - break; - } while (false); - } - - final int method2379(int i) { - if (i != -25675) method2418(null, (byte) -68); - anInt10027++; - if (this.aClass64_10028 != null) return this.aClass64_10028.ma(); - return 0; - } - - public final boolean method38(int i) { - if (i != -18443) return false; - anInt10037++; - return aBoolean10003; - } - - final boolean method2391(ha var_ha, int i, int i_12_, int i_13_) { - anInt10005++; - if (i_13_ != 0) return false; - Class64 class64 = method2414(-1, var_ha, 131072); - if (class64 != null) { - Class101 class101 = var_ha.method3705(); - class101.method894(this.x, this.anInt6382, this.y); - if (Class305.aBoolean3870) return class64.method623(i_12_, i, class101, false, 0, Class132.anInt1906); - return class64.method628(i_12_, i, class101, false, 0); - } - return false; - } - - private final Class64 method2414(int i, ha var_ha, int i_14_) { - if (i != -1) method2392(false); - anInt10004++; - if (this.aClass64_10028 != null && var_ha.method3667(this.aClass64_10028.ua(), i_14_) == 0) return this.aClass64_10028; - Class2 class2 = method2417(0, var_ha, i_14_, false); - if (class2 == null) return null; - return class2.aClass64_119; - } - - final void method2387(ha var_ha, int i) { - anInt10033++; - if (i > -125) aShort10032 = (short) -95; - } - - public static void method2415(int i) { - aClass348_Sub42_Sub17Array10010 = null; - int i_15_ = 93 / ((i - -62) / 35); - } - - final int method2416(int i) { - if (i != 15) aByte10015 = (byte) 66; - anInt10009++; - if (this.aClass64_10028 != null) return this.aClass64_10028.na() / 4; - return 15; - } - - final boolean method2388(int i) { - anInt10035++; - if (i > -65) return true; - return aBoolean10019; - } - - public final int method41(int i) { - if (i != -32228) this.aClass64_10028 = null; - anInt10030++; - return aByte10015; - } - - final void method2380(ha var_ha, int i, boolean bool, Class318_Sub1 class318_sub1, int i_16_, byte i_17_, int i_18_) { - do { - try { - anInt10034++; - if (class318_sub1 instanceof Class318_Sub1_Sub4_Sub1) { - Class318_Sub1_Sub4_Sub1 class318_sub1_sub4_sub1 = (Class318_Sub1_Sub4_Sub1) class318_sub1; - if (this.aClass64_10028 != null && (class318_sub1_sub4_sub1.aClass64_10071) != null) this.aClass64_10028.method613(class318_sub1_sub4_sub1.aClass64_10071, i_18_, i, i_16_, bool); - } else if (class318_sub1 instanceof Class318_Sub1_Sub3_Sub1) { - Class318_Sub1_Sub3_Sub1 class318_sub1_sub3_sub1_19_ = (Class318_Sub1_Sub3_Sub1) class318_sub1; - if (this.aClass64_10028 != null && (class318_sub1_sub3_sub1_19_.aClass64_10028 != null)) this.aClass64_10028.method613(class318_sub1_sub3_sub1_19_.aClass64_10028, i_18_, i, i_16_, bool); - } - if (i_17_ < -106) break; - method2392(false); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("dm.N(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class318_sub1 != null ? "{...}" : "null") + ',' + i_16_ + ',' + i_17_ + ',' + i_18_ + ')')); - } - break; - } while (false); - } - - public final int method42(int i) { - if (i > -62) return 126; - anInt10012++; - return aShort10032 & 0xffff; - } - - final void method2392(boolean bool) { - anInt10020++; - if (bool != true) method38(120); - aBoolean10019 = false; - if (this.aClass64_10028 != null) this.aClass64_10028.s(~0x10000 & this.aClass64_10028.ua()); - } - - final Class30 method2381(ha var_ha, int i) { - if (aClass30_10025 == null) aClass30_10025 = (Class348_Sub23_Sub1.method2967(this.x, method2414(i + -8, var_ha, 0), this.y, this.anInt6382, 2)); - if (i != 7) return null; - anInt10013++; - return aClass30_10025; - } - - private final Class2 method2417(int i, ha var_ha, int i_20_, boolean bool) { - anInt10007++; - Class51 class51 = Class348_Sub40_Sub12.aClass263_9195.method2005(i, 0xffff & aShort10032); - s var_s; - s var_s_21_; - if (aBoolean10017) { - var_s = Class332.aSArray4142[this.aByte6376]; - var_s_21_ = Class348_Sub1_Sub1.aSArray8801[0]; - } else { - var_s = (Class348_Sub1_Sub1.aSArray8801[this.aByte6376]); - if (this.aByte6376 >= 3) var_s_21_ = null; - else var_s_21_ = (Class348_Sub1_Sub1.aSArray8801[this.aByte6376 - -1]); - } - return class51.method476(var_ha, var_s_21_, (aByte10024 != 11 ? aByte10024 : 10), i_20_, this.x, bool, var_s, this.anInt6382, this.y, (aByte10024 != 11 ? (int) aByte10015 : aByte10015 + 4), 128); - } - - final boolean method2376(int i) { - if (i > -12) return false; - anInt10029++; - if (this.aClass64_10028 != null) { - return !this.aClass64_10028.r(); - } - return true; - } - - final boolean method2377(byte i) { - if (i != 122) method2381(null, -44); - anInt10021++; - if (this.aClass64_10028 != null) return this.aClass64_10028.F(); - return false; - } - - public final void method43(ha var_ha, int i) { - if (i != -14218) aBoolean10019 = false; - anInt10016++; - Object object = null; - r var_r; - if (aR10036 == null && aBoolean10003) { - Class2 class2 = method2417(i + 14218, var_ha, 262144, true); - var_r = class2 != null ? class2.aR118 : null; - } else { - var_r = aR10036; - aR10036 = null; - } - if (var_r != null) Class169.method1301(var_r, this.aByte6376, this.x, this.y, null); - } - - static final int method2418(String string, byte i) { - anInt10011++; - int i_22_ = -51 / ((i - 3) / 42); - int i_23_ = string.length(); - int i_24_ = 0; - for (int i_25_ = 0; i_23_ > i_25_; i_25_++) - i_24_ = string.charAt(i_25_) + ((i_24_ << 5) + -i_24_); - return i_24_; - } - - static final int method2419(byte i, int i_26_) { - anInt10018++; - if (i < 122) return -49; - return i_26_ >>> 8; - } - - public final int method39(int i) { - int i_27_ = -116 / ((-91 - i) / 35); - anInt10026++; - return aByte10024; - } - - final Class318_Sub4 method2386(int i, ha var_ha) { - anInt10031++; - if (this.aClass64_10028 == null) return null; - Class101 class101 = var_ha.method3705(); - class101.method894(this.x, this.anInt6382, this.y); - Class318_Sub4 class318_sub4 = OutputStream_Sub2.method136(i, aBoolean10014, false); - if (!Class305.aBoolean3870) this.aClass64_10028.method615(class101, class318_sub4.aClass318_Sub3Array6414[0], 0); - else this.aClass64_10028.method608(class101, class318_sub4.aClass318_Sub3Array6414[0], Class132.anInt1906, 0); - return class318_sub4; - } -} diff --git a/client/src/Class318_Sub1_Sub3_Sub2.java b/client/src/Class318_Sub1_Sub3_Sub2.java deleted file mode 100644 index a742cd031..000000000 --- a/client/src/Class318_Sub1_Sub3_Sub2.java +++ /dev/null @@ -1,177 +0,0 @@ -/* Class318_Sub1_Sub3_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class318_Sub1_Sub3_Sub2 extends Class318_Sub1_Sub3 implements Interface10 { - static int anInt10038; - static int anInt10039; - static int anInt10040; - static int anInt10041; - static int anInt10042; - static int anInt10043; - static int anInt10044; - Class235 aClass235_10045; - static boolean aBoolean10046 = false; - static int anInt10047; - static int anInt10048; - static int anInt10049; - static int anInt10050; - private Class30 aClass30_10051; - static int anInt10052; - static int anInt10053; - static int anInt10054; - private boolean aBoolean10055 = false; - private final boolean aBoolean10056; - static int anInt10057; - static int anInt10058; - static int anInt10059; - static int anInt10060; - static int anInt10061; - - final boolean method2376(int i) { - anInt10041++; - if (i > -12) return false; - return false; - } - - Class318_Sub1_Sub3_Sub2(ha var_ha, Class51 class51, int i, int i_0_, int i_1_, int i_2_, int i_3_, boolean bool, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_) { - super(i, i_0_, i_1_, i_2_, i_3_, i_4_, i_5_, i_6_, i_7_, class51.anInt895 == 1, Class220.method1606(i_9_, -27939, i_8_)); - try { - this.aClass235_10045 = new Class235(var_ha, class51, i_8_, i_9_, this.plane, i_0_, this, bool, i_10_); - aBoolean10056 = class51.anInt874 != 0 && !bool; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("fea.(" + (var_ha != null ? "{...}" : "null") + ',' + (class51 != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + i_1_ + ',' + i_2_ + ',' + i_3_ + ',' + bool + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ',' + i_9_ + ',' + i_10_ + ')')); - } - } - - final int method2379(int i) { - if (i != -25675) return -125; - anInt10061++; - return this.aClass235_10045.method1664(i ^ 0x6462); - } - - final boolean method2388(int i) { - anInt10050++; - if (i > -65) return false; - return false; - } - - public final void method40(int i) { - anInt10048++; - if (i != -12031) this.aClass235_10045 = null; - } - - final boolean method2391(ha var_ha, int i, int i_11_, int i_12_) { - anInt10040++; - Class64 class64 = this.aClass235_10045.method1668(false, false, i_12_ + -127, 131072, var_ha); - if (class64 == null) return false; - if (i_12_ != 0) return false; - Class101 class101 = var_ha.method3705(); - class101.method894(this.x, this.anInt6382, this.y); - if (!Class305.aBoolean3870) return class64.method628(i_11_, i, class101, false, 0); - return class64.method623(i_11_, i, class101, false, 0, Class132.anInt1906); - } - - public final int method41(int i) { - if (i != -32228) aClass30_10051 = null; - anInt10044++; - return (this.aClass235_10045.anInt3052); - } - - final Class30 method2381(ha var_ha, int i) { - anInt10053++; - if (i != 7) return null; - return aClass30_10051; - } - - final boolean method2377(byte i) { - anInt10052++; - if (i != 122) method41(-49); - return aBoolean10055; - } - - public final void method43(ha var_ha, int i) { - anInt10049++; - if (i != -14218) aClass30_10051 = null; - this.aClass235_10045.method1674(-1, var_ha); - } - - final Class318_Sub4 method2386(int i, ha var_ha) { - anInt10057++; - Class64 class64 = this.aClass235_10045.method1668(false, true, -127, 2048, var_ha); - if (class64 == null) return null; - Class101 class101 = var_ha.method3705(); - class101.method894(this.x, this.anInt6382, this.y); - Class318_Sub4 class318_sub4 = OutputStream_Sub2.method136(i, aBoolean10056, false); - this.aClass235_10045.method1670(this.aShort8751, class101, this.aShort8747, var_ha, this.aShort8743, class64, true, (byte) -73, this.aShort8750); - if (!Class305.aBoolean3870) class64.method615(class101, (class318_sub4.aClass318_Sub3Array6414[0]), 0); - else class64.method608(class101, (class318_sub4.aClass318_Sub3Array6414[0]), Class132.anInt1906, 0); - if ((this.aClass235_10045.aClass318_Sub10_3081) != null) { - Class98 class98 = this.aClass235_10045.aClass318_Sub10_3081.method2525(); - if (Class305.aBoolean3870) var_ha.method3685(class98, Class132.anInt1906); - else var_ha.method3684(class98); - } - aBoolean10055 = class64.F() || (this.aClass235_10045.aClass318_Sub10_3081) != null; - if (aClass30_10051 != null) Class255.method1935(this.y, this.anInt6382, aClass30_10051, class64, false, this.x); - else aClass30_10051 = (Class348_Sub23_Sub1.method2967(this.x, class64, this.y, this.anInt6382, 2)); - return class318_sub4; - } - - public final int method39(int i) { - anInt10058++; - int i_13_ = -40 / ((i - -91) / 35); - return (this.aClass235_10045.anInt3079); - } - - final void method2392(boolean bool) { - if (bool == true) { - anInt10060++; - throw new IllegalStateException(); - } - } - - public final int method42(int i) { - anInt10042++; - if (i >= -62) method2377((byte) 97); - return (this.aClass235_10045.anInt3063); - } - - public final void method44(int i, ha var_ha) { - if (i != 836) method44(-65, null); - anInt10059++; - this.aClass235_10045.method1667((byte) 116, var_ha); - } - - final void method2380(ha var_ha, int i, boolean bool, Class318_Sub1 class318_sub1, int i_14_, byte i_15_, int i_16_) { - try { - anInt10054++; - if (i_15_ >= -106) method44(97, null); - throw new IllegalStateException(); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("fea.N(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class318_sub1 != null ? "{...}" : "null") + ',' + i_14_ + ',' + i_15_ + ',' + i_16_ + ')')); - } - } - - public final boolean method38(int i) { - if (i != -18443) return true; - anInt10043++; - return this.aClass235_10045.method1665(2); - } - - final void method2387(ha var_ha, int i) { - anInt10039++; - Class64 class64 = this.aClass235_10045.method1668(true, true, -127, 262144, var_ha); - if (class64 != null) { - Class101 class101 = var_ha.method3705(); - class101.method894(this.x, this.anInt6382, this.y); - this.aClass235_10045.method1670(this.aShort8751, class101, this.aShort8747, var_ha, this.aShort8743, class64, false, (byte) -73, this.aShort8750); - } - if (i >= -125) method2380(null, -30, false, null, 74, (byte) -52, 38); - } - - final int method2394(boolean bool) { - if (bool != true) return 68; - anInt10038++; - return this.aClass235_10045.method1663(80); - } -} diff --git a/client/src/Class318_Sub1_Sub3_Sub3.java b/client/src/Class318_Sub1_Sub3_Sub3.java deleted file mode 100644 index c2f931962..000000000 --- a/client/src/Class318_Sub1_Sub3_Sub3.java +++ /dev/null @@ -1,815 +0,0 @@ -/* Class318_Sub1_Sub3_Sub3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class318_Sub1_Sub3_Sub3 extends Class318_Sub1_Sub3 { - static int anInt10200; - int anInt10201; - int anInt10202; - int anInt10203; - private static short[][] aShortArrayArray10204; - static int anInt10205; - byte aByte10206; - int anInt10207; - int anInt10208; - static Class170 aClass170_10209; - int anInt10210; - int anInt10211; - static int anInt10212; - boolean aBoolean10213 = false; - static int anInt10214; - int anInt10215; - static int anInt10216; - Class264 aClass264_10217; - int anInt10218; - int[] anIntArray10219; - int anInt10220; - static boolean aBoolean10221; - private byte aByte10222; - int anInt10223; - int anInt10224; - int anInt10225; - boolean aBoolean10226; - int anInt10227; - static int anInt10228; - int[] anIntArray10229; - int anInt10230; - int anInt10231; - int anInt10232; - static int anInt10233; - int anInt10234; - static int anInt10235; - int[] anIntArray10236 = null; - int anInt10237; - static boolean aBoolean10238; - int anInt10239; - int anInt10240; - int anInt10241; - int[] anIntArray10242; - int anInt10243; - int anInt10244; - int anInt10245; - private static short[][] aShortArrayArray10246 = {new short[0], new short[0], new short[0], new short[0], new short[0]}; - int anInt10247; - int anInt10248; - static int anInt10249; - int anInt10250; - static int anInt10251; - int anInt10252; - static short[][][] aShortArrayArrayArray10253; - static int anInt10254; - byte aByte10255; - static int anInt10256; - static int anInt10257; - private static short[][] aShortArrayArray10258; - int[] anIntArray10259; - int anInt10260; - int anInt10261; - static int anInt10262; - static int anInt10263; - int anInt10264; - int anInt10265; - static int[] anIntArray10266 = new int[256]; - int anInt10267; - int anInt10268; - int anInt10269; - byte aByte10270; - int anInt10271; - static int anInt10272; - int anInt10273; - int anInt10274; - int anInt10275; - int anInt10276; - static int anInt10277; - int anInt10278; - byte aByte10279; - private int anInt10280; - static int anInt10281; - int anInt10282; - int anInt10283; - int[] anIntArray10284; - int anInt10285; - int anInt10286; - int anInt10287; - int anInt10288; - int anInt10289; - int anInt10290; - int anInt10291; - String aString10292; - int anInt10293; - int anInt10294; - int anInt10295; - int[] anIntArray10296; - static int anInt10297; - static int anInt10298; - static int anInt10299; - int anInt10300; - int anInt10301; - int anInt10302; - int[] anIntArray10303; - int[] anIntArray10304; - int anInt10305; - int anInt10306; - static int anInt10307; - Class182[] aClass182Array10308; - boolean aBoolean10309; - int anInt10310; - static int anInt10311; - int anInt10312; - static int anInt10313; - int anInt10314; - private final Class264 aClass264_10315; - private final Class264 aClass264_10316; - int[] anIntArray10317; - boolean aBoolean10318; - int anInt10319; - int[] anIntArray10320; - byte[] aByteArray10321; - int anInt10322; - Class64[] aClass64Array10323; - boolean aBoolean10324; - int anInt10325; - int anInt10326; - Class318_Sub10 aClass318_Sub10_10327; - - static final void method2420(int i, int i_0_) { - if (i_0_ != -1) aBoolean10238 = false; - Class14_Sub3.anInt8628 = i; - anInt10272++; - Class358.aClass60_4417.method590(0); - } - - abstract int method2421(byte i); - - final Class225 method2422(byte i) { - if (i != 72) method2438(-88, 93, -127, 68, 7, -76, 116, (byte) 122); - anInt10249++; - int i_1_ = method2421((byte) 127); - if (i_1_ != -1) return Class64_Sub3.aClass261_5558.method1983(i_1_, 32); - return Class225.aClass225_2931; - } - - final void method2409(byte i) { - anInt10307++; - int i_2_ = 240 + (-1 + anInt10280 << 8); - this.aShort8747 = (short) (i_2_ + this.y >> 9); - this.aShort8750 = (short) (-i_2_ + this.y >> 9); - this.aShort8751 = (short) (i_2_ + this.x >> 9); - if (i >= -109) aShortArrayArray10258 = null; - this.aShort8743 = (short) (this.x + -i_2_ >> 9); - } - - final boolean method2423(int i, int i_3_, int i_4_) { - anInt10251++; - if (this.anIntArray10296 == null) { - if (i_4_ == -1) return true; - this.anIntArray10296 = new int[12]; - for (int i_5_ = 0; i_5_ < 12; i_5_++) - this.anIntArray10296[i_5_] = -1; - } - int i_6_ = 3 / ((-22 - i) / 58); - Class225 class225 = method2422((byte) 72); - int i_7_ = 256; - if (class225.anIntArray2907 != null && class225.anIntArray2907[i_3_] > 0) i_7_ = class225.anIntArray2907[i_3_]; - if (i_4_ == -1) { - if (this.anIntArray10296[i_3_] == -1) return true; - int i_8_ = this.aClass264_10217.method2019((byte) -41); - int i_9_ = this.anIntArray10296[i_3_]; - int i_10_ = -i_9_ + i_8_; - if (i_10_ >= -i_7_ && i_10_ <= i_7_) { - this.anIntArray10296[i_3_] = -1; - for (int i_11_ = 0; i_11_ < 12; i_11_++) { - if (this.anIntArray10296[i_11_] != -1) return true; - } - this.anIntArray10296 = null; - return true; - } - if (i_10_ > 0 && i_10_ <= 8192 || i_10_ <= -8192) this.anIntArray10296[i_3_] = Class139.method1166(16383, i_9_ - -i_7_); - else this.anIntArray10296[i_3_] = Class139.method1166(-i_7_ + i_9_, 16383); - return false; - } - if (this.anIntArray10296[i_3_] == -1) this.anIntArray10296[i_3_] = this.aClass264_10217.method2019((byte) -104); - int i_12_ = this.anIntArray10296[i_3_]; - int i_13_ = -i_12_ + i_4_; - if (i_13_ >= -i_7_ && i_7_ >= i_13_) { - this.anIntArray10296[i_3_] = i_4_; - return true; - } - if ((i_13_ <= 0 || i_13_ > 8192) && i_13_ > -8192) this.anIntArray10296[i_3_] = Class139.method1166(16383, i_12_ - i_7_); - else this.anIntArray10296[i_3_] = Class139.method1166(16383, i_12_ - -i_7_); - return false; - } - - final void method2424(int i, int i_14_, int i_15_, int i_16_, byte i_17_, int i_18_) { - anInt10263++; - int i_19_ = ((this.aShort8743 + this.aShort8751) >> 1); - int i_20_ = ((this.aShort8750 + this.aShort8747) >> 1); - int i_21_ = Class70.anIntArray1207[i]; - int i_22_ = Class70.anIntArray1204[i]; - int i_23_ = -i_14_ / 2; - int i_24_ = -i_16_ / 2; - int i_25_ = i_23_ * i_22_ + i_24_ * i_21_ >> 14; - int i_26_ = -(i_21_ * i_23_) + i_24_ * i_22_ >> 14; - int i_27_ = Class171.method1321((byte) -125, i_25_ + this.x, i_26_ + this.y, i_19_, this.plane, i_20_); - int i_28_ = i_14_ / 2; - int i_29_ = -i_16_ / 2; - int i_30_ = i_28_ * i_22_ + i_21_ * i_29_ >> 14; - int i_31_ = -(i_21_ * i_28_) + i_29_ * i_22_ >> 14; - int i_32_ = Class171.method1321((byte) -119, i_30_ + this.x, this.y + i_31_, i_19_, this.plane, i_20_); - int i_33_ = -i_14_ / 2; - int i_34_ = i_16_ / 2; - int i_35_ = i_34_ * i_21_ - -(i_33_ * i_22_) >> 14; - int i_36_ = -(i_33_ * i_21_) + i_34_ * i_22_ >> 14; - int i_37_ = Class171.method1321((byte) 101, i_35_ + this.x, this.y + i_36_, i_19_, this.plane, i_20_); - if (i_17_ <= 63) this.anInt10243 = -62; - int i_38_ = i_14_ / 2; - int i_39_ = i_16_ / 2; - int i_40_ = i_22_ * i_38_ + i_39_ * i_21_ >> 14; - int i_41_ = i_22_ * i_39_ + -(i_21_ * i_38_) >> 14; - int i_42_ = Class171.method1321((byte) -114, i_40_ + this.x, this.y + i_41_, i_19_, this.plane, i_20_); - int i_43_ = Math.min(i_32_, i_27_); - int i_44_ = Math.min(i_37_, i_42_); - int i_45_ = Math.min(i_42_, i_32_); - this.anInt10302 = 0x3fff & (int) (Math.atan2(i_43_ + -i_44_, i_16_) * 2607.5945876176133); - int i_46_ = Math.min(i_27_, i_37_); - this.anInt10208 = 0x3fff & (int) (2607.5945876176133 * Math.atan2(i_46_ - i_45_, i_14_)); - if (this.anInt10302 != 0 && i_18_ != 0) { - int i_47_ = -i_18_ + 16384; - if (this.anInt10302 <= 8192) { - if (this.anInt10302 > i_18_) this.anInt10302 = i_18_; - } else if (this.anInt10302 < i_47_) this.anInt10302 = i_47_; - } - if (this.anInt10208 != 0 && i_15_ != 0) { - int i_48_ = -i_15_ + 16384; - if (this.anInt10208 > 8192) { - if (i_48_ > this.anInt10208) this.anInt10208 = i_48_; - } else if (this.anInt10208 > i_15_) this.anInt10208 = i_15_; - } - this.anInt10252 = i_27_ - -i_42_; - if (i_32_ - -i_37_ < this.anInt10252) this.anInt10252 = i_32_ - -i_37_; - this.anInt10252 = (-this.anInt6382 + (this.anInt10252 >> 1)); - } - - abstract int method2425(int i); - - int method2426(int i) { - anInt10214++; - Class225 class225 = method2422((byte) 72); - if (class225.anInt2928 != -1) return class225.anInt2928; - if (this.anInt10207 == -32768) return 200; - if (i != 200) method2377((byte) -40); - return -this.anInt10207; - } - - final void method2427(int i) { - anInt10313++; - if (i < 13) method2429(6); - this.anInt10319 = 0; - this.anInt10322 = 0; - } - - public Class318_Sub1_Sub3_Sub3() { - super(0, 0, 0, 0, 0, 0, 0, 0, 0, false, (byte) 0); - this.anInt10201 = 0; - this.anInt10230 = 0; - this.anInt10234 = 0; - this.anInt10250 = -1; - this.anInt10268 = -1; - this.anInt10240 = 0; - this.anInt10264 = 100; - this.anInt10274 = 0; - this.anInt10215 = -1; - this.anInt10247 = 0; - this.anInt10269 = -1; - this.anInt10224 = 0; - this.anIntArray10229 = new int[Class132.anInt1905]; - this.anInt10278 = -1; - this.anInt10265 = 0; - this.anInt10244 = -1; - this.anIntArray10259 = new int[Class132.anInt1905]; - this.anInt10218 = 0; - this.anInt10287 = -1000; - this.anInt10291 = -1; - this.anInt10261 = 0; - aByte10222 = (byte) 0; - this.anInt10276 = -1; - this.anInt10285 = 0; - this.aString10292 = null; - this.anInt10289 = -1; - this.aByte10279 = (byte) 0; - this.anInt10203 = 0; - anInt10280 = 1; - this.aBoolean10226 = false; - this.anInt10294 = 0; - this.anInt10248 = -1; - this.anInt10275 = -1; - this.anIntArray10219 = new int[Class132.anInt1905]; - this.anInt10245 = 0; - this.anIntArray10303 = new int[Class132.anInt1905]; - this.anInt10273 = 0; - this.anInt10306 = 0; - this.anInt10243 = 0; - this.anInt10305 = 0; - this.anInt10267 = 0; - this.anInt10286 = -1; - this.anInt10283 = -1; - this.aBoolean10309 = true; - this.anInt10232 = 0; - this.anInt10310 = 256; - this.aClass182Array10308 = new Class182[12]; - this.anInt10312 = -1; - this.anInt10207 = -32768; - this.anIntArray10304 = new int[Class132.anInt1905]; - this.anIntArray10284 = new int[Class132.anInt1905]; - this.anInt10223 = -1000; - this.aClass264_10217 = new Class264(); - aClass264_10315 = new Class264(); - aClass264_10316 = new Class264(); - this.aBoolean10318 = false; - this.anIntArray10317 = new int[10]; - this.anInt10322 = 0; - this.aBoolean10324 = false; - this.aByteArray10321 = new byte[10]; - this.anInt10325 = 0; - this.aClass64Array10323 = new Class64[3]; - this.anInt10319 = 0; - this.anIntArray10320 = new int[10]; - this.anInt10326 = 0; - } - - final int method2428(int i) { - anInt10200++; - Class225 class225 = method2422((byte) 72); - if (i != 2) method2376(11); - int i_49_ = (this.aClass264_10217.anInt3370); - boolean bool; - if (class225.anInt2948 == 0) bool = (this.aClass264_10217.method2020(this.anInt10310, this.anInt10282, this.anInt10310, (byte) -113)); - else bool = (this.aClass264_10217.method2020(class225.anInt2917, this.anInt10282, class225.anInt2948, (byte) -107)); - int i_50_ = -i_49_ + this.aClass264_10217.anInt3370; - if (i_50_ == 0) { - this.anInt10247 = 0; - this.aClass264_10217.method2016(15615, this.anInt10282); - } else this.anInt10247++; - if (bool) { - if (class225.anInt2901 != 0) { - if (i_50_ <= 0) aClass264_10315.method2020(class225.anInt2935, -(class225.anInt2950), class225.anInt2901, (byte) -47); - else aClass264_10315.method2020(class225.anInt2935, class225.anInt2950, class225.anInt2901, (byte) -77); - } - if (class225.anInt2936 != 0) aClass264_10316.method2020(class225.anInt2904, class225.anInt2926, class225.anInt2936, (byte) -127); - } else { - if (class225.anInt2901 == 0) aClass264_10315.method2016(15615, 0); - else aClass264_10315.method2020(class225.anInt2935, 0, class225.anInt2901, (byte) -26); - if (class225.anInt2936 != 0) aClass264_10316.method2020(class225.anInt2904, 0, class225.anInt2936, (byte) -66); - else aClass264_10316.method2016(15615, 0); - } - return i_50_; - } - - public static void method2429(int i) { - aClass170_10209 = null; - aShortArrayArray10246 = null; - anIntArray10266 = null; - aShortArrayArray10204 = null; - aShortArrayArrayArray10253 = null; - if (i > -101) aShortArrayArray10246 = null; - aShortArrayArray10258 = null; - } - - final void method2430(int[] is, int[] is_51_, int i) { - do { - try { - anInt10233++; - if (this.anIntArray10242 != null || is_51_ == null) { - if (is_51_ == null) { - this.anIntArray10242 = null; - break; - } - } else this.anIntArray10242 = new int[12]; - for (int i_52_ = 0; i_52_ < (this.anIntArray10242).length; i_52_++) - this.anIntArray10242[i_52_] = -1; - for (int i_53_ = 0; i_53_ < is_51_.length; i_53_++) { - int i_54_ = is[i_53_]; - for (int i_55_ = 0; i_55_ < (this.anIntArray10242).length; i_55_++) { - if ((0x1 & i_54_) != 0) this.anIntArray10242[i_55_] = is_51_[i_53_]; - i_54_ >>= 1; - } - } - if (i < -71) break; - this.anIntArray10236 = null; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("kda.DB(" + (is != null ? "{...}" : "null") + ',' + (is_51_ != null ? "{...}" : "null") + ',' + i + ')')); - } - break; - } while (false); - } - - static final void method2431(int i, int i_56_, Class348_Sub42_Sub13 class348_sub42_sub13, int i_57_, int i_58_, int i_59_, int i_60_, ha var_ha, int i_61_, int i_62_, int i_63_, int i_64_) { - try { - if (i_62_ < 111) aShortArrayArray10246 = null; - if (i_63_ < i_57_ && i_57_ < i_58_ + i_63_ && i_60_ > i_56_ - 13 && i_60_ < 3 + i_56_) i = i_59_; - anInt10212++; - String string = Class348_Sub15.method2812(-44, class348_sub42_sub13); - Class262.aClass324_3326.method2567(i_56_, string, (byte) 120, i, 0, i_63_ - -3, Class341.aClass105Array4234, Class175.anIntArray2330); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("kda.VA(" + i + ',' + i_56_ + ',' + (class348_sub42_sub13 != null ? "{...}" : "null") + ',' + i_57_ + ',' + i_58_ + ',' + i_59_ + ',' + i_60_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_61_ + ',' + i_62_ + ',' + i_63_ + ',' + i_64_ + ')')); - } - } - - final void method2432(ha var_ha, int i, Class101 class101, boolean bool, Class64[] class64s) { - do { - try { - if (i == -15074) { - anInt10256++; - if (!bool) { - Class64 class64 = class64s[0]; - Class64 class64_65_ = class64s[1]; - Class64 class64_66_ = class64s[2]; - if (class64 != null) { - class64.method620(class101); - int i_67_ = 0; - int i_68_ = 0; - int i_69_ = 0; - int i_70_ = 0; - Class129[] class129s = class64.method619(); - Class342[] class342s = class64.method604(); - if (class342s != null) { - i_70_++; - i_69_ += class342s.length; - } - if (class129s != null) { - i_67_ += class129s.length; - i_68_++; - } - Class129[] class129s_71_ = null; - Class342[] class342s_72_ = null; - if (class64_65_ != null) { - class64_65_.method620(class101); - class129s_71_ = class64_65_.method619(); - class342s_72_ = class64_65_.method604(); - } - if (class342s_72_ != null) { - i_70_++; - i_69_ += class342s_72_.length; - } - if (class129s_71_ != null) { - i_68_++; - i_67_ += class129s_71_.length; - } - Class129[] class129s_73_ = null; - Class342[] class342s_74_ = null; - if (class64_66_ != null) { - class64_66_.method620(class101); - class129s_73_ = class64_66_.method619(); - class342s_74_ = class64_66_.method604(); - } - if (class342s_74_ != null) { - i_70_++; - i_69_ += class342s_74_.length; - } - if (class129s_73_ != null) { - i_67_ += class129s_73_.length; - i_68_++; - } - if (((this.aClass318_Sub10_10327) == null || this.aClass318_Sub10_10327.aBoolean6470) && (i_68_ > 0 || i_70_ > 0)) this.aClass318_Sub10_10327 = Class318_Sub10.method2526((Class367_Sub11.anInt7396), true); - if ((this.aClass318_Sub10_10327) != null) { - Object object = null; - Class129[] class129s_75_; - if (i_68_ != 1) { - class129s_75_ = new Class129[i_67_]; - int i_76_ = 0; - if (class129s != null) { - Class214.method1575(class129s, 0, class129s_75_, i_76_, class129s.length); - i_76_ += class129s.length; - } - if (class129s_71_ != null) { - Class214.method1575(class129s_71_, 0, class129s_75_, i_76_, class129s_71_.length); - i_76_ += class129s_71_.length; - } - if (class129s_73_ != null) Class214.method1575(class129s_73_, 0, class129s_75_, i_76_, class129s_73_.length); - } else if (class129s_71_ != null) class129s_75_ = class129s_71_; - else if (class129s_73_ != null) class129s_75_ = class129s_73_; - else class129s_75_ = class129s; - Object object_77_ = null; - Class342[] class342s_78_; - if (i_70_ == 1) { - if (class342s_72_ != null) class342s_78_ = class342s_72_; - else if (class342s_74_ == null) class342s_78_ = class342s; - else class342s_78_ = class342s_74_; - } else { - class342s_78_ = new Class342[i_69_]; - int i_79_ = 0; - if (class342s != null) { - Class214.method1575(class342s, 0, class342s_78_, i_79_, class342s.length); - i_79_ += class342s.length; - } - if (class342s_72_ != null) { - Class214.method1575(class342s_72_, 0, class342s_78_, i_79_, class342s_72_.length); - i_79_ += class342s_72_.length; - } - if (class342s_74_ != null) Class214.method1575(class342s_74_, 0, class342s_78_, i_79_, class342s_74_.length); - } - this.aClass318_Sub10_10327.method2536(var_ha, Class367_Sub11.anInt7396, class129s_75_, class342s_78_, false); - } - this.aBoolean10318 = true; - } - } else if ((this.aClass318_Sub10_10327) != null) this.aClass318_Sub10_10327.method2540(Class367_Sub11.anInt7396); - if (this.aClass318_Sub10_10327 == null) break; - this.aClass318_Sub10_10327.method2533(this.plane, this.aShort8743, this.aShort8751, this.aShort8750, this.aShort8747); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("kda.L(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + (class101 != null ? "{...}" : "null") + ',' + bool + ',' + (class64s != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - protected final void finalize() { - if (this.aClass318_Sub10_10327 != null) this.aClass318_Sub10_10327.method2534(); - anInt10297++; - } - - static final void method2433() { - if (Class65.aClass357ArrayArrayArray1148 != null) { - for (int i = 0; i < Class65.aClass357ArrayArrayArray1148.length; i++) { - for (int i_80_ = 0; i_80_ < Class318_Sub7.anInt6451; i_80_++) { - for (int i_81_ = 0; i_81_ < Class348_Sub41.anInt7054; i_81_++) { - if ((Class65.aClass357ArrayArrayArray1148[i][i_80_][i_81_]) != null) Class65.aClass357ArrayArrayArray1148[i][i_80_][i_81_].method3485(true); - Class65.aClass357ArrayArrayArray1148[i][i_80_][i_81_] = null; - } - } - } - } - Class65.aClass357ArrayArrayArray1148 = null; - Class348_Sub1_Sub1.aSArray8801 = null; - if (Class348_Sub31_Sub2.aClass357ArrayArrayArray9082 != null) { - for (int i = 0; i < Class348_Sub31_Sub2.aClass357ArrayArrayArray9082.length; i++) { - for (int i_82_ = 0; i_82_ < Class318_Sub7.anInt6451; i_82_++) { - for (int i_83_ = 0; i_83_ < Class348_Sub41.anInt7054; i_83_++) { - if ((Class348_Sub31_Sub2.aClass357ArrayArrayArray9082[i][i_82_][i_83_]) != null) Class348_Sub31_Sub2.aClass357ArrayArrayArray9082[i][i_82_][i_83_].method3485(true); - Class348_Sub31_Sub2.aClass357ArrayArrayArray9082[i][i_82_][i_83_] = null; - } - } - } - } - Class348_Sub31_Sub2.aClass357ArrayArrayArray9082 = null; - Class332.aSArray4142 = null; - Class147.aClass357ArrayArrayArray2029 = null; - aa_Sub1.aSArray5191 = null; - Class99.aBooleanArrayArray1572 = null; - Class348_Sub8.aBooleanArrayArray6656 = null; - Class171.anIntArray2272 = null; - Class115.aBooleanArrayArrayArray1751 = null; - Class5_Sub2.aBooleanArrayArrayArray8361 = null; - Class274.method2062((byte) 89); - if (Class24.aClass318_Sub1_Sub3Array357 != null) { - for (int i = 0; i < Class86.anInt1477; i++) - Class24.aClass318_Sub1_Sub3Array357[i] = null; - Class86.anInt1477 = 0; - } - Class348.aClass318_Sub1Array4293 = null; - Class250.aClass318_Sub1Array3226 = null; - Class115.aClass318_Sub1Array1754 = null; - if (Class239_Sub21.aClass318_Sub1Array6066 != null) { - for (int i = 0; i < Class239_Sub21.aClass318_Sub1Array6066.length; i++) - Class239_Sub21.aClass318_Sub1Array6066[i] = null; - Class5_Sub1_Sub1.anInt9930 = 0; - } - if (Class291.aClass318_Sub1Array3737 != null) { - for (int i = 0; i < Class291.aClass318_Sub1Array3737.length; i++) - Class291.aClass318_Sub1Array3737[i] = null; - Class348_Sub42_Sub3.anInt9504 = 0; - } - if (Class239_Sub14.aClass211Array5993 != null) { - for (int i = 0; i < Class331.anInt4135; i++) - Class239_Sub14.aClass211Array5993[i] = null; - for (int i = 0; i < Class189.anInt2524; i++) { - for (int i_84_ = 0; i_84_ < Class318_Sub7.anInt6451; i_84_++) { - for (int i_85_ = 0; i_85_ < Class348_Sub41.anInt7054; i_85_++) - Class348_Sub42_Sub8_Sub2.aLongArrayArrayArray10431[i][i_84_][i_85_] = 0L; - } - } - Class331.anInt4135 = 0; - } - Class363.method3513(-120); - Class71.aClass76_1208 = Class71.aClass76_1210; - Class71.aClass76_1208.method775((byte) 69); - Class348_Sub1_Sub2.aByteArrayArray8816 = null; - Class342.anIntArrayArray4253 = null; - Class239_Sub1.aShortArrayArray5847 = null; - if (Class348_Sub40_Sub34.aClass293Array9432 != null) { - Class260.method1978(); - Class9.aHa171.method3631(1); - Class9.aHa171.method3659(0); - } - if (Class319.aClass315Array3982 != null) Class319.aClass315Array3982 = null; - Class9.aHa171 = null; - } - - final void method2434(byte i, int i_86_) { - if (i <= 20) this.anInt10295 = -101; - anInt10235++; - anInt10280 = i_86_; - } - - final void method2435(byte i, int i_87_, boolean bool) { - anInt10298++; - Class225 class225 = method2422((byte) 72); - if (bool || class225.anInt2948 != 0 || this.anInt10310 != 0) { - if (i != -108) method2438(-11, -118, -110, -2, -57, -110, 126, (byte) 93); - this.anInt10282 = 0x3fff & i_87_; - this.aClass264_10217.method2016(15615, this.anInt10282); - } - } - - final int method2379(int i) { - if (i != -25675) return -109; - anInt10311++; - return this.anInt10230; - } - - final int method2394(boolean bool) { - anInt10254++; - if (bool != true) this.anIntArray10296 = null; - if (this.anInt10207 == -32768) return 0; - return this.anInt10207; - } - - int method2436(byte i) { - anInt10299++; - if (i < 39) method2420(-75, 84); - return anInt10280; - } - - final boolean method2376(int i) { - anInt10281++; - return i > -12; - } - - final boolean method2377(byte i) { - if (i != 122) anInt10257 = -72; - anInt10262++; - return this.aBoolean10324; - } - - final void method2437(int i, int i_88_, int i_89_, int i_90_, boolean bool, int i_91_) { - anInt10216++; - int i_92_ = (!bool ? this.anInt10269 : this.anInt10291); - if (i_88_ != -1 && i_92_ != -1) { - if (i_92_ == i_88_) { - Class368 class368 = Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 65, i_88_); - if (class368.aBoolean4487 && class368.anInt4503 != -1) { - Class17 class17 = Class10.aClass87_191.method835(class368.anInt4503, 7); - int i_95_ = class17.anInt248; - if (i_95_ == 0) return; - if (i_95_ == 2) { - if (bool) { - this.anInt10265 = 0; - return; - } else this.anInt10305 = 0; - return; - } - } - } else { - Class368 class368 = Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 109, i_88_); - Class368 class368_93_ = Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 99, i_92_); - if (class368.anInt4503 != -1 && class368_93_.anInt4503 != -1) { - Class17 class17 = Class10.aClass87_191.method835(class368.anInt4503, 7); - Class17 class17_94_ = Class10.aClass87_191.method835((class368_93_.anInt4503), i_89_ ^ ~0x3c5664d6); - if (class17_94_.anInt239 > class17.anInt239) return; - } - } - } - int i_96_ = Class367_Sub11.anInt7396; - if (i_89_ != -1012294866) method2423(84, 124, 113); - if (bool) { - this.anInt10276 = 1; - this.anInt10260 = i_91_ >> 16; - this.anInt10291 = i_88_; - this.anInt10211 = (0xffff & i_91_) + i_96_; - this.anInt10224 = 0; - this.anInt10289 = i_90_; - this.anInt10202 = i; - this.anInt10273 = 0; - if (i_96_ < this.anInt10211) this.anInt10224 = -1; - if (this.anInt10291 != -1 && (this.anInt10211 == i_96_)) { - int i_97_ = (Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 98, this.anInt10291).anInt4503); - if (i_97_ != -1) { - Class17 class17 = Class10.aClass87_191.method835(i_97_, 7); - if (class17 != null && class17.anIntArray237 != null && !this.aBoolean10309) Class287.method2178(this, 0, class17, i_89_ + 1012294835); - } - } - } else { - this.anInt10243 = 0; - this.anInt10278 = i_90_; - this.anInt10237 = i; - this.anInt10225 = (0xffff & i_91_) + i_96_; - this.anInt10283 = 1; - this.anInt10240 = 0; - this.anInt10269 = i_88_; - this.anInt10220 = i_91_ >> 16; - if (i_96_ < this.anInt10225) this.anInt10240 = -1; - if (this.anInt10269 != -1 && this.anInt10225 == i_96_) { - int i_98_ = (Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 103, this.anInt10269).anInt4503); - if (i_98_ != -1) { - Class17 class17 = Class10.aClass87_191.method835(i_98_, 7); - if (class17 != null && class17.anIntArray237 != null && !this.aBoolean10309) Class287.method2178(this, 0, class17, -128); - } - } - } - } - - final void method2438(int i, int i_99_, int i_100_, int i_101_, int i_102_, int i_103_, int i_104_, byte i_105_) { - anInt10228++; - boolean bool = true; - boolean bool_106_ = true; - if (i_105_ > 91) { - for (int i_107_ = 0; Class132.anInt1905 > i_107_; i_107_++) { - if (this.anIntArray10219[i_107_] > i_99_) bool = false; - else bool_106_ = false; - } - int i_108_ = -1; - int i_109_ = -1; - int i_110_ = 0; - if (i_100_ >= 0) { - Class31 class31 = Class73.aClass219_4782.method1601(46, i_100_); - i_109_ = class31.anInt431; - i_110_ = class31.anInt434; - } - if (bool_106_) { - if (i_109_ == -1) return; - i_108_ = 0; - int i_113_ = 0; - if (i_109_ != 0) { - if (i_109_ == 1) i_113_ = (this.anIntArray10229[0]); - } else i_113_ = this.anIntArray10219[0]; - for (int i_114_ = 1; i_114_ < Class132.anInt1905; i_114_++) { - if (i_109_ == 0) { - if (i_113_ > (this.anIntArray10219[i_114_])) { - i_113_ = (this.anIntArray10219[i_114_]); - i_108_ = i_114_; - } - } else if (i_109_ == 1 && (this.anIntArray10229[i_114_]) < i_113_) { - i_113_ = (this.anIntArray10229[i_114_]); - i_108_ = i_114_; - } - } - if (i_109_ == 1 && i_113_ >= i) return; - } else { - if (bool) aByte10222 = (byte) 0; - for (int i_111_ = 0; i_111_ < Class132.anInt1905; i_111_++) { - int i_112_ = aByte10222; - aByte10222 = (byte) ((aByte10222 + 1) % Class132.anInt1905); - if (i_99_ >= (this.anIntArray10219[i_112_])) { - i_108_ = i_112_; - break; - } - } - } - if (i_108_ >= 0) { - this.anIntArray10259[i_108_] = i_100_; - this.anIntArray10229[i_108_] = i; - this.anIntArray10304[i_108_] = i_102_; - this.anIntArray10284[i_108_] = i_101_; - this.anIntArray10219[i_108_] = i_103_ + (i_110_ + i_99_); - this.anIntArray10303[i_108_] = i_104_; - } - } - } - - final void method2439(int i, Class64 class64) { - try { - anInt10205++; - int i_115_ = aClass264_10315.anInt3370; - if (i >= -110) this.anInt10325 = 90; - int i_116_ = aClass264_10316.anInt3370; - if (i_115_ != 0 || i_116_ != 0) { - int i_117_ = class64.fa() / 2; - class64.H(0, -i_117_, 0); - class64.VA(0x3fff & i_115_); - class64.FA(0x3fff & i_116_); - class64.H(0, i_117_, 0); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("kda.GB(" + i + ',' + (class64 != null ? "{...}" : "null") + ')')); - } - } - - final void method2440(byte i, int i_118_) { - anInt10277++; - Class225 class225 = method2422((byte) 72); - if (class225.anInt2948 != 0 || this.anInt10310 != 0) { - this.aClass264_10217.method2021((byte) 119); - if (i != 49) method2376(113); - int i_119_ = (0x3fff & i_118_ - this.aClass264_10217.anInt3370); - if (i_119_ <= 8192) this.anInt10282 = this.aClass264_10217.anInt3370 - -i_119_; - else this.anInt10282 = (this.aClass264_10217.anInt3370 - 16384 - -i_119_); - } - } - - static { - aBoolean10238 = false; - aShortArrayArray10258 = (new short[][]{{6798, 12, 78, 8384, 14511, 9162, 5056, 939, 5025, 4760, 9108, 7719, 14241, 22443, 30247, -29781, -25675, -21568, -17472, -12373, -8256, -3545}, {8741, 12, 78, 8384, 14511, 9162, 5056, 939, 5025, 4760, 9108, 7719, 14241, 22443, 30247, -29781, -25675, -21568, -17472, -12373, -8256, -3545}, {25238, 12, 78, 8384, 14511, 9162, 5056, 939, 5025, 4760, 9108, 7719, 14241, 22443, 30247, -29781, -25675, -21568, -17472, -12373, -8256, -3545}, {4626, 12, 78, 8384, 14511, 9162, 5056, 939, 5025, 4760, 9108, 7719, 14241, 22443, 30247, -29781, -25675, -21568, -17472, -12373, -8256, -3545}, {4550, 12, 78, 8384, 14511, 9162, 5056, 939, 5025, 4760, 9108, 7719, 14241, 22443, 30247, -29781, -25675, -21568, -17472, -12373, -8256, -3545}}); - aShortArrayArray10204 = new short[][]{new short[0], new short[0], new short[0], new short[0], new short[0]}; - aShortArrayArrayArray10253 = new short[][][]{aShortArrayArray10258, aShortArrayArray10204, aShortArrayArray10246}; - } -} diff --git a/client/src/Class318_Sub1_Sub3_Sub4.java b/client/src/Class318_Sub1_Sub3_Sub4.java deleted file mode 100644 index 8ebd0ddfb..000000000 --- a/client/src/Class318_Sub1_Sub3_Sub4.java +++ /dev/null @@ -1,337 +0,0 @@ -/* Class318_Sub1_Sub3_Sub4 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; - -final class Class318_Sub1_Sub3_Sub4 extends Class318_Sub1_Sub3 { - static int anInt10328; - static int anInt10329; - static Class338[] aClass338Array10330; - private int anInt10331; - private Class17 aClass17_10332; - static int anInt10333; - private int anInt10334; - private int anInt10335 = 0; - static Class46 aClass46_10336 = null; - static int anInt10337; - private boolean aBoolean10338; - private int anInt10339 = 0; - static int anInt10340; - private Class318_Sub10 aClass318_Sub10_10341; - static int anInt10342; - static int anInt10343; - static int anInt10344; - boolean aBoolean10345; - static int anInt10346; - static int anInt10347; - static int anInt10348; - int anInt10349; - private final int anInt10350; - static int anInt10351; - static int anInt10352; - static int anInt10353; - static int anInt10354; - private final int anInt10355; - private int anInt10356; - static int anInt10357; - static int anInt10358; - static int anInt10359; - static int anInt10360; - static int anInt10361; - static int anInt10362; - static int anInt10363; - static int anInt10364; - - final Class318_Sub4 method2386(int i, ha var_ha) { - anInt10352++; - Class64 class64 = method2465(var_ha, anInt10355, (anInt10334 == 0 ? 0 : 5) | 0x800, (byte) -82); - if (class64 == null) return null; - if (anInt10334 != 0) class64.a(anInt10334 * 2048); - Class101 class101 = var_ha.method3705(); - class101.method894(this.x, this.anInt6382, this.y); - method2467(class64, var_ha, -1, class101); - Class318_Sub4 class318_sub4 = OutputStream_Sub2.method136(i, false, false); - if (Class305.aBoolean3870) class64.method608(class101, (class318_sub4.aClass318_Sub3Array6414[0]), Class132.anInt1906, 0); - else class64.method615(class101, (class318_sub4.aClass318_Sub3Array6414[0]), 0); - if (aClass318_Sub10_10341 != null) { - Class98 class98 = aClass318_Sub10_10341.method2525(); - if (!Class305.aBoolean3870) var_ha.method3684(class98); - else var_ha.method3685(class98, Class132.anInt1906); - } - aBoolean10338 = class64.F(); - anInt10331 = class64.fa(); - anInt10356 = class64.ma(); - return class318_sub4; - } - - final int method2394(boolean bool) { - if (bool != true) return 18; - anInt10337++; - return anInt10331; - } - - static final void method2461(Class318_Sub6 class318_sub6, boolean bool) { - if (bool != true) aClass46_10336 = null; - class318_sub6.aClass318_Sub1_Sub3_Sub3_6431 = null; - anInt10361++; - if (Class365.anInt4474 < 20) { - Class62.aClass243_1114.method1869(-89, class318_sub6); - Class365.anInt4474++; - } - } - - final void method2380(ha var_ha, int i, boolean bool, Class318_Sub1 class318_sub1, int i_0_, byte i_1_, int i_2_) { - try { - anInt10347++; - if (i_1_ > -106) this.aBoolean10345 = false; - throw new IllegalStateException(); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("lf.N(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class318_sub1 != null ? "{...}" : "null") + ',' + i_0_ + ',' + i_1_ + ',' + i_2_ + ')')); - } - } - - protected final void finalize() { - anInt10329++; - if (aClass318_Sub10_10341 != null) aClass318_Sub10_10341.method2534(); - } - - final void method2392(boolean bool) { - anInt10343++; - if (bool != true) aClass17_10332 = null; - throw new IllegalStateException(); - } - - static final int method2462(int i, int i_3_, int i_4_) { - anInt10351++; - int i_5_ = (Class301.method2278(4, 91923 + i_4_, (byte) 120, i_3_ + 45365) - 128 + ((Class301.method2278(2, 37821 + i_4_, (byte) 122, 10294 + i_3_) - 128 >> 1) + (-128 + Class301.method2278(1, i_4_, (byte) 120, i_3_) >> 2))); - i_5_ = (int) (0.3 * (double) i_5_) + 35; - if (i_5_ >= 10) { - if (i_5_ > 60) i_5_ = 60; - } else i_5_ = 10; - if (i >= -35) method2463(36, -58, null, 49, -2, 122); - return i_5_; - } - - final boolean method2376(int i) { - if (i > -12) return false; - anInt10362++; - return false; - } - - static final Frame method2463(int i, int i_6_, Class297 class297, int i_7_, int i_8_, int i_9_) { - anInt10344++; - if (!class297.method2247(-4)) return null; - if (i_7_ == 0) { - Class57[] class57s = Class19.method286((byte) -49, class297); - if (class57s == null) return null; - boolean bool = false; - for (int i_10_ = 0; class57s.length > i_10_; i_10_++) { - if (i_6_ == class57s[i_10_].anInt1047 && (i == class57s[i_10_].anInt1054) && (i_9_ == 0 || (class57s[i_10_].anInt1052 == i_9_)) && (!bool || (class57s[i_10_].anInt1046 > i_7_))) { - i_7_ = class57s[i_10_].anInt1046; - bool = true; - } - } - if (!bool) return null; - } - Class144 class144 = class297.method2229(i_9_, i, i_7_, i_6_, (byte) -11); - while (class144.anInt1997 == 0) Class286_Sub5.method2161((byte) 19, 10L); - Frame frame = (Frame) class144.anObject1998; - if (frame == null) return null; - if (i_8_ != 14199) return null; - if (class144.anInt1997 == 2) { - Class56.method527(frame, class297, false); - return null; - } - return frame; - } - - static final void method2464(byte i, int i_11_, int i_12_, int i_13_, ha var_ha, int i_14_, d var_d) { - do { - try { - anInt10357++; - if (Class348.anInt4290 < 100) Class318_Sub7.method2512(var_d, var_ha, i ^ 0x74); - var_ha.KA(i_11_, i_14_, i_12_ + i_11_, i_14_ + i_13_); - if (Class348.anInt4290 < 100) { - int i_15_ = 20; - int i_16_ = i_12_ / 2 + i_11_; - int i_17_ = i_14_ - -(i_13_ / 2) - 18 - i_15_; - var_ha.aa(i_11_, i_14_, i_12_, i_13_, -16777216, 0); - var_ha.method3628(-152 + i_16_, i_17_, 304, 34, Class348_Sub40_Sub8.aColorArray9163[Class222.anInt2884].getRGB(), 0); - var_ha.aa(i_16_ - 150, 2 + i_17_, Class348.anInt4290 * 3, 30, Class135.aColorArray1928[Class222.anInt2884].getRGB(), 0); - Class262.aClass324_3326.method2575((byte) -116, i_16_, Class50_Sub3.aColorArray5242[Class222.anInt2884].getRGB(), Class274.aClass274_3501.method2063(Class348_Sub33.anInt6967, i + 551), -1, i_15_ + i_17_); - } else { - int i_18_ = (Class348_Sub36.anInt6992 + -(int) ((float) i_12_ / Class75.aFloat1247)); - int i_19_ = ((int) ((float) i_13_ / Class75.aFloat1247) + Class245.anInt3170); - int i_20_ = ((int) ((float) i_12_ / Class75.aFloat1247) + Class348_Sub36.anInt6992); - Class59_Sub1_Sub2.anInt8665 = Class245.anInt3170 + -(int) ((float) i_13_ / Class75.aFloat1247); - Class368.anInt4509 = (Class348_Sub36.anInt6992 + -(int) ((float) i_12_ / Class75.aFloat1247)); - int i_21_ = (Class245.anInt3170 + -(int) ((float) i_13_ / Class75.aFloat1247)); - Class182.anInt2446 = (int) ((float) (2 * i_13_) / Class75.aFloat1247); - Class25.anInt370 = (int) ((float) (i_12_ * 2) / Class75.aFloat1247); - Class75.method751(i_18_ + Class75.anInt1266, i_19_ + Class75.anInt1263, i_20_ - -Class75.anInt1266, Class75.anInt1263 + i_21_, i_11_, i_14_, i_12_ + i_11_, i_13_ + i_14_ + 1); - Class75.method748(var_ha); - if (i != -7) method2462(63, -7, -14); - Class262 class262 = Class75.method758(var_ha); - Class309.method2312(-13084, 0, class262, 0, var_ha); - if (Class367_Sub9.anInt7379 > 0) { - Class164.anInt2173--; - if (Class164.anInt2173 == 0) { - Class367_Sub9.anInt7379--; - Class164.anInt2173 = 20; - } - } - if (!Class298.aBoolean3811) break; - int i_22_ = -5 + i_11_ + i_12_; - int i_23_ = -8 + i_13_ + i_14_; - Applet_Sub1.aClass324_20.method2569("Fps:" + (Class239_Sub5.anInt5891), i_23_, 16776960, i_22_, i + -116, -1); - i_23_ -= 15; - Runtime runtime = Runtime.getRuntime(); - int i_24_ = (int) ((runtime.totalMemory() + -runtime.freeMemory()) / 1024L); - int i_25_ = 16776960; - if (i_24_ > 65536) i_25_ = 16711680; - Applet_Sub1.aClass324_20.method2569("Mem:" + i_24_ + "k", i_23_, i_25_, i_22_, -127, -1); - i_23_ -= 15; - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("lf.L(" + i + ',' + i_11_ + ',' + i_12_ + ',' + i_13_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_14_ + ',' + (var_d != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - private final Class64 method2465(ha var_ha, int i, int i_26_, byte i_27_) { - anInt10353++; - if (i_27_ != -82) return null; - Class368 class368 = Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 122, i); - s var_s = Class348_Sub1_Sub1.aSArray8801[this.plane]; - s var_s_28_ = (this.aByte6376 < 3 ? (Class348_Sub1_Sub1.aSArray8801[1 + this.aByte6376]) : null); - if (!this.aBoolean10345) return class368.method3565(anInt10339, anInt10335, this.anInt6382, i_26_, true, var_ha, anInt10350, this.x, -129, Class10.aClass87_191, var_s_28_, this.y, var_s); - return class368.method3565(0, -1, this.anInt6382, i_26_, true, var_ha, -1, this.x, -129, Class10.aClass87_191, var_s_28_, this.y, var_s); - } - - final void method2466(boolean bool) { - if (bool == false) { - if (aClass318_Sub10_10341 != null) aClass318_Sub10_10341.method2534(); - anInt10359++; - } - } - - final boolean method2377(byte i) { - anInt10358++; - if (i != 122) method2388(-40); - return aBoolean10338; - } - - private final void method2467(Class64 class64, ha var_ha, int i, Class101 class101) { - do { - try { - class64.method620(class101); - anInt10360++; - Class129[] class129s = class64.method619(); - Class342[] class342s = class64.method604(); - if (i == -1) { - if ((aClass318_Sub10_10341 == null || (aClass318_Sub10_10341.aBoolean6470)) && (class129s != null || class342s != null)) aClass318_Sub10_10341 = Class318_Sub10.method2526(Class367_Sub11.anInt7396, true); - if (aClass318_Sub10_10341 == null) break; - aClass318_Sub10_10341.method2536(var_ha, Class367_Sub11.anInt7396, class129s, class342s, false); - aClass318_Sub10_10341.method2533(this.plane, this.aShort8743, this.aShort8751, this.aShort8750, this.aShort8747); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("lf.BA(" + (class64 != null ? "{...}" : "null") + ',' + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + (class101 != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - final int method2379(int i) { - anInt10342++; - if (i != -25675) anInt10334 = 73; - return anInt10356; - } - - final Class30 method2381(ha var_ha, int i) { - if (i != 7) method2387(null, -106); - anInt10363++; - return null; - } - - final boolean method2388(int i) { - if (i >= -65) return false; - anInt10328++; - return false; - } - - final void method2387(ha var_ha, int i) { - if (i >= -125) anInt10331 = 38; - anInt10354++; - Class64 class64 = method2465(var_ha, anInt10355, 0, (byte) -82); - if (class64 != null) { - Class101 class101 = var_ha.method3705(); - class101.method894(this.x, this.anInt6382, this.y); - method2467(class64, var_ha, -1, class101); - } - } - - final boolean method2391(ha var_ha, int i, int i_29_, int i_30_) { - anInt10346++; - if (i_30_ != 0) return false; - return false; - } - - static final void method2468(int i) { - anInt10348++; - if (i == 3613) { - int i_31_ = 0; - for (int i_32_ = 0; Class367_Sub4.anInt7319 > i_32_; i_32_++) { - for (int i_33_ = 0; Class348_Sub40_Sub3.anInt9109 > i_33_; i_33_++) { - if (Class367_Sub4.method3542(i_33_, Class147.aClass357ArrayArrayArray2029, i_32_, 0, i_31_, true)) i_31_++; - if (i_31_ >= 512) return; - } - } - } - } - - public static void method2469(boolean bool) { - aClass46_10336 = null; - if (bool == true) aClass338Array10330 = null; - } - - Class318_Sub1_Sub3_Sub4(int i, int i_34_, int i_35_, int i_36_, int i_37_, int i_38_, int i_39_, int i_40_, int i_41_, int i_42_, int i_43_, int i_44_, int i_45_) { - super(i_36_, i_37_, i_38_, i_39_, i_40_, i_41_, i_42_, i_43_, i_44_, false, (byte) 0); - aBoolean10338 = true; - this.aBoolean10345 = false; - anInt10331 = 0; - anInt10334 = 0; - anInt10350 = -1; - anInt10356 = 0; - anInt10355 = i; - anInt10334 = i_45_; - this.anInt10349 = i_35_ + i_34_; - Class368 class368 = Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 57, anInt10355); - int i_46_ = class368.anInt4503; - if (i_46_ == -1) this.aBoolean10345 = true; - else { - aClass17_10332 = Class10.aClass87_191.method835(i_46_, 7); - this.aBoolean10345 = false; - } - if (this.anInt10349 == i_35_) Class287.method2178(this, anInt10335, aClass17_10332, -99); - } - - final void method2470(int i, byte i_47_) { - if (i_47_ <= -14) { - anInt10333++; - if (!this.aBoolean10345) { - anInt10339 += i; - while (aClass17_10332.anIntArray267[anInt10335] < anInt10339) { - anInt10339 -= (aClass17_10332.anIntArray267[anInt10335]); - anInt10335++; - if (aClass17_10332.anIntArray237.length <= anInt10335) { - this.aBoolean10345 = true; - break; - } - } - if (!this.aBoolean10345) Class287.method2178(this, anInt10335, aClass17_10332, -59); - } - } - } -} diff --git a/client/src/Class318_Sub1_Sub3_Sub5.java b/client/src/Class318_Sub1_Sub3_Sub5.java deleted file mode 100644 index 4ead45be9..000000000 --- a/client/src/Class318_Sub1_Sub3_Sub5.java +++ /dev/null @@ -1,343 +0,0 @@ -/* Class318_Sub1_Sub3_Sub5 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class318_Sub1_Sub3_Sub5 extends Class318_Sub1_Sub3 { - private int anInt10365; - int anInt10366; - private final int anInt10367; - private int anInt10368; - private int anInt10369 = -1; - static int anInt10370; - private double aDouble10371; - static int anInt10372; - static int anInt10373; - static int anInt10374; - private final Class17 aClass17_10375; - static int anInt10376; - static int anInt10377; - private Class318_Sub10 aClass318_Sub10_10378; - static int anInt10379; - static int anInt10380; - private int anInt10381; - static int anInt10382; - private double aDouble10383; - private double aDouble10384; - static int anInt10385; - private int anInt10386; - private final int anInt10387; - static int anInt10388; - static int anInt10389; - static int anInt10390; - private final int anInt10391; - int anInt10392; - private final int anInt10393; - static int anInt10394; - static int anInt10395 = -1; - private int anInt10396; - static int anInt10397; - private final boolean aBoolean10398; - private boolean aBoolean10399; - private double aDouble10400; - private double aDouble10401; - static int anInt10402; - private int anInt10403; - static int anInt10404; - static int anInt10405; - static int anInt10406; - private boolean aBoolean10407; - private double aDouble10408; - private double aDouble10409; - private int anInt10410; - int anInt10411; - int anInt10412; - private final int anInt10413; - private double aDouble10414; - static int anInt10415; - - final void method2387(ha var_ha, int i) { - anInt10379++; - Class64 class64 = method2476(0, var_ha, (byte) 127); - if (class64 != null) { - if (i >= -125) this.anInt10366 = 56; - Class101 class101 = var_ha.method3705(); - class101.method899(anInt10396); - class101.method896(anInt10386); - class101.method891((int) aDouble10408, (int) aDouble10384, (int) aDouble10371); - anInt10410 = class64.fa(); - anInt10368 = class64.ma(); - method2473(class101, class64, var_ha, -2393); - } - } - - final void method2471(byte i, int i_0_, int i_1_, int i_2_, int i_3_) { - if (!aBoolean10407) { - double d = i_3_ + -this.x; - double d_4_ = i_1_ + -this.y; - double d_5_ = Math.sqrt(d * d + d_4_ * d_4_); - aDouble10408 = ((double) this.x + (double) anInt10393 * d / d_5_); - aDouble10371 = ((double) anInt10393 * d_4_ / d_5_ + (double) this.y); - if (!aBoolean10398) aDouble10384 = this.anInt6382; - else aDouble10384 = Class275.method2064((int) aDouble10408, (this.plane), 11219, (int) aDouble10371) - anInt10413; - } - anInt10405++; - if (i != -103) anInt10381 = 104; - double d = -i_2_ + (1 + this.anInt10392); - aDouble10414 = ((double) i_1_ - aDouble10371) / d; - aDouble10401 = ((double) i_3_ - aDouble10408) / d; - aDouble10400 = Math.sqrt(aDouble10401 * aDouble10401 + aDouble10414 * aDouble10414); - if (anInt10381 != -1) { - if (!aBoolean10407) aDouble10409 = (-aDouble10400 * Math.tan(0.02454369 * (double) anInt10381)); - aDouble10383 = 2.0 * ((double) i_0_ - aDouble10384 - d * aDouble10409) / (d * d); - } else aDouble10409 = ((double) i_0_ - aDouble10384) / d; - } - - final void method2380(ha var_ha, int i, boolean bool, Class318_Sub1 class318_sub1, int i_6_, byte i_7_, int i_8_) { - try { - if (i_7_ > -106) method2474((byte) 11); - anInt10415++; - throw new IllegalStateException(); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("to.N(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class318_sub1 != null ? "{...}" : "null") + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ')')); - } - } - - protected final void finalize() { - anInt10390++; - if (aClass318_Sub10_10378 != null) aClass318_Sub10_10378.method2534(); - } - - final void method2472(int i) { - if (aClass318_Sub10_10378 != null) aClass318_Sub10_10378.method2534(); - anInt10404++; - if (i != -2159) aBoolean10399 = false; - } - - final boolean method2388(int i) { - anInt10374++; - if (i >= -65) aDouble10401 = -1.299791202228721; - return false; - } - - private final void method2473(Class101 class101, Class64 class64, ha var_ha, int i) { - do { - try { - anInt10406++; - class64.method620(class101); - Class129[] class129s = class64.method619(); - Class342[] class342s = class64.method604(); - if ((aClass318_Sub10_10378 == null || aClass318_Sub10_10378.aBoolean6470) && (class129s != null || class342s != null)) aClass318_Sub10_10378 = Class318_Sub10.method2526(Class367_Sub11.anInt7396, true); - if (aClass318_Sub10_10378 != null) { - aClass318_Sub10_10378.method2536(var_ha, Class367_Sub11.anInt7396, class129s, class342s, false); - aClass318_Sub10_10378.method2533(this.plane, this.aShort8743, this.aShort8751, this.aShort8750, this.aShort8747); - } - if (i == -2393) break; - finalize(); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("to.L(" + (class101 != null ? "{...}" : "null") + ',' + (class64 != null ? "{...}" : "null") + ',' + (var_ha != null ? "{...}" : "null") + ',' + i + ')')); - } - break; - } while (false); - } - - final int method2379(int i) { - if (i != -25675) return -92; - anInt10385++; - return anInt10368; - } - - final int method2394(boolean bool) { - anInt10372++; - if (bool != true) return 99; - return anInt10410; - } - - final void method2474(byte i) { - anInt10394++; - if (!aBoolean10407 && i == 121) { - if (anInt10387 != 0) { - Class318_Sub1_Sub3_Sub3 class318_sub1_sub3_sub3 = null; - if (anInt10387 < 0) { - int i_9_ = -1 + -anInt10387; - if (i_9_ == Class348_Sub42_Sub11.anInt9591) class318_sub1_sub3_sub3 = Class132.aPlayer_1907; - else class318_sub1_sub3_sub3 = (Class294.aPlayerArray5058[i_9_]); - } else { - int i_10_ = -1 + anInt10387; - Class348_Sub22 class348_sub22 = ((Class348_Sub22) Class282.aClass356_3654.method3480(i_10_, -6008)); - if (class348_sub22 != null) class318_sub1_sub3_sub3 = (class348_sub22.aNpc_6859); - } - if (class318_sub1_sub3_sub3 != null) { - this.y = class318_sub1_sub3_sub3.y; - this.x = class318_sub1_sub3_sub3.x; - this.anInt6382 = Class275.method2064((class318_sub1_sub3_sub3.x), this.plane, 11219, (class318_sub1_sub3_sub3.y)) + -anInt10413; - if (anInt10367 >= 0) { - Class225 class225 = class318_sub1_sub3_sub3.method2422((byte) 72); - int i_11_ = 0; - int i_12_ = 0; - if (class225.anIntArrayArray2939 != null && (class225.anIntArrayArray2939[anInt10367]) != null) { - i_11_ += (class225.anIntArrayArray2939[anInt10367][0]); - i_12_ += (class225.anIntArrayArray2939[anInt10367][2]); - } - if (class225.anIntArrayArray2910 != null && (class225.anIntArrayArray2910[anInt10367]) != null) { - i_12_ += (class225.anIntArrayArray2910[anInt10367][2]); - i_11_ += (class225.anIntArrayArray2910[anInt10367][0]); - } - if (i_11_ != 0 || i_12_ != 0) { - int i_13_ = class318_sub1_sub3_sub3.aClass264_10217.method2019((byte) -91); - int i_14_ = i_13_; - if ((class318_sub1_sub3_sub3.anIntArray10296 != null) && (class318_sub1_sub3_sub3.anIntArray10296[anInt10367]) != -1) i_14_ = (class318_sub1_sub3_sub3.anIntArray10296[anInt10367]); - int i_15_ = 0x3fff & -i_13_ + i_14_; - int i_16_ = Class70.anIntArray1207[i_15_]; - int i_17_ = Class70.anIntArray1204[i_15_]; - int i_18_ = i_12_ * i_16_ + i_11_ * i_17_ >> 14; - i_12_ = (-(i_11_ * i_16_) + i_12_ * i_17_ >> 14); - i_11_ = i_18_; - this.x += i_11_; - this.y += i_12_; - } - } - } - } - } - } - - final Class30 method2381(ha var_ha, int i) { - if (i != 7) aBoolean10407 = true; - anInt10376++; - return null; - } - - final Class318_Sub4 method2386(int i, ha var_ha) { - anInt10397++; - Class64 class64 = method2476(2048, var_ha, (byte) 127); - if (class64 == null) return null; - Class101 class101 = var_ha.method3705(); - class101.method899(anInt10396); - class101.method896(anInt10386); - class101.method891((int) aDouble10408, (int) aDouble10384, (int) aDouble10371); - method2473(class101, class64, var_ha, -2393); - Class318_Sub4 class318_sub4 = OutputStream_Sub2.method136(i, false, false); - if (!Class305.aBoolean3870) class64.method615(class101, (class318_sub4.aClass318_Sub3Array6414[0]), 0); - else class64.method608(class101, (class318_sub4.aClass318_Sub3Array6414[0]), Class132.anInt1906, 0); - if (aClass318_Sub10_10378 != null) { - Class98 class98 = aClass318_Sub10_10378.method2525(); - if (Class305.aBoolean3870) var_ha.method3685(class98, Class132.anInt1906); - else var_ha.method3684(class98); - } - aBoolean10399 = class64.F(); - anInt10410 = class64.fa(); - anInt10368 = class64.ma(); - return class318_sub4; - } - - final boolean method2391(ha var_ha, int i, int i_19_, int i_20_) { - if (i_20_ != 0) return true; - anInt10380++; - return false; - } - - final void method2475(byte i, int i_21_) { - aBoolean10407 = true; - anInt10388++; - aDouble10408 += (double) i_21_ * aDouble10401; - aDouble10371 += (double) i_21_ * aDouble10414; - if (aBoolean10398) aDouble10384 = Class275.method2064((int) aDouble10408, (this.plane), 11219, (int) aDouble10371) + -anInt10413; - else if (anInt10381 == -1) aDouble10384 += aDouble10409 * (double) i_21_; - else { - aDouble10384 += ((double) i_21_ * (aDouble10383 * 0.5) * (double) i_21_ + (double) i_21_ * aDouble10409); - aDouble10409 += aDouble10383 * (double) i_21_; - } - anInt10386 = 0x3fff & 8192 + (int) (Math.atan2(aDouble10401, aDouble10414) * 2607.5945876176133); - anInt10396 = (int) (Math.atan2(aDouble10409, aDouble10400) * 2607.5945876176133) & 0x3fff; - if (i <= 33) method2379(-27); - if (aClass17_10375 != null) { - anInt10403 += i_21_; - while (aClass17_10375.anIntArray267[anInt10365] < anInt10403) { - anInt10403 -= aClass17_10375.anIntArray267[anInt10365]; - anInt10365++; - if (anInt10365 >= aClass17_10375.anIntArray237.length) { - anInt10365 -= aClass17_10375.anInt238; - if (anInt10365 < 0 || anInt10365 >= (aClass17_10375.anIntArray237).length) anInt10365 = 0; - } - anInt10369 = anInt10365 - -1; - if (aClass17_10375.anIntArray237.length <= anInt10369) { - anInt10369 -= aClass17_10375.anInt238; - if (anInt10369 < 0 || anInt10369 >= aClass17_10375.anIntArray237.length) anInt10369 = -1; - } - } - } - } - - final void method2392(boolean bool) { - if (bool != true) this.anInt10411 = -29; - anInt10402++; - throw new IllegalStateException(); - } - - Class318_Sub1_Sub3_Sub5(int i, int i_22_, int i_23_, int i_24_, int i_25_, int i_26_, int i_27_, int i_28_, int i_29_, int i_30_, int i_31_, int i_32_, int i_33_, boolean bool, int i_34_) { - super(i_22_, i_23_, i_24_, Class275.method2064(i_24_, i_22_, 11219, i_25_) + -i_26_, i_25_, i_24_ >> 9, i_24_ >> 9, i_25_ >> 9, i_25_ >> 9, false, (byte) 0); - anInt10365 = 0; - anInt10403 = 0; - aBoolean10407 = false; - aBoolean10399 = false; - anInt10410 = 0; - anInt10368 = 0; - anInt10393 = i_30_; - anInt10367 = i_34_; - this.anInt10412 = i_32_; - aBoolean10398 = bool; - aBoolean10407 = false; - this.anInt10366 = i_33_; - anInt10391 = i; - this.anInt10392 = i_28_; - anInt10413 = i_26_; - anInt10381 = i_29_; - this.anInt10411 = i_27_; - anInt10387 = i_31_; - int i_35_ = (Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 72, anInt10391).anInt4503); - if (i_35_ != -1) aClass17_10375 = Class10.aClass87_191.method835(i_35_, 7); - else aClass17_10375 = null; - } - - final boolean method2376(int i) { - if (i >= -12) return false; - anInt10373++; - return false; - } - - final void method2409(byte i) { - this.aShort8743 = this.aShort8751 = (short) (int) (aDouble10408 / 512.0); - this.aShort8750 = this.aShort8747 = (short) (int) (aDouble10371 / 512.0); - if (i > -109) method2386(47, null); - anInt10370++; - } - - private final Class64 method2476(int i, ha var_ha, byte i_36_) { - anInt10377++; - Class368 class368 = Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 75, anInt10391); - if (i_36_ < 126) aClass318_Sub10_10378 = null; - return class368.method3562(anInt10365, var_ha, anInt10403, i, anInt10369, Class10.aClass87_191, (byte) 121); - } - - static final void method2477(String string, String string_37_, byte i, int i_38_, String string_39_, String string_40_, int i_41_, int i_42_, String string_43_) { - try { - anInt10382++; - Class147 class147 = Class318_Sub2.aClass147Array6400[99]; - for (int i_44_ = 99; i_44_ > 0; i_44_--) - Class318_Sub2.aClass147Array6400[i_44_] = Class318_Sub2.aClass147Array6400[i_44_ + -1]; - if (class147 == null) class147 = new Class147(i_41_, i_42_, string_39_, string, string_43_, string_40_, i_38_, string_37_); - else class147.method1196(i_41_, i_42_, string_43_, string, string_40_, -18691, i_38_, string_39_, string_37_); - Class318_Sub2.aClass147Array6400[0] = class147; - Class348_Sub42_Sub3.anInt9501 = Class311.anInt3918; - if (i <= -109) za_Sub1.anInt9774++; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("to.K(" + (string != null ? "{...}" : "null") + ',' + (string_37_ != null ? "{...}" : "null") + ',' + i + ',' + i_38_ + ',' + (string_39_ != null ? "{...}" : "null") + ',' + (string_40_ != null ? "{...}" : "null") + ',' + i_41_ + ',' + i_42_ + ',' + (string_43_ != null ? "{...}" : "null") + ')')); - } - } - - final boolean method2377(byte i) { - anInt10389++; - if (i != 122) aClass318_Sub10_10378 = null; - return aBoolean10399; - } -} diff --git a/client/src/Class318_Sub1_Sub4.java b/client/src/Class318_Sub1_Sub4.java deleted file mode 100644 index cf4d7e5be..000000000 --- a/client/src/Class318_Sub1_Sub4.java +++ /dev/null @@ -1,136 +0,0 @@ -/* Class318_Sub1_Sub4 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.math.BigInteger; - -abstract class Class318_Sub1_Sub4 extends Class318_Sub1 { - static int anInt8757; - static int anInt8758; - short aShort8759; - static int anInt8760; - static int anInt8761; - static BigInteger aBigInteger8762 = new BigInteger("10001", 16); - static int anInt8763; - static Class279 aClass279_8764; - static int anInt8765; - - final int method2384(Class348_Sub1[] class348_sub1s, int i) { - anInt8758++; - int i_0_ = this.x >> Class362.anInt4459; - int i_1_ = this.y >> Class362.anInt4459; - int i_2_ = -103 / ((i - -14) / 61); - int i_3_ = 0; - if (Class239_Sub25.anInt6111 == i_0_) i_3_++; - else if (Class239_Sub25.anInt6111 < i_0_) i_3_ += 2; - if (i_1_ == Class285_Sub2.anInt8502) i_3_ += 3; - else if (i_1_ < Class285_Sub2.anInt8502) i_3_ += 6; - int i_4_ = Class318_Sub9_Sub2.anIntArray8797[i_3_]; - if ((this.aShort8759 & i_4_) != 0) return this.method2390(class348_sub1s, i_0_, -2, i_1_); - if (this.aShort8759 == 1 && i_0_ > 0) return this.method2390(class348_sub1s, -1 + i_0_, -2, i_1_); - if (this.aShort8759 == 4 && i_0_ <= Class318_Sub7.anInt6451) return this.method2390(class348_sub1s, 1 + i_0_, -2, i_1_); - if (this.aShort8759 == 8 && i_1_ > 0) return this.method2390(class348_sub1s, i_0_, -2, -1 + i_1_); - if (this.aShort8759 == 2 && i_1_ <= Class348_Sub41.anInt7054) return this.method2390(class348_sub1s, i_0_, -2, i_1_ + 1); - if (this.aShort8759 == 16 && i_0_ > 0 && i_1_ <= Class348_Sub41.anInt7054) return this.method2390(class348_sub1s, -1 + i_0_, -2, i_1_ + 1); - if (this.aShort8759 == 32 && Class318_Sub7.anInt6451 >= i_0_ && Class348_Sub41.anInt7054 >= i_1_) return this.method2390(class348_sub1s, i_0_ + 1, -2, i_1_ + 1); - if (this.aShort8759 == 128 && i_0_ > 0 && i_1_ > 0) return this.method2390(class348_sub1s, i_0_ - 1, -2, i_1_ - 1); - if (this.aShort8759 == 64 && i_0_ <= Class318_Sub7.anInt6451 && i_1_ > 0) return this.method2390(class348_sub1s, 1 + i_0_, -2, -1 + i_1_); - throw new RuntimeException(""); - } - - static final int method2478(int i) { - if (i != 1000) return -103; - anInt8763++; - boolean bool = false; - boolean bool_5_ = false; - boolean bool_6_ = false; - if (Class348_Sub23_Sub1.aClass297_8992.aBoolean3777 && !Class348_Sub23_Sub1.aClass297_8992.aBoolean3794) { - bool = (Class348_Sub40_Sub20.aClass348_Sub4_9264.anInt6609) >= 512 || (Class348_Sub40_Sub20.aClass348_Sub4_9264.anInt6609) == 0; - if (Class297.aString3803.startsWith("win")) { - bool_6_ = true; - bool_5_ = true; - } else bool_5_ = true; - } - if (Class221.aBoolean2881) bool = false; - if (Class330.aBoolean4117) bool_5_ = false; - if (Class348_Sub1.aBoolean6558) bool_6_ = false; - if (!bool && !bool_5_ && !bool_6_) return Class314_Sub1.method2348(-8454); - int i_7_ = -1; - int i_8_ = -1; - int i_9_ = -1; - if (bool) { - try { - i_7_ = Class239_Sub14.method1781(2, -126, 1000); - } catch (Exception exception) { - /* empty */ - } - } - do { - if (bool_6_) { - try { - i_9_ = Class239_Sub14.method1781(3, -70, 1000); - if (Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(i + -33350) == 3) { - Class365 class365 = Class348_Sub8.aHa6654.c(); - long l = (0xffffffffffffL & class365.aLong4471); - int i_10_ = class365.anInt4476; - if (i_10_ == 4318) { - bool_5_ = bool_5_ & (l >= 64425238954L); - break; - } else if (i_10_ != 4098) break; - bool_5_ = bool_5_ & (l >= 60129613779L); - } - } catch (Exception exception) { - /* empty */ - } - } - } while (false); - if (bool_5_) { - try { - i_8_ = Class239_Sub14.method1781(1, i ^ ~0x3ab, 1000); - } catch (Exception exception) { - /* empty */ - } - } - if (i_7_ == -1 && i_8_ == -1 && i_9_ == -1) return Class314_Sub1.method2348(i + -9454); - i_9_ *= 1.1F; - i_8_ *= 1.1F; - if (i_7_ > i_9_ && i_8_ < i_7_) return Class49.method454(i_7_, (byte) -116); - if (i_9_ <= i_8_) return Class62.method600((byte) -59, 1, i_8_); - return Class62.method600((byte) -80, 3, i_9_); - } - - final boolean method2382(byte i) { - if (i >= -51) return false; - anInt8760++; - return InputStream_Sub1.method125((this.y >> Class362.anInt4459), (this.x >> Class362.anInt4459), this.aByte6376, this, (byte) 120); - } - - public static void method2479(int i) { - if (i == 19424) { - aBigInteger8762 = null; - aClass279_8764 = null; - } - } - - Class318_Sub1_Sub4(int i, int i_11_, int i_12_, int i_13_, int i_14_, int i_15_) { - this.x = i; - this.anInt6382 = i_11_; - this.aByte6376 = (byte) i_14_; - this.y = i_12_; - this.plane = (byte) i_13_; - this.aShort8759 = (short) i_15_; - } - - final boolean method2378(int i) { - anInt8757++; - if (i != 0) method2378(-104); - return (Class99.aBooleanArrayArray1572[(-Class239_Sub25.anInt6111 + (this.x >> Class362.anInt4459) + Class318_Sub1_Sub4_Sub1.anInt10084)][(Class318_Sub1_Sub4_Sub1.anInt10084 + -Class285_Sub2.anInt8502 + (this.y >> Class362.anInt4459))]); - } - - static final void method2480(int i) { - if (i == -1) { - anInt8761++; - Class348_Sub35.aClass262_6978 = new Class262(); - } - } -} diff --git a/client/src/Class318_Sub1_Sub4_Sub1.java b/client/src/Class318_Sub1_Sub4_Sub1.java deleted file mode 100644 index 2a9f41c45..000000000 --- a/client/src/Class318_Sub1_Sub4_Sub1.java +++ /dev/null @@ -1,248 +0,0 @@ -/* Class318_Sub1_Sub4_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class318_Sub1_Sub4_Sub1 extends Class318_Sub1_Sub4 implements Interface10 { - private byte aByte10062; - static int anInt10063; - private final boolean aBoolean10064; - static int anInt10065; - private boolean aBoolean10066; - static int anInt10067; - static int anInt10068; - static int anInt10069; - static int anInt10070; - Class64 aClass64_10071; - static int anInt10072; - static int anInt10073; - static int anInt10074; - static int anInt10075; - private final boolean aBoolean10076; - static int anInt10077; - static int anInt10078; - private byte aByte10079; - static int anInt10080; - private short aShort10081; - private Class30 aClass30_10082; - static int anInt10083; - static int anInt10084; - static int anInt10085; - static int anInt10086; - static int anInt10087; - static int anInt10088; - static int anInt10089; - private boolean aBoolean10090; - static int anInt10091; - static int anInt10092; - static int anInt10093; - private r aR10094; - - Class318_Sub1_Sub4_Sub1(ha var_ha, Class51 class51, int i, int i_0_, int i_1_, int i_2_, int i_3_, boolean bool, int i_4_, int i_5_, boolean bool_6_) { - super(i_1_, i_2_, i_3_, i, i_0_, Class286_Sub9.method2175(i_5_, (byte) -34, i_4_)); - do { - try { - aShort10081 = (short) class51.anInt941; - aBoolean10066 = bool; - aBoolean10090 = bool_6_; - this.x = i_1_; - aBoolean10076 = (class51.anInt874 != 0 && !bool); - this.y = i_3_; - aByte10079 = (byte) i_4_; - aByte10062 = (byte) i_5_; - aBoolean10064 = (var_ha.method3682() && class51.aBoolean894 && !aBoolean10066 && Class316.aClass348_Sub51_3959.aClass239_Sub7_7238.method1748(-32350) != 0); - int i_7_ = 2048; - if (aBoolean10090) i_7_ |= 0x10000; - Class2 class2 = method2481(aBoolean10064, i_7_, -4, var_ha); - if (class2 == null) break; - aR10094 = class2.aR118; - this.aClass64_10071 = class2.aClass64_119; - if (!aBoolean10090) break; - this.aClass64_10071 = this.aClass64_10071.method614((byte) 0, i_7_, false); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ge.(" + (var_ha != null ? "{...}" : "null") + ',' + (class51 != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + i_1_ + ',' + i_2_ + ',' + i_3_ + ',' + bool + ',' + i_4_ + ',' + i_5_ + ',' + bool_6_ + ')')); - } - break; - } while (false); - } - - public final int method39(int i) { - anInt10080++; - int i_8_ = 69 % ((i - -91) / 35); - return aByte10079; - } - - public final void method40(int i) { - anInt10077++; - if (this.aClass64_10071 != null) this.aClass64_10071.method612(); - if (i != -12031) method38(-122); - } - - final boolean method2391(ha var_ha, int i, int i_9_, int i_10_) { - anInt10070++; - Class64 class64 = method2482(var_ha, (byte) 126, 131072); - if (i_10_ != 0) method41(-96); - if (class64 != null) { - Class101 class101 = var_ha.method3705(); - class101.method894(this.x, this.anInt6382, this.y); - if (Class305.aBoolean3870) return class64.method623(i_9_, i, class101, false, 0, Class132.anInt1906); - return class64.method628(i_9_, i, class101, false, 0); - } - return false; - } - - final void method2387(ha var_ha, int i) { - if (i > -125) method42(115); - anInt10067++; - } - - public final int method41(int i) { - anInt10087++; - if (i != -32228) return 1; - return aByte10062; - } - - final void method2392(boolean bool) { - anInt10091++; - if (bool != true) method2394(true); - aBoolean10090 = false; - if (this.aClass64_10071 != null) this.aClass64_10071.s(this.aClass64_10071.ua() & ~0x10000); - } - - final Class30 method2381(ha var_ha, int i) { - anInt10075++; - if (aClass30_10082 == null) aClass30_10082 = (Class348_Sub23_Sub1.method2967(this.x, method2482(var_ha, (byte) 117, 0), this.y, this.anInt6382, i + -5)); - if (i != 7) aBoolean10066 = false; - return aClass30_10082; - } - - public final int method42(int i) { - anInt10088++; - if (i > -62) return -96; - return aShort10081 & 0xffff; - } - - final int method2379(int i) { - anInt10063++; - if (i != -25675) aByte10079 = (byte) 53; - if (this.aClass64_10071 != null) return this.aClass64_10071.ma(); - return 0; - } - - public final boolean method38(int i) { - anInt10078++; - if (i != -18443) aShort10081 = (short) 37; - return aBoolean10064; - } - - final void method2380(ha var_ha, int i, boolean bool, Class318_Sub1 class318_sub1, int i_11_, byte i_12_, int i_13_) { - try { - if (i_12_ > -106) method2388(-102); - if (class318_sub1 instanceof Class318_Sub1_Sub4_Sub1) { - Class318_Sub1_Sub4_Sub1 class318_sub1_sub4_sub1_14_ = (Class318_Sub1_Sub4_Sub1) class318_sub1; - if (this.aClass64_10071 != null && (class318_sub1_sub4_sub1_14_.aClass64_10071) != null) this.aClass64_10071.method613(class318_sub1_sub4_sub1_14_.aClass64_10071, i_13_, i, i_11_, bool); - } else if (class318_sub1 instanceof Class318_Sub1_Sub3_Sub1) { - Class318_Sub1_Sub3_Sub1 class318_sub1_sub3_sub1 = (Class318_Sub1_Sub3_Sub1) class318_sub1; - if (this.aClass64_10071 != null && (class318_sub1_sub3_sub1.aClass64_10028) != null) this.aClass64_10071.method613((class318_sub1_sub3_sub1.aClass64_10028), i_13_, i, i_11_, bool); - } - anInt10083++; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ge.N(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class318_sub1 != null ? "{...}" : "null") + ',' + i_11_ + ',' + i_12_ + ',' + i_13_ + ')')); - } - } - - public final void method44(int i, ha var_ha) { - anInt10092++; - Object object = null; - r var_r; - if (aR10094 == null && aBoolean10064) { - Class2 class2 = method2481(true, 262144, -4, var_ha); - var_r = class2 == null ? null : class2.aR118; - } else { - var_r = aR10094; - aR10094 = null; - } - if (var_r != null) Class130.method1130(var_r, this.aByte6376, this.x, this.y, null); - if (i != 836) aR10094 = null; - } - - private final Class2 method2481(boolean bool, int i, int i_15_, ha var_ha) { - if (i_15_ != -4) aClass30_10082 = null; - anInt10086++; - Class51 class51 = Class348_Sub40_Sub12.aClass263_9195.method2005(0, aShort10081 & 0xffff); - s var_s; - s var_s_16_; - if (aBoolean10066) { - var_s = Class348_Sub1_Sub1.aSArray8801[0]; - var_s_16_ = Class332.aSArray4142[this.aByte6376]; - } else { - var_s_16_ = (Class348_Sub1_Sub1.aSArray8801[this.aByte6376]); - if (this.aByte6376 < 3) var_s = (Class348_Sub1_Sub1.aSArray8801[1 + this.aByte6376]); - else var_s = null; - } - return class51.method476(var_ha, var_s, aByte10079, i, this.x, bool, var_s_16_, this.anInt6382, this.y, aByte10062, i_15_ + 132); - } - - final Class318_Sub4 method2386(int i, ha var_ha) { - anInt10069++; - if (this.aClass64_10071 == null) return null; - Class101 class101 = var_ha.method3705(); - class101.method894(this.x, this.anInt6382, this.y); - Class318_Sub4 class318_sub4 = OutputStream_Sub2.method136(i, aBoolean10076, false); - if (!Class305.aBoolean3870) this.aClass64_10071.method615(class101, class318_sub4.aClass318_Sub3Array6414[0], 0); - else this.aClass64_10071.method608(class101, class318_sub4.aClass318_Sub3Array6414[0], Class132.anInt1906, 0); - return class318_sub4; - } - - private final Class64 method2482(ha var_ha, byte i, int i_17_) { - if (i <= 113) method2387(null, -99); - anInt10072++; - if (this.aClass64_10071 != null && var_ha.method3667(this.aClass64_10071.ua(), i_17_) == 0) return this.aClass64_10071; - Class2 class2 = method2481(false, i_17_, -4, var_ha); - if (class2 != null) return class2.aClass64_119; - return null; - } - - final int method2394(boolean bool) { - anInt10093++; - if (bool != true) aByte10062 = (byte) -75; - if (this.aClass64_10071 == null) return 0; - return this.aClass64_10071.fa(); - } - - final boolean method2388(int i) { - anInt10089++; - if (i > -65) return true; - return aBoolean10090; - } - - final boolean method2377(byte i) { - anInt10065++; - if (i != 122) return true; - if (this.aClass64_10071 == null) return false; - return this.aClass64_10071.F(); - } - - final boolean method2376(int i) { - if (i >= -12) method2388(-68); - anInt10085++; - if (this.aClass64_10071 != null) { - return !this.aClass64_10071.r(); - } - return true; - } - - public final void method43(ha var_ha, int i) { - if (i != -14218) aClass30_10082 = null; - anInt10068++; - Object object = null; - r var_r; - if (aR10094 == null && aBoolean10064) { - Class2 class2 = method2481(true, 262144, -4, var_ha); - var_r = class2 == null ? null : class2.aR118; - } else { - var_r = aR10094; - aR10094 = null; - } - if (var_r != null) Class169.method1301(var_r, this.aByte6376, this.x, this.y, null); - } -} diff --git a/client/src/Class318_Sub1_Sub4_Sub2.java b/client/src/Class318_Sub1_Sub4_Sub2.java deleted file mode 100644 index 8227f0814..000000000 --- a/client/src/Class318_Sub1_Sub4_Sub2.java +++ /dev/null @@ -1,178 +0,0 @@ -/* Class318_Sub1_Sub4_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class318_Sub1_Sub4_Sub2 extends Class318_Sub1_Sub4 implements Interface10 { - private boolean aBoolean10095 = false; - static int anInt10096 = 0; - static int anInt10097; - static int anInt10098; - static int anInt10099; - static int anInt10100; - static int anInt10101; - static int anInt10102; - static int anInt10103; - static int anInt10104; - static int anInt10105; - static int anInt10106; - static int anInt10107; - static int anInt10108; - static int anInt10109; - static int anInt10110; - static int anInt10111; - static int anInt10112; - static int anInt10113; - private boolean aBoolean10114; - Class235 aClass235_10115; - private Class30 aClass30_10116; - static int anInt10117; - - public final int method39(int i) { - anInt10105++; - int i_0_ = -66 / ((-91 - i) / 35); - return (this.aClass235_10115.anInt3079); - } - - public final void method44(int i, ha var_ha) { - this.aClass235_10115.method1667((byte) 116, var_ha); - if (i != 836) method2379(42); - anInt10099++; - } - - final void method2387(ha var_ha, int i) { - anInt10113++; - if (i >= -125) method2386(111, null); - Class64 class64 = this.aClass235_10115.method1668(true, true, -128, 262144, var_ha); - if (class64 != null) { - int i_1_ = this.x >> 9; - int i_2_ = this.y >> 9; - Class101 class101 = var_ha.method3705(); - class101.method894(this.x, this.anInt6382, this.y); - this.aClass235_10115.method1670(i_1_, class101, i_2_, var_ha, i_1_, class64, false, (byte) -73, i_2_); - } - } - - final int method2394(boolean bool) { - if (bool != true) method2381(null, -82); - anInt10107++; - return this.aClass235_10115.method1663(109); - } - - final boolean method2391(ha var_ha, int i, int i_3_, int i_4_) { - anInt10101++; - Class64 class64 = this.aClass235_10115.method1668(false, false, -127, 131072, var_ha); - if (class64 == null) return false; - Class101 class101 = var_ha.method3705(); - class101.method894(this.x, this.anInt6382, this.y); - if (i_4_ != 0) return true; - if (Class305.aBoolean3870) return class64.method623(i_3_, i, class101, false, 0, Class132.anInt1906); - return class64.method628(i_3_, i, class101, false, 0); - } - - final boolean method2376(int i) { - if (i > -12) method2394(true); - anInt10108++; - return false; - } - - Class318_Sub1_Sub4_Sub2(ha var_ha, Class51 class51, int i, int i_5_, int i_6_, int i_7_, int i_8_, boolean bool, int i_9_, int i_10_, int i_11_) { - super(i_6_, i_7_, i_8_, i, i_5_, Class95.method868(i_9_, i_10_, false)); - try { - this.aClass235_10115 = new Class235(var_ha, class51, i_9_, i_10_, this.plane, i_5_, this, bool, i_11_); - aBoolean10114 = class51.anInt874 != 0 && !bool; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ju.(" + (var_ha != null ? "{...}" : "null") + ',' + (class51 != null ? "{...}" : "null") + ',' + i + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ',' + bool + ',' + i_9_ + ',' + i_10_ + ',' + i_11_ + ')')); - } - } - - final int method2379(int i) { - anInt10097++; - if (i != -25675) aBoolean10114 = false; - return this.aClass235_10115.method1664(-71); - } - - public final boolean method38(int i) { - anInt10117++; - if (i != -18443) aBoolean10095 = true; - return this.aClass235_10115.method1665(2); - } - - public final int method42(int i) { - if (i > -62) aClass30_10116 = null; - anInt10098++; - return (this.aClass235_10115.anInt3063); - } - - public final void method43(ha var_ha, int i) { - anInt10110++; - this.aClass235_10115.method1674(-1, var_ha); - if (i != -14218) aBoolean10114 = true; - } - - final Class318_Sub4 method2386(int i, ha var_ha) { - anInt10111++; - Class64 class64 = this.aClass235_10115.method1668(false, true, i ^ ~0x7f, 2048, var_ha); - if (class64 == null) return null; - Class101 class101 = var_ha.method3705(); - class101.method894(this.x, this.anInt6382, this.y); - Class318_Sub4 class318_sub4 = OutputStream_Sub2.method136(i, aBoolean10114, false); - int i_12_ = this.x >> 9; - int i_13_ = this.y >> 9; - this.aClass235_10115.method1670(i_12_, class101, i_13_, var_ha, i_12_, class64, true, (byte) -73, i_13_); - if (!Class305.aBoolean3870) class64.method615(class101, (class318_sub4.aClass318_Sub3Array6414[0]), 0); - else class64.method608(class101, (class318_sub4.aClass318_Sub3Array6414[0]), Class132.anInt1906, 0); - if ((this.aClass235_10115.aClass318_Sub10_3081) != null) { - Class98 class98 = this.aClass235_10115.aClass318_Sub10_3081.method2525(); - if (Class305.aBoolean3870) var_ha.method3685(class98, Class132.anInt1906); - else var_ha.method3684(class98); - } - aBoolean10095 = class64.F() || (this.aClass235_10115.aClass318_Sub10_3081) != null; - if (aClass30_10116 != null) Class255.method1935(this.y, this.anInt6382, aClass30_10116, class64, false, this.x); - else aClass30_10116 = (Class348_Sub23_Sub1.method2967(this.x, class64, this.y, this.anInt6382, 2)); - return class318_sub4; - } - - final Class30 method2381(ha var_ha, int i) { - anInt10109++; - if (i != 7) return null; - return aClass30_10116; - } - - public final int method41(int i) { - anInt10100++; - if (i != -32228) this.aClass235_10115 = null; - return (this.aClass235_10115.anInt3052); - } - - public final void method40(int i) { - if (i != -12031) aBoolean10114 = false; - anInt10102++; - } - - final boolean method2388(int i) { - if (i >= -65) return true; - anInt10106++; - return false; - } - - final void method2392(boolean bool) { - anInt10103++; - if (bool != true) aBoolean10114 = false; - throw new IllegalStateException(); - } - - final boolean method2377(byte i) { - if (i != 122) return false; - anInt10104++; - return aBoolean10095; - } - - final void method2380(ha var_ha, int i, boolean bool, Class318_Sub1 class318_sub1, int i_14_, byte i_15_, int i_16_) { - try { - anInt10112++; - if (i_15_ < -106) throw new IllegalStateException(); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ju.N(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class318_sub1 != null ? "{...}" : "null") + ',' + i_14_ + ',' + i_15_ + ',' + i_16_ + ')')); - } - } -} diff --git a/client/src/Class318_Sub1_Sub5.java b/client/src/Class318_Sub1_Sub5.java deleted file mode 100644 index edf309ab8..000000000 --- a/client/src/Class318_Sub1_Sub5.java +++ /dev/null @@ -1,105 +0,0 @@ -/* Class318_Sub1_Sub5 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class318_Sub1_Sub5 extends Class318_Sub1 { - static Class144 aClass144_8766; - static int anInt8767; - static int anInt8768; - short aShort8769; - static int anInt8770 = 0; - static int anInt8771; - static int anInt8772; - static boolean aBoolean8773 = false; - static int anInt8774; - static int anInt8775 = 2; - static int anInt8776; - static int anInt8777; - static int anInt8778; - static int anInt8779; - static int anInt8780 = 0; - short aShort8781; - - static final int method2483(int i, int i_0_) { - if (Class239_Sub1.aShortArrayArray5847 != null) return Class239_Sub1.aShortArrayArray5847[i][i_0_] & 0xffff; - return 0; - } - - final boolean method2378(int i) { - if (i != 0) method2378(29); - anInt8767++; - return (Class99.aBooleanArrayArray1572[(-Class239_Sub25.anInt6111 + ((this.x >> Class362.anInt4459) - -Class318_Sub1_Sub4_Sub1.anInt10084))][(Class318_Sub1_Sub4_Sub1.anInt10084 + (-Class285_Sub2.anInt8502 + (this.y >> Class362.anInt4459)))]); - } - - public static void method2484(int i) { - if (i != 0) method2487(-24); - aClass144_8766 = null; - } - - static final boolean method2485(int i) { - anInt8776++; - if (Class135_Sub2.aClass348_Sub42_Sub12_4846 == null) return false; - if ((Class135_Sub2.aClass348_Sub42_Sub12_4846.anInt9608) >= 2000) Class135_Sub2.aClass348_Sub42_Sub12_4846.anInt9608 -= 2000; - int i_1_ = -53 % ((-41 - i) / 54); - return (Class135_Sub2.aClass348_Sub42_Sub12_4846.anInt9608) == 1011; - } - - final boolean method2382(byte i) { - anInt8774++; - if (i >= -51) method2486(-102, 81, -103, -31, -95, -90); - return Class125.method1110((this.y >> Class362.anInt4459), this.method2394(true), this.aByte6376, (byte) -79, (this.x >> Class362.anInt4459)); - } - - final void method2380(ha var_ha, int i, boolean bool, Class318_Sub1 class318_sub1, int i_2_, byte i_3_, int i_4_) { - try { - anInt8768++; - if (i_3_ >= -106) method2384(null, 52); - throw new IllegalStateException(); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("un.N(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class318_sub1 != null ? "{...}" : "null") + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ')')); - } - } - - final boolean method2388(int i) { - if (i >= -65) return false; - anInt8772++; - return false; - } - - final void method2392(boolean bool) { - if (bool == true) { - anInt8779++; - throw new IllegalStateException(); - } - } - - static final void method2486(int i, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_) { - if (i_8_ >= Class369.anInt4960 && i_5_ <= Class113.anInt1745 && Class132.anInt1910 <= i_9_ && Class38.anInt513 >= i_7_) Class125.method1111(i_7_, i, i_5_, i_8_, i_9_, i_6_); - else Class239_Sub16.method1792(i_9_, i_8_, i_7_, i_5_, (byte) -114, i_6_); - if (i != 0) anInt8780 = 42; - anInt8777++; - } - - final int method2384(Class348_Sub1[] class348_sub1s, int i) { - anInt8771++; - int i_10_ = 122 % ((-14 - i) / 61); - return this.method2390(class348_sub1s, (this.x >> Class362.anInt4459), -2, (this.y >> Class362.anInt4459)); - } - - Class318_Sub1_Sub5(int i, int i_11_, int i_12_, int i_13_, int i_14_, int i_15_, int i_16_) { - this.aShort8769 = (short) i_16_; - this.aByte6376 = (byte) i_14_; - this.anInt6382 = i_11_; - this.x = i; - this.aShort8781 = (short) i_15_; - this.y = i_12_; - this.plane = (byte) i_13_; - } - - static final Class110_Sub1 method2487(int i) { - anInt8778++; - Class348_Sub36.anInt6985 = 0; - if (i >= -91) anInt8775 = -63; - return Class2.method170(true); - } -} diff --git a/client/src/Class318_Sub1_Sub5_Sub1.java b/client/src/Class318_Sub1_Sub5_Sub1.java deleted file mode 100644 index de5392e8d..000000000 --- a/client/src/Class318_Sub1_Sub5_Sub1.java +++ /dev/null @@ -1,228 +0,0 @@ -/* Class318_Sub1_Sub5_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class318_Sub1_Sub5_Sub1 extends Class318_Sub1_Sub5 implements Interface10 { - private final byte aByte10118; - static int anInt10119; - static double aDouble10120; - static int anInt10121; - static int anInt10122; - static int anInt10123; - private Class64 aClass64_10124; - static Class262 aClass262_10125 = new Class262(); - static int anInt10126; - private Class30 aClass30_10127; - private r aR10128; - private final short aShort10129; - private boolean aBoolean10130; - static int anInt10131; - static int anInt10132; - static int anInt10133; - static Class351 aClass351_10134 = new Class351(62, 3); - static int anInt10135; - static int anInt10136; - private boolean aBoolean10137; - private boolean aBoolean10138; - static int anInt10139; - static int anInt10140; - static int anInt10141; - static int anInt10142; - static int anInt10143; - static int anInt10144; - private byte aByte10145; - static int anInt10146; - static int anInt10147; - - private final Class64 method2488(int i, int i_0_, ha var_ha) { - if (i_0_ != 0) return null; - anInt10126++; - if (aClass64_10124 != null && var_ha.method3667(aClass64_10124.ua(), i) == 0) return aClass64_10124; - Class2 class2 = method2491((byte) -51, false, i, var_ha); - if (class2 == null) return null; - return class2.aClass64_119; - } - - static final int method2489(byte i) { - anInt10135++; - if (Class5_Sub1.aBoolean8335) return 6; - if (Class316.aClass348_Sub42_Sub12_3963 == null) return 0; - if (i >= -11) return -42; - int i_1_ = (Class316.aClass348_Sub42_Sub12_3963.anInt9608); - if (Class239_Sub17.method1796(80, i_1_)) return 1; - if (Class148.method1197(-12081, i_1_)) return 2; - if (Class239_Sub21.method1813(8806, i_1_)) return 3; - if (Class367_Sub8.method3549(i_1_, (byte) 126)) return 4; - return 5; - } - - final Class318_Sub4 method2386(int i, ha var_ha) { - anInt10122++; - if (aClass64_10124 == null) return null; - Class101 class101 = var_ha.method3705(); - class101.method894((this.x - -this.aShort8781), this.anInt6382, (this.y - -this.aShort8769)); - Class318_Sub4 class318_sub4 = OutputStream_Sub2.method136(i, aBoolean10130, false); - if (Class305.aBoolean3870) aClass64_10124.method608(class101, (class318_sub4.aClass318_Sub3Array6414[0]), Class132.anInt1906, 0); - else aClass64_10124.method615(class101, (class318_sub4.aClass318_Sub3Array6414[0]), 0); - return class318_sub4; - } - - public final void method40(int i) { - if (i != -12031) aByte10145 = (byte) -104; - anInt10147++; - if (aClass64_10124 != null) aClass64_10124.method612(); - } - - final boolean method2377(byte i) { - if (i != 122) aBoolean10137 = false; - anInt10131++; - if (aClass64_10124 != null) return aClass64_10124.F(); - return false; - } - - public final int method42(int i) { - anInt10143++; - if (i >= -62) method39(-120); - return 0xffff & aShort10129; - } - - public static void method2490(int i) { - aClass351_10134 = null; - if (i != 4) method2490(-26); - aClass262_10125 = null; - } - - final int method2379(int i) { - anInt10123++; - if (i != -25675) aClass64_10124 = null; - if (aClass64_10124 != null) return aClass64_10124.ma(); - return 0; - } - - final boolean method2391(ha var_ha, int i, int i_2_, int i_3_) { - anInt10119++; - Class64 class64 = method2488(131072, i_3_, var_ha); - if (class64 != null) { - Class101 class101 = var_ha.method3705(); - class101.method894(this.x, this.anInt6382, this.y); - if (Class305.aBoolean3870) return class64.method623(i_2_, i, class101, false, 0, Class132.anInt1906); - return class64.method628(i_2_, i, class101, false, 0); - } - return false; - } - - final boolean method2376(int i) { - anInt10136++; - if (i > -12) return false; - if (aClass64_10124 != null) { - return !aClass64_10124.r(); - } - return true; - } - - public final int method39(int i) { - anInt10141++; - int i_4_ = -57 % ((-91 - i) / 35); - return aByte10145; - } - - public final void method43(ha var_ha, int i) { - if (i != -14218) aClass30_10127 = null; - anInt10144++; - Object object = null; - r var_r; - if (aR10128 != null || !aBoolean10137) { - var_r = aR10128; - aR10128 = null; - } else { - Class2 class2 = method2491((byte) -51, true, 262144, var_ha); - var_r = class2 == null ? null : class2.aR118; - } - if (var_r != null) Class169.method1301(var_r, this.aByte6376, this.x, this.y, null); - } - - final void method2387(ha var_ha, int i) { - if (i < -125) anInt10133++; - } - - public final void method44(int i, ha var_ha) { - anInt10121++; - Object object = null; - r var_r; - if (aR10128 == null && aBoolean10137) { - Class2 class2 = method2491((byte) -51, true, 262144, var_ha); - var_r = class2 == null ? null : class2.aR118; - } else { - var_r = aR10128; - aR10128 = null; - } - if (var_r != null) Class130.method1130(var_r, this.aByte6376, this.x, this.y, null); - if (i != 836) method2391(null, -123, 0, -64); - } - - final Class30 method2381(ha var_ha, int i) { - if (i != 7) method2381(null, -71); - if (aClass30_10127 == null) aClass30_10127 = (Class348_Sub23_Sub1.method2967(this.x, method2488(0, 0, var_ha), this.y, this.anInt6382, 2)); - anInt10140++; - return aClass30_10127; - } - - private final Class2 method2491(byte i, boolean bool, int i_5_, ha var_ha) { - if (i != -51) aClass262_10125 = null; - anInt10142++; - Class51 class51 = Class348_Sub40_Sub12.aClass263_9195.method2005(0, 0xffff & aShort10129); - s var_s; - s var_s_6_; - if (aBoolean10138) { - var_s = Class332.aSArray4142[this.aByte6376]; - var_s_6_ = Class348_Sub1_Sub1.aSArray8801[0]; - } else { - var_s = (Class348_Sub1_Sub1.aSArray8801[this.aByte6376]); - if (this.aByte6376 < 3) var_s_6_ = (Class348_Sub1_Sub1.aSArray8801[this.aByte6376 - -1]); - else var_s_6_ = null; - } - return class51.method476(var_ha, var_s_6_, aByte10145, i_5_, this.x, bool, var_s, this.anInt6382, this.y, aByte10118, 128); - } - - final int method2394(boolean bool) { - if (bool != true) aBoolean10138 = false; - anInt10139++; - if (aClass64_10124 != null) return aClass64_10124.fa(); - return 0; - } - - Class318_Sub1_Sub5_Sub1(ha var_ha, Class51 class51, int i, int i_7_, int i_8_, int i_9_, int i_10_, boolean bool, int i_11_, int i_12_, int i_13_, int i_14_) { - super(i_8_, i_9_, i_10_, i, i_7_, i_11_, i_12_); - do { - try { - aBoolean10130 = class51.anInt874 != 0 && !bool; - aByte10145 = (byte) i_13_; - aShort10129 = (short) class51.anInt941; - this.y = i_10_; - aBoolean10138 = bool; - this.x = i_8_; - aByte10118 = (byte) i_14_; - aBoolean10137 = (var_ha.method3682() && class51.aBoolean894 && !aBoolean10138 && Class316.aClass348_Sub51_3959.aClass239_Sub7_7238.method1748(-32350) != 0); - Class2 class2 = method2491((byte) -51, aBoolean10137, 2048, var_ha); - if (class2 == null) break; - aClass64_10124 = class2.aClass64_119; - aR10128 = class2.aR118; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("co.(" + (var_ha != null ? "{...}" : "null") + ',' + (class51 != null ? "{...}" : "null") + ',' + i + ',' + i_7_ + ',' + i_8_ + ',' + i_9_ + ',' + i_10_ + ',' + bool + ',' + i_11_ + ',' + i_12_ + ',' + i_13_ + ',' + i_14_ + ')')); - } - break; - } while (false); - } - - public final int method41(int i) { - if (i != -32228) aBoolean10130 = true; - anInt10146++; - return aByte10118; - } - - public final boolean method38(int i) { - anInt10132++; - if (i != -18443) aClass30_10127 = null; - return aBoolean10137; - } -} diff --git a/client/src/Class318_Sub1_Sub5_Sub2.java b/client/src/Class318_Sub1_Sub5_Sub2.java deleted file mode 100644 index c17c6a8a2..000000000 --- a/client/src/Class318_Sub1_Sub5_Sub2.java +++ /dev/null @@ -1,204 +0,0 @@ -/* Class318_Sub1_Sub5_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -final class Class318_Sub1_Sub5_Sub2 extends Class318_Sub1_Sub5 implements Interface10 { - private boolean aBoolean10148 = false; - static Class114 aClass114_10149 = new Class114(23, 6); - private Class30 aClass30_10150; - static int anInt10151; - static int anInt10152; - private boolean aBoolean10153; - static int anInt10154; - Class235 aClass235_10155; - static int anInt10156; - static int anInt10157; - static int anInt10158; - static int anInt10159; - static int anInt10160; - static int anInt10161; - static int anInt10162; - static int anInt10163; - static int anInt10164; - static int anInt10165; - static int anInt10166; - static int anInt10167; - static Class114 aClass114_10168; - static int anInt10169; - static int anInt10170; - static int anInt10171; - static int[] anIntArray10172 = new int[3]; - - public final void method43(ha var_ha, int i) { - anInt10151++; - this.aClass235_10155.method1674(i + 14217, var_ha); - if (i != -14218) method40(127); - } - - final int method2394(boolean bool) { - anInt10157++; - if (bool != true) aBoolean10153 = false; - return this.aClass235_10155.method1663(101); - } - - public final int method41(int i) { - anInt10170++; - if (i != -32228) method2387(null, 89); - return (this.aClass235_10155.anInt3052); - } - - public final boolean method38(int i) { - anInt10162++; - if (i != -18443) aBoolean10148 = false; - return this.aClass235_10155.method1665(i + 18445); - } - - public final void method44(int i, ha var_ha) { - if (i == 836) { - this.aClass235_10155.method1667((byte) 116, var_ha); - anInt10165++; - } - } - - public final int method42(int i) { - anInt10171++; - if (i > -62) return 40; - return (this.aClass235_10155.anInt3063); - } - - final void method2387(ha var_ha, int i) { - if (i >= -125) aBoolean10148 = false; - anInt10154++; - Class64 class64 = this.aClass235_10155.method1668(false, true, -127, 262144, var_ha); - if (class64 != null) { - int i_0_ = this.x >> 9; - int i_1_ = this.y >> 9; - Class101 class101 = var_ha.method3705(); - class101.method894(this.x, this.anInt6382, this.y); - this.aClass235_10155.method1670(i_0_, class101, i_1_, var_ha, i_0_, class64, false, (byte) -73, i_1_); - } - } - - public final int method39(int i) { - anInt10161++; - int i_2_ = -29 % ((-91 - i) / 35); - return (this.aClass235_10155.anInt3079); - } - - final boolean method2376(int i) { - if (i >= -12) return false; - anInt10166++; - return false; - } - - final Class318_Sub4 method2386(int i, ha var_ha) { - anInt10159++; - Class64 class64 = this.aClass235_10155.method1668(false, true, -127, 2048, var_ha); - if (class64 == null) return null; - Class101 class101 = var_ha.method3705(); - class101.method894((this.x + this.aShort8781), this.anInt6382, (this.y + this.aShort8769)); - Class318_Sub4 class318_sub4 = OutputStream_Sub2.method136(i, aBoolean10153, false); - int i_3_ = this.x >> 9; - int i_4_ = this.y >> 9; - this.aClass235_10155.method1670(i_3_, class101, i_4_, var_ha, i_3_, class64, true, (byte) -73, i_4_); - if (!Class305.aBoolean3870) class64.method615(class101, (class318_sub4.aClass318_Sub3Array6414[0]), 0); - else class64.method608(class101, (class318_sub4.aClass318_Sub3Array6414[0]), Class132.anInt1906, 0); - if ((this.aClass235_10155.aClass318_Sub10_3081) != null) { - Class98 class98 = this.aClass235_10155.aClass318_Sub10_3081.method2525(); - if (!Class305.aBoolean3870) var_ha.method3684(class98); - else var_ha.method3685(class98, Class132.anInt1906); - } - aBoolean10148 = class64.F() || (this.aClass235_10155.aClass318_Sub10_3081) != null; - if (aClass30_10150 == null) aClass30_10150 = (Class348_Sub23_Sub1.method2967(this.x, class64, this.y, this.anInt6382, 2)); - else Class255.method1935(this.y, this.anInt6382, aClass30_10150, class64, false, this.x); - return class318_sub4; - } - - final Class30 method2381(ha var_ha, int i) { - anInt10169++; - if (i != 7) return null; - return aClass30_10150; - } - - final boolean method2377(byte i) { - anInt10158++; - if (i != 122) return false; - return aBoolean10148; - } - - public static void method2492(int i) { - if (i != 1) anInt10163 = -36; - aClass114_10149 = null; - aClass114_10168 = null; - anIntArray10172 = null; - } - - Class318_Sub1_Sub5_Sub2(ha var_ha, Class51 class51, int i, int i_5_, int i_6_, int i_7_, int i_8_, boolean bool, int i_9_, int i_10_, int i_11_, int i_12_, int i_13_) { - super(i_6_, i_7_, i_8_, i, i_5_, i_9_, i_10_); - try { - this.aClass235_10155 = new Class235(var_ha, class51, i_11_, i_12_, this.plane, i_5_, this, bool, i_13_); - aBoolean10153 = class51.anInt874 != 0 && !bool; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("pw.(" + (var_ha != null ? "{...}" : "null") + ',' + (class51 != null ? "{...}" : "null") + ',' + i + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ',' + bool + ',' + i_9_ + ',' + i_10_ + ',' + i_11_ + ',' + i_12_ + ',' + i_13_ + ')')); - } - } - - final boolean method2391(ha var_ha, int i, int i_14_, int i_15_) { - anInt10152++; - Class64 class64 = this.aClass235_10155.method1668(false, false, -128, 131072, var_ha); - if (class64 == null) return false; - if (i_15_ != 0) return true; - Class101 class101 = var_ha.method3705(); - class101.method894((this.aShort8781 + this.x), this.anInt6382, (this.aShort8769 + this.y)); - if (Class305.aBoolean3870) return class64.method623(i_14_, i, class101, false, 0, Class132.anInt1906); - return class64.method628(i_14_, i, class101, false, 0); - } - - static final Class337 method2493(ha_Sub2 var_ha_Sub2, int i, Class242[] class242s) { - try { - anInt10167++; - for (int i_16_ = 0; i_16_ < class242s.length; i_16_++) { - if (class242s[i_16_] == null || class242s[i_16_].aLong3156 <= 0L) return null; - } - long l = OpenGL.glCreateProgramObjectARB(); - for (int i_17_ = 0; class242s.length > i_17_; i_17_++) - OpenGL.glAttachObjectARB(l, (class242s[i_17_].aLong3156)); - OpenGL.glLinkProgramARB(l); - OpenGL.glGetObjectParameterivARB(l, 35714, Class187.anIntArray2509, 0); - if ((~Class187.anIntArray2509[0]) == i) { - if (Class187.anIntArray2509[0] == 0) System.out.println("Shader linking failed:"); - OpenGL.glGetObjectParameterivARB(l, 35716, Class187.anIntArray2509, 1); - if (Class187.anIntArray2509[1] > 1) { - byte[] is = new byte[Class187.anIntArray2509[1]]; - OpenGL.glGetInfoLogARB(l, Class187.anIntArray2509[1], Class187.anIntArray2509, 0, is, 0); - System.out.println(new String(is)); - } - if (Class187.anIntArray2509[0] == 0) { - for (int i_18_ = 0; class242s.length > i_18_; i_18_++) - OpenGL.glDetachObjectARB(l, (class242s[i_18_].aLong3156)); - OpenGL.glDeleteObjectARB(l); - return null; - } - } - return new Class337(var_ha_Sub2, l, class242s); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("pw.D(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + (class242s != null ? "{...}" : "null") + ')')); - } - } - - final int method2379(int i) { - anInt10160++; - if (i != -25675) aBoolean10153 = false; - return this.aClass235_10155.method1664(-119); - } - - public final void method40(int i) { - if (i == -12031) anInt10156++; - } - - static { - aClass114_10168 = new Class114(2, 6); - } -} diff --git a/client/src/Class318_Sub2.java b/client/src/Class318_Sub2.java deleted file mode 100644 index 9d0ad9004..000000000 --- a/client/src/Class318_Sub2.java +++ /dev/null @@ -1,231 +0,0 @@ -/* Class318_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class318_Sub2 extends Class318 { - static int[] anIntArray6393 = new int[8]; - int anInt6394; - static int anInt6395; - static int anInt6396; - static int anInt6397; - static int anInt6398; - static int anInt6399; - static Class147[] aClass147Array6400 = new Class147[100]; - - static final void method2494(int i, int i_0_, int i_1_, ha var_ha, Class348_Sub42_Sub12 class348_sub42_sub12, int i_2_, int i_3_, int i_4_, byte i_5_, int i_6_, int i_7_, int i_8_) { - do { - try { - anInt6397++; - if (i_5_ < 123) method2499(27, -8, -96, 71, 72, (byte) 72, -82); - if (i_8_ > i_7_ && i_7_ + i_2_ > i_8_ && i_3_ > -13 + i_1_ && i_1_ + 3 > i_3_ && (class348_sub42_sub12.aBoolean9610)) i_4_ = i_0_; - int[] is = null; - if (!Class148.method1197(-12081, class348_sub42_sub12.anInt9608)) { - if ((class348_sub42_sub12.anInt9599) == -1) { - if (Class367_Sub8.method3549((class348_sub42_sub12.anInt9608), (byte) -119)) { - Class348_Sub22 class348_sub22 = ((Class348_Sub22) (Class282.aClass356_3654.method3480((int) (class348_sub42_sub12.aLong9605), -6008))); - if (class348_sub22 != null) { - Npc npc = (class348_sub22.aNpc_6859); - Class79 class79 = (npc.aClass79_10505); - if (class79.anIntArray1377 != null) class79 = (class79.method794((Class318_Sub1_Sub3_Sub3.aClass170_10209), -1)); - if (class79 != null) is = class79.anIntArray1342; - } - } else if (Class239_Sub21.method1813(8806, (class348_sub42_sub12.anInt9608))) { - Object object = null; - Class51 class51; - if (class348_sub42_sub12.anInt9608 != 1001) class51 = (Class348_Sub40_Sub12.aClass263_9195.method2005(0, (int) (0x7fffffffL & ((class348_sub42_sub12.aLong9605) >>> 32)))); - else class51 = (Class348_Sub40_Sub12.aClass263_9195.method2005(0, (int) (class348_sub42_sub12.aLong9605))); - if (class51.anIntArray945 != null) class51 = (class51.method480((Class318_Sub1_Sub3_Sub3.aClass170_10209), (byte) 47)); - if (class51 != null) is = class51.anIntArray917; - } - } else is = Exception_Sub1.aClass255_112.method1940(113, (class348_sub42_sub12.anInt9599)).anIntArray2772; - } else is = (Exception_Sub1.aClass255_112.method1940(-67, (int) (class348_sub42_sub12.aLong9605)).anIntArray2772); - String string = Class316.method2367((byte) 125, class348_sub42_sub12); - if (is != null) string += Class163.method1273(is, true); - Class262.aClass324_3326.method2567(i_1_, string, (byte) 116, i_4_, 0, i_7_ - -3, Class341.aClass105Array4234, Class175.anIntArray2330); - if (!class348_sub42_sub12.aBoolean9597) break; - Class239_Sub24.aClass105_6097.method974(Class369.aClass143_4962.method1183(true, string) + (i_7_ - -5), -12 + i_1_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("vo.C(" + i + ',' + i_0_ + ',' + i_1_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + (class348_sub42_sub12 != null ? "{...}" : "null") + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ')')); - } - break; - } while (false); - } - - public static void method2495(byte i) { - if (i <= 110) anIntArray6393 = null; - anIntArray6393 = null; - aClass147Array6400 = null; - } - - static final boolean method2496(int i, int i_9_, boolean bool) { - if (bool != true) method2497(null, (byte) -29, null, 73); - anInt6396++; - if (i >= 1000 && i_9_ < 1000) return true; - if (i < 1000 && i_9_ < 1000) { - if (Class309.method2308((byte) 26, i_9_)) return true; - return !Class309.method2308((byte) 26, i); - } - return i >= 1000 && i_9_ >= 1000; - } - - Class318_Sub2(int i) { - this.anInt6394 = i; - } - - static final int method2497(byte[] is, byte i, String string, int i_10_) { - try { - anInt6399++; - int i_11_ = i_10_; - int i_12_ = string.length(); - int i_13_ = 0; - if (i != 0) method2496(21, -5, true); - for (/**/; i_12_ > i_13_; i_13_ += 4) { - int i_14_ = Class186_Sub1.method1399(7, string.charAt(i_13_)); - int i_15_ = (i_12_ > i_13_ - -1 ? Class186_Sub1.method1399(7, string.charAt(1 + i_13_)) : -1); - int i_16_ = (2 + i_13_ < i_12_ ? Class186_Sub1.method1399(7, string.charAt(i_13_ + 2)) : -1); - int i_17_ = (i_12_ <= 3 + i_13_ ? -1 : Class186_Sub1.method1399(7, string.charAt(i_13_ + 3))); - is[i_10_++] = (byte) Class273.method2057(i_14_ << 2, i_15_ >>> 4); - if (i_16_ == -1) break; - is[i_10_++] = (byte) Class273.method2057((Class139.method1166(15, i_15_) << 4), i_16_ >>> 2); - if (i_17_ == -1) break; - is[i_10_++] = (byte) Class273.method2057((Class139.method1166(3, i_16_) << 6), i_17_); - } - return -i_11_ + i_10_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("vo.B(" + (is != null ? "{...}" : "null") + ',' + i + ',' + (string != null ? "{...}" : "null") + ',' + i_10_ + ')')); - } - } - - static final void method2498(Class338 class338, ha var_ha, byte i, int i_18_) { - try { - anInt6395++; - if (i > -101) anIntArray6393 = null; - if (Player.anIntArray10566 != null && class338.aByte4181 >= i_18_) { - for (int i_19_ = 0; (i_19_ < Player.anIntArray10566.length); i_19_++) { - if ((Player.anIntArray10566[i_19_] != -1000000) && (((Player.anIntArray10566[i_19_]) >= class338.anIntArray4191[0]) || (class338.anIntArray4191[1] <= (Player.anIntArray10566[i_19_])) || (class338.anIntArray4191[2] <= (Player.anIntArray10566[i_19_])) || ((Player.anIntArray10566[i_19_]) >= class338.anIntArray4191[3])) && ((class338.anIntArray4187[0] <= Class59_Sub1_Sub2.anIntArray8666[i_19_]) || (class338.anIntArray4187[1] <= Class59_Sub1_Sub2.anIntArray8666[i_19_]) || (class338.anIntArray4187[2] <= Class59_Sub1_Sub2.anIntArray8666[i_19_]) || (Class59_Sub1_Sub2.anIntArray8666[i_19_] >= class338.anIntArray4187[3])) && ((class338.anIntArray4187[0] >= Class250.anIntArray3220[i_19_]) || (Class250.anIntArray3220[i_19_] <= class338.anIntArray4187[1]) || (class338.anIntArray4187[2] >= Class250.anIntArray3220[i_19_]) || (Class250.anIntArray3220[i_19_] <= class338.anIntArray4187[3])) && ((Class299_Sub2_Sub1.anIntArray8712[i_19_] >= class338.anIntArray4184[0]) || (Class299_Sub2_Sub1.anIntArray8712[i_19_] >= class338.anIntArray4184[1]) || (class338.anIntArray4184[2] <= Class299_Sub2_Sub1.anIntArray8712[i_19_]) || (Class299_Sub2_Sub1.anIntArray8712[i_19_] >= class338.anIntArray4184[3])) && ((class338.anIntArray4184[0] >= client.anIntArray5176[i_19_]) || (class338.anIntArray4184[1] >= client.anIntArray5176[i_19_]) || (class338.anIntArray4184[2] >= client.anIntArray5176[i_19_]) || (class338.anIntArray4184[3] >= client.anIntArray5176[i_19_]))) - return; - } - } - if (class338.aByte4192 == 1) { - int i_20_ = (Class318_Sub1_Sub4_Sub1.anInt10084 + (-Class239_Sub25.anInt6111 + class338.aShort4185)); - if (i_20_ >= 0 && i_20_ <= (Class318_Sub1_Sub4_Sub1.anInt10084 + Class318_Sub1_Sub4_Sub1.anInt10084)) { - int i_21_ = (Class318_Sub1_Sub4_Sub1.anInt10084 + class338.aShort4193 - Class285_Sub2.anInt8502); - if (i_21_ < 0) i_21_ = 0; - else if ((Class318_Sub1_Sub4_Sub1.anInt10084 + Class318_Sub1_Sub4_Sub1.anInt10084) < i_21_) return; - int i_22_ = (-Class285_Sub2.anInt8502 + (class338.aShort4190 - -Class318_Sub1_Sub4_Sub1.anInt10084)); - if ((Class318_Sub1_Sub4_Sub1.anInt10084 - -Class318_Sub1_Sub4_Sub1.anInt10084) < i_22_) i_22_ = (Class318_Sub1_Sub4_Sub1.anInt10084 - -Class318_Sub1_Sub4_Sub1.anInt10084); - else if (i_22_ < 0) return; - boolean bool = false; - while (i_22_ >= i_21_) { - if (Class99.aBooleanArrayArray1572[i_20_][i_21_++]) { - bool = true; - break; - } - } - if (bool) { - float f = (float) (Class141.anInt1974 - (class338.anIntArray4187[0])); - if (f < 0.0F) f *= -1.0F; - if (!(f < (float) Class11.anInt194) && Class354.method3465(0, 1, class338) && Class354.method3465(1, 1, class338) && Class354.method3465(2, 1, class338) && Class354.method3465(3, 1, class338)) - Class348_Sub42_Sub19.aClass338Array9700[Class348_Sub42_Sub10.anInt9577++] = class338; - } - } - } else if (class338.aByte4192 == 2) { - int i_23_ = (Class318_Sub1_Sub4_Sub1.anInt10084 + (class338.aShort4193 - Class285_Sub2.anInt8502)); - if (i_23_ >= 0 && i_23_ <= (Class318_Sub1_Sub4_Sub1.anInt10084 + Class318_Sub1_Sub4_Sub1.anInt10084)) { - int i_24_ = (class338.aShort4185 + (-Class239_Sub25.anInt6111 + Class318_Sub1_Sub4_Sub1.anInt10084)); - if (i_24_ >= 0) { - if (i_24_ > (Class318_Sub1_Sub4_Sub1.anInt10084 + Class318_Sub1_Sub4_Sub1.anInt10084)) return; - } else i_24_ = 0; - int i_25_ = (-Class239_Sub25.anInt6111 + (class338.aShort4182 - -Class318_Sub1_Sub4_Sub1.anInt10084)); - if ((Class318_Sub1_Sub4_Sub1.anInt10084 + Class318_Sub1_Sub4_Sub1.anInt10084) >= i_25_) { - if (i_25_ < 0) return; - } else i_25_ = (Class318_Sub1_Sub4_Sub1.anInt10084 + Class318_Sub1_Sub4_Sub1.anInt10084); - boolean bool = false; - while (i_24_ <= i_25_) { - if (Class99.aBooleanArrayArray1572[i_24_++][i_23_]) { - bool = true; - break; - } - } - if (bool) { - float f = (float) (Class348_Sub40_Sub27.anInt9360 - (class338.anIntArray4184[0])); - if (f < 0.0F) f *= -1.0F; - if (!(f < (float) Class11.anInt194) && Class354.method3465(0, 1, class338) && Class354.method3465(1, 1, class338) && Class354.method3465(2, 1, class338) && Class354.method3465(3, 1, class338)) - Class348_Sub42_Sub19.aClass338Array9700[Class348_Sub42_Sub10.anInt9577++] = class338; - } - } - } else if (class338.aByte4192 == 16 || class338.aByte4192 == 8) { - int i_26_ = (Class318_Sub1_Sub4_Sub1.anInt10084 + (-Class239_Sub25.anInt6111 + class338.aShort4185)); - if (i_26_ >= 0 && i_26_ <= (Class318_Sub1_Sub4_Sub1.anInt10084 - -Class318_Sub1_Sub4_Sub1.anInt10084)) { - int i_27_ = (class338.aShort4193 + (-Class285_Sub2.anInt8502 - -Class318_Sub1_Sub4_Sub1.anInt10084)); - if (i_27_ >= 0 && ((Class318_Sub1_Sub4_Sub1.anInt10084 - -Class318_Sub1_Sub4_Sub1.anInt10084) >= i_27_) && Class99.aBooleanArrayArray1572[i_26_][i_27_]) { - float f = (float) (Class141.anInt1974 - (class338.anIntArray4187[0])); - if (f < 0.0F) f *= -1.0F; - float f_28_ = (float) (Class348_Sub40_Sub27.anInt9360 + -(class338.anIntArray4184[0])); - if (f_28_ < 0.0F) f_28_ *= -1.0F; - if ((!(f < (float) Class11.anInt194) || !((float) Class11.anInt194 > f_28_)) && Class354.method3465(0, 1, class338) && Class354.method3465(1, 1, class338) && Class354.method3465(2, 1, class338) && Class354.method3465(3, 1, class338)) - Class348_Sub42_Sub19.aClass338Array9700[Class348_Sub42_Sub10.anInt9577++] = class338; - } - } - } else if (class338.aByte4192 == 4) { - float f = (float) (-Class232.anInt3006 + class338.anIntArray4191[0]); - if (!(f <= (float) ha_Sub2.anInt7714)) { - int i_29_ = (Class318_Sub1_Sub4_Sub1.anInt10084 + -Class285_Sub2.anInt8502 + class338.aShort4193); - if (i_29_ >= 0) { - if ((Class318_Sub1_Sub4_Sub1.anInt10084 + Class318_Sub1_Sub4_Sub1.anInt10084) < i_29_) return; - } else i_29_ = 0; - int i_30_ = (Class318_Sub1_Sub4_Sub1.anInt10084 + -Class285_Sub2.anInt8502 + class338.aShort4190); - if (i_30_ <= (Class318_Sub1_Sub4_Sub1.anInt10084 + Class318_Sub1_Sub4_Sub1.anInt10084)) { - if (i_30_ < 0) return; - } else i_30_ = (Class318_Sub1_Sub4_Sub1.anInt10084 - -Class318_Sub1_Sub4_Sub1.anInt10084); - int i_31_ = (-Class239_Sub25.anInt6111 + (class338.aShort4185 + Class318_Sub1_Sub4_Sub1.anInt10084)); - if (i_31_ < 0) i_31_ = 0; - else if (i_31_ > (Class318_Sub1_Sub4_Sub1.anInt10084 + Class318_Sub1_Sub4_Sub1.anInt10084)) return; - int i_32_ = (Class318_Sub1_Sub4_Sub1.anInt10084 + class338.aShort4182 - Class239_Sub25.anInt6111); - if ((Class318_Sub1_Sub4_Sub1.anInt10084 - -Class318_Sub1_Sub4_Sub1.anInt10084) < i_32_) i_32_ = (Class318_Sub1_Sub4_Sub1.anInt10084 + Class318_Sub1_Sub4_Sub1.anInt10084); - else if (i_32_ < 0) return; - boolean bool = false; - while_102_: - for (int i_33_ = i_31_; i_33_ <= i_32_; i_33_++) { - for (int i_34_ = i_29_; i_30_ >= i_34_; i_34_++) { - if (Class99.aBooleanArrayArray1572[i_33_][i_34_]) { - bool = true; - break while_102_; - } - } - } - if (bool && Class354.method3465(0, 1, class338) && Class354.method3465(1, 1, class338) && Class354.method3465(2, 1, class338) && Class354.method3465(3, 1, class338)) Class348_Sub42_Sub19.aClass338Array9700[Class348_Sub42_Sub10.anInt9577++] = class338; - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("vo.A(" + (class338 != null ? "{...}" : "null") + ',' + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + i_18_ + ')')); - } - } - - static final boolean method2499(int i, int i_35_, int i_36_, int i_37_, int i_38_, byte i_39_, int i_40_) { - anInt6398++; - if (!Class348_Sub40_Sub23.aBoolean9307 || !Class23.aBoolean351) return false; - if (Class225.anInt2946 < 100) return false; - if (i_38_ == i_40_ && i_36_ == i_35_) { - if (!aa_Sub2.method164(i, i_38_, (byte) -97, i_36_)) return false; - int i_41_ = i_38_ << Class362.anInt4459; - int i_42_ = i_36_ << Class362.anInt4459; - if (Class121.method1084(i_37_, Class270.anInt3465, i_42_, i_41_, aa_Sub1.aSArray5191[i].method3982((byte) -86, i_36_, i_38_), Class270.anInt3465, 18507)) { - Class348_Sub40_Sub4.anInt9112++; - return true; - } - return false; - } - if (i_39_ <= 101) method2499(66, -39, -55, 105, 96, (byte) 114, -44); - for (int i_43_ = i_38_; i_43_ <= i_40_; i_43_++) { - for (int i_44_ = i_36_; i_44_ <= i_35_; i_44_++) { - if (Class354.anIntArrayArrayArray4356[i][i_43_][i_44_] == -Class234.anInt3049) return false; - } - } - int i_45_ = (i_38_ << Class362.anInt4459) + 1; - int i_46_ = (i_36_ << Class362.anInt4459) + 2; - if (!Class121.method1084(i_37_, (1 + -i_38_ + i_40_) * Class270.anInt3465, i_46_, i_45_, aa_Sub1.aSArray5191[i].method3982((byte) -86, i_36_, i_38_), Class270.anInt3465 * (i_35_ + -i_36_ + 1), 18507)) return false; - Class348_Sub40_Sub4.anInt9112++; - return true; - } -} diff --git a/client/src/Class318_Sub3.java b/client/src/Class318_Sub3.java deleted file mode 100644 index ad9e18aba..000000000 --- a/client/src/Class318_Sub3.java +++ /dev/null @@ -1,38 +0,0 @@ -/* Class318_Sub3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class318_Sub3 extends Class318 { - boolean aBoolean6401 = false; - int anInt6402; - int anInt6403; - int anInt6404; - int anInt6405; - int anInt6406; - - final boolean method2500(int i, int i_0_) { - if (!this.aBoolean6401) return false; - int i_1_ = (this.anInt6406 - this.anInt6405); - int i_2_ = (this.anInt6404 - this.anInt6402); - int i_3_ = i_1_ * i_1_ + i_2_ * i_2_; - int i_4_ = (i * i_1_ + i_0_ * i_2_ - (this.anInt6405 * i_1_ + this.anInt6402 * i_2_)); - if (i_4_ <= 0) { - int i_5_ = this.anInt6405 - i; - int i_6_ = this.anInt6402 - i_0_; - return i_5_ * i_5_ + i_6_ * i_6_ < (this.anInt6403 * this.anInt6403); - } - if (i_4_ > i_3_) { - int i_7_ = this.anInt6406 - i; - int i_8_ = this.anInt6404 - i_0_; - return i_7_ * i_7_ + i_8_ * i_8_ < (this.anInt6403 * this.anInt6403); - } - i_4_ = (i_4_ << 10) / i_3_; - int i_9_ = this.anInt6405 + (i_1_ * i_4_ >> 10) - i; - int i_10_ = this.anInt6402 + (i_2_ * i_4_ >> 10) - i_0_; - return i_9_ * i_9_ + i_10_ * i_10_ < (this.anInt6403 * this.anInt6403); - } - - public Class318_Sub3() { - /* empty */ - } -} diff --git a/client/src/Class318_Sub4.java b/client/src/Class318_Sub4.java deleted file mode 100644 index 4641c87e5..000000000 --- a/client/src/Class318_Sub4.java +++ /dev/null @@ -1,122 +0,0 @@ -/* Class318_Sub4 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class318_Sub4 extends Class318 { - static int anInt6407; - static int anInt6408; - boolean aBoolean6409; - Class318_Sub1 aClass318_Sub1_6410; - static int anInt6411 = 0; - static int anInt6412; - static int anInt6413; - Class318_Sub3[] aClass318_Sub3Array6414; - - static final aa_Sub2 method2501(int i, ha_Sub3 var_ha_Sub3, int[] is, byte i_0_, int[] is_1_, int i_2_) { - try { - if (i_0_ >= -32) method2502(null, -18); - anInt6412++; - if (var_ha_Sub3.method3880(Class68.aClass68_1183, Class348_Sub40_Sub38.aClass304_9471, (byte) 125)) { - byte[] is_3_ = new byte[i * i_2_]; - for (int i_4_ = 0; i > i_4_; i_4_++) { - int i_5_ = is[i_4_] + i_2_ * i_4_; - for (int i_6_ = 0; is_1_[i_4_] > i_6_; i_6_++) - is_3_[i_5_++] = (byte) -1; - } - return new aa_Sub2(var_ha_Sub3, i_2_, i, is_3_); - } - int[] is_7_ = new int[i * i_2_]; - for (int i_8_ = 0; i > i_8_; i_8_++) { - int i_9_ = is[i_8_] + i_8_ * i_2_; - for (int i_10_ = 0; i_10_ < is_1_[i_8_]; i_10_++) - is_7_[i_9_++] = -16777216; - } - return new aa_Sub2(var_ha_Sub3, i_2_, i, is_7_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("jda.A(" + i + ',' + (var_ha_Sub3 != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ',' + i_0_ + ',' + (is_1_ != null ? "{...}" : "null") + ',' + i_2_ + ')')); - } - } - - static final Class348_Sub42_Sub19 method2502(byte[] is, int i) { - if (i >= -76) return null; - anInt6413++; - Class348_Sub42_Sub19 class348_sub42_sub19 = new Class348_Sub42_Sub19(); - Class348_Sub49 class348_sub49 = new Class348_Sub49(is); - class348_sub49.anInt7197 = -2 + class348_sub49.aByteArray7154.length; - int i_11_ = class348_sub49.readUnsignedShort(842397944); - int i_12_ = -12 + -i_11_ + (-2 + (class348_sub49.aByteArray7154).length); - class348_sub49.anInt7197 = i_12_; - int i_13_ = class348_sub49.readInt((byte) -126); - class348_sub42_sub19.anInt9688 = class348_sub49.readUnsignedShort(842397944); - class348_sub42_sub19.anInt9689 = class348_sub49.readUnsignedShort(842397944); - class348_sub42_sub19.anInt9697 = class348_sub49.readUnsignedShort(842397944); - class348_sub42_sub19.anInt9695 = class348_sub49.readUnsignedShort(842397944); - int i_14_ = class348_sub49.readUnsignedByte(255); - if (i_14_ > 0) { - class348_sub42_sub19.aClass356Array9693 = new Class356[i_14_]; - for (int i_15_ = 0; i_15_ < i_14_; i_15_++) { - int i_16_ = class348_sub49.readUnsignedShort(842397944); - Class356 class356 = new Class356(Class33.method340(i_16_, (byte) 108)); - class348_sub42_sub19.aClass356Array9693[i_15_] = class356; - while (i_16_-- > 0) { - int i_17_ = class348_sub49.readInt((byte) -126); - int i_18_ = class348_sub49.readInt((byte) -126); - class356.method3483((byte) 124, i_17_, new Class348_Sub35(i_18_)); - } - } - } - class348_sub49.anInt7197 = 0; - class348_sub42_sub19.aString9690 = class348_sub49.method3384(107); - class348_sub42_sub19.anIntArray9694 = new int[i_13_]; - class348_sub42_sub19.anIntArray9696 = new int[i_13_]; - class348_sub42_sub19.aStringArray9692 = new String[i_13_]; - int i_19_ = 0; - while (class348_sub49.anInt7197 < i_12_) { - int i_20_ = class348_sub49.readUnsignedShort(842397944); - if (i_20_ != 3) { - if (i_20_ >= 100 || i_20_ == 21 || i_20_ == 38 || i_20_ == 39) class348_sub42_sub19.anIntArray9694[i_19_] = class348_sub49.readUnsignedByte(255); - else class348_sub42_sub19.anIntArray9694[i_19_] = class348_sub49.readInt((byte) -126); - } else class348_sub42_sub19.aStringArray9692[i_19_] = class348_sub49.readString((byte) -98).intern(); - class348_sub42_sub19.anIntArray9696[i_19_++] = i_20_; - } - return class348_sub42_sub19; - } - - static final boolean method2503(int i, int i_21_, int i_22_, byte[] is, int i_23_, int i_24_, int i_25_) { - anInt6408++; - int i_26_ = i_23_ % i_22_; - int i_27_; - if (i_26_ != 0) i_27_ = i_22_ - i_26_; - else i_27_ = 0; - int i_28_ = -((-1 + (i_22_ + i_25_)) / i_22_); - if (i_24_ != -16259) method2501(-113, null, null, (byte) 40, null, -110); - int i_29_ = -((i_22_ + i_23_ + -1) / i_22_); - for (int i_30_ = i_28_; i_30_ < 0; i_30_++) { - for (int i_31_ = i_29_; i_31_ < 0; i_31_++) { - if (is[i_21_] == 0) return true; - i_21_ += i_22_; - } - i_21_ -= i_27_; - if (is[-1 + i_21_] == 0) return true; - i_21_ += i; - } - return false; - } - - final boolean method2504(int i, int i_32_, ha var_ha, int i_33_) { - if (i_33_ >= -37) method2502(null, -82); - anInt6407++; - int i_34_ = this.aClass318_Sub1_6410.method2393(-117); - if (this.aClass318_Sub3Array6414 != null) { - for (int i_35_ = 0; this.aClass318_Sub3Array6414.length > i_35_; i_35_++) { - this.aClass318_Sub3Array6414[i_35_].anInt6403 <<= i_34_; - if (this.aClass318_Sub3Array6414[i_35_].method2500(i_32_, i) && this.aClass318_Sub1_6410.method2391(var_ha, i, i_32_, 0)) { - this.aClass318_Sub3Array6414[i_35_].anInt6403 >>= i_34_; - return true; - } - this.aClass318_Sub3Array6414[i_35_].anInt6403 >>= i_34_; - } - } - return false; - } -} diff --git a/client/src/Class318_Sub5.java b/client/src/Class318_Sub5.java deleted file mode 100644 index 20fb31d22..000000000 --- a/client/src/Class318_Sub5.java +++ /dev/null @@ -1,24 +0,0 @@ -/* Class318_Sub5 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class318_Sub5 extends Class318 { - int anInt6415; - String aString6416; - static int anInt6417; - int anInt6418; - int anInt6419; - int anInt6420; - int anInt6421; - int anInt6422; - static int anInt6423; - - static final void method2505(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_) { - anInt6423++; - aa_Sub2.method165(i_4_, i_2_, i_0_, i_3_, i_7_, i_1_, i_5_, (byte) 61, i, i_6_); - } - - public Class318_Sub5() { - /* empty */ - } -} diff --git a/client/src/Class318_Sub6.java b/client/src/Class318_Sub6.java deleted file mode 100644 index 4c4aaf5c8..000000000 --- a/client/src/Class318_Sub6.java +++ /dev/null @@ -1,22 +0,0 @@ -/* Class318_Sub6 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class318_Sub6 extends Class318 { - static Class114 aClass114_6424 = new Class114(82, 4); - int anInt6425; - int anInt6426; - int anInt6427; - static short[] aShortArray6428; - int anInt6429; - static float aFloat6430; - Class318_Sub1_Sub3_Sub3 aClass318_Sub1_Sub3_Sub3_6431; - static int[] anIntArray6432; - - public static void method2506(byte i) { - aShortArray6428 = null; - anIntArray6432 = null; - if (i != -46) method2506((byte) -93); - aClass114_6424 = null; - } -} diff --git a/client/src/Class318_Sub7.java b/client/src/Class318_Sub7.java deleted file mode 100644 index 5baa3f6cb..000000000 --- a/client/src/Class318_Sub7.java +++ /dev/null @@ -1,417 +0,0 @@ -/* Class318_Sub7 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class318_Sub7 extends Class318 { - Class243 aClass243_6433; - private int anInt6434 = 0; - private final long aLong6435; - Class129 aClass129_6436; - static int anInt6437; - static int anInt6438; - Class318_Sub10 aClass318_Sub10_6439; - static int anInt6440; - Class181 aClass181_6441; - static int anInt6442; - static Class351 aClass351_6443 = new Class351(68, 2); - Class284 aClass284_6444; - static int anInt6445; - boolean aBoolean6446 = false; - int anInt6447; - static int anInt6448; - private Class284 aClass284_6449; - static int anInt6450 = 0; - static int anInt6451; - private int anInt6452; - private boolean aBoolean6453; - private int anInt6454; - private int anInt6455; - private int anInt6456; - private int anInt6457; - private int anInt6458; - private int anInt6459; - - final void method2507(boolean bool) { - this.aClass284_6444.anInt3670 = this.aClass129_6436.anInt1890; - anInt6448++; - this.aClass284_6444.anInt3666 = this.aClass129_6436.anInt1889; - this.aClass284_6444.anInt3668 = this.aClass129_6436.anInt1883; - this.aClass284_6444.anInt3669 = this.aClass129_6436.anInt1874; - this.aClass284_6444.anInt3680 = this.aClass129_6436.anInt1876; - this.aClass284_6444.anInt3679 = this.aClass129_6436.anInt1880; - this.aClass284_6444.anInt3678 = this.aClass129_6436.anInt1891; - this.aClass284_6444.anInt3672 = this.aClass129_6436.anInt1884; - if (bool == true) { - this.aClass284_6444.anInt3675 = this.aClass129_6436.anInt1882; - if ((this.aClass284_6444.anInt3675 == (this.aClass284_6444.anInt3668)) && ((this.aClass284_6444.anInt3680) == (this.aClass284_6444.anInt3668)) && ((this.aClass284_6444.anInt3670) == (this.aClass284_6444.anInt3678)) && ((this.aClass284_6444.anInt3669) == (this.aClass284_6444.anInt3670)) && ((this.aClass284_6444.anInt3679) == (this.aClass284_6444.anInt3666)) && ((this.aClass284_6444.anInt3679) == (this.aClass284_6444.anInt3672))) - aBoolean6453 = true; - else if (aBoolean6453) { - aClass284_6449.anInt3678 = (this.aClass284_6444.anInt3678); - aBoolean6453 = false; - aClass284_6449.anInt3672 = (this.aClass284_6444.anInt3672); - aClass284_6449.anInt3666 = (this.aClass284_6444.anInt3666); - aClass284_6449.anInt3670 = (this.aClass284_6444.anInt3670); - aClass284_6449.anInt3668 = (this.aClass284_6444.anInt3668); - aClass284_6449.anInt3679 = (this.aClass284_6444.anInt3679); - aClass284_6449.anInt3675 = (this.aClass284_6444.anInt3675); - aClass284_6449.anInt3669 = (this.aClass284_6444.anInt3669); - aClass284_6449.anInt3680 = (this.aClass284_6444.anInt3680); - } - } - } - - public static void method2508(int i) { - if (i != 32767) method2512(null, null, 5); - aClass351_6443 = null; - } - - static final void method2509(int i, int i_0_, ha var_ha, int i_1_, int i_2_, boolean bool, int i_3_, int i_4_) { - anInt6438++; - if (bool != true) anInt6451 = -14; - var_ha.method3675(i, (byte) -125, i_1_, i_0_, i_3_, i_2_); - var_ha.method3675(i - 2, (byte) -125, 1 + i_1_, 1 + i_0_, 16, i_4_); - var_ha.method3668(-2 + i, 18 + i_0_, i_4_, 1 + i_1_, -19 + i_3_, 115); - } - - static final boolean method2510(Class45 class45, Class348_Sub16_Sub3 class348_sub16_sub3, Class45 class45_5_, boolean bool, Class279 class279, Class45 class45_6_) { - try { - Class318_Sub1_Sub4.aClass279_8764 = class279; - Class98.aClass348_Sub16_Sub3_1564 = class348_sub16_sub3; - Class43.aClass45_611 = class45; - Class367_Sub9.aClass45_7371 = class45_6_; - Class333.aClass45_4147 = class45_5_; - Class367_Sub3.anIntArray7299 = new int[16]; - if (bool != false) anInt6451 = 71; - anInt6442++; - for (int i = 0; i < 16; i++) - Class367_Sub3.anIntArray7299[i] = 255; - return true; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("rba.G(" + (class45 != null ? "{...}" : "null") + ',' + (class348_sub16_sub3 != null ? "{...}" : "null") + ',' + (class45_5_ != null ? "{...}" : "null") + ',' + bool + ',' + (class279 != null ? "{...}" : "null") + ',' + (class45_6_ != null ? "{...}" : "null") + ')')); - } - } - - final void method2511(boolean bool, ha var_ha, long l) { - try { - anInt6437++; - if (bool != true) this.aClass243_6433 = null; - for (Class318_Sub9_Sub2_Sub1 class318_sub9_sub2_sub1 = ((Class318_Sub9_Sub2_Sub1) this.aClass243_6433.method1872(8)); class318_sub9_sub2_sub1 != null; class318_sub9_sub2_sub1 = (Class318_Sub9_Sub2_Sub1) this.aClass243_6433.method1878((byte) 126)) - class318_sub9_sub2_sub1.method2522(var_ha, l); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("rba.F(" + bool + ',' + (var_ha != null ? "{...}" : "null") + ',' + l + ')')); - } - } - - static final void method2512(d var_d, ha var_ha, int i) { - try { - anInt6440++; - if (Class75.aClass348_Sub42_Sub14_1243 != null) { - if (Class348.anInt4290 < 10) { - if (!Class75.aClass45_1237.method413(100, Class75.aClass348_Sub42_Sub14_1243.aString9625)) { - Class348.anInt4290 = (Class348_Sub32.aClass45_6950.method397((Class75.aClass348_Sub42_Sub14_1243.aString9625), 0)) / 10; - return; - } - InputStream_Sub1.method126(-16203); - Class348.anInt4290 = 10; - } - if (Class348.anInt4290 == 10) { - Class75.anInt1266 = (Class75.aClass348_Sub42_Sub14_1243.anInt9644 >> 6 << 6); - Class75.anInt1263 = (Class75.aClass348_Sub42_Sub14_1243.anInt9643 >> 6 << 6); - Class75.anInt1259 = 64 + ((Class75.aClass348_Sub42_Sub14_1243.anInt9635 >> 6 << 6) - Class75.anInt1266); - Class75.anInt1267 = 64 + ((Class75.aClass348_Sub42_Sub14_1243.anInt9627 >> 6 << 6) - Class75.anInt1263); - int[] is = new int[3]; - int i_7_ = -1; - int i_8_ = -1; - if (Class75.aClass348_Sub42_Sub14_1243.method3236(is, (za_Sub2.regionTileX - -((Class132.aPlayer_1907.x) >> 9)), ((Class132.aPlayer_1907.y) >> 9) + Class90.regionTileY, (Class132.aPlayer_1907.plane), (byte) -28)) { - i_7_ = -Class75.anInt1266 + is[1]; - i_8_ = -Class75.anInt1263 + is[2]; - } - if (Class88.aBoolean1500 || i_7_ < 0 || Class75.anInt1259 <= i_7_ || i_8_ < 0 || Class75.anInt1267 <= i_8_) { - if (Class239_Sub7.anInt5909 == -1 || Class339.anInt4202 == -1) { - Class75.aClass348_Sub42_Sub14_1243.method3242(is, 123, 0x3fff & (Class75.aClass348_Sub42_Sub14_1243.anInt9640), (Class75.aClass348_Sub42_Sub14_1243.anInt9640) >> 14 & 0x3fff); - Class245.anInt3170 = is[2] - Class75.anInt1263; - Class348_Sub36.anInt6992 = is[1] - Class75.anInt1266; - } else { - Class75.aClass348_Sub42_Sub14_1243.method3242(is, 88, Class339.anInt4202, Class239_Sub7.anInt5909); - Class239_Sub7.anInt5909 = Class339.anInt4202 = -1; - if (is != null) { - Class348_Sub36.anInt6992 = -Class75.anInt1266 + is[1]; - Class245.anInt3170 = -Class75.anInt1263 + is[2]; - } - Class88.aBoolean1500 = false; - } - } else { - i_7_ += (int) (10.0 * Math.random()) + -5; - i_8_ += (int) (Math.random() * 10.0) + -5; - Class348_Sub36.anInt6992 = i_7_; - Class245.anInt3170 = i_8_; - } - if (Class75.aClass348_Sub42_Sub14_1243.anInt9631 != 37) { - if (Class75.aClass348_Sub42_Sub14_1243.anInt9631 != 50) { - if (Class75.aClass348_Sub42_Sub14_1243.anInt9631 != 75) { - if ((Class75.aClass348_Sub42_Sub14_1243.anInt9631) == 100) Class75.aFloat1249 = Class75.aFloat1247 = 8.0F; - else if ((Class75.aClass348_Sub42_Sub14_1243.anInt9631) != 200) Class75.aFloat1249 = Class75.aFloat1247 = 8.0F; - else Class75.aFloat1249 = Class75.aFloat1247 = 16.0F; - } else Class75.aFloat1249 = Class75.aFloat1247 = 6.0F; - } else Class75.aFloat1249 = Class75.aFloat1247 = 4.0F; - } else Class75.aFloat1249 = Class75.aFloat1247 = 3.0F; - Class75.anInt1255 = (int) Class75.aFloat1247 >> 1; - Class75.aByteArrayArrayArray1251 = Class325.method2596(Class75.anInt1255, 12871); - Class348_Sub15.method2811(false); - Class75.method760(); - Class289.aClass262_3705 = new Class262(); - Class75.anInt1250 += (int) (Math.random() * 5.0) + -2; - if (Class75.anInt1250 < -8) Class75.anInt1250 = -8; - if (Class75.anInt1250 > 8) Class75.anInt1250 = 8; - Class75.anInt1253 += -2 + (int) (5.0 * Math.random()); - if (Class75.anInt1253 < -16) Class75.anInt1253 = -16; - if (Class75.anInt1253 > 16) Class75.anInt1253 = 16; - Class75.method764(var_d, (Class75.anInt1250 >> 2 << 10), Class75.anInt1253 >> 1); - Class75.aClass153_1238.method1220((byte) 73, 256, 1024); - Class75.aClass141_1242.method1178(256, 1, 256); - Class75.aClass263_1245.method2014(4096, true); - Class229.aClass194_2981.method1444(256, 123); - Class348.anInt4290 = 20; - } else if (Class348.anInt4290 == 20) { - Class289.method2193(true, (byte) -123); - Class75.method756(var_ha, Class75.anInt1250, Class75.anInt1253); - Class348.anInt4290 = 60; - Class289.method2193(true, (byte) -122); - Class94.method867(true); - } else if (i <= -43) { - if (Class348.anInt4290 == 60) { - if (Class75.aClass45_1237.method400(-18308, (Class75.aClass348_Sub42_Sub14_1243.aString9625) + "_staticelements")) { - if (!Class75.aClass45_1237.method413(100, (Class75.aClass348_Sub42_Sub14_1243.aString9625) + "_staticelements")) return; - Class75.aClass252_1246 = (Class307.method2300(Class75.aClass45_1237, (Class75.aClass348_Sub42_Sub14_1243.aString9625) + "_staticelements", Class130.aBoolean1900, (byte) -91)); - } else Class75.aClass252_1246 = new Class252(0); - Class75.method761(); - Class348.anInt4290 = 70; - Class289.method2193(true, (byte) -127); - Class94.method867(true); - } else if (Class348.anInt4290 == 70) { - Class125.aClass323_4921 = new Class323(var_ha, 11, true, Class305.aCanvas3869); - Class348.anInt4290 = 73; - Class289.method2193(true, (byte) -123); - Class94.method867(true); - } else if (Class348.anInt4290 == 73) { - Class14_Sub4.aClass323_8644 = new Class323(var_ha, 12, true, Class305.aCanvas3869); - Class348.anInt4290 = 76; - Class289.method2193(true, (byte) -125); - Class94.method867(true); - } else if (Class348.anInt4290 == 76) { - Class39.aClass323_521 = new Class323(var_ha, 14, true, Class305.aCanvas3869); - Class348.anInt4290 = 79; - Class289.method2193(true, (byte) -123); - Class94.method867(true); - } else if (Class348.anInt4290 == 79) { - Class168.aClass323_2252 = new Class323(var_ha, 17, true, Class305.aCanvas3869); - Class348.anInt4290 = 82; - Class289.method2193(true, (byte) -124); - Class94.method867(true); - } else if (Class348.anInt4290 == 82) { - Class176.aClass323_2333 = new Class323(var_ha, 19, true, Class305.aCanvas3869); - Class348.anInt4290 = 85; - Class289.method2193(true, (byte) -128); - Class94.method867(true); - } else if (Class348.anInt4290 == 85) { - Class285.aClass323_4754 = new Class323(var_ha, 22, true, Class305.aCanvas3869); - Class348.anInt4290 = 88; - Class289.method2193(true, (byte) -124); - Class94.method867(true); - } else if (Class348.anInt4290 == 88) { - Class348_Sub3.aClass323_6581 = new Class323(var_ha, 26, true, Class305.aCanvas3869); - Class348.anInt4290 = 91; - Class289.method2193(true, (byte) -125); - Class94.method867(true); - } else { - Class240.aClass323_4672 = new Class323(var_ha, 30, true, Class305.aCanvas3869); - Class348.anInt4290 = 100; - Class289.method2193(true, (byte) -119); - Class94.method867(true); - System.gc(); - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("rba.A(" + (var_d != null ? "{...}" : "null") + ',' + (var_ha != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - final void method2513(ha var_ha, int i, long l, int i_9_, boolean bool) { - do { - try { - if (!this.aBoolean6446) { - if (Class348_Sub6.anInt6637 < (this.aClass181_6441.anInt2379)) bool = false; - else if (Class292.anInt4797 <= (Class275.anIntArray3551[Class348_Sub6.anInt6637])) { - if (!aBoolean6453) { - if (this.aClass181_6441.anInt2425 != -1) { - int i_10_ = (int) (-aLong6435 + l); - if (!(this.aClass181_6441.aBoolean2411) && (this.aClass181_6441.anInt2425) < i_10_) bool = false; - else i_10_ %= (this.aClass181_6441.anInt2425); - if (!(this.aClass181_6441.aBoolean2406) && ((this.aClass181_6441.anInt2393) > i_10_)) bool = false; - if (this.aClass181_6441.aBoolean2406 && (this.aClass181_6441.anInt2393) <= i_10_) bool = false; - } - } else bool = false; - } else bool = false; - } else bool = false; - anInt6445++; - if (bool) { - Class122.anInt1803++; - int i_11_ = (((this.aClass284_6444.anInt3675) + this.aClass284_6444.anInt3668 + this.aClass284_6444.anInt3680) / 3); - int i_12_ = (((this.aClass284_6444.anInt3669) + this.aClass284_6444.anInt3678 + this.aClass284_6444.anInt3670) / 3); - int i_13_ = (((this.aClass284_6444.anInt3672) + this.aClass284_6444.anInt3679 + this.aClass284_6444.anInt3666) / 3); - if (i_11_ != (this.aClass284_6444.anInt3673) || i_12_ != this.aClass284_6444.anInt3667 || i_13_ != (this.aClass284_6444.anInt3671)) { - this.aClass284_6444.anInt3667 = i_12_; - this.aClass284_6444.anInt3673 = i_11_; - this.aClass284_6444.anInt3671 = i_13_; - int i_14_ = (-this.aClass284_6444.anInt3675 + this.aClass284_6444.anInt3668); - int i_15_ = (-this.aClass284_6444.anInt3678 + this.aClass284_6444.anInt3670); - int i_16_ = (-this.aClass284_6444.anInt3666 + this.aClass284_6444.anInt3679); - int i_17_ = (this.aClass284_6444.anInt3680 - this.aClass284_6444.anInt3675); - int i_18_ = (this.aClass284_6444.anInt3669 - this.aClass284_6444.anInt3678); - int i_19_ = (-this.aClass284_6444.anInt3666 + this.aClass284_6444.anInt3672); - anInt6457 = i_17_ * i_16_ + -(i_14_ * i_19_); - anInt6455 = i_15_ * i_19_ + -(i_18_ * i_16_); - for (anInt6458 = -(i_17_ * i_15_) + i_18_ * i_14_; (anInt6455 > 32767 || anInt6457 > 32767 || anInt6458 > 32767 || anInt6455 < -32767 || anInt6457 < -32767 || anInt6458 < -32767); anInt6455 >>= 1) { - anInt6458 >>= 1; - anInt6457 >>= 1; - } - int i_20_ = (int) Math.sqrt(anInt6455 * anInt6455 - (-(anInt6457 * anInt6457) + -(anInt6458 * anInt6458))); - if (i_20_ <= 0) i_20_ = 1; - anInt6455 = anInt6455 * 32767 / i_20_; - anInt6458 = 32767 * anInt6458 / i_20_; - anInt6457 = 32767 * anInt6457 / i_20_; - if ((this.aClass181_6441.aShort2415) > 0 || this.aClass181_6441.aShort2441 > 0) { - int i_21_ = (int) (2607.5945876176133 * Math.atan2(anInt6458, anInt6455)); - int i_22_ = (int) (2607.5945876176133 * (Math.atan2(anInt6457, (Math.sqrt(anInt6458 * anInt6458 + (anInt6455 * anInt6455)))))); - anInt6456 = (this.aClass181_6441.aShort2415 - (this.aClass181_6441.aShort2431)); - anInt6459 = (this.aClass181_6441.aShort2431 + i_21_ - (anInt6456 >> 1)); - anInt6454 = (-this.aClass181_6441.aShort2418 + (this.aClass181_6441.aShort2441)); - anInt6452 = i_22_ - (-(this.aClass181_6441.aShort2418) - -(anInt6454 >> 1)); - } - } - anInt6434 += (int) ((((double) (-this.aClass181_6441.anInt2391 + this.aClass181_6441.anInt2389) * Math.random()) + (double) this.aClass181_6441.anInt2391) * (double) i); - if (anInt6434 > 63) { - int i_23_ = anInt6434 >> 6; - anInt6434 &= 0x3f; - for (int i_24_ = 0; i_24_ < i_23_; i_24_++) { - int i_25_; - int i_26_; - int i_27_; - if (this.aClass181_6441.aShort2415 <= 0 && this.aClass181_6441.aShort2441 <= 0) { - i_25_ = anInt6455; - i_27_ = anInt6458; - i_26_ = anInt6457; - } else { - int i_28_ = ((int) (Math.random() * (double) anInt6456) + anInt6459); - i_28_ &= 0x3fff; - int i_29_ = Class70.anIntArray1207[i_28_]; - int i_30_ = Class70.anIntArray1204[i_28_]; - int i_31_ = anInt6452 + (int) ((double) anInt6454 * Math.random()); - i_31_ &= 0x1fff; - int i_32_ = Class70.anIntArray1207[i_31_]; - int i_33_ = Class70.anIntArray1204[i_31_]; - int i_34_ = 13; - i_25_ = i_32_ * i_30_ >> i_34_; - i_26_ = -1 * (i_33_ << 1); - i_27_ = i_32_ * i_29_ >> i_34_; - } - float f = (float) Math.random(); - float f_35_ = (float) Math.random(); - if (f + f_35_ > 1.0F) { - f_35_ = 1.0F - f_35_; - f = -f + 1.0F; - } - float f_36_ = 1.0F - (f + f_35_); - int i_37_ = (int) (((float) this.aClass284_6444.anInt3680 * f_36_) + (f * (float) (this.aClass284_6444.anInt3675) + (f_35_ * (float) (this.aClass284_6444.anInt3668)))); - int i_38_ = (int) (f * (float) (this.aClass284_6444.anInt3678) + (float) (this.aClass284_6444.anInt3670) * f_35_ + (float) (this.aClass284_6444.anInt3669) * f_36_); - int i_39_ = (int) (((float) this.aClass284_6444.anInt3666 * f) + (float) (this.aClass284_6444.anInt3679) * f_35_ + (f_36_ * (float) (this.aClass284_6444.anInt3672))); - int i_40_ = (int) ((float) (aClass284_6449.anInt3680) * f_36_ + (f_35_ * (float) (aClass284_6449.anInt3668) + f * (float) (aClass284_6449.anInt3675))); - int i_41_ = (int) ((float) (aClass284_6449.anInt3670) * f_35_ + (float) (aClass284_6449.anInt3678) * f + (float) (aClass284_6449.anInt3669) * f_36_); - int i_42_ = (int) ((float) (aClass284_6449.anInt3672) * f_36_ + (((float) aClass284_6449.anInt3666 * f) + (float) (aClass284_6449.anInt3679) * f_35_)); - int i_43_ = i_37_ - i_40_; - int i_44_ = -i_41_ + i_38_; - int i_45_ = i_39_ + -i_42_; - int i_46_ = (int) ((double) i_43_ * Math.random() + (double) i_40_); - int i_47_ = (int) ((double) i_41_ + (double) i_44_ * Math.random()); - int i_48_ = (int) ((double) i_42_ + (double) i_45_ * Math.random()); - int i_49_ = ((int) (Math.random() * (double) ((this.aClass181_6441.anInt2438) + -(this.aClass181_6441.anInt2392))) + this.aClass181_6441.anInt2392); - int i_50_ = (this.aClass181_6441.anInt2394 + (int) ((double) (-(this.aClass181_6441.anInt2394) + (this.aClass181_6441.anInt2407)) * Math.random())); - int i_51_ = ((int) ((double) ((this.aClass181_6441.anInt2417) - (this.aClass181_6441.anInt2442)) * Math.random()) + this.aClass181_6441.anInt2442); - int i_52_; - if (this.aClass181_6441.aBoolean2443) { - double d = Math.random(); - i_52_ = ((int) (d * (double) (this.aClass181_6441.anInt2408) + (double) (this.aClass181_6441.anInt2399)) | (((int) ((double) (this.aClass181_6441.anInt2433) * d + (double) (this.aClass181_6441.anInt2429)) << 16) | (int) ((double) (this.aClass181_6441.anInt2390) + ((double) (this.aClass181_6441.anInt2403) * d)) << 8) | (int) ((double) (this.aClass181_6441.anInt2413) + ((double) (this.aClass181_6441.anInt2410) * (Math.random()))) << 24); - } else - i_52_ = (((int) (((double) (this.aClass181_6441.anInt2410) * Math.random()) + (double) (this.aClass181_6441.anInt2413)) << 24) | (((int) ((Math.random() * (double) (this.aClass181_6441.anInt2433)) + (double) (this.aClass181_6441.anInt2429)) << 16) | ((int) ((Math.random() * (double) (this.aClass181_6441.anInt2403)) + (double) (this.aClass181_6441.anInt2390)) << 8) | (int) (((double) (this.aClass181_6441.anInt2408) * Math.random()) + (double) (this.aClass181_6441.anInt2399)))); - int i_53_ = (this.aClass181_6441.anInt2414); - if (!var_ha.method3644() && !(this.aClass181_6441.aBoolean2382)) i_53_ = -1; - if (client.anInt5171 == Class348_Sub1_Sub1.anInt8808) { - Class318_Sub9_Sub2_Sub1 class318_sub9_sub2_sub1 = (new Class318_Sub9_Sub2_Sub1(this, i_46_, i_47_, i_48_, i_25_, i_26_, i_27_, i_49_, i_50_, i_52_, i_51_, i_53_, (this.aClass181_6441.aBoolean2435), (this.aClass181_6441.aBoolean2430))); - } else { - Class318_Sub9_Sub2_Sub1 class318_sub9_sub2_sub1 = (Class239_Sub25.aClass318_Sub9_Sub2_Sub1Array6103[Class348_Sub1_Sub1.anInt8808]); - Class348_Sub1_Sub1.anInt8808 = 0x3ff & 1 + Class348_Sub1_Sub1.anInt8808; - class318_sub9_sub2_sub1.method2523(this, i_46_, i_47_, i_48_, i_25_, i_26_, i_27_, i_49_, i_50_, i_52_, i_51_, i_53_, (this.aClass181_6441.aBoolean2435), (this.aClass181_6441.aBoolean2430)); - } - } - } - } - if (!this.aClass284_6444.method2115(aClass284_6449, true)) { - Class284 class284 = aClass284_6449; - aClass284_6449 = this.aClass284_6444; - this.aClass284_6444 = class284; - this.aClass284_6444.anInt3678 = (this.aClass129_6436.anInt1891); - this.aClass284_6444.anInt3675 = (this.aClass129_6436.anInt1882); - this.aClass284_6444.anInt3670 = (this.aClass129_6436.anInt1890); - this.aClass284_6444.anInt3672 = (this.aClass129_6436.anInt1884); - this.aClass284_6444.anInt3680 = (this.aClass129_6436.anInt1876); - this.aClass284_6444.anInt3679 = (this.aClass129_6436.anInt1880); - this.aClass284_6444.anInt3666 = (this.aClass129_6436.anInt1889); - this.aClass284_6444.anInt3673 = aClass284_6449.anInt3673; - this.aClass284_6444.anInt3669 = (this.aClass129_6436.anInt1874); - this.aClass284_6444.anInt3671 = aClass284_6449.anInt3671; - this.aClass284_6444.anInt3667 = aClass284_6449.anInt3667; - this.aClass284_6444.anInt3668 = (this.aClass129_6436.anInt1883); - } - this.anInt6447 = 0; - for (Class318_Sub9_Sub2_Sub1 class318_sub9_sub2_sub1 = (Class318_Sub9_Sub2_Sub1) this.aClass243_6433.method1872(i_9_ + 5); class318_sub9_sub2_sub1 != null; class318_sub9_sub2_sub1 = ((Class318_Sub9_Sub2_Sub1) this.aClass243_6433.method1878((byte) 122))) { - class318_sub9_sub2_sub1.method2524(l, i); - this.anInt6447++; - } - Class313.anInt3936 += this.anInt6447; - if (i_9_ == 3) break; - method2508(124); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("rba.C(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + l + ',' + i_9_ + ',' + bool + ')')); - } - break; - } while (false); - } - - Class318_Sub7(ha var_ha, Class129 class129, Class318_Sub10 class318_sub10, long l) { - this.aClass284_6444 = new Class284(); - aClass284_6449 = new Class284(); - aBoolean6453 = false; - try { - aLong6435 = l; - this.aClass129_6436 = class129; - this.aClass318_Sub10_6439 = class318_sub10; - this.aClass181_6441 = this.aClass129_6436.method1125((byte) 59); - if (!var_ha.method3644() && (this.aClass181_6441.anInt2387) != -1) this.aClass181_6441 = Class373.method3591((this.aClass181_6441.anInt2387), 0); - this.aClass243_6433 = new Class243(); - anInt6434 += 64.0 * Math.random(); - method2507(true); - aClass284_6449.anInt3680 = this.aClass284_6444.anInt3680; - aClass284_6449.anInt3669 = this.aClass284_6444.anInt3669; - aClass284_6449.anInt3668 = this.aClass284_6444.anInt3668; - aClass284_6449.anInt3675 = this.aClass284_6444.anInt3675; - aClass284_6449.anInt3670 = this.aClass284_6444.anInt3670; - aClass284_6449.anInt3678 = this.aClass284_6444.anInt3678; - aClass284_6449.anInt3666 = this.aClass284_6444.anInt3666; - aClass284_6449.anInt3672 = this.aClass284_6444.anInt3672; - aClass284_6449.anInt3679 = this.aClass284_6444.anInt3679; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("rba.(" + (var_ha != null ? "{...}" : "null") + ',' + (class129 != null ? "{...}" : "null") + ',' + (class318_sub10 != null ? "{...}" : "null") + ',' + l + ')')); - } - } -} diff --git a/client/src/Class318_Sub8.java b/client/src/Class318_Sub8.java deleted file mode 100644 index f57f39254..000000000 --- a/client/src/Class318_Sub8.java +++ /dev/null @@ -1,23 +0,0 @@ -/* Class318_Sub8 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class318_Sub8 extends Class318 { - byte aByte6460; - short[] aShortArray6461; - byte[] aByteArray6462; - byte aByte6463; - byte aByte6464; - int anInt6465; - byte aByte6466; - - Class318_Sub8(int i, int i_0_, int i_1_, int i_2_, int i_3_, short[] is, byte[] is_4_) { - this.aByte6466 = (byte) i; - this.aByte6464 = (byte) i_0_; - this.anInt6465 = i_1_; - this.aByte6460 = (byte) i_2_; - this.aByte6463 = (byte) i_3_; - this.aShortArray6461 = is; - this.aByteArray6462 = is_4_; - } -} diff --git a/client/src/Class318_Sub9.java b/client/src/Class318_Sub9.java deleted file mode 100644 index 10da68088..000000000 --- a/client/src/Class318_Sub9.java +++ /dev/null @@ -1,24 +0,0 @@ -/* Class318_Sub9 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -class Class318_Sub9 extends Class318 { - static int anInt6467; - Class318_Sub9 aClass318_Sub9_6468; - Class318_Sub9 aClass318_Sub9_6469; - - final void method2514(int i) { - anInt6467++; - if (this.aClass318_Sub9_6468 != null) { - this.aClass318_Sub9_6468.aClass318_Sub9_6469 = this.aClass318_Sub9_6469; - this.aClass318_Sub9_6469.aClass318_Sub9_6468 = this.aClass318_Sub9_6468; - this.aClass318_Sub9_6469 = null; - this.aClass318_Sub9_6468 = null; - int i_0_ = 123 / ((6 - i) / 37); - } - } - - public Class318_Sub9() { - /* empty */ - } -} diff --git a/client/src/Class318_Sub9_Sub1.java b/client/src/Class318_Sub9_Sub1.java deleted file mode 100644 index 51d911216..000000000 --- a/client/src/Class318_Sub9_Sub1.java +++ /dev/null @@ -1,69 +0,0 @@ -/* Class318_Sub9_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class318_Sub9_Sub1 extends Class318_Sub9 { - static int anInt8782; - String aString8783; - static float aFloat8784; - static int[] anIntArray8785; - short aShort8786; - int anInt8787 = (int) (Class62.method599(-92) / 1000L); - static int anInt8788; - - static final Class57[] method2515(int i) { - if (i != 1494) method2515(-18); - anInt8782++; - if (Class228.aClass57Array2974 == null) { - Class57[] class57s = Class19.method286((byte) -107, Class348_Sub23_Sub1.aClass297_8992); - Class57[] class57s_0_ = new Class57[class57s.length]; - int i_1_ = 0; - int i_2_ = Class316.aClass348_Sub51_3959.aClass239_Sub23_7231.method1818(-32350); - while_108_: - for (int i_3_ = 0; class57s.length > i_3_; i_3_++) { - Class57 class57 = class57s[i_3_]; - if ((class57.anInt1046 <= 0 || class57.anInt1046 >= 24) && class57.anInt1047 >= 800 && class57.anInt1054 >= 600 && (i_2_ != 2 || (class57.anInt1047 <= 800) && class57.anInt1054 <= 600) && (i_2_ != 1 || ((class57.anInt1047 <= 1024) && (class57.anInt1054 <= 768)))) { - for (int i_4_ = 0; i_4_ < i_1_; i_4_++) { - Class57 class57_5_ = class57s_0_[i_4_]; - if ((class57_5_.anInt1047 == class57.anInt1047) && (class57_5_.anInt1054 == class57.anInt1054)) { - if (class57.anInt1046 > class57_5_.anInt1046) class57s_0_[i_4_] = class57; - continue while_108_; - } - } - class57s_0_[i_1_] = class57; - i_1_++; - } - } - Class228.aClass57Array2974 = new Class57[i_1_]; - Class214.method1575(class57s_0_, 0, Class228.aClass57Array2974, 0, i_1_); - int[] is = new int[Class228.aClass57Array2974.length]; - for (int i_6_ = 0; (Class228.aClass57Array2974.length > i_6_); i_6_++) { - Class57 class57 = Class228.aClass57Array2974[i_6_]; - is[i_6_] = (class57.anInt1047 * class57.anInt1054); - } - Class39.method366(Class228.aClass57Array2974, (byte) -123, is); - } - return Class228.aClass57Array2974; - } - - static final Class348_Sub42_Sub15 method2516(int i, byte i_7_, int i_8_) { - anInt8788++; - Class348_Sub42_Sub15 class348_sub42_sub15 = ((Class348_Sub42_Sub15) Class100.aClass356_1585.method3480(((long) i_8_ << 32 | (long) i), i_7_ ^ ~0x171e)); - if (i_7_ != 105) aFloat8784 = 0.99212307F; - if (class348_sub42_sub15 == null) { - class348_sub42_sub15 = new Class348_Sub42_Sub15(i_8_, i); - Class100.aClass356_1585.method3483((byte) 91, (class348_sub42_sub15.aLong4291), class348_sub42_sub15); - } - return class348_sub42_sub15; - } - - public static void method2517(byte i) { - if (i != 4) anIntArray8785 = null; - anIntArray8785 = null; - } - - Class318_Sub9_Sub1(String string, int i) { - this.aString8783 = string; - this.aShort8786 = (short) i; - } -} diff --git a/client/src/Class318_Sub9_Sub2.java b/client/src/Class318_Sub9_Sub2.java deleted file mode 100644 index c6cb527e2..000000000 --- a/client/src/Class318_Sub9_Sub2.java +++ /dev/null @@ -1,63 +0,0 @@ -/* Class318_Sub9_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -class Class318_Sub9_Sub2 extends Class318_Sub9 { - int anInt8789; - int anInt8790; - int anInt8791; - int anInt8792; - int anInt8793; - boolean aBoolean8794; - byte aByte8795 = 5; - int anInt8796; - static int[] anIntArray8797 = {19, 55, 38, 155, 255, 110, 137, 205, 76}; - - public static void method2518(int i) { - if (i == 137) anIntArray8797 = null; - } - - static final void method2519(Class318_Sub1 class318_sub1, int i, int i_0_, int i_1_, int i_2_, int i_3_) { - boolean bool = true; - int i_4_ = i_0_; - int i_5_ = i_0_ + i_2_; - int i_6_ = i_1_ - 1; - int i_7_ = i_1_ + i_3_; - for (int i_8_ = i; i_8_ <= i + 1; i_8_++) { - if (i_8_ != Class189.anInt2524) { - for (int i_9_ = i_4_; i_9_ <= i_5_; i_9_++) { - if (i_9_ >= 0 && i_9_ < Class318_Sub7.anInt6451) { - for (int i_10_ = i_6_; i_10_ <= i_7_; i_10_++) { - if (i_10_ >= 0 && i_10_ < Class348_Sub41.anInt7054 && (!bool || i_9_ >= i_5_ || i_10_ >= i_7_ || i_10_ < i_1_ && i_9_ != i_0_)) { - Class357 class357 = (Class147.aClass357ArrayArrayArray2029[i_8_][i_9_][i_10_]); - if (class357 != null) { - int i_11_ = (((aa_Sub1.aSArray5191[i_8_].method3982((byte) -86, i_10_, i_9_)) + (aa_Sub1.aSArray5191[i_8_].method3982((byte) -86, i_10_, i_9_ + 1)) + (aa_Sub1.aSArray5191[i_8_].method3982((byte) -86, i_10_ + 1, i_9_)) + (aa_Sub1.aSArray5191[i_8_].method3982((byte) -86, i_10_ + 1, i_9_ + 1))) / 4 - ((aa_Sub1.aSArray5191[i].method3982((byte) -86, i_1_, i_0_)) + (aa_Sub1.aSArray5191[i].method3982((byte) -86, i_1_, i_0_ + 1)) + (aa_Sub1.aSArray5191[i].method3982((byte) -86, i_1_ + 1, i_0_)) + (aa_Sub1.aSArray5191[i].method3982((byte) -86, i_1_ + 1, i_0_ + 1))) / 4); - Class318_Sub1_Sub4 class318_sub1_sub4 = (class357.aClass318_Sub1_Sub4_4406); - Class318_Sub1_Sub4 class318_sub1_sub4_12_ = (class357.aClass318_Sub1_Sub4_4403); - if (class318_sub1_sub4 != null && class318_sub1_sub4.method2388(-127)) - class318_sub1.method2380(Class9.aHa171, i_11_, bool, class318_sub1_sub4, (((i_10_ - i_1_) * Class270.anInt3465) + ((1 - i_3_) * (Class348_Sub23_Sub2.anInt9037))), (byte) -112, (((i_9_ - i_0_) * Class270.anInt3465) + ((1 - i_2_) * (Class348_Sub23_Sub2.anInt9037)))); - if (class318_sub1_sub4_12_ != null && class318_sub1_sub4_12_.method2388(-100)) - class318_sub1.method2380(Class9.aHa171, i_11_, bool, class318_sub1_sub4_12_, (((i_10_ - i_1_) * Class270.anInt3465) + ((1 - i_3_) * (Class348_Sub23_Sub2.anInt9037))), (byte) -115, (((i_9_ - i_0_) * Class270.anInt3465) + ((1 - i_2_) * (Class348_Sub23_Sub2.anInt9037)))); - for (Class148 class148 = (class357.aClass148_4396); class148 != null; class148 = (class148.aClass148_2038)) { - Class318_Sub1_Sub3 class318_sub1_sub3 = (class148.aClass318_Sub1_Sub3_2040); - if (class318_sub1_sub3 != null && class318_sub1_sub3.method2388(-111) && (i_9_ == (class318_sub1_sub3.aShort8743) || i_9_ == i_4_) && (i_10_ == (class318_sub1_sub3.aShort8750) || i_10_ == i_6_)) { - int i_13_ = ((class318_sub1_sub3.aShort8751) - (class318_sub1_sub3.aShort8743) + 1); - int i_14_ = ((class318_sub1_sub3.aShort8747) - (class318_sub1_sub3.aShort8750) + 1); - class318_sub1.method2380(Class9.aHa171, i_11_, bool, class318_sub1_sub3, (((class318_sub1_sub3.aShort8750) - i_1_) * Class270.anInt3465 + ((i_14_ - i_3_) * (Class348_Sub23_Sub2.anInt9037))), (byte) -115, (((class318_sub1_sub3.aShort8743) - i_0_) * Class270.anInt3465 + ((i_13_ - i_2_) * (Class348_Sub23_Sub2.anInt9037)))); - } - } - } - } - } - } - } - i_4_--; - bool = false; - } - } - } - - public Class318_Sub9_Sub2() { - /* empty */ - } -} diff --git a/client/src/Class318_Sub9_Sub2_Sub1.java b/client/src/Class318_Sub9_Sub2_Sub1.java deleted file mode 100644 index 80259512b..000000000 --- a/client/src/Class318_Sub9_Sub2_Sub1.java +++ /dev/null @@ -1,365 +0,0 @@ -/* Class318_Sub9_Sub2_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class318_Sub9_Sub2_Sub1 extends Class318_Sub9_Sub2 { - private short aShort10416; - private int anInt10417; - private short aShort10418; - Class318_Sub7 aClass318_Sub7_10419; - private short aShort10420; - private int anInt10421; - private short aShort10422; - private short aShort10423; - private short aShort10424; - - final void method2520() { - this.aClass318_Sub7_10419.aClass318_Sub10_6439.aClass318_Sub9_Sub2_Sub1Array6475[aShort10416] = null; - Class239_Sub25.aClass318_Sub9_Sub2_Sub1Array6103[client.anInt5171] = this; - client.anInt5171 = client.anInt5171 + 1 & 0x3ff; - this.method2373(false); - this.method2514(-108); - } - - private final void method2521() { - int i = (this.aClass318_Sub7_10419.aClass318_Sub10_6439.anInt6476); - if ((this.aClass318_Sub7_10419.aClass318_Sub10_6439.aClass318_Sub9_Sub2_Sub1Array6475[i]) != null) this.aClass318_Sub7_10419.aClass318_Sub10_6439.aClass318_Sub9_Sub2_Sub1Array6475[i].method2520(); - this.aClass318_Sub7_10419.aClass318_Sub10_6439.aClass318_Sub9_Sub2_Sub1Array6475[i] = this; - aShort10416 = (short) this.aClass318_Sub7_10419.aClass318_Sub10_6439.anInt6476; - this.aClass318_Sub7_10419.aClass318_Sub10_6439.anInt6476 = i + 1 & 0x1fff; - this.aClass318_Sub7_10419.aClass243_6433.method1869(-98, this); - } - - final void method2522(ha var_ha, long l) { - int i = this.anInt8791 >> 12 + Class362.anInt4459; - int i_0_ = this.anInt8789 >> 12 + Class362.anInt4459; - int i_1_ = this.anInt8796 >> 12; - if (i_1_ > 0 || i_1_ < -262144 || i < 0 || i >= Class318_Sub7.anInt6451 || i_0_ < 0 || i_0_ >= Class348_Sub41.anInt7054) method2520(); - else { - Class318_Sub10 class318_sub10 = (this.aClass318_Sub7_10419.aClass318_Sub10_6439); - Class181 class181 = (this.aClass318_Sub7_10419.aClass181_6441); - s[] var_ses = aa_Sub1.aSArray5191; - int i_2_ = class318_sub10.anInt6483; - Class357 class357 = (Class147.aClass357ArrayArrayArray2029[class318_sub10.anInt6483][i][i_0_]); - if (class357 != null) i_2_ = class357.aByte4399; - int i_3_ = var_ses[i_2_].method3982((byte) -86, i_0_, i); - int i_4_; - if (i_2_ < Class189.anInt2524 - 1) i_4_ = var_ses[i_2_ + 1].method3982((byte) -86, i_0_, i); - else i_4_ = i_3_ - (8 << Class362.anInt4459); - if (class181.aBoolean2397) { - if (class181.anInt2384 == -1 && i_1_ > i_3_) { - method2520(); - return; - } - if (class181.anInt2384 >= 0 && i_1_ > var_ses[class181.anInt2384].method3982((byte) -86, i_0_, i)) { - method2520(); - return; - } - if (class181.anInt2423 == -1 && i_1_ < i_4_) { - method2520(); - return; - } - if (class181.anInt2423 >= 0 && i_1_ < var_ses[class181.anInt2423 + 1].method3982((byte) -86, i_0_, i)) { - method2520(); - return; - } - } - int i_5_; - for (i_5_ = Class189.anInt2524 - 1; (i_5_ > 0 && i_1_ > var_ses[i_5_].method3982((byte) -86, i_0_, i)); i_5_--) { - /* empty */ - } - if (class181.aBoolean2376 && i_5_ == 0 && i_1_ > var_ses[0].method3982((byte) -86, i_0_, i)) method2520(); - else if (i_5_ == Class189.anInt2524 - 1 && (var_ses[i_5_].method3982((byte) -86, i_0_, i) - i_1_ > 8 << Class362.anInt4459)) method2520(); - else { - class357 = Class147.aClass357ArrayArrayArray2029[i_5_][i][i_0_]; - if (class357 == null) { - if (i_5_ == 0 || (Class147.aClass357ArrayArrayArray2029[0][i][i_0_] == null)) class357 = Class147.aClass357ArrayArrayArray2029[0][i][i_0_] = new Class357(0); - boolean bool = (Class147.aClass357ArrayArrayArray2029[0][i][i_0_].aClass357_4400 != null); - if (i_5_ == 3 && bool) { - method2520(); - return; - } - for (int i_6_ = 1; i_6_ <= i_5_; i_6_++) { - if ((Class147.aClass357ArrayArrayArray2029[i_6_][i][i_0_]) == null) { - class357 = Class147.aClass357ArrayArrayArray2029[i_6_][i][i_0_] = new Class357(i_6_); - if (bool) class357.aByte4399++; - } - } - } - if (class181.aBoolean2424) { - int i_7_ = this.anInt8791 >> 12; - int i_8_ = this.anInt8789 >> 12; - if (class357.aClass318_Sub1_Sub4_4406 != null) { - Class30 class30 = class357.aClass318_Sub1_Sub4_4406.method2381(var_ha, 7); - if (class30 != null && class30.method321(-14735, i_8_, i_1_, i_7_)) { - method2520(); - return; - } - } - if (class357.aClass318_Sub1_Sub4_4403 != null) { - Class30 class30 = class357.aClass318_Sub1_Sub4_4403.method2381(var_ha, 7); - if (class30 != null && class30.method321(-14735, i_8_, i_1_, i_7_)) { - method2520(); - return; - } - } - if (class357.aClass318_Sub1_Sub1_4402 != null) { - Class30 class30 = class357.aClass318_Sub1_Sub1_4402.method2381(var_ha, 7); - if (class30 != null && class30.method321(-14735, i_8_, i_1_, i_7_)) { - method2520(); - return; - } - } - for (Class148 class148 = class357.aClass148_4396; class148 != null; class148 = class148.aClass148_2038) { - Class30 class30 = class148.aClass318_Sub1_Sub3_2040.method2381(var_ha, 7); - if (class30 != null && class30.method321(-14735, i_8_, i_1_, i_7_)) { - method2520(); - return; - } - } - } - class318_sub10.aClass98_6481.aClass88_1569.method844(this, true); - } - } - } - - final void method2523(Class318_Sub7 class318_sub7, int i, int i_9_, int i_10_, int i_11_, int i_12_, int i_13_, int i_14_, int i_15_, int i_16_, int i_17_, int i_18_, boolean bool, boolean bool_19_) { - this.aClass318_Sub7_10419 = class318_sub7; - this.anInt8791 = i << 12; - this.anInt8796 = i_9_ << 12; - this.anInt8789 = i_10_ << 12; - this.anInt8790 = i_16_; - aShort10418 = aShort10420 = (short) i_15_; - this.anInt8793 = i_17_; - this.anInt8792 = i_18_; - this.aBoolean8794 = bool_19_; - aShort10424 = (short) i_11_; - aShort10423 = (short) i_12_; - aShort10422 = (short) i_13_; - anInt10421 = i_14_; - this.aByte8795 = this.aClass318_Sub7_10419.aClass129_6436.aByte1875; - method2521(); - } - - final void method2524(long l, int i) { - aShort10420 -= i; - if (aShort10420 <= 0) method2520(); - else { - int i_20_ = this.anInt8791 >> 12; - int i_21_ = this.anInt8796 >> 12; - int i_22_ = this.anInt8789 >> 12; - Class318_Sub10 class318_sub10 = (this.aClass318_Sub7_10419.aClass318_Sub10_6439); - Class181 class181 = (this.aClass318_Sub7_10419.aClass181_6441); - if (class181.anInt2386 != 0) { - if (aShort10418 - aShort10420 <= class181.anInt2373) { - int i_23_ = ((this.anInt8790 >> 8 & 0xff00) + (anInt10417 >> 16 & 0xff) + class181.anInt2426 * i); - int i_24_ = ((this.anInt8790 & 0xff00) + (anInt10417 >> 8 & 0xff) + class181.anInt2421 * i); - int i_25_ = ((this.anInt8790 << 8 & 0xff00) + (anInt10417 & 0xff) + class181.anInt2405 * i); - if (i_23_ < 0) i_23_ = 0; - else if (i_23_ > 65535) i_23_ = 65535; - if (i_24_ < 0) i_24_ = 0; - else if (i_24_ > 65535) i_24_ = 65535; - if (i_25_ < 0) i_25_ = 0; - else if (i_25_ > 65535) i_25_ = 65535; - this.anInt8790 &= ~0xffffff; - this.anInt8790 |= (((i_23_ & 0xff00) << 8) + (i_24_ & 0xff00) + ((i_25_ & 0xff00) >> 8)); - anInt10417 &= ~0xffffff; - anInt10417 |= (((i_23_ & 0xff) << 16) + ((i_24_ & 0xff) << 8) + (i_25_ & 0xff)); - } - if (aShort10418 - aShort10420 <= class181.anInt2381) { - int i_26_ = ((this.anInt8790 >> 16 & 0xff00) + (anInt10417 >> 24 & 0xff) + class181.anInt2416 * i); - if (i_26_ < 0) i_26_ = 0; - else if (i_26_ > 65535) i_26_ = 65535; - this.anInt8790 &= 0xffffff; - this.anInt8790 |= (i_26_ & 0xff00) << 16; - anInt10417 &= 0xffffff; - anInt10417 |= (i_26_ & 0xff) << 24; - } - } - if (class181.anInt2404 != -1 && (aShort10418 - aShort10420 <= class181.anInt2383)) anInt10421 += class181.anInt2377 * i; - if (class181.anInt2427 != -1 && (aShort10418 - aShort10420 <= class181.anInt2388)) this.anInt8793 += class181.anInt2439 * i; - double d = aShort10424; - double d_27_ = aShort10423; - double d_28_ = aShort10422; - boolean bool = false; - if (class181.anInt2436 == 1) { - int i_29_ = i_20_ - this.aClass318_Sub7_10419.aClass284_6444.anInt3673; - int i_30_ = i_21_ - this.aClass318_Sub7_10419.aClass284_6444.anInt3667; - int i_31_ = i_22_ - this.aClass318_Sub7_10419.aClass284_6444.anInt3671; - int i_32_ = ((int) Math.sqrt(i_29_ * i_29_ + i_30_ * i_30_ + i_31_ * i_31_) >> 2); - long l_33_ = class181.anInt2437 * i_32_ * i; - anInt10421 -= (long) anInt10421 * l_33_ >> 18; - } else if (class181.anInt2436 == 2) { - int i_34_ = i_20_ - this.aClass318_Sub7_10419.aClass284_6444.anInt3673; - int i_35_ = i_21_ - this.aClass318_Sub7_10419.aClass284_6444.anInt3667; - int i_36_ = i_22_ - this.aClass318_Sub7_10419.aClass284_6444.anInt3671; - int i_37_ = i_34_ * i_34_ + i_35_ * i_35_ + i_36_ * i_36_; - long l_38_ = class181.anInt2437 * i_37_ * i; - anInt10421 -= (long) anInt10421 * l_38_ >> 28; - } - if (class181.anIntArray2402 != null) { - Class348 class348 = (class318_sub10.aClass262_6479.aClass348_3334); - for (Class348 class348_39_ = class348.aClass348_4294; class348_39_ != class348; class348_39_ = class348_39_.aClass348_4294) { - Class348_Sub42_Sub20 class348_sub42_sub20 = (Class348_Sub42_Sub20) class348_39_; - Class174 class174 = (class348_sub42_sub20.aClass174_9704); - if (class174.anInt2296 != 1) { - boolean bool_40_ = false; - for (int i_41_ = 0; (i_41_ < class181.anIntArray2402.length); i_41_++) { - if (class181.anIntArray2402[i_41_] == class174.anInt2303) { - bool_40_ = true; - break; - } - } - if (bool_40_) { - double d_42_ = i_20_ - (class348_sub42_sub20.anInt9712); - double d_43_ = i_21_ - (class348_sub42_sub20.anInt9706); - double d_44_ = i_22_ - (class348_sub42_sub20.anInt9710); - double d_45_ = (d_42_ * d_42_ + d_43_ * d_43_ + d_44_ * d_44_); - if (!(d_45_ > (double) (class174.aLong2301))) { - double d_46_ = Math.sqrt(d_45_); - if (d_46_ == 0.0) d_46_ = 1.0; - double d_47_ = (((d_42_ * (double) (class348_sub42_sub20.anInt9705)) + d_43_ * (double) class174.anInt2290 + (d_44_ * (double) (class348_sub42_sub20.anInt9707))) * 65535.0 / ((double) (class174.anInt2299) * d_46_)); - if (!(d_47_ < (double) (class174.anInt2298))) { - double d_48_ = 0.0; - if (class174.anInt2289 == 1) d_48_ = (d_46_ / 16.0 * (double) (class174.anInt2304)); - else if (class174.anInt2289 == 2) d_48_ = (d_46_ / 16.0 * (d_46_ / 16.0) * (double) (class174.anInt2304)); - if (class174.anInt2292 == 0) { - if (class174.anInt2297 == 0) { - d += ((double) (class348_sub42_sub20.anInt9705) - d_48_) * (double) i; - d_27_ += ((double) (class174.anInt2290) - d_48_) * (double) i; - d_28_ += ((double) (class348_sub42_sub20.anInt9707) - d_48_) * (double) i; - bool = true; - } else { - this.anInt8791 += ((double) (class348_sub42_sub20.anInt9705) - d_48_) * (double) i; - this.anInt8796 += ((double) (class174.anInt2290) - d_48_) * (double) i; - this.anInt8789 += ((double) (class348_sub42_sub20.anInt9707) - d_48_) * (double) i; - } - } else { - double d_49_ = (d_42_ / d_46_ * (double) (class174.anInt2299)); - double d_50_ = (d_43_ / d_46_ * (double) (class174.anInt2299)); - double d_51_ = (d_44_ / d_46_ * (double) (class174.anInt2299)); - if (class174.anInt2297 == 0) { - d += d_49_ * (double) i; - d_27_ += d_50_ * (double) i; - d_28_ += d_51_ * (double) i; - bool = true; - } else { - this.anInt8791 += d_49_ * (double) i; - this.anInt8796 += d_50_ * (double) i; - this.anInt8789 += d_51_ * (double) i; - } - } - } - } - } - } - } - } - if (class181.anIntArray2380 != null) { - for (int i_52_ = 0; i_52_ < class181.anIntArray2380.length; i_52_++) { - Class348_Sub42_Sub20 class348_sub42_sub20 = ((Class348_Sub42_Sub20) (Class367_Sub11.aClass32_7415.method334(class181.anIntArray2380[i_52_], (byte) 121))); - while (class348_sub42_sub20 != null) { - Class174 class174 = (class348_sub42_sub20.aClass174_9704); - double d_53_ = i_20_ - class348_sub42_sub20.anInt9712; - double d_54_ = i_21_ - class348_sub42_sub20.anInt9706; - double d_55_ = i_22_ - class348_sub42_sub20.anInt9710; - double d_56_ = d_53_ * d_53_ + d_54_ * d_54_ + d_55_ * d_55_; - if (d_56_ > (double) class174.aLong2301) class348_sub42_sub20 = (Class348_Sub42_Sub20) Class367_Sub11.aClass32_7415.method336(true); - else { - double d_57_ = Math.sqrt(d_56_); - if (d_57_ == 0.0) d_57_ = 1.0; - double d_58_ = ((d_53_ * (double) (class348_sub42_sub20.anInt9705) + d_54_ * (double) (class174.anInt2290) + d_55_ * (double) (class348_sub42_sub20.anInt9707)) * 65535.0 / ((double) class174.anInt2299 * d_57_)); - if (d_58_ < (double) class174.anInt2298) class348_sub42_sub20 = ((Class348_Sub42_Sub20) Class367_Sub11.aClass32_7415.method336(true)); - else { - double d_59_ = 0.0; - if (class174.anInt2289 == 1) d_59_ = (d_57_ / 16.0 * (double) (class174.anInt2304)); - else if (class174.anInt2289 == 2) d_59_ = (d_57_ / 16.0 * (d_57_ / 16.0) * (double) (class174.anInt2304)); - if (class174.anInt2292 == 0) { - if (class174.anInt2297 == 0) { - d += ((double) (class348_sub42_sub20.anInt9705) - d_59_) * (double) i; - d_27_ += ((double) (class174.anInt2290) - d_59_) * (double) i; - d_28_ += ((double) (class348_sub42_sub20.anInt9707) - d_59_) * (double) i; - bool = true; - } else { - this.anInt8791 += ((double) (class348_sub42_sub20.anInt9705) - d_59_) * (double) i; - this.anInt8796 += ((double) (class174.anInt2290) - d_59_) * (double) i; - this.anInt8789 += ((double) (class348_sub42_sub20.anInt9707) - d_59_) * (double) i; - } - } else { - double d_60_ = (d_53_ / d_57_ * (double) (class174.anInt2299)); - double d_61_ = (d_54_ / d_57_ * (double) (class174.anInt2299)); - double d_62_ = (d_55_ / d_57_ * (double) (class174.anInt2299)); - if (class174.anInt2297 == 0) { - d += d_60_ * (double) i; - d_27_ += d_61_ * (double) i; - d_28_ += d_62_ * (double) i; - bool = true; - } else { - this.anInt8791 += d_60_ * (double) i; - this.anInt8796 += d_61_ * (double) i; - this.anInt8789 += d_62_ * (double) i; - } - } - class348_sub42_sub20 = ((Class348_Sub42_Sub20) Class367_Sub11.aClass32_7415.method336(true)); - } - } - } - } - } - if (class181.anIntArray2395 != null) { - if (class181.anIntArray2385 == null) { - class181.anIntArray2385 = new int[class181.anIntArray2395.length]; - for (int i_63_ = 0; i_63_ < class181.anIntArray2395.length; i_63_++) { - Class256.method1943(false, (class181.anIntArray2395[i_63_])); - class181.anIntArray2385[i_63_] = ((Class348_Sub35) Class59_Sub2_Sub2.aClass356_8679.method3480(class181.anIntArray2395[i_63_], -6008)).anInt6976; - } - } - for (int i_64_ = 0; i_64_ < class181.anIntArray2385.length; i_64_++) { - Class174 class174 = (Class19.aClass174Array311[class181.anIntArray2385[i_64_]]); - if (class174.anInt2297 == 0) { - d += class174.anInt2291 * i; - d_27_ += class174.anInt2290 * i; - d_28_ += class174.anInt2294 * i; - bool = true; - } else { - this.anInt8791 += class174.anInt2291 * i; - this.anInt8796 += class174.anInt2290 * i; - this.anInt8789 += class174.anInt2294 * i; - } - } - } - if (bool) { - while (d > 32767.0 || d_27_ > 32767.0 || d_28_ > 32767.0 || d < -32767.0 || d_27_ < -32767.0 || d_28_ < -32767.0) { - d /= 2.0; - d_27_ /= 2.0; - d_28_ /= 2.0; - anInt10421 <<= 1; - } - aShort10424 = (short) (int) d; - aShort10423 = (short) (int) d_27_; - aShort10422 = (short) (int) d_28_; - } - this.anInt8791 += (((long) aShort10424 * (long) (anInt10421 << 2) >> 23) * (long) i); - this.anInt8796 += (((long) aShort10423 * (long) (anInt10421 << 2) >> 23) * (long) i); - this.anInt8789 += (((long) aShort10422 * (long) (anInt10421 << 2) >> 23) * (long) i); - } - } - - Class318_Sub9_Sub2_Sub1(Class318_Sub7 class318_sub7, int i, int i_65_, int i_66_, int i_67_, int i_68_, int i_69_, int i_70_, int i_71_, int i_72_, int i_73_, int i_74_, boolean bool, boolean bool_75_) { - this.aClass318_Sub7_10419 = class318_sub7; - this.anInt8791 = i << 12; - this.anInt8796 = i_65_ << 12; - this.anInt8789 = i_66_ << 12; - this.anInt8790 = i_72_; - aShort10418 = aShort10420 = (short) i_71_; - this.anInt8793 = i_73_; - this.anInt8792 = i_74_; - this.aBoolean8794 = bool_75_; - aShort10424 = (short) i_67_; - aShort10423 = (short) i_68_; - aShort10422 = (short) i_69_; - anInt10421 = i_70_; - this.aByte8795 = this.aClass318_Sub7_10419.aClass129_6436.aByte1875; - method2521(); - } -} diff --git a/client/src/Class319.java b/client/src/Class319.java deleted file mode 100644 index 6f81ef170..000000000 --- a/client/src/Class319.java +++ /dev/null @@ -1,101 +0,0 @@ -/* Class319 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class319 { - static int anInt3978; - private final Class45 aClass45_3979; - static double aDouble3980; - Class45 aClass45_3981; - static Class315[] aClass315Array3982; - static int anInt3983; - static int anInt3984; - static Object anObject3985; - static int anInt3986; - static int anInt3987; - static boolean aBoolean3988 = false; - private final Class60 aClass60_3989 = new Class60(64); - Class60 aClass60_3990 = new Class60(60); - int anInt3991; - - final void method2541(int i, int i_0_) { - anInt3978++; - this.anInt3991 = i_0_; - synchronized (this.aClass60_3990) { - this.aClass60_3990.method590(0); - } - if (i < 72) aClass315Array3982 = null; - } - - final void method2542(int i) { - synchronized (aClass60_3989) { - aClass60_3989.method587(-126); - } - if (i >= -99) aDouble3980 = 0.5896741197263589; - anInt3986++; - synchronized (this.aClass60_3990) { - this.aClass60_3990.method587(-106); - } - } - - final Class368 method2543(byte i, int i_1_) { - if (i <= 38) method2542(-73); - anInt3983++; - Class368 class368; - synchronized (aClass60_3989) { - class368 = (Class368) aClass60_3989.method583(i_1_, 101); - } - if (class368 != null) return class368; - byte[] is; - synchronized (aClass45_3979) { - is = aClass45_3979.method410(-1860, Class318_Sub1_Sub3_Sub1.method2419((byte) 127, i_1_), Class348_Sub1_Sub2.method2729(i_1_, 16)); - } - class368 = new Class368(); - class368.aClass319_4513 = this; - class368.anInt4501 = i_1_; - if (is != null) class368.method3559(28105, new Class348_Sub49(is)); - synchronized (aClass60_3989) { - aClass60_3989.method582(class368, i_1_, (byte) -127); - } - return class368; - } - - final void method2544(int i, byte i_2_) { - synchronized (aClass60_3989) { - aClass60_3989.method578(2, i); - if (i_2_ >= -11) this.aClass45_3981 = null; - } - anInt3987++; - synchronized (this.aClass60_3990) { - this.aClass60_3990.method578(2, i); - } - } - - public static void method2545(boolean bool) { - if (bool == true) { - aClass315Array3982 = null; - anObject3985 = null; - } - } - - final void method2546(int i) { - anInt3984++; - synchronized (aClass60_3989) { - aClass60_3989.method590(0); - } - synchronized (this.aClass60_3990) { - this.aClass60_3990.method590(0); - } - } - - Class319(Class230 class230, int i, Class45 class45, Class45 class45_3_) { - try { - this.aClass45_3981 = class45_3_; - aClass45_3979 = class45; - int i_4_ = -1 + aClass45_3979.method414(-1); - aClass45_3979.method407(0, i_4_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("cn.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ',' + (class45_3_ != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class32.java b/client/src/Class32.java deleted file mode 100644 index 6e5cbee28..000000000 --- a/client/src/Class32.java +++ /dev/null @@ -1,76 +0,0 @@ -/* Class32 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class32 { - static int anInt447; - private final int anInt448; - static int anInt449; - static int anInt450; - static int anInt451 = -1; - private final Class348_Sub42[] aClass348_Sub42Array452; - private long aLong453; - private Class348_Sub42 aClass348_Sub42_454; - static int anInt455; - - final Class348_Sub42 method334(long l, byte i) { - try { - aLong453 = l; - anInt449++; - Class348_Sub42 class348_sub42 = aClass348_Sub42Array452[(int) ((long) (anInt448 - 1) & l)]; - for (aClass348_Sub42_454 = class348_sub42.aClass348_Sub42_7063; class348_sub42 != aClass348_Sub42_454; aClass348_Sub42_454 = (aClass348_Sub42_454.aClass348_Sub42_7063)) { - if (aClass348_Sub42_454.aLong7057 == l) { - Class348_Sub42 class348_sub42_0_ = aClass348_Sub42_454; - aClass348_Sub42_454 = (aClass348_Sub42_454.aClass348_Sub42_7063); - return class348_sub42_0_; - } - } - if (i <= 0) aClass348_Sub42_454 = null; - aClass348_Sub42_454 = null; - return null; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "ib.C(" + l + ',' + i + ')'); - } - } - - final void method335(Class348_Sub42 class348_sub42, int i, long l) { - try { - anInt447++; - if (i != -8098) aClass348_Sub42_454 = null; - if (class348_sub42.aClass348_Sub42_7060 != null) class348_sub42.method3162(true); - Class348_Sub42 class348_sub42_1_ = aClass348_Sub42Array452[(int) (l & (long) (anInt448 - 1))]; - class348_sub42.aClass348_Sub42_7060 = class348_sub42_1_.aClass348_Sub42_7060; - class348_sub42.aClass348_Sub42_7063 = class348_sub42_1_; - class348_sub42.aClass348_Sub42_7060.aClass348_Sub42_7063 = class348_sub42; - class348_sub42.aClass348_Sub42_7063.aClass348_Sub42_7060 = class348_sub42; - class348_sub42.aLong7057 = l; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ib.A(" + (class348_sub42 != null ? "{...}" : "null") + ',' + i + ',' + l + ')')); - } - } - - Class32(int i) { - aClass348_Sub42Array452 = new Class348_Sub42[i]; - anInt448 = i; - for (int i_2_ = 0; i_2_ < i; i_2_++) { - Class348_Sub42 class348_sub42 = aClass348_Sub42Array452[i_2_] = new Class348_Sub42(); - class348_sub42.aClass348_Sub42_7063 = class348_sub42; - class348_sub42.aClass348_Sub42_7060 = class348_sub42; - } - } - - final Class348_Sub42 method336(boolean bool) { - anInt455++; - if (aClass348_Sub42_454 == null) return null; - if (bool != true) return null; - for (Class348_Sub42 class348_sub42 = aClass348_Sub42Array452[(int) (aLong453 & (long) (-1 + anInt448))]; class348_sub42 != aClass348_Sub42_454; aClass348_Sub42_454 = (aClass348_Sub42_454.aClass348_Sub42_7063)) { - if (aLong453 == aClass348_Sub42_454.aLong7057) { - Class348_Sub42 class348_sub42_3_ = aClass348_Sub42_454; - aClass348_Sub42_454 = (aClass348_Sub42_454.aClass348_Sub42_7063); - return class348_sub42_3_; - } - } - aClass348_Sub42_454 = null; - return null; - } -} diff --git a/client/src/Class320.java b/client/src/Class320.java deleted file mode 100644 index 22b58876c..000000000 --- a/client/src/Class320.java +++ /dev/null @@ -1,38 +0,0 @@ -/* Class320 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class320 { - static short aShort3992 = 320; - static int anInt3993; - static int zoomStep = Loader.ZOOM_OFFSET_DEFAULT; - static boolean overGameScreen = false; - static int scrollWheelDiff = 0; - static float aFloat3994; - - static final boolean method2547(int i, byte i_0_) { - anInt3993++; - if (Class163.aBooleanArray2162[i]) return true; - if (!Class229.aClass45_2978.method408((byte) -124, i)) return false; - int i_1_ = Class229.aClass45_2978.method407(0, i); - if (i_1_ == 0) { - Class163.aBooleanArray2162[i] = true; - return true; - } - if (Class348_Sub40_Sub33.aClass46ArrayArray9427[i] == null) Class348_Sub40_Sub33.aClass46ArrayArray9427[i] = new Class46[i_1_]; - for (int i_2_ = 0; i_1_ > i_2_; i_2_++) { - if (Class348_Sub40_Sub33.aClass46ArrayArray9427[i][i_2_] == null) { - byte[] is = Class229.aClass45_2978.method410(i_0_ ^ ~0x717, i, i_2_); - if (is != null) { - Class46 class46 = (Class348_Sub40_Sub33.aClass46ArrayArray9427[i][i_2_] = new Class46()); - class46.anInt830 = i_2_ + (i << 16); - if (is[0] != -1) throw new IllegalStateException("if1"); - class46.method433(new Class348_Sub49(is), true); - } - } - } - if (i_0_ != 84) aFloat3994 = -0.8522395F; - Class163.aBooleanArray2162[i] = true; - return true; - } -} diff --git a/client/src/Class321.java b/client/src/Class321.java deleted file mode 100644 index 87dfccd3a..000000000 --- a/client/src/Class321.java +++ /dev/null @@ -1,146 +0,0 @@ -/* Class321 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class321 { - static int anInt3995; - private int[][] anIntArrayArray3996; - private int[][] anIntArrayArray3997; - private int[] anIntArray3998; - static int anInt3999; - int anInt4000 = -1; - private int[] anIntArray4001; - private int[][] anIntArrayArray4002; - private int[] anIntArray4003; - private int[] anIntArray4004; - static int anInt4005 = -1; - private Class356 aClass356_4006; - private int[] anIntArray4007; - private int[] anIntArray4008; - private int[] anIntArray4009; - private String aString4010; - private String[] aStringArray4011; - private String aString4012; - static int anInt4013; - private int[] anIntArray4014; - static Class114 aClass114_4015 = new Class114(116, 6); - private String[] aStringArray4016; - static int anInt4017; - - final void method2548(byte i) { - if (i <= 117) method2550(null, -119, (byte) 18); - anInt3999++; - if (aString4010 == null) aString4010 = aString4012; - } - - public static void method2549(byte i) { - if (i > -74) method2549((byte) 75); - aClass114_4015 = null; - } - - private final void method2550(Class348_Sub49 class348_sub49, int i, byte i_0_) { - if (i_0_ != 52) anIntArray4014 = null; - anInt4013++; - if (i != 1) { - if (i == 2) aString4010 = class348_sub49.method3371(i_0_ ^ ~0x349a); - else if (i == 3) { - int i_1_ = class348_sub49.readUnsignedByte(i_0_ ^ 0xcb); - anIntArrayArray3997 = new int[i_1_][3]; - for (int i_2_ = 0; i_1_ > i_2_; i_2_++) { - anIntArrayArray3997[i_2_][0] = class348_sub49.readUnsignedShort(842397944); - anIntArrayArray3997[i_2_][1] = class348_sub49.readInt((byte) -126); - anIntArrayArray3997[i_2_][2] = class348_sub49.readInt((byte) -126); - } - } else if (i == 4) { - int i_17_ = class348_sub49.readUnsignedByte(255); - anIntArrayArray3996 = new int[i_17_][3]; - for (int i_18_ = 0; i_17_ > i_18_; i_18_++) { - anIntArrayArray3996[i_18_][0] = class348_sub49.readUnsignedShort(842397944); - anIntArrayArray3996[i_18_][1] = class348_sub49.readInt((byte) -126); - anIntArrayArray3996[i_18_][2] = class348_sub49.readInt((byte) -126); - } - } else if (i != 5) { - if (i == 6) class348_sub49.readUnsignedByte(255); - else if (i == 7) class348_sub49.readUnsignedByte(255); - else if (i != 8) { - if (i != 9) { - if (i == 10) { - int i_3_ = class348_sub49.readUnsignedByte(i_0_ + 203); - anIntArray4008 = new int[i_3_]; - for (int i_4_ = 0; i_3_ > i_4_; i_4_++) - anIntArray4008[i_4_] = class348_sub49.readInt((byte) -126); - } else if (i != 12) { - if (i == 13) { - int i_15_ = class348_sub49.readUnsignedByte(255); - anIntArray4004 = new int[i_15_]; - for (int i_16_ = 0; i_16_ < i_15_; i_16_++) - anIntArray4004[i_16_] = class348_sub49.readUnsignedShort(842397944); - } else if (i == 14) { - int i_13_ = class348_sub49.readUnsignedByte(i_0_ ^ 0xcb); - anIntArrayArray4002 = new int[i_13_][2]; - for (int i_14_ = 0; i_14_ < i_13_; i_14_++) { - anIntArrayArray4002[i_14_][0] = class348_sub49.readUnsignedByte(255); - anIntArrayArray4002[i_14_][1] = (class348_sub49.readUnsignedByte(Class348_Sub21.method2955(i_0_, 203))); - } - } else if (i == 15) class348_sub49.readUnsignedShort(842397944); - else if (i == 17) this.anInt4000 = class348_sub49.readUnsignedShort(842397944); - else if (i == 18) { - int i_5_ = class348_sub49.readUnsignedByte(255); - anIntArray4014 = new int[i_5_]; - aStringArray4011 = new String[i_5_]; - anIntArray4007 = new int[i_5_]; - anIntArray4001 = new int[i_5_]; - for (int i_6_ = 0; (i_6_ < i_5_); i_6_++) { - anIntArray4014[i_6_] = (class348_sub49.readInt((byte) -126)); - anIntArray4001[i_6_] = (class348_sub49.readInt((byte) -126)); - anIntArray4007[i_6_] = (class348_sub49.readInt((byte) -126)); - aStringArray4011[i_6_] = (class348_sub49.readString((byte) 123)); - } - } else if (i == 19) { - int i_7_ = class348_sub49.readUnsignedByte(255); - aStringArray4016 = new String[i_7_]; - anIntArray4003 = new int[i_7_]; - anIntArray4009 = new int[i_7_]; - anIntArray3998 = new int[i_7_]; - for (int i_8_ = 0; (i_8_ < i_7_); i_8_++) { - anIntArray4009[i_8_] = (class348_sub49.readInt((byte) -126)); - anIntArray3998[i_8_] = (class348_sub49.readInt((byte) -126)); - anIntArray4003[i_8_] = (class348_sub49.readInt((byte) -126)); - aStringArray4016[i_8_] = (class348_sub49.readString((byte) -25)); - } - } else if (i == 249) { - int i_9_ = class348_sub49.readUnsignedByte(255); - if (aClass356_4006 == null) { - int i_10_ = (Class33.method340(i_9_, (byte) 108)); - aClass356_4006 = new Class356(i_10_); - } - for (int i_11_ = 0; i_9_ > i_11_; i_11_++) { - boolean bool = (class348_sub49.readUnsignedByte(255) == 1); - int i_12_ = class348_sub49.readMedium(-1); - Class348 class348; - if (!bool) class348 = (new Class348_Sub35(class348_sub49.readInt((byte) -126))); - else class348 = (new Class348_Sub50(class348_sub49.readString((byte) -98))); - aClass356_4006.method3483((byte) 123, i_12_, class348); - } - } - } else class348_sub49.readInt((byte) -126); - } else class348_sub49.readUnsignedByte(255); - } - } else class348_sub49.readUnsignedShort(842397944); - } else aString4012 = class348_sub49.method3371(-13487); - } - - final void method2551(int i, Class348_Sub49 class348_sub49) { - int i_19_ = -14 / ((i - -56) / 61); - anInt3995++; - for (; ; ) { - int i_20_ = class348_sub49.readUnsignedByte(255); - if (i_20_ == 0) break; - method2550(class348_sub49, i_20_, (byte) 52); - } - } - - public Class321() { - /* empty */ - } -} diff --git a/client/src/Class322.java b/client/src/Class322.java deleted file mode 100644 index 06253abf3..000000000 --- a/client/src/Class322.java +++ /dev/null @@ -1,166 +0,0 @@ -/* Class322 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class322 { - static int anInt4018; - static int anInt4019; - private final int anInt4020; - private Class262 aClass262_4021; - private int anInt4022; - static int anInt4023; - private final int anInt4024; - private int anInt4025 = 0; - static int anInt4026; - static Class114 aClass114_4027; - static int anInt4028; - private int[][][] anIntArrayArrayArray4029; - static int anInt4030; - static int[] anIntArray4031; - static int anInt4032 = -1; - private Class348_Sub24[] aClass348_Sub24Array4033; - static int anInt4034; - boolean aBoolean4035; - static Class308 aClass308_4036; - - static final int method2552(boolean bool, int i, int i_0_, int i_1_) { - if (i_1_ != -24667) method2554((byte) 95); - anInt4023++; - Class348_Sub13 class348_sub13 = Class258_Sub4.method1974((byte) 4, i, bool); - if (class348_sub13 == null) return -1; - if (i_0_ < 0 || i_0_ >= class348_sub13.anIntArray6757.length) return -1; - return class348_sub13.anIntArray6757[i_0_]; - } - - final int[][][] method2553(int i) { - anInt4018++; - if (anInt4024 != anInt4020) throw new RuntimeException("Can only retrieve a full image cache"); - for (int i_2_ = i; i_2_ < anInt4020; i_2_++) - aClass348_Sub24Array4033[i_2_] = Class341.aClass348_Sub24_4226; - return anIntArrayArrayArray4029; - } - - static final void method2554(byte i) { - if (i != -45) anInt4032 = 61; - anInt4030++; - if (Class312.anInt3931 == 1 || Class312.anInt3931 == 3 || (Class312.anInt3931 != Class83.anInt1447 && (Class312.anInt3931 == 0 || Class83.anInt1447 == 0))) { - Class348_Sub32.anInt6930 = 0; - Class150.anInt2057 = 0; - Class282.aClass356_3654.method3481(0); - } - Class83.anInt1447 = Class312.anInt3931; - } - - public static void method2555(byte i) { - if (i != 28) method2554((byte) 21); - anIntArray4031 = null; - aClass114_4027 = null; - aClass308_4036 = null; - } - - static final void method2556(boolean bool, int i, Class318_Sub1_Sub3_Sub3 class318_sub1_sub3_sub3) { - anInt4028++; - int i_3_ = -1; - int i_4_ = 0; - if (Class367_Sub11.anInt7396 < class318_sub1_sub3_sub3.anInt10239) Class239_Sub26.method1834(class318_sub1_sub3_sub3, (byte) -16); - else if (Class367_Sub11.anInt7396 <= (class318_sub1_sub3_sub3.anInt10300)) Class110_Sub1.method1041(-1, class318_sub1_sub3_sub3); - else { - Class219.method1600(false, 0, class318_sub1_sub3_sub3); - i_3_ = Class235.anInt3062; - i_4_ = Class127_Sub1.anInt8387; - } - if (bool != false) aClass114_4027 = null; - if ((class318_sub1_sub3_sub3.x < 512) || class318_sub1_sub3_sub3.y < 512 || (-512 + Class367_Sub4.anInt7319 * 512 <= class318_sub1_sub3_sub3.x) || (-512 + Class348_Sub40_Sub3.anInt9109 * 512 <= class318_sub1_sub3_sub3.y)) { - class318_sub1_sub3_sub3.anInt10291 = -1; - class318_sub1_sub3_sub3.anInt10300 = 0; - i_4_ = 0; - i_3_ = -1; - class318_sub1_sub3_sub3.anIntArray10236 = null; - class318_sub1_sub3_sub3.anInt10269 = -1; - class318_sub1_sub3_sub3.anInt10286 = -1; - class318_sub1_sub3_sub3.anInt10239 = 0; - class318_sub1_sub3_sub3.x = (512 * (class318_sub1_sub3_sub3.anIntArray10320[0]) + 256 * class318_sub1_sub3_sub3.method2436((byte) 120)); - class318_sub1_sub3_sub3.y = (512 * (class318_sub1_sub3_sub3.anIntArray10317[0]) + class318_sub1_sub3_sub3.method2436((byte) 88) * 256); - class318_sub1_sub3_sub3.method2427(70); - } - if ((Class132.aPlayer_1907 == class318_sub1_sub3_sub3) && (class318_sub1_sub3_sub3.x < 6144 || class318_sub1_sub3_sub3.y < 6144 || (class318_sub1_sub3_sub3.x >= 512 * (Class367_Sub4.anInt7319 + -12)) || (512 * (Class348_Sub40_Sub3.anInt9109 - 12) <= class318_sub1_sub3_sub3.y))) { - class318_sub1_sub3_sub3.anInt10291 = -1; - i_3_ = -1; - class318_sub1_sub3_sub3.anInt10300 = 0; - class318_sub1_sub3_sub3.anInt10269 = -1; - class318_sub1_sub3_sub3.anInt10239 = 0; - i_4_ = 0; - class318_sub1_sub3_sub3.anIntArray10236 = null; - class318_sub1_sub3_sub3.anInt10286 = -1; - class318_sub1_sub3_sub3.x = (512 * (class318_sub1_sub3_sub3.anIntArray10320[0]) + 256 * class318_sub1_sub3_sub3.method2436((byte) 115)); - class318_sub1_sub3_sub3.y = (512 * (class318_sub1_sub3_sub3.anIntArray10317[0]) + 256 * class318_sub1_sub3_sub3.method2436((byte) 115)); - class318_sub1_sub3_sub3.method2427(54); - } - int i_5_ = Class348_Sub8.method2774((byte) 108, class318_sub1_sub3_sub3); - za_Sub2.method3443(true, class318_sub1_sub3_sub3); - Class71.method729(i_3_, i_5_, (byte) 67, class318_sub1_sub3_sub3, i_4_); - Class348_Sub42_Sub9_Sub1.method3208(class318_sub1_sub3_sub3, i_3_, -98); - Class230.method1635(-69, class318_sub1_sub3_sub3); - } - - final int[][] method2557(int i, int i_6_) { - anInt4034++; - if (i >= -75) method2554((byte) -61); - if (anInt4020 != anInt4024) { - if (anInt4020 == 1) { - this.aBoolean4035 = i_6_ != anInt4022; - anInt4022 = i_6_; - return anIntArrayArrayArray4029[0]; - } - Class348_Sub24 class348_sub24 = aClass348_Sub24Array4033[i_6_]; - if (class348_sub24 == null) { - this.aBoolean4035 = true; - if (anInt4020 <= anInt4025) { - Class348_Sub24 class348_sub24_7_ = (Class348_Sub24) aClass262_4021.method1993(-126); - class348_sub24 = new Class348_Sub24(i_6_, class348_sub24_7_.anInt6875); - aClass348_Sub24Array4033[class348_sub24_7_.anInt6872] = null; - class348_sub24_7_.method2715((byte) 56); - } else { - class348_sub24 = new Class348_Sub24(i_6_, anInt4025); - anInt4025++; - } - aClass348_Sub24Array4033[i_6_] = class348_sub24; - } else this.aBoolean4035 = false; - aClass262_4021.method2001(class348_sub24, -110); - return (anIntArrayArrayArray4029[class348_sub24.anInt6875]); - } - this.aBoolean4035 = aClass348_Sub24Array4033[i_6_] == null; - aClass348_Sub24Array4033[i_6_] = Class341.aClass348_Sub24_4226; - return anIntArrayArrayArray4029[i_6_]; - } - - final void method2558(int i) { - anInt4019++; - if (i != 6144) anIntArrayArrayArray4029 = null; - for (int i_8_ = 0; anInt4020 > i_8_; i_8_++) { - anIntArrayArrayArray4029[i_8_][0] = null; - anIntArrayArrayArray4029[i_8_][1] = null; - anIntArrayArrayArray4029[i_8_][2] = null; - anIntArrayArrayArray4029[i_8_] = null; - } - aClass348_Sub24Array4033 = null; - anIntArrayArrayArray4029 = null; - aClass262_4021.method1996(99); - aClass262_4021 = null; - } - - Class322(int i, int i_9_, int i_10_) { - anInt4022 = -1; - aClass262_4021 = new Class262(); - this.aBoolean4035 = false; - anInt4020 = i; - anInt4024 = i_9_; - aClass348_Sub24Array4033 = new Class348_Sub24[anInt4024]; - anIntArrayArrayArray4029 = new int[anInt4020][3][i_10_]; - } - - static { - aClass114_4027 = new Class114(90, 10); - aClass308_4036 = new Class308(128); - } -} diff --git a/client/src/Class323.java b/client/src/Class323.java deleted file mode 100644 index ffbe49614..000000000 --- a/client/src/Class323.java +++ /dev/null @@ -1,136 +0,0 @@ -/* Class323 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; -import java.awt.image.PixelGrabber; - -final class Class323 { - private boolean aBoolean4037 = false; - private static final int anInt4038 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!\"\u00a3$%^&*()-_=+[{]};:'@#~,<.>/?\\| \u00c4\u00cb\u00cf\u00d6\u00dc\u00e4\u00eb\u00ef\u00f6\u00fc\u00ff\u00df\u00c1\u00c0\u00c9\u00c8\u00cd\u00cc\u00d3\u00d2\u00da\u00d9\u00e1\u00e0\u00e9\u00e8\u00ed\u00ec\u00f3\u00f2\u00fa\u00f9\u00c2\u00ca\u00ce\u00d4\u00db\u00e2\u00ea\u00ee\u00f4\u00fb\u00c6\u00e6\u00e3\u00c3\u00f5\u00d5\u00e7\u00c7".length(); - private final int[] anIntArray4039; - private int anInt4040; - private int anInt4041; - private final Class105[] aClass105Array4042; - private static int[] anIntArray4043 = new int[256]; - private final int[] anIntArray4044 = new int[4]; - - private final void method2559(ha var_ha, Font font, FontMetrics fontmetrics, char c, int i, boolean bool) { - int i_0_ = fontmetrics.charWidth(c); - int i_1_ = i_0_; - if (bool) { - try { - if (c == '/') bool = false; - if (c == 'f' || c == 't' || c == 'w' || c == 'v' || c == 'k' || c == 'x' || c == 'y' || c == 'A' || c == 'V' || c == 'W') i_0_++; - } catch (Exception exception) { - /* empty */ - } - } - int i_2_ = fontmetrics.getMaxAscent(); - int i_3_ = fontmetrics.getMaxAscent() + fontmetrics.getMaxDescent(); - int i_4_ = fontmetrics.getHeight(); - Image image = Class305.aCanvas3869.createImage(i_0_, i_3_); - Graphics graphics = image.getGraphics(); - graphics.setColor(Color.black); - graphics.fillRect(0, 0, i_0_, i_3_); - graphics.setColor(Color.white); - graphics.setFont(font); - graphics.drawString(String.valueOf(c), 0, i_2_); - if (bool) graphics.drawString(String.valueOf(c), 1, i_2_); - int[] is = new int[i_0_ * i_3_]; - PixelGrabber pixelgrabber = new PixelGrabber(image, 0, 0, i_0_, i_3_, is, 0, i_0_); - try { - pixelgrabber.grabPixels(); - } catch (Exception exception) { - /* empty */ - } - image.flush(); - Object object = null; - int i_5_ = 0; - while_113_: - for (int i_6_ = 0; i_6_ < i_3_; i_6_++) { - for (int i_7_ = 0; i_7_ < i_0_; i_7_++) { - int i_8_ = is[i_7_ + i_6_ * i_0_]; - if ((i_8_ & 0xffffff) != 0) { - i_5_ = i_6_; - break while_113_; - } - } - } - for (int i_9_ = 0; i_9_ < is.length; i_9_++) { - if ((is[i_9_] & 0xffffff) == 0) is[i_9_] = 0; - } - anInt4041 = i_2_ - i_5_; - anInt4040 = i_4_; - anIntArray4039[i] = i_1_; - aClass105Array4042[i] = var_ha.method3662(i_0_, is, (byte) 94, 0, i_0_, i_3_); - } - - final int method2560() { - return anInt4041; - } - - private final void method2561(ha var_ha, String string, int[] is, int i, int i_10_, int i_11_, boolean bool) { - if (i_11_ == 0) bool = false; - i_11_ |= ~0xffffff; - for (int i_12_ = 0; i_12_ < string.length(); i_12_++) { - int i_13_ = anIntArray4043[string.charAt(i_12_)]; - if (bool) aClass105Array4042[i_13_].method964(i + 1, i_10_ + 1, 0, -16777216, 1); - aClass105Array4042[i_13_].method964(i, i_10_, 0, i_11_, 1); - i += anIntArray4039[i_13_]; - } - } - - public static void method2562() { - anIntArray4043 = null; - } - - final void method2563(ha var_ha, String string, int i, int i_14_, int i_15_, boolean bool) { - int i_16_ = method2564(string) / 2; - var_ha.K(anIntArray4044); - if (i - i_16_ <= anIntArray4044[2] && i + i_16_ >= anIntArray4044[0] && i_14_ - anInt4041 <= anIntArray4044[3] && i_14_ + anInt4040 >= anIntArray4044[1]) method2561(var_ha, string, anIntArray4044, i - i_16_, i_14_, i_15_, bool); - } - - final int method2564(String string) { - int i = 0; - for (int i_17_ = 0; i_17_ < string.length(); i_17_++) { - int i_18_ = anIntArray4043[string.charAt(i_17_)]; - i += anIntArray4039[i_18_]; - } - return i; - } - - final int method2565() { - return anInt4040 - 1; - } - - Class323(ha var_ha, int i, boolean bool, Component component) { - aBoolean4037 = false; - aClass105Array4042 = new Class105[256]; - anIntArray4039 = new int[256]; - Font font = new Font("Helvetica", bool ? 1 : 0, i); - FontMetrics fontmetrics = component.getFontMetrics(font); - for (int i_19_ = 0; i_19_ < anInt4038; i_19_++) - method2559(var_ha, font, fontmetrics, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!\"\u00a3$%^&*()-_=+[{]};:'@#~,<.>/?\\| \u00c4\u00cb\u00cf\u00d6\u00dc\u00e4\u00eb\u00ef\u00f6\u00fc\u00ff\u00df\u00c1\u00c0\u00c9\u00c8\u00cd\u00cc\u00d3\u00d2\u00da\u00d9\u00e1\u00e0\u00e9\u00e8\u00ed\u00ec\u00f3\u00f2\u00fa\u00f9\u00c2\u00ca\u00ce\u00d4\u00db\u00e2\u00ea\u00ee\u00f4\u00fb\u00c6\u00e6\u00e3\u00c3\u00f5\u00d5\u00e7\u00c7".charAt(i_19_), i_19_, false); - if (bool && aBoolean4037) { - aBoolean4037 = false; - font = new Font("Helvetica", 0, i); - fontmetrics = component.getFontMetrics(font); - for (int i_20_ = 0; i_20_ < anInt4038; i_20_++) - method2559(var_ha, font, fontmetrics, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!\"\u00a3$%^&*()-_=+[{]};:'@#~,<.>/?\\| \u00c4\u00cb\u00cf\u00d6\u00dc\u00e4\u00eb\u00ef\u00f6\u00fc\u00ff\u00df\u00c1\u00c0\u00c9\u00c8\u00cd\u00cc\u00d3\u00d2\u00da\u00d9\u00e1\u00e0\u00e9\u00e8\u00ed\u00ec\u00f3\u00f2\u00fa\u00f9\u00c2\u00ca\u00ce\u00d4\u00db\u00e2\u00ea\u00ee\u00f4\u00fb\u00c6\u00e6\u00e3\u00c3\u00f5\u00d5\u00e7\u00c7".charAt(i_20_), i_20_, false); - if (!aBoolean4037) { - aBoolean4037 = false; - for (int i_21_ = 0; i_21_ < anInt4038; i_21_++) - method2559(var_ha, font, fontmetrics, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!\"\u00a3$%^&*()-_=+[{]};:'@#~,<.>/?\\| \u00c4\u00cb\u00cf\u00d6\u00dc\u00e4\u00eb\u00ef\u00f6\u00fc\u00ff\u00df\u00c1\u00c0\u00c9\u00c8\u00cd\u00cc\u00d3\u00d2\u00da\u00d9\u00e1\u00e0\u00e9\u00e8\u00ed\u00ec\u00f3\u00f2\u00fa\u00f9\u00c2\u00ca\u00ce\u00d4\u00db\u00e2\u00ea\u00ee\u00f4\u00fb\u00c6\u00e6\u00e3\u00c3\u00f5\u00d5\u00e7\u00c7".charAt(i_21_), i_21_, true); - } - } - } - - static { - for (int i = 0; i < 256; i++) { - int i_22_ = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!\"\u00a3$%^&*()-_=+[{]};:'@#~,<.>/?\\| \u00c4\u00cb\u00cf\u00d6\u00dc\u00e4\u00eb\u00ef\u00f6\u00fc\u00ff\u00df\u00c1\u00c0\u00c9\u00c8\u00cd\u00cc\u00d3\u00d2\u00da\u00d9\u00e1\u00e0\u00e9\u00e8\u00ed\u00ec\u00f3\u00f2\u00fa\u00f9\u00c2\u00ca\u00ce\u00d4\u00db\u00e2\u00ea\u00ee\u00f4\u00fb\u00c6\u00e6\u00e3\u00c3\u00f5\u00d5\u00e7\u00c7".indexOf(i); - if (i_22_ == -1) i_22_ = 74; - anIntArray4043[i] = i_22_; - } - } -} diff --git a/client/src/Class324.java b/client/src/Class324.java deleted file mode 100644 index 4d0ed2a38..000000000 --- a/client/src/Class324.java +++ /dev/null @@ -1,512 +0,0 @@ -/* Class324 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -import java.util.Random; - -abstract class Class324 { - static int anInt4045; - static int anInt4046; - static int anInt4047; - private ha aHa4048; - static int anInt4049; - static int anInt4050; - static int anInt4051; - static int anInt4052; - static int anInt4053; - static int anInt4054; - static int anInt4055; - static int anInt4056; - static int anInt4057; - static int anInt4058; - static int anInt4059; - static int anInt4060; - static int anInt4061; - static Class138 aClass138_4062 = new Class138(2, 4, 4, 0); - private Class143 aClass143_4063; - static int anInt4064; - static int anInt4065; - - private final void method2566(Class105[] class105s, int[] is, int i, int[] is_0_, int[] is_1_, int i_2_, String string, int i_3_) { - try { - i_2_ -= aClass143_4063.anInt1992; - anInt4058++; - int i_4_ = -1; - int i_5_ = -1; - int i_6_ = 0; - if (i_3_ == 174) { - int i_7_ = string.length(); - int i_8_ = 0; - for (/**/; i_7_ > i_8_; i_8_++) { - char c = (char) (Class354.method3464(string.charAt(i_8_), false) & 0xff); - if (c == 60) i_4_ = i_8_; - else { - if (c == 62 && i_4_ != -1) { - String string_9_ = string.substring(1 + i_4_, i_8_); - i_4_ = -1; - if (string_9_.equals("lt")) c = '<'; - else if (!string_9_.equals("gt")) { - if (string_9_.equals("nbsp")) c = '\u00a0'; - else if (!string_9_.equals("shy")) { - if (string_9_.equals("times")) c = '\u00d7'; - else if (!string_9_.equals("euro")) { - if (string_9_.equals("copy")) c = '\u00a9'; - else if (string_9_.equals("reg")) c = '\u00ae'; - else { - if (string_9_.startsWith("img=")) { - try { - int i_10_; - if (is_1_ != null) i_10_ = is_1_[i_6_]; - else i_10_ = 0; - int i_11_; - if (is != null) i_11_ = is[i_6_]; - else i_11_ = 0; - i_6_++; - int i_12_ = (Class348_Sub41.method3156(true, (string_9_.substring(4)))); - Class105 class105 = class105s[i_12_]; - int i_13_ = (is_0_ == null ? class105.method980() : is_0_[i_12_]); - class105.method964(i + i_10_, (-i_13_ + (aClass143_4063.anInt1992) + (i_2_ - -i_11_)), 1, 0, 1); - i += class105s[i_12_].method966(); - i_5_ = -1; - } catch (Exception exception) { - /* empty */ - } - } else method2573((byte) -92, string_9_); - continue; - } - } else c = '\u20ac'; - } else c = '\u00ad'; - } else c = '>'; - } - if (i_4_ == -1) { - if (i_5_ != -1) i += aClass143_4063.method1182(i_5_, (byte) -104, c); - int i_14_; - if (is_1_ == null) i_14_ = 0; - else i_14_ = is_1_[i_6_]; - int i_15_; - if (is == null) i_15_ = 0; - else i_15_ = is[i_6_]; - if (c != 32) { - if ((Class20.anInt320 & ~0xffffff) != 0) fa(c, 1 + i - -i_14_, i_2_ - -1 + i_15_, Class20.anInt320, true); - fa(c, i + i_14_, i_2_ + i_15_, Class348_Sub42_Sub1.anInt9492, false); - } else if (Class131.anInt1902 > 0) { - Class258.anInt4848 += Class131.anInt1902; - i += Class258.anInt4848 >> 8; - Class258.anInt4848 &= 0xff; - } - i_6_++; - int i_16_ = aClass143_4063.method1184((byte) -48, c); - if (Player.anInt10567 != -1) aHa4048.method3649((byte) -103, i_16_, i_2_ - -(int) ((double) (aClass143_4063.anInt1992) * 0.7), Player.anInt10567, i); - if (Class348_Sub40_Sub2.anInt9101 != -1) aHa4048.method3649((byte) -96, i_16_, (aClass143_4063.anInt1992) + i_2_, (Class348_Sub40_Sub2.anInt9101), i); - i_5_ = c; - i += i_16_; - } - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("da.V(" + (class105s != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ',' + i + ',' + (is_0_ != null ? "{...}" : "null") + ',' + (is_1_ != null ? "{...}" : "null") + ',' + i_2_ + ',' + (string != null ? "{...}" : "null") + ',' + i_3_ + ')')); - } - } - - final void method2567(int i, String string, byte i_17_, int i_18_, int i_19_, int i_20_, Class105[] class105s, int[] is) { - try { - anInt4056++; - if (i_17_ > 114 && string != null) { - method2579(i_19_, -78, i_18_); - method2583(0, i, 0, class105s, null, string, is, 25625, i_20_); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("da.R(" + i + ',' + (string != null ? "{...}" : "null") + ',' + i_17_ + ',' + i_18_ + ',' + i_19_ + ',' + i_20_ + ',' + (class105s != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ')')); - } - } - - final int method2568(int[] is, int i, byte i_21_, aa var_aa, int i_22_, Class105[] class105s, int i_23_, int i_24_, int i_25_, int i_26_, String string, int i_27_, int i_28_, int i_29_, int i_30_, int i_31_, int i_32_) { - try { - anInt4054++; - if (string == null) return 0; - method2579(i_30_, -76, i_23_); - if (i_32_ == 0) i_32_ = aClass143_4063.anInt1992; - int[] is_33_; - if ((aClass143_4063.anInt1993 + aClass143_4063.anInt1988 - -i_32_) <= i || i_32_ + i_32_ <= i) is_33_ = new int[]{i_25_}; - else is_33_ = null; - int i_34_ = aClass143_4063.method1188(string, is_33_, Class156.aStringArray2113, (byte) 87, class105s); - if (i_31_ == -1) { - i_31_ = i / i_32_; - if (i_31_ <= 0) i_31_ = 1; - } - if (i_31_ > 0 && i_31_ <= i_34_) { - Class156.aStringArray2113[i_31_ - 1] = aClass143_4063.method1181(class105s, i_25_, (Class156.aStringArray2113[i_31_ - 1]), (byte) 55); - i_34_ = i_31_; - } - if (i_26_ == 3 && i_34_ == 1) i_26_ = 1; - int i_35_ = -116 % ((i_21_ - -28) / 43); - int i_36_; - if (i_26_ == 0) i_36_ = aClass143_4063.anInt1988 + i_24_; - else if (i_26_ != 1) { - if (i_26_ != 2) { - int i_37_ = ((-(i_32_ * (i_34_ + -1)) + (i + (-aClass143_4063.anInt1988 + -aClass143_4063.anInt1993))) / (1 + i_34_)); - if (i_37_ < 0) i_37_ = 0; - i_32_ += i_37_; - i_36_ = aClass143_4063.anInt1988 + (i_24_ - -i_37_); - } else i_36_ = (-aClass143_4063.anInt1993 + i + (i_24_ - (i_34_ + -1) * i_32_)); - } else i_36_ = ((-aClass143_4063.anInt1993 + (-aClass143_4063.anInt1988 + i + -(i_32_ * (-1 + i_34_)))) / 2 + (aClass143_4063.anInt1988 + i_24_)); - for (int i_38_ = 0; i_38_ < i_34_; i_38_++) { - if (i_29_ == 0) method2583(i_27_, i_36_, i_22_, class105s, var_aa, Class156.aStringArray2113[i_38_], is, 25625, i_28_); - else if (i_29_ == 1) method2583(i_27_, i_36_, i_22_, class105s, var_aa, Class156.aStringArray2113[i_38_], is, 25625, (-aClass143_4063.method1183(true, (Class156.aStringArray2113[i_38_])) + i_25_) / 2 + i_28_); - else if (i_29_ == 2) method2583(i_27_, i_36_, i_22_, class105s, var_aa, Class156.aStringArray2113[i_38_], is, 25625, (-aClass143_4063.method1183(true, (Class156.aStringArray2113[i_38_])) + (i_25_ + i_28_))); - else if (i_38_ != i_34_ - 1) { - method2580(Class156.aStringArray2113[i_38_], 0, i_25_); - method2583(i_27_, i_36_, i_22_, class105s, var_aa, Class156.aStringArray2113[i_38_], is, 25625, i_28_); - Class131.anInt1902 = 0; - } else method2583(i_27_, i_36_, i_22_, class105s, var_aa, Class156.aStringArray2113[i_38_], is, 25625, i_28_); - i_36_ += i_32_; - } - return i_34_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("da.W(" + (is != null ? "{...}" : "null") + ',' + i + ',' + i_21_ + ',' + (var_aa != null ? "{...}" : "null") + ',' + i_22_ + ',' + (class105s != null ? "{...}" : "null") + ',' + i_23_ + ',' + i_24_ + ',' + i_25_ + ',' + i_26_ + ',' + (string != null ? "{...}" : "null") + ',' + i_27_ + ',' + i_28_ + ',' + i_29_ + ',' + i_30_ + ',' + i_31_ + ',' + i_32_ + ')')); - } - } - - abstract void fa(char c, int i, int i_39_, int i_40_, boolean bool); - - final void method2569(String string, int i, int i_41_, int i_42_, int i_43_, int i_44_) { - anInt4052++; - if (i_43_ >= -119) method2571(-128, -30, null, null, -107, -80, null, -6, -122, null); - if (string != null) { - method2579(i_44_, 122, i_41_); - method2583(0, i, 0, null, null, string, null, 25625, -aClass143_4063.method1183(true, string) + i_42_); - } - } - - static final Class46 method2570(int i, int i_45_) { - anInt4055++; - if (i != 1512932720) return null; - int i_46_ = i_45_ >> 16; - int i_47_ = i_45_ & 0xffff; - if (Class348_Sub40_Sub33.aClass46ArrayArray9427[i_46_] == null || (Class348_Sub40_Sub33.aClass46ArrayArray9427[i_46_][i_47_] == null)) { - boolean bool = Class320.method2547(i_46_, (byte) 84); - if (!bool) return null; - } - return Class348_Sub40_Sub33.aClass46ArrayArray9427[i_46_][i_47_]; - } - - final int method2571(int i, int i_48_, int[] is, String string, int i_49_, int i_50_, Class105[] class105s, int i_51_, int i_52_, Random random) { - try { - anInt4047++; - if (string == null) return 0; - random.setSeed(i_48_); - int i_53_ = (random.nextInt() & 0x1f) + 192; - method2579(i_53_ << 24 | 0xffffff & i_50_, i ^ ~0x79, i_53_ << 24 | i_49_ & 0xffffff); - int i_54_ = string.length(); - if (i != -1) aClass138_4062 = null; - int[] is_55_ = new int[i_54_]; - int i_56_ = 0; - for (int i_57_ = 0; i_54_ > i_57_; i_57_++) { - is_55_[i_57_] = i_56_; - if ((0x3 & random.nextInt()) == 0) i_56_++; - } - method2566(class105s, null, i_52_, is, is_55_, i_51_, string, 174); - return i_56_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("da.BA(" + i + ',' + i_48_ + ',' + (is != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ',' + i_49_ + ',' + i_50_ + ',' + (class105s != null ? "{...}" : "null") + ',' + i_51_ + ',' + i_52_ + ',' + (random != null ? "{...}" : "null") + ')')); - } - } - - public static void method2572(byte i) { - aClass138_4062 = null; - if (i != 23) aClass138_4062 = null; - } - - private final void method2573(byte i, String string) { - anInt4046++; - try { - if (i <= -78) { - if (string.startsWith("col=")) Class348_Sub42_Sub1.anInt9492 = (Class348_Sub42_Sub1.anInt9492 & ~0xffffff | Class48.method450(-20188, string.substring(4), 16) & 0xffffff); - else if (string.equals("/col")) Class348_Sub42_Sub1.anInt9492 = (Class348_Sub42_Sub1.anInt9492 & ~0xffffff | 0xffffff & Class186_Sub1.anInt5807); - if (string.startsWith("argb=")) Class348_Sub42_Sub1.anInt9492 = Class48.method450(-20188, string.substring(5), 16); - else if (!string.equals("/argb")) { - if (!string.startsWith("str=")) { - if (string.equals("str")) Player.anInt10567 = (Class348_Sub42_Sub1.anInt9492 & ~0xffffff | 0x800000); - else if (!string.equals("/str")) { - if (!string.startsWith("u=")) { - if (!string.equals("u")) { - if (!string.equals("/u")) { - if (!string.equalsIgnoreCase("shad=-1")) { - if (string.startsWith("shad=")) Class20.anInt320 = ((~0xffffff & (Class348_Sub42_Sub1.anInt9492)) | (Class48.method450(-20188, string.substring(5), 16))); - else if (string.equals("shad")) Class20.anInt320 = (~0xffffff & (Class348_Sub42_Sub1.anInt9492)); - else if (!string.equals("/shad")) { - if (string.equals("br")) method2579((Class151.anInt2061), 117, (Class186_Sub1.anInt5807)); - } else Class20.anInt320 = Class151.anInt2061; - } else Class20.anInt320 = 0; - } else Class348_Sub40_Sub2.anInt9101 = -1; - } else Class348_Sub40_Sub2.anInt9101 = (Class348_Sub42_Sub1.anInt9492 & ~0xffffff); - } else Class348_Sub40_Sub2.anInt9101 = ((Class348_Sub42_Sub1.anInt9492 & ~0xffffff) | Class48.method450(-20188, string.substring(2), 16)); - } else Player.anInt10567 = -1; - } else Player.anInt10567 = (Class348_Sub42_Sub1.anInt9492 & ~0xffffff | Class48.method450(-20188, string.substring(4), 16)); - } else Class348_Sub42_Sub1.anInt9492 = Class186_Sub1.anInt5807; - } - } catch (Exception exception) { - /* empty */ - } - } - - final void method2574(int i, int i_58_, String string, int i_59_, int i_60_, int i_61_, boolean bool) { - anInt4059++; - if (string != null) { - method2579(i_60_, 108, i); - int i_62_ = string.length(); - int[] is = new int[i_62_]; - if (bool != false) aHa4048 = null; - for (int i_63_ = 0; i_63_ < i_62_; i_63_++) - is[i_63_] = (int) (5.0 * Math.sin((double) i_63_ / 2.0 + (double) i_61_ / 5.0)); - method2566(null, is, -(aClass143_4063.method1183(!bool, string) / 2) + i_59_, null, null, i_58_, string, 174); - } - } - - final void method2575(byte i, int i_64_, int i_65_, String string, int i_66_, int i_67_) { - anInt4060++; - if (string != null) { - method2579(i_66_, 115, i_65_); - method2583(0, i_67_, 0, null, null, string, null, 25625, -(aClass143_4063.method1183(true, string) / 2) + i_64_); - int i_68_ = 7 % ((66 - i) / 44); - } - } - - final void method2576(String string, int i, int i_69_, int i_70_, int i_71_, int i_72_) { - if (i_72_ <= -108) { - anInt4045++; - if (string != null) { - method2579(i_71_, 110, i); - method2583(0, i_69_, 0, null, null, string, null, 25625, i_70_); - } - } - } - - final void method2577(int i, int i_73_, String string, int i_74_, int i_75_, int i_76_, int i_77_, int i_78_) { - anInt4051++; - if (string != null) { - method2579(i_75_, -104, i_74_); - double d = 7.0 - (double) i_76_ / 8.0; - if (d < 0.0) d = 0.0; - int i_79_ = string.length(); - if (i_78_ != -20509) fa('\ufff3', -40, -44, -36, true); - int[] is = new int[i_79_]; - for (int i_80_ = 0; i_79_ > i_80_; i_80_++) - is[i_80_] = (int) (Math.sin((double) i + (double) i_80_ / 1.5) * d); - method2566(null, is, i_77_ + -(aClass143_4063.method1183(true, string) / 2), null, null, i_73_, string, 174); - } - } - - abstract void method2578(char c, int i, int i_81_, int i_82_, boolean bool, aa var_aa, int i_83_, int i_84_); - - private final void method2579(int i, int i_85_, int i_86_) { - Class348_Sub40_Sub2.anInt9101 = -1; - if (i == -1) i = 0; - Class348_Sub42_Sub1.anInt9492 = Class186_Sub1.anInt5807 = i_86_; - Class258.anInt4848 = 0; - Class131.anInt1902 = 0; - int i_87_ = -28 / ((56 - i_85_) / 49); - anInt4053++; - Player.anInt10567 = -1; - Class20.anInt320 = Class151.anInt2061 = i; - } - - private final void method2580(String string, int i, int i_88_) { - anInt4064++; - int i_89_ = 0; - boolean bool = false; - for (int i_90_ = i; i_90_ < string.length(); i_90_++) { - int i_91_ = string.charAt(i_90_); - if (i_91_ != 60) { - if (i_91_ == 62) bool = false; - else if (!bool && i_91_ == 32) i_89_++; - } else bool = true; - } - if (i_89_ > 0) Class131.anInt1902 = (-aClass143_4063.method1183(true, string) + i_88_ << 8) / i_89_; - } - - final void method2581(String string, int i, int i_92_, int i_93_, byte i_94_, int i_95_, int i_96_) { - anInt4049++; - if (string != null) { - method2579(i_95_, 117, i); - if (i_94_ > -12) aClass143_4063 = null; - int i_97_ = string.length(); - int[] is = new int[i_97_]; - int[] is_98_ = new int[i_97_]; - for (int i_99_ = 0; i_97_ > i_99_; i_99_++) { - is[i_99_] = (int) (5.0 * Math.sin((double) i_92_ / 5.0 + (double) i_99_ / 5.0)); - is_98_[i_99_] = (int) (5.0 * Math.sin((double) i_99_ / 3.0 + (double) i_92_ / 5.0)); - } - method2566(null, is_98_, -(aClass143_4063.method1183(true, string) / 2) + i_96_, null, is, i_93_, string, 174); - } - } - - static final Class89 method2582(Class377 class377, Class39[] class39s, int i) { - try { - anInt4065++; - if (i != -2113) aClass138_4062 = null; - for (int i_100_ = 0; class39s.length > i_100_; i_100_++) { - if (class39s[i_100_] == null || class39s[i_100_].aLong517 <= 0) return null; - } - long l = OpenGL.glCreateProgramObjectARB(); - for (int i_101_ = 0; class39s.length > i_101_; i_101_++) - OpenGL.glAttachObjectARB(l, (class39s[i_101_].aLong517)); - OpenGL.glLinkProgramARB(l); - OpenGL.glGetObjectParameterivARB(l, 35714, Class211.anIntArray2744, 0); - if (Class211.anIntArray2744[0] == 0) { - if (Class211.anIntArray2744[0] == 0) System.out.println("Shader linking failed:"); - OpenGL.glGetObjectParameterivARB(l, 35716, Class211.anIntArray2744, 1); - if (Class211.anIntArray2744[1] > 1) { - byte[] is = new byte[Class211.anIntArray2744[1]]; - OpenGL.glGetInfoLogARB(l, Class211.anIntArray2744[1], Class211.anIntArray2744, 0, is, 0); - System.out.println(new String(is)); - } - if (Class211.anIntArray2744[0] == 0) { - for (int i_102_ = 0; class39s.length > i_102_; i_102_++) - OpenGL.glDetachObjectARB(l, (class39s[i_102_].aLong517)); - OpenGL.glDeleteObjectARB(l); - return null; - } - } - return new Class89(class377, l, class39s); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("da.M(" + (class377 != null ? "{...}" : "null") + ',' + (class39s != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - private final void method2583(int i, int i_103_, int i_104_, Class105[] class105s, aa var_aa, String string, int[] is, int i_105_, int i_106_) { - try { - i_103_ -= aClass143_4063.anInt1992; - anInt4061++; - int i_107_ = -1; - int i_108_ = -1; - int i_109_ = string.length(); - if (i_105_ == 25625) { - int i_110_ = 0; - for (/**/; i_110_ < i_109_; i_110_++) { - char c = (char) (Class354.method3464(string.charAt(i_110_), false) & 0xff); - if (c == 60) i_107_ = i_110_; - else { - if (c == 62 && i_107_ != -1) { - String string_111_ = string.substring(i_107_ - -1, i_110_); - i_107_ = -1; - if (string_111_.equals("lt")) c = '<'; - else if (string_111_.equals("gt")) c = '>'; - else if (!string_111_.equals("nbsp")) { - if (string_111_.equals("shy")) c = '\u00ad'; - else if (!string_111_.equals("times")) { - if (!string_111_.equals("euro")) { - if (string_111_.equals("copy")) c = '\u00a9'; - else if (string_111_.equals("reg")) c = '\u00ae'; - else { - if (string_111_.startsWith("img=")) { - try { - int i_112_ = (Class348_Sub41.method3156(true, (string_111_.substring(4)))); - Class105 class105 = class105s[i_112_]; - int i_113_ = (is == null ? class105.method980() : is[i_112_]); - if (((Class348_Sub42_Sub1.anInt9492) & ~0xffffff) != -16777216) class105.method964(i_106_, (-i_113_ + (aClass143_4063.anInt1992) + i_103_), 0, (0xffffff | (~0xffffff & (Class348_Sub42_Sub1.anInt9492))), 1); - else class105.method964(i_106_, ((aClass143_4063.anInt1992) + (i_103_ - i_113_)), 1, 0, 1); - i_108_ = -1; - i_106_ += class105s[i_112_].method966(); - } catch (Exception exception) { - /* empty */ - } - } else method2573((byte) -118, string_111_); - continue; - } - } else c = '\u20ac'; - } else c = '\u00d7'; - } else c = '\u00a0'; - } - if (i_107_ == -1) { - if (i_108_ != -1) i_106_ += aClass143_4063.method1182(i_108_, (byte) -90, c); - if (c != 32) { - if (var_aa == null) { - if ((Class20.anInt320 & ~0xffffff) != 0) fa(c, i_106_ + 1, 1 + i_103_, Class20.anInt320, true); - fa(c, i_106_, i_103_, Class348_Sub42_Sub1.anInt9492, false); - } else { - if ((~0xffffff & Class20.anInt320) != 0) method2578(c, 1 + i_106_, i_103_ + 1, Class20.anInt320, true, var_aa, i_104_, i); - method2578(c, i_106_, i_103_, Class348_Sub42_Sub1.anInt9492, false, var_aa, i_104_, i); - } - } else if (Class131.anInt1902 > 0) { - Class258.anInt4848 += Class131.anInt1902; - i_106_ += Class258.anInt4848 >> 8; - Class258.anInt4848 &= 0xff; - } - int i_114_ = aClass143_4063.method1184((byte) -48, c); - if (Player.anInt10567 != -1) aHa4048.method3649((byte) -119, i_114_, (int) ((double) aClass143_4063.anInt1992 * 0.7) + i_103_, Player.anInt10567, i_106_); - if (Class348_Sub40_Sub2.anInt9101 != -1) aHa4048.method3649((byte) -114, i_114_, (aClass143_4063.anInt1992) + (i_103_ + 1), (Class348_Sub40_Sub2.anInt9101), i_106_); - i_106_ += i_114_; - i_108_ = c; - } - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("da.AA(" + i + ',' + i_103_ + ',' + i_104_ + ',' + (class105s != null ? "{...}" : "null") + ',' + (var_aa != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ',' + i_105_ + ',' + i_106_ + ')')); - } - } - - Class324(ha var_ha, Class143 class143) { - try { - aClass143_4063 = class143; - aHa4048 = var_ha; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("da.(" + (var_ha != null ? "{...}" : "null") + ',' + (class143 != null ? "{...}" : "null") + ')')); - } - } - - final int method2584(int[] is, int i, int i_115_, Class105[] class105s, int i_116_, int i_117_, int i_118_, aa var_aa, int i_119_, int i_120_, int i_121_, int i_122_, int i_123_, boolean bool, int i_124_, String string) { - try { - if (bool != false) method2570(-23, 41); - anInt4057++; - return method2568(is, i_118_, (byte) 97, var_aa, i_120_, class105s, i_116_, i_119_, i_122_, i_117_, string, i_121_, i_123_, i_124_, i_115_, 0, i); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("da.J(" + (is != null ? "{...}" : "null") + ',' + i + ',' + i_115_ + ',' + (class105s != null ? "{...}" : "null") + ',' + i_116_ + ',' + i_117_ + ',' + i_118_ + ',' + (var_aa != null ? "{...}" : "null") + ',' + i_119_ + ',' + i_120_ + ',' + i_121_ + ',' + i_122_ + ',' + i_123_ + ',' + bool + ',' + i_124_ + ',' + (string != null ? "{...}" : "null") + ')')); - } - } - - final int method2585(int[] is, int i, Class105[] class105s, int i_125_, int i_126_, int i_127_, int i_128_, Random random, int i_129_, int i_130_, int i_131_, int i_132_, int i_133_, String string, int[] is_134_) { - try { - anInt4050++; - if (string == null) return 0; - random.setSeed(i_131_); - int i_135_ = (0x1f & random.nextInt()) + 192; - method2579(i_135_ << 24 | i_128_ & 0xffffff, -45, 0xffffff & i_126_ | i_135_ << 24); - int i_136_ = string.length(); - int[] is_137_ = new int[i_136_]; - int i_138_ = 0; - for (int i_139_ = 0; i_136_ > i_139_; i_139_++) { - is_137_[i_139_] = i_138_; - if ((0x3 & random.nextInt()) == 0) i_138_++; - } - int i_140_ = i_133_; - int i_141_ = aClass143_4063.anInt1988 + i_130_; - int i_142_ = -1; - if (i_125_ == 1) i_141_ += (-aClass143_4063.anInt1988 + i_127_ + -aClass143_4063.anInt1993) / 2; - else if (i_125_ == 2) i_141_ = -aClass143_4063.anInt1993 + (i_127_ + i_130_); - if (i_132_ != -33) method2578('\ufffe', 83, -110, 26, true, null, 113, 97); - if (i_129_ == 1) { - i_142_ = aClass143_4063.method1183(true, string) + i_138_; - i_140_ += (i + -i_142_) / 2; - } else if (i_129_ == 2) { - i_142_ = aClass143_4063.method1183(true, string) - -i_138_; - i_140_ += -i_142_ + i; - } - method2566(class105s, null, i_140_, is, is_137_, i_141_, string, 174); - if (is_134_ != null) { - if (i_142_ == -1) i_142_ = aClass143_4063.method1183(true, string) - -i_138_; - is_134_[2] = i_142_; - is_134_[3] = (aClass143_4063.anInt1993 + aClass143_4063.anInt1988); - is_134_[0] = i_140_; - is_134_[1] = -aClass143_4063.anInt1988 + i_141_; - } - return i_138_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("da.P(" + (is != null ? "{...}" : "null") + ',' + i + ',' + (class105s != null ? "{...}" : "null") + ',' + i_125_ + ',' + i_126_ + ',' + i_127_ + ',' + i_128_ + ',' + (random != null ? "{...}" : "null") + ',' + i_129_ + ',' + i_130_ + ',' + i_131_ + ',' + i_132_ + ',' + i_133_ + ',' + (string != null ? "{...}" : "null") + ',' + (is_134_ != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class324_Sub1.java b/client/src/Class324_Sub1.java deleted file mode 100644 index d715f94d7..000000000 --- a/client/src/Class324_Sub1.java +++ /dev/null @@ -1,245 +0,0 @@ -/* Class324_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class324_Sub1 extends Class324 { - private final ha_Sub1 aHa_Sub1_6486; - private final int[] anIntArray6487; - private final int[] anIntArray6488; - private final int[] anIntArray6489; - private final byte[][] aByteArrayArray6490; - private final int[] anIntArray6491; - - final void fa(char c, int i, int i_0_, int i_1_, boolean bool) { - i += anIntArray6491[c]; - i_0_ += anIntArray6487[c]; - int i_2_ = anIntArray6489[c]; - int i_3_ = anIntArray6488[c]; - int i_4_ = aHa_Sub1_6486.anInt7477; - int i_5_ = i + i_0_ * i_4_; - int i_6_ = i_4_ - i_2_; - int i_7_ = 0; - int i_8_ = 0; - if (i_0_ < aHa_Sub1_6486.anInt7476) { - int i_9_ = aHa_Sub1_6486.anInt7476 - i_0_; - i_3_ -= i_9_; - i_0_ = aHa_Sub1_6486.anInt7476; - i_8_ += i_9_ * i_2_; - i_5_ += i_9_ * i_4_; - } - if (i_0_ + i_3_ > aHa_Sub1_6486.anInt7503) i_3_ -= i_0_ + i_3_ - aHa_Sub1_6486.anInt7503; - if (i < aHa_Sub1_6486.anInt7496) { - int i_10_ = aHa_Sub1_6486.anInt7496 - i; - i_2_ -= i_10_; - i = aHa_Sub1_6486.anInt7496; - i_8_ += i_10_; - i_5_ += i_10_; - i_7_ += i_10_; - i_6_ += i_10_; - } - if (i + i_2_ > aHa_Sub1_6486.anInt7507) { - int i_11_ = i + i_2_ - aHa_Sub1_6486.anInt7507; - i_2_ -= i_11_; - i_7_ += i_11_; - i_6_ += i_11_; - } - if (i_2_ > 0 && i_3_ > 0) { - if ((i_1_ & ~0xffffff) == -16777216) method2588(aByteArrayArray6490[c], aHa_Sub1_6486.anIntArray7483, i_1_, i_8_, i_5_, i_2_, i_3_, i_6_, i_7_); - else if ((i_1_ & ~0xffffff) != 0) method2586(aByteArrayArray6490[c], aHa_Sub1_6486.anIntArray7483, i_1_, i_8_, i_5_, i_2_, i_3_, i_6_, i_7_); - } - } - - private final void method2586(byte[] is, int[] is_12_, int i, int i_13_, int i_14_, int i_15_, int i_16_, int i_17_, int i_18_) { - int i_19_ = i >>> 24; - int i_20_ = 255 - i_19_; - for (int i_21_ = -i_16_; i_21_ < 0; i_21_++) { - for (int i_22_ = -i_15_; i_22_ < 0; i_22_++) { - if (is[i_13_++] != 0) { - int i_23_ = ((((i & 0xff00ff) * i_19_ & ~0xff00ff) + ((i & 0xff00) * i_19_ & 0xff0000)) >> 8); - int i_24_ = is_12_[i_14_]; - is_12_[i_14_++] = ((((i_24_ & 0xff00ff) * i_20_ & ~0xff00ff) + ((i_24_ & 0xff00) * i_20_ & 0xff0000)) >> 8) + i_23_; - } else i_14_++; - } - i_14_ += i_17_; - i_13_ += i_18_; - } - } - - private final void method2587(byte[] is, int[] is_25_, int i, int i_26_, int i_27_, int i_28_, int i_29_, int i_30_, int i_31_, int i_32_, int i_33_, int i_34_, aa var_aa, int i_35_, int i_36_) { - aa_Sub3 var_aa_Sub3 = (aa_Sub3) var_aa; - int[] is_37_ = var_aa_Sub3.anIntArray5201; - int[] is_38_ = var_aa_Sub3.anIntArray5202; - int i_39_ = i_33_; - if (i_36_ > i_39_) { - i_39_ = i_36_; - i_27_ += (i_36_ - i_33_) * aHa_Sub1_6486.anInt7477; - i_26_ += (i_36_ - i_33_) * i_34_; - } - int i_40_ = (Math.min(i_36_ + is_37_.length, i_33_ + i_29_)); - for (int i_41_ = i_39_; i_41_ < i_40_; i_41_++) { - int i_42_ = i_35_ + is_37_[i_41_ - i_36_]; - int i_43_ = is_38_[i_41_ - i_36_]; - int i_44_ = i_28_; - if (i_32_ > i_42_) { - int i_45_ = i_32_ - i_42_; - if (i_45_ >= i_43_) { - i_26_ += i_28_ + i_31_; - i_27_ += i_28_ + i_30_; - continue; - } - i_43_ -= i_45_; - } else { - int i_46_ = i_42_ - i_32_; - if (i_46_ >= i_28_) { - i_26_ += i_28_ + i_31_; - i_27_ += i_28_ + i_30_; - continue; - } - i_26_ += i_46_; - i_44_ -= i_46_; - i_27_ += i_46_; - } - int i_47_ = 0; - if (i_44_ < i_43_) i_43_ = i_44_; - else i_47_ = i_44_ - i_43_; - for (int i_48_ = 0; i_48_ < i_43_; i_48_++) { - if (is[i_26_++] != 0) is_25_[i_27_++] = i; - else i_27_++; - } - i_26_ += i_47_ + i_31_; - i_27_ += i_47_ + i_30_; - } - } - - private final void method2588(byte[] is, int[] is_49_, int i, int i_50_, int i_51_, int i_52_, int i_53_, int i_54_, int i_55_) { - int i_56_ = -(i_52_ >> 2); - i_52_ = -(i_52_ & 0x3); - for (int i_57_ = -i_53_; i_57_ < 0; i_57_++) { - for (int i_58_ = i_56_; i_58_ < 0; i_58_++) { - if (is[i_50_++] != 0) is_49_[i_51_++] = i; - else i_51_++; - if (is[i_50_++] != 0) is_49_[i_51_++] = i; - else i_51_++; - if (is[i_50_++] != 0) is_49_[i_51_++] = i; - else i_51_++; - if (is[i_50_++] != 0) is_49_[i_51_++] = i; - else i_51_++; - } - for (int i_59_ = i_52_; i_59_ < 0; i_59_++) { - if (is[i_50_++] != 0) is_49_[i_51_++] = i; - else i_51_++; - } - i_51_ += i_54_; - i_50_ += i_55_; - } - } - - final void method2578(char c, int i, int i_60_, int i_61_, boolean bool, aa var_aa, int i_62_, int i_63_) { - if (var_aa == null) fa(c, i, i_60_, i_61_, bool); - else { - i += anIntArray6491[c]; - i_60_ += anIntArray6487[c]; - int i_64_ = anIntArray6489[c]; - int i_65_ = anIntArray6488[c]; - int i_66_ = aHa_Sub1_6486.anInt7477; - int i_67_ = i + i_60_ * i_66_; - int i_68_ = i_66_ - i_64_; - int i_69_ = 0; - int i_70_ = 0; - if (i_60_ < aHa_Sub1_6486.anInt7476) { - int i_71_ = aHa_Sub1_6486.anInt7476 - i_60_; - i_65_ -= i_71_; - i_60_ = aHa_Sub1_6486.anInt7476; - i_70_ += i_71_ * i_64_; - i_67_ += i_71_ * i_66_; - } - if (i_60_ + i_65_ > aHa_Sub1_6486.anInt7503) i_65_ -= i_60_ + i_65_ - aHa_Sub1_6486.anInt7503; - if (i < aHa_Sub1_6486.anInt7496) { - int i_72_ = aHa_Sub1_6486.anInt7496 - i; - i_64_ -= i_72_; - i = aHa_Sub1_6486.anInt7496; - i_70_ += i_72_; - i_67_ += i_72_; - i_69_ += i_72_; - i_68_ += i_72_; - } - if (i + i_64_ > aHa_Sub1_6486.anInt7507) { - int i_73_ = i + i_64_ - aHa_Sub1_6486.anInt7507; - i_64_ -= i_73_; - i_69_ += i_73_; - i_68_ += i_73_; - } - if (i_64_ > 0 && i_65_ > 0) { - if ((i_61_ & ~0xffffff) == -16777216) method2587(aByteArrayArray6490[c], aHa_Sub1_6486.anIntArray7483, i_61_, i_70_, i_67_, i_64_, i_65_, i_68_, i_69_, i, i_60_, anIntArray6489[c], var_aa, i_62_, i_63_); - else method2589(aByteArrayArray6490[c], aHa_Sub1_6486.anIntArray7483, i_61_, i_70_, i_67_, i_64_, i_65_, i_68_, i_69_, i, i_60_, anIntArray6489[c], var_aa, i_62_, i_63_); - } - } - } - - private final void method2589(byte[] is, int[] is_74_, int i, int i_75_, int i_76_, int i_77_, int i_78_, int i_79_, int i_80_, int i_81_, int i_82_, int i_83_, aa var_aa, int i_84_, int i_85_) { - aa_Sub3 var_aa_Sub3 = (aa_Sub3) var_aa; - int[] is_86_ = var_aa_Sub3.anIntArray5201; - int[] is_87_ = var_aa_Sub3.anIntArray5202; - int i_88_ = i_81_ - aHa_Sub1_6486.anInt7496; - int i_89_ = i_82_; - if (i_85_ > i_89_) { - i_89_ = i_85_; - i_76_ += (i_85_ - i_82_) * aHa_Sub1_6486.anInt7477; - i_75_ += (i_85_ - i_82_) * i_83_; - } - int i_90_ = (Math.min(i_85_ + is_86_.length, i_82_ + i_78_)); - int i_91_ = i >>> 24; - int i_92_ = 255 - i_91_; - for (int i_93_ = i_89_; i_93_ < i_90_; i_93_++) { - int i_94_ = is_86_[i_93_ - i_85_] + i_84_; - int i_95_ = is_87_[i_93_ - i_85_]; - int i_96_ = i_77_; - if (i_88_ > i_94_) { - int i_97_ = i_88_ - i_94_; - if (i_97_ >= i_95_) { - i_75_ += i_77_ + i_80_; - i_76_ += i_77_ + i_79_; - continue; - } - i_95_ -= i_97_; - } else { - int i_98_ = i_94_ - i_88_; - if (i_98_ >= i_77_) { - i_75_ += i_77_ + i_80_; - i_76_ += i_77_ + i_79_; - continue; - } - i_75_ += i_98_; - i_96_ -= i_98_; - i_76_ += i_98_; - } - int i_99_ = 0; - if (i_96_ < i_95_) i_95_ = i_96_; - else i_99_ = i_96_ - i_95_; - for (int i_100_ = -i_95_; i_100_ < 0; i_100_++) { - if (is[i_75_++] != 0) { - int i_101_ = ((((i & 0xff00ff) * i_91_ & ~0xff00ff) + ((i & 0xff00) * i_91_ & 0xff0000)) >> 8); - int i_102_ = is_74_[i_76_]; - is_74_[i_76_++] = ((((i_102_ & 0xff00ff) * i_92_ & ~0xff00ff) + ((i_102_ & 0xff00) * i_92_ & 0xff0000)) >> 8) + i_101_; - } else i_76_++; - } - i_75_ += i_99_ + i_80_; - i_76_ += i_99_ + i_79_; - } - } - - Class324_Sub1(ha_Sub1 var_ha_Sub1, Class143 class143, Class207[] class207s, int[] is, int[] is_103_) { - super(var_ha_Sub1, class143); - aHa_Sub1_6486 = var_ha_Sub1; - anIntArray6489 = is; - anIntArray6488 = is_103_; - aByteArrayArray6490 = new byte[class207s.length][]; - anIntArray6487 = new int[class207s.length]; - anIntArray6491 = new int[class207s.length]; - for (int i = 0; i < class207s.length; i++) { - aByteArrayArray6490[i] = class207s[i].aByteArray2699; - anIntArray6487[i] = class207s[i].anInt2700; - anIntArray6491[i] = class207s[i].anInt2703; - } - } -} diff --git a/client/src/Class324_Sub2.java b/client/src/Class324_Sub2.java deleted file mode 100644 index aa65cb9f6..000000000 --- a/client/src/Class324_Sub2.java +++ /dev/null @@ -1,183 +0,0 @@ -/* Class324_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaclib.memory.Buffer; -import jaclib.memory.Stream; - -final class Class324_Sub2 extends Class324 { - private final Interface18_Impl3 anInterface18_Impl3_6492; - private final boolean aBoolean6493; - private final ha_Sub3 aHa_Sub3_6494; - private final Interface5_Impl1 anInterface5_Impl1_6495; - - final void method2578(char c, int i, int i_0_, int i_1_, boolean bool, aa var_aa, int i_2_, int i_3_) { - /* empty */ - } - - Class324_Sub2(ha_Sub3 var_ha_Sub3, Class143 class143, Class207[] class207s, boolean bool) { - super(var_ha_Sub3, class143); - aHa_Sub3_6494 = var_ha_Sub3; - int i = 0; - for (int i_4_ = 0; i_4_ < 256; i_4_++) { - Class207 class207 = class207s[i_4_]; - if (class207.anInt2696 > i) i = class207.anInt2696; - if (class207.anInt2702 > i) i = class207.anInt2702; - } - int i_5_ = i * 16; - if (bool) { - byte[] is = new byte[i_5_ * i_5_]; - for (int i_6_ = 0; i_6_ < 256; i_6_++) { - Class207 class207 = class207s[i_6_]; - int i_7_ = class207.anInt2696; - int i_8_ = class207.anInt2702; - int i_9_ = i_6_ % 16 * i; - int i_10_ = i_6_ / 16 * i; - int i_11_ = i_10_ * i_5_ + i_9_; - int i_12_ = 0; - if (class207.aByteArray2695 == null) { - byte[] is_13_ = class207.aByteArray2699; - for (int i_14_ = 0; i_14_ < i_7_; i_14_++) { - for (int i_15_ = 0; i_15_ < i_8_; i_15_++) - is[i_11_++] = (byte) (is_13_[i_12_++] == 0 ? 0 : -1); - i_11_ += i_5_ - i_8_; - } - } else { - byte[] is_16_ = class207.aByteArray2695; - for (int i_17_ = 0; i_17_ < i_7_; i_17_++) { - for (int i_18_ = 0; i_18_ < i_8_; i_18_++) - is[i_11_++] = is_16_[i_12_++]; - i_11_ += i_5_ - i_8_; - } - } - } - if (!var_ha_Sub3.method3880(Class68.aClass68_1183, Class348_Sub40_Sub38.aClass304_9471, (byte) 126)) { - int[] is_19_ = new int[is.length]; - for (int i_20_ = 0; i_20_ < is.length; i_20_++) - is_19_[i_20_] = is[i_20_] << 24; - anInterface18_Impl3_6492 = var_ha_Sub3.method3839(i_5_, i_5_, -15137, false, is_19_); - } else anInterface18_Impl3_6492 = var_ha_Sub3.method3944(is, i_5_, (Class348_Sub40_Sub38.aClass304_9471), 2, false, i_5_); - aBoolean6493 = true; - } else { - int[] is = new int[i_5_ * i_5_]; - for (int i_21_ = 0; i_21_ < 256; i_21_++) { - Class207 class207 = class207s[i_21_]; - int[] is_22_ = class207.anIntArray2697; - byte[] is_23_ = class207.aByteArray2695; - byte[] is_24_ = class207.aByteArray2699; - int i_25_ = class207.anInt2696; - int i_26_ = class207.anInt2702; - int i_27_ = i_21_ % 16 * i; - int i_28_ = i_21_ / 16 * i; - int i_29_ = i_28_ * i_5_ + i_27_; - int i_30_ = 0; - if (is_23_ == null) { - for (int i_33_ = 0; i_33_ < i_25_; i_33_++) { - for (int i_34_ = 0; i_34_ < i_26_; i_34_++) { - int i_35_; - if ((i_35_ = is_24_[i_30_++]) != 0) is[i_29_++] = ~0xffffff | is_22_[i_35_ & 0xff]; - else i_29_++; - } - i_29_ += i_5_ - i_26_; - } - } else { - for (int i_31_ = 0; i_31_ < i_25_; i_31_++) { - for (int i_32_ = 0; i_32_ < i_26_; i_32_++) { - is[i_29_++] = (is_23_[i_30_] << 24 | is_22_[is_24_[i_30_] & 0xff]); - i_30_++; - } - i_29_ += i_5_ - i_26_; - } - } - } - anInterface18_Impl3_6492 = var_ha_Sub3.method3839(i_5_, i_5_, -15137, false, is); - aBoolean6493 = false; - } - anInterface18_Impl3_6492.method64(Class206.aClass209_4874, -22095); - anInterface5_Impl1_6495 = var_ha_Sub3.method3889(false, 16711680); - anInterface5_Impl1_6495.method20(20480, (byte) 126, 20); - for (int i_36_ = 0; i_36_ < 4; i_36_++) { - Buffer buffer = anInterface5_Impl1_6495.method19(true, 26775); - if (buffer != null) { - Stream stream = aHa_Sub3_6494.method3893(buffer, 9179); - float f = (anInterface18_Impl3_6492.method67((float) i_5_, 96) / (float) i_5_); - float f_37_ = (anInterface18_Impl3_6492.method71((byte) -45, (float) i_5_) / (float) i_5_); - for (int i_38_ = 0; i_38_ < 256; i_38_++) { - Class207 class207 = class207s[i_38_]; - int i_39_ = class207.anInt2696; - int i_40_ = class207.anInt2702; - int i_41_ = class207.anInt2700; - int i_42_ = class207.anInt2703; - float f_43_ = (float) (i_38_ % 16 * i); - float f_44_ = (float) (i_38_ / 16 * i); - float f_45_ = f_43_ * f; - float f_46_ = f_44_ * f_37_; - float f_47_ = (f_43_ + (float) i_40_) * f; - float f_48_ = (f_44_ + (float) i_39_) * f_37_; - if (Stream.c()) { - stream.a((float) i_42_); - stream.a((float) i_41_); - stream.a(0.0F); - stream.a(f_45_); - stream.a(f_46_); - stream.a((float) i_42_); - stream.a((float) (i_41_ + i_39_)); - stream.a(0.0F); - stream.a(f_45_); - stream.a(f_48_); - stream.a((float) (i_42_ + i_40_)); - stream.a((float) (i_41_ + i_39_)); - stream.a(0.0F); - stream.a(f_47_); - stream.a(f_48_); - stream.a((float) (i_42_ + i_40_)); - stream.a((float) i_41_); - stream.a(0.0F); - stream.a(f_47_); - stream.a(f_46_); - } else { - stream.b((float) i_42_); - stream.b((float) i_41_); - stream.b(0.0F); - stream.b(f_45_); - stream.b(f_46_); - stream.b((float) i_42_); - stream.b((float) (i_41_ + i_39_)); - stream.b(0.0F); - stream.b(f_45_); - stream.b(f_48_); - stream.b((float) (i_42_ + i_40_)); - stream.b((float) (i_41_ + i_39_)); - stream.b(0.0F); - stream.b(f_47_); - stream.b(f_48_); - stream.b((float) (i_42_ + i_40_)); - stream.b((float) i_41_); - stream.b(0.0F); - stream.b(f_47_); - stream.b(f_46_); - } - } - stream.a(); - if (anInterface5_Impl1_6495.method18(6331)) break; - } - } - } - - final void fa(char c, int i, int i_49_, int i_50_, boolean bool) { - aHa_Sub3_6494.method3927(true); - aHa_Sub3_6494.method3850((byte) -41, anInterface18_Impl3_6492); - if (aBoolean6493 || bool) { - aHa_Sub3_6494.method3874(Class167.aClass229_2207, 112, Class328_Sub3.aClass229_6519); - aHa_Sub3_6494.method3849((byte) 47, 0, Class348_Sub40_Sub39.aClass70_9485); - aHa_Sub3_6494.method3894(-28186, i_50_); - } else aHa_Sub3_6494.method3874(Class328_Sub3.aClass229_6519, 126, Class328_Sub3.aClass229_6519); - Class101_Sub2 class101_sub2 = aHa_Sub3_6494.method3934(-99); - class101_sub2.method894(i, i_49_, 0); - aHa_Sub3_6494.method3915(0); - aHa_Sub3_6494.method3925(54, anInterface5_Impl1_6495, 0); - aHa_Sub3_6494.method3862(0, aHa_Sub3_6494.aClass130_8204); - aHa_Sub3_6494.method3899(2, c * '\004', Class348_Sub42_Sub16.aClass21_9661, true); - if (aBoolean6493 || bool) aHa_Sub3_6494.method3849((byte) 47, 0, Class342.aClass70_4247); - } -} diff --git a/client/src/Class324_Sub3.java b/client/src/Class324_Sub3.java deleted file mode 100644 index 87fe4b1ca..000000000 --- a/client/src/Class324_Sub3.java +++ /dev/null @@ -1,256 +0,0 @@ -/* Class324_Sub3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class324_Sub3 extends Class324 { - private final int[] anIntArray6496; - private final int[] anIntArray6497; - private final int[] anIntArray6498; - private ha_Sub1 aHa_Sub1_6499; - private final int[] anIntArray6500; - private final int[] anIntArray6501; - private final byte[][] aByteArrayArray6502; - - private final void method2590(byte[] is, int[] is_0_, int i, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_) { - int i_7_ = -(i_3_ >> 2); - i_3_ = -(i_3_ & 0x3); - for (int i_8_ = -i_4_; i_8_ < 0; i_8_++) { - for (int i_9_ = i_7_; i_9_ < 0; i_9_++) { - if (is[i_1_++] != 0) is_0_[i_2_++] = i; - else i_2_++; - if (is[i_1_++] != 0) is_0_[i_2_++] = i; - else i_2_++; - if (is[i_1_++] != 0) is_0_[i_2_++] = i; - else i_2_++; - if (is[i_1_++] != 0) is_0_[i_2_++] = i; - else i_2_++; - } - for (int i_10_ = i_3_; i_10_ < 0; i_10_++) { - if (is[i_1_++] != 0) is_0_[i_2_++] = i; - else i_2_++; - } - i_2_ += i_5_; - i_1_ += i_6_; - } - } - - private final void method2591(byte[] is, int[] is_11_, int[] is_12_, int i, int i_13_, int i_14_, int i_15_, int i_16_, int i_17_) { - int i_18_ = -(i_14_ >> 2); - i_14_ = -(i_14_ & 0x3); - boolean bool = false; - for (int i_19_ = -i_15_; i_19_ < 0; i_19_++) { - for (int i_20_ = i_18_; i_20_ < 0; i_20_++) { - int i_21_; - if ((i_21_ = is[i++]) != 0) is_11_[i_13_++] = is_12_[i_21_ & 0xff]; - else i_13_++; - if ((i_21_ = is[i++]) != 0) is_11_[i_13_++] = is_12_[i_21_ & 0xff]; - else i_13_++; - if ((i_21_ = is[i++]) != 0) is_11_[i_13_++] = is_12_[i_21_ & 0xff]; - else i_13_++; - if ((i_21_ = is[i++]) != 0) is_11_[i_13_++] = is_12_[i_21_ & 0xff]; - else i_13_++; - } - for (int i_22_ = i_14_; i_22_ < 0; i_22_++) { - int i_23_; - if ((i_23_ = is[i++]) != 0) is_11_[i_13_++] = is_12_[i_23_ & 0xff]; - else i_13_++; - } - i_13_ += i_16_; - i += i_17_; - } - } - - private final void method2592(byte[] is, int[] is_24_, int i, int i_25_, int i_26_, int i_27_, int i_28_, int i_29_, int i_30_, int i_31_, int i_32_, int i_33_, aa var_aa, int i_34_, int i_35_) { - aa_Sub3 var_aa_Sub3 = (aa_Sub3) var_aa; - int[] is_36_ = var_aa_Sub3.anIntArray5201; - int[] is_37_ = var_aa_Sub3.anIntArray5202; - int i_38_ = i_31_ - aHa_Sub1_6499.anInt7496; - int i_39_ = i_32_; - if (i_35_ > i_39_) { - i_39_ = i_35_; - i_26_ += (i_35_ - i_32_) * aHa_Sub1_6499.anInt7477; - i_25_ += (i_35_ - i_32_) * i_33_; - } - int i_40_ = (Math.min(i_35_ + is_36_.length, i_32_ + i_28_)); - for (int i_41_ = i_39_; i_41_ < i_40_; i_41_++) { - int i_42_ = is_36_[i_41_ - i_35_] + i_34_; - int i_43_ = is_37_[i_41_ - i_35_]; - int i_44_ = i_27_; - if (i_38_ > i_42_) { - int i_45_ = i_38_ - i_42_; - if (i_45_ >= i_43_) { - i_25_ += i_27_ + i_30_; - i_26_ += i_27_ + i_29_; - continue; - } - i_43_ -= i_45_; - } else { - int i_46_ = i_42_ - i_38_; - if (i_46_ >= i_27_) { - i_25_ += i_27_ + i_30_; - i_26_ += i_27_ + i_29_; - continue; - } - i_25_ += i_46_; - i_44_ -= i_46_; - i_26_ += i_46_; - } - int i_47_ = 0; - if (i_44_ < i_43_) i_43_ = i_44_; - else i_47_ = i_44_ - i_43_; - for (int i_48_ = -i_43_; i_48_ < 0; i_48_++) { - if (is[i_25_++] != 0) is_24_[i_26_++] = i; - else i_26_++; - } - i_25_ += i_47_ + i_25_; - i_26_ += i_47_ + i_29_; - } - } - - Class324_Sub3(ha_Sub1 var_ha_Sub1, Class143 class143, Class207[] class207s, int[] is, int[] is_49_) { - super(var_ha_Sub1, class143); - aHa_Sub1_6499 = var_ha_Sub1; - aHa_Sub1_6499 = var_ha_Sub1; - anIntArray6500 = is; - anIntArray6497 = is_49_; - aByteArrayArray6502 = new byte[class207s.length][]; - anIntArray6501 = new int[class207s.length]; - anIntArray6498 = new int[class207s.length]; - for (int i = 0; i < class207s.length; i++) { - aByteArrayArray6502[i] = class207s[i].aByteArray2699; - anIntArray6501[i] = class207s[i].anInt2700; - anIntArray6498[i] = class207s[i].anInt2703; - } - anIntArray6496 = class207s[0].anIntArray2697; - } - - final void method2578(char c, int i, int i_50_, int i_51_, boolean bool, aa var_aa, int i_52_, int i_53_) { - if (var_aa == null) fa(c, i, i_50_, i_51_, bool); - else { - i += anIntArray6498[c]; - i_50_ += anIntArray6501[c]; - int i_54_ = anIntArray6500[c]; - int i_55_ = anIntArray6497[c]; - int i_56_ = aHa_Sub1_6499.anInt7477; - int i_57_ = i + i_50_ * i_56_; - int i_58_ = i_56_ - i_54_; - int i_59_ = 0; - int i_60_ = 0; - if (i_50_ < aHa_Sub1_6499.anInt7476) { - int i_61_ = aHa_Sub1_6499.anInt7476 - i_50_; - i_55_ -= i_61_; - i_50_ = aHa_Sub1_6499.anInt7476; - i_60_ += i_61_ * i_54_; - i_57_ += i_61_ * i_56_; - } - if (i_50_ + i_55_ > aHa_Sub1_6499.anInt7503) i_55_ -= i_50_ + i_55_ - aHa_Sub1_6499.anInt7503; - if (i < aHa_Sub1_6499.anInt7496) { - int i_62_ = aHa_Sub1_6499.anInt7496 - i; - i_54_ -= i_62_; - i = aHa_Sub1_6499.anInt7496; - i_60_ += i_62_; - i_57_ += i_62_; - i_59_ += i_62_; - i_58_ += i_62_; - } - if (i + i_54_ > aHa_Sub1_6499.anInt7507) { - int i_63_ = i + i_54_ - aHa_Sub1_6499.anInt7507; - i_54_ -= i_63_; - i_59_ += i_63_; - i_58_ += i_63_; - } - if (i_54_ > 0 && i_55_ > 0) { - if (bool) method2592(aByteArrayArray6502[c], aHa_Sub1_6499.anIntArray7483, i_51_, i_60_, i_57_, i_54_, i_55_, i_58_, i_59_, i, i_50_, anIntArray6500[c], var_aa, i_52_, i_53_); - else method2593(aByteArrayArray6502[c], aHa_Sub1_6499.anIntArray7483, anIntArray6496, i_51_, i_60_, i_57_, i_54_, i_55_, i_58_, i_59_, i, i_50_, anIntArray6500[c], var_aa, i_52_, i_53_); - } - } - } - - final void fa(char c, int i, int i_64_, int i_65_, boolean bool) { - i += anIntArray6498[c]; - i_64_ += anIntArray6501[c]; - int i_66_ = anIntArray6500[c]; - int i_67_ = anIntArray6497[c]; - int i_68_ = aHa_Sub1_6499.anInt7477; - int i_69_ = i + i_64_ * i_68_; - int i_70_ = i_68_ - i_66_; - int i_71_ = 0; - int i_72_ = 0; - if (i_64_ < aHa_Sub1_6499.anInt7476) { - int i_73_ = aHa_Sub1_6499.anInt7476 - i_64_; - i_67_ -= i_73_; - i_64_ = aHa_Sub1_6499.anInt7476; - i_72_ += i_73_ * i_66_; - i_69_ += i_73_ * i_68_; - } - if (i_64_ + i_67_ > aHa_Sub1_6499.anInt7503) i_67_ -= i_64_ + i_67_ - aHa_Sub1_6499.anInt7503; - if (i < aHa_Sub1_6499.anInt7496) { - int i_74_ = aHa_Sub1_6499.anInt7496 - i; - i_66_ -= i_74_; - i = aHa_Sub1_6499.anInt7496; - i_72_ += i_74_; - i_69_ += i_74_; - i_71_ += i_74_; - i_70_ += i_74_; - } - if (i + i_66_ > aHa_Sub1_6499.anInt7507) { - int i_75_ = i + i_66_ - aHa_Sub1_6499.anInt7507; - i_66_ -= i_75_; - i_71_ += i_75_; - i_70_ += i_75_; - } - if (i_66_ > 0 && i_67_ > 0) { - if (bool) method2590(aByteArrayArray6502[c], aHa_Sub1_6499.anIntArray7483, i_65_, i_72_, i_69_, i_66_, i_67_, i_70_, i_71_); - else method2591(aByteArrayArray6502[c], aHa_Sub1_6499.anIntArray7483, anIntArray6496, i_72_, i_69_, i_66_, i_67_, i_70_, i_71_); - } - } - - private final void method2593(byte[] is, int[] is_76_, int[] is_77_, int i, int i_78_, int i_79_, int i_80_, int i_81_, int i_82_, int i_83_, int i_84_, int i_85_, int i_86_, aa var_aa, int i_87_, int i_88_) { - aa_Sub3 var_aa_Sub3 = (aa_Sub3) var_aa; - int[] is_89_ = var_aa_Sub3.anIntArray5201; - int[] is_90_ = var_aa_Sub3.anIntArray5202; - int i_91_ = i_84_ - aHa_Sub1_6499.anInt7496; - int i_92_ = i_85_; - if (i_88_ > i_92_) { - i_92_ = i_88_; - i_79_ += (i_88_ - i_85_) * aHa_Sub1_6499.anInt7477; - i_78_ += (i_88_ - i_85_) * i_86_; - } - int i_93_ = (Math.min(i_88_ + is_89_.length, i_85_ + i_81_)); - boolean bool = false; - for (int i_94_ = i_92_; i_94_ < i_93_; i_94_++) { - int i_95_ = is_89_[i_94_ - i_88_] + i_87_; - int i_96_ = is_90_[i_94_ - i_88_]; - int i_97_ = i_80_; - if (i_91_ > i_95_) { - int i_98_ = i_91_ - i_95_; - if (i_98_ >= i_96_) { - i_78_ += i_80_ + i_83_; - i_79_ += i_80_ + i_82_; - continue; - } - i_96_ -= i_98_; - } else { - int i_99_ = i_95_ - i_91_; - if (i_99_ >= i_80_) { - i_78_ += i_80_ + i_83_; - i_79_ += i_80_ + i_82_; - continue; - } - i_78_ += i_99_; - i_97_ -= i_99_; - i_79_ += i_99_; - } - int i_100_ = 0; - if (i_97_ < i_96_) i_96_ = i_97_; - else i_100_ = i_97_ - i_96_; - for (int i_101_ = -i_96_; i_101_ < 0; i_101_++) { - int i_102_; - if ((i_102_ = is[i_78_++]) != 0) is_76_[i_79_++] = is_77_[i_102_ & 0xff]; - else i_79_++; - } - i_78_ += i_100_ + i_83_; - i_79_ += i_100_ + i_82_; - } - } -} diff --git a/client/src/Class324_Sub4.java b/client/src/Class324_Sub4.java deleted file mode 100644 index 71d0705f7..000000000 --- a/client/src/Class324_Sub4.java +++ /dev/null @@ -1,177 +0,0 @@ -/* Class324_Sub4 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class324_Sub4 extends Class324 { - private final int[] anIntArray6503; - private final byte[][] aByteArrayArray6504; - private final int[] anIntArray6505; - private ha_Sub1 aHa_Sub1_6506; - private final int[] anIntArray6507; - private final int[] anIntArray6508; - - Class324_Sub4(ha_Sub1 var_ha_Sub1, Class143 class143, Class207[] class207s, int[] is, int[] is_0_) { - super(var_ha_Sub1, class143); - aHa_Sub1_6506 = var_ha_Sub1; - aHa_Sub1_6506 = var_ha_Sub1; - anIntArray6503 = is; - anIntArray6505 = is_0_; - aByteArrayArray6504 = new byte[class207s.length][]; - anIntArray6508 = new int[class207s.length]; - anIntArray6507 = new int[class207s.length]; - for (int i = 0; i < class207s.length; i++) { - Class207 class207 = class207s[i]; - if (class207.aByteArray2695 == null) { - byte[] is_1_ = class207.aByteArray2699; - byte[] is_2_ = aByteArrayArray6504[i] = new byte[is_1_.length]; - for (int i_3_ = 0; i_3_ < is_1_.length; i_3_++) - is_2_[i_3_] = (byte) (is_1_[i_3_] == 0 ? 0 : -1); - } else aByteArrayArray6504[i] = class207.aByteArray2695; - anIntArray6508[i] = class207.anInt2700; - anIntArray6507[i] = class207.anInt2703; - } - } - - private final void method2594(byte[] is, int[] is_4_, int i, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_, int i_12_, int i_13_, aa var_aa, int i_14_, int i_15_) { - aa_Sub3 var_aa_Sub3 = (aa_Sub3) var_aa; - int[] is_16_ = var_aa_Sub3.anIntArray5201; - int[] is_17_ = var_aa_Sub3.anIntArray5202; - int i_18_ = i_11_ - aHa_Sub1_6506.anInt7496; - int i_19_ = i_12_; - if (i_15_ > i_19_) { - i_19_ = i_15_; - i_6_ += (i_15_ - i_12_) * aHa_Sub1_6506.anInt7477; - i_5_ += (i_15_ - i_12_) * i_13_; - } - int i_20_ = (Math.min(i_15_ + is_16_.length, i_12_ + i_8_)); - for (int i_21_ = i_19_; i_21_ < i_20_; i_21_++) { - int i_22_ = is_16_[i_21_ - i_15_] + i_14_; - int i_23_ = is_17_[i_21_ - i_15_]; - int i_24_ = i_7_; - if (i_18_ > i_22_) { - int i_25_ = i_18_ - i_22_; - if (i_25_ >= i_23_) { - i_5_ += i_7_ + i_10_; - i_6_ += i_7_ + i_9_; - continue; - } - i_23_ -= i_25_; - } else { - int i_26_ = i_22_ - i_18_; - if (i_26_ >= i_7_) { - i_5_ += i_7_ + i_10_; - i_6_ += i_7_ + i_9_; - continue; - } - i_5_ += i_26_; - i_24_ -= i_26_; - i_6_ += i_26_; - } - int i_27_ = 0; - if (i_24_ < i_23_) i_23_ = i_24_; - else i_27_ = i_24_ - i_23_; - for (int i_28_ = -i_23_; i_28_ < 0; i_28_++) { - int i_29_ = is[i_5_++] & 0xff; - if (i_29_ != 0) { - int i_30_ = ((((i & 0xff00ff) * i_29_ & ~0xff00ff) + ((i & 0xff00) * i_29_ & 0xff0000)) >> 8); - i_29_ = 256 - i_29_; - int i_31_ = is_4_[i_6_]; - is_4_[i_6_++] = ((((i_31_ & 0xff00ff) * i_29_ & ~0xff00ff) + ((i_31_ & 0xff00) * i_29_ & 0xff0000)) >> 8) + i_30_; - } else i_6_++; - } - i_5_ += i_27_ + i_10_; - i_6_ += i_27_ + i_9_; - } - } - - private final void method2595(byte[] is, int[] is_32_, int i, int i_33_, int i_34_, int i_35_, int i_36_, int i_37_, int i_38_) { - for (int i_39_ = -i_36_; i_39_ < 0; i_39_++) { - for (int i_40_ = -i_35_; i_40_ < 0; i_40_++) { - int i_41_ = is[i_33_++] & 0xff; - if (i_41_ != 0) { - int i_42_ = ((((i & 0xff00ff) * i_41_ & ~0xff00ff) + ((i & 0xff00) * i_41_ & 0xff0000)) >> 8); - i_41_ = 256 - i_41_; - int i_43_ = is_32_[i_34_]; - is_32_[i_34_++] = ((((i_43_ & 0xff00ff) * i_41_ & ~0xff00ff) + ((i_43_ & 0xff00) * i_41_ & 0xff0000)) >> 8) + i_42_; - } else i_34_++; - } - i_34_ += i_37_; - i_33_ += i_38_; - } - } - - final void method2578(char c, int i, int i_44_, int i_45_, boolean bool, aa var_aa, int i_46_, int i_47_) { - if (var_aa == null) fa(c, i, i_44_, i_45_, bool); - else { - i += anIntArray6507[c]; - i_44_ += anIntArray6508[c]; - int i_48_ = anIntArray6503[c]; - int i_49_ = anIntArray6505[c]; - int i_50_ = aHa_Sub1_6506.anInt7477; - int i_51_ = i + i_44_ * i_50_; - int i_52_ = i_50_ - i_48_; - int i_53_ = 0; - int i_54_ = 0; - if (i_44_ < aHa_Sub1_6506.anInt7476) { - int i_55_ = aHa_Sub1_6506.anInt7476 - i_44_; - i_49_ -= i_55_; - i_44_ = aHa_Sub1_6506.anInt7476; - i_54_ += i_55_ * i_48_; - i_51_ += i_55_ * i_50_; - } - if (i_44_ + i_49_ > aHa_Sub1_6506.anInt7503) i_49_ -= i_44_ + i_49_ - aHa_Sub1_6506.anInt7503; - if (i < aHa_Sub1_6506.anInt7496) { - int i_56_ = aHa_Sub1_6506.anInt7496 - i; - i_48_ -= i_56_; - i = aHa_Sub1_6506.anInt7496; - i_54_ += i_56_; - i_51_ += i_56_; - i_53_ += i_56_; - i_52_ += i_56_; - } - if (i + i_48_ > aHa_Sub1_6506.anInt7507) { - int i_57_ = i + i_48_ - aHa_Sub1_6506.anInt7507; - i_48_ -= i_57_; - i_53_ += i_57_; - i_52_ += i_57_; - } - if (i_48_ > 0 && i_49_ > 0) method2594(aByteArrayArray6504[c], aHa_Sub1_6506.anIntArray7483, i_45_, i_54_, i_51_, i_48_, i_49_, i_52_, i_53_, i, i_44_, anIntArray6503[c], var_aa, i_46_, i_47_); - } - } - - final void fa(char c, int i, int i_58_, int i_59_, boolean bool) { - i += anIntArray6507[c]; - i_58_ += anIntArray6508[c]; - int i_60_ = anIntArray6503[c]; - int i_61_ = anIntArray6505[c]; - int i_62_ = aHa_Sub1_6506.anInt7477; - int i_63_ = i + i_58_ * i_62_; - int i_64_ = i_62_ - i_60_; - int i_65_ = 0; - int i_66_ = 0; - if (i_58_ < aHa_Sub1_6506.anInt7476) { - int i_67_ = aHa_Sub1_6506.anInt7476 - i_58_; - i_61_ -= i_67_; - i_58_ = aHa_Sub1_6506.anInt7476; - i_66_ += i_67_ * i_60_; - i_63_ += i_67_ * i_62_; - } - if (i_58_ + i_61_ > aHa_Sub1_6506.anInt7503) i_61_ -= i_58_ + i_61_ - aHa_Sub1_6506.anInt7503; - if (i < aHa_Sub1_6506.anInt7496) { - int i_68_ = aHa_Sub1_6506.anInt7496 - i; - i_60_ -= i_68_; - i = aHa_Sub1_6506.anInt7496; - i_66_ += i_68_; - i_63_ += i_68_; - i_65_ += i_68_; - i_64_ += i_68_; - } - if (i + i_60_ > aHa_Sub1_6506.anInt7507) { - int i_69_ = i + i_60_ - aHa_Sub1_6506.anInt7507; - i_60_ -= i_69_; - i_65_ += i_69_; - i_64_ += i_69_; - } - if (i_60_ > 0 && i_61_ > 0) method2595(aByteArrayArray6504[c], aHa_Sub1_6506.anIntArray7483, i_59_, i_66_, i_63_, i_60_, i_61_, i_64_, i_65_); - } -} diff --git a/client/src/Class324_Sub5.java b/client/src/Class324_Sub5.java deleted file mode 100644 index 68338bfda..000000000 --- a/client/src/Class324_Sub5.java +++ /dev/null @@ -1,164 +0,0 @@ -/* Class324_Sub5 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -final class Class324_Sub5 extends Class324 { - private final ha_Sub2 aHa_Sub2_6509; - private final Class61 aClass61_6510; - private final Class258_Sub3_Sub1 aClass258_Sub3_Sub1_6511; - private final boolean aBoolean6512; - - Class324_Sub5(ha_Sub2 var_ha_Sub2, Class143 class143, Class207[] class207s, boolean bool) { - super(var_ha_Sub2, class143); - aHa_Sub2_6509 = var_ha_Sub2; - int i = 0; - for (int i_0_ = 0; i_0_ < 256; i_0_++) { - Class207 class207 = class207s[i_0_]; - if (class207.anInt2696 > i) i = class207.anInt2696; - if (class207.anInt2702 > i) i = class207.anInt2702; - } - int i_1_ = i * 16; - if (bool) { - byte[] is = new byte[i_1_ * i_1_]; - for (int i_2_ = 0; i_2_ < 256; i_2_++) { - Class207 class207 = class207s[i_2_]; - int i_3_ = class207.anInt2696; - int i_4_ = class207.anInt2702; - int i_5_ = i_2_ % 16 * i; - int i_6_ = i_2_ / 16 * i; - int i_7_ = i_6_ * i_1_ + i_5_; - int i_8_ = 0; - if (class207.aByteArray2695 == null) { - byte[] is_9_ = class207.aByteArray2699; - for (int i_10_ = 0; i_10_ < i_3_; i_10_++) { - for (int i_11_ = 0; i_11_ < i_4_; i_11_++) - is[i_7_++] = (byte) (is_9_[i_8_++] == 0 ? 0 : -1); - i_7_ += i_1_ - i_4_; - } - } else { - byte[] is_12_ = class207.aByteArray2695; - for (int i_13_ = 0; i_13_ < i_3_; i_13_++) { - for (int i_14_ = 0; i_14_ < i_4_; i_14_++) - is[i_7_++] = is_12_[i_8_++]; - i_7_ += i_1_ - i_4_; - } - } - } - aClass258_Sub3_Sub1_6511 = Class371.method3583(false, is, 6406, i_1_, var_ha_Sub2, -86, 6406, i_1_); - aBoolean6512 = true; - } else { - int[] is = new int[i_1_ * i_1_]; - for (int i_15_ = 0; i_15_ < 256; i_15_++) { - Class207 class207 = class207s[i_15_]; - int[] is_16_ = class207.anIntArray2697; - byte[] is_17_ = class207.aByteArray2695; - byte[] is_18_ = class207.aByteArray2699; - int i_19_ = class207.anInt2696; - int i_20_ = class207.anInt2702; - int i_21_ = i_15_ % 16 * i; - int i_22_ = i_15_ / 16 * i; - int i_23_ = i_22_ * i_1_ + i_21_; - int i_24_ = 0; - if (is_17_ == null) { - for (int i_27_ = 0; i_27_ < i_19_; i_27_++) { - for (int i_28_ = 0; i_28_ < i_20_; i_28_++) { - int i_29_; - if ((i_29_ = is_18_[i_24_++]) != 0) is[i_23_++] = ~0xffffff | is_16_[i_29_ & 0xff]; - else i_23_++; - } - i_23_ += i_1_ - i_20_; - } - } else { - for (int i_25_ = 0; i_25_ < i_19_; i_25_++) { - for (int i_26_ = 0; i_26_ < i_20_; i_26_++) { - is[i_23_++] = (is_17_[i_24_] << 24 | is_16_[is_18_[i_24_] & 0xff]); - i_24_++; - } - i_23_ += i_1_ - i_20_; - } - } - } - aClass258_Sub3_Sub1_6511 = Class348_Sub40_Sub32.method3132(is, 0, 0, i_1_, i_1_, var_ha_Sub2, false, (byte) 12); - aBoolean6512 = false; - } - aClass258_Sub3_Sub1_6511.method1957(9728, false); - aClass61_6510 = new Class61(var_ha_Sub2, 256); - float f = (aClass258_Sub3_Sub1_6511.aFloat9937 / (float) (aClass258_Sub3_Sub1_6511.anInt9940)); - float f_30_ = (aClass258_Sub3_Sub1_6511.aFloat9938 / (float) (aClass258_Sub3_Sub1_6511.anInt9939)); - for (int i_31_ = 0; i_31_ < 256; i_31_++) { - Class207 class207 = class207s[i_31_]; - int i_32_ = class207.anInt2696; - int i_33_ = class207.anInt2702; - int i_34_ = class207.anInt2700; - int i_35_ = class207.anInt2703; - float f_36_ = (float) (i_31_ % 16 * i); - float f_37_ = (float) (i_31_ / 16 * i); - float f_38_ = f_36_ * f; - float f_39_ = f_37_ * f_30_; - float f_40_ = (f_36_ + (float) i_33_) * f; - float f_41_ = (f_37_ + (float) i_32_) * f_30_; - aClass61_6510.method595((byte) 123, i_31_); - OpenGL.glBegin(7); - OpenGL.glTexCoord2f(f_38_, aClass258_Sub3_Sub1_6511.aFloat9938 - f_39_); - OpenGL.glVertex2i(i_35_, i_34_); - OpenGL.glTexCoord2f(f_38_, aClass258_Sub3_Sub1_6511.aFloat9938 - f_41_); - OpenGL.glVertex2i(i_35_, i_34_ + i_32_); - OpenGL.glTexCoord2f(f_40_, aClass258_Sub3_Sub1_6511.aFloat9938 - f_41_); - OpenGL.glVertex2i(i_35_ + i_33_, i_34_ + i_32_); - OpenGL.glTexCoord2f(f_40_, aClass258_Sub3_Sub1_6511.aFloat9938 - f_39_); - OpenGL.glVertex2i(i_35_ + i_33_, i_34_); - OpenGL.glEnd(); - aClass61_6510.method591(-1); - } - } - - final void method2578(char c, int i, int i_42_, int i_43_, boolean bool, aa var_aa, int i_44_, int i_45_) { - aa_Sub1 var_aa_Sub1 = (aa_Sub1) var_aa; - Class258_Sub3_Sub1 class258_sub3_sub1 = var_aa_Sub1.aClass258_Sub3_Sub1_5193; - aHa_Sub2_6509.method3735(9473); - aHa_Sub2_6509.method3771((byte) -109, aClass258_Sub3_Sub1_6511); - if (aBoolean6512 || bool) { - aHa_Sub2_6509.method3729(7681, (byte) -38, 8448); - aHa_Sub2_6509.method3762(34168, 768, (byte) -87, 0); - } else aHa_Sub2_6509.method3729(7681, (byte) -55, 7681); - aHa_Sub2_6509.method3738(-15039, 1); - aHa_Sub2_6509.method3771((byte) -127, class258_sub3_sub1); - aHa_Sub2_6509.method3729(7681, (byte) 97, 8448); - aHa_Sub2_6509.method3762(34168, 768, (byte) -87, 0); - OpenGL.glTexGeni(8192, 9472, 9216); - OpenGL.glTexGeni(8193, 9472, 9216); - float f = (class258_sub3_sub1.aFloat9937 / (float) class258_sub3_sub1.anInt9940); - float f_46_ = (class258_sub3_sub1.aFloat9938 / (float) class258_sub3_sub1.anInt9939); - OpenGL.glTexGenfv(8192, 9474, new float[]{f, 0.0F, 0.0F, (float) -i_44_ * f}, 0); - OpenGL.glTexGenfv(8193, 9474, new float[]{0.0F, f_46_, 0.0F, (float) -i_45_ * f_46_}, 0); - OpenGL.glEnable(3168); - OpenGL.glEnable(3169); - OpenGL.glColor4ub((byte) (i_43_ >> 16), (byte) (i_43_ >> 8), (byte) i_43_, (byte) (i_43_ >> 24)); - OpenGL.glTranslatef((float) i, (float) i_42_, 0.0F); - aClass61_6510.method594(c, 28666); - OpenGL.glLoadIdentity(); - OpenGL.glDisable(3168); - OpenGL.glDisable(3169); - aHa_Sub2_6509.method3762(5890, 768, (byte) -87, 0); - aHa_Sub2_6509.method3729(8448, (byte) -96, 8448); - aHa_Sub2_6509.method3771((byte) -91, null); - aHa_Sub2_6509.method3738(-15039, 0); - if (aBoolean6512 || bool) aHa_Sub2_6509.method3762(5890, 768, (byte) -87, 0); - } - - final void fa(char c, int i, int i_47_, int i_48_, boolean bool) { - aHa_Sub2_6509.method3735(9473); - aHa_Sub2_6509.method3771((byte) -96, aClass258_Sub3_Sub1_6511); - if (aBoolean6512 || bool) { - aHa_Sub2_6509.method3729(7681, (byte) 117, 8448); - aHa_Sub2_6509.method3762(34168, 768, (byte) -87, 0); - } else aHa_Sub2_6509.method3729(7681, (byte) 117, 7681); - OpenGL.glColor4ub((byte) (i_48_ >> 16), (byte) (i_48_ >> 8), (byte) i_48_, (byte) (i_48_ >> 24)); - OpenGL.glTranslatef((float) i, (float) i_47_, 0.0F); - aClass61_6510.method594(c, 28666); - OpenGL.glLoadIdentity(); - if (aBoolean6512 || bool) aHa_Sub2_6509.method3762(5890, 768, (byte) -87, 0); - } -} diff --git a/client/src/Class325.java b/client/src/Class325.java deleted file mode 100644 index 571a6e2f3..000000000 --- a/client/src/Class325.java +++ /dev/null @@ -1,961 +0,0 @@ -/* Class325 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class325 { - static int anInt4066; - static int anInt4067; - static int anInt4068; - int anInt4069; - int anInt4070; - private final Class68 aClass68_4071; - private final int anInt4072; - static Class325 aClass325_4073 = new Class325(0, 3, Class68.aClass68_1187); - static int anInt4074; - static Class325 aClass325_4075 = new Class325(1, 3, Class68.aClass68_1187); - static Class325 aClass325_4076 = new Class325(2, 4, Class68.aClass68_1183); - static Class325 aClass325_4077 = new Class325(3, 1, Class68.aClass68_1187); - static Class325 aClass325_4078 = new Class325(4, 2, Class68.aClass68_1187); - static Class325 aClass325_4079 = new Class325(5, 3, Class68.aClass68_1187); - static Class325 aClass325_4080 = new Class325(6, 4, Class68.aClass68_1187); - static int anInt4081 = Class299.method2253(16, 119); - static Class138 aClass138_4082 = new Class138(8, 0, 4, 1); - - public final String toString() { - anInt4066++; - throw new IllegalStateException(); - } - - static final byte[][][] method2596(int i, int i_0_) { - anInt4068++; - byte[][][] is = new byte[8][4][]; - int i_1_ = i; - int i_2_ = i; - byte[] is_3_ = new byte[i_2_ * i_1_]; - int i_4_ = 0; - for (int i_5_ = 0; i_2_ > i_5_; i_5_++) { - for (int i_6_ = 0; i_6_ < i_1_; i_6_++) { - if (i_6_ <= i_5_) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[0][0] = is_3_; - i_4_ = 0; - is_3_ = new byte[i_1_ * i_2_]; - for (int i_7_ = -1 + i_2_; i_7_ >= 0; i_7_--) { - for (int i_8_ = 0; i_2_ > i_8_; i_8_++) { - if (i_7_ >= i_8_) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[0][1] = is_3_; - i_4_ = 0; - is_3_ = new byte[i_2_ * i_1_]; - for (int i_9_ = 0; i_2_ > i_9_; i_9_++) { - for (int i_10_ = 0; i_10_ < i_1_; i_10_++) { - if (i_10_ >= i_9_) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - if (i_0_ != 12871) aClass325_4078 = null; - is[0][2] = is_3_; - is_3_ = new byte[i_1_ * i_2_]; - i_4_ = 0; - for (int i_11_ = -1 + i_2_; i_11_ >= 0; i_11_--) { - for (int i_12_ = 0; i_12_ < i_1_; i_12_++) { - if (i_12_ >= i_11_) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[0][3] = is_3_; - i_4_ = 0; - is_3_ = new byte[i_2_ * i_1_]; - for (int i_13_ = i_2_ + -1; i_13_ >= 0; i_13_--) { - for (int i_14_ = 0; i_14_ < i_1_; i_14_++) { - if (i_14_ <= i_13_ >> 1) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[1][0] = is_3_; - is_3_ = new byte[i_1_ * i_2_]; - i_4_ = 0; - for (int i_15_ = 0; i_2_ > i_15_; i_15_++) { - for (int i_16_ = 0; i_1_ > i_16_; i_16_++) { - if (i_4_ >= 0 && is_3_.length > i_4_) { - if (i_16_ >= i_15_ << 1) is_3_[i_4_] = (byte) -1; - i_4_++; - } else i_4_++; - } - } - is[1][1] = is_3_; - is_3_ = new byte[i_2_ * i_1_]; - i_4_ = 0; - for (int i_17_ = 0; i_17_ < i_2_; i_17_++) { - for (int i_18_ = -1 + i_1_; i_18_ >= 0; i_18_--) { - if (i_18_ <= i_17_ >> 1) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[1][2] = is_3_; - i_4_ = 0; - is_3_ = new byte[i_2_ * i_1_]; - for (int i_19_ = -1 + i_2_; i_19_ >= 0; i_19_--) { - for (int i_20_ = i_1_ + -1; i_20_ >= 0; i_20_--) { - if (i_19_ << 1 <= i_20_) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[1][3] = is_3_; - is_3_ = new byte[i_1_ * i_2_]; - i_4_ = 0; - for (int i_21_ = i_2_ - 1; i_21_ >= 0; i_21_--) { - for (int i_22_ = i_1_ - 1; i_22_ >= 0; i_22_--) { - if (i_21_ >> 1 >= i_22_) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[2][0] = is_3_; - is_3_ = new byte[i_1_ * i_2_]; - i_4_ = 0; - for (int i_23_ = -1 + i_2_; i_23_ >= 0; i_23_--) { - for (int i_24_ = 0; i_1_ > i_24_; i_24_++) { - if (i_23_ << 1 <= i_24_) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[2][1] = is_3_; - is_3_ = new byte[i_2_ * i_1_]; - i_4_ = 0; - for (int i_25_ = 0; i_25_ < i_2_; i_25_++) { - for (int i_26_ = 0; i_1_ > i_26_; i_26_++) { - if (i_25_ >> 1 >= i_26_) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[2][2] = is_3_; - is_3_ = new byte[i_2_ * i_1_]; - i_4_ = 0; - for (int i_27_ = 0; i_27_ < i_2_; i_27_++) { - for (int i_28_ = -1 + i_1_; i_28_ >= 0; i_28_--) { - if (i_27_ << 1 <= i_28_) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[2][3] = is_3_; - i_4_ = 0; - is_3_ = new byte[i_1_ * i_2_]; - for (int i_29_ = -1 + i_2_; i_29_ >= 0; i_29_--) { - for (int i_30_ = 0; i_1_ > i_30_; i_30_++) { - if (i_29_ >> 1 <= i_30_) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[3][0] = is_3_; - is_3_ = new byte[i_1_ * i_2_]; - i_4_ = 0; - for (int i_31_ = 0; i_2_ > i_31_; i_31_++) { - for (int i_32_ = 0; i_32_ < i_1_; i_32_++) { - if (i_32_ <= i_31_ << 1) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[3][1] = is_3_; - i_4_ = 0; - is_3_ = new byte[i_1_ * i_2_]; - for (int i_33_ = 0; i_2_ > i_33_; i_33_++) { - for (int i_34_ = i_1_ + -1; i_34_ >= 0; i_34_--) { - if (i_34_ >= i_33_ >> 1) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[3][2] = is_3_; - i_4_ = 0; - is_3_ = new byte[i_1_ * i_2_]; - for (int i_35_ = i_2_ - 1; i_35_ >= 0; i_35_--) { - for (int i_36_ = i_1_ + -1; i_36_ >= 0; i_36_--) { - if (i_36_ <= i_35_ << 1) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[3][3] = is_3_; - is_3_ = new byte[i_1_ * i_2_]; - i_4_ = 0; - for (int i_37_ = -1 + i_2_; i_37_ >= 0; i_37_--) { - for (int i_38_ = i_1_ - 1; i_38_ >= 0; i_38_--) { - if (i_37_ >> 1 <= i_38_) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[4][0] = is_3_; - is_3_ = new byte[i_2_ * i_1_]; - i_4_ = 0; - for (int i_39_ = i_2_ + -1; i_39_ >= 0; i_39_--) { - for (int i_40_ = 0; i_1_ > i_40_; i_40_++) { - if (i_40_ <= i_39_ << 1) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[4][1] = is_3_; - i_4_ = 0; - is_3_ = new byte[i_1_ * i_2_]; - for (int i_41_ = 0; i_2_ > i_41_; i_41_++) { - for (int i_42_ = 0; i_42_ < i_1_; i_42_++) { - if (i_41_ >> 1 <= i_42_) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[4][2] = is_3_; - is_3_ = new byte[i_1_ * i_2_]; - i_4_ = 0; - for (int i_43_ = 0; i_43_ < i_2_; i_43_++) { - for (int i_44_ = -1 + i_1_; i_44_ >= 0; i_44_--) { - if (i_44_ <= i_43_ << 1) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[4][3] = is_3_; - is_3_ = new byte[i_2_ * i_1_]; - i_4_ = 0; - for (int i_45_ = 0; i_2_ > i_45_; i_45_++) { - for (int i_46_ = 0; i_1_ > i_46_; i_46_++) { - if (i_1_ / 2 >= i_46_) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[5][0] = is_3_; - i_4_ = 0; - is_3_ = new byte[i_1_ * i_2_]; - for (int i_47_ = 0; i_2_ > i_47_; i_47_++) { - for (int i_48_ = 0; i_1_ > i_48_; i_48_++) { - if (i_47_ <= i_2_ / 2) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[5][1] = is_3_; - i_4_ = 0; - is_3_ = new byte[i_2_ * i_1_]; - for (int i_49_ = 0; i_49_ < i_2_; i_49_++) { - for (int i_50_ = 0; i_50_ < i_1_; i_50_++) { - if (i_1_ / 2 <= i_50_) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[5][2] = is_3_; - i_4_ = 0; - is_3_ = new byte[i_2_ * i_1_]; - for (int i_51_ = 0; i_51_ < i_2_; i_51_++) { - for (int i_52_ = 0; i_1_ > i_52_; i_52_++) { - if (i_51_ >= i_2_ / 2) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[5][3] = is_3_; - is_3_ = new byte[i_1_ * i_2_]; - i_4_ = 0; - for (int i_53_ = 0; i_53_ < i_2_; i_53_++) { - for (int i_54_ = 0; i_54_ < i_1_; i_54_++) { - if (i_54_ <= i_53_ - i_2_ / 2) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[6][0] = is_3_; - is_3_ = new byte[i_2_ * i_1_]; - i_4_ = 0; - for (int i_55_ = -1 + i_2_; i_55_ >= 0; i_55_--) { - for (int i_56_ = 0; i_1_ > i_56_; i_56_++) { - if (i_56_ <= i_55_ - i_2_ / 2) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[6][1] = is_3_; - i_4_ = 0; - is_3_ = new byte[i_1_ * i_2_]; - for (int i_57_ = -1 + i_2_; i_57_ >= 0; i_57_--) { - for (int i_58_ = i_1_ - 1; i_58_ >= 0; i_58_--) { - if (i_58_ <= -(i_2_ / 2) + i_57_) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[6][2] = is_3_; - i_4_ = 0; - is_3_ = new byte[i_2_ * i_1_]; - for (int i_59_ = 0; i_2_ > i_59_; i_59_++) { - for (int i_60_ = -1 + i_1_; i_60_ >= 0; i_60_--) { - if (i_60_ <= -(i_2_ / 2) + i_59_) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[6][3] = is_3_; - is_3_ = new byte[i_1_ * i_2_]; - i_4_ = 0; - for (int i_61_ = 0; i_61_ < i_2_; i_61_++) { - for (int i_62_ = 0; i_62_ < i_1_; i_62_++) { - if (i_62_ >= i_61_ + -(i_2_ / 2)) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[7][0] = is_3_; - i_4_ = 0; - is_3_ = new byte[i_2_ * i_1_]; - for (int i_63_ = -1 + i_2_; i_63_ >= 0; i_63_--) { - for (int i_64_ = 0; i_64_ < i_1_; i_64_++) { - if (i_64_ >= i_63_ - i_2_ / 2) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[7][1] = is_3_; - i_4_ = 0; - is_3_ = new byte[i_2_ * i_1_]; - for (int i_65_ = i_2_ + -1; i_65_ >= 0; i_65_--) { - for (int i_66_ = -1 + i_1_; i_66_ >= 0; i_66_--) { - if (-(i_2_ / 2) + i_65_ <= i_66_) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[7][2] = is_3_; - i_4_ = 0; - is_3_ = new byte[i_2_ * i_1_]; - for (int i_67_ = 0; i_67_ < i_2_; i_67_++) { - for (int i_68_ = i_1_ - 1; i_68_ >= 0; i_68_--) { - if (i_68_ >= -(i_2_ / 2) + i_67_) is_3_[i_4_] = (byte) -1; - i_4_++; - } - } - is[7][3] = is_3_; - return is; - } - - public static void method2597(int i) { - aClass325_4073 = null; - aClass325_4080 = null; - aClass325_4078 = null; - aClass138_4082 = null; - aClass325_4077 = null; - aClass325_4079 = null; - if (i == -27327) { - aClass325_4076 = null; - aClass325_4075 = null; - } - } - - static final Class325 method2598(int i, int i_69_) { - anInt4074++; - int i_70_ = -44 / ((-47 - i_69_) / 45); - int i_71_ = i; - while_118_: - do { - while_117_: - do { - while_116_: - do { - while_115_: - do { - while_114_: - do { - do { - if (i_71_ != 0) { - if (i_71_ != 1) { - if (i_71_ != 2) { - if (i_71_ != 3) { - if (i_71_ != 4) { - if (i_71_ != 5) { - if (i_71_ == 6) break while_117_; - break while_118_; - } - } else break while_115_; - break while_116_; - } - } else break; - break while_114_; - } - } else return aClass325_4073; - return aClass325_4075; - } while (false); - return aClass325_4076; - } while (false); - return aClass325_4077; - } while (false); - return aClass325_4078; - } while (false); - return aClass325_4079; - } while (false); - return aClass325_4080; - } while (false); - return null; - } - - static final void method2599(byte i, Class348_Sub42_Sub12 class348_sub42_sub12, int i_72_, int i_73_) { - do { - try { - anInt4067++; - if (class348_sub42_sub12 != null && (class348_sub42_sub12 != (Class348_Sub40_Sub4.aClass262_9111.aClass348_3334))) { - int i_74_ = (class348_sub42_sub12.anInt9602); - int i_75_ = (class348_sub42_sub12.anInt9607); - int i_76_ = (class348_sub42_sub12.anInt9608); - int i_77_ = (int) (class348_sub42_sub12.aLong9605); - if (i_76_ >= 2000) i_76_ -= 2000; - long l = (class348_sub42_sub12.aLong9605); - if (i_76_ == 19) { - if (Class192.anInt2581 <= 0 || !Class182.aClass346_2449.method2696(82, -125) || !Class182.aClass346_2449.method2696(81, -126)) { - Class348_Sub47 class348_sub47 = Class348_Sub14.method2807(i_75_, i_74_, (byte) -110, i_77_); - if (i_77_ == 1) { - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, -1); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, -1); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, (int) Class314.aFloat3938); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 57); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, r_Sub2.anInt10483); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, Class348_Sub49_Sub1.anInt9750); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 89); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, (Class132.aPlayer_1907.x)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, (Class132.aPlayer_1907.y)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 63); - } else { - Class93.anInt1534 = i_72_; - Class26.anInt385 = i_73_; - Class348.anInt4292 = 0; - Class239_Sub20.anInt6048 = 1; - } - Class348_Sub42_Sub14.method3243(123, class348_sub47); - Class298.method2252(true, i_74_, i_75_, (byte) -120, 1, 0, 1, -4, 0); - } else Class361.method3502(i_75_ + Class90.regionTileY, 2, (Class132.aPlayer_1907.plane), i_74_ + za_Sub2.regionTileX); - } - if (i_76_ == 4) { - Class93.anInt1534 = i_72_; - Class239_Sub20.anInt6048 = 2; - Class26.anInt385 = i_73_; - Class348.anInt4292 = 0; - Class21.anInt321++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class348_Sub42_Sub8.aClass351_9553), (Class348_Sub23_Sub2.aClass77_9029), -113); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, Class90.regionTileY + i_75_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(120, i_74_ + za_Sub2.regionTileX); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByteSubtract((byte) 117, (!Class182.aClass346_2449.method2696(82, -122) ? 0 : 1)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, 0x7fffffff & (int) (l >>> 32)); - Class348_Sub42_Sub14.method3243(117, class348_sub47); - Class309.method2307(i_75_, l, i_74_, 51); - } - if (i_76_ == 1008) { - Class239_Sub20.anInt6048 = 2; - Class93.anInt1534 = i_72_; - Class26.anInt385 = i_73_; - Class348.anInt4292 = 0; - Class348_Sub22 class348_sub22 = ((Class348_Sub22) Class282.aClass356_3654.method3480(i_77_, -6008)); - if (class348_sub22 != null) { - Npc npc = (class348_sub22.aNpc_6859); - Class79 class79 = (npc.aClass79_10505); - if (class79.anIntArray1377 != null) class79 = (class79.method794((Class318_Sub1_Sub3_Sub3.aClass170_10209), -1)); - if (class79 != null) { - Class306.anInt3874++; - Class348_Sub47 class348_sub47 = (Class286_Sub3.method2148(Class318_Sub7.aClass351_6443, Class348_Sub23_Sub2.aClass77_9029, -111)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, class79.anInt1344); - Class348_Sub42_Sub14.method3243(-99, class348_sub47); - } - } - } - if (i_76_ == 48) { - Player player = (Class294.aPlayerArray5058[i_77_]); - if (player != null) { - Class348.anInt4292 = 0; - Class93.anInt1534 = i_72_; - Class26.anInt385 = i_73_; - Class216.anInt4979++; - Class239_Sub20.anInt6048 = 2; - Class348_Sub47 class348_sub47 = (Class286_Sub3.method2148(Class348_Sub42_Sub18.aClass351_9684, Class348_Sub23_Sub2.aClass77_9029, -126)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(81, i_77_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, (!Class182.aClass346_2449.method2696(82, -126) ? 0 : 1)); - Class348_Sub42_Sub14.method3243(116, class348_sub47); - Class298.method2252(true, (player.anIntArray10320[0]), (player.anIntArray10317[0]), (byte) -89, player.method2436((byte) 106), 0, player.method2436((byte) 43), -2, 0); - } - } - if (i_76_ == 49) { - Class26.anInt385 = i_73_; - Class348.anInt4292 = 0; - Class239_Sub20.anInt6048 = 2; - Class93.anInt1534 = i_72_; - Class205.anInt2689++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class344.aClass351_4262, (Class348_Sub23_Sub2.aClass77_9029), -107); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(i_74_ + za_Sub2.regionTileX, (byte) 3); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-107, i_77_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(Class9.anInt169, (byte) 3); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, Class90.regionTileY + i_75_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, (!Class182.aClass346_2449.method2696(82, -126) ? 0 : 1)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(90, Class301.anInt3829); - class348_sub47.aClass348_Sub49_Sub2_7116.writeIntMiddle(Class149.anInt2046, (byte) 44); - Class348_Sub42_Sub14.method3243(120, class348_sub47); - Class348_Sub42_Sub18.method3275(1, i_75_, i_74_); - } - if (i_76_ == 6) { - Class46 class46 = Class348_Sub22.method2957(i_74_, (byte) -54, i_75_); - if (class46 != null) Class155.method1237((byte) 71, class46); - } - if (i_76_ == 5) { - Class348.anInt4292 = 0; - Class15.anInt226++; - Class26.anInt385 = i_73_; - Class239_Sub20.anInt6048 = 2; - Class93.anInt1534 = i_72_; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class190.aClass351_2539, (Class348_Sub23_Sub2.aClass77_9029), -110); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, Class90.regionTileY + i_75_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-110, i_74_ + za_Sub2.regionTileX); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByteInverse((byte) -44, (!Class182.aClass346_2449.method2696(82, -122) ? 0 : 1)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(97, i_77_); - Class348_Sub42_Sub14.method3243(118, class348_sub47); - Class348_Sub42_Sub18.method3275(1, i_75_, i_74_); - } - if (i_76_ == 46) { - Class348_Sub22 class348_sub22 = ((Class348_Sub22) Class282.aClass356_3654.method3480(i_77_, -6008)); - if (class348_sub22 != null) { - Class348.anInt4292 = 0; - Class187.anInt2499++; - Class26.anInt385 = i_73_; - Class239_Sub20.anInt6048 = 2; - Class93.anInt1534 = i_72_; - Npc npc = (class348_sub22.aNpc_6859); - Class348_Sub47 class348_sub47 = (Class286_Sub3.method2148(Class318_Sub1_Sub5_Sub1.aClass351_10134, Class348_Sub23_Sub2.aClass77_9029, -96)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(i_77_, (byte) 3); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByteAdd((byte) 124, (Class182.aClass346_2449.method2696(82, -121) ? 1 : 0)); - Class348_Sub42_Sub14.method3243(117, class348_sub47); - Class298.method2252(true, (npc.anIntArray10320[0]), (npc.anIntArray10317[0]), (byte) -100, npc.method2436((byte) 68), 0, npc.method2436((byte) 106), -2, 0); - } - } - if (i_76_ == 11) { - Player player = (Class294.aPlayerArray5058[i_77_]); - if (player != null) { - Class348.anInt4292 = 0; - Class127.anInt4657++; - Class93.anInt1534 = i_72_; - Class239_Sub20.anInt6048 = 2; - Class26.anInt385 = i_73_; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class239_Sub9.aClass351_5929), (Class348_Sub23_Sub2.aClass77_9029), -94); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, i_77_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByteInverse((byte) -108, (Class182.aClass346_2449.method2696(82, -124) ? 1 : 0)); - Class348_Sub42_Sub14.method3243(119, class348_sub47); - Class298.method2252(true, (player.anIntArray10320[0]), (player.anIntArray10317[0]), (byte) -128, player.method2436((byte) 53), 0, player.method2436((byte) 110), -2, 0); - } - } - if (i_76_ == 59) { - Class26.anInt385 = i_73_; - Class93.anInt1534 = i_72_; - Class348.anInt4292 = 0; - Class178.anInt2336++; - Class239_Sub20.anInt6048 = 2; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class101_Sub1.aClass351_5677), (Class348_Sub23_Sub2.aClass77_9029), -83); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByteAdd((byte) 86, (!Class182.aClass346_2449.method2696(82, -121) ? 0 : 1)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(31, (int) (l >>> 32) & 0x7fffffff); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-104, za_Sub2.regionTileX + i_74_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(Class90.regionTileY + i_75_, (byte) 3); - Class348_Sub42_Sub14.method3243(119, class348_sub47); - Class309.method2307(i_75_, l, i_74_, 93); - } - if (i_76_ == 30) { - Class348_Sub22 class348_sub22 = ((Class348_Sub22) Class282.aClass356_3654.method3480(i_77_, -6008)); - if (class348_sub22 != null) { - Class348.anInt4292 = 0; - Class93.anInt1534 = i_72_; - Class26.anInt385 = i_73_; - Npc npc = (class348_sub22.aNpc_6859); - Class239_Sub20.anInt6048 = 2; - Class348_Sub7.anInt6646++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class131.aClass351_1904), (Class348_Sub23_Sub2.aClass77_9029), -119); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, Class9.anInt169); - class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 108, Class149.anInt2046); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(i_77_, (byte) 3); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByteAdd((byte) -89, (!Class182.aClass346_2449.method2696(82, -127) ? 0 : 1)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-116, Class301.anInt3829); - Class348_Sub42_Sub14.method3243(122, class348_sub47); - Class298.method2252(true, (npc.anIntArray10320[0]), (npc.anIntArray10317[0]), (byte) -107, npc.method2436((byte) 88), 0, npc.method2436((byte) 108), -2, 0); - } - } - if (i_76_ == 12) { - if (Class192.anInt2581 > 0 && Class182.aClass346_2449.method2696(82, -127) && Class182.aClass346_2449.method2696(81, -126)) Class361.method3502(i_75_ + Class90.regionTileY, 2, (Class132.aPlayer_1907.plane), za_Sub2.regionTileX - -i_74_); - else { - Class93.anInt1534 = i_72_; - Class26.anInt385 = i_73_; - Class55.anInt994++; - Class348.anInt4292 = 0; - Class239_Sub20.anInt6048 = 1; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class195.aClass351_5015), (Class348_Sub23_Sub2.aClass77_9029), -123); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(101, za_Sub2.regionTileX + i_74_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, Class90.regionTileY - -i_75_); - Class348_Sub42_Sub14.method3243(6, class348_sub47); - } - } - if (i_76_ == 1001) { - Class93.anInt1534 = i_72_; - Class35.anInt484++; - Class239_Sub20.anInt6048 = 2; - Class348.anInt4292 = 0; - Class26.anInt385 = i_73_; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class205.aClass351_2691, (Class348_Sub23_Sub2.aClass77_9029), -115); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_77_); - Class348_Sub42_Sub14.method3243(-60, class348_sub47); - } - if (i_76_ == 51) { - Player player = (Class294.aPlayerArray5058[i_77_]); - if (player != null) { - Class26.anInt385 = i_73_; - Class239_Sub20.anInt6048 = 2; - Class228.anInt2975++; - Class348.anInt4292 = 0; - Class93.anInt1534 = i_72_; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class52.aClass351_4907), (Class348_Sub23_Sub2.aClass77_9029), -93); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, Class9.anInt169); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(i_77_, (byte) 3); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(Class301.anInt3829, (byte) 3); - class348_sub47.aClass348_Sub49_Sub2_7116.writeIntInverseMiddle(Class149.anInt2046, -4086); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByteInverse((byte) -89, (Class182.aClass346_2449.method2696(82, -127) ? 1 : 0)); - Class348_Sub42_Sub14.method3243(-33, class348_sub47); - Class298.method2252(true, (player.anIntArray10320[0]), (player.anIntArray10317[0]), (byte) -88, player.method2436((byte) 44), 0, player.method2436((byte) 110), -2, 0); - } - } - if (i_76_ == 45) { - Player player = (Class294.aPlayerArray5058[i_77_]); - if (player != null) { - Class348.anInt4292 = 0; - Class93.anInt1534 = i_72_; - Class101.anInt1596++; - Class239_Sub20.anInt6048 = 2; - Class26.anInt385 = i_73_; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class299_Sub1_Sub2.aClass351_8706), (Class348_Sub23_Sub2.aClass77_9029), -84); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByteSubtract((byte) -125, (Class182.aClass346_2449.method2696(82, -126) ? 1 : 0)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(i_77_, (byte) 3); - Class348_Sub42_Sub14.method3243(30, class348_sub47); - Class298.method2252(true, (player.anIntArray10320[0]), (player.anIntArray10317[0]), (byte) -91, player.method2436((byte) 70), 0, player.method2436((byte) 125), -2, 0); - } - } - if (i_76_ == 1007) { - Class239_Sub20.anInt6048 = 2; - Class318_Sub1_Sub5_Sub2.anInt10164++; - Class26.anInt385 = i_73_; - Class348.anInt4292 = 0; - Class93.anInt1534 = i_72_; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class193.aClass351_2587, (Class348_Sub23_Sub2.aClass77_9029), -112); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(Class90.regionTileY + i_75_, (byte) 3); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByteAdd((byte) -96, (Class182.aClass346_2449.method2696(82, -125) ? 1 : 0)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, za_Sub2.regionTileX + i_74_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(68, 0x7fffffff & (int) (l >>> 32)); - Class348_Sub42_Sub14.method3243(-68, class348_sub47); - Class309.method2307(i_75_, l, i_74_, 25); - } - if (i_76_ == 23) { - Player player = (Class294.aPlayerArray5058[i_77_]); - if (player != null) { - Class239_Sub20.anInt6048 = 2; - Class318_Sub1_Sub4_Sub1.anInt10073++; - Class348.anInt4292 = 0; - Class26.anInt385 = i_73_; - Class93.anInt1534 = i_72_; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class52.aClass351_4905), (Class348_Sub23_Sub2.aClass77_9029), -113); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_77_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByteAdd((byte) 60, (!Class182.aClass346_2449.method2696(82, -121) ? 0 : 1)); - Class348_Sub42_Sub14.method3243(118, class348_sub47); - Class298.method2252(true, (player.anIntArray10320[0]), (player.anIntArray10317[0]), (byte) -106, player.method2436((byte) 45), 0, player.method2436((byte) 63), -2, 0); - } - } - if (i_76_ == 16 && Class49.aClass46_4730 == null) { - Class348_Sub40_Sub7.method3065(i_75_, false, i_74_); - Class49.aClass46_4730 = Class348_Sub22.method2957(i_74_, (byte) -54, i_75_); - Class251.method1916(-9343, Class49.aClass46_4730); - } - if (i_76_ == 8) { - Player player = (Class294.aPlayerArray5058[i_77_]); - if (player != null) { - Class93.anInt1534 = i_72_; - Class26.anInt385 = i_73_; - Class239_Sub20.anInt6048 = 2; - Class296.anInt3768++; - Class348.anInt4292 = 0; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class251.aClass351_3232), (Class348_Sub23_Sub2.aClass77_9029), -84); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, (!Class182.aClass346_2449.method2696(82, -128) ? 0 : 1)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-99, i_77_); - Class348_Sub42_Sub14.method3243(127, class348_sub47); - Class298.method2252(true, (player.anIntArray10320[0]), (player.anIntArray10317[0]), (byte) -106, player.method2436((byte) 100), 0, player.method2436((byte) 99), -2, 0); - } - } - if (i_76_ == 21) { - Class93.anInt1534 = i_72_; - Class239_Sub8.anInt5919++; - Class348.anInt4292 = 0; - Class239_Sub20.anInt6048 = 2; - Class26.anInt385 = i_73_; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(r_Sub1.aClass351_10477, (Class348_Sub23_Sub2.aClass77_9029), -107); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_77_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, za_Sub2.regionTileX + i_74_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_75_ + Class90.regionTileY); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByteSubtract((byte) 120, (!Class182.aClass346_2449.method2696(82, -123) ? 0 : 1)); - Class348_Sub42_Sub14.method3243(120, class348_sub47); - Class348_Sub42_Sub18.method3275(1, i_75_, i_74_); - } - if (i_76_ == 15) { - Class239_Sub20.anInt6048 = 1; - Class26.anInt385 = i_73_; - Class348.anInt4292 = 0; - Class93.anInt1534 = i_72_; - client.anInt5187++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class344.aClass351_4264, (Class348_Sub23_Sub2.aClass77_9029), -127); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(za_Sub2.regionTileX - -i_74_, (byte) 3); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-85, Class301.anInt3829); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(Class9.anInt169, (byte) 3); - class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 127, Class149.anInt2046); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-84, Class90.regionTileY + i_75_); - Class348_Sub42_Sub14.method3243(-62, class348_sub47); - Class298.method2252(true, i_74_, i_75_, (byte) -91, 1, 0, 1, -4, 0); - } - if (i_76_ == 60) { - Class348_Sub22 class348_sub22 = ((Class348_Sub22) Class282.aClass356_3654.method3480(i_77_, -6008)); - if (class348_sub22 != null) { - Class290.anInt3707++; - Class348.anInt4292 = 0; - Class26.anInt385 = i_73_; - Class93.anInt1534 = i_72_; - Npc npc = (class348_sub22.aNpc_6859); - Class239_Sub20.anInt6048 = 2; - Class348_Sub47 class348_sub47 = (Class286_Sub3.method2148(RuntimeException_Sub1.aClass351_4601, Class348_Sub23_Sub2.aClass77_9029, -123)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_77_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByteInverse((byte) -67, (Class182.aClass346_2449.method2696(82, -122) ? 1 : 0)); - Class348_Sub42_Sub14.method3243(119, class348_sub47); - Class298.method2252(true, (npc.anIntArray10320[0]), (npc.anIntArray10317[0]), (byte) -111, npc.method2436((byte) 65), 0, npc.method2436((byte) 42), -2, 0); - } - } - if (i_76_ == 2) { - Class348.anInt4292 = 0; - Class239_Sub20.anInt6048 = 2; - r_Sub1.anInt10476++; - Class26.anInt385 = i_73_; - Class93.anInt1534 = i_72_; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class348_Sub16_Sub1.aClass351_8857), (Class348_Sub23_Sub2.aClass77_9029), -105); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, Class301.anInt3829); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, za_Sub2.regionTileX + i_74_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeIntLittle(-128, Class149.anInt2046); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-82, Class90.regionTileY + i_75_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByteSubtract((byte) -74, (!Class182.aClass346_2449.method2696(82, -125) ? 0 : 1)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(Class9.anInt169, (byte) 3); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle((int) (l >>> 32) & 0x7fffffff, (byte) 3); - Class348_Sub42_Sub14.method3243(117, class348_sub47); - Class309.method2307(i_75_, l, i_74_, 4); - } - if (i_76_ == 58) { - Player player = (Class294.aPlayerArray5058[i_77_]); - if (player != null) { - Class348.anInt4292 = 0; - Class93.anInt1534 = i_72_; - Class26.anInt385 = i_73_; - Class239_Sub20.anInt6048 = 2; - Class98.anInt1570++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class175.aClass351_2315), (Class348_Sub23_Sub2.aClass77_9029), -90); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, (!Class182.aClass346_2449.method2696(82, -121) ? 0 : 1)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(52, i_77_); - Class348_Sub42_Sub14.method3243(-127, class348_sub47); - Class298.method2252(true, (player.anIntArray10320[0]), (player.anIntArray10317[0]), (byte) -93, player.method2436((byte) 119), 0, player.method2436((byte) 54), -2, 0); - } - } - if (i_76_ == 17) { - Player player = (Class294.aPlayerArray5058[i_77_]); - if (player != null) { - Class239_Sub20.anInt6048 = 2; - Class93.anInt1534 = i_72_; - Class14_Sub3.anInt8625++; - Class26.anInt385 = i_73_; - Class348.anInt4292 = 0; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class25.aClass351_364), (Class348_Sub23_Sub2.aClass77_9029), -113); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, (!Class182.aClass346_2449.method2696(82, -126) ? 0 : 1)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_77_); - Class348_Sub42_Sub14.method3243(121, class348_sub47); - Class298.method2252(true, (player.anIntArray10320[0]), (player.anIntArray10317[0]), (byte) -123, player.method2436((byte) 96), 0, player.method2436((byte) 97), -2, 0); - } - } - if (i_76_ == 47) { - Class26.anInt385 = i_73_; - Class239_Sub20.anInt6048 = 2; - Class348.anInt4292 = 0; - Class316.anInt3966++; - Class93.anInt1534 = i_72_; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class348_Sub49_Sub1.aClass351_9749), (Class348_Sub23_Sub2.aClass77_9029), -81); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_77_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(106, i_74_ - -za_Sub2.regionTileX); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, (!Class182.aClass346_2449.method2696(82, -128) ? 0 : 1)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, i_75_ - -Class90.regionTileY); - Class348_Sub42_Sub14.method3243(116, class348_sub47); - Class348_Sub42_Sub18.method3275(1, i_75_, i_74_); - } - if (i_76_ == 3) { - Class151.anInt2065++; - Class26.anInt385 = i_73_; - Class348.anInt4292 = 0; - Class239_Sub20.anInt6048 = 2; - Class93.anInt1534 = i_72_; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class348_Sub42_Sub17.aClass351_9679), (Class348_Sub23_Sub2.aClass77_9029), -98); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByteSubtract((byte) -83, (!Class182.aClass346_2449.method2696(82, -128) ? 0 : 1)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, za_Sub2.regionTileX + i_74_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(i_75_ + Class90.regionTileY, (byte) 3); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, 0x7fffffff & (int) (l >>> 32)); - Class348_Sub42_Sub14.method3243(127, class348_sub47); - Class309.method2307(i_75_, l, i_74_, 63); - } - if (i_76_ == 20) { - Class348_Sub22 class348_sub22 = ((Class348_Sub22) Class282.aClass356_3654.method3480(i_77_, -6008)); - if (class348_sub22 != null) { - Class239_Sub20.anInt6048 = 2; - Class26.anInt385 = i_73_; - Class93.anInt1534 = i_72_; - Npc npc = (class348_sub22.aNpc_6859); - Class348.anInt4292 = 0; - Class328_Sub2.anInt6516++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class339.aClass351_4207), (Class348_Sub23_Sub2.aClass77_9029), -81); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, i_77_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByteAdd((byte) -119, (!Class182.aClass346_2449.method2696(82, -123) ? 0 : 1)); - Class348_Sub42_Sub14.method3243(-85, class348_sub47); - Class298.method2252(true, (npc.anIntArray10320[0]), (npc.anIntArray10317[0]), (byte) -121, npc.method2436((byte) 99), 0, npc.method2436((byte) 99), -2, 0); - } - } - if (i > 97) { - if (i_76_ == 1010) { - Class239_Sub20.anInt6048 = 2; - Class348_Sub42_Sub18.anInt9686++; - Class93.anInt1534 = i_72_; - Class26.anInt385 = i_73_; - Class348.anInt4292 = 0; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class65.aClass351_1144), (Class348_Sub23_Sub2.aClass77_9029), -96); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_77_); - Class348_Sub42_Sub14.method3243(125, class348_sub47); - } - if (i_76_ == 22) { - Class239_Sub20.anInt6048 = 2; - Class348.anInt4292 = 0; - Class93.anInt1534 = i_72_; - Class26.anInt385 = i_73_; - Class348_Sub42_Sub13.anInt9620++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class202.aClass351_2661), (Class348_Sub23_Sub2.aClass77_9029), -117); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByteSubtract((byte) -101, (!Class182.aClass346_2449.method2696(82, -125) ? 0 : 1)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-69, za_Sub2.regionTileX + i_74_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(Class90.regionTileY + i_75_, (byte) 3); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_77_); - Class348_Sub42_Sub14.method3243(116, class348_sub47); - Class348_Sub42_Sub18.method3275(1, i_75_, i_74_); - } - if (i_76_ == 50) { - Class26.anInt385 = i_73_; - Class239_Sub20.anInt6048 = 2; - Class348.anInt4292 = 0; - Class93.anInt1534 = i_72_; - Class228.anInt2975++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class52.aClass351_4907), (Class348_Sub23_Sub2.aClass77_9029), -127); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, Class9.anInt169); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle((Class132.aPlayer_1907.anInt10290), (byte) 3); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(Class301.anInt3829, (byte) 3); - class348_sub47.aClass348_Sub49_Sub2_7116.writeIntInverseMiddle(Class149.anInt2046, -4086); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByteInverse((byte) -29, (Class182.aClass346_2449.method2696(82, -121) ? 1 : 0)); - Class348_Sub42_Sub14.method3243(-40, class348_sub47); - } - if (i_76_ == 18 || i_76_ == 1011) Class348_Sub9.method2780(i_74_, (class348_sub42_sub12.aString9601), (byte) 5, i_77_, i_75_); - if (i_76_ == 13) { - Class46 class46 = Class348_Sub22.method2957(i_74_, (byte) -54, i_75_); - if (class46 != null) { - Class341.method2678(-2049); - Class348_Sub44 class348_sub44 = client.method105(class46); - Class339.method2666(class348_sub44.anInt7093, class348_sub44.method3307(14), class46, (byte) 21); - Class28.aString5001 = Class239_Sub8.method1753(0, class46); - Class28.aString5000 = (class46.aString752 + ""); - if (Class28.aString5001 == null) Class28.aString5001 = "Null"; - } - } else { - if (i_76_ == 1009 || i_76_ == 1012 || i_76_ == 1002 || i_76_ == 1003 || i_76_ == 1006) Class65.method696(i_76_, i_74_, i_77_, -1007); - if (i_76_ == 25) { - Class348_Sub22 class348_sub22 = ((Class348_Sub22) Class282.aClass356_3654.method3480(i_77_, -6008)); - if (class348_sub22 != null) { - Class239_Sub20.anInt6048 = 2; - Class93.anInt1534 = i_72_; - Class299_Sub1_Sub2.anInt8702++; - Npc npc = (class348_sub22.aNpc_6859); - Class26.anInt385 = i_73_; - Class348.anInt4292 = 0; - Class348_Sub47 class348_sub47 = (Class286_Sub3.method2148(Class348_Sub18.aClass351_6814, Class348_Sub23_Sub2.aClass77_9029, -125)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, !Class182.aClass346_2449.method2696(82, -125) ? 0 : 1); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(i_77_, (byte) 3); - Class348_Sub42_Sub14.method3243(-37, class348_sub47); - Class298.method2252(true, (npc.anIntArray10320[0]), (npc.anIntArray10317[0]), (byte) -85, npc.method2436((byte) 124), 0, npc.method2436((byte) 84), -2, 0); - } - } - if (i_76_ == 57) { - Player player = (Class294.aPlayerArray5058[i_77_]); - if (player != null) { - Class239_Sub20.anInt6048 = 2; - Class93.anInt1534 = i_72_; - Class369_Sub2.anInt8588++; - Class348.anInt4292 = 0; - Class26.anInt385 = i_73_; - Class348_Sub47 class348_sub47 = (Class286_Sub3.method2148(Class348_Sub42_Sub5.aClass351_9533, Class348_Sub23_Sub2.aClass77_9029, -115)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-88, i_77_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByteAdd((byte) -111, Class182.aClass346_2449.method2696(82, -127) ? 1 : 0); - Class348_Sub42_Sub14.method3243(125, class348_sub47); - Class298.method2252(true, (player.anIntArray10320[0]), (player.anIntArray10317[0]), (byte) -98, player.method2436((byte) 83), 0, player.method2436((byte) 91), -2, 0); - } - } - if (i_76_ == 9) { - Class318_Sub1_Sub3_Sub4.anInt10364++; - Class26.anInt385 = i_73_; - Class348.anInt4292 = 0; - Class239_Sub20.anInt6048 = 2; - Class93.anInt1534 = i_72_; - Class348_Sub47 class348_sub47 = (Class286_Sub3.method2148(Class252.aClass351_3237, Class348_Sub23_Sub2.aClass77_9029, -125)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-96, Class90.regionTileY + i_75_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, 0x7fffffff & (int) (l >>> 32)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(i_74_ - -za_Sub2.regionTileX, (byte) 3); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByteAdd((byte) -91, (!Class182.aClass346_2449.method2696(82, -127) ? 0 : 1)); - Class348_Sub42_Sub14.method3243(118, class348_sub47); - Class309.method2307(i_75_, l, i_74_, 24); - } - if (i_76_ == 44) { - Class348_Sub22 class348_sub22 = ((Class348_Sub22) Class282.aClass356_3654.method3480(i_77_, -6008)); - if (class348_sub22 != null) { - Npc npc = (class348_sub22.aNpc_6859); - Class93.anInt1534 = i_72_; - Class348.anInt4292 = 0; - Class26.anInt385 = i_73_; - Class239_Sub20.anInt6048 = 2; - Class73.anInt4773++; - Class348_Sub47 class348_sub47 = (Class286_Sub3.method2148(Class43.aClass351_618, Class348_Sub23_Sub2.aClass77_9029, -117)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_77_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, Class182.aClass346_2449.method2696(82, -124) ? 1 : 0); - Class348_Sub42_Sub14.method3243(-25, class348_sub47); - Class298.method2252(true, (npc.anIntArray10320[0]), (npc.anIntArray10317[0]), (byte) -107, npc.method2436((byte) 104), 0, npc.method2436((byte) 50), -2, 0); - } - } - if (i_76_ == 10) { - Class239_Sub20.anInt6048 = 2; - Class26.anInt385 = i_73_; - Class348.anInt4292 = 0; - Class300.anInt3820++; - Class93.anInt1534 = i_72_; - Class348_Sub47 class348_sub47 = (Class286_Sub3.method2148(Class188.aClass351_2512, Class348_Sub23_Sub2.aClass77_9029, -91)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-108, i_75_ - -Class90.regionTileY); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-70, i_77_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(za_Sub2.regionTileX + i_74_, (byte) 3); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByteInverse((byte) -70, (!Class182.aClass346_2449.method2696(82, -128) ? 0 : 1)); - Class348_Sub42_Sub14.method3243(-22, class348_sub47); - Class348_Sub42_Sub18.method3275(1, i_75_, i_74_); - } - if (r.aBoolean9722) Class341.method2678(-2049); - if (Class311.aClass46_3913 == null || Class108.anInt1656 != 0) break; - Class251.method1916(-9343, Class311.aClass46_3913); - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("daa.A(" + i + ',' + ((class348_sub42_sub12 != null) ? "{...}" : "null") + ',' + i_72_ + ',' + i_73_ + ')')); - } - break; - } while (false); - } - - private Class325(int i, int i_78_, Class68 class68) { - try { - anInt4072 = i_78_; - aClass68_4071 = class68; - this.anInt4070 = i; - this.anInt4069 = aClass68_4071.anInt1178 * anInt4072; - if (this.anInt4070 >= 16) throw new RuntimeException(); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("daa.(" + i + ',' + i_78_ + ',' + (class68 != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class326.java b/client/src/Class326.java deleted file mode 100644 index 0fa4fee91..000000000 --- a/client/src/Class326.java +++ /dev/null @@ -1,70 +0,0 @@ -/* Class326 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class326 { - static int anInt4083; - static int anInt4084; - private final Class45 aClass45_4085; - static int anInt4086 = 0; - private Class60 aClass60_4087 = new Class60(64); - static int anInt4088; - static int anInt4089; - - final Class254 method2600(int i, int i_0_) { - anInt4084++; - Class254 class254; - synchronized (aClass60_4087) { - class254 = (Class254) aClass60_4087.method583(i, -67); - } - if (class254 != null) return class254; - if (i_0_ != 28364) anInt4086 = 117; - byte[] is; - synchronized (aClass45_4085) { - is = aClass45_4085.method410(-1860, 11, i); - } - class254 = new Class254(); - if (is != null) class254.method1924(new Class348_Sub49(is), (byte) -127); - synchronized (aClass60_4087) { - aClass60_4087.method582(class254, i, (byte) -114); - } - return class254; - } - - final void method2601(byte i) { - synchronized (aClass60_4087) { - aClass60_4087.method590(0); - int i_1_ = -46 / ((i - 3) / 47); - } - anInt4088++; - } - - final void method2602(int i) { - anInt4089++; - synchronized (aClass60_4087) { - aClass60_4087.method587(-91); - if (i != 0) aClass60_4087 = null; - } - } - - final void method2603(int i, int i_2_) { - synchronized (aClass60_4087) { - if (i_2_ != 11) return; - aClass60_4087.method578(2, i); - } - anInt4083++; - } - - Class326(Class230 class230, int i, Class45 class45) { - do { - try { - aClass45_4085 = class45; - if (aClass45_4085 == null) break; - aClass45_4085.method407(0, 11); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("dc.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } -} diff --git a/client/src/Class327.java b/client/src/Class327.java deleted file mode 100644 index 09226708f..000000000 --- a/client/src/Class327.java +++ /dev/null @@ -1,58 +0,0 @@ -/* Class327 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.File; - -final class Class327 { - static int anInt4090; - static Class273 aClass273_4091 = new Class273("", 10); - static int anInt4092; - static int anInt4093; - static Class351 aClass351_4094 = new Class351(47, 4); - static int anInt4095; - static int[] anIntArray4096 = new int[32]; - static int[] anIntArray4097 = new int[2]; - static Class74 aClass74_4098 = new Class74(4, 7); - - public static void method2604(byte i) { - aClass273_4091 = null; - if (i >= -49) method2606(31, -15L); - aClass74_4098 = null; - aClass351_4094 = null; - anIntArray4096 = null; - anIntArray4097 = null; - } - - static final boolean method2605(byte i) { - anInt4092++; - if (i != -99) anIntArray4097 = null; - return Class348_Sub43.anInt7068 != 0; - } - - static final void method2606(int i, long l) { - try { - anInt4090++; - try { - Thread.sleep(l); - int i_0_ = 107 % ((-80 - i) / 35); - } catch (InterruptedException interruptedexception) { - /* empty */ - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "de.A(" + i + ',' + l + ')'); - } - } - - static final byte[] method2607(int i, File file, int i_1_) { - anInt4093++; - try { - int i_2_ = -87 / ((28 - i_1_) / 54); - byte[] is = new byte[i]; - Class374.method3610(is, (byte) 7, i, file); - return is; - } catch (java.io.IOException ioexception) { - return null; - } - } -} diff --git a/client/src/Class328.java b/client/src/Class328.java deleted file mode 100644 index e4e5e300c..000000000 --- a/client/src/Class328.java +++ /dev/null @@ -1,55 +0,0 @@ -/* Class328 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -class Class328 { - static int anInt4099; - static int anInt4100; - static int anInt4101; - - static final Class39 method2608(Class377 class377, byte[] is, int i, int i_0_) { - try { - anInt4099++; - if (is == null || is.length == 0) return null; - long l = OpenGL.glCreateShaderObjectARB(i_0_); - OpenGL.glShaderSourceRawARB(l, is); - OpenGL.glCompileShaderARB(l); - if (i > -95) method2608(null, null, -27, 75); - OpenGL.glGetObjectParameterivARB(l, 35713, (Class348_Sub40_Sub2.anIntArray9096), 0); - if (Class348_Sub40_Sub2.anIntArray9096[0] == 0) { - if (Class348_Sub40_Sub2.anIntArray9096[0] == 0) System.out.println("Shader compile failed:"); - OpenGL.glGetObjectParameterivARB(l, 35716, (Class348_Sub40_Sub2.anIntArray9096), 1); - if (Class348_Sub40_Sub2.anIntArray9096[1] > 1) { - byte[] is_1_ = new byte[Class348_Sub40_Sub2.anIntArray9096[1]]; - OpenGL.glGetInfoLogARB(l, (Class348_Sub40_Sub2.anIntArray9096[1]), Class348_Sub40_Sub2.anIntArray9096, 0, is_1_, 0); - System.out.println(new String(is_1_)); - } - if (Class348_Sub40_Sub2.anIntArray9096[0] == 0) { - OpenGL.glDeleteObjectARB(l); - return null; - } - } - return new Class39(class377, l, i_0_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("dea.E(" + (class377 != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ')')); - } - } - - static final Class348_Sub42_Sub19 method2609(int i, int i_2_) { - anInt4101++; - Class348_Sub42_Sub19 class348_sub42_sub19 = ((Class348_Sub42_Sub19) Class322.aClass308_4036.method2302(i_2_, (byte) -68)); - if (class348_sub42_sub19 != null) return class348_sub42_sub19; - byte[] is = Class113.aClass45_1743.method410(-1860, i_2_, 0); - if (is == null || is.length <= 1) return null; - try { - class348_sub42_sub19 = Class318_Sub4.method2502(is, -104); - } catch (Exception exception) { - throw new RuntimeException(exception.getMessage() + " S: " + i_2_); - } - if (i > -103) return null; - Class322.aClass308_4036.method2305(i_2_, class348_sub42_sub19, -1); - return class348_sub42_sub19; - } -} diff --git a/client/src/Class328_Sub1.java b/client/src/Class328_Sub1.java deleted file mode 100644 index 5f557be3d..000000000 --- a/client/src/Class328_Sub1.java +++ /dev/null @@ -1,13 +0,0 @@ -/* Class328_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -class Class328_Sub1 extends Class328 { - static int anInt6513 = 0; - static float[] aFloatArray6514 = new float[4]; - - public static void method2610(boolean bool) { - if (bool != true) method2610(false); - aFloatArray6514 = null; - } -} diff --git a/client/src/Class328_Sub1_Sub1.java b/client/src/Class328_Sub1_Sub1.java deleted file mode 100644 index 387d350af..000000000 --- a/client/src/Class328_Sub1_Sub1.java +++ /dev/null @@ -1,12 +0,0 @@ -/* Class328_Sub1_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class328_Sub1_Sub1 extends Class328_Sub1 { - static Class351 aClass351_8798 = new Class351(69, -1); - static int anInt8799; - - public static void method2611(int i) { - if (i < -121) aClass351_8798 = null; - } -} diff --git a/client/src/Class328_Sub2.java b/client/src/Class328_Sub2.java deleted file mode 100644 index 83398e9b9..000000000 --- a/client/src/Class328_Sub2.java +++ /dev/null @@ -1,23 +0,0 @@ -/* Class328_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -class Class328_Sub2 extends Class328 { - static Class56[] aClass56Array6515; - static int anInt6516; - static Class60 aClass60_6517 = new Class60(4); - static int anInt6518; - - static final Class120 method2612(Class348_Sub49 class348_sub49, boolean bool) { - anInt6518++; - int i = class348_sub49.readUnsignedShort(842397944); - if (bool != true) method2613(-27); - return new Class120(i); - } - - public static void method2613(int i) { - aClass56Array6515 = null; - aClass60_6517 = null; - if (i != -1) method2613(58); - } -} diff --git a/client/src/Class328_Sub2_Sub1.java b/client/src/Class328_Sub2_Sub1.java deleted file mode 100644 index 643fac0a6..000000000 --- a/client/src/Class328_Sub2_Sub1.java +++ /dev/null @@ -1,12 +0,0 @@ -/* Class328_Sub2_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class328_Sub2_Sub1 extends Class328_Sub2 { - static long[] aLongArray8800 = new long[32]; - - public static void method2614(int i) { - aLongArray8800 = null; - if (i < 27) method2614(42); - } -} diff --git a/client/src/Class328_Sub3.java b/client/src/Class328_Sub3.java deleted file mode 100644 index d4bc193e0..000000000 --- a/client/src/Class328_Sub3.java +++ /dev/null @@ -1,29 +0,0 @@ -/* Class328_Sub3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class328_Sub3 extends Class328 { - static Class229 aClass229_6519 = new Class229(); - static int anInt6520; - static int anInt6521; - static int[] anIntArray6522 = new int[1000]; - static float aFloat6523; - - static final void method2615(int i, int i_0_) { - anInt6521++; - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i_0_, (byte) 105, 12); - class348_sub42_sub15.method3251(-16058); - if (i >= -59) method2617((byte) -108); - } - - static final void method2616(int i) { - anInt6520++; - if (i == 12) Class286_Sub3.method2152(false); - } - - public static void method2617(byte i) { - anIntArray6522 = null; - int i_1_ = -3 / ((i - 3) / 54); - aClass229_6519 = null; - } -} diff --git a/client/src/Class329.java b/client/src/Class329.java deleted file mode 100644 index d42449f32..000000000 --- a/client/src/Class329.java +++ /dev/null @@ -1,206 +0,0 @@ -/* Class329 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class329 { - private static int anInt4102; - private static int anInt4103; - private static int anInt4104; - private static int anInt4105; - private static int anInt4106; - private static int[] anIntArray4107; - private static int anInt4108; - private static int anInt4109; - - private static final void method2618(int i) { - if (anInt4105 < 0) { - anInt4104 = anInt4102 = anInt4109 = 0; - anInt4103 = 2147483646; - } else { - method2625(0, anInt4105); - int i_0_ = anIntArray4107[1]; - if (i_0_ < i) i_0_ = i; - int i_1_ = 0; - int i_2_; - for (i_2_ = 0; i_2_ < anInt4105; i_2_ += 4) { - int i_3_ = anIntArray4107[i_2_ + 1]; - if (i_0_ < i_3_) break; - int i_4_ = anIntArray4107[i_2_]; - int i_5_ = anIntArray4107[i_2_ + 2]; - int i_6_ = anIntArray4107[i_2_ + 3]; - int i_7_ = (i_5_ - i_4_ << 16) / (i_6_ - i_3_); - int i_8_ = (i_4_ << 16) + 32768; - anIntArray4107[i_2_] = i_8_ + (i_0_ - i_3_) * i_7_; - anIntArray4107[i_2_ + 2] = i_7_; - } - anInt4104 = i_1_; - anInt4102 = i_2_; - anInt4109 = i_2_; - anInt4103 = i_0_ - 1; - } - } - - static final void method2619(ha var_ha, int[] is, int i, int[] is_9_, int[] is_10_) { - method2623(var_ha, is, 0, is.length, i, is_9_, is_10_); - } - - static final void method2620(ha var_ha, int[] is, int i) { - method2623(var_ha, is, 0, is.length, i, null, null); - } - - public static void method2621() { - anIntArray4107 = null; - } - - private static final void method2622(int[] is, int i, int i_11_) { - int i_12_ = anInt4105 + (i_11_ << 1); - if (anIntArray4107 == null || anIntArray4107.length < i_12_) { - int[] is_13_ = new int[i_12_]; - for (int i_14_ = 0; i_14_ < anInt4105; i_14_++) - is_13_[i_14_] = anIntArray4107[i_14_]; - anIntArray4107 = is_13_; - } - i_11_ += i; - int i_15_ = i_11_ - 2; - for (int i_16_ = i; i_16_ < i_11_; i_16_ += 2) { - int i_17_ = is[i_15_ + 1]; - int i_18_ = is[i_16_ + 1]; - if (i_17_ < i_18_) { - anIntArray4107[anInt4105++] = is[i_15_]; - anIntArray4107[anInt4105++] = i_17_; - anIntArray4107[anInt4105++] = is[i_16_]; - anIntArray4107[anInt4105++] = i_18_; - } else if (i_18_ < i_17_) { - anIntArray4107[anInt4105++] = is[i_16_]; - anIntArray4107[anInt4105++] = i_18_; - anIntArray4107[anInt4105++] = is[i_15_]; - anIntArray4107[anInt4105++] = i_17_; - } - i_15_ = i_16_; - } - } - - private static final void method2623(ha var_ha, int[] is, int i, int i_19_, int i_20_, int[] is_21_, int[] is_22_) { - int[] is_23_ = new int[4]; - var_ha.K(is_23_); - if (is_21_ != null && is_23_[3] - is_23_[1] != is_21_.length) throw new IllegalStateException(); - method2624(); - method2622(is, i, i_19_); - method2618(is_23_[1]); - while (method2627(is_23_[3])) { - int i_24_ = anInt4106; - int i_25_ = anInt4108; - int i_26_ = anInt4103; - if (is_21_ != null) { - int i_27_ = i_26_ - is_23_[1]; - if (i_24_ < is_21_[i_27_] + is_23_[0]) i_24_ = is_21_[i_27_] + is_23_[0]; - if (i_25_ > is_21_[i_27_] + is_22_[i_27_] + is_23_[0]) i_25_ = is_21_[i_27_] + is_22_[i_27_] + is_23_[0]; - if (i_25_ - i_24_ <= 0) continue; - } - var_ha.U(i_24_, i_26_, i_25_ - i_24_, i_20_, 1); - } - } - - private static final void method2624() { - anInt4105 = 0; - } - - private static final void method2625(int i, int i_28_) { - if (i_28_ > i + 4) { - int i_29_ = i; - int i_30_ = anIntArray4107[i_29_]; - int i_31_ = anIntArray4107[i_29_ + 1]; - int i_32_ = anIntArray4107[i_29_ + 2]; - int i_33_ = anIntArray4107[i_29_ + 3]; - for (int i_34_ = i + 4; i_34_ < i_28_; i_34_ += 4) { - int i_35_ = anIntArray4107[i_34_ + 1]; - if (i_35_ < i_31_) { - anIntArray4107[i_29_] = anIntArray4107[i_34_]; - anIntArray4107[i_29_ + 1] = i_35_; - anIntArray4107[i_29_ + 2] = anIntArray4107[i_34_ + 2]; - anIntArray4107[i_29_ + 3] = anIntArray4107[i_34_ + 3]; - i_29_ += 4; - anIntArray4107[i_34_] = anIntArray4107[i_29_]; - anIntArray4107[i_34_ + 1] = anIntArray4107[i_29_ + 1]; - anIntArray4107[i_34_ + 2] = anIntArray4107[i_29_ + 2]; - anIntArray4107[i_34_ + 3] = anIntArray4107[i_29_ + 3]; - } - } - anIntArray4107[i_29_] = i_30_; - anIntArray4107[i_29_ + 1] = i_31_; - anIntArray4107[i_29_ + 2] = i_32_; - anIntArray4107[i_29_ + 3] = i_33_; - method2625(i, i_29_); - method2625(i_29_ + 4, i_28_); - } - } - - private static final void method2626(int i, int i_36_) { - for (/**/; i_36_ >= i + 8; i_36_ -= 4) { - boolean bool = true; - for (int i_37_ = i + 4; i_37_ < i_36_; i_37_ += 4) { - int i_38_ = anIntArray4107[i_37_ - 4]; - int i_39_ = anIntArray4107[i_37_]; - if (i_38_ > i_39_) { - bool = false; - anIntArray4107[i_37_ - 4] = i_39_; - anIntArray4107[i_37_] = i_38_; - i_38_ = anIntArray4107[i_37_ - 2]; - anIntArray4107[i_37_ - 2] = anIntArray4107[i_37_ + 2]; - anIntArray4107[i_37_ + 2] = i_38_; - i_38_ = anIntArray4107[i_37_ - 1]; - anIntArray4107[i_37_ - 1] = anIntArray4107[i_37_ + 3]; - anIntArray4107[i_37_ + 3] = i_38_; - } - } - if (bool) break; - } - } - - private static final boolean method2627(int i) { - int i_40_ = anInt4102; - int i_41_ = anInt4109; - int i_42_ = anInt4103; - int i_43_; - for (/**/; i_41_ >= i_40_; i_41_ = i_43_) { - anInt4103 = ++i_42_; - if (i_42_ >= i) return false; - i_43_ = anInt4104; - for (/**/; i_40_ < anInt4105; i_40_ += 4) { - int i_44_ = anIntArray4107[i_40_ + 1]; - if (i_42_ < i_44_) break; - int i_45_ = anIntArray4107[i_40_]; - int i_46_ = anIntArray4107[i_40_ + 2]; - int i_47_ = anIntArray4107[i_40_ + 3]; - int i_48_ = (i_46_ - i_45_ << 16) / (i_47_ - i_44_); - int i_49_ = (i_45_ << 16) + 32768; - anIntArray4107[i_40_] = i_49_; - anIntArray4107[i_40_ + 2] = i_48_; - } - for (int i_50_ = i_43_; i_50_ < i_40_; i_50_ += 4) { - int i_51_ = anIntArray4107[i_50_ + 3]; - if (i_42_ >= i_51_) { - anIntArray4107[i_50_] = anIntArray4107[i_43_]; - anIntArray4107[i_50_ + 1] = anIntArray4107[i_43_ + 1]; - anIntArray4107[i_50_ + 2] = anIntArray4107[i_43_ + 2]; - anIntArray4107[i_50_ + 3] = anIntArray4107[i_43_ + 3]; - i_43_ += 4; - } - } - if (i_43_ == anInt4105) { - anInt4105 = 0; - return false; - } - method2626(i_43_, i_40_); - anInt4104 = i_43_; - anInt4102 = i_40_; - } - anInt4106 = anIntArray4107[i_41_] >> 16; - anInt4108 = anIntArray4107[i_41_ + 4] >> 16; - anIntArray4107[i_41_] += anIntArray4107[i_41_ + 2]; - anIntArray4107[i_41_ + 4] += anIntArray4107[i_41_ + 6]; - i_41_ += 8; - anInt4109 = i_41_; - return true; - } -} diff --git a/client/src/Class33.java b/client/src/Class33.java deleted file mode 100644 index 6b567427d..000000000 --- a/client/src/Class33.java +++ /dev/null @@ -1,93 +0,0 @@ -/* Class33 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; - -final class Class33 { - static int anInt456; - static int anInt457; - private final Class45 aClass45_458; - static int anInt459; - private final Class60 aClass60_460 = new Class60(128); - static int anInt461; - - final Class117 method337(boolean bool, int i) { - anInt457++; - Class117 class117; - synchronized (aClass60_460) { - class117 = (Class117) aClass60_460.method583(i, 111); - } - if (class117 != null) return class117; - byte[] is = aClass45_458.method410(-1860, Class5_Sub3.method200(-107, i), Class348_Sub31.method3013(i, bool)); - class117 = new Class117(); - if (is != null) class117.method1069(0, new Class348_Sub49(is)); - synchronized (aClass60_460) { - aClass60_460.method582(class117, i, (byte) -102); - } - return class117; - } - - static final void method338(int i, int i_0_) { - if (i == Class316.aClass348_Sub51_3959.aClass239_Sub22_7253.method1815(-32350)) i_0_ = -1; - anInt456++; - if (i_0_ != Class337.anInt4179) { - if (i_0_ != -1) { - Class222 class222 = Class239.aClass166_3147.method1287((byte) -104, i_0_); - Class207 class207 = class222.method1610((byte) 71); - if (class207 == null) i_0_ = -1; - else { - Class348_Sub23_Sub1.aClass297_8992.method2238(class207.method1522(), class207.method1516(), 17, new Point(class222.anInt2883, class222.anInt2890), Class305.aCanvas3869, class207.method1510()); - Class337.anInt4179 = i_0_; - } - } - if (i_0_ == -1 && Class337.anInt4179 != -1) { - Class348_Sub23_Sub1.aClass297_8992.method2238(-1, null, i + 17, new Point(), (Class305.aCanvas3869), -1); - Class337.anInt4179 = -1; - } - } - } - - static final void method339(int i, int i_1_, byte[] is, int i_2_, int i_3_, int i_4_) { - anInt461++; - if (i_4_ > i_1_) { - i += i_1_; - i_2_ = -i_1_ + i_4_ >> 2; - while (--i_2_ >= 0) { - is[i++] = (byte) 1; - is[i++] = (byte) 1; - is[i++] = (byte) 1; - is[i++] = (byte) 1; - } - if (i_3_ == 1354705384) { - i_2_ = 0x3 & i_4_ - i_1_; - while (--i_2_ >= 0) is[i++] = (byte) 1; - } - } - } - - static final int method340(int i, byte i_5_) { - anInt459++; - i = --i | i >>> 1; - i |= i >>> 2; - i |= i >>> 4; - if (i_5_ != 108) return 34; - i |= i >>> 8; - i |= i >>> 16; - return 1 + i; - } - - Class33(Class230 class230, int i, Class45 class45) { - do { - try { - aClass45_458 = class45; - if (aClass45_458 == null) break; - int i_6_ = -1 + aClass45_458.method414(-1); - aClass45_458.method407(0, i_6_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("iba.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } -} diff --git a/client/src/Class330.java b/client/src/Class330.java deleted file mode 100644 index 9fd56a8a9..000000000 --- a/client/src/Class330.java +++ /dev/null @@ -1,288 +0,0 @@ -/* Class330 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaclib.memory.Buffer; -import jaclib.memory.Stream; - -final class Class330 { - static int anInt4110; - private final ha_Sub3 aHa_Sub3_4111; - byte[] aByteArray4112; - int anInt4113; - static int anInt4114; - static int anInt4115; - private final s_Sub3 aS_Sub3_4116; - static boolean aBoolean4117 = false; - private final int anInt4118; - static int anInt4119; - static int anInt4120; - private final int anInt4121; - private Class97[][] aClass97ArrayArray4122; - private final int anInt4123; - private final int anInt4124; - static int anInt4125; - static Class114 aClass114_4126 = new Class114(5, 8); - static boolean aBoolean4127 = false; - - final boolean method2628(int i, byte i_0_, r var_r, int i_1_) { - anInt4119++; - r_Sub1 var_r_Sub1 = (r_Sub1) var_r; - int i_2_ = 13 % ((i_0_ - -21) / 45); - i_1_ += var_r_Sub1.anInt10474 + 1; - i += var_r_Sub1.anInt10468 - -1; - int i_3_ = i_1_ * this.anInt4113 + i; - int i_4_ = var_r_Sub1.anInt10467; - int i_5_ = var_r_Sub1.anInt10466; - int i_6_ = -i_5_ + this.anInt4113; - if (i_1_ <= 0) { - int i_7_ = 1 + -i_1_; - i_4_ -= i_7_; - i_3_ += this.anInt4113 * i_7_; - i_1_ = 1; - } - if (anInt4123 <= i_4_ + i_1_) { - int i_8_ = -anInt4123 + (i_4_ + i_1_) - -1; - i_4_ -= i_8_; - } - if (i <= 0) { - int i_9_ = -i + 1; - i = 1; - i_6_ += i_9_; - i_5_ -= i_9_; - i_3_ += i_9_; - } - if (i_5_ + i >= this.anInt4113) { - int i_10_ = 1 + i + (i_5_ + -this.anInt4113); - i_5_ -= i_10_; - i_6_ += i_10_; - } - if (i_5_ <= 0 || i_4_ <= 0) return false; - int i_11_ = 8; - i_6_ += (i_11_ + -1) * this.anInt4113; - return Class318_Sub4.method2503(i_6_, i_3_, i_11_, this.aByteArray4112, i_5_, -16259, i_4_); - } - - final void method2629(int i, r var_r, int i_12_, int i_13_) { - anInt4114++; - r_Sub1 var_r_Sub1 = (r_Sub1) var_r; - i_13_ += 1 + var_r_Sub1.anInt10468; - i += i_12_ + var_r_Sub1.anInt10474; - int i_14_ = i * this.anInt4113 + i_13_; - int i_15_ = 0; - int i_16_ = var_r_Sub1.anInt10467; - int i_17_ = var_r_Sub1.anInt10466; - int i_18_ = this.anInt4113 + -i_17_; - if (i <= 0) { - int i_19_ = -i + 1; - i_14_ += this.anInt4113 * i_19_; - i_16_ -= i_19_; - i = 1; - i_15_ += i_19_ * i_17_; - } - int i_20_ = 0; - if (anInt4123 <= i_16_ + i) { - int i_21_ = -anInt4123 + i - -i_16_ + 1; - i_16_ -= i_21_; - } - if (i_13_ <= 0) { - int i_22_ = 1 + -i_13_; - i_20_ += i_22_; - i_18_ += i_22_; - i_13_ = 1; - i_14_ += i_22_; - i_15_ += i_22_; - i_17_ -= i_22_; - } - if (i_13_ + i_17_ >= this.anInt4113) { - int i_23_ = 1 + i_17_ + (i_13_ - this.anInt4113); - i_18_ += i_23_; - i_17_ -= i_23_; - i_20_ += i_23_; - } - if (i_17_ > 0 && i_16_ > 0) { - Class348_Sub40_Sub37.method3146(i_18_, i_17_, (byte) -116, i_20_, i_16_, i_14_, this.aByteArray4112, (var_r_Sub1.aByteArray10471), i_15_); - method2634(i, -1, i_13_, i_16_, i_17_); - } - } - - final void method2630(int i, int i_24_, int i_25_, boolean bool, boolean[][] bools, int i_26_) { - anInt4115++; - aHa_Sub3_4111.method3866(false, true); - aHa_Sub3_4111.method3946(-32, false); - aHa_Sub3_4111.method3817(79, 1); - aHa_Sub3_4111.method3923(true, 1); - aHa_Sub3_4111.method3814(false, false, -2, (byte) 82); - float f = 1.0F / (float) (aHa_Sub3_4111.anInt8125 * i); - if (bool) { - for (int i_27_ = 0; anInt4118 > i_27_; i_27_++) { - int i_28_ = i_27_ << anInt4124; - int i_29_ = 1 + i_27_ << anInt4124; - for (int i_30_ = 0; anInt4121 > i_30_; i_30_++) { - if (aClass97ArrayArray4122[i_30_][i_27_] != null) { - int i_31_ = i_30_ << anInt4124; - int i_32_ = i_30_ + 1 << anInt4124; - while_119_: - for (int i_33_ = i_31_; i_33_ < i_32_; i_33_++) { - if (-i_25_ + i_33_ >= -i_24_ && i_24_ >= -i_25_ + i_33_) { - for (int i_34_ = i_28_; (i_29_ > i_34_); i_34_++) { - if (-i_24_ <= i_34_ + -i_26_ && i_24_ >= -i_26_ + i_34_ && (bools[i_24_ + (-i_25_ + i_33_)][-i_26_ + i_34_ + i_24_])) { - Class101_Sub2 class101_sub2 = aHa_Sub3_4111.method3820(false); - class101_sub2.method932(1.0F, f, f, (byte) -65); - class101_sub2.method891(-i_30_, -i_27_, 0); - aHa_Sub3_4111.method3853(i ^ ~0x9f, Class239_Sub18.aClass251_6030); - aClass97ArrayArray4122[i_30_][i_27_].method871((byte) 116); - break while_119_; - } - } - } - } - } - } - } - } else { - for (int i_35_ = 0; anInt4118 > i_35_; i_35_++) { - int i_36_ = i_35_ << anInt4124; - int i_37_ = 1 + i_35_ << anInt4124; - for (int i_38_ = 0; i_38_ < anInt4121; i_38_++) { - Class97 class97 = aClass97ArrayArray4122[i_38_][i_35_]; - if (class97 != null) { - Interface5_Impl2 interface5_impl2 = aHa_Sub3_4111.method3822(118, (class97.anInt1563) * 3); - Buffer buffer = interface5_impl2.method24(true, false); - if (buffer != null) { - Stream stream = aHa_Sub3_4111.method3893(buffer, 9179); - int i_39_ = 0; - int i_40_ = i_38_ << anInt4124; - int i_41_ = i_38_ + 1 << anInt4124; - for (int i_42_ = i_36_; i_42_ < i_37_; i_42_++) { - if (-i_26_ + i_42_ >= -i_24_ && (i_42_ - i_26_ <= i_24_)) { - int i_43_ = (i_42_ * aS_Sub3_4116.anInt4587 - -i_40_); - for (int i_44_ = i_40_; (i_44_ < i_41_); i_44_++) { - if ((-i_25_ + i_44_ >= -i_24_) && i_24_ >= i_44_ - i_25_ && (bools[i_24_ + (i_44_ + -i_25_)][i_24_ + -i_26_ + i_42_])) { - short[] is = (aS_Sub3_4116.aShortArrayArray8299[i_43_]); - if (is != null) { - if (Stream.c()) { - for (int i_46_ = 0; (is.length > i_46_); i_46_++) { - stream.d(is[i_46_] & 0xffff); - i_39_++; - } - } else { - for (int i_45_ = 0; is.length > i_45_; i_45_++) { - i_39_++; - stream.a(is[i_45_] & 0xffff); - } - } - } - } - i_43_++; - } - } - } - stream.a(); - if (interface5_impl2.method22(-23) && i_39_ > 0) { - Class101_Sub2 class101_sub2 = aHa_Sub3_4111.method3820(false); - class101_sub2.method932(1.0F, f, f, (byte) -62); - class101_sub2.method891(-i_38_, -i_35_, 0); - aHa_Sub3_4111.method3853(i ^ ~0x9f, (Class239_Sub18.aClass251_6030)); - class97.method875(-82, interface5_impl2, i_39_ / 3); - } - } - } - } - } - } - aHa_Sub3_4111.method3879(-8629); - } - - public static void method2631(int i) { - int i_47_ = -46 / ((65 - i) / 61); - aClass114_4126 = null; - } - - final void method2632(int i) { - aClass97ArrayArray4122 = new Class97[anInt4121][anInt4118]; - anInt4125++; - if (i != 128) method2630(-93, -74, 10, false, null, 48); - for (int i_48_ = 0; anInt4118 > i_48_; i_48_++) { - for (int i_49_ = 0; i_49_ < anInt4121; i_49_++) { - aClass97ArrayArray4122[i_49_][i_48_] = new Class97(aHa_Sub3_4111, this, aS_Sub3_4116, i_49_, i_48_, anInt4124, 128 * i_49_ - -1, 128 * i_48_ + 1); - if (aClass97ArrayArray4122[i_49_][i_48_].anInt1563 == 0) aClass97ArrayArray4122[i_49_][i_48_] = null; - } - } - } - - final void method2633(int i, int i_50_, r var_r, int i_51_) { - anInt4120++; - r_Sub1 var_r_Sub1 = (r_Sub1) var_r; - i_51_ += var_r_Sub1.anInt10474 + 1; - i_50_ += 1 + var_r_Sub1.anInt10468; - if (i != 287) method2634(-49, -3, 16, -9, -115); - int i_52_ = i_50_ + this.anInt4113 * i_51_; - int i_53_ = 0; - int i_54_ = var_r_Sub1.anInt10467; - int i_55_ = var_r_Sub1.anInt10466; - int i_56_ = -i_55_ + this.anInt4113; - if (i_51_ <= 0) { - int i_57_ = -i_51_ + 1; - i_52_ += this.anInt4113 * i_57_; - i_54_ -= i_57_; - i_53_ += i_57_ * i_55_; - i_51_ = 1; - } - int i_58_ = 0; - if (anInt4123 <= i_54_ + i_51_) { - int i_59_ = -anInt4123 + (i_51_ - -i_54_) + 1; - i_54_ -= i_59_; - } - if (i_50_ <= 0) { - int i_60_ = 1 + -i_50_; - i_53_ += i_60_; - i_56_ += i_60_; - i_58_ += i_60_; - i_52_ += i_60_; - i_50_ = 1; - i_55_ -= i_60_; - } - if (i_55_ + i_50_ >= this.anInt4113) { - int i_61_ = 1 + (i_55_ + (i_50_ + -this.anInt4113)); - i_58_ += i_61_; - i_55_ -= i_61_; - i_56_ += i_61_; - } - if (i_55_ > 0 && i_54_ > 0) { - Class99.method880(i_55_, this.aByteArray4112, var_r_Sub1.aByteArray10471, i_53_, i + 13593, i_54_, i_52_, i_56_, i_58_); - method2634(i_51_, -1, i_50_, i_54_, i_55_); - } - } - - private final void method2634(int i, int i_62_, int i_63_, int i_64_, int i_65_) { - anInt4110++; - if (aClass97ArrayArray4122 != null) { - int i_66_ = -1 + i_63_ >> 7; - int i_67_ = -1 + (i_65_ + i_63_ - 1) >> 7; - int i_68_ = i + -1 >> 7; - int i_69_ = i_62_ + (-1 + (i - -i_64_)) >> 7; - for (int i_70_ = i_66_; i_67_ >= i_70_; i_70_++) { - Class97[] class97s = aClass97ArrayArray4122[i_70_]; - for (int i_71_ = i_68_; i_69_ >= i_71_; i_71_++) { - if (class97s[i_71_] != null) class97s[i_71_].aBoolean1562 = true; - } - } - } - } - - Class330(ha_Sub3 var_ha_Sub3, s_Sub3 var_s_Sub3) { - try { - aHa_Sub3_4111 = var_ha_Sub3; - aS_Sub3_4116 = var_s_Sub3; - this.anInt4113 = 2 + ((aS_Sub3_4116.anInt4587 * aS_Sub3_4116.anInt4592) >> aHa_Sub3_4111.anInt8107); - anInt4123 = (aS_Sub3_4116.anInt4592 * aS_Sub3_4116.anInt4590 >> aHa_Sub3_4111.anInt8107) + 2; - this.aByteArray4112 = new byte[this.anInt4113 * anInt4123]; - anInt4124 = (-aS_Sub3_4116.anInt4588 + (7 + aHa_Sub3_4111.anInt8107)); - anInt4121 = aS_Sub3_4116.anInt4587 >> anInt4124; - anInt4118 = aS_Sub3_4116.anInt4590 >> anInt4124; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("dg.(" + (var_ha_Sub3 != null ? "{...}" : "null") + ',' + (var_s_Sub3 != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class331.java b/client/src/Class331.java deleted file mode 100644 index 77eae5d2c..000000000 --- a/client/src/Class331.java +++ /dev/null @@ -1,72 +0,0 @@ -/* Class331 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class331 { - static int[] anIntArray4128 = new int[5]; - static String[] aStringArray4129 = {"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"}; - static Class46 aClass46_4130; - static int anInt4131; - static int anInt4132; - static int anInt4133 = 0; - static int anInt4134; - static int anInt4135; - static int anInt4136; - static int anInt4137; - - static final int method2635(float f, boolean bool, float f_0_, float f_1_) { - anInt4131++; - float f_2_ = !(f_1_ < 0.0F) ? f_1_ : -f_1_; - float f_3_ = f < 0.0F ? -f : f; - if (bool != false) method2637(-85); - float f_4_ = !(f_0_ < 0.0F) ? f_0_ : -f_0_; - if (!(f_2_ < f_3_) || !(f_3_ > f_4_)) { - if (!(f_4_ > f_2_) || !(f_3_ < f_4_)) { - if (!(f_1_ > 0.0F)) return 5; - return 4; - } - if (f_0_ > 0.0F) return 2; - return 3; - } - if (f > 0.0F) return 0; - return 1; - } - - static final void method2636(int i) { - int i_5_ = -114 % ((i - 22) / 33); - anInt4137++; - Class100.aClass356_1585.method3481(0); - s_Sub2.aClass107_8241.method1009(2110355138); - Class367_Sub4.aClass107_7325.method1009(2110355138); - } - - public static void method2637(int i) { - aStringArray4129 = null; - aClass46_4130 = null; - if (i != 0) aClass46_4130 = null; - anIntArray4128 = null; - } - - static final void method2638(int i) { - synchronized (Class24.aClass60_355) { - Class24.aClass60_355.method587(-98); - } - anInt4136++; - synchronized (Class130.aClass60_1894) { - Class130.aClass60_1894.method587(i + 4530); - } - if (i != -4631) anInt4135 = 37; - } - - static final short[] method2639(byte i, short[] is, int i_6_) { - int i_7_ = 77 / ((i - -32) / 47); - anInt4132++; - short[] is_8_ = new short[i_6_]; - Class214.method1576(is, 0, is_8_, 0, i_6_); - return is_8_; - } - - static { - aClass46_4130 = null; - } -} diff --git a/client/src/Class332.java b/client/src/Class332.java deleted file mode 100644 index fb14ada50..000000000 --- a/client/src/Class332.java +++ /dev/null @@ -1,47 +0,0 @@ -/* Class332 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; - -final class Class332 { - static int anInt4138; - static Class60 aClass60_4139; - static int anInt4140; - static int anInt4141 = -1; - static s[] aSArray4142; - static int anInt4143; - - public static void method2640(boolean bool) { - aClass60_4139 = null; - aSArray4142 = null; - if (bool != true) anInt4143 = 110; - } - - static final void method2641(int i, int i_0_, int i_1_, int i_2_, int i_3_) { - anInt4140++; - if (i_1_ >= -6) aClass60_4139 = null; - if (i < i_0_) { - for (int i_4_ = i; i_0_ > i_4_; i_4_++) - Class17.anIntArrayArray255[i_4_][i_2_] = i_3_; - } else { - for (int i_5_ = i_0_; i > i_5_; i_5_++) - Class17.anIntArrayArray255[i_5_][i_2_] = i_3_; - } - } - - static final void method2642(int i, int i_6_, boolean bool, int i_7_, int i_8_) { - anInt4138++; - for (int i_9_ = 0; Class348_Sub38.anInt7008 > i_9_; i_9_++) { - Rectangle rectangle = Class180.aRectangleArray2371[i_9_]; - if (rectangle.width + rectangle.x > i_7_ && rectangle.x < i + i_7_ && rectangle.height + rectangle.y > i_6_ && rectangle.y < i_8_ + i_6_) Class268.aBooleanArray3438[i_9_] = true; - } - Class338.method2663(-5590, i_7_, i_7_ + i, i_6_, i_6_ - -i_8_); - if (bool != true) method2642(-120, -24, false, -125, -16); - } - - static { - aClass60_4139 = new Class60(20); - anInt4143 = -1; - } -} diff --git a/client/src/Class333.java b/client/src/Class333.java deleted file mode 100644 index b2f5a1f3b..000000000 --- a/client/src/Class333.java +++ /dev/null @@ -1,57 +0,0 @@ -/* Class333 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class333 { - static int anInt4144 = -1; - static int anInt4145; - private Class356 aClass356_4146; - static Class45 aClass45_4147; - private int anInt4148 = 0; - static int anInt4149; - private Class348 aClass348_4150; - - static final void method2643(int i, int i_0_, int i_1_, int i_2_, int i_3_) { - if (Class342.anIntArrayArray4253 != null) Class342.anIntArrayArray4253[i][i_0_] = ~0xffffff | i_1_; - if (Class239_Sub1.aShortArrayArray5847 != null) Class239_Sub1.aShortArrayArray5847[i][i_0_] = (short) i_2_; - if (Class348_Sub1_Sub2.aByteArrayArray8816 != null) Class348_Sub1_Sub2.aByteArrayArray8816[i][i_0_] = (byte) i_3_; - } - - final Class348 method2644(byte i) { - anInt4148 = 0; - if (i != 123) method2643(-115, 5, -49, 81, 25); - anInt4145++; - return method2646((byte) 117); - } - - public static void method2645(int i) { - if (i != -16777216) method2643(-59, 61, -83, 34, -32); - aClass45_4147 = null; - } - - final Class348 method2646(byte i) { - anInt4149++; - int i_4_ = -49 / ((i - 44) / 40); - if (anInt4148 > 0 && (aClass356_4146.aClass348Array4374[-1 + anInt4148] != aClass348_4150)) { - Class348 class348 = aClass348_4150; - aClass348_4150 = class348.aClass348_4294; - return class348; - } - while (aClass356_4146.anInt4377 > anInt4148) { - Class348 class348 = (aClass356_4146.aClass348Array4374[anInt4148++].aClass348_4294); - if (aClass356_4146.aClass348Array4374[anInt4148 + -1] != class348) { - aClass348_4150 = class348.aClass348_4294; - return class348; - } - } - return null; - } - - public Class333() { - /* empty */ - } - - Class333(Class356 class356) { - aClass356_4146 = class356; - } -} diff --git a/client/src/Class334.java b/client/src/Class334.java deleted file mode 100644 index 0e2b48ce0..000000000 --- a/client/src/Class334.java +++ /dev/null @@ -1,117 +0,0 @@ -/* Class334 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class334 { - int anInt4151; - static int[] anIntArray4152 = {4, 2, 1, 1, 2, 2, 3, 1, 3, 3, 3, 2, 0}; - static int anInt4153; - int anInt4154; - static int anInt4155 = -1; - int anInt4156; - static int anInt4157; - int anInt4158; - static int anInt4159; - static int anInt4160; - static int anInt4161; - int anInt4162 = 128; - static int anInt4163; - static int anInt4164; - int anInt4165 = 128; - - static final boolean method2647(boolean bool, char c) { - anInt4161++; - if (bool != true) method2653(true, 83); - return c >= '0' && c <= '9'; - } - - final void method2648(Class334 class334_0_, byte i) { - this.anInt4158 = class334_0_.anInt4158; - this.anInt4151 = class334_0_.anInt4151; - if (i != 118) method2647(true, '\uffe5'); - anInt4159++; - this.anInt4156 = class334_0_.anInt4156; - this.anInt4165 = class334_0_.anInt4165; - this.anInt4154 = class334_0_.anInt4154; - this.anInt4162 = class334_0_.anInt4162; - } - - final Class334 method2649(int i) { - if (i != 2) method2648(null, (byte) -10); - anInt4163++; - return new Class334(this.anInt4156, this.anInt4165, this.anInt4162, this.anInt4158, this.anInt4154, this.anInt4151); - } - - static final void method2650(Class143 class143, int i, aa var_aa, int i_1_, int i_2_, String string, int i_3_, Class324 class324, int i_4_, Class46 class46, int i_5_, int i_6_) { - try { - anInt4153++; - int i_7_; - if (Class348_Sub40_Sub21.anInt9282 == 4) i_7_ = (int) Class314.aFloat3938 & 0x3fff; - else i_7_ = 0x3fff & r_Sub2.anInt10483 + (int) Class314.aFloat3938; - int i_8_ = (Math.max(class46.anInt709 / 2, class46.anInt789 / 2) + 10); - int i_9_ = i_5_ * i_5_ - -(i_1_ * i_1_); - if (i_9_ <= i_8_ * i_8_) { - int i_10_ = Class70.anIntArray1207[i_7_]; - int i_11_ = Class70.anIntArray1204[i_7_]; - if (Class348_Sub40_Sub21.anInt9282 != 4) { - i_11_ = 256 * i_11_ / (Class348_Sub49_Sub1.anInt9750 + 256); - i_10_ = 256 * i_10_ / (256 + Class348_Sub49_Sub1.anInt9750); - } - int i_12_ = i_10_ * i_1_ + i_5_ * i_11_ >> 14; - int i_13_ = -(i_5_ * i_10_) + i_11_ * i_1_ >> 14; - int i_14_ = class143.method1187(string, false, 100, null); - int i_15_ = class143.method1185(null, 0, 0, i_6_, string); - i_12_ -= i_14_ / 2; - if (-class46.anInt709 <= i_12_ && class46.anInt709 >= i_12_ && (i_13_ >= -class46.anInt789) && class46.anInt789 >= i_13_) - class324.method2584(null, 0, 0, null, i, 0, 50, var_aa, (-i_4_ + (i_3_ + (class46.anInt789 / 2 + (-i_13_ - i_15_)))), i_2_, i_3_, i_14_, (class46.anInt709 / 2 + (i_2_ + i_12_)), false, 1, string); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("dk.H(" + (class143 != null ? "{...}" : "null") + ',' + i + ',' + (var_aa != null ? "{...}" : "null") + ',' + i_1_ + ',' + i_2_ + ',' + (string != null ? "{...}" : "null") + ',' + i_3_ + ',' + (class324 != null ? "{...}" : "null") + ',' + i_4_ + ',' + (class46 != null ? "{...}" : "null") + ',' + i_5_ + ',' + i_6_ + ')')); - } - } - - static final String method2651(String string, int i) { - if (i != 3) method2650(null, -94, null, 2, -110, null, -7, null, -71, null, -47, 104); - anInt4160++; - if (!Class348_Sub24.aString6877.startsWith("win")) { - if (Class348_Sub24.aString6877.startsWith("linux")) return "lib" + string + ".so"; - if (Class348_Sub24.aString6877.startsWith("mac")) return "lib" + string + ".dylib"; - } else return string + ".dll"; - return null; - } - - static final int method2652(int i, int i_16_, int i_17_, int i_18_) { - anInt4157++; - if (i == i_16_) return i; - int i_19_ = 128 + -i_18_; - if (i_17_ != 1) return -53; - int i_20_ = (0x7f & i_16_) * i_18_ + i_19_ * (i & 0x7f) >> 7; - int i_21_ = (0x380 & i_16_) * i_18_ + (i & 0x380) * i_19_ >> 7; - int i_22_ = (0xfc00 & i_16_) * i_18_ + i_19_ * (i & 0xfc00) >> 7; - return i_22_ & 0xfc00 | 0x380 & i_21_ | i_20_ & 0x7f; - } - - static final boolean method2653(boolean bool, int i) { - if (bool != true) anIntArray4152 = null; - anInt4164++; - return i == 10 || i == 11 || i == 12; - } - - public static void method2654(int i) { - if (i != -6896) anInt4155 = -7; - anIntArray4152 = null; - } - - Class334(int i) { - this.anInt4156 = i; - } - - private Class334(int i, int i_23_, int i_24_, int i_25_, int i_26_, int i_27_) { - this.anInt4156 = i; - this.anInt4165 = i_23_; - this.anInt4154 = i_26_; - this.anInt4158 = i_25_; - this.anInt4162 = i_24_; - this.anInt4151 = i_27_; - } -} diff --git a/client/src/Class335.java b/client/src/Class335.java deleted file mode 100644 index 13bb458fc..000000000 --- a/client/src/Class335.java +++ /dev/null @@ -1,104 +0,0 @@ -/* Class335 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class335 { - static int anInt4166; - static int anInt4167 = 0; - static int anInt4168 = 0; - static int anInt4169; - - static final void method2655(int i, int i_0_, int i_1_, int i_2_, int i_3_) { - anInt4166++; - for (Class348_Sub9 class348_sub9 = (Class348_Sub9) Class218.aClass262_2859.method1995(4); class348_sub9 != null; class348_sub9 = ((Class348_Sub9) Class218.aClass262_2859.method1990((byte) 97))) - Class238_Sub1.method1708(i_1_, i_3_, i_0_, i_2_, (byte) -78, class348_sub9); - for (Class348_Sub9 class348_sub9 = (Class348_Sub9) client.aClass262_5185.method1995(4); class348_sub9 != null; class348_sub9 = ((Class348_Sub9) client.aClass262_5185.method1990((byte) 85))) { - int i_4_ = 1; - Class225 class225 = class348_sub9.aNpc_6691.method2422((byte) 72); - if (class348_sub9.aNpc_6691.anInt10268 == -1 || class348_sub9.aNpc_6691.aBoolean10213) i_4_ = 0; - else if ((class225.anInt2919 == class348_sub9.aNpc_6691.anInt10268) || (class225.anInt2920 == class348_sub9.aNpc_6691.anInt10268) || (class225.anInt2949 == class348_sub9.aNpc_6691.anInt10268) || (class348_sub9.aNpc_6691.anInt10268 == class225.anInt2914)) - i_4_ = 2; - else if ((class348_sub9.aNpc_6691.anInt10268 == class225.anInt2940) || (class225.anInt2924 == class348_sub9.aNpc_6691.anInt10268) || (class225.anInt2947 == class348_sub9.aNpc_6691.anInt10268) || (class348_sub9.aNpc_6691.anInt10268 == class225.anInt2958)) - i_4_ = 3; - if (class348_sub9.anInt6675 != i_4_) { - int i_5_ = Class8.method214((class348_sub9.aNpc_6691), -1); - Class79 class79 = (class348_sub9.aNpc_6691.aClass79_10505); - if (class79.anIntArray1377 != null) class79 = class79.method794((Class318_Sub1_Sub3_Sub3.aClass170_10209), -1); - if (class79 == null || i_5_ == -1) { - class348_sub9.anInt6675 = i_4_; - class348_sub9.aBoolean6674 = false; - class348_sub9.anInt6685 = -1; - } else if ((class348_sub9.anInt6685 == i_5_) && (!class79.aBoolean1370 != class348_sub9.aBoolean6674)) { - class348_sub9.anInt6677 = class79.anInt1356; - class348_sub9.anInt6675 = i_4_; - } else { - boolean bool = false; - if ((class348_sub9.aClass348_Sub16_Sub5_6676) == null) bool = true; - else { - class348_sub9.anInt6677 -= 512; - if (class348_sub9.anInt6677 <= 0) { - Class348_Sub43.aClass348_Sub16_Sub4_7065.method2880(class348_sub9.aClass348_Sub16_Sub5_6676); - bool = true; - class348_sub9.aClass348_Sub16_Sub5_6676 = null; - } - } - if (bool) { - class348_sub9.aBoolean6674 = class79.aBoolean1370; - class348_sub9.anInt6685 = i_5_; - class348_sub9.aClass348_Sub19_Sub1_6686 = null; - class348_sub9.aClass348_Sub10_6688 = null; - class348_sub9.anInt6675 = i_4_; - class348_sub9.anInt6677 = class79.anInt1356; - } - } - } - class348_sub9.anInt6678 = (class348_sub9.aNpc_6691.x); - class348_sub9.anInt6698 = ((class348_sub9.aNpc_6691.x) - -(class348_sub9.aNpc_6691.method2436((byte) 55) << 8)); - class348_sub9.anInt6689 = (class348_sub9.aNpc_6691.y); - class348_sub9.anInt6687 = ((class348_sub9.aNpc_6691.y) + (class348_sub9.aNpc_6691.method2436((byte) 92) << 8)); - Class238_Sub1.method1708(i_1_, i_3_, i_0_, i_2_, (byte) -78, class348_sub9); - } - Class348_Sub9 class348_sub9 = ((Class348_Sub9) Class348_Sub42_Sub16_Sub2.aClass356_10465.method3484(0)); - int i_6_ = -122 / (-i / 47); - for (/**/; class348_sub9 != null; class348_sub9 = ((Class348_Sub9) Class348_Sub42_Sub16_Sub2.aClass356_10465.method3482(0))) { - int i_7_ = 1; - Class225 class225 = class348_sub9.aPlayer_6679.method2422((byte) 72); - if (class348_sub9.aPlayer_6679.anInt10268 != -1 && !class348_sub9.aPlayer_6679.aBoolean10213) { - if ((class348_sub9.aPlayer_6679.anInt10268 != class225.anInt2919) && (class225.anInt2920 != class348_sub9.aPlayer_6679.anInt10268) && (class225.anInt2949 != class348_sub9.aPlayer_6679.anInt10268) && (class348_sub9.aPlayer_6679.anInt10268 != class225.anInt2914)) { - if ((class348_sub9.aPlayer_6679.anInt10268 == class225.anInt2940) || (class225.anInt2924 == class348_sub9.aPlayer_6679.anInt10268) || ((class348_sub9.aPlayer_6679.anInt10268) == class225.anInt2947) || (class225.anInt2958 == class348_sub9.aPlayer_6679.anInt10268)) - i_7_ = 3; - } else i_7_ = 2; - } else i_7_ = 0; - if (class348_sub9.anInt6675 != i_7_) { - int i_8_ = (Class315.method2357(-1, (class348_sub9.aPlayer_6679))); - if (i_8_ == class348_sub9.anInt6685 && (class348_sub9.aPlayer_6679.aBoolean10517 == class348_sub9.aBoolean6674)) { - class348_sub9.anInt6677 = class348_sub9.aPlayer_6679.anInt10558; - class348_sub9.anInt6675 = i_7_; - } else { - boolean bool = false; - if ((class348_sub9.aClass348_Sub16_Sub5_6676) != null) { - class348_sub9.anInt6677 -= 512; - if (class348_sub9.anInt6677 <= 0) { - Class348_Sub43.aClass348_Sub16_Sub4_7065.method2880(class348_sub9.aClass348_Sub16_Sub5_6676); - class348_sub9.aClass348_Sub16_Sub5_6676 = null; - bool = true; - } - } else bool = true; - if (bool) { - class348_sub9.aBoolean6674 = (class348_sub9.aPlayer_6679.aBoolean10517); - class348_sub9.anInt6677 = (class348_sub9.aPlayer_6679.anInt10558); - class348_sub9.aClass348_Sub10_6688 = null; - class348_sub9.anInt6685 = i_8_; - class348_sub9.aClass348_Sub19_Sub1_6686 = null; - class348_sub9.anInt6675 = i_7_; - } - } - } - class348_sub9.anInt6678 = (class348_sub9.aPlayer_6679.x); - class348_sub9.anInt6698 = ((class348_sub9.aPlayer_6679.x) + (class348_sub9.aPlayer_6679.method2436((byte) 123) << 8)); - class348_sub9.anInt6689 = (class348_sub9.aPlayer_6679.y); - class348_sub9.anInt6687 = ((class348_sub9.aPlayer_6679.y) - -(class348_sub9.aPlayer_6679.method2436((byte) 126) << 8)); - Class238_Sub1.method1708(i_1_, i_3_, i_0_, i_2_, (byte) -78, class348_sub9); - } - } -} diff --git a/client/src/Class336.java b/client/src/Class336.java deleted file mode 100644 index 79addd862..000000000 --- a/client/src/Class336.java +++ /dev/null @@ -1,24 +0,0 @@ -/* Class336 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class336 { - static int anInt4170; - static int anInt4171; - static short[] aShortArray4172 = new short[256]; - - static final void method2656(int i, int i_0_, byte i_1_, int i_2_, int i_3_) { - anInt4170++; - if (i_1_ < 66) method2656(119, -53, (byte) -62, 54, -62); - if (i_0_ >= Class369.anInt4960 && Class113.anInt1745 >= i_0_) { - i = Class85.method831(Class38.anInt513, i, Class132.anInt1910, -123); - i_3_ = Class85.method831(Class38.anInt513, i_3_, Class132.anInt1910, 123); - Class332.method2641(i_3_, i, -76, i_0_, i_2_); - } - } - - public static void method2657(byte i) { - aShortArray4172 = null; - if (i < 118) aShortArray4172 = null; - } -} diff --git a/client/src/Class337.java b/client/src/Class337.java deleted file mode 100644 index 37a6def12..000000000 --- a/client/src/Class337.java +++ /dev/null @@ -1,49 +0,0 @@ -/* Class337 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class337 { - private final ha_Sub2 aHa_Sub2_4173; - static float[][] aFloatArrayArray4174 = {{-0.333333F, -0.333333F, -0.333333F}, {0.333333F, -0.333333F, -0.333333F}, {-0.333333F, 0.333333F, -0.333333F}, {0.333333F, 0.333333F, -0.333333F}, {-0.333333F, -0.333333F, 0.333333F}, {0.333333F, -0.333333F, 0.333333F}, {-0.333333F, 0.333333F, 0.333333F}, {0.333333F, 0.333333F, 0.333333F}}; - static int anInt4175; - static int anInt4176; - static Object anObject4177; - long aLong4178; - static int anInt4179 = -1; - static int anInt4180; - - public static void method2658(boolean bool) { - aFloatArrayArray4174 = null; - anObject4177 = null; - if (bool != true) aFloatArrayArray4174 = null; - } - - protected final void finalize() throws Throwable { - aHa_Sub2_4173.method3769(this.aLong4178, false); - anInt4175++; - super.finalize(); - } - - Class337(ha_Sub2 var_ha_Sub2, long l, Class242[] class242s) { - try { - aHa_Sub2_4173 = var_ha_Sub2; - this.aLong4178 = l; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("dw.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + l + ',' + (class242s != null ? "{...}" : "null") + ')')); - } - } - - static final boolean method2659(byte i, int i_0_, int i_1_) { - int i_2_ = 24 % ((i - 76) / 42); - anInt4176++; - return (0x70000 & i_0_) != 0 | Class348.method2709(i_1_, i_0_, -1) || Class288.method2187(i_0_, -84, i_1_); - } - - static final Class288_Sub1 method2660(byte i, Class348_Sub49 class348_sub49) { - anInt4180++; - if (i != 26) return null; - Class288 class288 = Class288_Sub1.method2189(class348_sub49, i + 59); - int i_3_ = class348_sub49.method3369((byte) 125); - return new Class288_Sub1(class288.anInt4958, class288.aClass221_4955, class288.aClass341_4952, class288.anInt4950, class288.anInt4951, i_3_); - } -} diff --git a/client/src/Class338.java b/client/src/Class338.java deleted file mode 100644 index aa68b13b5..000000000 --- a/client/src/Class338.java +++ /dev/null @@ -1,98 +0,0 @@ -/* Class338 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class338 { - byte aByte4181; - short aShort4182; - short[] aShortArray4183; - int[] anIntArray4184 = new int[4]; - short aShort4185; - static int anInt4186; - int[] anIntArray4187; - short[] aShortArray4188; - static int anInt4189; - short aShort4190; - int[] anIntArray4191 = new int[4]; - byte aByte4192; - short aShort4193; - short[] aShortArray4194; - static int anInt4195; - static int[] anIntArray4196 = new int[5]; - static Class237_Sub1 aClass237_Sub1_4197; - - static final Class348_Sub41 method2661(int i, int i_0_, int i_1_, boolean bool, int i_2_) { - if (i_2_ != 2) method2661(31, -43, 32, true, -110); - anInt4189++; - Class348_Sub41 class348_sub41 = new Class348_Sub41(); - class348_sub41.anInt7050 = i; - class348_sub41.anInt7053 = i_1_; - Class125.aClass356_4915.method3483((byte) 109, i_0_, class348_sub41); - Class348_Sub7.method2772(i, (byte) 110); - Class46 class46 = Class324.method2570(i_2_ + 1512932718, i_0_); - if (class46 != null) Class251.method1916(-9343, class46); - if (Class49.aClass46_4730 != null) { - Class251.method1916(-9343, Class49.aClass46_4730); - Class49.aClass46_4730 = null; - } - Class348_Sub42_Sub17.method3270((byte) 120); - if (class46 != null) Class251.method1913(!bool, i_2_ + -104, class46); - if (!bool) Class66.method703(i); - if (!bool && r.anInt9721 != -1) Class239_Sub12.method1775((byte) -8, r.anInt9721, 1); - return class348_sub41; - } - - public static void method2662(int i) { - aClass237_Sub1_4197 = null; - anIntArray4196 = null; - if (i != 4) method2663(91, -57, -85, 14, 6); - } - - static final void method2663(int i, int i_3_, int i_4_, int i_5_, int i_6_) { - anInt4195++; - if (Class348_Sub49.anInt7207 == 1) { - int i_7_ = i_3_ / Class58.anInt1067; - int i_8_ = i_4_ / Class58.anInt1067; - int i_9_ = i_5_ / Class344.anInt4267; - int i_10_ = i_6_ / Class344.anInt4267; - if (i_7_ < Class31.anInt425 && i_8_ >= 0 && Class250.anInt3225 > i_9_ && i_10_ >= 0 && i == -5590) { - if (i_8_ >= Class31.anInt425) i_8_ = -1 + Class31.anInt425; - if (i_9_ < 0) i_9_ = 0; - if (i_10_ >= Class250.anInt3225) i_10_ = Class250.anInt3225 + -1; - if (i_7_ < 0) i_7_ = 0; - for (int i_11_ = i_9_; i_11_ <= i_10_; i_11_++) { - int i_12_ = (Class350.method3452(i_11_ + Class286.anInt3682, (byte) -15, Class250.anInt3225) * Class31.anInt425); - for (int i_13_ = i_7_; i_8_ >= i_13_; i_13_++) { - int i_14_ = (i_12_ + Class350.method3452((Class239_Sub24.anInt6095 + i_13_), (byte) -15, Class31.anInt425)); - Class132.anIntArray1909[i_14_] = Class318_Sub1_Sub1_Sub2.anInt9997; - } - } - } - } - } - - Class338(int i, int i_15_, int i_16_, int i_17_, int i_18_, int i_19_, int i_20_, int i_21_, int i_22_, int i_23_, int i_24_, int i_25_, int i_26_, int i_27_) { - this.aByte4192 = (byte) i; - this.aByte4181 = (byte) i_15_; - this.anIntArray4187 = new int[4]; - this.anIntArray4187[0] = i_16_; - this.anIntArray4187[1] = i_17_; - this.anIntArray4187[3] = i_19_; - this.anIntArray4187[2] = i_18_; - this.anIntArray4191[0] = i_20_; - this.anIntArray4191[2] = i_22_; - this.anIntArray4191[3] = i_23_; - this.anIntArray4191[1] = i_21_; - this.anIntArray4184[1] = i_25_; - this.aShort4185 = (short) (i_16_ >> Class362.anInt4459); - this.anIntArray4184[3] = i_27_; - this.anIntArray4184[0] = i_24_; - this.anIntArray4184[2] = i_26_; - this.aShort4182 = (short) (i_18_ >> Class362.anInt4459); - this.aShort4193 = (short) (i_24_ >> Class362.anInt4459); - this.aShort4190 = (short) (i_26_ >> Class362.anInt4459); - this.aShortArray4188 = new short[4]; - this.aShortArray4183 = new short[4]; - this.aShortArray4194 = new short[4]; - } -} diff --git a/client/src/Class339.java b/client/src/Class339.java deleted file mode 100644 index fae488294..000000000 --- a/client/src/Class339.java +++ /dev/null @@ -1,172 +0,0 @@ -/* Class339 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.BufferedReader; -import java.io.DataInputStream; -import java.io.InputStreamReader; -import java.net.URL; - -final class Class339 implements Runnable { - static int anInt4198; - static int anInt4199; - static int anInt4200; - private Class144 aClass144_4201; - static int anInt4202 = -1; - static int anInt4203; - private Class295[] aClass295Array4204; - private volatile boolean aBoolean4205; - private Thread aThread4206; - static Class351 aClass351_4207 = new Class351(29, 3); - static int anInt4208; - static int anInt4209; - static int anInt4210; - static int anInt4211; - - public static void method2664(int i) { - if (i == 3) aClass351_4207 = null; - } - - public final void run() { - anInt4203++; - try { - BufferedReader bufferedreader = new BufferedReader(new InputStreamReader((DataInputStream) (aClass144_4201.anObject1998))); - String string = bufferedreader.readLine(); - Class179 class179 = Class43.method381((byte) 68); - for (/**/; string != null; string = bufferedreader.readLine()) - class179.method1364(-1, string); - String[] strings = class179.method1361(63); - if (strings.length % 3 != 0) return; - aClass295Array4204 = new Class295[strings.length / 3]; - for (int i = 0; i < strings.length; i += 3) - aClass295Array4204[i / 3] = new Class295(strings[i], strings[i + 1], strings[2 + i]); - } catch (java.io.IOException ioexception) { - /* empty */ - } - aBoolean4205 = true; - } - - static final void method2665(int i, byte i_0_, int i_1_, int i_2_, int i_3_, int i_4_) { - anInt4200++; - int i_5_ = i_4_ - i; - int i_6_ = -i_2_ + i_3_; - if (i_5_ == 0) { - if (i_6_ != 0) Class336.method2656(i_2_, i, (byte) 124, i_1_, i_3_); - return; - } else if (i_6_ == 0) { - Class5_Sub2.method196(true, i_4_, i_1_, i, i_2_); - return; - } - int i_7_ = (i_6_ << 12) / i_5_; - int i_8_ = -(i_7_ * i >> 12) + i_2_; - int i_9_; - int i_10_; - if (i < Class369.anInt4960) { - i_9_ = (i_7_ * Class369.anInt4960 >> 12) + i_8_; - i_10_ = Class369.anInt4960; - } else if (i > Class113.anInt1745) { - i_9_ = i_8_ - -(Class113.anInt1745 * i_7_ >> 12); - i_10_ = Class113.anInt1745; - } else { - i_10_ = i; - i_9_ = i_2_; - } - if (i_0_ < 56) anInt4202 = -57; - int i_11_; - int i_12_; - if (Class369.anInt4960 <= i_4_) { - if (Class113.anInt1745 >= i_4_) { - i_11_ = i_4_; - i_12_ = i_3_; - } else { - i_11_ = Class113.anInt1745; - i_12_ = i_8_ + (Class113.anInt1745 * i_7_ >> 12); - } - } else { - i_11_ = Class369.anInt4960; - i_12_ = (i_7_ * Class369.anInt4960 >> 12) + i_8_; - } - if (i_12_ < Class132.anInt1910) { - i_11_ = (Class132.anInt1910 + -i_8_ << 12) / i_7_; - i_12_ = Class132.anInt1910; - } else if (Class38.anInt513 < i_12_) { - i_11_ = (Class38.anInt513 - i_8_ << 12) / i_7_; - i_12_ = Class38.anInt513; - } - if (Class132.anInt1910 <= i_9_) { - if (Class38.anInt513 < i_9_) { - i_10_ = (Class38.anInt513 - i_8_ << 12) / i_7_; - i_9_ = Class38.anInt513; - } - } else { - i_10_ = (-i_8_ + Class132.anInt1910 << 12) / i_7_; - i_9_ = Class132.anInt1910; - } - Class239_Sub15.method1783(i_10_, -1, i_9_, i_12_, i_11_, i_1_); - } - - static final void method2666(int i, int i_13_, Class46 class46, byte i_14_) { - anInt4199++; - if (class46 != null) { - if (class46.anObjectArray714 != null) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); - class348_sub36.anObjectArray6987 = class46.anObjectArray714; - class348_sub36.aClass46_6989 = class46; - Class66.method705(class348_sub36); - } - Class362.anInt4458 = class46.anInt695; - Class246.anInt3176 = i; - Class38.anInt500 = i_13_; - Class301.anInt3829 = class46.anInt812; - r.aBoolean9722 = true; - Class9.anInt169 = class46.anInt704; - Class348_Sub49_Sub1.anInt9747 = class46.anInt824; - if (i_14_ != 21) method2665(-99, (byte) -106, 10, -37, 26, -123); - Class149.anInt2046 = class46.anInt830; - Class251.method1916(-9343, class46); - } - } - - final Class295 method2667(boolean bool, int i) { - anInt4210++; - if (bool != false) return null; - if (aClass295Array4204 == null || i < 0 || i >= aClass295Array4204.length) return null; - return aClass295Array4204[i]; - } - - public Class339() { - /* empty */ - } - - final boolean method2668(int i) { - anInt4208++; - if (aBoolean4205) return true; - if (aClass144_4201 == null) { - try { - int i_15_ = (Class8.aClass364_165 == Class55_Sub1.aClass364_5271 ? 80 : 7000 - -(Class135_Sub2.aClass161_4839.anInt2143)); - aClass144_4201 = (Class348_Sub23_Sub1.aClass297_8992.method2237(new URL("http://" + (Class135_Sub2.aClass161_4839.aString2147) + ":" + i_15_ + "/news.ws?game=" + Class348_Sub42_Sub8_Sub2.aClass230_10434.anInt2987), 8362)); - } catch (java.net.MalformedURLException malformedurlexception) { - return true; - } - } - if (aClass144_4201 == null || aClass144_4201.anInt1997 == 2) return true; - if (i != -21913) return false; - if (aClass144_4201.anInt1997 != 1) return false; - if (aThread4206 == null) { - aThread4206 = new Thread(this); - aThread4206.start(); - } - return aBoolean4205; - } - - static final void method2669(Object[] objects, long[] ls, int i) { - try { - if (i < -5) { - anInt4209++; - Class353.method3461(0, objects, -1 + ls.length, ls, 9455); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("eaa.E(" + (objects != null ? "{...}" : "null") + ',' + (ls != null ? "{...}" : "null") + ',' + i + ')')); - } - } -} diff --git a/client/src/Class34.java b/client/src/Class34.java deleted file mode 100644 index a17d55d76..000000000 --- a/client/src/Class34.java +++ /dev/null @@ -1,227 +0,0 @@ -/* Class34 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; - -final class Class34 { - static int anInt462; - static Class60 aClass60_463 = new Class60(8); - private final int[] anIntArray464 = {-1, -1, -1, -1, -1}; - private short[] aShortArray465; - static int anInt466; - static int anInt467; - static int anInt468; - static int anInt469; - static int anInt470; - static int anInt471; - private int[] anIntArray472; - static int anInt473; - private short[] aShortArray474; - Class150 aClass150_475; - static Frame aFrame476; - private short[] aShortArray477; - static int anInt478; - static int anInt479; - private short[] aShortArray480; - static int anInt481; - static long aLong482 = -1L; - - final Class124 method341(int i) { - anInt468++; - if (anIntArray472 == null) return null; - Class124[] class124s = new Class124[anIntArray472.length]; - synchronized (this.aClass150_475.aClass45_2054) { - for (int i_0_ = 0; i_0_ < anIntArray472.length; i_0_++) - class124s[i_0_] = Class300.method2277(0, (this.aClass150_475.aClass45_2054), anIntArray472[i_0_], -1); - } - for (int i_1_ = 0; anIntArray472.length > i_1_; i_1_++) { - if (class124s[i_1_].anInt1830 < 13) class124s[i_1_].method1092(2, 113); - } - Class124 class124; - if (class124s.length != 1) class124 = new Class124(class124s, class124s.length); - else class124 = class124s[0]; - if (class124 == null) return null; - if (i < 53) method341(-22); - if (aShortArray474 != null) { - for (int i_2_ = 0; i_2_ < aShortArray474.length; i_2_++) - class124.method1098(aShortArray474[i_2_], (byte) 126, aShortArray480[i_2_]); - } - if (aShortArray465 != null) { - for (int i_3_ = 0; i_3_ < aShortArray465.length; i_3_++) - class124.method1095(aShortArray465[i_3_], 0, aShortArray477[i_3_]); - } - return class124; - } - - final boolean method342(byte i) { - anInt470++; - boolean bool = true; - synchronized (this.aClass150_475.aClass45_2054) { - for (int i_4_ = 0; i_4_ < 5; i_4_++) { - if (anIntArray464[i_4_] != -1 && !this.aClass150_475.aClass45_2054.method420(-10499, anIntArray464[i_4_], 0)) bool = false; - } - if (i <= 87) method351(96); - } - return bool; - } - - final Class124 method343(byte i) { - anInt471++; - Class124[] class124s = new Class124[5]; - int i_5_ = 0; - synchronized (this.aClass150_475.aClass45_2054) { - for (int i_6_ = 0; i_6_ < 5; i_6_++) { - if (anIntArray464[i_6_] != -1) class124s[i_5_++] = Class300.method2277(0, (this.aClass150_475.aClass45_2054), anIntArray464[i_6_], -1); - } - } - for (int i_7_ = 0; i_7_ < 5; i_7_++) { - if (class124s[i_7_] != null && class124s[i_7_].anInt1830 < 13) class124s[i_7_].method1092(2, 99); - } - if (i > -27) return null; - Class124 class124 = new Class124(class124s, i_5_); - if (aShortArray474 != null) { - for (int i_8_ = 0; aShortArray474.length > i_8_; i_8_++) - class124.method1098(aShortArray474[i_8_], (byte) 126, aShortArray480[i_8_]); - } - if (aShortArray465 != null) { - for (int i_9_ = 0; aShortArray465.length > i_9_; i_9_++) - class124.method1095(aShortArray465[i_9_], 0, aShortArray477[i_9_]); - } - return class124; - } - - private final void method344(int i, Class348_Sub49 class348_sub49, byte i_10_) { - if (i != 1) { - if (i == 2) { - int i_11_ = class348_sub49.readUnsignedByte(i_10_ + 320); - anIntArray472 = new int[i_11_]; - for (int i_12_ = 0; i_12_ < i_11_; i_12_++) - anIntArray472[i_12_] = class348_sub49.readUnsignedShort(842397944); - } else if (i != 3) { - if (i == 40) { - int i_13_ = class348_sub49.readUnsignedByte(i_10_ ^ ~0xbf); - aShortArray480 = new short[i_13_]; - aShortArray474 = new short[i_13_]; - for (int i_14_ = 0; i_14_ < i_13_; i_14_++) { - aShortArray474[i_14_] = (short) class348_sub49.readUnsignedShort(842397944); - aShortArray480[i_14_] = (short) class348_sub49.readUnsignedShort(842397944); - } - } else if (i == 41) { - int i_15_ = class348_sub49.readUnsignedByte(255); - aShortArray465 = new short[i_15_]; - aShortArray477 = new short[i_15_]; - for (int i_16_ = 0; i_15_ > i_16_; i_16_++) { - aShortArray465[i_16_] = (short) class348_sub49.readUnsignedShort(i_10_ + 842398009); - aShortArray477[i_16_] = (short) class348_sub49.readUnsignedShort(842397944); - } - } else if (i >= 60 && i < 70) anIntArray464[i + -60] = class348_sub49.readUnsignedShort(842397944); - } - } else class348_sub49.readUnsignedByte(i_10_ + 320); - anInt479++; - if (i_10_ != -65) aLong482 = -90L; - } - - static final void method345(int i, byte i_17_) { - anInt469++; - if (Class348_Sub43.anInt7068 == 0) Class98.aClass348_Sub16_Sub3_1564.method2861(0, i); - else Class58.anInt1059 = i; - if (i_17_ > -26) method349(-111); - } - - final void method346(int i, Class348_Sub49 class348_sub49) { - anInt467++; - for (; ; ) { - int i_18_ = class348_sub49.readUnsignedByte(255); - if (i_18_ == 0) break; - method344(i_18_, class348_sub49, (byte) -65); - } - int i_19_ = -5 / ((73 - i) / 49); - } - - static final void method347(int[] is, int[] is_20_, int i, int i_21_, int i_22_) { - do { - try { - anInt473++; - if (i_21_ != -22222) aClass60_463 = null; - if (i >= i_22_) break; - int i_23_ = (i - -i_22_) / 2; - int i_24_ = i; - int i_25_ = is[i_23_]; - is[i_23_] = is[i_22_]; - is[i_22_] = i_25_; - int i_26_ = is_20_[i_23_]; - is_20_[i_23_] = is_20_[i_22_]; - is_20_[i_22_] = i_26_; - int i_27_ = i_25_ == 2147483647 ? 0 : 1; - for (int i_28_ = i; i_28_ < i_22_; i_28_++) { - if (is[i_28_] < (i_28_ & i_27_) + i_25_) { - int i_29_ = is[i_28_]; - is[i_28_] = is[i_24_]; - is[i_24_] = i_29_; - int i_30_ = is_20_[i_28_]; - is_20_[i_28_] = is_20_[i_24_]; - is_20_[i_24_++] = i_30_; - } - } - is[i_22_] = is[i_24_]; - is[i_24_] = i_25_; - is_20_[i_22_] = is_20_[i_24_]; - is_20_[i_24_] = i_26_; - method347(is, is_20_, i, -22222, -1 + i_24_); - method347(is, is_20_, i_24_ - -1, i_21_, i_22_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ic.K(" + (is != null ? "{...}" : "null") + ',' + (is_20_ != null ? "{...}" : "null") + ',' + i + ',' + i_21_ + ',' + i_22_ + ')')); - } - break; - } while (false); - } - - final boolean method348(byte i) { - anInt478++; - if (i != 34) method348((byte) -15); - if (anIntArray472 == null) return true; - boolean bool = true; - synchronized (this.aClass150_475.aClass45_2054) { - for (int i_31_ = 0; anIntArray472.length > i_31_; i_31_++) { - if (!this.aClass150_475.aClass45_2054.method420(-10499, anIntArray472[i_31_], 0)) bool = false; - } - } - return bool; - } - - static final void method349(int i) { - anInt462++; - int i_32_ = Class328_Sub1.anInt6513; - int[] is = Class286_Sub7.anIntArray6290; - for (int i_33_ = 0; i_33_ < i_32_; i_33_++) { - Player player = Class294.aPlayerArray5058[is[i_33_]]; - if (player != null) Class322.method2556(false, player.method2436((byte) 60), player); - } - if (i != 4740) method347(null, null, 79, -21, 64); - } - - static final void method350(int i, int i_34_, int i_35_, int i_36_, int i_37_) { - anInt466++; - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i_36_, (byte) 105, 10); - class348_sub42_sub15.method3246(-25490); - class348_sub42_sub15.anInt9651 = i_34_; - int i_38_ = 112 % ((i_35_ - 76) / 44); - class348_sub42_sub15.anInt9650 = i_37_; - class348_sub42_sub15.anInt9652 = i; - } - - public Class34() { - /* empty */ - } - - public static void method351(int i) { - aClass60_463 = null; - int i_39_ = 90 / ((i - 19) / 43); - aFrame476 = null; - } - - static { - anInt481 = -1; - } -} diff --git a/client/src/Class340.java b/client/src/Class340.java deleted file mode 100644 index df3896b55..000000000 --- a/client/src/Class340.java +++ /dev/null @@ -1,134 +0,0 @@ -/* Class340 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.math.BigInteger; - -final class Class340 { - private final Class248 aClass248_4212; - private final BigInteger aBigInteger4213; - static int anInt4214; - private Class348_Sub49 aClass348_Sub49_4215; - private Class314_Sub1[] aClass314_Sub1Array4216; - private Class112 aClass112_4217; - private final BigInteger aBigInteger4218; - static int anInt4219; - private Class348_Sub42_Sub16_Sub1 aClass348_Sub42_Sub16_Sub1_4220; - static int anInt4221; - static int anInt4222; - static Class351 aClass351_4223 = new Class351(4, 0); - static int anInt4224; - static Class351 aClass351_4225 = new Class351(43, -1); - - final void method2670(int i) { - anInt4222++; - if (aClass314_Sub1Array4216 != null) { - for (int i_0_ = 0; (i_0_ < aClass314_Sub1Array4216.length); i_0_++) { - if (aClass314_Sub1Array4216[i_0_] != null) aClass314_Sub1Array4216[i_0_].method2342(0); - } - for (int i_1_ = i; i_1_ < aClass314_Sub1Array4216.length; i_1_++) { - if (aClass314_Sub1Array4216[i_1_] != null) aClass314_Sub1Array4216[i_1_].method2343(-1); - } - } - } - - public static void method2671(int i) { - aClass351_4225 = null; - aClass351_4223 = null; - if (i != 0) method2672(92, 5); - } - - static final boolean method2672(int i, int i_2_) { - anInt4224++; - if (i_2_ >= -89) return true; - return i == 7 || i == 8 || i == 9; - } - - final Class314_Sub1 method2673(Class137 class137, int i, Class137 class137_3_, int i_4_) { - try { - anInt4219++; - if (i_4_ != 255) method2671(-43); - return method2675((byte) -123, true, i, class137, class137_3_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("eb.D(" + (class137 != null ? "{...}" : "null") + ',' + i + ',' + (class137_3_ != null ? "{...}" : "null") + ',' + i_4_ + ')')); - } - } - - final boolean method2674(int i) { - anInt4214++; - if (aClass348_Sub49_4215 != null) { - return true; - } - if (aClass348_Sub42_Sub16_Sub1_4220 == null) { - if (aClass248_4212.method1900(-71)) { - return false; - } - aClass348_Sub42_Sub16_Sub1_4220 = aClass248_4212.method1906((byte) -84, (byte) 0, true, 255, 255); - } - if (aClass348_Sub42_Sub16_Sub1_4220.aBoolean9664) { - return false; - } - Class348_Sub49 class348_sub49 = new Class348_Sub49(aClass348_Sub42_Sub16_Sub1_4220.method3259(i ^ 0x17)); - class348_sub49.anInt7197 = 5; - int idxCount = class348_sub49.readUnsignedByte(i ^ 0xf8); - class348_sub49.anInt7197 += idxCount * 72; - byte[] is = new byte[(class348_sub49.aByteArray7154.length - class348_sub49.anInt7197)]; - class348_sub49.method3389(2147483647, 0, is.length, is); - byte[] is_6_; - if (aBigInteger4213 != null && aBigInteger4218 != null) { - BigInteger biginteger = new BigInteger(is); - BigInteger biginteger_7_ = biginteger.modPow(aBigInteger4213, aBigInteger4218); - is_6_ = biginteger_7_.toByteArray(); - } else { - is_6_ = is; - } - if (is_6_.length != 65) { - throw new RuntimeException(); - } - byte[] is_8_ = Class348_Sub1_Sub2.method2730(4567, 5, (class348_sub49.aByteArray7154), (class348_sub49.anInt7197) - (is.length + 5)); - for (int i_9_ = 0; i_9_ < 64; i_9_++) { - if (is_8_[i_9_] != is_6_[i_9_ + 1]) { - throw new RuntimeException(); - } - } - aClass348_Sub49_4215 = class348_sub49; - aClass314_Sub1Array4216 = new Class314_Sub1[idxCount]; - return true; - } - - private final Class314_Sub1 method2675(byte i, boolean bool, int i_10_, Class137 class137, Class137 class137_11_) { - try { - anInt4221++; - if (aClass348_Sub49_4215 == null) throw new RuntimeException(); - if (i_10_ < 0 || i_10_ >= aClass314_Sub1Array4216.length) throw new RuntimeException(); - if (aClass314_Sub1Array4216[i_10_] != null) return aClass314_Sub1Array4216[i_10_]; - aClass348_Sub49_4215.anInt7197 = 6 + i_10_ * 72; - int i_12_ = aClass348_Sub49_4215.readInt((byte) -126); - int i_13_ = aClass348_Sub49_4215.readInt((byte) -126); - byte[] is = new byte[64]; - aClass348_Sub49_4215.method3389(2147483647, 0, 64, is); - if (i >= -18) method2671(103); - Class314_Sub1 class314_sub1 = new Class314_Sub1(i_10_, class137, class137_11_, aClass248_4212, aClass112_4217, i_12_, is, i_13_, bool); - aClass314_Sub1Array4216[i_10_] = class314_sub1; - return class314_sub1; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("eb.E(" + i + ',' + bool + ',' + i_10_ + ',' + (class137 != null ? "{...}" : "null") + ',' + (class137_11_ != null ? "{...}" : "null") + ')')); - } - } - - Class340(Class248 class248, Class112 class112, BigInteger biginteger, BigInteger biginteger_14_) { - do { - try { - aClass112_4217 = class112; - aBigInteger4218 = biginteger_14_; - aBigInteger4213 = biginteger; - aClass248_4212 = class248; - if (aClass248_4212.method1900(-31)) break; - aClass348_Sub42_Sub16_Sub1_4220 = aClass248_4212.method1906((byte) -80, (byte) 0, true, 255, 255); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("eb.(" + (class248 != null ? "{...}" : "null") + ',' + (class112 != null ? "{...}" : "null") + ',' + (biginteger != null ? "{...}" : "null") + ',' + (biginteger_14_ != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } -} diff --git a/client/src/Class341.java b/client/src/Class341.java deleted file mode 100644 index baf634a60..000000000 --- a/client/src/Class341.java +++ /dev/null @@ -1,132 +0,0 @@ -/* Class341 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class341 { - static Class348_Sub24 aClass348_Sub24_4226 = new Class348_Sub24(0, 0); - static int anInt4227; - static int anInt4228; - static int anInt4229; - static int anInt4230; - static int anInt4231; - static int anInt4232; - static int[][] anIntArrayArray4233 = new int[6][]; - static Class105[] aClass105Array4234; - static int anInt4235; - static Class124[] aClass124Array4236 = new Class124[4]; - static int anInt4237; - - static final void method2676(int i, int i_0_, int i_1_, byte i_2_, int i_3_) { - anInt4231++; - float f = (float) Class75.anInt1267 / (float) Class75.anInt1259; - int i_4_ = i; - int i_5_ = i_0_; - if (f < 1.0F) i_5_ = (int) (f * (float) i); - else i_4_ = (int) ((float) i_0_ / f); - i_1_ -= (i + -i_4_) / 2; - i_3_ -= (i_0_ + -i_5_) / 2; - Class48.anInt859 = -1; - Class245.anInt3170 = -(Class75.anInt1267 * i_3_ / i_5_) + Class75.anInt1267; - Class348_Sub36.anInt6992 = Class75.anInt1259 * i_1_ / i_4_; - Class244.anInt4609 = -1; - int i_6_ = 50 / ((-12 - i_2_) / 40); - Class348_Sub15.method2811(false); - } - - public final String toString() { - anInt4227++; - throw new IllegalStateException(); - } - - public static void method2677(int i) { - anIntArrayArray4233 = null; - aClass348_Sub24_4226 = null; - if (i >= 93) { - aClass105Array4234 = null; - aClass124Array4236 = null; - } - } - - public Class341() { - /* empty */ - } - - static final void method2678(int i) { - if (i != -2049) anIntArrayArray4233 = null; - anInt4229++; - if (r.aBoolean9722) { - Class46 class46 = Class348_Sub22.method2957(Class9.anInt169, (byte) -54, Class149.anInt2046); - if (class46 != null && class46.anObjectArray680 != null) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); - class348_sub36.aClass46_6989 = class46; - class348_sub36.anObjectArray6987 = class46.anObjectArray680; - Class66.method705(class348_sub36); - } - Class301.anInt3829 = -1; - r.aBoolean9722 = false; - Class362.anInt4458 = -1; - if (class46 != null) Class251.method1916(-9343, class46); - } - } - - final int method2679(int i, int i_7_, int i_8_) { - anInt4232++; - if (i_8_ != 1595) return 38; - int i_9_ = (Math.max(Class348_Sub42_Sub8_Sub2.anInt10432, i)); - if (Class186_Sub1.aClass341_5808 == this) return 0; - if (this == Class237_Sub1.aClass341_5821) return i_9_ - i_7_; - if (Class27.aClass341_399 == this) return (i_9_ - i_7_) / 2; - return 0; - } - - static final String method2680(String string, boolean bool, String string_10_, String string_11_) { - anInt4237++; - for (int i = string_11_.indexOf(string_10_); i != -1; i = string_11_.indexOf(string_10_, string.length() + i)) - string_11_ = (string_11_.substring(0, i) + string + string_11_.substring(string_10_.length() + i)); - if (bool != true) method2678(45); - return string_11_; - } - - static final void method2681(int i) { - if (i == 9864) { - anInt4230++; - if (Class348_Sub8.aHa6654 != null) { - if (Class59_Sub1.aBoolean5300) Class187.method1406(true); - Class71.aClass76_1208.method775((byte) 69); - Class318_Sub1_Sub3_Sub3.method2433(); - Class50_Sub2.method464(i + -9865); - Class274.method2061(-127); - Class363.method3513(-113); - Class239_Sub14.method1779((byte) 124); - if (Class259.aClass305_3304 != null) Class259.aClass305_3304.method2295((byte) 96); - Class299_Sub2.method2269(true); - Class348_Sub18.method2938((byte) 127); - Class40.method369(-29776); - Class376.method3616(12639); - Class348_Sub42_Sub3.method3177(-78, false); - for (int i_12_ = 0; i_12_ < 2048; i_12_++) { - Player player = (Class294.aPlayerArray5058[i_12_]); - if (player != null) { - for (int i_13_ = 0; ((player.aClass64Array10323).length > i_13_); i_13_++) - player.aClass64Array10323[i_13_] = null; - } - } - for (int i_14_ = 0; i_14_ < Class348_Sub32.anInt6930; i_14_++) { - Npc npc = (Class348_Sub40_Sub23.aClass348_Sub22Array9319[i_14_].aNpc_6859); - if (npc != null) { - for (int i_15_ = 0; i_15_ < (npc.aClass64Array10323).length; i_15_++) - npc.aClass64Array10323[i_15_] = null; - } - } - Class50_Sub1.aClass101_5209 = null; - Class157.aClass101_2123 = null; - Class348_Sub8.aHa6654.method3635((byte) 64); - Class348_Sub8.aHa6654 = null; - } - } - } - - static { - anInt4235 = 0; - } -} diff --git a/client/src/Class342.java b/client/src/Class342.java deleted file mode 100644 index 3862cd75d..000000000 --- a/client/src/Class342.java +++ /dev/null @@ -1,121 +0,0 @@ -/* Class342 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; - -final class Class342 { - int anInt4238; - int anInt4239; - int anInt4240; - static int anInt4241; - static int anInt4242; - static int anInt4243; - int anInt4244; - int anInt4245; - static Class364 aClass364_4246 = new Class364("WTI", 5); - static Class70 aClass70_4247; - Class342 aClass342_4248; - static Image anImage4249; - static int[] anIntArray4250 = new int[64]; - static int anInt4251; - Class101 aClass101_4252; - static int[][] anIntArrayArray4253; - static Class60 aClass60_4254; - - public static void method2682(int i) { - aClass364_4246 = null; - anIntArrayArray4253 = null; - if (i > 5) { - aClass70_4247 = null; - anIntArray4250 = null; - aClass60_4254 = null; - anImage4249 = null; - } - } - - static final void method2683(Class323 class323, Class348_Sub21 class348_sub21, int i, int i_0_, int i_1_, ha var_ha, int i_2_, int i_3_, Class42 class42) { - try { - if (i_0_ == 64) { - anInt4242++; - int i_4_ = -5 + i - i_3_ / 2; - int i_5_ = i_2_ - -2; - if (class42.anInt602 != 0) var_ha.method3675(i_3_ + 10, (byte) -125, i_4_, i_5_, (i_2_ - -(class323.method2565() * i_1_) - (i_5_ - 1)), class42.anInt602); - if (class42.anInt604 != 0) var_ha.method3668(i_3_ + 10, i_5_, class42.anInt604, i_4_, (i_1_ * class323.method2565() + i_2_ - (i_5_ + -1)), 92); - int i_6_ = class42.anInt580; - if (class348_sub21.aBoolean6848 && class42.anInt567 != -1) i_6_ = class42.anInt567; - for (int i_7_ = 0; i_1_ > i_7_; i_7_++) { - String string = ha_Sub3.aStringArray8019[i_7_]; - if (-1 + i_1_ > i_7_) string = string.substring(0, -4 + string.length()); - class323.method2563(var_ha, string, i, i_2_, i_6_, true); - i_2_ += class323.method2565(); - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("eca.A(" + (class323 != null ? "{...}" : "null") + ',' + (class348_sub21 != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + i_1_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_2_ + ',' + i_3_ + ',' + (class42 != null ? "{...}" : "null") + ')')); - } - } - - static final float method2684(int i, float f) { - if (i != 6) aClass70_4247 = null; - anInt4251++; - return (f * (6.0F * f - 15.0F) + 10.0F) * (f * (f * f)); - } - - final Class174 method2685(byte i) { - if (i != -13) method2683(null, null, -120, 35, -33, null, 90, 71, null); - anInt4243++; - return Class256.method1943(false, this.anInt4245); - } - - static final void method2686() { - for (int i = Canvas_Sub1.anInt67; i < Class189.anInt2524; i++) { - for (int i_8_ = 0; i_8_ < Class318_Sub7.anInt6451; i_8_++) { - for (int i_9_ = 0; i_9_ < Class348_Sub41.anInt7054; i_9_++) { - Class357 class357 = Class147.aClass357ArrayArrayArray2029[i][i_8_][i_9_]; - if (class357 != null) { - Class318_Sub1_Sub4 class318_sub1_sub4 = class357.aClass318_Sub1_Sub4_4406; - Class318_Sub1_Sub4 class318_sub1_sub4_10_ = class357.aClass318_Sub1_Sub4_4403; - if (class318_sub1_sub4 != null && class318_sub1_sub4.method2388(-121)) { - Class318_Sub9_Sub2.method2519(class318_sub1_sub4, i, i_8_, i_9_, 1, 1); - if (class318_sub1_sub4_10_ != null && class318_sub1_sub4_10_.method2388(-125)) { - Class318_Sub9_Sub2.method2519(class318_sub1_sub4_10_, i, i_8_, i_9_, 1, 1); - class318_sub1_sub4_10_.method2380(Class9.aHa171, 0, false, class318_sub1_sub4, 0, (byte) -110, 0); - class318_sub1_sub4_10_.method2392(true); - } - class318_sub1_sub4.method2392(true); - } - for (Class148 class148 = class357.aClass148_4396; class148 != null; class148 = class148.aClass148_2038) { - Class318_Sub1_Sub3 class318_sub1_sub3 = (class148.aClass318_Sub1_Sub3_2040); - if (class318_sub1_sub3 != null && class318_sub1_sub3.method2388(-71)) { - Class318_Sub9_Sub2.method2519(class318_sub1_sub3, i, i_8_, i_9_, (class318_sub1_sub3.aShort8751 - class318_sub1_sub3.aShort8743 + 1), (class318_sub1_sub3.aShort8747 - class318_sub1_sub3.aShort8750 + 1)); - class318_sub1_sub3.method2392(true); - } - } - Class318_Sub1_Sub1 class318_sub1_sub1 = class357.aClass318_Sub1_Sub1_4402; - if (class318_sub1_sub1 != null && class318_sub1_sub1.method2388(-85)) { - Class262.method1992(class318_sub1_sub1, i, i_8_, i_9_); - class318_sub1_sub1.method2392(true); - } - } - } - } - } - } - - final Class342 method2687(byte i, int i_11_) { - anInt4241++; - if (i < 61) return null; - return new Class342(this.anInt4245, i_11_); - } - - Class342(int i, int i_12_) { - this.anInt4245 = i; - this.anInt4244 = i_12_; - } - - static { - aClass70_4247 = new Class70(); - aClass60_4254 = new Class60(32); - } -} diff --git a/client/src/Class343.java b/client/src/Class343.java deleted file mode 100644 index bd1f0650a..000000000 --- a/client/src/Class343.java +++ /dev/null @@ -1,79 +0,0 @@ -/* Class343 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class343 { - private final int anInt4255; - private final int anInt4256; - private final int anInt4257 = Class348_Sub10.method2789(16); - private final int anInt4258 = Class348_Sub10.method2789(24); - private final int anInt4259 = Class348_Sub10.method2789(24); - private final int[] anIntArray4260; - private final int anInt4261; - - final void method2688(float[] fs, int i, boolean bool) { - for (int i_0_ = 0; i_0_ < i; i_0_++) - fs[i_0_] = 0.0F; - if (!bool) { - int i_1_ = (Class348_Sub10.aClass370Array6718[anInt4261].anInt4514); - int i_2_ = anInt4259 - anInt4258; - int i_3_ = i_2_ / anInt4256; - int[] is = new int[i_3_]; - for (int i_4_ = 0; i_4_ < 8; i_4_++) { - int i_5_ = 0; - while (i_5_ < i_3_) { - if (i_4_ == 0) { - int i_6_ = Class348_Sub10.aClass370Array6718[anInt4261].method3581(); - for (int i_7_ = i_1_ - 1; i_7_ >= 0; i_7_--) { - if (i_5_ + i_7_ < i_3_) is[i_5_ + i_7_] = i_6_ % anInt4255; - i_6_ /= anInt4255; - } - } - for (int i_8_ = 0; i_8_ < i_1_; i_8_++) { - int i_9_ = is[i_5_]; - int i_10_ = anIntArray4260[i_9_ * 8 + i_4_]; - if (i_10_ >= 0) { - int i_11_ = anInt4258 + i_5_ * anInt4256; - Class370 class370 = Class348_Sub10.aClass370Array6718[i_10_]; - if (anInt4257 == 0) { - int i_12_ = (anInt4256 / class370.anInt4514); - for (int i_13_ = 0; i_13_ < i_12_; i_13_++) { - float[] fs_14_ = class370.method3582(); - for (int i_15_ = 0; (i_15_ < class370.anInt4514); i_15_++) - fs[i_11_ + i_13_ + i_15_ * i_12_] += fs_14_[i_15_]; - } - } else { - int i_16_ = 0; - while (i_16_ < anInt4256) { - float[] fs_17_ = class370.method3582(); - for (int i_18_ = 0; (i_18_ < class370.anInt4514); i_18_++) { - fs[i_11_ + i_16_] += fs_17_[i_18_]; - i_16_++; - } - } - } - } - if (++i_5_ >= i_3_) break; - } - } - } - } - } - - Class343() { - anInt4256 = Class348_Sub10.method2789(24) + 1; - anInt4255 = Class348_Sub10.method2789(6) + 1; - anInt4261 = Class348_Sub10.method2789(8); - int[] is = new int[anInt4255]; - for (int i = 0; i < anInt4255; i++) { - int i_19_ = 0; - int i_20_ = Class348_Sub10.method2789(3); - boolean bool = Class348_Sub10.method2788() != 0; - if (bool) i_19_ = Class348_Sub10.method2789(5); - is[i] = i_19_ << 3 | i_20_; - } - anIntArray4260 = new int[anInt4255 * 8]; - for (int i = 0; i < anInt4255 * 8; i++) - anIntArray4260[i] = ((is[i >> 3] & 1 << (i & 0x7)) != 0 ? Class348_Sub10.method2789(8) : -1); - } -} diff --git a/client/src/Class344.java b/client/src/Class344.java deleted file mode 100644 index c8c7e7dd1..000000000 --- a/client/src/Class344.java +++ /dev/null @@ -1,25 +0,0 @@ -/* Class344 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class344 { - static Class351 aClass351_4262 = new Class351(34, 15); - static int anInt4263 = 2; - static Class351 aClass351_4264 = new Class351(40, 12); - static int anInt4265 = 0; - static Class351 aClass351_4266 = new Class351(72, 16); - static int anInt4267; - - abstract byte[] method2689(int i, int i_0_, int i_1_); - - public static void method2690(int i) { - aClass351_4266 = null; - aClass351_4264 = null; - aClass351_4262 = null; - int i_2_ = -29 / ((i - -54) / 45); - } - - abstract void method2691(byte i, byte[] is); - - abstract byte[] method2692(int i); -} diff --git a/client/src/Class344_Sub1.java b/client/src/Class344_Sub1.java deleted file mode 100644 index f24f46a74..000000000 --- a/client/src/Class344_Sub1.java +++ /dev/null @@ -1,32 +0,0 @@ -/* Class344_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.nio.ByteBuffer; - -final class Class344_Sub1 extends Class344 { - private ByteBuffer aByteBuffer6524; - - final byte[] method2689(int i, int i_0_, int i_1_) { - byte[] is = new byte[i_0_]; - aByteBuffer6524.position(i_1_); - aByteBuffer6524.get(is, 0, i_0_); - if (i != 2) aByteBuffer6524 = null; - return is; - } - - final byte[] method2692(int i) { - byte[] is = new byte[aByteBuffer6524.capacity()]; - if (i != -3672) method2692(78); - aByteBuffer6524.position(0); - aByteBuffer6524.get(is); - return is; - } - - final void method2691(byte i, byte[] is) { - aByteBuffer6524 = ByteBuffer.allocateDirect(is.length); - aByteBuffer6524.position(0); - if (i != 62) method2692(73); - aByteBuffer6524.put(is); - } -} diff --git a/client/src/Class345.java b/client/src/Class345.java deleted file mode 100644 index 437c3e584..000000000 --- a/client/src/Class345.java +++ /dev/null @@ -1,22 +0,0 @@ -/* Class345 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class345 { - static float aFloat4268; - static Class114 aClass114_4269 = new Class114(87, 1); - static int anInt4270 = -1; - static int[] anIntArray4271; - static Class114 aClass114_4272 = new Class114(67, 3); - static Class60 aClass60_4273 = new Class60(128, 4); - - public static void method2693(int i) { - if (i != 3) aClass114_4269 = null; - aClass114_4272 = null; - anIntArray4271 = null; - aClass114_4269 = null; - aClass60_4273 = null; - } - - abstract Class348_Sub42_Sub9 method2694(int i, Class348_Sub42_Sub9 class348_sub42_sub9); -} diff --git a/client/src/Class345_Sub1.java b/client/src/Class345_Sub1.java deleted file mode 100644 index d2ad29355..000000000 --- a/client/src/Class345_Sub1.java +++ /dev/null @@ -1,10 +0,0 @@ -/* Class345_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class345_Sub1 extends Class345 { - final Class348_Sub42_Sub9 method2694(int i, Class348_Sub42_Sub9 class348_sub42_sub9) { - if (i != -1) return null; - return (new Class348_Sub42_Sub9_Sub2((class348_sub42_sub9.anInterface14_9559), class348_sub42_sub9.method3205(i + 65537), class348_sub42_sub9.anInt9556)); - } -} diff --git a/client/src/Class346.java b/client/src/Class346.java deleted file mode 100644 index 0d2ca33fd..000000000 --- a/client/src/Class346.java +++ /dev/null @@ -1,36 +0,0 @@ -/* Class346 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class346 { - static int anInt4274; - static boolean aBoolean4275; - static int anInt4276; - static int anInt4277; - - abstract void method2695(int i); - - abstract boolean method2696(int i, int i_0_); - - public Class346() { - /* empty */ - } - - abstract Interface6 method2697(int i); - - abstract void method2698(int i); - - static final short[][] method2699(int i, short[][] is, float[][] fs) { - try { - if (i != 16383) return null; - for (int i_1_ = 0; fs.length > i_1_; i_1_++) { - for (int i_2_ = 0; i_2_ < is[i_1_].length; i_2_++) - is[i_1_][i_2_] = (short) (int) (16383.0F * fs[i_1_][i_2_]); - } - anInt4277++; - return is; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("efa.L(" + i + ',' + (is != null ? "{...}" : "null") + ',' + (fs != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class346_Sub1.java b/client/src/Class346_Sub1.java deleted file mode 100644 index 20ec969d0..000000000 --- a/client/src/Class346_Sub1.java +++ /dev/null @@ -1,207 +0,0 @@ -/* Class346_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; -import java.awt.event.FocusEvent; -import java.awt.event.FocusListener; -import java.awt.event.KeyEvent; -import java.awt.event.KeyListener; -import java.lang.reflect.Method; - -final class Class346_Sub1 extends Class346 implements KeyListener, FocusListener { - static int anInt6525; - static int anInt6526; - static int anInt6527; - static Class114 aClass114_6528 = new Class114(14, 2); - static int anInt6529; - static int anInt6530; - static int anInt6531; - static int anInt6532; - static int anInt6533; - static int anInt6534; - static int anInt6535; - static int anInt6536; - static int anInt6537; - static int anInt6538; - static int anInt6539; - static int anInt6540; - private final Class262 aClass262_6541 = new Class262(); - private Class262 aClass262_6542 = new Class262(); - private boolean[] aBooleanArray6543 = new boolean[112]; - private Component aComponent6544; - - final Interface6 method2697(int i) { - if (i != 0) aBooleanArray6543 = null; - anInt6525++; - return (Interface6) aClass262_6541.method1997(8); - } - - final boolean method2696(int i, int i_0_) { - if (i_0_ >= -120) method2700((byte) 119); - anInt6539++; - if (i < 0 || i >= 112) return false; - return aBooleanArray6543[i]; - } - - private final void method2700(byte i) { - if (i == -104) { - anInt6533++; - if (aComponent6544 != null) { - aComponent6544.removeKeyListener(this); - aComponent6544.removeFocusListener(this); - aComponent6544 = null; - for (int i_1_ = 0; i_1_ < 112; i_1_++) - aBooleanArray6543[i_1_] = false; - aClass262_6541.method1996(116); - aClass262_6542.method1996(i ^ ~0x1b); - } - } - } - - public final synchronized void keyPressed(KeyEvent keyevent) { - anInt6526++; - method2701(keyevent, 0, 0); - } - - private final void method2701(KeyEvent keyevent, int i, int i_2_) { - anInt6538++; - int i_3_ = keyevent.getKeyCode(); - if (i_3_ != 0) { - if (i_3_ >= 0 && Class285_Sub2.anIntArray8507.length > i_3_) { - i_3_ = Class285_Sub2.anIntArray8507[i_3_]; - if (i_2_ == 0 && (i_3_ & 0x80) != 0) i_3_ = 0; - else i_3_ &= ~0x80; - } else i_3_ = 0; - } else i_3_ = 0; - if (i != i_3_) { - method2702(i_3_, 128, '\0', i_2_); - keyevent.consume(); - } - } - - final void method2698(int i) { - anInt6530++; - method2700((byte) -104); - if (i != 14174) aClass262_6542 = null; - } - - private final void method2702(int i, int i_4_, char c, int i_5_) { - anInt6532++; - Class348_Sub11 class348_sub11 = new Class348_Sub11(); - class348_sub11.anInt4771 = i_5_; - class348_sub11.anInt4767 = i; - class348_sub11.aChar4761 = c; - class348_sub11.aLong4764 = Class62.method599(-102); - aClass262_6542.method1999(class348_sub11, -20180); - if (i_4_ != 128) aComponent6544 = null; - } - - public final synchronized void keyReleased(KeyEvent keyevent) { - anInt6529++; - method2701(keyevent, 0, 1); - } - - public final synchronized void keyTyped(KeyEvent keyevent) { - anInt6527++; - char c = keyevent.getKeyChar(); - if (c != 0 && Class122.method1089(-125, c)) { - method2702(-1, 128, c, 3); - keyevent.consume(); - } - } - - public final void focusGained(FocusEvent focusevent) { - anInt6540++; - } - - static final void method2703(int i, int i_6_, int i_7_, byte i_8_) { - anInt6536++; - Class190 class190 = Class262.aClass190ArrayArray3335[i_6_][i_7_]; - if (i_8_ == -13) Class161.method1260(false, i, (class190 == null ? Class274.aClass190_3547 : class190)); - } - - private final int method2704(byte i) { - anInt6531++; - int i_9_ = 0; - if (aBooleanArray6543[81]) i_9_ |= 0x1; - if (i != 127) return 25; - if (aBooleanArray6543[82]) i_9_ |= 0x4; - if (aBooleanArray6543[86]) i_9_ |= 0x2; - return i_9_; - } - - final synchronized void method2695(int i) { - anInt6534++; - aClass262_6541.method1996(110); - if (i >= 51) { - for (Class348_Sub11 class348_sub11 = (Class348_Sub11) aClass262_6542.method1997(8); class348_sub11 != null; class348_sub11 = (Class348_Sub11) aClass262_6542.method1997(8)) { - class348_sub11.anInt4766 = method2704((byte) 127); - if (class348_sub11.anInt4771 == 0) { - if (!aBooleanArray6543[class348_sub11.anInt4767]) { - Class348_Sub11 class348_sub11_10_ = new Class348_Sub11(); - class348_sub11_10_.anInt4767 = class348_sub11.anInt4767; - class348_sub11_10_.anInt4771 = 0; - class348_sub11_10_.aChar4761 = '\0'; - class348_sub11_10_.anInt4766 = class348_sub11.anInt4766; - class348_sub11_10_.aLong4764 = class348_sub11.aLong4764; - aClass262_6541.method1999(class348_sub11_10_, -20180); - aBooleanArray6543[(class348_sub11.anInt4767)] = true; - } - class348_sub11.anInt4771 = 2; - aClass262_6541.method1999(class348_sub11, -20180); - } else if (class348_sub11.anInt4771 != 1) { - if (class348_sub11.anInt4771 == -1) { - for (int i_11_ = 0; i_11_ < 112; i_11_++) { - if (aBooleanArray6543[i_11_]) { - Class348_Sub11 class348_sub11_12_ = new Class348_Sub11(); - class348_sub11_12_.aChar4761 = '\0'; - class348_sub11_12_.anInt4767 = i_11_; - class348_sub11_12_.anInt4766 = (class348_sub11.anInt4766); - class348_sub11_12_.anInt4771 = 1; - class348_sub11_12_.aLong4764 = (class348_sub11.aLong4764); - aClass262_6541.method1999(class348_sub11_12_, -20180); - aBooleanArray6543[i_11_] = false; - } - } - } else if (class348_sub11.anInt4771 == 3) aClass262_6541.method1999(class348_sub11, -20180); - } else if (aBooleanArray6543[class348_sub11.anInt4767]) { - aClass262_6541.method1999(class348_sub11, -20180); - aBooleanArray6543[(class348_sub11.anInt4767)] = false; - } - } - } - } - - public final synchronized void focusLost(FocusEvent focusevent) { - anInt6537++; - method2702(0, 128, '\0', -1); - } - - public static void method2705(int i) { - aClass114_6528 = null; - if (i != 14645) method2705(1); - } - - private final void method2706(Component component, int i) { - method2700((byte) -104); - if (i != 2) method2705(-19); - anInt6535++; - aComponent6544 = component; - Method method = Class297.aMethod3783; - if (method != null) { - try { - method.invoke(aComponent6544, Boolean.FALSE); - } catch (Throwable throwable) { - /* empty */ - } - } - aComponent6544.addKeyListener(this); - aComponent6544.addFocusListener(this); - } - - Class346_Sub1(Component component) { - Class348_Sub49_Sub1.method3402((byte) -82); - method2706(component, 2); - } -} diff --git a/client/src/Class347.java b/client/src/Class347.java deleted file mode 100644 index 31bbf2c46..000000000 --- a/client/src/Class347.java +++ /dev/null @@ -1,81 +0,0 @@ -/* Class347 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class347 { - static boolean aBoolean4278 = true; - int anInt4279; - static int anInt4280; - static byte[][] aByteArrayArray4281; - int anInt4282; - int anInt4283; - static boolean aBoolean4284 = false; - - public Class347() { - /* empty */ - } - - public static void method2707(boolean bool) { - aByteArrayArray4281 = null; - if (bool != false) method2708(57); - } - - static final void method2708(int i) { - Class251.method1916(-9343, Class289.aClass46_3701); - anInt4280++; - Class318_Sub1.anInt6392++; - if (!Class50_Sub1.aBoolean5221 || !Class127_Sub1.aBoolean8386) { - if (Class318_Sub1.anInt6392 > 1) Class289.aClass46_3701 = null; - } else { - int i_0_ = 0; - int i_1_ = 0; - if (Class59_Sub1.aBoolean5300) { - i_0_ = s_Sub3.method4008((byte) -124); - i_1_ = Class16.method260(false); - } - int i_2_ = i_0_ + Class258_Sub4.aClass373_8552.method3597(true); - int i_3_ = i_1_ + Class258_Sub4.aClass373_8552.method3594((byte) 80); - i_3_ -= Class219.anInt2872; - i_2_ -= Class318_Sub4.anInt6411; - if (i_2_ < Class348_Sub40_Sub37.anInt9461) i_2_ = Class348_Sub40_Sub37.anInt9461; - if (i == -30206) { - if (i_2_ - -Class289.aClass46_3701.anInt709 > (Class348_Sub40_Sub37.anInt9461 - -Class331.aClass46_4130.anInt709)) i_2_ = (Class331.aClass46_4130.anInt709 + (Class348_Sub40_Sub37.anInt9461 + -Class289.aClass46_3701.anInt709)); - if (i_3_ < Class40.anInt558) i_3_ = Class40.anInt558; - if (Class289.aClass46_3701.anInt789 + i_3_ > (Class40.anInt558 - -Class331.aClass46_4130.anInt789)) i_3_ = (-Class289.aClass46_3701.anInt789 + (Class40.anInt558 - -Class331.aClass46_4130.anInt789)); - int i_4_ = (-Class348_Sub40_Sub37.anInt9461 + (i_2_ - -Class331.aClass46_4130.anInt747)); - int i_5_ = (-Class40.anInt558 + (i_3_ + Class331.aClass46_4130.anInt755)); - if (Class258_Sub4.aClass373_8552.method3593(94)) { - if (Class289.aClass46_3701.anInt703 < Class318_Sub1.anInt6392) { - int i_6_ = i_2_ + -ha_Sub3.anInt8001; - int i_7_ = -Class348_Sub40_Sub13.anInt9203 + i_3_; - if (Class289.aClass46_3701.anInt729 < i_6_ || (-Class289.aClass46_3701.anInt729 > i_6_) || (i_7_ > Class289.aClass46_3701.anInt729) || i_7_ < -Class289.aClass46_3701.anInt729) Class300.aBoolean3819 = true; - } - if ((Class289.aClass46_3701.anObjectArray823 != null) && Class300.aBoolean3819) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); - class348_sub36.aClass46_6989 = Class289.aClass46_3701; - class348_sub36.anInt6984 = i_4_; - class348_sub36.anObjectArray6987 = (Class289.aClass46_3701.anObjectArray823); - class348_sub36.anInt6995 = i_5_; - Class66.method705(class348_sub36); - } - } else { - if (Class300.aBoolean3819) { - Class341.method2678(-2049); - if (Class289.aClass46_3701.anObjectArray692 != null) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); - class348_sub36.aClass46_6983 = Class318_Sub1_Sub3_Sub4.aClass46_10336; - class348_sub36.anInt6984 = i_4_; - class348_sub36.anObjectArray6987 = (Class289.aClass46_3701.anObjectArray692); - class348_sub36.anInt6995 = i_5_; - class348_sub36.aClass46_6989 = Class289.aClass46_3701; - Class66.method705(class348_sub36); - } - if (Class318_Sub1_Sub3_Sub4.aClass46_10336 != null && (client.method108(Class289.aClass46_3701) != null)) Class2.method173(-67, Class289.aClass46_3701, (Class318_Sub1_Sub3_Sub4.aClass46_10336)); - } else if ((Class318_Sub1_Sub5.anInt8770 == 1 || Class318_Sub1_Sub5.method2485(-113)) && Class73.anInt4776 > 2) Class5_Sub2.method191(true, (ha_Sub3.anInt8001 + Class318_Sub4.anInt6411), (Class219.anInt2872 - -(Class348_Sub40_Sub13.anInt9203))); - else if (Class101_Sub1.method913((byte) 127)) Class5_Sub2.method191(true, (ha_Sub3.anInt8001 + Class318_Sub4.anInt6411), (Class219.anInt2872 + (Class348_Sub40_Sub13.anInt9203))); - Class289.aClass46_3701 = null; - } - } - } - } -} diff --git a/client/src/Class348.java b/client/src/Class348.java deleted file mode 100644 index 9387f7e21..000000000 --- a/client/src/Class348.java +++ /dev/null @@ -1,160 +0,0 @@ -/* Class348 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -class Class348 { - static int anInt4285; - static Class45 aClass45_4286; - static int anInt4287; - static int[] anIntArray4288; - static int anInt4289; - static int anInt4290; - long aLong4291; - static int anInt4292 = 0; - static Class318_Sub1[] aClass318_Sub1Array4293; - Class348 aClass348_4294; - Class348 aClass348_4295; - static int anInt4296; - static int anInt4297; - static int anInt4298; - - static final boolean method2709(int i, int i_0_, int i_1_) { - anInt4287++; - if (i_1_ != -1) method2711(-42, 89, null, -113, true, -22, -35, 27, -109, null, 74, -94, -119, null); - return (0x21 & i_0_) != 0; - } - - static final int method2710(int i, int i_2_) { - anInt4289++; - if (i_2_ < 96) return 0; - if (i >= -113) aClass318_Sub1Array4293 = null; - if (i_2_ < 128) return 2; - return 3; - } - - static final Class64 method2711(int i, int i_3_, Class64 class64, int i_4_, boolean bool, int i_5_, int i_6_, int i_7_, int i_8_, ha var_ha, int i_9_, int i_10_, int i_11_, Class17 class17) { - try { - anInt4298++; - if (class64 == null) return null; - int i_12_ = 2055; - if (bool != false) return null; - if (class17 != null) { - i_12_ |= class17.method263(-1, 103, i_5_, false); - i_12_ &= ~0x200; - } - long l = (((long) i_10_ << 48) + (long) (i_7_ + ((i_9_ << 16) + (i_11_ << 24))) - -((long) i_6_ << 32)); - Class64 class64_13_; - synchronized (Class342.aClass60_4254) { - class64_13_ = (Class64) Class342.aClass60_4254.method583(l, -64); - } - if (class64_13_ == null || (var_ha.method3667(class64_13_.ua(), i_12_) != 0)) { - if (class64_13_ != null) i_12_ = var_ha.method3679(i_12_, class64_13_.ua()); - int i_14_; - if (i_7_ != 1) { - if (i_7_ == 2) i_14_ = 12; - else if (i_7_ != 3) { - if (i_7_ == 4) i_14_ = 18; - else i_14_ = 21; - } else i_14_ = 15; - } else i_14_ = 9; - int i_15_ = 3; - int[] is = {64, 96, 128}; - Class124 class124 = new Class124(1 + i_14_ * i_15_, 2 * i_14_ * i_15_ + -i_14_, 0); - int i_16_ = class124.method1101(0, 0, 0, -44); - int[][] is_17_ = new int[i_15_][i_14_]; - for (int i_18_ = 0; i_18_ < i_15_; i_18_++) { - int i_19_ = is[i_18_]; - int i_20_ = is[i_18_]; - for (int i_21_ = 0; i_14_ > i_21_; i_21_++) { - int i_22_ = (i_21_ << 14) / i_14_; - int i_23_ = (Class70.anIntArray1207[i_22_] * i_19_ >> 14); - int i_24_ = (Class70.anIntArray1204[i_22_] * i_20_ >> 14); - is_17_[i_18_][i_21_] = class124.method1101(0, i_24_, i_23_, 123); - } - } - for (int i_25_ = 0; i_15_ > i_25_; i_25_++) { - int i_26_ = (i_25_ * 256 + 128) / i_15_; - int i_27_ = -i_26_ + 256; - byte i_28_ = (byte) (i_26_ * i_11_ + i_9_ * i_27_ >> 8); - short i_29_ = (short) (((0xfc0000 & ((i_10_ & 0xfc00) * i_26_ + i_27_ * (0xfc00 & i_6_))) + (((i_10_ & 0x380) * i_26_ + i_27_ * (0x380 & i_6_)) & 0x38000) + ((i_26_ * (i_10_ & 0x7f) + (0x7f & i_6_) * i_27_) & 0x7f00)) >> 8); - for (int i_30_ = 0; i_30_ < i_14_; i_30_++) { - if (i_25_ == 0) class124.method1102(i_16_, (byte) 1, (byte) -1, (short) -1, (byte) 45, i_29_, is_17_[0][(1 + i_30_) % i_14_], i_28_, is_17_[0][i_30_]); - else { - class124.method1102(is_17_[i_25_ - 1][i_30_], (byte) 1, (byte) -1, (short) -1, (byte) 48, i_29_, is_17_[i_25_ + -1][(1 + i_30_) % i_14_], i_28_, is_17_[i_25_][(1 + i_30_) % i_14_]); - class124.method1102(is_17_[-1 + i_25_][i_30_], (byte) 1, (byte) -1, (short) -1, (byte) 100, i_29_, (is_17_[i_25_][(1 + i_30_) % i_14_]), i_28_, is_17_[i_25_][i_30_]); - } - } - } - class64_13_ = var_ha.method3625(class124, i_12_, Class185.anInt2482, 64, 768); - synchronized (Class342.aClass60_4254) { - Class342.aClass60_4254.method582(class64_13_, l, (byte) -103); - } - } - int i_31_ = class64.V(); - int i_32_ = class64.RA(); - int i_33_ = class64.HA(); - int i_34_ = class64.G(); - Class348_Sub42_Sub17 class348_sub42_sub17 = null; - if (class17 != null) { - i_5_ = class17.anIntArray237[i_5_]; - class348_sub42_sub17 = Class10.aClass87_191.method839(i_5_ >> 16, 3); - i_5_ &= 0xffff; - } - if (class348_sub42_sub17 == null) { - class64_13_ = class64_13_.method614((byte) 3, i_12_, true); - class64_13_.O(-i_31_ + i_32_ >> 1, 128, -i_33_ + i_34_ >> 1); - class64_13_.H(i_32_ + i_31_ >> 1, 0, i_34_ + i_33_ >> 1); - } else { - class64_13_ = class64_13_.method614((byte) 3, i_12_, true); - class64_13_.O(-i_31_ + i_32_ >> 1, 128, i_34_ - i_33_ >> 1); - class64_13_.H(i_32_ + i_31_ >> 1, 0, i_34_ + i_33_ >> 1); - class64_13_.method611(i_5_, -8700, class348_sub42_sub17); - } - if (i != 0) class64_13_.FA(i); - if (i_4_ != 0) class64_13_.VA(i_4_); - if (i_8_ != 0) class64_13_.H(0, i_8_, 0); - return class64_13_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("eh.PC(" + i + ',' + i_3_ + ',' + (class64 != null ? "{...}" : "null") + ',' + i_4_ + ',' + bool + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_9_ + ',' + i_10_ + ',' + i_11_ + ',' + (class17 != null ? "{...}" : "null") + ')')); - } - } - - final boolean method2712(byte i) { - if (i != 4) return true; - anInt4297++; - return this.aClass348_4295 != null; - } - - public static void method2713(int i) { - aClass45_4286 = null; - aClass318_Sub1Array4293 = null; - if (i != 0) method2711(-47, 87, null, 85, false, -126, -116, -51, -44, null, 75, -69, 87, null); - anIntArray4288 = null; - } - - static final boolean method2714(int i, int i_35_) { - if (i != 7351) method2709(-15, 59, 58); - anInt4296++; - return i_35_ == 1 || i_35_ == 3 || i_35_ == 5; - } - - final void method2715(byte i) { - anInt4285++; - if (this.aClass348_4295 != null) { - this.aClass348_4295.aClass348_4294 = this.aClass348_4294; - this.aClass348_4294.aClass348_4295 = this.aClass348_4295; - if (i < 18) method2712((byte) 46); - this.aClass348_4294 = null; - this.aClass348_4295 = null; - } - } - - public Class348() { - /* empty */ - } - - static { - anIntArray4288 = new int[6]; - anInt4290 = 0; - } -} diff --git a/client/src/Class348_Sub1.java b/client/src/Class348_Sub1.java deleted file mode 100644 index fb2378ba2..000000000 --- a/client/src/Class348_Sub1.java +++ /dev/null @@ -1,90 +0,0 @@ -/* Class348_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class348_Sub1 extends Class348 { - private final int anInt6545; - static int anInt6546; - static int[] anIntArray6547 = null; - int anInt6548; - static int anInt6549; - float aFloat6550; - static int anInt6551; - static int anInt6552; - int anInt6553; - private final int anInt6554; - static int anInt6555; - static int anInt6556; - static int anInt6557; - static boolean aBoolean6558 = false; - static Class185 aClass185_6559; - static int anInt6560; - static Class46 aClass46_6561 = null; - int anInt6562; - static int anInt6563; - - abstract void method2716(int i, float f); - - final int method2717(byte i) { - if (i <= 69) method2719(74); - anInt6549++; - return this.anInt6553; - } - - static final void method2718(int i) { - if (i >= -95) method2719(90); - anInt6560++; - if (Class239_Sub13.anInt5976 != -1) { - Class24.method298(false, -1, -1, Class239_Sub13.anInt5976, -67); - Class239_Sub13.anInt5976 = -1; - } - } - - public static void method2719(int i) { - if (i != 11339) method2719(87); - aClass46_6561 = null; - anIntArray6547 = null; - aClass185_6559 = null; - } - - final int method2720(int i) { - if (i != -1) this.anInt6562 = -97; - anInt6552++; - return anInt6545; - } - - final float method2721(int i) { - if (i >= -7) return 0.08188432F; - anInt6557++; - return this.aFloat6550; - } - - final int method2722(int i) { - if (i <= 119) return -23; - anInt6556++; - return this.anInt6548; - } - - final int method2723(int i) { - if (i != -1) return -46; - anInt6546++; - return anInt6554; - } - - final int method2724(int i) { - if (i != -1) method2725(53, (byte) -84, -7, -12); - anInt6563++; - return this.anInt6562; - } - - abstract void method2725(int i, byte i_0_, int i_1_, int i_2_); - - Class348_Sub1(int i, int i_3_, int i_4_, int i_5_, int i_6_, float f) { - this.anInt6548 = i_3_; - this.anInt6553 = i_4_; - anInt6554 = i_5_; - this.aFloat6550 = f; - anInt6545 = i_6_; - this.anInt6562 = i; - } -} diff --git a/client/src/Class348_Sub10.java b/client/src/Class348_Sub10.java deleted file mode 100644 index 8c134787a..000000000 --- a/client/src/Class348_Sub10.java +++ /dev/null @@ -1,460 +0,0 @@ -/* Class348_Sub10 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub10 extends Class348 { - private static float[] aFloatArray6700; - private float[] aFloatArray6701; - private int anInt6702; - private byte[][] aByteArrayArray6703; - private static Class276[] aClass276Array6704; - private static int[] anIntArray6705; - private boolean aBoolean6706; - private static float[] aFloatArray6707; - private static float[] aFloatArray6708; - private static int[] anIntArray6709; - private static Class343[] aClass343Array6710; - private static int anInt6711; - private static float[] aFloatArray6712; - private static boolean[] aBooleanArray6713; - private static byte[] aByteArray6714; - private static Class210[] aClass210Array6715; - private int anInt6716; - private int anInt6717; - static Class370[] aClass370Array6718; - private static int[] anIntArray6719; - private static float[] aFloatArray6720; - private static int anInt6721; - private static float[] aFloatArray6722; - private int anInt6723; - private static boolean aBoolean6724 = false; - private static int anInt6725; - private static float[] aFloatArray6726; - private int anInt6727; - private boolean aBoolean6728; - private static int anInt6729; - private int anInt6730; - private byte[] aByteArray6731; - private int anInt6732; - private int anInt6733; - - private static final void method2784(byte[] is, int i) { - aByteArray6714 = is; - anInt6729 = i; - anInt6711 = 0; - } - - public static void method2785() { - aByteArray6714 = null; - aClass370Array6718 = null; - aClass210Array6715 = null; - aClass343Array6710 = null; - aClass276Array6704 = null; - aBooleanArray6713 = null; - anIntArray6709 = null; - aFloatArray6707 = null; - aFloatArray6722 = null; - aFloatArray6720 = null; - aFloatArray6708 = null; - aFloatArray6712 = null; - aFloatArray6726 = null; - aFloatArray6700 = null; - anIntArray6719 = null; - anIntArray6705 = null; - } - - static final float method2786(int i) { - int i_0_ = i & 0x1fffff; - int i_1_ = i & ~0x7fffffff; - int i_2_ = (i & 0x7fe00000) >> 21; - if (i_1_ != 0) i_0_ = -i_0_; - return (float) ((double) i_0_ * Math.pow(2.0, i_2_ - 788)); - } - - private final void method2787(byte[] is) { - Class348_Sub49 class348_sub49 = new Class348_Sub49(is); - anInt6702 = class348_sub49.readInt((byte) -126); - anInt6716 = class348_sub49.readInt((byte) -126); - anInt6723 = class348_sub49.readInt((byte) -126); - anInt6717 = class348_sub49.readInt((byte) -126); - if (anInt6717 < 0) { - anInt6717 = ~anInt6717; - aBoolean6728 = true; - } - int i = class348_sub49.readInt((byte) -126); - aByteArrayArray6703 = new byte[i][]; - for (int i_3_ = 0; i_3_ < i; i_3_++) { - int i_4_ = 0; - int i_5_; - do { - i_5_ = class348_sub49.readUnsignedByte(255); - i_4_ += i_5_; - } while (i_5_ >= 255); - byte[] is_6_ = new byte[i_4_]; - class348_sub49.method3389(2147483647, 0, i_4_, is_6_); - aByteArrayArray6703[i_3_] = is_6_; - } - } - - static final int method2788() { - int i = aByteArray6714[anInt6729] >> anInt6711 & 0x1; - anInt6711++; - anInt6729 += anInt6711 >> 3; - anInt6711 &= 0x7; - return i; - } - - static final int method2789(int i) { - int i_7_ = 0; - int i_8_ = 0; - int i_9_; - for (/**/; i >= 8 - anInt6711; i -= i_9_) { - i_9_ = 8 - anInt6711; - int i_10_ = (1 << i_9_) - 1; - i_7_ += (aByteArray6714[anInt6729] >> anInt6711 & i_10_) << i_8_; - anInt6711 = 0; - anInt6729++; - i_8_ += i_9_; - } - if (i > 0) { - i_9_ = (1 << i) - 1; - i_7_ += (aByteArray6714[anInt6729] >> anInt6711 & i_9_) << i_8_; - anInt6711 += i; - } - return i_7_; - } - - private static final void method2790(byte[] is) { - method2784(is, 0); - anInt6725 = 1 << method2789(4); - anInt6721 = 1 << method2789(4); - aFloatArray6707 = new float[anInt6721]; - for (int i = 0; i < 2; i++) { - int i_11_ = i != 0 ? anInt6721 : anInt6725; - int i_12_ = i_11_ >> 1; - int i_13_ = i_11_ >> 2; - int i_14_ = i_11_ >> 3; - float[] fs = new float[i_12_]; - for (int i_15_ = 0; i_15_ < i_13_; i_15_++) { - fs[2 * i_15_] = (float) Math.cos((double) (4 * i_15_) * 3.141592653589793 / (double) i_11_); - fs[2 * i_15_ + 1] = -(float) Math.sin((double) (4 * i_15_) * 3.141592653589793 / (double) i_11_); - } - float[] fs_16_ = new float[i_12_]; - for (int i_17_ = 0; i_17_ < i_13_; i_17_++) { - fs_16_[2 * i_17_] = (float) Math.cos((double) (2 * i_17_ + 1) * 3.141592653589793 / (double) (2 * i_11_)); - fs_16_[2 * i_17_ + 1] = (float) Math.sin((double) (2 * i_17_ + 1) * 3.141592653589793 / (double) (2 * i_11_)); - } - float[] fs_18_ = new float[i_13_]; - for (int i_19_ = 0; i_19_ < i_14_; i_19_++) { - fs_18_[2 * i_19_] = (float) Math.cos((double) (4 * i_19_ + 2) * 3.141592653589793 / (double) i_11_); - fs_18_[2 * i_19_ + 1] = -(float) Math.sin((double) (4 * i_19_ + 2) * 3.141592653589793 / (double) i_11_); - } - int[] is_20_ = new int[i_14_]; - int i_21_ = Class299.method2253(i_14_ - 1, -53); - for (int i_22_ = 0; i_22_ < i_14_; i_22_++) - is_20_[i_22_] = Class84.method818(i_21_, 0, i_22_); - if (i == 0) { - aFloatArray6722 = fs; - aFloatArray6720 = fs_16_; - aFloatArray6708 = fs_18_; - anIntArray6719 = is_20_; - } else { - aFloatArray6712 = fs; - aFloatArray6726 = fs_16_; - aFloatArray6700 = fs_18_; - anIntArray6705 = is_20_; - } - } - int i = method2789(8) + 1; - aClass370Array6718 = new Class370[i]; - for (int i_23_ = 0; i_23_ < i; i_23_++) - aClass370Array6718[i_23_] = new Class370(); - int i_24_ = method2789(6) + 1; - for (int i_25_ = 0; i_25_ < i_24_; i_25_++) - method2789(16); - int i_26_ = method2789(6) + 1; - aClass210Array6715 = new Class210[i_26_]; - for (int i_27_ = 0; i_27_ < i_26_; i_27_++) - aClass210Array6715[i_27_] = new Class210(); - int i_28_ = method2789(6) + 1; - aClass343Array6710 = new Class343[i_28_]; - for (int i_29_ = 0; i_29_ < i_28_; i_29_++) - aClass343Array6710[i_29_] = new Class343(); - int i_30_ = method2789(6) + 1; - aClass276Array6704 = new Class276[i_30_]; - for (int i_31_ = 0; i_31_ < i_30_; i_31_++) - aClass276Array6704[i_31_] = new Class276(); - int i_32_ = method2789(6) + 1; - aBooleanArray6713 = new boolean[i_32_]; - anIntArray6709 = new int[i_32_]; - for (int i_33_ = 0; i_33_ < i_32_; i_33_++) { - aBooleanArray6713[i_33_] = method2788() != 0; - method2789(16); - method2789(16); - anIntArray6709[i_33_] = method2789(8); - } - aBoolean6724 = true; - } - - final Class348_Sub19_Sub1 method2791(int[] is) { - if (is != null && is[0] <= 0) return null; - if (aByteArray6731 == null) { - anInt6730 = 0; - aFloatArray6701 = new float[anInt6721]; - aByteArray6731 = new byte[anInt6716]; - anInt6733 = 0; - anInt6732 = 0; - } - for (/**/; anInt6732 < aByteArrayArray6703.length; anInt6732++) { - if (is != null && is[0] <= 0) return null; - float[] fs = method2794(anInt6732); - if (fs != null) { - int i = anInt6733; - int i_34_ = fs.length; - if (i_34_ > anInt6716 - i) i_34_ = anInt6716 - i; - for (int i_35_ = 0; i_35_ < i_34_; i_35_++) { - int i_36_ = (int) (128.0F + fs[i_35_] * 128.0F); - if ((i_36_ & ~0xff) != 0) i_36_ = (~i_36_) >> 31; - aByteArray6731[i++] = (byte) (i_36_ - 128); - } - if (is != null) is[0] -= i - anInt6733; - anInt6733 = i; - } - } - aFloatArray6701 = null; - byte[] is_37_ = aByteArray6731; - aByteArray6731 = null; - return new Class348_Sub19_Sub1(anInt6702, is_37_, anInt6723, anInt6717, aBoolean6728); - } - - private static final boolean method2792(Class45 class45) { - if (!aBoolean6724) { - byte[] is = class45.method410(-1860, 0, 0); - if (is == null) return false; - method2790(is); - } - return true; - } - - static final Class348_Sub10 method2793(Class45 class45, int i) { - if (!method2792(class45)) { - class45.method421(false, i); - return null; - } - byte[] is = class45.method415((byte) 73, i); - if (is == null) return null; - return new Class348_Sub10(is); - } - - private final float[] method2794(int i) { - method2784(aByteArrayArray6703[i], 0); - method2788(); - int i_38_ = method2789(Class299.method2253(anIntArray6709.length - 1, 123)); - boolean bool = aBooleanArray6713[i_38_]; - int i_39_ = bool ? anInt6721 : anInt6725; - boolean bool_40_ = false; - boolean bool_41_ = false; - if (bool) { - bool_40_ = method2788() != 0; - bool_41_ = method2788() != 0; - } - int i_42_ = i_39_ >> 1; - int i_43_; - int i_44_; - int i_45_; - if (bool && !bool_40_) { - i_43_ = (i_39_ >> 2) - (anInt6725 >> 2); - i_44_ = (i_39_ >> 2) + (anInt6725 >> 2); - i_45_ = anInt6725 >> 1; - } else { - i_43_ = 0; - i_44_ = i_42_; - i_45_ = i_39_ >> 1; - } - int i_46_; - int i_47_; - int i_48_; - if (bool && !bool_41_) { - i_46_ = i_39_ - (i_39_ >> 2) - (anInt6725 >> 2); - i_47_ = i_39_ - (i_39_ >> 2) + (anInt6725 >> 2); - i_48_ = anInt6725 >> 1; - } else { - i_46_ = i_42_; - i_47_ = i_39_; - i_48_ = i_39_ >> 1; - } - Class276 class276 = aClass276Array6704[anIntArray6709[i_38_]]; - int i_49_ = class276.anInt3557; - int i_50_ = class276.anIntArray3556[i_49_]; - boolean bool_51_ = !aClass210Array6715[i_50_].method1534(); - boolean bool_52_ = bool_51_; - for (int i_53_ = 0; i_53_ < class276.anInt3555; i_53_++) { - Class343 class343 = (aClass343Array6710[class276.anIntArray3554[i_53_]]); - float[] fs = aFloatArray6707; - class343.method2688(fs, i_39_ >> 1, bool_52_); - } - if (!bool_51_) { - int i_54_ = class276.anInt3557; - int i_55_ = class276.anIntArray3556[i_54_]; - aClass210Array6715[i_55_].method1530(aFloatArray6707, i_39_ >> 1); - } - if (bool_51_) { - for (int i_56_ = i_39_ >> 1; i_56_ < i_39_; i_56_++) - aFloatArray6707[i_56_] = 0.0F; - } else { - int i_57_ = i_39_ >> 1; - int i_58_ = i_39_ >> 2; - int i_59_ = i_39_ >> 3; - float[] fs = aFloatArray6707; - for (int i_60_ = 0; i_60_ < i_57_; i_60_++) - fs[i_60_] *= 0.5F; - for (int i_61_ = i_57_; i_61_ < i_39_; i_61_++) - fs[i_61_] = -fs[i_39_ - i_61_ - 1]; - float[] fs_62_ = bool ? aFloatArray6712 : aFloatArray6722; - float[] fs_63_ = bool ? aFloatArray6726 : aFloatArray6720; - float[] fs_64_ = bool ? aFloatArray6700 : aFloatArray6708; - int[] is = bool ? anIntArray6705 : anIntArray6719; - for (int i_65_ = 0; i_65_ < i_58_; i_65_++) { - float f = fs[4 * i_65_] - fs[i_39_ - 4 * i_65_ - 1]; - float f_66_ = fs[4 * i_65_ + 2] - fs[i_39_ - 4 * i_65_ - 3]; - float f_67_ = fs_62_[2 * i_65_]; - float f_68_ = fs_62_[2 * i_65_ + 1]; - fs[i_39_ - 4 * i_65_ - 1] = f * f_67_ - f_66_ * f_68_; - fs[i_39_ - 4 * i_65_ - 3] = f * f_68_ + f_66_ * f_67_; - } - for (int i_69_ = 0; i_69_ < i_59_; i_69_++) { - float f = fs[i_57_ + 3 + 4 * i_69_]; - float f_70_ = fs[i_57_ + 1 + 4 * i_69_]; - float f_71_ = fs[4 * i_69_ + 3]; - float f_72_ = fs[4 * i_69_ + 1]; - fs[i_57_ + 3 + 4 * i_69_] = f + f_71_; - fs[i_57_ + 1 + 4 * i_69_] = f_70_ + f_72_; - float f_73_ = fs_62_[i_57_ - 4 - 4 * i_69_]; - float f_74_ = fs_62_[i_57_ - 3 - 4 * i_69_]; - fs[4 * i_69_ + 3] = (f - f_71_) * f_73_ - (f_70_ - f_72_) * f_74_; - fs[4 * i_69_ + 1] = (f_70_ - f_72_) * f_73_ + (f - f_71_) * f_74_; - } - int i_75_ = Class299.method2253(i_39_ - 1, -52); - for (int i_76_ = 0; i_76_ < i_75_ - 3; i_76_++) { - int i_77_ = i_39_ >> i_76_ + 2; - int i_78_ = 8 << i_76_; - for (int i_79_ = 0; i_79_ < 2 << i_76_; i_79_++) { - int i_80_ = i_39_ - i_77_ * 2 * i_79_; - int i_81_ = i_39_ - i_77_ * (2 * i_79_ + 1); - for (int i_82_ = 0; i_82_ < i_39_ >> i_76_ + 4; i_82_++) { - int i_83_ = 4 * i_82_; - float f = fs[i_80_ - 1 - i_83_]; - float f_84_ = fs[i_80_ - 3 - i_83_]; - float f_85_ = fs[i_81_ - 1 - i_83_]; - float f_86_ = fs[i_81_ - 3 - i_83_]; - fs[i_80_ - 1 - i_83_] = f + f_85_; - fs[i_80_ - 3 - i_83_] = f_84_ + f_86_; - float f_87_ = fs_62_[i_82_ * i_78_]; - float f_88_ = fs_62_[i_82_ * i_78_ + 1]; - fs[i_81_ - 1 - i_83_] = (f - f_85_) * f_87_ - (f_84_ - f_86_) * f_88_; - fs[i_81_ - 3 - i_83_] = (f_84_ - f_86_) * f_87_ + (f - f_85_) * f_88_; - } - } - } - for (int i_89_ = 1; i_89_ < i_59_ - 1; i_89_++) { - int i_90_ = is[i_89_]; - if (i_89_ < i_90_) { - int i_91_ = 8 * i_89_; - int i_92_ = 8 * i_90_; - float f = fs[i_91_ + 1]; - fs[i_91_ + 1] = fs[i_92_ + 1]; - fs[i_92_ + 1] = f; - f = fs[i_91_ + 3]; - fs[i_91_ + 3] = fs[i_92_ + 3]; - fs[i_92_ + 3] = f; - f = fs[i_91_ + 5]; - fs[i_91_ + 5] = fs[i_92_ + 5]; - fs[i_92_ + 5] = f; - f = fs[i_91_ + 7]; - fs[i_91_ + 7] = fs[i_92_ + 7]; - fs[i_92_ + 7] = f; - } - } - for (int i_93_ = 0; i_93_ < i_57_; i_93_++) - fs[i_93_] = fs[2 * i_93_ + 1]; - for (int i_94_ = 0; i_94_ < i_59_; i_94_++) { - fs[i_39_ - 1 - 2 * i_94_] = fs[4 * i_94_]; - fs[i_39_ - 2 - 2 * i_94_] = fs[4 * i_94_ + 1]; - fs[i_39_ - i_58_ - 1 - 2 * i_94_] = fs[4 * i_94_ + 2]; - fs[i_39_ - i_58_ - 2 - 2 * i_94_] = fs[4 * i_94_ + 3]; - } - for (int i_95_ = 0; i_95_ < i_59_; i_95_++) { - float f = fs_64_[2 * i_95_]; - float f_96_ = fs_64_[2 * i_95_ + 1]; - float f_97_ = fs[i_57_ + 2 * i_95_]; - float f_98_ = fs[i_57_ + 2 * i_95_ + 1]; - float f_99_ = fs[i_39_ - 2 - 2 * i_95_]; - float f_100_ = fs[i_39_ - 1 - 2 * i_95_]; - float f_101_ = f_96_ * (f_97_ - f_99_) + f * (f_98_ + f_100_); - fs[i_57_ + 2 * i_95_] = (f_97_ + f_99_ + f_101_) * 0.5F; - fs[i_39_ - 2 - 2 * i_95_] = (f_97_ + f_99_ - f_101_) * 0.5F; - f_101_ = f_96_ * (f_98_ + f_100_) - f * (f_97_ - f_99_); - fs[i_57_ + 2 * i_95_ + 1] = (f_98_ - f_100_ + f_101_) * 0.5F; - fs[i_39_ - 1 - 2 * i_95_] = (-f_98_ + f_100_ + f_101_) * 0.5F; - } - for (int i_102_ = 0; i_102_ < i_58_; i_102_++) { - fs[i_102_] = (fs[2 * i_102_ + i_57_] * fs_63_[2 * i_102_] + fs[2 * i_102_ + 1 + i_57_] * fs_63_[2 * i_102_ + 1]); - fs[i_57_ - 1 - i_102_] = (fs[2 * i_102_ + i_57_] * fs_63_[2 * i_102_ + 1] - fs[2 * i_102_ + 1 + i_57_] * fs_63_[2 * i_102_]); - } - for (int i_103_ = 0; i_103_ < i_58_; i_103_++) - fs[i_39_ - i_58_ + i_103_] = -fs[i_103_]; - for (int i_104_ = 0; i_104_ < i_58_; i_104_++) - fs[i_104_] = fs[i_58_ + i_104_]; - for (int i_105_ = 0; i_105_ < i_58_; i_105_++) - fs[i_58_ + i_105_] = -fs[i_58_ - i_105_ - 1]; - for (int i_106_ = 0; i_106_ < i_58_; i_106_++) - fs[i_57_ + i_106_] = fs[i_39_ - i_106_ - 1]; - for (int i_107_ = i_43_; i_107_ < i_44_; i_107_++) { - float f = (float) Math.sin(((double) (i_107_ - i_43_) + 0.5) / (double) i_45_ * 0.5 * 3.141592653589793); - aFloatArray6707[i_107_] *= (float) Math.sin(1.5707963267948966 * (double) f * (double) f); - } - for (int i_108_ = i_46_; i_108_ < i_47_; i_108_++) { - float f = (float) Math.sin((((double) (i_108_ - i_46_) + 0.5) / (double) i_48_ * 0.5 * 3.141592653589793) + 1.5707963267948966); - aFloatArray6707[i_108_] *= (float) Math.sin(1.5707963267948966 * (double) f * (double) f); - } - } - float[] fs = null; - if (anInt6730 > 0) { - int i_109_ = anInt6730 + i_39_ >> 2; - fs = new float[i_109_]; - if (!aBoolean6706) { - for (int i_110_ = 0; i_110_ < anInt6727; i_110_++) { - int i_111_ = (anInt6730 >> 1) + i_110_; - fs[i_110_] += aFloatArray6701[i_111_]; - } - } - if (!bool_51_) { - for (int i_112_ = i_43_; i_112_ < i_39_ >> 1; i_112_++) { - int i_113_ = fs.length - (i_39_ >> 1) + i_112_; - fs[i_113_] += aFloatArray6707[i_112_]; - } - } - } - float[] fs_114_ = aFloatArray6701; - aFloatArray6701 = aFloatArray6707; - aFloatArray6707 = fs_114_; - anInt6730 = i_39_; - anInt6727 = i_47_ - (i_39_ >> 1); - aBoolean6706 = bool_51_; - return fs; - } - - private Class348_Sub10(byte[] is) { - method2787(is); - } - - static final Class348_Sub10 method2795(Class45 class45, int i, int i_115_) { - if (!method2792(class45)) { - class45.method420(-10499, i, i_115_); - return null; - } - byte[] is = class45.method410(-1860, i, i_115_); - if (is == null) return null; - return new Class348_Sub10(is); - } -} diff --git a/client/src/Class348_Sub11.java b/client/src/Class348_Sub11.java deleted file mode 100644 index 7fc317c8d..000000000 --- a/client/src/Class348_Sub11.java +++ /dev/null @@ -1,64 +0,0 @@ -/* Class348_Sub11 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub11 extends Class348 implements Interface6 { - static int anInt4760; - char aChar4761; - static int anInt4762; - static int anInt4763; - long aLong4764; - static int anInt4765; - int anInt4766; - int anInt4767; - static int anInt4768; - static int anInt4769; - static Class45 aClass45_4770; - int anInt4771; - - public final int method27(int i) { - if (i != 26276) method27(113); - anInt4769++; - return this.anInt4771; - } - - public final char method28(byte i) { - anInt4768++; - if (i < 8) method27(113); - return this.aChar4761; - } - - public final int method26(int i) { - anInt4762++; - if (i != -7616) method29((byte) 38); - return this.anInt4766; - } - - public final long method29(byte i) { - int i_0_ = 17 / ((i - 46) / 58); - anInt4765++; - return this.aLong4764; - } - - public static void method2796(byte i) { - aClass45_4770 = null; - if (i != 104) method2796((byte) -6); - } - - static final boolean method2797(String string, byte i) { - anInt4763++; - if (string == null) return false; - for (int i_1_ = 0; (i_1_ < Class348_Sub40_Sub30.anInt9383); i_1_++) { - if (string.equalsIgnoreCase(Class83.aStringArray1441[i_1_])) return true; - } - if (string.equalsIgnoreCase(Class132.aPlayer_1907.aString10544)) return true; - if (i != -63) return false; - return false; - } - - public final int method30(boolean bool) { - anInt4760++; - if (bool != false) return -114; - return this.anInt4767; - } -} diff --git a/client/src/Class348_Sub12.java b/client/src/Class348_Sub12.java deleted file mode 100644 index 5f4887fcc..000000000 --- a/client/src/Class348_Sub12.java +++ /dev/null @@ -1,92 +0,0 @@ -/* Class348_Sub12 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub12 extends Class348 { - static int anInt6734; - int anInt6735; - static short[][][] aShortArrayArrayArray6736; - int anInt6737; - int anInt6738 = -2147483648; - static int anInt6739; - static int[][] anIntArrayArray6740; - private static short[][] aShortArrayArray6741 = {{6798, 107, 10283, 16, 4797, 7744, 5799, 4634, -31839, 22433, 2983, -11343, 8, 5281, 10438, 3650, -27322, -21845, 200, 571, 908, 21830, 28946, -15701, -14010}, {8741, 12, -1506, -22374, 7735, 8404, 1701, -27106, 24094, 10153, -8915, 4783, 1341, 16578, -30533, 25239, 8, 5281, 10438, 3650, -27322, -21845, 200, 571, 908, 21830, 28946, -15701, -14010, 7085, 4001, 317, 918, 9517, 9125, 3608, 16450, -32593, 22026, 2700, -22256, 10289, 3877, -27999, 10770, 8982, 3753, 10275, 924, 8637, -26428, 26785, -15202, 8736, 2994, -25710, 928, 6859, -25016, -5449, -14823, -23401, 12, -22456, -27471, -11229, 21673, 57, -24046, -27190, -22877, -30041, 20013, 21596, -31414, 29000, -11209, 6361, -25552, -25450, -14174, -10998, -27357, 3249, 7465, 8913, 13774, 4584, 11728, 10454, 8123, 2619, 13756, -28220, -26323, -23901, -31385, -32342, -29806, -29902, -24128, 933, 1189, 3873, 6057, 8590, 1812, 4895, -5366, 15019, 20793, 7599, 9536, 21778, 14102, 6938, 14648, 5919, 6472, 10128, 17940, 3226, 267, 5421, -27570, -25177, -26319, -28217, -28132, -23792, -23249, -23001, -19033, 5427, 6340, 5673, 2458, 3625, 8646, 5186, 10382, 6826, 7442, 158, 2454, 9655, -27496, -27578, -31687, 11146, 18712, 10785, 21902, 10566, 9500, 11819, 11144, -15965, -24170, -32488, -29277, 29097, -9567, -18794, -27116, 921, 6028, 2974, -5230, 6550, 15244, 14, 49, 3994, 2332, 6038, -31701, 520, 41, 9402, -4825, 28978, -25278, 30876, 13475, -28395, -24010, -14027, -22454, -18158, 20503, -27618, -22258, -1776, -31468, 9616, 7333, 650, 784, 796, 813, -616, -3194, -8152, 1686, 29074, 22422, -32245, 29084, 22411, -22000, 3982, 7062, 10382, 3230, 8076, 20, 1936, 10, -22473, 4892, 5805, 5904, 10, 48, 1936, 5640, 8472, -25529}, {25238, 8742, 12, -1506, -22374, 7735, 8404, 1701, -27106, 24094, 10153, -8915, 4783, 1341, 16578, -30533, 8, 5281, 10438, 3650, -27322, -21845, 200, 571, 908, 21830, 28946, -15701, -14010, 7085, 4001, 317, 918, 9517, 9125, 3608, 16450, -32593, 22026, 2700, -22256, 10289, 3877, -27999, 10770, 8982, 3753, 10275, 924, 8637, -26428, 26785, -15202, 8736, 2994, -25710, 928, 6859, -25016, -5449, -14823, -23401, 12, -22456, -27471, -11229, 21673, 57, -24046, -27190, -22877, -30041, 20013, 21596, -31414, 29000, -11209, 6361, -25552, -25450, -14174, -10998, -27357, 3249, 7465, 8913, 13774, 4584, 11728, 10454, 8123, 2619, 13756, -28220, -26323, -23901, -31385, -32342, -29806, -29902, -24128, 933, 1189, 3873, 6057, 8590, 1812, 4895, -5366, 15019, 20793, 7599, 9536, 21778, 14102, 6938, 14648, 5919, 6472, 10128, 17940, 3226, 267, 5421, -27570, -25177, -26319, -28217, -28132, -23792, -23249, -23001, -19033, 5427, 6340, 5673, 2458, 3625, 8646, 5186, 10382, 6826, 7442, 158, 2454, 9655, -27496, -27578, -31687, 11146, 18712, 10785, 21902, 10566, 9500, 11819, 11144, -15965, -24170, -32488, -29277, 29097, -9567, -18794, -27116, 921, 6028, 2974, -5230, 6550, 15244, 14, 49, 3994, 2332, 6038, -31701, 520, 41, 9402, -4825, 28978, -25278, 30876, 13475, -28395, -24010, -14027, -22454, -18158, 20503, -27618, -22258, -1776, -31468, 9616, 7333, 650, 784, 796, 813, -616, -3194, -8152, 1686, 29074, 22422, -32245, 29084, 22411, -22000, 3982, 7062, 10382, 3230, 8076, 20, 1936, 10, -22473, 4892, 5805, 5904, 10, 48, 1936, 5640, 8472, -25529}, {4626, 11146, 6439, 12, 4758, 10270, 7085, 4001, 317, 918, 9517, 9125, 3608, 16450, -32593, 22026, 2700, -22256, 10289, 3877, -27999, 10770, 8982, 3753, 10275, 924, 8637, -26428, 26785, -15202, 8736, 2994, -25710, 928, 6859, -25016, -5449, -14823, -23401, 12, -22456, -27471, -11229, 21673, 57, -24046, -27190, -22877, -30041, 20013, 21596, -31414, 29000, -11209, 6361, -25552, -25450, -14174, -10998, -27357, 3249, 7465, 8913, 13774, 4584, 11728, 10454, 8123, 2619, 13756, -28220, -26323, -23901, -31385, -32342, -29806, -29902, -24128, 933, 1189, 3873, 6057, 8590, 1812, 4895, -5366, 15019, 20793, 7599, 9536, 21778, 14102, 6938, 14648, 5919, 6472, 10128, 17940, 3226, 267, 5421, -27570, -25177, -26319, -28217, -28132, -23792, -23249, -23001, -19033, 5427, 6340, 5673, 2458, 3625, 8646, 5186, 10382, 6826, 7442, 158, 2454, 9655, -27496, -27578, -31687, 11146, 18712, 10785, 21902, 10566, 9500, 11819, 11144, -15965, -24170, -32488, -29277, 29097, -9567, -18794, -27116, 921, 6028, 2974, -5230, 6550, 15244, 14, 49, 3994, 2332, 6038, -31701, 520, 41, 9402, -4825, 28978, -25278, 30876, 13475, -28395, -24010, -14027, -22454, -18158, 20503, -27618, -22258, -1776, -31468, 9616, 7333, 650, 784, 796, 813, -616, -3194, -8152, 1686, 29074, 22422, -32245, 29084, 22411, -22000, 3982, 7062, 10382, 3230, 8076, 20, 1936, 10, -22473, 4892, 5805, 5904, 10, 48, 1936, 5640, 8472, -25529}, {4550, 4537, 5681, 5673, 5790, 6806, 8076, 4574, 4444, 4328, 7052, 4490}}; - static Class105[] aClass105Array6742; - static Class273 aClass273_6743; - private static short[][] aShortArrayArray6744; - int anInt6745; - int anInt6746; - int anInt6747; - static volatile long aLong6748; - private static short[][] aShortArrayArray6749; - int anInt6750; - Class348_Sub21 aClass348_Sub21_6751; - static float aFloat6752; - int anInt6753; - - public static void method2798(int i) { - aShortArrayArray6741 = null; - aClass105Array6742 = null; - aShortArrayArray6744 = null; - aShortArrayArray6749 = null; - int i_0_ = -33 % ((-16 - i) / 53); - aClass273_6743 = null; - aShortArrayArrayArray6736 = null; - anIntArrayArray6740 = null; - } - - final boolean method2799(int i, int i_1_, int i_2_) { - anInt6739++; - if (i_1_ >= this.anInt6747 && this.anInt6750 >= i_1_ && i >= this.anInt6746 && (i <= this.anInt6735)) return true; - if (this.anInt6745 <= i_1_ && this.anInt6737 >= i_1_ && this.anInt6753 <= i && this.anInt6738 >= i) return true; - if (i_2_ < 60) method2799(8, 24, -128); - return false; - } - - static final void method2800(int i, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_, byte i_10_, int i_11_) { - anInt6734++; - if (i_10_ >= 118) { - Class348_Sub27 class348_sub27 = null; - for (Class348_Sub27 class348_sub27_12_ = ((Class348_Sub27) Class348_Sub42_Sub20.aClass262_9711.method1995(4)); class348_sub27_12_ != null; class348_sub27_12_ = (Class348_Sub27) Class348_Sub42_Sub20.aClass262_9711.method1990((byte) 50)) { - if ((class348_sub27_12_.anInt6899 == i) && i_11_ == class348_sub27_12_.anInt6905 && i_4_ == class348_sub27_12_.anInt6896 && (class348_sub27_12_.anInt6904 == i_7_)) { - class348_sub27 = class348_sub27_12_; - break; - } - } - if (class348_sub27 == null) { - class348_sub27 = new Class348_Sub27(); - class348_sub27.anInt6899 = i; - class348_sub27.anInt6904 = i_7_; - class348_sub27.anInt6896 = i_4_; - class348_sub27.anInt6905 = i_11_; - if (i_11_ >= 0 && i_4_ >= 0 && Class367_Sub4.anInt7319 > i_11_ && Class348_Sub40_Sub3.anInt9109 > i_4_) Class184.method1387(-69, class348_sub27); - Class348_Sub42_Sub20.aClass262_9711.method1999(class348_sub27, -20180); - } - class348_sub27.anInt6893 = i_5_; - class348_sub27.anInt6900 = i_8_; - class348_sub27.anInt6895 = i_6_; - class348_sub27.anInt6894 = i_3_; - class348_sub27.anInt6907 = i_9_; - } - } - - Class348_Sub12(Class348_Sub21 class348_sub21) { - this.anInt6735 = -2147483648; - this.anInt6750 = -2147483648; - this.anInt6745 = 2147483647; - this.anInt6746 = 2147483647; - this.anInt6737 = -2147483648; - this.anInt6747 = 2147483647; - this.anInt6753 = 2147483647; - this.aClass348_Sub21_6751 = class348_sub21; - } - - static { - anIntArrayArray6740 = new int[][]{{6, 6}, {6, 6}, {6, 5, 5}, {5, 6, 5}, {5, 5, 6}, {6, 5, 5}, {5, 0, 4, 1}, {7, 7, 1, 2}, {7, 1, 2, 7}, {8, 9, 4, 0, 8, 9}, {0, 8, 9, 8, 9, 4}, {11, 0, 10, 11, 4, 2}, {6, 6}, {7, 7, 1, 2}, {7, 7, 1, 2}}; - aShortArrayArray6749 = new short[][]{new short[0], new short[0], new short[0], new short[0], new short[0]}; - aShortArrayArray6744 = (new short[][]{{6554, 115, 10304, 28, 5702, 7756, 5681, 4510, -31835, 22437, 2859, -11339, 16, 5157, 10446, 3658, -27314, -21965, 472, 580, 784, 21966, 28950, -15697, -14002}, {9104, 10275, 7595, 3610, 7975, 8526, 918, -26734, 24466, 10145, -6882, 5027, 1457, 16565, -30545, 25486, 24, 5392, 10429, 3673, -27335, -21957, 192, 687, 412, 21821, 28835, -15460, -14019, 7072, 3990, 309, 910, 9509, 9117, 3600, 16442, -32601, 22020, 2694, -22264, 10281, 3869, -28007, 10764, 8974, 3745, 10269, 914, 8629, -26438, 26779, -15208, 8728, 2982, -25718, 918, 6842, -25030, -5462, -14833, -22386, 8, -22468, -27479, -11237, 21664, 45, -24054, -27207, -22887, -30051, 20003, 21584, -31426, 28990, -11219, 6353, -25560, -25458, -14182, -11006, -27365, 3241, 7457, 8899, 13760, 4565, 11711, 10436, 8103, 2604, 13740, -28232, -26333, -23910, -31403, -32352, -29812, -29909, -24137, 925, 1181, 3865, 6049, 8582, 1804, 4887, -5372, 15011, 20785, 7591, 9528, 21770, 14094, 6930, 14635, 5911, 6463, 10124, 17935, 3218, 262, 5413, -27579, -25189, -26331, -28236, -28144, -23804, -23261, -23013, -19045, 5419, 6332, 5665, 2450, 3617, 8638, 5178, 10374, 6819, 7434, 150, 2446, 9647, -27504, -27586, -31695, 11142, 18704, 10775, 21898, 10554, 9492, 11811, 11140, -15978, -24180, -32498, -29288, 29084, -9579, -18799, -27122, 913, 6024, 2966, -5238, 6542, 15240, 10, 39, 3986, 2324, 6030, -31709, 512, 33, 9394, -4833, 28967, -25290, 30866, 13466, -28403, -24022, -14042, -22472, -18166, 20493, -27626, -22266, -1784, -31473, 9612, 7324, 646, 778, 786, 800, -624, -3198, -8164, 1678, 29068, 22412, -32253, 29075, 22404, -22006, 3974, 7054, 10376, 3222, 8070, 12, 1930, 2, -22481, 4884, 5797, 5900, 6, 40, 1932, 5638, 8466, -25537}, {25485, 9105, 10275, 7595, 3610, 7975, 8526, 918, -26734, 24466, 10145, -6882, 5027, 1457, 16565, -30545, 24, 5392, 10429, 3673, -27335, -21957, 192, 687, 412, 21821, 28835, -15460, -14019, 7072, 3990, 309, 910, 9509, 9117, 3600, 16442, -32601, 22020, 2694, -22264, 10281, 3869, -28007, 10764, 8974, 3745, 10269, 914, 8629, -26438, 26779, -15208, 8728, 2982, -25718, 918, 6842, -25030, -5462, -14833, -22386, 8, -22468, -27479, -11237, 21664, 45, -24054, -27207, -22887, -30051, 20003, 21584, -31426, 28990, -11219, 6353, -25560, -25458, -14182, -11006, -27365, 3241, 7457, 8899, 13760, 4565, 11711, 10436, 8103, 2604, 13740, -28232, -26333, -23910, -31403, -32352, -29812, -29909, -24137, 925, 1181, 3865, 6049, 8582, 1804, 4887, -5372, 15011, 20785, 7591, 9528, 21770, 14094, 6930, 14635, 5911, 6463, 10124, 17935, 3218, 262, 5413, -27579, -25189, -26331, -28236, -28144, -23804, -23261, -23013, -19045, 5419, 6332, 5665, 2450, 3617, 8638, 5178, 10374, 6819, 7434, 150, 2446, 9647, -27504, -27586, -31695, 11142, 18704, 10775, 21898, 10554, 9492, 11811, 11140, -15978, -24180, -32498, -29288, 29084, -9579, -18799, -27122, 913, 6024, 2966, -5238, 6542, 15240, 10, 39, 3986, 2324, 6030, -31709, 512, 33, 9394, -4833, 28967, -25290, 30866, 13466, -28403, -24022, -14042, -22472, -18166, 20493, -27626, -22266, -1784, -31473, 9612, 7324, 646, 778, 786, 800, -624, -3198, -8164, 1678, 29068, 22412, -32253, 29075, 22404, -22006, 3974, 7054, 10376, 3222, 8070, 12, 1930, 2, -22481, 4884, 5797, 5900, 6, 40, 1932, 5638, 8466, -25537}, {4620, 11140, 6433, 6, 4752, 10264, 7072, 3990, 309, 910, 9509, 9117, 3600, 16442, -32601, 22020, 2694, -22264, 10281, 3869, -28007, 10764, 8974, 3745, 10269, 914, 8629, -26438, 26779, -15208, 8728, 2982, -25718, 918, 6842, -25030, -5462, -14833, -22386, 8, -22468, -27479, -11237, 21664, 45, -24054, -27207, -22887, -30051, 20003, 21584, -31426, 28990, -11219, 6353, -25560, -25458, -14182, -11006, -27365, 3241, 7457, 8899, 13760, 4565, 11711, 10436, 8103, 2604, 13740, -28232, -26333, -23910, -31403, -32352, -29812, -29909, -24137, 925, 1181, 3865, 6049, 8582, 1804, 4887, -5372, 15011, 20785, 7591, 9528, 21770, 14094, 6930, 14635, 5911, 6463, 10124, 17935, 3218, 262, 5413, -27579, -25189, -26331, -28236, -28144, -23804, -23261, -23013, -19045, 5419, 6332, 5665, 2450, 3617, 8638, 5178, 10374, 6819, 7434, 150, 2446, 9647, -27504, -27586, -31695, 11142, 18704, 10775, 21898, 10554, 9492, 11811, 11140, -15978, -24180, -32498, -29288, 29084, -9579, -18799, -27122, 913, 6024, 2966, -5238, 6542, 15240, 10, 39, 3986, 2324, 6030, -31709, 512, 33, 9394, -4833, 28967, -25290, 30866, 13466, -28403, -24022, -14042, -22472, -18166, 20493, -27626, -22266, -1784, -31473, 9612, 7324, 646, 778, 786, 800, -624, -3198, -8164, 1678, 29068, 22412, -32253, 29075, 22404, -22006, 3974, 7054, 10376, 3222, 8070, 12, 1930, 2, -22481, 4884, 5797, 5900, 6, 40, 1932, 5638, 8466, -25537}, {4540, 4529, 5674, 5667, 5785, 6802, 8072, 4562, 4437, 4317, 5896, 4488}}); - aLong6748 = 0L; - aShortArrayArrayArray6736 = new short[][][]{aShortArrayArray6741, aShortArrayArray6744, aShortArrayArray6749}; - aClass273_6743 = new Class273("", 13); - } -} diff --git a/client/src/Class348_Sub13.java b/client/src/Class348_Sub13.java deleted file mode 100644 index 72ccf97fb..000000000 --- a/client/src/Class348_Sub13.java +++ /dev/null @@ -1,154 +0,0 @@ -/* Class348_Sub13 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub13 extends Class348 { - static int anInt6754; - static int anInt6755; - static int anInt6756; - int[] anIntArray6757 = {-1}; - int[] anIntArray6758 = new int[1]; - static boolean aBoolean6759 = true; - - static final void method2801(int i, int i_0_, int i_1_, int i_2_, int i_3_, Class318_Sub1_Sub3_Sub3 class318_sub1_sub3_sub3, byte i_4_) { - int i_5_ = 1 / ((i_4_ - 6) / 48); - anInt6754++; - aa_Sub2.method165(class318_sub1_sub3_sub3.plane, i_2_, i, i_3_, class318_sub1_sub3_sub3.x, 0, class318_sub1_sub3_sub3.y, (byte) 110, i_0_, i_1_); - } - - private final long method2802(int[] is, int i, boolean bool, int[] is_6_, byte i_7_) { - try { - anInt6755++; - long[] ls = Class348_Sub40_Sub21.aLongArray9283; - long l = -1L; - l = (ls[(int) (0xffL & (l ^ (long) (i >> 8)))] ^ l >>> 8); - l = ls[(int) (0xffL & (l ^ (long) i))] ^ l >>> 8; - for (int i_8_ = 0; is_6_.length > i_8_; i_8_++) { - l = (ls[(int) (0xffL & (l ^ (long) (is_6_[i_8_] >> 24)))] ^ l >>> 8); - l = (l >>> 8 ^ ls[(int) (0xffL & (l ^ (long) (is_6_[i_8_] >> 16)))]); - l = l >>> 8 ^ ls[(int) ((l ^ (long) (is_6_[i_8_] >> 8)) & 0xffL)]; - l = (ls[(int) (((long) is_6_[i_8_] ^ l) & 0xffL)] ^ l >>> 8); - } - if (i_7_ != -74) this.anIntArray6757 = null; - if (is != null) { - for (int i_9_ = 0; i_9_ < 5; i_9_++) - l = l >>> 8 ^ ls[(int) ((l ^ (long) is[i_9_]) & 0xffL)]; - } - l = (ls[(int) (0xffL & ((long) (!bool ? 0 : 1) ^ l))] ^ l >>> 8); - return l; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ie.C(" + (is != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (is_6_ != null ? "{...}" : "null") + ',' + i_7_ + ')')); - } - } - - final Class64 method2803(Class17 class17, Class154 class154, int i, int i_10_, int i_11_, int i_12_, int i_13_, ha var_ha, boolean bool, int i_14_) { - try { - anInt6756++; - Class64 class64 = null; - int i_15_ = i_13_; - Class225 class225 = null; - if (i != -1) class225 = Class64_Sub3.aClass261_5558.method1983(i, 32); - int[] is = this.anIntArray6757; - if (class225 != null && class225.anIntArray2906 != null) { - is = new int[class225.anIntArray2906.length]; - for (int i_16_ = 0; (i_16_ < class225.anIntArray2906.length); i_16_++) { - int i_17_ = class225.anIntArray2906[i_16_]; - if (i_17_ >= 0 && i_17_ < this.anIntArray6757.length) is[i_16_] = this.anIntArray6757[i_17_]; - else is[i_16_] = -1; - } - } - boolean bool_18_ = false; - boolean bool_19_ = false; - boolean bool_20_ = false; - boolean bool_21_ = false; - int i_22_ = -1; - int i_23_ = -1; - int i_24_ = 0; - Class348_Sub42_Sub17 class348_sub42_sub17 = null; - Class348_Sub42_Sub17 class348_sub42_sub17_25_ = null; - if (class17 != null) { - i_22_ = class17.anIntArray237[i_10_]; - i_15_ |= 0x20; - int i_26_ = i_22_ >>> 16; - class348_sub42_sub17 = Class10.aClass87_191.method839(i_26_, i_14_ + 4); - i_22_ &= 0xffff; - if (class348_sub42_sub17 != null) { - bool_19_ |= class348_sub42_sub17.method3272(i_22_, 0); - bool_18_ |= class348_sub42_sub17.method3271(i_22_, 14); - bool_21_ |= class348_sub42_sub17.method3267((byte) -112, i_22_); - bool_20_ |= class17.aBoolean242; - } - if ((class17.aBoolean241 || Class28.aBoolean5002) && i_12_ != -1 && class17.anIntArray237.length > i_12_) { - i_23_ = class17.anIntArray237[i_12_]; - i_24_ = class17.anIntArray267[i_10_]; - int i_27_ = i_23_ >>> 16; - i_23_ &= 0xffff; - if (i_27_ == i_26_) class348_sub42_sub17_25_ = class348_sub42_sub17; - else class348_sub42_sub17_25_ = Class10.aClass87_191.method839(i_23_ >>> 16, 3); - if (class348_sub42_sub17_25_ != null) { - bool_19_ |= class348_sub42_sub17_25_.method3272(i_23_, 0); - bool_18_ |= class348_sub42_sub17_25_.method3271(i_23_, 14); - bool_21_ |= class348_sub42_sub17_25_.method3267((byte) -118, i_23_); - } - } - if (bool_19_) i_15_ |= 0x80; - if (bool_18_) i_15_ |= 0x100; - if (bool_20_) i_15_ |= 0x200; - if (bool_21_) i_15_ |= 0x400; - } - long l = method2802((class154 != null ? class154.anIntArray2095 : null), i, bool, is, (byte) -74); - if (Class202.aClass60_2671 != null) class64 = (Class64) Class202.aClass60_2671.method583(l, i_14_ ^ 0x56); - if (class64 == null || var_ha.method3667(class64.ua(), i_15_) != 0) { - if (class64 != null) i_15_ = var_ha.method3679(i_15_, class64.ua()); - int i_28_ = i_15_; - boolean bool_29_ = false; - for (int i_30_ = 0; is.length > i_30_; i_30_++) { - if (is[i_30_] != -1 && !Exception_Sub1.aClass255_112.method1940(-91, is[i_30_]).method1565(bool, -1)) bool_29_ = true; - } - if (bool_29_) return null; - Class124[] class124s = new Class124[is.length]; - for (int i_31_ = 0; i_31_ < is.length; i_31_++) { - if (is[i_31_] != -1) class124s[i_31_] = Exception_Sub1.aClass255_112.method1940(Class348_Sub21.method2955(i_14_, -112), is[i_31_]).method1558(bool, false); - } - if (class225 != null && class225.anIntArrayArray2939 != null) { - for (int i_32_ = 0; (class225.anIntArrayArray2939.length > i_32_); i_32_++) { - if ((class225.anIntArrayArray2939[i_32_] != null) && class124s[i_32_] != null) { - int i_33_ = (class225.anIntArrayArray2939[i_32_][0]); - int i_34_ = (class225.anIntArrayArray2939[i_32_][1]); - int i_35_ = (class225.anIntArrayArray2939[i_32_][2]); - int i_36_ = (class225.anIntArrayArray2939[i_32_][3]); - int i_37_ = (class225.anIntArrayArray2939[i_32_][4]); - int i_38_ = (class225.anIntArrayArray2939[i_32_][5]); - if (i_36_ != 0 || i_37_ != 0 || i_38_ != 0) class124s[i_32_].method1107(6875, i_37_, i_38_, i_36_); - if (i_33_ != 0 || i_34_ != 0 || i_35_ != 0) class124s[i_32_].method1099((byte) -91, i_35_, i_33_, i_34_); - } - } - } - if (class154 != null) i_28_ |= 0x4000; - Class124 class124 = new Class124(class124s, class124s.length); - class64 = var_ha.method3625(class124, i_28_, Class348_Sub42_Sub1.anInt9488, 64, 850); - if (class154 != null) { - for (int i_39_ = 0; i_39_ < 5; i_39_++) { - for (int i_40_ = 0; i_40_ < (Class367_Sub2.aShortArrayArrayArray7290).length; i_40_++) { - if (class154.anIntArray2095[i_39_] < (Class367_Sub2.aShortArrayArrayArray7290[i_40_][i_39_]).length) class64.ia((Class136.aShortArrayArray4791[i_40_][i_39_]), (Class367_Sub2.aShortArrayArrayArray7290[i_40_][i_39_][(class154.anIntArray2095[i_39_])])); - } - } - } - if (Class202.aClass60_2671 != null) { - class64.s(i_15_); - Class202.aClass60_2671.method582(class64, l, (byte) -128); - } - } - if (class17 == null || class348_sub42_sub17 == null) return class64; - Class64 class64_41_ = class64.method614((byte) 1, i_15_, true); - class64_41_.method617(i_22_, i_24_, class348_sub42_sub17_25_, 0, class348_sub42_sub17, false, class17.aBoolean242, i_23_, i_11_ + i_14_); - return class64_41_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ie.B(" + (class17 != null ? "{...}" : "null") + ',' + (class154 != null ? "{...}" : "null") + ',' + i + ',' + i_10_ + ',' + i_11_ + ',' + i_12_ + ',' + i_13_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + bool + ',' + i_14_ + ')')); - } - } - - public Class348_Sub13() { - /* empty */ - } -} diff --git a/client/src/Class348_Sub14.java b/client/src/Class348_Sub14.java deleted file mode 100644 index ccb153740..000000000 --- a/client/src/Class348_Sub14.java +++ /dev/null @@ -1,245 +0,0 @@ -/* Class348_Sub14 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub14 extends Class348 { - static int anInt6760; - static int anInt6761; - long aLong6762; - static int anInt6763; - static Class351 aClass351_6764 = new Class351(32, 4); - static int anInt6765; - static Class351 aClass351_6766 = new Class351(75, 3); - /*synthetic*/ static Class aClass6767; - - static final boolean method2804(byte i) { - anInt6765++; - try { - Class152 class152 = new Class152(); - byte[] is = class152.method1214(9, Class348_Sub42_Sub14.aByteArray9622); - int i_0_ = 19 % ((19 - i) / 43); - Class258_Sub3.method1969(is, -5901); - return true; - } catch (Exception exception) { - return false; - } - } - - public Class348_Sub14() { - /* empty */ - } - - public static void method2805(byte i) { - aClass351_6766 = null; - int i_1_ = -14 % ((i - 72) / 32); - aClass351_6764 = null; - } - - static final int method2806(boolean bool, int i) { - anInt6760++; - if (bool != false) method2807(-36, 35, (byte) -71, -71); - return 0x3ff & i; - } - - Class348_Sub14(long l) { - try { - this.aLong6762 = l; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "ij.(" + l + ')'); - } - } - - static final Class348_Sub47 method2807(int i, int i_2_, byte i_3_, int i_4_) { - anInt6761++; - Class348_Sub47 class348_sub47 = null; - if (i_4_ == 0) { - class348_sub47 = Class286_Sub3.method2148(Class186.aClass351_2495, Class348_Sub23_Sub2.aClass77_9029, -100); - Class348_Sub46.anInt7112++; - } - if (i_4_ == 1) { - class348_sub47 = Class286_Sub3.method2148(Class301.aClass351_3825, Class348_Sub23_Sub2.aClass77_9029, -93); - Class177.anInt4665++; - } - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(i + Class90.regionTileY, (byte) 3); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByteAdd((byte) 78, !Class182.aClass346_2449.method2696(82, -124) ? 0 : 1); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-124, za_Sub2.regionTileX + i_2_); - Class248.anInt3203 = i_2_; - if (i_3_ >= -88) aClass351_6764 = null; - Class97.anInt1548 = i; - Class348_Sub13.aBoolean6759 = false; - Class299_Sub1_Sub2.method2264(false); - return class348_sub47; - } - - static final boolean method2808(int i, ha var_ha, boolean bool) { - try { - anInt6763++; - int i_5_ = (-104 + Class367_Sub4.anInt7319) / 2; - int i_6_ = (Class348_Sub40_Sub3.anInt9109 - 104) / 2; - boolean bool_7_ = bool; - for (int i_8_ = i_5_; i_8_ < 104 + i_5_; i_8_++) { - for (int i_9_ = i_6_; i_6_ + 104 > i_9_; i_9_++) { - for (int i_10_ = i; i_10_ <= 3; i_10_++) { - if (Class58.method536(i_9_, false, i_8_, i, i_10_)) { - int i_11_ = i_10_; - if (Class79.method802(i_9_, i_8_, true)) i_11_--; - if (i_11_ >= 0) bool_7_ &= Class14_Sub2.method245(i_11_, i_8_, i_9_, (byte) 75); - } - } - } - } - if (!bool_7_) return false; - int[] is = new int[262144]; - for (int i_12_ = 0; is.length > i_12_; i_12_++) - is[i_12_] = -16777216; - Class108.aClass105_1664 = var_ha.method3662(512, is, (byte) 94, 0, 512, 512); - Class358.method3489(-3); - int i_13_ = (((-10 + (238 + (int) (20.0 * Math.random())) << 8) + (-10 + (int) (Math.random() * 20.0) + 238 << 16) - (-(int) (Math.random() * 20.0) + -228)) | ~0xffffff); - int i_14_ = (228 - -(int) (20.0 * Math.random()) << 16 | ~0xffffff); - int i_15_ = ((int) (8.0 * Math.random()) | ((int) (8.0 * Math.random()) << 16 | (int) (8.0 * Math.random()) << 8)); - boolean[][] bools = (new boolean[3 + RuntimeException_Sub1.anInt4600] - [RuntimeException_Sub1.anInt4600 - -1 + 2]); - for (int i_16_ = i_5_; i_16_ < i_5_ - -104; i_16_ += RuntimeException_Sub1.anInt4600) { - for (int i_17_ = i_6_; i_17_ < i_6_ - -104; i_17_ += RuntimeException_Sub1.anInt4600) { - int i_18_ = 0; - int i_19_ = 0; - int i_20_ = i_16_; - if (i_20_ > 0) { - i_20_--; - i_18_ += 4; - } - int i_21_ = i_17_; - if (i_21_ > 0) i_21_--; - int i_22_ = RuntimeException_Sub1.anInt4600 + i_16_; - if (i_22_ < 104) i_22_++; - int i_23_ = i_17_ - -RuntimeException_Sub1.anInt4600; - if (i_23_ < 104) { - i_23_++; - i_19_ += 4; - } - var_ha.KA(0, 0, RuntimeException_Sub1.anInt4600 * 4 + i_18_, RuntimeException_Sub1.anInt4600 * 4 + i_19_); - var_ha.GA(-16777216); - for (int i_24_ = i; i_24_ <= 3; i_24_++) { - for (int i_25_ = 0; i_25_ <= RuntimeException_Sub1.anInt4600; i_25_++) { - for (int i_26_ = 0; (i_26_ <= RuntimeException_Sub1.anInt4600); i_26_++) - bools[i_25_][i_26_] = Class58.method536(i_21_ + i_26_, false, i_20_ + i_25_, i, i_24_); - } - Class348_Sub1_Sub1.aSArray8801[i_24_].method3987(0, 0, 1024, i_20_, i_21_, i_22_, i_23_, bools); - if (!Class375.aBoolean4542) { - for (int i_27_ = -4; i_27_ < RuntimeException_Sub1.anInt4600; i_27_++) { - for (int i_28_ = -4; i_28_ < RuntimeException_Sub1.anInt4600; i_28_++) { - int i_29_ = i_16_ + i_27_; - int i_30_ = i_28_ + i_17_; - if (i_5_ <= i_29_ && i_6_ <= i_30_ && Class58.method536(i_30_, false, i_29_, i, i_24_)) { - int i_31_ = i_24_; - if (Class79.method802(i_30_, i_29_, true)) i_31_--; - if (i_31_ >= 0) Class348_Sub41.method3159(i_14_, ((-i_28_ + (RuntimeException_Sub1.anInt4600)) * 4 + i_19_ + -4), false, i_31_, i_30_, i_29_, var_ha, 4 * i_27_ + i_18_, i_13_); - } - } - } - } - } - if (Class375.aBoolean4542) { - Class361 class361 = Class348_Sub45.aClass361Array7108[i]; - for (int i_32_ = 0; i_32_ < RuntimeException_Sub1.anInt4600; i_32_++) { - for (int i_33_ = 0; (RuntimeException_Sub1.anInt4600 > i_33_); i_33_++) { - int i_34_ = i_16_ + i_32_; - int i_35_ = i_33_ + i_17_; - int i_36_ = (class361.anIntArrayArray4438[(-class361.anInt4453 + i_34_)][(-class361.anInt4441 + i_35_)]); - if ((0x40240000 & i_36_) != 0) var_ha.method3675(4, (byte) -125, i_32_ * 4 + i_18_, -4 + (RuntimeException_Sub1.anInt4600 + -i_33_) * 4 + i_19_, 4, -1713569622); - else if ((0x800000 & i_36_) == 0) { - if ((i_36_ & 0x2000000) != 0) var_ha.method3660(3 + (i_18_ - -(i_32_ * 4)), -1713569622, 4, (-4 + (4 * (-i_33_ + (RuntimeException_Sub1.anInt4600)) + i_19_)), true); - else if ((i_36_ & 0x8000000) != 0) var_ha.method3649((byte) -126, 4, 3 + (i_19_ + ((RuntimeException_Sub1.anInt4600) - i_33_) * 4) + -4, -1713569622, i_18_ + 4 * i_32_); - else if ((0x20000000 & i_36_) != 0) var_ha.method3660(i_18_ + 4 * i_32_, -1713569622, 4, (4 * (-i_33_ + (RuntimeException_Sub1.anInt4600)) + (i_19_ - 4)), bool); - } else var_ha.method3649((byte) -113, 4, (-4 + i_19_ + 4 * (-i_33_ + (RuntimeException_Sub1.anInt4600))), -1713569622, i_32_ * 4 + i_18_); - } - } - } - var_ha.aa(i_18_, i_19_, 4 * RuntimeException_Sub1.anInt4600, RuntimeException_Sub1.anInt4600 * 4, i_15_, 2); - Class108.aClass105_1664.method979((-i_5_ + i_16_) * 4 + 48, (-(4 * (i_17_ - i_6_)) + 464 + -(RuntimeException_Sub1.anInt4600 * 4)), RuntimeException_Sub1.anInt4600 * 4, 4 * RuntimeException_Sub1.anInt4600, i_18_, i_19_); - } - } - var_ha.la(); - var_ha.GA(-16777215); - Class354.method3466(-86); - Class348_Sub40_Sub38.anInt9479 = 0; - Class318_Sub1_Sub5_Sub1.aClass262_10125.method1996(116); - if (!Class375.aBoolean4542) { - for (int i_37_ = i_5_; 104 + i_5_ > i_37_; i_37_++) { - for (int i_38_ = i_6_; 104 + i_6_ > i_38_; i_38_++) { - for (int i_39_ = i; i_39_ <= 1 + i && i_39_ <= 3; i_39_++) { - if (Class58.method536(i_38_, !bool, i_37_, i, i_39_)) { - Interface10 interface10 = ((Interface10) Class348_Sub16_Sub3.method2878(i_39_, i_37_, i_38_)); - if (interface10 == null) interface10 = ((Interface10) (Class177.method1353(i_39_, i_37_, i_38_, (aClass6767 != null ? aClass6767 : (aClass6767 = Interface10.class))))); - if (interface10 == null) interface10 = ((Interface10) r_Sub2.method3297(i_39_, i_37_, i_38_)); - if (interface10 == null) interface10 = ((Interface10) (Class348_Sub40_Sub32.method3135(i_39_, i_37_, i_38_))); - if (interface10 != null) { - Class51 class51 = (Class348_Sub40_Sub12.aClass263_9195.method2005(0, interface10.method42(-99))); - if (!class51.aBoolean942 || Class130.aBoolean1900) { - int i_40_ = class51.anInt921; - if (class51.anIntArray945 != null) { - for (int i_41_ = 0; ((class51.anIntArray945).length > i_41_); i_41_++) { - if ((class51.anIntArray945[i_41_]) != -1) { - Class51 class51_42_ = (Class348_Sub40_Sub12.aClass263_9195.method2005(0, (class51.anIntArray945[i_41_]))); - if (class51_42_.anInt921 >= 0) i_40_ = (class51_42_.anInt921); - } - } - } - if (i_40_ >= 0) { - boolean bool_43_ = false; - if (i_40_ >= 0) { - Class42 class42 = (Class348_Sub23_Sub2.aClass153_9031.method1225(i_40_, (byte) 126)); - if (class42 != null && (class42.aBoolean599)) bool_43_ = true; - } - int i_44_ = i_37_; - int i_45_ = i_38_; - if (bool_43_) { - int[][] is_46_ = (Class348_Sub45.aClass361Array7108[i_39_].anIntArrayArray4438); - int i_47_ = (Class348_Sub45.aClass361Array7108[i_39_].anInt4453); - int i_48_ = (Class348_Sub45.aClass361Array7108[i_39_].anInt4441); - for (int i_49_ = 0; i_49_ < 10; i_49_++) { - int i_50_ = (int) (Math.random() * 4.0); - if ((i_50_ == 0) && (i_44_ > i_5_) && i_37_ + -3 < i_44_ && ((0x2c0108 & (is_46_[(-i_47_ + (i_44_ - 1))][(-i_48_ + i_45_)])) == 0)) i_44_--; - if (i_50_ == 1 && (i_44_ < 104 + (i_5_ - 1)) && 3 + i_37_ > i_44_ && ((is_46_[(-i_47_ + 1 + i_44_)][i_45_ + -i_48_]) & 0x2c0180) == 0) i_44_++; - if ((i_50_ == 2) && (i_6_ < i_45_) && i_45_ > -3 + i_38_ && ((0x2c0102 & (is_46_[(-i_47_ + i_44_)][(i_45_ - 1 - i_48_)])) == 0)) i_45_--; - if (i_50_ == 3 && (104 + i_6_ - 1 > i_45_) && 3 + i_38_ > i_45_ && ((0x2c0120 & (is_46_[i_44_ - i_47_][(-i_48_ + 1 + i_45_)])) == 0)) i_45_++; - } - } - Class263.anIntArray3347[(Class348_Sub40_Sub38.anInt9479)] = class51.anInt941; - Class348_Sub15.anIntArray6770[(Class348_Sub40_Sub38.anInt9479)] = i_44_; - Class348_Sub40_Sub37.anIntArray9458[(Class348_Sub40_Sub38.anInt9479)] = i_45_; - Class348_Sub40_Sub38.anInt9479++; - } - } - } - } - } - } - } - if (r_Sub2.aClass252_10488 != null) { - Class95.aClass45_1541.anInt634 = 1; - Class348_Sub23_Sub2.aClass153_9031.method1220((byte) 116, 64, 1024); - for (int i_51_ = 0; i_51_ < r_Sub2.aClass252_10488.anInt3241; i_51_++) { - int i_52_ = (r_Sub2.aClass252_10488.anIntArray3238[i_51_]); - if ((Class132.aPlayer_1907.plane) == i_52_ >> 28) { - int i_53_ = ((i_52_ >> 14 & 0x3fff) - za_Sub2.regionTileX); - int i_54_ = (i_52_ & 0x3fff) + -Class90.regionTileY; - if (i_53_ >= 0 && i_53_ < Class367_Sub4.anInt7319 && i_54_ >= 0 && (Class348_Sub40_Sub3.anInt9109 > i_54_)) Class318_Sub1_Sub5_Sub1.aClass262_10125.method1999(new Class348_Sub35(i_51_), -20180); - else { - Class42 class42 = (Class348_Sub23_Sub2.aClass153_9031.method1225((r_Sub2.aClass252_10488.anIntArray3239[i_51_]), (byte) 120)); - if (class42.anIntArray591 != null && (i_53_ + class42.anInt595 >= 0) && (Class367_Sub4.anInt7319 > class42.anInt603 + i_53_) && i_54_ + class42.anInt570 >= 0 && (Class348_Sub40_Sub3.anInt9109 > (i_54_ - -class42.anInt607))) - Class318_Sub1_Sub5_Sub1.aClass262_10125.method1999(new Class348_Sub35(i_51_), -20180); - } - } - } - Class348_Sub23_Sub2.aClass153_9031.method1220((byte) 13, 64, 128); - Class95.aClass45_1541.anInt634 = 2; - Class95.aClass45_1541.method412((byte) -126); - } - } - return true; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ij.E(" + i + ',' + (var_ha != null ? "{...}" : "null") + ',' + bool + ')')); - } - } -} diff --git a/client/src/Class348_Sub15.java b/client/src/Class348_Sub15.java deleted file mode 100644 index a0171057f..000000000 --- a/client/src/Class348_Sub15.java +++ /dev/null @@ -1,89 +0,0 @@ -/* Class348_Sub15 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub15 extends Class348 { - Class55_Sub1 aClass55_Sub1_6768; - static int anInt6769; - static int[] anIntArray6770 = new int[1000]; - static int anInt6771; - boolean aBoolean6772; - int anInt6773; - static double aDouble6774; - static int[] anIntArray6775 = new int[13]; - boolean aBoolean6776; - static int anInt6777; - static int anInt6778; - static int anInt6779; - static int[][] anIntArrayArray6780 = {{12, 12, 12, 12}, {12, 12, 12, 12, 12, 5}, {5, 5, 1, 1}, {5, 1, 1, 5}, {5, 5, 5}, {5, 5, 5}, {12, 12, 12, 12, 12, 12}, {1, 12, 12, 12, 12, 12}, {1, 1, 7, 1}, {8, 9, 9, 8, 8, 3, 1, 9}, {8, 8, 9, 8, 9, 9}, {10, 10, 11, 11, 11, 7, 3, 7}, {12, 12, 12, 12}}; - boolean aBoolean6781; - int anInt6782; - boolean aBoolean6783; - - public static void method2810(byte i) { - anIntArray6770 = null; - anIntArray6775 = null; - if (i != 79) method2814(null, 57); - anIntArrayArray6780 = null; - } - - static final void method2811(boolean bool) { - anInt6777++; - if (Class348_Sub36.anInt6992 < 0) { - Class348_Sub36.anInt6992 = 0; - Class244.anInt4609 = -1; - Class48.anInt859 = -1; - } - if (Class348_Sub36.anInt6992 > Class75.anInt1259) { - Class348_Sub36.anInt6992 = Class75.anInt1259; - Class48.anInt859 = -1; - Class244.anInt4609 = -1; - } - if (Class245.anInt3170 < 0) { - Class48.anInt859 = -1; - Class245.anInt3170 = 0; - Class244.anInt4609 = -1; - } - if (Class75.anInt1267 < Class245.anInt3170) { - Class245.anInt3170 = Class75.anInt1267; - Class244.anInt4609 = -1; - Class48.anInt859 = -1; - } - if (bool != false) aDouble6774 = 1.5874482848681375; - } - - static final String method2812(int i, Class348_Sub42_Sub13 class348_sub42_sub13) { - anInt6779++; - if (i != -44) method2812(91, null); - return (class348_sub42_sub13.aString9617 + " >"); - } - - static final void method2813(boolean bool, int i, int i_0_) { - anInt6778++; - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i_0_, (byte) 105, 7); - class348_sub42_sub15.method3246(-25490); - if (bool != true) anInt6769 = -113; - class348_sub42_sub15.anInt9652 = i; - } - - static final void method2814(Class348_Sub16 class348_sub16, int i) { - class348_sub16.aBoolean6784 = false; - if (i >= 39) { - if (class348_sub16.aClass348_Sub19_6787 != null) class348_sub16.aClass348_Sub19_6787.anInt6824 = 0; - anInt6771++; - for (Class348_Sub16 class348_sub16_1_ = class348_sub16.method2816(); class348_sub16_1_ != null; class348_sub16_1_ = class348_sub16.method2818()) - method2814(class348_sub16_1_, 40); - } - } - - Class348_Sub15(int i, Class55_Sub1 class55_sub1, int i_2_, boolean bool) { - this.anInt6782 = i_2_; - this.aClass55_Sub1_6768 = class55_sub1; - this.anInt6773 = i; - this.aBoolean6776 = bool; - } - - static { - anInt6769 = -1; - } -} diff --git a/client/src/Class348_Sub16.java b/client/src/Class348_Sub16.java deleted file mode 100644 index 911b1d4ed..000000000 --- a/client/src/Class348_Sub16.java +++ /dev/null @@ -1,33 +0,0 @@ -/* Class348_Sub16 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class348_Sub16 extends Class348 { - volatile boolean aBoolean6784 = true; - Class348_Sub16 aClass348_Sub16_6785; - int anInt6786; - Class348_Sub19 aClass348_Sub19_6787; - - final void method2815(int[] is, int i, int i_0_) { - if (this.aBoolean6784) method2817(is, i, i_0_); - else method2819(i_0_); - } - - abstract Class348_Sub16 method2816(); - - abstract void method2817(int[] is, int i, int i_1_); - - abstract Class348_Sub16 method2818(); - - abstract void method2819(int i); - - int method2820() { - return 255; - } - - public Class348_Sub16() { - /* empty */ - } - - abstract int method2821(); -} diff --git a/client/src/Class348_Sub16_Sub1.java b/client/src/Class348_Sub16_Sub1.java deleted file mode 100644 index afa15a0bf..000000000 --- a/client/src/Class348_Sub16_Sub1.java +++ /dev/null @@ -1,169 +0,0 @@ -/* Class348_Sub16_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub16_Sub1 extends Class348_Sub16 { - static int anInt8845; - static int anInt8846; - static int anInt8847; - Class262 aClass262_8848 = new Class262(); - static int anInt8849; - static int anInt8850; - static int anInt8851; - private final Class348_Sub16_Sub3 aClass348_Sub16_Sub3_8852; - static Class74 aClass74_8853 = new Class74(11, 8); - static int anInt8854; - Class348_Sub16_Sub4 aClass348_Sub16_Sub4_8855 = new Class348_Sub16_Sub4(); - static int anInt8856; - static Class351 aClass351_8857 = new Class351(54, 15); - static int anInt8858; - static int anInt8859; - - final Class348_Sub16 method2818() { - anInt8856++; - Class348_Sub43 class348_sub43; - do { - class348_sub43 = (Class348_Sub43) this.aClass262_8848.method1990((byte) 122); - if (class348_sub43 == null) return null; - } while (class348_sub43.aClass348_Sub16_Sub5_7081 == null); - return class348_sub43.aClass348_Sub16_Sub5_7081; - } - - final void method2817(int[] is, int i, int i_0_) { - anInt8847++; - this.aClass348_Sub16_Sub4_8855.method2817(is, i, i_0_); - while_125_: - for (Class348_Sub43 class348_sub43 = ((Class348_Sub43) this.aClass262_8848.method1995(4)); class348_sub43 != null; class348_sub43 = (Class348_Sub43) this.aClass262_8848.method1990((byte) 121)) { - if (!aClass348_Sub16_Sub3_8852.method2847(-107, class348_sub43)) { - int i_1_ = i; - int i_2_ = i_0_; - while (class348_sub43.anInt7086 < i_2_) { - method2825(i_1_ + i_2_, class348_sub43, i_1_, (byte) -114, class348_sub43.anInt7086, is); - i_1_ += class348_sub43.anInt7086; - i_2_ -= class348_sub43.anInt7086; - if (aClass348_Sub16_Sub3_8852.method2852(is, i_2_, class348_sub43, i_1_, (byte) -4)) continue while_125_; - } - method2825(i_1_ + i_2_, class348_sub43, i_1_, (byte) -114, i_2_, is); - class348_sub43.anInt7086 -= i_2_; - } - } - } - - static final void method2822(int i, Class348_Sub49_Sub2 class348_sub49_sub2, int i_3_) { - Class101_Sub3.anInt5768 = 0; - anInt8846++; - Class55.aBoolean979 = false; - if (i < -17) { - Class348_Sub40_Sub18.method3094(-21478, class348_sub49_sub2); - Class375.method3612(75, class348_sub49_sub2); - if (Class55.aBoolean979) System.out.println("---endgpp---"); - if (class348_sub49_sub2.anInt7197 != i_3_) throw new RuntimeException("gpi1 pos:" + class348_sub49_sub2.anInt7197 + " psize:" + i_3_); - } - } - - public static void method2823(int i) { - if (i != 0) method2823(33); - aClass351_8857 = null; - aClass74_8853 = null; - } - - private final void method2824(int i, byte i_4_, Class348_Sub43 class348_sub43) { - if (((aClass348_Sub16_Sub3_8852.anIntArray8895[class348_sub43.anInt7067]) & 0x4) != 0 && (class348_sub43.anInt7087 < 0)) { - int i_5_ = ((aClass348_Sub16_Sub3_8852.anIntArray8906[class348_sub43.anInt7067]) / Class22.anInt339); - int i_6_ = ((-class348_sub43.anInt7082 + (1048575 + i_5_)) / i_5_); - class348_sub43.anInt7082 = (i_5_ * i + class348_sub43.anInt7082 & 0xfffff); - if (i_6_ <= i) { - if ((aClass348_Sub16_Sub3_8852.anIntArray8914[class348_sub43.anInt7067]) != 0) { - class348_sub43.aClass348_Sub16_Sub5_7081 = (Class348_Sub16_Sub5.method2911((class348_sub43.aClass348_Sub19_Sub1_7077), class348_sub43.aClass348_Sub16_Sub5_7081.method2914(), 0, class348_sub43.aClass348_Sub16_Sub5_7081.method2892())); - aClass348_Sub16_Sub3_8852.method2874(95, (class348_sub43.aClass348_Sub17_7085.aShortArray6795[class348_sub43.anInt7071]) < 0, class348_sub43); - } else - class348_sub43.aClass348_Sub16_Sub5_7081 = (Class348_Sub16_Sub5.method2911((class348_sub43.aClass348_Sub19_Sub1_7077), class348_sub43.aClass348_Sub16_Sub5_7081.method2914(), class348_sub43.aClass348_Sub16_Sub5_7081.method2906(), class348_sub43.aClass348_Sub16_Sub5_7081.method2892())); - if ((class348_sub43.aClass348_Sub17_7085.aShortArray6795[class348_sub43.anInt7071]) < 0) class348_sub43.aClass348_Sub16_Sub5_7081.method2917(-1); - i = class348_sub43.anInt7082 / i_5_; - } - } - anInt8849++; - int i_7_ = -70 / ((14 - i_4_) / 61); - class348_sub43.aClass348_Sub16_Sub5_7081.method2819(i); - } - - final int method2821() { - anInt8858++; - return 0; - } - - final void method2819(int i) { - this.aClass348_Sub16_Sub4_8855.method2819(i); - anInt8850++; - while_127_: - for (Class348_Sub43 class348_sub43 = ((Class348_Sub43) this.aClass262_8848.method1995(4)); class348_sub43 != null; class348_sub43 = (Class348_Sub43) this.aClass262_8848.method1990((byte) 38)) { - if (!aClass348_Sub16_Sub3_8852.method2847(53, class348_sub43)) { - int i_8_ = i; - while (i_8_ > class348_sub43.anInt7086) { - method2824(class348_sub43.anInt7086, (byte) 115, class348_sub43); - i_8_ -= class348_sub43.anInt7086; - if (aClass348_Sub16_Sub3_8852.method2852(null, i_8_, class348_sub43, 0, (byte) -4)) continue while_127_; - } - method2824(i_8_, (byte) 84, class348_sub43); - class348_sub43.anInt7086 -= i_8_; - } - } - } - - private final void method2825(int i, Class348_Sub43 class348_sub43, int i_9_, byte i_10_, int i_11_, int[] is) { - try { - anInt8859++; - if (i_10_ != -114) method2821(); - if ((0x4 & (aClass348_Sub16_Sub3_8852.anIntArray8895[class348_sub43.anInt7067])) != 0 && (class348_sub43.anInt7087 < 0)) { - int i_12_ = ((aClass348_Sub16_Sub3_8852.anIntArray8906[class348_sub43.anInt7067]) / Class22.anInt339); - for (; ; ) { - int i_13_ = ((i_12_ + (1048575 + -class348_sub43.anInt7082)) / i_12_); - if (i_13_ > i_11_) break; - class348_sub43.aClass348_Sub16_Sub5_7081.method2817(is, i_9_, i_13_); - i_9_ += i_13_; - class348_sub43.anInt7082 += -1048576 + i_12_ * i_13_; - i_11_ -= i_13_; - int i_14_ = Class22.anInt339 / 100; - int i_15_ = 262144 / i_12_; - if (i_15_ < i_14_) i_14_ = i_15_; - Class348_Sub16_Sub5 class348_sub16_sub5 = (class348_sub43.aClass348_Sub16_Sub5_7081); - if ((aClass348_Sub16_Sub3_8852.anIntArray8914[class348_sub43.anInt7067]) != 0) { - class348_sub43.aClass348_Sub16_Sub5_7081 = (Class348_Sub16_Sub5.method2911((class348_sub43.aClass348_Sub19_Sub1_7077), class348_sub16_sub5.method2914(), 0, class348_sub16_sub5.method2892())); - aClass348_Sub16_Sub3_8852.method2874(116, ((class348_sub43.aClass348_Sub17_7085.aShortArray6795[class348_sub43.anInt7071]) < 0), class348_sub43); - class348_sub43.aClass348_Sub16_Sub5_7081.method2916(i_14_, class348_sub16_sub5.method2906()); - } else class348_sub43.aClass348_Sub16_Sub5_7081 = (Class348_Sub16_Sub5.method2911((class348_sub43.aClass348_Sub19_Sub1_7077), class348_sub16_sub5.method2914(), class348_sub16_sub5.method2906(), class348_sub16_sub5.method2892())); - if ((class348_sub43.aClass348_Sub17_7085.aShortArray6795[class348_sub43.anInt7071]) < 0) class348_sub43.aClass348_Sub16_Sub5_7081.method2917(-1); - class348_sub16_sub5.method2902(i_14_); - class348_sub16_sub5.method2817(is, i_9_, -i_9_ + i); - if (class348_sub16_sub5.method2895()) this.aClass348_Sub16_Sub4_8855.method2883(class348_sub16_sub5); - } - class348_sub43.anInt7082 += i_11_ * i_12_; - } - class348_sub43.aClass348_Sub16_Sub5_7081.method2817(is, i_9_, i_11_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bea.H(" + i + ',' + (class348_sub43 != null ? "{...}" : "null") + ',' + i_9_ + ',' + i_10_ + ',' + i_11_ + ',' + (is != null ? "{...}" : "null") + ')')); - } - } - - static final Class47 method2826(int i) { - anInt8845++; - try { - return new Class47_Sub2(); - } catch (Throwable throwable) { - if (i != 15) return null; - return new Class47_Sub1(); - } - } - - final Class348_Sub16 method2816() { - anInt8851++; - Class348_Sub43 class348_sub43 = ((Class348_Sub43) this.aClass262_8848.method1995(4)); - if (class348_sub43 == null) return null; - if (class348_sub43.aClass348_Sub16_Sub5_7081 != null) return class348_sub43.aClass348_Sub16_Sub5_7081; - return method2818(); - } - - Class348_Sub16_Sub1(Class348_Sub16_Sub3 class348_sub16_sub3) { - aClass348_Sub16_Sub3_8852 = class348_sub16_sub3; - } -} diff --git a/client/src/Class348_Sub16_Sub2.java b/client/src/Class348_Sub16_Sub2.java deleted file mode 100644 index c40f9a893..000000000 --- a/client/src/Class348_Sub16_Sub2.java +++ /dev/null @@ -1,216 +0,0 @@ -/* Class348_Sub16_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub16_Sub2 extends Class348_Sub16 { - static int anInt8860; - private Class262 aClass262_8861 = new Class262(); - static int[] anIntArray8862; - static int anInt8863; - static int anInt8864; - static int anInt8865; - static long aLong8866; - static int anInt8867; - static int anInt8868; - static double aDouble8869; - static boolean aBoolean8870 = true; - static int anInt8871; - static int anInt8872; - static int anInt8873; - static boolean aBoolean8874; - static int anInt8875; - static int anInt8876; - static int anInt8877; - static int anInt8878; - private final int anInt8879; - static int anInt8880; - static int anInt8881; - static int anInt8882; - private int anInt8883; - private boolean aBoolean8884; - private int anInt8885 = 256; - private boolean aBoolean8886; - private int anInt8887 = 256; - private int anInt8888 = 0; - - final void method2827(int i, int i_0_) { - anInt8885 = i_0_; - anInt8887 = i_0_; - if (i != -17708) method2830(-93); - anInt8880++; - } - - private final synchronized Class348_Sub42_Sub4 method2828(int i) { - if (i != -23076) method2817(null, 71, 78); - anInt8872++; - return (Class348_Sub42_Sub4) aClass262_8861.method1995(i + 23080); - } - - final Class348_Sub16 method2818() { - anInt8877++; - return null; - } - - final synchronized int method2829(int i) { - anInt8871++; - if (i >= -33) method2831((byte) 84); - return anInt8888; - } - - public static void method2830(int i) { - if (i != 0) method2834((byte) 68, null); - anIntArray8862 = null; - } - - private final synchronized void method2831(byte i) { - anInt8875++; - int i_1_ = -13 / ((-66 - i) / 49); - Class348_Sub42_Sub4 class348_sub42_sub4 = method2828(-23076); - if (class348_sub42_sub4 != null) { - class348_sub42_sub4.method2715((byte) 71); - anInt8888--; - anInt8883 = 0; - Class348_Sub40_Sub10.aClass308_9180.method2305(class348_sub42_sub4.method3182(90), class348_sub42_sub4, -1); - } - } - - static final void method2832(int[] is, long[] ls, int i) { - try { - IOException_Sub1.method129(i, i + -107, ls, ls.length - 1, is); - anInt8882++; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("iha.I(" + (is != null ? "{...}" : "null") + ',' + (ls != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - final synchronized void method2817(int[] is, int i, int i_2_) { - anInt8863++; - if (!aBoolean8886) { - if (method2828(-23076) == null) { - if (aBoolean8884) { - this.method2715((byte) 23); - Class348_Sub40_Sub10.aClass308_9180.method2303(true); - } - } else { - int i_3_ = i - -i_2_; - if (Class282.aBoolean3652) i_3_ <<= 1; - int i_4_ = 0; - int i_5_ = 0; - if (anInt8879 == 2) i_5_ = 1; - while (i_3_ > i) { - Class348_Sub42_Sub4 class348_sub42_sub4 = method2828(-23076); - if (class348_sub42_sub4 == null) break; - short[][] is_6_; - for (is_6_ = (class348_sub42_sub4.aShortArrayArray9518); i < i_3_ && anInt8883 < is_6_[0].length; anInt8883++) { - if (Class282.aBoolean3652) { - is[i++] = anInt8885 * is_6_[i_4_][anInt8883]; - is[i++] = is_6_[i_5_][anInt8883] * anInt8887; - } else is[i++] += (is_6_[i_5_][anInt8883] * anInt8887 + anInt8885 * is_6_[i_4_][anInt8883]); - } - if (anInt8883 >= is_6_[0].length) method2831((byte) -126); - } - } - } - } - - final synchronized void method2833(int i, boolean bool) { - if (i != 1) aDouble8869 = -2.8743710633758983; - aBoolean8886 = bool; - anInt8878++; - } - - static final Class369 method2834(byte i, Class348_Sub49 class348_sub49) { - anInt8876++; - Class221 class221 = Class158.method1248(15)[class348_sub49.readUnsignedByte(255)]; - if (i > -113) aDouble8869 = -1.5911312034627048; - Class341 class341 = Class62.method596(20000)[class348_sub49.readUnsignedByte(255)]; - int i_7_ = class348_sub49.readShort(13638); - int i_8_ = class348_sub49.readShort(13638); - int i_9_ = class348_sub49.readUnsignedShort(842397944); - int i_10_ = class348_sub49.readUnsignedShort(842397944); - int i_11_ = class348_sub49.readShort(13638); - int i_12_ = class348_sub49.readInt((byte) -126); - int i_13_ = class348_sub49.readInt((byte) -126); - return new Class369(class221, class341, i_7_, i_8_, i_9_, i_10_, i_11_, i_12_, i_13_); - } - - final synchronized void method2835(Class348_Sub42_Sub4 class348_sub42_sub4, int i) { - for (/**/; anInt8888 >= 100; anInt8888--) - aClass262_8861.method1997(8); - if (i == 30700) { - anInt8881++; - aClass262_8861.method1999(class348_sub42_sub4, -20180); - anInt8888++; - } - } - - final Class348_Sub16 method2816() { - anInt8867++; - return null; - } - - final synchronized void method2836(int i) { - aBoolean8884 = true; - if (i != -1) aClass262_8861 = null; - anInt8865++; - } - - final synchronized double method2837(int i) { - anInt8868++; - if (anInt8888 < 1) return -1.0; - if (i != -21987) method2818(); - Class348_Sub42_Sub4 class348_sub42_sub4 = (Class348_Sub42_Sub4) aClass262_8861.method1995(4); - if (class348_sub42_sub4 == null) return -1.0; - return ((double) -((float) (class348_sub42_sub4.aShortArrayArray9518[0]).length / (float) Class22.anInt339) + class348_sub42_sub4.aDouble9512); - } - - final Class348_Sub42_Sub4 method2838(int i, double d, int i_14_) { - anInt8860++; - long l = i | anInt8879 << 0; - Class348_Sub42_Sub4 class348_sub42_sub4 = ((Class348_Sub42_Sub4) Class348_Sub40_Sub10.aClass308_9180.method2302(l, (byte) -31)); - if (i_14_ != 1401320384) return null; - if (class348_sub42_sub4 == null) class348_sub42_sub4 = new Class348_Sub42_Sub4(new short[anInt8879][i], d); - else { - class348_sub42_sub4.aDouble9512 = d; - Class348_Sub40_Sub10.aClass308_9180.method2304(-121, l); - } - return class348_sub42_sub4; - } - - final synchronized void method2819(int i) { - anInt8864++; - if (!aBoolean8886) { - for (; ; ) { - Class348_Sub42_Sub4 class348_sub42_sub4 = method2828(-23076); - if (class348_sub42_sub4 == null) { - if (aBoolean8884) { - this.method2715((byte) 108); - Class348_Sub40_Sub10.aClass308_9180.method2303(true); - } - break; - } - if ((class348_sub42_sub4.aShortArrayArray9518[0]).length - anInt8883 > i) { - anInt8883 += i; - break; - } - i -= -anInt8883 + (class348_sub42_sub4.aShortArrayArray9518[0]).length; - method2831((byte) 111); - } - } - } - - final int method2821() { - anInt8873++; - return 1; - } - - Class348_Sub16_Sub2(int i) { - anInt8879 = i; - } - - static { - anIntArray8862 = new int[4096]; - aBoolean8874 = false; - aLong8866 = 0L; - } -} diff --git a/client/src/Class348_Sub16_Sub3.java b/client/src/Class348_Sub16_Sub3.java deleted file mode 100644 index eceaadafb..000000000 --- a/client/src/Class348_Sub16_Sub3.java +++ /dev/null @@ -1,977 +0,0 @@ -/* Class348_Sub16_Sub3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.net.URL; - -final class Class348_Sub16_Sub3 extends Class348_Sub16 { - static int anInt8889; - static int anInt8890; - private final Class356 aClass356_8891; - static int anInt8892; - static int anInt8893; - private final int[] anIntArray8894; - int[] anIntArray8895; - private final int[] anIntArray8896; - static int anInt8897; - static int anInt8898; - private final int[] anIntArray8899; - static int anInt8900; - static int anInt8901; - private int[] anIntArray8902; - static int anInt8903; - private final int[] anIntArray8904; - static int anInt8905; - int[] anIntArray8906; - static int anInt8907; - static int anInt8908; - static int anInt8909; - static int[][] anIntArrayArray8910 = {{0, 1, 2, 3}, {1, 2, 3, 0}, {1, 2, -1, 0}, {2, 0, -1, 1}, {0, 1, -1, 2}, {1, 2, -1, 0}, {-1, 4, -1, 1}, {-1, 1, 3, -1}, {-1, 0, 2, -1}, {3, 5, 2, 0}, {0, 2, 5, 3}, {0, 2, 3, 5}, {0, 1, 2, 3}}; - static int anInt8911; - static int anInt8912; - static int anInt8913; - int[] anIntArray8914; - private final Class348_Sub43[][] aClass348_Sub43ArrayArray8915; - private int[] anIntArray8916; - static int anInt8917; - static int anInt8918; - static int anInt8919; - static int anInt8920; - private final int anInt8921; - static int anInt8922; - static int anInt8923; - static int anInt8924; - private final int[] anIntArray8925; - static Class45 aClass45_8926; - static int anInt8927; - private final Class348_Sub43[][] aClass348_Sub43ArrayArray8928; - static int anInt8929; - static int anInt8930; - static int anInt8931; - static int anInt8932; - private int anInt8933; - static int anInt8934; - static int anInt8935; - static int anInt8936; - private int[] anIntArray8937; - static int anInt8938; - private final int[] anIntArray8939; - static int anInt8940; - static int anInt8941; - private int[] anIntArray8942; - static int anInt8943; - private Class204 aClass204_8944; - private final int[] anIntArray8945; - static int anInt8946; - private int[] anIntArray8947; - static int anInt8948; - static int anInt8949; - static int anInt8950; - static int anInt8951; - static int anInt8952; - private final int[] anIntArray8953; - static int anInt8954; - static int anInt8955; - private int anInt8956; - private long aLong8957; - private Class348_Sub16_Sub1 aClass348_Sub16_Sub1_8958; - private long aLong8959; - private int anInt8960; - private boolean aBoolean8961; - private int anInt8962; - private Class348_Sub2 aClass348_Sub2_8963; - private boolean aBoolean8964; - - static final void method2839(int i, int i_0_, int i_1_) { - anInt8890++; - Class244.anInt4609 = i - Class75.anInt1266; - Class48.anInt859 = i_1_ + -Class75.anInt1263; - if (i_0_ != -17) method2839(-112, -58, -95); - } - - final synchronized Class348_Sub16 method2818() { - anInt8946++; - return null; - } - - private final synchronized void method2840(boolean bool, byte i) { - aClass204_8944.method1487(); - anInt8950++; - aClass348_Sub2_8963 = null; - method2851(true, bool); - if (i >= -74) method2879(-43, 88, -33); - } - - final synchronized void method2841(int i, int i_2_, int i_3_) { - if (i_2_ < -34) { - anInt8935++; - method2854(i_3_, i, 98); - } - } - - private final void method2842(int i, int i_4_) { - anInt8922++; - int i_5_ = i_4_ & 0xf0; - if (i_5_ == 128) { - int i_6_ = i_4_ & 0xf; - int i_7_ = (0x7f44 & i_4_) >> 8; - int i_8_ = (0x7f9fe0 & i_4_) >> 16; - method2849(i_8_, i_7_, (byte) 97, i_6_); - } else if (i_5_ == 144) { - int i_9_ = 0xf & i_4_; - int i_10_ = 0x7f & i_4_ >> 8; - int i_11_ = 0x7f & i_4_ >> 16; - if (i_11_ <= 0) method2849(64, i_10_, (byte) 74, i_9_); - else method2853(0, i_11_, i_10_, i_9_); - } else if (i_5_ == 160) { - int i_12_ = 0xf & i_4_; - int i_13_ = i_4_ >> 8 & 0x7f; - int i_14_ = (i_4_ & 0x7fba60) >> 16; - method2863(i_14_, 90, i_12_, i_13_); - } else if (i_5_ == 176) { - int i_15_ = 0xf & i_4_; - int i_16_ = (0x7f93 & i_4_) >> 8; - int i_17_ = 0x7f & i_4_ >> 16; - if (i_16_ == 0) anIntArray8947[i_15_] = ((i_17_ << 14) + Class139.method1166(anIntArray8947[i_15_], -2080769)); - if (i_16_ == 32) anIntArray8947[i_15_] = ((i_17_ << 7) + Class139.method1166(anIntArray8947[i_15_], -16257)); - if (i_16_ == 1) anIntArray8899[i_15_] = (Class139.method1166(-16257, anIntArray8899[i_15_]) + (i_17_ << 7)); - if (i_16_ == 33) anIntArray8899[i_15_] = (Class139.method1166(anIntArray8899[i_15_], -128) - -i_17_); - if (i_16_ == 5) anIntArray8939[i_15_] = (Class139.method1166(anIntArray8939[i_15_], -16257) - -(i_17_ << 7)); - if (i_16_ == 37) anIntArray8939[i_15_] = i_17_ + Class139.method1166(-128, anIntArray8939[i_15_]); - if (i_16_ == 7) anIntArray8953[i_15_] = ((i_17_ << 7) + Class139.method1166(-16257, anIntArray8953[i_15_])); - if (i_16_ == 39) anIntArray8953[i_15_] = i_17_ + Class139.method1166(anIntArray8953[i_15_], -128); - if (i_16_ == 10) anIntArray8894[i_15_] = ((i_17_ << 7) + Class139.method1166(anIntArray8894[i_15_], -16257)); - if (i_16_ == 42) anIntArray8894[i_15_] = i_17_ + Class139.method1166(anIntArray8894[i_15_], -128); - if (i_16_ == 11) anIntArray8896[i_15_] = ((i_17_ << 7) + Class139.method1166(-16257, anIntArray8896[i_15_])); - if (i_16_ == 43) anIntArray8896[i_15_] = (Class139.method1166(-128, anIntArray8896[i_15_]) - -i_17_); - if (i_16_ == 64) { - if (i_17_ < 64) this.anIntArray8895[i_15_] = Class139.method1166((this.anIntArray8895[i_15_]), -2); - else this.anIntArray8895[i_15_] = Class273.method2057((this.anIntArray8895[i_15_]), 1); - } - if (i_16_ == 65) { - if (i_17_ >= 64) this.anIntArray8895[i_15_] = Class273.method2057((this.anIntArray8895[i_15_]), 2); - else { - method2858(-106, i_15_); - this.anIntArray8895[i_15_] = Class139.method1166((this.anIntArray8895[i_15_]), -3); - } - } - if (i_16_ == 99) anIntArray8904[i_15_] = ((i_17_ << 7) + Class139.method1166(127, anIntArray8904[i_15_])); - if (i_16_ == 98) anIntArray8904[i_15_] = (Class139.method1166(16256, anIntArray8904[i_15_]) + i_17_); - if (i_16_ == 101) anIntArray8904[i_15_] = (16384 - -Class139.method1166(anIntArray8904[i_15_], 127) + (i_17_ << 7)); - if (i_16_ == 100) anIntArray8904[i_15_] = i_17_ + (Class139.method1166(16256, anIntArray8904[i_15_]) + 16384); - if (i_16_ == 120) method2872(2005674600, i_15_); - if (i_16_ == 121) method2865(0, i_15_); - if (i_16_ == 123) method2855(i_15_, (byte) -70); - if (i_16_ == 6) { - int i_18_ = anIntArray8904[i_15_]; - if (i_18_ == 16384) anIntArray8902[i_15_] = ((i_17_ << 7) + Class139.method1166(anIntArray8902[i_15_], -16257)); - } - if (i_16_ == 38) { - int i_19_ = anIntArray8904[i_15_]; - if (i_19_ == 16384) anIntArray8902[i_15_] = i_17_ + Class139.method1166(-128, anIntArray8902[i_15_]); - } - if (i_16_ == 16) this.anIntArray8914[i_15_] = (Class139.method1166(-16257, (this.anIntArray8914[i_15_])) + (i_17_ << 7)); - if (i_16_ == 48) this.anIntArray8914[i_15_] = Class139.method1166((this.anIntArray8914[i_15_]), -128) - -i_17_; - if (i_16_ == 81) { - if (i_17_ >= 64) this.anIntArray8895[i_15_] = Class273.method2057((this.anIntArray8895[i_15_]), 4); - else { - method2850(i_15_, 0); - this.anIntArray8895[i_15_] = Class139.method1166((this.anIntArray8895[i_15_]), -5); - } - } - if (i_16_ == 17) method2857(i_15_, 125, (i_17_ << 7) + (~0x3f80 & anIntArray8942[i_15_])); - if (i_16_ == 49) method2857(i_15_, 125, i_17_ + (~0x7f & anIntArray8942[i_15_])); - } else if (i_5_ == 192) { - int i_20_ = i_4_ & 0xf; - int i_21_ = 0x7f & i_4_ >> 8; - method2873((byte) -21, anIntArray8947[i_20_] + i_21_, i_20_); - } else if (i_5_ == 208) { - int i_22_ = 0xf & i_4_; - int i_23_ = (0x7f48 & i_4_) >> 8; - method2859(i_22_, i_23_, -32); - } else { - if (i < 54) anInt8956 = -51; - if (i_5_ == 224) { - int i_24_ = 0xf & i_4_; - int i_25_ = ((0x7f & i_4_ >> 8) + ((0x7f0064 & i_4_) >> 9)); - method2875(i_24_, 2, i_25_); - } else { - i_5_ = 0xff & i_4_; - if (i_5_ == 255) method2851(true, true); - } - } - } - - final synchronized void method2843(int i, int i_26_, int i_27_) { - if (i_26_ < 0) { - for (int i_28_ = 0; i_28_ < 16; i_28_++) - anIntArray8925[i_28_] = i; - } else anIntArray8925[i_26_] = i; - anInt8907++; - if (i_27_ != -7836) method2843(41, 73, 85); - } - - final int method2844(byte i) { - int i_29_ = -88 / ((8 - i) / 40); - anInt8892++; - return anInt8933; - } - - private final int method2845(int i, Class348_Sub43 class348_sub43) { - try { - if (i != 0) anInt8956 = 53; - anInt8934++; - int i_30_ = (class348_sub43.anInt7080 - -((class348_sub43.anInt7072 * class348_sub43.anInt7089) >> 12)); - i_30_ += (((anIntArray8937[class348_sub43.anInt7067]) - 8192) * anIntArray8902[(class348_sub43.anInt7067)]) >> 12; - Class23 class23 = class348_sub43.aClass23_7075; - if (class23.anInt352 > 0 && (class23.anInt353 > 0 || (anIntArray8899[class348_sub43.anInt7067]) > 0)) { - int i_31_ = class23.anInt353 << 2; - int i_32_ = class23.anInt346 << 1; - if (i_32_ > class348_sub43.anInt7083) i_31_ = (i_31_ * class348_sub43.anInt7083 / i_32_); - i_31_ += anIntArray8899[(class348_sub43.anInt7067)] >> 7; - double d = Math.sin((double) ((class348_sub43.anInt7076) & 0x1ff) * 0.01227184630308513); - i_30_ += (int) (d * (double) i_31_); - } - int i_33_ = (int) (((double) (class348_sub43.aClass348_Sub19_Sub1_7077.anInt8988 * 256) * Math.pow(2.0, 3.255208333333333E-4 * (double) i_30_) / (double) Class22.anInt339) + 0.5); - return Math.max(i_33_, 1); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ma.JA(" + i + ',' + (class348_sub43 != null ? "{...}" : "null") + ')')); - } - } - - private final synchronized void method2846(boolean bool, boolean bool_34_, Class348_Sub2 class348_sub2, boolean bool_35_) { - do { - try { - method2840(bool_34_, (byte) -127); - anInt8889++; - aClass204_8944.method1482(class348_sub2.aByteArray6564); - aLong8959 = 0L; - aBoolean8961 = bool_35_; - int i = aClass204_8944.method1483(); - for (int i_36_ = 0; i_36_ < i; i_36_++) { - aClass204_8944.method1492(i_36_); - aClass204_8944.method1485(i_36_); - aClass204_8944.method1486(i_36_); - } - anInt8960 = aClass204_8944.method1490(); - anInt8956 = aClass204_8944.anIntArray2681[anInt8960]; - aLong8957 = aClass204_8944.method1488(anInt8956); - if (bool == false) break; - aClass348_Sub16_Sub1_8958 = null; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ma.T(" + bool + ',' + bool_34_ + ',' + (class348_sub2 != null ? "{...}" : "null") + ',' + bool_35_ + ')')); - } - break; - } while (false); - } - - final boolean method2847(int i, Class348_Sub43 class348_sub43) { - try { - anInt8948++; - int i_37_ = 47 / ((i - -62) / 36); - if (class348_sub43.aClass348_Sub16_Sub5_7081 == null) { - if (class348_sub43.anInt7087 >= 0) { - class348_sub43.method2715((byte) 97); - if (class348_sub43.anInt7088 > 0 && (class348_sub43 == (aClass348_Sub43ArrayArray8915[class348_sub43.anInt7067][(class348_sub43.anInt7088)]))) aClass348_Sub43ArrayArray8915[class348_sub43.anInt7067][class348_sub43.anInt7088] = null; - } - return true; - } - return false; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ma.W(" + i + ',' + (class348_sub43 != null ? "{...}" : "null") + ')')); - } - } - - private final int method2848(Class348_Sub43 class348_sub43, byte i) { - try { - if (i != -70) anIntArray8942 = null; - anInt8936++; - int i_38_ = anIntArray8894[class348_sub43.anInt7067]; - if (i_38_ >= 8192) return 16384 - ((-class348_sub43.anInt7074 + 128) * (16384 - i_38_) - -32 >> 6); - return (class348_sub43.anInt7074 * i_38_ - -32 >> 6); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ma.GA(" + (class348_sub43 != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - private final void method2849(int i, int i_39_, byte i_40_, int i_41_) { - anInt8941++; - Class348_Sub43 class348_sub43 = aClass348_Sub43ArrayArray8928[i_41_][i_39_]; - if (class348_sub43 != null) { - int i_42_ = -123 % ((i_40_ - 24) / 42); - aClass348_Sub43ArrayArray8928[i_41_][i_39_] = null; - if ((this.anIntArray8895[i_41_] & 0x2) != 0) { - for (Class348_Sub43 class348_sub43_43_ = ((Class348_Sub43) aClass348_Sub16_Sub1_8958.aClass262_8848.method1995(4)); class348_sub43_43_ != null; class348_sub43_43_ = ((Class348_Sub43) aClass348_Sub16_Sub1_8958.aClass262_8848.method1990((byte) 36))) { - if ((class348_sub43_43_.anInt7067 == class348_sub43.anInt7067) && class348_sub43_43_.anInt7087 < 0 && class348_sub43 != class348_sub43_43_) { - class348_sub43.anInt7087 = 0; - break; - } - } - } else class348_sub43.anInt7087 = 0; - } - } - - private final void method2850(int i, int i_44_) { - if ((0x4 & this.anIntArray8895[i]) != 0) { - for (Class348_Sub43 class348_sub43 = ((Class348_Sub43) aClass348_Sub16_Sub1_8958.aClass262_8848.method1995(4)); class348_sub43 != null; class348_sub43 = ((Class348_Sub43) aClass348_Sub16_Sub1_8958.aClass262_8848.method1990((byte) 65))) { - if (i == class348_sub43.anInt7067) class348_sub43.anInt7082 = 0; - } - } - if (i_44_ == 0) anInt8897++; - } - - private final void method2851(boolean bool, boolean bool_45_) { - if (bool_45_) method2872(2005674600, -1); - else method2855(-1, (byte) -79); - anInt8951++; - method2865(0, -1); - if (bool != true) anIntArray8947 = null; - for (int i = 0; i < 16; i++) - anIntArray8916[i] = anIntArray8945[i]; - for (int i = 0; i < 16; i++) - anIntArray8947[i] = Class139.method1166(anIntArray8945[i], -128); - } - - final boolean method2852(int[] is, int i, Class348_Sub43 class348_sub43, int i_46_, byte i_47_) { - try { - class348_sub43.anInt7086 = Class22.anInt339 / 100; - anInt8952++; - if (class348_sub43.anInt7087 >= 0 && ((class348_sub43.aClass348_Sub16_Sub5_7081) == null || class348_sub43.aClass348_Sub16_Sub5_7081.method2890())) { - class348_sub43.method3299((byte) 36); - class348_sub43.method2715((byte) 66); - if (class348_sub43.anInt7088 > 0 && (class348_sub43 == (aClass348_Sub43ArrayArray8915[class348_sub43.anInt7067][class348_sub43.anInt7088]))) aClass348_Sub43ArrayArray8915[class348_sub43.anInt7067][class348_sub43.anInt7088] = null; - return true; - } - int i_48_ = class348_sub43.anInt7089; - if (i_47_ != -4) return false; - if (i_48_ > 0) { - i_48_ -= (int) (0.5 + (16.0 * Math.pow(2.0, (4.921259842519685E-4 * (double) (anIntArray8939[(class348_sub43.anInt7067)]))))); - if (i_48_ < 0) i_48_ = 0; - class348_sub43.anInt7089 = i_48_; - } - class348_sub43.aClass348_Sub16_Sub5_7081.method2901(method2845(0, class348_sub43)); - Class23 class23 = class348_sub43.aClass23_7075; - boolean bool = false; - class348_sub43.anInt7076 += class23.anInt352; - class348_sub43.anInt7083++; - double d = (double) ((class348_sub43.anInt7071 - 60 << 8) - -((class348_sub43.anInt7072 * class348_sub43.anInt7089) >> 12)) * 5.086263020833333E-6; - if (class23.anInt347 > 0) { - if (class23.anInt350 <= 0) class348_sub43.anInt7090 += 128; - else class348_sub43.anInt7090 += (int) ((128.0 * Math.pow(2.0, (double) (class23.anInt350) * d)) + 0.5); - if ((class23.anInt347 * class348_sub43.anInt7090) >= 819200) bool = true; - } - if (class23.aByteArray348 != null) { - if (class23.anInt345 > 0) class348_sub43.anInt7070 += (int) (0.5 + (128.0 * Math.pow(2.0, d * (double) (class23.anInt345)))); - else class348_sub43.anInt7070 += 128; - for (/**/; ((class348_sub43.anInt7069 < -2 + class23.aByteArray348.length) && (class348_sub43.anInt7070 > (0xff00 & (class23.aByteArray348[2 + (class348_sub43.anInt7069)]) << 8))); class348_sub43.anInt7069 += 2) { - /* empty */ - } - if ((class348_sub43.anInt7069 == -2 + class23.aByteArray348.length) && ((class23.aByteArray348[1 + class348_sub43.anInt7069]) == 0)) bool = true; - } - if (class348_sub43.anInt7087 >= 0 && class23.aByteArray344 != null && (0x1 & (this.anIntArray8895[class348_sub43.anInt7067])) == 0 && (class348_sub43.anInt7088 < 0 || ((aClass348_Sub43ArrayArray8915[class348_sub43.anInt7067][class348_sub43.anInt7088]) != class348_sub43))) { - if (class23.anInt349 > 0) class348_sub43.anInt7087 += (int) ((Math.pow(2.0, (double) (class23.anInt349) * d) * 128.0) + 0.5); - else class348_sub43.anInt7087 += 128; - for (/**/; ((class348_sub43.anInt7084 < -2 + class23.aByteArray344.length) && (((class23.aByteArray344[(class348_sub43.anInt7084 - -2)]) << 8 & 0xff00) < class348_sub43.anInt7087)); class348_sub43.anInt7084 += 2) { - /* empty */ - } - if (class348_sub43.anInt7084 == -2 + class23.aByteArray344.length) bool = true; - } - if (bool) { - class348_sub43.aClass348_Sub16_Sub5_7081.method2902(class348_sub43.anInt7086); - if (is == null) class348_sub43.aClass348_Sub16_Sub5_7081.method2819(i); - else class348_sub43.aClass348_Sub16_Sub5_7081.method2817(is, i_46_, i); - if (class348_sub43.aClass348_Sub16_Sub5_7081.method2895()) aClass348_Sub16_Sub1_8958.aClass348_Sub16_Sub4_8855.method2883(class348_sub43.aClass348_Sub16_Sub5_7081); - class348_sub43.method3299((byte) -100); - if (class348_sub43.anInt7087 >= 0) { - class348_sub43.method2715((byte) 124); - if (class348_sub43.anInt7088 > 0 && (class348_sub43 == (aClass348_Sub43ArrayArray8915[class348_sub43.anInt7067][(class348_sub43.anInt7088)]))) aClass348_Sub43ArrayArray8915[class348_sub43.anInt7067][class348_sub43.anInt7088] = null; - } - return true; - } - class348_sub43.aClass348_Sub16_Sub5_7081.method2888(class348_sub43.anInt7086, method2868(class348_sub43, -76), method2848(class348_sub43, (byte) -70)); - return false; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ma.U(" + (is != null ? "{...}" : "null") + ',' + i + ',' + (class348_sub43 != null ? "{...}" : "null") + ',' + i_46_ + ',' + i_47_ + ')')); - } - } - - private final void method2853(int i, int i_49_, int i_50_, int i_51_) { - method2849(64, i_50_, (byte) 86, i_51_); - anInt8931++; - if ((0x2 & this.anIntArray8895[i_51_]) != 0) { - for (Class348_Sub43 class348_sub43 = ((Class348_Sub43) aClass348_Sub16_Sub1_8958.aClass262_8848.method1993(i ^ ~0x51)); class348_sub43 != null; class348_sub43 = ((Class348_Sub43) aClass348_Sub16_Sub1_8958.aClass262_8848.method2003(-50))) { - if ((class348_sub43.anInt7067 == i_51_) && class348_sub43.anInt7087 < 0) { - aClass348_Sub43ArrayArray8928[i_51_][class348_sub43.anInt7071] = null; - aClass348_Sub43ArrayArray8928[i_51_][i_50_] = class348_sub43; - int i_52_ = (((class348_sub43.anInt7089 * class348_sub43.anInt7072) >> 12) + class348_sub43.anInt7080); - class348_sub43.anInt7080 += (-class348_sub43.anInt7071 + i_50_) << 8; - class348_sub43.anInt7072 = -class348_sub43.anInt7080 + i_52_; - class348_sub43.anInt7071 = i_50_; - class348_sub43.anInt7089 = 4096; - return; - } - } - } - Class348_Sub17 class348_sub17 = ((Class348_Sub17) aClass356_8891.method3480(anIntArray8916[i_51_], -6008)); - if (class348_sub17 != null) { - Class348_Sub19_Sub1 class348_sub19_sub1 = (class348_sub17.aClass348_Sub19_Sub1Array6800[i_50_]); - if (class348_sub19_sub1 != null) { - Class348_Sub43 class348_sub43 = new Class348_Sub43(); - class348_sub43.anInt7067 = i_51_; - class348_sub43.aClass348_Sub17_7085 = class348_sub17; - class348_sub43.aClass348_Sub19_Sub1_7077 = class348_sub19_sub1; - class348_sub43.aClass23_7075 = (class348_sub17.aClass23Array6796[i_50_]); - class348_sub43.anInt7088 = class348_sub17.aByteArray6798[i_50_]; - class348_sub43.anInt7071 = i_50_; - class348_sub43.anInt7066 = 1024 + ((class348_sub17.aByteArray6799[i_50_]) * (class348_sub17.anInt6797 * (i_49_ * i_49_))) >> 11; - class348_sub43.anInt7074 = (class348_sub17.aByteArray6792[i_50_] & 0xff); - class348_sub43.anInt7080 = ((i_50_ << 8) + -((class348_sub17.aShortArray6795[i_50_]) & 0x7fff)); - class348_sub43.anInt7087 = -1; - class348_sub43.anInt7070 = 0; - class348_sub43.anInt7069 = i; - class348_sub43.anInt7090 = 0; - class348_sub43.anInt7084 = 0; - if (this.anIntArray8914[i_51_] == 0) class348_sub43.aClass348_Sub16_Sub5_7081 = (Class348_Sub16_Sub5.method2911(class348_sub19_sub1, method2845(0, class348_sub43), method2868(class348_sub43, i + -82), method2848(class348_sub43, (byte) -70))); - else { - class348_sub43.aClass348_Sub16_Sub5_7081 = (Class348_Sub16_Sub5.method2911(class348_sub19_sub1, method2845(0, class348_sub43), 0, method2848(class348_sub43, (byte) -70))); - method2874(i ^ 0x7a, (class348_sub17.aShortArray6795[i_50_]) < 0, class348_sub43); - } - if (class348_sub17.aShortArray6795[i_50_] < 0) class348_sub43.aClass348_Sub16_Sub5_7081.method2917(-1); - if (class348_sub43.anInt7088 >= 0) { - Class348_Sub43 class348_sub43_53_ = (aClass348_Sub43ArrayArray8915[i_51_][class348_sub43.anInt7088]); - if (class348_sub43_53_ != null && class348_sub43_53_.anInt7087 < 0) { - aClass348_Sub43ArrayArray8928[i_51_][class348_sub43_53_.anInt7071] = null; - class348_sub43_53_.anInt7087 = 0; - } - aClass348_Sub43ArrayArray8915[i_51_][class348_sub43.anInt7088] = class348_sub43; - } - aClass348_Sub16_Sub1_8958.aClass262_8848.method1999(class348_sub43, i ^ ~0x4ed3); - aClass348_Sub43ArrayArray8928[i_51_][i_50_] = class348_sub43; - } - } - } - - private final void method2854(int i, int i_54_, int i_55_) { - anInt8943++; - anIntArray8945[i_54_] = i; - if (i_55_ < 39) aClass45_8926 = null; - anIntArray8947[i_54_] = Class139.method1166(i, -128); - method2873((byte) -21, i, i_54_); - } - - private final void method2855(int i, byte i_56_) { - anInt8927++; - if (i_56_ < -42) { - for (Class348_Sub43 class348_sub43 = ((Class348_Sub43) aClass348_Sub16_Sub1_8958.aClass262_8848.method1995(4)); class348_sub43 != null; class348_sub43 = ((Class348_Sub43) aClass348_Sub16_Sub1_8958.aClass262_8848.method1990((byte) 60))) { - if ((i < 0 || i == class348_sub43.anInt7067) && class348_sub43.anInt7087 < 0) { - aClass348_Sub43ArrayArray8928[class348_sub43.anInt7067][class348_sub43.anInt7071] = null; - class348_sub43.anInt7087 = 0; - } - } - } - } - - private final void method2856(byte i) { - anInt8955++; - int i_57_ = anInt8960; - int i_58_ = anInt8956; - long l = aLong8957; - if (aClass348_Sub2_8963 != null && anInt8962 == i_58_) { - method2846(false, aBoolean8964, aClass348_Sub2_8963, aBoolean8961); - method2856((byte) 124); - } else { - while (i_58_ == anInt8956) { - while (aClass204_8944.anIntArray2681[i_57_] == i_58_) { - aClass204_8944.method1492(i_57_); - int i_59_ = aClass204_8944.method1494(i_57_); - if (i_59_ == 1) { - aClass204_8944.method1495(); - aClass204_8944.method1486(i_57_); - if (aClass204_8944.method1480()) { - if (aClass348_Sub2_8963 != null) { - method2869(aClass348_Sub2_8963, aBoolean8961, false); - method2856((byte) 124); - return; - } - if (aBoolean8961 && i_58_ != 0) aClass204_8944.method1484(l); - else { - method2851(true, true); - aClass204_8944.method1487(); - return; - } - } - break; - } - if ((0x80 & i_59_) != 0) method2842(i ^ 0x40, i_59_); - aClass204_8944.method1485(i_57_); - aClass204_8944.method1486(i_57_); - } - i_57_ = aClass204_8944.method1490(); - i_58_ = aClass204_8944.anIntArray2681[i_57_]; - l = aClass204_8944.method1488(i_58_); - } - if (i != 124) method2879(-127, -46, -96); - aLong8957 = l; - anInt8956 = i_58_; - anInt8960 = i_57_; - if (aClass348_Sub2_8963 != null && i_58_ > anInt8962) { - anInt8960 = -1; - anInt8956 = anInt8962; - aLong8957 = aClass204_8944.method1488(anInt8956); - } - } - } - - private final void method2857(int i, int i_60_, int i_61_) { - anInt8917++; - anIntArray8942[i] = i_61_; - this.anIntArray8906[i] = (int) (0.5 + 2097152.0 * Math.pow(2.0, 5.4931640625E-4 * (double) i_61_)); - if (i_60_ < 124) this.anIntArray8906 = null; - } - - private final void method2858(int i, int i_62_) { - anInt8893++; - if (i >= -101) method2856((byte) -89); - if ((this.anIntArray8895[i_62_] & 0x2) != 0) { - for (Class348_Sub43 class348_sub43 = ((Class348_Sub43) aClass348_Sub16_Sub1_8958.aClass262_8848.method1995(4)); class348_sub43 != null; class348_sub43 = ((Class348_Sub43) aClass348_Sub16_Sub1_8958.aClass262_8848.method1990((byte) 41))) { - if ((class348_sub43.anInt7067 == i_62_) && (aClass348_Sub43ArrayArray8928[i_62_][class348_sub43.anInt7071]) == null && class348_sub43.anInt7087 < 0) class348_sub43.anInt7087 = 0; - } - } - } - - final synchronized void method2819(int i) { - anInt8908++; - if (aClass204_8944.method1491()) { - int i_63_ = (aClass204_8944.anInt2683 * anInt8921 / Class22.anInt339); - do { - long l = aLong8959 + (long) i_63_ * (long) i; - if (-l + aLong8957 >= 0L) { - aLong8959 = l; - break; - } - int i_64_ = (int) ((-1L + -aLong8959 + aLong8957 + (long) i_63_) / (long) i_63_); - aLong8959 += (long) i_64_ * (long) i_63_; - aClass348_Sub16_Sub1_8958.method2819(i_64_); - i -= i_64_; - method2856((byte) 124); - } while (aClass204_8944.method1491()); - } - aClass348_Sub16_Sub1_8958.method2819(i); - } - - private final void method2859(int i, int i_65_, int i_66_) { - anInt8905++; - if (i_66_ != -32) anIntArray8916 = null; - } - - final synchronized boolean method2860(int i) { - if (i <= 94) method2818(); - anInt8949++; - return aClass204_8944.method1491(); - } - - final synchronized void method2817(int[] is, int i, int i_67_) { - try { - anInt8898++; - if (aClass204_8944.method1491()) { - int i_68_ = (anInt8921 * aClass204_8944.anInt2683 / Class22.anInt339); - do { - long l = aLong8959 + (long) i_67_ * (long) i_68_; - if (aLong8957 + -l >= 0L) { - aLong8959 = l; - break; - } - int i_69_ = (int) ((-1L + (long) i_68_ + aLong8957 + -aLong8959) / (long) i_68_); - aLong8959 += (long) i_68_ * (long) i_69_; - aClass348_Sub16_Sub1_8958.method2817(is, i, i_69_); - i += i_69_; - i_67_ -= i_69_; - method2856((byte) 124); - } while (aClass204_8944.method1491()); - } - aClass348_Sub16_Sub1_8958.method2817(is, i, i_67_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ma.C(" + (is != null ? "{...}" : "null") + ',' + i + ',' + i_67_ + ')')); - } - } - - final synchronized void method2861(int i, int i_70_) { - if (i != 0) method2878(56, 73, 54); - anInt8933 = i_70_; - anInt8938++; - } - - static final Class144 method2862(Class297 class297, String string, int i, int i_71_) { - try { - int i_72_ = 16 % ((-37 - i) / 51); - anInt8911++; - if (i_71_ == 0) return class297.method2245(string, 16); - if (i_71_ == 1) { - try { - Class224.method1616("openjs", (new Object[]{new URL(Class93.anApplet1530.getCodeBase(), string).toString()}), Class93.anApplet1530, (byte) 38); - Class144 class144 = new Class144(); - class144.anInt1997 = 1; - return class144; - } catch (Throwable throwable) { - Class144 class144 = new Class144(); - class144.anInt1997 = 2; - return class144; - } - } - if (i_71_ == 2) { - try { - Class93.anApplet1530.getAppletContext().showDocument(new URL(Class93.anApplet1530.getCodeBase(), string), "_blank"); - Class144 class144 = new Class144(); - class144.anInt1997 = 1; - return class144; - } catch (Exception exception) { - Class144 class144 = new Class144(); - class144.anInt1997 = 2; - return class144; - } - } - if (i_71_ == 3) { - try { - Class224.method1617((byte) 125, Class93.anApplet1530, "loggedout"); - } catch (Throwable throwable) { - /* empty */ - } - try { - Class93.anApplet1530.getAppletContext().showDocument(new URL(Class93.anApplet1530.getCodeBase(), string), "_top"); - Class144 class144 = new Class144(); - class144.anInt1997 = 1; - return class144; - } catch (Exception exception) { - Class144 class144 = new Class144(); - class144.anInt1997 = 2; - return class144; - } - } - throw new IllegalArgumentException(); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ma.EA(" + (class297 != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ',' + i + ',' + i_71_ + ')')); - } - } - - private final void method2863(int i, int i_73_, int i_74_, int i_75_) { - if (i_73_ <= 38) anIntArray8942 = null; - anInt8940++; - } - - final synchronized void method2864(byte i) { - anInt8924++; - if (i <= 46) aClass204_8944 = null; - for (Class348_Sub17 class348_sub17 = (Class348_Sub17) aClass356_8891.method3484(0); class348_sub17 != null; class348_sub17 = (Class348_Sub17) aClass356_8891.method3482(0)) - class348_sub17.method2933((byte) -103); - } - - private final void method2865(int i, int i_76_) { - anInt8900++; - if (i_76_ < 0) { - for (i_76_ = 0; i_76_ < 16; i_76_++) - method2865(i, i_76_); - } else { - anIntArray8953[i_76_] = 12800; - anIntArray8894[i_76_] = 8192; - anIntArray8896[i_76_] = 16383; - anIntArray8937[i_76_] = 8192; - anIntArray8899[i_76_] = i; - anIntArray8939[i_76_] = 8192; - method2858(-124, i_76_); - method2850(i_76_, 0); - this.anIntArray8895[i_76_] = 0; - anIntArray8904[i_76_] = 32767; - anIntArray8902[i_76_] = 256; - this.anIntArray8914[i_76_] = 0; - method2857(i_76_, 127, 8192); - } - } - - final synchronized boolean method2866(Class348_Sub2 class348_sub2, int i, Class26 class26, Class45 class45, int i_77_) { - try { - class348_sub2.method2733(); - anInt8954++; - boolean bool = true; - int[] is = null; - if (i > 0) is = new int[]{i}; - for (Class348_Sub8 class348_sub8 = (Class348_Sub8) class348_sub2.aClass356_6565.method3484(0); class348_sub8 != null; class348_sub8 = (Class348_Sub8) class348_sub2.aClass356_6565.method3482(0)) { - int i_78_ = (int) class348_sub8.aLong4291; - Class348_Sub17 class348_sub17 = ((Class348_Sub17) aClass356_8891.method3480(i_78_, -6008)); - if (class348_sub17 == null) { - class348_sub17 = Class188.method1417(0, class45, i_78_); - if (class348_sub17 == null) { - bool = false; - continue; - } - aClass356_8891.method3483((byte) 69, i_78_, class348_sub17); - } - if (!class348_sub17.method2932(class26, is, (class348_sub8.aByteArray6657), 0)) bool = false; - } - if (i_77_ >= -13) return true; - if (bool) class348_sub2.method2735(); - return bool; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ma.CA(" + (class348_sub2 != null ? "{...}" : "null") + ',' + i + ',' + (class26 != null ? "{...}" : "null") + ',' + (class45 != null ? "{...}" : "null") + ',' + i_77_ + ')')); - } - } - - final synchronized void method2867(int i) { - anInt8903++; - if (i == 4) { - for (Class348_Sub17 class348_sub17 = (Class348_Sub17) aClass356_8891.method3484(0); class348_sub17 != null; class348_sub17 = (Class348_Sub17) aClass356_8891.method3482(i ^ 0x4)) - class348_sub17.method2715((byte) 53); - } - } - - private final int method2868(Class348_Sub43 class348_sub43, int i) { - try { - if (i >= -16) method2879(-95, 66, 110); - anInt8920++; - if (anIntArray8925[class348_sub43.anInt7067] == 0) return 0; - Class23 class23 = class348_sub43.aClass23_7075; - int i_79_ = ((anIntArray8953[class348_sub43.anInt7067] * (anIntArray8896[class348_sub43.anInt7067])) + 4096 >> 13); - i_79_ = 16384 + i_79_ * i_79_ >> 15; - i_79_ = (16384 + i_79_ * class348_sub43.anInt7066 >> 15); - i_79_ = i_79_ * anInt8933 + 128 >> 8; - i_79_ = 128 + anIntArray8925[(class348_sub43.anInt7067)] * i_79_ >> 8; - if (class23.anInt347 > 0) i_79_ = (int) (0.5 + ((double) i_79_ * Math.pow(0.5, ((double) class348_sub43.anInt7090 * 1.953125E-5 * (double) (class23.anInt347))))); - if (class23.aByteArray348 != null) { - int i_80_ = class348_sub43.anInt7070; - int i_81_ = (class23.aByteArray348[class348_sub43.anInt7069 + 1]); - if (class348_sub43.anInt7069 < class23.aByteArray348.length + -2) { - int i_82_ = 0xff00 & (class23.aByteArray348[(class348_sub43.anInt7069)]) << 8; - int i_83_ = ((0xff & (class23.aByteArray348[(class348_sub43.anInt7069) + 2])) << 8); - i_81_ += (-i_81_ + (class23.aByteArray348[(class348_sub43.anInt7069 - -3)])) * (i_80_ + -i_82_) / (i_83_ - i_82_); - } - i_79_ = i_79_ * i_81_ + 32 >> 6; - } - if (class348_sub43.anInt7087 > 0 && class23.aByteArray344 != null) { - int i_84_ = class348_sub43.anInt7087; - int i_85_ = (class23.aByteArray344[1 + class348_sub43.anInt7084]); - if (class23.aByteArray344.length + -2 > class348_sub43.anInt7084) { - int i_86_ = 0xff00 & (class23.aByteArray344[(class348_sub43.anInt7084)]) << 8; - int i_87_ = ((class23.aByteArray344[class348_sub43.anInt7084 - -2]) << 8) & 0xff00; - i_85_ += ((class23.aByteArray344[3 + class348_sub43.anInt7084]) + -i_85_) * (i_84_ + -i_86_) / (-i_86_ + i_87_); - } - i_79_ = i_85_ * i_79_ + 32 >> 6; - } - return i_79_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ma.DA(" + (class348_sub43 != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - final synchronized void method2869(Class348_Sub2 class348_sub2, boolean bool, boolean bool_88_) { - try { - anInt8932++; - method2846(bool_88_, true, class348_sub2, bool); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ma.L(" + (class348_sub2 != null ? "{...}" : "null") + ',' + bool + ',' + bool_88_ + ')')); - } - } - - final synchronized void method2870(Class348_Sub2 class348_sub2, long l, boolean bool, boolean bool_89_, byte i) { - try { - method2846(false, bool_89_, class348_sub2, bool); - if (i > 17) { - anInt8930++; - method2876((long) aClass204_8944.anInt2683 * l, -125); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ma.O(" + (class348_sub2 != null ? "{...}" : "null") + ',' + l + ',' + bool + ',' + bool_89_ + ',' + i + ')')); - } - } - - final synchronized Class348_Sub16 method2816() { - anInt8912++; - return aClass348_Sub16_Sub1_8958; - } - - public static void method2871(int i) { - anIntArrayArray8910 = null; - if (i != -65) method2862(null, null, 96, -71); - aClass45_8926 = null; - } - - private final void method2872(int i, int i_90_) { - anInt8918++; - for (Class348_Sub43 class348_sub43 = ((Class348_Sub43) aClass348_Sub16_Sub1_8958.aClass262_8848.method1995(i + -2005674596)); class348_sub43 != null; class348_sub43 = ((Class348_Sub43) aClass348_Sub16_Sub1_8958.aClass262_8848.method1990((byte) 68))) { - if (i_90_ < 0 || (class348_sub43.anInt7067 == i_90_)) { - if (class348_sub43.aClass348_Sub16_Sub5_7081 != null) { - class348_sub43.aClass348_Sub16_Sub5_7081.method2902(Class22.anInt339 / 100); - if (class348_sub43.aClass348_Sub16_Sub5_7081.method2895()) aClass348_Sub16_Sub1_8958.aClass348_Sub16_Sub4_8855.method2883(class348_sub43.aClass348_Sub16_Sub5_7081); - class348_sub43.method3299((byte) 72); - } - if (class348_sub43.anInt7087 < 0) aClass348_Sub43ArrayArray8928[class348_sub43.anInt7067][class348_sub43.anInt7071] = null; - class348_sub43.method2715((byte) 21); - } - } - if (i != 2005674600) anIntArray8902 = null; - } - - private final void method2873(byte i, int i_91_, int i_92_) { - if (i == -21) { - anInt8929++; - if (i_91_ != anIntArray8916[i_92_]) { - anIntArray8916[i_92_] = i_91_; - for (int i_93_ = 0; i_93_ < 128; i_93_++) - aClass348_Sub43ArrayArray8915[i_92_][i_93_] = null; - } - } - } - - final void method2874(int i, boolean bool, Class348_Sub43 class348_sub43) { - try { - anInt8909++; - int i_94_ = (class348_sub43.aClass348_Sub19_Sub1_7077.aByteArray8984).length; - int i_95_; - if (bool && (class348_sub43.aClass348_Sub19_Sub1_7077.aBoolean8987)) { - int i_96_ = (i_94_ + i_94_ + -class348_sub43.aClass348_Sub19_Sub1_7077.anInt8986); - i_95_ = (int) ((long) (this.anIntArray8914[(class348_sub43.anInt7067)]) * (long) i_96_ >> 6); - i_94_ <<= 8; - if (i_94_ <= i_95_) { - i_95_ = i_94_ + i_94_ - 1 - i_95_; - class348_sub43.aClass348_Sub16_Sub5_7081.method2891(true); - } - } else i_95_ = (int) (((long) i_94_ * (long) (this.anIntArray8914[(class348_sub43.anInt7067)])) >> 6); - if (i > 93) class348_sub43.aClass348_Sub16_Sub5_7081.method2924(i_95_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ma.WA(" + i + ',' + bool + ',' + (class348_sub43 != null ? "{...}" : "null") + ')')); - } - } - - private final void method2875(int i, int i_97_, int i_98_) { - anIntArray8937[i] = i_98_; - anInt8923++; - if (i_97_ != 2) anIntArray8937 = null; - } - - private final void method2876(long l, int i) { - try { - anInt8919++; - if (i <= -124) { - while (aLong8957 <= l) { - int i_99_ = anInt8960; - int i_100_ = anInt8956; - long l_101_ = aLong8957; - while (anInt8956 == i_100_) { - while ((aClass204_8944.anIntArray2681[i_99_]) == i_100_) { - aClass204_8944.method1492(i_99_); - int i_102_ = aClass204_8944.method1494(i_99_); - if (i_102_ == 1) { - aClass204_8944.method1495(); - aClass204_8944.method1486(i_99_); - if (aClass204_8944.method1480()) { - if (aBoolean8961 && i_100_ != 0) aClass204_8944.method1484(l_101_); - else { - method2851(true, true); - aClass204_8944.method1487(); - return; - } - } - break; - } - if ((i_102_ & 0x80) != 0 && (0xf0 & i_102_) != 144) method2842(65, i_102_); - aClass204_8944.method1485(i_99_); - aClass204_8944.method1486(i_99_); - } - aLong8959 = l_101_; - i_99_ = aClass204_8944.method1490(); - i_100_ = (aClass204_8944.anIntArray2681[i_99_]); - l_101_ = aClass204_8944.method1488(i_100_); - } - anInt8960 = i_99_; - aLong8957 = l_101_; - anInt8956 = i_100_; - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "ma.UA(" + l + ',' + i + ')'); - } - } - - final synchronized void method2877(int i) { - method2840(true, (byte) -95); - if (i != -128) method2849(103, -71, (byte) -108, -63); - anInt8913++; - } - - final synchronized int method2821() { - anInt8901++; - return 0; - } - - static final Class318_Sub1_Sub1 method2878(int i, int i_103_, int i_104_) { - Class357 class357 = Class147.aClass357ArrayArrayArray2029[i][i_103_][i_104_]; - if (class357 == null || class357.aClass318_Sub1_Sub1_4402 == null) return null; - return class357.aClass318_Sub1_Sub1_4402; - } - - static final void method2879(int i, int i_105_, int i_106_) { - Class357 class357 = Class147.aClass357ArrayArrayArray2029[i][i_105_][i_106_]; - if (class357 != null) { - Class183.method1376(class357.aClass318_Sub1_Sub1_4402); - if (class357.aClass318_Sub1_Sub1_4402 != null) class357.aClass318_Sub1_Sub1_4402 = null; - } - } - - public Class348_Sub16_Sub3() { - anIntArray8896 = new int[16]; - aClass348_Sub43ArrayArray8915 = new Class348_Sub43[16][128]; - anIntArray8904 = new int[16]; - this.anIntArray8914 = new int[16]; - this.anIntArray8906 = new int[16]; - anIntArray8894 = new int[16]; - anIntArray8899 = new int[16]; - anIntArray8925 = new int[16]; - anIntArray8902 = new int[16]; - this.anIntArray8895 = new int[16]; - aClass348_Sub43ArrayArray8928 = new Class348_Sub43[16][128]; - anIntArray8937 = new int[16]; - anIntArray8939 = new int[16]; - anInt8921 = 1000000; - anIntArray8942 = new int[16]; - anIntArray8945 = new int[16]; - anIntArray8916 = new int[16]; - anInt8933 = 256; - anIntArray8953 = new int[16]; - anIntArray8947 = new int[16]; - aClass204_8944 = new Class204(); - aClass348_Sub16_Sub1_8958 = new Class348_Sub16_Sub1(this); - aClass356_8891 = new Class356(128); - method2843(256, -1, -7836); - method2851(true, true); - } - - Class348_Sub16_Sub3(Class348_Sub16_Sub3 class348_sub16_sub3_107_) { - anIntArray8896 = new int[16]; - aClass348_Sub43ArrayArray8915 = new Class348_Sub43[16][128]; - anIntArray8904 = new int[16]; - this.anIntArray8914 = new int[16]; - this.anIntArray8906 = new int[16]; - anIntArray8894 = new int[16]; - anIntArray8899 = new int[16]; - anIntArray8925 = new int[16]; - anIntArray8902 = new int[16]; - this.anIntArray8895 = new int[16]; - aClass348_Sub43ArrayArray8928 = new Class348_Sub43[16][128]; - anIntArray8937 = new int[16]; - anIntArray8939 = new int[16]; - anInt8921 = 1000000; - anIntArray8942 = new int[16]; - anIntArray8945 = new int[16]; - anIntArray8916 = new int[16]; - anInt8933 = 256; - anIntArray8953 = new int[16]; - anIntArray8947 = new int[16]; - aClass204_8944 = new Class204(); - aClass348_Sub16_Sub1_8958 = new Class348_Sub16_Sub1(this); - try { - aClass356_8891 = class348_sub16_sub3_107_.aClass356_8891; - method2843(256, -1, -7836); - method2851(true, true); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ma.(" + ((class348_sub16_sub3_107_ != null) ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class348_Sub16_Sub4.java b/client/src/Class348_Sub16_Sub4.java deleted file mode 100644 index 67365826e..000000000 --- a/client/src/Class348_Sub16_Sub4.java +++ /dev/null @@ -1,134 +0,0 @@ -/* Class348_Sub16_Sub4 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub16_Sub4 extends Class348_Sub16 { - private final Class262 aClass262_8965 = new Class262(); - private final Class262 aClass262_8966 = new Class262(); - private int anInt8967 = -1; - private int anInt8968 = 0; - - final synchronized void method2880(Class348_Sub16 class348_sub16) { - class348_sub16.method2715((byte) 94); - } - - final synchronized void method2819(int i) { - do { - if (anInt8967 < 0) { - method2884(i); - break; - } - if (anInt8968 + i < anInt8967) { - anInt8968 += i; - method2884(i); - break; - } - int i_0_ = anInt8967 - anInt8968; - method2884(i_0_); - i -= i_0_; - anInt8968 += i_0_; - method2885(); - Class348_Sub30 class348_sub30 = (Class348_Sub30) aClass262_8966.method1995(4); - synchronized (class348_sub30) { - int i_1_ = class348_sub30.method3005(this); - if (i_1_ < 0) { - class348_sub30.anInt6912 = 0; - method2882(class348_sub30); - } else { - class348_sub30.anInt6912 = i_1_; - method2881(class348_sub30.aClass348_4294, class348_sub30); - } - } - } while (i != 0); - } - - final Class348_Sub16 method2816() { - return (Class348_Sub16) aClass262_8965.method1995(4); - } - - private final void method2881(Class348 class348, Class348_Sub30 class348_sub30) { - for (/**/; (class348 != aClass262_8966.aClass348_3334 && (((Class348_Sub30) class348).anInt6912 <= class348_sub30.anInt6912)); class348 = class348.aClass348_4294) { - /* empty */ - } - Class348_Sub42_Sub16_Sub2.method3265(-106, class348_sub30, class348); - anInt8967 = ((Class348_Sub30) aClass262_8966.aClass348_3334.aClass348_4294).anInt6912; - } - - private final void method2882(Class348_Sub30 class348_sub30) { - class348_sub30.method2715((byte) 105); - class348_sub30.method3006(); - Class348 class348 = (aClass262_8966.aClass348_3334.aClass348_4294); - if (class348 == aClass262_8966.aClass348_3334) anInt8967 = -1; - else anInt8967 = ((Class348_Sub30) class348).anInt6912; - } - - final synchronized void method2883(Class348_Sub16 class348_sub16) { - aClass262_8965.method2001(class348_sub16, -109); - } - - private final void method2884(int i) { - for (Class348_Sub16 class348_sub16 = (Class348_Sub16) aClass262_8965.method1995(4); class348_sub16 != null; class348_sub16 = (Class348_Sub16) aClass262_8965.method1990((byte) 104)) - class348_sub16.method2819(i); - } - - private final void method2885() { - if (anInt8968 > 0) { - for (Class348_Sub30 class348_sub30 = (Class348_Sub30) aClass262_8966.method1995(4); class348_sub30 != null; class348_sub30 = (Class348_Sub30) aClass262_8966.method1990((byte) 115)) - class348_sub30.anInt6912 -= anInt8968; - anInt8967 -= anInt8968; - anInt8968 = 0; - } - } - - private final void method2886(int[] is, int i, int i_2_) { - for (Class348_Sub16 class348_sub16 = (Class348_Sub16) aClass262_8965.method1995(4); class348_sub16 != null; class348_sub16 = (Class348_Sub16) aClass262_8965.method1990((byte) 41)) - class348_sub16.method2815(is, i, i_2_); - } - - final synchronized int method2887() { - return aClass262_8965.method1998(0); - } - - final Class348_Sub16 method2818() { - return (Class348_Sub16) aClass262_8965.method1990((byte) 95); - } - - final int method2821() { - return 0; - } - - final synchronized void method2817(int[] is, int i, int i_3_) { - do { - if (anInt8967 < 0) { - method2886(is, i, i_3_); - break; - } - if (anInt8968 + i_3_ < anInt8967) { - anInt8968 += i_3_; - method2886(is, i, i_3_); - break; - } - int i_4_ = anInt8967 - anInt8968; - method2886(is, i, i_4_); - i += i_4_; - i_3_ -= i_4_; - anInt8968 += i_4_; - method2885(); - Class348_Sub30 class348_sub30 = (Class348_Sub30) aClass262_8966.method1995(4); - synchronized (class348_sub30) { - int i_5_ = class348_sub30.method3005(this); - if (i_5_ < 0) { - class348_sub30.anInt6912 = 0; - method2882(class348_sub30); - } else { - class348_sub30.anInt6912 = i_5_; - method2881(class348_sub30.aClass348_4294, class348_sub30); - } - } - } while (i_3_ != 0); - } - - public Class348_Sub16_Sub4() { - /* empty */ - } -} diff --git a/client/src/Class348_Sub16_Sub5.java b/client/src/Class348_Sub16_Sub5.java deleted file mode 100644 index 9a820ec57..000000000 --- a/client/src/Class348_Sub16_Sub5.java +++ /dev/null @@ -1,996 +0,0 @@ -/* Class348_Sub16_Sub5 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub16_Sub5 extends Class348_Sub16 { - private int anInt8969; - private int anInt8970; - private int anInt8971; - private int anInt8972; - private int anInt8973; - private int anInt8974; - private final int anInt8975; - private int anInt8976; - private int anInt8977; - private int anInt8978; - private int anInt8979; - private int anInt8980; - private final boolean aBoolean8981; - private final int anInt8982; - private int anInt8983; - - final synchronized void method2888(int i, int i_0_, int i_1_) { - if (i == 0) method2926(i_0_, i_1_); - else { - int i_2_ = method2904(i_0_, i_1_); - int i_3_ = method2889(i_0_, i_1_); - if (anInt8970 == i_2_ && anInt8974 == i_3_) anInt8972 = 0; - else { - int i_4_ = i_0_ - anInt8976; - if (anInt8976 - i_0_ > i_4_) i_4_ = anInt8976 - i_0_; - if (i_2_ - anInt8970 > i_4_) i_4_ = i_2_ - anInt8970; - if (anInt8970 - i_2_ > i_4_) i_4_ = anInt8970 - i_2_; - if (i_3_ - anInt8974 > i_4_) i_4_ = i_3_ - anInt8974; - if (anInt8974 - i_3_ > i_4_) i_4_ = anInt8974 - i_3_; - if (i > i_4_) i = i_4_; - anInt8972 = i; - anInt8969 = i_0_; - anInt8977 = i_1_; - anInt8973 = (i_0_ - anInt8976) / i; - anInt8971 = (i_2_ - anInt8970) / i; - anInt8978 = (i_3_ - anInt8974) / i; - } - } - } - - private static final int method2889(int i, int i_5_) { - if (i_5_ < 0) return -i; - return (int) ((double) i * Math.sqrt((double) i_5_ * 1.220703125E-4) + 0.5); - } - - final boolean method2890() { - return anInt8983 < 0 || anInt8983 >= (((Class348_Sub19_Sub1) this.aClass348_Sub19_6787).aByteArray8984).length << 8; - } - - final synchronized void method2891(boolean bool) { - anInt8979 = (anInt8979 ^ anInt8979 >> 31) + (anInt8979 >>> 31); - if (bool) anInt8979 = -anInt8979; - } - - final synchronized int method2892() { - if (anInt8977 < 0) return -1; - return anInt8977; - } - - final int method2820() { - int i = anInt8976 * 3 >> 6; - i = (i ^ i >> 31) + (i >>> 31); - if (anInt8980 == 0) i -= (i * anInt8983 / ((((Class348_Sub19_Sub1) this.aClass348_Sub19_6787).aByteArray8984).length << 8)); - else if (anInt8980 >= 0) i -= (i * anInt8975 / (((Class348_Sub19_Sub1) this.aClass348_Sub19_6787).aByteArray8984).length); - return Math.min(i, 255); - } - - private static final int method2893(int i, byte[] is, int[] is_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_, int i_12_, int i_13_, int i_14_, int i_15_, Class348_Sub16_Sub5 class348_sub16_sub5) { - i_7_ >>= 8; - i_15_ >>= 8; - i_9_ <<= 2; - i_10_ <<= 2; - i_11_ <<= 2; - i_12_ <<= 2; - if ((i_13_ = i_8_ + i_15_ - i_7_) > i_14_) i_13_ = i_14_; - class348_sub16_sub5.anInt8976 += class348_sub16_sub5.anInt8973 * (i_13_ - i_8_); - i_8_ <<= 1; - i_13_ <<= 1; - i_13_ -= 6; - while (i_8_ < i_13_) { - i = is[i_7_++]; - is_6_[i_8_++] += i * i_9_; - i_9_ += i_11_; - is_6_[i_8_++] += i * i_10_; - i_10_ += i_12_; - i = is[i_7_++]; - is_6_[i_8_++] += i * i_9_; - i_9_ += i_11_; - is_6_[i_8_++] += i * i_10_; - i_10_ += i_12_; - i = is[i_7_++]; - is_6_[i_8_++] += i * i_9_; - i_9_ += i_11_; - is_6_[i_8_++] += i * i_10_; - i_10_ += i_12_; - i = is[i_7_++]; - is_6_[i_8_++] += i * i_9_; - i_9_ += i_11_; - is_6_[i_8_++] += i * i_10_; - i_10_ += i_12_; - } - i_13_ += 6; - while (i_8_ < i_13_) { - i = is[i_7_++]; - is_6_[i_8_++] += i * i_9_; - i_9_ += i_11_; - is_6_[i_8_++] += i * i_10_; - i_10_ += i_12_; - } - class348_sub16_sub5.anInt8970 = i_9_ >> 2; - class348_sub16_sub5.anInt8974 = i_10_ >> 2; - class348_sub16_sub5.anInt8983 = i_7_ << 8; - return i_8_ >> 1; - } - - private static final int method2894(int i, int i_16_, byte[] is, int[] is_17_, int i_18_, int i_19_, int i_20_, int i_21_, int i_22_, int i_23_, int i_24_, Class348_Sub16_Sub5 class348_sub16_sub5, int i_25_, int i_26_) { - if (i_25_ == 0 || (i_22_ = i_19_ + (i_24_ + 256 - i_18_ + i_25_) / i_25_) > i_23_) i_22_ = i_23_; - i_19_ <<= 1; - i_22_ <<= 1; - while (i_19_ < i_22_) { - i_16_ = i_18_ >> 8; - i = is[i_16_ - 1]; - i = (i << 8) + (is[i_16_] - i) * (i_18_ & 0xff); - is_17_[i_19_++] += i * i_20_ >> 6; - is_17_[i_19_++] += i * i_21_ >> 6; - i_18_ += i_25_; - } - if (i_25_ == 0 || ((i_22_ = (i_19_ >> 1) + (i_24_ - i_18_ + i_25_) / i_25_) > i_23_)) i_22_ = i_23_; - i_22_ <<= 1; - i_16_ = i_26_; - while (i_19_ < i_22_) { - i = (i_16_ << 8) + (is[i_18_ >> 8] - i_16_) * (i_18_ & 0xff); - is_17_[i_19_++] += i * i_20_ >> 6; - is_17_[i_19_++] += i * i_21_ >> 6; - i_18_ += i_25_; - } - class348_sub16_sub5.anInt8983 = i_18_; - return i_19_ >> 1; - } - - final boolean method2895() { - return anInt8972 != 0; - } - - private final void method2896() { - if (anInt8972 != 0) { - if (anInt8969 == -2147483648) anInt8969 = 0; - anInt8972 = 0; - method2918(); - } - } - - private static final int method2897(int i, byte[] is, int[] is_27_, int i_28_, int i_29_, int i_30_, int i_31_, int i_32_, int i_33_, int i_34_, Class348_Sub16_Sub5 class348_sub16_sub5) { - i_28_ >>= 8; - i_34_ >>= 8; - i_30_ <<= 2; - i_31_ <<= 2; - if ((i_32_ = i_29_ + i_28_ - (i_34_ - 1)) > i_33_) i_32_ = i_33_; - i_29_ <<= 1; - i_32_ <<= 1; - i_32_ -= 6; - while (i_29_ < i_32_) { - i = is[i_28_--]; - is_27_[i_29_++] += i * i_30_; - is_27_[i_29_++] += i * i_31_; - i = is[i_28_--]; - is_27_[i_29_++] += i * i_30_; - is_27_[i_29_++] += i * i_31_; - i = is[i_28_--]; - is_27_[i_29_++] += i * i_30_; - is_27_[i_29_++] += i * i_31_; - i = is[i_28_--]; - is_27_[i_29_++] += i * i_30_; - is_27_[i_29_++] += i * i_31_; - } - i_32_ += 6; - while (i_29_ < i_32_) { - i = is[i_28_--]; - is_27_[i_29_++] += i * i_30_; - is_27_[i_29_++] += i * i_31_; - } - class348_sub16_sub5.anInt8983 = i_28_ << 8; - return i_29_ >> 1; - } - - private final boolean method2898() { - int i = anInt8969; - int i_35_; - int i_36_; - if (i == -2147483648) i = i_35_ = i_36_ = 0; - else { - i_35_ = method2904(i, anInt8977); - i_36_ = method2889(i, anInt8977); - } - if (anInt8976 != i || anInt8970 != i_35_ || anInt8974 != i_36_) { - if (anInt8976 < i) { - anInt8973 = 1; - anInt8972 = i - anInt8976; - } else if (anInt8976 > i) { - anInt8973 = -1; - anInt8972 = anInt8976 - i; - } else anInt8973 = 0; - if (anInt8970 < i_35_) { - anInt8971 = 1; - if (anInt8972 == 0 || anInt8972 > i_35_ - anInt8970) anInt8972 = i_35_ - anInt8970; - } else if (anInt8970 > i_35_) { - anInt8971 = -1; - if (anInt8972 == 0 || anInt8972 > anInt8970 - i_35_) anInt8972 = anInt8970 - i_35_; - } else anInt8971 = 0; - if (anInt8974 < i_36_) { - anInt8978 = 1; - if (anInt8972 == 0 || anInt8972 > i_36_ - anInt8974) anInt8972 = i_36_ - anInt8974; - } else if (anInt8974 > i_36_) { - anInt8978 = -1; - if (anInt8972 == 0 || anInt8972 > anInt8974 - i_36_) anInt8972 = anInt8974 - i_36_; - } else anInt8978 = 0; - return false; - } - if (anInt8969 == -2147483648) { - anInt8969 = 0; - anInt8976 = anInt8970 = anInt8974 = 0; - this.method2715((byte) 79); - return true; - } - method2918(); - return false; - } - - private static final int method2899(int i, int i_37_, byte[] is, int[] is_38_, int i_39_, int i_40_, int i_41_, int i_42_, int i_43_, int i_44_, int i_45_, int i_46_, int i_47_, Class348_Sub16_Sub5 class348_sub16_sub5, int i_48_, int i_49_) { - class348_sub16_sub5.anInt8976 -= class348_sub16_sub5.anInt8973 * i_40_; - if (i_48_ == 0 || (i_45_ = i_40_ + (i_47_ - i_39_ + i_48_ - 257) / i_48_) > i_46_) i_45_ = i_46_; - i_40_ <<= 1; - i_45_ <<= 1; - while (i_40_ < i_45_) { - i_37_ = i_39_ >> 8; - i = is[i_37_]; - i = (i << 8) + (is[i_37_ + 1] - i) * (i_39_ & 0xff); - is_38_[i_40_++] += i * i_41_ >> 6; - i_41_ += i_43_; - is_38_[i_40_++] += i * i_42_ >> 6; - i_42_ += i_44_; - i_39_ += i_48_; - } - if (i_48_ == 0 || ((i_45_ = (i_40_ >> 1) + (i_47_ - i_39_ + i_48_ - 1) / i_48_) > i_46_)) i_45_ = i_46_; - i_45_ <<= 1; - i_37_ = i_49_; - while (i_40_ < i_45_) { - i = is[i_39_ >> 8]; - i = (i << 8) + (i_37_ - i) * (i_39_ & 0xff); - is_38_[i_40_++] += i * i_41_ >> 6; - i_41_ += i_43_; - is_38_[i_40_++] += i * i_42_ >> 6; - i_42_ += i_44_; - i_39_ += i_48_; - } - i_40_ >>= 1; - class348_sub16_sub5.anInt8976 += class348_sub16_sub5.anInt8973 * i_40_; - class348_sub16_sub5.anInt8970 = i_41_; - class348_sub16_sub5.anInt8974 = i_42_; - class348_sub16_sub5.anInt8983 = i_39_; - return i_40_; - } - - private static final int method2900(int i, byte[] is, int[] is_50_, int i_51_, int i_52_, int i_53_, int i_54_, int i_55_, int i_56_, int i_57_, int i_58_, int i_59_, Class348_Sub16_Sub5 class348_sub16_sub5) { - i_51_ >>= 8; - i_59_ >>= 8; - i_53_ <<= 2; - i_54_ <<= 2; - i_55_ <<= 2; - i_56_ <<= 2; - if ((i_57_ = i_52_ + i_51_ - (i_59_ - 1)) > i_58_) i_57_ = i_58_; - class348_sub16_sub5.anInt8976 += class348_sub16_sub5.anInt8973 * (i_57_ - i_52_); - i_52_ <<= 1; - i_57_ <<= 1; - i_57_ -= 6; - while (i_52_ < i_57_) { - i = is[i_51_--]; - is_50_[i_52_++] += i * i_53_; - i_53_ += i_55_; - is_50_[i_52_++] += i * i_54_; - i_54_ += i_56_; - i = is[i_51_--]; - is_50_[i_52_++] += i * i_53_; - i_53_ += i_55_; - is_50_[i_52_++] += i * i_54_; - i_54_ += i_56_; - i = is[i_51_--]; - is_50_[i_52_++] += i * i_53_; - i_53_ += i_55_; - is_50_[i_52_++] += i * i_54_; - i_54_ += i_56_; - i = is[i_51_--]; - is_50_[i_52_++] += i * i_53_; - i_53_ += i_55_; - is_50_[i_52_++] += i * i_54_; - i_54_ += i_56_; - } - i_57_ += 6; - while (i_52_ < i_57_) { - i = is[i_51_--]; - is_50_[i_52_++] += i * i_53_; - i_53_ += i_55_; - is_50_[i_52_++] += i * i_54_; - i_54_ += i_56_; - } - class348_sub16_sub5.anInt8970 = i_53_ >> 2; - class348_sub16_sub5.anInt8974 = i_54_ >> 2; - class348_sub16_sub5.anInt8983 = i_51_ << 8; - return i_52_ >> 1; - } - - final synchronized void method2901(int i) { - if (anInt8979 < 0) anInt8979 = -i; - else anInt8979 = i; - } - - final synchronized void method2902(int i) { - if (i == 0) { - method2923(0); - this.method2715((byte) 93); - } else if (anInt8970 == 0 && anInt8974 == 0) { - anInt8972 = 0; - anInt8969 = 0; - anInt8976 = 0; - this.method2715((byte) 113); - } else { - int i_60_ = -anInt8976; - if (anInt8976 > i_60_) i_60_ = anInt8976; - if (-anInt8970 > i_60_) i_60_ = -anInt8970; - if (anInt8970 > i_60_) i_60_ = anInt8970; - if (-anInt8974 > i_60_) i_60_ = -anInt8974; - if (anInt8974 > i_60_) i_60_ = anInt8974; - if (i > i_60_) i = i_60_; - anInt8972 = i; - anInt8969 = -2147483648; - anInt8973 = -anInt8976 / i; - anInt8971 = -anInt8970 / i; - anInt8978 = -anInt8974 / i; - } - } - - private static final int method2903(int i, int i_61_, byte[] is, int[] is_62_, int i_63_, int i_64_, int i_65_, int i_66_, int i_67_, int i_68_, int i_69_, Class348_Sub16_Sub5 class348_sub16_sub5, int i_70_, int i_71_) { - class348_sub16_sub5.anInt8970 -= class348_sub16_sub5.anInt8971 * i_64_; - class348_sub16_sub5.anInt8974 -= class348_sub16_sub5.anInt8978 * i_64_; - if (i_70_ == 0 || (i_67_ = i_64_ + (i_69_ - i_63_ + i_70_ - 257) / i_70_) > i_68_) i_67_ = i_68_; - while (i_64_ < i_67_) { - i_61_ = i_63_ >> 8; - i = is[i_61_]; - is_62_[i_64_++] += (((i << 8) + (is[i_61_ + 1] - i) * (i_63_ & 0xff)) * i_65_ >> 6); - i_65_ += i_66_; - i_63_ += i_70_; - } - if (i_70_ == 0 || (i_67_ = i_64_ + (i_69_ - i_63_ + i_70_ - 1) / i_70_) > i_68_) i_67_ = i_68_; - i_61_ = i_71_; - while (i_64_ < i_67_) { - i = is[i_63_ >> 8]; - is_62_[i_64_++] += ((i << 8) + (i_61_ - i) * (i_63_ & 0xff)) * i_65_ >> 6; - i_65_ += i_66_; - i_63_ += i_70_; - } - class348_sub16_sub5.anInt8970 += class348_sub16_sub5.anInt8971 * i_64_; - class348_sub16_sub5.anInt8974 += class348_sub16_sub5.anInt8978 * i_64_; - class348_sub16_sub5.anInt8976 = i_65_; - class348_sub16_sub5.anInt8983 = i_63_; - return i_64_; - } - - final int method2821() { - if (anInt8969 == 0 && anInt8972 == 0) return 0; - return 1; - } - - private static final int method2904(int i, int i_72_) { - if (i_72_ < 0) return i; - return (int) (((double) i * Math.sqrt((double) (16384 - i_72_) * 1.220703125E-4)) + 0.5); - } - - private static final int method2905(byte[] is, int[] is_73_, int i, int i_74_, int i_75_, int i_76_, int i_77_, int i_78_, Class348_Sub16_Sub5 class348_sub16_sub5) { - i >>= 8; - i_78_ >>= 8; - i_75_ <<= 2; - if ((i_76_ = i_74_ + i_78_ - i) > i_77_) i_76_ = i_77_; - i_76_ -= 3; - while (i_74_ < i_76_) { - is_73_[i_74_++] += is[i++] * i_75_; - is_73_[i_74_++] += is[i++] * i_75_; - is_73_[i_74_++] += is[i++] * i_75_; - is_73_[i_74_++] += is[i++] * i_75_; - } - i_76_ += 3; - while (i_74_ < i_76_) is_73_[i_74_++] += is[i++] * i_75_; - class348_sub16_sub5.anInt8983 = i << 8; - return i_74_; - } - - final synchronized int method2906() { - if (anInt8969 == -2147483648) return 0; - return anInt8969; - } - - private static final int method2907(int i, int i_79_, byte[] is, int[] is_80_, int i_81_, int i_82_, int i_83_, int i_84_, int i_85_, int i_86_, Class348_Sub16_Sub5 class348_sub16_sub5, int i_87_, int i_88_) { - if (i_87_ == 0 || (i_84_ = i_82_ + (i_86_ + 256 - i_81_ + i_87_) / i_87_) > i_85_) i_84_ = i_85_; - while (i_82_ < i_84_) { - i_79_ = i_81_ >> 8; - i = is[i_79_ - 1]; - is_80_[i_82_++] += ((i << 8) + (is[i_79_] - i) * (i_81_ & 0xff)) * i_83_ >> 6; - i_81_ += i_87_; - } - if (i_87_ == 0 || (i_84_ = i_82_ + (i_86_ - i_81_ + i_87_) / i_87_) > i_85_) i_84_ = i_85_; - i = i_88_; - i_79_ = i_87_; - while (i_82_ < i_84_) { - is_80_[i_82_++] += (((i << 8) + (is[i_81_ >> 8] - i) * (i_81_ & 0xff)) * i_83_ >> 6); - i_81_ += i_79_; - } - class348_sub16_sub5.anInt8983 = i_81_; - return i_82_; - } - - private static final int method2908(byte[] is, int[] is_89_, int i, int i_90_, int i_91_, int i_92_, int i_93_, int i_94_, int i_95_, Class348_Sub16_Sub5 class348_sub16_sub5) { - i >>= 8; - i_95_ >>= 8; - i_91_ <<= 2; - i_92_ <<= 2; - if ((i_93_ = i_90_ + i - (i_95_ - 1)) > i_94_) i_93_ = i_94_; - class348_sub16_sub5.anInt8970 += class348_sub16_sub5.anInt8971 * (i_93_ - i_90_); - class348_sub16_sub5.anInt8974 += class348_sub16_sub5.anInt8978 * (i_93_ - i_90_); - i_93_ -= 3; - while (i_90_ < i_93_) { - is_89_[i_90_++] += is[i--] * i_91_; - i_91_ += i_92_; - is_89_[i_90_++] += is[i--] * i_91_; - i_91_ += i_92_; - is_89_[i_90_++] += is[i--] * i_91_; - i_91_ += i_92_; - is_89_[i_90_++] += is[i--] * i_91_; - i_91_ += i_92_; - } - i_93_ += 3; - while (i_90_ < i_93_) { - is_89_[i_90_++] += is[i--] * i_91_; - i_91_ += i_92_; - } - class348_sub16_sub5.anInt8976 = i_91_ >> 2; - class348_sub16_sub5.anInt8983 = i << 8; - return i_90_; - } - - final synchronized void method2909(int i) { - method2926(method2906(), i); - } - - private static final int method2910(int i, byte[] is, int[] is_96_, int i_97_, int i_98_, int i_99_, int i_100_, int i_101_, int i_102_, int i_103_, Class348_Sub16_Sub5 class348_sub16_sub5) { - i_97_ >>= 8; - i_103_ >>= 8; - i_99_ <<= 2; - i_100_ <<= 2; - if ((i_101_ = i_98_ + i_103_ - i_97_) > i_102_) i_101_ = i_102_; - i_98_ <<= 1; - i_101_ <<= 1; - i_101_ -= 6; - while (i_98_ < i_101_) { - i = is[i_97_++]; - is_96_[i_98_++] += i * i_99_; - is_96_[i_98_++] += i * i_100_; - i = is[i_97_++]; - is_96_[i_98_++] += i * i_99_; - is_96_[i_98_++] += i * i_100_; - i = is[i_97_++]; - is_96_[i_98_++] += i * i_99_; - is_96_[i_98_++] += i * i_100_; - i = is[i_97_++]; - is_96_[i_98_++] += i * i_99_; - is_96_[i_98_++] += i * i_100_; - } - i_101_ += 6; - while (i_98_ < i_101_) { - i = is[i_97_++]; - is_96_[i_98_++] += i * i_99_; - is_96_[i_98_++] += i * i_100_; - } - class348_sub16_sub5.anInt8983 = i_97_ << 8; - return i_98_ >> 1; - } - - static final Class348_Sub16_Sub5 method2911(Class348_Sub19_Sub1 class348_sub19_sub1, int i, int i_104_, int i_105_) { - if (class348_sub19_sub1.aByteArray8984 == null || (class348_sub19_sub1.aByteArray8984).length == 0) return null; - return new Class348_Sub16_Sub5(class348_sub19_sub1, i, i_104_, i_105_); - } - - private static final int method2912(int i, int i_106_, byte[] is, int[] is_107_, int i_108_, int i_109_, int i_110_, int i_111_, int i_112_, int i_113_, int i_114_, Class348_Sub16_Sub5 class348_sub16_sub5, int i_115_, int i_116_) { - class348_sub16_sub5.anInt8970 -= class348_sub16_sub5.anInt8971 * i_109_; - class348_sub16_sub5.anInt8974 -= class348_sub16_sub5.anInt8978 * i_109_; - if (i_115_ == 0 || ((i_112_ = i_109_ + (i_114_ + 256 - i_108_ + i_115_) / i_115_) > i_113_)) i_112_ = i_113_; - while (i_109_ < i_112_) { - i_106_ = i_108_ >> 8; - i = is[i_106_ - 1]; - is_107_[i_109_++] += (((i << 8) + (is[i_106_] - i) * (i_108_ & 0xff)) * i_110_ >> 6); - i_110_ += i_111_; - i_108_ += i_115_; - } - if (i_115_ == 0 || ((i_112_ = i_109_ + (i_114_ - i_108_ + i_115_) / i_115_) > i_113_)) i_112_ = i_113_; - i = i_116_; - i_106_ = i_115_; - while (i_109_ < i_112_) { - is_107_[i_109_++] += (((i << 8) + (is[i_108_ >> 8] - i) * (i_108_ & 0xff)) * i_110_) >> 6; - i_110_ += i_111_; - i_108_ += i_106_; - } - class348_sub16_sub5.anInt8970 += class348_sub16_sub5.anInt8971 * i_109_; - class348_sub16_sub5.anInt8974 += class348_sub16_sub5.anInt8978 * i_109_; - class348_sub16_sub5.anInt8976 = i_110_; - class348_sub16_sub5.anInt8983 = i_108_; - return i_109_; - } - - private static final int method2913(byte[] is, int[] is_117_, int i, int i_118_, int i_119_, int i_120_, int i_121_, int i_122_, int i_123_, Class348_Sub16_Sub5 class348_sub16_sub5) { - i >>= 8; - i_123_ >>= 8; - i_119_ <<= 2; - i_120_ <<= 2; - if ((i_121_ = i_118_ + i_123_ - i) > i_122_) i_121_ = i_122_; - class348_sub16_sub5.anInt8970 += class348_sub16_sub5.anInt8971 * (i_121_ - i_118_); - class348_sub16_sub5.anInt8974 += class348_sub16_sub5.anInt8978 * (i_121_ - i_118_); - i_121_ -= 3; - while (i_118_ < i_121_) { - is_117_[i_118_++] += is[i++] * i_119_; - i_119_ += i_120_; - is_117_[i_118_++] += is[i++] * i_119_; - i_119_ += i_120_; - is_117_[i_118_++] += is[i++] * i_119_; - i_119_ += i_120_; - is_117_[i_118_++] += is[i++] * i_119_; - i_119_ += i_120_; - } - i_121_ += 3; - while (i_118_ < i_121_) { - is_117_[i_118_++] += is[i++] * i_119_; - i_119_ += i_120_; - } - class348_sub16_sub5.anInt8976 = i_119_ >> 2; - class348_sub16_sub5.anInt8983 = i << 8; - return i_118_; - } - - final synchronized int method2914() { - if (anInt8979 < 0) return -anInt8979; - return anInt8979; - } - - final synchronized void method2915(int i) { - method2926(i << 6, method2892()); - } - - final Class348_Sub16 method2818() { - return null; - } - - final synchronized void method2916(int i, int i_124_) { - method2888(i, i_124_, method2892()); - } - - final synchronized void method2917(int i) { - anInt8980 = i; - } - - private final void method2918() { - anInt8976 = anInt8969; - anInt8970 = method2904(anInt8969, anInt8977); - anInt8974 = method2889(anInt8969, anInt8977); - } - - private final int method2919(int[] is, int i, int i_125_, int i_126_, int i_127_) { - while (anInt8972 > 0) { - int i_128_ = i + anInt8972; - if (i_128_ > i_126_) i_128_ = i_126_; - anInt8972 += i; - if (anInt8979 == 256 && (anInt8983 & 0xff) == 0) { - if (Class282.aBoolean3652) i = method2893(0, ((Class348_Sub19_Sub1) this.aClass348_Sub19_6787).aByteArray8984, is, anInt8983, i, anInt8970, anInt8974, anInt8971, anInt8978, 0, i_128_, i_125_, this); - else i = method2913(((Class348_Sub19_Sub1) this.aClass348_Sub19_6787).aByteArray8984, is, anInt8983, i, anInt8976, anInt8973, 0, i_128_, i_125_, this); - } else if (Class282.aBoolean3652) i = method2899(0, 0, (((Class348_Sub19_Sub1) this.aClass348_Sub19_6787).aByteArray8984), is, anInt8983, i, anInt8970, anInt8974, anInt8971, anInt8978, 0, i_128_, i_125_, this, anInt8979, i_127_); - else i = method2903(0, 0, (((Class348_Sub19_Sub1) this.aClass348_Sub19_6787).aByteArray8984), is, anInt8983, i, anInt8976, anInt8973, 0, i_128_, i_125_, this, anInt8979, i_127_); - anInt8972 -= i; - if (anInt8972 != 0) return i; - if (method2898()) return i_126_; - } - if (anInt8979 == 256 && (anInt8983 & 0xff) == 0) { - if (Class282.aBoolean3652) return method2910(0, ((Class348_Sub19_Sub1) this.aClass348_Sub19_6787).aByteArray8984, is, anInt8983, i, anInt8970, anInt8974, 0, i_126_, i_125_, this); - return method2905((((Class348_Sub19_Sub1) this.aClass348_Sub19_6787).aByteArray8984), is, anInt8983, i, anInt8976, 0, i_126_, i_125_, this); - } - if (Class282.aBoolean3652) return method2922(0, 0, (((Class348_Sub19_Sub1) this.aClass348_Sub19_6787).aByteArray8984), is, anInt8983, i, anInt8970, anInt8974, 0, i_126_, i_125_, this, anInt8979, i_127_); - return method2925(0, 0, (((Class348_Sub19_Sub1) this.aClass348_Sub19_6787).aByteArray8984), is, anInt8983, i, anInt8976, 0, i_126_, i_125_, this, anInt8979, i_127_); - } - - private static final int method2920(int i, int i_129_, byte[] is, int[] is_130_, int i_131_, int i_132_, int i_133_, int i_134_, int i_135_, int i_136_, int i_137_, int i_138_, int i_139_, Class348_Sub16_Sub5 class348_sub16_sub5, int i_140_, int i_141_) { - class348_sub16_sub5.anInt8976 -= class348_sub16_sub5.anInt8973 * i_132_; - if (i_140_ == 0 || ((i_137_ = i_132_ + (i_139_ + 256 - i_131_ + i_140_) / i_140_) > i_138_)) i_137_ = i_138_; - i_132_ <<= 1; - i_137_ <<= 1; - while (i_132_ < i_137_) { - i_129_ = i_131_ >> 8; - i = is[i_129_ - 1]; - i = (i << 8) + (is[i_129_] - i) * (i_131_ & 0xff); - is_130_[i_132_++] += i * i_133_ >> 6; - i_133_ += i_135_; - is_130_[i_132_++] += i * i_134_ >> 6; - i_134_ += i_136_; - i_131_ += i_140_; - } - if (i_140_ == 0 || ((i_137_ = (i_132_ >> 1) + (i_139_ - i_131_ + i_140_) / i_140_) > i_138_)) i_137_ = i_138_; - i_137_ <<= 1; - i_129_ = i_141_; - while (i_132_ < i_137_) { - i = (i_129_ << 8) + (is[i_131_ >> 8] - i_129_) * (i_131_ & 0xff); - is_130_[i_132_++] += i * i_133_ >> 6; - i_133_ += i_135_; - is_130_[i_132_++] += i * i_134_ >> 6; - i_134_ += i_136_; - i_131_ += i_140_; - } - i_132_ >>= 1; - class348_sub16_sub5.anInt8976 += class348_sub16_sub5.anInt8973 * i_132_; - class348_sub16_sub5.anInt8970 = i_133_; - class348_sub16_sub5.anInt8974 = i_134_; - class348_sub16_sub5.anInt8983 = i_131_; - return i_132_; - } - - private static final int method2921(byte[] is, int[] is_142_, int i, int i_143_, int i_144_, int i_145_, int i_146_, int i_147_, Class348_Sub16_Sub5 class348_sub16_sub5) { - i >>= 8; - i_147_ >>= 8; - i_144_ <<= 2; - if ((i_145_ = i_143_ + i - (i_147_ - 1)) > i_146_) i_145_ = i_146_; - i_145_ -= 3; - while (i_143_ < i_145_) { - is_142_[i_143_++] += is[i--] * i_144_; - is_142_[i_143_++] += is[i--] * i_144_; - is_142_[i_143_++] += is[i--] * i_144_; - is_142_[i_143_++] += is[i--] * i_144_; - } - i_145_ += 3; - while (i_143_ < i_145_) is_142_[i_143_++] += is[i--] * i_144_; - class348_sub16_sub5.anInt8983 = i << 8; - return i_143_; - } - - private static final int method2922(int i, int i_148_, byte[] is, int[] is_149_, int i_150_, int i_151_, int i_152_, int i_153_, int i_154_, int i_155_, int i_156_, Class348_Sub16_Sub5 class348_sub16_sub5, int i_157_, int i_158_) { - if (i_157_ == 0 || ((i_154_ = i_151_ + (i_156_ - i_150_ + i_157_ - 257) / i_157_) > i_155_)) i_154_ = i_155_; - i_151_ <<= 1; - i_154_ <<= 1; - while (i_151_ < i_154_) { - i_148_ = i_150_ >> 8; - i = is[i_148_]; - i = (i << 8) + (is[i_148_ + 1] - i) * (i_150_ & 0xff); - is_149_[i_151_++] += i * i_152_ >> 6; - is_149_[i_151_++] += i * i_153_ >> 6; - i_150_ += i_157_; - } - if (i_157_ == 0 || (i_154_ = (i_151_ >> 1) + (i_156_ - i_150_ + i_157_ - 1) / i_157_) > i_155_) i_154_ = i_155_; - i_154_ <<= 1; - i_148_ = i_158_; - while (i_151_ < i_154_) { - i = is[i_150_ >> 8]; - i = (i << 8) + (i_148_ - i) * (i_150_ & 0xff); - is_149_[i_151_++] += i * i_152_ >> 6; - is_149_[i_151_++] += i * i_153_ >> 6; - i_150_ += i_157_; - } - class348_sub16_sub5.anInt8983 = i_150_; - return i_151_ >> 1; - } - - private final synchronized void method2923(int i) { - method2926(i, method2892()); - } - - final synchronized void method2817(int[] is, int i, int i_159_) { - if (anInt8969 == 0 && anInt8972 == 0) method2819(i_159_); - else { - Class348_Sub19_Sub1 class348_sub19_sub1 = ((Class348_Sub19_Sub1) this.aClass348_Sub19_6787); - int i_160_ = anInt8975 << 8; - int i_161_ = anInt8982 << 8; - int i_162_ = ((class348_sub19_sub1.aByteArray8984).length << 8); - int i_163_ = i_161_ - i_160_; - if (i_163_ <= 0) anInt8980 = 0; - int i_164_ = i; - i_159_ += i; - if (anInt8983 < 0) { - if (anInt8979 > 0) anInt8983 = 0; - else { - method2896(); - this.method2715((byte) 83); - return; - } - } - if (anInt8983 >= i_162_) { - if (anInt8979 < 0) anInt8983 = i_162_ - 1; - else { - method2896(); - this.method2715((byte) 81); - return; - } - } - if (anInt8980 < 0) { - if (aBoolean8981) { - if (anInt8979 < 0) { - i_164_ = method2927(is, i_164_, i_160_, i_159_, (class348_sub19_sub1.aByteArray8984[anInt8975])); - if (anInt8983 >= i_160_) return; - anInt8983 = i_160_ + i_160_ - 1 - anInt8983; - anInt8979 = -anInt8979; - } - for (; ; ) { - i_164_ = method2919(is, i_164_, i_161_, i_159_, (class348_sub19_sub1.aByteArray8984[anInt8982 - 1])); - if (anInt8983 < i_161_) break; - anInt8983 = i_161_ + i_161_ - 1 - anInt8983; - anInt8979 = -anInt8979; - i_164_ = method2927(is, i_164_, i_160_, i_159_, (class348_sub19_sub1.aByteArray8984[anInt8975])); - if (anInt8983 >= i_160_) break; - anInt8983 = i_160_ + i_160_ - 1 - anInt8983; - anInt8979 = -anInt8979; - } - } else if (anInt8979 < 0) { - for (; ; ) { - i_164_ = method2927(is, i_164_, i_160_, i_159_, (class348_sub19_sub1.aByteArray8984[anInt8982 - 1])); - if (anInt8983 >= i_160_) break; - anInt8983 = i_161_ - 1 - (i_161_ - 1 - anInt8983) % i_163_; - } - } else { - for (; ; ) { - i_164_ = method2919(is, i_164_, i_161_, i_159_, (class348_sub19_sub1.aByteArray8984[anInt8975])); - if (anInt8983 < i_161_) break; - anInt8983 = i_160_ + (anInt8983 - i_160_) % i_163_; - } - } - } else { - do { - if (anInt8980 > 0) { - if (aBoolean8981) { - if (anInt8979 < 0) { - i_164_ = method2927(is, i_164_, i_160_, i_159_, (class348_sub19_sub1.aByteArray8984[anInt8975])); - if (anInt8983 >= i_160_) return; - anInt8983 = i_160_ + i_160_ - 1 - anInt8983; - anInt8979 = -anInt8979; - if (--anInt8980 == 0) break; - } - do { - i_164_ = method2919(is, i_164_, i_161_, i_159_, (class348_sub19_sub1.aByteArray8984[anInt8982 - 1])); - if (anInt8983 < i_161_) return; - anInt8983 = i_161_ + i_161_ - 1 - anInt8983; - anInt8979 = -anInt8979; - if (--anInt8980 == 0) break; - i_164_ = method2927(is, i_164_, i_160_, i_159_, (class348_sub19_sub1.aByteArray8984[anInt8975])); - if (anInt8983 >= i_160_) return; - anInt8983 = i_160_ + i_160_ - 1 - anInt8983; - anInt8979 = -anInt8979; - } while (--anInt8980 != 0); - } else if (anInt8979 < 0) { - for (; ; ) { - i_164_ = method2927(is, i_164_, i_160_, i_159_, (class348_sub19_sub1.aByteArray8984[anInt8982 - 1])); - if (anInt8983 >= i_160_) return; - int i_165_ = (i_161_ - 1 - anInt8983) / i_163_; - if (i_165_ >= anInt8980) { - anInt8983 += i_163_ * anInt8980; - anInt8980 = 0; - break; - } - anInt8983 += i_163_ * i_165_; - anInt8980 -= i_165_; - } - } else { - for (; ; ) { - i_164_ = method2919(is, i_164_, i_161_, i_159_, (class348_sub19_sub1.aByteArray8984[anInt8975])); - if (anInt8983 < i_161_) return; - int i_166_ = (anInt8983 - i_160_) / i_163_; - if (i_166_ >= anInt8980) { - anInt8983 -= i_163_ * anInt8980; - anInt8980 = 0; - break; - } - anInt8983 -= i_163_ * i_166_; - anInt8980 -= i_166_; - } - } - } - } while (false); - if (anInt8979 < 0) { - method2927(is, i_164_, 0, i_159_, 0); - if (anInt8983 < 0) { - anInt8983 = -1; - method2896(); - this.method2715((byte) 24); - } - } else { - method2919(is, i_164_, i_162_, i_159_, 0); - if (anInt8983 >= i_162_) { - anInt8983 = i_162_; - method2896(); - this.method2715((byte) 93); - } - } - } - } - } - - final synchronized void method2924(int i) { - int i_167_ = ((((Class348_Sub19_Sub1) this.aClass348_Sub19_6787).aByteArray8984).length << 8); - if (i < -1) i = -1; - if (i > i_167_) i = i_167_; - anInt8983 = i; - } - - final Class348_Sub16 method2816() { - return null; - } - - private static final int method2925(int i, int i_168_, byte[] is, int[] is_169_, int i_170_, int i_171_, int i_172_, int i_173_, int i_174_, int i_175_, Class348_Sub16_Sub5 class348_sub16_sub5, int i_176_, int i_177_) { - if (i_176_ == 0 || ((i_173_ = i_171_ + (i_175_ - i_170_ + i_176_ - 257) / i_176_) > i_174_)) i_173_ = i_174_; - while (i_171_ < i_173_) { - i_168_ = i_170_ >> 8; - i = is[i_168_]; - is_169_[i_171_++] += (((i << 8) + (is[i_168_ + 1] - i) * (i_170_ & 0xff)) * i_172_) >> 6; - i_170_ += i_176_; - } - if (i_176_ == 0 || ((i_173_ = i_171_ + (i_175_ - i_170_ + i_176_ - 1) / i_176_) > i_174_)) i_173_ = i_174_; - i_168_ = i_177_; - while (i_171_ < i_173_) { - i = is[i_170_ >> 8]; - is_169_[i_171_++] += ((i << 8) + (i_168_ - i) * (i_170_ & 0xff)) * i_172_ >> 6; - i_170_ += i_176_; - } - class348_sub16_sub5.anInt8983 = i_170_; - return i_171_; - } - - private final synchronized void method2926(int i, int i_178_) { - anInt8969 = i; - anInt8977 = i_178_; - anInt8972 = 0; - method2918(); - } - - final synchronized void method2819(int i) { - if (anInt8972 > 0) { - if (i >= anInt8972) { - if (anInt8969 == -2147483648) { - anInt8969 = 0; - anInt8976 = anInt8970 = anInt8974 = 0; - this.method2715((byte) 52); - i = anInt8972; - } - anInt8972 = 0; - method2918(); - } else { - anInt8976 += anInt8973 * i; - anInt8970 += anInt8971 * i; - anInt8974 += anInt8978 * i; - anInt8972 -= i; - } - } - Class348_Sub19_Sub1 class348_sub19_sub1 = ((Class348_Sub19_Sub1) this.aClass348_Sub19_6787); - int i_179_ = anInt8975 << 8; - int i_180_ = anInt8982 << 8; - int i_181_ = ((class348_sub19_sub1.aByteArray8984).length << 8); - int i_182_ = i_180_ - i_179_; - if (i_182_ <= 0) anInt8980 = 0; - if (anInt8983 < 0) { - if (anInt8979 > 0) anInt8983 = 0; - else { - method2896(); - this.method2715((byte) 60); - return; - } - } - if (anInt8983 >= i_181_) { - if (anInt8979 < 0) anInt8983 = i_181_ - 1; - else { - method2896(); - this.method2715((byte) 93); - return; - } - } - anInt8983 += anInt8979 * i; - if (anInt8980 < 0) { - if (aBoolean8981) { - if (anInt8979 < 0) { - if (anInt8983 >= i_179_) return; - anInt8983 = i_179_ + i_179_ - 1 - anInt8983; - anInt8979 = -anInt8979; - } - while (anInt8983 >= i_180_) { - anInt8983 = i_180_ + i_180_ - 1 - anInt8983; - anInt8979 = -anInt8979; - if (anInt8983 >= i_179_) break; - anInt8983 = i_179_ + i_179_ - 1 - anInt8983; - anInt8979 = -anInt8979; - } - } else if (anInt8979 < 0) { - if (anInt8983 < i_179_) anInt8983 = i_180_ - 1 - (i_180_ - 1 - anInt8983) % i_182_; - } else if (anInt8983 >= i_180_) anInt8983 = i_179_ + (anInt8983 - i_179_) % i_182_; - } else { - do { - if (anInt8980 > 0) { - if (aBoolean8981) { - if (anInt8979 < 0) { - if (anInt8983 >= i_179_) return; - anInt8983 = i_179_ + i_179_ - 1 - anInt8983; - anInt8979 = -anInt8979; - if (--anInt8980 == 0) break; - } - do { - if (anInt8983 < i_180_) return; - anInt8983 = i_180_ + i_180_ - 1 - anInt8983; - anInt8979 = -anInt8979; - if (--anInt8980 == 0) break; - if (anInt8983 >= i_179_) return; - anInt8983 = i_179_ + i_179_ - 1 - anInt8983; - anInt8979 = -anInt8979; - } while (--anInt8980 != 0); - } else if (anInt8979 < 0) { - if (anInt8983 >= i_179_) return; - int i_183_ = (i_180_ - 1 - anInt8983) / i_182_; - if (i_183_ >= anInt8980) { - anInt8983 += i_182_ * anInt8980; - anInt8980 = 0; - } else { - anInt8983 += i_182_ * i_183_; - anInt8980 -= i_183_; - return; - } - } else { - if (anInt8983 < i_180_) return; - int i_184_ = (anInt8983 - i_179_) / i_182_; - if (i_184_ >= anInt8980) { - anInt8983 -= i_182_ * anInt8980; - anInt8980 = 0; - } else { - anInt8983 -= i_182_ * i_184_; - anInt8980 -= i_184_; - return; - } - } - } - } while (false); - if (anInt8979 < 0) { - if (anInt8983 < 0) { - anInt8983 = -1; - method2896(); - this.method2715((byte) 126); - } - } else if (anInt8983 >= i_181_) { - anInt8983 = i_181_; - method2896(); - this.method2715((byte) 55); - } - } - } - - private Class348_Sub16_Sub5(Class348_Sub19_Sub1 class348_sub19_sub1, int i, int i_185_, int i_186_) { - this.aClass348_Sub19_6787 = class348_sub19_sub1; - anInt8975 = class348_sub19_sub1.anInt8986; - anInt8982 = class348_sub19_sub1.anInt8985; - aBoolean8981 = class348_sub19_sub1.aBoolean8987; - anInt8979 = i; - anInt8969 = i_185_; - anInt8977 = i_186_; - anInt8983 = 0; - method2918(); - } - - private final int method2927(int[] is, int i, int i_187_, int i_188_, int i_189_) { - while (anInt8972 > 0) { - int i_190_ = i + anInt8972; - if (i_190_ > i_188_) i_190_ = i_188_; - anInt8972 += i; - if (anInt8979 == -256 && (anInt8983 & 0xff) == 0) { - if (Class282.aBoolean3652) i = method2900(0, ((Class348_Sub19_Sub1) this.aClass348_Sub19_6787).aByteArray8984, is, anInt8983, i, anInt8970, anInt8974, anInt8971, anInt8978, 0, i_190_, i_187_, this); - else i = method2908(((Class348_Sub19_Sub1) this.aClass348_Sub19_6787).aByteArray8984, is, anInt8983, i, anInt8976, anInt8973, 0, i_190_, i_187_, this); - } else if (Class282.aBoolean3652) i = method2920(0, 0, (((Class348_Sub19_Sub1) this.aClass348_Sub19_6787).aByteArray8984), is, anInt8983, i, anInt8970, anInt8974, anInt8971, anInt8978, 0, i_190_, i_187_, this, anInt8979, i_189_); - else i = method2912(0, 0, (((Class348_Sub19_Sub1) this.aClass348_Sub19_6787).aByteArray8984), is, anInt8983, i, anInt8976, anInt8973, 0, i_190_, i_187_, this, anInt8979, i_189_); - anInt8972 -= i; - if (anInt8972 != 0) return i; - if (method2898()) return i_188_; - } - if (anInt8979 == -256 && (anInt8983 & 0xff) == 0) { - if (Class282.aBoolean3652) return method2897(0, ((Class348_Sub19_Sub1) this.aClass348_Sub19_6787).aByteArray8984, is, anInt8983, i, anInt8970, anInt8974, 0, i_188_, i_187_, this); - return method2921((((Class348_Sub19_Sub1) this.aClass348_Sub19_6787).aByteArray8984), is, anInt8983, i, anInt8976, 0, i_188_, i_187_, this); - } - if (Class282.aBoolean3652) return method2894(0, 0, (((Class348_Sub19_Sub1) this.aClass348_Sub19_6787).aByteArray8984), is, anInt8983, i, anInt8970, anInt8974, 0, i_188_, i_187_, this, anInt8979, i_189_); - return method2907(0, 0, (((Class348_Sub19_Sub1) this.aClass348_Sub19_6787).aByteArray8984), is, anInt8983, i, anInt8976, 0, i_188_, i_187_, this, anInt8979, i_189_); - } -} diff --git a/client/src/Class348_Sub17.java b/client/src/Class348_Sub17.java deleted file mode 100644 index 0153c609e..000000000 --- a/client/src/Class348_Sub17.java +++ /dev/null @@ -1,417 +0,0 @@ -/* Class348_Sub17 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub17 extends Class348 { - static boolean aBoolean6788 = false; - static int anInt6789; - static int anInt6790; - static long aLong6791 = 0L; - byte[] aByteArray6792; - private int[] anIntArray6793; - static int anInt6794; - short[] aShortArray6795; - Class23[] aClass23Array6796; - int anInt6797; - byte[] aByteArray6798; - byte[] aByteArray6799; - Class348_Sub19_Sub1[] aClass348_Sub19_Sub1Array6800; - static int anInt6801; - static Class359[] aClass359Array6802 = new Class359[2048]; - static int anInt6803; - - static final void method2928(boolean bool) { - if (bool == true) { - Class258_Sub2.aClass10Array8531 = new Class10[50]; - anInt6790++; - Class147.anInt2021 = 0; - } - } - - static final RuntimeException_Sub1 method2929(Throwable throwable, String string) { - anInt6789++; - if (Loader.trace) { - throwable.printStackTrace(); - } - RuntimeException_Sub1 runtimeexception_sub1; - if (throwable instanceof RuntimeException_Sub1) { - runtimeexception_sub1 = (RuntimeException_Sub1) throwable; - runtimeexception_sub1.aString4594 += ' ' + string; - } else runtimeexception_sub1 = new RuntimeException_Sub1(throwable, string); - return runtimeexception_sub1; - } - - public static void method2930(byte i) { - aClass359Array6802 = null; - int i_0_ = -14 / ((i - 61) / 43); - } - - static final void method2931(int i, byte i_1_, int[] is, Npc npc) { - do { - try { - anInt6801++; - if ((npc.anIntArray10236) != null) { - boolean bool = true; - for (int i_2_ = 0; i_2_ < npc.anIntArray10236.length; i_2_++) { - if ((npc.anIntArray10236[i_2_]) != is[i_2_]) { - bool = false; - break; - } - } - if (bool && npc.anInt10286 != -1) { - Class17 class17 = (Class10.aClass87_191.method835(npc.anInt10286, 7)); - int i_3_ = class17.anInt248; - if (i_3_ == 1) { - npc.anInt10232 = 0; - npc.anInt10218 = i; - npc.anInt10294 = 0; - npc.anInt10267 = 0; - npc.anInt10244 = 1; - if (!npc.aBoolean10309) Class287.method2178(npc, npc.anInt10267, class17, -72); - } - if (i_3_ == 2) npc.anInt10294 = 0; - } - } - boolean bool = true; - for (int i_4_ = 0; is.length > i_4_; i_4_++) { - if (is[i_4_] != -1) bool = false; - if (npc.anIntArray10236 == null || (npc.anIntArray10236[i_4_]) == -1 || (Class10.aClass87_191.method835(is[i_4_], 7).anInt239 >= Class10.aClass87_191.method835((npc.anIntArray10236[i_4_]), 7).anInt239)) { - npc.anInt10218 = i; - npc.anInt10322 = npc.anInt10319; - npc.anIntArray10236 = is; - } - } - if (i_1_ <= 31) method2931(-66, (byte) 125, null, null); - if (!bool) break; - npc.anIntArray10236 = is; - npc.anInt10218 = i; - npc.anInt10322 = (npc.anInt10319); - } catch (RuntimeException runtimeexception) { - throw method2929(runtimeexception, ("jf.E(" + i + ',' + i_1_ + ',' + (is != null ? "{...}" : "null") + ',' + (npc != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - final boolean method2932(Class26 class26, int[] is, byte[] is_5_, int i) { - try { - anInt6803++; - boolean bool = true; - int i_6_ = 0; - Class348_Sub19_Sub1 class348_sub19_sub1 = null; - for (int i_7_ = i; i_7_ < 128; i_7_++) { - if (is_5_ == null || is_5_[i_7_] != 0) { - int i_8_ = anIntArray6793[i_7_]; - if (i_8_ != 0) { - if (i_8_ != i_6_) { - i_6_ = i_8_; - if ((--i_8_ & 0x1) == 0) class348_sub19_sub1 = class26.method308(i_8_ >> 2, is, -2); - else class348_sub19_sub1 = class26.method309(is, i_8_ >> 2, -1); - if (class348_sub19_sub1 == null) bool = false; - } - if (class348_sub19_sub1 != null) { - this.aClass348_Sub19_Sub1Array6800[i_7_] = class348_sub19_sub1; - anIntArray6793[i_7_] = 0; - } - } - } - } - return bool; - } catch (RuntimeException runtimeexception) { - throw method2929(runtimeexception, ("jf.B(" + (class26 != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ',' + (is_5_ != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - final void method2933(byte i) { - anInt6794++; - if (i >= -65) this.aClass23Array6796 = null; - anIntArray6793 = null; - } - - public Class348_Sub17() { - /* empty */ - } - - Class348_Sub17(byte[] is) { - this.aShortArray6795 = new short[128]; - this.aByteArray6792 = new byte[128]; - this.aByteArray6798 = new byte[128]; - this.aByteArray6799 = new byte[128]; - this.aClass348_Sub19_Sub1Array6800 = new Class348_Sub19_Sub1[128]; - this.aClass23Array6796 = new Class23[128]; - anIntArray6793 = new int[128]; - Class348_Sub49 class348_sub49 = new Class348_Sub49(is); - int i; - for (i = 0; ((class348_sub49.aByteArray7154[i + class348_sub49.anInt7197]) != 0); i++) { - /* empty */ - } - byte[] is_9_ = new byte[i]; - for (int i_10_ = 0; i > i_10_; i_10_++) - is_9_[i_10_] = class348_sub49.readByte(-128); - class348_sub49.anInt7197++; - i++; - int i_11_ = class348_sub49.anInt7197; - class348_sub49.anInt7197 += i; - int i_12_; - for (i_12_ = 0; ((class348_sub49.aByteArray7154[i_12_ + class348_sub49.anInt7197]) != 0); i_12_++) { - /* empty */ - } - byte[] is_13_ = new byte[i_12_]; - for (int i_14_ = 0; i_12_ > i_14_; i_14_++) - is_13_[i_14_] = class348_sub49.readByte(-81); - i_12_++; - class348_sub49.anInt7197++; - int i_15_ = class348_sub49.anInt7197; - class348_sub49.anInt7197 += i_12_; - int i_16_; - for (i_16_ = 0; ((class348_sub49.aByteArray7154[class348_sub49.anInt7197 + i_16_]) != 0); i_16_++) { - /* empty */ - } - byte[] is_17_ = new byte[i_16_]; - for (int i_18_ = 0; i_16_ > i_18_; i_18_++) - is_17_[i_18_] = class348_sub49.readByte(-82); - class348_sub49.anInt7197++; - byte[] is_19_ = new byte[++i_16_]; - int i_20_; - if (i_16_ > 1) { - is_19_[1] = (byte) 1; - i_20_ = 2; - int i_21_ = 1; - for (int i_22_ = 2; i_16_ > i_22_; i_22_++) { - int i_23_ = class348_sub49.readUnsignedByte(255); - if (i_23_ == 0) i_21_ = i_20_++; - else { - if (i_23_ <= i_21_) i_23_--; - i_21_ = i_23_; - } - is_19_[i_22_] = (byte) i_21_; - } - } else i_20_ = i_16_; - Class23[] class23s = new Class23[i_20_]; - for (int i_24_ = 0; i_24_ < class23s.length; i_24_++) { - Class23 class23 = class23s[i_24_] = new Class23(); - int i_25_ = class348_sub49.readUnsignedByte(255); - if (i_25_ > 0) class23.aByteArray348 = new byte[i_25_ * 2]; - i_25_ = class348_sub49.readUnsignedByte(255); - if (i_25_ > 0) { - class23.aByteArray344 = new byte[i_25_ * 2 + 2]; - class23.aByteArray344[1] = (byte) 64; - } - } - int i_26_ = class348_sub49.readUnsignedByte(255); - byte[] is_27_ = i_26_ > 0 ? new byte[i_26_ * 2] : null; - i_26_ = class348_sub49.readUnsignedByte(255); - byte[] is_28_ = i_26_ > 0 ? new byte[2 * i_26_] : null; - int i_29_; - for (i_29_ = 0; ((class348_sub49.aByteArray7154[class348_sub49.anInt7197 - -i_29_]) != 0); i_29_++) { - /* empty */ - } - byte[] is_30_ = new byte[i_29_]; - for (int i_31_ = 0; i_29_ > i_31_; i_31_++) - is_30_[i_31_] = class348_sub49.readByte(-108); - class348_sub49.anInt7197++; - i_29_++; - int i_32_ = 0; - for (int i_33_ = 0; i_33_ < 128; i_33_++) { - i_32_ += class348_sub49.readUnsignedByte(255); - this.aShortArray6795[i_33_] = (short) i_32_; - } - i_32_ = 0; - for (int i_34_ = 0; i_34_ < 128; i_34_++) { - i_32_ += class348_sub49.readUnsignedByte(255); - this.aShortArray6795[i_34_] += i_32_ << 8; - } - int i_35_ = 0; - int i_36_ = 0; - int i_37_ = 0; - for (int i_38_ = 0; i_38_ < 128; i_38_++) { - if (i_35_ == 0) { - if (i_36_ < is_30_.length) i_35_ = is_30_[i_36_++]; - else i_35_ = -1; - i_37_ = class348_sub49.method3366((byte) 124); - } - this.aShortArray6795[i_38_] += Class139.method1166(32768, i_37_ + -1 << 14); - i_35_--; - anIntArray6793[i_38_] = i_37_; - } - i_36_ = 0; - i_35_ = 0; - int i_39_ = 0; - for (int i_40_ = 0; i_40_ < 128; i_40_++) { - if (anIntArray6793[i_40_] != 0) { - if (i_35_ == 0) { - i_39_ = -1 + (class348_sub49.aByteArray7154[i_11_++]); - if (i_36_ < is_9_.length) i_35_ = is_9_[i_36_++]; - else i_35_ = -1; - } - i_35_--; - this.aByteArray6798[i_40_] = (byte) i_39_; - } - } - i_36_ = 0; - i_35_ = 0; - int i_41_ = 0; - for (int i_42_ = 0; i_42_ < 128; i_42_++) { - if (anIntArray6793[i_42_] != 0) { - if (i_35_ == 0) { - if (i_36_ >= is_13_.length) i_35_ = -1; - else i_35_ = is_13_[i_36_++]; - i_41_ = 16 + (class348_sub49.aByteArray7154[i_15_++]) << 2; - } - i_35_--; - this.aByteArray6792[i_42_] = (byte) i_41_; - } - } - i_35_ = 0; - i_36_ = 0; - Class23 class23 = null; - for (int i_43_ = 0; i_43_ < 128; i_43_++) { - if (anIntArray6793[i_43_] != 0) { - if (i_35_ == 0) { - class23 = class23s[is_19_[i_36_]]; - if (i_36_ < is_17_.length) i_35_ = is_17_[i_36_++]; - else i_35_ = -1; - } - i_35_--; - this.aClass23Array6796[i_43_] = class23; - } - } - i_35_ = 0; - i_36_ = 0; - int i_44_ = 0; - for (int i_45_ = 0; i_45_ < 128; i_45_++) { - if (i_35_ == 0) { - if (is_30_.length > i_36_) i_35_ = is_30_[i_36_++]; - else i_35_ = -1; - if (anIntArray6793[i_45_] > 0) i_44_ = class348_sub49.readUnsignedByte(255) + 1; - } - this.aByteArray6799[i_45_] = (byte) i_44_; - i_35_--; - } - this.anInt6797 = class348_sub49.readUnsignedByte(255) - -1; - for (int i_46_ = 0; i_20_ > i_46_; i_46_++) { - Class23 class23_47_ = class23s[i_46_]; - if (class23_47_.aByteArray348 != null) { - for (int i_48_ = 1; i_48_ < class23_47_.aByteArray348.length; i_48_ += 2) - class23_47_.aByteArray348[i_48_] = class348_sub49.readByte(-93); - } - if (class23_47_.aByteArray344 != null) { - for (int i_49_ = 3; -2 + class23_47_.aByteArray344.length > i_49_; i_49_ += 2) - class23_47_.aByteArray344[i_49_] = class348_sub49.readByte(-89); - } - } - if (is_27_ != null) { - for (int i_50_ = 1; i_50_ < is_27_.length; i_50_ += 2) - is_27_[i_50_] = class348_sub49.readByte(-82); - } - if (is_28_ != null) { - for (int i_51_ = 1; is_28_.length > i_51_; i_51_ += 2) - is_28_[i_51_] = class348_sub49.readByte(-126); - } - for (int i_52_ = 0; i_52_ < i_20_; i_52_++) { - Class23 class23_53_ = class23s[i_52_]; - if (class23_53_.aByteArray344 != null) { - i_32_ = 0; - for (int i_54_ = 2; i_54_ < class23_53_.aByteArray344.length; i_54_ += 2) { - i_32_ = 1 + i_32_ - -class348_sub49.readUnsignedByte(255); - class23_53_.aByteArray344[i_54_] = (byte) i_32_; - } - } - } - for (int i_55_ = 0; i_20_ > i_55_; i_55_++) { - Class23 class23_56_ = class23s[i_55_]; - if (class23_56_.aByteArray348 != null) { - i_32_ = 0; - for (int i_57_ = 2; i_57_ < class23_56_.aByteArray348.length; i_57_ += 2) { - i_32_ = 1 + (i_32_ - -class348_sub49.readUnsignedByte(255)); - class23_56_.aByteArray348[i_57_] = (byte) i_32_; - } - } - } - if (is_27_ != null) { - i_32_ = class348_sub49.readUnsignedByte(255); - is_27_[0] = (byte) i_32_; - for (int i_58_ = 2; i_58_ < is_27_.length; i_58_ += 2) { - i_32_ = 1 + (i_32_ - -class348_sub49.readUnsignedByte(255)); - is_27_[i_58_] = (byte) i_32_; - } - int i_59_ = is_27_[0]; - int i_60_ = is_27_[1]; - for (int i_61_ = 0; i_59_ > i_61_; i_61_++) - this.aByteArray6799[i_61_] = (byte) (32 + i_60_ * (this.aByteArray6799[i_61_]) >> 6); - int i_62_ = 2; - while (is_27_.length > i_62_) { - int i_63_ = is_27_[i_62_]; - int i_64_ = is_27_[1 + i_62_]; - int i_65_ = (-i_59_ + i_63_) / 2 + (-i_59_ + i_63_) * i_60_; - for (int i_66_ = i_59_; i_66_ < i_63_; i_66_++) { - int i_67_ = Class254.method1928(-i_59_ + i_63_, -110, i_65_); - this.aByteArray6799[i_66_] = (byte) (32 + (this.aByteArray6799[i_66_]) * i_67_ >> 6); - i_65_ += -i_60_ + i_64_; - } - i_59_ = i_63_; - i_62_ += 2; - i_60_ = i_64_; - } - for (int i_68_ = i_59_; i_68_ < 128; i_68_++) - this.aByteArray6799[i_68_] = (byte) (32 + i_60_ * (this.aByteArray6799[i_68_]) >> 6); - Object object = null; - } - if (is_28_ != null) { - i_32_ = class348_sub49.readUnsignedByte(255); - is_28_[0] = (byte) i_32_; - for (int i_69_ = 2; i_69_ < is_28_.length; i_69_ += 2) { - i_32_ = class348_sub49.readUnsignedByte(255) + (1 + i_32_); - is_28_[i_69_] = (byte) i_32_; - } - int i_70_ = is_28_[0]; - int i_71_ = is_28_[1] << 1; - for (int i_72_ = 0; i_70_ > i_72_; i_72_++) { - int i_73_ = ((this.aByteArray6792[i_72_] & 0xff) + i_71_); - if (i_73_ < 0) i_73_ = 0; - if (i_73_ > 128) i_73_ = 128; - this.aByteArray6792[i_72_] = (byte) i_73_; - } - for (int i_74_ = 2; is_28_.length > i_74_; i_74_ += 2) { - int i_75_ = is_28_[i_74_]; - int i_76_ = is_28_[i_74_ - -1] << 1; - int i_77_ = (-i_70_ + i_75_) * i_71_ + (-i_70_ + i_75_) / 2; - for (int i_78_ = i_70_; i_75_ > i_78_; i_78_++) { - int i_79_ = Class254.method1928(-i_70_ + i_75_, -34, i_77_); - int i_80_ = ((0xff & this.aByteArray6792[i_78_]) + i_79_); - if (i_80_ < 0) i_80_ = 0; - if (i_80_ > 128) i_80_ = 128; - this.aByteArray6792[i_78_] = (byte) i_80_; - i_77_ += -i_71_ + i_76_; - } - i_71_ = i_76_; - i_70_ = i_75_; - } - Object object = null; - for (int i_81_ = i_70_; i_81_ < 128; i_81_++) { - int i_82_ = i_71_ + (this.aByteArray6792[i_81_] & 0xff); - if (i_82_ < 0) i_82_ = 0; - if (i_82_ > 128) i_82_ = 128; - this.aByteArray6792[i_81_] = (byte) i_82_; - } - } - for (int i_83_ = 0; i_20_ > i_83_; i_83_++) - class23s[i_83_].anInt347 = class348_sub49.readUnsignedByte(255); - for (int i_84_ = 0; i_84_ < i_20_; i_84_++) { - Class23 class23_85_ = class23s[i_84_]; - if (class23_85_.aByteArray348 != null) class23_85_.anInt345 = class348_sub49.readUnsignedByte(255); - if (class23_85_.aByteArray344 != null) class23_85_.anInt349 = class348_sub49.readUnsignedByte(255); - if (class23_85_.anInt347 > 0) class23_85_.anInt350 = class348_sub49.readUnsignedByte(255); - } - for (int i_86_ = 0; i_20_ > i_86_; i_86_++) - class23s[i_86_].anInt352 = class348_sub49.readUnsignedByte(255); - for (int i_87_ = 0; i_87_ < i_20_; i_87_++) { - Class23 class23_88_ = class23s[i_87_]; - if (class23_88_.anInt352 > 0) class23_88_.anInt353 = class348_sub49.readUnsignedByte(255); - } - for (int i_89_ = 0; i_20_ > i_89_; i_89_++) { - Class23 class23_90_ = class23s[i_89_]; - if (class23_90_.anInt353 > 0) class23_90_.anInt346 = class348_sub49.readUnsignedByte(255); - } - } -} diff --git a/client/src/Class348_Sub18.java b/client/src/Class348_Sub18.java deleted file mode 100644 index c4dc5efe7..000000000 --- a/client/src/Class348_Sub18.java +++ /dev/null @@ -1,197 +0,0 @@ -/* Class348_Sub18 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; -import java.lang.reflect.Constructor; - -final class Class348_Sub18 extends Class348 { - static int anInt6804; - static int anInt6805; - private final int anInt6806; - static int anInt6807; - static int anInt6808; - int anInt6809; - private int anInt6810; - private int anInt6811; - int anInt6812; - int anInt6813; - static Class351 aClass351_6814 = new Class351(63, 3); - private final int anInt6815; - static int anInt6816; - static int anInt6817; - static int anInt6818 = 0; - int anInt6819; - private final int anInt6820; - static int anInt6821; - static int anInt6822; - /*synthetic*/ static Class aClass6823; - - final boolean method2934(int i, int i_0_, int i_1_) { - anInt6822++; - if (i != 3589) method2941(null, 70, false); - return i_0_ >= anInt6820 && i_0_ <= anInt6806 && i_1_ >= anInt6811 && anInt6810 >= i_1_; - } - - final boolean method2935(int i, int i_2_, int i_3_, boolean bool) { - anInt6821++; - if (bool != true) anInt6811 = -84; - return i_3_ == anInt6815 && i_2_ >= anInt6820 && anInt6806 >= i_2_ && i >= anInt6811 && anInt6810 >= i; - } - - public static void method2936(byte i) { - if (i == -25) aClass351_6814 = null; - } - - final void method2937(int i, int i_4_, int i_5_, int[] is) { - anInt6816++; - is[0] = anInt6815; - is[1] = -this.anInt6809 - -anInt6820 + i; - is[2] = i_4_ + (-this.anInt6812 + anInt6811); - if (i_5_ != -3069) anInt6810 = -14; - } - - static final void method2938(byte i) { - anInt6804++; - Class229.aClass268_2979.method2037(10205); - Class362.aClass183_4460.method1381(true); - Class348_Sub40_Sub25.aClass150_9342.method1206((byte) -37); - Class348_Sub40_Sub12.aClass263_9195.method2012(-23828); - Class189.aClass278_2529.method2078(-6080); - Exception_Sub1.aClass255_112.method1939(-110); - Class10.aClass87_191.method834((byte) -116); - Class348_Sub40_Sub18.aClass319_9245.method2546(60); - Class229.aClass194_2981.method1445(64); - Class269.aClass217_3453.method1589((byte) 127); - Class64_Sub3.aClass261_5558.method1985(0); - Class2.aClass141_117.method1175((byte) 125); - Class348_Sub23_Sub2.aClass153_9031.method1219(7851); - Class348_Sub23_Sub2.aClass187_9036.method1404((byte) -82); - Class101_Sub3.aClass326_5764.method2601((byte) -44); - Class30.aClass84_413.method822((byte) -120); - Class123.aClass25_1813.method300((byte) -123); - Class348_Sub1.aClass185_6559.method1393((byte) -13); - Class239.aClass166_3147.method1290(-8); - Class136.aClass65_4787.method695(true); - Class73.aClass219_4782.method1602(0); - Class369_Sub3.method3573(-15326); - Class164.method1277((byte) 62); - Class84.method821(-126); - Class318.method2375(16127); - if (Class55_Sub1.aClass364_5271 != Class8.aClass364_165) { - for (int i_6_ = 0; Class308.aByteArrayArray3882.length > i_6_; i_6_++) - Class308.aByteArrayArray3882[i_6_] = null; - Class127_Sub1.anInt8388 = 0; - } - Class364.method3517(83); - Class316.method2368(-1); - Class239_Sub25.method1828(87); - if (i > 53) { - Class24.method297(false); - Class186_Sub1.method1402(1); - Class66.aClass60_1174.method590(0); - Class348_Sub8.aHa6654.method3663(); - Class238_Sub1.method1707(26469); - Class348_Sub49.method3354(-52); - Class348_Sub29.aClass45_6909.method412((byte) -124); - Class186.aClass45_2490.method412((byte) -119); - Class95.aClass45_1541.method412((byte) 37); - Class348_Sub35.aClass45_6980.method412((byte) -113); - Class129.aClass45_1878.method412((byte) -116); - Class367_Sub10.aClass45_7382.method412((byte) -110); - Class59_Sub2_Sub1.aClass45_8667.method412((byte) 64); - aa_Sub3.aClass45_5207.method412((byte) 120); - Class21.aClass45_322.method412((byte) 98); - Class369_Sub2.aClass45_8589.method412((byte) 43); - Class16.aClass45_233.method412((byte) 20); - Class348_Sub23_Sub2.aClass45_9033.method412((byte) 89); - Class113.aClass45_1743.method412((byte) -125); - Class104.aClass45_1627.method412((byte) -117); - Class239_Sub4.aClass45_5878.method412((byte) 29); - Class123.aClass45_1815.method412((byte) 80); - Class94.aClass45_1538.method412((byte) 34); - Class247.aClass45_3183.method412((byte) -116); - Class216.aClass45_4975.method412((byte) 28); - Class174.aClass45_2306.method412((byte) -115); - r_Sub2.aClass45_10480.method412((byte) 22); - Class78.aClass45_1322.method412((byte) 36); - Class348_Sub16_Sub3.aClass45_8926.method412((byte) -114); - Class348_Sub32.aClass45_6950.method412((byte) 36); - Class130.aClass45_1897.method412((byte) -114); - Class82.aClass45_1434.method412((byte) -117); - Class348_Sub11.aClass45_4770.method412((byte) 78); - Class239.aClass45_3146.method412((byte) 88); - Class367_Sub8.aClass45_7362.method412((byte) -109); - Class262.aClass45_3323.method412((byte) 112); - Class126.aClass45_4984.method412((byte) 85); - Class136.aClass45_4796.method412((byte) 93); - Class146.aClass45_2015.method412((byte) -122); - Class353.aClass60_4346.method590(0); - Class328_Sub2.aClass60_6517.method590(0); - Class348_Sub1_Sub1.aClass60_8807.method590(0); - Class34.aClass60_463.method590(0); - } - } - - final boolean method2939(int i, int i_7_, int i_8_) { - anInt6807++; - if (i_7_ != 2) return true; - return this.anInt6809 <= i && this.anInt6819 >= i && (i_8_ >= this.anInt6812) && this.anInt6813 >= i_8_; - } - - final void method2940(int i, boolean bool, int[] is, int i_9_) { - anInt6817++; - is[0] = 0; - is[2] = i + -anInt6811 + this.anInt6812; - is[1] = i_9_ - anInt6820 - -this.anInt6809; - if (bool != true) this.anInt6812 = -26; - } - - static final Class373 method2941(Component component, int i, boolean bool) { - anInt6808++; - try { - Constructor constructor = (Class373_Sub1.class.getDeclaredConstructor((aClass6823 != null ? aClass6823 : (aClass6823 = Component.class)), Boolean.TYPE)); - return ((Class373) constructor.newInstance(new Object[]{component, new Boolean(bool)})); - } catch (Throwable throwable) { - if (i != 0) return null; - return new Class373_Sub2(component, bool); - } - } - - static final void method2942(Class46 class46, byte i) { - anInt6805++; - if (class46.anInt765 == Class244.anInt4610) { - if (Class132.aPlayer_1907.aString10544 == null) { - class46.anInt779 = 0; - class46.anInt753 = 0; - } else { - class46.anInt757 = 150; - class46.anInt675 = 0x7ff & (int) (256.0 * Math.sin((double) (Class367_Sub11.anInt7396) / 40.0)); - class46.anInt770 = 5; - class46.anInt753 = Class348_Sub42_Sub11.anInt9591; - class46.anInt779 = (Class318_Sub1_Sub3_Sub1.method2418((Class132.aPlayer_1907.aString10544), (byte) -41)); - class46.anInt699 = Class132.aPlayer_1907.anInt10268; - class46.anInt841 = 0; - class46.anInt730 = Class132.aPlayer_1907.anInt10312; - class46.anInt795 = Class132.aPlayer_1907.anInt10245; - Class17 class17 = (class46.anInt699 != -1 ? Class10.aClass87_191.method835(class46.anInt699, 7) : null); - if (class17 != null) Class264.method2017(class46.anInt795, class17, 50); - } - } else { - int i_10_ = -14 % ((27 - i) / 59); - } - } - - Class348_Sub18(int i, int i_11_, int i_12_, int i_13_, int i_14_, int i_15_, int i_16_, int i_17_, int i_18_) { - this.anInt6809 = i_15_; - this.anInt6819 = i_17_; - anInt6820 = i_11_; - anInt6811 = i_12_; - anInt6815 = i; - this.anInt6812 = i_16_; - anInt6806 = i_13_; - anInt6810 = i_14_; - this.anInt6813 = i_18_; - } - -} diff --git a/client/src/Class348_Sub19.java b/client/src/Class348_Sub19.java deleted file mode 100644 index 124c68a92..000000000 --- a/client/src/Class348_Sub19.java +++ /dev/null @@ -1,11 +0,0 @@ -/* Class348_Sub19 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class348_Sub19 extends Class348 { - int anInt6824; - - public Class348_Sub19() { - /* empty */ - } -} diff --git a/client/src/Class348_Sub19_Sub1.java b/client/src/Class348_Sub19_Sub1.java deleted file mode 100644 index 6d9e17146..000000000 --- a/client/src/Class348_Sub19_Sub1.java +++ /dev/null @@ -1,38 +0,0 @@ -/* Class348_Sub19_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub19_Sub1 extends Class348_Sub19 { - byte[] aByteArray8984; - int anInt8985; - int anInt8986; - boolean aBoolean8987; - int anInt8988; - - final Class348_Sub19_Sub1 method2944(Class163 class163) { - this.aByteArray8984 = class163.method1272(this.aByteArray8984, 1); - this.anInt8988 = class163.method1270(this.anInt8988, (byte) -85); - if (this.anInt8986 == this.anInt8985) this.anInt8986 = this.anInt8985 = class163.method1275(-114, this.anInt8986); - else { - this.anInt8986 = class163.method1275(-83, this.anInt8986); - this.anInt8985 = class163.method1275(-80, this.anInt8985); - if (this.anInt8986 == this.anInt8985) this.anInt8986--; - } - return this; - } - - Class348_Sub19_Sub1(int i, byte[] is, int i_0_, int i_1_) { - this.anInt8988 = i; - this.aByteArray8984 = is; - this.anInt8986 = i_0_; - this.anInt8985 = i_1_; - } - - Class348_Sub19_Sub1(int i, byte[] is, int i_2_, int i_3_, boolean bool) { - this.anInt8988 = i; - this.aByteArray8984 = is; - this.anInt8986 = i_2_; - this.anInt8985 = i_3_; - this.aBoolean8987 = bool; - } -} diff --git a/client/src/Class348_Sub1_Sub1.java b/client/src/Class348_Sub1_Sub1.java deleted file mode 100644 index 7fd4a4c4e..000000000 --- a/client/src/Class348_Sub1_Sub1.java +++ /dev/null @@ -1,97 +0,0 @@ -/* Class348_Sub1_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub1_Sub1 extends Class348_Sub1 { - static s[] aSArray8801; - static int anInt8802; - static int anInt8803; - static int anInt8804; - static boolean aBoolean8805 = false; - static int anInt8806; - static Class60 aClass60_8807; - static int anInt8808 = 0; - static int anInt8809; - - Class348_Sub1_Sub1(int i, int i_0_, int i_1_, int i_2_, int i_3_, float f) { - super(i, i_0_, i_1_, i_2_, i_3_, f); - } - - final void method2725(int i, byte i_4_, int i_5_, int i_6_) { - this.anInt6553 = i_5_; - this.anInt6548 = i_6_; - if (i_4_ == 70) { - anInt8809++; - this.anInt6562 = i; - } - } - - static final int method2726(int i, int i_7_, int i_8_) { - if (i_8_ > i_7_) { - int i_9_ = i_7_; - i_7_ = i_8_; - i_8_ = i_9_; - } - if (i != -21806) method2727((byte) -128, null, null); - anInt8804++; - int i_10_; - for (/**/; i_8_ != 0; i_8_ = i_10_) { - i_10_ = i_7_ % i_8_; - i_7_ = i_8_; - } - return i_7_; - } - - static final void method2727(byte i, Class237_Sub1 class237_sub1, byte[][] is) { - try { - anInt8802++; - int[] is_11_ = {-1, 0, 0, 0, 0}; - int i_12_ = 67 % ((i - 14) / 47); - int i_13_ = is.length; - for (int i_14_ = 0; i_13_ > i_14_; i_14_++) { - byte[] is_15_ = is[i_14_]; - if (is_15_ != null) { - Class348_Sub49 class348_sub49 = new Class348_Sub49(is_15_); - int i_16_ = (Class348_Sub23_Sub3.anIntArray9042[i_14_] >> 8); - int i_17_ = 0xff & Class348_Sub23_Sub3.anIntArray9042[i_14_]; - int i_18_ = -za_Sub2.regionTileX + i_16_ * 64; - int i_19_ = -Class90.regionTileY + i_17_ * 64; - Class369_Sub1.method3570(false); - class237_sub1.method1681(class348_sub49, i_18_, Class348_Sub45.aClass361Array7108, Class90.regionTileY, za_Sub2.regionTileX, i_19_, (byte) 110); - class237_sub1.method1691(i_19_, Class348_Sub8.aHa6654, class348_sub49, is_11_, i_18_, (byte) -126); - if (!class237_sub1.aBoolean3109 && i_16_ == ha.anInt4581 / 8 && (i_17_ == Class327.anInt4095 / 8) && is_11_[0] != -1) { - Class259.aClass305_3304 = Class30.aClass84_413.method823(is_11_[2], is_11_[3], is_11_[1], -66, (Class123.aClass25_1813), is_11_[0]); - Class185.anInt2481 = is_11_[4]; - } - } - } - for (int i_20_ = 0; i_20_ < i_13_; i_20_++) { - int i_21_ = ((Class348_Sub23_Sub3.anIntArray9042[i_20_] >> 8) * 64 - za_Sub2.regionTileX); - int i_22_ = (-Class90.regionTileY + ((0xff & Class348_Sub23_Sub3.anIntArray9042[i_20_]) * 64)); - byte[] is_23_ = is[i_20_]; - if (is_23_ == null && Class327.anInt4095 < 800) { - Class369_Sub1.method3570(false); - class237_sub1.method1688(i_22_, 64, 64, 125, i_21_); - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bg.E(" + i + ',' + (class237_sub1 != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ')')); - } - } - - public static void method2728(byte i) { - if (i != 9) aClass60_8807 = null; - aClass60_8807 = null; - aSArray8801 = null; - } - - final void method2716(int i, float f) { - this.aFloat6550 = f; - if (i != -1) aClass60_8807 = null; - anInt8803++; - } - - static { - aClass60_8807 = new Class60(8); - } -} diff --git a/client/src/Class348_Sub1_Sub2.java b/client/src/Class348_Sub1_Sub2.java deleted file mode 100644 index a3216b366..000000000 --- a/client/src/Class348_Sub1_Sub2.java +++ /dev/null @@ -1,61 +0,0 @@ -/* Class348_Sub1_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub1_Sub2 extends Class348_Sub1 { - static Class262 aClass262_8810 = new Class262(); - static int anInt8811; - static int anInt8812; - static int anInt8813; - static int anInt8814; - static Class308 aClass308_8815 = new Class308(16); - static byte[][] aByteArrayArray8816; - static Class114 aClass114_8817 = new Class114(83, 2); - - final void method2725(int i, byte i_0_, int i_1_, int i_2_) { - this.anInt6553 = i_1_; - this.anInt6548 = i_2_; - anInt8812++; - if (i_0_ == 70) this.anInt6562 = i; - } - - static final int method2729(int i, int i_3_) { - anInt8813++; - if (i_3_ != 16) return 23; - return 0xff & i; - } - - static final byte[] method2730(int i, int i_4_, byte[] is, int i_5_) { - if (i != 4567) method2730(-48, 112, null, -45); - anInt8811++; - byte[] is_6_; - if (i_4_ > 0) { - is_6_ = new byte[i_5_]; - for (int i_7_ = 0; i_5_ > i_7_; i_7_++) - is_6_[i_7_] = is[i_4_ + i_7_]; - } else is_6_ = is; - Class85 class85 = new Class85(); - class85.method829(i + -4682); - class85.method832(i_5_ * 8, is_6_, -69); - byte[] is_8_ = new byte[64]; - class85.method833(true, 0, is_8_); - return is_8_; - } - - Class348_Sub1_Sub2(int i, int i_9_, int i_10_, int i_11_, int i_12_, float f) { - super(i, i_9_, i_10_, i_11_, i_12_, f); - } - - public static void method2731(byte i) { - aByteArrayArray8816 = null; - if (i != -23) method2730(14, 86, null, -106); - aClass262_8810 = null; - aClass308_8815 = null; - aClass114_8817 = null; - } - - final void method2716(int i, float f) { - this.aFloat6550 = f; - if (i == -1) anInt8814++; - } -} diff --git a/client/src/Class348_Sub1_Sub3.java b/client/src/Class348_Sub1_Sub3.java deleted file mode 100644 index ff32c26c8..000000000 --- a/client/src/Class348_Sub1_Sub3.java +++ /dev/null @@ -1,35 +0,0 @@ -/* Class348_Sub1_Sub3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub1_Sub3 extends Class348_Sub1 { - static int anInt8818; - static int anInt8819; - static int anInt8820; - static int anInt8821; - - final void method2725(int i, byte i_0_, int i_1_, int i_2_) { - if (i_0_ == 70) { - this.anInt6553 = i_1_; - this.anInt6562 = i; - anInt8819++; - this.anInt6548 = i_2_; - } - } - - final void method2716(int i, float f) { - anInt8821++; - this.aFloat6550 = f; - if (i != -1) method2732(-79, -120, true, 36, null, 19); - } - - Class348_Sub1_Sub3(int i, int i_3_, int i_4_, int i_5_, int i_6_, float f) { - super(i, i_3_, i_4_, i_5_, i_6_, f); - } - - static final void method2732(int i, int i_7_, boolean bool, int i_8_, Class45 class45, int i_9_) { - anInt8820++; - if (i_8_ < 90) anInt8818 = -21; - Class367_Sub11.method3555(class45, -89, bool, 0L, i_9_, i, i_7_); - } -} diff --git a/client/src/Class348_Sub2.java b/client/src/Class348_Sub2.java deleted file mode 100644 index 2e879e0d9..000000000 --- a/client/src/Class348_Sub2.java +++ /dev/null @@ -1,302 +0,0 @@ -/* Class348_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub2 extends Class348 { - byte[] aByteArray6564; - Class356 aClass356_6565; - - final void method2733() { - if (this.aClass356_6565 == null) { - this.aClass356_6565 = new Class356(16); - int[] is = new int[16]; - int[] is_0_ = new int[16]; - is[9] = is_0_[9] = 128; - Class204 class204 = new Class204(this.aByteArray6564); - int i = class204.method1483(); - for (int i_1_ = 0; i_1_ < i; i_1_++) { - class204.method1492(i_1_); - class204.method1485(i_1_); - class204.method1486(i_1_); - } - while_123_: - for (; ; ) { - int i_2_ = class204.method1490(); - int i_3_ = class204.anIntArray2681[i_2_]; - while (class204.anIntArray2681[i_2_] == i_3_) { - class204.method1492(i_2_); - int i_4_ = class204.method1494(i_2_); - if (i_4_ == 1) { - class204.method1495(); - class204.method1486(i_2_); - if (!class204.method1480()) break; - break while_123_; - } - int i_5_ = i_4_ & 0xf0; - if (i_5_ == 176) { - int i_6_ = i_4_ & 0xf; - int i_7_ = i_4_ >> 8 & 0x7f; - int i_8_ = i_4_ >> 16 & 0x7f; - if (i_7_ == 0) is[i_6_] = (is[i_6_] & ~0x1fc000) + (i_8_ << 14); - if (i_7_ == 32) is[i_6_] = (is[i_6_] & ~0x3f80) + (i_8_ << 7); - } - if (i_5_ == 192) { - int i_9_ = i_4_ & 0xf; - int i_10_ = i_4_ >> 8 & 0x7f; - is_0_[i_9_] = is[i_9_] + i_10_; - } - if (i_5_ == 144) { - int i_11_ = i_4_ & 0xf; - int i_12_ = i_4_ >> 8 & 0x7f; - int i_13_ = i_4_ >> 16 & 0x7f; - if (i_13_ > 0) { - int i_14_ = is_0_[i_11_]; - Class348_Sub8 class348_sub8 = ((Class348_Sub8) this.aClass356_6565.method3480(i_14_, -6008)); - if (class348_sub8 == null) { - class348_sub8 = new Class348_Sub8(new byte[128]); - this.aClass356_6565.method3483((byte) 21, i_14_, class348_sub8); - } - class348_sub8.aByteArray6657[i_12_] = (byte) 1; - } - } - class204.method1485(i_2_); - class204.method1486(i_2_); - } - } - } - } - - static final Class348_Sub2 method2734(Class45 class45, int i, int i_15_) { - byte[] is = class45.method410(-1860, i, i_15_); - if (is == null) return null; - return new Class348_Sub2(new Class348_Sub49(is)); - } - - final void method2735() { - this.aClass356_6565 = null; - } - - private Class348_Sub2(Class348_Sub49 class348_sub49) { - class348_sub49.anInt7197 = class348_sub49.aByteArray7154.length - 3; - int i = class348_sub49.readUnsignedByte(255); - int i_16_ = class348_sub49.readUnsignedShort(842397944); - int i_17_ = 14 + i * 10; - class348_sub49.anInt7197 = 0; - int i_18_ = 0; - int i_19_ = 0; - int i_20_ = 0; - int i_21_ = 0; - int i_22_ = 0; - int i_23_ = 0; - int i_24_ = 0; - int i_25_ = 0; - while_121_: - for (int i_26_ = 0; i_26_ < i; i_26_++) { - int i_27_ = -1; - for (; ; ) { - int i_28_ = class348_sub49.readUnsignedByte(255); - if (i_28_ != i_27_) i_17_++; - i_27_ = i_28_ & 0xf; - if (i_28_ == 7) continue while_121_; - if (i_28_ == 23) i_18_++; - else if (i_27_ == 0) i_20_++; - else if (i_27_ == 1) i_21_++; - else if (i_27_ == 2) i_19_++; - else if (i_27_ == 3) i_22_++; - else if (i_27_ == 4) i_23_++; - else if (i_27_ == 5) i_24_++; - else { - if (i_27_ != 6) break; - i_25_++; - } - } - throw new RuntimeException(); - } - i_17_ += 5 * i_18_; - i_17_ += 2 * (i_20_ + i_21_ + i_19_ + i_22_ + i_24_); - i_17_ += i_23_ + i_25_; - int i_29_ = class348_sub49.anInt7197; - int i_30_ = (i + i_18_ + i_19_ + i_20_ + i_21_ + i_22_ + i_23_ + i_24_ + i_25_); - for (int i_31_ = 0; i_31_ < i_30_; i_31_++) - class348_sub49.method3366((byte) 111); - i_17_ += class348_sub49.anInt7197 - i_29_; - int i_32_ = class348_sub49.anInt7197; - int i_33_ = 0; - int i_34_ = 0; - int i_35_ = 0; - int i_36_ = 0; - int i_37_ = 0; - int i_38_ = 0; - int i_39_ = 0; - int i_40_ = 0; - int i_41_ = 0; - int i_42_ = 0; - int i_43_ = 0; - int i_44_ = 0; - int i_45_ = 0; - for (int i_46_ = 0; i_46_ < i_19_; i_46_++) { - i_45_ = i_45_ + class348_sub49.readUnsignedByte(255) & 0x7f; - if (i_45_ == 0 || i_45_ == 32) i_25_++; - else if (i_45_ == 1) i_33_++; - else if (i_45_ == 33) i_34_++; - else if (i_45_ == 7) i_35_++; - else if (i_45_ == 39) i_36_++; - else if (i_45_ == 10) i_37_++; - else if (i_45_ == 42) i_38_++; - else if (i_45_ == 99) i_39_++; - else if (i_45_ == 98) i_40_++; - else if (i_45_ == 101) i_41_++; - else if (i_45_ == 100) i_42_++; - else if (i_45_ == 64 || i_45_ == 65 || i_45_ == 120 || i_45_ == 121 || i_45_ == 123) i_43_++; - else i_44_++; - } - int i_47_ = 0; - int i_48_ = class348_sub49.anInt7197; - class348_sub49.anInt7197 += i_43_; - int i_49_ = class348_sub49.anInt7197; - class348_sub49.anInt7197 += i_24_; - int i_50_ = class348_sub49.anInt7197; - class348_sub49.anInt7197 += i_23_; - int i_51_ = class348_sub49.anInt7197; - class348_sub49.anInt7197 += i_22_; - int i_52_ = class348_sub49.anInt7197; - class348_sub49.anInt7197 += i_33_; - int i_53_ = class348_sub49.anInt7197; - class348_sub49.anInt7197 += i_35_; - int i_54_ = class348_sub49.anInt7197; - class348_sub49.anInt7197 += i_37_; - int i_55_ = class348_sub49.anInt7197; - class348_sub49.anInt7197 += i_20_ + i_21_ + i_24_; - int i_56_ = class348_sub49.anInt7197; - class348_sub49.anInt7197 += i_20_; - int i_57_ = class348_sub49.anInt7197; - class348_sub49.anInt7197 += i_44_; - int i_58_ = class348_sub49.anInt7197; - class348_sub49.anInt7197 += i_21_; - int i_59_ = class348_sub49.anInt7197; - class348_sub49.anInt7197 += i_34_; - int i_60_ = class348_sub49.anInt7197; - class348_sub49.anInt7197 += i_36_; - int i_61_ = class348_sub49.anInt7197; - class348_sub49.anInt7197 += i_38_; - int i_62_ = class348_sub49.anInt7197; - class348_sub49.anInt7197 += i_25_; - int i_63_ = class348_sub49.anInt7197; - class348_sub49.anInt7197 += i_22_; - int i_64_ = class348_sub49.anInt7197; - class348_sub49.anInt7197 += i_39_; - int i_65_ = class348_sub49.anInt7197; - class348_sub49.anInt7197 += i_40_; - int i_66_ = class348_sub49.anInt7197; - class348_sub49.anInt7197 += i_41_; - int i_67_ = class348_sub49.anInt7197; - class348_sub49.anInt7197 += i_42_; - int i_68_ = class348_sub49.anInt7197; - class348_sub49.anInt7197 += i_18_ * 3; - this.aByteArray6564 = new byte[i_17_]; - Class348_Sub49 class348_sub49_69_ = new Class348_Sub49(this.aByteArray6564); - class348_sub49_69_.writeInt((byte) 124, 1297377380); - class348_sub49_69_.writeInt((byte) 89, 6); - class348_sub49_69_.writeShort((byte) 107, i > 1 ? 1 : 0); - class348_sub49_69_.writeShort((byte) 107, i); - class348_sub49_69_.writeShort((byte) 107, i_16_); - class348_sub49.anInt7197 = i_29_; - int i_70_ = 0; - int i_71_ = 0; - int i_72_ = 0; - int i_73_ = 0; - int i_74_ = 0; - int i_75_ = 0; - int i_76_ = 0; - int[] is = new int[128]; - i_45_ = 0; - for (int i_77_ = 0; i_77_ < i; i_77_++) { - class348_sub49_69_.writeInt((byte) 86, 1297379947); - class348_sub49_69_.anInt7197 += 4; - int i_78_ = class348_sub49_69_.anInt7197; - int i_79_ = -1; - while_122_: - do { - for (; ; ) { - int i_80_ = class348_sub49.method3366((byte) 73); - class348_sub49_69_.method3396(i_80_, -21); - int i_81_ = ((class348_sub49.aByteArray7154[i_47_++]) & 0xff); - boolean bool = i_81_ != i_79_; - i_79_ = i_81_ & 0xf; - if (i_81_ == 7) { - if (bool) class348_sub49_69_.writeByte(false, 255); - class348_sub49_69_.writeByte(false, 47); - class348_sub49_69_.writeByte(false, 0); - break while_122_; - } - if (i_81_ == 23) { - if (bool) class348_sub49_69_.writeByte(false, 255); - class348_sub49_69_.writeByte(false, 81); - class348_sub49_69_.writeByte(false, 3); - class348_sub49_69_.writeByte(false, (class348_sub49.aByteArray7154[i_68_++])); - class348_sub49_69_.writeByte(false, (class348_sub49.aByteArray7154[i_68_++])); - class348_sub49_69_.writeByte(false, (class348_sub49.aByteArray7154[i_68_++])); - } else { - i_70_ ^= i_81_ >> 4; - if (i_79_ == 0) { - if (bool) class348_sub49_69_.writeByte(false, 144 + i_70_); - i_71_ += (class348_sub49.aByteArray7154[i_55_++]); - i_72_ += (class348_sub49.aByteArray7154[i_56_++]); - class348_sub49_69_.writeByte(false, i_71_ & 0x7f); - class348_sub49_69_.writeByte(false, i_72_ & 0x7f); - } else if (i_79_ == 1) { - if (bool) class348_sub49_69_.writeByte(false, 128 + i_70_); - i_71_ += (class348_sub49.aByteArray7154[i_55_++]); - i_73_ += (class348_sub49.aByteArray7154[i_58_++]); - class348_sub49_69_.writeByte(false, i_71_ & 0x7f); - class348_sub49_69_.writeByte(false, i_73_ & 0x7f); - } else if (i_79_ == 2) { - if (bool) class348_sub49_69_.writeByte(false, 176 + i_70_); - i_45_ = i_45_ + (class348_sub49.aByteArray7154[i_32_++]) & 0x7f; - class348_sub49_69_.writeByte(false, i_45_); - int i_82_; - if (i_45_ == 0 || i_45_ == 32) i_82_ = (class348_sub49.aByteArray7154[i_62_++]); - else if (i_45_ == 1) i_82_ = (class348_sub49.aByteArray7154[i_52_++]); - else if (i_45_ == 33) i_82_ = (class348_sub49.aByteArray7154[i_59_++]); - else if (i_45_ == 7) i_82_ = (class348_sub49.aByteArray7154[i_53_++]); - else if (i_45_ == 39) i_82_ = (class348_sub49.aByteArray7154[i_60_++]); - else if (i_45_ == 10) i_82_ = (class348_sub49.aByteArray7154[i_54_++]); - else if (i_45_ == 42) i_82_ = (class348_sub49.aByteArray7154[i_61_++]); - else if (i_45_ == 99) i_82_ = (class348_sub49.aByteArray7154[i_64_++]); - else if (i_45_ == 98) i_82_ = (class348_sub49.aByteArray7154[i_65_++]); - else if (i_45_ == 101) i_82_ = (class348_sub49.aByteArray7154[i_66_++]); - else if (i_45_ == 100) i_82_ = (class348_sub49.aByteArray7154[i_67_++]); - else if (i_45_ == 64 || i_45_ == 65 || i_45_ == 120 || i_45_ == 121 || i_45_ == 123) i_82_ = (class348_sub49.aByteArray7154[i_48_++]); - else i_82_ = (class348_sub49.aByteArray7154[i_57_++]); - i_82_ += is[i_45_]; - is[i_45_] = i_82_; - class348_sub49_69_.writeByte(false, i_82_ & 0x7f); - } else if (i_79_ == 3) { - if (bool) class348_sub49_69_.writeByte(false, 224 + i_70_); - i_74_ += (class348_sub49.aByteArray7154[i_63_++]); - i_74_ += (class348_sub49.aByteArray7154[i_51_++]) << 7; - class348_sub49_69_.writeByte(false, i_74_ & 0x7f); - class348_sub49_69_.writeByte(false, i_74_ >> 7 & 0x7f); - } else if (i_79_ == 4) { - if (bool) class348_sub49_69_.writeByte(false, 208 + i_70_); - i_75_ += (class348_sub49.aByteArray7154[i_50_++]); - class348_sub49_69_.writeByte(false, i_75_ & 0x7f); - } else if (i_79_ == 5) { - if (bool) class348_sub49_69_.writeByte(false, 160 + i_70_); - i_71_ += (class348_sub49.aByteArray7154[i_55_++]); - i_76_ += (class348_sub49.aByteArray7154[i_49_++]); - class348_sub49_69_.writeByte(false, i_71_ & 0x7f); - class348_sub49_69_.writeByte(false, i_76_ & 0x7f); - } else { - if (i_79_ != 6) break; - if (bool) class348_sub49_69_.writeByte(false, 192 + i_70_); - class348_sub49_69_.writeByte(false, (class348_sub49.aByteArray7154[i_62_++])); - } - } - } - throw new RuntimeException(); - } while (false); - class348_sub49_69_.method3338(-1, (class348_sub49_69_.anInt7197 - i_78_)); - } - } -} diff --git a/client/src/Class348_Sub20.java b/client/src/Class348_Sub20.java deleted file mode 100644 index ce5e47172..000000000 --- a/client/src/Class348_Sub20.java +++ /dev/null @@ -1,212 +0,0 @@ -/* Class348_Sub20 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaclib.memory.Stream; -import jaclib.memory.heap.NativeHeapBuffer; -import jaggl.OpenGL; - -final class Class348_Sub20 extends Class348 { - int anInt6825; - int anInt6826; - static int anInt6827; - static int anInt6828; - static int anInt6829; - static int[] anIntArray6830 = {16, 32, 64, 128}; - private ha_Sub2 aHa_Sub2_6831; - float aFloat6832; - int anInt6833; - static int anInt6834; - static float aFloat6835; - static int anInt6836; - static int anInt6837; - static int anInt6838; - private final s_Sub2 aS_Sub2_6839; - private NativeHeapBuffer aNativeHeapBuffer6840; - int anInt6841; - private final int[] anIntArray6842; - private final Class119_Sub2 aClass119_Sub2_6843; - private Class123 aClass123_6844; - static int anInt6845; - private Stream aStream6846; - - final void method2945(int i, byte i_0_, int i_1_, int i_2_) { - anInt6845++; - if (i_0_ != 18) this.anInt6825 = 85; - anIntArray6842[i_1_ * aS_Sub2_6839.anInt4587 + i] = Class273.method2057((anIntArray6842[i_1_ * aS_Sub2_6839.anInt4587 + i]), 1 << i_2_); - } - - final void method2946(int i, int i_3_) { - aNativeHeapBuffer6840 = aHa_Sub2_6831.aNativeHeap7730.a(4 * i_3_, true); - anInt6834++; - if (i != 2147483647) aHa_Sub2_6831 = null; - aStream6846 = new Stream(aNativeHeapBuffer6840); - } - - static final void method2947(boolean bool, int i, int i_4_, int i_5_, int i_6_, int i_7_) { - anInt6837++; - if (bool != true) method2950(121); - if (Class316.aClass348_Sub51_3959.aClass239_Sub26_7272.method1838(-32350) != 0 && i_5_ != 0 && Class147.anInt2021 < 50 && i_4_ != -1) Class258_Sub2.aClass10Array8531[Class147.anInt2021++] = new Class10((byte) 1, i_4_, i_5_, i_6_, i, 0, i_7_, null); - } - - final void method2948(int i, int i_8_, int[] is) { - anInt6829++; - int i_9_ = 0; - Class348_Sub49_Sub1 class348_sub49_sub1 = aHa_Sub2_6831.aClass348_Sub49_Sub1_7798; - class348_sub49_sub1.anInt7197 = 0; - if (aHa_Sub2_6831.aBoolean7775) { - for (int i_10_ = 0; i_8_ > i_10_; i_10_++) { - int i_11_ = is[i_10_]; - short[] is_12_ = aS_Sub2_6839.aShortArrayArray8267[i_11_]; - int i_13_ = anIntArray6842[i_11_]; - if (i_13_ != 0 && is_12_ != null) { - int i_14_ = 0; - int i_15_ = 0; - while (is_12_.length > i_15_) { - if ((i_13_ & 1 << i_14_++) == 0) i_15_ += 3; - else { - class348_sub49_sub1.writeShort((byte) 107, (is_12_[i_15_++] & 0xffff)); - i_9_++; - class348_sub49_sub1.writeShort((byte) 107, (is_12_[i_15_++] & 0xffff)); - i_9_++; - i_9_++; - class348_sub49_sub1.writeShort((byte) 107, (0xffff & (is_12_[i_15_++]))); - } - } - } - } - } else { - for (int i_16_ = 0; i_8_ > i_16_; i_16_++) { - int i_17_ = is[i_16_]; - int i_18_ = anIntArray6842[i_17_]; - short[] is_19_ = aS_Sub2_6839.aShortArrayArray8267[i_17_]; - if (i_18_ != 0 && is_19_ != null) { - int i_20_ = 0; - int i_21_ = 0; - while (i_21_ < is_19_.length) { - if ((i_18_ & 1 << i_20_++) == 0) i_21_ += 3; - else { - i_9_++; - class348_sub49_sub1.method3397(97, 0xffff & is_19_[i_21_++]); - class348_sub49_sub1.method3397(125, 0xffff & is_19_[i_21_++]); - i_9_++; - i_9_++; - class348_sub49_sub1.method3397(i ^ 0x142f, (is_19_[i_21_++] & 0xffff)); - } - } - } - } - } - if (i_9_ > 0) { - aClass119_Sub2_6843.method35(class348_sub49_sub1.aByteArray7154, 5123, 64, class348_sub49_sub1.anInt7197); - aHa_Sub2_6831.method3794(aS_Sub2_6839.aClass123_8276, aClass123_6844, -26411, aS_Sub2_6839.aClass123_8277, aS_Sub2_6839.aClass123_8275); - aHa_Sub2_6831.method3746(((0x7 & aS_Sub2_6839.anInt8235) != 0), this.anInt6841, ((aS_Sub2_6839.anInt8235 & 0x8) != 0), 112); - if (aHa_Sub2_6831.aBoolean7846) aHa_Sub2_6831.EA(2147483647, this.anInt6825, this.anInt6833, this.anInt6826); - OpenGL.glMatrixMode(5890); - OpenGL.glPushMatrix(); - OpenGL.glScalef(1.0F / this.aFloat6832, 1.0F / this.aFloat6832, 1.0F); - OpenGL.glMatrixMode(5888); - aHa_Sub2_6831.method3794(aS_Sub2_6839.aClass123_8276, aClass123_6844, -26411, aS_Sub2_6839.aClass123_8277, aS_Sub2_6839.aClass123_8275); - aHa_Sub2_6831.method3759(i_9_, -128, 4, aClass119_Sub2_6843, 0); - OpenGL.glMatrixMode(5890); - OpenGL.glPopMatrix(); - OpenGL.glMatrixMode(5888); - } - if (i != 5123) this.anInt6826 = 66; - } - - final void method2949(byte i, int i_22_, int i_23_, int i_24_, float f) { - if (i == 97) { - if (this.anInt6841 != -1) { - Class12 class12 = aHa_Sub2_6831.aD4579.method3(this.anInt6841, -6662); - int i_25_ = 0xff & class12.aByte201; - if (i_25_ != 0 && class12.aByte213 != 4) { - int i_26_; - if (i_23_ >= 0) { - if (i_23_ > 127) i_26_ = 16777215; - else i_26_ = 131586 * i_23_; - } else i_26_ = 0; - if (i_25_ != 256) { - int i_27_ = i_25_; - int i_28_ = -i_25_ + 256; - i_24_ = ((((i_28_ * (i_24_ & 0xff00ff) + (i_26_ & 0xff00ff) * i_27_) & ~0xff00ff) - -(0xff0000 & (i_28_ * (0xff00 & i_24_) + i_27_ * (0xff00 & i_26_)))) >> 8); - } else i_24_ = i_26_; - } - int i_29_ = 0xff & class12.aByte216; - if (i_29_ != 0) { - i_29_ += 256; - int i_30_ = i_29_ * ((0xff0000 & i_24_) >> 16); - if (i_30_ > 65535) i_30_ = 65535; - int i_31_ = ((i_24_ & 0xff00) >> 8) * i_29_; - if (i_31_ > 65535) i_31_ = 65535; - int i_32_ = (0xff & i_24_) * i_29_; - if (i_32_ > 65535) i_32_ = 65535; - i_24_ = (0xff00 & i_31_) + (((~0x5ff00ff & i_30_) << 8) - -(i_32_ >> 8)); - } - } - anInt6838++; - aStream6846.e(i_22_ * 4); - if (f != 1.0F) { - int i_33_ = (i_24_ & 0xff1a66) >> 16; - int i_34_ = (0xff1d & i_24_) >> 8; - int i_35_ = i_24_ & 0xff; - i_33_ *= f; - if (i_33_ < 0) i_33_ = 0; - else if (i_33_ > 255) i_33_ = 255; - i_34_ *= f; - i_35_ *= f; - if (i_34_ < 0) i_34_ = 0; - else if (i_34_ > 255) i_34_ = 255; - if (i_35_ < 0) i_35_ = 0; - else if (i_35_ > 255) i_35_ = 255; - i_24_ = i_34_ << 8 | i_33_ << 16 | i_35_; - } - aStream6846.f((byte) (i_24_ >> 16)); - aStream6846.f((byte) (i_24_ >> 8)); - aStream6846.f((byte) i_24_); - } - } - - public static void method2950(int i) { - if (i <= 37) aFloat6835 = 2.1337976F; - anIntArray6830 = null; - } - - final void method2951(int i, int i_36_) { - aStream6846.e(i_36_ * 4 + i); - anInt6827++; - aStream6846.f(-1); - } - - final void method2952(int i, int i_37_) { - if (i == 17795) { - aStream6846.a(); - anInt6828++; - Interface2 interface2 = aHa_Sub2_6831.method3739(8448, aNativeHeapBuffer6840, false, 4, i_37_ * 4); - aClass123_6844 = new Class123(interface2, 5121, 4, 0); - aStream6846 = null; - aNativeHeapBuffer6840 = null; - } - } - - static final void method2953(byte i) { - if (i > -102) anIntArray6830 = null; - anInt6836++; - if (Class240.anInt4674 == 3) Class348_Sub49.method3379(2, 4); - else if (Class240.anInt4674 != 7) { - if (Class240.anInt4674 == 10) Class348_Sub49.method3379(2, 11); - } else Class348_Sub49.method3379(2, 8); - } - - Class348_Sub20(s_Sub2 var_s_Sub2, int i, int i_38_, int i_39_, int i_40_, int i_41_) { - aS_Sub2_6839 = var_s_Sub2; - anIntArray6842 = new int[(aS_Sub2_6839.anInt4587 * aS_Sub2_6839.anInt4590)]; - this.anInt6825 = i_39_; - this.aFloat6832 = (float) i_38_; - aHa_Sub2_6831 = aS_Sub2_6839.aHa_Sub2_8272; - this.anInt6841 = i; - this.anInt6833 = i_40_; - this.anInt6826 = i_41_; - aClass119_Sub2_6843 = new Class119_Sub2(aHa_Sub2_6831, 5123, null, 1); - } -} diff --git a/client/src/Class348_Sub21.java b/client/src/Class348_Sub21.java deleted file mode 100644 index 4f38c938a..000000000 --- a/client/src/Class348_Sub21.java +++ /dev/null @@ -1,82 +0,0 @@ -/* Class348_Sub21 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub21 extends Class348 { - int anInt6847; - boolean aBoolean6848 = false; - static int anInt6849; - int anInt6850; - int anInt6851; - int anInt6852; - int anInt6853; - static String aString6854 = null; - int anInt6855; - static int anInt6856; - - static final void method2954(byte i) { - anInt6856++; - if (za_Sub1.anInt9775 != -1 && Class292.anInt4803 != -1) { - int i_0_ = ((Class117.anInt1780 * (Class331.anInt4133 + -Class195.anInt5019) >> 16) + Class195.anInt5019); - Class117.anInt1780 += i_0_; - if (Class117.anInt1780 < 65535) { - Class347.aBoolean4284 = false; - Class25.aBoolean368 = false; - } else { - Class347.aBoolean4284 = !Class25.aBoolean368; - Class117.anInt1780 = 65535; - Class25.aBoolean368 = true; - } - float f = (float) Class117.anInt1780 / 65535.0F; - float[] fs = new float[3]; - int i_1_ = 2 * Class213.anInt2798; - for (int i_2_ = 0; i_2_ < 3; i_2_++) { - int i_3_ = 3 * (Class348_Sub43.anIntArrayArrayArray7079[za_Sub1.anInt9775][i_1_][i_2_]); - int i_4_ = ((Class348_Sub43.anIntArrayArrayArray7079[za_Sub1.anInt9775][1 + i_1_][i_2_]) * 3); - int i_5_ = 3 * ((Class348_Sub43.anIntArrayArrayArray7079[za_Sub1.anInt9775][2 + i_1_][i_2_]) + ((Class348_Sub43.anIntArrayArrayArray7079[za_Sub1.anInt9775][2 + i_1_][i_2_]) + -(Class348_Sub43.anIntArrayArrayArray7079[za_Sub1.anInt9775][i_1_ - -3][i_2_]))); - int i_6_ = (Class348_Sub43.anIntArrayArrayArray7079[za_Sub1.anInt9775][i_1_][i_2_]); - int i_7_ = i_4_ - i_3_; - int i_8_ = -(2 * i_4_) + i_3_ - -i_5_; - int i_9_ = -i_6_ + ((Class348_Sub43.anIntArrayArrayArray7079[za_Sub1.anInt9775][i_1_ - -2][i_2_]) + i_4_) + -i_5_; - fs[i_2_] = (float) i_6_ + f * ((float) i_7_ + f * (f * (float) i_9_ + (float) i_8_)); - } - Class286_Sub4.anInt6246 = (int) fs[0] - 512 * za_Sub2.regionTileX; - Class305.anInt3855 = -1 * (int) fs[1]; - Class59_Sub2_Sub2.anInt8685 = (int) fs[2] + -(Class90.regionTileY * 512); - float[] fs_10_ = new float[3]; - int i_11_ = 2 * Class264.anInt3373; - int i_12_ = -88 % ((-64 - i) / 57); - for (int i_13_ = 0; i_13_ < 3; i_13_++) { - int i_14_ = 3 * (Class348_Sub43.anIntArrayArrayArray7079[Class292.anInt4803][i_11_][i_13_]); - int i_15_ = 3 * (Class348_Sub43.anIntArrayArrayArray7079[Class292.anInt4803][i_11_ + 1][i_13_]); - int i_16_ = (((Class348_Sub43.anIntArrayArrayArray7079[Class292.anInt4803][2 + i_11_][i_13_]) + (-(Class348_Sub43.anIntArrayArrayArray7079[Class292.anInt4803][3 + i_11_][i_13_]) + (Class348_Sub43.anIntArrayArrayArray7079[Class292.anInt4803][i_11_ - -2][i_13_]))) * 3); - int i_17_ = (Class348_Sub43.anIntArrayArrayArray7079[Class292.anInt4803][i_11_][i_13_]); - int i_18_ = -i_14_ + i_15_; - int i_19_ = -(i_15_ * 2) + i_14_ + i_16_; - int i_20_ = (-i_16_ + i_15_ + (-i_17_ + (Class348_Sub43.anIntArrayArrayArray7079[Class292.anInt4803][2 + i_11_][i_13_]))); - fs_10_[i_13_] = (f * ((float) i_18_ + f * ((float) i_20_ * f + (float) i_19_)) + (float) i_17_); - } - float f_21_ = -fs[0] + fs_10_[0]; - float f_22_ = -1.0F * (-fs[1] + fs_10_[1]); - float f_23_ = -fs[2] + fs_10_[2]; - double d = Math.sqrt(f_21_ * f_21_ + f_23_ * f_23_); - Class348_Sub42_Sub19.anInt9701 = 0x3fff & (int) (2607.5945876176133 * Math.atan2(f_22_, d)); - Class5.anInt4638 = 0x3fff & (int) (2607.5945876176133 * -Math.atan2(f_21_, f_23_)); - Class338.anInt4186 = ((Class348_Sub43.anIntArrayArrayArray7079[za_Sub1.anInt9775][i_1_][3]) + (((-(Class348_Sub43.anIntArrayArrayArray7079[za_Sub1.anInt9775][i_1_][3]) + (Class348_Sub43.anIntArrayArrayArray7079[za_Sub1.anInt9775][2 + i_1_][3])) * Class117.anInt1780) >> 16)); - } - } - - static int method2955(int i, int i_24_) { - return i ^ i_24_; - } - - public static void method2956(byte i) { - aString6854 = null; - if (i != 53) method2954((byte) -100); - } - - Class348_Sub21(int i) { - this.anInt6847 = -1; - this.anInt6847 = i; - } -} diff --git a/client/src/Class348_Sub22.java b/client/src/Class348_Sub22.java deleted file mode 100644 index c3ebb18de..000000000 --- a/client/src/Class348_Sub22.java +++ /dev/null @@ -1,61 +0,0 @@ -/* Class348_Sub22 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; - -final class Class348_Sub22 extends Class348 { - static int anInt6857; - static int anInt6858; - Npc aNpc_6859; - static int anInt6860; - static int anInt6861; - static int anInt6862; - - static final Class46 method2957(int i, byte i_0_, int i_1_) { - anInt6858++; - Class46 class46 = Class324.method2570(i_0_ + 1512932774, i_1_); - if (i_0_ != -54) method2958(-23, null); - if (i == -1) return class46; - if (class46 == null || class46.aClass46Array798 == null || (i >= class46.aClass46Array798.length)) return null; - return class46.aClass46Array798[i]; - } - - static final int method2958(int i, Class45 class45) { - anInt6861++; - int i_2_ = 0; - if (class45.method421(false, anInt6862)) i_2_++; - if (class45.method421(false, Class106.anInt1639)) i_2_++; - if (class45.method421(false, Class373_Sub2.anInt7429)) i_2_++; - if (class45.method421(false, ha.anInt4562)) i_2_++; - if (class45.method421(false, Class82.anInt1435)) i_2_++; - if (class45.method421(false, Class115.anInt1756)) i_2_++; - if (class45.method421(false, Class291.anInt3739)) i_2_++; - if (class45.method421(false, Class86.anInt1481)) i_2_++; - if (class45.method421(false, Class239_Sub10.anInt5948)) i_2_++; - if (class45.method421(false, Class113.anInt1742)) i_2_++; - if (class45.method421(false, Class364.anInt4469)) i_2_++; - if (i != 22388) return 8; - if (class45.method421(false, Class348_Sub40_Sub38.anInt9473)) i_2_++; - if (class45.method421(false, Class187.anInt2510)) i_2_++; - if (class45.method421(false, Class52.anInt4895)) i_2_++; - if (class45.method421(false, Class186_Sub1.anInt5814)) i_2_++; - if (class45.method421(false, Class5_Sub3.anInt8370)) i_2_++; - return i_2_; - } - - static final void method2959(int i) { - Class182.aClass346_2449.method2698(14174); - anInt6860++; - Class258_Sub4.aClass373_8552.method3592(0); - Class79.aClient1367.method87((byte) -49); - Class305.aCanvas3869.setBackground(Color.black); - Class337.anInt4179 = i; - Class182.aClass346_2449 = Class348_Sub3.method2743(Class305.aCanvas3869, (byte) 84); - Class258_Sub4.aClass373_8552 = Class348_Sub18.method2941(Class305.aCanvas3869, 0, true); - } - - Class348_Sub22(Npc npc) { - this.aNpc_6859 = npc; - } -} diff --git a/client/src/Class348_Sub23.java b/client/src/Class348_Sub23.java deleted file mode 100644 index b940268a6..000000000 --- a/client/src/Class348_Sub23.java +++ /dev/null @@ -1,152 +0,0 @@ -/* Class348_Sub23 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jagtheora.ogg.OggPacket; -import jagtheora.ogg.OggStreamState; - -abstract class Class348_Sub23 extends Class348 { - static int anInt6863; - static int anInt6864; - static float[] aFloatArray6865 = new float[16384]; - static int anInt6866; - static float[] aFloatArray6867 = new float[16384]; - int anInt6868; - OggStreamState anOggStreamState6869; - static int anInt6870; - - static final int method2960(boolean bool, int i) { - if (i >= -16) aFloatArray6865 = null; - anInt6870++; - int i_0_ = Class348_Sub49.anInt7207; - while_128_: - do { - do { - if (i_0_ == 0) { - if (bool) return 0; - return Class348_Sub40_Sub8.anInt9157; - } else if (i_0_ != 1) { - if (i_0_ == 2) break; - break while_128_; - } - return Class348_Sub40_Sub8.anInt9157; - } while (false); - return 0; - } while (false); - return 0; - } - - abstract void method2961(byte i); - - public static void method2962(int i) { - aFloatArray6865 = null; - aFloatArray6867 = null; - if (i != -31055) method2966(-119, -98, true); - } - - final void method2963(OggPacket oggpacket, int i) { - method2964((byte) -120, oggpacket); - if (i != 16384) aFloatArray6867 = null; - anInt6863++; - this.anInt6868++; - } - - abstract void method2964(byte i, OggPacket oggpacket); - - static final void method2965(String string, int i, boolean bool, int i_1_) { - anInt6866++; - Class187.method1406(true); - if (i == 0) { - Class348_Sub8.aHa6654 = Class104.method958(true, 0, Class348_Sub40_Sub4.aD9113, Class316.aClass348_Sub51_3959.aClass239_Sub20_7248.method1808(-32350) * 2, Class305.aCanvas3869, Class136.aClass45_4796); - if (string != null) { - Class348_Sub8.aHa6654.GA(0); - Class143 class143 = Class239_Sub23.method1819(Class17.anInt235, 0, -117, Class104.aClass45_1627); - Class324 class324 = (Class348_Sub8.aHa6654.method3686(class143, Class207.method1519(Class21.aClass45_322, Class17.anInt235, 0), true)); - Class140.method1170((byte) -89); - Class362.method3511(true, class324, class143, string, 2, Class348_Sub8.aHa6654); - } - } else { - ha var_ha = null; - if (string != null) { - var_ha = Class104.method958(true, 0, Class348_Sub40_Sub4.aD9113, 0, Class305.aCanvas3869, Class136.aClass45_4796); - var_ha.GA(0); - Class143 class143 = Class239_Sub23.method1819(Class17.anInt235, 0, -115, Class104.aClass45_1627); - Class324 class324 = var_ha.method3686(class143, Class207.method1519((Class21.aClass45_322), Class17.anInt235, 0), true); - Class140.method1170((byte) -107); - Class362.method3511(true, class324, class143, string, i_1_ + 2, var_ha); - } - try { - Class348_Sub8.aHa6654 = Class104.method958(true, i, Class348_Sub40_Sub4.aD9113, 2 * Class316.aClass348_Sub51_3959.aClass239_Sub20_7248.method1808(i_1_ + -32350), Class305.aCanvas3869, Class136.aClass45_4796); - if (string != null) { - var_ha.GA(0); - Class143 class143 = Class239_Sub23.method1819(Class17.anInt235, 0, -51, Class104.aClass45_1627); - Class324 class324 = (var_ha.method3686(class143, Class207.method1519(Class21.aClass45_322, Class17.anInt235, 0), true)); - Class140.method1170((byte) -26); - Class362.method3511(true, class324, class143, string, i_1_ + 2, var_ha); - } - if (Class348_Sub8.aHa6654.method3693()) { - boolean bool_2_ = true; - try { - bool_2_ = (Class348_Sub40_Sub20.aClass348_Sub4_9264.anInt6609) > 256; - } catch (Throwable throwable) { - /* empty */ - } - za var_za; - if (!bool_2_) var_za = Class348_Sub8.aHa6654.method3702(104857600); - else var_za = Class348_Sub8.aHa6654.method3702(146800640); - Class348_Sub8.aHa6654.method3651(var_za); - } - } catch (Throwable throwable) { - int i_3_ = Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350); - if (i_3_ == 2) Class139.aBoolean1952 = true; - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub25_7271), 0); - method2965(string, i_3_, bool, i_1_); - return; - } finally { - if (var_ha != null) { - try { - var_ha.method3635((byte) -111); - } catch (Throwable throwable) { - /* empty */ - } - } - } - } - Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1826(!bool, -142238264); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub25_7271), i); - Class348_Sub49.method3354(i_1_ + -78); - Class348_Sub8.aHa6654.method3650(10000); - Class348_Sub8.aHa6654.X(32); - Class157.aClass101_2123 = Class348_Sub8.aHa6654.method3654(); - Class50_Sub1.aClass101_5209 = Class348_Sub8.aHa6654.method3654(); - Class290.method2196((byte) -9); - Class348_Sub8.aHa6654.method3630(Class316.aClass348_Sub51_3959.aClass239_Sub2_7228.method1726(-32350) == 1); - if (Class348_Sub8.aHa6654.method3627()) Class348_Sub40_Sub33.method3137(Class316.aClass348_Sub51_3959.aClass239_Sub12_7243.method1771(-32350) == 1, (byte) -24); - Class97.method873(Class367_Sub4.anInt7319 >> 3, 21719, Class348_Sub8.aHa6654, Class348_Sub40_Sub3.anInt9109 >> 3); - Class76.method773(true); - r.aBoolean9719 = false; - Class228.aClass57Array2974 = null; - RuntimeException_Sub1.aBoolean4604 = true; - Class348_Sub42_Sub3.method3179(i_1_); - } - - Class348_Sub23(OggStreamState oggstreamstate) { - this.anOggStreamState6869 = oggstreamstate; - } - - static final void method2966(int i, int i_4_, boolean bool) { - anInt6864++; - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i, (byte) 105, 14); - if (bool != false) aFloatArray6865 = null; - class348_sub42_sub15.method3246(-25490); - class348_sub42_sub15.anInt9652 = i_4_; - } - - static { - double d = 3.834951969714103E-4; - for (int i = 0; i < 16384; i++) { - aFloatArray6865[i] = (float) Math.sin(d * (double) i); - aFloatArray6867[i] = (float) Math.cos((double) i * d); - } - } -} diff --git a/client/src/Class348_Sub23_Sub1.java b/client/src/Class348_Sub23_Sub1.java deleted file mode 100644 index 9dc2002f5..000000000 --- a/client/src/Class348_Sub23_Sub1.java +++ /dev/null @@ -1,147 +0,0 @@ -/* Class348_Sub23_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jagtheora.ogg.OggPacket; -import jagtheora.ogg.OggStreamState; -import jagtheora.vorbis.DSPState; -import jagtheora.vorbis.VorbisBlock; -import jagtheora.vorbis.VorbisComment; -import jagtheora.vorbis.VorbisInfo; - -import java.net.URL; - -final class Class348_Sub23_Sub1 extends Class348_Sub23 { - static int anInt8989; - static int anInt8990; - static int anInt8991; - static Class297 aClass297_8992; - private DSPState aDSPState8993; - private Class163 aClass163_8994; - private Class348_Sub16_Sub2 aClass348_Sub16_Sub2_8995; - static byte[][] aByteArrayArray8996; - static int anInt8997; - static int anInt8998; - static int anInt8999; - private VorbisBlock aVorbisBlock9000; - private int anInt9001; - private VorbisComment aVorbisComment9002; - static int anInt9003; - static int anInt9004; - private double aDouble9005; - private final VorbisInfo aVorbisInfo9006 = new VorbisInfo(); - - static final Class30 method2967(int i, Class64 class64, int i_0_, int i_1_, int i_2_) { - anInt8991++; - if (i_2_ != 2) aByteArrayArray8996 = null; - if (class64 == null) return null; - Class30 class30 = new Class30(i, i_1_, i_0_, class64.na(), class64.V(), class64.RA(), class64.fa(), class64.EA(), class64.HA(), class64.G()); - return class30; - } - - Class348_Sub23_Sub1(OggStreamState oggstreamstate) { - super(oggstreamstate); - aVorbisComment9002 = new VorbisComment(); - } - - public static void method2968(byte i) { - aClass297_8992 = null; - aByteArrayArray8996 = null; - if (i > -114) method2968((byte) -12); - } - - final int method2969(int i) { - if (i != -11020) aVorbisComment9002 = null; - anInt8989++; - if (aClass348_Sub16_Sub2_8995 != null) return aClass348_Sub16_Sub2_8995.method2829(i + 10949); - return 0; - } - - static final Class50_Sub3 method2970(int i, Class348_Sub49 class348_sub49) { - anInt8998++; - if (i != 2) method2972(null, -114, 15); - return new Class50_Sub3(class348_sub49.readShort(13638), class348_sub49.readShort(i + 13636), class348_sub49.readShort(13638), class348_sub49.readShort(i ^ 0x3544), class348_sub49.readShort(13638), class348_sub49.readShort(i + 13636), class348_sub49.readShort(13638), class348_sub49.readShort(13638), class348_sub49.readMedium(-1), class348_sub49.readUnsignedByte(255)); - } - - final Class348_Sub16_Sub2 method2971(int i) { - if (i > -6) return null; - anInt8997++; - return aClass348_Sub16_Sub2_8995; - } - - static final boolean method2972(String string, int i, int i_3_) { - anInt9004++; - if (aClass297_8992.aBoolean3777) { - Class3.aClass161_125 = new Class161(); - Class3.aClass161_125.anInt2143 = i; - Class3.aClass161_125.aString2147 = string; - if (Class8.aClass364_165 != Class55_Sub1.aClass364_5271) { - Class3.aClass161_125.anInt2138 = 50000 - -Class3.aClass161_125.anInt2143; - Class3.aClass161_125.anInt2148 = 40000 - -Class3.aClass161_125.anInt2143; - } - if (i < Class65.aClass110_Sub1Array1146.length && Class65.aClass110_Sub1Array1146[i] != null) Class251.anInt3234 = (Class65.aClass110_Sub1Array1146[i].anInt1708); - return true; - } - String string_4_ = ""; - if (Class55_Sub1.aClass364_5271 != Class8.aClass364_165) string_4_ = ":" + (7000 + i); - String string_5_ = ""; - if (Class239_Sub12.aString5966 != null) string_5_ = "/p=" + Class239_Sub12.aString5966; - String string_6_ = ("http://" + string + string_4_ + "/l=" + Class348_Sub33.anInt6967 + "/a=" + Class202.anInt2670 + string_5_ + "/j" + (!Class289.aBoolean3697 ? "0" : "1") + ",o" + (Class348_Sub37.aBoolean6997 ? "1" : "0") + ",a2"); - try { - Class79.aClient1367.getAppletContext().showDocument(new URL(string_6_), "_self"); - if (i_3_ >= -17) aClass297_8992 = null; - } catch (Exception exception) { - return false; - } - return true; - } - - final double method2973(byte i) { - anInt8999++; - double d = aDouble9005; - if (i != 123) return 0.20418061173976032; - if (aClass348_Sub16_Sub2_8995 != null) { - d = aClass348_Sub16_Sub2_8995.method2837(i ^ ~0x5599); - if (d < 0.0) d = aDouble9005; - } - return (double) -(256.0F / (float) Class22.anInt339) + d; - } - - final void method2961(byte i) { - if (aVorbisBlock9000 != null) aVorbisBlock9000.a(); - anInt9003++; - if (aDSPState8993 != null) aDSPState8993.a(); - aVorbisComment9002.a(); - if (i != 13) method2967(-99, null, -83, -13, 63); - aVorbisInfo9006.a(); - if (aClass348_Sub16_Sub2_8995 != null) aClass348_Sub16_Sub2_8995.method2836(-1); - } - - final void method2964(byte i, OggPacket oggpacket) { - anInt8990++; - if (this.anInt6868 < 3) { - int i_7_ = aVorbisInfo9006.headerIn(aVorbisComment9002, oggpacket); - if (i_7_ < 0) throw new IllegalStateException(String.valueOf(i_7_)); - if (this.anInt6868 == 2) { - if (aVorbisInfo9006.channels > 2 || aVorbisInfo9006.channels < 1) throw new RuntimeException(String.valueOf(aVorbisInfo9006.channels)); - aDSPState8993 = new DSPState(aVorbisInfo9006); - aVorbisBlock9000 = new VorbisBlock(aDSPState8993); - aClass163_8994 = new Class163(aVorbisInfo9006.rate, Class22.anInt339); - aClass348_Sub16_Sub2_8995 = new Class348_Sub16_Sub2(aVorbisInfo9006.channels); - } - } else { - if (aVorbisBlock9000.synthesis(oggpacket) == 0) aDSPState8993.blockIn(aVorbisBlock9000); - float[][] fs = aDSPState8993.pcmOut(aVorbisInfo9006.channels); - aDouble9005 = aDSPState8993.granuleTime(); - if (aDouble9005 == -1.0) aDouble9005 = (float) anInt9001 / (float) aVorbisInfo9006.rate; - aDSPState8993.read(fs[0].length); - anInt9001 += fs[0].length; - Class348_Sub42_Sub4 class348_sub42_sub4 = aClass348_Sub16_Sub2_8995.method2838(fs[0].length, aDouble9005, 1401320384); - Class346.method2699(16383, (class348_sub42_sub4.aShortArrayArray9518), fs); - for (int i_8_ = 0; i_8_ < aVorbisInfo9006.channels; i_8_++) - class348_sub42_sub4.aShortArrayArray9518[i_8_] = aClass163_8994.method1268(-56, (class348_sub42_sub4.aShortArrayArray9518[i_8_])); - aClass348_Sub16_Sub2_8995.method2835(class348_sub42_sub4, 30700); - } - if (i > -91) method2961((byte) -106); - } -} diff --git a/client/src/Class348_Sub23_Sub2.java b/client/src/Class348_Sub23_Sub2.java deleted file mode 100644 index 6f2d14f15..000000000 --- a/client/src/Class348_Sub23_Sub2.java +++ /dev/null @@ -1,154 +0,0 @@ -/* Class348_Sub23_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jagtheora.ogg.OggPacket; -import jagtheora.ogg.OggStreamState; -import jagtheora.theora.*; - -final class Class348_Sub23_Sub2 extends Class348_Sub23 { - private TheoraInfo aTheoraInfo9007; - private boolean aBoolean9008; - private int anInt9009; - private final TheoraComment aTheoraComment9010; - static Class229 aClass229_9011 = new Class229(); - static int anInt9012; - static int anInt9013; - private boolean aBoolean9014; - private double aDouble9015; - private boolean aBoolean9016; - static int anInt9017; - private long aLong9018; - private GranulePos aGranulePos9019; - private Class105 aClass105_9020; - static int anInt9021; - static int anInt9022; - static double aDouble9023; - private Frame aFrame9024; - static int anInt9025; - static int anInt9026; - private int anInt9027; - private boolean aBoolean9028; - static Class77 aClass77_9029; - static int anInt9030; - static Class153 aClass153_9031; - private DecoderContext aDecoderContext9032; - static Class45 aClass45_9033; - static Class351 aClass351_9034 = new Class351(30, 4); - private final SetupInfo aSetupInfo9035 = new SetupInfo(); - static Class187 aClass187_9036; - static int anInt9037; - static boolean aBoolean9038 = false; - static int anInt9039; - - public static void method2974(int i) { - aClass351_9034 = null; - if (i != 1) aClass229_9011 = null; - aClass45_9033 = null; - aClass229_9011 = null; - aClass77_9029 = null; - aClass153_9031 = null; - aClass187_9036 = null; - } - - final Class105 method2975(ha var_ha, int i) { - anInt9026++; - if (aFrame9024 == null) return null; - if (!aBoolean9014 && aClass105_9020 != null) return aClass105_9020; - aClass105_9020 = var_ha.method3711(aFrame9024.pixels, i, aFrame9024.a, aFrame9024.a, aFrame9024.b, false); - aBoolean9014 = false; - return aClass105_9020; - } - - Class348_Sub23_Sub2(OggStreamState oggstreamstate) { - super(oggstreamstate); - aTheoraInfo9007 = new TheoraInfo(); - aTheoraComment9010 = new TheoraComment(); - } - - final void method2961(byte i) { - if (aFrame9024 != null) aFrame9024.a(); - anInt9021++; - if (aDecoderContext9032 != null) { - aDecoderContext9032.a(); - aDecoderContext9032 = null; - } - if (i != 13) method2979(115); - if (aGranulePos9019 != null) { - aGranulePos9019.a(); - aGranulePos9019 = null; - } - aTheoraInfo9007.a(); - aTheoraComment9010.a(); - aSetupInfo9035.a(); - } - - final boolean method2976(int i) { - anInt9012++; - if (i != -1) aTheoraInfo9007 = null; - return aBoolean9016; - } - - final float method2977(int i) { - anInt9022++; - if (!aBoolean9016 || aTheoraInfo9007.b()) return 0.0F; - if (i != 0) anInt9027 = -65; - return ((float) aTheoraInfo9007.fpsNumerator / (float) aTheoraInfo9007.fpsDenominator); - } - - private final void method2978(int i, byte i_0_) { - anInt9030++; - anInt9009 = i; - if (aBoolean9016) { - if (anInt9009 > anInt9027) anInt9009 = anInt9027; - if (anInt9009 < 0) anInt9009 = 0; - aDecoderContext9032.setPostProcessingLevel(anInt9009); - } - if (i_0_ > -127) aClass105_9020 = null; - } - - final long method2979(int i) { - anInt9025++; - if (i != 30) method2978(-126, (byte) -43); - return aLong9018; - } - - final double method2980(byte i) { - anInt9013++; - if (i != 100) method2974(102); - return aDouble9015; - } - - final void method2964(byte i, OggPacket oggpacket) { - anInt9017++; - if (i < -91) { - if (aBoolean9016) { - aLong9018 = Class62.method599(-102); - int i_1_ = aDecoderContext9032.decodePacketIn(oggpacket, aGranulePos9019); - if (i_1_ < 0) throw new IllegalStateException(String.valueOf(i_1_)); - aDecoderContext9032.granuleFrame(aGranulePos9019); - aDouble9015 = aDecoderContext9032.granuleTime(aGranulePos9019); - if (aBoolean9008) { - boolean bool = oggpacket.isKeyFrame() == 1; - if (bool) aBoolean9008 = false; - else return; - } - if (!aBoolean9028 || oggpacket.isKeyFrame() == 1) { - if (aDecoderContext9032.decodeFrame(aFrame9024) != 0) throw new IllegalStateException(String.valueOf(i_1_)); - aBoolean9014 = true; - } - } else { - int i_2_ = aSetupInfo9035.decodeHeader(aTheoraInfo9007, aTheoraComment9010, oggpacket); - if (i_2_ == 0) { - aBoolean9016 = true; - if (aTheoraInfo9007.frameWidth > 2048 || aTheoraInfo9007.frameHeight > 1024) throw new IllegalStateException(); - aDecoderContext9032 = new DecoderContext(aTheoraInfo9007, aSetupInfo9035); - aGranulePos9019 = new GranulePos(); - aFrame9024 = new Frame(aTheoraInfo9007.frameWidth, aTheoraInfo9007.frameHeight); - anInt9027 = aDecoderContext9032.getMaxPostProcessingLevel(); - method2978(anInt9009, (byte) -128); - } else if (i_2_ < 0) throw new IllegalStateException(String.valueOf(i_2_)); - } - } - } -} diff --git a/client/src/Class348_Sub23_Sub3.java b/client/src/Class348_Sub23_Sub3.java deleted file mode 100644 index f35f7f14d..000000000 --- a/client/src/Class348_Sub23_Sub3.java +++ /dev/null @@ -1,45 +0,0 @@ -/* Class348_Sub23_Sub3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jagtheora.ogg.OggPacket; -import jagtheora.ogg.OggStreamState; - -import java.io.IOException; -import java.net.Socket; - -final class Class348_Sub23_Sub3 extends Class348_Sub23 { - static int anInt9040; - static int anInt9041 = 0; - static int[] anIntArray9042; - static String aString9043 = null; - static short aShort9044 = 256; - static int anInt9045; - static int anInt9046; - - final void method2964(byte i, OggPacket oggpacket) { - if (i >= -91) anInt9041 = -51; - anInt9046++; - } - - public static void method2981(boolean bool) { - anIntArray9042 = null; - if (bool != false) anInt9041 = -95; - aString9043 = null; - } - - static final Class238 method2982(Socket socket, byte i, int i_0_) throws IOException { - int i_1_ = -41 / ((i - -40) / 42); - anInt9040++; - return new Class238_Sub1(socket, i_0_); - } - - final void method2961(byte i) { - anInt9045++; - if (i != 13) method2961((byte) -50); - } - - Class348_Sub23_Sub3(OggStreamState oggstreamstate) { - super(oggstreamstate); - } -} diff --git a/client/src/Class348_Sub23_Sub4.java b/client/src/Class348_Sub23_Sub4.java deleted file mode 100644 index 7a2205427..000000000 --- a/client/src/Class348_Sub23_Sub4.java +++ /dev/null @@ -1,138 +0,0 @@ -/* Class348_Sub23_Sub4 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jagtheora.ogg.OggPacket; -import jagtheora.ogg.OggStreamState; - -final class Class348_Sub23_Sub4 extends Class348_Sub23 { - static int anInt9047; - private float aFloat9048; - static int anInt9049; - static int[] anIntArray9050 = new int[14]; - private String aString9051; - static int anInt9052; - static int anInt9053; - private int anInt9054; - private int anInt9055; - static int anInt9056; - private String aString9057; - private String aString9058; - static int anInt9059; - static int anInt9060; - static int anInt9061; - private float aFloat9062; - static int anInt9063; - - Class348_Sub23_Sub4(OggStreamState oggstreamstate) { - super(oggstreamstate); - } - - final void method2961(byte i) { - anInt9056++; - if (i != 13) aString9058 = null; - } - - final float method2983(byte i) { - if (i <= 61) return -0.49539495F; - anInt9052++; - return aFloat9062; - } - - final float method2984(byte i) { - anInt9060++; - if (i != 97) aFloat9048 = -0.6790166F; - return aFloat9048; - } - - static final boolean method2985(int i, int i_0_, int i_1_) { - if (i != -31735) method2990((byte) -62); - anInt9059++; - return (0x100 & i_1_) != 0; - } - - final void method2964(byte i, OggPacket oggpacket) { - anInt9063++; - if (this.anInt6868 <= 0 || "SUB".equals(aString9057)) { - Class348_Sub49 class348_sub49 = new Class348_Sub49(oggpacket.getData()); - int i_2_ = class348_sub49.readUnsignedByte(255); - if (this.anInt6868 <= 8) { - if ((i_2_ | 0x80) == 0) throw new IllegalStateException(); - if (this.anInt6868 == 0) { - class348_sub49.anInt7197 += 23; - anInt9055 = class348_sub49.method3359(-89); - anInt9054 = class348_sub49.method3359(-41); - if (anInt9055 == 0 || anInt9054 == 0) throw new IllegalStateException(); - Class348_Sub49 class348_sub49_3_ = new Class348_Sub49(16); - class348_sub49.method3389(2147483647, 0, 16, (class348_sub49_3_.aByteArray7154)); - aString9051 = class348_sub49_3_.readString((byte) -91); - class348_sub49_3_.anInt7197 = 0; - class348_sub49.method3389(2147483647, 0, 16, (class348_sub49_3_.aByteArray7154)); - aString9057 = class348_sub49_3_.readString((byte) -40); - } - } else { - if (i_2_ == 0) { - long l = class348_sub49.method3332((byte) 109); - long l_4_ = class348_sub49.method3332((byte) 90); - long l_5_ = class348_sub49.method3332((byte) 122); - if (l < 0 || l_4_ < 0 || l_5_ < 0 || l_5_ > l) throw new IllegalStateException(); - aFloat9062 = (float) ((long) anInt9054 * l) / (float) anInt9055; - aFloat9048 = ((float) ((l - -l_4_) * (long) anInt9054) / (float) anInt9055); - int i_6_ = class348_sub49.method3359(-93); - if (i_6_ < 0 || i_6_ > (-class348_sub49.anInt7197 + (class348_sub49.aByteArray7154).length)) throw new IllegalStateException(); - aString9058 = (Class239_Sub17.method1793(class348_sub49.aByteArray7154, class348_sub49.anInt7197, -123, i_6_)); - } - if ((i_2_ | 0x80) != 0) return; - } - if (i >= -91) anInt9055 = 88; - } - } - - final String method2986(int i) { - anInt9053++; - if (i < 26) method2986(-122); - return aString9051; - } - - static final void method2987(int i, int i_7_, int i_8_, int i_9_, int i_10_) { - anInt9047++; - if (i_7_ == 8 || i_7_ == 16) { - for (int i_11_ = 0; (Class348_Sub44.anInt7101 > i_11_); i_11_++) { - Class338 class338 = Class294.aClass338Array5060[i_11_]; - if ((class338.aByte4192 == i_7_ && i_10_ == class338.aShort4185 && i_8_ == class338.aShort4193) || ((class338.aShort4182 == i_10_) && (class338.aShort4193 == i_8_))) { - if (i_11_ != Class348_Sub44.anInt7101) Class214.method1575(Class294.aClass338Array5060, 1 + i_11_, Class294.aClass338Array5060, i_11_, (Class294.aClass338Array5060.length + -i_11_ - 1)); - Class348_Sub44.anInt7101--; - return; - } - } - } else { - Class357 class357 = Class147.aClass357ArrayArrayArray2029[i][i_10_][i_8_]; - if (class357 != null) { - if (i_7_ != 1) { - if (i_7_ == 2) class357.aShort4398 = (short) 0; - } else class357.aShort4409 = (short) 0; - } - Class286_Sub3.method2152(false); - } - if (i_9_ != -3951) anIntArray9050 = null; - } - - static final void method2988(boolean bool) { - Class60.aHa1098.xa(((float) Class316.aClass348_Sub51_3959.aClass239_Sub10_7232.method1764(-32350) * 0.1F + 0.7F) * Class160.aFloat2137); - anInt9049++; - Class60.aHa1098.ZA(Class119_Sub1.anInt4703, Class244.aFloat4626, Class361.aFloat4455, (float) (Class21.anInt325 << 2), (float) (Class318_Sub1_Sub3_Sub1.anInt10023 << 2), (float) (Class196.anInt2601 << 2)); - Class60.aHa1098.method3653(Class158.aClass299_4938); - if (bool != true) anIntArray9050 = null; - } - - final String method2989(int i) { - int i_12_ = 4 / ((i - -63) / 50); - anInt9061++; - return aString9058; - } - - public static void method2990(byte i) { - anIntArray9050 = null; - if (i <= 101) anIntArray9050 = null; - } -} diff --git a/client/src/Class348_Sub24.java b/client/src/Class348_Sub24.java deleted file mode 100644 index 5a776d21b..000000000 --- a/client/src/Class348_Sub24.java +++ /dev/null @@ -1,558 +0,0 @@ -/* Class348_Sub24 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.File; - -final class Class348_Sub24 extends Class348 { - static int anInt6871; - int anInt6872; - static int anInt6873; - static int anInt6874; - int anInt6875; - static String aString6876; - static String aString6877; - static int[] anIntArray6878; - - static final void method2991(int i) { - if (Class289.anInt3699 > 1) { - Class348_Sub40_Sub23.anInt9313 = Class311.anInt3918; - Class289.anInt3699--; - } - anInt6874++; - if (Class110.aBoolean1712) { - Class110.aBoolean1712 = false; - Class272.method2049(67); - } else { - if (!Class5_Sub1.aBoolean8335) Class64_Sub2.method661((byte) 95); - for (int i_0_ = 0; i_0_ < 100; i_0_++) { - if (!Class292.method2203((byte) -52)) break; - } - if (Class240.anInt4674 == 10) { - while (Class286.method2138(i ^ 0x2ca2)) { - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class140.aClass351_1961, (Class348_Sub23_Sub2.aClass77_9029), -92); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 0); - int i_1_ = (class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197); - Class348_Sub33.method3025((byte) 121, (class348_sub47.aClass348_Sub49_Sub2_7116)); - class348_sub47.aClass348_Sub49_Sub2_7116.method3339(113, (class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197) + -i_1_); - Class348_Sub42_Sub14.method3243(119, class348_sub47); - } - if (Class239_Sub4.aClass348_Sub26_5881 != null) { - if ((Class239_Sub4.aClass348_Sub26_5881.anInt6887) != -1) { - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class367_Sub4.aClass351_7318), (Class348_Sub23_Sub2.aClass77_9029), -81); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, Class239_Sub4.aClass348_Sub26_5881.anInt6887); - Class348_Sub42_Sub14.method3243(122, class348_sub47); - Class239_Sub4.aClass348_Sub26_5881 = null; - Class101_Sub2.aLong5745 = Class62.method599(-106) + 30000L; - } - } else if (Class101_Sub2.aLong5745 <= Class62.method599(-121)) Class239_Sub4.aClass348_Sub26_5881 = Class76.aClass169_1286.method1302(-5255, (Class3.aClass161_125.aString2147)); - Class348_Sub45 class348_sub45 = ((Class348_Sub45) Class318_Sub1_Sub3.aClass262_8744.method1995(4)); - if (class348_sub45 != null || (Class355.aLong4367 < -2000L + Class62.method599(-97))) { - Class348_Sub47 class348_sub47 = null; - int i_2_ = 0; - for (Class348_Sub45 class348_sub45_3_ = ((Class348_Sub45) r_Sub1.aClass262_10479.method1995(4)); class348_sub45_3_ != null; class348_sub45_3_ = (Class348_Sub45) r_Sub1.aClass262_10479.method1990((byte) 79)) { - if (class348_sub47 != null && (class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197 - i_2_ >= 240)) break; - class348_sub45_3_.method2715((byte) 107); - int i_4_ = class348_sub45_3_.method3311(-15); - if (i_4_ >= -1) { - if (i_4_ > 65534) i_4_ = 65534; - } else i_4_ = -1; - int i_5_ = class348_sub45_3_.method3308((byte) -127); - if (i_5_ >= -1) { - if (i_5_ > 65534) i_5_ = 65534; - } else i_5_ = -1; - if (s_Sub2.anInt8270 != i_5_ || i_4_ != Class322.anInt4032) { - if (class348_sub47 == null) { - Class361.anInt4450++; - class348_sub47 = (Class286_Sub3.method2148(Class348_Sub42_Sub11.aClass351_9590, Class348_Sub23_Sub2.aClass77_9029, -94)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 0); - i_2_ = class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197; - } - int i_6_ = -s_Sub2.anInt8270 + i_5_; - s_Sub2.anInt8270 = i_5_; - int i_7_ = i_4_ - Class322.anInt4032; - Class322.anInt4032 = i_4_; - int i_8_ = (int) ((class348_sub45_3_.method3312((byte) -107) + -Class355.aLong4367) / 20L); - if (i_8_ >= 8 || i_6_ < -32 || i_6_ > 31 || i_7_ < -32 || i_7_ > 31) { - if (i_8_ < 32 && i_6_ >= -128 && i_6_ <= 127 && i_7_ >= -128 && i_7_ <= 127) { - i_6_ += 128; - i_7_ += 128; - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 128 + i_8_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_7_ + (i_6_ << 8)); - } else if (i_8_ >= 32) { - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, 57344 + i_8_); - if (i_5_ == 1 || i_4_ == -1) class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 99, -2147483648); - else class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 101, i_4_ << 16 | i_5_); - } else { - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 192 + i_8_); - if (i_5_ != 1 && i_4_ != -1) class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 100, i_5_ | i_4_ << 16); - else class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 114, -2147483648); - } - } else { - i_6_ += 32; - i_7_ += 32; - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, (i_7_ + (i_6_ << 6) + (i_8_ << 12))); - } - Class355.aLong4367 = class348_sub45_3_.method3312((byte) -109); - } - } - if (class348_sub47 != null) { - class348_sub47.aClass348_Sub49_Sub2_7116.method3339(105, class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197 + -i_2_); - Class348_Sub42_Sub14.method3243(23, class348_sub47); - } - } - if (class348_sub45 != null) { - long l = ((class348_sub45.method3312((byte) -110) + -Class14.aLong5089) / 50L); - Class14.aLong5089 = class348_sub45.method3312((byte) -87); - if (l > 32767) l = 32767L; - int i_9_ = class348_sub45.method3311(20); - if (i_9_ >= 0) { - if (i_9_ > 65535) i_9_ = 65535; - } else i_9_ = 0; - int i_10_ = class348_sub45.method3308((byte) -128); - if (i_10_ < 0) i_10_ = 0; - else if (i_10_ > 65535) i_10_ = 65535; - int i_11_ = 0; - if (class348_sub45.method3310(i ^ 0x2cee) == 2) i_11_ = 1; - int i_12_ = (int) l; - Class10.anInt182++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class27.aClass351_395, (Class348_Sub23_Sub2.aClass77_9029), i + -11525); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_12_ | i_11_ << 15); - class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 121, i_9_ << 16 | i_10_); - Class348_Sub42_Sub14.method3243(25, class348_sub47); - } - if (Class253.anInt3246 > 0) { - Class348_Sub40_Sub26.anInt9348++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class328_Sub1_Sub1.aClass351_8798), (Class348_Sub23_Sub2.aClass77_9029), -111); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 3 * Class253.anInt3246); - for (int i_13_ = 0; (i_13_ < Class253.anInt3246); i_13_++) { - Interface6 interface6 = Class308.anInterface6Array3884[i_13_]; - long l = ((interface6.method29((byte) -29) + -Class348_Sub7.aLong6651) / 50L); - Class348_Sub7.aLong6651 = interface6.method29((byte) 106); - if (l > 65535L) l = 65535L; - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, interface6.method30(false)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, (int) l); - } - Class348_Sub42_Sub14.method3243(-49, class348_sub47); - } - if (Class147.anInt2035 > 0) Class147.anInt2035--; - if (Class369_Sub3_Sub1.aBoolean10174 && Class147.anInt2035 <= 0) { - Class239_Sub18.anInt6033++; - Class369_Sub3_Sub1.aBoolean10174 = false; - Class147.anInt2035 = 20; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class281.aClass351_3648, (Class348_Sub23_Sub2.aClass77_9029), i + -11549); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(i ^ 0x3c4d, (int) Class314.aFloat3938 >> 3); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, (int) Class76.aFloat1287 >> 3); - Class348_Sub42_Sub14.method3243(-31, class348_sub47); - } - if (Class347.aBoolean4278 != Class175.aBoolean2329) { - Class269.anInt3460++; - Class347.aBoolean4278 = Class175.aBoolean2329; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((InputStream_Sub1.aClass351_77), (Class348_Sub23_Sub2.aClass77_9029), i ^ ~0x2cc8); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, !Class175.aBoolean2329 ? 0 : 1); - Class348_Sub42_Sub14.method3243(i + -11501, class348_sub47); - } - if (!r.aBoolean9719) { - Class62.anInt1110++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class348_Sub49_Sub1.aClass351_9743), (Class348_Sub23_Sub2.aClass77_9029), -113); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 0); - int i_14_ = (class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197); - Class348_Sub49 class348_sub49 = Class316.aClass348_Sub51_3959.method3427(i ^ 0x2cb0); - class348_sub47.aClass348_Sub49_Sub2_7116.writeBytes(class348_sub49.anInt7197, 0, class348_sub49.aByteArray7154, 82); - class348_sub47.aClass348_Sub49_Sub2_7116.method3339(96, (class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197) + -i_14_); - Class348_Sub42_Sub14.method3243(i + -11473, class348_sub47); - r.aBoolean9719 = true; - } - if (Class147.aClass357ArrayArrayArray2029 != null) { - if (Class348_Sub40_Sub21.anInt9282 == 2) Class14_Sub1.method241((byte) 127); - else if (Class348_Sub40_Sub21.anInt9282 == 3) Class348_Sub21.method2954((byte) -4); - } - if (!Class160.aBoolean2130) Class205.aFloat2687 /= 2.0F; - else Class160.aBoolean2130 = false; - if (!Class50_Sub1.aBoolean5224) Class348_Sub27.aFloat6898 /= 2.0F; - else Class50_Sub1.aBoolean5224 = false; - Class348_Sub35.method3027((byte) 33); - if (Class240.anInt4674 == 10) { - Class348_Sub42_Sub3.method3175((byte) 55); - Class38.method362(i + -11335); - Class206.method1501(-123); - Class348_Sub50.anInt7213++; - if (Class348_Sub50.anInt7213 > 750) Class272.method2049(83); - else { - Class34.method349(i + -6692); - Class348_Sub40_Sub38.method3150(true); - Class186.method1397(0); - for (int i_15_ = Class318_Sub1_Sub3_Sub3.aClass170_10209.method1305((byte) -126, true); i_15_ != -1; i_15_ = Class318_Sub1_Sub3_Sub3.aClass170_10209.method1305((byte) -128, false)) { - Class239_Sub11.method1767(true, i_15_); - Class327.anIntArray4096[Class139.method1166(31, Class287.anInt3695++)] = i_15_; - } - for (Class348_Sub42_Sub15 class348_sub42_sub15 = Class348_Sub40_Sub30.method3127(2681); class348_sub42_sub15 != null; class348_sub42_sub15 = Class348_Sub40_Sub30.method3127(2681)) { - int i_16_ = class348_sub42_sub15.method3245(true); - int i_17_ = class348_sub42_sub15.method3248(1); - if (i_16_ == 1) { - Class77.anIntArray1303[i_17_] = class348_sub42_sub15.anInt9652; - Class184.aBoolean2469 |= Class286_Sub6.aBooleanArray6270[i_17_]; - Class348_Sub26.anIntArray6890[Class139.method1166(31, Class5_Sub1.anInt8352++)] = i_17_; - } else if (i_16_ == 2) { - Class258_Sub2.aStringArray8532[i_17_] = class348_sub42_sub15.aString9654; - Class239_Sub21.anIntArray6061[Class139.method1166(Class348_Sub40_Sub30.anInt9385++, 31)] = i_17_; - } else if (i_16_ == 3) { - Class46 class46 = Class324.method2570(1512932720, i_17_); - if (!class348_sub42_sub15.aString9654.equals(class46.aString792)) { - class46.aString792 = class348_sub42_sub15.aString9654; - Class251.method1916(-9343, class46); - } - } else if (i_16_ == 4) { - Class46 class46 = Class324.method2570(1512932720, i_17_); - int i_18_ = (class348_sub42_sub15.anInt9652); - int i_19_ = (class348_sub42_sub15.anInt9651); - int i_20_ = (class348_sub42_sub15.anInt9650); - if (i_18_ != class46.anInt770 || (class46.anInt753 != i_19_) || (i_20_ != class46.anInt779)) { - class46.anInt753 = i_19_; - class46.anInt770 = i_18_; - class46.anInt779 = i_20_; - Class251.method1916(-9343, class46); - } - } else if (i_16_ == 5) { - Class46 class46 = Class324.method2570(i ^ 0x5a2da9d8, i_17_); - if ((class46.anInt699 != class348_sub42_sub15.anInt9652) || (class348_sub42_sub15.anInt9652 == -1)) { - class46.anInt699 = class348_sub42_sub15.anInt9652; - class46.anInt795 = 0; - class46.anInt841 = 0; - class46.anInt730 = 1; - Class17 class17 = ((class46.anInt699 == -1) ? null : (Class10.aClass87_191.method835((class46.anInt699), 7))); - if (class17 != null) Class264.method2017((class46.anInt795), class17, 30); - Class251.method1916(-9343, class46); - } - } else if (i_16_ == 6) { - int i_21_ = (class348_sub42_sub15.anInt9652); - int i_22_ = (0x7ff9 & i_21_) >> 10; - int i_23_ = 0x1f & i_21_ >> 5; - int i_24_ = 0x1f & i_21_; - int i_25_ = ((i_24_ << 3) + ((i_22_ << 19) - -(i_23_ << 11))); - Class46 class46 = Class324.method2570(1512932720, i_17_); - if (class46.anInt749 != i_25_) { - class46.anInt749 = i_25_; - Class251.method1916(-9343, class46); - } - } else if (i_16_ == 7) { - Class46 class46 = Class324.method2570(1512932720, i_17_); - boolean bool = (class348_sub42_sub15.anInt9652 == 1); - if (!class46.aBoolean813 == bool) { - class46.aBoolean813 = bool; - Class251.method1916(-9343, class46); - } - } else if (i_16_ == 8) { - Class46 class46 = Class324.method2570(1512932720, i_17_); - if ((class46.anInt757 != class348_sub42_sub15.anInt9652) || (class46.anInt675 != class348_sub42_sub15.anInt9651) || (class46.anInt716 != class348_sub42_sub15.anInt9650)) { - class46.anInt716 = class348_sub42_sub15.anInt9650; - class46.anInt675 = class348_sub42_sub15.anInt9651; - class46.anInt757 = class348_sub42_sub15.anInt9652; - if (class46.anInt812 != -1) { - if (class46.anInt796 <= 0) { - if ((class46.anInt842) > 0) class46.anInt716 = (32 * class46.anInt716 / (class46.anInt842)); - } else class46.anInt716 = ((class46.anInt716) * 32 / (class46.anInt796)); - } - Class251.method1916(-9343, class46); - } - } else if (i_16_ == 9) { - Class46 class46 = Class324.method2570(1512932720, i_17_); - if ((class348_sub42_sub15.anInt9652 != class46.anInt812) || (class348_sub42_sub15.anInt9651 != class46.anInt781)) { - class46.anInt781 = class348_sub42_sub15.anInt9651; - class46.anInt812 = class348_sub42_sub15.anInt9652; - Class251.method1916(-9343, class46); - } - } else if (i_16_ == 10) { - Class46 class46 = Class324.method2570(1512932720, i_17_); - if ((class46.anInt808 != (class348_sub42_sub15.anInt9652)) || ((class46.anInt786) != (class348_sub42_sub15.anInt9651)) || ((class348_sub42_sub15.anInt9650) != class46.anInt717)) { - class46.anInt786 = (class348_sub42_sub15.anInt9651); - class46.anInt808 = (class348_sub42_sub15.anInt9652); - class46.anInt717 = (class348_sub42_sub15.anInt9650); - Class251.method1916(-9343, class46); - } - } else if (i_16_ == 11) { - Class46 class46 = (Class324.method2570(1512932720, i_17_)); - class46.aByte817 = (byte) 0; - class46.anInt750 = class46.anInt739 = (class348_sub42_sub15.anInt9651); - class46.aByte681 = (byte) 0; - class46.anInt800 = class46.anInt788 = (class348_sub42_sub15.anInt9652); - Class251.method1916(-9343, class46); - } else if (i_16_ == 12) { - Class46 class46 = (Class324.method2570(1512932720, i_17_)); - int i_26_ = (class348_sub42_sub15.anInt9652); - if (class46 != null && (class46.anInt774) == 0) { - if ((-(class46.anInt789) + (class46.anInt791)) < i_26_) i_26_ = ((class46.anInt791) - (class46.anInt789)); - if (i_26_ < 0) i_26_ = 0; - if (i_26_ != (class46.anInt755)) { - class46.anInt755 = i_26_; - Class251.method1916(-9343, class46); - } - } - } else if (i_16_ == 14) { - Class46 class46 = (Class324.method2570(1512932720, i_17_)); - class46.anInt756 = (class348_sub42_sub15.anInt9652); - } else if (i_16_ == 15) { - Class97.anInt1548 = (class348_sub42_sub15.anInt9651); - Class248.anInt3203 = (class348_sub42_sub15.anInt9652); - Class348_Sub13.aBoolean6759 = true; - } else if (i_16_ == 16) { - Class46 class46 = (Class324.method2570(1512932720, i_17_)); - class46.anInt702 = (class348_sub42_sub15.anInt9652); - } else if (i_16_ == 17) { - Class46 class46 = (Class324.method2570(1512932720, i_17_)); - class46.anInt806 = (class348_sub42_sub15.anInt9652); - } - } - Class348_Sub51.anInt7267++; - if (Class239_Sub20.anInt6048 != 0) { - Class348.anInt4292 += 20; - if (Class348.anInt4292 >= 400) Class239_Sub20.anInt6048 = 0; - } - if (Class311.aClass46_3913 != null) { - Class108.anInt1656++; - if (Class108.anInt1656 >= 15) { - Class251.method1916(-9343, Class311.aClass46_3913); - Class311.aClass46_3913 = null; - } - } - Class318_Sub1_Sub3_Sub4.aClass46_10336 = null; - Class50_Sub1.aBoolean5221 = false; - Class168.aClass46_2249 = null; - Class127_Sub1.aBoolean8386 = false; - Class5_Sub2.method198(null, false, -1, -1); - Class175.method1343(-1, null, 1, -1); - if (!r.aBoolean9722) Class362.anInt4458 = -1; - Class320.overGameScreen = false; - Class216.method1583((byte) -73); - Class311.anInt3918++; - if (Class320.overGameScreen && Class320.scrollWheelDiff != 0 && !Class351.aBoolean4328) { - if (Class192.anInt2581 <= 0 || !Class182.aClass346_2449.method2696(82, -125) || !Class182.aClass346_2449.method2696(81, -126)) { - Class320.zoomStep += -Class320.scrollWheelDiff * Loader.ZOOM_OFFSET_STEP; - } - } - if (Class237.aBoolean3103) { - Class98.anInt1568++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((ha_Sub2.aClass351_7715), (Class348_Sub23_Sub2.aClass77_9029), i + -11525); - class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 117, (InputStream_Sub2.anInt85 << 14 | (Class348_Sub40_Sub26.anInt9349 << 28) | Class79.anInt1404)); - Class348_Sub42_Sub14.method3243(30, class348_sub47); - Class237.aBoolean3103 = false; - } - for (; ; ) { - Class348_Sub36 class348_sub36 = ((Class348_Sub36) Class208.aClass262_2707.method1997(8)); - if (class348_sub36 == null) break; - Class46 class46 = (class348_sub36.aClass46_6989); - if (class46.anInt704 >= 0) { - Class46 class46_27_ = Class324.method2570(1512932720, (class46.anInt834)); - if (class46_27_ == null || (class46_27_.aClass46Array798) == null || ((class46_27_.aClass46Array798).length <= class46.anInt704) || (class46 != (class46_27_.aClass46Array798[class46.anInt704]))) continue; - } - Class66.method705(class348_sub36); - } - for (; ; ) { - Class348_Sub36 class348_sub36 = ((Class348_Sub36) Class365.aClass262_4473.method1997(8)); - if (class348_sub36 == null) break; - Class46 class46 = (class348_sub36.aClass46_6989); - if (class46.anInt704 >= 0) { - Class46 class46_28_ = Class324.method2570(1512932720, (class46.anInt834)); - if (class46_28_ == null || (class46_28_.aClass46Array798) == null || (class46.anInt704 >= (class46_28_.aClass46Array798).length) || ((class46_28_.aClass46Array798[class46.anInt704]) != class46)) continue; - } - Class66.method705(class348_sub36); - } - for (; ; ) { - Class348_Sub36 class348_sub36 = ((Class348_Sub36) Class348_Sub1_Sub2.aClass262_8810.method1997(i + -11424)); - if (class348_sub36 == null) break; - Class46 class46 = (class348_sub36.aClass46_6989); - if (class46.anInt704 >= 0) { - Class46 class46_29_ = Class324.method2570(1512932720, (class46.anInt834)); - if (class46_29_ == null || (class46_29_.aClass46Array798) == null || (class46.anInt704 >= (class46_29_.aClass46Array798).length) || ((class46_29_.aClass46Array798[class46.anInt704]) != class46)) continue; - } - Class66.method705(class348_sub36); - } - if (Class168.aClass46_2249 == null) Class348_Sub42.anInt7059 = 0; - if (Class289.aClass46_3701 != null) Class347.method2708(-30206); - if (Class192.anInt2581 > 0 && Class182.aClass346_2449.method2696(82, i ^ ~0x2cd5) && Class182.aClass346_2449.method2696(81, -121) && Class98.anInt1565 != 0) { - int i_30_ = ((Class132.aPlayer_1907.plane) - Class98.anInt1565); - if (i_30_ >= 0) { - if (i_30_ > 3) i_30_ = 3; - } else i_30_ = 0; - Class361.method3502((Class132.aPlayer_1907.anIntArray10317[0]) + Class90.regionTileY, i ^ 0x2caa, i_30_, (Class132.aPlayer_1907.anIntArray10320[0]) + za_Sub2.regionTileX); - } - Class261.method1987(-120); - int i_31_ = 0; - if (i == 11432) { - for (/**/; i_31_ < 5; i_31_++) - Class318_Sub1_Sub1_Sub2.anIntArray9981[i_31_]++; - if (Class184.aBoolean2469 && (-60000L + Class62.method599(-84) > Class34.aLong482)) Class318_Sub1_Sub2.method2405(i + -11313); - for (Class318_Sub9_Sub1 class318_sub9_sub1 = ((Class318_Sub9_Sub1) Class348_Sub42_Sub14.aClass243_9642.method1872(i + -11424)); class318_sub9_sub1 != null; class318_sub9_sub1 = ((Class318_Sub9_Sub1) Class348_Sub42_Sub14.aClass243_9642.method1878((byte) -105))) { - if ((Class62.method599(i ^ ~0x2ce9) / 1000L + -5L) > (long) class318_sub9_sub1.anInt8787) { - if (class318_sub9_sub1.aShort8786 > 0) Class286_Sub2.method2144("", 5, (byte) -128, 0, (class318_sub9_sub1.aString8783 + (Class274.aClass274_3502.method2063(Class348_Sub33.anInt6967, 544))), "", ""); - if (class318_sub9_sub1.aShort8786 == 0) Class286_Sub2.method2144("", 5, (byte) -105, 0, (class318_sub9_sub1.aString8783 + (Class274.aClass274_3503.method2063(Class348_Sub33.anInt6967, 544))), "", ""); - class318_sub9_sub1.method2373(false); - } - } - Class28.anInt4999++; - if (Class28.anInt4999 > 500) { - Class28.anInt4999 = 0; - int i_32_ = (int) (8.0 * Math.random()); - if ((0x4 & i_32_) == 4) Class195.anInt5016 += Class303.anInt3844; - if ((i_32_ & 0x1) == 1) Class20.anInt319 += Class318_Sub1_Sub5.anInt8775; - if ((0x2 & i_32_) == 2) Class260.anInt3310 += Class344.anInt4263; - } - if (Class20.anInt319 < -50) Class318_Sub1_Sub5.anInt8775 = 2; - if (Class20.anInt319 > 50) Class318_Sub1_Sub5.anInt8775 = -2; - if (Class260.anInt3310 < -55) Class344.anInt4263 = 2; - if (Class195.anInt5016 < -40) Class303.anInt3844 = 1; - if (Class260.anInt3310 > 55) Class344.anInt4263 = -2; - Class285.anInt4753++; - if (Class195.anInt5016 > 40) Class303.anInt3844 = -1; - if (Class285.anInt4753 > 500) { - Class285.anInt4753 = 0; - int i_33_ = (int) (Math.random() * 8.0); - if ((i_33_ & 0x2) == 2) Class348_Sub49_Sub1.anInt9750 += Class348_Sub42_Sub14.anInt9645; - if ((i_33_ & 0x1) == 1) r_Sub2.anInt10483 += Class348_Sub42_Sub9_Sub1.anInt10443; - } - if (r_Sub2.anInt10483 < -60) Class348_Sub42_Sub9_Sub1.anInt10443 = 2; - if (Class348_Sub49_Sub1.anInt9750 < -20) Class348_Sub42_Sub14.anInt9645 = 1; - if (r_Sub2.anInt10483 > 60) Class348_Sub42_Sub9_Sub1.anInt10443 = -2; - if (Class348_Sub49_Sub1.anInt9750 > 10) Class348_Sub42_Sub14.anInt9645 = -1; - Class11.anInt193++; - if (Class11.anInt193 > 50) { - IOException_Sub1.anInt88++; - Class348_Sub47 class348_sub47 = (Class286_Sub3.method2148(Class239_Sub10.aClass351_5938, Class348_Sub23_Sub2.aClass77_9029, -125)); - Class348_Sub42_Sub14.method3243(i ^ ~0x2cc0, class348_sub47); - } - if (Class239_Sub29.aBoolean6147) { - Class313.method2334(0); - Class239_Sub29.aBoolean6147 = false; - } - try { - Class239_Sub18.method1802(0); - } catch (java.io.IOException ioexception) { - Class272.method2049(93); - } - } - } - } - } - } - } - - static final byte[] method2992(String string, byte i) { - try { - anInt6873++; - int i_34_ = string.length(); - byte[] is = new byte[i_34_]; - if (i != -20) method2991(-54); - for (int i_35_ = 0; i_35_ < i_34_; i_35_++) { - int i_36_ = string.charAt(i_35_); - if (i_36_ > 0 && i_36_ < 128 || i_36_ >= 160 && i_36_ <= 255) is[i_35_] = (byte) i_36_; - else if (i_36_ != 8364) { - if (i_36_ != 8218) { - if (i_36_ != 402) { - if (i_36_ == 8222) is[i_35_] = (byte) -124; - else if (i_36_ == 8230) is[i_35_] = (byte) -123; - else if (i_36_ != 8224) { - if (i_36_ != 8225) { - if (i_36_ == 710) is[i_35_] = (byte) -120; - else if (i_36_ == 8240) is[i_35_] = (byte) -119; - else if (i_36_ == 352) is[i_35_] = (byte) -118; - else if (i_36_ != 8249) { - if (i_36_ != 338) { - if (i_36_ != 381) { - if (i_36_ == 8216) is[i_35_] = (byte) -111; - else if (i_36_ == 8217) is[i_35_] = (byte) -110; - else if (i_36_ != 8220) { - if (i_36_ != 8221) { - if (i_36_ == 8226) is[i_35_] = (byte) -107; - else if (i_36_ == 8211) is[i_35_] = (byte) -106; - else if (i_36_ != 8212) { - if (i_36_ != 732) { - if (i_36_ != 8482) { - if (i_36_ == 353) is[i_35_] = (byte) -102; - else if (i_36_ == 8250) is[i_35_] = (byte) -101; - else if (i_36_ != 339) { - if (i_36_ == 382) is[i_35_] = (byte) -98; - else if (i_36_ != 376) is[i_35_] = (byte) 63; - else is[i_35_] = (byte) -97; - } else is[i_35_] = (byte) -100; - } else is[i_35_] = (byte) -103; - } else is[i_35_] = (byte) -104; - } else is[i_35_] = (byte) -105; - } else is[i_35_] = (byte) -108; - } else is[i_35_] = (byte) -109; - } else is[i_35_] = (byte) -114; - } else is[i_35_] = (byte) -116; - } else is[i_35_] = (byte) -117; - } else is[i_35_] = (byte) -121; - } else is[i_35_] = (byte) -122; - } else is[i_35_] = (byte) -125; - } else is[i_35_] = (byte) -126; - } else is[i_35_] = (byte) -128; - } - return is; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ls.B(" + (string != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - public static void method2993(byte i) { - anIntArray6878 = null; - aString6876 = null; - aString6877 = null; - int i_37_ = 31 % ((3 - i) / 37); - } - - static final void method2994(int i) { - anInt6871++; - if (i == 2) Class199.aClass352Array2636 = null; - } - - Class348_Sub24(int i, int i_38_) { - this.anInt6872 = i; - this.anInt6875 = i_38_; - } - - static { - String string = "Unknown"; - try { - string = System.getProperty("java.vendor").toLowerCase(); - } catch (Exception exception) { - /* empty */ - } - string.toLowerCase(); - string = "Unknown"; - try { - string = System.getProperty("java.version").toLowerCase(); - } catch (Exception exception) { - /* empty */ - } - string.toLowerCase(); - string = "Unknown"; - try { - string = System.getProperty("os.name").toLowerCase(); - } catch (Exception exception) { - /* empty */ - } - aString6877 = string.toLowerCase(); - string = "Unknown"; - try { - string = System.getProperty("os.arch").toLowerCase(); - } catch (Exception exception) { - /* empty */ - } - aString6876 = string.toLowerCase(); - string = "Unknown"; - try { - string = System.getProperty("os.version").toLowerCase(); - } catch (Exception exception) { - /* empty */ - } - string.toLowerCase(); - string = "~/"; - try { - string = System.getProperty("user.home").toLowerCase(); - } catch (Exception exception) { - /* empty */ - } - new File(string); - } -} diff --git a/client/src/Class348_Sub25.java b/client/src/Class348_Sub25.java deleted file mode 100644 index 02b0e9f5d..000000000 --- a/client/src/Class348_Sub25.java +++ /dev/null @@ -1,117 +0,0 @@ -/* Class348_Sub25 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub25 extends Class348 { - int anInt6879; - private final int anInt6880; - private static int[] anIntArray6881; - boolean aBoolean6882; - int anInt6883; - private int[] anIntArray6884; - - final void method2995(int i, int i_0_) { - if (i != 0 || i_0_ != 0) { - if (anIntArray6881 == null || anIntArray6881.length != anIntArray6884.length) anIntArray6881 = new int[anIntArray6884.length]; - int i_1_ = anIntArray6884.length; - int i_2_ = i; - int i_3_ = anInt6880 - 1; - int i_4_ = anInt6880 * i_0_; - int i_5_ = i_1_ - 1; - for (int i_6_ = 0; i_6_ < i_1_; i_6_ += anInt6880) { - int i_7_ = i_6_ + i_4_ & i_5_; - for (int i_8_ = 0; i_8_ < anInt6880; i_8_++) { - int i_9_ = i_6_ + i_8_; - int i_10_ = i_7_ + (i_8_ + i_2_ & i_3_); - anIntArray6881[i_9_] = anIntArray6884[i_10_]; - } - } - int[] is = anIntArray6884; - anIntArray6884 = anIntArray6881; - anIntArray6881 = is; - } - } - - public static void method2996() { - anIntArray6881 = null; - } - - final int[] method2997() { - return anIntArray6884; - } - - Class348_Sub25(int i, int i_11_, int[] is, boolean bool) { - this.anInt6883 = i; - anInt6880 = i_11_; - anIntArray6884 = is; - if (bool) { - int[] is_12_ = new int[anInt6880]; - int[] is_13_ = new int[anInt6880]; - int[] is_14_ = new int[anInt6880]; - int[] is_15_ = new int[anInt6880]; - if (anIntArray6881 == null || anIntArray6881.length != anIntArray6884.length) anIntArray6881 = new int[anIntArray6884.length]; - int i_16_ = anInt6880; - int i_17_ = anInt6880; - int i_18_ = i_16_ - 1; - int i_19_ = i_17_ - 1; - int i_20_ = i_16_ * i_17_; - int i_22_; - int i_21_ = i_22_ = i_16_; - for (int i_23_ = 2; i_23_ >= 0; i_23_--) { - for (int i_24_ = i_18_; i_24_ >= 0; i_24_--) { - int i_25_ = anIntArray6884[--i_22_]; - is_12_[i_24_] += i_25_ >> 24 & 0xff; - is_13_[i_24_] += i_25_ >> 16 & 0xff; - is_14_[i_24_] += i_25_ >> 8 & 0xff; - is_15_[i_24_] += i_25_ & 0xff; - } - if (i_22_ == 0) i_22_ = i_20_; - } - int i_26_ = i_20_; - for (int i_27_ = i_19_; i_27_ >= 0; i_27_--) { - int i_28_ = 1; - int i_29_ = 1; - int i_31_; - int i_32_; - int i_33_; - int i_30_ = i_31_ = i_32_ = i_33_ = 0; - for (int i_34_ = 2; i_34_ >= 0; i_34_--) { - i_29_--; - i_30_ += is_12_[i_29_]; - i_31_ += is_13_[i_29_]; - i_33_ += is_14_[i_29_]; - i_32_ += is_15_[i_29_]; - if (i_29_ == 0) i_29_ = i_16_; - } - for (int i_35_ = i_18_; i_35_ >= 0; i_35_--) { - i_29_--; - i_28_--; - int i_36_ = i_30_ / 9; - int i_37_ = i_31_ / 9; - int i_38_ = i_33_ / 9; - int i_39_ = i_32_ / 9; - anIntArray6881[--i_26_] = i_36_ << 24 | i_37_ << 16 | i_38_ << 8 | i_39_; - i_30_ += is_12_[i_29_] - is_12_[i_28_]; - i_31_ += is_13_[i_29_] - is_13_[i_28_]; - i_32_ += is_15_[i_29_] - is_15_[i_28_]; - i_33_ += is_14_[i_29_] - is_14_[i_28_]; - if (i_29_ == 0) i_29_ = i_16_; - if (i_28_ == 0) i_28_ = i_16_; - } - for (int i_40_ = i_18_; i_40_ >= 0; i_40_--) { - int i_41_ = anIntArray6884[--i_22_]; - int i_42_ = anIntArray6884[--i_21_]; - is_12_[i_40_] += (i_41_ >> 24 & 0xff) - (i_42_ >> 24 & 0xff); - is_13_[i_40_] += (i_41_ >> 16 & 0xff) - (i_42_ >> 16 & 0xff); - is_14_[i_40_] += (i_41_ >> 8 & 0xff) - (i_42_ >> 8 & 0xff); - is_15_[i_40_] += (i_41_ & 0xff) - (i_42_ & 0xff); - } - if (i_22_ == 0) i_22_ = i_20_; - if (i_21_ == 0) i_21_ = i_20_; - } - int[] is_43_ = anIntArray6884; - anIntArray6884 = anIntArray6881; - anIntArray6881 = is_43_; - } - } -} diff --git a/client/src/Class348_Sub26.java b/client/src/Class348_Sub26.java deleted file mode 100644 index e78772370..000000000 --- a/client/src/Class348_Sub26.java +++ /dev/null @@ -1,37 +0,0 @@ -/* Class348_Sub26 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub26 extends Class348 { - static Class348_Sub42_Sub14 aClass348_Sub42_Sub14_6885; - static int anInt6886; - volatile int anInt6887 = -1; - volatile String aString6888; - static short[] aShortArray6889; - static int[] anIntArray6890 = new int[32]; - static Class74 aClass74_6891; - - public static void method2998(byte i) { - anIntArray6890 = null; - aClass348_Sub42_Sub14_6885 = null; - aClass74_6891 = null; - aShortArray6889 = null; - if (i != -35) method2999((byte) -26, -20); - } - - static final void method2999(byte i, int i_0_) { - anInt6886++; - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i_0_, (byte) 105, 7); - if (i < 42) method2999((byte) 62, -64); - class348_sub42_sub15.method3251(-16058); - } - - Class348_Sub26(String string) { - this.aString6888 = string; - } - - static { - aShortArray6889 = new short[256]; - aClass74_6891 = new Class74(1, 4); - } -} diff --git a/client/src/Class348_Sub27.java b/client/src/Class348_Sub27.java deleted file mode 100644 index 13f4833cd..000000000 --- a/client/src/Class348_Sub27.java +++ /dev/null @@ -1,46 +0,0 @@ -/* Class348_Sub27 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub27 extends Class348 { - int anInt6892; - int anInt6893 = -1; - int anInt6894 = 0; - int anInt6895; - int anInt6896; - static Class302[] aClass302Array6897 = new Class302[8]; - static float aFloat6898 = 0.0F; - int anInt6899; - int anInt6900; - static int anInt6901; - int anInt6902; - int anInt6903; - int anInt6904; - int anInt6905; - static int anInt6906; - int anInt6907; - - static final void method3000(int i, int i_0_, int i_1_, int i_2_, int i_3_) { - Class369.anInt4960 = i_2_; - int i_4_ = -89 / ((i_3_ - 78) / 44); - Class38.anInt513 = i_1_; - Class113.anInt1745 = i; - Class132.anInt1910 = i_0_; - anInt6906++; - } - - public static void method3001(int i) { - aClass302Array6897 = null; - if (i != 0) aClass302Array6897 = null; - } - - static final Class138[] method3002(byte i) { - if (i != -97) aClass302Array6897 = null; - anInt6901++; - return (new Class138[]{Class234.aClass138_3044, Class299_Sub1.aClass138_6321, Class324.aClass138_4062, Class222.aClass138_2885, Class348_Sub42_Sub5.aClass138_9530, Class348_Sub49_Sub1.aClass138_9748, Class325.aClass138_4082, Class258_Sub4.aClass138_8553, za.aClass138_7274, Class71.aClass138_1213, Class52.aClass138_4901, Class318_Sub1_Sub2_Sub1.aClass138_10194, za_Sub2.aClass138_9781, Class377.aClass138_9860}); - } - - public Class348_Sub27() { - /* empty */ - } -} diff --git a/client/src/Class348_Sub28.java b/client/src/Class348_Sub28.java deleted file mode 100644 index 47c642f1c..000000000 --- a/client/src/Class348_Sub28.java +++ /dev/null @@ -1,7 +0,0 @@ -/* Class348_Sub28 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub28 extends Class348 { - Interface19 anInterface19_6908; -} diff --git a/client/src/Class348_Sub29.java b/client/src/Class348_Sub29.java deleted file mode 100644 index 92fe1fa5a..000000000 --- a/client/src/Class348_Sub29.java +++ /dev/null @@ -1,37 +0,0 @@ -/* Class348_Sub29 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub29 extends Class348 { - static Class45 aClass45_6909; - static int anInt6910; - short aShort6911; - - public static void method3003(int i) { - aClass45_6909 = null; - if (i != -4587) method3003(-101); - } - - public Class348_Sub29() { - /* empty */ - } - - Class348_Sub29(short i) { - this.aShort6911 = i; - } - - static final void method3004(Class45 class45, boolean bool, d var_d) { - do { - try { - Class260.aClass45_3309 = class45; - anInt6910++; - Class101_Sub1.aD5684 = var_d; - if (bool == false) break; - method3004(null, false, null); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("oia.B(" + (class45 != null ? "{...}" : "null") + ',' + bool + ',' + (var_d != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } -} diff --git a/client/src/Class348_Sub3.java b/client/src/Class348_Sub3.java deleted file mode 100644 index fa3a926b9..000000000 --- a/client/src/Class348_Sub3.java +++ /dev/null @@ -1,222 +0,0 @@ -/* Class348_Sub3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaclib.memory.Buffer; -import jaclib.memory.Stream; -import jaclib.memory.heap.NativeHeapBuffer; - -import java.awt.*; - -final class Class348_Sub3 extends Class348 { - private final s_Sub3 aS_Sub3_6566; - int anInt6567; - static int anInt6568; - int anInt6569; - static int anInt6570; - int anInt6571; - private NativeHeapBuffer aNativeHeapBuffer6572; - private final int[] anIntArray6573; - private Stream aStream6574; - int anInt6575; - static int anInt6576; - private Interface5_Impl1 anInterface5_Impl1_6577; - static int anInt6578; - static int anInt6579; - static int anInt6580; - static Class323 aClass323_6581; - float aFloat6582; - static int anInt6583; - static Class114 aClass114_6584 = null; - static int anInt6585; - static float aFloat6586; - static int anInt6587; - static int anInt6588; - int anInt6589 = 0; - private final ha_Sub3 aHa_Sub3_6590; - - final void method2736(byte i, int i_0_) { - if (i != -57) method2736((byte) 25, -39); - anInt6580++; - aNativeHeapBuffer6572 = aHa_Sub3_6590.method3869((byte) 77, true, i_0_ * 4); - aStream6574 = new Stream(aNativeHeapBuffer6572, 0, 4 * i_0_); - } - - final void method2737(byte i, int[] is, int i_1_) { - anInt6583++; - Interface5_Impl2 interface5_impl2 = aHa_Sub3_6590.method3822(47, this.anInt6589 * 3); - Buffer buffer = interface5_impl2.method24(true, false); - if (buffer != null) { - if (i != -30) method2736((byte) 116, 72); - Stream stream = aHa_Sub3_6590.method3893(buffer, 9179); - int i_2_ = 0; - int i_3_ = 32767; - int i_4_ = -32768; - if (Stream.c()) { - for (int i_5_ = 0; i_1_ > i_5_; i_5_++) { - int i_6_ = is[i_5_]; - short[] is_7_ = aS_Sub3_6566.aShortArrayArray8299[i_6_]; - int i_8_ = anIntArray6573[i_6_]; - if (i_8_ != 0 && is_7_ != null) { - int i_9_ = 0; - int i_10_ = 0; - while (i_10_ < is_7_.length) { - if ((i_8_ & 1 << i_9_++) == 0) i_10_ += 3; - else { - i_2_++; - for (int i_11_ = 0; i_11_ < 3; i_11_++) { - int i_12_ = 0xffff & is_7_[i_10_++]; - if (i_12_ < i_3_) i_3_ = i_12_; - stream.d(i_12_); - if (i_4_ < i_12_) i_4_ = i_12_; - } - } - } - } - } - } else { - for (int i_13_ = 0; i_1_ > i_13_; i_13_++) { - int i_14_ = is[i_13_]; - short[] is_15_ = aS_Sub3_6566.aShortArrayArray8299[i_14_]; - int i_16_ = anIntArray6573[i_14_]; - if (i_16_ != 0 && is_15_ != null) { - int i_17_ = 0; - int i_18_ = 0; - while (is_15_.length > i_18_) { - if ((1 << i_17_++ & i_16_) != 0) { - i_2_++; - for (int i_19_ = 0; i_19_ < 3; i_19_++) { - int i_20_ = 0xffff & is_15_[i_18_++]; - if (i_3_ > i_20_) i_3_ = i_20_; - stream.a(i_20_); - if (i_20_ > i_4_) i_4_ = i_20_; - } - } else i_18_ += 3; - } - } - } - } - stream.a(); - if (interface5_impl2.method22(i + 7) && i_2_ > 0) { - aHa_Sub3_6590.method3814((aS_Sub3_6566.anInt8294 & 0x8) != 0, (0x7 & aS_Sub3_6566.anInt8294) != 0, this.anInt6567, (byte) 48); - if (aHa_Sub3_6590.aBoolean8160) aHa_Sub3_6590.EA(2147483647, this.anInt6571, this.anInt6575, this.anInt6569); - Class101_Sub2 class101_sub2 = aHa_Sub3_6590.method3820(false); - class101_sub2.method932(1.0F, 1.0F / this.aFloat6582, 1.0F / this.aFloat6582, (byte) -80); - aHa_Sub3_6590.method3853(i + -2, Class239_Sub18.aClass251_6030); - aHa_Sub3_6590.method3925(55, anInterface5_Impl1_6577, 1); - aHa_Sub3_6590.method3862(i + 30, (aS_Sub3_6566.aClass130_8324)); - aHa_Sub3_6590.method3938(Class247.aClass21_3181, i_2_, interface5_impl2, i_3_, 0, 1 + -i_3_ + i_4_, 104); - aHa_Sub3_6590.method3879(-8629); - } - } - } - - public static void method2738(byte i) { - aClass114_6584 = null; - aClass323_6581 = null; - int i_21_ = 89 / ((19 - i) / 43); - } - - static final void method2739(int i) { - Class348_Sub40_Sub13.aClass262_9201.method1996(98); - anInt6579++; - Class348_Sub34.anInt6969 = i; - } - - final void method2740(int i, int i_22_) { - anInt6576++; - aStream6574.a(); - anInterface5_Impl1_6577 = aHa_Sub3_6590.method3889(false, 16711680); - anInterface5_Impl1_6577.method17(aNativeHeapBuffer6572, 4, 4 * i_22_, (byte) -110); - int i_23_ = 44 % ((i - 19) / 33); - aNativeHeapBuffer6572 = null; - aStream6574 = null; - } - - final void method2741(int i, float f, int i_24_, int i_25_, int i_26_) { - if (this.anInt6567 != -1) { - Class12 class12 = aHa_Sub3_6590.aD4579.method3(this.anInt6567, -6662); - int i_27_ = class12.aByte201 & 0xff; - if (i_27_ != 0 && class12.aByte213 != 4) { - int i_28_; - if (i_25_ < 0) i_28_ = 0; - else if (i_25_ <= 127) i_28_ = i_25_ * 131586; - else i_28_ = 16777215; - if (i_27_ != 256) { - int i_29_ = i_27_; - int i_30_ = -i_27_ + 256; - i_26_ = ((i_30_ * (i_26_ & 0xff00) + i_29_ * (0xff00 & i_28_) & 0xff0000) + (~0xff00ff & (i_29_ * (i_28_ & 0xff00ff) - -((i_26_ & 0xff00ff) * i_30_)))) >> 8; - } else i_26_ = i_28_; - } - int i_31_ = 0xff & class12.aByte216; - if (i_31_ != 0) { - i_31_ += 256; - int i_32_ = (0xff & i_26_ >> 16) * i_31_; - if (i_32_ > 65535) i_32_ = 65535; - int i_33_ = ((0xff00 & i_26_) >> 8) * i_31_; - if (i_33_ > 65535) i_33_ = 65535; - int i_34_ = i_31_ * (0xff & i_26_); - if (i_34_ > 65535) i_34_ = 65535; - i_26_ = (i_34_ >> 8) + ((i_33_ & 0xff00) + ((0x5400ff00 & i_32_) << 8)); - } - } - anInt6588++; - aStream6574.e(i * 4); - if (f != 1.0F) { - int i_35_ = i_26_ >> 16 & 0xff; - int i_36_ = 0xff & i_26_ >> 8; - i_35_ *= f; - int i_37_ = 0xff & i_26_; - if (i_35_ < 0) i_35_ = 0; - else if (i_35_ > 255) i_35_ = 255; - i_36_ *= f; - if (i_36_ < 0) i_36_ = 0; - else if (i_36_ > 255) i_36_ = 255; - i_37_ *= f; - if (i_37_ < 0) i_37_ = 0; - else if (i_37_ > 255) i_37_ = 255; - i_26_ = i_37_ | (i_35_ << 16 | i_36_ << 8); - } - if (i_24_ != 1624) method2743(null, (byte) 67); - if (aHa_Sub3_6590.anInt8178 == 0) { - aStream6574.f((byte) i_26_); - aStream6574.f((byte) (i_26_ >> 8)); - aStream6574.f((byte) (i_26_ >> 16)); - } else { - aStream6574.f((byte) (i_26_ >> 16)); - aStream6574.f((byte) (i_26_ >> 8)); - aStream6574.f((byte) i_26_); - } - } - - final void method2742(int i, int i_38_, int i_39_, byte i_40_) { - anInt6570++; - anIntArray6573[i_38_ * aS_Sub3_6566.anInt4587 - -i_39_] = Class273.method2057((anIntArray6573[(i_38_ * aS_Sub3_6566.anInt4587 - -i_39_)]), 1 << i); - if (i_40_ > -65) aFloat6586 = -1.0413289F; - this.anInt6589++; - } - - static final Class346 method2743(Component component, byte i) { - anInt6587++; - int i_41_ = -16 % ((i - -58) / 63); - return new Class346_Sub1(component); - } - - final void method2744(byte i, int i_42_) { - anInt6578++; - if (i > -106) this.anInt6571 = -80; - aStream6574.e(4 * i_42_ + 3); - aStream6574.f(-1); - } - - Class348_Sub3(s_Sub3 var_s_Sub3, int i, int i_43_, int i_44_, int i_45_, int i_46_) { - aS_Sub3_6566 = var_s_Sub3; - this.anInt6569 = i_46_; - this.aFloat6582 = (float) i_43_; - aHa_Sub3_6590 = aS_Sub3_6566.aHa_Sub3_8322; - this.anInt6575 = i_45_; - this.anInt6567 = i; - anIntArray6573 = new int[(aS_Sub3_6566.anInt4590 * aS_Sub3_6566.anInt4587)]; - this.anInt6571 = i_44_; - } -} diff --git a/client/src/Class348_Sub30.java b/client/src/Class348_Sub30.java deleted file mode 100644 index 81173661a..000000000 --- a/client/src/Class348_Sub30.java +++ /dev/null @@ -1,15 +0,0 @@ -/* Class348_Sub30 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class348_Sub30 extends Class348 { - int anInt6912; - - abstract int method3005(Class348_Sub16_Sub4 class348_sub16_sub4); - - abstract void method3006(); - - public Class348_Sub30() { - /* empty */ - } -} diff --git a/client/src/Class348_Sub31.java b/client/src/Class348_Sub31.java deleted file mode 100644 index d704dd579..000000000 --- a/client/src/Class348_Sub31.java +++ /dev/null @@ -1,220 +0,0 @@ -/* Class348_Sub31 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; -import java.math.BigInteger; - -abstract class Class348_Sub31 extends Class348 { - static int anInt6913 = 0; - static int anInt6914; - static int anInt6915; - int[] anIntArray6916; - int anInt6917; - static int anInt6918; - static int anInt6919; - int anInt6920; - static BigInteger aBigInteger6921; - static int anInt6922; - static int anInt6923 = -1; - static int anInt6924; - static Class351 aClass351_6925; - static String aString6926; - - static final void method3007(int i, int i_0_) { - Class318_Sub1_Sub4_Sub1.anInt10074 = -1; - Class285.aClass348_Sub16_Sub3_4743 = null; - if (i_0_ != 22684) anInt6913 = -117; - anInt6922++; - Class346.aBoolean4275 = false; - Class124.aClass45_1848 = null; - Class318.anInt3971 = -1; - Class239_Sub14.anInt5994 = i; - Class348_Sub43.anInt7068 = 1; - Class58.anInt1059 = 0; - } - - abstract void method3008(Canvas canvas, int i, int i_1_, int i_2_); - - static final void method3009(int i, int i_3_, int i_4_, int i_5_, int i_6_, byte i_7_, int i_8_, int i_9_, int i_10_, int i_11_) { - if (i_11_ != i_4_ || i != i_9_ || i_8_ != i_5_ || i_3_ != i_6_) { - int i_12_ = i_11_; - int i_13_ = i_9_; - int i_14_ = 3 * i_11_; - int i_15_ = 3 * i_9_; - int i_16_ = 3 * i_4_; - int i_17_ = 3 * i; - int i_18_ = 3 * i_8_; - int i_19_ = i_3_ * 3; - int i_20_ = -i_11_ + (i_16_ + -i_18_) + i_5_; - int i_21_ = -i_9_ + i_17_ + -i_19_ + i_6_; - int i_22_ = i_14_ + (-i_16_ + (i_18_ + -i_16_)); - int i_23_ = -i_17_ + (-i_17_ + (i_19_ - -i_15_)); - int i_24_ = -i_14_ + i_16_; - int i_25_ = i_17_ - i_15_; - for (int i_26_ = 128; i_26_ <= 4096; i_26_ += 128) { - int i_27_ = i_26_ * i_26_ >> 12; - int i_28_ = i_27_ * i_26_ >> 12; - int i_29_ = i_20_ * i_28_; - int i_30_ = i_28_ * i_21_; - int i_31_ = i_22_ * i_27_; - int i_32_ = i_27_ * i_23_; - int i_33_ = i_24_ * i_26_; - int i_34_ = i_25_ * i_26_; - int i_35_ = i_11_ + (i_29_ + (i_31_ + i_33_) >> 12); - int i_36_ = i_9_ + (i_30_ - -i_32_ + i_34_ >> 12); - Class239_Sub15.method1783(i_12_, -1, i_13_, i_36_, i_35_, i_10_); - i_13_ = i_36_; - i_12_ = i_35_; - } - } else Class239_Sub15.method1783(i_11_, -1, i_9_, i_6_, i_5_, i_10_); - anInt6919++; - int i_37_ = 64 % ((50 - i_7_) / 51); - } - - public static void method3010(int i) { - aClass351_6925 = null; - aBigInteger6921 = null; - if (i != -1316) aClass351_6925 = null; - aString6926 = null; - } - - abstract void method3011(int i, int i_38_, int i_39_, Graphics graphics, int i_40_, int i_41_, int i_42_, int i_43_); - - static final void method3012(int i, int i_44_, int i_45_, int i_46_, int i_47_, byte i_48_, int i_49_, int i_50_) { - anInt6918++; - int i_51_ = 0; - int i_52_ = i; - int i_53_ = 0; - int i_54_ = -i_50_ + i_45_; - int i_55_ = -i_50_ + i; - int i_56_ = i_45_ * i_45_; - int i_57_ = i * i; - int i_58_ = i_54_ * i_54_; - int i_59_ = i_55_ * i_55_; - int i_60_ = i_57_ << 1; - int i_61_ = i_56_ << 1; - int i_62_ = i_59_ << 1; - int i_63_ = i_58_ << 1; - int i_64_ = i << 1; - int i_65_ = i_55_ << 1; - int i_66_ = i_60_ + (-i_64_ + 1) * i_56_; - int i_67_ = i_57_ + -(i_61_ * (i_64_ - 1)); - int i_68_ = i_62_ + (-i_65_ + 1) * i_58_; - int i_69_ = -((i_65_ + -1) * i_63_) + i_59_; - int i_70_ = i_56_ << 2; - int i_71_ = i_57_ << 2; - int i_72_ = i_58_ << 2; - int i_73_ = i_59_ << 2; - int i_74_ = 3 * i_60_; - int i_75_ = (-3 + i_64_) * i_61_; - int i_76_ = 3 * i_62_; - int i_77_ = i_63_ * (-3 + i_65_); - int i_78_ = i_71_; - int i_79_ = i_70_ * (-1 + i); - int i_80_ = 51 / ((i_48_ - -63) / 44); - int i_81_ = i_73_; - int i_82_ = (-1 + i_55_) * i_72_; - int[] is = Class17.anIntArrayArray255[i_49_]; - Class135_Sub2.method1156(-27, i_47_ - i_54_, is, -i_45_ + i_47_, i_46_); - Class135_Sub2.method1156(-27, i_47_ + i_54_, is, -i_54_ + i_47_, i_44_); - Class135_Sub2.method1156(-27, i_45_ + i_47_, is, i_47_ + i_54_, i_46_); - while (i_52_ > 0) { - boolean bool = i_55_ >= i_52_; - if (i_66_ < 0) { - while (i_66_ < 0) { - i_67_ += i_78_; - i_66_ += i_74_; - i_78_ += i_71_; - i_51_++; - i_74_ += i_71_; - } - } - if (bool) { - if (i_68_ < 0) { - while (i_68_ < 0) { - i_69_ += i_81_; - i_68_ += i_76_; - i_53_++; - i_81_ += i_73_; - i_76_ += i_73_; - } - } - if (i_69_ < 0) { - i_69_ += i_81_; - i_68_ += i_76_; - i_76_ += i_73_; - i_53_++; - i_81_ += i_73_; - } - i_69_ += -i_77_; - i_68_ += -i_82_; - i_77_ -= i_72_; - i_82_ -= i_72_; - } - if (i_67_ < 0) { - i_67_ += i_78_; - i_66_ += i_74_; - i_78_ += i_71_; - i_51_++; - i_74_ += i_71_; - } - i_67_ += -i_75_; - i_66_ += -i_79_; - i_75_ -= i_70_; - i_52_--; - i_79_ -= i_70_; - int i_83_ = -i_52_ + i_49_; - int i_84_ = i_49_ - -i_52_; - int i_85_ = i_51_ + i_47_; - int i_86_ = -i_51_ + i_47_; - if (bool) { - int i_87_ = i_47_ + i_53_; - int i_88_ = -i_53_ + i_47_; - Class135_Sub2.method1156(-27, i_88_, Class17.anIntArrayArray255[i_83_], i_86_, i_46_); - Class135_Sub2.method1156(-27, i_87_, Class17.anIntArrayArray255[i_83_], i_88_, i_44_); - Class135_Sub2.method1156(-27, i_85_, Class17.anIntArrayArray255[i_83_], i_87_, i_46_); - Class135_Sub2.method1156(-27, i_88_, Class17.anIntArrayArray255[i_84_], i_86_, i_46_); - Class135_Sub2.method1156(-27, i_87_, Class17.anIntArrayArray255[i_84_], i_88_, i_44_); - Class135_Sub2.method1156(-27, i_85_, Class17.anIntArrayArray255[i_84_], i_87_, i_46_); - } else { - Class135_Sub2.method1156(-27, i_85_, Class17.anIntArrayArray255[i_83_], i_86_, i_46_); - Class135_Sub2.method1156(-27, i_85_, Class17.anIntArrayArray255[i_84_], i_86_, i_46_); - } - } - } - - static final int method3013(int i, boolean bool) { - if (bool != true) anInt6923 = -14; - anInt6915++; - return i & 0xff; - } - - static final void method3014(Class348_Sub49 class348_sub49, byte i) { - anInt6914++; - if ((class348_sub49.aByteArray7154.length - class348_sub49.anInt7197) >= 1) { - int i_89_ = class348_sub49.readUnsignedByte(255); - if (i_89_ >= 0 && i_89_ <= 1 && (class348_sub49.aByteArray7154.length - class348_sub49.anInt7197) >= 2) { - if (i != -40) method3012(13, -47, -27, 107, -90, (byte) -19, -61, 36); - int i_90_ = class348_sub49.readUnsignedShort(842397944); - if (i_90_ * 6 <= (-class348_sub49.anInt7197 + (class348_sub49.aByteArray7154).length)) { - for (int i_91_ = 0; i_91_ < i_90_; i_91_++) { - int i_92_ = class348_sub49.readUnsignedShort(842397944); - int i_93_ = class348_sub49.readInt((byte) -126); - if ((Class77.anIntArray1303.length > i_92_) && Class286_Sub6.aBooleanArray6270[i_92_] && ((Class239_Sub14.aClass259_5995.method1976(i_92_, -107).aChar2132) != '1' || i_93_ >= -1 && i_93_ <= 1)) Class77.anIntArray1303[i_92_] = i_93_; - } - } - } - } - } - - public Class348_Sub31() { - /* empty */ - } - - static { - aBigInteger6921 = Loader.LOGIN_SERVER_RSA_MODULUS; - aString6926 = null; - aClass351_6925 = new Class351(31, 1); - } -} diff --git a/client/src/Class348_Sub31_Sub1.java b/client/src/Class348_Sub31_Sub1.java deleted file mode 100644 index 25a2b5cb0..000000000 --- a/client/src/Class348_Sub31_Sub1.java +++ /dev/null @@ -1,38 +0,0 @@ -/* Class348_Sub31_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; -import java.awt.image.*; -import java.util.Hashtable; - -final class Class348_Sub31_Sub1 extends Class348_Sub31 { - private Shape aShape9064; - private Canvas aCanvas9065; - private Image anImage9066; - private Rectangle aRectangle9067; - - final void method3011(int i, int i_0_, int i_1_, Graphics graphics, int i_2_, int i_3_, int i_4_, int i_5_) { - aShape9064 = graphics.getClip(); - aRectangle9067.x = i_3_; - aRectangle9067.width = i_4_; - aRectangle9067.y = i; - aRectangle9067.height = i_1_; - graphics.setClip(aRectangle9067); - graphics.drawImage(anImage9066, i_3_ + -i_0_, -i_5_ + i, aCanvas9065); - if (i_2_ == -1) graphics.setClip(aShape9064); - } - - final void method3008(Canvas canvas, int i, int i_6_, int i_7_) { - aCanvas9065 = canvas; - aRectangle9067 = new Rectangle(); - this.anInt6917 = i; - this.anInt6920 = i_7_; - this.anIntArray6916 = new int[(this.anInt6920 * this.anInt6917)]; - DataBufferInt databufferint = new DataBufferInt(this.anIntArray6916, (this.anIntArray6916).length); - if (i_6_ > -42) method3008(null, 6, -14, 63); - DirectColorModel directcolormodel = new DirectColorModel(32, 16711680, 65280, 255); - WritableRaster writableraster = Raster.createWritableRaster((directcolormodel.createCompatibleSampleModel((this.anInt6917), (this.anInt6920))), databufferint, null); - anImage9066 = new BufferedImage(directcolormodel, writableraster, false, new Hashtable()); - } -} diff --git a/client/src/Class348_Sub31_Sub2.java b/client/src/Class348_Sub31_Sub2.java deleted file mode 100644 index b1fcd08bf..000000000 --- a/client/src/Class348_Sub31_Sub2.java +++ /dev/null @@ -1,108 +0,0 @@ -/* Class348_Sub31_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; -import java.awt.image.ColorModel; -import java.awt.image.DirectColorModel; -import java.awt.image.ImageConsumer; -import java.awt.image.ImageProducer; - -final class Class348_Sub31_Sub2 extends Class348_Sub31 implements ImageProducer { - static int anInt9068; - static int[] anIntArray9069 = new int[1]; - static int anInt9070; - static int anInt9071; - static int anInt9072; - private Canvas aCanvas9073; - static int anInt9074; - private Image anImage9075; - static int anInt9076; - static int anInt9077; - private ColorModel aColorModel9078; - static int anInt9079; - static int anInt9080; - static int anInt9081; - static Class357[][][] aClass357ArrayArrayArray9082; - private ImageConsumer anImageConsumer9083; - - private final synchronized void method3015(int i, int i_0_, int i_1_, int i_2_, int i_3_) { - anInt9068++; - if (anImageConsumer9083 != null) { - anImageConsumer9083.setPixels(i_1_, i_2_, i_3_, i, aColorModel9078, (this.anIntArray6916), i_2_ * (this.anInt6917) + i_1_, this.anInt6917); - anImageConsumer9083.imageComplete(2); - if (i_0_ != 25786) anIntArray9069 = null; - } - } - - public static void method3016(int i) { - if (i != 65280) method3016(-19); - anIntArray9069 = null; - aClass357ArrayArrayArray9082 = null; - } - - public final synchronized void removeConsumer(ImageConsumer imageconsumer) { - if (imageconsumer == anImageConsumer9083) anImageConsumer9083 = null; - anInt9081++; - } - - public final void startProduction(ImageConsumer imageconsumer) { - addConsumer(imageconsumer); - anInt9076++; - } - - private final synchronized void method3017(byte i) { - anInt9071++; - int i_4_ = -25 % ((i - -41) / 55); - if (anImageConsumer9083 != null) { - anImageConsumer9083.setPixels(0, 0, this.anInt6917, this.anInt6920, aColorModel9078, (this.anIntArray6916), 0, this.anInt6917); - anImageConsumer9083.imageComplete(2); - } - } - - public final synchronized void addConsumer(ImageConsumer imageconsumer) { - anInt9072++; - anImageConsumer9083 = imageconsumer; - imageconsumer.setDimensions(this.anInt6917, this.anInt6920); - imageconsumer.setProperties(null); - imageconsumer.setColorModel(aColorModel9078); - imageconsumer.setHints(14); - } - - public final synchronized boolean isConsumer(ImageConsumer imageconsumer) { - anInt9080++; - return anImageConsumer9083 == imageconsumer; - } - - final void method3011(int i, int i_5_, int i_6_, Graphics graphics, int i_7_, int i_8_, int i_9_, int i_10_) { - if (i_7_ != -1) method3011(-26, 63, -8, null, 101, 114, -111, 37); - anInt9074++; - method3015(i_6_, 25786, i_5_, i_10_, i_9_); - Shape shape = graphics.getClip(); - graphics.clipRect(i_8_, i, i_9_, i_6_); - graphics.drawImage(anImage9075, i_8_ - i_5_, -i_10_ + i, aCanvas9073); - graphics.setClip(shape); - } - - final void method3008(Canvas canvas, int i, int i_11_, int i_12_) { - this.anInt6920 = i_12_; - anInt9079++; - this.anInt6917 = i; - aCanvas9073 = canvas; - this.anIntArray6916 = new int[(this.anInt6917 * this.anInt6920)]; - aColorModel9078 = new DirectColorModel(32, 16711680, 65280, 255); - if (i_11_ <= -42) { - anImage9075 = aCanvas9073.createImage(this); - method3017((byte) -117); - aCanvas9073.prepareImage(anImage9075, aCanvas9073); - method3017((byte) 86); - aCanvas9073.prepareImage(anImage9075, aCanvas9073); - method3017((byte) 51); - aCanvas9073.prepareImage(anImage9075, aCanvas9073); - } - } - - public final void requestTopDownLeftRightResend(ImageConsumer imageconsumer) { - anInt9070++; - } -} diff --git a/client/src/Class348_Sub32.java b/client/src/Class348_Sub32.java deleted file mode 100644 index 68621e716..000000000 --- a/client/src/Class348_Sub32.java +++ /dev/null @@ -1,304 +0,0 @@ -/* Class348_Sub32 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub32 extends Class348 { - private final Class123 aClass123_6927; - private float[][] aFloatArrayArray6928; - private final s_Sub2 aS_Sub2_6929; - static int anInt6930 = 0; - static int anInt6931; - private Class356 aClass356_6932; - static int anInt6933; - private int anInt6934; - private final int anInt6935; - private Class348_Sub49 aClass348_Sub49_6936; - private final Class348_Sub1 aClass348_Sub1_6937; - static int anInt6938; - static int anInt6939; - private int anInt6940; - static int anInt6941; - private int anInt6942; - private final Class123 aClass123_6943; - private final int anInt6944; - private final Interface8 anInterface8_6945; - static Thread aThread6946; - private float[][] aFloatArrayArray6947; - private final int anInt6948; - private float[][] aFloatArrayArray6949; - static Class45 aClass45_6950; - private final ha_Sub2 aHa_Sub2_6951; - private final Interface2 anInterface2_6952; - private Class348_Sub49_Sub1 aClass348_Sub49_Sub1_6953; - - static final void method3018(int i) { - Class348_Sub18.anInt6818 = i; - } - - private final void method3019(int i, int i_0_, int i_1_, int i_2_, int i_3_, byte i_4_, int i_5_) { - anInt6933++; - long l = -1L; - int i_6_ = i_3_ - -(i_2_ << aS_Sub2_6929.anInt4588); - int i_7_ = i + (i_5_ << aS_Sub2_6929.anInt4588); - int i_8_ = aS_Sub2_6929.method3986(i_6_, i_7_, (byte) -17); - if ((i_3_ & 0x7f) == 0 || (i & 0x7f) == 0) { - l = ((long) i_7_ << 16 & 65535L << 16 | 0xffffL & (long) i_6_); - Class348 class348 = aClass356_6932.method3480(l, -6008); - if (class348 != null) { - method3022((byte) -46, (((Class348_Sub29) class348).aShort6911)); - return; - } - } - short i_9_ = (short) anInt6940++; - if (l != -1L) aClass356_6932.method3483((byte) 107, l, new Class348_Sub29(i_9_)); - float f; - float f_10_; - float f_11_; - if (i_3_ != 0 || i != 0) { - if (aS_Sub2_6929.anInt4592 == i_3_ && i == 0) { - f_10_ = aFloatArrayArray6928[1 + i_0_][i_1_]; - f_11_ = aFloatArrayArray6947[1 + i_0_][i_1_]; - f = aFloatArrayArray6949[1 + i_0_][i_1_]; - } else if (i_3_ != aS_Sub2_6929.anInt4592 || aS_Sub2_6929.anInt4592 != i) { - if (i_3_ != 0 || aS_Sub2_6929.anInt4592 != i) { - float f_12_ = (float) i_3_ / (float) aS_Sub2_6929.anInt4592; - float f_13_ = (float) i / (float) aS_Sub2_6929.anInt4592; - float f_14_ = aFloatArrayArray6949[i_0_][i_1_]; - float f_15_ = aFloatArrayArray6947[i_0_][i_1_]; - float f_16_ = aFloatArrayArray6928[i_0_][i_1_]; - float f_17_ = aFloatArrayArray6949[1 + i_0_][i_1_]; - float f_18_ = aFloatArrayArray6947[i_0_ + 1][i_1_]; - f_18_ += (aFloatArrayArray6947[1 + i_0_][1 + i_1_] - f_18_) * f_12_; - f_17_ += f_12_ * (aFloatArrayArray6949[1 + i_0_][i_1_ - -1] - f_17_); - f_16_ += ((aFloatArrayArray6928[i_0_][i_1_ - -1] - f_16_) * f_12_); - float f_19_ = aFloatArrayArray6928[i_0_ + 1][i_1_]; - f_15_ += f_12_ * (aFloatArrayArray6947[i_0_][1 + i_1_] - f_15_); - f_14_ += f_12_ * (-f_14_ + aFloatArrayArray6949[i_0_][i_1_ + 1]); - f = f_14_ + (f_17_ - f_14_) * f_13_; - f_11_ = f_15_ + f_13_ * (-f_15_ + f_18_); - f_19_ += f_12_ * (-f_19_ + (aFloatArrayArray6928[i_0_ - -1][i_1_ + 1])); - f_10_ = f_16_ + f_13_ * (f_19_ - f_16_); - } else { - f = aFloatArrayArray6949[i_0_][1 + i_1_]; - f_10_ = aFloatArrayArray6928[i_0_][i_1_ - -1]; - f_11_ = aFloatArrayArray6947[i_0_][1 + i_1_]; - } - } else { - f = aFloatArrayArray6949[1 + i_0_][1 + i_1_]; - f_10_ = aFloatArrayArray6928[1 + i_0_][1 + i_1_]; - f_11_ = aFloatArrayArray6947[i_0_ + 1][1 + i_1_]; - } - } else { - f = aFloatArrayArray6949[i_0_][i_1_]; - f_10_ = aFloatArrayArray6928[i_0_][i_1_]; - f_11_ = aFloatArrayArray6947[i_0_][i_1_]; - } - float f_20_ = (float) (aClass348_Sub1_6937.method2724(-1) + -i_6_); - float f_21_ = (float) (aClass348_Sub1_6937.method2722(120) + -i_8_); - float f_22_ = (float) (aClass348_Sub1_6937.method2717((byte) 107) + -i_7_); - float f_23_ = (float) Math.sqrt(f_21_ * f_21_ + f_20_ * f_20_ + f_22_ * f_22_); - float f_24_ = 1.0F / f_23_; - f_22_ *= f_24_; - f_20_ *= f_24_; - f_21_ *= f_24_; - float f_25_ = f_23_ / (float) aClass348_Sub1_6937.method2723(-1); - float f_26_ = -(f_25_ * f_25_) + 1.0F; - if (f_26_ < 0.0F) f_26_ = 0.0F; - float f_27_ = f_22_ * f_10_ + (f_21_ * f_11_ + f * f_20_); - if (f_27_ < 0.0F) f_27_ = 0.0F; - float f_28_ = 2.0F * (f_26_ * f_27_); - if (f_28_ > 1.0F) f_28_ = 1.0F; - int i_29_ = -108 % ((42 - i_4_) / 50); - int i_30_ = aClass348_Sub1_6937.method2720(-1); - int i_31_ = (int) ((float) ((i_30_ & 0xff081b) >> 16) * f_28_); - if (i_31_ > 255) i_31_ = 255; - int i_32_ = (int) ((float) (0xff & i_30_ >> 8) * f_28_); - if (i_32_ > 255) i_32_ = 255; - int i_33_ = (int) (f_28_ * (float) (0xff & i_30_)); - if (aHa_Sub2_6951.aBoolean7775) { - aClass348_Sub49_Sub1_6953.method3400((float) i_6_, (byte) -122); - aClass348_Sub49_Sub1_6953.method3400((float) i_8_, (byte) -115); - aClass348_Sub49_Sub1_6953.method3400((float) i_7_, (byte) -94); - } else { - aClass348_Sub49_Sub1_6953.method3399(18291, (float) i_6_); - aClass348_Sub49_Sub1_6953.method3399(18291, (float) i_8_); - aClass348_Sub49_Sub1_6953.method3399(18291, (float) i_7_); - } - if (i_33_ > 255) i_33_ = 255; - aClass348_Sub49_Sub1_6953.writeByte(false, i_31_); - aClass348_Sub49_Sub1_6953.writeByte(false, i_32_); - aClass348_Sub49_Sub1_6953.writeByte(false, i_33_); - aClass348_Sub49_Sub1_6953.writeByte(false, 255); - method3022((byte) -46, i_9_); - } - - public static void method3020(byte i) { - if (i == -64) { - aClass45_6950 = null; - aThread6946 = null; - } - } - - static final int method3021(byte i, Class229 class229) { - anInt6931++; - if (class229 != Class328_Sub3.aClass229_6519) { - if (Class167.aClass229_2207 == class229) return 8448; - if (class229 == Class248.aClass229_3196) return 34165; - if (Class348_Sub23_Sub2.aClass229_9011 == class229) return 260; - if (class229 == Class348_Sub7.aClass229_6644) return 34023; - } else return 7681; - if (i != 32) method3021((byte) -21, null); - throw new IllegalArgumentException(); - } - - private final void method3022(byte i, short i_34_) { - anInt6939++; - if (i == -46) { - if (!aHa_Sub2_6951.aBoolean7775) aClass348_Sub49_6936.method3397(i + 135, i_34_); - else aClass348_Sub49_6936.writeShort((byte) 107, i_34_); - } - } - - final void method3023(boolean[][] bools, int i, int i_35_, int i_36_, int i_37_) { - anInt6941++; - if (anInterface8_6945 != null && i_37_ + i_35_ >= anInt6935 && anInt6942 >= i_35_ + -i_37_ && i_36_ + i_37_ >= anInt6948 && i_36_ + -i_37_ <= anInt6944) { - for (int i_38_ = anInt6948; i_38_ <= anInt6944; i_38_++) { - for (int i_39_ = anInt6935; anInt6942 >= i_39_; i_39_++) { - int i_40_ = i_39_ - i_35_; - int i_41_ = -i_36_ + i_38_; - if (i_40_ > -i_37_ && i_37_ > i_40_ && i_41_ > -i_37_ && i_37_ > i_41_ && bools[i_40_ + i_37_][i_37_ + i_41_]) { - aHa_Sub2_6951.method3808(((int) (255.0F * aClass348_Sub1_6937.method2721(-66)) << 24), i + -136); - aHa_Sub2_6951.method3794(aClass123_6927, aClass123_6943, i + -26666, null, null); - aHa_Sub2_6951.method3759(anInt6934, -128, 4, anInterface8_6945, 0); - return; - } - } - } - if (i != 255) anInt6942 = 3; - } - } - - Class348_Sub32(ha_Sub2 var_ha_Sub2, s_Sub2 var_s_Sub2, Class348_Sub1 class348_sub1, int[] is) { - try { - aS_Sub2_6929 = var_s_Sub2; - aHa_Sub2_6951 = var_ha_Sub2; - aClass348_Sub1_6937 = class348_sub1; - int i = (aClass348_Sub1_6937.method2723(-1) + -(var_s_Sub2.anInt4592 >> 1)); - anInt6935 = (aClass348_Sub1_6937.method2724(-1) + -i >> var_s_Sub2.anInt4588); - anInt6942 = (aClass348_Sub1_6937.method2724(-1) - -i >> var_s_Sub2.anInt4588); - anInt6948 = (-i + aClass348_Sub1_6937.method2717((byte) 85) >> var_s_Sub2.anInt4588); - anInt6944 = (aClass348_Sub1_6937.method2717((byte) 99) + i >> var_s_Sub2.anInt4588); - int i_42_ = anInt6942 + -anInt6935 - -1; - int i_43_ = 1 + -anInt6948 + anInt6944; - aFloatArrayArray6928 = new float[i_42_ - -1][i_43_ + 1]; - aFloatArrayArray6949 = new float[i_42_ + 1][1 + i_43_]; - aFloatArrayArray6947 = new float[i_42_ - -1][1 + i_43_]; - for (int i_44_ = 0; i_43_ >= i_44_; i_44_++) { - int i_45_ = i_44_ - -anInt6948; - if (i_45_ > 0 && i_45_ < -1 + aS_Sub2_6929.anInt4590) { - for (int i_46_ = 0; i_42_ >= i_46_; i_46_++) { - int i_47_ = i_46_ - -anInt6935; - if (i_47_ > 0 && i_47_ < aS_Sub2_6929.anInt4587 + -1) { - int i_48_ = (var_s_Sub2.method3982((byte) -86, i_45_, i_47_ + 1) - var_s_Sub2.method3982((byte) -86, i_45_, i_47_ + -1)); - int i_49_ = (var_s_Sub2.method3982((byte) -86, 1 + i_45_, i_47_) - var_s_Sub2.method3982((byte) -86, -1 + i_45_, i_47_)); - float f = (float) (1.0 / (Math.sqrt(i_48_ * i_48_ + (65536 - -(i_49_ * i_49_))))); - aFloatArrayArray6949[i_46_][i_44_] = (float) i_48_ * f; - aFloatArrayArray6947[i_46_][i_44_] = -256.0F * f; - aFloatArrayArray6928[i_46_][i_44_] = f * (float) i_49_; - } - } - } - } - int i_50_ = 0; - for (int i_51_ = anInt6948; i_51_ <= anInt6944; i_51_++) { - if (i_51_ >= 0 && i_51_ < var_s_Sub2.anInt4590) { - for (int i_52_ = anInt6935; i_52_ <= anInt6942; i_52_++) { - if (i_52_ >= 0 && (i_52_ < var_s_Sub2.anInt4587)) { - int i_53_ = is[i_50_]; - int[] is_54_ = (var_s_Sub2.anIntArrayArrayArray8253[i_52_][i_51_]); - if (is_54_ != null && i_53_ != 0) { - if (i_53_ == 1) { - int i_55_ = 0; - while (i_55_ < is_54_.length) { - if (is_54_[i_55_++] != -1 && is_54_[i_55_++] != -1 && (is_54_[i_55_++] != -1)) anInt6934 += 3; - } - } else anInt6934 += 3; - } - } - i_50_++; - } - } else i_50_ += anInt6942 - anInt6935; - } - if (anInt6934 > 0) { - aClass348_Sub49_6936 = new Class348_Sub49(anInt6934 * 2); - aClass348_Sub49_Sub1_6953 = new Class348_Sub49_Sub1(anInt6934 * 16); - aClass356_6932 = new Class356(Class33.method340(anInt6934, (byte) 108)); - int i_56_ = 0; - i_50_ = 0; - for (int i_57_ = anInt6948; anInt6944 >= i_57_; i_57_++) { - if (i_57_ >= 0 && var_s_Sub2.anInt4590 > i_57_) { - int i_58_ = 0; - for (int i_59_ = anInt6935; i_59_ <= anInt6942; i_59_++) { - if (i_59_ >= 0 && (i_59_ < var_s_Sub2.anInt4587)) { - int i_60_ = is[i_50_]; - int[] is_61_ = (var_s_Sub2.anIntArrayArrayArray8253[i_59_][i_57_]); - if (is_61_ != null && i_60_ != 0) { - if (i_60_ == 1) { - int[] is_62_ = (var_s_Sub2.anIntArrayArrayArray8268[i_59_][i_57_]); - int[] is_63_ = (var_s_Sub2.anIntArrayArrayArray8234[i_59_][i_57_]); - int i_64_ = 0; - while (i_64_ < is_61_.length) { - if ((is_61_[i_64_] == -1) || is_61_[1 + i_64_] == -1 || is_61_[2 + i_64_] == -1) i_64_ += 3; - else { - method3019(is_63_[i_64_], i_58_, i_56_, i_59_, is_62_[i_64_], (byte) -94, i_57_); - i_64_++; - method3019(is_63_[i_64_], i_58_, i_56_, i_59_, is_62_[i_64_], (byte) 97, i_57_); - i_64_++; - method3019(is_63_[i_64_], i_58_, i_56_, i_59_, is_62_[i_64_], (byte) 104, i_57_); - i_64_++; - } - } - } else if (i_60_ == 3) { - method3019(0, i_58_, i_56_, i_59_, 0, (byte) -40, i_57_); - method3019(0, i_58_, i_56_, i_59_, (var_s_Sub2.anInt4592), (byte) 111, i_57_); - method3019((var_s_Sub2.anInt4592), i_58_, i_56_, i_59_, 0, (byte) -29, i_57_); - } else if (i_60_ == 2) { - method3019(0, i_58_, i_56_, i_59_, (var_s_Sub2.anInt4592), (byte) 119, i_57_); - method3019((var_s_Sub2.anInt4592), i_58_, i_56_, i_59_, (var_s_Sub2.anInt4592), (byte) -90, i_57_); - method3019(0, i_58_, i_56_, i_59_, 0, (byte) -119, i_57_); - } else if (i_60_ == 5) { - method3019((var_s_Sub2.anInt4592), i_58_, i_56_, i_59_, (var_s_Sub2.anInt4592), (byte) 111, i_57_); - method3019((var_s_Sub2.anInt4592), i_58_, i_56_, i_59_, 0, (byte) -83, i_57_); - method3019(0, i_58_, i_56_, i_59_, (var_s_Sub2.anInt4592), (byte) 125, i_57_); - } else if (i_60_ == 4) { - method3019((var_s_Sub2.anInt4592), i_58_, i_56_, i_59_, 0, (byte) -70, i_57_); - method3019(0, i_58_, i_56_, i_59_, 0, (byte) 96, i_57_); - method3019((var_s_Sub2.anInt4592), i_58_, i_56_, i_59_, (var_s_Sub2.anInt4592), (byte) 112, i_57_); - } - } - } - i_58_++; - i_50_++; - } - } else i_50_ += anInt6942 - anInt6935; - i_56_++; - } - anInterface8_6945 = (aHa_Sub2_6951.method3733(5123, -49, aClass348_Sub49_6936.anInt7197, aClass348_Sub49_6936.aByteArray7154, false)); - anInterface2_6952 = aHa_Sub2_6951.method3731(2, false, 16, (aClass348_Sub49_Sub1_6953.aByteArray7154), (aClass348_Sub49_Sub1_6953.anInt7197)); - aClass123_6927 = new Class123(anInterface2_6952, 5126, 3, 0); - aClass123_6943 = new Class123(anInterface2_6952, 5121, 4, 12); - } else { - anInterface2_6952 = null; - anInterface8_6945 = null; - aClass123_6927 = null; - aClass123_6943 = null; - } - aClass348_Sub49_Sub1_6953 = null; - aFloatArrayArray6949 = aFloatArrayArray6947 = aFloatArrayArray6928 = null; - aClass348_Sub49_6936 = null; - aClass356_6932 = null; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qw.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + (var_s_Sub2 != null ? "{...}" : "null") + ',' + (class348_sub1 != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class348_Sub33.java b/client/src/Class348_Sub33.java deleted file mode 100644 index b09a8cdbb..000000000 --- a/client/src/Class348_Sub33.java +++ /dev/null @@ -1,154 +0,0 @@ -/* Class348_Sub33 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.ByteArrayInputStream; -import java.io.ObjectInputStream; -import java.lang.reflect.Field; -import java.lang.reflect.Method; - -final class Class348_Sub33 extends Class348 { - boolean[] aBooleanArray6954; - static Class152 aClass152_6955 = new Class152(); - static int anInt6956; - int[] anIntArray6957; - int anInt6958; - int[][] anIntArrayArray6959; - int[] anIntArray6960; - static int anInt6961; - static byte[][][] aByteArrayArrayArray6962; - static long aLong6963 = 0L; - static int anInt6964; - int anInt6965; - static long aLong6966; - static int anInt6967 = 0; - - public static void method3024(int i) { - aClass152_6955 = null; - if (i >= -74) anInt6967 = 12; - aByteArrayArrayArray6962 = null; - } - - static final void method3025(byte i, Class348_Sub49_Sub2 class348_sub49_sub2) { - anInt6961++; - Class348_Sub48 class348_sub48 = (Class348_Sub48) Class348_Sub35.aClass262_6978.method1995(4); - if (class348_sub48 != null) { - boolean bool = false; - for (int i_0_ = 0; i_0_ < class348_sub48.anInt7126; i_0_++) { - if (class348_sub48.aClass144Array7135[i_0_] != null) { - if ((class348_sub48.aClass144Array7135[i_0_].anInt1997) == 2) class348_sub48.anIntArray7131[i_0_] = -5; - if ((class348_sub48.aClass144Array7135[i_0_].anInt1997) == 0) bool = true; - } - if (class348_sub48.aClass144Array7127[i_0_] != null) { - if ((class348_sub48.aClass144Array7127[i_0_].anInt1997) == 2) class348_sub48.anIntArray7131[i_0_] = -6; - if ((class348_sub48.aClass144Array7127[i_0_].anInt1997) == 0) bool = true; - } - } - if (i < 37) aLong6966 = -3L; - if (!bool) { - int i_1_ = class348_sub49_sub2.anInt7197; - class348_sub49_sub2.writeInt((byte) 94, class348_sub48.anInt7130); - for (int i_2_ = 0; (i_2_ < class348_sub48.anInt7126); i_2_++) { - if (class348_sub48.anIntArray7131[i_2_] == 0) { - try { - int i_3_ = (class348_sub48.anIntArray7132[i_2_]); - if (i_3_ == 0) { - Field field = ((Field) (class348_sub48.aClass144Array7135[i_2_].anObject1998)); - int i_5_ = field.getInt(null); - class348_sub49_sub2.writeByte(false, 0); - class348_sub49_sub2.writeInt((byte) 108, i_5_); - } else if (i_3_ == 1) { - Field field = ((Field) (class348_sub48.aClass144Array7135[i_2_].anObject1998)); - field.setInt(null, (class348_sub48.anIntArray7136[i_2_])); - class348_sub49_sub2.writeByte(false, 0); - } else if (i_3_ == 2) { - Field field = ((Field) (class348_sub48.aClass144Array7135[i_2_].anObject1998)); - int i_4_ = field.getModifiers(); - class348_sub49_sub2.writeByte(false, 0); - class348_sub49_sub2.writeInt((byte) 122, i_4_); - } - if (i_3_ == 3) { - Method method = ((Method) (class348_sub48.aClass144Array7127[i_2_].anObject1998)); - byte[][] is = (class348_sub48.aByteArrayArrayArray7128[i_2_]); - Object[] objects = new Object[is.length]; - for (int i_6_ = 0; is.length > i_6_; i_6_++) { - ObjectInputStream objectinputstream = (new ObjectInputStream(new ByteArrayInputStream(is[i_6_]))); - objects[i_6_] = objectinputstream.readObject(); - } - Object object = method.invoke(null, objects); - if (object != null) { - if (object instanceof Number) { - class348_sub49_sub2.writeByte(false, 1); - class348_sub49_sub2.writeLong(((Number) object).longValue(), (byte) -81); - } else if (object instanceof String) { - class348_sub49_sub2.writeByte(false, 2); - class348_sub49_sub2.writeString((byte) -5, (String) object); - } else class348_sub49_sub2.writeByte(false, 4); - } else class348_sub49_sub2.writeByte(false, 0); - } else if (i_3_ == 4) { - Method method = ((Method) (class348_sub48.aClass144Array7127[i_2_].anObject1998)); - int i_7_ = method.getModifiers(); - class348_sub49_sub2.writeByte(false, 0); - class348_sub49_sub2.writeInt((byte) 95, i_7_); - } - } catch (ClassNotFoundException classnotfoundexception) { - class348_sub49_sub2.writeByte(false, -10); - } catch (java.io.InvalidClassException invalidclassexception) { - class348_sub49_sub2.writeByte(false, -11); - } catch (java.io.StreamCorruptedException streamcorruptedexception) { - class348_sub49_sub2.writeByte(false, -12); - } catch (java.io.OptionalDataException optionaldataexception) { - class348_sub49_sub2.writeByte(false, -13); - } catch (IllegalAccessException illegalaccessexception) { - class348_sub49_sub2.writeByte(false, -14); - } catch (IllegalArgumentException illegalargumentexception) { - class348_sub49_sub2.writeByte(false, -15); - } catch (java.lang.reflect.InvocationTargetException invocationtargetexception) { - class348_sub49_sub2.writeByte(false, -16); - } catch (SecurityException securityexception) { - class348_sub49_sub2.writeByte(false, -17); - } catch (java.io.IOException ioexception) { - class348_sub49_sub2.writeByte(false, -18); - } catch (NullPointerException nullpointerexception) { - class348_sub49_sub2.writeByte(false, -19); - } catch (Exception exception) { - class348_sub49_sub2.writeByte(false, -20); - } catch (Throwable throwable) { - class348_sub49_sub2.writeByte(false, -21); - } - } else class348_sub49_sub2.writeByte(false, (class348_sub48.anIntArray7131[i_2_])); - } - class348_sub49_sub2.method3344(i_1_, false); - class348_sub48.method2715((byte) 46); - } - } - } - - Class348_Sub33(int i, byte[] is) { - this.anInt6958 = i; - Class348_Sub49 class348_sub49 = new Class348_Sub49(is); - this.anInt6965 = class348_sub49.readUnsignedByte(255); - this.anIntArrayArray6959 = new int[this.anInt6965][]; - this.anIntArray6957 = new int[this.anInt6965]; - this.anIntArray6960 = new int[this.anInt6965]; - this.aBooleanArray6954 = new boolean[this.anInt6965]; - for (int i_8_ = 0; (i_8_ < this.anInt6965); i_8_++) { - this.anIntArray6957[i_8_] = class348_sub49.readUnsignedByte(255); - if (this.anIntArray6957[i_8_] == 6) this.anIntArray6957[i_8_] = 2; - } - for (int i_9_ = 0; (i_9_ < this.anInt6965); i_9_++) - this.aBooleanArray6954[i_9_] = class348_sub49.readUnsignedByte(255) == 1; - for (int i_10_ = 0; (i_10_ < this.anInt6965); i_10_++) - this.anIntArray6960[i_10_] = class348_sub49.readUnsignedShort(842397944); - for (int i_11_ = 0; (this.anInt6965 > i_11_); i_11_++) - this.anIntArrayArray6959[i_11_] = new int[class348_sub49.readUnsignedByte(255)]; - for (int i_12_ = 0; i_12_ < this.anInt6965; i_12_++) { - for (int i_13_ = 0; (i_13_ < this.anIntArrayArray6959[i_12_].length); i_13_++) - this.anIntArrayArray6959[i_12_][i_13_] = class348_sub49.readUnsignedByte(255); - } - } - - static { - aLong6966 = 0L; - } -} diff --git a/client/src/Class348_Sub34.java b/client/src/Class348_Sub34.java deleted file mode 100644 index 4c9f949d6..000000000 --- a/client/src/Class348_Sub34.java +++ /dev/null @@ -1,30 +0,0 @@ -/* Class348_Sub34 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub34 extends Class348 { - static ha aHa6968; - static int anInt6969; - static Class351 aClass351_6970; - int anInt6971; - static int[] anIntArray6972 = {0, 1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 8191, 16383, 32767, 65535, 131071, 262143, 524287, 1048575, 2097151, 4194303, 8388607, 16777215, 33554431, 67108863, 134217727, 268435455, 536870911, 1073741823, 2147483647, -1}; - int anInt6973; - static int anInt6974; - - public static void method3026(boolean bool) { - anIntArray6972 = null; - if (bool != true) method3026(false); - aClass351_6970 = null; - aHa6968 = null; - } - - Class348_Sub34(int i, int i_0_) { - this.anInt6973 = i; - this.anInt6971 = i_0_; - } - - static { - anInt6969 = 0; - aClass351_6970 = new Class351(70, 0); - } -} diff --git a/client/src/Class348_Sub35.java b/client/src/Class348_Sub35.java deleted file mode 100644 index a7753cb02..000000000 --- a/client/src/Class348_Sub35.java +++ /dev/null @@ -1,42 +0,0 @@ -/* Class348_Sub35 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub35 extends Class348 { - static int anInt6975; - int anInt6976; - static Class74 aClass74_6977 = new Class74(8, 3); - static Class262 aClass262_6978; - static int anInt6979 = 0; - static Class45 aClass45_6980; - static int anInt6981; - - static final void method3027(byte i) { - anInt6975++; - if (Class316.aClass348_Sub51_3959.aClass239_Sub27_7261.method1840(-32350) == 0 && Class355.anInt4372 != Class167.anInt2204) Class348_Sub41.method3157(Class327.anInt4095, (byte) 123, ha.anInt4581, 11, false); - else { - Class348_Sub46.method3319(Class348_Sub8.aHa6654, (byte) -121); - if (i != 33) method3028(-79); - if (Class318_Sub1_Sub3_Sub5.anInt10395 != Class355.anInt4372) Class348_Sub40_Sub9.method3072((byte) -96); - } - } - - public static void method3028(int i) { - if (i != -11677) method3027((byte) -80); - aClass74_6977 = null; - aClass45_6980 = null; - aClass262_6978 = null; - } - - public Class348_Sub35() { - /* empty */ - } - - Class348_Sub35(int i) { - this.anInt6976 = i; - } - - static { - aClass262_6978 = new Class262(); - } -} diff --git a/client/src/Class348_Sub36.java b/client/src/Class348_Sub36.java deleted file mode 100644 index 355ac2618..000000000 --- a/client/src/Class348_Sub36.java +++ /dev/null @@ -1,33 +0,0 @@ -/* Class348_Sub36 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub36 extends Class348 { - int anInt6982; - Class46 aClass46_6983; - int anInt6984; - static int anInt6985; - int anInt6986; - Object[] anObjectArray6987; - int anInt6988; - Class46 aClass46_6989; - static Class46 aClass46_6990 = null; - int anInt6991; - static int anInt6992; - boolean aBoolean6993; - String aString6994; - int anInt6995; - - public static void method3029(int i) { - aClass46_6990 = null; - int i_0_ = 28 % ((i - -45) / 39); - } - - public Class348_Sub36() { - /* empty */ - } - - static { - anInt6985 = 999999; - } -} diff --git a/client/src/Class348_Sub37.java b/client/src/Class348_Sub37.java deleted file mode 100644 index ae9e05ed3..000000000 --- a/client/src/Class348_Sub37.java +++ /dev/null @@ -1,50 +0,0 @@ -/* Class348_Sub37 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub37 extends Class348 { - static int anInt6996; - static boolean aBoolean6997 = false; - Class262 aClass262_6998 = new Class262(); - static int anInt6999; - - static final void method3030(int i, ha_Sub2 var_ha_Sub2) { - anInt6999++; - if (Class337.anObject4177 == null) { - Class59_Sub1_Sub2 class59_sub1_sub2 = new Class59_Sub1_Sub2(); - byte[] is = class59_sub1_sub2.method562(128, 128, (byte) 121, 16); - Class337.anObject4177 = Class179.method1357(is, false, (byte) 81); - } - if (Class319.anObject3985 == null) { - Class59_Sub2_Sub1 class59_sub2_sub1 = new Class59_Sub2_Sub1(); - byte[] is = class59_sub2_sub1.method567(128, (byte) 111, 16, 128); - Class319.anObject3985 = Class179.method1357(is, false, (byte) 103); - } - if (i != 8) method3031(-39, null); - Class188 class188 = var_ha_Sub2.aClass188_7736; - if (class188.method1414(35632) && Class369_Sub2.anObject8592 == null) { - byte[] is = Class5_Sub2.method194(128, -1922, 8, 0.6F, 128, 4.0F, 4.0F, 0.5F, 16.0F, new Class186_Sub1(419684), 16); - Class369_Sub2.anObject8592 = Class179.method1357(is, false, (byte) 78); - } - } - - static final Class348_Sub40 method3031(int i, Class348_Sub49 class348_sub49) { - anInt6996++; - class348_sub49.readUnsignedByte(255); - int i_0_ = class348_sub49.readUnsignedByte(255); - Class348_Sub40 class348_sub40 = Class59_Sub1_Sub1.method557(i_0_, (byte) -84); - class348_sub40.anInt7036 = class348_sub49.readUnsignedByte(255); - int i_1_ = class348_sub49.readUnsignedByte(255); - if (i < 123) return null; - for (int i_2_ = 0; i_1_ > i_2_; i_2_++) { - int i_3_ = class348_sub49.readUnsignedByte(255); - class348_sub40.method3049(class348_sub49, i_3_, 31015); - } - class348_sub40.method3044(120); - return class348_sub40; - } - - public Class348_Sub37() { - /* empty */ - } -} diff --git a/client/src/Class348_Sub38.java b/client/src/Class348_Sub38.java deleted file mode 100644 index 3c8504a1c..000000000 --- a/client/src/Class348_Sub38.java +++ /dev/null @@ -1,303 +0,0 @@ -/* Class348_Sub38 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaclib.memory.Buffer; -import jaclib.memory.Stream; - -final class Class348_Sub38 extends Class348 { - static int anInt7000; - private float[][] aFloatArrayArray7001; - private final Interface5_Impl2 anInterface5_Impl2_7002; - static int anInt7003; - private final Class348_Sub1 aClass348_Sub1_7004; - private float[][] aFloatArrayArray7005; - static int anInt7006 = 0; - private final ha_Sub3 aHa_Sub3_7007; - static int anInt7008 = 0; - static int anInt7009; - private final int anInt7010; - private Class356 aClass356_7011; - static int anInt7012; - private int anInt7013; - private final int anInt7014; - static Class114 aClass114_7015 = new Class114(33, 3); - private float[][] aFloatArrayArray7016; - private final int anInt7017; - private int anInt7018; - private final s_Sub3 aS_Sub3_7019; - private final Interface5_Impl1 anInterface5_Impl1_7020; - private Stream aStream7021; - private Stream aStream7022; - private final int anInt7023; - - final void method3032(int i, int i_0_, boolean[][] bools, boolean bool, int i_1_) { - anInt7012++; - if (anInterface5_Impl2_7002 != null) { - if (bool != false) method3032(-50, -122, null, true, 25); - if (anInt7023 <= i_0_ + i_1_ && -i_0_ + i_1_ <= anInt7017 && anInt7014 <= i - -i_0_ && -i_0_ + i <= anInt7010) { - for (int i_2_ = anInt7014; anInt7010 >= i_2_; i_2_++) { - for (int i_3_ = anInt7023; anInt7017 >= i_3_; i_3_++) { - int i_4_ = -i_1_ + i_3_; - int i_5_ = -i + i_2_; - if (-i_0_ < i_4_ && i_4_ < i_0_ && i_5_ > -i_0_ && i_0_ > i_5_ && bools[i_4_ - -i_0_][i_0_ + i_5_]) { - aHa_Sub3_7007.method3909((byte) (int) (255.0F * aClass348_Sub1_7004.method2721(-37)), -112); - aHa_Sub3_7007.method3925(-123, anInterface5_Impl1_7020, 0); - aHa_Sub3_7007.method3862(0, (aHa_Sub3_7007.aClass130_8202)); - aHa_Sub3_7007.method3938(Class247.aClass21_3181, anInt7018 / 3, anInterface5_Impl2_7002, 0, 0, anInt7013, 116); - return; - } - } - } - } - } - } - - private final void method3033(int i, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_) { - anInt7003++; - long l = -1L; - int i_12_ = i_10_ + (i_6_ << aS_Sub3_7019.anInt4588); - int i_13_ = i_8_ - -(i_9_ << aS_Sub3_7019.anInt4588); - int i_14_ = aS_Sub3_7019.method3986(i_12_, i_13_, (byte) -127); - if ((i_10_ & 0x7f) == 0 || (i_8_ & 0x7f) == 0) { - l = ((long) i_13_ & 0xffffL) << 16 | (long) i_12_ & 0xffffL; - Class348 class348 = aClass356_7011.method3480(l, i_7_ + 23335); - if (class348 != null) { - method3034((((Class348_Sub29) class348).aShort6911), (byte) 49); - return; - } - } - short i_15_ = (short) anInt7013++; - if (l != -1) aClass356_7011.method3483((byte) 101, l, new Class348_Sub29(i_15_)); - float f; - float f_16_; - float f_17_; - if (i_10_ == 0 && i_8_ == 0) { - f_16_ = aFloatArrayArray7016[i_11_][i]; - f_17_ = aFloatArrayArray7005[i_11_][i]; - f = aFloatArrayArray7001[i_11_][i]; - } else if (aS_Sub3_7019.anInt4592 != i_10_ || i_8_ != 0) { - if (aS_Sub3_7019.anInt4592 != i_10_ || (i_8_ != aS_Sub3_7019.anInt4592)) { - if (i_10_ == 0 && i_8_ == aS_Sub3_7019.anInt4592) { - f = aFloatArrayArray7001[i_11_][i + 1]; - f_16_ = aFloatArrayArray7016[i_11_][1 + i]; - f_17_ = aFloatArrayArray7005[i_11_][i - -1]; - } else { - float f_18_ = (float) i_10_ / (float) aS_Sub3_7019.anInt4592; - float f_19_ = (float) i_8_ / (float) aS_Sub3_7019.anInt4592; - float f_20_ = aFloatArrayArray7005[i_11_][i]; - float f_21_ = aFloatArrayArray7016[i_11_][i]; - float f_22_ = aFloatArrayArray7001[i_11_][i]; - float f_23_ = aFloatArrayArray7005[1 + i_11_][i]; - float f_24_ = aFloatArrayArray7016[i_11_ - -1][i]; - f_22_ += f_18_ * (aFloatArrayArray7001[i_11_][i - -1] - f_22_); - f_21_ += ((aFloatArrayArray7016[i_11_][1 + i] - f_21_) * f_18_); - f_24_ += f_18_ * (-f_24_ + aFloatArrayArray7016[i_11_ - -1][1 + i]); - float f_25_ = aFloatArrayArray7001[i_11_ + 1][i]; - f_20_ += ((aFloatArrayArray7005[i_11_][1 + i] - f_20_) * f_18_); - f_23_ += f_18_ * (aFloatArrayArray7005[i_11_ - -1][i - -1] - f_23_); - f_17_ = f_20_ + (f_23_ - f_20_) * f_19_; - f_16_ = (f_24_ - f_21_) * f_19_ + f_21_; - f_25_ += f_18_ * (aFloatArrayArray7001[1 + i_11_][i - -1] - f_25_); - f = f_22_ + (-f_22_ + f_25_) * f_19_; - } - } else { - f_17_ = aFloatArrayArray7005[1 + i_11_][i + 1]; - f = aFloatArrayArray7001[i_11_ - -1][1 + i]; - f_16_ = aFloatArrayArray7016[i_11_ + 1][1 + i]; - } - } else { - f_16_ = aFloatArrayArray7016[i_11_ + 1][i]; - f = aFloatArrayArray7001[1 + i_11_][i]; - f_17_ = aFloatArrayArray7005[i_11_ + 1][i]; - } - float f_26_ = (float) (-i_12_ + aClass348_Sub1_7004.method2724(-1)); - float f_27_ = (float) (aClass348_Sub1_7004.method2722(126) - i_14_); - float f_28_ = (float) (-i_13_ + aClass348_Sub1_7004.method2717((byte) 102)); - float f_29_ = (float) Math.sqrt(f_28_ * f_28_ + (f_26_ * f_26_ + f_27_ * f_27_)); - float f_30_ = 1.0F / f_29_; - f_26_ *= f_30_; - f_27_ *= f_30_; - f_28_ *= f_30_; - float f_31_ = f_29_ / (float) aClass348_Sub1_7004.method2723(-1); - if (i_7_ == -29343) { - float f_32_ = -(f_31_ * f_31_) + 1.0F; - if (f_32_ < 0.0F) f_32_ = 0.0F; - float f_33_ = f_28_ * f + (f_26_ * f_17_ + f_16_ * f_27_); - if (f_33_ < 0.0F) f_33_ = 0.0F; - float f_34_ = f_32_ * f_33_ * 2.0F; - if (f_34_ > 1.0F) f_34_ = 1.0F; - int i_35_ = aClass348_Sub1_7004.method2720(-1); - int i_36_ = (int) (f_34_ * (float) (0xff & i_35_ >> 16)); - if (i_36_ > 255) i_36_ = 255; - int i_37_ = (int) (f_34_ * (float) ((0xff76 & i_35_) >> 8)); - if (i_37_ > 255) i_37_ = 255; - int i_38_ = (int) ((float) (i_35_ & 0xff) * f_34_); - if (i_38_ > 255) i_38_ = 255; - if (Stream.c()) { - aStream7022.a((float) i_12_); - aStream7022.a((float) i_14_); - aStream7022.a((float) i_13_); - } else { - aStream7022.b((float) i_12_); - aStream7022.b((float) i_14_); - aStream7022.b((float) i_13_); - } - if (aHa_Sub3_7007.anInt8178 == 0) { - aStream7022.f(i_38_); - aStream7022.f(i_37_); - aStream7022.f(i_36_); - } else { - aStream7022.f(i_36_); - aStream7022.f(i_37_); - aStream7022.f(i_38_); - } - aStream7022.f(255); - method3034(i_15_, (byte) 49); - } - } - - private final void method3034(short i, byte i_39_) { - if (Stream.c()) aStream7021.d(i); - else aStream7021.a(i); - if (i_39_ == 49) anInt7000++; - } - - public static void method3035(int i) { - aClass114_7015 = null; - if (i != 1) method3035(-34); - } - - Class348_Sub38(ha_Sub3 var_ha_Sub3, s_Sub3 var_s_Sub3, Class348_Sub1 class348_sub1, int[] is) { - try { - aHa_Sub3_7007 = var_ha_Sub3; - aS_Sub3_7019 = var_s_Sub3; - aClass348_Sub1_7004 = class348_sub1; - int i = (aClass348_Sub1_7004.method2723(-1) + -(var_s_Sub3.anInt4592 >> 1)); - anInt7023 = (-i + aClass348_Sub1_7004.method2724(-1) >> var_s_Sub3.anInt4588); - anInt7017 = (aClass348_Sub1_7004.method2724(-1) + i >> var_s_Sub3.anInt4588); - anInt7014 = (-i + aClass348_Sub1_7004.method2717((byte) 124) >> var_s_Sub3.anInt4588); - anInt7010 = (aClass348_Sub1_7004.method2717((byte) 72) + i >> var_s_Sub3.anInt4588); - int i_40_ = anInt7017 - anInt7023 - -1; - int i_41_ = 1 + -anInt7014 + anInt7010; - aFloatArrayArray7005 = new float[1 + i_40_][i_41_ - -1]; - aFloatArrayArray7016 = new float[i_40_ + 1][i_41_ + 1]; - aFloatArrayArray7001 = new float[1 + i_40_][i_41_ - -1]; - for (int i_42_ = 0; i_42_ <= i_41_; i_42_++) { - int i_43_ = anInt7014 + i_42_; - if (i_43_ > 0 && (-1 + aS_Sub3_7019.anInt4590 > i_43_)) { - for (int i_44_ = 0; i_44_ <= i_40_; i_44_++) { - int i_45_ = anInt7023 + i_44_; - if (i_45_ > 0 && i_45_ < aS_Sub3_7019.anInt4587 + -1) { - int i_46_ = (var_s_Sub3.method3982((byte) -86, i_43_, i_45_ + 1) - var_s_Sub3.method3982((byte) -86, i_43_, i_45_ + -1)); - int i_47_ = (var_s_Sub3.method3982((byte) -86, 1 + i_43_, i_45_) + -var_s_Sub3.method3982((byte) -86, i_43_ + -1, i_45_)); - float f = (float) (1.0 / (Math.sqrt(i_47_ * i_47_ + (i_46_ * i_46_ - -65536)))); - aFloatArrayArray7005[i_44_][i_42_] = (float) i_46_ * f; - aFloatArrayArray7016[i_44_][i_42_] = -256.0F * f; - aFloatArrayArray7001[i_44_][i_42_] = (float) i_47_ * f; - } - } - } - } - int i_48_ = 0; - for (int i_49_ = anInt7014; anInt7010 >= i_49_; i_49_++) { - if (i_49_ >= 0 && var_s_Sub3.anInt4590 > i_49_) { - for (int i_50_ = anInt7023; anInt7017 >= i_50_; i_50_++) { - if (i_50_ >= 0 && var_s_Sub3.anInt4587 > i_50_) { - int i_51_ = is[i_48_]; - int[] is_52_ = (var_s_Sub3.anIntArrayArrayArray8296[i_50_][i_49_]); - if (is_52_ != null && i_51_ != 0) { - if (i_51_ == 1) { - int i_53_ = 0; - while (is_52_.length > i_53_) { - if (is_52_[i_53_++] != -1 && (is_52_[i_53_++] != -1) && is_52_[i_53_++] != -1) anInt7018 += 3; - } - } else anInt7018 += 3; - } - } - i_48_++; - } - } else i_48_ += -anInt7023 + anInt7017; - } - if (anInt7018 > 0) { - aClass356_7011 = new Class356(Class33.method340(anInt7018, (byte) 108)); - anInterface5_Impl2_7002 = aHa_Sub3_7007.method3840(-28633, false); - anInterface5_Impl2_7002.method23(15959, anInt7018); - jaclib.memory.heap.NativeHeapBuffer nativeheapbuffer = aHa_Sub3_7007.method3869((byte) 86, false, 16 * anInt7018); - aStream7022 = new Stream(nativeheapbuffer); - for (; ; ) { - Buffer buffer = anInterface5_Impl2_7002.method24(true, false); - if (buffer != null) { - aStream7021 = new Stream(buffer); - i_48_ = 0; - int i_54_ = 0; - for (int i_55_ = anInt7014; anInt7010 >= i_55_; i_55_++) { - if (i_55_ >= 0 && (i_55_ < var_s_Sub3.anInt4590)) { - int i_56_ = 0; - for (int i_57_ = anInt7023; anInt7017 >= i_57_; i_57_++) { - if (i_57_ >= 0 && (i_57_ < var_s_Sub3.anInt4587)) { - int i_58_ = is[i_48_]; - int[] is_59_ = (var_s_Sub3.anIntArrayArrayArray8296[i_57_][i_55_]); - if (is_59_ != null && i_58_ != 0) { - if (i_58_ == 1) { - int[] is_60_ = (var_s_Sub3.anIntArrayArrayArray8321[i_57_][i_55_]); - int[] is_61_ = (var_s_Sub3.anIntArrayArrayArray8313[i_57_][i_55_]); - int i_62_ = 0; - while (is_59_.length > i_62_) { - if (is_59_[i_62_] == -1 || is_59_[1 + i_62_] == -1 || is_59_[i_62_ + 2] == -1) i_62_ += 3; - else { - method3033(i_54_, i_57_, -29343, (is_61_[i_62_]), i_55_, (is_60_[i_62_]), i_56_); - i_62_++; - method3033(i_54_, i_57_, -29343, (is_61_[i_62_]), i_55_, (is_60_[i_62_]), i_56_); - i_62_++; - method3033(i_54_, i_57_, -29343, (is_61_[i_62_]), i_55_, (is_60_[i_62_]), i_56_); - i_62_++; - } - } - } else if (i_58_ == 3) { - method3033(i_54_, i_57_, -29343, 0, i_55_, 0, i_56_); - method3033(i_54_, i_57_, -29343, 0, i_55_, (var_s_Sub3.anInt4592), i_56_); - method3033(i_54_, i_57_, -29343, (var_s_Sub3.anInt4592), i_55_, 0, i_56_); - } else if (i_58_ == 2) { - method3033(i_54_, i_57_, -29343, 0, i_55_, (var_s_Sub3.anInt4592), i_56_); - method3033(i_54_, i_57_, -29343, (var_s_Sub3.anInt4592), i_55_, (var_s_Sub3.anInt4592), i_56_); - method3033(i_54_, i_57_, -29343, 0, i_55_, 0, i_56_); - } else if (i_58_ == 5) { - method3033(i_54_, i_57_, -29343, (var_s_Sub3.anInt4592), i_55_, (var_s_Sub3.anInt4592), i_56_); - method3033(i_54_, i_57_, -29343, (var_s_Sub3.anInt4592), i_55_, 0, i_56_); - method3033(i_54_, i_57_, -29343, 0, i_55_, (var_s_Sub3.anInt4592), i_56_); - } else if (i_58_ == 4) { - method3033(i_54_, i_57_, -29343, (var_s_Sub3.anInt4592), i_55_, 0, i_56_); - method3033(i_54_, i_57_, -29343, 0, i_55_, 0, i_56_); - method3033(i_54_, i_57_, -29343, (var_s_Sub3.anInt4592), i_55_, (var_s_Sub3.anInt4592), i_56_); - } - } - } - i_48_++; - i_56_++; - } - } else i_48_ += anInt7017 + -anInt7023; - i_54_++; - } - aStream7021.a(); - if (anInterface5_Impl2_7002.method22(-23)) break; - aStream7022.e(0); - aClass356_7011.method3481(0); - } - } - aStream7022.a(); - anInterface5_Impl1_7020 = aHa_Sub3_7007.method3889(false, 16711680); - anInterface5_Impl1_7020.method17(nativeheapbuffer, 16, 16 * anInt7013, (byte) -108); - } else { - anInterface5_Impl1_7020 = null; - anInterface5_Impl2_7002 = null; - } - aFloatArrayArray7005 = aFloatArrayArray7016 = aFloatArrayArray7001 = null; - aStream7022 = null; - aStream7021 = null; - aClass356_7011 = null; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("sea.(" + (var_ha_Sub3 != null ? "{...}" : "null") + ',' + (var_s_Sub3 != null ? "{...}" : "null") + ',' + (class348_sub1 != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class348_Sub39.java b/client/src/Class348_Sub39.java deleted file mode 100644 index ffb2d1e1e..000000000 --- a/client/src/Class348_Sub39.java +++ /dev/null @@ -1,13 +0,0 @@ -/* Class348_Sub39 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub39 extends Class348 { - short[] aShortArray7024; - byte[] aByteArray7025; - - Class348_Sub39(short[] is, byte[] is_0_) { - this.aShortArray7024 = is; - this.aByteArray7025 = is_0_; - } -} diff --git a/client/src/Class348_Sub4.java b/client/src/Class348_Sub4.java deleted file mode 100644 index 1e84702f5..000000000 --- a/client/src/Class348_Sub4.java +++ /dev/null @@ -1,190 +0,0 @@ -/* Class348_Sub4 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaclib.hardware_info.HardwareInfo; - -final class Class348_Sub4 extends Class348 { - private int anInt6591; - private int anInt6592; - static int anInt6593; - private int anInt6594; - private int anInt6595; - private int anInt6596; - private String aString6597; - private int anInt6598; - private int anInt6599; - static int anInt6600; - static Class248 aClass248_6601; - static Class173 aClass173_6602 = new Class173(); - private int anInt6603; - private String aString6604; - private int anInt6605; - private int anInt6606; - private boolean aBoolean6607; - private boolean aBoolean6608; - int anInt6609; - private String aString6610; - static int anInt6611; - private int anInt6612; - private int anInt6613; - private String aString6614; - static int anInt6615; - private int anInt6616; - private int anInt6617; - - private final void method2745(int i) { - if (aString6604.length() > 40) aString6604 = aString6604.substring(0, 40); - anInt6615++; - if (aString6614.length() > 40) aString6614 = aString6614.substring(0, 40); - if (aString6610.length() > i) aString6610 = aString6610.substring(0, 10); - if (aString6597.length() > 10) aString6597 = aString6597.substring(0, 10); - } - - final int method2746(byte i) { - anInt6600++; - int i_0_ = 23; - i_0_ += Class288.method2186((byte) -114, aString6604); - i_0_ += Class288.method2186((byte) -114, aString6614); - i_0_ += Class288.method2186((byte) -114, aString6610); - int i_1_ = 42 % ((44 - i) / 49); - i_0_ += Class288.method2186((byte) -114, aString6597); - return i_0_; - } - - final void method2747(int i, Class348_Sub49 class348_sub49) { - class348_sub49.writeByte(false, 5); - anInt6611++; - class348_sub49.writeByte(false, anInt6613); - class348_sub49.writeByte(false, aBoolean6608 ? 1 : 0); - class348_sub49.writeByte(false, anInt6595); - class348_sub49.writeByte(false, anInt6594); - class348_sub49.writeByte(false, anInt6616); - class348_sub49.writeByte(false, anInt6605); - class348_sub49.writeByte(false, anInt6612); - class348_sub49.writeByte(false, !aBoolean6607 ? 0 : 1); - class348_sub49.writeShort((byte) 107, anInt6592); - class348_sub49.writeByte(false, anInt6599); - class348_sub49.method3340(i ^ ~0x26b6, this.anInt6609); - class348_sub49.writeShort((byte) 107, anInt6591); - class348_sub49.writeByte(false, anInt6598); - class348_sub49.writeByte(false, anInt6596); - class348_sub49.writeByte(false, anInt6603); - class348_sub49.method3386(aString6604, 123); - class348_sub49.method3386(aString6614, -45); - class348_sub49.method3386(aString6610, 100); - if (i == 1) { - class348_sub49.method3386(aString6597, -14); - class348_sub49.writeByte(false, anInt6606); - class348_sub49.writeShort((byte) 107, anInt6617); - } - } - - public static void method2748(int i) { - int i_2_ = 80 / ((52 - i) / 57); - aClass173_6602 = null; - aClass248_6601 = null; - } - - static final int method2749(int i) { - if (i != -1) method2749(20); - anInt6593++; - return za_Sub1.anInt9774; - } - - public Class348_Sub4() { - /* empty */ - } - - Class348_Sub4(boolean bool, Class297 class297) { - if (bool) { - if (Class297.aString3803.startsWith("win")) anInt6613 = 1; - else if (Class297.aString3803.startsWith("mac")) anInt6613 = 2; - else if (Class297.aString3803.startsWith("linux")) anInt6613 = 3; - else anInt6613 = 4; - aBoolean6608 = Class297.aString3780.startsWith("amd64") || Class297.aString3780.startsWith("x86_64"); - if (anInt6613 != 1) { - if (anInt6613 == 2) { - if (Class297.aString3778.indexOf("10.4") == -1) { - if (Class297.aString3778.indexOf("10.5") == -1) { - if (Class297.aString3778.indexOf("10.6") != -1) anInt6595 = 22; - } else anInt6595 = 21; - } else anInt6595 = 20; - } - } else if (Class297.aString3778.indexOf("4.0") != -1) anInt6595 = 1; - else if (Class297.aString3778.indexOf("4.1") == -1) { - if (Class297.aString3778.indexOf("4.9") == -1) { - if (Class297.aString3778.indexOf("5.0") != -1) anInt6595 = 4; - else if (Class297.aString3778.indexOf("5.1") == -1) { - if (Class297.aString3778.indexOf("6.0") != -1) anInt6595 = 6; - else if (Class297.aString3778.indexOf("6.1") != -1) anInt6595 = 7; - } else anInt6595 = 5; - } else anInt6595 = 3; - } else anInt6595 = 2; - if (Class297.aString3782.toLowerCase().indexOf("sun") != -1) anInt6594 = 1; - else if (Class297.aString3782.toLowerCase().indexOf("microsoft") == -1) { - if (Class297.aString3782.toLowerCase().indexOf("apple") != -1) anInt6594 = 3; - else anInt6594 = 4; - } else anInt6594 = 2; - boolean oldJava = Class297.aString3796.startsWith("1."); - int i = oldJava ? 2 : 0; - int i_3_ = 0; - try { - while (Class297.aString3796.length() > i) { - int i_4_ = Class297.aString3796.charAt(i); - if (i_4_ < 48 || i_4_ > 57) break; - i++; - i_3_ = i_3_ * 10 - -i_4_ + -48; - } - } catch (Exception exception) { - /* empty */ - } - anInt6616 = i_3_; - i = Class297.aString3796.indexOf('.', 2) - -1; - i_3_ = 0; - try { - for (/**/; (i < Class297.aString3796.length()); i++) { - int i_5_ = Class297.aString3796.charAt(i); - if (i_5_ < 48 || i_5_ > 57) break; - i_3_ = i_3_ * 10 + i_5_ + -48; - } - } catch (Exception exception) { - /* empty */ - } - anInt6605 = i_3_; - i_3_ = 0; - i = 1 + Class297.aString3796.indexOf(oldJava ? '_' : '.', 4); - try { - for (/**/; Class297.aString3796.length() > i; i++) { - int i_6_ = Class297.aString3796.charAt(i); - if (i_6_ < 48 || i_6_ > 57) break; - i_3_ = i_6_ + -48 + i_3_ * 10; - } - } catch (Exception exception) { - /* empty */ - } - aBoolean6607 = !class297.aBoolean3777; - anInt6612 = i_3_; - anInt6592 = Class226.anInt2964; - if (anInt6616 <= 3) anInt6599 = 0; - else anInt6599 = Class348_Sub40_Sub29.anInt9372; - try { - int[] is = HardwareInfo.getCPUInfo(); - if (is != null && is.length == 7) { - anInt6598 = is[3]; - anInt6596 = is[4]; - anInt6591 = is[2]; - anInt6603 = is[5]; - this.anInt6609 = is[6]; - } - } catch (Throwable throwable) { - this.anInt6609 = 0; - } - } - if (aString6610 == null) aString6610 = ""; - if (aString6604 == null) aString6604 = ""; - if (aString6597 == null) aString6597 = ""; - if (aString6614 == null) aString6614 = ""; - method2745(10); - } -} diff --git a/client/src/Class348_Sub40.java b/client/src/Class348_Sub40.java deleted file mode 100644 index 0d618efd6..000000000 --- a/client/src/Class348_Sub40.java +++ /dev/null @@ -1,256 +0,0 @@ -/* Class348_Sub40 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class348_Sub40 extends Class348 { - static int anInt7026; - static int anInt7027; - static int anInt7028; - static int anInt7029; - static int anInt7030; - Class348_Sub40[] aClass348_Sub40Array7031; - Class191 aClass191_7032; - Class322 aClass322_7033; - static int anInt7034; - static int anInt7035; - int anInt7036; - static int anInt7037; - static int anInt7038; - static int anInt7039; - static int anInt7040; - static Class356 aClass356_7041 = new Class356(32); - static Class279 aClass279_7042; - static int anInt7043; - static int anInt7044; - boolean aBoolean7045; - - static final Class50_Sub2 method3036(Class348_Sub49 class348_sub49, int i) { - anInt7026++; - if (i > -4) return null; - return new Class50_Sub2(class348_sub49.readShort(13638), class348_sub49.readShort(13638), class348_sub49.readShort(13638), class348_sub49.readShort(13638), class348_sub49.readMedium(-1), class348_sub49.readMedium(-1), class348_sub49.readUnsignedByte(255)); - } - - int method3037(int i) { - if (i >= -113) method3048(-125, -85, 60); - anInt7027++; - return -1; - } - - static final void method3038(int i) { - anInt7044++; - int i_0_ = 0; - if (Class316.aClass348_Sub51_3959.aClass239_Sub28_7230.method1845(-32350) == 1) { - i_0_ |= 0x1; - i_0_ |= 0x10; - i_0_ |= 0x20; - i_0_ |= 0x2; - i_0_ |= 0x4; - } - if ((~Class316.aClass348_Sub51_3959.aClass239_Sub24_7235.method1820(-32350)) == i) i_0_ |= 0x40; - Class318_Sub1_Sub3_Sub3.method2420(i_0_, i); - Class348_Sub40_Sub12.aClass263_9195.method2009(i_0_, (byte) 109); - Exception_Sub1.aClass255_112.method1942(i_0_, (byte) -125); - Class189.aClass278_2529.method2073(-25032, i_0_); - Class348_Sub40_Sub18.aClass319_9245.method2541(119, i_0_); - Class367_Sub1.method3535(i_0_, ~i); - Class269.method2040(i_0_, true); - Class69.method720(i_0_, i + 1227); - Class239_Sub8.method1750(14056, i_0_); - Class348_Sub20.method2953((byte) -106); - } - - final int[][] method3039(byte i, int i_1_, int i_2_) { - anInt7039++; - int i_3_ = 9 / ((6 - i) / 37); - if (this.aClass348_Sub40Array7031[i_2_].aBoolean7045) { - int[] is = this.aClass348_Sub40Array7031[i_2_].method3042(i_1_, 255); - int[][] is_4_ = new int[3][]; - is_4_[2] = is; - is_4_[1] = is; - is_4_[0] = is; - return is_4_; - } - return this.aClass348_Sub40Array7031[i_2_].method3047(i_1_, -1564599039); - } - - public static void method3040(boolean bool) { - aClass279_7042 = null; - if (bool != true) method3036(null, -43); - aClass356_7041 = null; - } - - static final void method3041(int i, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_) { - anInt7030++; - int i_12_ = 0; - int i_13_ = i_8_; - int i_14_ = 0; - int i_15_ = -i_11_ + i; - int i_16_ = i_8_ - i_11_; - int i_17_ = i * i; - int i_18_ = i_8_ * i_8_; - int i_19_ = i_15_ * i_15_; - int i_20_ = i_16_ * i_16_; - int i_21_ = i_18_ << 1; - int i_22_ = i_17_ << 1; - int i_23_ = i_20_ << 1; - int i_24_ = i_19_ << 1; - int i_25_ = i_8_ << 1; - int i_26_ = i_16_ << 1; - int i_27_ = i_21_ + i_17_ * (-i_25_ + 1); - int i_28_ = i_18_ + -(i_22_ * (-1 + i_25_)); - int i_29_ = (1 - i_26_) * i_19_ + i_23_; - int i_30_ = i_20_ + -(i_24_ * (-1 + i_26_)); - int i_31_ = i_17_ << 2; - int i_32_ = i_18_ << 2; - int i_33_ = i_19_ << 2; - int i_34_ = i_20_ << 2; - int i_35_ = 3 * i_21_; - int i_36_ = i_22_ * (-3 + i_25_); - int i_37_ = 3 * i_23_; - int i_38_ = (i_26_ - 3) * i_24_; - int i_39_ = i_32_; - int i_40_ = i_31_ * (i_7_ + i_8_); - int i_41_ = i_34_; - int i_42_ = i_33_ * (-1 + i_16_); - if (i_6_ >= Class132.anInt1910 && Class38.anInt513 >= i_6_) { - int[] is = Class17.anIntArrayArray255[i_6_]; - int i_43_ = Class85.method831(Class113.anInt1745, i_5_ + -i, Class369.anInt4960, 77); - int i_44_ = Class85.method831(Class113.anInt1745, i + i_5_, Class369.anInt4960, -68); - int i_45_ = Class85.method831(Class113.anInt1745, i_5_ + -i_15_, Class369.anInt4960, i_7_ + -115); - int i_46_ = Class85.method831(Class113.anInt1745, i_5_ + i_15_, Class369.anInt4960, 97); - Class135_Sub2.method1156(-27, i_45_, is, i_43_, i_10_); - Class135_Sub2.method1156(-27, i_46_, is, i_45_, i_9_); - Class135_Sub2.method1156(-27, i_44_, is, i_46_, i_10_); - } - while (i_13_ > 0) { - boolean bool = i_16_ >= i_13_; - if (bool) { - if (i_29_ < 0) { - while (i_29_ < 0) { - i_29_ += i_37_; - i_30_ += i_41_; - i_41_ += i_34_; - i_14_++; - i_37_ += i_34_; - } - } - if (i_30_ < 0) { - i_29_ += i_37_; - i_30_ += i_41_; - i_41_ += i_34_; - i_37_ += i_34_; - i_14_++; - } - i_29_ += -i_42_; - i_30_ += -i_38_; - i_42_ -= i_33_; - i_38_ -= i_33_; - } - if (i_27_ < 0) { - while (i_27_ < 0) { - i_27_ += i_35_; - i_28_ += i_39_; - i_12_++; - i_39_ += i_32_; - i_35_ += i_32_; - } - } - if (i_28_ < 0) { - i_28_ += i_39_; - i_27_ += i_35_; - i_35_ += i_32_; - i_12_++; - i_39_ += i_32_; - } - i_27_ += -i_40_; - i_28_ += -i_36_; - i_13_--; - i_36_ -= i_31_; - i_40_ -= i_31_; - int i_47_ = -i_13_ + i_6_; - int i_48_ = i_13_ + i_6_; - if (i_48_ >= Class132.anInt1910 && Class38.anInt513 >= i_47_) { - int i_49_ = Class85.method831(Class113.anInt1745, i_12_ + i_5_, Class369.anInt4960, 36); - int i_50_ = Class85.method831(Class113.anInt1745, -i_12_ + i_5_, Class369.anInt4960, 97); - if (bool) { - int i_51_ = Class85.method831(Class113.anInt1745, i_5_ - -i_14_, Class369.anInt4960, i_7_ ^ ~0x5c); - int i_52_ = Class85.method831(Class113.anInt1745, -i_14_ + i_5_, Class369.anInt4960, 32); - if (Class132.anInt1910 <= i_47_) { - int[] is = Class17.anIntArrayArray255[i_47_]; - Class135_Sub2.method1156(-27, i_52_, is, i_50_, i_10_); - Class135_Sub2.method1156(-27, i_51_, is, i_52_, i_9_); - Class135_Sub2.method1156(i_7_ + -26, i_49_, is, i_51_, i_10_); - } - if (Class38.anInt513 >= i_48_) { - int[] is = Class17.anIntArrayArray255[i_48_]; - Class135_Sub2.method1156(i_7_ ^ 0x1a, i_52_, is, i_50_, i_10_); - Class135_Sub2.method1156(-27, i_51_, is, i_52_, i_9_); - Class135_Sub2.method1156(-27, i_49_, is, i_51_, i_10_); - } - } else { - if (i_47_ >= Class132.anInt1910) Class135_Sub2.method1156(-27, i_49_, (Class17.anIntArrayArray255[i_47_]), i_50_, i_10_); - if (i_48_ <= Class38.anInt513) Class135_Sub2.method1156(-27, i_49_, (Class17.anIntArrayArray255[i_48_]), i_50_, i_10_); - } - } - } - } - - int[] method3042(int i, int i_53_) { - if (i_53_ != 255) return null; - anInt7035++; - throw new IllegalStateException("This operation does not have a monochrome output"); - } - - int method3043(int i) { - anInt7037++; - if (i != -1) this.aClass322_7033 = null; - return -1; - } - - void method3044(int i) { - if (i <= 108) this.aClass191_7032 = null; - anInt7029++; - } - - void method3045(int i, int i_54_, int i_55_) { - anInt7043++; - int i_56_ = (i_55_ != (~this.anInt7036) ? this.anInt7036 : i_54_); - if (this.aBoolean7045) this.aClass191_7032 = new Class191(i_56_, i_54_, i); - else this.aClass322_7033 = new Class322(i_56_, i_54_, i); - } - - void method3046(byte i) { - anInt7038++; - if (i > -102) method3046((byte) -112); - if (this.aBoolean7045) { - this.aClass191_7032.method1432((byte) 124); - this.aClass191_7032 = null; - } else { - this.aClass322_7033.method2558(6144); - this.aClass322_7033 = null; - } - } - - int[][] method3047(int i, int i_57_) { - anInt7040++; - if (i_57_ != -1564599039) method3048(-4, -64, 20); - throw new IllegalStateException("This operation does not have a colour output"); - } - - final int[] method3048(int i, int i_58_, int i_59_) { - anInt7034++; - if (i_58_ != 633706337) this.aClass191_7032 = null; - if (!this.aClass348_Sub40Array7031[i_59_].aBoolean7045) return (this.aClass348_Sub40Array7031[i_59_].method3047(i, -1564599039)[0]); - return this.aClass348_Sub40Array7031[i_59_].method3042(i, i_58_ + -633706082); - } - - void method3049(Class348_Sub49 class348_sub49, int i, int i_60_) { - anInt7028++; - if (i_60_ != 31015) method3038(-16); - } - - Class348_Sub40(int i, boolean bool) { - this.aClass348_Sub40Array7031 = new Class348_Sub40[i]; - this.aBoolean7045 = bool; - } -} diff --git a/client/src/Class348_Sub40_Sub1.java b/client/src/Class348_Sub40_Sub1.java deleted file mode 100644 index 5aa29cd6c..000000000 --- a/client/src/Class348_Sub40_Sub1.java +++ /dev/null @@ -1,140 +0,0 @@ -/* Class348_Sub40_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub1 extends Class348_Sub40 { - private int anInt9084 = 4096; - static int anInt9085; - private final int[] anIntArray9086 = new int[3]; - static int anInt9087; - static int anInt9088; - static Class351 aClass351_9089 = new Class351(2, 6); - static Class207 aClass207_9090; - private int anInt9091 = 4096; - private int anInt9092 = 4096; - static int anInt9093; - private int anInt9094 = 409; - - public Class348_Sub40_Sub1() { - super(1, false); - } - - public static void method3050(boolean bool) { - aClass351_9089 = null; - aClass207_9090 = null; - if (bool != true) method3050(true); - } - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_0_) { - anInt9087++; - if (i_0_ != 31015) anInt9094 = 115; - int i_1_ = i; - while_131_: - do { - while_130_: - do { - while_129_: - do { - do { - if (i_1_ == 0) { - anInt9094 = class348_sub49.readUnsignedShort(i_0_ + 842366929); - return; - } else if (i_1_ != 1) { - if (i_1_ != 2) { - if (i_1_ != 3) { - if (i_1_ == 4) break while_130_; - break while_131_; - } - } else break; - break while_129_; - } - anInt9084 = class348_sub49.readUnsignedShort(842397944); - return; - } while (false); - anInt9091 = class348_sub49.readUnsignedShort(842397944); - return; - } while (false); - anInt9092 = class348_sub49.readUnsignedShort(i_0_ + 842366929); - return; - } while (false); - int i_2_ = class348_sub49.readMedium(-1); - anIntArray9086[2] = Class139.method1166(0, i_2_ >> 12); - anIntArray9086[1] = Class139.method1166(i_2_, 65280) >> 4; - anIntArray9086[0] = Class139.method1166(i_2_ << 4, 267386880); - } while (false); - } - - static final int method3051(int i, int i_3_) { - if (i_3_ != 4096) return -68; - anInt9085++; - int i_4_ = i >>> 1; - i_4_ |= i_4_ >>> 1; - i_4_ |= i_4_ >>> 2; - i_4_ |= i_4_ >>> 4; - i_4_ |= i_4_ >>> 8; - i_4_ |= i_4_ >>> 16; - return (~i_4_) & i; - } - - final int[][] method3047(int i, int i_5_) { - if (i_5_ != -1564599039) anInt9091 = 64; - anInt9093++; - int[][] is = this.aClass322_7033.method2557(-127, i); - if (this.aClass322_7033.aBoolean4035) { - int[][] is_6_ = this.method3039((byte) 62, i, 0); - int[] is_7_ = is_6_[0]; - int[] is_8_ = is_6_[1]; - int[] is_9_ = is_6_[2]; - int[] is_10_ = is[0]; - int[] is_11_ = is[1]; - int[] is_12_ = is[2]; - for (int i_13_ = 0; Class348_Sub40_Sub6.anInt9139 > i_13_; i_13_++) { - int i_14_ = is_7_[i_13_]; - int i_15_ = i_14_ - anIntArray9086[0]; - if (i_15_ < 0) i_15_ = -i_15_; - if (anInt9094 < i_15_) { - is_10_[i_13_] = i_14_; - is_11_[i_13_] = is_8_[i_13_]; - is_12_[i_13_] = is_9_[i_13_]; - } else { - int i_16_ = is_8_[i_13_]; - i_15_ = -anIntArray9086[1] + i_16_; - if (i_15_ < 0) i_15_ = -i_15_; - if (anInt9094 < i_15_) { - is_10_[i_13_] = i_14_; - is_11_[i_13_] = i_16_; - is_12_[i_13_] = is_9_[i_13_]; - } else { - int i_17_ = is_9_[i_13_]; - i_15_ = -anIntArray9086[2] + i_17_; - if (i_15_ < 0) i_15_ = -i_15_; - if (i_15_ > anInt9094) { - is_10_[i_13_] = i_14_; - is_11_[i_13_] = i_16_; - is_12_[i_13_] = i_17_; - } else { - is_10_[i_13_] = i_14_ * anInt9092 >> 12; - is_11_[i_13_] = i_16_ * anInt9091 >> 12; - is_12_[i_13_] = i_17_ * anInt9084 >> 12; - } - } - } - } - } - return is; - } - - static final Class method3052(int i, String string) throws ClassNotFoundException { - if (i != 11012) aClass351_9089 = null; - anInt9088++; - if (string.equals("B")) return Byte.TYPE; - if (string.equals("I")) return Integer.TYPE; - if (string.equals("S")) return Short.TYPE; - if (string.equals("J")) return Long.TYPE; - if (string.equals("Z")) return Boolean.TYPE; - if (string.equals("F")) return Float.TYPE; - if (string.equals("D")) return Double.TYPE; - if (string.equals("C")) return Character.TYPE; - return Class.forName(string); - } -} diff --git a/client/src/Class348_Sub40_Sub10.java b/client/src/Class348_Sub40_Sub10.java deleted file mode 100644 index 34d694bae..000000000 --- a/client/src/Class348_Sub40_Sub10.java +++ /dev/null @@ -1,95 +0,0 @@ -/* Class348_Sub40_Sub10 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub10 extends Class348_Sub40 { - static int anInt9174; - private int anInt9175; - private int anInt9176 = 1024; - static int anInt9177; - static int anInt9178; - static int anInt9179; - static Class308 aClass308_9180; - static boolean aBoolean9181 = false; - private int anInt9182; - static int[] anIntArray9183; - static boolean aBoolean9184; - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_0_) { - anInt9179++; - int i_1_ = i; - while_152_: - do { - do { - if (i_1_ == 0) { - anInt9176 = class348_sub49.readUnsignedShort(i_0_ ^ 0x323581df); - break while_152_; - } else if (i_1_ != 1) { - if (i_1_ == 2) break; - break while_152_; - } - anInt9175 = class348_sub49.readUnsignedShort(842397944); - break while_152_; - } while (false); - this.aBoolean7045 = class348_sub49.readUnsignedByte(255) == 1; - } while (false); - if (i_0_ != 31015) method3049(null, -85, -85); - } - - final void method3044(int i) { - anInt9174++; - anInt9182 = anInt9175 - anInt9176; - if (i < 108) method3042(-31, 9); - } - - final int[] method3042(int i, int i_2_) { - anInt9177++; - int[] is = this.aClass191_7032.method1433(0, i); - if (this.aClass191_7032.aBoolean2570) { - int[] is_3_ = this.method3048(i, 633706337, 0); - for (int i_4_ = 0; Class348_Sub40_Sub6.anInt9139 > i_4_; i_4_++) - is[i_4_] = anInt9176 - -(anInt9182 * is_3_[i_4_] >> 12); - } - if (i_2_ != 255) return null; - return is; - } - - final int[][] method3047(int i, int i_5_) { - anInt9178++; - int[][] is = this.aClass322_7033.method2557(-113, i); - if (i_5_ != -1564599039) method3049(null, -10, -112); - if (this.aClass322_7033.aBoolean4035) { - int[][] is_6_ = this.method3039((byte) -55, i, 0); - int[] is_7_ = is_6_[0]; - int[] is_8_ = is_6_[1]; - int[] is_9_ = is_6_[2]; - int[] is_10_ = is[0]; - int[] is_11_ = is[1]; - int[] is_12_ = is[2]; - for (int i_13_ = 0; (Class348_Sub40_Sub6.anInt9139 > i_13_); i_13_++) { - is_10_[i_13_] = (anInt9182 * is_7_[i_13_] >> 12) + anInt9176; - is_11_[i_13_] = (anInt9182 * is_8_[i_13_] >> 12) + anInt9176; - is_12_[i_13_] = (is_9_[i_13_] * anInt9182 >> 12) + anInt9176; - } - } - return is; - } - - public static void method3074(int i) { - anIntArray9183 = null; - aClass308_9180 = null; - if (i != 0) anIntArray9183 = null; - } - - public Class348_Sub40_Sub10() { - super(1, false); - anInt9175 = 3072; - anInt9182 = 2048; - } - - static { - aClass308_9180 = new Class308(64); - anIntArray9183 = new int[4]; - aBoolean9184 = false; - } -} diff --git a/client/src/Class348_Sub40_Sub11.java b/client/src/Class348_Sub40_Sub11.java deleted file mode 100644 index b78711622..000000000 --- a/client/src/Class348_Sub40_Sub11.java +++ /dev/null @@ -1,65 +0,0 @@ -/* Class348_Sub40_Sub11 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub11 extends Class348_Sub40 { - static int[] anIntArray9185 = new int[50]; - static int anInt9186; - private int anInt9187 = 585; - static int anInt9188; - - public static void method3075(boolean bool) { - anIntArray9185 = null; - if (bool != false) anIntArray9185 = null; - } - - public Class348_Sub40_Sub11() { - super(0, true); - } - - final int[] method3042(int i, int i_0_) { - anInt9186++; - int[] is = this.aClass191_7032.method1433(0, i); - if (i_0_ != 255) anIntArray9185 = null; - if (this.aClass191_7032.aBoolean2570) { - int i_1_ = Class239_Sub18.anIntArray6035[i]; - for (int i_2_ = 0; (i_2_ < Class348_Sub40_Sub6.anInt9139); i_2_++) { - int i_3_ = Class318_Sub6.anIntArray6432[i_2_]; - if (anInt9187 < i_3_ && 4096 - anInt9187 > i_3_ && i_1_ > 2048 + -anInt9187 && i_1_ < 2048 + anInt9187) { - int i_4_ = -i_3_ + 2048; - i_4_ = i_4_ < 0 ? -i_4_ : i_4_; - i_4_ <<= 12; - i_4_ /= 2048 - anInt9187; - is[i_2_] = -i_4_ + 4096; - } else if (2048 - anInt9187 < i_3_ && anInt9187 + 2048 > i_3_) { - int i_5_ = i_1_ + -2048; - i_5_ = i_5_ < 0 ? -i_5_ : i_5_; - i_5_ -= anInt9187; - i_5_ <<= 12; - is[i_2_] = i_5_ / (2048 + -anInt9187); - } else if (anInt9187 > i_1_ || i_1_ > 4096 - anInt9187) { - int i_6_ = -2048 + i_3_; - i_6_ = i_6_ >= 0 ? i_6_ : -i_6_; - i_6_ -= anInt9187; - i_6_ <<= 12; - is[i_2_] = i_6_ / (2048 + -anInt9187); - } else if (i_3_ < anInt9187 || i_3_ > 4096 + -anInt9187) { - int i_7_ = 2048 + -i_1_; - i_7_ = i_7_ < 0 ? -i_7_ : i_7_; - i_7_ <<= 12; - i_7_ /= 2048 + -anInt9187; - is[i_2_] = 4096 - i_7_; - } else is[i_2_] = 0; - } - } - return is; - } - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_8_) { - anInt9188++; - if (i_8_ == 31015) { - int i_9_ = i; - if (i_9_ == 0) anInt9187 = class348_sub49.readUnsignedShort(842397944); - } - } -} diff --git a/client/src/Class348_Sub40_Sub12.java b/client/src/Class348_Sub40_Sub12.java deleted file mode 100644 index 770911e7a..000000000 --- a/client/src/Class348_Sub40_Sub12.java +++ /dev/null @@ -1,378 +0,0 @@ -/* Class348_Sub40_Sub12 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub12 extends Class348_Sub40 { - static Class351 aClass351_9189 = new Class351(28, 2); - static int anInt9190; - static int anInt9191; - static int anInt9192; - static int anInt9193; - private int[][] anIntArrayArray9194; - static Class263 aClass263_9195; - static int anInt9196; - static Class114 aClass114_9197 = new Class114(61, -1); - static int anInt9198; - private final int[] anIntArray9199 = new int[257]; - static int anInt9200; - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_0_) { - if (i == 0) { - int i_1_ = class348_sub49.readUnsignedByte(255); - if (i_1_ == 0) { - anIntArrayArray9194 = new int[class348_sub49.readUnsignedByte(255)][4]; - for (int i_2_ = 0; anIntArrayArray9194.length > i_2_; i_2_++) { - anIntArrayArray9194[i_2_][0] = class348_sub49.readUnsignedShort(842397944); - anIntArrayArray9194[i_2_][1] = class348_sub49.readUnsignedByte(255) << 4; - anIntArrayArray9194[i_2_][2] = class348_sub49.readUnsignedByte(255) << 4; - anIntArrayArray9194[i_2_][3] = ((class348_sub49.readUnsignedByte(Class348_Sub21.method2955(i_0_, 31192))) << 4); - } - } else method3078(i_1_, i_0_ + -31111); - } - anInt9190++; - if (i_0_ != 31015) method3077((byte) 100); - } - - static final void method3076(int i, boolean bool) { - anInt9198++; - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub27_7255), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub27_7261), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub14_7250), 1); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub14_7264), 1); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub4_7220), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub16_7247), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub9_7256), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub13_7236), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub1_7246), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub21_7270), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub7_7238), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub24_7235), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub28_7230), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub18_7259), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub20_7216), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub20_7248), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub15_7224), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub6_7226), i); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub12_7243), 0); - Class237.method1686(i ^ 0x6e); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub23_7231), 2); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub29_7229), 1); - Class348_Sub40.method3038(-1); - Class76.method773(true); - RuntimeException_Sub1.aBoolean4604 = true; - } - - final int[][] method3047(int i, int i_3_) { - anInt9192++; - int[][] is = this.aClass322_7033.method2557(i_3_ ^ 0x5d41e287, i); - if (this.aClass322_7033.aBoolean4035) { - int[] is_4_ = this.method3048(i, 633706337, 0); - int[] is_5_ = is[0]; - int[] is_6_ = is[1]; - int[] is_7_ = is[2]; - for (int i_8_ = 0; (Class348_Sub40_Sub6.anInt9139 > i_8_); i_8_++) { - int i_9_ = is_4_[i_8_] >> 4; - if (i_9_ < 0) i_9_ = 0; - if (i_9_ > 256) i_9_ = 256; - i_9_ = anIntArray9199[i_9_]; - is_5_[i_8_] = Class139.method1166(i_9_, 16711680) >> 12; - is_6_[i_8_] = Class139.method1166(65280, i_9_) >> 4; - is_7_[i_8_] = Class139.method1166(4080, i_9_ << 4); - } - } - if (i_3_ != -1564599039) return null; - return is; - } - - public static void method3077(byte i) { - aClass351_9189 = null; - aClass114_9197 = null; - if (i != -98) method3077((byte) 27); - aClass263_9195 = null; - } - - final void method3044(int i) { - if (i >= 108) { - anInt9196++; - if (anIntArrayArray9194 == null) method3078(1, -97); - method3079(-29547); - } - } - - private final void method3078(int i, int i_10_) { - anInt9193++; - while_157_: - do { - if (i != 0) { - int i_11_ = i; - while_156_: - do { - while_155_: - do { - while_154_: - do { - while_153_: - do { - do { - if (i_11_ == 1) { - anIntArrayArray9194 = new int[2][4]; - anIntArrayArray9194[0][1] = 0; - anIntArrayArray9194[0][2] = 0; - anIntArrayArray9194[0][0] = 0; - anIntArrayArray9194[0][3] = 0; - anIntArrayArray9194[1][3] = 4096; - anIntArrayArray9194[1][2] = 4096; - anIntArrayArray9194[1][1] = 4096; - anIntArrayArray9194[1][0] = 4096; - break while_157_; - } else if (i_11_ != 2) { - if (i_11_ != 3) { - if (i_11_ != 4) { - if (i_11_ != 5) { - if (i_11_ != 6) break while_156_; - } else break while_154_; - break while_155_; - } - } else break; - break while_153_; - } - anIntArrayArray9194 = new int[8][4]; - anIntArrayArray9194[0][3] = 2361; - anIntArrayArray9194[0][1] = 2650; - anIntArrayArray9194[0][0] = 0; - anIntArrayArray9194[0][2] = 2602; - anIntArrayArray9194[1][2] = 1799; - anIntArrayArray9194[1][1] = 2313; - anIntArrayArray9194[1][3] = 1558; - anIntArrayArray9194[1][0] = 2867; - anIntArrayArray9194[2][2] = 1734; - anIntArrayArray9194[2][1] = 2618; - anIntArrayArray9194[2][3] = 1413; - anIntArrayArray9194[2][0] = 3072; - anIntArrayArray9194[3][2] = 1220; - anIntArrayArray9194[3][0] = 3276; - anIntArrayArray9194[3][3] = 947; - anIntArrayArray9194[3][1] = 2296; - anIntArrayArray9194[4][2] = 963; - anIntArrayArray9194[4][3] = 722; - anIntArrayArray9194[4][0] = 3481; - anIntArrayArray9194[4][1] = 2072; - anIntArrayArray9194[5][3] = 1766; - anIntArrayArray9194[5][2] = 2152; - anIntArrayArray9194[5][0] = 3686; - anIntArrayArray9194[5][1] = 2730; - anIntArrayArray9194[6][2] = 1060; - anIntArrayArray9194[6][0] = 3891; - anIntArrayArray9194[6][1] = 2232; - anIntArrayArray9194[6][3] = 915; - anIntArrayArray9194[7][2] = 1413; - anIntArrayArray9194[7][3] = 1140; - anIntArrayArray9194[7][1] = 1686; - anIntArrayArray9194[7][0] = 4096; - break while_157_; - } while (false); - anIntArrayArray9194 = new int[7][4]; - anIntArrayArray9194[0][0] = 0; - anIntArrayArray9194[0][1] = 0; - anIntArrayArray9194[0][2] = 0; - anIntArrayArray9194[0][3] = 4096; - anIntArrayArray9194[1][3] = 4096; - anIntArrayArray9194[1][1] = 0; - anIntArrayArray9194[1][0] = 663; - anIntArrayArray9194[1][2] = 4096; - anIntArrayArray9194[2][0] = 1363; - anIntArrayArray9194[2][2] = 4096; - anIntArrayArray9194[2][1] = 0; - anIntArrayArray9194[2][3] = 0; - anIntArrayArray9194[3][0] = 2048; - anIntArrayArray9194[3][2] = 4096; - anIntArrayArray9194[3][3] = 0; - anIntArrayArray9194[3][1] = 4096; - anIntArrayArray9194[4][0] = 2727; - anIntArrayArray9194[4][1] = 4096; - anIntArrayArray9194[4][2] = 0; - anIntArrayArray9194[4][3] = 0; - anIntArrayArray9194[5][0] = 3411; - anIntArrayArray9194[5][3] = 4096; - anIntArrayArray9194[5][2] = 0; - anIntArrayArray9194[5][1] = 4096; - anIntArrayArray9194[6][2] = 0; - anIntArrayArray9194[6][3] = 4096; - anIntArrayArray9194[6][0] = 4096; - anIntArrayArray9194[6][1] = 0; - break while_157_; - } while (false); - anIntArrayArray9194 = new int[6][4]; - anIntArrayArray9194[0][2] = 0; - anIntArrayArray9194[0][1] = 0; - anIntArrayArray9194[0][3] = 0; - anIntArrayArray9194[0][0] = 0; - anIntArrayArray9194[1][3] = 1493; - anIntArrayArray9194[1][1] = 0; - anIntArrayArray9194[1][2] = 0; - anIntArrayArray9194[1][0] = 1843; - anIntArrayArray9194[2][3] = 2939; - anIntArrayArray9194[2][2] = 0; - anIntArrayArray9194[2][1] = 0; - anIntArrayArray9194[2][0] = 2457; - anIntArrayArray9194[3][3] = 3565; - anIntArrayArray9194[3][1] = 0; - anIntArrayArray9194[3][2] = 1124; - anIntArrayArray9194[3][0] = 2781; - anIntArrayArray9194[4][2] = 3084; - anIntArrayArray9194[4][0] = 3481; - anIntArrayArray9194[4][1] = 546; - anIntArrayArray9194[4][3] = 4031; - anIntArrayArray9194[5][0] = 4096; - anIntArrayArray9194[5][3] = 4096; - anIntArrayArray9194[5][2] = 4096; - anIntArrayArray9194[5][1] = 4096; - break while_157_; - } while (false); - anIntArrayArray9194 = new int[16][4]; - anIntArrayArray9194[0][0] = 0; - anIntArrayArray9194[0][3] = 321; - anIntArrayArray9194[0][2] = 192; - anIntArrayArray9194[0][1] = 80; - anIntArrayArray9194[1][0] = 155; - anIntArrayArray9194[1][2] = 449; - anIntArrayArray9194[1][3] = 562; - anIntArrayArray9194[1][1] = 321; - anIntArrayArray9194[2][0] = 389; - anIntArrayArray9194[2][3] = 803; - anIntArrayArray9194[2][1] = 578; - anIntArrayArray9194[2][2] = 690; - anIntArrayArray9194[3][1] = 947; - anIntArrayArray9194[3][3] = 1140; - anIntArrayArray9194[3][0] = 671; - anIntArrayArray9194[3][2] = 995; - anIntArrayArray9194[4][1] = 1285; - anIntArrayArray9194[4][3] = 1509; - anIntArrayArray9194[4][2] = 1397; - anIntArrayArray9194[4][0] = 897; - anIntArrayArray9194[5][2] = 1429; - anIntArrayArray9194[5][3] = 1413; - anIntArrayArray9194[5][0] = 1175; - anIntArrayArray9194[5][1] = 1525; - anIntArrayArray9194[6][0] = 1368; - anIntArrayArray9194[6][2] = 1461; - anIntArrayArray9194[6][1] = 1734; - anIntArrayArray9194[6][3] = 1333; - anIntArrayArray9194[7][2] = 1525; - anIntArrayArray9194[7][1] = 1413; - anIntArrayArray9194[7][0] = 1507; - anIntArrayArray9194[7][3] = 1702; - anIntArrayArray9194[8][3] = 2056; - anIntArrayArray9194[8][1] = 1108; - anIntArrayArray9194[8][2] = 1590; - anIntArrayArray9194[8][0] = 1736; - anIntArrayArray9194[9][2] = 2056; - anIntArrayArray9194[9][3] = 2666; - anIntArrayArray9194[9][0] = 2088; - anIntArrayArray9194[9][1] = 1766; - anIntArrayArray9194[10][0] = 2355; - anIntArrayArray9194[10][2] = 2586; - anIntArrayArray9194[10][1] = 2409; - anIntArrayArray9194[10][3] = 3276; - anIntArrayArray9194[11][2] = 3148; - anIntArrayArray9194[11][3] = 3228; - anIntArrayArray9194[11][1] = 3116; - anIntArrayArray9194[11][0] = 2691; - anIntArrayArray9194[12][3] = 3196; - anIntArrayArray9194[12][0] = 3031; - anIntArrayArray9194[12][1] = 3806; - anIntArrayArray9194[12][2] = 3710; - anIntArrayArray9194[13][3] = 3019; - anIntArrayArray9194[13][1] = 3437; - anIntArrayArray9194[13][2] = 3421; - anIntArrayArray9194[13][0] = 3522; - anIntArrayArray9194[14][1] = 3116; - anIntArrayArray9194[14][2] = 3148; - anIntArrayArray9194[14][3] = 3228; - anIntArrayArray9194[14][0] = 3727; - anIntArrayArray9194[15][2] = 2505; - anIntArrayArray9194[15][3] = 2746; - anIntArrayArray9194[15][1] = 2377; - anIntArrayArray9194[15][0] = 4096; - break while_157_; - } while (false); - anIntArrayArray9194 = new int[4][4]; - anIntArrayArray9194[0][1] = 0; - anIntArrayArray9194[0][2] = 4096; - anIntArrayArray9194[0][3] = 0; - anIntArrayArray9194[0][0] = 2048; - anIntArrayArray9194[1][0] = 2867; - anIntArrayArray9194[1][3] = 0; - anIntArrayArray9194[1][1] = 4096; - anIntArrayArray9194[1][2] = 4096; - anIntArrayArray9194[2][0] = 3276; - anIntArrayArray9194[2][1] = 4096; - anIntArrayArray9194[2][3] = 0; - anIntArrayArray9194[2][2] = 4096; - anIntArrayArray9194[3][0] = 4096; - anIntArrayArray9194[3][2] = 0; - anIntArrayArray9194[3][1] = 4096; - anIntArrayArray9194[3][3] = 0; - break while_157_; - } while (false); - throw new RuntimeException("Invalid gradient preset"); - } - } while (false); - if (i_10_ > -95) anInt9200 = -61; - } - - private final void method3079(int i) { - anInt9191++; - if (i != -29547) method3076(-28, false); - int i_12_ = anIntArrayArray9194.length; - if (i_12_ > 0) { - for (int i_13_ = 0; i_13_ < 257; i_13_++) { - int i_14_ = 0; - int i_15_ = i_13_ << 4; - for (int i_16_ = 0; i_16_ < i_12_; i_16_++) { - if (anIntArrayArray9194[i_16_][0] > i_15_) break; - i_14_++; - } - int i_17_; - int i_18_; - int i_19_; - if (i_14_ >= i_12_) { - int[] is = anIntArrayArray9194[i_12_ + -1]; - i_17_ = is[1]; - i_19_ = is[2]; - i_18_ = is[3]; - } else { - int[] is = anIntArrayArray9194[i_14_]; - if (i_14_ <= 0) { - i_17_ = is[1]; - i_18_ = is[3]; - i_19_ = is[2]; - } else { - int[] is_20_ = anIntArrayArray9194[-1 + i_14_]; - int i_21_ = ((i_15_ - is_20_[0] << 12) / (-is_20_[0] + is[0])); - int i_22_ = -i_21_ + 4096; - i_17_ = is_20_[1] * i_22_ + is[1] * i_21_ >> 12; - i_18_ = (i_21_ * is[3] - -(i_22_ * is_20_[3]) >> 12); - i_19_ = is_20_[2] * i_22_ + is[2] * i_21_ >> 12; - } - } - i_19_ >>= 4; - i_17_ >>= 4; - i_18_ >>= 4; - if (i_17_ < 0) i_17_ = 0; - else if (i_17_ > 255) i_17_ = 255; - if (i_18_ >= 0) { - if (i_18_ > 255) i_18_ = 255; - } else i_18_ = 0; - if (i_19_ >= 0) { - if (i_19_ > 255) i_19_ = 255; - } else i_19_ = 0; - anIntArray9199[i_13_] = (Class273.method2057(i_18_, Class273.method2057(i_17_ << 16, i_19_ << 8))); - } - } - } - - public Class348_Sub40_Sub12() { - super(1, false); - } -} diff --git a/client/src/Class348_Sub40_Sub13.java b/client/src/Class348_Sub40_Sub13.java deleted file mode 100644 index 2d6eae1d0..000000000 --- a/client/src/Class348_Sub40_Sub13.java +++ /dev/null @@ -1,39 +0,0 @@ -/* Class348_Sub40_Sub13 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub13 extends Class348_Sub40 { - static Class262 aClass262_9201; - static int anInt9202; - static int anInt9203 = -1; - static float aFloat9204; - - public static void method3080(byte i) { - aClass262_9201 = null; - if (i < 39) method3080((byte) 100); - } - - public Class348_Sub40_Sub13() { - super(1, true); - } - - final int[] method3042(int i, int i_0_) { - anInt9202++; - int[] is = this.aClass191_7032.method1433(i_0_ + -255, i); - if (i_0_ != 255) method3042(19, -84); - if (this.aClass191_7032.aBoolean2570) { - int[][] is_1_ = this.method3039((byte) -119, i, 0); - int[] is_2_ = is_1_[0]; - int[] is_3_ = is_1_[1]; - int[] is_4_ = is_1_[2]; - for (int i_5_ = 0; Class348_Sub40_Sub6.anInt9139 > i_5_; i_5_++) - is[i_5_] = (is_2_[i_5_] - (-is_3_[i_5_] - is_4_[i_5_])) / 3; - } - return is; - } - - static { - aClass262_9201 = new Class262(); - aFloat9204 = 0.25F; - } -} diff --git a/client/src/Class348_Sub40_Sub14.java b/client/src/Class348_Sub40_Sub14.java deleted file mode 100644 index c1e6e94a9..000000000 --- a/client/src/Class348_Sub40_Sub14.java +++ /dev/null @@ -1,150 +0,0 @@ -/* Class348_Sub40_Sub14 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub14 extends Class348_Sub40 { - static int anInt9205; - static int anInt9206; - static int anInt9207; - private int[] anIntArray9208; - static int anInt9209; - private int[][] anIntArrayArray9210; - private int anInt9211 = 0; - static int anInt9212; - static int anInt9213; - private int[] anIntArray9214; - private short[] aShortArray9215 = new short[257]; - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_0_) { - if (i == 0) { - anInt9211 = class348_sub49.readUnsignedByte(i_0_ + -30760); - anIntArrayArray9210 = new int[class348_sub49.readUnsignedByte(255)][2]; - for (int i_1_ = 0; (i_1_ < anIntArrayArray9210.length); i_1_++) { - anIntArrayArray9210[i_1_][0] = class348_sub49.readUnsignedShort(842397944); - anIntArrayArray9210[i_1_][1] = class348_sub49.readUnsignedShort(842397944); - } - } - if (i_0_ == 31015) anInt9213++; - } - - private final void method3081(int i) { - int i_2_ = anInt9211; - while_158_: - do { - do { - if (i_2_ == 2) { - for (i_2_ = 0; i_2_ < 257; i_2_++) { - int i_3_ = i_2_ << 4; - int i_4_; - for (i_4_ = 1; -1 + anIntArrayArray9210.length > i_4_; i_4_++) { - if (anIntArrayArray9210[i_4_][0] > i_3_) break; - } - int[] is = anIntArrayArray9210[i_4_ - 1]; - int[] is_5_ = anIntArrayArray9210[i_4_]; - int i_6_ = method3083(-2 + i_4_, (byte) -120)[1]; - int i_7_ = is[1]; - int i_8_ = is_5_[1]; - int i_9_ = method3083(1 + i_4_, (byte) 81)[1]; - int i_10_ = ((-is[0] + i_3_ << 12) / (is_5_[0] + -is[0])); - int i_11_ = i_10_ * i_10_ >> 12; - int i_12_ = i_7_ + -i_8_ + (i_9_ + -i_6_); - int i_13_ = -i_12_ + i_6_ - i_7_; - int i_14_ = i_8_ + -i_6_; - int i_15_ = i_7_; - int i_16_ = ((i_10_ * i_12_ >> 12) * i_11_ >> 12); - int i_17_ = i_13_ * i_11_ >> 12; - int i_18_ = i_10_ * i_14_ >> 12; - int i_19_ = i_15_ + (i_18_ + i_17_ + i_16_); - if (i_19_ <= -32768) i_19_ = -32767; - if (i_19_ >= 32768) i_19_ = 32767; - aShortArray9215[i_2_] = (short) i_19_; - } - break while_158_; - } else if (i_2_ != 1) break; - for (i_2_ = 0; i_2_ < 257; i_2_++) { - int i_20_ = i_2_ << 4; - int i_21_; - for (i_21_ = 1; (i_21_ < -1 + anIntArrayArray9210.length); i_21_++) { - if (anIntArrayArray9210[i_21_][0] > i_20_) break; - } - int[] is = anIntArrayArray9210[-1 + i_21_]; - int[] is_22_ = anIntArrayArray9210[i_21_]; - int i_23_ = ((-is[0] + i_20_ << 12) / (is_22_[0] - is[0])); - int i_24_ = (-(Class127.anIntArray4654[(i_23_ & 0x1ff6) >> 5]) + 4096 >> 1); - int i_25_ = -i_24_ + 4096; - int i_26_ = is[1] * i_25_ + is_22_[1] * i_24_ >> 12; - if (i_26_ <= -32768) i_26_ = -32767; - if (i_26_ >= 32768) i_26_ = 32767; - aShortArray9215[i_2_] = (short) i_26_; - } - break while_158_; - } while (false); - for (i_2_ = 0; i_2_ < 257; i_2_++) { - int i_27_ = i_2_ << 4; - int i_28_; - for (i_28_ = 1; (-1 + anIntArrayArray9210.length > i_28_); i_28_++) { - if (anIntArrayArray9210[i_28_][0] > i_27_) break; - } - int[] is = anIntArrayArray9210[i_28_ + -1]; - int[] is_29_ = anIntArrayArray9210[i_28_]; - int i_30_ = (i_27_ + -is[0] << 12) / (is_29_[0] + -is[0]); - int i_31_ = 4096 - i_30_; - int i_32_ = is_29_[1] * i_30_ + i_31_ * is[1] >> 12; - if (i_32_ <= -32768) i_32_ = -32767; - if (i_32_ >= 32768) i_32_ = 32767; - aShortArray9215[i_2_] = (short) i_32_; - } - } while (false); - if (i != -1) aShortArray9215 = null; - anInt9205++; - } - - public Class348_Sub40_Sub14() { - super(1, true); - } - - final int[] method3042(int i, int i_33_) { - anInt9207++; - int[] is = this.aClass191_7032.method1433(0, i); - if (i_33_ != 255) anIntArray9214 = null; - if (this.aClass191_7032.aBoolean2570) { - int[] is_34_ = this.method3048(i, 633706337, 0); - for (int i_35_ = 0; i_35_ < Class348_Sub40_Sub6.anInt9139; i_35_++) { - int i_36_ = is_34_[i_35_] >> 4; - if (i_36_ < 0) i_36_ = 0; - if (i_36_ > 256) i_36_ = 256; - is[i_35_] = aShortArray9215[i_36_]; - } - } - return is; - } - - private final void method3082(byte i) { - anInt9206++; - int[] is = anIntArrayArray9210[0]; - int[] is_37_ = anIntArrayArray9210[1]; - int[] is_38_ = anIntArrayArray9210[-2 + anIntArrayArray9210.length]; - int[] is_39_ = anIntArrayArray9210[-1 + anIntArrayArray9210.length]; - anIntArray9208 = new int[]{is_38_[0] - (is_39_[0] + -is_38_[0]), is_38_[1] - (-is_38_[1] + is_39_[1])}; - if (i != 73) method3042(75, 39); - anIntArray9214 = new int[]{is[0] + -is_37_[0] + is[0], is[1] - (-is[1] - -is_37_[1])}; - } - - final void method3044(int i) { - if (anIntArrayArray9210 == null) anIntArrayArray9210 = new int[][]{new int[2], {4096, 4096}}; - if (i <= 108) anIntArrayArray9210 = null; - anInt9209++; - if (anIntArrayArray9210.length < 2) throw new RuntimeException("Curve operation requires at least two markers"); - if (anInt9211 == 2) method3082((byte) 73); - Class220.method1605(26188); - method3081(-1); - } - - private final int[] method3083(int i, byte i_40_) { - anInt9212++; - if (i < 0) return anIntArray9214; - int i_41_ = -48 % ((i_40_ - 13) / 56); - if (anIntArrayArray9210.length <= i) return anIntArray9208; - return anIntArrayArray9210[i]; - } -} diff --git a/client/src/Class348_Sub40_Sub15.java b/client/src/Class348_Sub40_Sub15.java deleted file mode 100644 index f6e109404..000000000 --- a/client/src/Class348_Sub40_Sub15.java +++ /dev/null @@ -1,59 +0,0 @@ -/* Class348_Sub40_Sub15 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub15 extends Class348_Sub40 { - static Class114 aClass114_9216 = new Class114(91, 2); - static int anInt9217; - static int anInt9218; - static int anInt9219; - private int anInt9220 = 4096; - static int anInt9221; - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_0_) { - int i_1_ = i; - if (i_1_ == 0) anInt9220 = (class348_sub49.readUnsignedByte(255) << 12) / 255; - if (i_0_ == 31015) anInt9217++; - } - - static final void method3084(int i, byte i_2_, int i_3_) { - anInt9218++; - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i_3_, (byte) 105, 17); - class348_sub42_sub15.method3246(-25490); - class348_sub42_sub15.anInt9652 = i; - int i_4_ = 59 / ((i_2_ - -7) / 49); - } - - public static void method3085(int i) { - aClass114_9216 = null; - if (i != 0) aClass114_9216 = null; - } - - Class348_Sub40_Sub15(int i) { - super(0, true); - anInt9220 = i; - } - - static final void method3086(int i, Class348_Sub16_Sub3 class348_sub16_sub3, int i_5_, Class45 class45, boolean bool, int i_6_, int i_7_) { - try { - anInt9219++; - if (i != 2) aClass114_9216 = null; - Class348_Sub1_Sub3.method2732(i_6_, i_7_, bool, 96, class45, i_5_); - Class285.aClass348_Sub16_Sub3_4743 = class348_sub16_sub3; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("pba.D(" + i + ',' + (class348_sub16_sub3 != null ? "{...}" : "null") + ',' + i_5_ + ',' + (class45 != null ? "{...}" : "null") + ',' + bool + ',' + i_6_ + ',' + i_7_ + ')')); - } - } - - final int[] method3042(int i, int i_8_) { - anInt9221++; - int[] is = this.aClass191_7032.method1433(0, i); - if (this.aClass191_7032.aBoolean2570) Class214.method1579(is, 0, Class348_Sub40_Sub6.anInt9139, anInt9220); - if (i_8_ != 255) method3085(63); - return is; - } - - public Class348_Sub40_Sub15() { - this(4096); - } -} diff --git a/client/src/Class348_Sub40_Sub16.java b/client/src/Class348_Sub40_Sub16.java deleted file mode 100644 index 62c398de9..000000000 --- a/client/src/Class348_Sub40_Sub16.java +++ /dev/null @@ -1,376 +0,0 @@ -/* Class348_Sub40_Sub16 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub16 extends Class348_Sub40 { - static int anInt9222; - static int anInt9223; - static int anInt9224; - static Class114 aClass114_9225; - private int anInt9226 = 6; - static int anInt9227; - static int anInt9228; - static volatile boolean aBoolean9229 = true; - static int[] anIntArray9230 = {0, -1, 0, 1}; - static int anInt9231; - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_0_) { - if (i_0_ != 31015) anInt9226 = -83; - int i_1_ = i; - do { - if (i_1_ == 0) { - anInt9226 = class348_sub49.readUnsignedByte(255); - break; - } else if (i_1_ != 1) break; - this.aBoolean7045 = class348_sub49.readUnsignedByte(255) == 1; - } while (false); - anInt9227++; - } - - final int[][] method3047(int i, int i_2_) { - if (i_2_ != -1564599039) method3089(-88); - anInt9223++; - int[][] is = this.aClass322_7033.method2557(i_2_ ^ 0x5d41e2a7, i); - while_168_: - do { - if (this.aClass322_7033.aBoolean4035) { - int[][] is_3_ = this.method3039((byte) -51, i, 0); - int[][] is_4_ = this.method3039((byte) -66, i, 1); - int[] is_5_ = is[0]; - int[] is_6_ = is[1]; - int[] is_7_ = is[2]; - int[] is_8_ = is_3_[0]; - int[] is_9_ = is_3_[1]; - int[] is_10_ = is_3_[2]; - int[] is_11_ = is_4_[0]; - int[] is_12_ = is_4_[1]; - int[] is_13_ = is_4_[2]; - int i_14_ = anInt9226; - while_167_: - do { - while_166_: - do { - while_165_: - do { - while_164_: - do { - while_163_: - do { - while_162_: - do { - while_161_: - do { - while_160_: - do { - while_159_: - do { - do { - if (i_14_ == 1) { - for (i_14_ = 0; ((Class348_Sub40_Sub6.anInt9139) > i_14_); i_14_++) { - is_5_[i_14_] = ((is_11_[i_14_]) + (is_8_[i_14_])); - is_6_[i_14_] = ((is_9_[i_14_]) + (is_12_[i_14_])); - is_7_[i_14_] = ((is_10_[i_14_]) + (is_13_[i_14_])); - } - break while_168_; - } else if (i_14_ != 2) { - if (i_14_ != 3) { - if (i_14_ != 4) { - if (i_14_ != 5) { - if (i_14_ != 6) { - if (i_14_ != 7) { - if (i_14_ != 8) { - if (i_14_ != 9) { - if (i_14_ != 10) { - if (i_14_ != 11) { - if (i_14_ != 12) break while_168_; - } else break while_166_; - break while_167_; - } - } else break while_164_; - break while_165_; - } - } else break while_162_; - break while_163_; - } - } else break while_160_; - break while_161_; - } - } else break; - break while_159_; - } - for (i_14_ = 0; ((Class348_Sub40_Sub6.anInt9139) > i_14_); i_14_++) { - is_5_[i_14_] = (is_8_[i_14_] - (is_11_[i_14_])); - is_6_[i_14_] = (is_9_[i_14_] + -(is_12_[i_14_])); - is_7_[i_14_] = (-(is_13_[i_14_]) + (is_10_[i_14_])); - } - break while_168_; - } while (false); - for (i_14_ = 0; (i_14_ < (Class348_Sub40_Sub6.anInt9139)); i_14_++) { - is_5_[i_14_] = ((is_11_[i_14_] * is_8_[i_14_]) >> 12); - is_6_[i_14_] = ((is_12_[i_14_] * is_9_[i_14_]) >> 12); - is_7_[i_14_] = ((is_10_[i_14_] * (is_13_[i_14_])) >> 12); - } - break while_168_; - } while (false); - for (i_14_ = 0; (i_14_ < (Class348_Sub40_Sub6.anInt9139)); i_14_++) { - int i_15_ = is_11_[i_14_]; - int i_16_ = is_13_[i_14_]; - int i_17_ = is_12_[i_14_]; - is_5_[i_14_] = (i_15_ != 0 ? ((is_8_[i_14_] << 12) / i_15_) : 4096); - is_6_[i_14_] = (i_17_ == 0 ? 4096 : ((is_9_[i_14_] << 12) / i_17_)); - is_7_[i_14_] = (i_16_ == 0 ? 4096 : ((is_10_[i_14_] << 12) / i_16_)); - } - break while_168_; - } while (false); - for (i_14_ = 0; (i_14_ < (Class348_Sub40_Sub6.anInt9139)); i_14_++) { - is_5_[i_14_] = (4096 + -(((-is_11_[i_14_] + 4096) * (4096 - is_8_[i_14_])) >> 12)); - is_6_[i_14_] = (4096 + -(((4096 + -is_12_[i_14_]) * (4096 - is_9_[i_14_])) >> 12)); - is_7_[i_14_] = (4096 - (((-is_13_[i_14_] + 4096) * (4096 - is_10_[i_14_])) >> 12)); - } - break while_168_; - } while (false); - for (i_14_ = 0; (Class348_Sub40_Sub6.anInt9139 > i_14_); i_14_++) { - int i_18_ = is_11_[i_14_]; - int i_19_ = is_13_[i_14_]; - int i_20_ = is_12_[i_14_]; - is_5_[i_14_] = ((i_18_ >= 2048) ? -(((4096 - is_8_[i_14_]) * (-i_18_ + 4096)) >> 11) + 4096 : (is_8_[i_14_] * i_18_ >> 11)); - is_6_[i_14_] = (i_20_ >= 2048 ? -(((-i_20_ + 4096) * (4096 - is_9_[i_14_])) >> 11) + 4096 : (i_20_ * is_9_[i_14_] >> 11)); - is_7_[i_14_] = (i_19_ < 2048 ? (i_19_ * is_10_[i_14_] >> 11) : -(((-is_10_[i_14_] + 4096) * (-i_19_ + 4096)) >> 11) + 4096); - } - break while_168_; - } while (false); - for (i_14_ = 0; Class348_Sub40_Sub6.anInt9139 > i_14_; i_14_++) { - int i_21_ = is_10_[i_14_]; - int i_22_ = is_9_[i_14_]; - int i_23_ = is_8_[i_14_]; - is_5_[i_14_] = (i_23_ == 4096 ? 4096 : ((is_11_[i_14_] << 12) / (-i_23_ + 4096))); - is_6_[i_14_] = (i_22_ != 4096 ? ((is_12_[i_14_] << 12) / (-i_22_ + 4096)) : 4096); - is_7_[i_14_] = (i_21_ == 4096 ? 4096 : ((is_13_[i_14_] << 12) / (4096 - i_21_))); - } - break while_168_; - } while (false); - for (i_14_ = 0; (Class348_Sub40_Sub6.anInt9139 > i_14_); i_14_++) { - int i_24_ = is_9_[i_14_]; - int i_25_ = is_8_[i_14_]; - int i_26_ = is_10_[i_14_]; - is_5_[i_14_] = (i_25_ == 0 ? 0 : -((-is_11_[i_14_] + 4096 << 12) / i_25_) + 4096); - is_6_[i_14_] = i_24_ != 0 ? -((4096 + -is_12_[i_14_] << 12) / i_24_) + 4096 : 0; - is_7_[i_14_] = (i_26_ == 0 ? 0 : -((-is_13_[i_14_] + 4096 << 12) / i_26_) + 4096); - } - break while_168_; - } while (false); - for (i_14_ = 0; i_14_ < Class348_Sub40_Sub6.anInt9139; i_14_++) { - int i_27_ = is_9_[i_14_]; - int i_28_ = is_12_[i_14_]; - int i_29_ = is_13_[i_14_]; - int i_30_ = is_11_[i_14_]; - int i_31_ = is_10_[i_14_]; - int i_32_ = is_8_[i_14_]; - is_5_[i_14_] = (Math.min(i_30_, i_32_)); - is_6_[i_14_] = (Math.min(i_28_, i_27_)); - is_7_[i_14_] = Math.min(i_29_, i_31_); - } - break while_168_; - } while (false); - for (i_14_ = 0; (Class348_Sub40_Sub6.anInt9139 > i_14_); i_14_++) { - int i_33_ = is_9_[i_14_]; - int i_34_ = is_10_[i_14_]; - int i_35_ = is_12_[i_14_]; - int i_36_ = is_11_[i_14_]; - int i_37_ = is_13_[i_14_]; - int i_38_ = is_8_[i_14_]; - is_5_[i_14_] = Math.max(i_36_, i_38_); - is_6_[i_14_] = (Math.max(i_33_, i_35_)); - is_7_[i_14_] = (Math.max(i_37_, i_34_)); - } - break while_168_; - } while (false); - for (i_14_ = 0; Class348_Sub40_Sub6.anInt9139 > i_14_; i_14_++) { - int i_39_ = is_13_[i_14_]; - int i_40_ = is_9_[i_14_]; - int i_41_ = is_10_[i_14_]; - int i_42_ = is_11_[i_14_]; - int i_43_ = is_8_[i_14_]; - int i_44_ = is_12_[i_14_]; - is_5_[i_14_] = (i_43_ > i_42_ ? -i_42_ + i_43_ : i_42_ - i_43_); - is_6_[i_14_] = (i_44_ >= i_40_ ? i_44_ + -i_40_ : -i_44_ + i_40_); - is_7_[i_14_] = i_41_ <= i_39_ ? i_39_ - i_41_ : -i_39_ + i_41_; - } - break while_168_; - } while (false); - for (i_14_ = 0; (Class348_Sub40_Sub6.anInt9139 > i_14_); i_14_++) { - int i_45_ = is_8_[i_14_]; - int i_46_ = is_10_[i_14_]; - int i_47_ = is_13_[i_14_]; - int i_48_ = is_11_[i_14_]; - int i_49_ = is_9_[i_14_]; - int i_50_ = is_12_[i_14_]; - is_5_[i_14_] = -(i_45_ * i_48_ >> 11) + (i_48_ + i_45_); - is_6_[i_14_] = -(i_49_ * i_50_ >> 11) + (i_49_ + i_50_); - is_7_[i_14_] = i_47_ + i_46_ - (i_46_ * i_47_ >> 11); - } - } - } while (false); - return is; - } - - public static void method3087(boolean bool) { - anIntArray9230 = null; - aClass114_9225 = null; - if (bool != false) method3089(-42); - } - - public Class348_Sub40_Sub16() { - super(2, false); - } - - final int[] method3042(int i, int i_51_) { - if (i_51_ != 255) method3047(50, -18); - anInt9224++; - int[] is = this.aClass191_7032.method1433(0, i); - while_178_: - do { - if (this.aClass191_7032.aBoolean2570) { - int[] is_52_ = this.method3048(i, 633706337, 0); - int[] is_53_ = this.method3048(i, 633706337, 1); - int i_54_ = anInt9226; - while_177_: - do { - while_176_: - do { - while_175_: - do { - while_174_: - do { - while_173_: - do { - while_172_: - do { - while_171_: - do { - while_170_: - do { - while_169_: - do { - do { - if (i_54_ == 1) { - for (i_54_ = 0; ((Class348_Sub40_Sub6.anInt9139) > i_54_); i_54_++) - is[i_54_] = ((is_52_[i_54_]) + (is_53_[i_54_])); - break while_178_; - } else if (i_54_ != 2) { - if (i_54_ != 3) { - if (i_54_ != 4) { - if (i_54_ != 5) { - if (i_54_ != 6) { - if (i_54_ != 7) { - if (i_54_ != 8) { - if (i_54_ != 9) { - if (i_54_ != 10) { - if (i_54_ != 11) { - if (i_54_ != 12) break while_178_; - } else break while_176_; - break while_177_; - } - } else break while_174_; - break while_175_; - } - } else break while_172_; - break while_173_; - } - } else break while_170_; - break while_171_; - } - } else break; - break while_169_; - } - for (i_54_ = 0; ((Class348_Sub40_Sub6.anInt9139) > i_54_); i_54_++) - is[i_54_] = ((is_52_[i_54_]) + -(is_53_[i_54_])); - break while_178_; - } while (false); - for (i_54_ = 0; ((Class348_Sub40_Sub6.anInt9139) > i_54_); i_54_++) - is[i_54_] = ((is_53_[i_54_] * (is_52_[i_54_])) >> 12); - break while_178_; - } while (false); - for (i_54_ = 0; ((Class348_Sub40_Sub6.anInt9139) > i_54_); i_54_++) { - int i_55_ = is_53_[i_54_]; - is[i_54_] = (i_55_ != 0 ? ((is_52_[i_54_] << 12) / i_55_) : 4096); - } - break while_178_; - } while (false); - for (i_54_ = 0; (Class348_Sub40_Sub6.anInt9139 > i_54_); i_54_++) - is[i_54_] = -(((4096 - is_52_[i_54_]) * (4096 - is_53_[i_54_])) >> 12) + 4096; - break while_178_; - } while (false); - for (i_54_ = 0; (i_54_ < Class348_Sub40_Sub6.anInt9139); i_54_++) { - int i_56_ = is_53_[i_54_]; - is[i_54_] = (i_56_ >= 2048 ? (4096 + -(((-i_56_ + 4096) * (4096 - is_52_[i_54_])) >> 11)) : (i_56_ * is_52_[i_54_] >> 11)); - } - break while_178_; - } while (false); - for (i_54_ = 0; i_54_ < Class348_Sub40_Sub6.anInt9139; i_54_++) { - int i_57_ = is_52_[i_54_]; - is[i_54_] = (i_57_ != 4096 ? ((is_53_[i_54_] << 12) / (-i_57_ + 4096)) : 4096); - } - break while_178_; - } while (false); - for (i_54_ = 0; i_54_ < Class348_Sub40_Sub6.anInt9139; i_54_++) { - int i_58_ = is_52_[i_54_]; - is[i_54_] = (i_58_ == 0 ? 0 : -((4096 - is_53_[i_54_] << 12) / i_58_) + 4096); - } - break while_178_; - } while (false); - for (i_54_ = 0; i_54_ < Class348_Sub40_Sub6.anInt9139; i_54_++) { - int i_59_ = is_53_[i_54_]; - int i_60_ = is_52_[i_54_]; - is[i_54_] = (Math.min(i_59_, i_60_)); - } - break while_178_; - } while (false); - for (i_54_ = 0; Class348_Sub40_Sub6.anInt9139 > i_54_; i_54_++) { - int i_61_ = is_53_[i_54_]; - int i_62_ = is_52_[i_54_]; - is[i_54_] = Math.max(i_62_, i_61_); - } - break while_178_; - } while (false); - for (i_54_ = 0; i_54_ < Class348_Sub40_Sub6.anInt9139; i_54_++) { - int i_63_ = is_53_[i_54_]; - int i_64_ = is_52_[i_54_]; - is[i_54_] = (i_63_ >= i_64_ ? i_63_ + -i_64_ : i_64_ - i_63_); - } - break while_178_; - } while (false); - for (i_54_ = 0; Class348_Sub40_Sub6.anInt9139 > i_54_; i_54_++) { - int i_65_ = is_53_[i_54_]; - int i_66_ = is_52_[i_54_]; - is[i_54_] = i_66_ - -i_65_ - (i_66_ * i_65_ >> 11); - } - } - } while (false); - return is; - } - - static final void method3088(int i) { - anInt9228++; - if (Class76.aClass364_1279 != Class8.aClass364_165 && i == 9) { - try { - Class224.method1617((byte) 125, Class79.aClient1367, "tbrefresh"); - } catch (Throwable throwable) { - /* empty */ - } - } - } - - static final void method3089(int i) { - Class248.anInt3203 = -1; - Class97.anInt1548 = -1; - Class334.anInt4155 = -1; - anInt9222++; - Class259.anInt3306 = 0; - int i_67_ = -95 % ((i - -46) / 52); - } - - static { - aClass114_9225 = new Class114(28, -2); - } -} diff --git a/client/src/Class348_Sub40_Sub17.java b/client/src/Class348_Sub40_Sub17.java deleted file mode 100644 index ba72d84dc..000000000 --- a/client/src/Class348_Sub40_Sub17.java +++ /dev/null @@ -1,93 +0,0 @@ -/* Class348_Sub40_Sub17 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -class Class348_Sub40_Sub17 extends Class348_Sub40 { - int[] anIntArray9232; - static int anInt9233; - static Class351 aClass351_9234 = new Class351(67, -1); - static int anInt9235; - static int anInt9236; - int anInt9237; - static int anInt9238; - static int anInt9239; - static Class262 aClass262_9240 = new Class262(); - int anInt9241; - static boolean aBoolean9242; - private int anInt9243 = -1; - - final boolean method3090(boolean bool) { - anInt9235++; - if (bool != true) return true; - if (this.anIntArray9232 != null) return true; - if (anInt9243 >= 0) { - Class207 class207 = (Class101_Sub2.anInt5713 >= 0 ? Class207.method1521(Class348.aClass45_4286, Class101_Sub2.anInt5713, anInt9243) : Class207.method1512(Class348.aClass45_4286, anInt9243)); - class207.method1524(); - this.anIntArray9232 = class207.method1516(); - this.anInt9237 = class207.anInt2702; - this.anInt9241 = class207.anInt2696; - return true; - } - return false; - } - - public Class348_Sub40_Sub17() { - super(0, false); - } - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_0_) { - if (i_0_ == 31015) { - if (i == 0) anInt9243 = class348_sub49.readUnsignedShort(842397944); - anInt9236++; - } - } - - final int method3037(int i) { - anInt9233++; - if (i > -113) aBoolean9242 = false; - return anInt9243; - } - - final void method3046(byte i) { - super.method3046((byte) -112); - if (i < -102) { - anInt9238++; - this.anIntArray9232 = null; - } - } - - int[][] method3047(int i, int i_1_) { - anInt9239++; - if (i_1_ != -1564599039) method3047(8, -86); - int[][] is = this.aClass322_7033.method2557(-108, i); - if (this.aClass322_7033.aBoolean4035 && method3090(true)) { - int[] is_2_ = is[0]; - int[] is_3_ = is[1]; - int[] is_4_ = is[2]; - int i_5_ = (this.anInt9237 * ((this.anInt9241 != Class286_Sub2.anInt6212) ? (this.anInt9241 * i / Class286_Sub2.anInt6212) : i)); - if (Class348_Sub40_Sub6.anInt9139 == this.anInt9237) { - for (int i_6_ = 0; (Class348_Sub40_Sub6.anInt9139 > i_6_); i_6_++) { - int i_7_ = this.anIntArray9232[i_5_++]; - is_4_[i_6_] = Class139.method1166(4080, i_7_ << 4); - is_3_[i_6_] = Class139.method1166(65280, i_7_) >> 4; - is_2_[i_6_] = Class139.method1166(4080, i_7_ >> 12); - } - } else { - for (int i_8_ = 0; (Class348_Sub40_Sub6.anInt9139 > i_8_); i_8_++) { - int i_9_ = (this.anInt9237 * i_8_ / Class348_Sub40_Sub6.anInt9139); - int i_10_ = (this.anIntArray9232[i_9_ + i_5_]); - is_4_[i_8_] = Class139.method1166(i_10_, 255) << 4; - is_3_[i_8_] = Class139.method1166(i_10_ >> 4, 4080); - is_2_[i_8_] = Class139.method1166(i_10_, 16711680) >> 12; - } - } - } - return is; - } - - public static void method3091(boolean bool) { - aClass351_9234 = null; - aClass262_9240 = null; - if (bool != true) method3091(false); - } -} diff --git a/client/src/Class348_Sub40_Sub17_Sub1.java b/client/src/Class348_Sub40_Sub17_Sub1.java deleted file mode 100644 index 8f7f4d84f..000000000 --- a/client/src/Class348_Sub40_Sub17_Sub1.java +++ /dev/null @@ -1,44 +0,0 @@ -/* Class348_Sub40_Sub17_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub17_Sub1 extends Class348_Sub40_Sub17 { - static int anInt10425; - static Class45 aClass45_10426; - static int anInt10427; - - public Class348_Sub40_Sub17_Sub1() { - /* empty */ - } - - final int[][] method3047(int i, int i_0_) { - if (i_0_ != -1564599039) method3093(54); - anInt10425++; - int[][] is = this.aClass322_7033.method2557(-93, i); - if (this.aClass322_7033.aBoolean4035 && this.method3090(true)) { - int[] is_1_ = is[0]; - int[] is_2_ = is[1]; - int[] is_3_ = is[2]; - int i_4_ = (this.anInt9241 * (i % this.anInt9241)); - for (int i_5_ = 0; i_5_ < Class348_Sub40_Sub6.anInt9139; i_5_++) { - int i_6_ = (this.anIntArray9232[(i_5_ % this.anInt9237 + i_4_)]); - is_3_[i_5_] = Class139.method1166(4080, i_6_ << 4); - is_2_[i_5_] = Class139.method1166(65280, i_6_) >> 4; - is_1_[i_5_] = Class139.method1166(4080, i_6_ >> 12); - } - } - return is; - } - - public static void method3092(int i) { - if (i != -1) aClass45_10426 = null; - aClass45_10426 = null; - } - - static final void method3093(int i) { - if (i > 85) { - anInt10427++; - Class348_Sub5.method2755(-1, 255, -1); - } - } -} diff --git a/client/src/Class348_Sub40_Sub18.java b/client/src/Class348_Sub40_Sub18.java deleted file mode 100644 index 45b5ebbd4..000000000 --- a/client/src/Class348_Sub40_Sub18.java +++ /dev/null @@ -1,151 +0,0 @@ -/* Class348_Sub40_Sub18 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub18 extends Class348_Sub40 { - private int anInt9244; - static Class319 aClass319_9245; - static int anInt9246; - static int anInt9247; - static int anInt9248; - static int[] anIntArray9249 = {2, 1, 1, 1, 2, 2, 2, 1, 3, 3, 3, 2, 0, 4, 0}; - private int anInt9250; - static int anInt9251; - private int anInt9252; - - static final void method3094(int i, Class348_Sub49_Sub2 class348_sub49_sub2) { - anInt9247++; - int i_0_ = 0; - class348_sub49_sub2.startBitAccess(-87); - for (int i_1_ = 0; i_1_ < Class328_Sub1.anInt6513; i_1_++) { - int i_2_ = Class286_Sub7.anIntArray6290[i_1_]; - if ((0x1 & Class348_Sub5.aByteArray6624[i_2_]) == 0) { - if (i_0_ > 0) { - Class348_Sub5.aByteArray6624[i_2_] = (byte) Class273.method2057((Class348_Sub5.aByteArray6624[i_2_]), 2); - i_0_--; - } else { - int i_3_ = class348_sub49_sub2.readBits((byte) -24, 1); - if (i_3_ == 0) { - i_0_ = Class318_Sub1_Sub3.method2413(1, class348_sub49_sub2); - Class348_Sub5.aByteArray6624[i_2_] = (byte) Class273.method2057((Class348_Sub5.aByteArray6624[i_2_]), 2); - } else { - Class286_Sub9.method2177(1, i_2_, class348_sub49_sub2); - } - } - } - } - class348_sub49_sub2.stopBitAccess(false); - if (i_0_ != 0) throw new RuntimeException("nsn0"); - class348_sub49_sub2.startBitAccess(-65); - for (int i_4_ = 0; i_4_ < Class328_Sub1.anInt6513; i_4_++) { - int i_5_ = Class286_Sub7.anIntArray6290[i_4_]; - if ((0x1 & Class348_Sub5.aByteArray6624[i_5_]) != 0) { - if (i_0_ > 0) { - Class348_Sub5.aByteArray6624[i_5_] = (byte) Class273.method2057((Class348_Sub5.aByteArray6624[i_5_]), 2); - i_0_--; - } else { - int i_6_ = class348_sub49_sub2.readBits((byte) -24, 1); - if (i_6_ == 0) { - i_0_ = Class318_Sub1_Sub3.method2413(1, class348_sub49_sub2); - Class348_Sub5.aByteArray6624[i_5_] = (byte) Class273.method2057((Class348_Sub5.aByteArray6624[i_5_]), 2); - } else Class286_Sub9.method2177(i ^ ~0x53e4, i_5_, class348_sub49_sub2); - } - } - } - class348_sub49_sub2.stopBitAccess(false); - if (i_0_ != 0) throw new RuntimeException("nsn1"); - class348_sub49_sub2.startBitAccess(i ^ ~0x5398); - for (int i_7_ = 0; (i_7_ < Class348_Sub42_Sub4.anInt9513); i_7_++) { - int i_8_ = Class135_Sub1.anIntArray4709[i_7_]; - if ((0x1 & Class348_Sub5.aByteArray6624[i_8_]) != 0) { - if (i_0_ > 0) { - Class348_Sub5.aByteArray6624[i_8_] = (byte) Class273.method2057((Class348_Sub5.aByteArray6624[i_8_]), 2); - i_0_--; - } else { - int i_9_ = class348_sub49_sub2.readBits((byte) -24, 1); - if (i_9_ == 0) { - i_0_ = Class318_Sub1_Sub3.method2413(i + 21479, class348_sub49_sub2); - Class348_Sub5.aByteArray6624[i_8_] = (byte) Class273.method2057((Class348_Sub5.aByteArray6624[i_8_]), 2); - } else if (Class211.method1538(i_8_, (byte) 105, class348_sub49_sub2)) Class348_Sub5.aByteArray6624[i_8_] = (byte) Class273.method2057((Class348_Sub5.aByteArray6624[i_8_]), 2); - } - } - } - class348_sub49_sub2.stopBitAccess(false); - if (i == -21478) { - if (i_0_ != 0) throw new RuntimeException("nsn2"); - class348_sub49_sub2.startBitAccess(36); - for (int i_10_ = 0; (Class348_Sub42_Sub4.anInt9513 > i_10_); i_10_++) { - int i_11_ = Class135_Sub1.anIntArray4709[i_10_]; - if ((Class348_Sub5.aByteArray6624[i_11_] & 0x1) == 0) { - if (i_0_ > 0) { - Class348_Sub5.aByteArray6624[i_11_] = (byte) Class273.method2057((Class348_Sub5.aByteArray6624[i_11_]), 2); - i_0_--; - } else { - int i_12_ = class348_sub49_sub2.readBits((byte) -24, 1); - if (i_12_ == 0) { - i_0_ = Class318_Sub1_Sub3.method2413(1, class348_sub49_sub2); - Class348_Sub5.aByteArray6624[i_11_] = (byte) Class273.method2057((Class348_Sub5.aByteArray6624[i_11_]), 2); - } else if (Class211.method1538(i_11_, (byte) 105, class348_sub49_sub2)) Class348_Sub5.aByteArray6624[i_11_] = (byte) Class273.method2057((Class348_Sub5.aByteArray6624[i_11_]), 2); - } - } - } - class348_sub49_sub2.stopBitAccess(false); - if (i_0_ != 0) throw new RuntimeException("nsn3"); - Class328_Sub1.anInt6513 = 0; - Class348_Sub42_Sub4.anInt9513 = 0; - for (int i_13_ = 1; i_13_ < 2048; i_13_++) { - Class348_Sub5.aByteArray6624[i_13_] >>= 1; - Player player = Class294.aPlayerArray5058[i_13_]; - if (player == null) Class135_Sub1.anIntArray4709[Class348_Sub42_Sub4.anInt9513++] = i_13_; - else Class286_Sub7.anIntArray6290[Class328_Sub1.anInt6513++] = i_13_; - } - } - } - - private Class348_Sub40_Sub18(int i) { - super(0, false); - method3095(-104, i); - } - - final int[][] method3047(int i, int i_14_) { - anInt9246++; - int[][] is = this.aClass322_7033.method2557(i_14_ ^ 0x5d41e2b0, i); - if (this.aClass322_7033.aBoolean4035) { - int[] is_15_ = is[0]; - int[] is_16_ = is[1]; - int[] is_17_ = is[2]; - for (int i_18_ = 0; i_18_ < Class348_Sub40_Sub6.anInt9139; i_18_++) { - is_15_[i_18_] = anInt9244; - is_16_[i_18_] = anInt9252; - is_17_[i_18_] = anInt9250; - } - } - if (i_14_ != -1564599039) method3095(102, 6); - return is; - } - - private final void method3095(int i, int i_19_) { - anInt9244 = 0xff0 & i_19_ >> 12; - anInt9252 = i_19_ >> 4 & 0xff0; - anInt9248++; - anInt9250 = (i_19_ & 0xff) << 4; - if (i >= -54) anInt9250 = -42; - } - - public static void method3096(int i) { - anIntArray9249 = null; - aClass319_9245 = null; - if (i != 32462) aClass319_9245 = null; - } - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_20_) { - int i_21_ = i; - if (i_21_ == 0) method3095(-124, class348_sub49.readMedium(-1)); - anInt9251++; - if (i_20_ != 31015) anInt9250 = 105; - } - - public Class348_Sub40_Sub18() { - this(0); - } -} diff --git a/client/src/Class348_Sub40_Sub19.java b/client/src/Class348_Sub40_Sub19.java deleted file mode 100644 index b303fdc18..000000000 --- a/client/src/Class348_Sub40_Sub19.java +++ /dev/null @@ -1,79 +0,0 @@ -/* Class348_Sub40_Sub19 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub19 extends Class348_Sub40 { - static int anInt9253; - static Class114 aClass114_9254 = new Class114(73, 3); - static int anInt9255; - static int anInt9256; - static Class114 aClass114_9257; - static int anInt9258; - static int[] anIntArray9259 = new int[2]; - /*synthetic*/ static Class aClass9260; - - static final void method3097(Class46[] class46s, int i, int i_0_) { - if (i_0_ >= 116) { - for (int i_1_ = 0; class46s.length > i_1_; i_1_++) { - Class46 class46 = class46s[i_1_]; - if (class46 != null) { - if (class46.anInt774 == 0) { - if (class46.aClass46Array798 != null) method3097(class46.aClass46Array798, i, 125); - Class348_Sub41 class348_sub41 = ((Class348_Sub41) (Class125.aClass356_4915.method3480(class46.anInt830, -6008))); - if (class348_sub41 != null) Class239_Sub12.method1775((byte) -8, (class348_sub41.anInt7050), i); - } - if (i == 0 && class46.anObjectArray840 != null) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); - class348_sub36.aClass46_6989 = class46; - class348_sub36.anObjectArray6987 = class46.anObjectArray840; - Class66.method705(class348_sub36); - } - if (i == 1 && class46.anObjectArray701 != null) { - if (class46.anInt704 >= 0) { - Class46 class46_2_ = Class324.method2570(1512932720, (class46.anInt830)); - if (class46_2_ == null || (class46_2_.aClass46Array798 == null) || (class46.anInt704 >= (class46_2_.aClass46Array798).length) || class46 != (class46_2_.aClass46Array798[class46.anInt704])) continue; - } - Class348_Sub36 class348_sub36 = new Class348_Sub36(); - class348_sub36.aClass46_6989 = class46; - class348_sub36.anObjectArray6987 = class46.anObjectArray701; - Class66.method705(class348_sub36); - } - } - } - anInt9258++; - } - } - - final int[] method3042(int i, int i_3_) { - if (i_3_ != 255) aClass114_9254 = null; - anInt9256++; - return Class318_Sub6.anIntArray6432; - } - - public Class348_Sub40_Sub19() { - super(0, true); - } - - static final boolean method3098(int i, String string) { - if (i != -30282) return true; - anInt9255++; - return Class348_Sub6.method2769((aClass9260 != null ? aClass9260 : (aClass9260 = Class90.class)), (byte) 20, string); - } - - public static void method3099(byte i) { - aClass114_9254 = null; - aClass114_9257 = null; - anIntArray9259 = null; - if (i >= -63) anIntArray9259 = null; - } - - static final boolean method3100(int i, boolean bool, int i_4_) { - anInt9253++; - if (bool != false) anIntArray9259 = null; - return Class230.method1637(i, 32768, i_4_) | (0x800 & i_4_) != 0 || Class273.method2056(i_4_, 86, i); - } - - static { - aClass114_9257 = new Class114(102, 3); - } -} diff --git a/client/src/Class348_Sub40_Sub2.java b/client/src/Class348_Sub40_Sub2.java deleted file mode 100644 index 89aa33f52..000000000 --- a/client/src/Class348_Sub40_Sub2.java +++ /dev/null @@ -1,89 +0,0 @@ -/* Class348_Sub40_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub2 extends Class348_Sub40 { - private int anInt9095 = 1; - static int[] anIntArray9096 = new int[2]; - static int anInt9097; - private int anInt9098 = 204; - private int anInt9099 = 1; - static int anInt9100; - static int anInt9101 = -1; - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_0_) { - anInt9100++; - int i_1_ = i; - while_132_: - do { - do { - if (i_1_ == 0) { - anInt9099 = class348_sub49.readUnsignedByte(i_0_ ^ 0x79d8); - break while_132_; - } else if (i_1_ != 1) { - if (i_1_ == 2) break; - break while_132_; - } - anInt9095 = class348_sub49.readUnsignedByte(255); - break while_132_; - } while (false); - anInt9098 = class348_sub49.readUnsignedShort(842397944); - } while (false); - if (i_0_ != 31015) method3042(-14, -114); - } - - public Class348_Sub40_Sub2() { - super(0, true); - } - - public static void method3053(int i) { - if (i == 4) anIntArray9096 = null; - } - - final int[] method3042(int i, int i_2_) { - anInt9097++; - int[] is = this.aClass191_7032.method1433(0, i); - if (this.aClass191_7032.aBoolean2570) { - int i_3_ = 0; - for (/**/; i_3_ < Class348_Sub40_Sub6.anInt9139; i_3_++) { - int i_4_ = Class318_Sub6.anIntArray6432[i_3_]; - int i_5_ = Class239_Sub18.anIntArray6035[i]; - int i_6_ = anInt9099 * i_4_ >> 12; - int i_7_ = anInt9095 * i_5_ >> 12; - int i_8_ = i_4_ % (4096 / anInt9099) * anInt9099; - int i_9_ = i_5_ % (4096 / anInt9095) * anInt9095; - if (i_9_ < anInt9098) { - for (i_6_ -= i_7_; i_6_ < 0; i_6_ += 4) { - /* empty */ - } - for (/**/; i_6_ > 3; i_6_ -= 4) { - /* empty */ - } - if (i_6_ != 1) { - is[i_3_] = 0; - continue; - } - if (anInt9098 > i_8_) { - is[i_3_] = 0; - continue; - } - } - if (i_8_ < anInt9098) { - for (i_6_ -= i_7_; i_6_ < 0; i_6_ += 4) { - /* empty */ - } - for (/**/; i_6_ > 3; i_6_ -= 4) { - /* empty */ - } - if (i_6_ > 0) { - is[i_3_] = 0; - continue; - } - } - is[i_3_] = 4096; - } - } - if (i_2_ != 255) anIntArray9096 = null; - return is; - } -} diff --git a/client/src/Class348_Sub40_Sub20.java b/client/src/Class348_Sub40_Sub20.java deleted file mode 100644 index 4ccce1bd4..000000000 --- a/client/src/Class348_Sub40_Sub20.java +++ /dev/null @@ -1,52 +0,0 @@ -/* Class348_Sub40_Sub20 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub20 extends Class348_Sub40 { - static int anInt9261; - static int anInt9262; - static Class231 aClass231_9263 = new Class231("RC", 1); - static Class348_Sub4 aClass348_Sub4_9264; - static int anInt9265; - - static final void method3102(int i) { - if (i != 22385) aClass348_Sub4_9264 = null; - anInt9265++; - Class332.aClass60_4139.method587(-110); - } - - private final int method3103(int i, int i_0_, int i_1_) { - anInt9262++; - if (i_1_ < 14) aClass348_Sub4_9264 = null; - int i_2_ = i_0_ - -(57 * i); - i_2_ ^= i_2_ << 1; - return (-(((789221 + 15731 * (i_2_ * i_2_)) * i_2_ + 1376312589 & 0x7fffffff) / 262144) + 4096); - } - - public Class348_Sub40_Sub20() { - super(0, true); - } - - public static void method3104(boolean bool) { - if (bool == false) { - aClass348_Sub4_9264 = null; - aClass231_9263 = null; - } - } - - final int[] method3042(int i, int i_3_) { - anInt9261++; - int[] is = this.aClass191_7032.method1433(0, i); - if (this.aClass191_7032.aBoolean2570) { - int i_4_ = Class239_Sub18.anIntArray6035[i]; - for (int i_5_ = 0; (i_5_ < Class348_Sub40_Sub6.anInt9139); i_5_++) - is[i_5_] = method3103(i_4_, Class318_Sub6.anIntArray6432[i_5_], 22) % 4096; - } - if (i_3_ != 255) method3042(38, -42); - return is; - } - - static { - new Class273("", 73); - } -} diff --git a/client/src/Class348_Sub40_Sub21.java b/client/src/Class348_Sub40_Sub21.java deleted file mode 100644 index 0861281e0..000000000 --- a/client/src/Class348_Sub40_Sub21.java +++ /dev/null @@ -1,169 +0,0 @@ -/* Class348_Sub40_Sub21 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub21 extends Class348_Sub40 { - private int anInt9266 = 0; - static int anInt9267; - static int anInt9268; - private int anInt9269 = 2048; - static int anInt9270; - static int anInt9271; - static int anInt9272; - static int anInt9273; - static Class223 aClass223_9274; - static String[] aStringArray9275 = new String[100]; - private int anInt9276 = 4096; - private int anInt9277; - private int anInt9278 = 0; - private int anInt9279 = 12288; - static int anInt9280; - private int anInt9281; - static int anInt9282; - static long[] aLongArray9283; - - final int[] method3042(int i, int i_0_) { - anInt9267++; - int[] is = this.aClass191_7032.method1433(0, i); - if (i_0_ != 255) method3108(-114, -119, -89); - if (this.aClass191_7032.aBoolean2570) { - int i_1_ = -2048 + Class239_Sub18.anIntArray6035[i]; - for (int i_2_ = 0; (i_2_ < Class348_Sub40_Sub6.anInt9139); i_2_++) { - int i_3_ = -2048 + Class318_Sub6.anIntArray6432[i_2_]; - int i_4_ = i_3_ - -anInt9269; - i_4_ = i_4_ < -2048 ? 4096 + i_4_ : i_4_; - i_4_ = i_4_ <= 2048 ? i_4_ : -4096 + i_4_; - int i_5_ = anInt9278 + i_1_; - i_5_ = i_5_ < -2048 ? i_5_ - -4096 : i_5_; - i_5_ = i_5_ <= 2048 ? i_5_ : i_5_ - 4096; - int i_6_ = i_3_ - -anInt9266; - i_6_ = i_6_ < -2048 ? i_6_ + 4096 : i_6_; - i_6_ = i_6_ > 2048 ? i_6_ - 4096 : i_6_; - int i_7_ = anInt9281 + i_1_; - i_7_ = i_7_ < -2048 ? i_7_ - -4096 : i_7_; - i_7_ = i_7_ > 2048 ? -4096 + i_7_ : i_7_; - is[i_2_] = (method3108(i_5_, 9619, i_4_) || method3105(i_7_, -7981, i_6_)) ? 4096 : 0; - } - } - return is; - } - - final void method3044(int i) { - anInt9272++; - if (i <= 108) method3042(69, 74); - Class220.method1605(26188); - } - - private final boolean method3105(int i, int i_8_, int i_9_) { - anInt9273++; - int i_10_ = (i_9_ + i) * anInt9279 >> 12; - int i_11_ = Class127.anIntArray4654[(i_10_ * 255 & 0xfff2f) >> 12]; - if (i_8_ != -7981) anInt9266 = -52; - i_11_ = (i_11_ << 12) / anInt9279; - i_11_ = (i_11_ << 12) / anInt9277; - i_11_ = i_11_ * anInt9276 >> 12; - return i_11_ > i + -i_9_ && -i_9_ + i > -i_11_; - } - - public static void method3106(byte i) { - aLongArray9283 = null; - aStringArray9275 = null; - aClass223_9274 = null; - int i_12_ = 69 % ((19 - i) / 41); - } - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_13_) { - anInt9268++; - if (i_13_ != 31015) method3042(72, 12); - int i_14_ = i; - while_183_: - do { - while_182_: - do { - while_181_: - do { - while_180_: - do { - while_179_: - do { - do { - if (i_14_ == 0) { - anInt9269 = class348_sub49.readUnsignedShort(842397944); - return; - } else if (i_14_ != 1) { - if (i_14_ != 2) { - if (i_14_ != 3) { - if (i_14_ != 4) { - if (i_14_ != 5) { - if (i_14_ == 6) break while_182_; - break while_183_; - } - } else break while_180_; - break while_181_; - } - } else break; - break while_179_; - } - anInt9278 = class348_sub49.readUnsignedShort(842397944); - return; - } while (false); - anInt9266 = class348_sub49.readUnsignedShort(842397944); - return; - } while (false); - anInt9281 = class348_sub49.readUnsignedShort(842397944); - return; - } while (false); - anInt9279 = class348_sub49.readUnsignedShort(842397944); - return; - } while (false); - anInt9276 = class348_sub49.readUnsignedShort(842397944); - return; - } while (false); - anInt9277 = class348_sub49.readUnsignedShort(842397944); - } while (false); - } - - static final long method3107(byte i, Interface10 interface10, int i_15_, int i_16_) { - anInt9270++; - long l = 4194304L; - long l_17_ = -9223372036854775808L; - Class51 class51 = Class348_Sub40_Sub12.aClass263_9195.method2005(0, interface10.method42(-107)); - long l_18_ = interface10.method39(-14) << 14 | (i_16_ | i_15_ << 7) | interface10.method41(-32228) << 20 | 0x40000000; - if (class51.anInt874 == 0) l_18_ |= l_17_; - if (class51.anInt895 == 1) l_18_ |= l; - int i_19_ = 57 % ((-24 - i) / 57); - l_18_ |= (long) interface10.method42(-102) << 32; - return l_18_; - } - - private final boolean method3108(int i, int i_20_, int i_21_) { - if (i_20_ != 9619) return true; - anInt9271++; - int i_22_ = anInt9279 * (i - i_21_) >> 12; - int i_23_ = Class127.anIntArray4654[(0xff530 & 255 * i_22_) >> 12]; - i_23_ = (i_23_ << 12) / anInt9279; - i_23_ = (i_23_ << 12) / anInt9277; - i_23_ = anInt9276 * i_23_ >> 12; - return i_23_ > i_21_ - -i && -i_23_ < i + i_21_; - } - - public Class348_Sub40_Sub21() { - super(0, true); - anInt9277 = 8192; - anInt9281 = 2048; - } - - static { - aClass223_9274 = new Class223(5, 1); - anInt9280 = 0; - aLongArray9283 = new long[256]; - for (int i = 0; i < 256; i++) { - long l = i; - for (int i_24_ = 0; i_24_ < 8; i_24_++) { - if ((0x1L & l) == 1L) l = ~0x3693a86a2878f0bdL ^ l >>> 1; - else l >>>= 1; - } - aLongArray9283[i] = l; - } - } -} diff --git a/client/src/Class348_Sub40_Sub22.java b/client/src/Class348_Sub40_Sub22.java deleted file mode 100644 index 3d64c268b..000000000 --- a/client/src/Class348_Sub40_Sub22.java +++ /dev/null @@ -1,211 +0,0 @@ -/* Class348_Sub40_Sub22 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.util.Random; - -final class Class348_Sub40_Sub22 extends Class348_Sub40 { - private int anInt9284 = 1024; - static Class114 aClass114_9285 = new Class114(104, 1); - private int[][] anIntArrayArray9286; - private int[][] anIntArrayArray9287; - private int anInt9288 = 1024; - static int anInt9289; - static int anInt9290; - private int anInt9291; - static int anInt9292; - private int anInt9293 = 0; - private int anInt9294; - static int anInt9295; - static int anInt9296; - private int[] anIntArray9297; - private int anInt9298; - private int anInt9299 = 4; - private int anInt9300; - private int anInt9301; - private int anInt9302; - static Class304 aClass304_9303 = new Class304(1); - static Class351 aClass351_9304 = new Class351(20, -1); - private int anInt9305; - - private final void method3109(byte i) { - anInt9289++; - Random random = new Random(anInt9301); - anInt9298 = anInt9294 / 2; - anInt9291 = 4096 / anInt9299; - anInt9300 = 4096 / anInt9301; - int i_0_ = anInt9291 / 2; - anIntArray9297 = new int[anInt9301 + 1]; - int i_1_ = anInt9300 / 2; - anIntArrayArray9287 = new int[anInt9301][1 + anInt9299]; - anIntArrayArray9286 = new int[anInt9301][anInt9299]; - anIntArray9297[0] = 0; - if (i >= -111) method3109((byte) 67); - for (int i_2_ = 0; i_2_ < anInt9301; i_2_++) { - if (i_2_ > 0) { - int i_3_ = anInt9300; - int i_4_ = ((Class124.method1097((byte) 90, 4096, random) - 2048) * anInt9305 >> 12); - i_3_ += i_4_ * i_1_ >> 12; - anIntArray9297[i_2_] = i_3_ + anIntArray9297[-1 + i_2_]; - } - anIntArrayArray9287[i_2_][0] = 0; - for (int i_5_ = 0; anInt9299 > i_5_; i_5_++) { - if (i_5_ > 0) { - int i_6_ = anInt9291; - int i_7_ = ((Class124.method1097((byte) 117, 4096, random) - 2048) * anInt9302 >> 12); - i_6_ += i_0_ * i_7_ >> 12; - anIntArrayArray9287[i_2_][i_5_] = anIntArrayArray9287[i_2_][i_5_ + -1] + i_6_; - } - anIntArrayArray9286[i_2_][i_5_] = (anInt9284 <= 0 ? 4096 : (-Class124.method1097((byte) 124, anInt9284, random) + 4096)); - } - anIntArrayArray9287[i_2_][anInt9299] = 4096; - } - anIntArray9297[anInt9301] = 4096; - } - - public Class348_Sub40_Sub22() { - super(0, true); - anInt9294 = 81; - anInt9302 = 409; - anInt9305 = 204; - anInt9301 = 8; - } - - public static void method3110(int i) { - aClass351_9304 = null; - aClass304_9303 = null; - if (i != -1633784916) aClass304_9303 = null; - aClass114_9285 = null; - } - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_8_) { - anInt9292++; - if (i_8_ != 31015) method3111(106, 16); - int i_9_ = i; - while_189_: - do { - while_188_: - do { - while_187_: - do { - while_186_: - do { - while_185_: - do { - while_184_: - do { - do { - if (i_9_ == 0) { - anInt9299 = class348_sub49.readUnsignedByte(255); - return; - } else if (i_9_ != 1) { - if (i_9_ != 2) { - if (i_9_ != 3) { - if (i_9_ != 4) { - if (i_9_ != 5) { - if (i_9_ != 6) { - if (i_9_ != 7) break while_189_; - } else break while_187_; - break while_188_; - } - } else break while_185_; - break while_186_; - } - } else break; - break while_184_; - } - anInt9301 = class348_sub49.readUnsignedByte(255); - return; - } while (false); - anInt9302 = class348_sub49.readUnsignedShort(842397944); - return; - } while (false); - anInt9305 = class348_sub49.readUnsignedShort(842397944); - return; - } while (false); - anInt9288 = class348_sub49.readUnsignedShort(842397944); - return; - } while (false); - anInt9293 = class348_sub49.readUnsignedShort(842397944); - return; - } while (false); - anInt9294 = class348_sub49.readUnsignedShort(842397944); - return; - } while (false); - anInt9284 = class348_sub49.readUnsignedShort(i_8_ + 842366929); - } while (false); - } - - final int[] method3042(int i, int i_10_) { - anInt9296++; - int[] is = this.aClass191_7032.method1433(0, i); - if (this.aClass191_7032.aBoolean2570) { - int i_11_ = 0; - int i_12_; - for (i_12_ = anInt9293 + Class239_Sub18.anIntArray6035[i]; i_12_ < 0; i_12_ += 4096) { - /* empty */ - } - for (/**/; i_12_ > 4096; i_12_ -= 4096) { - /* empty */ - } - for (/**/; i_11_ < anInt9301; i_11_++) { - if (i_12_ < anIntArray9297[i_11_]) break; - } - int i_13_ = -1 + i_11_; - boolean bool = (0x1 & i_11_) == 0; - int i_14_ = anIntArray9297[i_11_]; - int i_15_ = anIntArray9297[i_11_ - 1]; - if (anInt9298 + i_15_ < i_12_ && i_12_ < i_14_ - anInt9298) { - for (int i_16_ = 0; Class348_Sub40_Sub6.anInt9139 > i_16_; i_16_++) { - int i_17_ = 0; - int i_18_ = !bool ? -anInt9288 : anInt9288; - int i_19_; - for (i_19_ = (Class318_Sub6.anIntArray6432[i_16_] + (i_18_ * anInt9291 >> 12)); i_19_ < 0; i_19_ += 4096) { - /* empty */ - } - for (/**/; i_19_ > 4096; i_19_ -= 4096) { - /* empty */ - } - for (/**/; i_17_ < anInt9299; i_17_++) { - if (anIntArrayArray9287[i_13_][i_17_] > i_19_) break; - } - int i_20_ = i_17_ - 1; - int i_21_ = anIntArrayArray9287[i_13_][i_20_]; - int i_22_ = anIntArrayArray9287[i_13_][i_17_]; - if (anInt9298 + i_21_ >= i_19_ || i_19_ >= -anInt9298 + i_22_) is[i_16_] = 0; - else is[i_16_] = anIntArrayArray9286[i_13_][i_20_]; - } - } else Class214.method1579(is, 0, Class348_Sub40_Sub6.anInt9139, 0); - } - if (i_10_ != 255) method3110(44); - return is; - } - - static final void method3111(int i, int i_23_) { - anInt9290++; - if (i_23_ != Class348_Sub15.anInt6769) { - if (i < 18) aClass304_9303 = null; - Class367_Sub4.anInt7319 = Class348_Sub40_Sub3.anInt9109 = Class73.anIntArray4780[i_23_]; - Class290.method2196((byte) -9); - Class62.anIntArrayArrayArray1116 = (new int[4][Class367_Sub4.anInt7319 >> 3] - [Class348_Sub40_Sub3.anInt9109 >> 3]); - Class239_Sub8.anIntArrayArray5921 = (new int[Class367_Sub4.anInt7319] - [Class348_Sub40_Sub3.anInt9109]); - Class348_Sub42_Sub17.anIntArrayArray9678 = (new int[Class367_Sub4.anInt7319] - [Class348_Sub40_Sub3.anInt9109]); - for (int i_24_ = 0; i_24_ < 4; i_24_++) - Class348_Sub45.aClass361Array7108[i_24_] = Class105_Sub1.method988(Class348_Sub40_Sub3.anInt9109, 1, Class367_Sub4.anInt7319); - Class289.aByteArrayArrayArray3700 = (new byte[4][Class367_Sub4.anInt7319] - [Class348_Sub40_Sub3.anInt9109]); - Class239.method1717(19278, Class348_Sub40_Sub3.anInt9109, Class367_Sub4.anInt7319, 4); - Class97.method873(Class367_Sub4.anInt7319 >> 3, 21719, Class348_Sub8.aHa6654, Class348_Sub40_Sub3.anInt9109 >> 3); - Class348_Sub15.anInt6769 = i_23_; - } - } - - final void method3044(int i) { - if (i <= 108) method3111(-110, -119); - anInt9295++; - method3109((byte) -125); - } -} diff --git a/client/src/Class348_Sub40_Sub23.java b/client/src/Class348_Sub40_Sub23.java deleted file mode 100644 index 9155523c9..000000000 --- a/client/src/Class348_Sub40_Sub23.java +++ /dev/null @@ -1,347 +0,0 @@ -/* Class348_Sub40_Sub23 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.util.Random; - -final class Class348_Sub40_Sub23 extends Class348_Sub40 { - private int anInt9306; - static boolean aBoolean9307 = true; - static int anInt9308; - static int anInt9309; - private int anInt9310; - private int anInt9311 = 1024; - private int anInt9312 = 0; - static int anInt9313; - private int anInt9314; - static int anInt9315; - static int anInt9316; - private int anInt9317; - private int anInt9318; - static Class348_Sub22[] aClass348_Sub22Array9319 = new Class348_Sub22[1024]; - private int anInt9320; - static int anInt9321; - private int anInt9322; - private int anInt9323; - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_0_) { - anInt9308++; - if (i_0_ != 31015) aBoolean9307 = true; - int i_1_ = i; - while_196_: - do { - while_195_: - do { - while_194_: - do { - while_193_: - do { - while_192_: - do { - while_191_: - do { - while_190_: - do { - do { - if (i_1_ == 0) { - anInt9318 = class348_sub49.readUnsignedByte(255); - return; - } else if (i_1_ != 1) { - if (i_1_ != 2) { - if (i_1_ != 3) { - if (i_1_ != 4) { - if (i_1_ != 5) { - if (i_1_ != 6) { - if (i_1_ != 7) { - if (i_1_ == 8) break while_195_; - break while_196_; - } - } else break while_193_; - break while_194_; - } - } else break while_191_; - break while_192_; - } - } else break; - break while_190_; - } - anInt9317 = class348_sub49.readUnsignedShort(842397944); - return; - } while (false); - anInt9320 = class348_sub49.readUnsignedShort(842397944); - return; - } while (false); - anInt9322 = class348_sub49.readUnsignedShort(i_0_ ^ 0x323581df); - return; - } while (false); - anInt9323 = class348_sub49.readUnsignedShort(842397944); - return; - } while (false); - anInt9311 = class348_sub49.readUnsignedShort(842397944); - return; - } while (false); - anInt9312 = class348_sub49.readUnsignedByte(i_0_ ^ 0x79d8); - return; - } while (false); - anInt9314 = class348_sub49.readUnsignedShort(842397944); - return; - } while (false); - anInt9310 = class348_sub49.readUnsignedShort(842397944); - } while (false); - } - - final void method3044(int i) { - if (i >= 108) anInt9316++; - } - - private final void method3112(int i, int i_2_, int[][] is, Random random, int i_3_, int i_4_, int i_5_) { - try { - anInt9309++; - int i_6_ = (anInt9310 <= 0 ? 4096 : 4096 - Class124.method1097((byte) 117, anInt9310, random)); - int i_7_ = 88 % ((i - 57) / 55); - int i_8_ = anInt9306 * anInt9314 >> 12; - int i_9_ = (anInt9306 - (i_8_ > 0 ? Class124.method1097((byte) 82, i_8_, random) : 0)); - if (Class348_Sub40_Sub6.anInt9139 <= i_3_) i_3_ -= Class348_Sub40_Sub6.anInt9139; - if (i_9_ <= 0) { - if (Class348_Sub40_Sub6.anInt9139 < i_3_ + i_5_) { - int i_10_ = Class348_Sub40_Sub6.anInt9139 + -i_3_; - for (int i_11_ = 0; i_11_ < i_2_; i_11_++) { - int[] is_12_ = is[i_11_ + i_4_]; - Class214.method1579(is_12_, i_3_, i_10_, i_6_); - Class214.method1579(is_12_, 0, i_5_ - i_10_, i_6_); - } - } else { - for (int i_13_ = 0; i_2_ > i_13_; i_13_++) - Class214.method1579(is[i_13_ + i_4_], i_3_, i_5_, i_6_); - } - } else if (i_2_ > 0 && i_5_ > 0) { - int i_14_ = i_5_ / 2; - int i_15_ = i_2_ / 2; - int i_16_ = Math.min(i_14_, i_9_); - int i_17_ = Math.min(i_15_, i_9_); - int i_18_ = i_3_ - -i_16_; - int i_19_ = i_5_ - i_16_ * 2; - for (int i_20_ = 0; i_20_ < i_2_; i_20_++) { - int[] is_21_ = is[i_20_ - -i_4_]; - if (i_20_ < i_17_) { - int i_22_ = i_6_ * i_20_ / i_17_; - if (anInt9312 == 0) { - for (int i_23_ = 0; i_23_ < i_16_; i_23_++) { - int i_24_ = i_6_ * i_23_ / i_16_; - is_21_[Class139.method1166(i_23_ + i_3_, (Class239_Sub22.anInt6076))] = is_21_[(Class139.method1166(Class239_Sub22.anInt6076, i_3_ - (-i_5_ + (i_23_ - -1))))] = i_22_ * i_24_ >> 12; - } - } else { - for (int i_25_ = 0; i_16_ > i_25_; i_25_++) { - int i_26_ = i_6_ * i_25_ / i_16_; - is_21_[Class139.method1166((Class239_Sub22.anInt6076), i_25_ + i_3_)] = is_21_[(Class139.method1166(i_3_ - -i_5_ + (-i_25_ - 1), Class239_Sub22.anInt6076))] = Math.min(i_26_, i_22_); - } - } - if (Class348_Sub40_Sub6.anInt9139 >= i_19_ + i_18_) Class214.method1579(is_21_, i_18_, i_19_, i_22_); - else { - int i_27_ = -i_18_ + Class348_Sub40_Sub6.anInt9139; - Class214.method1579(is_21_, i_18_, i_27_, i_22_); - Class214.method1579(is_21_, 0, i_19_ - i_27_, i_22_); - } - } else { - int i_28_ = -1 + (-i_20_ + i_2_); - if (i_17_ > i_28_) { - int i_29_ = i_28_ * i_6_ / i_17_; - if (anInt9312 == 0) { - for (int i_30_ = 0; i_16_ > i_30_; i_30_++) { - int i_31_ = i_6_ * i_30_ / i_16_; - is_21_[Class139.method1166((Class239_Sub22.anInt6076), i_30_ + i_3_)] = is_21_[(Class139.method1166(Class239_Sub22.anInt6076, -1 + i_5_ + i_3_ - i_30_))] = i_31_ * i_29_ >> 12; - } - } else { - for (int i_32_ = 0; (i_16_ > i_32_); i_32_++) { - int i_33_ = i_32_ * i_6_ / i_16_; - is_21_[Class139.method1166((Class239_Sub22.anInt6076), i_3_ + i_32_)] = is_21_[(Class139.method1166(Class239_Sub22.anInt6076, -i_32_ + i_5_ + (i_3_ + -1)))] = Math.min(i_29_, i_33_); - } - } - if (i_19_ + i_18_ <= Class348_Sub40_Sub6.anInt9139) Class214.method1579(is_21_, i_18_, i_19_, i_29_); - else { - int i_34_ = -i_18_ + Class348_Sub40_Sub6.anInt9139; - Class214.method1579(is_21_, i_18_, i_34_, i_29_); - Class214.method1579(is_21_, 0, -i_34_ + i_19_, i_29_); - } - } else { - for (int i_35_ = 0; i_35_ < i_16_; i_35_++) - is_21_[Class139.method1166(i_35_ + i_3_, (Class239_Sub22.anInt6076))] = is_21_[(Class139.method1166(Class239_Sub22.anInt6076, -i_35_ + (i_3_ - (-i_5_ + 1))))] = i_6_ * i_35_ / i_16_; - if (Class348_Sub40_Sub6.anInt9139 >= i_18_ - -i_19_) Class214.method1579(is_21_, i_18_, i_19_, i_6_); - else { - int i_36_ = -i_18_ + Class348_Sub40_Sub6.anInt9139; - Class214.method1579(is_21_, i_18_, i_36_, i_6_); - Class214.method1579(is_21_, 0, i_19_ - i_36_, i_6_); - } - } - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("cc.C(" + i + ',' + i_2_ + ',' + (is != null ? "{...}" : "null") + ',' + (random != null ? "{...}" : "null") + ',' + i_3_ + ',' + i_4_ + ',' + i_5_ + ')')); - } - } - - static final String[] method3113(char c, boolean bool, String string) { - anInt9315++; - int i = Class15.method257(4, string, c); - String[] strings = new String[i - -1]; - int i_37_ = 0; - int i_38_ = 0; - if (bool != true) method3114((byte) -76); - for (int i_39_ = 0; i_39_ < i; i_39_++) { - int i_40_; - for (i_40_ = i_38_; string.charAt(i_40_) != c; i_40_++) { - /* empty */ - } - strings[i_37_++] = string.substring(i_38_, i_40_); - i_38_ = 1 + i_40_; - } - strings[i] = string.substring(i_38_); - return strings; - } - - public static void method3114(byte i) { - aClass348_Sub22Array9319 = null; - if (i > -63) method3114((byte) -91); - } - - public Class348_Sub40_Sub23() { - super(0, true); - anInt9310 = 1024; - anInt9314 = 1024; - anInt9318 = 0; - anInt9317 = 1024; - anInt9320 = 2048; - anInt9322 = 409; - anInt9323 = 819; - } - - final int[] method3042(int i, int i_41_) { - anInt9321++; - if (i_41_ != 255) anInt9312 = 113; - int[] is = this.aClass191_7032.method1433(0, i); - if (this.aClass191_7032.aBoolean2570) { - int[][] is_42_ = this.aClass191_7032.method1427((byte) 16); - int i_43_ = 0; - int i_44_ = 0; - int i_45_ = 0; - int i_46_ = 0; - int i_47_ = 0; - boolean bool = true; - boolean bool_48_ = true; - int i_49_ = 0; - int i_50_ = 0; - int i_51_ = anInt9317 * Class348_Sub40_Sub6.anInt9139 >> 12; - int i_52_ = Class348_Sub40_Sub6.anInt9139 * anInt9320 >> 12; - int i_53_ = anInt9322 * Class286_Sub2.anInt6212 >> 12; - int i_54_ = Class286_Sub2.anInt6212 * anInt9323 >> 12; - if (i_54_ <= 1) return is_42_[i]; - anInt9306 = Class348_Sub40_Sub6.anInt9139 / 8 * anInt9311 >> 12; - int i_55_ = 1 + Class348_Sub40_Sub6.anInt9139 / i_51_; - int[][] is_56_ = new int[i_55_][3]; - int[][] is_57_ = new int[i_55_][3]; - Random random = new Random(anInt9318); - for (; ; ) { - int i_58_ = i_51_ + Class124.method1097((byte) 106, i_52_ - i_51_, random); - int i_59_ = (Class124.method1097((byte) 117, -i_53_ + i_54_, random) + i_53_); - int i_60_ = i_46_ + i_58_; - if (i_60_ > Class348_Sub40_Sub6.anInt9139) { - i_60_ = Class348_Sub40_Sub6.anInt9139; - i_58_ = Class348_Sub40_Sub6.anInt9139 - i_46_; - } - int i_61_; - if (bool_48_) i_61_ = 0; - else { - int i_62_ = i_47_; - int[] is_63_ = is_57_[i_47_]; - int i_64_ = 0; - int i_65_ = i_43_ + i_60_; - if (i_65_ < 0) i_65_ += Class348_Sub40_Sub6.anInt9139; - if (i_65_ > Class348_Sub40_Sub6.anInt9139) i_65_ -= Class348_Sub40_Sub6.anInt9139; - for (; ; ) { - int[] is_66_ = is_57_[i_62_]; - if (i_65_ >= is_66_[0] && is_66_[1] >= i_65_) break; - if (i_49_ <= ++i_62_) i_62_ = 0; - i_64_++; - } - i_61_ = is_63_[2]; - if (i_62_ != i_47_) { - int i_67_ = i_46_ - -i_43_; - if (i_67_ < 0) i_67_ += Class348_Sub40_Sub6.anInt9139; - if (Class348_Sub40_Sub6.anInt9139 < i_67_) i_67_ -= Class348_Sub40_Sub6.anInt9139; - for (int i_68_ = 1; i_64_ >= i_68_; i_68_++) { - int[] is_69_ = is_57_[(i_68_ + i_47_) % i_49_]; - i_61_ = Math.max(i_61_, is_69_[2]); - } - for (int i_70_ = 0; i_70_ <= i_64_; i_70_++) { - int[] is_71_ = is_57_[(i_47_ - -i_70_) % i_49_]; - int i_72_ = is_71_[2]; - if (i_61_ != i_72_) { - int i_73_ = is_71_[0]; - int i_74_ = is_71_[1]; - int i_75_; - int i_76_; - if (i_67_ >= i_65_) { - if (i_73_ == 0) { - i_75_ = 0; - i_76_ = Math.min(i_65_, i_74_); - } else { - i_75_ = Math.max(i_67_, i_73_); - i_76_ = Class348_Sub40_Sub6.anInt9139; - } - } else { - i_75_ = Math.max(i_67_, i_73_); - i_76_ = Math.min(i_65_, i_74_); - } - method3112(124, i_61_ - i_72_, is_42_, random, i_45_ + i_75_, i_72_, -i_75_ + i_76_); - } - } - } - i_47_ = i_62_; - } - if (Class286_Sub2.anInt6212 >= i_59_ + i_61_) bool = false; - else i_59_ = -i_61_ + Class286_Sub2.anInt6212; - if (i_60_ == Class348_Sub40_Sub6.anInt9139) { - method3112(-59, i_59_, is_42_, random, i_46_ + i_44_, i_61_, i_58_); - if (bool) break; - bool = true; - int[] is_78_ = is_56_[i_50_++]; - is_78_[1] = i_60_; - is_78_[2] = i_59_ + i_61_; - is_78_[0] = i_46_; - int[][] is_79_ = is_57_; - is_57_ = is_56_; - is_56_ = is_79_; - i_49_ = i_50_; - i_45_ = i_44_; - i_50_ = 0; - i_44_ = Class124.method1097((byte) 113, Class348_Sub40_Sub6.anInt9139, random); - i_43_ = -i_45_ + i_44_; - i_46_ = 0; - int i_80_ = i_43_; - if (i_80_ < 0) i_80_ += Class348_Sub40_Sub6.anInt9139; - i_47_ = 0; - if (i_80_ > Class348_Sub40_Sub6.anInt9139) i_80_ -= Class348_Sub40_Sub6.anInt9139; - bool_48_ = false; - for (; ; ) { - int[] is_81_ = is_57_[i_47_]; - if (i_80_ >= is_81_[0] && i_80_ <= is_81_[1]) break; - if (i_49_ <= ++i_47_) i_47_ = 0; - } - } else { - int[] is_77_ = is_56_[i_50_++]; - is_77_[1] = i_60_; - is_77_[0] = i_46_; - is_77_[2] = i_59_ + i_61_; - method3112(112, i_59_, is_42_, random, i_46_ + i_44_, i_61_, i_58_); - i_46_ = i_60_; - } - } - } - return is; - } - - static { - anInt9313 = 0; - } -} diff --git a/client/src/Class348_Sub40_Sub24.java b/client/src/Class348_Sub40_Sub24.java deleted file mode 100644 index 13ef84258..000000000 --- a/client/src/Class348_Sub40_Sub24.java +++ /dev/null @@ -1,118 +0,0 @@ -/* Class348_Sub40_Sub24 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub24 extends Class348_Sub40 { - static Class114 aClass114_9324 = new Class114(85, 4); - private int anInt9325 = 0; - static int anInt9326; - static int anInt9327 = 0; - static int anInt9328; - private int anInt9329 = 10; - static int anInt9330; - static int anInt9331; - private int[] anIntArray9332; - private int[] anIntArray9333; - private int anInt9334 = 2048; - - final int[] method3042(int i, int i_0_) { - if (i_0_ != 255) anIntArray9333 = null; - anInt9328++; - int[] is = this.aClass191_7032.method1433(0, i); - if (this.aClass191_7032.aBoolean2570) { - int i_1_ = Class239_Sub18.anIntArray6035[i]; - if (anInt9325 == 0) { - int i_7_ = 0; - for (int i_8_ = 0; i_8_ < anInt9329; i_8_++) { - if (i_1_ >= anIntArray9332[i_8_] && (i_1_ < anIntArray9332[i_8_ + 1])) { - if (anIntArray9333[i_8_] > i_1_) i_7_ = 4096; - break; - } - } - Class214.method1579(is, 0, Class348_Sub40_Sub6.anInt9139, i_7_); - } else { - for (int i_2_ = 0; i_2_ < Class348_Sub40_Sub6.anInt9139; i_2_++) { - int i_3_ = 0; - int i_4_ = 0; - int i_5_ = Class318_Sub6.anIntArray6432[i_2_]; - int i_6_ = anInt9325; - while_197_: - do { - do { - if (i_6_ == 1) { - i_3_ = i_5_; - break while_197_; - } else if (i_6_ != 2) { - if (i_6_ == 3) break; - break while_197_; - } - i_3_ = ((i_5_ + (-4096 - -i_1_) >> 1) + 2048); - break while_197_; - } while (false); - i_3_ = 2048 + (i_5_ - i_1_ >> 1); - } while (false); - for (i_6_ = 0; i_6_ < anInt9329; i_6_++) { - if (i_3_ >= anIntArray9332[i_6_] && i_3_ < anIntArray9332[1 + i_6_]) { - if (i_3_ < anIntArray9333[i_6_]) i_4_ = 4096; - break; - } - } - is[i_2_] = i_4_; - } - } - } - return is; - } - - final void method3044(int i) { - if (i < 108) method3049(null, -68, -1); - anInt9330++; - method3116((byte) -111); - } - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_9_) { - anInt9331++; - int i_10_ = i; - while_198_: - do { - do { - if (i_10_ == 0) { - anInt9329 = class348_sub49.readUnsignedByte(255); - break while_198_; - } else if (i_10_ != 1) { - if (i_10_ == 2) break; - break while_198_; - } - anInt9334 = class348_sub49.readUnsignedShort(842397944); - break while_198_; - } while (false); - anInt9325 = class348_sub49.readUnsignedByte(i_9_ ^ 0x79d8); - } while (false); - if (i_9_ != 31015) method3049(null, 38, 1); - } - - public static void method3115(int i) { - if (i <= -72) aClass114_9324 = null; - } - - private final void method3116(byte i) { - anInt9326++; - int i_11_ = 0; - anIntArray9333 = new int[anInt9329 - -1]; - anIntArray9332 = new int[anInt9329 - -1]; - int i_12_ = 4096 / anInt9329; - int i_13_ = i_12_ * anInt9334 >> 12; - for (int i_14_ = 0; anInt9329 > i_14_; i_14_++) { - anIntArray9332[i_14_] = i_11_; - anIntArray9333[i_14_] = i_13_ + i_11_; - i_11_ += i_12_; - } - if (i != -111) anIntArray9332 = null; - anIntArray9332[anInt9329] = 4096; - anIntArray9333[anInt9329] = 4096 - -anIntArray9333[0]; - } - - public Class348_Sub40_Sub24() { - super(0, true); - } -} diff --git a/client/src/Class348_Sub40_Sub25.java b/client/src/Class348_Sub40_Sub25.java deleted file mode 100644 index 5f2ed927e..000000000 --- a/client/src/Class348_Sub40_Sub25.java +++ /dev/null @@ -1,79 +0,0 @@ -/* Class348_Sub40_Sub25 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub25 extends Class348_Sub40 { - static int anInt9335 = -1; - static int anInt9336; - static int anInt9337; - private int anInt9338 = 0; - private int anInt9339 = 0; - private int anInt9340 = 1365; - static int anInt9341 = 0; - static Class150 aClass150_9342; - private int anInt9343 = 20; - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_0_) { - if (i_0_ != 31015) method3049(null, 44, 80); - int i_1_ = i; - while_200_: - do { - while_199_: - do { - do { - if (i_1_ == 0) { - anInt9340 = class348_sub49.readUnsignedShort(842397944); - break while_200_; - } else if (i_1_ != 1) { - if (i_1_ != 2) { - if (i_1_ != 3) break while_200_; - } else break; - break while_199_; - } - anInt9343 = class348_sub49.readUnsignedShort(i_0_ + 842366929); - break while_200_; - } while (false); - anInt9339 = class348_sub49.readUnsignedShort(i_0_ + 842366929); - break while_200_; - } while (false); - anInt9338 = class348_sub49.readUnsignedShort(842397944); - } while (false); - anInt9337++; - } - - final int[] method3042(int i, int i_2_) { - anInt9336++; - int[] is = this.aClass191_7032.method1433(0, i); - if (i_2_ != 255) return null; - if (this.aClass191_7032.aBoolean2570) { - for (int i_3_ = 0; i_3_ < Class348_Sub40_Sub6.anInt9139; i_3_++) { - int i_4_ = anInt9339 + (Class318_Sub6.anIntArray6432[i_3_] << 12) / anInt9340; - int i_5_ = anInt9338 + (Class239_Sub18.anIntArray6035[i] << 12) / anInt9340; - int i_6_ = i_4_; - int i_7_ = i_5_; - int i_8_ = i_4_; - int i_9_ = i_5_; - int i_10_ = i_4_ * i_4_ >> 12; - int i_11_ = i_5_ * i_5_ >> 12; - int i_12_; - for (i_12_ = 0; (i_11_ + i_10_ < 16384 && anInt9343 > i_12_); i_10_ = i_8_ * i_8_ >> 12) { - i_9_ = i_7_ + 2 * (i_9_ * i_8_ >> 12); - i_8_ = i_6_ + i_10_ - i_11_; - i_12_++; - i_11_ = i_9_ * i_9_ >> 12; - } - is[i_3_] = (i_12_ >= anInt9343 - 1 ? 0 : (i_12_ << 12) / anInt9343); - } - } - return is; - } - - public static void method3117(int i) { - aClass150_9342 = null; - if (i < 10) anInt9335 = 113; - } - - public Class348_Sub40_Sub25() { - super(0, true); - } -} diff --git a/client/src/Class348_Sub40_Sub26.java b/client/src/Class348_Sub40_Sub26.java deleted file mode 100644 index 404afe122..000000000 --- a/client/src/Class348_Sub40_Sub26.java +++ /dev/null @@ -1,138 +0,0 @@ -/* Class348_Sub40_Sub26 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub26 extends Class348_Sub40 { - private int anInt9344 = 4096; - static int anInt9345; - static int anInt9346 = 0; - private int anInt9347 = 4096; - static int anInt9348; - static int anInt9349; - static int anInt9350; - static boolean[] aBooleanArray9351; - static boolean aBoolean9352 = true; - static int anInt9353; - private int anInt9354 = 4096; - static int anInt9355; - - public static void method3118(byte i) { - aBooleanArray9351 = null; - int i_0_ = 37 / ((28 - i) / 61); - } - - static final boolean method3119(int i, int i_1_, int i_2_) { - if (i_1_ <= 39) method3119(-106, 118, -21); - anInt9355++; - return (i & 0xc580) != 0; - } - - final int[][] method3047(int i, int i_3_) { - if (i_3_ != -1564599039) return null; - anInt9353++; - int[][] is = this.aClass322_7033.method2557(i_3_ + 1564598957, i); - if (this.aClass322_7033.aBoolean4035) { - int[][] is_4_ = this.method3039((byte) -60, i, 0); - int[] is_5_ = is_4_[0]; - int[] is_6_ = is_4_[1]; - int[] is_7_ = is_4_[2]; - int[] is_8_ = is[0]; - int[] is_9_ = is[1]; - int[] is_10_ = is[2]; - for (int i_11_ = 0; (i_11_ < Class348_Sub40_Sub6.anInt9139); i_11_++) { - int i_12_ = is_5_[i_11_]; - int i_13_ = is_7_[i_11_]; - int i_14_ = is_6_[i_11_]; - if (i_13_ != i_12_ || i_13_ != i_14_) { - is_8_[i_11_] = anInt9344; - is_9_[i_11_] = anInt9354; - is_10_[i_11_] = anInt9347; - } else { - is_8_[i_11_] = i_12_ * anInt9344 >> 12; - is_9_[i_11_] = anInt9354 * i_13_ >> 12; - is_10_[i_11_] = anInt9347 * i_14_ >> 12; - } - } - } - return is; - } - - static final void method3120(int i) { - Class312.anInt3931 = 0; - anInt9345++; - int i_15_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -118); - int i_16_ = Class299.aClass348_Sub49_Sub2_3813.readShortAddLittle(-117); - int i_17_ = Class299.aClass348_Sub49_Sub2_3813.readShortLittle(false); - boolean bool = (Class299.aClass348_Sub49_Sub2_3813.readByteInverse((byte) 21) == 1); - - Class322.method2554((byte) -45); - Class348_Sub40_Sub22.method3111(111, i_15_); - int i_18_ = (-Class299.aClass348_Sub49_Sub2_3813.anInt7197 + Class348_Sub40_Sub25.anInt9341) / 16; - Class239_Sub6.anIntArrayArray5894 = new int[i_18_][4]; - for (int i_19_ = 0; i_19_ < i_18_; i_19_++) { - for (int i_20_ = 0; i_20_ < 4; i_20_++) - Class239_Sub6.anIntArrayArray5894[i_19_][i_20_] = Class299.aClass348_Sub49_Sub2_3813.readInt((byte) -126); - } - Class348_Sub23_Sub1.aByteArrayArray8996 = new byte[i_18_][]; - Class129.aByteArrayArray1887 = new byte[i_18_][]; - aa_Sub1.anIntArray5192 = new int[i_18_]; - Class14_Sub4.aByteArrayArray8642 = new byte[i_18_][]; - Applet_Sub1.anIntArray38 = new int[i_18_]; - Class348_Sub50.aByteArrayArray7212 = null; - r.anIntArray9724 = new int[i_18_]; - Class322.anIntArray4031 = null; - Class347.aByteArrayArray4281 = new byte[i_18_][]; - if (i >= -47) anInt9349 = -54; - Class295.anIntArray3759 = new int[i_18_]; - Class348_Sub23_Sub3.anIntArray9042 = new int[i_18_]; - i_18_ = 0; - for (int i_21_ = (-(Class367_Sub4.anInt7319 >> 4) + i_17_) / 8; i_21_ <= (i_17_ + (Class367_Sub4.anInt7319 >> 4)) / 8; i_21_++) { - for (int i_22_ = (i_16_ - (Class348_Sub40_Sub3.anInt9109 >> 4)) / 8; (i_22_ <= ((Class348_Sub40_Sub3.anInt9109 >> 4) + i_16_) / 8); i_22_++) { - Class348_Sub23_Sub3.anIntArray9042[i_18_] = i_22_ + (i_21_ << 8); - aa_Sub1.anIntArray5192[i_18_] = Class367_Sub10.aClass45_7382.method417("m" + i_21_ + "_" + i_22_, 0); - Applet_Sub1.anIntArray38[i_18_] = Class367_Sub10.aClass45_7382.method417("l" + i_21_ + "_" + i_22_, 0); - Class295.anIntArray3759[i_18_] = Class367_Sub10.aClass45_7382.method417("um" + i_21_ + "_" + i_22_, 0); - r.anIntArray9724[i_18_] = Class367_Sub10.aClass45_7382.method417("ul" + i_21_ + "_" + i_22_, 0); - i_18_++; - } - } - Class348_Sub41.method3157(i_16_, (byte) 123, i_17_, 11, bool); - } - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_23_) { - do { - try { - int i_24_ = i; - while_201_: - do { - do { - if (i_24_ == 0) { - anInt9344 = class348_sub49.readUnsignedShort(i_23_ + 842366929); - break while_201_; - } else if (i_24_ != 1) { - if (i_24_ == 2) break; - break while_201_; - } - anInt9354 = class348_sub49.readUnsignedShort(842397944); - break while_201_; - } while (false); - anInt9347 = class348_sub49.readUnsignedShort(842397944); - } while (false); - anInt9350++; - if (i_23_ == 31015) break; - method3118((byte) 96); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("uf.F(" + (class348_sub49 != null ? "{...}" : "null") + ',' + i + ',' + i_23_ + ')')); - } - break; - } while (false); - } - - public Class348_Sub40_Sub26() { - super(1, false); - } - - static { - aBooleanArray9351 = new boolean[8]; - } -} diff --git a/client/src/Class348_Sub40_Sub27.java b/client/src/Class348_Sub40_Sub27.java deleted file mode 100644 index 981e3919b..000000000 --- a/client/src/Class348_Sub40_Sub27.java +++ /dev/null @@ -1,85 +0,0 @@ -/* Class348_Sub40_Sub27 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.datatransfer.Clipboard; - -final class Class348_Sub40_Sub27 extends Class348_Sub40 { - static int anInt9356; - static Clipboard aClipboard9357; - static int anInt9358; - static int anInt9359; - static int anInt9360; - - final int[][] method3047(int i, int i_0_) { - if (i_0_ != -1564599039) return null; - anInt9356++; - int[][] is = this.aClass322_7033.method2557(-90, i); - if (this.aClass322_7033.aBoolean4035) { - int[] is_1_ = this.method3048(i, i_0_ + -2096661920, 2); - int[][] is_2_ = this.method3039((byte) -74, i, 0); - int[][] is_3_ = this.method3039((byte) -58, i, 1); - int[] is_4_ = is[0]; - int[] is_5_ = is[1]; - int[] is_6_ = is[2]; - int[] is_7_ = is_2_[0]; - int[] is_8_ = is_2_[1]; - int[] is_9_ = is_2_[2]; - int[] is_10_ = is_3_[0]; - int[] is_11_ = is_3_[1]; - int[] is_12_ = is_3_[2]; - for (int i_13_ = 0; (i_13_ < Class348_Sub40_Sub6.anInt9139); i_13_++) { - int i_14_ = is_1_[i_13_]; - if (i_14_ == 4096) { - is_4_[i_13_] = is_7_[i_13_]; - is_5_[i_13_] = is_8_[i_13_]; - is_6_[i_13_] = is_9_[i_13_]; - } else if (i_14_ == 0) { - is_4_[i_13_] = is_10_[i_13_]; - is_5_[i_13_] = is_11_[i_13_]; - is_6_[i_13_] = is_12_[i_13_]; - } else { - int i_15_ = 4096 + -i_14_; - is_4_[i_13_] = (is_10_[i_13_] * i_15_ + is_7_[i_13_] * i_14_ >> 12); - is_5_[i_13_] = (is_11_[i_13_] * i_15_ + is_8_[i_13_] * i_14_ >> 12); - is_6_[i_13_] = (is_9_[i_13_] * i_14_ - -(is_12_[i_13_] * i_15_) >> 12); - } - } - } - return is; - } - - final int[] method3042(int i, int i_16_) { - if (i_16_ != 255) return null; - anInt9359++; - int[] is = this.aClass191_7032.method1433(0, i); - if (this.aClass191_7032.aBoolean2570) { - int[] is_17_ = this.method3048(i, i_16_ ^ 0x25c5979e, 0); - int[] is_18_ = this.method3048(i, 633706337, 1); - int[] is_19_ = this.method3048(i, i_16_ + 633706082, 2); - for (int i_20_ = 0; Class348_Sub40_Sub6.anInt9139 > i_20_; i_20_++) { - int i_21_ = is_19_[i_20_]; - if (i_21_ != 4096) { - if (i_21_ == 0) is[i_20_] = is_18_[i_20_]; - else is[i_20_] = (i_21_ * is_17_[i_20_] - -(is_18_[i_20_] * (-i_21_ + 4096)) >> 12); - } else is[i_20_] = is_17_[i_20_]; - } - } - return is; - } - - public static void method3121(byte i) { - aClipboard9357 = null; - if (i <= 21) aClipboard9357 = null; - } - - public Class348_Sub40_Sub27() { - super(3, false); - } - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_22_) { - anInt9358++; - if (i_22_ != 31015) anInt9360 = -16; - if (i == 0) this.aBoolean7045 = class348_sub49.readUnsignedByte(255) == 1; - } -} diff --git a/client/src/Class348_Sub40_Sub28.java b/client/src/Class348_Sub40_Sub28.java deleted file mode 100644 index 8e82ac978..000000000 --- a/client/src/Class348_Sub40_Sub28.java +++ /dev/null @@ -1,140 +0,0 @@ -/* Class348_Sub40_Sub28 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.util.Random; - -final class Class348_Sub40_Sub28 extends Class348_Sub40 { - static int anInt9361; - private int anInt9362; - static int anInt9363; - private int anInt9364 = 4096; - static Class45 aClass45_9365; - static int anInt9366; - private int anInt9367; - private int anInt9368 = 16; - private int anInt9369 = 0; - static int anInt9370; - - final void method3044(int i) { - anInt9363++; - Class220.method1605(26188); - if (i < 108) method3122((byte) -111); - } - - static final Class364[] method3122(byte i) { - if (i < 86) aClass45_9365 = null; - anInt9361++; - return (new Class364[]{Class55_Sub1.aClass364_5271, Class367_Sub8.aClass364_7361, Class26.aClass364_382, Class108.aClass364_1657, Class76.aClass364_1279, Class342.aClass364_4246}); - } - - public static void method3123(int i) { - aClass45_9365 = null; - if (i != 0) method3122((byte) -98); - } - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_0_) { - anInt9370++; - if (i_0_ != 31015) anInt9364 = -29; - int i_1_ = i; - while_204_: - do { - while_203_: - do { - while_202_: - do { - do { - if (i_1_ == 0) { - anInt9367 = class348_sub49.readUnsignedByte(255); - return; - } else if (i_1_ != 1) { - if (i_1_ != 2) { - if (i_1_ != 3) { - if (i_1_ == 4) break while_203_; - break while_204_; - } - } else break; - break while_202_; - } - anInt9362 = class348_sub49.readUnsignedShort(842397944); - return; - } while (false); - anInt9368 = class348_sub49.readUnsignedByte(255); - return; - } while (false); - anInt9369 = class348_sub49.readUnsignedShort(842397944); - return; - } while (false); - anInt9364 = class348_sub49.readUnsignedShort(842397944); - } while (false); - } - - final int[] method3042(int i, int i_2_) { - anInt9366++; - if (i_2_ != 255) method3044(-48); - int[] is = this.aClass191_7032.method1433(0, i); - if (this.aClass191_7032.aBoolean2570) { - int i_3_ = anInt9364 >> 1; - int[][] is_4_ = this.aClass191_7032.method1427((byte) 16); - Random random = new Random(anInt9367); - for (int i_5_ = 0; anInt9362 > i_5_; i_5_++) { - int i_6_ = (anInt9364 > 0 ? anInt9369 + Class124.method1097((byte) 92, anInt9364, random) + -i_3_ : anInt9369); - i_6_ = i_6_ >> 4 & 0xff; - int i_7_ = Class124.method1097((byte) 81, Class348_Sub40_Sub6.anInt9139, random); - int i_8_ = Class124.method1097((byte) 123, Class286_Sub2.anInt6212, random); - int i_9_ = i_7_ - -(anInt9368 * Class127.anIntArray4654[i_6_] >> 12); - int i_10_ = ((Class235.anIntArray3068[i_6_] * anInt9368 >> 12) + i_8_); - int i_11_ = -i_8_ + i_10_; - int i_12_ = -i_7_ + i_9_; - if (i_12_ != 0 || i_11_ != 0) { - if (i_11_ < 0) i_11_ = -i_11_; - if (i_12_ < 0) i_12_ = -i_12_; - boolean bool = i_12_ < i_11_; - if (bool) { - int i_13_ = i_7_; - int i_14_ = i_9_; - i_7_ = i_8_; - i_8_ = i_13_; - i_9_ = i_10_; - i_10_ = i_14_; - } - if (i_9_ < i_7_) { - int i_15_ = i_7_; - i_7_ = i_9_; - int i_16_ = i_8_; - i_9_ = i_15_; - i_8_ = i_10_; - i_10_ = i_16_; - } - int i_17_ = i_8_; - int i_18_ = -i_7_ + i_9_; - int i_19_ = -i_8_ + i_10_; - int i_20_ = -i_18_ / 2; - int i_21_ = 2048 / i_18_; - int i_22_ = 1024 - (Class124.method1097((byte) 90, 4096, random) >> 2); - if (i_19_ < 0) i_19_ = -i_19_; - int i_23_ = i_10_ <= i_8_ ? -1 : 1; - for (int i_24_ = i_7_; i_24_ < i_9_; i_24_++) { - int i_25_ = (i_24_ - i_7_) * i_21_ + (i_22_ + 1024); - int i_26_ = Class239_Sub22.anInt6076 & i_24_; - int i_27_ = i_17_ & Class299_Sub2.anInt6325; - if (bool) is_4_[i_27_][i_26_] = i_25_; - else is_4_[i_26_][i_27_] = i_25_; - i_20_ += i_19_; - if (i_20_ > 0) { - i_17_ -= -i_23_; - i_20_ = -i_18_ + i_20_; - } - } - } - } - } - return is; - } - - public Class348_Sub40_Sub28() { - super(0, true); - anInt9362 = 2000; - anInt9367 = 0; - } -} diff --git a/client/src/Class348_Sub40_Sub29.java b/client/src/Class348_Sub40_Sub29.java deleted file mode 100644 index 0d9e97869..000000000 --- a/client/src/Class348_Sub40_Sub29.java +++ /dev/null @@ -1,454 +0,0 @@ -/* Class348_Sub40_Sub29 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub29 extends Class348_Sub40 { - static int anInt9371; - static int anInt9372 = 1; - static int anInt9373; - private int anInt9374; - private int[] anIntArray9375; - static int anInt9376; - static int anInt9377; - static int anInt9378; - private int anInt9379; - private int anInt9380 = -1; - static int anInt9381; - static int anInt9382; - - final int[][] method3047(int i, int i_0_) { - if (i_0_ != -1564599039) return null; - anInt9378++; - int[][] is = this.aClass322_7033.method2557(-94, i); - if (this.aClass322_7033.aBoolean4035) { - int i_1_ = (anInt9374 * (Class286_Sub2.anInt6212 == anInt9379 ? i : anInt9379 * i / Class286_Sub2.anInt6212)); - int[] is_2_ = is[0]; - int[] is_3_ = is[1]; - int[] is_4_ = is[2]; - if (Class348_Sub40_Sub6.anInt9139 == anInt9374) { - for (int i_8_ = 0; (Class348_Sub40_Sub6.anInt9139 > i_8_); i_8_++) { - int i_9_ = anIntArray9375[i_1_++]; - is_4_[i_8_] = Class139.method1166(255, i_9_) << 4; - is_3_[i_8_] = Class139.method1166(i_9_ >> 4, 4080); - is_2_[i_8_] = Class139.method1166(16711680, i_9_) >> 12; - } - } else { - for (int i_5_ = 0; i_5_ < Class348_Sub40_Sub6.anInt9139; i_5_++) { - int i_6_ = anInt9374 * i_5_ / Class348_Sub40_Sub6.anInt9139; - int i_7_ = anIntArray9375[i_6_ + i_1_]; - is_4_[i_5_] = Class139.method1166(i_7_, 255) << 4; - is_3_[i_5_] = Class139.method1166(65280, i_7_) >> 4; - is_2_[i_5_] = Class139.method1166(i_7_ >> 12, 4080); - } - } - } - return is; - } - - final void method3045(int i, int i_10_, int i_11_) { - super.method3045(i, i_10_, i_11_); - anInt9382++; - if (anInt9380 >= 0 && Class286_Sub5.aD6247 != null) { - int i_12_ = (!(Class286_Sub5.aD6247.method3(anInt9380, -6662).aBoolean199) ? 128 : 64); - anIntArray9375 = Class286_Sub5.aD6247.method5(false, anInt9380, 1.0F, i_12_, i_12_, -123); - anInt9379 = i_12_; - anInt9374 = i_12_; - } - } - - public Class348_Sub40_Sub29() { - super(0, false); - } - - final void method3046(byte i) { - if (i >= -102) anInt9374 = -104; - anInt9373++; - super.method3046((byte) -107); - anIntArray9375 = null; - } - - static final boolean method3124(int i, byte i_13_, int i_14_) { - anInt9371++; - if (i_13_ > -55) method3124(-76, (byte) -110, -59); - return (i_14_ & 0x40000) != 0 | Class348_Sub23_Sub4.method2985(-31735, i, i_14_) || Class348_Sub42_Sub8_Sub2.method3200(i_14_, i, (byte) -120); - } - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_15_) { - if (i_15_ == 31015) { - if (i == 0) anInt9380 = class348_sub49.readUnsignedShort(842397944); - anInt9376++; - } - } - - static final boolean method3125(int i, int i_16_, int i_17_, int i_18_, int i_19_, byte i_20_, int i_21_, int i_22_, int i_23_, int i_24_) { - anInt9377++; - if (i_16_ > 2000 || i_21_ > 2000 || i_24_ > 2000 || i_23_ > 2000 || i_17_ > 2000 || i > 2000) return false; - if (i_16_ < -2000 || i_21_ < -2000 || i_24_ < -2000 || i_23_ < -2000 || i_17_ < -2000 || i < -2000) return false; - if (Class350.anInt4319 == 2) { - int i_25_ = i_23_ + i_16_ * Class306.anInt3872; - if (i_25_ >= 0 && Class14.anIntArray5091.length > i_25_ && Class14.anIntArray5091[i_25_] > -38400 + (i_22_ << 8)) return false; - i_25_ = i_17_ + i_21_ * Class306.anInt3872; - if (i_25_ >= 0 && Class14.anIntArray5091.length > i_25_ && ((i_19_ << 8) + -38400 < Class14.anIntArray5091[i_25_])) return false; - i_25_ = i + i_24_ * Class306.anInt3872; - if (i_25_ >= 0 && Class14.anIntArray5091.length > i_25_ && (Class14.anIntArray5091[i_25_] > (i_18_ << 8) - 38400)) return false; - } - int i_26_ = -i_23_ + i_17_; - int i_27_ = i_21_ - i_16_; - int i_28_ = -i_23_ + i; - int i_29_ = -i_16_ + i_24_; - int i_30_ = -i_22_ + i_19_; - if (i_16_ < i_21_ && i_24_ > i_24_) { - i_16_--; - if (i_24_ < i_21_) i_21_++; - else i_24_++; - } else if (i_21_ >= i_24_) { - i_24_--; - if (i_21_ < i_16_) i_16_++; - else i_21_++; - } else { - i_21_--; - if (i_16_ > i_24_) i_16_++; - else i_24_++; - } - int i_31_ = -i_22_ + i_18_; - int i_32_ = 0; - if (i_21_ != i_16_) i_32_ = (i_17_ - i_23_ << 12) / (i_21_ - i_16_); - int i_33_ = 0; - if (i_21_ != i_24_) i_33_ = (-i_17_ + i << 12) / (i_24_ + -i_21_); - if (i_20_ >= -7) anInt9372 = 8; - int i_34_ = 0; - if (i_24_ != i_16_) i_34_ = (i_23_ + -i << 12) / (i_16_ - i_24_); - int i_35_ = -(i_27_ * i_28_) + i_29_ * i_26_; - if (i_35_ == 0) return false; - int i_36_ = (-(i_31_ * i_27_) + i_30_ * i_29_ << 8) / i_35_; - int i_37_ = (i_26_ * i_31_ + -(i_30_ * i_28_) << 8) / i_35_; - if (i_16_ > i_21_ || i_24_ < i_16_) { - if (i_24_ < i_21_) { - if (Class86.anInt1480 <= i_24_) return true; - i_18_ = -(i_36_ * i) + ((i_18_ << 8) - -i_36_); - if (Class86.anInt1480 < i_16_) i_16_ = Class86.anInt1480; - if (Class86.anInt1480 < i_21_) i_21_ = Class86.anInt1480; - if (i_21_ > i_16_) { - i_17_ = i <<= -1549996884; - i_23_ <<= 869809292; - if (i_24_ < 0) { - i_18_ -= i_24_ * i_37_; - i -= i_34_ * i_24_; - i_17_ -= i_24_ * i_33_; - i_24_ = 0; - } - if (i_16_ < 0) { - i_23_ -= i_16_ * i_32_; - i_16_ = 0; - } - if (i_34_ > i_33_) { - i_21_ -= i_16_; - i_16_ -= i_24_; - i_24_ *= Class306.anInt3872; - while (--i_16_ >= 0) { - if (!Class76.method771(i_36_, (byte) -25, i_18_, 0, 1 + (i >> 12), (i_17_ >> 12) - 1, Class14.anIntArray5091, i_24_)) return false; - i_24_ += Class306.anInt3872; - i += i_34_; - i_17_ += i_33_; - i_18_ += i_37_; - } - while (--i_21_ >= 0) { - if (!Class76.method771(i_36_, (byte) -25, i_18_, 0, 1 + (i_23_ >> 12), -1 + (i_17_ >> 12), Class14.anIntArray5091, i_24_)) return false; - i_24_ += Class306.anInt3872; - i_23_ += i_32_; - i_18_ += i_37_; - i_17_ += i_33_; - } - return true; - } - i_21_ -= i_16_; - i_16_ -= i_24_; - i_24_ *= Class306.anInt3872; - while (--i_16_ >= 0) { - if (!Class76.method771(i_36_, (byte) -25, i_18_, 0, (i_17_ >> 12) + 1, -1 + (i >> 12), Class14.anIntArray5091, i_24_)) return false; - i_18_ += i_37_; - i_17_ += i_33_; - i_24_ += Class306.anInt3872; - i += i_34_; - } - while (--i_21_ >= 0) { - if (!Class76.method771(i_36_, (byte) -25, i_18_, 0, (i_17_ >> 12) - -1, (i_23_ >> 12) - 1, Class14.anIntArray5091, i_24_)) return false; - i_18_ += i_37_; - i_17_ += i_33_; - i_24_ += Class306.anInt3872; - i_23_ += i_32_; - } - return true; - } - i_23_ = i <<= -384535508; - if (i_24_ < 0) { - i_23_ -= i_33_ * i_24_; - i -= i_34_ * i_24_; - i_18_ -= i_24_ * i_37_; - i_24_ = 0; - } - i_17_ <<= 1142396620; - if (i_21_ < 0) { - i_17_ -= i_21_ * i_32_; - i_21_ = 0; - } - if (i_33_ >= i_34_) { - i_16_ -= i_21_; - i_21_ -= i_24_; - i_24_ *= Class306.anInt3872; - while (--i_21_ >= 0) { - if (!Class76.method771(i_36_, (byte) -25, i_18_, 0, (i_23_ >> 12) - -1, (i >> 12) - 1, Class14.anIntArray5091, i_24_)) return false; - i_18_ += i_37_; - i_24_ += Class306.anInt3872; - i_23_ += i_33_; - i += i_34_; - } - while (--i_16_ >= 0) { - if (!Class76.method771(i_36_, (byte) -25, i_18_, 0, (i_17_ >> 12) - -1, (i >> 12) + -1, Class14.anIntArray5091, i_24_)) return false; - i += i_34_; - i_17_ += i_32_; - i_18_ += i_37_; - i_24_ += Class306.anInt3872; - } - return true; - } - i_16_ -= i_21_; - i_21_ -= i_24_; - i_24_ = Class306.anInt3872 * i_24_; - while (--i_21_ >= 0) { - if (!Class76.method771(i_36_, (byte) -25, i_18_, 0, 1 + (i >> 12), -1 + (i_23_ >> 12), Class14.anIntArray5091, i_24_)) return false; - i += i_34_; - i_24_ += Class306.anInt3872; - i_23_ += i_33_; - i_18_ += i_37_; - } - while (--i_16_ >= 0) { - if (!Class76.method771(i_36_, (byte) -25, i_18_, 0, (i >> 12) - -1, -1 + (i_17_ >> 12), Class14.anIntArray5091, i_24_)) return false; - i_18_ += i_37_; - i_17_ += i_32_; - i_24_ += Class306.anInt3872; - i += i_34_; - } - return true; - } - if (Class86.anInt1480 <= i_21_) return true; - i_19_ = i_36_ + -(i_17_ * i_36_) + (i_19_ << 8); - if (Class86.anInt1480 < i_24_) i_24_ = Class86.anInt1480; - if (Class86.anInt1480 < i_16_) i_16_ = Class86.anInt1480; - if (i_24_ >= i_16_) { - i = i_17_ <<= 1841711244; - i_23_ <<= -258927156; - if (i_21_ < 0) { - i -= i_32_ * i_21_; - i_19_ -= i_21_ * i_37_; - i_17_ -= i_33_ * i_21_; - i_21_ = 0; - } - if (i_16_ < 0) { - i_23_ -= i_34_ * i_16_; - i_16_ = 0; - } - if (i_32_ >= i_33_) { - i_24_ -= i_16_; - i_16_ -= i_21_; - i_21_ = Class306.anInt3872 * i_21_; - while (--i_16_ >= 0) { - if (!Class76.method771(i_36_, (byte) -25, i_19_, 0, (i >> 12) - -1, (i_17_ >> 12) - 1, Class14.anIntArray5091, i_21_)) return false; - i_17_ += i_33_; - i_19_ += i_37_; - i_21_ += Class306.anInt3872; - i += i_32_; - } - while (--i_24_ >= 0) { - if (!Class76.method771(i_36_, (byte) -25, i_19_, 0, (i_23_ >> 12) - -1, -1 + (i_17_ >> 12), Class14.anIntArray5091, i_21_)) return false; - i_19_ += i_37_; - i_21_ += Class306.anInt3872; - i_17_ += i_33_; - i_23_ += i_34_; - } - return true; - } - i_24_ -= i_16_; - i_16_ -= i_21_; - i_21_ = Class306.anInt3872 * i_21_; - while (--i_16_ >= 0) { - if (!Class76.method771(i_36_, (byte) -25, i_19_, 0, 1 + (i_17_ >> 12), (i >> 12) - 1, Class14.anIntArray5091, i_21_)) return false; - i_21_ += Class306.anInt3872; - i_17_ += i_33_; - i_19_ += i_37_; - i += i_32_; - } - while (--i_24_ >= 0) { - if (!Class76.method771(i_36_, (byte) -25, i_19_, 0, 1 + (i_17_ >> 12), (i_23_ >> 12) - 1, Class14.anIntArray5091, i_21_)) return false; - i_17_ += i_33_; - i_23_ += i_34_; - i_19_ += i_37_; - i_21_ += Class306.anInt3872; - } - return true; - } - i_23_ = i_17_ <<= -575323604; - i <<= 1434108396; - if (i_21_ < 0) { - i_23_ -= i_32_ * i_21_; - i_17_ -= i_21_ * i_33_; - i_19_ -= i_37_ * i_21_; - i_21_ = 0; - } - if (i_24_ < 0) { - i -= i_34_ * i_24_; - i_24_ = 0; - } - if (i_24_ != i_21_ && i_33_ > i_32_ || (i_24_ == i_21_ && i_32_ > i_34_)) { - i_16_ -= i_24_; - i_24_ -= i_21_; - i_21_ = Class306.anInt3872 * i_21_; - while (--i_24_ >= 0) { - if (!Class76.method771(i_36_, (byte) -25, i_19_, 0, (i_17_ >> 12) - -1, -1 + (i_23_ >> 12), Class14.anIntArray5091, i_21_)) return false; - i_23_ += i_32_; - i_19_ += i_37_; - i_21_ += Class306.anInt3872; - i_17_ += i_33_; - } - while (--i_16_ >= 0) { - if (!Class76.method771(i_36_, (byte) -25, i_19_, 0, (i >> 12) - -1, -1 + (i_23_ >> 12), Class14.anIntArray5091, i_21_)) return false; - i_23_ += i_32_; - i += i_34_; - i_19_ += i_37_; - i_21_ += Class306.anInt3872; - } - return true; - } - i_16_ -= i_24_; - i_24_ -= i_21_; - i_21_ = Class306.anInt3872 * i_21_; - while (--i_24_ >= 0) { - if (!Class76.method771(i_36_, (byte) -25, i_19_, 0, (i_23_ >> 12) - -1, (i_17_ >> 12) - 1, Class14.anIntArray5091, i_21_)) return false; - i_17_ += i_33_; - i_23_ += i_32_; - i_21_ += Class306.anInt3872; - i_19_ += i_37_; - } - while (--i_16_ >= 0) { - if (!Class76.method771(i_36_, (byte) -25, i_19_, 0, (i_23_ >> 12) - -1, -1 + (i >> 12), Class14.anIntArray5091, i_21_)) return false; - i_19_ += i_37_; - i_21_ += Class306.anInt3872; - i_23_ += i_32_; - i += i_34_; - } - return true; - } - if (i_16_ >= Class86.anInt1480) return true; - i_22_ = (i_22_ << 8) - (i_23_ * i_36_ + -i_36_); - if (Class86.anInt1480 < i_24_) i_24_ = Class86.anInt1480; - if (Class86.anInt1480 < i_21_) i_21_ = Class86.anInt1480; - if (i_24_ > i_21_) { - i = i_23_ <<= 1361045260; - if (i_16_ < 0) { - i_23_ -= i_32_ * i_16_; - i_22_ -= i_16_ * i_37_; - i -= i_16_ * i_34_; - i_16_ = 0; - } - i_17_ <<= 1453497388; - if (i_21_ < 0) { - i_17_ -= i_21_ * i_33_; - i_21_ = 0; - } - if (i_21_ != i_16_ && i_32_ > i_34_ || (i_16_ == i_21_ && i_34_ > i_33_)) { - i_24_ -= i_21_; - i_21_ -= i_16_; - i_16_ *= Class306.anInt3872; - while (--i_21_ >= 0) { - if (!Class76.method771(i_36_, (byte) -25, i_22_, 0, 1 + (i_23_ >> 12), -1 + (i >> 12), Class14.anIntArray5091, i_16_)) return false; - i_22_ += i_37_; - i_16_ += Class306.anInt3872; - i_23_ += i_32_; - i += i_34_; - } - while (--i_24_ >= 0) { - if (!Class76.method771(i_36_, (byte) -25, i_22_, 0, 1 + (i_17_ >> 12), (i >> 12) + -1, Class14.anIntArray5091, i_16_)) return false; - i_17_ += i_33_; - i += i_34_; - i_22_ += i_37_; - i_16_ += Class306.anInt3872; - } - return true; - } - i_24_ -= i_21_; - i_21_ -= i_16_; - i_16_ *= Class306.anInt3872; - while (--i_21_ >= 0) { - if (!Class76.method771(i_36_, (byte) -25, i_22_, 0, 1 + (i >> 12), (i_23_ >> 12) + -1, Class14.anIntArray5091, i_16_)) return false; - i_16_ += Class306.anInt3872; - i_22_ += i_37_; - i += i_34_; - i_23_ += i_32_; - } - while (--i_24_ >= 0) { - if (!Class76.method771(i_36_, (byte) -25, i_22_, 0, (i >> 12) - -1, -1 + (i_17_ >> 12), Class14.anIntArray5091, i_16_)) return false; - i_17_ += i_33_; - i_16_ += Class306.anInt3872; - i_22_ += i_37_; - i += i_34_; - } - return true; - } - i_17_ = i_23_ <<= 1488621804; - if (i_16_ < 0) { - i_17_ -= i_34_ * i_16_; - i_22_ -= i_16_ * i_37_; - i_23_ -= i_32_ * i_16_; - i_16_ = 0; - } - i <<= -1533082100; - if (i_24_ < 0) { - i -= i_24_ * i_33_; - i_24_ = 0; - } - if ((i_16_ == i_24_ || i_32_ <= i_34_) && (i_24_ != i_16_ || i_32_ >= i_33_)) { - i_21_ -= i_24_; - i_24_ -= i_16_; - i_16_ = Class306.anInt3872 * i_16_; - while (--i_24_ >= 0) { - if (!Class76.method771(i_36_, (byte) -25, i_22_, 0, 1 + (i_17_ >> 12), -1 + (i_23_ >> 12), Class14.anIntArray5091, i_16_)) return false; - i_17_ += i_34_; - i_23_ += i_32_; - i_22_ += i_37_; - i_16_ += Class306.anInt3872; - } - while (--i_21_ >= 0) { - if (!Class76.method771(i_36_, (byte) -25, i_22_, 0, (i >> 12) - -1, -1 + (i_23_ >> 12), Class14.anIntArray5091, i_16_)) return false; - i_23_ += i_32_; - i_22_ += i_37_; - i += i_33_; - i_16_ += Class306.anInt3872; - } - return true; - } - i_21_ -= i_24_; - i_24_ -= i_16_; - i_16_ *= Class306.anInt3872; - while (--i_24_ >= 0) { - if (!Class76.method771(i_36_, (byte) -25, i_22_, 0, 1 + (i_23_ >> 12), -1 + (i_17_ >> 12), Class14.anIntArray5091, i_16_)) return false; - i_16_ += Class306.anInt3872; - i_23_ += i_32_; - i_22_ += i_37_; - i_17_ += i_34_; - } - while (--i_21_ >= 0) { - if (!Class76.method771(i_36_, (byte) -25, i_22_, 0, (i_23_ >> 12) - -1, (i >> 12) - 1, Class14.anIntArray5091, i_16_)) return false; - i_16_ += Class306.anInt3872; - i += i_33_; - i_22_ += i_37_; - i_23_ += i_32_; - } - return true; - } - - final int method3043(int i) { - if (i != -1) anInt9379 = 10; - anInt9381++; - return anInt9380; - } -} diff --git a/client/src/Class348_Sub40_Sub3.java b/client/src/Class348_Sub40_Sub3.java deleted file mode 100644 index 7fe2badd2..000000000 --- a/client/src/Class348_Sub40_Sub3.java +++ /dev/null @@ -1,75 +0,0 @@ -/* Class348_Sub40_Sub3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub3 extends Class348_Sub40 { - static int anInt9102; - static boolean aBoolean9103 = false; - private int anInt9104; - static int anInt9105; - static int anInt9106; - private int anInt9107 = 4096; - static int anInt9108; - static int anInt9109 = 104; - static int anInt9110; - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_0_) { - int i_1_ = i; - do { - if (i_1_ == 0) { - anInt9104 = class348_sub49.readUnsignedShort(842397944); - break; - } else if (i_1_ != 1) break; - anInt9107 = class348_sub49.readUnsignedShort(842397944); - } while (false); - anInt9102++; - if (i_0_ != 31015) method3056(-75, 18, 53); - } - - static final void method3054(boolean bool, int i, int i_2_) { - anInt9105++; - if (i_2_ < -127) { - Class348_Sub13 class348_sub13 = Class258_Sub4.method1974((byte) -122, i, bool); - if (class348_sub13 != null) class348_sub13.method2715((byte) 97); - } - } - - public Class348_Sub40_Sub3() { - super(1, true); - anInt9104 = 0; - } - - static final int method3055(int i, Class304 class304) { - anInt9106++; - if (i < 94) method3054(false, -98, -116); - if (class304 != Class348_Sub45.aClass304_7103) { - if (Class108.aClass304_1662 == class304) return 6408; - if (class304 == Class348_Sub40_Sub38.aClass304_9471) return 6406; - if (Class348_Sub40_Sub22.aClass304_9303 != class304) { - if (class304 == Class191.aClass304_2571) return 6410; - if (class304 == Class318.aClass304_3977) return 6145; - } else return 6409; - } else return 6407; - throw new IllegalStateException(); - } - - final int[] method3042(int i, int i_3_) { - anInt9110++; - if (i_3_ != 255) anInt9107 = -121; - int[] is = this.aClass191_7032.method1433(i_3_ + -255, i); - if (this.aClass191_7032.aBoolean2570) { - int[] is_4_ = this.method3048(i, 633706337, 0); - for (int i_5_ = 0; (Class348_Sub40_Sub6.anInt9139 > i_5_); i_5_++) { - int i_6_ = is_4_[i_5_]; - is[i_5_] = i_6_ >= anInt9104 && (i_6_ <= anInt9107) ? 4096 : 0; - } - } - return is; - } - - static final boolean method3056(int i, int i_7_, int i_8_) { - if (i < 0) anInt9109 = 114; - anInt9108++; - return (0x22 & i_7_) != 0; - } -} diff --git a/client/src/Class348_Sub40_Sub30.java b/client/src/Class348_Sub40_Sub30.java deleted file mode 100644 index f308a9e31..000000000 --- a/client/src/Class348_Sub40_Sub30.java +++ /dev/null @@ -1,272 +0,0 @@ -/* Class348_Sub40_Sub30 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub30 extends Class348_Sub40 { - static int anInt9383 = 0; - static int anInt9384; - static int anInt9385 = 0; - private int anInt9386; - static int anInt9387; - static int anInt9388; - private int anInt9389; - private int anInt9390 = 0; - static int anInt9391; - private int anInt9392; - static int anInt9393; - static int anInt9394; - static int anInt9395; - private int anInt9396; - static int anInt9397; - private int anInt9398 = 0; - static int anInt9399 = -1; - private int anInt9400; - private int anInt9401; - private int anInt9402 = 0; - static boolean aBoolean9403 = false; - - static final void method3126(byte i) { - if (i != 98) anInt9388 = 46; - Class60.aHa1098.method3700(Class239_Sub10.aFloat5945, Class348_Sub3.aFloat6586, Class269.aFloat3462); - anInt9387++; - } - - public Class348_Sub40_Sub30() { - super(1, false); - } - - static final Class348_Sub42_Sub15 method3127(int i) { - anInt9395++; - if (i != 2681) aBoolean9403 = true; - Class348_Sub42_Sub15 class348_sub42_sub15 = ((Class348_Sub42_Sub15) Class367_Sub4.aClass107_7325.method1011(-47)); - if (class348_sub42_sub15 != null) { - class348_sub42_sub15.method2715((byte) 81); - class348_sub42_sub15.method3162(true); - return class348_sub42_sub15; - } - do { - class348_sub42_sub15 = (Class348_Sub42_Sub15) s_Sub2.aClass107_8241.method1011(-87); - if (class348_sub42_sub15 == null) return null; - if (Class62.method599(-59) < class348_sub42_sub15.method3250((byte) -51)) return null; - class348_sub42_sub15.method2715((byte) 113); - class348_sub42_sub15.method3162(true); - } while ((~0x7fffffffffffffffL & class348_sub42_sub15.aLong7057) == 0L); - return class348_sub42_sub15; - } - - static final void method3128(int i, String string) { - do { - try { - anInt9391++; - if (string != null) { - if (anInt9383 >= 200 && !Class206.aBoolean4888 || anInt9383 >= 200) { - Class59.method544((Class274.aClass274_3493.method2063(Class348_Sub33.anInt6967, 544)), false, 4); - String string_0_ = Class274.aClass274_3494.method2063(Class348_Sub33.anInt6967, 544); - if (string_0_ != null) Class59.method544(string_0_, false, 4); - } else { - String string_1_ = Class285_Sub1.method2127(2, string); - if (string_1_ != null) { - for (int i_2_ = 0; (anInt9383 > i_2_); i_2_++) { - String string_3_ = (Class285_Sub1.method2127(2, Class83.aStringArray1441[i_2_])); - if (string_3_ != null && string_3_.equals(string_1_)) { - Class59.method544((string + (Class274.aClass274_3521.method2063((Class348_Sub33.anInt6967), 544))), false, 4); - return; - } - if (Class286_Sub2.aStringArray6205[i_2_] != null) { - String string_4_ = (Class285_Sub1.method2127(2, (Class286_Sub2.aStringArray6205[i_2_]))); - if (string_4_ != null && string_4_.equals(string_1_)) { - Class59.method544((string + (Class274.aClass274_3521.method2063(Class348_Sub33.anInt6967, 544))), false, 4); - return; - } - } - } - for (int i_5_ = 0; i_5_ < Class348_Sub42_Sub12.anInt9604; i_5_++) { - String string_6_ = (Class285_Sub1.method2127(2, Class51.aStringArray932[i_5_])); - if (string_6_ != null && string_6_.equals(string_1_)) { - Class59.method544(((Class274.aClass274_3526.method2063(Class348_Sub33.anInt6967, 544)) + string + (Class274.aClass274_3527.method2063(Class348_Sub33.anInt6967, 544))), false, 4); - return; - } - if (Class348_Sub40_Sub21.aStringArray9275[i_5_] != null) { - String string_7_ = (Class285_Sub1.method2127(2, (Class348_Sub40_Sub21.aStringArray9275[i_5_]))); - if (string_7_ != null && string_7_.equals(string_1_)) { - Class59.method544(((Class274.aClass274_3526.method2063(Class348_Sub33.anInt6967, 544)) + string + (Class274.aClass274_3527.method2063(Class348_Sub33.anInt6967, 544))), false, 4); - return; - } - } - } - if (Class285_Sub1.method2127(2, (Class132.aPlayer_1907.aString10544)).equals(string_1_)) Class59.method544((Class274.aClass274_3524.method2063(Class348_Sub33.anInt6967, 544)), false, 4); - else { - Class146.anInt2012++; - Class348_Sub47 class348_sub47 = (Class286_Sub3.method2148(Class294.aClass351_5057, Class348_Sub23_Sub2.aClass77_9029, -85)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, Class239_Sub6.method1745(string, -65)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); - Class348_Sub42_Sub14.method3243(123, class348_sub47); - if (i <= -31) break; - method3127(-4); - } - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("vj.B(" + i + ',' + (string != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - final int[][] method3047(int i, int i_8_) { - anInt9393++; - int[][] is = this.aClass322_7033.method2557(-105, i); - if (this.aClass322_7033.aBoolean4035) { - int[][] is_9_ = this.method3039((byte) 50, i, 0); - int[] is_10_ = is_9_[0]; - int[] is_11_ = is_9_[1]; - int[] is_12_ = is_9_[2]; - int[] is_13_ = is[0]; - int[] is_14_ = is[1]; - int[] is_15_ = is[2]; - for (int i_16_ = 0; (i_16_ < Class348_Sub40_Sub6.anInt9139); i_16_++) { - method3129(is_10_[i_16_], is_11_[i_16_], (byte) 82, is_12_[i_16_]); - anInt9401 += anInt9390; - anInt9400 += anInt9402; - anInt9389 += anInt9398; - for (/**/; anInt9400 < 0; anInt9400 += 4096) { - /* empty */ - } - if (anInt9401 < 0) anInt9401 = 0; - for (/**/; anInt9400 > 4096; anInt9400 -= 4096) { - /* empty */ - } - if (anInt9389 < 0) anInt9389 = 0; - if (anInt9401 > 4096) anInt9401 = 4096; - if (anInt9389 > 4096) anInt9389 = 4096; - method3130(anInt9389, anInt9400, (byte) -120, anInt9401); - is_13_[i_16_] = anInt9386; - is_14_[i_16_] = anInt9396; - is_15_[i_16_] = anInt9392; - } - } - if (i_8_ != -1564599039) anInt9399 = 25; - return is; - } - - private final void method3129(int i, int i_17_, byte i_18_, int i_19_) { - anInt9394++; - int i_20_ = Math.max(i_17_, i); - if (i_18_ == 82) { - i_20_ = Math.max(i_19_, i_20_); - int i_21_ = Math.min(i, i_17_); - i_21_ = Math.min(i_19_, i_21_); - anInt9389 = (i_20_ + i_21_) / 2; - int i_22_ = i_20_ - i_21_; - if (i_22_ > 0) { - int i_23_ = (i_20_ + -i << 12) / i_22_; - int i_24_ = (i_20_ + -i_17_ << 12) / i_22_; - int i_25_ = (-i_19_ + i_20_ << 12) / i_22_; - if (i == i_20_) anInt9400 = (i_17_ != i_21_ ? 4096 + -i_24_ : i_25_ + 20480); - else if (i_17_ != i_20_) anInt9400 = i != i_21_ ? -i_23_ + 20480 : 12288 - -i_24_; - else anInt9400 = (i_21_ == i_19_ ? 4096 + i_23_ : -i_25_ + 12288); - anInt9400 /= 6; - } else anInt9400 = 0; - if (anInt9389 > 0 && anInt9389 < 4096) anInt9401 = (i_22_ << 12) / (anInt9389 > 2048 ? 8192 - anInt9389 * 2 : anInt9389 * 2); - else anInt9401 = 0; - } - } - - private final void method3130(int i, int i_26_, byte i_27_, int i_28_) { - anInt9397++; - int i_29_ = 31 / ((i_27_ - -74) / 40); - int i_30_ = (i > 2048 ? i_28_ + (i - (i * i_28_ >> 12)) : i * (4096 - -i_28_) >> 12); - if (i_30_ <= 0) anInt9386 = anInt9396 = anInt9392 = i; - else { - i_26_ *= 6; - int i_31_ = -i_30_ + i - -i; - int i_32_ = (-i_31_ + i_30_ << 12) / i_30_; - int i_33_ = i_26_ >> 12; - int i_34_ = i_26_ + -(i_33_ << 12); - int i_35_ = i_30_; - i_35_ = i_35_ * i_32_ >> 12; - i_35_ = i_35_ * i_34_ >> 12; - int i_36_ = i_35_ + i_31_; - int i_37_ = i_30_ - i_35_; - int i_38_ = i_33_; - while_208_: - do { - while_207_: - do { - while_206_: - do { - while_205_: - do { - do { - if (i_38_ == 0) { - anInt9396 = i_36_; - anInt9386 = i_30_; - anInt9392 = i_31_; - return; - } else if (i_38_ != 1) { - if (i_38_ != 2) { - if (i_38_ != 3) { - if (i_38_ != 4) { - if (i_38_ != 5) break while_208_; - } else break while_206_; - break while_207_; - } - } else break; - break while_205_; - } - anInt9392 = i_31_; - anInt9386 = i_37_; - anInt9396 = i_30_; - return; - } while (false); - anInt9392 = i_36_; - anInt9386 = i_31_; - anInt9396 = i_30_; - return; - } while (false); - anInt9396 = i_37_; - anInt9386 = i_31_; - anInt9392 = i_30_; - return; - } while (false); - anInt9396 = i_31_; - anInt9386 = i_36_; - anInt9392 = i_30_; - return; - } while (false); - anInt9386 = i_30_; - anInt9392 = i_37_; - anInt9396 = i_31_; - } while (false); - } - } - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_39_) { - while_209_: - do { - try { - anInt9384++; - if (i_39_ == 31015) { - int i_40_ = i; - do { - if (i_40_ == 0) { - anInt9402 = class348_sub49.readShort(13638); - return; - } else if (i_40_ != 1) { - if (i_40_ == 2) break; - break while_209_; - } - anInt9390 = (class348_sub49.readByte(-83) << 12) / 100; - return; - } while (false); - anInt9398 = (class348_sub49.readByte(i_39_ + -31101) << 12) / 100; - break; - } - break; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("vj.F(" + (class348_sub49 != null ? "{...}" : "null") + ',' + i + ',' + i_39_ + ')')); - } - } while (false); - } -} diff --git a/client/src/Class348_Sub40_Sub31.java b/client/src/Class348_Sub40_Sub31.java deleted file mode 100644 index c655cd14a..000000000 --- a/client/src/Class348_Sub40_Sub31.java +++ /dev/null @@ -1,100 +0,0 @@ -/* Class348_Sub40_Sub31 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub31 extends Class348_Sub40 { - static int anInt9404; - private int anInt9405 = 4; - static int anInt9406; - static int anInt9407; - static int anInt9408 = 0; - static int anInt9409; - private int anInt9410 = 4; - static int anInt9411; - static int anInt9412 = 0; - static int anInt9413; - - public Class348_Sub40_Sub31() { - super(1, false); - } - - final int[][] method3047(int i, int i_0_) { - anInt9407++; - if (i_0_ != -1564599039) return null; - int[][] is = this.aClass322_7033.method2557(-111, i); - if (this.aClass322_7033.aBoolean4035) { - int i_1_ = Class348_Sub40_Sub6.anInt9139 / anInt9405; - int i_2_ = Class286_Sub2.anInt6212 / anInt9410; - int[][] is_3_; - if (i_2_ > 0) { - int i_4_ = i % i_2_; - is_3_ = this.method3039((byte) -86, Class286_Sub2.anInt6212 * i_4_ / i_2_, 0); - } else is_3_ = this.method3039((byte) 105, 0, 0); - int[] is_5_ = is_3_[0]; - int[] is_6_ = is_3_[1]; - int[] is_7_ = is_3_[2]; - int[] is_8_ = is[0]; - int[] is_9_ = is[1]; - int[] is_10_ = is[2]; - for (int i_11_ = 0; (i_11_ < Class348_Sub40_Sub6.anInt9139); i_11_++) { - int i_12_; - if (i_1_ <= 0) i_12_ = 0; - else { - int i_13_ = i_11_ % i_1_; - i_12_ = Class348_Sub40_Sub6.anInt9139 * i_13_ / i_1_; - } - is_8_[i_11_] = is_5_[i_12_]; - is_9_[i_11_] = is_6_[i_12_]; - is_10_[i_11_] = is_7_[i_12_]; - } - } - return is; - } - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_14_) { - if (i_14_ == 31015) { - int i_15_ = i; - do { - if (i_15_ == 0) { - anInt9405 = class348_sub49.readUnsignedByte(255); - break; - } else if (i_15_ != 1) break; - anInt9410 = class348_sub49.readUnsignedByte(255); - } while (false); - anInt9413++; - } - } - - static final boolean method3131(byte i, String string) { - if (i != 50) method3131((byte) -33, null); - anInt9404++; - return Player.aHashtable10565.containsKey(string); - } - - final int[] method3042(int i, int i_16_) { - if (i_16_ != 255) return null; - anInt9409++; - int[] is = this.aClass191_7032.method1433(0, i); - if (this.aClass191_7032.aBoolean2570) { - int i_17_ = Class348_Sub40_Sub6.anInt9139 / anInt9405; - int i_18_ = Class286_Sub2.anInt6212 / anInt9410; - int[] is_19_; - if (i_18_ > 0) { - int i_20_ = i % i_18_; - is_19_ = this.method3048(i_20_ * Class286_Sub2.anInt6212 / i_18_, 633706337, 0); - } else is_19_ = this.method3048(0, 633706337, 0); - for (int i_21_ = 0; Class348_Sub40_Sub6.anInt9139 > i_21_; i_21_++) { - if (i_17_ <= 0) is[i_21_] = is_19_[0]; - else { - int i_22_ = i_21_ % i_17_; - is[i_21_] = is_19_[(Class348_Sub40_Sub6.anInt9139 * i_22_ / i_17_)]; - } - } - } - return is; - } - - static { - anInt9411 = 0; - } -} diff --git a/client/src/Class348_Sub40_Sub32.java b/client/src/Class348_Sub40_Sub32.java deleted file mode 100644 index e06c45b11..000000000 --- a/client/src/Class348_Sub40_Sub32.java +++ /dev/null @@ -1,132 +0,0 @@ -/* Class348_Sub40_Sub32 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub32 extends Class348_Sub40 { - static int anInt9414; - static Class273 aClass273_9415 = new Class273("", 12); - static int anInt9416; - static int anInt9417; - static int anInt9418; - static int anInt9419; - static int anInt9420; - private static short[] aShortArray9421 = {-10304, 9104, 25485, 4620, 4540}; - private static short[] aShortArray9422 = {-1, -1, -1, -1, -1}; - private static short[] aShortArray9423 = {6798, 8741, 25238, 4626, 4550}; - static short[][] aShortArrayArray9424 = {aShortArray9423, aShortArray9421, aShortArray9422}; - - static final Class258_Sub3_Sub1 method3132(int[] is, int i, int i_0_, int i_1_, int i_2_, ha_Sub2 var_ha_Sub2, boolean bool, byte i_3_) { - try { - if (i_3_ != 12) method3134(9); - anInt9418++; - if (!var_ha_Sub2.aBoolean7793 && (!Class192.method1436(-74, i_2_) || !Class192.method1436(127, i_1_))) { - if (!var_ha_Sub2.aBoolean7837) return (new Class258_Sub3_Sub1(var_ha_Sub2, i_2_, i_1_, Class33.method340(i_2_, (byte) 108), Class33.method340(i_1_, (byte) 108), is)); - return new Class258_Sub3_Sub1(var_ha_Sub2, 34037, i_2_, i_1_, bool, is, i_0_, i); - } - return new Class258_Sub3_Sub1(var_ha_Sub2, 3553, i_2_, i_1_, bool, is, i_0_, i); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wi.C(" + (is != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + i_1_ + ',' + i_2_ + ',' + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + bool + ',' + i_3_ + ')')); - } - } - - public static void method3133(byte i) { - aClass273_9415 = null; - if (i != -109) aClass273_9415 = null; - aShortArray9423 = null; - aShortArray9421 = null; - aShortArrayArray9424 = null; - aShortArray9422 = null; - } - - static final void method3134(int i) { - anInt9419++; - if ((~Class286_Sub5.anInt6248) <= i) { - long l = Class62.method599(i ^ 0x3c); - Class286_Sub5.anInt6248 -= -Class348_Sub33.aLong6963 + l; - if (Class286_Sub5.anInt6248 > 0) { - int i_4_ = ((Class286_Sub5.anInt6248 << 8) / Class206.anInt4889); - int i_5_ = -i_4_ + 255; - float f = (float) i_4_ / 255.0F; - float f_6_ = 1.0F - f; - Class119_Sub1.anInt4703 = (((i_5_ * ((Class239_Sub14.aClass190_5990.anInt2540) & 0xff00ff) + (Class318_Sub1_Sub3.anInt8739 & 0xff00ff) * i_4_) & ~0xff00ff) - -(0xff0000 & (i_4_ * (0xff00 & Class318_Sub1_Sub3.anInt8739) + (0xff00 & (Class239_Sub14.aClass190_5990.anInt2540)) * i_5_))) >>> 8; - Class239_Sub10.aFloat5945 = (Class258_Sub4.aFloat8560 + f_6_ * ((Class239_Sub14.aClass190_5990.aFloat2551) - Class258_Sub4.aFloat8560)); - Class348_Sub3.aFloat6586 = (Class239_Sub14.aClass190_5990.aFloat2545 - Class45.aFloat670) * f_6_ + Class45.aFloat670; - Class36.anInt486 = (i_4_ * Class239_Sub19.anInt6042 + (Class239_Sub14.aClass190_5990.anInt2546 * i_5_)) >> 8; - Class160.aFloat2137 = (Class318_Sub1_Sub1.aFloat8725 + (-Class318_Sub1_Sub1.aFloat8725 + (Class239_Sub14.aClass190_5990.aFloat2547)) * f_6_); - Class244.aFloat4626 = (Class64.aFloat1136 + f_6_ * ((Class239_Sub14.aClass190_5990.aFloat2544) - Class64.aFloat1136)); - Class187.anInt2500 = (((i_4_ * (0xff00 & Canvas_Sub1.anInt70) + (0xff00 & (Class239_Sub14.aClass190_5990.anInt2549)) * i_5_) & 0xff0000) + (~0xff00ff & (i_4_ * (0xff00ff & Canvas_Sub1.anInt70) - -(i_5_ * (0xff00ff & (Class239_Sub14.aClass190_5990.anInt2549)))))) >>> 8; - Class361.aFloat4455 = (Class246.aFloat3177 + f_6_ * (-Class246.aFloat3177 + (Class239_Sub14.aClass190_5990.aFloat2536))); - Class269.aFloat3462 = (Class245.aFloat3172 + (Class239_Sub14.aClass190_5990.aFloat2542 - Class245.aFloat3172) * f_6_); - if (Class239_Sub24.aClass299_6098 != (Class239_Sub14.aClass190_5990.aClass299_2541)) Class158.aClass299_4938 = (Class60.aHa1098.method3706(Class239_Sub24.aClass299_6098, (Class239_Sub14.aClass190_5990.aClass299_2541), f_6_, Class158.aClass299_4938)); - } else { - Class158.aClass299_4938 = (Class239_Sub14.aClass190_5990.aClass299_2541); - Class244.aFloat4626 = Class239_Sub14.aClass190_5990.aFloat2544; - Class348_Sub3.aFloat6586 = Class239_Sub14.aClass190_5990.aFloat2545; - Class239_Sub10.aFloat5945 = Class239_Sub14.aClass190_5990.aFloat2551; - Class36.anInt486 = Class239_Sub14.aClass190_5990.anInt2546; - Class269.aFloat3462 = Class239_Sub14.aClass190_5990.aFloat2542; - Class361.aFloat4455 = Class239_Sub14.aClass190_5990.aFloat2536; - Class286_Sub5.anInt6248 = -1; - Class187.anInt2500 = Class239_Sub14.aClass190_5990.anInt2549; - Class119_Sub1.anInt4703 = Class239_Sub14.aClass190_5990.anInt2540; - Class160.aFloat2137 = Class239_Sub14.aClass190_5990.aFloat2547; - } - Class348_Sub33.aLong6963 = l; - } - } - - static final Class318_Sub1_Sub5 method3135(int i, int i_7_, int i_8_) { - Class357 class357 = Class147.aClass357ArrayArrayArray2029[i][i_7_][i_8_]; - if (class357 == null) return null; - return class357.aClass318_Sub1_Sub5_4395; - } - - final int[][] method3047(int i, int i_9_) { - if (i_9_ != -1564599039) method3133((byte) 4); - anInt9417++; - int[][] is = this.aClass322_7033.method2557(-78, i); - if (this.aClass322_7033.aBoolean4035) { - int[][] is_10_ = this.method3039((byte) -104, i, 0); - int[] is_11_ = is_10_[0]; - int[] is_12_ = is_10_[1]; - int[] is_13_ = is_10_[2]; - int[] is_14_ = is[0]; - int[] is_15_ = is[1]; - int[] is_16_ = is[2]; - for (int i_17_ = 0; Class348_Sub40_Sub6.anInt9139 > i_17_; i_17_++) { - is_14_[i_17_] = -is_11_[i_17_] + 4096; - is_15_[i_17_] = 4096 + -is_12_[i_17_]; - is_16_[i_17_] = -is_13_[i_17_] + 4096; - } - } - return is; - } - - public Class348_Sub40_Sub32() { - super(1, false); - } - - final int[] method3042(int i, int i_18_) { - anInt9420++; - int[] is = this.aClass191_7032.method1433(0, i); - if (i_18_ != 255) method3047(-113, -46); - if (this.aClass191_7032.aBoolean2570) { - int[] is_19_ = this.method3048(i, 633706337, 0); - for (int i_20_ = 0; (i_20_ < Class348_Sub40_Sub6.anInt9139); i_20_++) - is[i_20_] = 4096 + -is_19_[i_20_]; - } - return is; - } - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_21_) { - anInt9414++; - if (i_21_ != 31015) aClass273_9415 = null; - if (i == 0) this.aBoolean7045 = class348_sub49.readUnsignedByte(255) == 1; - } - - static final String method3136(byte i, Class348_Sub49 class348_sub49) { - anInt9416++; - if (i != 64) aShortArray9423 = null; - return Class373_Sub2.method3607(32767, class348_sub49, -77); - } -} diff --git a/client/src/Class348_Sub40_Sub33.java b/client/src/Class348_Sub40_Sub33.java deleted file mode 100644 index 66788f44f..000000000 --- a/client/src/Class348_Sub40_Sub33.java +++ /dev/null @@ -1,118 +0,0 @@ -/* Class348_Sub40_Sub33 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub33 extends Class348_Sub40 { - static int anInt9425; - static int anInt9426; - static Class46[][] aClass46ArrayArray9427; - static int anInt9428; - static int anInt9429; - static int anInt9430; - - static final boolean method3137(boolean bool, byte i) { - anInt9426++; - boolean bool_0_ = Class348_Sub8.aHa6654.method3666(); - if (i != -24) return true; - if (!bool_0_ == !bool) return true; - if (!bool) Class348_Sub8.aHa6654.method3710(); - else if (!Class348_Sub8.aHa6654.method3671()) bool = false; - if (bool_0_ == bool) return false; - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub12_7243), bool ? 1 : 0); - Class14_Sub2.method243(37); - return true; - } - - public static void method3138(byte i) { - aClass46ArrayArray9427 = null; - int i_1_ = 93 % ((-58 - i) / 55); - } - - final int[][] method3047(int i, int i_2_) { - anInt9429++; - int[][] is = this.aClass322_7033.method2557(-97, i); - if (i_2_ != -1564599039) aClass46ArrayArray9427 = null; - if (this.aClass322_7033.aBoolean4035) { - int[] is_3_ = is[0]; - int[] is_4_ = is[1]; - int[] is_5_ = is[2]; - for (int i_6_ = 0; (Class348_Sub40_Sub6.anInt9139 > i_6_); i_6_++) { - method3139(i_6_, i, (byte) -31); - int[][] is_7_ = this.method3039((byte) 43, Class344.anInt4265, 0); - is_3_[i_6_] = is_7_[0][Class121.anInt1796]; - is_4_[i_6_] = is_7_[1][Class121.anInt1796]; - is_5_[i_6_] = is_7_[2][Class121.anInt1796]; - } - } - return is; - } - - final int[] method3042(int i, int i_8_) { - anInt9428++; - if (i_8_ != 255) aClass46ArrayArray9427 = null; - int[] is = this.aClass191_7032.method1433(0, i); - if (this.aClass191_7032.aBoolean2570) { - for (int i_9_ = 0; (i_9_ < Class348_Sub40_Sub6.anInt9139); i_9_++) { - method3139(i_9_, i, (byte) -31); - int[] is_10_ = this.method3048(Class344.anInt4265, i_8_ ^ 0x25c5979e, 0); - is[i_9_] = is_10_[Class121.anInt1796]; - } - } - return is; - } - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_11_) { - if (i_11_ != 31015) aClass46ArrayArray9427 = null; - anInt9430++; - if (i == 0) this.aBoolean7045 = class348_sub49.readUnsignedByte(255) == 1; - } - - public Class348_Sub40_Sub33() { - super(1, false); - } - - private final void method3139(int i, int i_12_, byte i_13_) { - anInt9425++; - int i_14_ = Class318_Sub6.anIntArray6432[i]; - int i_15_ = Class239_Sub18.anIntArray6035[i_12_]; - if (i_13_ != -31) method3139(-44, -111, (byte) 48); - float f = (float) Math.atan2(i_14_ + -2048, i_15_ + -2048); - if ((double) f >= -3.141592653589793 && (double) f <= -2.356194490192345) { - Class344.anInt4265 = i_12_; - Class121.anInt1796 = i; - } else if (!((double) f <= -1.5707963267948966) || !((double) f >= -2.356194490192345)) { - if (!((double) f <= -0.7853981633974483) || !((double) f >= -1.5707963267948966)) { - if (!(f <= 0.0F) || !((double) f >= -0.7853981633974483)) { - if (!(f >= 0.0F) || !((double) f <= 0.7853981633974483)) { - if (!((double) f >= 0.7853981633974483) || !((double) f <= 1.5707963267948966)) { - if ((double) f >= 1.5707963267948966 && (double) f <= 2.356194490192345) { - Class344.anInt4265 = Class286_Sub2.anInt6212 + -i; - Class121.anInt1796 = i_12_; - } else if ((double) f >= 2.356194490192345 && (double) f <= 3.141592653589793) { - Class344.anInt4265 = i_12_; - Class121.anInt1796 = -i + Class348_Sub40_Sub6.anInt9139; - } - } else { - Class121.anInt1796 = -i_12_ + Class348_Sub40_Sub6.anInt9139; - Class344.anInt4265 = -i + Class286_Sub2.anInt6212; - } - } else { - Class121.anInt1796 = -i + Class348_Sub40_Sub6.anInt9139; - Class344.anInt4265 = -i_12_ + Class286_Sub2.anInt6212; - } - } else { - Class121.anInt1796 = i; - Class344.anInt4265 = Class286_Sub2.anInt6212 - i_12_; - } - } else { - Class121.anInt1796 = Class348_Sub40_Sub6.anInt9139 - i_12_; - Class344.anInt4265 = i; - } - } else { - Class344.anInt4265 = i; - Class121.anInt1796 = i_12_; - } - Class344.anInt4265 &= Class299_Sub2.anInt6325; - Class121.anInt1796 &= Class239_Sub22.anInt6076; - } -} diff --git a/client/src/Class348_Sub40_Sub34.java b/client/src/Class348_Sub40_Sub34.java deleted file mode 100644 index 9c89f0b2c..000000000 --- a/client/src/Class348_Sub40_Sub34.java +++ /dev/null @@ -1,146 +0,0 @@ -/* Class348_Sub40_Sub34 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub34 extends Class348_Sub40 { - static int[] anIntArray9431 = new int[1]; - static Class293[] aClass293Array9432; - static int anInt9433; - static int anInt9434; - static int anInt9435; - static int[] anIntArray9436 = new int[2]; - static int anInt9437; - private int anInt9438 = 4096; - private boolean aBoolean9439 = true; - - static final int method3140(int i, int i_0_) { - int i_1_ = 40 / ((i - 19) / 63); - anInt9435++; - if (i_0_ == 16711935) return -1; - return aa.method160(27076, i_0_); - } - - static final void method3141(boolean bool, byte i) { - if (Class348_Sub40_Sub8.aClass238_9165 != null) { - Class348_Sub40_Sub8.aClass238_9165.method1700((byte) 36); - Class348_Sub40_Sub8.aClass238_9165 = null; - } - anInt9437++; - Class225.anInt2955 = 0; - Class348_Sub18.method2938((byte) 87); - Class318_Sub1_Sub3_Sub3.method2433(); - if (i != 11) anIntArray9436 = null; - for (int i_2_ = 0; i_2_ < 4; i_2_++) - Class348_Sub45.aClass361Array7108[i_2_].method3500(700); - Class348_Sub42_Sub3.method3177(-50, false); - System.gc(); - Class348_Sub31.method3007(2, 22684); - Class74.aBoolean1236 = false; - Class267.anInt3428 = -1; - Class348_Sub40_Sub17_Sub1.method3093(i + 79); - Class101_Sub2.method921((byte) 99, true); - Class90.regionTileY = 0; - za_Sub2.regionTileX = 0; - ha.anInt4581 = 0; - Class327.anInt4095 = 0; - Class83.anInt1447 = Class312.anInt3931 = 0; - for (int i_3_ = 0; (i_3_ < Class348_Sub27.aClass302Array6897.length); i_3_++) - Class348_Sub27.aClass302Array6897[i_3_] = null; - Class348_Sub42.method3163((byte) -114); - for (int i_4_ = 0; i_4_ < 2048; i_4_++) - Class294.aPlayerArray5058[i_4_] = null; - Class150.anInt2057 = 0; - Class282.aClass356_3654.method3481(i ^ 0xb); - Class348_Sub32.anInt6930 = 0; - Class130.aClass356_1895.method3481(0); - Class128.method1122(0); - Class135_Sub1.anInt4718 = 0; - Class318_Sub1_Sub3_Sub3.aClass170_10209.method1314((byte) -107); - Class301.method2282(-12648); - Class50_Sub3.method465(i + -1636518175); - Class101_Sub2.aLong5745 = 0L; - Class239_Sub4.aClass348_Sub26_5881 = null; - if (bool) Class348_Sub49.method3379(2, 12); - else { - Class348_Sub49.method3379(i + -9, 3); - try { - Class224.method1617((byte) 125, Class93.anApplet1530, "loggedout"); - } catch (Throwable throwable) { - /* empty */ - } - } - } - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_5_) { - do { - try { - if (i_5_ != 31015) method3140(-77, 55); - anInt9433++; - int i_6_ = i; - if (i_6_ == 0) { - anInt9438 = class348_sub49.readUnsignedShort(842397944); - break; - } else if (i_6_ != 1) break; - aBoolean9439 = class348_sub49.readUnsignedByte(255) == 1; - break; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("cfa.F(" + (class348_sub49 != null ? "{...}" : "null") + ',' + i + ',' + i_5_ + ')')); - } - } while (false); - } - - public Class348_Sub40_Sub34() { - super(1, false); - } - - public static void method3142(int i) { - anIntArray9431 = null; - anIntArray9436 = null; - if (i != 0) aClass293Array9432 = null; - aClass293Array9432 = null; - } - - final int[][] method3047(int i, int i_7_) { - anInt9434++; - int[][] is = this.aClass322_7033.method2557(-111, i); - if (i_7_ != -1564599039) method3140(72, -13); - if (this.aClass322_7033.aBoolean4035) { - int[] is_8_ = this.method3048(-1 + i & Class299_Sub2.anInt6325, 633706337, 0); - int[] is_9_ = this.method3048(i, i_7_ + -2096661920, 0); - int[] is_10_ = this.method3048(Class299_Sub2.anInt6325 & 1 + i, 633706337, 0); - int[] is_11_ = is[0]; - int[] is_12_ = is[1]; - int[] is_13_ = is[2]; - for (int i_14_ = 0; Class348_Sub40_Sub6.anInt9139 > i_14_; i_14_++) { - int i_15_ = (-is_8_[i_14_] + is_10_[i_14_]) * anInt9438; - int i_16_ = (anInt9438 * (is_9_[1 + i_14_ & Class239_Sub22.anInt6076] - is_9_[Class239_Sub22.anInt6076 & -1 + i_14_])); - int i_17_ = i_16_ >> 12; - int i_18_ = i_15_ >> 12; - int i_19_ = i_17_ * i_17_ >> 12; - int i_20_ = i_18_ * i_18_ >> 12; - int i_21_ = (int) (Math.sqrt((float) (i_19_ - (-i_20_ + -4096)) / 4096.0F) * 4096.0); - int i_22_; - int i_23_; - int i_24_; - if (i_21_ == 0) { - i_22_ = 0; - i_23_ = 0; - i_24_ = 0; - } else { - i_23_ = i_16_ / i_21_; - i_22_ = i_15_ / i_21_; - i_24_ = 16777216 / i_21_; - } - if (aBoolean9439) { - i_24_ = (i_24_ >> 1) + 2048; - i_23_ = (i_23_ >> 1) + 2048; - i_22_ = (i_22_ >> 1) + 2048; - } - is_11_[i_14_] = i_23_; - is_12_[i_14_] = i_22_; - is_13_[i_14_] = i_24_; - } - } - return is; - } -} diff --git a/client/src/Class348_Sub40_Sub35.java b/client/src/Class348_Sub40_Sub35.java deleted file mode 100644 index c9eae5e91..000000000 --- a/client/src/Class348_Sub40_Sub35.java +++ /dev/null @@ -1,101 +0,0 @@ -/* Class348_Sub40_Sub35 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub35 extends Class348_Sub40 { - static int anInt9440; - static int anInt9441; - static int anInt9442; - static Class161 aClass161_9443; - static int anInt9444; - private int anInt9445 = 3216; - static int anInt9446; - private int anInt9447 = 3216; - private int anInt9448 = 4096; - private final int[] anIntArray9449 = new int[3]; - - private final void method3143(int i) { - anInt9440++; - if (i >= -118) method3143(-88); - double d = Math.cos((float) anInt9445 / 4096.0F); - anIntArray9449[0] = (int) (d * Math.sin((float) anInt9447 / 4096.0F) * 4096.0); - anIntArray9449[1] = (int) (d * Math.cos((float) anInt9447 / 4096.0F) * 4096.0); - anIntArray9449[2] = (int) (Math.sin((float) anInt9445 / 4096.0F) * 4096.0); - int i_0_ = anIntArray9449[0] * anIntArray9449[0] >> 12; - int i_1_ = anIntArray9449[1] * anIntArray9449[1] >> 12; - int i_2_ = anIntArray9449[2] * anIntArray9449[2] >> 12; - int i_3_ = (int) (4096.0 * Math.sqrt(i_1_ + i_0_ + i_2_ >> 12)); - if (i_3_ != 0) { - anIntArray9449[1] = (anIntArray9449[1] << 12) / i_3_; - anIntArray9449[0] = (anIntArray9449[0] << 12) / i_3_; - anIntArray9449[2] = (anIntArray9449[2] << 12) / i_3_; - } - } - - final int[] method3042(int i, int i_4_) { - anInt9446++; - int[] is = this.aClass191_7032.method1433(0, i); - if (this.aClass191_7032.aBoolean2570) { - int i_5_ = Class248.anInt3201 * anInt9448 >> 12; - int[] is_6_ = this.method3048(Class299_Sub2.anInt6325 & -1 + i, 633706337, 0); - int[] is_7_ = this.method3048(i, 633706337, 0); - int[] is_8_ = this.method3048(Class299_Sub2.anInt6325 & i - -1, i_4_ + 633706082, 0); - for (int i_9_ = 0; Class348_Sub40_Sub6.anInt9139 > i_9_; i_9_++) { - int i_10_ = i_5_ * (is_8_[i_9_] - is_6_[i_9_]) >> 12; - int i_11_ = (i_5_ * (-is_7_[Class239_Sub22.anInt6076 & i_9_ - -1] + is_7_[-1 + i_9_ & Class239_Sub22.anInt6076]) >> 12); - int i_12_ = i_11_ >> 4; - int i_13_ = i_10_ >> 4; - if (i_12_ < 0) i_12_ = -i_12_; - if (i_13_ < 0) i_13_ = -i_13_; - if (i_12_ > 255) i_12_ = 255; - if (i_13_ > 255) i_13_ = 255; - int i_14_ = (Class46.aByteArray821[i_12_ + (i_13_ * (1 + i_13_) >> 1)] & 0xff); - int i_15_ = i_14_ * 4096 >> 8; - int i_16_ = i_14_ * i_11_ >> 8; - int i_17_ = i_10_ * i_14_ >> 8; - i_17_ = i_17_ * anIntArray9449[1] >> 12; - i_16_ = i_16_ * anIntArray9449[0] >> 12; - i_15_ = anIntArray9449[2] * i_15_ >> 12; - is[i_9_] = i_15_ + i_16_ - -i_17_; - } - } - if (i_4_ != 255) return null; - return is; - } - - public static void method3144(byte i) { - aClass161_9443 = null; - if (i < 34) method3144((byte) 127); - } - - final void method3044(int i) { - if (i <= 108) method3143(38); - anInt9441++; - method3143(-119); - } - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_18_) { - int i_19_ = i; - while_210_: - do { - do { - if (i_19_ == 0) { - anInt9448 = class348_sub49.readUnsignedShort(i_18_ ^ 0x323581df); - break while_210_; - } else if (i_19_ != 1) { - if (i_19_ == 2) break; - break while_210_; - } - anInt9447 = class348_sub49.readUnsignedShort(842397944); - break while_210_; - } while (false); - anInt9445 = class348_sub49.readUnsignedShort(842397944); - } while (false); - anInt9442++; - if (i_18_ != 31015) aClass161_9443 = null; - } - - public Class348_Sub40_Sub35() { - super(1, true); - } -} diff --git a/client/src/Class348_Sub40_Sub36.java b/client/src/Class348_Sub40_Sub36.java deleted file mode 100644 index 238b2b0f3..000000000 --- a/client/src/Class348_Sub40_Sub36.java +++ /dev/null @@ -1,80 +0,0 @@ -/* Class348_Sub40_Sub36 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub36 extends Class348_Sub40 { - static int anInt9450; - private int anInt9451 = 0; - static int anInt9452; - private int anInt9453 = 1; - static int anInt9454; - private int anInt9455 = 0; - static Class114 aClass114_9456; - - public Class348_Sub40_Sub36() { - super(0, true); - } - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_0_) { - anInt9450++; - if (i_0_ != 31015) anInt9451 = -15; - int i_1_ = i; - while_211_: - do { - do { - if (i_1_ == 0) { - anInt9451 = class348_sub49.readUnsignedByte(255); - return; - } else if (i_1_ != 1) { - if (i_1_ == 3) break; - break while_211_; - } - anInt9455 = class348_sub49.readUnsignedByte(255); - return; - } while (false); - anInt9453 = class348_sub49.readUnsignedByte(255); - } while (false); - } - - final void method3044(int i) { - Class220.method1605(26188); - if (i <= 108) method3145(-17); - anInt9452++; - } - - public static void method3145(int i) { - if (i != 0) aClass114_9456 = null; - aClass114_9456 = null; - } - - final int[] method3042(int i, int i_2_) { - anInt9454++; - int[] is = this.aClass191_7032.method1433(0, i); - if (i_2_ != 255) anInt9451 = -74; - if (this.aClass191_7032.aBoolean2570) { - int i_3_ = Class239_Sub18.anIntArray6035[i]; - int i_4_ = -2048 + i_3_ >> 1; - for (int i_5_ = 0; (i_5_ < Class348_Sub40_Sub6.anInt9139); i_5_++) { - int i_6_ = Class318_Sub6.anIntArray6432[i_5_]; - int i_7_ = -2048 + i_6_ >> 1; - int i_8_; - if (anInt9451 == 0) i_8_ = anInt9453 * (-i_3_ + i_6_); - else { - int i_9_ = i_7_ * i_7_ + i_4_ * i_4_ >> 12; - i_8_ = (int) (4096.0 * Math.sqrt((float) i_9_ / 4096.0F)); - i_8_ = (int) (3.141592653589793 * (double) (anInt9453 * i_8_)); - } - i_8_ -= ~0xfff & i_8_; - if (anInt9455 != 0) { - if (anInt9455 == 2) { - i_8_ -= 2048; - if (i_8_ < 0) i_8_ = -i_8_; - i_8_ = 2048 - i_8_ << 1; - } - } else i_8_ = 4096 + (Class235.anIntArray3068[i_8_ >> 4 & 0xff]) >> 1; - is[i_5_] = i_8_; - } - } - return is; - } -} diff --git a/client/src/Class348_Sub40_Sub37.java b/client/src/Class348_Sub40_Sub37.java deleted file mode 100644 index e828bfdc3..000000000 --- a/client/src/Class348_Sub40_Sub37.java +++ /dev/null @@ -1,185 +0,0 @@ -/* Class348_Sub40_Sub37 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub37 extends Class348_Sub40 { - static int anInt9457; - static int[] anIntArray9458; - static int anInt9459; - static int anInt9460; - static int anInt9461 = -1; - static int anInt9462; - private int anInt9463 = 1; - static int anInt9464; - static long[] aLongArray9465; - private int anInt9466 = 1; - static Class105[] aClass105Array9467; - - static final void method3146(int i, int i_0_, byte i_1_, int i_2_, int i_3_, int i_4_, byte[] is, byte[] is_5_, int i_6_) { - try { - anInt9464++; - int i_7_ = -(i_0_ >> 2); - i_0_ = -(i_0_ & 0x3); - if (i_1_ >= -12) method3148(true); - for (int i_8_ = -i_3_; i_8_ < 0; i_8_++) { - for (int i_9_ = i_7_; i_9_ < 0; i_9_++) { - is[i_4_++] += -is_5_[i_6_++]; - is[i_4_++] += -is_5_[i_6_++]; - is[i_4_++] += -is_5_[i_6_++]; - is[i_4_++] += -is_5_[i_6_++]; - } - for (int i_10_ = i_0_; i_10_ < 0; i_10_++) - is[i_4_++] += -is_5_[i_6_++]; - i_4_ += i; - i_6_ += i_2_; - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("fd.D(" + i + ',' + i_0_ + ',' + i_1_ + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ',' + (is != null ? "{...}" : "null") + ',' + (is_5_ != null ? "{...}" : "null") + ',' + i_6_ + ')')); - } - } - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_11_) { - anInt9460++; - if (i_11_ != 31015) method3147((byte) 32); - int i_12_ = i; - while_212_: - do { - do { - if (i_12_ == 0) { - anInt9466 = class348_sub49.readUnsignedByte(255); - return; - } else if (i_12_ != 1) { - if (i_12_ == 2) break; - break while_212_; - } - anInt9463 = class348_sub49.readUnsignedByte(255); - return; - } while (false); - this.aBoolean7045 = class348_sub49.readUnsignedByte(i_11_ ^ 0x79d8) == 1; - } while (false); - } - - final int[] method3042(int i, int i_13_) { - anInt9457++; - int[] is = this.aClass191_7032.method1433(0, i); - if (i_13_ != 255) method3148(true); - if (this.aClass191_7032.aBoolean2570) { - int i_14_ = 1 + (anInt9463 + anInt9463); - int i_15_ = 65536 / i_14_; - int i_16_ = 1 + anInt9466 + anInt9466; - int i_17_ = 65536 / i_16_; - int[][] is_18_ = new int[i_14_][]; - for (int i_19_ = -anInt9463 + i; i - -anInt9463 >= i_19_; i_19_++) { - int[] is_20_ = this.method3048(Class299_Sub2.anInt6325 & i_19_, 633706337, 0); - int[] is_21_ = new int[Class348_Sub40_Sub6.anInt9139]; - int i_22_ = 0; - for (int i_23_ = -anInt9466; anInt9466 >= i_23_; i_23_++) - i_22_ += is_20_[i_23_ & Class239_Sub22.anInt6076]; - int i_24_ = 0; - while (i_24_ < Class348_Sub40_Sub6.anInt9139) { - is_21_[i_24_] = i_17_ * i_22_ >> 16; - i_22_ -= (is_20_[-anInt9466 + i_24_ & Class239_Sub22.anInt6076]); - i_24_++; - i_22_ += (is_20_[i_24_ + anInt9466 & Class239_Sub22.anInt6076]); - } - is_18_[-i + (i_19_ + anInt9463)] = is_21_; - } - for (int i_25_ = 0; Class348_Sub40_Sub6.anInt9139 > i_25_; i_25_++) { - int i_26_ = 0; - for (int i_27_ = 0; i_14_ > i_27_; i_27_++) - i_26_ += is_18_[i_27_][i_25_]; - is[i_25_] = i_26_ * i_15_ >> 16; - } - } - return is; - } - - static final void method3147(byte i) { - if (i != 27) method3146(-85, 87, (byte) 91, 46, -77, 54, null, null, -117); - Class248.anInt3203 = -1; - Class97.anInt1548 = -1; - Class259.anInt3306 = 0; - anInt9459++; - } - - final int[][] method3047(int i, int i_28_) { - if (i_28_ != -1564599039) return null; - anInt9462++; - int[][] is = this.aClass322_7033.method2557(i_28_ ^ 0x5d41e2a6, i); - if (this.aClass322_7033.aBoolean4035) { - int i_29_ = 1 + (anInt9463 + anInt9463); - int i_30_ = 65536 / i_29_; - int i_31_ = anInt9466 + (anInt9466 + 1); - int i_32_ = 65536 / i_31_; - int[][][] is_33_ = new int[i_29_][][]; - for (int i_34_ = i + -anInt9463; i_34_ <= anInt9463 + i; i_34_++) { - int[][] is_35_ = this.method3039((byte) 55, Class299_Sub2.anInt6325 & i_34_, 0); - int[][] is_36_ = new int[3][Class348_Sub40_Sub6.anInt9139]; - int i_37_ = 0; - int i_38_ = 0; - int i_39_ = 0; - int[] is_40_ = is_35_[0]; - int[] is_41_ = is_35_[1]; - int[] is_42_ = is_35_[2]; - for (int i_43_ = -anInt9466; i_43_ <= anInt9466; i_43_++) { - int i_44_ = Class239_Sub22.anInt6076 & i_43_; - i_39_ += is_42_[i_44_]; - i_37_ += is_40_[i_44_]; - i_38_ += is_41_[i_44_]; - } - int[] is_45_ = is_36_[0]; - int[] is_46_ = is_36_[1]; - int[] is_47_ = is_36_[2]; - int i_48_ = 0; - while (Class348_Sub40_Sub6.anInt9139 > i_48_) { - is_45_[i_48_] = i_37_ * i_32_ >> 16; - is_46_[i_48_] = i_38_ * i_32_ >> 16; - is_47_[i_48_] = i_39_ * i_32_ >> 16; - int i_49_ = Class239_Sub22.anInt6076 & -anInt9466 + i_48_; - i_37_ -= is_40_[i_49_]; - i_48_++; - i_38_ -= is_41_[i_49_]; - i_39_ -= is_42_[i_49_]; - i_49_ = i_48_ - -anInt9466 & Class239_Sub22.anInt6076; - i_39_ += is_42_[i_49_]; - i_38_ += is_41_[i_49_]; - i_37_ += is_40_[i_49_]; - } - is_33_[i_34_ + anInt9463 + -i] = is_36_; - } - int[] is_50_ = is[0]; - int[] is_51_ = is[1]; - int[] is_52_ = is[2]; - for (int i_53_ = 0; Class348_Sub40_Sub6.anInt9139 > i_53_; i_53_++) { - int i_54_ = 0; - int i_55_ = 0; - int i_56_ = 0; - for (int i_57_ = 0; i_57_ < i_29_; i_57_++) { - int[][] is_58_ = is_33_[i_57_]; - i_54_ += is_58_[0][i_53_]; - i_55_ += is_58_[1][i_53_]; - i_56_ += is_58_[2][i_53_]; - } - is_50_[i_53_] = i_54_ * i_30_ >> 16; - is_51_[i_53_] = i_55_ * i_30_ >> 16; - is_52_[i_53_] = i_30_ * i_56_ >> 16; - } - } - return is; - } - - public Class348_Sub40_Sub37() { - super(1, false); - } - - public static void method3148(boolean bool) { - anIntArray9458 = null; - aLongArray9465 = null; - if (bool != true) method3146(79, -54, (byte) -128, -109, 85, -107, null, null, 58); - aClass105Array9467 = null; - } - - static { - anIntArray9458 = new int[1000]; - } -} diff --git a/client/src/Class348_Sub40_Sub38.java b/client/src/Class348_Sub40_Sub38.java deleted file mode 100644 index 046e4a191..000000000 --- a/client/src/Class348_Sub40_Sub38.java +++ /dev/null @@ -1,109 +0,0 @@ -/* Class348_Sub40_Sub38 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub38 extends Class348_Sub40 { - static int anInt9468; - static int anInt9469; - private int anInt9470 = 4096; - static Class304 aClass304_9471 = new Class304(1); - static int anInt9472; - static int anInt9473; - private int anInt9474 = 0; - static Class74 aClass74_9475 = new Class74(12, 7); - static int anInt9476; - static Class251 aClass251_9477 = new Class251(); - static Class262 aClass262_9478 = new Class262(); - static int anInt9479 = 0; - static int[] anIntArray9480 = new int[13]; - - public Class348_Sub40_Sub38() { - super(1, false); - } - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_0_) { - if (i_0_ != 31015) anInt9470 = -15; - int i_1_ = i; - while_213_: - do { - do { - if (i_1_ == 0) { - anInt9474 = class348_sub49.readUnsignedShort(i_0_ + 842366929); - break while_213_; - } else if (i_1_ != 1) { - if (i_1_ == 2) break; - break while_213_; - } - anInt9470 = class348_sub49.readUnsignedShort(i_0_ + 842366929); - break while_213_; - } while (false); - this.aBoolean7045 = class348_sub49.readUnsignedByte(i_0_ + -30760) == 1; - } while (false); - anInt9472++; - } - - final int[][] method3047(int i, int i_2_) { - if (i_2_ != -1564599039) method3150(true); - anInt9468++; - int[][] is = this.aClass322_7033.method2557(-117, i); - if (this.aClass322_7033.aBoolean4035) { - int[][] is_3_ = this.method3039((byte) -88, i, 0); - int[] is_4_ = is_3_[0]; - int[] is_5_ = is_3_[1]; - int[] is_6_ = is_3_[2]; - int[] is_7_ = is[0]; - int[] is_8_ = is[1]; - int[] is_9_ = is[2]; - for (int i_10_ = 0; (i_10_ < Class348_Sub40_Sub6.anInt9139); i_10_++) { - int i_11_ = is_4_[i_10_]; - int i_12_ = is_5_[i_10_]; - int i_13_ = is_6_[i_10_]; - if (i_11_ < anInt9474) is_7_[i_10_] = anInt9474; - else is_7_[i_10_] = Math.min(i_11_, anInt9470); - if (anInt9474 > i_12_) is_8_[i_10_] = anInt9474; - else is_8_[i_10_] = Math.min(i_12_, anInt9470); - if (anInt9474 <= i_13_) { - is_9_[i_10_] = Math.min(i_13_, anInt9470); - } else is_9_[i_10_] = anInt9474; - } - } - return is; - } - - public static void method3149(int i) { - aClass74_9475 = null; - anIntArray9480 = null; - aClass304_9471 = null; - aClass251_9477 = null; - aClass262_9478 = null; - if (i < 32) method3149(58); - } - - static final void method3150(boolean bool) { - anInt9469++; - int i = 0; - if (bool != true) method3150(false); - for (/**/; Class150.anInt2057 > i; i++) { - int i_14_ = Class74.anIntArray1233[i]; - Class348_Sub22 class348_sub22 = ((Class348_Sub22) Class282.aClass356_3654.method3480(i_14_, -6008)); - if (class348_sub22 != null) { - Npc npc = (class348_sub22.aNpc_6859); - Class322.method2556(false, npc.aClass79_10505.anInt1399, npc); - } - } - } - - final int[] method3042(int i, int i_15_) { - anInt9476++; - int[] is = this.aClass191_7032.method1433(0, i); - if (this.aClass191_7032.aBoolean2570) { - int[] is_16_ = this.method3048(i, 633706337, 0); - for (int i_17_ = 0; i_17_ < Class348_Sub40_Sub6.anInt9139; i_17_++) { - int i_18_ = is_16_[i_17_]; - if (anInt9474 > i_18_) is[i_17_] = anInt9474; - else is[i_17_] = Math.min(i_18_, anInt9470); - } - } - return is; - } -} diff --git a/client/src/Class348_Sub40_Sub39.java b/client/src/Class348_Sub40_Sub39.java deleted file mode 100644 index 5bc37cb84..000000000 --- a/client/src/Class348_Sub40_Sub39.java +++ /dev/null @@ -1,126 +0,0 @@ -/* Class348_Sub40_Sub39 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub39 extends Class348_Sub40 { - private Class50[] aClass50Array9481; - static int anInt9482; - static int anInt9483; - static int anInt9484; - static Class70 aClass70_9485 = new Class70(); - static int anInt9486; - static int anInt9487; - - private final void method3151(int[][] is, byte i) { - anInt9487++; - if (i != -27) method3152(86); - int i_0_ = Class348_Sub40_Sub6.anInt9139; - int i_1_ = Class286_Sub2.anInt6212; - Class12.method224((byte) -40, is); - Class348_Sub27.method3000(Class239_Sub22.anInt6076, 0, Class299_Sub2.anInt6325, 0, i ^ 0x28); - if (aClass50Array9481 != null) { - for (int i_2_ = 0; aClass50Array9481.length > i_2_; i_2_++) { - Class50 class50 = aClass50Array9481[i_2_]; - int i_3_ = class50.anInt864; - int i_4_ = class50.anInt865; - if (i_3_ < 0) { - if (i_4_ >= 0) class50.method457(i_1_, i_0_, -43); - } else if (i_4_ < 0) class50.method456(i ^ ~0x6a, i_0_, i_1_); - else class50.method455(i_0_, i_1_, -124); - } - } - } - - public static void method3152(int i) { - aClass70_9485 = null; - if (i != 255) method3152(-42); - } - - final int[] method3042(int i, int i_5_) { - anInt9486++; - int[] is = this.aClass191_7032.method1433(i_5_ + -255, i); - if (this.aClass191_7032.aBoolean2570) method3151(this.aClass191_7032.method1427((byte) 16), (byte) -27); - if (i_5_ != 255) method3049(null, 66, -50); - return is; - } - - static final void method3153(int i) { - anInt9482++; - for (Class348_Sub42_Sub13 class348_sub42_sub13 = ((Class348_Sub42_Sub13) Class233.aClass107_3022.method1011(-49)); class348_sub42_sub13 != null; class348_sub42_sub13 = ((Class348_Sub42_Sub13) Class233.aClass107_3022.method1003((byte) 51))) { - if (class348_sub42_sub13.anInt9615 > 1) { - class348_sub42_sub13.anInt9615 = 0; - Class259.aClass60_3301.method582(class348_sub42_sub13, ((Class348_Sub42_Sub12) class348_sub42_sub13.aClass107_9621.aClass348_Sub42_1647.aClass348_Sub42_7063).aLong9600, (byte) -108); - class348_sub42_sub13.aClass107_9621.method1009(i ^ 0x7dc976c2); - } - } - Class8.anInt166 = 0; - Class73.anInt4776 = i; - Class348_Sub40_Sub4.aClass262_9111.method1996(125); - Class348_Sub42_Sub12.aClass356_9603.method3481(0); - Class233.aClass107_3022.method1009(2110355138); - Class5_Sub1.aBoolean8335 = false; - } - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_6_) { - if (i_6_ != 31015) aClass70_9485 = null; - if (i == 0) { - aClass50Array9481 = new Class50[class348_sub49.readUnsignedByte(255)]; - while_216_: - for (int i_7_ = 0; aClass50Array9481.length > i_7_; i_7_++) { - int i_8_ = class348_sub49.readUnsignedByte(255); - int i_9_ = i_8_; - while_214_: - do { - do { - if (i_9_ == 0) { - aClass50Array9481[i_7_] = Class182.method1374(107, class348_sub49); - continue while_216_; - } else if (i_9_ != 1) { - if (i_9_ != 2) { - if (i_9_ != 3) continue while_216_; - } else break; - break while_214_; - } - aClass50Array9481[i_7_] = (Class348_Sub23_Sub1.method2970(Class348_Sub21.method2955(i_6_, 31013), class348_sub49)); - continue while_216_; - } while (false); - aClass50Array9481[i_7_] = (Class348_Sub40.method3036(class348_sub49, Class348_Sub21.method2955(i_6_, -31102))); - continue while_216_; - } while (false); - aClass50Array9481[i_7_] = Class265.method2022(class348_sub49, 0); - } - } else if (i == 1) this.aBoolean7045 = class348_sub49.readUnsignedByte(255) == 1; - anInt9484++; - } - - final int[][] method3047(int i, int i_10_) { - anInt9483++; - int[][] is = this.aClass322_7033.method2557(i_10_ + 1564598923, i); - if (i_10_ != -1564599039) aClass70_9485 = null; - if (this.aClass322_7033.aBoolean4035) { - int i_11_ = Class348_Sub40_Sub6.anInt9139; - int i_12_ = Class286_Sub2.anInt6212; - int[][] is_13_ = new int[i_12_][i_11_]; - int[][][] is_14_ = this.aClass322_7033.method2553(0); - method3151(is_13_, (byte) -27); - for (int i_15_ = 0; Class286_Sub2.anInt6212 > i_15_; i_15_++) { - int[] is_16_ = is_13_[i_15_]; - int[][] is_17_ = is_14_[i_15_]; - int[] is_18_ = is_17_[0]; - int[] is_19_ = is_17_[1]; - int[] is_20_ = is_17_[2]; - for (int i_21_ = 0; i_21_ < Class348_Sub40_Sub6.anInt9139; i_21_++) { - int i_22_ = is_16_[i_21_]; - is_20_[i_21_] = Class139.method1166(i_22_, 255) << 4; - is_19_[i_21_] = Class139.method1166(i_22_ >> 4, 4080); - is_18_[i_21_] = Class139.method1166(4080, i_22_ >> 12); - } - } - } - return is; - } - - public Class348_Sub40_Sub39() { - super(0, true); - } -} diff --git a/client/src/Class348_Sub40_Sub4.java b/client/src/Class348_Sub40_Sub4.java deleted file mode 100644 index 098e4a065..000000000 --- a/client/src/Class348_Sub40_Sub4.java +++ /dev/null @@ -1,40 +0,0 @@ -/* Class348_Sub40_Sub4 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub4 extends Class348_Sub40 { - static Class262 aClass262_9111 = new Class262(); - static int anInt9112; - static d aD9113; - static Class101 aClass101_9114; - static int anInt9115; - - final int[] method3042(int i, int i_0_) { - anInt9115++; - if (i_0_ != 255) aClass262_9111 = null; - int[] is = this.aClass191_7032.method1433(0, i); - if (this.aClass191_7032.aBoolean2570) Class214.method1579(is, 0, Class348_Sub40_Sub6.anInt9139, Class239_Sub18.anIntArray6035[i]); - return is; - } - - public static void method3057(byte i) { - if (i > -32) method3058(-76, 25, -12); - aClass101_9114 = null; - aClass262_9111 = null; - aD9113 = null; - } - - public Class348_Sub40_Sub4() { - super(0, true); - } - - static final void method3058(int i, int i_1_, int i_2_) { - Class357 class357 = Class147.aClass357ArrayArrayArray2029[i][i_1_][i_2_]; - if (class357 != null) { - Class183.method1376(class357.aClass318_Sub1_Sub4_4406); - Class183.method1376(class357.aClass318_Sub1_Sub4_4403); - if (class357.aClass318_Sub1_Sub4_4406 != null) class357.aClass318_Sub1_Sub4_4406 = null; - if (class357.aClass318_Sub1_Sub4_4403 != null) class357.aClass318_Sub1_Sub4_4403 = null; - } - } -} diff --git a/client/src/Class348_Sub40_Sub5.java b/client/src/Class348_Sub40_Sub5.java deleted file mode 100644 index 1a36eb211..000000000 --- a/client/src/Class348_Sub40_Sub5.java +++ /dev/null @@ -1,231 +0,0 @@ -/* Class348_Sub40_Sub5 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.util.Random; - -final class Class348_Sub40_Sub5 extends Class348_Sub40 { - private short[] aShortArray9116 = new short[512]; - private int anInt9117; - private int anInt9118 = 1; - private byte[] aByteArray9119 = new byte[512]; - static int anInt9120; - static boolean aBoolean9121 = false; - private int anInt9122; - static int anInt9123; - private int anInt9124; - private int anInt9125 = 2048; - static int anInt9126; - static int anInt9127; - static int anInt9128; - private int anInt9129; - static Class351 aClass351_9130 = new Class351(1, -1); - - public static void method3059(int i) { - aClass351_9130 = null; - if (i >= -111) method3059(-83); - } - - static final int method3060(int i, boolean bool) { - anInt9128++; - if (bool != true) aClass351_9130 = null; - return 0x7f & i >> 11; - } - - private final void method3061(boolean bool) { - anInt9120++; - if (bool == true) { - Random random = new Random(anInt9122); - aShortArray9116 = new short[512]; - if (anInt9125 > 0) { - for (int i = 0; i < 512; i++) - aShortArray9116[i] = (short) Class124.method1097((byte) 81, anInt9125, random); - } - } - } - - public Class348_Sub40_Sub5() { - super(0, true); - anInt9124 = 2; - anInt9122 = 0; - anInt9117 = 5; - anInt9129 = 5; - } - - final void method3044(int i) { - if (i > 108) { - aByteArray9119 = ha.method3664(anInt9122, 124); - anInt9126++; - method3061(true); - } - } - - final int[] method3042(int i, int i_0_) { - anInt9123++; - int[] is = this.aClass191_7032.method1433(0, i); - if (i_0_ != 255) method3044(-57); - if (this.aClass191_7032.aBoolean2570) { - int i_1_ = anInt9117 * Class239_Sub18.anIntArray6035[i] + 2048; - int i_2_ = i_1_ >> 12; - int i_3_ = 1 + i_2_; - int i_4_ = 0; - while_140_: - for (/**/; Class348_Sub40_Sub6.anInt9139 > i_4_; i_4_++) { - Class348_Sub42_Sub20.anInt9715 = Class215.anInt2835 = Class147.anInt2023 = Class135_Sub1.anInt4715 = 2147483647; - int i_5_ = 2048 - -(Class318_Sub6.anIntArray6432[i_4_] * anInt9129); - int i_6_ = i_5_ >> 12; - int i_7_ = i_6_ + 1; - for (int i_8_ = i_2_ + -1; i_8_ <= i_3_; i_8_++) { - int i_9_ = 0xff & aByteArray9119[0xff & (i_8_ >= anInt9117 ? i_8_ + -anInt9117 : i_8_)]; - for (int i_10_ = -1 + i_6_; i_7_ >= i_10_; i_10_++) { - int i_11_ = 2 * (0xff & aByteArray9119[((anInt9129 > i_10_ ? i_10_ : -anInt9129 + i_10_) + i_9_) & 0xff]); - int i_12_ = (-(i_10_ << 12) - (aShortArray9116[i_11_++] - i_5_)); - int i_13_ = (-(i_8_ << 12) + (-aShortArray9116[i_11_] + i_1_)); - int i_14_ = anInt9118; - int i_15_; - while_136_: - do { - while_135_: - do { - while_134_: - do { - while_133_: - do { - do { - if (i_14_ == 1) { - i_15_ = ((i_13_ * i_13_ + i_12_ * i_12_) >> 12); - break while_136_; - } else if (i_14_ != 3) { - if (i_14_ != 4) { - if (i_14_ != 5) { - if (i_14_ == 2) break while_134_; - break while_135_; - } - } else break; - break while_133_; - } - i_12_ = i_12_ < 0 ? -i_12_ : i_12_; - i_13_ = (i_13_ < 0 ? -i_13_ : i_13_); - i_15_ = (Math.max(i_12_, i_13_)); - break while_136_; - } while (false); - i_12_ = (int) ((Math.sqrt((float) ((i_12_ < 0) ? -i_12_ : i_12_) / 4096.0F)) * 4096.0); - i_13_ = (int) (4096.0 * (Math.sqrt((float) ((i_13_ < 0) ? -i_13_ : i_13_) / 4096.0F))); - i_15_ = i_13_ + i_12_; - i_15_ = i_15_ * i_15_ >> 12; - break while_136_; - } while (false); - i_13_ *= i_13_; - i_12_ *= i_12_; - i_15_ = (int) (4096.0 * (Math.sqrt(Math.sqrt((float) (i_12_ + i_13_) / 1.6777216E7F)))); - break while_136_; - } while (false); - i_15_ = ((i_12_ < 0 ? -i_12_ : i_12_) - -(i_13_ >= 0 ? i_13_ : -i_13_)); - break while_136_; - } while (false); - i_15_ = (int) (4096.0 * (Math.sqrt((float) (i_12_ * i_12_ - -(i_13_ * i_13_)) / 1.6777216E7F))); - } while (false); - if (Class348_Sub42_Sub20.anInt9715 <= i_15_) { - if (i_15_ >= Class215.anInt2835) { - if (i_15_ < Class147.anInt2023) { - Class135_Sub1.anInt4715 = Class147.anInt2023; - Class147.anInt2023 = i_15_; - } else if (i_15_ < Class135_Sub1.anInt4715) Class135_Sub1.anInt4715 = i_15_; - } else { - Class135_Sub1.anInt4715 = Class147.anInt2023; - Class147.anInt2023 = Class215.anInt2835; - Class215.anInt2835 = i_15_; - } - } else { - Class135_Sub1.anInt4715 = Class147.anInt2023; - Class147.anInt2023 = Class215.anInt2835; - Class215.anInt2835 = Class348_Sub42_Sub20.anInt9715; - Class348_Sub42_Sub20.anInt9715 = i_15_; - } - } - } - int i_16_ = anInt9124; - while_138_: - do { - while_137_: - do { - do { - if (i_16_ == 0) { - is[i_4_] = Class348_Sub42_Sub20.anInt9715; - continue while_140_; - } else if (i_16_ != 1) { - if (i_16_ != 3) { - if (i_16_ != 4) { - if (i_16_ == 2) break while_138_; - continue while_140_; - } - } else break; - break while_137_; - } - is[i_4_] = Class215.anInt2835; - continue while_140_; - } while (false); - is[i_4_] = Class147.anInt2023; - continue while_140_; - } while (false); - is[i_4_] = Class135_Sub1.anInt4715; - continue while_140_; - } while (false); - is[i_4_] = Class215.anInt2835 + -Class348_Sub42_Sub20.anInt9715; - } - } - return is; - } - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_17_) { - if (i_17_ == 31015) { - int i_18_ = i; - while_145_: - do { - while_144_: - do { - while_143_: - do { - while_142_: - do { - while_141_: - do { - do { - if (i_18_ == 0) { - anInt9129 = anInt9117 = class348_sub49.readUnsignedByte(i_17_ ^ 0x79d8); - break while_145_; - } else if (i_18_ != 1) { - if (i_18_ != 2) { - if (i_18_ != 3) { - if (i_18_ != 4) { - if (i_18_ != 5) { - if (i_18_ == 6) break while_144_; - break while_145_; - } - } else break while_142_; - break while_143_; - } - } else break; - break while_141_; - } - anInt9122 = class348_sub49.readUnsignedByte(i_17_ + -30760); - break while_145_; - } while (false); - anInt9125 = class348_sub49.readUnsignedShort(842397944); - break while_145_; - } while (false); - anInt9124 = class348_sub49.readUnsignedByte(i_17_ ^ 0x79d8); - break while_145_; - } while (false); - anInt9118 = class348_sub49.readUnsignedByte(i_17_ ^ 0x79d8); - break while_145_; - } while (false); - anInt9129 = class348_sub49.readUnsignedByte(255); - break while_145_; - } while (false); - anInt9117 = class348_sub49.readUnsignedByte(255); - } while (false); - anInt9127++; - } - } -} diff --git a/client/src/Class348_Sub40_Sub6.java b/client/src/Class348_Sub40_Sub6.java deleted file mode 100644 index 870c8ca4b..000000000 --- a/client/src/Class348_Sub40_Sub6.java +++ /dev/null @@ -1,99 +0,0 @@ -/* Class348_Sub40_Sub6 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub6 extends Class348_Sub40 { - static int anInt9131; - static int anInt9132; - private int anInt9133 = 32768; - static byte[][][] aByteArrayArrayArray9134; - static int[] anIntArray9135; - static int anInt9136; - static int anInt9137; - static int anInt9138; - static int anInt9139; - - public Class348_Sub40_Sub6() { - super(3, false); - } - - final int[] method3042(int i, int i_0_) { - anInt9137++; - int[] is = this.aClass191_7032.method1433(0, i); - if (i_0_ != 255) method3049(null, -123, 82); - if (this.aClass191_7032.aBoolean2570) { - int[] is_1_ = this.method3048(i, i_0_ + 633706082, 1); - int[] is_2_ = this.method3048(i, i_0_ ^ 0x25c5979e, 2); - for (int i_3_ = 0; i_3_ < anInt9139; i_3_++) { - int i_4_ = 0xff & is_1_[i_3_] >> 4; - int i_5_ = anInt9133 * is_2_[i_3_] >> 12; - int i_6_ = Class127.anIntArray4654[i_4_] * i_5_ >> 12; - int i_7_ = Class235.anIntArray3068[i_4_] * i_5_ >> 12; - int i_8_ = i_3_ - -(i_6_ >> 12) & Class239_Sub22.anInt6076; - int i_9_ = i - -(i_7_ >> 12) & Class299_Sub2.anInt6325; - int[] is_10_ = this.method3048(i_9_, 633706337, 0); - is[i_3_] = is_10_[i_8_]; - } - } - return is; - } - - public static void method3062(boolean bool) { - if (bool != true) aByteArrayArrayArray9134 = null; - anIntArray9135 = null; - aByteArrayArrayArray9134 = null; - } - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_11_) { - int i_12_ = i; - do { - if (i_12_ == 0) { - anInt9133 = class348_sub49.readUnsignedShort(842397944) << 4; - break; - } else if (i_12_ != 1) break; - this.aBoolean7045 = class348_sub49.readUnsignedByte(255) == 1; - } while (false); - if (i_11_ != 31015) method3062(false); - anInt9138++; - } - - final void method3044(int i) { - Class220.method1605(26188); - anInt9136++; - if (i < 108) anInt9139 = 126; - } - - final int[][] method3047(int i, int i_13_) { - anInt9131++; - int[][] is = this.aClass322_7033.method2557(i_13_ ^ 0x5d41e284, i); - if (i_13_ != -1564599039) aByteArrayArrayArray9134 = null; - if (this.aClass322_7033.aBoolean4035) { - int[] is_14_ = this.method3048(i, 633706337, 1); - int[] is_15_ = this.method3048(i, 633706337, 2); - int[] is_16_ = is[0]; - int[] is_17_ = is[1]; - int[] is_18_ = is[2]; - for (int i_19_ = 0; anInt9139 > i_19_; i_19_++) { - int i_20_ = 0xff & 255 * is_14_[i_19_] >> 12; - int i_21_ = anInt9133 * is_15_[i_19_] >> 12; - int i_22_ = i_21_ * Class127.anIntArray4654[i_20_] >> 12; - int i_23_ = i_21_ * Class235.anIntArray3068[i_20_] >> 12; - int i_24_ = i_19_ + (i_22_ >> 12) & Class239_Sub22.anInt6076; - int i_25_ = (i_23_ >> 12) + i & Class299_Sub2.anInt6325; - int[][] is_26_ = this.method3039((byte) -57, i_25_, 0); - is_16_[i_19_] = is_26_[0][i_24_]; - is_17_[i_19_] = is_26_[1][i_24_]; - is_18_[i_19_] = is_26_[2][i_24_]; - } - } - return is; - } - - static final int method3063(boolean bool) { - anInt9132++; - int i = Class348_Sub42_Sub15.aClass56_9660.method525(-125); - if (bool != false) anIntArray9135 = null; - if (i < Class328_Sub2.aClass56Array6515.length + -1) Class348_Sub42_Sub15.aClass56_9660 = Class328_Sub2.aClass56Array6515[1 + i]; - return 100; - } -} diff --git a/client/src/Class348_Sub40_Sub7.java b/client/src/Class348_Sub40_Sub7.java deleted file mode 100644 index 1f232e98f..000000000 --- a/client/src/Class348_Sub40_Sub7.java +++ /dev/null @@ -1,524 +0,0 @@ -/* Class348_Sub40_Sub7 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub7 extends Class348_Sub40 { - private boolean aBoolean9140 = true; - static int anInt9141; - static int anInt9142; - static int anInt9143; - static Class348_Sub42_Sub12 aClass348_Sub42_Sub12_9144; - static int anInt9145; - static int anInt9146; - private boolean aBoolean9147 = true; - - final int[][] method3047(int i, int i_0_) { - anInt9141++; - int[][] is = this.aClass322_7033.method2557(-119, i); - if (this.aClass322_7033.aBoolean4035) { - int[][] is_1_ = this.method3039((byte) 120, (aBoolean9147 ? -i + Class299_Sub2.anInt6325 : i), 0); - int[] is_2_ = is_1_[0]; - int[] is_3_ = is_1_[1]; - int[] is_4_ = is_1_[2]; - int[] is_5_ = is[0]; - int[] is_6_ = is[1]; - int[] is_7_ = is[2]; - if (aBoolean9140) { - for (int i_8_ = 0; i_8_ < Class348_Sub40_Sub6.anInt9139; i_8_++) { - is_5_[i_8_] = is_2_[Class239_Sub22.anInt6076 + -i_8_]; - is_6_[i_8_] = is_3_[Class239_Sub22.anInt6076 - i_8_]; - is_7_[i_8_] = is_4_[-i_8_ + Class239_Sub22.anInt6076]; - } - } else { - for (int i_9_ = 0; (i_9_ < Class348_Sub40_Sub6.anInt9139); i_9_++) { - is_5_[i_9_] = is_2_[i_9_]; - is_6_[i_9_] = is_3_[i_9_]; - is_7_[i_9_] = is_4_[i_9_]; - } - } - } - if (i_0_ != -1564599039) method3065(-40, true, 93); - return is; - } - - static final void method3064(int i, int i_10_, boolean bool, int i_11_, int i_12_, int i_13_, int i_14_, boolean bool_15_, Class46[] class46s, int i_16_, int i_17_) { - try { - Class348_Sub8.aHa6654.KA(i, i_12_, i_14_, i_17_); - if (bool_15_ == false) { - anInt9145++; - int i_18_ = 0; - for (/**/; class46s.length > i_18_; i_18_++) { - Class46 class46 = class46s[i_18_]; - if (class46 != null && (class46.anInt834 == i_16_ || (i_16_ == -1412584499 && Class289.aClass46_3701 == class46))) { - int i_19_ = i_11_ + class46.anInt800; - int i_20_ = class46.anInt750 + i_10_; - int i_21_ = 1 + (class46.anInt709 + i_19_); - int i_22_ = class46.anInt789 + i_20_ - -1; - int i_23_; - if (i_13_ == -1) { - Class180.aRectangleArray2371[Class348_Sub38.anInt7008].setBounds(i_11_ + class46.anInt800, i_10_ + class46.anInt750, class46.anInt709, class46.anInt789); - i_23_ = Class348_Sub38.anInt7008++; - } else i_23_ = i_13_; - class46.anInt794 = Class367_Sub11.anInt7396; - class46.anInt760 = i_23_; - if (!client.method111(class46)) { - if (class46.anInt765 != 0) Class348_Sub18.method2942(class46, (byte) -36); - int i_24_ = class46.anInt800 - -i_11_; - int i_25_ = class46.anInt750 + i_10_; - int i_26_ = 0; - int i_27_ = 0; - if (Class59_Sub1.aBoolean5300) { - i_26_ = s_Sub3.method4008((byte) -124); - i_27_ = Class16.method260(bool_15_); - } - int i_28_ = class46.anInt696; - if (Class299_Sub2.aBoolean6327 && (client.method105(class46).anInt7098 != 0 || class46.anInt774 == 0) && i_28_ > 127) i_28_ = 127; - if (class46 == Class289.aClass46_3701) { - if (i_16_ != -1412584499 && ((Class312.anInt3930 == class46.anInt797) || (InputStream_Sub1.anInt78 == (class46.anInt797)))) { - Class136.anInt4792 = i_10_; - Class348_Sub1.anInt6555 = i_11_; - Class138.aClass46Array1942 = class46s; - continue; - } - if (Class300.aBoolean3819 && Class127_Sub1.aBoolean8386) { - int i_29_ = (Class258_Sub4.aClass373_8552.method3597(true) - -i_26_); - int i_30_ = (Class258_Sub4.aClass373_8552.method3594((byte) 101) + i_27_); - i_29_ -= Class318_Sub4.anInt6411; - i_30_ -= Class219.anInt2872; - if (Class348_Sub40_Sub37.anInt9461 > i_29_) i_29_ = Class348_Sub40_Sub37.anInt9461; - if (i_30_ < Class40.anInt558) i_30_ = Class40.anInt558; - if (class46.anInt709 + i_29_ > ((Class331.aClass46_4130.anInt709) + Class348_Sub40_Sub37.anInt9461)) i_29_ = (-class46.anInt709 + ((Class348_Sub40_Sub37.anInt9461) + (Class331.aClass46_4130.anInt709))); - if (i_30_ + class46.anInt789 > (Class331.aClass46_4130.anInt789) + Class40.anInt558) i_30_ = (-class46.anInt789 + (Class40.anInt558 - -(Class331.aClass46_4130.anInt789))); - i_24_ = i_29_; - i_25_ = i_30_; - } - if (class46.anInt797 == InputStream_Sub1.anInt78) i_28_ = 128; - } - int i_31_; - int i_32_; - int i_33_; - int i_34_; - if (class46.anInt774 == 2) { - i_31_ = i; - i_32_ = i_12_; - i_33_ = i_17_; - i_34_ = i_14_; - } else { - int i_35_ = i_24_ - -class46.anInt709; - int i_36_ = i_25_ + class46.anInt789; - if (class46.anInt774 == 9) { - i_36_++; - i_35_++; - } - i_31_ = Math.max(i, i_24_); - i_32_ = (Math.max(i_12_, i_25_)); - i_34_ = Math.min(i_14_, i_35_); - i_33_ = (Math.min(i_17_, i_36_)); - } - if (i_31_ < i_34_ && i_32_ < i_33_) { - if (class46.anInt765 != 0) { - if ((Class239_Sub10.anInt5943 == class46.anInt765) || (class46.anInt765 == Class312.anInt3932)) { - Class5_Sub2.method198(class46, false, i_25_, i_24_); - if (!Class59_Sub1.aBoolean5300) { - OutputStream_Sub1.method132(124, (Class312.anInt3932 == (class46.anInt765)), class46.anInt709, i_24_, class46.anInt789, i_25_); - Class348_Sub8.aHa6654.KA(i, i_12_, i_14_, i_17_); - } - Class152.aBooleanArray2076[i_23_] = true; - continue; - } - if (class46.anInt765 == Class290.anInt3717) { - if (class46.method425((Class348_Sub8.aHa6654), (byte) 8) != null) { - Class369_Sub1.method3570(false); - Class107.method1007(class46, (Class348_Sub8.aHa6654), i_24_, i_25_, 22960); - Class268.aBooleanArray3438[i_23_] = true; - Class348_Sub8.aHa6654.KA(i, i_12_, i_14_, i_17_); - if (Class59_Sub1.aBoolean5300) { - if (bool) Class338.method2663(-5590, i_19_, i_21_, i_20_, i_22_); - else Class54.method503(i_22_, i_19_, (byte) -74, i_21_, i_20_); - } - } - continue; - } - if (class46.anInt765 == Class239_Sub11.anInt5951) { - if (class46.method425((Class348_Sub8.aHa6654), (byte) 26) != null) { - Class18.method271(i_25_, class46, (byte) -98, i_24_); - Class268.aBooleanArray3438[i_23_] = true; - Class348_Sub8.aHa6654.KA(i, i_12_, i_14_, i_17_); - if (Class59_Sub1.aBoolean5300) { - if (!bool) Class54.method503(i_22_, i_19_, (byte) -74, i_21_, i_20_); - else Class338.method2663(-5590, i_19_, i_21_, i_20_, i_22_); - } - } - continue; - } - if (class46.anInt765 == Class348_Sub45.anInt7102) { - Class318_Sub1_Sub3_Sub4.method2464((byte) -7, i_24_, class46.anInt709, class46.anInt789, Class348_Sub8.aHa6654, i_25_, Class348_Sub40_Sub4.aD9113); - Class152.aBooleanArray2076[i_23_] = true; - Class348_Sub8.aHa6654.KA(i, i_12_, i_14_, i_17_); - continue; - } - if (Class218.anInt2861 == class46.anInt765) { - Class361.method3498(class46.anInt789, Class348_Sub8.aHa6654, i_24_, class46.anInt709, true, i_25_); - Class152.aBooleanArray2076[i_23_] = true; - Class348_Sub8.aHa6654.KA(i, i_12_, i_14_, i_17_); - continue; - } - if (Class136.anInt4793 == class46.anInt765) { - if (Class298.aBoolean3811 || Class188.aBoolean2514) { - int i_37_ = (class46.anInt709 + i_24_); - int i_38_ = 15 + i_25_; - if (Class59_Sub1.aBoolean5300) { - if (!bool) Class54.method503(i_22_, i_19_, (byte) -74, i_21_, i_20_); - else Class338.method2663(-5590, i_19_, i_21_, i_20_, i_22_); - } - if (Class298.aBoolean3811) { - int i_39_ = -256; - if (Class239_Sub5.anInt5891 < 20) i_39_ = -65536; - Applet_Sub1.aClass324_20.method2569("Fps:" + (Class239_Sub5.anInt5891), i_38_, i_39_, i_37_, -128, -1); - i_38_ += 15; - Runtime runtime = Runtime.getRuntime(); - int i_40_ = (int) (((runtime.totalMemory()) + -(runtime.freeMemory())) / 1024L); - int i_41_ = -256; - if (i_40_ > 98304) { - i_41_ = -65536; - if (Class161.aBoolean2151) { - Class46.method427(-35); - for (int i_42_ = 0; i_42_ < 10; i_42_++) - System.gc(); - i_40_ = (int) (((runtime.totalMemory()) - (runtime.freeMemory())) / 1024L); - if (i_40_ > 65536) Class59.method544("WARNING: Memory usage over 64MB! Please inform whoever is responsible for the content/area you are using/in.", false, 4); - } - } - Applet_Sub1.aClass324_20.method2569("Mem:" + i_40_ + "k", i_38_, i_41_, i_37_, -124, -1); - i_38_ += 15; - Applet_Sub1.aClass324_20.method2569(("In:" + Class264.anInt3372 + "B/s Out:" + (Class348_Sub48.anInt7134) + "B/s"), i_38_, -256, i_37_, -127, -1); - i_38_ += 15; - int i_43_ = (Class348_Sub8.aHa6654.E() / 1024); - Applet_Sub1.aClass324_20.method2569("Offheap:" + i_43_ + "k", i_38_, (i_43_ <= 65536 ? -256 : -65536), i_37_, -125, -1); - i_38_ += 15; - int i_44_ = 0; - int i_45_ = 0; - int i_46_ = 0; - for (int i_47_ = 0; (i_47_ < 37); i_47_++) { - if ((Class13.aClass314_Sub1Array223[i_47_]) != null) { - i_44_ += (Class13.aClass314_Sub1Array223[i_47_].method2345(0)); - i_45_ += (Class13.aClass314_Sub1Array223[i_47_].method2351(0)); - i_46_ += (Class13.aClass314_Sub1Array223[i_47_].method2341(24940)); - } - } - int i_48_ = i_46_ * 100 / i_44_; - int i_49_ = 10000 * i_45_ / i_44_; - String string = ("Cache:" + (Class357.method3486(2, true, 0, i_49_, 16980)) + "% (" + i_48_ + "%)"); - Class240.aClass324_4684.method2569(string, i_38_, -256, i_37_, -127, -1); - i_38_ += 12; - if (Loader.showCoordinates) { - int playerX = (Class132.aPlayer_1907.x >> 9) + za_Sub2.regionTileX; - int playerY = (Class132.aPlayer_1907.y >> 9) + Class90.regionTileY; - Class240.aClass324_4684.method2569("Coordinates: " + playerX + ", " + playerY + ", " + Class132.aPlayer_1907.plane, i_38_, -256, i_37_, -127, -1); - i_38_ += 12; - Class240.aClass324_4684.method2569("Region id: " + (((playerX >> 6) << 8) + (playerY >> 6)) + " (" + (playerX >> 6) + ", " + (playerY >> 6) + ")", i_38_, -256, i_37_, -127, -1); - i_38_ += 12; - Class240.aClass324_4684.method2569("Chunk: " + (playerX >> 3) + ", " + (playerY >> 3), i_38_, -256, i_37_, -127, -1); - i_38_ += 12; - } - } - if (Class313.anInt3936 > 0) Class240.aClass324_4684.method2569(("Particles: " + (Class318_Sub1_Sub5.anInt8780) + " / " + Class313.anInt3936), i_38_, -256, i_37_, -121, -1); - i_38_ += 12; - if (Class188.aBoolean2514) { - Class240.aClass324_4684.method2569(("Polys: " + Class348_Sub8.aHa6654.I() + " Models: " + Class348_Sub8.aHa6654.M()), i_38_, -256, i_37_, -127, -1); - i_38_ += 12; - Class240.aClass324_4684.method2569(("Ls: " + Class177.anInt4666 + " La: " + Class86.anInt1482 + " NPC: " + Class227.anInt2968 + " Pl: " + za_Sub1.anInt9776), i_38_, -256, i_37_, -122, -1); - Class110_Sub1.method1042((byte) -123); - i_38_ += 12; - } - Class152.aBooleanArray2076[i_23_] = true; - } - continue; - } - } - if (class46.anInt774 == 0) { - if ((class46.anInt765 == Class372.anInt4532) && Class348_Sub8.aHa6654.method3666()) Class348_Sub8.aHa6654.method3658(i_24_, i_25_, class46.anInt709, class46.anInt789); - method3064(i_31_, -class46.anInt755 + i_25_, bool, i_24_ - class46.anInt747, i_32_, i_23_, i_34_, false, class46s, class46.anInt830, i_33_); - if (class46.aClass46Array798 != null) method3064(i_31_, -(class46.anInt755) + i_25_, bool, i_24_ - (class46.anInt747), i_32_, i_23_, i_34_, false, (class46.aClass46Array798), (class46.anInt830), i_33_); - Class348_Sub41 class348_sub41 = ((Class348_Sub41) (Class125.aClass356_4915.method3480(class46.anInt830, -6008))); - if (class348_sub41 != null) Class159.method1252(i_25_, (class348_sub41.anInt7050), i_32_, i_23_, i_24_, i_34_, i_33_, (byte) 60, i_31_); - if ((class46.anInt765 == Class372.anInt4532) && Class348_Sub8.aHa6654.method3666()) Class348_Sub8.aHa6654.method3698(); - Class348_Sub8.aHa6654.KA(i, i_12_, i_14_, i_17_); - } - if (Class175.aBooleanArray2326[i_23_] || ha_Sub3.anInt8045 > 1) { - if (class46.anInt774 == 3) { - if (i_28_ == 0) { - if (class46.aBoolean810) Class348_Sub8.aHa6654.aa(i_24_, i_25_, (class46.anInt709), (class46.anInt789), (class46.anInt749), 0); - else Class348_Sub8.aHa6654.method3628(i_24_, i_25_, (class46.anInt709), (class46.anInt789), (class46.anInt749), 0); - } else if (!class46.aBoolean810) Class348_Sub8.aHa6654.method3628(i_24_, i_25_, class46.anInt709, class46.anInt789, (0xffffff & class46.anInt749 | (-(i_28_ & 0xff) + 255 << 24)), 1); - else Class348_Sub8.aHa6654.aa(i_24_, i_25_, class46.anInt709, class46.anInt789, (0xffffff & class46.anInt749 | (-(0xff & i_28_) + 255 << 24)), 1); - if (Class59_Sub1.aBoolean5300) { - if (bool) Class338.method2663(-5590, i_19_, i_21_, i_20_, i_22_); - else Class54.method503(i_22_, i_19_, (byte) -74, i_21_, i_20_); - } - } else if (class46.anInt774 == 4) { - Class324 class324 = class46.method426((Class348_Sub8.aHa6654), (byte) 68); - if (class324 == null) { - if (Class348_Sub42_Sub13.aBoolean9616) Class251.method1916(-9343, class46); - } else { - int i_50_ = class46.anInt749; - String string = (class46.aString792); - if (class46.anInt812 != -1) { - Class213 class213 = (Exception_Sub1.aClass255_112.method1940(-67, (class46.anInt812))); - string = (class213.aString2795); - if (string == null) string = "null"; - if (((class213.anInt2820) == 1 || (class46.anInt781) != 1) && (class46.anInt781) != -1) string = ("" + string + " x" + (Class37.method356(-127, (class46.anInt781)))); - } - if (class46.anInt806 != -1) { - string = (Class286_Sub4.method2157((class46.anInt806), -1431655765)); - if (string == null) string = ""; - } - if (Class49.aClass46_4730 == class46) { - string = (Class274.aClass274_3514.method2063((Class348_Sub33.anInt6967), 544)); - i_50_ = (class46.anInt749); - } - if (Class318_Sub1_Sub3_Sub2.aBoolean10046) Class348_Sub8.aHa6654.T(i_24_, i_25_, (class46.anInt709) + i_24_, (class46.anInt789) + i_25_); - class324.method2568(null, class46.anInt789, (byte) -77, null, 0, Class113.aClass105Array1744, (-(i_28_ & 0xff) + 255 << 24) | i_50_, i_25_, class46.anInt709, class46.anInt700, string, 0, i_24_, class46.anInt762, (!(class46.aBoolean769) ? -1 : (-(0xff & i_28_) + 255 << 24)), class46.anInt773, class46.anInt673); - if (Class318_Sub1_Sub3_Sub2.aBoolean10046) Class348_Sub8.aHa6654.KA(i, i_12_, i_14_, i_17_); - if (string.trim().length() > 0) { - if (Class318_Sub1_Sub3_Sub2.aBoolean10046) { - if (Class59_Sub1.aBoolean5300) { - if (!bool) Class54.method503(i_22_, i_19_, (byte) -74, i_21_, i_20_); - else Class338.method2663(-5590, i_19_, i_21_, i_20_, i_22_); - } - } else { - Class143 class143 = (Class135.method1151(-25411, (Class348_Sub8.aHa6654), (class46.anInt702))); - int i_51_ = (class143.method1187(string, bool_15_, class46.anInt709, (Class113.aClass105Array1744))); - int i_52_ = (class143.method1185((Class113.aClass105Array1744), 0, class46.anInt673, class46.anInt709, string)); - if (Class59_Sub1.aBoolean5300) { - if (!bool) Class54.method503(i_25_ + i_52_, i_24_, (byte) -74, (i_24_ - -i_51_), i_25_); - else Class338.method2663(-5590, i_24_, i_51_ + i_24_, i_25_, (i_25_ + i_52_)); - } - } - } - } - } else if (class46.anInt774 == 5) { - if (class46.anInt705 >= 0) - class46.method444(bool_15_, Class123.aClass25_1813, Class30.aClass84_413).method2293(0, Class348_Sub8.aHa6654, (byte) -35, i_24_, class46.anInt709, i_25_, (class46.anInt835 << 3), (class46.anInt759 << 3), 0, class46.anInt789); - else { - Class105 class105; - if (class46.anInt812 != -1) { - Class154 class154 = ((class46.aBoolean720) ? (Class132.aPlayer_1907.aClass154_10536) : null); - class105 = (Exception_Sub1.aClass255_112.method1941((class46.anInt672), (byte) -74, (class46.anInt812), (class46.anInt781), (~0xffffff | (class46.anInt809)), (class46.anInt678), Class348_Sub8.aHa6654, class154)); - } else if ((class46.anInt806) == -1) class105 = (class46.method443(Class348_Sub8.aHa6654, (byte) -57)); - else class105 = (Class299_Sub1_Sub2.method2263(Class348_Sub8.aHa6654, 0, (class46.anInt806))); - if (class105 == null) { - if (Class348_Sub42_Sub13.aBoolean9616) Class251.method1916(-9343, class46); - } else { - int i_53_ = class105.method966(); - int i_54_ = class105.method980(); - int i_55_ = ((-(i_28_ & 0xff) + 255 << 24) | ((class46.anInt749) != 0 ? (class46.anInt749 & 0xffffff) : 16777215)); - if (class46.aBoolean697) { - Class348_Sub8.aHa6654.T(i_24_, i_25_, i_24_ - -(class46.anInt709), (class46.anInt789) + i_25_); - if ((class46.anInt828) != 0) { - int i_56_ = ((i_53_ - 1 + (class46.anInt709)) / i_53_); - int i_57_ = ((i_54_ - 1 + (class46.anInt789)) / i_54_); - for (int i_58_ = 0; i_58_ < i_56_; i_58_++) { - for (int i_59_ = 0; i_59_ < i_57_; i_59_++) { - if ((class46.anInt749) == 0) class105.method981((((float) i_53_ / 2.0F) + (float) (i_24_ - -(i_53_ * i_58_))), (((float) i_54_ / 2.0F) + (float) (i_59_ * i_54_ + i_25_)), 4096, (class46.anInt828)); - else class105.method977((((float) i_53_ / 2.0F) + (float) (i_53_ * i_58_ + i_24_)), (((float) i_54_ / 2.0F) + (float) (i_25_ + i_59_ * i_54_)), 4096, (class46.anInt828), 0, i_55_, 1); - } - } - } else if ((class46.anInt749) != 0 || (i_28_ != 0)) class105.method965(i_24_, i_25_, (class46.anInt709), (class46.anInt789), 0, i_55_, 1); - else class105.method972(i_24_, i_25_, (class46.anInt709), (class46.anInt789)); - Class348_Sub8.aHa6654.KA(i, i_12_, i_14_, i_17_); - } else if ((class46.anInt749) == 0 && i_28_ == 0) { - if ((class46.anInt828) != 0) class105.method981(((float) i_24_ + ((float) (class46.anInt709) / 2.0F)), (((float) (class46.anInt789) / 2.0F) + (float) i_25_), (4096 * (class46.anInt709) / i_53_), (class46.anInt828)); - else if ((i_53_ == (class46.anInt709)) && ((class46.anInt789) == i_54_)) class105.method974(i_24_, i_25_); - else class105.method973(i_24_, i_25_, (class46.anInt709), (class46.anInt789)); - } else if (class46.anInt828 != 0) class105.method977(((float) i_24_ + ((float) (class46.anInt709) / 2.0F)), ((float) i_25_ + ((float) (class46.anInt789) / 2.0F)), (4096 * class46.anInt709 / i_53_), (class46.anInt828), 0, i_55_, 1); - else if (((class46.anInt709) == i_53_) && (class46.anInt789 == i_54_)) class105.method964(i_24_, i_25_, 0, i_55_, 1); - else class105.method970(i_24_, i_25_, (class46.anInt709), (class46.anInt789), 0, i_55_, 1); - } - } - if (Class59_Sub1.aBoolean5300) { - if (!bool) Class54.method503(i_22_, i_19_, (byte) -74, i_21_, i_20_); - else Class338.method2663(-5590, i_19_, i_21_, i_20_, i_22_); - } - } else if (class46.anInt774 == 6) { - Class358.method3489(115); - Class64 class64 = null; - int i_60_ = 0; - if (class46.anInt812 != -1) { - Class213 class213 = (Exception_Sub1.aClass255_112.method1940(103, (class46.anInt812))); - if (class213 != null) { - class213 = (class213.method1560((class46.anInt781), (byte) 97)); - Class17 class17 = ((class46.anInt699) == -1 ? null : (Class10.aClass87_191.method835((class46.anInt699), 7))); - Class154 class154 = (!(class46.aBoolean720) ? null : (Class132.aPlayer_1907.aClass154_10536)); - class64 = (class213.method1559(class154, class17, Class348_Sub8.aHa6654, 2048, (class46.anInt841), 1, (class46.anInt795), (byte) 88, (class46.anInt730))); - if (class64 != null) i_60_ = (-class64.fa() >> 1); - else Class251.method1916(-9343, class46); - } - } else if ((class46.anInt770) == 5) { - int i_61_ = class46.anInt753; - if (i_61_ >= 0 && (i_61_ < 2048)) { - Player player = (Class294.aPlayerArray5058[i_61_]); - Class17 class17 = ((class46.anInt699) == -1 ? null : (Class10.aClass87_191.method835((class46.anInt699), 7))); - if ((player != null) && ((i_61_ == (Class348_Sub42_Sub11.anInt9591)) || ((class46.anInt779) == (Class318_Sub1_Sub3_Sub1.method2418((player.aString10544), (byte) -50))))) - class64 = (player.aClass154_10536.method1226((Class318_Sub1_Sub3_Sub3.aClass170_10209), null, null, true, (Exception_Sub1.aClass255_112), 0, class17, class46.anInt730, true, -1, null, 2048, (Class348_Sub40_Sub25.aClass150_9342), class46.anInt841, (Class348_Sub8.aHa6654), (Class189.aClass278_2529), (Class10.aClass87_191), 0, class46.anInt795, 0, (Class64_Sub3.aClass261_5558))); - } - } else if ((class46.anInt770) == 8 || (class46.anInt770) == 9) { - Class348_Sub13 class348_sub13 = (Class258_Sub4.method1974((byte) -123, (class46.anInt753), false)); - Class17 class17 = ((class46.anInt699) == -1 ? null : (Class10.aClass87_191.method835((class46.anInt699), 7))); - if (class348_sub13 != null) { - Class154 class154 = ((class46.aBoolean720) ? (Class132.aPlayer_1907.aClass154_10536) : null); - class64 = (class348_sub13.method2803(class17, class154, (class46.anInt779), (class46.anInt795), (class46.anInt841), (class46.anInt730), 2048, Class348_Sub8.aHa6654, (class46.anInt770) == 9, -1)); - } - } else if (class46.anInt699 == -1) { - class64 = (class46.method430((Class348_Sub40_Sub25.aClass150_9342), Class10.aClass87_191, 2048, Class348_Sub8.aHa6654, -1, 0, (Exception_Sub1.aClass255_112), (Class318_Sub1_Sub3_Sub3.aClass170_10209), 255, (Class132.aPlayer_1907.aClass154_10536), null, (Class64_Sub3.aClass261_5558), (Class189.aClass278_2529), -1)); - if (class64 == null && (Class348_Sub42_Sub13.aBoolean9616)) Class251.method1916(-9343, class46); - } else { - Class17 class17 = (Class10.aClass87_191.method835((class46.anInt699), 7)); - class64 = (class46.method430((Class348_Sub40_Sub25.aClass150_9342), Class10.aClass87_191, 2048, Class348_Sub8.aHa6654, (class46.anInt795), (class46.anInt841), (Exception_Sub1.aClass255_112), (Class318_Sub1_Sub3_Sub3.aClass170_10209), 255, (Class132.aPlayer_1907.aClass154_10536), class17, (Class64_Sub3.aClass261_5558), (Class189.aClass278_2529), (class46.anInt730))); - if (class64 == null && (Class348_Sub42_Sub13.aBoolean9616)) Class251.method1916(-9343, class46); - } - if (class64 != null) { - int i_62_; - if (class46.anInt796 > 0) i_62_ = (((class46.anInt709) << 9) / (class46.anInt796)); - else i_62_ = 512; - int i_63_; - if (class46.anInt826 <= 0) i_63_ = 512; - else i_63_ = (((class46.anInt789) << 9) / (class46.anInt826)); - int i_64_ = (i_24_ - -((class46.anInt709) / 2)); - int i_65_ = i_25_ + (class46.anInt789) / 2; - if (!class46.aBoolean784) { - i_64_ += (i_62_ * (class46.anInt688) >> 9); - i_65_ += (i_63_ * (class46.anInt799) >> 9); - } - Class157.aClass101_2123.method910(); - Class348_Sub8.aHa6654.method3638(Class157.aClass101_2123); - Class348_Sub8.aHa6654.DA(i_64_, i_65_, i_62_, i_63_); - Class348_Sub8.aHa6654.ya(); - if (class46.aBoolean754) Class348_Sub8.aHa6654.C(false); - if (class46.aBoolean784) { - Class50_Sub1.aClass101_5209.method899(class46.anInt757); - Class50_Sub1.aClass101_5209.method896(class46.anInt675); - Class50_Sub1.aClass101_5209.method908(class46.anInt717); - Class50_Sub1.aClass101_5209.method891((class46.anInt688), (class46.anInt799), (class46.anInt787)); - } else { - int i_66_ = ((((class46.anInt716) << 2) * (Class70.anIntArray1207[(class46.anInt757 << 3)])) >> 14); - int i_67_ = (((Class70.anIntArray1204[((class46.anInt757) << 3)]) * ((class46.anInt716) << 2)) >> 14); - Class50_Sub1.aClass101_5209.method902(-(class46.anInt717) << 3); - Class50_Sub1.aClass101_5209.method896((class46.anInt675) << 3); - Class50_Sub1.aClass101_5209.method891(((class46.anInt808) << 2), (((class46.anInt786) << 2) + (i_66_ + i_60_)), ((class46.anInt786) << 2) + i_67_); - Class50_Sub1.aClass101_5209.method900((class46.anInt757) << 3); - } - class46.method437(-20154, class64, Class348_Sub8.aHa6654, Class367_Sub11.anInt7396, Class50_Sub1.aClass101_5209); - if (Class318_Sub1_Sub3_Sub2.aBoolean10046) Class348_Sub8.aHa6654.T(i_24_, i_25_, (class46.anInt709) + i_24_, (i_25_ + (class46.anInt789))); - if (!class46.aBoolean784) { - if (!class46.aBoolean689) { - class64.method615((Class50_Sub1.aClass101_5209), null, 1); - if ((class46.aClass318_Sub10_740) != null) Class348_Sub8.aHa6654.method3684(class46.aClass318_Sub10_740.method2539()); - } else class64.method608((Class50_Sub1.aClass101_5209), null, ((class46.anInt716) << 2), 1); - } else if (class46.aBoolean689) class64.method608((Class50_Sub1.aClass101_5209), null, (class46.anInt716), 1); - else { - class64.method615((Class50_Sub1.aClass101_5209), null, 1); - if ((class46.aClass318_Sub10_740) != null) Class348_Sub8.aHa6654.method3684(class46.aClass318_Sub10_740.method2539()); - } - if (Class318_Sub1_Sub3_Sub2.aBoolean10046) Class348_Sub8.aHa6654.KA(i, i_12_, i_14_, i_17_); - if (class46.aBoolean754) Class348_Sub8.aHa6654.C(true); - } - if (Class59_Sub1.aBoolean5300) { - if (bool) Class338.method2663(-5590, i_19_, i_21_, i_20_, i_22_); - else Class54.method503(i_22_, i_19_, (byte) -74, i_21_, i_20_); - } - } else if (class46.anInt774 == 9) { - int i_68_; - int i_69_; - int i_70_; - int i_71_; - if (class46.aBoolean744) { - i_68_ = (class46.anInt789 + i_25_); - i_69_ = i_24_; - i_70_ = (class46.anInt709 + i_24_); - i_71_ = i_25_; - } else { - i_71_ = i_25_ + (class46.anInt789); - i_70_ = (class46.anInt709 + i_24_); - i_68_ = i_25_; - i_69_ = i_24_; - } - if (class46.anInt690 != 1) Class348_Sub8.aHa6654.method3688(i_69_, i_68_, i_70_, i_71_, class46.anInt749, class46.anInt690, 0); - else Class348_Sub8.aHa6654.method3709(i_69_, i_68_, i_70_, i_71_, class46.anInt749, 0); - if (Class59_Sub1.aBoolean5300) { - if (bool) Class338.method2663(-5590, i_19_, i_21_, i_20_, i_22_); - else Class54.method503(i_22_, i_19_, (byte) -74, i_21_, i_20_); - } - } - } - } - } - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("jia.B(" + i + ',' + i_10_ + ',' + bool + ',' + i_11_ + ',' + i_12_ + ',' + i_13_ + ',' + i_14_ + ',' + bool_15_ + ',' + (class46s != null ? "{...}" : "null") + ',' + i_16_ + ',' + i_17_ + ')')); - } - } - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_72_) { - while_146_: - do { - try { - anInt9146++; - if (i_72_ == 31015) { - int i_73_ = i; - do { - if (i_73_ == 0) { - aBoolean9140 = class348_sub49.readUnsignedByte(255) == 1; - return; - } else if (i_73_ != 1) { - if (i_73_ == 2) break; - break while_146_; - } - aBoolean9147 = class348_sub49.readUnsignedByte(255) == 1; - return; - } while (false); - this.aBoolean7045 = class348_sub49.readUnsignedByte(255) == 1; - break; - } - break; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("jia.F(" + (class348_sub49 != null ? "{...}" : "null") + ',' + i + ',' + i_72_ + ')')); - } - } while (false); - } - - public Class348_Sub40_Sub7() { - super(1, false); - } - - static final void method3065(int i, boolean bool, int i_74_) { - Class318_Sub1_Sub4.anInt8765++; - anInt9142++; - if (bool != false) method3065(-42, true, 43); - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class348_Sub40_Sub1.aClass351_9089, Class348_Sub23_Sub2.aClass77_9029, -97); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(52, i_74_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeIntMiddle(i, (byte) 44); - Class348_Sub42_Sub14.method3243(25, class348_sub47); - } - - final int[] method3042(int i, int i_75_) { - anInt9143++; - if (i_75_ != 255) aClass348_Sub42_Sub12_9144 = null; - int[] is = this.aClass191_7032.method1433(0, i); - if (this.aClass191_7032.aBoolean2570) { - int[] is_76_ = this.method3048((aBoolean9147 ? Class299_Sub2.anInt6325 - i : i), i_75_ + 633706082, 0); - if (aBoolean9140) { - for (int i_77_ = 0; (i_77_ < Class348_Sub40_Sub6.anInt9139); i_77_++) - is[i_77_] = is_76_[Class239_Sub22.anInt6076 + -i_77_]; - } else Class214.method1578(is_76_, 0, is, 0, Class348_Sub40_Sub6.anInt9139); - } - return is; - } - - public static void method3066(int i) { - if (i != -1) aClass348_Sub42_Sub12_9144 = null; - aClass348_Sub42_Sub12_9144 = null; - } -} diff --git a/client/src/Class348_Sub40_Sub8.java b/client/src/Class348_Sub40_Sub8.java deleted file mode 100644 index 33bd04b23..000000000 --- a/client/src/Class348_Sub40_Sub8.java +++ /dev/null @@ -1,250 +0,0 @@ -/* Class348_Sub40_Sub8 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; - -final class Class348_Sub40_Sub8 extends Class348_Sub40 { - static int anInt9148; - int anInt9149 = 1638; - int anInt9150; - static int anInt9151; - private byte[] aByteArray9152 = new byte[512]; - static int anInt9153; - static int anInt9154; - static int anInt9155; - int anInt9156; - static int anInt9157; - int anInt9158; - private short[] aShortArray9159; - boolean aBoolean9160 = true; - static int anInt9161; - private short[] aShortArray9162; - static Color[] aColorArray9163 = {new Color(9179409), new Color(16777215), new Color(16726277), new Color(16726277)}; - int anInt9164; - static Class238 aClass238_9165; - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_0_) { - int i_1_ = i; - while_151_: - do { - while_150_: - do { - while_149_: - do { - while_148_: - do { - while_147_: - do { - do { - if (i_1_ == 0) { - this.aBoolean9160 = class348_sub49.readUnsignedByte(i_0_ ^ 0x79d8) == 1; - break while_151_; - } else if (i_1_ != 1) { - if (i_1_ != 2) { - if (i_1_ != 3) { - if (i_1_ != 4) { - if (i_1_ != 5) { - if (i_1_ == 6) break while_150_; - break while_151_; - } - } else break while_148_; - break while_149_; - } - } else break; - break while_147_; - } - this.anInt9150 = class348_sub49.readUnsignedByte(i_0_ ^ 0x79d8); - break while_151_; - } while (false); - this.anInt9149 = class348_sub49.readShort(13638); - if (this.anInt9149 < 0) { - aShortArray9159 = new short[(this.anInt9150)]; - for (i_1_ = 0; (this.anInt9150 > i_1_); i_1_++) - aShortArray9159[i_1_] = (short) class348_sub49.readShort(13638); - } - break while_151_; - } while (false); - this.anInt9158 = this.anInt9164 = class348_sub49.readUnsignedByte(255); - break while_151_; - } while (false); - this.anInt9156 = class348_sub49.readUnsignedByte(255); - break while_151_; - } while (false); - this.anInt9158 = class348_sub49.readUnsignedByte(255); - break while_151_; - } while (false); - this.anInt9164 = class348_sub49.readUnsignedByte(255); - } while (false); - if (i_0_ != 31015) method3070(20, 127, -38, 124, -110, true, 16); - anInt9153++; - } - - final int[] method3042(int i, int i_2_) { - anInt9154++; - int[] is = this.aClass191_7032.method1433(0, i); - if (this.aClass191_7032.aBoolean2570) method3069(i, is, (byte) 98); - return is; - } - - public Class348_Sub40_Sub8() { - super(0, true); - this.anInt9150 = 4; - this.anInt9156 = 0; - this.anInt9164 = 4; - this.anInt9158 = 4; - } - - final void method3044(int i) { - aByteArray9152 = ha.method3664(this.anInt9156, 95); - anInt9148++; - method3067((byte) -98); - int i_3_ = this.anInt9150 + -1; - if (i < 108) aClass238_9165 = null; - for (/**/; i_3_ >= 1; i_3_--) { - short i_4_ = aShortArray9159[i_3_]; - if (i_4_ > 8) break; - if (i_4_ < -8) break; - this.anInt9150--; - } - } - - private final void method3067(byte i) { - int i_5_ = 25 / ((i - -28) / 57); - if (this.anInt9149 > 0) { - aShortArray9162 = new short[this.anInt9150]; - aShortArray9159 = new short[this.anInt9150]; - for (int i_6_ = 0; this.anInt9150 > i_6_; i_6_++) { - aShortArray9159[i_6_] = (short) (int) ((Math.pow((float) this.anInt9149 / 4096.0F, i_6_)) * 4096.0); - aShortArray9162[i_6_] = (short) (int) Math.pow(2.0, i_6_); - } - } else if (aShortArray9159 != null && (this.anInt9150 == aShortArray9159.length)) { - aShortArray9162 = new short[this.anInt9150]; - for (int i_7_ = 0; (i_7_ < this.anInt9150); i_7_++) - aShortArray9162[i_7_] = (short) (int) Math.pow(2.0, i_7_); - } - anInt9151++; - } - - public static void method3068(int i) { - aColorArray9163 = null; - if (i != 13715) aClass238_9165 = null; - aClass238_9165 = null; - } - - final void method3069(int i, int[] is, byte i_8_) { - anInt9161++; - int i_9_ = (Class239_Sub18.anIntArray6035[i] * this.anInt9164); - if (i_8_ > 91) { - if (this.anInt9150 == 1) { - int i_39_ = aShortArray9162[0] << 12; - int i_40_ = aShortArray9159[0]; - int i_41_ = i_39_ * i_9_ >> 12; - int i_42_ = (i_39_ * this.anInt9158 >> 12); - int i_43_ = (this.anInt9164 * i_39_ >> 12); - int i_44_ = i_41_ >> 12; - int i_45_ = 1 + i_44_; - i_41_ &= 0xfff; - if (i_45_ >= i_43_) i_45_ = 0; - int i_46_ = aByteArray9152[0xff & i_45_] & 0xff; - int i_47_ = Class199.anIntArray2631[i_41_]; - int i_48_ = aByteArray9152[0xff & i_44_] & 0xff; - if (this.aBoolean9160) { - for (int i_52_ = 0; (Class348_Sub40_Sub6.anInt9139 > i_52_); i_52_++) { - int i_53_ = (this.anInt9158 * Class318_Sub6.anIntArray6432[i_52_]); - int i_54_ = method3070(i_46_, i_41_, i_42_, i_53_ * i_39_ >> 12, i_47_, true, i_48_); - i_54_ = i_40_ * i_54_ >> 12; - is[i_52_] = (i_54_ >> 1) + 2048; - } - } else { - for (int i_49_ = 0; i_49_ < Class348_Sub40_Sub6.anInt9139; i_49_++) { - int i_50_ = (this.anInt9158 * Class318_Sub6.anIntArray6432[i_49_]); - int i_51_ = method3070(i_46_, i_41_, i_42_, i_39_ * i_50_ >> 12, i_47_, true, i_48_); - is[i_49_] = i_51_ * i_40_ >> 12; - } - } - } else { - int i_10_ = aShortArray9159[0]; - if (i_10_ > 8 || i_10_ < -8) { - int i_11_ = aShortArray9162[0] << 12; - int i_12_ = i_11_ * i_9_ >> 12; - int i_13_ = (this.anInt9158 * i_11_ >> 12); - int i_14_ = (this.anInt9164 * i_11_ >> 12); - int i_15_ = i_12_ >> 12; - int i_16_ = 1 + i_15_; - if (i_16_ >= i_14_) i_16_ = 0; - i_12_ &= 0xfff; - int i_17_ = aByteArray9152[0xff & i_16_] & 0xff; - int i_18_ = aByteArray9152[0xff & i_15_] & 0xff; - int i_19_ = Class199.anIntArray2631[i_12_]; - for (int i_20_ = 0; Class348_Sub40_Sub6.anInt9139 > i_20_; i_20_++) { - int i_21_ = (Class318_Sub6.anIntArray6432[i_20_] * this.anInt9158); - int i_22_ = method3070(i_17_, i_12_, i_13_, i_11_ * i_21_ >> 12, i_19_, true, i_18_); - is[i_20_] = i_10_ * i_22_ >> 12; - } - } - for (int i_23_ = 1; this.anInt9150 > i_23_; i_23_++) { - i_10_ = aShortArray9159[i_23_]; - if (i_10_ > 8 || i_10_ < -8) { - int i_24_ = aShortArray9162[i_23_] << 12; - int i_25_ = i_24_ * i_9_ >> 12; - int i_26_ = (this.anInt9158 * i_24_ >> 12); - int i_27_ = (this.anInt9164 * i_24_ >> 12); - int i_28_ = i_25_ >> 12; - int i_29_ = 1 + i_28_; - i_25_ &= 0xfff; - if (i_29_ >= i_27_) i_29_ = 0; - int i_30_ = aByteArray9152[i_28_ & 0xff] & 0xff; - int i_31_ = Class199.anIntArray2631[i_25_]; - int i_32_ = 0xff & aByteArray9152[i_29_ & 0xff]; - if (this.aBoolean9160 && (this.anInt9150 - 1 == i_23_)) { - for (int i_33_ = 0; Class348_Sub40_Sub6.anInt9139 > i_33_; i_33_++) { - int i_34_ = (Class318_Sub6.anIntArray6432[i_33_] * (this.anInt9158)); - int i_35_ = method3070(i_32_, i_25_, i_26_, i_34_ * i_24_ >> 12, i_31_, true, i_30_); - i_35_ = is[i_33_] - -(i_35_ * i_10_ >> 12); - is[i_33_] = (i_35_ >> 1) + 2048; - } - } else { - for (int i_36_ = 0; (i_36_ < Class348_Sub40_Sub6.anInt9139); i_36_++) { - int i_37_ = (this.anInt9158 * Class318_Sub6.anIntArray6432[i_36_]); - int i_38_ = method3070(i_32_, i_25_, i_26_, i_37_ * i_24_ >> 12, i_31_, true, i_30_); - is[i_36_] += i_10_ * i_38_ >> 12; - } - } - } - } - } - } - } - - private final int method3070(int i, int i_55_, int i_56_, int i_57_, int i_58_, boolean bool, int i_59_) { - anInt9155++; - int i_60_ = i_57_ >> 12; - int i_61_ = i_60_ - -1; - i_60_ &= 0xff; - i_57_ &= 0xfff; - if (i_56_ <= i_61_) i_61_ = 0; - i_61_ &= 0xff; - int i_62_ = -4096 + i_57_; - int i_63_ = i_55_ + -4096; - int i_64_ = 0x3 & aByteArray9152[i_59_ + i_60_]; - int i_65_ = Class199.anIntArray2631[i_57_]; - int i_66_; - if (i_64_ > 1) i_66_ = i_64_ == 2 ? i_57_ - i_55_ : -i_55_ + -i_57_; - else i_66_ = i_64_ != 0 ? i_55_ - i_57_ : i_57_ + i_55_; - i_64_ = 0x3 & aByteArray9152[i_59_ + i_61_]; - int i_67_; - if (i_64_ <= 1) i_67_ = i_64_ == 0 ? i_62_ + i_55_ : i_55_ + -i_62_; - else i_67_ = i_64_ != 2 ? -i_55_ + -i_62_ : -i_55_ + i_62_; - i_64_ = aByteArray9152[i + i_60_] & 0x3; - if (bool != true) return -82; - int i_68_ = i_66_ - -(i_65_ * (i_67_ + -i_66_) >> 12); - if (i_64_ > 1) i_66_ = i_64_ == 2 ? -i_63_ + i_57_ : -i_57_ - i_63_; - else i_66_ = i_64_ != 0 ? -i_57_ + i_63_ : i_57_ - -i_63_; - i_64_ = 0x3 & aByteArray9152[i + i_61_]; - if (i_64_ > 1) i_67_ = i_64_ == 2 ? -i_63_ + i_62_ : -i_62_ - i_63_; - else i_67_ = i_64_ == 0 ? i_62_ - -i_63_ : i_63_ + -i_62_; - int i_69_ = ((-i_66_ + i_67_) * i_65_ >> 12) + i_66_; - return i_68_ - -(i_58_ * (-i_68_ + i_69_) >> 12); - } -} diff --git a/client/src/Class348_Sub40_Sub9.java b/client/src/Class348_Sub40_Sub9.java deleted file mode 100644 index 2d4c5a475..000000000 --- a/client/src/Class348_Sub40_Sub9.java +++ /dev/null @@ -1,76 +0,0 @@ -/* Class348_Sub40_Sub9 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub40_Sub9 extends Class348_Sub40 { - static int anInt9166; - private int anInt9167 = 4096; - static int anInt9168; - static Applet_Sub1 anApplet_Sub1_9169 = null; - static int anInt9170; - static Class60 aClass60_9171 = new Class60(4); - static int anInt9172; - static Class324 aClass324_9173; - - public static void method3071(byte i) { - if (i != 59) anApplet_Sub1_9169 = null; - aClass60_9171 = null; - aClass324_9173 = null; - } - - public Class348_Sub40_Sub9() { - super(1, true); - } - - static final void method3072(byte i) { - anInt9168++; - int i_0_ = Class316.aClass348_Sub51_3959.aClass239_Sub14_7264.method1778(-32350); - int i_1_ = 14 / ((i - -34) / 61); - if (i_0_ == 0) { - Class289.aByteArrayArrayArray3700 = null; - Class46.method440(0, (byte) -61); - } else if (i_0_ == 1) { - Class301.method2280((byte) 0, 28587); - Class46.method440(512, (byte) -61); - if (Class348_Sub33.aByteArrayArrayArray6962 != null) Class318_Sub1_Sub3_Sub4.method2468(3613); - } else { - Class301.method2280((byte) (-4 + Class239_Sub15.anInt6006 & 0xff), 28587); - Class46.method440(2, (byte) -61); - } - Class318_Sub1_Sub3_Sub5.anInt10395 = Class355.anInt4372; - } - - final void method3049(Class348_Sub49 class348_sub49, int i, int i_2_) { - if (i_2_ != 31015) method3042(-111, 25); - anInt9170++; - if (i == 0) anInt9167 = class348_sub49.readUnsignedShort(842397944); - } - - static final boolean method3073(int i, int i_3_, byte i_4_) { - anInt9172++; - if (i_4_ != 50) return false; - return (0x34 & i_3_) != 0; - } - - final int[] method3042(int i, int i_5_) { - anInt9166++; - int[] is = this.aClass191_7032.method1433(0, i); - if (this.aClass191_7032.aBoolean2570) { - int[] is_6_ = this.method3048(Class299_Sub2.anInt6325 & -1 + i, 633706337, 0); - int[] is_7_ = this.method3048(i, 633706337, 0); - int[] is_8_ = this.method3048(i - -1 & Class299_Sub2.anInt6325, 633706337, 0); - for (int i_9_ = 0; Class348_Sub40_Sub6.anInt9139 > i_9_; i_9_++) { - int i_10_ = anInt9167 * (-is_6_[i_9_] + is_8_[i_9_]); - int i_11_ = (anInt9167 * (-is_7_[Class239_Sub22.anInt6076 & -1 + i_9_] + is_7_[Class239_Sub22.anInt6076 & i_9_ - -1])); - int i_12_ = i_11_ >> 12; - int i_13_ = i_10_ >> 12; - int i_14_ = i_12_ * i_12_ >> 12; - int i_15_ = i_13_ * i_13_ >> 12; - int i_16_ = (int) (4096.0 * Math.sqrt((float) (i_15_ + (i_14_ - -4096)) / 4096.0F)); - int i_17_ = i_16_ != 0 ? 16777216 / i_16_ : 0; - is[i_9_] = 4096 - i_17_; - } - } - return is; - } -} diff --git a/client/src/Class348_Sub41.java b/client/src/Class348_Sub41.java deleted file mode 100644 index cb20bf5d6..000000000 --- a/client/src/Class348_Sub41.java +++ /dev/null @@ -1,293 +0,0 @@ -/* Class348_Sub41 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub41 extends Class348 { - static int anInt7046; - static int anInt7047; - static String aString7048; - static int anInt7049; - int anInt7050; - static int anInt7051; - static Class114 aClass114_7052 = new Class114(86, 6); - int anInt7053; - static int anInt7054; - static int anInt7055; - /*synthetic*/ static Class aClass7056; - - static final boolean method3154(int i, int i_0_, int i_1_, int i_2_, byte[] is, byte i_3_) { - anInt7047++; - if (i_3_ != 39) aClass114_7052 = null; - boolean bool = true; - Class348_Sub49 class348_sub49 = new Class348_Sub49(is); - int i_4_ = -1; - for (; ; ) { - int i_5_ = class348_sub49.method3334(107); - if (i_5_ == 0) break; - i_4_ += i_5_; - int i_6_ = 0; - boolean bool_7_ = false; - for (; ; ) { - if (bool_7_) { - int i_8_ = class348_sub49.readSmart(-118); - if (i_8_ == 0) break; - class348_sub49.readUnsignedByte(255); - } else { - int i_9_ = class348_sub49.readSmart(i_3_ ^ ~0x58); - if (i_9_ == 0) break; - i_6_ += -1 + i_9_; - int i_10_ = i_6_ & 0x3f; - int i_11_ = i_6_ >> 6 & 0x3f; - int i_12_ = class348_sub49.readUnsignedByte(255) >> 2; - int i_13_ = i_11_ - -i_0_; - int i_14_ = i_2_ + i_10_; - if (i_13_ > 0 && i_14_ > 0 && i_13_ < -1 + i && -1 + i_1_ > i_14_) { - Class51 class51 = Class348_Sub40_Sub12.aClass263_9195.method2005(0, i_4_); - if (i_12_ != 22 || Class316.aClass348_Sub51_3959.aClass239_Sub4_7220.method1737(-32350) != 0 || class51.anInt874 != 0 || (class51.anInt920 == 1) || class51.aBoolean947) { - bool_7_ = true; - if (!class51.method485(9773)) { - Class154.anInt2101++; - bool = false; - } - } - } - } - } - } - return bool; - } - - public static void method3155(int i) { - aString7048 = null; - aClass114_7052 = null; - if (i != -5) anInt7054 = 110; - } - - static final int method3156(boolean bool, String string) { - anInt7055++; - if (bool != true) aClass114_7052 = null; - return Class239_Sub26.method1836(-123, 10, true, string); - } - - static final void method3157(int i, byte i_15_, int i_16_, int i_17_, boolean bool) { - anInt7049++; - if (bool || i_16_ != ha.anInt4581 || Class327.anInt4095 != i || (Class355.anInt4372 != Class167.anInt2204 && Class316.aClass348_Sub51_3959.aClass239_Sub27_7261.method1840(-32350) != 1)) { - ha.anInt4581 = i_16_; - Class327.anInt4095 = i; - Class167.anInt2204 = Class355.anInt4372; - if (Class316.aClass348_Sub51_3959.aClass239_Sub27_7261.method1840(-32350) == 1) Class167.anInt2204 = 0; - Class348_Sub49.method3379(2, i_17_); - Class362.method3511(true, Applet_Sub1.aClass324_20, Class246.aClass143_3179, Class274.aClass274_3495.method2063(Class348_Sub33.anInt6967, 544), 2, Class348_Sub8.aHa6654); - int i_18_ = za_Sub2.regionTileX; - int i_19_ = Class90.regionTileY; - za_Sub2.regionTileX = (-(Class367_Sub4.anInt7319 >> 4) + ha.anInt4581) * 8; - Class90.regionTileY = 8 * (Class327.anInt4095 - (Class348_Sub40_Sub3.anInt9109 >> 4)); - Class348_Sub26.aClass348_Sub42_Sub14_6885 = Class75.method766(ha.anInt4581 * 8, Class327.anInt4095 * 8); - r_Sub2.aClass252_10488 = null; - int i_20_ = za_Sub2.regionTileX - i_18_; - int i_21_ = -i_19_ + Class90.regionTileY; - if (i_17_ == 11) { - for (int i_22_ = 0; Class348_Sub32.anInt6930 > i_22_; i_22_++) { - Class348_Sub22 class348_sub22 = Class348_Sub40_Sub23.aClass348_Sub22Array9319[i_22_]; - if (class348_sub22 != null) { - Npc npc = (class348_sub22.aNpc_6859); - for (int i_23_ = 0; i_23_ < 10; i_23_++) { - npc.anIntArray10320[i_23_] -= i_20_; - npc.anIntArray10317[i_23_] -= i_21_; - } - npc.y -= i_21_ * 512; - npc.x -= i_20_ * 512; - } - } - } else { - Class150.anInt2057 = 0; - boolean bool_24_ = false; - int i_25_ = Class367_Sub4.anInt7319 * 512 - 512; - int i_26_ = 512 * (-1 + Class348_Sub40_Sub3.anInt9109); - for (int i_27_ = 0; (Class348_Sub32.anInt6930 > i_27_); i_27_++) { - Class348_Sub22 class348_sub22 = Class348_Sub40_Sub23.aClass348_Sub22Array9319[i_27_]; - if (class348_sub22 != null) { - Npc npc = (class348_sub22.aNpc_6859); - npc.y -= 512 * i_21_; - npc.x -= 512 * i_20_; - if ((npc.x) < 0 || i_25_ < (npc.x) || (npc.y) < 0 || i_26_ < (npc.y)) { - npc.method2448(null, -2); - class348_sub22.method2715((byte) 80); - bool_24_ = true; - } else { - boolean bool_28_ = true; - for (int i_29_ = 0; i_29_ < 10; i_29_++) { - npc.anIntArray10320[i_29_] -= i_20_; - npc.anIntArray10317[i_29_] -= i_21_; - if ((npc.anIntArray10320[i_29_]) < 0 || ((npc.anIntArray10320[i_29_]) >= Class367_Sub4.anInt7319) || (npc.anIntArray10317[i_29_]) < 0 || (Class348_Sub40_Sub3.anInt9109 <= (npc.anIntArray10317[i_29_]))) - bool_28_ = false; - } - if (!bool_28_) { - npc.method2448(null, -2); - bool_24_ = true; - class348_sub22.method2715((byte) 113); - } else Class74.anIntArray1233[Class150.anInt2057++] = (npc.anInt10290); - } - } - } - if (bool_24_) { - Class348_Sub32.anInt6930 = Class282.aClass356_3654.method3474(1); - Class282.aClass356_3654.method3477(3, Class348_Sub40_Sub23.aClass348_Sub22Array9319); - } - } - if (i_15_ > 122) { - for (int i_30_ = 0; i_30_ < 2048; i_30_++) { - Player player = (Class294.aPlayerArray5058[i_30_]); - if (player != null) { - for (int i_31_ = 0; i_31_ < 10; i_31_++) { - player.anIntArray10320[i_31_] -= i_20_; - player.anIntArray10317[i_31_] -= i_21_; - } - player.x -= i_20_ * 512; - player.y -= 512 * i_21_; - } - } - Class302[] class302s = Class348_Sub27.aClass302Array6897; - for (int i_32_ = 0; class302s.length > i_32_; i_32_++) { - Class302 class302 = class302s[i_32_]; - if (class302 != null) { - class302.anInt3832 -= i_21_ * 512; - class302.anInt3835 -= 512 * i_20_; - } - } - for (Class348_Sub27 class348_sub27 = ((Class348_Sub27) Class348_Sub42_Sub20.aClass262_9711.method1995(4)); class348_sub27 != null; class348_sub27 = (Class348_Sub27) Class348_Sub42_Sub20.aClass262_9711.method1990((byte) 68)) { - class348_sub27.anInt6896 -= i_21_; - class348_sub27.anInt6905 -= i_20_; - if (Class312.anInt3931 != 4 && (class348_sub27.anInt6905 < 0 || class348_sub27.anInt6896 < 0 || (class348_sub27.anInt6905 >= Class367_Sub4.anInt7319) || (Class348_Sub40_Sub3.anInt9109 <= (class348_sub27.anInt6896)))) class348_sub27.method2715((byte) 101); - } - if (Class312.anInt3931 != 4) { - for (Class348_Sub37 class348_sub37 = ((Class348_Sub37) Class130.aClass356_1895.method3484(0)); class348_sub37 != null; class348_sub37 = ((Class348_Sub37) Class130.aClass356_1895.method3482(0))) { - int i_33_ = (int) (0x3fffL & class348_sub37.aLong4291); - int i_34_ = -za_Sub2.regionTileX + i_33_; - int i_35_ = (int) (0x3fffL & (class348_sub37.aLong4291 >> 14)); - int i_36_ = i_35_ + -Class90.regionTileY; - if (i_34_ < 0 || i_36_ < 0 || (i_34_ >= Class367_Sub4.anInt7319) || i_36_ >= Class348_Sub40_Sub3.anInt9109) class348_sub37.method2715((byte) 37); - } - } - if (Class248.anInt3203 != 0) { - Class248.anInt3203 -= i_20_; - Class97.anInt1548 -= i_21_; - } - Class348_Sub17.method2928(true); - if (i_17_ != 11) { - Class275.anInt3550 -= i_21_; - Class286_Sub4.anInt6246 -= 512 * i_20_; - Class352.anInt4336 -= i_20_; - Class281.anInt3647 -= i_21_; - Class348_Sub35.anInt6981 -= i_20_; - Class59_Sub2_Sub2.anInt8685 -= 512 * i_21_; - if ((Class367_Sub4.anInt7319 < Math.abs(i_20_)) || Math.abs(i_21_) > Class348_Sub40_Sub3.anInt9109) Class76.method773(true); - } else if (Class348_Sub40_Sub21.anInt9282 == 4) { - Class348_Sub7.anInt6652 -= i_21_ * 512; - Class130_Sub1.anInt5799 -= i_20_ * 512; - Class192.anInt2578 -= 512 * i_21_; - Class348_Sub6.anInt6633 -= i_20_ * 512; - } else { - Class348_Sub40_Sub21.anInt9282 = 1; - Class9.anInt167 = Class318_Sub1_Sub5_Sub2.anInt10163 = -1; - } - Class348_Sub40_Sub39.method3153(0); - Class50_Sub2.method464(-1); - r_Sub2.aClass262_10492.method1996(107); - Class348_Sub40_Sub17.aClass262_9240.method1996(103); - Class225.aClass243_2957.method1876((byte) -45); - Class250.method1911((byte) 99); - } - } - } - - static final byte[] method3158(byte[] is, int i) { - anInt7046++; - Class348_Sub49 class348_sub49 = new Class348_Sub49(is); - int i_37_ = class348_sub49.readUnsignedByte(255); - if (i > -74) method3156(true, null); - int i_38_ = class348_sub49.readInt((byte) -126); - if (i_38_ < 0 || (Class29.anInt401 != 0 && i_38_ > Class29.anInt401)) { - throw new RuntimeException(); - } - if (i_37_ != 0) { - int i_39_ = class348_sub49.readInt((byte) -126); - if (i_39_ < 0 || (Class29.anInt401 != 0 && i_39_ > Class29.anInt401) || i_39_ > 10000000) { - return new byte[4]; - } - byte[] is_40_ = new byte[i_39_]; - if (i_37_ == 1) Class212.method1547(is_40_, i_39_, is, i_38_, 9); - else { - synchronized (Class348_Sub33.aClass152_6955) { - Class348_Sub33.aClass152_6955.method1218(is_40_, 29123, class348_sub49); - } - } - return is_40_; - } - byte[] is_41_ = new byte[i_38_]; - class348_sub49.method3389(2147483647, 0, i_38_, is_41_); - return is_41_; - } - - static final void method3159(int i, int i_42_, boolean bool, int i_43_, int i_44_, int i_45_, ha var_ha, int i_46_, int i_47_) { - anInt7051++; - Interface10 interface10 = (Interface10) r_Sub2.method3297(i_43_, i_45_, i_44_); - if (interface10 != null) { - Class51 class51 = Class348_Sub40_Sub12.aClass263_9195.method2005(0, interface10.method42(-124)); - int i_48_ = 0x3 & interface10.method41(-32228); - int i_49_ = interface10.method39(35); - if (class51.anInt875 == -1) { - int i_50_ = i_47_; - if (class51.anInt874 > 0) i_50_ = i; - if (i_49_ == 0 || i_49_ == 2) { - if (i_48_ != 0) { - if (i_48_ == 1) var_ha.method3649((byte) -79, 4, i_42_, i_50_, i_46_); - else if (i_48_ == 2) var_ha.method3660(3 + i_46_, i_50_, 4, i_42_, true); - else if (i_48_ == 3) var_ha.method3649((byte) -121, 4, i_42_ + 3, i_50_, i_46_); - } else var_ha.method3660(i_46_, i_50_, 4, i_42_, !bool); - } - if (i_49_ == 3) { - if (i_48_ != 0) { - if (i_48_ == 1) var_ha.method3675(1, (byte) -125, 3 + i_46_, i_42_, 1, i_50_); - else if (i_48_ != 2) { - if (i_48_ == 3) var_ha.method3675(1, (byte) -125, i_46_, 3 + i_42_, 1, i_50_); - } else var_ha.method3675(1, (byte) -125, 3 + i_46_, 3 + i_42_, 1, i_50_); - } else var_ha.method3675(1, (byte) -125, i_46_, i_42_, 1, i_50_); - } - if (i_49_ == 2) { - if (i_48_ != 0) { - if (i_48_ == 1) var_ha.method3660(3 + i_46_, i_50_, 4, i_42_, true); - else if (i_48_ != 2) { - if (i_48_ == 3) var_ha.method3660(i_46_, i_50_, 4, i_42_, true); - } else var_ha.method3649((byte) -106, 4, 3 + i_42_, i_50_, i_46_); - } else var_ha.method3649((byte) -96, 4, i_42_, i_50_, i_46_); - } - } else Class267.method2028(i_46_, class51, i_42_, var_ha, i_48_, 126); - } - if (bool != false) anInt7054 = 122; - interface10 = ((Interface10) Class177.method1353(i_43_, i_45_, i_44_, (aClass7056 != null ? aClass7056 : (aClass7056 = Interface10.class)))); - if (interface10 != null) { - Class51 class51 = Class348_Sub40_Sub12.aClass263_9195.method2005(0, interface10.method42(-88)); - int i_51_ = interface10.method41(-32228) & 0x3; - int i_52_ = interface10.method39(-126); - if (class51.anInt875 != -1) Class267.method2028(i_46_, class51, i_42_, var_ha, i_51_, -86); - else if (i_52_ == 9) { - int i_53_ = -1118482; - if (class51.anInt874 > 0) i_53_ = -1179648; - if (i_51_ != 0 && i_51_ != 2) var_ha.method3645(i_42_, i_46_, 3 + i_46_, -8003, i_53_, i_42_ + 3); - else var_ha.method3645(i_42_ + 3, i_46_, 3 + i_46_, -8003, i_53_, i_42_); - } - } - interface10 = (Interface10) Class348_Sub16_Sub3.method2878(i_43_, i_45_, i_44_); - if (interface10 != null) { - Class51 class51 = Class348_Sub40_Sub12.aClass263_9195.method2005(0, interface10.method42(-118)); - int i_54_ = interface10.method41(-32228) & 0x3; - if (class51.anInt875 != -1) Class267.method2028(i_46_, class51, i_42_, var_ha, i_54_, -5); - } - } - - public Class348_Sub41() { - /* empty */ - } - -} diff --git a/client/src/Class348_Sub42.java b/client/src/Class348_Sub42.java deleted file mode 100644 index 6e88efa64..000000000 --- a/client/src/Class348_Sub42.java +++ /dev/null @@ -1,57 +0,0 @@ -/* Class348_Sub42 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -class Class348_Sub42 extends Class348 { - long aLong7057; - static Class2 aClass2_7058; - static int anInt7059 = 0; - Class348_Sub42 aClass348_Sub42_7060; - static int anInt7061; - static int anInt7062; - Class348_Sub42 aClass348_Sub42_7063; - static int anInt7064; - - public static void method3161(int i) { - if (i != 0) method3161(-27); - aClass2_7058 = null; - } - - final void method3162(boolean bool) { - anInt7064++; - if (bool != true) method3163((byte) 50); - if (this.aClass348_Sub42_7060 != null) { - this.aClass348_Sub42_7060.aClass348_Sub42_7063 = this.aClass348_Sub42_7063; - this.aClass348_Sub42_7063.aClass348_Sub42_7060 = this.aClass348_Sub42_7060; - this.aClass348_Sub42_7060 = null; - this.aClass348_Sub42_7063 = null; - } - } - - static final void method3163(byte i) { - Class328_Sub1.anInt6513 = 0; - anInt7062++; - if (i == -114) { - for (int i_0_ = 0; i_0_ < 2048; i_0_++) { - Class154.aClass348_Sub49Array2105[i_0_] = null; - Class259.aByteArray3300[i_0_] = (byte) 1; - Class348_Sub17.aClass359Array6802[i_0_] = null; - } - } - } - - final boolean method3164(byte i) { - anInt7061++; - if (this.aClass348_Sub42_7060 == null) return false; - if (i != 1) method3162(false); - return true; - } - - public Class348_Sub42() { - /* empty */ - } - - static { - aClass2_7058 = new Class2(); - } -} diff --git a/client/src/Class348_Sub42_Sub1.java b/client/src/Class348_Sub42_Sub1.java deleted file mode 100644 index d8d6b925c..000000000 --- a/client/src/Class348_Sub42_Sub1.java +++ /dev/null @@ -1,90 +0,0 @@ -/* Class348_Sub42_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub42_Sub1 extends Class348_Sub42 { - static int anInt9488; - static int anInt9489; - static int anInt9490; - static float[] aFloatArray9491; - static int anInt9492 = 0; - static int anInt9493; - private Class356 aClass356_9494; - static boolean[][] aBooleanArrayArray9495; - static int anInt9496; - static int anInt9497; - - public static void method3165(byte i) { - if (i > 39) { - aFloatArray9491 = null; - aBooleanArrayArray9495 = null; - } - } - - final int method3166(int i, int i_0_, byte i_1_) { - anInt9490++; - if (aClass356_9494 == null) return i_0_; - Class348_Sub35 class348_sub35 = (Class348_Sub35) aClass356_9494.method3480(i, -6008); - if (i_1_ < 91) return 72; - if (class348_sub35 == null) return i_0_; - return class348_sub35.anInt6976; - } - - private final void method3167(int i, Class348_Sub49 class348_sub49, byte i_2_) { - if (i_2_ == -86) { - anInt9489++; - if (i == 249) { - int i_3_ = class348_sub49.readUnsignedByte(255); - if (aClass356_9494 == null) { - int i_4_ = Class33.method340(i_3_, (byte) 108); - aClass356_9494 = new Class356(i_4_); - } - for (int i_5_ = 0; i_5_ < i_3_; i_5_++) { - boolean bool = class348_sub49.readUnsignedByte(i_2_ + 341) == 1; - int i_6_ = class348_sub49.readMedium(-1); - Class348 class348; - if (bool) class348 = new Class348_Sub50(class348_sub49.readString((byte) -39)); - else class348 = new Class348_Sub35(class348_sub49.readInt((byte) -126)); - aClass356_9494.method3483((byte) 29, i_6_, class348); - } - } - } - } - - final void method3168(Class348_Sub49 class348_sub49, byte i) { - for (; ; ) { - int i_7_ = class348_sub49.readUnsignedByte(255); - if (i_7_ == 0) break; - method3167(i_7_, class348_sub49, (byte) -86); - } - anInt9497++; - if (i >= -59) method3169(-56, -67); - } - - public Class348_Sub42_Sub1() { - /* empty */ - } - - static final boolean method3169(int i, int i_8_) { - if (i_8_ != 0) return true; - anInt9496++; - for (Class348_Sub42_Sub12 class348_sub42_sub12 = ((Class348_Sub42_Sub12) Class348_Sub40_Sub4.aClass262_9111.method1995(4)); class348_sub42_sub12 != null; class348_sub42_sub12 = (Class348_Sub42_Sub12) Class348_Sub40_Sub4.aClass262_9111.method1990((byte) 99)) { - if (Class367_Sub8.method3549(class348_sub42_sub12.anInt9608, (byte) -28) && (long) i == (class348_sub42_sub12.aLong9605)) return true; - } - return false; - } - - final String method3170(int i, String string, int i_9_) { - anInt9493++; - if (aClass356_9494 == null) return string; - if (i != -250) method3165((byte) 0); - Class348_Sub50 class348_sub50 = (Class348_Sub50) aClass356_9494.method3480(i_9_, -6008); - if (class348_sub50 == null) return string; - return class348_sub50.aString7211; - } - - static { - aFloatArray9491 = new float[4]; - aBooleanArrayArray9495 = new boolean[][]{new boolean[13], {false, false, true, true, true, true, true, false, false, false, false, false, true}, {true, true, true, true, true, true, false, false, false, false, false, false, false}, {true, true, true, false, false, true, true, true, false, false, false, false, false}, {true, false, false, false, false, true, true, true, false, false, false, false, false}, {false, false, true, true, true, true, false, false, false, false, false, false, false}, {false, true, true, true, true, true, false, false, false, false, false, false, true}, {false, true, true, true, true, true, true, true, false, false, false, false, true}, {true, true, false, false, false, false, false, true, false, false, false, false, false}, {true, true, true, true, true, false, false, false, true, true, false, false, false}, {true, false, false, false, true, true, true, true, true, true, false, false, false}, {true, false, true, true, true, true, true, true, false, false, true, true, false}, {true, true, true, true, true, true, true, true, true, true, true, true, true}, new boolean[13], {true, true, true, true, true, true, true, true, true, true, true, true, true}}; - } -} diff --git a/client/src/Class348_Sub42_Sub10.java b/client/src/Class348_Sub42_Sub10.java deleted file mode 100644 index 50351484f..000000000 --- a/client/src/Class348_Sub42_Sub10.java +++ /dev/null @@ -1,177 +0,0 @@ -/* Class348_Sub42_Sub10 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub42_Sub10 extends Class348_Sub42 { - static int anInt9560; - static int anInt9561; - boolean aBoolean9562 = true; - static int anInt9563; - private String[] aStringArray9564; - private int[][] anIntArrayArray9565; - int[] anIntArray9566; - Class355 aClass355_9567; - static int anInt9568; - static int anInt9569; - static int anInt9570; - static Class299 aClass299_9571; - static int[] anIntArray9572; - static int anInt9573; - private int[] anIntArray9574; - static int anInt9575; - static int anInt9576; - static int anInt9577 = 0; - static int anInt9578; - - final void method3209(boolean bool) { - if (bool != false) anInt9577 = 26; - anInt9563++; - if (this.anIntArray9566 != null) { - for (int i = 0; this.anIntArray9566.length > i; i++) - this.anIntArray9566[i] = Class273.method2057((this.anIntArray9566[i]), 32768); - } - } - - final void method3210(byte i, int[] is, Class348_Sub49 class348_sub49) { - while_221_: - do { - try { - anInt9560++; - int i_0_ = -107 / ((-71 - i) / 50); - if (anIntArray9574 != null) { - int i_1_ = 0; - for (; ; ) { - if (anIntArray9574.length <= i_1_) break while_221_; - if (i_1_ >= is.length) break; - int i_2_ = method3212(0, i_1_).anInt1945; - if (i_2_ > 0) class348_sub49.method3357(i_2_, is[i_1_], (byte) 116); - i_1_++; - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("td.C(" + i + ',' + (is != null ? "{...}" : "null") + ',' + (class348_sub49 != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - static final void method3211(byte i) { - Class79.aClient1367.method83(true); - anInt9569++; - Class348_Sub3.method2739(0); - Class289.anInt3699 = 0; - Class348_Sub40_Sub36.aClass114_9456 = null; - Class348_Sub50.anInt7213 = 0; - Class239.aClass114_3145 = null; - Class299.aClass348_Sub49_Sub2_3813.anInt7197 = 0; - int i_3_ = -122 % ((i - 13) / 45); - Class238.aClass114_3133 = null; - Class305.method2296(-99); - Class348_Sub40_Sub30.anInt9383 = 0; - Class50.aString863 = null; - Class37.anInt496 = 0; - Class169.aClass19Array2261 = null; - Class125.anInt4930 = 0; - } - - final Class138 method3212(int i, int i_4_) { - anInt9561++; - if (i != 0) anIntArray9572 = null; - if (anIntArray9574 == null || i_4_ < 0 || anIntArray9574.length < i_4_) return null; - return Class348_Sub5.method2752(anIntArray9574[i_4_], 0); - } - - final int method3213(int i, int i_5_, boolean bool) { - anInt9576++; - if (bool != true) method3213(41, 104, true); - if (anIntArray9574 == null || i_5_ < 0 || i_5_ > anIntArray9574.length) return -1; - if (anIntArrayArray9565[i_5_] == null || i < 0 || (i > anIntArrayArray9565[i_5_].length)) return -1; - return anIntArrayArray9565[i_5_][i]; - } - - private final void method3214(int i, Class348_Sub49 class348_sub49, int i_6_) { - if (i_6_ == 60) { - if (i != 1) { - if (i == 2) { - int i_7_ = class348_sub49.readUnsignedByte(255); - this.anIntArray9566 = new int[i_7_]; - for (int i_8_ = 0; i_8_ < i_7_; i_8_++) - this.anIntArray9566[i_8_] = class348_sub49.readUnsignedShort(i_6_ + 842397884); - } else if (i == 3) { - int i_9_ = class348_sub49.readUnsignedByte(i_6_ + 195); - anIntArrayArray9565 = new int[i_9_][]; - anIntArray9574 = new int[i_9_]; - for (int i_10_ = 0; i_9_ > i_10_; i_10_++) { - int i_11_ = class348_sub49.readUnsignedShort(842397944); - Class138 class138 = Class348_Sub5.method2752(i_11_, i_6_ + -60); - if (class138 != null) { - anIntArray9574[i_10_] = i_11_; - anIntArrayArray9565[i_10_] = new int[class138.anInt1944]; - for (int i_12_ = 0; (class138.anInt1944 > i_12_); i_12_++) - anIntArrayArray9565[i_10_][i_12_] = class348_sub49.readUnsignedShort(i_6_ + 842397884); - } - } - } else if (i == 4) this.aBoolean9562 = false; - } else aStringArray9564 = (Class348_Sub40_Sub23.method3113('<', true, class348_sub49.readString((byte) -82))); - anInt9575++; - } - } - - public Class348_Sub42_Sub10() { - /* empty */ - } - - final int method3215(byte i) { - anInt9570++; - if (i > -32) this.anIntArray9566 = null; - if (anIntArray9574 == null) return 0; - return anIntArray9574.length; - } - - final String method3216(Class348_Sub49 class348_sub49, byte i) { - anInt9578++; - if (i < 33) method3219(-91); - StringBuffer stringbuffer = new StringBuffer(80); - if (anIntArray9574 != null) { - for (int i_13_ = 0; i_13_ < anIntArray9574.length; i_13_++) { - stringbuffer.append(aStringArray9564[i_13_]); - stringbuffer.append(this.aClass355_9567.method3472((class348_sub49.method3368((Class348_Sub5.method2752(anIntArray9574[i_13_], 0).anInt1943), 3060)), anIntArrayArray9565[i_13_], -1, method3212(0, i_13_))); - } - } - stringbuffer.append(aStringArray9564[aStringArray9564.length + -1]); - return stringbuffer.toString(); - } - - public static void method3217(byte i) { - if (i != 61) method3211((byte) -95); - aClass299_9571 = null; - anIntArray9572 = null; - } - - final void method3218(Class348_Sub49 class348_sub49, int i) { - anInt9568++; - for (; ; ) { - int i_14_ = class348_sub49.readUnsignedByte(i ^ 0xff); - if (i_14_ == 0) break; - method3214(i_14_, class348_sub49, 60); - } - if (i != 0) method3217((byte) -66); - } - - final String method3219(int i) { - anInt9573++; - if (i < 66) aStringArray9564 = null; - StringBuffer stringbuffer = new StringBuffer(80); - if (aStringArray9564 == null) return ""; - stringbuffer.append(aStringArray9564[0]); - for (int i_15_ = 1; i_15_ < aStringArray9564.length; i_15_++) { - stringbuffer.append("..."); - stringbuffer.append(aStringArray9564[i_15_]); - } - return stringbuffer.toString(); - } - - static { - anIntArray9572 = new int[]{16, 32, 64, 128}; - } -} diff --git a/client/src/Class348_Sub42_Sub11.java b/client/src/Class348_Sub42_Sub11.java deleted file mode 100644 index ff98a264b..000000000 --- a/client/src/Class348_Sub42_Sub11.java +++ /dev/null @@ -1,202 +0,0 @@ -/* Class348_Sub42_Sub11 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub42_Sub11 extends Class348_Sub42 { - static int anInt9579; - int[] anIntArray9580; - static int anInt9581; - char[] aCharArray9582; - static int anInt9583; - static int anInt9584; - static int anInt9585; - static int anInt9586; - String aString9587; - char[] aCharArray9588; - static int anInt9589; - static Class351 aClass351_9590 = new Class351(83, -1); - static int anInt9591 = -1; - int[] anIntArray9592; - - public static void method3220(byte i) { - if (i < 96) anInt9591 = 45; - aClass351_9590 = null; - } - - final void method3221(int i, Class348_Sub49 class348_sub49) { - int i_0_ = 81 / ((-39 - i) / 52); - anInt9583++; - for (; ; ) { - int i_1_ = class348_sub49.readUnsignedByte(255); - if (i_1_ == 0) break; - method3227(-5847, class348_sub49, i_1_); - } - } - - final int method3222(byte i, char c) { - anInt9585++; - if (this.anIntArray9580 == null) return -1; - int i_2_ = 0; - if (i > -97) method3221(126, null); - for (/**/; this.anIntArray9580.length > i_2_; i_2_++) { - if (this.aCharArray9582[i_2_] == c) return this.anIntArray9580[i_2_]; - } - return -1; - } - - static final void method3223() { - for (int i = 0; i < Class86.anInt1477; i++) { - Class318_Sub1_Sub3 class318_sub1_sub3 = Class24.aClass318_Sub1_Sub3Array357[i]; - Class348_Sub46.method3320(class318_sub1_sub3, true); - Class24.aClass318_Sub1_Sub3Array357[i] = null; - } - Class86.anInt1477 = 0; - } - - final void method3224(byte i) { - if (this.anIntArray9580 != null) { - for (int i_3_ = 0; (this.anIntArray9580.length > i_3_); i_3_++) - this.anIntArray9580[i_3_] = Class273.method2057((this.anIntArray9580[i_3_]), 32768); - } - anInt9579++; - if (this.anIntArray9592 != null) { - for (int i_4_ = 0; (this.anIntArray9592.length > i_4_); i_4_++) - this.anIntArray9592[i_4_] = Class273.method2057((this.anIntArray9592[i_4_]), 32768); - } - if (i <= 102) method3222((byte) 78, '\uffc1'); - } - - static final void method3225(int i) { - anInt9589++; - if (Class316.aClass348_Sub51_3959.aClass239_Sub14_7264.method1778(-32350) == 2) { - byte i_5_ = (byte) (0xff & -4 + Class239_Sub15.anInt6006); - int i_6_ = Class239_Sub15.anInt6006 % Class367_Sub4.anInt7319; - for (int i_7_ = 0; i_7_ < 4; i_7_++) { - for (int i_8_ = 0; Class348_Sub40_Sub3.anInt9109 > i_8_; i_8_++) - Class289.aByteArrayArrayArray3700[i_7_][i_6_][i_8_] = i_5_; - } - if (Class355.anInt4372 != 3) { - for (int i_9_ = 0; i_9_ < 2; i_9_++) { - Class327.anIntArray4097[i_9_] = -1000000; - Class156.anIntArray2117[i_9_] = 1000000; - Class348_Sub40_Sub19.anIntArray9259[i_9_] = 0; - Class64.anIntArray1127[i_9_] = 1000000; - Class56.anIntArray1045[i_9_] = 0; - } - int i_10_ = (Class132.aPlayer_1907.x); - int i_11_ = (Class132.aPlayer_1907.y); - if (i >= 100) { - if (Class348_Sub40_Sub21.anInt9282 == 1 || Class9.anInt167 != -1) { - if (Class348_Sub40_Sub21.anInt9282 != 1) { - i_11_ = Class318_Sub1_Sub5_Sub2.anInt10163; - i_10_ = Class9.anInt167; - } - if ((0x4 & (Class348_Sub33.aByteArrayArrayArray6962[Class355.anInt4372][i_10_ >> 9][i_11_ >> 9])) != 0) Class367_Sub4.method3542(i_11_ >> 9, Class147.aClass357ArrayArrayArray2029, i_10_ >> 9, 0, 0, false); - if (Class348_Sub42_Sub19.anInt9701 < 2560) { - int i_12_ = Class286_Sub4.anInt6246 >> 9; - int i_13_ = Class59_Sub2_Sub2.anInt8685 >> 9; - int i_14_ = i_10_ >> 9; - int i_15_ = i_11_ >> 9; - int i_16_; - if (i_14_ > i_12_) i_16_ = i_14_ + -i_12_; - else i_16_ = i_12_ + -i_14_; - int i_17_; - if (i_15_ <= i_13_) i_17_ = -i_15_ + i_13_; - else i_17_ = i_15_ + -i_13_; - if (i_16_ == 0 && i_17_ == 0 || -Class367_Sub4.anInt7319 >= i_16_ || (Class367_Sub4.anInt7319 <= i_16_) || i_17_ <= -Class348_Sub40_Sub3.anInt9109 || Class348_Sub40_Sub3.anInt9109 <= i_17_) - Class156.method1242(("RC: " + i_12_ + "," + i_13_ + " " + i_14_ + "," + i_15_ + " " + za_Sub2.regionTileX + "," + Class90.regionTileY), null, 15004); - else if (i_16_ <= i_17_) { - int i_18_ = i_16_ * 65536 / i_17_; - int i_19_ = 32768; - while (i_15_ != i_13_) { - if (i_15_ > i_13_) i_13_++; - else if (i_15_ < i_13_) i_13_--; - if ((0x4 & (Class348_Sub33.aByteArrayArrayArray6962[Class355.anInt4372][i_12_][i_13_])) != 0) { - Class367_Sub4.method3542(i_13_, (Class147.aClass357ArrayArrayArray2029), i_12_, 0, 1, false); - break; - } - i_19_ += i_18_; - if (i_19_ >= 65536) { - if (i_12_ < i_14_) i_12_++; - else if (i_14_ < i_12_) i_12_--; - i_19_ -= 65536; - if ((0x4 & (Class348_Sub33.aByteArrayArrayArray6962[Class355.anInt4372][i_12_][i_13_])) != 0) { - Class367_Sub4.method3542(i_13_, (Class147.aClass357ArrayArrayArray2029), i_12_, 0, 1, false); - break; - } - } - } - } else { - int i_20_ = 65536 * i_17_ / i_16_; - int i_21_ = 32768; - while (i_14_ != i_12_) { - if (i_12_ >= i_14_) { - if (i_12_ > i_14_) i_12_--; - } else i_12_++; - if ((0x4 & (Class348_Sub33.aByteArrayArrayArray6962[Class355.anInt4372][i_12_][i_13_])) != 0) { - Class367_Sub4.method3542(i_13_, (Class147.aClass357ArrayArrayArray2029), i_12_, 0, 1, false); - break; - } - i_21_ += i_20_; - if (i_21_ >= 65536) { - if (i_15_ > i_13_) i_13_++; - else if (i_13_ > i_15_) i_13_--; - i_21_ -= 65536; - if ((0x4 & (Class348_Sub33.aByteArrayArrayArray6962[Class355.anInt4372][i_12_][i_13_])) != 0) { - Class367_Sub4.method3542(i_13_, (Class147.aClass357ArrayArrayArray2029), i_12_, 0, 1, false); - break; - } - } - } - } - } - } else { - int i_22_ = Class275.method2064(Class286_Sub4.anInt6246, Class355.anInt4372, 11219, Class59_Sub2_Sub2.anInt8685); - if (i_22_ - Class305.anInt3855 < 3200 && ((Class348_Sub33.aByteArrayArrayArray6962[Class355.anInt4372][Class286_Sub4.anInt6246 >> 9][Class59_Sub2_Sub2.anInt8685 >> 9]) & 0x4) != 0) - Class367_Sub4.method3542(Class59_Sub2_Sub2.anInt8685 >> 9, Class147.aClass357ArrayArrayArray2029, Class286_Sub4.anInt6246 >> 9, 0, 1, false); - } - } - } - } - } - - final int method3226(char c, int i) { - anInt9584++; - if (this.anIntArray9592 == null) return -1; - for (int i_23_ = 0; this.anIntArray9592.length > i_23_; i_23_++) { - if (this.aCharArray9588[i_23_] == c) return this.anIntArray9592[i_23_]; - } - if (i != 57249897) method3221(-16, null); - return -1; - } - - private final void method3227(int i, Class348_Sub49 class348_sub49, int i_24_) { - if (i_24_ != 1) { - if (i_24_ == 2) { - int i_25_ = class348_sub49.readUnsignedByte(255); - this.anIntArray9592 = new int[i_25_]; - this.aCharArray9588 = new char[i_25_]; - for (int i_26_ = 0; i_26_ < i_25_; i_26_++) { - this.anIntArray9592[i_26_] = class348_sub49.readUnsignedShort(842397944); - byte i_27_ = class348_sub49.readByte(-121); - this.aCharArray9588[i_26_] = (i_27_ != 0 ? Class50_Sub1.method462(i_27_, -128) : '\0'); - } - } else if (i_24_ == 3) { - int i_28_ = class348_sub49.readUnsignedByte(255); - this.aCharArray9582 = new char[i_28_]; - this.anIntArray9580 = new int[i_28_]; - for (int i_29_ = 0; i_28_ > i_29_; i_29_++) { - this.anIntArray9580[i_29_] = class348_sub49.readUnsignedShort(842397944); - byte i_30_ = class348_sub49.readByte(-115); - this.aCharArray9582[i_29_] = (i_30_ != 0 ? Class50_Sub1.method462(i_30_, -128) : '\0'); - } - } - } else this.aString9587 = class348_sub49.readString((byte) 100); - if (i != -5847) anInt9586 = 12; - anInt9581++; - } - - public Class348_Sub42_Sub11() { - /* empty */ - } -} diff --git a/client/src/Class348_Sub42_Sub12.java b/client/src/Class348_Sub42_Sub12.java deleted file mode 100644 index d0e44d866..000000000 --- a/client/src/Class348_Sub42_Sub12.java +++ /dev/null @@ -1,109 +0,0 @@ -/* Class348_Sub42_Sub12 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub42_Sub12 extends Class348_Sub42 { - String aString9593; - static int anInt9594; - String aString9595; - static int anInt9596; - boolean aBoolean9597; - static int anInt9598; - int anInt9599; - long aLong9600; - String aString9601; - int anInt9602; - static Class356 aClass356_9603; - static int anInt9604 = 0; - long aLong9605; - static int anInt9606; - int anInt9607; - int anInt9608; - int anInt9609; - boolean aBoolean9610; - boolean aBoolean9611; - static int[] anIntArray9612; - - public static void method3228(int i) { - anIntArray9612 = null; - int i_0_ = 29 / ((31 - i) / 43); - aClass356_9603 = null; - } - - static final int method3229(int i) { - anInt9596++; - if (Class34.aFrame476 != null) return 3; - if (i >= -59) anInt9604 = 79; - if (!Class50_Sub1.aBoolean5219) return 1; - return 2; - } - - static final void method3230(int[] is, int[] is_1_, int i) { - try { - anInt9606++; - if (is == null || is_1_ == null) { - Class348_Sub40_Sub6.aByteArrayArrayArray9134 = null; - Class190.anIntArray2552 = null; - Class59_Sub2_Sub2.anIntArray8684 = null; - } else { - Class59_Sub2_Sub2.anIntArray8684 = is; - Class190.anIntArray2552 = new int[is.length]; - Class348_Sub40_Sub6.aByteArrayArrayArray9134 = new byte[is.length][][]; - for (int i_2_ = i; i_2_ < Class59_Sub2_Sub2.anIntArray8684.length; i_2_++) - Class348_Sub40_Sub6.aByteArrayArrayArray9134[i_2_] = new byte[is_1_[i_2_]][]; - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("db.D(" + (is != null ? "{...}" : "null") + ',' + (is_1_ != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - static final void method3231(int i, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_) { - if (i_7_ > -123) method3229(14); - Class239_Sub12.anInt5973 = i_5_; - Class121.anInt1797 = i_4_; - Class352.anInt4336 = i_3_; - Class367_Sub11.anInt7403 = i_6_; - anInt9598++; - Class281.anInt3647 = i; - if (Class239_Sub12.anInt5973 >= 100) { - int i_8_ = Class352.anInt4336 * 512 - -256; - int i_9_ = Class281.anInt3647 * 512 - -256; - int i_10_ = (Class275.method2064(i_8_, Class355.anInt4372, 11219, i_9_) + -Class121.anInt1797); - int i_11_ = i_8_ - Class286_Sub4.anInt6246; - int i_12_ = -Class305.anInt3855 + i_10_; - int i_13_ = i_9_ - Class59_Sub2_Sub2.anInt8685; - int i_14_ = (int) Math.sqrt(i_11_ * i_11_ + i_13_ * i_13_); - Class348_Sub42_Sub19.anInt9701 = (int) (Math.atan2(i_12_, i_14_) * 2607.5945876176133) & 0x3fff; - Class5.anInt4638 = (int) (-2607.5945876176133 * Math.atan2(i_11_, i_13_)) & 0x3fff; - if (Class348_Sub42_Sub19.anInt9701 < 1024) Class348_Sub42_Sub19.anInt9701 = 1024; - Class338.anInt4186 = 0; - if (Class348_Sub42_Sub19.anInt9701 > 3072) Class348_Sub42_Sub19.anInt9701 = 3072; - } - Class348_Sub40_Sub21.anInt9282 = 2; - Class9.anInt167 = Class318_Sub1_Sub5_Sub2.anInt10163 = -1; - } - - Class348_Sub42_Sub12(String string, String string_15_, int i, int i_16_, int i_17_, long l, int i_18_, int i_19_, boolean bool, boolean bool_20_, long l_21_, boolean bool_22_) { - try { - this.anInt9607 = i_19_; - this.anInt9608 = i_16_; - this.anInt9599 = i_17_; - this.aLong9605 = l; - this.aBoolean9610 = bool; - this.aBoolean9597 = bool_20_; - this.aString9601 = string_15_; - this.aBoolean9611 = bool_22_; - this.aString9593 = string; - this.anInt9609 = i; - this.aLong9600 = l_21_; - this.anInt9602 = i_18_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("db.(" + (string != null ? "{...}" : "null") + ',' + (string_15_ != null ? "{...}" : "null") + ',' + i + ',' + i_16_ + ',' + i_17_ + ',' + l + ',' + i_18_ + ',' + i_19_ + ',' + bool + ',' + bool_20_ + ',' + l_21_ + ',' + bool_22_ + ')')); - } - } - - static { - aClass356_9603 = new Class356(16); - anIntArray9612 = new int[8]; - } -} diff --git a/client/src/Class348_Sub42_Sub13.java b/client/src/Class348_Sub42_Sub13.java deleted file mode 100644 index ab21974cd..000000000 --- a/client/src/Class348_Sub42_Sub13.java +++ /dev/null @@ -1,76 +0,0 @@ -/* Class348_Sub42_Sub13 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub42_Sub13 extends Class348_Sub42 { - static int anInt9613; - static int anInt9614; - int anInt9615; - static boolean aBoolean9616 = false; - String aString9617; - static int anInt9618; - static int anInt9619; - static int anInt9620; - Class107 aClass107_9621; - - static final void method3232(double d, byte i) { - if (i <= -54) { - if (d != Class299_Sub2_Sub1.aDouble8713) { - for (int i_0_ = 0; i_0_ < 256; i_0_++) { - int i_1_ = (int) (255.0 * Math.pow((double) i_0_ / 255.0, d)); - Class318_Sub1_Sub3_Sub3.anIntArray10266[i_0_] = Math.min(i_1_, 255); - } - Class299_Sub2_Sub1.aDouble8713 = d; - } - anInt9618++; - } - } - - final boolean method3233(Class348_Sub42_Sub12 class348_sub42_sub12, int i) { - anInt9613++; - boolean bool = true; - class348_sub42_sub12.method3162(true); - Class348_Sub42_Sub12 class348_sub42_sub12_2_ = ((Class348_Sub42_Sub12) this.aClass107_9621.method1011(-74)); - while (class348_sub42_sub12_2_ != null) { - if (Class318_Sub2.method2496(class348_sub42_sub12_2_.anInt9608, class348_sub42_sub12.anInt9608, true)) { - Class69.method721(class348_sub42_sub12_2_, class348_sub42_sub12, -1); - this.anInt9615++; - return !bool; - } - class348_sub42_sub12_2_ = (Class348_Sub42_Sub12) this.aClass107_9621.method1003((byte) 48); - bool = false; - } - this.aClass107_9621.method1005(true, class348_sub42_sub12); - int i_3_ = 80 % ((i - -81) / 33); - this.anInt9615++; - return bool; - } - - final boolean method3234(byte i, Class348_Sub42_Sub12 class348_sub42_sub12) { - anInt9614++; - int i_4_ = 41 % ((-30 - i) / 39); - int i_5_ = method3235(-17937); - class348_sub42_sub12.method3162(true); - this.anInt9615--; - if (this.anInt9615 == 0) { - this.method2715((byte) 112); - this.method3162(true); - Class8.anInt166--; - Class259.aClass60_3301.method582(this, class348_sub42_sub12.aLong9600, (byte) -128); - return false; - } - return i_5_ != method3235(-17937); - } - - Class348_Sub42_Sub13(String string) { - this.aString9617 = string; - this.aClass107_9621 = new Class107(); - } - - final int method3235(int i) { - if (i != -17937) return 104; - anInt9619++; - if ((this.aClass107_9621.aClass348_Sub42_1647) != this.aClass107_9621.aClass348_Sub42_1647.aClass348_Sub42_7063) return ((Class348_Sub42_Sub12) this.aClass107_9621.aClass348_Sub42_1647.aClass348_Sub42_7063).anInt9608; - return -1; - } -} diff --git a/client/src/Class348_Sub42_Sub14.java b/client/src/Class348_Sub42_Sub14.java deleted file mode 100644 index 74d6d9812..000000000 --- a/client/src/Class348_Sub42_Sub14.java +++ /dev/null @@ -1,190 +0,0 @@ -/* Class348_Sub42_Sub14 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub42_Sub14 extends Class348_Sub42 { - static byte[] aByteArray9622 = {31, -117, 8, 0, 0, 0, 0, 0, 0, 0, -5, 127, -29, -1, 109, 6, 103, 6, 14, 54, 54, 118, 54, 86, 14, 118, 118, 118, 78, 78, 14, 46, 30, 17, 94, 30, 110, 110, 30, 73, 33, 97, 126, 17, 89, 41, 121, 57, 89, 41, 25, 25, 5, 21, 61, 117, 5, 37, 29, 101, 25, 25, 13, 115, 77, 29, 3, 67, 19, 19, 19, 121, 117, 75, 91, 11, 35, 27, 61, 99, 19, 35, -112, 33, -116, -100, -100, -100, 60, -36, 60, 18, -68, -68, 18, 70, -118, 50, -118, 70, 36, -125, -1, 7, 24, 68, 56, 24, 24, 25, 24, 89, 24, -107, 24, -104, 4, 25, -103, 5, 25, 89, -108, 24, -2, 31, 97, -112, 103, 96, 96, 100, 101, 4, 3, 6, 40, 96, 100, 98, 102, 97, 101, 99, -25, -32, -28, -30, 6, 42, -40, 42, -64, -64, -60, -56, -52, -52, -60, -62, -52, -54, -54, -62, 2, -108, -83, 5, -54, 51, -80, 8, -78, 10, 41, 26, 58, -78, 9, 7, 38, -78, 43, 21, -118, 24, 53, 78, 92, -56, -95, -20, -76, -15, -96, 104, -48, -59, 15, 42, -58, 73, 69, 77, -100, 92, 98, -30, 18, -110, 82, -86, 106, -22, 26, -102, 90, 38, -90, 102, -26, 22, -106, 86, -50, 46, -82, 110, -18, 30, -98, 94, -63, 33, -95, 97, -31, 17, -111, 81, -55, 41, -87, 105, -23, 25, -103, 89, -59, 37, -91, 101, -27, 21, -107, 85, -51, 45, -83, 109, -19, 29, -99, 93, -109, 38, 79, -103, 58, 109, -6, -116, -103, -77, 22, 45, 94, -78, 116, -39, -14, 21, 43, 87, 109, -38, -68, 101, -21, -74, -19, 59, 118, -18, 58, 116, -8, -56, -47, 99, -57, 79, -100, 60, 117, -23, -14, -107, -85, -41, -82, -33, -72, 121, -21, -31, -93, -57, 79, -98, 62, 123, -2, -30, -27, -85, -113, -97, 62, 127, -7, -6, -19, -5, -113, -97, -65, 64, -2, 98, 100, 96, 102, -124, 1, -84, -2, 18, 4, -6, -117, -119, -123, -123, -103, -123, 29, -28, 47, 70, -90, 114, -112, 2, 65, 22, 86, 69, 67, 54, 33, -57, 64, -10, -60, 66, 97, 37, -93, 70, 14, 17, -89, -119, 11, 55, 30, -28, 84, 54, 14, -6, 32, -102, 84, 116, -111, 75, 76, -59, -28, -95, -22, 71, -112, -41, -64, 62, 35, -50, 99, 77, 100, -7, 12, -18, 49, -124, -65, 110, 49, -16, -79, 48, 2, -29, 15, -24, 78, 6, 6, 123, -122, -97, -1, -70, 52, 22, -16, -49, 127, -79, -88, -21, -1, 77, 0, 38, 27, -28, 10, 110, 2, 0, 0}; - static int anInt9623; - static int anInt9624; - String aString9625; - static int[] anIntArray9626 = new int[50]; - int anInt9627; - int anInt9628; - Class262 aClass262_9629; - static int anInt9630; - int anInt9631; - String aString9632; - static int anInt9633; - int anInt9634 = -1; - int anInt9635; - static int anInt9636; - static int anInt9637; - static int anInt9638; - boolean aBoolean9639 = true; - int anInt9640; - static int anInt9641; - static Class243 aClass243_9642 = new Class243(); - int anInt9643; - int anInt9644; - static int anInt9645 = 1; - - final boolean method3236(int[] is, int i, int i_0_, int i_1_, byte i_2_) { - anInt9623++; - for (Class348_Sub18 class348_sub18 = (Class348_Sub18) this.aClass262_9629.method1995(4); class348_sub18 != null; class348_sub18 = (Class348_Sub18) this.aClass262_9629.method1990((byte) 117)) { - if (class348_sub18.method2935(i_0_, i, i_1_, true)) { - class348_sub18.method2940(i_0_, true, is, i); - return true; - } - } - if (i_2_ != -28) method3244(123, -16, 116); - return false; - } - - public static void method3237(byte i) { - aClass243_9642 = null; - anIntArray9626 = null; - aByteArray9622 = null; - if (i != 42) anInt9645 = -112; - } - - final boolean method3238(byte i, int i_3_, int i_4_) { - int i_5_ = 113 % ((-26 - i) / 46); - anInt9641++; - for (Class348_Sub18 class348_sub18 = (Class348_Sub18) this.aClass262_9629.method1995(4); class348_sub18 != null; class348_sub18 = (Class348_Sub18) this.aClass262_9629.method1990((byte) 117)) { - if (class348_sub18.method2934(3589, i_3_, i_4_)) return true; - } - return false; - } - - final boolean method3239(boolean bool, int i, int i_6_, int[] is) { - anInt9638++; - if (bool != true) method3238((byte) 9, -26, -68); - for (Class348_Sub18 class348_sub18 = (Class348_Sub18) this.aClass262_9629.method1995(4); class348_sub18 != null; class348_sub18 = (Class348_Sub18) this.aClass262_9629.method1990((byte) 126)) { - if (class348_sub18.method2939(i_6_, 2, i)) { - class348_sub18.method2937(i_6_, i, -3069, is); - return true; - } - } - return false; - } - - final void method3240(byte i) { - this.anInt9643 = 12800; - this.anInt9644 = 12800; - this.anInt9627 = 0; - anInt9636++; - this.anInt9635 = 0; - if (i != 37) method3244(30, -85, -43); - for (Class348_Sub18 class348_sub18 = (Class348_Sub18) this.aClass262_9629.method1995(i + -33); class348_sub18 != null; class348_sub18 = (Class348_Sub18) this.aClass262_9629.method1990((byte) 52)) { - if (this.anInt9643 > class348_sub18.anInt6812) this.anInt9643 = class348_sub18.anInt6812; - if (class348_sub18.anInt6813 > this.anInt9627) this.anInt9627 = class348_sub18.anInt6813; - if (this.anInt9635 < class348_sub18.anInt6819) this.anInt9635 = class348_sub18.anInt6819; - if (class348_sub18.anInt6809 < this.anInt9644) this.anInt9644 = class348_sub18.anInt6809; - } - } - - static final void method3241(int i, byte i_7_, ha var_ha) { - anInt9637++; - if (!Class348_Sub40_Sub23.aBoolean9307 || !Class23.aBoolean351) Class348_Sub42_Sub10.anInt9577 = 0; - else { - if (Class348_Sub40_Sub26.aBoolean9352) Class213.aLong2789 = Class50_Sub4.aClass47_5262.method446(1); - Class42.anInt562 = 0; - Class348_Sub23_Sub2.anInt9039 = 0; - Class348_Sub40_Sub4.anInt9112 = 0; - int[] is = var_ha.Y(); - Class285_Sub2.anInt8498 = (int) ((float) is[3] / 3.0F); - Class140.anInt1962 = (int) ((float) is[2] / 3.0F); - var_ha.method3632(Class348_Sub40_Sub34.anIntArray9436); - if ((Class306.anInt3872 != (int) ((float) Class348_Sub40_Sub34.anIntArray9436[0] / 3.0F)) || Class86.anInt1480 != (int) ((float) Class348_Sub40_Sub34.anIntArray9436[1] / 3.0F)) { - Class86.anInt1480 = (int) ((float) Class348_Sub40_Sub34.anIntArray9436[1] / 3.0F); - Class306.anInt3872 = (int) ((float) Class348_Sub40_Sub34.anIntArray9436[0] / 3.0F); - Class348_Sub49_Sub2.anInt9759 = Class86.anInt1480 >> 1; - Class14.anIntArray5091 = new int[Class86.anInt1480 * Class306.anInt3872]; - Class69.anInt1202 = Class306.anInt3872 >> 1; - } - Class348_Sub40_Sub4.aClass101_9114 = var_ha.method3640(); - Class348_Sub42_Sub10.anInt9577 = 0; - int i_8_ = 0; - if (i_7_ < 37) method3241(-25, (byte) 65, null); - for (/**/; Class239_Sub26.anInt6115 > i_8_; i_8_++) - Class318_Sub2.method2498(Class147.aClass338Array2034[i_8_], var_ha, (byte) -112, i); - for (int i_9_ = 0; i_9_ < Class69.anInt1200; i_9_++) - Class318_Sub2.method2498((Class318_Sub1_Sub3_Sub4.aClass338Array10330[i_9_]), var_ha, (byte) -127, i); - for (int i_10_ = 0; i_10_ < Class348_Sub44.anInt7101; i_10_++) - Class318_Sub2.method2498(Class294.aClass338Array5060[i_10_], var_ha, (byte) -128, i); - Class225.anInt2946 = 0; - if (Class348_Sub42_Sub10.anInt9577 > 0) { - int i_11_ = Class14.anIntArray5091.length; - int i_12_ = i_11_ + -i_11_ & 0x7; - int i_13_ = 0; - while (i_13_ < i_12_) { - Class14.anIntArray5091[i_13_++] = 2147483647; - Class14.anIntArray5091[i_13_++] = 2147483647; - Class14.anIntArray5091[i_13_++] = 2147483647; - Class14.anIntArray5091[i_13_++] = 2147483647; - Class14.anIntArray5091[i_13_++] = 2147483647; - Class14.anIntArray5091[i_13_++] = 2147483647; - Class14.anIntArray5091[i_13_++] = 2147483647; - Class14.anIntArray5091[i_13_++] = 2147483647; - } - while (i_11_ > i_13_) Class14.anIntArray5091[i_13_++] = 2147483647; - Class350.anInt4319 = 1; - for (int i_14_ = 0; (i_14_ < Class348_Sub42_Sub10.anInt9577); i_14_++) { - Class338 class338 = Class348_Sub42_Sub19.aClass338Array9700[i_14_]; - Class348_Sub40_Sub29.method3125(class338.aShortArray4194[3], class338.aShortArray4183[0], class338.aShortArray4194[1], class338.aShortArray4188[3], class338.aShortArray4188[1], (byte) -105, class338.aShortArray4183[1], class338.aShortArray4188[0], class338.aShortArray4194[0], class338.aShortArray4183[3]); - Class348_Sub40_Sub29.method3125(class338.aShortArray4194[3], class338.aShortArray4183[1], class338.aShortArray4194[2], class338.aShortArray4188[3], class338.aShortArray4188[2], (byte) -118, class338.aShortArray4183[2], class338.aShortArray4188[1], class338.aShortArray4194[1], class338.aShortArray4183[3]); - } - Class350.anInt4319 = 2; - } - if (Class348_Sub40_Sub26.aBoolean9352) Class286_Sub6.aLong6276 = (Class50_Sub4.aClass47_5262.method446(1) + -Class213.aLong2789); - } - } - - final boolean method3242(int[] is, int i, int i_15_, int i_16_) { - anInt9624++; - for (Class348_Sub18 class348_sub18 = (Class348_Sub18) this.aClass262_9629.method1995(4); class348_sub18 != null; class348_sub18 = (Class348_Sub18) this.aClass262_9629.method1990((byte) 115)) { - if (class348_sub18.method2934(3589, i_16_, i_15_)) { - class348_sub18.method2940(i_15_, true, is, i_16_); - return true; - } - } - if (i <= 59) method3242(null, -121, 72, 68); - return false; - } - - static final void method3243(int i, Class348_Sub47 class348_sub47) { - anInt9630++; - Class348_Sub40_Sub13.aClass262_9201.method1999(class348_sub47, -20180); - class348_sub47.anInt7119 = class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197; - class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197 = 0; - Class348_Sub34.anInt6969 += class348_sub47.anInt7119; - int i_17_ = -41 / ((i - 79) / 37); - } - - static final void method3244(int i, int i_18_, int i_19_) { - Class348_Sub5.method2755(-1, i_18_, i); - anInt9633++; - if (i_19_ <= 108) method3243(-47, null); - } - - Class348_Sub42_Sub14(int i, String string, String string_20_, int i_21_, int i_22_, boolean bool, int i_23_, int i_24_) { - this.anInt9627 = 0; - this.anInt9631 = -1; - this.anInt9643 = 12800; - this.anInt9635 = 0; - this.anInt9644 = 12800; - try { - this.anInt9631 = i_23_; - this.anInt9640 = i_21_; - this.aString9625 = string; - this.aString9632 = string_20_; - this.anInt9634 = i_22_; - this.anInt9628 = i; - this.aBoolean9639 = bool; - if (this.anInt9631 == 255) this.anInt9631 = 0; - this.aClass262_9629 = new Class262(); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("dfa.(" + i + ',' + (string != null ? "{...}" : "null") + ',' + (string_20_ != null ? "{...}" : "null") + ',' + i_21_ + ',' + i_22_ + ',' + bool + ',' + i_23_ + ',' + i_24_ + ')')); - } - } -} diff --git a/client/src/Class348_Sub42_Sub15.java b/client/src/Class348_Sub42_Sub15.java deleted file mode 100644 index 9eb7fc114..000000000 --- a/client/src/Class348_Sub42_Sub15.java +++ /dev/null @@ -1,96 +0,0 @@ -/* Class348_Sub42_Sub15 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -import java.math.BigInteger; - -final class Class348_Sub42_Sub15 extends Class348_Sub42 { - static int anInt9646; - static int anInt9647; - static int anInt9648; - static int anInt9649; - int anInt9650; - int anInt9651; - int anInt9652; - static int anInt9653; - String aString9654; - static int anInt9655; - static int anInt9656; - static BigInteger aBigInteger9657 = Loader.FILE_SERVER_RSA_MODULUS; - static Class105 aClass105_9658; - static Class105 aClass105_9659; - static Class56 aClass56_9660; - - final int method3245(boolean bool) { - anInt9646++; - if (bool != true) method3248(-60); - return (int) (this.aLong4291 >>> 32 & 0xffL); - } - - final void method3246(int i) { - this.aLong7057 |= ~0x7fffffffffffffffL; - anInt9653++; - if (method3250((byte) -89) == 0L) Class367_Sub4.aClass107_7325.method1005(true, this); - if (i != -25490) aClass105_9659 = null; - } - - public static void method3247(int i) { - if (i > -49) method3247(49); - aClass56_9660 = null; - aClass105_9658 = null; - aClass105_9659 = null; - aBigInteger9657 = null; - } - - final int method3248(int i) { - if (i != 1) return -110; - anInt9647++; - return (int) this.aLong4291; - } - - static final Class242 method3249(int i, int i_0_, ha_Sub2 var_ha_Sub2, String string) { - try { - anInt9656++; - int i_1_ = -89 / ((29 - i_0_) / 47); - long l = OpenGL.glCreateShaderObjectARB(i); - OpenGL.glShaderSourceARB(l, string); - OpenGL.glCompileShaderARB(l); - OpenGL.glGetObjectParameterivARB(l, 35713, (Class348_Sub42_Sub4.anIntArray9519), 0); - if (Class348_Sub42_Sub4.anIntArray9519[0] == 0) { - if (Class348_Sub42_Sub4.anIntArray9519[0] == 0) System.out.println("Shader compile failed:"); - OpenGL.glGetObjectParameterivARB(l, 35716, (Class348_Sub42_Sub4.anIntArray9519), 1); - if (Class348_Sub42_Sub4.anIntArray9519[1] > 1) { - byte[] is = new byte[Class348_Sub42_Sub4.anIntArray9519[1]]; - OpenGL.glGetInfoLogARB(l, (Class348_Sub42_Sub4.anIntArray9519[1]), Class348_Sub42_Sub4.anIntArray9519, 0, is, 0); - System.out.println(new String(is)); - } - if (Class348_Sub42_Sub4.anIntArray9519[0] == 0) { - OpenGL.glDeleteObjectARB(l); - return null; - } - } - return new Class242(var_ha_Sub2, l, i); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("et.G(" + i + ',' + i_0_ + ',' + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ')')); - } - } - - final long method3250(byte i) { - anInt9649++; - if (i >= -37) method3250((byte) 79); - return this.aLong7057 & 0x7fffffffffffffffL; - } - - Class348_Sub42_Sub15(int i, int i_2_) { - this.aLong4291 = (long) i << 32 | (long) i_2_; - } - - final void method3251(int i) { - anInt9648++; - this.aLong7057 = (~0x7fffffffffffffffL & this.aLong7057 | Class62.method599(-120) + 500L); - s_Sub2.aClass107_8241.method1005(true, this); - if (i != -16058) aClass105_9658 = null; - } -} diff --git a/client/src/Class348_Sub42_Sub16.java b/client/src/Class348_Sub42_Sub16.java deleted file mode 100644 index 41f0b26ba..000000000 --- a/client/src/Class348_Sub42_Sub16.java +++ /dev/null @@ -1,149 +0,0 @@ -/* Class348_Sub42_Sub16 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class348_Sub42_Sub16 extends Class348_Sub42 { - static Class21 aClass21_9661; - static int anInt9662; - boolean aBoolean9663; - volatile boolean aBoolean9664 = true; - static String aString9665 = null; - static int anInt9666; - boolean aBoolean9667; - static int anInt9668; - - public static void method3252(int i) { - aClass21_9661 = null; - aString9665 = null; - if (i != 353) aClass21_9661 = null; - } - - static final void method3253(int i, int i_0_, int i_1_, Class var_class) { - Class357 class357 = Class147.aClass357ArrayArrayArray2029[i][i_0_][i_1_]; - if (class357 != null) { - for (Class148 class148 = class357.aClass148_4396; class148 != null; class148 = class148.aClass148_2038) { - Class318_Sub1_Sub3 class318_sub1_sub3 = class148.aClass318_Sub1_Sub3_2040; - if (var_class.isAssignableFrom(class318_sub1_sub3.getClass()) && (class318_sub1_sub3.aShort8743 == i_0_) && (class318_sub1_sub3.aShort8750 == i_1_)) { - Class348_Sub46.method3320(class318_sub1_sub3, false); - break; - } - } - } - } - - static final void method3254(int i, int i_2_, int i_3_, Class318_Sub1_Sub4 class318_sub1_sub4, Class318_Sub1_Sub4 class318_sub1_sub4_4_) { - Class357 class357 = Class348_Sub46.method3321(i, i_2_, i_3_); - if (class357 != null) { - class357.aClass318_Sub1_Sub4_4406 = class318_sub1_sub4; - class357.aClass318_Sub1_Sub4_4403 = class318_sub1_sub4_4_; - int i_5_ = aa_Sub1.aSArray5191 == Class332.aSArray4142 ? 1 : 0; - if (class318_sub1_sub4.method2376(-109)) { - if (class318_sub1_sub4.method2377((byte) 122)) { - class318_sub1_sub4.aClass318_Sub1_6379 = Class250.aClass318_Sub1Array3226[i_5_]; - Class250.aClass318_Sub1Array3226[i_5_] = class318_sub1_sub4; - } else { - class318_sub1_sub4.aClass318_Sub1_6379 = Class348.aClass318_Sub1Array4293[i_5_]; - Class348.aClass318_Sub1Array4293[i_5_] = class318_sub1_sub4; - Class348_Sub16_Sub2.aBoolean8870 = true; - } - } else { - class318_sub1_sub4.aClass318_Sub1_6379 = Class115.aClass318_Sub1Array1754[i_5_]; - Class115.aClass318_Sub1Array1754[i_5_] = class318_sub1_sub4; - } - if (class318_sub1_sub4_4_ != null) { - if (class318_sub1_sub4_4_.method2376(-118)) { - if (class318_sub1_sub4_4_.method2377((byte) 122)) { - class318_sub1_sub4_4_.aClass318_Sub1_6379 = Class250.aClass318_Sub1Array3226[i_5_]; - Class250.aClass318_Sub1Array3226[i_5_] = class318_sub1_sub4_4_; - } else { - class318_sub1_sub4_4_.aClass318_Sub1_6379 = Class348.aClass318_Sub1Array4293[i_5_]; - Class348.aClass318_Sub1Array4293[i_5_] = class318_sub1_sub4_4_; - Class348_Sub16_Sub2.aBoolean8870 = true; - } - } else { - class318_sub1_sub4_4_.aClass318_Sub1_6379 = Class115.aClass318_Sub1Array1754[i_5_]; - Class115.aClass318_Sub1Array1754[i_5_] = class318_sub1_sub4_4_; - } - } - } - } - - static final int method3255(int i, byte[] is, int i_6_, boolean bool, String string, int i_7_) { - try { - anInt9666++; - if (bool != false) return -119; - int i_8_ = -i + i_6_; - for (int i_9_ = 0; i_8_ > i_9_; i_9_++) { - int i_10_ = string.charAt(i_9_ + i); - if (i_10_ > 0 && i_10_ < 128 || i_10_ >= 160 && i_10_ <= 255) is[i_7_ + i_9_] = (byte) i_10_; - else if (i_10_ == 8364) is[i_9_ + i_7_] = (byte) -128; - else if (i_10_ == 8218) is[i_9_ + i_7_] = (byte) -126; - else if (i_10_ == 402) is[i_7_ - -i_9_] = (byte) -125; - else if (i_10_ != 8222) { - if (i_10_ != 8230) { - if (i_10_ != 8224) { - if (i_10_ == 8225) is[i_9_ + i_7_] = (byte) -121; - else if (i_10_ == 710) is[i_7_ + i_9_] = (byte) -120; - else if (i_10_ == 8240) is[i_7_ - -i_9_] = (byte) -119; - else if (i_10_ != 352) { - if (i_10_ == 8249) is[i_9_ + i_7_] = (byte) -117; - else if (i_10_ == 338) is[i_9_ + i_7_] = (byte) -116; - else if (i_10_ == 381) is[i_7_ + i_9_] = (byte) -114; - else if (i_10_ != 8216) { - if (i_10_ == 8217) is[i_7_ - -i_9_] = (byte) -110; - else if (i_10_ == 8220) is[i_7_ + i_9_] = (byte) -109; - else if (i_10_ == 8221) is[i_7_ + i_9_] = (byte) -108; - else if (i_10_ == 8226) is[i_7_ + i_9_] = (byte) -107; - else if (i_10_ != 8211) { - if (i_10_ == 8212) is[i_7_ + i_9_] = (byte) -105; - else if (i_10_ != 732) { - if (i_10_ != 8482) { - if (i_10_ != 353) { - if (i_10_ == 8250) is[i_7_ - -i_9_] = (byte) -101; - else if (i_10_ == 339) is[i_7_ - -i_9_] = (byte) -100; - else if (i_10_ != 382) { - if (i_10_ != 376) is[i_9_ + i_7_] = (byte) 63; - else is[i_7_ + i_9_] = (byte) -97; - } else is[i_7_ - -i_9_] = (byte) -98; - } else is[i_9_ + i_7_] = (byte) -102; - } else is[i_9_ + i_7_] = (byte) -103; - } else is[i_9_ + i_7_] = (byte) -104; - } else is[i_7_ - -i_9_] = (byte) -106; - } else is[i_7_ + i_9_] = (byte) -111; - } else is[i_7_ - -i_9_] = (byte) -118; - } else is[i_9_ + i_7_] = (byte) -122; - } else is[i_7_ - -i_9_] = (byte) -123; - } else is[i_7_ - -i_9_] = (byte) -124; - } - return i_8_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ffa.E(" + i + ',' + (is != null ? "{...}" : "null") + ',' + i_6_ + ',' + bool + ',' + (string != null ? "{...}" : "null") + ',' + i_7_ + ')')); - } - } - - static final int method3256(int i) { - anInt9662++; - if (Class348_Sub1.anIntArray6547 == null) return 0; - if (i != 2) aClass21_9661 = null; - return 2 * Class348_Sub1.anIntArray6547.length; - } - - abstract int method3257(int i); - - public Class348_Sub42_Sub16() { - /* empty */ - } - - static final float[] method3258(int i, int i_11_, float[] fs) { - anInt9668++; - float[] fs_12_ = new float[i_11_]; - Class214.method1574(fs, 0, fs_12_, i, i_11_); - return fs_12_; - } - - abstract byte[] method3259(int i); - - static { - aClass21_9661 = new Class21(); - } -} diff --git a/client/src/Class348_Sub42_Sub16_Sub1.java b/client/src/Class348_Sub42_Sub16_Sub1.java deleted file mode 100644 index 4e8802c22..000000000 --- a/client/src/Class348_Sub42_Sub16_Sub1.java +++ /dev/null @@ -1,84 +0,0 @@ -/* Class348_Sub42_Sub16_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.util.Date; - -final class Class348_Sub42_Sub16_Sub1 extends Class348_Sub42_Sub16 { - static int anInt10447 = -1; - static int anInt10448; - byte aByte10449; - static boolean aBoolean10450; - static int anInt10451; - static int anInt10452; - Class348_Sub49 aClass348_Sub49_10453; - static int anInt10454; - static int anInt10455; - int anInt10456; - - final byte[] method3259(int i) { - anInt10454++; - if (i != 16) return null; - if (this.aBoolean9664 || (this.aClass348_Sub49_10453.anInt7197 < (-this.aByte10449 + (this.aClass348_Sub49_10453.aByteArray7154).length))) throw new RuntimeException(); - return (this.aClass348_Sub49_10453.aByteArray7154); - } - - static final void method3260(int i) { - for (Class348_Sub15 class348_sub15 = (Class348_Sub15) Class27.aClass356_389.method3484(0); class348_sub15 != null; class348_sub15 = (Class348_Sub15) Class27.aClass356_389.method3482(0)) { - if (class348_sub15.aClass55_Sub1_6768.method510((byte) -125)) Class64_Sub3.method690((byte) 70, (class348_sub15.anInt6773)); - else { - class348_sub15.aClass55_Sub1_6768.method522((byte) -91); - try { - class348_sub15.aClass55_Sub1_6768.method517(-2); - } catch (Exception exception) { - Class156.method1242("TV: " + class348_sub15.anInt6773, exception, 15004); - Class64_Sub3.method690((byte) 15, (class348_sub15.anInt6773)); - } - if (!class348_sub15.aBoolean6783 && !class348_sub15.aBoolean6781) { - Class348_Sub23_Sub1 class348_sub23_sub1 = class348_sub15.aClass55_Sub1_6768.method512(0); - if (class348_sub23_sub1 != null) { - Class348_Sub16_Sub2 class348_sub16_sub2 = class348_sub23_sub1.method2971(-61); - if (class348_sub16_sub2 != null) { - class348_sub16_sub2.method2827(-17708, (class348_sub15.anInt6782)); - Class348_Sub43.aClass348_Sub16_Sub4_7065.method2883(class348_sub16_sub2); - class348_sub15.aBoolean6783 = true; - } - } - } - } - } - int i_0_ = 48 % ((-17 - i) / 63); - anInt10448++; - } - - static final String method3261(long l, int i) { - try { - Class286_Sub3.aCalendar6221.setTime(new Date(l)); - anInt10455++; - int i_1_ = Class286_Sub3.aCalendar6221.get(7); - int i_2_ = Class286_Sub3.aCalendar6221.get(5); - if (i <= 53) aBoolean10450 = false; - int i_3_ = Class286_Sub3.aCalendar6221.get(2); - int i_4_ = Class286_Sub3.aCalendar6221.get(1); - int i_5_ = Class286_Sub3.aCalendar6221.get(11); - int i_6_ = Class286_Sub3.aCalendar6221.get(12); - int i_7_ = Class286_Sub3.aCalendar6221.get(13); - return (Class93.aStringArray1531[i_1_ - 1] + ", " + i_2_ / 10 + i_2_ % 10 + "-" + Class331.aStringArray4129[i_3_] + "-" + i_4_ + " " + i_5_ / 10 + i_5_ % 10 + ":" + i_6_ / 10 + i_6_ % 10 + ":" + i_7_ / 10 + i_7_ % 10 + " GMT"); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "mba.I(" + l + ',' + i + ')'); - } - } - - final int method3257(int i) { - if (i != 16) this.aByte10449 = (byte) -4; - anInt10452++; - if (this.aClass348_Sub49_10453 == null) return 0; - return (100 * this.aClass348_Sub49_10453.anInt7197 / (-this.aByte10449 + (this.aClass348_Sub49_10453.aByteArray7154).length)); - } - - static final boolean method3262(int i, int i_8_, int i_9_) { - if (i_9_ <= 75) aBoolean10450 = false; - anInt10451++; - return (i & 0x10) != 0; - } -} diff --git a/client/src/Class348_Sub42_Sub16_Sub2.java b/client/src/Class348_Sub42_Sub16_Sub2.java deleted file mode 100644 index 2ab8f0463..000000000 --- a/client/src/Class348_Sub42_Sub16_Sub2.java +++ /dev/null @@ -1,58 +0,0 @@ -/* Class348_Sub42_Sub16_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub42_Sub16_Sub2 extends Class348_Sub42_Sub16 { - int anInt10457; - Class137 aClass137_10458; - static int anInt10459; - static int anInt10460; - byte[] aByteArray10461; - static int anInt10462; - static int anInt10463 = 0; - static int anInt10464; - static Class356 aClass356_10465 = new Class356(16); - - static final boolean method3263(boolean bool) { - if (bool != true) return false; - anInt10459++; - return Class351.aBoolean4328; - } - - public static void method3264(byte i) { - aClass356_10465 = null; - if (i != -24) method3265(-70, null, null); - } - - final int method3257(int i) { - anInt10460++; - if (i != 16) this.aClass137_10458 = null; - if (this.aBoolean9664) return 0; - return 100; - } - - static final void method3265(int i, Class348 class348, Class348 class348_0_) { - try { - if (class348.aClass348_4295 != null) class348.method2715((byte) 27); - int i_1_ = -109 % ((6 - i) / 43); - anInt10462++; - class348.aClass348_4295 = class348_0_.aClass348_4295; - class348.aClass348_4294 = class348_0_; - class348.aClass348_4295.aClass348_4294 = class348; - class348.aClass348_4294.aClass348_4295 = class348; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qh.K(" + i + ',' + (class348 != null ? "{...}" : "null") + ',' + (class348_0_ != null ? "{...}" : "null") + ')')); - } - } - - final byte[] method3259(int i) { - anInt10464++; - if (i != 16) method3259(8); - if (this.aBoolean9664) throw new RuntimeException(); - return this.aByteArray10461; - } - - public Class348_Sub42_Sub16_Sub2() { - /* empty */ - } -} diff --git a/client/src/Class348_Sub42_Sub17.java b/client/src/Class348_Sub42_Sub17.java deleted file mode 100644 index 8180c72e1..000000000 --- a/client/src/Class348_Sub42_Sub17.java +++ /dev/null @@ -1,126 +0,0 @@ -/* Class348_Sub42_Sub17 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub42_Sub17 extends Class348_Sub42 { - private final int anInt9669; - static int anInt9670; - private byte[][] aByteArrayArray9671; - static Class348_Sub42_Sub17[] aClass348_Sub42_Sub17Array9672 = new Class348_Sub42_Sub17[14]; - Class4[] aClass4Array9673; - static int anInt9674; - static int anInt9675; - static int anInt9676; - static int anInt9677; - static int[][] anIntArrayArray9678; - static Class351 aClass351_9679 = new Class351(27, 7); - static int anInt9680; - - static final int method3266(ha var_ha, int i, Class277 class277) { - try { - anInt9674++; - if (class277.anInt3569 == -1) { - if (class277.anInt3575 != -1) { - Class12 class12 = var_ha.aD4579.method3(class277.anInt3575, -6662); - if (!class12.aBoolean209) return class12.aShort208; - } - } else return class277.anInt3569; - if (i <= 123) return -68; - return class277.anInt3563; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("gw.F(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + (class277 != null ? "{...}" : "null") + ')')); - } - } - - final boolean method3267(byte i, int i_0_) { - anInt9676++; - if (i >= -91) return false; - return (this.aClass4Array9673[i_0_].aBoolean129); - } - - final boolean method3268(int i) { - anInt9675++; - if (this.aClass4Array9673 != null) return true; - if (aByteArrayArray9671 == null) { - synchronized (Class138.aClass45_1940) { - if (!Class138.aClass45_1940.method408((byte) -116, anInt9669)) return false; - int[] is = Class138.aClass45_1940.method396(anInt9669, 0); - aByteArrayArray9671 = new byte[is.length][]; - for (int i_1_ = 0; i_1_ < is.length; i_1_++) - aByteArrayArray9671[i_1_] = Class138.aClass45_1940.method410(-1860, anInt9669, is[i_1_]); - } - } - boolean bool = true; - for (int i_2_ = 0; i_2_ < aByteArrayArray9671.length; i_2_++) { - byte[] is = aByteArrayArray9671[i_2_]; - Class348_Sub49 class348_sub49 = new Class348_Sub49(is); - class348_sub49.anInt7197 = 1; - int i_3_ = class348_sub49.readUnsignedShort(842397944); - synchronized (Class135_Sub2.aClass45_4843) { - bool &= Class135_Sub2.aClass45_4843.method421(false, i_3_); - } - } - if (!bool) return false; - Class262 class262 = new Class262(); - int[] is; - synchronized (Class138.aClass45_1940) { - int i_4_ = Class138.aClass45_1940.method407(0, anInt9669); - this.aClass4Array9673 = new Class4[i_4_]; - is = Class138.aClass45_1940.method396(anInt9669, 0); - if (i > -115) method3266(null, 123, null); - } - for (int i_5_ = 0; i_5_ < is.length; i_5_++) { - byte[] is_6_ = aByteArrayArray9671[i_5_]; - Class348_Sub49 class348_sub49 = new Class348_Sub49(is_6_); - class348_sub49.anInt7197 = 1; - int i_7_ = class348_sub49.readUnsignedShort(842397944);// - Class348_Sub33 class348_sub33 = null; - for (Class348_Sub33 class348_sub33_8_ = (Class348_Sub33) class262.method1995(4); class348_sub33_8_ != null; class348_sub33_8_ = (Class348_Sub33) class262.method1990((byte) 78)) { - if (class348_sub33_8_.anInt6958 == i_7_) { - class348_sub33 = class348_sub33_8_; - break; - } - } - if (class348_sub33 == null) { - synchronized (Class135_Sub2.aClass45_4843) { - class348_sub33 = new Class348_Sub33(i_7_, Class135_Sub2.aClass45_4843.method415((byte) 73, i_7_)); - } - class262.method1999(class348_sub33, -20180); - } - this.aClass4Array9673[is[i_5_]] = new Class4(is_6_, class348_sub33); - } - aByteArrayArray9671 = null; - return true; - } - - public static void method3269(boolean bool) { - aClass348_Sub42_Sub17Array9672 = null; - aClass351_9679 = null; - anIntArrayArray9678 = null; - if (bool != true) method3270((byte) -116); - } - - static final void method3270(byte i) { - if (i <= 106) method3266(null, -91, null); - for (Class348_Sub42_Sub12 class348_sub42_sub12 = ((Class348_Sub42_Sub12) Class348_Sub40_Sub4.aClass262_9111.method1995(4)); class348_sub42_sub12 != null; class348_sub42_sub12 = (Class348_Sub42_Sub12) Class348_Sub40_Sub4.aClass262_9111.method1990((byte) 115)) { - if (Class239_Sub17.method1796(69, class348_sub42_sub12.anInt9608)) Class5_Sub3.method202(6, class348_sub42_sub12); - } - anInt9680++; - } - - Class348_Sub42_Sub17(int i) { - anInt9669 = i; - } - - final boolean method3271(int i, int i_9_) { - anInt9670++; - if (i_9_ != 14) method3269(false); - return (this.aClass4Array9673[i].aBoolean139); - } - - final boolean method3272(int i, int i_10_) { - anInt9677++; - if (i_10_ != 0) return true; - return (this.aClass4Array9673[i].aBoolean131); - } -} diff --git a/client/src/Class348_Sub42_Sub18.java b/client/src/Class348_Sub42_Sub18.java deleted file mode 100644 index 5e7307915..000000000 --- a/client/src/Class348_Sub42_Sub18.java +++ /dev/null @@ -1,37 +0,0 @@ -/* Class348_Sub42_Sub18 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub42_Sub18 extends Class348_Sub42 { - static int anInt9681; - Class318_Sub1_Sub3_Sub5 aClass318_Sub1_Sub3_Sub5_9682; - static int anInt9683; - static Class351 aClass351_9684 = new Class351(81, 3); - static Class251 aClass251_9685 = new Class251(); - static int anInt9686; - - static final void method3273(boolean bool, int i, Class348_Sub16_Sub3 class348_sub16_sub3) { - if (i > -55) method3275(117, -54, 56); - Class348_Sub40.aClass279_7042.method2088(false, class348_sub16_sub3); - anInt9681++; - if (bool) Class318_Sub7.method2510(Class129.aClass45_1878, class348_sub16_sub3, Class239_Sub4.aClass45_5878, false, Class348_Sub40.aClass279_7042, Class123.aClass45_1815); - } - - public static void method3274(boolean bool) { - if (bool != true) method3273(true, -84, null); - aClass351_9684 = null; - aClass251_9685 = null; - } - - Class348_Sub42_Sub18(Class318_Sub1_Sub3_Sub5 class318_sub1_sub3_sub5) { - this.aClass318_Sub1_Sub3_Sub5_9682 = class318_sub1_sub3_sub5; - } - - static final void method3275(int i, int i_0_, int i_1_) { - anInt9683++; - if (i != 1) aClass351_9684 = null; - if (Class348_Sub42_Sub8_Sub2.aClass230_10434 != Class14_Sub4.aClass230_8638) { - if (!Class298.method2252(false, i_1_, i_0_, (byte) -108, 1, 0, 1, -3, 0)) Class298.method2252(false, i_1_, i_0_, (byte) -99, 1, 0, 1, -2, 0); - } else if (!Class298.method2252(false, i_1_, i_0_, (byte) -128, 1, 0, 1, -2, 0)) Class298.method2252(false, i_1_, i_0_, (byte) -115, 1, 0, 1, -3, 0); - } -} diff --git a/client/src/Class348_Sub42_Sub19.java b/client/src/Class348_Sub42_Sub19.java deleted file mode 100644 index 202973346..000000000 --- a/client/src/Class348_Sub42_Sub19.java +++ /dev/null @@ -1,77 +0,0 @@ -/* Class348_Sub42_Sub19 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub42_Sub19 extends Class348_Sub42 { - static Class351 aClass351_9687 = new Class351(14, -1); - int anInt9688; - int anInt9689; - String aString9690; - Class273 aClass273_9691; - String[] aStringArray9692; - Class356[] aClass356Array9693; - int[] anIntArray9694; - int anInt9695; - int[] anIntArray9696; - int anInt9697; - static int anInt9698; - static int anInt9699 = 0; - static Class338[] aClass338Array9700; - static int anInt9701; - - static final void method3276(Class211 class211) { - if (Class331.anInt4135 < 65535) { - Class348_Sub1 class348_sub1 = class211.aClass348_Sub1_2745; - Class239_Sub14.aClass211Array5993[Class331.anInt4135] = class211; - r.aBooleanArray9718[Class331.anInt4135] = false; - Class331.anInt4135++; - int i = class211.anInt2731; - if (class211.aBoolean2749) i = 0; - int i_0_ = class211.anInt2731; - if (class211.aBoolean2737) i_0_ = Class189.anInt2524 - 1; - for (int i_1_ = i; i_1_ <= i_0_; i_1_++) { - int i_2_ = 0; - int i_3_ = ((class348_sub1.method2717((byte) 89) - class348_sub1.method2723(-1) + Class348_Sub23_Sub2.anInt9037) >> Class362.anInt4459); - if (i_3_ < 0) { - i_2_ -= i_3_; - i_3_ = 0; - } - int i_4_ = ((class348_sub1.method2717((byte) 122) + class348_sub1.method2723(-1) - Class348_Sub23_Sub2.anInt9037) >> Class362.anInt4459); - if (i_4_ >= Class348_Sub41.anInt7054) i_4_ = Class348_Sub41.anInt7054 - 1; - for (int i_5_ = i_3_; i_5_ <= i_4_; i_5_++) { - int i_6_ = class211.aShortArray2742[i_2_++]; - int i_7_ = (((class348_sub1.method2724(-1) - class348_sub1.method2723(-1) + Class348_Sub23_Sub2.anInt9037) >> Class362.anInt4459) + (i_6_ >>> 8)); - int i_8_ = i_7_ + (i_6_ & 0xff) - 1; - if (i_7_ < 0) i_7_ = 0; - if (i_8_ >= Class318_Sub7.anInt6451) i_8_ = Class318_Sub7.anInt6451 - 1; - for (int i_9_ = i_7_; i_9_ <= i_8_; i_9_++) { - long l = (Class348_Sub42_Sub8_Sub2.aLongArrayArrayArray10431[i_1_][i_9_][i_5_]); - if ((l & 0xffffL) == 0L) Class348_Sub42_Sub8_Sub2.aLongArrayArrayArray10431[i_1_][i_9_][i_5_] = l | (long) Class331.anInt4135; - else if ((l & 0xffff0000L) == 0L) Class348_Sub42_Sub8_Sub2.aLongArrayArrayArray10431[i_1_][i_9_][i_5_] = l | (long) Class331.anInt4135 << 16; - else if ((l & 0xffff00000000L) == 0L) Class348_Sub42_Sub8_Sub2.aLongArrayArrayArray10431[i_1_][i_9_][i_5_] = l | (long) Class331.anInt4135 << 32; - else if ((l & ~0xffffffffffffL) == 0L) Class348_Sub42_Sub8_Sub2.aLongArrayArrayArray10431[i_1_][i_9_][i_5_] = l | (long) Class331.anInt4135 << 48; - } - } - } - } - } - - static final void method3277(byte i) { - anInt9698++; - if (i != -48) method3276(null); - if (Class242.aClass348_Sub42_Sub13_3152 != null) { - Class242.aClass348_Sub42_Sub13_3152 = null; - Class13.method226(Class50_Sub3.anInt5252, Class348_Sub1_Sub1.anInt8806, Class373.anInt4534, 0, Class177.anInt4669); - } - } - - public static void method3278(int i) { - aClass351_9687 = null; - if (i != 1) anInt9699 = -66; - aClass338Array9700 = null; - } - - public Class348_Sub42_Sub19() { - /* empty */ - } -} diff --git a/client/src/Class348_Sub42_Sub2.java b/client/src/Class348_Sub42_Sub2.java deleted file mode 100644 index 06d194602..000000000 --- a/client/src/Class348_Sub42_Sub2.java +++ /dev/null @@ -1,175 +0,0 @@ -/* Class348_Sub42_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -final class Class348_Sub42_Sub2 extends Class348_Sub42 implements Interface9 { - static int anInt8561; - private int anInt8562 = -1; - private int anInt8563 = -1; - private final ha_Sub2 aHa_Sub2_8564; - int anInt8565; - static int anInt8566; - private final int anInt8567; - static int anInt8568; - private int anInt8569; - static int anInt8570; - private final int anInt8571; - int anInt8572; - static long aLong8573 = 0L; - - protected final void finalize() throws Throwable { - anInt8570++; - method3172(4); - super.finalize(); - } - - static final void method3171(ha var_ha, int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, boolean bool, boolean bool_5_) { - Class9.aHa171 = var_ha; - Npc.anInt10503 = i; - Class348_Sub40_Sub5.aBoolean9121 = (Npc.anInt10503 > 1 && Class9.aHa171.method3708()); - Class362.anInt4459 = i_0_; - Class270.anInt3465 = 1 << Class362.anInt4459; - Class348_Sub23_Sub2.anInt9037 = Class270.anInt3465 >> 1; - Math.sqrt((Class348_Sub23_Sub2.anInt9037 * Class348_Sub23_Sub2.anInt9037) + (Class348_Sub23_Sub2.anInt9037 * Class348_Sub23_Sub2.anInt9037)); - Class189.anInt2524 = i_1_; - Class318_Sub7.anInt6451 = i_2_; - Class348_Sub41.anInt7054 = i_3_; - Class318_Sub1_Sub4_Sub1.anInt10084 = i_4_; - Class50_Sub4.aClass47_5262 = Class348_Sub16_Sub1.method2826(15); - Class348_Sub45.method3309(-124); - Class65.aClass357ArrayArrayArray1148 = (new Class357[i_1_][Class318_Sub7.anInt6451] - [Class348_Sub41.anInt7054]); - Class348_Sub1_Sub1.aSArray8801 = new s[i_1_]; - if (bool) { - Class342.anIntArrayArray4253 = new int[Class318_Sub7.anInt6451][Class348_Sub41.anInt7054]; - Class348_Sub1_Sub2.aByteArrayArray8816 = new byte[Class318_Sub7.anInt6451][Class348_Sub41.anInt7054]; - Class239_Sub1.aShortArrayArray5847 = new short[Class318_Sub7.anInt6451][Class348_Sub41.anInt7054]; - Class348_Sub31_Sub2.aClass357ArrayArrayArray9082 = (new Class357[1][Class318_Sub7.anInt6451] - [Class348_Sub41.anInt7054]); - Class332.aSArray4142 = new s[1]; - } else { - Class342.anIntArrayArray4253 = null; - Class348_Sub1_Sub2.aByteArrayArray8816 = null; - Class239_Sub1.aShortArrayArray5847 = null; - Class348_Sub31_Sub2.aClass357ArrayArrayArray9082 = null; - Class332.aSArray4142 = null; - } - if (bool_5_) { - Class348_Sub42_Sub8_Sub2.aLongArrayArrayArray10431 = new long[i_1_][i_2_][i_3_]; - Class239_Sub14.aClass211Array5993 = new Class211[65535]; - r.aBooleanArray9718 = new boolean[65535]; - Class331.anInt4135 = 0; - } else { - Class348_Sub42_Sub8_Sub2.aLongArrayArrayArray10431 = null; - Class239_Sub14.aClass211Array5993 = null; - r.aBooleanArray9718 = null; - Class331.anInt4135 = 0; - } - Class243.method1879(false); - Class348.aClass318_Sub1Array4293 = new Class318_Sub1[2]; - Class250.aClass318_Sub1Array3226 = new Class318_Sub1[2]; - Class115.aClass318_Sub1Array1754 = new Class318_Sub1[2]; - Class239_Sub21.aClass318_Sub1Array6066 = new Class318_Sub1[10000]; - Class5_Sub1_Sub1.anInt9930 = 0; - Class291.aClass318_Sub1Array3737 = new Class318_Sub1[5000]; - Class348_Sub42_Sub3.anInt9504 = 0; - Class24.aClass318_Sub1_Sub3Array357 = new Class318_Sub1_Sub3[5000]; - Class86.anInt1477 = 0; - Class99.aBooleanArrayArray1572 = (new boolean - [(Class318_Sub1_Sub4_Sub1.anInt10084 + Class318_Sub1_Sub4_Sub1.anInt10084 + 1)] - [(Class318_Sub1_Sub4_Sub1.anInt10084 + Class318_Sub1_Sub4_Sub1.anInt10084 + 1)]); - Class348_Sub8.aBooleanArrayArray6656 = (new boolean - [(Class318_Sub1_Sub4_Sub1.anInt10084 + Class318_Sub1_Sub4_Sub1.anInt10084 + 2)] - [(Class318_Sub1_Sub4_Sub1.anInt10084 + Class318_Sub1_Sub4_Sub1.anInt10084 + 2)]); - Class171.anIntArray2272 = new int[(Class318_Sub1_Sub4_Sub1.anInt10084 + Class318_Sub1_Sub4_Sub1.anInt10084 + 2)]; - Class71.aClass76_1208 = Class71.aClass76_1210; - if (Class348_Sub40_Sub5.aBoolean9121) { - Class115.aBooleanArrayArrayArray1751 = (new boolean[i_1_] - [(Class318_Sub1_Sub4_Sub1.anInt10084 + Class318_Sub1_Sub4_Sub1.anInt10084 + 1)] - [(Class318_Sub1_Sub4_Sub1.anInt10084 + Class318_Sub1_Sub4_Sub1.anInt10084 + 1)]); - Class5_Sub2.aBooleanArrayArrayArray8361 = new boolean[i_1_][][]; - if (Class348_Sub40_Sub34.aClass293Array9432 != null) Class260.method1978(); - Class348_Sub40_Sub34.aClass293Array9432 = new Class293[Npc.anInt10503]; - Class9.aHa171.method3631((Class348_Sub40_Sub34.aClass293Array9432).length + 1); - Class9.aHa171.method3659(0); - for (int i_6_ = 0; i_6_ < Class348_Sub40_Sub34.aClass293Array9432.length; i_6_++) { - Class348_Sub40_Sub34.aClass293Array9432[i_6_] = new Class293(i_6_ + 1, Class9.aHa171); - new Thread(Class348_Sub40_Sub34.aClass293Array9432[i_6_], "wr" + i_6_).start(); - } - int i_7_; - if (Npc.anInt10503 == 2) { - i_7_ = 4; - Class75_Sub1.anInt5652 = 2; - } else if (Npc.anInt10503 == 3) { - i_7_ = 6; - Class75_Sub1.anInt5652 = 3; - } else { - i_7_ = 8; - Class75_Sub1.anInt5652 = 4; - } - Class319.aClass315Array3982 = new Class315[i_7_]; - for (int i_8_ = 0; i_8_ < i_7_; i_8_++) - Class319.aClass315Array3982[i_8_] = new Class315(Class239_Sub24.aStringArrayArray6093[(Npc.anInt10503 - 2)][i_8_]); - } else Class75_Sub1.anInt5652 = 1; - Class17.anIntArray256 = new int[Class75_Sub1.anInt5652 - 1]; - Class345.anIntArray4271 = new int[Class75_Sub1.anInt5652 - 1]; - } - - final void method3172(int i) { - anInt8566++; - if (anInt8569 > 0) { - aHa_Sub2_8564.method3810(anInt8569, anInt8571, -101); - anInt8569 = 0; - } - if (i != 4) method3171(null, 57, 49, -22, 43, -43, -45, true, true); - } - - final void method3173(int i, int i_9_, int i_10_) { - OpenGL.glFramebufferRenderbufferEXT(i_10_, i_9_, i, anInt8569); - anInt8568++; - anInt8562 = i_10_; - anInt8563 = i_9_; - } - - public final void method37(int i) { - anInt8561++; - if (i != -3022) this.anInt8572 = 15; - OpenGL.glFramebufferRenderbufferEXT(anInt8562, anInt8563, 36161, 0); - anInt8562 = -1; - anInt8563 = -1; - } - - Class348_Sub42_Sub2(ha_Sub2 var_ha_Sub2, int i, int i_11_, int i_12_) { - try { - this.anInt8572 = i_11_; - aHa_Sub2_8564 = var_ha_Sub2; - this.anInt8565 = i_12_; - anInt8567 = i; - OpenGL.glGenRenderbuffersEXT(1, Class348_Sub40_Sub34.anIntArray9431, 0); - anInt8569 = Class348_Sub40_Sub34.anIntArray9431[0]; - OpenGL.glBindRenderbufferEXT(36161, anInt8569); - OpenGL.glRenderbufferStorageEXT(36161, anInt8567, (this.anInt8572), (this.anInt8565)); - anInt8571 = (this.anInt8565 * this.anInt8572 * aHa_Sub2_8564.method3798(anInt8567, 2)); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("kw.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_11_ + ',' + i_12_ + ')')); - } - } - - Class348_Sub42_Sub2(ha_Sub2 var_ha_Sub2, int i, int i_13_, int i_14_, int i_15_) { - try { - this.anInt8572 = i_13_; - anInt8567 = i; - this.anInt8565 = i_14_; - aHa_Sub2_8564 = var_ha_Sub2; - OpenGL.glGenRenderbuffersEXT(1, Class348_Sub40_Sub34.anIntArray9431, 0); - anInt8569 = Class348_Sub40_Sub34.anIntArray9431[0]; - OpenGL.glBindRenderbufferEXT(36161, anInt8569); - OpenGL.glRenderbufferStorageMultisampleEXT(36161, i_15_, anInt8567, this.anInt8572, this.anInt8565); - anInt8571 = (this.anInt8565 * this.anInt8572 * aHa_Sub2_8564.method3798(anInt8567, 2)); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("kw.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_13_ + ',' + i_14_ + ',' + i_15_ + ')')); - } - } -} diff --git a/client/src/Class348_Sub42_Sub20.java b/client/src/Class348_Sub42_Sub20.java deleted file mode 100644 index 220339cc5..000000000 --- a/client/src/Class348_Sub42_Sub20.java +++ /dev/null @@ -1,70 +0,0 @@ -/* Class348_Sub42_Sub20 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub42_Sub20 extends Class348_Sub42 { - Class342 aClass342_9702; - static int anInt9703; - Class174 aClass174_9704; - int anInt9705; - int anInt9706; - int anInt9707; - static int anInt9708; - static int anInt9709; - int anInt9710; - static Class262 aClass262_9711 = new Class262(); - int anInt9712; - static int anInt9713; - static int[] anIntArray9714 = {1, 2, 4, 8}; - static int anInt9715; - - final void method3279(int i) { - this.anInt9706 = (this.aClass342_9702.anInt4239); - anInt9708++; - this.anInt9710 = (this.aClass342_9702.anInt4240); - this.anInt9712 = (this.aClass342_9702.anInt4238); - if ((this.aClass342_9702.aClass101_4252) != null) this.aClass342_9702.aClass101_4252.method905((this.aClass174_9704.anInt2291), (this.aClass174_9704.anInt2290), (this.aClass174_9704.anInt2294), Class348_Sub8.anIntArray6666); - this.anInt9705 = Class348_Sub8.anIntArray6666[0]; - this.anInt9707 = Class348_Sub8.anIntArray6666[i]; - } - - public static void method3280(int i) { - aClass262_9711 = null; - anIntArray9714 = null; - int i_0_ = 112 / ((i - 16) / 57); - } - - static final void method3281(byte i, ha var_ha) { - if (Class5_Sub1.aBoolean8335) Class303.method2288(false, var_ha); - else Class119_Sub1.method1077(var_ha, (byte) -123); - anInt9709++; - if (i < 29) method3280(81); - } - - static final void method3282(int i, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_) { - Class348_Sub51.anInt7244 = i_6_; - Class14_Sub4.anInt8633 = i_5_; - Class59_Sub2_Sub1.anInt8668 = i_2_; - Class348_Sub44.anInt7092 = i; - Class281.anInt3650 = i_4_; - Class43.anInt620 = i_1_; - if (i_3_ != 0) method3281((byte) 92, null); - anInt9703++; - } - - Class348_Sub42_Sub20(Class342 class342, Class318_Sub10 class318_sub10) { - try { - this.aClass342_9702 = class342; - this.aClass174_9704 = this.aClass342_9702.method2685((byte) -13); - method3279(2); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("jo.(" + (class342 != null ? "{...}" : "null") + ',' + (class318_sub10 != null ? "{...}" : "null") + ')')); - } - } - - static final void method3283(int i) { - if (Class348_Sub23_Sub1.aClass297_8992.aBoolean3777 && (aa_Sub2.aClass161_5199.anInt2143 != -1)) Class348_Sub23_Sub1.method2972((aa_Sub2.aClass161_5199.aString2147), (aa_Sub2.aClass161_5199.anInt2143), -54); - anInt9713++; - int i_7_ = 9 / ((i - 60) / 50); - } -} diff --git a/client/src/Class348_Sub42_Sub3.java b/client/src/Class348_Sub42_Sub3.java deleted file mode 100644 index fd8b753f3..000000000 --- a/client/src/Class348_Sub42_Sub3.java +++ /dev/null @@ -1,177 +0,0 @@ -/* Class348_Sub42_Sub3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub42_Sub3 extends Class348_Sub42 { - static boolean aBoolean9498; - byte[] aByteArray9499; - static int anInt9500; - static int anInt9501; - static short[] aShortArray9502; - static Class114 aClass114_9503; - static int anInt9504; - static int[] anIntArray9505 = new int[3]; - static int anInt9506; - static int anInt9507; - static int anInt9508; - static int anInt9509; - - static final void method3174(int i, int i_0_, int i_1_, boolean bool, byte i_2_, int i_3_) { - if (i_1_ < 1) i_1_ = 1; - anInt9507++; - if (i_3_ < 1) i_3_ = 1; - int i_4_ = i_3_ - 334; - if (i_4_ < 0) i_4_ = 0; - else if (i_4_ > 100) i_4_ = 100; - int adjustedZoom = ((-Class110.aShort1700 + Class168.aShort2250) * i_4_ / 100 + Class110.aShort1700); - int base = adjustedZoom; - if (Class320.zoomStep != 0) adjustedZoom += Class320.zoomStep; - int min = Class110.aShort1700 * Loader.FOV_MIN_FACTOR_NUM / Loader.FOV_MIN_FACTOR_DEN; - int max = Class168.aShort2250 * Loader.FOV_MAX_FACTOR_NUM / Loader.FOV_MAX_FACTOR_DEN; - if (min < Loader.FOV_MIN_ABS) min = Loader.FOV_MIN_ABS; - if (min > max) { - int tmp = min; - min = max; - max = tmp; - } - if (adjustedZoom < min) adjustedZoom = min; - else if (adjustedZoom > max) adjustedZoom = max; - if (Class320.zoomStep != 0) Class320.zoomStep = adjustedZoom - base; - if (adjustedZoom < Class348_Sub42_Sub8.aShort9555) adjustedZoom = Class348_Sub42_Sub8.aShort9555; - else if (Class48.aShort851 < adjustedZoom) adjustedZoom = Class48.aShort851; - int i_6_ = 512 * adjustedZoom * i_3_ / (i_1_ * 334); - if (i_6_ >= Class367_Sub8.aShort7355) { - if (i_6_ > Class171.aShort2269) { - i_6_ = Class171.aShort2269; - adjustedZoom = i_1_ * i_6_ * 334 / (i_3_ * 512); - if (adjustedZoom < Class348_Sub42_Sub8.aShort9555) { - adjustedZoom = Class348_Sub42_Sub8.aShort9555; - int i_7_ = i_6_ * (i_1_ * 334) / (adjustedZoom * 512); - int i_8_ = (-i_7_ + i_3_) / 2; - if (bool) { - Class348_Sub8.aHa6654.la(); - Class348_Sub8.aHa6654.method3675(i_1_, (byte) -125, i, i_0_, i_8_, -16777216); - Class348_Sub8.aHa6654.method3675(i_1_, (byte) -125, i, i_3_ + i_0_ - i_8_, i_8_, -16777216); - } - i_0_ += i_8_; - i_3_ -= 2 * i_8_; - } - } - } else { - i_6_ = Class367_Sub8.aShort7355; - adjustedZoom = i_6_ * (i_1_ * 334) / (i_3_ * 512); - if (Class48.aShort851 < adjustedZoom) { - adjustedZoom = Class48.aShort851; - int i_9_ = adjustedZoom * i_3_ * 512 / (334 * i_6_); - int i_10_ = (i_1_ + -i_9_) / 2; - if (bool) { - Class348_Sub8.aHa6654.la(); - Class348_Sub8.aHa6654.method3675(i_10_, (byte) -125, i, i_0_, i_3_, -16777216); - Class348_Sub8.aHa6654.method3675(i_10_, (byte) -125, -i_10_ + i + i_1_, i_0_, i_3_, -16777216); - } - i += i_10_; - i_1_ -= i_10_ * 2; - } - } - Class97.anInt1550 = i_3_ * adjustedZoom / 334; - Class234.anInt3047 = i_0_; - Class280.anInt3643 = (short) i_3_; - Class127.anInt4656 = (short) i_1_; - Class295.anInt3764 = i; - int i_11_ = -3 % ((-8 - i_2_) / 56); - } - - static final void method3175(byte i) { - if (!Class348_Sub42_Sub8.method3196(Class240.anInt4674, -114) && !Class340.method2672(Class240.anInt4674, -103)) { - int i_12_ = ((Class132.aPlayer_1907.anIntArray10320[0]) >> 3); - int i_13_ = ((Class132.aPlayer_1907.anIntArray10317[0]) >> 3); - if (i_12_ < 0 || Class367_Sub4.anInt7319 >> 3 <= i_12_ || i_13_ < 0 || (Class348_Sub40_Sub3.anInt9109 >> 3 <= i_13_)) Class346_Sub1.method2703(0, Class367_Sub4.anInt7319 >> 4, (Class348_Sub40_Sub3.anInt9109 >> 4), (byte) -13); - else Class346_Sub1.method2703(5000, i_12_, i_13_, (byte) -13); - } else Class346_Sub1.method2703(5000, Class286_Sub4.anInt6246 >> 12, Class59_Sub2_Sub2.anInt8685 >> 12, (byte) -13); - anInt9509++; - Class348_Sub40_Sub32.method3134(-1); - Class348_Sub23_Sub4.method2988(true); - int i_14_ = -8 % ((-30 - i) / 38); - Class348_Sub40_Sub30.method3126((byte) 98); - Class130_Sub1.method1131(117); - } - - Class348_Sub42_Sub3(byte[] is) { - this.aByteArray9499 = is; - } - - public static void method3176(boolean bool) { - anIntArray9505 = null; - aShortArray9502 = null; - if (bool != true) aShortArray9502 = null; - aClass114_9503 = null; - } - - static final void method3177(int i, boolean bool) { - if (!bool || Class75.aClass348_Sub42_Sub14_1243 == null) Class239_Sub13.anInt5976 = -1; - else Class239_Sub13.anInt5976 = (Class75.aClass348_Sub42_Sub14_1243.anInt9628); - anInt9500++; - Class75.aClass348_Sub42_Sub14_1243 = null; - Class168.aClass46_2249 = null; - Class348.anInt4290 = 0; - Class289.aClass262_3705 = null; - Class75.method749(); - Class75.aClass262_1254.method1996(127); - Class285.aClass323_4754 = null; - Class168.aClass323_2252 = null; - Class67.aClass105_4643 = null; - Class125.aClass323_4921 = null; - Class176.aClass323_2333 = null; - Class348_Sub3.aClass323_6581 = null; - Class39.aClass323_521 = null; - Class75.aClass252_1246 = null; - Class14_Sub4.aClass323_8644 = null; - Class48.anInt859 = -1; - if (i <= -44) { - Class244.anInt4609 = -1; - Class240.aClass323_4672 = null; - if (Class75.aClass153_1238 != null) { - Class75.aClass153_1238.method1219(7851); - Class75.aClass153_1238.method1220((byte) -100, 64, 128); - } - if (Class75.aClass141_1242 != null) Class75.aClass141_1242.method1178(64, 1, 64); - if (Class75.aClass263_1245 != null) Class75.aClass263_1245.method2014(64, true); - Class229.aClass194_2981.method1444(64, -124); - } - } - - static final void method3178(Class45 class45, int i, int[] is, Class45 class45_15_) { - try { - anInt9506++; - if (is != null) Class348_Sub1.anIntArray6547 = is; - s.aClass45_4585 = class45; - if (i >= -6) method3177(-36, true); - Class39.aClass45_518 = class45_15_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("lk.F(" + (class45 != null ? "{...}" : "null") + ',' + i + ',' + (is != null ? "{...}" : "null") + ',' + (class45_15_ != null ? "{...}" : "null") + ')')); - } - } - - static final void method3179(int i) { - Class3.method175((byte) -50); - anInt9508++; - int i_16_ = Class316.aClass348_Sub51_3959.aClass239_Sub3_7222.method1727(-32350); - do { - if (i_16_ == 2) { - Class121.method1083(Class348_Sub8.aHa6654, 100, (byte) 9, Class348_Sub42_Sub8_Sub2.anInt10432, 100, Class321.anInt4017); - break; - } else if (i_16_ != 3) break; - Class18.method282(2, Class348_Sub8.aHa6654, Class321.anInt4017, (byte) 73, Class45.anInt666, Class186_Sub1.anInt5812, Class348_Sub42_Sub8_Sub2.anInt10432, 2); - } while (false); - if (Class316.aClass348_Sub51_3959.aClass239_Sub3_7222.method1735(false)) s.method3980(i + 93, Class305.aCanvas3869); - if (Class348_Sub8.aHa6654 != null) Class290.method2196((byte) -9); - Class305.aBoolean3870 = i != Class316.aClass348_Sub51_3959.aClass239_Sub3_7222.method1727(-32350); - Class59_Sub1.aBoolean5300 = Class316.aClass348_Sub51_3959.aClass239_Sub3_7222.method1735(false); - } - - static { - anInt9501 = 0; - aShortArray9502 = new short[256]; - aClass114_9503 = new Class114(9, -1); - } -} diff --git a/client/src/Class348_Sub42_Sub4.java b/client/src/Class348_Sub42_Sub4.java deleted file mode 100644 index 5869e9a93..000000000 --- a/client/src/Class348_Sub42_Sub4.java +++ /dev/null @@ -1,71 +0,0 @@ -/* Class348_Sub42_Sub4 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub42_Sub4 extends Class348_Sub42 { - static int anInt9510; - static int anInt9511; - double aDouble9512; - static int anInt9513 = 0; - static int anInt9514; - static int anInt9515; - static float aFloat9516; - static double aDouble9517; - short[][] aShortArrayArray9518; - static int[] anIntArray9519 = new int[2]; - - static final void method3180(int i, Class46[] class46s, int i_0_) { - if (i_0_ == 24235) { - for (int i_1_ = 0; i_1_ < class46s.length; i_1_++) { - Class46 class46 = class46s[i_1_]; - if (class46 != null && i == class46.anInt834 && !client.method111(class46)) { - if (class46.anInt774 == 0) { - method3180(class46.anInt830, class46s, 24235); - if (class46.aClass46Array798 != null) method3180(class46.anInt830, class46.aClass46Array798, i_0_); - Class348_Sub41 class348_sub41 = ((Class348_Sub41) (Class125.aClass356_4915.method3480(class46.anInt830, -6008))); - if (class348_sub41 != null) Class75_Sub1.method769(class348_sub41.anInt7050, (byte) 116); - } - if (class46.anInt774 == 6 && class46.anInt699 != -1) { - Class17 class17 = Class10.aClass87_191.method835(class46.anInt699, 7); - if (class17 != null) { - class46.anInt841 += Class348_Sub51.anInt7267; - int i_2_ = class46.anInt795; - while (class46.anInt841 > (class17.anIntArray267[class46.anInt795])) { - class46.anInt841 -= (class17.anIntArray267[class46.anInt795]); - class46.anInt795++; - if (class46.anInt795 >= (class17.anIntArray237).length) { - class46.anInt795 -= class17.anInt238; - if (class46.anInt795 < 0 || (class46.anInt795 >= (class17.anIntArray237).length)) class46.anInt795 = 0; - } - class46.anInt730 = 1 + class46.anInt795; - if (class46.anInt730 >= class17.anIntArray237.length) { - class46.anInt730 -= class17.anInt238; - if (class46.anInt730 < 0 || ((class17.anIntArray237).length <= class46.anInt730)) class46.anInt730 = -1; - } - Class251.method1916(-9343, class46); - } - if (i_2_ != class46.anInt795) Class264.method2017((class46.anInt795), class17, 98); - } - } - } - } - anInt9514++; - } - } - - public static void method3181(byte i) { - if (i != 2) anInt9511 = 63; - anIntArray9519 = null; - } - - final long method3182(int i) { - if (i < 76) anInt9515 = 111; - anInt9510++; - return (this.aShortArrayArray9518).length << 0 | (this.aShortArrayArray9518[0]).length; - } - - Class348_Sub42_Sub4(short[][] is, double d) { - this.aDouble9512 = d; - this.aShortArrayArray9518 = is; - } -} diff --git a/client/src/Class348_Sub42_Sub5.java b/client/src/Class348_Sub42_Sub5.java deleted file mode 100644 index 009dd0558..000000000 --- a/client/src/Class348_Sub42_Sub5.java +++ /dev/null @@ -1,287 +0,0 @@ -/* Class348_Sub42_Sub5 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub42_Sub5 extends Class348_Sub42 { - private final Class348_Sub40[] aClass348_Sub40Array9520; - private final Class348_Sub40 aClass348_Sub40_9521; - static int anInt9522; - private final int[] anIntArray9523; - private final int[] anIntArray9524; - static int anInt9525; - static int anInt9526; - private final Class348_Sub40 aClass348_Sub40_9527; - private final Class348_Sub40 aClass348_Sub40_9528; - static int anInt9529; - static Class138 aClass138_9530 = new Class138(6, 0, 4, 2); - static double aDouble9531; - static int anInt9532; - static Class351 aClass351_9533; - static Interface6[] anInterface6Array9534 = new Interface6[128]; - - final int[] method3183(d var_d, int i, int i_0_, boolean bool, double d, Class45 class45, byte i_1_) { - try { - anInt9522++; - Class286_Sub5.aD6247 = var_d; - Class348.aClass45_4286 = class45; - for (int i_2_ = 0; aClass348_Sub40Array9520.length > i_2_; i_2_++) - aClass348_Sub40Array9520[i_2_].method3045(i, i_0_, -256); - Class348_Sub42_Sub13.method3232(d, (byte) -122); - Class79.method797(i_0_, i, (byte) 114); - int[] is = new int[i * i_0_]; - int i_3_ = 0; - for (int i_4_ = 0; i_0_ > i_4_; i_4_++) { - int[] is_5_; - int[] is_6_; - int[] is_7_; - if (aClass348_Sub40_9521.aBoolean7045) { - int[] is_8_ = aClass348_Sub40_9521.method3042(i_4_, 255); - is_7_ = is_8_; - is_5_ = is_8_; - is_6_ = is_8_; - } else { - int[][] is_9_ = aClass348_Sub40_9521.method3047(i_4_, -1564599039); - is_5_ = is_9_[2]; - is_6_ = is_9_[1]; - is_7_ = is_9_[0]; - } - if (bool) i_3_ = i_4_; - int[] is_10_; - if (aClass348_Sub40_9527.aBoolean7045) is_10_ = aClass348_Sub40_9527.method3042(i_4_, i_1_ + 244); - else is_10_ = (aClass348_Sub40_9527.method3047(i_4_, -1564599039)[0]); - for (int i_11_ = i - 1; i_11_ >= 0; i_11_--) { - int i_12_ = is_7_[i_11_] >> 4; - if (i_12_ > 255) i_12_ = 255; - if (i_12_ < 0) i_12_ = 0; - int i_13_ = is_6_[i_11_] >> 4; - if (i_13_ > 255) i_13_ = 255; - if (i_13_ < 0) i_13_ = 0; - int i_14_ = is_5_[i_11_] >> 4; - if (i_14_ > 255) i_14_ = 255; - i_13_ = Class318_Sub1_Sub3_Sub3.anIntArray10266[i_13_]; - if (i_14_ < 0) i_14_ = 0; - i_12_ = Class318_Sub1_Sub3_Sub3.anIntArray10266[i_12_]; - i_14_ = Class318_Sub1_Sub3_Sub3.anIntArray10266[i_14_]; - int i_15_; - if (i_12_ == 0 && i_13_ == 0 && i_14_ == 0) i_15_ = 0; - else { - i_15_ = is_10_[i_11_] >> 4; - if (i_15_ > 255) i_15_ = 255; - if (i_15_ < 0) i_15_ = 0; - } - is[i_3_++] = (i_14_ + (i_15_ << 24) + ((i_12_ << 16) + (i_13_ << 8))); - if (bool) i_3_ += -1 + i; - } - } - for (int i_16_ = 0; (i_16_ < aClass348_Sub40Array9520.length); i_16_++) - aClass348_Sub40Array9520[i_16_].method3046((byte) -116); - if (i_1_ != 11) anInt9532 = 97; - return is; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("lr.D(" + (var_d != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + bool + ',' + d + ',' + (class45 != null ? "{...}" : "null") + ',' + i_1_ + ')')); - } - } - - final boolean method3184(d var_d, Class45 class45, int i) { - try { - anInt9529++; - if (Class101_Sub2.anInt5713 < 0) { - for (int i_17_ = 0; (anIntArray9524.length > i_17_); i_17_++) { - if (!class45.method421(false, anIntArray9524[i_17_])) return false; - } - } else { - for (int i_18_ = 0; (i_18_ < anIntArray9524.length); i_18_++) { - if (!class45.method420(-10499, Class101_Sub2.anInt5713, anIntArray9524[i_18_])) return false; - } - } - int i_19_ = 0; - int i_20_ = -109 / ((10 - i) / 60); - for (/**/; i_19_ < anIntArray9523.length; i_19_++) { - if (!var_d.method4(-7953, anIntArray9523[i_19_])) return false; - } - return true; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("lr.B(" + (var_d != null ? "{...}" : "null") + ',' + (class45 != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - final int[] method3185(int i, d var_d, int i_21_, boolean bool, double d, boolean bool_22_, Class45 class45, int i_23_) { - try { - Class286_Sub5.aD6247 = var_d; - Class348.aClass45_4286 = class45; - anInt9526++; - for (int i_24_ = 0; aClass348_Sub40Array9520.length > i_24_; i_24_++) - aClass348_Sub40Array9520[i_24_].method3045(i, i_23_, i_21_ + -256); - Class348_Sub42_Sub13.method3232(d, (byte) -89); - Class79.method797(i_23_, i, (byte) 122); - int[] is = new int[i_23_ * i]; - int i_25_; - int i_26_; - int i_27_; - if (bool_22_) { - i_25_ = i - 1; - i_26_ = -1; - i_27_ = -1; - } else { - i_25_ = 0; - i_26_ = 1; - i_27_ = i; - } - int i_28_ = 0; - for (int i_29_ = 0; i_23_ > i_29_; i_29_++) { - int[] is_30_; - int[] is_31_; - int[] is_32_; - if (aClass348_Sub40_9521.aBoolean7045) { - int[] is_33_ = aClass348_Sub40_9521.method3042(i_29_, 255); - is_30_ = is_33_; - is_31_ = is_33_; - is_32_ = is_33_; - } else { - int[][] is_34_ = aClass348_Sub40_9521.method3047(i_29_, -1564599039); - is_30_ = is_34_[1]; - is_31_ = is_34_[0]; - is_32_ = is_34_[2]; - } - if (bool) i_28_ = i_29_; - for (int i_35_ = i_25_; i_35_ != i_27_; i_35_ += i_26_) { - int i_36_ = is_31_[i_35_] >> 4; - if (i_36_ > 255) i_36_ = 255; - if (i_36_ < 0) i_36_ = 0; - int i_37_ = is_30_[i_35_] >> 4; - if (i_37_ > 255) i_37_ = 255; - if (i_37_ < 0) i_37_ = 0; - int i_38_ = is_32_[i_35_] >> 4; - if (i_38_ > 255) i_38_ = 255; - i_37_ = Class318_Sub1_Sub3_Sub3.anIntArray10266[i_37_]; - i_36_ = Class318_Sub1_Sub3_Sub3.anIntArray10266[i_36_]; - if (i_38_ < 0) i_38_ = 0; - i_38_ = Class318_Sub1_Sub3_Sub3.anIntArray10266[i_38_]; - int i_39_ = (i_37_ << 8) + (i_36_ << 16) + i_38_; - if (i_39_ != 0) i_39_ |= ~0xffffff; - is[i_28_++] = i_39_; - if (bool) i_28_ += -1 + i; - } - } - for (int i_40_ = i_21_; (aClass348_Sub40Array9520.length > i_40_); i_40_++) - aClass348_Sub40Array9520[i_40_].method3046((byte) -106); - return is; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("lr.C(" + i + ',' + (var_d != null ? "{...}" : "null") + ',' + i_21_ + ',' + bool + ',' + d + ',' + bool_22_ + ',' + (class45 != null ? "{...}" : "null") + ',' + i_23_ + ')')); - } - } - - final float[] method3186(int i, d var_d, boolean bool, int i_41_, Class45 class45, int i_42_) { - try { - anInt9525++; - Class348.aClass45_4286 = class45; - Class286_Sub5.aD6247 = var_d; - if (i_42_ >= -1) method3183(null, -60, 98, false, -0.11623531533038078, null, (byte) -72); - for (int i_43_ = 0; aClass348_Sub40Array9520.length > i_43_; i_43_++) - aClass348_Sub40Array9520[i_43_].method3045(i, i_41_, -256); - Class79.method797(i_41_, i, (byte) 115); - float[] fs = new float[4 * i * i_41_]; - int i_44_ = 0; - for (int i_45_ = 0; i_41_ > i_45_; i_45_++) { - int[] is; - int[] is_46_; - int[] is_47_; - if (aClass348_Sub40_9521.aBoolean7045) { - int[] is_49_ = aClass348_Sub40_9521.method3042(i_45_, 255); - is = is_49_; - is_46_ = is_49_; - is_47_ = is_49_; - } else { - int[][] is_48_ = aClass348_Sub40_9521.method3047(i_45_, -1564599039); - is_46_ = is_48_[1]; - is_47_ = is_48_[0]; - is = is_48_[2]; - } - int[] is_50_; - if (aClass348_Sub40_9527.aBoolean7045) is_50_ = aClass348_Sub40_9527.method3042(i_45_, 255); - else is_50_ = (aClass348_Sub40_9527.method3047(i_45_, -1564599039)[0]); - int[] is_51_; - if (aClass348_Sub40_9528.aBoolean7045) is_51_ = aClass348_Sub40_9528.method3042(i_45_, 255); - else is_51_ = (aClass348_Sub40_9528.method3047(i_45_, -1564599039)[0]); - if (bool) i_44_ = i_45_ << 2; - for (int i_52_ = i + -1; i_52_ >= 0; i_52_--) { - float f = (float) is_50_[i_52_] / 4096.0F; - float f_53_ = ((31.0F * (float) is_51_[i_52_] / 4096.0F + 1.0F) / 4096.0F); - if (!(f < 0.0F)) { - if (f > 1.0F) f = 1.0F; - } else f = 0.0F; - fs[i_44_++] = (float) is_47_[i_52_] * f_53_; - fs[i_44_++] = f_53_ * (float) is_46_[i_52_]; - fs[i_44_++] = (float) is[i_52_] * f_53_; - fs[i_44_++] = f; - if (bool) i_44_ += -4 + (i << 2); - } - } - for (int i_54_ = 0; (aClass348_Sub40Array9520.length > i_54_); i_54_++) - aClass348_Sub40Array9520[i_54_].method3046((byte) -125); - return fs; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("lr.A(" + i + ',' + (var_d != null ? "{...}" : "null") + ',' + bool + ',' + i_41_ + ',' + (class45 != null ? "{...}" : "null") + ',' + i_42_ + ')')); - } - } - - public static void method3187(byte i) { - anInterface6Array9534 = null; - int i_55_ = 19 % ((76 - i) / 39); - aClass351_9533 = null; - aClass138_9530 = null; - } - - public Class348_Sub42_Sub5() { - anIntArray9523 = new int[0]; - anIntArray9524 = new int[0]; - aClass348_Sub40_9528 = new Class348_Sub40_Sub15(0); - aClass348_Sub40_9528.anInt7036 = 1; - aClass348_Sub40_9521 = new Class348_Sub40_Sub15(); - aClass348_Sub40_9521.anInt7036 = 1; - aClass348_Sub40_9527 = new Class348_Sub40_Sub15(); - aClass348_Sub40Array9520 = new Class348_Sub40[]{aClass348_Sub40_9521, aClass348_Sub40_9527, aClass348_Sub40_9528}; - aClass348_Sub40_9527.anInt7036 = 1; - } - - Class348_Sub42_Sub5(Class348_Sub49 class348_sub49) { - int i = class348_sub49.readUnsignedByte(255); - int i_56_ = 0; - int i_57_ = 0; - int[][] is = new int[i][]; - aClass348_Sub40Array9520 = new Class348_Sub40[i]; - for (int i_58_ = 0; i_58_ < i; i_58_++) { - Class348_Sub40 class348_sub40 = Class348_Sub37.method3031(125, class348_sub49); - if (class348_sub40.method3037(-121) >= 0) i_56_++; - if (class348_sub40.method3043(-1) >= 0) i_57_++; - int i_59_ = (class348_sub40.aClass348_Sub40Array7031).length; - is[i_58_] = new int[i_59_]; - for (int i_60_ = 0; i_60_ < i_59_; i_60_++) - is[i_58_][i_60_] = class348_sub49.readUnsignedByte(255); - aClass348_Sub40Array9520[i_58_] = class348_sub40; - } - anIntArray9524 = new int[i_56_]; - anIntArray9523 = new int[i_57_]; - i_56_ = 0; - i_57_ = 0; - for (int i_61_ = 0; i > i_61_; i_61_++) { - Class348_Sub40 class348_sub40 = aClass348_Sub40Array9520[i_61_]; - int i_62_ = (class348_sub40.aClass348_Sub40Array7031).length; - for (int i_63_ = 0; i_62_ > i_63_; i_63_++) - class348_sub40.aClass348_Sub40Array7031[i_63_] = aClass348_Sub40Array9520[is[i_61_][i_63_]]; - int i_64_ = class348_sub40.method3037(-119); - int i_65_ = class348_sub40.method3043(-1); - if (i_64_ > 0) anIntArray9524[i_56_++] = i_64_; - if (i_65_ > 0) anIntArray9523[i_57_++] = i_65_; - is[i_61_] = null; - } - aClass348_Sub40_9521 = aClass348_Sub40Array9520[class348_sub49.readUnsignedByte(255)]; - aClass348_Sub40_9527 = aClass348_Sub40Array9520[class348_sub49.readUnsignedByte(255)]; - aClass348_Sub40_9528 = aClass348_Sub40Array9520[class348_sub49.readUnsignedByte(255)]; - Object object = null; - } - - static { - aClass351_9533 = new Class351(57, 3); - } -} diff --git a/client/src/Class348_Sub42_Sub6.java b/client/src/Class348_Sub42_Sub6.java deleted file mode 100644 index d11629eb1..000000000 --- a/client/src/Class348_Sub42_Sub6.java +++ /dev/null @@ -1,59 +0,0 @@ -/* Class348_Sub42_Sub6 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub42_Sub6 extends Class348_Sub42 { - static boolean aBoolean9535 = false; - static Class144 aClass144_9536; - static int anInt9537; - Class318_Sub1_Sub3_Sub4 aClass318_Sub1_Sub3_Sub4_9538; - static int anInt9539; - - static final void method3188(byte i, Class348_Sub49 class348_sub49) { - anInt9539++; - for (int i_0_ = 0; i_0_ < Class225.anInt2956; i_0_++) { - int i_1_ = class348_sub49.readSmart(-127); - int i_2_ = class348_sub49.readUnsignedShort(842397944); - if (i_2_ == 65535) i_2_ = -1; - if (OutputStream_Sub1.aClass110_Sub1Array97[i_1_] != null) OutputStream_Sub1.aClass110_Sub1Array97[i_1_].anInt1704 = i_2_; - } - int i_3_ = -75 / ((53 - i) / 48); - } - - static final void method3189(int i, String[] strings) { - if (i == 0) { - anInt9537++; - if (strings.length > 1) { - for (int i_4_ = 0; i_4_ < strings.length; i_4_++) { - if (strings[i_4_].startsWith("pause")) { - int i_5_ = 5; - try { - i_5_ = Integer.parseInt(strings[i_4_].substring(6)); - } catch (Exception exception) { - /* empty */ - } - Applet_Sub1.method94(("Pausing for " + i_5_ + " seconds..."), -109); - Class50_Sub1.aStringArray5223 = strings; - Class121.anInt1794 = i_4_ - -1; - Class299_Sub1_Sub1.aLong8694 = (long) (i_5_ * 1000) + Class62.method599(-104); - break; - } - Class363.aString4461 = strings[i_4_]; - Class59_Sub1.method555(false, 0); - } - } else { - Class363.aString4461 += strings[0]; - Class348_Sub38.anInt7006 += strings[0].length(); - } - } - } - - Class348_Sub42_Sub6(Class318_Sub1_Sub3_Sub4 class318_sub1_sub3_sub4) { - this.aClass318_Sub1_Sub3_Sub4_9538 = class318_sub1_sub3_sub4; - } - - public static void method3190(boolean bool) { - if (bool != false) aBoolean9535 = true; - aClass144_9536 = null; - } -} diff --git a/client/src/Class348_Sub42_Sub7.java b/client/src/Class348_Sub42_Sub7.java deleted file mode 100644 index 32ff7b1e7..000000000 --- a/client/src/Class348_Sub42_Sub7.java +++ /dev/null @@ -1,31 +0,0 @@ -/* Class348_Sub42_Sub7 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub42_Sub7 extends Class348_Sub42 { - static int anInt9540; - static int anInt9541 = -1; - int anInt9542 = 0; - static int anInt9543; - static int anInt9544; - - private final void method3191(int i, Class348_Sub49 class348_sub49, byte i_0_) { - if (i == 2) this.anInt9542 = class348_sub49.readUnsignedShort(842397944); - anInt9544++; - int i_1_ = -60 / ((i_0_ - -26) / 51); - } - - public Class348_Sub42_Sub7() { - /* empty */ - } - - final void method3192(byte i, Class348_Sub49 class348_sub49) { - for (; ; ) { - int i_2_ = class348_sub49.readUnsignedByte(i + 239); - if (i_2_ == 0) break; - method3191(i_2_, class348_sub49, (byte) 70); - } - if (i != 16) anInt9541 = -83; - anInt9543++; - } -} diff --git a/client/src/Class348_Sub42_Sub8.java b/client/src/Class348_Sub42_Sub8.java deleted file mode 100644 index 6c52b5c89..000000000 --- a/client/src/Class348_Sub42_Sub8.java +++ /dev/null @@ -1,89 +0,0 @@ -/* Class348_Sub42_Sub8 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class348_Sub42_Sub8 extends Class348_Sub42 { - int anInt9545; - static int anInt9546; - static int anInt9547; - static int anInt9548; - static int anInt9549; - static Class114 aClass114_9550 = new Class114(109, 7); - static int anInt9551; - static Class114 aClass114_9552 = new Class114(72, 0); - static Class351 aClass351_9553 = new Class351(36, 7); - static String aString9554; - static short aShort9555 = 1; - - abstract Object method3193(int i); - - static final boolean method3194(int i, int i_0_, byte i_1_) { - anInt9551++; - if (i_1_ <= 118) method3196(122, -41); - return false; - } - - abstract boolean method3195(int i); - - static final boolean method3196(int i, int i_2_) { - if (i_2_ >= -39) return false; - anInt9546++; - return i == 3 || i == 4 || i == 5 || i == 6; - } - - Class348_Sub42_Sub8(int i) { - this.anInt9545 = i; - } - - static final boolean method3197(int i, byte i_3_) { - anInt9549++; - if (i_3_ != 56) aClass114_9552 = null; - return i == 7 || i == 9; - } - - static final void method3198(boolean bool, byte i) { - anInt9547++; - if (i != -45) aShort9555 = (short) -74; - if (bool) { - if (r.anInt9721 != -1) Class14.method235(r.anInt9721, (byte) -113); - for (Class348_Sub41 class348_sub41 = (Class348_Sub41) Class125.aClass356_4915.method3484(0); class348_sub41 != null; class348_sub41 = ((Class348_Sub41) Class125.aClass356_4915.method3482(0))) { - if (!class348_sub41.method2712((byte) 4)) { - class348_sub41 = ((Class348_Sub41) Class125.aClass356_4915.method3484(i ^ ~0x2c)); - if (class348_sub41 == null) break; - } - Class127_Sub1.method1118(true, false, class348_sub41, 2533); - } - r.anInt9721 = -1; - Class125.aClass356_4915 = new Class356(8); - Class99.method882((byte) 11); - r.anInt9721 = Class285.anInt4737; - Class239.method1713(false, 520); - Class354.method3466(100); - Class66.method703(r.anInt9721); - } - Class223.aBoolean2895 = false; - Class64_Sub3.aString5600 = Class186.aString2496 = ""; - Class195.method1448(-56); - Class362.anInt4458 = -1; - Class33.method338(i + 45, Class348_Sub42_Sub16_Sub1.anInt10447); - Class132.aPlayer_1907 = new Player(); - Class132.aPlayer_1907.x = 512 * Class367_Sub4.anInt7319 / 2; - Class132.aPlayer_1907.anIntArray10320[0] = Class367_Sub4.anInt7319 / 2; - Class132.aPlayer_1907.y = 512 * Class348_Sub40_Sub3.anInt9109 / 2; - Class132.aPlayer_1907.anIntArray10317[0] = Class348_Sub40_Sub3.anInt9109 / 2; - Class286_Sub4.anInt6246 = Class59_Sub2_Sub2.anInt8685 = 0; - if (Class348_Sub40_Sub21.anInt9282 == 2) { - Class286_Sub4.anInt6246 = Class348_Sub35.anInt6981 << 9; - Class59_Sub2_Sub2.anInt8685 = Class275.anInt3550 << 9; - } else Class348_Sub21.method2954((byte) 62); - Class76.method773(true); - } - - public static void method3199(int i) { - aClass114_9550 = null; - if (i < 17) method3196(60, -85); - aClass114_9552 = null; - aClass351_9553 = null; - aString9554 = null; - } -} diff --git a/client/src/Class348_Sub42_Sub8_Sub1.java b/client/src/Class348_Sub42_Sub8_Sub1.java deleted file mode 100644 index 3705d3ec1..000000000 --- a/client/src/Class348_Sub42_Sub8_Sub1.java +++ /dev/null @@ -1,24 +0,0 @@ -/* Class348_Sub42_Sub8_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.lang.ref.SoftReference; - -final class Class348_Sub42_Sub8_Sub1 extends Class348_Sub42_Sub8 { - private final SoftReference aSoftReference10428; - - final boolean method3195(int i) { - if (i != -4) method3193(-41); - return true; - } - - final Object method3193(int i) { - if (i <= 75) return null; - return aSoftReference10428.get(); - } - - Class348_Sub42_Sub8_Sub1(Object object, int i) { - super(i); - aSoftReference10428 = new SoftReference(object); - } -} diff --git a/client/src/Class348_Sub42_Sub8_Sub2.java b/client/src/Class348_Sub42_Sub8_Sub2.java deleted file mode 100644 index 40165f030..000000000 --- a/client/src/Class348_Sub42_Sub8_Sub2.java +++ /dev/null @@ -1,1758 +0,0 @@ -/* Class348_Sub42_Sub8_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.IOException; - -final class Class348_Sub42_Sub8_Sub2 extends Class348_Sub42_Sub8 { - private final Object anObject10429; - static int anInt10430; - static long[][][] aLongArrayArrayArray10431; - static int anInt10432; - static int anInt10433; - static Class230 aClass230_10434 = null; - static int anInt10435; - static Class76 aClass76_10436 = new Class76(true); - static Class74 aClass74_10437 = new Class74(0, 3); - static int anInt10438; - - static final boolean method3200(int i, int i_0_, byte i_1_) { - anInt10433++; - int i_2_ = 18 / ((i_1_ - 30) / 42); - if (!Class296.method2224(i, (byte) -118, i_0_)) return false; - if (Class239_Sub26.method1833((byte) -118, i, i_0_) | (0x9000 & i) != 0 | Class348_Sub23_Sub4.method2985(-31735, i_0_, i)) return true; - return ((0x37 & i_0_) == 0 & ((0x2000 & i) != 0 | Class274.method2058(i, i_0_, 88) | Class348_Sub42_Sub9.method3203(i_0_, (byte) 127, i))); - } - - Class348_Sub42_Sub8_Sub2(Object object, int i) { - super(i); - anObject10429 = object; - } - - final boolean method3195(int i) { - if (i != -4) method3202((byte) -58); - anInt10438++; - return false; - } - - static final boolean method3201(boolean bool) throws IOException { - anInt10430++; - if (Class348_Sub40_Sub8.aClass238_9165 == null) return false; - if (Class348_Sub3.aClass114_6584 == null) { - if (Class108.aBoolean1661) { - if (!Class348_Sub40_Sub8.aClass238_9165.method1705(1, 119)) return false; - Class348_Sub40_Sub8.aClass238_9165.method1701(1, 0, (byte) 6, (Class299.aClass348_Sub49_Sub2_3813.aByteArray7154)); - Class348_Sub50.anInt7213 = 0; - Class108.aBoolean1661 = false; - Class13.anInt221++; - } - Class299.aClass348_Sub49_Sub2_3813.anInt7197 = 0; - if (Class299.aClass348_Sub49_Sub2_3813.method3404(-1510)) { - if (!Class348_Sub40_Sub8.aClass238_9165.method1705(1, 119)) return false; - Class348_Sub40_Sub8.aClass238_9165.method1701(1, 1, (byte) 26, (Class299.aClass348_Sub49_Sub2_3813.aByteArray7154)); - Class13.anInt221++; - Class348_Sub50.anInt7213 = 0; - } - Class108.aBoolean1661 = true; - Class114[] class114s = Class14_Sub3.method248(-11271); - int i = Class299.aClass348_Sub49_Sub2_3813.method3407(15295); - if (i < 0 || i >= class114s.length) throw new IOException("invo:" + i + " ip:" + (Class299.aClass348_Sub49_Sub2_3813.anInt7197)); - Class348_Sub3.aClass114_6584 = class114s[i]; - if (Loader.debug) { - System.out.println("Packet read: " + i + " length: " + Class348_Sub3.aClass114_6584.anInt1749); - } - Class348_Sub40_Sub25.anInt9341 = Class348_Sub3.aClass114_6584.anInt1749; - } - if (Class348_Sub40_Sub25.anInt9341 == -1) { - if (!Class348_Sub40_Sub8.aClass238_9165.method1705(1, 116)) return false; - Class348_Sub40_Sub8.aClass238_9165.method1701(1, 0, (byte) -118, (Class299.aClass348_Sub49_Sub2_3813.aByteArray7154)); - Class348_Sub40_Sub25.anInt9341 = 0xff & (Class299.aClass348_Sub49_Sub2_3813.aByteArray7154[0]); - Class13.anInt221++; - Class348_Sub50.anInt7213 = 0; - } - if (Class348_Sub40_Sub25.anInt9341 == -2) { - if (!Class348_Sub40_Sub8.aClass238_9165.method1705(2, 120)) return false; - Class348_Sub40_Sub8.aClass238_9165.method1701(2, 0, (byte) 127, (Class299.aClass348_Sub49_Sub2_3813.aByteArray7154)); - Class299.aClass348_Sub49_Sub2_3813.anInt7197 = 0; - Class348_Sub40_Sub25.anInt9341 = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - Class13.anInt221 += 2; - Class348_Sub50.anInt7213 = 0; - } - if (Class348_Sub40_Sub25.anInt9341 > 0) { - if (!Class348_Sub40_Sub8.aClass238_9165.method1705(Class348_Sub40_Sub25.anInt9341, 104)) return false; - Class299.aClass348_Sub49_Sub2_3813.anInt7197 = 0; - Class348_Sub40_Sub8.aClass238_9165.method1701(Class348_Sub40_Sub25.anInt9341, 0, (byte) -123, (Class299.aClass348_Sub49_Sub2_3813.aByteArray7154)); - Class13.anInt221 += Class348_Sub40_Sub25.anInt9341; - Class348_Sub50.anInt7213 = 0; - } - Class348_Sub40_Sub36.aClass114_9456 = Class239.aClass114_3145; - Class239.aClass114_3145 = Class238.aClass114_3133; - Class238.aClass114_3133 = Class348_Sub3.aClass114_6584; - if (IOException_Sub1.aClass114_90 == Class348_Sub3.aClass114_6584) { - Class43.method382(Class299.aClass348_Sub49_Sub2_3813.readString((byte) 118), true); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class348_Sub42_Sub3.aClass114_9503) { - int i = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - boolean bool_3_ = (i & 0x1) == 1; - String string = Class299.aClass348_Sub49_Sub2_3813.readString((byte) 108); - String string_4_ = Class299.aClass348_Sub49_Sub2_3813.readString((byte) -92); - if (string_4_.equals("")) string_4_ = string; - String string_5_ = Class299.aClass348_Sub49_Sub2_3813.readString((byte) -64); - String string_6_ = Class299.aClass348_Sub49_Sub2_3813.readString((byte) -97); - if (string_6_.equals("")) string_6_ = string_5_; - if (bool_3_) { - for (int i_7_ = 0; (i_7_ < Class348_Sub42_Sub12.anInt9604); i_7_++) { - if (Class122.aStringArray1808[i_7_].equals(string_6_)) { - Class51.aStringArray932[i_7_] = string; - Class122.aStringArray1808[i_7_] = string_4_; - Class348_Sub40_Sub21.aStringArray9275[i_7_] = string_5_; - aa_Sub2.aStringArray5197[i_7_] = string_6_; - break; - } - } - } else { - Class51.aStringArray932[Class348_Sub42_Sub12.anInt9604] = string; - Class122.aStringArray1808[Class348_Sub42_Sub12.anInt9604] = string_4_; - Class348_Sub40_Sub21.aStringArray9275[(Class348_Sub42_Sub12.anInt9604)] = string_5_; - aa_Sub2.aStringArray5197[Class348_Sub42_Sub12.anInt9604] = string_6_; - Class367_Sub3.aBooleanArray7304[Class348_Sub42_Sub12.anInt9604] = Class139.method1166(i, 2) == 2; - Class348_Sub42_Sub12.anInt9604++; - } - Class126.anInt4985 = Class311.anInt3918; - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class318_Sub6.aClass114_6424) { - InputStream_Sub2.method128(Class348_Sub26.aClass74_6891, (byte) 8); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class356.aClass114_4388 == Class348_Sub3.aClass114_6584) { - byte i = Class299.aClass348_Sub49_Sub2_3813.readByte(-100); - int i_8_ = Class299.aClass348_Sub49_Sub2_3813.readShortAddLittle(-111); - Class318_Sub1_Sub1_Sub1.method2397((byte) -126); - Class50_Sub3.method467(i_8_, -18075, i); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class135_Sub1.aClass114_4707 == Class348_Sub3.aClass114_6584) { - int i = Class299.aClass348_Sub49_Sub2_3813.readIntLittle((byte) -123); - int i_9_ = Class299.aClass348_Sub49_Sub2_3813.readInt((byte) -126); - Class318_Sub1_Sub1_Sub1.method2397((byte) -124); - Class348_Sub41 class348_sub41 = ((Class348_Sub41) Class125.aClass356_4915.method3480(i_9_, -6008)); - Class348_Sub41 class348_sub41_10_ = ((Class348_Sub41) Class125.aClass356_4915.method3480(i, -6008)); - if (class348_sub41_10_ != null) Class127_Sub1.method1118((class348_sub41 == null || (class348_sub41_10_.anInt7050 != class348_sub41.anInt7050)), false, class348_sub41_10_, 2533); - if (class348_sub41 != null) { - class348_sub41.method2715((byte) 32); - Class125.aClass356_4915.method3483((byte) 102, i, class348_sub41); - } - Class46 class46 = Class324.method2570(1512932720, i_9_); - if (class46 != null) Class251.method1916(-9343, class46); - class46 = Class324.method2570(1512932720, i); - if (class46 != null) { - Class251.method1916(-9343, class46); - Class251.method1913(true, -123, class46); - } - if (r.anInt9721 != -1) Class239_Sub12.method1775((byte) -8, r.anInt9721, 1); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (bool != true) aClass230_10434 = null; - if (Class348_Sub3.aClass114_6584 == Class116.aClass114_1762) { - Class239_Sub4.aString5882 = (Class348_Sub40_Sub25.anInt9341 > 2 ? Class299.aClass348_Sub49_Sub2_3813.readString((byte) -119) : Class274.aClass274_3509.method2063(Class348_Sub33.anInt6967, 544)); - Class333.anInt4144 = (Class348_Sub40_Sub25.anInt9341 <= 0 ? -1 : Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944)); - if (Class333.anInt4144 == 65535) Class333.anInt4144 = -1; - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class239.aClass114_3135 == Class348_Sub3.aClass114_6584) { - int i = Class299.aClass348_Sub49_Sub2_3813.readByteAdd((byte) 62); - int i_11_ = Class299.aClass348_Sub49_Sub2_3813.readIntLittle((byte) -126); - Class318_Sub1_Sub1_Sub1.method2397((byte) -124); - Class348_Sub15.method2813(true, i, i_11_); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class20.aClass114_316) { - int i = Class299.aClass348_Sub49_Sub2_3813.readIntInverseMiddle(255); - int i_12_ = Class299.aClass348_Sub49_Sub2_3813.readShortLittle(false); - int i_13_ = Class299.aClass348_Sub49_Sub2_3813.readShortAdd(10); - int i_14_ = Class299.aClass348_Sub49_Sub2_3813.readShortLittle(false); - Class318_Sub1_Sub1_Sub1.method2397((byte) -127); - Class238.method1703(7, i, i_13_ << 16 | i_14_, 4, i_12_); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub40_Sub15.aClass114_9216 == Class348_Sub3.aClass114_6584) { - Class128.anInt1872 = Class299.aClass348_Sub49_Sub2_3813.readShort(13638); - Class348_Sub3.aClass114_6584 = null; - Class348_Sub40_Sub23.anInt9313 = Class311.anInt3918; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class330.aClass114_4126) { - InputStream_Sub2.method128(Class348_Sub16_Sub1.aClass74_8853, (byte) 8); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class173.aClass114_2285) { - int i = Class299.aClass348_Sub49_Sub2_3813.readIntMiddleEndian((byte) 82); - Class318_Sub1_Sub1_Sub1.method2397((byte) -124); - Class238.method1703(3, i, -1, 4, -1); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class22.aClass114_330) { - boolean bool_15_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) == 1; - String string = Class299.aClass348_Sub49_Sub2_3813.readString((byte) -34); - String string_16_ = string; - if (bool_15_) string_16_ = Class299.aClass348_Sub49_Sub2_3813.readString((byte) -64); - long l = Class299.aClass348_Sub49_Sub2_3813.readLong(-456577760); - long l_17_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - long l_18_ = Class299.aClass348_Sub49_Sub2_3813.readMedium(-1); - int i = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - long l_19_ = l_18_ + (l_17_ << 32); - boolean bool_20_ = false; - while_217_: - do { - for (int i_21_ = 0; i_21_ < 100; i_21_++) { - if (l_19_ == Class357.aLongArray4410[i_21_]) { - bool_20_ = true; - break while_217_; - } - } - if (i <= 1) { - if ((Class348_Sub40_Sub3.aBoolean9103 && !Class133.aBoolean1915) || Class50_Sub2.aBoolean5233) bool_20_ = true; - else if (Class351.method3455(string_16_, 28280)) bool_20_ = true; - } - } while (false); - if (!bool_20_ && Class250.anInt3227 == 0) { - Class357.aLongArray4410[Class79.anInt1359] = l_19_; - Class79.anInt1359 = (1 + Class79.anInt1359) % 100; - String string_22_ = (Class59_Sub2_Sub2.method572((Class348_Sub40_Sub32.method3136((byte) 64, Class299.aClass348_Sub49_Sub2_3813)), 23034)); - if (i == 2 || i == 3) Class318_Sub1_Sub3_Sub5.method2477("" + string_16_, string_22_, (byte) -126, -1, "" + string, Class239_Sub16.method1788((byte) -76, l), 9, 0, string); - else if (i != 1) Class318_Sub1_Sub3_Sub5.method2477(string_16_, string_22_, (byte) -125, -1, string, Class239_Sub16.method1788((byte) -83, l), 9, 0, string); - else Class318_Sub1_Sub3_Sub5.method2477("" + string_16_, string_22_, (byte) -126, -1, "" + string, Class239_Sub16.method1788((byte) -75, l), 9, 0, string); - } - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class295.aClass114_3751) { - int i = Class299.aClass348_Sub49_Sub2_3813.readShortLittle(!bool); - Class318_Sub1_Sub1_Sub1.method2397((byte) -126); - Class143.method1189(-1, i); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == InputStream_Sub2.aClass114_82) { - InputStream_Sub2.method128(Class39.aClass74_515, (byte) 8); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class73.aClass114_4779) { - int i = Class299.aClass348_Sub49_Sub2_3813.readByteAdd((byte) -78); - int i_23_ = Class299.aClass348_Sub49_Sub2_3813.readByteInverse((byte) 21); - int i_24_ = Class299.aClass348_Sub49_Sub2_3813.readShortAdd(127); - int i_25_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -128); - int i_26_ = Class299.aClass348_Sub49_Sub2_3813.readByteInverse((byte) 21); - Class318_Sub1_Sub1_Sub1.method2397((byte) -127); - Class181.aBooleanArray2374[i_23_] = true; - Class275.anIntArray3552[i_23_] = i; - Class255.anIntArray3273[i_23_] = i_25_; - Class338.anIntArray4196[i_23_] = i_26_; - Class318_Sub1_Sub1_Sub2.anIntArray9981[i_23_] = i_24_; - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class239_Sub24.aClass114_6089) { - Class73.anInt4786 = (Class299.aClass348_Sub49_Sub2_3813.readByteInverse(-622951480) << 3); - Class348_Sub40_Sub12.anInt9200 = Class299.aClass348_Sub49_Sub2_3813.readByteAdd((byte) -84); - Class278.anInt3581 = (Class299.aClass348_Sub49_Sub2_3813.method3341(-8679) << 3); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class19.aClass114_304) { - Class90.method853((byte) 99); - Class348_Sub3.aClass114_6584 = null; - return false; - } - if (Class345.aClass114_4269 == Class348_Sub3.aClass114_6584) { - int i = Class299.aClass348_Sub49_Sub2_3813.readByteAdd((byte) 71); - Class318_Sub1_Sub1_Sub1.method2397((byte) -128); - Class37.anInt495 = i; - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class369_Sub2.aClass114_8590 == Class348_Sub3.aClass114_6584) { - InputStream_Sub2.method128(Class374.aClass74_4537, (byte) 8); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class252.aClass114_3240) { - int i = Class299.aClass348_Sub49_Sub2_3813.readShortAddLittle(-117); - int i_27_ = Class299.aClass348_Sub49_Sub2_3813.readShortAdd(125); - Class318_Sub1_Sub1_Sub1.method2397((byte) -128); - Class318_Sub1_Sub1.method2396(i, i_27_, 0, 3); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class322.aClass114_4027 == Class348_Sub3.aClass114_6584) { - int i = Class299.aClass348_Sub49_Sub2_3813.readShortLittle(false); - if (i == 65535) i = -1; - int i_28_ = Class299.aClass348_Sub49_Sub2_3813.readIntInverseMiddle(255); - int i_29_ = Class299.aClass348_Sub49_Sub2_3813.readInt((byte) -126); - Class318_Sub1_Sub1_Sub1.method2397((byte) -128); - Class70.method727((byte) -63, i_29_, i, i_28_); - Class213 class213 = Exception_Sub1.aClass255_112.method1940(-126, i); - Class122.method1085(class213.anInt2825, class213.anInt2787, (byte) -59, class213.anInt2781, i_28_); - Class34.method350(class213.anInt2779, class213.anInt2826, 125, i_28_, class213.anInt2810); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class133.aClass114_1917 == Class348_Sub3.aClass114_6584) { - int i = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - int i_30_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - boolean bool_31_ = (0x1 & i_30_) == 1; - Class187.method1405(i, bool_31_, true); - int i_32_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - for (int i_33_ = 0; i_33_ < i_32_; i_33_++) { - int i_34_ = Class299.aClass348_Sub49_Sub2_3813.readByteAdd((byte) -127); - if (i_34_ == 255) { - int index = Class299.aClass348_Sub49_Sub2_3813.anInt7197; - byte[] data = Class299.aClass348_Sub49_Sub2_3813.aByteArray7154; - i_34_ = Class299.aClass348_Sub49_Sub2_3813.readIntMiddleEndian((byte) 82); - } - int i_35_ = Class299.aClass348_Sub49_Sub2_3813.readShortAdd(-78); - Canvas_Sub1.method121(i, -364570972, bool_31_, i_33_, i_34_, i_35_ - 1); - } - Class199.anIntArray2633[Class139.method1166(31, Class106.anInt1631++)] = i; - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class296.aClass114_3773) { - Class348_Sub40_Sub34.method3141(false, (byte) 11); - Class348_Sub3.aClass114_6584 = null; - return false; - } - if (Class348_Sub3.aClass114_6584 == Class298.aClass114_3809) { - int i = Class299.aClass348_Sub49_Sub2_3813.readIntInverseMiddle(255); - int i_36_ = Class299.aClass348_Sub49_Sub2_3813.readShortAdd(124); - Class318_Sub1_Sub3_Sub3.aClass170_10209.method1313((byte) 42, i, i_36_); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class239_Sub20.aClass114_6056) { - int i = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) 75); - int i_37_ = Class299.aClass348_Sub49_Sub2_3813.readShortAdd(124); - int i_38_ = Class299.aClass348_Sub49_Sub2_3813.readShortAdd(125); - int i_39_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - int i_40_ = Class299.aClass348_Sub49_Sub2_3813.readIntMiddleEndian((byte) 82); - boolean bool_41_ = (0x80 & i) != 0; - int i_42_ = 0x7 & i; - int i_43_ = (i & 0x7e) >> 3; - if (i_43_ == 15) i_43_ = -1; - if (i_40_ >> 30 == 0) { - if (i_40_ >> 29 != 0) { - int i_44_ = i_40_ & 0xffff; - Class348_Sub22 class348_sub22 = ((Class348_Sub22) Class282.aClass356_3654.method3480(i_44_, -6008)); - if (class348_sub22 != null) { - Npc npc = (class348_sub22.aNpc_6859); - if (i_38_ == 65535) i_38_ = -1; - boolean bool_45_ = true; - int i_46_ = (!bool_41_ ? npc.anInt10269 : npc.anInt10291); - if (i_38_ != -1 && i_46_ != -1) { - if (i_46_ == i_38_) { - Class368 class368 = Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 55, i_38_); - if (class368.aBoolean4487 && class368.anInt4503 != -1) { - Class17 class17 = (Class10.aClass87_191.method835(class368.anInt4503, 7)); - int i_47_ = class17.anInt248; - if (i_47_ != 0 && i_47_ != 2) { - if (i_47_ == 1) bool_45_ = true; - } else bool_45_ = false; - } - } else { - Class368 class368 = Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 105, i_38_); - Class368 class368_48_ = Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 56, i_46_); - if (class368.anInt4503 != -1 && (class368_48_.anInt4503 != -1)) { - Class17 class17 = (Class10.aClass87_191.method835(class368.anInt4503, 7)); - Class17 class17_49_ = (Class10.aClass87_191.method835((class368_48_.anInt4503), 7)); - if (class17.anInt239 < class17_49_.anInt239) bool_45_ = false; - } - } - } - if (bool_45_) { - if (bool_41_) { - npc.anInt10211 = i_39_ + Class367_Sub11.anInt7396; - npc.anInt10260 = i_37_; - npc.anInt10291 = i_38_; - npc.anInt10289 = i_43_; - npc.anInt10202 = i_42_; - npc.anInt10273 = 0; - npc.anInt10276 = 1; - npc.anInt10224 = 0; - if (npc.anInt10211 > Class367_Sub11.anInt7396) npc.anInt10224 = -1; - if (npc.anInt10291 != -1 && (Class367_Sub11.anInt7396 == (npc.anInt10211))) { - int i_51_ = (Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 103, (npc.anInt10291)).anInt4503); - if (i_51_ != -1) { - Class17 class17 = Class10.aClass87_191.method835(i_51_, 7); - if (class17 != null && (class17.anIntArray237) != null && !(npc.aBoolean10309)) Class287.method2178(npc, 0, class17, -17); - } - } - } else { - npc.anInt10243 = 0; - npc.anInt10220 = i_37_; - npc.anInt10269 = i_38_; - npc.anInt10240 = 0; - npc.anInt10278 = i_43_; - npc.anInt10225 = Class367_Sub11.anInt7396 + i_39_; - npc.anInt10237 = i_42_; - npc.anInt10283 = 1; - if (npc.anInt10225 > Class367_Sub11.anInt7396) npc.anInt10240 = -1; - if (npc.anInt10269 != -1 && (Class367_Sub11.anInt7396 == (npc.anInt10225))) { - int i_50_ = (Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 87, (npc.anInt10269)).anInt4503); - if (i_50_ != -1) { - Class17 class17 = Class10.aClass87_191.method835(i_50_, 7); - if (class17 != null && (class17.anIntArray237) != null && !(npc.aBoolean10309)) Class287.method2178(npc, 0, class17, -44); - } - } - } - } - } - } else if (i_40_ >> 28 != 0) { - int i_52_ = i_40_ & 0xffff; - Player player; - if (Class348_Sub42_Sub11.anInt9591 != i_52_) player = (Class294.aPlayerArray5058[i_52_]); - else player = Class132.aPlayer_1907; - if (player != null) { - if (i_38_ == 65535) i_38_ = -1; - boolean bool_53_ = true; - int i_54_ = (!bool_41_ ? player.anInt10269 : player.anInt10291); - if (i_38_ != -1 && i_54_ != -1) { - if (i_38_ == i_54_) { - Class368 class368 = Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 111, i_38_); - if (class368.aBoolean4487 && class368.anInt4503 != -1) { - Class17 class17 = (Class10.aClass87_191.method835(class368.anInt4503, 7)); - int i_57_ = class17.anInt248; - if (i_57_ != 0 && i_57_ != 2) { - if (i_57_ == 1) bool_53_ = true; - } else bool_53_ = false; - } - } else { - Class368 class368 = Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 105, i_38_); - Class368 class368_55_ = Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 118, i_54_); - if (class368.anInt4503 != -1 && class368_55_.anInt4503 != -1) { - Class17 class17 = (Class10.aClass87_191.method835(class368.anInt4503, 7)); - Class17 class17_56_ = (Class10.aClass87_191.method835((class368_55_.anInt4503), 7)); - if (class17.anInt239 < class17_56_.anInt239) bool_53_ = false; - } - } - } - if (bool_53_) { - if (bool_41_) { - player.anInt10224 = 0; - player.anInt10260 = i_37_; - player.anInt10289 = i_43_; - player.anInt10273 = 0; - player.anInt10276 = 1; - player.anInt10291 = i_38_; - player.anInt10211 = i_39_ + Class367_Sub11.anInt7396; - player.anInt10202 = i_42_; - if (player.anInt10211 > Class367_Sub11.anInt7396) player.anInt10224 = -1; - if (player.anInt10291 == 65535) player.anInt10291 = -1; - if ((player.anInt10291 != -1) && ((player.anInt10211) == Class367_Sub11.anInt7396)) { - int i_58_ = (Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 45, (player.anInt10291)).anInt4503); - if (i_58_ != -1) { - Class17 class17 = Class10.aClass87_191.method835(i_58_, 7); - if (class17 != null && (class17.anIntArray237) != null && !(player.aBoolean10309)) Class287.method2178(player, 0, class17, -120); - } - } - } else { - player.anInt10269 = i_38_; - player.anInt10243 = 0; - player.anInt10220 = i_37_; - player.anInt10240 = 0; - player.anInt10278 = i_43_; - player.anInt10237 = i_42_; - player.anInt10283 = 1; - player.anInt10225 = i_39_ + Class367_Sub11.anInt7396; - if (player.anInt10269 == 65535) player.anInt10269 = -1; - if (Class367_Sub11.anInt7396 < (player.anInt10225)) player.anInt10240 = -1; - if ((player.anInt10269 != -1) && (Class367_Sub11.anInt7396 == (player.anInt10225))) { - int i_59_ = (Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 81, (player.anInt10269)).anInt4503); - if (i_59_ != -1) { - Class17 class17 = Class10.aClass87_191.method835(i_59_, 7); - if (class17 != null && (class17.anIntArray237) != null && !(player.aBoolean10309)) Class287.method2178(player, 0, class17, -101); - } - } - } - } - } - } - } else { - int i_60_ = (i_40_ & 0x33705717) >> 28; - int i_61_ = -za_Sub2.regionTileX + ((0xffff4fe & i_40_) >> 14); - int i_62_ = -Class90.regionTileY + (0x3fff & i_40_); - if (i_61_ >= 0 && i_62_ >= 0 && Class367_Sub4.anInt7319 > i_61_ && Class348_Sub40_Sub3.anInt9109 > i_62_) { - int i_63_ = 256 + 512 * i_61_; - int i_64_ = 512 * i_62_ + 256; - int i_65_ = i_60_; - if (i_65_ < 3 && Class79.method802(i_62_, i_61_, true)) i_65_++; - Class318_Sub1_Sub3_Sub4 class318_sub1_sub3_sub4 = (new Class318_Sub1_Sub3_Sub4(i_38_, i_39_, Class367_Sub11.anInt7396, i_60_, i_65_, i_63_, -i_37_ + Class275.method2064(i_63_, i_60_, 11219, i_64_), i_64_, i_61_, i_61_, i_62_, i_62_, i_42_)); - r_Sub2.aClass262_10492.method1999(new Class348_Sub42_Sub6(class318_sub1_sub3_sub4), -20180); - } - } - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class63.aClass114_1120) { - int i = Class299.aClass348_Sub49_Sub2_3813.readShortAddLittle(-116); - String string = Class299.aClass348_Sub49_Sub2_3813.readString((byte) -85); - Class318_Sub1_Sub1_Sub1.method2397((byte) -125); - Class377.method3965(string, i, 2); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class74.aClass114_1234) { - Class24.anInt359 = Class299.aClass348_Sub49_Sub2_3813.method3369((byte) 125); - Class348_Sub40_Sub3.aBoolean9103 = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) == 1; - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class352.aClass114_4331 == Class348_Sub3.aClass114_6584) { - String string = Class299.aClass348_Sub49_Sub2_3813.readString((byte) 122); - boolean bool_66_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) == 1; - String string_67_; - if (!bool_66_) string_67_ = string; - else string_67_ = Class299.aClass348_Sub49_Sub2_3813.readString((byte) 125); - int i = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - byte i_68_ = Class299.aClass348_Sub49_Sub2_3813.readByte(-128); - boolean bool_69_ = false; - if (i_68_ == -128) bool_69_ = true; - if (bool_69_) { - if (Class37.anInt496 == 0) { - Class348_Sub3.aClass114_6584 = null; - return true; - } - boolean bool_70_ = false; - int i_71_; - for (i_71_ = 0; Class37.anInt496 > i_71_; i_71_++) { - if (Class169.aClass19Array2261[i_71_].aString306.equals(string_67_) && i == (Class169.aClass19Array2261[i_71_].anInt308)) break; - } - if (Class37.anInt496 > i_71_) { - for (/**/; -1 + Class37.anInt496 > i_71_; i_71_++) - Class169.aClass19Array2261[i_71_] = Class169.aClass19Array2261[i_71_ - -1]; - Class37.anInt496--; - Class169.aClass19Array2261[Class37.anInt496] = null; - } - } else { - String string_72_ = Class299.aClass348_Sub49_Sub2_3813.readString((byte) -74); - Class19 class19 = new Class19(); - class19.aString306 = string_67_; - class19.aString314 = string; - class19.aString312 = Class285_Sub1.method2127(2, class19.aString306); - class19.aString313 = string_72_; - class19.anInt308 = i; - class19.aByte310 = i_68_; - int i_73_; - for (i_73_ = -1 + Class37.anInt496; i_73_ >= 0; i_73_--) { - int i_74_ = Class169.aClass19Array2261[i_73_].aString312.compareTo(class19.aString312); - if (i_74_ == 0) { - Class169.aClass19Array2261[i_73_].anInt308 = i; - Class169.aClass19Array2261[i_73_].aByte310 = i_68_; - Class169.aClass19Array2261[i_73_].aString313 = string_72_; - if (string_67_.equals(Class132.aPlayer_1907.aString10544)) Class119_Sub1.aByte4702 = i_68_; - Class230.anInt2986 = Class311.anInt3918; - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (i_74_ < 0) break; - } - if (Class169.aClass19Array2261.length <= Class37.anInt496) { - Class348_Sub3.aClass114_6584 = null; - return true; - } - for (int i_75_ = Class37.anInt496 - 1; i_75_ > i_73_; i_75_--) - Class169.aClass19Array2261[1 + i_75_] = Class169.aClass19Array2261[i_75_]; - if (Class37.anInt496 == 0) Class169.aClass19Array2261 = new Class19[100]; - Class169.aClass19Array2261[i_73_ - -1] = class19; - Class37.anInt496++; - if (string_67_.equals(Class132.aPlayer_1907.aString10544)) Class119_Sub1.aByte4702 = i_68_; - } - Class230.anInt2986 = Class311.anInt3918; - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class239_Sub11.aClass114_5949 == Class348_Sub3.aClass114_6584) { - int i = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - int i_76_ = i >> 5; - int i_77_ = 0x1f & i; - if (i_77_ == 0) { - Class348_Sub27.aClass302Array6897[i_76_] = null; - Class348_Sub3.aClass114_6584 = null; - return true; - } - Class302 class302 = new Class302(); - class302.anInt3840 = i_77_; - class302.anInt3831 = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - if (class302.anInt3831 >= 0 && (class302.anInt3831 < Class239_Sub9.aClass105Array5933.length)) { - if (class302.anInt3840 == 1 || class302.anInt3840 == 10) { - class302.anInt3833 = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - Class299.aClass348_Sub49_Sub2_3813.anInt7197 += 6; - } else if (class302.anInt3840 >= 2 && class302.anInt3840 <= 6) { - if (class302.anInt3840 == 2) { - class302.anInt3832 = 256; - class302.anInt3835 = 256; - } - if (class302.anInt3840 == 3) { - class302.anInt3835 = 0; - class302.anInt3832 = 256; - } - if (class302.anInt3840 == 4) { - class302.anInt3835 = 512; - class302.anInt3832 = 256; - } - if (class302.anInt3840 == 5) { - class302.anInt3835 = 256; - class302.anInt3832 = 0; - } - if (class302.anInt3840 == 6) { - class302.anInt3835 = 256; - class302.anInt3832 = 512; - } - class302.anInt3840 = 2; - class302.anInt3838 = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - class302.anInt3835 += (Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944) + -za_Sub2.regionTileX << 9); - class302.anInt3832 += (Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944) - Class90.regionTileY << 9); - class302.anInt3839 = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) << 2; - class302.anInt3837 = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - } - class302.anInt3834 = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - if (class302.anInt3834 == 65535) class302.anInt3834 = -1; - Class348_Sub27.aClass302Array6897[i_76_] = class302; - } - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class172.aClass114_2279 == Class348_Sub3.aClass114_6584) { - Class348_Sub40_Sub34.method3141(Class223.aBoolean2895, (byte) 11); - Class348_Sub3.aClass114_6584 = null; - return false; - } - - if (Class367_Sub4.aClass114_7323 == Class348_Sub3.aClass114_6584) { - Class348_Sub16_Sub1.method2822(-101, Class299.aClass348_Sub49_Sub2_3813, Class348_Sub40_Sub25.anInt9341); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class239_Sub26.aClass114_6121) { - int i = Class299.aClass348_Sub49_Sub2_3813.readShortAdd(124); - int i_78_ = Class299.aClass348_Sub49_Sub2_3813.readIntLittle((byte) -118); - Class318_Sub1_Sub1_Sub1.method2397((byte) -128); - Class91.method855(6, i, i_78_); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class264.aClass114_3371 == Class348_Sub3.aClass114_6584) { - InputStream_Sub2.method128(Class59_Sub1_Sub2.aClass74_8662, (byte) 8); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class367_Sub4.aClass114_7324) { - int i = Class299.aClass348_Sub49_Sub2_3813.readInt((byte) -126); - int i_79_ = Class299.aClass348_Sub49_Sub2_3813.readShortAddLittle(-120); - int i_80_ = Class299.aClass348_Sub49_Sub2_3813.readShortAdd(125); - Class318_Sub1_Sub1_Sub1.method2397((byte) -125); - Class211.method1540(-101, i, i_79_ + (i_80_ << 16)); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class361.aClass114_4433) { - Class318_Sub1_Sub3_Sub3.aClass170_10209.method1314((byte) 80); - Class287.anInt3695 += 32; - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class303.aClass114_3842) { - int i = Class299.aClass348_Sub49_Sub2_3813.readIntInverseMiddle(255); - Class318_Sub1_Sub1_Sub1.method2397((byte) -128); - Class238.method1703(5, i, Class348_Sub42_Sub11.anInt9591, 4, 0); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class346_Sub1.aClass114_6528 == Class348_Sub3.aClass114_6584) { - int i = Class299.aClass348_Sub49_Sub2_3813.readShortAdd(-124); - Class318_Sub1_Sub1_Sub1.method2397((byte) -124); - Class64_Sub3.method690((byte) -107, i); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class5_Sub2.aClass114_8365 == Class348_Sub3.aClass114_6584) { - boolean bool_81_ = (Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) == 1); - String string = Class299.aClass348_Sub49_Sub2_3813.readString((byte) -29); - String string_82_ = string; - if (bool_81_) string_82_ = Class299.aClass348_Sub49_Sub2_3813.readString((byte) -98); - int i = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - boolean bool_83_ = false; - if (i <= 1) { - if (Class348_Sub40_Sub3.aBoolean9103 && !Class133.aBoolean1915 || Class50_Sub2.aBoolean5233) bool_83_ = true; - else if (i <= 1 && Class351.method3455(string_82_, 28280)) bool_83_ = true; - } - if (!bool_83_ && Class250.anInt3227 == 0) { - String string_84_ = (Class59_Sub2_Sub2.method572((Class348_Sub40_Sub32.method3136((byte) 64, Class299.aClass348_Sub49_Sub2_3813)), 23034)); - if (i == 2) Class318_Sub1_Sub3_Sub5.method2477("" + string_82_, string_84_, (byte) -119, -1, "" + string, null, 24, 0, string); - else if (i == 1) Class318_Sub1_Sub3_Sub5.method2477("" + string_82_, string_84_, (byte) -119, -1, "" + string, null, 24, 0, string); - else Class318_Sub1_Sub3_Sub5.method2477(string_82_, string_84_, (byte) -115, -1, string, null, 24, 0, string); - } - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class15.aClass114_229 == Class348_Sub3.aClass114_6584) { - InputStream_Sub2.method128(Class286_Sub1.aClass74_6201, (byte) 8); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class101_Sub2.aClass114_5742) { - int i = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) 31); - int i_85_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -104); - int i_86_ = Class299.aClass348_Sub49_Sub2_3813.readByteInverse((byte) 21); - int i_87_ = Class299.aClass348_Sub49_Sub2_3813.readByteInverse((byte) 21); - int i_88_ = (Class299.aClass348_Sub49_Sub2_3813.readShortAdd(126) << 2); - Class318_Sub1_Sub1_Sub1.method2397((byte) -127); - Class239_Sub28.method1844(i_85_, i_86_, true, i_88_, !bool, i_87_, i); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class111.aClass114_1722) { - String string = Class299.aClass348_Sub49_Sub2_3813.readString((byte) -100); - Object[] objects = new Object[1 + string.length()]; - for (int i = -1 + string.length(); i >= 0; i--) { - if (string.charAt(i) != 's') objects[i + 1] = new Integer(Class299.aClass348_Sub49_Sub2_3813.readInt((byte) -126)); - else objects[1 + i] = Class299.aClass348_Sub49_Sub2_3813.readString((byte) 122); - } - objects[0] = new Integer(Class299.aClass348_Sub49_Sub2_3813.readInt((byte) -126)); - Class318_Sub1_Sub1_Sub1.method2397((byte) -127); - Class348_Sub36 class348_sub36 = new Class348_Sub36(); - class348_sub36.anObjectArray6987 = objects; - Class66.method705(class348_sub36); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class239_Sub22.aClass114_6075 == Class348_Sub3.aClass114_6584) { - Class318_Sub1_Sub1_Sub1.method2397((byte) -127); - Class239_Sub29.method1851((byte) 125); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class348_Sub41.aClass114_7052) { - int i = Class299.aClass348_Sub49_Sub2_3813.readIntLittle((byte) -118); - int i_89_ = Class299.aClass348_Sub49_Sub2_3813.readShortAdd(127); - if (i_89_ == 65535) i_89_ = -1; - Class318_Sub1_Sub1_Sub1.method2397((byte) -126); - Class238.method1703(2, i, i_89_, 4, -1); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class264.aClass114_3368) { - int i = Class299.aClass348_Sub49_Sub2_3813.readInt((byte) -126); - Class318_Sub1_Sub1_Sub1.method2397((byte) -124); - Class348_Sub41 class348_sub41 = ((Class348_Sub41) Class125.aClass356_4915.method3480(i, -6008)); - if (class348_sub41 != null) Class127_Sub1.method1118(true, false, class348_sub41, 2533); - if (Class49.aClass46_4730 != null) { - Class251.method1916(-9343, Class49.aClass46_4730); - Class49.aClass46_4730 = null; - } - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (InputStream_Sub1.aClass114_79 == Class348_Sub3.aClass114_6584) { - int i = Class299.aClass348_Sub49_Sub2_3813.readShortAdd(-86); - int i_90_ = Class299.aClass348_Sub49_Sub2_3813.readIntInverseMiddle(255); - Class318_Sub1_Sub1_Sub1.method2397((byte) -124); - Class348_Sub23.method2966(i_90_, i, false); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class312.aClass114_3925 == Class348_Sub3.aClass114_6584) { - InputStream_Sub2.method128(aClass74_10437, (byte) 8); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class228.aClass114_2972) { - int i = Class299.aClass348_Sub49_Sub2_3813.readInt((byte) -126); - Class348_Sub42_Sub6.aClass144_9536 = Class348_Sub23_Sub1.aClass297_8992.method2232(80, i); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class131.aClass114_1901) { - int i = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - Player player; - if (i != Class348_Sub42_Sub11.anInt9591) player = Class294.aPlayerArray5058[i]; - else player = Class132.aPlayer_1907; - if (player == null) { - Class348_Sub3.aClass114_6584 = null; - return true; - } - int i_91_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - int i_92_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - boolean bool_93_ = (0x8000 & i_91_) != 0; - if ((player.aString10544) != null && player.aClass154_10536 != null) { - boolean bool_94_ = false; - if (i_92_ <= 1) { - if (!bool_93_ && ((Class348_Sub40_Sub3.aBoolean9103 && !Class133.aBoolean1915) || Class50_Sub2.aBoolean5233)) bool_94_ = true; - else if (Class351.method3455(player.aString10544, 28280)) bool_94_ = true; - } - if (!bool_94_ && Class250.anInt3227 == 0) { - int i_95_ = -1; - String string; - if (bool_93_) { - i_91_ &= 0x7fff; - Class43 class43 = Class52.method490((byte) -104, (Class299.aClass348_Sub49_Sub2_3813)); - i_95_ = class43.anInt615; - string = (class43.aClass348_Sub42_Sub10_614.method3216(Class299.aClass348_Sub49_Sub2_3813, (byte) 119)); - } else string = (Class59_Sub2_Sub2.method572((Class348_Sub40_Sub32.method3136((byte) 64, Class299.aClass348_Sub49_Sub2_3813)), 23034)); - player.aString10292 = string.trim(); - player.anInt10201 = i_91_ >> 8; - player.anInt10234 = i_91_ & 0xff; - player.anInt10264 = 150; - int i_96_; - if (i_92_ != 1 && i_92_ != 2) i_96_ = !bool_93_ ? 2 : 17; - else i_96_ = bool_93_ ? 17 : 1; - if (i_92_ != 2) { - if (i_92_ != 1) Class318_Sub1_Sub3_Sub5.method2477(player.method2450(false, -121), string, (byte) -126, i_95_, player.method2456(true, 255), null, i_96_, 0, player.aString10537); - else Class318_Sub1_Sub3_Sub5.method2477("" + player.method2450(false, -93), string, (byte) -111, i_95_, "" + player.method2456(true, 255), null, i_96_, 0, player.aString10537); - } else Class318_Sub1_Sub3_Sub5.method2477("" + player.method2450(false, -95), string, (byte) -120, i_95_, "" + player.method2456(true, 255), null, i_96_, 0, player.aString10537); - } - } - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class63.aClass114_1123 == Class348_Sub3.aClass114_6584) { - boolean bool_97_ = (Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) == 1); - String string = Class299.aClass348_Sub49_Sub2_3813.readString((byte) 126); - String string_98_ = string; - if (bool_97_) string_98_ = Class299.aClass348_Sub49_Sub2_3813.readString((byte) 86); - long l = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - long l_99_ = Class299.aClass348_Sub49_Sub2_3813.readMedium(-1); - int i = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - long l_100_ = (l << 32) - -l_99_; - boolean bool_101_ = false; - while_218_: - do { - for (int i_102_ = 0; i_102_ < 100; i_102_++) { - if (l_100_ == Class357.aLongArray4410[i_102_]) { - bool_101_ = true; - break while_218_; - } - } - if (i <= 1) { - if ((Class348_Sub40_Sub3.aBoolean9103 && !Class133.aBoolean1915) || Class50_Sub2.aBoolean5233) bool_101_ = true; - else if (Class351.method3455(string_98_, 28280)) bool_101_ = true; - } - } while (false); - if (!bool_101_ && Class250.anInt3227 == 0) { - Class357.aLongArray4410[Class79.anInt1359] = l_100_; - Class79.anInt1359 = (1 + Class79.anInt1359) % 100; - String string_103_ = (Class59_Sub2_Sub2.method572((Class348_Sub40_Sub32.method3136((byte) 64, Class299.aClass348_Sub49_Sub2_3813)), 23034)); - if (i == 2) Class318_Sub1_Sub3_Sub5.method2477("" + string_98_, string_103_, (byte) -127, -1, "" + string, null, 7, 0, string); - else if (i == 1) Class318_Sub1_Sub3_Sub5.method2477("" + string_98_, string_103_, (byte) -115, -1, "" + string, null, 7, 0, string); - else Class318_Sub1_Sub3_Sub5.method2477(string_98_, string_103_, (byte) -128, -1, string, null, 3, 0, string); - } - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub42_Sub8.aClass114_9552 == Class348_Sub3.aClass114_6584) { - if (r.anInt9721 != -1) Class239_Sub12.method1775((byte) -8, r.anInt9721, 0); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class168.aClass114_2248 == Class348_Sub3.aClass114_6584) { - int i = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - int i_104_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -87); - int i_105_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - int i_106_ = (Class299.aClass348_Sub49_Sub2_3813.readShortLittle(!bool) << 2); - int i_107_ = Class299.aClass348_Sub49_Sub2_3813.readByteInverse((byte) 21); - Class318_Sub1_Sub1_Sub1.method2397((byte) -125); - Class348_Sub42_Sub12.method3231(i_104_, i, i_106_, i_107_, i_105_, -127); - Class348_Sub3.aClass114_6584 = null; - return true; - } - - if (Class348_Sub3.aClass114_6584 == Class348_Sub46.aClass114_7113) { - Class348_Sub3.aClass114_6584 = null; - return false; - } - if (Class267.aClass114_3427 == Class348_Sub3.aClass114_6584) { - Class110.method1034(Class348_Sub40_Sub25.anInt9341, Class299.aClass348_Sub49_Sub2_3813, Class348_Sub23_Sub1.aClass297_8992, 110); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class189.aClass114_2527 == Class348_Sub3.aClass114_6584) { - boolean bool_108_ = (Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) == 1); - byte[] is = new byte[Class348_Sub40_Sub25.anInt9341 - 1]; - Class299.aClass348_Sub49_Sub2_3813.method3389(2147483647, 0, (Class348_Sub40_Sub25.anInt9341) + -1, is); - Class184.method1385(bool_108_, is, (byte) -104); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class254.aClass114_3264) { - int i = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - byte i_109_ = Class299.aClass348_Sub49_Sub2_3813.method3341(-8679); - Class318_Sub1_Sub1_Sub1.method2397((byte) -128); - Class348_Sub42_Sub14.method3244(i_109_, i, 120); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class255.aClass114_3265 == Class348_Sub3.aClass114_6584) { - Class278.anInt3581 = (Class299.aClass348_Sub49_Sub2_3813.readByteInverse(-622951480) << 3); - Class348_Sub40_Sub12.anInt9200 = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) 98); - Class73.anInt4786 = (Class299.aClass348_Sub49_Sub2_3813.readByteSubtract(-27697) << 3); - while ((Class299.aClass348_Sub49_Sub2_3813.anInt7197) < Class348_Sub40_Sub25.anInt9341) { - Class74 class74 = (Class255.method1929((byte) -19)[Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255)]); - InputStream_Sub2.method128(class74, (byte) 8); - } - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class271.aClass114_3467 == Class348_Sub3.aClass114_6584) { - int i = Class299.aClass348_Sub49_Sub2_3813.readShort(13638); - int i_110_ = Class299.aClass348_Sub49_Sub2_3813.readInt((byte) -126); - int i_111_ = Class299.aClass348_Sub49_Sub2_3813.method3375((byte) 84); - Class318_Sub1_Sub1_Sub1.method2397((byte) -124); - Class120.method1080(i_111_, -23697, i, i_110_); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class178.aClass114_2338 == Class348_Sub3.aClass114_6584) { - String string = Class299.aClass348_Sub49_Sub2_3813.readString((byte) 100); - int i = Class299.aClass348_Sub49_Sub2_3813.readShortAdd(124); - Class318_Sub1_Sub1_Sub1.method2397((byte) -127); - Class377.method3965(string, i, 2); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class318_Sub1_Sub5_Sub2.aClass114_10168) { - int i = Class299.aClass348_Sub49_Sub2_3813.readShortAddLittle(-117); - int i_112_ = Class299.aClass348_Sub49_Sub2_3813.readInt((byte) -126); - Class318_Sub1_Sub1_Sub1.method2397((byte) -127); - Class348_Sub40_Sub15.method3084(i, (byte) -88, i_112_); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class167.aClass114_2196 == Class348_Sub3.aClass114_6584) { - boolean bool_113_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) == 1; - String string = Class299.aClass348_Sub49_Sub2_3813.readString((byte) -81); - String string_114_ = string; - if (bool_113_) string_114_ = Class299.aClass348_Sub49_Sub2_3813.readString((byte) -39); - long l = Class299.aClass348_Sub49_Sub2_3813.readLong(-456577760); - long l_115_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - long l_116_ = Class299.aClass348_Sub49_Sub2_3813.readMedium(-1); - int i = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - int i_117_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - long l_118_ = (l_115_ << 32) - -l_116_; - boolean bool_119_ = false; - while_219_: - do { - for (int i_120_ = 0; i_120_ < 100; i_120_++) { - if (Class357.aLongArray4410[i_120_] == l_118_) { - bool_119_ = true; - break while_219_; - } - } - if (i <= 1 && Class351.method3455(string_114_, 28280)) bool_119_ = true; - } while (false); - if (!bool_119_ && Class250.anInt3227 == 0) { - Class357.aLongArray4410[Class79.anInt1359] = l_118_; - Class79.anInt1359 = (Class79.anInt1359 + 1) % 100; - String string_121_ = (Class239_Sub6.aClass355_5900.method3471(i_117_, (byte) -106).method3216(Class299.aClass348_Sub49_Sub2_3813, (byte) 42)); - if (i == 2) Class318_Sub1_Sub3_Sub5.method2477("" + string_114_, string_121_, (byte) -120, i_117_, "" + string, Class239_Sub16.method1788((byte) 87, l), 20, 0, string); - else if (i != 1) Class318_Sub1_Sub3_Sub5.method2477(string_114_, string_121_, (byte) -111, i_117_, string, Class239_Sub16.method1788((byte) 80, l), 20, 0, string); - else Class318_Sub1_Sub3_Sub5.method2477("" + string_114_, string_121_, (byte) -116, i_117_, "" + string, Class239_Sub16.method1788((byte) -98, l), 20, 0, string); - } - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub47.aClass114_7124 == Class348_Sub3.aClass114_6584) { - int i = Class299.aClass348_Sub49_Sub2_3813.readIntInverseMiddle(255); - Class318_Sub1_Sub1_Sub1.method2397((byte) -125); - if (i == -1) { - Class9.anInt167 = -1; - Class318_Sub1_Sub5_Sub2.anInt10163 = -1; - } else { - int i_122_ = 0x3fff & i >> 14; - i_122_ -= za_Sub2.regionTileX; - int i_123_ = 0x3fff & i; - i_123_ -= Class90.regionTileY; - if (i_122_ >= 0) { - if (Class367_Sub4.anInt7319 <= i_122_) i_122_ = Class367_Sub4.anInt7319; - } else i_122_ = 0; - Class9.anInt167 = (i_122_ << 9) - -256; - if (i_123_ >= 0) { - if (i_123_ >= Class348_Sub40_Sub3.anInt9109) i_123_ = Class348_Sub40_Sub3.anInt9109; - } else i_123_ = 0; - Class318_Sub1_Sub5_Sub2.anInt10163 = 256 + (i_123_ << 9); - } - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class348_Sub40_Sub19.aClass114_9254) { - int i = Class299.aClass348_Sub49_Sub2_3813.readByteAdd((byte) -88); - int i_124_ = Class299.aClass348_Sub49_Sub2_3813.readShortLittle(!bool); - Class318_Sub1_Sub3_Sub3.aClass170_10209.method1316((byte) -58, i_124_, i); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class133.aClass114_1914 == Class348_Sub3.aClass114_6584) { - InputStream_Sub2.method128(Class348_Sub40_Sub38.aClass74_9475, (byte) 8); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class292.aClass114_4798) { - int i = Class299.aClass348_Sub49_Sub2_3813.readShortAddLittle(-107); - if (i == 65535) i = -1; - int i_125_ = Class299.aClass348_Sub49_Sub2_3813.readByteAdd((byte) -121); - int i_126_ = i_125_ >> 2; - int i_127_ = i_125_ & 0x3; - int i_128_ = Class36.anIntArray487[i_126_]; - int i_129_ = Class299.aClass348_Sub49_Sub2_3813.readIntInverseMiddle(255); - int i_130_ = (0x36079814 & i_129_) >> 28; - int i_131_ = i_129_ >> 14 & 0x3fff; - int i_132_ = 0x3fff & i_129_; - i_131_ -= za_Sub2.regionTileX; - i_132_ -= Class90.regionTileY; - ha_Sub3.method3824(i_132_, i, i_126_, i_131_, i_127_, 102, i_130_, i_128_); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class168.aClass114_2255) { - String string = Class299.aClass348_Sub49_Sub2_3813.readString((byte) -104); - int i = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - String string_133_ = (Class239_Sub6.aClass355_5900.method3471(i, (byte) -98).method3216(Class299.aClass348_Sub49_Sub2_3813, (byte) 42)); - Class318_Sub1_Sub3_Sub5.method2477(string, string_133_, (byte) -122, i, string, null, 19, 0, string); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class348_Sub42_Sub8.aClass114_9550) { - InputStream_Sub2.method128(Class327.aClass74_4098, (byte) 8); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class202.aClass114_2665 == Class348_Sub3.aClass114_6584) { - for (int i = 0; i < Class294.aPlayerArray5058.length; i++) { - if (Class294.aPlayerArray5058[i] != null) { - Class294.aPlayerArray5058[i].anIntArray10236 = null; - Class294.aPlayerArray5058[i].anInt10286 = -1; - } - } - for (int i = 0; Class348_Sub32.anInt6930 > i; i++) { - Class348_Sub40_Sub23.aClass348_Sub22Array9319[i].aNpc_6859.anIntArray10236 = null; - Class348_Sub40_Sub23.aClass348_Sub22Array9319[i].aNpc_6859.anInt10286 = -1; - } - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class365.aClass114_4477 == Class348_Sub3.aClass114_6584) { - int i = Class299.aClass348_Sub49_Sub2_3813.readIntInverseMiddle(255); - int i_134_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - int i_135_ = Class299.aClass348_Sub49_Sub2_3813.readShortAddLittle(-109); - int i_136_ = Class299.aClass348_Sub49_Sub2_3813.readShortAdd(16); - Class318_Sub1_Sub1_Sub1.method2397((byte) -125); - Class122.method1085(i_136_, i_134_, (byte) -86, i_135_, i); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class95.aClass114_1540 == Class348_Sub3.aClass114_6584) { - Class57.aClass227_1055 = Class38.method360((byte) -57, Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255)); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class239_Sub21.aClass114_6058 == Class348_Sub3.aClass114_6584) { - InputStream_Sub2.method128(Class186.aClass74_2491, (byte) 8); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class176.aClass114_2331 == Class348_Sub3.aClass114_6584) { - Class348_Sub42_Sub12.anInt9604 = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - for (int i = 0; Class348_Sub42_Sub12.anInt9604 > i; i++) { - Class51.aStringArray932[i] = Class299.aClass348_Sub49_Sub2_3813.readString((byte) -36); - Class122.aStringArray1808[i] = Class299.aClass348_Sub49_Sub2_3813.readString((byte) 112); - if (Class122.aStringArray1808[i].equals("")) Class122.aStringArray1808[i] = Class51.aStringArray932[i]; - Class348_Sub40_Sub21.aStringArray9275[i] = Class299.aClass348_Sub49_Sub2_3813.readString((byte) 84); - aa_Sub2.aStringArray5197[i] = Class299.aClass348_Sub49_Sub2_3813.readString((byte) -111); - if (aa_Sub2.aStringArray5197[i].equals("")) aa_Sub2.aStringArray5197[i] = Class348_Sub40_Sub21.aStringArray9275[i]; - Class367_Sub3.aBooleanArray7304[i] = false; - } - Class126.anInt4985 = Class311.anInt3918; - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class166.aClass114_2183) { - int i = Class299.aClass348_Sub49_Sub2_3813.readShortAddLittle(-121); - if (i == 65535) i = -1; - String string = Class299.aClass348_Sub49_Sub2_3813.readString((byte) 103); - int i_137_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -91); - int i_138_ = Class299.aClass348_Sub49_Sub2_3813.readByteAdd((byte) 13); - if (i_137_ >= 1 && i_137_ <= 8) { - if (string.equalsIgnoreCase("null")) string = null; - Class318_Sub1_Sub2_Sub1.aStringArray10195[i_137_ + -1] = string; - Canvas_Sub1.anIntArray60[i_137_ + -1] = i; - Class71.aBooleanArray1214[i_137_ - 1] = i_138_ == 0; - } - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class128.aClass114_1871 == Class348_Sub3.aClass114_6584) { - int i = Class299.aClass348_Sub49_Sub2_3813.readSmart(-117); - int i_139_ = Class299.aClass348_Sub49_Sub2_3813.readInt((byte) -126); - int i_140_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - String string = ""; - String string_141_ = string; - if ((i_140_ & 0x1) != 0) { - string = Class299.aClass348_Sub49_Sub2_3813.readString((byte) 92); - if ((i_140_ & 0x2) != 0) string_141_ = Class299.aClass348_Sub49_Sub2_3813.readString((byte) 126); - else string_141_ = string; - } - String string_142_ = Class299.aClass348_Sub49_Sub2_3813.readString((byte) -95); - if (i == 99) Applet_Sub1.method94(string_142_, -93); - else if (i == 98) Applet_Sub1.set(string_142_); - else { - if (!string_141_.equals("") && Class351.method3455(string_141_, 28280)) { - Class348_Sub3.aClass114_6584 = null; - return true; - } - Class286_Sub2.method2144(string_141_, i, (byte) -92, i_139_, string_142_, string, string); - } - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class348_Sub45.aClass114_7105) { - int i = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - if (Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) == 0) Class239_Sub26.aClass54Array6114[i] = new Class54(); - else { - Class299.aClass348_Sub49_Sub2_3813.anInt7197--; - Class239_Sub26.aClass54Array6114[i] = new Class54(Class299.aClass348_Sub49_Sub2_3813); - } - Class348_Sub3.aClass114_6584 = null; - Class189.anInt2523 = Class311.anInt3918; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class110.aClass114_1702) { - int i = Class299.aClass348_Sub49_Sub2_3813.readShort(13638); - int i_143_ = Class299.aClass348_Sub49_Sub2_3813.readIntMiddleEndian((byte) 82); - Class318_Sub1_Sub1_Sub1.method2397((byte) -126); - Class173.method1330(i, -19906, i_143_); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class3.aClass114_123) { - int i = Class299.aClass348_Sub49_Sub2_3813.readIntMiddleEndian((byte) 82); - int i_144_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - int i_145_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - if (i_145_ == 65535) i_145_ = -1; - int i_146_ = Class299.aClass348_Sub49_Sub2_3813.readShortAdd(124); - Class318_Sub1_Sub1_Sub1.method2397((byte) -128); - if (i_146_ == 65535) i_146_ = -1; - for (int i_147_ = i_146_; i_145_ >= i_147_; i_147_++) { - long l = ((long) i << 32) - -(long) i_147_; - Class348_Sub44 class348_sub44 = ((Class348_Sub44) Class226.aClass356_2959.method3480(l, -6008)); - Class348_Sub44 class348_sub44_148_; - if (class348_sub44 == null) { - if (i_147_ == -1) class348_sub44_148_ = (new Class348_Sub44(Class324.method2570(1512932720, i).aClass348_Sub44_748.anInt7098, i_144_)); - else class348_sub44_148_ = new Class348_Sub44(0, i_144_); - } else { - class348_sub44_148_ = new Class348_Sub44((class348_sub44.anInt7098), i_144_); - class348_sub44.method2715((byte) 91); - } - Class226.aClass356_2959.method3483((byte) 125, l, class348_sub44_148_); - } - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class348_Sub45.aClass114_7106) { - while ((Class299.aClass348_Sub49_Sub2_3813.anInt7197) < Class348_Sub40_Sub25.anInt9341) { - boolean bool_149_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) == 1; - String string = Class299.aClass348_Sub49_Sub2_3813.readString((byte) -95); - String string_150_ = Class299.aClass348_Sub49_Sub2_3813.readString((byte) 118); - int i = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - int i_151_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - String string_152_ = ""; - boolean bool_153_ = false; - if (i > 0) { - string_152_ = Class299.aClass348_Sub49_Sub2_3813.readString((byte) 119); - bool_153_ = (Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) == 1); - } - for (int i_154_ = 0; (i_154_ < Class348_Sub40_Sub30.anInt9383); i_154_++) { - if (!bool_149_) { - if (string.equals(Class83.aStringArray1441[i_154_])) { - if (i != ha.anIntArray4578[i_154_]) { - boolean bool_155_ = true; - for (Class318_Sub9_Sub1 class318_sub9_sub1 = ((Class318_Sub9_Sub1) Class348_Sub42_Sub14.aClass243_9642.method1872(8)); class318_sub9_sub1 != null; class318_sub9_sub1 = ((Class318_Sub9_Sub1) Class348_Sub42_Sub14.aClass243_9642.method1878((byte) 124))) { - if (class318_sub9_sub1.aString8783.equals(string)) { - if (i == 0 || (class318_sub9_sub1.aShort8786 != 0)) { - if (i == 0 && (class318_sub9_sub1.aShort8786) != 0) { - bool_155_ = false; - class318_sub9_sub1.method2373(false); - } - } else { - bool_155_ = false; - class318_sub9_sub1.method2373(false); - } - } - } - if (bool_155_) Class348_Sub42_Sub14.aClass243_9642.method1869(-95, new Class318_Sub9_Sub1(string, i)); - ha.anIntArray4578[i_154_] = i; - } - Class286_Sub2.aStringArray6205[i_154_] = string_150_; - Class285.aStringArray4744[i_154_] = string_152_; - Class172.anIntArray2280[i_154_] = i_151_; - string = null; - Class122.aBooleanArray1806[i_154_] = bool_153_; - break; - } - } else if (string_150_.equals(Class83.aStringArray1441[i_154_])) { - Class83.aStringArray1441[i_154_] = string; - Class286_Sub2.aStringArray6205[i_154_] = string_150_; - string = null; - break; - } - } - if (string != null && Class348_Sub40_Sub30.anInt9383 < 200) { - Class83.aStringArray1441[Class348_Sub40_Sub30.anInt9383] = string; - Class286_Sub2.aStringArray6205[(Class348_Sub40_Sub30.anInt9383)] = string_150_; - ha.anIntArray4578[Class348_Sub40_Sub30.anInt9383] = i; - Class285.aStringArray4744[Class348_Sub40_Sub30.anInt9383] = string_152_; - Class172.anIntArray2280[Class348_Sub40_Sub30.anInt9383] = i_151_; - Class122.aBooleanArray1806[Class348_Sub40_Sub30.anInt9383] = bool_153_; - Class348_Sub40_Sub30.anInt9383++; - } - } - Class125.anInt4930 = 2; - Class126.anInt4985 = Class311.anInt3918; - boolean bool_156_ = false; - int i = Class348_Sub40_Sub30.anInt9383; - while (i > 0) { - i--; - bool_156_ = true; - for (int i_157_ = 0; i > i_157_; i_157_++) { - if (((Class3.aClass161_125.anInt2143 != ha.anIntArray4578[i_157_]) && (ha.anIntArray4578[i_157_ - -1] == Class3.aClass161_125.anInt2143)) || (ha.anIntArray4578[i_157_] == 0 && (ha.anIntArray4578[1 + i_157_] != 0))) { - int i_158_ = ha.anIntArray4578[i_157_]; - ha.anIntArray4578[i_157_] = ha.anIntArray4578[1 + i_157_]; - ha.anIntArray4578[i_157_ - -1] = i_158_; - String string = Class285.aStringArray4744[i_157_]; - Class285.aStringArray4744[i_157_] = Class285.aStringArray4744[1 + i_157_]; - Class285.aStringArray4744[1 + i_157_] = string; - String string_159_ = Class83.aStringArray1441[i_157_]; - Class83.aStringArray1441[i_157_] = Class83.aStringArray1441[i_157_ + 1]; - Class83.aStringArray1441[i_157_ + 1] = string_159_; - String string_160_ = Class286_Sub2.aStringArray6205[i_157_]; - Class286_Sub2.aStringArray6205[i_157_] = Class286_Sub2.aStringArray6205[i_157_ + 1]; - Class286_Sub2.aStringArray6205[i_157_ - -1] = string_160_; - int i_161_ = Class172.anIntArray2280[i_157_]; - Class172.anIntArray2280[i_157_] = Class172.anIntArray2280[1 + i_157_]; - Class172.anIntArray2280[i_157_ + 1] = i_161_; - boolean bool_162_ = Class122.aBooleanArray1806[i_157_]; - Class122.aBooleanArray1806[i_157_] = Class122.aBooleanArray1806[1 + i_157_]; - bool_156_ = false; - Class122.aBooleanArray1806[i_157_ + 1] = bool_162_; - } - } - if (bool_156_) break; - } - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class59_Sub2_Sub2.aClass114_8683 == Class348_Sub3.aClass114_6584) { - if (Class34.aFrame476 != null) Class85.method830(Class316.aClass348_Sub51_3959.aClass239_Sub8_7227.method1751(-32350), -1, (byte) 102, false, -1); - byte[] is = new byte[Class348_Sub40_Sub25.anInt9341]; - Class299.aClass348_Sub49_Sub2_3813.method3409(Class348_Sub40_Sub25.anInt9341, is, 0, -32769); - String string = Class367_Sub8.method3546(is, 0, Class348_Sub40_Sub25.anInt9341, 0); - Class179.method1360(string, Class348_Sub23_Sub1.aClass297_8992, Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) == 1, true, 99); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class367_Sub8.aClass114_7363 == Class348_Sub3.aClass114_6584) { - int i = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - if (i == 65535) i = -1; - int i_163_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - int i_164_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - int i_165_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - int i_166_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - Class348_Sub20.method2947(true, i_165_, i, i_163_, i_164_, i_166_); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class239.aClass114_3143) { - int i = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - byte i_167_ = Class299.aClass348_Sub49_Sub2_3813.readByte(-83); - Class318_Sub1_Sub3_Sub3.aClass170_10209.method1313((byte) 42, i_167_, i); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class318_Sub1_Sub3.aClass114_8756) { - int i = Class299.aClass348_Sub49_Sub2_3813.readShortLittle(false); - if (i == 65535) i = -1; - int i_168_ = Class299.aClass348_Sub49_Sub2_3813.readIntInverseMiddle(255); - Class318_Sub1_Sub1_Sub1.method2397((byte) -127); - Class25.method304(i, 437853543, i_168_); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class280.aClass114_3641) { - InputStream_Sub2.method128(Class348_Sub35.aClass74_6977, (byte) 8); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class218.aClass114_2860) { - int i = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - if (i == 65535) i = -1; - int i_169_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - int i_170_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - int i_171_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - int i_172_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - Class279.method2090(i_169_, i_172_, false, (byte) -35, i_171_, i_170_, i); - Class348_Sub3.aClass114_6584 = null; - return true; - } - - if (Class348_Sub3.aClass114_6584 == Class20.aClass114_318) { - Class348_Sub40_Sub26.method3120(-86); - Class348_Sub3.aClass114_6584 = null; - return false; - } - if (Class348_Sub3.aClass114_6584 == Class345.aClass114_4272) { - int i = Class299.aClass348_Sub49_Sub2_3813.readShortAdd(-127); - int i_173_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - Class318_Sub1_Sub1_Sub1.method2397((byte) -128); - Class55_Sub1.method524(i_173_, true, i, -127); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class205.aClass114_2693 == Class348_Sub3.aClass114_6584) { - boolean bool_174_ = (Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) == 1); - String string = Class299.aClass348_Sub49_Sub2_3813.readString((byte) 107); - String string_175_ = string; - if (bool_174_) string_175_ = Class299.aClass348_Sub49_Sub2_3813.readString((byte) -71); - long l = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - long l_176_ = Class299.aClass348_Sub49_Sub2_3813.readMedium(-1); - int i = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - int i_177_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - long l_178_ = l_176_ + (l << 32); - boolean bool_179_ = false; - while_220_: - do { - for (int i_180_ = 0; i_180_ < 100; i_180_++) { - if (l_178_ == Class357.aLongArray4410[i_180_]) { - bool_179_ = true; - break while_220_; - } - } - if (i <= 1 && Class351.method3455(string_175_, 28280)) bool_179_ = true; - } while (false); - if (!bool_179_ && Class250.anInt3227 == 0) { - Class357.aLongArray4410[Class79.anInt1359] = l_178_; - Class79.anInt1359 = (Class79.anInt1359 - -1) % 100; - String string_181_ = (Class239_Sub6.aClass355_5900.method3471(i_177_, (byte) -93).method3216(Class299.aClass348_Sub49_Sub2_3813, (byte) 62)); - if (i == 2) Class318_Sub1_Sub3_Sub5.method2477("" + string_175_, string_181_, (byte) -110, i_177_, "" + string, null, 18, 0, string); - else if (i == 1) Class318_Sub1_Sub3_Sub5.method2477("" + string_175_, string_181_, (byte) -112, i_177_, "" + string, null, 18, 0, string); - else Class318_Sub1_Sub3_Sub5.method2477(string_175_, string_181_, (byte) -118, i_177_, string, null, 18, 0, string); - } - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class367_Sub9.aClass114_7367) { - int i = Class299.aClass348_Sub49_Sub2_3813.readShortLittle(false); - int i_182_ = Class299.aClass348_Sub49_Sub2_3813.readIntLittle((byte) -122); - int i_183_ = Class299.aClass348_Sub49_Sub2_3813.readByteAdd((byte) -95); - Class318_Sub1_Sub1_Sub1.method2397((byte) -125); - Class348_Sub41 class348_sub41 = ((Class348_Sub41) Class125.aClass356_4915.method3480(i_182_, -6008)); - if (class348_sub41 != null) Class127_Sub1.method1118(i != (class348_sub41.anInt7050), false, class348_sub41, 2533); - Class338.method2661(i, i_182_, i_183_, false, 2); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class127_Sub1.aClass114_8384) { - Class348_Sub3.aClass114_6584 = null; - Class125.anInt4930 = 1; - Class126.anInt4985 = Class311.anInt3918; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class176.aClass114_2335) { - Class318_Sub1_Sub1_Sub1.method2397((byte) -125); - Class128.method1122(0); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class13.aClass114_220 == Class348_Sub3.aClass114_6584) { - int i = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - int i_184_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - int i_185_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - Class318_Sub1_Sub1_Sub1.method2397((byte) -125); - if (Class348_Sub40_Sub33.aClass46ArrayArray9427[i] != null) { - for (int i_186_ = i_184_; i_185_ > i_186_; i_186_++) { - int i_187_ = Class299.aClass348_Sub49_Sub2_3813.readMedium(-1); - if ((Class348_Sub40_Sub33.aClass46ArrayArray9427[i]).length > i_186_ && (Class348_Sub40_Sub33.aClass46ArrayArray9427[i][i_186_]) != null) Class348_Sub40_Sub33.aClass46ArrayArray9427[i][i_186_].anInt732 = i_187_; - } - } - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class239_Sub14.aClass114_5992) { - InputStream_Sub2.method128(Class265.aClass74_4689, (byte) 8); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub38.aClass114_7015 == Class348_Sub3.aClass114_6584) { - Class348_Sub40_Sub12.anInt9200 = Class299.aClass348_Sub49_Sub2_3813.readByteAdd((byte) 126); - Class73.anInt4786 = (Class299.aClass348_Sub49_Sub2_3813.readByteInverse(-622951480) << 3); - Class278.anInt3581 = (Class299.aClass348_Sub49_Sub2_3813.readByteInverse(-622951480) << 3); - for (Class348_Sub37 class348_sub37 = (Class348_Sub37) Class130.aClass356_1895.method3484(0); class348_sub37 != null; class348_sub37 = ((Class348_Sub37) Class130.aClass356_1895.method3482(0))) { - int i = (int) ((class348_sub37.aLong4291 >> 28) & 0x3L); - int i_188_ = (int) (class348_sub37.aLong4291 & 0x3fffL); - int i_189_ = i_188_ + -za_Sub2.regionTileX; - int i_190_ = (int) (0x3fffL & (class348_sub37.aLong4291 >> 14)); - int i_191_ = -Class90.regionTileY + i_190_; - if (i == Class348_Sub40_Sub12.anInt9200 && Class278.anInt3581 <= i_189_ && 8 + Class278.anInt3581 > i_189_ && Class73.anInt4786 <= i_191_ && Class73.anInt4786 - -8 > i_191_) { - class348_sub37.method2715((byte) 89); - if (i_189_ >= 0 && i_191_ >= 0 && i_189_ < Class367_Sub4.anInt7319 && (i_191_ < Class348_Sub40_Sub3.anInt9109)) Class203.method1479(i_191_, (byte) -118, i_189_, Class348_Sub40_Sub12.anInt9200); - } - } - for (Class348_Sub27 class348_sub27 = ((Class348_Sub27) Class348_Sub42_Sub20.aClass262_9711.method1995(4)); class348_sub27 != null; class348_sub27 = (Class348_Sub27) Class348_Sub42_Sub20.aClass262_9711.method1990((byte) 31)) { - if ((Class278.anInt3581 <= class348_sub27.anInt6905) && (class348_sub27.anInt6905 < Class278.anInt3581 - -8) && (class348_sub27.anInt6896 >= Class73.anInt4786) && (class348_sub27.anInt6896 < Class73.anInt4786 + 8) && (class348_sub27.anInt6899 == Class348_Sub40_Sub12.anInt9200)) - class348_sub27.anInt6893 = 0; - } - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class239_Sub15.aClass114_5997) { - int i = Class299.aClass348_Sub49_Sub2_3813.readByteInverse((byte) 21); - int[] is = new int[4]; - for (int i_192_ = 0; i_192_ < 4; i_192_++) - is[i_192_] = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - int i_193_ = Class299.aClass348_Sub49_Sub2_3813.readShortLittle(false); - Class348_Sub22 class348_sub22 = ((Class348_Sub22) Class282.aClass356_3654.method3480(i_193_, -6008)); - if (class348_sub22 != null) Class348_Sub17.method2931(i, (byte) 110, is, (class348_sub22.aNpc_6859)); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class348_Sub40_Sub22.aClass114_9285) { - Class259.anInt3306 = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub40_Sub24.aClass114_9324 == Class348_Sub3.aClass114_6584) { - int i = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -104); - int i_194_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -92); - int i_195_ = Class299.aClass348_Sub49_Sub2_3813.readShortAddLittle(-127); - if (i_195_ == 65535) i_195_ = -1; - Class151.method1212(i_194_, i_195_, -1, i); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class321.aClass114_4015 == Class348_Sub3.aClass114_6584) { - int i = Class299.aClass348_Sub49_Sub2_3813.method3363(-13309); - int i_196_ = Class299.aClass348_Sub49_Sub2_3813.readShortAddLittle(-124); - if (i_196_ == 65535) i_196_ = -1; - int i_197_ = Class299.aClass348_Sub49_Sub2_3813.readByteInverse((byte) 21); - Class177.method1352(i_196_, i_197_, i, (byte) -98); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub40_Sub12.aClass114_9197 == Class348_Sub3.aClass114_6584) { - String string = Class299.aClass348_Sub49_Sub2_3813.readString((byte) -43); - String string_198_ = Class59_Sub2_Sub2.method572((Class348_Sub40_Sub32.method3136((byte) 64, (Class299.aClass348_Sub49_Sub2_3813))), 23034); - Class286_Sub2.method2144(string, 6, (byte) -101, 0, string_198_, string, string); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class127_Sub1.aClass114_8385) { - int i = Class299.aClass348_Sub49_Sub2_3813.readIntLittle((byte) -124); - String string = Class299.aClass348_Sub49_Sub2_3813.readString((byte) -97); - Class318_Sub1_Sub1_Sub1.method2397((byte) -125); - Class239_Sub19.method1803(i, string, -32394); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class174.aClass114_2305) { - int i = Class299.aClass348_Sub49_Sub2_3813.readIntMiddleEndian((byte) 82); - int i_199_ = Class299.aClass348_Sub49_Sub2_3813.readIntInverseMiddle(255); - int i_200_ = Class299.aClass348_Sub49_Sub2_3813.readShortLittle(false); - Class318_Sub1_Sub1_Sub1.method2397((byte) -126); - Class238.method1703(5, i, i_200_, 4, i_199_); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class368.aClass114_4500 == Class348_Sub3.aClass114_6584) { - boolean bool_201_ = (Class299.aClass348_Sub49_Sub2_3813.readByteInverse((byte) 21) == 1); - Class318_Sub1_Sub1_Sub1.method2397((byte) -124); - Class122.aBoolean1801 = bool_201_; - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class59.aClass114_1068) { - Class268.method2038(-103); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub1_Sub2.aClass114_8817 == Class348_Sub3.aClass114_6584) { - za.anInt7276 = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) 69); - Class290.anInt3713 = Class299.aClass348_Sub49_Sub2_3813.readByteAdd((byte) -82); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class348_Sub40_Sub19.aClass114_9257) { - int i = Class299.aClass348_Sub49_Sub2_3813.readByteInverse((byte) 21); - int i_202_ = Class299.aClass348_Sub49_Sub2_3813.readShortAdd(127); - Class318_Sub1_Sub1_Sub1.method2397((byte) -125); - if (i == 2) Class130_Sub1.method1134(92); - r.anInt9721 = i_202_; - Class348_Sub7.method2772(i_202_, (byte) 123); - Class239.method1713(false, 520); - Class66.method703(r.anInt9721); - for (int i_203_ = 0; i_203_ < 100; i_203_++) - Class152.aBooleanArray2076[i_203_] = true; - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class260.aClass114_3307) { - if (!Class340.method2672(Class240.anInt4674, -105)) Class289.anInt3699 = (Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944) * 30); - else Class289.anInt3699 = (int) ((float) Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944) * 2.5F); - Class348_Sub40_Sub23.anInt9313 = Class311.anInt3918; - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class318_Sub1.aClass114_6383) { - int i = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - if (i == 65535) i = -1; - int i_204_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - int i_205_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - int i_206_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - Class279.method2090(i_204_, 256, true, (byte) -35, i_206_, i_205_, i); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class318_Sub1_Sub5_Sub2.aClass114_10149 == Class348_Sub3.aClass114_6584) { - int i = Class299.aClass348_Sub49_Sub2_3813.readShortAdd(-16); - if (i == 65535) i = -1; - int i_207_ = Class299.aClass348_Sub49_Sub2_3813.readIntMiddleEndian((byte) 82); - Class318_Sub1_Sub1_Sub1.method2397((byte) -125); - Class238.method1703(1, i_207_, i, 4, -1); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class47.aClass114_843) { - InputStream_Sub2.method128(Class91.aClass74_1519, (byte) 8); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class239_Sub4.aClass114_5883) { - int i = Class299.aClass348_Sub49_Sub2_3813.readShortAdd(125); - if (i == 65535) i = -1; - int i_208_ = Class299.aClass348_Sub49_Sub2_3813.readShortLittle(false); - if (i_208_ == 65535) i_208_ = -1; - int i_209_ = Class299.aClass348_Sub49_Sub2_3813.readInt((byte) -126); - int i_210_ = Class299.aClass348_Sub49_Sub2_3813.readIntInverseMiddle(255); - Class318_Sub1_Sub1_Sub1.method2397((byte) -127); - for (int i_211_ = i_208_; i_211_ <= i; i_211_++) { - long l = (long) i_211_ + ((long) i_209_ << 32); - Class348_Sub44 class348_sub44 = ((Class348_Sub44) Class226.aClass356_2959.method3480(l, -6008)); - Class348_Sub44 class348_sub44_212_; - if (class348_sub44 != null) { - class348_sub44_212_ = new Class348_Sub44(i_210_, (class348_sub44.anInt7093)); - class348_sub44.method2715((byte) 80); - } else if (i_211_ == -1) class348_sub44_212_ = (new Class348_Sub44(i_210_, Class324.method2570(1512932720, i_209_).aClass348_Sub44_748.anInt7093)); - else class348_sub44_212_ = new Class348_Sub44(i_210_, -1); - Class226.aClass356_2959.method3483((byte) 114, l, class348_sub44_212_); - } - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class151.aClass114_2068) { - int i = Class299.aClass348_Sub49_Sub2_3813.readShortAdd(-103); - int i_213_ = Class299.aClass348_Sub49_Sub2_3813.readIntInverseMiddle(255); - Class318_Sub1_Sub3_Sub3.aClass170_10209.method1316((byte) -124, i, i_213_); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class314_Sub1.aClass114_6340) { - Class299.aClass348_Sub49_Sub2_3813.anInt7197 += 28; - if (Class299.aClass348_Sub49_Sub2_3813.method3352(-25541)) Class179.method1365((Class299.aClass348_Sub49_Sub2_3813.anInt7197) + -28, (byte) -126, Class299.aClass348_Sub49_Sub2_3813); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class17.aClass114_250) { - Class309.anInt4816 = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - Class348_Sub40_Sub23.anInt9313 = Class311.anInt3918; - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class185.aClass114_2483 == Class348_Sub3.aClass114_6584) { - int i = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) 20); - int i_214_ = Class299.aClass348_Sub49_Sub2_3813.readByteInverse((byte) 21); - int i_215_ = Class299.aClass348_Sub49_Sub2_3813.readIntMiddleEndian((byte) 82); - Class186.anIntArray2497[i_214_] = i_215_; - Class161.anIntArray2145[i_214_] = i; - Class256.anIntArray3295[i_214_] = 1; - int i_216_ = OutputStream_Sub1.anIntArray100[i_214_] + -1; - for (int i_217_ = 0; i_216_ > i_217_; i_217_++) { - if (Class59_Sub1_Sub2.anIntArray8663[i_217_] <= i_215_) Class256.anIntArray3295[i_214_] = i_217_ - -2; - } - Class199.anIntArray2632[Class139.method1166(31, Class326.anInt4086++)] = i_214_; - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class19.aClass114_315 == Class348_Sub3.aClass114_6584) { - InputStream_Sub2.method128(Class162.aClass74_2157, (byte) 8); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class28.aClass114_4998 == Class348_Sub3.aClass114_6584) { - int i = Class299.aClass348_Sub49_Sub2_3813.readShortAdd(10); - int i_218_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) 70); - boolean bool_219_ = (0x1 & i_218_) == 1; - Class348_Sub40_Sub3.method3054(bool_219_, i, -128); - Class199.anIntArray2633[Class139.method1166(31, Class106.anInt1631++)] = i; - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub40_Sub16.aClass114_9225 == Class348_Sub3.aClass114_6584) { - int i = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - int i_220_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - boolean bool_221_ = (i_220_ & 0x1) == 1; - while ((Class299.aClass348_Sub49_Sub2_3813.anInt7197) < Class348_Sub40_Sub25.anInt9341) { - int i_222_ = Class299.aClass348_Sub49_Sub2_3813.readSmart(-125); - int i_223_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - int i_224_ = 0; - if (i_223_ != 0) { - i_224_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - if (i_224_ == 255) i_224_ = Class299.aClass348_Sub49_Sub2_3813.readInt((byte) -126); - } - Canvas_Sub1.method121(i, -364570972, bool_221_, i_222_, i_224_, -1 + i_223_); - } - Class199.anIntArray2633[Class139.method1166(31, Class106.anInt1631++)] = i; - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class239_Sub11.aClass114_5950 == Class348_Sub3.aClass114_6584) { - int i = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -113); - int i_225_ = Class299.aClass348_Sub49_Sub2_3813.readByteAdd((byte) 127); - if (i == 255) { - i_225_ = -1; - i = -1; - } - Class239_Sub25.method1825(120, i_225_, i); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class367_Sub11.aClass114_7398 == Class348_Sub3.aClass114_6584) { - int i = Class299.aClass348_Sub49_Sub2_3813.readIntLittle((byte) -124); - int i_226_ = Class299.aClass348_Sub49_Sub2_3813.readShortLittle(false); - Class318_Sub1_Sub1_Sub1.method2397((byte) -124); - Class50_Sub3.method467(i_226_, -18075, i); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class209.aClass114_2717 == Class348_Sub3.aClass114_6584) { - Class91.method856((byte) 63); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class367_Sub3.aClass114_7301 == Class348_Sub3.aClass114_6584) { - boolean bool_227_ = (Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) == 1); - String string = Class299.aClass348_Sub49_Sub2_3813.readString((byte) 89); - String string_228_ = string; - if (bool_227_) string_228_ = Class299.aClass348_Sub49_Sub2_3813.readString((byte) 98); - int i = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - int i_229_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - boolean bool_230_ = false; - if (i <= 1 && Class351.method3455(string_228_, 28280)) bool_230_ = true; - if (!bool_230_ && Class250.anInt3227 == 0) { - String string_231_ = (Class239_Sub6.aClass355_5900.method3471(i_229_, (byte) -108).method3216(Class299.aClass348_Sub49_Sub2_3813, (byte) 93)); - if (i == 2) Class318_Sub1_Sub3_Sub5.method2477("" + string_228_, string_231_, (byte) -127, i_229_, "" + string, null, 25, 0, string); - else if (i != 1) Class318_Sub1_Sub3_Sub5.method2477(string_228_, string_231_, (byte) -119, i_229_, string, null, 25, 0, string); - else Class318_Sub1_Sub3_Sub5.method2477("" + string_228_, string_231_, (byte) -125, i_229_, "" + string, null, 25, 0, string); - } - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class140.aClass114_1959 == Class348_Sub3.aClass114_6584) { - int i = Class299.aClass348_Sub49_Sub2_3813.readIntInverseMiddle(255); - int i_232_ = Class299.aClass348_Sub49_Sub2_3813.readShortAdd(-110); - Class318_Sub1_Sub1_Sub1.method2397((byte) -124); - Class348_Sub49_Sub2.method3411(i, 12, i_232_); - Class348_Sub3.aClass114_6584 = null; - return true; - } - if (Class348_Sub3.aClass114_6584 == Class359.aClass114_4421) { - Class230.anInt2986 = Class311.anInt3918; - if (Class348_Sub40_Sub25.anInt9341 == 0) { - Class37.anInt496 = 0; - Class50.aString863 = null; - Class169.aClass19Array2261 = null; - Class348_Sub21.aString6854 = null; - Class348_Sub3.aClass114_6584 = null; - return true; - } - Class348_Sub21.aString6854 = Class299.aClass348_Sub49_Sub2_3813.readString((byte) -112); - boolean bool_233_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) == 1; - if (bool_233_) Class299.aClass348_Sub49_Sub2_3813.readString((byte) 108); - long l = Class299.aClass348_Sub49_Sub2_3813.readLong(-456577760); - Class50.aString863 = Class27.method313(l, -104); - Class219.aByte2871 = Class299.aClass348_Sub49_Sub2_3813.readByte(-90); - int i = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - if (i == 255) { - Class348_Sub3.aClass114_6584 = null; - return true; - } - Class37.anInt496 = i; - Class19[] class19s = new Class19[100]; - for (int i_234_ = 0; Class37.anInt496 > i_234_; i_234_++) { - class19s[i_234_] = new Class19(); - class19s[i_234_].aString314 = Class299.aClass348_Sub49_Sub2_3813.readString((byte) 103); - bool_233_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) == 1; - if (!bool_233_) class19s[i_234_].aString306 = class19s[i_234_].aString314; - else class19s[i_234_].aString306 = Class299.aClass348_Sub49_Sub2_3813.readString((byte) 107); - class19s[i_234_].aString312 = Class285_Sub1.method2127(2, (class19s[i_234_].aString306)); - class19s[i_234_].anInt308 = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - class19s[i_234_].aByte310 = Class299.aClass348_Sub49_Sub2_3813.readByte(-118); - class19s[i_234_].aString313 = Class299.aClass348_Sub49_Sub2_3813.readString((byte) -124); - if (class19s[i_234_].aString306.equals(Class132.aPlayer_1907.aString10544)) Class119_Sub1.aByte4702 = class19s[i_234_].aByte310; - } - boolean bool_235_ = false; - int i_236_ = Class37.anInt496; - while (i_236_ > 0) { - i_236_--; - bool_235_ = true; - for (int i_237_ = 0; i_236_ > i_237_; i_237_++) { - if ((class19s[i_237_].aString312.compareTo(class19s[1 + i_237_].aString312)) > 0) { - Class19 class19 = class19s[i_237_]; - class19s[i_237_] = class19s[i_237_ - -1]; - class19s[1 + i_237_] = class19; - bool_235_ = false; - } - } - if (bool_235_) break; - } - Class169.aClass19Array2261 = class19s; - Class348_Sub3.aClass114_6584 = null; - return true; - } - Class156.method1242(("T1 - " + (Class348_Sub3.aClass114_6584 == null ? -1 : Class348_Sub3.aClass114_6584.method1058((byte) 110)) + "," + (Class239.aClass114_3145 == null ? -1 : Class239.aClass114_3145.method1058((byte) 127)) + "," + (Class348_Sub40_Sub36.aClass114_9456 == null ? -1 : Class348_Sub40_Sub36.aClass114_9456.method1058((byte) 125)) + " - " + Class348_Sub40_Sub25.anInt9341), null, 15004); - Class348_Sub40_Sub34.method3141(false, (byte) 11); - return true; - } - - public static void method3202(byte i) { - aClass230_10434 = null; - if (i > 38) { - aLongArrayArrayArray10431 = null; - aClass76_10436 = null; - aClass74_10437 = null; - } - } - - final Object method3193(int i) { - anInt10435++; - if (i < 75) method3193(-128); - return anObject10429; - } -} diff --git a/client/src/Class348_Sub42_Sub9.java b/client/src/Class348_Sub42_Sub9.java deleted file mode 100644 index 451b1a780..000000000 --- a/client/src/Class348_Sub42_Sub9.java +++ /dev/null @@ -1,30 +0,0 @@ -/* Class348_Sub42_Sub9 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class348_Sub42_Sub9 extends Class348_Sub42 { - int anInt9556; - static int anInt9557; - static int[] anIntArray9558 = {3, 7, 15}; - Interface14 anInterface14_9559; - - static final boolean method3203(int i, byte i_0_, int i_1_) { - anInt9557++; - if (i_0_ < 109) return false; - return (i_1_ & 0x10000) != 0; - } - - public static void method3204(int i) { - if (i > -64) method3203(-45, (byte) 72, -104); - anIntArray9558 = null; - } - - abstract Object method3205(int i); - - Class348_Sub42_Sub9(Interface14 interface14, int i) { - this.anInterface14_9559 = interface14; - this.anInt9556 = i; - } - - abstract boolean method3206(byte i); -} diff --git a/client/src/Class348_Sub42_Sub9_Sub1.java b/client/src/Class348_Sub42_Sub9_Sub1.java deleted file mode 100644 index 7682c91ac..000000000 --- a/client/src/Class348_Sub42_Sub9_Sub1.java +++ /dev/null @@ -1,60 +0,0 @@ -/* Class348_Sub42_Sub9_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub42_Sub9_Sub1 extends Class348_Sub42_Sub9 { - static int anInt10439; - private final Object anObject10440; - static int anInt10441; - static Class356 aClass356_10442; - static int anInt10443 = 2; - static int anInt10444; - static int anInt10445; - - final Object method3205(int i) { - if (i != 65536) method3205(-30); - anInt10441++; - return anObject10440; - } - - Class348_Sub42_Sub9_Sub1(Interface14 interface14, Object object, int i) { - super(interface14, i); - try { - anObject10440 = object; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ct.(" + (interface14 != null ? "{...}" : "null") + ',' + (object != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - final boolean method3206(byte i) { - int i_0_ = -50 / ((-63 - i) / 61); - anInt10445++; - return false; - } - - public static void method3207(byte i) { - int i_1_ = -126 % ((i - -27) / 61); - aClass356_10442 = null; - } - - static final void method3208(Class318_Sub1_Sub3_Sub3 class318_sub1_sub3_sub3, int i, int i_2_) { - anInt10439++; - if (class318_sub1_sub3_sub3.anIntArray10236 != null) { - int i_3_ = (class318_sub1_sub3_sub3.anIntArray10236[1 + i]); - if (i_3_ != class318_sub1_sub3_sub3.anInt10286) { - class318_sub1_sub3_sub3.anInt10322 = (class318_sub1_sub3_sub3.anInt10319); - class318_sub1_sub3_sub3.anInt10286 = i_3_; - class318_sub1_sub3_sub3.anInt10244 = 1; - class318_sub1_sub3_sub3.anInt10232 = 0; - class318_sub1_sub3_sub3.anInt10294 = 0; - class318_sub1_sub3_sub3.anInt10267 = 0; - if ((class318_sub1_sub3_sub3.anInt10286) != -1) Class287.method2178(class318_sub1_sub3_sub3, class318_sub1_sub3_sub3.anInt10267, (Class10.aClass87_191.method835(class318_sub1_sub3_sub3.anInt10286, 7)), -83); - } - } - if (i_2_ > -4) method3207((byte) -83); - } - - static { - aClass356_10442 = new Class356(8); - } -} diff --git a/client/src/Class348_Sub42_Sub9_Sub2.java b/client/src/Class348_Sub42_Sub9_Sub2.java deleted file mode 100644 index e4b69eda2..000000000 --- a/client/src/Class348_Sub42_Sub9_Sub2.java +++ /dev/null @@ -1,24 +0,0 @@ -/* Class348_Sub42_Sub9_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.lang.ref.SoftReference; - -final class Class348_Sub42_Sub9_Sub2 extends Class348_Sub42_Sub9 { - private SoftReference aSoftReference10446; - - final Object method3205(int i) { - if (i != 65536) aSoftReference10446 = null; - return aSoftReference10446.get(); - } - - final boolean method3206(byte i) { - int i_0_ = -88 % ((-63 - i) / 61); - return true; - } - - Class348_Sub42_Sub9_Sub2(Interface14 interface14, Object object, int i) { - super(interface14, i); - aSoftReference10446 = new SoftReference(object); - } -} diff --git a/client/src/Class348_Sub43.java b/client/src/Class348_Sub43.java deleted file mode 100644 index f216b5fd9..000000000 --- a/client/src/Class348_Sub43.java +++ /dev/null @@ -1,116 +0,0 @@ -/* Class348_Sub43 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub43 extends Class348 { - static Class348_Sub16_Sub4 aClass348_Sub16_Sub4_7065; - int anInt7066; - int anInt7067; - static int anInt7068; - int anInt7069; - int anInt7070; - int anInt7071; - int anInt7072; - static int anInt7073; - int anInt7074; - Class23 aClass23_7075; - int anInt7076; - Class348_Sub19_Sub1 aClass348_Sub19_Sub1_7077; - static int anInt7078; - static int[][][] anIntArrayArrayArray7079 = new int[2][][]; - int anInt7080; - Class348_Sub16_Sub5 aClass348_Sub16_Sub5_7081; - int anInt7082; - int anInt7083; - int anInt7084; - Class348_Sub17 aClass348_Sub17_7085; - int anInt7086; - int anInt7087; - int anInt7088; - int anInt7089; - int anInt7090; - - static final void method3298(byte i, boolean bool, Player player) { - anInt7073++; - if (Class73.anInt4776 < 400) { - if (Class132.aPlayer_1907 == player) { - if (r.aBoolean9722 && (Class38.anInt500 & 0x10) != 0) { - Class32.anInt450++; - Class50_Sub3.method466(false, (Class28.aString5000 + " -> " + Class274.aClass274_3520.method2063(Class348_Sub33.anInt6967, 544)), 0, (byte) -109, false, 0, -1, true, 50, player.anInt10290, Class28.aString5001, 0L, Class348_Sub49_Sub1.anInt9747); - } - } else { - String string; - if (player.anInt10564 == 0) { - boolean bool_0_ = true; - if ((Class132.aPlayer_1907.anInt10561) != -1 && player.anInt10561 != -1) { - int i_1_ = (Math.max(player.anInt10516, (Class132.aPlayer_1907.anInt10516))); - int i_2_ = (Math.min((Class132.aPlayer_1907.anInt10561), player.anInt10561)); - int i_3_ = 5 - (-(10 * i_1_ / 100) + -i_2_); - int i_4_ = (-player.anInt10516 + (Class132.aPlayer_1907.anInt10516)); - if (i_4_ < 0) i_4_ = -i_4_; - if (i_3_ < i_4_) bool_0_ = false; - } - String string_5_ = ((Class14_Sub4.aClass230_8638 == Class348_Sub42_Sub8_Sub2.aClass230_10434) ? Class274.aClass274_3513.method2063(Class348_Sub33.anInt6967, 544) : Class274.aClass274_3511.method2063(Class348_Sub33.anInt6967, 544)); - if (player.anInt10516 >= player.anInt10557) - string = (player.method2456(true, 255) + (!bool_0_ ? "" : (Class14_Sub4.method250((Class132.aPlayer_1907.anInt10516), true, (player.anInt10516)))) + " (" + string_5_ + player.anInt10516 + ")"); - else - string = (player.method2456(true, 255) + (bool_0_ ? (Class14_Sub4.method250((Class132.aPlayer_1907.anInt10516), true, (player.anInt10516))) : "") + " (" + string_5_ + player.anInt10516 + "+" + (-player.anInt10516 + player.anInt10557) + ")"); - } else if (player.anInt10564 == -1) string = player.method2456(true, 255); - else string = (player.method2456(true, 255) + " (" + Class274.aClass274_3512.method2063(Class348_Sub33.anInt6967, 544) + player.anInt10564 + ")"); - if (r.aBoolean9722 && !bool && (0x8 & Class38.anInt500) != 0) { - Class50_Sub3.method466(false, Class28.aString5000 + " -> " + string, 0, (byte) -109, false, 0, -1, true, 51, player.anInt10290, Class28.aString5001, player.anInt10290, Class348_Sub49_Sub1.anInt9747); - Class341.anInt4228++; - } - if (i <= 89) anInt7068 = -113; - if (bool) Class50_Sub3.method466(true, "", 0, (byte) -115, false, 0, 0, false, -1, player.anInt10290, "" + string, 0L, -1); - else { - for (int i_6_ = 7; i_6_ >= 0; i_6_--) { - if (Class318_Sub1_Sub2_Sub1.aStringArray10195[i_6_] != null) { - short i_7_ = 0; - if ((Class348_Sub42_Sub8_Sub2.aClass230_10434 != Class10.aClass230_186) || !(Class318_Sub1_Sub2_Sub1.aStringArray10195[i_6_].equalsIgnoreCase(Class274.aClass274_3506.method2063(Class348_Sub33.anInt6967, 544)))) { - if (Class71.aBooleanArray1214[i_6_]) i_7_ = (short) 2000; - } else { - if ((Class132.aPlayer_1907.anInt10516) < (player.anInt10516)) i_7_ = (short) 2000; - if ((Class132.aPlayer_1907.anInt10542) != 0 && (player.anInt10542) != 0) { - if ((player.anInt10542) != (Class132.aPlayer_1907.anInt10542)) i_7_ = (short) 0; - else i_7_ = (short) 2000; - } - } - short i_8_ = (short) (i_7_ + (Class348_Sub49_Sub2.aShortArray9768[i_6_])); - int i_9_ = (Canvas_Sub1.anIntArray60[i_6_] == -1 ? Class38.anInt506 : Canvas_Sub1.anIntArray60[i_6_]); - Class50_Sub3.method466(false, "" + string, 0, (byte) -105, false, 0, -1, true, i_8_, player.anInt10290, (Class318_Sub1_Sub2_Sub1.aStringArray10195[i_6_]), player.anInt10290, i_9_); - Canvas_Sub1.anInt69++; - } - } - } - if (!bool) { - for (Class348_Sub42_Sub12 class348_sub42_sub12 = (Class348_Sub42_Sub12) Class348_Sub40_Sub4.aClass262_9111.method1995(4); class348_sub42_sub12 != null; class348_sub42_sub12 = ((Class348_Sub42_Sub12) Class348_Sub40_Sub4.aClass262_9111.method1990((byte) 105))) { - if ((class348_sub42_sub12.anInt9608) == 19) { - class348_sub42_sub12.aString9595 = "" + string; - break; - } - } - } - } - } - } - - final void method3299(byte i) { - anInt7078++; - this.aClass348_Sub16_Sub5_7081 = null; - this.aClass348_Sub19_Sub1_7077 = null; - int i_10_ = 71 / ((i - -26) / 58); - this.aClass23_7075 = null; - this.aClass348_Sub17_7085 = null; - } - - public static void method3300(int i) { - anIntArrayArrayArray7079 = null; - aClass348_Sub16_Sub4_7065 = null; - if (i != 0) method3300(-61); - } - - static { - anInt7068 = 0; - } -} diff --git a/client/src/Class348_Sub44.java b/client/src/Class348_Sub44.java deleted file mode 100644 index 8c7c7db2c..000000000 --- a/client/src/Class348_Sub44.java +++ /dev/null @@ -1,65 +0,0 @@ -/* Class348_Sub44 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub44 extends Class348 { - static int anInt7091; - static int anInt7092; - int anInt7093; - static int anInt7094; - static int anInt7095; - static int anInt7096; - static int anInt7097; - int anInt7098; - static int anInt7099; - static int anInt7100; - static int anInt7101; - - final boolean method3301(int i, boolean bool) { - anInt7091++; - if (bool != false) anInt7092 = 29; - return (0x1 & this.anInt7098 >> i + 1) != 0; - } - - final boolean method3302(int i) { - if (i != 17356) method3305(8); - anInt7095++; - return (0x3df376 & this.anInt7098) >> 21 != 0; - } - - final boolean method3303(int i) { - anInt7094++; - if (i != 1) anInt7092 = -24; - return (this.anInt7098 & 0x433bfd) >> 22 != 0; - } - - final int method3304(byte i) { - anInt7099++; - if (i < 43) method3301(-16, false); - return (this.anInt7098 & 0x1f77eb) >> 18; - } - - final boolean method3305(int i) { - anInt7096++; - if (i != 0) return true; - return (0x1 & this.anInt7098) != 0; - } - - static final int method3306(byte i) { - if (i >= -90) anInt7101 = -7; - anInt7097++; - if (Class348_Sub49.anInt7207 == 1) return Class239_Sub16.anInt6008; - return Class107.anInt1651; - } - - final int method3307(int i) { - anInt7100++; - if (i < 10) this.anInt7093 = -51; - return Class348_Sub40_Sub5.method3060(this.anInt7098, true); - } - - Class348_Sub44(int i, int i_0_) { - this.anInt7093 = i_0_; - this.anInt7098 = i; - } -} diff --git a/client/src/Class348_Sub45.java b/client/src/Class348_Sub45.java deleted file mode 100644 index 22a6c0d45..000000000 --- a/client/src/Class348_Sub45.java +++ /dev/null @@ -1,59 +0,0 @@ -/* Class348_Sub45 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class348_Sub45 extends Class348 { - static int anInt7102 = 1400; - static Class304 aClass304_7103 = new Class304(3); - static int anInt7104; - static Class114 aClass114_7105 = new Class114(101, 20); - static Class114 aClass114_7106 = new Class114(36, -2); - static Class105[] aClass105Array7107; - static Class361[] aClass361Array7108 = new Class361[4]; - - abstract int method3308(byte i); - - static final void method3309(int i) { - Class354.anIntArrayArrayArray4356 = (new int[Class189.anInt2524][1 + Class318_Sub7.anInt6451] - [1 + Class348_Sub41.anInt7054]); - anInt7104++; - Class348_Sub44.anInt7101 = 0; - Class11.anInt194 = Class270.anInt3465; - Class318_Sub1_Sub3_Sub4.aClass338Array10330 = new Class338[2000]; - ha_Sub2.anInt7714 = Class270.anInt3465; - Class50_Sub1.aBoolean5226 = false; - Class147.aClass338Array2034 = new Class338[500]; - Class69.anInt1200 = 0; - Class239_Sub26.anInt6115 = 0; - Class294.aClass338Array5060 = new Class338[1000]; - if (i > -113) aClass304_7103 = null; - Class348_Sub42_Sub10.anInt9577 = 0; - Class348_Sub42_Sub19.aClass338Array9700 = new Class338[(int) (500 * Loader.RENDER_DISTANCE_MULTIPLIER)]; - Class348_Sub40_Sub23.aBoolean9307 = !(Class9.aHa171 instanceof oa); - } - - public Class348_Sub45() { - /* empty */ - } - - abstract int method3310(int i); - - abstract int method3311(int i); - - abstract long method3312(byte i); - - static final void method3313(int i, s var_s) { - aa_Sub1.aSArray5191[i] = var_s; - } - - public static void method3314(int i) { - aClass114_7106 = null; - if (i != 5) method3313(-103, null); - aClass114_7105 = null; - aClass361Array7108 = null; - aClass105Array7107 = null; - aClass304_7103 = null; - } - - abstract int method3315(int i); -} diff --git a/client/src/Class348_Sub45_Sub1.java b/client/src/Class348_Sub45_Sub1.java deleted file mode 100644 index d722f47bd..000000000 --- a/client/src/Class348_Sub45_Sub1.java +++ /dev/null @@ -1,36 +0,0 @@ -/* Class348_Sub45_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub45_Sub1 extends Class348_Sub45 { - int anInt9725; - long aLong9726; - int anInt9727; - int anInt9728; - int anInt9729; - - final int method3310(int i) { - if (i < 50) return 113; - return this.anInt9728; - } - - final long method3312(byte i) { - if (i > -79) method3308((byte) -8); - return this.aLong9726; - } - - final int method3311(int i) { - int i_0_ = 48 % ((i - -61) / 40); - return this.anInt9725; - } - - final int method3315(int i) { - if (i != 0) return 57; - return this.anInt9727; - } - - final int method3308(byte i) { - if (i >= -126) return -80; - return this.anInt9729; - } -} diff --git a/client/src/Class348_Sub45_Sub2.java b/client/src/Class348_Sub45_Sub2.java deleted file mode 100644 index ad646df17..000000000 --- a/client/src/Class348_Sub45_Sub2.java +++ /dev/null @@ -1,53 +0,0 @@ -/* Class348_Sub45_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub45_Sub2 extends Class348_Sub45 { - int anInt9730; - static int anInt9731; - static int anInt9732; - int anInt9733; - long aLong9734; - static int anInt9735; - int anInt9736; - static int anInt9737; - static int anInt9738; - int anInt9739; - static int anInt9740; - - final int method3310(int i) { - anInt9731++; - if (i < 50) this.anInt9739 = 69; - return this.anInt9736; - } - - static final void method3316(int i, int i_0_) { - anInt9732++; - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i_0_, (byte) 105, 3); - if (i > 108) class348_sub42_sub15.method3251(-16058); - } - - final int method3311(int i) { - anInt9740++; - int i_1_ = 49 / ((-61 - i) / 40); - return this.anInt9733; - } - - final int method3308(byte i) { - anInt9735++; - if (i > -126) this.anInt9739 = 25; - return this.anInt9739; - } - - final long method3312(byte i) { - if (i > -79) return 102L; - anInt9737++; - return this.aLong9734; - } - - final int method3315(int i) { - if (i != 0) this.anInt9739 = 66; - anInt9738++; - return this.anInt9730; - } -} diff --git a/client/src/Class348_Sub46.java b/client/src/Class348_Sub46.java deleted file mode 100644 index 2bc998a80..000000000 --- a/client/src/Class348_Sub46.java +++ /dev/null @@ -1,91 +0,0 @@ -/* Class348_Sub46 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub46 extends Class348 { - static int anInt7109; - static int anInt7110; - String aString7111; - static int anInt7112; - static Class114 aClass114_7113 = new Class114(97, 0); - static int anInt7114; - static int anInt7115 = 1; - - static final void method3317(byte i) { - if (Class299_Sub1.aFileOutputStream6323 != null) { - try { - Class299_Sub1.aFileOutputStream6323.close(); - } catch (java.io.IOException ioexception) { - /* empty */ - } - } - if (i > -33) method3321(-73, 3, 6); - anInt7110++; - Class299_Sub1.aFileOutputStream6323 = null; - } - - public static void method3318(byte i) { - if (i != -80) method3322(-26, null); - aClass114_7113 = null; - } - - static final void method3319(ha var_ha, byte i) { - if (i > -108) method3321(19, 60, 108); - anInt7114++; - if (((Class132.aPlayer_1907.plane) != Class334.anInt4155) && Class147.aClass357ArrayArrayArray2029 != null) { - if (Class348_Sub14.method2808((Class132.aPlayer_1907.plane), var_ha, true)) Class334.anInt4155 = Class132.aPlayer_1907.plane; - } - } - - static final void method3320(Class318_Sub1_Sub3 class318_sub1_sub3, boolean bool) { - for (int i = class318_sub1_sub3.aShort8743; i <= class318_sub1_sub3.aShort8751; i++) { - for (int i_0_ = class318_sub1_sub3.aShort8750; i_0_ <= class318_sub1_sub3.aShort8747; i_0_++) { - Class357 class357 = (Class147.aClass357ArrayArrayArray2029[class318_sub1_sub3.plane][i][i_0_]); - if (class357 != null) { - Class148 class148 = class357.aClass148_4396; - Class148 class148_1_ = null; - for (/**/; class148 != null; class148 = class148.aClass148_2038) { - if (class148.aClass318_Sub1_Sub3_2040 == class318_sub1_sub3) { - if (class148_1_ != null) class148_1_.aClass148_2038 = class148.aClass148_2038; - else class357.aClass148_4396 = class148.aClass148_2038; - class148.method1199((byte) -106); - break; - } - class148_1_ = class148; - } - } - } - } - if (!bool) Class183.method1376(class318_sub1_sub3); - } - - static final Class357 method3321(int i, int i_2_, int i_3_) { - if (Class147.aClass357ArrayArrayArray2029[i][i_2_][i_3_] == null) { - boolean bool = (Class147.aClass357ArrayArrayArray2029[0][i_2_][i_3_] != null && Class147.aClass357ArrayArrayArray2029[0][i_2_][i_3_].aClass357_4400 != null); - if (bool && i >= Class189.anInt2524 - 1) return null; - Class185.method1394(i, i_2_, i_3_); - } - return Class147.aClass357ArrayArrayArray2029[i][i_2_][i_3_]; - } - - static final Class369_Sub3 method3322(int i, Class348_Sub49 class348_sub49) { - anInt7109++; - Class369 class369 = Class348_Sub16_Sub2.method2834((byte) -125, class348_sub49); - int i_4_ = class348_sub49.readUnsignedShort(i ^ 0x3235f8f8); - int i_5_ = class348_sub49.readUnsignedShort(842397944); - if (i != 0) aClass114_7113 = null; - int i_6_ = class348_sub49.readUnsignedShort(842397944); - int i_7_ = class348_sub49.readUnsignedShort(i + 842397944); - int i_8_ = class348_sub49.readUnsignedShort(842397944); - int i_9_ = class348_sub49.readUnsignedShort(842397944); - return new Class369_Sub3(class369.aClass221_4968, class369.aClass341_4973, class369.anInt4970, class369.anInt4959, class369.anInt4971, class369.anInt4963, class369.anInt4966, class369.anInt4965, class369.anInt4961, i_4_, i_5_, i_6_, i_7_, i_8_, i_9_); - } - - public Class348_Sub46() { - /* empty */ - } - - Class348_Sub46(String string, int i) { - this.aString7111 = string; - } -} diff --git a/client/src/Class348_Sub47.java b/client/src/Class348_Sub47.java deleted file mode 100644 index 308549624..000000000 --- a/client/src/Class348_Sub47.java +++ /dev/null @@ -1,76 +0,0 @@ -/* Class348_Sub47 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; - -final class Class348_Sub47 extends Class348 { - Class348_Sub49_Sub2 aClass348_Sub49_Sub2_7116; - static int anInt7117; - Class351 aClass351_7118; - int anInt7119; - static int anInt7120; - static int anInt7121; - int anInt7122; - static int anInt7123; - static Class114 aClass114_7124 = new Class114(62, 4); - static int anInt7125 = 1406; - - public static void method3323(int i) { - int i_0_ = -14 / ((73 - i) / 51); - aClass114_7124 = null; - } - - static final void method3324(ha var_ha, byte i, long l) { - do { - try { - Class122.anInt1803 = 0; - Class292.anInt4797 = Class313.anInt3936; - Class318_Sub1_Sub5.anInt8780 = 0; - anInt7120++; - Class313.anInt3936 = 0; - long l_1_ = Class62.method599(-53); - Class318_Sub10 class318_sub10 = (Class318_Sub10) Class152.aClass243_2077.method1872(8); - if (i > 40) { - for (/**/; class318_sub10 != null; class318_sub10 = (Class318_Sub10) Class152.aClass243_2077.method1878((byte) -64)) { - if (class318_sub10.method2535(var_ha, l)) Class318_Sub1_Sub5.anInt8780++; - } - if (!Class348_Sub16_Sub2.aBoolean8874 || l % 100L != 0) break; - System.out.println("Particle system count: " + Class152.aClass243_2077.method1874(0) + ", running: " + Class318_Sub1_Sub5.anInt8780); - System.out.println("Emitters: " + Class122.anInt1803 + " Particles: " + Class313.anInt3936 + ". Time taken: " + (-l_1_ + Class62.method599(-112)) + "ms"); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wm.A(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + l + ')')); - } - break; - } while (false); - } - - static final boolean method3325(int i, int i_2_, boolean bool) { - if (bool != true) return false; - anInt7121++; - return (((0x2000 & i) != 0 | Class156.method1241(i_2_, i, -118) | Class239_Sub1.method1722(i, i_2_, (byte) 94)) & aa_Sub3.method166((byte) 105, i_2_, i)); - } - - final void method3326(byte i) { - anInt7117++; - if (Class176.aClass348_Sub47Array2334.length > Class239_Sub13.anInt5980 && i == -45) Class176.aClass348_Sub47Array2334[Class239_Sub13.anInt5980++] = this; - } - - static final void method3327(int i) { - if (i == 1406) { - if (Class348_Sub8.aHa6654.method3694()) { - Class348_Sub8.aHa6654.method3701(Class305.aCanvas3869); - Class348_Sub22.method2959(-1); - if (!Class59_Sub1.aBoolean5300) { - Dimension dimension = Class305.aCanvas3869.getSize(); - Class348_Sub8.aHa6654.method3643(Class305.aCanvas3869, dimension.width, dimension.height); - } else Class124.method1108((byte) -99, Class305.aCanvas3869); - Class348_Sub8.aHa6654.method3677(Class305.aCanvas3869); - } else Class367_Sub10.method3553(false, (byte) 100, Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350)); - anInt7123++; - Class354.method3466(i + -1347); - Class348_Sub16_Sub2.aBoolean8870 = true; - } - } -} diff --git a/client/src/Class348_Sub48.java b/client/src/Class348_Sub48.java deleted file mode 100644 index 9b11a6884..000000000 --- a/client/src/Class348_Sub48.java +++ /dev/null @@ -1,25 +0,0 @@ -/* Class348_Sub48 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub48 extends Class348 { - int anInt7126; - Class144[] aClass144Array7127; - byte[][][] aByteArrayArrayArray7128; - static int anInt7129 = 0; - int anInt7130; - int[] anIntArray7131; - int[] anIntArray7132; - static int anInt7133; - static int anInt7134; - Class144[] aClass144Array7135; - int[] anIntArray7136; - - static final void method3328(Class324 class324) { - Class362.aClass324_4456 = class324; - } - - public Class348_Sub48() { - /* empty */ - } -} diff --git a/client/src/Class348_Sub49.java b/client/src/Class348_Sub49.java deleted file mode 100644 index adae194c0..000000000 --- a/client/src/Class348_Sub49.java +++ /dev/null @@ -1,760 +0,0 @@ -/* Class348_Sub49 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.math.BigInteger; - -class Class348_Sub49 extends Class348 { - static int anInt7137; - static int anInt7138; - static int anInt7139; - static int anInt7140; - static int anInt7141; - static int anInt7142; - static int anInt7143; - static int anInt7144; - static int anInt7145; - static int anInt7146; - static int anInt7147; - static int anInt7148; - static int anInt7149; - static int anInt7150; - static int anInt7151; - static int anInt7152; - static int anInt7153; - byte[] aByteArray7154; - static int anInt7155; - static int anInt7156; - static int anInt7157; - static int anInt7158; - static int anInt7159; - static int anInt7160; - static int anInt7161; - static int anInt7162; - static int anInt7163; - static int anInt7164; - static int anInt7165; - static int anInt7166; - static int anInt7167; - static int anInt7168; - static int anInt7169; - static int anInt7170; - static int anInt7171; - static int anInt7172; - static int anInt7173; - static int anInt7174; - static Class223 aClass223_7175 = new Class223(1, 2); - static int anInt7176; - static int anInt7177; - static int anInt7178; - static int anInt7179; - static int anInt7180; - static int anInt7181; - static int anInt7182; - static int anInt7183; - static int anInt7184; - static int anInt7185; - static int anInt7186; - static int anInt7187; - static int anInt7188; - static int anInt7189; - static int anInt7190; - static int anInt7191; - static int anInt7192; - static int anInt7193; - static int anInt7194; - static int anInt7195; - static int anInt7196; - int anInt7197; - static int anInt7198; - static int anInt7199; - static int anInt7200; - static int anInt7201; - static int anInt7202; - static int anInt7203; - static int anInt7204; - static int anInt7205; - static long[] aLongArray7206 = new long[32]; - static int anInt7207; - static int anInt7208; - static int anInt7209; - - final int readByteInverse(byte i) { - anInt7163++; - if (i != 21) return -10; - return (-(this.aByteArray7154[this.anInt7197++]) & 0xff); - } - - final int readUnsignedShort(int i) { - if (i != 842397944) return 111; - this.anInt7197 += 2; - anInt7186++; - return ((0xff & (this.aByteArray7154[-1 + this.anInt7197])) + ((this.aByteArray7154[-2 + this.anInt7197]) << 8 & 0xff00)); - } - - static final int method3331(int i, byte i_0_, int i_1_) { - anInt7161++; - int i_2_ = 1; - for (/**/; i > 1; i >>= 1) { - if ((0x1 & i) != 0) i_2_ *= i_1_; - i_1_ *= i_1_; - } - int i_3_ = 3 / ((i_0_ - -24) / 46); - if (i == 1) return i_2_ * i_1_; - return i_2_; - } - - final long method3332(byte i) { - if (i <= 88) return -9L; - anInt7179++; - long l = 0xffffffffL & (long) method3359(-45); - long l_4_ = 0xffffffffL & (long) method3359(-99); - return (l_4_ << 32) + l; - } - - final void writeString(byte i, String string) { - anInt7172++; - if (i != -5) this.aByteArray7154 = null; - int i_5_ = string.indexOf('\0'); - if (i_5_ >= 0) throw new IllegalArgumentException("NUL character at " + i_5_ + " - cannot pjstr"); - this.anInt7197 += Class348_Sub42_Sub16.method3255(0, (this.aByteArray7154), string.length(), false, string, (this.anInt7197)); - this.aByteArray7154[this.anInt7197++] = (byte) 0; - } - - final int method3334(int i) { - anInt7208++; - int i_6_ = 0; - int i_7_; - for (i_7_ = readSmart(-124); i_7_ == 32767; i_7_ = readSmart(-127)) - i_6_ += 32767; - int i_8_ = 112 % (i / 49); - i_6_ += i_7_; - return i_6_; - } - - final void writeShortAdd(int i, int i_9_) { - anInt7156++; - this.aByteArray7154[this.anInt7197++] = (byte) (i_9_ >> 8); - int i_10_ = -35 % ((-17 - i) / 48); - this.aByteArray7154[this.anInt7197++] = (byte) (128 + i_9_); - } - - final void writeIntMiddle(int i, byte i_11_) { - anInt7162++; - this.aByteArray7154[this.anInt7197++] = (byte) (i >> 8); - this.aByteArray7154[this.anInt7197++] = (byte) i; - this.aByteArray7154[this.anInt7197++] = (byte) (i >> 24); - this.aByteArray7154[this.anInt7197++] = (byte) (i >> 16); - if (i_11_ != 44) anInt7207 = 1; - } - - final void writeShort(byte i, int i_12_) { - anInt7145++; - if (i != 107) method3354(20); - this.aByteArray7154[this.anInt7197++] = (byte) (i_12_ >> 8); - this.aByteArray7154[this.anInt7197++] = (byte) i_12_; - } - - final void method3338(int i, int i_13_) { - this.aByteArray7154[-4 + this.anInt7197 - i_13_] = (byte) (i_13_ >> 24); - anInt7200++; - this.aByteArray7154[this.anInt7197 - i_13_ - 3] = (byte) (i_13_ >> 16); - this.aByteArray7154[this.anInt7197 - (i_13_ - -2)] = (byte) (i_13_ >> 8); - this.aByteArray7154[i + (this.anInt7197 + -i_13_)] = (byte) i_13_; - } - - final void method3339(int i, int i_14_) { - if (i > 91) { - this.aByteArray7154[this.anInt7197 - i_14_ + -1] = (byte) i_14_; - anInt7185++; - } - } - - final void method3340(int i, int i_15_) { - this.aByteArray7154[this.anInt7197++] = (byte) (i_15_ >> 16); - anInt7148++; - this.aByteArray7154[this.anInt7197++] = (byte) (i_15_ >> 8); - if (i == -9912) this.aByteArray7154[this.anInt7197++] = (byte) i_15_; - } - - final byte method3341(int i) { - if (i != -8679) aClass223_7175 = null; - anInt7195++; - return (byte) (-128 + (this.aByteArray7154[this.anInt7197++])); - } - - final int readUnsignedByteSubtract(byte i) { - anInt7174++; - int i_16_ = 27 / ((-33 - i) / 51); - return (-(this.aByteArray7154[this.anInt7197++]) + 128 & 0xff); - } - - final int readIntMiddleEndian(byte i) { - this.anInt7197 += 4; - anInt7184++; - if (i != 82) readSmart(-12); - return ((0xff0000 & (this.aByteArray7154[this.anInt7197 - 1]) << 16) + (((this.aByteArray7154[this.anInt7197 - 2]) << 24 & ~0xffffff) + ((0xff & (this.aByteArray7154[this.anInt7197 + -4])) << 8) + (0xff & (this.aByteArray7154[this.anInt7197 - 3])))); - } - - final int method3344(int i, boolean bool) { - anInt7165++; - if (bool != false) this.aByteArray7154 = null; - int i_17_ = Class171.method1319(this.anInt7197, true, this.aByteArray7154, i); - writeInt((byte) 93, i_17_); - return i_17_; - } - - final byte readByteSubtract(int i) { - if (i != -27697) anInt7207 = -57; - anInt7138++; - return (byte) (-(this.aByteArray7154[this.anInt7197++]) + 128); - } - - final int readIntInverseMiddle(int i) { - this.anInt7197 += 4; - anInt7194++; - if (i != 255) return 93; - return (((0xff & (this.aByteArray7154[-1 + this.anInt7197])) << 8) + (((this.aByteArray7154[-3 + this.anInt7197]) & 0xff) << 24) - (-((0xff & (this.aByteArray7154[this.anInt7197 - 4])) << 16) + -(0xff & (this.aByteArray7154[this.anInt7197 - 2])))); - } - - final void method3347(byte[] is, int i, int i_18_, byte i_19_) { - anInt7183++; - for (int i_20_ = -1 + i_18_ + i; i_20_ >= i; i_20_--) - is[i_20_] = (this.aByteArray7154[this.anInt7197++]); - int i_21_ = -53 / ((i_19_ - -72) / 47); - } - - final void writeIntLittle(int i, int i_22_) { - this.aByteArray7154[this.anInt7197++] = (byte) i_22_; - anInt7164++; - this.aByteArray7154[this.anInt7197++] = (byte) (i_22_ >> 8); - this.aByteArray7154[this.anInt7197++] = (byte) (i_22_ >> 16); - this.aByteArray7154[this.anInt7197++] = (byte) (i_22_ >> 24); - int i_23_ = -32 / ((-74 - i) / 44); - } - - final void writeShortAddLittle(int i, int i_24_) { - if (i == 4325) { - anInt7198++; - this.aByteArray7154[this.anInt7197++] = (byte) (i_24_ - -128); - this.aByteArray7154[this.anInt7197++] = (byte) (i_24_ >> 8); - } - } - - final void method3350(int i, boolean bool, int[] is, int i_25_) { - anInt7137++; - int i_26_ = this.anInt7197; - this.anInt7197 = i; - int i_27_ = (-i + i_25_) / 8; - for (int i_28_ = 0; i_27_ > i_28_; i_28_++) { - int i_29_ = readInt((byte) -126); - int i_30_ = readInt((byte) -126); - int i_31_ = 0; - int i_32_ = -1640531527; - int i_33_ = 32; - while (i_33_-- > 0) { - i_29_ += (i_31_ - -is[i_31_ & 0x3] ^ (i_30_ >>> 5 ^ i_30_ << 4) - -i_30_); - i_31_ += i_32_; - i_30_ += (i_31_ - -is[(0x1a0b & i_31_) >>> 11] ^ i_29_ + (i_29_ >>> 5 ^ i_29_ << 4)); - } - this.anInt7197 -= 8; - writeInt((byte) 91, i_29_); - writeInt((byte) 98, i_30_); - } - if (bool != true) method3394(88, 83); - this.anInt7197 = i_26_; - } - - final int readMedium(int i) { - this.anInt7197 += 3; - anInt7203++; - if (i != -1) return -52; - return ((0xff00 & (this.aByteArray7154[-2 + this.anInt7197]) << 8) + ((((this.aByteArray7154[-3 + this.anInt7197]) & 0xff) << 16) - -((this.aByteArray7154[-1 + this.anInt7197]) & 0xff))); - } - - final boolean method3352(int i) { - anInt7168++; - this.anInt7197 -= 4; - if (i != -25541) method3369((byte) 56); - int i_34_ = Class171.method1319(this.anInt7197, true, this.aByteArray7154, 0); - int i_35_ = readInt((byte) -126); - return i_35_ == i_34_; - } - - final void writeShortLittle(int i, byte i_36_) { - this.aByteArray7154[this.anInt7197++] = (byte) i; - if (i_36_ != 3) this.aByteArray7154 = null; - anInt7151++; - this.aByteArray7154[this.anInt7197++] = (byte) (i >> 8); - } - - static final void method3354(int i) { - if (Class348_Sub34.aHa6968 != null) { - Class348_Sub34.aHa6968.method3635((byte) -44); - Class348_Sub40_Sub9.aClass324_9173 = null; - Class348_Sub34.aHa6968 = null; - } - int i_37_ = -97 % ((i - -14) / 37); - anInt7173++; - } - - final int readShortAdd(int i) { - anInt7158++; - int i_38_ = -108 / ((i - 73) / 50); - this.anInt7197 += 2; - return (((this.aByteArray7154[-2 + this.anInt7197]) << 8 & 0xff00) - -(0xff & -128 + (this.aByteArray7154[this.anInt7197 + -1]))); - } - - final void writeIntInverseMiddle(int i, int i_39_) { - anInt7190++; - this.aByteArray7154[this.anInt7197++] = (byte) (i >> 16); - this.aByteArray7154[this.anInt7197++] = (byte) (i >> 24); - this.aByteArray7154[this.anInt7197++] = (byte) i; - if (i_39_ != -4086) readShort(24); - this.aByteArray7154[this.anInt7197++] = (byte) (i >> 8); - } - - final void method3357(int i, long l, byte i_40_) { - try { - anInt7193++; - if (--i < 0 || i > 7) throw new IllegalArgumentException(); - int i_41_ = 101 % ((-11 - i_40_) / 49); - for (int i_42_ = 8 * i; i_42_ >= 0; i_42_ -= 8) - this.aByteArray7154[this.anInt7197++] = (byte) (int) (l >> i_42_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("cea.JB(" + i + ',' + l + ',' + i_40_ + ')')); - } - } - - final int readShortAddLittle(int i) { - anInt7181++; - if (i > -105) this.aByteArray7154 = null; - this.anInt7197 += 2; - return (((this.aByteArray7154[this.anInt7197 + -2]) - 128 & 0xff) + ((this.aByteArray7154[-1 + this.anInt7197]) << 8 & 0xff00)); - } - - final int method3359(int i) { - if (i > -17) aLongArray7206 = null; - anInt7188++; - this.anInt7197 += 4; - return (((this.aByteArray7154[-3 + this.anInt7197]) << 8 & 0xff00) + ((this.aByteArray7154[this.anInt7197 - 1]) << 24 & ~0xffffff) + (((0xff & (this.aByteArray7154[this.anInt7197 + -2])) << 16) + ((this.aByteArray7154[-4 + this.anInt7197]) & 0xff))); - } - - final void method3360(byte i) { - if (this.aByteArray7154 != null) Class37.method357(0, this.aByteArray7154); - anInt7177++; - this.aByteArray7154 = null; - if (i != -69) method3344(-115, true); - } - - final byte readByteInverse(int i) { - anInt7150++; - if (i != -622951480) aClass223_7175 = null; - return (byte) -(this.aByteArray7154[this.anInt7197++]); - } - - final int method3362(byte i) { - anInt7155++; - int i_43_ = ((this.aByteArray7154[this.anInt7197]) & 0xff); - if (i != 77) readByte(-48); - if (i_43_ < 128) return -64 + readUnsignedByte(255); - return readUnsignedShort(i ^ 0x3235f8b5) - 49152; - } - - final int method3363(int i) { - this.anInt7197 += 3; - anInt7144++; - if (i != -13309) method3379(94, 83); - return (((this.aByteArray7154[this.anInt7197 - 3]) & 0xff) + (((this.aByteArray7154[-2 + this.anInt7197]) << 8 & 0xff00) + ((this.aByteArray7154[-1 + this.anInt7197]) << 16 & 0xff0000))); - } - - final int readIntLittle(byte i) { - if (i > -117) this.anInt7197 = 61; - this.anInt7197 += 4; - anInt7167++; - return ((0xff & (this.aByteArray7154[this.anInt7197 - 4])) + (((0xff & (this.aByteArray7154[-3 + this.anInt7197])) << 8) + (~0xffffff & ((this.aByteArray7154[this.anInt7197 - 1]) << 24)) + (((this.aByteArray7154[this.anInt7197 - 2]) & 0xff) << 16))); - } - - final long readLong(int i) { - anInt7149++; - if (i != -456577760) return 14L; - long l = 0xffffffffL & (long) readInt((byte) -126); - long l_44_ = (long) readInt((byte) -126) & 0xffffffffL; - return l_44_ + (l << 32); - } - - final int method3366(byte i) { - anInt7170++; - int i_45_ = (this.aByteArray7154[this.anInt7197++]); - int i_46_ = 0; - if (i < 23) return -99; - for (/**/; i_45_ < 0; i_45_ = (this.aByteArray7154[this.anInt7197++])) - i_46_ = (0x7f & i_45_ | i_46_) << 7; - return i_46_ | i_45_; - } - - final void method3367(int i, int[] is, int i_47_, int i_48_) { - anInt7178++; - int i_49_ = this.anInt7197; - this.anInt7197 = i_47_; - int i_50_ = (i_48_ + -i_47_) / 8; - for (int i_51_ = 0; i_50_ > i_51_; i_51_++) { - int i_52_ = readInt((byte) -126); - int i_53_ = readInt((byte) -126); - int i_54_ = -957401312; - int i_55_ = -1640531527; - int i_56_ = 32; - while (i_56_-- > 0) { - i_53_ -= ((i_52_ << 4 ^ i_52_ >>> 5) + i_52_ ^ i_54_ - -is[0x4d000003 & i_54_ >>> 11]); - i_54_ -= i_55_; - i_52_ -= (i_54_ - -is[i_54_ & 0x3] ^ (i_53_ << 4 ^ i_53_ >>> 5) - -i_53_); - } - this.anInt7197 -= 8; - writeInt((byte) 113, i_52_); - writeInt((byte) 126, i_53_); - } - if (i == 607818341) this.anInt7197 = i_49_; - } - - final long method3368(int i, int i_57_) { - i--; - anInt7191++; - if (i < 0 || i > 7) throw new IllegalArgumentException(); - if (i_57_ != 3060) return 99L; - int i_58_ = 8 * i; - long l = 0L; - for (/**/; i_58_ >= 0; i_58_ -= 8) - l |= ((long) (this.aByteArray7154[this.anInt7197++]) & 0xffL) << i_58_; - return l; - } - - final int method3369(byte i) { - if (i != 125) return 100; - anInt7139++; - this.anInt7197 += 3; - int i_59_ = (((this.aByteArray7154[this.anInt7197 - 1]) & 0xff) + ((0xff0000 & ((this.aByteArray7154[this.anInt7197 + -3]) << 16)) + ((0xff & (this.aByteArray7154[this.anInt7197 + -2])) << 8))); - if (i_59_ > 8388607) i_59_ -= 16777216; - return i_59_; - } - - final void writeByteSubtract(byte i, int i_60_) { - int i_61_ = -4 % ((-35 - i) / 33); - anInt7142++; - this.aByteArray7154[this.anInt7197++] = (byte) (-i_60_ + 128); - } - - final String method3371(int i) { - anInt7152++; - byte i_62_ = (this.aByteArray7154[this.anInt7197++]); - if (i_62_ != 0) throw new IllegalStateException("Bad version number in gjstr2"); - int i_63_ = this.anInt7197; - while ((this.aByteArray7154[this.anInt7197++]) != 0) { - /* empty */ - } - int i_64_ = this.anInt7197 - (i_63_ + 1); - if (i != -13487) writeInt((byte) 10, -125); - if (i_64_ == 0) return ""; - return Class367_Sub8.method3546(this.aByteArray7154, 0, i_64_, i_63_); - } - - final int readShort(int i) { - anInt7204++; - if (i != 13638) method3350(-23, true, null, -10); - this.anInt7197 += 2; - int i_65_ = (((this.aByteArray7154[this.anInt7197 - 1]) & 0xff) + (((this.aByteArray7154[-2 + this.anInt7197]) & 0xff) << 8)); - if (i_65_ > 32767) i_65_ -= 65536; - return i_65_; - } - - final int readShortLittle(boolean bool) { - if (bool != false) return 113; - anInt7171++; - this.anInt7197 += 2; - return ((0xff00 & (this.aByteArray7154[this.anInt7197 - 1]) << 8) + ((this.aByteArray7154[-2 + this.anInt7197]) & 0xff)); - } - - final void writeByteInverse(byte i, int i_66_) { - this.aByteArray7154[this.anInt7197++] = (byte) -i_66_; - if (i >= -27) this.aByteArray7154 = null; - anInt7140++; - } - - final int method3375(byte i) { - anInt7187++; - this.anInt7197 += 2; - int i_67_ = ((0xff & -128 + (this.aByteArray7154[this.anInt7197 - 1])) + (((this.aByteArray7154[-2 + this.anInt7197]) & 0xff) << 8)); - if (i != 84) return 85; - if (i_67_ > 32767) i_67_ -= 65536; - return i_67_; - } - - public static void method3376(int i) { - aLongArray7206 = null; - aClass223_7175 = null; - if (i != -2) method3376(-87); - } - - final String readString(byte i) { - anInt7166++; - int i_68_ = -81 / ((i - 30) / 52); - int i_69_ = this.anInt7197; - while ((this.aByteArray7154[this.anInt7197++]) != 0) { - /* empty */ - } - int i_70_ = -1 + this.anInt7197 - i_69_; - if (i_70_ == 0) return ""; - return Class367_Sub8.method3546(this.aByteArray7154, 0, i_70_, i_69_); - } - - final void writeByte(boolean bool, int i) { - anInt7160++; - this.aByteArray7154[this.anInt7197++] = (byte) i; - if (bool != false) this.anInt7197 = -121; - } - - static final void method3379(int i, int i_71_) { - anInt7201++; - if (i_71_ != Class240.anInt4674) { - if (i_71_ == 13) { - if (Class348_Sub23_Sub3.aString9043 != null) Class135_Sub2.method1157(RuntimeException_Sub1.anInt4596, (byte) -81); - else Class253.method1922(Class186.aString2496, RuntimeException_Sub1.anInt4596, Class64_Sub3.aString5600, true); - } - if (i_71_ != 13 && Class213.aClass238_2773 != null) { - Class213.aClass238_2773.method1700((byte) 36); - Class213.aClass238_2773 = null; - } - if (i_71_ == 3) Class348_Sub42_Sub8.method3198((Class285.anInt4737 != r.anInt9721), (byte) -45); - if (i_71_ == 7) Class107.method1006((r.anInt9721 != Class54.anInt970), (byte) 102); - if (i_71_ == 5) { - if (Class348_Sub23_Sub3.aString9043 == null) Class151.method1213(Class64_Sub3.aString5600, Class186.aString2496, -124); - else Class182.method1372(-1); - } else if (i_71_ != 6) { - if (i_71_ == 9) { - if (Class348_Sub23_Sub3.aString9043 != null) Class135_Sub2.method1157((RuntimeException_Sub1.anInt4596), (byte) -120); - else Class253.method1922(Class186.aString2496, RuntimeException_Sub1.anInt4596, Class64_Sub3.aString5600, true); - } else if (i_71_ == 12) { - if (Class348_Sub23_Sub3.aString9043 == null) Class151.method1213(Class64_Sub3.aString5600, Class186.aString2496, -98); - else Class182.method1372(-1); - } - } else if (Class348_Sub23_Sub3.aString9043 == null) Class253.method1922(Class186.aString2496, RuntimeException_Sub1.anInt4596, Class64_Sub3.aString5600, true); - else Class135_Sub2.method1157(RuntimeException_Sub1.anInt4596, (byte) -99); - if (Class318_Sub1_Sub1_Sub2.method2402(Class240.anInt4674, (byte) -78)) { - Class95.aClass45_1541.anInt634 = 2; - Class247.aClass45_3183.anInt634 = 2; - Class94.aClass45_1538.anInt634 = 2; - Class216.aClass45_4975.anInt634 = 2; - Class174.aClass45_2306.anInt634 = 2; - r_Sub2.aClass45_10480.anInt634 = 2; - Class78.aClass45_1322.anInt634 = 2; - } - if (Class318_Sub1_Sub1_Sub2.method2402(i_71_, (byte) -119)) { - Class31.anInt443 = 1; - Class36.anInt489 = 0; - Class348_Sub46.anInt7115 = 1; - Class154.anInt2101 = 0; - Class268.anInt3441 = 0; - Class348_Sub42_Sub3.method3177(-111, true); - Class95.aClass45_1541.anInt634 = 1; - Class247.aClass45_3183.anInt634 = 1; - Class94.aClass45_1538.anInt634 = 1; - Class216.aClass45_4975.anInt634 = 1; - Class174.aClass45_2306.anInt634 = 1; - r_Sub2.aClass45_10480.anInt634 = 1; - Class78.aClass45_1322.anInt634 = 1; - } - if (i_71_ == 11 || i_71_ == 3) Class348_Sub40_Sub16.method3088(9); - boolean bool = (i == i_71_ || Class348_Sub42_Sub8.method3196(i_71_, i ^ ~0x58) || Class340.method2672(i_71_, -100)); - boolean bool_72_ = (Class240.anInt4674 == 2 || Class348_Sub42_Sub8.method3196(Class240.anInt4674, -110) || Class340.method2672(Class240.anInt4674, -128)); - if (bool != bool_72_) { - if (bool) { - Class267.anInt3428 = Class345.anInt4270; - if (Class316.aClass348_Sub51_3959.aClass239_Sub26_7245.method1838(-32350) != 0) { - Class315.method2355(Class316.aClass348_Sub51_3959.aClass239_Sub26_7245.method1838(-32350), (byte) 50, false, Class59_Sub2_Sub1.aClass45_8667, Class345.anInt4270, 0, 2); - Class348_Sub40_Sub17_Sub1.method3093(i ^ 0x66); - } else Class348_Sub31.method3007(2, 22684); - Class348_Sub4.aClass248_6601.method1892(-117, false); - } else { - Class348_Sub31.method3007(2, 22684); - Class348_Sub4.aClass248_6601.method1892(i ^ ~0x4b, true); - } - } - if (Class318_Sub1_Sub1_Sub2.method2402(i_71_, (byte) -64) || i_71_ == 13) Class348_Sub8.aHa6654.method3673(); - Class240.anInt4674 = i_71_; - } - } - - final void writeBytes(int i, int i_73_, byte[] is, int i_74_) { - for (int i_75_ = i_73_; i_73_ + i > i_75_; i_75_++) - this.aByteArray7154[this.anInt7197++] = is[i_75_]; - int i_76_ = -41 % ((8 - i_74_) / 52); - anInt7199++; - } - - final void method3381(int i, int i_77_) { - anInt7180++; - if (i_77_ >= 0 && i_77_ < 128) writeByte(false, i_77_); - else if (i_77_ >= 0 && i_77_ < 32768) writeShort((byte) 107, i_77_ + 32768); - else if (i == 5537) throw new IllegalArgumentException(); - } - - final int readSmart(int i) { - if (i > -116) return -4; - anInt7176++; - int i_78_ = 0xff & (this.aByteArray7154[this.anInt7197]); - if (i_78_ < 128) return readUnsignedByte(255); - return readUnsignedShort(842397944) + -32768; - } - - final void method3383(int i, int i_79_) { - anInt7157++; - this.aByteArray7154[-2 + -i_79_ + this.anInt7197] = (byte) (i_79_ >> 8); - if (i != 1809639944) method3350(93, true, null, -39); - this.aByteArray7154[this.anInt7197 - i_79_ + -1] = (byte) i_79_; - } - - final String method3384(int i) { - anInt7205++; - if (i <= 105) aLongArray7206 = null; - if ((this.aByteArray7154[this.anInt7197]) == 0) { - this.anInt7197++; - return null; - } - return readString((byte) 92); - } - - final int readInt(byte i) { - anInt7196++; - this.anInt7197 += 4; - if (i != -126) method3368(-61, -64); - return ((0xff & (this.aByteArray7154[this.anInt7197 - 1])) + ((((this.aByteArray7154[-4 + this.anInt7197]) & 0xff) << 24) + (0xff0000 & ((this.aByteArray7154[-3 + this.anInt7197]) << 16))) - -(((this.aByteArray7154[-2 + this.anInt7197]) & 0xff) << 8)); - } - - final void method3386(String string, int i) { - anInt7182++; - int i_80_ = -21 % ((42 - i) / 52); - int i_81_ = string.indexOf('\0'); - if (i_81_ >= 0) throw new IllegalArgumentException("NUL character at " + i_81_ + " - cannot pjstr2"); - this.aByteArray7154[this.anInt7197++] = (byte) 0; - this.anInt7197 += Class348_Sub42_Sub16.method3255(0, (this.aByteArray7154), string.length(), false, string, (this.anInt7197)); - this.aByteArray7154[this.anInt7197++] = (byte) 0; - } - - final int readUnsignedByte(int i) { - if (i != 255) writeBytes(-101, 111, null, 33); - anInt7153++; - return ((this.aByteArray7154[this.anInt7197++]) & 0xff); - } - - final byte readByte(int i) { - if (i >= -75) writeByteAdd((byte) -18, -24); - anInt7143++; - return (this.aByteArray7154[this.anInt7197++]); - } - - final void method3389(int i, int i_82_, int i_83_, byte[] is) { - anInt7159++; - for (int i_84_ = i_82_; i_83_ + i_82_ > i_84_; i_84_++) - is[i_84_] = (this.aByteArray7154[this.anInt7197++]); - if (i != 2147483647) anInt7207 = -47; - } - - final void method3390(BigInteger biginteger, byte i, BigInteger biginteger_85_) { - try { - anInt7147++; - int i_86_ = this.anInt7197; - this.anInt7197 = 0; - byte[] is = new byte[i_86_]; - method3389(2147483647, 0, i_86_, is); - if (i >= -33) method3354(-73); - BigInteger biginteger_87_ = new BigInteger(is); - BigInteger biginteger_88_ = biginteger_87_.modPow(biginteger_85_, biginteger); - byte[] is_89_ = biginteger_88_.toByteArray(); - this.anInt7197 = 0; - writeShort((byte) 107, is_89_.length); - writeBytes(is_89_.length, 0, is_89_, 85); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("cea.SA(" + (biginteger != null ? "{...}" : "null") + ',' + i + ',' + (biginteger_85_ != null ? "{...}" : "null") + ')')); - } - } - - final void writeInt(byte i, int i_90_) { - this.aByteArray7154[this.anInt7197++] = (byte) (i_90_ >> 24); - if (i < 84) writeByteAdd((byte) -122, -112); - anInt7202++; - this.aByteArray7154[this.anInt7197++] = (byte) (i_90_ >> 16); - this.aByteArray7154[this.anInt7197++] = (byte) (i_90_ >> 8); - this.aByteArray7154[this.anInt7197++] = (byte) i_90_; - } - - final void writeLong(long l, byte i) { - try { - int i_91_ = -16 % ((i - -5) / 52); - this.aByteArray7154[this.anInt7197++] = (byte) (int) (l >> 56); - anInt7209++; - this.aByteArray7154[this.anInt7197++] = (byte) (int) (l >> 48); - this.aByteArray7154[this.anInt7197++] = (byte) (int) (l >> 40); - this.aByteArray7154[this.anInt7197++] = (byte) (int) (l >> 32); - this.aByteArray7154[this.anInt7197++] = (byte) (int) (l >> 24); - this.aByteArray7154[this.anInt7197++] = (byte) (int) (l >> 16); - this.aByteArray7154[this.anInt7197++] = (byte) (int) (l >> 8); - this.aByteArray7154[this.anInt7197++] = (byte) (int) l; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "cea.BB(" + l + ',' + i + ')'); - } - } - - final int readByteAdd(byte i) { - anInt7169++; - int i_92_ = 18 / ((-28 - i) / 40); - return ((this.aByteArray7154[this.anInt7197++]) - 128 & 0xff); - } - - Class348_Sub49(int i) { - this.anInt7197 = 0; - this.aByteArray7154 = Class37.method359(i, -1); - } - - final void method3394(int i, int i_93_) { - this.aByteArray7154[this.anInt7197++] = (byte) i_93_; - anInt7141++; - this.aByteArray7154[this.anInt7197++] = (byte) (i_93_ >> 8); - if (i == -23892) { - this.aByteArray7154[this.anInt7197++] = (byte) (i_93_ >> 16); - this.aByteArray7154[this.anInt7197++] = (byte) (i_93_ >> 24); - } - } - - final void writeByteAdd(byte i, int i_94_) { - anInt7192++; - this.aByteArray7154[this.anInt7197++] = (byte) (i_94_ + 128); - int i_95_ = -21 % ((-8 - i) / 57); - } - - final void method3396(int i, int i_96_) { - if (i_96_ > -5) aClass223_7175 = null; - anInt7146++; - if ((i & ~0x7f) != 0) { - if ((i & ~0x3fff) != 0) { - if ((~0x1fffff & i) != 0) { - if ((i & ~0xfffffff) != 0) writeByte(false, 0x80 | i >>> 28); - writeByte(false, 0x80 | i >>> 21); - } - writeByte(false, (0x2000f4 | i) >>> 14); - } - writeByte(false, 0x80 | i >>> 7); - } - writeByte(false, i & 0x7f); - } - - final void method3397(int i, int i_97_) { - anInt7189++; - this.aByteArray7154[this.anInt7197++] = (byte) i_97_; - this.aByteArray7154[this.anInt7197++] = (byte) (i_97_ >> 8); - if (i < 22) readUnsignedByte(6); - } - - Class348_Sub49(byte[] is) { - this.aByteArray7154 = is; - this.anInt7197 = 0; - } -} diff --git a/client/src/Class348_Sub49_Sub1.java b/client/src/Class348_Sub49_Sub1.java deleted file mode 100644 index 051444698..000000000 --- a/client/src/Class348_Sub49_Sub1.java +++ /dev/null @@ -1,217 +0,0 @@ -/* Class348_Sub49_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaclib.memory.Stream; - -final class Class348_Sub49_Sub1 extends Class348_Sub49 { - static int anInt9741; - static int anInt9742; - static Class351 aClass351_9743 = new Class351(84, -1); - static int anInt9744; - static int anInt9745; - static boolean aBoolean9746 = true; - static int anInt9747; - static Class138 aClass138_9748 = new Class138(7, 0, 1, 1); - static Class351 aClass351_9749; - static int anInt9750; - static int anInt9751 = 0; - - static final void method3398(boolean bool, byte[][][] is, int i, byte i_0_, int i_1_, int i_2_, boolean bool_3_) { - int i_4_ = bool ? 1 : 0; - Class5_Sub1_Sub1.anInt9930 = 0; - Class348_Sub42_Sub3.anInt9504 = 0; - Class234.anInt3049++; - if ((i_2_ & 0x2) == 0) { - for (Class318_Sub1 class318_sub1 = Class348.aClass318_Sub1Array4293[i_4_]; class318_sub1 != null; class318_sub1 = class318_sub1.aClass318_Sub1_6379) { - if (!Class348_Sub9.method2778(class318_sub1, bool, is, i, i_0_)) { - s_Sub2.method4001(class318_sub1); - if (class318_sub1.anInt6389 != -1) Class239_Sub21.aClass318_Sub1Array6066[Class5_Sub1_Sub1.anInt9930++] = class318_sub1; - } - } - } - if ((i_2_ & 0x1) == 0) { - for (Class318_Sub1 class318_sub1 = Class250.aClass318_Sub1Array3226[i_4_]; class318_sub1 != null; class318_sub1 = class318_sub1.aClass318_Sub1_6379) { - if (!Class348_Sub9.method2778(class318_sub1, bool, is, i, i_0_)) { - s_Sub2.method4001(class318_sub1); - if (class318_sub1.anInt6389 != -1) Class291.aClass318_Sub1Array3737[Class348_Sub42_Sub3.anInt9504++] = class318_sub1; - } - } - for (Class318_Sub1 class318_sub1 = Class115.aClass318_Sub1Array1754[i_4_]; class318_sub1 != null; class318_sub1 = class318_sub1.aClass318_Sub1_6379) { - if (!Class348_Sub9.method2778(class318_sub1, bool, is, i, i_0_)) { - if (class318_sub1.method2377((byte) 122)) { - s_Sub2.method4001(class318_sub1); - if (class318_sub1.anInt6389 != -1) Class291.aClass318_Sub1Array3737[Class348_Sub42_Sub3.anInt9504++] = class318_sub1; - } else { - s_Sub2.method4001(class318_sub1); - if (class318_sub1.anInt6389 != -1) Class239_Sub21.aClass318_Sub1Array6066[Class5_Sub1_Sub1.anInt9930++] = class318_sub1; - } - } - } - if (!bool) { - for (int i_5_ = 0; i_5_ < Class86.anInt1477; i_5_++) { - if (!Class348_Sub9.method2778((Class24.aClass318_Sub1_Sub3Array357[i_5_]), bool, is, i, i_0_)) { - s_Sub2.method4001(Class24.aClass318_Sub1_Sub3Array357[i_5_]); - if ((Class24.aClass318_Sub1_Sub3Array357[i_5_].anInt6389) != -1) { - if (Class24.aClass318_Sub1_Sub3Array357[i_5_].method2377((byte) 122)) Class291.aClass318_Sub1Array3737[Class348_Sub42_Sub3.anInt9504++] = (Class24.aClass318_Sub1_Sub3Array357[i_5_]); - else Class239_Sub21.aClass318_Sub1Array6066[Class5_Sub1_Sub1.anInt9930++] = (Class24.aClass318_Sub1_Sub3Array357[i_5_]); - } - } - } - } - } - if (Class5_Sub1_Sub1.anInt9930 > 0) { - Class167.method1295(Class239_Sub21.aClass318_Sub1Array6066, 0, Class5_Sub1_Sub1.anInt9930 - 1); - for (int i_6_ = 0; i_6_ < Class5_Sub1_Sub1.anInt9930; i_6_++) - Class13.method227(Class239_Sub21.aClass318_Sub1Array6066[i_6_], true, bool_3_); - } - if (Class318_Sub1_Sub3_Sub3.aBoolean10221) Class9.aHa171.method3642(0, null); - if ((i_2_ & 0x2) == 0) { - for (int i_7_ = Canvas_Sub1.anInt67; i_7_ < Class189.anInt2524; i_7_++) { - if (i_7_ >= i && is != null) { - int i_8_ = Class99.aBooleanArrayArray1572.length; - if ((Class37.anInt492 + Class99.aBooleanArrayArray1572.length) > Class318_Sub7.anInt6451) i_8_ -= (Class37.anInt492 + Class99.aBooleanArrayArray1572.length - Class318_Sub7.anInt6451); - int i_9_ = Class99.aBooleanArrayArray1572[0].length; - if ((Class348_Sub34.anInt6974 + Class99.aBooleanArrayArray1572[0].length) > Class348_Sub41.anInt7054) i_9_ -= (Class348_Sub34.anInt6974 + Class99.aBooleanArrayArray1572[0].length - Class348_Sub41.anInt7054); - boolean[][] bools = Class348_Sub8.aBooleanArrayArray6656; - if (Class348_Sub40_Sub17.aBoolean9242) { - if (Class348_Sub40_Sub5.aBoolean9121) bools = Class115.aBooleanArrayArrayArray1751[i_7_]; - for (int i_10_ = Class105_Sub1.anInt8412; i_10_ < i_8_; i_10_++) { - int i_11_ = (i_10_ + Class37.anInt492 - Class105_Sub1.anInt8412); - for (int i_12_ = Class240.anInt4686; i_12_ < i_9_; i_12_++) { - bools[i_10_][i_12_] = false; - if (Class99.aBooleanArrayArray1572[i_10_][i_12_]) { - int i_13_ = (i_12_ + Class348_Sub34.anInt6974 - Class240.anInt4686); - for (int i_14_ = i_7_; i_14_ >= 0; i_14_--) { - if ((Class147.aClass357ArrayArrayArray2029[i_14_][i_11_][i_13_]) != null && (Class147.aClass357ArrayArrayArray2029[i_14_][i_11_][i_13_].aByte4399) == i_7_) { - bools[i_10_][i_12_] = (i_14_ < i || (is[i_14_][i_11_][i_13_]) != i_0_) && (!aa_Sub2.method164(i_7_, i_11_, (byte) -97, i_13_)); - break; - } - } - } - } - } - } - if (Class348_Sub40_Sub5.aBoolean9121) { - if (i_1_ >= 0) aa_Sub1.aSArray5191[i_7_].method3984(0, 0, 0, null, false, i_1_, i_2_); - else aa_Sub1.aSArray5191[i_7_].method3983(0, 0, 0, null, false, i_2_); - for (int i_15_ = 0; i_15_ < Npc.anInt10503; i_15_++) - Class319.aClass315Array3982[i_15_].method2359(new Class318_Sub2(i_7_ + 1), -1); - } else if (i_1_ >= 0) aa_Sub1.aSArray5191[i_7_].method3984(Class239_Sub25.anInt6111, Class285_Sub2.anInt8502, Class318_Sub1_Sub4_Sub1.anInt10084, Class348_Sub8.aBooleanArrayArray6656, false, i_1_, i_2_); - else aa_Sub1.aSArray5191[i_7_].method3983(Class239_Sub25.anInt6111, Class285_Sub2.anInt8502, Class318_Sub1_Sub4_Sub1.anInt10084, Class348_Sub8.aBooleanArrayArray6656, false, i_2_); - } else { - int i_16_ = Class99.aBooleanArrayArray1572.length; - if ((Class37.anInt492 + Class99.aBooleanArrayArray1572.length) > Class318_Sub7.anInt6451) i_16_ -= (Class37.anInt492 + Class99.aBooleanArrayArray1572.length - Class318_Sub7.anInt6451); - int i_17_ = Class99.aBooleanArrayArray1572[0].length; - if ((Class348_Sub34.anInt6974 + Class99.aBooleanArrayArray1572[0].length) > Class348_Sub41.anInt7054) i_17_ -= (Class348_Sub34.anInt6974 + Class99.aBooleanArrayArray1572[0].length - Class348_Sub41.anInt7054); - boolean[][] bools = Class348_Sub8.aBooleanArrayArray6656; - if (Class348_Sub40_Sub17.aBoolean9242) { - if (Class348_Sub40_Sub5.aBoolean9121) bools = Class115.aBooleanArrayArrayArray1751[i_7_]; - for (int i_18_ = Class105_Sub1.anInt8412; i_18_ < i_16_; i_18_++) { - int i_19_ = (i_18_ + Class37.anInt492 - Class105_Sub1.anInt8412); - for (int i_20_ = Class240.anInt4686; i_20_ < i_17_; i_20_++) { - bools[i_18_][i_20_] = (Class99.aBooleanArrayArray1572[i_18_][i_20_]) && !aa_Sub2.method164(i_7_, i_19_, (byte) -97, (i_20_ + (Class348_Sub34.anInt6974) - (Class240.anInt4686))); - } - } - } - if (Class348_Sub40_Sub5.aBoolean9121) { - if (i_1_ >= 0) aa_Sub1.aSArray5191[i_7_].method3984(0, 0, 0, null, false, i_1_, i_2_); - else aa_Sub1.aSArray5191[i_7_].method3983(0, 0, 0, null, false, i_2_); - for (int i_21_ = 0; i_21_ < Npc.anInt10503; i_21_++) - Class319.aClass315Array3982[i_21_].method2359(new Class318_Sub2(i_7_ + 1), -1); - } else if (i_1_ >= 0) aa_Sub1.aSArray5191[i_7_].method3984(Class239_Sub25.anInt6111, Class285_Sub2.anInt8502, Class318_Sub1_Sub4_Sub1.anInt10084, Class348_Sub8.aBooleanArrayArray6656, true, i_1_, i_2_); - else aa_Sub1.aSArray5191[i_7_].method3983(Class239_Sub25.anInt6111, Class285_Sub2.anInt8502, Class318_Sub1_Sub4_Sub1.anInt10084, Class348_Sub8.aBooleanArrayArray6656, true, i_2_); - } - } - } - if (Class348_Sub42_Sub3.anInt9504 > 0) { - Class67.method718(Class291.aClass318_Sub1Array3737, 0, Class348_Sub42_Sub3.anInt9504 - 1); - for (int i_22_ = 0; i_22_ < Class348_Sub42_Sub3.anInt9504; i_22_++) - Class13.method227(Class291.aClass318_Sub1Array3737[i_22_], true, bool_3_); - } - } - - final void method3399(int i, float f) { - anInt9741++; - int i_23_ = Stream.floatToRawIntBits(f); - this.aByteArray7154[this.anInt7197++] = (byte) i_23_; - this.aByteArray7154[this.anInt7197++] = (byte) (i_23_ >> 8); - if (i != 18291) aBoolean9746 = true; - this.aByteArray7154[this.anInt7197++] = (byte) (i_23_ >> 16); - this.aByteArray7154[this.anInt7197++] = (byte) (i_23_ >> 24); - } - - Class348_Sub49_Sub1(int i) { - super(i); - } - - final void method3400(float f, byte i) { - anInt9744++; - int i_24_ = Stream.floatToRawIntBits(f); - this.aByteArray7154[this.anInt7197++] = (byte) (i_24_ >> 24); - this.aByteArray7154[this.anInt7197++] = (byte) (i_24_ >> 16); - if (i >= -76) aBoolean9746 = true; - this.aByteArray7154[this.anInt7197++] = (byte) (i_24_ >> 8); - this.aByteArray7154[this.anInt7197++] = (byte) i_24_; - } - - static final int method3401(int i, int i_25_, byte i_26_) { - anInt9745++; - if (i_26_ <= 10) return -118; - if (i == -1) return 12345678; - i_25_ = (i & 0x7f) * i_25_ >> 7; - if (i_25_ < 2) i_25_ = 2; - else if (i_25_ > 126) i_25_ = 126; - return i_25_ + (i & 0xff80); - } - - static final void method3402(byte i) { - if (Class297.aString3782.toLowerCase().indexOf("microsoft") == -1) { - Class285_Sub2.anIntArray8507[46] = 72; - Class285_Sub2.anIntArray8507[92] = 74; - Class285_Sub2.anIntArray8507[44] = 71; - Class285_Sub2.anIntArray8507[61] = 27; - Class285_Sub2.anIntArray8507[91] = 42; - if (Class297.aMethod3783 == null) { - Class285_Sub2.anIntArray8507[192] = 58; - Class285_Sub2.anIntArray8507[222] = 59; - } else { - Class285_Sub2.anIntArray8507[520] = 59; - Class285_Sub2.anIntArray8507[192] = 28; - Class285_Sub2.anIntArray8507[222] = 58; - } - Class285_Sub2.anIntArray8507[45] = 26; - Class285_Sub2.anIntArray8507[47] = 73; - Class285_Sub2.anIntArray8507[59] = 57; - Class285_Sub2.anIntArray8507[93] = 43; - } else { - Class285_Sub2.anIntArray8507[222] = 59; - Class285_Sub2.anIntArray8507[187] = 27; - Class285_Sub2.anIntArray8507[186] = 57; - Class285_Sub2.anIntArray8507[221] = 43; - Class285_Sub2.anIntArray8507[219] = 42; - Class285_Sub2.anIntArray8507[191] = 73; - Class285_Sub2.anIntArray8507[190] = 72; - Class285_Sub2.anIntArray8507[220] = 74; - Class285_Sub2.anIntArray8507[188] = 71; - Class285_Sub2.anIntArray8507[189] = 26; - Class285_Sub2.anIntArray8507[192] = 58; - Class285_Sub2.anIntArray8507[223] = 28; - } - anInt9742++; - if (i > -20) aBoolean9746 = false; - } - - public static void method3403(int i) { - if (i >= 58) { - aClass138_9748 = null; - aClass351_9749 = null; - aClass351_9743 = null; - } - } - - static { - anInt9750 = 0; - aClass351_9749 = new Class351(45, 7); - } -} diff --git a/client/src/Class348_Sub49_Sub2.java b/client/src/Class348_Sub49_Sub2.java deleted file mode 100644 index 223c239d6..000000000 --- a/client/src/Class348_Sub49_Sub2.java +++ /dev/null @@ -1,145 +0,0 @@ -/* Class348_Sub49_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub49_Sub2 extends Class348_Sub49 { - static int anInt9752; - static int anInt9753; - private int anInt9754; - static int anInt9755; - private Class77 aClass77_9756; - static int[] anIntArray9757; - static int anInt9758; - static int anInt9759; - static int anInt9760; - static int anInt9761; - static int anInt9762; - static int anInt9763; - static int anInt9764; - static int anInt9765; - static int anInt9766; - static int anInt9767; - static short[] aShortArray9768 = {11, 17, 45, 23, 48, 8, 57, 58}; - static int anInt9769; - - final boolean method3404(int i) { - anInt9758++; - if (i != -1510) return true; - int i_0_ = (((this.aByteArray7154[this.anInt7197]) - aClass77_9756.method778((byte) 19)) & 0xff); - return i_0_ >= 128; - } - - static final int method3405(int i, boolean bool) { - anInt9765++; - if (Class348_Sub1.anIntArray6547 == null) return 0; - if (!bool && Class199.aClass352Array2636 != null) return Class348_Sub1.anIntArray6547.length * 2; - int i_1_ = 0; - if (i != 2012104999) method3405(118, false); - for (int i_2_ = 0; Class348_Sub1.anIntArray6547.length > i_2_; i_2_++) { - int i_3_ = Class348_Sub1.anIntArray6547[i_2_]; - if (Class39.aClass45_518.method421(false, i_3_)) i_1_++; - if (s.aClass45_4585.method421(false, i_3_)) i_1_++; - } - return i_1_; - } - - final void method3406(int i, int[] is) { - anInt9755++; - aClass77_9756 = new Class77(is); - if (i > -41) anIntArray9757 = null; - } - - final int method3407(int i) { - anInt9752++; - int i_4_ = (((this.aByteArray7154[this.anInt7197++]) - aClass77_9756.method781((byte) -67)) & 0xff); - if (i_4_ < 128) return i_4_; - if (i != 15295) anIntArray9757 = null; - return ((((this.aByteArray7154[this.anInt7197++]) - aClass77_9756.method781((byte) -62)) & 0xff) + (i_4_ + -128 << 8)); - } - - final void method3408(int i, int i_5_) { - this.aByteArray7154[this.anInt7197++] = (byte) (i + aClass77_9756.method781((byte) -85)); - if (i_5_ == 18676) anInt9760++; - } - - final void method3409(int i, byte[] is, int i_6_, int i_7_) { - if (i_7_ == -32769) { - for (int i_8_ = 0; i_8_ < i; i_8_++) - is[i_6_ + i_8_] = (byte) ((this.aByteArray7154[this.anInt7197++]) + -aClass77_9756.method781((byte) -99)); - anInt9762++; - } - } - - final int readBits(byte i, int i_9_) { - if (i != -24) return -126; - anInt9763++; - int i_10_ = anInt9754 >> 3; - int i_11_ = 8 + -(anInt9754 & 0x7); - anInt9754 += i_9_; - int i_12_ = 0; - for (/**/; i_11_ < i_9_; i_11_ = 8) { - i_12_ += (this.aByteArray7154[i_10_++] & Class348_Sub34.anIntArray6972[i_11_]) << i_9_ - i_11_; - i_9_ -= i_11_; - } - if (i_11_ != i_9_) i_12_ += (this.aByteArray7154[i_10_] >> i_11_ - i_9_) & Class348_Sub34.anIntArray6972[i_9_]; - else i_12_ += (Class348_Sub34.anIntArray6972[i_11_] & this.aByteArray7154[i_10_]); - return i_12_; - } - - static final void method3411(int i, int i_13_, int i_14_) { - anInt9761++; - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i, (byte) 105, i_13_);//12 - class348_sub42_sub15.method3246(-25490); - class348_sub42_sub15.anInt9652 = i_14_; - } - - final void stopBitAccess(boolean bool) { - anInt9753++; - this.anInt7197 = (7 + anInt9754) / 8; - if (bool != false) aShortArray9768 = null; - } - - static final int[][] method3413(int i, int i_15_, int i_16_, int i_17_, int i_18_, boolean bool, int i_19_, float f, boolean bool_20_) { - anInt9764++; - int[][] is = new int[i_18_][i_16_]; - Class348_Sub40_Sub8 class348_sub40_sub8 = new Class348_Sub40_Sub8(); - class348_sub40_sub8.anInt9149 = (int) (f * 4096.0F); - class348_sub40_sub8.anInt9150 = i_15_; - class348_sub40_sub8.anInt9158 = i_17_; - class348_sub40_sub8.anInt9164 = i; - class348_sub40_sub8.aBoolean9160 = bool_20_; - class348_sub40_sub8.method3044(109); - Class79.method797(i_18_, i_16_, (byte) 120); - if (bool != true) anIntArray9757 = null; - for (int i_21_ = 0; i_21_ < i_18_; i_21_++) - class348_sub40_sub8.method3069(i_21_, is[i_21_], (byte) 99); - return is; - } - - public static void method3414(int i) { - aShortArray9768 = null; - if (i == 21515) anIntArray9757 = null; - } - - final int method3415(int i, int i_22_) { - if (i >= -58) method3405(50, true); - anInt9769++; - return -anInt9754 + i_22_ * 8; - } - - final void method3416(int i, Class77 class77) { - int i_23_ = -103 / ((i - 57) / 40); - aClass77_9756 = class77; - anInt9766++; - } - - Class348_Sub49_Sub2(int i) { - super(i); - } - - final void startBitAccess(int i) { - int i_24_ = -126 / ((-15 - i) / 49); - anInt9767++; - anInt9754 = 8 * this.anInt7197; - } -} diff --git a/client/src/Class348_Sub5.java b/client/src/Class348_Sub5.java deleted file mode 100644 index b2e4d7fd9..000000000 --- a/client/src/Class348_Sub5.java +++ /dev/null @@ -1,160 +0,0 @@ -/* Class348_Sub5 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; -import java.io.IOException; -import java.net.Socket; - -abstract class Class348_Sub5 extends Class348 { - ha_Sub2 aHa_Sub2_6618; - static int anInt6619; - static int anInt6620; - boolean aBoolean6621; - static int anInt6622; - static int anInt6623; - static byte[] aByteArray6624 = new byte[2048]; - static int anInt6625; - static int anInt6626; - static Class105 aClass105_6627; - static int anInt6628; - static int anInt6629; - - abstract void method2750(Class258_Sub3 class258_sub3, Class258_Sub3 class258_sub3_0_, int i, byte i_1_); - - abstract boolean method2751(boolean bool); - - static final Class138 method2752(int i, int i_2_) { - anInt6625++; - Class138[] class138s = Class348_Sub27.method3002((byte) -97); - for (int i_3_ = i_2_; class138s.length > i_3_; i_3_++) { - if (i == class138s[i_3_].anInt1941) return class138s[i_3_]; - } - return null; - } - - static final ha method2753(boolean bool, int i, int i_4_, Canvas canvas, d var_d) { - try { - anInt6628++; - if (bool != true) aByteArray6624 = null; - return new ha_Sub1(canvas, var_d, i_4_, i); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("fba.M(" + bool + ',' + i + ',' + i_4_ + ',' + (canvas != null ? "{...}" : "null") + ',' + (var_d != null ? "{...}" : "null") + ')')); - } - } - - abstract void method2754(int i, byte i_5_, int i_6_); - - static final void method2755(int i, int i_7_, int i_8_) { - anInt6629++; - if ((~Class348_Sub43.anInt7068) != i) { - if (i_8_ >= 0) Class367_Sub3.anIntArray7299[i_8_] = i_7_; - else { - for (int i_9_ = 0; i_9_ < 16; i_9_++) - Class367_Sub3.anIntArray7299[i_9_] = i_7_; - } - } - Class98.aClass348_Sub16_Sub3_1564.method2843(i_7_, i_8_, -7836); - } - - abstract void method2756(byte i, int i_10_); - - static final void method2757(int i) { - anInt6620++; - if (Class367_Sub2.anInt7297 != 0) { - try { - if (i >= 82) { - if (++Class169.anInt2264 > 2000) { - if (Class348_Sub40_Sub8.aClass238_9165 != null) { - Class348_Sub40_Sub8.aClass238_9165.method1700((byte) 36); - Class348_Sub40_Sub8.aClass238_9165 = null; - } - if (Class105_Sub1.anInt8398 >= 2) { - Class367_Sub2.anInt7297 = 0; - Class352.anInt4337 = -5; - return; - } - Class255.aClass161_3285.method1259(0); - Class367_Sub2.anInt7297 = 1; - Class169.anInt2264 = 0; - Class105_Sub1.anInt8398++; - } - if (Class367_Sub2.anInt7297 == 1) { - Class130_Sub1.aClass144_5800 = (Class255.aClass161_3285.method1262(Class348_Sub23_Sub1.aClass297_8992, (byte) 36)); - Class367_Sub2.anInt7297 = 2; - } - if (Class367_Sub2.anInt7297 == 2) { - if (Class130_Sub1.aClass144_5800.anInt1997 == 2) throw new IOException(); - if (Class130_Sub1.aClass144_5800.anInt1997 != 1) return; - Class348_Sub40_Sub8.aClass238_9165 = Class348_Sub23_Sub3.method2982(((Socket) (Class130_Sub1.aClass144_5800.anObject1998)), (byte) 24, 7500); - Class130_Sub1.aClass144_5800 = null; - Class239_Sub18.method1802(0); - Class367_Sub2.anInt7297 = 4; - } - if (Class367_Sub2.anInt7297 == 4) { - if (Class348_Sub40_Sub8.aClass238_9165.method1705(1, 104)) { - Class348_Sub40_Sub8.aClass238_9165.method1701(1, 0, (byte) -116, (Class299.aClass348_Sub49_Sub2_3813.aByteArray7154)); - int i_11_ = 0xff & (Class299.aClass348_Sub49_Sub2_3813.aByteArray7154[0]); - Class352.anInt4337 = i_11_; - Class367_Sub2.anInt7297 = 0; - Class348_Sub40_Sub8.aClass238_9165.method1700((byte) 36); - Class348_Sub40_Sub8.aClass238_9165 = null; - } - } - } - } catch (IOException ioexception) { - if (Class348_Sub40_Sub8.aClass238_9165 != null) { - Class348_Sub40_Sub8.aClass238_9165.method1700((byte) 36); - Class348_Sub40_Sub8.aClass238_9165 = null; - } - if (Class105_Sub1.anInt8398 < 2) { - Class255.aClass161_3285.method1259(0); - Class169.anInt2264 = 0; - Class105_Sub1.anInt8398++; - Class367_Sub2.anInt7297 = 1; - } else { - Class352.anInt4337 = -4; - Class367_Sub2.anInt7297 = 0; - } - } - } - } - - abstract boolean method2758(int i); - - final boolean method2759(int i) { - if (i != 1) return true; - anInt6626++; - return false; - } - - final boolean method2760(byte i) { - if (i != 1) method2763((byte) 37); - anInt6619++; - return this.aBoolean6621; - } - - int method2761(boolean bool) { - anInt6622++; - if (bool != true) method2757(-63); - return 0; - } - - public static void method2762(int i) { - aByteArray6624 = null; - aClass105_6627 = null; - int i_12_ = -23 % ((i - -24) / 47); - } - - abstract void method2763(byte i); - - Class348_Sub5(ha_Sub2 var_ha_Sub2) { - this.aHa_Sub2_6618 = var_ha_Sub2; - } - - final int method2764(int i) { - if (i != 1) aByteArray6624 = null; - anInt6623++; - return 1; - } -} diff --git a/client/src/Class348_Sub50.java b/client/src/Class348_Sub50.java deleted file mode 100644 index be48aadf4..000000000 --- a/client/src/Class348_Sub50.java +++ /dev/null @@ -1,40 +0,0 @@ -/* Class348_Sub50 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub50 extends Class348 { - static int anInt7210; - String aString7211; - static byte[][] aByteArrayArray7212; - static int anInt7213 = 0; - static int anInt7214; - - public static void method3418(int i) { - if (i >= 108) aByteArrayArray7212 = null; - } - - static final void method3419(int i) { - Class348_Sub24.anIntArray6878 = null; - Class318_Sub9_Sub1.anIntArray8785 = null; - Class348_Sub40_Sub6.anIntArray9135 = null; - anInt7210++; - if (i != 13022) method3418(-79); - Class348_Sub42_Sub3.aBoolean9498 = false; - Class265.anIntArray4692 = null; - Class348_Sub8.anIntArray6655 = null; - } - - public Class348_Sub50() { - /* empty */ - } - - Class348_Sub50(String string) { - this.aString7211 = string; - } - - static final int method3420(int i) { - if (i != 0) method3420(101); - anInt7214++; - return Class348_Sub49_Sub2.method3405(2012104999, false); - } -} diff --git a/client/src/Class348_Sub51.java b/client/src/Class348_Sub51.java deleted file mode 100644 index dba2d5481..000000000 --- a/client/src/Class348_Sub51.java +++ /dev/null @@ -1,373 +0,0 @@ -/* Class348_Sub51 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.lang.reflect.Field; - -final class Class348_Sub51 extends Class348 { - Class239_Sub26 aClass239_Sub26_7215; - Class239_Sub20 aClass239_Sub20_7216; - static int anInt7217; - private static short[][] aShortArrayArray7218 = {{8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906, 8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906, 8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906, 8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906}, {8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906, 8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906, 8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906, 8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906}, {8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906, 8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906, 8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906, 8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906}, {8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906, 8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906, 8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906, 13756, 13735, 13716, 13880, 13733, 13842, 17592, 18595, 21650, 23990, 24987, 24078, 27962, 25893, 26894, 27183, 27165, 27146, 30010, 28965, 29966, 12472, 13475, 10382, 10682, 10659, 10766, 6707, 6685, 7820, 6961, 6941, 5900, 3379, 3359, 3346, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {4296, 3290, 3299, 3260, 4502, 4378, 4383, 5289, 7618, 7380, 8408, 7492, 82, 119, 107, 95, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906, 8, 22, 40, 60, 80, 100, 300, 674, 694, 546, 930, 950, 6444, 6942, 6962, 2348, 2722, 2742, 10540, 10914, 10934, 10300, 10546, 10566, 14636, 15010, 15030, 19756, 20130, 20150, -29396, -29022, -29002, 31020, 31266, 31286, -24276, -23902, -23882, -19156, -18782, -18762, -14036, -13662, -13642, -6868, -6494, -6474, 518, 534, 6790, 6806, 11014, 11030, 14982, 14998, 21126, 21142, -28922, -28906, -22010, -21994, -12922, -12906, 10337, 10572, 10419, 10397, 10349, 8404, 9530, 10446, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}; - static int anInt7219; - Class239_Sub4 aClass239_Sub4_7220; - private Class199 aClass199_7221; - Class239_Sub3 aClass239_Sub3_7222; - private static short[][] aShortArrayArray7223; - Class239_Sub15 aClass239_Sub15_7224; - static int anInt7225; - Class239_Sub6 aClass239_Sub6_7226; - Class239_Sub8 aClass239_Sub8_7227; - Class239_Sub2 aClass239_Sub2_7228; - Class239_Sub29 aClass239_Sub29_7229; - Class239_Sub28 aClass239_Sub28_7230; - Class239_Sub23 aClass239_Sub23_7231; - Class239_Sub10 aClass239_Sub10_7232; - static int anInt7233; - Class239_Sub26 aClass239_Sub26_7234; - Class239_Sub24 aClass239_Sub24_7235; - Class239_Sub13 aClass239_Sub13_7236; - static int anInt7237; - Class239_Sub7 aClass239_Sub7_7238; - static int anInt7239; - Class239_Sub5 aClass239_Sub5_7240; - private static short[][] aShortArrayArray7241 = {{7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910, 7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910, 7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910, 7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910}, {7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910, 7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910, 7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910, 7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910}, {7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910, 7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910, 7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910, 7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910}, {7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910, 7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910, 7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910, 13751, 13730, 13711, 13875, 13728, 13837, 17587, 18590, 21645, 23985, 24982, 24073, 27957, 25888, 26889, 27178, 27160, 27141, 30005, 28960, 29961, 12467, 13470, 10377, 10677, 10654, 10761, 6702, 6680, 7815, 6956, 6936, 5895, 3374, 3354, 3341, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {4294, 3288, 3297, 3258, 4500, 4376, 4381, 5287, 7616, 7378, 8406, 7490, 80, 117, 105, 93, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910, 7, 18, 35, 55, 75, 95, 295, 669, 689, 541, 925, 945, 6439, 6937, 6957, 2343, 2717, 2737, 10535, 10909, 10929, 10295, 10541, 10561, 14631, 15005, 15025, 19751, 20125, 20145, -29401, -29027, -29007, 31015, 31261, 31281, -24281, -23907, -23887, -19161, -18787, -18767, -14041, -13667, -13647, -6873, -6499, -6479, 516, 530, 6788, 6802, 11012, 11026, 14980, 14994, 21124, 21138, -28924, -28910, -22012, -21998, -12924, -12910, 10332, 10567, 10414, 10392, 10344, 8399, 9525, 10441, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}; - static int anInt7242; - Class239_Sub12 aClass239_Sub12_7243; - static int anInt7244; - Class239_Sub26 aClass239_Sub26_7245; - Class239_Sub1 aClass239_Sub1_7246; - Class239_Sub16 aClass239_Sub16_7247; - Class239_Sub20 aClass239_Sub20_7248; - static Class318_Sub10[] aClass318_Sub10Array7249; - Class239_Sub14 aClass239_Sub14_7250; - Class239_Sub25 aClass239_Sub25_7251; - static int anInt7252; - Class239_Sub22 aClass239_Sub22_7253; - Class239_Sub8 aClass239_Sub8_7254; - Class239_Sub27 aClass239_Sub27_7255; - Class239_Sub9 aClass239_Sub9_7256; - Class239_Sub19 aClass239_Sub19_7257; - static int anInt7258; - Class239_Sub18 aClass239_Sub18_7259; - Class239_Sub26 aClass239_Sub26_7260; - Class239_Sub27 aClass239_Sub27_7261; - static short[][][] aShortArrayArrayArray7262; - Class239_Sub17 aClass239_Sub17_7263; - Class239_Sub14 aClass239_Sub14_7264; - Class239_Sub11 aClass239_Sub11_7265; - static int anInt7266; - static int anInt7267; - private static short[][] aShortArrayArray7268; - private final Class230 aClass230_7269; - Class239_Sub21 aClass239_Sub21_7270; - Class239_Sub25 aClass239_Sub25_7271; - Class239_Sub26 aClass239_Sub26_7272; - /*synthetic*/ static Class aClass7273; - - private final void method3421(int i, Class348_Sub49 class348_sub49, int i_0_) { - do { - try { - this.aClass239_Sub10_7232 = new Class239_Sub10(class348_sub49.readUnsignedByte(255), this); - anInt7233++; - this.aClass239_Sub27_7255 = new Class239_Sub27(class348_sub49.readUnsignedByte(i ^ 0x7860), this); - this.aClass239_Sub14_7250 = new Class239_Sub14(1 + class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub4_7220 = new Class239_Sub4(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub2_7228 = new Class239_Sub2(class348_sub49.readUnsignedByte(i ^ 0x7860), this); - this.aClass239_Sub13_7236 = new Class239_Sub13(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub1_7246 = new Class239_Sub1(class348_sub49.readUnsignedByte(255), this); - class348_sub49.readUnsignedByte(i ^ 0x7860); - this.aClass239_Sub21_7270 = new Class239_Sub21(class348_sub49.readUnsignedByte(255), this); - int i_1_ = class348_sub49.readUnsignedByte(i ^ 0x7860); - int i_2_ = 0; - if (i_0_ >= 17) i_2_ = class348_sub49.readUnsignedByte(255); - this.aClass239_Sub7_7238 = new Class239_Sub7((Math.max(i_1_, i_2_)), this); - boolean bool = true; - boolean bool_3_ = true; - if (i_0_ >= 2) { - bool = class348_sub49.readUnsignedByte(i + -30624) == 1; - if (i_0_ >= 17) bool_3_ = class348_sub49.readUnsignedByte(255) == 1; - } else { - bool = class348_sub49.readUnsignedByte(255) == 1; - class348_sub49.readUnsignedByte(255); - } - this.aClass239_Sub28_7230 = new Class239_Sub28(!(bool | bool_3_) ? 0 : 1, this); - this.aClass239_Sub18_7259 = new Class239_Sub18(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub16_7247 = new Class239_Sub16(class348_sub49.readUnsignedByte(i ^ 0x7860), this); - this.aClass239_Sub20_7216 = new Class239_Sub20(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub5_7240 = new Class239_Sub5(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub26_7272 = new Class239_Sub26(class348_sub49.readUnsignedByte(i + -30624), this); - if (i_0_ >= 20) this.aClass239_Sub26_7215 = new Class239_Sub26(class348_sub49.readUnsignedByte(255), this); - else this.aClass239_Sub26_7215 = new Class239_Sub26(this.aClass239_Sub26_7272.method1838(-32350), this); - this.aClass239_Sub26_7260 = new Class239_Sub26(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub26_7234 = new Class239_Sub26(class348_sub49.readUnsignedByte(255), this); - if (i_0_ >= 21) this.aClass239_Sub26_7245 = new Class239_Sub26(class348_sub49.readUnsignedByte(255), this); - else this.aClass239_Sub26_7245 = new Class239_Sub26(this.aClass239_Sub26_7260.method1838(-32350), this); - if (i_0_ >= 1) { - class348_sub49.readUnsignedShort(842397944); - class348_sub49.readUnsignedShort(842397944); - } - if (i_0_ >= 3 && i_0_ < 6) class348_sub49.readUnsignedByte(255); - if (i_0_ >= 4) this.aClass239_Sub15_7224 = new Class239_Sub15(class348_sub49.readUnsignedByte(255), this); - if (i != 30879) method3428((byte) -10); - class348_sub49.readInt((byte) -126); - if (i_0_ >= 6) this.aClass239_Sub8_7227 = new Class239_Sub8(class348_sub49.readUnsignedByte(i ^ 0x7860), this); - if (i_0_ >= 7) this.aClass239_Sub11_7265 = new Class239_Sub11(class348_sub49.readUnsignedByte(255), this); - if (i_0_ >= 8) class348_sub49.readUnsignedByte(255); - if (i_0_ >= 9) this.aClass239_Sub6_7226 = new Class239_Sub6(class348_sub49.readUnsignedByte(i ^ 0x7860), this); - if (i_0_ >= 10) this.aClass239_Sub12_7243 = new Class239_Sub12(class348_sub49.readUnsignedByte(255), this); - if (i_0_ >= 11) this.aClass239_Sub22_7253 = new Class239_Sub22(class348_sub49.readUnsignedByte(255), this); - if (i_0_ >= 12) this.aClass239_Sub13_7236 = new Class239_Sub13(class348_sub49.readUnsignedByte(255), this); - if (i_0_ >= 13) this.aClass239_Sub9_7256 = new Class239_Sub9(class348_sub49.readUnsignedByte(255), this); - if (i_0_ >= 14) this.aClass239_Sub25_7251 = new Class239_Sub25(class348_sub49.readUnsignedByte(255), this); - if (i_0_ >= 15) this.aClass239_Sub17_7263 = new Class239_Sub17(class348_sub49.readUnsignedByte(255), this); - if (i_0_ >= 16) this.aClass239_Sub24_7235 = new Class239_Sub24(class348_sub49.readUnsignedByte(i ^ 0x7860), this); - if (i_0_ >= 18) this.aClass239_Sub29_7229 = new Class239_Sub29(class348_sub49.readUnsignedByte(255), this); - if (i_0_ >= 19) this.aClass239_Sub23_7231 = new Class239_Sub23(class348_sub49.readUnsignedByte(255), this); - if (i_0_ < 22) break; - this.aClass239_Sub19_7257 = new Class239_Sub19(class348_sub49.readUnsignedByte(255), this); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("dh.I(" + i + ',' + (class348_sub49 != null ? "{...}" : "null") + ',' + i_0_ + ')')); - } - break; - } while (false); - } - - final Class230 method3422(int i) { - anInt7258++; - if (i != 674) method3425(45); - return aClass230_7269; - } - - private final void method3423(boolean bool, int i) { - if (bool || this.aClass239_Sub20_7216 == null) this.aClass239_Sub20_7216 = new Class239_Sub20(this); - anInt7242++; - if (bool || this.aClass239_Sub20_7248 == null) this.aClass239_Sub20_7248 = new Class239_Sub20(this.aClass239_Sub20_7216.method1808(i + -63636), this); - if (bool || this.aClass239_Sub12_7243 == null) this.aClass239_Sub12_7243 = new Class239_Sub12(this); - if (bool || this.aClass239_Sub10_7232 == null) this.aClass239_Sub10_7232 = new Class239_Sub10(this); - if (bool || this.aClass239_Sub6_7226 == null) this.aClass239_Sub6_7226 = new Class239_Sub6(this); - if (bool || this.aClass239_Sub1_7246 == null) this.aClass239_Sub1_7246 = new Class239_Sub1(this); - if (bool || this.aClass239_Sub16_7247 == null) this.aClass239_Sub16_7247 = new Class239_Sub16(this); - if (bool || this.aClass239_Sub9_7256 == null) this.aClass239_Sub9_7256 = new Class239_Sub9(this); - if (bool || this.aClass239_Sub4_7220 == null) this.aClass239_Sub4_7220 = new Class239_Sub4(this); - if (i != 31286) this.aClass239_Sub4_7220 = null; - if (bool || this.aClass239_Sub13_7236 == null) this.aClass239_Sub13_7236 = new Class239_Sub13(this); - if (bool || this.aClass239_Sub28_7230 == null) this.aClass239_Sub28_7230 = new Class239_Sub28(this); - if (bool || this.aClass239_Sub7_7238 == null) this.aClass239_Sub7_7238 = new Class239_Sub7(this); - if (bool || this.aClass239_Sub3_7222 == null) this.aClass239_Sub3_7222 = new Class239_Sub3(this); - if (bool || this.aClass239_Sub15_7224 == null) this.aClass239_Sub15_7224 = new Class239_Sub15(this); - if (bool || this.aClass239_Sub14_7250 == null) this.aClass239_Sub14_7250 = new Class239_Sub14(this); - if (bool || this.aClass239_Sub14_7264 == null) this.aClass239_Sub14_7264 = new Class239_Sub14(this.aClass239_Sub14_7250.method1778(-32350), this); - if (bool || this.aClass239_Sub23_7231 == null) this.aClass239_Sub23_7231 = new Class239_Sub23(this); - if (bool || this.aClass239_Sub21_7270 == null) this.aClass239_Sub21_7270 = new Class239_Sub21(this); - if (bool || this.aClass239_Sub2_7228 == null) this.aClass239_Sub2_7228 = new Class239_Sub2(this); - if (bool || this.aClass239_Sub24_7235 == null) this.aClass239_Sub24_7235 = new Class239_Sub24(this); - if (bool || this.aClass239_Sub25_7251 == null) this.aClass239_Sub25_7251 = new Class239_Sub25(this); - if (bool || this.aClass239_Sub25_7271 == null) this.aClass239_Sub25_7271 = new Class239_Sub25(this.aClass239_Sub25_7251.method1829(-32350), this); - if (bool || this.aClass239_Sub27_7255 == null) this.aClass239_Sub27_7255 = new Class239_Sub27(this); - if (bool || this.aClass239_Sub27_7261 == null) this.aClass239_Sub27_7261 = new Class239_Sub27(this.aClass239_Sub27_7255.method1840(-32350), this); - if (bool || this.aClass239_Sub18_7259 == null) this.aClass239_Sub18_7259 = new Class239_Sub18(this); - if (bool || this.aClass239_Sub8_7227 == null) this.aClass239_Sub8_7227 = new Class239_Sub8(this); - if (bool || this.aClass239_Sub8_7254 == null) this.aClass239_Sub8_7254 = new Class239_Sub8(this.aClass239_Sub8_7227.method1751(-32350), this); - if (bool || this.aClass239_Sub22_7253 == null) this.aClass239_Sub22_7253 = new Class239_Sub22(this); - if (bool || this.aClass239_Sub29_7229 == null) this.aClass239_Sub29_7229 = new Class239_Sub29(this); - if (bool || this.aClass239_Sub17_7263 == null) this.aClass239_Sub17_7263 = new Class239_Sub17(this); - if (bool || this.aClass239_Sub19_7257 == null) this.aClass239_Sub19_7257 = new Class239_Sub19(this); - if (bool || this.aClass239_Sub11_7265 == null) this.aClass239_Sub11_7265 = new Class239_Sub11(this); - if (bool || this.aClass239_Sub26_7272 == null) this.aClass239_Sub26_7272 = new Class239_Sub26(this); - if (bool || this.aClass239_Sub26_7234 == null) this.aClass239_Sub26_7234 = new Class239_Sub26(this); - if (bool || this.aClass239_Sub26_7215 == null) this.aClass239_Sub26_7215 = new Class239_Sub26(this); - if (bool || this.aClass239_Sub26_7260 == null) this.aClass239_Sub26_7260 = new Class239_Sub26(this); - if (bool || this.aClass239_Sub26_7245 == null) this.aClass239_Sub26_7245 = new Class239_Sub26(this); - if (bool || this.aClass239_Sub5_7240 == null) this.aClass239_Sub5_7240 = new Class239_Sub5(this); - } - - private final void method3424(int i, Class348_Sub49 class348_sub49) { - try { - if (i == 925) { - anInt7266++; - if (class348_sub49 != null && (class348_sub49.aByteArray7154 != null)) { - int i_4_ = class348_sub49.readUnsignedByte(i + -670); - if (i_4_ >= 23) { - if (i_4_ > 24) method3423(true, 31286); - else { - this.aClass239_Sub20_7216 = new Class239_Sub20(class348_sub49.readUnsignedByte(i + -670), this); - this.aClass239_Sub20_7248 = new Class239_Sub20((this.aClass239_Sub20_7216.method1808(i ^ ~0x7dc0)), this); - this.aClass239_Sub12_7243 = new Class239_Sub12(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub10_7232 = new Class239_Sub10(class348_sub49.readUnsignedByte(i + -670), this); - this.aClass239_Sub6_7226 = new Class239_Sub6(class348_sub49.readUnsignedByte(i + -670), this); - this.aClass239_Sub1_7246 = new Class239_Sub1(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub16_7247 = new Class239_Sub16(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub9_7256 = new Class239_Sub9(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub4_7220 = new Class239_Sub4(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub13_7236 = new Class239_Sub13(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub28_7230 = new Class239_Sub28(class348_sub49.readUnsignedByte(i + -670), this); - this.aClass239_Sub7_7238 = new Class239_Sub7(class348_sub49.readUnsignedByte(255), this); - if (i_4_ >= 24) this.aClass239_Sub3_7222 = new Class239_Sub3(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub15_7224 = new Class239_Sub15(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub14_7250 = new Class239_Sub14(class348_sub49.readUnsignedByte(i + -670), this); - this.aClass239_Sub14_7264 = new Class239_Sub14(this.aClass239_Sub14_7250.method1778(-32350), this); - this.aClass239_Sub23_7231 = new Class239_Sub23(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub21_7270 = new Class239_Sub21(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub2_7228 = new Class239_Sub2(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub24_7235 = new Class239_Sub24(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub25_7251 = new Class239_Sub25(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub25_7271 = new Class239_Sub25(this.aClass239_Sub25_7251.method1829(-32350), this); - this.aClass239_Sub27_7255 = new Class239_Sub27(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub27_7261 = new Class239_Sub27(this.aClass239_Sub27_7255.method1840(-32350), this); - this.aClass239_Sub18_7259 = new Class239_Sub18(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub8_7227 = new Class239_Sub8(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub8_7254 = (new Class239_Sub8(this.aClass239_Sub8_7227.method1751(i + -33275), this)); - this.aClass239_Sub22_7253 = new Class239_Sub22(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub29_7229 = new Class239_Sub29(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub17_7263 = new Class239_Sub17(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub19_7257 = new Class239_Sub19(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub11_7265 = new Class239_Sub11(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub26_7272 = new Class239_Sub26(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub26_7234 = new Class239_Sub26(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub26_7215 = new Class239_Sub26(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub26_7260 = new Class239_Sub26(class348_sub49.readUnsignedByte(255), this); - this.aClass239_Sub26_7245 = new Class239_Sub26(class348_sub49.readUnsignedByte(i + -670), this); - this.aClass239_Sub5_7240 = new Class239_Sub5(class348_sub49.readUnsignedByte(255), this); - method3423(false, 31286); - } - } else { - try { - method3421(i + 29954, class348_sub49, i_4_); - } catch (Exception exception) { - method3423(true, 31286); - } - method3423(false, 31286); - } - } else method3423(true, 31286); - method3426((byte) 36); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("dh.C(" + i + ',' + (class348_sub49 != null ? "{...}" : "null") + ')')); - } - } - - final boolean method3425(int i) { - if (i > -61) method3424(21, null); - anInt7217++; - return this.aClass239_Sub25_7271.method1830((byte) -120) && (this.aClass239_Sub25_7271.method1829(-32350) == 0) && aClass199_7221.method1458(-23688) < 96; - } - - private final void method3426(byte i) { - anInt7219++; - try { - Field[] fields = this.getClass().getDeclaredFields(); - if (i != 36) aClass199_7221 = null; - Field[] fields_5_ = fields; - for (int i_6_ = 0; fields_5_.length > i_6_; i_6_++) { - Field field = fields_5_[i_6_]; - if ((aClass7273 != null ? aClass7273 : (aClass7273 = Class239.class)).isAssignableFrom(field.getType())) { - Class239 class239 = (Class239) field.get(this); - class239.method1716(false); - } - } - } catch (IllegalAccessException illegalaccessexception) { - if (Loader.trace) { - illegalaccessexception.printStackTrace(); - } - /* empty */ - } - } - - final Class348_Sub49 method3427(int i) { - anInt7237++; - Class348_Sub49 class348_sub49 = new Class348_Sub49(Class110.method1032(i ^ ~0x18)); - class348_sub49.writeByte(false, i); - class348_sub49.writeByte(false, this.aClass239_Sub20_7216.method1808(-32350)); - class348_sub49.writeByte(false, this.aClass239_Sub12_7243.method1771(-32350)); - class348_sub49.writeByte(false, this.aClass239_Sub10_7232.method1764(-32350)); - class348_sub49.writeByte(false, this.aClass239_Sub6_7226.method1743(-32350)); - class348_sub49.writeByte(false, this.aClass239_Sub1_7246.method1720(i ^ ~0x7e45)); - class348_sub49.writeByte(false, this.aClass239_Sub16_7247.method1789(-32350)); - class348_sub49.writeByte(false, this.aClass239_Sub9_7256.method1759(-32350)); - class348_sub49.writeByte(false, this.aClass239_Sub4_7220.method1737(i + -32374)); - class348_sub49.writeByte(false, this.aClass239_Sub13_7236.method1776(i + -32374)); - class348_sub49.writeByte(false, this.aClass239_Sub28_7230.method1845(-32350)); - class348_sub49.writeByte(false, this.aClass239_Sub7_7238.method1748(i ^ ~0x7e45)); - class348_sub49.writeByte(false, this.aClass239_Sub3_7222.method1727(-32350)); - class348_sub49.writeByte(false, this.aClass239_Sub15_7224.method1784(i + -32374)); - class348_sub49.writeByte(false, this.aClass239_Sub14_7250.method1778(-32350)); - class348_sub49.writeByte(false, this.aClass239_Sub23_7231.method1818(-32350)); - class348_sub49.writeByte(false, this.aClass239_Sub21_7270.method1812(-32350)); - class348_sub49.writeByte(false, this.aClass239_Sub2_7228.method1726(-32350)); - class348_sub49.writeByte(false, this.aClass239_Sub24_7235.method1820(-32350)); - class348_sub49.writeByte(false, this.aClass239_Sub25_7251.method1829(-32350)); - class348_sub49.writeByte(false, this.aClass239_Sub27_7255.method1840(-32350)); - class348_sub49.writeByte(false, this.aClass239_Sub18_7259.method1800(-32350)); - class348_sub49.writeByte(false, this.aClass239_Sub8_7227.method1751(i + -32374)); - class348_sub49.writeByte(false, this.aClass239_Sub22_7253.method1815(-32350)); - class348_sub49.writeByte(false, this.aClass239_Sub29_7229.method1848(-32350)); - class348_sub49.writeByte(false, this.aClass239_Sub17_7263.method1798(-32350)); - class348_sub49.writeByte(false, this.aClass239_Sub19_7257.method1805(-32350)); - class348_sub49.writeByte(false, this.aClass239_Sub11_7265.method1768(i ^ ~0x7e45)); - class348_sub49.writeByte(false, this.aClass239_Sub26_7272.method1838(-32350)); - class348_sub49.writeByte(false, this.aClass239_Sub26_7234.method1838(-32350)); - class348_sub49.writeByte(false, this.aClass239_Sub26_7215.method1838(-32350)); - class348_sub49.writeByte(false, this.aClass239_Sub26_7260.method1838(-32350)); - class348_sub49.writeByte(false, this.aClass239_Sub26_7245.method1838(-32350)); - class348_sub49.writeByte(false, this.aClass239_Sub5_7240.method1739(-32350)); - return class348_sub49; - } - - final Class199 method3428(byte i) { - anInt7225++; - if (i >= -73) method3430(false); - return aClass199_7221; - } - - final void method3429(byte i, Class239 class239, int i_7_) { - try { - anInt7239++; - if (i != 74) method3425(-10); - class239.method1718(i_7_, 72); - method3426((byte) 36); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("dh.A(" + i + ',' + (class239 != null ? "{...}" : "null") + ',' + i_7_ + ')')); - } - } - - public static void method3430(boolean bool) { - if (bool != false) aShortArrayArray7223 = null; - aClass318_Sub10Array7249 = null; - aShortArrayArray7218 = null; - aShortArrayArray7268 = null; - aShortArrayArray7223 = null; - aShortArrayArray7241 = null; - aShortArrayArrayArray7262 = null; - } - - Class348_Sub51(Class230 class230, int i) { - try { - aClass230_7269 = class230; - aClass199_7221 = new Class199((Class348_Sub23_Sub1.aClass297_8992.aBoolean3777), Class226.anInt2964, Class348_Sub40_Sub29.anInt9372, Class297.aString3780.toLowerCase().indexOf("arm") != -1); - this.aClass239_Sub25_7271 = new Class239_Sub25(i, this); - method3423(true, 31286); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("dh.(" + (class230 != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - Class348_Sub51(Class348_Sub49 class348_sub49, Class230 class230, int i) { - try { - aClass230_7269 = class230; - aClass199_7221 = new Class199((Class348_Sub23_Sub1.aClass297_8992.aBoolean3777), Class226.anInt2964, Class348_Sub40_Sub29.anInt9372, Class297.aString3780.indexOf("arm") != -1); - this.aClass239_Sub25_7271 = new Class239_Sub25(i, this); - method3424(925, class348_sub49); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("dh.(" + (class348_sub49 != null ? "{...}" : "null") + ',' + (class230 != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - static { - aShortArrayArray7223 = (new short[][]{{10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898, 10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898, 10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898, 10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898}, {10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898, 10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898, 10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898, 10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898}, {10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898, 10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898, 10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898, 10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898}, {10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898, 10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898, 10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898, 13766, 13745, 13726, 13890, 13743, 13852, 17602, 18605, 21660, 24000, 24997, 24088, 27972, 25903, 26904, 27193, 27175, 27156, 30020, 28975, 29976, 12482, 13485, 10392, 10692, 10669, 10776, 6717, 6695, 7830, 6971, 6951, 5910, 3389, 3369, 3356, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {4300, 3294, 3303, 3264, 4506, 4382, 4387, 5293, 7622, 7384, 8412, 7496, 86, 123, 111, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898, 10, 30, 50, 70, 90, 110, 310, 684, 704, 556, 940, 960, 6454, 6952, 6972, 2358, 2732, 2752, 10550, 10924, 10944, 10310, 10556, 10576, 14646, 15020, 15040, 19766, 20140, 20160, -29386, -29012, -28992, 31030, 31276, 31296, -24266, -23892, -23872, -19146, -18772, -18752, -14026, -13652, -13632, -6858, -6484, -6464, 522, 542, 6794, 6814, 11018, 11038, 14986, 15006, 21130, 21150, -28918, -28898, -22006, -21986, -12918, -12898, 10347, 10582, 10429, 10407, 10359, 8414, 9540, 10456, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}); - anInt7267 = 0; - anInt7252 = 0; - aShortArrayArray7268 = (new short[][]{{9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902, 9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902, 9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902, 9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902}, {9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902, 9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902, 9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902, 9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902}, {9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902, 9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902, 9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902, 9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902}, {9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902, 9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902, 9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902, 13761, 13740, 13721, 13885, 13738, 13847, 17597, 18600, 21655, 23995, 24992, 24083, 27967, 25898, 26899, 27188, 27170, 27151, 30015, 28970, 29971, 12477, 13480, 10387, 10687, 10664, 10771, 6712, 6690, 7825, 6966, 6946, 5905, 3384, 3364, 3351, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {4298, 3292, 3301, 3262, 4504, 4380, 4385, 5291, 7620, 7382, 8410, 7494, 84, 121, 109, 97, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902, 9, 26, 45, 65, 85, 105, 305, 679, 699, 551, 935, 955, 6449, 6947, 6967, 2353, 2727, 2747, 10545, 10919, 10939, 10305, 10551, 10571, 14641, 15015, 15035, 19761, 20135, 20166, -29380, -29017, -28997, 31025, 31271, 31291, -24271, -23897, -23877, -19151, -18777, -18757, -14031, -13657, -13637, -6863, -6489, -6469, 520, 538, 6792, 6810, 11016, 11034, 14984, 15002, 21128, 21146, -28920, -28902, -22008, -21990, -12920, -12902, 10342, 10577, 10424, 10402, 10354, 8409, 9535, 10451, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}); - aShortArrayArrayArray7262 = new short[][][]{aShortArrayArray7223, aShortArrayArray7268, aShortArrayArray7218, aShortArrayArray7241}; - } -} diff --git a/client/src/Class348_Sub5_Sub1.java b/client/src/Class348_Sub5_Sub1.java deleted file mode 100644 index be7d75e90..000000000 --- a/client/src/Class348_Sub5_Sub1.java +++ /dev/null @@ -1,319 +0,0 @@ -/* Class348_Sub5_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -import java.io.*; - -final class Class348_Sub5_Sub1 extends Class348_Sub5 { - private Class337 aClass337_8822; - static int anInt8823; - private Class337 aClass337_8824; - private Class206 aClass206_8825; - private int anInt8826; - static int anInt8827; - static int anInt8828; - static int anInt8829; - private Class258_Sub3 aClass258_Sub3_8830; - static int anInt8831; - static Class21 aClass21_8832 = new Class21(); - private int anInt8833; - static int anInt8834; - private Class258_Sub3 aClass258_Sub3_8835; - private Class337 aClass337_8836; - private Class258_Sub3[] aClass258_Sub3Array8837; - private int anInt8838; - static int anInt8839; - static int anInt8840; - private int anInt8841; - private Class337 aClass337_8842; - static int anInt8843; - private Class206 aClass206_8844; - - final void method2756(byte i, int i_0_) { - anInt8831++; - OpenGL.glUseProgramObjectARB(0L); - this.aHa_Sub2_6618.method3738(-15039, 1); - int i_1_ = -98 / ((i - 44) / 38); - this.aHa_Sub2_6618.method3771((byte) -86, null); - this.aHa_Sub2_6618.method3738(-15039, 0); - } - - final void method2750(Class258_Sub3 class258_sub3, Class258_Sub3 class258_sub3_2_, int i, byte i_3_) { - try { - anInt8828++; - OpenGL.glPushAttrib(2048); - OpenGL.glMatrixMode(5889); - OpenGL.glPushMatrix(); - OpenGL.glLoadIdentity(); - OpenGL.glOrtho(0.0, 1.0, 0.0, 1.0, -1.0, 1.0); - if (aClass258_Sub3Array8837 == null) { - this.aHa_Sub2_6618.method3771((byte) -90, class258_sub3_2_); - this.aHa_Sub2_6618.method3773(-1, aClass206_8825); - aClass206_8825.method1503(0, (byte) 3); - OpenGL.glViewport(0, 0, 256, 256); - long l = aClass337_8842.aLong4178; - OpenGL.glUseProgramObjectARB(l); - OpenGL.glUniform1iARB(OpenGL.glGetUniformLocationARB(l, "sceneTex"), 0); - OpenGL.glUniform3fARB(OpenGL.glGetUniformLocationARB(l, "params"), Class75_Sub1.aFloat5654, 0.0F, 0.0F); - OpenGL.glBegin(7); - OpenGL.glTexCoord2f(0.0F, 0.0F); - OpenGL.glVertex2i(0, 0); - OpenGL.glTexCoord2f((float) anInt8841, 0.0F); - OpenGL.glVertex2i(1, 0); - OpenGL.glTexCoord2f((float) anInt8841, (float) anInt8833); - OpenGL.glVertex2i(1, 1); - OpenGL.glTexCoord2f(0.0F, (float) anInt8833); - OpenGL.glVertex2i(0, 1); - OpenGL.glEnd(); - } else { - this.aHa_Sub2_6618.method3773(-1, aClass206_8844); - int i_4_ = Class348_Sub40_Sub1.method3051(anInt8841, 4096); - int i_5_ = Class348_Sub40_Sub1.method3051(anInt8833, 4096); - int i_6_ = 0; - while (i_4_ > 256 || i_5_ > 256) { - OpenGL.glViewport(0, 0, i_4_, i_5_); - aClass206_8844.method1509(aClass258_Sub3Array8837[i_6_], 0, 0); - if (i_6_ == 0) { - this.aHa_Sub2_6618.method3771((byte) -115, class258_sub3_2_); - OpenGL.glBegin(7); - OpenGL.glTexCoord2f(0.0F, 0.0F); - OpenGL.glVertex2i(0, 0); - OpenGL.glTexCoord2f((float) anInt8841, 0.0F); - OpenGL.glVertex2i(1, 0); - OpenGL.glTexCoord2f((float) anInt8841, (float) anInt8833); - OpenGL.glVertex2i(1, 1); - OpenGL.glTexCoord2f(0.0F, (float) anInt8833); - OpenGL.glVertex2i(0, 1); - OpenGL.glEnd(); - } else { - this.aHa_Sub2_6618.method3771((byte) -82, aClass258_Sub3Array8837[i_6_ - 1]); - OpenGL.glBegin(7); - OpenGL.glTexCoord2f(0.0F, 0.0F); - OpenGL.glVertex2i(0, 0); - OpenGL.glTexCoord2f(1.0F, 0.0F); - OpenGL.glVertex2i(1, 0); - OpenGL.glTexCoord2f(1.0F, 1.0F); - OpenGL.glVertex2i(1, 1); - OpenGL.glTexCoord2f(0.0F, 1.0F); - OpenGL.glVertex2i(0, 1); - OpenGL.glEnd(); - } - if (i_5_ > 256) i_5_ >>= 1; - if (i_4_ > 256) i_4_ >>= 1; - i_6_++; - } - this.aHa_Sub2_6618.method3770(-422613672, aClass206_8844); - this.aHa_Sub2_6618.method3771((byte) -100, aClass258_Sub3Array8837[i_6_ + -1]); - this.aHa_Sub2_6618.method3773(-1, aClass206_8825); - aClass206_8825.method1503(0, (byte) 3); - OpenGL.glViewport(0, 0, 256, 256); - long l = aClass337_8824.aLong4178; - OpenGL.glUseProgramObjectARB(l); - OpenGL.glUniform1iARB(OpenGL.glGetUniformLocationARB(l, "sceneTex"), 0); - OpenGL.glUniform3fARB(OpenGL.glGetUniformLocationARB(l, "params"), Class75_Sub1.aFloat5654, 0.0F, 0.0F); - OpenGL.glBegin(7); - OpenGL.glTexCoord2f(0.0F, 0.0F); - OpenGL.glVertex2i(0, 0); - OpenGL.glTexCoord2f(1.0F, 0.0F); - OpenGL.glVertex2i(1, 0); - OpenGL.glTexCoord2f(1.0F, 1.0F); - OpenGL.glVertex2i(1, 1); - OpenGL.glTexCoord2f(0.0F, 1.0F); - OpenGL.glVertex2i(0, 1); - OpenGL.glEnd(); - } - aClass206_8825.method1503(1, (byte) 3); - this.aHa_Sub2_6618.method3771((byte) -100, aClass258_Sub3_8835); - long l = aClass337_8822.aLong4178; - OpenGL.glUseProgramObjectARB(l); - OpenGL.glUniform1iARB(OpenGL.glGetUniformLocationARB(l, "baseTex"), 0); - OpenGL.glUniform3fARB(OpenGL.glGetUniformLocationARB(l, "step"), 0.00390625F, 0.0F, 0.0F); - OpenGL.glBegin(7); - OpenGL.glTexCoord2f(0.0F, 0.0F); - OpenGL.glVertex2i(0, 0); - OpenGL.glTexCoord2f(1.0F, 0.0F); - OpenGL.glVertex2i(1, 0); - OpenGL.glTexCoord2f(1.0F, 1.0F); - OpenGL.glVertex2i(1, 1); - OpenGL.glTexCoord2f(0.0F, 1.0F); - OpenGL.glVertex2i(0, 1); - OpenGL.glEnd(); - aClass206_8825.method1503(0, (byte) 3); - this.aHa_Sub2_6618.method3771((byte) -114, aClass258_Sub3_8830); - OpenGL.glUniform3fARB(OpenGL.glGetUniformLocationARB(l, "step"), 0.0F, 0.00390625F, 0.0F); - OpenGL.glBegin(7); - OpenGL.glTexCoord2f(0.0F, 0.0F); - if (i_3_ <= 98) aClass258_Sub3_8835 = null; - OpenGL.glVertex2i(0, 0); - OpenGL.glTexCoord2f(1.0F, 0.0F); - OpenGL.glVertex2i(1, 0); - OpenGL.glTexCoord2f(1.0F, 1.0F); - OpenGL.glVertex2i(1, 1); - OpenGL.glTexCoord2f(0.0F, 1.0F); - OpenGL.glVertex2i(0, 1); - OpenGL.glEnd(); - OpenGL.glPopAttrib(); - OpenGL.glPopMatrix(); - OpenGL.glMatrixMode(5888); - this.aHa_Sub2_6618.method3770(-422613672, aClass206_8825); - long l_7_ = aClass337_8836.aLong4178; - OpenGL.glUseProgramObjectARB(l_7_); - OpenGL.glUniform1iARB(OpenGL.glGetUniformLocationARB(l_7_, "sceneTex"), 0); - OpenGL.glUniform1iARB(OpenGL.glGetUniformLocationARB(l_7_, "bloomTex"), 1); - OpenGL.glUniform3fARB(OpenGL.glGetUniformLocationARB(l_7_, "params"), Class348_Sub40_Sub13.aFloat9204, Class239_Sub26.aFloat6120, 0.0F); - this.aHa_Sub2_6618.method3738(-15039, 1); - this.aHa_Sub2_6618.method3771((byte) -99, aClass258_Sub3_8835); - this.aHa_Sub2_6618.method3738(-15039, 0); - this.aHa_Sub2_6618.method3771((byte) -82, class258_sub3_2_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("rda.H(" + (class258_sub3 != null ? "{...}" : "null") + ',' + (class258_sub3_2_ != null ? "{...}" : "null") + ',' + i + ',' + i_3_ + ')')); - } - } - - public static void method2765(int i) { - aClass21_8832 = null; - if (i != 2048) method2765(52); - } - - static final String method2766(boolean bool, Throwable throwable) throws IOException { - anInt8823++; - String string; - if (throwable instanceof RuntimeException_Sub1) { - RuntimeException_Sub1 runtimeexception_sub1 = (RuntimeException_Sub1) throwable; - string = (runtimeexception_sub1.aString4594 + " | "); - throwable = (runtimeexception_sub1.aThrowable4595); - } else string = ""; - StringWriter stringwriter = new StringWriter(); - PrintWriter printwriter = new PrintWriter(stringwriter); - throwable.printStackTrace(printwriter); - printwriter.close(); - String string_8_ = stringwriter.toString(); - BufferedReader bufferedreader = new BufferedReader(new StringReader(string_8_)); - if (bool != false) method2765(-61); - String string_9_ = bufferedreader.readLine(); - for (; ; ) { - String string_10_ = bufferedreader.readLine(); - if (string_10_ == null) break; - int i = string_10_.indexOf('('); - int i_11_ = string_10_.indexOf(')', 1 + i); - String string_12_; - if (i == -1) string_12_ = string_10_; - else string_12_ = string_10_.substring(0, i); - string_12_ = string_12_.trim(); - string_12_ = string_12_.substring(1 + string_12_.lastIndexOf(' ')); - string_12_ = string_12_.substring(1 + string_12_.lastIndexOf('\t')); - string += string_12_; - if (i != -1 && i_11_ != -1) { - int i_13_ = string_10_.indexOf(".java:", i); - if (i_13_ >= 0) string += string_10_.substring(i_13_ - -5, i_11_); - } - string += ' '; - } - string += "| " + string_9_; - return string; - } - - final void method2754(int i, byte i_14_, int i_15_) { - anInt8833 = i; - if (i_14_ >= 7) { - anInt8843++; - anInt8841 = i_15_; - int i_16_ = Class348_Sub40_Sub1.method3051(anInt8841, 4096); - int i_17_ = Class348_Sub40_Sub1.method3051(anInt8833, 4096); - if (anInt8826 != i_16_ || anInt8838 != i_17_) { - if (aClass258_Sub3Array8837 != null) { - for (int i_18_ = 0; (i_18_ < aClass258_Sub3Array8837.length); i_18_++) - aClass258_Sub3Array8837[i_18_].method1952(-19948); - aClass258_Sub3Array8837 = null; - } - if (i_16_ > 256 || i_17_ > 256) { - int i_19_ = i_16_; - int i_20_ = i_17_; - int i_21_ = 0; - while (i_19_ > 256 || i_20_ > 256) { - if (i_20_ > 256) i_20_ >>= 1; - if (i_19_ > 256) i_19_ >>= 1; - i_21_++; - } - if (aClass206_8844 == null) aClass206_8844 = new Class206(this.aHa_Sub2_6618); - i_19_ = i_16_; - aClass258_Sub3Array8837 = new Class258_Sub3[i_21_]; - i_20_ = i_17_; - i_21_ = 0; - while (i_19_ > 256 || i_20_ > 256) { - aClass258_Sub3Array8837[i_21_++] = new Class258_Sub3((this.aHa_Sub2_6618), 3553, 34842, i_19_, i_20_); - if (i_20_ > 256) i_20_ >>= 1; - if (i_19_ > 256) i_19_ >>= 1; - } - } else aClass206_8844 = null; - anInt8826 = i_16_; - anInt8838 = i_17_; - } - } - } - - final void method2763(byte i) { - aClass337_8822 = null; - aClass258_Sub3_8835 = null; - aClass206_8844 = null; - aClass206_8825 = null; - aClass337_8842 = null; - anInt8839++; - aClass258_Sub3Array8837 = null; - aClass337_8824 = null; - aClass337_8836 = null; - if (i > -123) method2756((byte) -56, -105); - aClass258_Sub3_8830 = null; - } - - final boolean method2751(boolean bool) { - if (bool != true) method2751(true); - anInt8829++; - return aClass206_8825 != null; - } - - final boolean method2767(byte i) { - if (i != 104) return false; - anInt8840++; - return this.aHa_Sub2_6618.aBoolean7820 && this.aHa_Sub2_6618.aBoolean7783 && this.aHa_Sub2_6618.aBoolean7818; - } - - final int method2761(boolean bool) { - anInt8827++; - if (bool != true) anInt8833 = -77; - return 1; - } - - final boolean method2758(int i) { - if (i < 84) aClass206_8844 = null; - anInt8834++; - if (this.aHa_Sub2_6618.aBoolean7820 && this.aHa_Sub2_6618.aBoolean7783 && this.aHa_Sub2_6618.aBoolean7818) { - aClass206_8825 = new Class206(this.aHa_Sub2_6618); - aClass258_Sub3_8835 = new Class258_Sub3(this.aHa_Sub2_6618, 3553, 34842, 256, 256); - aClass258_Sub3_8835.method1965(false, false, 10243); - aClass258_Sub3_8830 = new Class258_Sub3(this.aHa_Sub2_6618, 3553, 34842, 256, 256); - aClass258_Sub3_8830.method1965(false, false, 10243); - this.aHa_Sub2_6618.method3773(-1, aClass206_8825); - aClass206_8825.method1509(aClass258_Sub3_8835, 0, 0); - aClass206_8825.method1509(aClass258_Sub3_8830, 0, 1); - aClass206_8825.method1503(0, (byte) 3); - if (!aClass206_8825.method1507(124)) { - this.aHa_Sub2_6618.method3770(-422613672, aClass206_8825); - return false; - } - this.aHa_Sub2_6618.method3770(-422613672, aClass206_8825); - aClass337_8842 = (Class318_Sub1_Sub5_Sub2.method2493(this.aHa_Sub2_6618, -1, (new Class242[]{Class348_Sub42_Sub15.method3249(35632, 80, this.aHa_Sub2_6618, "#extension GL_ARB_texture_rectangle : enable\nuniform vec3 params;\nuniform sampler2DRect sceneTex;\nconst vec3 lumCoef = vec3(0.2126, 0.7152, 0.0722);\nvoid main() {\n vec4 col = texture2DRect(sceneTex, gl_TexCoord[0].xy);\n gl_FragColor = col*step(params.x, dot(lumCoef, col.rgb));\n}\n")}))); - aClass337_8824 = (Class318_Sub1_Sub5_Sub2.method2493(this.aHa_Sub2_6618, -1, (new Class242[]{Class348_Sub42_Sub15.method3249(35632, -45, this.aHa_Sub2_6618, "uniform vec3 params;\nuniform sampler2D sceneTex;\nconst vec3 lumCoef = vec3(0.2126, 0.7152, 0.0722);\nvoid main() {\n vec4 col = texture2D(sceneTex, gl_TexCoord[0].xy);\n gl_FragColor = col*step(params.x, dot(lumCoef, col.rgb));\n}\n")}))); - aClass337_8836 = (Class318_Sub1_Sub5_Sub2.method2493(this.aHa_Sub2_6618, -1, (new Class242[]{Class348_Sub42_Sub15.method3249(35632, -108, this.aHa_Sub2_6618, "#extension GL_ARB_texture_rectangle : enable\nuniform vec3 params;\nuniform vec3 dimScale;\nuniform sampler2D bloomTex;\nuniform sampler2DRect sceneTex;\nconst vec3 lumCoef = vec3(0.2126, 0.7152, 0.0722);\nvoid main() {\n\t vec4 bloomCol = texture2D(bloomTex, gl_TexCoord[1].xy);\n\t vec4 sceneCol = texture2DRect(sceneTex, gl_TexCoord[0].xy);\n\t float preLum = 0.99*dot(lumCoef, sceneCol.rgb)+0.01;\n float postLum = preLum*(1.0+(preLum/params.y))/(preLum+1.0);\n\t gl_FragColor = sceneCol*(postLum/preLum)+bloomCol*params.x;\n}\n")}))); - aClass337_8822 = (Class318_Sub1_Sub5_Sub2.method2493(this.aHa_Sub2_6618, -1, (new Class242[]{Class348_Sub42_Sub15.method3249(35632, -31, this.aHa_Sub2_6618, "uniform vec3 step;\nuniform sampler2D baseTex;\nvoid main() {\n\tvec4 fragCol = texture2D(baseTex, gl_TexCoord[0].xy)*0.091396265;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+(-1.0*step.xy))*0.088584304;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+( 1.0*step.xy))*0.088584304;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+(-2.0*step.xy))*0.08065692;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+( 2.0*step.xy))*0.08065692;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+(-3.0*step.xy))*0.068989515;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+( 3.0*step.xy))*0.068989515;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+(-4.0*step.xy))*0.055434637;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+( 4.0*step.xy))*0.055434637;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+(-5.0*step.xy))*0.04184426;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+( 5.0*step.xy))*0.04184426;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+(-6.0*step.xy))*0.029672023;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+( 6.0*step.xy))*0.029672023;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+(-7.0*step.xy))*0.019765828;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+( 7.0*step.xy))*0.019765828;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+(-8.0*step.xy))*0.012369139;\n\tfragCol += texture2D(baseTex, gl_TexCoord[0].xy+( 8.0*step.xy))*0.012369139;\n\tgl_FragColor = fragCol;\n}\n")}))); - return aClass337_8824 != null && aClass337_8842 != null && aClass337_8836 != null && aClass337_8822 != null; - } - return false; - } - - Class348_Sub5_Sub1(ha_Sub2 var_ha_Sub2) { - super(var_ha_Sub2); - } -} diff --git a/client/src/Class348_Sub6.java b/client/src/Class348_Sub6.java deleted file mode 100644 index fa8a996c2..000000000 --- a/client/src/Class348_Sub6.java +++ /dev/null @@ -1,113 +0,0 @@ -/* Class348_Sub6 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.File; -import java.lang.reflect.Method; - -final class Class348_Sub6 extends Class348 { - int anInt6630; - static int[] anIntArray6631 = new int[13]; - static int anInt6632; - static int anInt6633; - static int anInt6634 = -2; - static int[] anIntArray6635 = new int[4]; - int anInt6636; - static int anInt6637 = 2; - static int anInt6638; - static int anInt6639; - /*synthetic*/ static Class aClass6640; - - public static void method2768(int i) { - anIntArray6631 = null; - anIntArray6635 = null; - if (i != 3) anInt6634 = 101; - } - - static final boolean method2769(Class var_class, byte i, String string) { - try { - anInt6639++; - Class var_class_0_ = ((Class) Player.aHashtable10565.get(string)); - if (var_class_0_ != null) { - return var_class_0_.getClassLoader() == var_class.getClassLoader(); - } - File file = null; - if (file == null) file = (File) Class275.aHashtable3548.get(string); - if (i != 20) anInt6633 = -118; - if (file != null) { - try { - System.load(file.getPath()); - Player.aHashtable10565.put(string, (aClass6640 != null ? aClass6640 : (aClass6640 = Class90.class))); - return true; - } catch (Throwable throwable) { - if (Loader.trace) { - throwable.printStackTrace(); - } - } - } - return false; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("gba.C(" + (var_class != null ? "{...}" : "null") + ',' + i + ',' + (string != null ? "{...}" : "null") + ')')); - } - } - - Class348_Sub6(int i, int i_4_) { - this.anInt6636 = i_4_; - this.anInt6630 = i; - } - - static final void method2770(int i) { - anInt6638++; - if (Class10.anIntArray179 == null) Class10.anIntArray179 = new int[65536]; - else return; - double d = 0.7 + (0.03 * Math.random() - 0.015); - for (int i_5_ = 0; i_5_ < 65536; i_5_++) { - double d_6_ = 0.0078125 + (double) ((0xfebd & i_5_) >> 10) / 64.0; - double d_7_ = (double) ((0x384 & i_5_) >> 7) / 8.0 + 0.0625; - double d_8_ = (double) (i_5_ & 0x7f) / 128.0; - double d_9_ = d_8_; - double d_10_ = d_8_; - double d_11_ = d_8_; - if (d_7_ != 0.0) { - double d_12_; - if (d_8_ < 0.5) d_12_ = d_8_ * (d_7_ + 1.0); - else d_12_ = -(d_8_ * d_7_) + (d_8_ + d_7_); - double d_13_ = 2.0 * d_8_ - d_12_; - double d_14_ = 0.3333333333333333 + d_6_; - if (d_14_ > 1.0) d_14_--; - double d_15_ = d_6_; - double d_16_ = -0.3333333333333333 + d_6_; - if (d_16_ < 0.0) d_16_++; - if (6.0 * d_14_ < 1.0) d_9_ = d_13_ + 6.0 * (-d_13_ + d_12_) * d_14_; - else if (!(2.0 * d_14_ < 1.0)) { - if (!(3.0 * d_14_ < 2.0)) d_9_ = d_13_; - else d_9_ = 6.0 * ((d_12_ - d_13_) * (-d_14_ + 0.6666666666666666)) + d_13_; - } else d_9_ = d_12_; - if (!(6.0 * d_15_ < 1.0)) { - if (!(2.0 * d_15_ < 1.0)) { - if (!(d_15_ * 3.0 < 2.0)) d_10_ = d_13_; - else d_10_ = ((-d_15_ + 0.6666666666666666) * (d_12_ - d_13_) * 6.0) + d_13_; - } else d_10_ = d_12_; - } else d_10_ = d_13_ + d_15_ * (6.0 * (d_12_ - d_13_)); - if (d_16_ * 6.0 < 1.0) d_11_ = d_13_ + (d_12_ - d_13_) * 6.0 * d_16_; - else if (!(2.0 * d_16_ < 1.0)) { - if (3.0 * d_16_ < 2.0) d_11_ = d_13_ + ((-d_13_ + d_12_) * (0.6666666666666666 - d_16_) * 6.0); - else d_11_ = d_13_; - } else d_11_ = d_12_; - } - d_9_ = Math.pow(d_9_, d); - d_10_ = Math.pow(d_10_, d); - d_11_ = Math.pow(d_11_, d); - int i_17_ = (int) (d_9_ * 256.0); - int i_18_ = (int) (d_10_ * 256.0); - int i_19_ = (int) (d_11_ * 256.0); - int i_20_ = (i_18_ << 8) + (i_17_ << 16) - -i_19_; - Class10.anIntArray179[i_5_] = i_20_; - } - if (i != 2) anInt6634 = 92; - } - - static { - anInt6633 = 0; - } -} diff --git a/client/src/Class348_Sub7.java b/client/src/Class348_Sub7.java deleted file mode 100644 index f48ce6aba..000000000 --- a/client/src/Class348_Sub7.java +++ /dev/null @@ -1,49 +0,0 @@ -/* Class348_Sub7 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub7 extends Class348 { - static int anInt6641; - int anInt6642; - static Class207 aClass207_6643; - static Class229 aClass229_6644 = new Class229(); - int anInt6645; - static int anInt6646; - int anInt6647; - int anInt6648; - int anInt6649; - boolean aBoolean6650; - static long aLong6651 = -1L; - static int anInt6652 = 0; - static Class33 aClass33_6653; - - static final void method2772(int i, byte i_0_) { - anInt6641++; - if (Class320.method2547(i, (byte) 84) && i_0_ > 105) { - Class46[] class46s = Class348_Sub40_Sub33.aClass46ArrayArray9427[i]; - for (int i_1_ = 0; i_1_ < class46s.length; i_1_++) { - Class46 class46 = class46s[i_1_]; - if (class46 != null) { - class46.anInt795 = 0; - class46.anInt730 = 1; - class46.anInt841 = 0; - } - } - } - } - - public static void method2773(int i) { - aClass207_6643 = null; - aClass229_6644 = null; - if (i == 0) aClass33_6653 = null; - } - - Class348_Sub7(int i, int i_2_, int i_3_, int i_4_, int i_5_, boolean bool) { - this.anInt6647 = i_4_; - this.anInt6645 = i_3_; - this.anInt6648 = i_2_; - this.aBoolean6650 = bool; - this.anInt6642 = i_5_; - this.anInt6649 = i; - } -} diff --git a/client/src/Class348_Sub8.java b/client/src/Class348_Sub8.java deleted file mode 100644 index 6f1abd432..000000000 --- a/client/src/Class348_Sub8.java +++ /dev/null @@ -1,103 +0,0 @@ -/* Class348_Sub8 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.applet.Applet; - -final class Class348_Sub8 extends Class348 { - static ha aHa6654; - static int[] anIntArray6655; - static boolean[][] aBooleanArrayArray6656; - byte[] aByteArray6657; - private static short[] aShortArray6658; - static int anInt6659; - static Class241 aClass241_6660; - private static short[] aShortArray6661 = {967, 20428, -21577, 11219, -10290}; - static Applet anApplet6662; - private static short[] aShortArray6663 = {957, 20418, -21587, 11209, -10300}; - static short[][] aShortArrayArray6664; - private static short[] aShortArray6665; - static int[] anIntArray6666; - static int anInt6667; - - static final int method2774(byte i, Class318_Sub1_Sub3_Sub3 class318_sub1_sub3_sub3) { - anInt6667++; - if (i != 108) anApplet6662 = null; - if (class318_sub1_sub3_sub3.anInt10310 == 0) return 0; - if (class318_sub1_sub3_sub3.anInt10275 != -1) { - Class318_Sub1_Sub3_Sub3 class318_sub1_sub3_sub3_0_ = null; - if (class318_sub1_sub3_sub3.anInt10275 >= 32768) { - if ((class318_sub1_sub3_sub3.anInt10275) >= 32768) class318_sub1_sub3_sub3_0_ = (Class294.aPlayerArray5058[class318_sub1_sub3_sub3.anInt10275 + -32768]); - } else { - Class348_Sub22 class348_sub22 = ((Class348_Sub22) (Class282.aClass356_3654.method3480(class318_sub1_sub3_sub3.anInt10275, -6008))); - if (class348_sub22 != null) class318_sub1_sub3_sub3_0_ = (class348_sub22.aNpc_6859); - } - if (class318_sub1_sub3_sub3_0_ != null) { - int i_1_ = (class318_sub1_sub3_sub3.x + -(class318_sub1_sub3_sub3_0_.x)); - int i_2_ = (class318_sub1_sub3_sub3.y + -(class318_sub1_sub3_sub3_0_.y)); - if (i_1_ != 0 || i_2_ != 0) class318_sub1_sub3_sub3.method2440((byte) 49, 0x3fff & (int) (Math.atan2(i_1_, i_2_) * 2607.5945876176133)); - } - } - if (class318_sub1_sub3_sub3 instanceof Player) { - Player player = (Player) class318_sub1_sub3_sub3; - if ((player.anInt10524) != -1 && ((player.anInt10319) == 0 || player.anInt10326 > 0)) { - player.method2440((byte) 49, player.anInt10524); - player.anInt10524 = -1; - } - } else if (class318_sub1_sub3_sub3 instanceof Npc) { - Npc npc = (Npc) class318_sub1_sub3_sub3; - if ((npc.anInt10499) != -1 && ((npc.anInt10319) == 0 || npc.anInt10326 > 0)) { - int i_3_ = (-((-za_Sub2.regionTileX + npc.anInt10499 - za_Sub2.regionTileX) * 256) + (npc.x)); - int i_4_ = (npc.y - 256 * (npc.anInt10512 + (-Class90.regionTileY + -Class90.regionTileY))); - if (i_3_ != 0 || i_4_ != 0) npc.method2440((byte) 49, 0x3fff & (int) (Math.atan2(i_3_, i_4_) * 2607.5945876176133)); - npc.anInt10499 = -1; - } - } - return class318_sub1_sub3_sub3.method2428(i + -106); - } - - public static void method2775(byte i) { - aShortArray6658 = null; - aHa6654 = null; - aShortArray6665 = null; - anIntArray6666 = null; - aShortArray6663 = null; - anIntArray6655 = null; - if (i > -123) method2776((byte) -65, -91); - aClass241_6660 = null; - aBooleanArrayArray6656 = null; - anApplet6662 = null; - aShortArrayArray6664 = null; - aShortArray6661 = null; - } - - Class348_Sub8(byte[] is) { - this.aByteArray6657 = is; - } - - static final Class364 method2776(byte i, int i_5_) { - anInt6659++; - if (i > -35) aBooleanArrayArray6656 = null; - Class364[] class364s = Class348_Sub40_Sub28.method3122((byte) 91); - for (int i_6_ = 0; class364s.length > i_6_; i_6_++) { - Class364 class364 = class364s[i_6_]; - if (class364.anInt4466 == i_5_) return class364; - } - return null; - } - - static long method2777(long l, long l_7_) { - try { - return l & l_7_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "gia.C(" + l + ',' + l_7_ + ')'); - } - } - - static { - aShortArray6658 = new short[]{952, 20413, -21592, 11204, -10305}; - aShortArray6665 = new short[]{962, 20423, -21582, 11214, -10295}; - aShortArrayArray6664 = new short[][]{aShortArray6661, aShortArray6665, aShortArray6663, aShortArray6658}; - anIntArray6666 = new int[3]; - } -} diff --git a/client/src/Class348_Sub9.java b/client/src/Class348_Sub9.java deleted file mode 100644 index 0d2051774..000000000 --- a/client/src/Class348_Sub9.java +++ /dev/null @@ -1,251 +0,0 @@ -/* Class348_Sub9 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class348_Sub9 extends Class348 { - int anInt6668; - static int anInt6669; - int anInt6670; - static int anInt6671; - static int anInt6672; - Class348_Sub16_Sub5 aClass348_Sub16_Sub5_6673; - boolean aBoolean6674; - int anInt6675 = 0; - Class348_Sub16_Sub5 aClass348_Sub16_Sub5_6676; - int anInt6677; - int anInt6678; - Player aPlayer_6679; - int anInt6680; - int anInt6681; - static int anInt6682; - Class348_Sub10 aClass348_Sub10_6683; - boolean aBoolean6684; - int anInt6685; - Class348_Sub19_Sub1 aClass348_Sub19_Sub1_6686; - int anInt6687; - Class348_Sub10 aClass348_Sub10_6688; - int anInt6689; - static int anInt6690; - Npc aNpc_6691; - Class348_Sub19_Sub1 aClass348_Sub19_Sub1_6692; - int anInt6693; - int anInt6694; - Class51 aClass51_6695; - int anInt6696; - int[] anIntArray6697; - int anInt6698; - boolean aBoolean6699; - - static final boolean method2778(Class318_Sub1 class318_sub1, boolean bool, byte[][][] is, int i, byte i_0_) { - if (!Class348_Sub40_Sub17.aBoolean9242) return false; - int i_1_ = class318_sub1.x >> Class362.anInt4459; - int i_2_ = i_1_; - int i_3_ = class318_sub1.y >> Class362.anInt4459; - int i_4_ = i_3_; - if (class318_sub1 instanceof Class318_Sub1_Sub3) { - i_2_ = (((Class318_Sub1_Sub3) class318_sub1).aShort8751); - i_4_ = (((Class318_Sub1_Sub3) class318_sub1).aShort8747); - i_1_ = (((Class318_Sub1_Sub3) class318_sub1).aShort8743); - i_3_ = (((Class318_Sub1_Sub3) class318_sub1).aShort8750); - } - for (int i_5_ = i_1_; i_5_ <= i_2_; i_5_++) { - for (int i_6_ = i_3_; i_6_ <= i_4_; i_6_++) { - if ((class318_sub1.aByte6376 < Class189.anInt2524) && i_5_ >= Class37.anInt492 && i_5_ < Class27.anInt387 && i_6_ >= Class348_Sub34.anInt6974 && i_6_ < Class59_Sub1.anInt5293) { - if ((is != null && class318_sub1.plane >= i && (is[class318_sub1.plane][i_5_][i_6_]) == i_0_) || !class318_sub1.method2378(0) || class318_sub1.method2382((byte) -79)) { - if (!bool && i_5_ >= Class239_Sub25.anInt6111 - 16 && i_5_ <= Class239_Sub25.anInt6111 + 16 && i_6_ >= Class285_Sub2.anInt8502 - 16 && i_6_ <= Class285_Sub2.anInt8502 + 16) { - if (Class348_Sub40_Sub5.aBoolean9121) { - Class319.aClass315Array3982[Class139.anInt1949++].method2361(-15481, class318_sub1); - Class139.anInt1949 %= Class75_Sub1.anInt5652; - } else class318_sub1.method2387(Class9.aHa171, -128); - } - } else return false; - } - } - } - return true; - } - - static final int method2779(boolean bool, int i) { - anInt6672++; - if (i == 6407 || i == 34843 || i == 34837) return 6407; - if (i == 6408 || i == 34842 || i == 34836) return 6408; - if (i == 6406 || i == 34844) return 6406; - if (i == 6409 || i == 34846) return 6409; - if (i == 6410 || i == 34847) return 6410; - if (bool != true) method2780(36, null, (byte) -28, -58, -120); - if (i == 6402) return 6402; - throw new IllegalArgumentException(""); - } - - static final void method2780(int i, String string, byte i_7_, int i_8_, int i_9_) { - do { - try { - anInt6669++; - Class46 class46 = Class348_Sub22.method2957(i, (byte) -54, i_9_); - if (class46 != null) { - if (class46.anObjectArray741 != null) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); - class348_sub36.aClass46_6989 = class46; - class348_sub36.aString6994 = string; - class348_sub36.anObjectArray6987 = class46.anObjectArray741; - class348_sub36.anInt6986 = i_8_; - Class66.method705(class348_sub36); - } - if (Class240.anInt4674 == 10 && client.method105(class46).method3301(-1 + i_8_, false)) { - if (i_8_ == 1) { - Class127_Sub1.anInt8380++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class27.aClass351_398), (Class348_Sub23_Sub2.aClass77_9029), -93); - Class375.method3614(i_9_, i, class46.anInt812, class348_sub47, -19692); - Class348_Sub42_Sub14.method3243(118, class348_sub47); - } - if (i_8_ == 2) { - InputStream_Sub1.anInt71++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class200.aClass351_2638), (Class348_Sub23_Sub2.aClass77_9029), -98); - Class375.method3614(i_9_, i, class46.anInt812, class348_sub47, -19692); - Class348_Sub42_Sub14.method3243(126, class348_sub47); - } - if (i_8_ == 3) { - Class289.anInt3703++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class286_Sub4.aClass351_6244), (Class348_Sub23_Sub2.aClass77_9029), -93); - Class375.method3614(i_9_, i, class46.anInt812, class348_sub47, -19692); - Class348_Sub42_Sub14.method3243(-80, class348_sub47); - } - if (i_8_ == 4) { - Class90.anInt1514++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((aa_Sub3.aClass351_5204), (Class348_Sub23_Sub2.aClass77_9029), -82); - Class375.method3614(i_9_, i, class46.anInt812, class348_sub47, -19692); - Class348_Sub42_Sub14.method3243(116, class348_sub47); - } - int i_10_ = -80 / ((64 - i_7_) / 43); - if (i_8_ == 5) { - Class101_Sub2.anInt5714++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class50_Sub1.aClass351_5217), (Class348_Sub23_Sub2.aClass77_9029), -94); - Class375.method3614(i_9_, i, class46.anInt812, class348_sub47, -19692); - Class348_Sub42_Sub14.method3243(123, class348_sub47); - } - if (i_8_ == 6) { - Class240.anInt4680++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class222.aClass351_2892), (Class348_Sub23_Sub2.aClass77_9029), -100); - Class375.method3614(i_9_, i, class46.anInt812, class348_sub47, -19692); - Class348_Sub42_Sub14.method3243(-4, class348_sub47); - } - if (i_8_ == 7) { - Class331.anInt4134++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class358.aClass351_4418), (Class348_Sub23_Sub2.aClass77_9029), -84); - Class375.method3614(i_9_, i, class46.anInt812, class348_sub47, -19692); - Class348_Sub42_Sub14.method3243(118, class348_sub47); - } - if (i_8_ == 8) { - Class112.anInt1726++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class243.aClass351_3165), (Class348_Sub23_Sub2.aClass77_9029), -117); - Class375.method3614(i_9_, i, class46.anInt812, class348_sub47, -19692); - Class348_Sub42_Sub14.method3243(-96, class348_sub47); - } - if (i_8_ == 9) { - Class339.anInt4198++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class311.aClass351_3898), (Class348_Sub23_Sub2.aClass77_9029), -107); - Class375.method3614(i_9_, i, class46.anInt812, class348_sub47, -19692); - Class348_Sub42_Sub14.method3243(119, class348_sub47); - } - if (i_8_ != 10) break; - Class308.anInt3886++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class281.aClass351_3644, (Class348_Sub23_Sub2.aClass77_9029), -120); - Class375.method3614(i_9_, i, class46.anInt812, class348_sub47, -19692); - Class348_Sub42_Sub14.method3243(117, class348_sub47); - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("hf.D(" + i + ',' + (string != null ? "{...}" : "null") + ',' + i_7_ + ',' + i_8_ + ',' + i_9_ + ')')); - } - break; - } while (false); - } - - final void method2781(byte i) { - anInt6671++; - int i_11_ = this.anInt6685; - if (i == 21) { - boolean bool = this.aBoolean6674; - if (this.aClass51_6695 == null) { - if (this.aNpc_6691 == null) { - if ((this.aPlayer_6679) != null) { - this.anInt6685 = (Class315.method2357(-1, (this.aPlayer_6679))); - this.anInt6694 = (this.aPlayer_6679.anInt10553) << 9; - this.anInt6677 = (this.aPlayer_6679.anInt10558); - this.anInt6681 = 256; - this.anInt6696 = 256; - this.aBoolean6674 = (this.aPlayer_6679.aBoolean10517); - } - } else { - int i_12_ = (Class8.method214((this.aNpc_6691), -1)); - if (i_12_ != i_11_) { - this.anInt6685 = i_12_; - Class79 class79 = (this.aNpc_6691.aClass79_10505); - if (class79.anIntArray1377 != null) class79 = class79.method794((Class318_Sub1_Sub3_Sub3.aClass170_10209), -1); - if (class79 == null) { - this.anInt6677 = this.anInt6694 = 0; - this.anInt6681 = 256; - this.anInt6696 = 256; - this.aBoolean6674 = this.aNpc_6691.aClass79_10505.aBoolean1370; - } else { - this.anInt6694 = class79.anInt1392 << 9; - this.anInt6681 = class79.anInt1363; - this.anInt6677 = class79.anInt1356; - this.aBoolean6674 = class79.aBoolean1370; - this.anInt6696 = class79.anInt1340; - } - } - } - } else { - Class51 class51 = (this.aClass51_6695.method480(Class318_Sub1_Sub3_Sub3.aClass170_10209, (byte) 47)); - if (class51 == null) { - this.anInt6681 = 256; - this.aBoolean6674 = false; - this.aBoolean6699 = false; - this.anIntArray6697 = null; - this.anInt6668 = 0; - this.anInt6677 = 0; - this.anInt6696 = 256; - this.anInt6680 = 0; - this.anInt6685 = -1; - this.anInt6694 = 0; - } else { - this.anInt6681 = class51.anInt916; - this.anInt6685 = class51.anInt887; - this.anInt6696 = class51.anInt878; - this.anInt6694 = class51.anInt889 << 9; - this.aBoolean6674 = class51.aBoolean888; - this.anInt6680 = class51.anInt962; - this.anInt6677 = class51.anInt936; - this.anInt6668 = class51.anInt937; - this.aBoolean6699 = class51.aBoolean903; - this.anIntArray6697 = class51.anIntArray904; - } - } - if (((i_11_ != this.anInt6685) || bool == !this.aBoolean6674) && this.aClass348_Sub16_Sub5_6676 != null) { - Class348_Sub43.aClass348_Sub16_Sub4_7065.method2880(this.aClass348_Sub16_Sub5_6676); - this.aClass348_Sub19_Sub1_6686 = null; - this.aClass348_Sub16_Sub5_6676 = null; - this.aClass348_Sub10_6688 = null; - } - } - } - - static final byte method2782(int i, int i_13_, int i_14_) { - if (i_14_ != 0) method2783(-96, (byte) -65, -96); - anInt6690++; - if (i_13_ != 9) return (byte) 0; - if ((i & 0x1) == 0) return (byte) 1; - return (byte) 2; - } - - static final boolean method2783(int i, byte i_15_, int i_16_) { - anInt6682++; - int i_17_ = 53 / ((15 - i_15_) / 55); - return (Class348_Sub42_Sub16_Sub1.method3262(i_16_, i, 118) & Class368.method3563(i_16_, (byte) 56, i)); - } - - public Class348_Sub9() { - /* empty */ - } -} diff --git a/client/src/Class349.java b/client/src/Class349.java deleted file mode 100644 index 65aa0afaf..000000000 --- a/client/src/Class349.java +++ /dev/null @@ -1,101 +0,0 @@ -/* Class349 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class349 { - int[] anIntArray4299 = new int[2]; - private final int[][][] anIntArrayArrayArray4300; - static int[][] anIntArrayArray4301 = new int[2][8]; - private final int[][][] anIntArrayArrayArray4302; - static int anInt4303; - private final int[] anIntArray4304 = new int[2]; - private static float aFloat4305; - private static float[][] aFloatArrayArray4306 = new float[2][8]; - - final void method3446(Class348_Sub49 class348_sub49, Class197 class197) { - int i = class348_sub49.readUnsignedByte(255); - this.anIntArray4299[0] = i >> 4; - this.anIntArray4299[1] = i & 0xf; - if (i != 0) { - anIntArray4304[0] = class348_sub49.readUnsignedShort(842397944); - anIntArray4304[1] = class348_sub49.readUnsignedShort(842397944); - int i_0_ = class348_sub49.readUnsignedByte(255); - for (int i_1_ = 0; i_1_ < 2; i_1_++) { - for (int i_2_ = 0; i_2_ < this.anIntArray4299[i_1_]; i_2_++) { - anIntArrayArrayArray4302[i_1_][0][i_2_] = class348_sub49.readUnsignedShort(842397944); - anIntArrayArrayArray4300[i_1_][0][i_2_] = class348_sub49.readUnsignedShort(842397944); - } - } - for (int i_3_ = 0; i_3_ < 2; i_3_++) { - for (int i_4_ = 0; i_4_ < this.anIntArray4299[i_3_]; i_4_++) { - if ((i_0_ & 1 << i_3_ * 4 << i_4_) == 0) { - anIntArrayArrayArray4302[i_3_][1][i_4_] = anIntArrayArrayArray4302[i_3_][0][i_4_]; - anIntArrayArrayArray4300[i_3_][1][i_4_] = anIntArrayArrayArray4300[i_3_][0][i_4_]; - } else { - anIntArrayArrayArray4302[i_3_][1][i_4_] = class348_sub49.readUnsignedShort(842397944); - anIntArrayArrayArray4300[i_3_][1][i_4_] = class348_sub49.readUnsignedShort(842397944); - } - } - } - if (i_0_ != 0 || anIntArray4304[1] != anIntArray4304[0]) class197.method1454(class348_sub49); - } else anIntArray4304[0] = anIntArray4304[1] = 0; - } - - private final float method3447(int i, int i_5_, float f) { - float f_6_ = ((float) anIntArrayArrayArray4302[i][0][i_5_] + f * (float) (anIntArrayArrayArray4302[i][1][i_5_] - anIntArrayArrayArray4302[i][0][i_5_])); - f_6_ *= 1.2207031E-4F; - return method3448(f_6_); - } - - private static final float method3448(float f) { - float f_7_ = 32.703197F * (float) Math.pow(2.0, f); - return f_7_ * 3.1415927F / 11025.0F; - } - - private final float method3449(int i, int i_8_, float f) { - float f_9_ = ((float) anIntArrayArrayArray4300[i][0][i_8_] + f * (float) (anIntArrayArrayArray4300[i][1][i_8_] - anIntArrayArrayArray4300[i][0][i_8_])); - f_9_ *= 0.0015258789F; - return 1.0F - (float) Math.pow(10.0, -f_9_ / 20.0F); - } - - public static void method3450() { - aFloatArrayArray4306 = null; - anIntArrayArray4301 = null; - } - - final int method3451(int i, float f) { - if (i == 0) { - float f_10_ = ((float) anIntArray4304[0] + (float) (anIntArray4304[1] - anIntArray4304[0]) * f); - f_10_ *= 0.0030517578F; - aFloat4305 = (float) Math.pow(0.1, f_10_ / 20.0F); - anInt4303 = (int) (aFloat4305 * 65536.0F); - } - if (this.anIntArray4299[i] == 0) return 0; - float f_11_ = method3449(i, 0, f); - aFloatArrayArray4306[i][0] = -2.0F * f_11_ * (float) Math.cos(method3447(i, 0, f)); - aFloatArrayArray4306[i][1] = f_11_ * f_11_; - for (int i_12_ = 1; i_12_ < this.anIntArray4299[i]; i_12_++) { - f_11_ = method3449(i, i_12_, f); - float f_13_ = (-2.0F * f_11_ * (float) Math.cos(method3447(i, i_12_, f))); - float f_14_ = f_11_ * f_11_; - aFloatArrayArray4306[i][i_12_ * 2 + 1] = aFloatArrayArray4306[i][i_12_ * 2 - 1] * f_14_; - aFloatArrayArray4306[i][i_12_ * 2] = (aFloatArrayArray4306[i][i_12_ * 2 - 1] * f_13_ + aFloatArrayArray4306[i][i_12_ * 2 - 2] * f_14_); - for (int i_15_ = i_12_ * 2 - 1; i_15_ >= 2; i_15_--) - aFloatArrayArray4306[i][i_15_] += (aFloatArrayArray4306[i][i_15_ - 1] * f_13_ + aFloatArrayArray4306[i][i_15_ - 2] * f_14_); - aFloatArrayArray4306[i][1] += aFloatArrayArray4306[i][0] * f_13_ + f_14_; - aFloatArrayArray4306[i][0] += f_13_; - } - if (i == 0) { - for (int i_16_ = 0; i_16_ < this.anIntArray4299[0] * 2; i_16_++) - aFloatArrayArray4306[0][i_16_] *= aFloat4305; - } - for (int i_17_ = 0; i_17_ < this.anIntArray4299[i] * 2; i_17_++) - anIntArrayArray4301[i][i_17_] = (int) (aFloatArrayArray4306[i][i_17_] * 65536.0F); - return this.anIntArray4299[i] * 2; - } - - public Class349() { - anIntArrayArrayArray4302 = new int[2][2][4]; - anIntArrayArrayArray4300 = new int[2][2][4]; - } -} diff --git a/client/src/Class35.java b/client/src/Class35.java deleted file mode 100644 index 2489c417a..000000000 --- a/client/src/Class35.java +++ /dev/null @@ -1,35 +0,0 @@ -/* Class35 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class35 { - static int anInt483; - static int anInt484; - static int anInt485; - - static final void method352(int i) { - anInt483++; - Class162.method1265(i + 15); - IOException_Sub1.method131(Class316.aClass348_Sub51_3959.aClass239_Sub5_7240.method1739(-32350) == 1, 2, true, 22050); - Class348_Sub40.aClass279_7042 = Class193.method1439(22050, Class348_Sub23_Sub1.aClass297_8992, Class305.aCanvas3869, 0, 7); - Class348_Sub42_Sub18.method3273(true, i + -82, Class172.method1326(null, 9)); - Class194.aClass279_2596 = Class193.method1439(2048, Class348_Sub23_Sub1.aClass297_8992, Class305.aCanvas3869, i, 7); - Class194.aClass279_2596.method2088(false, Class348_Sub43.aClass348_Sub16_Sub4_7065); - } - - static final int method353(int i, int i_0_, int i_1_) { - anInt485++; - if (i_1_ == -2) return 12345678; - if (i_0_ > -25) return 58; - if (i_1_ == -1) { - if (i >= 2) { - if (i > 126) i = 126; - } else i = 2; - return i; - } - i = (0x7f & i_1_) * i >> 7; - if (i < 2) i = 2; - else if (i > 126) i = 126; - return i + (0xff80 & i_1_); - } -} diff --git a/client/src/Class350.java b/client/src/Class350.java deleted file mode 100644 index 659371399..000000000 --- a/client/src/Class350.java +++ /dev/null @@ -1,59 +0,0 @@ -/* Class350 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class350 { - int anInt4307; - int anInt4308; - int anInt4309; - int anInt4310; - int anInt4311 = 128; - int anInt4312; - int anInt4313; - int anInt4314 = 128; - static int anInt4315; - int anInt4316; - int anInt4317; - static int anInt4318; - static int anInt4319; - int anInt4320; - static int anInt4321; - - static final int method3452(int i, byte i_0_, int i_1_) { - if (i_0_ != -15) method3452(80, (byte) 123, -88); - anInt4315++; - int i_2_ = i_1_ + -1 & i >> 31; - return (i + (i >>> 31)) % i_1_ + i_2_; - } - - final Class350 method3453(boolean bool) { - anInt4318++; - if (bool != true) method3453(false); - return new Class350(this.anInt4313, this.anInt4314, this.anInt4311, this.anInt4316, this.anInt4317, this.anInt4308); - } - - final void method3454(Class350 class350_3_, boolean bool) { - this.anInt4308 = class350_3_.anInt4308; - this.anInt4314 = class350_3_.anInt4314; - if (bool == true) { - this.anInt4316 = class350_3_.anInt4316; - this.anInt4317 = class350_3_.anInt4317; - anInt4321++; - this.anInt4313 = class350_3_.anInt4313; - this.anInt4311 = class350_3_.anInt4311; - } - } - - Class350(int i) { - this.anInt4313 = i; - } - - private Class350(int i, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_) { - this.anInt4317 = i_7_; - this.anInt4313 = i; - this.anInt4316 = i_6_; - this.anInt4311 = i_5_; - this.anInt4308 = i_8_; - this.anInt4314 = i_4_; - } -} diff --git a/client/src/Class351.java b/client/src/Class351.java deleted file mode 100644 index 5f580dac4..000000000 --- a/client/src/Class351.java +++ /dev/null @@ -1,49 +0,0 @@ -/* Class351 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; - -final class Class351 { - static int anInt4322; - int anInt4323; - static int anInt4324; - static int anInt4325; - private int anInt4326; - static Class60 aClass60_4327 = new Class60(3000000, 200); - static boolean aBoolean4328 = false; - static Font aFont4329; - - static final boolean method3455(String string, int i) { - anInt4324++; - if (string == null) return false; - for (int i_0_ = 0; (i_0_ < Class348_Sub42_Sub12.anInt9604); i_0_++) { - if (string.equalsIgnoreCase(Class122.aStringArray1808[i_0_])) return true; - if (string.equalsIgnoreCase(aa_Sub2.aStringArray5197[i_0_])) return true; - } - if (i != 28280) aBoolean4328 = false; - return false; - } - - public final String toString() { - anInt4325++; - throw new IllegalStateException(); - } - - final int method3456(int i) { - anInt4322++; - if (i != 200) anInt4326 = -78; - return anInt4326; - } - - public static void method3457(boolean bool) { - aFont4329 = null; - aClass60_4327 = null; - if (bool != true) method3455(null, -16); - } - - Class351(int i, int i_1_) { - anInt4326 = i; - this.anInt4323 = i_1_; - } -} diff --git a/client/src/Class352.java b/client/src/Class352.java deleted file mode 100644 index c9f3748e3..000000000 --- a/client/src/Class352.java +++ /dev/null @@ -1,59 +0,0 @@ -/* Class352 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class352 { - static int anInt4330; - static Class114 aClass114_4331 = new Class114(31, -1); - Class324 aClass324_4332; - Class143 aClass143_4333 = null; - static int anInt4334; - static int anInt4335; - static int anInt4336; - static int anInt4337 = -2; - - public static void method3458(int i) { - if (i != 2672) method3459(null, -32, 14, -44, 95); - aClass114_4331 = null; - } - - static final void method3459(Class348_Sub34 class348_sub34, int i, int i_0_, int i_1_, int i_2_) { - anInt4330++; - long l = i_0_ << 14 | i << 28 | i_1_; - Class348_Sub37 class348_sub37 = (Class348_Sub37) Class130.aClass356_1895.method3480(l, -6008); - if (class348_sub37 == null) { - class348_sub37 = new Class348_Sub37(); - Class130.aClass356_1895.method3483((byte) 50, l, class348_sub37); - class348_sub37.aClass262_6998.method1999(class348_sub34, -20180); - } else { - Class213 class213 = Exception_Sub1.aClass255_112.method1940(i_2_ ^ ~0x72, (class348_sub34.anInt6973)); - int i_3_ = class213.anInt2819; - if (i_2_ == (~class213.anInt2820)) i_3_ *= 1 + class348_sub34.anInt6971; - for (Class348_Sub34 class348_sub34_4_ = (Class348_Sub34) class348_sub37.aClass262_6998.method1995(i_2_ + 6); class348_sub34_4_ != null; class348_sub34_4_ = (Class348_Sub34) class348_sub37.aClass262_6998.method1990((byte) 34)) { - class213 = (Exception_Sub1.aClass255_112.method1940(104, class348_sub34_4_.anInt6973)); - int i_5_ = class213.anInt2819; - if (class213.anInt2820 == 1) i_5_ *= class348_sub34_4_.anInt6971 - -1; - if (i_3_ > i_5_) { - Class348_Sub42_Sub16_Sub2.method3265(i_2_ ^ 0x6c, class348_sub34, class348_sub34_4_); - return; - } - } - class348_sub37.aClass262_6998.method1999(class348_sub34, i_2_ ^ 0x4ed2); - } - } - - Class352(Class324 class324) { - this.aClass324_4332 = null; - this.aClass324_4332 = class324; - } - - Class352(Class324 class324, Class143 class143) { - this.aClass324_4332 = null; - try { - this.aClass143_4333 = class143; - this.aClass324_4332 = class324; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("el.(" + (class324 != null ? "{...}" : "null") + ',' + (class143 != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class353.java b/client/src/Class353.java deleted file mode 100644 index bdd240d7b..000000000 --- a/client/src/Class353.java +++ /dev/null @@ -1,137 +0,0 @@ -/* Class353 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -final class Class353 { - static float aFloat4338; - int anInt4339; - short aShort4340; - short aShort4341; - int anInt4342; - byte aByte4343; - int anInt4344; - static int anInt4345; - static Class60 aClass60_4346 = new Class60(4); - int anInt4347; - short aShort4348; - int anInt4349; - boolean aBoolean4350; - static int anInt4351; - - static final void method3460(int i, int i_0_, int i_1_, int i_2_, int i_3_, int[] is, int i_4_, int i_5_) { - anInt4345++; - if (i_3_ > 0 && !Class192.method1436(-86, i_3_)) throw new IllegalArgumentException(""); - if (i_1_ > 0 && !Class192.method1436(88, i_1_)) throw new IllegalArgumentException(""); - if (i_4_ != 32993) throw new IllegalArgumentException(""); - int i_6_ = 0; - int i_7_ = Math.min(i_1_, i_3_); - if (i_5_ >= -54) method3462(106); - int i_8_ = i_3_ >> 1; - int i_9_ = i_1_ >> 1; - int[] is_10_ = is; - int[] is_11_ = new int[i_9_ * i_8_]; - for (; ; ) { - OpenGL.glTexImage2Di(i, i_6_, i_0_, i_3_, i_1_, 0, i_4_, i_2_, is_10_, 0); - if (i_7_ <= 1) break; - int i_12_ = 0; - int i_13_ = 0; - int i_14_ = i_3_ + i_13_; - int[] is_15_ = is_11_; - for (int i_16_ = 0; i_16_ < i_9_; i_16_++) { - for (int i_17_ = 0; i_17_ < i_8_; i_17_++) { - int i_18_ = is_10_[i_13_++]; - int i_19_ = is_10_[i_13_++]; - int i_20_ = is_10_[i_14_++]; - int i_21_ = i_18_ & 0xff; - int i_22_ = (0xff2fb7 & i_18_) >> 16; - int i_23_ = 0xff & i_18_ >> 24; - int i_24_ = (i_18_ & 0xff43) >> 8; - int i_25_ = is_10_[i_14_++]; - i_23_ += 0xff & i_19_ >> 24; - i_22_ += (i_19_ & 0xff6a76) >> 16; - i_21_ += 0xff & i_19_; - i_24_ += (i_19_ & 0xff5a) >> 8; - i_23_ += 0xff & i_20_ >> 24; - i_22_ += (i_20_ & 0xff2819) >> 16; - i_24_ += (i_20_ & 0xff76) >> 8; - i_21_ += i_20_ & 0xff; - i_21_ += 0xff & i_25_; - i_24_ += i_25_ >> 8 & 0xff; - i_23_ += 0xff & i_25_ >> 24; - i_22_ += (0xff943a & i_25_) >> 16; - is_11_[i_12_++] = (Class273.method2057((Class273.method2057(Class139.method1166(i_24_ << 6, 65280), Class273.method2057((Class139.method1166(1020, i_22_) << 14), (Class139.method1166(i_23_, 1020) << 22)))), Class139.method1166(i_21_, 1020) >> 2)); - } - i_13_ += i_3_; - i_14_ += i_3_; - } - is_11_ = is_10_; - i_1_ = i_9_; - i_3_ = i_8_; - is_10_ = is_15_; - i_6_++; - i_8_ >>= 1; - i_7_ >>= 1; - i_9_ >>= 1; - } - } - - static final void method3461(int i, Object[] objects, int i_26_, long[] ls, int i_27_) { - do { - try { - anInt4351++; - if (i_26_ > i) { - int i_28_ = (i + i_26_) / 2; - int i_29_ = i; - long l = ls[i_28_]; - ls[i_28_] = ls[i_26_]; - ls[i_26_] = l; - Object object = objects[i_28_]; - objects[i_28_] = objects[i_26_]; - objects[i_26_] = object; - int i_30_ = (l != 9223372036854775807L ? 1 : 0); - for (int i_31_ = i; i_26_ > i_31_; i_31_++) { - if ((long) (i_31_ & i_30_) + l > ls[i_31_]) { - long l_32_ = ls[i_31_]; - ls[i_31_] = ls[i_29_]; - ls[i_29_] = l_32_; - Object object_33_ = objects[i_31_]; - objects[i_31_] = objects[i_29_]; - objects[i_29_++] = object_33_; - } - } - ls[i_26_] = ls[i_29_]; - ls[i_29_] = l; - objects[i_26_] = objects[i_29_]; - objects[i_29_] = object; - method3461(i, objects, i_29_ + -1, ls, 9455); - method3461(i_29_ + 1, objects, i_26_, ls, 9455); - } - if (i_27_ == 9455) break; - aClass60_4346 = null; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("en.B(" + i + ',' + (objects != null ? "{...}" : "null") + ',' + i_26_ + ',' + (ls != null ? "{...}" : "null") + ',' + i_27_ + ')')); - } - break; - } while (false); - } - - public static void method3462(int i) { - aClass60_4346 = null; - if (i != -30094) method3461(-108, null, -26, null, 42); - } - - Class353(int i, int i_34_, int i_35_, int i_36_, int i_37_, int i_38_, int i_39_, int i_40_, int i_41_, boolean bool, boolean bool_42_, int i_43_) { - this.anInt4339 = i_36_; - this.anInt4349 = i_34_; - this.aShort4340 = (short) i_38_; - this.anInt4344 = i_35_; - this.anInt4347 = i_43_; - this.aByte4343 = (byte) i_41_; - this.anInt4342 = i; - this.aShort4341 = (short) i_37_; - this.aBoolean4350 = bool_42_; - this.aShort4348 = (short) i_39_; - } -} diff --git a/client/src/Class354.java b/client/src/Class354.java deleted file mode 100644 index 9e829c668..000000000 --- a/client/src/Class354.java +++ /dev/null @@ -1,132 +0,0 @@ -/* Class354 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class354 { - static int anInt4352; - static int anInt4353; - static int anInt4354; - private final ha_Sub2 aHa_Sub2_4355; - static int[][][] anIntArrayArrayArray4356; - static int anInt4357; - static int anInt4358; - private final d aD4359; - static int anInt4360; - private Class60 aClass60_4361 = new Class60(256); - - final void method3463(byte i) { - anInt4360++; - aClass60_4361.method590(0); - if (i != -110) aClass60_4361 = null; - } - - static final byte method3464(char c, boolean bool) { - anInt4354++; - if (bool != false) method3464('\uffe1', false); - byte i; - if ((c <= 0 || c >= 128) && (c < 160 || c > 255)) { - if (c != 8364) { - if (c != 8218) { - if (c == 402) i = (byte) -125; - else if (c == 8222) i = (byte) -124; - else if (c == 8230) i = (byte) -123; - else if (c == 8224) i = (byte) -122; - else if (c == 8225) i = (byte) -121; - else if (c != 710) { - if (c == 8240) i = (byte) -119; - else if (c == 352) i = (byte) -118; - else if (c == 8249) i = (byte) -117; - else if (c == 338) i = (byte) -116; - else if (c != 381) { - if (c != 8216) { - if (c == 8217) i = (byte) -110; - else if (c != 8220) { - if (c != 8221) { - if (c == 8226) i = (byte) -107; - else if (c != 8211) { - if (c != 8212) { - if (c == 732) i = (byte) -104; - else if (c == 8482) i = (byte) -103; - else if (c == 353) i = (byte) -102; - else if (c != 8250) { - if (c != 339) { - if (c == 382) i = (byte) -98; - else if (c == 376) i = (byte) -97; - else i = (byte) 63; - } else i = (byte) -100; - } else i = (byte) -101; - } else i = (byte) -105; - } else i = (byte) -106; - } else i = (byte) -108; - } else i = (byte) -109; - } else i = (byte) -111; - } else i = (byte) -114; - } else i = (byte) -120; - } else i = (byte) -126; - } else i = (byte) -128; - } else i = (byte) c; - return i; - } - - static final boolean method3465(int i, int i_0_, Class338 class338) { - anInt4358++; - Class348_Sub40_Sub4.aClass101_9114.method897(class338.anIntArray4187[i], class338.anIntArray4191[i], class338.anIntArray4184[i], Class318_Sub1_Sub5_Sub2.anIntArray10172); - int i_1_ = Class318_Sub1_Sub5_Sub2.anIntArray10172[2]; - if (i_1_ < 50) return false; - class338.aShortArray4194[i] = (short) (Class69.anInt1202 + (Class318_Sub1_Sub5_Sub2.anIntArray10172[0] * Class140.anInt1962 / i_1_)); - class338.aShortArray4183[i] = (short) ((Class285_Sub2.anInt8498 * Class318_Sub1_Sub5_Sub2.anIntArray10172[i_0_] / i_1_) + Class348_Sub49_Sub2.anInt9759); - class338.aShortArray4188[i] = (short) i_1_; - return true; - } - - static final void method3466(int i) { - int i_2_ = 22 / ((-2 - i) / 52); - anInt4352++; - for (int i_3_ = 0; i_3_ < 100; i_3_++) - Class152.aBooleanArray2076[i_3_] = true; - } - - final Class258_Sub3 method3467(int i, int i_4_) { - anInt4357++; - Object object = aClass60_4361.method583(i, -127); - if (object != null) return (Class258_Sub3) object; - if (!aD4359.method4(-7953, i)) return null; - Class12 class12 = aD4359.method3(i, -6662); - int i_5_ = (!class12.aBoolean199 ? aHa_Sub2_4355.anInt7712 : 64); - Class258_Sub3 class258_sub3; - if (class12.aBoolean218 && aHa_Sub2_4355.method3666()) { - float[] fs = aD4359.method1(i_5_, 0.7F, false, -30824, i_5_, i); - class258_sub3 = new Class258_Sub3(aHa_Sub2_4355, 3553, 34842, i_5_, i_5_, class12.aByte205 != 0, fs, 6408); - } else { - int[] is; - if (class12.anInt200 == 2 || !Class251.method1915((byte) 4, class12.aByte213)) is = aD4359.method6(-21540, i_5_, 0.7F, i, false, i_5_); - else is = aD4359.method5(true, i, 0.7F, i_5_, i_5_, i_4_ + -196); - class258_sub3 = new Class258_Sub3(aHa_Sub2_4355, 3553, 6408, i_5_, i_5_, class12.aByte205 != 0, is, 0, 0, false); - } - class258_sub3.method1965(class12.aBoolean215, class12.aBoolean217, 10243); - if (i_4_ != 256) method3466(22); - aClass60_4361.method582(class258_sub3, i, (byte) -114); - return class258_sub3; - } - - public static void method3468(int i) { - anIntArrayArrayArray4356 = null; - if (i != -1401) anIntArrayArrayArray4356 = null; - } - - final void method3469(int i) { - if (i == 8218) { - anInt4353++; - aClass60_4361.method578(2, 5); - } - } - - Class354(ha_Sub2 var_ha_Sub2, d var_d) { - try { - aHa_Sub2_4355 = var_ha_Sub2; - aD4359 = var_d; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("eo.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + (var_d != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class355.java b/client/src/Class355.java deleted file mode 100644 index 207503d47..000000000 --- a/client/src/Class355.java +++ /dev/null @@ -1,83 +0,0 @@ -/* Class355 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class355 { - private final Class60 aClass60_4362; - static int anInt4363; - int anInt4364; - int anInt4365 = 0; - static Object anObject4366; - static long aLong4367 = -1L; - private Class45 aClass45_4368; - private final Class45 aClass45_4369; - static int anInt4370; - static int anInt4371; - static int anInt4372; - private Interface15 anInterface15_4373; - - static final void method3470(int i) { - if (i == 1) { - anInt4371++; - if (!Class50_Sub1.aBoolean5224) { - Class50_Sub1.aBoolean5224 = true; - Class369_Sub3_Sub1.aBoolean10174 = true; - Class348_Sub27.aFloat6898 += (-12.0F - Class348_Sub27.aFloat6898) / 2.0F; - } - } - } - - final Class348_Sub42_Sub10 method3471(int i, byte i_0_) { - anInt4363++; - Class348_Sub42_Sub10 class348_sub42_sub10 = (Class348_Sub42_Sub10) aClass60_4362.method583(i, 70); - if (class348_sub42_sub10 != null) return class348_sub42_sub10; - byte[] is; - if (i >= 32768) is = aClass45_4369.method410(-1860, 1, 0x7fff & i); - else is = aClass45_4368.method410(-1860, 1, i); - class348_sub42_sub10 = new Class348_Sub42_Sub10(); - class348_sub42_sub10.aClass355_9567 = this; - if (is != null) class348_sub42_sub10.method3218(new Class348_Sub49(is), 0); - if (i_0_ >= -86) method3473(-12); - if (i >= 32768) class348_sub42_sub10.method3209(false); - aClass60_4362.method582(class348_sub42_sub10, i, (byte) -125); - return class348_sub42_sub10; - } - - final String method3472(long l, int[] is, int i, Class138 class138) { - try { - if (i != -1) aClass45_4368 = null; - anInt4370++; - if (anInterface15_4373 != null) { - String string = anInterface15_4373.method54(1, l, class138, is); - if (string != null) return string; - } - return Long.toString(l); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("aha.D(" + l + ',' + (is != null ? "{...}" : "null") + ',' + i + ',' + (class138 != null ? "{...}" : "null") + ')')); - } - } - - public static void method3473(int i) { - if (i != 12949) anInt4372 = -30; - anObject4366 = null; - } - - Class355(int i, Class45 class45, Class45 class45_1_, Interface15 interface15) { - this.anInt4364 = 0; - aClass60_4362 = new Class60(64); - anInterface15_4373 = null; - do { - try { - anInterface15_4373 = interface15; - aClass45_4368 = class45; - aClass45_4369 = class45_1_; - if (aClass45_4368 != null) this.anInt4365 = aClass45_4368.method407(0, 1); - if (aClass45_4369 == null) break; - this.anInt4364 = aClass45_4369.method407(0, 1); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("aha.(" + i + ',' + (class45 != null ? "{...}" : "null") + ',' + (class45_1_ != null ? "{...}" : "null") + ',' + (interface15 != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } -} diff --git a/client/src/Class356.java b/client/src/Class356.java deleted file mode 100644 index 621d00e49..000000000 --- a/client/src/Class356.java +++ /dev/null @@ -1,169 +0,0 @@ -/* Class356 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class356 { - Class348[] aClass348Array4374; - static int anInt4375; - static int anInt4376; - int anInt4377; - static int anInt4378; - static int anInt4379; - static int anInt4380; - static int anInt4381; - static int anInt4382; - public static int anInt4383; - static int anInt4384; - private long aLong4385; - static int anInt4386; - static int anInt4387; - static Class114 aClass114_4388 = new Class114(3, 3); - private Class348 aClass348_4389; - private Class348 aClass348_4390; - private int anInt4391 = 0; - - final int method3474(int i) { - if (i != 1) method3479(20); - anInt4387++; - int i_0_ = 0; - for (int i_1_ = 0; this.anInt4377 > i_1_; i_1_++) { - Class348 class348 = this.aClass348Array4374[i_1_]; - for (Class348 class348_2_ = class348.aClass348_4294; class348 != class348_2_; class348_2_ = class348_2_.aClass348_4294) - i_0_++; - } - return i_0_; - } - - final int method3475(boolean bool) { - anInt4376++; - if (bool != true) method3478(false); - return this.anInt4377; - } - - final Class348 method3476(boolean bool) { - anInt4384++; - if (aClass348_4389 == null) return null; - Class348 class348 = (this.aClass348Array4374[(int) ((long) (this.anInt4377 - 1) & aLong4385)]); - if (bool != true) method3479(4); - for (/**/; aClass348_4389 != class348; aClass348_4389 = aClass348_4389.aClass348_4294) { - if (aClass348_4389.aLong4291 == aLong4385) { - Class348 class348_3_ = aClass348_4389; - aClass348_4389 = aClass348_4389.aClass348_4294; - return class348_3_; - } - } - aClass348_4389 = null; - return null; - } - - final int method3477(int i, Class348[] class348s) { - if (i != 3) anInt4383 = -76; - anInt4380++; - int i_4_ = 0; - for (int i_5_ = 0; this.anInt4377 > i_5_; i_5_++) { - Class348 class348 = this.aClass348Array4374[i_5_]; - for (Class348 class348_6_ = class348.aClass348_4294; class348 != class348_6_; class348_6_ = class348_6_.aClass348_4294) - class348s[i_4_++] = class348_6_; - } - return i_4_; - } - - public static void method3478(boolean bool) { - aClass114_4388 = null; - if (bool != false) anInt4383 = 67; - } - - static final Class348_Sub21 method3479(int i) { - anInt4378++; - if (i != -1) anInt4383 = 43; - if (Class75.aClass262_1254 == null || r.aClass312_9716 == null) return null; - for (Class348_Sub21 class348_sub21 = (Class348_Sub21) r.aClass312_9716.method2329(10); class348_sub21 != null; class348_sub21 = (Class348_Sub21) r.aClass312_9716.method2329(i ^ ~0xa)) { - Class42 class42 = Class75.aClass153_1238.method1225(class348_sub21.anInt6847, (byte) 92); - if (class42 != null && class42.aBoolean609 && class42.method373(Class75.anInterface17_1244, 127)) return class348_sub21; - } - return null; - } - - final Class348 method3480(long l, int i) { - try { - aLong4385 = l; - anInt4379++; - Class348 class348 = (this.aClass348Array4374[(int) (l & (long) (this.anInt4377 + -1))]); - if (i != -6008) method3484(80); - for (aClass348_4389 = class348.aClass348_4294; aClass348_4389 != class348; aClass348_4389 = aClass348_4389.aClass348_4294) { - if (l == aClass348_4389.aLong4291) { - Class348 class348_7_ = aClass348_4389; - aClass348_4389 = aClass348_4389.aClass348_4294; - return class348_7_; - } - } - aClass348_4389 = null; - return null; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "eq.C(" + l + ',' + i + ')'); - } - } - - final void method3481(int i) { - anInt4375++; - for (int i_8_ = i; this.anInt4377 > i_8_; i_8_++) { - Class348 class348 = this.aClass348Array4374[i_8_]; - for (; ; ) { - Class348 class348_9_ = class348.aClass348_4294; - if (class348_9_ == class348) break; - class348_9_.method2715((byte) 54); - } - } - aClass348_4389 = null; - aClass348_4390 = null; - } - - final Class348 method3482(int i) { - anInt4381++; - if (anInt4391 > i && (aClass348_4390 != this.aClass348Array4374[-1 + anInt4391])) { - Class348 class348 = aClass348_4390; - aClass348_4390 = class348.aClass348_4294; - return class348; - } - while (this.anInt4377 > anInt4391) { - Class348 class348 = (this.aClass348Array4374[anInt4391++].aClass348_4294); - if (this.aClass348Array4374[-1 + anInt4391] != class348) { - aClass348_4390 = class348.aClass348_4294; - return class348; - } - } - return null; - } - - final void method3483(byte i, long l, Class348 class348) { - try { - anInt4382++; - if (i < 18) method3481(71); - if (class348.aClass348_4295 != null) class348.method2715((byte) 57); - Class348 class348_10_ = (this.aClass348Array4374[(int) (l & (long) (-1 + this.anInt4377))]); - class348.aClass348_4294 = class348_10_; - class348.aClass348_4295 = class348_10_.aClass348_4295; - class348.aClass348_4295.aClass348_4294 = class348; - class348.aClass348_4294.aClass348_4295 = class348; - class348.aLong4291 = l; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("eq.K(" + i + ',' + l + ',' + (class348 != null ? "{...}" : "null") + ')')); - } - } - - final Class348 method3484(int i) { - anInt4391 = i; - anInt4386++; - return method3482(0); - } - - Class356(int i) { - this.anInt4377 = i; - this.aClass348Array4374 = new Class348[i]; - for (int i_11_ = 0; i > i_11_; i_11_++) { - Class348 class348 = this.aClass348Array4374[i_11_] = new Class348(); - class348.aClass348_4294 = class348; - class348.aClass348_4295 = class348; - } - } -} diff --git a/client/src/Class357.java b/client/src/Class357.java deleted file mode 100644 index 5de8c9408..000000000 --- a/client/src/Class357.java +++ /dev/null @@ -1,86 +0,0 @@ -/* Class357 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class357 { - static int anInt4392; - static int anInt4393; - static Class351 aClass351_4394 = new Class351(6, -1); - Class318_Sub1_Sub5 aClass318_Sub1_Sub5_4395; - Class148 aClass148_4396; - short aShort4397; - short aShort4398; - byte aByte4399; - Class357 aClass357_4400; - short aShort4401; - Class318_Sub1_Sub1 aClass318_Sub1_Sub1_4402; - Class318_Sub1_Sub4 aClass318_Sub1_Sub4_4403; - static double aDouble4404; - static Class351 aClass351_4405 = new Class351(64, -1); - Class318_Sub1_Sub4 aClass318_Sub1_Sub4_4406; - Class318_Sub1_Sub5 aClass318_Sub1_Sub5_4407; - Class318_Sub1_Sub2 aClass318_Sub1_Sub2_4408; - short aShort4409; - static long[] aLongArray4410 = new long[100]; - - final void method3485(boolean bool) { - Class148 class148; - for (/**/; this.aClass148_4396 != null; this.aClass148_4396 = class148) { - class148 = this.aClass148_4396.aClass148_2038; - this.aClass148_4396.method1199((byte) -106); - } - anInt4393++; - if (bool != true) method3486(41, false, -64, 33L, -50); - } - - static final String method3486(int i, boolean bool, int i_0_, long l, int i_1_) { - try { - anInt4392++; - char c = ','; - char c_2_ = '.'; - if (i_0_ == 0) { - c = '.'; - c_2_ = ','; - } - if (i_0_ == 2) c_2_ = '\u00a0'; - boolean bool_3_ = false; - if (l < 0) { - l = -l; - bool_3_ = true; - } - StringBuffer stringbuffer = new StringBuffer(26); - if (i > 0) { - for (int i_4_ = 0; i > i_4_; i_4_++) { - int i_5_ = (int) l; - l /= 10L; - stringbuffer.append((char) (i_5_ + (48 + -((int) l * 10)))); - } - stringbuffer.append(c); - } - int i_6_ = 0; - for (; ; ) { - int i_7_ = (int) l; - l /= 10L; - stringbuffer.append((char) (i_7_ + (48 - (int) l * 10))); - if (l == 0) break; - if (bool && ++i_6_ % 3 == 0) stringbuffer.append(c_2_); - } - if (bool_3_) stringbuffer.append('-'); - if (i_1_ != 16980) aLongArray4410 = null; - return stringbuffer.reverse().toString(); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("es.C(" + i + ',' + bool + ',' + i_0_ + ',' + l + ',' + i_1_ + ')')); - } - } - - Class357(int i) { - this.aByte4399 = (byte) i; - } - - public static void method3487(int i) { - aLongArray4410 = null; - aClass351_4394 = null; - if (i >= -45) aClass351_4405 = null; - aClass351_4405 = null; - } -} diff --git a/client/src/Class358.java b/client/src/Class358.java deleted file mode 100644 index 33391bdbf..000000000 --- a/client/src/Class358.java +++ /dev/null @@ -1,40 +0,0 @@ -/* Class358 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class358 { - static int anInt4411 = 0; - float[][] aFloatArrayArray4412; - static int anInt4413; - int[] anIntArray4414; - int[] anIntArray4415; - int[] anIntArray4416; - static Class60 aClass60_4417 = new Class60(50); - static Class351 aClass351_4418 = new Class351(33, 8); - - public static void method3488(int i) { - if (i < 25) method3489(30); - aClass351_4418 = null; - aClass60_4417 = null; - } - - static final void method3489(int i) { - Class60.aHa1098.xa(((float) Class316.aClass348_Sub51_3959.aClass239_Sub10_7232.method1764(-32350) * 0.1F + 0.7F) * 1.1523438F); - anInt4413++; - Class60.aHa1098.ZA(Class268.anInt3439, 0.69921875F, 1.2F, -200.0F, -240.0F, -200.0F); - Class60.aHa1098.L(Class268.anInt3444, -1, 0); - int i_0_ = -35 / ((45 - i) / 44); - Class60.aHa1098.method3653(Class348_Sub42_Sub10.aClass299_9571); - } - - Class358(int[] is, int[] is_1_, int[] is_2_, float[][] fs) { - try { - this.anIntArray4414 = is_2_; - this.aFloatArrayArray4412 = fs; - this.anIntArray4415 = is_1_; - this.anIntArray4416 = is; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ew.(" + (is != null ? "{...}" : "null") + ',' + (is_1_ != null ? "{...}" : "null") + ',' + (is_2_ != null ? "{...}" : "null") + ',' + (fs != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class359.java b/client/src/Class359.java deleted file mode 100644 index 4683de836..000000000 --- a/client/src/Class359.java +++ /dev/null @@ -1,67 +0,0 @@ -/* Class359 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class359 { - static int anInt4419; - int anInt4420; - static Class114 aClass114_4421 = new Class114(13, -2); - static int anInt4422; - int anInt4423; - static int anInt4424; - int anInt4425; - boolean aBoolean4426; - - static final boolean method3490(boolean bool) { - anInt4419++; - boolean bool_0_ = bool; - if (Class348_Sub40_Sub1.aClass207_9090 == null) { - if (!Class21.aClass45_322.method421(false, OutputStream_Sub1.anInt98)) bool_0_ = false; - else Class348_Sub40_Sub1.aClass207_9090 = Class207.method1512(Class21.aClass45_322, OutputStream_Sub1.anInt98); - } - if (Class348_Sub7.aClass207_6643 == null) { - if (Class21.aClass45_322.method421(!bool, Class348_Sub32.anInt6938)) Class348_Sub7.aClass207_6643 = Class207.method1512(Class21.aClass45_322, Class348_Sub32.anInt6938); - else bool_0_ = false; - } - if (Class112.aClass207_1727 == null) { - if (!Class21.aClass45_322.method421(false, Class295.anInt3762)) bool_0_ = false; - else Class112.aClass207_1727 = Class207.method1512(Class21.aClass45_322, Class295.anInt3762); - } - if (Class281.aClass143_3649 == null) { - if (Class104.aClass45_1627.method421(false, Class20.anInt317)) Class281.aClass143_3649 = Class239_Sub10.method1766((byte) -89, Class20.anInt317, Class104.aClass45_1627); - else bool_0_ = false; - } - if (Class5_Sub1_Sub1.aClass207Array9929 == null) { - if (Class21.aClass45_322.method421(false, Class20.anInt317)) Class5_Sub1_Sub1.aClass207Array9929 = Class207.method1523(Class21.aClass45_322, Class20.anInt317); - else bool_0_ = false; - } - return bool_0_; - } - - public static void method3491(int i) { - aClass114_4421 = null; - if (i != 1) method3491(-30); - } - - static final int method3492(int i, int i_1_) { - anInt4422++; - int i_2_ = 0x3f & i; - int i_3_ = (i_1_ & i) >> 6; - if (i_2_ == 18) { - if (i_3_ == 0) return 1; - if (i_3_ == 1) return 2; - if (i_3_ == 2) return 4; - if (i_3_ == 3) return 8; - } else if (i_2_ == 19 || i_2_ == 21) { - if (i_3_ == 0) return 16; - if (i_3_ == 1) return 32; - if (i_3_ == 2) return 64; - if (i_3_ == 3) return 128; - } - return 0; - } - - public Class359() { - /* empty */ - } -} diff --git a/client/src/Class36.java b/client/src/Class36.java deleted file mode 100644 index 576067e4e..000000000 --- a/client/src/Class36.java +++ /dev/null @@ -1,21 +0,0 @@ -/* Class36 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class36 { - static int anInt486; - static int[] anIntArray487 = {0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3}; - static int anInt488; - static int anInt489 = 0; - - static final void method354(int i) { - Class348_Sub42_Sub3.aBoolean9498 = true; - if (i != 2) method355(84); - anInt488++; - } - - public static void method355(int i) { - anIntArray487 = null; - if (i != 4297) anInt489 = -9; - } -} diff --git a/client/src/Class360.java b/client/src/Class360.java deleted file mode 100644 index b9f0d7013..000000000 --- a/client/src/Class360.java +++ /dev/null @@ -1,21 +0,0 @@ -/* Class360 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class360 { - int anInt4427; - int anInt4428; - int anInt4429; - int anInt4430; - - public Class360() { - /* empty */ - } - - Class360(Class360 class360_0_) { - this.anInt4430 = class360_0_.anInt4430; - this.anInt4428 = class360_0_.anInt4428; - this.anInt4427 = class360_0_.anInt4427; - this.anInt4429 = class360_0_.anInt4429; - } -} diff --git a/client/src/Class361.java b/client/src/Class361.java deleted file mode 100644 index cfbff6ba8..000000000 --- a/client/src/Class361.java +++ /dev/null @@ -1,787 +0,0 @@ -/* Class361 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class361 { - static int anInt4431; - static int anInt4432; - static Class114 aClass114_4433 = new Class114(22, 0); - static int anInt4434; - static int anInt4435; - static int anInt4436; - int anInt4437; - int[][] anIntArrayArray4438; - static int anInt4439; - static int anInt4440; - int anInt4441; - static int anInt4442; - int anInt4443; - static int anInt4444; - static int anInt4445; - static int anInt4446; - static int anInt4447; - static int anInt4448; - static int anInt4449; - static int anInt4450; - static int anInt4451; - static int anInt4452; - int anInt4453; - static int anInt4454; - static float aFloat4455; - - private final void method3493(int i, int i_0_, int i_1_, int i_2_) { - this.anIntArrayArray4438[i_1_][i_2_] = Class139.method1166((this.anIntArrayArray4438[i_1_][i_2_]), ~i); - if (i_0_ > -120) method3509(-18, true, false, 122, 119, -54, 18, -57); - anInt4452++; - } - - private final void method3494(int i, int i_3_, int i_4_, int i_5_) { - this.anIntArrayArray4438[i][i_4_] = Class273.method2057((this.anIntArrayArray4438[i][i_4_]), i_3_); - if (i_5_ != -6496) method3494(20, -107, -63, 115); - anInt4448++; - } - - final boolean method3495(int i, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_, int i_12_) { - anInt4440++; - int i_13_ = 64 % ((-11 - i_12_) / 37); - if (i_7_ == 1) { - if (i_9_ == i && i_10_ == i_6_) return true; - } else if (i >= i_9_ && -1 + i_9_ + i_7_ >= i && i_10_ >= i_10_ && i_10_ <= -1 + (i_7_ + i_10_)) return true; - i_10_ -= this.anInt4441; - i_6_ -= this.anInt4441; - i -= this.anInt4453; - i_9_ -= this.anInt4453; - if (i_7_ == 1) { - if (i_11_ == 0) { - if (i_8_ == 0) { - if (i_9_ == -1 + i && i_6_ == i_10_) return true; - if (i == i_9_ && i_10_ - -1 == i_6_ && (0x2c0120 & (this.anIntArrayArray4438[i_9_][i_6_])) == 0) return true; - if (i == i_9_ && i_6_ == -1 + i_10_ && (0x2c0102 & (this.anIntArrayArray4438[i_9_][i_6_])) == 0) return true; - } else if (i_8_ == 1) { - if (i_9_ == i && i_10_ - -1 == i_6_) return true; - if (i + -1 == i_9_ && i_10_ == i_6_ && ((this.anIntArrayArray4438[i_9_][i_6_]) & 0x2c0108) == 0) return true; - if (i + 1 == i_9_ && i_10_ == i_6_ && (0x2c0180 & (this.anIntArrayArray4438[i_9_][i_6_])) == 0) return true; - } else if (i_8_ == 2) { - if (i + 1 == i_9_ && i_10_ == i_6_) return true; - if (i_9_ == i && 1 + i_10_ == i_6_ && ((this.anIntArrayArray4438[i_9_][i_6_]) & 0x2c0120) == 0) return true; - if (i_9_ == i && i_10_ + -1 == i_6_ && (0x2c0102 & (this.anIntArrayArray4438[i_9_][i_6_])) == 0) return true; - } else if (i_8_ == 3) { - if (i_9_ == i && -1 + i_10_ == i_6_) return true; - if (i + -1 == i_9_ && i_10_ == i_6_ && ((this.anIntArrayArray4438[i_9_][i_6_]) & 0x2c0108) == 0) return true; - if (i_9_ == 1 + i && i_10_ == i_6_ && ((this.anIntArrayArray4438[i_9_][i_6_]) & 0x2c0180) == 0) return true; - } - } - if (i_11_ == 2) { - if (i_8_ == 0) { - if (-1 + i == i_9_ && i_6_ == i_10_) return true; - if (i == i_9_ && i_6_ == i_10_ - -1) return true; - if (i + 1 == i_9_ && i_10_ == i_6_ && (0x2c0180 & (this.anIntArrayArray4438[i_9_][i_6_])) == 0) return true; - if (i == i_9_ && i_6_ == i_10_ - 1 && (0x2c0102 & (this.anIntArrayArray4438[i_9_][i_6_])) == 0) return true; - } else if (i_8_ == 1) { - if (i_9_ == -1 + i && i_10_ == i_6_ && (0x2c0108 & (this.anIntArrayArray4438[i_9_][i_6_])) == 0) return true; - if (i == i_9_ && i_10_ + 1 == i_6_) return true; - if (i_9_ == i - -1 && i_10_ == i_6_) return true; - if (i == i_9_ && i_10_ - 1 == i_6_ && ((this.anIntArrayArray4438[i_9_][i_6_]) & 0x2c0102) == 0) return true; - } else if (i_8_ == 2) { - if (i - 1 == i_9_ && i_10_ == i_6_ && (0x2c0108 & (this.anIntArrayArray4438[i_9_][i_6_])) == 0) return true; - if (i_9_ == i && i_10_ + 1 == i_6_ && (0x2c0120 & (this.anIntArrayArray4438[i_9_][i_6_])) == 0) return true; - if (i_9_ == i + 1 && i_10_ == i_6_) return true; - if (i_9_ == i && -1 + i_10_ == i_6_) return true; - } else if (i_8_ == 3) { - if (i + -1 == i_9_ && i_6_ == i_10_) return true; - if (i_9_ == i && 1 + i_10_ == i_6_ && (0x2c0120 & (this.anIntArrayArray4438[i_9_][i_6_])) == 0) return true; - if (1 + i == i_9_ && i_6_ == i_10_ && ((this.anIntArrayArray4438[i_9_][i_6_]) & 0x2c0180) == 0) return true; - if (i == i_9_ && (i_6_ == i_10_ + -1)) return true; - } - } - if (i_11_ == 9) { - if (i_9_ == i && i_6_ == 1 + i_10_ && ((0x20 & this.anIntArrayArray4438[i_9_][i_6_]) == 0)) return true; - if (i == i_9_ && -1 + i_10_ == i_6_ && ((0x2 & this.anIntArrayArray4438[i_9_][i_6_]) == 0)) return true; - if (-1 + i == i_9_ && i_6_ == i_10_ && ((0x8 & this.anIntArrayArray4438[i_9_][i_6_]) == 0)) return true; - return i_9_ == 1 + i && i_10_ == i_6_ && (this.anIntArrayArray4438[i_9_][i_6_] & 0x80) == 0; - } - } else { - int i_14_ = -1 + (i_7_ + i_9_); - int i_15_ = -1 + i_7_ + i_6_; - if (i_11_ == 0) { - if (i_8_ == 0) { - if (-i_7_ + i == i_9_ && i_6_ <= i_10_ && i_10_ <= i_15_) return true; - if (i_9_ <= i && i <= i_14_ && i_10_ + 1 == i_6_ && (this.anIntArrayArray4438[i][i_6_] & 0x2c0120) == 0) return true; - if (i_9_ <= i && i_14_ >= i && i_6_ == -i_7_ + i_10_ && (this.anIntArrayArray4438[i][i_15_] & 0x2c0102) == 0) return true; - } else if (i_8_ == 1) { - if (i >= i_9_ && i <= i_14_ && i_10_ - -1 == i_6_) return true; - if (i + -i_7_ == i_9_ && i_6_ <= i_10_ && i_15_ >= i_10_ && (0x2c0108 & (this.anIntArrayArray4438[i_14_][i_10_])) == 0) return true; - if (1 + i == i_9_ && i_6_ <= i_10_ && i_15_ >= i_10_ && (0x2c0180 & (this.anIntArrayArray4438[i_9_][i_10_])) == 0) return true; - } else if (i_8_ == 2) { - if (i_9_ == 1 + i && i_6_ <= i_10_ && i_15_ >= i_10_) return true; - if (i >= i_9_ && i <= i_14_ && i_10_ - -1 == i_6_ && (this.anIntArrayArray4438[i][i_6_] & 0x2c0120) == 0) return true; - if (i >= i_9_ && i_14_ >= i && -i_7_ + i_10_ == i_6_ && ((this.anIntArrayArray4438[i][i_15_]) & 0x2c0102) == 0) return true; - } else if (i_8_ == 3) { - if (i_9_ <= i && i_14_ >= i && i_10_ + -i_7_ == i_6_) return true; - if (i - i_7_ == i_9_ && i_10_ >= i_6_ && i_10_ <= i_15_ && ((this.anIntArrayArray4438[i_14_][i_10_]) & 0x2c0108) == 0) return true; - if (i_9_ == 1 + i && i_6_ <= i_10_ && i_10_ <= i_15_ && (0x2c0180 & (this.anIntArrayArray4438[i_9_][i_10_])) == 0) return true; - } - } - if (i_11_ == 2) { - if (i_8_ == 0) { - if (i - i_7_ == i_9_ && i_6_ <= i_10_ && i_10_ <= i_15_) return true; - if (i_9_ <= i && i <= i_14_ && i_6_ == 1 + i_10_) return true; - if (i_9_ == i + 1 && i_10_ >= i_6_ && i_10_ <= i_15_ && (0x2c0180 & (this.anIntArrayArray4438[i_9_][i_10_])) == 0) return true; - if (i >= i_9_ && i <= i_14_ && -i_7_ + i_10_ == i_6_ && (this.anIntArrayArray4438[i][i_15_] & 0x2c0102) == 0) return true; - } else if (i_8_ == 1) { - if (i_9_ == -i_7_ + i && i_6_ <= i_10_ && i_15_ >= i_10_ && (0x2c0108 & (this.anIntArrayArray4438[i_14_][i_10_])) == 0) return true; - if (i >= i_9_ && i <= i_14_ && i_6_ == i_10_ + 1) return true; - if (1 + i == i_9_ && i_10_ >= i_6_ && i_10_ <= i_15_) return true; - if (i_9_ <= i && i <= i_14_ && -i_7_ + i_10_ == i_6_ && (this.anIntArrayArray4438[i][i_15_] & 0x2c0102) == 0) return true; - } else if (i_8_ == 2) { - if (i_9_ == i - i_7_ && i_6_ <= i_10_ && i_10_ <= i_15_ && (0x2c0108 & (this.anIntArrayArray4438[i_14_][i_10_])) == 0) return true; - if (i >= i_9_ && i_14_ >= i && 1 + i_10_ == i_6_ && (this.anIntArrayArray4438[i][i_6_] & 0x2c0120) == 0) return true; - if (i - -1 == i_9_ && i_6_ <= i_10_ && i_15_ >= i_10_) return true; - if (i >= i_9_ && i <= i_14_ && -i_7_ + i_10_ == i_6_) return true; - } else if (i_8_ == 3) { - if (i_9_ == i + -i_7_ && i_6_ <= i_10_ && i_10_ <= i_15_) return true; - if (i >= i_9_ && i_14_ >= i && i_6_ == i_10_ + 1 && (this.anIntArrayArray4438[i][i_6_] & 0x2c0120) == 0) return true; - if (i_9_ == i + 1 && i_10_ >= i_6_ && i_10_ <= i_15_ && ((this.anIntArrayArray4438[i_9_][i_10_]) & 0x2c0180) == 0) return true; - if (i >= i_9_ && i <= i_14_ && i_6_ == i_10_ + -i_7_) return true; - } - } - if (i_11_ == 9) { - if (i >= i_9_ && i <= i_14_ && i_10_ - -1 == i_6_ && (this.anIntArrayArray4438[i][i_6_] & 0x2c0120) == 0) return true; - if (i_9_ <= i && i_14_ >= i && i_10_ + -i_7_ == i_6_ && (this.anIntArrayArray4438[i][i_15_] & 0x2c0102) == 0) return true; - if (-i_7_ + i == i_9_ && i_10_ >= i_6_ && i_10_ <= i_15_ && (0x2c0108 & this.anIntArrayArray4438[i_14_][i_10_]) == 0) return true; - return i_9_ == i - -1 && i_10_ >= i_6_ && i_10_ <= i_15_ && ((0x2c0180 & this.anIntArrayArray4438[i_9_][i_10_]) == 0); - } - } - return false; - } - - final void method3496(int i, int i_16_, int i_17_) { - i -= this.anInt4441; - if (i_17_ != 1) method3510(113, 9, 32, -49, -123, false, false); - anInt4444++; - i_16_ -= this.anInt4453; - this.anIntArrayArray4438[i_16_][i] = Class273.method2057((this.anIntArrayArray4438[i_16_][i]), 262144); - } - - final boolean method3497(int i, int i_18_, int i_19_, int i_20_, int i_21_, int i_22_, int i_23_, int i_24_, int i_25_, int i_26_) { - if (i != -28388) method3504(-75, -117, 49, -113, 42, -115, 105, -59); - anInt4449++; - int i_27_ = i_22_ - -i_20_; - int i_28_ = i_23_ + i_24_; - int i_29_ = i_18_ - -i_26_; - int i_30_ = i_25_ - -i_21_; - if (i_29_ == i_22_ && (i_19_ & 0x2) == 0) { - int i_31_ = Math.max(i_25_, i_24_); - for (int i_32_ = (Math.min(i_28_, i_30_)); i_32_ > i_31_; i_31_++) { - if (((this.anIntArrayArray4438[-this.anInt4453 + (i_29_ - 1)][i_31_ - this.anInt4441]) & 0x8) == 0) return true; - } - } else if (i_18_ == i_27_ && (0x8 & i_19_) == 0) { - int i_33_ = Math.max(i_25_, i_24_); - for (int i_34_ = (Math.min(i_30_, i_28_)); i_33_ < i_34_; i_33_++) { - if (((this.anIntArrayArray4438[-this.anInt4453 + i_18_][-this.anInt4441 + i_33_]) & 0x80) == 0) return true; - } - } else if (i_30_ == i_24_ && (i_19_ & 0x1) == 0) { - int i_35_ = Math.max(i_18_, i_22_); - for (int i_36_ = Math.min(i_27_, i_29_); i_36_ > i_35_; i_35_++) { - if ((0x2 & (this.anIntArrayArray4438[i_35_ + -this.anInt4453][-this.anInt4441 + -1 + i_30_])) == 0) return true; - } - } else if (i_25_ == i_28_ && (i_19_ & 0x4) == 0) { - int i_37_ = Math.max(i_22_, i_18_); - for (int i_38_ = Math.min(i_27_, i_29_); i_38_ > i_37_; i_37_++) { - if (((this.anIntArrayArray4438[i_37_ + -this.anInt4453][i_25_ - this.anInt4441]) & 0x20) == 0) return true; - } - } - return false; - } - - static final void method3498(int i, ha var_ha, int i_39_, int i_40_, boolean bool, int i_41_) { - do { - try { - anInt4442++; - var_ha.KA(i_39_, i_41_, i_40_ + i_39_, i_41_ + i); - var_ha.method3675(i_40_, (byte) -125, i_39_, i_41_, i, -16777216); - if (Class348.anInt4290 >= 100) { - float f = ((float) Class75.anInt1267 / (float) Class75.anInt1259); - int i_42_ = i_40_; - int i_43_ = i; - if (!(f < 1.0F)) i_42_ = (int) ((float) i / f); - else i_43_ = (int) ((float) i_40_ * f); - i_41_ += (-i_43_ + i) / 2; - i_39_ += (i_40_ + -i_42_) / 2; - if (Class67.aClass105_4643 == null || i_40_ != Class67.aClass105_4643.method971() || (Class67.aClass105_4643.method969() != i)) { - Class75.method751(Class75.anInt1266, (Class75.anInt1267 + Class75.anInt1263), (Class75.anInt1266 - -Class75.anInt1259), Class75.anInt1263, i_39_, i_41_, i_42_ + i_39_, i_43_ + i_41_); - Class75.method748(var_ha); - Class67.aClass105_4643 = var_ha.method3683(i_39_, i_41_, i_42_, i_43_, false); - } - Class67.aClass105_4643.method974(i_39_, i_41_); - int i_44_ = Class25.anInt370 * i_42_ / Class75.anInt1259; - int i_45_ = i_43_ * Class182.anInt2446 / Class75.anInt1267; - int i_46_ = i_39_ - -(i_42_ * Class368.anInt4509 / Class75.anInt1259); - if (bool != true) method3498(44, null, -27, -91, true, -26); - int i_47_ = (-i_45_ + i_41_ - (-i_43_ + (i_43_ * Class59_Sub1_Sub2.anInt8665 / Class75.anInt1267))); - int i_48_ = -1996554240; - if (Class14_Sub4.aClass230_8638 == Class348_Sub42_Sub8_Sub2.aClass230_10434) i_48_ = -1996488705; - var_ha.aa(i_46_, i_47_, i_44_, i_45_, i_48_, 1); - var_ha.method3628(i_46_, i_47_, i_44_, i_45_, i_48_, 0); - if (Class367_Sub9.anInt7379 <= 0) break; - int i_49_; - if (Class164.anInt2173 <= 50) i_49_ = Class164.anInt2173 * 5; - else i_49_ = -(5 * Class164.anInt2173) + 500; - for (Class348_Sub21 class348_sub21 = ((Class348_Sub21) Class75.aClass262_1254.method1995(4)); class348_sub21 != null; class348_sub21 = (Class348_Sub21) Class75.aClass262_1254.method1990((byte) 126)) { - Class42 class42 = (Class75.aClass153_1238.method1225(class348_sub21.anInt6847, (byte) 71)); - if (Class60.method589(class42, -4)) { - if (Class348_Sub40_Sub30.anInt9399 == (class348_sub21.anInt6847)) { - int i_50_ = (i_39_ + (i_42_ * (class348_sub21.anInt6852) / Class75.anInt1259)); - int i_51_ = (((Class75.anInt1267 - (class348_sub21.anInt6851)) * i_43_ / Class75.anInt1267) + i_41_); - var_ha.method3675(4, (byte) -125, i_50_ - 2, -2 + i_51_, 4, (i_49_ << 24 | 0xffff00)); - } else if (Class34.anInt481 != -1 && (class42.anInt596 == Class34.anInt481)) { - int i_52_ = (i_39_ - -((class348_sub21.anInt6852) * i_42_ / Class75.anInt1259)); - int i_53_ = i_41_ - -(i_43_ * (Class75.anInt1267 + -(class348_sub21.anInt6851)) / Class75.anInt1267); - var_ha.method3675(4, (byte) -125, i_52_ + -2, -2 + i_53_, 4, (i_49_ << 24 | 0xffff00)); - } - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("fe.E(" + i + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_39_ + ',' + i_40_ + ',' + bool + ',' + i_41_ + ')')); - } - break; - } while (false); - } - - final void method3499(byte i, int i_54_, int i_55_) { - i_55_ -= this.anInt4441; - i_54_ -= this.anInt4453; - anInt4446++; - if (i == -52) this.anIntArrayArray4438[i_54_][i_55_] = Class139.method1166((this.anIntArrayArray4438[i_54_][i_55_]), -262145); - } - - final void method3500(int i) { - int i_56_ = 0; - if (i != 700) method3509(120, true, false, 4, -12, 14, -33, -109); - for (/**/; i_56_ < this.anInt4437; i_56_++) { - for (int i_57_ = 0; this.anInt4443 > i_57_; i_57_++) { - if (i_56_ != 0 && i_57_ != 0 && i_56_ < this.anInt4437 + -5 && (i_57_ < -5 + this.anInt4443)) this.anIntArrayArray4438[i_56_][i_57_] = 2097152; - else this.anIntArrayArray4438[i_56_][i_57_] = -1; - } - } - anInt4451++; - } - - final void method3501(byte i, int i_58_, int i_59_) { - i_59_ -= this.anInt4453; - anInt4447++; - i_58_ -= this.anInt4441; - int i_60_ = -79 % ((i - 66) / 39); - this.anIntArrayArray4438[i_59_][i_58_] = Class139.method1166((this.anIntArrayArray4438[i_59_][i_58_]), -2097153); - } - - static final void method3502(int i, int i_61_, int i_62_, int i_63_) { - anInt4439++; - String string = ("tele " + i_62_ + "," + (i_63_ >> 6) + "," + (i >> 6) + "," + (0x3f & i_63_) + "," + (0x3f & i)); - if (i_61_ != 2) method3502(-25, -23, 24, 63); - Class82.method812(string, true, false, (byte) -79); - } - - final boolean method3503(int i, byte i_64_, int i_65_, int i_66_, int i_67_, int i_68_, int i_69_, int i_70_, int i_71_) { - anInt4436++; - if (i_66_ > 1) { - if (Class239_Sub28.method1842(i_68_, i_65_, -1, i_66_, i, i_70_, i_71_, i_66_, i_67_)) return true; - return method3497(-28388, i_71_, i_69_, i_66_, i_67_, i, i_66_, i_70_, i_65_, i_68_); - } - int i_72_ = 64 % ((2 - i_64_) / 45); - int i_73_ = -1 + i_68_ + i_71_; - int i_74_ = i_65_ - (-i_67_ + 1); - if (i >= i_71_ && i_73_ >= i && i_65_ <= i_70_ && i_70_ <= i_74_) return true; - if (-1 + i_71_ == i && i_70_ >= i_65_ && i_70_ <= i_74_ && ((this.anIntArrayArray4438[-this.anInt4453 + i][-this.anInt4441 + i_70_]) & 0x8) == 0 && (i_69_ & 0x8) == 0) return true; - if (1 + i_73_ == i && i_70_ >= i_65_ && i_74_ >= i_70_ && (0x80 & (this.anIntArrayArray4438[-this.anInt4453 + i][i_70_ - this.anInt4441])) == 0 && (0x2 & i_69_) == 0) return true; - if (-1 + i_65_ == i_70_ && i >= i_71_ && i_73_ >= i && ((this.anIntArrayArray4438[i + -this.anInt4453][-this.anInt4441 + i_70_]) & 0x2) == 0 && (i_69_ & 0x4) == 0) return true; - return i_70_ == i_74_ - -1 && i_71_ <= i && i_73_ >= i && (0x20 & (this.anIntArrayArray4438[-this.anInt4453 + i][i_70_ - this.anInt4441])) == 0 && (0x1 & i_69_) == 0; - } - - final boolean method3504(int i, int i_75_, int i_76_, int i_77_, int i_78_, int i_79_, int i_80_, int i_81_) { - anInt4454++; - if (i_79_ != 1) this.anInt4443 = -59; - if (i_81_ != 1) { - if (i_77_ <= i_76_ && -1 + i_81_ + i_77_ >= i_76_ && i <= i && i_81_ + i - 1 >= i) return true; - } else if (i_77_ == i_76_ && i_75_ == i) return true; - i_76_ -= this.anInt4453; - i_77_ -= this.anInt4453; - i -= this.anInt4441; - i_75_ -= this.anInt4441; - if (i_81_ == 1) { - if (i_78_ == 6 || i_78_ == 7) { - if (i_78_ == 7) i_80_ = 2 + i_80_ & 0x3; - if (i_80_ == 0) { - if (i_77_ == 1 + i_76_ && i_75_ == i && (0x80 & (this.anIntArrayArray4438[i_77_][i_75_])) == 0) return true; - if (i_77_ == i_76_ && i_75_ == -1 + i && (0x2 & (this.anIntArrayArray4438[i_77_][i_75_])) == 0) return true; - } else if (i_80_ == 1) { - if (i_76_ + -1 == i_77_ && i == i_75_ && (this.anIntArrayArray4438[i_77_][i_75_] & 0x8) == 0) return true; - if (i_76_ == i_77_ && i - 1 == i_75_ && ((this.anIntArrayArray4438[i_77_][i_75_]) & 0x2) == 0) return true; - } else if (i_80_ == 2) { - if (i_77_ == -1 + i_76_ && i == i_75_ && (0x8 & (this.anIntArrayArray4438[i_77_][i_75_])) == 0) return true; - if (i_76_ == i_77_ && i + 1 == i_75_ && ((this.anIntArrayArray4438[i_77_][i_75_]) & 0x20) == 0) return true; - } else if (i_80_ == 3) { - if (i_76_ - -1 == i_77_ && i_75_ == i && (this.anIntArrayArray4438[i_77_][i_75_] & 0x80) == 0) return true; - if (i_77_ == i_76_ && i + 1 == i_75_ && (0x20 & (this.anIntArrayArray4438[i_77_][i_75_])) == 0) return true; - } - } - if (i_78_ == 8) { - if (i_76_ == i_77_ && 1 + i == i_75_ && (this.anIntArrayArray4438[i_77_][i_75_] & 0x20) == 0) return true; - if (i_76_ == i_77_ && i - 1 == i_75_ && (this.anIntArrayArray4438[i_77_][i_75_] & 0x2) == 0) return true; - if (i_77_ == i_76_ + -1 && i_75_ == i && (this.anIntArrayArray4438[i_77_][i_75_] & 0x8) == 0) return true; - return i_77_ == 1 + i_76_ && i_75_ == i && (this.anIntArrayArray4438[i_77_][i_75_] & 0x80) == 0; - } - } else { - int i_82_ = -1 + (i_81_ + i_77_); - int i_83_ = i_75_ - (-i_81_ - -1); - if (i_78_ == 6 || i_78_ == 7) { - if (i_78_ == 7) i_80_ = 0x3 & 2 + i_80_; - if (i_80_ == 0) { - if (i_77_ == 1 + i_76_ && i_75_ <= i && i <= i_83_ && ((0x80 & this.anIntArrayArray4438[i_77_][i]) == 0)) return true; - if (i_76_ >= i_77_ && i_76_ <= i_82_ && -i_81_ + i == i_75_ && ((this.anIntArrayArray4438[i_76_][i_83_]) & 0x2) == 0) return true; - } else if (i_80_ == 1) { - if (i_77_ == i_76_ + -i_81_ && i >= i_75_ && i <= i_83_ && (this.anIntArrayArray4438[i_82_][i] & 0x8) == 0) return true; - if (i_76_ >= i_77_ && i_76_ <= i_82_ && i_75_ == -i_81_ + i && ((this.anIntArrayArray4438[i_76_][i_83_]) & 0x2) == 0) return true; - } else if (i_80_ == 2) { - if (-i_81_ + i_76_ == i_77_ && i >= i_75_ && i_83_ >= i && ((this.anIntArrayArray4438[i_82_][i]) & 0x8) == 0) return true; - if (i_76_ >= i_77_ && i_76_ <= i_82_ && 1 + i == i_75_ && ((this.anIntArrayArray4438[i_76_][i_75_]) & 0x20) == 0) return true; - } else if (i_80_ == 3) { - if (i_77_ == i_76_ - -1 && i_75_ <= i && i <= i_83_ && (0x80 & (this.anIntArrayArray4438[i_77_][i])) == 0) return true; - if (i_76_ >= i_77_ && i_82_ >= i_76_ && i - -1 == i_75_ && ((this.anIntArrayArray4438[i_76_][i_75_]) & 0x20) == 0) return true; - } - } - if (i_78_ == 8) { - if (i_76_ >= i_77_ && i_82_ >= i_76_ && 1 + i == i_75_ && (0x20 & this.anIntArrayArray4438[i_76_][i_75_]) == 0) return true; - if (i_76_ >= i_77_ && i_76_ <= i_82_ && i_75_ == -i_81_ + i && (0x2 & this.anIntArrayArray4438[i_76_][i_83_]) == 0) return true; - if (i_77_ == i_76_ - i_81_ && i_75_ <= i && i <= i_83_ && ((0x8 & this.anIntArrayArray4438[i_82_][i]) == 0)) return true; - return i_77_ == 1 + i_76_ && i_75_ <= i && i_83_ >= i && ((0x80 & this.anIntArrayArray4438[i_77_][i]) == 0); - } - } - return false; - } - - final void method3505(boolean bool, int i, int i_84_, boolean bool_85_, int i_86_, boolean bool_87_, int i_88_) { - if (bool_85_ != true) this.anInt4453 = 116; - anInt4434++; - int i_89_ = 256; - if (bool_87_) i_89_ |= 0x20000; - i_86_ -= this.anInt4453; - i_84_ -= this.anInt4441; - if (bool) i_89_ |= 0x40000000; - for (int i_90_ = i_86_; i_86_ + i > i_90_; i_90_++) { - if (i_90_ >= 0 && (i_90_ < this.anInt4437)) { - for (int i_91_ = i_84_; i_91_ < i_84_ + i_88_; i_91_++) { - if (i_91_ >= 0 && this.anInt4443 > i_91_) method3494(i_90_, i_89_, i_91_, -6496); - } - } - } - } - - final void method3506(boolean bool, int i, int i_92_, int i_93_, int i_94_, boolean bool_95_, int i_96_) { - anInt4435++; - i_92_ -= this.anInt4453; - if (i_96_ == 29216) { - i_94_ -= this.anInt4441; - if (i_93_ == 0) { - if (i == 0) { - method3493(128, i_96_ ^ ~0x725a, i_92_, i_94_); - method3493(8, i_96_ + -29342, i_92_ + -1, i_94_); - } - if (i == 1) { - method3493(2, -122, i_92_, i_94_); - method3493(32, -124, i_92_, i_94_ + 1); - } - if (i == 2) { - method3493(8, -127, i_92_, i_94_); - method3493(128, -127, 1 + i_92_, i_94_); - } - if (i == 3) { - method3493(32, -125, i_92_, i_94_); - method3493(2, i_96_ ^ ~0x725f, i_92_, i_94_ + -1); - } - } - if (i_93_ == 1 || i_93_ == 3) { - if (i == 0) { - method3493(1, -123, i_92_, i_94_); - method3493(16, -127, -1 + i_92_, i_94_ + 1); - } - if (i == 1) { - method3493(4, -123, i_92_, i_94_); - method3493(64, -128, i_92_ - -1, 1 + i_94_); - } - if (i == 2) { - method3493(16, -122, i_92_, i_94_); - method3493(1, -125, 1 + i_92_, -1 + i_94_); - } - if (i == 3) { - method3493(64, -127, i_92_, i_94_); - method3493(4, i_96_ ^ ~0x725f, -1 + i_92_, -1 + i_94_); - } - } - if (i_93_ == 2) { - if (i == 0) { - method3493(130, -122, i_92_, i_94_); - method3493(8, -123, -1 + i_92_, i_94_); - method3493(32, -124, i_92_, i_94_ + 1); - } - if (i == 1) { - method3493(10, -123, i_92_, i_94_); - method3493(32, -122, i_92_, i_94_ - -1); - method3493(128, -127, i_92_ - -1, i_94_); - } - if (i == 2) { - method3493(40, -122, i_92_, i_94_); - method3493(128, -123, 1 + i_92_, i_94_); - method3493(2, -127, i_92_, i_94_ + -1); - } - if (i == 3) { - method3493(160, -127, i_92_, i_94_); - method3493(2, -128, i_92_, i_94_ - 1); - method3493(8, i_96_ + -29343, -1 + i_92_, i_94_); - } - } - if (bool) { - if (i_93_ == 0) { - if (i == 0) { - method3493(65536, i_96_ ^ ~0x7258, i_92_, i_94_); - method3493(4096, -127, i_92_ - 1, i_94_); - } - if (i == 1) { - method3493(1024, i_96_ ^ ~0x725f, i_92_, i_94_); - method3493(16384, -122, i_92_, 1 + i_94_); - } - if (i == 2) { - method3493(4096, -124, i_92_, i_94_); - method3493(65536, -121, 1 + i_92_, i_94_); - } - if (i == 3) { - method3493(16384, -128, i_92_, i_94_); - method3493(1024, -125, i_92_, i_94_ - 1); - } - } - if (i_93_ == 1 || i_93_ == 3) { - if (i == 0) { - method3493(512, -125, i_92_, i_94_); - method3493(8192, -128, -1 + i_92_, 1 + i_94_); - } - if (i == 1) { - method3493(2048, i_96_ ^ ~0x7258, i_92_, i_94_); - method3493(32768, -128, 1 + i_92_, i_94_ - -1); - } - if (i == 2) { - method3493(8192, -125, i_92_, i_94_); - method3493(512, -123, i_92_ + 1, i_94_ - 1); - } - if (i == 3) { - method3493(32768, i_96_ ^ ~0x7258, i_92_, i_94_); - method3493(2048, -123, i_92_ - 1, i_94_ - 1); - } - } - if (i_93_ == 2) { - if (i == 0) { - method3493(66560, i_96_ + -29342, i_92_, i_94_); - method3493(4096, -121, -1 + i_92_, i_94_); - method3493(16384, -127, i_92_, i_94_ - -1); - } - if (i == 1) { - method3493(5120, -127, i_92_, i_94_); - method3493(16384, -125, i_92_, 1 + i_94_); - method3493(65536, -123, 1 + i_92_, i_94_); - } - if (i == 2) { - method3493(20480, i_96_ + -29339, i_92_, i_94_); - method3493(65536, -124, 1 + i_92_, i_94_); - method3493(1024, -125, i_92_, i_94_ + -1); - } - if (i == 3) { - method3493(81920, -123, i_92_, i_94_); - method3493(1024, i_96_ + -29339, i_92_, -1 + i_94_); - method3493(4096, i_96_ + -29340, i_92_ + -1, i_94_); - } - } - } - if (bool_95_) { - if (i_93_ == 0) { - if (i == 0) { - method3493(536870912, -125, i_92_, i_94_); - method3493(33554432, -128, i_92_ + -1, i_94_); - } - if (i == 1) { - method3493(8388608, i_96_ + -29338, i_92_, i_94_); - method3493(134217728, i_96_ + -29339, i_92_, i_94_ - -1); - } - if (i == 2) { - method3493(33554432, -123, i_92_, i_94_); - method3493(536870912, -122, 1 + i_92_, i_94_); - } - if (i == 3) { - method3493(134217728, -128, i_92_, i_94_); - method3493(8388608, -127, i_92_, -1 + i_94_); - } - } - if (i_93_ == 1 || i_93_ == 3) { - if (i == 0) { - method3493(4194304, -121, i_92_, i_94_); - method3493(67108864, -121, i_92_ + -1, 1 + i_94_); - } - if (i == 1) { - method3493(16777216, -126, i_92_, i_94_); - method3493(268435456, -124, 1 + i_92_, 1 + i_94_); - } - if (i == 2) { - method3493(67108864, -122, i_92_, i_94_); - method3493(4194304, -126, 1 + i_92_, -1 + i_94_); - } - if (i == 3) { - method3493(268435456, -122, i_92_, i_94_); - method3493(16777216, -126, -1 + i_92_, i_94_ + -1); - } - } - if (i_93_ == 2) { - if (i == 0) { - method3493(545259520, -124, i_92_, i_94_); - method3493(33554432, -123, -1 + i_92_, i_94_); - method3493(134217728, -123, i_92_, i_94_ + 1); - } - if (i == 1) { - method3493(41943040, -123, i_92_, i_94_); - method3493(134217728, i_96_ ^ ~0x725f, i_92_, 1 + i_94_); - method3493(536870912, -121, 1 + i_92_, i_94_); - } - if (i == 2) { - method3493(167772160, -127, i_92_, i_94_); - method3493(536870912, -124, 1 + i_92_, i_94_); - method3493(8388608, -128, i_92_, i_94_ - 1); - } - if (i == 3) { - method3493(671088640, -126, i_92_, i_94_); - method3493(8388608, -121, i_92_, i_94_ - 1); - method3493(33554432, -126, i_92_ - 1, i_94_); - } - } - } - } - } - - final void method3507(int i, int i_97_, byte i_98_) { - if (i_98_ > -32) this.anInt4437 = 85; - i -= this.anInt4441; - anInt4431++; - i_97_ -= this.anInt4453; - this.anIntArrayArray4438[i_97_][i] = Class273.method2057((this.anIntArrayArray4438[i_97_][i]), 2097152); - } - - public static void method3508(int i) { - aClass114_4433 = null; - if (i != 2) aFloat4455 = 0.7198636F; - } - - final void method3509(int i, boolean bool, boolean bool_99_, int i_100_, int i_101_, int i_102_, int i_103_, int i_104_) { - anInt4432++; - if (i_103_ > 52) { - int i_105_ = 256; - if (bool_99_) i_105_ |= 0x20000; - i_100_ -= this.anInt4453; - i_101_ -= this.anInt4441; - if (bool) i_105_ |= 0x40000000; - if (i == 1 || i == 3) { - int i_106_ = i_104_; - i_104_ = i_102_; - i_102_ = i_106_; - } - for (int i_107_ = i_100_; i_107_ < i_104_ + i_100_; i_107_++) { - if (i_107_ >= 0 && i_107_ < this.anInt4437) { - for (int i_108_ = i_101_; (i_101_ + i_102_ > i_108_); i_108_++) { - if (i_108_ >= 0 && this.anInt4443 > i_108_) method3493(i_105_, -122, i_107_, i_108_); - } - } - } - } - } - - final void method3510(int i, int i_109_, int i_110_, int i_111_, int i_112_, boolean bool, boolean bool_113_) { - anInt4445++; - int i_114_ = 49 / ((i_110_ - 6) / 46); - i -= this.anInt4441; - i_109_ -= this.anInt4453; - if (i_111_ == 0) { - if (i_112_ == 0) { - method3494(i_109_, 128, i, -6496); - method3494(-1 + i_109_, 8, i, -6496); - } - if (i_112_ == 1) { - method3494(i_109_, 2, i, -6496); - method3494(i_109_, 32, 1 + i, -6496); - } - if (i_112_ == 2) { - method3494(i_109_, 8, i, -6496); - method3494(i_109_ + 1, 128, i, -6496); - } - if (i_112_ == 3) { - method3494(i_109_, 32, i, -6496); - method3494(i_109_, 2, -1 + i, -6496); - } - } - if (i_111_ == 1 || i_111_ == 3) { - if (i_112_ == 0) { - method3494(i_109_, 1, i, -6496); - method3494(i_109_ - 1, 16, 1 + i, -6496); - } - if (i_112_ == 1) { - method3494(i_109_, 4, i, -6496); - method3494(i_109_ + 1, 64, 1 + i, -6496); - } - if (i_112_ == 2) { - method3494(i_109_, 16, i, -6496); - method3494(1 + i_109_, 1, -1 + i, -6496); - } - if (i_112_ == 3) { - method3494(i_109_, 64, i, -6496); - method3494(i_109_ - 1, 4, -1 + i, -6496); - } - } - if (i_111_ == 2) { - if (i_112_ == 0) { - method3494(i_109_, 130, i, -6496); - method3494(i_109_ - 1, 8, i, -6496); - method3494(i_109_, 32, i + 1, -6496); - } - if (i_112_ == 1) { - method3494(i_109_, 10, i, -6496); - method3494(i_109_, 32, 1 + i, -6496); - method3494(1 + i_109_, 128, i, -6496); - } - if (i_112_ == 2) { - method3494(i_109_, 40, i, -6496); - method3494(i_109_ + 1, 128, i, -6496); - method3494(i_109_, 2, -1 + i, -6496); - } - if (i_112_ == 3) { - method3494(i_109_, 160, i, -6496); - method3494(i_109_, 2, -1 + i, -6496); - method3494(-1 + i_109_, 8, i, -6496); - } - } - if (bool_113_) { - if (i_111_ == 0) { - if (i_112_ == 0) { - method3494(i_109_, 65536, i, -6496); - method3494(i_109_ - 1, 4096, i, -6496); - } - if (i_112_ == 1) { - method3494(i_109_, 1024, i, -6496); - method3494(i_109_, 16384, i + 1, -6496); - } - if (i_112_ == 2) { - method3494(i_109_, 4096, i, -6496); - method3494(i_109_ + 1, 65536, i, -6496); - } - if (i_112_ == 3) { - method3494(i_109_, 16384, i, -6496); - method3494(i_109_, 1024, i - 1, -6496); - } - } - if (i_111_ == 1 || i_111_ == 3) { - if (i_112_ == 0) { - method3494(i_109_, 512, i, -6496); - method3494(-1 + i_109_, 8192, i + 1, -6496); - } - if (i_112_ == 1) { - method3494(i_109_, 2048, i, -6496); - method3494(i_109_ + 1, 32768, i - -1, -6496); - } - if (i_112_ == 2) { - method3494(i_109_, 8192, i, -6496); - method3494(1 + i_109_, 512, i - 1, -6496); - } - if (i_112_ == 3) { - method3494(i_109_, 32768, i, -6496); - method3494(i_109_ + -1, 2048, -1 + i, -6496); - } - } - if (i_111_ == 2) { - if (i_112_ == 0) { - method3494(i_109_, 66560, i, -6496); - method3494(i_109_ + -1, 4096, i, -6496); - method3494(i_109_, 16384, 1 + i, -6496); - } - if (i_112_ == 1) { - method3494(i_109_, 5120, i, -6496); - method3494(i_109_, 16384, i + 1, -6496); - method3494(i_109_ - -1, 65536, i, -6496); - } - if (i_112_ == 2) { - method3494(i_109_, 20480, i, -6496); - method3494(1 + i_109_, 65536, i, -6496); - method3494(i_109_, 1024, -1 + i, -6496); - } - if (i_112_ == 3) { - method3494(i_109_, 81920, i, -6496); - method3494(i_109_, 1024, i - 1, -6496); - method3494(i_109_ + -1, 4096, i, -6496); - } - } - } - if (bool) { - if (i_111_ == 0) { - if (i_112_ == 0) { - method3494(i_109_, 536870912, i, -6496); - method3494(-1 + i_109_, 33554432, i, -6496); - } - if (i_112_ == 1) { - method3494(i_109_, 8388608, i, -6496); - method3494(i_109_, 134217728, i - -1, -6496); - } - if (i_112_ == 2) { - method3494(i_109_, 33554432, i, -6496); - method3494(i_109_ - -1, 536870912, i, -6496); - } - if (i_112_ == 3) { - method3494(i_109_, 134217728, i, -6496); - method3494(i_109_, 8388608, i - 1, -6496); - } - } - if (i_111_ == 1 || i_111_ == 3) { - if (i_112_ == 0) { - method3494(i_109_, 4194304, i, -6496); - method3494(-1 + i_109_, 67108864, i - -1, -6496); - } - if (i_112_ == 1) { - method3494(i_109_, 16777216, i, -6496); - method3494(1 + i_109_, 268435456, 1 + i, -6496); - } - if (i_112_ == 2) { - method3494(i_109_, 67108864, i, -6496); - method3494(1 + i_109_, 4194304, i - 1, -6496); - } - if (i_112_ == 3) { - method3494(i_109_, 268435456, i, -6496); - method3494(i_109_ - 1, 16777216, -1 + i, -6496); - } - } - if (i_111_ == 2) { - if (i_112_ == 0) { - method3494(i_109_, 545259520, i, -6496); - method3494(i_109_ + -1, 33554432, i, -6496); - method3494(i_109_, 134217728, i - -1, -6496); - } - if (i_112_ == 1) { - method3494(i_109_, 41943040, i, -6496); - method3494(i_109_, 134217728, 1 + i, -6496); - method3494(1 + i_109_, 536870912, i, -6496); - } - if (i_112_ == 2) { - method3494(i_109_, 167772160, i, -6496); - method3494(1 + i_109_, 536870912, i, -6496); - method3494(i_109_, 8388608, -1 + i, -6496); - } - if (i_112_ == 3) { - method3494(i_109_, 671088640, i, -6496); - method3494(i_109_, 8388608, i + -1, -6496); - method3494(-1 + i_109_, 33554432, i, -6496); - } - } - } - } -} diff --git a/client/src/Class362.java b/client/src/Class362.java deleted file mode 100644 index 6fe3c58df..000000000 --- a/client/src/Class362.java +++ /dev/null @@ -1,84 +0,0 @@ -/* Class362 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class362 { - static Class324 aClass324_4456; - static int anInt4457; - static int anInt4458 = -1; - static int anInt4459; - static Class183 aClass183_4460; - - static final void method3511(boolean bool, Class324 class324, Class143 class143, String string, int i, ha var_ha) { - try { - if (i != 2) aClass324_4456 = null; - anInt4457++; - boolean bool_0_ = !Class295.aBoolean3763 || Class359.method3490(true); - if (bool_0_) { - if (Class295.aBoolean3763 && bool_0_) { - class143 = Class281.aClass143_3649; - class324 = var_ha.method3686(class143, (Class5_Sub1_Sub1.aClass207Array9929), true); - int i_1_ = class143.method1187(string, false, 250, null); - int i_2_ = class143.method1185(null, i ^ 0x2, class143.anInt1992, 250, string); - int i_3_ = Class348_Sub7.aClass207_6643.anInt2702; - int i_4_ = i_3_ + 4; - i_2_ += 2 * i_4_; - i_1_ += 2 * i_4_; - if (i_2_ < Class269.anInt3451) i_2_ = Class269.anInt3451; - if (i_1_ < Class289.anInt3704) i_1_ = Class289.anInt3704; - int i_5_ = (Class95.aClass221_1542.method1607(Class92.anInt1524, i_1_, (byte) -107) - -Class290.anInt3712); - int i_6_ = (Class239_Sub27.aClass341_6128.method2679(ha_Sub2.anInt7666, i_2_, 1595) + Class239_Sub3.anInt5871); - if (Class59_Sub1.aBoolean5300) { - i_5_ += s_Sub3.method4008((byte) -124); - i_6_ += Class16.method260(false); - } - var_ha.method3691(Class112.aClass207_1727, false).method965((Class348_Sub40_Sub1.aClass207_9090.anInt2702) + i_5_, (Class348_Sub40_Sub1.aClass207_9090.anInt2696) + i_6_, -(2 * (Class348_Sub40_Sub1.aClass207_9090.anInt2702)) + i_1_, -((Class348_Sub40_Sub1.aClass207_9090.anInt2696) * 2) + i_2_, 1, 0, 0); - var_ha.method3691(Class348_Sub40_Sub1.aClass207_9090, true).method974(i_5_, i_6_); - Class348_Sub40_Sub1.aClass207_9090.method1518(); - var_ha.method3691(Class348_Sub40_Sub1.aClass207_9090, true).method974(i_5_ + i_1_ - i_3_, i_6_); - Class348_Sub40_Sub1.aClass207_9090.method1514(); - var_ha.method3691(Class348_Sub40_Sub1.aClass207_9090, true).method974(i_5_ - -i_1_ + -i_3_, -i_3_ + (i_6_ - -i_2_)); - Class348_Sub40_Sub1.aClass207_9090.method1518(); - var_ha.method3691(Class348_Sub40_Sub1.aClass207_9090, true).method974(i_5_, -i_3_ + i_6_ - -i_2_); - Class348_Sub40_Sub1.aClass207_9090.method1514(); - var_ha.method3691(Class348_Sub7.aClass207_6643, true).method972(i_5_, (Class348_Sub40_Sub1.aClass207_9090.anInt2696) + i_6_, i_3_, -(2 * (Class348_Sub40_Sub1.aClass207_9090.anInt2696)) + i_2_); - Class348_Sub7.aClass207_6643.method1520(); - var_ha.method3691(Class348_Sub7.aClass207_6643, true).method972((Class348_Sub40_Sub1.aClass207_9090.anInt2702) + i_5_, i_6_, -((Class348_Sub40_Sub1.aClass207_9090.anInt2702) * 2) + i_1_, i_3_); - Class348_Sub7.aClass207_6643.method1520(); - var_ha.method3691(Class348_Sub7.aClass207_6643, true).method972(i_5_ - -i_1_ + -i_3_, (Class348_Sub40_Sub1.aClass207_9090.anInt2696) + i_6_, i_3_, -(2 * (Class348_Sub40_Sub1.aClass207_9090.anInt2696)) + i_2_); - Class348_Sub7.aClass207_6643.method1520(); - var_ha.method3691(Class348_Sub7.aClass207_6643, true).method972((Class348_Sub40_Sub1.aClass207_9090.anInt2702) + i_5_, -i_3_ + i_6_ - -i_2_, -(2 * (Class348_Sub40_Sub1.aClass207_9090.anInt2702)) + i_1_, i_3_); - Class348_Sub7.aClass207_6643.method1520(); - class324.method2584(null, 0, -1, null, ~0xffffff | Class86.anInt1479, 1, i_2_ + -(i_4_ * 2), null, i_6_ + i_4_, 0, 0, -(2 * i_4_) + i_1_, i_5_ + i_4_, false, 1, string); - Class13.method226(i_5_, i_1_, i_6_, i ^ 0x2, i_2_); - } else { - int i_7_ = class143.method1187(string, false, 250, null); - int i_8_ = class143.method1190(null, 1, string, 250) * 13; - int i_9_ = 4; - int i_10_ = 6 - -i_9_; - int i_11_ = i_9_ + 6; - var_ha.aa(i_10_ + -i_9_, i_11_ + -i_9_, i_9_ + i_7_ + i_9_, i_8_ + (i_9_ - -i_9_), -16777216, 0); - var_ha.method3628(i_10_ - i_9_, -i_9_ + i_11_, i_9_ + (i_7_ + i_9_), i_9_ + i_9_ + i_8_, -1, 0); - class324.method2584(null, 0, -1, null, -1, 1, i_8_, null, i_11_, 0, 0, i_7_, i_10_, false, 1, string); - Class13.method226(i_10_ - i_9_, i_9_ + i_7_ - -i_9_, i_11_ + -i_9_, i + -2, i_9_ + i_8_ - -i_9_); - } - if (bool) { - try { - if (!Class59_Sub1.aBoolean5300) var_ha.method3689((byte) 118); - else Class45.method395(i + 79); - } catch (Exception_Sub1 exception_sub1) { - /* empty */ - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("fg.A(" + bool + ',' + (class324 != null ? "{...}" : "null") + ',' + (class143 != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ',' + i + ',' + (var_ha != null ? "{...}" : "null") + ')')); - } - } - - public static void method3512(int i) { - aClass183_4460 = null; - if (i != 4) anInt4458 = 96; - aClass324_4456 = null; - } -} diff --git a/client/src/Class363.java b/client/src/Class363.java deleted file mode 100644 index a719933a6..000000000 --- a/client/src/Class363.java +++ /dev/null @@ -1,45 +0,0 @@ -/* Class363 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class363 { - static String aString4461 = ""; - static int anInt4462; - static int[] anIntArray4463 = new int[8]; - static int anInt4464; - static int anInt4465; - - static final void method3513(int i) { - synchronized (Class318.aClass243Array3974) { - for (int i_0_ = 0; (i_0_ < Class318.aClass243Array3974.length); i_0_++) { - Class318.aClass243Array3974[i_0_] = new Class243(); - Class331.anIntArray4128[i_0_] = 0; - } - } - anInt4462++; - int i_1_ = 60 / ((-36 - i) / 57); - } - - static final void method3514(byte i) { - anInt4465++; - for (Class348_Sub27 class348_sub27 = ((Class348_Sub27) Class348_Sub42_Sub20.aClass262_9711.method1995(4)); class348_sub27 != null; class348_sub27 = (Class348_Sub27) Class348_Sub42_Sub20.aClass262_9711.method1990((byte) 57)) { - if (class348_sub27.anInt6893 == -1) { - class348_sub27.anInt6894 = 0; - if ((class348_sub27.anInt6905 >= 0) && class348_sub27.anInt6896 >= 0 && (class348_sub27.anInt6905 < Class367_Sub4.anInt7319) && (class348_sub27.anInt6896 < Class348_Sub40_Sub3.anInt9109)) Class184.method1387(i + 26, class348_sub27); - } else class348_sub27.method2715((byte) 39); - } - if (i != -105) method3516(-128); - } - - static final void method3515(int i) { - int i_2_ = 52 / ((33 - i) / 40); - Class348_Sub40.aClass356_7041.method3481(0); - anInt4464++; - } - - public static void method3516(int i) { - aString4461 = null; - if (i <= 123) anIntArray4463 = null; - anIntArray4463 = null; - } -} diff --git a/client/src/Class364.java b/client/src/Class364.java deleted file mode 100644 index 88ce1f7dd..000000000 --- a/client/src/Class364.java +++ /dev/null @@ -1,25 +0,0 @@ -/* Class364 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class364 { - int anInt4466; - static int anInt4467; - static int anInt4468; - static int anInt4469; - - public final String toString() { - anInt4467++; - throw new IllegalStateException(); - } - - static final void method3517(int i) { - if (i <= 35) method3517(98); - anInt4468++; - Class375.aClass60_4543.method590(0); - } - - Class364(String string, int i) { - this.anInt4466 = i; - } -} diff --git a/client/src/Class365.java b/client/src/Class365.java deleted file mode 100644 index ec9136178..000000000 --- a/client/src/Class365.java +++ /dev/null @@ -1,37 +0,0 @@ -/* Class365 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class365 { - String aString4470; - long aLong4471; - String aString4472; - static Class262 aClass262_4473; - static int anInt4474 = 0; - int anInt4475; - int anInt4476; - static Class114 aClass114_4477; - - public static void method3518(int i) { - aClass262_4473 = null; - if (i != 88) method3518(-49); - aClass114_4477 = null; - } - - Class365(int i, String string, int i_0_, String string_1_, long l) { - try { - this.aLong4471 = l; - this.anInt4475 = i_0_; - this.anInt4476 = i; - this.aString4472 = string_1_; - this.aString4470 = string; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("fia.(" + i + ',' + (string != null ? "{...}" : "null") + ',' + i_0_ + ',' + (string_1_ != null ? "{...}" : "null") + ',' + l + ')')); - } - } - - static { - aClass262_4473 = new Class262(); - aClass114_4477 = new Class114(88, 10); - } -} diff --git a/client/src/Class366.java b/client/src/Class366.java deleted file mode 100644 index 321674364..000000000 --- a/client/src/Class366.java +++ /dev/null @@ -1,87 +0,0 @@ -/* Class366 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaclib.memory.Buffer; -import jaclib.memory.Source; -import jagdx.IDirect3DVertexBuffer; -import jagdx.ue; - -final class Class366 implements Interface5_Impl1 { - private int anInt8508; - private final boolean aBoolean8509; - private boolean aBoolean8510 = false; - IDirect3DVertexBuffer anIDirect3DVertexBuffer8511; - private final Class378 aClass378_8512; - private byte aByte8513; - private int anInt8514; - - public final int method16(boolean bool) { - if (bool) method3519(-55); - return anInt8508; - } - - public final void method21(int i) { - if (this.anIDirect3DVertexBuffer8511 != null) { - this.anIDirect3DVertexBuffer8511.a(9275); - this.anIDirect3DVertexBuffer8511 = null; - } - if (i != 23315) method17(null, -80, -30, (byte) 72); - anInt8514 = 0; - anInt8508 = 0; - } - - public final boolean method20(int i, byte i_0_, int i_1_) { - aByte8513 = (byte) i_1_; - if (i_0_ < 122) method20(-127, (byte) 52, -18); - anInt8508 = i; - if (anInt8508 > anInt8514) { - int i_2_ = 8; - int i_3_; - if (aBoolean8509) { - i_2_ |= 0x200; - i_3_ = 0; - } else i_3_ = 1; - if (this.anIDirect3DVertexBuffer8511 != null) this.anIDirect3DVertexBuffer8511.a(9275); - this.anIDirect3DVertexBuffer8511 = (aClass378_8512.anIDirect3DDevice9810.a(anInt8508, i_2_, 0, i_3_, this.anIDirect3DVertexBuffer8511)); - anInt8514 = anInt8508; - } - return null != this.anIDirect3DVertexBuffer8511; - } - - public final Buffer method19(boolean bool, int i) { - if (this.anIDirect3DVertexBuffer8511 == null) return null; - bool &= aBoolean8509; - if (i != 26775) method21(93); - if (!aBoolean8510 && ue.a((this.anIDirect3DVertexBuffer8511.Lock(0, anInt8514, !bool ? 0 : 8192, aClass378_8512.aGeometryBuffer9811)), false)) { - aBoolean8510 = true; - return aClass378_8512.aGeometryBuffer9811; - } - return null; - } - - public final boolean method17(Source source, int i, int i_4_, byte i_5_) { - if (method20(i_4_, (byte) 125, i)) return this.anIDirect3DVertexBuffer8511.a(source, 0, 0, anInt8508, !aBoolean8509 ? 0 : 8192); - if (i_5_ >= -15) anInt8508 = 71; - return false; - } - - public final boolean method18(int i) { - if (aBoolean8510 && ue.a(this.anIDirect3DVertexBuffer8511.Unlock(), false)) { - aBoolean8510 = false; - return true; - } - if (i != 6331) return false; - return false; - } - - final int method3519(int i) { - if (i != 3545) method21(-87); - return aByte8513; - } - - Class366(Class378 class378, boolean bool) { - aClass378_8512 = class378; - aBoolean8509 = bool; - } -} diff --git a/client/src/Class367.java b/client/src/Class367.java deleted file mode 100644 index cbffa1337..000000000 --- a/client/src/Class367.java +++ /dev/null @@ -1,70 +0,0 @@ -/* Class367 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class367 { - static int anInt4478; - ha_Sub3 aHa_Sub3_4479; - static int anInt4480; - static int anInt4481; - static int anInt4482; - static int anInt4483; - static int anInt4484; - static int anInt4485; - - abstract void method3520(byte i); - - abstract void method3521(boolean bool, byte i); - - void method3522(int i) { - anInt4484++; - if (i != -16252) method3531(false); - } - - void method3523(byte i) { - if (i != 12) method3528(5); - anInt4482++; - } - - Class367(ha_Sub3 var_ha_Sub3) { - this.aHa_Sub3_4479 = var_ha_Sub3; - } - - void method3524(int i) { - anInt4483++; - if (i != -14775) this.aHa_Sub3_4479 = null; - } - - abstract void method3525(int i, boolean bool); - - abstract void method3526(int i, int i_0_, int i_1_); - - abstract void method3527(int i, Interface18 interface18, int i_2_); - - void method3528(int i) { - if (i < 45) this.aHa_Sub3_4479 = null; - anInt4481++; - } - - static final Class318_Sub6 method3529(int i) { - anInt4478++; - Class318_Sub6 class318_sub6 = (Class318_Sub6) Class62.aClass243_1114.method1875(60); - if (i != 32564) method3529(-38); - if (class318_sub6 != null) { - Class365.anInt4474--; - return class318_sub6; - } - return new Class318_Sub6(); - } - - abstract boolean method3530(int i); - - void method3531(boolean bool) { - anInt4480++; - if (bool != false) this.aHa_Sub3_4479 = null; - } - - void method3532(int i) { - if (i == 10425) anInt4485++; - } -} diff --git a/client/src/Class367_Sub1.java b/client/src/Class367_Sub1.java deleted file mode 100644 index ef87e6738..000000000 --- a/client/src/Class367_Sub1.java +++ /dev/null @@ -1,99 +0,0 @@ -/* Class367_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class367_Sub1 extends Class367 { - static int anInt7277; - static int anInt7278; - static int anInt7279; - static int anInt7280; - static int anInt7281; - static int anInt7282; - static int anInt7283; - static int anInt7284; - static int anInt7285; - - static final int[] method3533(byte i, int i_0_, int i_1_, int i_2_, float f, int i_3_, boolean bool, int i_4_) { - anInt7281++; - int[] is = new int[i_0_]; - Class348_Sub40_Sub8 class348_sub40_sub8 = new Class348_Sub40_Sub8(); - class348_sub40_sub8.anInt9149 = (int) (f * 4096.0F); - class348_sub40_sub8.anInt9164 = i_4_; - class348_sub40_sub8.anInt9150 = i_1_; - class348_sub40_sub8.aBoolean9160 = bool; - class348_sub40_sub8.anInt9158 = i_2_; - class348_sub40_sub8.anInt9156 = i_3_; - class348_sub40_sub8.method3044(110); - Class79.method797(1, i_0_, (byte) 115); - class348_sub40_sub8.method3069(0, is, (byte) 115); - if (i < 89) method3535(72, -40); - return is; - } - - final void method3520(byte i) { - anInt7278++; - if (i == 87) { - /* empty */ - } - } - - static final void method3534(boolean bool, int i, int i_5_, boolean bool_6_, int i_7_, Class46[] class46s) { - anInt7279++; - if (bool == false) { - for (int i_8_ = 0; i_8_ < class46s.length; i_8_++) { - Class46 class46 = class46s[i_8_]; - if (class46 != null && i == class46.anInt834) { - Class239_Sub28.method1843(i_5_, -326, class46, bool_6_, i_7_); - Class14_Sub1.method239((byte) 115, i_5_, i_7_, class46); - if ((-class46.anInt709 + class46.anInt698) < class46.anInt747) class46.anInt747 = (class46.anInt698 - class46.anInt709); - if (class46.anInt747 < 0) class46.anInt747 = 0; - if ((class46.anInt791 - class46.anInt789) < class46.anInt755) class46.anInt755 = (class46.anInt791 - class46.anInt789); - if (class46.anInt755 < 0) class46.anInt755 = 0; - if (class46.anInt774 == 0) Class251.method1913(bool_6_, -116, class46); - } - } - } - } - - final void method3526(int i, int i_9_, int i_10_) { - anInt7284++; - if (i != 10756) method3525(-42, false); - } - - static final void method3535(int i, int i_11_) { - Class171.anInt2275 = i; - anInt7282++; - Class15.aClass60_225.method590(i_11_); - } - - final void method3525(int i, boolean bool) { - anInt7285++; - if (i == 15192) { - /* empty */ - } - } - - final void method3527(int i, Interface18 interface18, int i_12_) { - this.aHa_Sub3_4479.method3850((byte) 81, interface18); - anInt7280++; - this.aHa_Sub3_4479.method3923(true, i); - if (i_12_ == -16776) { - /* empty */ - } - } - - final boolean method3530(int i) { - anInt7283++; - if (i >= -57) method3530(-90); - return false; - } - - final void method3521(boolean bool, byte i) { - anInt7277++; - if (i != -103) method3527(-12, null, 67); - } - - Class367_Sub1(ha_Sub3 var_ha_Sub3) { - super(var_ha_Sub3); - } -} diff --git a/client/src/Class367_Sub10.java b/client/src/Class367_Sub10.java deleted file mode 100644 index 977945e11..000000000 --- a/client/src/Class367_Sub10.java +++ /dev/null @@ -1,92 +0,0 @@ -/* Class367_Sub10 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class367_Sub10 extends Class367 { - static int anInt7381; - static Class45 aClass45_7382; - static int anInt7383; - static int anInt7384; - private boolean aBoolean7385 = false; - static int anInt7386; - static int anInt7387; - static int anInt7388; - static int anInt7389; - - final void method3527(int i, Interface18 interface18, int i_0_) { - this.aHa_Sub3_4479.method3850((byte) 79, interface18); - if (i_0_ != -16776) aBoolean7385 = false; - anInt7381++; - this.aHa_Sub3_4479.method3923(true, i); - } - - static final void method3553(boolean bool, byte i, int i_1_) { - if (i <= 98) method3553(true, (byte) 34, 120); - Class258_Sub3_Sub1.method1971(-2, Class274.aClass274_3495.method2063(Class348_Sub33.anInt6967, 544), bool, i_1_); - anInt7388++; - } - - final void method3525(int i, boolean bool) { - anInt7384++; - Interface18_Impl2 interface18_impl2 = this.aHa_Sub3_4479.method3834(-16777216); - if (i != 15192) aBoolean7385 = false; - if (interface18_impl2 != null && bool) { - this.aHa_Sub3_4479.method3897(1, i + -19574); - this.aHa_Sub3_4479.method3850((byte) 96, interface18_impl2); - this.aHa_Sub3_4479.method3871(Class261.aClass113_3314, i + -15192); - this.aHa_Sub3_4479.method3897(1, -4382); - this.aHa_Sub3_4479.method3874(Class328_Sub3.aClass229_6519, 104, Class248.aClass229_3196); - this.aHa_Sub3_4479.method3924(true, false, 2, (Class318_Sub1_Sub2.aClass70_8737), false); - this.aHa_Sub3_4479.method3885(0, true, Class285_Sub2.aClass70_8503); - Class101_Sub2 class101_sub2 = this.aHa_Sub3_4479.method3820(false); - class101_sub2.method926(i + -30891, this.aHa_Sub3_4479.method3854((byte) -44)); - this.aHa_Sub3_4479.method3853(i ^ ~0x3b47, Class348_Sub40_Sub38.aClass251_9477); - this.aHa_Sub3_4479.method3897(0, -4382); - aBoolean7385 = true; - } else this.aHa_Sub3_4479.method3885(0, true, Class285_Sub2.aClass70_8503); - } - - public static void method3554(int i) { - if (i != 1) aClass45_7382 = null; - aClass45_7382 = null; - } - - final void method3520(byte i) { - if (i != 87) aClass45_7382 = null; - anInt7386++; - if (aBoolean7385) { - this.aHa_Sub3_4479.method3897(1, -4382); - this.aHa_Sub3_4479.method3871(Class150.aClass113_2047, i ^ 0x57); - this.aHa_Sub3_4479.method3874(Class167.aClass229_2207, 103, (Class167.aClass229_2207)); - this.aHa_Sub3_4479.method3849((byte) 47, 2, Class348_Sub40_Sub39.aClass70_9485); - this.aHa_Sub3_4479.method3885(0, true, Class342.aClass70_4247); - this.aHa_Sub3_4479.method3879(-8629); - this.aHa_Sub3_4479.method3850((byte) -111, null); - this.aHa_Sub3_4479.method3897(0, -4382); - aBoolean7385 = false; - } else this.aHa_Sub3_4479.method3885(0, true, Class342.aClass70_4247); - this.aHa_Sub3_4479.method3874(Class167.aClass229_2207, i ^ 0x2c, Class167.aClass229_2207); - } - - final void method3526(int i, int i_2_, int i_3_) { - anInt7389++; - if (i != 10756) aBoolean7385 = false; - } - - final boolean method3530(int i) { - anInt7387++; - if (i > -57) aClass45_7382 = null; - return true; - } - - final void method3521(boolean bool, byte i) { - if (i == -103) { - anInt7383++; - this.aHa_Sub3_4479.method3874(Class328_Sub3.aClass229_6519, 99, Class167.aClass229_2207); - } - } - - Class367_Sub10(ha_Sub3 var_ha_Sub3) { - super(var_ha_Sub3); - } -} diff --git a/client/src/Class367_Sub11.java b/client/src/Class367_Sub11.java deleted file mode 100644 index dae24f285..000000000 --- a/client/src/Class367_Sub11.java +++ /dev/null @@ -1,222 +0,0 @@ -/* Class367_Sub11 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -import java.awt.*; - -final class Class367_Sub11 extends Class367 { - private Interface18_Impl3 anInterface18_Impl3_7390; - private final boolean aBoolean7391; - private Class193 aClass193_7392; - static int anInt7393; - static byte[] aByteArray7394; - private Class193 aClass193_7395; - public static int anInt7396 = 0; - static int[] anIntArray7397 = new int[4096]; - static Class114 aClass114_7398 = new Class114(16, 6); - private boolean aBoolean7399 = false; - static int anInt7400; - static int anInt7401; - static int anInt7402; - static int anInt7403; - private Class193 aClass193_7404; - static int anInt7405; - private boolean aBoolean7406; - private Class193 aClass193_7407; - static int anInt7408; - static int anInt7409; - static int anInt7410; - private boolean aBoolean7411; - static int anInt7412; - private final float[] aFloatArray7413 = new float[4]; - static int anInt7414; - static Class32 aClass32_7415 = new Class32(8); - - final void method3528(int i) { - if (i <= 45) method3557(true); - anInt7401++; - int i_0_ = this.aHa_Sub3_4479.method3941(102); - Class101_Sub2 class101_sub2 = this.aHa_Sub3_4479.method3887((byte) 98); - if (!aBoolean7411) OpenGL.glBindProgramARB(34336, (i_0_ != 2147483647 ? aClass193_7404.anInt2584 : aClass193_7395.anInt2584)); - else OpenGL.glBindProgramARB(34336, (i_0_ == 2147483647 ? aClass193_7392.anInt2584 : aClass193_7407.anInt2584)); - OpenGL.glEnable(34336); - aBoolean7406 = true; - class101_sub2.method919(0.0F, aFloatArray7413, -1.0F, 0.0F, (float) i_0_, (byte) -120); - OpenGL.glProgramLocalParameter4fARB(34336, 1, aFloatArray7413[0], aFloatArray7413[1], aFloatArray7413[2], aFloatArray7413[3]); - method3522(-16252); - } - - final boolean method3530(int i) { - anInt7414++; - if (i > -57) return false; - return aBoolean7391; - } - - final void method3520(byte i) { - anInt7408++; - this.aHa_Sub3_4479.method3897(1, -4382); - this.aHa_Sub3_4479.method3850((byte) -128, null); - this.aHa_Sub3_4479.method3874(Class167.aClass229_2207, 116, Class167.aClass229_2207); - this.aHa_Sub3_4479.method3849((byte) 47, 0, Class342.aClass70_4247); - this.aHa_Sub3_4479.method3849((byte) 47, 2, Class348_Sub40_Sub39.aClass70_9485); - this.aHa_Sub3_4479.method3885(0, true, Class342.aClass70_4247); - this.aHa_Sub3_4479.method3897(0, -4382); - if (aBoolean7399) { - this.aHa_Sub3_4479.method3849((byte) 47, 0, Class342.aClass70_4247); - this.aHa_Sub3_4479.method3885(0, true, Class342.aClass70_4247); - aBoolean7399 = false; - } - if (i != 87) aClass32_7415 = null; - if (aBoolean7406) { - OpenGL.glBindProgramARB(34336, 0); - OpenGL.glDisable(34820); - OpenGL.glDisable(34336); - aBoolean7406 = false; - } - } - - final void method3526(int i, int i_1_, int i_2_) { - if (i != 10756) method3527(113, null, 113); - anInt7402++; - } - - final void method3527(int i, Interface18 interface18, int i_3_) { - if (interface18 != null) { - if (aBoolean7399) { - this.aHa_Sub3_4479.method3849((byte) 47, 0, Class342.aClass70_4247); - this.aHa_Sub3_4479.method3885(0, true, Class342.aClass70_4247); - aBoolean7399 = false; - } - this.aHa_Sub3_4479.method3850((byte) -122, interface18); - this.aHa_Sub3_4479.method3923(true, i); - } else if (!aBoolean7399) { - this.aHa_Sub3_4479.method3850((byte) 99, (this.aHa_Sub3_4479.anInterface18_8147)); - this.aHa_Sub3_4479.method3923(true, 1); - this.aHa_Sub3_4479.method3849((byte) 47, 0, Class318_Sub1_Sub2.aClass70_8737); - this.aHa_Sub3_4479.method3885(0, true, Class318_Sub1_Sub2.aClass70_8737); - aBoolean7399 = true; - } - if (i_3_ != -16776) method3525(16, true); - anInt7409++; - } - - final void method3522(int i) { - if (i != -16252) aBoolean7411 = true; - if (aBoolean7406) { - int i_4_ = this.aHa_Sub3_4479.XA(); - int i_5_ = this.aHa_Sub3_4479.i(); - float f = (float) i_4_ - 0.125F * (float) (-i_5_ + i_4_); - float f_6_ = -(0.25F * (float) (-i_5_ + i_4_)) + (float) i_4_; - OpenGL.glProgramLocalParameter4fARB(34336, 0, f_6_, f, 1.0F / (float) this.aHa_Sub3_4479.method3833((byte) -58), (float) this.aHa_Sub3_4479.method3826((byte) -70) / 255.0F); - this.aHa_Sub3_4479.method3897(1, -4382); - this.aHa_Sub3_4479.method3894(-28186, this.aHa_Sub3_4479.method3863(-104)); - this.aHa_Sub3_4479.method3897(0, -4382); - } - anInt7412++; - } - - static final void method3555(Class45 class45, int i, boolean bool, long l, int i_7_, int i_8_, int i_9_) { - try { - anInt7410++; - Class299_Sub1_Sub1.method2260(i_9_, i_8_, l, 0, bool, class45, (byte) 126, i_7_); - int i_10_ = -35 / ((-41 - i) / 38); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("or.Q(" + (class45 != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + l + ',' + i_7_ + ',' + i_8_ + ',' + i_9_ + ')')); - } - } - - static final void method3556(boolean bool) { - anInt7405++; - if (bool == false) { - synchronized (Class79.aClient1367) { - if (Class34.aFrame476 == null) { - Container container; - if (Class52.aFrame4904 != null) container = Class52.aFrame4904; - else if (Class93.anApplet1530 == null) container = Class348_Sub40_Sub9.anApplet_Sub1_9169; - else container = Class93.anApplet1530; - Class272.anInt3473 = container.getSize().width; - Class348_Sub22.anInt6857 = container.getSize().height; - if (Class52.aFrame4904 == container) { - Insets insets = Class52.aFrame4904.getInsets(); - Class272.anInt3473 -= insets.left - -insets.right; - Class348_Sub22.anInt6857 -= insets.bottom + insets.top; - } - if (Class348_Sub42_Sub12.method3229(-86) == 1) { - Class321.anInt4017 = Class92.anInt1524; - Class335.anInt4167 = 0; - Class348_Sub48.anInt7129 = (Class272.anInt3473 - Class92.anInt1524) / 2; - Class348_Sub42_Sub8_Sub2.anInt10432 = ha_Sub2.anInt7666; - } else Class286_Sub5.method2158((byte) 56); - if (Class55_Sub1.aClass364_5271 != Class8.aClass364_165) { - if (Class321.anInt4017 < 1024 && Class348_Sub42_Sub8_Sub2.anInt10432 < 768) { - /* empty */ - } - } - Class305.aCanvas3869.setSize(Class321.anInt4017, (Class348_Sub42_Sub8_Sub2.anInt10432)); - if (Class348_Sub8.aHa6654 != null) { - if (Class59_Sub1.aBoolean5300) s.method3980(120, Class305.aCanvas3869); - else Class348_Sub8.aHa6654.method3669(Class305.aCanvas3869, Class321.anInt4017, Class348_Sub42_Sub8_Sub2.anInt10432); - } - if (Class52.aFrame4904 == container) { - Insets insets = Class52.aFrame4904.getInsets(); - Class305.aCanvas3869.setLocation(insets.left - -Class348_Sub48.anInt7129, Class335.anInt4167 + insets.top); - } else Class305.aCanvas3869.setLocation((Class348_Sub48.anInt7129), Class335.anInt4167); - if (r.anInt9721 != -1) Class239.method1713(true, 520); - Class140.method1170((byte) -78); - } else { - /* empty */ - } - } - } - } - - Class367_Sub11(Class377 class377, Class45 class45) { - super(class377); - try { - if (class45 != null && class377.aBoolean9923) { - aClass193_7395 = za_Sub2.method3442(34336, class45.method391("gl", "uw_ground_unlit", -29832), class377, 4); - aClass193_7392 = za_Sub2.method3442(34336, class45.method391("gl", "uw_ground_lit", -29832), class377, 4); - aClass193_7404 = za_Sub2.method3442(34336, class45.method391("gl", "uw_model_unlit", -29832), class377, 4); - aClass193_7407 = za_Sub2.method3442(34336, class45.method391("gl", "uw_model_lit", -29832), class377, 4); - if (aClass193_7395 != null & aClass193_7392 != null & aClass193_7404 != null & aClass193_7407 != null) { - anInterface18_Impl3_7390 = this.aHa_Sub3_4479.method3839(1, 2, -15137, false, (new int[]{0, -1})); - anInterface18_Impl3_7390.method66(false, false, 25688); - aBoolean7391 = true; - } else aBoolean7391 = false; - } else aBoolean7391 = false; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("or.(" + (class377 != null ? "{...}" : "null") + ',' + (class45 != null ? "{...}" : "null") + ')')); - } - } - - public static void method3557(boolean bool) { - anIntArray7397 = null; - aClass32_7415 = null; - if (bool == true) { - aClass114_7398 = null; - aByteArray7394 = null; - } - } - - final void method3525(int i, boolean bool) { - anInt7400++; - aBoolean7411 = bool; - this.aHa_Sub3_4479.method3897(1, i ^ ~0x2a45); - this.aHa_Sub3_4479.method3850((byte) -32, anInterface18_Impl3_7390); - this.aHa_Sub3_4479.method3874((Class328_Sub3.aClass229_6519), 109, Class248.aClass229_3196); - this.aHa_Sub3_4479.method3849((byte) 47, 0, Class348_Sub40_Sub39.aClass70_9485); - if (i == 15192) { - this.aHa_Sub3_4479.method3924(true, false, 2, Class342.aClass70_4247, false); - this.aHa_Sub3_4479.method3885(0, true, Class318_Sub1_Sub2.aClass70_8737); - this.aHa_Sub3_4479.method3897(0, i + -19574); - method3528(75); - } - } - - final void method3521(boolean bool, byte i) { - anInt7393++; - if (i != -103) aClass193_7392 = null; - } -} diff --git a/client/src/Class367_Sub2.java b/client/src/Class367_Sub2.java deleted file mode 100644 index 6c39ec6a5..000000000 --- a/client/src/Class367_Sub2.java +++ /dev/null @@ -1,145 +0,0 @@ -/* Class367_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -final class Class367_Sub2 extends Class367 { - static int anInt7286; - static int anInt7287; - static int anInt7288; - static int anInt7289; - static short[][][] aShortArrayArrayArray7290; - static int anInt7291; - static int anInt7292; - private final Class193 aClass193_7293; - private final Class269 aClass269_7294; - static int anInt7295; - private Class377 aClass377_7296; - static int anInt7297 = 0; - - static final void method3536(int i, int i_0_, int i_1_, int i_2_, Class318_Sub1_Sub2 class318_sub1_sub2) { - Class357 class357 = Class348_Sub46.method3321(i, i_0_, i_1_); - if (class357 != null) { - class318_sub1_sub2.x = (i_0_ << Class362.anInt4459) + Class348_Sub23_Sub2.anInt9037; - class318_sub1_sub2.anInt6382 = i_2_; - class318_sub1_sub2.y = (i_1_ << Class362.anInt4459) + Class348_Sub23_Sub2.anInt9037; - class357.aClass318_Sub1_Sub2_4408 = class318_sub1_sub2; - int i_3_ = aa_Sub1.aSArray5191 == Class332.aSArray4142 ? 1 : 0; - if (class318_sub1_sub2.method2376(-52)) { - if (class318_sub1_sub2.method2377((byte) 122)) { - class318_sub1_sub2.aClass318_Sub1_6379 = Class250.aClass318_Sub1Array3226[i_3_]; - Class250.aClass318_Sub1Array3226[i_3_] = class318_sub1_sub2; - } else { - class318_sub1_sub2.aClass318_Sub1_6379 = Class348.aClass318_Sub1Array4293[i_3_]; - Class348.aClass318_Sub1Array4293[i_3_] = class318_sub1_sub2; - Class348_Sub16_Sub2.aBoolean8870 = true; - } - } else { - class318_sub1_sub2.aClass318_Sub1_6379 = Class115.aClass318_Sub1Array1754[i_3_]; - Class115.aClass318_Sub1Array1754[i_3_] = class318_sub1_sub2; - } - } - } - - final void method3527(int i, Interface18 interface18, int i_4_) { - anInt7288++; - if (i_4_ != -16776) aClass377_7296 = null; - } - - final void method3525(int i, boolean bool) { - if (i == 15192) { - anInt7287++; - OpenGL.glBindProgramARB(34336, aClass193_7293.anInt2584); - OpenGL.glEnable(34336); - this.aHa_Sub3_4479.method3849((byte) 47, 0, Class318_Sub1_Sub2.aClass70_8737); - } - } - - Class367_Sub2(Class377 class377, Class45 class45, Class269 class269) { - super(class377); - try { - aClass377_7296 = class377; - aClass269_7294 = class269; - if (class45 == null || !aClass269_7294.method2039(100) || !aClass377_7296.aBoolean9923) aClass193_7293 = null; - else aClass193_7293 = za_Sub2.method3442(34336, class45.method391("gl", "transparent_water", -29832), aClass377_7296, 4); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ov.(" + (class377 != null ? "{...}" : "null") + ',' + (class45 != null ? "{...}" : "null") + ',' + (class269 != null ? "{...}" : "null") + ')')); - } - } - - final void method3521(boolean bool, byte i) { - if (i != -103) aShortArrayArrayArray7290 = null; - this.aHa_Sub3_4479.method3874((Class348_Sub23_Sub2.aClass229_9011), 106, (Class328_Sub3.aClass229_6519)); - anInt7292++; - } - - final void method3520(byte i) { - anInt7295++; - if (i == 87) { - this.aHa_Sub3_4479.method3849((byte) 47, 0, Class342.aClass70_4247); - OpenGL.glBindProgramARB(34336, 0); - OpenGL.glDisable(34820); - OpenGL.glDisable(34336); - } - } - - public static void method3537(int i) { - aShortArrayArrayArray7290 = null; - if (i != 34336) anInt7297 = 99; - } - - final void method3526(int i, int i_5_, int i_6_) { - anInt7286++; - if (i == 10756) { - if (aClass269_7294.aBoolean3458) { - float f = (float) ((this.aHa_Sub3_4479.anInt8146) % 4000) / 4000.0F; - this.aHa_Sub3_4479.method3850((byte) 79, aClass269_7294.anInterface18_Impl1_3452); - OpenGL.glProgramLocalParameter4fARB(34336, 0, f, 0.0F, 0.0F, 1.0F); - } else { - int i_7_ = (16 * (this.aHa_Sub3_4479.anInt8146 % 4000) / 4000); - this.aHa_Sub3_4479.method3850((byte) -118, (aClass269_7294.anInterface18_Impl3Array3459[i_7_])); - OpenGL.glProgramLocalParameter4fARB(34336, 0, 0.0F, 0.0F, 0.0F, 1.0F); - } - } - } - - final boolean method3530(int i) { - anInt7289++; - if (i >= -57) return true; - return aClass193_7293 != null; - } - - static final void method3538(boolean bool, String string) { - anInt7291++; - if (string != null) { - if (string.startsWith("*")) string = string.substring(1); - String string_8_ = Class285_Sub1.method2127(2, string); - if (string_8_ != null) { - if (bool != true) method3536(9, 65, -72, 107, null); - for (int i = 0; (Class348_Sub42_Sub12.anInt9604 > i); i++) { - String string_9_ = Class51.aStringArray932[i]; - if (string_9_.startsWith("*")) string_9_ = string_9_.substring(1); - string_9_ = Class285_Sub1.method2127(2, string_9_); - if (string_9_ != null && string_9_.equals(string_8_)) { - Class348_Sub42_Sub12.anInt9604--; - for (int i_10_ = i; Class348_Sub42_Sub12.anInt9604 > i_10_; i_10_++) { - Class51.aStringArray932[i_10_] = Class51.aStringArray932[i_10_ + 1]; - Class122.aStringArray1808[i_10_] = Class122.aStringArray1808[1 + i_10_]; - Class348_Sub40_Sub21.aStringArray9275[i_10_] = (Class348_Sub40_Sub21.aStringArray9275[1 + i_10_]); - aa_Sub2.aStringArray5197[i_10_] = aa_Sub2.aStringArray5197[1 + i_10_]; - Class367_Sub3.aBooleanArray7304[i_10_] = Class367_Sub3.aBooleanArray7304[i_10_ - -1]; - } - Class285_Sub1.anInt8493++; - Class126.anInt4985 = Class311.anInt3918; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(ha.aClass351_4571, (Class348_Sub23_Sub2.aClass77_9029), -123); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, Class239_Sub6.method1745(string, -65)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); - Class348_Sub42_Sub14.method3243(118, class348_sub47); - break; - } - } - } - } - } -} diff --git a/client/src/Class367_Sub3.java b/client/src/Class367_Sub3.java deleted file mode 100644 index 800c3ec8b..000000000 --- a/client/src/Class367_Sub3.java +++ /dev/null @@ -1,70 +0,0 @@ -/* Class367_Sub3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class367_Sub3 extends Class367 { - static int anInt7298; - static int[] anIntArray7299; - static int anInt7300; - static Class114 aClass114_7301 = new Class114(21, -1); - static int anInt7302; - static int anInt7303; - static boolean[] aBooleanArray7304 = new boolean[100]; - static int anInt7305; - static int anInt7306; - static int anInt7307; - - final void method3525(int i, boolean bool) { - this.aHa_Sub3_4479.method3943(true, i + -47145); - anInt7306++; - if (i != 15192) method3540(26, 92, -76, -90, 76, -7, -18, -119, 33, false); - } - - public static void method3539(byte i) { - int i_0_ = 74 % ((72 - i) / 37); - aBooleanArray7304 = null; - aClass114_7301 = null; - anIntArray7299 = null; - } - - final void method3527(int i, Interface18 interface18, int i_1_) { - if (i_1_ != -16776) aClass114_7301 = null; - this.aHa_Sub3_4479.method3850((byte) -105, interface18); - anInt7300++; - this.aHa_Sub3_4479.method3923(true, i); - } - - final void method3520(byte i) { - anInt7305++; - if (i != 87) method3530(71); - this.aHa_Sub3_4479.method3943(false, i + -32040); - } - - final void method3521(boolean bool, byte i) { - anInt7303++; - if (i != -103) method3527(-78, null, -100); - } - - Class367_Sub3(ha_Sub3 var_ha_Sub3) { - super(var_ha_Sub3); - } - - final boolean method3530(int i) { - if (i >= -57) return true; - anInt7307++; - return true; - } - - static final void method3540(int i, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_, boolean bool) { - if (i_6_ >= Class369.anInt4960 && Class113.anInt1745 >= i_6_ && Class369.anInt4960 <= i_5_ && Class113.anInt1745 >= i_5_ && i_7_ >= Class369.anInt4960 && i_7_ <= Class113.anInt1745 && Class369.anInt4960 <= i_9_ && Class113.anInt1745 >= i_9_ && i >= Class132.anInt1910 && Class38.anInt513 >= i && i_2_ >= Class132.anInt1910 && Class38.anInt513 >= i_2_ && Class132.anInt1910 <= i_8_ && i_8_ <= Class38.anInt513 && Class132.anInt1910 <= i_4_ && i_4_ <= Class38.anInt513) - Class348_Sub31.method3009(i_2_, i_8_, i_5_, i_9_, i_4_, (byte) -1, i_7_, i, i_3_, i_6_); - else Class316.method2364(i_3_, i_7_, i_6_, i_2_, i_5_, i_8_, i_9_, i, 3, i_4_); - if (bool != true) method3540(37, -122, 69, -89, -8, -19, 89, 112, 12, false); - anInt7302++; - } - - final void method3526(int i, int i_10_, int i_11_) { - if (i != 10756) aClass114_7301 = null; - anInt7298++; - } -} diff --git a/client/src/Class367_Sub4.java b/client/src/Class367_Sub4.java deleted file mode 100644 index d2b7d75bc..000000000 --- a/client/src/Class367_Sub4.java +++ /dev/null @@ -1,333 +0,0 @@ -/* Class367_Sub4 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class367_Sub4 extends Class367 { - static int anInt7308; - static int anInt7309; - static int anInt7310; - private boolean aBoolean7311; - static int anInt7312; - static int anInt7313; - static int anInt7314; - private Interface18_Impl2[] anInterface18_Impl2Array7315; - static int anInt7316; - private boolean aBoolean7317 = false; - static Class351 aClass351_7318 = new Class351(21, 2); - static int anInt7319 = 104; - static boolean aBoolean7320 = false; - static int anInt7321; - static int anInt7322; - static Class114 aClass114_7323 = new Class114(105, -2); - static Class114 aClass114_7324 = new Class114(96, 8); - static Class107 aClass107_7325 = new Class107(); - - Class367_Sub4(ha_Sub3 var_ha_Sub3) { - super(var_ha_Sub3); - if (var_ha_Sub3.aBoolean8101) { - aBoolean7311 = var_ha_Sub3.anInt8090 < 3; - int i = aBoolean7311 ? 48 : 127; - int[][] is = new int[6][4096]; - int[][] is_0_ = new int[6][4096]; - int[][] is_1_ = new int[6][4096]; - int i_2_ = 0; - for (int i_3_ = 0; i_3_ < 64; i_3_++) { - for (int i_4_ = 0; i_4_ < 64; i_4_++) { - float f = -1.0F + (float) i_3_ * 2.0F / 64.0F; - float f_5_ = 2.0F * (float) i_4_ / 64.0F - 1.0F; - float f_6_ = (float) (1.0 / Math.sqrt(f * f + (1.0F + f_5_ * f_5_))); - f *= f_6_; - f_5_ *= f_6_; - for (int i_7_ = 0; i_7_ < 6; i_7_++) { - float f_8_; - if (i_7_ != 0) { - if (i_7_ != 1) { - if (i_7_ == 2) f_8_ = f; - else if (i_7_ == 3) f_8_ = -f; - else if (i_7_ != 4) f_8_ = -f_6_; - else f_8_ = f_6_; - } else f_8_ = f_5_; - } else f_8_ = -f_5_; - int i_9_; - int i_10_; - int i_11_; - if (f_8_ > 0.0F) { - i_9_ = (int) ((double) i * Math.pow(f_8_, 96.0)); - i_10_ = (int) ((double) i * Math.pow(f_8_, 36.0)); - i_11_ = (int) (Math.pow(f_8_, 12.0) * (double) i); - } else i_9_ = i_10_ = i_11_ = 0; - is_0_[i_7_][i_2_] = i_9_ << 24; - is_1_[i_7_][i_2_] = i_10_ << 24; - is[i_7_][i_2_] = i_11_ << 24; - } - i_2_++; - } - } - anInterface18_Impl2Array7315 = new Interface18_Impl2[3]; - anInterface18_Impl2Array7315[0] = this.aHa_Sub3_4479.method3900(is_0_, false, 52, 64); - anInterface18_Impl2Array7315[1] = this.aHa_Sub3_4479.method3900(is_1_, false, 3, 64); - anInterface18_Impl2Array7315[2] = this.aHa_Sub3_4479.method3900(is, false, 17, 64); - } - } - - final boolean method3530(int i) { - anInt7314++; - if (i > -57) method3525(91, false); - return true; - } - - public static void method3541(byte i) { - aClass114_7323 = null; - aClass114_7324 = null; - aClass107_7325 = null; - if (i == 23) aClass351_7318 = null; - } - - final void method3525(int i, boolean bool) { - if (i != 15192) method3527(-85, null, -72); - if (anInterface18_Impl2Array7315 != null && bool) { - this.aHa_Sub3_4479.method3897(1, -4382); - this.aHa_Sub3_4479.method3871(Class31.aClass113_430, 0); - Class101_Sub2 class101_sub2 = this.aHa_Sub3_4479.method3820(false); - class101_sub2.method899(1024); - this.aHa_Sub3_4479.method3853(-32, Class348_Sub40_Sub38.aClass251_9477); - if (aBoolean7311) { - this.aHa_Sub3_4479.method3874((Class328_Sub3.aClass229_6519), 113, (Class348_Sub23_Sub2.aClass229_9011)); - this.aHa_Sub3_4479.method3924(true, false, 0, Class342.aClass70_4247, false); - this.aHa_Sub3_4479.method3885(0, true, Class285_Sub2.aClass70_8503); - } else { - this.aHa_Sub3_4479.method3874((Class167.aClass229_2207), 117, (Class328_Sub3.aClass229_6519)); - this.aHa_Sub3_4479.method3849((byte) 47, 0, (Class318_Sub1_Sub2.aClass70_8737)); - this.aHa_Sub3_4479.method3897(2, -4382); - this.aHa_Sub3_4479.method3874((Class328_Sub3.aClass229_6519), 122, (Class348_Sub23_Sub2.aClass229_9011)); - this.aHa_Sub3_4479.method3849((byte) 47, 0, (Class318_Sub1_Sub2.aClass70_8737)); - this.aHa_Sub3_4479.method3924(true, false, 1, (Class318_Sub1_Sub2.aClass70_8737), false); - this.aHa_Sub3_4479.method3885(0, true, Class285_Sub2.aClass70_8503); - this.aHa_Sub3_4479.method3850((byte) -61, (this.aHa_Sub3_4479.anInterface18_8147)); - } - this.aHa_Sub3_4479.method3897(0, i + -19574); - aBoolean7317 = true; - } else this.aHa_Sub3_4479.method3885(0, true, Class285_Sub2.aClass70_8503); - anInt7313++; - } - - final void method3527(int i, Interface18 interface18, int i_12_) { - anInt7316++; - this.aHa_Sub3_4479.method3850((byte) 91, interface18); - this.aHa_Sub3_4479.method3923(true, i); - if (i_12_ != -16776) method3525(61, true); - } - - final void method3520(byte i) { - if (aBoolean7317) { - this.aHa_Sub3_4479.method3897(1, i ^ ~0x114a); - this.aHa_Sub3_4479.method3850((byte) -121, null); - this.aHa_Sub3_4479.method3871(Class150.aClass113_2047, 0); - this.aHa_Sub3_4479.method3879(-8629); - if (aBoolean7311) { - this.aHa_Sub3_4479.method3874(Class167.aClass229_2207, 120, Class167.aClass229_2207); - this.aHa_Sub3_4479.method3849((byte) 47, 0, Class342.aClass70_4247); - this.aHa_Sub3_4479.method3885(0, true, Class342.aClass70_4247); - } else { - this.aHa_Sub3_4479.method3874(Class167.aClass229_2207, 115, Class167.aClass229_2207); - this.aHa_Sub3_4479.method3849((byte) 47, 0, Class342.aClass70_4247); - this.aHa_Sub3_4479.method3897(2, i + -4469); - this.aHa_Sub3_4479.method3874((Class167.aClass229_2207), i ^ 0x21, (Class167.aClass229_2207)); - this.aHa_Sub3_4479.method3849((byte) 47, 0, Class342.aClass70_4247); - this.aHa_Sub3_4479.method3849((byte) 47, 1, (Class318_Sub1_Sub2.aClass70_8737)); - this.aHa_Sub3_4479.method3885(0, true, Class342.aClass70_4247); - this.aHa_Sub3_4479.method3850((byte) 64, null); - } - this.aHa_Sub3_4479.method3897(0, i ^ ~0x114a); - aBoolean7317 = false; - } else this.aHa_Sub3_4479.method3885(0, true, Class342.aClass70_4247); - anInt7312++; - if (i != 87) aBoolean7311 = true; - this.aHa_Sub3_4479.method3874(Class167.aClass229_2207, i + 13, Class167.aClass229_2207); - } - - static final boolean method3542(int i, Class357[][][] class357s, int i_13_, int i_14_, int i_15_, boolean bool) { - anInt7310++; - byte i_16_ = bool ? (byte) 1 : (byte) (Class239_Sub15.anInt6006 & 0xff); - if (i_16_ == Class289.aByteArrayArrayArray3700[Class355.anInt4372][i_13_][i]) return false; - if (((Class348_Sub33.aByteArrayArrayArray6962[Class355.anInt4372][i_13_][i]) & 0x4) == 0) return false; - int i_17_ = i_14_; - int i_18_ = 0; - Class348_Sub16_Sub2.anIntArray8862[i_17_] = i_13_; - Exception_Sub1.anIntArray110[i_17_++] = i; - Class289.aByteArrayArrayArray3700[Class355.anInt4372][i_13_][i] = i_16_; - while (i_17_ != i_18_) { - int i_19_ = 0xffff & Class348_Sub16_Sub2.anIntArray8862[i_18_]; - int i_20_ = ((Class348_Sub16_Sub2.anIntArray8862[i_18_] & 0xff3677) >> 16); - int i_21_ = (0xff & Class348_Sub16_Sub2.anIntArray8862[i_18_] >> 24); - int i_22_ = 0xffff & Exception_Sub1.anIntArray110[i_18_]; - int i_23_ = ((0xff5347 & Exception_Sub1.anIntArray110[i_18_]) >> 16); - i_18_ = i_18_ + 1 & 0xfff; - boolean bool_24_ = false; - if ((0x4 & (Class348_Sub33.aByteArrayArrayArray6962[Class355.anInt4372][i_19_][i_22_])) == 0) bool_24_ = true; - boolean bool_25_ = false; - if (class357s != null) { - int i_26_ = Class355.anInt4372 + 1; - while_223_: - for (/**/; i_26_ <= 3; i_26_++) { - if (class357s[i_26_] != null && (0x8 & (Class348_Sub33.aByteArrayArrayArray6962[i_26_][i_19_][i_22_])) == 0) { - if (bool_24_ && class357s[i_26_][i_19_][i_22_] != null) { - if ((class357s[i_26_][i_19_][i_22_].aClass318_Sub1_Sub4_4406) != null) { - int i_27_ = Class359.method3492(i_20_, 226); - if (((class357s[i_26_][i_19_][i_22_].aClass318_Sub1_Sub4_4406.aShort8759) == i_27_) || ((class357s[i_26_][i_19_][i_22_].aClass318_Sub1_Sub4_4403) != null && (i_27_ == (class357s[i_26_][i_19_][i_22_].aClass318_Sub1_Sub4_4403.aShort8759)))) continue; - if (i_21_ != 0) { - int i_28_ = Class359.method3492(i_21_, 226); - if (((class357s[i_26_][i_19_][i_22_].aClass318_Sub1_Sub4_4406.aShort8759) == i_28_) || ((class357s[i_26_][i_19_][i_22_].aClass318_Sub1_Sub4_4403) != null && ((class357s[i_26_][i_19_][i_22_].aClass318_Sub1_Sub4_4403.aShort8759) == i_28_))) continue; - } - if (i_23_ != 0) { - int i_29_ = Class359.method3492(i_23_, 226); - if ((class357s[i_26_][i_19_][i_22_].aClass318_Sub1_Sub4_4406.aShort8759) == i_29_ || ((class357s[i_26_][i_19_][i_22_].aClass318_Sub1_Sub4_4403) != null && (i_29_ == (class357s[i_26_][i_19_][i_22_].aClass318_Sub1_Sub4_4403.aShort8759)))) continue; - } - } - Class357 class357 = class357s[i_26_][i_19_][i_22_]; - if (class357.aClass148_4396 != null) { - for (Class148 class148 = (class357.aClass148_4396); class148 != null; class148 = (class148.aClass148_2038)) { - Class318_Sub1_Sub3 class318_sub1_sub3 = (class148.aClass318_Sub1_Sub3_2040); - if (class318_sub1_sub3 instanceof Interface10) { - Interface10 interface10 = (Interface10) class318_sub1_sub3; - int i_30_ = interface10.method39(59); - int i_31_ = interface10.method41(-32228); - if (i_30_ == 21) i_30_ = 19; - int i_32_ = i_31_ << 6 | i_30_; - if (i_32_ == i_20_ || i_21_ != 0 && i_21_ == i_32_ || i_23_ != 0 && i_23_ == i_32_) continue while_223_; - } - } - } - } - Class357 class357 = class357s[i_26_][i_19_][i_22_]; - if (class357 != null && class357.aClass148_4396 != null) { - for (Class148 class148 = class357.aClass148_4396; class148 != null; class148 = class148.aClass148_2038) { - Class318_Sub1_Sub3 class318_sub1_sub3 = (class148.aClass318_Sub1_Sub3_2040); - if (((class318_sub1_sub3.aShort8743) != class318_sub1_sub3.aShort8751) || (class318_sub1_sub3.aShort8750 != class318_sub1_sub3.aShort8747)) { - for (int i_33_ = (class318_sub1_sub3.aShort8743); (i_33_ <= class318_sub1_sub3.aShort8751); i_33_++) { - for (int i_34_ = (class318_sub1_sub3.aShort8750); (i_34_ <= class318_sub1_sub3.aShort8747); i_34_++) - Class289.aByteArrayArrayArray3700[i_26_][i_33_][i_34_] = i_16_; - } - } - } - } - Class289.aByteArrayArrayArray3700[i_26_][i_19_][i_22_] = i_16_; - bool_25_ = true; - } - } - } - if (bool_25_) { - int i_35_ = aa_Sub1.aSArray5191[1 + Class355.anInt4372].method3982((byte) -86, i_22_, i_19_); - if (i_35_ > Class327.anIntArray4097[i_15_]) Class327.anIntArray4097[i_15_] = i_35_; - int i_36_ = i_19_ << 9; - if (i_36_ < Class156.anIntArray2117[i_15_]) Class156.anIntArray2117[i_15_] = i_36_; - else if (i_36_ > Class348_Sub40_Sub19.anIntArray9259[i_15_]) Class348_Sub40_Sub19.anIntArray9259[i_15_] = i_36_; - int i_37_ = i_22_ << 9; - if (i_37_ >= Class64.anIntArray1127[i_15_]) { - if (Class56.anIntArray1045[i_15_] < i_37_) Class56.anIntArray1045[i_15_] = i_37_; - } else Class64.anIntArray1127[i_15_] = i_37_; - } - if (!bool_24_) { - if (i_19_ >= 1 && (Class289.aByteArrayArrayArray3700[Class355.anInt4372][i_19_ - 1][i_22_]) != i_16_) { - Class348_Sub16_Sub2.anIntArray8862[i_17_] = Class273.method2057(Class273.method2057(1179648, i_19_ + -1), -754974720); - Exception_Sub1.anIntArray110[i_17_] = Class273.method2057(i_22_, 1245184); - i_17_ = 0xfff & 1 + i_17_; - Class289.aByteArrayArrayArray3700[Class355.anInt4372][i_19_ - 1][i_22_] = i_16_; - } - if (++i_22_ < Class348_Sub40_Sub3.anInt9109) { - if (i_19_ - 1 >= 0 && i_16_ != (Class289.aByteArrayArrayArray3700[Class355.anInt4372][-1 + i_19_][i_22_]) && ((Class348_Sub33.aByteArrayArrayArray6962[Class355.anInt4372][i_19_][i_22_]) & 0x4) == 0 && (0x4 & (Class348_Sub33.aByteArrayArrayArray6962[Class355.anInt4372][-1 + i_19_][-1 + i_22_])) == 0) { - Class348_Sub16_Sub2.anIntArray8862[i_17_] = (Class273.method2057(1375731712, Class273.method2057(i_19_ + -1, 1179648))); - Exception_Sub1.anIntArray110[i_17_] = Class273.method2057(i_22_, 1245184); - Class289.aByteArrayArrayArray3700[Class355.anInt4372][-1 + i_19_][i_22_] = i_16_; - i_17_ = 0xfff & 1 + i_17_; - } - if ((Class289.aByteArrayArrayArray3700[Class355.anInt4372][i_19_][i_22_]) != i_16_) { - Class348_Sub16_Sub2.anIntArray8862[i_17_] = (Class273.method2057(318767104, Class273.method2057(i_19_, 5373952))); - Exception_Sub1.anIntArray110[i_17_] = Class273.method2057(i_22_, 5439488); - Class289.aByteArrayArrayArray3700[Class355.anInt4372][i_19_][i_22_] = i_16_; - i_17_ = i_17_ + 1 & 0xfff; - } - if (1 + i_19_ < anInt7319 && ((Class289.aByteArrayArrayArray3700[Class355.anInt4372][i_19_ + 1][i_22_]) != i_16_) && (0x4 & (Class348_Sub33.aByteArrayArrayArray6962[Class355.anInt4372][i_19_][i_22_])) == 0 && (0x4 & (Class348_Sub33.aByteArrayArrayArray6962[Class355.anInt4372][1 + i_19_][i_22_ + -1])) == 0) { - Class348_Sub16_Sub2.anIntArray8862[i_17_] = (Class273.method2057(-1845493760, Class273.method2057(1 + i_19_, 5373952))); - Exception_Sub1.anIntArray110[i_17_] = Class273.method2057(5439488, i_22_); - i_17_ = 1 + i_17_ & 0xfff; - Class289.aByteArrayArrayArray3700[Class355.anInt4372][i_19_ - -1][i_22_] = i_16_; - } - } - i_22_--; - if (i_19_ - -1 < anInt7319 && (Class289.aByteArrayArrayArray3700[Class355.anInt4372][i_19_ - -1][i_22_]) != i_16_) { - Class348_Sub16_Sub2.anIntArray8862[i_17_] = Class273.method2057(1392508928, Class273.method2057(9568256, 1 + i_19_)); - Exception_Sub1.anIntArray110[i_17_] = Class273.method2057(i_22_, 9633792); - i_17_ = 1 + i_17_ & 0xfff; - Class289.aByteArrayArrayArray3700[Class355.anInt4372][i_19_ - -1][i_22_] = i_16_; - } - if (--i_22_ >= 0) { - if (i_19_ + -1 >= 0 && i_16_ != (Class289.aByteArrayArrayArray3700[Class355.anInt4372][i_19_ - 1][i_22_]) && (0x4 & (Class348_Sub33.aByteArrayArrayArray6962[Class355.anInt4372][i_19_][i_22_])) == 0 && (0x4 & (Class348_Sub33.aByteArrayArrayArray6962[Class355.anInt4372][-1 + i_19_][1 + i_22_])) == 0) { - Class348_Sub16_Sub2.anIntArray8862[i_17_] = (Class273.method2057(301989888, Class273.method2057(13762560, -1 + i_19_))); - Exception_Sub1.anIntArray110[i_17_] = Class273.method2057(i_22_, 13828096); - Class289.aByteArrayArrayArray3700[Class355.anInt4372][i_19_ - 1][i_22_] = i_16_; - i_17_ = i_17_ - -1 & 0xfff; - } - if ((Class289.aByteArrayArrayArray3700[Class355.anInt4372][i_19_][i_22_]) != i_16_) { - Class348_Sub16_Sub2.anIntArray8862[i_17_] = Class273.method2057(Class273.method2057(13762560, i_19_), -1828716544); - Exception_Sub1.anIntArray110[i_17_] = Class273.method2057(13828096, i_22_); - Class289.aByteArrayArrayArray3700[Class355.anInt4372][i_19_][i_22_] = i_16_; - i_17_ = 0xfff & i_17_ - -1; - } - if (anInt7319 > 1 + i_19_ && (Class289.aByteArrayArrayArray3700[Class355.anInt4372][1 + i_19_][i_22_]) != i_16_ && ((Class348_Sub33.aByteArrayArrayArray6962[Class355.anInt4372][i_19_][i_22_]) & 0x4) == 0 && ((Class348_Sub33.aByteArrayArrayArray6962[Class355.anInt4372][i_19_ + 1][i_22_ + 1]) & 0x4) == 0) { - Class348_Sub16_Sub2.anIntArray8862[i_17_] = (Class273.method2057(-771751936, Class273.method2057(i_19_ - -1, 9568256))); - Exception_Sub1.anIntArray110[i_17_] = Class273.method2057(i_22_, 9633792); - Class289.aByteArrayArrayArray3700[Class355.anInt4372][i_19_ - -1][i_22_] = i_16_; - i_17_ = 0xfff & i_17_ - -1; - } - } - } - } - if (Class327.anIntArray4097[i_15_] != -1000000) { - Class327.anIntArray4097[i_15_] += 40; - Class156.anIntArray2117[i_15_] -= 512; - Class348_Sub40_Sub19.anIntArray9259[i_15_] += 512; - Class56.anIntArray1045[i_15_] += 512; - Class64.anIntArray1127[i_15_] -= 512; - } - return true; - } - - static final void method3543(byte i) { - anInt7309++; - if (i == -89) { - Class351.aBoolean4328 = false; - Class354.method3466(i + 6); - } - } - - static final int method3544(Class348_Sub49 class348_sub49, int i, String string) { - try { - anInt7321++; - int i_38_ = class348_sub49.anInt7197; - byte[] is = Class348_Sub24.method2992(string, (byte) -20); - int i_39_ = 1 % ((-6 - i) / 63); - class348_sub49.method3381(5537, is.length); - class348_sub49.anInt7197 += (Class64.aClass296_1131.method2227(is.length, 0, class348_sub49.anInt7197, is, 103, class348_sub49.aByteArray7154)); - return class348_sub49.anInt7197 + -i_38_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bk.O(" + (class348_sub49 != null ? "{...}" : "null") + ',' + i + ',' + (string != null ? "{...}" : "null") + ')')); - } - } - - final void method3521(boolean bool, byte i) { - this.aHa_Sub3_4479.method3874((Class328_Sub3.aClass229_6519), 126, Class167.aClass229_2207); - if (i != -103) method3542(74, null, 65, 65, -77, true); - anInt7308++; - } - - final void method3526(int i, int i_40_, int i_41_) { - if (i != 10756) method3520((byte) -127); - if (aBoolean7317) { - this.aHa_Sub3_4479.method3897(1, i + -15138); - this.aHa_Sub3_4479.method3850((byte) -67, anInterface18_Impl2Array7315[-1 + i_40_]); - this.aHa_Sub3_4479.method3897(0, i ^ ~0x3b19); - } - anInt7322++; - } -} diff --git a/client/src/Class367_Sub5.java b/client/src/Class367_Sub5.java deleted file mode 100644 index d9f930dfb..000000000 --- a/client/src/Class367_Sub5.java +++ /dev/null @@ -1,193 +0,0 @@ -/* Class367_Sub5 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jagdx.IDirect3DDevice; -import jagdx.IDirect3DVertexShader; - -final class Class367_Sub5 extends Class367 { - private boolean aBoolean7326 = false; - private static float[] aFloatArray7327 = new float[4]; - private Class378 aClass378_7328; - private final boolean aBoolean7329; - private IDirect3DVertexShader anIDirect3DVertexShader7330; - private Interface18_Impl3 anInterface18_Impl3_7331; - private IDirect3DVertexShader anIDirect3DVertexShader7332; - private IDirect3DVertexShader anIDirect3DVertexShader7333; - private IDirect3DVertexShader anIDirect3DVertexShader7334; - private IDirect3DVertexShader anIDirect3DVertexShader7335; - private boolean aBoolean7336; - private static final float[] aFloatArray7337 = new float[16]; - - Class367_Sub5(Class378 class378, Class45 class45) { - super(class378); - aClass378_7328 = class378; - if (null == class45 || ((aClass378_7328.aD3DCAPS9791.VertexShaderVersion) & 0xffff) < 257) aBoolean7329 = false; - else { - anIDirect3DVertexShader7332 = aClass378_7328.anIDirect3DDevice9810.b(class45.method391("dx", "uw_ground_unlit", -29832)); - anIDirect3DVertexShader7330 = aClass378_7328.anIDirect3DDevice9810.b(class45.method391("dx", "uw_ground_lit", -29832)); - anIDirect3DVertexShader7334 = aClass378_7328.anIDirect3DDevice9810.b(class45.method391("dx", "uw_model_unlit", -29832)); - anIDirect3DVertexShader7335 = aClass378_7328.anIDirect3DDevice9810.b(class45.method391("dx", "uw_model_lit", -29832)); - if (null != anIDirect3DVertexShader7332 & anIDirect3DVertexShader7330 != null & anIDirect3DVertexShader7334 != null & null != anIDirect3DVertexShader7335) { - anInterface18_Impl3_7331 = (this.aHa_Sub3_4479.method3839(1, 2, -15137, false, new int[]{0, -1})); - anInterface18_Impl3_7331.method66(false, false, 25688); - aBoolean7329 = true; - } else aBoolean7329 = false; - } - } - - final void method3528(int i) { - if (i < 45) aFloatArray7327 = null; - IDirect3DDevice idirect3ddevice = aClass378_7328.anIDirect3DDevice9810; - int i_0_ = this.aHa_Sub3_4479.method3941(-103); - Class101_Sub2 class101_sub2 = this.aHa_Sub3_4479.method3887((byte) 61); - IDirect3DVertexShader idirect3dvertexshader; - if (aBoolean7336) idirect3dvertexshader = (i_0_ != 2147483647 ? anIDirect3DVertexShader7335 : anIDirect3DVertexShader7330); - else idirect3dvertexshader = (i_0_ == 2147483647 ? anIDirect3DVertexShader7332 : anIDirect3DVertexShader7334); - if (anIDirect3DVertexShader7333 != idirect3dvertexshader) { - anIDirect3DVertexShader7333 = idirect3dvertexshader; - aClass378_7328.method3957(idirect3dvertexshader, (byte) -89); - method3545(121); - method3524(-14775); - method3532(10425); - method3523((byte) 12); - method3531(false); - method3522(-16252); - } - class101_sub2.method919(0.0F, aFloatArray7327, -1.0F, 0.0F, (float) i_0_, (byte) -120); - idirect3ddevice.a(12, aFloatArray7327); - } - - final void method3526(int i, int i_1_, int i_2_) { - if (i != 10756) method3531(false); - } - - final void method3520(byte i) { - if (i != 87) method3527(55, null, -69); - this.aHa_Sub3_4479.method3897(1, -4382); - this.aHa_Sub3_4479.method3850((byte) 82, null); - this.aHa_Sub3_4479.method3874(Class167.aClass229_2207, i + 25, Class167.aClass229_2207); - this.aHa_Sub3_4479.method3849((byte) 47, 0, Class342.aClass70_4247); - this.aHa_Sub3_4479.method3849((byte) 47, 2, Class348_Sub40_Sub39.aClass70_9485); - this.aHa_Sub3_4479.method3885(0, true, Class342.aClass70_4247); - this.aHa_Sub3_4479.method3897(0, i ^ ~0x114a); - if (aBoolean7326) { - this.aHa_Sub3_4479.method3849((byte) 47, 0, Class342.aClass70_4247); - this.aHa_Sub3_4479.method3885(0, true, Class342.aClass70_4247); - aBoolean7326 = false; - } - if (null != anIDirect3DVertexShader7333) { - aClass378_7328.method3957(null, (byte) -89); - anIDirect3DVertexShader7333 = null; - } - } - - final boolean method3530(int i) { - if (i > -57) aClass378_7328 = null; - return aBoolean7329; - } - - final void method3523(byte i) { - if (i != 12) method3521(false, (byte) -54); - if (null != anIDirect3DVertexShader7333) { - IDirect3DDevice idirect3ddevice = aClass378_7328.anIDirect3DDevice9810; - Class101_Sub2 class101_sub2 = aClass378_7328.method3948(i + -22048); - idirect3ddevice.a(0, class101_sub2.method924(11, aFloatArray7337)); - } - } - - final void method3524(int i) { - if (i == -14775) { - if (null != anIDirect3DVertexShader7333) { - IDirect3DDevice idirect3ddevice = aClass378_7328.anIDirect3DDevice9810; - idirect3ddevice.a(4, this.aHa_Sub3_4479.method3835(aFloatArray7337, -101)); - } - } - } - - final void method3527(int i, Interface18 interface18, int i_3_) { - if (interface18 == null) { - if (!aBoolean7326) { - this.aHa_Sub3_4479.method3850((byte) -43, (this.aHa_Sub3_4479.anInterface18_8147)); - this.aHa_Sub3_4479.method3923(true, 1); - this.aHa_Sub3_4479.method3849((byte) 47, 0, Class318_Sub1_Sub2.aClass70_8737); - this.aHa_Sub3_4479.method3885(0, true, Class318_Sub1_Sub2.aClass70_8737); - aBoolean7326 = true; - } - } else { - if (aBoolean7326) { - this.aHa_Sub3_4479.method3849((byte) 47, 0, Class342.aClass70_4247); - this.aHa_Sub3_4479.method3885(0, true, Class342.aClass70_4247); - aBoolean7326 = false; - } - this.aHa_Sub3_4479.method3850((byte) -103, interface18); - this.aHa_Sub3_4479.method3923(true, i); - } - if (i_3_ != -16776) anIDirect3DVertexShader7332 = null; - } - - final void method3522(int i) { - if (i != -16252) method3521(true, (byte) -11); - if (null != anIDirect3DVertexShader7333) { - IDirect3DDevice idirect3ddevice = aClass378_7328.anIDirect3DDevice9810; - int i_4_ = this.aHa_Sub3_4479.XA(); - int i_5_ = this.aHa_Sub3_4479.i(); - float f = -(0.125F * (float) (i_4_ + -i_5_)) + (float) i_4_; - float f_6_ = (float) i_4_ - (float) (-i_5_ + i_4_) * 0.25F; - idirect3ddevice.a(10, f_6_, 1.0F / (-f_6_ + f), f, 1.0F / (-f + (float) i_4_)); - idirect3ddevice.a(11, 1.0F / (float) this.aHa_Sub3_4479.method3833((byte) -58), (float) this.aHa_Sub3_4479.method3826((byte) -70) / 255.0F, this.aHa_Sub3_4479.aFloat8115, 1.0F / (-(this.aHa_Sub3_4479.aFloat8173) + (this.aHa_Sub3_4479.aFloat8115))); - this.aHa_Sub3_4479.method3894(-28186, this.aHa_Sub3_4479.method3863(-103)); - } - } - - final void method3525(int i, boolean bool) { - aBoolean7336 = bool; - this.aHa_Sub3_4479.method3897(1, -4382); - this.aHa_Sub3_4479.method3850((byte) 95, anInterface18_Impl3_7331); - if (i != 15192) method3520((byte) -41); - this.aHa_Sub3_4479.method3874(Class328_Sub3.aClass229_6519, 105, Class248.aClass229_3196); - this.aHa_Sub3_4479.method3849((byte) 47, 0, Class348_Sub40_Sub39.aClass70_9485); - this.aHa_Sub3_4479.method3924(true, false, 2, Class342.aClass70_4247, false); - this.aHa_Sub3_4479.method3885(0, true, Class318_Sub1_Sub2.aClass70_8737); - this.aHa_Sub3_4479.method3897(0, -4382); - method3528(106); - } - - final void method3521(boolean bool, byte i) { - if (i != -103) aBoolean7326 = true; - } - - private final void method3545(int i) { - if (i > 95) { - if (null != anIDirect3DVertexShader7333 && aBoolean7336) { - Class101_Sub2 class101_sub2 = this.aHa_Sub3_4479.method3854((byte) 111); - IDirect3DDevice idirect3ddevice = aClass378_7328.anIDirect3DDevice9810; - idirect3ddevice.a(13, ((this.aHa_Sub3_4479.aFloat8093) * (this.aHa_Sub3_4479.aFloat8180)), ((this.aHa_Sub3_4479.aFloat8087) * (this.aHa_Sub3_4479.aFloat8093)), ((this.aHa_Sub3_4479.aFloat8168) * (this.aHa_Sub3_4479.aFloat8093)), 1.0F); - idirect3ddevice.a(14, ((this.aHa_Sub3_4479.aFloat8174) * (this.aHa_Sub3_4479.aFloat8180)), ((this.aHa_Sub3_4479.aFloat8087) * (this.aHa_Sub3_4479.aFloat8174)), ((this.aHa_Sub3_4479.aFloat8174) * (this.aHa_Sub3_4479.aFloat8168)), 1.0F); - idirect3ddevice.a(16, ((this.aHa_Sub3_4479.aFloat8180) * (this.aHa_Sub3_4479.aFloat8186)), ((this.aHa_Sub3_4479.aFloat8087) * (this.aHa_Sub3_4479.aFloat8186)), ((this.aHa_Sub3_4479.aFloat8168) * (this.aHa_Sub3_4479.aFloat8186)), 1.0F); - class101_sub2.method923((this.aHa_Sub3_4479.aFloatArray8170[0]), (this.aHa_Sub3_4479.aFloatArray8170[1]), (byte) -97, (this.aHa_Sub3_4479.aFloatArray8170[2]), aFloatArray7327); - idirect3ddevice.SetVertexShaderConstantF(15, aFloatArray7327, 1); - class101_sub2.method923((this.aHa_Sub3_4479.aFloatArray8102[0]), (this.aHa_Sub3_4479.aFloatArray8102[1]), (byte) -99, (this.aHa_Sub3_4479.aFloatArray8102[2]), aFloatArray7327); - idirect3ddevice.SetVertexShaderConstantF(17, aFloatArray7327, 1); - } - } - } - - final void method3531(boolean bool) { - if (bool) method3528(89); - if (anIDirect3DVertexShader7333 != null) { - IDirect3DDevice idirect3ddevice = aClass378_7328.anIDirect3DDevice9810; - Class101_Sub2 class101_sub2 = aClass378_7328.method3948(-22036); - idirect3ddevice.a(0, class101_sub2.method924(11, aFloatArray7337)); - } - } - - final void method3532(int i) { - if (i != 10425) method3545(-24); - if (null != anIDirect3DVertexShader7333) { - IDirect3DDevice idirect3ddevice = aClass378_7328.anIDirect3DDevice9810; - Class101_Sub2 class101_sub2 = this.aHa_Sub3_4479.method3848(5); - idirect3ddevice.SetVertexShaderConstantF(8, class101_sub2.method915(aFloatArray7337, i + -10424), 2); - } - } -} diff --git a/client/src/Class367_Sub6.java b/client/src/Class367_Sub6.java deleted file mode 100644 index 0ea59a791..000000000 --- a/client/src/Class367_Sub6.java +++ /dev/null @@ -1,131 +0,0 @@ -/* Class367_Sub6 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jagdx.IDirect3DDevice; -import jagdx.IDirect3DVertexShader; - -final class Class367_Sub6 extends Class367 { - private static final float[] aFloatArray7338 = new float[16]; - private Class269 aClass269_7339; - private Class378 aClass378_7340; - private final IDirect3DVertexShader anIDirect3DVertexShader7341; - - final void method3527(int i, Interface18 interface18, int i_0_) { - if (i_0_ != -16776) method3526(30, 118, -114); - } - - final void method3521(boolean bool, byte i) { - this.aHa_Sub3_4479.method3874(Class348_Sub23_Sub2.aClass229_9011, 127, Class248.aClass229_3196); - if (i != -103) method3524(55); - } - - final void method3526(int i, int i_1_, int i_2_) { - IDirect3DDevice idirect3ddevice = aClass378_7340.anIDirect3DDevice9810; - if (aClass269_7339.aBoolean3458) { - float f = ((float) ((this.aHa_Sub3_4479.anInt8146) % 4000) / 4000.0F); - this.aHa_Sub3_4479.method3850((byte) -52, aClass269_7339.anInterface18_Impl1_3452); - idirect3ddevice.a(11, f, 0.0F, 0.0F, 0.0F); - } else { - int i_3_ = 16 * ((this.aHa_Sub3_4479.anInt8146) % 4000) / 4000; - this.aHa_Sub3_4479.method3850((byte) 122, (aClass269_7339.anInterface18_Impl3Array3459[i_3_])); - idirect3ddevice.a(11, 0.0F, 0.0F, 0.0F, 0.0F); - } - if (i != 10756) aClass269_7339 = null; - } - - Class367_Sub6(Class378 class378, Class45 class45, Class269 class269) { - super(class378); - aClass269_7339 = class269; - aClass378_7340 = class378; - if (null == class45 || !aClass269_7339.method2039(123) || (257 > (aClass378_7340.aD3DCAPS9791.VertexShaderVersion & 0xffff))) anIDirect3DVertexShader7341 = null; - else anIDirect3DVertexShader7341 = aClass378_7340.anIDirect3DDevice9810.b(class45.method391("dx", "transparent_water", -29832)); - } - - final void method3523(byte i) { - if (anIDirect3DVertexShader7341 != null) { - IDirect3DDevice idirect3ddevice = aClass378_7340.anIDirect3DDevice9810; - Class101_Sub2 class101_sub2 = aClass378_7340.method3948(-22036); - idirect3ddevice.a(0, class101_sub2.method924(i ^ 0x7, aFloatArray7338)); - } - if (i != 12) aClass378_7340 = null; - } - - final void method3520(byte i) { - if (i == 87) { - aClass378_7340.method3957(null, (byte) -89); - this.aHa_Sub3_4479.method3849((byte) 47, 0, Class342.aClass70_4247); - this.aHa_Sub3_4479.method3849((byte) 47, 1, Class285_Sub2.aClass70_8503); - this.aHa_Sub3_4479.method3849((byte) 47, 2, Class348_Sub40_Sub39.aClass70_9485); - this.aHa_Sub3_4479.method3852(9, true); - } - } - - final void method3524(int i) { - if (anIDirect3DVertexShader7341 != null) { - IDirect3DDevice idirect3ddevice = aClass378_7340.anIDirect3DDevice9810; - idirect3ddevice.a(4, this.aHa_Sub3_4479.method3835(aFloatArray7338, -104)); - } - if (i != -14775) aClass378_7340 = null; - } - - final void method3532(int i) { - if (anIDirect3DVertexShader7341 != null) { - IDirect3DDevice idirect3ddevice = aClass378_7340.anIDirect3DDevice9810; - Class101_Sub2 class101_sub2 = this.aHa_Sub3_4479.method3848(5); - class101_sub2.method915(aFloatArray7338, i ^ 0x28b8); - aFloatArray7338[0] *= 0.25F; - aFloatArray7338[2] *= 0.25F; - aFloatArray7338[3] *= 0.25F; - aFloatArray7338[6] *= 0.25F; - aFloatArray7338[5] *= 0.25F; - aFloatArray7338[1] *= 0.25F; - aFloatArray7338[7] *= 0.25F; - aFloatArray7338[4] *= 0.25F; - idirect3ddevice.SetVertexShaderConstantF(8, aFloatArray7338, 2); - } - if (i != 10425) aClass378_7340 = null; - } - - final boolean method3530(int i) { - if (i >= -57) method3522(-94); - return anIDirect3DVertexShader7341 != null; - } - - final void method3531(boolean bool) { - if (null != anIDirect3DVertexShader7341) { - IDirect3DDevice idirect3ddevice = aClass378_7340.anIDirect3DDevice9810; - Class101_Sub2 class101_sub2 = aClass378_7340.method3948(-22036); - idirect3ddevice.a(0, class101_sub2.method924(11, aFloatArray7338)); - } - if (bool) method3524(46); - } - - final void method3522(int i) { - if (i != -16252) method3523((byte) 62); - if (anIDirect3DVertexShader7341 != null) { - IDirect3DDevice idirect3ddevice = aClass378_7340.anIDirect3DDevice9810; - if (this.aHa_Sub3_4479.anInt8091 <= 0) idirect3ddevice.a(10, 0.0F, 0.0F, 0.0F, 0.0F); - else { - float f = (this.aHa_Sub3_4479.aFloat8115); - float f_4_ = (this.aHa_Sub3_4479.aFloat8173); - float f_5_ = f_4_ - 512.0F; - idirect3ddevice.a(10, f_5_, 1.0F / (-f_5_ + f_4_), f_4_, 1.0F / (-f_4_ + f)); - } - this.aHa_Sub3_4479.method3894(-28186, this.aHa_Sub3_4479.anInt8144); - } - } - - final void method3525(int i, boolean bool) { - if (i != 15192) method3531(true); - this.aHa_Sub3_4479.method3849((byte) 47, 0, Class342.aClass70_4247); - this.aHa_Sub3_4479.method3849((byte) 47, 1, Class348_Sub40_Sub39.aClass70_9485); - this.aHa_Sub3_4479.method3924(false, false, 2, Class285_Sub2.aClass70_8503, true); - this.aHa_Sub3_4479.method3852(9, false); - aClass378_7340.method3957(anIDirect3DVertexShader7341, (byte) -89); - method3523((byte) 12); - method3532(10425); - method3524(-14775); - method3522(-16252); - } -} diff --git a/client/src/Class367_Sub7.java b/client/src/Class367_Sub7.java deleted file mode 100644 index 92738b5d9..000000000 --- a/client/src/Class367_Sub7.java +++ /dev/null @@ -1,149 +0,0 @@ -/* Class367_Sub7 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jagdx.IDirect3DDevice; -import jagdx.IDirect3DPixelShader; -import jagdx.IDirect3DVertexShader; - -final class Class367_Sub7 extends Class367 { - private static float[] aFloatArray7342 = new float[16]; - private IDirect3DPixelShader anIDirect3DPixelShader7343; - private boolean aBoolean7344; - private IDirect3DVertexShader anIDirect3DVertexShader7345; - private Class378 aClass378_7346; - private final boolean aBoolean7347; - private final Class269 aClass269_7348; - - final void method3526(int i, int i_0_, int i_1_) { - if (i != 10756) method3527(-80, null, 80); - if (aBoolean7344) { - IDirect3DDevice idirect3ddevice = aClass378_7346.anIDirect3DDevice9810; - int i_2_ = 1 << (i_0_ & 0x3); - float f = (float) (1 << ((0x38 & i_0_) >> 3)) / 32.0F; - int i_3_ = i_1_ & 0xffff; - float f_4_ = (float) ((i_1_ & 0x320d7) >> 16) / 8.0F; - idirect3ddevice.a(14, (float) (this.aHa_Sub3_4479.anInt8146 * i_2_ % 40000) / 40000.0F, 0.0F, 0.0F, 0.0F); - idirect3ddevice.a(15, f, 0.0F, 0.0F, 0.0F); - idirect3ddevice.b(4, (float) i_3_, 0.0F, 0.0F, 0.0F); - idirect3ddevice.b(5, f_4_, 0.0F, 0.0F, 0.0F); - } - } - - final void method3521(boolean bool, byte i) { - if (i != -103) aBoolean7344 = true; - } - - final void method3532(int i) { - if (aBoolean7344) { - IDirect3DDevice idirect3ddevice = aClass378_7346.anIDirect3DDevice9810; - Class101_Sub2 class101_sub2 = this.aHa_Sub3_4479.method3848(i + -10420); - idirect3ddevice.SetVertexShaderConstantF(12, class101_sub2.method915(aFloatArray7342, 1), 2); - } - if (i != 10425) anIDirect3DVertexShader7345 = null; - } - - final void method3527(int i, Interface18 interface18, int i_5_) { - if (i_5_ != -16776) method3532(16); - } - - final void method3522(int i) { - if (aBoolean7344) { - IDirect3DDevice idirect3ddevice = aClass378_7346.anIDirect3DDevice9810; - if (this.aHa_Sub3_4479.anInt8091 <= 0) idirect3ddevice.a(16, 0.0F, 0.0F, 0.0F, 0.0F); - else { - float f = (this.aHa_Sub3_4479.aFloat8115); - float f_6_ = (this.aHa_Sub3_4479.aFloat8173); - idirect3ddevice.a(16, f, 1.0F / (f - f_6_), 0.0F, 0.0F); - } - idirect3ddevice.b(0, (float) ((this.aHa_Sub3_4479.anInt8144 >> 16) & 0xff) / 255.0F, (float) ((this.aHa_Sub3_4479.anInt8144 >> 8) & 0xff) / 255.0F, (float) (this.aHa_Sub3_4479.anInt8144 & 0xff) / 255.0F, 0.0F); - } - if (i != -16252) aClass378_7346 = null; - } - - Class367_Sub7(Class378 class378, Class45 class45, Class269 class269) { - super(class378); - aClass269_7348 = class269; - aClass378_7346 = class378; - if (null == class45 || !this.aHa_Sub3_4479.aBoolean8101 || !this.aHa_Sub3_4479.aBoolean8159 || (aClass378_7346.aD3DCAPS9791.VertexShaderVersion & 0xffff) < 257) { - anIDirect3DVertexShader7345 = null; - aBoolean7347 = false; - anIDirect3DPixelShader7343 = null; - } else { - anIDirect3DVertexShader7345 = (aClass378_7346.anIDirect3DDevice9810.b(class45.method391("dx", "environment_mapped_water_v", -29832))); - anIDirect3DPixelShader7343 = (aClass378_7346.anIDirect3DDevice9810.a(class45.method391("dx", "environment_mapped_water_f", -29832))); - aBoolean7347 = (anIDirect3DVertexShader7345 != null && null != anIDirect3DPixelShader7343 && aClass269_7348.method2041((byte) 49)); - } - } - - final void method3525(int i, boolean bool) { - if (i == 15192) { - Interface18_Impl2 interface18_impl2 = this.aHa_Sub3_4479.method3834(-16777216); - if (aBoolean7347 && null != interface18_impl2) { - IDirect3DDevice idirect3ddevice = aClass378_7346.anIDirect3DDevice9810; - aClass378_7346.method3957(anIDirect3DVertexShader7345, (byte) -89); - aClass378_7346.method3962(22927, anIDirect3DPixelShader7343); - this.aHa_Sub3_4479.method3897(1, -4382); - this.aHa_Sub3_4479.method3850((byte) 63, interface18_impl2); - this.aHa_Sub3_4479.method3897(0, -4382); - this.aHa_Sub3_4479.method3850((byte) -127, aClass269_7348.anInterface18_Impl1_3455); - aBoolean7344 = true; - method3531(false); - method3532(10425); - method3524(-14775); - method3522(-16252); - idirect3ddevice.b(1, -(this.aHa_Sub3_4479.aFloatArray8170[0]), -(this.aHa_Sub3_4479.aFloatArray8170[1]), -(this.aHa_Sub3_4479.aFloatArray8170[2]), 0.0F); - idirect3ddevice.b(2, this.aHa_Sub3_4479.aFloat8180, this.aHa_Sub3_4479.aFloat8087, this.aHa_Sub3_4479.aFloat8168, 1.0F); - idirect3ddevice.b(3, (928.0F * Math.abs(this.aHa_Sub3_4479.aFloatArray8170[1]) + 96.0F), 0.0F, 0.0F, 0.0F); - } - } - } - - final boolean method3530(int i) { - if (i > -57) anIDirect3DPixelShader7343 = null; - return aBoolean7347; - } - - final void method3523(byte i) { - if (aBoolean7344) { - IDirect3DDevice idirect3ddevice = aClass378_7346.anIDirect3DDevice9810; - Class101_Sub2 class101_sub2 = aClass378_7346.method3948(-22036); - idirect3ddevice.a(0, class101_sub2.method924(11, aFloatArray7342)); - } - if (i != 12) aFloatArray7342 = null; - } - - final void method3520(byte i) { - if (aBoolean7344) { - aClass378_7346.method3957(null, (byte) -89); - aClass378_7346.method3962(22927, null); - this.aHa_Sub3_4479.method3897(1, -4382); - this.aHa_Sub3_4479.method3850((byte) -98, null); - this.aHa_Sub3_4479.method3897(0, -4382); - this.aHa_Sub3_4479.method3850((byte) -124, null); - aBoolean7344 = false; - } - if (i != 87) method3531(true); - } - - final void method3524(int i) { - if (i == -14775) { - if (aBoolean7344) { - IDirect3DDevice idirect3ddevice = aClass378_7346.anIDirect3DDevice9810; - idirect3ddevice.a(8, this.aHa_Sub3_4479.method3835(aFloatArray7342, i + 14651)); - } - } - } - - final void method3531(boolean bool) { - if (!bool) { - if (aBoolean7344) { - IDirect3DDevice idirect3ddevice = aClass378_7346.anIDirect3DDevice9810; - Class101_Sub2 class101_sub2 = aClass378_7346.method3887((byte) -123); - Class101_Sub2 class101_sub2_7_ = aClass378_7346.method3948(-22036); - idirect3ddevice.a(0, class101_sub2_7_.method924(11, aFloatArray7342)); - idirect3ddevice.a(4, class101_sub2.method930(0, aFloatArray7342)); - } - } - } -} diff --git a/client/src/Class367_Sub8.java b/client/src/Class367_Sub8.java deleted file mode 100644 index 1fa3a5a25..000000000 --- a/client/src/Class367_Sub8.java +++ /dev/null @@ -1,199 +0,0 @@ -/* Class367_Sub8 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class367_Sub8 extends Class367 { - static int anInt7349; - private float aFloat7350 = 0.0F; - static int anInt7351; - static int anInt7352; - private final Class269 aClass269_7353; - static int anInt7354; - static short aShort7355 = 1; - static int anInt7356; - static int anInt7357; - static int anInt7358; - static int anInt7359; - static int anInt7360; - static Class364 aClass364_7361 = new Class364("WTRC", 1); - static Class45 aClass45_7362; - static Class114 aClass114_7363; - static int anInt7364; - static int anInt7365 = 0; - - static final String method3546(byte[] is, int i, int i_0_, int i_1_) { - anInt7349++; - char[] cs = new char[i_0_]; - int i_2_ = 0; - for (int i_3_ = i; i_3_ < i_0_; i_3_++) { - int i_4_ = 0xff & is[i_3_ + i_1_]; - if (i_4_ != 0) { - if (i_4_ >= 128 && i_4_ < 160) { - int i_5_ = Class44.aCharArray625[i_4_ - 128]; - if (i_5_ == 0) i_5_ = 63; - i_4_ = i_5_; - } - cs[i_2_++] = (char) i_4_; - } - } - return new String(cs, 0, i_2_); - } - - static final int method3547(int i, int i_6_) { - if (Class342.anIntArrayArray4253 != null) return Class342.anIntArrayArray4253[i][i_6_] & 0xffffff; - return 0; - } - - static final void method3548(int i, Npc npc, int[] is, int[] is_7_, int[] is_8_) { - try { - if (i != -7387) method3550((byte) 10); - for (int i_9_ = 0; is_7_.length > i_9_; i_9_++) { - int i_10_ = is_7_[i_9_]; - int i_11_ = is[i_9_]; - int i_12_ = is_8_[i_9_]; - for (int i_13_ = 0; i_11_ != 0 && ((npc.aClass182Array10308).length > i_13_); i_13_++) { - if ((0x1 & i_11_) != 0) { - if (i_10_ != -1) { - Class17 class17 = Class10.aClass87_191.method835(i_10_, i + 7394); - int i_14_ = class17.anInt248; - Class182 class182 = (npc.aClass182Array10308[i_13_]); - if (class182 != null) { - if (i_10_ != class182.anInt2454) { - if (Class10.aClass87_191.method835(class182.anInt2454, 7).anInt239 <= class17.anInt239) class182 = npc.aClass182Array10308[i_13_] = null; - } else if (i_14_ == 0) class182 = npc.aClass182Array10308[i_13_] = null; - else if (i_14_ == 1) { - class182.anInt2448 = i_12_; - class182.anInt2456 = 0; - class182.anInt2455 = 1; - class182.anInt2451 = 0; - class182.anInt2445 = 0; - if (!npc.aBoolean10309) Class287.method2178(npc, 0, class17, -75); - } else if (i_14_ == 2) class182.anInt2445 = 0; - } - if (class182 == null) { - class182 = npc.aClass182Array10308[i_13_] = new Class182(); - class182.anInt2455 = 1; - class182.anInt2454 = i_10_; - class182.anInt2456 = 0; - class182.anInt2445 = 0; - class182.anInt2451 = 0; - class182.anInt2448 = i_12_; - if (!npc.aBoolean10309) Class287.method2178(npc, 0, class17, -19); - } - } else npc.aClass182Array10308[i_13_] = null; - } - i_11_ >>>= 1; - } - } - anInt7359++; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("kl.E(" + i + ',' + (npc != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ',' + (is_7_ != null ? "{...}" : "null") + ',' + (is_8_ != null ? "{...}" : "null") + ')')); - } - } - - final void method3520(byte i) { - this.aHa_Sub3_4479.method3897(1, -4382); - if (i != 87) method3549(-29, (byte) -5); - anInt7364++; - this.aHa_Sub3_4479.method3874(Class167.aClass229_2207, 120, Class167.aClass229_2207); - this.aHa_Sub3_4479.method3849((byte) 47, 0, Class342.aClass70_4247); - this.aHa_Sub3_4479.method3885(0, true, Class342.aClass70_4247); - this.aHa_Sub3_4479.method3910((byte) -26, 1); - this.aHa_Sub3_4479.method3850((byte) 86, null); - this.aHa_Sub3_4479.method3897(0, -4382); - this.aHa_Sub3_4479.method3885(0, true, Class342.aClass70_4247); - } - - Class367_Sub8(ha_Sub3 var_ha_Sub3, Class269 class269) { - super(var_ha_Sub3); - try { - aClass269_7353 = class269; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("kl.(" + (var_ha_Sub3 != null ? "{...}" : "null") + ',' + (class269 != null ? "{...}" : "null") + ')')); - } - } - - static final boolean method3549(int i, byte i_15_) { - anInt7351++; - int i_16_ = -72 / ((37 - i_15_) / 48); - if (i == 25 || i == 20 || i == 44 || i == 46 || i == 60) return true; - return i == 30 || i == 1008; - } - - final void method3526(int i, int i_17_, int i_18_) { - this.aHa_Sub3_4479.method3897(1, -4382); - anInt7354++; - if (i != 10756) method3527(-26, null, 111); - if ((0x80 & i_17_) == 0) { - if ((0x1 & i_18_) != 1) { - if (aClass269_7353.aBoolean3458) this.aHa_Sub3_4479.method3850((byte) 108, aClass269_7353.anInterface18_Impl1_3452); - else this.aHa_Sub3_4479.method3850((byte) 126, (aClass269_7353.anInterface18_Impl3Array3459[0])); - } else if (aClass269_7353.aBoolean3458) { - aFloat7350 = (float) ((this.aHa_Sub3_4479.anInt8146) % 4000) / 4000.0F; - this.aHa_Sub3_4479.method3850((byte) -112, aClass269_7353.anInterface18_Impl1_3452); - } else { - int i_19_ = (16 * (this.aHa_Sub3_4479.anInt8146 % 4000) / 4000); - this.aHa_Sub3_4479.method3850((byte) -114, (aClass269_7353.anInterface18_Impl3Array3459[i_19_])); - } - } else this.aHa_Sub3_4479.method3850((byte) 85, null); - this.aHa_Sub3_4479.method3897(0, -4382); - } - - final boolean method3530(int i) { - if (i > -57) return false; - anInt7360++; - return aClass269_7353.method2039(116); - } - - public static void method3550(byte i) { - aClass114_7363 = null; - aClass45_7362 = null; - int i_20_ = -90 % ((-54 - i) / 60); - aClass364_7361 = null; - } - - final void method3532(int i) { - if (this.aHa_Sub3_4479.method3877((byte) -126) == 0) { - Class101_Sub2 class101_sub2 = this.aHa_Sub3_4479.method3848(5); - this.aHa_Sub3_4479.method3897(1, i ^ ~0x39a4); - Class101_Sub2 class101_sub2_21_ = this.aHa_Sub3_4479.method3820(false); - class101_sub2_21_.method898(class101_sub2); - class101_sub2_21_.method914(0.125F, 1.0F, 0, 0.125F); - class101_sub2_21_.method920(0.0F, false, aFloat7350, 0.0F); - this.aHa_Sub3_4479.method3853(-32, Class348_Sub40_Sub38.aClass251_9477); - this.aHa_Sub3_4479.method3897(0, -4382); - } - anInt7352++; - if (i != 10425) method3530(16); - } - - final void method3521(boolean bool, byte i) { - if (i != -103) anInt7365 = 86; - this.aHa_Sub3_4479.method3874((Class328_Sub3.aClass229_6519), i ^ ~0x17, Class167.aClass229_2207); - anInt7357++; - } - - final void method3525(int i, boolean bool) { - anInt7356++; - this.aHa_Sub3_4479.method3897(1, i ^ ~0x2a45); - this.aHa_Sub3_4479.method3874((Class328_Sub3.aClass229_6519), 111, (Class348_Sub23_Sub2.aClass229_9011)); - this.aHa_Sub3_4479.method3924(true, false, 0, Class342.aClass70_4247, false); - this.aHa_Sub3_4479.method3885(0, true, Class318_Sub1_Sub2.aClass70_8737); - this.aHa_Sub3_4479.method3910((byte) -26, 0); - this.aHa_Sub3_4479.method3897(0, -4382); - this.aHa_Sub3_4479.method3894(-28186, -16777216); - this.aHa_Sub3_4479.method3885(0, true, Class348_Sub40_Sub39.aClass70_9485); - method3532(10425); - if (i != 15192) aShort7355 = (short) 106; - } - - final void method3527(int i, Interface18 interface18, int i_22_) { - this.aHa_Sub3_4479.method3850((byte) 103, interface18); - anInt7358++; - if (i_22_ != -16776) method3520((byte) -127); - } - - static { - aClass114_7363 = new Class114(103, 8); - } -} diff --git a/client/src/Class367_Sub9.java b/client/src/Class367_Sub9.java deleted file mode 100644 index 81ce720df..000000000 --- a/client/src/Class367_Sub9.java +++ /dev/null @@ -1,138 +0,0 @@ -/* Class367_Sub9 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -final class Class367_Sub9 extends Class367 { - static int anInt7366; - static Class114 aClass114_7367 = new Class114(37, 7); - static int anInt7368; - private Class89 aClass89_7369; - static int anInt7370; - static Class45 aClass45_7371; - static int anInt7372; - private boolean aBoolean7373; - static int anInt7374; - private Class269 aClass269_7375; - private boolean aBoolean7376; - static int anInt7377; - static String[] aStringArray7378; - static int anInt7379; - static int anInt7380; - - final void method3526(int i, int i_0_, int i_1_) { - anInt7372++; - if (aBoolean7373) { - int i_2_ = 1 << (i_0_ & 0x3); - float f = (float) (1 << (0x7 & i_0_ >> 3)) / 32.0F; - int i_3_ = i_1_ & 0xffff; - float f_4_ = (float) (0x3 & i_1_ >> 16) / 8.0F; - long l = aClass89_7369.aLong1510; - OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "time"), (float) ((this.aHa_Sub3_4479.anInt8146) * i_2_ % 40000) / 40000.0F); - OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "scale"), f); - OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "breakWaterDepth"), (float) i_3_); - OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "breakWaterOffset"), f_4_); - } - if (i != 10756) aClass269_7375 = null; - } - - final void method3520(byte i) { - if (i != 87) aBoolean7376 = true; - if (aBoolean7373) { - this.aHa_Sub3_4479.method3897(1, -4382); - this.aHa_Sub3_4479.method3850((byte) 70, null); - this.aHa_Sub3_4479.method3897(0, -4382); - this.aHa_Sub3_4479.method3850((byte) 107, null); - OpenGL.glUseProgramObjectARB(0L); - aBoolean7373 = false; - } - anInt7368++; - } - - static final String method3551(int i, int i_5_, int i_6_, boolean bool) { - anInt7374++; - if (i_5_ < 2 || i_5_ > 36) throw new IllegalArgumentException("Invalid radix:" + i_5_); - if (!bool || i_6_ < 0) return Integer.toString(i_6_, i_5_); - int i_7_ = 2; - int i_8_ = i_6_ / i_5_; - while (i_8_ != 0) { - i_8_ /= i_5_; - i_7_++; - } - char[] cs = new char[i_7_]; - cs[0] = '+'; - int i_9_ = i_7_ + -1; - if (i != 8320) return null; - for (/**/; i_9_ > 0; i_9_--) { - int i_10_ = i_6_; - i_6_ /= i_5_; - int i_11_ = i_10_ + -(i_6_ * i_5_); - if (i_11_ < 10) cs[i_9_] = (char) (i_11_ + 48); - else cs[i_9_] = (char) (i_11_ + 87); - } - return new String(cs); - } - - final boolean method3530(int i) { - if (i >= -57) aBoolean7373 = true; - anInt7366++; - return aBoolean7376; - } - - final void method3527(int i, Interface18 interface18, int i_12_) { - if (i_12_ != -16776) method3552(-90); - anInt7380++; - if (!aBoolean7373) { - this.aHa_Sub3_4479.method3850((byte) 102, interface18); - this.aHa_Sub3_4479.method3923(true, i); - } - } - - final void method3521(boolean bool, byte i) { - anInt7377++; - if (i != -103) anInt7379 = -84; - } - - Class367_Sub9(Class377 class377, Class45 class45, Class269 class269) { - super(class377); - try { - aClass269_7375 = class269; - if (class45 != null && class377.aBoolean9921 && class377.aBoolean9922) { - Class39 class39 = (Class328.method2608(class377, class45.method391("gl", "environment_mapped_water_v", -29832), -108, 35633)); - Class39 class39_13_ = (Class328.method2608(class377, class45.method391("gl", "environment_mapped_water_f", -29832), -122, 35632)); - aClass89_7369 = Class324.method2582(class377, new Class39[]{class39, class39_13_}, -2113); - aBoolean7376 = (aClass89_7369 != null && aClass269_7375.method2041((byte) 120)); - } else aBoolean7376 = false; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ko.(" + (class377 != null ? "{...}" : "null") + ',' + (class45 != null ? "{...}" : "null") + ',' + (class269 != null ? "{...}" : "null") + ')')); - } - } - - public static void method3552(int i) { - aClass45_7371 = null; - aClass114_7367 = null; - aStringArray7378 = null; - if (i != 87) anInt7379 = 80; - } - - final void method3525(int i, boolean bool) { - anInt7370++; - if (i != 15192) method3551(58, -50, 40, true); - Interface18_Impl2 interface18_impl2 = this.aHa_Sub3_4479.method3834(-16777216); - if (aBoolean7376 && interface18_impl2 != null) { - this.aHa_Sub3_4479.method3897(1, i + -19574); - this.aHa_Sub3_4479.method3850((byte) -63, interface18_impl2); - this.aHa_Sub3_4479.method3897(0, -4382); - this.aHa_Sub3_4479.method3850((byte) -107, aClass269_7375.anInterface18_Impl1_3455); - long l = aClass89_7369.aLong1510; - OpenGL.glUseProgramObjectARB(l); - OpenGL.glUniform1iARB(OpenGL.glGetUniformLocationARB(l, "normalSampler"), 0); - OpenGL.glUniform1iARB(OpenGL.glGetUniformLocationARB(l, "envMapSampler"), 1); - OpenGL.glUniform3fARB(OpenGL.glGetUniformLocationARB(l, "sunDir"), -(this.aHa_Sub3_4479.aFloatArray8170[0]), -(this.aHa_Sub3_4479.aFloatArray8170[1]), -(this.aHa_Sub3_4479.aFloatArray8170[2])); - OpenGL.glUniform4fARB(OpenGL.glGetUniformLocationARB(l, "sunColour"), this.aHa_Sub3_4479.aFloat8180, this.aHa_Sub3_4479.aFloat8087, this.aHa_Sub3_4479.aFloat8168, 1.0F); - OpenGL.glUniform1fARB(OpenGL.glGetUniformLocationARB(l, "sunExponent"), 928.0F * Math.abs(this.aHa_Sub3_4479.aFloatArray8170[1]) + 96.0F); - aBoolean7373 = true; - } - } -} diff --git a/client/src/Class368.java b/client/src/Class368.java deleted file mode 100644 index 18a5811f4..000000000 --- a/client/src/Class368.java +++ /dev/null @@ -1,212 +0,0 @@ -/* Class368 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class368 { - static int anInt4486; - boolean aBoolean4487; - byte aByte4488 = 0; - private int anInt4489; - private short[] aShortArray4490; - static int anInt4491; - private int anInt4492; - static int anInt4493; - static int anInt4494; - static int anInt4495; - static int anInt4496; - static int anInt4497; - private int anInt4498 = 128; - private short[] aShortArray4499; - static Class114 aClass114_4500 = new Class114(117, 1); - int anInt4501; - private short[] aShortArray4502; - int anInt4503; - private short[] aShortArray4504; - static int anInt4505; - private int anInt4506; - private int anInt4507; - private int anInt4508; - static int anInt4509; - static int anInt4510; - static int anInt4511; - private int anInt4512; - Class319 aClass319_4513; - - final Class64 method3558(int i, int i_0_, ha var_ha, int i_1_, int i_2_, Class87 class87, int i_3_) { - try { - if (i_2_ != 3172) aShortArray4504 = null; - anInt4505++; - return method3566(var_ha, i_3_, i_1_, null, 0, class87, i, (byte) 5, null, 0, false, 0, (byte) -68, i_0_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("fk.B(" + i + ',' + i_0_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_1_ + ',' + i_2_ + ',' + (class87 != null ? "{...}" : "null") + ',' + i_3_ + ')')); - } - } - - final void method3559(int i, Class348_Sub49 class348_sub49) { - anInt4497++; - if (i == 28105) { - for (; ; ) { - int i_4_ = class348_sub49.readUnsignedByte(255); - if (i_4_ == 0) break; - method3564(i ^ ~0x6db5, class348_sub49, i_4_); - } - } - } - - public static void method3560(int i) { - if (i != -13) method3563(-34, (byte) 21, -111); - aClass114_4500 = null; - } - - static final String method3561(int i, Class46 class46, boolean bool) { - anInt4495++; - if (bool != true) method3560(68); - if (!client.method105(class46).method3301(i, !bool) && class46.anObjectArray741 == null) return null; - if (class46.aStringArray833 == null || (i >= class46.aStringArray833.length) || class46.aStringArray833[i] == null || class46.aStringArray833[i].trim().length() == 0) { - if (Class299_Sub2.aBoolean6327) return "Hidden-" + i; - return null; - } - return class46.aStringArray833[i]; - } - - final Class64 method3562(int i, ha var_ha, int i_5_, int i_6_, int i_7_, Class87 class87, byte i_8_) { - try { - if (i_8_ <= 24) return null; - anInt4511++; - return method3566(var_ha, i, i_6_, null, 0, class87, i_5_, (byte) 2, null, 0, false, 0, (byte) -68, i_7_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("fk.A(" + i + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + (class87 != null ? "{...}" : "null") + ',' + i_8_ + ')')); - } - } - - static final boolean method3563(int i, byte i_9_, int i_10_) { - anInt4493++; - if (i_9_ != 56) method3563(-107, (byte) 118, 32); - return (i & 0x800) != 0; - } - - private final void method3564(int i, Class348_Sub49 class348_sub49, int i_11_) { - anInt4486++; - if (i < -119) { - if (i_11_ == 1) anInt4506 = class348_sub49.readUnsignedShort(842397944); - else if (i_11_ != 2) { - if (i_11_ == 4) anInt4498 = class348_sub49.readUnsignedShort(842397944); - else if (i_11_ != 5) { - if (i_11_ != 6) { - if (i_11_ != 7) { - if (i_11_ != 8) { - if (i_11_ == 9) { - anInt4507 = 8224; - this.aByte4488 = (byte) 3; - } else if (i_11_ != 10) { - if (i_11_ != 11) { - if (i_11_ == 12) this.aByte4488 = (byte) 4; - else if (i_11_ == 13) this.aByte4488 = (byte) 5; - else if (i_11_ == 14) { - this.aByte4488 = (byte) 2; - anInt4507 = class348_sub49.readUnsignedByte(255) * 256; - } else if (i_11_ == 15) { - this.aByte4488 = (byte) 3; - anInt4507 = class348_sub49.readUnsignedShort(842397944); - } else if (i_11_ == 16) { - this.aByte4488 = (byte) 3; - anInt4507 = (class348_sub49.readInt((byte) -126)); - } else if (i_11_ == 40) { - int i_14_ = class348_sub49.readUnsignedByte(255); - aShortArray4490 = new short[i_14_]; - aShortArray4502 = new short[i_14_]; - for (int i_15_ = 0; i_14_ > i_15_; i_15_++) { - aShortArray4490[i_15_] = (short) (class348_sub49.readUnsignedShort(842397944)); - aShortArray4502[i_15_] = (short) (class348_sub49.readUnsignedShort(842397944)); - } - } else if (i_11_ == 41) { - int i_12_ = (class348_sub49.readUnsignedByte(255)); - aShortArray4504 = new short[i_12_]; - aShortArray4499 = new short[i_12_]; - for (int i_13_ = 0; i_12_ > i_13_; i_13_++) { - aShortArray4499[i_13_] = (short) (class348_sub49.readUnsignedShort(842397944)); - aShortArray4504[i_13_] = (short) (class348_sub49.readUnsignedShort(842397944)); - } - } - } else this.aByte4488 = (byte) 1; - } else this.aBoolean4487 = true; - } else anInt4512 = class348_sub49.readUnsignedByte(255); - } else anInt4489 = class348_sub49.readUnsignedByte(255); - } else anInt4508 = class348_sub49.readUnsignedShort(842397944); - } else anInt4492 = class348_sub49.readUnsignedShort(842397944); - } else this.anInt4503 = class348_sub49.readUnsignedShort(842397944); - } - } - - final Class64 method3565(int i, int i_16_, int i_17_, int i_18_, boolean bool, ha var_ha, int i_19_, int i_20_, int i_21_, Class87 class87, s var_s, int i_22_, s var_s_23_) { - try { - anInt4496++; - if (i_21_ != -129) method3566(null, 36, -84, null, 43, null, 2, (byte) 54, null, -17, true, -42, (byte) 95, -81); - return method3566(var_ha, i_16_, i_18_, var_s, i_22_, class87, i, (byte) 2, var_s_23_, i_17_, bool, i_20_, (byte) -68, i_19_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("fk.F(" + i + ',' + i_16_ + ',' + i_17_ + ',' + i_18_ + ',' + bool + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_19_ + ',' + i_20_ + ',' + i_21_ + ',' + (class87 != null ? "{...}" : "null") + ',' + (var_s != null ? "{...}" : "null") + ',' + i_22_ + ',' + (var_s_23_ != null ? "{...}" : "null") + ')')); - } - } - - public Class368() { - this.aBoolean4487 = false; - anInt4508 = 0; - this.anInt4503 = -1; - anInt4507 = -1; - anInt4492 = 128; - anInt4489 = 0; - anInt4512 = 0; - } - - private final Class64 method3566(ha var_ha, int i, int i_24_, s var_s, int i_25_, Class87 class87, int i_26_, byte i_27_, s var_s_28_, int i_29_, boolean bool, int i_30_, byte i_31_, int i_32_) { - try { - anInt4491++; - int i_33_ = i_24_; - Class17 class17 = (this.anInt4503 != -1 && i != -1 ? class87.method835(this.anInt4503, 7) : null); - bool = bool & this.aByte4488 != 0; - if (class17 != null) i_33_ |= class17.method263(i_32_, 110, i, false); - if (bool) i_33_ = i_33_ | (this.aByte4488 != 3 ? 2 : 7); - if (anInt4492 != 128) i_33_ |= 0x2; - if (anInt4498 != 128 || anInt4508 != 0) i_33_ |= 0x5; - Class64 class64; - synchronized (this.aClass319_4513.aClass60_3990) { - class64 = ((Class64) (this.aClass319_4513.aClass60_3990.method583(this.anInt4501 |= var_ha.anInt4567 << 29, -122))); - } - if (class64 == null || var_ha.method3667(class64.ua(), i_33_) != 0) { - if (class64 != null) i_33_ = var_ha.method3679(i_33_, class64.ua()); - int i_34_ = i_33_; - if (aShortArray4490 != null) i_34_ |= 0x4000; - if (aShortArray4499 != null) i_34_ |= 0x8000; - Class124 class124 = Class300.method2277(0, (this.aClass319_4513.aClass45_3981), anInt4506, -1); - if (class124 == null) return null; - if (class124.anInt1830 < 13) class124.method1092(2, 114); - class64 = var_ha.method3625(class124, i_34_, (this.aClass319_4513.anInt3991), 64 + anInt4489, anInt4512 - -850); - if (aShortArray4490 != null) { - for (int i_35_ = 0; (i_35_ < aShortArray4490.length); i_35_++) - class64.ia(aShortArray4490[i_35_], aShortArray4502[i_35_]); - } - if (aShortArray4499 != null) { - for (int i_36_ = 0; (aShortArray4499.length > i_36_); i_36_++) - class64.aa(aShortArray4499[i_36_], aShortArray4504[i_36_]); - } - class64.s(i_33_); - synchronized (this.aClass319_4513.aClass60_3990) { - this.aClass319_4513.aClass60_3990.method582(class64, this.anInt4501 |= var_ha.anInt4567 << 29, (byte) -113); - } - } - if (i_31_ != -68) return null; - Class64 class64_37_ = (class17 != null ? class17.method266(class64, 0, i_32_, i_27_, i, i_26_, 663780816, i_33_) : class64.method614(i_27_, i_33_, true)); - if (anInt4498 != 128 || anInt4492 != 128) class64_37_.O(anInt4498, anInt4492, anInt4498); - if (anInt4508 != 0) { - if (anInt4508 == 90) class64_37_.a(4096); - if (anInt4508 == 180) class64_37_.a(8192); - if (anInt4508 == 270) class64_37_.a(12288); - } - if (bool) class64_37_.p(this.aByte4488, anInt4507, var_s_28_, var_s, i_30_, i_29_, i_25_); - class64_37_.s(i_24_); - return class64_37_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("fk.I(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + i_24_ + ',' + (var_s != null ? "{...}" : "null") + ',' + i_25_ + ',' + (class87 != null ? "{...}" : "null") + ',' + i_26_ + ',' + i_27_ + ',' + (var_s_28_ != null ? "{...}" : "null") + ',' + i_29_ + ',' + bool + ',' + i_30_ + ',' + i_31_ + ',' + i_32_ + ')')); - } - } -} diff --git a/client/src/Class369.java b/client/src/Class369.java deleted file mode 100644 index 269db90b1..000000000 --- a/client/src/Class369.java +++ /dev/null @@ -1,66 +0,0 @@ -/* Class369 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -class Class369 implements Interface12 { - int anInt4959; - static int anInt4960 = 0; - int anInt4961; - static Class143 aClass143_4962; - int anInt4963; - static int anInt4964; - int anInt4965; - int anInt4966; - static int anInt4967; - Class221 aClass221_4968; - static int anInt4969; - int anInt4970; - int anInt4971; - static boolean aBoolean4972 = false; - Class341 aClass341_4973; - - public static void method3567(int i) { - aClass143_4962 = null; - int i_0_ = 105 % ((-15 - i) / 36); - } - - static final void method3568(ha var_ha, int i) { - anInt4964++; - Class240.aClass324_4684 = Class14.method232(var_ha, (byte) -53, true, Class56.anInt1044); - Class258_Sub1.aClass143_8527 = Class135.method1151(-25411, var_ha, Class56.anInt1044); - if (i != 4) aClass143_4962 = null; - Applet_Sub1.aClass324_20 = Class14.method232(var_ha, (byte) -53, true, Class17.anInt235); - Class246.aClass143_3179 = Class135.method1151(-25411, var_ha, Class17.anInt235); - Class262.aClass324_3326 = Class14.method232(var_ha, (byte) -53, true, Class291.anInt3736); - aClass143_4962 = Class135.method1151(-25411, var_ha, Class291.anInt3736); - } - - static final void method3569(int i, int i_1_) { - anInt4969++; - int i_2_ = 83 % ((i_1_ - -87) / 37); - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i, (byte) 105, 4); - class348_sub42_sub15.method3251(-16058); - } - - public Class223 method51(byte i) { - if (i < 116) return null; - anInt4967++; - return null; - } - - Class369(Class221 class221, Class341 class341, int i, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_) { - try { - this.anInt4961 = i_8_; - this.anInt4971 = i_4_; - this.anInt4965 = i_7_; - this.anInt4966 = i_6_; - this.anInt4959 = i_3_; - this.aClass341_4973 = class341; - this.anInt4970 = i; - this.aClass221_4968 = class221; - this.anInt4963 = i_5_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("fn.(" + (class221 != null ? "{...}" : "null") + ',' + (class341 != null ? "{...}" : "null") + ',' + i + ',' + i_3_ + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ')')); - } - } -} diff --git a/client/src/Class369_Sub1.java b/client/src/Class369_Sub1.java deleted file mode 100644 index 282da0d95..000000000 --- a/client/src/Class369_Sub1.java +++ /dev/null @@ -1,34 +0,0 @@ -/* Class369_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class369_Sub1 extends Class369 { - static int anInt8579; - int anInt8580; - static int anInt8581; - int anInt8582; - static int anInt8583 = -1; - - public final Class223 method51(byte i) { - if (i <= 116) method51((byte) -95); - anInt8581++; - return Class313.aClass223_3934; - } - - Class369_Sub1(Class221 class221, Class341 class341, int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_) { - super(class221, class341, i, i_0_, i_1_, i_2_, i_3_, i_4_, i_5_); - try { - this.anInt8580 = i_7_; - this.anInt8582 = i_8_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("kh.(" + (class221 != null ? "{...}" : "null") + ',' + (class341 != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + i_1_ + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ')')); - } - } - - static final void method3570(boolean bool) { - if (Class348_Sub40.aClass279_7042 != null) Class348_Sub40.aClass279_7042.method2084(-6858); - anInt8579++; - if (Class194.aClass279_2596 != null) Class194.aClass279_2596.method2084(-6858); - if (bool != false) anInt8583 = 30; - } -} diff --git a/client/src/Class369_Sub2.java b/client/src/Class369_Sub2.java deleted file mode 100644 index 8f866a7bf..000000000 --- a/client/src/Class369_Sub2.java +++ /dev/null @@ -1,50 +0,0 @@ -/* Class369_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class369_Sub2 extends Class369 { - static Class46[][] aClass46ArrayArray8584; - int anInt8585; - static int anInt8586; - static int anInt8587 = 0; - static int anInt8588; - static Class45 aClass45_8589; - static Class114 aClass114_8590 = new Class114(58, 2); - int anInt8591; - static Object anObject8592; - static int anInt8593; - - public final Class223 method51(byte i) { - if (i < 116) method3572(118); - anInt8586++; - return Class348_Sub49.aClass223_7175; - } - - static final Class45 method3571(boolean bool, int i, byte i_0_, int i_1_) { - anInt8593++; - if (i_0_ != -23) return null; - Class137 class137 = null; - if (Class299_Sub2.aClass78_6328 != null) class137 = new Class137(i, Class299_Sub2.aClass78_6328, Class100.aClass78Array1579[i], 1000000); - Class13.aClass314_Sub1Array223[i] = Class175.aClass340_2327.method2673(class137, i, Class277.aClass137_3568, 255); - Class13.aClass314_Sub1Array223[i].method2346(27872); - return new Class45(Class13.aClass314_Sub1Array223[i], bool, i_1_); - } - - Class369_Sub2(Class221 class221, Class341 class341, int i, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_) { - super(class221, class341, i, i_2_, i_3_, i_4_, i_5_, i_6_, i_7_); - try { - this.anInt8585 = i_9_; - this.anInt8591 = i_8_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ou.(" + (class221 != null ? "{...}" : "null") + ',' + (class341 != null ? "{...}" : "null") + ',' + i + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ',' + i_9_ + ')')); - } - } - - public static void method3572(int i) { - aClass114_8590 = null; - aClass45_8589 = null; - if (i != 1000000) method3571(false, -66, (byte) 13, 13); - aClass46ArrayArray8584 = null; - anObject8592 = null; - } -} diff --git a/client/src/Class369_Sub3.java b/client/src/Class369_Sub3.java deleted file mode 100644 index 2c70d39c0..000000000 --- a/client/src/Class369_Sub3.java +++ /dev/null @@ -1,54 +0,0 @@ -/* Class369_Sub3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -class Class369_Sub3 extends Class369 { - static int anInt8594; - int anInt8595; - static boolean[][] aBooleanArrayArray8596; - int anInt8597; - static int anInt8598; - int anInt8599; - int anInt8600; - static Class45 aClass45_8601; - int anInt8602; - int anInt8603; - - public Class223 method51(byte i) { - anInt8594++; - if (i <= 116) return null; - return Class185.aClass223_2489; - } - - static final void method3573(int i) { - synchronized (Class24.aClass60_355) { - Class24.aClass60_355.method590(0); - } - anInt8598++; - synchronized (Class130.aClass60_1894) { - Class130.aClass60_1894.method590(0); - } - if (i != -15326) method3573(-67); - } - - Class369_Sub3(Class221 class221, Class341 class341, int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_) { - super(class221, class341, i, i_0_, i_1_, i_2_, i_3_, i_4_, i_5_); - try { - this.anInt8600 = i_10_; - this.anInt8602 = i_9_; - this.anInt8603 = i_8_; - this.anInt8599 = i_6_; - this.anInt8597 = i_11_; - this.anInt8595 = i_7_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("um.(" + (class221 != null ? "{...}" : "null") + ',' + (class341 != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + i_1_ + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ',' + i_9_ + ',' + i_10_ + ',' + i_11_ + ')')); - } - } - - public static void method3574(int i) { - if (i == 19499) { - aBooleanArrayArray8596 = null; - aClass45_8601 = null; - } - } -} diff --git a/client/src/Class369_Sub3_Sub1.java b/client/src/Class369_Sub3_Sub1.java deleted file mode 100644 index 6598e806d..000000000 --- a/client/src/Class369_Sub3_Sub1.java +++ /dev/null @@ -1,113 +0,0 @@ -/* Class369_Sub3_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.event.ActionEvent; - -final class Class369_Sub3_Sub1 extends Class369_Sub3 { - static int anInt10173; - static boolean aBoolean10174 = true; - static int anInt10175; - static int anInt10176; - int anInt10177; - static int anInt10178; - - static final void method3575(byte i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_) { - if (i_3_ <= Class38.anInt513 && i_2_ >= Class132.anInt1910) { - boolean bool; - if (Class369.anInt4960 <= i_4_) { - if (i_4_ <= Class113.anInt1745) bool = true; - else { - bool = false; - i_4_ = Class113.anInt1745; - } - } else { - i_4_ = Class369.anInt4960; - bool = false; - } - boolean bool_5_; - if (Class369.anInt4960 > i_0_) { - i_0_ = Class369.anInt4960; - bool_5_ = false; - } else if (Class113.anInt1745 < i_0_) { - i_0_ = Class113.anInt1745; - bool_5_ = false; - } else bool_5_ = true; - if (i_3_ < Class132.anInt1910) i_3_ = Class132.anInt1910; - else Class135_Sub2.method1156(-27, i_0_, Class17.anIntArrayArray255[i_3_++], i_4_, i_1_); - if (Class38.anInt513 >= i_2_) Class135_Sub2.method1156(-27, i_0_, Class17.anIntArrayArray255[i_2_--], i_4_, i_1_); - else i_2_ = Class38.anInt513; - if (!bool || !bool_5_) { - if (bool) { - for (int i_7_ = i_3_; i_7_ <= i_2_; i_7_++) - Class17.anIntArrayArray255[i_7_][i_4_] = i_1_; - } else if (bool_5_) { - for (int i_6_ = i_3_; i_6_ <= i_2_; i_6_++) - Class17.anIntArrayArray255[i_6_][i_0_] = i_1_; - } - } else { - for (int i_8_ = i_3_; i_2_ >= i_8_; i_8_++) { - int[] is = Class17.anIntArrayArray255[i_8_]; - is[i_4_] = is[i_0_] = i_1_; - } - } - } - if (i <= 57) method3578((byte) -97, null, null); - anInt10173++; - } - - static boolean method3576(boolean bool, boolean bool_9_) { - return bool | bool_9_; - } - - public final Class223 method51(byte i) { - anInt10175++; - if (i < 116) this.anInt10177 = -10; - return Class187.aClass223_2507; - } - - static final Class105 method3577(int i, byte i_10_, Class45 class45) { - anInt10176++; - Class105 class105 = (Class105) Class345.aClass60_4273.method583(i, -68); - int i_11_ = -86 / ((55 - i_10_) / 51); - if (class105 == null) { - if (Class286_Sub7.aBoolean6289) class105 = Class348_Sub8.aHa6654.method3691(Class207.method1512(class45, i), true); - else class105 = Class258_Sub3.method1969(class45.method415((byte) 73, i), -5901); - Class345.aClass60_4273.method582(class105, i, (byte) -108); - } - return class105; - } - - static final void method3578(byte i, Object object, Class297 class297) { - do { - try { - anInt10178++; - if (class297.anEventQueue3799 != null) { - int i_12_ = 0; - if (i != -42) method3578((byte) 95, null, null); - for (/**/; i_12_ < 50 && class297.anEventQueue3799.peekEvent() != null; i_12_++) - Class286_Sub5.method2161((byte) 30, 1L); - try { - if (object == null) break; - class297.anEventQueue3799.postEvent(new ActionEvent(object, 1001, "dummy")); - } catch (Exception exception) { - /* empty */ - } - break; - } - break; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("fu.F(" + i + ',' + (object != null ? "{...}" : "null") + ',' + (class297 != null ? "{...}" : "null") + ')')); - } - } while (false); - } - - Class369_Sub3_Sub1(Class221 class221, Class341 class341, int i, int i_13_, int i_14_, int i_15_, int i_16_, int i_17_, int i_18_, int i_19_, int i_20_, int i_21_, int i_22_, int i_23_, int i_24_, int i_25_) { - super(class221, class341, i, i_13_, i_14_, i_15_, i_16_, i_17_, i_18_, i_19_, i_20_, i_21_, i_22_, i_23_, i_24_); - try { - this.anInt10177 = i_25_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("fu.(" + (class221 != null ? "{...}" : "null") + ',' + (class341 != null ? "{...}" : "null") + ',' + i + ',' + i_13_ + ',' + i_14_ + ',' + i_15_ + ',' + i_16_ + ',' + i_17_ + ',' + i_18_ + ',' + i_19_ + ',' + i_20_ + ',' + i_21_ + ',' + i_22_ + ',' + i_23_ + ',' + i_24_ + ',' + i_25_ + ')')); - } - } -} diff --git a/client/src/Class37.java b/client/src/Class37.java deleted file mode 100644 index 70a219807..000000000 --- a/client/src/Class37.java +++ /dev/null @@ -1,78 +0,0 @@ -/* Class37 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class37 { - static int anInt490; - static int anInt491; - static int anInt492; - static int anInt493; - static int anInt494; - static int anInt495 = 0; - static int anInt496; - - static final String method356(int i, int i_0_) { - anInt494++; - String string = Integer.toString(i_0_); - if (i >= -109) return null; - for (int i_1_ = -3 + string.length(); i_1_ > 0; i_1_ -= 3) - string = string.substring(0, i_1_) + "," + string.substring(i_1_); - if (string.length() > 9) return (" " + string.substring(0, string.length() + -8) + Class274.aClass274_3516.method2063(Class348_Sub33.anInt6967, 544) + " (" + string + ")"); - if (string.length() > 6) return (" " + string.substring(0, -4 + string.length()) + Class274.aClass274_3518.method2063(Class348_Sub33.anInt6967, 544) + " (" + string + ")"); - return " " + string + ""; - } - - static final synchronized void method357(int i, byte[] is) { - anInt491++; - if (is.length == 100 && Class348_Sub40_Sub31.anInt9412 < 1000) Class24.aByteArrayArray358[Class348_Sub40_Sub31.anInt9412++] = is; - else { - if (i != 0) method359(-119, -101); - if (is.length == 5000 && Class348_Sub40_Sub21.anInt9280 < 250) Class133.aByteArrayArray1918[Class348_Sub40_Sub21.anInt9280++] = is; - else if (is.length == 30000 && Class348_Sub31.anInt6913 < 50) Class285_Sub2.aByteArrayArray8505[Class348_Sub31.anInt6913++] = is; - else if (Class348_Sub40_Sub6.aByteArrayArrayArray9134 != null) { - for (int i_2_ = 0; Class59_Sub2_Sub2.anIntArray8684.length > i_2_; i_2_++) { - if ((is.length == Class59_Sub2_Sub2.anIntArray8684[i_2_]) && (Class348_Sub40_Sub6.aByteArrayArrayArray9134[i_2_]).length > Class190.anIntArray2552[i_2_]) { - Class348_Sub40_Sub6.aByteArrayArrayArray9134[i_2_][Class190.anIntArray2552[i_2_]++] = is; - break; - } - } - } - } - } - - static final void method358(int i, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_) { - if (i_8_ != -29494) anInt496 = 32; - if (Class316.aClass348_Sub51_3959.aClass239_Sub26_7272.method1838(-32350) != 0 && i != 0 && Class147.anInt2021 < 50 && i_7_ != -1) Class258_Sub2.aClass10Array8531[Class147.anInt2021++] = new Class10((byte) 1, i_7_, i, i_4_, i_5_, i_3_, i_6_, null); - anInt490++; - } - - static final synchronized byte[] method359(int i, int i_9_) { - anInt493++; - if (i == 100 && Class348_Sub40_Sub31.anInt9412 > 0) { - byte[] is = Class24.aByteArrayArray358[--Class348_Sub40_Sub31.anInt9412]; - Class24.aByteArrayArray358[Class348_Sub40_Sub31.anInt9412] = null; - return is; - } - if (i == 5000 && Class348_Sub40_Sub21.anInt9280 > 0) { - byte[] is = (Class133.aByteArrayArray1918[--Class348_Sub40_Sub21.anInt9280]); - Class133.aByteArrayArray1918[Class348_Sub40_Sub21.anInt9280] = null; - return is; - } - if (i_9_ != -1) method359(-88, -45); - if (i == 30000 && Class348_Sub31.anInt6913 > 0) { - byte[] is = (Class285_Sub2.aByteArrayArray8505[--Class348_Sub31.anInt6913]); - Class285_Sub2.aByteArrayArray8505[Class348_Sub31.anInt6913] = null; - return is; - } - if (Class348_Sub40_Sub6.aByteArrayArrayArray9134 != null) { - for (int i_10_ = 0; Class59_Sub2_Sub2.anIntArray8684.length > i_10_; i_10_++) { - if ((i == Class59_Sub2_Sub2.anIntArray8684[i_10_]) && Class190.anIntArray2552[i_10_] > 0) { - byte[] is = (Class348_Sub40_Sub6.aByteArrayArrayArray9134[i_10_][--Class190.anIntArray2552[i_10_]]); - Class348_Sub40_Sub6.aByteArrayArrayArray9134[i_10_][Class190.anIntArray2552[i_10_]] = null; - return is; - } - } - } - return new byte[i]; - } -} diff --git a/client/src/Class370.java b/client/src/Class370.java deleted file mode 100644 index dc77df6e1..000000000 --- a/client/src/Class370.java +++ /dev/null @@ -1,152 +0,0 @@ -/* Class370 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class370 { - int anInt4514; - private float[][] aFloatArrayArray4515; - private final int[] anIntArray4516; - private int[] anIntArray4517; - private final int anInt4518; - private int[] anIntArray4519; - - private final void method3579() { - int[] is = new int[anInt4518]; - int[] is_0_ = new int[33]; - for (int i = 0; i < anInt4518; i++) { - int i_1_ = anIntArray4516[i]; - if (i_1_ != 0) { - int i_2_ = 1 << 32 - i_1_; - int i_3_ = is_0_[i_1_]; - is[i] = i_3_; - int i_4_; - if ((i_3_ & i_2_) == 0) { - i_4_ = i_3_ | i_2_; - for (int i_5_ = i_1_ - 1; i_5_ >= 1; i_5_--) { - int i_6_ = is_0_[i_5_]; - if (i_6_ != i_3_) break; - int i_7_ = 1 << 32 - i_5_; - if ((i_6_ & i_7_) != 0) { - is_0_[i_5_] = is_0_[i_5_ - 1]; - break; - } - is_0_[i_5_] = i_6_ | i_7_; - } - } else i_4_ = is_0_[i_1_ - 1]; - is_0_[i_1_] = i_4_; - for (int i_8_ = i_1_ + 1; i_8_ <= 32; i_8_++) { - int i_9_ = is_0_[i_8_]; - if (i_9_ == i_3_) is_0_[i_8_] = i_4_; - } - } - } - anIntArray4519 = new int[8]; - int i = 0; - for (int i_10_ = 0; i_10_ < anInt4518; i_10_++) { - int i_11_ = anIntArray4516[i_10_]; - if (i_11_ != 0) { - int i_12_ = is[i_10_]; - int i_13_ = 0; - for (int i_14_ = 0; i_14_ < i_11_; i_14_++) { - int i_15_ = -2147483648 >>> i_14_; - if ((i_12_ & i_15_) != 0) { - if (anIntArray4519[i_13_] == 0) anIntArray4519[i_13_] = i; - i_13_ = anIntArray4519[i_13_]; - } else i_13_++; - if (i_13_ >= anIntArray4519.length) { - int[] is_16_ = new int[anIntArray4519.length * 2]; - for (int i_17_ = 0; i_17_ < anIntArray4519.length; i_17_++) - is_16_[i_17_] = anIntArray4519[i_17_]; - anIntArray4519 = is_16_; - } - i_15_ >>>= 1; - } - anIntArray4519[i_13_] = ~i_10_; - if (i_13_ >= i) i = i_13_ + 1; - } - } - } - - private static final int method3580(int i, int i_18_) { - int i_19_; - for (i_19_ = (int) Math.pow(i, 1.0 / (double) i_18_) + 1; Class348_Sub49.method3331(i_18_, (byte) 64, i_19_) > i; i_19_--) { - /* empty */ - } - return i_19_; - } - - final int method3581() { - int i; - for (i = 0; anIntArray4519[i] >= 0; i = (Class348_Sub10.method2788() != 0 ? anIntArray4519[i] : i + 1)) { - /* empty */ - } - return ~anIntArray4519[i]; - } - - final float[] method3582() { - return aFloatArrayArray4515[method3581()]; - } - - Class370() { - Class348_Sub10.method2789(24); - this.anInt4514 = Class348_Sub10.method2789(16); - anInt4518 = Class348_Sub10.method2789(24); - anIntArray4516 = new int[anInt4518]; - boolean bool = Class348_Sub10.method2788() != 0; - if (bool) { - int i = 0; - int i_20_ = Class348_Sub10.method2789(5) + 1; - while (i < anInt4518) { - int i_21_ = Class348_Sub10.method2789(Class299.method2253(anInt4518 - i, 126)); - for (int i_22_ = 0; i_22_ < i_21_; i_22_++) - anIntArray4516[i++] = i_20_; - i_20_++; - } - } else { - boolean bool_23_ = Class348_Sub10.method2788() != 0; - for (int i = 0; i < anInt4518; i++) { - if (bool_23_ && Class348_Sub10.method2788() == 0) anIntArray4516[i] = 0; - else anIntArray4516[i] = Class348_Sub10.method2789(5) + 1; - } - } - method3579(); - int i = Class348_Sub10.method2789(4); - if (i > 0) { - float f = Class348_Sub10.method2786(Class348_Sub10.method2789(32)); - float f_24_ = Class348_Sub10.method2786(Class348_Sub10.method2789(32)); - int i_25_ = Class348_Sub10.method2789(4) + 1; - boolean bool_26_ = Class348_Sub10.method2788() != 0; - int i_27_; - if (i == 1) i_27_ = method3580(anInt4518, this.anInt4514); - else i_27_ = anInt4518 * this.anInt4514; - anIntArray4517 = new int[i_27_]; - for (int i_28_ = 0; i_28_ < i_27_; i_28_++) - anIntArray4517[i_28_] = Class348_Sub10.method2789(i_25_); - aFloatArrayArray4515 = new float[anInt4518][this.anInt4514]; - if (i == 1) { - for (int i_29_ = 0; i_29_ < anInt4518; i_29_++) { - float f_30_ = 0.0F; - int i_31_ = 1; - for (int i_32_ = 0; i_32_ < this.anInt4514; i_32_++) { - int i_33_ = i_29_ / i_31_ % i_27_; - float f_34_ = ((float) anIntArray4517[i_33_] * f_24_ + f + f_30_); - aFloatArrayArray4515[i_29_][i_32_] = f_34_; - if (bool_26_) f_30_ = f_34_; - i_31_ *= i_27_; - } - } - } else { - for (int i_35_ = 0; i_35_ < anInt4518; i_35_++) { - float f_36_ = 0.0F; - int i_37_ = i_35_ * this.anInt4514; - for (int i_38_ = 0; i_38_ < this.anInt4514; i_38_++) { - float f_39_ = ((float) anIntArray4517[i_37_] * f_24_ + f + f_36_); - aFloatArrayArray4515[i_35_][i_38_] = f_39_; - if (bool_26_) f_36_ = f_39_; - i_37_++; - } - } - } - } - } -} diff --git a/client/src/Class371.java b/client/src/Class371.java deleted file mode 100644 index e7620bb6d..000000000 --- a/client/src/Class371.java +++ /dev/null @@ -1,34 +0,0 @@ -/* Class371 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class371 { - int anInt4520; - static int anInt4521; - int anInt4522; - static int anInt4523; - int anInt4524; - int anInt4525; - - static final Class258_Sub3_Sub1 method3583(boolean bool, byte[] is, int i, int i_0_, ha_Sub2 var_ha_Sub2, int i_1_, int i_2_, int i_3_) { - try { - anInt4521++; - if (i_1_ > -17) return null; - if (var_ha_Sub2.aBoolean7793 || Class192.method1436(-58, i_3_) && Class192.method1436(-68, i_0_)) return new Class258_Sub3_Sub1(var_ha_Sub2, 3553, i_2_, i_3_, i_0_, bool, is, i); - if (var_ha_Sub2.aBoolean7837) return new Class258_Sub3_Sub1(var_ha_Sub2, 34037, i_2_, i_3_, i_0_, bool, is, i); - return new Class258_Sub3_Sub1(var_ha_Sub2, i_2_, i_3_, i_0_, Class33.method340(i_3_, (byte) 108), Class33.method340(i_0_, (byte) 108), is, i); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("fr.B(" + bool + ',' + (is != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i_1_ + ',' + i_2_ + ',' + i_3_ + ')')); - } - } - - static final boolean method3584(int i, int i_4_) { - if (i_4_ != 1) return false; - anInt4523++; - return i == 0 || i == 1 || i == 2; - } - - public Class371() { - /* empty */ - } -} diff --git a/client/src/Class372.java b/client/src/Class372.java deleted file mode 100644 index b0b786110..000000000 --- a/client/src/Class372.java +++ /dev/null @@ -1,56 +0,0 @@ -/* Class372 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class372 { - private final ha_Sub3 aHa_Sub3_4526; - static int anInt4527; - private final d aD4528; - static int anInt4529; - static int anInt4530; - private final Class60 aClass60_4531 = new Class60(256); - static int anInt4532 = 1407; - - final void method3585(int i) { - anInt4530++; - if (i == 7271) aClass60_4531.method590(0); - } - - final void method3586(int i) { - aClass60_4531.method578(2, 5); - if (i != -16130) method3586(-94); - anInt4527++; - } - - final Interface18_Impl3 method3587(byte i, int i_0_) { - anInt4529++; - Object object = aClass60_4531.method583(i_0_, 107); - if (object != null) return (Interface18_Impl3) object; - if (!aD4528.method4(-7953, i_0_)) return null; - if (i > -30) anInt4532 = 37; - Class12 class12 = aD4528.method3(i_0_, -6662); - int i_1_ = (!class12.aBoolean199 ? aHa_Sub3_4526.anInt8150 : 64); - Interface18_Impl3 interface18_impl3; - if (class12.aBoolean218 && aHa_Sub3_4526.method3666()) { - float[] fs = aD4528.method1(i_1_, 0.7F, false, -30824, i_1_, i_0_); - interface18_impl3 = aHa_Sub3_4526.method3891(fs, i_1_, i_1_, Class108.aClass304_1662, -109, class12.aByte205 != 0); - } else { - int[] is; - if (class12.anInt200 == 2 || !Class251.method1915((byte) 4, class12.aByte213)) is = aD4528.method6(-21540, i_1_, 0.7F, i_0_, false, i_1_); - else is = aD4528.method5(true, i_0_, 0.7F, i_1_, i_1_, 83); - interface18_impl3 = aHa_Sub3_4526.method3839(i_1_, i_1_, -15137, class12.aByte205 != 0, is); - } - interface18_impl3.method66(class12.aBoolean217, class12.aBoolean215, 25688); - aClass60_4531.method582(interface18_impl3, i_0_, (byte) -107); - return interface18_impl3; - } - - Class372(ha_Sub3 var_ha_Sub3, d var_d) { - try { - aHa_Sub3_4526 = var_ha_Sub3; - aD4528 = var_d; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("fw.(" + (var_ha_Sub3 != null ? "{...}" : "null") + ',' + (var_d != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class373.java b/client/src/Class373.java deleted file mode 100644 index 222a3af60..000000000 --- a/client/src/Class373.java +++ /dev/null @@ -1,47 +0,0 @@ -/* Class373 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class373 { - static int anInt4533; - static int anInt4534; - static int anInt4535; - - abstract boolean method3588(int i); - - abstract void method3589(int i); - - public Class373() { - /* empty */ - } - - abstract boolean method3590(byte i); - - static final Class181 method3591(int i, int i_0_) { - anInt4535++; - Class181 class181 = (Class181) Class5.aClass60_4636.method583(i, i_0_ + -128); - if (class181 != null) return class181; - byte[] is = Class239_Sub12.aClass45_5964.method410(-1860, i_0_, i); - class181 = new Class181(); - if (is != null) class181.method1370(24, new Class348_Sub49(is)); - class181.method1371(4); - Class5.aClass60_4636.method582(class181, i, (byte) -103); - return class181; - } - - abstract void method3592(int i); - - final boolean method3593(int i) { - anInt4533++; - if (i <= 91) method3593(53); - return method3595(-83) || method3588(-121) || method3590((byte) 125); - } - - abstract int method3594(byte i); - - abstract boolean method3595(int i); - - abstract Class348_Sub45 method3596(int i); - - abstract int method3597(boolean bool); -} diff --git a/client/src/Class373_Sub1.java b/client/src/Class373_Sub1.java deleted file mode 100644 index 9866183de..000000000 --- a/client/src/Class373_Sub1.java +++ /dev/null @@ -1,170 +0,0 @@ -/* Class373_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; -import java.awt.event.*; - -final class Class373_Sub1 extends Class373 implements MouseListener, MouseMotionListener, MouseWheelListener { - private int anInt7416; - private int anInt7417; - private Class262 aClass262_7418 = new Class262(); - private int anInt7419; - private Class262 aClass262_7420 = new Class262(); - private int anInt7421; - private int anInt7422; - private int anInt7423; - private final boolean aBoolean7424; - private Component aComponent7425; - - final boolean method3588(int i) { - int i_0_ = -59 % ((i - -38) / 48); - return (anInt7419 & 0x2) != 0; - } - - private final void method3598(int i, int i_1_, int i_2_, int i_3_, boolean bool) { - Class348_Sub45_Sub1 class348_sub45_sub1 = new Class348_Sub45_Sub1(); - class348_sub45_sub1.anInt9725 = i_3_; - class348_sub45_sub1.anInt9728 = i_1_; - class348_sub45_sub1.anInt9729 = i; - class348_sub45_sub1.aLong9726 = Class62.method599(-115); - class348_sub45_sub1.anInt9727 = i_2_; - if (bool) mouseDragged(null); - aClass262_7420.method1999(class348_sub45_sub1, -20180); - } - - public final synchronized void mouseReleased(MouseEvent mouseevent) { - int i = method3600(mouseevent, -75); - if ((i & anInt7422) == 0) i = anInt7422; - if (0 != (0x1 & i)) method3598(mouseevent.getX(), 3, mouseevent.getClickCount(), mouseevent.getY(), false); - if ((i & 0x4) != 0) method3598(mouseevent.getX(), 5, mouseevent.getClickCount(), mouseevent.getY(), false); - if ((0x2 & i) != 0) method3598(mouseevent.getX(), 4, mouseevent.getClickCount(), mouseevent.getY(), false); - anInt7422 &= ~i; - if (mouseevent.isPopupTrigger()) mouseevent.consume(); - } - - final int method3594(byte i) { - if (i < 69) method3598(92, 34, 59, 2, false); - return anInt7416; - } - - private final void method3599(int i, int i_4_, int i_5_) { - if (i_4_ == -1) { - anInt7421 = i_5_; - anInt7423 = i; - if (aBoolean7424) method3598(i, -1, 0, i_5_, false); - } - } - - final boolean method3590(byte i) { - if (i <= 112) return false; - return (anInt7419 & 0x4) != 0; - } - - public final synchronized void mousePressed(MouseEvent mouseevent) { - int i = method3600(mouseevent, -90); - if (1 == i) method3598(mouseevent.getX(), 0, mouseevent.getClickCount(), mouseevent.getY(), false); - else if (i == 4) method3598(mouseevent.getX(), 2, mouseevent.getClickCount(), mouseevent.getY(), false); - else if (i == 2) method3598(mouseevent.getX(), 1, mouseevent.getClickCount(), mouseevent.getY(), false); - anInt7422 |= i; - if (mouseevent.isPopupTrigger()) mouseevent.consume(); - } - - final int method3597(boolean bool) { - if (bool != true) return 27; - return anInt7417; - } - - private final int method3600(MouseEvent mouseevent, int i) { - if (mouseevent.getButton() == 1) { - if (mouseevent.isMetaDown()) return 4; - return 1; - } - if (mouseevent.getButton() == 2) return 2; - int i_6_ = -27 % ((57 - i) / 63); - if (mouseevent.getButton() == 3) return 4; - return 0; - } - - public final synchronized void mouseEntered(MouseEvent mouseevent) { - method3599(mouseevent.getX(), -1, mouseevent.getY()); - } - - public final synchronized void mouseClicked(MouseEvent mouseevent) { - if (mouseevent.isPopupTrigger()) mouseevent.consume(); - } - - final boolean method3595(int i) { - if (i >= -67) mouseMoved(null); - return (anInt7419 & 0x1) != 0; - } - - final Class348_Sub45 method3596(int i) { - if (i != 0) mouseReleased(null); - return (Class348_Sub45) aClass262_7418.method1997(8); - } - - public final synchronized void mouseMoved(MouseEvent mouseevent) { - method3599(mouseevent.getX(), -1, mouseevent.getY()); - } - - private final void method3601(int i) { - if (null != aComponent7425) { - int i_7_ = 11 % ((i - -21) / 55); - aComponent7425.removeMouseWheelListener(this); - aComponent7425.removeMouseMotionListener(this); - aComponent7425.removeMouseListener(this); - aComponent7425 = null; - anInt7423 = anInt7421 = anInt7422 = 0; - anInt7417 = anInt7416 = anInt7419 = 0; - aClass262_7418 = null; - aClass262_7420 = null; - } - } - - final synchronized void method3589(int i) { - anInt7416 = anInt7421; - anInt7417 = anInt7423; - anInt7419 = anInt7422; - if (i == 0) { - Class262 class262 = aClass262_7418; - aClass262_7418 = aClass262_7420; - aClass262_7420 = class262; - aClass262_7420.method1996(127); - } - } - - public final synchronized void mouseWheelMoved(MouseWheelEvent mousewheelevent) { - int i = mousewheelevent.getX(); - int i_8_ = mousewheelevent.getY(); - int i_9_ = mousewheelevent.getWheelRotation(); - method3598(i, 6, i_9_, i_8_, false); - mousewheelevent.consume(); - } - - public final synchronized void mouseExited(MouseEvent mouseevent) { - method3599(mouseevent.getX(), -1, mouseevent.getY()); - } - - public final synchronized void mouseDragged(MouseEvent mouseevent) { - method3599(mouseevent.getX(), -1, mouseevent.getY()); - } - - final void method3592(int i) { - if (i == 0) method3601(46); - } - - private final void method3602(int i, Component component) { - method3601(i ^ 0x6e); - aComponent7425 = component; - if (i != 0) aComponent7425 = null; - aComponent7425.addMouseListener(this); - aComponent7425.addMouseMotionListener(this); - aComponent7425.addMouseWheelListener(this); - } - - Class373_Sub1(Component component, boolean bool) { - method3602(0, component); - aBoolean7424 = bool; - } -} diff --git a/client/src/Class373_Sub2.java b/client/src/Class373_Sub2.java deleted file mode 100644 index 581152b11..000000000 --- a/client/src/Class373_Sub2.java +++ /dev/null @@ -1,229 +0,0 @@ -/* Class373_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; -import java.awt.event.MouseEvent; -import java.awt.event.MouseListener; -import java.awt.event.MouseMotionListener; - -final class Class373_Sub2 extends Class373 implements MouseListener, MouseMotionListener { - static int anInt7426; - static int anInt7427; - static int anInt7428; - static int anInt7429; - static int anInt7430; - static int anInt7431; - private int anInt7432; - static int anInt7433; - static int anInt7434; - static int anInt7435; - static int anInt7436; - static int anInt7437; - static int anInt7438; - static int anInt7439; - static int anInt7440; - private Class262 aClass262_7441 = new Class262(); - private int anInt7442; - static int anInt7443; - static boolean aBoolean7444 = false; - static int anInt7445; - static Class283[] aClass283Array7446; - static int anInt7447; - private int anInt7448; - static int anInt7449; - private Class262 aClass262_7450 = new Class262(); - static int anInt7451; - static int anInt7452; - private int anInt7453; - private int anInt7454; - static int anInt7455; - private int anInt7456; - static int anInt7457; - private final boolean aBoolean7458; - private Component aComponent7459; - - private final void method3603(byte i, Component component) { - anInt7447++; - if (i >= -83) mouseExited(null); - method3608(85); - aComponent7459 = component; - aComponent7459.addMouseListener(this); - aComponent7459.addMouseMotionListener(this); - } - - public final synchronized void mouseDragged(MouseEvent mouseevent) { - method3605(mouseevent.getY(), (byte) -76, mouseevent.getX()); - anInt7427++; - } - - public final synchronized void mouseEntered(MouseEvent mouseevent) { - method3605(mouseevent.getY(), (byte) -76, mouseevent.getX()); - anInt7426++; - } - - private final int method3604(int i, MouseEvent mouseevent) { - anInt7436++; - int i_0_ = mouseevent.getModifiers(); - boolean bool = (0x10 & i_0_) != 0; - boolean bool_1_ = (i_0_ & 0x8) != 0; - boolean bool_2_ = (0x4 & i_0_) != 0; - if (bool_1_ && (bool || bool_2_)) bool_1_ = false; - if (bool && bool_2_) return 4; - if (bool) return 1; - if (bool_1_) return 2; - if (i != -6345) method3596(-12); - if (bool_2_) return 4; - return 0; - } - - public final synchronized void mouseExited(MouseEvent mouseevent) { - method3605(mouseevent.getY(), (byte) -76, mouseevent.getX()); - anInt7452++; - } - - final boolean method3590(byte i) { - anInt7457++; - if (i <= 112) method3606(-77, 6, -104, -59, 86); - return (anInt7432 & 0x4) != 0; - } - - final synchronized void method3589(int i) { - if (i != 0) method3589(-46); - anInt7432 = anInt7456; - anInt7440++; - anInt7448 = anInt7453; - anInt7442 = anInt7454; - Class262 class262 = aClass262_7441; - aClass262_7441 = aClass262_7450; - aClass262_7450 = class262; - aClass262_7450.method1996(i ^ 0x66); - } - - public final synchronized void mouseMoved(MouseEvent mouseevent) { - anInt7435++; - method3605(mouseevent.getY(), (byte) -76, mouseevent.getX()); - } - - private final void method3605(int i, byte i_3_, int i_4_) { - anInt7445++; - anInt7454 = i_4_; - if (i_3_ != -76) anInt7429 = 51; - anInt7453 = i; - if (aBoolean7458) method3606(-1, i, i_4_, 0, -125); - } - - final int method3594(byte i) { - anInt7430++; - if (i <= 69) return -123; - return anInt7448; - } - - final Class348_Sub45 method3596(int i) { - if (i != 0) mouseReleased(null); - anInt7437++; - return (Class348_Sub45) aClass262_7441.method1997(i + 8); - } - - private final void method3606(int i, int i_5_, int i_6_, int i_7_, int i_8_) { - anInt7439++; - Class348_Sub45_Sub2 class348_sub45_sub2 = new Class348_Sub45_Sub2(); - class348_sub45_sub2.anInt9739 = i_6_; - class348_sub45_sub2.anInt9733 = i_5_; - class348_sub45_sub2.anInt9730 = i_7_; - class348_sub45_sub2.anInt9736 = i; - class348_sub45_sub2.aLong9734 = Class62.method599(-110); - aClass262_7450.method1999(class348_sub45_sub2, -20180); - if (i_8_ >= -110) method3607(28, null, -68); - } - - public final synchronized void mouseClicked(MouseEvent mouseevent) { - if (mouseevent.isPopupTrigger()) mouseevent.consume(); - anInt7438++; - } - - final void method3592(int i) { - if (i != 0) method3597(false); - anInt7433++; - method3608(84); - } - - final boolean method3588(int i) { - int i_9_ = -108 % ((-38 - i) / 48); - anInt7434++; - return (anInt7432 & 0x2) != 0; - } - - final boolean method3595(int i) { - anInt7455++; - if (i >= -67) mouseExited(null); - return (anInt7432 & 0x1) != 0; - } - - static final String method3607(int i, Class348_Sub49 class348_sub49, int i_10_) { - int i_11_ = 17 % ((9 - i_10_) / 59); - anInt7451++; - try { - int i_12_ = class348_sub49.readSmart(-122); - if (i < i_12_) i_12_ = i; - byte[] is = new byte[i_12_]; - class348_sub49.anInt7197 += (Class64.aClass296_1131.method2226(is, class348_sub49.anInt7197, class348_sub49.aByteArray7154, i_12_, -1, 0)); - String string = Class367_Sub8.method3546(is, 0, i_12_, 0); - return string; - } catch (Exception exception) { - return "Cabbage"; - } - } - - public final synchronized void mouseReleased(MouseEvent mouseevent) { - anInt7428++; - int i = method3604(-6345, mouseevent); - if ((i & anInt7456) == 0) i = anInt7456; - if ((i & 0x1) != 0) method3606(3, mouseevent.getY(), mouseevent.getX(), mouseevent.getClickCount(), -116); - if ((0x4 & i) != 0) method3606(5, mouseevent.getY(), mouseevent.getX(), mouseevent.getClickCount(), -119); - if ((0x2 & i) != 0) method3606(4, mouseevent.getY(), mouseevent.getX(), mouseevent.getClickCount(), -117); - anInt7456 &= ~i; - if (mouseevent.isPopupTrigger()) mouseevent.consume(); - } - - private final void method3608(int i) { - anInt7431++; - if (aComponent7459 != null) { - aComponent7459.removeMouseMotionListener(this); - aComponent7459.removeMouseListener(this); - aComponent7459 = null; - aClass262_7441 = null; - aClass262_7450 = null; - anInt7442 = anInt7448 = anInt7432 = 0; - int i_13_ = -106 / ((-57 - i) / 46); - anInt7454 = anInt7453 = anInt7456 = 0; - } - } - - final int method3597(boolean bool) { - if (bool != true) anInt7453 = -101; - anInt7443++; - return anInt7442; - } - - public final synchronized void mousePressed(MouseEvent mouseevent) { - anInt7449++; - int i = method3604(-6345, mouseevent); - if (i != 1) { - if (i == 4) method3606(2, mouseevent.getY(), mouseevent.getX(), mouseevent.getClickCount(), -112); - else if (i == 2) method3606(1, mouseevent.getY(), mouseevent.getX(), mouseevent.getClickCount(), -121); - } else method3606(0, mouseevent.getY(), mouseevent.getX(), mouseevent.getClickCount(), -126); - anInt7456 |= i; - if (mouseevent.isPopupTrigger()) mouseevent.consume(); - } - - public static void method3609(byte i) { - int i_14_ = 49 % ((i - -35) / 41); - aClass283Array7446 = null; - } - - Class373_Sub2(Component component, boolean bool) { - method3603((byte) -108, component); - aBoolean7458 = bool; - } -} diff --git a/client/src/Class374.java b/client/src/Class374.java deleted file mode 100644 index 0418ecfb1..000000000 --- a/client/src/Class374.java +++ /dev/null @@ -1,33 +0,0 @@ -/* Class374 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.*; - -final class Class374 { - static int anInt4536; - static Class74 aClass74_4537 = new Class74(3, 2); - static Class78 aClass78_4538; - - static final void method3610(byte[] is, byte i, int i_0_, File file) throws IOException { - try { - anInt4536++; - DataInputStream datainputstream = (new DataInputStream(new BufferedInputStream(new FileInputStream(file)))); - try { - int i_1_ = -11 % ((-43 - i) / 33); - datainputstream.readFully(is, 0, i_0_); - } catch (java.io.EOFException eofexception) { - /* empty */ - } - datainputstream.close(); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("gca.A(" + (is != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + (file != null ? "{...}" : "null") + ')')); - } - } - - public static void method3611(boolean bool) { - if (bool != true) aClass74_4537 = null; - aClass74_4537 = null; - aClass78_4538 = null; - } -} diff --git a/client/src/Class375.java b/client/src/Class375.java deleted file mode 100644 index a3f9d84b3..000000000 --- a/client/src/Class375.java +++ /dev/null @@ -1,39 +0,0 @@ -/* Class375 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class375 { - static int anInt4539; - static boolean aBoolean4540 = false; - static int anInt4541; - static boolean aBoolean4542 = false; - static Class60 aClass60_4543 = new Class60(8); - static int anInt4544 = -1; - static int anInt4545 = -1; - - static final void method3612(int i, Class348_Sub49_Sub2 class348_sub49_sub2) { - if (i < 59) method3614(-51, 64, -115, null, -96); - for (int i_0_ = 0; i_0_ < Class101_Sub3.anInt5768; i_0_++) { - int i_1_ = Class18.anIntArray279[i_0_]; - Player player = Class294.aPlayerArray5058[i_1_]; - int i_2_ = class348_sub49_sub2.readUnsignedByte(255); - if ((i_2_ & 0x40) != 0) i_2_ += class348_sub49_sub2.readUnsignedByte(255) << 8; - if ((i_2_ & 0x4000) != 0) i_2_ += class348_sub49_sub2.readUnsignedByte(255) << 16; - Class133.method1141(class348_sub49_sub2, i_1_, i_2_, 123, player); - } - anInt4541++; - } - - public static void method3613(int i) { - if (i != 64) method3612(-7, null); - aClass60_4543 = null; - } - - static final void method3614(int i, int i_3_, int i_4_, Class348_Sub47 class348_sub47, int i_5_) { - anInt4539++; - if (i_5_ != -19692) method3613(10); - class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 124, i); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_4_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_3_); - } -} diff --git a/client/src/Class376.java b/client/src/Class376.java deleted file mode 100644 index c91309822..000000000 --- a/client/src/Class376.java +++ /dev/null @@ -1,150 +0,0 @@ -/* Class376 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.EOFException; -import java.io.IOException; -import java.io.InputStream; - -final class Class376 implements Runnable { - private int anInt4546; - static int anInt4547; - private InputStream anInputStream4548; - static int anInt4549; - static int anInt4550; - static int anInt4551; - static int anInt4552; - static int anInt4553; - private final byte[] aByteArray4554; - static int anInt4555; - private int anInt4556 = 0; - private final Thread aThread4557; - private int anInt4558 = 0; - static int anInt4559 = 0; - private IOException anIOException4560; - - final void method3615(int i) { - synchronized (this) { - if (i != 15984) run(); - if (anIOException4560 == null) anIOException4560 = new IOException(""); - this.notifyAll(); - } - anInt4552++; - try { - aThread4557.join(); - } catch (InterruptedException interruptedexception) { - /* empty */ - } - } - - static final void method3616(int i) { - anInt4549++; - if (Class182.anInterface16Array2447 != null) { - Interface16[] interface16s = Class182.anInterface16Array2447; - for (int i_0_ = 0; i_0_ < interface16s.length; i_0_++) { - Interface16 interface16 = interface16s[i_0_]; - interface16.method57(108); - } - } - if (i != 12639) anInt4559 = 72; - } - - public final void run() { - anInt4553++; - for (; ; ) { - int i; - synchronized (this) { - for (; ; ) { - if (anIOException4560 != null) return; - if (anInt4556 != 0) { - if (anInt4556 < anInt4558) i = -anInt4558 + anInt4546; - else i = -1 + anInt4556 - anInt4558; - } else i = -1 + (anInt4546 + -anInt4558); - if (i > 0) break; - try { - this.wait(); - } catch (InterruptedException interruptedexception) { - /* empty */ - } - } - } - int i_1_; - try { - i_1_ = anInputStream4548.read(aByteArray4554, anInt4558, i); - if (i_1_ == -1) throw new EOFException(); - } catch (IOException ioexception) { - synchronized (this) { - anIOException4560 = ioexception; - break; - } - } - synchronized (this) { - anInt4558 = (i_1_ + anInt4558) % anInt4546; - } - } - } - - final int method3617(int i, int i_2_, int i_3_, byte[] is) throws IOException { - anInt4555++; - if (i < 0 || i_2_ < 0 || is.length < i_2_ + i) throw new IOException(); - synchronized (this) { - int i_4_; - if (anInt4556 <= anInt4558) i_4_ = anInt4558 + -anInt4556; - else i_4_ = anInt4546 + (-anInt4556 - -anInt4558); - if (i_4_ < i) i = i_4_; - if (i_3_ == i && anIOException4560 != null) throw new IOException(anIOException4560.toString()); - if (anInt4546 < i + anInt4556) { - int i_5_ = anInt4546 - anInt4556; - Class214.method1577(aByteArray4554, anInt4556, is, i_2_, i_5_); - Class214.method1577(aByteArray4554, 0, is, i_2_ - -i_5_, i - i_5_); - } else Class214.method1577(aByteArray4554, anInt4556, is, i_2_, i); - anInt4556 = (anInt4556 - -i) % anInt4546; - this.notifyAll(); - return i; - } - } - - final void method3618(int i) { - anInt4550++; - if (i != 0) anInt4546 = 110; - anInputStream4548 = new InputStream_Sub1(); - } - - final boolean method3619(int i, boolean bool) throws IOException { - anInt4551++; - if (i <= 0 || i >= anInt4546) throw new IOException(); - synchronized (this) { - int i_6_; - if (anInt4556 > anInt4558) i_6_ = -anInt4556 + anInt4546 - -anInt4558; - else i_6_ = anInt4558 - anInt4556; - if (i > i_6_) { - if (anIOException4560 != null) throw new IOException(anIOException4560.toString()); - return false; - } - return bool == false; - } - } - - Class376(InputStream inputstream, int i) { - anInt4546 = i - -1; - anInputStream4548 = inputstream; - aByteArray4554 = new byte[anInt4546]; - aThread4557 = new Thread(this); - aThread4557.setDaemon(true); - aThread4557.start(); - } - - static final Class148 method3620(Class318_Sub1_Sub3 class318_sub1_sub3, int i) { - if (i < 9) anInt4559 = -27; - anInt4547++; - Class148 class148; - if (Class16.aClass148_231 != null) { - class148 = Class16.aClass148_231; - Class16.aClass148_231 = Class16.aClass148_231.aClass148_2038; - class148.aClass148_2038 = null; - ha_Sub2.anInt7722--; - } else class148 = new Class148(); - class148.aClass318_Sub1_Sub3_2040 = class318_sub1_sub3; - return class148; - } -} diff --git a/client/src/Class377.java b/client/src/Class377.java deleted file mode 100644 index 91fa0759b..000000000 --- a/client/src/Class377.java +++ /dev/null @@ -1,1220 +0,0 @@ -/* Class377 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaclib.memory.Stream; -import jaggl.MapBuffer; -import jaggl.OpenGL; - -import java.awt.*; - -final class Class377 extends ha_Sub3 { - static int anInt9812; - static int anInt9813; - static int anInt9814; - static int anInt9815; - static int anInt9816; - static int anInt9817; - static int anInt9818; - static int anInt9819; - static int anInt9820; - static int anInt9821; - static int anInt9822; - static int anInt9823; - static int anInt9824; - static int anInt9825; - static int anInt9826; - static int anInt9827; - static int anInt9828; - static int anInt9829; - static int anInt9830; - static int anInt9831; - static int anInt9832; - static int anInt9833; - static int anInt9834; - static int anInt9835; - static int anInt9836; - static int anInt9837; - static int anInt9838; - static int anInt9839; - static int anInt9840; - static int anInt9841; - static int anInt9842; - static int anInt9843; - static int anInt9844; - static int anInt9845; - static int anInt9846; - static int anInt9847; - static int anInt9848; - static int anInt9849; - static int anInt9850; - static int anInt9851; - static int anInt9852; - static int anInt9853; - static int anInt9854; - static int anInt9855; - private OpenGL anOpenGL9856; - static int anInt9857; - static int anInt9858; - static int anInt9859; - static Class138 aClass138_9860 = new Class138(15, 0, 1, 0); - static int anInt9861; - static int anInt9862; - static int anInt9863; - static int anInt9864; - static int anInt9865; - static int anInt9866; - static int anInt9867; - static int anInt9868; - private final Class262 aClass262_9869 = new Class262(); - static int anInt9870; - static int anInt9871; - static int anInt9872; - static int anInt9873; - static int anInt9874; - static int anInt9875; - static int anInt9876; - static int anInt9877; - static int anInt9878; - static int anInt9879; - static int anInt9880; - static int anInt9881; - static int anInt9882; - static int anInt9883; - static int anInt9884; - static int anInt9885; - static int anInt9886; - static int anInt9887; - static int anInt9888; - static int anInt9889; - static int anInt9890; - static int anInt9891; - static int anInt9892; - static int anInt9893; - static int anInt9894; - static int anInt9895; - static int anInt9896; - static int anInt9897; - static int anInt9898; - private Class262 aClass262_9899 = new Class262(); - static int anInt9900; - private final Class262 aClass262_9901 = new Class262(); - private Class262 aClass262_9902 = new Class262(); - private Class262 aClass262_9903 = new Class262(); - private final Class262 aClass262_9904 = new Class262(); - private Class262 aClass262_9905 = new Class262(); - private long aLong9906; - private Class285_Sub1[] aClass285_Sub1Array9907 = new Class285_Sub1[16]; - private boolean aBoolean9908; - private int anInt9909; - private boolean aBoolean9910; - private boolean aBoolean9911; - private boolean aBoolean9912; - MapBuffer aMapBuffer9913 = new MapBuffer(); - private boolean aBoolean9914; - MapBuffer aMapBuffer9915 = new MapBuffer(); - private String aString9916; - private final String aString9917; - int anInt9918; - private boolean aBoolean9919; - boolean aBoolean9920; - boolean aBoolean9921; - boolean aBoolean9922; - boolean aBoolean9923; - private int anInt9924; - private int anInt9925 = 0; - private final boolean aBoolean9926; - int[] anIntArray9927; - - final synchronized void method3646(int i) { - anInt9870++; - int i_0_ = 0; - i &= 0x7fffffff; - while (!aClass262_9899.method2002((byte) 18)) { - Class348_Sub35 class348_sub35 = (Class348_Sub35) aClass262_9899.method1997(8); - Class107.anIntArray1650[i_0_++] = (int) class348_sub35.aLong4291; - this.anInt8063 -= class348_sub35.anInt6976; - if (i_0_ == 1000) { - OpenGL.glDeleteBuffersARB(i_0_, Class107.anIntArray1650, 0); - i_0_ = 0; - } - } - if (i_0_ > 0) { - OpenGL.glDeleteBuffersARB(i_0_, Class107.anIntArray1650, 0); - i_0_ = 0; - } - while (!aClass262_9901.method2002((byte) 18)) { - Class348_Sub35 class348_sub35 = (Class348_Sub35) aClass262_9901.method1997(8); - Class107.anIntArray1650[i_0_++] = (int) class348_sub35.aLong4291; - this.anInt8062 -= class348_sub35.anInt6976; - if (i_0_ == 1000) { - OpenGL.glDeleteTextures(i_0_, Class107.anIntArray1650, 0); - i_0_ = 0; - } - } - if (i_0_ > 0) { - OpenGL.glDeleteTextures(i_0_, Class107.anIntArray1650, 0); - i_0_ = 0; - } - while (!aClass262_9902.method2002((byte) 18)) { - Class348_Sub35 class348_sub35 = (Class348_Sub35) aClass262_9902.method1997(8); - Class107.anIntArray1650[i_0_++] = class348_sub35.anInt6976; - if (i_0_ == 1000) { - OpenGL.glDeleteFramebuffersEXT(i_0_, Class107.anIntArray1650, 0); - i_0_ = 0; - } - } - if (i_0_ > 0) { - OpenGL.glDeleteFramebuffersEXT(i_0_, Class107.anIntArray1650, 0); - i_0_ = 0; - } - while (!aClass262_9903.method2002((byte) 18)) { - Class348_Sub35 class348_sub35 = (Class348_Sub35) aClass262_9903.method1997(8); - Class107.anIntArray1650[i_0_++] = (int) class348_sub35.aLong4291; - this.anInt8079 -= class348_sub35.anInt6976; - if (i_0_ == 1000) { - OpenGL.glDeleteRenderbuffersEXT(i_0_, Class107.anIntArray1650, 0); - i_0_ = 0; - } - } - if (i_0_ > 0) { - OpenGL.glDeleteRenderbuffersEXT(i_0_, Class107.anIntArray1650, 0); - boolean bool = false; - } - while (!aClass262_9869.method2002((byte) 18)) { - Class348_Sub35 class348_sub35 = (Class348_Sub35) aClass262_9869.method1997(8); - OpenGL.glDeleteLists((int) class348_sub35.aLong4291, class348_sub35.anInt6976); - } - while (!aClass262_9904.method2002((byte) 18)) { - Class348 class348 = aClass262_9904.method1997(8); - OpenGL.glDeleteProgramARB((int) class348.aLong4291); - } - while (!aClass262_9905.method2002((byte) 18)) { - Class348 class348 = aClass262_9905.method1997(8); - OpenGL.glDeleteObjectARB(class348.aLong4291); - } - while (!aClass262_9869.method2002((byte) 18)) { - Class348_Sub35 class348_sub35 = (Class348_Sub35) aClass262_9869.method1997(8); - OpenGL.glDeleteLists((int) class348_sub35.aLong4291, class348_sub35.anInt6976); - } - if (this.E() > 100663296 && (Class62.method599(-82) > 60000L + aLong9906)) { - System.gc(); - aLong9906 = Class62.method599(-96); - } - super.method3646(i); - } - - final void method3841(byte i) { - if (i == -116) { - OpenGL.glDepthMask(this.aBoolean8124 && this.aBoolean8118); - anInt9837++; - } - } - - final Class130 method3812(int i, Class58[] class58s) { - try { - anInt9875++; - if (i != 0) this.aMapBuffer9913 = null; - return new Class130_Sub1(class58s); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bga.KD(" + i + ',' + (class58s != null ? "{...}" : "null") + ')')); - } - } - - final void method3818(boolean bool) { - anInt9844++; - if (bool != true) aClass262_9899 = null; - if (this.aBoolean8110) { - OpenGL.glEnable(16384); - OpenGL.glEnable(16385); - } else { - OpenGL.glDisable(16384); - OpenGL.glDisable(16385); - } - } - - static final void method3965(String string, int i, int i_1_) { - try { - anInt9841++; - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i, (byte) 105, i_1_);//2 - class348_sub42_sub15.method3246(-25490); - class348_sub42_sub15.aString9654 = string; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bga.AA(" + (string != null ? "{...}" : "null") + ',' + i + ',' + i_1_ + ')')); - } - } - - final void method3881(Object object, byte i, Canvas canvas) { - try { - anInt9880++; - if (i == 99) { - Long var_long = (Long) object; - if (!anOpenGL9856.setSurface(var_long.longValue())) throw new RuntimeException(); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bga.UB(" + (object != null ? "{...}" : "null") + ',' + i + ',' + (canvas != null ? "{...}" : "null") + ')')); - } - } - - final void method3901(byte i) { - anInt9831++; - if (i <= -18) method3970(1); - } - - final void method3924(boolean bool, boolean bool_2_, int i, Class70 class70, boolean bool_3_) { - try { - anInt9852++; - if (bool_2_ == false) { - OpenGL.glTexEnvi(8960, i + 34176, Class57.method531((byte) 101, class70)); - if (bool) OpenGL.glTexEnvi(8960, i + 34192, !bool_3_ ? 770 : 771); - else OpenGL.glTexEnvi(8960, i + 34192, !bool_3_ ? 768 : 769); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bga.DD(" + bool + ',' + bool_2_ + ',' + i + ',' + (class70 != null ? "{...}" : "null") + ',' + bool_3_ + ')')); - } - } - - final boolean method3880(Class68 class68, Class304 class304, byte i) { - try { - anInt9849++; - int i_4_ = -21 / ((85 - i) / 37); - return true; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bga.FB(" + (class68 != null ? "{...}" : "null") + ',' + (class304 != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - final void method3813(boolean bool) { - OpenGL.glMatrixMode(5889); - if (bool != true) method3652(); - anInt9884++; - OpenGL.glLoadMatrixf(this.aFloatArray8135, 0); - OpenGL.glMatrixMode(5888); - } - - final void ya() { - anInt9839++; - this.method3946(-32, true); - OpenGL.glClear(256); - } - - final synchronized void method3966(long l, int i) { - try { - anInt9853++; - Class348 class348 = new Class348(); - class348.aLong4291 = l; - if (i == 34192) aClass262_9905.method1999(class348, i ^ ~0xcb43); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "bga.N(" + l + ',' + i + ')'); - } - } - - final Interface13 method3624(int i, int i_5_) { - anInt9893++; - return null; - } - - final void method3935(int i) { - anInt9861++; - OpenGL.glTexEnvi(8960, 34162, Class348_Sub32.method3021((byte) 32, (this.aClass229Array8092[(this.anInt8175)]))); - if (i >= -99) method3658(-123, -102, -33, -112); - } - - final Interface18_Impl1 method3872(int i, int i_6_, Class304 class304, boolean bool, int i_7_, byte[] is) { - try { - if (bool != true) aString9916 = null; - anInt9832++; - return new Class14_Sub3(this, class304, i_6_, i_7_, i, is); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bga.ND(" + i + ',' + i_6_ + ',' + (class304 != null ? "{...}" : "null") + ',' + bool + ',' + i_7_ + ',' + (is != null ? "{...}" : "null") + ')')); - } - } - - final synchronized void method3967(int i, byte i_8_, int i_9_) { - anInt9898++; - Class348_Sub35 class348_sub35 = new Class348_Sub35(i); - if (i_8_ != 59) method3818(false); - class348_sub35.aLong4291 = i_9_; - aClass262_9901.method1999(class348_sub35, -20180); - } - - final void method3884(byte i) { - anInt9896++; - if (i != 101) method3967(52, (byte) -47, 49); - } - - final void method3928(int i) { - RuntimeException_Sub1.aFloatArray4602[0] = this.aFloat8180 * this.aFloat8093; - anInt9864++; - RuntimeException_Sub1.aFloatArray4602[2] = this.aFloat8093 * this.aFloat8168; - RuntimeException_Sub1.aFloatArray4602[1] = this.aFloat8087 * this.aFloat8093; - RuntimeException_Sub1.aFloatArray4602[3] = 1.0F; - OpenGL.glLightModelfv(2899, RuntimeException_Sub1.aFloatArray4602, i); - } - - public static void method3968(int i) { - int i_10_ = 69 % ((-67 - i) / 57); - aClass138_9860 = null; - } - - final Interface18_Impl3 method3843(int i, int i_11_, int i_12_, int i_13_, byte[] is, Class304 class304, int i_14_, boolean bool) { - try { - anInt9846++; - if (i_14_ != 32) anOpenGL9856 = null; - if (!aBoolean9926 && (!Class192.method1436(i_14_ ^ 0x46, i_12_) || !Class192.method1436(i_14_ + 83, i))) { - if (aBoolean9919) return new Class14_Sub4(this, class304, i_12_, i, is, i_11_, i_13_); - Class14_Sub1 class14_sub1 = new Class14_Sub1(this, class304, Class68.aClass68_1183, Class33.method340(i_12_, (byte) 108), Class33.method340(i, (byte) 108)); - class14_sub1.method70(0, i_11_, (byte) -45, i_13_, i, i_12_, 0, is, class304); - return class14_sub1; - } - return new Class14_Sub1(this, class304, i_12_, i, bool, is, i_11_, i_13_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bga.B(" + i + ',' + i_11_ + ',' + i_12_ + ',' + i_13_ + ',' + (is != null ? "{...}" : "null") + ',' + (class304 != null ? "{...}" : "null") + ',' + i_14_ + ',' + bool + ')')); - } - } - - final void method3910(byte i, int i_15_) { - if (i == -26) anInt9834++; - } - - final void method3871(Class113 class113, int i) { - try { - if (i == 0) { - anInt9836++; - if (class113 == Class150.aClass113_2047) { - OpenGL.glDisable(3168); - OpenGL.glDisable(3169); - OpenGL.glDisable(3170); - } else { - int i_16_ = Class318_Sub1_Sub3.method2411(class113, 25602); - OpenGL.glTexGeni(8192, 9472, i_16_); - OpenGL.glEnable(3168); - OpenGL.glTexGeni(8193, 9472, i_16_); - OpenGL.glEnable(3169); - OpenGL.glTexGeni(8194, 9472, i_16_); - OpenGL.glEnable(3170); - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bga.CD(" + (class113 != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - final void method3926(byte i, boolean bool) { - anInt9847++; - if (i <= 34) aBoolean9914 = false; - if (bool) OpenGL.glEnable(32925); - else OpenGL.glDisable(32925); - } - - final void method3940(int i) { - OpenGL.glMatrixMode(5890); - anInt9888++; - if (Class348_Sub42_Sub18.aClass251_9685 != this.aClass251Array8113[this.anInt8175]) OpenGL.glLoadMatrixf(this.aClass101_Sub2Array8131[this.anInt8175].method918(Class233.aFloatArray3015, 0), 0); - else OpenGL.glLoadIdentity(); - if (i != 1) method3862(37, null); - OpenGL.glMatrixMode(5888); - } - - final void method3925(int i, Interface5_Impl1 interface5_impl1, int i_17_) { - try { - anInt9814++; - int i_18_ = 86 / ((i - -26) / 39); - aClass285_Sub1Array9907[i_17_] = (Class285_Sub1) interface5_impl1; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bga.WB(" + i + ',' + (interface5_impl1 != null ? "{...}" : "null") + ',' + i_17_ + ')')); - } - } - - final void method3920(int i) { - anInt9862++; - if (i != 10) method3911(null, 34, null); - OpenGL.glTexEnvi(8960, 34161, Class348_Sub32.method3021((byte) 32, (this.aClass229Array8086[(this.anInt8175)]))); - } - - final Interface3 method3665(int i, int i_19_) { - anInt9891++; - return null; - } - - final void method3819(byte i) { - anInt9887++; - int i_20_ = this.anIntArray9927[this.anInt8175]; - if (i_20_ != 0) { - this.anIntArray9927[this.anInt8175] = 0; - OpenGL.glBindTexture(i_20_, 0); - OpenGL.glDisable(i_20_); - } - if (i >= -19) aLong9906 = 83L; - } - - final void method3882(byte i) { - anInt9874++; - for (int i_21_ = -1 + this.anInt8090; i_21_ >= 0; i_21_--) { - OpenGL.glActiveTexture(i_21_ + 33984); - OpenGL.glTexEnvi(8960, 8704, 34160); - OpenGL.glTexEnvi(8960, 34161, 8448); - OpenGL.glTexEnvi(8960, 34178, 34166); - OpenGL.glTexEnvi(8960, 34162, 8448); - OpenGL.glTexEnvi(8960, 34186, 34166); - } - OpenGL.glTexEnvi(8960, 34186, 34168); - OpenGL.glShadeModel(7425); - OpenGL.glClearDepth(1.0F); - OpenGL.glDepthFunc(515); - OpenGL.glPolygonMode(1028, 6914); - OpenGL.glEnable(2884); - OpenGL.glCullFace(1029); - OpenGL.glAlphaFunc(516, 0.0F); - OpenGL.glMatrixMode(5888); - OpenGL.glLoadIdentity(); - OpenGL.glColorMaterial(1028, 5634); - OpenGL.glEnable(2903); - float[] fs = {0.0F, 0.0F, 0.0F, 1.0F}; - int i_22_ = 0; - if (i < 45) anInt9925 = 51; - for (/**/; i_22_ < 8; i_22_++) { - int i_23_ = i_22_ + 16384; - OpenGL.glLightfv(i_23_, 4608, fs, 0); - OpenGL.glLightf(i_23_, 4615, 0.0F); - OpenGL.glLightf(i_23_, 4616, 0.0F); - } - OpenGL.glFogf(2914, 0.95F); - OpenGL.glFogi(2917, 9729); - OpenGL.glHint(3156, 4353); - anOpenGL9856.setSwapInterval(0); - super.method3882((byte) 122); - } - - final void method3827(byte i) { - anInt9879++; - if (this.aBoolean8148 && this.aBoolean8123 && this.anInt8091 >= 0) OpenGL.glEnable(2912); - else OpenGL.glDisable(2912); - if (i > -30) ya(); - } - - final Interface4 method3634(Interface3 interface3, Interface13 interface13) { - try { - anInt9897++; - return null; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bga.NB(" + (interface3 != null ? "{...}" : "null") + ',' + (interface13 != null ? "{...}" : "null") + ')')); - } - } - - final Object method3876(int i, Canvas canvas) { - try { - anInt9894++; - if (i != -1) GA(-118); - long l = anOpenGL9856.prepareSurface(canvas); - if (l == -1) throw new RuntimeException(); - return new Long(l); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bga.MC(" + i + ',' + (canvas != null ? "{...}" : "null") + ')')); - } - } - - final Class365 c() { - anInt9843++; - int i = -1; - if (aString9917.indexOf("nvidia") != -1) i = 4318; - else if (aString9917.indexOf("intel") != -1) i = 32902; - else if (aString9917.indexOf("ati") != -1) i = 4098; - return new Class365(i, "OpenGL", anInt9924, aString9916, 0L); - } - - final Class299 method3706(Class299 class299, Class299 class299_24_, float f, Class299 class299_25_) { - try { - anInt9873++; - if (f < 0.5F) return class299; - return class299_24_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bga.SD(" + (class299 != null ? "{...}" : "null") + ',' + (class299_24_ != null ? "{...}" : "null") + ',' + f + ',' + (class299_25_ != null ? "{...}" : "null") + ')')); - } - } - - final synchronized void method3969(int i, int i_26_, int i_27_) { - if (i_27_ != 3089) this.anIntArray9927 = null; - anInt9850++; - Class348_Sub35 class348_sub35 = new Class348_Sub35(i); - class348_sub35.aLong4291 = i_26_; - aClass262_9899.method1999(class348_sub35, i_27_ ^ ~0x42c2); - } - - final void method3842(boolean bool) { - RuntimeException_Sub1.aFloatArray4602[2] = this.aFloat8168 * this.aFloat8174; - RuntimeException_Sub1.aFloatArray4602[3] = 1.0F; - RuntimeException_Sub1.aFloatArray4602[0] = this.aFloat8180 * this.aFloat8174; - anInt9825++; - RuntimeException_Sub1.aFloatArray4602[1] = this.aFloat8087 * this.aFloat8174; - OpenGL.glLightfv(16384, 4609, RuntimeException_Sub1.aFloatArray4602, 0); - RuntimeException_Sub1.aFloatArray4602[0] = this.aFloat8180 * -this.aFloat8186; - RuntimeException_Sub1.aFloatArray4602[2] = -this.aFloat8186 * this.aFloat8168; - if (bool == true) { - RuntimeException_Sub1.aFloatArray4602[3] = 1.0F; - RuntimeException_Sub1.aFloatArray4602[1] = -this.aFloat8186 * this.aFloat8087; - OpenGL.glLightfv(16385, 4609, RuntimeException_Sub1.aFloatArray4602, 0); - } - } - - private final void method3970(int i) { - if (aBoolean9911) OpenGL.glPopMatrix(); - anInt9840++; - if (i != 1) method3950(69); - if (this.aClass196_8184.method1450(-98)) { - if (!aBoolean9914) { - OpenGL.glLoadMatrixf(this.aClass101_Sub2_8083.method918(Class233.aFloatArray3015, 0), 0); - aBoolean9914 = true; - method3892(0); - method3823((byte) -104); - } - if (!this.aBoolean8069) { - OpenGL.glPushMatrix(); - OpenGL.glMultMatrixf(this.aClass101_Sub2_8074.method918(Class233.aFloatArray3015, i ^ 0x1), 0); - aBoolean9911 = true; - } else aBoolean9911 = false; - } else if (this.aBoolean8069) { - OpenGL.glLoadIdentity(); - aBoolean9911 = false; - } else { - OpenGL.glLoadMatrixf(this.aClass101_Sub2_8074.method918(Class233.aFloatArray3015, 0), 0); - aBoolean9911 = false; - } - } - - final void method3652() { - super.method3652(); - anInt9868++; - if (anOpenGL9856 != null) { - anOpenGL9856.a(); - anOpenGL9856.release(); - anOpenGL9856 = null; - } - } - - final void method3851(int i) { - if (i != 25644) this.aBoolean9921 = false; - anInt9871++; - this.aFloat8115 = (float) (this.anInt8154 + -this.anInt8105); - this.aFloat8173 = ((float) -this.anInt8091 + this.aFloat8115); - if (this.aFloat8173 < (float) this.anInt8095) this.aFloat8173 = (float) this.anInt8095; - OpenGL.glFogf(2915, this.aFloat8173); - OpenGL.glFogf(2916, this.aFloat8115); - RuntimeException_Sub1.aFloatArray4602[2] = ((float) Class139.method1166(this.anInt8144, 255) / 255.0F); - RuntimeException_Sub1.aFloatArray4602[0] = ((float) Class139.method1166(16711680, this.anInt8144) / 1.671168E7F); - RuntimeException_Sub1.aFloatArray4602[1] = ((float) Class139.method1166(65280, this.anInt8144) / 65280.0F); - OpenGL.glFogfv(2918, RuntimeException_Sub1.aFloatArray4602, 0); - } - - final boolean method3671() { - anInt9829++; - return false; - } - - final void method3883(int i) { - if (!this.aBoolean8145 || this.aBoolean8149) OpenGL.glDisable(2896); - else OpenGL.glEnable(2896); - anInt9818++; - int i_28_ = -61 / ((i - 20) / 36); - } - - final void method3921(int i) { - anInt9824++; - if (i == 1) { - if (!this.aBoolean8209) OpenGL.glDisable(3089); - else OpenGL.glEnable(3089); - } - } - - final void method3937(byte i) { - if (i != -33) method3832(35, (byte) -122); - OpenGL.glViewport(this.anInt8181, this.anInt8109, this.anInt7931, this.anInt7962); - anInt9827++; - } - - final void method3658(int i, int i_29_, int i_30_, int i_31_) { - anInt9833++; - } - - Class377(OpenGL opengl, Canvas canvas, long l, d var_d, Class45 class45, int i) { - super(canvas, new Long(l), var_d, class45, i, 1); - try { - try { - anOpenGL9856 = opengl; - anOpenGL9856.b(); - aString9917 = OpenGL.glGetString(7936).toLowerCase(); - aString9916 = OpenGL.glGetString(7937).toLowerCase(); - if (aString9917.indexOf("microsoft") != -1 || aString9917.indexOf("brian paul") != -1 || aString9917.indexOf("mesa") != -1) throw new RuntimeException(""); - String string = OpenGL.glGetString(7938); - String[] strings = Class348_Sub40_Sub23.method3113(' ', true, string.replace('.', ' ')); - if (strings.length < 2) throw new RuntimeException(""); - try { - int i_32_ = Class348_Sub41.method3156(true, strings[0]); - int i_33_ = Class348_Sub41.method3156(true, strings[1]); - anInt9924 = i_32_ * 10 - -i_33_; - } catch (NumberFormatException numberformatexception) { - throw new RuntimeException(""); - } - if (anInt9924 < 12) throw new RuntimeException(""); - if (!anOpenGL9856.a("GL_ARB_multitexture")) throw new RuntimeException(""); - if (!anOpenGL9856.a("GL_ARB_texture_env_combine")) throw new RuntimeException(""); - int[] is = new int[1]; - OpenGL.glGetIntegerv(34018, is, 0); - this.anInt8090 = is[0]; - if (this.anInt8090 < 2) throw new RuntimeException(""); - this.anInt8138 = 8; - this.aBoolean9920 = anOpenGL9856.a("GL_ARB_vertex_buffer_object"); - this.aBoolean8182 = anOpenGL9856.a("GL_ARB_multisample"); - aBoolean9919 = anOpenGL9856.a("GL_ARB_texture_rectangle"); - this.aBoolean8101 = anOpenGL9856.a("GL_ARB_texture_cube_map"); - aBoolean9926 = anOpenGL9856.a("GL_ARB_texture_non_power_of_two"); - this.aBoolean8159 = anOpenGL9856.a("GL_EXT_texture3D"); - this.aBoolean9921 = anOpenGL9856.a("GL_ARB_vertex_shader"); - this.aBoolean9923 = anOpenGL9856.a("GL_ARB_vertex_program"); - this.aBoolean9922 = anOpenGL9856.a("GL_ARB_fragment_shader"); - anOpenGL9856.a("GL_ARB_fragment_program"); - this.anIntArray9927 = new int[this.anInt8090]; - this.anInt9918 = Stream.c() ? 33639 : 5121; - if (aString9916.indexOf("radeon") != -1) { - int i_34_ = 0; - boolean bool = false; - boolean bool_35_ = false; - String[] strings_36_ = (Class348_Sub40_Sub23.method3113(' ', true, aString9916.replace('/', ' '))); - for (int i_37_ = 0; (i_37_ < strings_36_.length); i_37_++) { - String string_38_ = strings_36_[i_37_]; - try { - if (string_38_.length() > 0) { - if (string_38_.charAt(0) == 'x' && string_38_.length() >= 3 && (Class50_Sub3.method468(string_38_.substring(1, 3), -115))) { - bool_35_ = true; - string_38_ = string_38_.substring(1); - } - if (string_38_.equals("hd")) bool = true; - else { - if (string_38_.startsWith("hd")) { - bool = true; - string_38_ = string_38_.substring(2); - } - if (string_38_.length() >= 4 && (Class50_Sub3.method468(string_38_.substring(0, 4), 92))) { - i_34_ = (Class348_Sub41.method3156(true, string_38_.substring(0, 4))); - break; - } - } - } - } catch (Exception exception) { - /* empty */ - } - } - if (!bool_35_ && !bool) { - if (i_34_ >= 7000 && i_34_ <= 7999) this.aBoolean9920 = false; - if (i_34_ >= 7000 && i_34_ <= 9250) this.aBoolean8159 = false; - } - aBoolean9919 &= anOpenGL9856.a("GL_ARB_half_float_pixel"); - } - aString9917.indexOf("intel"); - if (this.aBoolean9920) { - try { - int[] is_39_ = new int[1]; - OpenGL.glGenBuffersARB(1, is_39_, 0); - } catch (Throwable throwable) { - throw new RuntimeException(""); - } - } - } catch (Throwable throwable) { - throwable.printStackTrace(); - this.method3635((byte) -28); - throw new RuntimeException(""); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bga.(" + (opengl != null ? "{...}" : "null") + ',' + (canvas != null ? "{...}" : "null") + ',' + l + ',' + (var_d != null ? "{...}" : "null") + ',' + (class45 != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - final void method3938(Class21 class21, int i, Interface5_Impl2 interface5_impl2, int i_40_, int i_41_, int i_42_, int i_43_) { - try { - if (i_43_ <= 46) aClass262_9903 = null; - anInt9867++; - int i_44_; - int i_45_; - if (Class249.aClass21_3217 == class21) { - i_44_ = 1; - i_45_ = i * 2; - } else if (class21 == Class348_Sub5_Sub1.aClass21_8832) { - i_45_ = 1 + i; - i_44_ = 3; - } else if (class21 == Class247.aClass21_3181) { - i_44_ = 4; - i_45_ = i * 3; - } else if (Class348_Sub42_Sub16.aClass21_9661 == class21) { - i_44_ = 6; - i_45_ = 2 + i; - } else if (class21 == s_Sub3.aClass21_8320) { - i_45_ = 2 + i; - i_44_ = 5; - } else { - i_45_ = i; - i_44_ = 0; - } - Class68 class68 = interface5_impl2.method25((byte) 51); - Class285_Sub2 class285_sub2 = (Class285_Sub2) interface5_impl2; - class285_sub2.method2125(0); - OpenGL.glDrawElements(i_44_, i_45_, Class130.method1128(-20, class68), (class285_sub2.method2122(27819) + (long) (i_41_ * (class68.anInt1178)))); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bga.JC(" + (class21 != null ? "{...}" : "null") + ',' + i + ',' + (interface5_impl2 != null ? "{...}" : "null") + ',' + i_40_ + ',' + i_41_ + ',' + i_42_ + ',' + i_43_ + ')')); - } - } - - final void method3823(byte i) { - anInt9812++; - int i_46_ = -79 / ((i - -39) / 62); - this.method3942(5); - int i_47_; - for (i_47_ = 0; this.anInt8151 > i_47_; i_47_++) { - Class348_Sub1 class348_sub1 = this.aClass348_Sub1Array8132[i_47_]; - int i_48_ = class348_sub1.method2720(-1); - int i_49_ = i_47_ + 16386; - float f = class348_sub1.method2721(-37) / 255.0F; - RuntimeException_Sub1.aFloatArray4602[0] = (float) class348_sub1.method2724(-1); - RuntimeException_Sub1.aFloatArray4602[1] = (float) class348_sub1.method2722(124); - RuntimeException_Sub1.aFloatArray4602[2] = (float) class348_sub1.method2717((byte) 111); - RuntimeException_Sub1.aFloatArray4602[3] = 1.0F; - OpenGL.glLightfv(i_49_, 4611, RuntimeException_Sub1.aFloatArray4602, 0); - RuntimeException_Sub1.aFloatArray4602[2] = (float) Class139.method1166(255, i_48_) * f; - RuntimeException_Sub1.aFloatArray4602[1] = f * (float) (Class139.method1166(i_48_, 65338) >> 8); - RuntimeException_Sub1.aFloatArray4602[0] = (float) Class139.method1166(255, i_48_ >> 16) * f; - RuntimeException_Sub1.aFloatArray4602[3] = 1.0F; - OpenGL.glLightfv(i_49_, 4609, RuntimeException_Sub1.aFloatArray4602, 0); - OpenGL.glLightf(i_49_, 4617, 1.0F / (float) (class348_sub1.method2723(-1) * class348_sub1.method2723(-1))); - OpenGL.glEnable(i_49_); - } - for (/**/; i_47_ < this.anInt8122; i_47_++) - OpenGL.glDisable(16386 - -i_47_); - super.method3823((byte) 107); - } - - final void method3844(int i, Canvas canvas, Object object) { - try { - if (i != 12727) anInt9925 = 5; - anInt9821++; - Long var_long = (Long) object; - anOpenGL9856.surfaceResized(var_long.longValue()); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bga.FC(" + i + ',' + (canvas != null ? "{...}" : "null") + ',' + (object != null ? "{...}" : "null") + ')')); - } - } - - final void method3633() { - OpenGL.glFinish(); - anInt9876++; - } - - final boolean method3931(boolean bool, Class304 class304, Class68 class68) { - try { - if (bool != true) aClass262_9905 = null; - anInt9855++; - return true; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bga.RA(" + bool + ',' + (class304 != null ? "{...}" : "null") + ',' + (class68 != null ? "{...}" : "null") + ')')); - } - } - - final void method3899(int i, int i_50_, Class21 class21, boolean bool) { - try { - anInt9854++; - if (bool != true) this.aBoolean9921 = true; - int i_51_; - int i_52_; - if (class21 == Class249.aClass21_3217) { - i_51_ = 2 * i; - i_52_ = 1; - } else if (Class348_Sub5_Sub1.aClass21_8832 == class21) { - i_51_ = i - -1; - i_52_ = 3; - } else if (Class247.aClass21_3181 == class21) { - i_52_ = 4; - i_51_ = i * 3; - } else if (class21 == Class348_Sub42_Sub16.aClass21_9661) { - i_52_ = 6; - i_51_ = 2 + i; - } else if (s_Sub3.aClass21_8320 == class21) { - i_51_ = 2 + i; - i_52_ = 5; - } else { - i_51_ = i; - i_52_ = 0; - } - OpenGL.glDrawArrays(i_52_, i_50_, i_51_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bga.V(" + i + ',' + i_50_ + ',' + (class21 != null ? "{...}" : "null") + ',' + bool + ')')); - } - } - - final Interface18_Impl2 method3900(int[][] is, boolean bool, int i, int i_53_) { - try { - if (i <= 1) aClass262_9902 = null; - anInt9883++; - return new Class14_Sub2(this, i_53_, bool, is); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bga.HB(" + (is != null ? "{...}" : "null") + ',' + bool + ',' + i + ',' + i_53_ + ')')); - } - } - - final Interface18_Impl3 method3855(Class304 class304, int i, int i_54_, float[] fs, boolean bool, int i_55_, int i_56_, int i_57_) { - try { - anInt9890++; - if (i_56_ != 2) this.aMapBuffer9913 = null; - if (!aBoolean9926 && (!Class192.method1436(60, i) || !Class192.method1436(-73, i_57_))) { - if (aBoolean9919) return new Class14_Sub4(this, class304, i, i_57_, fs, i_54_, i_55_); - Class14_Sub1 class14_sub1 = new Class14_Sub1(this, class304, Class68.aClass68_1187, Class33.method340(i, (byte) 108), Class33.method340(i_57_, (byte) 108)); - class14_sub1.method240(i_55_, (byte) -126, fs, class304, 0, i_54_, 0, i, i_57_); - return class14_sub1; - } - return new Class14_Sub1(this, class304, i, i_57_, bool, fs, i_54_, i_55_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bga.WC(" + (class304 != null ? "{...}" : "null") + ',' + i + ',' + i_54_ + ',' + (fs != null ? "{...}" : "null") + ',' + bool + ',' + i_55_ + ',' + i_56_ + ',' + i_57_ + ')')); - } - } - - final boolean method3666() { - anInt9881++; - return false; - } - - final Class367 method3832(int i, byte i_58_) { - anInt9900++; - if (i_58_ >= -57) method3832(-96, (byte) 20); - int i_59_ = i; - while_237_: - do { - do { - if (i_59_ != 3) { - if (i_59_ != 4) { - if (i_59_ == 8) break; - break while_237_; - } - } else return new Class367_Sub11(this, this.aClass45_8039); - return new Class367_Sub2(this, this.aClass45_8039, this.aClass269_7937); - } while (false); - return new Class367_Sub9(this, this.aClass45_8039, this.aClass269_7937); - } while (false); - return super.method3832(i, (byte) -73); - } - - final Interface18_Impl3 method3830(int i, int[] is, boolean bool, byte i_60_, int i_61_, int i_62_, int i_63_) { - try { - int i_64_ = 101 / ((i_60_ - -21) / 46); - anInt9830++; - if (aBoolean9926 || Class192.method1436(103, i) && Class192.method1436(-53, i_63_)) return new Class14_Sub1(this, i, i_63_, bool, is, i_61_, i_62_); - if (!aBoolean9919) { - Class14_Sub1 class14_sub1 = new Class14_Sub1(this, Class108.aClass304_1662, Class68.aClass68_1183, Class33.method340(i, (byte) 108), Class33.method340(i_63_, (byte) 108)); - class14_sub1.method68(i_62_, 22809, is, 0, i_61_, i, 0, i_63_); - return class14_sub1; - } - return new Class14_Sub4(this, i, i_63_, is, i_61_, i_62_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bga.R(" + i + ',' + (is != null ? "{...}" : "null") + ',' + bool + ',' + i_60_ + ',' + i_61_ + ',' + i_62_ + ',' + i_63_ + ')')); - } - } - - final void F(int i, int i_65_) { - anInt9848++; - } - - final void method3626(int i, int i_66_) throws Exception_Sub1 { - anOpenGL9856.swapBuffers(); - anInt9857++; - } - - final void method3673() { - anInt9892++; - if (this.anInt7931 > 0 || this.anInt7962 > 0) { - int i = this.anInt8106; - int i_67_ = this.anInt8183; - int i_68_ = this.anInt8165; - int i_69_ = this.anInt8096; - this.la(); - OpenGL.glReadBuffer(1028); - OpenGL.glDrawBuffer(1029); - this.method3932((byte) -107); - this.method3838(true, false); - this.method3866(false, true); - this.method3890(false, (byte) 127); - this.method3946(-32, false); - this.method3850((byte) 110, null); - this.method3814(false, false, -2, (byte) 42); - this.method3923(true, 1); - this.method3817(117, 0); - OpenGL.glMatrixMode(5889); - OpenGL.glLoadIdentity(); - OpenGL.glOrtho(0.0, 1.0, 0.0, 1.0, -1.0, 1.0); - OpenGL.glMatrixMode(5888); - OpenGL.glLoadIdentity(); - OpenGL.glRasterPos2i(0, 0); - OpenGL.glCopyPixels(0, 0, this.anInt7931, this.anInt7962, 6144); - OpenGL.glFlush(); - OpenGL.glReadBuffer(1029); - OpenGL.glDrawBuffer(1029); - this.KA(i, i_68_, i_67_, i_69_); - } - } - - final void method3947(int i) { - if (i != 4) method3950(-83); - if (!this.aBoolean8116) OpenGL.glDisable(3042); - else OpenGL.glEnable(3042); - anInt9878++; - } - - final synchronized void method3971(int i, int i_70_) { - anInt9819++; - Class348 class348 = new Class348(); - class348.aLong4291 = i_70_; - aClass262_9904.method1999(class348, -20180); - if (i != 16386) method3928(-86); - } - - final void method3859(int i) { - if (this.aBoolean8164) OpenGL.glEnable(2929); - else OpenGL.glDisable(2929); - if (i != 3) method3937((byte) -23); - anInt9828++; - } - - final void method3829(Class70 class70, int i, byte i_71_, boolean bool) { - try { - if (i_71_ == 80) { - OpenGL.glTexEnvi(8960, i + 34184, Class57.method531((byte) 123, class70)); - anInt9885++; - OpenGL.glTexEnvi(8960, 34200 + i, bool ? 771 : 770); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bga.AD(" + (class70 != null ? "{...}" : "null") + ',' + i + ',' + i_71_ + ',' + bool + ')')); - } - } - - final void method3707(Rectangle[] rectangles, int i, int i_72_, int i_73_) throws Exception_Sub1 { - try { - anInt9823++; - method3626(i_72_, i_73_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bga.UA(" + (rectangles != null ? "{...}" : "null") + ',' + i + ',' + i_72_ + ',' + i_73_ + ')')); - } - } - - final void method3862(int i, Class130 class130) { - try { - anInt9866++; - Class58[] class58s = ((Class130_Sub1) class130).aClass58Array5801; - int i_74_ = 0; - boolean bool = false; - boolean bool_75_ = false; - boolean bool_76_ = false; - for (int i_77_ = i; i_77_ < class58s.length; i_77_++) { - Class58 class58 = class58s[i_77_]; - Class285_Sub1 class285_sub1 = aClass285_Sub1Array9907[i_77_]; - int i_78_ = 0; - int i_79_ = class285_sub1.method2130(3545); - long l = class285_sub1.method2122(27819); - class285_sub1.method2125(0); - for (int i_80_ = 0; (i_80_ < class58.method538((byte) -119)); i_80_++) { - Class325 class325 = class58.method537(i_80_, -119); - if (class325 == Class325.aClass325_4073) { - OpenGL.glVertexPointer(3, 5126, i_79_, (long) i_78_ + l); - bool_76_ = true; - } else if (Class325.aClass325_4075 == class325) { - bool_75_ = true; - OpenGL.glNormalPointer(5126, i_79_, (long) i_78_ + l); - } else if (class325 == Class325.aClass325_4076) { - OpenGL.glColorPointer(4, 5121, i_79_, (long) i_78_ + l); - bool = true; - } else if (Class325.aClass325_4077 == class325) { - OpenGL.glClientActiveTexture(33984 + i_74_++); - OpenGL.glTexCoordPointer(1, 5126, i_79_, (long) i_78_ + l); - } else if (Class325.aClass325_4078 == class325) { - OpenGL.glClientActiveTexture(i_74_++ + 33984); - OpenGL.glTexCoordPointer(2, 5126, i_79_, (long) i_78_ + l); - } else if (Class325.aClass325_4079 == class325) { - OpenGL.glClientActiveTexture(i_74_++ + 33984); - OpenGL.glTexCoordPointer(3, 5126, i_79_, (long) i_78_ + l); - } else if (class325 == Class325.aClass325_4080) { - OpenGL.glClientActiveTexture(33984 - -i_74_++); - OpenGL.glTexCoordPointer(4, 5126, i_79_, l + (long) i_78_); - } - i_78_ += class325.anInt4069; - } - } - if (aBoolean9910 != bool_76_) { - if (bool_76_) OpenGL.glEnableClientState(32884); - else OpenGL.glDisableClientState(32884); - aBoolean9910 = bool_76_; - } - if (aBoolean9912 == !bool_75_) { - if (bool_75_) OpenGL.glEnableClientState(32885); - else OpenGL.glDisableClientState(32885); - aBoolean9912 = bool_75_; - } - if (!bool != !aBoolean9908) { - if (!bool) OpenGL.glDisableClientState(32886); - else OpenGL.glEnableClientState(32886); - aBoolean9908 = bool; - } - if (i_74_ <= anInt9909) { - if (anInt9909 > i_74_) { - for (int i_81_ = i_74_; anInt9909 > i_81_; i_81_++) { - OpenGL.glClientActiveTexture(i_81_ + 33984); - OpenGL.glDisableClientState(32888); - } - anInt9909 = i_74_; - } - } else { - for (int i_82_ = anInt9909; i_82_ < i_74_; i_82_++) { - OpenGL.glClientActiveTexture(33984 - -i_82_); - OpenGL.glEnableClientState(32888); - } - anInt9909 = i_74_; - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bga.KC(" + i + ',' + (class130 != null ? "{...}" : "null") + ')')); - } - } - - final void b(int i, int i_83_, int i_84_, int i_85_, double d) { - anInt9859++; - } - - final Interface5_Impl2 method3840(int i, boolean bool) { - anInt9826++; - if (i != -28633) return null; - return new Class285_Sub2(this, Class68.aClass68_1184, bool); - } - - final int I() { - anInt9845++; - return anInt9925; - } - - final void method3868(boolean bool) { - if (bool != false) aBoolean9919 = false; - OpenGL.glActiveTexture(33984 + this.anInt8175); - anInt9838++; - } - - final void method3898(int i) { - if (i != 12) anInt9924 = 75; - anInt9842++; - aBoolean9914 = false; - method3970(1); - } - - final void method3700(float f, float f_86_, float f_87_) { - anInt9895++; - } - - final void method3911(Canvas canvas, int i, Object object) { - try { - anInt9822++; - Long var_long = (Long) object; - if (i != 1) this.anInt9918 = -120; - anOpenGL9856.releaseSurface(canvas, var_long.longValue()); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bga.QD(" + (canvas != null ? "{...}" : "null") + ',' + i + ',' + (object != null ? "{...}" : "null") + ')')); - } - } - - final void method3945(int i) { - RuntimeException_Sub1.aFloatArray4602[1] = ((float) Class139.method1166(65280, this.anInt8119) / 65280.0F); - RuntimeException_Sub1.aFloatArray4602[2] = ((float) Class139.method1166(255, this.anInt8119) / 255.0F); - RuntimeException_Sub1.aFloatArray4602[3] = (float) (this.anInt8119 >>> 24) / 255.0F; - anInt9889++; - RuntimeException_Sub1.aFloatArray4602[0] = ((float) Class139.method1166(16711680, this.anInt8119) / 1.671168E7F); - if (i >= -107) anInt9909 = -64; - OpenGL.glTexEnvfv(8960, 8705, RuntimeException_Sub1.aFloatArray4602, 0); - } - - final void method3892(int i) { - anInt9865++; - OpenGL.glLightfv(16384, 4611, this.aFloatArray8170, i); - OpenGL.glLightfv(16385, 4611, this.aFloatArray8102, 0); - } - - final void GA(int i) { - OpenGL.glClearColor((float) (0xff0000 & i) / 1.671168E7F, (float) (0xff00 & i) / 65280.0F, (float) (i & 0xff) / 255.0F, (float) (i >>> 24) / 255.0F); - anInt9835++; - OpenGL.glClear(16384); - } - - final void method3672() { - anInt9851++; - } - - final void method3939(byte i) { - if (this.aBoolean8141) OpenGL.glEnable(3008); - else OpenGL.glDisable(3008); - if (i == 100) anInt9858++; - } - - final void method3710() { - anInt9872++; - } - - final Interface18_Impl3 method3861(int i, byte i_88_, int i_89_, Class68 class68, Class304 class304) { - try { - if (i_88_ != -84) method3842(false); - anInt9882++; - if (aBoolean9926 || (Class192.method1436(i_88_ + 15, i_89_) && Class192.method1436(65, i))) return new Class14_Sub1(this, class304, class68, i_89_, i); - if (!aBoolean9919) return new Class14_Sub1(this, class304, class68, Class33.method340(i_89_, (byte) 108), Class33.method340(i, (byte) 108)); - return new Class14_Sub4(this, class304, class68, i_89_, i); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bga.NC(" + i + ',' + i_88_ + ',' + i_89_ + ',' + (class68 != null ? "{...}" : "null") + ',' + (class304 != null ? "{...}" : "null") + ')')); - } - } - - final void method3698() { - anInt9863++; - } - - final void method3888(int i) { - if (i != 6259) aClass285_Sub1Array9907 = null; - anInt9817++; - OpenGL.glScissor(this.anInt8181 - -this.anInt8106, -this.anInt8096 + (this.anInt8109 - -this.anInt7962), -this.anInt8106 + this.anInt8183, this.anInt8096 - this.anInt8165); - } - - final void method3647(boolean bool) { - anInt9813++; - } - - final void method3950(int i) { - anInt9886++; - if (Class348_Sub4.aClass173_6602 == this.aClass173_8163) OpenGL.glBlendFunc(770, 771); - else if (Class69.aClass173_1201 == this.aClass173_8163) OpenGL.glBlendFunc(1, 1); - else if (Class273.aClass173_5169 == this.aClass173_8163) OpenGL.glBlendFunc(774, 1); - if (i != 0) this.anInt9918 = 74; - } - - final Interface5_Impl1 method3889(boolean bool, int i) { - anInt9815++; - if (i != 16711680) return null; - return new Class285_Sub1(this, bool); - } - - final float method3858(boolean bool) { - anInt9877++; - if (bool != false) method3935(45); - return 0.0F; - } - - final int[] na(int i, int i_90_, int i_91_, int i_92_) { - anInt9820++; - int[] is = new int[i_92_ * i_91_]; - for (int i_93_ = 0; i_93_ < i_92_; i_93_++) - OpenGL.glReadPixelsi(i, (-1 + (-i_93_ + -i_90_) + this.anInt7962), i_91_, 1, 32993, this.anInt9918, is, i_91_ * i_93_); - return is; - } - - final void method3687(Interface4 interface4) { - try { - anInt9816++; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "bga.IA(" + (interface4 != null ? "{...}" : "null") + ')'); - } - } -} diff --git a/client/src/Class378.java b/client/src/Class378.java deleted file mode 100644 index 0eaf8835d..000000000 --- a/client/src/Class378.java +++ /dev/null @@ -1,907 +0,0 @@ -/* Class378 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaclib.peer.hb; -import jagdx.*; - -import java.awt.*; - -public final class Class378 extends ha_Sub3 { - private final boolean[] aBooleanArray9784; - private int anInt9785 = 0; - private boolean[] aBooleanArray9786; - private Class53 aClass53_9787; - hb aHb9788; - private final D3DLIGHT aD3DLIGHT9789; - private static int[] anIntArray9790 = {22, 23}; - D3DCAPS aD3DCAPS9791; - boolean aBoolean9792; - private IDirect3D anIDirect3D9793; - private IDirect3DVertexShader anIDirect3DVertexShader9794; - private Class209[] aClass209Array9795; - private D3DLIGHT aD3DLIGHT9796; - private static float[] aFloatArray9797 = new float[16]; - boolean aBoolean9798; - private final int anInt9799; - private D3DPRESENT_PARAMETERS aD3DPRESENT_PARAMETERS9800; - private boolean aBoolean9801 = false; - boolean aBoolean9802; - PixelBuffer aPixelBuffer9803; - private final boolean[] aBooleanArray9804; - private int[] anIntArray9805; - private final boolean[] aBooleanArray9806; - private int anInt9807; - private final D3DLIGHT aD3DLIGHT9808; - private static int[] anIntArray9809 = {77, 80}; - IDirect3DDevice anIDirect3DDevice9810; - GeometryBuffer aGeometryBuffer9811; - - private static final int method3952(Class209 class209, byte i) { - if (Class71.aClass209_1212 == class209) return 2; - if (Class206.aClass209_4874 == class209) return 1; - if (i <= 57) anIntArray9790 = null; - throw new IllegalArgumentException(); - } - - final void method3928(int i) { - aD3DLIGHT9789.SetAmbient(this.aFloat8180 * this.aFloat8093, this.aFloat8093 * this.aFloat8087, this.aFloat8168 * this.aFloat8093, (float) i); - aBoolean9801 = false; - } - - final void method3829(Class70 class70, int i, byte i_0_, boolean bool) { - if (i_0_ == 80) { - int i_1_ = 0; - int i_2_ = i; - int i_3_; - while_232_: - do { - do { - if (i_2_ == 1) { - i_3_ = 6; - break while_232_; - } else if (i_2_ != 2) break; - i_3_ = 27; - break while_232_; - } while (false); - i_3_ = 5; - } while (false); - if (bool) i_1_ |= 0x10; - this.anIDirect3DDevice9810.SetTextureStageState(this.anInt8175, i_3_, method3961(class70, i_0_ + -78) | i_1_); - } - } - - final int[] na(int i, int i_4_, int i_5_, int i_6_) { - int[] is = null; - IDirect3DSurface idirect3dsurface = this.anIDirect3DDevice9810.c(0); - IDirect3DSurface idirect3dsurface_7_ = this.anIDirect3DDevice9810.a(i_5_, i_6_, 21, 0, 0, true); - if (ue.a((this.anIDirect3DDevice9810.StretchRect(idirect3dsurface, i, i_4_, i_5_, i_6_, idirect3dsurface_7_, 0, 0, i_5_, i_6_, 0)), false) && ue.a(idirect3dsurface_7_.LockRect(0, 0, i_5_, i_6_, 16, (this.aPixelBuffer9803)), false)) { - is = new int[i_6_ * i_5_]; - int i_8_ = this.aPixelBuffer9803.getRowPitch(); - if (i_8_ != 4 * i_5_) { - for (int i_9_ = 0; i_6_ > i_9_; i_9_++) - this.aPixelBuffer9803.b(is, i_9_ * i_5_, i_9_ * i_8_, i_5_); - } else this.aPixelBuffer9803.b(is, 0, 0, i_5_ * i_6_); - idirect3dsurface_7_.UnlockRect(); - } - idirect3dsurface.a(9275); - idirect3dsurface_7_.a(9275); - return is; - } - - final void method3868(boolean bool) { - if (bool) method3832(-4, (byte) -39); - } - - final void method3862(int i, Class130 class130) { - dxVertexLayout var_dxVertexLayout = (dxVertexLayout) class130; - this.anIDirect3DDevice9810.SetVertexDeclaration(var_dxVertexLayout.anIDirect3DVertexDeclaration5803); - if (i != 0) method3910((byte) -110, 113); - } - - private static final int method3953(Class21 class21, byte i) { - if (i != -111) method3952(null, (byte) -118); - if (class21 == Class249.aClass21_3217) return 2; - if (Class348_Sub5_Sub1.aClass21_8832 == class21) return 3; - if (Class277.aClass21_3572 == class21) return 1; - if (class21 == Class247.aClass21_3181) return 4; - if (Class348_Sub42_Sub16.aClass21_9661 == class21) return 6; - if (class21 == s_Sub3.aClass21_8320) return 5; - throw new IllegalArgumentException(""); - } - - final void method3954(int i, Class310_Sub2 class310_sub2) { - method3956((byte) -56, class310_sub2); - if (aBooleanArray9786[this.anInt8175] == !class310_sub2.aBoolean6334) { - this.anIDirect3DDevice9810.SetSamplerState(this.anInt8175, 1, !class310_sub2.aBoolean6334 ? 3 : 1); - aBooleanArray9786[this.anInt8175] = class310_sub2.aBoolean6334; - } - if (i == 13700) { - if (!aBooleanArray9806[this.anInt8175] == class310_sub2.aBoolean6335) { - this.anIDirect3DDevice9810.SetSamplerState(this.anInt8175, 2, !class310_sub2.aBoolean6335 ? 3 : 1); - aBooleanArray9806[this.anInt8175] = class310_sub2.aBoolean6335; - } - } - } - - final void method3841(byte i) { - this.anIDirect3DDevice9810.a(14, ((this.aBoolean8124) && (this.aBoolean8118))); - if (i != -116) method3960(true); - } - - final void method3698() { - /* empty */ - } - - final Interface18_Impl1 method3872(int i, int i_10_, Class304 class304, boolean bool, int i_11_, byte[] is) { - if (bool != true) return null; - return new Class310_Sub3(this, class304, i_10_, i_11_, i, is); - } - - final void method3827(byte i) { - if (i > -30) aClass53_9787 = null; - this.anIDirect3DDevice9810.a(28, (this.aBoolean8148 && this.aBoolean8123 && this.anInt8091 >= 0)); - } - - final void method3901(byte i) { - if (this.aBoolean8069) { - aFloatArray9797[1] = 0.0F; - aFloatArray9797[2] = 0.0F; - aFloatArray9797[15] = 1.0F; - aFloatArray9797[3] = 0.0F; - aFloatArray9797[9] = 0.0F; - aFloatArray9797[6] = 0.0F; - aFloatArray9797[0] = 1.0F; - aFloatArray9797[7] = 0.0F; - aFloatArray9797[11] = 0.0F; - aFloatArray9797[13] = 0.0F; - aFloatArray9797[10] = 1.0F; - aFloatArray9797[8] = 0.0F; - aFloatArray9797[12] = 0.0F; - aFloatArray9797[5] = 1.0F; - aFloatArray9797[14] = 0.0F; - aFloatArray9797[4] = 0.0F; - } else this.aClass101_Sub2_8074.method918(aFloatArray9797, 0); - if (i < -18) this.anIDirect3DDevice9810.SetTransform(256, aFloatArray9797); - } - - final void method3926(byte i, boolean bool) { - if (i < 34) this.aBoolean9798 = false; - this.anIDirect3DDevice9810.a(161, bool); - } - - final void method3924(boolean bool, boolean bool_12_, int i, Class70 class70, boolean bool_13_) { - int i_14_ = i; - int i_15_; - while_233_: - do { - do { - if (1 == i_14_) { - i_15_ = 3; - break while_233_; - } else if (i_14_ != 2) break; - i_15_ = 26; - break while_233_; - } while (false); - i_15_ = 2; - } while (false); - int i_16_ = 0; - if (bool) i_16_ |= 0x20; - if (bool_12_) aD3DPRESENT_PARAMETERS9800 = null; - if (bool_13_) i_16_ |= 0x10; - this.anIDirect3DDevice9810.SetTextureStageState(this.anInt8175, i_15_, i_16_ | method3961(class70, 2)); - } - - final void method3892(int i) { - aD3DLIGHT9789.SetDirection(-this.aFloatArray8170[0], -this.aFloatArray8170[1], -this.aFloatArray8170[2]); - aD3DLIGHT9796.SetDirection(-this.aFloatArray8102[i], -this.aFloatArray8102[1], -this.aFloatArray8102[2]); - aBoolean9801 = false; - } - - final Interface13 method3624(int i, int i_17_) { - return null; - } - - private static final int method3955(int i, Class229 class229) { - if (Class328_Sub3.aClass229_6519 == class229) return 2; - if (Class167.aClass229_2207 == class229) return 4; - if (Class248.aClass229_3196 != class229) { - if (class229 != Class348_Sub23_Sub2.aClass229_9011) { - if (class229 == Class348_Sub7.aClass229_6644) return 10; - } else return 7; - } else return 26; - if (i <= 16) method3955(-116, null); - throw new IllegalArgumentException(); - } - - final void method3910(byte i, int i_18_) { - if (i != -26) this.aD3DCAPS9791 = null; - this.anIDirect3DDevice9810.SetTextureStageState(this.anInt8175, 11, i_18_); - } - - static final ha createToolkit(Canvas canvas, d var_d, Class45 class45, Integer integer) { - Class378 class378 = null; - Class378 class378_19_; - try { - int i = 0; - int i_20_ = 1; - hb var_hb = new hb(); - IDirect3D idirect3d = IDirect3D.a(-2147483616, var_hb); - D3DCAPS d3dcaps = idirect3d.b(i, i_20_); - if ((d3dcaps.RasterCaps & 0x1000000) == 0) throw new RuntimeException(""); - if (d3dcaps.MaxSimultaneousTextures < 2) throw new RuntimeException(""); - if ((0x2 & d3dcaps.TextureOpCaps) == 0) throw new RuntimeException(""); - if ((d3dcaps.TextureOpCaps & 0x8) == 0) throw new RuntimeException(""); - if ((0x40 & d3dcaps.TextureOpCaps) == 0) throw new RuntimeException(""); - if ((0x200 & d3dcaps.TextureOpCaps) == 0) throw new RuntimeException(""); - if ((0x2000000 & d3dcaps.TextureOpCaps) == 0) throw new RuntimeException(""); - if (0 == (0x10 & (d3dcaps.DestBlendCaps & d3dcaps.SrcBlendCaps))) throw new RuntimeException(""); - if ((d3dcaps.DestBlendCaps & d3dcaps.SrcBlendCaps & 0x20) == 0) throw new RuntimeException(""); - if (0 == (d3dcaps.SrcBlendCaps & d3dcaps.DestBlendCaps & 0x2)) throw new RuntimeException(""); - if (0 < d3dcaps.MaxActiveLights && 2 > d3dcaps.MaxActiveLights) throw new RuntimeException(""); - if (d3dcaps.MaxStreams < 5) throw new RuntimeException(""); - D3DPRESENT_PARAMETERS d3dpresent_parameters = new D3DPRESENT_PARAMETERS(canvas); - if (!method3964(d3dpresent_parameters, 0, i, idirect3d, i_20_, integer.intValue())) throw new RuntimeException(""); - d3dpresent_parameters.PresentationInterval = -2147483648; - d3dpresent_parameters.EnableAutoDepthStencil = true; - d3dpresent_parameters.Windowed = true; - int i_21_ = 2; - if ((0x100000 & d3dcaps.DevCaps) != 0) i_21_ |= 0x10; - Object object = null; - IDirect3DDevice idirect3ddevice; - try { - idirect3ddevice = idirect3d.a(i, i_20_, canvas, i_21_ | 0x40, d3dpresent_parameters); - } catch (fda var_fda) { - idirect3ddevice = idirect3d.a(i, i_20_, canvas, i_21_ | 0x20, d3dpresent_parameters); - } - Class53 class53 = new Class53(idirect3ddevice.b(0), idirect3ddevice.c()); - class378 = new Class378(i, i_20_, canvas, var_hb, idirect3d, idirect3ddevice, class53, d3dpresent_parameters, d3dcaps, var_d, class45, integer.intValue()); - class378.method3930((byte) 26); - class378_19_ = class378; - } catch (RuntimeException runtimeexception) { - if (class378 != null) class378.method3652(); - throw runtimeexception; - } - return class378_19_; - } - - final void method3911(Canvas canvas, int i, Object object) { - if (i != 1) anIDirect3D9793 = null; - } - - final void method3956(byte i, Class310 class310) { - this.anIDirect3DDevice9810.SetTexture(this.anInt8175, class310.method2314(17723)); - if (i <= -53) { - if (aClass209Array9795[this.anInt8175] == class310.aClass209_3894) { - if (aBooleanArray9804[this.anInt8175] == !class310.aBoolean3892) { - this.anIDirect3DDevice9810.SetSamplerState(this.anInt8175, 7, (class310.aBoolean3892 ? method3952(class310.aClass209_3894, (byte) 86) : 0)); - aBooleanArray9804[this.anInt8175] = class310.aBoolean3892; - } - } else { - int i_22_ = method3952(class310.aClass209_3894, (byte) 82); - this.anIDirect3DDevice9810.SetSamplerState(this.anInt8175, 6, i_22_); - this.anIDirect3DDevice9810.SetSamplerState(this.anInt8175, 5, i_22_); - aClass209Array9795[this.anInt8175] = class310.aClass209_3894; - if (aBooleanArray9804[this.anInt8175] != class310.aBoolean3892) { - this.anIDirect3DDevice9810.SetSamplerState(this.anInt8175, 7, (!class310.aBoolean3892 ? 0 : method3952(class310.aClass209_3894, (byte) 68))); - aBooleanArray9804[this.anInt8175] = class310.aBoolean3892; - } - } - if (!aBooleanArray9784[this.anInt8175]) { - aBooleanArray9784[this.anInt8175] = true; - method3935(-123); - method3920(10); - } - } - } - - final Interface3 method3665(int i, int i_23_) { - return null; - } - - final void method3813(boolean bool) { - this.anIDirect3DDevice9810.SetTransform(3, this.aFloatArray8135); - if (bool != true) method3963(-7, null); - } - - final void method3957(IDirect3DVertexShader idirect3dvertexshader, byte i) { - if (i == -89) { - anIDirect3DVertexShader9794 = idirect3dvertexshader; - this.anIDirect3DDevice9810.SetVertexShader(idirect3dvertexshader); - method3940(1); - } - } - - final void method3938(Class21 class21, int i, Interface5_Impl2 interface5_impl2, int i_24_, int i_25_, int i_26_, int i_27_) { - this.anIDirect3DDevice9810.SetIndices(((Class142) interface5_impl2).anIDirect3DIndexBuffer8517); - this.anIDirect3DDevice9810.DrawIndexedPrimitive(method3953(class21, (byte) -111), 0, i_24_, i_26_, i_25_, i); - if (i_27_ < 46) method3931(true, null, null); - } - - final Interface4 method3634(Interface3 interface3, Interface13 interface13) { - return null; - } - - final void method3672() { - /* empty */ - } - - final void method3888(int i) { - if (i != 6259) method3882((byte) -77); - this.anIDirect3DDevice9810.SetScissorRect(this.anInt8181 - -this.anInt8106, this.anInt8109 - -this.anInt8165, this.anInt8183, this.anInt8096); - } - - final void method3707(Rectangle[] rectangles, int i, int i_28_, int i_29_) throws Exception_Sub1 { - method3626(i_28_, i_29_); - } - - final boolean method3931(boolean bool, Class304 class304, Class68 class68) { - D3DDISPLAYMODE d3ddisplaymode = new D3DDISPLAYMODE(); - if (bool != true) aBooleanArray9786 = null; - return (ue.a(anIDirect3D9793.a(anInt9799, d3ddisplaymode), !bool) && ue.a((anIDirect3D9793.CheckDeviceFormat(anInt9799, anInt9807, d3ddisplaymode.Format, 0, 4, method3958(22, class68, class304))), false)); - } - - final void method3881(Object object, byte i, Canvas canvas) { - if (i == 99) aClass53_9787 = (Class53) object; - } - - final void method3842(boolean bool) { - float f = (!this.aBoolean8110 ? 0.0F : this.aFloat8174); - float f_30_ = (!this.aBoolean8110 ? 0.0F : -this.aFloat8186); - aD3DLIGHT9789.SetDiffuse(f * this.aFloat8180, this.aFloat8087 * f, f * this.aFloat8168, 0.0F); - if (bool == true) { - aD3DLIGHT9796.SetDiffuse(this.aFloat8180 * f_30_, this.aFloat8087 * f_30_, this.aFloat8168 * f_30_, 0.0F); - aBoolean9801 = false; - } - } - - static final int method3958(int i, Class68 class68, Class304 class304) { - if (class68 == Class68.aClass68_1183) { - if (Class348_Sub45.aClass304_7103 != class304) { - if (Class108.aClass304_1662 == class304) return 21; - if (Class348_Sub40_Sub38.aClass304_9471 == class304) return 28; - if (Class348_Sub40_Sub22.aClass304_9303 == class304) return 50; - if (class304 == Class191.aClass304_2571) return 51; - if (class304 == Class318.aClass304_3977) return 77; - } else return 22; - } - if (i != 22) anIntArray9790 = null; - throw new IllegalArgumentException(""); - } - - final boolean method3666() { - return false; - } - - final void method3633() { - IDirect3DEventQuery idirect3deventquery = this.anIDirect3DDevice9810.b(); - if (ue.a(idirect3deventquery.Issue(), false)) { - for (; ; ) { - int i = idirect3deventquery.IsSignaled(); - if (i != 1) break; - Thread.yield(); - } - } - idirect3deventquery.a(9275); - } - - final void F(int i, int i_31_) { - /* empty */ - } - - final void method3945(int i) { - this.anIDirect3DDevice9810.SetRenderState(60, this.anInt8119); - if (i > -107) this.aBoolean9802 = false; - } - - final Class299 method3706(Class299 class299, Class299 class299_32_, float f, Class299 class299_33_) { - return 0.5F > f ? class299 : class299_32_; - } - - final void method3647(boolean bool) { - /* empty */ - } - - final void method3823(byte i) { - int i_34_ = -115 % ((i - -39) / 62); - int i_35_; - for (i_35_ = 0; this.anInt8151 > i_35_; i_35_++) { - Class348_Sub1 class348_sub1 = this.aClass348_Sub1Array8132[i_35_]; - int i_36_ = i_35_ - -2; - int i_37_ = class348_sub1.method2720(-1); - float f = class348_sub1.method2721(-115) / 255.0F; - aD3DLIGHT9808.SetPosition((float) class348_sub1.method2724(-1), (float) class348_sub1.method2722(123), (float) class348_sub1.method2717((byte) 115)); - aD3DLIGHT9808.SetDiffuse(f * (float) ((i_37_ & 0xff34ed) >> 16), (float) (0xff & i_37_ >> 8) * f, f * (float) (i_37_ & 0xff), 0.0F); - aD3DLIGHT9808.SetAttenuation(0.0F, 0.0F, 1.0F / (float) (class348_sub1.method2723(-1) * class348_sub1.method2723(-1))); - aD3DLIGHT9808.SetRange((float) class348_sub1.method2723(-1)); - this.anIDirect3DDevice9810.SetLight(i_36_, aD3DLIGHT9808); - this.anIDirect3DDevice9810.LightEnable(i_36_, true); - } - for (/**/; i_35_ < this.anInt8122; i_35_++) - this.anIDirect3DDevice9810.LightEnable(i_35_ - -2, false); - super.method3823((byte) 57); - } - - final void method3819(byte i) { - if (aBooleanArray9784[this.anInt8175]) { - aBooleanArray9784[this.anInt8175] = false; - this.anIDirect3DDevice9810.SetTexture(this.anInt8175, null); - method3935(-110); - method3920(10); - } - if (i >= -19) method3855(null, -78, 86, null, false, 82, 55, -34); - } - - private Class378(int i, int i_38_, Canvas canvas, hb var_hb, IDirect3D idirect3d, IDirect3DDevice idirect3ddevice, Class53 class53, D3DPRESENT_PARAMETERS d3dpresent_parameters, D3DCAPS d3dcaps, d var_d, Class45 class45, int i_39_) { - super(canvas, class53, var_d, class45, i_39_, 0); - try { - this.aHb9788 = var_hb; - aD3DPRESENT_PARAMETERS9800 = d3dpresent_parameters; - anInt9807 = i_38_; - anIDirect3D9793 = idirect3d; - anInt9799 = i; - aClass53_9787 = class53; - this.anIDirect3DDevice9810 = idirect3ddevice; - this.aD3DCAPS9791 = d3dcaps; - aD3DLIGHT9789 = new D3DLIGHT(this.aHb9788); - aD3DLIGHT9796 = new D3DLIGHT(this.aHb9788); - aD3DLIGHT9808 = new D3DLIGHT(this.aHb9788); - this.aPixelBuffer9803 = new PixelBuffer(this.aHb9788); - this.aGeometryBuffer9811 = new GeometryBuffer(this.aHb9788); - new GeometryBuffer(this.aHb9788); - this.aBoolean8101 = (0x800 & this.aD3DCAPS9791.TextureCaps) != 0; - this.aBoolean9798 = (0x4000 & this.aD3DCAPS9791.TextureCaps) != 0; - this.aBoolean9792 = (0x2 & this.aD3DCAPS9791.TextureCaps) == 0; - this.aBoolean9802 = (this.aD3DCAPS9791.TextureCaps & 0x10000) != 0; - this.anInt8138 = (this.aD3DCAPS9791.MaxActiveLights <= 0 ? 8 : this.aD3DCAPS9791.MaxActiveLights); - this.aBoolean8159 = (this.aD3DCAPS9791.TextureCaps & 0x2000) != 0; - this.anInt8090 = this.aD3DCAPS9791.MaxSimultaneousTextures; - this.aBoolean8182 = (this.anInt8117 > 0 || ((anIDirect3D9793.CheckDeviceMultiSampleType(anInt9799, anInt9807, aD3DPRESENT_PARAMETERS9800.BackBufferFormat, true, 2)) == 0)); - aBooleanArray9806 = new boolean[this.anInt8090]; - aBooleanArray9804 = new boolean[this.anInt8090]; - aBooleanArray9784 = new boolean[this.anInt8090]; - aClass209Array9795 = new Class209[this.anInt8090]; - anIntArray9805 = new int[this.anInt8090]; - aBooleanArray9786 = new boolean[this.anInt8090]; - this.anIDirect3DDevice9810.BeginScene(); - } catch (Throwable throwable) { - throwable.printStackTrace(); - method3635((byte) -39); - throw new RuntimeException(""); - } - } - - final void method3898(int i) { - if (i != 12) method3634(null, null); - if (this.aClass196_8184.method1450(-32)) this.aClass101_Sub2_8083.method918(aFloatArray9797, 0); - else { - aFloatArray9797[1] = 0.0F; - aFloatArray9797[7] = 0.0F; - aFloatArray9797[12] = 0.0F; - aFloatArray9797[0] = 1.0F; - aFloatArray9797[5] = 1.0F; - aFloatArray9797[13] = 0.0F; - aFloatArray9797[2] = 0.0F; - aFloatArray9797[11] = 0.0F; - aFloatArray9797[9] = 0.0F; - aFloatArray9797[10] = 1.0F; - aFloatArray9797[14] = 0.0F; - aFloatArray9797[8] = 0.0F; - aFloatArray9797[4] = 0.0F; - aFloatArray9797[15] = 1.0F; - aFloatArray9797[6] = 0.0F; - aFloatArray9797[3] = 0.0F; - } - this.anIDirect3DDevice9810.SetTransform(2, aFloatArray9797); - } - - final void method3652() { - this.aHb9788.a((byte) 13); - super.method3652(); - } - - final Interface5_Impl2 method3840(int i, boolean bool) { - if (i != -28633) method3937((byte) 102); - return new Class142(this, Class68.aClass68_1184, bool); - } - - final void GA(int i) { - this.anIDirect3DDevice9810.Clear(1, i, 0.0F, 0); - } - - final int I() { - return 0; - } - - final void method3851(int i) { - this.aFloat8115 = (float) (this.anInt8154 + -this.anInt8105); - this.aFloat8173 = ((float) -this.anInt8091 + this.aFloat8115); - if (this.aFloat8173 < (float) this.anInt8095) this.aFloat8173 = (float) this.anInt8095; - this.anIDirect3DDevice9810.a(36, this.aFloat8173); - if (i != 25644) aD3DLIGHT9796 = null; - this.anIDirect3DDevice9810.a(37, this.aFloat8115); - this.anIDirect3DDevice9810.SetRenderState(34, this.anInt8144); - } - - final Interface18_Impl3 method3855(Class304 class304, int i, int i_40_, float[] fs, boolean bool, int i_41_, int i_42_, int i_43_) { - if (i_42_ != 2) aD3DLIGHT9796 = null; - return null; - } - - final void method3884(byte i) { - if (!aBoolean9801) { - this.anIDirect3DDevice9810.LightEnable(0, false); - this.anIDirect3DDevice9810.LightEnable(1, false); - this.anIDirect3DDevice9810.SetLight(0, aD3DLIGHT9789); - this.anIDirect3DDevice9810.SetLight(1, aD3DLIGHT9796); - this.anIDirect3DDevice9810.LightEnable(0, true); - this.anIDirect3DDevice9810.LightEnable(1, true); - aBoolean9801 = true; - } - if (i != 101) anIntArray9805 = null; - } - - final boolean method3671() { - return false; - } - - final void method3937(byte i) { - if (i != -33) method3962(-41, null); - this.anIDirect3DDevice9810.SetViewport(this.anInt8181, this.anInt8109, this.anInt7931, this.anInt7962, 0.0F, 1.0F); - } - - final void method3959(int i, Class310_Sub3 class310_sub3) { - method3956((byte) -73, class310_sub3); - if (!aBooleanArray9786[this.anInt8175]) { - this.anIDirect3DDevice9810.SetSamplerState(this.anInt8175, 1, 1); - aBooleanArray9786[this.anInt8175] = true; - } - if (!aBooleanArray9806[this.anInt8175]) { - this.anIDirect3DDevice9810.SetSamplerState(this.anInt8175, 2, 1); - aBooleanArray9806[this.anInt8175] = true; - } - int i_44_ = 82 % ((i - 44) / 56); - } - - final void method3899(int i, int i_45_, Class21 class21, boolean bool) { - this.anIDirect3DDevice9810.DrawPrimitive(method3953(class21, (byte) -111), i_45_, i); - if (bool != true) aClass209Array9795 = null; - } - - final void method3658(int i, int i_46_, int i_47_, int i_48_) { - /* empty */ - } - - final void method3818(boolean bool) { - if (bool != true) method3633(); - method3842(bool); - method3884((byte) 101); - } - - final void method3673() { - /* empty */ - } - - final void method3947(int i) { - if (i == 4) this.anIDirect3DDevice9810.a(27, this.aBoolean8116); - } - - final void method3859(int i) { - this.anIDirect3DDevice9810.a(7, this.aBoolean8164); - if (i != 3) method3882((byte) 51); - } - - final Interface18_Impl3 method3843(int i, int i_49_, int i_50_, int i_51_, byte[] is, Class304 class304, int i_52_, boolean bool) { - if (i_52_ != 32) anInt9785 = 94; - return new Class310_Sub2(this, class304, i_50_, i, bool, is, i_49_, i_51_); - } - - final synchronized void method3646(int i) { - this.aHb9788.b((byte) -82); - super.method3646(i); - } - - final float method3858(boolean bool) { - if (bool) aBoolean9801 = true; - return -0.5F; - } - - final Object method3876(int i, Canvas canvas) { - if (i != -1) return null; - return null; - } - - private final boolean method3960(boolean bool) { - int i = this.anIDirect3DDevice9810.TestCooperativeLevel(); - if (bool) method3880(null, null, (byte) -68); - if (i == 0 || -2005530519 == i) { - Class53 class53 = (Class53) this.anObject7919; - method3922(false); - class53.method496((byte) 84); - aD3DPRESENT_PARAMETERS9800.BackBufferHeight = 0; - aD3DPRESENT_PARAMETERS9800.BackBufferWidth = 0; - if (method3964(aD3DPRESENT_PARAMETERS9800, 0, anInt9799, anIDirect3D9793, anInt9807, this.anInt8117)) { - int i_53_ = this.anIDirect3DDevice9810.Reset(aD3DPRESENT_PARAMETERS9800); - if (ue.a(i_53_, false)) { - class53.method497(this.anIDirect3DDevice9810.b(0), (byte) -107, this.anIDirect3DDevice9810.c()); - method3902((byte) -42); - method3882((byte) 113); - return true; - } - } - } - return false; - } - - final void method3920(int i) { - int i_54_ = (aBooleanArray9784[this.anInt8175] ? method3955(24, (this.aClass229Array8086[this.anInt8175])) : 1); - if (i != 10) I(); - this.anIDirect3DDevice9810.SetTextureStageState(this.anInt8175, 1, i_54_); - } - - final Interface18_Impl3 method3830(int i, int[] is, boolean bool, byte i_55_, int i_56_, int i_57_, int i_58_) { - int i_59_ = -31 % ((-21 - i_55_) / 46); - return new Class310_Sub2(this, i, i_58_, bool, is, i_56_, i_57_); - } - - final void method3687(Interface4 interface4) { - /* empty */ - } - - final Interface18_Impl2 method3900(int[][] is, boolean bool, int i, int i_60_) { - if (i <= 1) aFloatArray9797 = null; - return new Class310_Sub1(this, i_60_, bool, is); - } - - final void method3939(byte i) { - this.anIDirect3DDevice9810.a(15, this.aBoolean8141); - if (i != 100) anIntArray9805 = null; - } - - private static final int method3961(Class70 class70, int i) { - if (i != 2) aFloatArray9797 = null; - if (Class342.aClass70_4247 == class70) return 2; - if (class70 == Class285_Sub2.aClass70_8503) return 0; - if (Class318_Sub1_Sub2.aClass70_8737 != class70) { - if (Class348_Sub40_Sub39.aClass70_9485 == class70) return 3; - } else return 1; - throw new IllegalArgumentException(); - } - - final Class130 method3812(int i, Class58[] class58s) { - if (i != 0) anInt9807 = 29; - return new dxVertexLayout(this, class58s); - } - - final void method3962(int i, IDirect3DPixelShader idirect3dpixelshader) { - if (i != 22927) aFloatArray9797 = null; - this.anIDirect3DDevice9810.SetPixelShader(idirect3dpixelshader); - } - - final void method3710() { - /* empty */ - } - - final Interface5_Impl1 method3889(boolean bool, int i) { - if (i != 16711680) return null; - return new Class366(this, bool); - } - - final void method3921(int i) { - this.anIDirect3DDevice9810.a(174, this.aBoolean8209); - if (i != 1) method3858(true); - } - - final void b(int i, int i_61_, int i_62_, int i_63_, double d) { - /* empty */ - } - - final Class367 method3832(int i, byte i_64_) { - if (i_64_ >= -57) aClass209Array9795 = null; - int i_65_ = i; - while_234_: - do { - do { - if (i_65_ != 3) { - if (i_65_ != 4) { - if (8 == i_65_) break; - break while_234_; - } - } else return new Class367_Sub5(this, this.aClass45_8039); - return new Class367_Sub6(this, this.aClass45_8039, this.aClass269_7937); - } while (false); - return new Class367_Sub7(this, this.aClass45_8039, this.aClass269_7937); - } while (false); - return super.method3832(i, (byte) -74); - } - - final void method3700(float f, float f_66_, float f_67_) { - /* empty */ - } - - private static final int method3963(int i, Class251 class251) { - if (i != 594) return 7; - if (class251 == Class135_Sub2.aClass251_4835) return 1; - if (class251 != Class239_Sub18.aClass251_6030) { - if (class251 != Class348_Sub40_Sub38.aClass251_9477) { - if (Class57.aClass251_1051 == class251) return 4; - if (class251 == Class239_Sub14.aClass251_5989) return 256; - } else return 3; - } else return 2; - return 0; - } - - final void method3871(Class113 class113, int i) { - int i_68_ = i; - if (Class31.aClass113_430 == class113) i_68_ = 65536; - else if (za_Sub1.aClass113_9773 == class113) i_68_ = 131072; - else if (class113 == Class261.aClass113_3314) i_68_ = 196608; - this.anIDirect3DDevice9810.SetTextureStageState(this.anInt8175, 11, this.anInt8175 | i_68_); - } - - final boolean method3880(Class68 class68, Class304 class304, byte i) { - D3DDISPLAYMODE d3ddisplaymode = new D3DDISPLAYMODE(); - int i_69_ = 96 / ((i - 85) / 37); - return (ue.a(anIDirect3D9793.a(anInt9799, d3ddisplaymode), false) && ue.a((anIDirect3D9793.CheckDeviceFormat(anInt9799, anInt9807, d3ddisplaymode.Format, 0, 3, method3958(22, class68, class304))), false)); - } - - final void method3882(byte i) { - for (int i_70_ = 0; i_70_ < this.anInt8090; i_70_++) { - this.anIDirect3DDevice9810.SetSamplerState(i_70_, 7, 0); - this.anIDirect3DDevice9810.SetSamplerState(i_70_, 6, 2); - this.anIDirect3DDevice9810.SetSamplerState(i_70_, 5, 2); - this.anIDirect3DDevice9810.SetSamplerState(i_70_, 1, 1); - this.anIDirect3DDevice9810.SetSamplerState(i_70_, 2, 1); - aClass209Array9795[i_70_] = Class71.aClass209_1212; - aBooleanArray9786[i_70_] = aBooleanArray9806[i_70_] = true; - aBooleanArray9804[i_70_] = false; - anIntArray9805[i_70_] = 0; - } - this.anIDirect3DDevice9810.SetTextureStageState(0, 6, 1); - this.anIDirect3DDevice9810.SetRenderState(9, 2); - this.anIDirect3DDevice9810.SetRenderState(23, 4); - this.anIDirect3DDevice9810.SetRenderState(25, 5); - if (i <= 45) method3861(109, (byte) -95, -59, null, null); - this.anIDirect3DDevice9810.SetRenderState(24, 0); - this.anIDirect3DDevice9810.SetRenderState(22, 2); - this.anIDirect3DDevice9810.SetRenderState(147, 1); - this.anIDirect3DDevice9810.SetRenderState(145, 1); - this.anIDirect3DDevice9810.a(38, 0.95F); - this.anIDirect3DDevice9810.SetRenderState(140, 3); - aD3DLIGHT9789.SetType(3); - aD3DLIGHT9796.SetType(3); - aD3DLIGHT9808.SetType(1); - aBoolean9801 = false; - super.method3882((byte) 63); - } - - final Class365 c() { - D3DADAPTER_IDENTIFIER d3dadapter_identifier = anIDirect3D9793.a(anInt9799, 0); - return new Class365(d3dadapter_identifier.VendorID, "Direct3D", 9, d3dadapter_identifier.Description, d3dadapter_identifier.DriverVersion); - } - - final void method3935(int i) { - if (i <= -99) { - int i_71_ = (aBooleanArray9784[this.anInt8175] ? method3955(50, (this.aClass229Array8092[this.anInt8175])) : 1); - this.anIDirect3DDevice9810.SetTextureStageState(this.anInt8175, 4, i_71_); - } - } - - final void method3940(int i) { - if (anIDirect3DVertexShader9794 == null && ((this.aClass251Array8113[this.anInt8175]) != Class348_Sub42_Sub18.aClass251_9685)) { - if (Class239_Sub18.aClass251_6030 == (this.aClass251Array8113[this.anInt8175])) this.anIDirect3DDevice9810.SetTransform(this.anInt8175 + 16, this.aClass101_Sub2Array8131[this.anInt8175].method928(aFloatArray9797, i)); - else this.anIDirect3DDevice9810.SetTransform(16 - -this.anInt8175, this.aClass101_Sub2Array8131[this.anInt8175].method918(aFloatArray9797, i ^ 0x1)); - int i_72_ = method3963(594, (this.aClass251Array8113[this.anInt8175])); - if (anIntArray9805[this.anInt8175] != i_72_) { - this.anIDirect3DDevice9810.SetTextureStageState(this.anInt8175, 24, i_72_); - anIntArray9805[this.anInt8175] = i_72_; - } - } else { - this.anIDirect3DDevice9810.SetTextureStageState(this.anInt8175, 24, 0); - anIntArray9805[this.anInt8175] = 0; - } - if (i != 1) aBoolean9801 = true; - } - - final Interface18_Impl3 method3861(int i, byte i_73_, int i_74_, Class68 class68, Class304 class304) { - if (i_73_ != -84) return null; - return new Class310_Sub2(this, class304, class68, i_74_, i); - } - - final void method3844(int i, Canvas canvas, Object object) { - if (canvas == this.aCanvas7925) { - Dimension dimension = canvas.getSize(); - if (dimension.width > 0 && 0 < dimension.height) { - this.anIDirect3DDevice9810.EndScene(); - method3960(false); - this.anIDirect3DDevice9810.BeginScene(); - } - } - if (i != 12727) method3953(null, (byte) 28); - } - - private static final boolean method3964(D3DPRESENT_PARAMETERS d3dpresent_parameters, int i, int j, IDirect3D idirect3d, int k, int l) { - try { - int i1; - int j1; - int k1; - i1 = 0; - j1 = 0; - k1 = i; - D3DDISPLAYMODE d3ddisplaymode = new D3DDISPLAYMODE(); - if (ue.a((byte) 97, idirect3d.a(j, d3ddisplaymode))) return false; - label0: - for (; l >= 0; l--) { - if (1 == l) continue; - k1 = l + 0; - label1: - for (int l1 = 0; l1 < anIntArray9790.length; l1++) { - if (idirect3d.CheckDeviceType(j, k, d3ddisplaymode.Format, anIntArray9790[l1], true) != 0 || idirect3d.CheckDeviceFormat(j, k, d3ddisplaymode.Format, 1, 1, anIntArray9790[l1]) != 0 || l != 0 && idirect3d.CheckDeviceMultiSampleType(j, k, anIntArray9790[l1], true, k1) != 0) - continue; - int i2 = 0; - do { - if (anIntArray9809.length <= i2) continue label1; - if (idirect3d.CheckDeviceFormat(j, k, d3ddisplaymode.Format, 2, 1, anIntArray9809[i2]) == 0 && idirect3d.CheckDepthStencilMatch(j, k, d3ddisplaymode.Format, anIntArray9790[l1], anIntArray9809[i2]) == 0 && (l == 0 || idirect3d.CheckDeviceMultiSampleType(j, k, anIntArray9809[l1], true, k1) == 0)) { - i1 = anIntArray9809[i2]; - j1 = anIntArray9790[l1]; - break label0; - } - i2++; - } while (true); - } - - } - - if (l < 0 || j1 == 0 || i1 == 0) return false; - d3dpresent_parameters.MultiSampleType = k1; - d3dpresent_parameters.AutoDepthStencilFormat = i1; - d3dpresent_parameters.MultiSampleQuality = 0; - d3dpresent_parameters.BackBufferFormat = j1; - return true; - } catch (Throwable t) { - return false; - } - } - - final void method3883(int i) { - int i_87_ = 60 % ((i - 20) / 36); - this.anIDirect3DDevice9810.a(137, ((this.aBoolean8145) && !(this.aBoolean8149))); - } - - final void method3950(int i) { - if (i != 0) anIntArray9809 = null; - if (Class348_Sub4.aClass173_6602 == this.aClass173_8163) { - this.anIDirect3DDevice9810.SetRenderState(19, 5); - this.anIDirect3DDevice9810.SetRenderState(20, 6); - } else if (this.aClass173_8163 == Class69.aClass173_1201) { - this.anIDirect3DDevice9810.SetRenderState(19, 2); - this.anIDirect3DDevice9810.SetRenderState(20, 2); - } else if (Class273.aClass173_5169 == this.aClass173_8163) { - this.anIDirect3DDevice9810.SetRenderState(19, 9); - this.anIDirect3DDevice9810.SetRenderState(20, 2); - } - } - - final void method3626(int i, int i_88_) throws Exception_Sub1 { - this.anIDirect3DDevice9810.EndScene(); - if (aClass53_9787.method498(-107)) { - anInt9785 = 0; - if (ue.a((byte) 97, aClass53_9787.method495((byte) 91, 0))) method3960(false); - } else { - if (50 < ++anInt9785) throw new Exception_Sub1(); - method3960(false); - } - this.anIDirect3DDevice9810.BeginScene(); - } - - final void method3925(int i, Interface5_Impl1 interface5_impl1, int i_89_) { - int i_90_ = -112 % ((i - -26) / 39); - Class366 class366 = (Class366) interface5_impl1; - this.anIDirect3DDevice9810.SetStreamSource(i_89_, class366.anIDirect3DVertexBuffer8511, 0, class366.method3519(3545)); - } - - final void ya() { - method3946(-32, true); - this.anIDirect3DDevice9810.Clear(2, 0, 1.0F, 0); - } -} diff --git a/client/src/Class38.java b/client/src/Class38.java deleted file mode 100644 index 4e3db44de..000000000 --- a/client/src/Class38.java +++ /dev/null @@ -1,294 +0,0 @@ -/* Class38 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.datatransfer.DataFlavor; -import java.awt.datatransfer.StringSelection; -import java.awt.datatransfer.Transferable; - -final class Class38 { - static int anInt497; - int anInt498; - int anInt499; - static int anInt500; - int anInt501 = 8; - int anInt502; - int anInt503 = 16777215; - int anInt504; - static int anInt505; - static int anInt506 = -1; - boolean aBoolean507; - int anInt508; - static int anInt509; - static boolean aBoolean510 = false; - static int anInt511; - static int anInt512; - static int anInt513 = 100; - - static final Class227 method360(byte i, int i_0_) { - anInt505++; - if (i != -57) method363(97); - Class227[] class227s = Class88.method841(i + -70); - for (int i_1_ = 0; class227s.length > i_1_; i_1_++) { - Class227 class227 = class227s[i_1_]; - if (class227.anInt2970 == i_0_) return class227; - } - return null; - } - - private final void method361(int i, Class348_Sub49 class348_sub49, int i_2_) { - if (i != -6617) method363(95); - anInt497++; - if (i_2_ == 1) this.anInt501 = class348_sub49.readUnsignedShort(842397944); - else if (i_2_ == 2) this.aBoolean507 = true; - else if (i_2_ == 3) { - this.anInt499 = class348_sub49.readShort(13638); - this.anInt502 = class348_sub49.readShort(13638); - this.anInt508 = class348_sub49.readShort(13638); - } else if (i_2_ == 4) this.anInt498 = class348_sub49.readUnsignedByte(255); - else if (i_2_ == 5) this.anInt504 = class348_sub49.readUnsignedShort(842397944); - else if (i_2_ == 6) this.anInt503 = class348_sub49.readMedium(-1); - } - - static final void method362(int i) { - anInt509++; - Class348_Sub27 class348_sub27 = ((Class348_Sub27) Class348_Sub42_Sub20.aClass262_9711.method1995(4)); - int i_3_ = -45 % ((i - -34) / 47); - for (/**/; class348_sub27 != null; class348_sub27 = (Class348_Sub27) Class348_Sub42_Sub20.aClass262_9711.method1990((byte) 81)) { - if (class348_sub27.anInt6893 > 0) class348_sub27.anInt6893--; - if (class348_sub27.anInt6893 != 0) { - if (class348_sub27.anInt6894 > 0) class348_sub27.anInt6894--; - if (class348_sub27.anInt6894 == 0 && class348_sub27.anInt6905 >= 1 && class348_sub27.anInt6896 >= 1 && (class348_sub27.anInt6905 <= -2 + Class367_Sub4.anInt7319) && (class348_sub27.anInt6896 <= -2 + Class348_Sub40_Sub3.anInt9109) && (class348_sub27.anInt6907 < 0 || (Class5_Sub2.method195(class348_sub27.anInt6895, false, class348_sub27.anInt6907)))) { - Class218.method1591(class348_sub27.anInt6905, 70, class348_sub27.anInt6904, -1, class348_sub27.anInt6907, class348_sub27.anInt6895, class348_sub27.anInt6896, class348_sub27.anInt6900, class348_sub27.anInt6899); - class348_sub27.anInt6894 = -1; - if ((class348_sub27.anInt6907 != class348_sub27.anInt6902) || class348_sub27.anInt6902 != -1) { - if ((class348_sub27.anInt6907 == class348_sub27.anInt6902) && (class348_sub27.anInt6892 == class348_sub27.anInt6900) && (class348_sub27.anInt6895 == (class348_sub27.anInt6903))) class348_sub27.method2715((byte) 75); - } else class348_sub27.method2715((byte) 86); - } - } else if (class348_sub27.anInt6902 < 0 || (Class5_Sub2.method195(class348_sub27.anInt6903, false, class348_sub27.anInt6902))) { - Class218.method1591(class348_sub27.anInt6905, 112, class348_sub27.anInt6904, -1, class348_sub27.anInt6902, class348_sub27.anInt6903, class348_sub27.anInt6896, class348_sub27.anInt6892, class348_sub27.anInt6899); - class348_sub27.method2715((byte) 49); - } - } - } - - private static int HISTORY_INDEX = -1; - - static final void method363(int i) { - if (Class168.anInt2254 < 102) Class168.anInt2254 += 6; - anInt512++; - if (Class121.anInt1794 != -1 && (Class299_Sub1_Sub1.aLong8694 < Class62.method599(-127))) { - for (int i_4_ = Class121.anInt1794; i_4_ < Class50_Sub1.aStringArray5223.length; i_4_++) { - if (Class50_Sub1.aStringArray5223[i_4_].startsWith("pause")) { - int i_5_ = 5; - try { - i_5_ = Integer.parseInt(Class50_Sub1.aStringArray5223[i_4_].substring(6)); - } catch (Exception exception) { - /* empty */ - } - Applet_Sub1.method94("Pausing for " + i_5_ + " seconds...", 58); - Class121.anInt1794 = 1 + i_4_; - Class299_Sub1_Sub1.aLong8694 = (long) (1000 * i_5_) + Class62.method599(-97); - return; - } else { - Class363.aString4461 = Class50_Sub1.aStringArray5223[i_4_]; - Class59_Sub1.method555(false, 0); - } - } - Class121.anInt1794 = -1; - } - if (Class98.anInt1565 != 0) { - Class284.anInt3676 -= Class98.anInt1565 * 5; - if (Class284.anInt3676 >= Class369_Sub2.anInt8587) Class284.anInt3676 = -1 + Class369_Sub2.anInt8587; - Class98.anInt1565 = 0; - if (Class284.anInt3676 < 0) Class284.anInt3676 = 0; - } - if (i >= 124) { - for (int i_6_ = 0; (Class348_Sub42_Sub19.anInt9699 > i_6_); i_6_++) { - Interface6 interface6 = Class348_Sub42_Sub5.anInterface6Array9534[i_6_]; - int i_7_ = interface6.method30(false); - char c = interface6.method28((byte) 46); - int i_8_ = interface6.method26(-7616); - if (i_7_ == 98) { - for (int index = HISTORY_INDEX; index < Class286_Sub1.aStringArray6200.length; index++) { - if (index == -1) { - continue; - } - String line = Class286_Sub1.aStringArray6200[index]; - if (line.isEmpty()) { - continue; - } - String[] parts = line.split(": "); - if (parts.length == 2 && parts[1].startsWith("-->")) { - if (index > HISTORY_INDEX) { - HISTORY_INDEX = index; - Class363.aString4461 = parts[1].substring(4); - Class348_Sub38.anInt7006 = Class363.aString4461.length(); - break; - } - } - } - } else if (i_7_ == 99) { - boolean found = false; - for (int index = HISTORY_INDEX - 1; index >= 0; index--) { - String line = Class286_Sub1.aStringArray6200[index]; - if (line.isEmpty()) { - continue; - } - String[] parts = line.split(": "); - if (parts.length == 2 && parts[1].startsWith("-->")) { - HISTORY_INDEX = index; - Class363.aString4461 = parts[1].substring(4); - Class348_Sub38.anInt7006 = Class363.aString4461.length(); - found = true; - break; - } - } - if (!found) { - Class363.aString4461 = ""; - Class348_Sub38.anInt7006 = 0; - } - } else if (i_7_ == 84) { - Class59_Sub1.method555(false, 0); - HISTORY_INDEX = -1; - } else if (i_7_ != 80) { - if (i_7_ == 66 && (0x4 & i_8_) != 0) { - if (Class348_Sub40_Sub27.aClipboard9357 != null) { - String string = ""; - for (int i_9_ = -1 + (Class286_Sub1.aStringArray6200).length; i_9_ >= 0; i_9_--) { - if ((Class286_Sub1.aStringArray6200[i_9_] != null) && Class286_Sub1.aStringArray6200[i_9_].length() > 0) string += (Class286_Sub1.aStringArray6200[i_9_]) + '\n'; - } - Class348_Sub40_Sub27.aClipboard9357.setContents(new StringSelection(string), null); - } - } else if (i_7_ != 67 || (0x4 & i_8_) == 0) { - if (i_7_ != 85 || Class348_Sub38.anInt7006 <= 0) { - if (i_7_ == 101 && (Class348_Sub38.anInt7006 < Class363.aString4461.length())){ - if ((0x4 & i_8_) == 0) { - Class363.aString4461 = ((Class363.aString4461.substring(0, Class348_Sub38.anInt7006)) + (Class363.aString4461.substring(Class348_Sub38.anInt7006 - -1))); - } else { - int index = Class363.aString4461.indexOf(' ', Class348_Sub38.anInt7006 + 1); - if (index == -1) { - index = Class363.aString4461.length(); - } - Class363.aString4461 = Class363.aString4461.substring(0, Class348_Sub38.anInt7006) + Class363.aString4461.substring(index); - } - } - else if (i_7_ != 96 || Class348_Sub38.anInt7006 <= 0) { - if (i_7_ == 97 && (Class363.aString4461.length() > Class348_Sub38.anInt7006)){ - if ((0x4 & i_8_) == 0) { - Class348_Sub38.anInt7006++; - } else { - int result = Class363.aString4461.indexOf(' ', Math.min(Class348_Sub38.anInt7006 + 1, Class363.aString4461.length() - 1)); - Class348_Sub38.anInt7006 = result == -1 ? Class363.aString4461.length() : result + 1; - } - } - else if (i_7_ == 102) Class348_Sub38.anInt7006 = 0; - else if (i_7_ == 103) Class348_Sub38.anInt7006 = Class363.aString4461.length(); - else if (i_7_ != 104 || (Class260.anInt3312 >= (Class286_Sub1.aStringArray6200).length)) { - if (i_7_ == 105 && Class260.anInt3312 > 0) { - Class260.anInt3312--; - aa.method159(-615751774); - Class348_Sub38.anInt7006 = Class363.aString4461.length(); - } else if (Npc.method2446(c, (byte) 105) || c == 92 || c == 47 || c == 46 || c == 58 || c == 44 || c == 32 || c == 95 || c == 45 || c == 43 || c == 91 || c == 93) { - Class363.aString4461 = ((Class363.aString4461.substring(0, Class348_Sub38.anInt7006)) + Class348_Sub42_Sub5.anInterface6Array9534[i_6_].method28((byte) 23) + (Class363.aString4461.substring(Class348_Sub38.anInt7006))); - Class348_Sub38.anInt7006++; - } - } else { - Class260.anInt3312++; - aa.method159(-615751774); - Class348_Sub38.anInt7006 = Class363.aString4461.length(); - } - } else { - if ((0x4 & i_8_) == 0) { - Class348_Sub38.anInt7006--; - } else { - Class348_Sub38.anInt7006 = Math.max(Class363.aString4461.lastIndexOf(' ', Class348_Sub38.anInt7006 - 2) + 1, 0); - } - } - } else { - if ((0x4 & i_8_) == 0) { - Class363.aString4461 = ((Class363.aString4461.substring(0, Class348_Sub38.anInt7006 - 1)) + Class363.aString4461.substring(Class348_Sub38.anInt7006)); - Class348_Sub38.anInt7006--; - } else { - int index = Class363.aString4461.trim().lastIndexOf(' ', Class348_Sub38.anInt7006); - index++; - Class363.aString4461 = Class363.aString4461.substring(0, index); - Class348_Sub38.anInt7006 = index; - } - } - } else if (Class348_Sub40_Sub27.aClipboard9357 != null) { - Transferable transferable = Class348_Sub40_Sub27.aClipboard9357.getContents(null); - if (transferable != null) { - try { - String string = (String) (transferable.getTransferData(DataFlavor.stringFlavor)); - if (string != null) { - String[] strings = Class348_Sub40_Sub23.method3113('\n', true, string); - Class348_Sub42_Sub6.method3189(0, strings); - } - } catch (Exception exception) { - /* empty */ - } - } - } - } else Class59_Sub1.method555(true, 0); - } - Class348_Sub42_Sub19.anInt9699 = 0; - Class253.anInt3246 = 0; - Class354.method3466(89); - } - } - - final void method364(Class348_Sub49 class348_sub49, byte i) { - anInt511++; - if (i >= 22) { - for (; ; ) { - int i_10_ = class348_sub49.readUnsignedByte(255); - if (i_10_ == 0) break; - method361(-6617, class348_sub49, i_10_); - } - } - } - - static final void method365(Class318_Sub1 class318_sub1, Class348_Sub1[] class348_sub1s) { - if (Class318_Sub1_Sub3_Sub3.aBoolean10221) { - int i = class318_sub1.method2384(class348_sub1s, 49); - Class9.aHa171.method3642(i, class348_sub1s); - } - if (Class332.aSArray4142 == aa_Sub1.aSArray5191) { - boolean bool = false; - boolean bool_11_ = false; - int i; - int i_12_; - if (class318_sub1 instanceof Class318_Sub1_Sub3) { - i = (((Class318_Sub1_Sub3) class318_sub1).aShort8743); - i_12_ = ((Class318_Sub1_Sub3) class318_sub1).aShort8750; - } else { - i = (class318_sub1.x >> Class362.anInt4459); - i_12_ = (class318_sub1.y >> Class362.anInt4459); - } - Class9.aHa171.EA((Class348_Sub1_Sub1.aSArray8801[0].method3986(class318_sub1.x, class318_sub1.y, (byte) -118)), Class367_Sub8.method3547(i, i_12_), Class318_Sub1_Sub5.method2483(i, i_12_), Class199.method1457(i, i_12_)); - } - Class318_Sub4 class318_sub4 = class318_sub1.method2386(1, Class9.aHa171); - if (class318_sub4 != null) { - if (class318_sub1.aBoolean6391) { - Class318_Sub3[] class318_sub3s = class318_sub4.aClass318_Sub3Array6414; - for (int i = 0; i < class318_sub3s.length; i++) { - Class318_Sub3 class318_sub3 = class318_sub3s[i]; - if (class318_sub3.aBoolean6401) Class338.method2663(-5590, (class318_sub3.anInt6405 - class318_sub3.anInt6403), (class318_sub3.anInt6406 + class318_sub3.anInt6403), (class318_sub3.anInt6402 - class318_sub3.anInt6403), (class318_sub3.anInt6404 + class318_sub3.anInt6403)); - } - } - if (class318_sub4.aBoolean6409) { - class318_sub4.aClass318_Sub1_6410 = class318_sub1; - if (Class348_Sub40_Sub5.aBoolean9121) { - synchronized (Class71.aClass76_1208) { - Class71.aClass76_1208.method774(class318_sub4, 18802); - } - } else Class71.aClass76_1208.method774(class318_sub4, 18802); - } else Class59_Sub1_Sub1.method560(class318_sub4, 18); - } - } - - public Class38() { - /* empty */ - } -} diff --git a/client/src/Class39.java b/client/src/Class39.java deleted file mode 100644 index 7da69270f..000000000 --- a/client/src/Class39.java +++ /dev/null @@ -1,50 +0,0 @@ -/* Class39 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class39 { - static int anInt514; - static Class74 aClass74_515 = new Class74(7, 7); - static int anInt516; - long aLong517; - static Class45 aClass45_518; - private final Class377 aClass377_519; - static Class112 aClass112_520; - static Class323 aClass323_521; - - static final void method366(Object[] objects, byte i, int[] is) { - do { - try { - Class279.method2092(is.length - 1, 0, is, -119, objects); - anInt514++; - if (i <= -97) break; - method367(-67); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ifa.B(" + (objects != null ? "{...}" : "null") + ',' + i + ',' + (is != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - protected final void finalize() throws Throwable { - aClass377_519.method3966(this.aLong517, 34192); - anInt516++; - super.finalize(); - } - - public static void method367(int i) { - aClass45_518 = null; - aClass74_515 = null; - aClass323_521 = null; - if (i == -15833) aClass112_520 = null; - } - - Class39(Class377 class377, long l, int i) { - try { - this.aLong517 = l; - aClass377_519 = class377; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ifa.(" + (class377 != null ? "{...}" : "null") + ',' + l + ',' + i + ')')); - } - } -} diff --git a/client/src/Class4.java b/client/src/Class4.java deleted file mode 100644 index 987580fc8..000000000 --- a/client/src/Class4.java +++ /dev/null @@ -1,108 +0,0 @@ -/* Class4 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class4 { - int anInt126; - private static short[] aShortArray127 = new short[500]; - short[] aShortArray128; - boolean aBoolean129; - short[] aShortArray130; - boolean aBoolean131 = false; - byte[] aByteArray132; - private static short[] aShortArray133 = new short[500]; - Class348_Sub33 aClass348_Sub33_134; - short[] aShortArray135; - private static byte[] aByteArray136 = new byte[500]; - short[] aShortArray137; - private static short[] aShortArray138 = new short[500]; - boolean aBoolean139; - short[] aShortArray140; - private static short[] aShortArray141; - private static short[] aShortArray142 = new short[500]; - - Class4(byte[] is, Class348_Sub33 class348_sub33) { - this.aBoolean129 = false; - this.aClass348_Sub33_134 = null; - this.aBoolean139 = false; - this.anInt126 = 0; - this.aClass348_Sub33_134 = class348_sub33; - try { - Class348_Sub49 class348_sub49 = new Class348_Sub49(is); - Class348_Sub49 class348_sub49_0_ = new Class348_Sub49(is); - class348_sub49.readUnsignedByte(255); - class348_sub49.anInt7197 += 2; - int i = class348_sub49.readUnsignedByte(255);//byte - int i_1_ = 0; - int i_2_ = -1; - int i_3_ = -1; - class348_sub49_0_.anInt7197 = class348_sub49.anInt7197 + i; - for (int i_4_ = 0; i_4_ < i; i_4_++) { - int i_5_ = (this.aClass348_Sub33_134.anIntArray6957[i_4_]); - if (i_5_ == 0) i_2_ = i_4_; - int i_6_ = class348_sub49.readUnsignedByte(255);//byte - if (i_6_ > 0) { - if (i_5_ == 0) i_3_ = i_4_; - aShortArray141[i_1_] = (short) i_4_; - short i_7_ = 0; - if (i_5_ == 3 || i_5_ == 10) i_7_ = (short) 128; - if ((i_6_ & 0x1) != 0) aShortArray127[i_1_] = (short) class348_sub49_0_.method3362((byte) 77);//smart - else aShortArray127[i_1_] = i_7_; - if ((i_6_ & 0x2) != 0) aShortArray133[i_1_] = (short) class348_sub49_0_.method3362((byte) 77);//smart - else aShortArray133[i_1_] = i_7_; - if ((i_6_ & 0x4) != 0) aShortArray142[i_1_] = (short) class348_sub49_0_.method3362((byte) 77);//smart - else aShortArray142[i_1_] = i_7_; - aByteArray136[i_1_] = (byte) (i_6_ >>> 3 & 0x3); - if (i_5_ == 2 || i_5_ == 9) { - aShortArray127[i_1_] = (short) (aShortArray127[i_1_] << 2 & 0x3fff); - aShortArray133[i_1_] = (short) (aShortArray133[i_1_] << 2 & 0x3fff); - aShortArray142[i_1_] = (short) (aShortArray142[i_1_] << 2 & 0x3fff); - } - aShortArray138[i_1_] = (short) -1; - if (i_5_ == 1 || i_5_ == 2 || i_5_ == 3) { - if (i_2_ > i_3_) { - aShortArray138[i_1_] = (short) i_2_; - i_3_ = i_2_; - } - } else if (i_5_ == 5) this.aBoolean139 = true; - else if (i_5_ == 7) this.aBoolean131 = true; - else if (i_5_ == 9 || i_5_ == 10 || i_5_ == 8) this.aBoolean129 = true; - i_1_++; - } - } - if (class348_sub49_0_.anInt7197 != is.length) throw new RuntimeException(); - this.anInt126 = i_1_; - this.aShortArray130 = new short[i_1_]; - this.aShortArray140 = new short[i_1_]; - this.aShortArray137 = new short[i_1_]; - this.aShortArray135 = new short[i_1_]; - this.aShortArray128 = new short[i_1_]; - this.aByteArray132 = new byte[i_1_]; - for (int i_8_ = 0; i_8_ < i_1_; i_8_++) { - this.aShortArray130[i_8_] = aShortArray141[i_8_]; - this.aShortArray140[i_8_] = aShortArray127[i_8_]; - this.aShortArray137[i_8_] = aShortArray133[i_8_]; - this.aShortArray135[i_8_] = aShortArray142[i_8_]; - this.aShortArray128[i_8_] = aShortArray138[i_8_]; - this.aByteArray132[i_8_] = aByteArray136[i_8_]; - } - } catch (Exception exception) { - this.anInt126 = 0; - this.aBoolean139 = false; - this.aBoolean131 = false; - } - } - - public static void method177() { - aShortArray141 = null; - aShortArray127 = null; - aShortArray133 = null; - aShortArray142 = null; - aShortArray138 = null; - aByteArray136 = null; - } - - static { - aShortArray141 = new short[500]; - } -} diff --git a/client/src/Class40.java b/client/src/Class40.java deleted file mode 100644 index 60ce9e7b9..000000000 --- a/client/src/Class40.java +++ /dev/null @@ -1,110 +0,0 @@ -/* Class40 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class40 { - int anInt522; - boolean[] aBooleanArray523; - int anInt524; - int[] anIntArray525 = new int[6]; - int anInt526; - byte[] aByteArray527; - byte[] aByteArray528; - int[][] anIntArrayArray529; - int anInt530; - byte[] aByteArray531 = new byte[18002]; - boolean[] aBooleanArray532; - int anInt533; - byte[] aByteArray534; - int[] anIntArray535; - int anInt536; - int anInt537; - int anInt538; - byte aByte539; - int[] anIntArray540; - int anInt541; - static int anInt542; - static int[] anIntArray543; - byte[] aByteArray544; - byte[] aByteArray545; - int anInt546; - static int anInt547; - int anInt548; - byte[][] aByteArrayArray549; - int anInt550; - static int anInt551; - int anInt552; - int[][] anIntArrayArray553; - int anInt554; - int anInt555; - int[][] anIntArrayArray556; - int[] anIntArray557; - static int anInt558 = -1; - - static final void method368(int i, int i_0_, boolean bool, int i_1_, Class45 class45, int i_2_, int i_3_) { - if (i_0_ != 18002) anInt558 = 41; - anInt551++; - if (i_3_ > 0) { - Class346.aBoolean4275 = bool; - Class348_Sub43.anInt7068 = 1; - Class124.aClass45_1848 = class45; - Class318_Sub1_Sub4_Sub1.anInt10074 = i_1_; - Class285.aClass348_Sub16_Sub3_4743 = null; - Class318.anInt3971 = i_2_; - Class58.anInt1059 = i; - Class239_Sub14.anInt5994 = (Class98.aClass348_Sub16_Sub3_1564.method2844((byte) 103) / i_3_); - if (Class239_Sub14.anInt5994 < 1) Class239_Sub14.anInt5994 = 1; - } else Class348_Sub1_Sub3.method2732(i_2_, i_1_, bool, 123, class45, i); - } - - static final void method369(int i) { - Class348_Sub45.aClass105Array7107 = null; - Class239_Sub2.aClass105Array5857 = null; - Class348_Sub12.aClass105Array6742 = null; - Class240.aClass105Array4679 = null; - if (i != -29776) method370(true); - Class79.aClass105_1365 = null; - Class25.aClass105Array367 = null; - Class239_Sub9.aClass105Array5933 = null; - Class200.aClass105Array2640 = null; - Class348_Sub40_Sub37.aClass105Array9467 = null; - Class262.aClass324_3326 = null; - Class239_Sub24.aClass105_6097 = null; - Applet_Sub1.aClass324_20 = null; - Class240.aClass324_4684 = null; - Class169.aClass105Array2260 = null; - Class113.aClass105Array1744 = null; - Class264.aClass105Array3378 = null; - Class59_Sub1.aClass105Array5294 = null; - Class318_Sub1_Sub1_Sub1.aClass105Array9959 = null; - anInt542++; - } - - public static void method370(boolean bool) { - if (bool != true) anIntArray543 = null; - anIntArray543 = null; - } - - static final boolean method371(int i, int i_4_, int i_5_) { - if (i_4_ != 256) return true; - anInt547++; - return (i & 0x180) != 0; - } - - Class40() { - this.anInt522 = 0; - this.anIntArrayArray529 = new int[6][258]; - this.anIntArray535 = new int[256]; - this.aByteArray544 = new byte[18002]; - this.aBooleanArray523 = new boolean[256]; - this.aByteArray528 = new byte[256]; - this.anInt548 = 0; - this.aByteArrayArray549 = new byte[6][258]; - this.aByteArray545 = new byte[4096]; - this.anIntArray540 = new int[16]; - this.aBooleanArray532 = new boolean[16]; - this.anIntArrayArray553 = new int[6][258]; - this.anIntArrayArray556 = new int[6][258]; - this.anIntArray557 = new int[257]; - } -} diff --git a/client/src/Class41.java b/client/src/Class41.java deleted file mode 100644 index 49746f357..000000000 --- a/client/src/Class41.java +++ /dev/null @@ -1,19 +0,0 @@ -/* Class41 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class41 { - int anInt559; - int anInt560; - int anInt561; - - public Class41() { - /* empty */ - } - - Class41(Class41 class41_0_) { - this.anInt561 = class41_0_.anInt561; - this.anInt560 = class41_0_.anInt560; - this.anInt559 = class41_0_.anInt559; - } -} diff --git a/client/src/Class42.java b/client/src/Class42.java deleted file mode 100644 index e10ad6d5a..000000000 --- a/client/src/Class42.java +++ /dev/null @@ -1,244 +0,0 @@ -/* Class42 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class42 { - static int anInt562; - static int anInt563; - byte[] aByteArray564; - String aString565; - int anInt566; - int anInt567; - int anInt568; - boolean aBoolean569; - int anInt570 = -2147483648; - static int anInt571; - int[] anIntArray572; - private int anInt573 = -1; - boolean aBoolean574; - int anInt575 = -1; - int anInt576; - String[] aStringArray577; - int anInt578; - static int anInt579; - int anInt580; - int anInt581; - int anInt582; - private int anInt583; - int anInt584; - private int anInt585; - private int anInt586; - private int anInt587; - private Class356 aClass356_588; - static int anInt589; - private int anInt590; - int[] anIntArray591; - private int anInt592; - Class153 aClass153_593; - static int anInt594; - int anInt595; - int anInt596; - String aString597; - private int anInt598; - boolean aBoolean599; - static int anInt600; - int anInt601; - int anInt602; - int anInt603; - int anInt604; - int anInt605; - private int anInt606; - int anInt607; - static int anInt608; - boolean aBoolean609; - static int anInt610; - - final void method372(int i) { - anInt608++; - if (i != -25359) this.anInt578 = -106; - if (this.anIntArray591 != null) { - for (int i_0_ = 0; (this.anIntArray591.length > i_0_); i_0_ += 2) { - if (this.anIntArray591[i_0_] >= this.anInt603) { - if (this.anIntArray591[i_0_] > this.anInt595) this.anInt595 = this.anIntArray591[i_0_]; - } else this.anInt603 = this.anIntArray591[i_0_]; - if (this.anIntArray591[i_0_ + 1] >= this.anInt607) { - if (this.anIntArray591[1 + i_0_] > this.anInt570) this.anInt570 = this.anIntArray591[i_0_ - -1]; - } else this.anInt607 = this.anIntArray591[i_0_ + 1]; - } - } - } - - final boolean method373(Interface17 interface17, int i) { - anInt594++; - int i_1_; - if (anInt606 == -1) { - if (anInt590 == -1) return true; - i_1_ = interface17.method62(anInt590, -65536); - } else i_1_ = interface17.method61(anInt606, (byte) -16); - if (i_1_ < anInt585 || i_1_ > anInt592) return false; - if (i < 26) anInt586 = 11; - boolean bool = false; - int i_2_; - if (anInt583 == -1) { - if (anInt573 != -1) i_2_ = interface17.method62(anInt573, -65536); - else return true; - } else i_2_ = interface17.method61(anInt583, (byte) -16); - return i_2_ >= anInt587 && i_2_ <= anInt586; - } - - final Class105 method374(boolean bool, ha var_ha, byte i) { - anInt579++; - int i_3_ = bool ? this.anInt605 : this.anInt578; - if (i != 127) return null; - int i_4_ = i_3_ | var_ha.anInt4567 << 29; - Class105 class105 = (Class105) this.aClass153_593.aClass60_2089.method583(i_4_, 64); - if (class105 != null) return class105; - if (!this.aClass153_593.aClass45_2087.method421(false, i_3_)) return null; - Class207 class207 = Class207.method1521((this.aClass153_593.aClass45_2087), i_3_, 0); - if (class207 != null) { - class105 = var_ha.method3691(class207, true); - this.aClass153_593.aClass60_2089.method582(class105, i_4_, (byte) -111); - } - return class105; - } - - final Class105 method375(ha var_ha, boolean bool) { - anInt563++; - if (bool != false) method375(null, true); - Class105 class105 = (Class105) (this.aClass153_593.aClass60_2089.method583(anInt598 | 0x20000 | var_ha.anInt4567 << 29, -75)); - if (class105 != null) return class105; - this.aClass153_593.aClass45_2087.method421(bool, anInt598); - Class207 class207 = Class207.method1521((this.aClass153_593.aClass45_2087), anInt598, 0); - if (class207 != null) { - class105 = var_ha.method3691(class207, true); - this.aClass153_593.aClass60_2089.method582(class105, var_ha.anInt4567 << 29 | (anInt598 | 0x20000), (byte) -121); - } - return class105; - } - - final String method376(String string, int i, byte i_5_) { - anInt589++; - int i_6_ = -100 / ((63 - i_5_) / 58); - if (aClass356_588 == null) return string; - Class348_Sub50 class348_sub50 = (Class348_Sub50) aClass356_588.method3480(i, -6008); - if (class348_sub50 == null) return string; - return class348_sub50.aString7211; - } - - private final void method377(int i, Class348_Sub49 class348_sub49, int i_7_) { - anInt571++; - if (i != 1) { - if (i == 2) this.anInt605 = class348_sub49.readUnsignedShort(842397944); - else if (i == 3) this.aString597 = class348_sub49.readString((byte) 93); - else if (i != 4) { - if (i == 5) this.anInt567 = class348_sub49.readMedium(-1); - else if (i == 6) this.anInt576 = class348_sub49.readUnsignedByte(255); - else if (i == 7) { - int i_8_ = class348_sub49.readUnsignedByte(255); - if ((0x1 & i_8_) == 0) this.aBoolean574 = false; - if ((i_8_ & 0x2) == 2) this.aBoolean569 = true; - } else if (i == 8) this.aBoolean599 = class348_sub49.readUnsignedByte(255) == 1; - else if (i == 9) { - anInt590 = class348_sub49.readUnsignedShort(842397944); - if (anInt590 == 65535) anInt590 = -1; - anInt606 = class348_sub49.readUnsignedShort(842397944); - if (anInt606 == 65535) anInt606 = -1; - anInt585 = class348_sub49.readInt((byte) -126); - anInt592 = class348_sub49.readInt((byte) -126); - } else if (i >= 10 && i <= 14) this.aStringArray577[-10 + i] = class348_sub49.readString((byte) -45); - else if (i == 15) { - int i_9_ = class348_sub49.readUnsignedByte(255); - this.anIntArray591 = new int[i_9_ * 2]; - for (int i_10_ = 0; i_10_ < i_9_ * 2; i_10_++) - this.anIntArray591[i_10_] = class348_sub49.readShort(13638); - this.anInt582 = class348_sub49.readInt((byte) -126); - int i_11_ = class348_sub49.readUnsignedByte(255); - this.anIntArray572 = new int[i_11_]; - for (int i_12_ = 0; (this.anIntArray572.length > i_12_); i_12_++) - this.anIntArray572[i_12_] = class348_sub49.readInt((byte) -126); - this.aByteArray564 = new byte[i_9_]; - for (int i_13_ = 0; i_9_ > i_13_; i_13_++) - this.aByteArray564[i_13_] = class348_sub49.readByte(-107); - } else if (i != 16) { - if (i == 17) this.aString565 = class348_sub49.readString((byte) 117); - else if (i == 18) anInt598 = class348_sub49.readUnsignedShort(842397944); - else if (i == 19) this.anInt596 = class348_sub49.readUnsignedShort(842397944); - else if (i == 20) { - anInt573 = class348_sub49.readUnsignedShort(842397944); - if (anInt573 == 65535) anInt573 = -1; - anInt583 = class348_sub49.readUnsignedShort(842397944); - if (anInt583 == 65535) anInt583 = -1; - anInt587 = class348_sub49.readInt((byte) -126); - anInt586 = class348_sub49.readInt((byte) -126); - } else if (i != 21) { - if (i == 22) this.anInt602 = class348_sub49.readInt((byte) -126); - else if (i == 23) { - this.anInt584 = class348_sub49.readUnsignedByte(255); - this.anInt575 = class348_sub49.readUnsignedByte(255); - this.anInt601 = class348_sub49.readUnsignedByte(255); - } else if (i == 24) { - this.anInt566 = class348_sub49.readShort(13638); - this.anInt568 = class348_sub49.readShort(13638); - } else if (i == 249) { - int i_14_ = class348_sub49.readUnsignedByte(255); - if (aClass356_588 == null) { - int i_15_ = Class33.method340(i_14_, (byte) 108); - aClass356_588 = new Class356(i_15_); - } - for (int i_16_ = 0; (i_16_ < i_14_); i_16_++) { - boolean bool = (class348_sub49.readUnsignedByte(255) == 1); - int i_17_ = class348_sub49.readMedium(-1); - Class348 class348; - if (!bool) class348 = (new Class348_Sub35(class348_sub49.readInt((byte) -126))); - else class348 = (new Class348_Sub50(class348_sub49.readString((byte) -41))); - aClass356_588.method3483((byte) 60, i_17_, class348); - } - } - } else this.anInt604 = class348_sub49.readInt((byte) -126); - } else this.aBoolean609 = false; - } else this.anInt580 = class348_sub49.readMedium(-1); - } else this.anInt578 = class348_sub49.readUnsignedShort(842397944); - if (i_7_ > -113) method375(null, true); - } - - final int method378(int i, int i_18_, boolean bool) { - anInt600++; - if (aClass356_588 == null) return i; - if (bool != false) return -1; - Class348_Sub35 class348_sub35 = (Class348_Sub35) aClass356_588.method3480(i_18_, -6008); - if (class348_sub35 == null) return i; - return class348_sub35.anInt6976; - } - - final void method379(Class348_Sub49 class348_sub49, int i) { - if (i < 81) anInt590 = 17; - anInt610++; - for (; ; ) { - int i_19_ = class348_sub49.readUnsignedByte(255); - if (i_19_ == 0) break; - method377(i_19_, class348_sub49, -121); - } - } - - public Class42() { - this.aBoolean574 = true; - this.anInt578 = -1; - anInt583 = -1; - this.anInt596 = -1; - this.aBoolean599 = true; - this.anInt567 = -1; - this.anInt576 = 0; - this.aStringArray577 = new String[5]; - anInt598 = -1; - this.anInt595 = -2147483648; - this.anInt584 = -1; - this.anInt603 = 2147483647; - anInt590 = -1; - anInt606 = -1; - this.aBoolean609 = true; - this.aBoolean569 = false; - this.anInt601 = -1; - this.anInt607 = 2147483647; - this.anInt605 = -1; - } -} diff --git a/client/src/Class43.java b/client/src/Class43.java deleted file mode 100644 index 4d66d257b..000000000 --- a/client/src/Class43.java +++ /dev/null @@ -1,61 +0,0 @@ -/* Class43 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class43 { - static Class45 aClass45_611; - static int anInt612; - static int anInt613; - Class348_Sub42_Sub10 aClass348_Sub42_Sub10_614; - int anInt615; - static int anInt616; - int[] anIntArray617; - static Class351 aClass351_618 = new Class351(5, 3); - static int[] anIntArray619 = {0, 1, 2, 2, 1, 1, 2, 3, 1, 3, 3, 4, 2, 0, 4}; - static int anInt620; - - public static void method380(int i) { - aClass351_618 = null; - anIntArray619 = null; - if (i == 0) aClass45_611 = null; - } - - static final Class179 method381(byte i) { - anInt616++; - if (i != 68) method381((byte) -42); - return Class114.method1059((byte) 95, 1); - } - - static final void method382(String string, boolean bool) { - anInt613++; - Class239_Sub12.aString5966 = string; - if (bool != true) method381((byte) -48); - if (Class93.anApplet1530 != null) { - try { - String string_0_ = Class93.anApplet1530.getParameter("cookieprefix"); - String string_1_ = Class93.anApplet1530.getParameter("cookiehost"); - String string_2_ = (string_0_ + "settings=" + string + "; version=1; path=/; domain=" + string_1_); - if (string.length() == 0) string_2_ += "; Expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age=0"; - else string_2_ += ("; Expires=" + (Class348_Sub42_Sub16_Sub1.method3261(Class62.method599(-53) + 94608000000L, 63)) + "; Max-Age=" + 94608000L); - Class224.method1615(Class93.anApplet1530, -15092, "document.cookie=\"" + string_2_ + "\""); - } catch (Throwable throwable) { - /* empty */ - } - } - } - - static final void method383(int i) { - for (int i_3_ = i; Class250.anInt3225 > i_3_; i_3_++) { - int i_4_ = (Class350.method3452(Class286.anInt3682 + i_3_, (byte) -15, Class250.anInt3225) * Class31.anInt425); - for (int i_5_ = 0; Class31.anInt425 > i_5_; i_5_++) { - int i_6_ = (Class350.method3452(i_5_ - -Class239_Sub24.anInt6095, (byte) -15, Class31.anInt425) + i_4_); - if (Class132.anIntArray1909[i_6_] == Class318_Sub1_Sub1_Sub2.anInt9997) Class92.anInterface4Array1525[i_6_].method14(0, 0, Class58.anInt1067, Class344.anInt4267, i_5_ * Class58.anInt1067, Class344.anInt4267 * i_3_, true, true); - } - } - anInt612++; - } - - public Class43() { - /* empty */ - } -} diff --git a/client/src/Class44.java b/client/src/Class44.java deleted file mode 100644 index 0408f9f6d..000000000 --- a/client/src/Class44.java +++ /dev/null @@ -1,120 +0,0 @@ -/* Class44 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class44 { - static int anInt621; - static int anInt622; - static int anInt623; - static Class101 aClass101_624; - static char[] aCharArray625 = {'\u20ac', '\0', '\u201a', '\u0192', '\u201e', '\u2026', '\u2020', '\u2021', '\u02c6', '\u2030', '\u0160', '\u2039', '\u0152', '\0', '\u017d', '\0', '\0', '\u2018', '\u2019', '\u201c', '\u201d', '\u2022', '\u2013', '\u2014', '\u02dc', '\u2122', '\u0161', '\u203a', '\u0153', '\0', '\u017e', '\u0178'}; - - static final int method384(int i, int i_0_, int i_1_) { - anInt623++; - int i_2_ = (Class127.method1115(i - 1, i_1_ - 1, (byte) 91) - (-Class127.method1115(i - -1, i_1_ + -1, (byte) -53) + -Class127.method1115(-1 + i, 1 + i_1_, (byte) -90)) + Class127.method1115(i - -1, i_1_ - -1, (byte) -82)); - int i_3_ = (Class127.method1115(i + -1, i_1_, (byte) -118) + (Class127.method1115(i - i_0_, i_1_, (byte) 118) - (-Class127.method1115(i, -1 + i_1_, (byte) 109) + -Class127.method1115(i, 1 + i_1_, (byte) 89)))); - int i_4_ = Class127.method1115(i, i_1_, (byte) -59); - return i_4_ / 4 + i_3_ / 8 + i_2_ / 16; - } - - static final void method385(boolean bool, Class237_Sub1 class237_sub1, byte[][] is) { - do { - try { - anInt622++; - int[] is_5_ = {-1, 0, 0, 0, 0}; - for (int i = 0; i < class237_sub1.anInt3130; i++) { - Class369_Sub1.method3570(false); - for (int i_6_ = 0; (Class367_Sub4.anInt7319 >> 3 > i_6_); i_6_++) { - for (int i_7_ = 0; i_7_ < Class348_Sub40_Sub3.anInt9109 >> 3; i_7_++) { - int i_8_ = (Class62.anIntArrayArrayArray1116[i][i_6_][i_7_]); - if (i_8_ != -1) { - int i_9_ = i_8_ >> 24 & 0x3; - if (!class237_sub1.aBoolean3109 || i_9_ == 0) { - int i_10_ = (i_8_ & 0x6) >> 1; - int i_11_ = (i_8_ & 0xffd064) >> 14; - int i_12_ = i_8_ >> 3 & 0x7ff; - int i_13_ = ((i_11_ / 8 << 8) - -(i_12_ / 8)); - for (int i_14_ = 0; i_14_ < (Class348_Sub23_Sub3.anIntArray9042).length; i_14_++) { - if ((i_13_ == (Class348_Sub23_Sub3.anIntArray9042[i_14_])) && is[i_14_] != null) { - Class348_Sub49 class348_sub49 = new Class348_Sub49(is[i_14_]); - class237_sub1.method1684(i_6_ * 8, i, -1, class348_sub49, i_12_, 8 * i_7_, i_11_, (Class348_Sub45.aClass361Array7108), i_10_, i_9_); - class237_sub1.method1696(class348_sub49, false, i_12_, i_11_, 8 * i_6_, i, i_10_, 8 * i_7_, Class348_Sub8.aHa6654, is_5_[0] != -1 ? null : is_5_, i_9_); - break; - } - } - } - } - } - } - } - for (int i = 0; class237_sub1.anInt3130 > i; i++) { - Class369_Sub1.method3570(false); - for (int i_15_ = 0; (i_15_ < Class367_Sub4.anInt7319 >> 3); i_15_++) { - for (int i_16_ = 0; (i_16_ < Class348_Sub40_Sub3.anInt9109 >> 3); i_16_++) { - int i_17_ = (Class62.anIntArrayArrayArray1116[i][i_15_][i_16_]); - if (i_17_ == -1) class237_sub1.method1678(i_15_ * 8, 8, i_16_ * 8, -100, 8, i); - } - } - } - if (is_5_[0] != -1) { - Class259.aClass305_3304 = Class30.aClass84_413.method823(is_5_[2], is_5_[3], is_5_[1], -109, (Class123.aClass25_1813), is_5_[0]); - Class185.anInt2481 = is_5_[4]; - } - if (bool == false) break; - method387(26); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ik.D(" + bool + ',' + (class237_sub1 != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - static final void method386(byte i) { - anInt621++; - if (i != -106) method386((byte) 21); - Class15.aClass60_225.method587(i + 9); - } - - public static void method387(int i) { - aClass101_624 = null; - aCharArray625 = null; - if (i < 33) aCharArray625 = null; - } - - static final void method388(int i, int i_18_, int i_19_, Class318_Sub1_Sub5 class318_sub1_sub5, Class318_Sub1_Sub5 class318_sub1_sub5_20_) { - Class357 class357 = Class348_Sub46.method3321(i, i_18_, i_19_); - if (class357 != null) { - class357.aClass318_Sub1_Sub5_4395 = class318_sub1_sub5; - class357.aClass318_Sub1_Sub5_4407 = class318_sub1_sub5_20_; - int i_21_ = aa_Sub1.aSArray5191 == Class332.aSArray4142 ? 1 : 0; - if (class318_sub1_sub5.method2376(-62)) { - if (class318_sub1_sub5.method2377((byte) 122)) { - class318_sub1_sub5.aClass318_Sub1_6379 = Class250.aClass318_Sub1Array3226[i_21_]; - Class250.aClass318_Sub1Array3226[i_21_] = class318_sub1_sub5; - } else { - class318_sub1_sub5.aClass318_Sub1_6379 = Class348.aClass318_Sub1Array4293[i_21_]; - Class348.aClass318_Sub1Array4293[i_21_] = class318_sub1_sub5; - Class348_Sub16_Sub2.aBoolean8870 = true; - } - } else { - class318_sub1_sub5.aClass318_Sub1_6379 = Class115.aClass318_Sub1Array1754[i_21_]; - Class115.aClass318_Sub1Array1754[i_21_] = class318_sub1_sub5; - } - if (class318_sub1_sub5_20_ != null) { - if (class318_sub1_sub5_20_.method2376(-110)) { - if (class318_sub1_sub5_20_.method2377((byte) 122)) { - class318_sub1_sub5_20_.aClass318_Sub1_6379 = Class250.aClass318_Sub1Array3226[i_21_]; - Class250.aClass318_Sub1Array3226[i_21_] = class318_sub1_sub5_20_; - } else { - class318_sub1_sub5_20_.aClass318_Sub1_6379 = Class348.aClass318_Sub1Array4293[i_21_]; - Class348.aClass318_Sub1Array4293[i_21_] = class318_sub1_sub5_20_; - Class348_Sub16_Sub2.aBoolean8870 = true; - } - } else { - class318_sub1_sub5_20_.aClass318_Sub1_6379 = Class115.aClass318_Sub1Array1754[i_21_]; - Class115.aClass318_Sub1Array1754[i_21_] = class318_sub1_sub5_20_; - } - } - } - } -} diff --git a/client/src/Class45.java b/client/src/Class45.java deleted file mode 100644 index 9a9e6e87d..000000000 --- a/client/src/Class45.java +++ /dev/null @@ -1,534 +0,0 @@ -/* Class45 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class45 { - static int anInt626; - static int anInt627; - static int anInt628; - private Class291 aClass291_629 = null; - static int anInt630; - static int anInt631; - static int anInt632; - static int anInt633; - int anInt634; - static int anInt635; - static int anInt636; - static int anInt637; - static int anInt638; - static int anInt639; - static int anInt640; - static int anInt641; - static int anInt642; - static Class351 aClass351_643 = new Class351(3, -1); - static int anInt644; - static int anInt645; - static int anInt646; - static int anInt647; - static int anInt648; - static int anInt649; - static int anInt650; - static int anInt651; - static int anInt652; - static int anInt653; - static int anInt654; - private final boolean aBoolean655; - private Object[] anObjectArray656; - static int anInt657; - static int anInt658; - private Class314 aClass314_659; - static int anInt660; - static int anInt661; - static int anInt662; - static int anInt663; - private Object[][] anObjectArrayArray664; - static int anInt665; - static int anInt666; - static long aLong667; - static int anInt668; - static int anInt669 = 0; - static float aFloat670; - - final int method389(int i) { - int i_0_ = -117 / ((-60 - i) / 33); - anInt657++; - if (!method399(false)) throw new IllegalStateException(""); - return aClass291_629.anInt3719; - } - - public static void method390(byte i) { - aClass351_643 = null; - if (i != 10) method390((byte) -3); - } - - final byte[] method391(String string, String string_1_, int i) { - try { - anInt647++; - if (!method399(false)) return null; - string = string.toLowerCase(); - string_1_ = string_1_.toLowerCase(); - int i_2_ = aClass291_629.aClass316_3723.method2365(1, Class281.method2108(string, -29286)); - if (!method392(i_2_, (byte) -40)) return null; - if (i != -29832) method392(22, (byte) 12); - int i_3_ = (aClass291_629.aClass316Array3728[i_2_].method2365(i ^ ~0x7486, Class281.method2108(string_1_, -29286))); - return method410(-1860, i_2_, i_3_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("in.EA(" + (string != null ? "{...}" : "null") + ',' + (string_1_ != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - private final boolean method392(int i, byte i_4_) { - anInt646++; - if (!method399(false)) return false; - if (i < 0 || aClass291_629.anIntArray3724.length <= i || (aClass291_629.anIntArray3724[i] == 0)) { - if (Class285.aBoolean4741) throw new IllegalArgumentException(Integer.toString(i)); - return false; - } - return i_4_ == -40; - } - - final byte[] method393(int i, int i_5_, int i_6_, int[] is) { - anInt639++; - if (i_6_ != 2) anInt669 = 51; - if (!method418(i_5_, i_6_ + -2, i)) return null; - if (anObjectArrayArray664[i] == null || anObjectArrayArray664[i][i_5_] == null) { - boolean bool = method394(i_5_, (byte) -78, is, i); - if (!bool) { - method406(i, -117); - bool = method394(i_5_, (byte) -103, is, i); - if (!bool) return null; - } - } - byte[] is_7_ = Class50_Sub1.method461(false, anObjectArrayArray664[i][i_5_], 53146732); - if (this.anInt634 == 1) { - anObjectArrayArray664[i][i_5_] = null; - if (aClass291_629.anIntArray3724[i] == 1) anObjectArrayArray664[i] = null; - } else if (this.anInt634 == 2) anObjectArrayArray664[i] = null; - return is_7_; - } - - private final boolean method394(int i, byte i_8_, int[] is, int i_9_) { - anInt628++; - if (!method392(i_9_, (byte) -40)) return false; - if (anObjectArray656[i_9_] == null) return false; - int i_10_ = aClass291_629.anIntArray3725[i_9_]; - int[] is_11_ = aClass291_629.anIntArrayArray3721[i_9_]; - if (anObjectArrayArray664[i_9_] == null) anObjectArrayArray664[i_9_] = new Object[aClass291_629.anIntArray3724[i_9_]]; - Object[] objects = anObjectArrayArray664[i_9_]; - boolean bool = true; - for (int i_12_ = 0; i_10_ > i_12_; i_12_++) { - int i_13_; - if (is_11_ == null) i_13_ = i_12_; - else i_13_ = is_11_[i_12_]; - if (objects[i_13_] == null) { - bool = false; - break; - } - } - if (bool) return true; - byte[] is_14_; - if (is == null || (is[0] == 0 && is[1] == 0 && is[2] == 0 && is[3] == 0)) is_14_ = Class50_Sub1.method461(false, anObjectArray656[i_9_], 53146732); - else { - is_14_ = Class50_Sub1.method461(true, anObjectArray656[i_9_], 53146732); - Class348_Sub49 class348_sub49 = new Class348_Sub49(is_14_); - class348_sub49.method3367(607818341, is, 5, (class348_sub49.aByteArray7154).length); - } - byte[] is_15_; - try { - is_15_ = Class348_Sub41.method3158(is_14_, -120); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("T3 - " + (is != null) + "," + i_9_ + "," + is_14_.length + "," + Class59_Sub1.method554(5126, is_14_.length, is_14_) + "," + Class59_Sub1.method554(5126, -2 + is_14_.length, is_14_) + "," + aClass291_629.anIntArray3729[i_9_] + "," + aClass291_629.anInt3719)); - } - if (aBoolean655) anObjectArray656[i_9_] = null; - if (i_8_ >= -17) method415((byte) 70, -7); - if (i_10_ > 1) { - if (this.anInt634 == 2) { - int i_30_ = is_15_.length; - int i_31_ = 0xff & is_15_[--i_30_]; - i_30_ -= 4 * (i_31_ * i_10_); - Class348_Sub49 class348_sub49 = new Class348_Sub49(is_15_); - int i_32_ = 0; - int i_33_ = 0; - class348_sub49.anInt7197 = i_30_; - for (int i_34_ = 0; i_34_ < i_31_; i_34_++) { - int i_35_ = 0; - for (int i_36_ = 0; i_36_ < i_10_; i_36_++) { - i_35_ += class348_sub49.readInt((byte) -126); - int i_37_; - if (is_11_ == null) i_37_ = i_36_; - else i_37_ = is_11_[i_36_]; - if (i == i_37_) { - i_33_ = i_37_; - i_32_ += i_35_; - } - } - } - if (i_32_ == 0) return true; - byte[] is_38_ = new byte[i_32_]; - class348_sub49.anInt7197 = i_30_; - i_32_ = 0; - int i_39_ = 0; - for (int i_40_ = 0; i_40_ < i_31_; i_40_++) { - int i_41_ = 0; - for (int i_42_ = 0; i_42_ < i_10_; i_42_++) { - i_41_ += class348_sub49.readInt((byte) -126); - int i_43_; - if (is_11_ != null) i_43_ = is_11_[i_42_]; - else i_43_ = i_42_; - if (i_43_ == i) { - Class214.method1577(is_15_, i_39_, is_38_, i_32_, i_41_); - i_32_ += i_41_; - } - i_39_ += i_41_; - } - } - objects[i_33_] = is_38_; - } else { - int i_16_ = is_15_.length; - int i_17_ = 0xff & is_15_[--i_16_]; - i_16_ -= 4 * (i_10_ * i_17_); - Class348_Sub49 class348_sub49 = new Class348_Sub49(is_15_); - int[] is_18_ = new int[i_10_]; - class348_sub49.anInt7197 = i_16_; - for (int i_19_ = 0; i_19_ < i_17_; i_19_++) { - int i_20_ = 0; - for (int i_21_ = 0; i_21_ < i_10_; i_21_++) { - i_20_ += class348_sub49.readInt((byte) -126); - is_18_[i_21_] += i_20_; - } - } - byte[][] is_22_ = new byte[i_10_][]; - for (int i_23_ = 0; i_10_ > i_23_; i_23_++) { - is_22_[i_23_] = new byte[is_18_[i_23_]]; - is_18_[i_23_] = 0; - } - class348_sub49.anInt7197 = i_16_; - int i_24_ = 0; - for (int i_25_ = 0; i_25_ < i_17_; i_25_++) { - int i_26_ = 0; - for (int i_27_ = 0; i_10_ > i_27_; i_27_++) { - i_26_ += class348_sub49.readInt((byte) -126); - Class214.method1577(is_15_, i_24_, is_22_[i_27_], is_18_[i_27_], i_26_); - i_24_ += i_26_; - is_18_[i_27_] += i_26_; - } - } - for (int i_28_ = 0; i_10_ > i_28_; i_28_++) { - int i_29_; - if (is_11_ == null) i_29_ = i_28_; - else i_29_ = is_11_[i_28_]; - if (this.anInt634 != 0) objects[i_29_] = is_22_[i_28_]; - else objects[i_29_] = Class179.method1357(is_22_[i_28_], false, (byte) 126); - } - } - } else { - int i_44_; - if (is_11_ != null) i_44_ = is_11_[0]; - else i_44_ = 0; - if (this.anInt634 != 0) objects[i_44_] = is_15_; - else objects[i_44_] = Class179.method1357(is_15_, false, (byte) 104); - } - return true; - } - - static final void method395(int i) throws Exception_Sub1 { - if (Class348_Sub49.anInt7207 == 1) Class21.aHa326.method3626(Class339.anInt4211, Class348_Sub40_Sub8.anInt9157); - else Class21.aHa326.method3626(0, 0); - if (i >= 73) anInt642++; - } - - final int[] method396(int i, int i_45_) { - anInt640++; - if (i_45_ != 0) method389(-55); - if (!method392(i, (byte) -40)) return null; - int[] is = aClass291_629.anIntArrayArray3721[i]; - if (is == null) { - is = new int[aClass291_629.anIntArray3725[i]]; - for (int i_46_ = 0; i_46_ < is.length; i_46_++) - is[i_46_] = i_46_; - } - return is; - } - - final int method397(String string, int i) { - anInt633++; - if (!method399(false)) return 0; - string = string.toLowerCase(); - if (i != 0) aClass314_659 = null; - int i_47_ = aClass291_629.aClass316_3723.method2365(1, Class281.method2108(string, i ^ ~0x7265)); - return method419(i, i_47_); - } - - final int method398(byte i) { - anInt641++; - if (!method399(false)) return 0; - int i_48_ = 0; - int i_49_ = 0; - int i_50_ = 0; - if (i != -31) return 50; - for (/**/; anObjectArray656.length > i_50_; i_50_++) { - if (aClass291_629.anIntArray3725[i_50_] > 0) { - i_49_ += method419(0, i_50_); - i_48_ += 100; - } - } - if (i_48_ == 0) return 100; - int i_51_ = i_49_ * 100 / i_48_; - return i_51_; - } - - private final boolean method399(boolean bool) { - anInt652++; - if (aClass291_629 == null) { - aClass291_629 = aClass314_659.method2340((byte) 56); - if (aClass291_629 == null) return false; - anObjectArray656 = new Object[aClass291_629.anInt3734]; - anObjectArrayArray664 = new Object[aClass291_629.anInt3734][]; - } - if (bool != false) aClass314_659 = null; - return true; - } - - final boolean method400(int i, String string) { - anInt635++; - if (!method399(false)) return false; - if (i != -18308) return false; - string = string.toLowerCase(); - int i_52_ = aClass291_629.aClass316_3723.method2365(1, Class281.method2108(string, -29286)); - return i_52_ >= 0; - } - - final boolean method401(int i) { - anInt648++; - if (!method399(false)) return false; - boolean bool = true; - for (int i_53_ = 0; (i_53_ < aClass291_629.anIntArray3738.length); i_53_++) { - int i_54_ = aClass291_629.anIntArray3738[i_53_]; - if (anObjectArray656[i_54_] == null) { - method406(i_54_, -128); - if (anObjectArray656[i_54_] == null) bool = false; - } - } - if (i < 33) method407(100, -92); - return bool; - } - - private final void method402(byte i, int i_55_) { - anInt658++; - if (i < -70) aClass314_659.method2338((byte) -52, i_55_); - } - - private final boolean method403(String string, int i, String string_56_) { - try { - anInt626++; - if (!method399(false)) return false; - string = string.toLowerCase(); - string_56_ = string_56_.toLowerCase(); - int i_57_ = (aClass291_629.aClass316_3723.method2365(i ^ 0x1c1a, Class281.method2108(string, -29286))); - if (i != 7195) method403(null, -20, null); - if (!method392(i_57_, (byte) -40)) return false; - int i_58_ = aClass291_629.aClass316Array3728[i_57_].method2365(1, Class281.method2108(string_56_, -29286)); - return method420(i + -17694, i_57_, i_58_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("in.Q(" + (string != null ? "{...}" : "null") + ',' + i + ',' + (string_56_ != null ? "{...}" : "null") + ')')); - } - } - - final void method404(int i, boolean bool, boolean bool_59_) { - anInt644++; - if (i != 0) method391(null, null, -3); - if (method399(false)) { - if (bool_59_) { - aClass291_629.anIntArray3733 = null; - aClass291_629.aClass316_3723 = null; - } - if (bool) { - aClass291_629.anIntArrayArray3735 = null; - aClass291_629.aClass316Array3728 = null; - } - } - } - - final void method405(int i) { - anInt650++; - if (i != 0) method416((byte) -45, null); - if (anObjectArray656 != null) { - for (int i_60_ = 0; i_60_ < anObjectArray656.length; i_60_++) - anObjectArray656[i_60_] = null; - } - } - - private final void method406(int i, int i_61_) { - if (i_61_ > -105) anObjectArrayArray664 = null; - if (!aBoolean655) anObjectArray656[i] = Class179.method1357(aClass314_659.method2339(i, (byte) 73), false, (byte) 123); - else anObjectArray656[i] = aClass314_659.method2339(i, (byte) 12); - anInt665++; - } - - final int method407(int i, int i_62_) { - if (i != 0) method389(-61); - anInt645++; - if (!method392(i_62_, (byte) -40)) return 0; - return aClass291_629.anIntArray3724[i_62_]; - } - - final boolean method408(byte i, int i_63_) { - anInt632++; - if (!method392(i_63_, (byte) -40)) return false; - if (anObjectArray656[i_63_] != null) return true; - method406(i_63_, -124); - if (anObjectArray656[i_63_] != null) return true; - if (i > -112) this.anInt634 = -26; - return false; - } - - final void method409(String string, boolean bool) { - anInt663++; - if (bool == true && method399(false)) { - string = string.toLowerCase(); - int i = aClass291_629.aClass316_3723.method2365(1, Class281.method2108(string, -29286)); - method402((byte) -86, i); - } - } - - final byte[] method410(int i, int i_64_, int i_65_) { - if (i != -1860) anObjectArrayArray664 = null; - anInt651++; - return method393(i_64_, i_65_, i ^ ~0x741, null); - } - - final void method411(int i, int i_66_) { - anInt627++; - if (i_66_ > -9) method394(-111, (byte) -98, null, -71); - if (method392(i, (byte) -40)) { - if (anObjectArrayArray664 != null) anObjectArrayArray664[i] = null; - } - } - - final void method412(byte i) { - if (anObjectArrayArray664 != null) { - for (int i_67_ = 0; anObjectArrayArray664.length > i_67_; i_67_++) - anObjectArrayArray664[i_67_] = null; - } - int i_68_ = 52 % ((-46 - i) / 62); - anInt660++; - } - - final boolean method413(int i, String string) { - anInt636++; - if (!method399(false)) return false; - string = string.toLowerCase(); - int i_69_ = aClass291_629.aClass316_3723.method2365(i + -99, Class281.method2108(string, -29286)); - if (i != 100) aFloat670 = 0.37849286F; - return method408((byte) -120, i_69_); - } - - final int method414(int i) { - anInt637++; - if (i != -1) return 49; - if (!method399(false)) return -1; - return aClass291_629.anIntArray3724.length; - } - - final byte[] method415(byte i, int i_70_) { - anInt630++; - if (!method399(false)) return null; - if (aClass291_629.anIntArray3724.length == 1) return method410(i ^ ~0x70a, 0, i_70_); - if (!method392(i_70_, (byte) -40)) return null; - if (i != 73) anObjectArrayArray664 = null; - if (aClass291_629.anIntArray3724[i_70_] == 1) return method410(i ^ ~0x70a, i_70_, 0); - throw new RuntimeException(); - } - - final boolean method416(byte i, String string) { - anInt631++; - int i_71_ = method417("", i + 74); - if (i_71_ != -1) return method403("", 7195, string); - if (i != -74) return false; - return method403(string, 7195, ""); - } - - final int method417(String string, int i) { - if (i != 0) return 113; - anInt654++; - if (!method399(false)) return -1; - string = string.toLowerCase(); - int i_72_ = aClass291_629.aClass316_3723.method2365(1, Class281.method2108(string, -29286)); - if (!method392(i_72_, (byte) -40)) return -1; - return i_72_; - } - - private final boolean method418(int i, int i_73_, int i_74_) { - anInt662++; - if (!method399(false)) return false; - if (i_74_ < i_73_ || i < 0 || (aClass291_629.anIntArray3724.length <= i_74_) || (aClass291_629.anIntArray3724[i_74_] <= i)) { - if (Class285.aBoolean4741) throw new IllegalArgumentException(i_74_ + "," + i); - return false; - } - return true; - } - - private final int method419(int i, int i_75_) { - if (i != 0) return -117; - anInt653++; - if (!method392(i_75_, (byte) -40)) return 0; - if (anObjectArray656[i_75_] != null) return 100; - return aClass314_659.method2335(i_75_, i + -22197); - } - - final boolean method420(int i, int i_76_, int i_77_) { - anInt638++; - if (!method418(i_77_, 0, i_76_)) return false; - if (anObjectArrayArray664[i_76_] != null && anObjectArrayArray664[i_76_][i_77_] != null) return true; - if (i != -10499) return true; - if (anObjectArray656[i_76_] != null) return true; - method406(i_76_, -125); - return anObjectArray656[i_76_] != null; - } - - final boolean method421(boolean bool, int i) { - anInt661++; - if (!method399(bool)) return false; - if (aClass291_629.anIntArray3724.length == 1) return method420(-10499, 0, i); - if (!method392(i, (byte) -40)) return false; - if (aClass291_629.anIntArray3724[i] == 1) return method420(-10499, i, 0); - if (bool != false) return false; - throw new RuntimeException(); - } - - final boolean method422(String string, String string_78_, int i) { - try { - anInt668++; - if (!method399(false)) return false; - string_78_ = string_78_.toLowerCase(); - if (i > -18) anInt669 = 40; - string = string.toLowerCase(); - int i_79_ = aClass291_629.aClass316_3723.method2365(1, Class281.method2108(string_78_, -29286)); - if (i_79_ < 0) return false; - int i_80_ = aClass291_629.aClass316Array3728[i_79_].method2365(1, Class281.method2108(string, -29286)); - return i_80_ >= 0; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("in.M(" + (string != null ? "{...}" : "null") + ',' + (string_78_ != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - final int method423(int i, byte i_81_) { - anInt649++; - if (!method399(false)) return -1; - int i_82_ = aClass291_629.aClass316_3723.method2365(1, i); - if (!method392(i_82_, (byte) -40)) return -1; - int i_83_ = -60 / ((i_81_ - -4) / 56); - return i_82_; - } - - Class45(Class314 class314, boolean bool, int i) { - if (i < 0 || i > 2) throw new IllegalArgumentException("js5: Invalid value " + i + " supplied for discardunpacked"); - aClass314_659 = class314; - aBoolean655 = bool; - this.anInt634 = i; - } - - static { - anInt666 = 100; - } -} diff --git a/client/src/Class46.java b/client/src/Class46.java deleted file mode 100644 index 88a1af04a..000000000 --- a/client/src/Class46.java +++ /dev/null @@ -1,878 +0,0 @@ -/* Class46 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class46 { - Object[] anObjectArray671; - int anInt672; - int anInt673 = 0; - int anInt674; - int anInt675; - boolean aBoolean676; - int[] anIntArray677; - int anInt678 = 2; - Object[] anObjectArray679; - Object[] anObjectArray680; - byte aByte681; - boolean aBoolean682; - Object[] anObjectArray683; - static int anInt684; - Object[] anObjectArray685; - int[] anIntArray686; - Object[] anObjectArray687; - int anInt688 = 0; - boolean aBoolean689; - int anInt690; - static int anInt691; - Object[] anObjectArray692; - int anInt693; - static int anInt694; - int anInt695; - int anInt696 = 0; - boolean aBoolean697; - int anInt698; - int anInt699; - int anInt700; - Object[] anObjectArray701; - int anInt702 = -1; - int anInt703; - int anInt704; - int anInt705; - int[] anIntArray706; - int[] anIntArray707; - Object[] anObjectArray708; - int anInt709; - int anInt710; - private Class356 aClass356_711; - static int anInt712; - int anInt713; - Object[] anObjectArray714; - int anInt715; - int anInt716; - int anInt717; - static int anInt718; - int anInt719; - boolean aBoolean720; - String aString721; - static int anInt722; - int anInt723; - byte aByte724; - int anInt725; - int anInt726; - Object[] anObjectArray727; - int anInt728; - int anInt729; - int anInt730; - int[] anIntArray731; - int anInt732; - int anInt733; - Object[] anObjectArray734; - boolean aBoolean735; - static int anInt736; - boolean aBoolean737; - int anInt738; - int anInt739; - Class318_Sub10 aClass318_Sub10_740; - Object[] anObjectArray741; - Object[] anObjectArray742; - static int anInt743; - boolean aBoolean744; - boolean aBoolean745; - byte[] aByteArray746; - int anInt747; - Class348_Sub44 aClass348_Sub44_748; - int anInt749; - int anInt750; - Object[] anObjectArray751; - String aString752; - int anInt753; - boolean aBoolean754; - int anInt755; - int anInt756; - int anInt757; - static int anInt758; - int anInt759; - int anInt760; - Object[] anObjectArray761; - int anInt762; - Object[] anObjectArray763; - Object[] anObjectArray764; - int anInt765; - static int anInt766; - static int anInt767; - static int anInt768; - boolean aBoolean769; - int anInt770; - int[] anIntArray771; - int[] anIntArray772; - int anInt773; - int anInt774; - int anInt775; - boolean aBoolean776; - Object[] anObjectArray777; - byte aByte778; - int anInt779; - String aString780; - int anInt781; - Class46 aClass46_782; - static int anInt783; - boolean aBoolean784; - Object[] anObjectArray785; - int anInt786; - int anInt787; - int anInt788; - int anInt789; - boolean aBoolean790; - int anInt791; - String aString792; - boolean aBoolean793; - int anInt794; - int anInt795; - int anInt796; - int anInt797; - Class46[] aClass46Array798; - int anInt799; - int anInt800; - int[] anIntArray801; - static int anInt802; - Object[] anObjectArray803; - static int anInt804; - Object[] anObjectArray805; - int anInt806; - Object[] anObjectArray807; - int anInt808; - int anInt809; - boolean aBoolean810; - Object[] anObjectArray811; - int anInt812; - boolean aBoolean813; - int anInt814; - Object[] anObjectArray815; - String aString816; - byte aByte817; - int[] anIntArray818; - static int anInt819; - Object[] anObjectArray820; - static byte[] aByteArray821 = new byte[32896]; - Object[] anObjectArray822; - Object[] anObjectArray823; - int anInt824; - static int anInt825; - int anInt826; - static int anInt827; - int anInt828; - static int anInt829; - int anInt830; - int[] anIntArray831; - byte[] aByteArray832; - String[] aStringArray833; - int anInt834; - int anInt835; - Object[] anObjectArray836; - static int anInt837; - static Class196 aClass196_838; - Object[] anObjectArray839; - Object[] anObjectArray840; - int anInt841; - int anInt842; - - static final void method424(int i, int i_0_, ha var_ha, int i_1_, int i_2_, int i_3_, int i_4_, byte[][][] is, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_) { - try { - anInt768++; - if (i_7_ != i_1_ && i_3_ != 0) { - if (i_7_ == 9) { - i_7_ = 1; - i_4_ = i_4_ - -1 & 0x3; - } - if (i_7_ == 10) { - i_4_ = 3 + i_4_ & 0x3; - i_7_ = 1; - } - if (i_7_ == 11) { - i_4_ = i_4_ + 3 & 0x3; - i_7_ = 8; - } - var_ha.Q(i_6_, i_9_, i_5_, i_8_, i_0_, i, is[i_7_ - 1][i_4_], i_3_, i_2_); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("at.S(" + i + ',' + i_0_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_1_ + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ',' + (is != null ? "{...}" : "null") + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ',' + i_9_ + ')')); - } - } - - final aa method425(ha var_ha, byte i) { - anInt767++; - aa var_aa = (aa) Class239_Sub24.aClass60_6096.method583(this.anInt830, 119); - if (var_aa != null) return var_aa; - Class207 class207 = Class207.method1521(Class318_Sub1_Sub3.aClass45_8755, this.anInt756, 0); - if (class207 == null) return null; - int i_10_ = (class207.anInt2703 + (class207.anInt2702 + class207.anInt2698)); - int i_11_ = (class207.anInt2700 + (class207.anInt2696 + class207.anInt2701)); - this.anIntArray772 = new int[i_11_]; - this.anIntArray677 = new int[i_11_]; - for (int i_12_ = 0; (i_12_ < class207.anInt2696); i_12_++) { - int i_13_ = 0; - for (int i_14_ = 0; (i_14_ < class207.anInt2702); i_14_++) { - if ((class207.aByteArray2699[class207.anInt2702 * i_12_ + i_14_]) != 0) { - i_13_ = i_14_; - break; - } - } - int i_15_ = i_10_; - for (int i_16_ = i_13_; (i_16_ < class207.anInt2702); i_16_++) { - if ((class207.aByteArray2699[class207.anInt2702 * i_12_ + i_16_]) == 0) { - i_15_ = i_16_; - break; - } - } - this.anIntArray677[(class207.anInt2700 + i_12_)] = class207.anInt2703 + i_13_; - this.anIntArray772[(i_12_ + class207.anInt2700)] = i_15_ + -i_13_; - } - if (i < 0) method433(null, false); - var_aa = var_ha.method3661(i_10_, i_11_, this.anIntArray677, this.anIntArray772); - Class239_Sub24.aClass60_6096.method582(var_aa, this.anInt830, (byte) -104); - return var_aa; - } - - final Class324 method426(ha var_ha, byte i) { - anInt827++; - Class324 class324 = Class14.method232(var_ha, (byte) -53, false, this.anInt702); - if (i != 68) method436(-71, -56, -125); - Class348_Sub42_Sub13.aBoolean9616 = class324 == null; - return class324; - } - - static final void method427(int i) { - anInt837++; - Class229.aClass268_2979.method2033((byte) 46); - Class362.aClass183_4460.method1377(2); - Class348_Sub40_Sub25.aClass150_9342.method1204(0); - Class348_Sub40_Sub12.aClass263_9195.method2006(88); - Class189.aClass278_2529.method2080(127); - Exception_Sub1.aClass255_112.method1938(126); - Class10.aClass87_191.method838(7); - Class348_Sub40_Sub18.aClass319_9245.method2542(-101); - Class229.aClass194_2981.method1443(83); - Class269.aClass217_3453.method1590(0); - Class64_Sub3.aClass261_5558.method1986((byte) -91); - Class2.aClass141_117.method1174((byte) -99); - Class348_Sub23_Sub2.aClass153_9031.method1222(true); - Class348_Sub23_Sub2.aClass187_9036.method1410(-27995); - Class101_Sub3.aClass326_5764.method2602(0); - Class30.aClass84_413.method816(false); - Class123.aClass25_1813.method302(-797644856); - Class348_Sub1.aClass185_6559.method1390(23); - Class239.aClass166_3147.method1283(1); - Class136.aClass65_4787.method694(-1007); - Class73.aClass219_4782.method1598(111); - Class331.method2638(-4631); - Class172.method1328(-26162); - Class348_Sub40_Sub20.method3102(22385); - Class44.method386((byte) -106); - Class163.method1271(0); - Class353.aClass60_4346.method587(-108); - Class328_Sub2.aClass60_6517.method587(-109); - Class348_Sub1_Sub1.aClass60_8807.method587(-113); - Class34.aClass60_463.method587(-83); - Class66.aClass60_1174.method587(-91); - int i_17_ = 54 / ((26 - i) / 53); - } - - final int method428(int i, int i_18_, int i_19_) { - anInt736++; - if (aClass356_711 == null) return i; - if (i_19_ >= -124) this.anInt700 = 46; - Class348_Sub35 class348_sub35 = (Class348_Sub35) aClass356_711.method3480(i_18_, -6008); - if (class348_sub35 == null) return i; - return class348_sub35.anInt6976; - } - - final String method429(int i, String string, int i_20_) { - anInt783++; - if (i_20_ != -1) method437(-123, null, null, -35, null); - if (aClass356_711 == null) return string; - Class348_Sub50 class348_sub50 = (Class348_Sub50) aClass356_711.method3480(i, -6008); - if (class348_sub50 == null) return string; - return class348_sub50.aString7211; - } - - final Class64 method430(Class150 class150, Class87 class87, int i, ha var_ha, int i_21_, int i_22_, Class255 class255, Interface17 interface17, int i_23_, Class154 class154, Class17 class17, Class261 class261, Class278 class278, int i_24_) { - try { - anInt684++; - Class348_Sub42_Sub13.aBoolean9616 = false; - if (this.anInt770 == 0) return null; - if (this.anInt770 == 1 && this.anInt753 == -1) return null; - if (this.anInt770 == 1) { - int i_25_ = i; - if (class17 != null) i |= class17.method263(i_24_, 106, i_21_, true); - long l = this.anInt753 + ((this.anInt770 << 16) + (var_ha.anInt4567 << 29)); - Class64 class64 = (Class64) Class358.aClass60_4417.method583(l, -90); - if (class64 == null || var_ha.method3667(class64.ua(), i) != 0) { - if (class64 != null) i = var_ha.method3679(i, class64.ua()); - Class124 class124 = Class300.method2277(0, (Class348_Sub40_Sub28.aClass45_9365), this.anInt753, -1); - if (class124 == null) { - Class348_Sub42_Sub13.aBoolean9616 = true; - return null; - } - if (class124.anInt1830 < 13) class124.method1092(2, 114); - class64 = var_ha.method3625(class124, i, Class14_Sub3.anInt8628, 64, 768); - Class358.aClass60_4417.method582(class64, l, (byte) -125); - } - if (class17 != null) class64 = class17.method269(-101, class64, i_24_, i_22_, i, i_21_); - class64.s(i_25_); - return class64; - } - if (this.anInt770 == 2) { - Class64 class64 = (class278.method2079(this.anInt753, -1).method803(interface17, var_ha, i_22_, i_24_, class17, class87, i_21_, 104, i)); - if (class64 == null) { - Class348_Sub42_Sub13.aBoolean9616 = true; - return null; - } - return class64; - } - if (i_23_ != 255) method432(null, -50); - if (this.anInt770 == 3) { - if (class154 == null) return null; - Class64 class64 = class154.method1230(class255, -402058072, class87, class150, interface17, class278, i_21_, i_24_, i, class17, i_22_, var_ha); - if (class64 == null) { - Class348_Sub42_Sub13.aBoolean9616 = true; - return null; - } - return class64; - } - if (this.anInt770 == 4) { - Class213 class213 = class255.method1940(i_23_ + -365, this.anInt753); - Class64 class64 = class213.method1559(class154, class17, var_ha, i, i_22_, 10, i_21_, (byte) 88, i_24_); - if (class64 == null) { - Class348_Sub42_Sub13.aBoolean9616 = true; - return null; - } - return class64; - } - if (this.anInt770 == 6) { - Class64 class64 = (class278.method2079(this.anInt753, -1).method800(0, null, class87, false, null, 0, class261, i_21_, class17, interface17, var_ha, 0, null, i_24_, 0, i, i_22_)); - if (class64 == null) { - Class348_Sub42_Sub13.aBoolean9616 = true; - return null; - } - return class64; - } - if (this.anInt770 == 7) { - if (class154 == null) return null; - int i_26_ = this.anInt753 >>> 16; - int i_27_ = 0xffff & this.anInt753; - int i_28_ = this.anInt779; - Class64 class64 = class154.method1232(i_24_, i, i_28_, i_27_, class87, class150, -15331, i_26_, i_22_, var_ha, i_21_, class17); - if (class64 == null) { - Class348_Sub42_Sub13.aBoolean9616 = true; - return null; - } - return class64; - } - return null; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("at.G(" + (class150 != null ? "{...}" : "null") + ',' + (class87 != null ? "{...}" : "null") + ',' + i + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_21_ + ',' + i_22_ + ',' + (class255 != null ? "{...}" : "null") + ',' + (interface17 != null ? "{...}" : "null") + ',' + i_23_ + ',' + (class154 != null ? "{...}" : "null") + ',' + (class17 != null ? "{...}" : "null") + ',' + (class261 != null ? "{...}" : "null") + ',' + (class278 != null ? "{...}" : "null") + ',' + i_24_ + ')')); - } - } - - final void method431(int i, int i_29_, byte i_30_) { - anInt712++; - if (this.anIntArray706 == null || (i >= this.anIntArray706.length)) { - int[] is = new int[1 + i]; - if (this.anIntArray706 != null) { - for (int i_31_ = 0; (i_31_ < this.anIntArray706.length); i_31_++) - is[i_31_] = this.anIntArray706[i_31_]; - for (int i_32_ = this.anIntArray706.length; i > i_32_; i_32_++) - is[i_32_] = -1; - } - this.anIntArray706 = is; - } - this.anIntArray706[i] = i_29_; - if (i_30_ > -18) this.anInt779 = 13; - } - - private final Object[] method432(Class348_Sub49 class348_sub49, int i) { - if (i != -1) return null; - anInt691++; - int i_33_ = class348_sub49.readUnsignedByte(255); - if (i_33_ == 0) return null; - Object[] objects = new Object[i_33_]; - for (int i_34_ = 0; i_34_ < i_33_; i_34_++) { - int i_35_ = class348_sub49.readUnsignedByte(255); - if (i_35_ != 0) { - if (i_35_ == 1) objects[i_34_] = class348_sub49.readString((byte) 124); - } else objects[i_34_] = new Integer(class348_sub49.readInt((byte) -126)); - } - this.aBoolean682 = true; - return objects; - } - - final void method433(Class348_Sub49 class348_sub49, boolean bool) { - anInt743++; - int i = class348_sub49.readUnsignedByte(255); - if (i == 255) i = -1; - this.anInt774 = class348_sub49.readUnsignedByte(255); - if ((0x80 & this.anInt774) != 0) { - this.anInt774 &= 0x7f; - this.aString721 = class348_sub49.readString((byte) -72); - } - this.anInt765 = class348_sub49.readUnsignedShort(842397944); - this.anInt788 = class348_sub49.readShort(13638); - this.anInt739 = class348_sub49.readShort(13638); - this.anInt842 = class348_sub49.readUnsignedShort(842397944); - this.anInt728 = class348_sub49.readUnsignedShort(842397944); - this.aByte778 = class348_sub49.readByte(-96); - this.aByte724 = class348_sub49.readByte(-87); - this.aByte817 = class348_sub49.readByte(-86); - this.aByte681 = class348_sub49.readByte(-108); - this.anInt834 = class348_sub49.readUnsignedShort(842397944); - if (this.anInt834 == 65535) this.anInt834 = -1; - else this.anInt834 = ((~0xffff & this.anInt830) + this.anInt834); - int i_36_ = class348_sub49.readUnsignedByte(255); - if (i >= 0) this.aBoolean776 = (0x2 & i_36_) != 0; - this.aBoolean813 = (0x1 & i_36_) != 0; - if (this.anInt774 == 0) { - this.anInt698 = class348_sub49.readUnsignedShort(842397944); - this.anInt791 = class348_sub49.readUnsignedShort(842397944); - if (i < 0) this.aBoolean776 = class348_sub49.readUnsignedByte(255) == 1; - } - if (this.anInt774 == 5) { - this.anInt756 = class348_sub49.readInt((byte) -126); - this.anInt828 = class348_sub49.readUnsignedShort(842397944); - int i_37_ = class348_sub49.readUnsignedByte(255); - this.aBoolean697 = (i_37_ & 0x1) != 0; - this.aBoolean745 = (0x2 & i_37_) != 0; - this.anInt696 = class348_sub49.readUnsignedByte(255); - this.anInt672 = class348_sub49.readUnsignedByte(255); - this.anInt809 = class348_sub49.readInt((byte) -126); - this.aBoolean790 = class348_sub49.readUnsignedByte(255) == 1; - this.aBoolean735 = class348_sub49.readUnsignedByte(255) == 1; - this.anInt749 = class348_sub49.readInt((byte) -126); - } - if (this.anInt774 == 6) { - this.anInt770 = 1; - this.anInt753 = class348_sub49.readUnsignedShort(842397944); - if (this.anInt753 == 65535) this.anInt753 = -1; - int i_38_ = class348_sub49.readUnsignedByte(255); - this.aBoolean784 = (0x2 & i_38_) == 2; - boolean bool_39_ = (i_38_ & 0x1) == 1; - this.aBoolean689 = (i_38_ & 0x4) == 4; - this.aBoolean754 = (i_38_ & 0x8) == 8; - if (bool_39_) { - this.anInt688 = class348_sub49.readShort(13638); - this.anInt799 = class348_sub49.readShort(13638); - this.anInt757 = class348_sub49.readUnsignedShort(842397944); - this.anInt675 = class348_sub49.readUnsignedShort(842397944); - this.anInt717 = class348_sub49.readUnsignedShort(842397944); - this.anInt716 = class348_sub49.readUnsignedShort(842397944); - } else if (this.aBoolean784) { - this.anInt688 = class348_sub49.readShort(13638); - this.anInt799 = class348_sub49.readShort(13638); - this.anInt787 = class348_sub49.readShort(13638); - this.anInt757 = class348_sub49.readUnsignedShort(842397944); - this.anInt675 = class348_sub49.readUnsignedShort(842397944); - this.anInt717 = class348_sub49.readUnsignedShort(842397944); - this.anInt716 = class348_sub49.readShort(13638); - } - this.anInt699 = class348_sub49.readUnsignedShort(842397944); - if (this.anInt699 == 65535) this.anInt699 = -1; - if (this.aByte778 != 0) this.anInt796 = class348_sub49.readUnsignedShort(842397944); - if (this.aByte724 != 0) this.anInt826 = class348_sub49.readUnsignedShort(842397944); - } - if (this.anInt774 == 4) { - this.anInt702 = class348_sub49.readUnsignedShort(842397944); - if (this.anInt702 == 65535) this.anInt702 = -1; - this.aString792 = class348_sub49.readString((byte) 111); - this.anInt673 = class348_sub49.readUnsignedByte(255); - this.anInt762 = class348_sub49.readUnsignedByte(255); - this.anInt700 = class348_sub49.readUnsignedByte(255); - this.aBoolean769 = class348_sub49.readUnsignedByte(255) == 1; - this.anInt749 = class348_sub49.readInt((byte) -126); - this.anInt696 = class348_sub49.readUnsignedByte(255); - if (i >= 0) this.anInt773 = class348_sub49.readUnsignedByte(255); - } - if (this.anInt774 == 3) { - this.anInt749 = class348_sub49.readInt((byte) -126); - this.aBoolean810 = class348_sub49.readUnsignedByte(255) == 1; - this.anInt696 = class348_sub49.readUnsignedByte(255); - } - if (this.anInt774 == 9) { - this.anInt690 = class348_sub49.readUnsignedByte(255); - this.anInt749 = class348_sub49.readInt((byte) -126); - this.aBoolean744 = class348_sub49.readUnsignedByte(255) == 1; - } - int i_40_ = class348_sub49.readMedium(-1); - int i_41_ = class348_sub49.readUnsignedByte(255); - if (i_41_ != 0) { - this.aByteArray832 = new byte[11]; - this.aByteArray746 = new byte[11]; - this.anIntArray707 = new int[11]; - for (/**/; i_41_ != 0; i_41_ = class348_sub49.readUnsignedByte(255)) { - int i_42_ = -1 + (i_41_ >> 4); - i_41_ = i_41_ << 8 | class348_sub49.readUnsignedByte(255); - i_41_ &= 0xfff; - if (i_41_ == 4095) i_41_ = -1; - byte i_43_ = class348_sub49.readByte(-87); - if (i_43_ != 0) this.aBoolean676 = true; - byte i_44_ = class348_sub49.readByte(-102); - this.anIntArray707[i_42_] = i_41_; - this.aByteArray746[i_42_] = i_43_; - this.aByteArray832[i_42_] = i_44_; - } - } - this.aString752 = class348_sub49.readString((byte) 82); - int i_45_ = class348_sub49.readUnsignedByte(255); - int i_46_ = 0xf & i_45_; - if (i_46_ > 0) { - this.aStringArray833 = new String[i_46_]; - for (int i_47_ = 0; i_47_ < i_46_; i_47_++) - this.aStringArray833[i_47_] = class348_sub49.readString((byte) -68); - } - int i_48_ = i_45_ >> 4; - if (i_48_ > 0) { - int i_49_ = class348_sub49.readUnsignedByte(255); - this.anIntArray706 = new int[1 + i_49_]; - for (int i_50_ = 0; i_50_ < this.anIntArray706.length; i_50_++) - this.anIntArray706[i_50_] = -1; - this.anIntArray706[i_49_] = class348_sub49.readUnsignedShort(842397944); - } - if (i_48_ > 1) { - int i_51_ = class348_sub49.readUnsignedByte(255); - this.anIntArray706[i_51_] = class348_sub49.readUnsignedShort(842397944); - } - this.aString816 = class348_sub49.readString((byte) 95); - if (this.aString816.equals("")) this.aString816 = null; - this.anInt729 = class348_sub49.readUnsignedByte(255); - this.anInt703 = class348_sub49.readUnsignedByte(255); - this.anInt797 = class348_sub49.readUnsignedByte(255); - this.aString780 = class348_sub49.readString((byte) -87); - int i_52_ = -1; - if (Class348_Sub40_Sub5.method3060(i_40_, bool) != 0) { - i_52_ = class348_sub49.readUnsignedShort(842397944); - this.anInt824 = class348_sub49.readUnsignedShort(842397944); - if (i_52_ == 65535) i_52_ = -1; - if (this.anInt824 == 65535) this.anInt824 = -1; - this.anInt695 = class348_sub49.readUnsignedShort(842397944); - if (this.anInt695 == 65535) this.anInt695 = -1; - } - if (i >= 0) { - this.anInt719 = class348_sub49.readUnsignedShort(842397944); - if (this.anInt719 == 65535) this.anInt719 = -1; - } - this.aClass348_Sub44_748 = new Class348_Sub44(i_40_, i_52_); - if (i >= 0) { - int i_53_ = class348_sub49.readUnsignedByte(255); - for (int i_54_ = 0; i_53_ > i_54_; i_54_++) { - int i_55_ = class348_sub49.readMedium(-1); - int i_56_ = class348_sub49.readInt((byte) -126); - aClass356_711.method3483((byte) 120, i_55_, new Class348_Sub35(i_56_)); - } - int i_57_ = class348_sub49.readUnsignedByte(255); - for (int i_58_ = 0; i_58_ < i_57_; i_58_++) { - int i_59_ = class348_sub49.readMedium(-1); - String string = class348_sub49.method3371(-13487); - aClass356_711.method3483((byte) 119, i_59_, new Class348_Sub50(string)); - } - } - this.anObjectArray815 = method432(class348_sub49, -1); - this.anObjectArray811 = method432(class348_sub49, -1); - this.anObjectArray683 = method432(class348_sub49, -1); - this.anObjectArray680 = method432(class348_sub49, -1); - this.anObjectArray714 = method432(class348_sub49, -1); - this.anObjectArray777 = method432(class348_sub49, -1); - this.anObjectArray751 = method432(class348_sub49, -1); - this.anObjectArray671 = method432(class348_sub49, -1); - this.anObjectArray764 = method432(class348_sub49, -1); - this.anObjectArray741 = method432(class348_sub49, -1); - if (i >= 0) this.anObjectArray679 = method432(class348_sub49, -1); - this.anObjectArray839 = method432(class348_sub49, -1); - this.anObjectArray763 = method432(class348_sub49, -1); - this.anObjectArray785 = method432(class348_sub49, -1); - this.anObjectArray742 = method432(class348_sub49, -1); - this.anObjectArray805 = method432(class348_sub49, -1); - this.anObjectArray823 = method432(class348_sub49, -1); - this.anObjectArray692 = method432(class348_sub49, -1); - this.anObjectArray803 = method432(class348_sub49, -1); - this.anObjectArray685 = method432(class348_sub49, -1); - this.anObjectArray708 = method432(class348_sub49, -1); - this.anIntArray686 = method441(!bool, class348_sub49); - this.anIntArray771 = method441(!bool, class348_sub49); - this.anIntArray731 = method441(!bool, class348_sub49); - this.anIntArray818 = method441(false, class348_sub49); - this.anIntArray831 = method441(false, class348_sub49); - } - - final void method434(boolean bool) { - this.anIntArray771 = null; - this.anIntArray731 = null; - this.anObjectArray820 = null; - this.anIntArray686 = null; - this.anObjectArray839 = null; - this.anObjectArray763 = null; - this.anIntArray831 = null; - this.anObjectArray741 = null; - this.anObjectArray764 = null; - this.anObjectArray836 = null; - this.anObjectArray701 = null; - this.anObjectArray751 = null; - this.anObjectArray822 = null; - this.anObjectArray714 = null; - this.anObjectArray671 = null; - this.anObjectArray785 = null; - this.anObjectArray727 = null; - this.anObjectArray811 = null; - this.anObjectArray683 = null; - this.anIntArray818 = null; - this.anObjectArray708 = null; - this.anObjectArray687 = null; - this.anObjectArray803 = null; - this.anObjectArray823 = null; - this.anObjectArray805 = null; - anInt829++; - this.anObjectArray685 = null; - this.anObjectArray815 = null; - this.anObjectArray692 = null; - this.anObjectArray679 = null; - if (bool != false) this.anInt799 = 96; - this.anObjectArray742 = null; - this.anObjectArray840 = null; - this.anObjectArray777 = null; - this.anObjectArray807 = null; - this.anObjectArray761 = null; - this.anObjectArray734 = null; - this.anObjectArray680 = null; - } - - final void method435(int i, int i_60_) { - anInt802++; - if (aClass356_711 != null) { - Class348 class348 = aClass356_711.method3480(i, -6008); - if (class348 != null) class348.method2715((byte) 63); - } - if (i_60_ != -3437) method425(null, (byte) 83); - } - - final void method436(int i, int i_61_, int i_62_) { - anInt694++; - if (aClass356_711 == null) { - aClass356_711 = new Class356(16); - aClass356_711.method3483((byte) 60, i_61_, new Class348_Sub35(i_62_)); - } else if (i < -38) { - Class348_Sub35 class348_sub35 = ((Class348_Sub35) aClass356_711.method3480(i_61_, -6008)); - if (class348_sub35 == null) aClass356_711.method3483((byte) 67, i_61_, new Class348_Sub35(i_62_)); - else class348_sub35.anInt6976 = i_62_; - } - } - - final void method437(int i, Class64 class64, ha var_ha, int i_63_, Class101 class101) { - do { - try { - if (i != -20154) method438(15, -50, null); - anInt718++; - class64.method620(class101); - Class129[] class129s = class64.method619(); - Class342[] class342s = class64.method604(); - if ((this.aClass318_Sub10_740 == null || this.aClass318_Sub10_740.aBoolean6470) && (class129s != null || class342s != null)) this.aClass318_Sub10_740 = Class318_Sub10.method2526(i_63_, false); - if (this.aClass318_Sub10_740 == null) break; - this.aClass318_Sub10_740.method2536(var_ha, i_63_, class129s, class342s, false); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("at.J(" + i + ',' + (class64 != null ? "{...}" : "null") + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_63_ + ',' + (class101 != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - final void method438(int i, int i_64_, String string) { - if (this.aStringArray833 == null || i >= this.aStringArray833.length) { - String[] strings = new String[i + 1]; - if (this.aStringArray833 != null) { - for (int i_65_ = 0; (this.aStringArray833.length > i_65_); i_65_++) - strings[i_65_] = this.aStringArray833[i_65_]; - } - this.aStringArray833 = strings; - } - if (i_64_ > 77) { - anInt766++; - this.aStringArray833[i] = string; - } - } - - final void method439(int i, int i_66_, String string) { - anInt758++; - if (i != 0) this.anInt756 = -106; - if (aClass356_711 == null) { - aClass356_711 = new Class356(16); - aClass356_711.method3483((byte) 86, i_66_, new Class348_Sub50(string)); - } else { - Class348_Sub50 class348_sub50 = ((Class348_Sub50) aClass356_711.method3480(i_66_, -6008)); - if (class348_sub50 == null) aClass356_711.method3483((byte) 73, i_66_, new Class348_Sub50(string)); - else class348_sub50.aString7211 = string; - } - } - - static final void method440(int i, byte i_67_) { - Class348_Sub40_Sub19.anIntArray9259 = new int[i]; - if (i_67_ == -61) { - Class56.anIntArray1045 = new int[i]; - Class156.anIntArray2117 = new int[i]; - anInt825++; - Class64.anIntArray1127 = new int[i]; - Class327.anIntArray4097 = new int[i]; - } - } - - private final int[] method441(boolean bool, Class348_Sub49 class348_sub49) { - anInt722++; - int i = class348_sub49.readUnsignedByte(255); - if (bool != false) return null; - if (i == 0) return null; - int[] is = new int[i]; - for (int i_68_ = 0; i_68_ < i; i_68_++) - is[i_68_] = class348_sub49.readInt((byte) -126); - return is; - } - - public static void method442(byte i) { - if (i <= -8) { - aClass196_838 = null; - aByteArray821 = null; - } - } - - final Class105 method443(ha var_ha, byte i) { - anInt819++; - Class348_Sub42_Sub13.aBoolean9616 = false; - long l = (((long) this.anInt809 << 40) + (((this.aBoolean790 ? 1L : 0L) << 38) + (((long) this.anInt672 << 36) + ((this.aBoolean745 ? 1L : 0L) << 35))) + ((long) this.anInt756 + ((!this.aBoolean735 ? 0L : 1L) << 39))); - Class105 class105 = (Class105) Class351.aClass60_4327.method583(l, -71); - if (i > -27) method434(true); - if (class105 != null) return class105; - Class207 class207 = Class207.method1521(Class318_Sub1_Sub3.aClass45_8755, this.anInt756, 0); - if (class207 == null) { - Class348_Sub42_Sub13.aBoolean9616 = true; - return null; - } - if (this.aBoolean790) class207.method1514(); - if (this.aBoolean735) class207.method1518(); - if (this.anInt672 > 0) class207.method1513(this.anInt672); - else if (this.anInt809 != 0) class207.method1513(1); - if (this.anInt672 >= 1) class207.method1515(1); - if (this.anInt672 >= 2) class207.method1515(16777215); - if (this.anInt809 != 0) class207.method1511(~0xffffff | this.anInt809); - class105 = var_ha.method3691(class207, true); - Class351.aClass60_4327.method580(31902, class105, l, (class105.method971() * class105.method969() * 4)); - return class105; - } - - final Class305 method444(boolean bool, Class25 class25, Class84 class84) { - try { - if (bool != false) method424(122, -123, null, -111, 40, 28, -109, null, 76, 127, -66, 8, -45); - anInt804++; - if (this.anInt705 == -1) return null; - long l = (((long) this.anInt693 << 16 & 65535L << 16) | (((long) this.anInt733 << 32 & 65535L << 32) | ((long) this.anInt674 << 48 & 65535L << 48)) | (long) this.anInt705 & 0xffffL); - Class305 class305 = ((Class305) Class348_Sub40_Sub9.aClass60_9171.method583(l, 78)); - if (class305 == null) { - class305 = class84.method823(this.anInt733, this.anInt693, this.anInt674, -43, class25, this.anInt705); - Class348_Sub40_Sub9.aClass60_9171.method582(class305, l, (byte) -120); - } - return class305; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("at.N(" + bool + ',' + (class25 != null ? "{...}" : "null") + ',' + (class84 != null ? "{...}" : "null") + ')')); - } - } - - public Class46() { - this.anInt695 = -1; - this.anInt700 = 0; - this.aBoolean676 = false; - this.anInt726 = -1; - this.aBoolean682 = false; - this.anInt690 = 1; - this.anInt716 = 100; - this.anInt757 = 0; - this.anInt704 = -1; - this.anInt750 = 0; - this.anInt675 = 0; - this.anInt749 = 0; - this.anInt756 = -1; - this.anInt710 = 1; - this.anInt738 = 0; - this.anInt672 = 0; - this.anInt730 = 1; - this.aBoolean754 = false; - this.anInt747 = 0; - this.anInt723 = 0; - this.aBoolean776 = false; - this.anInt788 = 0; - this.anInt699 = -1; - this.aBoolean769 = false; - this.aBoolean720 = false; - this.anInt713 = -1; - this.anInt739 = 0; - this.anInt729 = 0; - this.anInt728 = 0; - this.anInt797 = InputStream_Sub1.anInt78; - this.anInt779 = -1; - this.anInt709 = 0; - this.anInt775 = 1; - this.anInt719 = -1; - this.aBoolean793 = false; - this.anInt791 = 0; - this.anInt715 = 0; - this.aBoolean689 = false; - this.aBoolean697 = false; - this.anInt808 = 0; - this.anInt765 = 0; - this.anInt755 = 0; - this.aClass348_Sub44_748 = Class205.aClass348_Sub44_2692; - this.anInt786 = 0; - this.anInt760 = -1; - this.anInt800 = 0; - this.anInt770 = 1; - this.aByte778 = (byte) 0; - this.aBoolean810 = false; - this.aByte724 = (byte) 0; - this.aClass46_782 = null; - this.anInt773 = 0; - this.anInt794 = -1; - this.anInt725 = 0; - this.anInt799 = 0; - this.aBoolean737 = false; - this.anInt703 = 0; - this.anInt828 = 0; - this.aString752 = ""; - this.aBoolean745 = false; - this.anInt698 = 0; - this.aString792 = ""; - this.anInt814 = 0; - this.anInt781 = 0; - this.aBoolean813 = false; - this.anInt824 = -1; - this.anInt830 = -1; - this.aByte681 = (byte) 0; - this.anInt809 = 0; - this.anInt834 = -1; - this.anInt762 = 0; - this.anInt789 = 0; - this.aString780 = ""; - this.aBoolean744 = false; - this.anInt826 = 0; - this.anInt787 = 0; - this.anInt705 = -1; - this.anInt795 = 0; - this.anInt812 = -1; - this.anInt717 = 0; - this.anInt806 = -1; - this.anInt842 = 0; - this.anInt796 = 0; - this.anInt841 = 0; - this.aByte817 = (byte) 0; - } - - static { - int i = 0; - for (int i_69_ = 0; i_69_ < 256; i_69_++) { - for (int i_70_ = 0; i_69_ >= i_70_; i_70_++) - aByteArray821[i++] = (byte) (int) (255.0 / Math.sqrt((float) ((i_69_ * i_69_) + (i_70_ * i_70_) - -65535) / 65535.0F)); - } - aClass196_838 = new Class196(); - } -} diff --git a/client/src/Class47.java b/client/src/Class47.java deleted file mode 100644 index 8d8b82b3c..000000000 --- a/client/src/Class47.java +++ /dev/null @@ -1,55 +0,0 @@ -/* Class47 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class47 { - static Class114 aClass114_843; - static int anInt844; - static boolean aBoolean845 = false; - static int anInt846 = 0; - - public Class47() { - /* empty */ - } - - public static void method445(int i) { - if (i == 2) aClass114_843 = null; - } - - abstract long method446(int i); - - static final void method447(byte i) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub27_7255), 1); - anInt844++; - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub27_7261), 1); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub14_7250), 2); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub14_7264), 2); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub4_7220), 1); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub9_7256), 1); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub13_7236), 1); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub1_7246), 1); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub21_7270), 1); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub24_7235), 1); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub7_7238), 1); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub28_7230), 1); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub18_7259), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub16_7247), 1); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub20_7216), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub20_7248), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub15_7224), 1); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub6_7226), 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub12_7243), 0); - Class237.method1686(-126); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub23_7231), 1); - if (i == -59) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub29_7229), 3); - Class348_Sub40.method3038(i ^ 0x3a); - Class76.method773(true); - RuntimeException_Sub1.aBoolean4604 = true; - } - } - - static { - aClass114_843 = new Class114(66, 8); - } -} diff --git a/client/src/Class47_Sub1.java b/client/src/Class47_Sub1.java deleted file mode 100644 index 479aa6215..000000000 --- a/client/src/Class47_Sub1.java +++ /dev/null @@ -1,14 +0,0 @@ -/* Class47_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class47_Sub1 extends Class47 { - final long method446(int i) { - if (i != 1) method446(76); - return 1000000L * Class62.method599(i ^ ~0x71); - } - - public Class47_Sub1() { - /* empty */ - } -} diff --git a/client/src/Class47_Sub2.java b/client/src/Class47_Sub2.java deleted file mode 100644 index 025691011..000000000 --- a/client/src/Class47_Sub2.java +++ /dev/null @@ -1,14 +0,0 @@ -/* Class47_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -public final class Class47_Sub2 extends Class47 { - public Class47_Sub2() { - System.nanoTime(); - } - - final long method446(int i) { - if (i != 1) return -111L; - return System.nanoTime(); - } -} diff --git a/client/src/Class48.java b/client/src/Class48.java deleted file mode 100644 index c4863b676..000000000 --- a/client/src/Class48.java +++ /dev/null @@ -1,111 +0,0 @@ -/* Class48 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class48 { - int anInt847; - static int anInt848; - static int anInt849; - static int anInt850; - static short aShort851; - static char[] aCharArray852 = {'_', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'}; - int anInt853; - int anInt854; - static int anInt855; - int anInt856; - int anInt857 = 128; - int anInt858; - static int anInt859; - static int[] anIntArray860; - - public static void method448(byte i) { - aCharArray852 = null; - anIntArray860 = null; - int i_0_ = -50 % ((37 - i) / 40); - } - - static final void method449(String string, String string_1_, boolean bool, int i, boolean bool_2_) { - do { - try { - anInt849++; - Class348_Sub47 class348_sub47 = Class203.method1478(true); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(bool, Class178.aClass29_2348.anInt400); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, 0); - int i_3_ = (class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, 634); - int[] is = Class50_Sub1.method463(class348_sub47, false); - int i_4_ = (class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197); - class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string_1_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, Class202.anInt2670); - class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); - class348_sub47.aClass348_Sub49_Sub2_7116.writeLong(Class244.aLong4615, (byte) 104); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(bool, Class348_Sub33.anInt6967); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(bool, (Class348_Sub42_Sub8_Sub2.aClass230_10434.anInt2987)); - s_Sub2.method4002((class348_sub47.aClass348_Sub49_Sub2_7116), (byte) 55); - String string_5_ = Class14_Sub1.aString8605; - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, string_5_ == null ? 0 : 1); - if (string_5_ != null) class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string_5_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, i); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, !bool_2_ ? 0 : 1); - class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197 += 7; - class348_sub47.aClass348_Sub49_Sub2_7116.method3350(i_4_, true, is, (class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197)); - class348_sub47.aClass348_Sub49_Sub2_7116.method3383(1809639944, (class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197 + -i_3_)); - Class348_Sub42_Sub14.method3243(2, class348_sub47); - Class352.anInt4337 = -3; - Class367_Sub2.anInt7297 = 1; - Class169.anInt2264 = 0; - Class105_Sub1.anInt8398 = 0; - if (i >= 13) break; - Class330.aBoolean4127 = true; - Class286_Sub8.method2172(60); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("iq.D(" + (string != null ? "{...}" : "null") + ',' + (string_1_ != null ? "{...}" : "null") + ',' + bool + ',' + i + ',' + bool_2_ + ')')); - } - break; - } while (false); - } - - static final int method450(int i, String string, int i_6_) { - if (i != -20188) return 88; - anInt850++; - return Class239_Sub26.method1836(-123, i_6_, true, string); - } - - final void method451(Class48 class48_7_, byte i) { - this.anInt857 = class48_7_.anInt857; - this.anInt858 = class48_7_.anInt858; - this.anInt856 = class48_7_.anInt856; - this.anInt854 = class48_7_.anInt854; - anInt855++; - this.anInt847 = class48_7_.anInt847; - this.anInt853 = class48_7_.anInt853; - if (i != -110) method448((byte) -93); - } - - final Class48 method452(boolean bool) { - anInt848++; - if (bool != true) method448((byte) -81); - return new Class48(this.anInt858, this.anInt856, this.anInt857, this.anInt854, this.anInt847, this.anInt853); - } - - Class48(int i) { - this.anInt856 = 128; - this.anInt858 = i; - } - - private Class48(int i, int i_8_, int i_9_, int i_10_, int i_11_, int i_12_) { - this.anInt856 = 128; - this.anInt847 = i_11_; - this.anInt854 = i_10_; - this.anInt853 = i_12_; - this.anInt858 = i; - this.anInt856 = i_8_; - this.anInt857 = i_9_; - } - - static { - aShort851 = (short) 32767; - anInt859 = -1; - anIntArray860 = new int[]{4, 2, 1, 1, 2, 2, 3, 1, 3, 3, 3, 2, 0}; - } -} diff --git a/client/src/Class49.java b/client/src/Class49.java deleted file mode 100644 index 7be8da276..000000000 --- a/client/src/Class49.java +++ /dev/null @@ -1,85 +0,0 @@ -/* Class49 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class49 implements Interface4 { - float[] aFloatArray4719; - static float aFloat4720; - static int anInt4721; - int anInt4722; - static int anInt4723; - private Class216 aClass216_4724; - int anInt4725; - static volatile boolean aBoolean4726 = true; - static int anInt4727; - static boolean aBoolean4728 = false; - private final ha_Sub1 aHa_Sub1_4729; - static Class46 aClass46_4730 = null; - int[] anIntArray4731; - - public static void method453(int i) { - if (i == -2001) aClass46_4730 = null; - } - - static final int method454(int i, byte i_0_) { - int i_1_ = 20 / ((i_0_ - -4) / 37); - anInt4727++; - int i_2_; - if (i > 12000) { - Class133.method1140(73); - i_2_ = 4; - } else if (i > 5000) { - Class47.method447((byte) -59); - i_2_ = 3; - } else if (i <= 2000) { - i_2_ = 1; - Class348_Sub40_Sub12.method3076(0, true); - } else { - i_2_ = 2; - Class161.method1263(true); - } - if (Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) != 2) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub25_7251), 2); - Class367_Sub10.method3553(false, (byte) 119, 2); - } - Class14_Sub2.method243(37); - return i_2_; - } - - public final void method14(int i, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, boolean bool, boolean bool_8_) { - anInt4723++; - Class213.method1568((aHa_Sub1_4729.aClass348_Sub31_7469.anIntArray6916), i_3_, i, i_7_, bool_8_ ? aHa_Sub1_4729.aFloatArray7502 : null, bool ? this.anIntArray4731 : null, i_4_, 115, i_5_, (aHa_Sub1_4729.aClass348_Sub31_7469.anInt6917), this.anInt4725, i_6_, !bool_8_ ? null : this.aFloatArray4719); - } - - public final void method15(int i, int i_9_, int i_10_, int i_11_, int i_12_, int i_13_, boolean bool, boolean bool_14_) { - anInt4721++; - Class213.method1568(this.anIntArray4731, i_9_, i, i_13_, bool_14_ ? this.aFloatArray4719 : null, !bool ? null : (aHa_Sub1_4729.aClass348_Sub31_7469.anIntArray6916), i_10_, 113, i_11_, this.anInt4725, (aHa_Sub1_4729.aClass348_Sub31_7469.anInt6917), i_12_, bool_14_ ? aHa_Sub1_4729.aFloatArray7502 : null); - } - - Class49(ha_Sub1 var_ha_Sub1, Class105 class105, Class216 class216) { - do { - try { - aHa_Sub1_4729 = var_ha_Sub1; - if (class105 instanceof Class105_Sub3_Sub1) { - Class105_Sub3_Sub1 class105_sub3_sub1 = (Class105_Sub3_Sub1) class105; - this.anIntArray4731 = (class105_sub3_sub1.anIntArray9933); - this.anInt4722 = class105_sub3_sub1.anInt8470; - this.anInt4725 = class105_sub3_sub1.anInt8471; - } else { - if (!(class105 instanceof Class105_Sub3_Sub3)) throw new RuntimeException(); - Class105_Sub3_Sub3 class105_sub3_sub3 = (Class105_Sub3_Sub3) class105; - this.anInt4725 = class105_sub3_sub3.anInt8471; - this.anInt4722 = class105_sub3_sub3.anInt8470; - this.anIntArray4731 = (class105_sub3_sub3.anIntArray9936); - } - if (class216 == null) break; - aClass216_4724 = class216; - if ((aClass216_4724.anInt4974 != this.anInt4725) || (this.anInt4722 != aClass216_4724.anInt4978)) throw new RuntimeException(); - this.aFloatArray4719 = aClass216_4724.aFloatArray4980; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("it.(" + (var_ha_Sub1 != null ? "{...}" : "null") + ',' + (class105 != null ? "{...}" : "null") + ',' + (class216 != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } -} diff --git a/client/src/Class5.java b/client/src/Class5.java deleted file mode 100644 index eb604daeb..000000000 --- a/client/src/Class5.java +++ /dev/null @@ -1,118 +0,0 @@ -/* Class5 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class5 implements Interface1 { - static int anInt4627; - static int anInt4628; - static int anInt4629; - private int anInt4630; - private final Class45 aClass45_4631; - Class45 aClass45_4632; - static int anInt4633; - static int anInt4634; - Class369 aClass369_4635; - static Class60 aClass60_4636 = new Class60(64); - private Class324 aClass324_4637; - static int anInt4638; - static int anInt4639; - private long aLong4640; - static int anInt4641; - - abstract void method178(int i, boolean bool, byte i_0_, int i_1_); - - public boolean method8(byte i) { - int i_2_ = -94 % ((i - 25) / 52); - anInt4641++; - boolean bool = true; - if (!this.aClass45_4632.method421(false, this.aClass369_4635.anInt4965)) bool = false; - if (!aClass45_4631.method421(false, this.aClass369_4635.anInt4965)) bool = false; - return bool; - } - - public void method7(int i) { - anInt4639++; - if (i == 10286) { - Class143 class143 = Class239_Sub10.method1766((byte) -85, (this.aClass369_4635.anInt4965), aClass45_4631); - aClass324_4637 = (Class348_Sub8.aHa6654.method3686(class143, Class207.method1523(this.aClass45_4632, (this.aClass369_4635.anInt4965)), true)); - } - } - - static final Class369_Sub1 method179(int i, Class348_Sub49 class348_sub49) { - anInt4629++; - Class369 class369 = Class348_Sub16_Sub2.method2834((byte) -127, class348_sub49); - int i_3_ = class348_sub49.readInt((byte) -126); - int i_4_ = class348_sub49.readInt((byte) -126); - if (i != 16533) aClass60_4636 = null; - int i_5_ = class348_sub49.readUnsignedShort(842397944); - return new Class369_Sub1(class369.aClass221_4968, class369.aClass341_4973, class369.anInt4970, class369.anInt4959, class369.anInt4971, class369.anInt4963, class369.anInt4966, class369.anInt4965, class369.anInt4961, i_3_, i_4_, i_5_); - } - - public static void method180(int i) { - aClass60_4636 = null; - if (i != -19960) method180(-71); - } - - static final void method181(boolean bool, Npc npc) { - if (bool != true) method180(54); - anInt4627++; - for (Class348_Sub9 class348_sub9 = (Class348_Sub9) client.aClass262_5185.method1995(4); class348_sub9 != null; class348_sub9 = ((Class348_Sub9) client.aClass262_5185.method1990((byte) 78))) { - if ((class348_sub9.aNpc_6691) == npc) { - if (class348_sub9.aClass348_Sub16_Sub5_6676 != null) { - Class348_Sub43.aClass348_Sub16_Sub4_7065.method2880(class348_sub9.aClass348_Sub16_Sub5_6676); - class348_sub9.aClass348_Sub16_Sub5_6676 = null; - } - class348_sub9.method2715((byte) 27); - break; - } - } - } - - abstract void method182(int i, int i_6_, int i_7_, boolean bool); - - final int method183(int i) { - anInt4633++; - if (i <= 16) this.aClass369_4635 = null; - int i_8_ = Class51.aClass311_897.method2320((byte) 106); - int i_9_ = 100 * i_8_; - if (anInt4630 != i_8_ || i_8_ == 0) { - anInt4630 = i_8_; - aLong4640 = Class62.method599(-125); - } else { - int i_10_ = Class51.aClass311_897.method2315((byte) 121); - if (i_8_ < i_10_) { - long l = aLong4640 - Class51.aClass311_897.method2323(0); - if (l > 0L) { - long l_11_ = (long) (i_10_ - i_8_) * (10000L * l / (long) i_8_); - long l_12_ = (-aLong4640 + Class62.method599(-89)) * 10000L; - if (l_11_ > l_12_) i_9_ = (int) ((long) (i_8_ * 100) + ((long) (i_10_ + -i_8_) * (l_12_ * 100L) / l_11_)); - else i_9_ = i_10_ * 100; - } - } - } - return i_9_; - } - - public final void method9(byte i, boolean bool) { - if (i == -49) { - anInt4634++; - int i_13_ = ((this.aClass369_4635.aClass221_4968.method1607(Class92.anInt1524, this.aClass369_4635.anInt4971, (byte) -123)) + this.aClass369_4635.anInt4970); - int i_14_ = ((this.aClass369_4635.aClass341_4973.method2679(ha_Sub2.anInt7666, this.aClass369_4635.anInt4963, i ^ ~0x60b)) + this.aClass369_4635.anInt4959); - method178(i_13_, bool, (byte) -84, i_14_); - method182(63, i_14_, i_13_, bool); - String string = Class51.aClass311_897.method2318(i ^ 0x245b); - if (-aLong4640 + Class62.method599(-100) > 10000L) string += " (" + Class51.aClass311_897.method2324(i + 149).method525(-117) + ")"; - aClass324_4637.method2575((byte) 115, (i_13_ + this.aClass369_4635.anInt4971 / 2), this.aClass369_4635.anInt4961, string, -1, (this.aClass369_4635.anInt4966 + 4 + (i_14_ - -(this.aClass369_4635.anInt4963 / 2)))); - } - } - - Class5(Class45 class45, Class45 class45_15_, Class369 class369) { - try { - aClass45_4631 = class45_15_; - this.aClass45_4632 = class45; - this.aClass369_4635 = class369; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("gl.(" + (class45 != null ? "{...}" : "null") + ',' + (class45_15_ != null ? "{...}" : "null") + ',' + (class369 != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class50.java b/client/src/Class50.java deleted file mode 100644 index 5b917ce09..000000000 --- a/client/src/Class50.java +++ /dev/null @@ -1,49 +0,0 @@ -/* Class50 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -abstract class Class50 { - static int anInt861; - int anInt862; - static String aString863 = null; - int anInt864; - int anInt865; - - abstract void method455(int i, int i_0_, int i_1_); - - abstract void method456(int i, int i_2_, int i_3_); - - abstract void method457(int i, int i_4_, int i_5_); - - public static void method458(int i) { - if (i != -14487) method459(-97, null, null, true); - aString863 = null; - } - - static final Class171 method459(int i, ha_Sub2 var_ha_Sub2, String string, boolean bool) { - try { - anInt861++; - int i_6_ = OpenGL.glGenProgramARB(); - OpenGL.glBindProgramARB(i, i_6_); - if (bool != false) return null; - OpenGL.glProgramStringARB(i, 34933, string); - OpenGL.glGetIntegerv(34379, Class348_Sub31_Sub2.anIntArray9069, 0); - if (Class348_Sub31_Sub2.anIntArray9069[0] != -1) { - OpenGL.glBindProgramARB(i, 0); - return null; - } - OpenGL.glBindProgramARB(i, 0); - return new Class171(var_ha_Sub2, i, i_6_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("iu.I(" + i + ',' + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ',' + bool + ')')); - } - } - - Class50(int i, int i_7_, int i_8_) { - this.anInt862 = i_8_; - this.anInt864 = i; - this.anInt865 = i_7_; - } -} diff --git a/client/src/Class50_Sub1.java b/client/src/Class50_Sub1.java deleted file mode 100644 index 2c43816ee..000000000 --- a/client/src/Class50_Sub1.java +++ /dev/null @@ -1,120 +0,0 @@ -/* Class50_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class50_Sub1 extends Class50 { - static Class101 aClass101_5209; - static int anInt5210; - static int anInt5211; - private final int anInt5212; - private final int anInt5213; - private int anInt5214; - static int anInt5215; - static int anInt5216; - static Class351 aClass351_5217; - static int anInt5218; - static boolean aBoolean5219 = true; - static int anInt5220; - static boolean aBoolean5221 = false; - private final int anInt5222; - static String[] aStringArray5223; - static boolean aBoolean5224; - static boolean[][] aBooleanArrayArray5225; - static boolean aBoolean5226; - - final void method455(int i, int i_0_, int i_1_) { - anInt5220++; - if (i_1_ >= -98) aBoolean5221 = false; - int i_2_ = anInt5214 * i >> 12; - int i_3_ = i * anInt5213 >> 12; - int i_4_ = anInt5212 * i_0_ >> 12; - int i_5_ = i_0_ * anInt5222 >> 12; - Class299_Sub2.method2267(10499, i_5_, i_2_, this.anInt865, this.anInt864, this.anInt862, i_4_, i_3_); - } - - public static void method460(int i) { - if (i != 2) method460(-52); - aClass101_5209 = null; - aBooleanArrayArray5225 = null; - aStringArray5223 = null; - aClass351_5217 = null; - } - - Class50_Sub1(int i, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_) { - super(i_9_, i_10_, i_11_); - anInt5214 = i; - anInt5222 = i_8_; - anInt5213 = i_7_; - anInt5212 = i_6_; - } - - final void method457(int i, int i_12_, int i_13_) { - anInt5211++; - if (i_13_ >= -29) method460(-42); - } - - final void method456(int i, int i_14_, int i_15_) { - if (i <= 87) anInt5214 = -17; - anInt5218++; - int i_16_ = i_14_ * anInt5214 >> 12; - int i_17_ = anInt5213 * i_14_ >> 12; - int i_18_ = anInt5212 * i_15_ >> 12; - int i_19_ = i_15_ * anInt5222 >> 12; - ha.method3641(i_18_, i_19_, (byte) -75, this.anInt864, i_17_, i_16_); - } - - static final byte[] method461(boolean bool, Object object, int i) { - anInt5215++; - if (object == null) return null; - if (object instanceof byte[]) { - byte[] is = (byte[]) object; - if (bool) return ha_Sub3.method3873(is, 0); - return is; - } - if (i != 53146732) return null; - if (object instanceof Class344) { - Class344 class344 = (Class344) object; - return class344.method2692(-3672); - } - throw new IllegalArgumentException(); - } - - static final char method462(byte i, int i_20_) { - anInt5216++; - int i_21_ = 0xff & i; - if (i_21_ == 0) throw new IllegalArgumentException("Non cp1252 character 0x" + Integer.toString(i_21_, 16) + " provided"); - if (i_21_ >= 128 && i_21_ < 160) { - int i_22_ = Class44.aCharArray625[i_21_ + -128]; - if (i_22_ == 0) i_22_ = 63; - i_21_ = i_22_; - } - if (i_20_ != -128) method463(null, false); - return (char) i_21_; - } - - static final int[] method463(Class348_Sub47 class348_sub47, boolean bool) { - anInt5210++; - Class348_Sub49 class348_sub49 = new Class348_Sub49(518); - int[] is = new int[4]; - for (int i = 0; i < 4; i++) - is[i] = (int) (Math.random() * 9.9999999E7); - class348_sub49.writeByte(bool, 10); - class348_sub49.writeInt((byte) 114, is[0]); - class348_sub49.writeInt((byte) 97, is[1]); - class348_sub49.writeInt((byte) 109, is[2]); - class348_sub49.writeInt((byte) 105, is[3]); - for (int i = 0; i < 10; i++) - class348_sub49.writeInt((byte) 120, (int) (9.9999999E7 * Math.random())); - class348_sub49.writeShort((byte) 107, (int) (9.9999999E7 * Math.random())); - class348_sub49.method3390(Class348_Sub31.aBigInteger6921, (byte) -98, Class318_Sub1_Sub4.aBigInteger8762); - class348_sub47.aClass348_Sub49_Sub2_7116.writeBytes(class348_sub49.anInt7197, 0, class348_sub49.aByteArray7154, 80); - return is; - } - - static { - aClass351_5217 = new Class351(17, 8); - aBooleanArrayArray5225 = (new boolean[][]{new boolean[4], {false, true, true, false}, {true, false, true, false}, {true, false, true, false}, {false, false, true, false}, {false, false, true, false}, {true, false, true, false}, {true, false, false, true}, {true, false, false, true}, {true, true, false, false}, new boolean[4], {false, true, false, true}, new boolean[4]}); - aBoolean5226 = false; - aBoolean5224 = false; - } -} diff --git a/client/src/Class50_Sub2.java b/client/src/Class50_Sub2.java deleted file mode 100644 index d285fe790..000000000 --- a/client/src/Class50_Sub2.java +++ /dev/null @@ -1,60 +0,0 @@ -/* Class50_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class50_Sub2 extends Class50 { - private final int anInt5227; - static int anInt5228; - static int anInt5229; - private final int anInt5230; - private int anInt5231; - private final int anInt5232; - static boolean aBoolean5233 = false; - static int anInt5234; - static int anInt5235; - - final void method455(int i, int i_0_, int i_1_) { - anInt5228++; - int i_2_ = i * anInt5231 >> 12; - int i_3_ = anInt5232 * i >> 12; - int i_4_ = i_0_ * anInt5227 >> 12; - if (i_1_ > -98) aBoolean5233 = false; - int i_5_ = i_0_ * anInt5230 >> 12; - Class170.method1308(this.anInt864, i_4_, i_2_, this.anInt865, (byte) -123, this.anInt862, i_3_, i_5_); - } - - static final void method464(int i) { - anInt5229++; - Class334.anInt4155 = i; - Class108.aClass105_1664 = null; - } - - Class50_Sub2(int i, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_) { - super(i_9_, i_10_, i_11_); - anInt5231 = i; - anInt5227 = i_6_; - anInt5230 = i_8_; - anInt5232 = i_7_; - } - - final void method457(int i, int i_12_, int i_13_) { - anInt5235++; - int i_14_ = i_12_ * anInt5231 >> 12; - if (i_13_ <= -29) { - int i_15_ = i_12_ * anInt5232 >> 12; - int i_16_ = i * anInt5227 >> 12; - int i_17_ = i * anInt5230 >> 12; - Class97.method872(this.anInt865, 1, this.anInt862, i_16_, i_17_, i_15_, i_14_); - } - } - - final void method456(int i, int i_18_, int i_19_) { - anInt5234++; - int i_20_ = i_18_ * anInt5231 >> 12; - int i_21_ = anInt5232 * i_18_ >> 12; - if (i <= 87) anInt5231 = 56; - int i_22_ = i_19_ * anInt5227 >> 12; - int i_23_ = i_19_ * anInt5230 >> 12; - Class318_Sub1_Sub5.method2486(0, i_21_, this.anInt864, i_23_, i_20_, i_22_); - } -} diff --git a/client/src/Class50_Sub3.java b/client/src/Class50_Sub3.java deleted file mode 100644 index 76b723b95..000000000 --- a/client/src/Class50_Sub3.java +++ /dev/null @@ -1,114 +0,0 @@ -/* Class50_Sub3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; - -final class Class50_Sub3 extends Class50 { - private final int anInt5236; - private final int anInt5237; - static int anInt5238; - static int anInt5239; - static int anInt5240; - static int[] anIntArray5241 = new int[14]; - static Color[] aColorArray5242 = {new Color(16777215), new Color(16777215), new Color(16741381), new Color(16741381)}; - private final int anInt5243; - static int anInt5244; - private final int anInt5245; - private final int anInt5246; - private int anInt5247; - static int anInt5248; - private final int anInt5249; - private final int anInt5250; - static int anInt5251; - static int anInt5252; - static int anInt5253; - static int anInt5254; - - static final void method465(int i) { - if (i != -1636518164) anInt5252 = -40; - Class158.aClass356_4934.method3481(0); - anInt5251++; - Class348_Sub42_Sub9_Sub1.aClass356_10442.method3481(0); - } - - static final void method466(boolean bool, String string, int i, byte i_0_, boolean bool_1_, int i_2_, int i_3_, boolean bool_4_, int i_5_, long l, String string_6_, long l_7_, int i_8_) { - try { - anInt5238++; - if (!Class5_Sub1.aBoolean8335 && Class73.anInt4776 < 500) { - i_8_ = i_8_ != -1 ? i_8_ : Class362.anInt4458; - if (i_0_ >= -65) method469((byte) 19); - Class348_Sub42_Sub12 class348_sub42_sub12 = new Class348_Sub42_Sub12(string_6_, string, i_8_, i_5_, i_3_, l_7_, i_2_, i, bool_4_, bool, l, bool_1_); - ha_Sub2.method3743((byte) 6, class348_sub42_sub12); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("hc.B(" + bool + ',' + (string != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + bool_1_ + ',' + i_2_ + ',' + i_3_ + ',' + bool_4_ + ',' + i_5_ + ',' + l + ',' + (string_6_ != null ? "{...}" : "null") + ',' + l_7_ + ',' + i_8_ + ')')); - } - } - - static final void method467(int i, int i_9_, int i_10_) { - if (i_9_ == -18075) { - anInt5248++; - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i, (byte) 105, 1); - class348_sub42_sub15.method3246(-25490); - class348_sub42_sub15.anInt9652 = i_10_; - } - } - - static final boolean method468(String string, int i) { - int i_11_ = -91 % ((-35 - i) / 52); - anInt5239++; - return Class174.method1332(true, true, 10, string); - } - - final void method457(int i, int i_12_, int i_13_) { - anInt5254++; - int i_14_ = anInt5246 * i_12_ >> 12; - int i_15_ = anInt5250 * i >> 12; - int i_16_ = anInt5245 * i_12_ >> 12; - int i_17_ = anInt5247 * i >> 12; - int i_18_ = i_12_ * anInt5236 >> 12; - int i_19_ = anInt5237 * i >> 12; - int i_20_ = i_12_ * anInt5243 >> 12; - if (i_13_ > -29) anInt5252 = -91; - int i_21_ = anInt5249 * i >> 12; - Class367_Sub3.method3540(i_15_, i_17_, this.anInt865, i_21_, i_16_, i_14_, i_18_, i_19_, i_20_, true); - } - - Class50_Sub3(int i, int i_22_, int i_23_, int i_24_, int i_25_, int i_26_, int i_27_, int i_28_, int i_29_, int i_30_) { - super(-1, i_29_, i_30_); - anInt5243 = i_27_; - anInt5246 = i; - anInt5250 = i_22_; - anInt5249 = i_28_; - anInt5247 = i_24_; - anInt5236 = i_25_; - anInt5245 = i_23_; - anInt5237 = i_26_; - } - - final void method456(int i, int i_31_, int i_32_) { - anInt5244++; - if (i < 87) anInt5247 = 18; - } - - public static void method469(byte i) { - int i_33_ = -24 / ((i - -12) / 41); - aColorArray5242 = null; - anIntArray5241 = null; - } - - static final short[] method470(short[] is, byte i) { - anInt5253++; - if (is == null) return null; - short[] is_34_ = new short[is.length]; - Class214.method1576(is, 0, is_34_, 0, is.length); - if (i >= -103) method470(null, (byte) -35); - return is_34_; - } - - final void method455(int i, int i_35_, int i_36_) { - anInt5240++; - if (i_36_ >= -98) method470(null, (byte) -17); - } -} diff --git a/client/src/Class50_Sub4.java b/client/src/Class50_Sub4.java deleted file mode 100644 index 474429174..000000000 --- a/client/src/Class50_Sub4.java +++ /dev/null @@ -1,85 +0,0 @@ -/* Class50_Sub4 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class50_Sub4 extends Class50 { - private final int anInt5255; - static int anInt5256; - static int anInt5257; - private final int anInt5258; - private final int anInt5259; - static int anInt5260; - static int anInt5261; - static Class47 aClass47_5262; - static int anInt5263; - private int anInt5264; - - final void method455(int i, int i_0_, int i_1_) { - anInt5256++; - if (i_1_ >= -98) method472(-91, null); - } - - final void method457(int i, int i_2_, int i_3_) { - anInt5261++; - int i_4_ = i_2_ * anInt5255 >> 12; - if (i_3_ >= -29) anInt5264 = 119; - int i_5_ = i_2_ * anInt5264 >> 12; - int i_6_ = anInt5259 * i >> 12; - int i_7_ = anInt5258 * i >> 12; - Class339.method2665(i_4_, (byte) 118, this.anInt865, i_6_, i_7_, i_5_); - } - - public static void method471(int i) { - if (i == -30065) aClass47_5262 = null; - } - - final void method456(int i, int i_8_, int i_9_) { - if (i < 87) anInt5264 = 33; - anInt5260++; - } - - Class50_Sub4(int i, int i_10_, int i_11_, int i_12_, int i_13_, int i_14_) { - super(-1, i_13_, i_14_); - anInt5258 = i_12_; - anInt5264 = i_11_; - anInt5255 = i; - anInt5259 = i_10_; - } - - static final Class158 method472(int i, Class348_Sub49 class348_sub49) { - anInt5263++; - String string = class348_sub49.readString((byte) 90); - Class221 class221 = Class158.method1248(127)[class348_sub49.readUnsignedByte(i ^ ~0x6c6e)]; - if (i != -27794) return null; - Class341 class341 = Class62.method596(i + 47794)[class348_sub49.readUnsignedByte(255)]; - int i_15_ = class348_sub49.readShort(13638); - int i_16_ = class348_sub49.readShort(13638); - int i_17_ = class348_sub49.readUnsignedByte(255); - int i_18_ = class348_sub49.readUnsignedByte(255); - int i_19_ = class348_sub49.readUnsignedByte(255); - int i_20_ = class348_sub49.readUnsignedShort(i ^ ~0x32359469); - int i_21_ = class348_sub49.readUnsignedShort(842397944); - int i_22_ = class348_sub49.readInt((byte) -126); - int i_23_ = class348_sub49.readInt((byte) -126); - int i_24_ = class348_sub49.readInt((byte) -126); - return new Class158(string, class221, class341, i_15_, i_16_, i_17_, i_18_, i_19_, i_20_, i_21_, i_22_, i_23_, i_24_); - } - - static final int method473(byte i, int i_25_, Class110_Sub1 class110_sub1, int i_26_, boolean bool, boolean bool_27_, Class110_Sub1 class110_sub1_28_) { - try { - anInt5257++; - int i_29_ = Class239_Sub8.method1749(class110_sub1_28_, class110_sub1, bool, i_25_, (byte) -30); - if (i_29_ != 0) { - if (!bool) return i_29_; - return -i_29_; - } - if (i_26_ == -1) return 0; - if (i >= -42) return -65; - int i_30_ = Class239_Sub8.method1749(class110_sub1_28_, class110_sub1, bool_27_, i_26_, (byte) -30); - if (bool_27_) return -i_30_; - return i_30_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("o.B(" + i + ',' + i_25_ + ',' + (class110_sub1 != null ? "{...}" : "null") + ',' + i_26_ + ',' + bool + ',' + bool_27_ + ',' + (class110_sub1_28_ != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class51.java b/client/src/Class51.java deleted file mode 100644 index 51e047e76..000000000 --- a/client/src/Class51.java +++ /dev/null @@ -1,726 +0,0 @@ -/* Class51 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class51 { - static int anInt866; - static int anInt867; - int anInt868 = -1; - int anInt869; - static int anInt870; - static int anInt871; - private byte[] aByteArray872; - private int anInt873; - int anInt874; - int anInt875; - boolean aBoolean876 = false; - int anInt877; - int anInt878; - private byte aByte879; - private int anInt880; - private Class356 aClass356_881; - private int anInt882; - int anInt883; - String aString884; - private byte[] aByteArray885; - private byte aByte886; - int anInt887; - boolean aBoolean888; - int anInt889; - private int anInt890; - static int anInt891; - private short[] aShortArray892; - private int anInt893; - boolean aBoolean894; - int anInt895; - boolean aBoolean896; - static Class311 aClass311_897; - static int anInt898; - static int anInt899; - private int anInt900; - static int anInt901; - boolean aBoolean902; - boolean aBoolean903; - int[] anIntArray904; - static Class101 aClass101_905; - boolean aBoolean906; - private int[][] anIntArrayArray907; - private short[] aShortArray908; - int anInt909; - static int anInt910; - private int anInt911; - boolean aBoolean912; - String[] aStringArray913; - int anInt914; - private int anInt915; - int anInt916; - int[] anIntArray917; - boolean aBoolean918; - private short[] aShortArray919; - int anInt920; - int anInt921; - private byte aByte922; - int anInt923; - boolean aBoolean924; - boolean aBoolean925; - int anInt926; - static int anInt927; - private int anInt928; - boolean aBoolean929; - int anInt930; - boolean aBoolean931; - static String[] aStringArray932 = new String[100]; - Class263 aClass263_933; - private int anInt934; - private int anInt935; - int anInt936; - int anInt937; - static int anInt938; - private int anInt939; - private short[] aShortArray940; - int anInt941; - boolean aBoolean942; - int[] anIntArray943; - private byte aByte944; - int[] anIntArray945; - private int anInt946; - boolean aBoolean947; - static int anInt948; - private int anInt949; - int anInt950; - int anInt951; - private byte aByte952; - int anInt953; - private int anInt954; - int anInt955; - static int anInt956; - static int anInt957; - static int anInt958; - private int[] anIntArray959; - static int anInt960; - int anInt961; - int anInt962; - - final boolean method474(byte i) { - anInt891++; - if (this.anIntArray945 == null) { - return this.anInt887 != -1 || this.anIntArray904 != null; - } - for (int i_0_ = 0; i_0_ < this.anIntArray945.length; i_0_++) { - if (this.anIntArray945[i_0_] != -1) { - Class51 class51_1_ = this.aClass263_933.method2005(0, this.anIntArray945[i_0_]); - if (class51_1_.anInt887 != -1 || class51_1_.anIntArray904 != null) return true; - } - } - int i_2_ = -28 % ((i - 3) / 46); - return false; - } - - final String method475(String string, int i, int i_3_) { - anInt866++; - if (aClass356_881 == null) return string; - if (i_3_ != -16) return null; - Class348_Sub50 class348_sub50 = (Class348_Sub50) aClass356_881.method3480(i, -6008); - if (class348_sub50 == null) return string; - return class348_sub50.aString7211; - } - - final Class2 method476(ha var_ha, s var_s, int i, int i_4_, int i_5_, boolean bool, s var_s_6_, int i_7_, int i_8_, int i_9_, int i_10_) { - try { - if (Class104.method955(22311, i)) i = 4; - anInt938++; - long l = i_9_ + (i << 3) + (this.anInt941 << 10); - l |= var_ha.anInt4567 << 29; - int i_11_ = i_4_; - if (aByte886 == 3) i_11_ |= 0x7; - else { - if (aByte886 != 0 || anInt954 != 0) i_11_ |= 0x2; - if (anInt893 != 0) i_11_ |= 0x1; - if (anInt890 != 0) i_11_ |= 0x4; - } - if (bool) i_11_ |= 0x40000; - Class2 class2; - synchronized (this.aClass263_933.aClass60_3361) { - class2 = (Class2) this.aClass263_933.aClass60_3361.method583(l, i_10_ + -25); - } - Class64 class64 = class2 == null ? null : class2.aClass64_119; - r var_r = null; - if (class64 == null || var_ha.method3667(class64.ua(), i_11_) != 0) { - if (class64 != null) i_11_ = var_ha.method3679(i_11_, class64.ua()); - int i_12_ = i_11_; - if (i == 10 && i_9_ > 3) i_12_ |= 0x5; - class64 = method477(i_9_, var_ha, i, i_10_ ^ ~0xec, i_12_); - if (class64 == null) return null; - if (i == 10 && i_9_ > 3) class64.a(2048); - if (bool) var_r = class64.ba(null); - class64.s(i_11_); - class2 = new Class2(); - class2.aClass64_119 = class64; - class2.aR118 = var_r; - synchronized (this.aClass263_933.aClass60_3361) { - this.aClass263_933.aClass60_3361.method582(class2, l, (byte) -120); - } - } else { - class64 = class2.aClass64_119; - var_r = class2.aR118; - if (bool && var_r == null) var_r = class2.aR118 = class64.ba(null); - } - if (i_10_ != 128) method477(-4, null, 72, 42, -33); - boolean bool_13_ = (aByte886 != 0 && (var_s_6_ != null || var_s != null)); - boolean bool_14_ = (anInt893 != 0 || anInt954 != 0 || anInt890 != 0); - if (bool_13_ || bool_14_) { - class64 = class64.method614((byte) 0, i_11_, true); - if (bool_13_) class64.p(aByte886, anInt915, var_s_6_, var_s, i_5_, i_7_, i_8_); - if (bool_14_) class64.H(anInt893, anInt954, anInt890); - class64.s(i_4_); - } else class64 = class64.method614((byte) 0, i_4_, true); - Class348_Sub42.aClass2_7058.aClass64_119 = class64; - Class348_Sub42.aClass2_7058.aR118 = var_r; - return Class348_Sub42.aClass2_7058; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("iv.B(" + (var_ha != null ? "{...}" : "null") + ',' + (var_s != null ? "{...}" : "null") + ',' + i + ',' + i_4_ + ',' + i_5_ + ',' + bool + ',' + (var_s_6_ != null ? "{...}" : "null") + ',' + i_7_ + ',' + i_8_ + ',' + i_9_ + ',' + i_10_ + ')')); - } - } - - private final Class64 method477(int i, ha var_ha, int i_15_, int i_16_, int i_17_) { - anInt958++; - int i_18_ = anInt949 - -64; - int i_19_ = 850 + anInt880; - int i_20_ = i_17_; - boolean bool = (this.aBoolean902 || i_15_ == 2 && i > 3); - if (bool) i_17_ |= 0x10; - if (i == 0) { - if (anInt928 != 128 || anInt900 != 0) i_17_ |= 0x1; - if (anInt882 != 128 || anInt946 != 0) i_17_ |= 0x4; - } else i_17_ |= 0xd; - if (anInt935 != 128 || anInt873 != 0) i_17_ |= 0x2; - if (i_16_ > -97) aByte944 = (byte) -69; - if (aShortArray940 != null) i_17_ |= 0x4000; - if (aShortArray919 != null) i_17_ |= 0x8000; - if (aByte922 != 0) i_17_ |= 0x80000; - Class64 class64 = null; - if (aByteArray885 == null) return null; - int i_21_ = -1; - for (int i_22_ = 0; aByteArray885.length > i_22_; i_22_++) { - if (aByteArray885[i_22_] == i_15_) { - i_21_ = i_22_; - break; - } - } - if (i_21_ == -1) return null; - int i_23_ = anIntArrayArray907[i_21_].length; - if (i_23_ > 0) { - long l = var_ha.anInt4567; - for (int i_24_ = 0; i_23_ > i_24_; i_24_++) - l = l * 67783L + (long) anIntArrayArray907[i_21_][i_24_]; - synchronized (this.aClass263_933.aClass60_3360) { - class64 = (Class64) this.aClass263_933.aClass60_3360.method583(l, 78); - } - if (class64 != null) { - if (i_18_ != class64.WA()) i_17_ |= 0x1000; - if (i_19_ != class64.da()) i_17_ |= 0x2000; - } - if (class64 == null || var_ha.method3667(class64.ua(), i_17_) != 0) { - int i_25_ = i_17_ | 0x1f01f; - if (class64 != null) i_25_ = var_ha.method3679(i_25_, class64.ua()); - Class124 class124 = null; - synchronized (Class341.aClass124Array4236) { - for (int i_26_ = 0; i_26_ < i_23_; i_26_++) { - synchronized (this.aClass263_933.aClass45_3345) { - class124 = Class300.method2277(0, (this.aClass263_933.aClass45_3345), (0xffff & (anIntArrayArray907[i_21_][i_26_])), -1); - } - if (class124 == null) return null; - if (class124.anInt1830 < 13) class124.method1092(2, 96); - if (i_23_ > 1) Class341.aClass124Array4236[i_26_] = class124; - } - if (i_23_ > 1) class124 = new Class124(Class341.aClass124Array4236, i_23_); - } - class64 = var_ha.method3625(class124, i_25_, (this.aClass263_933.anInt3363), i_18_, i_19_); - synchronized (this.aClass263_933.aClass60_3360) { - this.aClass263_933.aClass60_3360.method582(class64, l, (byte) -95); - } - } - } - Class64 class64_27_ = class64.method614((byte) 0, i_17_, true); - if (i_18_ != class64.WA()) class64_27_.C(i_18_); - if (class64.da() != i_19_) class64_27_.LA(i_19_); - if (bool) class64_27_.v(); - if (i_15_ == 4 && i > 3) { - class64_27_.k(2048); - class64_27_.H(180, 0, -180); - } - i &= 0x3; - if (i == 1) class64_27_.k(4096); - else if (i != 2) { - if (i == 3) class64_27_.k(12288); - } else class64_27_.k(8192); - if (aShortArray940 != null) { - for (int i_28_ = 0; aShortArray940.length > i_28_; i_28_++) { - if (aByteArray872 != null && aByteArray872.length > i_28_) class64_27_.ia(aShortArray940[i_28_], (Class348_Sub26.aShortArray6889[0xff & aByteArray872[i_28_]])); - else class64_27_.ia(aShortArray940[i_28_], aShortArray908[i_28_]); - } - } - if (aShortArray919 != null) { - for (int i_29_ = 0; i_29_ < aShortArray919.length; i_29_++) - class64_27_.aa(aShortArray919[i_29_], aShortArray892[i_29_]); - } - if (aByte922 != 0) class64_27_.method624(aByte944, aByte952, aByte879, 0xff & aByte922); - if (anInt928 != 128 || anInt935 != 128 || anInt882 != 128) class64_27_.O(anInt928, anInt935, anInt882); - if (anInt900 != 0 || anInt873 != 0 || anInt946 != 0) class64_27_.H(anInt900, anInt873, anInt946); - class64_27_.s(i_20_); - return class64_27_; - } - - final boolean method478(int i, int i_30_) { - if (i_30_ != -31076) return false; - anInt901++; - if (anIntArrayArray907 == null) return true; - synchronized (this.aClass263_933.aClass45_3345) { - for (int i_31_ = 0; aByteArray885.length > i_31_; i_31_++) { - if (aByteArray885[i_31_] == i) { - for (int i_32_ = 0; (anIntArrayArray907[i_31_].length > i_32_); i_32_++) { - if (!this.aClass263_933.aClass45_3345.method420(i_30_ ^ 0x5061, anIntArrayArray907[i_31_][i_32_], 0)) return false; - } - return true; - } - } - } - return true; - } - - final void method479(byte i, Class348_Sub49 class348_sub49) { - anInt867++; - for (; ; ) { - int i_33_ = class348_sub49.readUnsignedByte(255); - if (i_33_ == 0) break; - method482(class348_sub49, i_33_, (byte) -101); - } - if (i != 0) method486(-77); - } - - final Class51 method480(Interface17 interface17, byte i) { - anInt870++; - int i_34_ = -1; - if (anInt934 == -1) { - if (anInt939 != -1) i_34_ = interface17.method61(anInt939, (byte) -16); - } else i_34_ = interface17.method62(anInt934, i + -65583); - if (i != 47) method478(101, 42); - if (i_34_ < 0 || -1 + this.anIntArray945.length <= i_34_ || this.anIntArray945[i_34_] == -1) { - int i_35_ = (this.anIntArray945[-1 + this.anIntArray945.length]); - if (i_35_ == -1) return null; - return this.aClass263_933.method2005(0, i_35_); - } - return this.aClass263_933.method2005(i + -47, this.anIntArray945[i_34_]); - } - - final boolean method481(byte i, int i_36_) { - anInt957++; - if (i_36_ == -1) return false; - if (i_36_ == this.anInt868) return true; - if (this.anIntArray943 != null) { - for (int i_37_ = 0; i_37_ < this.anIntArray943.length; i_37_++) { - if (this.anIntArray943[i_37_] == i_36_) return true; - } - } - if (i < 67) method481((byte) 127, 25); - return false; - } - - private final void method482(Class348_Sub49 class348_sub49, int i, byte i_38_) { - anInt960++; - if (i == 1 || i == 5) { - if (i == 5 && this.aClass263_933.aBoolean3355) method484(class348_sub49, -528); - int i_59_ = class348_sub49.readUnsignedByte(255); - anIntArrayArray907 = new int[i_59_][]; - aByteArray885 = new byte[i_59_]; - for (int i_60_ = 0; i_60_ < i_59_; i_60_++) { - aByteArray885[i_60_] = class348_sub49.readByte(-110); - int i_61_ = class348_sub49.readUnsignedByte(255); - anIntArrayArray907[i_60_] = new int[i_61_]; - for (int i_62_ = 0; i_62_ < i_61_; i_62_++) - anIntArrayArray907[i_60_][i_62_] = class348_sub49.readUnsignedShort(842397944); - } - if (i == 5 && !this.aClass263_933.aBoolean3355) method484(class348_sub49, -528); - } else if (i == 2) this.aString884 = class348_sub49.readString((byte) 121); - else if (i == 14) this.anInt961 = class348_sub49.readUnsignedByte(255); - else if (i != 15) { - if (i == 17) { - this.aBoolean896 = false; - this.anInt920 = 0; - } else if (i == 18) this.aBoolean896 = false; - else if (i != 19) { - if (i == 21) aByte886 = (byte) 1; - else if (i != 22) { - if (i == 23) this.anInt955 = 1; - else if (i == 24) { - this.anInt868 = class348_sub49.readUnsignedShort(842397944); - if (this.anInt868 == 65535) this.anInt868 = -1; - } else if (i == 27) this.anInt920 = 1; - else if (i != 28) { - if (i != 29) { - if (i == 39) anInt880 = class348_sub49.readByte(-86) * 5; - else if (i >= 30 && i < 35) this.aStringArray913[-30 + i] = class348_sub49.readString((byte) 88); - else if (i == 40) { - int i_57_ = class348_sub49.readUnsignedByte(255); - aShortArray940 = new short[i_57_]; - aShortArray908 = new short[i_57_]; - for (int i_58_ = 0; (i_58_ < i_57_); i_58_++) { - aShortArray940[i_58_] = (short) (class348_sub49.readUnsignedShort(842397944)); - aShortArray908[i_58_] = (short) (class348_sub49.readUnsignedShort(842397944)); - } - } else if (i == 41) { - int i_55_ = class348_sub49.readUnsignedByte(255); - aShortArray892 = new short[i_55_]; - aShortArray919 = new short[i_55_]; - for (int i_56_ = 0; i_56_ < i_55_; i_56_++) { - aShortArray919[i_56_] = (short) (class348_sub49.readUnsignedShort(842397944)); - aShortArray892[i_56_] = (short) (class348_sub49.readUnsignedShort(842397944)); - } - } else if (i == 42) { - int i_53_ = class348_sub49.readUnsignedByte(255); - aByteArray872 = new byte[i_53_]; - for (int i_54_ = 0; i_53_ > i_54_; i_54_++) - aByteArray872[i_54_] = class348_sub49.readByte(-92); - } else if (i == 62) this.aBoolean902 = true; - else if (i != 64) { - if (i == 65) anInt928 = (class348_sub49.readUnsignedShort(842397944)); - else if (i != 66) { - if (i != 67) { - if (i == 69) this.anInt914 = (class348_sub49.readUnsignedByte(255)); - else if (i != 70) { - if (i == 71) anInt873 = ((class348_sub49.readShort(13638)) << 2); - else if (i != 72) { - if (i == 73) this.aBoolean947 = true; - else if (i == 74) this.aBoolean876 = true; - else if (i != 75) { - if (i != 77 && (i != 92)) { - if (i == 78) { - this.anInt887 = class348_sub49.readUnsignedShort(842397944); - this.anInt889 = class348_sub49.readUnsignedByte(255); - } else if (i == 79) { - this.anInt962 = class348_sub49.readUnsignedShort(842397944); - this.anInt937 = class348_sub49.readUnsignedShort(842397944); - this.anInt889 = class348_sub49.readUnsignedByte(255); - int i_48_ = class348_sub49.readUnsignedByte(255); - this.anIntArray904 = new int[i_48_]; - for (int i_49_ = 0; i_48_ > i_49_; i_49_++) - this.anIntArray904[i_49_] = class348_sub49.readUnsignedShort(842397944); - } else if (i == 81) { - aByte886 = (byte) 2; - anInt915 = class348_sub49.readUnsignedByte(255) * 256; - } else if (i != 82) { - if (i == 88) this.aBoolean894 = false; - else if (i != 89) { - if (i == 91) this.aBoolean942 = true; - else if (i == 93) { - aByte886 = (byte) 3; - anInt915 = class348_sub49.readUnsignedShort(842397944); - } else if (i == 94) aByte886 = (byte) 4; - else if (i == 95) { - aByte886 = (byte) 5; - anInt915 = class348_sub49.readShort(13638); - } else if (i != 97) { - if (i != 98) { - if (i == 99) { - this.anInt950 = class348_sub49.readUnsignedByte(255); - this.anInt869 = class348_sub49.readUnsignedShort(842397944); - } else if (i == 100) { - this.anInt951 = class348_sub49.readUnsignedByte(255); - this.anInt877 = class348_sub49.readUnsignedShort(842397944); - } else if (i != 101) { - if (i == 102) this.anInt875 = class348_sub49.readUnsignedShort(842397944); - else if (i != 103) { - if (i == 104) this.anInt936 = class348_sub49.readUnsignedByte(255); - else if (i != 105) { - if (i == 106) { - int i_39_ = class348_sub49.readUnsignedByte(255); - this.anIntArray943 = new int[i_39_]; - anIntArray959 = new int[i_39_]; - for (int i_40_ = 0; i_40_ < i_39_; i_40_++) { - this.anIntArray943[i_40_] = class348_sub49.readUnsignedShort(842397944); - int i_41_ = class348_sub49.readUnsignedByte(255); - anIntArray959[i_40_] = i_41_; - anInt911 += i_41_; - } - } else if (i != 107) { - if (i >= 150 && i < 155) { - this.aStringArray913[i + -150] = class348_sub49.readString((byte) -41); - if (!this.aClass263_933.aBoolean3359) this.aStringArray913[-150 + i] = null; - } else if (i == 160) { - int i_46_ = class348_sub49.readUnsignedByte(255); - this.anIntArray917 = new int[i_46_]; - for (int i_47_ = 0; i_46_ > i_47_; i_47_++) - this.anIntArray917[i_47_] = class348_sub49.readUnsignedShort(842397944); - } else if (i == 162) { - aByte886 = (byte) 3; - anInt915 = class348_sub49.readInt((byte) -126); - } else if (i == 163) { - aByte944 = class348_sub49.readByte(-118); - aByte952 = class348_sub49.readByte(-83); - aByte879 = class348_sub49.readByte(-87); - aByte922 = class348_sub49.readByte(-111); - } else if (i != 164) { - if (i != 165) { - if (i != 166) { - if (i == 167) this.anInt930 = class348_sub49.readUnsignedShort(842397944); - else if (i != 168) { - if (i != 169) { - if (i != 170) { - if (i == 171) this.anInt953 = class348_sub49.readSmart(-121); - else if (i == 173) { - this.anInt878 = class348_sub49.readUnsignedShort(842397944); - this.anInt916 = class348_sub49.readUnsignedShort(842397944); - } else if (i == 249) { - int i_42_ = class348_sub49.readUnsignedByte(255); - if (aClass356_881 == null) { - int i_43_ = Class33.method340(i_42_, (byte) 108); - aClass356_881 = new Class356(i_43_); - } - for (int i_44_ = 0; i_44_ < i_42_; i_44_++) { - boolean bool = class348_sub49.readUnsignedByte(255) == 1; - int i_45_ = class348_sub49.readMedium(-1); - Class348 class348; - if (!bool) class348 = new Class348_Sub35(class348_sub49.readInt((byte) -126)); - else class348 = new Class348_Sub50(class348_sub49.readString((byte) -87)); - aClass356_881.method3483((byte) 86, i_45_, class348); - } - } - } else this.anInt909 = class348_sub49.readSmart(-121); - } else this.aBoolean903 = true; - } else this.aBoolean888 = true; - } else anInt890 = class348_sub49.readShort(13638); - } else anInt954 = class348_sub49.readShort(13638); - } else anInt893 = class348_sub49.readShort(13638); - } else this.anInt921 = class348_sub49.readUnsignedShort(842397944); - } else this.aBoolean925 = true; - } else this.anInt955 = 0; - } else this.anInt923 = class348_sub49.readUnsignedByte(255); - } else this.aBoolean929 = true; - } else this.aBoolean912 = true; - } else this.aBoolean924 = false; - } else this.aBoolean931 = true; - } else { - anInt934 = class348_sub49.readUnsignedShort(842397944); - if (anInt934 == 65535) anInt934 = -1; - anInt939 = class348_sub49.readUnsignedShort(842397944); - if (anInt939 == 65535) anInt939 = -1; - int i_50_ = -1; - if (i == 92) { - i_50_ = class348_sub49.readUnsignedShort(842397944); - if (i_50_ == 65535) i_50_ = -1; - } - int i_51_ = class348_sub49.readUnsignedByte(255); - this.anIntArray945 = new int[2 + i_51_]; - for (int i_52_ = 0; i_51_ >= i_52_; i_52_++) { - this.anIntArray945[i_52_] = class348_sub49.readUnsignedShort(842397944); - if (this.anIntArray945[i_52_] == 65535) this.anIntArray945[i_52_] = -1; - } - this.anIntArray945[i_51_ + 1] = i_50_; - } - } else this.anInt895 = (class348_sub49.readUnsignedByte(255)); - } else anInt946 = ((class348_sub49.readShort(13638)) << 2); - } else anInt900 = ((class348_sub49.readShort(13638)) << 2); - } else anInt882 = (class348_sub49.readUnsignedShort(842397944)); - } else anInt935 = (class348_sub49.readUnsignedShort(842397944)); - } else this.aBoolean918 = false; - } else anInt949 = class348_sub49.readByte(-77); - } else this.anInt883 = (class348_sub49.readUnsignedByte(255) << 2); - } else this.aBoolean906 = true; - } else this.anInt874 = class348_sub49.readUnsignedByte(255); - } else this.anInt926 = class348_sub49.readUnsignedByte(255); - if (i_38_ >= -93) aByteArray885 = null; - } - - final Class64 method483(int i, int i_63_, int i_64_, int i_65_, ha var_ha, int i_66_, int i_67_, byte i_68_, s var_s, int i_69_, int i_70_, int i_71_, Class17 class17, s var_s_72_) { - try { - if (Class104.method955(22311, i_64_)) i_64_ = 4; - anInt910++; - long l = (this.anInt941 << 10) + ((i_64_ << 3) - -i_66_); - int i_73_ = i_67_; - l |= var_ha.anInt4567 << 29; - if (class17 != null) i_67_ |= class17.method263(i, 123, i_70_, false); - if (aByte886 != 3) { - if (aByte886 != 0 || anInt954 != 0) i_67_ |= 0x2; - if (anInt893 != 0) i_67_ |= 0x1; - if (anInt890 != 0) i_67_ |= 0x4; - } else i_67_ |= 0x7; - if (i_64_ == 10 && i_66_ > 3) i_67_ |= 0x5; - Class64 class64; - synchronized (this.aClass263_933.aClass60_3362) { - class64 = (Class64) this.aClass263_933.aClass60_3362.method583(l, 100); - } - if (class64 == null || var_ha.method3667(class64.ua(), i_67_) != 0) { - if (class64 != null) i_67_ = var_ha.method3679(i_67_, class64.ua()); - class64 = method477(i_66_, var_ha, i_64_, -125, i_67_); - if (class64 == null) return null; - synchronized (this.aClass263_933.aClass60_3362) { - this.aClass263_933.aClass60_3362.method582(class64, l, (byte) -127); - } - } - boolean bool = false; - if (i_68_ <= 38) return null; - if (class17 != null) { - class64 = class17.method266(class64, 0x3 & i_66_, i, (byte) 1, i_70_, i_63_, 663780816, i_67_); - bool = true; - } - if (i_64_ == 10 && i_66_ > 3) { - if (!bool) { - class64 = class64.method614((byte) 3, i_67_, true); - bool = true; - } - class64.a(2048); - } - if (aByte886 != 0) { - if (!bool) { - bool = true; - class64 = class64.method614((byte) 3, i_67_, true); - } - class64.p(aByte886, anInt915, var_s_72_, var_s, i_71_, i_65_, i_69_); - } - if (anInt893 != 0 || anInt954 != 0 || anInt890 != 0) { - if (!bool) { - bool = true; - class64 = class64.method614((byte) 3, i_67_, true); - } - class64.H(anInt893, anInt954, anInt890); - } - if (bool) class64.s(i_73_); - return class64; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("iv.L(" + i + ',' + i_63_ + ',' + i_64_ + ',' + i_65_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_66_ + ',' + i_67_ + ',' + i_68_ + ',' + (var_s != null ? "{...}" : "null") + ',' + i_69_ + ',' + i_70_ + ',' + i_71_ + ',' + (class17 != null ? "{...}" : "null") + ',' + (var_s_72_ != null ? "{...}" : "null") + ')')); - } - } - - private final void method484(Class348_Sub49 class348_sub49, int i) { - if (i != -528) method486(79); - anInt871++; - int i_74_ = class348_sub49.readUnsignedByte(255); - for (int i_75_ = 0; i_75_ < i_74_; i_75_++) { - class348_sub49.anInt7197++; - int i_76_ = class348_sub49.readUnsignedByte(i ^ ~0x2f0); - class348_sub49.anInt7197 += i_76_ * 2; - } - } - - final boolean method485(int i) { - anInt899++; - if (i != 9773) method485(-109); - if (anIntArrayArray907 == null) return true; - boolean bool = true; - synchronized (this.aClass263_933.aClass45_3345) { - for (int i_77_ = 0; i_77_ < anIntArrayArray907.length; i_77_++) { - for (int i_78_ = 0; (anIntArrayArray907[i_77_].length > i_78_); i_78_++) - bool &= (this.aClass263_933.aClass45_3345.method420(-10499, anIntArrayArray907[i_77_][i_78_], 0)); - } - } - return bool; - } - - public static void method486(int i) { - aStringArray932 = null; - if (i > -19) method486(-34); - aClass101_905 = null; - aClass311_897 = null; - } - - final int method487(int i, int i_79_, int i_80_) { - int i_81_ = 81 % ((i_80_ - -53) / 44); - anInt898++; - if (aClass356_881 == null) return i_79_; - Class348_Sub35 class348_sub35 = (Class348_Sub35) aClass356_881.method3480(i, -6008); - if (class348_sub35 == null) return i_79_; - return class348_sub35.anInt6976; - } - - final void method488(int i) { - if (this.anInt874 == -1) { - this.anInt874 = 0; - if (aByteArray885 != null && aByteArray885.length == 1 && aByteArray885[0] == 10) this.anInt874 = 1; - for (int i_82_ = 0; i_82_ < 5; i_82_++) { - if (this.aStringArray913[i_82_] != null) { - this.anInt874 = 1; - break; - } - } - } - anInt956++; - int i_83_ = -118 / ((-55 - i) / 46); - if (this.anInt895 == -1) this.anInt895 = this.anInt920 != 0 ? 1 : 0; - } - - final int method489(int i) { - anInt927++; - if (this.anIntArray943 != null) { - int i_84_ = (int) (Math.random() * (double) anInt911); - int i_85_; - for (i_85_ = 0; i_84_ >= anIntArray959[i_85_]; i_85_++) - i_84_ -= anIntArray959[i_85_]; - return this.anIntArray943[i_85_]; - } - if (i != -1) method483(-2, 60, -13, 88, null, -68, 4, (byte) 52, null, -111, -120, 102, null, null); - return -1; - } - - public Class51() { - this.anInt869 = -1; - anInt890 = 0; - this.aBoolean896 = true; - this.anInt874 = -1; - anInt882 = 128; - this.aString884 = "null"; - anInt880 = 0; - aByte886 = (byte) 0; - this.aBoolean888 = false; - this.aBoolean906 = false; - this.aBoolean903 = false; - this.anInt877 = -1; - this.anInt914 = 0; - this.anInt875 = -1; - this.aStringArray913 = new String[5]; - this.aBoolean912 = false; - this.aBoolean894 = true; - this.aBoolean924 = true; - this.anInt923 = 0; - anInt873 = 0; - this.aBoolean931 = false; - anInt911 = 0; - this.anInt916 = 256; - this.anInt921 = -1; - anInt939 = -1; - this.anInt883 = 64; - this.anInt926 = 1; - anInt928 = 128; - this.anInt909 = 960; - anInt934 = -1; - this.anInt889 = 0; - this.anInt895 = -1; - aByte922 = (byte) 0; - this.aBoolean947 = false; - this.anInt878 = 256; - anInt893 = 0; - this.anInt936 = 255; - this.anIntArray943 = null; - this.aBoolean902 = false; - this.aBoolean918 = true; - anInt949 = 0; - this.aBoolean942 = false; - this.anInt953 = 0; - anInt954 = 0; - this.anInt937 = 0; - anInt900 = 0; - this.anInt930 = 0; - anInt915 = -1; - this.anInt951 = -1; - this.anInt955 = -1; - this.aBoolean925 = false; - anInt946 = 0; - this.anInt950 = -1; - anIntArray959 = null; - this.anInt920 = 2; - this.anInt961 = 1; - this.aBoolean929 = false; - anInt935 = 128; - this.anInt962 = 0; - this.anInt887 = -1; - } -} diff --git a/client/src/Class52.java b/client/src/Class52.java deleted file mode 100644 index 5cbed0151..000000000 --- a/client/src/Class52.java +++ /dev/null @@ -1,122 +0,0 @@ -/* Class52 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; -import java.math.BigInteger; - -final class Class52 implements Interface12 { - static int anInt4894; - static int anInt4895; - static BigInteger aBigInteger4896 = new BigInteger("10001", 16); - static int anInt4897; - static int anInt4898; - int anInt4899; - static int anInt4900; - static Class138 aClass138_4901; - static int anInt4902; - static boolean aBoolean4903 = false; - static Frame aFrame4904; - static Class351 aClass351_4905; - static int[] anIntArray4906; - static Class351 aClass351_4907; - - static final Class43 method490(byte i, Class348_Sub49 class348_sub49) { - anInt4897++; - Class43 class43 = new Class43(); - class43.anInt615 = class348_sub49.readUnsignedShort(842397944); - class43.aClass348_Sub42_Sub10_614 = Class239_Sub6.aClass355_5900.method3471(class43.anInt615, (byte) -90); - int i_0_ = -91 / ((9 - i) / 54); - return class43; - } - - public final Class223 method51(byte i) { - anInt4894++; - if (i < 116) return null; - return Class219.aClass223_2868; - } - - static final void method491(byte i) { - for (int i_1_ = 0; (Class348_Sub33.aByteArrayArrayArray6962.length > i_1_); i_1_++) { - for (int i_2_ = 0; i_2_ < Class348_Sub33.aByteArrayArrayArray6962[0].length; i_2_++) { - for (int i_3_ = 0; (Class348_Sub33.aByteArrayArrayArray6962[0][0].length > i_3_); i_3_++) - Class348_Sub33.aByteArrayArrayArray6962[i_1_][i_2_][i_3_] = (byte) 0; - } - } - int i_4_ = 119 / ((i - 47) / 34); - anInt4902++; - } - - public static void method492(int i) { - aClass351_4905 = null; - aClass351_4907 = null; - aFrame4904 = null; - if (i < -17) { - aBigInteger4896 = null; - anIntArray4906 = null; - aClass138_4901 = null; - } - } - - Class52(int i) { - this.anInt4899 = i; - } - - static final void method493(boolean bool) { - if (Class328_Sub2.aClass56Array6515 == null) { - Class328_Sub2.aClass56Array6515 = Class56.method528(-91); - Class348_Sub42_Sub15.aClass56_9660 = Class328_Sub2.aClass56Array6515[0]; - Class283.aLong3660 = Class62.method599(-119); - } - anInt4900++; - if (Class51.aClass311_897 == null) Class70.method726(116); - Class56 class56 = Class348_Sub42_Sub15.aClass56_9660; - int i = Class164.method1278(-28660); - if (class56 == Class348_Sub42_Sub15.aClass56_9660) { - Class64_Sub2.aString5420 = Class348_Sub42_Sub15.aClass56_9660.aClass274_1012.method2063(Class348_Sub33.anInt6967, 544); - if (Class348_Sub42_Sub15.aClass56_9660.aBoolean1016) Class251.anInt3236 = (i * ((Class348_Sub42_Sub15.aClass56_9660.anInt1021) + -(Class348_Sub42_Sub15.aClass56_9660.anInt1025)) / 100 + (Class348_Sub42_Sub15.aClass56_9660.anInt1025)); - if (Class348_Sub42_Sub15.aClass56_9660.aBoolean1013) Class64_Sub2.aString5420 += Class251.anInt3236 + "%"; - } else if (Class348_Sub42_Sub15.aClass56_9660 == Class56.aClass56_1043) { - Class51.aClass311_897 = null; - Class348_Sub49.method3379(2, 3); - } else { - Class64_Sub2.aString5420 = class56.aClass274_1015.method2063(Class348_Sub33.anInt6967, 544); - if (Class348_Sub42_Sub15.aClass56_9660.aBoolean1013) Class64_Sub2.aString5420 += class56.anInt1021 + "%"; - Class251.anInt3236 = class56.anInt1021; - if (Class348_Sub42_Sub15.aClass56_9660.aBoolean1016 || class56.aBoolean1016) Class283.aLong3660 = Class62.method599(-128); - } - if (bool == true) { - if (Class51.aClass311_897 != null) { - Class51.aClass311_897.method2316((Class348_Sub42_Sub15.aClass56_9660), Class64_Sub2.aString5420, Class251.anInt3236, Class283.aLong3660, false); - if (Class182.anInterface16Array2447 != null) { - for (int i_5_ = Class375.anInt4544 - -1; (Class182.anInterface16Array2447.length > i_5_); i_5_++) { - if (Class182.anInterface16Array2447[i_5_].method60(-19079) >= 100 && Class375.anInt4544 == -1 + i_5_ && Class240.anInt4674 >= 1 && Class51.aClass311_897.method2322(0)) { - try { - Class182.anInterface16Array2447[i_5_].method57(117); - } catch (Exception exception) { - Class182.anInterface16Array2447 = null; - break; - } - Class51.aClass311_897.method2321(10559, Class182.anInterface16Array2447[i_5_]); - Class375.anInt4544++; - if ((Class375.anInt4544 >= (-1 + Class182.anInterface16Array2447.length)) && Class182.anInterface16Array2447.length > 1) Class375.anInt4544 = !Class186_Sub1.aClass111_5813.method1044(26) ? -1 : 0; - } - } - } - } - } - } - - static final int method494(int i, int i_6_) { - if (i <= 78) aBigInteger4896 = null; - anInt4898++; - return 0x7f & i_6_; - } - - static { - aClass138_4901 = new Class138(12, 0, 1, 0); - anIntArray4906 = new int[4]; - aClass351_4905 = new Class351(44, 3); - aClass351_4907 = new Class351(48, 11); - } -} diff --git a/client/src/Class53.java b/client/src/Class53.java deleted file mode 100644 index cca0ff0e6..000000000 --- a/client/src/Class53.java +++ /dev/null @@ -1,50 +0,0 @@ -/* Class53 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jagdx.IDirect3DSurface; -import jagdx.IDirect3DSwapChain; - -final class Class53 { - private IDirect3DSwapChain anIDirect3DSwapChain963; - private IDirect3DSurface anIDirect3DSurface964; - private IDirect3DSurface anIDirect3DSurface965; - - final int method495(byte i, int i_0_) { - if (i != 91) anIDirect3DSurface964 = null; - return anIDirect3DSwapChain963.Present(i_0_); - } - - final void method496(byte i) { - if (null != anIDirect3DSurface965) { - anIDirect3DSurface965.a(9275); - anIDirect3DSurface965 = null; - } - if (anIDirect3DSurface964 != null) { - anIDirect3DSurface964.a(9275); - anIDirect3DSurface964 = null; - } - int i_1_ = -115 / ((i - -20) / 51); - if (anIDirect3DSwapChain963 != null) { - anIDirect3DSwapChain963.a(9275); - anIDirect3DSwapChain963 = null; - } - } - - final void method497(IDirect3DSwapChain idirect3dswapchain, byte i, IDirect3DSurface idirect3dsurface) { - anIDirect3DSurface964 = idirect3dsurface; - if (i == -107) { - anIDirect3DSwapChain963 = idirect3dswapchain; - anIDirect3DSurface965 = anIDirect3DSwapChain963.a(0, 0); - } - } - - final boolean method498(int i) { - int i_2_ = -21 / ((7 - i) / 51); - return null != anIDirect3DSwapChain963; - } - - Class53(IDirect3DSwapChain idirect3dswapchain, IDirect3DSurface idirect3dsurface) { - method497(idirect3dswapchain, (byte) -107, idirect3dsurface); - } -} diff --git a/client/src/Class54.java b/client/src/Class54.java deleted file mode 100644 index 82fa7c90f..000000000 --- a/client/src/Class54.java +++ /dev/null @@ -1,83 +0,0 @@ -/* Class54 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class54 { - private byte aByte966; - int anInt967; - static int anInt968; - int anInt969; - static int anInt970; - static int anInt971; - static int anInt972; - int anInt973; - static String[] aStringArray974; - static int anInt975; - int anInt976; - int anInt977; - - final int method499(int i) { - anInt972++; - if (i != 21110) return -38; - if ((aByte966 & 0x8) != 8) return 0; - return 1; - } - - static final int method500(int i, int i_0_) { - anInt975++; - if (i != 7) return -107; - return i_0_ >>> 8; - } - - public static void method501(int i) { - aStringArray974 = null; - if (i != 1) method501(-15); - } - - final int method502(byte i) { - anInt971++; - int i_1_ = 4 / ((3 - i) / 43); - return aByte966 & 0x7; - } - - public Class54() { - /* empty */ - } - - static final void method503(int i, int i_2_, byte i_3_, int i_4_, int i_5_) { - anInt968++; - int i_6_ = Class348_Sub42_Sub16_Sub2.anInt10463; - while_4_: - do { - do { - if (i_6_ != 0) { - if (i_6_ != 1) { - if (i_6_ == 2) break; - break while_4_; - } - } else return; - Class348_Sub3.anInt6585 = i; - Class314.anInt3941 = i_2_; - Class239.anInt3142 = i_5_; - Class348_Sub42_Sub16_Sub2.anInt10463 = 2; - Class314.anInt3939 = i_4_; - return; - } while (false); - if (Class314.anInt3939 < i_4_) Class314.anInt3939 = i_4_; - if (Class314.anInt3941 > i_2_) Class314.anInt3941 = i_2_; - if (Class239.anInt3142 > i_5_) Class239.anInt3142 = i_5_; - if (i > Class348_Sub3.anInt6585) Class348_Sub3.anInt6585 = i; - return; - } while (false); - if (i_3_ != -74) method501(46); - } - - Class54(Class348_Sub49 class348_sub49) { - aByte966 = class348_sub49.readByte(-113); - this.anInt969 = class348_sub49.readUnsignedShort(842397944); - this.anInt976 = class348_sub49.readInt((byte) -126); - this.anInt967 = class348_sub49.readInt((byte) -126); - this.anInt977 = class348_sub49.readInt((byte) -126); - this.anInt973 = class348_sub49.readInt((byte) -126); - } -} diff --git a/client/src/Class55.java b/client/src/Class55.java deleted file mode 100644 index a7db061b3..000000000 --- a/client/src/Class55.java +++ /dev/null @@ -1,360 +0,0 @@ -/* Class55 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jagtheora.ogg.OggPacket; -import jagtheora.ogg.OggPage; -import jagtheora.ogg.OggStreamState; -import jagtheora.ogg.OggSyncState; - -import java.io.IOException; - -abstract class Class55 { - static int anInt978; - static boolean aBoolean979; - static int anInt980; - private OggPage anOggPage981; - static int anInt982; - private boolean aBoolean983; - static int anInt984 = 4; - static int anInt985; - static int anInt986; - private final OggSyncState anOggSyncState987; - static int anInt988; - static int anInt989; - static int anInt990; - private boolean aBoolean991; - static int anInt992; - private final OggPacket anOggPacket993; - static int anInt994; - private byte[] aByteArray995; - static int anInt996; - static int anInt997; - static int anInt998; - private Class348_Sub23_Sub4 aClass348_Sub23_Sub4_999; - static int anInt1000; - private Class348_Sub23_Sub2 aClass348_Sub23_Sub2_1001; - static int anInt1002; - static int anInt1003; - static int anInt1004; - static int anInt1005; - private boolean aBoolean1006; - private boolean aBoolean1007; - private Class348_Sub23_Sub1 aClass348_Sub23_Sub1_1008; - private String aString1009; - static float aFloat1010; - private final Class356 aClass356_1011; - - private final void method504(int i) { - if (i != 1999) aByteArray995 = null; - anInt982++; - for (Class348_Sub23 class348_sub23 = (Class348_Sub23) aClass356_1011.method3484(0); class348_sub23 != null; class348_sub23 = (Class348_Sub23) aClass356_1011.method3482(0)) { - if (class348_sub23 instanceof Class348_Sub23_Sub4) { - Class348_Sub23_Sub4 class348_sub23_sub4 = (Class348_Sub23_Sub4) class348_sub23; - while (class348_sub23_sub4.anInt6868 <= 8 || (method519(i ^ 0x7b2) > (double) class348_sub23_sub4.method2984((byte) 97))) { - if (class348_sub23_sub4.anOggStreamState6869.packetOut(anOggPacket993) != 1) break; - class348_sub23_sub4.method2963(anOggPacket993, i + 14385); - } - } - } - method509(i + -2012, aString1009); - } - - private final void method505(byte i) throws IOException { - anInt996++; - while (aClass348_Sub23_Sub2_1001.anOggStreamState6869.packetOut(anOggPacket993) != 1) { - Class348_Sub23 class348_sub23 = method521(1); - if (class348_sub23 == null) { - if (aBoolean991) method511(-2); - return; - } else if (class348_sub23 == aClass348_Sub23_Sub4_999) method504(1999); - } - aClass348_Sub23_Sub2_1001.method2963(anOggPacket993, 16384); - if (i < 58) anOggPage981 = null; - } - - final Class348_Sub23_Sub2 method506(boolean bool) { - anInt1002++; - if (bool != false) return null; - return aClass348_Sub23_Sub2_1001; - } - - private final boolean method507(boolean bool) { - if (bool != false) method511(-113); - anInt986++; - if (aClass348_Sub23_Sub1_1008 != null) { - return !aClass348_Sub23_Sub2_1001.method2976(-1) || method519(126) > aClass348_Sub23_Sub2_1001.method2980((byte) 100); - } - double d = aClass348_Sub23_Sub2_1001.method2977(0); - return d == 0.0 || (double) Class62.method599(-74) >= 1000.0 / d + (double) aClass348_Sub23_Sub2_1001.method2979(30); - } - - final void method508(int i) { - anInt989++; - if (!aBoolean1007) { - Class348_Sub23 class348_sub23 = (Class348_Sub23) aClass356_1011.method3484(0); - if (i != 1) aBoolean991 = true; - for (/**/; class348_sub23 != null; class348_sub23 = (Class348_Sub23) aClass356_1011.method3482(i ^ 0x1)) { - class348_sub23.method2961((byte) 13); - class348_sub23.anOggStreamState6869.a(); - } - anOggPacket993.a(); - anOggPage981.a(); - anOggSyncState987.a(); - aBoolean1007 = true; - } - } - - final void method509(int i, String string) { - anInt980++; - aString1009 = string; - if (aString1009 == null) aClass348_Sub23_Sub4_999 = null; - else { - if (i > -4) anInt984 = -61; - if (aClass348_Sub23_Sub4_999 != null && !aString1009.equals(aClass348_Sub23_Sub4_999.method2986(52))) aClass348_Sub23_Sub4_999 = null; - if (aClass348_Sub23_Sub4_999 == null) { - for (Class348_Sub23 class348_sub23 = (Class348_Sub23) aClass356_1011.method3484(0); class348_sub23 != null; class348_sub23 = (Class348_Sub23) aClass356_1011.method3482(0)) { - if (class348_sub23 instanceof Class348_Sub23_Sub4) { - Class348_Sub23_Sub4 class348_sub23_sub4 = (Class348_Sub23_Sub4) class348_sub23; - if (aString1009.equals(class348_sub23_sub4.method2986(41))) { - aClass348_Sub23_Sub4_999 = class348_sub23_sub4; - break; - } - } - } - } - } - } - - final boolean method510(byte i) { - anInt1004++; - int i_0_ = 65 / ((i - -74) / 47); - if (!aBoolean1007 && !aBoolean991) return false; - return aClass348_Sub23_Sub1_1008 == null || aClass348_Sub23_Sub1_1008.method2969(-11020) <= 0; - } - - private final void method511(int i) { - anInt1003++; - for (Class348_Sub23 class348_sub23 = (Class348_Sub23) aClass356_1011.method3484(0); class348_sub23 != null; class348_sub23 = (Class348_Sub23) aClass356_1011.method3482(i + 2)) { - if (class348_sub23 != aClass348_Sub23_Sub2_1001) { - while (class348_sub23.anOggStreamState6869.packetOut() == 1) class348_sub23.method2963(anOggPacket993, i ^ ~0x4001); - } - } - if (aClass348_Sub23_Sub2_1001 != null) { - if (i != -2) method518(null, (byte) 10); - for (int i_1_ = 0; i_1_ < 10 && method507(false); i_1_++) { - if (aClass348_Sub23_Sub2_1001.anOggStreamState6869.packetOut() != 1) { - method508(1); - break; - } - aClass348_Sub23_Sub2_1001.method2963(anOggPacket993, 16384); - } - } - } - - final Class348_Sub23_Sub1 method512(int i) { - if (i != 0) method512(120); - anInt1005++; - return aClass348_Sub23_Sub1_1008; - } - - final Class348_Sub23_Sub4 method513(int i) { - anInt978++; - if (i != 50) aClass348_Sub23_Sub1_1008 = null; - return aClass348_Sub23_Sub4_999; - } - - final void method514(byte i, boolean bool) { - anInt985++; - if (aClass348_Sub23_Sub1_1008 != null) { - Class348_Sub16_Sub2 class348_sub16_sub2 = aClass348_Sub23_Sub1_1008.method2971(-96); - if (class348_sub16_sub2 != null) class348_sub16_sub2.method2833(1, bool); - } - if (i <= 114) aBoolean991 = true; - aBoolean1006 = !aBoolean1006; - } - - static final void method515(int i, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_) { - anInt990++; - int i_7_ = 0; - int i_8_ = i_4_; - int i_9_ = i_5_ * i_5_; - int i_10_ = i_4_ * i_4_; - int i_11_ = i_10_ << 1; - int i_12_ = i_9_ << 1; - int i_13_ = -27 / ((38 - i_6_) / 62); - int i_14_ = i_4_ << 1; - int i_15_ = i_11_ + i_9_ * (1 + -i_14_); - int i_16_ = -(i_12_ * (i_14_ - 1)) + i_10_; - int i_17_ = i_9_ << 2; - int i_18_ = i_10_ << 2; - int i_19_ = (3 + (i_7_ << 1)) * i_11_; - int i_20_ = i_12_ * ((i_8_ << 1) - 3); - int i_21_ = i_18_ * (i_7_ + 1); - Class135_Sub2.method1156(-27, i_2_ + i_5_, Class17.anIntArrayArray255[i_3_], -i_5_ + i_2_, i); - int i_22_ = i_17_ * (-1 + i_8_); - while (i_8_ > 0) { - if (i_15_ < 0) { - while (i_15_ < 0) { - i_16_ += i_21_; - i_15_ += i_19_; - i_7_++; - i_21_ += i_18_; - i_19_ += i_18_; - } - } - if (i_16_ < 0) { - i_16_ += i_21_; - i_15_ += i_19_; - i_7_++; - i_21_ += i_18_; - i_19_ += i_18_; - } - i_16_ += -i_20_; - i_15_ += -i_22_; - i_22_ -= i_17_; - i_20_ -= i_17_; - int i_23_ = /*---*/i_8_ + i_3_; - int i_24_ = i_3_ - -i_8_; - int i_25_ = i_2_ - -i_7_; - int i_26_ = i_2_ + -i_7_; - Class135_Sub2.method1156(-27, i_25_, Class17.anIntArrayArray255[i_23_], i_26_, i); - Class135_Sub2.method1156(-27, i_25_, Class17.anIntArrayArray255[i_24_], i_26_, i); - } - } - - abstract int method516(byte i, byte[] is) throws IOException; - - final void method517(int i) throws IOException { - if (i == -2) { - anInt988++; - if (!aBoolean1006) { - while (!aBoolean1007) { - Class348_Sub23 class348_sub23; - if (!aBoolean983) { - class348_sub23 = method521(1); - if (class348_sub23 == null) { - if (aBoolean991) method511(i); - break; - } - if (class348_sub23 == null) throw new IllegalStateException(); - aBoolean983 = true; - } else class348_sub23 = ((Class348_Sub23) (aClass356_1011.method3480(anOggPage981.getSerialNumber(), -6008))); - if (aClass348_Sub23_Sub1_1008 == class348_sub23) { - if (aClass348_Sub23_Sub1_1008.method2969(-11020) >= 50) break; - while (aClass348_Sub23_Sub1_1008.anOggStreamState6869.packetOut(anOggPacket993) == 1) { - aClass348_Sub23_Sub1_1008.method2963(anOggPacket993, i + 16386); - method504(1999); - if (aClass348_Sub23_Sub2_1001 != null) { - double d = aClass348_Sub23_Sub2_1001.method2980((byte) 100); - for (int i_27_ = 0; i_27_ < 10 && method507(false); i_27_++) { - method505((byte) 98); - if (aBoolean1007) return; - } - if (aClass348_Sub23_Sub2_1001.method2980((byte) 100) > d) return; - } - if (aClass348_Sub23_Sub1_1008.method2969(-11020) >= 50) return; - } - } else if (!(class348_sub23 instanceof Class348_Sub23_Sub4)) { - if (class348_sub23 == aClass348_Sub23_Sub2_1001) { - if (aClass348_Sub23_Sub1_1008 == null && !aBoolean1006) { - for (int i_28_ = 0; i_28_ < 10 && method507(false); i_28_++) { - method505((byte) 80); - if (aBoolean1007) break; - } - break; - } - } else { - while (class348_sub23.anOggStreamState6869.packetOut(anOggPacket993) == 1) { - if ((class348_sub23.anInt6868) == 1 && (class348_sub23 instanceof Class348_Sub23_Sub4)) method509(-22, aString1009); - class348_sub23.method2963(anOggPacket993, 16384); - } - } - } else method504(1999); - aBoolean983 = false; - } - } - } - } - - static final void method518(String string, byte i) { - System.exit(1); - anInt997++; - int i_29_ = 97 % ((-66 - i) / 54); - } - - final double method519(int i) { - int i_30_ = 6 % ((i - 89) / 35); - anInt992++; - if (aClass348_Sub23_Sub1_1008 != null) return aClass348_Sub23_Sub1_1008.method2973((byte) 123); - if (aClass348_Sub23_Sub2_1001 != null) return aClass348_Sub23_Sub2_1001.method2980((byte) 100); - return 0.0; - } - - static final boolean method520(Interface10 interface10, int i) { - anInt1000++; - Class51 class51 = Class348_Sub40_Sub12.aClass263_9195.method2005(0, interface10.method42(-94)); - if (class51.anInt875 == -1) return true; - Class218 class218 = Class2.aClass141_117.method1173((byte) 31, class51.anInt875); - if (i == class218.anInt2853) return true; - return class218.method1593(106); - } - - private final Class348_Sub23 method521(int i) throws IOException { - anInt998++; - if (aBoolean1007) throw new IllegalStateException(); - if (aBoolean991) return null; - while (anOggSyncState987.pageOut(anOggPage981) <= 0) { - int i_31_ = method516((byte) 21, aByteArray995); - if (i_31_ == -1) { - aBoolean991 = true; - return null; - } - if (i_31_ == 0) return null; - if (!anOggSyncState987.write(aByteArray995, i_31_)) throw new RuntimeException(""); - } - int i_32_ = anOggPage981.getSerialNumber(); - if (i != 1) aClass348_Sub23_Sub1_1008 = null; - if (!anOggPage981.isBOS()) { - Class348_Sub23 class348_sub23 = ((Class348_Sub23) aClass356_1011.method3480(i_32_, -6008)); - if (!class348_sub23.anOggStreamState6869.pageIn(anOggPage981)) throw new IllegalStateException(); - return class348_sub23; - } - OggStreamState oggstreamstate = new OggStreamState(i_32_); - if (!oggstreamstate.pageIn(anOggPage981)) throw new IllegalStateException(); - if (oggstreamstate.packetPeek(anOggPacket993) != 1) throw new IllegalStateException(); - Class348_Sub23 class348_sub23; - if (aClass348_Sub23_Sub2_1001 == null && anOggPacket993.isTheora()) { - aClass348_Sub23_Sub2_1001 = new Class348_Sub23_Sub2(oggstreamstate); - class348_sub23 = aClass348_Sub23_Sub2_1001; - } else if (aClass348_Sub23_Sub1_1008 == null && anOggPacket993.isVorbis()) { - aClass348_Sub23_Sub1_1008 = new Class348_Sub23_Sub1(oggstreamstate); - class348_sub23 = aClass348_Sub23_Sub1_1008; - } else { - byte[] is = anOggPacket993.getData(); - StringBuffer stringbuffer = new StringBuffer(); - for (int i_33_ = 1; is.length > i_33_; i_33_++) { - if (!Character.isLetterOrDigit((char) is[i_33_])) break; - stringbuffer.append((char) is[i_33_]); - } - String string = stringbuffer.toString(); - if (string.equals("kate")) class348_sub23 = new Class348_Sub23_Sub4(oggstreamstate); - else class348_sub23 = new Class348_Sub23_Sub3(oggstreamstate); - } - aClass356_1011.method3483((byte) 92, i_32_, class348_sub23); - return class348_sub23; - } - - Class55(int i) { - if (!Class348_Sub40_Sub19.method3098(-30282, "jagtheora")) throw new RuntimeException("Failed to load jagtheora library"); - aByteArray995 = new byte[i]; - anOggSyncState987 = new OggSyncState(); - anOggPage981 = new OggPage(); - anOggPacket993 = new OggPacket(); - aClass356_1011 = new Class356(8); - } - - static { - aBoolean979 = false; - } -} diff --git a/client/src/Class55_Sub1.java b/client/src/Class55_Sub1.java deleted file mode 100644 index 34b03dfd2..000000000 --- a/client/src/Class55_Sub1.java +++ /dev/null @@ -1,104 +0,0 @@ -/* Class55_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.IOException; - -final class Class55_Sub1 extends Class55 { - static boolean aBoolean5265 = false; - static int anInt5266; - private final Class45 aClass45_5267; - static int anInt5268; - private int[] anIntArray5269; - private int anInt5270; - static Class364 aClass364_5271 = new Class364("LIVE", 0); - private final int anInt5272; - static int anInt5273; - private final Class348_Sub49 aClass348_Sub49_5274; - private byte[][] aByteArrayArray5275 = new byte[10][]; - private final Class348_Sub49 aClass348_Sub49_5276; - - final void method522(byte i) { - anInt5266++; - if (anIntArray5269 != null && i < -27) { - for (int i_0_ = 0; i_0_ < 10 && anIntArray5269.length > anInt5270 + i_0_; i_0_++) { - if (aByteArrayArray5275[i_0_] == null && aClass45_5267.method420(-10499, (anIntArray5269[i_0_ + anInt5270]), 0)) aByteArrayArray5275[i_0_] = aClass45_5267.method410(-1860, (anIntArray5269[anInt5270 + i_0_]), 0); - } - } - } - - public static void method523(int i) { - if (i <= 80) method524(-87, true, 104, 0); - aClass364_5271 = null; - } - - private Class55_Sub1(int i, Class45 class45, int i_1_) { - super(i); - aClass348_Sub49_5274 = new Class348_Sub49(null); - aClass348_Sub49_5276 = new Class348_Sub49(null); - aClass45_5267 = class45; - anInt5272 = i_1_; - } - - static final void method524(int i, boolean bool, int i_2_, int i_3_) { - if (i_3_ > -108) aBoolean5265 = false; - if (Class27.aClass356_389.method3480(i_2_, -6008) == null) { - if (Class38.aBoolean510) { - Class348_Sub15 class348_sub15 = new Class348_Sub15(i_2_, new Class55_Sub1(4096, (Class146.aClass45_2015), i_2_), i, bool); - class348_sub15.aClass55_Sub1_6768.method509(-92, Class59_Sub2.aStringArray5305[Class348_Sub33.anInt6967]); - Class27.aClass356_389.method3483((byte) 35, i_2_, class348_sub15); - } else Class303.method2285(bool, (byte) -90, i_2_); - } - anInt5268++; - } - - final int method516(byte i, byte[] is) throws IOException { - anInt5273++; - if (anIntArray5269 == null) { - if (!aClass45_5267.method420(-10499, anInt5272, 0)) return 0; - byte[] is_4_ = aClass45_5267.method410(-1860, anInt5272, 0); - if (is_4_ == null) throw new IllegalStateException(""); - aClass348_Sub49_5276.aByteArray7154 = is_4_; - aClass348_Sub49_5276.anInt7197 = 0; - int i_5_ = is_4_.length >> 1; - anIntArray5269 = new int[i_5_]; - for (int i_6_ = 0; i_6_ < i_5_; i_6_++) - anIntArray5269[i_6_] = aClass348_Sub49_5276.readUnsignedShort(842397944); - } - if (anInt5270 >= anIntArray5269.length) return -1; - method522((byte) -74); - if (i != 21) aByteArrayArray5275 = null; - aClass348_Sub49_5276.aByteArray7154 = is; - aClass348_Sub49_5276.anInt7197 = 0; - while (aClass348_Sub49_5276.anInt7197 < aClass348_Sub49_5276.aByteArray7154.length) { - if (aClass348_Sub49_5274.aByteArray7154 == null) { - if (aByteArrayArray5275[0] == null) { - aClass348_Sub49_5276.aByteArray7154 = null; - return aClass348_Sub49_5276.anInt7197; - } - aClass348_Sub49_5274.aByteArray7154 = aByteArrayArray5275[0]; - } - int i_7_ = (-aClass348_Sub49_5276.anInt7197 + (aClass348_Sub49_5276.aByteArray7154).length); - int i_8_ = (-aClass348_Sub49_5274.anInt7197 + (aClass348_Sub49_5274.aByteArray7154).length); - if (i_8_ <= i_7_) { - aClass348_Sub49_5276.writeBytes(i_8_, aClass348_Sub49_5274.anInt7197, aClass348_Sub49_5274.aByteArray7154, -58); - aClass348_Sub49_5274.anInt7197 = 0; - aClass348_Sub49_5274.aByteArray7154 = null; - anInt5270++; - for (int i_9_ = 0; i_9_ < 9; i_9_++) - aByteArrayArray5275[i_9_] = aByteArrayArray5275[i_9_ - -1]; - aByteArrayArray5275[9] = null; - if (anInt5270 >= anIntArray5269.length) { - aClass348_Sub49_5276.aByteArray7154 = null; - return aClass348_Sub49_5276.anInt7197; - } - } else { - aClass348_Sub49_5274.method3389(2147483647, aClass348_Sub49_5276.anInt7197, i_7_, aClass348_Sub49_5276.aByteArray7154); - aClass348_Sub49_5276.aByteArray7154 = null; - return is.length; - } - } - aClass348_Sub49_5276.aByteArray7154 = null; - return is.length; - } -} diff --git a/client/src/Class56.java b/client/src/Class56.java deleted file mode 100644 index f210dff4f..000000000 --- a/client/src/Class56.java +++ /dev/null @@ -1,124 +0,0 @@ -/* Class56 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; - -final class Class56 { - Class274 aClass274_1012; - boolean aBoolean1013; - static int anInt1014; - Class274 aClass274_1015; - boolean aBoolean1016; - private final int anInt1017; - static Class56 aClass56_1018 = new Class56(0, Class274.aClass274_3499, Class274.aClass274_3499, 0, 1); - static int anInt1019; - static int anInt1020; - int anInt1021; - static int anInt1022; - static Class56 aClass56_1023 = new Class56(1, Class274.aClass274_3499, 2); - static Class56 aClass56_1024 = new Class56(2, Class274.aClass274_3499, Class274.aClass274_3499, 2, 3); - int anInt1025; - static Class56 aClass56_1026 = new Class56(3, Class274.aClass274_3499, 3); - static Class56 aClass56_1027 = new Class56(4, Class274.aClass274_3499, Class274.aClass274_3499, 3, 4); - static Class56 aClass56_1028 = new Class56(5, Class274.aClass274_3499, 4); - static Class56 aClass56_1029 = new Class56(6, Class274.aClass274_3499, 4); - static Class56 aClass56_1030 = new Class56(7, Class274.aClass274_3499, Class274.aClass274_3499, 4, 5); - static Class56 aClass56_1031 = new Class56(8, Class274.aClass274_3499, Class274.aClass274_3499, 5, 98, true, true);// - static Class56 aClass56_1032 = new Class56(9, Class274.aClass274_3499, 99); - static Class56 aClass56_1033 = new Class56(10, Class274.aClass274_3499, 100); - static Class56 aClass56_1034 = new Class56(11, Class274.aClass274_3500, Class274.aClass274_3500, 0, 92, true, true); - static Class56 aClass56_1035 = new Class56(12, Class274.aClass274_3500, Class274.aClass274_3500, 92, 92); - private static Class56 aClass56_1036 = new Class56(13, Class274.aClass274_3500, Class274.aClass274_3500, 92, 93); - static Class56 aClass56_1037 = new Class56(14, Class274.aClass274_3500, Class274.aClass274_3500, 94, 95); - static Class56 aClass56_1038 = new Class56(15, Class274.aClass274_3500, Class274.aClass274_3500, 96, 97); - static Class56 aClass56_1039 = new Class56(16, Class274.aClass274_3500, 97); - static Class56 aClass56_1040 = new Class56(17, Class274.aClass274_3500, 97); - static Class56 aClass56_1041 = new Class56(18, Class274.aClass274_3500, 100); - static Class56 aClass56_1042 = new Class56(19, Class274.aClass274_3500, 100); - static Class56 aClass56_1043 = new Class56(20, Class274.aClass274_3500, 100); - static int anInt1044; - static int[] anIntArray1045 = new int[2]; - - private Class56(int i, Class274 class274, int i_0_) { - this(i, class274, class274, i_0_, i_0_, true, false); - } - - final int method525(int i) { - if (i >= -109) aClass56_1039 = null; - anInt1019++; - return anInt1017; - } - - public final String toString() { - anInt1022++; - throw new IllegalStateException(); - } - - public static void method526(int i) { - aClass56_1040 = null; - aClass56_1032 = null; - aClass56_1042 = null; - aClass56_1038 = null; - aClass56_1034 = null; - aClass56_1027 = null; - aClass56_1018 = null; - aClass56_1026 = null; - if (i > 42) { - aClass56_1039 = null; - aClass56_1031 = null; - aClass56_1043 = null; - aClass56_1033 = null; - aClass56_1024 = null; - aClass56_1029 = null; - aClass56_1023 = null; - aClass56_1036 = null; - anIntArray1045 = null; - aClass56_1041 = null; - aClass56_1030 = null; - aClass56_1037 = null; - aClass56_1028 = null; - aClass56_1035 = null; - } - } - - static final void method527(Frame frame, Class297 class297, boolean bool) { - try { - anInt1020++; - for (; ; ) { - Class144 class144 = class297.method2248((byte) 89, frame); - while (class144.anInt1997 == 0) Class286_Sub5.method2161((byte) -124, 10L); - if (class144.anInt1997 == 1) break; - Class286_Sub5.method2161((byte) 33, 100L); - } - frame.setVisible(bool); - frame.dispose(); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("jj.D(" + (frame != null ? "{...}" : "null") + ',' + (class297 != null ? "{...}" : "null") + ',' + bool + ')')); - } - } - - private Class56(int i, Class274 class274, Class274 class274_1_, int i_2_, int i_3_) { - this(i, class274, class274_1_, i_2_, i_3_, true, false); - } - - static final Class56[] method528(int i) { - anInt1014++; - int i_4_ = 108 / ((i - 34) / 55); - return (new Class56[]{aClass56_1018, aClass56_1023, aClass56_1024, aClass56_1026, aClass56_1027, aClass56_1028, aClass56_1029, aClass56_1030, aClass56_1031, aClass56_1032, aClass56_1033, aClass56_1034, aClass56_1035, aClass56_1036, aClass56_1037, aClass56_1038, aClass56_1039, aClass56_1040, aClass56_1041, aClass56_1042, aClass56_1043}); - } - - private Class56(int i, Class274 class274, Class274 class274_5_, int i_6_, int i_7_, boolean bool, boolean bool_8_) { - try { - this.aClass274_1012 = class274; - this.anInt1021 = i_7_; - anInt1017 = i; - this.anInt1025 = i_6_; - this.aClass274_1015 = class274_5_; - this.aBoolean1016 = bool_8_; - this.aBoolean1013 = bool; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("jj.(" + i + ',' + (class274 != null ? "{...}" : "null") + ',' + (class274_5_ != null ? "{...}" : "null") + ',' + i_6_ + ',' + i_7_ + ',' + bool + ',' + bool_8_ + ')')); - } - } -} diff --git a/client/src/Class57.java b/client/src/Class57.java deleted file mode 100644 index 8cbc1a90a..000000000 --- a/client/src/Class57.java +++ /dev/null @@ -1,48 +0,0 @@ -/* Class57 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class57 { - int anInt1046; - int anInt1047; - static Class17[] aClass17Array1048 = new Class17[14]; - static int anInt1049; - static Class163 aClass163_1050; - static Class251 aClass251_1051 = new Class251(); - int anInt1052; - static int anInt1053; - int anInt1054; - static Class227 aClass227_1055; - - static final void method529(int i, boolean bool) { - anInt1053++; - if (bool != true) method530(-105); - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i, (byte) 105, 2); - class348_sub42_sub15.method3251(-16058); - } - - public static void method530(int i) { - aClass17Array1048 = null; - aClass227_1055 = null; - aClass163_1050 = null; - aClass251_1051 = null; - if (i != 14) aClass251_1051 = null; - } - - static final int method531(byte i, Class70 class70) { - int i_0_ = -45 / ((i - 54) / 43); - anInt1049++; - if (Class342.aClass70_4247 != class70) { - if (class70 != Class285_Sub2.aClass70_8503) { - if (Class318_Sub1_Sub2.aClass70_8737 != class70) { - if (Class348_Sub40_Sub39.aClass70_9485 == class70) return 34166; - } else return 34168; - } else return 34167; - } else return 5890; - throw new IllegalArgumentException(); - } - - public Class57() { - /* empty */ - } -} diff --git a/client/src/Class58.java b/client/src/Class58.java deleted file mode 100644 index c311e0d7a..000000000 --- a/client/src/Class58.java +++ /dev/null @@ -1,95 +0,0 @@ -/* Class58 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class58 { - static int anInt1056; - private long aLong1057; - private int anInt1058; - static int anInt1059; - static int anInt1060; - static int anInt1061; - static int anInt1062; - static int anInt1063; - static int anInt1064 = -2; - static int anInt1065; - static int anInt1066; - static int anInt1067; - - static final int method532(int i, int i_0_, boolean bool, int i_1_) { - anInt1061++; - Class348_Sub13 class348_sub13 = Class258_Sub4.method1974((byte) -120, i_0_, bool); - if (class348_sub13 == null) return 0; - if (i == -1) return 0; - int i_2_ = 0; - for (int i_3_ = 0; (i_3_ < class348_sub13.anIntArray6758.length); i_3_++) { - if (class348_sub13.anIntArray6757[i_3_] == i) i_2_ += class348_sub13.anIntArray6758[i_3_]; - } - int i_4_ = 73 % ((i_1_ - -52) / 63); - return i_2_; - } - - private final void method533(Class325 class325, int i) { - aLong1057 |= class325.anInt4070 << anInt1058++ * Class325.anInt4081; - anInt1063++; - int i_5_ = 0 % ((28 - i) / 59); - } - - private final int method534(byte i, int i_6_) { - anInt1065++; - if (i != 0) return -115; - return (int) (aLong1057 >> Class325.anInt4081 * i_6_) & 0xf; - } - - static final void method535(int i, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_, byte i_12_) { - anInt1062++; - int i_13_ = Class85.method831(Class38.anInt513, i_11_, Class132.anInt1910, 111); - int i_14_ = Class85.method831(Class38.anInt513, i_7_, Class132.anInt1910, -104); - if (i_12_ >= -62) method535(80, -63, -10, 41, -65, 39, (byte) -89); - int i_15_ = Class85.method831(Class113.anInt1745, i, Class369.anInt4960, -79); - int i_16_ = Class85.method831(Class113.anInt1745, i_9_, Class369.anInt4960, 92); - int i_17_ = Class85.method831(Class38.anInt513, i_11_ + i_8_, Class132.anInt1910, 32); - int i_18_ = Class85.method831(Class38.anInt513, -i_8_ + i_7_, Class132.anInt1910, 41); - for (int i_19_ = i_13_; i_17_ > i_19_; i_19_++) - Class135_Sub2.method1156(-27, i_16_, Class17.anIntArrayArray255[i_19_], i_15_, i_10_); - for (int i_20_ = i_14_; i_18_ < i_20_; i_20_--) - Class135_Sub2.method1156(-27, i_16_, Class17.anIntArrayArray255[i_20_], i_15_, i_10_); - int i_21_ = Class85.method831(Class113.anInt1745, i_8_ + i, Class369.anInt4960, 121); - int i_22_ = Class85.method831(Class113.anInt1745, -i_8_ + i_9_, Class369.anInt4960, -101); - for (int i_23_ = i_17_; i_23_ <= i_18_; i_23_++) { - int[] is = Class17.anIntArrayArray255[i_23_]; - Class135_Sub2.method1156(-27, i_21_, is, i_15_, i_10_); - Class135_Sub2.method1156(-27, i_16_, is, i_22_, i_10_); - } - } - - Class58(Class325 class325) { - aLong1057 = class325.anInt4070; - anInt1058 = 1; - } - - Class58(Class325[] class325s) { - for (int i = 0; i < class325s.length; i++) - method533(class325s[i], 92); - } - - static final boolean method536(int i, boolean bool, int i_24_, int i_25_, int i_26_) { - if (bool != false) method536(-65, true, 105, -126, 39); - anInt1066++; - if ((Class348_Sub33.aByteArrayArrayArray6962[0][i_24_][i] & 0x2) != 0) return true; - if ((0x10 & Class348_Sub33.aByteArrayArrayArray6962[i_26_][i_24_][i]) != 0) return false; - return i_25_ == Class239_Sub10.method1762(-55, i_26_, i, i_24_); - } - - final Class325 method537(int i, int i_27_) { - anInt1060++; - int i_28_ = 4 % ((-35 - i_27_) / 53); - return Class325.method2598(method534((byte) 0, i), -109); - } - - final int method538(byte i) { - anInt1056++; - if (i >= -114) method538((byte) 105); - return anInt1058; - } -} diff --git a/client/src/Class59.java b/client/src/Class59.java deleted file mode 100644 index e707e8671..000000000 --- a/client/src/Class59.java +++ /dev/null @@ -1,294 +0,0 @@ -/* Class59 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.File; -import java.util.Random; - -abstract class Class59 { - static Class114 aClass114_1068 = new Class114(35, 0); - private short[] aShortArray1069; - static int anInt1070; - int anInt1071; - static int anInt1072; - static int anInt1073; - private int anInt1074 = 4; - static int anInt1075; - static int anInt1076; - static int anInt1077; - private int anInt1078; - private int anInt1079; - static int anInt1080; - private int anInt1081; - private final short[] aShortArray1082; - static double aDouble1083; - - private final void method539(int i) { - anInt1070++; - Random random = new Random(anInt1081); - for (int i_0_ = 0; i_0_ < 255; i_0_++) - aShortArray1082[i_0_] = (short) i_0_; - for (int i_1_ = 0; i_1_ < 255; i_1_++) { - int i_2_ = -i_1_ + 255; - int i_3_ = Class124.method1097((byte) 106, i_2_, random); - short i_4_ = aShortArray1082[i_3_]; - aShortArray1082[i_3_] = aShortArray1082[i_2_]; - aShortArray1082[i_2_] = aShortArray1082[256 + i_2_] = i_4_; - } - if (i <= 6) this.anInt1071 = -11; - } - - private final void method540(int i) { - aShortArray1069 = new short[this.anInt1071]; - anInt1072++; - for (int i_5_ = i; this.anInt1071 > i_5_; i_5_++) - aShortArray1069[i_5_] = (short) (int) Math.pow(2.0, i_5_); - } - - abstract void method541(int i); - - final void method542(int i, int i_6_, int i_7_, int i_8_) { - anInt1073++; - int[] is = new int[i_6_]; - int[] is_9_ = new int[i]; - for (int i_10_ = 0; i_10_ < i_6_; i_10_++) - is[i_10_] = (i_10_ << 12) / i_6_; - int[] is_11_ = new int[i_8_]; - for (int i_12_ = 0; i > i_12_; i_12_++) - is_9_[i_12_] = (i_12_ << 12) / i; - for (int i_13_ = i_7_; i_13_ < i_8_; i_13_++) - is_11_[i_13_] = (i_13_ << 12) / i_8_; - method543(true); - for (int i_14_ = 0; i_8_ > i_14_; i_14_++) { - for (int i_15_ = 0; i > i_15_; i_15_++) { - for (int i_16_ = 0; i_6_ > i_16_; i_16_++) { - for (int i_17_ = 0; (this.anInt1071 > i_17_); i_17_++) { - int i_18_ = aShortArray1069[i_17_] << 12; - int i_19_ = i_18_ * is_11_[i_14_] >> 12; - int i_20_ = anInt1074 * i_18_ >> 12; - int i_21_ = anInt1078 * i_18_ >> 12; - int i_22_ = is[i_16_] * i_18_ >> 12; - int i_23_ = i_18_ * anInt1079 >> 12; - int i_24_ = i_18_ * is_9_[i_15_] >> 12; - i_22_ *= anInt1079; - i_24_ *= anInt1078; - i_19_ *= anInt1074; - int i_25_ = i_22_ >> 12; - int i_26_ = i_25_ + 1; - i_25_ &= 0xff; - int i_27_ = i_24_ >> 12; - int i_28_ = 1 + i_27_; - i_27_ &= 0xff; - int i_29_ = i_19_ >> 12; - int i_30_ = i_29_ + 1; - i_22_ &= 0xfff; - i_24_ &= 0xfff; - if (i_28_ >= i_21_) i_28_ = 0; - else i_28_ &= 0xff; - if (i_26_ >= i_23_) i_26_ = 0; - else i_26_ &= 0xff; - i_29_ &= 0xff; - if (i_20_ > i_30_) i_30_ &= 0xff; - else i_30_ = 0; - i_19_ &= 0xfff; - int i_31_ = -4096 + i_24_; - int i_32_ = aShortArray1082[i_30_]; - int i_33_ = i_22_ + -4096; - int i_34_ = Class199.anIntArray2631[i_19_]; - int i_35_ = Class199.anIntArray2631[i_22_]; - int i_36_ = Class199.anIntArray2631[i_24_]; - int i_37_ = i_19_ + -4096; - int i_38_ = aShortArray1082[i_29_]; - int i_39_ = aShortArray1082[i_38_ + i_28_]; - int i_40_ = aShortArray1082[i_32_ + i_27_]; - int i_41_ = aShortArray1082[i_28_ - -i_32_]; - int i_42_ = aShortArray1082[i_38_ + i_27_]; - int i_43_ = Class301.method2279(true, (aShortArray1082[i_25_ - -i_42_]), i_19_, i_24_, i_22_); - int i_44_ = Class301.method2279(true, (aShortArray1082[i_26_ + i_42_]), i_19_, i_24_, i_33_); - int i_45_ = i_43_ - -((i_44_ - i_43_) * i_35_ >> 12); - i_43_ = Class301.method2279(true, (aShortArray1082[i_39_ + i_25_]), i_19_, i_31_, i_22_); - i_44_ = Class301.method2279(true, (aShortArray1082[i_26_ + i_39_]), i_19_, i_31_, i_33_); - int i_46_ = i_43_ + ((i_44_ + -i_43_) * i_35_ >> 12); - i_43_ = Class301.method2279(true, (aShortArray1082[i_40_ + i_25_]), i_37_, i_24_, i_22_); - int i_47_ = ((i_46_ + -i_45_) * i_36_ >> 12) + i_45_; - i_44_ = Class301.method2279(true, (aShortArray1082[i_40_ + i_26_]), i_37_, i_24_, i_33_); - i_45_ = i_43_ + (i_35_ * (i_44_ - i_43_) >> 12); - i_43_ = Class301.method2279(true, (aShortArray1082[i_25_ - -i_41_]), i_37_, i_31_, i_22_); - i_44_ = Class301.method2279(true, (aShortArray1082[i_26_ - -i_41_]), i_37_, i_31_, i_33_); - i_46_ = (((-i_43_ + i_44_) * i_35_ >> 12) + i_43_); - int i_48_ = ((i_46_ - i_45_) * i_36_ >> 12) + i_45_; - method546(i_47_ + ((-i_47_ + i_48_) * i_34_ >> 12), i_17_, i_7_ ^ ~0x1); - } - method541(-1538606516); - } - } - } - } - - abstract void method543(boolean bool); - - static final void method544(String string, boolean bool, int i) { - anInt1075++; - Class286_Sub2.method2144("", i, (byte) -96, 0, string, "", ""); - if (bool != false) method547(null, -103); - } - - static final void method545(int i, int i_49_) { - Class351.aClass60_4327.method578(2, i); - anInt1077++; - Class358.aClass60_4417.method578(2, i); - if (i_49_ != -1) aClass114_1068 = null; - Class239_Sub24.aClass60_6096.method578(2, i); - Class348_Sub40_Sub9.aClass60_9171.method578(i_49_ ^ ~0x2, i); - } - - abstract void method546(int i, int i_50_, int i_51_); - - static final int method547(String string, int i) { - anInt1076++; - if (!Class59_Sub1.aClass297_5297.aBoolean3777) return -1; - if (Class275.aHashtable3548.containsKey(string)) return 100; - String string_52_ = Class334.method2651(string, 3); - if (string_52_ == null) return -1; - String string_53_ = Class348_Sub41.aString7048 + string_52_; - if (i != 7468) method549((byte) 28, null, null, null); - if (!Class167.aClass45_2208.method422("", string_53_, -88)) return -1; - if (!Class167.aClass45_2208.method413(i ^ 0x1d48, string_53_)) return Class167.aClass45_2208.method397(string_53_, 0); - byte[] is = Class167.aClass45_2208.method391(string_53_, "", -29832); - Object object = null; - File file; - try { - file = Class201.method1466(i + -7470, string_52_); - } catch (RuntimeException runtimeexception) { - if (Loader.trace) { - runtimeexception.printStackTrace(); - } - return -1; - } - if (is != null && file != null) { - boolean bool = true; - byte[] is_54_ = Class239_Sub24.method1821(i ^ 0x1d5b, file); - if (is_54_ == null || is_54_.length != is.length) bool = false; - else { - for (int i_55_ = 0; i_55_ < is_54_.length; i_55_++) { - if (is_54_[i_55_] != is[i_55_]) { - bool = false; - break; - } - } - } - try { - if (!bool) Class59_Sub1.aClass297_5297.method2242(is, (byte) -104, file); - } catch (Throwable throwable) { - if (Loader.trace) { - throwable.printStackTrace(); - } - return -1; - } - Class166.method1286(file, 64, string); - return 100; - } - return -1; - } - - public static void method548(int i) { - aClass114_1068 = null; - if (i != 10) aClass114_1068 = null; - } - - static final void method549(byte i, Class348_Sub21 class348_sub21, ha var_ha, Class42 class42) { - try { - anInt1080++; - Class105 class105 = class42.method375(var_ha, false); - if (class105 != null) { - int i_56_ = class105.method971(); - if (i_56_ < class105.method969()) i_56_ = class105.method969(); - int i_57_ = 10; - int i_58_ = class348_sub21.anInt6853; - int i_59_ = class348_sub21.anInt6855; - int i_60_ = 0; - int i_61_ = 0; - int i_62_ = 0; - if (class42.aString597 != null) { - i_60_ = (Class258_Sub1.aClass143_8527.method1188(class42.aString597, null, ha_Sub3.aStringArray8019, (byte) 87, null)); - for (int i_63_ = 0; i_60_ > i_63_; i_63_++) { - String string = ha_Sub3.aStringArray8019[i_63_]; - if (i_60_ + -1 > i_63_) string = string.substring(0, string.length() - 4); - int i_64_ = Class39.aClass323_521.method2564(string); - if (i_61_ < i_64_) i_61_ = i_64_; - } - i_62_ = (i_60_ * Class39.aClass323_521.method2565() - -(Class39.aClass323_521.method2560() / 2)); - } - int i_65_ = i_56_ / 2 + class348_sub21.anInt6853; - int i_66_ = class348_sub21.anInt6855; - if (Class75.anInt1272 - -i_56_ <= i_58_) { - if (i_58_ > -i_56_ + Class75.anInt1276) { - i_58_ = -i_56_ + Class75.anInt1276; - i_65_ = (-(i_56_ / 2) + Class75.anInt1276 + (-i_57_ + -(i_61_ / 2) - 5)); - } - } else { - i_58_ = Class75.anInt1272; - i_65_ = i_61_ / 2 + i_57_ + i_56_ / 2 + (Class75.anInt1272 + 5); - } - if (i_59_ < i_56_ + Class75.anInt1262) { - i_59_ = Class75.anInt1262; - i_66_ = i_56_ / 2 + i_57_ + Class75.anInt1262; - } else if (i_59_ > Class75.anInt1268 + -i_56_) { - i_59_ = -i_56_ + Class75.anInt1268; - i_66_ = -(i_56_ / 2) + Class75.anInt1268 - (i_57_ - -i_62_); - } - int i_67_ = (int) (32767.0 * (Math.atan2(i_58_ - (class348_sub21.anInt6853), -(class348_sub21.anInt6855) + i_59_) / 3.141592653589793)) & 0xffff; - class105.method981((float) i_56_ / 2.0F + (float) i_58_, (float) i_56_ / 2.0F + (float) i_59_, 4096, i_67_); - int i_68_ = -2; - int i_69_ = -2; - int i_70_ = -2; - if (i != -43) method545(-91, -16); - int i_71_ = -2; - if (class42.aString597 != null) { - i_69_ = i_66_; - i_68_ = i_65_ + -(i_61_ / 2) - 5; - i_71_ = 3 + (i_60_ * Class39.aClass323_521.method2565() + i_69_); - i_70_ = i_61_ + (i_68_ + 10); - if (class42.anInt602 != 0) var_ha.method3675(-i_68_ + i_70_, (byte) -125, i_68_, i_69_, i_71_ - i_69_, class42.anInt602); - if (class42.anInt604 != 0) var_ha.method3668(-i_68_ + i_70_, i_69_, class42.anInt604, i_68_, -i_69_ + i_71_, 67); - for (int i_72_ = 0; i_60_ > i_72_; i_72_++) { - String string = ha_Sub3.aStringArray8019[i_72_]; - if (i_72_ < i_60_ + -1) string = string.substring(0, -4 + string.length()); - Class39.aClass323_521.method2563(var_ha, string, i_65_, i_66_, (class42.anInt580), true); - i_66_ += Class39.aClass323_521.method2565(); - } - } - if (class42.anInt578 != -1 || class42.aString597 != null) { - i_56_ >>= 1; - Class348_Sub12 class348_sub12 = new Class348_Sub12(class348_sub21); - class348_sub12.anInt6737 = i_70_; - class348_sub12.anInt6746 = -i_56_ + i_59_; - class348_sub12.anInt6735 = i_59_ - -i_56_; - class348_sub12.anInt6750 = i_58_ - -i_56_; - class348_sub12.anInt6738 = i_71_; - class348_sub12.anInt6753 = i_69_; - class348_sub12.anInt6747 = i_58_ - i_56_; - class348_sub12.anInt6745 = i_68_; - Class289.aClass262_3705.method1999(class348_sub12, -20180); - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("jp.I(" + i + ',' + (class348_sub21 != null ? "{...}" : "null") + ',' + (var_ha != null ? "{...}" : "null") + ',' + (class42 != null ? "{...}" : "null") + ')')); - } - } - - Class59(int i, int i_73_, int i_74_, int i_75_, int i_76_) { - this.anInt1071 = 4; - anInt1081 = 0; - aShortArray1082 = new short[512]; - anInt1078 = 4; - anInt1079 = 4; - this.anInt1071 = i_73_; - anInt1078 = i_75_; - anInt1079 = i_74_; - anInt1081 = i; - anInt1074 = i_76_; - method540(0); - method539(85); - } -} diff --git a/client/src/Class59_Sub1.java b/client/src/Class59_Sub1.java deleted file mode 100644 index c9e8e7d8b..000000000 --- a/client/src/Class59_Sub1.java +++ /dev/null @@ -1,180 +0,0 @@ -/* Class59_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -class Class59_Sub1 extends Class59 { - static int anInt5277; - private final int anInt5278; - private final int anInt5279; - private int anInt5280; - static int anInt5281; - static int anInt5282; - static int anInt5283; - static int anInt5284; - private int anInt5285; - static int anInt5286; - private int anInt5287; - static Class351 aClass351_5288 = new Class351(7, 6); - private int anInt5289; - private int anInt5290; - static int anInt5291; - static int anInt5292; - static int anInt5293; - static Class105[] aClass105Array5294; - static int anInt5295; - private byte[] aByteArray5296; - static Class297 aClass297_5297; - private final int anInt5298; - static float aFloat5299; - static boolean aBoolean5300 = false; - - void method550(int i, byte i_0_, byte i_1_) { - if (i_1_ != 14) method555(true, -38); - anInt5281++; - aByteArray5296[i] = i_0_; - } - - final void method543(boolean bool) { - anInt5287 = 0; - if (bool != true) method555(false, -53); - anInt5290 = 0; - anInt5291++; - } - - static final void method551(int i, int i_2_, int i_3_, float[] fs, int i_4_, int i_5_, int i_6_) { - anInt5277++; - if (i_4_ < i && !Class192.method1436(i_4_ + -23, i)) throw new IllegalArgumentException(""); - if (i_5_ > 0 && !Class192.method1436(56, i_5_)) throw new IllegalArgumentException(""); - int i_7_ = Class183.method1382(i_2_, -6409); - int i_8_ = 0; - int i_9_ = Math.min(i_5_, i); - int i_10_ = i >> 1; - int i_11_ = i_5_ >> 1; - float[] fs_12_ = fs; - float[] fs_13_ = new float[i_7_ * i_10_ * i_11_]; - for (; ; ) { - OpenGL.glTexImage2Df(i_3_, i_8_, i_6_, i, i_5_, 0, i_2_, 5126, fs_12_, 0); - if (i_9_ <= 1) break; - int i_14_ = i * i_7_; - float[] fs_15_ = fs_13_; - for (int i_16_ = 0; i_16_ < i_7_; i_16_++) { - int i_17_ = i_16_; - int i_18_ = i_16_; - int i_19_ = i_14_ + i_18_; - for (int i_20_ = 0; i_11_ > i_20_; i_20_++) { - for (int i_21_ = 0; i_10_ > i_21_; i_21_++) { - float f = fs_12_[i_18_]; - i_18_ += i_7_; - f += fs_12_[i_18_]; - i_18_ += i_7_; - f += fs_12_[i_19_]; - i_19_ += i_7_; - f += fs_12_[i_19_]; - i_19_ += i_7_; - fs_13_[i_17_] = f * 0.25F; - i_17_ += i_7_; - } - i_18_ += i_14_; - i_19_ += i_14_; - } - } - fs_13_ = fs_12_; - fs_12_ = fs_15_; - i = i_10_; - i_5_ = i_11_; - i_8_++; - i_9_ >>= 1; - i_10_ >>= 1; - i_11_ >>= 1; - } - } - - Class59_Sub1(int i, int i_22_, int i_23_, int i_24_, int i_25_, float f, float f_26_, float f_27_) { - super(i, i_22_, i_23_, i_24_, i_25_); - anInt5298 = (int) (4096.0F * f_27_); - anInt5278 = (int) (f_26_ * 4096.0F); - anInt5285 = anInt5279 = (int) (Math.pow(0.5, -f) * 4096.0); - } - - static final boolean method552(int i, int i_28_, byte i_29_, int i_30_, int i_31_, int i_32_, byte[] is) { - anInt5282++; - int i_33_ = i_31_ % i_30_; - int i_34_ = 39 / ((31 - i_29_) / 63); - int i_35_; - if (i_33_ != 0) i_35_ = i_30_ - i_33_; - else i_35_ = 0; - int i_36_ = -((i_28_ - -i_30_ + -1) / i_30_); - int i_37_ = -((i_30_ + i_31_ - 1) / i_30_); - for (int i_38_ = i_36_; i_38_ < 0; i_38_++) { - for (int i_39_ = i_37_; i_39_ < 0; i_39_++) { - if (is[i_32_] == 0) return true; - i_32_ += i_30_; - } - i_32_ -= i_35_; - if (is[i_32_ + -1] == 0) return true; - i_32_ += i; - } - return false; - } - - final void method546(int i, int i_40_, int i_41_) { - if (i_41_ == -2) { - if (i_40_ == 0) { - anInt5280 = -(i >= 0 ? i : -i) + anInt5278; - anInt5289 = 4096; - anInt5280 = anInt5280 * anInt5280 >> 12; - anInt5290 = anInt5280; - } else { - anInt5289 = anInt5280 * anInt5298 >> 12; - if (anInt5289 < 0) anInt5289 = 0; - else if (anInt5289 > 4096) anInt5289 = 4096; - anInt5280 = anInt5278 + -(i < 0 ? -i : i); - anInt5280 = anInt5280 * anInt5280 >> 12; - anInt5280 = anInt5289 * anInt5280 >> 12; - anInt5290 += anInt5280 * anInt5285 >> 12; - anInt5285 = anInt5285 * anInt5279 >> 12; - } - anInt5292++; - } - } - - public static void method553(int i) { - aClass105Array5294 = null; - aClass351_5288 = null; - if (i != 0) aClass297_5297 = null; - aClass297_5297 = null; - } - - static final int method554(int i, int i_42_, byte[] is) { - if (i != 5126) method553(52); - anInt5284++; - return Class171.method1319(i_42_, true, is, 0); - } - - static final void method555(boolean bool, int i) { - anInt5286++; - if (i != Class363.aString4461.length()) { - Class82.method812(Class363.aString4461, false, bool, (byte) -79); - if (!bool) { - Applet_Sub1.method94("--> " + Class363.aString4461, 110); - Class348_Sub38.anInt7006 = 0; - Class363.aString4461 = ""; - Class260.anInt3312 = 0; - } - } - } - - final void method541(int i) { - anInt5285 = anInt5279; - anInt5290 >>= 4; - anInt5295++; - if (anInt5290 >= 0) { - if (anInt5290 > 255) anInt5290 = 255; - } else anInt5290 = 0; - if (i != -1538606516) anInt5289 = 17; - method550(anInt5287++, (byte) anInt5290, (byte) 14); - anInt5290 = 0; - } -} diff --git a/client/src/Class59_Sub1_Sub1.java b/client/src/Class59_Sub1_Sub1.java deleted file mode 100644 index 89d9bbc60..000000000 --- a/client/src/Class59_Sub1_Sub1.java +++ /dev/null @@ -1,347 +0,0 @@ -/* Class59_Sub1_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class59_Sub1_Sub1 extends Class59_Sub1 { - static int anInt8652; - static int anInt8653; - static int anInt8654; - static int anInt8655; - static int anInt8656; - private byte[] aByteArray8657; - static int anInt8658; - - public Class59_Sub1_Sub1() { - super(8, 5, 8, 8, 2, 0.1F, 0.55F, 3.0F); - } - - static final void method556(boolean bool) { - anInt8656++; - if (Class51.aClass311_897 != null) Class51.aClass311_897.method2319((byte) -75); - if (bool == false) { - if (Class348_Sub32.aThread6946 != null) { - for (; ; ) { - try { - Class348_Sub32.aThread6946.join(); - break; - } catch (InterruptedException interruptedexception) { - /* empty */ - } - } - } - } - } - - static final Class348_Sub40 method557(int i, byte i_0_) { - int i_1_ = 22 / ((i_0_ - 37) / 63); - anInt8653++; - int i_2_ = i; - while_42_: - do { - while_41_: - do { - while_40_: - do { - while_39_: - do { - while_38_: - do { - while_37_: - do { - while_36_: - do { - while_35_: - do { - while_34_: - do { - while_33_: - do { - while_32_: - do { - while_31_: - do { - while_30_: - do { - while_29_: - do { - while_28_: - do { - while_27_: - do { - while_26_: - do { - while_25_: - do { - while_24_: - do { - while_23_: - do { - while_22_: - do { - while_21_: - do { - while_20_: - do { - while_19_: - do { - while_18_: - do { - while_17_: - do { - while_16_: - do { - while_15_: - do { - while_14_: - do { - while_13_: - do { - while_12_: - do { - while_11_: - do { - while_10_: - do { - while_9_: - do { - while_8_: - do { - while_7_: - do { - while_6_: - do { - while_5_: - do { - do { - if (i_2_ != 0) { - if (i_2_ != 1) { - if (i_2_ != 2) { - if (i_2_ != 3) { - if (i_2_ != 4) { - if (i_2_ != 5) { - if (i_2_ != 6) { - if (i_2_ != 7) { - if (i_2_ != 8) { - if (i_2_ != 9) { - if (i_2_ != 10) { - if (i_2_ != 11) { - if (i_2_ != 12) { - if (i_2_ != 13) { - if (i_2_ != 14) { - if (i_2_ != 15) { - if (i_2_ != 16) { - if (i_2_ != 17) { - if (i_2_ != 18) { - if (i_2_ != 19) { - if (i_2_ != 20) { - if (i_2_ != 21) { - if (i_2_ != 22) { - if (i_2_ != 23) { - if (i_2_ != 24) { - if (i_2_ != 25) { - if (i_2_ != 26) { - if (i_2_ != 27) { - if (i_2_ != 28) { - if (i_2_ != 29) { - if (i_2_ != 30) { - if (i_2_ != 31) { - if (i_2_ != 32) { - if (i_2_ != 33) { - if (i_2_ != 34) { - if (i_2_ != 35) { - if (i_2_ != 36) { - if (i_2_ != 37) { - if (i_2_ != 38) { - if (i_2_ != 39) - break while_42_; - } else - break while_40_; - break while_41_; - } - } else - break while_38_; - break while_39_; - } - } else - break while_36_; - break while_37_; - } - } else - break while_34_; - break while_35_; - } - } else - break while_32_; - break while_33_; - } - } else break while_30_; - break while_31_; - } - } else break while_28_; - break while_29_; - } - } else break while_26_; - break while_27_; - } - } else break while_24_; - break while_25_; - } - } else break while_22_; - break while_23_; - } - } else break while_20_; - break while_21_; - } - } else break while_18_; - break while_19_; - } - } else break while_16_; - break while_17_; - } - } else break while_14_; - break while_15_; - } - } else break while_12_; - break while_13_; - } - } else break while_10_; - break while_11_; - } - } else break while_8_; - break while_9_; - } - } else break while_6_; - break while_7_; - } - } else break; - break while_5_; - } - } else return new Class348_Sub40_Sub15(); - return new Class348_Sub40_Sub18(); - } while (false); - return new Class348_Sub40_Sub19(); - } while (false); - return new Class348_Sub40_Sub4(); - } while (false); - return new Class348_Sub40_Sub22(); - } while (false); - return new Class348_Sub40_Sub37(); - } while (false); - return new Class348_Sub40_Sub38(); - } while (false); - return new Class348_Sub40_Sub16(); - } while (false); - return new Class348_Sub40_Sub14(); - } while (false); - return new Class348_Sub40_Sub7(); - } while (false); - return new Class348_Sub40_Sub12(); - } while (false); - return new Class348_Sub40_Sub26(); - } while (false); - return new Class348_Sub40_Sub36(); - } while (false); - return new Class348_Sub40_Sub20(); - } while (false); - return new Class348_Sub40_Sub11(); - } while (false); - return new Class348_Sub40_Sub5(); - } while (false); - return new Class348_Sub40_Sub2(); - } while (false); - return new Class348_Sub40_Sub30(); - } while (false); - return new Class348_Sub40_Sub17_Sub1(); - } while (false); - return new Class348_Sub40_Sub6(); - } while (false); - return new Class348_Sub40_Sub31(); - } while (false); - return new Class348_Sub40_Sub27(); - } while (false); - return new Class348_Sub40_Sub32(); - } while (false); - return new Class348_Sub40_Sub33(); - } while (false); - return new Class348_Sub40_Sub13(); - } while (false); - return (new Class348_Sub40_Sub1()); - } while (false); - return (new Class348_Sub40_Sub3()); - } while (false); - return (new Class348_Sub40_Sub24()); - } while (false); - return (new Class348_Sub40_Sub23()); - } while (false); - return (new Class348_Sub40_Sub39()); - } while (false); - return (new Class348_Sub40_Sub10()); - } while (false); - return new Class348_Sub40_Sub25(); - } while (false); - return new Class348_Sub40_Sub35(); - } while (false); - return new Class348_Sub40_Sub34(); - } while (false); - return new Class348_Sub40_Sub8(); - } while (false); - return new Class348_Sub40_Sub9(); - } while (false); - return new Class348_Sub40_Sub29(); - } while (false); - return new Class348_Sub40_Sub21(); - } while (false); - return new Class348_Sub40_Sub28(); - } while (false); - return new Class348_Sub40_Sub17(); - } while (false); - return null; - } - - final void method550(int i, byte i_3_, byte i_4_) { - if (i_4_ == 14) { - anInt8654++; - int i_5_ = i * 2; - aByteArray8657[i_5_++] = (byte) -1; - int i_6_ = i_3_ & 0xff; - aByteArray8657[i_5_] = (byte) (i_6_ * 3 >> 5); - } - } - - static final Class345 method558(int i) { - int i_7_ = -98 % ((i - -34) / 33); - anInt8658++; - try { - return new Class345_Sub1(); - } catch (Throwable throwable) { - return null; - } - } - - final byte[] method559(int i, int i_8_, byte i_9_, int i_10_) { - aByteArray8657 = new byte[2 * (i_8_ * i) * i_10_]; - if (i_9_ < 85) aByteArray8657 = null; - anInt8655++; - this.method542(i_8_, i, 0, i_10_); - return aByteArray8657; - } - - static final void method560(Class318_Sub4 class318_sub4, int i) { - try { - anInt8652++; - class318_sub4.aClass318_Sub1_6410 = null; - int i_11_ = (class318_sub4.aClass318_Sub3Array6414).length; - int i_12_ = 127 / ((i - 82) / 32); - for (int i_13_ = 0; i_13_ < i_11_; i_13_++) - class318_sub4.aClass318_Sub3Array6414[i_13_].aBoolean6401 = false; - synchronized (Class318.aClass243Array3974) { - if (Class318.aClass243Array3974.length > i_11_ && Class331.anIntArray4128[i_11_] < 200) { - Class318.aClass243Array3974[i_11_].method1869(-126, class318_sub4); - Class331.anIntArray4128[i_11_]++; - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("hha.E(" + (class318_sub4 != null ? "{...}" : "null") + ',' + i + ')')); - } - } -} diff --git a/client/src/Class59_Sub1_Sub2.java b/client/src/Class59_Sub1_Sub2.java deleted file mode 100644 index 8ae4af431..000000000 --- a/client/src/Class59_Sub1_Sub2.java +++ /dev/null @@ -1,53 +0,0 @@ -/* Class59_Sub1_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class59_Sub1_Sub2 extends Class59_Sub1 { - static int anInt8659; - private byte[] aByteArray8660; - static int anInt8661; - static Class74 aClass74_8662 = new Class74(6, 5); - static int[] anIntArray8663 = new int[120]; - static Class273 aClass273_8664; - static int anInt8665; - static int[] anIntArray8666; - - public Class59_Sub1_Sub2() { - super(8, 5, 8, 8, 2, 0.1F, 0.55F, 3.0F); - } - - public static void method561(int i) { - aClass74_8662 = null; - if (i != 120) method561(-85); - anIntArray8666 = null; - anIntArray8663 = null; - aClass273_8664 = null; - } - - final void method550(int i, byte i_0_, byte i_1_) { - anInt8659++; - int i_2_ = i * 2; - int i_3_ = i_0_ & 0xff; - aByteArray8660[i_2_++] = (byte) (i_3_ * 3 >> 5); - if (i_1_ == 14) aByteArray8660[i_2_] = (byte) (i_3_ * 3 >> 5); - } - - final byte[] method562(int i, int i_4_, byte i_5_, int i_6_) { - aByteArray8660 = new byte[2 * i_6_ * (i_4_ * i)]; - if (i_5_ <= 85) aClass273_8664 = null; - anInt8661++; - this.method542(i_4_, i, 0, i_6_); - return aByteArray8660; - } - - static { - int i = 0; - for (int i_7_ = 0; i_7_ < 120; i_7_++) { - int i_8_ = i_7_ - -1; - int i_9_ = (int) (300.0 * Math.pow(2.0, (double) i_8_ / 7.0) + (double) i_8_); - i += i_9_; - anIntArray8663[i_7_] = i / 4; - } - aClass273_8664 = new Class273("", 17); - } -} diff --git a/client/src/Class59_Sub2.java b/client/src/Class59_Sub2.java deleted file mode 100644 index 41f494b6a..000000000 --- a/client/src/Class59_Sub2.java +++ /dev/null @@ -1,56 +0,0 @@ -/* Class59_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -class Class59_Sub2 extends Class59 { - static int anInt5301; - private int anInt5302; - private final int[] anIntArray5303 = new int[this.anInt1071]; - static int anInt5304; - static String[] aStringArray5305 = {"en", "de", "fr", "pt", "nl"}; - static int[] anIntArray5306 = {36064, 36065, 36066, 36067, 36068, 36069, 36070, 36071, 36096}; - static int anInt5307; - private int anInt5308; - private byte[] aByteArray5309; - static int anInt5310; - - final void method546(int i, int i_0_, int i_1_) { - if (i_1_ != -2) method543(false); - anInt5302 += anIntArray5303[i_0_] * i >> 12; - anInt5304++; - } - - final void method543(boolean bool) { - anInt5307++; - anInt5302 = 0; - anInt5308 = 0; - if (bool != true) anInt5302 = -121; - } - - final void method541(int i) { - anInt5302 = Math.abs(anInt5302); - anInt5301++; - if (anInt5302 >= 4096) anInt5302 = 4095; - method563((byte) 92, anInt5308++, (byte) (anInt5302 >> 4)); - if (i != -1538606516) method546(-74, -93, 118); - anInt5302 = 0; - } - - Class59_Sub2(int i, int i_2_, int i_3_, int i_4_, int i_5_, float f) { - super(i, i_2_, i_3_, i_4_, i_5_); - for (int i_6_ = 0; i_6_ < this.anInt1071; i_6_++) - anIntArray5303[i_6_] = (short) (int) (Math.pow(f, i_6_) * 4096.0); - } - - void method563(byte i, int i_7_, byte i_8_) { - aByteArray5309[anInt5308++] = (byte) (Class139.method1166(127, i_8_ >> 1) + 127); - if (i < 79) method543(true); - anInt5310++; - } - - public static void method564(byte i) { - aStringArray5305 = null; - anIntArray5306 = null; - if (i >= -39) method564((byte) 50); - } -} diff --git a/client/src/Class59_Sub2_Sub1.java b/client/src/Class59_Sub2_Sub1.java deleted file mode 100644 index d4e9cf500..000000000 --- a/client/src/Class59_Sub2_Sub1.java +++ /dev/null @@ -1,146 +0,0 @@ -/* Class59_Sub2_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class59_Sub2_Sub1 extends Class59_Sub2 { - static Class45 aClass45_8667; - static int anInt8668; - static int anInt8669; - static Class45 aClass45_8670; - static int anInt8671; - static int anInt8672; - static int anInt8673; - private byte[] aByteArray8674; - - static final Class358 method565(int i, int i_0_, Class124 class124, int[] is) { - try { - anInt8673++; - int[] is_1_ = null; - if (i != 255) aClass45_8670 = null; - int[] is_2_ = null; - int[] is_3_ = null; - float[][] fs = null; - if (class124.aByteArray1820 != null) { - int i_4_ = class124.anInt1818; - int[] is_5_ = new int[i_4_]; - int[] is_6_ = new int[i_4_]; - int[] is_7_ = new int[i_4_]; - int[] is_8_ = new int[i_4_]; - int[] is_9_ = new int[i_4_]; - int[] is_10_ = new int[i_4_]; - for (int i_11_ = 0; i_11_ < i_4_; i_11_++) { - is_5_[i_11_] = 2147483647; - is_6_[i_11_] = -2147483647; - is_7_[i_11_] = 2147483647; - is_8_[i_11_] = -2147483647; - is_9_[i_11_] = 2147483647; - is_10_[i_11_] = -2147483647; - } - fs = new float[i_4_][]; - is_3_ = new int[i_4_]; - is_2_ = new int[i_4_]; - for (int i_12_ = 0; i_12_ < i_0_; i_12_++) { - int i_13_ = is[i_12_]; - if (class124.aByteArray1820[i_13_] != -1) { - int i_14_ = (class124.aByteArray1820[i_13_] & 0xff); - for (int i_15_ = 0; i_15_ < 3; i_15_++) { - short i_16_; - if (i_15_ != 0) { - if (i_15_ == 1) i_16_ = (class124.aShortArray1835[i_13_]); - else i_16_ = (class124.aShortArray1855[i_13_]); - } else i_16_ = (class124.aShortArray1863[i_13_]); - int i_17_ = class124.anIntArray1841[i_16_]; - int i_18_ = class124.anIntArray1847[i_16_]; - int i_19_ = class124.anIntArray1852[i_16_]; - if (i_17_ < is_5_[i_14_]) is_5_[i_14_] = i_17_; - if (is_6_[i_14_] < i_17_) is_6_[i_14_] = i_17_; - if (is_7_[i_14_] > i_18_) is_7_[i_14_] = i_18_; - if (i_18_ > is_8_[i_14_]) is_8_[i_14_] = i_18_; - if (i_19_ < is_9_[i_14_]) is_9_[i_14_] = i_19_; - if (i_19_ > is_10_[i_14_]) is_10_[i_14_] = i_19_; - } - } - } - is_1_ = new int[i_4_]; - for (int i_20_ = 0; i_4_ > i_20_; i_20_++) { - byte i_21_ = class124.aByteArray1823[i_20_]; - if (i_21_ > 0) { - is_1_[i_20_] = (is_6_[i_20_] + is_5_[i_20_]) / 2; - is_2_[i_20_] = (is_8_[i_20_] + is_7_[i_20_]) / 2; - is_3_[i_20_] = (is_9_[i_20_] + is_10_[i_20_]) / 2; - float f; - float f_22_; - float f_23_; - if (i_21_ == 1) { - int i_24_ = class124.anIntArray1859[i_20_]; - if (i_24_ == 0) { - f_22_ = 1.0F; - f_23_ = 1.0F; - } else if (i_24_ <= 0) { - f_22_ = 1.0F; - f_23_ = (float) -i_24_ / 1024.0F; - } else { - f_23_ = 1.0F; - f_22_ = (float) i_24_ / 1024.0F; - } - f = 64.0F / (float) (class124.anIntArray1816[i_20_]); - } else if (i_21_ == 2) { - f = 64.0F / (float) (class124.anIntArray1816[i_20_]); - f_22_ = 64.0F / (float) (class124.anIntArray1844[i_20_]); - f_23_ = 64.0F / (float) (class124.anIntArray1859[i_20_]); - } else { - f = (float) (class124.anIntArray1816[i_20_]) / 1024.0F; - f_22_ = (float) (class124.anIntArray1844[i_20_]) / 1024.0F; - f_23_ = (float) (class124.anIntArray1859[i_20_]) / 1024.0F; - } - fs[i_20_] = (Class175.method1347(class124.aShortArray1825[i_20_], class124.aShortArray1849[i_20_], f_22_, f_23_, 126, f, class124.aShortArray1829[i_20_], Class139.method1166(255, (class124.aByteArray1833[i_20_])))); - } - } - } - return new Class358(is_1_, is_2_, is_3_, fs); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("dha.B(" + i + ',' + i_0_ + ',' + (class124 != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ')')); - } - } - - static final void method566(boolean bool, boolean bool_25_, byte i) { - anInt8671++; - int i_26_ = -94 / ((-67 - i) / 59); - if (bool) { - Class348_Sub40_Sub26.anInt9346++; - Class239_Sub25.method1827(1415665776); - } - if (bool_25_) { - Class26.anInt383++; - Class348_Sub6.method2770(2); - } - } - - final void method563(byte i, int i_27_, byte i_28_) { - if (i > 79) { - anInt8669++; - i_28_ = (byte) (((i_28_ & 0xff) >> 1) + 127); - int i_29_ = 2 * i_27_; - aByteArray8674[i_29_++] = i_28_; - aByteArray8674[i_29_] = i_28_; - } - } - - public Class59_Sub2_Sub1() { - super(12, 5, 16, 2, 2, 0.45F); - } - - final byte[] method567(int i, byte i_30_, int i_31_, int i_32_) { - anInt8672++; - aByteArray8674 = new byte[2 * i_32_ * i * i_31_]; - this.method542(i, i_32_, 0, i_31_); - int i_33_ = -61 % ((70 - i_30_) / 37); - return aByteArray8674; - } - - public static void method568(boolean bool) { - aClass45_8670 = null; - aClass45_8667 = null; - if (bool != true) aClass45_8670 = null; - } -} diff --git a/client/src/Class59_Sub2_Sub2.java b/client/src/Class59_Sub2_Sub2.java deleted file mode 100644 index 59c8efd99..000000000 --- a/client/src/Class59_Sub2_Sub2.java +++ /dev/null @@ -1,187 +0,0 @@ -/* Class59_Sub2_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class59_Sub2_Sub2 extends Class59_Sub2 { - static int anInt8675; - static int anInt8676; - static int anInt8677; - static int anInt8678; - static Class356 aClass356_8679 = new Class356(16); - static int anInt8680; - private byte[] aByteArray8681; - static int anInt8682; - static Class114 aClass114_8683 = new Class114(100, -1); - static int[] anIntArray8684; - static int anInt8685; - - static final void method569(byte i, Class348_Sub49 class348_sub49) { - anInt8675++; - int i_0_ = class348_sub49.readSmart(-128); - Class373_Sub2.aClass283Array7446 = new Class283[i_0_]; - for (int i_1_ = 0; i_0_ > i_1_; i_1_++) { - Class373_Sub2.aClass283Array7446[i_1_] = new Class283(); - Class373_Sub2.aClass283Array7446[i_1_].anInt3657 = class348_sub49.readSmart(-124); - Class373_Sub2.aClass283Array7446[i_1_].aString3663 = class348_sub49.method3371(-13487); - } - Class318_Sub1_Sub2.anInt8731 = class348_sub49.readSmart(-127); - Class239_Sub29.anInt6151 = class348_sub49.readSmart(-119); - Class225.anInt2956 = class348_sub49.readSmart(-122); - OutputStream_Sub1.aClass110_Sub1Array97 = new Class110_Sub1[1 + (Class239_Sub29.anInt6151 + -Class318_Sub1_Sub2.anInt8731)]; - for (int i_2_ = 0; Class225.anInt2956 > i_2_; i_2_++) { - int i_3_ = class348_sub49.readSmart(-126); - Class110_Sub1 class110_sub1 = (OutputStream_Sub1.aClass110_Sub1Array97[i_3_] = new Class110_Sub1()); - class110_sub1.anInt1711 = class348_sub49.readUnsignedByte(255); - class110_sub1.anInt1708 = class348_sub49.readInt((byte) -126); - class110_sub1.anInt5786 = Class318_Sub1_Sub2.anInt8731 + i_3_; - class110_sub1.aString5787 = class348_sub49.method3371(-13487); - class110_sub1.aString5794 = class348_sub49.method3371(-13487); - } - Class5_Sub1.anInt8349 = class348_sub49.readInt((byte) -126); - Class195.aBoolean5013 = true; - if (i > -110) method569((byte) -34, null); - } - - public static void method570(int i) { - if (i < 51) method570(-85); - aClass114_8683 = null; - anIntArray8684 = null; - aClass356_8679 = null; - } - - public Class59_Sub2_Sub2() { - super(12, 5, 16, 2, 2, 0.45F); - } - - final byte[] method571(int i, byte i_4_, int i_5_, int i_6_) { - aByteArray8681 = new byte[i_5_ * (i_6_ * (i * 2))]; - int i_7_ = -82 % ((i_4_ - 70) / 37); - anInt8678++; - this.method542(i, i_6_, 0, i_5_); - return aByteArray8681; - } - - final void method563(byte i, int i_8_, byte i_9_) { - anInt8682++; - i_9_ = (byte) (127 + ((0xff & i_9_) >> 1)); - int i_10_ = 2 * i_8_; - aByteArray8681[i_10_++] = i_9_; - aByteArray8681[i_10_] = i_9_; - if (i <= 79) method574(-29, -37, 73, null, true, (byte) -64, 2, -112, 50, null, -65, null, -92, 30, -5); - } - - static final String method572(String string, int i) { - anInt8677++; - if (i != 23034) aClass356_8679 = null; - int i_11_ = string.length(); - int i_12_ = 0; - for (int i_13_ = 0; i_11_ > i_13_; i_13_++) { - char c = string.charAt(i_13_); - if (c == '<' || c == '>') i_12_ += 3; - } - StringBuffer stringbuffer = new StringBuffer(i_12_ + i_11_); - for (int i_14_ = 0; i_14_ < i_11_; i_14_++) { - char c = string.charAt(i_14_); - if (c != 60) { - if (c != 62) stringbuffer.append(c); - else stringbuffer.append(""); - } else stringbuffer.append(""); - } - return stringbuffer.toString(); - } - - static final void method573(Class348_Sub42 class348_sub42, Class348_Sub42 class348_sub42_15_, byte i) { - try { - if (class348_sub42.aClass348_Sub42_7060 != null) class348_sub42.method3162(true); - anInt8680++; - class348_sub42.aClass348_Sub42_7060 = class348_sub42_15_; - class348_sub42.aClass348_Sub42_7063 = class348_sub42_15_.aClass348_Sub42_7063; - if (i != 63) anInt8685 = 110; - class348_sub42.aClass348_Sub42_7060.aClass348_Sub42_7063 = class348_sub42; - class348_sub42.aClass348_Sub42_7063.aClass348_Sub42_7060 = class348_sub42; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wd.F(" + (class348_sub42 != null ? "{...}" : "null") + ',' + (class348_sub42_15_ != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - static final int method574(int i, int i_16_, int i_17_, int[] is, boolean bool, byte i_18_, int i_19_, int i_20_, int i_21_, int[] is_22_, int i_23_, Class361 class361, int i_24_, int i_25_, int i_26_) { - try { - for (int i_27_ = 0; i_27_ < 128; i_27_++) { - for (int i_28_ = 0; i_28_ < 128; i_28_++) { - r.anIntArrayArray9723[i_27_][i_28_] = 0; - Class223.anIntArrayArray2900[i_27_][i_28_] = 99999999; - } - } - anInt8676++; - boolean bool_29_; - if (i_16_ != 1) { - if (i_16_ == 2) bool_29_ = Class263.method2007(i_19_, -125, i_23_, class361, i, i_21_, i_24_, i_17_, i_25_, i_20_, i_26_); - else bool_29_ = Class189.method1420(i_24_, i_26_, -73, i_21_, i_17_, i, i_20_, i_25_, i_16_, class361, i_19_, i_23_); - } else bool_29_ = Class5_Sub1.method187(i, i_23_, i_21_, i_26_, i_25_, i_24_, class361, i_19_, i_17_, i_20_, 1109655552); - int i_30_ = i_20_ - 64; - int i_31_ = i_21_ + -64; - int i_32_ = Class348_Sub40_Sub30.anInt9388; - int i_33_ = Class115.anInt1753; - if (!bool_29_) { - if (!bool) return -1; - int i_34_ = 2147483647; - int i_35_ = 2147483647; - int i_36_ = 10; - for (int i_37_ = -i_36_ + i; i - -i_36_ >= i_37_; i_37_++) { - for (int i_38_ = i_23_ - i_36_; i_38_ <= i_23_ - -i_36_; i_38_++) { - int i_39_ = i_37_ - i_30_; - int i_40_ = -i_31_ + i_38_; - if (i_39_ >= 0 && i_40_ >= 0 && i_39_ < 128 && i_40_ < 128 && (Class223.anIntArrayArray2900[i_39_][i_40_] < 100)) { - int i_41_ = 0; - if (i <= i_37_) { - if (-1 + i_24_ + i < i_37_) i_41_ = i_37_ - -1 - (i + i_24_); - } else i_41_ = -i_37_ + i; - int i_42_ = 0; - if (i_38_ >= i_23_) { - if (i_17_ + (i_23_ - 1) < i_38_) i_42_ = -i_17_ - i_23_ - (-1 - i_38_); - } else i_42_ = -i_38_ + i_23_; - int i_43_ = i_41_ * i_41_ + i_42_ * i_42_; - if (i_43_ < i_34_ || i_34_ == i_43_ && ((Class223.anIntArrayArray2900[i_39_][i_40_]) < i_35_)) { - i_34_ = i_43_; - i_32_ = i_37_; - i_35_ = (Class223.anIntArrayArray2900[i_39_][i_40_]); - i_33_ = i_38_; - } - } - } - } - if (i_34_ == 2147483647) return -1; - } - if (i_20_ == i_32_ && i_33_ == i_21_) return 0; - int i_44_ = 0; - if (i_18_ != 120) aClass114_8683 = null; - Class367_Sub11.anIntArray7397[i_44_] = i_32_; - Class205.anIntArray2694[i_44_++] = i_33_; - int i_46_; - int i_45_ = (i_46_ = r.anIntArrayArray9723[i_32_ + -i_30_][-i_31_ + i_33_]); - while (i_32_ != i_20_ || i_33_ != i_21_) { - if (i_46_ != i_45_) { - Class367_Sub11.anIntArray7397[i_44_] = i_32_; - i_46_ = i_45_; - Class205.anIntArray2694[i_44_++] = i_33_; - } - if ((i_45_ & 0x2) == 0) { - if ((0x8 & i_45_) != 0) i_32_--; - } else i_32_++; - if ((0x1 & i_45_) == 0) { - if ((0x4 & i_45_) != 0) i_33_--; - } else i_33_++; - i_45_ = r.anIntArrayArray9723[-i_30_ + i_32_][i_33_ + -i_31_]; - } - int i_47_ = 0; - while (i_44_-- > 0) { - is_22_[i_47_] = Class367_Sub11.anIntArray7397[i_44_]; - is[i_47_++] = Class205.anIntArray2694[i_44_]; - if (is_22_.length <= i_47_) break; - } - return i_47_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wd.B(" + i + ',' + i_16_ + ',' + i_17_ + ',' + (is != null ? "{...}" : "null") + ',' + bool + ',' + i_18_ + ',' + i_19_ + ',' + i_20_ + ',' + i_21_ + ',' + (is_22_ != null ? "{...}" : "null") + ',' + i_23_ + ',' + (class361 != null ? "{...}" : "null") + ',' + i_24_ + ',' + i_25_ + ',' + i_26_ + ')')); - } - } -} diff --git a/client/src/Class5_Sub1.java b/client/src/Class5_Sub1.java deleted file mode 100644 index 15db1fc98..000000000 --- a/client/src/Class5_Sub1.java +++ /dev/null @@ -1,275 +0,0 @@ -/* Class5_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -class Class5_Sub1 extends Class5 { - static int anInt8334; - static boolean aBoolean8335 = false; - static int anInt8336; - static int anInt8337; - private Class105 aClass105_8338; - private Class105 aClass105_8339; - static int anInt8340; - static int anInt8341; - private Class105 aClass105_8342; - private Class105 aClass105_8343; - static Class221 aClass221_8344; - static int anInt8345; - static int anInt8346; - private Class105 aClass105_8347; - static int anInt8348; - static int anInt8349; - Class105 aClass105_8350; - static int anInt8351; - static int anInt8352 = 0; - - Class5_Sub1(Class45 class45, Class45 class45_0_, Class369_Sub3 class369_sub3) { - super(class45, class45_0_, class369_sub3); - } - - static final int[] method184(int i) { - anInt8346++; - if (i != 1084489728) method189((byte) 33); - return (new int[]{Class56.anInt1044, Class17.anInt235, Class291.anInt3736}); - } - - public final boolean method8(byte i) { - anInt8351++; - if (!super.method8((byte) -125)) return false; - Class369_Sub3 class369_sub3 = (Class369_Sub3) this.aClass369_4635; - if (!this.aClass45_4632.method421(false, class369_sub3.anInt8599)) return false; - if (!this.aClass45_4632.method421(false, class369_sub3.anInt8595)) return false; - if (!this.aClass45_4632.method421(false, class369_sub3.anInt8603)) return false; - if (!this.aClass45_4632.method421(false, class369_sub3.anInt8602)) return false; - int i_1_ = 47 / ((25 - i) / 52); - if (!this.aClass45_4632.method421(false, class369_sub3.anInt8600)) return false; - return this.aClass45_4632.method421(false, class369_sub3.anInt8597); - } - - static final int method185(int i, byte i_2_) { - if (i_2_ > 0) anInt8352 = 48; - anInt8340++; - return 0xff & i; - } - - void method186(int i, int i_3_, byte i_4_, int i_5_, int i_6_) { - this.aClass105_8350.method972(i_5_, i, i_6_, i_3_); - anInt8341++; - if (i_4_ <= 21) method8((byte) 68); - } - - static final boolean method187(int i, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_, Class361 class361, int i_12_, int i_13_, int i_14_, int i_15_) { - anInt8348++; - int i_16_ = i_14_; - int i_17_ = i_8_; - int i_18_ = 64; - int i_19_ = 64; - int i_20_ = i_14_ + -i_18_; - r.anIntArrayArray9723[i_18_][i_19_] = 99; - int i_21_ = -i_19_ + i_8_; - Class223.anIntArrayArray2900[i_18_][i_19_] = 0; - int i_22_ = 0; - int i_23_ = 0; - Class367_Sub11.anIntArray7397[i_22_] = i_16_; - Class205.anIntArray2694[i_22_++] = i_17_; - int[][] is = class361.anIntArrayArray4438; - while (i_22_ != i_23_) { - i_17_ = Class205.anIntArray2694[i_23_]; - i_16_ = Class367_Sub11.anIntArray7397[i_23_]; - int i_24_ = -class361.anInt4441 + i_17_; - i_18_ = -i_20_ + i_16_; - i_19_ = i_17_ - i_21_; - int i_25_ = i_16_ + -class361.anInt4453; - i_23_ = 0xfff & 1 + i_23_; - int i_26_ = i_12_; - while_3_: - do { - while_2_: - do { - while_1_: - do { - while_0_: - do { - do { - if (i_26_ == -4) { - if (i_16_ == i && (i_17_ == i_7_)) { - Class348_Sub40_Sub30.anInt9388 = i_16_; - Class115.anInt1753 = i_17_; - return true; - } - break while_3_; - } else if (i_26_ != -3) { - if (i_26_ != -2) { - if (i_26_ != -1) { - if (i_26_ == 0 || (i_26_ == 1) || (i_26_ == 2) || (i_26_ == 3) || i_26_ == 9) break while_1_; - break while_2_; - } - } else break; - break while_0_; - } - if (Class239_Sub28.method1842(i_11_, i_7_, -1, 1, i_16_, i_17_, i, 1, i_13_)) { - Class115.anInt1753 = i_17_; - Class348_Sub40_Sub30.anInt9388 = i_16_; - return true; - } - break while_3_; - } while (false); - if (class361.method3497(-28388, i, i_10_, 1, i_13_, i_16_, 1, i_17_, i_7_, i_11_)) { - Class115.anInt1753 = i_17_; - Class348_Sub40_Sub30.anInt9388 = i_16_; - return true; - } - break while_3_; - } while (false); - if (class361.method3503(i_16_, (byte) 110, i_7_, 1, i_13_, i_11_, i_10_, i_17_, i)) { - Class348_Sub40_Sub30.anInt9388 = i_16_; - Class115.anInt1753 = i_17_; - return true; - } - break while_3_; - } while (false); - if (class361.method3495(i, i_17_, 1, i_9_, i_16_, i_7_, i_12_, 91)) { - Class115.anInt1753 = i_17_; - Class348_Sub40_Sub30.anInt9388 = i_16_; - return true; - } - break while_3_; - } while (false); - if (class361.method3504(i_7_, i_17_, i, i_16_, i_12_, 1, i_9_, 1)) { - Class348_Sub40_Sub30.anInt9388 = i_16_; - Class115.anInt1753 = i_17_; - return true; - } - } while (false); - i_26_ = 1 + Class223.anIntArrayArray2900[i_18_][i_19_]; - if (i_18_ > 0 && (r.anIntArrayArray9723[i_18_ + -1][i_19_] == 0) && (is[-1 + i_25_][i_24_] & 0x42240000) == 0) { - Class367_Sub11.anIntArray7397[i_22_] = -1 + i_16_; - Class205.anIntArray2694[i_22_] = i_17_; - i_22_ = 0xfff & i_22_ - -1; - r.anIntArrayArray9723[i_18_ + -1][i_19_] = 2; - Class223.anIntArrayArray2900[-1 + i_18_][i_19_] = i_26_; - } - if (i_18_ < 127 && r.anIntArrayArray9723[1 + i_18_][i_19_] == 0 && (0x60240000 & is[1 + i_25_][i_24_]) == 0) { - Class367_Sub11.anIntArray7397[i_22_] = i_16_ + 1; - Class205.anIntArray2694[i_22_] = i_17_; - r.anIntArrayArray9723[1 + i_18_][i_19_] = 8; - i_22_ = 0xfff & i_22_ - -1; - Class223.anIntArrayArray2900[1 + i_18_][i_19_] = i_26_; - } - if (i_19_ > 0 && (r.anIntArrayArray9723[i_18_][i_19_ + -1] == 0) && (is[i_25_][i_24_ - 1] & 0x40a40000) == 0) { - Class367_Sub11.anIntArray7397[i_22_] = i_16_; - Class205.anIntArray2694[i_22_] = -1 + i_17_; - r.anIntArrayArray9723[i_18_][-1 + i_19_] = 1; - i_22_ = 0xfff & 1 + i_22_; - Class223.anIntArrayArray2900[i_18_][-1 + i_19_] = i_26_; - } - if (i_19_ < 127 && r.anIntArrayArray9723[i_18_][1 + i_19_] == 0 && (0x48240000 & is[i_25_][i_24_ - -1]) == 0) { - Class367_Sub11.anIntArray7397[i_22_] = i_16_; - Class205.anIntArray2694[i_22_] = i_17_ + 1; - r.anIntArrayArray9723[i_18_][i_19_ - -1] = 4; - i_22_ = 0xfff & i_22_ + 1; - Class223.anIntArrayArray2900[i_18_][i_19_ + 1] = i_26_; - } - if (i_18_ > 0 && i_19_ > 0 && r.anIntArrayArray9723[-1 + i_18_][i_19_ + -1] == 0 && (is[-1 + i_25_][i_24_ - 1] & 0x43a40000) == 0 && (is[-1 + i_25_][i_24_] & 0x42240000) == 0 && (0x40a40000 & is[i_25_][i_24_ - 1]) == 0) { - Class367_Sub11.anIntArray7397[i_22_] = -1 + i_16_; - Class205.anIntArray2694[i_22_] = i_17_ - 1; - i_22_ = 1 + i_22_ & 0xfff; - r.anIntArrayArray9723[i_18_ + -1][-1 + i_19_] = 3; - Class223.anIntArrayArray2900[i_18_ + -1][-1 + i_19_] = i_26_; - } - if (i_18_ < 127 && i_19_ > 0 && (r.anIntArrayArray9723[i_18_ + 1][i_19_ - 1] == 0) && (0x60e40000 & is[i_25_ - -1][i_24_ + -1]) == 0 && (is[1 + i_25_][i_24_] & 0x60240000) == 0 && (is[i_25_][-1 + i_24_] & 0x40a40000) == 0) { - Class367_Sub11.anIntArray7397[i_22_] = i_16_ + 1; - Class205.anIntArray2694[i_22_] = i_17_ - 1; - i_22_ = 0xfff & 1 + i_22_; - r.anIntArrayArray9723[1 + i_18_][-1 + i_19_] = 9; - Class223.anIntArrayArray2900[1 + i_18_][i_19_ + -1] = i_26_; - } - if (i_18_ > 0 && i_19_ < 127 && r.anIntArrayArray9723[-1 + i_18_][i_19_ - -1] == 0 && (is[i_25_ + -1][i_24_ - -1] & 0x4e240000) == 0 && (0x42240000 & is[i_25_ - 1][i_24_]) == 0 && (0x48240000 & is[i_25_][1 + i_24_]) == 0) { - Class367_Sub11.anIntArray7397[i_22_] = i_16_ - 1; - Class205.anIntArray2694[i_22_] = i_17_ + 1; - r.anIntArrayArray9723[i_18_ + -1][i_19_ - -1] = 6; - i_22_ = 1 + i_22_ & 0xfff; - Class223.anIntArrayArray2900[-1 + i_18_][1 + i_19_] = i_26_; - } - if (i_18_ < 127 && i_19_ < 127 && (r.anIntArrayArray9723[1 + i_18_][1 + i_19_] == 0) && (0x78240000 & is[i_25_ - -1][1 + i_24_]) == 0 && (0x60240000 & is[1 + i_25_][i_24_]) == 0 && (0x48240000 & is[i_25_][i_24_ - -1]) == 0) { - Class367_Sub11.anIntArray7397[i_22_] = i_16_ - -1; - Class205.anIntArray2694[i_22_] = 1 + i_17_; - r.anIntArrayArray9723[1 + i_18_][i_19_ + 1] = 12; - i_22_ = 0xfff & 1 + i_22_; - Class223.anIntArrayArray2900[1 + i_18_][1 + i_19_] = i_26_; - } - } - if (i_15_ != 1109655552) aBoolean8335 = false; - Class348_Sub40_Sub30.anInt9388 = i_16_; - Class115.anInt1753 = i_17_; - return false; - } - - final void method178(int i, boolean bool, byte i_27_, int i_28_) { - if (bool) { - int[] is = new int[4]; - Class348_Sub8.aHa6654.K(is); - Class348_Sub8.aHa6654.KA(i, i_28_, i - -this.aClass369_4635.anInt4971, (i_28_ + this.aClass369_4635.anInt4963)); - int i_29_ = aClass105_8342.method966(); - int i_30_ = aClass105_8342.method980(); - int i_31_ = aClass105_8339.method966(); - int i_32_ = aClass105_8339.method980(); - aClass105_8342.method974(i, i_28_ - -(((this.aClass369_4635.anInt4963) + -i_30_) / 2)); - aClass105_8339.method974((this.aClass369_4635.anInt4971 + (i + -i_31_)), i_28_ + (this.aClass369_4635.anInt4963 + -i_32_) / 2); - Class348_Sub8.aHa6654.KA(i, i_28_, (this.aClass369_4635.anInt4971 + i), i_28_ - -aClass105_8343.method980()); - aClass105_8343.method972(i + i_29_, i_28_, -i_29_ + (this.aClass369_4635.anInt4971) - i_31_, this.aClass369_4635.anInt4963); - int i_33_ = aClass105_8338.method980(); - Class348_Sub8.aHa6654.KA(i, (-i_33_ + i_28_ - -this.aClass369_4635.anInt4963), this.aClass369_4635.anInt4971 + i, (i_28_ + this.aClass369_4635.anInt4963)); - aClass105_8338.method972(i_29_ + i, (-i_33_ + i_28_ + this.aClass369_4635.anInt4963), (-i_29_ + this.aClass369_4635.anInt4971 + -i_31_), this.aClass369_4635.anInt4963); - Class348_Sub8.aHa6654.KA(is[0], is[1], is[2], is[3]); - } - anInt8334++; - if (i_27_ > -6) aClass105_8347 = null; - } - - static final Class29[] method188(byte i) { - anInt8345++; - int i_34_ = -7 / ((-67 - i) / 44); - return (new Class29[]{Class178.aClass29_2339, Class178.aClass29_2341, Class178.aClass29_2342, Class178.aClass29_2343, Class178.aClass29_2344, Class178.aClass29_2345, Class178.aClass29_2346, Class178.aClass29_2347, Class178.aClass29_2348, Class178.aClass29_2349, Class178.aClass29_2350, Class178.aClass29_2351, Class178.aClass29_2352, Class178.aClass29_2353}); - } - - public static void method189(byte i) { - if (i < 112) anInt8352 = -87; - aClass221_8344 = null; - } - - final void method182(int i, int i_35_, int i_36_, boolean bool) { - int i_37_ = -45 / ((-20 - i) / 57); - anInt8336++; - int i_38_ = aClass105_8342.method966() + i_36_; - int i_39_ = (this.aClass369_4635.anInt4971 + (i_36_ + -aClass105_8339.method966())); - int i_40_ = i_35_ - -aClass105_8343.method980(); - int i_41_ = (i_35_ + this.aClass369_4635.anInt4963 - aClass105_8338.method980()); - int i_42_ = -i_38_ + i_39_; - int i_43_ = -i_40_ + i_41_; - int i_44_ = this.method183(124) * i_42_ / 10000; - int[] is = new int[4]; - Class348_Sub8.aHa6654.K(is); - Class348_Sub8.aHa6654.KA(i_38_, i_40_, i_44_ + i_38_, i_41_); - method186(i_40_, i_43_, (byte) 33, i_38_, i_42_); - Class348_Sub8.aHa6654.KA(i_44_ + i_38_, i_40_, i_39_, i_41_); - aClass105_8347.method972(i_38_, i_40_, i_42_, i_43_); - Class348_Sub8.aHa6654.KA(is[0], is[1], is[2], is[3]); - } - - public final void method7(int i) { - super.method7(i); - anInt8337++; - Class369_Sub3 class369_sub3 = (Class369_Sub3) this.aClass369_4635; - this.aClass105_8350 = Class369_Sub3_Sub1.method3577((class369_sub3.anInt8599), (byte) -19, this.aClass45_4632); - aClass105_8347 = Class369_Sub3_Sub1.method3577((class369_sub3.anInt8595), (byte) 106, this.aClass45_4632); - aClass105_8342 = Class369_Sub3_Sub1.method3577((class369_sub3.anInt8603), (byte) -19, this.aClass45_4632); - aClass105_8339 = Class369_Sub3_Sub1.method3577((class369_sub3.anInt8602), (byte) -121, this.aClass45_4632); - aClass105_8343 = Class369_Sub3_Sub1.method3577((class369_sub3.anInt8600), (byte) 124, this.aClass45_4632); - aClass105_8338 = Class369_Sub3_Sub1.method3577((class369_sub3.anInt8597), (byte) 115, this.aClass45_4632); - } - - static { - aClass221_8344 = new Class221(); - } -} diff --git a/client/src/Class5_Sub1_Sub1.java b/client/src/Class5_Sub1_Sub1.java deleted file mode 100644 index 598c61717..000000000 --- a/client/src/Class5_Sub1_Sub1.java +++ /dev/null @@ -1,30 +0,0 @@ -/* Class5_Sub1_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class5_Sub1_Sub1 extends Class5_Sub1 { - static int anInt9928; - static Class207[] aClass207Array9929; - static int anInt9930; - static Class262 aClass262_9931 = new Class262(); - static int[] anIntArray9932 = new int[1000]; - - public static void method190(byte i) { - if (i < 23) anIntArray9932 = null; - aClass207Array9929 = null; - aClass262_9931 = null; - anIntArray9932 = null; - } - - Class5_Sub1_Sub1(Class45 class45, Class45 class45_0_, Class369_Sub3_Sub1 class369_sub3_sub1) { - super(class45, class45_0_, class369_sub3_sub1); - } - - final void method186(int i, int i_1_, byte i_2_, int i_3_, int i_4_) { - if (i_2_ <= 21) aClass207Array9929 = null; - anInt9928++; - int i_5_ = this.aClass105_8350.method966(); - int i_6_ = (((Class369_Sub3_Sub1) this.aClass369_4635).anInt10177 * aa_Sub2.method163(512) / 10 % i_5_); - this.aClass105_8350.method972(i_3_ - (i_5_ - i_6_), i, -i_6_ + (i_4_ - -i_5_), i_1_); - } -} diff --git a/client/src/Class5_Sub2.java b/client/src/Class5_Sub2.java deleted file mode 100644 index b633f896b..000000000 --- a/client/src/Class5_Sub2.java +++ /dev/null @@ -1,106 +0,0 @@ -/* Class5_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class5_Sub2 extends Class5 { - static int anInt8353; - static int anInt8354; - static int anInt8355; - static Class273 aClass273_8356 = new Class273("", 11); - static int anInt8357; - static int anInt8358; - static int anInt8359; - static int anInt8360; - static boolean[][][] aBooleanArrayArrayArray8361; - static int anInt8362; - static int anInt8363; - static int anInt8364; - static Class114 aClass114_8365 = new Class114(30, -1); - - static final void method191(boolean bool, int i, int i_0_) { - if (Class282.anInt3655 != 1) { - if (Class282.anInt3655 == 2) { - if (!Class59_Sub1.aBoolean5300) Class304.method2291((byte) -127, i, i_0_); - else Class304.method2291((byte) -122, i + s_Sub3.method4008((byte) -128), Class16.method260(!bool) + i_0_); - } - } else Class325.method2599((byte) 101, Class138.aClass348_Sub42_Sub12_1946, i_0_, i); - anInt8354++; - Class282.anInt3655 = 0; - Class138.aClass348_Sub42_Sub12_1946 = null; - if (bool != true) method197(true); - } - - static final void method192(Class190 class190, int i, int i_1_, int i_2_) { - Class262.aClass190ArrayArray3335[i_1_][i_2_] = class190; - anInt8362++; - if (i != 10000) anInt8363 = 32; - } - - public static void method193(int i) { - if (i == 30) { - aClass273_8356 = null; - aBooleanArrayArrayArray8361 = null; - aClass114_8365 = null; - } - } - - static final byte[] method194(int i, int i_3_, int i_4_, float f, int i_5_, float f_6_, float f_7_, float f_8_, float f_9_, Class186 class186, int i_10_) { - anInt8353++; - if (i_3_ != -1922) aClass273_8356 = null; - byte[] is = new byte[i * i_5_ * i_10_]; - Class253.method1919(i, f_8_, is, f_6_, 0, f_9_, class186, f_7_, i_4_, (byte) 119, i_10_, f, i_5_); - return is; - } - - static final boolean method195(int i, boolean bool, int i_11_) { - anInt8364++; - Class51 class51 = Class348_Sub40_Sub12.aClass263_9195.method2005(0, i_11_); - if (i == 11) i = 10; - if (bool != false) return false; - if (i >= 5 && i <= 8) i = 4; - return class51.method478(i, -31076); - } - - Class5_Sub2(Class45 class45, Class45 class45_12_, Class369_Sub2 class369_sub2) { - super(class45, class45_12_, class369_sub2); - } - - static final void method196(boolean bool, int i, int i_13_, int i_14_, int i_15_) { - if (bool != true) method192(null, -119, 63, 12); - if (Class132.anInt1910 <= i_15_ && Class38.anInt513 >= i_15_) { - i_14_ = Class85.method831(Class113.anInt1745, i_14_, Class369.anInt4960, 71); - i = Class85.method831(Class113.anInt1745, i, Class369.anInt4960, -87); - Class12.method223(i, i_13_, i_15_, i_14_, (byte) 39); - } - anInt8357++; - } - - static final int method197(boolean bool) { - anInt8358++; - if (bool != false) aClass273_8356 = null; - return Class348_Sub6.anInt6637; - } - - final void method178(int i, boolean bool, byte i_16_, int i_17_) { - Class348_Sub8.aHa6654.method3628(-2 + i, i_17_, 4 + this.aClass369_4635.anInt4971, 2 + this.aClass369_4635.anInt4963, (((Class369_Sub2) this.aClass369_4635).anInt8585), 0); - anInt8360++; - Class348_Sub8.aHa6654.method3628(i - 1, 1 + i_17_, this.aClass369_4635.anInt4971 - -2, this.aClass369_4635.anInt4963, 0, 0); - if (i_16_ > -6) aClass114_8365 = null; - } - - final void method182(int i, int i_18_, int i_19_, boolean bool) { - anInt8355++; - int i_20_ = -110 / ((-20 - i) / 57); - int i_21_ = (this.method183(116) * this.aClass369_4635.anInt4971 / 10000); - Class348_Sub8.aHa6654.aa(i_19_, 2 + i_18_, i_21_, (this.aClass369_4635.anInt4963) - 2, ((Class369_Sub2) this.aClass369_4635).anInt8591, 0); - Class348_Sub8.aHa6654.aa(i_21_ + i_19_, 2 + i_18_, this.aClass369_4635.anInt4971 - i_21_, this.aClass369_4635.anInt4963 - 2, 0, 0); - } - - static final void method198(Class46 class46, boolean bool, int i, int i_22_) { - Class238_Sub1.anInt5832 = i; - Class120.anInt4911 = i_22_; - Class21.aClass46_323 = class46; - anInt8359++; - if (bool != false) anInt8363 = 112; - } -} diff --git a/client/src/Class5_Sub3.java b/client/src/Class5_Sub3.java deleted file mode 100644 index 29376db1b..000000000 --- a/client/src/Class5_Sub3.java +++ /dev/null @@ -1,167 +0,0 @@ -/* Class5_Sub3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class5_Sub3 extends Class5 { - private Class105 aClass105_8366; - static int anInt8367; - static int anInt8368; - static int anInt8369; - static int anInt8370; - static int anInt8371; - static int anInt8372; - static int anInt8373; - static int anInt8374; - static int anInt8375; - static int anInt8376; - static int anInt8377; - - final void method178(int i, boolean bool, byte i_0_, int i_1_) { - if (i_0_ >= -6) method202(-4, null); - anInt8376++; - Class348_Sub8.aHa6654.method3628(-2 + i, i_1_, 4 + this.aClass369_4635.anInt4971, this.aClass369_4635.anInt4963 + 2, (((Class369_Sub1) this.aClass369_4635).anInt8580), 0); - Class348_Sub8.aHa6654.method3628(i + -1, i_1_ + 1, this.aClass369_4635.anInt4971 + 2, this.aClass369_4635.anInt4963, 0, 0); - } - - static final Class348_Sub21 method199(int i) { - anInt8369++; - if (Class75.aClass262_1254 == null || r.aClass312_9716 == null) return null; - r.aClass312_9716.method2328(Class75.aClass262_1254, 75); - Class348_Sub21 class348_sub21 = (Class348_Sub21) r.aClass312_9716.method2327((byte) -53); - if (class348_sub21 == null) return null; - Class42 class42 = Class75.aClass153_1238.method1225(class348_sub21.anInt6847, (byte) 50); - if (i != 1) anInt8370 = -75; - if (class42 != null && class42.aBoolean609 && class42.method373(Class75.anInterface17_1244, 98)) return class348_sub21; - return Class356.method3479(-1); - } - - public final boolean method8(byte i) { - int i_2_ = 2 % ((25 - i) / 52); - anInt8373++; - if (!super.method8((byte) 82)) return false; - return this.aClass45_4632.method421(false, (((Class369_Sub1) this.aClass369_4635).anInt8582)); - } - - static final int method200(int i, int i_3_) { - if (i >= -75) return -109; - anInt8377++; - return i_3_ >>> 8; - } - - Class5_Sub3(Class45 class45, Class45 class45_4_, Class369_Sub1 class369_sub1) { - super(class45, class45_4_, class369_sub1); - } - - static final void method201(int i, int i_5_, String string) { - do { - try { - anInt8372++; - int i_6_ = Class328_Sub1.anInt6513; - int[] is = Class286_Sub7.anIntArray6290; - if (i_5_ == -7257) { - boolean bool = false; - for (int i_7_ = 0; i_6_ > i_7_; i_7_++) { - Player player = (Class294.aPlayerArray5058[is[i_7_]]); - if (player != null && (Class132.aPlayer_1907 != player) && (player.aString10544 != null) && player.aString10544.equalsIgnoreCase(string)) { - bool = true; - if (i == 1) { - Class127.anInt4657++; - Class348_Sub47 class348_sub47 = (Class286_Sub3.method2148(Class239_Sub9.aClass351_5929, Class348_Sub23_Sub2.aClass77_9029, i_5_ + 7158)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, is[i_7_]); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByteInverse((byte) -75, 0); - Class348_Sub42_Sub14.method3243(i_5_ ^ 0x1c2a, class348_sub47); - } else if (i == 4) { - Class318_Sub1_Sub4_Sub1.anInt10073++; - Class348_Sub47 class348_sub47 = (Class286_Sub3.method2148(Class52.aClass351_4905, Class348_Sub23_Sub2.aClass77_9029, -88)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, is[i_7_]); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByteAdd((byte) -128, 0); - Class348_Sub42_Sub14.method3243(126, class348_sub47); - } else if (i == 5) { - Class216.anInt4979++; - Class348_Sub47 class348_sub47 = (Class286_Sub3.method2148(Class348_Sub42_Sub18.aClass351_9684, Class348_Sub23_Sub2.aClass77_9029, -83)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(81, is[i_7_]); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 0); - Class348_Sub42_Sub14.method3243(-112, class348_sub47); - } else if (i == 6) { - Class296.anInt3768++; - Class348_Sub47 class348_sub47 = (Class286_Sub3.method2148(Class251.aClass351_3232, Class348_Sub23_Sub2.aClass77_9029, -83)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 0); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-119, is[i_7_]); - Class348_Sub42_Sub14.method3243(i_5_ + 7281, class348_sub47); - } else if (i == 7) { - Class369_Sub2.anInt8588++; - Class348_Sub47 class348_sub47 = (Class286_Sub3.method2148(Class348_Sub42_Sub5.aClass351_9533, Class348_Sub23_Sub2.aClass77_9029, -116)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(i_5_ ^ 0x1c2c, is[i_7_]); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByteAdd((byte) 92, 0); - Class348_Sub42_Sub14.method3243(127, class348_sub47); - } - break; - } - } - if (bool) break; - Class59.method544(((Class274.aClass274_3504.method2063(Class348_Sub33.anInt6967, 544)) + string), false, 4); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("tq.A(" + i + ',' + i_5_ + ',' + (string != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - public final void method7(int i) { - anInt8371++; - if (i == 10286) { - super.method7(i); - aClass105_8366 = Class369_Sub3_Sub1.method3577(((Class369_Sub1) this.aClass369_4635).anInt8582, (byte) -96, this.aClass45_4632); - } - } - - final void method182(int i, int i_8_, int i_9_, boolean bool) { - anInt8367++; - int i_10_ = (this.method183(48) * this.aClass369_4635.anInt4971 / 10000); - int[] is = new int[4]; - int i_11_ = -50 % ((-20 - i) / 57); - Class348_Sub8.aHa6654.K(is); - Class348_Sub8.aHa6654.KA(i_9_, 2 + i_8_, i_9_ - -i_10_, i_8_ - -(this.aClass369_4635.anInt4963)); - aClass105_8366.method972(i_9_, 2 + i_8_, (this.aClass369_4635.anInt4971), (this.aClass369_4635.anInt4963)); - Class348_Sub8.aHa6654.KA(is[0], is[1], is[2], is[3]); - } - - static final void method202(int i, Class348_Sub42_Sub12 class348_sub42_sub12) { - do { - try { - anInt8375++; - if (i == 6 && !Class5_Sub1.aBoolean8335) { - class348_sub42_sub12.method2715((byte) 111); - Class73.anInt4776--; - if (class348_sub42_sub12.aBoolean9611) { - for (Class348_Sub42_Sub13 class348_sub42_sub13 = ((Class348_Sub42_Sub13) Class233.aClass107_3022.method1011(-99)); class348_sub42_sub13 != null; class348_sub42_sub13 = ((Class348_Sub42_Sub13) Class233.aClass107_3022.method1003((byte) 110))) { - if (class348_sub42_sub13.aString9617.equals(class348_sub42_sub12.aString9601)) { - boolean bool = false; - for (Class348_Sub42_Sub12 class348_sub42_sub12_12_ = ((Class348_Sub42_Sub12) class348_sub42_sub13.aClass107_9621.method1011(-58)); class348_sub42_sub12_12_ != null; class348_sub42_sub12_12_ = ((Class348_Sub42_Sub12) class348_sub42_sub13.aClass107_9621.method1003((byte) 112))) { - if (class348_sub42_sub12 == class348_sub42_sub12_12_) { - if (class348_sub42_sub13.method3234((byte) -123, class348_sub42_sub12)) Class242.method1868((byte) -98, class348_sub42_sub13); - bool = true; - break; - } - } - if (bool) break; - } - } - } else { - long l = (class348_sub42_sub12.aLong9600); - Class348_Sub42_Sub13 class348_sub42_sub13; - for (class348_sub42_sub13 = ((Class348_Sub42_Sub13) Class348_Sub42_Sub12.aClass356_9603.method3480(l, -6008)); class348_sub42_sub13 != null; class348_sub42_sub13 = ((Class348_Sub42_Sub13) Class348_Sub42_Sub12.aClass356_9603.method3476(true))) { - if (class348_sub42_sub13.aString9617.equals(class348_sub42_sub12.aString9601)) break; - } - if (class348_sub42_sub13 == null || !(class348_sub42_sub13.method3234((byte) 15, class348_sub42_sub12))) break; - Class242.method1868((byte) 120, class348_sub42_sub13); - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("tq.I(" + i + ',' + ((class348_sub42_sub12 != null) ? "{...}" : "null") + ')')); - } - break; - } while (false); - } -} diff --git a/client/src/Class6.java b/client/src/Class6.java deleted file mode 100644 index 0be9e121d..000000000 --- a/client/src/Class6.java +++ /dev/null @@ -1,182 +0,0 @@ -/* Class6 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class6 { - short aShort143; - int anInt144; - boolean aBoolean145; - short aShort146; - static int anInt147; - byte aByte148; - static int anInt149; - short aShort150; - static Class227 aClass227_151 = new Class227(2); - static int anInt152; - static int anInt153; - int anInt154; - static int anInt155; - byte aByte156; - - static final void method203(int i, int i_0_, int i_1_, int i_2_, int i_3_) { - anInt149++; - int i_4_ = 0; - if (i > -92) aClass227_151 = null; - int i_5_ = i_3_; - int i_6_ = -i_3_; - int i_7_ = -1; - int i_8_ = Class85.method831(Class113.anInt1745, i_3_ + i_0_, Class369.anInt4960, -108); - int i_9_ = Class85.method831(Class113.anInt1745, -i_3_ + i_0_, Class369.anInt4960, 81); - Class135_Sub2.method1156(-27, i_8_, Class17.anIntArrayArray255[i_2_], i_9_, i_1_); - while (i_5_ > i_4_) { - i_7_ += 2; - i_6_ += i_7_; - if (i_6_ > 0) { - i_5_--; - i_6_ -= i_5_ << 1; - int i_10_ = -i_5_ + i_2_; - int i_11_ = i_5_ + i_2_; - if (i_11_ >= Class132.anInt1910 && Class38.anInt513 >= i_10_) { - int i_12_ = Class85.method831(Class113.anInt1745, i_4_ + i_0_, Class369.anInt4960, 74); - int i_13_ = Class85.method831(Class113.anInt1745, i_0_ + -i_4_, Class369.anInt4960, 98); - if (i_11_ <= Class38.anInt513) Class135_Sub2.method1156(-27, i_12_, (Class17.anIntArrayArray255[i_11_]), i_13_, i_1_); - if (Class132.anInt1910 <= i_10_) Class135_Sub2.method1156(-27, i_12_, (Class17.anIntArrayArray255[i_10_]), i_13_, i_1_); - } - } - int i_14_ = -++i_4_ + i_2_; - int i_15_ = i_2_ - -i_4_; - if (Class132.anInt1910 <= i_15_ && Class38.anInt513 >= i_14_) { - int i_16_ = Class85.method831(Class113.anInt1745, i_0_ + i_5_, Class369.anInt4960, 52); - int i_17_ = Class85.method831(Class113.anInt1745, i_0_ + -i_5_, Class369.anInt4960, -106); - if (i_15_ <= Class38.anInt513) Class135_Sub2.method1156(-27, i_16_, Class17.anIntArrayArray255[i_15_], i_17_, i_1_); - if (i_14_ >= Class132.anInt1910) Class135_Sub2.method1156(-27, i_16_, Class17.anIntArrayArray255[i_14_], i_17_, i_1_); - } - } - } - - static final void method204(int i) { - anInt155++; - while (Class299.aClass348_Sub49_Sub2_3813.method3415(-62, Class348_Sub40_Sub25.anInt9341) >= 15) { - int i_18_ = Class299.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 15); - if (i_18_ == 32767) break; - boolean bool = false; - Class348_Sub22 class348_sub22 = ((Class348_Sub22) Class282.aClass356_3654.method3480(i_18_, -6008)); - if (class348_sub22 == null) { - Npc npc = new Npc(); - npc.anInt10290 = i_18_; - class348_sub22 = new Class348_Sub22(npc); - Class282.aClass356_3654.method3483((byte) 57, i_18_, class348_sub22); - bool = true; - Class348_Sub40_Sub23.aClass348_Sub22Array9319[Class348_Sub32.anInt6930++] = class348_sub22; - } - Npc npc = (class348_sub22.aNpc_6859); - Class74.anIntArray1233[Class150.anInt2057++] = i_18_; - npc.anInt10306 = Class348_Sub23_Sub3.anInt9041; - if ((npc.aClass79_10505) != null && npc.aClass79_10505.method793(0)) Class5.method181(true, npc); - int i_19_ = Class299.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 2); - int i_20_ = Class299.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 1); - int i_21_ = Class299.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 5); - if (i_21_ > 15) i_21_ -= 32; - int i_22_ = Class299.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 5); - if (i_22_ > 15) i_22_ -= 32; - int i_23_ = 0x3d01 & 4 + Class299.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 3) << 11; - int i_24_ = Class299.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 1); - if (i_24_ == 1) Class13.anIntArray224[Class101.anInt1597++] = i_18_; - npc.method2448((Class189.aClass278_2529.method2079(Class299.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 14), -1)), i ^ 0x2b297815); - npc.method2434((byte) 111, npc.aClass79_10505.anInt1399); - npc.anInt10310 = (npc.aClass79_10505.anInt1329) << 3; - if (bool) npc.method2435((byte) -108, i_23_, true); - npc.method2444((Class132.aPlayer_1907.anIntArray10317[0]) - -i_21_, i_20_ == 1, (Class132.aPlayer_1907.anIntArray10320[0]) + i_22_, i + 724138125, npc.method2436((byte) 50), i_19_); - if (npc.aClass79_10505.method793(0)) Class223.method1614(979190089, npc, npc.plane, (npc.anIntArray10317[0]), (npc.anIntArray10320[0]), null, null, 0); - } - if (i == -724138005) Class299.aClass348_Sub49_Sub2_3813.stopBitAccess(false); - } - - static final void method205(int i, int i_25_, int i_26_, String string, int i_27_, int i_28_, int i_29_, int i_30_) { - try { - anInt147++; - Class318_Sub5 class318_sub5 = new Class318_Sub5(); - class318_sub5.anInt6419 = i_25_; - class318_sub5.anInt6418 = i_30_; - class318_sub5.anInt6422 = i_29_; - class318_sub5.anInt6421 = i + Class367_Sub11.anInt7396; - if (i_28_ >= -48) method206(-90, -126, -8); - class318_sub5.aString6416 = string; - class318_sub5.anInt6415 = i_26_; - class318_sub5.anInt6420 = i_27_; - Class225.aClass243_2957.method1869(-103, class318_sub5); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("go.F(" + i + ',' + i_25_ + ',' + i_26_ + ',' + (string != null ? "{...}" : "null") + ',' + i_27_ + ',' + i_28_ + ',' + i_29_ + ',' + i_30_ + ')')); - } - } - - static final int method206(int i, int i_31_, int i_32_) { - anInt152++; - int i_33_ = i_31_ >>> 24; - int i_34_ = -i_33_ + i_32_; - i_31_ = (0xff0000 & (i_31_ & 0xff00) * i_33_ | (0xff00ff & i_31_) * i_33_ & ~0xff00ff) >>> 8; - return i_31_ + (((i & 0xff00) * i_34_ & 0xff0000 | ~0xff00ff & (0xff00ff & i) * i_34_) >>> 8); - } - - static final void method207(ha var_ha, byte i) { - do { - try { - anInt153++; - int i_35_ = 0; - int i_36_ = 0; - if (i < 113) aClass227_151 = null; - if (Class59_Sub1.aBoolean5300) { - i_35_ = s_Sub3.method4008((byte) -127); - i_36_ = Class16.method260(false); - } - var_ha.KA(i_35_, i_36_, Class321.anInt4017 + i_35_, i_36_ + 350); - var_ha.aa(i_35_, i_36_, Class321.anInt4017, 350, 0x332277 | Class168.anInt2254 << 24, 1); - Class338.method2663(-5590, i_35_, Class321.anInt4017 + i_35_, i_36_, i_36_ + 350); - int i_37_ = 350 / Class68.anInt1188; - if (Class369_Sub2.anInt8587 > 0) { - int i_38_ = 342 + -Class68.anInt1188; - int i_39_ = (i_37_ * i_38_ / (-1 + (i_37_ - -Class369_Sub2.anInt8587))); - int i_40_ = 4; - if (Class369_Sub2.anInt8587 > 1) i_40_ += ((Class369_Sub2.anInt8587 + (-1 + -Class284.anInt3676)) * (i_38_ - i_39_) / (Class369_Sub2.anInt8587 + -1)); - var_ha.aa(-16 + (Class321.anInt4017 + i_35_), i_36_ + i_40_, 12, i_39_, 0x332277 | Class168.anInt2254 << 24, 2); - for (int i_41_ = Class284.anInt3676; ((i_41_ < i_37_ + Class284.anInt3676) && Class369_Sub2.anInt8587 > i_41_); i_41_++) { - String[] strings = (Class348_Sub40_Sub23.method3113('\010', true, Class286_Sub1.aStringArray6200[i_41_])); - int i_42_ = (-16 + Class321.anInt4017 + -8) / strings.length; - for (int i_43_ = 0; i_43_ < strings.length; i_43_++) { - int i_44_ = i_42_ * i_43_ + 8; - var_ha.KA(i_35_ + i_44_, i_36_, i_42_ + i_35_ - (-i_44_ - -8), i_36_ + 350); - Applet_Sub1.aClass324_20.method2576(Class250.method1909((byte) 31, strings[i_43_]), -1, (-((-Class284.anInt3676 + i_41_) * Class68.anInt1188) + (-Class348_Sub31_Sub2.anInt9077 + i_36_ - (-350 - (-2 + -(Class246.aClass143_3179.anInt1993))))), i_35_ + i_44_, -16777216, -110); - } - } - } - Class240.aClass324_4684.method2569("Build: 634", 350 + (i_36_ + -20), -1, (Class321.anInt4017 + i_35_ + -25), -121, -16777216); - var_ha.KA(i_35_, i_36_, i_35_ - -Class321.anInt4017, i_36_ - -350); - var_ha.method3649((byte) -80, Class321.anInt4017, -Class348_Sub31_Sub2.anInt9077 + (350 + i_36_), -1, i_35_); - Class262.aClass324_3326.method2576("--> " + Class250.method1909((byte) 31, Class363.aString4461), -1, (i_36_ - (-350 + Class369.aClass143_4962.anInt1993) - 1), 10 + i_35_, -16777216, -127); - if (!Class175.aBoolean2329) break; - int i_45_ = -1; - if (Class367_Sub11.anInt7396 % 30 > 15) i_45_ = 16777215; - var_ha.method3660(10 + (i_35_ - -(Class369.aClass143_4962.method1183(true, "--> " + (Class250.method1909((byte) 31, Class363.aString4461).substring(0, Class348_Sub38.anInt7006))))), i_45_, 12, 350 + (i_36_ + -Class369.aClass143_4962.anInt1993 - 11), true); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("go.B(" + (var_ha != null ? "{...}" : "null") + ',' + i + ')')); - } - break; - } while (false); - } - - public static void method208(byte i) { - if (i != 0) method204(29); - aClass227_151 = null; - } - - Class6(int i, int i_46_, int i_47_, int i_48_, int i_49_, int i_50_, int i_51_, int i_52_, int i_53_, boolean bool, int i_54_) { - this.aBoolean145 = bool; - this.aByte156 = (byte) i_53_; - this.anInt154 = i_54_; - this.aShort143 = (short) i_50_; - this.aByte148 = (byte) i_52_; - this.aShort146 = (short) i_51_; - this.aShort150 = (short) i_49_; - this.anInt144 = i; - } -} diff --git a/client/src/Class60.java b/client/src/Class60.java deleted file mode 100644 index 26ae432ab..000000000 --- a/client/src/Class60.java +++ /dev/null @@ -1,238 +0,0 @@ -/* Class60 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class60 { - private final int anInt1084; - static int anInt1085; - private int anInt1086; - static int anInt1087; - static int anInt1088; - private Class107 aClass107_1089 = new Class107(); - static int anInt1090; - static int anInt1091; - static int anInt1092; - static int anInt1093; - static int anInt1094; - static int anInt1095; - static int anInt1096; - static int anInt1097; - static ha aHa1098; - static int anInt1099; - private final Class356 aClass356_1100; - static int anInt1101; - static int anInt1102; - static int anInt1103; - - final int method575(int i) { - anInt1101++; - int i_0_ = i; - for (Class348_Sub42_Sub8 class348_sub42_sub8 = (Class348_Sub42_Sub8) aClass107_1089.method1011(-84); class348_sub42_sub8 != null; class348_sub42_sub8 = ((Class348_Sub42_Sub8) aClass107_1089.method1003((byte) 79))) { - if (!class348_sub42_sub8.method3195(-4)) i_0_++; - } - return i_0_; - } - - static final boolean method576(int i, int i_1_) { - if (i_1_ <= 21) method589(null, -21); - anInt1088++; - return i == 2 || i == 3; - } - - final int method577(int i) { - if (i != -4) method577(19); - anInt1097++; - return anInt1084; - } - - final void method578(int i, int i_2_) { - if (i == 2) { - anInt1093++; - if (Class101_Sub1.aClass246_5675 != null) { - for (Class348_Sub42_Sub8 class348_sub42_sub8 = ((Class348_Sub42_Sub8) aClass107_1089.method1011(-59)); class348_sub42_sub8 != null; class348_sub42_sub8 = ((Class348_Sub42_Sub8) aClass107_1089.method1003((byte) 97))) { - if (!class348_sub42_sub8.method3195(-4)) { - if ((long) i_2_ < ++class348_sub42_sub8.aLong7057) { - Class348_Sub42_Sub8 class348_sub42_sub8_3_ = Class101_Sub1.aClass246_5675.method1888(3, class348_sub42_sub8); - aClass356_1100.method3483((byte) 86, (class348_sub42_sub8.aLong4291), class348_sub42_sub8_3_); - Class59_Sub2_Sub2.method573(class348_sub42_sub8_3_, class348_sub42_sub8, (byte) 63); - class348_sub42_sub8.method2715((byte) 116); - class348_sub42_sub8.method3162(true); - } - } else if (class348_sub42_sub8.method3193(100) == null) { - class348_sub42_sub8.method2715((byte) 60); - class348_sub42_sub8.method3162(true); - anInt1086 += (class348_sub42_sub8.anInt9545); - } - } - } - } - } - - Class60(int i) { - this(i, i); - } - - final Object method579(int i) { - anInt1094++; - Class348_Sub42_Sub8 class348_sub42_sub8 = (Class348_Sub42_Sub8) aClass356_1100.method3482(0); - while (class348_sub42_sub8 != null) { - Object object = class348_sub42_sub8.method3193(114); - if (object != null) return object; - Class348_Sub42_Sub8 class348_sub42_sub8_4_ = class348_sub42_sub8; - class348_sub42_sub8 = (Class348_Sub42_Sub8) aClass356_1100.method3482(0); - class348_sub42_sub8_4_.method2715((byte) 92); - class348_sub42_sub8_4_.method3162(true); - anInt1086 += class348_sub42_sub8_4_.anInt9545; - } - if (i > -67) aHa1098 = null; - return null; - } - - final void method580(int i, Object object, long l, int i_5_) { - try { - anInt1092++; - if (i_5_ > anInt1084) throw new IllegalStateException("s>cs"); - method586(l, 0); - anInt1086 -= i_5_; - while (anInt1086 < 0) { - Class348_Sub42_Sub8 class348_sub42_sub8 = ((Class348_Sub42_Sub8) aClass107_1089.method1008(i ^ 0x7c8a)); - method585(class348_sub42_sub8, i ^ ~0x7cfa); - } - Class348_Sub42_Sub8_Sub2 class348_sub42_sub8_sub2 = new Class348_Sub42_Sub8_Sub2(object, i_5_); - aClass356_1100.method3483((byte) 54, l, class348_sub42_sub8_sub2); - if (i != 31902) anInt1086 = -106; - aClass107_1089.method1005(true, class348_sub42_sub8_sub2); - class348_sub42_sub8_sub2.aLong7057 = 0L; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("jr.E(" + i + ',' + (object != null ? "{...}" : "null") + ',' + l + ',' + i_5_ + ')')); - } - } - - final int method581(int i) { - if (i != -18529) method583(-64L, 37); - anInt1099++; - return anInt1086; - } - - final void method582(Object object, long l, byte i) { - try { - if (i >= -92) method589(null, -7); - anInt1095++; - method580(31902, object, l, 1); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("jr.B(" + (object != null ? "{...}" : "null") + ',' + l + ',' + i + ')')); - } - } - - final Object method583(long l, int i) { - try { - int i_6_ = -59 % ((i - 2) / 47); - anInt1085++; - Class348_Sub42_Sub8 class348_sub42_sub8 = (Class348_Sub42_Sub8) aClass356_1100.method3480(l, -6008); - if (class348_sub42_sub8 == null) return null; - Object object = class348_sub42_sub8.method3193(86); - if (object == null) { - class348_sub42_sub8.method2715((byte) 102); - class348_sub42_sub8.method3162(true); - anInt1086 += class348_sub42_sub8.anInt9545; - return null; - } - if (class348_sub42_sub8.method3195(-4)) { - Class348_Sub42_Sub8_Sub2 class348_sub42_sub8_sub2 = new Class348_Sub42_Sub8_Sub2(object, (class348_sub42_sub8.anInt9545)); - aClass356_1100.method3483((byte) 90, (class348_sub42_sub8.aLong4291), class348_sub42_sub8_sub2); - aClass107_1089.method1005(true, class348_sub42_sub8_sub2); - class348_sub42_sub8_sub2.aLong7057 = 0L; - class348_sub42_sub8.method2715((byte) 112); - class348_sub42_sub8.method3162(true); - } else { - aClass107_1089.method1005(true, class348_sub42_sub8); - class348_sub42_sub8.aLong7057 = 0L; - } - return object; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "jr.K(" + l + ',' + i + ')'); - } - } - - public static void method584(byte i) { - aHa1098 = null; - int i_7_ = -19 % ((i - 59) / 55); - } - - private final void method585(Class348_Sub42_Sub8 class348_sub42_sub8, int i) { - int i_8_ = 80 / ((i - 6) / 36); - anInt1102++; - if (class348_sub42_sub8 != null) { - class348_sub42_sub8.method2715((byte) 117); - class348_sub42_sub8.method3162(true); - anInt1086 += class348_sub42_sub8.anInt9545; - } - } - - private final void method586(long l, int i) { - try { - if (i != 0) aClass107_1089 = null; - anInt1090++; - Class348_Sub42_Sub8 class348_sub42_sub8 = (Class348_Sub42_Sub8) aClass356_1100.method3480(l, -6008); - method585(class348_sub42_sub8, -57); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "jr.J(" + l + ',' + i + ')'); - } - } - - final void method587(int i) { - anInt1096++; - for (Class348_Sub42_Sub8 class348_sub42_sub8 = (Class348_Sub42_Sub8) aClass107_1089.method1011(-71); class348_sub42_sub8 != null; class348_sub42_sub8 = ((Class348_Sub42_Sub8) aClass107_1089.method1003((byte) 50))) { - if (class348_sub42_sub8.method3195(-4)) { - class348_sub42_sub8.method2715((byte) 118); - class348_sub42_sub8.method3162(true); - anInt1086 += class348_sub42_sub8.anInt9545; - } - } - if (i >= -75) method587(-97); - } - - final Object method588(int i) { - anInt1087++; - Class348_Sub42_Sub8 class348_sub42_sub8 = (Class348_Sub42_Sub8) aClass356_1100.method3484(0); - if (i != -5052) method577(77); - while (class348_sub42_sub8 != null) { - Object object = class348_sub42_sub8.method3193(119); - if (object == null) { - Class348_Sub42_Sub8 class348_sub42_sub8_9_ = class348_sub42_sub8; - class348_sub42_sub8 = (Class348_Sub42_Sub8) aClass356_1100.method3482(0); - class348_sub42_sub8_9_.method2715((byte) 41); - class348_sub42_sub8_9_.method3162(true); - anInt1086 += (class348_sub42_sub8_9_.anInt9545); - } else return object; - } - return null; - } - - static final boolean method589(Class42 class42, int i) { - anInt1103++; - if (class42 == null) return false; - if (i != -4) return false; - if (!class42.aBoolean574) return false; - if (!class42.method373(Class75.anInterface17_1244, i ^ ~0x2d)) return false; - if (Class158.aClass356_4934.method3480(class42.anInt581, i ^ 0x1774) != null) return false; - return Class348_Sub42_Sub9_Sub1.aClass356_10442.method3480(class42.anInt596, i + -6004) == null; - } - - final void method590(int i) { - anInt1091++; - aClass107_1089.method1009(i + 2110355138); - aClass356_1100.method3481(i); - anInt1086 = anInt1084; - } - - Class60(int i, int i_10_) { - anInt1086 = i; - anInt1084 = i; - int i_11_; - for (i_11_ = 1; i > i_11_ + i_11_ && i_10_ > i_11_; i_11_ += i_11_) { - /* empty */ - } - aClass356_1100 = new Class356(i_11_); - } -} diff --git a/client/src/Class61.java b/client/src/Class61.java deleted file mode 100644 index f2c9ba502..000000000 --- a/client/src/Class61.java +++ /dev/null @@ -1,67 +0,0 @@ -/* Class61 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -final class Class61 { - static int anInt1104; - static int anInt1105; - static int anInt1106; - static int anInt1107; - static int anInt1108; - private final int anInt1109; - - final void method591(int i) { - anInt1108++; - OpenGL.glEndList(); - if (i != -1) method595((byte) -56, 72); - } - - static final int method592(boolean bool, byte i, boolean bool_0_, int i_1_, int i_2_) { - anInt1105++; - if (i != -128) return -20; - Class348_Sub13 class348_sub13 = Class258_Sub4.method1974((byte) -1, i_1_, bool_0_); - if (class348_sub13 == null) return 0; - int i_3_ = 0; - for (int i_4_ = 0; (class348_sub13.anIntArray6757.length > i_4_); i_4_++) { - if (class348_sub13.anIntArray6757[i_4_] >= 0 && (Exception_Sub1.aClass255_112.anInt3271 > class348_sub13.anIntArray6757[i_4_])) { - Class213 class213 = (Exception_Sub1.aClass255_112.method1940(-127, (class348_sub13.anIntArray6757[i_4_]))); - int i_5_ = class213.method1567((Class101_Sub3.aClass326_5764.method2600(i_2_, 28364).anInt3256), 107, i_2_); - if (!bool) i_3_ += i_5_; - else i_3_ += i_5_ * (class348_sub13.anIntArray6758[i_4_]); - } - } - return i_3_; - } - - static final Class272 method593(int i, byte i_6_, String string) { - anInt1104++; - Class272 class272; - try { - class272 = new Class272_Sub2(); - } catch (Throwable throwable) { - class272 = new Class272_Sub1(); - } - if (i_6_ != -90) return null; - class272.aString3476 = string; - class272.anInt3470 = i; - return class272; - } - - final void method594(char c, int i) { - anInt1107++; - OpenGL.glCallList(anInt1109 - -c); - if (i != 28666) method591(30); - } - - final void method595(byte i, int i_7_) { - OpenGL.glNewList(i_7_ + anInt1109, 4864); - anInt1106++; - if (i <= 101) method594('\ufff3', -3); - } - - Class61(ha_Sub2 var_ha_Sub2, int i) { - anInt1109 = OpenGL.glGenLists(i); - } -} diff --git a/client/src/Class62.java b/client/src/Class62.java deleted file mode 100644 index 5aa2f13dd..000000000 --- a/client/src/Class62.java +++ /dev/null @@ -1,72 +0,0 @@ -/* Class62 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class62 { - static int anInt1110; - static int anInt1111; - static int anInt1112; - static int anInt1113; - static Class243 aClass243_1114 = new Class243(); - static int anInt1115; - static int[][][] anIntArrayArrayArray1116; - - static final Class341[] method596(int i) { - if (i != 20000) anIntArrayArrayArray1116 = null; - anInt1112++; - return (new Class341[]{Class186_Sub1.aClass341_5808, Class27.aClass341_399, Class237_Sub1.aClass341_5821}); - } - - public static void method597(byte i) { - aClass243_1114 = null; - anIntArrayArrayArray1116 = null; - int i_0_ = -116 / ((6 - i) / 60); - } - - static final void method598(int i) { - anInt1111++; - if (i != 9013) method597((byte) 86); - for (Class348_Sub15 class348_sub15 = (Class348_Sub15) Class27.aClass356_389.method3484(0); class348_sub15 != null; class348_sub15 = (Class348_Sub15) Class27.aClass356_389.method3482(0)) { - if (!class348_sub15.aBoolean6772) Class64_Sub3.method690((byte) -94, (class348_sub15.anInt6773)); - else class348_sub15.aBoolean6772 = false; - } - } - - static final synchronized long method599(int i) { - if (i > -52) return -121L; - anInt1113++; - long l = System.currentTimeMillis(); - if (Class101_Sub1.aLong5663 > l) Class318_Sub1_Sub1.aLong8728 += Class101_Sub1.aLong5663 - l; - Class101_Sub1.aLong5663 = l; - return l + Class318_Sub1_Sub1.aLong8728; - } - - static final int method600(byte i, int i_1_, int i_2_) { - anInt1115++; - int i_3_; - if (i_2_ <= 20000) { - if (i_2_ <= 10000) { - if (i_2_ <= 5000) { - Class348_Sub40_Sub12.method3076(0, true); - i_3_ = 1; - } else { - i_3_ = 2; - Class161.method1263(true); - } - } else { - i_3_ = 3; - Class47.method447((byte) -59); - } - } else { - Class133.method1140(120); - i_3_ = 4; - } - if (i_1_ != Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350)) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub25_7251), i_1_); - Class367_Sub10.method3553(false, (byte) 122, i_1_); - } - if (i >= -20) aClass243_1114 = null; - Class14_Sub2.method243(37); - return i_3_; - } -} diff --git a/client/src/Class63.java b/client/src/Class63.java deleted file mode 100644 index d1567eeb4..000000000 --- a/client/src/Class63.java +++ /dev/null @@ -1,23 +0,0 @@ -/* Class63 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class63 { - static int anInt1117; - int anInt1118; - int anInt1119; - static Class114 aClass114_1120 = new Class114(53, -2); - static int anInt1121 = 0; - int anInt1122; - static Class114 aClass114_1123 = new Class114(78, -1); - - public static void method601(byte i) { - aClass114_1120 = null; - aClass114_1123 = null; - if (i != -85) method601((byte) -70); - } - - public Class63() { - /* empty */ - } -} diff --git a/client/src/Class64.java b/client/src/Class64.java deleted file mode 100644 index 0b7b02e3b..000000000 --- a/client/src/Class64.java +++ /dev/null @@ -1,516 +0,0 @@ -/* Class64 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class Class64 { - boolean aBoolean1124 = false; - static int anInt1125; - static int anInt1126; - static int[] anIntArray1127 = new int[2]; - static int anInt1128; - static int anInt1129; - static int anInt1130; - static Class296 aClass296_1131; - static int anInt1132; - static int anInt1133; - static int anInt1134; - static int anInt1135; - static float aFloat1136; - static int anInt1137; - - abstract void FA(int i); - - abstract void p(int i, int i_0_, s var_s, s var_s_1_, int i_2_, int i_3_, int i_4_); - - private final void method602(int i, Class348_Sub33 class348_sub33, int i_5_, boolean bool, int i_6_, Class4 class4, int i_7_, int[] is, boolean[] bools, Class4 class4_8_, int i_9_, boolean bool_10_) { - try { - anInt1130++; - if (class4 == null || i_7_ == 0) { - for (int i_11_ = 0; class4_8_.anInt126 > i_11_; i_11_++) { - short i_12_ = class4_8_.aShortArray130[i_11_]; - if (bools == null || bools[i_12_] != !bool || (class348_sub33.anIntArray6957[i_12_]) == 0) { - short i_13_ = class4_8_.aShortArray128[i_11_]; - if (i_13_ != -1) method627((class348_sub33.anIntArrayArray6959[i_13_]), bool_10_, i, 0, 0, i_9_ & (class348_sub33.anIntArray6960[i_13_]), (byte) -93, 0, is, 0); - method627((class348_sub33.anIntArrayArray6959[i_12_]), bool_10_, i, class4_8_.aShortArray137[i_11_], (class348_sub33.anIntArray6957[i_12_]), (class348_sub33.anIntArray6960[i_12_]) & i_9_, (byte) -93, class4_8_.aShortArray140[i_11_], is, class4_8_.aShortArray135[i_11_]); - } - } - } else { - int i_14_ = 0; - int i_15_ = 0; - int i_16_ = 0; - int i_17_ = -53 % ((i_5_ - 76) / 41); - for (/**/; class348_sub33.anInt6965 > i_16_; i_16_++) { - boolean bool_18_ = false; - if (class4_8_.anInt126 > i_14_ && class4_8_.aShortArray130[i_14_] == i_16_) bool_18_ = true; - boolean bool_19_ = false; - if (class4.anInt126 > i_15_ && i_16_ == class4.aShortArray130[i_15_]) bool_19_ = true; - if (bool_18_ || bool_19_) { - if (bools != null && bool == !bools[i_16_] && (class348_sub33.anIntArray6957[i_16_]) != 0) { - if (bool_19_) i_15_++; - if (bool_18_) i_14_++; - } else { - int i_20_ = 0; - int i_21_ = (class348_sub33.anIntArray6957[i_16_]); - if (i_21_ == 3 || i_21_ == 10) i_20_ = 128; - int i_22_; - short i_23_; - int i_24_; - byte i_25_; - int i_26_; - if (bool_18_) { - i_22_ = (class4_8_.aShortArray135[i_14_]); - i_23_ = (class4_8_.aShortArray128[i_14_]); - i_24_ = (class4_8_.aShortArray137[i_14_]); - i_25_ = (class4_8_.aByteArray132[i_14_]); - i_26_ = (class4_8_.aShortArray140[i_14_]); - i_14_++; - } else { - i_24_ = i_20_; - i_23_ = (short) -1; - i_22_ = i_20_; - i_26_ = i_20_; - i_25_ = (byte) 0; - } - int i_27_; - int i_28_; - byte i_29_; - int i_30_; - short i_31_; - if (bool_19_) { - i_27_ = class4.aShortArray137[i_15_]; - i_28_ = class4.aShortArray135[i_15_]; - i_29_ = class4.aByteArray132[i_15_]; - i_30_ = class4.aShortArray140[i_15_]; - i_31_ = class4.aShortArray128[i_15_]; - i_15_++; - } else { - i_28_ = i_20_; - i_31_ = (short) -1; - i_30_ = i_20_; - i_27_ = i_20_; - i_29_ = (byte) 0; - } - if (i_23_ != -1) method627((class348_sub33.anIntArrayArray6959[i_23_]), bool_10_, i, 0, 0, (i_9_ & (class348_sub33.anIntArray6960[i_23_])), (byte) -93, 0, is, 0); - else if (i_31_ != -1) method627((class348_sub33.anIntArrayArray6959[i_31_]), bool_10_, i, 0, 0, (i_9_ & (class348_sub33.anIntArray6960[i_31_])), (byte) -93, 0, is, 0); - int i_32_; - int i_33_; - int i_34_; - if ((0x2 & i_25_) != 0 || (i_29_ & 0x1) != 0) { - i_32_ = i_26_; - i_34_ = i_22_; - i_33_ = i_24_; - } else if (i_21_ == 2) { - int i_37_ = 0x3fff & i_30_ - i_26_; - int i_38_ = i_27_ + -i_24_ & 0x3fff; - int i_39_ = 0x3fff & i_28_ - i_22_; - if (i_37_ >= 8192) i_37_ -= 16384; - if (i_38_ >= 8192) i_38_ -= 16384; - if (i_39_ >= 8192) i_39_ -= 16384; - i_32_ = i_26_ - -(i_37_ * i_7_ / i_6_) & 0x3fff; - i_33_ = i_38_ * i_7_ / i_6_ + i_24_ & 0x3fff; - i_34_ = 0x3fff & i_22_ - -(i_7_ * i_39_ / i_6_); - } else if (i_21_ == 9) { - int i_35_ = i_30_ + -i_26_ & 0x3fff; - if (i_35_ >= 8192) i_35_ -= 16384; - i_32_ = i_35_ * i_7_ / i_6_ + i_26_ & 0x3fff; - i_33_ = i_34_ = 0; - } else if (i_21_ == 7) { - int i_36_ = 0x3f & i_30_ + -i_26_; - if (i_36_ >= 32) i_36_ -= 64; - i_32_ = (i_26_ - -(i_36_ * i_7_ / i_6_) & 0x3f); - i_33_ = (i_7_ * (i_27_ + -i_24_) / i_6_ + i_24_); - i_34_ = ((-i_22_ + i_28_) * i_7_ / i_6_ + i_22_); - } else { - i_32_ = (i_26_ + i_7_ * (i_30_ - i_26_) / i_6_); - i_34_ = i_22_ - -((i_28_ + -i_22_) * i_7_ / i_6_); - i_33_ = (i_7_ * (-i_24_ + i_27_) / i_6_ + i_24_); - } - method627((class348_sub33.anIntArrayArray6959[i_16_]), bool_10_, i, i_33_, i_21_, i_9_ & (class348_sub33.anIntArray6960[i_16_]), (byte) -93, i_32_, is, i_34_); - } - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ka.AC(" + i + ',' + (class348_sub33 != null ? "{...}" : "null") + ',' + i_5_ + ',' + bool + ',' + i_6_ + ',' + (class4 != null ? "{...}" : "null") + ',' + i_7_ + ',' + (is != null ? "{...}" : "null") + ',' + (bools != null ? "{...}" : "null") + ',' + (class4_8_ != null ? "{...}" : "null") + ',' + i_9_ + ',' + bool_10_ + ')')); - } - } - - final void method603(byte i, int i_40_, int[] is, int i_41_, int i_42_, int i_43_, Class348_Sub42_Sub17 class348_sub42_sub17, int i_44_, Class348_Sub42_Sub17 class348_sub42_sub17_45_, boolean bool, int i_46_) { - try { - anInt1133++; - if (i_42_ != -1) { - method622(); - if (NA()) { - Class4 class4 = (class348_sub42_sub17_45_.aClass4Array9673[i_42_]); - if (i != -55) this.aBoolean1124 = false; - Class348_Sub33 class348_sub33 = class4.aClass348_Sub33_134; - Class4 class4_47_ = null; - if (class348_sub42_sub17 != null) { - class4_47_ = (class348_sub42_sub17.aClass4Array9673[i_43_]); - if (class4_47_.aClass348_Sub33_134 != class348_sub33) class4_47_ = null; - } - method602(i_44_, class348_sub33, -18, false, i_46_, class4_47_, i_40_, is, null, class4, i_41_, bool); - wa(); - method621(); - } else method621(); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ka.QB(" + i + ',' + i_40_ + ',' + (is != null ? "{...}" : "null") + ',' + i_41_ + ',' + i_42_ + ',' + i_43_ + ',' + (class348_sub42_sub17 != null ? "{...}" : "null") + ',' + i_44_ + ',' + (class348_sub42_sub17_45_ != null ? "{...}" : "null") + ',' + bool + ',' + i_46_ + ')')); - } - } - - abstract Class342[] method604(); - - abstract void C(int i); - - abstract void method605(int i, int[] is, int i_48_, int i_49_, int i_50_, int i_51_, boolean bool); - - static final void method606(int i, boolean bool, String string) { - anInt1128++; - string = string.toLowerCase(); - short[] is = new short[16]; - int i_52_ = i; - int i_53_ = bool ? 32768 : 0; - int i_54_ = ((!bool ? Class239_Sub6.aClass355_5900.anInt4365 : Class239_Sub6.aClass355_5900.anInt4364) + i_53_); - for (int i_55_ = i_53_; i_55_ < i_54_; i_55_++) { - Class348_Sub42_Sub10 class348_sub42_sub10 = Class239_Sub6.aClass355_5900.method3471(i_55_, (byte) -102); - if (class348_sub42_sub10.aBoolean9562 && class348_sub42_sub10.method3219(98).toLowerCase().indexOf(string) != -1) { - if (i_52_ >= 50) { - Class192.aShortArray2579 = null; - Class76.anInt1285 = -1; - return; - } - if (is.length <= i_52_) { - short[] is_56_ = new short[is.length * 2]; - for (int i_57_ = 0; i_52_ > i_57_; i_57_++) - is_56_[i_57_] = is[i_57_]; - is = is_56_; - } - is[i_52_++] = (short) i_55_; - } - } - Class76.anInt1285 = i_52_; - Class148.anInt2037 = 0; - Class192.aShortArray2579 = is; - String[] strings = new String[Class76.anInt1285]; - for (int i_58_ = 0; Class76.anInt1285 > i_58_; i_58_++) - strings[i_58_] = Class239_Sub6.aClass355_5900.method3471(is[i_58_], (byte) -91).method3219(Class348_Sub21.method2955(i, 81)); - Class174.method1333(Class192.aShortArray2579, i + 26073, strings); - } - - abstract void wa(); - - abstract void I(int i, int[] is, int i_59_, int i_60_, int i_61_, boolean bool, int i_62_, int[] is_63_); - - abstract int G(); - - static final void method607(int i, String[] strings, short[] is, int i_64_, boolean bool) { - try { - if (bool != false) aFloat1136 = 0.5791872F; - if (i > i_64_) { - int i_65_ = (i_64_ - -i) / 2; - int i_66_ = i_64_; - String string = strings[i_65_]; - strings[i_65_] = strings[i]; - strings[i] = string; - short i_67_ = is[i_65_]; - is[i_65_] = is[i]; - is[i] = i_67_; - for (int i_68_ = i_64_; i_68_ < i; i_68_++) { - if (string == null || (strings[i_68_] != null && (strings[i_68_].compareTo(string) < (i_68_ & 0x1)))) { - String string_69_ = strings[i_68_]; - strings[i_68_] = strings[i_66_]; - strings[i_66_] = string_69_; - short i_70_ = is[i_68_]; - is[i_68_] = is[i_66_]; - is[i_66_++] = i_70_; - } - } - strings[i] = strings[i_66_]; - strings[i_66_] = string; - is[i] = is[i_66_]; - is[i_66_] = i_67_; - method607(i_66_ + -1, strings, is, i_64_, false); - method607(i, strings, is, 1 + i_66_, bool); - } - anInt1134++; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ka.UB(" + i + ',' + (strings != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ',' + i_64_ + ',' + bool + ')')); - } - } - - abstract boolean NA(); - - abstract void LA(int i); - - abstract void method608(Class101 class101, Class318_Sub3 class318_sub3, int i, int i_71_); - - abstract int ua(); - - abstract int HA(); - - abstract int ma(); - - public static void method609(byte i) { - if (i <= -7) { - aClass296_1131 = null; - anIntArray1127 = null; - } - } - - abstract boolean F(); - - abstract void O(int i, int i_72_, int i_73_); - - abstract void method610(Class101 class101, int i, boolean bool); - - abstract int EA(); - - final void method611(int i, int i_74_, Class348_Sub42_Sub17 class348_sub42_sub17) { - anInt1126++; - if (i != -1) { - method622(); - if (NA()) { - Class4 class4 = (class348_sub42_sub17.aClass4Array9673[i]); - Class348_Sub33 class348_sub33 = class4.aClass348_Sub33_134; - for (int i_75_ = 0; (i_75_ < class4.anInt126); i_75_++) { - short i_76_ = class4.aShortArray130[i_75_]; - if (class348_sub33.aBooleanArray6954[i_76_]) { - if (class4.aShortArray128[i_75_] != -1) P(0, 0, 0, 0); - P((class348_sub33.anIntArray6957[i_76_]), class4.aShortArray140[i_75_], class4.aShortArray137[i_75_], class4.aShortArray135[i_75_]); - } - } - if (i_74_ != -8700) anIntArray1127 = null; - wa(); - method621(); - } else method621(); - } - } - - abstract void method612(); - - abstract int da(); - - abstract void s(int i); - - abstract int RA(); - - abstract void method613(Class64 class64_77_, int i, int i_78_, int i_79_, boolean bool); - - abstract void v(); - - abstract Class64 method614(byte i, int i_80_, boolean bool); - - abstract void method615(Class101 class101, Class318_Sub3 class318_sub3, int i); - - static final boolean method616(int i, int i_81_, int i_82_) { - anInt1129++; - if (i != 2) return false; - return (i_81_ & 0x800) != 0; - } - - final void method617(int i, int i_83_, Class348_Sub42_Sub17 class348_sub42_sub17, int i_84_, Class348_Sub42_Sub17 class348_sub42_sub17_85_, boolean bool, boolean bool_86_, int i_87_, int i_88_) { - try { - anInt1125++; - if (i != -1) { - method622(); - if (NA()) { - Class4 class4 = (class348_sub42_sub17_85_.aClass4Array9673[i]); - Class348_Sub33 class348_sub33 = class4.aClass348_Sub33_134; - Class4 class4_89_ = null; - if (class348_sub42_sub17 != null) { - class4_89_ = (class348_sub42_sub17.aClass4Array9673[i_87_]); - if (class348_sub33 != class4_89_.aClass348_Sub33_134) class4_89_ = null; - } - method602(i_84_, class348_sub33, 121, bool, i_83_, class4_89_, i_88_, null, null, class4, 65535, bool_86_); - wa(); - method621(); - } else method621(); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ka.BC(" + i + ',' + i_83_ + ',' + (class348_sub42_sub17 != null ? "{...}" : "null") + ',' + i_84_ + ',' + ((class348_sub42_sub17_85_ != null) ? "{...}" : "null") + ',' + bool + ',' + bool_86_ + ',' + i_87_ + ',' + i_88_ + ')')); - } - } - - abstract boolean r(); - - abstract boolean method618(); - - abstract int fa(); - - abstract void a(int i); - - abstract Class129[] method619(); - - abstract int V(); - - abstract void H(int i, int i_90_, int i_91_); - - abstract void method620(Class101 class101); - - abstract void method621(); - - abstract void method622(); - - abstract void k(int i); - - abstract boolean method623(int i, int i_92_, Class101 class101, boolean bool, int i_93_, int i_94_); - - abstract void P(int i, int i_95_, int i_96_, int i_97_); - - abstract int WA(); - - abstract void VA(int i); - - abstract void method624(int i, int i_98_, int i_99_, int i_100_); - - abstract int na(); - - final void method625(Class348_Sub42_Sub17 class348_sub42_sub17, int i, byte i_101_, int i_102_, Class348_Sub42_Sub17 class348_sub42_sub17_103_, int i_104_, int i_105_, int i_106_, Class348_Sub42_Sub17 class348_sub42_sub17_107_, boolean bool, int i_108_, Class348_Sub42_Sub17 class348_sub42_sub17_109_, int i_110_, boolean[] bools, int i_111_) { - try { - anInt1135++; - if (i_104_ != -1) { - if (i_101_ <= 103) aFloat1136 = 0.38855714F; - if (bools == null || i_105_ == -1) method617(i_104_, i, class348_sub42_sub17, 0, class348_sub42_sub17_107_, false, bool, i_108_, i_106_); - else { - method622(); - if (NA()) { - Class4 class4 = (class348_sub42_sub17_107_.aClass4Array9673[i_104_]); - Class348_Sub33 class348_sub33 = class4.aClass348_Sub33_134; - Class4 class4_112_ = null; - if (class348_sub42_sub17 != null) { - class4_112_ = (class348_sub42_sub17.aClass4Array9673[i_108_]); - if (class348_sub33 != class4_112_.aClass348_Sub33_134) class4_112_ = null; - } - method602(0, class348_sub33, -70, false, i, class4_112_, i_106_, null, bools, class4, 65535, bool); - Class4 class4_113_ = (class348_sub42_sub17_103_.aClass4Array9673[i_105_]); - Class4 class4_114_ = null; - if (class348_sub42_sub17_109_ != null) { - class4_114_ = (class348_sub42_sub17_109_.aClass4Array9673[i_111_]); - if (class4_114_.aClass348_Sub33_134 != class348_sub33) class4_114_ = null; - } - method605(0, new int[0], 0, 0, 0, 0, bool); - method602(0, class4_113_.aClass348_Sub33_134, 122, true, i_102_, class4_114_, i_110_, null, bools, class4_113_, 65535, bool); - wa(); - method621(); - } else method621(); - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ka.VB(" + (class348_sub42_sub17 != null ? "{...}" : "null") + ',' + i + ',' + i_101_ + ',' + i_102_ + ',' + (class348_sub42_sub17_103_ != null ? "{...}" : "null") + ',' + i_104_ + ',' + i_105_ + ',' + i_106_ + ',' + (class348_sub42_sub17_107_ != null ? "{...}" : "null") + ',' + bool + ',' + i_108_ + ',' + (class348_sub42_sub17_109_ != null ? "{...}" : "null") + ',' + i_110_ + ',' + (bools != null ? "{...}" : "null") + ',' + i_111_ + ')')); - } - } - - abstract void ia(short i, short i_115_); - - final void method626(int i, int i_116_, int i_117_, int i_118_, int i_119_, int i_120_, int i_121_, s var_s, int i_122_) { - anInt1137++; - boolean bool = false; - boolean bool_123_ = false; - boolean bool_124_ = false; - int i_125_ = -i / 2; - int i_126_ = -i_119_ / 2; - int i_127_ = var_s.method3986(i_118_ + i_125_, i_126_ + i_122_, (byte) 10); - int i_128_ = i / 2; - int i_129_ = -i_119_ / 2; - int i_130_ = var_s.method3986(i_128_ + i_118_, i_122_ - -i_129_, (byte) -116); - int i_131_ = -i / 2; - int i_132_ = i_119_ / 2; - int i_133_ = var_s.method3986(i_118_ + i_131_, i_122_ - -i_132_, (byte) -111); - int i_134_ = i / 2; - if (i_116_ != 10947) EA(); - int i_135_ = i_119_ / 2; - int i_136_ = var_s.method3986(i_118_ + i_134_, i_135_ + i_122_, (byte) 50); - int i_137_ = Math.min(i_130_, i_127_); - int i_138_ = Math.min(i_136_, i_133_); - int i_139_ = Math.min(i_136_, i_130_); - if (i_119_ != 0) { - int i_140_ = 0x3fff & (int) (Math.atan2(i_137_ - i_138_, i_119_) * 2607.5945876176133); - if (i_140_ != 0) { - if (i_121_ != 0) { - if (i_140_ > 8192) { - int i_141_ = -i_121_ + 16384; - if (i_141_ > i_140_) i_140_ = i_141_; - } else if (i_140_ > i_121_) i_140_ = i_121_; - } - FA(i_140_); - } - } - int i_142_ = Math.min(i_133_, i_127_); - if (i != 0) { - int i_143_ = (0x3fff & (int) (Math.atan2(-i_139_ + i_142_, i) * 2607.5945876176133)); - if (i_143_ != 0) { - if (i_117_ != 0) { - if (i_143_ > 8192) { - int i_144_ = 16384 - i_117_; - if (i_144_ > i_143_) i_143_ = i_144_; - } else if (i_117_ < i_143_) i_143_ = i_117_; - } - VA(i_143_); - } - } - int i_145_ = i_136_ + i_127_; - if (i_133_ + i_130_ < i_145_) i_145_ = i_133_ + i_130_; - i_145_ = (i_145_ >> 1) - i_120_; - if (i_145_ != 0) H(0, i_145_, 0); - } - - private final void method627(int[] is, boolean bool, int i, int i_146_, int i_147_, int i_148_, byte i_149_, int i_150_, int[] is_151_, int i_152_) { - try { - anInt1132++; - if (i_149_ == -93) { - if (i != 1) { - if (i != 2) { - if (i == 3) { - if (i_147_ == 0 || i_147_ == 1) { - int i_155_ = i_150_; - i_150_ = -i_152_; - i_152_ = i_155_; - } else if (i_147_ == 3) { - int i_154_ = i_150_; - i_150_ = i_152_; - i_152_ = i_154_; - } else if (i_147_ == 2) { - int i_153_ = i_150_; - i_150_ = i_152_ & 0x3fff; - i_152_ = -i_153_ & 0x3fff; - } - } - } else if (i_147_ == 0 || i_147_ == 1) { - i_150_ = -i_150_; - i_152_ = -i_152_; - } else if (i_147_ == 2) { - i_152_ = 0x3fff & -i_152_; - i_150_ = 0x3fff & -i_150_; - } - } else if (i_147_ == 0 || i_147_ == 1) { - int i_156_ = -i_150_; - i_150_ = i_152_; - i_152_ = i_156_; - } else if (i_147_ == 3) { - int i_158_ = i_150_; - i_150_ = i_152_; - i_152_ = i_158_; - } else if (i_147_ == 2) { - int i_157_ = i_150_; - i_150_ = -i_152_ & 0x3fff; - i_152_ = i_157_ & 0x3fff; - } - if (i_148_ == 65535) method605(i_147_, is, i_150_, i_146_, i_152_, i, bool); - else I(i_147_, is, i_150_, i_146_, i_152_, bool, i_148_, is_151_); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ka.PB(" + (is != null ? "{...}" : "null") + ',' + bool + ',' + i + ',' + i_146_ + ',' + i_147_ + ',' + i_148_ + ',' + i_149_ + ',' + i_150_ + ',' + (is_151_ != null ? "{...}" : "null") + ',' + i_152_ + ')')); - } - } - - public Class64() { - /* empty */ - } - - abstract boolean method628(int i, int i_159_, Class101 class101, boolean bool, int i_160_); - - abstract void aa(short i, short i_161_); - - abstract r ba(r var_r); -} diff --git a/client/src/Class64_Sub1.java b/client/src/Class64_Sub1.java deleted file mode 100644 index e7fe2fe17..000000000 --- a/client/src/Class64_Sub1.java +++ /dev/null @@ -1,3227 +0,0 @@ -/* Class64_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class64_Sub1 extends Class64 { - private short[] aShortArray5311; - private int[] anIntArray5312; - private Class360[] aClass360Array5313; - private float[][] aFloatArrayArray5314; - private int[] anIntArray5315; - private int anInt5316; - private short[] aShortArray5317; - private int[] anIntArray5318; - private Class64_Sub1 aClass64_Sub1_5319; - private Class101_Sub1 aClass101_Sub1_5320; - private int[] anIntArray5321; - private Class129[] aClass129Array5322; - private boolean aBoolean5323 = false; - private short aShort5324; - private byte[] aByteArray5325; - private int[] anIntArray5326; - private short[] aShortArray5327; - private Class64_Sub1 aClass64_Sub1_5328; - private short aShort5329; - private int[][] anIntArrayArray5330; - private short aShort5331; - private int[] anIntArray5332; - private short[] aShortArray5333; - private int[][] anIntArrayArray5334; - private Class342[] aClass342Array5335; - private Class167 aClass167_5336; - private int[] anIntArray5337; - private int anInt5338; - private Class64_Sub1 aClass64_Sub1_5339; - private int anInt5340 = 0; - private static int anInt5341; - private int anInt5342; - private int[] anIntArray5343; - private int anInt5344; - private float[][] aFloatArrayArray5345; - static int anInt5346 = 4096; - private Class64_Sub1 aClass64_Sub1_5347; - private short aShort5348; - private int anInt5349; - static int anInt5350; - private int anInt5351; - private short aShort5352; - private final ha_Sub1 aHa_Sub1_5353; - private int anInt5354; - private int[] anIntArray5355; - private int[] anIntArray5356; - private boolean aBoolean5357 = false; - private byte[] aByteArray5358; - private int[] anIntArray5359; - private Class360[] aClass360Array5360; - private Class6[] aClass6Array5361; - private int[] anIntArray5362; - private Class350[] aClass350Array5363; - private short[] aShortArray5364; - private short aShort5365; - private int[] anIntArray5366; - private Class167 aClass167_5367; - private int[] anIntArray5368; - private boolean aBoolean5369; - private short[] aShortArray5370; - private int[] anIntArray5371; - private boolean aBoolean5372; - private int[] anIntArray5373; - private Class64_Sub1 aClass64_Sub1_5374; - private int anInt5375; - private Class64_Sub1 aClass64_Sub1_5376; - private int[] anIntArray5377; - private Class64_Sub1 aClass64_Sub1_5378; - private int[][] anIntArrayArray5379; - private boolean aBoolean5380; - private int[] anIntArray5381; - private boolean aBoolean5382; - private Class109 aClass109_5383; - private int[] anIntArray5384; - private Class41[] aClass41Array5385; - private byte[] aByteArray5386; - private int anInt5387; - private short[] aShortArray5388; - private int anInt5389; - private Class64_Sub1 aClass64_Sub1_5390; - private boolean aBoolean5391; - private int[] anIntArray5392; - private short aShort5393; - private short[] aShortArray5394; - private short aShort5395; - private Class64_Sub1 aClass64_Sub1_5396; - private Class64_Sub1 aClass64_Sub1_5397; - private int[] anIntArray5398; - private int[] anIntArray5399; - private int[] anIntArray5400; - - private final boolean method629(int i) { - if (aByteArray5325 == null) return false; - return aByteArray5325[i] != 0; - } - - private final boolean method630(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_) { - if (i_0_ < i_1_ && i_0_ < i_2_ && i_0_ < i_3_) return false; - if (i_0_ > i_1_ && i_0_ > i_2_ && i_0_ > i_3_) return false; - if (i < i_4_ && i < i_5_ && i < i_6_) return false; - return i <= i_4_ || i <= i_5_ || i <= i_6_; - } - - private final void method631() { - aClass360Array5360 = null; - aClass360Array5313 = null; - aClass41Array5385 = null; - aBoolean5323 = false; - } - - final int EA() { - if (!aBoolean5323) method655(); - return aShort5365; - } - - private final void method632(Thread thread) { - Class167 class167 = aHa_Sub1_5353.method3724(thread); - aClass109_5383 = class167.aClass109_2220; - if (class167 != aClass167_5367) { - aClass167_5367 = class167; - anIntArray5362 = aClass167_5367.anIntArray2222; - anIntArray5399 = aClass167_5367.anIntArray2244; - anIntArray5384 = aClass167_5367.anIntArray2214; - anIntArray5392 = aClass167_5367.anIntArray2237; - anIntArray5321 = aClass167_5367.anIntArray2234; - anIntArray5343 = aClass167_5367.anIntArray2230; - anIntArray5355 = aClass167_5367.anIntArray2213; - anIntArray5359 = aClass167_5367.anIntArray2218; - anIntArray5373 = aClass167_5367.anIntArray2241; - anIntArray5398 = aClass167_5367.anIntArray2245; - anIntArray5315 = aClass167_5367.anIntArray2238; - anIntArray5371 = aClass167_5367.anIntArray2247; - anIntArray5381 = aClass167_5367.anIntArray2235; - anIntArray5377 = aClass167_5367.anIntArray2240; - anIntArray5326 = aClass167_5367.anIntArray2236; - anIntArray5318 = aClass167_5367.anIntArray2216; - anIntArray5400 = aClass167_5367.anIntArray2242; - } - } - - private final Class64 method633(Class64_Sub1 class64_sub1_7_, Class64_Sub1 class64_sub1_8_, int i, boolean bool, boolean bool_9_) { - class64_sub1_7_.aBoolean5323 = aBoolean5323; - if (aBoolean5323) { - class64_sub1_7_.aShort5393 = aShort5393; - class64_sub1_7_.aShort5365 = aShort5365; - class64_sub1_7_.aShort5331 = aShort5331; - class64_sub1_7_.aShort5395 = aShort5395; - class64_sub1_7_.aShort5329 = aShort5329; - class64_sub1_7_.aShort5352 = aShort5352; - class64_sub1_7_.aShort5324 = aShort5324; - class64_sub1_7_.aShort5348 = aShort5348; - } - class64_sub1_7_.anInt5344 = anInt5344; - class64_sub1_7_.anInt5349 = anInt5349; - class64_sub1_7_.anInt5340 = anInt5340; - class64_sub1_7_.anInt5387 = anInt5387; - class64_sub1_7_.anInt5351 = anInt5351; - class64_sub1_7_.anInt5389 = anInt5389; - if ((i & 0x100) != 0) class64_sub1_7_.aBoolean5382 = true; - else class64_sub1_7_.aBoolean5382 = aBoolean5382; - class64_sub1_7_.aBoolean5391 = aBoolean5391; - boolean bool_10_ = (i & 0x7) == 7 | (i & 0x20) != 0; - boolean bool_11_ = bool_10_ || (i & 0x1) != 0; - boolean bool_12_ = bool_10_ || (i & 0x2) != 0; - boolean bool_13_ = bool_10_ || (i & 0x4) != 0 || (i & 0x10) != 0; - if (bool_11_ || bool_12_ || bool_13_) { - if (bool_11_) { - if (class64_sub1_8_.anIntArray5356 == null || class64_sub1_8_.anIntArray5356.length < anInt5340) class64_sub1_7_.anIntArray5356 = class64_sub1_8_.anIntArray5356 = new int[anInt5340]; - else class64_sub1_7_.anIntArray5356 = class64_sub1_8_.anIntArray5356; - for (int i_14_ = 0; i_14_ < anInt5340; i_14_++) - class64_sub1_7_.anIntArray5356[i_14_] = anIntArray5356[i_14_]; - } else class64_sub1_7_.anIntArray5356 = anIntArray5356; - if (bool_12_) { - if (class64_sub1_8_.anIntArray5332 == null || class64_sub1_8_.anIntArray5332.length < anInt5340) class64_sub1_7_.anIntArray5332 = class64_sub1_8_.anIntArray5332 = new int[anInt5340]; - else class64_sub1_7_.anIntArray5332 = class64_sub1_8_.anIntArray5332; - for (int i_15_ = 0; i_15_ < anInt5340; i_15_++) - class64_sub1_7_.anIntArray5332[i_15_] = anIntArray5332[i_15_]; - } else class64_sub1_7_.anIntArray5332 = anIntArray5332; - if (bool_13_) { - if (class64_sub1_8_.anIntArray5312 == null || class64_sub1_8_.anIntArray5312.length < anInt5340) class64_sub1_7_.anIntArray5312 = class64_sub1_8_.anIntArray5312 = new int[anInt5340]; - else class64_sub1_7_.anIntArray5312 = class64_sub1_8_.anIntArray5312; - for (int i_16_ = 0; i_16_ < anInt5340; i_16_++) - class64_sub1_7_.anIntArray5312[i_16_] = anIntArray5312[i_16_]; - } else class64_sub1_7_.anIntArray5312 = anIntArray5312; - } else { - class64_sub1_7_.anIntArray5356 = anIntArray5356; - class64_sub1_7_.anIntArray5332 = anIntArray5332; - class64_sub1_7_.anIntArray5312 = anIntArray5312; - } - if ((i & 0x84080) != 0) { - if (class64_sub1_8_.aShortArray5311 == null || class64_sub1_8_.aShortArray5311.length < anInt5351) { - int i_17_ = anInt5351; - class64_sub1_7_.aShortArray5311 = class64_sub1_8_.aShortArray5311 = new short[i_17_]; - } else class64_sub1_7_.aShortArray5311 = class64_sub1_8_.aShortArray5311; - for (int i_18_ = 0; i_18_ < anInt5351; i_18_++) - class64_sub1_7_.aShortArray5311[i_18_] = aShortArray5311[i_18_]; - } else class64_sub1_7_.aShortArray5311 = aShortArray5311; - if ((i & 0x97018) != 0) { - class64_sub1_7_.anInt5354 = 0; - class64_sub1_7_.anIntArray5368 = class64_sub1_7_.anIntArray5337 = class64_sub1_7_.anIntArray5366 = null; - } else if ((i & 0x80) == 0) { - if (bool_9_) method634(false); - class64_sub1_7_.anIntArray5368 = anIntArray5368; - class64_sub1_7_.anIntArray5337 = anIntArray5337; - class64_sub1_7_.anIntArray5366 = anIntArray5366; - class64_sub1_7_.anInt5354 = anInt5354; - } else { - if (bool_9_) method634(false); - if (anIntArray5368 != null) { - if (class64_sub1_8_.anIntArray5368 == null || class64_sub1_8_.anIntArray5368.length < anInt5351) { - int i_19_ = anInt5351; - class64_sub1_7_.anIntArray5368 = class64_sub1_8_.anIntArray5368 = new int[i_19_]; - class64_sub1_7_.anIntArray5337 = class64_sub1_8_.anIntArray5337 = new int[i_19_]; - class64_sub1_7_.anIntArray5366 = class64_sub1_8_.anIntArray5366 = new int[i_19_]; - } else { - class64_sub1_7_.anIntArray5368 = class64_sub1_8_.anIntArray5368; - class64_sub1_7_.anIntArray5337 = class64_sub1_8_.anIntArray5337; - class64_sub1_7_.anIntArray5366 = class64_sub1_8_.anIntArray5366; - } - for (int i_20_ = 0; i_20_ < anInt5351; i_20_++) { - class64_sub1_7_.anIntArray5368[i_20_] = anIntArray5368[i_20_]; - class64_sub1_7_.anIntArray5337[i_20_] = anIntArray5337[i_20_]; - class64_sub1_7_.anIntArray5366[i_20_] = anIntArray5366[i_20_]; - } - } - class64_sub1_7_.anInt5354 = anInt5354; - } - if ((i & 0x100) != 0) { - if (class64_sub1_8_.aByteArray5325 == null || class64_sub1_8_.aByteArray5325.length < anInt5351) { - int i_21_ = anInt5351; - class64_sub1_7_.aByteArray5325 = class64_sub1_8_.aByteArray5325 = new byte[i_21_]; - } else class64_sub1_7_.aByteArray5325 = class64_sub1_8_.aByteArray5325; - if (aByteArray5325 == null) { - for (int i_23_ = 0; i_23_ < anInt5351; i_23_++) - class64_sub1_7_.aByteArray5325[i_23_] = (byte) 0; - } else { - for (int i_22_ = 0; i_22_ < anInt5351; i_22_++) - class64_sub1_7_.aByteArray5325[i_22_] = aByteArray5325[i_22_]; - } - } else class64_sub1_7_.aByteArray5325 = aByteArray5325; - if ((i & 0x8) != 0 || (i & 0x10) != 0) { - if (class64_sub1_8_.aClass360Array5360 == null || class64_sub1_8_.aClass360Array5360.length < anInt5387) { - int i_24_ = anInt5387; - class64_sub1_7_.aClass360Array5360 = class64_sub1_8_.aClass360Array5360 = new Class360[i_24_]; - } else class64_sub1_7_.aClass360Array5360 = class64_sub1_8_.aClass360Array5360; - if (aClass360Array5360 != null) { - for (int i_25_ = 0; i_25_ < anInt5387; i_25_++) - class64_sub1_7_.aClass360Array5360[i_25_] = new Class360(aClass360Array5360[i_25_]); - } else class64_sub1_7_.aClass360Array5360 = null; - if (aClass41Array5385 != null) { - if (class64_sub1_8_.aClass41Array5385 == null || class64_sub1_8_.aClass41Array5385.length < anInt5351) { - int i_26_ = anInt5351; - class64_sub1_7_.aClass41Array5385 = class64_sub1_8_.aClass41Array5385 = new Class41[i_26_]; - } else class64_sub1_7_.aClass41Array5385 = class64_sub1_8_.aClass41Array5385; - for (int i_27_ = 0; i_27_ < anInt5351; i_27_++) - class64_sub1_7_.aClass41Array5385[i_27_] = (aClass41Array5385[i_27_] != null ? new Class41(aClass41Array5385[i_27_]) : null); - } else class64_sub1_7_.aClass41Array5385 = null; - } else { - if (bool_9_) method636(); - class64_sub1_7_.aClass360Array5360 = aClass360Array5360; - class64_sub1_7_.aClass41Array5385 = aClass41Array5385; - } - if ((i & 0x8000) != 0) { - if (aShortArray5388 == null) class64_sub1_7_.aShortArray5388 = null; - else { - if (class64_sub1_8_.aShortArray5388 == null || class64_sub1_8_.aShortArray5388.length < anInt5351) { - int i_28_ = anInt5351; - class64_sub1_7_.aShortArray5388 = class64_sub1_8_.aShortArray5388 = new short[i_28_]; - } else class64_sub1_7_.aShortArray5388 = class64_sub1_8_.aShortArray5388; - for (int i_29_ = 0; i_29_ < anInt5351; i_29_++) - class64_sub1_7_.aShortArray5388[i_29_] = aShortArray5388[i_29_]; - } - } else class64_sub1_7_.aShortArray5388 = aShortArray5388; - if ((i & 0x10000) != 0) { - if (aByteArray5386 == null) class64_sub1_7_.aByteArray5386 = null; - else { - if (class64_sub1_8_.aByteArray5386 == null || class64_sub1_8_.aByteArray5386.length < anInt5351) { - int i_30_ = bool ? anInt5351 + 100 : anInt5351; - class64_sub1_7_.aByteArray5386 = class64_sub1_8_.aByteArray5386 = new byte[i_30_]; - } else class64_sub1_7_.aByteArray5386 = class64_sub1_8_.aByteArray5386; - for (int i_31_ = 0; i_31_ < anInt5351; i_31_++) - class64_sub1_7_.aByteArray5386[i_31_] = aByteArray5386[i_31_]; - } - } else class64_sub1_7_.aByteArray5386 = aByteArray5386; - if ((i & 0xc580) != 0) { - if (class64_sub1_8_.aClass350Array5363 == null || class64_sub1_8_.aClass350Array5363.length < anInt5389) { - int i_32_ = anInt5389; - class64_sub1_7_.aClass350Array5363 = class64_sub1_8_.aClass350Array5363 = new Class350[i_32_]; - for (int i_33_ = 0; i_33_ < anInt5389; i_33_++) - class64_sub1_7_.aClass350Array5363[i_33_] = aClass350Array5363[i_33_].method3453(true); - } else { - class64_sub1_7_.aClass350Array5363 = class64_sub1_8_.aClass350Array5363; - for (int i_34_ = 0; i_34_ < anInt5389; i_34_++) - class64_sub1_7_.aClass350Array5363[i_34_].method3454(aClass350Array5363[i_34_], true); - } - } else class64_sub1_7_.aClass350Array5363 = aClass350Array5363; - if (aFloatArrayArray5314 == null || (i & 0x10) == 0) { - class64_sub1_7_.aFloatArrayArray5314 = aFloatArrayArray5314; - class64_sub1_7_.aFloatArrayArray5345 = aFloatArrayArray5345; - } else { - if (class64_sub1_8_.aFloatArrayArray5314 == null || class64_sub1_8_.aFloatArrayArray5314.length < anInt5351) { - int i_35_ = bool ? anInt5351 + 100 : anInt5351; - class64_sub1_7_.aFloatArrayArray5314 = class64_sub1_8_.aFloatArrayArray5314 = new float[i_35_][3]; - } else class64_sub1_7_.aFloatArrayArray5314 = class64_sub1_8_.aFloatArrayArray5314; - for (int i_36_ = 0; i_36_ < anInt5351; i_36_++) { - if (aFloatArrayArray5314[i_36_] != null) { - class64_sub1_7_.aFloatArrayArray5314[i_36_][0] = aFloatArrayArray5314[i_36_][0]; - class64_sub1_7_.aFloatArrayArray5314[i_36_][1] = aFloatArrayArray5314[i_36_][1]; - class64_sub1_7_.aFloatArrayArray5314[i_36_][2] = aFloatArrayArray5314[i_36_][2]; - } - } - if (class64_sub1_8_.aFloatArrayArray5345 == null || class64_sub1_8_.aFloatArrayArray5345.length < anInt5351) { - int i_37_ = bool ? anInt5351 + 100 : anInt5351; - class64_sub1_7_.aFloatArrayArray5345 = class64_sub1_8_.aFloatArrayArray5345 = new float[i_37_][3]; - } else class64_sub1_7_.aFloatArrayArray5345 = class64_sub1_8_.aFloatArrayArray5345; - for (int i_38_ = 0; i_38_ < anInt5351; i_38_++) { - if (aFloatArrayArray5345[i_38_] != null) { - class64_sub1_7_.aFloatArrayArray5345[i_38_][0] = aFloatArrayArray5345[i_38_][0]; - class64_sub1_7_.aFloatArrayArray5345[i_38_][1] = aFloatArrayArray5345[i_38_][1]; - class64_sub1_7_.aFloatArrayArray5345[i_38_][2] = aFloatArrayArray5345[i_38_][2]; - } - } - } - class64_sub1_7_.anIntArrayArray5334 = anIntArrayArray5334; - class64_sub1_7_.anIntArrayArray5330 = anIntArrayArray5330; - class64_sub1_7_.anIntArrayArray5379 = anIntArrayArray5379; - class64_sub1_7_.aShortArray5333 = aShortArray5333; - class64_sub1_7_.aShortArray5370 = aShortArray5370; - class64_sub1_7_.aByteArray5358 = aByteArray5358; - class64_sub1_7_.aShortArray5317 = aShortArray5317; - class64_sub1_7_.aShortArray5394 = aShortArray5394; - class64_sub1_7_.aShortArray5364 = aShortArray5364; - class64_sub1_7_.aClass129Array5322 = aClass129Array5322; - class64_sub1_7_.aClass342Array5335 = aClass342Array5335; - class64_sub1_7_.aClass6Array5361 = aClass6Array5361; - class64_sub1_7_.aShortArray5327 = aShortArray5327; - class64_sub1_7_.anInt5316 = i; - return class64_sub1_7_; - } - - private final void method634(boolean bool) { - if (aHa_Sub1_5353.anInt7485 > 1) { - synchronized (this) { - method657(bool); - } - } else method657(bool); - } - - final Class129[] method619() { - return aClass129Array5322; - } - - final int V() { - if (!aBoolean5323) method655(); - return aShort5395; - } - - private final void method635(int i) { - short i_39_ = aShortArray5317[i]; - short i_40_ = aShortArray5394[i]; - short i_41_ = aShortArray5364[i]; - if (aShortArray5388 == null || aShortArray5388[i] == -1) { - if (aByteArray5325 == null) aClass109_5383.anInt1674 = 0; - else aClass109_5383.anInt1674 = aByteArray5325[i] & 0xff; - if (anIntArray5366[i] == -1) - aClass109_5383.method1018((float) anIntArray5343[i_39_], (float) anIntArray5343[i_40_], (float) anIntArray5343[i_41_], (float) anIntArray5321[i_39_], (float) anIntArray5321[i_40_], (float) anIntArray5321[i_41_], (float) anIntArray5355[i_39_], (float) anIntArray5355[i_40_], (float) anIntArray5355[i_41_], (Class126.anIntArray4983[anIntArray5368[i] & 0xffff])); - else - aClass109_5383.method1022((float) anIntArray5343[i_39_], (float) anIntArray5343[i_40_], (float) anIntArray5343[i_41_], (float) anIntArray5321[i_39_], (float) anIntArray5321[i_40_], (float) anIntArray5321[i_41_], (float) anIntArray5355[i_39_], (float) anIntArray5355[i_40_], (float) anIntArray5355[i_41_], (float) (anIntArray5368[i] & 0xffff), (float) (anIntArray5337[i] & 0xffff), (float) (anIntArray5366[i] & 0xffff)); - } else { - int i_42_ = -16777216; - if (aByteArray5325 != null) i_42_ = 255 - (aByteArray5325[i] & 0xff) << 24; - if (anIntArray5366[i] == -1) { - int i_43_ = i_42_ | anIntArray5368[i] & 0xffffff; - aClass109_5383.method1024((float) anIntArray5343[i_39_], (float) anIntArray5343[i_40_], (float) anIntArray5343[i_41_], (float) anIntArray5321[i_39_], (float) anIntArray5321[i_40_], (float) anIntArray5321[i_41_], (float) anIntArray5355[i_39_], (float) anIntArray5355[i_40_], (float) anIntArray5355[i_41_], aFloatArrayArray5314[i][0], aFloatArrayArray5314[i][1], aFloatArrayArray5314[i][2], aFloatArrayArray5345[i][0], aFloatArrayArray5345[i][1], aFloatArrayArray5345[i][2], i_43_, i_43_, i_43_, aClass167_5367.anInt2192, 0, 0, 0, aShortArray5388[i]); - } else - aClass109_5383.method1024((float) anIntArray5343[i_39_], (float) anIntArray5343[i_40_], (float) anIntArray5343[i_41_], (float) anIntArray5321[i_39_], (float) anIntArray5321[i_40_], (float) anIntArray5321[i_41_], (float) anIntArray5355[i_39_], (float) anIntArray5355[i_40_], (float) anIntArray5355[i_41_], aFloatArrayArray5314[i][0], aFloatArrayArray5314[i][1], aFloatArrayArray5314[i][2], aFloatArrayArray5345[i][0], aFloatArrayArray5345[i][1], aFloatArrayArray5345[i][2], i_42_ | anIntArray5368[i] & 0xffffff, i_42_ | anIntArray5337[i] & 0xffffff, i_42_ | anIntArray5366[i] & 0xffffff, (aClass167_5367.anInt2192), 0, 0, 0, aShortArray5388[i]); - } - } - - final void method615(Class101 class101, Class318_Sub3 class318_sub3, int i) { - method654(class101, class318_sub3, -1, i); - } - - final int HA() { - if (!aBoolean5323) method655(); - return aShort5352; - } - - final void method605(int i, int[] is, int i_44_, int i_45_, int i_46_, int i_47_, boolean bool) { - int i_48_ = is.length; - if (i == 0) { - i_44_ <<= 4; - i_45_ <<= 4; - i_46_ <<= 4; - if (!aBoolean5372) { - for (int i_49_ = 0; i_49_ < anInt5340; i_49_++) { - anIntArray5356[i_49_] <<= 4; - anIntArray5332[i_49_] <<= 4; - anIntArray5312[i_49_] <<= 4; - } - aBoolean5372 = true; - } - int i_50_ = 0; - anInt5338 = 0; - anInt5375 = 0; - anInt5342 = 0; - for (int i_51_ = 0; i_51_ < i_48_; i_51_++) { - int i_52_ = is[i_51_]; - if (i_52_ < anIntArrayArray5334.length) { - int[] is_53_ = anIntArrayArray5334[i_52_]; - for (int i_54_ = 0; i_54_ < is_53_.length; i_54_++) { - int i_55_ = is_53_[i_54_]; - anInt5338 += anIntArray5356[i_55_]; - anInt5375 += anIntArray5332[i_55_]; - anInt5342 += anIntArray5312[i_55_]; - i_50_++; - } - } - } - if (i_50_ > 0) { - anInt5338 = anInt5338 / i_50_ + i_44_; - anInt5375 = anInt5375 / i_50_ + i_45_; - anInt5342 = anInt5342 / i_50_ + i_46_; - } else { - anInt5338 = i_44_; - anInt5375 = i_45_; - anInt5342 = i_46_; - } - } else if (i == 1) { - i_44_ <<= 4; - i_45_ <<= 4; - i_46_ <<= 4; - if (!aBoolean5372) { - for (int i_56_ = 0; i_56_ < anInt5340; i_56_++) { - anIntArray5356[i_56_] <<= 4; - anIntArray5332[i_56_] <<= 4; - anIntArray5312[i_56_] <<= 4; - } - aBoolean5372 = true; - } - for (int i_57_ = 0; i_57_ < i_48_; i_57_++) { - int i_58_ = is[i_57_]; - if (i_58_ < anIntArrayArray5334.length) { - int[] is_59_ = anIntArrayArray5334[i_58_]; - for (int i_60_ = 0; i_60_ < is_59_.length; i_60_++) { - int i_61_ = is_59_[i_60_]; - anIntArray5356[i_61_] += i_44_; - anIntArray5332[i_61_] += i_45_; - anIntArray5312[i_61_] += i_46_; - } - } - } - } else if (i == 2) { - for (int i_62_ = 0; i_62_ < i_48_; i_62_++) { - int i_63_ = is[i_62_]; - if (i_63_ < anIntArrayArray5334.length) { - int[] is_64_ = anIntArrayArray5334[i_63_]; - if ((i_47_ & 0x1) == 0) { - for (int i_65_ = 0; i_65_ < is_64_.length; i_65_++) { - int i_66_ = is_64_[i_65_]; - anIntArray5356[i_66_] -= anInt5338; - anIntArray5332[i_66_] -= anInt5375; - anIntArray5312[i_66_] -= anInt5342; - if (i_46_ != 0) { - int i_67_ = Class70.anIntArray1207[i_46_]; - int i_68_ = Class70.anIntArray1204[i_46_]; - int i_69_ = ((anIntArray5332[i_66_] * i_67_ + anIntArray5356[i_66_] * i_68_ + 16383) >> 14); - anIntArray5332[i_66_] = (anIntArray5332[i_66_] * i_68_ - anIntArray5356[i_66_] * i_67_ + 16383) >> 14; - anIntArray5356[i_66_] = i_69_; - } - if (i_44_ != 0) { - int i_70_ = Class70.anIntArray1207[i_44_]; - int i_71_ = Class70.anIntArray1204[i_44_]; - int i_72_ = ((anIntArray5332[i_66_] * i_71_ - anIntArray5312[i_66_] * i_70_ + 16383) >> 14); - anIntArray5312[i_66_] = (anIntArray5332[i_66_] * i_70_ + anIntArray5312[i_66_] * i_71_ + 16383) >> 14; - anIntArray5332[i_66_] = i_72_; - } - if (i_45_ != 0) { - int i_73_ = Class70.anIntArray1207[i_45_]; - int i_74_ = Class70.anIntArray1204[i_45_]; - int i_75_ = ((anIntArray5312[i_66_] * i_73_ + anIntArray5356[i_66_] * i_74_ + 16383) >> 14); - anIntArray5312[i_66_] = (anIntArray5312[i_66_] * i_74_ - anIntArray5356[i_66_] * i_73_ + 16383) >> 14; - anIntArray5356[i_66_] = i_75_; - } - anIntArray5356[i_66_] += anInt5338; - anIntArray5332[i_66_] += anInt5375; - anIntArray5312[i_66_] += anInt5342; - } - } else { - for (int i_76_ = 0; i_76_ < is_64_.length; i_76_++) { - int i_77_ = is_64_[i_76_]; - anIntArray5356[i_77_] -= anInt5338; - anIntArray5332[i_77_] -= anInt5375; - anIntArray5312[i_77_] -= anInt5342; - if (i_44_ != 0) { - int i_78_ = Class70.anIntArray1207[i_44_]; - int i_79_ = Class70.anIntArray1204[i_44_]; - int i_80_ = ((anIntArray5332[i_77_] * i_79_ - anIntArray5312[i_77_] * i_78_ + 16383) >> 14); - anIntArray5312[i_77_] = (anIntArray5332[i_77_] * i_78_ + anIntArray5312[i_77_] * i_79_ + 16383) >> 14; - anIntArray5332[i_77_] = i_80_; - } - if (i_46_ != 0) { - int i_81_ = Class70.anIntArray1207[i_46_]; - int i_82_ = Class70.anIntArray1204[i_46_]; - int i_83_ = ((anIntArray5332[i_77_] * i_81_ + anIntArray5356[i_77_] * i_82_ + 16383) >> 14); - anIntArray5332[i_77_] = (anIntArray5332[i_77_] * i_82_ - anIntArray5356[i_77_] * i_81_ + 16383) >> 14; - anIntArray5356[i_77_] = i_83_; - } - if (i_45_ != 0) { - int i_84_ = Class70.anIntArray1207[i_45_]; - int i_85_ = Class70.anIntArray1204[i_45_]; - int i_86_ = ((anIntArray5312[i_77_] * i_84_ + anIntArray5356[i_77_] * i_85_ + 16383) >> 14); - anIntArray5312[i_77_] = (anIntArray5312[i_77_] * i_85_ - anIntArray5356[i_77_] * i_84_ + 16383) >> 14; - anIntArray5356[i_77_] = i_86_; - } - anIntArray5356[i_77_] += anInt5338; - anIntArray5332[i_77_] += anInt5375; - anIntArray5312[i_77_] += anInt5342; - } - } - } - } - } else if (i == 3) { - for (int i_87_ = 0; i_87_ < i_48_; i_87_++) { - int i_88_ = is[i_87_]; - if (i_88_ < anIntArrayArray5334.length) { - int[] is_89_ = anIntArrayArray5334[i_88_]; - for (int i_90_ = 0; i_90_ < is_89_.length; i_90_++) { - int i_91_ = is_89_[i_90_]; - anIntArray5356[i_91_] -= anInt5338; - anIntArray5332[i_91_] -= anInt5375; - anIntArray5312[i_91_] -= anInt5342; - anIntArray5356[i_91_] = anIntArray5356[i_91_] * i_44_ / 128; - anIntArray5332[i_91_] = anIntArray5332[i_91_] * i_45_ / 128; - anIntArray5312[i_91_] = anIntArray5312[i_91_] * i_46_ / 128; - anIntArray5356[i_91_] += anInt5338; - anIntArray5332[i_91_] += anInt5375; - anIntArray5312[i_91_] += anInt5342; - } - } - } - } else if (i == 5) { - if (anIntArrayArray5330 != null && aByteArray5325 != null) { - for (int i_92_ = 0; i_92_ < i_48_; i_92_++) { - int i_93_ = is[i_92_]; - if (i_93_ < anIntArrayArray5330.length) { - int[] is_94_ = anIntArrayArray5330[i_93_]; - for (int i_95_ = 0; i_95_ < is_94_.length; i_95_++) { - int i_96_ = is_94_[i_95_]; - int i_97_ = (aByteArray5325[i_96_] & 0xff) + i_44_ * 8; - if (i_97_ < 0) i_97_ = 0; - else if (i_97_ > 255) i_97_ = 255; - aByteArray5325[i_96_] = (byte) i_97_; - } - } - } - if (aClass6Array5361 != null) { - for (int i_98_ = 0; i_98_ < anInt5389; i_98_++) { - Class6 class6 = aClass6Array5361[i_98_]; - Class350 class350 = aClass350Array5363[i_98_]; - class350.anInt4313 = (class350.anInt4313 & 0xffffff | (255 - (aByteArray5325[class6.anInt144] & 0xff)) << 24); - } - } - } - } else if (i == 7) { - if (anIntArrayArray5330 != null) { - for (int i_99_ = 0; i_99_ < i_48_; i_99_++) { - int i_100_ = is[i_99_]; - if (i_100_ < anIntArrayArray5330.length) { - int[] is_101_ = anIntArrayArray5330[i_100_]; - for (int i_102_ = 0; i_102_ < is_101_.length; i_102_++) { - int i_103_ = is_101_[i_102_]; - int i_104_ = aShortArray5311[i_103_] & 0xffff; - int i_105_ = i_104_ >> 10 & 0x3f; - int i_106_ = i_104_ >> 7 & 0x7; - int i_107_ = i_104_ & 0x7f; - i_105_ = i_105_ + i_44_ & 0x3f; - i_106_ += i_45_; - if (i_106_ < 0) i_106_ = 0; - else if (i_106_ > 7) i_106_ = 7; - i_107_ += i_46_; - if (i_107_ < 0) i_107_ = 0; - else if (i_107_ > 127) i_107_ = 127; - aShortArray5311[i_103_] = (short) (i_105_ << 10 | i_106_ << 7 | i_107_); - } - aBoolean5380 = true; - } - } - if (aClass6Array5361 != null) { - for (int i_108_ = 0; i_108_ < anInt5389; i_108_++) { - Class6 class6 = aClass6Array5361[i_108_]; - Class350 class350 = aClass350Array5363[i_108_]; - class350.anInt4313 = (class350.anInt4313 & ~0xffffff | ((Class126.anIntArray4983[Class25.method303((aShortArray5311[(class6.anInt144)]) & 0xffff, 30) & 0xffff]) & 0xffffff)); - } - } - } - } else if (i == 8) { - if (anIntArrayArray5379 != null) { - for (int i_109_ = 0; i_109_ < i_48_; i_109_++) { - int i_110_ = is[i_109_]; - if (i_110_ < anIntArrayArray5379.length) { - int[] is_111_ = anIntArrayArray5379[i_110_]; - for (int i_112_ = 0; i_112_ < is_111_.length; i_112_++) { - Class350 class350 = aClass350Array5363[is_111_[i_112_]]; - class350.anInt4316 += i_44_; - class350.anInt4317 += i_45_; - } - } - } - } - } else if (i == 10) { - if (anIntArrayArray5379 != null) { - for (int i_113_ = 0; i_113_ < i_48_; i_113_++) { - int i_114_ = is[i_113_]; - if (i_114_ < anIntArrayArray5379.length) { - int[] is_115_ = anIntArrayArray5379[i_114_]; - for (int i_116_ = 0; i_116_ < is_115_.length; i_116_++) { - Class350 class350 = aClass350Array5363[is_115_[i_116_]]; - class350.anInt4314 = class350.anInt4314 * i_44_ >> 7; - class350.anInt4311 = class350.anInt4311 * i_45_ >> 7; - } - } - } - } - } else if (i == 9 && anIntArrayArray5379 != null) { - for (int i_117_ = 0; i_117_ < i_48_; i_117_++) { - int i_118_ = is[i_117_]; - if (i_118_ < anIntArrayArray5379.length) { - int[] is_119_ = anIntArrayArray5379[i_118_]; - for (int i_120_ = 0; i_120_ < is_119_.length; i_120_++) { - Class350 class350 = aClass350Array5363[is_119_[i_120_]]; - class350.anInt4308 = class350.anInt4308 + i_44_ & 0x3fff; - } - } - } - } - } - - final void FA(int i) { - if ((anInt5316 & 0x6) != 6) throw new IllegalStateException(); - int i_121_ = Class70.anIntArray1207[i]; - int i_122_ = Class70.anIntArray1204[i]; - synchronized (this) { - for (int i_123_ = 0; i_123_ < anInt5340; i_123_++) { - int i_124_ = ((anIntArray5332[i_123_] * i_122_ - anIntArray5312[i_123_] * i_121_) >> 14); - anIntArray5312[i_123_] = (anIntArray5332[i_123_] * i_121_ + anIntArray5312[i_123_] * i_122_) >> 14; - anIntArray5332[i_123_] = i_124_; - } - method631(); - } - } - - final void method622() { - if (aHa_Sub1_5353.anInt7485 > 1) { - synchronized (this) { - while (this.aBoolean1124) { - try { - this.wait(); - } catch (InterruptedException interruptedexception) { - /* empty */ - } - } - this.aBoolean1124 = true; - } - } - } - - final int G() { - if (!aBoolean5323) method655(); - return aShort5331; - } - - final void I(int i, int[] is, int i_125_, int i_126_, int i_127_, boolean bool, int i_128_, int[] is_129_) { - int i_130_ = is.length; - if (i == 0) { - i_125_ <<= 4; - i_126_ <<= 4; - i_127_ <<= 4; - if (!aBoolean5372) { - for (int i_131_ = 0; i_131_ < anInt5340; i_131_++) { - anIntArray5356[i_131_] <<= 4; - anIntArray5332[i_131_] <<= 4; - anIntArray5312[i_131_] <<= 4; - } - aBoolean5372 = true; - } - int i_132_ = 0; - anInt5338 = 0; - anInt5375 = 0; - anInt5342 = 0; - for (int i_133_ = 0; i_133_ < i_130_; i_133_++) { - int i_134_ = is[i_133_]; - if (i_134_ < anIntArrayArray5334.length) { - int[] is_135_ = anIntArrayArray5334[i_134_]; - for (int i_136_ = 0; i_136_ < is_135_.length; i_136_++) { - int i_137_ = is_135_[i_136_]; - if (aShortArray5333 == null || (i_128_ & aShortArray5333[i_137_]) != 0) { - anInt5338 += anIntArray5356[i_137_]; - anInt5375 += anIntArray5332[i_137_]; - anInt5342 += anIntArray5312[i_137_]; - i_132_++; - } - } - } - } - if (i_132_ > 0) { - anInt5338 = anInt5338 / i_132_ + i_125_; - anInt5375 = anInt5375 / i_132_ + i_126_; - anInt5342 = anInt5342 / i_132_ + i_127_; - aBoolean5369 = true; - } else { - anInt5338 = i_125_; - anInt5375 = i_126_; - anInt5342 = i_127_; - } - } else if (i == 1) { - if (is_129_ != null) { - int i_138_ = ((is_129_[0] * i_125_ + is_129_[1] * i_126_ + is_129_[2] * i_127_ + 8192) >> 14); - int i_139_ = ((is_129_[3] * i_125_ + is_129_[4] * i_126_ + is_129_[5] * i_127_ + 8192) >> 14); - int i_140_ = ((is_129_[6] * i_125_ + is_129_[7] * i_126_ + is_129_[8] * i_127_ + 8192) >> 14); - i_125_ = i_138_; - i_126_ = i_139_; - i_127_ = i_140_; - } - i_125_ <<= 4; - i_126_ <<= 4; - i_127_ <<= 4; - if (!aBoolean5372) { - for (int i_141_ = 0; i_141_ < anInt5340; i_141_++) { - anIntArray5356[i_141_] <<= 4; - anIntArray5332[i_141_] <<= 4; - anIntArray5312[i_141_] <<= 4; - } - aBoolean5372 = true; - } - for (int i_142_ = 0; i_142_ < i_130_; i_142_++) { - int i_143_ = is[i_142_]; - if (i_143_ < anIntArrayArray5334.length) { - int[] is_144_ = anIntArrayArray5334[i_143_]; - for (int i_145_ = 0; i_145_ < is_144_.length; i_145_++) { - int i_146_ = is_144_[i_145_]; - if (aShortArray5333 == null || (i_128_ & aShortArray5333[i_146_]) != 0) { - anIntArray5356[i_146_] += i_125_; - anIntArray5332[i_146_] += i_126_; - anIntArray5312[i_146_] += i_127_; - } - } - } - } - } else if (i == 2) { - if (is_129_ == null) { - for (int i_196_ = 0; i_196_ < i_130_; i_196_++) { - int i_197_ = is[i_196_]; - if (i_197_ < anIntArrayArray5334.length) { - int[] is_198_ = anIntArrayArray5334[i_197_]; - for (int i_199_ = 0; i_199_ < is_198_.length; i_199_++) { - int i_200_ = is_198_[i_199_]; - if (aShortArray5333 == null || (i_128_ & aShortArray5333[i_200_]) != 0) { - anIntArray5356[i_200_] -= anInt5338; - anIntArray5332[i_200_] -= anInt5375; - anIntArray5312[i_200_] -= anInt5342; - if (i_127_ != 0) { - int i_201_ = Class70.anIntArray1207[i_127_]; - int i_202_ = Class70.anIntArray1204[i_127_]; - int i_203_ = ((anIntArray5332[i_200_] * i_201_ + anIntArray5356[i_200_] * i_202_ + 16383) >> 14); - anIntArray5332[i_200_] = (anIntArray5332[i_200_] * i_202_ - anIntArray5356[i_200_] * i_201_ + 16383) >> 14; - anIntArray5356[i_200_] = i_203_; - } - if (i_125_ != 0) { - int i_204_ = Class70.anIntArray1207[i_125_]; - int i_205_ = Class70.anIntArray1204[i_125_]; - int i_206_ = ((anIntArray5332[i_200_] * i_205_ - anIntArray5312[i_200_] * i_204_ + 16383) >> 14); - anIntArray5312[i_200_] = (anIntArray5332[i_200_] * i_204_ + anIntArray5312[i_200_] * i_205_ + 16383) >> 14; - anIntArray5332[i_200_] = i_206_; - } - if (i_126_ != 0) { - int i_207_ = Class70.anIntArray1207[i_126_]; - int i_208_ = Class70.anIntArray1204[i_126_]; - int i_209_ = ((anIntArray5312[i_200_] * i_207_ + anIntArray5356[i_200_] * i_208_ + 16383) >> 14); - anIntArray5312[i_200_] = (anIntArray5312[i_200_] * i_208_ - anIntArray5356[i_200_] * i_207_ + 16383) >> 14; - anIntArray5356[i_200_] = i_209_; - } - anIntArray5356[i_200_] += anInt5338; - anIntArray5332[i_200_] += anInt5375; - anIntArray5312[i_200_] += anInt5342; - } - } - } - } - } else { - if (!aBoolean5372) { - for (int i_147_ = 0; i_147_ < anInt5340; i_147_++) { - anIntArray5356[i_147_] <<= 4; - anIntArray5332[i_147_] <<= 4; - anIntArray5312[i_147_] <<= 4; - } - aBoolean5372 = true; - } - int i_148_ = is_129_[9] << 4; - int i_149_ = is_129_[10] << 4; - int i_150_ = is_129_[11] << 4; - int i_151_ = is_129_[12] << 4; - int i_152_ = is_129_[13] << 4; - int i_153_ = is_129_[14] << 4; - if (aBoolean5369) { - int i_154_ = ((is_129_[0] * anInt5338 + is_129_[3] * anInt5375 + is_129_[6] * anInt5342 + 8192) >> 14); - int i_155_ = ((is_129_[1] * anInt5338 + is_129_[4] * anInt5375 + is_129_[7] * anInt5342 + 8192) >> 14); - int i_156_ = ((is_129_[2] * anInt5338 + is_129_[5] * anInt5375 + is_129_[8] * anInt5342 + 8192) >> 14); - i_154_ += i_151_; - i_155_ += i_152_; - i_156_ += i_153_; - anInt5338 = i_154_; - anInt5375 = i_155_; - anInt5342 = i_156_; - aBoolean5369 = false; - } - int[] is_157_ = new int[9]; - int i_158_ = Class70.anIntArray1204[i_125_]; - int i_159_ = Class70.anIntArray1207[i_125_]; - int i_160_ = Class70.anIntArray1204[i_126_]; - int i_161_ = Class70.anIntArray1207[i_126_]; - int i_162_ = Class70.anIntArray1204[i_127_]; - int i_163_ = Class70.anIntArray1207[i_127_]; - int i_164_ = i_159_ * i_162_ + 8192 >> 14; - int i_165_ = i_159_ * i_163_ + 8192 >> 14; - is_157_[0] = i_160_ * i_162_ + i_161_ * i_165_ + 8192 >> 14; - is_157_[1] = -i_160_ * i_163_ + i_161_ * i_164_ + 8192 >> 14; - is_157_[2] = i_161_ * i_158_ + 8192 >> 14; - is_157_[3] = i_158_ * i_163_ + 8192 >> 14; - is_157_[4] = i_158_ * i_162_ + 8192 >> 14; - is_157_[5] = -i_159_; - is_157_[6] = -i_161_ * i_162_ + i_160_ * i_165_ + 8192 >> 14; - is_157_[7] = i_161_ * i_163_ + i_160_ * i_164_ + 8192 >> 14; - is_157_[8] = i_160_ * i_158_ + 8192 >> 14; - int i_166_ = (is_157_[0] * -anInt5338 + is_157_[1] * -anInt5375 + is_157_[2] * -anInt5342 + 8192) >> 14; - int i_167_ = (is_157_[3] * -anInt5338 + is_157_[4] * -anInt5375 + is_157_[5] * -anInt5342 + 8192) >> 14; - int i_168_ = (is_157_[6] * -anInt5338 + is_157_[7] * -anInt5375 + is_157_[8] * -anInt5342 + 8192) >> 14; - int i_169_ = i_166_ + anInt5338; - int i_170_ = i_167_ + anInt5375; - int i_171_ = i_168_ + anInt5342; - int[] is_172_ = new int[9]; - for (int i_173_ = 0; i_173_ < 3; i_173_++) { - for (int i_174_ = 0; i_174_ < 3; i_174_++) { - int i_175_ = 0; - for (int i_176_ = 0; i_176_ < 3; i_176_++) - i_175_ += (is_157_[i_173_ * 3 + i_176_] * is_129_[i_174_ * 3 + i_176_]); - is_172_[i_173_ * 3 + i_174_] = i_175_ + 8192 >> 14; - } - } - int i_177_ = ((is_157_[0] * i_151_ + is_157_[1] * i_152_ + is_157_[2] * i_153_ + 8192) >> 14); - int i_178_ = ((is_157_[3] * i_151_ + is_157_[4] * i_152_ + is_157_[5] * i_153_ + 8192) >> 14); - int i_179_ = ((is_157_[6] * i_151_ + is_157_[7] * i_152_ + is_157_[8] * i_153_ + 8192) >> 14); - i_177_ += i_169_; - i_178_ += i_170_; - i_179_ += i_171_; - int[] is_180_ = new int[9]; - for (int i_181_ = 0; i_181_ < 3; i_181_++) { - for (int i_182_ = 0; i_182_ < 3; i_182_++) { - int i_183_ = 0; - for (int i_184_ = 0; i_184_ < 3; i_184_++) - i_183_ += (is_129_[i_181_ * 3 + i_184_] * is_172_[i_182_ + i_184_ * 3]); - is_180_[i_181_ * 3 + i_182_] = i_183_ + 8192 >> 14; - } - } - int i_185_ = ((is_129_[0] * i_177_ + is_129_[1] * i_178_ + is_129_[2] * i_179_ + 8192) >> 14); - int i_186_ = ((is_129_[3] * i_177_ + is_129_[4] * i_178_ + is_129_[5] * i_179_ + 8192) >> 14); - int i_187_ = ((is_129_[6] * i_177_ + is_129_[7] * i_178_ + is_129_[8] * i_179_ + 8192) >> 14); - i_185_ += i_148_; - i_186_ += i_149_; - i_187_ += i_150_; - for (int i_188_ = 0; i_188_ < i_130_; i_188_++) { - int i_189_ = is[i_188_]; - if (i_189_ < anIntArrayArray5334.length) { - int[] is_190_ = anIntArrayArray5334[i_189_]; - for (int i_191_ = 0; i_191_ < is_190_.length; i_191_++) { - int i_192_ = is_190_[i_191_]; - if (aShortArray5333 == null || (i_128_ & aShortArray5333[i_192_]) != 0) { - int i_193_ = ((is_180_[0] * anIntArray5356[i_192_] + is_180_[1] * anIntArray5332[i_192_] + is_180_[2] * anIntArray5312[i_192_] + 8192) >> 14); - int i_194_ = ((is_180_[3] * anIntArray5356[i_192_] + is_180_[4] * anIntArray5332[i_192_] + is_180_[5] * anIntArray5312[i_192_] + 8192) >> 14); - int i_195_ = ((is_180_[6] * anIntArray5356[i_192_] + is_180_[7] * anIntArray5332[i_192_] + is_180_[8] * anIntArray5312[i_192_] + 8192) >> 14); - i_193_ += i_185_; - i_194_ += i_186_; - i_195_ += i_187_; - anIntArray5356[i_192_] = i_193_; - anIntArray5332[i_192_] = i_194_; - anIntArray5312[i_192_] = i_195_; - } - } - } - } - } - } else if (i == 3) { - if (is_129_ == null) { - for (int i_249_ = 0; i_249_ < i_130_; i_249_++) { - int i_250_ = is[i_249_]; - if (i_250_ < anIntArrayArray5334.length) { - int[] is_251_ = anIntArrayArray5334[i_250_]; - for (int i_252_ = 0; i_252_ < is_251_.length; i_252_++) { - int i_253_ = is_251_[i_252_]; - if (aShortArray5333 == null || (i_128_ & aShortArray5333[i_253_]) != 0) { - anIntArray5356[i_253_] -= anInt5338; - anIntArray5332[i_253_] -= anInt5375; - anIntArray5312[i_253_] -= anInt5342; - anIntArray5356[i_253_] = anIntArray5356[i_253_] * i_125_ / 128; - anIntArray5332[i_253_] = anIntArray5332[i_253_] * i_126_ / 128; - anIntArray5312[i_253_] = anIntArray5312[i_253_] * i_127_ / 128; - anIntArray5356[i_253_] += anInt5338; - anIntArray5332[i_253_] += anInt5375; - anIntArray5312[i_253_] += anInt5342; - } - } - } - } - } else { - if (!aBoolean5372) { - for (int i_210_ = 0; i_210_ < anInt5340; i_210_++) { - anIntArray5356[i_210_] <<= 4; - anIntArray5332[i_210_] <<= 4; - anIntArray5312[i_210_] <<= 4; - } - aBoolean5372 = true; - } - int i_211_ = is_129_[9] << 4; - int i_212_ = is_129_[10] << 4; - int i_213_ = is_129_[11] << 4; - int i_214_ = is_129_[12] << 4; - int i_215_ = is_129_[13] << 4; - int i_216_ = is_129_[14] << 4; - if (aBoolean5369) { - int i_217_ = ((is_129_[0] * anInt5338 + is_129_[3] * anInt5375 + is_129_[6] * anInt5342 + 8192) >> 14); - int i_218_ = ((is_129_[1] * anInt5338 + is_129_[4] * anInt5375 + is_129_[7] * anInt5342 + 8192) >> 14); - int i_219_ = ((is_129_[2] * anInt5338 + is_129_[5] * anInt5375 + is_129_[8] * anInt5342 + 8192) >> 14); - i_217_ += i_214_; - i_218_ += i_215_; - i_219_ += i_216_; - anInt5338 = i_217_; - anInt5375 = i_218_; - anInt5342 = i_219_; - aBoolean5369 = false; - } - int i_220_ = i_125_ << 15 >> 7; - int i_221_ = i_126_ << 15 >> 7; - int i_222_ = i_127_ << 15 >> 7; - int i_223_ = i_220_ * -anInt5338 + 8192 >> 14; - int i_224_ = i_221_ * -anInt5375 + 8192 >> 14; - int i_225_ = i_222_ * -anInt5342 + 8192 >> 14; - int i_226_ = i_223_ + anInt5338; - int i_227_ = i_224_ + anInt5375; - int i_228_ = i_225_ + anInt5342; - int[] is_229_ = new int[9]; - is_229_[0] = i_220_ * is_129_[0] + 8192 >> 14; - is_229_[1] = i_220_ * is_129_[3] + 8192 >> 14; - is_229_[2] = i_220_ * is_129_[6] + 8192 >> 14; - is_229_[3] = i_221_ * is_129_[1] + 8192 >> 14; - is_229_[4] = i_221_ * is_129_[4] + 8192 >> 14; - is_229_[5] = i_221_ * is_129_[7] + 8192 >> 14; - is_229_[6] = i_222_ * is_129_[2] + 8192 >> 14; - is_229_[7] = i_222_ * is_129_[5] + 8192 >> 14; - is_229_[8] = i_222_ * is_129_[8] + 8192 >> 14; - int i_230_ = i_220_ * i_214_ + 8192 >> 14; - int i_231_ = i_221_ * i_215_ + 8192 >> 14; - int i_232_ = i_222_ * i_216_ + 8192 >> 14; - i_230_ += i_226_; - i_231_ += i_227_; - i_232_ += i_228_; - int[] is_233_ = new int[9]; - for (int i_234_ = 0; i_234_ < 3; i_234_++) { - for (int i_235_ = 0; i_235_ < 3; i_235_++) { - int i_236_ = 0; - for (int i_237_ = 0; i_237_ < 3; i_237_++) - i_236_ += (is_129_[i_234_ * 3 + i_237_] * is_229_[i_235_ + i_237_ * 3]); - is_233_[i_234_ * 3 + i_235_] = i_236_ + 8192 >> 14; - } - } - int i_238_ = ((is_129_[0] * i_230_ + is_129_[1] * i_231_ + is_129_[2] * i_232_ + 8192) >> 14); - int i_239_ = ((is_129_[3] * i_230_ + is_129_[4] * i_231_ + is_129_[5] * i_232_ + 8192) >> 14); - int i_240_ = ((is_129_[6] * i_230_ + is_129_[7] * i_231_ + is_129_[8] * i_232_ + 8192) >> 14); - i_238_ += i_211_; - i_239_ += i_212_; - i_240_ += i_213_; - for (int i_241_ = 0; i_241_ < i_130_; i_241_++) { - int i_242_ = is[i_241_]; - if (i_242_ < anIntArrayArray5334.length) { - int[] is_243_ = anIntArrayArray5334[i_242_]; - for (int i_244_ = 0; i_244_ < is_243_.length; i_244_++) { - int i_245_ = is_243_[i_244_]; - if (aShortArray5333 == null || (i_128_ & aShortArray5333[i_245_]) != 0) { - int i_246_ = ((is_233_[0] * anIntArray5356[i_245_] + is_233_[1] * anIntArray5332[i_245_] + is_233_[2] * anIntArray5312[i_245_] + 8192) >> 14); - int i_247_ = ((is_233_[3] * anIntArray5356[i_245_] + is_233_[4] * anIntArray5332[i_245_] + is_233_[5] * anIntArray5312[i_245_] + 8192) >> 14); - int i_248_ = ((is_233_[6] * anIntArray5356[i_245_] + is_233_[7] * anIntArray5332[i_245_] + is_233_[8] * anIntArray5312[i_245_] + 8192) >> 14); - i_246_ += i_238_; - i_247_ += i_239_; - i_248_ += i_240_; - anIntArray5356[i_245_] = i_246_; - anIntArray5332[i_245_] = i_247_; - anIntArray5312[i_245_] = i_248_; - } - } - } - } - } - } else if (i == 5) { - if (anIntArrayArray5330 != null && aByteArray5325 != null) { - for (int i_254_ = 0; i_254_ < i_130_; i_254_++) { - int i_255_ = is[i_254_]; - if (i_255_ < anIntArrayArray5330.length) { - int[] is_256_ = anIntArrayArray5330[i_255_]; - for (int i_257_ = 0; i_257_ < is_256_.length; i_257_++) { - int i_258_ = is_256_[i_257_]; - if (aShortArray5370 == null || (i_128_ & aShortArray5370[i_258_]) != 0) { - int i_259_ = ((aByteArray5325[i_258_] & 0xff) + i_125_ * 8); - if (i_259_ < 0) i_259_ = 0; - else if (i_259_ > 255) i_259_ = 255; - aByteArray5325[i_258_] = (byte) i_259_; - } - } - } - } - if (aClass6Array5361 != null) { - for (int i_260_ = 0; i_260_ < anInt5389; i_260_++) { - Class6 class6 = aClass6Array5361[i_260_]; - Class350 class350 = aClass350Array5363[i_260_]; - class350.anInt4313 = (class350.anInt4313 & 0xffffff | (255 - (aByteArray5325[class6.anInt144] & 0xff)) << 24); - } - } - } - } else if (i == 7) { - if (anIntArrayArray5330 != null) { - for (int i_261_ = 0; i_261_ < i_130_; i_261_++) { - int i_262_ = is[i_261_]; - if (i_262_ < anIntArrayArray5330.length) { - int[] is_263_ = anIntArrayArray5330[i_262_]; - for (int i_264_ = 0; i_264_ < is_263_.length; i_264_++) { - int i_265_ = is_263_[i_264_]; - if (aShortArray5370 == null || (i_128_ & aShortArray5370[i_265_]) != 0) { - int i_266_ = aShortArray5311[i_265_] & 0xffff; - int i_267_ = i_266_ >> 10 & 0x3f; - int i_268_ = i_266_ >> 7 & 0x7; - int i_269_ = i_266_ & 0x7f; - i_267_ = i_267_ + i_125_ & 0x3f; - i_268_ += i_126_; - if (i_268_ < 0) i_268_ = 0; - else if (i_268_ > 7) i_268_ = 7; - i_269_ += i_127_; - if (i_269_ < 0) i_269_ = 0; - else if (i_269_ > 127) i_269_ = 127; - aShortArray5311[i_265_] = (short) (i_267_ << 10 | i_268_ << 7 | i_269_); - } - } - aBoolean5380 = true; - } - } - if (aClass6Array5361 != null) { - for (int i_270_ = 0; i_270_ < anInt5389; i_270_++) { - Class6 class6 = aClass6Array5361[i_270_]; - Class350 class350 = aClass350Array5363[i_270_]; - class350.anInt4313 = (class350.anInt4313 & ~0xffffff | ((Class126.anIntArray4983[Class25.method303((aShortArray5311[(class6.anInt144)]) & 0xffff, 30) & 0xffff]) & 0xffffff)); - } - } - } - } else if (i == 8) { - if (anIntArrayArray5379 != null) { - for (int i_271_ = 0; i_271_ < i_130_; i_271_++) { - int i_272_ = is[i_271_]; - if (i_272_ < anIntArrayArray5379.length) { - int[] is_273_ = anIntArrayArray5379[i_272_]; - for (int i_274_ = 0; i_274_ < is_273_.length; i_274_++) { - Class350 class350 = aClass350Array5363[is_273_[i_274_]]; - class350.anInt4316 += i_125_; - class350.anInt4317 += i_126_; - } - } - } - } - } else if (i == 10) { - if (anIntArrayArray5379 != null) { - for (int i_275_ = 0; i_275_ < i_130_; i_275_++) { - int i_276_ = is[i_275_]; - if (i_276_ < anIntArrayArray5379.length) { - int[] is_277_ = anIntArrayArray5379[i_276_]; - for (int i_278_ = 0; i_278_ < is_277_.length; i_278_++) { - Class350 class350 = aClass350Array5363[is_277_[i_278_]]; - class350.anInt4314 = (class350.anInt4314 * i_125_ >> 7); - class350.anInt4311 = (class350.anInt4311 * i_126_ >> 7); - } - } - } - } - } else if (i == 9 && anIntArrayArray5379 != null) { - for (int i_279_ = 0; i_279_ < i_130_; i_279_++) { - int i_280_ = is[i_279_]; - if (i_280_ < anIntArrayArray5379.length) { - int[] is_281_ = anIntArrayArray5379[i_280_]; - for (int i_282_ = 0; i_282_ < is_281_.length; i_282_++) { - Class350 class350 = aClass350Array5363[is_281_[i_282_]]; - class350.anInt4308 = (class350.anInt4308 + i_125_ & 0x3fff); - } - } - } - } - } - - private final void method636() { - if (anInt5354 == 0 && aClass360Array5360 == null) { - if (aHa_Sub1_5353.anInt7485 > 1) { - synchronized (this) { - method649(); - } - } else method649(); - } - } - - final void wa() { - if (aBoolean5372) { - for (int i = 0; i < anInt5340; i++) { - anIntArray5356[i] = anIntArray5356[i] + 7 >> 4; - anIntArray5332[i] = anIntArray5332[i] + 7 >> 4; - anIntArray5312[i] = anIntArray5312[i] + 7 >> 4; - } - aBoolean5372 = false; - } - if (aBoolean5380) { - method647(); - aBoolean5380 = false; - } - aBoolean5323 = false; - } - - final int fa() { - if (!aBoolean5323) method655(); - return aShort5329; - } - - private final int method637(int i, int i_283_) { - i_283_ = i_283_ * (i & 0x7f) >> 7; - if (i_283_ < 2) i_283_ = 2; - else if (i_283_ > 126) i_283_ = 126; - return (i & 0xff80) + i_283_; - } - - private final boolean method638(int i) { - if (anIntArray5400 == null) return false; - return anIntArray5400[i] != -1; - } - - final int da() { - return anInt5349; - } - - private final void method639() { - synchronized (this) { - for (int i = 0; i < anInt5340; i++) { - int i_284_ = anIntArray5312[i]; - anIntArray5312[i] = anIntArray5356[i]; - anIntArray5356[i] = -i_284_; - } - method631(); - } - } - - final boolean method618() { - if (aShortArray5388 == null) return true; - for (int i = 0; i < aShortArray5388.length; i++) { - if (aShortArray5388[i] != -1 && !aHa_Sub1_5353.method3725(aShortArray5388[i])) return false; - } - return true; - } - - final void method620(Class101 class101) { - Class101_Sub1 class101_sub1 = (Class101_Sub1) class101; - if (aClass129Array5322 != null) { - for (int i = 0; i < aClass129Array5322.length; i++) { - Class129 class129 = aClass129Array5322[i]; - Class129 class129_285_ = class129; - if (class129.aClass129_1888 != null) class129_285_ = class129.aClass129_1888; - class129_285_.anInt1882 = (int) (class101_sub1.aFloat5686 + ((class101_sub1.aFloat5672 * (float) (anIntArray5356[class129.anInt1881])) + (class101_sub1.aFloat5673 * (float) (anIntArray5332[(class129.anInt1881)])) + (class101_sub1.aFloat5669 * (float) (anIntArray5312[(class129.anInt1881)])))); - class129_285_.anInt1891 = (int) (class101_sub1.aFloat5685 + ((class101_sub1.aFloat5655 * (float) (anIntArray5356[class129.anInt1881])) + (class101_sub1.aFloat5678 * (float) (anIntArray5332[(class129.anInt1881)])) + (class101_sub1.aFloat5666 * (float) (anIntArray5312[(class129.anInt1881)])))); - class129_285_.anInt1889 = (int) (class101_sub1.aFloat5681 + ((class101_sub1.aFloat5662 * (float) (anIntArray5356[class129.anInt1881])) + (class101_sub1.aFloat5680 * (float) (anIntArray5332[(class129.anInt1881)])) + (class101_sub1.aFloat5664 * (float) (anIntArray5312[(class129.anInt1881)])))); - class129_285_.anInt1883 = (int) (class101_sub1.aFloat5686 + ((class101_sub1.aFloat5672 * (float) (anIntArray5356[class129.anInt1877])) + (class101_sub1.aFloat5673 * (float) (anIntArray5332[(class129.anInt1877)])) + (class101_sub1.aFloat5669 * (float) (anIntArray5312[(class129.anInt1877)])))); - class129_285_.anInt1890 = (int) (class101_sub1.aFloat5685 + ((class101_sub1.aFloat5655 * (float) (anIntArray5356[class129.anInt1877])) + (class101_sub1.aFloat5678 * (float) (anIntArray5332[(class129.anInt1877)])) + (class101_sub1.aFloat5666 * (float) (anIntArray5312[(class129.anInt1877)])))); - class129_285_.anInt1880 = (int) (class101_sub1.aFloat5681 + ((class101_sub1.aFloat5662 * (float) (anIntArray5356[class129.anInt1877])) + (class101_sub1.aFloat5680 * (float) (anIntArray5332[(class129.anInt1877)])) + (class101_sub1.aFloat5664 * (float) (anIntArray5312[(class129.anInt1877)])))); - class129_285_.anInt1876 = (int) (class101_sub1.aFloat5686 + ((class101_sub1.aFloat5672 * (float) (anIntArray5356[class129.anInt1892])) + (class101_sub1.aFloat5673 * (float) (anIntArray5332[(class129.anInt1892)])) + (class101_sub1.aFloat5669 * (float) (anIntArray5312[(class129.anInt1892)])))); - class129_285_.anInt1874 = (int) (class101_sub1.aFloat5685 + ((class101_sub1.aFloat5655 * (float) (anIntArray5356[class129.anInt1892])) + (class101_sub1.aFloat5678 * (float) (anIntArray5332[(class129.anInt1892)])) + (class101_sub1.aFloat5666 * (float) (anIntArray5312[(class129.anInt1892)])))); - class129_285_.anInt1884 = (int) (class101_sub1.aFloat5681 + ((class101_sub1.aFloat5662 * (float) (anIntArray5356[class129.anInt1892])) + (class101_sub1.aFloat5680 * (float) (anIntArray5332[(class129.anInt1892)])) + (class101_sub1.aFloat5664 * (float) (anIntArray5312[(class129.anInt1892)])))); - } - } - if (aClass342Array5335 != null) { - for (int i = 0; i < aClass342Array5335.length; i++) { - Class342 class342 = aClass342Array5335[i]; - Class342 class342_286_ = class342; - if (class342.aClass342_4248 != null) class342_286_ = class342.aClass342_4248; - if (class342.aClass101_4252 != null) class342.aClass101_4252.method898(class101_sub1); - else class342.aClass101_4252 = class101_sub1.method907(); - class342_286_.anInt4238 = (int) (class101_sub1.aFloat5686 + ((class101_sub1.aFloat5672 * (float) (anIntArray5356[class342.anInt4244])) + (class101_sub1.aFloat5673 * (float) (anIntArray5332[(class342.anInt4244)])) + (class101_sub1.aFloat5669 * (float) (anIntArray5312[(class342.anInt4244)])))); - class342_286_.anInt4239 = (int) (class101_sub1.aFloat5685 + ((class101_sub1.aFloat5655 * (float) (anIntArray5356[class342.anInt4244])) + (class101_sub1.aFloat5678 * (float) (anIntArray5332[(class342.anInt4244)])) + (class101_sub1.aFloat5666 * (float) (anIntArray5312[(class342.anInt4244)])))); - class342_286_.anInt4240 = (int) (class101_sub1.aFloat5681 + ((class101_sub1.aFloat5662 * (float) (anIntArray5356[class342.anInt4244])) + (class101_sub1.aFloat5680 * (float) (anIntArray5332[(class342.anInt4244)])) + (class101_sub1.aFloat5664 * (float) (anIntArray5312[(class342.anInt4244)])))); - } - } - } - - private final void method640() { - for (int i = 0; i < anInt5351; i++) { - short i_287_ = aShortArray5388 != null ? aShortArray5388[i] : (short) -1; - if (i_287_ == -1) { - int i_288_ = aShortArray5311[i] & 0xffff; - int i_289_ = (i_288_ & 0x7f) * anInt5344 >> 7; - short i_290_ = Class25.method303(i_288_ & ~0x7f | i_289_, 30); - if (anIntArray5366[i] == -1) { - int i_291_ = anIntArray5368[i] & ~0x1ffff; - anIntArray5368[i] = i_291_ | Class291.method2198(0, i_291_ >> 17, i_290_); - } else if (anIntArray5366[i] != -2) { - int i_292_ = anIntArray5368[i] & ~0x1ffff; - anIntArray5368[i] = i_292_ | Class291.method2198(0, i_292_ >> 17, i_290_); - i_292_ = anIntArray5337[i] & ~0x1ffff; - anIntArray5337[i] = i_292_ | Class291.method2198(0, i_292_ >> 17, i_290_); - i_292_ = anIntArray5366[i] & ~0x1ffff; - anIntArray5366[i] = i_292_ | Class291.method2198(0, i_292_ >> 17, i_290_); - } - } - } - anInt5354 = 2; - } - - final void k(int i) { - if ((anInt5316 & 0xd) != 13) throw new IllegalStateException(); - if (aClass360Array5360 != null) { - if (i == 4096) method653(); - else if (i == 8192) method652(); - else if (i == 12288) method641(); - else { - int i_293_ = Class70.anIntArray1207[i]; - int i_294_ = Class70.anIntArray1204[i]; - synchronized (this) { - for (int i_295_ = 0; i_295_ < anInt5387; i_295_++) { - int i_296_ = ((anIntArray5312[i_295_] * i_293_ + anIntArray5356[i_295_] * i_294_) >> 14); - anIntArray5312[i_295_] = (anIntArray5312[i_295_] * i_294_ - anIntArray5356[i_295_] * i_293_) >> 14; - anIntArray5356[i_295_] = i_296_; - if (aClass360Array5360[i_295_] != null) { - i_296_ = ((aClass360Array5360[i_295_].anInt4427) * i_293_ + (aClass360Array5360[i_295_].anInt4430) * i_294_) >> 14; - aClass360Array5360[i_295_].anInt4427 = ((aClass360Array5360[i_295_].anInt4427) * i_294_ - (aClass360Array5360[i_295_].anInt4430) * i_293_) >> 14; - aClass360Array5360[i_295_].anInt4430 = i_296_; - } - } - if (aClass41Array5385 != null) { - for (int i_297_ = 0; i_297_ < anInt5351; i_297_++) { - if (aClass41Array5385[i_297_] != null) { - int i_298_ = ((aClass41Array5385[i_297_].anInt559) * i_293_ + (aClass41Array5385[i_297_].anInt561) * i_294_) >> 14; - aClass41Array5385[i_297_].anInt559 = ((aClass41Array5385[i_297_].anInt559) * i_294_ - (aClass41Array5385[i_297_].anInt561) * i_293_) >> 14; - aClass41Array5385[i_297_].anInt561 = i_298_; - } - } - } - for (int i_299_ = anInt5387; i_299_ < anInt5340; i_299_++) { - int i_300_ = ((anIntArray5312[i_299_] * i_293_ + anIntArray5356[i_299_] * i_294_) >> 14); - anIntArray5312[i_299_] = (anIntArray5312[i_299_] * i_294_ - anIntArray5356[i_299_] * i_293_) >> 14; - anIntArray5356[i_299_] = i_300_; - } - anInt5354 = 0; - aBoolean5323 = false; - } - } - } else a(i); - } - - final void method610(Class101 class101, int i, boolean bool) { - if (aShortArray5333 != null) { - int[] is = new int[3]; - for (int i_301_ = 0; i_301_ < anInt5387; i_301_++) { - if ((i & aShortArray5333[i_301_]) != 0) { - if (bool) class101.method892(anIntArray5356[i_301_], anIntArray5332[i_301_], anIntArray5312[i_301_], is); - else class101.method897(anIntArray5356[i_301_], anIntArray5332[i_301_], anIntArray5312[i_301_], is); - anIntArray5356[i_301_] = is[0]; - anIntArray5332[i_301_] = is[1]; - anIntArray5312[i_301_] = is[2]; - } - } - } - } - - final void method612() { - /* empty */ - } - - private final void method641() { - synchronized (this) { - for (int i = 0; i < anInt5387; i++) { - int i_302_ = anIntArray5312[i]; - anIntArray5312[i] = anIntArray5356[i]; - anIntArray5356[i] = -i_302_; - if (aClass360Array5360[i] != null) { - i_302_ = aClass360Array5360[i].anInt4427; - aClass360Array5360[i].anInt4427 = aClass360Array5360[i].anInt4430; - aClass360Array5360[i].anInt4430 = -i_302_; - } - } - if (aClass41Array5385 != null) { - for (int i = 0; i < anInt5351; i++) { - if (aClass41Array5385[i] != null) { - int i_303_ = aClass41Array5385[i].anInt559; - aClass41Array5385[i].anInt559 = aClass41Array5385[i].anInt561; - aClass41Array5385[i].anInt561 = -i_303_; - } - } - } - for (int i = anInt5387; i < anInt5340; i++) { - int i_304_ = anIntArray5312[i]; - anIntArray5312[i] = anIntArray5356[i]; - anIntArray5356[i] = -i_304_; - } - anInt5354 = 0; - aBoolean5323 = false; - } - } - - private final int method642(int i, short i_305_, int i_306_) { - int i_307_ = Class10.anIntArray179[method637(i, i_306_)]; - Class12 class12 = aHa_Sub1_5353.aD4579.method3(i_305_ & 0xffff, -6662); - int i_308_ = class12.aByte201 & 0xff; - if (i_308_ != 0) { - int i_309_ = 131586 * i_306_; - if (i_308_ == 256) i_307_ = i_309_; - else { - int i_310_ = i_308_; - int i_311_ = 256 - i_308_; - i_307_ = ((((i_309_ & 0xff00ff) * i_310_ + (i_307_ & 0xff00ff) * i_311_) & ~0xff00ff) + (((i_309_ & 0xff00) * i_310_ + (i_307_ & 0xff00) * i_311_) & 0xff0000)) >> 8; - } - } - int i_312_ = class12.aByte216 & 0xff; - if (i_312_ != 0) { - i_312_ += 256; - int i_313_ = ((i_307_ & 0xff0000) >> 16) * i_312_; - if (i_313_ > 65535) i_313_ = 65535; - int i_314_ = ((i_307_ & 0xff00) >> 8) * i_312_; - if (i_314_ > 65535) i_314_ = 65535; - int i_315_ = (i_307_ & 0xff) * i_312_; - if (i_315_ > 65535) i_315_ = 65535; - i_307_ = (i_313_ << 8 & 0xff0000) + (i_314_ & 0xff00) + (i_315_ >> 8); - } - return i_307_; - } - - final void method608(Class101 class101, Class318_Sub3 class318_sub3, int i, int i_316_) { - method654(class101, class318_sub3, i, i_316_); - } - - final boolean NA() { - if (anIntArrayArray5334 == null) return false; - anInt5338 = 0; - anInt5375 = 0; - anInt5342 = 0; - return true; - } - - private final void method643(int i, boolean bool, boolean bool_317_) { - if (anIntArray5366[i] != -2) { - short i_318_ = aShortArray5317[i]; - short i_319_ = aShortArray5394[i]; - short i_320_ = aShortArray5364[i]; - int i_321_ = anIntArray5321[i_318_]; - int i_322_ = anIntArray5321[i_319_]; - int i_323_ = anIntArray5321[i_320_]; - if (bool && (i_321_ == -5000 || i_322_ == -5000 || i_323_ == -5000)) { - int i_324_ = anIntArray5399[i_318_]; - int i_325_ = anIntArray5399[i_319_]; - int i_326_ = anIntArray5399[i_320_]; - int i_327_ = anIntArray5384[i_318_]; - int i_328_ = anIntArray5384[i_319_]; - int i_329_ = anIntArray5384[i_320_]; - int i_330_ = anIntArray5392[i_318_]; - int i_331_ = anIntArray5392[i_319_]; - int i_332_ = anIntArray5392[i_320_]; - i_324_ -= i_325_; - i_326_ -= i_325_; - i_327_ -= i_328_; - i_329_ -= i_328_; - i_330_ -= i_331_; - i_332_ -= i_331_; - int i_333_ = i_327_ * i_332_ - i_330_ * i_329_; - int i_334_ = i_330_ * i_326_ - i_324_ * i_332_; - int i_335_ = i_324_ * i_329_ - i_327_ * i_326_; - if (i_325_ * i_333_ + i_328_ * i_334_ + i_331_ * i_335_ > 0) method646(i); - } else if (anIntArray5400[i] != -1 || ((i_321_ - i_322_) * (anIntArray5343[i_320_] - anIntArray5343[i_319_]) - ((anIntArray5343[i_318_] - anIntArray5343[i_319_]) * (i_323_ - i_322_))) > 0) { - aClass109_5383.aBoolean1671 = i_321_ < 0 || i_322_ < 0 || i_323_ < 0 || i_321_ > aClass167_5367.anInt2221 || i_322_ > aClass167_5367.anInt2221 || i_323_ > aClass167_5367.anInt2221; - if (bool_317_) { - int i_336_ = anIntArray5400[i]; - if (i_336_ == -1 || !aClass6Array5361[i_336_].aBoolean145) method658(i); - } else { - int i_337_ = anIntArray5400[i]; - if (i_337_ != -1) { - Class6 class6 = aClass6Array5361[i_337_]; - Class350 class350 = aClass350Array5363[i_337_]; - if (!class6.aBoolean145) method635(i); - aHa_Sub1_5353.method3720(class350.anInt4312, class350.anInt4310, class350.anInt4320, class350.anInt4309, class350.anInt4307, class350.anInt4308, class6.aShort146 & 0xffff, class350.anInt4313, class6.aByte148, class6.aByte156); - } else method635(i); - } - } - } - } - - final boolean F() { - return aBoolean5382; - } - - final void P(int i, int i_338_, int i_339_, int i_340_) { - if (i == 0) { - int i_341_ = 0; - anInt5338 = 0; - anInt5375 = 0; - anInt5342 = 0; - for (int i_342_ = 0; i_342_ < anInt5340; i_342_++) { - anInt5338 += anIntArray5356[i_342_]; - anInt5375 += anIntArray5332[i_342_]; - anInt5342 += anIntArray5312[i_342_]; - i_341_++; - } - if (i_341_ > 0) { - anInt5338 = anInt5338 / i_341_ + i_338_; - anInt5375 = anInt5375 / i_341_ + i_339_; - anInt5342 = anInt5342 / i_341_ + i_340_; - } else { - anInt5338 = i_338_; - anInt5375 = i_339_; - anInt5342 = i_340_; - } - } else if (i == 1) { - for (int i_343_ = 0; i_343_ < anInt5340; i_343_++) { - anIntArray5356[i_343_] += i_338_; - anIntArray5332[i_343_] += i_339_; - anIntArray5312[i_343_] += i_340_; - } - } else if (i == 2) { - for (int i_344_ = 0; i_344_ < anInt5340; i_344_++) { - anIntArray5356[i_344_] -= anInt5338; - anIntArray5332[i_344_] -= anInt5375; - anIntArray5312[i_344_] -= anInt5342; - if (i_340_ != 0) { - int i_345_ = Class70.anIntArray1207[i_340_]; - int i_346_ = Class70.anIntArray1204[i_340_]; - int i_347_ = ((anIntArray5332[i_344_] * i_345_ + anIntArray5356[i_344_] * i_346_ + 16383) >> 14); - anIntArray5332[i_344_] = (anIntArray5332[i_344_] * i_346_ - anIntArray5356[i_344_] * i_345_ + 16383) >> 14; - anIntArray5356[i_344_] = i_347_; - } - if (i_338_ != 0) { - int i_348_ = Class70.anIntArray1207[i_338_]; - int i_349_ = Class70.anIntArray1204[i_338_]; - int i_350_ = ((anIntArray5332[i_344_] * i_349_ - anIntArray5312[i_344_] * i_348_ + 16383) >> 14); - anIntArray5312[i_344_] = (anIntArray5332[i_344_] * i_348_ + anIntArray5312[i_344_] * i_349_ + 16383) >> 14; - anIntArray5332[i_344_] = i_350_; - } - if (i_339_ != 0) { - int i_351_ = Class70.anIntArray1207[i_339_]; - int i_352_ = Class70.anIntArray1204[i_339_]; - int i_353_ = ((anIntArray5312[i_344_] * i_351_ + anIntArray5356[i_344_] * i_352_ + 16383) >> 14); - anIntArray5312[i_344_] = (anIntArray5312[i_344_] * i_352_ - anIntArray5356[i_344_] * i_351_ + 16383) >> 14; - anIntArray5356[i_344_] = i_353_; - } - anIntArray5356[i_344_] += anInt5338; - anIntArray5332[i_344_] += anInt5375; - anIntArray5312[i_344_] += anInt5342; - } - } else if (i == 3) { - for (int i_354_ = 0; i_354_ < anInt5340; i_354_++) { - anIntArray5356[i_354_] -= anInt5338; - anIntArray5332[i_354_] -= anInt5375; - anIntArray5312[i_354_] -= anInt5342; - anIntArray5356[i_354_] = anIntArray5356[i_354_] * i_338_ / 128; - anIntArray5332[i_354_] = anIntArray5332[i_354_] * i_339_ / 128; - anIntArray5312[i_354_] = anIntArray5312[i_354_] * i_340_ / 128; - anIntArray5356[i_354_] += anInt5338; - anIntArray5332[i_354_] += anInt5375; - anIntArray5312[i_354_] += anInt5342; - } - } else if (i == 5) { - for (int i_355_ = 0; i_355_ < anInt5351; i_355_++) { - int i_356_ = (aByteArray5325[i_355_] & 0xff) + i_338_ * 8; - if (i_356_ < 0) i_356_ = 0; - else if (i_356_ > 255) i_356_ = 255; - aByteArray5325[i_355_] = (byte) i_356_; - } - if (aClass6Array5361 != null) { - for (int i_357_ = 0; i_357_ < anInt5389; i_357_++) { - Class6 class6 = aClass6Array5361[i_357_]; - Class350 class350 = aClass350Array5363[i_357_]; - class350.anInt4313 = (class350.anInt4313 & 0xffffff | 255 - (aByteArray5325[class6.anInt144] & 0xff) << 24); - } - } - } else if (i == 7) { - for (int i_358_ = 0; i_358_ < anInt5351; i_358_++) { - int i_359_ = aShortArray5311[i_358_] & 0xffff; - int i_360_ = i_359_ >> 10 & 0x3f; - int i_361_ = i_359_ >> 7 & 0x7; - int i_362_ = i_359_ & 0x7f; - i_360_ = i_360_ + i_338_ & 0x3f; - i_361_ += i_339_; - if (i_361_ < 0) i_361_ = 0; - else if (i_361_ > 7) i_361_ = 7; - i_362_ += i_340_; - if (i_362_ < 0) i_362_ = 0; - else if (i_362_ > 127) i_362_ = 127; - aShortArray5311[i_358_] = (short) (i_360_ << 10 | i_361_ << 7 | i_362_); - } - aBoolean5380 = true; - if (aClass6Array5361 != null) { - for (int i_363_ = 0; i_363_ < anInt5389; i_363_++) { - Class6 class6 = aClass6Array5361[i_363_]; - Class350 class350 = aClass350Array5363[i_363_]; - class350.anInt4313 = (class350.anInt4313 & ~0xffffff | (Class126.anIntArray4983[Class25.method303((aShortArray5311[(class6.anInt144)]) & 0xffff, 30) & 0xffff]) & 0xffffff); - } - } - } else if (i == 8) { - for (int i_364_ = 0; i_364_ < anInt5389; i_364_++) { - Class350 class350 = aClass350Array5363[i_364_]; - class350.anInt4316 += i_338_; - class350.anInt4317 += i_339_; - } - } else if (i == 10) { - for (int i_365_ = 0; i_365_ < anInt5389; i_365_++) { - Class350 class350 = aClass350Array5363[i_365_]; - class350.anInt4314 = class350.anInt4314 * i_338_ >> 7; - class350.anInt4311 = class350.anInt4311 * i_339_ >> 7; - } - } else if (i == 9) { - for (int i_366_ = 0; i_366_ < anInt5389; i_366_++) { - Class350 class350 = aClass350Array5363[i_366_]; - class350.anInt4308 = class350.anInt4308 + i_338_ & 0x3fff; - } - } - } - - final int na() { - if (!aBoolean5323) method655(); - return aShort5324; - } - - final r ba(r var_r) { - return null; - } - - final void p(int i, int i_367_, s var_s, s var_s_368_, int i_369_, int i_370_, int i_371_) { - if (i == 3) { - if ((anInt5316 & 0x7) != 7) throw new IllegalStateException(); - } else if ((anInt5316 & 0x2) != 2) throw new IllegalStateException(); - if (!aBoolean5323) method655(); - int i_372_ = i_369_ + aShort5395; - int i_373_ = i_369_ + aShort5393; - int i_374_ = i_371_ + aShort5352; - int i_375_ = i_371_ + aShort5331; - if (i == 4 || (i_372_ >= 0 && (i_373_ + var_s.anInt4592 >> var_s.anInt4588 < var_s.anInt4587) && i_374_ >= 0 && (i_375_ + var_s.anInt4592 >> var_s.anInt4588 < var_s.anInt4590))) { - int[][] is = var_s.anIntArrayArray4584; - int[][] is_376_ = null; - if (var_s_368_ != null) is_376_ = var_s_368_.anIntArrayArray4584; - if (i == 4 || i == 5) { - if (var_s_368_ == null || (i_372_ < 0 || ((i_373_ + var_s_368_.anInt4592 >> var_s_368_.anInt4588) >= var_s_368_.anInt4587) || i_374_ < 0 || ((i_375_ + var_s_368_.anInt4592 >> var_s_368_.anInt4588) >= var_s_368_.anInt4590))) return; - } else { - i_372_ >>= var_s.anInt4588; - i_373_ = (i_373_ + (var_s.anInt4592 - 1) >> var_s.anInt4588); - i_374_ >>= var_s.anInt4588; - i_375_ = (i_375_ + (var_s.anInt4592 - 1) >> var_s.anInt4588); - if (is[i_372_][i_374_] == i_370_ && is[i_373_][i_374_] == i_370_ && is[i_372_][i_375_] == i_370_ && is[i_373_][i_375_] == i_370_) return; - } - synchronized (this) { - if (i == 1) { - int i_377_ = var_s.anInt4592 - 1; - for (int i_378_ = 0; i_378_ < anInt5387; i_378_++) { - int i_379_ = anIntArray5356[i_378_] + i_369_; - int i_380_ = anIntArray5312[i_378_] + i_371_; - int i_381_ = i_379_ & i_377_; - int i_382_ = i_380_ & i_377_; - int i_383_ = i_379_ >> var_s.anInt4588; - int i_384_ = i_380_ >> var_s.anInt4588; - int i_385_ = ((is[i_383_][i_384_] * (var_s.anInt4592 - i_381_) + is[i_383_ + 1][i_384_] * i_381_) >> var_s.anInt4588); - int i_386_ = ((is[i_383_][i_384_ + 1] * (var_s.anInt4592 - i_381_) + is[i_383_ + 1][i_384_ + 1] * i_381_) >> var_s.anInt4588); - int i_387_ = (i_385_ * (var_s.anInt4592 - i_382_) + i_386_ * i_382_ >> var_s.anInt4588); - anIntArray5332[i_378_] = anIntArray5332[i_378_] + i_387_ - i_370_; - } - for (int i_388_ = anInt5387; i_388_ < anInt5340; i_388_++) { - int i_389_ = anIntArray5356[i_388_] + i_369_; - int i_390_ = anIntArray5312[i_388_] + i_371_; - int i_391_ = i_389_ & i_377_; - int i_392_ = i_390_ & i_377_; - int i_393_ = i_389_ >> var_s.anInt4588; - int i_394_ = i_390_ >> var_s.anInt4588; - if (i_393_ >= 0 && i_393_ < is.length - 1 && i_394_ >= 0 && i_394_ < is[0].length - 1) { - int i_395_ = ((is[i_393_][i_394_] * (var_s.anInt4592 - i_391_) + is[i_393_ + 1][i_394_] * i_391_) >> var_s.anInt4588); - int i_396_ = (((is[i_393_][i_394_ + 1] * (var_s.anInt4592 - i_391_)) + is[i_393_ + 1][i_394_ + 1] * i_391_) >> var_s.anInt4588); - int i_397_ = (i_395_ * (var_s.anInt4592 - i_392_) + i_396_ * i_392_ >> var_s.anInt4588); - anIntArray5332[i_388_] = anIntArray5332[i_388_] + i_397_ - i_370_; - } - } - } else if (i == 2) { - int i_398_ = var_s.anInt4592 - 1; - for (int i_399_ = 0; i_399_ < anInt5387; i_399_++) { - int i_400_ = (anIntArray5332[i_399_] << 16) / aShort5329; - if (i_400_ < i_367_) { - int i_401_ = anIntArray5356[i_399_] + i_369_; - int i_402_ = anIntArray5312[i_399_] + i_371_; - int i_403_ = i_401_ & i_398_; - int i_404_ = i_402_ & i_398_; - int i_405_ = i_401_ >> var_s.anInt4588; - int i_406_ = i_402_ >> var_s.anInt4588; - int i_407_ = ((is[i_405_][i_406_] * (var_s.anInt4592 - i_403_) + is[i_405_ + 1][i_406_] * i_403_) >> var_s.anInt4588); - int i_408_ = (((is[i_405_][i_406_ + 1] * (var_s.anInt4592 - i_403_)) + is[i_405_ + 1][i_406_ + 1] * i_403_) >> var_s.anInt4588); - int i_409_ = (i_407_ * (var_s.anInt4592 - i_404_) + i_408_ * i_404_ >> var_s.anInt4588); - anIntArray5332[i_399_] = anIntArray5332[i_399_] + ((i_409_ - i_370_) * (i_367_ - i_400_) / i_367_); - } else anIntArray5332[i_399_] = anIntArray5332[i_399_]; - } - for (int i_410_ = anInt5387; i_410_ < anInt5340; i_410_++) { - int i_411_ = (anIntArray5332[i_410_] << 16) / aShort5329; - if (i_411_ < i_367_) { - int i_412_ = anIntArray5356[i_410_] + i_369_; - int i_413_ = anIntArray5312[i_410_] + i_371_; - int i_414_ = i_412_ & i_398_; - int i_415_ = i_413_ & i_398_; - int i_416_ = i_412_ >> var_s.anInt4588; - int i_417_ = i_413_ >> var_s.anInt4588; - if (i_416_ >= 0 && i_416_ < var_s.anInt4587 - 1 && i_417_ >= 0 && i_417_ < var_s.anInt4590 - 1) { - int i_418_ = (((is[i_416_][i_417_] * (var_s.anInt4592 - i_414_)) + is[i_416_ + 1][i_417_] * i_414_) >> var_s.anInt4588); - int i_419_ = (((is[i_416_][i_417_ + 1] * (var_s.anInt4592 - i_414_)) + is[i_416_ + 1][i_417_ + 1] * i_414_) >> var_s.anInt4588); - int i_420_ = (i_418_ * (var_s.anInt4592 - i_415_) + i_419_ * i_415_ >> var_s.anInt4588); - anIntArray5332[i_410_] = (anIntArray5332[i_410_] + ((i_420_ - i_370_) * (i_367_ - i_411_) / i_367_)); - } - } else anIntArray5332[i_410_] = anIntArray5332[i_410_]; - } - } else if (i == 3) { - int i_421_ = (i_367_ & 0xff) * 4; - int i_422_ = (i_367_ >> 8 & 0xff) * 4; - int i_423_ = (i_367_ >> 16 & 0xff) << 6; - int i_424_ = (i_367_ >> 24 & 0xff) << 6; - if (i_369_ - (i_421_ >> 1) < 0 || (i_369_ + (i_421_ >> 1) + var_s.anInt4592 >= var_s.anInt4587 << var_s.anInt4588) || i_371_ - (i_422_ >> 1) < 0 || (i_371_ + (i_422_ >> 1) + var_s.anInt4592 >= var_s.anInt4590 << var_s.anInt4588)) return; - this.method626(i_421_, 10947, i_424_, i_369_, i_422_, i_370_, i_423_, var_s, i_371_); - } else if (i == 4) { - int i_425_ = var_s_368_.anInt4592 - 1; - int i_426_ = aShort5365 - aShort5329; - for (int i_427_ = 0; i_427_ < anInt5387; i_427_++) { - int i_428_ = anIntArray5356[i_427_] + i_369_; - int i_429_ = anIntArray5312[i_427_] + i_371_; - int i_430_ = i_428_ & i_425_; - int i_431_ = i_429_ & i_425_; - int i_432_ = i_428_ >> var_s_368_.anInt4588; - int i_433_ = i_429_ >> var_s_368_.anInt4588; - int i_434_ = (((is_376_[i_432_][i_433_] * (var_s_368_.anInt4592 - i_430_)) + is_376_[i_432_ + 1][i_433_] * i_430_) >> var_s_368_.anInt4588); - int i_435_ = (((is_376_[i_432_][i_433_ + 1] * (var_s_368_.anInt4592 - i_430_)) + is_376_[i_432_ + 1][i_433_ + 1] * i_430_) >> var_s_368_.anInt4588); - int i_436_ = (i_434_ * (var_s_368_.anInt4592 - i_431_) + i_435_ * i_431_ >> var_s_368_.anInt4588); - anIntArray5332[i_427_] = (anIntArray5332[i_427_] + (i_436_ - i_370_) + i_426_); - } - for (int i_437_ = anInt5387; i_437_ < anInt5340; i_437_++) { - int i_438_ = anIntArray5356[i_437_] + i_369_; - int i_439_ = anIntArray5312[i_437_] + i_371_; - int i_440_ = i_438_ & i_425_; - int i_441_ = i_439_ & i_425_; - int i_442_ = i_438_ >> var_s_368_.anInt4588; - int i_443_ = i_439_ >> var_s_368_.anInt4588; - if (i_442_ >= 0 && i_442_ < var_s_368_.anInt4587 - 1 && i_443_ >= 0 && i_443_ < var_s_368_.anInt4590 - 1) { - int i_444_ = (((is_376_[i_442_][i_443_] * (var_s_368_.anInt4592 - i_440_)) + is_376_[i_442_ + 1][i_443_] * i_440_) >> var_s_368_.anInt4588); - int i_445_ = (((is_376_[i_442_][i_443_ + 1] * (var_s_368_.anInt4592 - i_440_)) + is_376_[i_442_ + 1][i_443_ + 1] * i_440_) >> var_s_368_.anInt4588); - int i_446_ = (i_444_ * (var_s_368_.anInt4592 - i_441_) + i_445_ * i_441_ >> var_s_368_.anInt4588); - anIntArray5332[i_437_] = (anIntArray5332[i_437_] + (i_446_ - i_370_) + i_426_); - } - } - } else if (i == 5) { - int i_447_ = var_s_368_.anInt4592 - 1; - int i_448_ = aShort5365 - aShort5329; - for (int i_449_ = 0; i_449_ < anInt5387; i_449_++) { - int i_450_ = anIntArray5356[i_449_] + i_369_; - int i_451_ = anIntArray5312[i_449_] + i_371_; - int i_452_ = i_450_ & i_447_; - int i_453_ = i_451_ & i_447_; - int i_454_ = i_450_ >> var_s.anInt4588; - int i_455_ = i_451_ >> var_s.anInt4588; - int i_456_ = ((is[i_454_][i_455_] * (var_s.anInt4592 - i_452_) + is[i_454_ + 1][i_455_] * i_452_) >> var_s.anInt4588); - int i_457_ = ((is[i_454_][i_455_ + 1] * (var_s.anInt4592 - i_452_) + is[i_454_ + 1][i_455_ + 1] * i_452_) >> var_s.anInt4588); - int i_458_ = (i_456_ * (var_s.anInt4592 - i_453_) + i_457_ * i_453_ >> var_s.anInt4588); - i_456_ = (((is_376_[i_454_][i_455_] * (var_s_368_.anInt4592 - i_452_)) + is_376_[i_454_ + 1][i_455_] * i_452_) >> var_s_368_.anInt4588); - i_457_ = (((is_376_[i_454_][i_455_ + 1] * (var_s_368_.anInt4592 - i_452_)) + is_376_[i_454_ + 1][i_455_ + 1] * i_452_) >> var_s_368_.anInt4588); - int i_459_ = (i_456_ * (var_s_368_.anInt4592 - i_453_) + i_457_ * i_453_ >> var_s_368_.anInt4588); - int i_460_ = i_458_ - i_459_ - i_367_; - anIntArray5332[i_449_] = ((anIntArray5332[i_449_] << 8) / i_448_ * i_460_ >> 8) - (i_370_ - i_458_); - } - for (int i_461_ = anInt5387; i_461_ < anInt5340; i_461_++) { - int i_462_ = anIntArray5356[i_461_] + i_369_; - int i_463_ = anIntArray5312[i_461_] + i_371_; - int i_464_ = i_462_ & i_447_; - int i_465_ = i_463_ & i_447_; - int i_466_ = i_462_ >> var_s.anInt4588; - int i_467_ = i_463_ >> var_s.anInt4588; - if (i_466_ >= 0 && i_466_ < var_s.anInt4587 - 1 && i_466_ < var_s_368_.anInt4587 - 1 && i_467_ >= 0 && i_467_ < var_s.anInt4590 - 1 && i_467_ < var_s_368_.anInt4590 - 1) { - int i_468_ = ((is[i_466_][i_467_] * (var_s.anInt4592 - i_464_) + is[i_466_ + 1][i_467_] * i_464_) >> var_s.anInt4588); - int i_469_ = (((is[i_466_][i_467_ + 1] * (var_s.anInt4592 - i_464_)) + is[i_466_ + 1][i_467_ + 1] * i_464_) >> var_s.anInt4588); - int i_470_ = (i_468_ * (var_s.anInt4592 - i_465_) + i_469_ * i_465_ >> var_s.anInt4588); - i_468_ = (((is_376_[i_466_][i_467_] * (var_s_368_.anInt4592 - i_464_)) + is_376_[i_466_ + 1][i_467_] * i_464_) >> var_s_368_.anInt4588); - i_469_ = (((is_376_[i_466_][i_467_ + 1] * (var_s_368_.anInt4592 - i_464_)) + is_376_[i_466_ + 1][i_467_ + 1] * i_464_) >> var_s_368_.anInt4588); - int i_471_ = (i_468_ * (var_s_368_.anInt4592 - i_465_) + i_469_ * i_465_ >> var_s_368_.anInt4588); - int i_472_ = i_470_ - i_471_ - i_367_; - anIntArray5332[i_461_] = (((anIntArray5332[i_461_] << 8) / i_448_ * i_472_) >> 8) - (i_370_ - i_470_); - } - } - } - aBoolean5323 = false; - } - } - } - - final void C(int i) { - if ((anInt5316 & 0x1000) != 4096) throw new IllegalStateException(); - anInt5344 = i; - anInt5354 = 0; - } - - private final void method644() { - synchronized (this) { - for (int i = 0; i < anInt5340; i++) { - int i_473_ = anIntArray5356[i]; - anIntArray5356[i] = anIntArray5312[i]; - anIntArray5312[i] = -i_473_; - } - method631(); - } - } - - final int RA() { - if (!aBoolean5323) method655(); - return aShort5393; - } - - final boolean method623(int i, int i_474_, Class101 class101, boolean bool, int i_475_, int i_476_) { - return method645(i, i_474_, class101, bool, i_475_, i_476_); - } - - final Class342[] method604() { - return aClass342Array5335; - } - - final int WA() { - return anInt5344; - } - - final void s(int i) { - if (aHa_Sub1_5353.anInt7485 > 1) { - synchronized (this) { - if ((anInt5316 & 0x10000) == 65536 && (i & 0x10000) == 0) method634(true); - anInt5316 = i; - } - } else { - if ((anInt5316 & 0x10000) == 65536 && (i & 0x10000) == 0) method634(true); - anInt5316 = i; - } - } - - final void method621() { - if (aHa_Sub1_5353.anInt7485 > 1) { - synchronized (this) { - this.aBoolean1124 = false; - this.notifyAll(); - } - } - } - - final void method624(int i, int i_477_, int i_478_, int i_479_) { - if ((anInt5316 & 0x80000) != 524288) throw new IllegalStateException("FMT"); - for (int i_480_ = 0; i_480_ < anInt5351; i_480_++) { - int i_481_ = aShortArray5311[i_480_] & 0xffff; - int i_482_ = i_481_ >> 10 & 0x3f; - int i_483_ = i_481_ >> 7 & 0x7; - int i_484_ = i_481_ & 0x7f; - if (i != -1) i_482_ += (i - i_482_) * i_479_ >> 7; - if (i_477_ != -1) i_483_ += (i_477_ - i_483_) * i_479_ >> 7; - if (i_478_ != -1) i_484_ += (i_478_ - i_484_) * i_479_ >> 7; - aShortArray5311[i_480_] = (short) (i_482_ << 10 | i_483_ << 7 | i_484_); - } - if (aClass6Array5361 != null) { - for (int i_485_ = 0; i_485_ < anInt5389; i_485_++) { - Class6 class6 = aClass6Array5361[i_485_]; - Class350 class350 = aClass350Array5363[i_485_]; - class350.anInt4313 = (class350.anInt4313 & ~0xffffff | (Class126.anIntArray4983[Class25.method303(((aShortArray5311[class6.anInt144]) & 0xffff), 30)]) & 0xffffff); - } - } - if (anInt5354 == 2) anInt5354 = 1; - } - - final boolean method628(int i, int i_486_, Class101 class101, boolean bool, int i_487_) { - return method645(i, i_486_, class101, bool, i_487_, -1); - } - - final int ma() { - if (!aBoolean5323) method655(); - return aShort5348; - } - - private final boolean method645(int i, int i_488_, Class101 class101, boolean bool, int i_489_, int i_490_) { - aClass101_Sub1_5320 = (Class101_Sub1) class101; - Class101_Sub1 class101_sub1 = aHa_Sub1_5353.aClass101_Sub1_7492; - float f = (class101_sub1.aFloat5686 + ((class101_sub1.aFloat5672 * aClass101_Sub1_5320.aFloat5686) + (class101_sub1.aFloat5673 * aClass101_Sub1_5320.aFloat5685) + (class101_sub1.aFloat5669 * aClass101_Sub1_5320.aFloat5681))); - float f_491_ = (class101_sub1.aFloat5685 + ((class101_sub1.aFloat5655 * aClass101_Sub1_5320.aFloat5686) + (class101_sub1.aFloat5678 * aClass101_Sub1_5320.aFloat5685) + (class101_sub1.aFloat5666 * aClass101_Sub1_5320.aFloat5681))); - float f_492_ = (class101_sub1.aFloat5681 + ((class101_sub1.aFloat5662 * aClass101_Sub1_5320.aFloat5686) + (class101_sub1.aFloat5680 * aClass101_Sub1_5320.aFloat5685) + (class101_sub1.aFloat5664 * aClass101_Sub1_5320.aFloat5681))); - float f_493_ = ((class101_sub1.aFloat5672 * aClass101_Sub1_5320.aFloat5672) + (class101_sub1.aFloat5673 * aClass101_Sub1_5320.aFloat5655) + (class101_sub1.aFloat5669 * aClass101_Sub1_5320.aFloat5662)); - float f_494_ = ((class101_sub1.aFloat5672 * aClass101_Sub1_5320.aFloat5673) + (class101_sub1.aFloat5673 * aClass101_Sub1_5320.aFloat5678) + (class101_sub1.aFloat5669 * aClass101_Sub1_5320.aFloat5680)); - float f_495_ = ((class101_sub1.aFloat5672 * aClass101_Sub1_5320.aFloat5669) + (class101_sub1.aFloat5673 * aClass101_Sub1_5320.aFloat5666) + (class101_sub1.aFloat5669 * aClass101_Sub1_5320.aFloat5664)); - float f_496_ = ((class101_sub1.aFloat5655 * aClass101_Sub1_5320.aFloat5672) + (class101_sub1.aFloat5678 * aClass101_Sub1_5320.aFloat5655) + (class101_sub1.aFloat5666 * aClass101_Sub1_5320.aFloat5662)); - float f_497_ = ((class101_sub1.aFloat5655 * aClass101_Sub1_5320.aFloat5673) + (class101_sub1.aFloat5678 * aClass101_Sub1_5320.aFloat5678) + (class101_sub1.aFloat5666 * aClass101_Sub1_5320.aFloat5680)); - float f_498_ = ((class101_sub1.aFloat5655 * aClass101_Sub1_5320.aFloat5669) + (class101_sub1.aFloat5678 * aClass101_Sub1_5320.aFloat5666) + (class101_sub1.aFloat5666 * aClass101_Sub1_5320.aFloat5664)); - float f_499_ = ((class101_sub1.aFloat5662 * aClass101_Sub1_5320.aFloat5672) + (class101_sub1.aFloat5680 * aClass101_Sub1_5320.aFloat5655) + (class101_sub1.aFloat5664 * aClass101_Sub1_5320.aFloat5662)); - float f_500_ = ((class101_sub1.aFloat5662 * aClass101_Sub1_5320.aFloat5673) + (class101_sub1.aFloat5680 * aClass101_Sub1_5320.aFloat5678) + (class101_sub1.aFloat5664 * aClass101_Sub1_5320.aFloat5680)); - float f_501_ = ((class101_sub1.aFloat5662 * aClass101_Sub1_5320.aFloat5669) + (class101_sub1.aFloat5680 * aClass101_Sub1_5320.aFloat5666) + (class101_sub1.aFloat5664 * aClass101_Sub1_5320.aFloat5664)); - boolean bool_502_ = false; - int i_503_ = aHa_Sub1_5353.anInt7510; - int i_504_ = aHa_Sub1_5353.anInt7504; - int i_505_ = aHa_Sub1_5353.anInt7491; - int i_506_ = aHa_Sub1_5353.anInt7497; - int i_507_ = 2147483647; - int i_508_ = -2147483648; - int i_509_ = 2147483647; - int i_510_ = -2147483648; - method632(Thread.currentThread()); - if (!aBoolean5323) method655(); - int i_511_ = aShort5393 - aShort5395 >> 1; - int i_512_ = aShort5365 - aShort5329 >> 1; - int i_513_ = aShort5331 - aShort5352 >> 1; - int i_514_ = aShort5395 + i_511_; - int i_515_ = aShort5329 + i_512_; - int i_516_ = aShort5352 + i_513_; - int i_517_ = i_514_ - (i_511_ << i_489_); - int i_518_ = i_515_ - (i_512_ << i_489_); - int i_519_ = i_516_ - (i_513_ << i_489_); - int i_520_ = i_514_ + (i_511_ << i_489_); - int i_521_ = i_515_ + (i_512_ << i_489_); - int i_522_ = i_516_ + (i_513_ << i_489_); - anIntArray5359[0] = i_517_; - anIntArray5373[0] = i_518_; - anIntArray5398[0] = i_519_; - anIntArray5359[1] = i_520_; - anIntArray5373[1] = i_518_; - anIntArray5398[1] = i_519_; - anIntArray5359[2] = i_517_; - anIntArray5373[2] = i_521_; - anIntArray5398[2] = i_519_; - anIntArray5359[3] = i_520_; - anIntArray5373[3] = i_521_; - anIntArray5398[3] = i_519_; - anIntArray5359[4] = i_517_; - anIntArray5373[4] = i_518_; - anIntArray5398[4] = i_522_; - anIntArray5359[5] = i_520_; - anIntArray5373[5] = i_518_; - anIntArray5398[5] = i_522_; - anIntArray5359[6] = i_517_; - anIntArray5373[6] = i_521_; - anIntArray5398[6] = i_522_; - anIntArray5359[7] = i_520_; - anIntArray5373[7] = i_521_; - anIntArray5398[7] = i_522_; - for (int i_523_ = 0; i_523_ < 8; i_523_++) { - int i_524_ = anIntArray5359[i_523_]; - int i_525_ = anIntArray5373[i_523_]; - int i_526_ = anIntArray5398[i_523_]; - float f_527_ = f + (f_493_ * (float) i_524_ + f_494_ * (float) i_525_ + f_495_ * (float) i_526_); - float f_528_ = f_491_ + (f_496_ * (float) i_524_ + f_497_ * (float) i_525_ + f_498_ * (float) i_526_); - float f_529_ = f_492_ + (f_499_ * (float) i_524_ + f_500_ * (float) i_525_ + f_501_ * (float) i_526_); - if (f_529_ >= (float) aHa_Sub1_5353.anInt7482) { - if (i_490_ > 0) f_529_ = (float) i_490_; - int i_530_ = i_503_ + (int) (f_527_ * (float) i_505_ / f_529_); - int i_531_ = i_504_ + (int) (f_528_ * (float) i_506_ / f_529_); - if (i_530_ < i_507_) i_507_ = i_530_; - if (i_530_ > i_508_) i_508_ = i_530_; - if (i_531_ < i_509_) i_509_ = i_531_; - if (i_531_ > i_510_) i_510_ = i_531_; - bool_502_ = true; - } - } - if (bool_502_ && i > i_507_ && i < i_508_ && i_488_ > i_509_ && i_488_ < i_510_) { - if (bool) return true; - for (int i_532_ = 0; i_532_ < anInt5340; i_532_++) { - int i_533_ = anIntArray5356[i_532_]; - int i_534_ = anIntArray5332[i_532_]; - int i_535_ = anIntArray5312[i_532_]; - float f_536_ = f + (f_493_ * (float) i_533_ + f_494_ * (float) i_534_ + f_495_ * (float) i_535_); - float f_537_ = f_491_ + (f_496_ * (float) i_533_ + f_497_ * (float) i_534_ + f_498_ * (float) i_535_); - float f_538_ = f_492_ + (f_499_ * (float) i_533_ + f_500_ * (float) i_534_ + f_501_ * (float) i_535_); - if (f_538_ >= (float) aHa_Sub1_5353.anInt7482) { - if (i_490_ > 0) f_538_ = (float) i_490_; - anIntArray5321[i_532_] = i_503_ + (int) (f_536_ * (float) i_505_ / f_538_); - anIntArray5343[i_532_] = i_504_ + (int) (f_537_ * (float) i_506_ / f_538_); - } else anIntArray5321[i_532_] = -999999; - } - for (int i_539_ = 0; i_539_ < anInt5351; i_539_++) { - if (anIntArray5321[aShortArray5317[i_539_]] != -999999 && anIntArray5321[aShortArray5394[i_539_]] != -999999 && anIntArray5321[aShortArray5364[i_539_]] != -999999 && method630(i, i_488_, anIntArray5343[aShortArray5317[i_539_]], anIntArray5343[aShortArray5394[i_539_]], anIntArray5343[aShortArray5364[i_539_]], anIntArray5321[aShortArray5317[i_539_]], anIntArray5321[aShortArray5394[i_539_]], anIntArray5321[aShortArray5364[i_539_]])) - return true; - } - } - return false; - } - - private final void method646(int i) { - int i_540_ = 0; - int i_541_ = aHa_Sub1_5353.anInt7482; - short i_542_ = aShortArray5317[i]; - short i_543_ = aShortArray5394[i]; - short i_544_ = aShortArray5364[i]; - int i_545_ = anIntArray5392[i_542_]; - int i_546_ = anIntArray5392[i_543_]; - int i_547_ = anIntArray5392[i_544_]; - if (aByteArray5325 == null) aClass109_5383.anInt1674 = 0; - else aClass109_5383.anInt1674 = aByteArray5325[i] & 0xff; - if (i_545_ >= i_541_) { - anIntArray5315[i_540_] = anIntArray5321[i_542_]; - anIntArray5371[i_540_] = anIntArray5343[i_542_]; - anIntArray5381[i_540_] = anIntArray5355[i_542_]; - anIntArray5377[i_540_++] = anIntArray5368[i] & 0xffff; - } else { - int i_548_ = anIntArray5399[i_542_]; - int i_549_ = anIntArray5384[i_542_]; - int i_550_ = anIntArray5368[i] & 0xffff; - if (i_547_ >= i_541_) { - int i_551_ = (i_541_ - i_545_) * (65536 / (i_547_ - i_545_)); - anIntArray5315[i_540_] = (aClass167_5367.anInt2229 + ((i_548_ + ((anIntArray5399[i_544_] - i_548_) * i_551_ >> 16)) * aHa_Sub1_5353.anInt7491 / i_541_)); - anIntArray5371[i_540_] = (aClass167_5367.anInt2215 + ((i_549_ + ((anIntArray5384[i_544_] - i_549_) * i_551_ >> 16)) * aHa_Sub1_5353.anInt7497 / i_541_)); - anIntArray5381[i_540_] = i_541_; - anIntArray5377[i_540_++] = (i_550_ + (((anIntArray5366[i] & 0xffff) - i_550_) * i_551_ >> 16)); - } - if (i_546_ >= i_541_) { - int i_552_ = (i_541_ - i_545_) * (65536 / (i_546_ - i_545_)); - anIntArray5315[i_540_] = (aClass167_5367.anInt2229 + ((i_548_ + ((anIntArray5399[i_543_] - i_548_) * i_552_ >> 16)) * aHa_Sub1_5353.anInt7491 / i_541_)); - anIntArray5371[i_540_] = (aClass167_5367.anInt2215 + ((i_549_ + ((anIntArray5384[i_543_] - i_549_) * i_552_ >> 16)) * aHa_Sub1_5353.anInt7497 / i_541_)); - anIntArray5381[i_540_] = i_541_; - anIntArray5377[i_540_++] = (i_550_ + (((anIntArray5337[i] & 0xffff) - i_550_) * i_552_ >> 16)); - } - } - if (i_546_ >= i_541_) { - anIntArray5315[i_540_] = anIntArray5321[i_543_]; - anIntArray5371[i_540_] = anIntArray5343[i_543_]; - anIntArray5381[i_540_] = anIntArray5355[i_543_]; - anIntArray5377[i_540_++] = anIntArray5337[i] & 0xffff; - } else { - int i_553_ = anIntArray5399[i_543_]; - int i_554_ = anIntArray5384[i_543_]; - int i_555_ = anIntArray5337[i] & 0xffff; - if (i_545_ >= i_541_) { - int i_556_ = (i_541_ - i_546_) * (65536 / (i_545_ - i_546_)); - anIntArray5315[i_540_] = (aClass167_5367.anInt2229 + ((i_553_ + ((anIntArray5399[i_542_] - i_553_) * i_556_ >> 16)) * aHa_Sub1_5353.anInt7491 / i_541_)); - anIntArray5371[i_540_] = (aClass167_5367.anInt2215 + ((i_554_ + ((anIntArray5384[i_542_] - i_554_) * i_556_ >> 16)) * aHa_Sub1_5353.anInt7497 / i_541_)); - anIntArray5381[i_540_] = i_541_; - anIntArray5377[i_540_++] = (i_555_ + (((anIntArray5368[i] & 0xffff) - i_555_) * i_556_ >> 16)); - } - if (i_547_ >= i_541_) { - int i_557_ = (i_541_ - i_546_) * (65536 / (i_547_ - i_546_)); - anIntArray5315[i_540_] = (aClass167_5367.anInt2229 + ((i_553_ + ((anIntArray5399[i_544_] - i_553_) * i_557_ >> 16)) * aHa_Sub1_5353.anInt7491 / i_541_)); - anIntArray5371[i_540_] = (aClass167_5367.anInt2215 + ((i_554_ + ((anIntArray5384[i_544_] - i_554_) * i_557_ >> 16)) * aHa_Sub1_5353.anInt7497 / i_541_)); - anIntArray5381[i_540_] = i_541_; - anIntArray5377[i_540_++] = (i_555_ + (((anIntArray5366[i] & 0xffff) - i_555_) * i_557_ >> 16)); - } - } - if (i_547_ >= i_541_) { - anIntArray5315[i_540_] = anIntArray5321[i_544_]; - anIntArray5371[i_540_] = anIntArray5343[i_544_]; - anIntArray5381[i_540_] = anIntArray5355[i_544_]; - anIntArray5377[i_540_++] = anIntArray5366[i] & 0xffff; - } else { - int i_558_ = anIntArray5399[i_544_]; - int i_559_ = anIntArray5384[i_544_]; - int i_560_ = anIntArray5366[i] & 0xffff; - if (i_546_ >= i_541_) { - int i_561_ = (i_541_ - i_547_) * (65536 / (i_546_ - i_547_)); - anIntArray5315[i_540_] = (aClass167_5367.anInt2229 + ((i_558_ + ((anIntArray5399[i_543_] - i_558_) * i_561_ >> 16)) * aHa_Sub1_5353.anInt7491 / i_541_)); - anIntArray5371[i_540_] = (aClass167_5367.anInt2215 + ((i_559_ + ((anIntArray5384[i_543_] - i_559_) * i_561_ >> 16)) * aHa_Sub1_5353.anInt7497 / i_541_)); - anIntArray5381[i_540_] = i_541_; - anIntArray5377[i_540_++] = (i_560_ + (((anIntArray5337[i] & 0xffff) - i_560_) * i_561_ >> 16)); - } - if (i_545_ >= i_541_) { - int i_562_ = (i_541_ - i_547_) * (65536 / (i_545_ - i_547_)); - anIntArray5315[i_540_] = (aClass167_5367.anInt2229 + ((i_558_ + ((anIntArray5399[i_542_] - i_558_) * i_562_ >> 16)) * aHa_Sub1_5353.anInt7491 / i_541_)); - anIntArray5371[i_540_] = (aClass167_5367.anInt2215 + ((i_559_ + ((anIntArray5384[i_542_] - i_559_) * i_562_ >> 16)) * aHa_Sub1_5353.anInt7497 / i_541_)); - anIntArray5381[i_540_] = i_541_; - anIntArray5377[i_540_++] = (i_560_ + (((anIntArray5368[i] & 0xffff) - i_560_) * i_562_ >> 16)); - } - } - int i_563_ = anIntArray5315[0]; - int i_564_ = anIntArray5315[1]; - int i_565_ = anIntArray5315[2]; - int i_566_ = anIntArray5371[0]; - int i_567_ = anIntArray5371[1]; - int i_568_ = anIntArray5371[2]; - i_545_ = anIntArray5381[0]; - i_546_ = anIntArray5381[1]; - i_547_ = anIntArray5381[2]; - aClass109_5383.aBoolean1671 = false; - if (i_540_ == 3) { - if (i_563_ < 0 || i_564_ < 0 || i_565_ < 0 || i_563_ > aClass167_5367.anInt2221 || i_564_ > aClass167_5367.anInt2221 || i_565_ > aClass167_5367.anInt2221) aClass109_5383.aBoolean1671 = true; - if (aShortArray5388 == null || aShortArray5388[i] == -1) { - if (anIntArray5366[i] == -1) aClass109_5383.method1018((float) i_566_, (float) i_567_, (float) i_568_, (float) i_563_, (float) i_564_, (float) i_565_, (float) i_545_, (float) i_546_, (float) i_547_, (Class126.anIntArray4983[anIntArray5368[i] & 0xffff])); - else aClass109_5383.method1022((float) i_566_, (float) i_567_, (float) i_568_, (float) i_563_, (float) i_564_, (float) i_565_, (float) i_545_, (float) i_546_, (float) i_547_, (float) anIntArray5377[0], (float) anIntArray5377[1], (float) anIntArray5377[2]); - } else { - int i_569_ = -16777216; - if (aByteArray5325 != null) i_569_ = 255 - (aByteArray5325[i] & 0xff) << 24; - int i_570_ = i_569_ | anIntArray5368[i] & 0xffffff; - if (anIntArray5366[i] == -1) - aClass109_5383.method1024((float) i_566_, (float) i_567_, (float) i_568_, (float) i_563_, (float) i_564_, (float) i_565_, (float) i_545_, (float) i_546_, (float) i_547_, aFloatArrayArray5314[i][0], aFloatArrayArray5314[i][1], aFloatArrayArray5314[i][2], aFloatArrayArray5345[i][0], aFloatArrayArray5345[i][1], aFloatArrayArray5345[i][2], i_570_, i_570_, i_570_, (aClass167_5367.anInt2192), 0, 0, 0, aShortArray5388[i]); - else - aClass109_5383.method1024((float) i_566_, (float) i_567_, (float) i_568_, (float) i_563_, (float) i_564_, (float) i_565_, (float) i_545_, (float) i_546_, (float) i_547_, aFloatArrayArray5314[i][0], aFloatArrayArray5314[i][1], aFloatArrayArray5314[i][2], aFloatArrayArray5345[i][0], aFloatArrayArray5345[i][1], aFloatArrayArray5345[i][2], i_570_, i_570_, i_570_, (aClass167_5367.anInt2192), 0, 0, 0, aShortArray5388[i]); - } - } - if (i_540_ == 4) { - if (i_563_ < 0 || i_564_ < 0 || i_565_ < 0 || i_563_ > aClass167_5367.anInt2221 || i_564_ > aClass167_5367.anInt2221 || i_565_ > aClass167_5367.anInt2221 || anIntArray5315[3] < 0 || anIntArray5315[3] > aClass167_5367.anInt2221) aClass109_5383.aBoolean1671 = true; - if (aShortArray5388 == null || aShortArray5388[i] == -1) { - if (anIntArray5366[i] == -1) { - int i_571_ = Class126.anIntArray4983[anIntArray5368[i] & 0xffff]; - aClass109_5383.method1018((float) i_566_, (float) i_567_, (float) i_568_, (float) i_563_, (float) i_564_, (float) i_565_, (float) i_545_, (float) i_546_, (float) i_547_, i_571_); - aClass109_5383.method1018((float) i_566_, (float) i_568_, (float) anIntArray5371[3], (float) i_563_, (float) i_565_, (float) anIntArray5315[3], (float) i_545_, (float) i_546_, (float) anIntArray5381[3], i_571_); - } else { - aClass109_5383.method1022((float) i_566_, (float) i_567_, (float) i_568_, (float) i_563_, (float) i_564_, (float) i_565_, (float) i_545_, (float) i_546_, (float) i_547_, (float) anIntArray5377[0], (float) anIntArray5377[1], (float) anIntArray5377[2]); - aClass109_5383.method1022((float) i_566_, (float) i_568_, (float) anIntArray5371[3], (float) i_563_, (float) i_565_, (float) anIntArray5315[3], (float) i_545_, (float) i_546_, (float) anIntArray5381[3], (float) anIntArray5377[0], (float) anIntArray5377[2], (float) anIntArray5377[3]); - } - } else { - int i_572_ = -16777216; - if (aByteArray5325 != null) i_572_ = 255 - (aByteArray5325[i] & 0xff) << 24; - int i_573_ = i_572_ | anIntArray5368[i] & 0xffffff; - if (anIntArray5366[i] == -1) { - aClass109_5383.method1024((float) i_566_, (float) i_567_, (float) i_568_, (float) i_563_, (float) i_564_, (float) i_565_, (float) i_545_, (float) i_546_, (float) i_547_, aFloatArrayArray5314[i][0], aFloatArrayArray5314[i][1], aFloatArrayArray5314[i][2], aFloatArrayArray5345[i][0], aFloatArrayArray5345[i][1], aFloatArrayArray5345[i][2], i_573_, i_573_, i_573_, (aClass167_5367.anInt2192), 0, 0, 0, aShortArray5388[i]); - aClass109_5383.method1024((float) i_566_, (float) i_568_, (float) anIntArray5371[3], (float) i_563_, (float) i_565_, (float) anIntArray5315[3], (float) i_545_, (float) i_547_, (float) anIntArray5381[3], aFloatArrayArray5314[i][0], aFloatArrayArray5314[i][1], aFloatArrayArray5314[i][2], aFloatArrayArray5345[i][0], aFloatArrayArray5345[i][1], aFloatArrayArray5345[i][2], i_573_, i_573_, i_573_, (aClass167_5367.anInt2192), 0, 0, 0, aShortArray5388[i]); - } else { - aClass109_5383.method1024((float) i_566_, (float) i_567_, (float) i_568_, (float) i_563_, (float) i_564_, (float) i_565_, (float) i_545_, (float) i_546_, (float) i_547_, aFloatArrayArray5314[i][0], aFloatArrayArray5314[i][1], aFloatArrayArray5314[i][2], aFloatArrayArray5345[i][0], aFloatArrayArray5345[i][1], aFloatArrayArray5345[i][2], i_573_, i_573_, i_573_, (aClass167_5367.anInt2192), 0, 0, 0, aShortArray5388[i]); - aClass109_5383.method1024((float) i_566_, (float) i_568_, (float) anIntArray5371[3], (float) i_563_, (float) i_565_, (float) anIntArray5315[3], (float) i_545_, (float) i_547_, (float) anIntArray5381[3], aFloatArrayArray5314[i][0], aFloatArrayArray5314[i][1], aFloatArrayArray5314[i][2], aFloatArrayArray5345[i][0], aFloatArrayArray5345[i][1], aFloatArrayArray5345[i][2], i_573_, i_573_, i_573_, (aClass167_5367.anInt2192), 0, 0, 0, aShortArray5388[i]); - } - } - } - } - - private final void method647() { - if (anInt5354 == 0) method634(false); - else if (aHa_Sub1_5353.anInt7485 > 1) { - synchronized (this) { - method640(); - } - } else method640(); - } - - private final void method648(Thread thread) { - Class167 class167 = aHa_Sub1_5353.method3724(thread); - if (class167 != aClass167_5336) { - aClass167_5336 = class167; - aClass64_Sub1_5378 = aClass167_5336.aClass64_Sub1_2243; - aClass64_Sub1_5339 = aClass167_5336.aClass64_Sub1_2224; - aClass64_Sub1_5396 = aClass167_5336.aClass64_Sub1_2219; - aClass64_Sub1_5347 = aClass167_5336.aClass64_Sub1_2239; - aClass64_Sub1_5390 = aClass167_5336.aClass64_Sub1_2233; - aClass64_Sub1_5374 = aClass167_5336.aClass64_Sub1_2231; - aClass64_Sub1_5328 = aClass167_5336.aClass64_Sub1_2223; - aClass64_Sub1_5376 = aClass167_5336.aClass64_Sub1_2227; - aClass64_Sub1_5397 = aClass167_5336.aClass64_Sub1_2246; - aClass64_Sub1_5319 = aClass167_5336.aClass64_Sub1_2225; - } - } - - final void LA(int i) { - if ((anInt5316 & 0x2000) != 8192) throw new IllegalStateException(); - anInt5349 = i; - anInt5354 = 0; - } - - final void VA(int i) { - if ((anInt5316 & 0x3) != 3) throw new IllegalStateException(); - int i_574_ = Class70.anIntArray1207[i]; - int i_575_ = Class70.anIntArray1204[i]; - synchronized (this) { - for (int i_576_ = 0; i_576_ < anInt5340; i_576_++) { - int i_577_ = ((anIntArray5332[i_576_] * i_574_ + anIntArray5356[i_576_] * i_575_) >> 14); - anIntArray5332[i_576_] = (anIntArray5332[i_576_] * i_575_ - anIntArray5356[i_576_] * i_574_) >> 14; - anIntArray5356[i_576_] = i_577_; - } - method631(); - } - } - - final void a(int i) { - if ((anInt5316 & 0x5) != 5) throw new IllegalStateException(); - if (i == 4096) method644(); - else if (i == 8192) method651(); - else if (i == 12288) method639(); - else { - int i_578_ = Class70.anIntArray1207[i]; - int i_579_ = Class70.anIntArray1204[i]; - synchronized (this) { - for (int i_580_ = 0; i_580_ < anInt5340; i_580_++) { - int i_581_ = ((anIntArray5312[i_580_] * i_578_ + anIntArray5356[i_580_] * i_579_) >> 14); - anIntArray5312[i_580_] = (anIntArray5312[i_580_] * i_579_ - anIntArray5356[i_580_] * i_578_) >> 14; - anIntArray5356[i_580_] = i_581_; - } - method631(); - } - } - } - - final void aa(short i, short i_582_) { - if (aShortArray5388 != null) { - if (!aBoolean5391 && i_582_ >= 0) { - Class12 class12 = aHa_Sub1_5353.aD4579.method3(i_582_ & 0xffff, -6662); - if (class12.aByte198 != 0 || class12.aByte211 != 0) aBoolean5391 = true; - } - for (int i_583_ = 0; i_583_ < anInt5351; i_583_++) { - if (aShortArray5388[i_583_] == i) aShortArray5388[i_583_] = i_582_; - } - } - } - - final void method613(Class64 class64, int i, int i_584_, int i_585_, boolean bool) { - Class64_Sub1 class64_sub1_586_ = (Class64_Sub1) class64; - if ((anInt5316 & 0x10000) != 65536) throw new IllegalStateException(""); - if ((class64_sub1_586_.anInt5316 & 0x10000) != 65536) throw new IllegalStateException(""); - method632(Thread.currentThread()); - method655(); - method636(); - class64_sub1_586_.method655(); - class64_sub1_586_.method636(); - anInt5341++; - int i_587_ = 0; - int[] is = class64_sub1_586_.anIntArray5356; - int i_588_ = class64_sub1_586_.anInt5387; - for (int i_589_ = 0; i_589_ < anInt5387; i_589_++) { - Class360 class360 = aClass360Array5360[i_589_]; - if (class360.anInt4429 != 0) { - int i_590_ = anIntArray5332[i_589_] - i_584_; - if (i_590_ >= class64_sub1_586_.aShort5329 && i_590_ <= class64_sub1_586_.aShort5365) { - int i_591_ = anIntArray5356[i_589_] - i; - if (i_591_ >= class64_sub1_586_.aShort5395 && i_591_ <= class64_sub1_586_.aShort5393) { - int i_592_ = anIntArray5312[i_589_] - i_585_; - if (i_592_ >= class64_sub1_586_.aShort5352 && i_592_ <= class64_sub1_586_.aShort5331) { - for (int i_593_ = 0; i_593_ < i_588_; i_593_++) { - Class360 class360_594_ = (class64_sub1_586_.aClass360Array5360[i_593_]); - if (i_591_ == is[i_593_] && i_592_ == (class64_sub1_586_.anIntArray5312[i_593_]) && i_590_ == (class64_sub1_586_.anIntArray5332[i_593_]) && (class360_594_.anInt4429 != 0)) { - if (aClass360Array5313 == null) aClass360Array5313 = new Class360[anInt5387]; - if (class64_sub1_586_.aClass360Array5313 == null) class64_sub1_586_.aClass360Array5313 = new Class360[i_588_]; - Class360 class360_595_ = aClass360Array5313[i_589_]; - if (class360_595_ == null) class360_595_ = aClass360Array5313[i_589_] = new Class360(class360); - Class360 class360_596_ = (class64_sub1_586_.aClass360Array5313[i_593_]); - if (class360_596_ == null) class360_596_ = class64_sub1_586_.aClass360Array5313[i_593_] = new Class360(class360_594_); - class360_595_.anInt4430 += (class360_594_.anInt4430); - class360_595_.anInt4428 += (class360_594_.anInt4428); - class360_595_.anInt4427 += (class360_594_.anInt4427); - class360_595_.anInt4429 += (class360_594_.anInt4429); - class360_596_.anInt4430 += class360.anInt4430; - class360_596_.anInt4428 += class360.anInt4428; - class360_596_.anInt4427 += class360.anInt4427; - class360_596_.anInt4429 += class360.anInt4429; - i_587_++; - anIntArray5326[i_589_] = anInt5341; - anIntArray5318[i_593_] = anInt5341; - } - } - } - } - } - } - } - if (i_587_ >= 3 && bool) { - for (int i_597_ = 0; i_597_ < anInt5351; i_597_++) { - if (anIntArray5326[aShortArray5317[i_597_]] == anInt5341 && anIntArray5326[aShortArray5394[i_597_]] == anInt5341 && anIntArray5326[aShortArray5364[i_597_]] == anInt5341) { - if (aByteArray5386 == null) aByteArray5386 = new byte[anInt5351]; - aByteArray5386[i_597_] = (byte) 2; - } - } - for (int i_598_ = 0; i_598_ < class64_sub1_586_.anInt5351; i_598_++) { - if ((anIntArray5318[class64_sub1_586_.aShortArray5317[i_598_]] == anInt5341) && anIntArray5318[(class64_sub1_586_.aShortArray5394[i_598_])] == anInt5341 && anIntArray5318[(class64_sub1_586_.aShortArray5364[i_598_])] == anInt5341) { - if (class64_sub1_586_.aByteArray5386 == null) class64_sub1_586_.aByteArray5386 = new byte[class64_sub1_586_.anInt5351]; - class64_sub1_586_.aByteArray5386[i_598_] = (byte) 2; - } - } - } - } - - private final void method649() { - aClass360Array5360 = new Class360[anInt5387]; - for (int i = 0; i < anInt5387; i++) - aClass360Array5360[i] = new Class360(); - for (int i = 0; i < anInt5351; i++) { - short i_599_ = aShortArray5317[i]; - short i_600_ = aShortArray5394[i]; - short i_601_ = aShortArray5364[i]; - int i_602_ = anIntArray5356[i_600_] - anIntArray5356[i_599_]; - int i_603_ = anIntArray5332[i_600_] - anIntArray5332[i_599_]; - int i_604_ = anIntArray5312[i_600_] - anIntArray5312[i_599_]; - int i_605_ = anIntArray5356[i_601_] - anIntArray5356[i_599_]; - int i_606_ = anIntArray5332[i_601_] - anIntArray5332[i_599_]; - int i_607_ = anIntArray5312[i_601_] - anIntArray5312[i_599_]; - int i_608_ = i_603_ * i_607_ - i_606_ * i_604_; - int i_609_ = i_604_ * i_605_ - i_607_ * i_602_; - int i_610_; - for (i_610_ = i_602_ * i_606_ - i_605_ * i_603_; (i_608_ > 8192 || i_609_ > 8192 || i_610_ > 8192 || i_608_ < -8192 || i_609_ < -8192 || i_610_ < -8192); i_610_ >>= 1) { - i_608_ >>= 1; - i_609_ >>= 1; - } - int i_611_ = (int) Math.sqrt(i_608_ * i_608_ + i_609_ * i_609_ + i_610_ * i_610_); - if (i_611_ <= 0) i_611_ = 1; - i_608_ = i_608_ * 256 / i_611_; - i_609_ = i_609_ * 256 / i_611_; - i_610_ = i_610_ * 256 / i_611_; - byte i_612_; - if (aByteArray5386 == null) i_612_ = (byte) 0; - else i_612_ = aByteArray5386[i]; - if (i_612_ == 0) { - Class360 class360 = aClass360Array5360[i_599_]; - class360.anInt4430 += i_608_; - class360.anInt4428 += i_609_; - class360.anInt4427 += i_610_; - class360.anInt4429++; - class360 = aClass360Array5360[i_600_]; - class360.anInt4430 += i_608_; - class360.anInt4428 += i_609_; - class360.anInt4427 += i_610_; - class360.anInt4429++; - class360 = aClass360Array5360[i_601_]; - class360.anInt4430 += i_608_; - class360.anInt4428 += i_609_; - class360.anInt4427 += i_610_; - class360.anInt4429++; - } else if (i_612_ == 1) { - if (aClass41Array5385 == null) aClass41Array5385 = new Class41[anInt5351]; - Class41 class41 = aClass41Array5385[i] = new Class41(); - class41.anInt561 = i_608_; - class41.anInt560 = i_609_; - class41.anInt559 = i_610_; - } - } - } - - final void H(int i, int i_613_, int i_614_) { - if (i != 0 && (anInt5316 & 0x1) != 1) throw new IllegalStateException(); - if (i_613_ != 0 && (anInt5316 & 0x2) != 2) throw new IllegalStateException(); - if (i_614_ != 0 && (anInt5316 & 0x4) != 4) throw new IllegalStateException(); - synchronized (this) { - for (int i_615_ = 0; i_615_ < anInt5340; i_615_++) { - anIntArray5356[i_615_] += i; - anIntArray5332[i_615_] += i_613_; - anIntArray5312[i_615_] += i_614_; - } - } - } - - final void v() { - if ((anInt5316 & 0x10) != 16) throw new IllegalStateException(); - synchronized (this) { - for (int i = 0; i < anInt5340; i++) - anIntArray5312[i] = -anIntArray5312[i]; - if (aClass360Array5360 != null) { - for (int i = 0; i < anInt5387; i++) { - if (aClass360Array5360[i] != null) aClass360Array5360[i].anInt4427 = -aClass360Array5360[i].anInt4427; - } - } - if (aClass360Array5313 != null) { - for (int i = 0; i < anInt5387; i++) { - if (aClass360Array5313[i] != null) aClass360Array5313[i].anInt4427 = -aClass360Array5313[i].anInt4427; - } - } - if (aClass41Array5385 != null) { - for (int i = 0; i < anInt5351; i++) { - if (aClass41Array5385[i] != null) aClass41Array5385[i].anInt559 = -aClass41Array5385[i].anInt559; - } - } - short[] is = aShortArray5317; - aShortArray5317 = aShortArray5364; - aShortArray5364 = is; - if (aFloatArrayArray5314 != null) { - for (int i = 0; i < anInt5351; i++) { - if (aFloatArrayArray5314[i] != null) { - float f = aFloatArrayArray5314[i][0]; - aFloatArrayArray5314[i][0] = aFloatArrayArray5314[i][2]; - aFloatArrayArray5314[i][2] = f; - } - if (aFloatArrayArray5345[i] != null) { - float f = aFloatArrayArray5345[i][0]; - aFloatArrayArray5345[i][0] = aFloatArrayArray5345[i][2]; - aFloatArrayArray5345[i][2] = f; - } - } - } - aBoolean5323 = false; - anInt5354 = 0; - } - } - - private final void method650(boolean bool, boolean bool_616_, int i, int i_617_) { - if (aClass6Array5361 != null) { - for (int i_618_ = 0; i_618_ < anInt5389; i_618_++) { - Class6 class6 = aClass6Array5361[i_618_]; - anIntArray5400[class6.anInt144] = i_618_; - } - } - if (aBoolean5382 || aClass6Array5361 != null) { - if ((anInt5316 & 0x100) == 0 && aShortArray5327 != null) { - for (int i_619_ = 0; i_619_ < anInt5351; i_619_++) { - short i_620_ = aShortArray5327[i_619_]; - method643(i_620_, bool, bool_616_); - } - } else { - for (int i_621_ = 0; i_621_ < anInt5351; i_621_++) { - if (!method629(i_621_) && !method638(i_621_)) method643(i_621_, bool, bool_616_); - } - if (aByteArray5358 == null) { - for (int i_622_ = 0; i_622_ < anInt5351; i_622_++) { - if (method629(i_622_) || method638(i_622_)) method643(i_622_, bool, bool_616_); - } - } else { - for (int i_623_ = 0; i_623_ < 12; i_623_++) { - for (int i_624_ = 0; i_624_ < anInt5351; i_624_++) { - if (aByteArray5358[i_624_] == i_623_ && (method629(i_624_) || method638(i_624_))) method643(i_624_, bool, bool_616_); - } - } - } - } - } else { - for (int i_625_ = 0; i_625_ < anInt5351; i_625_++) - method643(i_625_, bool, bool_616_); - } - } - - private final void method651() { - synchronized (this) { - for (int i = 0; i < anInt5340; i++) { - anIntArray5356[i] = -anIntArray5356[i]; - anIntArray5312[i] = -anIntArray5312[i]; - } - method631(); - } - } - - final void ia(short i, short i_626_) { - for (int i_627_ = 0; i_627_ < anInt5351; i_627_++) { - if (aShortArray5311[i_627_] == i) aShortArray5311[i_627_] = i_626_; - } - if (aClass6Array5361 != null) { - for (int i_628_ = 0; i_628_ < anInt5389; i_628_++) { - Class6 class6 = aClass6Array5361[i_628_]; - Class350 class350 = aClass350Array5363[i_628_]; - class350.anInt4313 = (class350.anInt4313 & ~0xffffff | (Class126.anIntArray4983[Class25.method303((aShortArray5311[class6.anInt144]), 30) & 0xffff]) & 0xffffff); - } - } - if (anInt5354 == 2) anInt5354 = 1; - } - - private final void method652() { - synchronized (this) { - for (int i = 0; i < anInt5387; i++) { - anIntArray5356[i] = -anIntArray5356[i]; - anIntArray5312[i] = -anIntArray5312[i]; - if (aClass360Array5360[i] != null) { - aClass360Array5360[i].anInt4430 = -aClass360Array5360[i].anInt4430; - aClass360Array5360[i].anInt4427 = -aClass360Array5360[i].anInt4427; - } - } - if (aClass41Array5385 != null) { - for (int i = 0; i < anInt5351; i++) { - if (aClass41Array5385[i] != null) { - aClass41Array5385[i].anInt561 = -aClass41Array5385[i].anInt561; - aClass41Array5385[i].anInt559 = -aClass41Array5385[i].anInt559; - } - } - } - for (int i = anInt5387; i < anInt5340; i++) { - anIntArray5356[i] = -anIntArray5356[i]; - anIntArray5312[i] = -anIntArray5312[i]; - } - anInt5354 = 0; - aBoolean5323 = false; - } - } - - private final void method653() { - synchronized (this) { - for (int i = 0; i < anInt5387; i++) { - int i_629_ = anIntArray5356[i]; - anIntArray5356[i] = anIntArray5312[i]; - anIntArray5312[i] = -i_629_; - if (aClass360Array5360[i] != null) { - i_629_ = aClass360Array5360[i].anInt4430; - aClass360Array5360[i].anInt4430 = aClass360Array5360[i].anInt4427; - aClass360Array5360[i].anInt4427 = -i_629_; - } - } - if (aClass41Array5385 != null) { - for (int i = 0; i < anInt5351; i++) { - if (aClass41Array5385[i] != null) { - int i_630_ = aClass41Array5385[i].anInt561; - aClass41Array5385[i].anInt561 = aClass41Array5385[i].anInt559; - aClass41Array5385[i].anInt559 = -i_630_; - } - } - } - for (int i = anInt5387; i < anInt5340; i++) { - int i_631_ = anIntArray5356[i]; - anIntArray5356[i] = anIntArray5312[i]; - anIntArray5312[i] = -i_631_; - } - anInt5354 = 0; - aBoolean5323 = false; - } - } - - private final void method654(Class101 class101, Class318_Sub3 class318_sub3, int i, int i_632_) { - if (anInt5387 >= 1) { - aClass101_Sub1_5320 = (Class101_Sub1) class101; - Class101_Sub1 class101_sub1 = aHa_Sub1_5353.aClass101_Sub1_7492; - if (!aBoolean5323) method655(); - boolean bool = false; - if (aClass101_Sub1_5320.aFloat5672 == 16384.0F && aClass101_Sub1_5320.aFloat5673 == 0.0F && aClass101_Sub1_5320.aFloat5669 == 0.0F && aClass101_Sub1_5320.aFloat5655 == 0.0F && aClass101_Sub1_5320.aFloat5678 == 16384.0F && aClass101_Sub1_5320.aFloat5666 == 0.0F && aClass101_Sub1_5320.aFloat5662 == 0.0F && aClass101_Sub1_5320.aFloat5680 == 0.0F && (aClass101_Sub1_5320.aFloat5664 == 16384.0F)) - bool = true; - float f = (class101_sub1.aFloat5681 + (class101_sub1.aFloat5662 * aClass101_Sub1_5320.aFloat5686) + (class101_sub1.aFloat5680 * aClass101_Sub1_5320.aFloat5685) + (class101_sub1.aFloat5664 * aClass101_Sub1_5320.aFloat5681)); - float f_633_ = (bool ? class101_sub1.aFloat5680 : ((class101_sub1.aFloat5662 * aClass101_Sub1_5320.aFloat5673) + (class101_sub1.aFloat5680 * aClass101_Sub1_5320.aFloat5678) + (class101_sub1.aFloat5664 * aClass101_Sub1_5320.aFloat5680))); - int i_634_ = (int) (f + (float) aShort5329 * f_633_); - int i_635_ = (int) (f + (float) aShort5365 * f_633_); - int i_636_; - int i_637_; - if (i_634_ > i_635_) { - i_636_ = i_635_ - aShort5324; - i_637_ = i_634_ + aShort5324; - } else { - i_636_ = i_634_ - aShort5324; - i_637_ = i_635_ + aShort5324; - } - if (i_636_ < aHa_Sub1_5353.anInt7494 && i_637_ > aHa_Sub1_5353.anInt7482) { - float f_638_ = (class101_sub1.aFloat5686 + (class101_sub1.aFloat5672 * aClass101_Sub1_5320.aFloat5686) + (class101_sub1.aFloat5673 * aClass101_Sub1_5320.aFloat5685) + (class101_sub1.aFloat5669 * aClass101_Sub1_5320.aFloat5681)); - float f_639_ = (bool ? class101_sub1.aFloat5673 : ((class101_sub1.aFloat5672 * aClass101_Sub1_5320.aFloat5673) + (class101_sub1.aFloat5673 * (aClass101_Sub1_5320.aFloat5678)) + (class101_sub1.aFloat5669 * (aClass101_Sub1_5320.aFloat5680)))); - int i_640_ = (int) (f_638_ + (float) aShort5329 * f_639_); - int i_641_ = (int) (f_638_ + (float) aShort5365 * f_639_); - int i_642_; - int i_643_; - if (i_640_ > i_641_) { - i_642_ = ((i_641_ - aShort5324) * aHa_Sub1_5353.anInt7491); - i_643_ = ((i_640_ + aShort5324) * aHa_Sub1_5353.anInt7491); - } else { - i_642_ = ((i_640_ - aShort5324) * aHa_Sub1_5353.anInt7491); - i_643_ = ((i_641_ + aShort5324) * aHa_Sub1_5353.anInt7491); - } - if (i == -1) { - if (i_642_ / i_637_ >= aHa_Sub1_5353.anInt7508 || (i_643_ / i_637_ <= aHa_Sub1_5353.anInt7509)) return; - } else if (i_642_ / i >= aHa_Sub1_5353.anInt7508 || (i_643_ / i <= aHa_Sub1_5353.anInt7509)) return; - float f_644_ = (class101_sub1.aFloat5685 + (class101_sub1.aFloat5655 * aClass101_Sub1_5320.aFloat5686) + (class101_sub1.aFloat5678 * aClass101_Sub1_5320.aFloat5685) + (class101_sub1.aFloat5666 * aClass101_Sub1_5320.aFloat5681)); - float f_645_ = (bool ? class101_sub1.aFloat5678 : ((class101_sub1.aFloat5655 * aClass101_Sub1_5320.aFloat5673) + (class101_sub1.aFloat5678 * (aClass101_Sub1_5320.aFloat5678)) + (class101_sub1.aFloat5666 * (aClass101_Sub1_5320.aFloat5680)))); - int i_646_ = (int) (f_644_ + (float) aShort5329 * f_645_); - int i_647_ = (int) (f_644_ + (float) aShort5365 * f_645_); - int i_648_; - int i_649_; - if (i_646_ > i_647_) { - i_648_ = ((i_647_ - aShort5324) * aHa_Sub1_5353.anInt7497); - i_649_ = ((i_646_ + aShort5324) * aHa_Sub1_5353.anInt7497); - } else { - i_648_ = ((i_646_ - aShort5324) * aHa_Sub1_5353.anInt7497); - i_649_ = ((i_647_ + aShort5324) * aHa_Sub1_5353.anInt7497); - } - if (i == -1) { - if (i_648_ / i_637_ >= aHa_Sub1_5353.anInt7506 || (i_649_ / i_637_ <= aHa_Sub1_5353.anInt7490)) return; - } else if (i_648_ / i >= aHa_Sub1_5353.anInt7506 || (i_649_ / i <= aHa_Sub1_5353.anInt7490)) return; - float f_650_; - float f_651_; - float f_652_; - float f_653_; - float f_654_; - float f_655_; - if (bool) { - f_650_ = class101_sub1.aFloat5672; - f_651_ = class101_sub1.aFloat5655; - f_652_ = class101_sub1.aFloat5662; - f_653_ = class101_sub1.aFloat5669; - f_654_ = class101_sub1.aFloat5666; - f_655_ = class101_sub1.aFloat5664; - } else { - f_650_ = ((class101_sub1.aFloat5672 * aClass101_Sub1_5320.aFloat5672) + (class101_sub1.aFloat5673 * (aClass101_Sub1_5320.aFloat5655)) + (class101_sub1.aFloat5669 * (aClass101_Sub1_5320.aFloat5662))); - f_651_ = ((class101_sub1.aFloat5655 * aClass101_Sub1_5320.aFloat5672) + (class101_sub1.aFloat5678 * (aClass101_Sub1_5320.aFloat5655)) + (class101_sub1.aFloat5666 * (aClass101_Sub1_5320.aFloat5662))); - f_652_ = ((class101_sub1.aFloat5662 * aClass101_Sub1_5320.aFloat5672) + (class101_sub1.aFloat5680 * (aClass101_Sub1_5320.aFloat5655)) + (class101_sub1.aFloat5664 * (aClass101_Sub1_5320.aFloat5662))); - f_653_ = ((class101_sub1.aFloat5672 * aClass101_Sub1_5320.aFloat5669) + (class101_sub1.aFloat5673 * (aClass101_Sub1_5320.aFloat5666)) + (class101_sub1.aFloat5669 * (aClass101_Sub1_5320.aFloat5664))); - f_654_ = ((class101_sub1.aFloat5655 * aClass101_Sub1_5320.aFloat5669) + (class101_sub1.aFloat5678 * (aClass101_Sub1_5320.aFloat5666)) + (class101_sub1.aFloat5666 * (aClass101_Sub1_5320.aFloat5664))); - f_655_ = ((class101_sub1.aFloat5662 * aClass101_Sub1_5320.aFloat5669) + (class101_sub1.aFloat5680 * (aClass101_Sub1_5320.aFloat5666)) + (class101_sub1.aFloat5664 * (aClass101_Sub1_5320.aFloat5664))); - } - if (aHa_Sub1_5353.anInt7485 > 1) { - synchronized (this) { - while (aBoolean5357) { - try { - this.wait(); - } catch (InterruptedException interruptedexception) { - /* empty */ - } - } - aBoolean5357 = true; - } - } - method632(Thread.currentThread()); - aClass109_5383.method1023((i_632_ & 0x2) != 0); - boolean bool_656_ = false; - boolean bool_657_ = i_636_ <= aHa_Sub1_5353.anInt7482; - boolean bool_658_ = (bool_657_ || aClass129Array5322 != null || aClass342Array5335 != null); - aClass167_5367.anInt2221 = aClass109_5383.anInt1679; - aClass167_5367.anInt2229 = aClass109_5383.anInt1665; - aClass167_5367.anInt2215 = aClass109_5383.anInt1668; - int i_659_ = aHa_Sub1_5353.anInt7491; - int i_660_ = aHa_Sub1_5353.anInt7497; - int i_661_ = aHa_Sub1_5353.anInt7482; - if (i == -1) { - for (int i_662_ = 0; i_662_ < anInt5340; i_662_++) { - int i_663_ = anIntArray5356[i_662_]; - int i_664_ = anIntArray5332[i_662_]; - int i_665_ = anIntArray5312[i_662_]; - float f_666_ = (f_638_ + f_650_ * (float) i_663_ + f_639_ * (float) i_664_ + f_653_ * (float) i_665_); - float f_667_ = (f_644_ + f_651_ * (float) i_663_ + f_645_ * (float) i_664_ + f_654_ * (float) i_665_); - float f_668_ = (f + f_652_ * (float) i_663_ + f_633_ * (float) i_664_ + f_655_ * (float) i_665_); - anIntArray5355[i_662_] = (int) f_668_; - if (f_668_ >= (float) i_661_) { - anIntArray5321[i_662_] = (aClass167_5367.anInt2229 + (int) (f_666_ * (float) i_659_ / f_668_)); - anIntArray5343[i_662_] = (aClass167_5367.anInt2215 + (int) (f_667_ * (float) i_660_ / f_668_)); - } else { - anIntArray5321[i_662_] = -5000; - bool_656_ = true; - } - if (bool_658_) { - anIntArray5399[i_662_] = (int) f_666_; - anIntArray5384[i_662_] = (int) f_667_; - anIntArray5392[i_662_] = (int) f_668_; - } - if (aClass167_5367.aBoolean2195) anIntArray5362[i_662_] = (int) ((aClass101_Sub1_5320.aFloat5685) + ((aClass101_Sub1_5320.aFloat5655 * (float) i_663_) + (aClass101_Sub1_5320.aFloat5678 * (float) i_664_) + (aClass101_Sub1_5320.aFloat5666 * (float) i_665_))); - } - if (aClass6Array5361 != null) { - for (int i_669_ = 0; i_669_ < anInt5389; i_669_++) { - Class6 class6 = aClass6Array5361[i_669_]; - Class350 class350 = aClass350Array5363[i_669_]; - short i_670_ = aShortArray5317[class6.anInt144]; - short i_671_ = aShortArray5394[class6.anInt144]; - short i_672_ = aShortArray5364[class6.anInt144]; - int i_673_ = ((anIntArray5356[i_670_] + anIntArray5356[i_671_] + anIntArray5356[i_672_]) / 3); - int i_674_ = ((anIntArray5332[i_670_] + anIntArray5332[i_671_] + anIntArray5332[i_672_]) / 3); - int i_675_ = ((anIntArray5312[i_670_] + anIntArray5312[i_671_] + anIntArray5312[i_672_]) / 3); - float f_676_ = ((float) class350.anInt4316 + (f_638_ + f_650_ * (float) i_673_ + f_639_ * (float) i_674_ + f_653_ * (float) i_675_)); - float f_677_ = ((float) class350.anInt4317 + (f_644_ + f_651_ * (float) i_673_ + f_645_ * (float) i_674_ + f_654_ * (float) i_675_)); - float f_678_ = (f + f_652_ * (float) i_673_ + f_633_ * (float) i_674_ + f_655_ * (float) i_675_); - if (f_678_ > (float) (aHa_Sub1_5353.anInt7482)) { - class350.anInt4312 = (aHa_Sub1_5353.anInt7510 + (int) (f_676_ * (float) i_659_ / f_678_)); - class350.anInt4310 = (aHa_Sub1_5353.anInt7504 + (int) (f_677_ * (float) i_660_ / f_678_)); - class350.anInt4320 = ((int) f_678_ - class6.anInt154); - class350.anInt4309 = (int) ((float) ((class350.anInt4314) * (class6.aShort150) * i_659_) / (f_678_ * 128.0F)); - class350.anInt4307 = (int) ((float) ((class350.anInt4311) * (class6.aShort143) * i_660_) / (f_678_ * 128.0F)); - } else class350.anInt4309 = class350.anInt4307 = 0; - } - } - } else { - for (int i_679_ = 0; i_679_ < anInt5340; i_679_++) { - int i_680_ = anIntArray5356[i_679_]; - int i_681_ = anIntArray5332[i_679_]; - int i_682_ = anIntArray5312[i_679_]; - float f_683_ = (f_638_ + f_650_ * (float) i_680_ + f_639_ * (float) i_681_ + f_653_ * (float) i_682_); - float f_684_ = (f_644_ + f_651_ * (float) i_680_ + f_645_ * (float) i_681_ + f_654_ * (float) i_682_); - float f_685_ = (f + f_652_ * (float) i_680_ + f_633_ * (float) i_681_ + f_655_ * (float) i_682_); - anIntArray5355[i_679_] = (int) f_685_; - anIntArray5321[i_679_] = (aClass167_5367.anInt2229 + (int) (f_683_ * (float) i_659_ / (float) i)); - anIntArray5343[i_679_] = (aClass167_5367.anInt2215 + (int) (f_684_ * (float) i_660_ / (float) i)); - if (bool_658_) { - anIntArray5399[i_679_] = (int) f_683_; - anIntArray5384[i_679_] = (int) f_684_; - anIntArray5392[i_679_] = i; - } - if (aClass167_5367.aBoolean2195) anIntArray5362[i_679_] = (int) ((aClass101_Sub1_5320.aFloat5685) + ((aClass101_Sub1_5320.aFloat5655 * (float) i_680_) + (aClass101_Sub1_5320.aFloat5678 * (float) i_681_) + (aClass101_Sub1_5320.aFloat5666 * (float) i_682_))); - } - if (aClass6Array5361 != null) { - for (int i_686_ = 0; i_686_ < anInt5389; i_686_++) { - Class6 class6 = aClass6Array5361[i_686_]; - Class350 class350 = aClass350Array5363[i_686_]; - short i_687_ = aShortArray5317[class6.anInt144]; - short i_688_ = aShortArray5394[class6.anInt144]; - short i_689_ = aShortArray5364[class6.anInt144]; - int i_690_ = ((anIntArray5356[i_687_] + anIntArray5356[i_688_] + anIntArray5356[i_689_]) / 3); - int i_691_ = ((anIntArray5332[i_687_] + anIntArray5332[i_688_] + anIntArray5332[i_689_]) / 3); - int i_692_ = ((anIntArray5312[i_687_] + anIntArray5312[i_688_] + anIntArray5312[i_689_]) / 3); - float f_693_ = (f_638_ + f_650_ * (float) i_690_ + f_639_ * (float) i_691_ + f_653_ * (float) i_692_); - float f_694_ = (f_644_ + f_651_ * (float) i_690_ + f_645_ * (float) i_691_ + f_654_ * (float) i_692_); - float f_695_ = (f + f_652_ * (float) i_690_ + f_633_ * (float) i_691_ + f_655_ * (float) i_692_); - class350.anInt4312 = (aHa_Sub1_5353.anInt7510 + (int) (f_693_ * (float) i_659_ / (float) i)); - class350.anInt4310 = (aHa_Sub1_5353.anInt7504 + (int) (f_694_ * (float) i_660_ / (float) i)); - class350.anInt4320 = i - class6.anInt154; - class350.anInt4309 = (class350.anInt4314 * class6.aShort150 * i_659_ / (i << 7)); - class350.anInt4307 = (class350.anInt4311 * class6.aShort143 * i_660_ / (i << 7)); - } - } - } - if (class318_sub3 != null) { - boolean bool_696_ = false; - boolean bool_697_ = true; - int i_698_ = aShort5395 + aShort5393 >> 1; - int i_699_ = aShort5352 + aShort5331 >> 1; - int i_700_ = i_698_; - short i_701_ = aShort5329; - int i_702_ = i_699_; - float f_703_ = (f_638_ + f_650_ * (float) i_700_ + f_639_ * (float) i_701_ + f_653_ * (float) i_702_); - float f_704_ = (f_644_ + f_651_ * (float) i_700_ + f_645_ * (float) i_701_ + f_654_ * (float) i_702_); - float f_705_ = (f + f_652_ * (float) i_700_ + f_633_ * (float) i_701_ + f_655_ * (float) i_702_); - if (f_705_ >= (float) i_661_) { - int i_706_ = (int) f_705_; - if (i != -1) i_706_ = i; - class318_sub3.anInt6405 = (aHa_Sub1_5353.anInt7510 + (int) (f_703_ * (float) i_659_ / (float) i_706_)); - class318_sub3.anInt6402 = (aHa_Sub1_5353.anInt7504 + (int) (f_704_ * (float) i_660_ / (float) i_706_)); - } else bool_696_ = true; - i_700_ = i_698_; - i_701_ = aShort5365; - i_702_ = i_699_; - float f_707_ = (f_638_ + f_650_ * (float) i_700_ + f_639_ * (float) i_701_ + f_653_ * (float) i_702_); - float f_708_ = (f_644_ + f_651_ * (float) i_700_ + f_645_ * (float) i_701_ + f_654_ * (float) i_702_); - float f_709_ = (f + f_652_ * (float) i_700_ + f_633_ * (float) i_701_ + f_655_ * (float) i_702_); - if (f_709_ >= (float) i_661_) { - int i_710_ = (int) f_709_; - if (i != -1) i_710_ = i; - class318_sub3.anInt6406 = (aHa_Sub1_5353.anInt7510 + (int) (f_707_ * (float) i_659_ / (float) i_710_)); - class318_sub3.anInt6404 = (aHa_Sub1_5353.anInt7504 + (int) (f_708_ * (float) i_660_ / (float) i_710_)); - } else bool_696_ = true; - if (bool_696_) { - if (f_705_ < (float) i_661_ && f_709_ < (float) i_661_) bool_697_ = false; - else if (f_705_ < (float) i_661_) { - float f_711_ = ((f_709_ - (float) (aHa_Sub1_5353.anInt7482)) / (f_709_ - f_705_)); - int i_712_ = (int) (f_707_ + (f_707_ - f_703_) * f_711_); - int i_713_ = (int) (f_708_ + (f_708_ - f_704_) * f_711_); - int i_714_ = i_661_; - if (i != -1) i_714_ = i; - class318_sub3.anInt6405 = (aHa_Sub1_5353.anInt7510 + i_712_ * i_659_ / i_714_); - class318_sub3.anInt6402 = (aHa_Sub1_5353.anInt7504 + i_713_ * i_660_ / i_714_); - } else if (f_709_ < (float) i_661_) { - float f_715_ = ((f_705_ - (float) i_661_) / (f_705_ - f_709_)); - int i_716_ = (int) (f_703_ + (f_703_ - f_707_) * f_715_); - int i_717_ = (int) (f_704_ + (f_704_ - f_708_) * f_715_); - int i_718_ = i_661_; - if (i != -1) i_718_ = i; - class318_sub3.anInt6405 = (aHa_Sub1_5353.anInt7510 + i_716_ * i_659_ / i_718_); - class318_sub3.anInt6402 = (aHa_Sub1_5353.anInt7504 + i_717_ * i_660_ / i_718_); - } - } - if (bool_697_) { - if (f_705_ > f_709_) { - int i_719_ = (int) f_705_; - if (i != -1) i_719_ = i; - class318_sub3.anInt6403 = (aHa_Sub1_5353.anInt7510 + (int) ((f_703_ + (float) aShort5324) * (float) i_659_ / (float) i_719_) - (class318_sub3.anInt6405)); - } else { - int i_720_ = (int) f_709_; - if (i != -1) i_720_ = i; - class318_sub3.anInt6403 = (aHa_Sub1_5353.anInt7510 + (int) ((f_707_ + (float) aShort5324) * (float) i_659_ / (float) i_720_) - (class318_sub3.anInt6406)); - } - class318_sub3.aBoolean6401 = true; - } - } - method634(true); - aClass109_5383.aBoolean1669 = (i_632_ & 0x1) == 0; - aClass109_5383.aBoolean1667 = false; - try { - method650(bool_656_, ((aClass167_5367.aBoolean2201 && (i_637_ > aClass167_5367.anInt2210)) || aClass167_5367.aBoolean2195), i_636_, i_637_ - i_636_); - } catch (Exception exception) { - /* empty */ - } - if (aClass6Array5361 != null) { - for (int i_721_ = 0; i_721_ < anInt5351; i_721_++) - anIntArray5400[i_721_] = -1; - } - aClass109_5383 = null; - if (aHa_Sub1_5353.anInt7485 > 1) { - synchronized (this) { - aBoolean5357 = false; - this.notifyAll(); - } - } - } - } - } - - final boolean r() { - return aBoolean5391; - } - - private final void method655() { - if (!aBoolean5323) { - int i = 0; - int i_722_ = 0; - int i_723_ = 32767; - int i_724_ = 32767; - int i_725_ = 32767; - int i_726_ = -32768; - int i_727_ = -32768; - int i_728_ = -32768; - for (int i_729_ = 0; i_729_ < anInt5387; i_729_++) { - int i_730_ = anIntArray5356[i_729_]; - int i_731_ = anIntArray5332[i_729_]; - int i_732_ = anIntArray5312[i_729_]; - if (i_730_ < i_723_) i_723_ = i_730_; - if (i_730_ > i_726_) i_726_ = i_730_; - if (i_731_ < i_724_) i_724_ = i_731_; - if (i_731_ > i_727_) i_727_ = i_731_; - if (i_732_ < i_725_) i_725_ = i_732_; - if (i_732_ > i_728_) i_728_ = i_732_; - int i_733_ = i_730_ * i_730_ + i_732_ * i_732_; - if (i_733_ > i) i = i_733_; - i_733_ += i_731_ * i_731_; - if (i_733_ > i_722_) i_722_ = i_733_; - } - aShort5395 = (short) i_723_; - aShort5393 = (short) i_726_; - aShort5329 = (short) i_724_; - aShort5365 = (short) i_727_; - aShort5352 = (short) i_725_; - aShort5331 = (short) i_728_; - aShort5324 = (short) (int) (Math.sqrt(i) + 0.99); - aShort5348 = (short) (int) (Math.sqrt(i_722_) + 0.99); - aBoolean5323 = true; - } - } - - private final int method656(int i) { - if (i < 2) i = 2; - else if (i > 126) i = 126; - return i; - } - - private final void method657(boolean bool) { - if (anInt5354 == 1) method647(); - else if (anInt5354 == 2) { - if ((anInt5316 & 0x97098) == 0 && aFloatArrayArray5314 == null) aShortArray5311 = null; - if (bool) aByteArray5386 = null; - } else { - method636(); - int i = aHa_Sub1_5353.anInt7484; - int i_734_ = aHa_Sub1_5353.anInt7473; - int i_735_ = aHa_Sub1_5353.anInt7479; - int i_736_ = aHa_Sub1_5353.anInt7500 >> 8; - int i_737_ = aHa_Sub1_5353.anInt7474 * 768 / anInt5349; - int i_738_ = aHa_Sub1_5353.anInt7478 * 768 / anInt5349; - if (anIntArray5368 == null) { - anIntArray5368 = new int[anInt5351]; - anIntArray5337 = new int[anInt5351]; - anIntArray5366 = new int[anInt5351]; - } - for (int i_739_ = 0; i_739_ < anInt5351; i_739_++) { - byte i_740_; - if (aByteArray5386 == null) i_740_ = (byte) 0; - else i_740_ = aByteArray5386[i_739_]; - byte i_741_; - if (aByteArray5325 == null) i_741_ = (byte) 0; - else i_741_ = aByteArray5325[i_739_]; - short i_742_; - if (aShortArray5388 == null) i_742_ = (short) -1; - else i_742_ = aShortArray5388[i_739_]; - if (i_741_ == -2) i_740_ = (byte) 3; - if (i_741_ == -1) i_740_ = (byte) 2; - if (i_742_ == -1) { - if (i_740_ == 0) { - int i_743_ = aShortArray5311[i_739_] & 0xffff; - int i_744_ = (i_743_ & 0x7f) * anInt5344 >> 7; - short i_745_ = Class25.method303(i_743_ & ~0x7f | i_744_, 30); - Class360 class360; - if (aClass360Array5313 != null && (aClass360Array5313[aShortArray5317[i_739_]] != null)) class360 = aClass360Array5313[aShortArray5317[i_739_]]; - else class360 = aClass360Array5360[aShortArray5317[i_739_]]; - int i_746_ = (((i * class360.anInt4430 + i_734_ * class360.anInt4428 + i_735_ * class360.anInt4427) / class360.anInt4429) >> 16); - int i_747_ = i_746_ > 256 ? i_737_ : i_738_; - int i_748_ = (i_736_ >> 1) + (i_747_ * i_746_ >> 17); - anIntArray5368[i_739_] = i_748_ << 17 | Class291.method2198(0, i_748_, i_745_); - if (aClass360Array5313 != null && (aClass360Array5313[aShortArray5394[i_739_]] != null)) class360 = aClass360Array5313[aShortArray5394[i_739_]]; - else class360 = aClass360Array5360[aShortArray5394[i_739_]]; - i_746_ = ((i * class360.anInt4430 + i_734_ * class360.anInt4428 + i_735_ * class360.anInt4427) / class360.anInt4429) >> 16; - i_747_ = i_746_ > 256 ? i_737_ : i_738_; - i_748_ = (i_736_ >> 1) + (i_747_ * i_746_ >> 17); - anIntArray5337[i_739_] = i_748_ << 17 | Class291.method2198(0, i_748_, i_745_); - if (aClass360Array5313 != null && (aClass360Array5313[aShortArray5364[i_739_]] != null)) class360 = aClass360Array5313[aShortArray5364[i_739_]]; - else class360 = aClass360Array5360[aShortArray5364[i_739_]]; - i_746_ = ((i * class360.anInt4430 + i_734_ * class360.anInt4428 + i_735_ * class360.anInt4427) / class360.anInt4429) >> 16; - i_747_ = i_746_ > 256 ? i_737_ : i_738_; - i_748_ = (i_736_ >> 1) + (i_747_ * i_746_ >> 17); - anIntArray5366[i_739_] = i_748_ << 17 | Class291.method2198(0, i_748_, i_745_); - } else if (i_740_ == 1) { - int i_749_ = aShortArray5311[i_739_] & 0xffff; - int i_750_ = (i_749_ & 0x7f) * anInt5344 >> 7; - short i_751_ = Class25.method303(i_749_ & ~0x7f | i_750_, 30); - Class41 class41 = aClass41Array5385[i_739_]; - int i_752_ = ((i * class41.anInt561 + i_734_ * class41.anInt560 + i_735_ * class41.anInt559) >> 16); - int i_753_ = i_752_ > 256 ? i_737_ : i_738_; - int i_754_ = (i_736_ >> 1) + (i_753_ * i_752_ >> 17); - anIntArray5368[i_739_] = i_754_ << 17 | Class291.method2198(0, i_754_, i_751_); - anIntArray5366[i_739_] = -1; - } else if (i_740_ == 3) { - anIntArray5368[i_739_] = 128; - anIntArray5366[i_739_] = -1; - } else anIntArray5366[i_739_] = -2; - } else { - int i_755_ = aShortArray5311[i_739_] & 0xffff; - if (i_740_ == 0) { - Class360 class360; - if (aClass360Array5313 != null && (aClass360Array5313[aShortArray5317[i_739_]] != null)) class360 = aClass360Array5313[aShortArray5317[i_739_]]; - else class360 = aClass360Array5360[aShortArray5317[i_739_]]; - int i_756_ = (((i * class360.anInt4430 + i_734_ * class360.anInt4428 + i_735_ * class360.anInt4427) / class360.anInt4429) >> 16); - int i_757_ = i_756_ > 256 ? i_737_ : i_738_; - int i_758_ = method656((i_736_ >> 2) + (i_757_ * i_756_ >> 18)); - anIntArray5368[i_739_] = i_758_ << 24 | method642(i_755_, i_742_, i_758_); - if (aClass360Array5313 != null && (aClass360Array5313[aShortArray5394[i_739_]] != null)) class360 = aClass360Array5313[aShortArray5394[i_739_]]; - else class360 = aClass360Array5360[aShortArray5394[i_739_]]; - i_756_ = ((i * class360.anInt4430 + i_734_ * class360.anInt4428 + i_735_ * class360.anInt4427) / class360.anInt4429) >> 16; - i_757_ = i_756_ > 256 ? i_737_ : i_738_; - i_758_ = method656((i_736_ >> 2) + (i_757_ * i_756_ >> 18)); - anIntArray5337[i_739_] = i_758_ << 24 | method642(i_755_, i_742_, i_758_); - if (aClass360Array5313 != null && (aClass360Array5313[aShortArray5364[i_739_]] != null)) class360 = aClass360Array5313[aShortArray5364[i_739_]]; - else class360 = aClass360Array5360[aShortArray5364[i_739_]]; - i_756_ = ((i * class360.anInt4430 + i_734_ * class360.anInt4428 + i_735_ * class360.anInt4427) / class360.anInt4429) >> 16; - i_757_ = i_756_ > 256 ? i_737_ : i_738_; - i_758_ = method656((i_736_ >> 2) + (i_757_ * i_756_ >> 18)); - anIntArray5366[i_739_] = i_758_ << 24 | method642(i_755_, i_742_, i_758_); - } else if (i_740_ == 1) { - Class41 class41 = aClass41Array5385[i_739_]; - int i_759_ = ((i * class41.anInt561 + i_734_ * class41.anInt560 + i_735_ * class41.anInt559) >> 16); - int i_760_ = i_759_ > 256 ? i_737_ : i_738_; - int i_761_ = method656((i_736_ >> 2) + (i_760_ * i_759_ >> 18)); - anIntArray5368[i_739_] = i_761_ << 24 | method642(i_755_, i_742_, i_761_); - anIntArray5366[i_739_] = -1; - } else anIntArray5366[i_739_] = -2; - } - } - aClass360Array5360 = null; - aClass360Array5313 = null; - aClass41Array5385 = null; - if ((anInt5316 & 0x97098) == 0 && aFloatArrayArray5314 == null) aShortArray5311 = null; - if (bool) aByteArray5386 = null; - anInt5354 = 2; - } - } - - final Class64 method614(byte i, int i_762_, boolean bool) { - method648(Thread.currentThread()); - Class64_Sub1 class64_sub1_763_; - Class64_Sub1 class64_sub1_764_; - if (i == 1) { - class64_sub1_763_ = aClass64_Sub1_5374; - class64_sub1_764_ = aClass64_Sub1_5378; - } else if (i == 2) { - class64_sub1_763_ = aClass64_Sub1_5328; - class64_sub1_764_ = aClass64_Sub1_5339; - } else if (i == 3) { - class64_sub1_763_ = aClass64_Sub1_5376; - class64_sub1_764_ = aClass64_Sub1_5396; - } else if (i == 4) { - class64_sub1_763_ = aClass64_Sub1_5397; - class64_sub1_764_ = aClass64_Sub1_5347; - } else if (i == 5) { - class64_sub1_763_ = aClass64_Sub1_5319; - class64_sub1_764_ = aClass64_Sub1_5390; - } else class64_sub1_764_ = class64_sub1_763_ = new Class64_Sub1(aHa_Sub1_5353); - return method633(class64_sub1_764_, class64_sub1_763_, i_762_, i != 0, bool); - } - - final void O(int i, int i_765_, int i_766_) { - if (i != 128 && (anInt5316 & 0x1) != 1) throw new IllegalStateException(); - if (i_765_ != 128 && (anInt5316 & 0x2) != 2) throw new IllegalStateException(); - if (i_766_ != 128 && (anInt5316 & 0x4) != 4) throw new IllegalStateException(); - synchronized (this) { - for (int i_767_ = 0; i_767_ < anInt5340; i_767_++) { - anIntArray5356[i_767_] = anIntArray5356[i_767_] * i >> 7; - anIntArray5332[i_767_] = anIntArray5332[i_767_] * i_765_ >> 7; - anIntArray5312[i_767_] = anIntArray5312[i_767_] * i_766_ >> 7; - } - aBoolean5323 = false; - } - } - - final int ua() { - return anInt5316; - } - - private final void method658(int i) { - if (aClass167_5367.aBoolean2195) { - short i_777_ = aShortArray5317[i]; - short i_778_ = aShortArray5394[i]; - short i_779_ = aShortArray5364[i]; - int i_780_ = 0; - int i_781_ = 0; - int i_782_ = 0; - if (anIntArray5362[i_777_] > aClass167_5367.anInt2197) i_780_ = 255; - else if (anIntArray5362[i_777_] > aClass167_5367.anInt2211) i_780_ = ((aClass167_5367.anInt2211 - anIntArray5362[i_777_]) * 255 / (aClass167_5367.anInt2211 - aClass167_5367.anInt2197)); - if (anIntArray5362[i_778_] > aClass167_5367.anInt2197) i_781_ = 255; - else if (anIntArray5362[i_778_] > aClass167_5367.anInt2211) i_781_ = ((aClass167_5367.anInt2211 - anIntArray5362[i_778_]) * 255 / (aClass167_5367.anInt2211 - aClass167_5367.anInt2197)); - if (anIntArray5362[i_779_] > aClass167_5367.anInt2197) i_782_ = 255; - else if (anIntArray5362[i_779_] > aClass167_5367.anInt2211) i_782_ = ((aClass167_5367.anInt2211 - anIntArray5362[i_779_]) * 255 / (aClass167_5367.anInt2211 - aClass167_5367.anInt2197)); - if (aByteArray5325 == null) aClass109_5383.anInt1674 = 0; - else aClass109_5383.anInt1674 = aByteArray5325[i] & 0xff; - if (aShortArray5388 == null || aShortArray5388[i] == -1) { - if (anIntArray5366[i] == -1) - aClass109_5383.method1027((float) anIntArray5343[i_777_], (float) anIntArray5343[i_778_], (float) anIntArray5343[i_779_], (float) anIntArray5321[i_777_], (float) anIntArray5321[i_778_], (float) anIntArray5321[i_779_], (float) anIntArray5355[i_777_], (float) anIntArray5355[i_778_], (float) anIntArray5355[i_779_], Class6.method206((Class126.anIntArray4983[anIntArray5368[i] & 0xffff]), (i_780_ << 24 | (aClass167_5367.anInt2192)), 255), Class6.method206((Class126.anIntArray4983[anIntArray5368[i] & 0xffff]), (i_781_ << 24 | (aClass167_5367.anInt2192)), 255), Class6.method206((Class126.anIntArray4983[anIntArray5368[i] & 0xffff]), (i_782_ << 24 | (aClass167_5367.anInt2192)), 255)); - else - aClass109_5383.method1027((float) anIntArray5343[i_777_], (float) anIntArray5343[i_778_], (float) anIntArray5343[i_779_], (float) anIntArray5321[i_777_], (float) anIntArray5321[i_778_], (float) anIntArray5321[i_779_], (float) anIntArray5355[i_777_], (float) anIntArray5355[i_778_], (float) anIntArray5355[i_779_], Class6.method206((Class126.anIntArray4983[anIntArray5368[i] & 0xffff]), (i_780_ << 24 | (aClass167_5367.anInt2192)), 255), Class6.method206((Class126.anIntArray4983[anIntArray5337[i] & 0xffff]), (i_781_ << 24 | (aClass167_5367.anInt2192)), 255), Class6.method206((Class126.anIntArray4983[anIntArray5366[i] & 0xffff]), (i_782_ << 24 | (aClass167_5367.anInt2192)), 255)); - } else { - int i_783_ = -16777216; - if (aByteArray5325 != null) i_783_ = 255 - (aByteArray5325[i] & 0xff) << 24; - if (anIntArray5366[i] == -1) { - int i_784_ = i_783_ | anIntArray5368[i] & 0xffffff; - aClass109_5383.method1024((float) anIntArray5343[i_777_], (float) anIntArray5343[i_778_], (float) anIntArray5343[i_779_], (float) anIntArray5321[i_777_], (float) anIntArray5321[i_778_], (float) anIntArray5321[i_779_], (float) anIntArray5355[i_777_], (float) anIntArray5355[i_778_], (float) anIntArray5355[i_779_], aFloatArrayArray5314[i][0], aFloatArrayArray5314[i][1], aFloatArrayArray5314[i][2], aFloatArrayArray5345[i][0], aFloatArrayArray5345[i][1], aFloatArrayArray5345[i][2], i_784_, i_784_, i_784_, (aClass167_5367.anInt2192), i_780_, i_781_, i_782_, aShortArray5388[i]); - } else - aClass109_5383.method1024((float) anIntArray5343[i_777_], (float) anIntArray5343[i_778_], (float) anIntArray5343[i_779_], (float) anIntArray5321[i_777_], (float) anIntArray5321[i_778_], (float) anIntArray5321[i_779_], (float) anIntArray5355[i_777_], (float) anIntArray5355[i_778_], (float) anIntArray5355[i_779_], aFloatArrayArray5314[i][0], aFloatArrayArray5314[i][1], aFloatArrayArray5314[i][2], aFloatArrayArray5345[i][0], aFloatArrayArray5345[i][1], aFloatArrayArray5345[i][2], i_783_ | anIntArray5368[i] & 0xffffff, i_783_ | anIntArray5337[i] & 0xffffff, i_783_ | anIntArray5366[i] & 0xffffff, aClass167_5367.anInt2192, i_780_, i_781_, i_782_, aShortArray5388[i]); - } - } else { - short i_768_ = aShortArray5317[i]; - short i_769_ = aShortArray5394[i]; - short i_770_ = aShortArray5364[i]; - int i_771_ = (anIntArray5355[i_768_] - aClass167_5367.anInt2210); - if (i_771_ > 255) i_771_ = 255; - else if (i_771_ < 0) i_771_ = 0; - int i_772_ = (anIntArray5355[i_769_] - aClass167_5367.anInt2210); - if (i_772_ > 255) i_772_ = 255; - else if (i_772_ < 0) i_772_ = 0; - int i_773_ = (anIntArray5355[i_770_] - aClass167_5367.anInt2210); - if (i_773_ > 255) i_773_ = 255; - else if (i_773_ < 0) i_773_ = 0; - int i_774_ = i_771_ + i_772_ + i_773_; - if (i_774_ != 765) { - if (i_774_ == 0) method635(i); - else { - if (aByteArray5325 == null) aClass109_5383.anInt1674 = 0; - else aClass109_5383.anInt1674 = aByteArray5325[i] & 0xff; - if (aShortArray5388 == null || aShortArray5388[i] == -1) { - if (anIntArray5366[i] == -1) - aClass109_5383.method1027((float) anIntArray5343[i_768_], (float) anIntArray5343[i_769_], (float) anIntArray5343[i_770_], (float) anIntArray5321[i_768_], (float) anIntArray5321[i_769_], (float) anIntArray5321[i_770_], (float) anIntArray5355[i_768_], (float) anIntArray5355[i_769_], (float) anIntArray5355[i_770_], Class6.method206((Class126.anIntArray4983[(anIntArray5368[i] & 0xffff)]), (i_771_ << 24 | (aClass167_5367.anInt2192)), 255), Class6.method206((Class126.anIntArray4983[(anIntArray5368[i] & 0xffff)]), (i_772_ << 24 | (aClass167_5367.anInt2192)), 255), Class6.method206((Class126.anIntArray4983[(anIntArray5368[i] & 0xffff)]), (i_773_ << 24 | (aClass167_5367.anInt2192)), 255)); - else - aClass109_5383.method1027((float) anIntArray5343[i_768_], (float) anIntArray5343[i_769_], (float) anIntArray5343[i_770_], (float) anIntArray5321[i_768_], (float) anIntArray5321[i_769_], (float) anIntArray5321[i_770_], (float) anIntArray5355[i_768_], (float) anIntArray5355[i_769_], (float) anIntArray5355[i_770_], Class6.method206((Class126.anIntArray4983[(anIntArray5368[i] & 0xffff)]), (i_771_ << 24 | (aClass167_5367.anInt2192)), 255), Class6.method206((Class126.anIntArray4983[(anIntArray5337[i] & 0xffff)]), (i_772_ << 24 | (aClass167_5367.anInt2192)), 255), Class6.method206((Class126.anIntArray4983[(anIntArray5366[i] & 0xffff)]), (i_773_ << 24 | (aClass167_5367.anInt2192)), 255)); - } else { - int i_775_ = -16777216; - if (aByteArray5325 != null) i_775_ = 255 - (aByteArray5325[i] & 0xff) << 24; - if (anIntArray5366[i] == -1) { - int i_776_ = i_775_ | anIntArray5368[i] & 0xffffff; - aClass109_5383.method1024((float) anIntArray5343[i_768_], (float) anIntArray5343[i_769_], (float) anIntArray5343[i_770_], (float) anIntArray5321[i_768_], (float) anIntArray5321[i_769_], (float) anIntArray5321[i_770_], (float) anIntArray5355[i_768_], (float) anIntArray5355[i_769_], (float) anIntArray5355[i_770_], aFloatArrayArray5314[i][0], aFloatArrayArray5314[i][1], aFloatArrayArray5314[i][2], aFloatArrayArray5345[i][0], aFloatArrayArray5345[i][1], aFloatArrayArray5345[i][2], i_776_, i_776_, i_776_, aClass167_5367.anInt2192, i_771_, i_772_, i_773_, aShortArray5388[i]); - } else - aClass109_5383.method1024((float) anIntArray5343[i_768_], (float) anIntArray5343[i_769_], (float) anIntArray5343[i_770_], (float) anIntArray5321[i_768_], (float) anIntArray5321[i_769_], (float) anIntArray5321[i_770_], (float) anIntArray5355[i_768_], (float) anIntArray5355[i_769_], (float) anIntArray5355[i_770_], aFloatArrayArray5314[i][0], aFloatArrayArray5314[i][1], aFloatArrayArray5314[i][2], aFloatArrayArray5345[i][0], aFloatArrayArray5345[i][1], aFloatArrayArray5345[i][2], i_775_ | anIntArray5368[i] & 0xffffff, i_775_ | anIntArray5337[i] & 0xffffff, i_775_ | anIntArray5366[i] & 0xffffff, aClass167_5367.anInt2192, i_771_, i_772_, i_773_, aShortArray5388[i]); - } - } - } - } - } - - Class64_Sub1(ha_Sub1 var_ha_Sub1) { - anInt5354 = 0; - aBoolean5369 = false; - anInt5351 = 0; - aBoolean5372 = false; - aBoolean5391 = false; - anInt5387 = 0; - aBoolean5382 = false; - aHa_Sub1_5353 = var_ha_Sub1; - } - - Class64_Sub1(ha_Sub1 var_ha_Sub1, Class124 class124, int i, int i_785_, int i_786_, int i_787_) { - anInt5354 = 0; - aBoolean5369 = false; - anInt5351 = 0; - aBoolean5372 = false; - aBoolean5391 = false; - anInt5387 = 0; - aBoolean5382 = false; - aHa_Sub1_5353 = var_ha_Sub1; - anInt5316 = i; - anInt5344 = i_785_; - anInt5349 = i_786_; - d var_d = aHa_Sub1_5353.aD4579; - anInt5340 = class124.anInt1836; - anInt5387 = class124.anInt1821; - anIntArray5356 = class124.anIntArray1841; - anIntArray5332 = class124.anIntArray1847; - anIntArray5312 = class124.anIntArray1852; - anInt5351 = class124.anInt1817; - aShortArray5317 = class124.aShortArray1863; - aShortArray5394 = class124.aShortArray1835; - aShortArray5364 = class124.aShortArray1855; - aByteArray5358 = class124.aByteArray1839; - aShortArray5311 = class124.aShortArray1862; - aByteArray5325 = class124.aByteArray1834; - aShortArray5370 = class124.aShortArray1856; - aByteArray5386 = class124.aByteArray1843; - aClass129Array5322 = class124.aClass129Array1846; - aClass342Array5335 = class124.aClass342Array1866; - aShortArray5333 = class124.aShortArray1842; - int[] is = new int[anInt5351]; - for (int i_788_ = 0; i_788_ < anInt5351; i_788_++) - is[i_788_] = i_788_; - long[] ls = new long[anInt5351]; - boolean bool = (anInt5316 & 0x100) != 0; - for (int i_789_ = 0; i_789_ < anInt5351; i_789_++) { - int i_790_ = is[i_789_]; - Class12 class12 = null; - int i_791_ = 0; - int i_792_ = 0; - int i_793_ = 0; - int i_794_ = 0; - if (class124.aClass162Array1832 != null) { - boolean bool_795_ = false; - for (int i_796_ = 0; i_796_ < class124.aClass162Array1832.length; i_796_++) { - Class162 class162 = class124.aClass162Array1832[i_796_]; - if (i_790_ == class162.anInt2155) { - Class189 class189 = Class73.method742(104, (class162.anInt2153)); - if (class189.aBoolean2531) bool_795_ = true; - if (class189.anInt2525 != -1) { - Class12 class12_797_ = var_d.method3((class189.anInt2525), -6662); - if (class12_797_.anInt200 == 2) aBoolean5382 = true; - } - } - } - if (bool_795_) ls[i_789_] = 9223372036854775807L; - } - int i_798_ = -1; - if (class124.aShortArray1822 != null) { - i_798_ = class124.aShortArray1822[i_790_]; - if (i_798_ != -1) { - class12 = var_d.method3(i_798_ & 0xffff, -6662); - if ((i_787_ & 0x40) == 0 || !class12.aBoolean209) { - i_793_ = class12.aByte213; - i_794_ = class12.aByte202; - } else i_798_ = -1; - } - } - boolean bool_799_ = (aByteArray5325 != null && aByteArray5325[i_790_] != 0 || class12 != null && class12.anInt200 == 2); - if ((bool || bool_799_) && aByteArray5358 != null) i_791_ += aByteArray5358[i_790_] << 17; - if (bool_799_) i_791_ += 65536; - i_791_ += (i_793_ & 0xff) << 8; - i_791_ += i_794_ & 0xff; - i_792_ += (i_798_ & 0xffff) << 16; - i_792_ += i_789_ & 0xffff; - ls[i_789_] = ((long) i_791_ << 32) + (long) i_792_; - aBoolean5382 |= bool_799_; - } - Class348_Sub16_Sub2.method2832(is, ls, 0); - if (class124.aClass162Array1832 != null) { - anInt5389 = class124.aClass162Array1832.length; - aClass6Array5361 = new Class6[anInt5389]; - aClass350Array5363 = new Class350[anInt5389]; - for (int i_800_ = 0; i_800_ < class124.aClass162Array1832.length; i_800_++) { - Class162 class162 = class124.aClass162Array1832[i_800_]; - Class189 class189 = Class73.method742(104, class162.anInt2153); - int i_801_ = ((Class126.anIntArray4983[(class124.aShortArray1862[class162.anInt2155]) & 0xffff]) & 0xffffff); - i_801_ = (i_801_ | 255 - (class124.aByteArray1834 != null ? (class124.aByteArray1834[class162.anInt2155]) & 0xff : 0) << 24); - aClass6Array5361[i_800_] = new Class6(class162.anInt2155, (class124.aShortArray1863[class162.anInt2155]), (class124.aShortArray1835[class162.anInt2155]), (class124.aShortArray1855[class162.anInt2155]), class189.anInt2526, class189.anInt2530, class189.anInt2525, class189.anInt2533, class189.anInt2534, class189.aBoolean2531, class162.anInt2158); - aClass350Array5363[i_800_] = new Class350(i_801_); - } - } - aFloatArrayArray5314 = new float[anInt5351][]; - aFloatArrayArray5345 = new float[anInt5351][]; - Class358 class358 = Class59_Sub2_Sub1.method565(255, anInt5351, class124, is); - Class167 class167 = aHa_Sub1_5353.method3724(Thread.currentThread()); - float[] fs = class167.aFloatArray2226; - boolean bool_802_ = false; - for (int i_803_ = 0; i_803_ < anInt5351; i_803_++) { - int i_804_ = is[i_803_]; - int i_805_; - if (class124.aByteArray1820 == null) i_805_ = -1; - else i_805_ = class124.aByteArray1820[i_804_]; - int i_806_ = (class124.aShortArray1822 == null ? -1 : class124.aShortArray1822[i_804_]); - if (i_806_ != -1 && (i_787_ & 0x40) != 0) { - Class12 class12 = var_d.method3(i_806_ & 0xffff, -6662); - if (class12.aBoolean209) i_806_ = -1; - } - if (i_806_ != -1) { - bool_802_ = true; - float[] fs_807_ = aFloatArrayArray5314[i_804_] = new float[3]; - float[] fs_808_ = aFloatArrayArray5345[i_804_] = new float[3]; - boolean bool_809_ = false; - if (i_805_ == -1) { - fs_807_[0] = 0.0F; - fs_808_[0] = 1.0F; - fs_807_[1] = 1.0F; - fs_808_[1] = 1.0F; - fs_807_[2] = 0.0F; - fs_808_[2] = 0.0F; - } else { - i_805_ &= 0xff; - byte i_810_ = class124.aByteArray1823[i_805_]; - if (i_810_ == 0) { - short i_811_ = aShortArray5317[i_804_]; - short i_812_ = aShortArray5394[i_804_]; - short i_813_ = aShortArray5364[i_804_]; - short i_814_ = class124.aShortArray1829[i_805_]; - short i_815_ = class124.aShortArray1849[i_805_]; - short i_816_ = class124.aShortArray1825[i_805_]; - float f = (float) anIntArray5356[i_814_]; - float f_817_ = (float) anIntArray5332[i_814_]; - float f_818_ = (float) anIntArray5312[i_814_]; - float f_819_ = (float) anIntArray5356[i_815_] - f; - float f_820_ = (float) anIntArray5332[i_815_] - f_817_; - float f_821_ = (float) anIntArray5312[i_815_] - f_818_; - float f_822_ = (float) anIntArray5356[i_816_] - f; - float f_823_ = (float) anIntArray5332[i_816_] - f_817_; - float f_824_ = (float) anIntArray5312[i_816_] - f_818_; - float f_825_ = (float) anIntArray5356[i_811_] - f; - float f_826_ = (float) anIntArray5332[i_811_] - f_817_; - float f_827_ = (float) anIntArray5312[i_811_] - f_818_; - float f_828_ = (float) anIntArray5356[i_812_] - f; - float f_829_ = (float) anIntArray5332[i_812_] - f_817_; - float f_830_ = (float) anIntArray5312[i_812_] - f_818_; - float f_831_ = (float) anIntArray5356[i_813_] - f; - float f_832_ = (float) anIntArray5332[i_813_] - f_817_; - float f_833_ = (float) anIntArray5312[i_813_] - f_818_; - float f_834_ = f_820_ * f_824_ - f_821_ * f_823_; - float f_835_ = f_821_ * f_822_ - f_819_ * f_824_; - float f_836_ = f_819_ * f_823_ - f_820_ * f_822_; - float f_837_ = f_823_ * f_836_ - f_824_ * f_835_; - float f_838_ = f_824_ * f_834_ - f_822_ * f_836_; - float f_839_ = f_822_ * f_835_ - f_823_ * f_834_; - float f_840_ = 1.0F / (f_837_ * f_819_ + f_838_ * f_820_ + f_839_ * f_821_); - fs_807_[0] = (f_837_ * f_825_ + f_838_ * f_826_ + f_839_ * f_827_) * f_840_; - fs_807_[1] = (f_837_ * f_828_ + f_838_ * f_829_ + f_839_ * f_830_) * f_840_; - fs_807_[2] = (f_837_ * f_831_ + f_838_ * f_832_ + f_839_ * f_833_) * f_840_; - f_837_ = f_820_ * f_836_ - f_821_ * f_835_; - f_838_ = f_821_ * f_834_ - f_819_ * f_836_; - f_839_ = f_819_ * f_835_ - f_820_ * f_834_; - f_840_ = 1.0F / (f_837_ * f_822_ + f_838_ * f_823_ + f_839_ * f_824_); - fs_808_[0] = (f_837_ * f_825_ + f_838_ * f_826_ + f_839_ * f_827_) * f_840_; - fs_808_[1] = (f_837_ * f_828_ + f_838_ * f_829_ + f_839_ * f_830_) * f_840_; - fs_808_[2] = (f_837_ * f_831_ + f_838_ * f_832_ + f_839_ * f_833_) * f_840_; - } else { - short i_841_ = aShortArray5317[i_804_]; - short i_842_ = aShortArray5394[i_804_]; - short i_843_ = aShortArray5364[i_804_]; - int i_844_ = class358.anIntArray4416[i_805_]; - int i_845_ = class358.anIntArray4415[i_805_]; - int i_846_ = class358.anIntArray4414[i_805_]; - float[] fs_847_ = (class358.aFloatArrayArray4412[i_805_]); - byte i_848_ = class124.aByteArray1853[i_805_]; - float f = ((float) (class124.anIntArray1867[i_805_]) / 256.0F); - if (i_810_ == 1) { - float f_849_ = ((float) (class124.anIntArray1844[i_805_]) / 1024.0F); - Class246.method1885(i_846_, anIntArray5312[i_841_], i_848_, 8, anIntArray5356[i_841_], fs, anIntArray5332[i_841_], f, i_845_, i_844_, f_849_, fs_847_); - fs_807_[0] = fs[0]; - fs_808_[0] = fs[1]; - Class246.method1885(i_846_, anIntArray5312[i_842_], i_848_, 8, anIntArray5356[i_842_], fs, anIntArray5332[i_842_], f, i_845_, i_844_, f_849_, fs_847_); - fs_807_[1] = fs[0]; - fs_808_[1] = fs[1]; - Class246.method1885(i_846_, anIntArray5312[i_843_], i_848_, 8, anIntArray5356[i_843_], fs, anIntArray5332[i_843_], f, i_845_, i_844_, f_849_, fs_847_); - fs_807_[2] = fs[0]; - fs_808_[2] = fs[1]; - float f_850_ = f_849_ / 2.0F; - if ((i_848_ & 0x1) == 0) { - if (fs_807_[1] - fs_807_[0] > f_850_) fs_807_[1] -= f_849_; - else if (fs_807_[0] - fs_807_[1] > f_850_) fs_807_[1] += f_849_; - if (fs_807_[2] - fs_807_[0] > f_850_) fs_807_[2] -= f_849_; - else if (fs_807_[0] - fs_807_[2] > f_850_) fs_807_[2] += f_849_; - } else { - if (fs_808_[1] - fs_808_[0] > f_850_) fs_808_[1] -= f_849_; - else if (fs_808_[0] - fs_808_[1] > f_850_) fs_808_[1] += f_849_; - if (fs_808_[2] - fs_808_[0] > f_850_) fs_808_[2] -= f_849_; - else if (fs_808_[0] - fs_808_[2] > f_850_) fs_808_[2] += f_849_; - } - } else if (i_810_ == 2) { - float f_851_ = ((float) (class124.anIntArray1857[i_805_]) / 256.0F); - float f_852_ = ((float) (class124.anIntArray1865[i_805_]) / 256.0F); - int i_853_ = (anIntArray5356[i_842_] - anIntArray5356[i_841_]); - int i_854_ = (anIntArray5332[i_842_] - anIntArray5332[i_841_]); - int i_855_ = (anIntArray5312[i_842_] - anIntArray5312[i_841_]); - int i_856_ = (anIntArray5356[i_843_] - anIntArray5356[i_841_]); - int i_857_ = (anIntArray5332[i_843_] - anIntArray5332[i_841_]); - int i_858_ = (anIntArray5312[i_843_] - anIntArray5312[i_841_]); - int i_859_ = i_854_ * i_858_ - i_857_ * i_855_; - int i_860_ = i_855_ * i_856_ - i_858_ * i_853_; - int i_861_ = i_853_ * i_857_ - i_856_ * i_854_; - float f_862_ = 64.0F / (float) (class124.anIntArray1859[i_805_]); - float f_863_ = 64.0F / (float) (class124.anIntArray1816[i_805_]); - float f_864_ = 64.0F / (float) (class124.anIntArray1844[i_805_]); - float f_865_ = (((float) i_859_ * fs_847_[0] + (float) i_860_ * fs_847_[1] + (float) i_861_ * fs_847_[2]) / f_862_); - float f_866_ = (((float) i_859_ * fs_847_[3] + (float) i_860_ * fs_847_[4] + (float) i_861_ * fs_847_[5]) / f_863_); - float f_867_ = (((float) i_859_ * fs_847_[6] + (float) i_860_ * fs_847_[7] + (float) i_861_ * fs_847_[8]) / f_864_); - int i_868_ = Class331.method2635(f_866_, false, f_867_, f_865_); - Class262.method1991(f_852_, f, fs_847_, anIntArray5312[i_841_], i_846_, false, i_848_, i_844_, anIntArray5356[i_841_], anIntArray5332[i_841_], f_851_, fs, i_845_, i_868_); - fs_807_[0] = fs[0]; - fs_808_[0] = fs[1]; - Class262.method1991(f_852_, f, fs_847_, anIntArray5312[i_842_], i_846_, false, i_848_, i_844_, anIntArray5356[i_842_], anIntArray5332[i_842_], f_851_, fs, i_845_, i_868_); - fs_807_[1] = fs[0]; - fs_808_[1] = fs[1]; - Class262.method1991(f_852_, f, fs_847_, anIntArray5312[i_843_], i_846_, false, i_848_, i_844_, anIntArray5356[i_843_], anIntArray5332[i_843_], f_851_, fs, i_845_, i_868_); - fs_807_[2] = fs[0]; - fs_808_[2] = fs[1]; - } else if (i_810_ == 3) { - Class181.method1367(i_846_, i_848_, f, anIntArray5356[i_841_], fs, anIntArray5312[i_841_], i_844_, anIntArray5332[i_841_], i_845_, -4, fs_847_); - fs_807_[0] = fs[0]; - fs_808_[0] = fs[1]; - Class181.method1367(i_846_, i_848_, f, anIntArray5356[i_842_], fs, anIntArray5312[i_842_], i_844_, anIntArray5332[i_842_], i_845_, -4, fs_847_); - fs_807_[1] = fs[0]; - fs_808_[1] = fs[1]; - Class181.method1367(i_846_, i_848_, f, anIntArray5356[i_843_], fs, anIntArray5312[i_843_], i_844_, anIntArray5332[i_843_], i_845_, -4, fs_847_); - fs_807_[2] = fs[0]; - fs_808_[2] = fs[1]; - if ((i_848_ & 0x1) == 0) { - if (fs_807_[1] - fs_807_[0] > 0.5F) fs_807_[1]--; - else if (fs_807_[0] - fs_807_[1] > 0.5F) fs_807_[1]++; - if (fs_807_[2] - fs_807_[0] > 0.5F) fs_807_[2]--; - else if (fs_807_[0] - fs_807_[2] > 0.5F) fs_807_[2]++; - } else { - if (fs_808_[1] - fs_808_[0] > 0.5F) fs_808_[1]--; - else if (fs_808_[0] - fs_808_[1] > 0.5F) fs_808_[1]++; - if (fs_808_[2] - fs_808_[0] > 0.5F) fs_808_[2]--; - else if (fs_808_[0] - fs_808_[2] > 0.5F) fs_808_[2]++; - } - } - } - } - } - } - if (!bool_802_) aFloatArrayArray5314 = aFloatArrayArray5345 = null; - if (class124.anIntArray1868 != null && (anInt5316 & 0x20) != 0) anIntArrayArray5334 = class124.method1100(true, -122); - if (class124.anIntArray1824 != null && (anInt5316 & 0x180) != 0) anIntArrayArray5330 = class124.method1094((byte) 30); - if (class124.aClass162Array1832 != null && (anInt5316 & 0x400) != 0) anIntArrayArray5379 = class124.method1093((byte) -75); - if (class124.aShortArray1822 != null) { - aShortArray5388 = new short[anInt5351]; - boolean bool_869_ = false; - for (int i_870_ = 0; i_870_ < anInt5351; i_870_++) { - short i_871_ = class124.aShortArray1822[i_870_]; - if (i_871_ != -1) { - Class12 class12 = aHa_Sub1_5353.aD4579.method3(i_871_, -6662); - if ((i_787_ & 0x40) == 0 || !class12.aBoolean209) { - aShortArray5388[i_870_] = i_871_; - bool_869_ = true; - if (class12.anInt200 == 2) aBoolean5382 = true; - if (class12.aByte198 != 0 || class12.aByte211 != 0) aBoolean5391 = true; - } else aShortArray5388[i_870_] = (short) -1; - } else aShortArray5388[i_870_] = (short) -1; - } - if (!bool_869_) aShortArray5388 = null; - } else aShortArray5388 = null; - if (aBoolean5382 || aClass6Array5361 != null) { - aShortArray5327 = new short[anInt5351]; - for (int i_872_ = 0; i_872_ < anInt5351; i_872_++) - aShortArray5327[i_872_] = (short) is[i_872_]; - } - } - - static { - anInt5341 = 0; - anInt5350 = 4096; - } -} diff --git a/client/src/Class64_Sub2.java b/client/src/Class64_Sub2.java deleted file mode 100644 index 0574ec738..000000000 --- a/client/src/Class64_Sub2.java +++ /dev/null @@ -1,3210 +0,0 @@ -/* Class64_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaclib.memory.Buffer; -import jaclib.memory.Stream; - -final class Class64_Sub2 extends Class64 { - private int anInt5401; - private boolean aBoolean5402 = true; - static int anInt5403; - private int[] anIntArray5404; - static int anInt5405; - private int anInt5406; - static int anInt5407; - static int anInt5408; - static int anInt5409; - static int anInt5410; - static int anInt5411; - private int[][] anIntArrayArray5412; - private int[][] anIntArrayArray5413; - static int anInt5414; - private int[] anIntArray5415; - private short[] aShortArray5416; - static int anInt5417; - private int anInt5418; - private final ha_Sub3 aHa_Sub3_5419; - static String aString5420; - static int anInt5421; - static int anInt5422; - private short[] aShortArray5423; - private Class290 aClass290_5424; - static int anInt5425; - static int anInt5426; - private short aShort5427; - private boolean aBoolean5428; - private int[] anIntArray5429; - static int anInt5430; - static int anInt5431; - private short[] aShortArray5432; - private int anInt5433 = 0; - static int anInt5434; - static int anInt5435; - private short[] aShortArray5436; - static int anInt5437; - private short[] aShortArray5438; - private short[] aShortArray5439; - static int anInt5440; - static int anInt5441; - private Class334[] aClass334Array5442; - private int anInt5443; - static int anInt5444; - static int anInt5445; - static int anInt5446; - static int anInt5447; - static int anInt5448; - static int anInt5449; - static int anInt5450; - static int anInt5451; - private short aShort5452; - static int anInt5453; - static int anInt5454; - private int[] anIntArray5455; - static int anInt5456; - private Class129[] aClass129Array5457; - static int anInt5458; - static int anInt5459; - private Class290 aClass290_5460; - private int anInt5461; - private boolean aBoolean5462; - private int anInt5463; - static int anInt5464; - static int anInt5465; - static int anInt5466; - private int anInt5467; - static int anInt5468; - static int anInt5469; - private short[] aShortArray5470; - static int anInt5471; - private int anInt5472; - private int[] anIntArray5473; - private Class342[] aClass342Array5474; - private int anInt5475; - private float[] aFloatArray5476; - private boolean aBoolean5477; - private int anInt5478; - static int anInt5479; - static int anInt5480; - static int anInt5481; - private Class290 aClass290_5482; - static int anInt5483; - static int anInt5484; - private Class192 aClass192_5485; - private short[] aShortArray5486; - static int anInt5487; - static int anInt5488; - static int anInt5489; - static int anInt5490; - static int anInt5491; - private int[][] anIntArrayArray5492; - private short[] aShortArray5493; - private short[] aShortArray5494; - private short[] aShortArray5495; - static int anInt5496; - private int anInt5497; - static int anInt5498; - private byte[] aByteArray5499; - static int anInt5500; - static int anInt5501; - private boolean aBoolean5502; - private Class151 aClass151_5503; - static int anInt5504; - static int anInt5505; - private float[] aFloatArray5506; - private int anInt5507; - private short[] aShortArray5508; - private int anInt5509; - private int anInt5510; - private int[] anIntArray5511; - private short[] aShortArray5512; - static int anInt5513; - static int anInt5514; - private byte[] aByteArray5515; - private int anInt5516; - static int anInt5517; - static int anInt5518; - private int[] anIntArray5519; - private Class290 aClass290_5520; - static int anInt5521; - static int anInt5522; - static int anInt5523; - private Class353[] aClass353Array5524; - static int anInt5525; - static int anInt5526; - - private final void method659(int i) { - if (aClass353Array5524 != null) { - aHa_Sub3_5419.C(!aBoolean5428); - aHa_Sub3_5419.method3866(false, true); - aHa_Sub3_5419.method3849((byte) 47, 1, Class348_Sub40_Sub39.aClass70_9485); - aHa_Sub3_5419.method3885(1, true, Class348_Sub40_Sub39.aClass70_9485); - for (int i_0_ = 0; anInt5406 > i_0_; i_0_++) { - Class353 class353 = aClass353Array5524[i_0_]; - Class334 class334 = aClass334Array5442[i_0_]; - if (!class353.aBoolean4350 || !aHa_Sub3_5419.method3666()) { - float f = (0.3333333F * (float) ((anIntArray5511[class353.anInt4349]) - -(anIntArray5511[class353.anInt4344]) + (anIntArray5511[class353.anInt4339]))); - float f_1_ = (0.3333333F * (float) ((anIntArray5519[class353.anInt4344]) + (anIntArray5519[class353.anInt4349]) + (anIntArray5519[class353.anInt4339]))); - float f_2_ = (0.3333333F * (float) ((anIntArray5429[class353.anInt4339]) + (anIntArray5429[class353.anInt4344]) + (anIntArray5429[class353.anInt4349]))); - float f_3_ = (f_2_ * Class348_Sub42_Sub4.aFloat9516 + (Class55.aFloat1010 * f + f_1_ * Class318_Sub1_Sub2_Sub1.aFloat10199) + Class345.aFloat4268); - float f_4_ = (Class348_Sub12.aFloat6752 + (Class318_Sub6.aFloat6430 * f_2_ + (Class348_Sub20.aFloat6835 * f + f_1_ * Class290.aFloat3710))); - float f_5_ = Class240.aFloat4673 + (Class353.aFloat4338 * f_1_ + f * Class328_Sub3.aFloat6523 + f_2_ * ha.aFloat4582); - float f_6_ = ((float) (1.0 / Math.sqrt(f_5_ * f_5_ + (f_4_ * f_4_ + f_3_ * f_3_))) * (float) class353.anInt4347); - Class101_Sub2 class101_sub2 = aHa_Sub3_5419.method3934(-96); - class101_sub2.method936(class334.anInt4151, 0, (class353.aShort4340 * class334.anInt4162) >> 7, (-(f_3_ * f_6_) + ((float) class334.anInt4158 + f_3_)), -(f_6_ * f_5_) + f_5_, ((float) class334.anInt4154 + f_4_ - f_4_ * f_6_), (class334.anInt4165 * class353.aShort4341) >> 7); - class101_sub2.method917((aHa_Sub3_5419.aClass101_Sub2_8082), (byte) 112); - aHa_Sub3_5419.method3915(0); - int i_7_ = class334.anInt4156; - aHa_Sub3_5419.method3814(false, false, class353.aShort4348, (byte) 108); - aHa_Sub3_5419.method3817(92, class353.aByte4343); - aHa_Sub3_5419.method3894(-28186, i_7_); - aHa_Sub3_5419.method3933(-114); - } - } - aHa_Sub3_5419.method3885(1, true, Class318_Sub1_Sub2.aClass70_8737); - aHa_Sub3_5419.method3849((byte) 47, 1, Class318_Sub1_Sub2.aClass70_8737); - aHa_Sub3_5419.C(true); - } - if (i < 70) ia((short) 112, (short) 86); - anInt5454++; - } - - private final boolean method660(int i) { - anInt5440++; - boolean bool = !aClass290_5482.aBoolean3714; - boolean bool_8_ = ((anInt5472 & 0x37) != 0 && !aClass290_5424.aBoolean3714); - boolean bool_9_ = !aClass290_5520.aBoolean3714; - boolean bool_10_ = !aClass290_5460.aBoolean3714; - if (!bool_9_ && !bool && !bool_8_ && !bool_10_) return true; - boolean bool_11_ = true; - if (bool_9_) { - if (aClass290_5520.anInterface5_Impl1_3708 == null) aClass290_5520.anInterface5_Impl1_3708 = aHa_Sub3_5419.method3889(aBoolean5462, 16711680); - Interface5_Impl1 interface5_impl1 = aClass290_5520.anInterface5_Impl1_3708; - interface5_impl1.method20(12 * anInt5475, (byte) 125, 12); - Buffer buffer = interface5_impl1.method19(true, 26775); - if (buffer != null) { - aHa_Sub3_5419.aNativeInterface7924.copyPositions(anIntArray5511, anIntArray5519, anIntArray5429, aShortArray5470, 0, 12, anInt5475, buffer.getAddress()); - if (interface5_impl1.method18(6331)) { - aClass290_5520.anInterface5_Impl1_3711 = interface5_impl1; - aClass290_5520.aBoolean3714 = true; - } else bool_11_ = false; - } else bool_11_ = false; - } - if (bool) { - if (aClass290_5482.anInterface5_Impl1_3708 == null) aClass290_5482.anInterface5_Impl1_3708 = aHa_Sub3_5419.method3889(aBoolean5462, 16711680); - Interface5_Impl1 interface5_impl1 = aClass290_5482.anInterface5_Impl1_3708; - interface5_impl1.method20(4 * anInt5475, (byte) 125, 4); - Buffer buffer = interface5_impl1.method19(true, 26775); - if (buffer == null) bool_11_ = false; - else { - if ((anInt5472 & 0x37) == 0) { - short[] is; - short[] is_12_; - byte[] is_13_; - short[] is_14_; - if (aClass151_5503 == null) { - is_13_ = aByteArray5499; - is = aShortArray5436; - is_14_ = aShortArray5493; - is_12_ = aShortArray5438; - } else { - is = aClass151_5503.aShortArray2058; - is_12_ = aClass151_5503.aShortArray2060; - is_13_ = aClass151_5503.aByteArray2069; - is_14_ = aClass151_5503.aShortArray2067; - } - aHa_Sub3_5419.aNativeInterface7924.copyLighting(aShortArray5486, aByteArray5515, aShortArray5423, is_14_, is_12_, is, is_13_, aShort5452, aShort5427, aShortArray5416, 0, 4, anInt5475, buffer.getAddress()); - } else aHa_Sub3_5419.aNativeInterface7924.copyColours(aShortArray5486, aByteArray5515, aShortArray5423, aShort5452, aShortArray5416, 0, 4, anInt5475, buffer.getAddress()); - if (interface5_impl1.method18(6331)) { - aClass290_5482.aBoolean3714 = true; - aClass290_5482.anInterface5_Impl1_3711 = interface5_impl1; - } else bool_11_ = false; - } - } - if (bool_8_) { - if (aClass290_5424.anInterface5_Impl1_3708 == null) aClass290_5424.anInterface5_Impl1_3708 = aHa_Sub3_5419.method3889(aBoolean5462, 16711680); - Interface5_Impl1 interface5_impl1 = aClass290_5424.anInterface5_Impl1_3708; - interface5_impl1.method20(anInt5475 * 12, (byte) 125, 12); - Buffer buffer = interface5_impl1.method19(true, 26775); - if (buffer == null) bool_11_ = false; - else { - short[] is; - short[] is_15_; - byte[] is_16_; - short[] is_17_; - if (aClass151_5503 == null) { - is = aShortArray5436; - is_15_ = aShortArray5493; - is_16_ = aByteArray5499; - is_17_ = aShortArray5438; - } else { - is_16_ = aClass151_5503.aByteArray2069; - is = aClass151_5503.aShortArray2058; - is_15_ = aClass151_5503.aShortArray2067; - is_17_ = aClass151_5503.aShortArray2060; - } - aHa_Sub3_5419.aNativeInterface7924.copyNormals(is_15_, is_17_, is, is_16_, 3.0F / (float) aShort5427, 3.0F / (float) (aShort5427 + aShort5427 / 2), 0, 12, anInt5475, buffer.getAddress()); - if (interface5_impl1.method18(6331)) { - aClass290_5424.aBoolean3714 = true; - aClass290_5424.anInterface5_Impl1_3711 = interface5_impl1; - } else bool_11_ = false; - } - } - if (bool_10_) { - if (aClass290_5460.anInterface5_Impl1_3708 == null) aClass290_5460.anInterface5_Impl1_3708 = aHa_Sub3_5419.method3889(aBoolean5462, 16711680); - Interface5_Impl1 interface5_impl1 = aClass290_5460.anInterface5_Impl1_3708; - interface5_impl1.method20(anInt5475 * 8, (byte) 126, 8); - Buffer buffer = interface5_impl1.method19(true, 26775); - if (buffer != null) { - aHa_Sub3_5419.aNativeInterface7924.copyTexCoords(aFloatArray5476, aFloatArray5506, 0, 8, anInt5475, buffer.getAddress()); - if (interface5_impl1.method18(6331)) { - aClass290_5460.anInterface5_Impl1_3711 = interface5_impl1; - aClass290_5460.aBoolean3714 = true; - } else bool_11_ = false; - } else bool_11_ = false; - } - if (i >= -70) method623(-91, -89, null, false, 4, -45); - return bool_11_; - } - - final int na() { - anInt5523++; - if (!aBoolean5477) method675(0); - return anInt5510; - } - - final boolean NA() { - anInt5430++; - if (anIntArrayArray5413 == null) return false; - for (int i = 0; anInt5497 > i; i++) { - anIntArray5511[i] <<= 4; - anIntArray5519[i] <<= 4; - anIntArray5429[i] <<= 4; - } - Class136.anInt4795 = 0; - Class346.anInt4274 = 0; - Class26.anInt386 = 0; - return true; - } - - final void method622() { - anInt5456++; - } - - final Class342[] method604() { - anInt5449++; - return aClass342Array5474; - } - - final void LA(int i) { - aShort5427 = (short) i; - anInt5431++; - method667(0); - method673((byte) 65); - } - - static final void method661(byte i) { - anInt5466++; - for (Class348_Sub42_Sub13 class348_sub42_sub13 = ((Class348_Sub42_Sub13) Class233.aClass107_3022.method1011(-93)); class348_sub42_sub13 != null; class348_sub42_sub13 = ((Class348_Sub42_Sub13) Class233.aClass107_3022.method1003((byte) 46))) { - if (class348_sub42_sub13.anInt9615 > 1) { - class348_sub42_sub13.anInt9615 = 0; - Class259.aClass60_3301.method582(class348_sub42_sub13, ((Class348_Sub42_Sub12) class348_sub42_sub13.aClass107_9621.aClass348_Sub42_1647.aClass348_Sub42_7063).aLong9600, (byte) -124); - class348_sub42_sub13.aClass107_9621.method1009(2110355138); - } - } - Class8.anInt166 = 0; - if (i < 92) method661((byte) 114); - Class73.anInt4776 = 0; - Class348_Sub40_Sub4.aClass262_9111.method1996(115); - Class348_Sub42_Sub12.aClass356_9603.method3481(0); - Class233.aClass107_3022.method1009(2110355138); - ha_Sub2.method3743((byte) 6, Class348_Sub40_Sub7.aClass348_Sub42_Sub12_9144); - } - - final void VA(int i) { - anInt5479++; - int i_18_ = Class70.anIntArray1207[i]; - int i_19_ = Class70.anIntArray1204[i]; - for (int i_20_ = 0; anInt5433 > i_20_; i_20_++) { - int i_21_ = ((anIntArray5511[i_20_] * i_19_ + i_18_ * anIntArray5519[i_20_]) >> 14); - anIntArray5519[i_20_] = (i_19_ * anIntArray5519[i_20_] + -(i_18_ * anIntArray5511[i_20_]) >> 14); - anIntArray5511[i_20_] = i_21_; - } - method667(0); - aBoolean5477 = false; - } - - final boolean method628(int i, int i_22_, Class101 class101, boolean bool, int i_23_) { - try { - anInt5414++; - return method662(i, i_23_, -1, 127, i_22_, bool, class101); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("nca.MA(" + i + ',' + i_22_ + ',' + (class101 != null ? "{...}" : "null") + ',' + bool + ',' + i_23_ + ')')); - } - } - - final r ba(r var_r) { - try { - anInt5513++; - if (anInt5475 == 0) return null; - if (!aBoolean5477) method675(0); - int i; - int i_24_; - if (aHa_Sub3_5419.anInt8133 <= 0) { - i = (-(anInt5461 * aHa_Sub3_5419.anInt8133 >> 8) + anInt5507 >> aHa_Sub3_5419.anInt8107); - i_24_ = ((anInt5467 - (aHa_Sub3_5419.anInt8133 * anInt5509 >> 8)) >> aHa_Sub3_5419.anInt8107); - } else { - i = (-(anInt5509 * aHa_Sub3_5419.anInt8133 >> 8) + anInt5507 >> aHa_Sub3_5419.anInt8107); - i_24_ = ((anInt5467 - (anInt5461 * aHa_Sub3_5419.anInt8133 >> 8)) >> aHa_Sub3_5419.anInt8107); - } - int i_25_; - int i_26_; - if (aHa_Sub3_5419.anInt8114 > 0) { - i_25_ = ((anInt5418 - (anInt5509 * aHa_Sub3_5419.anInt8114 >> 8)) >> aHa_Sub3_5419.anInt8107); - i_26_ = (-(anInt5461 * aHa_Sub3_5419.anInt8114 >> 8) + anInt5443 >> aHa_Sub3_5419.anInt8107); - } else { - i_25_ = ((anInt5418 - (anInt5461 * aHa_Sub3_5419.anInt8114 >> 8)) >> aHa_Sub3_5419.anInt8107); - i_26_ = ((anInt5443 + -(anInt5509 * aHa_Sub3_5419.anInt8114 >> 8)) >> aHa_Sub3_5419.anInt8107); - } - int i_27_ = 1 + (i_24_ - i); - int i_28_ = 1 + -i_25_ + i_26_; - r_Sub1 var_r_Sub1 = (r_Sub1) var_r; - r_Sub1 var_r_Sub1_29_; - if (var_r_Sub1 == null || !var_r_Sub1.method3291(i_27_, i_28_, (byte) -59)) var_r_Sub1_29_ = new r_Sub1(aHa_Sub3_5419, i_27_, i_28_); - else { - var_r_Sub1_29_ = var_r_Sub1; - var_r_Sub1_29_.method3289(108); - } - var_r_Sub1_29_.method3286(i_24_, -98, i_26_, i_25_, i); - method665(41, var_r_Sub1_29_); - return var_r_Sub1_29_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "nca.ba(" + (var_r != null ? "{...}" : "null") + ')'); - } - } - - final void wa() { - anInt5484++; - for (int i = 0; anInt5497 > i; i++) { - anIntArray5511[i] = anIntArray5511[i] + 7 >> 4; - anIntArray5519[i] = 7 + anIntArray5519[i] >> 4; - anIntArray5429[i] = 7 + anIntArray5429[i] >> 4; - } - method667(0); - aBoolean5477 = false; - } - - final int EA() { - anInt5408++; - if (!aBoolean5477) method675(0); - return anInt5509; - } - - private final boolean method662(int i, int i_30_, int i_31_, int i_32_, int i_33_, boolean bool, Class101 class101) { - try { - anInt5450++; - Class101_Sub2 class101_sub2 = (Class101_Sub2) class101; - Class101_Sub2 class101_sub2_34_ = aHa_Sub3_5419.aClass101_Sub2_8080; - float f = (class101_sub2_34_.aFloat5729 + ((class101_sub2_34_.aFloat5711 * class101_sub2.aFloat5729) + (class101_sub2_34_.aFloat5700 * class101_sub2.aFloat5710) + (class101_sub2_34_.aFloat5704 * class101_sub2.aFloat5724))); - float f_35_ = ((class101_sub2_34_.aFloat5732 * class101_sub2.aFloat5724) + ((class101_sub2.aFloat5710 * class101_sub2_34_.aFloat5722) + (class101_sub2.aFloat5729 * class101_sub2_34_.aFloat5708)) + class101_sub2_34_.aFloat5710); - Class348_Sub42_Sub4.aFloat9516 = ((class101_sub2_34_.aFloat5704 * class101_sub2.aFloat5716) + ((class101_sub2.aFloat5704 * class101_sub2_34_.aFloat5711) + (class101_sub2.aFloat5732 * class101_sub2_34_.aFloat5700))); - Class328_Sub3.aFloat6523 = ((class101_sub2.aFloat5736 * class101_sub2_34_.aFloat5716) + ((class101_sub2_34_.aFloat5691 * class101_sub2.aFloat5708) + (class101_sub2.aFloat5711 * class101_sub2_34_.aFloat5736))); - Class290.aFloat3710 = ((class101_sub2.aFloat5722 * class101_sub2_34_.aFloat5722) + (class101_sub2_34_.aFloat5708 * class101_sub2.aFloat5700) + (class101_sub2_34_.aFloat5732 * class101_sub2.aFloat5691)); - ha.aFloat4582 = ((class101_sub2.aFloat5704 * class101_sub2_34_.aFloat5736) + (class101_sub2_34_.aFloat5691 * class101_sub2.aFloat5732) + (class101_sub2.aFloat5716 * class101_sub2_34_.aFloat5716)); - Class318_Sub1_Sub2_Sub1.aFloat10199 = ((class101_sub2.aFloat5691 * class101_sub2_34_.aFloat5704) + ((class101_sub2_34_.aFloat5711 * class101_sub2.aFloat5700) + (class101_sub2_34_.aFloat5700 * class101_sub2.aFloat5722))); - Class348_Sub20.aFloat6835 = ((class101_sub2_34_.aFloat5732 * class101_sub2.aFloat5736) + ((class101_sub2.aFloat5711 * class101_sub2_34_.aFloat5708) + (class101_sub2.aFloat5708 * class101_sub2_34_.aFloat5722))); - Class55.aFloat1010 = ((class101_sub2_34_.aFloat5704 * class101_sub2.aFloat5736) + ((class101_sub2_34_.aFloat5700 * class101_sub2.aFloat5708) + (class101_sub2.aFloat5711 * class101_sub2_34_.aFloat5711))); - float f_36_ = (class101_sub2_34_.aFloat5724 + ((class101_sub2_34_.aFloat5716 * class101_sub2.aFloat5724) + ((class101_sub2_34_.aFloat5736 * class101_sub2.aFloat5729) + (class101_sub2.aFloat5710 * (class101_sub2_34_.aFloat5691))))); - Class318_Sub6.aFloat6430 = ((class101_sub2_34_.aFloat5722 * class101_sub2.aFloat5732) + (class101_sub2.aFloat5704 * class101_sub2_34_.aFloat5708) + (class101_sub2.aFloat5716 * class101_sub2_34_.aFloat5732)); - Class353.aFloat4338 = ((class101_sub2_34_.aFloat5691 * class101_sub2.aFloat5722) + (class101_sub2.aFloat5700 * class101_sub2_34_.aFloat5736) + (class101_sub2.aFloat5691 * class101_sub2_34_.aFloat5716)); - boolean bool_37_ = false; - float f_38_ = 3.4028235E38F; - float f_39_ = -3.4028235E38F; - float f_40_ = 3.4028235E38F; - float f_41_ = -3.4028235E38F; - int i_42_ = aHa_Sub3_5419.anInt8129; - int i_43_ = aHa_Sub3_5419.anInt8134; - if (!aBoolean5477) method675(0); - int i_44_ = -anInt5507 + anInt5467 >> 1; - int i_45_ = anInt5509 + -anInt5461 >> 1; - if (i_32_ <= 121) O(86, -105, 66); - int i_46_ = -anInt5418 + anInt5443 >> 1; - int i_47_ = i_44_ + anInt5507; - int i_48_ = i_45_ + anInt5461; - int i_49_ = i_46_ + anInt5418; - int i_50_ = i_47_ - (i_44_ << i_30_); - int i_51_ = i_48_ - (i_45_ << i_30_); - int i_52_ = -(i_46_ << i_30_) + i_49_; - int i_53_ = (i_44_ << i_30_) + i_47_; - int i_54_ = i_48_ + (i_45_ << i_30_); - s_Sub2.anIntArray8269[0] = i_50_; - int i_55_ = (i_46_ << i_30_) + i_49_; - Class348_Sub42_Sub12.anIntArray9612[0] = i_51_; - s_Sub2.anIntArray8269[1] = i_53_; - Class363.anIntArray4463[0] = i_52_; - Class348_Sub42_Sub12.anIntArray9612[1] = i_51_; - Class363.anIntArray4463[1] = i_52_; - s_Sub2.anIntArray8269[2] = i_50_; - Class348_Sub42_Sub12.anIntArray9612[2] = i_54_; - Class363.anIntArray4463[2] = i_52_; - s_Sub2.anIntArray8269[3] = i_53_; - Class348_Sub42_Sub12.anIntArray9612[3] = i_54_; - Class363.anIntArray4463[3] = i_52_; - s_Sub2.anIntArray8269[4] = i_50_; - Class348_Sub42_Sub12.anIntArray9612[4] = i_51_; - Class363.anIntArray4463[4] = i_55_; - s_Sub2.anIntArray8269[5] = i_53_; - Class348_Sub42_Sub12.anIntArray9612[5] = i_51_; - Class363.anIntArray4463[5] = i_55_; - s_Sub2.anIntArray8269[6] = i_50_; - Class348_Sub42_Sub12.anIntArray9612[6] = i_54_; - s_Sub2.anIntArray8269[7] = i_53_; - Class363.anIntArray4463[6] = i_55_; - Class348_Sub42_Sub12.anIntArray9612[7] = i_54_; - Class363.anIntArray4463[7] = i_55_; - for (int i_56_ = 0; i_56_ < 8; i_56_++) { - float f_57_ = (float) s_Sub2.anIntArray8269[i_56_]; - float f_58_ = (float) Class363.anIntArray4463[i_56_]; - float f_59_ = (float) Class348_Sub42_Sub12.anIntArray9612[i_56_]; - float f_60_ = (f_57_ * Class348_Sub20.aFloat6835 + f_59_ * Class290.aFloat3710 + Class318_Sub6.aFloat6430 * f_58_ + f_35_); - float f_61_ = (Class55.aFloat1010 * f_57_ + f_59_ * Class318_Sub1_Sub2_Sub1.aFloat10199 + f_58_ * Class348_Sub42_Sub4.aFloat9516 + f); - float f_62_ = f_36_ + (f_58_ * ha.aFloat4582 + (Class353.aFloat4338 * f_59_ + Class328_Sub3.aFloat6523 * f_57_)); - if (f_62_ >= (float) aHa_Sub3_5419.anInt8095) { - if (i_31_ > 0) f_62_ = (float) i_31_; - float f_63_ = (f_61_ * (float) i_42_ / f_62_ + (float) aHa_Sub3_5419.anInt8094); - float f_64_ = ((float) aHa_Sub3_5419.anInt8130 + (float) i_43_ * f_60_ / f_62_); - if (f_63_ < f_38_) f_38_ = f_63_; - if (f_63_ > f_39_) f_39_ = f_63_; - if (f_64_ < f_40_) f_40_ = f_64_; - bool_37_ = true; - if (f_41_ < f_64_) f_41_ = f_64_; - } - } - if (bool_37_ && f_38_ < (float) i && f_39_ > (float) i && f_40_ < (float) i_33_ && f_41_ > (float) i_33_) { - if (bool) return true; - if (anInt5475 > Class318_Sub1_Sub1_Sub1.anIntArray9949.length) { - Class101.anIntArray1593 = new int[anInt5475]; - Class318_Sub1_Sub1_Sub1.anIntArray9949 = new int[anInt5475]; - } - for (int i_65_ = 0; i_65_ < anInt5433; i_65_++) { - float f_66_ = (float) anIntArray5429[i_65_]; - float f_67_ = (float) anIntArray5519[i_65_]; - float f_68_ = (float) anIntArray5511[i_65_]; - float f_69_ = (ha.aFloat4582 * f_66_ + (f_68_ * Class328_Sub3.aFloat6523 + Class353.aFloat4338 * f_67_) + f_36_); - float f_70_ = f + (Class318_Sub1_Sub2_Sub1.aFloat10199 * f_67_ + Class55.aFloat1010 * f_68_ + f_66_ * Class348_Sub42_Sub4.aFloat9516); - float f_71_ = (Class318_Sub6.aFloat6430 * f_66_ + (f_68_ * Class348_Sub20.aFloat6835 + Class290.aFloat3710 * f_67_) + f_35_); - if (f_69_ >= (float) aHa_Sub3_5419.anInt8095) { - if (i_31_ > 0) f_69_ = (float) i_31_; - int i_72_ = (int) ((float) i_42_ * f_70_ / f_69_ + (float) (aHa_Sub3_5419.anInt8094)); - int i_73_ = (int) ((float) (aHa_Sub3_5419.anInt8130) + f_71_ * (float) i_43_ / f_69_); - int i_74_ = anIntArray5455[i_65_]; - int i_75_ = anIntArray5455[i_65_ + 1]; - for (int i_76_ = i_74_; i_76_ < i_75_; i_76_++) { - int i_77_ = -1 + aShortArray5439[i_76_]; - if (i_77_ == -1) break; - Class318_Sub1_Sub1_Sub1.anIntArray9949[i_77_] = i_72_; - Class101.anIntArray1593[i_77_] = i_73_; - } - } else { - int i_78_ = anIntArray5455[i_65_]; - int i_79_ = anIntArray5455[i_65_ + 1]; - for (int i_80_ = i_78_; i_79_ > i_80_; i_80_++) { - int i_81_ = aShortArray5439[i_80_] + -1; - if (i_81_ == -1) break; - Class318_Sub1_Sub1_Sub1.anIntArray9949[aShortArray5439[i_80_] - 1] = -999999; - } - } - } - for (int i_82_ = 0; anInt5478 > i_82_; i_82_++) { - if ((Class318_Sub1_Sub1_Sub1.anIntArray9949[aShortArray5508[i_82_]]) != -999999 && (Class318_Sub1_Sub1_Sub1.anIntArray9949[aShortArray5495[i_82_]]) != -999999 && (Class318_Sub1_Sub1_Sub1.anIntArray9949[aShortArray5512[i_82_]]) != -999999 && method671(i, (Class318_Sub1_Sub1_Sub1.anIntArray9949[aShortArray5512[i_82_]]), (Class318_Sub1_Sub1_Sub1.anIntArray9949[aShortArray5495[i_82_]]), (Class101.anIntArray1593[aShortArray5512[i_82_]]), (Class101.anIntArray1593[aShortArray5508[i_82_]]), i_33_, 0, (Class318_Sub1_Sub1_Sub1.anIntArray9949[aShortArray5508[i_82_]]), (Class101.anIntArray1593[aShortArray5495[i_82_]]))) - return true; - } - } - return false; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("nca.AB(" + i + ',' + i_30_ + ',' + i_31_ + ',' + i_32_ + ',' + i_33_ + ',' + bool + ',' + (class101 != null ? "{...}" : "null") + ')')); - } - } - - private final void method663(int i) { - anInt5500++; - if (aBoolean5402) { - aBoolean5402 = false; - if (aClass129Array5457 == null && aClass342Array5474 == null && aClass353Array5524 == null) { - if (anIntArray5511 != null && !Class170.method1317(anInt5472, (byte) -91, anInt5463)) { - if (aClass290_5520 == null || aClass290_5520.method2197((byte) -62)) { - if (!aBoolean5477) method675(0); - anIntArray5511 = null; - } else aBoolean5402 = true; - } - if (anIntArray5519 != null && !Class246.method1887(0, anInt5472, anInt5463)) { - if (aClass290_5520 == null || aClass290_5520.method2197((byte) -87)) { - if (!aBoolean5477) method675(0); - anIntArray5519 = null; - } else aBoolean5402 = true; - } - if (anIntArray5429 != null && !OutputStream_Sub2.method137(anInt5472, -96, anInt5463)) { - if (aClass290_5520 == null || aClass290_5520.method2197((byte) -34)) { - if (!aBoolean5477) method675(0); - anIntArray5429 = null; - } else aBoolean5402 = true; - } - } - if (aShortArray5439 != null && anIntArray5511 == null && anIntArray5519 == null && anIntArray5429 == null) { - anIntArray5455 = null; - aShortArray5439 = null; - } - if (aByteArray5499 != null && !Class77.method776(anInt5472, anInt5463, i + -196608)) { - if ((0x37 & anInt5472) != 0 ? (aClass290_5424 == null || aClass290_5424.method2197((byte) -10)) : (aClass290_5482 == null || aClass290_5482.method2197((byte) -73))) { - aShortArray5493 = aShortArray5438 = aShortArray5436 = null; - aByteArray5499 = null; - } else aBoolean5402 = true; - } - if (aShortArray5486 != null && !Class239_Sub5.method1740(anInt5472, anInt5463, false)) { - if (aClass290_5482 != null && !aClass290_5482.method2197((byte) -74)) aBoolean5402 = true; - else aShortArray5486 = null; - } - if (aByteArray5515 != null && !Class348_Sub40_Sub29.method3124(anInt5472, (byte) -119, anInt5463)) { - if (aClass290_5482 == null || aClass290_5482.method2197((byte) -20)) aByteArray5515 = null; - else aBoolean5402 = true; - } - if (aFloatArray5476 != null && !Class130_Sub1.method1132(1673, anInt5472, anInt5463)) { - if (aClass290_5460 == null || aClass290_5460.method2197((byte) -66)) aFloatArray5476 = aFloatArray5506 = null; - else aBoolean5402 = true; - } - if (aShortArray5423 != null && !Class10.method219(anInt5463, false, anInt5472)) { - if (aClass290_5482 != null && !aClass290_5482.method2197((byte) -125)) aBoolean5402 = true; - else aShortArray5423 = null; - } - if (i != 262144) method623(-95, 94, null, true, 116, 62); - if (aShortArray5508 != null && !Class168.method1299(i + 131072, anInt5463, anInt5472)) { - if ((aClass192_5485 == null || aClass192_5485.method1437((byte) -100)) && (aClass290_5482 == null || aClass290_5482.method2197((byte) -56))) aShortArray5508 = aShortArray5495 = aShortArray5512 = null; - else aBoolean5402 = true; - } - if (aShortArray5470 != null) { - if (aClass290_5520 == null || aClass290_5520.method2197((byte) -83)) aShortArray5470 = null; - else aBoolean5402 = true; - } - if (aShortArray5416 != null) { - if (aClass290_5482 == null || aClass290_5482.method2197((byte) -36)) aShortArray5416 = null; - else aBoolean5402 = true; - } - if (anIntArrayArray5492 != null && !Class135_Sub2.method1158(anInt5472, -1, anInt5463)) { - aShortArray5432 = null; - anIntArrayArray5492 = null; - } - if (anIntArrayArray5413 != null && !Class160.method1257(-83, anInt5472, anInt5463)) { - anIntArrayArray5413 = null; - aShortArray5494 = null; - } - if (anIntArrayArray5412 != null && !Class77.method780(anInt5472, 0, anInt5463)) anIntArrayArray5412 = null; - if (anIntArray5404 != null && (0x800 & anInt5463) == 0 && (anInt5463 & 0x40000) == 0) { - anIntArray5404 = null; - anIntArray5473 = null; - anIntArray5415 = null; - } - } - } - - final void a(int i) { - anInt5435++; - int i_83_ = Class70.anIntArray1207[i]; - int i_84_ = Class70.anIntArray1204[i]; - for (int i_85_ = 0; anInt5433 > i_85_; i_85_++) { - int i_86_ = ((i_84_ * anIntArray5511[i_85_] + anIntArray5429[i_85_] * i_83_) >> 14); - anIntArray5429[i_85_] = (i_84_ * anIntArray5429[i_85_] + -(i_83_ * anIntArray5511[i_85_]) >> 14); - anIntArray5511[i_85_] = i_86_; - } - method667(0); - aBoolean5477 = false; - } - - final void FA(int i) { - anInt5488++; - int i_87_ = Class70.anIntArray1207[i]; - int i_88_ = Class70.anIntArray1204[i]; - for (int i_89_ = 0; i_89_ < anInt5433; i_89_++) { - int i_90_ = (anIntArray5519[i_89_] * i_88_ + -(anIntArray5429[i_89_] * i_87_) >> 14); - anIntArray5429[i_89_] = (anIntArray5429[i_89_] * i_88_ + anIntArray5519[i_89_] * i_87_) >> 14; - anIntArray5519[i_89_] = i_90_; - } - method667(0); - aBoolean5477 = false; - } - - final int ua() { - anInt5504++; - return anInt5463; - } - - final int G() { - anInt5437++; - if (!aBoolean5477) method675(0); - return anInt5443; - } - - final void method664(int i) { - anInt5483++; - if (aClass290_5520 != null) aClass290_5520.method2195(false); - if (aClass290_5460 != null) aClass290_5460.method2195(false); - if (aClass290_5482 != null) aClass290_5482.method2195(false); - if (i != -23755) aBoolean5477 = false; - if (aClass290_5424 != null) aClass290_5424.method2195(false); - if (aClass192_5485 != null) aClass192_5485.method1435((byte) -95); - } - - final Class129[] method619() { - anInt5469++; - return aClass129Array5457; - } - - final void P(int i, int i_91_, int i_92_, int i_93_) { - anInt5480++; - if (i == 0) { - int i_94_ = 0; - Class136.anInt4795 = 0; - Class346.anInt4274 = 0; - Class26.anInt386 = 0; - for (int i_95_ = 0; i_95_ < anInt5433; i_95_++) { - Class136.anInt4795 += anIntArray5511[i_95_]; - Class26.anInt386 += anIntArray5519[i_95_]; - Class346.anInt4274 += anIntArray5429[i_95_]; - i_94_++; - } - if (i_94_ > 0) { - Class346.anInt4274 = i_93_ + Class346.anInt4274 / i_94_; - Class26.anInt386 = i_92_ + Class26.anInt386 / i_94_; - Class136.anInt4795 = i_91_ + Class136.anInt4795 / i_94_; - } else { - Class26.anInt386 = i_92_; - Class346.anInt4274 = i_93_; - Class136.anInt4795 = i_91_; - } - } else if (i == 1) { - for (int i_96_ = 0; i_96_ < anInt5433; i_96_++) { - anIntArray5511[i_96_] += i_91_; - anIntArray5519[i_96_] += i_92_; - anIntArray5429[i_96_] += i_93_; - } - } else if (i == 2) { - for (int i_97_ = 0; anInt5433 > i_97_; i_97_++) { - anIntArray5511[i_97_] -= Class136.anInt4795; - anIntArray5519[i_97_] -= Class26.anInt386; - anIntArray5429[i_97_] -= Class346.anInt4274; - if (i_93_ != 0) { - int i_98_ = Class70.anIntArray1207[i_93_]; - int i_99_ = Class70.anIntArray1204[i_93_]; - int i_100_ = ((16383 + i_99_ * anIntArray5511[i_97_] + anIntArray5519[i_97_] * i_98_) >> 14); - anIntArray5519[i_97_] = (16383 + (-(anIntArray5511[i_97_] * i_98_) + anIntArray5519[i_97_] * i_99_) >> 14); - anIntArray5511[i_97_] = i_100_; - } - if (i_91_ != 0) { - int i_101_ = Class70.anIntArray1207[i_91_]; - int i_102_ = Class70.anIntArray1204[i_91_]; - int i_103_ = (16383 + (anIntArray5519[i_97_] * i_102_ + -(i_101_ * anIntArray5429[i_97_])) >> 14); - anIntArray5429[i_97_] = (anIntArray5429[i_97_] * i_102_ + (anIntArray5519[i_97_] * i_101_ - -16383)) >> 14; - anIntArray5519[i_97_] = i_103_; - } - if (i_92_ != 0) { - int i_104_ = Class70.anIntArray1207[i_92_]; - int i_105_ = Class70.anIntArray1204[i_92_]; - int i_106_ = ((i_105_ * anIntArray5511[i_97_] + anIntArray5429[i_97_] * i_104_ + 16383) >> 14); - anIntArray5429[i_97_] = (16383 + -(i_104_ * anIntArray5511[i_97_]) + i_105_ * anIntArray5429[i_97_]) >> 14; - anIntArray5511[i_97_] = i_106_; - } - anIntArray5511[i_97_] += Class136.anInt4795; - anIntArray5519[i_97_] += Class26.anInt386; - anIntArray5429[i_97_] += Class346.anInt4274; - } - } else if (i == 3) { - for (int i_107_ = 0; i_107_ < anInt5433; i_107_++) { - anIntArray5511[i_107_] -= Class136.anInt4795; - anIntArray5519[i_107_] -= Class26.anInt386; - anIntArray5429[i_107_] -= Class346.anInt4274; - anIntArray5511[i_107_] = anIntArray5511[i_107_] * i_91_ / 128; - anIntArray5519[i_107_] = anIntArray5519[i_107_] * i_92_ / 128; - anIntArray5429[i_107_] = anIntArray5429[i_107_] * i_93_ / 128; - anIntArray5511[i_107_] += Class136.anInt4795; - anIntArray5519[i_107_] += Class26.anInt386; - anIntArray5429[i_107_] += Class346.anInt4274; - } - } else if (i == 5) { - for (int i_108_ = 0; anInt5478 > i_108_; i_108_++) { - int i_109_ = i_91_ * 8 + (0xff & aByteArray5515[i_108_]); - if (i_109_ >= 0) { - if (i_109_ > 255) i_109_ = 255; - } else i_109_ = 0; - aByteArray5515[i_108_] = (byte) i_109_; - } - if (aClass353Array5524 != null) { - for (int i_110_ = 0; anInt5406 > i_110_; i_110_++) { - Class353 class353 = aClass353Array5524[i_110_]; - Class334 class334 = aClass334Array5442[i_110_]; - class334.anInt4156 = (class334.anInt4156 & 0xffffff | 255 - ((aByteArray5515[class353.anInt4342]) & 0xff) << 24); - } - } - method670(-89); - } else if (i == 7) { - for (int i_111_ = 0; i_111_ < anInt5478; i_111_++) { - int i_112_ = 0xffff & aShortArray5486[i_111_]; - int i_113_ = 0x3f & i_112_ >> 10; - int i_114_ = (i_112_ & 0x3e6) >> 7; - i_114_ += i_92_ / 4; - int i_115_ = 0x7f & i_112_; - i_113_ = 0x3f & i_113_ + i_91_; - i_115_ += i_93_; - if (i_114_ >= 0) { - if (i_114_ > 7) i_114_ = 7; - } else i_114_ = 0; - if (i_115_ < 0) i_115_ = 0; - else if (i_115_ > 127) i_115_ = 127; - aShortArray5486[i_111_] = (short) (Class273.method2057(Class273.method2057(i_114_ << 7, i_113_ << 10), i_115_)); - } - if (aClass353Array5524 != null) { - for (int i_116_ = 0; i_116_ < anInt5406; i_116_++) { - Class353 class353 = aClass353Array5524[i_116_]; - Class334 class334 = aClass334Array5442[i_116_]; - class334.anInt4156 = ((Class10.anIntArray179[(aShortArray5486[class353.anInt4342] & 0xffff)]) & 0xffffff | ~0xffffff & class334.anInt4156); - } - } - method670(-109); - } else if (i == 8) { - for (int i_117_ = 0; anInt5406 > i_117_; i_117_++) { - Class334 class334 = aClass334Array5442[i_117_]; - class334.anInt4154 += i_92_; - class334.anInt4158 += i_91_; - } - } else if (i == 10) { - for (int i_118_ = 0; anInt5406 > i_118_; i_118_++) { - Class334 class334 = aClass334Array5442[i_118_]; - class334.anInt4162 = class334.anInt4162 * i_92_ >> 7; - class334.anInt4165 = class334.anInt4165 * i_91_ >> 7; - } - } else if (i == 9) { - for (int i_119_ = 0; anInt5406 > i_119_; i_119_++) { - Class334 class334 = aClass334Array5442[i_119_]; - class334.anInt4151 = class334.anInt4151 + i_91_ & 0x3fff; - } - } - } - - final void O(int i, int i_120_, int i_121_) { - for (int i_122_ = 0; anInt5433 > i_122_; i_122_++) { - if (i != 128) anIntArray5511[i_122_] = i * anIntArray5511[i_122_] >> 7; - if (i_120_ != 128) anIntArray5519[i_122_] = i_120_ * anIntArray5519[i_122_] >> 7; - if (i_121_ != 128) anIntArray5429[i_122_] = i_121_ * anIntArray5429[i_122_] >> 7; - } - anInt5525++; - method667(0); - aBoolean5477 = false; - } - - private final void method665(int i, r_Sub1 var_r_Sub1) { - try { - if (anInt5475 > Class318_Sub1_Sub1_Sub1.anIntArray9949.length) { - Class101.anIntArray1593 = new int[anInt5475]; - Class318_Sub1_Sub1_Sub1.anIntArray9949 = new int[anInt5475]; - } - anInt5453++; - if (i >= 0) { - for (int i_123_ = 0; anInt5433 > i_123_; i_123_++) { - int i_124_ = (-var_r_Sub1.anInt10468 + ((anIntArray5511[i_123_] + -((aHa_Sub3_5419.anInt8133 * anIntArray5519[i_123_]) >> 8)) >> aHa_Sub3_5419.anInt8107)); - int i_125_ = (((anIntArray5429[i_123_] + -((aHa_Sub3_5419.anInt8114 * anIntArray5519[i_123_]) >> 8)) >> aHa_Sub3_5419.anInt8107) + -var_r_Sub1.anInt10474); - int i_126_ = anIntArray5455[i_123_]; - int i_127_ = anIntArray5455[i_123_ - -1]; - for (int i_128_ = i_126_; i_128_ < i_127_; i_128_++) { - int i_129_ = aShortArray5439[i_128_] - 1; - if (i_129_ == -1) break; - Class318_Sub1_Sub1_Sub1.anIntArray9949[i_129_] = i_124_; - Class101.anIntArray1593[i_129_] = i_125_; - } - } - for (int i_130_ = 0; anInt5516 > i_130_; i_130_++) { - if (aByteArray5515 == null || aByteArray5515[i_130_] <= 128) { - short i_131_ = aShortArray5508[i_130_]; - short i_132_ = aShortArray5495[i_130_]; - short i_133_ = aShortArray5512[i_130_]; - int i_134_ = Class318_Sub1_Sub1_Sub1.anIntArray9949[i_131_]; - int i_135_ = Class318_Sub1_Sub1_Sub1.anIntArray9949[i_132_]; - int i_136_ = Class318_Sub1_Sub1_Sub1.anIntArray9949[i_133_]; - int i_137_ = Class101.anIntArray1593[i_131_]; - int i_138_ = Class101.anIntArray1593[i_132_]; - int i_139_ = Class101.anIntArray1593[i_133_]; - if ((-((i_136_ - i_135_) * (-i_137_ + i_138_)) + (i_138_ - i_139_) * (-i_135_ + i_134_)) > 0) var_r_Sub1.method3287(i_137_, 50, i_134_, i_135_, i_138_, i_139_, i_136_); - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("nca.B(" + i + ',' + (var_r_Sub1 != null ? "{...}" : "null") + ')')); - } - } - - final void k(int i) { - anInt5490++; - int i_140_ = Class70.anIntArray1207[i]; - int i_141_ = Class70.anIntArray1204[i]; - for (int i_142_ = 0; i_142_ < anInt5433; i_142_++) { - int i_143_ = ((anIntArray5511[i_142_] * i_141_ + anIntArray5429[i_142_] * i_140_) >> 14); - anIntArray5429[i_142_] = (i_141_ * anIntArray5429[i_142_] + -(i_140_ * anIntArray5511[i_142_])) >> 14; - anIntArray5511[i_142_] = i_143_; - } - for (int i_144_ = 0; i_144_ < anInt5475; i_144_++) { - int i_145_ = (aShortArray5436[i_144_] * i_140_ - -(aShortArray5493[i_144_] * i_141_) >> 14); - aShortArray5436[i_144_] = (short) ((i_141_ * aShortArray5436[i_144_] + -(i_140_ * aShortArray5493[i_144_])) >> 14); - aShortArray5493[i_144_] = (short) i_145_; - } - method667(0); - method673((byte) 112); - aBoolean5477 = false; - } - - private final boolean method666(int i) { - anInt5421++; - if (aClass192_5485.aBoolean2577) return true; - if (aClass192_5485.anInterface5_Impl2_2576 == null) aClass192_5485.anInterface5_Impl2_2576 = aHa_Sub3_5419.method3840(-28633, aBoolean5462); - Interface5_Impl2 interface5_impl2 = aClass192_5485.anInterface5_Impl2_2576; - interface5_impl2.method23(15959, 6 * anInt5516); - Buffer buffer = interface5_impl2.method24(true, false); - int i_146_ = 84 / ((-70 - i) / 49); - if (buffer != null) { - Stream stream = aHa_Sub3_5419.method3893(buffer, 9179); - if (Stream.c()) { - for (int i_148_ = 0; anInt5516 > i_148_; i_148_++) { - stream.d(aShortArray5508[i_148_]); - stream.d(aShortArray5495[i_148_]); - stream.d(aShortArray5512[i_148_]); - } - } else { - for (int i_147_ = 0; anInt5516 > i_147_; i_147_++) { - stream.a(aShortArray5508[i_147_]); - stream.a(aShortArray5495[i_147_]); - stream.a(aShortArray5512[i_147_]); - } - } - stream.a(); - if (interface5_impl2.method22(-23)) { - aClass192_5485.aBoolean2577 = true; - aBoolean5402 = true; - aClass192_5485.anInterface5_Impl2_2572 = interface5_impl2; - return true; - } - } - return false; - } - - final void method610(Class101 class101, int i, boolean bool) { - try { - anInt5434++; - if (aShortArray5494 != null) { - int[] is = new int[3]; - for (int i_149_ = 0; i_149_ < anInt5433; i_149_++) { - if ((i & aShortArray5494[i_149_]) != 0) { - if (!bool) class101.method897(anIntArray5511[i_149_], anIntArray5519[i_149_], anIntArray5429[i_149_], is); - else class101.method892(anIntArray5511[i_149_], anIntArray5519[i_149_], anIntArray5429[i_149_], is); - anIntArray5511[i_149_] = is[0]; - anIntArray5519[i_149_] = is[1]; - anIntArray5429[i_149_] = is[2]; - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("nca.za(" + (class101 != null ? "{...}" : "null") + ',' + i + ',' + bool + ')')); - } - } - - private final void method667(int i) { - anInt5491++; - if (i == 0) { - if (aClass290_5520 != null) aClass290_5520.aBoolean3714 = false; - } - } - - final void H(int i, int i_150_, int i_151_) { - anInt5481++; - for (int i_152_ = 0; anInt5433 > i_152_; i_152_++) { - if (i != 0) anIntArray5511[i_152_] += i; - if (i_150_ != 0) anIntArray5519[i_152_] += i_150_; - if (i_151_ != 0) anIntArray5429[i_152_] += i_151_; - } - method667(0); - aBoolean5477 = false; - } - - private final Class64 method668(boolean bool, Class64_Sub2 class64_sub2_153_, Class64_Sub2 class64_sub2_154_, int i, boolean bool_155_, int i_156_) { - try { - class64_sub2_154_.anInt5497 = anInt5497; - class64_sub2_154_.anInt5478 = anInt5478; - class64_sub2_154_.anInt5475 = anInt5475; - class64_sub2_154_.aShort5427 = aShort5427; - class64_sub2_154_.anInt5433 = anInt5433; - anInt5411++; - class64_sub2_154_.anInt5516 = anInt5516; - class64_sub2_154_.anInt5463 = i; - class64_sub2_154_.anInt5472 = anInt5472; - class64_sub2_154_.anInt5406 = anInt5406; - class64_sub2_154_.aBoolean5502 = aBoolean5502; - if ((0x100 & i) == 0) class64_sub2_154_.aBoolean5428 = aBoolean5428; - else class64_sub2_154_.aBoolean5428 = true; - class64_sub2_154_.aShort5452 = aShort5452; - boolean bool_157_ = Class294.method2217(anInt5472, i, 0); - boolean bool_158_ = Class348_Sub40_Sub3.method3056(i_156_ + -26704, i, anInt5472); - boolean bool_159_ = Class348_Sub40_Sub9.method3073(anInt5472, i, (byte) 50); - boolean bool_160_ = bool_157_ | bool_158_ | bool_159_; - if (bool_160_) { - if (bool_157_) { - if (class64_sub2_153_.anIntArray5511 != null && anInt5497 <= class64_sub2_153_.anIntArray5511.length) class64_sub2_154_.anIntArray5511 = class64_sub2_153_.anIntArray5511; - else class64_sub2_154_.anIntArray5511 = class64_sub2_153_.anIntArray5511 = new int[anInt5497]; - } else class64_sub2_154_.anIntArray5511 = anIntArray5511; - if (bool_158_) { - if (class64_sub2_153_.anIntArray5519 != null && (anInt5497 <= class64_sub2_153_.anIntArray5519.length)) class64_sub2_154_.anIntArray5519 = class64_sub2_153_.anIntArray5519; - else class64_sub2_154_.anIntArray5519 = class64_sub2_153_.anIntArray5519 = new int[anInt5497]; - } else class64_sub2_154_.anIntArray5519 = anIntArray5519; - if (bool_159_) { - if (class64_sub2_153_.anIntArray5429 == null || anInt5497 > class64_sub2_153_.anIntArray5429.length) class64_sub2_154_.anIntArray5429 = class64_sub2_153_.anIntArray5429 = new int[anInt5497]; - else class64_sub2_154_.anIntArray5429 = class64_sub2_153_.anIntArray5429; - } else class64_sub2_154_.anIntArray5429 = anIntArray5429; - for (int i_161_ = 0; anInt5497 > i_161_; i_161_++) { - if (bool_157_) class64_sub2_154_.anIntArray5511[i_161_] = anIntArray5511[i_161_]; - if (bool_158_) class64_sub2_154_.anIntArray5519[i_161_] = anIntArray5519[i_161_]; - if (bool_159_) class64_sub2_154_.anIntArray5429[i_161_] = anIntArray5429[i_161_]; - } - } else { - class64_sub2_154_.anIntArray5511 = anIntArray5511; - class64_sub2_154_.anIntArray5429 = anIntArray5429; - class64_sub2_154_.anIntArray5519 = anIntArray5519; - } - if (Class264.method2015(i, anInt5472, 7)) { - class64_sub2_154_.aClass290_5520 = class64_sub2_153_.aClass290_5520; - class64_sub2_154_.aClass290_5520.anInterface5_Impl1_3711 = aClass290_5520.anInterface5_Impl1_3711; - class64_sub2_154_.aClass290_5520.aBoolean3714 = aClass290_5520.aBoolean3714; - class64_sub2_154_.aClass290_5520.aBoolean3709 = true; - } else if (!Class161.method1258(i, -9301, anInt5472)) class64_sub2_154_.aClass290_5520 = null; - else class64_sub2_154_.aClass290_5520 = aClass290_5520; - if (Class239_Sub26.method1833((byte) -122, i, anInt5472)) { - if (class64_sub2_153_.aShortArray5486 != null && (anInt5478 <= class64_sub2_153_.aShortArray5486.length)) class64_sub2_154_.aShortArray5486 = class64_sub2_153_.aShortArray5486; - else class64_sub2_154_.aShortArray5486 = class64_sub2_153_.aShortArray5486 = new short[anInt5478]; - for (int i_162_ = 0; anInt5478 > i_162_; i_162_++) - class64_sub2_154_.aShortArray5486[i_162_] = aShortArray5486[i_162_]; - } else class64_sub2_154_.aShortArray5486 = aShortArray5486; - if (Class348_Sub23_Sub4.method2985(-31735, anInt5472, i)) { - if (class64_sub2_153_.aByteArray5515 == null || class64_sub2_153_.aByteArray5515.length < anInt5478) class64_sub2_154_.aByteArray5515 = class64_sub2_153_.aByteArray5515 = new byte[anInt5478]; - else class64_sub2_154_.aByteArray5515 = class64_sub2_153_.aByteArray5515; - for (int i_163_ = 0; i_163_ < anInt5478; i_163_++) - class64_sub2_154_.aByteArray5515[i_163_] = aByteArray5515[i_163_]; - } else class64_sub2_154_.aByteArray5515 = aByteArray5515; - if (Class348_Sub42_Sub8_Sub2.method3200(i, anInt5472, (byte) -75)) { - class64_sub2_154_.aClass290_5482 = class64_sub2_153_.aClass290_5482; - class64_sub2_154_.aClass290_5482.aBoolean3709 = true; - class64_sub2_154_.aClass290_5482.aBoolean3714 = aClass290_5482.aBoolean3714; - class64_sub2_154_.aClass290_5482.anInterface5_Impl1_3711 = aClass290_5482.anInterface5_Impl1_3711; - } else if (Class296.method2224(i, (byte) 117, anInt5472)) class64_sub2_154_.aClass290_5482 = aClass290_5482; - else class64_sub2_154_.aClass290_5482 = null; - if (Class274.method2058(i, anInt5472, 116)) { - if (class64_sub2_153_.aShortArray5493 == null || (anInt5475 > class64_sub2_153_.aShortArray5493.length)) { - int i_164_ = anInt5475; - class64_sub2_154_.aShortArray5436 = class64_sub2_153_.aShortArray5436 = new short[i_164_]; - class64_sub2_154_.aShortArray5493 = class64_sub2_153_.aShortArray5493 = new short[i_164_]; - class64_sub2_154_.aShortArray5438 = class64_sub2_153_.aShortArray5438 = new short[i_164_]; - } else { - class64_sub2_154_.aShortArray5436 = class64_sub2_153_.aShortArray5436; - class64_sub2_154_.aShortArray5493 = class64_sub2_153_.aShortArray5493; - class64_sub2_154_.aShortArray5438 = class64_sub2_153_.aShortArray5438; - } - if (aClass151_5503 == null) { - class64_sub2_154_.aClass151_5503 = null; - for (int i_165_ = 0; anInt5475 > i_165_; i_165_++) { - class64_sub2_154_.aShortArray5493[i_165_] = aShortArray5493[i_165_]; - class64_sub2_154_.aShortArray5438[i_165_] = aShortArray5438[i_165_]; - class64_sub2_154_.aShortArray5436[i_165_] = aShortArray5436[i_165_]; - } - } else { - if (class64_sub2_153_.aClass151_5503 == null) class64_sub2_153_.aClass151_5503 = new Class151(); - Class151 class151 = (class64_sub2_154_.aClass151_5503 = class64_sub2_153_.aClass151_5503); - if (class151.aShortArray2067 == null || (class151.aShortArray2067.length < anInt5475)) { - int i_166_ = anInt5475; - class151.aByteArray2069 = new byte[i_166_]; - class151.aShortArray2067 = new short[i_166_]; - class151.aShortArray2058 = new short[i_166_]; - class151.aShortArray2060 = new short[i_166_]; - } - for (int i_167_ = 0; i_167_ < anInt5475; i_167_++) { - class64_sub2_154_.aShortArray5493[i_167_] = aShortArray5493[i_167_]; - class64_sub2_154_.aShortArray5438[i_167_] = aShortArray5438[i_167_]; - class64_sub2_154_.aShortArray5436[i_167_] = aShortArray5436[i_167_]; - class151.aShortArray2067[i_167_] = (aClass151_5503.aShortArray2067[i_167_]); - class151.aShortArray2060[i_167_] = (aClass151_5503.aShortArray2060[i_167_]); - class151.aShortArray2058[i_167_] = (aClass151_5503.aShortArray2058[i_167_]); - class151.aByteArray2069[i_167_] = (aClass151_5503.aByteArray2069[i_167_]); - } - } - class64_sub2_154_.aByteArray5499 = aByteArray5499; - } else { - class64_sub2_154_.aByteArray5499 = aByteArray5499; - class64_sub2_154_.aClass151_5503 = aClass151_5503; - class64_sub2_154_.aShortArray5436 = aShortArray5436; - class64_sub2_154_.aShortArray5493 = aShortArray5493; - class64_sub2_154_.aShortArray5438 = aShortArray5438; - } - if (Class126.method1113(i, anInt5472, -30)) { - class64_sub2_154_.aClass290_5424 = class64_sub2_153_.aClass290_5424; - class64_sub2_154_.aClass290_5424.anInterface5_Impl1_3711 = aClass290_5424.anInterface5_Impl1_3711; - class64_sub2_154_.aClass290_5424.aBoolean3709 = true; - class64_sub2_154_.aClass290_5424.aBoolean3714 = aClass290_5424.aBoolean3714; - } else if (!Class188.method1412((byte) -35, anInt5472, i)) class64_sub2_154_.aClass290_5424 = null; - else class64_sub2_154_.aClass290_5424 = aClass290_5424; - if (Class348_Sub42_Sub8.method3194(i, anInt5472, (byte) 121)) { - if (class64_sub2_153_.aFloatArray5476 == null || (class64_sub2_153_.aFloatArray5476.length < anInt5478)) { - int i_168_ = anInt5475; - class64_sub2_154_.aFloatArray5506 = class64_sub2_153_.aFloatArray5506 = new float[i_168_]; - class64_sub2_154_.aFloatArray5476 = class64_sub2_153_.aFloatArray5476 = new float[i_168_]; - } else { - class64_sub2_154_.aFloatArray5476 = class64_sub2_153_.aFloatArray5476; - class64_sub2_154_.aFloatArray5506 = class64_sub2_153_.aFloatArray5506; - } - for (int i_169_ = 0; i_169_ < anInt5475; i_169_++) { - class64_sub2_154_.aFloatArray5476[i_169_] = aFloatArray5476[i_169_]; - class64_sub2_154_.aFloatArray5506[i_169_] = aFloatArray5506[i_169_]; - } - } else { - class64_sub2_154_.aFloatArray5476 = aFloatArray5476; - class64_sub2_154_.aFloatArray5506 = aFloatArray5506; - } - if (Class183.method1379(4, anInt5472, i)) { - class64_sub2_154_.aClass290_5460 = class64_sub2_153_.aClass290_5460; - class64_sub2_154_.aClass290_5460.anInterface5_Impl1_3711 = aClass290_5460.anInterface5_Impl1_3711; - class64_sub2_154_.aClass290_5460.aBoolean3714 = aClass290_5460.aBoolean3714; - class64_sub2_154_.aClass290_5460.aBoolean3709 = true; - } else if (Class239_Sub26.method1837(anInt5472, 56, i)) class64_sub2_154_.aClass290_5460 = aClass290_5460; - else class64_sub2_154_.aClass290_5460 = null; - if (Class348_Sub42_Sub16_Sub1.method3262(i, anInt5472, 94)) { - if (class64_sub2_153_.aShortArray5508 != null && (class64_sub2_153_.aShortArray5508.length >= anInt5478)) { - class64_sub2_154_.aShortArray5508 = class64_sub2_153_.aShortArray5508; - class64_sub2_154_.aShortArray5495 = class64_sub2_153_.aShortArray5495; - class64_sub2_154_.aShortArray5512 = class64_sub2_153_.aShortArray5512; - } else { - int i_170_ = anInt5478; - class64_sub2_154_.aShortArray5512 = class64_sub2_153_.aShortArray5512 = new short[i_170_]; - class64_sub2_154_.aShortArray5495 = class64_sub2_153_.aShortArray5495 = new short[i_170_]; - class64_sub2_154_.aShortArray5508 = class64_sub2_153_.aShortArray5508 = new short[i_170_]; - } - for (int i_171_ = 0; i_171_ < anInt5478; i_171_++) { - class64_sub2_154_.aShortArray5508[i_171_] = aShortArray5508[i_171_]; - class64_sub2_154_.aShortArray5495[i_171_] = aShortArray5495[i_171_]; - class64_sub2_154_.aShortArray5512[i_171_] = aShortArray5512[i_171_]; - } - } else { - class64_sub2_154_.aShortArray5495 = aShortArray5495; - class64_sub2_154_.aShortArray5512 = aShortArray5512; - class64_sub2_154_.aShortArray5508 = aShortArray5508; - } - if (Class348_Sub9.method2783(anInt5472, (byte) 80, i)) { - class64_sub2_154_.aClass192_5485 = class64_sub2_153_.aClass192_5485; - class64_sub2_154_.aClass192_5485.aBoolean2577 = aClass192_5485.aBoolean2577; - class64_sub2_154_.aClass192_5485.aBoolean2574 = true; - class64_sub2_154_.aClass192_5485.anInterface5_Impl2_2572 = aClass192_5485.anInterface5_Impl2_2572; - } else if (Class368.method3563(i, (byte) 56, anInt5472)) class64_sub2_154_.aClass192_5485 = aClass192_5485; - else class64_sub2_154_.aClass192_5485 = null; - if (Class278.method2077(-122, anInt5472, i)) { - if (class64_sub2_153_.aShortArray5423 != null && class64_sub2_153_.aShortArray5423.length >= anInt5478) class64_sub2_154_.aShortArray5423 = class64_sub2_153_.aShortArray5423; - else { - int i_172_ = anInt5478; - class64_sub2_154_.aShortArray5423 = class64_sub2_153_.aShortArray5423 = new short[i_172_]; - } - for (int i_173_ = 0; anInt5478 > i_173_; i_173_++) - class64_sub2_154_.aShortArray5423[i_173_] = aShortArray5423[i_173_]; - } else class64_sub2_154_.aShortArray5423 = aShortArray5423; - if (Class348_Sub40_Sub26.method3119(i, i_156_ ^ 0x6897, anInt5472)) { - if (class64_sub2_153_.aClass334Array5442 != null && (anInt5406 <= class64_sub2_153_.aClass334Array5442.length)) { - class64_sub2_154_.aClass334Array5442 = class64_sub2_153_.aClass334Array5442; - for (int i_174_ = 0; anInt5406 > i_174_; i_174_++) - class64_sub2_154_.aClass334Array5442[i_174_].method2648(aClass334Array5442[i_174_], (byte) 118); - } else { - int i_175_ = anInt5406; - class64_sub2_154_.aClass334Array5442 = class64_sub2_153_.aClass334Array5442 = new Class334[i_175_]; - for (int i_176_ = 0; i_176_ < anInt5406; i_176_++) - class64_sub2_154_.aClass334Array5442[i_176_] = (aClass334Array5442[i_176_].method2649(Class348_Sub21.method2955(i_156_, 26792))); - } - } else class64_sub2_154_.aClass334Array5442 = aClass334Array5442; - if (aBoolean5477) { - class64_sub2_154_.anInt5418 = anInt5418; - class64_sub2_154_.anInt5510 = anInt5510; - class64_sub2_154_.anInt5467 = anInt5467; - class64_sub2_154_.anInt5509 = anInt5509; - class64_sub2_154_.aBoolean5477 = true; - class64_sub2_154_.anInt5401 = anInt5401; - class64_sub2_154_.anInt5461 = anInt5461; - class64_sub2_154_.anInt5507 = anInt5507; - class64_sub2_154_.anInt5443 = anInt5443; - } else class64_sub2_154_.aBoolean5477 = false; - class64_sub2_154_.aClass342Array5474 = aClass342Array5474; - class64_sub2_154_.aShortArray5432 = aShortArray5432; - class64_sub2_154_.anIntArrayArray5492 = anIntArrayArray5492; - class64_sub2_154_.anIntArray5455 = anIntArray5455; - class64_sub2_154_.aShortArray5416 = aShortArray5416; - class64_sub2_154_.aShortArray5494 = aShortArray5494; - class64_sub2_154_.anIntArray5404 = anIntArray5404; - class64_sub2_154_.aShortArray5439 = aShortArray5439; - if (i_156_ != 26794) return null; - class64_sub2_154_.anIntArray5473 = anIntArray5473; - class64_sub2_154_.aClass353Array5524 = aClass353Array5524; - class64_sub2_154_.anIntArrayArray5413 = anIntArrayArray5413; - class64_sub2_154_.anIntArray5415 = anIntArray5415; - class64_sub2_154_.aClass129Array5457 = aClass129Array5457; - class64_sub2_154_.anIntArrayArray5412 = anIntArrayArray5412; - class64_sub2_154_.aShortArray5470 = aShortArray5470; - return class64_sub2_154_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("nca.U(" + bool + ',' + (class64_sub2_153_ != null ? "{...}" : "null") + ',' + (class64_sub2_154_ != null ? "{...}" : "null") + ',' + i + ',' + bool_155_ + ',' + i_156_ + ')')); - } - } - - final int ma() { - if (!aBoolean5477) method675(0); - anInt5468++; - return anInt5401; - } - - final int WA() { - anInt5496++; - return aShort5452; - } - - final void method620(Class101 class101) { - do { - try { - anInt5444++; - Class101_Sub2 class101_sub2 = (Class101_Sub2) class101; - if (aClass129Array5457 != null) { - for (int i = 0; (aClass129Array5457.length > i); i++) { - Class129 class129 = aClass129Array5457[i]; - Class129 class129_177_ = class129; - if (class129.aClass129_1888 != null) class129_177_ = class129.aClass129_1888; - class129_177_.anInt1882 = (int) (class101_sub2.aFloat5729 + (((float) (anIntArray5429[(class129.anInt1881)]) * (class101_sub2.aFloat5704)) + (((float) (anIntArray5511[(class129.anInt1881)]) * (class101_sub2.aFloat5711)) + ((class101_sub2.aFloat5700) * (float) (anIntArray5519[(class129.anInt1881)]))))); - class129_177_.anInt1891 = (int) (class101_sub2.aFloat5710 + (((float) (anIntArray5429[(class129.anInt1881)]) * (class101_sub2.aFloat5732)) + (((float) (anIntArray5511[(class129.anInt1881)]) * (class101_sub2.aFloat5708)) + ((float) (anIntArray5519[(class129.anInt1881)]) * class101_sub2.aFloat5722)))); - class129_177_.anInt1889 = (int) (((float) (anIntArray5519[(class129.anInt1881)]) * (class101_sub2.aFloat5691)) + ((class101_sub2.aFloat5736) * (float) (anIntArray5511[(class129.anInt1881)])) + ((float) (anIntArray5429[(class129.anInt1881)]) * (class101_sub2.aFloat5716)) + (class101_sub2.aFloat5724)); - class129_177_.anInt1883 = (int) (((class101_sub2.aFloat5711) * (float) (anIntArray5511[(class129.anInt1877)])) + ((float) (anIntArray5519[(class129.anInt1877)]) * (class101_sub2.aFloat5700)) + ((float) (anIntArray5429[(class129.anInt1877)]) * (class101_sub2.aFloat5704)) + (class101_sub2.aFloat5729)); - class129_177_.anInt1890 = (int) (class101_sub2.aFloat5710 + (((float) (anIntArray5429[(class129.anInt1877)]) * (class101_sub2.aFloat5732)) + (((class101_sub2.aFloat5708) * (float) (anIntArray5511[(class129.anInt1877)])) + ((class101_sub2.aFloat5722) * (float) (anIntArray5519[(class129.anInt1877)]))))); - class129_177_.anInt1880 = (int) (class101_sub2.aFloat5724 + (((class101_sub2.aFloat5716) * (float) (anIntArray5429[(class129.anInt1877)])) + (((class101_sub2.aFloat5691) * (float) (anIntArray5519[(class129.anInt1877)])) + ((class101_sub2.aFloat5736) * (float) (anIntArray5511[(class129.anInt1877)]))))); - class129_177_.anInt1876 = (int) (class101_sub2.aFloat5729 + (((class101_sub2.aFloat5700) * (float) (anIntArray5519[(class129.anInt1892)])) + ((float) (anIntArray5511[(class129.anInt1892)]) * (class101_sub2.aFloat5711)) + ((float) (anIntArray5429[(class129.anInt1892)]) * (class101_sub2.aFloat5704)))); - class129_177_.anInt1874 = (int) (((float) (anIntArray5429[(class129.anInt1892)]) * (class101_sub2.aFloat5732)) + (((float) (anIntArray5519[(class129.anInt1892)]) * (class101_sub2.aFloat5722)) + ((class101_sub2.aFloat5708) * (float) (anIntArray5511[(class129.anInt1892)]))) + (class101_sub2.aFloat5710)); - class129_177_.anInt1884 = (int) (((class101_sub2.aFloat5736) * (float) (anIntArray5511[(class129.anInt1892)])) + ((class101_sub2.aFloat5691) * (float) (anIntArray5519[(class129.anInt1892)])) + ((float) (anIntArray5429[(class129.anInt1892)]) * (class101_sub2.aFloat5716)) + (class101_sub2.aFloat5724)); - } - } - if (aClass342Array5474 == null) break; - for (int i = 0; aClass342Array5474.length > i; i++) { - Class342 class342 = aClass342Array5474[i]; - Class342 class342_178_ = class342; - if (class342.aClass342_4248 != null) class342_178_ = class342.aClass342_4248; - if (class342.aClass101_4252 != null) class342.aClass101_4252.method898(class101_sub2); - else class342.aClass101_4252 = class101_sub2.method907(); - class342_178_.anInt4238 = (int) (((float) (anIntArray5519[class342.anInt4244]) * class101_sub2.aFloat5700) + ((float) (anIntArray5511[class342.anInt4244]) * (class101_sub2.aFloat5711)) + ((float) (anIntArray5429[class342.anInt4244]) * (class101_sub2.aFloat5704)) + class101_sub2.aFloat5729); - class342_178_.anInt4239 = (int) (((float) (anIntArray5429[class342.anInt4244]) * class101_sub2.aFloat5732) + ((class101_sub2.aFloat5722 * (float) (anIntArray5519[(class342.anInt4244)])) + ((float) (anIntArray5511[(class342.anInt4244)]) * (class101_sub2.aFloat5708))) + class101_sub2.aFloat5710); - class342_178_.anInt4240 = (int) (((float) (anIntArray5519[class342.anInt4244]) * class101_sub2.aFloat5691) + ((float) (anIntArray5511[class342.anInt4244]) * (class101_sub2.aFloat5736)) + ((float) (anIntArray5429[class342.anInt4244]) * (class101_sub2.aFloat5716)) + class101_sub2.aFloat5724); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "nca.J(" + (class101 != null ? "{...}" : "null") + ')'); - } - break; - } while (false); - } - - final int HA() { - if (!aBoolean5477) method675(0); - anInt5465++; - return anInt5418; - } - - final void method608(Class101 class101, Class318_Sub3 class318_sub3, int i, int i_179_) { - try { - anInt5487++; - if (anInt5475 != 0) { - Class101_Sub2 class101_sub2 = aHa_Sub3_5419.aClass101_Sub2_8080; - Class101_Sub2 class101_sub2_180_ = (Class101_Sub2) class101; - if (!aBoolean5477) method675(0); - Class240.aFloat4673 = (class101_sub2.aFloat5724 + ((class101_sub2_180_.aFloat5710 * class101_sub2.aFloat5691) + (class101_sub2_180_.aFloat5729 * class101_sub2.aFloat5736) + (class101_sub2_180_.aFloat5724 * class101_sub2.aFloat5716))); - Class353.aFloat4338 = ((class101_sub2.aFloat5691 * class101_sub2_180_.aFloat5722) + (class101_sub2.aFloat5736 * class101_sub2_180_.aFloat5700) + (class101_sub2.aFloat5716 * class101_sub2_180_.aFloat5691)); - float f = (Class240.aFloat4673 + (float) anInt5461 * Class353.aFloat4338); - float f_181_ = (Class353.aFloat4338 * (float) anInt5509 + Class240.aFloat4673); - float f_182_; - float f_183_; - if (f_181_ < f) { - f_183_ = f + (float) anInt5510; - f_182_ = (float) -anInt5510 + f_181_; - } else { - f_182_ = (float) -anInt5510 + f; - f_183_ = (float) anInt5510 + f_181_; - } - if (!(aHa_Sub3_5419.aFloat8089 <= f_182_) && !((float) aHa_Sub3_5419.anInt8095 >= f_183_)) { - Class318_Sub1_Sub2_Sub1.aFloat10199 = ((class101_sub2.aFloat5711 * class101_sub2_180_.aFloat5700) + (class101_sub2_180_.aFloat5722 * class101_sub2.aFloat5700) + (class101_sub2_180_.aFloat5691 * class101_sub2.aFloat5704)); - Class345.aFloat4268 = ((class101_sub2_180_.aFloat5710 * class101_sub2.aFloat5700) + (class101_sub2.aFloat5711 * (class101_sub2_180_.aFloat5729)) + (class101_sub2.aFloat5704 * (class101_sub2_180_.aFloat5724)) + class101_sub2.aFloat5729); - float f_184_ = (((float) anInt5461 * Class318_Sub1_Sub2_Sub1.aFloat10199) + Class345.aFloat4268); - float f_185_ = ((Class318_Sub1_Sub2_Sub1.aFloat10199 * (float) anInt5509) + Class345.aFloat4268); - float f_186_; - float f_187_; - if (f_185_ < f_184_) { - f_186_ = ((float) aHa_Sub3_5419.anInt8129 * ((float) anInt5510 + f_184_)); - f_187_ = ((float) aHa_Sub3_5419.anInt8129 * (f_185_ - (float) anInt5510)); - } else { - f_186_ = ((float) aHa_Sub3_5419.anInt8129 * ((float) anInt5510 + f_185_)); - f_187_ = (((float) -anInt5510 + f_184_) * (float) aHa_Sub3_5419.anInt8129); - } - if (!(aHa_Sub3_5419.aFloat8158 <= f_187_ / (float) i) && !(f_186_ / (float) i <= aHa_Sub3_5419.aFloat8126)) { - Class290.aFloat3710 = ((class101_sub2_180_.aFloat5691 * class101_sub2.aFloat5732) + ((class101_sub2.aFloat5722 * (class101_sub2_180_.aFloat5722)) + ((class101_sub2_180_.aFloat5700) * (class101_sub2.aFloat5708)))); - Class348_Sub12.aFloat6752 = (class101_sub2.aFloat5710 + ((class101_sub2.aFloat5708 * (class101_sub2_180_.aFloat5729)) + ((class101_sub2_180_.aFloat5710) * (class101_sub2.aFloat5722)) + ((class101_sub2_180_.aFloat5724) * (class101_sub2.aFloat5732)))); - float f_188_ = (Class348_Sub12.aFloat6752 + Class290.aFloat3710 * (float) anInt5461); - float f_189_ = ((float) anInt5509 * Class290.aFloat3710 + Class348_Sub12.aFloat6752); - float f_190_; - float f_191_; - if (f_189_ < f_188_) { - f_190_ = ((float) aHa_Sub3_5419.anInt8134 * (f_188_ + (float) anInt5510)); - f_191_ = (((float) -anInt5510 + f_189_) * (float) (aHa_Sub3_5419.anInt8134)); - } else { - f_190_ = ((f_189_ + (float) anInt5510) * (float) (aHa_Sub3_5419.anInt8134)); - f_191_ = ((float) aHa_Sub3_5419.anInt8134 * (f_188_ - (float) anInt5510)); - } - if (!(f_191_ / (float) i >= aHa_Sub3_5419.aFloat8185) && !(f_190_ / (float) i <= aHa_Sub3_5419.aFloat8103)) { - if (class318_sub3 != null || aClass353Array5524 != null) { - Class55.aFloat1010 = (((class101_sub2.aFloat5700) * (class101_sub2_180_.aFloat5708)) + ((class101_sub2.aFloat5711) * class101_sub2_180_.aFloat5711) + ((class101_sub2.aFloat5704) * class101_sub2_180_.aFloat5736)); - Class348_Sub42_Sub4.aFloat9516 = (((class101_sub2.aFloat5711) * (class101_sub2_180_.aFloat5704)) + ((class101_sub2_180_.aFloat5732) * (class101_sub2.aFloat5700)) + ((class101_sub2_180_.aFloat5716) * (class101_sub2.aFloat5704))); - Class318_Sub6.aFloat6430 = (((class101_sub2.aFloat5708) * (class101_sub2_180_.aFloat5704)) + ((class101_sub2.aFloat5722) * class101_sub2_180_.aFloat5732) + ((class101_sub2.aFloat5732) * class101_sub2_180_.aFloat5716)); - Class328_Sub3.aFloat6523 = (((class101_sub2_180_.aFloat5736) * (class101_sub2.aFloat5716)) + (((class101_sub2.aFloat5691) * class101_sub2_180_.aFloat5708) + ((class101_sub2.aFloat5736) * (class101_sub2_180_.aFloat5711)))); - Class348_Sub20.aFloat6835 = (((class101_sub2_180_.aFloat5711) * (class101_sub2.aFloat5708)) + ((class101_sub2_180_.aFloat5708) * (class101_sub2.aFloat5722)) + ((class101_sub2.aFloat5732) * class101_sub2_180_.aFloat5736)); - ha.aFloat4582 = (((class101_sub2.aFloat5736) * (class101_sub2_180_.aFloat5704)) + ((class101_sub2.aFloat5691) * class101_sub2_180_.aFloat5732) + ((class101_sub2_180_.aFloat5716) * (class101_sub2.aFloat5716))); - } - if (class318_sub3 != null) { - int i_192_ = anInt5467 + anInt5507 >> 1; - int i_193_ = anInt5418 + anInt5443 >> 1; - int i_194_ = (int) (Class345.aFloat4268 + ((float) i_192_ * Class55.aFloat1010) + ((Class318_Sub1_Sub2_Sub1.aFloat10199) * (float) anInt5461) + ((float) i_193_ * (Class348_Sub42_Sub4.aFloat9516))); - int i_195_ = (int) (Class348_Sub12.aFloat6752 + (Class348_Sub20.aFloat6835 * (float) i_192_) + ((float) anInt5461 * Class290.aFloat3710) + (Class318_Sub6.aFloat6430 * (float) i_193_)); - int i_196_ = (int) (((float) anInt5461 * Class353.aFloat4338) + ((Class328_Sub3.aFloat6523 * (float) i_192_) + Class240.aFloat4673) + (float) i_193_ * ha.aFloat4582); - int i_197_ = (int) (((float) anInt5509 * (Class318_Sub1_Sub2_Sub1.aFloat10199)) + (Class345.aFloat4268 + (Class55.aFloat1010 * (float) i_192_)) + (Class348_Sub42_Sub4.aFloat9516 * (float) i_193_)); - int i_198_ = (int) ((Class318_Sub6.aFloat6430 * (float) i_193_) + (Class348_Sub12.aFloat6752 + (Class348_Sub20.aFloat6835 * (float) i_192_) + (Class290.aFloat3710 * (float) anInt5509))); - class318_sub3.anInt6402 = ((i_195_ * aHa_Sub3_5419.anInt8134 / i) + aHa_Sub3_5419.anInt8130); - class318_sub3.anInt6405 = (aHa_Sub3_5419.anInt8094 - -(i_194_ * (aHa_Sub3_5419.anInt8129) / i)); - class318_sub3.anInt6404 = (aHa_Sub3_5419.anInt8130 - -(aHa_Sub3_5419.anInt8134 * i_198_ / i)); - class318_sub3.anInt6406 = ((i_197_ * aHa_Sub3_5419.anInt8129 / i) + aHa_Sub3_5419.anInt8094); - int i_199_ = (int) (ha.aFloat4582 * (float) i_193_ + (((float) anInt5509 * Class353.aFloat4338) + ((Class328_Sub3.aFloat6523 * (float) i_192_) + Class240.aFloat4673))); - if (i_196_ >= aHa_Sub3_5419.anInt8095 || (aHa_Sub3_5419.anInt8095 <= i_199_)) { - class318_sub3.anInt6403 = (aHa_Sub3_5419.anInt8094 + (((anInt5510 + i_194_) * (aHa_Sub3_5419.anInt8129) / i) + -class318_sub3.anInt6405)); - class318_sub3.aBoolean6401 = true; - } - } - aHa_Sub3_5419.method3867((float) i, -68); - aHa_Sub3_5419.method3857((byte) -21); - aHa_Sub3_5419.method3815(0, class101_sub2_180_); - method672(416776206); - method659(94); - } - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("nca.Q(" + (class101 != null ? "{...}" : "null") + ',' + (class318_sub3 != null ? "{...}" : "null") + ',' + i + ',' + i_179_ + ')')); - } - } - - private final short method669(int i, long l, int i_200_, int i_201_, int i_202_, int i_203_, float f, int i_204_, float f_205_, Class124 class124, int i_206_) { - try { - if (i_203_ >= -49) anIntArray5519 = null; - anInt5407++; - int i_207_ = anIntArray5455[i_204_]; - int i_208_ = anIntArray5455[i_204_ + 1]; - int i_209_ = 0; - for (int i_210_ = i_207_; i_210_ < i_208_; i_210_++) { - short i_211_ = aShortArray5439[i_210_]; - if (i_211_ == 0) { - i_209_ = i_210_; - break; - } - if (Class348_Sub40_Sub37.aLongArray9465[i_210_] == l) return (short) (-1 + i_211_); - } - aShortArray5439[i_209_] = (short) (1 + anInt5475); - Class348_Sub40_Sub37.aLongArray9465[i_209_] = l; - aShortArray5416[anInt5475] = (short) i_200_; - aShortArray5470[anInt5475] = (short) i_204_; - aShortArray5493[anInt5475] = (short) i_202_; - aShortArray5438[anInt5475] = (short) i_206_; - aShortArray5436[anInt5475] = (short) i; - aByteArray5499[anInt5475] = (byte) i_201_; - aFloatArray5476[anInt5475] = f; - aFloatArray5506[anInt5475] = f_205_; - return (short) anInt5475++; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("nca.SA(" + i + ',' + l + ',' + i_200_ + ',' + i_201_ + ',' + i_202_ + ',' + i_203_ + ',' + f + ',' + i_204_ + ',' + f_205_ + ',' + (class124 != null ? "{...}" : "null") + ',' + i_206_ + ')')); - } - } - - final boolean r() { - anInt5422++; - return aBoolean5502; - } - - final int da() { - anInt5409++; - return aShort5427; - } - - final int RA() { - if (!aBoolean5477) method675(0); - anInt5489++; - return anInt5467; - } - - final int fa() { - anInt5526++; - if (!aBoolean5477) method675(0); - return anInt5461; - } - - private final void method670(int i) { - if (aClass290_5482 != null) aClass290_5482.aBoolean3714 = false; - if (i > -82) LA(97); - anInt5458++; - } - - final void method605(int i, int[] is, int i_212_, int i_213_, int i_214_, int i_215_, boolean bool) { - try { - anInt5498++; - int i_216_ = is.length; - if (i == 0) { - i_213_ <<= 4; - i_212_ <<= 4; - i_214_ <<= 4; - Class26.anInt386 = 0; - Class136.anInt4795 = 0; - int i_217_ = 0; - Class346.anInt4274 = 0; - for (int i_218_ = 0; i_218_ < i_216_; i_218_++) { - int i_219_ = is[i_218_]; - if (i_219_ < anIntArrayArray5413.length) { - int[] is_220_ = anIntArrayArray5413[i_219_]; - for (int i_221_ = 0; i_221_ < is_220_.length; i_221_++) { - int i_222_ = is_220_[i_221_]; - Class136.anInt4795 += anIntArray5511[i_222_]; - Class26.anInt386 += anIntArray5519[i_222_]; - Class346.anInt4274 += anIntArray5429[i_222_]; - i_217_++; - } - } - } - if (i_217_ > 0) { - Class26.anInt386 = Class26.anInt386 / i_217_ - -i_213_; - Class346.anInt4274 = Class346.anInt4274 / i_217_ + i_214_; - Class136.anInt4795 = Class136.anInt4795 / i_217_ - -i_212_; - } else { - Class26.anInt386 = i_213_; - Class346.anInt4274 = i_214_; - Class136.anInt4795 = i_212_; - } - } else if (i == 1) { - i_213_ <<= 4; - i_212_ <<= 4; - i_214_ <<= 4; - for (int i_223_ = 0; i_216_ > i_223_; i_223_++) { - int i_224_ = is[i_223_]; - if (anIntArrayArray5413.length > i_224_) { - int[] is_225_ = anIntArrayArray5413[i_224_]; - for (int i_226_ = 0; (i_226_ < is_225_.length); i_226_++) { - int i_227_ = is_225_[i_226_]; - anIntArray5511[i_227_] += i_212_; - anIntArray5519[i_227_] += i_213_; - anIntArray5429[i_227_] += i_214_; - } - } - } - } else if (i == 2) { - for (int i_228_ = 0; i_228_ < i_216_; i_228_++) { - int i_229_ = is[i_228_]; - if (anIntArrayArray5413.length > i_229_) { - int[] is_230_ = anIntArrayArray5413[i_229_]; - if ((0x1 & i_215_) == 0) { - for (int i_231_ = 0; (is_230_.length > i_231_); i_231_++) { - int i_232_ = is_230_[i_231_]; - anIntArray5511[i_232_] -= Class136.anInt4795; - anIntArray5519[i_232_] -= Class26.anInt386; - anIntArray5429[i_232_] -= Class346.anInt4274; - if (i_214_ != 0) { - int i_233_ = Class70.anIntArray1207[i_214_]; - int i_234_ = Class70.anIntArray1204[i_214_]; - int i_235_ = ((16383 + (i_234_ * anIntArray5511[i_232_] + (anIntArray5519[i_232_] * i_233_))) >> 14); - anIntArray5519[i_232_] = ((16383 + (i_234_ * anIntArray5519[i_232_] + -(i_233_ * anIntArray5511[i_232_]))) >> 14); - anIntArray5511[i_232_] = i_235_; - } - if (i_212_ != 0) { - int i_236_ = Class70.anIntArray1207[i_212_]; - int i_237_ = Class70.anIntArray1204[i_212_]; - int i_238_ = (16383 + (-(i_236_ * anIntArray5429[i_232_]) + i_237_ * (anIntArray5519[i_232_])) >> 14); - anIntArray5429[i_232_] = (16383 + (i_236_ * anIntArray5519[i_232_] - -(anIntArray5429[i_232_] * i_237_))) >> 14; - anIntArray5519[i_232_] = i_238_; - } - if (i_213_ != 0) { - int i_239_ = Class70.anIntArray1207[i_213_]; - int i_240_ = Class70.anIntArray1204[i_213_]; - int i_241_ = ((i_239_ * anIntArray5429[i_232_] + i_240_ * anIntArray5511[i_232_] + 16383) >> 14); - anIntArray5429[i_232_] = (16383 + (-(i_239_ * anIntArray5511[i_232_]) + i_240_ * (anIntArray5429[i_232_])) >> 14); - anIntArray5511[i_232_] = i_241_; - } - anIntArray5511[i_232_] += Class136.anInt4795; - anIntArray5519[i_232_] += Class26.anInt386; - anIntArray5429[i_232_] += Class346.anInt4274; - } - } else { - for (int i_242_ = 0; i_242_ < is_230_.length; i_242_++) { - int i_243_ = is_230_[i_242_]; - anIntArray5511[i_243_] -= Class136.anInt4795; - anIntArray5519[i_243_] -= Class26.anInt386; - anIntArray5429[i_243_] -= Class346.anInt4274; - if (i_212_ != 0) { - int i_244_ = Class70.anIntArray1207[i_212_]; - int i_245_ = Class70.anIntArray1204[i_212_]; - int i_246_ = (anIntArray5519[i_243_] * i_245_ + -(i_244_ * anIntArray5429[i_243_]) + 16383) >> 14; - anIntArray5429[i_243_] = ((16383 + anIntArray5429[i_243_] * i_245_ + i_244_ * anIntArray5519[i_243_]) >> 14); - anIntArray5519[i_243_] = i_246_; - } - if (i_214_ != 0) { - int i_247_ = Class70.anIntArray1207[i_214_]; - int i_248_ = Class70.anIntArray1204[i_214_]; - int i_249_ = ((i_248_ * anIntArray5511[i_243_] + i_247_ * anIntArray5519[i_243_] + 16383) >> 14); - anIntArray5519[i_243_] = (anIntArray5519[i_243_] * i_248_ - (anIntArray5511[i_243_] * i_247_ + -16383)) >> 14; - anIntArray5511[i_243_] = i_249_; - } - if (i_213_ != 0) { - int i_250_ = Class70.anIntArray1207[i_213_]; - int i_251_ = Class70.anIntArray1204[i_213_]; - int i_252_ = ((i_251_ * anIntArray5511[i_243_] + i_250_ * anIntArray5429[i_243_] - -16383) >> 14); - anIntArray5429[i_243_] = ((16383 + -(anIntArray5511[i_243_] * i_250_) + anIntArray5429[i_243_] * i_251_) >> 14); - anIntArray5511[i_243_] = i_252_; - } - anIntArray5511[i_243_] += Class136.anInt4795; - anIntArray5519[i_243_] += Class26.anInt386; - anIntArray5429[i_243_] += Class346.anInt4274; - } - } - } - } - if (bool) { - for (int i_253_ = 0; i_216_ > i_253_; i_253_++) { - int i_254_ = is[i_253_]; - if (i_254_ < anIntArrayArray5413.length) { - int[] is_255_ = anIntArrayArray5413[i_254_]; - for (int i_256_ = 0; i_256_ < is_255_.length; i_256_++) { - int i_257_ = is_255_[i_256_]; - int i_258_ = anIntArray5455[i_257_]; - int i_259_ = anIntArray5455[1 + i_257_]; - for (int i_260_ = i_258_; (i_259_ > i_260_); i_260_++) { - int i_261_ = aShortArray5439[i_260_] + -1; - if (i_261_ == -1) break; - if (i_214_ != 0) { - int i_262_ = Class70.anIntArray1207[i_214_]; - int i_263_ = Class70.anIntArray1204[i_214_]; - int i_264_ = ((16383 + (aShortArray5438[i_261_] * i_262_) + (aShortArray5493[i_261_] * i_263_)) >> 14); - aShortArray5438[i_261_] = (short) (((i_263_ * (aShortArray5438[i_261_])) + -((aShortArray5493[i_261_]) * i_262_) + 16383) >> 14); - aShortArray5493[i_261_] = (short) i_264_; - } - if (i_212_ != 0) { - int i_265_ = Class70.anIntArray1207[i_212_]; - int i_266_ = Class70.anIntArray1204[i_212_]; - int i_267_ = ((16383 + (aShortArray5438[i_261_] * i_266_) + -(i_265_ * aShortArray5436[i_261_])) >> 14); - aShortArray5436[i_261_] = (short) ((16383 + ((i_266_ * (aShortArray5436[i_261_])) + ((aShortArray5438[i_261_]) * i_265_))) >> 14); - aShortArray5438[i_261_] = (short) i_267_; - } - if (i_213_ != 0) { - int i_268_ = Class70.anIntArray1207[i_213_]; - int i_269_ = Class70.anIntArray1204[i_213_]; - int i_270_ = (i_269_ * aShortArray5493[i_261_] + (i_268_ * aShortArray5436[i_261_]) - -16383) >> 14; - aShortArray5436[i_261_] = (short) ((-(i_268_ * (aShortArray5493[i_261_])) + (aShortArray5436[i_261_]) * i_269_ - -16383) >> 14); - aShortArray5493[i_261_] = (short) i_270_; - } - } - } - } - } - method673((byte) 69); - } - } else if (i == 3) { - for (int i_271_ = 0; i_216_ > i_271_; i_271_++) { - int i_272_ = is[i_271_]; - if (i_272_ < anIntArrayArray5413.length) { - int[] is_273_ = anIntArrayArray5413[i_272_]; - for (int i_274_ = 0; is_273_.length > i_274_; i_274_++) { - int i_275_ = is_273_[i_274_]; - anIntArray5511[i_275_] -= Class136.anInt4795; - anIntArray5519[i_275_] -= Class26.anInt386; - anIntArray5429[i_275_] -= Class346.anInt4274; - anIntArray5511[i_275_] = (anIntArray5511[i_275_] * i_212_ >> 7); - anIntArray5519[i_275_] = anIntArray5519[i_275_] * i_213_ >> 7; - anIntArray5429[i_275_] = i_214_ * anIntArray5429[i_275_] >> 7; - anIntArray5511[i_275_] += Class136.anInt4795; - anIntArray5519[i_275_] += Class26.anInt386; - anIntArray5429[i_275_] += Class346.anInt4274; - } - } - } - } else if (i == 5) { - if (anIntArrayArray5492 != null) { - boolean bool_276_ = false; - for (int i_277_ = 0; i_277_ < i_216_; i_277_++) { - int i_278_ = is[i_277_]; - if (anIntArrayArray5492.length > i_278_) { - int[] is_279_ = anIntArrayArray5492[i_278_]; - for (int i_280_ = 0; is_279_.length > i_280_; i_280_++) { - int i_281_ = is_279_[i_280_]; - int i_282_ = ((0xff & aByteArray5515[i_281_]) - -(8 * i_212_)); - if (i_282_ >= 0) { - if (i_282_ > 255) i_282_ = 255; - } else i_282_ = 0; - aByteArray5515[i_281_] = (byte) i_282_; - } - bool_276_ = bool_276_ | is_279_.length > 0; - } - } - if (bool_276_) { - if (aClass353Array5524 != null) { - for (int i_283_ = 0; anInt5406 > i_283_; i_283_++) { - Class353 class353 = aClass353Array5524[i_283_]; - Class334 class334 = aClass334Array5442[i_283_]; - class334.anInt4156 = ((0xffffff & class334.anInt4156) | (255 + -(0xff & (aByteArray5515[(class353.anInt4342)])) << 24)); - } - } - method670(-86); - } - } - } else if (i == 7) { - if (anIntArrayArray5492 != null) { - boolean bool_284_ = false; - for (int i_285_ = 0; i_216_ > i_285_; i_285_++) { - int i_286_ = is[i_285_]; - if (anIntArrayArray5492.length > i_286_) { - int[] is_287_ = anIntArrayArray5492[i_286_]; - for (int i_288_ = 0; i_288_ < is_287_.length; i_288_++) { - int i_289_ = is_287_[i_288_]; - int i_290_ = aShortArray5486[i_289_] & 0xffff; - int i_291_ = (0xfc26 & i_290_) >> 10; - int i_292_ = 0x7 & i_290_ >> 7; - int i_293_ = 0x7f & i_290_; - i_292_ += i_213_ / 4; - i_291_ = i_212_ + i_291_ & 0x3f; - if (i_292_ >= 0) { - if (i_292_ > 7) i_292_ = 7; - } else i_292_ = 0; - i_293_ += i_214_; - if (i_293_ >= 0) { - if (i_293_ > 127) i_293_ = 127; - } else i_293_ = 0; - aShortArray5486[i_289_] = (short) (Class273.method2057(i_293_, (Class273.method2057(i_291_ << 10, i_292_ << 7)))); - } - bool_284_ = bool_284_ | is_287_.length > 0; - } - } - if (bool_284_) { - if (aClass353Array5524 != null) { - for (int i_294_ = 0; anInt5406 > i_294_; i_294_++) { - Class353 class353 = aClass353Array5524[i_294_]; - Class334 class334 = aClass334Array5442[i_294_]; - class334.anInt4156 = (0xffffff & (Class10.anIntArray179[(aShortArray5486[(class353.anInt4342)]) & 0xffff]) | (~0xffffff & class334.anInt4156)); - } - } - method670(-100); - } - } - } else if (i == 8) { - if (anIntArrayArray5412 != null) { - for (int i_295_ = 0; i_216_ > i_295_; i_295_++) { - int i_296_ = is[i_295_]; - if (anIntArrayArray5412.length > i_296_) { - int[] is_297_ = anIntArrayArray5412[i_296_]; - for (int i_298_ = 0; (is_297_.length > i_298_); i_298_++) { - Class334 class334 = aClass334Array5442[is_297_[i_298_]]; - class334.anInt4158 += i_212_; - class334.anInt4154 += i_213_; - } - } - } - } - } else if (i == 10) { - if (anIntArrayArray5412 != null) { - for (int i_299_ = 0; i_216_ > i_299_; i_299_++) { - int i_300_ = is[i_299_]; - if (i_300_ < anIntArrayArray5412.length) { - int[] is_301_ = anIntArrayArray5412[i_300_]; - for (int i_302_ = 0; is_301_.length > i_302_; i_302_++) { - Class334 class334 = aClass334Array5442[is_301_[i_302_]]; - class334.anInt4165 = (i_212_ * class334.anInt4165 >> 7); - class334.anInt4162 = (i_213_ * class334.anInt4162 >> 7); - } - } - } - } - } else if (i == 9) { - if (anIntArrayArray5412 != null) { - for (int i_303_ = 0; i_303_ < i_216_; i_303_++) { - int i_304_ = is[i_303_]; - if (anIntArrayArray5412.length > i_304_) { - int[] is_305_ = anIntArrayArray5412[i_304_]; - for (int i_306_ = 0; (i_306_ < is_305_.length); i_306_++) { - Class334 class334 = aClass334Array5442[is_305_[i_306_]]; - class334.anInt4151 = 0x3fff & i_212_ + (class334.anInt4151); - } - } - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("nca.BB(" + i + ',' + (is != null ? "{...}" : "null") + ',' + i_212_ + ',' + i_213_ + ',' + i_214_ + ',' + i_215_ + ',' + bool + ')')); - } - } - - final void method615(Class101 class101, Class318_Sub3 class318_sub3, int i) { - try { - anInt5471++; - if (anInt5475 != 0) { - Class101_Sub2 class101_sub2 = aHa_Sub3_5419.aClass101_Sub2_8080; - Class101_Sub2 class101_sub2_307_ = (Class101_Sub2) class101; - if (!aBoolean5477) method675(0); - Class353.aFloat4338 = ((class101_sub2.aFloat5736 * class101_sub2_307_.aFloat5700) + (class101_sub2.aFloat5691 * class101_sub2_307_.aFloat5722) + (class101_sub2_307_.aFloat5691 * class101_sub2.aFloat5716)); - Class240.aFloat4673 = ((class101_sub2_307_.aFloat5724 * class101_sub2.aFloat5716) + ((class101_sub2.aFloat5691 * class101_sub2_307_.aFloat5710) + (class101_sub2_307_.aFloat5729 * class101_sub2.aFloat5736)) + class101_sub2.aFloat5724); - float f = (Class353.aFloat4338 * (float) anInt5461 + Class240.aFloat4673); - float f_308_ = ((float) anInt5509 * Class353.aFloat4338 + Class240.aFloat4673); - float f_309_; - float f_310_; - if (f > f_308_) { - f_309_ = (float) anInt5510 + f; - f_310_ = f_308_ - (float) anInt5510; - } else { - f_309_ = (float) anInt5510 + f_308_; - f_310_ = f - (float) anInt5510; - } - if (!(aHa_Sub3_5419.aFloat8169 <= f_310_) && !(f_309_ <= (float) aHa_Sub3_5419.anInt8095)) { - Class345.aFloat4268 = (class101_sub2.aFloat5729 + ((class101_sub2.aFloat5700 * (class101_sub2_307_.aFloat5710)) + (class101_sub2.aFloat5711 * (class101_sub2_307_.aFloat5729)) + (class101_sub2.aFloat5704 * (class101_sub2_307_.aFloat5724)))); - Class318_Sub1_Sub2_Sub1.aFloat10199 = ((class101_sub2.aFloat5704 * class101_sub2_307_.aFloat5691) + ((class101_sub2_307_.aFloat5700 * class101_sub2.aFloat5711) + (class101_sub2.aFloat5700 * (class101_sub2_307_.aFloat5722)))); - float f_311_ = (((float) anInt5461 * Class318_Sub1_Sub2_Sub1.aFloat10199) + Class345.aFloat4268); - float f_312_ = (Class345.aFloat4268 + (Class318_Sub1_Sub2_Sub1.aFloat10199 * (float) anInt5509)); - float f_313_; - float f_314_; - if (f_311_ > f_312_) { - f_313_ = ((f_311_ + (float) anInt5510) * (float) aHa_Sub3_5419.anInt8129); - f_314_ = ((float) aHa_Sub3_5419.anInt8129 * ((float) -anInt5510 + f_312_)); - } else { - f_313_ = ((f_312_ + (float) anInt5510) * (float) aHa_Sub3_5419.anInt8129); - f_314_ = ((float) aHa_Sub3_5419.anInt8129 * ((float) -anInt5510 + f_311_)); - } - if (!(aHa_Sub3_5419.aFloat8158 <= f_314_ / f_309_) && !(f_313_ / f_309_ <= aHa_Sub3_5419.aFloat8126)) { - Class290.aFloat3710 = ((class101_sub2_307_.aFloat5691 * class101_sub2.aFloat5732) + ((class101_sub2.aFloat5722 * (class101_sub2_307_.aFloat5722)) + (class101_sub2.aFloat5708 * (class101_sub2_307_.aFloat5700)))); - Class348_Sub12.aFloat6752 = ((class101_sub2_307_.aFloat5724 * class101_sub2.aFloat5732) + (((class101_sub2_307_.aFloat5729) * (class101_sub2.aFloat5708)) + ((class101_sub2_307_.aFloat5710) * (class101_sub2.aFloat5722))) + class101_sub2.aFloat5710); - float f_315_ = ((float) anInt5461 * Class290.aFloat3710 + Class348_Sub12.aFloat6752); - float f_316_ = (Class290.aFloat3710 * (float) anInt5509 + Class348_Sub12.aFloat6752); - float f_317_; - float f_318_; - if (f_316_ < f_315_) { - f_317_ = ((float) aHa_Sub3_5419.anInt8134 * ((float) anInt5510 + f_315_)); - f_318_ = ((float) aHa_Sub3_5419.anInt8134 * ((float) -anInt5510 + f_316_)); - } else { - f_317_ = (((float) anInt5510 + f_316_) * (float) (aHa_Sub3_5419.anInt8134)); - f_318_ = ((f_315_ - (float) anInt5510) * (float) (aHa_Sub3_5419.anInt8134)); - } - if (!(aHa_Sub3_5419.aFloat8185 <= f_318_ / f_309_) && !(f_317_ / f_309_ <= aHa_Sub3_5419.aFloat8103)) { - if (class318_sub3 != null || aClass353Array5524 != null) { - Class328_Sub3.aFloat6523 = (((class101_sub2.aFloat5716) * (class101_sub2_307_.aFloat5736)) + ((class101_sub2_307_.aFloat5711 * (class101_sub2.aFloat5736)) + ((class101_sub2.aFloat5691) * (class101_sub2_307_.aFloat5708)))); - Class318_Sub6.aFloat6430 = (((class101_sub2.aFloat5708) * (class101_sub2_307_.aFloat5704)) + ((class101_sub2_307_.aFloat5732) * (class101_sub2.aFloat5722)) + ((class101_sub2.aFloat5732) * class101_sub2_307_.aFloat5716)); - Class55.aFloat1010 = (((class101_sub2.aFloat5704) * (class101_sub2_307_.aFloat5736)) + (((class101_sub2.aFloat5700) * class101_sub2_307_.aFloat5708) + ((class101_sub2.aFloat5711) * (class101_sub2_307_.aFloat5711)))); - Class348_Sub42_Sub4.aFloat9516 = (((class101_sub2.aFloat5711) * (class101_sub2_307_.aFloat5704)) + ((class101_sub2_307_.aFloat5732) * (class101_sub2.aFloat5700)) + ((class101_sub2.aFloat5704) * class101_sub2_307_.aFloat5716)); - Class348_Sub20.aFloat6835 = (((class101_sub2.aFloat5708) * (class101_sub2_307_.aFloat5711)) + ((class101_sub2.aFloat5722) * class101_sub2_307_.aFloat5708) + ((class101_sub2.aFloat5732) * class101_sub2_307_.aFloat5736)); - ha.aFloat4582 = (((class101_sub2_307_.aFloat5716) * (class101_sub2.aFloat5716)) + ((class101_sub2_307_.aFloat5704 * (class101_sub2.aFloat5736)) + (class101_sub2_307_.aFloat5732 * (class101_sub2.aFloat5691)))); - } - if (class318_sub3 != null) { - boolean bool = false; - boolean bool_319_ = true; - int i_320_ = anInt5507 - -anInt5467 >> 1; - int i_321_ = anInt5418 + anInt5443 >> 1; - int i_322_ = (int) (((float) anInt5461 * (Class318_Sub1_Sub2_Sub1.aFloat10199)) + (Class345.aFloat4268 + (Class55.aFloat1010 * (float) i_320_)) + (Class348_Sub42_Sub4.aFloat9516 * (float) i_321_)); - int i_323_ = (int) ((Class318_Sub6.aFloat6430 * (float) i_321_) + (((float) i_320_ * Class348_Sub20.aFloat6835) + Class348_Sub12.aFloat6752 + (Class290.aFloat3710 * (float) anInt5461))); - int i_324_ = (int) (Class240.aFloat4673 + ((float) i_320_ * Class328_Sub3.aFloat6523) + ((float) anInt5461 * Class353.aFloat4338) + (float) i_321_ * ha.aFloat4582); - if (aHa_Sub3_5419.anInt8095 > i_324_) bool = true; - else { - class318_sub3.anInt6402 = (aHa_Sub3_5419.anInt8130 - -(i_323_ * (aHa_Sub3_5419.anInt8134) / i_324_)); - class318_sub3.anInt6405 = ((aHa_Sub3_5419.anInt8129 * i_322_ / i_324_) + (aHa_Sub3_5419.anInt8094)); - } - int i_325_ = (int) ((Class318_Sub1_Sub2_Sub1.aFloat10199) * (float) anInt5509 + (Class345.aFloat4268 + (Class55.aFloat1010 * (float) i_320_)) + ((float) i_321_ * (Class348_Sub42_Sub4.aFloat9516))); - int i_326_ = (int) ((Class290.aFloat3710 * (float) anInt5509) + (Class348_Sub12.aFloat6752 + ((float) i_320_ * (Class348_Sub20.aFloat6835))) + ((float) i_321_ * Class318_Sub6.aFloat6430)); - int i_327_ = (int) (((float) anInt5509 * Class353.aFloat4338) + (Class240.aFloat4673 + ((float) i_320_ * Class328_Sub3.aFloat6523)) + ha.aFloat4582 * (float) i_321_); - if (aHa_Sub3_5419.anInt8095 > i_327_) bool = true; - else { - class318_sub3.anInt6406 = (aHa_Sub3_5419.anInt8094 + (i_325_ * (aHa_Sub3_5419.anInt8129) / i_327_)); - class318_sub3.anInt6404 = (aHa_Sub3_5419.anInt8130 - -(i_326_ * (aHa_Sub3_5419.anInt8134) / i_327_)); - } - if (bool) { - if ((aHa_Sub3_5419.anInt8095 > i_324_) && ((aHa_Sub3_5419.anInt8095) > i_327_)) bool_319_ = false; - else if (i_324_ >= (aHa_Sub3_5419.anInt8095)) { - if (aHa_Sub3_5419.anInt8095 > i_327_) { - int i_328_ = ((i_324_ + -(aHa_Sub3_5419.anInt8095) << 16) / (-i_327_ + i_324_)); - int i_329_ = i_322_ + (((i_322_ - i_325_) * i_328_) >> 16); - int i_330_ = (((-i_326_ + i_323_) * i_328_ >> 16) + i_323_); - class318_sub3.anInt6405 = ((aHa_Sub3_5419.anInt8094) + (aHa_Sub3_5419.anInt8129 * i_329_ / (aHa_Sub3_5419.anInt8095))); - class318_sub3.anInt6402 = ((aHa_Sub3_5419.anInt8130) + (i_330_ * (aHa_Sub3_5419.anInt8134) / (aHa_Sub3_5419.anInt8095))); - } - } else { - int i_331_ = ((-(aHa_Sub3_5419.anInt8095) + i_327_ << 16) / (-i_324_ + i_327_)); - int i_332_ = ((i_331_ * (-i_322_ + i_325_) >> 16) + i_325_); - int i_333_ = (i_326_ - -(i_331_ * (-i_323_ + i_326_) >> 16)); - class318_sub3.anInt6405 = ((aHa_Sub3_5419.anInt8094) + (i_332_ * (aHa_Sub3_5419.anInt8129) / (aHa_Sub3_5419.anInt8095))); - class318_sub3.anInt6402 = ((i_333_ * (aHa_Sub3_5419.anInt8134) / (aHa_Sub3_5419.anInt8095)) + (aHa_Sub3_5419.anInt8130)); - } - } - if (bool_319_) { - if (i_324_ <= i_327_) class318_sub3.anInt6403 = (-class318_sub3.anInt6406 + (((aHa_Sub3_5419.anInt8129) * (i_325_ + anInt5510) / i_327_) + (aHa_Sub3_5419.anInt8094))); - else class318_sub3.anInt6403 = (-class318_sub3.anInt6405 + (((i_322_ + anInt5510) * (aHa_Sub3_5419.anInt8129) / i_324_) + (aHa_Sub3_5419.anInt8094))); - class318_sub3.aBoolean6401 = true; - } - } - aHa_Sub3_5419.method3825(8); - aHa_Sub3_5419.method3815(0, class101_sub2_307_); - method672(416776206); - method659(76); - } - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("nca.KA(" + (class101 != null ? "{...}" : "null") + ',' + (class318_sub3 != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - final void s(int i) { - anInt5445++; - if (aClass290_5520 != null) aClass290_5520.aBoolean3709 = Class264.method2015(i, anInt5472, 7); - if (aClass290_5460 != null) aClass290_5460.aBoolean3709 = Class183.method1379(4, anInt5472, i); - if (aClass290_5482 != null) aClass290_5482.aBoolean3709 = Class348_Sub42_Sub8_Sub2.method3200(i, anInt5472, (byte) 73); - if (aClass290_5424 != null) aClass290_5424.aBoolean3709 = Class126.method1113(i, anInt5472, -10); - anInt5463 = i; - aBoolean5402 = true; - if (aClass151_5503 != null && (anInt5463 & 0x10000) == 0) { - aShortArray5438 = aClass151_5503.aShortArray2060; - aShortArray5436 = aClass151_5503.aShortArray2058; - aShortArray5493 = aClass151_5503.aShortArray2067; - aByteArray5499 = aClass151_5503.aByteArray2069; - aClass151_5503 = null; - } - method663(262144); - } - - final int V() { - anInt5464++; - if (!aBoolean5477) method675(0); - return anInt5507; - } - - final boolean method618() { - anInt5410++; - if (aShortArray5423 == null) return true; - for (int i = 0; i < aShortArray5423.length; i++) { - if (aShortArray5423[i] != -1 && !aHa_Sub3_5419.aD4579.method4(-7953, aShortArray5423[i])) return false; - } - return true; - } - - Class64_Sub2(ha_Sub3 var_ha_Sub3, Class124 class124, int i, int i_334_, int i_335_, int i_336_) { - this(var_ha_Sub3, i, i_336_, true, false); - do { - try { - d var_d = var_ha_Sub3.aD4579; - int[] is = new int[class124.anInt1817]; - anIntArray5455 = new int[1 + class124.anInt1821]; - for (int i_337_ = 0; i_337_ < class124.anInt1817; i_337_++) { - if (class124.aByteArray1843 == null || class124.aByteArray1843[i_337_] != 2) { - if (class124.aShortArray1822 != null && (class124.aShortArray1822[i_337_] != -1)) { - Class12 class12 = var_d.method3(((class124.aShortArray1822[i_337_]) & 0xffff), -6662); - if (((anInt5472 & 0x40) == 0 || !class12.aBoolean209) && class12.aBoolean204) continue; - } - is[anInt5478++] = i_337_; - anIntArray5455[(class124.aShortArray1863[i_337_])]++; - anIntArray5455[(class124.aShortArray1835[i_337_])]++; - anIntArray5455[(class124.aShortArray1855[i_337_])]++; - } - } - anInt5516 = anInt5478; - long[] ls = new long[anInt5478]; - boolean bool = (0x100 & anInt5463) != 0; - for (int i_338_ = 0; i_338_ < anInt5478; i_338_++) { - int i_339_ = is[i_338_]; - Class12 class12 = null; - int i_340_ = 0; - int i_341_ = 0; - int i_342_ = 0; - int i_343_ = 0; - if (class124.aClass162Array1832 != null) { - boolean bool_344_ = false; - for (int i_345_ = 0; i_345_ < (class124.aClass162Array1832).length; i_345_++) { - Class162 class162 = (class124.aClass162Array1832[i_345_]); - if (class162.anInt2155 == i_339_) { - Class189 class189 = Class73.method742(104, (class162.anInt2153)); - if (class189.aBoolean2531) bool_344_ = true; - if (class189.anInt2525 != -1) { - Class12 class12_346_ = var_d.method3((class189.anInt2525), -6662); - if (class12_346_.anInt200 == 2) aBoolean5428 = true; - } - } - } - if (bool_344_) { - ls[i_338_] = 9223372036854775807L; - anInt5516--; - continue; - } - } - int i_347_ = -1; - if (class124.aShortArray1822 != null) { - i_347_ = class124.aShortArray1822[i_339_]; - if (i_347_ != -1) { - class12 = var_d.method3(0xffff & i_347_, -6662); - if ((0x40 & anInt5472) != 0 && class12.aBoolean209) { - i_347_ = -1; - class12 = null; - } else { - i_343_ = class12.aByte202; - i_342_ = class12.aByte213; - } - } - } - boolean bool_348_ = ((class124.aByteArray1834 != null && class124.aByteArray1834[i_339_] != 0) || (class12 != null && class12.anInt200 != 0)); - if ((bool || bool_348_) && class124.aByteArray1839 != null) i_340_ += (class124.aByteArray1839[i_339_] << 17); - if (bool_348_) i_340_ += 65536; - i_340_ += 0xff00 & i_342_ << 8; - i_341_ += (i_347_ & 0xffff) << 16; - i_340_ += 0xff & i_343_; - i_341_ += 0xffff & i_338_; - ls[i_338_] = ((long) i_340_ << 32) + (long) i_341_; - Class64_Sub2 class64_sub2_349_ = this; - class64_sub2_349_.aBoolean5502 = (class64_sub2_349_.aBoolean5502 | (class12 != null && (class12.aByte198 != 0 || class12.aByte211 != 0))); - aBoolean5428 |= bool_348_; - } - Class348_Sub16_Sub2.method2832(is, ls, 0); - anInt5497 = class124.anInt1836; - anIntArray5429 = class124.anIntArray1852; - anIntArray5519 = class124.anIntArray1847; - aShortArray5494 = class124.aShortArray1842; - anInt5433 = class124.anInt1821; - anIntArray5511 = class124.anIntArray1841; - aClass342Array5474 = class124.aClass342Array1866; - Class371[] class371s = new Class371[anInt5433]; - aClass129Array5457 = class124.aClass129Array1846; - if (class124.aClass162Array1832 != null) { - anInt5406 = class124.aClass162Array1832.length; - aClass353Array5524 = new Class353[anInt5406]; - aClass334Array5442 = new Class334[anInt5406]; - for (int i_350_ = 0; anInt5406 > i_350_; i_350_++) { - Class162 class162 = class124.aClass162Array1832[i_350_]; - Class189 class189 = Class73.method742(104, (class162.anInt2153)); - int i_351_ = -1; - for (int i_352_ = 0; i_352_ < anInt5478; i_352_++) { - if (class162.anInt2155 == is[i_352_]) { - i_351_ = i_352_; - break; - } - } - if (i_351_ == -1) throw new RuntimeException(); - int i_353_ = (0xffffff & (Class10.anIntArray179[((class124.aShortArray1862[class162.anInt2155]) & 0xffff)])); - i_353_ = (i_353_ | -(class124.aByteArray1834 == null ? 0 : (class124.aByteArray1834[(class162.anInt2155)])) + 255 << 24); - aClass353Array5524[i_350_] = new Class353(i_351_, (class124.aShortArray1863[class162.anInt2155]), (class124.aShortArray1835[class162.anInt2155]), (class124.aShortArray1855[class162.anInt2155]), class189.anInt2526, class189.anInt2530, class189.anInt2525, class189.anInt2533, class189.anInt2534, class189.aBoolean2531, class189.aBoolean2522, class162.anInt2158); - aClass334Array5442[i_350_] = new Class334(i_353_); - } - } - int i_354_ = 3 * anInt5478; - aShortArray5439 = new short[i_354_]; - aShortArray5508 = new short[anInt5478]; - aShortArray5423 = new short[anInt5478]; - aFloatArray5506 = new float[i_354_]; - aShortArray5436 = new short[i_354_]; - aShortArray5486 = new short[anInt5478]; - aByteArray5499 = new byte[i_354_]; - aShortArray5512 = new short[anInt5478]; - aShortArray5493 = new short[i_354_]; - if (class124.aShortArray1856 != null) aShortArray5432 = new short[anInt5478]; - aShortArray5470 = new short[i_354_]; - aShortArray5416 = new short[i_354_]; - Class348_Sub40_Sub37.aLongArray9465 = new long[i_354_]; - aShortArray5495 = new short[anInt5478]; - aShort5452 = (short) i_334_; - aByteArray5515 = new byte[anInt5478]; - aFloatArray5476 = new float[i_354_]; - aShort5427 = (short) i_335_; - aShortArray5438 = new short[i_354_]; - int i_355_ = 0; - for (int i_356_ = 0; (i_356_ < class124.anInt1821); i_356_++) { - int i_357_ = anIntArray5455[i_356_]; - anIntArray5455[i_356_] = i_355_; - i_355_ += i_357_; - class371s[i_356_] = new Class371(); - } - anIntArray5455[class124.anInt1821] = i_355_; - Class358 class358 = Class59_Sub2_Sub1.method565(255, anInt5478, class124, is); - Class63[] class63s = new Class63[class124.anInt1817]; - for (int i_358_ = 0; (class124.anInt1817 > i_358_); i_358_++) { - short i_359_ = class124.aShortArray1863[i_358_]; - short i_360_ = class124.aShortArray1835[i_358_]; - short i_361_ = class124.aShortArray1855[i_358_]; - int i_362_ = anIntArray5511[i_360_] - anIntArray5511[i_359_]; - int i_363_ = -anIntArray5519[i_359_] + anIntArray5519[i_360_]; - int i_364_ = anIntArray5429[i_360_] - anIntArray5429[i_359_]; - int i_365_ = -anIntArray5511[i_359_] + anIntArray5511[i_361_]; - int i_366_ = -anIntArray5519[i_359_] + anIntArray5519[i_361_]; - int i_367_ = -anIntArray5429[i_359_] + anIntArray5429[i_361_]; - int i_368_ = i_363_ * i_367_ + -(i_366_ * i_364_); - int i_369_ = -(i_362_ * i_367_) + i_364_ * i_365_; - int i_370_; - for (i_370_ = i_362_ * i_366_ - i_365_ * i_363_; (i_368_ > 8192 || i_369_ > 8192 || i_370_ > 8192 || i_368_ < -8192 || i_369_ < -8192 || i_370_ < -8192); i_370_ >>= 1) { - i_369_ >>= 1; - i_368_ >>= 1; - } - int i_371_ = (int) Math.sqrt(i_369_ * i_369_ + (i_368_ * i_368_ - -(i_370_ * i_370_))); - if (i_371_ <= 0) i_371_ = 1; - i_370_ = 256 * i_370_ / i_371_; - i_369_ = 256 * i_369_ / i_371_; - i_368_ = i_368_ * 256 / i_371_; - byte i_372_ = (class124.aByteArray1843 != null ? class124.aByteArray1843[i_358_] : (byte) 0); - if (i_372_ == 0) { - Class371 class371 = class371s[i_359_]; - class371.anInt4522++; - class371.anInt4525 += i_369_; - class371.anInt4520 += i_368_; - class371.anInt4524 += i_370_; - class371 = class371s[i_360_]; - class371.anInt4520 += i_368_; - class371.anInt4522++; - class371.anInt4525 += i_369_; - class371.anInt4524 += i_370_; - class371 = class371s[i_361_]; - class371.anInt4522++; - class371.anInt4520 += i_368_; - class371.anInt4525 += i_369_; - class371.anInt4524 += i_370_; - } else if (i_372_ == 1) { - Class63 class63 = class63s[i_358_] = new Class63(); - class63.anInt1118 = i_368_; - class63.anInt1119 = i_369_; - class63.anInt1122 = i_370_; - } - } - for (int i_373_ = 0; i_373_ < anInt5478; i_373_++) { - int i_374_ = is[i_373_]; - int i_375_ = (0xffff & class124.aShortArray1862[i_374_]); - int i_376_; - if (class124.aByteArray1820 != null) i_376_ = class124.aByteArray1820[i_374_]; - else i_376_ = -1; - int i_377_; - if (class124.aByteArray1834 == null) i_377_ = 0; - else i_377_ = 0xff & (class124.aByteArray1834[i_374_]); - short i_378_ = (class124.aShortArray1822 != null ? class124.aShortArray1822[i_374_] : (short) -1); - if (i_378_ != -1 && (anInt5472 & 0x40) != 0) { - Class12 class12 = var_d.method3(0xffff & i_378_, -6662); - if (class12.aBoolean209) i_378_ = (short) -1; - } - float f = 0.0F; - float f_379_ = 0.0F; - float f_380_ = 0.0F; - float f_381_ = 0.0F; - float f_382_ = 0.0F; - float f_383_ = 0.0F; - int i_384_ = 0; - int i_385_ = 0; - int i_386_ = 0; - if (i_378_ != -1) { - if (i_376_ == -1) { - f_380_ = 1.0F; - f_383_ = 0.0F; - i_384_ = 1; - i_385_ = 2; - f_382_ = 0.0F; - f = 0.0F; - f_381_ = 1.0F; - f_379_ = 1.0F; - } else { - i_376_ &= 0xff; - byte i_387_ = class124.aByteArray1823[i_376_]; - if (i_387_ == 0) { - short i_415_ = (class124.aShortArray1863[i_374_]); - short i_416_ = (class124.aShortArray1835[i_374_]); - short i_417_ = (class124.aShortArray1855[i_374_]); - short i_418_ = (class124.aShortArray1829[i_376_]); - short i_419_ = (class124.aShortArray1849[i_376_]); - short i_420_ = (class124.aShortArray1825[i_376_]); - float f_421_ = (float) (class124.anIntArray1841[i_418_]); - float f_422_ = (float) (class124.anIntArray1847[i_418_]); - float f_423_ = (float) (class124.anIntArray1852[i_418_]); - float f_424_ = ((float) (class124.anIntArray1841[i_419_]) - f_421_); - float f_425_ = (-f_422_ + (float) (class124.anIntArray1847[i_419_])); - float f_426_ = (-f_423_ + (float) (class124.anIntArray1852[i_419_])); - float f_427_ = (-f_421_ + (float) (class124.anIntArray1841[i_420_])); - float f_428_ = ((float) (class124.anIntArray1847[i_420_]) - f_422_); - float f_429_ = (-f_423_ + (float) (class124.anIntArray1852[i_420_])); - float f_430_ = (-f_421_ + (float) (class124.anIntArray1841[i_415_])); - float f_431_ = ((float) (class124.anIntArray1847[i_415_]) - f_422_); - float f_432_ = (-f_423_ + (float) (class124.anIntArray1852[i_415_])); - float f_433_ = (-f_421_ + (float) (class124.anIntArray1841[i_416_])); - float f_434_ = ((float) (class124.anIntArray1847[i_416_]) - f_422_); - float f_435_ = ((float) (class124.anIntArray1852[i_416_]) - f_423_); - float f_436_ = (-f_421_ + (float) (class124.anIntArray1841[i_417_])); - float f_437_ = (-f_422_ + (float) (class124.anIntArray1847[i_417_])); - float f_438_ = ((float) (class124.anIntArray1852[i_417_]) - f_423_); - float f_439_ = f_425_ * f_429_ - f_428_ * f_426_; - float f_440_ = f_427_ * f_426_ - f_424_ * f_429_; - float f_441_ = -(f_427_ * f_425_) + f_428_ * f_424_; - float f_442_ = -(f_440_ * f_429_) + f_441_ * f_428_; - float f_443_ = -(f_441_ * f_427_) + f_439_ * f_429_; - float f_444_ = -(f_439_ * f_428_) + f_440_ * f_427_; - float f_445_ = 1.0F / (f_443_ * f_425_ + f_442_ * f_424_ + f_426_ * f_444_); - f = f_445_ * (f_444_ * f_432_ + (f_442_ * f_430_ + f_443_ * f_431_)); - f_382_ = (f_444_ * f_438_ + (f_442_ * f_436_ + f_437_ * f_443_)) * f_445_; - f_380_ = f_445_ * (f_435_ * f_444_ + (f_443_ * f_434_ + f_442_ * f_433_)); - f_442_ = f_441_ * f_425_ - f_440_ * f_426_; - f_443_ = -(f_424_ * f_441_) + f_426_ * f_439_; - f_444_ = -(f_439_ * f_425_) + f_440_ * f_424_; - f_445_ = 1.0F / (f_442_ * f_427_ + f_428_ * f_443_ + f_429_ * f_444_); - f_381_ = (f_433_ * f_442_ + f_434_ * f_443_ + f_444_ * f_435_) * f_445_; - f_383_ = (f_442_ * f_436_ + f_443_ * f_437_ + f_444_ * f_438_) * f_445_; - f_379_ = f_445_ * (f_432_ * f_444_ + (f_431_ * f_443_ + f_430_ * f_442_)); - } else { - short i_388_ = (class124.aShortArray1863[i_374_]); - short i_389_ = (class124.aShortArray1835[i_374_]); - short i_390_ = (class124.aShortArray1855[i_374_]); - int i_391_ = (class358.anIntArray4416[i_376_]); - int i_392_ = (class358.anIntArray4415[i_376_]); - int i_393_ = (class358.anIntArray4414[i_376_]); - float[] fs = (class358.aFloatArrayArray4412[i_376_]); - byte i_394_ = (class124.aByteArray1853[i_376_]); - float f_395_ = ((float) (class124.anIntArray1867[i_376_]) / 256.0F); - if (i_387_ == 1) { - float f_413_ = ((float) (class124.anIntArray1844[i_376_]) / 1024.0F); - Class246.method1885(i_393_, (class124.anIntArray1852[i_388_]), i_394_, 8, (class124.anIntArray1841[i_388_]), Class283.aFloatArray3658, (class124.anIntArray1847[i_388_]), f_395_, i_392_, i_391_, f_413_, fs); - f_379_ = Class283.aFloatArray3658[1]; - f = Class283.aFloatArray3658[0]; - Class246.method1885(i_393_, (class124.anIntArray1852[i_389_]), i_394_, 8, (class124.anIntArray1841[i_389_]), Class283.aFloatArray3658, (class124.anIntArray1847[i_389_]), f_395_, i_392_, i_391_, f_413_, fs); - f_381_ = Class283.aFloatArray3658[1]; - f_380_ = Class283.aFloatArray3658[0]; - Class246.method1885(i_393_, (class124.anIntArray1852[i_390_]), i_394_, 8, (class124.anIntArray1841[i_390_]), Class283.aFloatArray3658, (class124.anIntArray1847[i_390_]), f_395_, i_392_, i_391_, f_413_, fs); - f_382_ = Class283.aFloatArray3658[0]; - f_383_ = Class283.aFloatArray3658[1]; - float f_414_ = f_413_ / 2.0F; - if ((i_394_ & 0x1) == 0) { - if (f_414_ < -f + f_380_) { - i_384_ = 1; - f_380_ -= f_413_; - } else if (f_414_ < -f_380_ + f) { - f_380_ += f_413_; - i_384_ = 2; - } - if (f_414_ < f_382_ - f) { - f_382_ -= f_413_; - i_385_ = 1; - } else if (-f_382_ + f > f_414_) { - i_385_ = 2; - f_382_ += f_413_; - } - } else { - if (f_414_ < -f_379_ + f_383_) { - f_383_ -= f_413_; - i_385_ = 1; - } else if (-f_383_ + f_379_ > f_414_) { - i_385_ = 2; - f_383_ += f_413_; - } - if (-f_379_ + f_381_ > f_414_) { - f_381_ -= f_413_; - i_384_ = 1; - } else if (-f_381_ + f_379_ > f_414_) { - f_381_ += f_413_; - i_384_ = 2; - } - } - } else if (i_387_ == 2) { - float f_396_ = ((float) (class124.anIntArray1857[i_376_]) / 256.0F); - float f_397_ = ((float) (class124.anIntArray1865[i_376_]) / 256.0F); - int i_398_ = (-(class124.anIntArray1841[i_388_]) + (class124.anIntArray1841[i_389_])); - int i_399_ = ((class124.anIntArray1847[i_389_]) + -(class124.anIntArray1847[i_388_])); - int i_400_ = (-(class124.anIntArray1852[i_388_]) + (class124.anIntArray1852[i_389_])); - int i_401_ = ((class124.anIntArray1841[i_390_]) + -(class124.anIntArray1841[i_388_])); - int i_402_ = ((class124.anIntArray1847[i_390_]) - (class124.anIntArray1847[i_388_])); - int i_403_ = (-(class124.anIntArray1852[i_388_]) + (class124.anIntArray1852[i_390_])); - int i_404_ = (i_399_ * i_403_ + -(i_400_ * i_402_)); - int i_405_ = (i_401_ * i_400_ + -(i_398_ * i_403_)); - int i_406_ = (i_402_ * i_398_ + -(i_399_ * i_401_)); - float f_407_ = (64.0F / (float) (class124.anIntArray1859[i_376_])); - float f_408_ = (64.0F / (float) (class124.anIntArray1816[i_376_])); - float f_409_ = (64.0F / (float) (class124.anIntArray1844[i_376_])); - float f_410_ = (((float) i_406_ * fs[2] + ((float) i_404_ * fs[0] + (float) i_405_ * fs[1])) / f_407_); - float f_411_ = ((fs[5] * (float) i_406_ + (fs[3] * (float) i_404_ + (float) i_405_ * fs[4])) / f_408_); - float f_412_ = (((float) i_405_ * fs[7] + fs[6] * (float) i_404_ + fs[8] * (float) i_406_) / f_409_); - i_386_ = Class331.method2635(f_411_, false, f_412_, f_410_); - Class262.method1991(f_397_, f_395_, fs, (class124.anIntArray1852[i_388_]), i_393_, false, i_394_, i_391_, (class124.anIntArray1841[i_388_]), (class124.anIntArray1847[i_388_]), f_396_, Class283.aFloatArray3658, i_392_, i_386_); - f_379_ = Class283.aFloatArray3658[1]; - f = Class283.aFloatArray3658[0]; - Class262.method1991(f_397_, f_395_, fs, (class124.anIntArray1852[i_389_]), i_393_, false, i_394_, i_391_, (class124.anIntArray1841[i_389_]), (class124.anIntArray1847[i_389_]), f_396_, Class283.aFloatArray3658, i_392_, i_386_); - f_381_ = Class283.aFloatArray3658[1]; - f_380_ = Class283.aFloatArray3658[0]; - Class262.method1991(f_397_, f_395_, fs, (class124.anIntArray1852[i_390_]), i_393_, false, i_394_, i_391_, (class124.anIntArray1841[i_390_]), (class124.anIntArray1847[i_390_]), f_396_, Class283.aFloatArray3658, i_392_, i_386_); - f_382_ = Class283.aFloatArray3658[0]; - f_383_ = Class283.aFloatArray3658[1]; - } else if (i_387_ == 3) { - Class181.method1367(i_393_, i_394_, f_395_, (class124.anIntArray1841[i_388_]), Class283.aFloatArray3658, (class124.anIntArray1852[i_388_]), i_391_, (class124.anIntArray1847[i_388_]), i_392_, -4, fs); - f = Class283.aFloatArray3658[0]; - f_379_ = Class283.aFloatArray3658[1]; - Class181.method1367(i_393_, i_394_, f_395_, (class124.anIntArray1841[i_389_]), Class283.aFloatArray3658, (class124.anIntArray1852[i_389_]), i_391_, (class124.anIntArray1847[i_389_]), i_392_, -4, fs); - f_380_ = Class283.aFloatArray3658[0]; - f_381_ = Class283.aFloatArray3658[1]; - Class181.method1367(i_393_, i_394_, f_395_, (class124.anIntArray1841[i_390_]), Class283.aFloatArray3658, (class124.anIntArray1852[i_390_]), i_391_, (class124.anIntArray1847[i_390_]), i_392_, -4, fs); - f_382_ = Class283.aFloatArray3658[0]; - f_383_ = Class283.aFloatArray3658[1]; - if ((i_394_ & 0x1) == 0) { - if (-f + f_382_ > 0.5F) { - f_382_--; - i_385_ = 1; - } else if (f - f_382_ > 0.5F) { - f_382_++; - i_385_ = 2; - } - if (-f + f_380_ > 0.5F) { - f_380_--; - i_384_ = 1; - } else if (-f_380_ + f > 0.5F) { - f_380_++; - i_384_ = 2; - } - } else { - if (-f_379_ + f_383_ > 0.5F) { - i_385_ = 1; - f_383_--; - } else if (f_379_ - f_383_ > 0.5F) { - i_385_ = 2; - f_383_++; - } - if (f_381_ - f_379_ > 0.5F) { - f_381_--; - i_384_ = 1; - } else if (f_379_ - f_381_ > 0.5F) { - i_384_ = 2; - f_381_++; - } - } - } - } - } - } - byte i_446_; - if (class124.aByteArray1843 != null) i_446_ = class124.aByteArray1843[i_374_]; - else i_446_ = (byte) 0; - if (i_446_ == 0) { - long l = ((long) (i_376_ << 2) + (((long) (i_375_ << 8) + ((long) (i_386_ << 24) - -(long) i_377_)) << 32)); - short i_447_ = class124.aShortArray1863[i_374_]; - short i_448_ = class124.aShortArray1835[i_374_]; - short i_449_ = class124.aShortArray1855[i_374_]; - Class371 class371 = class371s[i_447_]; - aShortArray5508[i_373_] = method669(class371.anInt4524, l, i_373_, class371.anInt4522, class371.anInt4520, -114, f, i_447_, f_379_, class124, class371.anInt4525); - class371 = class371s[i_448_]; - aShortArray5495[i_373_] = method669(class371.anInt4524, (long) i_384_ + l, i_373_, class371.anInt4522, class371.anInt4520, -68, f_380_, i_448_, f_381_, class124, class371.anInt4525); - class371 = class371s[i_449_]; - aShortArray5512[i_373_] = method669(class371.anInt4524, (long) i_385_ + l, i_373_, class371.anInt4522, class371.anInt4520, -112, f_382_, i_449_, f_383_, class124, class371.anInt4525); - } else if (i_446_ == 1) { - Class63 class63 = class63s[i_374_]; - long l = ((((long) i_377_ + ((long) (i_386_ << 24) - -(long) (i_375_ << 8))) << 32) + (long) (((256 + class63.anInt1119) << 12) + (class63.anInt1118 > 0 ? 1024 : 2048) + (i_376_ << 2) + ((class63.anInt1122 - -256) << 22))); - aShortArray5508[i_373_] = method669(class63.anInt1122, l, i_373_, 0, class63.anInt1118, -106, f, (class124.aShortArray1863[i_374_]), f_379_, class124, class63.anInt1119); - aShortArray5495[i_373_] = method669(class63.anInt1122, l + (long) i_384_, i_373_, 0, class63.anInt1118, -57, f_380_, (class124.aShortArray1835[i_374_]), f_381_, class124, class63.anInt1119); - aShortArray5512[i_373_] = method669(class63.anInt1122, l + (long) i_385_, i_373_, 0, class63.anInt1118, -109, f_382_, (class124.aShortArray1855[i_374_]), f_383_, class124, class63.anInt1119); - } - if (class124.aByteArray1834 != null) aByteArray5515[i_373_] = class124.aByteArray1834[i_374_]; - if (class124.aShortArray1856 != null) aShortArray5432[i_373_] = class124.aShortArray1856[i_374_]; - aShortArray5486[i_373_] = class124.aShortArray1862[i_374_]; - aShortArray5423[i_373_] = i_378_; - } - if (anInt5516 > 0) { - int i_450_ = 1; - short i_451_ = aShortArray5423[0]; - for (int i_452_ = 0; anInt5516 > i_452_; i_452_++) { - short i_453_ = aShortArray5423[i_452_]; - if (i_453_ != i_451_) { - i_450_++; - i_451_ = i_453_; - } - } - anIntArray5415 = new int[i_450_]; - anIntArray5404 = new int[i_450_ - -1]; - anIntArray5473 = new int[i_450_]; - anIntArray5404[0] = 0; - int i_454_ = anInt5475; - i_450_ = 0; - int i_455_ = 0; - i_451_ = aShortArray5423[0]; - for (int i_456_ = 0; i_456_ < anInt5516; i_456_++) { - short i_457_ = aShortArray5423[i_456_]; - if (i_457_ != i_451_) { - anIntArray5415[i_450_] = i_454_; - anIntArray5473[i_450_] = 1 + -i_454_ + i_455_; - anIntArray5404[++i_450_] = i_456_; - i_451_ = i_457_; - i_455_ = 0; - i_454_ = anInt5475; - } - int i_458_ = aShortArray5508[i_456_]; - if (i_458_ > i_455_) i_455_ = i_458_; - if (i_454_ > i_458_) i_454_ = i_458_; - i_458_ = aShortArray5495[i_456_]; - if (i_458_ > i_455_) i_455_ = i_458_; - if (i_458_ < i_454_) i_454_ = i_458_; - i_458_ = aShortArray5512[i_456_]; - if (i_455_ < i_458_) i_455_ = i_458_; - if (i_454_ > i_458_) i_454_ = i_458_; - } - anIntArray5415[i_450_] = i_454_; - anIntArray5473[i_450_] = i_455_ + -i_454_ + 1; - anIntArray5404[++i_450_] = anInt5516; - } - Class348_Sub40_Sub37.aLongArray9465 = null; - aShortArray5470 = Class331.method2639((byte) -111, aShortArray5470, anInt5475); - aShortArray5416 = Class331.method2639((byte) 26, aShortArray5416, anInt5475); - aShortArray5493 = Class331.method2639((byte) 68, aShortArray5493, anInt5475); - aShortArray5438 = Class331.method2639((byte) -125, aShortArray5438, anInt5475); - aShortArray5436 = Class331.method2639((byte) 70, aShortArray5436, anInt5475); - aByteArray5499 = OutputStream_Sub2.method135((byte) 111, aByteArray5499, anInt5475); - aFloatArray5476 = Class348_Sub42_Sub16.method3258(0, anInt5475, aFloatArray5476); - aFloatArray5506 = Class348_Sub42_Sub16.method3258(0, anInt5475, aFloatArray5506); - if (class124.anIntArray1868 != null && Class160.method1257(-58, anInt5472, i)) anIntArrayArray5413 = class124.method1100(false, -20); - if (class124.aClass162Array1832 != null && Class77.method780(anInt5472, 0, i)) anIntArrayArray5412 = class124.method1093((byte) -120); - if (class124.anIntArray1824 == null || !Class135_Sub2.method1158(anInt5472, -1, i)) break; - int i_459_ = 0; - int[] is_460_ = new int[256]; - for (int i_461_ = 0; i_461_ < anInt5478; i_461_++) { - int i_462_ = class124.anIntArray1824[is[i_461_]]; - if (i_462_ >= 0) { - is_460_[i_462_]++; - if (i_462_ > i_459_) i_459_ = i_462_; - } - } - anIntArrayArray5492 = new int[1 + i_459_][]; - for (int i_463_ = 0; i_459_ >= i_463_; i_463_++) { - anIntArrayArray5492[i_463_] = new int[is_460_[i_463_]]; - is_460_[i_463_] = 0; - } - for (int i_464_ = 0; anInt5478 > i_464_; i_464_++) { - int i_465_ = class124.anIntArray1824[is[i_464_]]; - if (i_465_ >= 0) anIntArrayArray5492[i_465_][is_460_[i_465_]++] = i_464_; - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("nca.(" + (var_ha_Sub3 != null ? "{...}" : "null") + ',' + (class124 != null ? "{...}" : "null") + ',' + i + ',' + i_334_ + ',' + i_335_ + ',' + i_336_ + ')')); - } - break; - } while (false); - } - - private final boolean method671(int i, int i_466_, int i_467_, int i_468_, int i_469_, int i_470_, int i_471_, int i_472_, int i_473_) { - anInt5518++; - if (i_469_ > i_470_ && i_470_ < i_473_ && i_468_ > i_470_) return false; - if (i_469_ < i_470_ && i_470_ > i_473_ && i_470_ > i_468_) return false; - if (i_471_ != 0) return true; - if (i < i_472_ && i_467_ > i && i < i_466_) return false; - return i <= i_472_ || i <= i_467_ || i_466_ >= i; - } - - final void method612() { - anInt5447++; - if (anInt5475 > 0 && anInt5516 > 0) { - method660(-98); - method666(-20); - method663(262144); - } - } - - private final void method672(int i) { - if (i != 416776206) wa(); - anInt5441++; - if (anInt5516 != 0) { - if (method660(i ^ ~0x18d78060) && method666(-128)) { - aHa_Sub3_5419.method3925(i + -416776294, (aClass290_5520.anInterface5_Impl1_3711), 0); - aHa_Sub3_5419.method3925(i ^ 0x18d78057, (aClass290_5482.anInterface5_Impl1_3711), 1); - aHa_Sub3_5419.method3925(i ^ ~0x18d78079, (aClass290_5460.anInterface5_Impl1_3711), 2); - boolean bool; - if ((anInt5472 & 0x37) == 0) { - bool = false; - aHa_Sub3_5419.method3866(false, true); - aHa_Sub3_5419.method3862(0, (aHa_Sub3_5419.aClass130_8191)); - } else { - bool = true; - aHa_Sub3_5419.method3866(true, true); - aHa_Sub3_5419.method3925(i ^ ~0x18d7806c, (aClass290_5424.anInterface5_Impl1_3711), 3); - aHa_Sub3_5419.method3862(0, (aHa_Sub3_5419.aClass130_8208)); - } - for (int i_474_ = 0; anIntArray5415.length > i_474_; i_474_++) { - int i_475_ = anIntArray5404[i_474_]; - int i_476_ = anIntArray5404[1 + i_474_]; - int i_477_ = aShortArray5423[i_475_] & 0xffff; - if (i_477_ == 65535) i_477_ = -1; - aHa_Sub3_5419.method3814(true, bool, i_477_, (byte) 102); - aHa_Sub3_5419.method3938(Class247.aClass21_3181, -i_475_ + i_476_, (aClass192_5485.anInterface5_Impl2_2572), anIntArray5415[i_474_], 3 * i_475_, anIntArray5473[i_474_], 54); - } - } - method663(262144); - } - } - - final boolean method623(int i, int i_478_, Class101 class101, boolean bool, int i_479_, int i_480_) { - try { - anInt5517++; - return method662(i, i_479_, i_480_, 126, i_478_, bool, class101); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("nca.OA(" + i + ',' + i_478_ + ',' + (class101 != null ? "{...}" : "null") + ',' + bool + ',' + i_479_ + ',' + i_480_ + ')')); - } - } - - private final void method673(byte i) { - int i_481_ = 1 % ((25 - i) / 40); - if ((anInt5472 & 0x37) == 0) { - if (aClass290_5482 != null) aClass290_5482.aBoolean3714 = false; - } else if (aClass290_5424 != null) aClass290_5424.aBoolean3714 = false; - anInt5405++; - } - - private final void method674(int i) { - if (aClass192_5485 != null) aClass192_5485.aBoolean2577 = false; - int i_482_ = 28 % ((i - 18) / 43); - anInt5505++; - } - - final void method613(Class64 class64, int i, int i_483_, int i_484_, boolean bool) { - try { - anInt5417++; - Class64_Sub2 class64_sub2_485_ = (Class64_Sub2) class64; - if (anInt5478 != 0 && class64_sub2_485_.anInt5478 != 0) { - int i_486_ = class64_sub2_485_.anInt5433; - int[] is = class64_sub2_485_.anIntArray5511; - int[] is_487_ = class64_sub2_485_.anIntArray5519; - int[] is_488_ = class64_sub2_485_.anIntArray5429; - short[] is_489_ = class64_sub2_485_.aShortArray5493; - short[] is_490_ = class64_sub2_485_.aShortArray5438; - short[] is_491_ = class64_sub2_485_.aShortArray5436; - byte[] is_492_ = class64_sub2_485_.aByteArray5499; - short[] is_493_; - short[] is_494_; - byte[] is_495_; - short[] is_496_; - if (aClass151_5503 == null) { - is_493_ = null; - is_494_ = null; - is_495_ = null; - is_496_ = null; - } else { - is_495_ = aClass151_5503.aByteArray2069; - is_493_ = aClass151_5503.aShortArray2060; - is_494_ = aClass151_5503.aShortArray2067; - is_496_ = aClass151_5503.aShortArray2058; - } - short[] is_497_; - byte[] is_498_; - short[] is_499_; - short[] is_500_; - if (class64_sub2_485_.aClass151_5503 == null) { - is_497_ = null; - is_498_ = null; - is_499_ = null; - is_500_ = null; - } else { - is_499_ = (class64_sub2_485_.aClass151_5503.aShortArray2058); - is_498_ = (class64_sub2_485_.aClass151_5503.aByteArray2069); - is_497_ = (class64_sub2_485_.aClass151_5503.aShortArray2060); - is_500_ = (class64_sub2_485_.aClass151_5503.aShortArray2067); - } - int[] is_501_ = class64_sub2_485_.anIntArray5455; - short[] is_502_ = class64_sub2_485_.aShortArray5439; - if (!class64_sub2_485_.aBoolean5477) class64_sub2_485_.method675(0); - int i_503_ = class64_sub2_485_.anInt5461; - int i_504_ = class64_sub2_485_.anInt5509; - int i_505_ = class64_sub2_485_.anInt5507; - int i_506_ = class64_sub2_485_.anInt5467; - int i_507_ = class64_sub2_485_.anInt5418; - int i_508_ = class64_sub2_485_.anInt5443; - for (int i_509_ = 0; anInt5433 > i_509_; i_509_++) { - int i_510_ = anIntArray5519[i_509_] - i_483_; - if (i_503_ <= i_510_ && i_510_ <= i_504_) { - int i_511_ = -i + anIntArray5511[i_509_]; - if (i_511_ >= i_505_ && i_511_ <= i_506_) { - int i_512_ = anIntArray5429[i_509_] - i_484_; - if (i_507_ <= i_512_ && i_512_ <= i_508_) { - int i_513_ = -1; - int i_514_ = anIntArray5455[i_509_]; - int i_515_ = anIntArray5455[1 + i_509_]; - for (int i_516_ = i_514_; i_515_ > i_516_; i_516_++) { - i_513_ = -1 + aShortArray5439[i_516_]; - if (i_513_ == -1 || aByteArray5499[i_513_] != 0) break; - } - if (i_513_ != -1) { - for (int i_517_ = 0; i_486_ > i_517_; i_517_++) { - if ((is[i_517_] == i_511_) && (is_488_[i_517_] == i_512_) && (i_510_ == is_487_[i_517_])) { - int i_518_ = -1; - i_514_ = is_501_[i_517_]; - i_515_ = is_501_[1 + i_517_]; - for (int i_519_ = i_514_; i_519_ < i_515_; i_519_++) { - i_518_ = is_502_[i_519_] + -1; - if (i_518_ == -1 || is_492_[i_518_] != 0) break; - } - if (i_518_ != -1) { - if (is_494_ == null) { - aClass151_5503 = new Class151(); - is_494_ = aClass151_5503.aShortArray2067 = (Class50_Sub3.method470(aShortArray5493, (byte) -123)); - is_493_ = aClass151_5503.aShortArray2060 = (Class50_Sub3.method470(aShortArray5438, (byte) -126)); - is_496_ = aClass151_5503.aShortArray2058 = (Class50_Sub3.method470(aShortArray5436, (byte) -111)); - is_495_ = aClass151_5503.aByteArray2069 = (Class309.method2309(-106, aByteArray5499)); - } - if (is_500_ == null) { - Class151 class151 = (class64_sub2_485_.aClass151_5503 = new Class151()); - is_500_ = class151.aShortArray2067 = (Class50_Sub3.method470(is_489_, (byte) -120)); - is_497_ = class151.aShortArray2060 = (Class50_Sub3.method470(is_490_, (byte) -104)); - is_499_ = class151.aShortArray2058 = (Class50_Sub3.method470(is_491_, (byte) -118)); - is_498_ = class151.aByteArray2069 = (Class309.method2309(-114, is_492_)); - } - short i_520_ = aShortArray5493[i_513_]; - short i_521_ = aShortArray5438[i_513_]; - short i_522_ = aShortArray5436[i_513_]; - i_514_ = is_501_[i_517_]; - i_515_ = is_501_[i_517_ + 1]; - byte i_523_ = aByteArray5499[i_513_]; - for (int i_524_ = i_514_; (i_515_ > i_524_); i_524_++) { - int i_525_ = -1 + is_502_[i_524_]; - if (i_525_ == -1) break; - if (is_498_[i_525_] != 0) { - is_500_[i_525_] += i_520_; - is_497_[i_525_] += i_521_; - is_499_[i_525_] += i_522_; - is_498_[i_525_] += i_523_; - } - } - i_514_ = anIntArray5455[i_509_]; - i_522_ = is_491_[i_518_]; - i_523_ = is_492_[i_518_]; - i_520_ = is_489_[i_518_]; - i_521_ = is_490_[i_518_]; - i_515_ = (anIntArray5455[1 + i_509_]); - for (int i_526_ = i_514_; i_515_ > i_526_; i_526_++) { - int i_527_ = ((aShortArray5439[i_526_]) - 1); - if (i_527_ == -1) break; - if (is_495_[i_527_] != 0) { - is_494_[i_527_] += i_520_; - is_493_[i_527_] += i_521_; - is_496_[i_527_] += i_522_; - is_495_[i_527_] += i_523_; - } - } - class64_sub2_485_.method673((byte) 80); - method673((byte) -111); - } - } - } - } - } - } - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("nca.PA(" + (class64 != null ? "{...}" : "null") + ',' + i + ',' + i_483_ + ',' + i_484_ + ',' + bool + ')')); - } - } - - final void ia(short i, short i_528_) { - anInt5459++; - for (int i_529_ = 0; anInt5478 > i_529_; i_529_++) { - if (i == aShortArray5486[i_529_]) aShortArray5486[i_529_] = i_528_; - } - if (aClass353Array5524 != null) { - for (int i_530_ = 0; i_530_ < anInt5406; i_530_++) { - Class353 class353 = aClass353Array5524[i_530_]; - Class334 class334 = aClass334Array5442[i_530_]; - class334.anInt4156 = ((Class10.anIntArray179[0xffff & aShortArray5486[(class353.anInt4342)]]) & 0xffffff | class334.anInt4156 & ~0xffffff); - } - } - method670(-119); - } - - final Class64 method614(byte i, int i_531_, boolean bool) { - anInt5426++; - Class64_Sub2 class64_sub2_532_; - Class64_Sub2 class64_sub2_533_; - if (i == 1) { - class64_sub2_532_ = aHa_Sub3_5419.aClass64_Sub2_8198; - class64_sub2_533_ = aHa_Sub3_5419.aClass64_Sub2_8206; - } else if (i == 2) { - class64_sub2_532_ = aHa_Sub3_5419.aClass64_Sub2_8194; - class64_sub2_533_ = aHa_Sub3_5419.aClass64_Sub2_8192; - } else if (i == 3) { - class64_sub2_532_ = aHa_Sub3_5419.aClass64_Sub2_8187; - class64_sub2_533_ = aHa_Sub3_5419.aClass64_Sub2_8200; - } else if (i == 4) { - class64_sub2_532_ = aHa_Sub3_5419.aClass64_Sub2_8199; - class64_sub2_533_ = aHa_Sub3_5419.aClass64_Sub2_8188; - } else if (i == 5) { - class64_sub2_533_ = aHa_Sub3_5419.aClass64_Sub2_8207; - class64_sub2_532_ = aHa_Sub3_5419.aClass64_Sub2_8189; - } else class64_sub2_533_ = class64_sub2_532_ = new Class64_Sub2(aHa_Sub3_5419, 0, 0, true, false); - return method668(i != 0, class64_sub2_532_, class64_sub2_533_, i_531_, bool, 26794); - } - - final void p(int i, int i_534_, s var_s, s var_s_535_, int i_536_, int i_537_, int i_538_) { - try { - anInt5501++; - if (!aBoolean5477) method675(0); - int i_539_ = i_536_ - -anInt5507; - int i_540_ = anInt5467 + i_536_; - int i_541_ = anInt5418 + i_538_; - int i_542_ = i_538_ - -anInt5443; - if ((i != 1 && i != 2 && i != 3 && i != 5) || (i_539_ >= 0 && var_s.anInt4587 > (i_540_ + var_s.anInt4592 >> var_s.anInt4588) && i_541_ >= 0 && var_s.anInt4590 > (var_s.anInt4592 + i_542_ >> var_s.anInt4588))) { - if (i != 4 && i != 5) { - i_539_ >>= var_s.anInt4588; - i_540_ = (var_s.anInt4592 + -1 + i_540_ >> var_s.anInt4588); - i_541_ >>= var_s.anInt4588; - i_542_ = (var_s.anInt4592 - (1 - i_542_) >> var_s.anInt4588); - if ((var_s.method3982((byte) -86, i_541_, i_539_) == i_537_) && i_537_ == var_s.method3982((byte) -86, i_541_, i_540_) && (var_s.method3982((byte) -86, i_542_, i_539_) == i_537_) && i_537_ == var_s.method3982((byte) -86, i_542_, i_540_)) return; - } else if (var_s_535_ == null || (i_539_ < 0 || (var_s_535_.anInt4587 <= (var_s_535_.anInt4592 + i_540_ >> var_s_535_.anInt4588)) || i_541_ < 0 || (var_s_535_.anInt4590 <= (i_542_ - -var_s_535_.anInt4592 >> var_s_535_.anInt4588)))) return; - if (i == 1) { - for (int i_559_ = 0; anInt5433 > i_559_; i_559_++) - anIntArray5519[i_559_] = (anIntArray5519[i_559_] + (var_s.method3986((anIntArray5511[i_559_] + i_536_), (anIntArray5429[i_559_] + i_538_), (byte) -93) - i_537_)); - } else if (i == 2) { - int i_543_ = anInt5461; - if (i_543_ == 0) return; - for (int i_544_ = 0; anInt5433 > i_544_; i_544_++) { - int i_545_ = ((anIntArray5519[i_544_] << 16) / i_543_); - if (i_545_ < i_534_) anIntArray5519[i_544_] = (anIntArray5519[i_544_] - -((i_534_ + -i_545_) * (-i_537_ + (var_s.method3986((i_536_ + anIntArray5511[i_544_]), (anIntArray5429[i_544_] - -i_538_), (byte) -92))) / i_534_)); - } - } else if (i == 3) { - int i_555_ = 4 * (i_534_ & 0xff); - int i_556_ = (i_534_ >> 8 & 0xff) * 4; - int i_557_ = 0x3fc0 & i_534_ >> 16 << 6; - int i_558_ = 0x3fc0 & i_534_ >> 24 << 6; - if ((i_536_ - (i_555_ >> 1) < 0) || ((var_s.anInt4592 + (i_555_ >> 1) + i_536_) >= var_s.anInt4587 << var_s.anInt4588) || -(i_556_ >> 1) + i_538_ < 0 || ((var_s.anInt4592 + ((i_556_ >> 1) + i_538_)) >= var_s.anInt4590 << var_s.anInt4588)) - return; - this.method626(i_555_, 10947, i_558_, i_536_, i_556_, i_537_, i_557_, var_s, i_538_); - } else if (i == 4) { - int i_553_ = -anInt5461 + anInt5509; - for (int i_554_ = 0; (i_554_ < anInt5433); i_554_++) - anIntArray5519[i_554_] = (i_553_ + anIntArray5519[i_554_] - (-(var_s_535_.method3986(anIntArray5511[i_554_] + i_536_, anIntArray5429[i_554_] - -i_538_, (byte) 92)) + i_537_)); - } else if (i == 5) { - int i_546_ = -anInt5461 + anInt5509; - for (int i_547_ = 0; anInt5433 > i_547_; i_547_++) { - int i_548_ = i_536_ + anIntArray5511[i_547_]; - int i_549_ = i_538_ + anIntArray5429[i_547_]; - int i_550_ = var_s.method3986(i_548_, i_549_, (byte) 57); - int i_551_ = var_s_535_.method3986(i_548_, i_549_, (byte) -111); - int i_552_ = i_550_ - (i_551_ - -i_534_); - anIntArray5519[i_547_] = ((i_552_ * ((anIntArray5519[i_547_] << 8) / i_546_) >> 8) + (i_550_ + -i_537_)); - } - } - method667(0); - aBoolean5477 = false; - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("nca.p(" + i + ',' + i_534_ + ',' + (var_s != null ? "{...}" : "null") + ',' + (var_s_535_ != null ? "{...}" : "null") + ',' + i_536_ + ',' + i_537_ + ',' + i_538_ + ')')); - } - } - - final boolean F() { - anInt5446++; - return aBoolean5428; - } - - final void method621() { - anInt5451++; - } - - final void method624(int i, int i_560_, int i_561_, int i_562_) { - anInt5522++; - for (int i_563_ = 0; anInt5478 > i_563_; i_563_++) { - int i_564_ = 0xffff & aShortArray5486[i_563_]; - int i_565_ = 0x3f & i_564_ >> 10; - int i_566_ = (i_564_ & 0x3f5) >> 7; - if (i != -1) i_565_ = (i_562_ * (i - i_565_) >> 7) + i_565_; - int i_567_ = i_564_ & 0x7f; - if (i_560_ != -1) i_566_ += (-i_566_ + i_560_) * i_562_ >> 7; - if (i_561_ != -1) i_567_ = ((-i_567_ + i_561_) * i_562_ >> 7) + i_567_; - aShortArray5486[i_563_] = (short) (Class273.method2057(Class273.method2057(i_565_ << 10, i_566_ << 7), i_567_)); - } - if (aClass353Array5524 != null) { - for (int i_568_ = 0; anInt5406 > i_568_; i_568_++) { - Class353 class353 = aClass353Array5524[i_568_]; - Class334 class334 = aClass334Array5442[i_568_]; - class334.anInt4156 = (class334.anInt4156 & ~0xffffff | (Class10.anIntArray179[(aShortArray5486[class353.anInt4342] & 0xffff)]) & 0xffffff); - } - } - method670(-107); - } - - final void v() { - anInt5425++; - for (int i = 0; i < anInt5433; i++) - anIntArray5429[i] = -anIntArray5429[i]; - for (int i = 0; anInt5475 > i; i++) - aShortArray5436[i] = (short) -aShortArray5436[i]; - for (int i = 0; anInt5478 > i; i++) { - short i_569_ = aShortArray5508[i]; - aShortArray5508[i] = aShortArray5512[i]; - aShortArray5512[i] = i_569_; - } - method667(0); - method673((byte) -79); - method674(-55); - aBoolean5477 = false; - } - - final void aa(short i, short i_570_) { - anInt5403++; - d var_d = aHa_Sub3_5419.aD4579; - for (int i_571_ = 0; anInt5478 > i_571_; i_571_++) { - if (i == aShortArray5423[i_571_]) aShortArray5423[i_571_] = i_570_; - } - byte i_572_ = 0; - byte i_573_ = 0; - if (i != -1) { - Class12 class12 = var_d.method3(i & 0xffff, -6662); - i_573_ = class12.aByte216; - i_572_ = class12.aByte201; - } - byte i_574_ = 0; - byte i_575_ = 0; - if (i_570_ != -1) { - Class12 class12 = var_d.method3(0xffff & i_570_, -6662); - i_575_ = class12.aByte216; - if (class12.aByte198 != 0 || class12.aByte211 != 0) aBoolean5502 = true; - i_574_ = class12.aByte201; - } - if (i_575_ != i_573_ | i_572_ != i_574_) { - if (aClass353Array5524 != null) { - for (int i_576_ = 0; i_576_ < anInt5406; i_576_++) { - Class353 class353 = aClass353Array5524[i_576_]; - Class334 class334 = aClass334Array5442[i_576_]; - class334.anInt4156 = (class334.anInt4156 & ~0xffffff | ((Class10.anIntArray179[(aShortArray5486[class353.anInt4342]) & 0xffff]) & 0xffffff)); - } - } - method670(-109); - } - } - - final void C(int i) { - anInt5448++; - aShort5452 = (short) i; - method670(-89); - } - - private final void method675(int i) { - anInt5514++; - int i_577_ = 32767; - int i_578_ = 32767; - int i_579_ = 32767; - int i_580_ = -32768; - int i_581_ = -32768; - int i_582_ = -32768; - int i_583_ = 0; - int i_584_ = i; - for (int i_585_ = 0; i_585_ < anInt5433; i_585_++) { - int i_586_ = anIntArray5511[i_585_]; - int i_587_ = anIntArray5519[i_585_]; - int i_588_ = anIntArray5429[i_585_]; - if (i_586_ > i_580_) i_580_ = i_586_; - if (i_578_ > i_587_) i_578_ = i_587_; - if (i_587_ > i_581_) i_581_ = i_587_; - if (i_586_ < i_577_) i_577_ = i_586_; - if (i_579_ > i_588_) i_579_ = i_588_; - if (i_588_ > i_582_) i_582_ = i_588_; - int i_589_ = i_588_ * i_588_ + i_586_ * i_586_; - if (i_583_ < i_589_) i_583_ = i_589_; - i_589_ = i_587_ * i_587_ + i_586_ * i_586_ + i_588_ * i_588_; - if (i_589_ > i_584_) i_584_ = i_589_; - } - anInt5461 = i_578_; - anInt5418 = i_579_; - anInt5507 = i_577_; - anInt5467 = i_580_; - anInt5509 = i_581_; - anInt5443 = i_582_; - anInt5510 = (int) (Math.sqrt(i_583_) + 0.99); - anInt5401 = (int) (Math.sqrt(i_584_) + 0.99); - aBoolean5477 = true; - } - - public static void method676(int i) { - aString5420 = null; - if (i <= 11) method661((byte) -43); - } - - final void I(int i, int[] is, int i_590_, int i_591_, int i_592_, boolean bool, int i_593_, int[] is_594_) { - try { - anInt5521++; - int i_595_ = is.length; - if (i == 0) { - i_590_ <<= 4; - i_591_ <<= 4; - i_592_ <<= 4; - Class26.anInt386 = 0; - int i_596_ = 0; - Class346.anInt4274 = 0; - Class136.anInt4795 = 0; - for (int i_597_ = 0; i_595_ > i_597_; i_597_++) { - int i_598_ = is[i_597_]; - if (i_598_ < anIntArrayArray5413.length) { - int[] is_599_ = anIntArrayArray5413[i_598_]; - for (int i_600_ = 0; is_599_.length > i_600_; i_600_++) { - int i_601_ = is_599_[i_600_]; - if (aShortArray5494 == null || (aShortArray5494[i_601_] & i_593_) != 0) { - Class136.anInt4795 += anIntArray5511[i_601_]; - Class26.anInt386 += anIntArray5519[i_601_]; - Class346.anInt4274 += anIntArray5429[i_601_]; - i_596_++; - } - } - } - } - if (i_596_ > 0) { - Class346.anInt4274 = Class346.anInt4274 / i_596_ - -i_592_; - Class64_Sub3.aBoolean5609 = true; - Class26.anInt386 = Class26.anInt386 / i_596_ + i_591_; - Class136.anInt4795 = i_590_ + Class136.anInt4795 / i_596_; - } else { - Class346.anInt4274 = i_592_; - Class136.anInt4795 = i_590_; - Class26.anInt386 = i_591_; - } - } else if (i == 1) { - if (is_594_ != null) { - int i_602_ = (is_594_[0] * i_590_ - (-(is_594_[1] * i_591_) - (i_592_ * is_594_[2] + 8192)) >> 14); - int i_603_ = ((i_592_ * is_594_[5] + is_594_[3] * i_590_ - -(is_594_[4] * i_591_) - -8192) >> 14); - int i_604_ = ((8192 + is_594_[8] * i_592_ + is_594_[6] * i_590_ + i_591_ * is_594_[7]) >> 14); - i_592_ = i_604_; - i_591_ = i_603_; - i_590_ = i_602_; - } - i_590_ <<= 4; - i_592_ <<= 4; - i_591_ <<= 4; - for (int i_605_ = 0; i_605_ < i_595_; i_605_++) { - int i_606_ = is[i_605_]; - if (anIntArrayArray5413.length > i_606_) { - int[] is_607_ = anIntArrayArray5413[i_606_]; - for (int i_608_ = 0; is_607_.length > i_608_; i_608_++) { - int i_609_ = is_607_[i_608_]; - if (aShortArray5494 == null || (aShortArray5494[i_609_] & i_593_) != 0) { - anIntArray5511[i_609_] += i_590_; - anIntArray5519[i_609_] += i_591_; - anIntArray5429[i_609_] += i_592_; - } - } - } - } - } else if (i == 2) { - if (is_594_ == null) { - for (int i_658_ = 0; i_595_ > i_658_; i_658_++) { - int i_659_ = is[i_658_]; - if (i_659_ < anIntArrayArray5413.length) { - int[] is_660_ = anIntArrayArray5413[i_659_]; - for (int i_661_ = 0; is_660_.length > i_661_; i_661_++) { - int i_662_ = is_660_[i_661_]; - if (aShortArray5494 == null || ((aShortArray5494[i_662_] & i_593_) != 0)) { - anIntArray5511[i_662_] -= Class136.anInt4795; - anIntArray5519[i_662_] -= Class26.anInt386; - anIntArray5429[i_662_] -= Class346.anInt4274; - if (i_592_ != 0) { - int i_663_ = Class70.anIntArray1207[i_592_]; - int i_664_ = Class70.anIntArray1204[i_592_]; - int i_665_ = ((i_663_ * anIntArray5519[i_662_] + ((i_664_ * anIntArray5511[i_662_]) - -16383)) >> 14); - anIntArray5519[i_662_] = (-(anIntArray5511[i_662_] * i_663_) + (anIntArray5519[i_662_] * i_664_) - -16383) >> 14; - anIntArray5511[i_662_] = i_665_; - } - if (i_590_ != 0) { - int i_666_ = Class70.anIntArray1207[i_590_]; - int i_667_ = Class70.anIntArray1204[i_590_]; - int i_668_ = ((16383 + ((i_667_ * anIntArray5519[i_662_]) - i_666_ * (anIntArray5429[i_662_]))) >> 14); - anIntArray5429[i_662_] = ((16383 + (i_667_ * anIntArray5429[i_662_]) + (i_666_ * anIntArray5519[i_662_])) >> 14); - anIntArray5519[i_662_] = i_668_; - } - if (i_591_ != 0) { - int i_669_ = Class70.anIntArray1207[i_591_]; - int i_670_ = Class70.anIntArray1204[i_591_]; - int i_671_ = ((16383 + (anIntArray5429[i_662_] * i_669_) + (i_670_ * anIntArray5511[i_662_])) >> 14); - anIntArray5429[i_662_] = (-(i_669_ * anIntArray5511[i_662_]) + ((i_670_ * anIntArray5429[i_662_]) - -16383)) >> 14; - anIntArray5511[i_662_] = i_671_; - } - anIntArray5511[i_662_] += Class136.anInt4795; - anIntArray5519[i_662_] += Class26.anInt386; - anIntArray5429[i_662_] += Class346.anInt4274; - } - } - } - } - if (bool) { - for (int i_672_ = 0; i_672_ < i_595_; i_672_++) { - int i_673_ = is[i_672_]; - if (i_673_ < anIntArrayArray5413.length) { - int[] is_674_ = anIntArrayArray5413[i_673_]; - for (int i_675_ = 0; i_675_ < is_674_.length; i_675_++) { - int i_676_ = is_674_[i_675_]; - if (aShortArray5494 == null || ((aShortArray5494[i_676_] & i_593_) != 0)) { - int i_677_ = anIntArray5455[i_676_]; - int i_678_ = anIntArray5455[i_676_ - -1]; - for (int i_679_ = i_677_; (i_679_ < i_678_); i_679_++) { - int i_680_ = -1 + aShortArray5439[i_679_]; - if (i_680_ == -1) break; - if (i_592_ != 0) { - int i_681_ = (Class70.anIntArray1207[i_592_]); - int i_682_ = (Class70.anIntArray1204[i_592_]); - int i_683_ = (((i_682_ * (aShortArray5493[i_680_])) + (aShortArray5438[i_680_]) * i_681_ - -16383) >> 14); - aShortArray5438[i_680_] = (short) ((16383 + -((aShortArray5493[i_680_]) * i_681_) + (i_682_ * (aShortArray5438[i_680_]))) >> 14); - aShortArray5493[i_680_] = (short) i_683_; - } - if (i_590_ != 0) { - int i_684_ = (Class70.anIntArray1207[i_590_]); - int i_685_ = (Class70.anIntArray1204[i_590_]); - int i_686_ = ((16383 + ((aShortArray5438[i_680_]) * i_685_ - ((aShortArray5436[i_680_]) * i_684_))) >> 14); - aShortArray5436[i_680_] = (short) (((i_684_ * (aShortArray5438[i_680_])) + (i_685_ * (aShortArray5436[i_680_])) - -16383) >> 14); - aShortArray5438[i_680_] = (short) i_686_; - } - if (i_591_ != 0) { - int i_687_ = (Class70.anIntArray1207[i_591_]); - int i_688_ = (Class70.anIntArray1204[i_591_]); - int i_689_ = ((16383 + ((aShortArray5436[i_680_]) * i_687_ + (i_688_ * (aShortArray5493[i_680_])))) >> 14); - aShortArray5436[i_680_] = (short) (((i_688_ * (aShortArray5436[i_680_])) + (-(i_687_ * (aShortArray5493[i_680_])) - -16383)) >> 14); - aShortArray5493[i_680_] = (short) i_689_; - } - } - } - } - } - } - method673((byte) -82); - } - } else { - int i_610_ = is_594_[9] << 4; - int i_611_ = is_594_[10] << 4; - int i_612_ = is_594_[11] << 4; - int i_613_ = is_594_[12] << 4; - int i_614_ = is_594_[13] << 4; - int i_615_ = is_594_[14] << 4; - if (Class64_Sub3.aBoolean5609) { - int i_616_ = ((is_594_[6] * Class346.anInt4274 + (Class136.anInt4795 * is_594_[0] - -(Class26.anInt386 * is_594_[3])) + 8192) >> 14); - int i_617_ = ((is_594_[7] * Class346.anInt4274 + (is_594_[1] * Class136.anInt4795 - -(is_594_[4] * Class26.anInt386) + 8192)) >> 14); - i_616_ += i_613_; - int i_618_ = ((8192 + Class346.anInt4274 * is_594_[8] + Class136.anInt4795 * is_594_[2] + Class26.anInt386 * is_594_[5]) >> 14); - i_617_ += i_614_; - i_618_ += i_615_; - Class136.anInt4795 = i_616_; - Class26.anInt386 = i_617_; - Class64_Sub3.aBoolean5609 = false; - Class346.anInt4274 = i_618_; - } - int[] is_619_ = new int[9]; - int i_620_ = Class70.anIntArray1204[i_590_]; - int i_621_ = Class70.anIntArray1207[i_590_]; - int i_622_ = Class70.anIntArray1204[i_591_]; - int i_623_ = Class70.anIntArray1207[i_591_]; - int i_624_ = Class70.anIntArray1204[i_592_]; - int i_625_ = Class70.anIntArray1207[i_592_]; - int i_626_ = i_621_ * i_624_ + 8192 >> 14; - int i_627_ = 8192 + i_621_ * i_625_ >> 14; - is_619_[5] = -i_621_; - is_619_[4] = 8192 + i_620_ * i_624_ >> 14; - is_619_[1] = (8192 + -i_622_ * i_625_ + i_623_ * i_626_ >> 14); - is_619_[6] = (8192 + -i_623_ * i_624_ + i_627_ * i_622_ >> 14); - is_619_[7] = (i_625_ * i_623_ - (-(i_622_ * i_626_) - 8192) >> 14); - is_619_[0] = (8192 + (i_627_ * i_623_ + i_624_ * i_622_) >> 14); - is_619_[2] = i_620_ * i_623_ + 8192 >> 14; - is_619_[8] = i_622_ * i_620_ + 8192 >> 14; - is_619_[3] = 8192 + i_625_ * i_620_ >> 14; - int i_628_ = ((-Class346.anInt4274 * is_619_[2] + is_619_[1] * -Class26.anInt386 + (is_619_[0] * -Class136.anInt4795 + 8192)) >> 14); - int i_629_ = ((8192 + -Class346.anInt4274 * is_619_[5] + (-Class136.anInt4795 * is_619_[3] - -(is_619_[4] * -Class26.anInt386))) >> 14); - int i_630_ = ((8192 + -Class346.anInt4274 * is_619_[8] + (-Class136.anInt4795 * is_619_[6] + -Class26.anInt386 * is_619_[7])) >> 14); - int i_631_ = Class136.anInt4795 + i_628_; - int i_632_ = i_629_ + Class26.anInt386; - int i_633_ = i_630_ - -Class346.anInt4274; - int[] is_634_ = new int[9]; - for (int i_635_ = 0; i_635_ < 3; i_635_++) { - for (int i_636_ = 0; i_636_ < 3; i_636_++) { - int i_637_ = 0; - for (int i_638_ = 0; i_638_ < 3; i_638_++) - i_637_ += (is_594_[i_636_ * 3 - -i_638_] * is_619_[3 * i_635_ - -i_638_]); - is_634_[3 * i_635_ - -i_636_] = 8192 + i_637_ >> 14; - } - } - int i_639_ = ((is_619_[2] * i_615_ + is_619_[0] * i_613_ - (-(i_614_ * is_619_[1]) + -8192)) >> 14); - int i_640_ = ((8192 + is_619_[4] * i_614_ + (is_619_[3] * i_613_ - -(i_615_ * is_619_[5]))) >> 14); - i_639_ += i_631_; - int i_641_ = (i_615_ * is_619_[8] + (is_619_[6] * i_613_ + (is_619_[7] * i_614_ + 8192)) >> 14); - i_640_ += i_632_; - i_641_ += i_633_; - int[] is_642_ = new int[9]; - for (int i_643_ = 0; i_643_ < 3; i_643_++) { - for (int i_644_ = 0; i_644_ < 3; i_644_++) { - int i_645_ = 0; - for (int i_646_ = 0; i_646_ < 3; i_646_++) - i_645_ += (is_594_[i_646_ + 3 * i_643_] * is_634_[3 * i_646_ + i_644_]); - is_642_[3 * i_643_ - -i_644_] = i_645_ - -8192 >> 14; - } - } - int i_647_ = ((i_640_ * is_594_[1] + (is_594_[0] * i_639_ - -(i_641_ * is_594_[2])) - -8192) >> 14); - int i_648_ = (8192 + is_594_[5] * i_641_ + (is_594_[4] * i_640_ + i_639_ * is_594_[3]) >> 14); - int i_649_ = ((is_594_[7] * i_640_ + is_594_[6] * i_639_ - -(i_641_ * is_594_[8]) - -8192) >> 14); - i_647_ += i_610_; - i_648_ += i_611_; - i_649_ += i_612_; - for (int i_650_ = 0; i_595_ > i_650_; i_650_++) { - int i_651_ = is[i_650_]; - if (i_651_ < anIntArrayArray5413.length) { - int[] is_652_ = anIntArrayArray5413[i_651_]; - for (int i_653_ = 0; i_653_ < is_652_.length; i_653_++) { - int i_654_ = is_652_[i_653_]; - if (aShortArray5494 == null || (i_593_ & aShortArray5494[i_654_]) != 0) { - int i_655_ = ((8192 + (anIntArray5519[i_654_] * is_642_[1]) + ((anIntArray5511[i_654_] * is_642_[0]) - -(is_642_[2] * anIntArray5429[i_654_]))) >> 14); - int i_656_ = ((8192 + (is_642_[3] * anIntArray5511[i_654_]) + ((is_642_[4] * anIntArray5519[i_654_]) + (anIntArray5429[i_654_] * is_642_[5]))) >> 14); - i_655_ += i_647_; - int i_657_ = ((8192 + ((is_642_[6] * anIntArray5511[i_654_]) + (anIntArray5519[i_654_] * is_642_[7])) + (anIntArray5429[i_654_] * is_642_[8])) >> 14); - i_656_ += i_648_; - i_657_ += i_649_; - anIntArray5511[i_654_] = i_655_; - anIntArray5519[i_654_] = i_656_; - anIntArray5429[i_654_] = i_657_; - } - } - } - } - } - } else if (i == 3) { - if (is_594_ == null) { - for (int i_690_ = 0; i_595_ > i_690_; i_690_++) { - int i_691_ = is[i_690_]; - if (anIntArrayArray5413.length > i_691_) { - int[] is_692_ = anIntArrayArray5413[i_691_]; - for (int i_693_ = 0; is_692_.length > i_693_; i_693_++) { - int i_694_ = is_692_[i_693_]; - if (aShortArray5494 == null || ((i_593_ & aShortArray5494[i_694_]) != 0)) { - anIntArray5511[i_694_] -= Class136.anInt4795; - anIntArray5519[i_694_] -= Class26.anInt386; - anIntArray5429[i_694_] -= Class346.anInt4274; - anIntArray5511[i_694_] = (i_590_ * anIntArray5511[i_694_] >> 7); - anIntArray5519[i_694_] = (anIntArray5519[i_694_] * i_591_ >> 7); - anIntArray5429[i_694_] = (i_592_ * anIntArray5429[i_694_] >> 7); - anIntArray5511[i_694_] += Class136.anInt4795; - anIntArray5519[i_694_] += Class26.anInt386; - anIntArray5429[i_694_] += Class346.anInt4274; - } - } - } - } - } else { - int i_695_ = is_594_[9] << 4; - int i_696_ = is_594_[10] << 4; - int i_697_ = is_594_[11] << 4; - int i_698_ = is_594_[12] << 4; - int i_699_ = is_594_[13] << 4; - int i_700_ = is_594_[14] << 4; - if (Class64_Sub3.aBoolean5609) { - int i_701_ = ((Class346.anInt4274 * is_594_[6] + (Class136.anInt4795 * is_594_[0] + (is_594_[3] * Class26.anInt386 + 8192))) >> 14); - int i_702_ = (8192 + (Class136.anInt4795 * is_594_[1] + (Class26.anInt386 * is_594_[4] - -(is_594_[7] * Class346.anInt4274))) >> 14); - i_701_ += i_698_; - i_702_ += i_699_; - int i_703_ = ((8192 + is_594_[2] * Class136.anInt4795 - -(is_594_[5] * Class26.anInt386) - -(Class346.anInt4274 * is_594_[8])) >> 14); - i_703_ += i_700_; - Class136.anInt4795 = i_701_; - Class26.anInt386 = i_702_; - Class64_Sub3.aBoolean5609 = false; - Class346.anInt4274 = i_703_; - } - int i_704_ = i_590_ << 15 >> 7; - int i_705_ = i_591_ << 15 >> 7; - int i_706_ = i_592_ << 15 >> 7; - int i_707_ = -Class136.anInt4795 * i_704_ + 8192 >> 14; - int i_708_ = 8192 + -Class26.anInt386 * i_705_ >> 14; - int i_709_ = 8192 + -Class346.anInt4274 * i_706_ >> 14; - int i_710_ = i_707_ + Class136.anInt4795; - int i_711_ = i_708_ + Class26.anInt386; - int i_712_ = Class346.anInt4274 + i_709_; - int[] is_713_ = new int[9]; - is_713_[0] = 8192 + i_704_ * is_594_[0] >> 14; - is_713_[1] = is_594_[3] * i_704_ + 8192 >> 14; - is_713_[2] = 8192 + is_594_[6] * i_704_ >> 14; - is_713_[6] = i_706_ * is_594_[2] + 8192 >> 14; - is_713_[5] = i_705_ * is_594_[7] - -8192 >> 14; - is_713_[3] = 8192 + i_705_ * is_594_[1] >> 14; - is_713_[4] = i_705_ * is_594_[4] - -8192 >> 14; - is_713_[7] = i_706_ * is_594_[5] - -8192 >> 14; - is_713_[8] = 8192 + i_706_ * is_594_[8] >> 14; - int i_714_ = i_698_ * i_704_ + 8192 >> 14; - int i_715_ = i_699_ * i_705_ - -8192 >> 14; - i_714_ += i_710_; - int i_716_ = 8192 + i_706_ * i_700_ >> 14; - i_715_ += i_711_; - i_716_ += i_712_; - int[] is_717_ = new int[9]; - for (int i_718_ = 0; i_718_ < 3; i_718_++) { - for (int i_719_ = 0; i_719_ < 3; i_719_++) { - int i_720_ = 0; - for (int i_721_ = 0; i_721_ < 3; i_721_++) - i_720_ += (is_713_[i_719_ - -(3 * i_721_)] * is_594_[i_721_ + i_718_ * 3]); - is_717_[i_718_ * 3 - -i_719_] = i_720_ + 8192 >> 14; - } - } - int i_722_ = ((i_715_ * is_594_[1] + i_714_ * is_594_[0] + is_594_[2] * i_716_ - -8192) >> 14); - int i_723_ = (i_716_ * is_594_[5] + (is_594_[3] * i_714_ - -(i_715_ * is_594_[4]) - -8192) >> 14); - int i_724_ = (i_714_ * is_594_[6] + (i_715_ * is_594_[7] + is_594_[8] * i_716_ + 8192) >> 14); - i_723_ += i_696_; - i_722_ += i_695_; - i_724_ += i_697_; - for (int i_725_ = 0; i_595_ > i_725_; i_725_++) { - int i_726_ = is[i_725_]; - if (anIntArrayArray5413.length > i_726_) { - int[] is_727_ = anIntArrayArray5413[i_726_]; - for (int i_728_ = 0; i_728_ < is_727_.length; i_728_++) { - int i_729_ = is_727_[i_728_]; - if (aShortArray5494 == null || ((i_593_ & aShortArray5494[i_729_]) != 0)) { - int i_730_ = ((is_717_[1] * anIntArray5519[i_729_] + (anIntArray5511[i_729_] * is_717_[0]) - (-(anIntArray5429[i_729_] * is_717_[2]) - 8192)) >> 14); - int i_731_ = ((8192 + ((is_717_[5] * anIntArray5429[i_729_]) + (is_717_[4] * anIntArray5519[i_729_]) + (is_717_[3] * anIntArray5511[i_729_]))) >> 14); - i_731_ += i_723_; - i_730_ += i_722_; - int i_732_ = ((anIntArray5519[i_729_] * is_717_[7] + ((anIntArray5511[i_729_] * is_717_[6]) - (-(is_717_[8] * anIntArray5429[i_729_]) - 8192))) >> 14); - anIntArray5511[i_729_] = i_730_; - i_732_ += i_724_; - anIntArray5519[i_729_] = i_731_; - anIntArray5429[i_729_] = i_732_; - } - } - } - } - } - } else if (i == 5) { - if (anIntArrayArray5492 != null) { - boolean bool_733_ = false; - for (int i_734_ = 0; i_595_ > i_734_; i_734_++) { - int i_735_ = is[i_734_]; - if (anIntArrayArray5492.length > i_735_) { - int[] is_736_ = anIntArrayArray5492[i_735_]; - for (int i_737_ = 0; (i_737_ < is_736_.length); i_737_++) { - int i_738_ = is_736_[i_737_]; - if (aShortArray5432 == null || (aShortArray5432[i_738_] & i_593_) != 0) { - int i_739_ = ((aByteArray5515[i_738_] & 0xff) - -(8 * i_590_)); - if (i_739_ < 0) i_739_ = 0; - else if (i_739_ > 255) i_739_ = 255; - aByteArray5515[i_738_] = (byte) i_739_; - } - } - bool_733_ = bool_733_ | is_736_.length > 0; - } - } - if (bool_733_) { - if (aClass353Array5524 != null) { - for (int i_740_ = 0; i_740_ < anInt5406; i_740_++) { - Class353 class353 = aClass353Array5524[i_740_]; - Class334 class334 = aClass334Array5442[i_740_]; - class334.anInt4156 = ((-(0xff & (aByteArray5515[(class353.anInt4342)])) + 255 << 24) | (class334.anInt4156 & 0xffffff)); - } - } - method670(-126); - } - } - } else if (i == 7) { - if (anIntArrayArray5492 != null) { - boolean bool_741_ = false; - for (int i_742_ = 0; i_595_ > i_742_; i_742_++) { - int i_743_ = is[i_742_]; - if (anIntArrayArray5492.length > i_743_) { - int[] is_744_ = anIntArrayArray5492[i_743_]; - for (int i_745_ = 0; is_744_.length > i_745_; i_745_++) { - int i_746_ = is_744_[i_745_]; - if (aShortArray5432 == null || ((aShortArray5432[i_746_] & i_593_) != 0)) { - int i_747_ = 0xffff & aShortArray5486[i_746_]; - int i_748_ = (i_747_ & 0xfdd5) >> 10; - int i_749_ = i_747_ >> 7 & 0x7; - i_749_ += i_591_ / 4; - i_748_ = 0x3f & i_590_ + i_748_; - int i_750_ = i_747_ & 0x7f; - if (i_749_ >= 0) { - if (i_749_ > 7) i_749_ = 7; - } else i_749_ = 0; - i_750_ += i_592_; - if (i_750_ >= 0) { - if (i_750_ > 127) i_750_ = 127; - } else i_750_ = 0; - aShortArray5486[i_746_] = (short) (Class273.method2057((Class273.method2057(i_749_ << 7, i_748_ << 10)), i_750_)); - } - } - bool_741_ = (bool_741_ | is_744_.length > 0); - } - } - if (bool_741_) { - if (aClass353Array5524 != null) { - for (int i_751_ = 0; anInt5406 > i_751_; i_751_++) { - Class353 class353 = aClass353Array5524[i_751_]; - Class334 class334 = aClass334Array5442[i_751_]; - class334.anInt4156 = ((class334.anInt4156 & ~0xffffff) | (0xffffff & (Class10.anIntArray179[0xffff & (aShortArray5486[(class353.anInt4342)])]))); - } - } - method670(-90); - } - } - } else if (i == 8) { - if (anIntArrayArray5412 != null) { - for (int i_752_ = 0; i_595_ > i_752_; i_752_++) { - int i_753_ = is[i_752_]; - if (i_753_ < anIntArrayArray5412.length) { - int[] is_754_ = anIntArrayArray5412[i_753_]; - for (int i_755_ = 0; (i_755_ < is_754_.length); i_755_++) { - Class334 class334 = aClass334Array5442[is_754_[i_755_]]; - class334.anInt4158 += i_590_; - class334.anInt4154 += i_591_; - } - } - } - } - } else if (i == 10) { - if (anIntArrayArray5412 != null) { - for (int i_756_ = 0; i_595_ > i_756_; i_756_++) { - int i_757_ = is[i_756_]; - if (anIntArrayArray5412.length > i_757_) { - int[] is_758_ = anIntArrayArray5412[i_757_]; - for (int i_759_ = 0; (i_759_ < is_758_.length); i_759_++) { - Class334 class334 = aClass334Array5442[is_758_[i_759_]]; - class334.anInt4162 = (i_591_ * class334.anInt4162 >> 7); - class334.anInt4165 = (i_590_ * class334.anInt4165 >> 7); - } - } - } - } - } else if (i == 9) { - if (anIntArrayArray5412 != null) { - for (int i_760_ = 0; i_760_ < i_595_; i_760_++) { - int i_761_ = is[i_760_]; - if (anIntArrayArray5412.length > i_761_) { - int[] is_762_ = anIntArrayArray5412[i_761_]; - for (int i_763_ = 0; (is_762_.length > i_763_); i_763_++) { - Class334 class334 = aClass334Array5442[is_762_[i_763_]]; - class334.anInt4151 = 0x3fff & i_590_ + (class334.anInt4151); - } - } - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("nca.I(" + i + ',' + (is != null ? "{...}" : "null") + ',' + i_590_ + ',' + i_591_ + ',' + i_592_ + ',' + bool + ',' + i_593_ + ',' + (is_594_ != null ? "{...}" : "null") + ')')); - } - } - - Class64_Sub2(ha_Sub3 var_ha_Sub3, int i, int i_764_, boolean bool, boolean bool_765_) { - aBoolean5428 = false; - aBoolean5477 = false; - anInt5478 = 0; - anInt5475 = 0; - anInt5516 = 0; - aBoolean5502 = false; - anInt5497 = 0; - aBoolean5462 = false; - try { - anInt5463 = i; - aBoolean5462 = bool_765_; - anInt5472 = i_764_; - aHa_Sub3_5419 = var_ha_Sub3; - if (bool || Class161.method1258(anInt5463, -9301, anInt5472)) aClass290_5520 = new Class290(Class264.method2015(anInt5463, anInt5472, 7)); - if (bool || Class239_Sub26.method1837(anInt5472, 102, anInt5463)) aClass290_5460 = new Class290(Class183.method1379(4, anInt5472, anInt5463)); - if (bool || Class296.method2224(anInt5463, (byte) 110, anInt5472)) aClass290_5482 = new Class290(Class348_Sub42_Sub8_Sub2.method3200(anInt5463, anInt5472, (byte) -82)); - if (bool || Class188.method1412((byte) -35, anInt5472, anInt5463)) aClass290_5424 = new Class290(Class126.method1113(anInt5463, anInt5472, -21)); - if (bool || Class368.method3563(anInt5463, (byte) 56, anInt5472)) aClass192_5485 = new Class192(Class348_Sub9.method2783(anInt5472, (byte) -97, anInt5463)); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("nca.(" + (var_ha_Sub3 != null ? "{...}" : "null") + ',' + i + ',' + i_764_ + ',' + bool + ',' + bool_765_ + ')')); - } - } -} diff --git a/client/src/Class64_Sub3.java b/client/src/Class64_Sub3.java deleted file mode 100644 index a596f1ada..000000000 --- a/client/src/Class64_Sub3.java +++ /dev/null @@ -1,3336 +0,0 @@ -/* Class64_Sub3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaclib.memory.Stream; -import jaggl.OpenGL; - -final class Class64_Sub3 extends Class64 { - private boolean aBoolean5527; - private int[] anIntArray5528; - private int anInt5529; - static int anInt5530; - static int anInt5531; - static int anInt5532; - static int anInt5533; - static int anInt5534; - static int anInt5535; - private int anInt5536; - private int anInt5537 = 0; - static int anInt5538; - private int[][] anIntArrayArray5539; - private short aShort5540; - private Class342[] aClass342Array5541; - private byte[] aByteArray5542; - private int[] anIntArray5543; - private short aShort5544; - static int anInt5545; - static int anInt5546; - static int anInt5547; - static int anInt5548; - static int anInt5549; - static int anInt5550; - static int anInt5551; - private float[] aFloatArray5552; - private int[][] anIntArrayArray5553; - private Interface2 anInterface2_5554; - private boolean aBoolean5555 = true; - private int anInt5556; - private int anInt5557; - static Class261 aClass261_5558; - private short aShort5559; - static int anInt5560; - static int anInt5561; - static int anInt5562; - private Class123 aClass123_5563; - private short[] aShortArray5564; - static int anInt5565; - private short[] aShortArray5566; - static int anInt5567; - static int anInt5568; - static int anInt5569; - static int anInt5570; - private float[] aFloatArray5571; - private Class139 aClass139_5572; - private short[] aShortArray5573; - static int anInt5574; - private Class270 aClass270_5575; - private short[] aShortArray5576; - static int anInt5577; - static int anInt5578; - private short[] aShortArray5579; - private short[] aShortArray5580; - private byte aByte5581; - static int anInt5582; - private short[] aShortArray5583; - static int anInt5584; - static int anInt5585; - private short aShort5586; - static int anInt5587; - static int anInt5588; - static int anInt5589; - static int anInt5590; - private short aShort5591; - private short[] aShortArray5592; - private int[] anIntArray5593; - private byte[] aByteArray5594; - private boolean aBoolean5595 = false; - private Class48[] aClass48Array5596; - static int anInt5597; - private final ha_Sub2 aHa_Sub2_5598; - static int anInt5599; - static String aString5600 = ""; - private short[] aShortArray5601; - static int anInt5602; - static int anInt5603; - static int anInt5604; - private Class123 aClass123_5605; - static int anInt5606; - static int anInt5607; - private short[] aShortArray5608; - static boolean aBoolean5609; - private Class123 aClass123_5610; - static int anInt5611; - static int anInt5612; - static int anInt5613; - static int anInt5614; - static int anInt5615; - static int anInt5616; - private short aShort5617; - static int anInt5618; - static int anInt5619; - private Class123 aClass123_5620; - private Class118[] aClass118Array5621; - static int anInt5622; - static int anInt5623; - static int anInt5624; - static int anInt5625; - private int[] anIntArray5626; - private int[][] anIntArrayArray5627; - static int anInt5628; - private short aShort5629; - static int anInt5630; - static int anInt5631; - private int anInt5632; - static int anInt5633; - private short aShort5634; - static int anInt5635; - static int anInt5636; - static int anInt5637; - private boolean aBoolean5638; - static int anInt5639; - private Class129[] aClass129Array5640; - static int anInt5641; - private int anInt5642; - static int anInt5643; - private int[] anIntArray5644; - private short aShort5645; - private short aShort5646; - private Interface8 anInterface8_5647; - private int anInt5648; - private short[] aShortArray5649; - static int anInt5650; - static int anInt5651; - - final void FA(int i) { - anInt5650++; - int i_0_ = Class70.anIntArray1207[i]; - int i_1_ = Class70.anIntArray1204[i]; - for (int i_2_ = 0; i_2_ < anInt5557; i_2_++) { - int i_3_ = (-(i_0_ * anIntArray5644[i_2_]) + anIntArray5593[i_2_] * i_1_ >> 14); - anIntArray5644[i_2_] = (anIntArray5593[i_2_] * i_0_ - -(anIntArray5644[i_2_] * i_1_) >> 14); - anIntArray5593[i_2_] = i_3_; - } - if (aClass123_5605 != null) aClass123_5605.anInterface2_1811 = null; - aBoolean5527 = false; - } - - final Class64 method614(byte i, int i_4_, boolean bool) { - anInt5615++; - Class64_Sub3 class64_sub3_5_; - Class64_Sub3 class64_sub3_6_; - if (i == 1) { - class64_sub3_6_ = aHa_Sub2_5598.aClass64_Sub3_7864; - class64_sub3_5_ = aHa_Sub2_5598.aClass64_Sub3_7780; - } else if (i == 2) { - class64_sub3_5_ = aHa_Sub2_5598.aClass64_Sub3_7802; - class64_sub3_6_ = aHa_Sub2_5598.aClass64_Sub3_7838; - } else if (i == 3) { - class64_sub3_6_ = aHa_Sub2_5598.aClass64_Sub3_7803; - class64_sub3_5_ = aHa_Sub2_5598.aClass64_Sub3_7821; - } else if (i == 4) { - class64_sub3_6_ = aHa_Sub2_5598.aClass64_Sub3_7834; - class64_sub3_5_ = aHa_Sub2_5598.aClass64_Sub3_7844; - } else if (i == 5) { - class64_sub3_6_ = aHa_Sub2_5598.aClass64_Sub3_7840; - class64_sub3_5_ = aHa_Sub2_5598.aClass64_Sub3_7785; - } else class64_sub3_6_ = class64_sub3_5_ = new Class64_Sub3(aHa_Sub2_5598); - return method686(class64_sub3_6_, i_4_, 0, bool, class64_sub3_5_, i != 0); - } - - private final void method677(byte i) { - anInt5619++; - if (anInt5537 != 0 && i > 125) { - if (aByte5581 != 0) method688(5, true); - method688(5, false); - if (aClass270_5575 != null) { - if (aClass270_5575.anInterface8_3463 == null) method678((aByte5581 & 0x10) != 0, (byte) 27); - if (aClass270_5575.anInterface8_3463 != null) { - aHa_Sub2_5598.method3728(aClass123_5563 != null, 118); - aHa_Sub2_5598.method3794(aClass123_5605, aClass123_5610, -26411, aClass123_5620, aClass123_5563); - int i_7_ = -1 + anIntArray5626.length; - for (int i_8_ = 0; i_7_ > i_8_; i_8_++) { - int i_9_ = anIntArray5626[i_8_]; - int i_10_ = anIntArray5626[i_8_ + 1]; - int i_11_ = aShortArray5601[i_9_] & 0xffff; - if (i_11_ == 65535) i_11_ = -1; - aHa_Sub2_5598.method3801(aClass123_5563 != null, i_11_, 125); - aHa_Sub2_5598.method3759((-i_9_ + i_10_) * 3, -128, 4, (aClass270_5575.anInterface8_3463), i_9_ * 3); - } - } - } - method691((byte) 110); - } - } - - private final void method678(boolean bool, byte i) { - if (6 * anInt5537 > (aHa_Sub2_5598.aClass348_Sub49_Sub1_7798.aByteArray7154).length) aHa_Sub2_5598.aClass348_Sub49_Sub1_7798 = new Class348_Sub49_Sub1(6 * (anInt5537 - -100)); - else aHa_Sub2_5598.aClass348_Sub49_Sub1_7798.anInt7197 = 0; - anInt5630++; - if (i != 27) WA(); - Class348_Sub49_Sub1 class348_sub49_sub1 = aHa_Sub2_5598.aClass348_Sub49_Sub1_7798; - if (aHa_Sub2_5598.aBoolean7775) { - for (int i_12_ = 0; i_12_ < anInt5537; i_12_++) { - class348_sub49_sub1.writeShort((byte) 107, aShortArray5592[i_12_]); - class348_sub49_sub1.writeShort((byte) 107, aShortArray5579[i_12_]); - class348_sub49_sub1.writeShort((byte) 107, aShortArray5566[i_12_]); - } - } else { - for (int i_13_ = 0; i_13_ < anInt5537; i_13_++) { - class348_sub49_sub1.method3397(122, aShortArray5592[i_13_]); - class348_sub49_sub1.method3397(67, aShortArray5579[i_13_]); - class348_sub49_sub1.method3397(31, aShortArray5566[i_13_]); - } - } - if (class348_sub49_sub1.anInt7197 != 0) { - if (bool) { - if (anInterface8_5647 == null) anInterface8_5647 = aHa_Sub2_5598.method3733(5123, -39, (class348_sub49_sub1.anInt7197), (class348_sub49_sub1.aByteArray7154), true); - else anInterface8_5647.method35(class348_sub49_sub1.aByteArray7154, 5123, i ^ 0x23, class348_sub49_sub1.anInt7197); - aClass270_5575.anInterface8_3463 = anInterface8_5647; - } else aClass270_5575.anInterface8_3463 = (aHa_Sub2_5598.method3733(5123, i + -65, class348_sub49_sub1.anInt7197, class348_sub49_sub1.aByteArray7154, false)); - if (!bool) aBoolean5555 = true; - } - } - - final boolean method628(int i, int i_14_, Class101 class101, boolean bool, int i_15_) { - try { - anInt5533++; - return method684(bool, 1566382404, -1, i_14_, i_15_, i, class101); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("paa.MA(" + i + ',' + i_14_ + ',' + (class101 != null ? "{...}" : "null") + ',' + bool + ',' + i_15_ + ')')); - } - } - - private final boolean method679(int i, int i_16_, int i_17_, int i_18_, int i_19_, int i_20_, int i_21_, int i_22_, int i_23_) { - anInt5651++; - if (i_20_ > i && i < i_18_ && i_23_ > i) return false; - if (i > i_20_ && i_18_ < i && i > i_23_) return false; - if (i_22_ < i_19_ && i_16_ > i_22_ && i_17_ > i_22_) return false; - int i_24_ = -65 / ((i_21_ - 57) / 62); - return i_19_ >= i_22_ || i_22_ <= i_16_ || i_17_ >= i_22_; - } - - final void VA(int i) { - anInt5561++; - int i_25_ = Class70.anIntArray1207[i]; - int i_26_ = Class70.anIntArray1204[i]; - for (int i_27_ = 0; anInt5557 > i_27_; i_27_++) { - int i_28_ = ((anIntArray5543[i_27_] * i_26_ + i_25_ * anIntArray5593[i_27_]) >> 14); - anIntArray5593[i_27_] = (-(i_25_ * anIntArray5543[i_27_]) + anIntArray5593[i_27_] * i_26_) >> 14; - anIntArray5543[i_27_] = i_28_; - } - if (aClass123_5605 != null) aClass123_5605.anInterface2_1811 = null; - aBoolean5527 = false; - } - - private final int method680(int i, int i_29_, byte i_30_, short i_31_, int i_32_) { - if (i != 19995) return -13; - anInt5582++; - int i_33_ = (Class10.anIntArray179[Class184.method1384(i_32_, i ^ 0x54b313bc, i_29_)]); - if (i_31_ != -1) { - Class12 class12 = aHa_Sub2_5598.aD4579.method3(i_31_ & 0xffff, -6662); - int i_34_ = 0xff & class12.aByte201; - if (i_34_ != 0) { - int i_35_; - if (i_29_ >= 0) { - if (i_29_ > 127) i_35_ = 16777215; - else i_35_ = 131586 * i_29_; - } else i_35_ = 0; - if (i_34_ != 256) { - int i_36_ = i_34_; - int i_37_ = -i_34_ + 256; - i_33_ = ((((i_35_ & 0xff00ff) * i_36_ - -(i_37_ * (0xff00ff & i_33_)) & ~0xff00ff) - -(0xff0000 & ((0xff00 & i_35_) * i_36_ + (i_33_ & 0xff00) * i_37_))) >> 8); - } else i_33_ = i_35_; - } - int i_38_ = 0xff & class12.aByte216; - if (i_38_ != 0) { - i_38_ += 256; - int i_39_ = ((0xff0000 & i_33_) >> 16) * i_38_; - if (i_39_ > 65535) i_39_ = 65535; - int i_40_ = i_38_ * (i_33_ >> 8 & 0xff); - if (i_40_ > 65535) i_40_ = 65535; - int i_41_ = (0xff & i_33_) * i_38_; - if (i_41_ > 65535) i_41_ = 65535; - i_33_ = (i_41_ >> 8) + (((~0x5bff00ff & i_39_) << 8) - -(0xff00 & i_40_)); - } - } - return (i_33_ << 8) - (i_30_ & 0xff) - -255; - } - - final boolean method618() { - anInt5551++; - if (aShortArray5601 == null) return true; - for (int i = 0; i < aShortArray5601.length; i++) { - if (aShortArray5601[i] != -1 && !aHa_Sub2_5598.aD4579.method4(-7953, aShortArray5601[i])) return false; - } - return true; - } - - final void method613(Class64 class64, int i, int i_42_, int i_43_, boolean bool) { - try { - anInt5589++; - Class64_Sub3 class64_sub3_44_ = (Class64_Sub3) class64; - if (anInt5632 != 0 && class64_sub3_44_.anInt5632 != 0) { - int i_45_ = class64_sub3_44_.anInt5557; - int[] is = class64_sub3_44_.anIntArray5543; - int[] is_46_ = class64_sub3_44_.anIntArray5593; - int[] is_47_ = class64_sub3_44_.anIntArray5644; - short[] is_48_ = class64_sub3_44_.aShortArray5564; - short[] is_49_ = class64_sub3_44_.aShortArray5583; - short[] is_50_ = class64_sub3_44_.aShortArray5576; - byte[] is_51_ = class64_sub3_44_.aByteArray5594; - short[] is_52_; - short[] is_53_; - byte[] is_54_; - short[] is_55_; - if (aClass139_5572 == null) { - is_52_ = null; - is_53_ = null; - is_54_ = null; - is_55_ = null; - } else { - is_55_ = aClass139_5572.aShortArray1954; - is_54_ = aClass139_5572.aByteArray1948; - is_53_ = aClass139_5572.aShortArray1951; - is_52_ = aClass139_5572.aShortArray1953; - } - byte[] is_56_; - short[] is_57_; - short[] is_58_; - short[] is_59_; - if (class64_sub3_44_.aClass139_5572 == null) { - is_56_ = null; - is_57_ = null; - is_58_ = null; - is_59_ = null; - } else { - is_59_ = (class64_sub3_44_.aClass139_5572.aShortArray1953); - is_56_ = (class64_sub3_44_.aClass139_5572.aByteArray1948); - is_58_ = (class64_sub3_44_.aClass139_5572.aShortArray1954); - is_57_ = (class64_sub3_44_.aClass139_5572.aShortArray1951); - } - int[] is_60_ = class64_sub3_44_.anIntArray5528; - short[] is_61_ = class64_sub3_44_.aShortArray5649; - if (!class64_sub3_44_.aBoolean5527) class64_sub3_44_.method692((byte) -123); - int i_62_ = class64_sub3_44_.aShort5591; - int i_63_ = class64_sub3_44_.aShort5629; - int i_64_ = class64_sub3_44_.aShort5540; - int i_65_ = class64_sub3_44_.aShort5586; - int i_66_ = class64_sub3_44_.aShort5617; - int i_67_ = class64_sub3_44_.aShort5646; - for (int i_68_ = 0; i_68_ < anInt5557; i_68_++) { - int i_69_ = -i_42_ + anIntArray5593[i_68_]; - if (i_62_ <= i_69_ && i_69_ <= i_63_) { - int i_70_ = -i + anIntArray5543[i_68_]; - if (i_70_ >= i_64_ && i_70_ <= i_65_) { - int i_71_ = anIntArray5644[i_68_] + -i_43_; - if (i_66_ <= i_71_ && i_71_ <= i_67_) { - int i_72_ = -1; - int i_73_ = anIntArray5528[i_68_]; - int i_74_ = anIntArray5528[i_68_ + 1]; - for (int i_75_ = i_73_; (i_74_ > i_75_); i_75_++) { - i_72_ = aShortArray5649[i_75_] - 1; - if (i_72_ == -1 || aByteArray5594[i_72_] != 0) break; - } - if (i_72_ != -1) { - for (int i_76_ = 0; (i_76_ < i_45_); i_76_++) { - if (is[i_76_] == i_70_ && i_71_ == is_47_[i_76_] && is_46_[i_76_] == i_69_) { - i_74_ = is_60_[i_76_ - -1]; - int i_77_ = -1; - i_73_ = is_60_[i_76_]; - for (int i_78_ = i_73_; i_74_ > i_78_; i_78_++) { - i_77_ = -1 + is_61_[i_78_]; - if (i_77_ == -1 || is_51_[i_77_] != 0) break; - } - if (i_77_ != -1) { - if (is_55_ == null) { - aClass139_5572 = new Class139(); - is_55_ = aClass139_5572.aShortArray1954 = (Class50_Sub3.method470(aShortArray5564, (byte) -120)); - is_53_ = aClass139_5572.aShortArray1951 = (Class50_Sub3.method470(aShortArray5583, (byte) -109)); - is_52_ = aClass139_5572.aShortArray1953 = (Class50_Sub3.method470(aShortArray5576, (byte) -107)); - is_54_ = aClass139_5572.aByteArray1948 = (Class309.method2309(-37, aByteArray5594)); - } - if (is_58_ == null) { - Class139 class139 = (class64_sub3_44_.aClass139_5572 = new Class139()); - is_58_ = class139.aShortArray1954 = (Class50_Sub3.method470(is_48_, (byte) -127)); - is_57_ = class139.aShortArray1951 = (Class50_Sub3.method470(is_49_, (byte) -111)); - is_59_ = class139.aShortArray1953 = (Class50_Sub3.method470(is_50_, (byte) -120)); - is_56_ = class139.aByteArray1948 = (Class309.method2309(-91, is_51_)); - } - short i_79_ = aShortArray5564[i_72_]; - short i_80_ = aShortArray5583[i_72_]; - short i_81_ = aShortArray5576[i_72_]; - byte i_82_ = aByteArray5594[i_72_]; - i_73_ = is_60_[i_76_]; - i_74_ = is_60_[i_76_ - -1]; - for (int i_83_ = i_73_; (i_74_ > i_83_); i_83_++) { - int i_84_ = -1 + is_61_[i_83_]; - if (i_84_ == -1) break; - if (is_56_[i_84_] != 0) { - is_58_[i_84_] += i_79_; - is_57_[i_84_] += i_80_; - is_59_[i_84_] += i_81_; - is_56_[i_84_] += i_82_; - } - } - i_80_ = is_49_[i_77_]; - i_81_ = is_50_[i_77_]; - i_82_ = is_51_[i_77_]; - i_73_ = anIntArray5528[i_68_]; - i_74_ = (anIntArray5528[1 + i_68_]); - i_79_ = is_48_[i_77_]; - for (int i_85_ = i_73_; (i_85_ < i_74_); i_85_++) { - int i_86_ = ((aShortArray5649[i_85_]) + -1); - if (i_86_ == -1) break; - if (is_54_[i_86_] != 0) { - is_55_[i_86_] += i_79_; - is_53_[i_86_] += i_80_; - is_52_[i_86_] += i_81_; - is_54_[i_86_] += i_82_; - } - } - if (aClass123_5563 == null && aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; - if (aClass123_5563 != null) aClass123_5563.anInterface2_1811 = null; - if ((class64_sub3_44_.aClass123_5563) == null && ((class64_sub3_44_.aClass123_5610) != null)) class64_sub3_44_.aClass123_5610.anInterface2_1811 = null; - if ((class64_sub3_44_.aClass123_5563) != null) class64_sub3_44_.aClass123_5563.anInterface2_1811 = null; - } - } - } - } - } - } - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("paa.PA(" + (class64 != null ? "{...}" : "null") + ',' + i + ',' + i_42_ + ',' + i_43_ + ',' + bool + ')')); - } - } - - final boolean method623(int i, int i_87_, Class101 class101, boolean bool, int i_88_, int i_89_) { - try { - anInt5633++; - return method684(bool, 1566382404, i_89_, i_87_, i_88_, i, class101); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("paa.OA(" + i + ',' + i_87_ + ',' + (class101 != null ? "{...}" : "null") + ',' + bool + ',' + i_88_ + ',' + i_89_ + ')')); - } - } - - public static void method681(int i) { - aClass261_5558 = null; - if (i <= 75) aString5600 = null; - aString5600 = null; - } - - private final void method682(boolean bool) { - if (aClass118Array5621 != null) { - Class101_Sub3 class101_sub3 = aHa_Sub2_5598.aClass101_Sub3_7729; - aHa_Sub2_5598.method3788(-18516); - aHa_Sub2_5598.C(!aBoolean5595); - aHa_Sub2_5598.method3728(false, 35); - aHa_Sub2_5598.method3794(aHa_Sub2_5598.aClass123_7849, null, -26411, aHa_Sub2_5598.aClass123_7833, null); - for (int i = 0; i < anInt5536; i++) { - Class118 class118 = aClass118Array5621[i]; - Class48 class48 = aClass48Array5596[i]; - if (!class118.aBoolean1791 || !aHa_Sub2_5598.method3666()) { - float f = ((float) ((anIntArray5543[class118.anInt1782]) + ((anIntArray5543[class118.anInt1788]) + (anIntArray5543[class118.anInt1781]))) * 0.3333333F); - float f_90_ = ((float) ((anIntArray5593[class118.anInt1788]) + ((anIntArray5593[class118.anInt1781]) + (anIntArray5593[class118.anInt1782]))) * 0.3333333F); - float f_91_ = ((float) ((anIntArray5644[class118.anInt1788]) + (anIntArray5644[class118.anInt1781]) + (anIntArray5644[class118.anInt1782])) * 0.3333333F); - float f_92_ = (Class190.aFloat2555 + (f_91_ * Class313.aFloat3935 + (f_90_ * Class299_Sub1_Sub1.aFloat8696 + Class167.aFloat2203 * f))); - float f_93_ = (Class156.aFloat2111 + (Class215.aFloat2836 * f_91_ + (f_90_ * Class252.aFloat3242 + Class314.aFloat3943 * f))); - float f_94_ = (f * Class318_Sub9_Sub1.aFloat8784 + f_90_ * Class320.aFloat3994 + f_91_ * Class286_Sub8.aFloat6304 + Class49.aFloat4720); - float f_95_ = ((float) (1.0 / Math.sqrt(f_94_ * f_94_ + (f_93_ * f_93_ + (f_92_ * f_92_)))) * (float) class118.anInt1784); - class101_sub3.method939(-f_94_ + f_94_ * f_95_, (class118.aShort1785 * class48.anInt856) >> 7, (-(f_92_ * f_95_) + (f_92_ + (float) class48.anInt854)), (class118.aShort1790 * class48.anInt857) >> 7, class48.anInt853, 90, (f_95_ * f_93_ + (-f_93_ + (float) class48.anInt847))); - aHa_Sub2_5598.method3766((byte) 55, class101_sub3); - int i_96_ = class48.anInt858; - OpenGL.glColor4ub((byte) (i_96_ >> 16), (byte) (i_96_ >> 8), (byte) i_96_, (byte) (i_96_ >> 24)); - aHa_Sub2_5598.method3757(class118.aShort1787, -77); - aHa_Sub2_5598.method3753(class118.aByte1789, 1); - aHa_Sub2_5598.method3756(4, 7, 0, 93); - } - } - aHa_Sub2_5598.C(true); - aHa_Sub2_5598.method3734(true); - } - if (bool != true) aShort5540 = (short) 69; - anInt5549++; - } - - private final short method683(int i, int i_97_, long l, int i_98_, Class124 class124, int i_99_, float f, int i_100_, int i_101_, float f_102_) { - try { - anInt5599++; - int i_103_ = anIntArray5528[i_101_]; - int i_104_ = anIntArray5528[1 + i_101_]; - int i_105_ = i_100_; - for (int i_106_ = i_103_; i_104_ > i_106_; i_106_++) { - short i_107_ = aShortArray5649[i_106_]; - if (i_107_ == 0) { - i_105_ = i_106_; - break; - } - if (l == Class258_Sub2.aLongArray8530[i_106_]) return (short) (i_107_ - 1); - } - aShortArray5649[i_105_] = (short) (anInt5529 + 1); - Class258_Sub2.aLongArray8530[i_105_] = l; - aShortArray5564[anInt5529] = (short) i_98_; - aShortArray5583[anInt5529] = (short) i; - aShortArray5576[anInt5529] = (short) i_97_; - aByteArray5594[anInt5529] = (byte) i_99_; - aFloatArray5552[anInt5529] = f; - aFloatArray5571[anInt5529] = f_102_; - return (short) anInt5529++; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("paa.R(" + i + ',' + i_97_ + ',' + l + ',' + i_98_ + ',' + (class124 != null ? "{...}" : "null") + ',' + i_99_ + ',' + f + ',' + i_100_ + ',' + i_101_ + ',' + f_102_ + ')')); - } - } - - final int EA() { - anInt5637++; - if (!aBoolean5527) method692((byte) -123); - return aShort5629; - } - - private final boolean method684(boolean bool, int i, int i_108_, int i_109_, int i_110_, int i_111_, Class101 class101) { - try { - anInt5641++; - Class101_Sub3 class101_sub3 = (Class101_Sub3) class101; - Class101_Sub3 class101_sub3_112_ = aHa_Sub2_5598.aClass101_Sub3_7760; - float f = (class101_sub3_112_.aFloat5747 + ((class101_sub3.aFloat5751 * class101_sub3_112_.aFloat5781) + ((class101_sub3_112_.aFloat5770 * class101_sub3.aFloat5747) + (class101_sub3.aFloat5772 * (class101_sub3_112_.aFloat5750))))); - float f_113_ = (class101_sub3_112_.aFloat5772 + ((class101_sub3.aFloat5751 * class101_sub3_112_.aFloat5762) + ((class101_sub3.aFloat5747 * class101_sub3_112_.aFloat5761) + (class101_sub3.aFloat5772 * (class101_sub3_112_.aFloat5769))))); - Class299_Sub1_Sub1.aFloat8696 = ((class101_sub3_112_.aFloat5781 * class101_sub3.aFloat5754) + ((class101_sub3.aFloat5769 * class101_sub3_112_.aFloat5750) + (class101_sub3_112_.aFloat5770 * class101_sub3.aFloat5750))); - Class215.aFloat2836 = ((class101_sub3.aFloat5781 * class101_sub3_112_.aFloat5761) + (class101_sub3_112_.aFloat5769 * class101_sub3.aFloat5762) + (class101_sub3_112_.aFloat5762 * class101_sub3.aFloat5784)); - Class318_Sub9_Sub1.aFloat8784 = ((class101_sub3_112_.aFloat5754 * class101_sub3.aFloat5761) + (class101_sub3.aFloat5770 * class101_sub3_112_.aFloat5756) + (class101_sub3.aFloat5756 * class101_sub3_112_.aFloat5784)); - Class286_Sub8.aFloat6304 = ((class101_sub3.aFloat5781 * class101_sub3_112_.aFloat5756) + (class101_sub3.aFloat5762 * class101_sub3_112_.aFloat5754) + (class101_sub3_112_.aFloat5784 * class101_sub3.aFloat5784)); - float f_114_ = ((class101_sub3_112_.aFloat5756 * class101_sub3.aFloat5747) + (class101_sub3_112_.aFloat5754 * class101_sub3.aFloat5772) + (class101_sub3.aFloat5751 * class101_sub3_112_.aFloat5784) + class101_sub3_112_.aFloat5751); - Class252.aFloat3242 = ((class101_sub3_112_.aFloat5761 * class101_sub3.aFloat5750) + (class101_sub3_112_.aFloat5769 * class101_sub3.aFloat5769) + (class101_sub3_112_.aFloat5762 * class101_sub3.aFloat5754)); - Class314.aFloat3943 = ((class101_sub3.aFloat5756 * class101_sub3_112_.aFloat5762) + ((class101_sub3.aFloat5761 * class101_sub3_112_.aFloat5769) + (class101_sub3_112_.aFloat5761 * class101_sub3.aFloat5770))); - Class313.aFloat3935 = ((class101_sub3_112_.aFloat5750 * class101_sub3.aFloat5762) + (class101_sub3_112_.aFloat5770 * class101_sub3.aFloat5781) + (class101_sub3.aFloat5784 * class101_sub3_112_.aFloat5781)); - Class167.aFloat2203 = ((class101_sub3.aFloat5756 * class101_sub3_112_.aFloat5781) + ((class101_sub3.aFloat5770 * class101_sub3_112_.aFloat5770) + (class101_sub3.aFloat5761 * class101_sub3_112_.aFloat5750))); - Class320.aFloat3994 = ((class101_sub3_112_.aFloat5784 * class101_sub3.aFloat5754) + ((class101_sub3.aFloat5769 * class101_sub3_112_.aFloat5754) + (class101_sub3.aFloat5750 * class101_sub3_112_.aFloat5756))); - boolean bool_115_ = false; - float f_116_ = 3.4028235E38F; - float f_117_ = -3.4028235E38F; - float f_118_ = 3.4028235E38F; - float f_119_ = -3.4028235E38F; - int i_120_ = aHa_Sub2_5598.anInt7771; - int i_121_ = aHa_Sub2_5598.anInt7794; - if (!aBoolean5527) method692((byte) -123); - int i_122_ = -aShort5540 + aShort5586 >> 1; - int i_123_ = aShort5629 + -aShort5591 >> 1; - int i_124_ = aShort5646 + -aShort5617 >> 1; - int i_125_ = aShort5540 + i_122_; - int i_126_ = aShort5591 - -i_123_; - int i_127_ = i_124_ + aShort5617; - int i_128_ = -(i_122_ << i_110_) + i_125_; - int i_129_ = i_126_ + -(i_123_ << i_110_); - int i_130_ = i_127_ - (i_124_ << i_110_); - int i_131_ = i_125_ + (i_122_ << i_110_); - int i_132_ = (i_123_ << i_110_) + i_126_; - int i_133_ = (i_124_ << i_110_) + i_127_; - Class318_Sub2.anIntArray6393[0] = i_128_; - IOException_Sub1.anIntArray91[0] = i_129_; - Class318_Sub2.anIntArray6393[1] = i_131_; - Class244.anIntArray4623[0] = i_130_; - IOException_Sub1.anIntArray91[1] = i_129_; - Class318_Sub2.anIntArray6393[2] = i_128_; - if (i != 1566382404) method621(); - Class244.anIntArray4623[1] = i_130_; - IOException_Sub1.anIntArray91[2] = i_132_; - Class244.anIntArray4623[2] = i_130_; - Class318_Sub2.anIntArray6393[3] = i_131_; - IOException_Sub1.anIntArray91[3] = i_132_; - Class318_Sub2.anIntArray6393[4] = i_128_; - Class244.anIntArray4623[3] = i_130_; - IOException_Sub1.anIntArray91[4] = i_129_; - Class244.anIntArray4623[4] = i_133_; - Class318_Sub2.anIntArray6393[5] = i_131_; - IOException_Sub1.anIntArray91[5] = i_129_; - Class244.anIntArray4623[5] = i_133_; - Class318_Sub2.anIntArray6393[6] = i_128_; - IOException_Sub1.anIntArray91[6] = i_132_; - Class318_Sub2.anIntArray6393[7] = i_131_; - Class244.anIntArray4623[6] = i_133_; - IOException_Sub1.anIntArray91[7] = i_132_; - Class244.anIntArray4623[7] = i_133_; - for (int i_134_ = 0; i_134_ < 8; i_134_++) { - float f_135_ = (float) Class244.anIntArray4623[i_134_]; - float f_136_ = (float) IOException_Sub1.anIntArray91[i_134_]; - float f_137_ = (float) Class318_Sub2.anIntArray6393[i_134_]; - float f_138_ = (Class286_Sub8.aFloat6304 * f_135_ + (f_137_ * Class318_Sub9_Sub1.aFloat8784 + Class320.aFloat3994 * f_136_) + f_114_); - float f_139_ = f_113_ + (Class314.aFloat3943 * f_137_ + Class252.aFloat3242 * f_136_ + Class215.aFloat2836 * f_135_); - float f_140_ = f + (Class299_Sub1_Sub1.aFloat8696 * f_136_ + f_137_ * Class167.aFloat2203 + Class313.aFloat3935 * f_135_); - if ((float) aHa_Sub2_5598.anInt7826 <= f_138_) { - if (i_108_ > 0) f_138_ = (float) i_108_; - float f_141_ = (f_140_ * (float) i_120_ / f_138_ + (float) aHa_Sub2_5598.anInt7853); - if (f_141_ < f_116_) f_116_ = f_141_; - if (f_141_ > f_117_) f_117_ = f_141_; - float f_142_ = (f_139_ * (float) i_121_ / f_138_ + (float) aHa_Sub2_5598.anInt7810); - if (f_142_ > f_119_) f_119_ = f_142_; - bool_115_ = true; - if (f_142_ < f_118_) f_118_ = f_142_; - } - } - if (bool_115_ && (float) i_111_ > f_116_ && (float) i_111_ < f_117_ && (float) i_109_ > f_118_ && (float) i_109_ < f_119_) { - if (bool) return true; - if (anInt5529 > aHa_Sub2_5598.anIntArray7880.length) { - aHa_Sub2_5598.anIntArray7883 = new int[anInt5529]; - aHa_Sub2_5598.anIntArray7880 = new int[anInt5529]; - } - int[] is = aHa_Sub2_5598.anIntArray7880; - int[] is_143_ = aHa_Sub2_5598.anIntArray7883; - for (int i_144_ = 0; i_144_ < anInt5557; i_144_++) { - float f_145_ = (float) anIntArray5543[i_144_]; - float f_146_ = (float) anIntArray5644[i_144_]; - float f_147_ = (float) anIntArray5593[i_144_]; - float f_148_ = f_114_ + (f_146_ * Class286_Sub8.aFloat6304 + (Class318_Sub9_Sub1.aFloat8784 * f_145_ + f_147_ * Class320.aFloat3994)); - float f_149_ = f + (f_147_ * Class299_Sub1_Sub1.aFloat8696 + f_145_ * Class167.aFloat2203 + Class313.aFloat3935 * f_146_); - float f_150_ = f_113_ + (Class252.aFloat3242 * f_147_ + f_145_ * Class314.aFloat3943 + f_146_ * Class215.aFloat2836); - if (f_148_ >= (float) aHa_Sub2_5598.anInt7826) { - if (i_108_ > 0) f_148_ = (float) i_108_; - int i_155_ = (int) ((float) (aHa_Sub2_5598.anInt7853) + f_149_ * (float) i_120_ / f_148_); - int i_156_ = (int) ((float) (aHa_Sub2_5598.anInt7810) + (float) i_121_ * f_150_ / f_148_); - int i_157_ = anIntArray5528[i_144_]; - int i_158_ = anIntArray5528[1 + i_144_]; - for (int i_159_ = i_157_; i_159_ < i_158_; i_159_++) { - int i_160_ = -1 + aShortArray5649[i_159_]; - if (i_160_ == -1) break; - is[i_160_] = i_155_; - is_143_[i_160_] = i_156_; - } - } else { - int i_151_ = anIntArray5528[i_144_]; - int i_152_ = anIntArray5528[1 + i_144_]; - for (int i_153_ = i_151_; i_152_ > i_153_; i_153_++) { - int i_154_ = aShortArray5649[i_153_] - 1; - if (i_154_ == -1) break; - is[aShortArray5649[i_153_] - 1] = -999999; - } - } - } - for (int i_161_ = 0; i_161_ < anInt5632; i_161_++) { - if (is[aShortArray5592[i_161_]] != -999999 && is[aShortArray5579[i_161_]] != -999999 && is[aShortArray5566[i_161_]] != -999999 && method679(i_109_, is[aShortArray5579[i_161_]], is[aShortArray5566[i_161_]], is_143_[aShortArray5579[i_161_]], is[aShortArray5592[i_161_]], is_143_[aShortArray5592[i_161_]], 125, i_111_, is_143_[aShortArray5566[i_161_]])) - return true; - } - } - return false; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("paa.SA(" + bool + ',' + i + ',' + i_108_ + ',' + i_109_ + ',' + i_110_ + ',' + i_111_ + ',' + (class101 != null ? "{...}" : "null") + ')')); - } - } - - final void O(int i, int i_162_, int i_163_) { - anInt5618++; - for (int i_164_ = 0; anInt5557 > i_164_; i_164_++) { - if (i != 128) anIntArray5543[i_164_] = i * anIntArray5543[i_164_] >> 7; - if (i_162_ != 128) anIntArray5593[i_164_] = anIntArray5593[i_164_] * i_162_ >> 7; - if (i_163_ != 128) anIntArray5644[i_164_] = anIntArray5644[i_164_] * i_163_ >> 7; - } - if (aClass123_5605 != null) aClass123_5605.anInterface2_1811 = null; - aBoolean5527 = false; - } - - final r ba(r var_r) { - try { - anInt5562++; - if (anInt5529 == 0) return null; - if (!aBoolean5527) method692((byte) -123); - int i; - int i_165_; - if (aHa_Sub2_5598.anInt7772 > 0) { - i = (-(aShort5629 * aHa_Sub2_5598.anInt7772 >> 8) + aShort5540 >> aHa_Sub2_5598.anInt7731); - i_165_ = ((aShort5586 + -(aShort5591 * aHa_Sub2_5598.anInt7772 >> 8)) >> aHa_Sub2_5598.anInt7731); - } else { - i = (-(aShort5591 * aHa_Sub2_5598.anInt7772 >> 8) + aShort5540 >> aHa_Sub2_5598.anInt7731); - i_165_ = ((aShort5586 + -(aHa_Sub2_5598.anInt7772 * aShort5629 >> 8)) >> aHa_Sub2_5598.anInt7731); - } - int i_166_; - int i_167_; - if (aHa_Sub2_5598.anInt7777 > 0) { - i_166_ = (-(aHa_Sub2_5598.anInt7777 * aShort5629 >> 8) + aShort5617 >> aHa_Sub2_5598.anInt7731); - i_167_ = ((aShort5646 - (aShort5591 * aHa_Sub2_5598.anInt7777 >> 8)) >> aHa_Sub2_5598.anInt7731); - } else { - i_166_ = (-(aHa_Sub2_5598.anInt7777 * aShort5591 >> 8) + aShort5617 >> aHa_Sub2_5598.anInt7731); - i_167_ = (-(aHa_Sub2_5598.anInt7777 * aShort5629 >> 8) + aShort5646 >> aHa_Sub2_5598.anInt7731); - } - int i_168_ = i_165_ - i - -1; - int i_169_ = -i_166_ + i_167_ - -1; - r_Sub2 var_r_Sub2 = (r_Sub2) var_r; - r_Sub2 var_r_Sub2_170_; - if (var_r_Sub2 == null || !var_r_Sub2.method3296((byte) -47, i_169_, i_168_)) var_r_Sub2_170_ = new r_Sub2(aHa_Sub2_5598, i_168_, i_169_); - else { - var_r_Sub2_170_ = var_r_Sub2; - var_r_Sub2_170_.method3293((byte) 0); - } - var_r_Sub2_170_.method3292(i_167_, i_165_, i_166_, 25053, i); - method685((byte) 118, var_r_Sub2_170_); - return var_r_Sub2_170_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "paa.ba(" + (var_r != null ? "{...}" : "null") + ')'); - } - } - - final void method612() { - anInt5560++; - if (anInt5529 > 0 && anInt5537 > 0) { - method688(5, false); - if ((aByte5581 & 0x10) == 0 && aClass270_5575.anInterface8_3463 == null) method678(false, (byte) 27); - method691((byte) 124); - } - } - - final int na() { - if (!aBoolean5527) method692((byte) -123); - anInt5578++; - return aShort5634; - } - - final void k(int i) { - anInt5622++; - int i_171_ = Class70.anIntArray1207[i]; - int i_172_ = Class70.anIntArray1204[i]; - for (int i_173_ = 0; i_173_ < anInt5557; i_173_++) { - int i_174_ = ((anIntArray5543[i_173_] * i_172_ + anIntArray5644[i_173_] * i_171_) >> 14); - anIntArray5644[i_173_] = anIntArray5644[i_173_] * i_172_ + -(anIntArray5543[i_173_] * i_171_) >> 14; - anIntArray5543[i_173_] = i_174_; - } - for (int i_175_ = 0; i_175_ < anInt5529; i_175_++) { - int i_176_ = ((aShortArray5564[i_175_] * i_172_ + aShortArray5576[i_175_] * i_171_) >> 14); - aShortArray5576[i_175_] = (short) ((i_172_ * aShortArray5576[i_175_] + -(i_171_ * aShortArray5564[i_175_])) >> 14); - aShortArray5564[i_175_] = (short) i_176_; - } - if (aClass123_5563 == null && aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; - if (aClass123_5563 != null) aClass123_5563.anInterface2_1811 = null; - if (aClass123_5605 != null) aClass123_5605.anInterface2_1811 = null; - aBoolean5527 = false; - } - - private final void method685(byte i, r_Sub2 var_r_Sub2) { - try { - if (aHa_Sub2_5598.anIntArray7880.length < anInt5529) { - aHa_Sub2_5598.anIntArray7883 = new int[anInt5529]; - aHa_Sub2_5598.anIntArray7880 = new int[anInt5529]; - } - anInt5530++; - int[] is = aHa_Sub2_5598.anIntArray7880; - if (i < 91) method619(); - int[] is_177_ = aHa_Sub2_5598.anIntArray7883; - for (int i_178_ = 0; anInt5557 > i_178_; i_178_++) { - int i_179_ = ((-((aHa_Sub2_5598.anInt7772 * anIntArray5593[i_178_]) >> 8) + anIntArray5543[i_178_] >> aHa_Sub2_5598.anInt7731) - var_r_Sub2.anInt10489); - int i_180_ = (((anIntArray5644[i_178_] + -((aHa_Sub2_5598.anInt7777 * anIntArray5593[i_178_]) >> 8)) >> aHa_Sub2_5598.anInt7731) + -var_r_Sub2.anInt10484); - int i_181_ = anIntArray5528[i_178_]; - int i_182_ = anIntArray5528[1 + i_178_]; - for (int i_183_ = i_181_; i_182_ > i_183_; i_183_++) { - int i_184_ = aShortArray5649[i_183_] + -1; - if (i_184_ == -1) break; - is[i_184_] = i_179_; - is_177_[i_184_] = i_180_; - } - } - for (int i_185_ = 0; i_185_ < anInt5537; i_185_++) { - if (aByteArray5542 == null || aByteArray5542[i_185_] <= 128) { - short i_186_ = aShortArray5592[i_185_]; - short i_187_ = aShortArray5579[i_185_]; - short i_188_ = aShortArray5566[i_185_]; - int i_189_ = is[i_186_]; - int i_190_ = is[i_187_]; - int i_191_ = is[i_188_]; - int i_192_ = is_177_[i_186_]; - int i_193_ = is_177_[i_187_]; - int i_194_ = is_177_[i_188_]; - if (((i_189_ + -i_190_) * (-i_194_ + i_193_) - (-i_190_ + i_191_) * (-i_192_ + i_193_)) > 0) var_r_Sub2.method3294(i_191_, i_189_, i_192_, 28, i_190_, i_194_, i_193_); - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("paa.U(" + i + ',' + (var_r_Sub2 != null ? "{...}" : "null") + ')')); - } - } - - final void method624(int i, int i_195_, int i_196_, int i_197_) { - anInt5534++; - for (int i_198_ = 0; anInt5632 > i_198_; i_198_++) { - int i_199_ = 0xffff & aShortArray5580[i_198_]; - int i_200_ = (i_199_ & 0xfd9e) >> 10; - int i_201_ = i_199_ >> 7 & 0x7; - if (i != -1) i_200_ = (i_197_ * (-i_200_ + i) >> 7) + i_200_; - int i_202_ = i_199_ & 0x7f; - if (i_195_ != -1) i_201_ = (i_197_ * (i_195_ - i_201_) >> 7) + i_201_; - if (i_196_ != -1) i_202_ += (i_196_ + -i_202_) * i_197_ >> 7; - aShortArray5580[i_198_] = (short) (Class273.method2057(Class273.method2057(i_201_ << 7, i_200_ << 10), i_202_)); - } - if (aClass118Array5621 != null) { - for (int i_203_ = 0; i_203_ < anInt5536; i_203_++) { - Class118 class118 = aClass118Array5621[i_203_]; - Class48 class48 = aClass48Array5596[i_203_]; - class48.anInt858 = ((0xffffff & (Class10.anIntArray179[0xffff & (aShortArray5580[class118.anInt1783])])) | class48.anInt858 & ~0xffffff); - } - } - if (aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; - } - - final void H(int i, int i_204_, int i_205_) { - anInt5547++; - for (int i_206_ = 0; anInt5557 > i_206_; i_206_++) { - if (i != 0) anIntArray5543[i_206_] += i; - if (i_204_ != 0) anIntArray5593[i_206_] += i_204_; - if (i_205_ != 0) anIntArray5644[i_206_] += i_205_; - } - aBoolean5527 = false; - if (aClass123_5605 != null) aClass123_5605.anInterface2_1811 = null; - } - - final void a(int i) { - anInt5538++; - int i_207_ = Class70.anIntArray1207[i]; - int i_208_ = Class70.anIntArray1204[i]; - for (int i_209_ = 0; anInt5557 > i_209_; i_209_++) { - int i_210_ = ((i_208_ * anIntArray5543[i_209_] + i_207_ * anIntArray5644[i_209_]) >> 14); - anIntArray5644[i_209_] = anIntArray5644[i_209_] * i_208_ + -(anIntArray5543[i_209_] * i_207_) >> 14; - anIntArray5543[i_209_] = i_210_; - } - aBoolean5527 = false; - if (aClass123_5605 != null) aClass123_5605.anInterface2_1811 = null; - } - - final boolean F() { - anInt5612++; - return aBoolean5595; - } - - final void method622() { - anInt5613++; - } - - private final Class64 method686(Class64_Sub3 class64_sub3_211_, int i, int i_212_, boolean bool, Class64_Sub3 class64_sub3_213_, boolean bool_214_) { - try { - anInt5628++; - class64_sub3_211_.anInt5642 = anInt5642; - class64_sub3_211_.anInt5556 = anInt5556; - class64_sub3_211_.anInt5536 = anInt5536; - class64_sub3_211_.aByte5581 = (byte) 0; - class64_sub3_211_.aShort5544 = aShort5544; - class64_sub3_211_.anInt5529 = anInt5529; - class64_sub3_211_.aBoolean5638 = aBoolean5638; - class64_sub3_211_.anInt5648 = i; - class64_sub3_211_.aShort5645 = aShort5645; - class64_sub3_211_.anInt5632 = anInt5632; - class64_sub3_211_.anInt5537 = anInt5537; - class64_sub3_211_.anInt5557 = anInt5557; - if ((i & 0x100) == 0) class64_sub3_211_.aBoolean5595 = aBoolean5595; - else class64_sub3_211_.aBoolean5595 = true; - boolean bool_215_ = Class348.method2709(anInt5556, i, -1); - boolean bool_216_ = Class223.method1613(false, anInt5556, i); - boolean bool_217_ = Class299_Sub1.method2259(i_212_, anInt5556, i); - boolean bool_218_ = bool_217_ | (bool_216_ | bool_215_); - if (bool_218_) { - if (!bool_215_) class64_sub3_211_.anIntArray5543 = anIntArray5543; - else if (class64_sub3_213_.anIntArray5543 != null && (class64_sub3_213_.anIntArray5543.length >= anInt5642)) class64_sub3_211_.anIntArray5543 = class64_sub3_213_.anIntArray5543; - else class64_sub3_211_.anIntArray5543 = class64_sub3_213_.anIntArray5543 = new int[anInt5642]; - if (bool_216_) { - if (class64_sub3_213_.anIntArray5593 != null && (anInt5642 <= class64_sub3_213_.anIntArray5593.length)) class64_sub3_211_.anIntArray5593 = class64_sub3_213_.anIntArray5593; - else class64_sub3_211_.anIntArray5593 = class64_sub3_213_.anIntArray5593 = new int[anInt5642]; - } else class64_sub3_211_.anIntArray5593 = anIntArray5593; - if (bool_217_) { - if (class64_sub3_213_.anIntArray5644 == null || (class64_sub3_213_.anIntArray5644.length < anInt5642)) class64_sub3_211_.anIntArray5644 = class64_sub3_213_.anIntArray5644 = new int[anInt5642]; - else class64_sub3_211_.anIntArray5644 = class64_sub3_213_.anIntArray5644; - } else class64_sub3_211_.anIntArray5644 = anIntArray5644; - for (int i_219_ = 0; anInt5642 > i_219_; i_219_++) { - if (bool_215_) class64_sub3_211_.anIntArray5543[i_219_] = anIntArray5543[i_219_]; - if (bool_216_) class64_sub3_211_.anIntArray5593[i_219_] = anIntArray5593[i_219_]; - if (bool_217_) class64_sub3_211_.anIntArray5644[i_219_] = anIntArray5644[i_219_]; - } - } else { - class64_sub3_211_.anIntArray5644 = anIntArray5644; - class64_sub3_211_.anIntArray5593 = anIntArray5593; - class64_sub3_211_.anIntArray5543 = anIntArray5543; - } - if (Class288.method2187(i, -79, anInt5556)) { - class64_sub3_211_.aClass123_5605 = class64_sub3_213_.aClass123_5605; - if (bool_214_) class64_sub3_211_.aByte5581 |= 0x1; - class64_sub3_211_.aClass123_5605.anInterface2_1811 = aClass123_5605.anInterface2_1811; - class64_sub3_211_.aClass123_5605.aByte1812 = aClass123_5605.aByte1812; - } else if (!Class64.method616(i_212_ + 2, i, anInt5556)) class64_sub3_211_.aClass123_5605 = null; - else class64_sub3_211_.aClass123_5605 = aClass123_5605; - if (Class122.method1087(12644, anInt5556, i)) { - if (class64_sub3_213_.aShortArray5580 != null && (class64_sub3_213_.aShortArray5580.length >= anInt5632)) class64_sub3_211_.aShortArray5580 = class64_sub3_213_.aShortArray5580; - else class64_sub3_211_.aShortArray5580 = class64_sub3_213_.aShortArray5580 = new short[anInt5632]; - for (int i_220_ = 0; i_220_ < anInt5632; i_220_++) - class64_sub3_211_.aShortArray5580[i_220_] = aShortArray5580[i_220_]; - } else class64_sub3_211_.aShortArray5580 = aShortArray5580; - if (Class278.method2075(i, -128, anInt5556)) { - if (class64_sub3_213_.aByteArray5542 == null || (class64_sub3_213_.aByteArray5542.length < anInt5632)) class64_sub3_211_.aByteArray5542 = class64_sub3_213_.aByteArray5542 = new byte[anInt5632]; - else class64_sub3_211_.aByteArray5542 = class64_sub3_213_.aByteArray5542; - for (int i_221_ = 0; anInt5632 > i_221_; i_221_++) - class64_sub3_211_.aByteArray5542[i_221_] = aByteArray5542[i_221_]; - } else class64_sub3_211_.aByteArray5542 = aByteArray5542; - if (Class273.method2056(i, 108, anInt5556)) { - class64_sub3_211_.aClass123_5610 = class64_sub3_213_.aClass123_5610; - if (bool_214_) class64_sub3_211_.aByte5581 |= 0x2; - class64_sub3_211_.aClass123_5610.anInterface2_1811 = aClass123_5610.anInterface2_1811; - class64_sub3_211_.aClass123_5610.aByte1812 = aClass123_5610.aByte1812; - } else if (Class146.method1193(anInt5556, i, true)) class64_sub3_211_.aClass123_5610 = aClass123_5610; - else class64_sub3_211_.aClass123_5610 = null; - if (Class156.method1241(anInt5556, i, -119)) { - if (class64_sub3_213_.aShortArray5564 != null && class64_sub3_213_.aShortArray5564.length >= anInt5529) { - class64_sub3_211_.aShortArray5564 = class64_sub3_213_.aShortArray5564; - class64_sub3_211_.aShortArray5583 = class64_sub3_213_.aShortArray5583; - class64_sub3_211_.aShortArray5576 = class64_sub3_213_.aShortArray5576; - } else { - int i_222_ = anInt5529; - class64_sub3_211_.aShortArray5583 = class64_sub3_213_.aShortArray5583 = new short[i_222_]; - class64_sub3_211_.aShortArray5564 = class64_sub3_213_.aShortArray5564 = new short[i_222_]; - class64_sub3_211_.aShortArray5576 = class64_sub3_213_.aShortArray5576 = new short[i_222_]; - } - if (aClass139_5572 == null) { - for (int i_223_ = 0; i_223_ < anInt5529; i_223_++) { - class64_sub3_211_.aShortArray5564[i_223_] = aShortArray5564[i_223_]; - class64_sub3_211_.aShortArray5583[i_223_] = aShortArray5583[i_223_]; - class64_sub3_211_.aShortArray5576[i_223_] = aShortArray5576[i_223_]; - } - } else { - if (class64_sub3_213_.aClass139_5572 == null) class64_sub3_213_.aClass139_5572 = new Class139(); - Class139 class139 = (class64_sub3_211_.aClass139_5572 = class64_sub3_213_.aClass139_5572); - if (class139.aShortArray1954 == null || (anInt5529 > class139.aShortArray1954.length)) { - int i_224_ = anInt5529; - class139.aShortArray1951 = new short[i_224_]; - class139.aShortArray1953 = new short[i_224_]; - class139.aShortArray1954 = new short[i_224_]; - class139.aByteArray1948 = new byte[i_224_]; - } - for (int i_225_ = 0; anInt5529 > i_225_; i_225_++) { - class64_sub3_211_.aShortArray5564[i_225_] = aShortArray5564[i_225_]; - class64_sub3_211_.aShortArray5583[i_225_] = aShortArray5583[i_225_]; - class64_sub3_211_.aShortArray5576[i_225_] = aShortArray5576[i_225_]; - class139.aShortArray1954[i_225_] = (aClass139_5572.aShortArray1954[i_225_]); - class139.aShortArray1951[i_225_] = (aClass139_5572.aShortArray1951[i_225_]); - class139.aShortArray1953[i_225_] = (aClass139_5572.aShortArray1953[i_225_]); - class139.aByteArray1948[i_225_] = (aClass139_5572.aByteArray1948[i_225_]); - } - } - class64_sub3_211_.aByteArray5594 = aByteArray5594; - } else { - class64_sub3_211_.aShortArray5564 = aShortArray5564; - class64_sub3_211_.aShortArray5583 = aShortArray5583; - class64_sub3_211_.aClass139_5572 = aClass139_5572; - class64_sub3_211_.aByteArray5594 = aByteArray5594; - class64_sub3_211_.aShortArray5576 = aShortArray5576; - } - if (Class348_Sub47.method3325(i, anInt5556, true)) { - if (bool_214_) class64_sub3_211_.aByte5581 |= 0x4; - class64_sub3_211_.aClass123_5563 = class64_sub3_213_.aClass123_5563; - class64_sub3_211_.aClass123_5563.anInterface2_1811 = aClass123_5563.anInterface2_1811; - class64_sub3_211_.aClass123_5563.aByte1812 = aClass123_5563.aByte1812; - } else if (!aa_Sub3.method166((byte) 108, anInt5556, i)) class64_sub3_211_.aClass123_5563 = null; - else class64_sub3_211_.aClass123_5563 = aClass123_5563; - if (Class286_Sub9.method2174((byte) 121, i, anInt5556)) { - if (class64_sub3_213_.aFloatArray5552 != null && (class64_sub3_213_.aFloatArray5552.length >= anInt5632)) { - class64_sub3_211_.aFloatArray5571 = class64_sub3_213_.aFloatArray5571; - class64_sub3_211_.aFloatArray5552 = class64_sub3_213_.aFloatArray5552; - } else { - int i_226_ = anInt5529; - class64_sub3_211_.aFloatArray5571 = class64_sub3_213_.aFloatArray5571 = new float[i_226_]; - class64_sub3_211_.aFloatArray5552 = class64_sub3_213_.aFloatArray5552 = new float[i_226_]; - } - for (int i_227_ = 0; i_227_ < anInt5529; i_227_++) { - class64_sub3_211_.aFloatArray5552[i_227_] = aFloatArray5552[i_227_]; - class64_sub3_211_.aFloatArray5571[i_227_] = aFloatArray5571[i_227_]; - } - } else { - class64_sub3_211_.aFloatArray5571 = aFloatArray5571; - class64_sub3_211_.aFloatArray5552 = aFloatArray5552; - } - if (Class202.method1475((byte) -96, anInt5556, i)) { - class64_sub3_211_.aClass123_5620 = class64_sub3_213_.aClass123_5620; - if (bool_214_) class64_sub3_211_.aByte5581 |= 0x8; - class64_sub3_211_.aClass123_5620.anInterface2_1811 = aClass123_5620.anInterface2_1811; - class64_sub3_211_.aClass123_5620.aByte1812 = aClass123_5620.aByte1812; - } else if (Class137.method1163(anInt5556, (byte) -60, i)) class64_sub3_211_.aClass123_5620 = aClass123_5620; - else class64_sub3_211_.aClass123_5620 = null; - if (Class314_Sub1.method2352(-19, anInt5556, i)) { - if (class64_sub3_213_.aShortArray5592 != null && (anInt5632 <= class64_sub3_213_.aShortArray5592.length)) { - class64_sub3_211_.aShortArray5579 = class64_sub3_213_.aShortArray5579; - class64_sub3_211_.aShortArray5592 = class64_sub3_213_.aShortArray5592; - class64_sub3_211_.aShortArray5566 = class64_sub3_213_.aShortArray5566; - } else { - int i_228_ = anInt5632; - class64_sub3_211_.aShortArray5566 = class64_sub3_213_.aShortArray5566 = new short[i_228_]; - class64_sub3_211_.aShortArray5592 = class64_sub3_213_.aShortArray5592 = new short[i_228_]; - class64_sub3_211_.aShortArray5579 = class64_sub3_213_.aShortArray5579 = new short[i_228_]; - } - for (int i_229_ = 0; anInt5632 > i_229_; i_229_++) { - class64_sub3_211_.aShortArray5592[i_229_] = aShortArray5592[i_229_]; - class64_sub3_211_.aShortArray5579[i_229_] = aShortArray5579[i_229_]; - class64_sub3_211_.aShortArray5566[i_229_] = aShortArray5566[i_229_]; - } - } else { - class64_sub3_211_.aShortArray5566 = aShortArray5566; - class64_sub3_211_.aShortArray5579 = aShortArray5579; - class64_sub3_211_.aShortArray5592 = aShortArray5592; - } - if (Class69.method723(i, anInt5556, (byte) -70)) { - if (bool_214_) class64_sub3_211_.aByte5581 |= 0x10; - class64_sub3_211_.aClass270_5575 = class64_sub3_213_.aClass270_5575; - class64_sub3_211_.aClass270_5575.anInterface8_3463 = aClass270_5575.anInterface8_3463; - } else if (!Class156.method1238(i, anInt5556, -93)) class64_sub3_211_.aClass270_5575 = null; - else class64_sub3_211_.aClass270_5575 = aClass270_5575; - if (Class230.method1637(anInt5556, 32768, i)) { - if (class64_sub3_213_.aShortArray5601 == null || class64_sub3_213_.aShortArray5601.length < anInt5632) { - int i_230_ = anInt5632; - class64_sub3_211_.aShortArray5601 = class64_sub3_213_.aShortArray5601 = new short[i_230_]; - } else class64_sub3_211_.aShortArray5601 = class64_sub3_213_.aShortArray5601; - for (int i_231_ = 0; anInt5632 > i_231_; i_231_++) - class64_sub3_211_.aShortArray5601[i_231_] = aShortArray5601[i_231_]; - } else class64_sub3_211_.aShortArray5601 = aShortArray5601; - if (Class219.method1599((byte) -113, i, anInt5556)) { - if (class64_sub3_213_.aClass48Array5596 != null && (class64_sub3_213_.aClass48Array5596.length >= anInt5536)) { - class64_sub3_211_.aClass48Array5596 = class64_sub3_213_.aClass48Array5596; - for (int i_232_ = 0; i_232_ < anInt5536; i_232_++) - class64_sub3_211_.aClass48Array5596[i_232_].method451(aClass48Array5596[i_232_], (byte) -110); - } else { - int i_233_ = anInt5536; - class64_sub3_211_.aClass48Array5596 = class64_sub3_213_.aClass48Array5596 = new Class48[i_233_]; - for (int i_234_ = 0; anInt5536 > i_234_; i_234_++) - class64_sub3_211_.aClass48Array5596[i_234_] = aClass48Array5596[i_234_].method452(true); - } - } else class64_sub3_211_.aClass48Array5596 = aClass48Array5596; - class64_sub3_211_.anIntArray5528 = anIntArray5528; - class64_sub3_211_.aClass342Array5541 = aClass342Array5541; - class64_sub3_211_.anIntArray5626 = anIntArray5626; - if (aBoolean5527) { - class64_sub3_211_.aShort5540 = aShort5540; - class64_sub3_211_.aShort5559 = aShort5559; - class64_sub3_211_.aShort5617 = aShort5617; - class64_sub3_211_.aShort5586 = aShort5586; - class64_sub3_211_.aShort5629 = aShort5629; - class64_sub3_211_.aShort5591 = aShort5591; - class64_sub3_211_.aBoolean5527 = true; - class64_sub3_211_.aShort5634 = aShort5634; - class64_sub3_211_.aShort5646 = aShort5646; - } else class64_sub3_211_.aBoolean5527 = false; - class64_sub3_211_.aClass118Array5621 = aClass118Array5621; - class64_sub3_211_.aShortArray5608 = aShortArray5608; - class64_sub3_211_.anIntArrayArray5539 = anIntArrayArray5539; - class64_sub3_211_.aShortArray5649 = aShortArray5649; - class64_sub3_211_.anIntArrayArray5553 = anIntArrayArray5553; - class64_sub3_211_.aShortArray5573 = aShortArray5573; - class64_sub3_211_.anIntArrayArray5627 = anIntArrayArray5627; - class64_sub3_211_.aClass129Array5640 = aClass129Array5640; - return class64_sub3_211_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("paa.K(" + (class64_sub3_211_ != null ? "{...}" : "null") + ',' + i + ',' + i_212_ + ',' + bool + ',' + (class64_sub3_213_ != null ? "{...}" : "null") + ',' + bool_214_ + ')')); - } - } - - final void LA(int i) { - if (aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; - anInt5623++; - aShort5645 = (short) i; - if (aClass123_5563 != null) aClass123_5563.anInterface2_1811 = null; - } - - final void wa() { - for (int i = 0; i < anInt5642; i++) { - anIntArray5543[i] = 7 + anIntArray5543[i] >> 4; - anIntArray5593[i] = 7 + anIntArray5593[i] >> 4; - anIntArray5644[i] = anIntArray5644[i] - -7 >> 4; - } - anInt5585++; - if (aClass123_5605 != null) aClass123_5605.anInterface2_1811 = null; - aBoolean5527 = false; - } - - final void method608(Class101 class101, Class318_Sub3 class318_sub3, int i, int i_235_) { - try { - anInt5639++; - if (anInt5529 != 0) { - Class101_Sub3 class101_sub3 = aHa_Sub2_5598.aClass101_Sub3_7760; - Class101_Sub3 class101_sub3_236_ = (Class101_Sub3) class101; - if (!aBoolean5527) method692((byte) -123); - Class320.aFloat3994 = ((class101_sub3_236_.aFloat5750 * class101_sub3.aFloat5756) + (class101_sub3.aFloat5754 * class101_sub3_236_.aFloat5769) + (class101_sub3.aFloat5784 * class101_sub3_236_.aFloat5754)); - Class49.aFloat4720 = ((class101_sub3_236_.aFloat5751 * class101_sub3.aFloat5784) + ((class101_sub3.aFloat5756 * class101_sub3_236_.aFloat5747) + (class101_sub3_236_.aFloat5772 * class101_sub3.aFloat5754)) + class101_sub3.aFloat5751); - float f = (Class49.aFloat4720 + Class320.aFloat3994 * (float) aShort5591); - float f_237_ = (Class320.aFloat3994 * (float) aShort5629 + Class49.aFloat4720); - float f_238_; - float f_239_; - if (f > f_237_) { - f_238_ = f + (float) aShort5634; - f_239_ = (float) -aShort5634 + f_237_; - } else { - f_238_ = (float) aShort5634 + f_237_; - f_239_ = f - (float) aShort5634; - } - if (!(f_239_ >= aHa_Sub2_5598.aFloat7875) && !((float) aHa_Sub2_5598.anInt7826 >= f_238_)) { - Class299_Sub1_Sub1.aFloat8696 = ((class101_sub3.aFloat5781 * class101_sub3_236_.aFloat5754) + ((class101_sub3_236_.aFloat5769 * class101_sub3.aFloat5750) + ((class101_sub3_236_.aFloat5750) * (class101_sub3.aFloat5770)))); - Class190.aFloat2555 = ((class101_sub3.aFloat5781 * class101_sub3_236_.aFloat5751) + ((class101_sub3_236_.aFloat5772 * class101_sub3.aFloat5750) + (class101_sub3.aFloat5770 * (class101_sub3_236_.aFloat5747))) + class101_sub3.aFloat5747); - float f_240_ = (Class190.aFloat2555 + ((float) aShort5591 * Class299_Sub1_Sub1.aFloat8696)); - float f_241_ = (Class190.aFloat2555 + ((float) aShort5629 * Class299_Sub1_Sub1.aFloat8696)); - float f_242_; - float f_243_; - if (f_240_ > f_241_) { - f_242_ = ((float) aHa_Sub2_5598.anInt7771 * (f_240_ + (float) aShort5634)); - f_243_ = ((float) aHa_Sub2_5598.anInt7771 * (f_241_ - (float) aShort5634)); - } else { - f_243_ = ((float) aHa_Sub2_5598.anInt7771 * ((float) -aShort5634 + f_240_)); - f_242_ = ((float) aHa_Sub2_5598.anInt7771 * (f_241_ + (float) aShort5634)); - } - if (!(aHa_Sub2_5598.aFloat7835 <= f_243_ / (float) i) && !(f_242_ / (float) i <= aHa_Sub2_5598.aFloat7872)) { - Class252.aFloat3242 = ((class101_sub3.aFloat5769 * (class101_sub3_236_.aFloat5769)) + ((class101_sub3_236_.aFloat5750) * class101_sub3.aFloat5761) + ((class101_sub3_236_.aFloat5754) * (class101_sub3.aFloat5762))); - Class156.aFloat2111 = (class101_sub3.aFloat5772 + ((class101_sub3.aFloat5762 * (class101_sub3_236_.aFloat5751)) + (((class101_sub3.aFloat5769) * (class101_sub3_236_.aFloat5772)) + ((class101_sub3.aFloat5761) * (class101_sub3_236_.aFloat5747))))); - float f_244_ = (Class252.aFloat3242 * (float) aShort5591 + Class156.aFloat2111); - float f_245_ = (Class156.aFloat2111 + (float) aShort5629 * Class252.aFloat3242); - float f_246_; - float f_247_; - if (f_245_ < f_244_) { - f_247_ = (((float) -aShort5634 + f_245_) * (float) (aHa_Sub2_5598.anInt7794)); - f_246_ = ((float) aHa_Sub2_5598.anInt7794 * ((float) aShort5634 + f_244_)); - } else { - f_246_ = ((float) aHa_Sub2_5598.anInt7794 * (f_245_ + (float) aShort5634)); - f_247_ = ((float) aHa_Sub2_5598.anInt7794 * (f_244_ - (float) aShort5634)); - } - if (!(f_247_ / (float) i >= aHa_Sub2_5598.aFloat7830) && !(aHa_Sub2_5598.aFloat7836 >= f_246_ / (float) i)) { - if (class318_sub3 != null || aClass118Array5621 != null) { - Class314.aFloat3943 = (((class101_sub3_236_.aFloat5770) * (class101_sub3.aFloat5761)) + ((class101_sub3.aFloat5769) * class101_sub3_236_.aFloat5761) + ((class101_sub3_236_.aFloat5756) * (class101_sub3.aFloat5762))); - Class313.aFloat3935 = (((class101_sub3.aFloat5781) * (class101_sub3_236_.aFloat5784)) + ((class101_sub3_236_.aFloat5781 * (class101_sub3.aFloat5770)) + ((class101_sub3.aFloat5750) * (class101_sub3_236_.aFloat5762)))); - Class318_Sub9_Sub1.aFloat8784 = (((class101_sub3.aFloat5784) * (class101_sub3_236_.aFloat5756)) + ((class101_sub3_236_.aFloat5770 * (class101_sub3.aFloat5756)) + ((class101_sub3.aFloat5754) * (class101_sub3_236_.aFloat5761)))); - Class215.aFloat2836 = (((class101_sub3_236_.aFloat5762) * (class101_sub3.aFloat5769)) + ((class101_sub3_236_.aFloat5781) * (class101_sub3.aFloat5761)) + ((class101_sub3.aFloat5762) * class101_sub3_236_.aFloat5784)); - Class286_Sub8.aFloat6304 = (((class101_sub3.aFloat5784) * (class101_sub3_236_.aFloat5784)) + ((class101_sub3_236_.aFloat5762 * (class101_sub3.aFloat5754)) + (class101_sub3_236_.aFloat5781 * (class101_sub3.aFloat5756)))); - Class167.aFloat2203 = (((class101_sub3_236_.aFloat5756) * (class101_sub3.aFloat5781)) + ((class101_sub3_236_.aFloat5761 * (class101_sub3.aFloat5750)) + (class101_sub3_236_.aFloat5770 * (class101_sub3.aFloat5770)))); - } - if (class318_sub3 != null) { - int i_248_ = aShort5586 + aShort5540 >> 1; - int i_249_ = aShort5617 + aShort5646 >> 1; - int i_250_ = (int) (((float) aShort5591 * Class299_Sub1_Sub1.aFloat8696) + (((float) i_248_ * Class167.aFloat2203) + Class190.aFloat2555) + (Class313.aFloat3935 * (float) i_249_)); - int i_251_ = (int) (Class156.aFloat2111 + ((float) i_248_ * Class314.aFloat3943) + (Class252.aFloat3242 * (float) aShort5591) + (Class215.aFloat2836 * (float) i_249_)); - int i_252_ = (int) (Class49.aFloat4720 + ((float) i_248_ * (Class318_Sub9_Sub1.aFloat8784)) + (Class320.aFloat3994 * (float) aShort5591) + (Class286_Sub8.aFloat6304 * (float) i_249_)); - int i_253_ = (int) ((Class313.aFloat3935 * (float) i_249_) + ((Class299_Sub1_Sub1.aFloat8696 * (float) aShort5629) + (Class190.aFloat2555 + (Class167.aFloat2203 * (float) i_248_)))); - int i_254_ = (int) (Class156.aFloat2111 + (Class314.aFloat3943 * (float) i_248_) + (Class252.aFloat3242 * (float) aShort5629) + ((float) i_249_ * Class215.aFloat2836)); - class318_sub3.anInt6405 = (aHa_Sub2_5598.anInt7853 - -(i_250_ * (aHa_Sub2_5598.anInt7771) / i)); - class318_sub3.anInt6402 = ((i_251_ * aHa_Sub2_5598.anInt7794 / i) + aHa_Sub2_5598.anInt7810); - class318_sub3.anInt6404 = (aHa_Sub2_5598.anInt7810 + (i_254_ * aHa_Sub2_5598.anInt7794 / i)); - int i_255_ = (int) (((float) i_249_ * Class286_Sub8.aFloat6304) + ((Class320.aFloat3994 * (float) aShort5629) + (((Class318_Sub9_Sub1.aFloat8784) * (float) i_248_) + Class49.aFloat4720))); - class318_sub3.anInt6406 = (aHa_Sub2_5598.anInt7853 + (i_253_ * aHa_Sub2_5598.anInt7771 / i)); - if (i_252_ >= aHa_Sub2_5598.anInt7826 || i_255_ >= (aHa_Sub2_5598.anInt7826)) { - class318_sub3.aBoolean6401 = true; - class318_sub3.anInt6403 = (-(class318_sub3.anInt6405) + ((aHa_Sub2_5598.anInt7853) + ((aHa_Sub2_5598.anInt7771) * (aShort5634 + i_250_) / i))); - } - } - aHa_Sub2_5598.method3789((byte) -122, (float) i); - aHa_Sub2_5598.method3760(1); - aHa_Sub2_5598.method3758(false, class101_sub3_236_); - method677((byte) 127); - aHa_Sub2_5598.method3734(true); - method682(true); - } - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("paa.Q(" + (class101 != null ? "{...}" : "null") + ',' + (class318_sub3 != null ? "{...}" : "null") + ',' + i + ',' + i_235_ + ')')); - } - } - - final int da() { - anInt5636++; - return aShort5645; - } - - final boolean NA() { - anInt5643++; - if (anIntArrayArray5539 == null) return false; - for (int i = 0; i < anInt5642; i++) { - anIntArray5543[i] <<= 4; - anIntArray5593[i] <<= 4; - anIntArray5644[i] <<= 4; - } - Class221.anInt2880 = 0; - za.anInt7275 = 0; - Class181.anInt2398 = 0; - return true; - } - - final int RA() { - if (!aBoolean5527) method692((byte) -123); - anInt5587++; - return aShort5586; - } - - final int G() { - anInt5631++; - if (!aBoolean5527) method692((byte) -123); - return aShort5646; - } - - final void p(int i, int i_256_, s var_s, s var_s_257_, int i_258_, int i_259_, int i_260_) { - do { - try { - anInt5532++; - if (!aBoolean5527) method692((byte) -123); - int i_261_ = aShort5540 + i_258_; - int i_262_ = i_258_ - -aShort5586; - int i_263_ = i_260_ - -aShort5617; - int i_264_ = aShort5646 + i_260_; - if ((i != 1 && i != 2 && i != 3 && i != 5) || (i_261_ >= 0 && (var_s.anInt4587 > (var_s.anInt4592 + i_262_ >> var_s.anInt4588)) && i_263_ >= 0 && (var_s.anInt4590 > (i_264_ - -var_s.anInt4592 >> var_s.anInt4588)))) { - if (i != 4 && i != 5) { - i_261_ >>= var_s.anInt4588; - i_262_ = (i_262_ - -var_s.anInt4592 - 1 >> var_s.anInt4588); - i_263_ >>= var_s.anInt4588; - i_264_ = (i_264_ + var_s.anInt4592 + -1 >> var_s.anInt4588); - if (i_259_ == var_s.method3982((byte) -86, i_263_, i_261_) && i_259_ == var_s.method3982((byte) -86, i_263_, i_262_) && i_259_ == var_s.method3982((byte) -86, i_264_, i_261_) && (var_s.method3982((byte) -86, i_264_, i_262_) == i_259_)) break; - } else if (var_s_257_ == null || (i_261_ < 0 || (((i_262_ - -var_s_257_.anInt4592) >> var_s_257_.anInt4588) >= var_s_257_.anInt4587) || i_263_ < 0 || (var_s_257_.anInt4590 <= (var_s_257_.anInt4592 + i_264_ >> var_s_257_.anInt4588)))) break; - if (i == 1) { - for (int i_265_ = 0; i_265_ < anInt5557; i_265_++) - anIntArray5593[i_265_] = (-i_259_ + anIntArray5593[i_265_] + var_s.method3986((anIntArray5543[i_265_] + i_258_), i_260_ + (anIntArray5644[i_265_]), (byte) -93)); - } else if (i == 2) { - int i_279_ = aShort5591; - if (i_279_ == 0) break; - for (int i_280_ = 0; anInt5557 > i_280_; i_280_++) { - int i_281_ = ((anIntArray5593[i_280_] << 16) / i_279_); - if (i_281_ < i_256_) anIntArray5593[i_280_] = (anIntArray5593[i_280_] - -((-i_259_ + (var_s.method3986((anIntArray5543[i_280_] - -i_258_), (i_260_ + anIntArray5644[i_280_]), (byte) -94))) * (-i_281_ + i_256_) / i_256_)); - } - } else if (i == 3) { - int i_266_ = (0xff & i_256_) * 4; - int i_267_ = 4 * ((0xff0e & i_256_) >> 8); - int i_268_ = 0x3fc0 & i_256_ >> 16 << 6; - int i_269_ = (0xff & i_256_ >> 24) << 6; - if (i_258_ + -(i_266_ >> 1) < 0 || (((i_266_ >> 1) + (i_258_ - -var_s.anInt4592)) >= (var_s.anInt4587 << var_s.anInt4588)) || -(i_267_ >> 1) + i_260_ < 0 || ((var_s.anInt4590 << var_s.anInt4588) <= ((i_267_ >> 1) + i_260_ + var_s.anInt4592))) - break; - this.method626(i_266_, 10947, i_269_, i_258_, i_267_, i_259_, i_268_, var_s, i_260_); - } else if (i == 4) { - int i_277_ = aShort5629 - aShort5591; - for (int i_278_ = 0; anInt5557 > i_278_; i_278_++) - anIntArray5593[i_278_] = (anIntArray5593[i_278_] - (-(var_s_257_.method3986(anIntArray5543[i_278_] + i_258_, anIntArray5644[i_278_] + i_260_, (byte) 71)) - -i_259_ - i_277_)); - } else if (i == 5) { - int i_270_ = -aShort5591 + aShort5629; - for (int i_271_ = 0; anInt5557 > i_271_; i_271_++) { - int i_272_ = anIntArray5543[i_271_] + i_258_; - int i_273_ = anIntArray5644[i_271_] + i_260_; - int i_274_ = var_s.method3986(i_272_, i_273_, (byte) -100); - int i_275_ = var_s_257_.method3986(i_272_, i_273_, (byte) 93); - int i_276_ = -i_256_ + i_274_ + -i_275_; - anIntArray5593[i_271_] = i_274_ + (-i_259_ + (((anIntArray5593[i_271_] << 8) / i_270_ * i_276_) >> 8)); - } - } - aBoolean5527 = false; - if (aClass123_5605 == null) break; - aClass123_5605.anInterface2_1811 = null; - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("paa.p(" + i + ',' + i_256_ + ',' + (var_s != null ? "{...}" : "null") + ',' + (var_s_257_ != null ? "{...}" : "null") + ',' + i_258_ + ',' + i_259_ + ',' + i_260_ + ')')); - } - break; - } while (false); - } - - static final void method687(byte i, int i_282_) { - int i_283_ = 113 / ((-63 - i) / 53); - anInt5570++; - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i_282_, (byte) 105, 5); - class348_sub42_sub15.method3251(-16058); - } - - final void aa(short i, short i_284_) { - anInt5590++; - d var_d = aHa_Sub2_5598.aD4579; - for (int i_285_ = 0; i_285_ < anInt5632; i_285_++) { - if (aShortArray5601[i_285_] == i) aShortArray5601[i_285_] = i_284_; - } - byte i_286_ = 0; - byte i_287_ = 0; - if (i != -1) { - Class12 class12 = var_d.method3(0xffff & i, -6662); - i_287_ = class12.aByte216; - i_286_ = class12.aByte201; - } - byte i_288_ = 0; - byte i_289_ = 0; - if (i_284_ != -1) { - Class12 class12 = var_d.method3(i_284_ & 0xffff, -6662); - if (class12.aByte198 != 0 || class12.aByte211 != 0) aBoolean5638 = true; - i_288_ = class12.aByte201; - i_289_ = class12.aByte216; - } - if (i_287_ != i_289_ | i_286_ != i_288_) { - if (aClass118Array5621 != null) { - for (int i_290_ = 0; i_290_ < anInt5536; i_290_++) { - Class118 class118 = aClass118Array5621[i_290_]; - Class48 class48 = aClass48Array5596[i_290_]; - class48.anInt858 = ((0xffffff & (Class10.anIntArray179[0xffff & (aShortArray5580[class118.anInt1783])])) | class48.anInt858 & ~0xffffff); - } - } - if (aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; - } - } - - private final void method688(int i, boolean bool) { - anInt5588++; - boolean bool_291_ = (aClass123_5610 != null && aClass123_5610.anInterface2_1811 == null); - boolean bool_292_ = (aClass123_5563 != null && aClass123_5563.anInterface2_1811 == null); - boolean bool_293_ = (aClass123_5605 != null && aClass123_5605.anInterface2_1811 == null); - boolean bool_294_ = (aClass123_5620 != null && aClass123_5620.anInterface2_1811 == null); - if (bool) { - bool_294_ = bool_294_ & (aByte5581 & 0x8) != 0; - bool_292_ = bool_292_ & (aByte5581 & 0x4) != 0; - bool_291_ = bool_291_ & (0x2 & aByte5581) != 0; - bool_293_ = bool_293_ & (0x1 & aByte5581) != 0; - } - byte i_295_ = 0; - if (i == 5) { - byte i_296_ = 0; - byte i_297_ = 0; - byte i_298_ = 0; - if (bool_293_) { - i_296_ = i_295_; - i_295_ += 12; - } - byte i_299_ = 0; - if (bool_291_) { - i_297_ = i_295_; - i_295_ += 4; - } - if (bool_292_) { - i_298_ = i_295_; - i_295_ += 12; - } - if (bool_294_) { - i_299_ = i_295_; - i_295_ += 8; - } - if (i_295_ != 0) { - if (anInt5529 * i_295_ > (aHa_Sub2_5598.aClass348_Sub49_Sub1_7798.aByteArray7154).length) aHa_Sub2_5598.aClass348_Sub49_Sub1_7798 = new Class348_Sub49_Sub1(i_295_ * (100 + anInt5529)); - else aHa_Sub2_5598.aClass348_Sub49_Sub1_7798.anInt7197 = 0; - Class348_Sub49_Sub1 class348_sub49_sub1 = aHa_Sub2_5598.aClass348_Sub49_Sub1_7798; - if (bool_293_) { - if (aHa_Sub2_5598.aBoolean7775) { - for (int i_300_ = 0; anInt5557 > i_300_; i_300_++) { - int i_301_ = (Stream.floatToRawIntBits((float) anIntArray5543[i_300_])); - int i_302_ = (Stream.floatToRawIntBits((float) anIntArray5593[i_300_])); - int i_303_ = (Stream.floatToRawIntBits((float) anIntArray5644[i_300_])); - int i_304_ = anIntArray5528[i_300_]; - int i_305_ = anIntArray5528[i_300_ - -1]; - for (int i_306_ = i_304_; i_306_ < i_305_; i_306_++) { - int i_307_ = -1 + aShortArray5649[i_306_]; - if (i_307_ == -1) break; - class348_sub49_sub1.anInt7197 = i_295_ * i_307_; - class348_sub49_sub1.writeInt((byte) 111, i_301_); - class348_sub49_sub1.writeInt((byte) 109, i_302_); - class348_sub49_sub1.writeInt((byte) 116, i_303_); - } - } - } else { - for (int i_308_ = 0; anInt5557 > i_308_; i_308_++) { - int i_309_ = (Stream.floatToRawIntBits((float) anIntArray5543[i_308_])); - int i_310_ = (Stream.floatToRawIntBits((float) anIntArray5593[i_308_])); - int i_311_ = (Stream.floatToRawIntBits((float) anIntArray5644[i_308_])); - int i_312_ = anIntArray5528[i_308_]; - int i_313_ = anIntArray5528[1 + i_308_]; - for (int i_314_ = i_312_; i_314_ < i_313_; i_314_++) { - int i_315_ = -1 + aShortArray5649[i_314_]; - if (i_315_ == -1) break; - class348_sub49_sub1.anInt7197 = i_295_ * i_315_; - class348_sub49_sub1.method3394(-23892, i_309_); - class348_sub49_sub1.method3394(i + -23897, i_310_); - class348_sub49_sub1.method3394(-23892, i_311_); - } - } - } - } - if (bool_291_) { - if (aClass123_5563 == null) { - short[] is; - byte[] is_316_; - short[] is_317_; - short[] is_318_; - if (aClass139_5572 == null) { - is = aShortArray5576; - is_316_ = aByteArray5594; - is_317_ = aShortArray5583; - is_318_ = aShortArray5564; - } else { - is_318_ = aClass139_5572.aShortArray1954; - is = aClass139_5572.aShortArray1953; - is_317_ = aClass139_5572.aShortArray1951; - is_316_ = aClass139_5572.aByteArray1948; - } - float f = aHa_Sub2_5598.aFloatArray7825[0]; - float f_319_ = aHa_Sub2_5598.aFloatArray7825[1]; - float f_320_ = aHa_Sub2_5598.aFloatArray7825[2]; - float f_321_ = aHa_Sub2_5598.aFloat7768; - float f_322_ = (aHa_Sub2_5598.aFloat7832 * 768.0F / (float) aShort5645); - float f_323_ = (aHa_Sub2_5598.aFloat7871 * 768.0F / (float) aShort5645); - for (int i_324_ = 0; anInt5632 > i_324_; i_324_++) { - int i_325_ = method680(19995, aShort5544, aByteArray5542[i_324_], aShortArray5601[i_324_], aShortArray5580[i_324_]); - float f_326_ = (aHa_Sub2_5598.aFloat7781 * (float) (i_325_ >>> 24)); - float f_327_ = ((float) (0xff & i_325_ >> 8) * aHa_Sub2_5598.aFloat7823); - float f_328_ = ((float) ((0xff88e4 & i_325_) >> 16) * aHa_Sub2_5598.aFloat7816); - int i_329_ = aShortArray5592[i_324_]; - short i_330_ = is_316_[i_329_]; - float f_331_; - if (i_330_ != 0) f_331_ = ((f_319_ * (float) is_317_[i_329_] + f * (float) is_318_[i_329_] + f_320_ * (float) is[i_329_]) / (float) (256 * i_330_)); - else f_331_ = (0.0026041667F * ((float) is[i_329_] * f_320_ + (f * (float) is_318_[i_329_] + ((float) is_317_[i_329_] * f_319_)))); - float f_332_ = f_321_ + f_331_ * (!(f_331_ < 0.0F) ? f_322_ : f_323_); - int i_333_ = (int) (f_332_ * f_326_); - int i_334_ = (int) (f_332_ * f_328_); - if (i_333_ >= 0) { - if (i_333_ > 255) i_333_ = 255; - } else i_333_ = 0; - int i_335_ = (int) (f_332_ * f_327_); - if (i_334_ >= 0) { - if (i_334_ > 255) i_334_ = 255; - } else i_334_ = 0; - class348_sub49_sub1.anInt7197 = i_329_ * i_295_ + i_297_; - if (i_335_ < 0) i_335_ = 0; - else if (i_335_ > 255) i_335_ = 255; - class348_sub49_sub1.writeByte(false, i_333_); - class348_sub49_sub1.writeByte(false, i_334_); - class348_sub49_sub1.writeByte(false, i_335_); - class348_sub49_sub1.writeByte(false, (255 + -((aByteArray5542[i_324_]) & 0xff))); - i_329_ = aShortArray5579[i_324_]; - i_330_ = is_316_[i_329_]; - if (i_330_ != 0) f_331_ = (((float) is[i_329_] * f_320_ + (f * (float) is_318_[i_329_] + (float) is_317_[i_329_] * f_319_)) / (float) (i_330_ * 256)); - else f_331_ = ((f * (float) is_318_[i_329_] + (float) is_317_[i_329_] * f_319_ + f_320_ * (float) is[i_329_]) * 0.0026041667F); - f_332_ = f_321_ + f_331_ * (f_331_ < 0.0F ? f_323_ : f_322_); - i_333_ = (int) (f_326_ * f_332_); - i_334_ = (int) (f_332_ * f_328_); - if (i_333_ < 0) i_333_ = 0; - else if (i_333_ > 255) i_333_ = 255; - if (i_334_ < 0) i_334_ = 0; - else if (i_334_ > 255) i_334_ = 255; - i_335_ = (int) (f_332_ * f_327_); - class348_sub49_sub1.anInt7197 = i_297_ - -(i_329_ * i_295_); - if (i_335_ < 0) i_335_ = 0; - else if (i_335_ > 255) i_335_ = 255; - class348_sub49_sub1.writeByte(false, i_333_); - class348_sub49_sub1.writeByte(false, i_334_); - class348_sub49_sub1.writeByte(false, i_335_); - class348_sub49_sub1.writeByte(false, 255 - (aByteArray5542[i_324_] & 0xff)); - i_329_ = aShortArray5566[i_324_]; - i_330_ = is_316_[i_329_]; - if (i_330_ != 0) f_331_ = (((float) is[i_329_] * f_320_ + ((float) is_317_[i_329_] * f_319_ + (float) is_318_[i_329_] * f)) / (float) (256 * i_330_)); - else f_331_ = (0.0026041667F * ((float) is[i_329_] * f_320_ + ((float) is_317_[i_329_] * f_319_ + f * (float) is_318_[i_329_]))); - f_332_ = f_321_ + (!(f_331_ < 0.0F) ? f_322_ : f_323_) * f_331_; - i_333_ = (int) (f_332_ * f_326_); - i_334_ = (int) (f_332_ * f_328_); - if (i_333_ >= 0) { - if (i_333_ > 255) i_333_ = 255; - } else i_333_ = 0; - if (i_334_ >= 0) { - if (i_334_ > 255) i_334_ = 255; - } else i_334_ = 0; - i_335_ = (int) (f_327_ * f_332_); - if (i_335_ >= 0) { - if (i_335_ > 255) i_335_ = 255; - } else i_335_ = 0; - class348_sub49_sub1.anInt7197 = i_295_ * i_329_ + i_297_; - class348_sub49_sub1.writeByte(false, i_333_); - class348_sub49_sub1.writeByte(false, i_334_); - class348_sub49_sub1.writeByte(false, i_335_); - class348_sub49_sub1.writeByte(false, (-(0xff & (aByteArray5542[i_324_])) + 255)); - } - } else { - for (int i_336_ = 0; i_336_ < anInt5632; i_336_++) { - int i_337_ = method680(i + 19990, aShort5544, aByteArray5542[i_336_], aShortArray5601[i_336_], aShortArray5580[i_336_]); - class348_sub49_sub1.anInt7197 = i_297_ + aShortArray5592[i_336_] * i_295_; - class348_sub49_sub1.writeInt((byte) 105, i_337_); - class348_sub49_sub1.anInt7197 = i_297_ - -(aShortArray5579[i_336_] * i_295_); - class348_sub49_sub1.writeInt((byte) 87, i_337_); - class348_sub49_sub1.anInt7197 = i_297_ - -(i_295_ * aShortArray5566[i_336_]); - class348_sub49_sub1.writeInt((byte) 120, i_337_); - } - } - } - if (bool_292_) { - byte[] is; - short[] is_338_; - short[] is_339_; - short[] is_340_; - if (aClass139_5572 == null) { - is_340_ = aShortArray5564; - is_338_ = aShortArray5583; - is = aByteArray5594; - is_339_ = aShortArray5576; - } else { - is = aClass139_5572.aByteArray1948; - is_338_ = aClass139_5572.aShortArray1951; - is_339_ = aClass139_5572.aShortArray1953; - is_340_ = aClass139_5572.aShortArray1954; - } - float f = 3.0F / (float) aShort5645; - class348_sub49_sub1.anInt7197 = i_298_; - float f_341_ = 3.0F / (float) (aShort5645 / 2 + aShort5645); - if (aHa_Sub2_5598.aBoolean7775) { - for (int i_345_ = 0; anInt5529 > i_345_; i_345_++) { - int i_346_ = is[i_345_] & 0xff; - if (i_346_ == 0) { - class348_sub49_sub1.method3400(f_341_ * (float) is_340_[i_345_], (byte) -96); - class348_sub49_sub1.method3400((float) is_338_[i_345_] * f_341_, (byte) -101); - class348_sub49_sub1.method3400(f_341_ * (float) is_339_[i_345_], (byte) -95); - } else { - float f_347_ = f / (float) i_346_; - class348_sub49_sub1.method3400((float) is_340_[i_345_] * f_347_, (byte) -102); - class348_sub49_sub1.method3400(f_347_ * (float) is_338_[i_345_], (byte) -127); - class348_sub49_sub1.method3400((float) is_339_[i_345_] * f_347_, (byte) -84); - } - class348_sub49_sub1.anInt7197 += -12 + i_295_; - } - } else { - for (int i_342_ = 0; i_342_ < anInt5529; i_342_++) { - int i_343_ = 0xff & is[i_342_]; - if (i_343_ == 0) { - class348_sub49_sub1.method3399(18291, (float) is_340_[i_342_] * f_341_); - class348_sub49_sub1.method3399(18291, (float) is_338_[i_342_] * f_341_); - class348_sub49_sub1.method3399(i + 18286, f_341_ * (float) is_339_[i_342_]); - } else { - float f_344_ = f / (float) i_343_; - class348_sub49_sub1.method3399(i ^ 0x4776, (float) is_340_[i_342_] * f_344_); - class348_sub49_sub1.method3399(18291, f_344_ * (float) is_338_[i_342_]); - class348_sub49_sub1.method3399(18291, f_344_ * (float) is_339_[i_342_]); - } - class348_sub49_sub1.anInt7197 += -12 + i_295_; - } - } - } - if (bool_294_) { - class348_sub49_sub1.anInt7197 = i_299_; - if (aHa_Sub2_5598.aBoolean7775) { - for (int i_348_ = 0; i_348_ < anInt5529; i_348_++) { - class348_sub49_sub1.method3400((aFloatArray5552[i_348_]), (byte) -127); - class348_sub49_sub1.method3400((aFloatArray5571[i_348_]), (byte) -126); - class348_sub49_sub1.anInt7197 += i_295_ + -8; - } - } else { - for (int i_349_ = 0; i_349_ < anInt5529; i_349_++) { - class348_sub49_sub1.method3399(i ^ 0x4776, (aFloatArray5552[i_349_])); - class348_sub49_sub1.method3399(18291, aFloatArray5571[i_349_]); - class348_sub49_sub1.anInt7197 += -8 + i_295_; - } - } - } - class348_sub49_sub1.anInt7197 = anInt5529 * i_295_; - Interface2 interface2; - if (bool) { - if (anInterface2_5554 != null) anInterface2_5554.method11(i_295_, class348_sub49_sub1.anInt7197, (class348_sub49_sub1.aByteArray7154), -9894); - else anInterface2_5554 = aHa_Sub2_5598.method3731(2, true, i_295_, (class348_sub49_sub1.aByteArray7154), (class348_sub49_sub1.anInt7197)); - interface2 = anInterface2_5554; - aByte5581 = (byte) 0; - } else { - interface2 = aHa_Sub2_5598.method3731(2, false, i_295_, (class348_sub49_sub1.aByteArray7154), (class348_sub49_sub1.anInt7197)); - aBoolean5555 = true; - } - if (bool_293_) { - aClass123_5605.aByte1812 = i_296_; - aClass123_5605.anInterface2_1811 = interface2; - } - if (bool_294_) { - aClass123_5620.aByte1812 = i_299_; - aClass123_5620.anInterface2_1811 = interface2; - } - if (bool_291_) { - aClass123_5610.aByte1812 = i_297_; - aClass123_5610.anInterface2_1811 = interface2; - } - if (bool_292_) { - aClass123_5563.aByte1812 = i_298_; - aClass123_5563.anInterface2_1811 = interface2; - } - } - } - } - - final void method615(Class101 class101, Class318_Sub3 class318_sub3, int i) { - try { - anInt5611++; - if (anInt5529 != 0) { - Class101_Sub3 class101_sub3 = aHa_Sub2_5598.aClass101_Sub3_7760; - if (!aBoolean5527) method692((byte) -123); - Class101_Sub3 class101_sub3_350_ = (Class101_Sub3) class101; - Class320.aFloat3994 = ((class101_sub3_350_.aFloat5754 * class101_sub3.aFloat5784) + ((class101_sub3_350_.aFloat5750 * class101_sub3.aFloat5756) + (class101_sub3_350_.aFloat5769 * class101_sub3.aFloat5754))); - Class49.aFloat4720 = (class101_sub3.aFloat5751 + ((class101_sub3.aFloat5756 * class101_sub3_350_.aFloat5747) + (class101_sub3_350_.aFloat5772 * class101_sub3.aFloat5754) + (class101_sub3_350_.aFloat5751 * class101_sub3.aFloat5784))); - float f = (Class49.aFloat4720 + Class320.aFloat3994 * (float) aShort5591); - float f_351_ = (Class320.aFloat3994 * (float) aShort5629 + Class49.aFloat4720); - float f_352_; - float f_353_; - if (f > f_351_) { - f_352_ = f_351_ - (float) aShort5634; - f_353_ = f + (float) aShort5634; - } else { - f_352_ = (float) -aShort5634 + f; - f_353_ = f_351_ + (float) aShort5634; - } - if (!(aHa_Sub2_5598.aFloat7874 <= f_352_) && !((float) aHa_Sub2_5598.anInt7826 >= f_353_)) { - Class299_Sub1_Sub1.aFloat8696 = ((class101_sub3.aFloat5750 * class101_sub3_350_.aFloat5769) + (class101_sub3_350_.aFloat5750 * class101_sub3.aFloat5770) + (class101_sub3.aFloat5781 * (class101_sub3_350_.aFloat5754))); - Class190.aFloat2555 = (class101_sub3.aFloat5747 + ((class101_sub3.aFloat5781 * (class101_sub3_350_.aFloat5751)) + ((class101_sub3.aFloat5770 * (class101_sub3_350_.aFloat5747)) + ((class101_sub3_350_.aFloat5772) * (class101_sub3.aFloat5750))))); - float f_354_ = ((float) aShort5591 * Class299_Sub1_Sub1.aFloat8696 + Class190.aFloat2555); - float f_355_ = ((float) aShort5629 * Class299_Sub1_Sub1.aFloat8696 + Class190.aFloat2555); - float f_356_; - float f_357_; - if (f_354_ > f_355_) { - f_356_ = ((float) aHa_Sub2_5598.anInt7771 * ((float) -aShort5634 + f_355_)); - f_357_ = ((float) aHa_Sub2_5598.anInt7771 * ((float) aShort5634 + f_354_)); - } else { - f_357_ = ((float) aHa_Sub2_5598.anInt7771 * (f_355_ + (float) aShort5634)); - f_356_ = (((float) -aShort5634 + f_354_) * (float) aHa_Sub2_5598.anInt7771); - } - if (!(aHa_Sub2_5598.aFloat7835 <= f_356_ / f_353_) && !(f_357_ / f_353_ <= aHa_Sub2_5598.aFloat7872)) { - Class156.aFloat2111 = ((class101_sub3_350_.aFloat5772 * class101_sub3.aFloat5769) + ((class101_sub3_350_.aFloat5747) * class101_sub3.aFloat5761) + (class101_sub3.aFloat5762 * (class101_sub3_350_.aFloat5751)) + class101_sub3.aFloat5772); - Class252.aFloat3242 = ((class101_sub3.aFloat5761 * (class101_sub3_350_.aFloat5750)) + (class101_sub3.aFloat5769 * (class101_sub3_350_.aFloat5769)) + (class101_sub3.aFloat5762 * (class101_sub3_350_.aFloat5754))); - float f_358_ = (Class156.aFloat2111 + Class252.aFloat3242 * (float) aShort5591); - float f_359_ = (Class156.aFloat2111 + (float) aShort5629 * Class252.aFloat3242); - float f_360_; - float f_361_; - if (f_358_ > f_359_) { - f_360_ = (((float) aShort5634 + f_358_) * (float) (aHa_Sub2_5598.anInt7794)); - f_361_ = ((float) aHa_Sub2_5598.anInt7794 * (f_359_ - (float) aShort5634)); - } else { - f_360_ = (((float) aShort5634 + f_359_) * (float) (aHa_Sub2_5598.anInt7794)); - f_361_ = ((float) aHa_Sub2_5598.anInt7794 * (f_358_ - (float) aShort5634)); - } - if (!(f_361_ / f_353_ >= aHa_Sub2_5598.aFloat7830) && !(aHa_Sub2_5598.aFloat7836 >= f_360_ / f_353_)) { - if (class318_sub3 != null || aClass118Array5621 != null) { - Class286_Sub8.aFloat6304 = (((class101_sub3_350_.aFloat5762) * (class101_sub3.aFloat5754)) + ((class101_sub3_350_.aFloat5781) * (class101_sub3.aFloat5756)) + ((class101_sub3_350_.aFloat5784) * (class101_sub3.aFloat5784))); - Class318_Sub9_Sub1.aFloat8784 = (((class101_sub3.aFloat5784) * (class101_sub3_350_.aFloat5756)) + ((class101_sub3_350_.aFloat5770 * (class101_sub3.aFloat5756)) + ((class101_sub3.aFloat5754) * (class101_sub3_350_.aFloat5761)))); - Class313.aFloat3935 = (((class101_sub3.aFloat5781) * (class101_sub3_350_.aFloat5784)) + ((class101_sub3_350_.aFloat5762 * (class101_sub3.aFloat5750)) + (class101_sub3_350_.aFloat5781 * (class101_sub3.aFloat5770)))); - Class314.aFloat3943 = (((class101_sub3.aFloat5761) * (class101_sub3_350_.aFloat5770)) + ((class101_sub3_350_.aFloat5761) * (class101_sub3.aFloat5769)) + ((class101_sub3_350_.aFloat5756) * (class101_sub3.aFloat5762))); - Class167.aFloat2203 = (((class101_sub3_350_.aFloat5761) * (class101_sub3.aFloat5750)) + ((class101_sub3.aFloat5770) * class101_sub3_350_.aFloat5770) + ((class101_sub3.aFloat5781) * class101_sub3_350_.aFloat5756)); - Class215.aFloat2836 = (((class101_sub3_350_.aFloat5784) * (class101_sub3.aFloat5762)) + (((class101_sub3.aFloat5769) * class101_sub3_350_.aFloat5762) + ((class101_sub3.aFloat5761) * (class101_sub3_350_.aFloat5781)))); - } - if (class318_sub3 != null) { - boolean bool = false; - boolean bool_362_ = true; - int i_363_ = aShort5540 - -aShort5586 >> 1; - int i_364_ = aShort5617 - -aShort5646 >> 1; - int i_365_ = (int) (((float) i_364_ * Class313.aFloat3935) + ((Class167.aFloat2203 * (float) i_363_) + Class190.aFloat2555 + ((float) aShort5591 * (Class299_Sub1_Sub1.aFloat8696)))); - int i_366_ = (int) (Class156.aFloat2111 + ((float) i_363_ * Class314.aFloat3943) + ((float) aShort5591 * Class252.aFloat3242) + ((float) i_364_ * Class215.aFloat2836)); - int i_367_ = (int) ((Class318_Sub9_Sub1.aFloat8784 * (float) i_363_) + Class49.aFloat4720 + (Class320.aFloat3994 * (float) aShort5591) + (Class286_Sub8.aFloat6304 * (float) i_364_)); - if (aHa_Sub2_5598.anInt7826 <= i_367_) { - class318_sub3.anInt6405 = (i_365_ * (aHa_Sub2_5598.anInt7771) / i_367_ + (aHa_Sub2_5598.anInt7853)); - class318_sub3.anInt6402 = (i_366_ * (aHa_Sub2_5598.anInt7794) / i_367_ + (aHa_Sub2_5598.anInt7810)); - } else bool = true; - int i_368_ = (int) (Class190.aFloat2555 + (Class167.aFloat2203 * (float) i_363_) + (Class299_Sub1_Sub1.aFloat8696 * (float) aShort5629) + (Class313.aFloat3935 * (float) i_364_)); - int i_369_ = (int) (((float) i_364_ * Class215.aFloat2836) + ((Class252.aFloat3242 * (float) aShort5629) + (Class156.aFloat2111 + (Class314.aFloat3943 * (float) i_363_)))); - int i_370_ = (int) ((Class286_Sub8.aFloat6304 * (float) i_364_) + (((float) i_363_ * (Class318_Sub9_Sub1.aFloat8784)) + Class49.aFloat4720 + ((float) aShort5629 * Class320.aFloat3994))); - if (i_370_ >= aHa_Sub2_5598.anInt7826) { - class318_sub3.anInt6406 = (i_368_ * (aHa_Sub2_5598.anInt7771) / i_370_ + (aHa_Sub2_5598.anInt7853)); - class318_sub3.anInt6404 = (i_369_ * (aHa_Sub2_5598.anInt7794) / i_370_ + (aHa_Sub2_5598.anInt7810)); - } else bool = true; - if (bool) { - if ((aHa_Sub2_5598.anInt7826 <= i_367_) || ((aHa_Sub2_5598.anInt7826) <= i_370_)) { - if (i_367_ < (aHa_Sub2_5598.anInt7826)) { - int i_371_ = ((-(aHa_Sub2_5598.anInt7826) + i_370_ << 16) / (i_370_ + -i_367_)); - int i_372_ = (((-i_365_ + i_368_) * i_371_ >> 16) + i_368_); - class318_sub3.anInt6405 = ((aHa_Sub2_5598.anInt7853) - -(i_372_ * (aHa_Sub2_5598.anInt7771) / (aHa_Sub2_5598.anInt7826))); - int i_373_ = ((i_371_ * (i_369_ - i_366_) >> 16) + i_369_); - class318_sub3.anInt6402 = ((i_373_ * aHa_Sub2_5598.anInt7794 / (aHa_Sub2_5598.anInt7826)) + (aHa_Sub2_5598.anInt7810)); - } else if (i_370_ < (aHa_Sub2_5598.anInt7826)) { - int i_374_ = ((-(aHa_Sub2_5598.anInt7826) + i_367_ << 16) / (i_367_ - i_370_)); - int i_375_ = (i_365_ - -(i_374_ * (-i_368_ + i_365_) >> 16)); - int i_376_ = (((i_366_ - i_369_) * i_374_ >> 16) + i_366_); - class318_sub3.anInt6405 = ((i_375_ * aHa_Sub2_5598.anInt7771 / (aHa_Sub2_5598.anInt7826)) + (aHa_Sub2_5598.anInt7853)); - class318_sub3.anInt6402 = ((aHa_Sub2_5598.anInt7810) + (aHa_Sub2_5598.anInt7794 * i_376_ / (aHa_Sub2_5598.anInt7826))); - } - } else bool_362_ = false; - } - if (bool_362_) { - if (i_370_ < i_367_) class318_sub3.anInt6403 = ((aHa_Sub2_5598.anInt7853) + ((aHa_Sub2_5598.anInt7771) * (i_365_ - -aShort5634) / i_367_) - class318_sub3.anInt6405); - else class318_sub3.anInt6403 = ((aHa_Sub2_5598.anInt7853) - -((aHa_Sub2_5598.anInt7771) * (aShort5634 + i_368_) / i_370_) + -class318_sub3.anInt6406); - class318_sub3.aBoolean6401 = true; - } - } - aHa_Sub2_5598.method3784((byte) -62); - aHa_Sub2_5598.method3758(false, class101_sub3_350_); - method677((byte) 127); - aHa_Sub2_5598.method3734(true); - method682(true); - } - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("paa.KA(" + (class101 != null ? "{...}" : "null") + ',' + (class318_sub3 != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - final int WA() { - anInt5545++; - return aShort5544; - } - - static final void method689(byte i, int i_377_) { - Class48.anInt859 = -1; - Class244.anInt4609 = -1; - if (i != -59) anInt5584 = 77; - anInt5577++; - Class348_Sub36.anInt6992 = i_377_; - Class348_Sub15.method2811(false); - } - - static final void method690(byte i, int i_378_) { - anInt5565++; - Class348_Sub15 class348_sub15 = ((Class348_Sub15) Class27.aClass356_389.method3480(i_378_, -6008)); - int i_379_ = -8 % ((i - -49) / 44); - if (class348_sub15 != null) { - class348_sub15.aClass55_Sub1_6768.method508(1); - Class303.method2285(class348_sub15.aBoolean6776, (byte) -114, class348_sub15.anInt6773); - class348_sub15.method2715((byte) 52); - } - } - - private final void method691(byte i) { - anInt5531++; - if (aBoolean5555) { - aBoolean5555 = false; - if (aClass129Array5640 == null && aClass342Array5541 == null && aClass118Array5621 == null) { - if (anIntArray5543 != null && !Class337.method2659((byte) 123, anInt5648, anInt5556)) { - if (aClass123_5605 == null || (aClass123_5605.anInterface2_1811 != null)) { - if (!aBoolean5527) method692((byte) -123); - anIntArray5543 = null; - } else aBoolean5555 = true; - } - if (anIntArray5593 != null && !s_Sub2.method3999(anInt5556, anInt5648, 458752)) { - if (aClass123_5605 != null && (aClass123_5605.anInterface2_1811 == null)) aBoolean5555 = true; - else { - if (!aBoolean5527) method692((byte) -123); - anIntArray5593 = null; - } - } - if (anIntArray5644 != null && !Class153.method1221(-3157, anInt5648, anInt5556)) { - if (aClass123_5605 == null || (aClass123_5605.anInterface2_1811 != null)) { - if (!aBoolean5527) method692((byte) -123); - anIntArray5644 = null; - } else aBoolean5555 = true; - } - } - if (aShortArray5649 != null && anIntArray5543 == null && anIntArray5593 == null && anIntArray5644 == null) { - aShortArray5649 = null; - anIntArray5528 = null; - } - if (aByteArray5594 != null && !Class105_Sub1.method989(anInt5648, -385, anInt5556)) { - if (aClass123_5563 == null) { - if (aClass123_5610 == null || (aClass123_5610.anInterface2_1811 != null)) { - aByteArray5594 = null; - aShortArray5564 = aShortArray5583 = aShortArray5576 = null; - } else aBoolean5555 = true; - } else if (aClass123_5563.anInterface2_1811 == null) aBoolean5555 = true; - else { - aByteArray5594 = null; - aShortArray5564 = aShortArray5583 = aShortArray5576 = null; - } - } - if (aShortArray5580 != null && !Class315.method2358(-116, anInt5648, anInt5556)) { - if (aClass123_5610 == null || aClass123_5610.anInterface2_1811 != null) aShortArray5580 = null; - else aBoolean5555 = true; - } - if (aByteArray5542 != null && !Class239_Sub28.method1846(anInt5556, anInt5648, 74)) { - if (aClass123_5610 == null || aClass123_5610.anInterface2_1811 != null) aByteArray5542 = null; - else aBoolean5555 = true; - } - if (aFloatArray5552 != null && !Class98.method877(anInt5648, anInt5556, (byte) -127)) { - if (aClass123_5620 != null && aClass123_5620.anInterface2_1811 == null) aBoolean5555 = true; - else aFloatArray5552 = aFloatArray5571 = null; - } - int i_380_ = -117 / ((69 - i) / 41); - if (aShortArray5601 != null && !Class348_Sub40_Sub19.method3100(anInt5556, false, anInt5648)) { - if (aClass123_5610 != null && aClass123_5610.anInterface2_1811 == null) aBoolean5555 = true; - else aShortArray5601 = null; - } - if (aShortArray5592 != null && !Class69.method724(anInt5648, anInt5556, 393216)) { - if ((aClass270_5575 != null && aClass270_5575.anInterface8_3463 == null) || aClass123_5610 != null && (aClass123_5610.anInterface2_1811) == null) aBoolean5555 = true; - else aShortArray5592 = aShortArray5579 = aShortArray5566 = null; - } - if (anIntArrayArray5553 != null && !Class40.method371(anInt5648, 256, anInt5556)) { - aShortArray5573 = null; - anIntArrayArray5553 = null; - } - if (anIntArrayArray5539 != null && !Class312.method2332(anInt5556, (byte) 124, anInt5648)) { - anIntArrayArray5539 = null; - aShortArray5608 = null; - } - if (anIntArrayArray5627 != null && !Class229.method1633(false, anInt5648, anInt5556)) anIntArrayArray5627 = null; - if (anIntArray5626 != null && (anInt5648 & 0x800) == 0 && (anInt5648 & 0x40000) == 0) anIntArray5626 = null; - } - } - - final void method621() { - anInt5606++; - } - - final void ia(short i, short i_381_) { - anInt5603++; - for (int i_382_ = 0; anInt5632 > i_382_; i_382_++) { - if (i == aShortArray5580[i_382_]) aShortArray5580[i_382_] = i_381_; - } - if (aClass118Array5621 != null) { - for (int i_383_ = 0; i_383_ < anInt5536; i_383_++) { - Class118 class118 = aClass118Array5621[i_383_]; - Class48 class48 = aClass48Array5596[i_383_]; - class48.anInt858 = ((Class10.anIntArray179[(aShortArray5580[class118.anInt1783] & 0xffff)]) & 0xffffff | ~0xffffff & class48.anInt858); - } - } - if (aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; - } - - final Class129[] method619() { - anInt5625++; - return aClass129Array5640; - } - - final Class342[] method604() { - anInt5569++; - return aClass342Array5541; - } - - final int V() { - anInt5607++; - if (!aBoolean5527) method692((byte) -123); - return aShort5540; - } - - final boolean r() { - anInt5624++; - return aBoolean5638; - } - - final void method620(Class101 class101) { - do { - try { - anInt5548++; - Class101_Sub3 class101_sub3 = (Class101_Sub3) class101; - if (aClass129Array5640 != null) { - for (int i = 0; i < aClass129Array5640.length; i++) { - Class129 class129 = aClass129Array5640[i]; - Class129 class129_384_ = class129; - if (class129.aClass129_1888 != null) class129_384_ = class129.aClass129_1888; - class129_384_.anInt1882 = (int) (class101_sub3.aFloat5747 + (((float) (anIntArray5593[(class129.anInt1881)]) * (class101_sub3.aFloat5750)) + ((class101_sub3.aFloat5770) * (float) (anIntArray5543[(class129.anInt1881)])) + ((float) (anIntArray5644[(class129.anInt1881)]) * (class101_sub3.aFloat5781)))); - class129_384_.anInt1891 = (int) (class101_sub3.aFloat5772 + (((float) (anIntArray5593[(class129.anInt1881)]) * (class101_sub3.aFloat5769)) + ((class101_sub3.aFloat5761) * (float) (anIntArray5543[(class129.anInt1881)])) + ((float) (anIntArray5644[(class129.anInt1881)]) * (class101_sub3.aFloat5762)))); - class129_384_.anInt1889 = (int) (class101_sub3.aFloat5751 + (((float) (anIntArray5543[(class129.anInt1881)]) * (class101_sub3.aFloat5756)) + ((class101_sub3.aFloat5754) * (float) (anIntArray5593[(class129.anInt1881)])) + ((float) (anIntArray5644[(class129.anInt1881)]) * (class101_sub3.aFloat5784)))); - class129_384_.anInt1883 = (int) (class101_sub3.aFloat5747 + (((class101_sub3.aFloat5770) * (float) (anIntArray5543[(class129.anInt1877)])) + ((float) (anIntArray5593[(class129.anInt1877)]) * (class101_sub3.aFloat5750)) + ((float) (anIntArray5644[(class129.anInt1877)]) * (class101_sub3.aFloat5781)))); - class129_384_.anInt1890 = (int) (class101_sub3.aFloat5772 + (((class101_sub3.aFloat5762) * (float) (anIntArray5644[(class129.anInt1877)])) + (((float) (anIntArray5543[(class129.anInt1877)]) * (class101_sub3.aFloat5761)) + ((float) (anIntArray5593[(class129.anInt1877)]) * class101_sub3.aFloat5769)))); - class129_384_.anInt1880 = (int) (class101_sub3.aFloat5751 + (((class101_sub3.aFloat5784) * (float) (anIntArray5644[(class129.anInt1877)])) + (((class101_sub3.aFloat5754) * (float) (anIntArray5593[(class129.anInt1877)])) + ((float) (anIntArray5543[(class129.anInt1877)]) * class101_sub3.aFloat5756)))); - class129_384_.anInt1876 = (int) (class101_sub3.aFloat5747 + (((float) (anIntArray5593[(class129.anInt1892)]) * (class101_sub3.aFloat5750)) + ((float) (anIntArray5543[(class129.anInt1892)]) * (class101_sub3.aFloat5770)) + ((class101_sub3.aFloat5781) * (float) (anIntArray5644[(class129.anInt1892)])))); - class129_384_.anInt1874 = (int) (class101_sub3.aFloat5772 + (((float) (anIntArray5644[(class129.anInt1892)]) * (class101_sub3.aFloat5762)) + (((class101_sub3.aFloat5761) * (float) (anIntArray5543[(class129.anInt1892)])) + ((class101_sub3.aFloat5769) * (float) (anIntArray5593[(class129.anInt1892)]))))); - class129_384_.anInt1884 = (int) (((class101_sub3.aFloat5754) * (float) (anIntArray5593[(class129.anInt1892)])) + ((class101_sub3.aFloat5756) * (float) (anIntArray5543[(class129.anInt1892)])) + ((float) (anIntArray5644[(class129.anInt1892)]) * (class101_sub3.aFloat5784)) + (class101_sub3.aFloat5751)); - } - } - if (aClass342Array5541 == null) break; - for (int i = 0; aClass342Array5541.length > i; i++) { - Class342 class342 = aClass342Array5541[i]; - Class342 class342_385_ = class342; - if (class342.aClass342_4248 != null) class342_385_ = class342.aClass342_4248; - if (class342.aClass101_4252 == null) class342.aClass101_4252 = class101_sub3.method907(); - else class342.aClass101_4252.method898(class101_sub3); - class342_385_.anInt4238 = (int) (class101_sub3.aFloat5747 + (((float) (anIntArray5644[(class342.anInt4244)]) * (class101_sub3.aFloat5781)) + (((float) (anIntArray5543[(class342.anInt4244)]) * (class101_sub3.aFloat5770)) + ((class101_sub3.aFloat5750) * (float) (anIntArray5593[(class342.anInt4244)]))))); - class342_385_.anInt4239 = (int) (class101_sub3.aFloat5772 + (((float) (anIntArray5593[(class342.anInt4244)]) * (class101_sub3.aFloat5769)) + ((class101_sub3.aFloat5761) * (float) (anIntArray5543[(class342.anInt4244)])) + ((float) (anIntArray5644[(class342.anInt4244)]) * (class101_sub3.aFloat5762)))); - class342_385_.anInt4240 = (int) (class101_sub3.aFloat5751 + (((float) (anIntArray5644[(class342.anInt4244)]) * (class101_sub3.aFloat5784)) + (((float) (anIntArray5543[(class342.anInt4244)]) * (class101_sub3.aFloat5756)) + ((float) (anIntArray5593[(class342.anInt4244)]) * (class101_sub3.aFloat5754))))); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "paa.J(" + (class101 != null ? "{...}" : "null") + ')'); - } - break; - } while (false); - } - - final int ma() { - if (!aBoolean5527) method692((byte) -123); - anInt5546++; - return aShort5559; - } - - final void method605(int i, int[] is, int i_386_, int i_387_, int i_388_, int i_389_, boolean bool) { - try { - anInt5614++; - int i_390_ = is.length; - if (i == 0) { - i_388_ <<= 4; - i_387_ <<= 4; - i_386_ <<= 4; - Class181.anInt2398 = 0; - int i_391_ = 0; - Class221.anInt2880 = 0; - za.anInt7275 = 0; - for (int i_392_ = 0; i_392_ < i_390_; i_392_++) { - int i_393_ = is[i_392_]; - if (i_393_ < anIntArrayArray5539.length) { - int[] is_394_ = anIntArrayArray5539[i_393_]; - for (int i_395_ = 0; (i_395_ < is_394_.length); i_395_++) { - int i_396_ = is_394_[i_395_]; - za.anInt7275 += anIntArray5543[i_396_]; - Class221.anInt2880 += anIntArray5593[i_396_]; - i_391_++; - Class181.anInt2398 += anIntArray5644[i_396_]; - } - } - } - if (i_391_ <= 0) { - Class221.anInt2880 = i_387_; - Class181.anInt2398 = i_388_; - za.anInt7275 = i_386_; - } else { - Class221.anInt2880 = i_387_ + Class221.anInt2880 / i_391_; - za.anInt7275 = za.anInt7275 / i_391_ + i_386_; - Class181.anInt2398 = i_388_ + Class181.anInt2398 / i_391_; - } - } else if (i == 1) { - i_386_ <<= 4; - i_387_ <<= 4; - i_388_ <<= 4; - for (int i_397_ = 0; i_390_ > i_397_; i_397_++) { - int i_398_ = is[i_397_]; - if (i_398_ < anIntArrayArray5539.length) { - int[] is_399_ = anIntArrayArray5539[i_398_]; - for (int i_400_ = 0; i_400_ < is_399_.length; i_400_++) { - int i_401_ = is_399_[i_400_]; - anIntArray5543[i_401_] += i_386_; - anIntArray5593[i_401_] += i_387_; - anIntArray5644[i_401_] += i_388_; - } - } - } - } else if (i == 2) { - for (int i_402_ = 0; i_390_ > i_402_; i_402_++) { - int i_403_ = is[i_402_]; - if (anIntArrayArray5539.length > i_403_) { - int[] is_404_ = anIntArrayArray5539[i_403_]; - if ((0x1 & i_389_) == 0) { - for (int i_416_ = 0; (is_404_.length > i_416_); i_416_++) { - int i_417_ = is_404_[i_416_]; - anIntArray5543[i_417_] -= za.anInt7275; - anIntArray5593[i_417_] -= Class221.anInt2880; - anIntArray5644[i_417_] -= Class181.anInt2398; - if (i_388_ != 0) { - int i_418_ = Class70.anIntArray1207[i_388_]; - int i_419_ = Class70.anIntArray1204[i_388_]; - int i_420_ = ((anIntArray5543[i_417_] * i_419_ + i_418_ * anIntArray5593[i_417_] - -16383) >> 14); - anIntArray5593[i_417_] = (anIntArray5593[i_417_] * i_419_ + -(i_418_ * anIntArray5543[i_417_]) - -16383) >> 14; - anIntArray5543[i_417_] = i_420_; - } - if (i_386_ != 0) { - int i_421_ = Class70.anIntArray1207[i_386_]; - int i_422_ = Class70.anIntArray1204[i_386_]; - int i_423_ = ((-(anIntArray5644[i_417_] * i_421_) + (i_422_ * anIntArray5593[i_417_] + 16383)) >> 14); - anIntArray5644[i_417_] = ((16383 + i_422_ * anIntArray5644[i_417_] + i_421_ * anIntArray5593[i_417_]) >> 14); - anIntArray5593[i_417_] = i_423_; - } - if (i_387_ != 0) { - int i_424_ = Class70.anIntArray1207[i_387_]; - int i_425_ = Class70.anIntArray1204[i_387_]; - int i_426_ = (i_424_ * anIntArray5644[i_417_] - -(i_425_ * anIntArray5543[i_417_]) + 16383) >> 14; - anIntArray5644[i_417_] = (16383 + (anIntArray5644[i_417_] * i_425_ - (anIntArray5543[i_417_] * i_424_))) >> 14; - anIntArray5543[i_417_] = i_426_; - } - anIntArray5543[i_417_] += za.anInt7275; - anIntArray5593[i_417_] += Class221.anInt2880; - anIntArray5644[i_417_] += Class181.anInt2398; - } - } else { - for (int i_405_ = 0; is_404_.length > i_405_; i_405_++) { - int i_406_ = is_404_[i_405_]; - anIntArray5543[i_406_] -= za.anInt7275; - anIntArray5593[i_406_] -= Class221.anInt2880; - anIntArray5644[i_406_] -= Class181.anInt2398; - if (i_386_ != 0) { - int i_407_ = Class70.anIntArray1207[i_386_]; - int i_408_ = Class70.anIntArray1204[i_386_]; - int i_409_ = ((16383 + (i_408_ * anIntArray5593[i_406_] + -(anIntArray5644[i_406_] * i_407_))) >> 14); - anIntArray5644[i_406_] = ((16383 + (anIntArray5593[i_406_] * i_407_ - -(i_408_ * anIntArray5644[i_406_]))) >> 14); - anIntArray5593[i_406_] = i_409_; - } - if (i_388_ != 0) { - int i_410_ = Class70.anIntArray1207[i_388_]; - int i_411_ = Class70.anIntArray1204[i_388_]; - int i_412_ = ((16383 + (anIntArray5543[i_406_] * i_411_ + (i_410_ * anIntArray5593[i_406_]))) >> 14); - anIntArray5593[i_406_] = (-(i_410_ * anIntArray5543[i_406_]) + (anIntArray5593[i_406_] * i_411_ - -16383)) >> 14; - anIntArray5543[i_406_] = i_412_; - } - if (i_387_ != 0) { - int i_413_ = Class70.anIntArray1207[i_387_]; - int i_414_ = Class70.anIntArray1204[i_387_]; - int i_415_ = ((i_413_ * anIntArray5644[i_406_] - (-(anIntArray5543[i_406_] * i_414_) - 16383)) >> 14); - anIntArray5644[i_406_] = (anIntArray5644[i_406_] * i_414_ + (-(i_413_ * anIntArray5543[i_406_]) - -16383)) >> 14; - anIntArray5543[i_406_] = i_415_; - } - anIntArray5543[i_406_] += za.anInt7275; - anIntArray5593[i_406_] += Class221.anInt2880; - anIntArray5644[i_406_] += Class181.anInt2398; - } - } - } - } - if (bool) { - for (int i_427_ = 0; i_427_ < i_390_; i_427_++) { - int i_428_ = is[i_427_]; - if (i_428_ < anIntArrayArray5539.length) { - int[] is_429_ = anIntArrayArray5539[i_428_]; - for (int i_430_ = 0; i_430_ < is_429_.length; i_430_++) { - int i_431_ = is_429_[i_430_]; - int i_432_ = anIntArray5528[i_431_]; - int i_433_ = anIntArray5528[i_431_ - -1]; - for (int i_434_ = i_432_; i_433_ > i_434_; i_434_++) { - int i_435_ = aShortArray5649[i_434_] - 1; - if (i_435_ == -1) break; - if (i_388_ != 0) { - int i_436_ = Class70.anIntArray1207[i_388_]; - int i_437_ = Class70.anIntArray1204[i_388_]; - int i_438_ = ((16383 + (i_437_ * aShortArray5564[i_435_]) + (aShortArray5583[i_435_] * i_436_)) >> 14); - aShortArray5583[i_435_] = (short) ((16383 + (i_437_ * (aShortArray5583[i_435_])) + -((aShortArray5564[i_435_]) * i_436_)) >> 14); - aShortArray5564[i_435_] = (short) i_438_; - } - if (i_386_ != 0) { - int i_439_ = Class70.anIntArray1207[i_386_]; - int i_440_ = Class70.anIntArray1204[i_386_]; - int i_441_ = (i_440_ * aShortArray5583[i_435_] - ((aShortArray5576[i_435_] * i_439_) + -16383)) >> 14; - aShortArray5576[i_435_] = (short) ((16383 + ((i_440_ * (aShortArray5576[i_435_])) + (i_439_ * (aShortArray5583[i_435_])))) >> 14); - aShortArray5583[i_435_] = (short) i_441_; - } - if (i_387_ != 0) { - int i_442_ = Class70.anIntArray1207[i_387_]; - int i_443_ = Class70.anIntArray1204[i_387_]; - int i_444_ = ((16383 + (i_442_ * aShortArray5576[i_435_]) + (aShortArray5564[i_435_] * i_443_)) >> 14); - aShortArray5576[i_435_] = (short) ((16383 + (-((aShortArray5564[i_435_]) * i_442_) + ((aShortArray5576[i_435_]) * i_443_))) >> 14); - aShortArray5564[i_435_] = (short) i_444_; - } - } - } - } - } - if (aClass123_5563 == null && aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; - if (aClass123_5563 != null) aClass123_5563.anInterface2_1811 = null; - } - } else if (i == 3) { - for (int i_445_ = 0; i_445_ < i_390_; i_445_++) { - int i_446_ = is[i_445_]; - if (i_446_ < anIntArrayArray5539.length) { - int[] is_447_ = anIntArrayArray5539[i_446_]; - for (int i_448_ = 0; i_448_ < is_447_.length; i_448_++) { - int i_449_ = is_447_[i_448_]; - anIntArray5543[i_449_] -= za.anInt7275; - anIntArray5593[i_449_] -= Class221.anInt2880; - anIntArray5644[i_449_] -= Class181.anInt2398; - anIntArray5543[i_449_] = i_386_ * anIntArray5543[i_449_] >> 7; - anIntArray5593[i_449_] = anIntArray5593[i_449_] * i_387_ >> 7; - anIntArray5644[i_449_] = anIntArray5644[i_449_] * i_388_ >> 7; - anIntArray5543[i_449_] += za.anInt7275; - anIntArray5593[i_449_] += Class221.anInt2880; - anIntArray5644[i_449_] += Class181.anInt2398; - } - } - } - } else if (i == 5) { - if (anIntArrayArray5553 != null) { - for (int i_450_ = 0; i_390_ > i_450_; i_450_++) { - int i_451_ = is[i_450_]; - if (anIntArrayArray5553.length > i_451_) { - int[] is_452_ = anIntArrayArray5553[i_451_]; - for (int i_453_ = 0; i_453_ < is_452_.length; i_453_++) { - int i_454_ = is_452_[i_453_]; - int i_455_ = ((0xff & aByteArray5542[i_454_]) + 8 * i_386_); - if (i_455_ < 0) i_455_ = 0; - else if (i_455_ > 255) i_455_ = 255; - aByteArray5542[i_454_] = (byte) i_455_; - } - if (is_452_.length > 0 && aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; - } - } - if (aClass118Array5621 != null) { - for (int i_456_ = 0; i_456_ < anInt5536; i_456_++) { - Class118 class118 = aClass118Array5621[i_456_]; - Class48 class48 = aClass48Array5596[i_456_]; - class48.anInt858 = (255 + -((aByteArray5542[class118.anInt1783]) & 0xff) << 24 | 0xffffff & class48.anInt858); - } - } - } - } else if (i == 7) { - if (anIntArrayArray5553 != null) { - for (int i_457_ = 0; i_390_ > i_457_; i_457_++) { - int i_458_ = is[i_457_]; - if (i_458_ < anIntArrayArray5553.length) { - int[] is_459_ = anIntArrayArray5553[i_458_]; - for (int i_460_ = 0; i_460_ < is_459_.length; i_460_++) { - int i_461_ = is_459_[i_460_]; - int i_462_ = aShortArray5580[i_461_] & 0xffff; - int i_463_ = (i_462_ & 0xfc8a) >> 10; - int i_464_ = 0x7 & i_462_ >> 7; - i_464_ += i_387_ / 4; - i_463_ = 0x3f & i_463_ + i_386_; - int i_465_ = i_462_ & 0x7f; - i_465_ += i_388_; - if (i_464_ >= 0) { - if (i_464_ > 7) i_464_ = 7; - } else i_464_ = 0; - if (i_465_ < 0) i_465_ = 0; - else if (i_465_ > 127) i_465_ = 127; - aShortArray5580[i_461_] = (short) (Class273.method2057((Class273.method2057(i_464_ << 7, i_463_ << 10)), i_465_)); - } - if (is_459_.length > 0 && aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; - } - } - if (aClass118Array5621 != null) { - for (int i_466_ = 0; anInt5536 > i_466_; i_466_++) { - Class118 class118 = aClass118Array5621[i_466_]; - Class48 class48 = aClass48Array5596[i_466_]; - class48.anInt858 = (0xffffff & (Class10.anIntArray179[(aShortArray5580[(class118.anInt1783)]) & 0xffff]) | ~0xffffff & class48.anInt858); - } - } - } - } else if (i == 8) { - if (anIntArrayArray5627 != null) { - for (int i_467_ = 0; i_467_ < i_390_; i_467_++) { - int i_468_ = is[i_467_]; - if (i_468_ < anIntArrayArray5627.length) { - int[] is_469_ = anIntArrayArray5627[i_468_]; - for (int i_470_ = 0; i_470_ < is_469_.length; i_470_++) { - Class48 class48 = aClass48Array5596[is_469_[i_470_]]; - class48.anInt854 += i_386_; - class48.anInt847 += i_387_; - } - } - } - } - } else if (i == 10) { - if (anIntArrayArray5627 != null) { - for (int i_471_ = 0; i_471_ < i_390_; i_471_++) { - int i_472_ = is[i_471_]; - if (i_472_ < anIntArrayArray5627.length) { - int[] is_473_ = anIntArrayArray5627[i_472_]; - for (int i_474_ = 0; (i_474_ < is_473_.length); i_474_++) { - Class48 class48 = aClass48Array5596[is_473_[i_474_]]; - class48.anInt856 = (i_386_ * class48.anInt856 >> 7); - class48.anInt857 = (class48.anInt857 * i_387_ >> 7); - } - } - } - } - } else if (i == 9) { - if (anIntArrayArray5627 != null) { - for (int i_475_ = 0; i_475_ < i_390_; i_475_++) { - int i_476_ = is[i_475_]; - if (anIntArrayArray5627.length > i_476_) { - int[] is_477_ = anIntArrayArray5627[i_476_]; - for (int i_478_ = 0; is_477_.length > i_478_; i_478_++) { - Class48 class48 = aClass48Array5596[is_477_[i_478_]]; - class48.anInt853 = (class48.anInt853 + i_386_ & 0x3fff); - } - } - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("paa.BB(" + i + ',' + (is != null ? "{...}" : "null") + ',' + i_386_ + ',' + i_387_ + ',' + i_388_ + ',' + i_389_ + ',' + bool + ')')); - } - } - - final int HA() { - anInt5574++; - if (!aBoolean5527) method692((byte) -123); - return aShort5617; - } - - final int ua() { - anInt5616++; - return anInt5648; - } - - final void P(int i, int i_479_, int i_480_, int i_481_) { - anInt5567++; - if (i == 0) { - za.anInt7275 = 0; - Class181.anInt2398 = 0; - Class221.anInt2880 = 0; - int i_482_ = 0; - for (int i_483_ = 0; i_483_ < anInt5557; i_483_++) { - za.anInt7275 += anIntArray5543[i_483_]; - Class221.anInt2880 += anIntArray5593[i_483_]; - i_482_++; - Class181.anInt2398 += anIntArray5644[i_483_]; - } - if (i_482_ <= 0) { - Class221.anInt2880 = i_480_; - Class181.anInt2398 = i_481_; - za.anInt7275 = i_479_; - } else { - Class221.anInt2880 = Class221.anInt2880 / i_482_ - -i_480_; - za.anInt7275 = i_479_ + za.anInt7275 / i_482_; - Class181.anInt2398 = Class181.anInt2398 / i_482_ + i_481_; - } - } else if (i == 1) { - for (int i_484_ = 0; i_484_ < anInt5557; i_484_++) { - anIntArray5543[i_484_] += i_479_; - anIntArray5593[i_484_] += i_480_; - anIntArray5644[i_484_] += i_481_; - } - } else if (i == 2) { - for (int i_485_ = 0; i_485_ < anInt5557; i_485_++) { - anIntArray5543[i_485_] -= za.anInt7275; - anIntArray5593[i_485_] -= Class221.anInt2880; - anIntArray5644[i_485_] -= Class181.anInt2398; - if (i_481_ != 0) { - int i_486_ = Class70.anIntArray1207[i_481_]; - int i_487_ = Class70.anIntArray1204[i_481_]; - int i_488_ = (16383 + (i_487_ * anIntArray5543[i_485_] + anIntArray5593[i_485_] * i_486_) >> 14); - anIntArray5593[i_485_] = ((-(anIntArray5543[i_485_] * i_486_) + anIntArray5593[i_485_] * i_487_ + 16383) >> 14); - anIntArray5543[i_485_] = i_488_; - } - if (i_479_ != 0) { - int i_489_ = Class70.anIntArray1207[i_479_]; - int i_490_ = Class70.anIntArray1204[i_479_]; - int i_491_ = ((-(anIntArray5644[i_485_] * i_489_) + i_490_ * anIntArray5593[i_485_] + 16383) >> 14); - anIntArray5644[i_485_] = ((i_489_ * anIntArray5593[i_485_] - (-(i_490_ * anIntArray5644[i_485_]) + -16383)) >> 14); - anIntArray5593[i_485_] = i_491_; - } - if (i_480_ != 0) { - int i_492_ = Class70.anIntArray1207[i_480_]; - int i_493_ = Class70.anIntArray1204[i_480_]; - int i_494_ = (16383 + (anIntArray5644[i_485_] * i_492_ - -(i_493_ * anIntArray5543[i_485_])) >> 14); - anIntArray5644[i_485_] = (16383 + (-(anIntArray5543[i_485_] * i_492_) + i_493_ * anIntArray5644[i_485_]) >> 14); - anIntArray5543[i_485_] = i_494_; - } - anIntArray5543[i_485_] += za.anInt7275; - anIntArray5593[i_485_] += Class221.anInt2880; - anIntArray5644[i_485_] += Class181.anInt2398; - } - } else if (i == 3) { - for (int i_495_ = 0; i_495_ < anInt5557; i_495_++) { - anIntArray5543[i_495_] -= za.anInt7275; - anIntArray5593[i_495_] -= Class221.anInt2880; - anIntArray5644[i_495_] -= Class181.anInt2398; - anIntArray5543[i_495_] = i_479_ * anIntArray5543[i_495_] / 128; - anIntArray5593[i_495_] = i_480_ * anIntArray5593[i_495_] / 128; - anIntArray5644[i_495_] = anIntArray5644[i_495_] * i_481_ / 128; - anIntArray5543[i_495_] += za.anInt7275; - anIntArray5593[i_495_] += Class221.anInt2880; - anIntArray5644[i_495_] += Class181.anInt2398; - } - } else if (i == 5) { - for (int i_496_ = 0; i_496_ < anInt5632; i_496_++) { - int i_497_ = (aByteArray5542[i_496_] & 0xff) + i_479_ * 8; - if (i_497_ >= 0) { - if (i_497_ > 255) i_497_ = 255; - } else i_497_ = 0; - aByteArray5542[i_496_] = (byte) i_497_; - } - if (aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; - if (aClass118Array5621 != null) { - for (int i_498_ = 0; i_498_ < anInt5536; i_498_++) { - Class118 class118 = aClass118Array5621[i_498_]; - Class48 class48 = aClass48Array5596[i_498_]; - class48.anInt858 = (0xffffff & class48.anInt858 | (-(0xff & aByteArray5542[(class118.anInt1783)]) + 255 << 24)); - } - } - } else if (i == 7) { - for (int i_499_ = 0; anInt5632 > i_499_; i_499_++) { - int i_500_ = aShortArray5580[i_499_] & 0xffff; - int i_501_ = 0x3f & i_500_ >> 10; - int i_502_ = (i_500_ & 0x3ba) >> 7; - i_501_ = i_501_ + i_479_ & 0x3f; - int i_503_ = i_500_ & 0x7f; - i_502_ += i_480_ / 4; - i_503_ += i_481_; - if (i_502_ >= 0) { - if (i_502_ > 7) i_502_ = 7; - } else i_502_ = 0; - if (i_503_ >= 0) { - if (i_503_ > 127) i_503_ = 127; - } else i_503_ = 0; - aShortArray5580[i_499_] = (short) (Class273.method2057(i_503_, Class273.method2057(i_502_ << 7, i_501_ << 10))); - } - if (aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; - if (aClass118Array5621 != null) { - for (int i_504_ = 0; i_504_ < anInt5536; i_504_++) { - Class118 class118 = aClass118Array5621[i_504_]; - Class48 class48 = aClass48Array5596[i_504_]; - class48.anInt858 = (((Class10.anIntArray179[0xffff & (aShortArray5580[class118.anInt1783])]) & 0xffffff) | class48.anInt858 & ~0xffffff); - } - } - } else if (i == 8) { - for (int i_505_ = 0; i_505_ < anInt5536; i_505_++) { - Class48 class48 = aClass48Array5596[i_505_]; - class48.anInt847 += i_480_; - class48.anInt854 += i_479_; - } - } else if (i == 10) { - for (int i_506_ = 0; anInt5536 > i_506_; i_506_++) { - Class48 class48 = aClass48Array5596[i_506_]; - class48.anInt856 = class48.anInt856 * i_479_ >> 7; - class48.anInt857 = i_480_ * class48.anInt857 >> 7; - } - } else if (i == 9) { - for (int i_507_ = 0; i_507_ < anInt5536; i_507_++) { - Class48 class48 = aClass48Array5596[i_507_]; - class48.anInt853 = class48.anInt853 + i_479_ & 0x3fff; - } - } - } - - final void s(int i) { - anInt5648 = i; - anInt5597++; - if (aClass139_5572 != null && (0x10000 & anInt5648) == 0) { - aShortArray5576 = aClass139_5572.aShortArray1953; - aByteArray5594 = aClass139_5572.aByteArray1948; - aShortArray5564 = aClass139_5572.aShortArray1954; - aShortArray5583 = aClass139_5572.aShortArray1951; - aClass139_5572 = null; - } - aBoolean5555 = true; - method691((byte) -62); - } - - final void C(int i) { - anInt5602++; - aShort5544 = (short) i; - if (aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; - } - - final void v() { - anInt5535++; - for (int i = 0; anInt5557 > i; i++) - anIntArray5644[i] = -anIntArray5644[i]; - for (int i = 0; anInt5529 > i; i++) - aShortArray5576[i] = (short) -aShortArray5576[i]; - for (int i = 0; anInt5632 > i; i++) { - short i_508_ = aShortArray5592[i]; - aShortArray5592[i] = aShortArray5566[i]; - aShortArray5566[i] = i_508_; - } - if (aClass123_5563 == null && aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; - if (aClass123_5563 != null) aClass123_5563.anInterface2_1811 = null; - aBoolean5527 = false; - if (aClass270_5575 != null) aClass270_5575.anInterface8_3463 = null; - if (aClass123_5605 != null) aClass123_5605.anInterface2_1811 = null; - } - - final void method610(Class101 class101, int i, boolean bool) { - try { - anInt5550++; - if (aShortArray5608 != null) { - int[] is = new int[3]; - for (int i_509_ = 0; i_509_ < anInt5557; i_509_++) { - if ((i & aShortArray5608[i_509_]) != 0) { - if (!bool) class101.method897(anIntArray5543[i_509_], anIntArray5593[i_509_], anIntArray5644[i_509_], is); - else class101.method892(anIntArray5543[i_509_], anIntArray5593[i_509_], anIntArray5644[i_509_], is); - anIntArray5543[i_509_] = is[0]; - anIntArray5593[i_509_] = is[1]; - anIntArray5644[i_509_] = is[2]; - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("paa.za(" + (class101 != null ? "{...}" : "null") + ',' + i + ',' + bool + ')')); - } - } - - final void I(int i, int[] is, int i_510_, int i_511_, int i_512_, boolean bool, int i_513_, int[] is_514_) { - try { - anInt5604++; - int i_515_ = is.length; - if (i == 0) { - i_511_ <<= 4; - i_512_ <<= 4; - i_510_ <<= 4; - int i_516_ = 0; - za.anInt7275 = 0; - Class221.anInt2880 = 0; - Class181.anInt2398 = 0; - for (int i_517_ = 0; i_515_ > i_517_; i_517_++) { - int i_518_ = is[i_517_]; - if (anIntArrayArray5539.length > i_518_) { - int[] is_519_ = anIntArrayArray5539[i_518_]; - for (int i_520_ = 0; i_520_ < is_519_.length; i_520_++) { - int i_521_ = is_519_[i_520_]; - if (aShortArray5608 == null || (i_513_ & aShortArray5608[i_521_]) != 0) { - za.anInt7275 += anIntArray5543[i_521_]; - Class221.anInt2880 += anIntArray5593[i_521_]; - i_516_++; - Class181.anInt2398 += anIntArray5644[i_521_]; - } - } - } - } - if (i_516_ <= 0) { - za.anInt7275 = i_510_; - Class181.anInt2398 = i_512_; - Class221.anInt2880 = i_511_; - } else { - za.anInt7275 = i_510_ + za.anInt7275 / i_516_; - Class221.anInt2880 = Class221.anInt2880 / i_516_ - -i_511_; - Class181.anInt2398 = i_512_ + Class181.anInt2398 / i_516_; - Class348_Sub42_Sub16_Sub1.aBoolean10450 = true; - } - } else if (i == 1) { - if (is_514_ != null) { - int i_522_ = ((is_514_[2] * i_512_ + is_514_[0] * i_510_ + (i_511_ * is_514_[1] + 8192)) >> 14); - int i_523_ = ((8192 + i_511_ * is_514_[4] + (i_510_ * is_514_[3] - -(is_514_[5] * i_512_))) >> 14); - int i_524_ = ((i_512_ * is_514_[8] + i_510_ * is_514_[6] + (i_511_ * is_514_[7] + 8192)) >> 14); - i_510_ = i_522_; - i_512_ = i_524_; - i_511_ = i_523_; - } - i_510_ <<= 4; - i_512_ <<= 4; - i_511_ <<= 4; - for (int i_525_ = 0; i_525_ < i_515_; i_525_++) { - int i_526_ = is[i_525_]; - if (i_526_ < anIntArrayArray5539.length) { - int[] is_527_ = anIntArrayArray5539[i_526_]; - for (int i_528_ = 0; is_527_.length > i_528_; i_528_++) { - int i_529_ = is_527_[i_528_]; - if (aShortArray5608 == null || (aShortArray5608[i_529_] & i_513_) != 0) { - anIntArray5543[i_529_] += i_510_; - anIntArray5593[i_529_] += i_511_; - anIntArray5644[i_529_] += i_512_; - } - } - } - } - } else if (i == 2) { - if (is_514_ == null) { - for (int i_530_ = 0; i_515_ > i_530_; i_530_++) { - int i_531_ = is[i_530_]; - if (i_531_ < anIntArrayArray5539.length) { - int[] is_532_ = anIntArrayArray5539[i_531_]; - for (int i_533_ = 0; is_532_.length > i_533_; i_533_++) { - int i_534_ = is_532_[i_533_]; - if (aShortArray5608 == null || ((i_513_ & aShortArray5608[i_534_]) != 0)) { - anIntArray5543[i_534_] -= za.anInt7275; - anIntArray5593[i_534_] -= Class221.anInt2880; - anIntArray5644[i_534_] -= Class181.anInt2398; - if (i_512_ != 0) { - int i_535_ = Class70.anIntArray1207[i_512_]; - int i_536_ = Class70.anIntArray1204[i_512_]; - int i_537_ = ((i_535_ * anIntArray5593[i_534_] - (-(anIntArray5543[i_534_] * i_536_) - 16383)) >> 14); - anIntArray5593[i_534_] = (-(anIntArray5543[i_534_] * i_535_) + (anIntArray5593[i_534_] * i_536_) + 16383) >> 14; - anIntArray5543[i_534_] = i_537_; - } - if (i_510_ != 0) { - int i_538_ = Class70.anIntArray1207[i_510_]; - int i_539_ = Class70.anIntArray1204[i_510_]; - int i_540_ = ((-(anIntArray5644[i_534_] * i_538_) + (i_539_ * anIntArray5593[i_534_]) + 16383) >> 14); - anIntArray5644[i_534_] = (16383 + ((i_538_ * anIntArray5593[i_534_]) + (anIntArray5644[i_534_] * i_539_))) >> 14; - anIntArray5593[i_534_] = i_540_; - } - if (i_511_ != 0) { - int i_541_ = Class70.anIntArray1207[i_511_]; - int i_542_ = Class70.anIntArray1204[i_511_]; - int i_543_ = ((i_541_ * anIntArray5644[i_534_] + ((i_542_ * anIntArray5543[i_534_]) - -16383)) >> 14); - anIntArray5644[i_534_] = ((16383 + ((anIntArray5644[i_534_] * i_542_) + -(anIntArray5543[i_534_] * i_541_))) >> 14); - anIntArray5543[i_534_] = i_543_; - } - anIntArray5543[i_534_] += za.anInt7275; - anIntArray5593[i_534_] += Class221.anInt2880; - anIntArray5644[i_534_] += Class181.anInt2398; - } - } - } - } - if (bool) { - for (int i_544_ = 0; i_544_ < i_515_; i_544_++) { - int i_545_ = is[i_544_]; - if (i_545_ < anIntArrayArray5539.length) { - int[] is_546_ = anIntArrayArray5539[i_545_]; - for (int i_547_ = 0; is_546_.length > i_547_; i_547_++) { - int i_548_ = is_546_[i_547_]; - if (aShortArray5608 == null || ((aShortArray5608[i_548_] & i_513_) != 0)) { - int i_549_ = anIntArray5528[i_548_]; - int i_550_ = anIntArray5528[i_548_ + 1]; - for (int i_551_ = i_549_; i_550_ > i_551_; i_551_++) { - int i_552_ = aShortArray5649[i_551_] + -1; - if (i_552_ == -1) break; - if (i_512_ != 0) { - int i_553_ = (Class70.anIntArray1207[i_512_]); - int i_554_ = (Class70.anIntArray1204[i_512_]); - int i_555_ = ((16383 + (aShortArray5564[i_552_]) * i_554_ + (aShortArray5583[i_552_]) * i_553_) >> 14); - aShortArray5583[i_552_] = (short) ((16383 + ((i_554_ * (aShortArray5583[i_552_])) + -(i_553_ * (aShortArray5564[i_552_])))) >> 14); - aShortArray5564[i_552_] = (short) i_555_; - } - if (i_510_ != 0) { - int i_556_ = (Class70.anIntArray1207[i_510_]); - int i_557_ = (Class70.anIntArray1204[i_510_]); - int i_558_ = ((16383 + (-(i_556_ * (aShortArray5576[i_552_])) + ((aShortArray5583[i_552_]) * i_557_))) >> 14); - aShortArray5576[i_552_] = (short) (((i_556_ * (aShortArray5583[i_552_])) + (i_557_ * (aShortArray5576[i_552_])) + 16383) >> 14); - aShortArray5583[i_552_] = (short) i_558_; - } - if (i_511_ != 0) { - int i_559_ = (Class70.anIntArray1207[i_511_]); - int i_560_ = (Class70.anIntArray1204[i_511_]); - int i_561_ = ((16383 + (i_560_ * (aShortArray5564[i_552_])) + (i_559_ * (aShortArray5576[i_552_]))) >> 14); - aShortArray5576[i_552_] = (short) ((((aShortArray5576[i_552_]) * i_560_) + -(i_559_ * (aShortArray5564[i_552_])) + 16383) >> 14); - aShortArray5564[i_552_] = (short) i_561_; - } - } - } - } - } - } - if (aClass123_5563 == null && aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; - if (aClass123_5563 != null) aClass123_5563.anInterface2_1811 = null; - } - } else { - int i_562_ = is_514_[9] << 4; - int i_563_ = is_514_[10] << 4; - int i_564_ = is_514_[11] << 4; - int i_565_ = is_514_[12] << 4; - int i_566_ = is_514_[13] << 4; - int i_567_ = is_514_[14] << 4; - if (Class348_Sub42_Sub16_Sub1.aBoolean10450) { - int i_568_ = ((za.anInt7275 * is_514_[0] - -(is_514_[3] * Class221.anInt2880) - -(is_514_[6] * Class181.anInt2398) - -8192) >> 14); - int i_569_ = ((is_514_[1] * za.anInt7275 - -(Class221.anInt2880 * is_514_[4]) - (-(is_514_[7] * Class181.anInt2398) - 8192)) >> 14); - i_568_ += i_565_; - i_569_ += i_566_; - int i_570_ = (8192 + (Class181.anInt2398 * is_514_[8] + is_514_[2] * za.anInt7275 + is_514_[5] * Class221.anInt2880) >> 14); - i_570_ += i_567_; - za.anInt7275 = i_568_; - Class221.anInt2880 = i_569_; - Class181.anInt2398 = i_570_; - Class348_Sub42_Sub16_Sub1.aBoolean10450 = false; - } - int[] is_571_ = new int[9]; - int i_572_ = Class70.anIntArray1204[i_510_]; - int i_573_ = Class70.anIntArray1207[i_510_]; - int i_574_ = Class70.anIntArray1204[i_511_]; - int i_575_ = Class70.anIntArray1207[i_511_]; - int i_576_ = Class70.anIntArray1204[i_512_]; - int i_577_ = Class70.anIntArray1207[i_512_]; - int i_578_ = 8192 + i_576_ * i_573_ >> 14; - int i_579_ = 8192 + i_573_ * i_577_ >> 14; - is_571_[6] = (8192 + (i_579_ * i_574_ + i_576_ * -i_575_) >> 14); - is_571_[8] = 8192 + i_572_ * i_574_ >> 14; - is_571_[4] = 8192 + i_572_ * i_576_ >> 14; - is_571_[1] = (8192 + i_577_ * -i_574_ - -(i_578_ * i_575_) >> 14); - is_571_[3] = i_572_ * i_577_ + 8192 >> 14; - is_571_[5] = -i_573_; - is_571_[0] = (8192 + (i_575_ * i_579_ + i_576_ * i_574_) >> 14); - is_571_[7] = (8192 + i_574_ * i_578_ + i_577_ * i_575_ >> 14); - is_571_[2] = i_575_ * i_572_ - -8192 >> 14; - int i_580_ = ((is_571_[1] * -Class221.anInt2880 + -za.anInt7275 * is_571_[0] - (-(-Class181.anInt2398 * is_571_[2]) + -8192)) >> 14); - int i_581_ = ((-za.anInt7275 * is_571_[3] + is_571_[4] * -Class221.anInt2880 - -(is_571_[5] * -Class181.anInt2398) + 8192) >> 14); - int i_582_ = ((-Class181.anInt2398 * is_571_[8] + (is_571_[6] * -za.anInt7275 - -(is_571_[7] * -Class221.anInt2880)) - -8192) >> 14); - int i_583_ = i_580_ - -za.anInt7275; - int i_584_ = i_581_ - -Class221.anInt2880; - int i_585_ = Class181.anInt2398 + i_582_; - int[] is_586_ = new int[9]; - for (int i_587_ = 0; i_587_ < 3; i_587_++) { - for (int i_588_ = 0; i_588_ < 3; i_588_++) { - int i_589_ = 0; - for (int i_590_ = 0; i_590_ < 3; i_590_++) - i_589_ += (is_514_[3 * i_588_ - -i_590_] * is_571_[i_587_ * 3 - -i_590_]); - is_586_[i_588_ + 3 * i_587_] = i_589_ - -8192 >> 14; - } - } - int i_591_ = (is_571_[2] * i_567_ + (i_565_ * is_571_[0] + i_566_ * is_571_[1] + 8192) >> 14); - int i_592_ = (8192 + (i_566_ * is_571_[4] + is_571_[3] * i_565_ + is_571_[5] * i_567_) >> 14); - int i_593_ = ((is_571_[8] * i_567_ + is_571_[7] * i_566_ + (is_571_[6] * i_565_ - -8192)) >> 14); - i_592_ += i_584_; - i_591_ += i_583_; - i_593_ += i_585_; - int[] is_594_ = new int[9]; - for (int i_595_ = 0; i_595_ < 3; i_595_++) { - for (int i_596_ = 0; i_596_ < 3; i_596_++) { - int i_597_ = 0; - for (int i_598_ = 0; i_598_ < 3; i_598_++) - i_597_ += (is_514_[3 * i_595_ + i_598_] * is_586_[3 * i_598_ + i_596_]); - is_594_[3 * i_595_ - -i_596_] = 8192 + i_597_ >> 14; - } - } - int i_599_ = (8192 + is_514_[2] * i_593_ + (i_592_ * is_514_[1] + i_591_ * is_514_[0]) >> 14); - int i_600_ = (8192 + (is_514_[3] * i_591_ - -(is_514_[4] * i_592_) - -(is_514_[5] * i_593_)) >> 14); - i_600_ += i_563_; - int i_601_ = (8192 + i_593_ * is_514_[8] + (is_514_[7] * i_592_ + i_591_ * is_514_[6]) >> 14); - i_599_ += i_562_; - i_601_ += i_564_; - for (int i_602_ = 0; i_602_ < i_515_; i_602_++) { - int i_603_ = is[i_602_]; - if (i_603_ < anIntArrayArray5539.length) { - int[] is_604_ = anIntArrayArray5539[i_603_]; - for (int i_605_ = 0; (i_605_ < is_604_.length); i_605_++) { - int i_606_ = is_604_[i_605_]; - if (aShortArray5608 == null || (aShortArray5608[i_606_] & i_513_) != 0) { - int i_607_ = ((8192 + (is_594_[2] * anIntArray5644[i_606_]) + ((is_594_[1] * anIntArray5593[i_606_]) + (is_594_[0] * anIntArray5543[i_606_]))) >> 14); - int i_608_ = ((is_594_[5] * anIntArray5644[i_606_] + ((anIntArray5543[i_606_] * is_594_[3]) + (is_594_[4] * anIntArray5593[i_606_])) + 8192) >> 14); - i_607_ += i_599_; - i_608_ += i_600_; - int i_609_ = ((8192 + (is_594_[8] * anIntArray5644[i_606_]) + ((anIntArray5543[i_606_] * is_594_[6]) + (is_594_[7] * anIntArray5593[i_606_]))) >> 14); - i_609_ += i_601_; - anIntArray5543[i_606_] = i_607_; - anIntArray5593[i_606_] = i_608_; - anIntArray5644[i_606_] = i_609_; - } - } - } - } - } - } else if (i == 3) { - if (is_514_ == null) { - for (int i_648_ = 0; i_515_ > i_648_; i_648_++) { - int i_649_ = is[i_648_]; - if (i_649_ < anIntArrayArray5539.length) { - int[] is_650_ = anIntArrayArray5539[i_649_]; - for (int i_651_ = 0; (i_651_ < is_650_.length); i_651_++) { - int i_652_ = is_650_[i_651_]; - if (aShortArray5608 == null || ((i_513_ & aShortArray5608[i_652_]) != 0)) { - anIntArray5543[i_652_] -= za.anInt7275; - anIntArray5593[i_652_] -= Class221.anInt2880; - anIntArray5644[i_652_] -= Class181.anInt2398; - anIntArray5543[i_652_] = (anIntArray5543[i_652_] * i_510_ >> 7); - anIntArray5593[i_652_] = (anIntArray5593[i_652_] * i_511_ >> 7); - anIntArray5644[i_652_] = (i_512_ * anIntArray5644[i_652_] >> 7); - anIntArray5543[i_652_] += za.anInt7275; - anIntArray5593[i_652_] += Class221.anInt2880; - anIntArray5644[i_652_] += Class181.anInt2398; - } - } - } - } - } else { - int i_610_ = is_514_[9] << 4; - int i_611_ = is_514_[10] << 4; - int i_612_ = is_514_[11] << 4; - int i_613_ = is_514_[12] << 4; - int i_614_ = is_514_[13] << 4; - int i_615_ = is_514_[14] << 4; - if (Class348_Sub42_Sub16_Sub1.aBoolean10450) { - int i_616_ = (8192 + (za.anInt7275 * is_514_[0] - -(Class221.anInt2880 * is_514_[3]) - -(is_514_[6] * Class181.anInt2398)) >> 14); - int i_617_ = (8192 + (is_514_[7] * Class181.anInt2398 + (Class221.anInt2880 * is_514_[4] + is_514_[1] * za.anInt7275)) >> 14); - i_617_ += i_614_; - int i_618_ = ((is_514_[5] * Class221.anInt2880 + za.anInt7275 * is_514_[2] + is_514_[8] * Class181.anInt2398 - -8192) >> 14); - i_616_ += i_613_; - Class221.anInt2880 = i_617_; - i_618_ += i_615_; - za.anInt7275 = i_616_; - Class348_Sub42_Sub16_Sub1.aBoolean10450 = false; - Class181.anInt2398 = i_618_; - } - int i_619_ = i_510_ << 15 >> 7; - int i_620_ = i_511_ << 15 >> 7; - int i_621_ = i_512_ << 15 >> 7; - int i_622_ = -za.anInt7275 * i_619_ + 8192 >> 14; - int i_623_ = i_620_ * -Class221.anInt2880 + 8192 >> 14; - int i_624_ = -Class181.anInt2398 * i_621_ - -8192 >> 14; - int i_625_ = i_622_ + za.anInt7275; - int i_626_ = i_623_ - -Class221.anInt2880; - int i_627_ = Class181.anInt2398 + i_624_; - int[] is_628_ = new int[9]; - is_628_[1] = 8192 + is_514_[3] * i_619_ >> 14; - is_628_[0] = is_514_[0] * i_619_ - -8192 >> 14; - is_628_[2] = i_619_ * is_514_[6] + 8192 >> 14; - is_628_[6] = i_621_ * is_514_[2] - -8192 >> 14; - is_628_[5] = i_620_ * is_514_[7] - -8192 >> 14; - is_628_[4] = i_620_ * is_514_[4] - -8192 >> 14; - is_628_[3] = 8192 + i_620_ * is_514_[1] >> 14; - is_628_[7] = i_621_ * is_514_[5] + 8192 >> 14; - is_628_[8] = 8192 + i_621_ * is_514_[8] >> 14; - int i_629_ = 8192 + i_619_ * i_613_ >> 14; - int i_630_ = i_620_ * i_614_ - -8192 >> 14; - i_630_ += i_626_; - int i_631_ = 8192 + i_615_ * i_621_ >> 14; - i_629_ += i_625_; - i_631_ += i_627_; - int[] is_632_ = new int[9]; - for (int i_633_ = 0; i_633_ < 3; i_633_++) { - for (int i_634_ = 0; i_634_ < 3; i_634_++) { - int i_635_ = 0; - for (int i_636_ = 0; i_636_ < 3; i_636_++) - i_635_ += (is_514_[3 * i_633_ - -i_636_] * is_628_[3 * i_636_ + i_634_]); - is_632_[i_633_ * 3 + i_634_] = 8192 + i_635_ >> 14; - } - } - int i_637_ = ((is_514_[1] * i_630_ + is_514_[0] * i_629_ + i_631_ * is_514_[2] + 8192) >> 14); - int i_638_ = ((8192 + (i_631_ * is_514_[5] + is_514_[3] * i_629_) - -(is_514_[4] * i_630_)) >> 14); - int i_639_ = (i_629_ * is_514_[6] + (i_630_ * is_514_[7] - (-(is_514_[8] * i_631_) - 8192)) >> 14); - i_637_ += i_610_; - i_638_ += i_611_; - i_639_ += i_612_; - for (int i_640_ = 0; i_640_ < i_515_; i_640_++) { - int i_641_ = is[i_640_]; - if (anIntArrayArray5539.length > i_641_) { - int[] is_642_ = anIntArrayArray5539[i_641_]; - for (int i_643_ = 0; is_642_.length > i_643_; i_643_++) { - int i_644_ = is_642_[i_643_]; - if (aShortArray5608 == null || (aShortArray5608[i_644_] & i_513_) != 0) { - int i_645_ = ((8192 + (is_632_[1] * anIntArray5593[i_644_]) + ((is_632_[0] * anIntArray5543[i_644_]) + (is_632_[2] * anIntArray5644[i_644_]))) >> 14); - int i_646_ = ((is_632_[4] * anIntArray5593[i_644_] + (anIntArray5543[i_644_] * is_632_[3]) - (-(is_632_[5] * anIntArray5644[i_644_]) - 8192)) >> 14); - i_645_ += i_637_; - i_646_ += i_638_; - int i_647_ = ((is_632_[7] * anIntArray5593[i_644_] + (is_632_[6] * anIntArray5543[i_644_]) - -(is_632_[8] * anIntArray5644[i_644_]) - -8192) >> 14); - anIntArray5543[i_644_] = i_645_; - i_647_ += i_639_; - anIntArray5593[i_644_] = i_646_; - anIntArray5644[i_644_] = i_647_; - } - } - } - } - } - } else if (i == 5) { - if (anIntArrayArray5553 != null) { - for (int i_653_ = 0; i_653_ < i_515_; i_653_++) { - int i_654_ = is[i_653_]; - if (i_654_ < anIntArrayArray5553.length) { - int[] is_655_ = anIntArrayArray5553[i_654_]; - for (int i_656_ = 0; is_655_.length > i_656_; i_656_++) { - int i_657_ = is_655_[i_656_]; - if (aShortArray5573 == null || (aShortArray5573[i_657_] & i_513_) != 0) { - int i_658_ = ((aByteArray5542[i_657_] & 0xff) - -(8 * i_510_)); - if (i_658_ < 0) i_658_ = 0; - else if (i_658_ > 255) i_658_ = 255; - aByteArray5542[i_657_] = (byte) i_658_; - if (aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; - } - } - } - } - if (aClass118Array5621 != null) { - for (int i_659_ = 0; i_659_ < anInt5536; i_659_++) { - Class118 class118 = aClass118Array5621[i_659_]; - Class48 class48 = aClass48Array5596[i_659_]; - class48.anInt858 = ((255 + -(0xff & (aByteArray5542[(class118.anInt1783)])) << 24) | class48.anInt858 & 0xffffff); - } - } - } - } else if (i == 7) { - if (anIntArrayArray5553 != null) { - for (int i_660_ = 0; i_515_ > i_660_; i_660_++) { - int i_661_ = is[i_660_]; - if (anIntArrayArray5553.length > i_661_) { - int[] is_662_ = anIntArrayArray5553[i_661_]; - for (int i_663_ = 0; (is_662_.length > i_663_); i_663_++) { - int i_664_ = is_662_[i_663_]; - if (aShortArray5573 == null || (aShortArray5573[i_664_] & i_513_) != 0) { - int i_665_ = aShortArray5580[i_664_] & 0xffff; - int i_666_ = (0xfc7e & i_665_) >> 10; - int i_667_ = (i_665_ & 0x3ed) >> 7; - i_667_ += i_511_ / 4; - int i_668_ = 0x7f & i_665_; - i_666_ = i_666_ + i_510_ & 0x3f; - if (i_667_ < 0) i_667_ = 0; - else if (i_667_ > 7) i_667_ = 7; - i_668_ += i_512_; - if (i_668_ < 0) i_668_ = 0; - else if (i_668_ > 127) i_668_ = 127; - aShortArray5580[i_664_] = (short) (Class273.method2057(i_668_, (Class273.method2057(i_666_ << 10, i_667_ << 7)))); - if (aClass123_5610 != null) aClass123_5610.anInterface2_1811 = null; - } - } - } - } - if (aClass118Array5621 != null) { - for (int i_669_ = 0; anInt5536 > i_669_; i_669_++) { - Class118 class118 = aClass118Array5621[i_669_]; - Class48 class48 = aClass48Array5596[i_669_]; - class48.anInt858 = (0xffffff & (Class10.anIntArray179[(aShortArray5580[(class118.anInt1783)]) & 0xffff]) | class48.anInt858 & ~0xffffff); - } - } - } - } else if (i == 8) { - if (anIntArrayArray5627 != null) { - for (int i_670_ = 0; i_515_ > i_670_; i_670_++) { - int i_671_ = is[i_670_]; - if (i_671_ < anIntArrayArray5627.length) { - int[] is_672_ = anIntArrayArray5627[i_671_]; - for (int i_673_ = 0; is_672_.length > i_673_; i_673_++) { - Class48 class48 = aClass48Array5596[is_672_[i_673_]]; - class48.anInt847 += i_511_; - class48.anInt854 += i_510_; - } - } - } - } - } else if (i == 10) { - if (anIntArrayArray5627 != null) { - for (int i_674_ = 0; i_674_ < i_515_; i_674_++) { - int i_675_ = is[i_674_]; - if (i_675_ < anIntArrayArray5627.length) { - int[] is_676_ = anIntArrayArray5627[i_675_]; - for (int i_677_ = 0; i_677_ < is_676_.length; i_677_++) { - Class48 class48 = aClass48Array5596[is_676_[i_677_]]; - class48.anInt857 = (i_511_ * class48.anInt857 >> 7); - class48.anInt856 = (i_510_ * class48.anInt856 >> 7); - } - } - } - } - } else if (i == 9) { - if (anIntArrayArray5627 != null) { - for (int i_678_ = 0; i_678_ < i_515_; i_678_++) { - int i_679_ = is[i_678_]; - if (i_679_ < anIntArrayArray5627.length) { - int[] is_680_ = anIntArrayArray5627[i_679_]; - for (int i_681_ = 0; is_680_.length > i_681_; i_681_++) { - Class48 class48 = aClass48Array5596[is_680_[i_681_]]; - class48.anInt853 = 0x3fff & (class48.anInt853 + i_510_); - } - } - } - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("paa.I(" + i + ',' + (is != null ? "{...}" : "null") + ',' + i_510_ + ',' + i_511_ + ',' + i_512_ + ',' + bool + ',' + i_513_ + ',' + (is_514_ != null ? "{...}" : "null") + ')')); - } - } - - private final void method692(byte i) { - anInt5568++; - int i_682_ = 32767; - int i_683_ = 32767; - int i_684_ = 32767; - int i_685_ = -32768; - int i_686_ = -32768; - int i_687_ = -32768; - int i_688_ = 0; - int i_689_ = 0; - for (int i_690_ = 0; i_690_ < anInt5557; i_690_++) { - int i_691_ = anIntArray5543[i_690_]; - int i_692_ = anIntArray5593[i_690_]; - if (i_692_ > i_686_) i_686_ = i_692_; - if (i_692_ < i_683_) i_683_ = i_692_; - int i_693_ = anIntArray5644[i_690_]; - if (i_685_ < i_691_) i_685_ = i_691_; - if (i_682_ > i_691_) i_682_ = i_691_; - if (i_693_ > i_687_) i_687_ = i_693_; - if (i_684_ > i_693_) i_684_ = i_693_; - int i_694_ = i_691_ * i_691_ + i_693_ * i_693_; - if (i_694_ > i_688_) i_688_ = i_694_; - i_694_ = i_693_ * i_693_ + (i_691_ * i_691_ + i_692_ * i_692_); - if (i_694_ > i_689_) i_689_ = i_694_; - } - aShort5591 = (short) i_683_; - aShort5617 = (short) i_684_; - if (i != -123) method618(); - aShort5646 = (short) i_687_; - aShort5540 = (short) i_682_; - aShort5629 = (short) i_686_; - aShort5586 = (short) i_685_; - aShort5634 = (short) (int) (0.99 + Math.sqrt(i_688_)); - aShort5559 = (short) (int) (0.99 + Math.sqrt(i_689_)); - aBoolean5527 = true; - } - - final int fa() { - anInt5635++; - if (!aBoolean5527) method692((byte) -123); - return aShort5591; - } - - Class64_Sub3(ha_Sub2 var_ha_Sub2) { - aBoolean5527 = false; - anInt5529 = 0; - anInt5632 = 0; - anInt5557 = 0; - anInt5642 = 0; - aBoolean5638 = false; - try { - aHa_Sub2_5598 = var_ha_Sub2; - aClass123_5605 = new Class123(null, 5126, 3, 0); - aClass123_5620 = new Class123(null, 5126, 2, 0); - aClass123_5563 = new Class123(null, 5126, 3, 0); - aClass123_5610 = new Class123(null, 5121, 4, 0); - aClass270_5575 = new Class270(); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("paa.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ')')); - } - } - - Class64_Sub3(ha_Sub2 var_ha_Sub2, Class124 class124, int i, int i_695_, int i_696_, int i_697_) { - aBoolean5527 = false; - anInt5529 = 0; - anInt5632 = 0; - anInt5557 = 0; - anInt5642 = 0; - aBoolean5638 = false; - do { - try { - anInt5556 = i_697_; - anInt5648 = i; - aHa_Sub2_5598 = var_ha_Sub2; - if (Class64.method616(2, i, i_697_)) aClass123_5605 = new Class123(null, 5126, 3, 0); - if (Class137.method1163(i_697_, (byte) 78, i)) aClass123_5620 = new Class123(null, 5126, 2, 0); - if (aa_Sub3.method166((byte) 69, i_697_, i)) aClass123_5563 = new Class123(null, 5126, 3, 0); - if (Class146.method1193(i_697_, i, true)) aClass123_5610 = new Class123(null, 5121, 4, 0); - if (Class156.method1238(i, i_697_, -31)) aClass270_5575 = new Class270(); - d var_d = var_ha_Sub2.aD4579; - anIntArray5528 = new int[class124.anInt1821 + 1]; - int[] is = new int[class124.anInt1817]; - for (int i_698_ = 0; (i_698_ < class124.anInt1817); i_698_++) { - if (class124.aByteArray1843 == null || class124.aByteArray1843[i_698_] != 2) { - if (class124.aShortArray1822 != null && (class124.aShortArray1822[i_698_] != -1)) { - Class12 class12 = var_d.method3(((class124.aShortArray1822[i_698_]) & 0xffff), -6662); - if (((anInt5556 & 0x40) == 0 || !class12.aBoolean209) && class12.aBoolean204) continue; - } - is[anInt5632++] = i_698_; - anIntArray5528[(class124.aShortArray1863[i_698_])]++; - anIntArray5528[(class124.aShortArray1835[i_698_])]++; - anIntArray5528[(class124.aShortArray1855[i_698_])]++; - } - } - anInt5537 = anInt5632; - long[] ls = new long[anInt5632]; - boolean bool = (0x100 & anInt5648) != 0; - for (int i_699_ = 0; anInt5632 > i_699_; i_699_++) { - int i_700_ = is[i_699_]; - Class12 class12 = null; - int i_701_ = 0; - int i_702_ = 0; - int i_703_ = 0; - int i_704_ = 0; - if (class124.aClass162Array1832 != null) { - boolean bool_705_ = false; - for (int i_706_ = 0; (class124.aClass162Array1832.length > i_706_); i_706_++) { - Class162 class162 = (class124.aClass162Array1832[i_706_]); - if (i_700_ == class162.anInt2155) { - Class189 class189 = Class73.method742(104, (class162.anInt2153)); - if (class189.aBoolean2531) bool_705_ = true; - if (class189.anInt2525 != -1) { - Class12 class12_707_ = var_d.method3((class189.anInt2525), -6662); - if (class12_707_.anInt200 == 2) aBoolean5595 = true; - } - } - } - if (bool_705_) { - ls[i_699_] = 9223372036854775807L; - anInt5537--; - continue; - } - } - int i_708_ = -1; - if (class124.aShortArray1822 != null) { - i_708_ = class124.aShortArray1822[i_700_]; - if (i_708_ != -1) { - class12 = var_d.method3(i_708_ & 0xffff, -6662); - if ((anInt5556 & 0x40) != 0 && class12.aBoolean209) { - i_708_ = -1; - class12 = null; - } else { - i_704_ = class12.aByte202; - if (class12.aByte198 != 0 || class12.aByte211 != 0) aBoolean5638 = true; - i_703_ = class12.aByte213; - } - } - } - boolean bool_709_ = ((class124.aByteArray1834 != null && (class124.aByteArray1834[i_700_] != 0)) || (class12 != null && class12.anInt200 != 0)); - if ((bool || bool_709_) && class124.aByteArray1839 != null) i_701_ += (class124.aByteArray1839[i_700_] << 17); - if (bool_709_) i_701_ += 65536; - i_701_ += (0xff & i_703_) << 8; - i_701_ += i_704_ & 0xff; - i_702_ += (i_708_ & 0xffff) << 16; - i_702_ += i_699_ & 0xffff; - ls[i_699_] = ((long) i_701_ << 32) - -(long) i_702_; - Class64_Sub3 class64_sub3_710_ = this; - class64_sub3_710_.aBoolean5638 = (class64_sub3_710_.aBoolean5638 | (class12 != null && (class12.aByte198 != 0 || class12.aByte211 != 0))); - aBoolean5595 |= bool_709_; - } - Class348_Sub16_Sub2.method2832(is, ls, 0); - anIntArray5644 = class124.anIntArray1852; - anIntArray5593 = class124.anIntArray1847; - anInt5642 = class124.anInt1836; - anIntArray5543 = class124.anIntArray1841; - aShortArray5608 = class124.aShortArray1842; - anInt5557 = class124.anInt1821; - aClass342Array5541 = class124.aClass342Array1866; - Class8[] class8s = new Class8[anInt5557]; - aClass129Array5640 = class124.aClass129Array1846; - if (class124.aClass162Array1832 != null) { - anInt5536 = class124.aClass162Array1832.length; - aClass48Array5596 = new Class48[anInt5536]; - aClass118Array5621 = new Class118[anInt5536]; - for (int i_711_ = 0; anInt5536 > i_711_; i_711_++) { - Class162 class162 = class124.aClass162Array1832[i_711_]; - Class189 class189 = Class73.method742(104, (class162.anInt2153)); - int i_712_ = -1; - for (int i_713_ = 0; i_713_ < anInt5632; i_713_++) { - if (class162.anInt2155 == is[i_713_]) { - i_712_ = i_713_; - break; - } - } - if (i_712_ == -1) throw new RuntimeException(); - int i_714_ = ((Class10.anIntArray179[0xffff & (class124.aShortArray1862[class162.anInt2155])]) & 0xffffff); - i_714_ = i_714_ | (255 + -((class124.aByteArray1834) == null ? 0 : (class124.aByteArray1834[(class162.anInt2155)])) << 24); - aClass118Array5621[i_711_] = new Class118(i_712_, (class124.aShortArray1863[class162.anInt2155]), (class124.aShortArray1835[class162.anInt2155]), (class124.aShortArray1855[class162.anInt2155]), class189.anInt2526, class189.anInt2530, class189.anInt2525, class189.anInt2533, class189.anInt2534, class189.aBoolean2531, class189.aBoolean2522, class162.anInt2158); - aClass48Array5596[i_711_] = new Class48(i_714_); - } - } - int i_715_ = anInt5632 * 3; - aShortArray5649 = new short[i_715_]; - Class258_Sub2.aLongArray8530 = new long[i_715_]; - aShortArray5601 = new short[anInt5632]; - aFloatArray5571 = new float[i_715_]; - aShortArray5564 = new short[i_715_]; - aShortArray5576 = new short[i_715_]; - aByteArray5594 = new byte[i_715_]; - aShortArray5583 = new short[i_715_]; - if (class124.aShortArray1856 != null) aShortArray5573 = new short[anInt5632]; - aShort5544 = (short) i_695_; - aShortArray5580 = new short[anInt5632]; - aShortArray5579 = new short[anInt5632]; - aShortArray5592 = new short[anInt5632]; - aShort5645 = (short) i_696_; - aByteArray5542 = new byte[anInt5632]; - aFloatArray5552 = new float[i_715_]; - aShortArray5566 = new short[anInt5632]; - int i_716_ = 0; - for (int i_717_ = 0; i_717_ < class124.anInt1821; i_717_++) { - int i_718_ = anIntArray5528[i_717_]; - anIntArray5528[i_717_] = i_716_; - class8s[i_717_] = new Class8(); - i_716_ += i_718_; - } - anIntArray5528[class124.anInt1821] = i_716_; - Class358 class358 = Class59_Sub2_Sub1.method565(255, anInt5632, class124, is); - Class347[] class347s = new Class347[class124.anInt1817]; - for (int i_719_ = 0; class124.anInt1817 > i_719_; i_719_++) { - short i_720_ = class124.aShortArray1863[i_719_]; - short i_721_ = class124.aShortArray1835[i_719_]; - short i_722_ = class124.aShortArray1855[i_719_]; - int i_723_ = anIntArray5543[i_721_] + -anIntArray5543[i_720_]; - int i_724_ = anIntArray5593[i_721_] - anIntArray5593[i_720_]; - int i_725_ = -anIntArray5644[i_720_] + anIntArray5644[i_721_]; - int i_726_ = -anIntArray5543[i_720_] + anIntArray5543[i_722_]; - int i_727_ = anIntArray5593[i_722_] + -anIntArray5593[i_720_]; - int i_728_ = -anIntArray5644[i_720_] + anIntArray5644[i_722_]; - int i_729_ = i_724_ * i_728_ + -(i_727_ * i_725_); - int i_730_ = -(i_728_ * i_723_) + i_726_ * i_725_; - int i_731_; - for (i_731_ = -(i_724_ * i_726_) + i_727_ * i_723_; (i_729_ > 8192 || i_730_ > 8192 || i_731_ > 8192 || i_729_ < -8192 || i_730_ < -8192 || i_731_ < -8192); i_730_ >>= 1) { - i_729_ >>= 1; - i_731_ >>= 1; - } - int i_732_ = (int) Math.sqrt(i_731_ * i_731_ + i_730_ * i_730_ + i_729_ * i_729_); - if (i_732_ <= 0) i_732_ = 1; - i_731_ = i_731_ * 256 / i_732_; - i_729_ = i_729_ * 256 / i_732_; - i_730_ = 256 * i_730_ / i_732_; - byte i_733_ = (class124.aByteArray1843 == null ? (byte) 0 : class124.aByteArray1843[i_719_]); - if (i_733_ == 0) { - Class8 class8 = class8s[i_720_]; - class8.anInt162 += i_730_; - class8.anInt159 += i_731_; - class8.anInt160++; - class8.anInt161 += i_729_; - class8 = class8s[i_721_]; - class8.anInt161 += i_729_; - class8.anInt162 += i_730_; - class8.anInt160++; - class8.anInt159 += i_731_; - class8 = class8s[i_722_]; - class8.anInt160++; - class8.anInt159 += i_731_; - class8.anInt162 += i_730_; - class8.anInt161 += i_729_; - } else if (i_733_ == 1) { - Class347 class347 = class347s[i_719_] = new Class347(); - class347.anInt4283 = i_731_; - class347.anInt4279 = i_730_; - class347.anInt4282 = i_729_; - } - } - for (int i_734_ = 0; anInt5632 > i_734_; i_734_++) { - int i_735_ = is[i_734_]; - int i_736_ = (class124.aShortArray1862[i_735_] & 0xffff); - int i_737_; - if (class124.aByteArray1820 != null) i_737_ = class124.aByteArray1820[i_735_]; - else i_737_ = -1; - int i_738_; - if (class124.aByteArray1834 != null) i_738_ = 0xff & (class124.aByteArray1834[i_735_]); - else i_738_ = 0; - short i_739_ = (class124.aShortArray1822 == null ? (short) -1 : class124.aShortArray1822[i_735_]); - if (i_739_ != -1 && (0x40 & anInt5556) != 0) { - Class12 class12 = var_d.method3(i_739_ & 0xffff, -6662); - if (class12.aBoolean209) i_739_ = (short) -1; - } - float f = 0.0F; - float f_740_ = 0.0F; - float f_741_ = 0.0F; - float f_742_ = 0.0F; - float f_743_ = 0.0F; - float f_744_ = 0.0F; - int i_745_ = 0; - int i_746_ = 0; - int i_747_ = 0; - if (i_739_ != -1) { - if (i_737_ == -1) { - f_742_ = 1.0F; - i_746_ = 2; - f_744_ = 0.0F; - i_745_ = 1; - f_740_ = 1.0F; - f = 0.0F; - f_743_ = 0.0F; - f_741_ = 1.0F; - } else { - i_737_ &= 0xff; - byte i_748_ = class124.aByteArray1823[i_737_]; - if (i_748_ == 0) { - short i_749_ = (class124.aShortArray1863[i_735_]); - short i_750_ = (class124.aShortArray1835[i_735_]); - short i_751_ = (class124.aShortArray1855[i_735_]); - short i_752_ = (class124.aShortArray1829[i_737_]); - short i_753_ = (class124.aShortArray1849[i_737_]); - short i_754_ = (class124.aShortArray1825[i_737_]); - float f_755_ = (float) (class124.anIntArray1841[i_752_]); - float f_756_ = (float) (class124.anIntArray1847[i_752_]); - float f_757_ = (float) (class124.anIntArray1852[i_752_]); - float f_758_ = ((float) (class124.anIntArray1841[i_753_]) - f_755_); - float f_759_ = ((float) (class124.anIntArray1847[i_753_]) - f_756_); - float f_760_ = (-f_757_ + (float) (class124.anIntArray1852[i_753_])); - float f_761_ = ((float) (class124.anIntArray1841[i_754_]) - f_755_); - float f_762_ = (-f_756_ + (float) (class124.anIntArray1847[i_754_])); - float f_763_ = (-f_757_ + (float) (class124.anIntArray1852[i_754_])); - float f_764_ = (-f_755_ + (float) (class124.anIntArray1841[i_749_])); - float f_765_ = ((float) (class124.anIntArray1847[i_749_]) - f_756_); - float f_766_ = ((float) (class124.anIntArray1852[i_749_]) - f_757_); - float f_767_ = (-f_755_ + (float) (class124.anIntArray1841[i_750_])); - float f_768_ = (-f_756_ + (float) (class124.anIntArray1847[i_750_])); - float f_769_ = (-f_757_ + (float) (class124.anIntArray1852[i_750_])); - float f_770_ = (-f_755_ + (float) (class124.anIntArray1841[i_751_])); - float f_771_ = (-f_756_ + (float) (class124.anIntArray1847[i_751_])); - float f_772_ = (-f_757_ + (float) (class124.anIntArray1852[i_751_])); - float f_773_ = -(f_760_ * f_762_) + f_759_ * f_763_; - float f_774_ = -(f_763_ * f_758_) + f_761_ * f_760_; - float f_775_ = f_762_ * f_758_ - f_761_ * f_759_; - float f_776_ = -(f_763_ * f_774_) + f_775_ * f_762_; - float f_777_ = -(f_761_ * f_775_) + f_763_ * f_773_; - float f_778_ = f_774_ * f_761_ - f_762_ * f_773_; - float f_779_ = 1.0F / (f_760_ * f_778_ + (f_759_ * f_777_ + f_776_ * f_758_)); - f_743_ = f_779_ * (f_770_ * f_776_ + f_777_ * f_771_ + f_772_ * f_778_); - f = f_779_ * (f_776_ * f_764_ + f_777_ * f_765_ + f_778_ * f_766_); - f_741_ = f_779_ * (f_769_ * f_778_ + (f_767_ * f_776_ + f_777_ * f_768_)); - f_778_ = -(f_773_ * f_759_) + f_758_ * f_774_; - f_776_ = f_759_ * f_775_ - f_774_ * f_760_; - f_777_ = f_760_ * f_773_ - f_775_ * f_758_; - f_779_ = 1.0F / (f_763_ * f_778_ + (f_761_ * f_776_ + f_777_ * f_762_)); - f_742_ = (f_767_ * f_776_ + f_777_ * f_768_ + f_778_ * f_769_) * f_779_; - f_740_ = (f_778_ * f_766_ + (f_777_ * f_765_ + f_764_ * f_776_)) * f_779_; - f_744_ = (f_777_ * f_771_ + f_776_ * f_770_ + f_772_ * f_778_) * f_779_; - } else { - short i_780_ = (class124.aShortArray1863[i_735_]); - short i_781_ = (class124.aShortArray1835[i_735_]); - short i_782_ = (class124.aShortArray1855[i_735_]); - int i_783_ = (class358.anIntArray4416[i_737_]); - int i_784_ = (class358.anIntArray4415[i_737_]); - int i_785_ = (class358.anIntArray4414[i_737_]); - float[] fs = (class358.aFloatArrayArray4412[i_737_]); - byte i_786_ = (class124.aByteArray1853[i_737_]); - float f_787_ = ((float) (class124.anIntArray1867[i_737_]) / 256.0F); - if (i_748_ == 1) { - float f_805_ = ((float) (class124.anIntArray1844[i_737_]) / 1024.0F); - Class246.method1885(i_785_, (class124.anIntArray1852[i_780_]), i_786_, 8, (class124.anIntArray1841[i_780_]), Class152.aFloatArray2075, (class124.anIntArray1847[i_780_]), f_787_, i_784_, i_783_, f_805_, fs); - f = Class152.aFloatArray2075[0]; - f_740_ = Class152.aFloatArray2075[1]; - Class246.method1885(i_785_, (class124.anIntArray1852[i_781_]), i_786_, 8, (class124.anIntArray1841[i_781_]), Class152.aFloatArray2075, (class124.anIntArray1847[i_781_]), f_787_, i_784_, i_783_, f_805_, fs); - f_741_ = Class152.aFloatArray2075[0]; - f_742_ = Class152.aFloatArray2075[1]; - Class246.method1885(i_785_, (class124.anIntArray1852[i_782_]), i_786_, 8, (class124.anIntArray1841[i_782_]), Class152.aFloatArray2075, (class124.anIntArray1847[i_782_]), f_787_, i_784_, i_783_, f_805_, fs); - f_743_ = Class152.aFloatArray2075[0]; - f_744_ = Class152.aFloatArray2075[1]; - float f_806_ = f_805_ / 2.0F; - if ((0x1 & i_786_) == 0) { - if (f_806_ < -f + f_743_) { - f_743_ -= f_805_; - i_746_ = 1; - } else if (f_806_ < f - f_743_) { - f_743_ += f_805_; - i_746_ = 2; - } - if (f_741_ - f > f_806_) { - i_745_ = 1; - f_741_ -= f_805_; - } else if (-f_741_ + f > f_806_) { - i_745_ = 2; - f_741_ += f_805_; - } - } else { - if (f_742_ - f_740_ > f_806_) { - f_742_ -= f_805_; - i_745_ = 1; - } else if (f_740_ - f_742_ > f_806_) { - i_745_ = 2; - f_742_ += f_805_; - } - if (f_806_ < -f_740_ + f_744_) { - i_746_ = 1; - f_744_ -= f_805_; - } else if (-f_744_ + f_740_ > f_806_) { - i_746_ = 2; - f_744_ += f_805_; - } - } - } else if (i_748_ == 2) { - float f_788_ = ((float) (class124.anIntArray1857[i_737_]) / 256.0F); - float f_789_ = ((float) (class124.anIntArray1865[i_737_]) / 256.0F); - int i_790_ = (-(class124.anIntArray1841[i_780_]) + (class124.anIntArray1841[i_781_])); - int i_791_ = ((class124.anIntArray1847[i_781_]) + -(class124.anIntArray1847[i_780_])); - int i_792_ = (-(class124.anIntArray1852[i_780_]) + (class124.anIntArray1852[i_781_])); - int i_793_ = ((class124.anIntArray1841[i_782_]) - (class124.anIntArray1841[i_780_])); - int i_794_ = ((class124.anIntArray1847[i_782_]) + -(class124.anIntArray1847[i_780_])); - int i_795_ = (-(class124.anIntArray1852[i_780_]) + (class124.anIntArray1852[i_782_])); - int i_796_ = (-(i_792_ * i_794_) + i_791_ * i_795_); - int i_797_ = (i_793_ * i_792_ + -(i_795_ * i_790_)); - int i_798_ = (i_794_ * i_790_ + -(i_793_ * i_791_)); - float f_799_ = (64.0F / (float) (class124.anIntArray1859[i_737_])); - float f_800_ = (64.0F / (float) (class124.anIntArray1816[i_737_])); - float f_801_ = (64.0F / (float) (class124.anIntArray1844[i_737_])); - float f_802_ = ((fs[2] * (float) i_798_ + ((float) i_797_ * fs[1] + (float) i_796_ * fs[0])) / f_799_); - float f_803_ = ((fs[5] * (float) i_798_ + ((float) i_797_ * fs[4] + fs[3] * (float) i_796_)) / f_800_); - float f_804_ = (((float) i_798_ * fs[8] + (fs[7] * (float) i_797_ + (float) i_796_ * fs[6])) / f_801_); - i_747_ = Class331.method2635(f_803_, false, f_804_, f_802_); - Class262.method1991(f_789_, f_787_, fs, (class124.anIntArray1852[i_780_]), i_785_, false, i_786_, i_783_, (class124.anIntArray1841[i_780_]), (class124.anIntArray1847[i_780_]), f_788_, Class152.aFloatArray2075, i_784_, i_747_); - f_740_ = Class152.aFloatArray2075[1]; - f = Class152.aFloatArray2075[0]; - Class262.method1991(f_789_, f_787_, fs, (class124.anIntArray1852[i_781_]), i_785_, false, i_786_, i_783_, (class124.anIntArray1841[i_781_]), (class124.anIntArray1847[i_781_]), f_788_, Class152.aFloatArray2075, i_784_, i_747_); - f_742_ = Class152.aFloatArray2075[1]; - f_741_ = Class152.aFloatArray2075[0]; - Class262.method1991(f_789_, f_787_, fs, (class124.anIntArray1852[i_782_]), i_785_, false, i_786_, i_783_, (class124.anIntArray1841[i_782_]), (class124.anIntArray1847[i_782_]), f_788_, Class152.aFloatArray2075, i_784_, i_747_); - f_743_ = Class152.aFloatArray2075[0]; - f_744_ = Class152.aFloatArray2075[1]; - } else if (i_748_ == 3) { - Class181.method1367(i_785_, i_786_, f_787_, (class124.anIntArray1841[i_780_]), Class152.aFloatArray2075, (class124.anIntArray1852[i_780_]), i_783_, (class124.anIntArray1847[i_780_]), i_784_, -4, fs); - f_740_ = Class152.aFloatArray2075[1]; - f = Class152.aFloatArray2075[0]; - Class181.method1367(i_785_, i_786_, f_787_, (class124.anIntArray1841[i_781_]), Class152.aFloatArray2075, (class124.anIntArray1852[i_781_]), i_783_, (class124.anIntArray1847[i_781_]), i_784_, -4, fs); - f_741_ = Class152.aFloatArray2075[0]; - f_742_ = Class152.aFloatArray2075[1]; - Class181.method1367(i_785_, i_786_, f_787_, (class124.anIntArray1841[i_782_]), Class152.aFloatArray2075, (class124.anIntArray1852[i_782_]), i_783_, (class124.anIntArray1847[i_782_]), i_784_, -4, fs); - f_744_ = Class152.aFloatArray2075[1]; - f_743_ = Class152.aFloatArray2075[0]; - if ((0x1 & i_786_) == 0) { - if (-f + f_743_ > 0.5F) { - i_746_ = 1; - f_743_--; - } else if (f - f_743_ > 0.5F) { - i_746_ = 2; - f_743_++; - } - if (f_741_ - f > 0.5F) { - i_745_ = 1; - f_741_--; - } else if (-f_741_ + f > 0.5F) { - i_745_ = 2; - f_741_++; - } - } else { - if (-f_740_ + f_742_ > 0.5F) { - i_745_ = 1; - f_742_--; - } else if (f_740_ - f_742_ > 0.5F) { - f_742_++; - i_745_ = 2; - } - if (f_744_ - f_740_ > 0.5F) { - f_744_--; - i_746_ = 1; - } else if (f_740_ - f_744_ > 0.5F) { - i_746_ = 2; - f_744_++; - } - } - } - } - } - } - byte i_807_; - if (class124.aByteArray1843 != null) i_807_ = class124.aByteArray1843[i_735_]; - else i_807_ = (byte) 0; - if (i_807_ == 0) { - long l = ((((long) (i_736_ << 8) + ((long) (i_747_ << 24) + (long) i_738_)) << 32) + (long) (i_737_ << 2)); - short i_808_ = class124.aShortArray1863[i_735_]; - short i_809_ = class124.aShortArray1835[i_735_]; - short i_810_ = class124.aShortArray1855[i_735_]; - Class8 class8 = class8s[i_808_]; - aShortArray5592[i_734_] = method683(class8.anInt162, class8.anInt159, l, class8.anInt161, class124, class8.anInt160, f, 0, i_808_, f_740_); - class8 = class8s[i_809_]; - aShortArray5579[i_734_] = method683(class8.anInt162, class8.anInt159, (long) i_745_ + l, class8.anInt161, class124, class8.anInt160, f_741_, 0, i_809_, f_742_); - class8 = class8s[i_810_]; - aShortArray5566[i_734_] = method683(class8.anInt162, class8.anInt159, l + (long) i_746_, class8.anInt161, class124, class8.anInt160, f_743_, 0, i_810_, f_744_); - } else if (i_807_ == 1) { - Class347 class347 = class347s[i_735_]; - long l = ((((long) (i_736_ << 8) + (long) (i_747_ << 24) + (long) i_738_) << 32) + (long) (((class347.anInt4282 > 0) ? 1024 : 2048) + (i_737_ << 2) + ((class347.anInt4279) + 256 << 12) - -(256 + (class347.anInt4283) << 22))); - aShortArray5592[i_734_] = method683(class347.anInt4279, class347.anInt4283, l, class347.anInt4282, class124, 0, f, 0, (class124.aShortArray1863[i_735_]), f_740_); - aShortArray5579[i_734_] = method683(class347.anInt4279, class347.anInt4283, l + (long) i_745_, class347.anInt4282, class124, 0, f_741_, 0, (class124.aShortArray1835[i_735_]), f_742_); - aShortArray5566[i_734_] = method683(class347.anInt4279, class347.anInt4283, l + (long) i_746_, class347.anInt4282, class124, 0, f_743_, 0, (class124.aShortArray1855[i_735_]), f_744_); - } - if (class124.aByteArray1834 != null) aByteArray5542[i_734_] = class124.aByteArray1834[i_735_]; - if (class124.aShortArray1856 != null) aShortArray5573[i_734_] = class124.aShortArray1856[i_735_]; - aShortArray5580[i_734_] = class124.aShortArray1862[i_735_]; - aShortArray5601[i_734_] = i_739_; - } - int i_811_ = 0; - short i_812_ = -10000; - for (int i_813_ = 0; i_813_ < anInt5537; i_813_++) { - short i_814_ = aShortArray5601[i_813_]; - if (i_812_ != i_814_) { - i_811_++; - i_812_ = i_814_; - } - } - anIntArray5626 = new int[1 + i_811_]; - i_811_ = 0; - i_812_ = (short) -10000; - for (int i_815_ = 0; anInt5537 > i_815_; i_815_++) { - short i_816_ = aShortArray5601[i_815_]; - if (i_816_ != i_812_) { - anIntArray5626[i_811_++] = i_815_; - i_812_ = i_816_; - } - } - anIntArray5626[i_811_] = anInt5537; - Class258_Sub2.aLongArray8530 = null; - aShortArray5564 = Class119_Sub2.method1078(aShortArray5564, anInt5529, 114); - aShortArray5583 = Class119_Sub2.method1078(aShortArray5583, anInt5529, 126); - aShortArray5576 = Class119_Sub2.method1078(aShortArray5576, anInt5529, 100); - aByteArray5594 = Class93.method863(anInt5529, (byte) 113, aByteArray5594); - aFloatArray5552 = Class231.method1638(anInt5529, aFloatArray5552, -1); - aFloatArray5571 = Class231.method1638(anInt5529, aFloatArray5571, -1); - if (class124.anIntArray1868 != null && Class312.method2332(anInt5556, (byte) 125, i)) anIntArrayArray5539 = class124.method1100(false, -42); - if (class124.aClass162Array1832 != null && Class229.method1633(false, i, anInt5556)) anIntArrayArray5627 = class124.method1093((byte) -69); - if (class124.anIntArray1824 == null || !Class40.method371(i, 256, anInt5556)) break; - int i_817_ = 0; - int[] is_818_ = new int[256]; - for (int i_819_ = 0; anInt5632 > i_819_; i_819_++) { - int i_820_ = class124.anIntArray1824[is[i_819_]]; - if (i_820_ >= 0) { - if (i_817_ < i_820_) i_817_ = i_820_; - is_818_[i_820_]++; - } - } - anIntArrayArray5553 = new int[i_817_ + 1][]; - for (int i_821_ = 0; i_821_ <= i_817_; i_821_++) { - anIntArrayArray5553[i_821_] = new int[is_818_[i_821_]]; - is_818_[i_821_] = 0; - } - for (int i_822_ = 0; i_822_ < anInt5632; i_822_++) { - int i_823_ = class124.anIntArray1824[is[i_822_]]; - if (i_823_ >= 0) anIntArrayArray5553[i_823_][is_818_[i_823_]++] = i_822_; - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("paa.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + (class124 != null ? "{...}" : "null") + ',' + i + ',' + i_695_ + ',' + i_696_ + ',' + i_697_ + ')')); - } - break; - } while (false); - } -} diff --git a/client/src/Class65.java b/client/src/Class65.java deleted file mode 100644 index b77f57038..000000000 --- a/client/src/Class65.java +++ /dev/null @@ -1,108 +0,0 @@ -/* Class65 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class65 { - static int anInt1138; - static int anInt1139; - static int anInt1140; - private final Class45 aClass45_1141; - static int anInt1142; - static int anInt1143; - static Class351 aClass351_1144; - private final Class60 aClass60_1145 = new Class60(256); - static Class110_Sub1[] aClass110_Sub1Array1146 = new Class110_Sub1[0]; - static int anInt1147; - static Class357[][][] aClass357ArrayArrayArray1148; - - final void method694(int i) { - anInt1140++; - if (i != -1007) method700(14, 98); - synchronized (aClass60_1145) { - aClass60_1145.method587(i + 883); - } - } - - final void method695(boolean bool) { - if (bool != true) aClass351_1144 = null; - synchronized (aClass60_1145) { - aClass60_1145.method590(0); - } - anInt1139++; - } - - static final void method696(int i, int i_0_, int i_1_, int i_2_) { - if (i_2_ == -1007) { - if (i == 1009) Class66.method701(Class327.aClass273_4091, i_1_, i_0_); - else if (i != 1012) { - if (i == 1002) Class66.method701(Class348_Sub40_Sub32.aClass273_9415, i_1_, i_0_); - else if (i == 1003) Class66.method701(Class348_Sub12.aClass273_6743, i_1_, i_0_); - else if (i == 1006) Class66.method701(Class239_Sub17.aClass273_6018, i_1_, i_0_); - } else Class66.method701(Class5_Sub2.aClass273_8356, i_1_, i_0_); - anInt1138++; - } - } - - final void method697(int i, int i_3_) { - if (i_3_ == 26) { - anInt1142++; - synchronized (aClass60_1145) { - aClass60_1145.method578(i_3_ ^ 0x18, i); - } - } - } - - public static void method698(int i) { - aClass351_1144 = null; - if (i != 2) aClass357ArrayArrayArray1148 = null; - aClass357ArrayArrayArray1148 = null; - aClass110_Sub1Array1146 = null; - } - - static final void method699(Class45 class45, byte i, Class45 class45_4_, Class45 class45_5_, Class45 class45_6_) { - try { - Class348_Sub40_Sub28.aClass45_9365 = class45_6_; - anInt1147++; - Class318_Sub1_Sub3.aClass45_8755 = class45_5_; - Class229.aClass45_2978 = class45_4_; - Class348_Sub40_Sub33.aClass46ArrayArray9427 = new Class46[Class229.aClass45_2978.method414(-1)][]; - Class163.aBooleanArray2162 = new boolean[Class229.aClass45_2978.method414(-1)]; - int i_7_ = -72 % ((35 - i) / 41); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("kb.F(" + (class45 != null ? "{...}" : "null") + ',' + i + ',' + (class45_4_ != null ? "{...}" : "null") + ',' + (class45_5_ != null ? "{...}" : "null") + ',' + (class45_6_ != null ? "{...}" : "null") + ')')); - } - } - - final Class348_Sub42_Sub1 method700(int i, int i_8_) { - anInt1143++; - int i_9_ = -128 / ((-3 - i_8_) / 49); - Class348_Sub42_Sub1 class348_sub42_sub1; - synchronized (aClass60_1145) { - class348_sub42_sub1 = (Class348_Sub42_Sub1) aClass60_1145.method583(i, -101); - } - if (class348_sub42_sub1 != null) return class348_sub42_sub1; - byte[] is; - synchronized (aClass45_1141) { - is = aClass45_1141.method410(-1860, 26, i); - } - class348_sub42_sub1 = new Class348_Sub42_Sub1(); - if (is != null) class348_sub42_sub1.method3168(new Class348_Sub49(is), (byte) -101); - synchronized (aClass60_1145) { - aClass60_1145.method582(class348_sub42_sub1, i, (byte) -114); - } - return class348_sub42_sub1; - } - - Class65(Class230 class230, int i, Class45 class45) { - try { - aClass45_1141 = class45; - aClass45_1141.method407(0, 26); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("kb.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); - } - } - - static { - aClass351_1144 = new Class351(37, 2); - } -} diff --git a/client/src/Class66.java b/client/src/Class66.java deleted file mode 100644 index 445e8d502..000000000 --- a/client/src/Class66.java +++ /dev/null @@ -1,5168 +0,0 @@ -/* Class66 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.datatransfer.DataFlavor; -import java.awt.datatransfer.Transferable; -import java.util.Calendar; -import java.util.Date; - -final class Class66 { - private static int[] anIntArray1149 = new int[1000]; - private static Class46 aClass46_1150; - private static Class43 aClass43_1151; - private static String[] aStringArray1152 = new String[1000]; - static int anInt1153; - private static int anInt1154 = 0; - private static String[] aStringArray1155; - static int anInt1156; - static int anInt1157; - static int anInt1158; - static int anInt1159; - private static Calendar aCalendar1160; - private static int[][] anIntArrayArray1161 = new int[5][5000]; - static int anInt1162; - static int anInt1163; - private static int[] anIntArray1164; - static int anInt1165; - static int anInt1166; - static int anInt1167; - private static Class184[] aClass184Array1168; - private static Class46 aClass46_1169; - private static int anInt1170 = 0; - static int anInt1171; - private static int[] anIntArray1172 = new int[5]; - private static int anInt1173 = 0; - static Class60 aClass60_1174; - private static int[] anIntArray1175; - private static String[] aStringArray1176; - private static int anInt1177; - - static final void method701(Class273 class273, int i, int i_0_) { - Class348_Sub42_Sub19 class348_sub42_sub19 = Class153.method1223(i, i_0_, 96837648, class273); - if (class348_sub42_sub19 != null) { - anIntArray1164 = (new int - [class348_sub42_sub19.anInt9688]); - aStringArray1155 = (new String - [class348_sub42_sub19.anInt9689]); - if ((class348_sub42_sub19.aClass273_9691 == Class90.aClass273_1512) || (class348_sub42_sub19.aClass273_9691) == Class59_Sub1_Sub2.aClass273_8664 || (class348_sub42_sub19.aClass273_9691) == Class77.aClass273_1298) { - int i_1_ = 0; - int i_2_ = 0; - if (Class168.aClass46_2249 != null) { - i_1_ = Class168.aClass46_2249.anInt800; - i_2_ = Class168.aClass46_2249.anInt750; - } - anIntArray1164[0] = Class258_Sub4.aClass373_8552.method3597(true) - i_1_; - anIntArray1164[1] = (Class258_Sub4.aClass373_8552.method3594((byte) 80) - i_2_); - } - method711(class348_sub42_sub19, 200000); - } - } - - private static final void method702(int i) { - Class46 class46 = Class324.method2570(1512932720, i); - if (class46 != null) { - int i_3_ = i >>> 16; - Class46[] class46s = Class369_Sub2.aClass46ArrayArray8584[i_3_]; - if (class46s == null) { - Class46[] class46s_4_ = Class348_Sub40_Sub33.aClass46ArrayArray9427[i_3_]; - int i_5_ = class46s_4_.length; - class46s = Class369_Sub2.aClass46ArrayArray8584[i_3_] = new Class46[i_5_]; - Class214.method1575(class46s_4_, 0, class46s, 0, class46s_4_.length); - } - int i_6_; - for (i_6_ = 0; i_6_ < class46s.length; i_6_++) { - if (class46s[i_6_] == class46) break; - } - if (i_6_ < class46s.length) { - Class214.method1575(class46s, 0, class46s, 1, i_6_); - class46s[0] = class46; - } - } - } - - static final void method703(int i) { - if (i != -1 && Class320.method2547(i, (byte) 84)) { - Class46[] class46s = Class348_Sub40_Sub33.aClass46ArrayArray9427[i]; - for (int i_7_ = 0; i_7_ < class46s.length; i_7_++) { - Class46 class46 = class46s[i_7_]; - if (class46.anObjectArray815 != null) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); - class348_sub36.aClass46_6989 = class46; - class348_sub36.anObjectArray6987 = class46.anObjectArray815; - method712(class348_sub36, 2000000); - } - } - } - } - - private static final void method704(int i, boolean bool) { - if (i < 5100) { - if (i == 5000) { - anIntArray1149[anInt1173++] = za.anInt7276; - return; - } - if (i == 5001) { - anInt1173 -= 3; - za.anInt7276 = anIntArray1149[anInt1173]; - Class57.aClass227_1055 = Class38.method360((byte) -57, anIntArray1149[anInt1173 + 1]); - if (Class57.aClass227_1055 == null) Class57.aClass227_1055 = Class100.aClass227_1591; - Class290.anInt3713 = anIntArray1149[anInt1173 + 2]; - anInt1156++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class348_Sub14.aClass351_6766, (Class348_Sub23_Sub2.aClass77_9029), -111); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, za.anInt7276); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, Class57.aClass227_1055.anInt2970); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, Class290.anInt3713); - Class348_Sub42_Sub14.method3243(-77, class348_sub47); - return; - } - if (i == 5002) { - anInt1170 -= 2; - String string = aStringArray1152[anInt1170]; - String string_8_ = aStringArray1152[anInt1170 + 1]; - anInt1173 -= 2; - int i_9_ = anIntArray1149[anInt1173]; - int i_10_ = anIntArray1149[anInt1173 + 1]; - if (string_8_ == null) string_8_ = ""; - if (string_8_.length() > 80) string_8_ = string_8_.substring(0, 80); - anInt1157++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class143.aClass351_1987, (Class348_Sub23_Sub2.aClass77_9029), -117); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, (Class239_Sub6.method1745(string, -65) + 2 + Class239_Sub6.method1745(string_8_, -65))); - class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, i_9_ - 1); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, i_10_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string_8_); - Class348_Sub42_Sub14.method3243(-85, class348_sub47); - return; - } - if (i == 5003) { - int i_11_ = anIntArray1149[--anInt1173]; - Class147 class147 = s.method3985(-101, i_11_); - String string = ""; - if (class147 != null && class147.aString2028 != null) string = class147.aString2028; - aStringArray1152[anInt1170++] = string; - return; - } - if (i == 5004) { - int i_12_ = anIntArray1149[--anInt1173]; - Class147 class147 = s.method3985(-101, i_12_); - int i_13_ = -1; - if (class147 != null) i_13_ = class147.anInt2032; - anIntArray1149[anInt1173++] = i_13_; - return; - } - if (i == 5005) { - if (Class57.aClass227_1055 == null) anIntArray1149[anInt1173++] = -1; - else { - anIntArray1149[anInt1173++] = Class57.aClass227_1055.anInt2970; - return; - } - return; - } - if (i == 5006) { - int i_14_ = anIntArray1149[--anInt1173]; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class348_Sub31.aClass351_6925, (Class348_Sub23_Sub2.aClass77_9029), -100); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, i_14_); - Class348_Sub42_Sub14.method3243(-70, class348_sub47); - return; - } - if (i == 5008) { - String string = aStringArray1152[--anInt1170]; - method707(string, i); - return; - } - if (i == 5009) { - anInt1170 -= 2; - String string = aStringArray1152[anInt1170]; - String string_15_ = aStringArray1152[anInt1170 + 1]; - if (Class192.anInt2581 != 0 || ((!Class348_Sub40_Sub3.aBoolean9103 || Class133.aBoolean1915) && !Class50_Sub2.aBoolean5233)) { - anInt1159++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class348_Sub40_Sub22.aClass351_9304), (Class348_Sub23_Sub2.aClass77_9029), -116); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 0); - int i_16_ = (class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197); - class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); - Class367_Sub4.method3544((class348_sub47.aClass348_Sub49_Sub2_7116), -70, string_15_); - class348_sub47.aClass348_Sub49_Sub2_7116.method3339(109, (class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197) - i_16_); - Class348_Sub42_Sub14.method3243(2, class348_sub47); - return; - } - return; - } - if (i == 5010) { - int i_17_ = anIntArray1149[--anInt1173]; - Class147 class147 = s.method3985(-101, i_17_); - String string = ""; - if (class147 != null && class147.aString2024 != null) string = class147.aString2024; - aStringArray1152[anInt1170++] = string; - return; - } - if (i == 5011) { - int i_18_ = anIntArray1149[--anInt1173]; - Class147 class147 = s.method3985(-101, i_18_); - String string = ""; - if (class147 != null && class147.aString2022 != null) string = class147.aString2022; - aStringArray1152[anInt1170++] = string; - return; - } - if (i == 5012) { - int i_19_ = anIntArray1149[--anInt1173]; - Class147 class147 = s.method3985(-101, i_19_); - int i_20_ = -1; - if (class147 != null) i_20_ = class147.anInt2026; - anIntArray1149[anInt1173++] = i_20_; - return; - } - if (i == 5015) { - String string; - if (Class132.aPlayer_1907 != null && (Class132.aPlayer_1907.aString10537) != null) string = Class132.aPlayer_1907.method2456(true, 255); - else string = ""; - aStringArray1152[anInt1170++] = string; - return; - } - if (i == 5016) { - anIntArray1149[anInt1173++] = Class290.anInt3713; - return; - } - if (i == 5017) { - anIntArray1149[anInt1173++] = Class348_Sub4.method2749(-1); - return; - } - if (i == 5018) { - int i_21_ = anIntArray1149[--anInt1173]; - Class147 class147 = s.method3985(-101, i_21_); - int i_22_ = 0; - if (class147 != null) i_22_ = class147.anInt2027; - anIntArray1149[anInt1173++] = i_22_; - return; - } - if (i == 5019) { - int i_23_ = anIntArray1149[--anInt1173]; - Class147 class147 = s.method3985(-101, i_23_); - String string = ""; - if (class147 != null && class147.aString2033 != null) string = class147.aString2033; - aStringArray1152[anInt1170++] = string; - return; - } - if (i == 5020) { - String string; - if (Class132.aPlayer_1907 != null && (Class132.aPlayer_1907.aString10537) != null) string = Class132.aPlayer_1907.method2450(false, -78); - else string = ""; - aStringArray1152[anInt1170++] = string; - return; - } - if (i == 5023) { - int i_24_ = anIntArray1149[--anInt1173]; - Class147 class147 = s.method3985(-101, i_24_); - int i_25_ = -1; - if (class147 != null) i_25_ = class147.anInt2031; - anIntArray1149[anInt1173++] = i_25_; - return; - } - if (i == 5024) { - int i_26_ = anIntArray1149[--anInt1173]; - Class147 class147 = s.method3985(-101, i_26_); - int i_27_ = -1; - if (class147 != null) i_27_ = class147.anInt2030; - anIntArray1149[anInt1173++] = i_27_; - return; - } - if (i == 5025) { - int i_28_ = anIntArray1149[--anInt1173]; - Class147 class147 = s.method3985(-101, i_28_); - String string = ""; - if (class147 != null && class147.aString2025 != null) string = class147.aString2025; - aStringArray1152[anInt1170++] = string; - return; - } - if (i == 5050) { - int i_29_ = anIntArray1149[--anInt1173]; - aStringArray1152[anInt1170++] = (Class200.aClass226_2639.method1625(0, i_29_).aString9587); - return; - } - if (i == 5051) { - int i_30_ = anIntArray1149[--anInt1173]; - Class348_Sub42_Sub11 class348_sub42_sub11 = Class200.aClass226_2639.method1625(0, i_30_); - if ((class348_sub42_sub11.anIntArray9592) == null) anIntArray1149[anInt1173++] = 0; - else { - anIntArray1149[anInt1173++] = (class348_sub42_sub11.anIntArray9592).length; - return; - } - return; - } - if (i == 5052) { - anInt1173 -= 2; - int i_31_ = anIntArray1149[anInt1173]; - int i_32_ = anIntArray1149[anInt1173 + 1]; - Class348_Sub42_Sub11 class348_sub42_sub11 = Class200.aClass226_2639.method1625(0, i_31_); - int i_33_ = (class348_sub42_sub11.anIntArray9592[i_32_]); - anIntArray1149[anInt1173++] = i_33_; - return; - } - if (i == 5053) { - int i_34_ = anIntArray1149[--anInt1173]; - Class348_Sub42_Sub11 class348_sub42_sub11 = Class200.aClass226_2639.method1625(0, i_34_); - if ((class348_sub42_sub11.anIntArray9580) == null) anIntArray1149[anInt1173++] = 0; - else { - anIntArray1149[anInt1173++] = (class348_sub42_sub11.anIntArray9580).length; - return; - } - return; - } - if (i == 5054) { - anInt1173 -= 2; - int i_35_ = anIntArray1149[anInt1173]; - int i_36_ = anIntArray1149[anInt1173 + 1]; - anIntArray1149[anInt1173++] = (Class200.aClass226_2639.method1625(0, i_35_).anIntArray9580[i_36_]); - return; - } - if (i == 5055) { - int i_37_ = anIntArray1149[--anInt1173]; - aStringArray1152[anInt1170++] = Class239_Sub6.aClass355_5900.method3471(i_37_, (byte) -112).method3219(127); - return; - } - if (i == 5056) { - int i_38_ = anIntArray1149[--anInt1173]; - Class348_Sub42_Sub10 class348_sub42_sub10 = Class239_Sub6.aClass355_5900.method3471(i_38_, (byte) -125); - if ((class348_sub42_sub10.anIntArray9566) == null) anIntArray1149[anInt1173++] = 0; - else { - anIntArray1149[anInt1173++] = (class348_sub42_sub10.anIntArray9566).length; - return; - } - return; - } - if (i == 5057) { - anInt1173 -= 2; - int i_39_ = anIntArray1149[anInt1173]; - int i_40_ = anIntArray1149[anInt1173 + 1]; - anIntArray1149[anInt1173++] = (Class239_Sub6.aClass355_5900.method3471(i_39_, (byte) -126).anIntArray9566[i_40_]); - return; - } - if (i == 5058) { - aClass43_1151 = new Class43(); - aClass43_1151.anInt615 = anIntArray1149[--anInt1173]; - aClass43_1151.aClass348_Sub42_Sub10_614 = Class239_Sub6.aClass355_5900.method3471((aClass43_1151.anInt615), (byte) -87); - aClass43_1151.anIntArray617 = new int[aClass43_1151.aClass348_Sub42_Sub10_614.method3215((byte) -48)]; - return; - } - if (i == 5059) { - anInt1165++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class45.aClass351_643, (Class348_Sub23_Sub2.aClass77_9029), -93); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 0); - int i_41_ = (class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 0); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, aClass43_1151.anInt615); - aClass43_1151.aClass348_Sub42_Sub10_614.method3210((byte) 12, aClass43_1151.anIntArray617, (class348_sub47.aClass348_Sub49_Sub2_7116)); - class348_sub47.aClass348_Sub49_Sub2_7116.method3339(115, (class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197) - i_41_); - Class348_Sub42_Sub14.method3243(127, class348_sub47); - return; - } - if (i == 5060) { - String string = aStringArray1152[--anInt1170]; - anInt1166++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class155.aClass351_2109, (Class348_Sub23_Sub2.aClass77_9029), -89); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 0); - int i_42_ = (class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197); - class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, aClass43_1151.anInt615); - aClass43_1151.aClass348_Sub42_Sub10_614.method3210((byte) -125, aClass43_1151.anIntArray617, (class348_sub47.aClass348_Sub49_Sub2_7116)); - class348_sub47.aClass348_Sub49_Sub2_7116.method3339(102, (class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197) - i_42_); - Class348_Sub42_Sub14.method3243(127, class348_sub47); - return; - } - if (i == 5061) { - anInt1165++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class45.aClass351_643, (Class348_Sub23_Sub2.aClass77_9029), -104); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 0); - int i_43_ = (class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 1); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, aClass43_1151.anInt615); - aClass43_1151.aClass348_Sub42_Sub10_614.method3210((byte) -126, aClass43_1151.anIntArray617, (class348_sub47.aClass348_Sub49_Sub2_7116)); - class348_sub47.aClass348_Sub49_Sub2_7116.method3339(92, (class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197) - i_43_); - Class348_Sub42_Sub14.method3243(-111, class348_sub47); - return; - } - if (i == 5062) { - anInt1173 -= 2; - int i_44_ = anIntArray1149[anInt1173]; - int i_45_ = anIntArray1149[anInt1173 + 1]; - anIntArray1149[anInt1173++] = (Class200.aClass226_2639.method1625(0, i_44_).aCharArray9588[i_45_]); - return; - } - if (i == 5063) { - anInt1173 -= 2; - int i_46_ = anIntArray1149[anInt1173]; - int i_47_ = anIntArray1149[anInt1173 + 1]; - anIntArray1149[anInt1173++] = (Class200.aClass226_2639.method1625(0, i_46_).aCharArray9582[i_47_]); - return; - } - if (i == 5064) { - anInt1173 -= 2; - int i_48_ = anIntArray1149[anInt1173]; - int i_49_ = anIntArray1149[anInt1173 + 1]; - if (i_49_ == -1) anIntArray1149[anInt1173++] = -1; - else { - anIntArray1149[anInt1173++] = Class200.aClass226_2639.method1625(0, i_48_).method3226((char) i_49_, 57249897); - return; - } - return; - } - if (i == 5065) { - anInt1173 -= 2; - int i_50_ = anIntArray1149[anInt1173]; - int i_51_ = anIntArray1149[anInt1173 + 1]; - if (i_51_ == -1) anIntArray1149[anInt1173++] = -1; - else { - anIntArray1149[anInt1173++] = Class200.aClass226_2639.method1625(0, i_50_).method3222((byte) -122, (char) i_51_); - return; - } - return; - } - if (i == 5066) { - int i_52_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = Class239_Sub6.aClass355_5900.method3471(i_52_, (byte) -123).method3215((byte) -127); - return; - } - if (i == 5067) { - anInt1173 -= 2; - int i_53_ = anIntArray1149[anInt1173]; - int i_54_ = anIntArray1149[anInt1173 + 1]; - int i_55_ = Class239_Sub6.aClass355_5900.method3471(i_53_, (byte) -127).method3212(0, i_54_).anInt1941; - anIntArray1149[anInt1173++] = i_55_; - return; - } - if (i == 5068) { - anInt1173 -= 2; - int i_56_ = anIntArray1149[anInt1173]; - int i_57_ = anIntArray1149[anInt1173 + 1]; - aClass43_1151.anIntArray617[i_56_] = i_57_; - return; - } - if (i == 5069) { - anInt1173 -= 2; - int i_58_ = anIntArray1149[anInt1173]; - int i_59_ = anIntArray1149[anInt1173 + 1]; - aClass43_1151.anIntArray617[i_58_] = i_59_; - return; - } - if (i == 5070) { - anInt1173 -= 3; - int i_60_ = anIntArray1149[anInt1173]; - int i_61_ = anIntArray1149[anInt1173 + 1]; - int i_62_ = anIntArray1149[anInt1173 + 2]; - Class348_Sub42_Sub10 class348_sub42_sub10 = Class239_Sub6.aClass355_5900.method3471(i_60_, (byte) -127); - if ((class348_sub42_sub10.method3212(0, i_61_).anInt1941) != 0) throw new RuntimeException("bad command"); - anIntArray1149[anInt1173++] = class348_sub42_sub10.method3213(i_62_, i_61_, true); - return; - } - if (i == 5071) { - String string = aStringArray1152[--anInt1170]; - boolean bool_63_ = anIntArray1149[--anInt1173] == 1; - Class64.method606(0, bool_63_, string); - anIntArray1149[anInt1173++] = Class76.anInt1285; - return; - } - if (i == 5072) { - if (Class192.aShortArray2579 == null || Class148.anInt2037 >= Class76.anInt1285) anIntArray1149[anInt1173++] = -1; - else { - anIntArray1149[anInt1173++] = (Class192.aShortArray2579[Class148.anInt2037++] & 0xffff); - return; - } - return; - } - if (i == 5073) { - Class148.anInt2037 = 0; - return; - } - } else if (i < 5200) { - if (i == 5100) { - if (Class182.aClass346_2449.method2696(86, -121)) anIntArray1149[anInt1173++] = 1; - else { - anIntArray1149[anInt1173++] = 0; - return; - } - return; - } - if (i == 5101) { - if (Class182.aClass346_2449.method2696(82, -126)) anIntArray1149[anInt1173++] = 1; - else { - anIntArray1149[anInt1173++] = 0; - return; - } - return; - } - if (i == 5102) { - if (Class182.aClass346_2449.method2696(81, -128)) anIntArray1149[anInt1173++] = 1; - else { - anIntArray1149[anInt1173++] = 0; - return; - } - return; - } - } else if (i < 5300) { - if (i == 5200) { - Class27.method312(anIntArray1149[--anInt1173], (byte) 56); - return; - } - if (i == 5201) { - anIntArray1149[anInt1173++] = Class14_Sub2.method244(37); - return; - } - if (i == 5205) { - Class24.method298(false, -1, -1, anIntArray1149[--anInt1173], -53); - return; - } - if (i == 5206) { - int i_64_ = anIntArray1149[--anInt1173]; - Class348_Sub42_Sub14 class348_sub42_sub14 = Class75.method766(i_64_ >> 14 & 0x3fff, i_64_ & 0x3fff); - if (class348_sub42_sub14 == null) anIntArray1149[anInt1173++] = -1; - else { - anIntArray1149[anInt1173++] = (class348_sub42_sub14.anInt9628); - return; - } - return; - } - if (i == 5207) { - Class348_Sub42_Sub14 class348_sub42_sub14 = Class75.method757(anIntArray1149[--anInt1173]); - if (class348_sub42_sub14 == null || (class348_sub42_sub14.aString9632) == null) aStringArray1152[anInt1170++] = ""; - else { - aStringArray1152[anInt1170++] = (class348_sub42_sub14.aString9632); - return; - } - return; - } - if (i == 5208) { - anIntArray1149[anInt1173++] = Class25.anInt370; - anIntArray1149[anInt1173++] = Class182.anInt2446; - return; - } - if (i == 5209) { - anIntArray1149[anInt1173++] = Class348_Sub36.anInt6992 + Class75.anInt1266; - anIntArray1149[anInt1173++] = Class245.anInt3170 + Class75.anInt1263; - return; - } - if (i == 5210) { - int i_65_ = anIntArray1149[--anInt1173]; - Class348_Sub42_Sub14 class348_sub42_sub14 = Class75.method757(i_65_); - if (class348_sub42_sub14 == null) { - anIntArray1149[anInt1173++] = 0; - anIntArray1149[anInt1173++] = 0; - } else { - anIntArray1149[anInt1173++] = (class348_sub42_sub14.anInt9640) >> 14 & 0x3fff; - anIntArray1149[anInt1173++] = (class348_sub42_sub14.anInt9640) & 0x3fff; - return; - } - return; - } - if (i == 5211) { - int i_66_ = anIntArray1149[--anInt1173]; - Class348_Sub42_Sub14 class348_sub42_sub14 = Class75.method757(i_66_); - if (class348_sub42_sub14 == null) { - anIntArray1149[anInt1173++] = 0; - anIntArray1149[anInt1173++] = 0; - } else { - anIntArray1149[anInt1173++] = ((class348_sub42_sub14.anInt9635) - (class348_sub42_sub14.anInt9644)); - anIntArray1149[anInt1173++] = ((class348_sub42_sub14.anInt9627) - (class348_sub42_sub14.anInt9643)); - return; - } - return; - } - if (i == 5212) { - Class348_Sub21 class348_sub21 = Class5_Sub3.method199(1); - if (class348_sub21 == null) { - anIntArray1149[anInt1173++] = -1; - anIntArray1149[anInt1173++] = -1; - } else { - anIntArray1149[anInt1173++] = class348_sub21.anInt6847; - int i_67_ = (class348_sub21.anInt6850 << 28 | (class348_sub21.anInt6852 + Class75.anInt1266) << 14 | (class348_sub21.anInt6851 + Class75.anInt1263)); - anIntArray1149[anInt1173++] = i_67_; - return; - } - return; - } - if (i == 5213) { - Class348_Sub21 class348_sub21 = Class356.method3479(-1); - if (class348_sub21 == null) { - anIntArray1149[anInt1173++] = -1; - anIntArray1149[anInt1173++] = -1; - } else { - anIntArray1149[anInt1173++] = class348_sub21.anInt6847; - int i_68_ = (class348_sub21.anInt6850 << 28 | (class348_sub21.anInt6852 + Class75.anInt1266) << 14 | (class348_sub21.anInt6851 + Class75.anInt1263)); - anIntArray1149[anInt1173++] = i_68_; - return; - } - return; - } - if (i == 5214) { - int i_69_ = anIntArray1149[--anInt1173]; - Class348_Sub42_Sub14 class348_sub42_sub14 = Class163.method1269(-17096); - if (class348_sub42_sub14 != null) { - boolean bool_70_ = class348_sub42_sub14.method3236(anIntArray1175, i_69_ >> 14 & 0x3fff, i_69_ & 0x3fff, i_69_ >> 28 & 0x3, (byte) -28); - if (bool_70_) Class348_Sub16_Sub3.method2839(anIntArray1175[1], -17, anIntArray1175[2]); - } - return; - } - if (i == 5215) { - anInt1173 -= 2; - int i_71_ = anIntArray1149[anInt1173]; - int i_72_ = anIntArray1149[anInt1173 + 1]; - Class107 class107 = Class75.method767(i_71_ >> 14 & 0x3fff, i_71_ & 0x3fff); - boolean bool_73_ = false; - for (Class348_Sub42_Sub14 class348_sub42_sub14 = (Class348_Sub42_Sub14) class107.method1011(-48); class348_sub42_sub14 != null; class348_sub42_sub14 = ((Class348_Sub42_Sub14) class107.method1003((byte) 113))) { - if (class348_sub42_sub14.anInt9628 == i_72_) { - bool_73_ = true; - break; - } - } - if (bool_73_) anIntArray1149[anInt1173++] = 1; - else { - anIntArray1149[anInt1173++] = 0; - return; - } - return; - } - if (i == 5218) { - int i_74_ = anIntArray1149[--anInt1173]; - Class348_Sub42_Sub14 class348_sub42_sub14 = Class75.method757(i_74_); - if (class348_sub42_sub14 == null) anIntArray1149[anInt1173++] = -1; - else { - anIntArray1149[anInt1173++] = (class348_sub42_sub14.anInt9631); - return; - } - return; - } - if (i == 5220) { - anIntArray1149[anInt1173++] = Class348.anInt4290 == 100 ? 1 : 0; - return; - } - if (i == 5221) { - int i_75_ = anIntArray1149[--anInt1173]; - Class348_Sub16_Sub3.method2839(i_75_ >> 14 & 0x3fff, -17, i_75_ & 0x3fff); - return; - } - if (i == 5222) { - Class348_Sub42_Sub14 class348_sub42_sub14 = Class163.method1269(-17096); - if (class348_sub42_sub14 == null) { - anIntArray1149[anInt1173++] = -1; - anIntArray1149[anInt1173++] = -1; - return; - } else { - boolean bool_76_ = (class348_sub42_sub14.method3239(true, Class245.anInt3170 + Class75.anInt1263, Class348_Sub36.anInt6992 + Class75.anInt1266, anIntArray1175)); - if (bool_76_) { - anIntArray1149[anInt1173++] = anIntArray1175[1]; - anIntArray1149[anInt1173++] = anIntArray1175[2]; - } else { - anIntArray1149[anInt1173++] = -1; - anIntArray1149[anInt1173++] = -1; - } - } - return; - } - if (i == 5223) { - anInt1173 -= 2; - int i_77_ = anIntArray1149[anInt1173]; - int i_78_ = anIntArray1149[anInt1173 + 1]; - Class24.method298(false, i_78_ & 0x3fff, i_78_ >> 14 & 0x3fff, i_77_, -53); - return; - } - if (i == 5224) { - int i_79_ = anIntArray1149[--anInt1173]; - Class348_Sub42_Sub14 class348_sub42_sub14 = Class163.method1269(-17096); - if (class348_sub42_sub14 == null) { - anIntArray1149[anInt1173++] = -1; - anIntArray1149[anInt1173++] = -1; - return; - } else { - boolean bool_80_ = class348_sub42_sub14.method3236(anIntArray1175, i_79_ >> 14 & 0x3fff, i_79_ & 0x3fff, i_79_ >> 28 & 0x3, (byte) -28); - if (bool_80_) { - anIntArray1149[anInt1173++] = anIntArray1175[1]; - anIntArray1149[anInt1173++] = anIntArray1175[2]; - } else { - anIntArray1149[anInt1173++] = -1; - anIntArray1149[anInt1173++] = -1; - } - } - return; - } - if (i == 5225) { - int i_81_ = anIntArray1149[--anInt1173]; - Class348_Sub42_Sub14 class348_sub42_sub14 = Class163.method1269(-17096); - if (class348_sub42_sub14 == null) { - anIntArray1149[anInt1173++] = -1; - anIntArray1149[anInt1173++] = -1; - return; - } else { - boolean bool_82_ = class348_sub42_sub14.method3239(true, i_81_ & 0x3fff, i_81_ >> 14 & 0x3fff, anIntArray1175); - if (bool_82_) { - anIntArray1149[anInt1173++] = anIntArray1175[1]; - anIntArray1149[anInt1173++] = anIntArray1175[2]; - } else { - anIntArray1149[anInt1173++] = -1; - anIntArray1149[anInt1173++] = -1; - } - } - return; - } - if (i == 5226) { - Class130.method1129(anIntArray1149[--anInt1173], 100); - return; - } - if (i == 5227) { - anInt1173 -= 2; - int i_83_ = anIntArray1149[anInt1173]; - int i_84_ = anIntArray1149[anInt1173 + 1]; - Class24.method298(true, i_84_ & 0x3fff, i_84_ >> 14 & 0x3fff, i_83_, -62); - return; - } - if (i == 5228) { - Class348_Sub1_Sub1.aBoolean8805 = anIntArray1149[--anInt1173] == 1; - return; - } - if (i == 5229) { - anIntArray1149[anInt1173++] = Class348_Sub1_Sub1.aBoolean8805 ? 1 : 0; - return; - } - if (i == 5230) { - int i_85_ = anIntArray1149[--anInt1173]; - Class27.method314((byte) -74, i_85_); - return; - } - if (i == 5231) { - anInt1173 -= 2; - int i_86_ = anIntArray1149[anInt1173]; - boolean bool_87_ = anIntArray1149[anInt1173 + 1] == 1; - if (Class348_Sub42_Sub9_Sub1.aClass356_10442 != null) { - Class348 class348 = Class348_Sub42_Sub9_Sub1.aClass356_10442.method3480(i_86_, -6008); - if (class348 != null && !bool_87_) class348.method2715((byte) 48); - else if (class348 == null && bool_87_) { - class348 = new Class348(); - Class348_Sub42_Sub9_Sub1.aClass356_10442.method3483((byte) 29, i_86_, class348); - } - } - return; - } - if (i == 5232) { - int i_88_ = anIntArray1149[--anInt1173]; - if (Class348_Sub42_Sub9_Sub1.aClass356_10442 == null) { - anIntArray1149[anInt1173++] = 0; - return; - } else { - Class348 class348 = Class348_Sub42_Sub9_Sub1.aClass356_10442.method3480(i_88_, -6008); - anIntArray1149[anInt1173++] = class348 != null ? 1 : 0; - } - return; - } - if (i == 5233) { - anInt1173 -= 2; - int i_89_ = anIntArray1149[anInt1173]; - boolean bool_90_ = anIntArray1149[anInt1173 + 1] == 1; - if (Class158.aClass356_4934 != null) { - Class348 class348 = Class158.aClass356_4934.method3480(i_89_, -6008); - if (class348 != null && !bool_90_) class348.method2715((byte) 83); - else if (class348 == null && bool_90_) { - class348 = new Class348(); - Class158.aClass356_4934.method3483((byte) 112, i_89_, class348); - } - } - return; - } - if (i == 5234) { - int i_91_ = anIntArray1149[--anInt1173]; - if (Class158.aClass356_4934 == null) { - anIntArray1149[anInt1173++] = 0; - return; - } else { - Class348 class348 = Class158.aClass356_4934.method3480(i_91_, -6008); - anIntArray1149[anInt1173++] = class348 != null ? 1 : 0; - } - return; - } - if (i == 5235) { - anIntArray1149[anInt1173++] = (Class75.aClass348_Sub42_Sub14_1243 != null ? Class75.aClass348_Sub42_Sub14_1243.anInt9628 : -1); - return; - } - if (i == 5236) { - anInt1173 -= 2; - int i_92_ = anIntArray1149[anInt1173]; - int i_93_ = anIntArray1149[anInt1173 + 1]; - int i_94_ = i_93_ >> 14 & 0x3fff; - int i_95_ = i_93_ & 0x3fff; - int i_96_ = Class239_Sub8.method1754(true, i_92_, i_94_, i_95_); - if (i_96_ < 0) anIntArray1149[anInt1173++] = -1; - else { - anIntArray1149[anInt1173++] = i_96_; - return; - } - return; - } - if (i == 5237) { - Class130_Sub1.method1134(86); - return; - } - } else if (i < 5400) { - if (i == 5300) { - anInt1173 -= 2; - int i_97_ = anIntArray1149[anInt1173]; - int i_98_ = anIntArray1149[anInt1173 + 1]; - Class85.method830(3, i_97_, (byte) 102, false, i_98_); - anIntArray1149[anInt1173++] = Class34.aFrame476 != null ? 1 : 0; - return; - } - if (i == 5301) { - if (Class34.aFrame476 != null) Class85.method830(Class316.aClass348_Sub51_3959.aClass239_Sub8_7227.method1751(-32350), -1, (byte) 102, false, -1); - return; - } - if (i == 5302) { - Class57[] class57s = Class318_Sub9_Sub1.method2515(1494); - anIntArray1149[anInt1173++] = class57s.length; - return; - } - if (i == 5303) { - int i_99_ = anIntArray1149[--anInt1173]; - Class57[] class57s = Class318_Sub9_Sub1.method2515(1494); - anIntArray1149[anInt1173++] = class57s[i_99_].anInt1047; - anIntArray1149[anInt1173++] = class57s[i_99_].anInt1054; - return; - } - if (i == 5305) { - int i_100_ = Class346.anInt4276; - int i_101_ = Class239_Sub8.anInt5911; - int i_102_ = -1; - Class57[] class57s = Class318_Sub9_Sub1.method2515(1494); - for (int i_103_ = 0; i_103_ < class57s.length; i_103_++) { - Class57 class57 = class57s[i_103_]; - if (class57.anInt1047 == i_100_ && class57.anInt1054 == i_101_) { - i_102_ = i_103_; - break; - } - } - anIntArray1149[anInt1173++] = i_102_; - return; - } - if (i == 5306) { - anIntArray1149[anInt1173++] = Class348_Sub42_Sub12.method3229(-126); - return; - } - if (i == 5307) { - int i_104_ = anIntArray1149[--anInt1173]; - if (i_104_ >= 1 && i_104_ <= 2) { - Class85.method830(i_104_, -1, (byte) 102, false, -1); - return; - } - return; - } - if (i == 5308) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub8_7227.method1751(-32350); - return; - } - if (i == 5309) { - int i_105_ = anIntArray1149[--anInt1173]; - if (i_105_ >= 1 && i_105_ <= 2) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub8_7227), i_105_); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub8_7254), i_105_); - Class14_Sub2.method243(37); - return; - } - return; - } - } else if (i < 5500) { - if (i == 5400) { - anInt1170 -= 2; - String string = aStringArray1152[anInt1170]; - String string_106_ = aStringArray1152[anInt1170 + 1]; - int i_107_ = anIntArray1149[--anInt1173]; - anInt1171++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class348_Sub40_Sub17.aClass351_9234), (Class348_Sub23_Sub2.aClass77_9029), -101); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, (Class239_Sub6.method1745(string, -65) + Class239_Sub6.method1745(string_106_, -65) + 1)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); - class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string_106_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, i_107_); - Class348_Sub42_Sub14.method3243(-66, class348_sub47); - return; - } - if (i == 5401) { - anInt1173 -= 2; - Class318_Sub6.aShortArray6428[anIntArray1149[anInt1173]] = (short) aa.method160(27076, anIntArray1149[anInt1173 + 1]); - Exception_Sub1.aClass255_112.method1930(-21804); - Exception_Sub1.aClass255_112.method1936(-71); - Class189.aClass278_2529.method2074(-118); - Class354.method3466(125); - return; - } - if (i == 5405) { - anInt1173 -= 2; - int i_108_ = anIntArray1149[anInt1173]; - int i_109_ = anIntArray1149[anInt1173 + 1]; - if (i_108_ >= 0 && i_108_ < 2) Class348_Sub43.anIntArrayArrayArray7079[i_108_] = new int[i_109_ << 1][4]; - return; - } - if (i == 5406) { - anInt1173 -= 7; - int i_110_ = anIntArray1149[anInt1173]; - int i_111_ = anIntArray1149[anInt1173 + 1] << 1; - int i_112_ = anIntArray1149[anInt1173 + 2]; - int i_113_ = anIntArray1149[anInt1173 + 3]; - int i_114_ = anIntArray1149[anInt1173 + 4]; - int i_115_ = anIntArray1149[anInt1173 + 5]; - int i_116_ = anIntArray1149[anInt1173 + 6]; - if (i_110_ >= 0 && i_110_ < 2 && Class348_Sub43.anIntArrayArrayArray7079[i_110_] != null && i_111_ >= 0 && i_111_ < (Class348_Sub43.anIntArrayArrayArray7079[i_110_]).length) { - Class348_Sub43.anIntArrayArrayArray7079[i_110_][i_111_] = new int[]{(i_112_ >> 14 & 0x3fff) << 9, i_113_ << 2, (i_112_ & 0x3fff) << 9, i_116_}; - Class348_Sub43.anIntArrayArrayArray7079[i_110_][i_111_ + 1] = new int[]{(i_114_ >> 14 & 0x3fff) << 9, i_115_ << 2, (i_114_ & 0x3fff) << 9}; - } - return; - } - if (i == 5407) { - int i_117_ = ((Class348_Sub43.anIntArrayArrayArray7079[anIntArray1149[--anInt1173]]).length >> 1); - anIntArray1149[anInt1173++] = i_117_; - return; - } - if (i == 5411) { - if (Class34.aFrame476 != null) Class85.method830(Class316.aClass348_Sub51_3959.aClass239_Sub8_7227.method1751(-32350), -1, (byte) 102, false, -1); - if (Class52.aFrame4904 == null) { - String string = (Class116.aString1761 != null ? Class116.aString1761 : Class286_Sub6.method2162(false)); - Class179.method1360(string, Class348_Sub23_Sub1.aClass297_8992, Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) == 1, false, -47); - return; - } else { - Class318_Sub1_Sub2.method2405(97); - System.exit(0); - } - return; - } - if (i == 5419) { - String string = ""; - if (Class348_Sub42_Sub6.aClass144_9536 != null) { - if (Class348_Sub42_Sub6.aClass144_9536.anObject1998 != null) string = (String) (Class348_Sub42_Sub6.aClass144_9536.anObject1998); - else string = Class235.method1669(-19918, (Class348_Sub42_Sub6.aClass144_9536.anInt2000)); - } - aStringArray1152[anInt1170++] = string; - return; - } - if (i == 5420) { - anIntArray1149[anInt1173++] = Class348_Sub23_Sub1.aClass297_8992.aBoolean3777 ? 0 : 1; - return; - } - if (i == 5421) { - if (Class34.aFrame476 != null) Class85.method830(Class316.aClass348_Sub51_3959.aClass239_Sub8_7227.method1751(-32350), -1, (byte) 102, false, -1); - String string = aStringArray1152[--anInt1170]; - boolean bool_118_ = anIntArray1149[--anInt1173] == 1; - String string_119_ = Class286_Sub6.method2162(false) + string; - Class179.method1360(string_119_, Class348_Sub23_Sub1.aClass297_8992, Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) == 1, bool_118_, 104); - return; - } - if (i == 5422) { - anInt1170 -= 2; - String string = aStringArray1152[anInt1170]; - String string_120_ = aStringArray1152[anInt1170 + 1]; - int i_121_ = anIntArray1149[--anInt1173]; - if (string.length() > 0) { - if (Class367_Sub9.aStringArray7378 == null) Class367_Sub9.aStringArray7378 = new String[(Class272.anIntArray3475[Class348_Sub42_Sub8_Sub2.aClass230_10434.anInt2987])]; - Class367_Sub9.aStringArray7378[i_121_] = string; - } - if (string_120_.length() > 0) { - if (Class54.aStringArray974 == null) Class54.aStringArray974 = new String[(Class272.anIntArray3475[Class348_Sub42_Sub8_Sub2.aClass230_10434.anInt2987])]; - Class54.aStringArray974[i_121_] = string_120_; - } - return; - } - if (i == 5423) { - System.out.println(aStringArray1152[--anInt1170]); - return; - } - if (i == 5424) { - anInt1173 -= 11; - Class264.anInt3376 = anIntArray1149[anInt1173]; - Class51.anInt948 = anIntArray1149[anInt1173 + 1]; - Class264.anInt3374 = anIntArray1149[anInt1173 + 2]; - Class348_Sub42_Sub4.anInt9511 = anIntArray1149[anInt1173 + 3]; - Class231.anInt2996 = anIntArray1149[anInt1173 + 4]; - Class348_Sub40_Sub16.anInt9231 = anIntArray1149[anInt1173 + 5]; - Class318_Sub1_Sub3_Sub3.anInt10257 = anIntArray1149[anInt1173 + 6]; - Class313.anInt3937 = anIntArray1149[anInt1173 + 7]; - Class79.anInt1387 = anIntArray1149[anInt1173 + 8]; - Class348_Sub42_Sub11.anInt9586 = anIntArray1149[anInt1173 + 9]; - Class5_Sub2.anInt8363 = anIntArray1149[anInt1173 + 10]; - Class21.aClass45_322.method421(false, Class231.anInt2996); - Class21.aClass45_322.method421(false, Class348_Sub40_Sub16.anInt9231); - Class21.aClass45_322.method421(false, Class318_Sub1_Sub3_Sub3.anInt10257); - Class21.aClass45_322.method421(false, Class313.anInt3937); - Class21.aClass45_322.method421(false, Class79.anInt1387); - Class348_Sub42_Sub15.aClass105_9659 = Class110.aClass105_1706 = Class174.aClass105_2309 = null; - OutputStream_Sub2.aClass105_106 = Class121.aClass105_1800 = Class348_Sub5.aClass105_6627 = null; - Class348_Sub42_Sub15.aClass105_9658 = Class309.aClass105_4808 = null; - Class71.aBoolean1211 = true; - return; - } - if (i == 5425) { - Class274.method2061(12); - Class71.aBoolean1211 = false; - return; - } - if (i == 5426) { - anInt1173 -= 2; - Class348_Sub42_Sub16_Sub1.anInt10447 = anIntArray1149[anInt1173]; - Class38.anInt506 = anIntArray1149[anInt1173 + 1]; - return; - } - if (i == 5427) { - anInt1173 -= 2; - Class286_Sub8.anInt6299 = anIntArray1149[anInt1173 + 1]; - return; - } - if (i == 5428) { - anInt1173 -= 2; - int i_122_ = anIntArray1149[anInt1173]; - int i_123_ = anIntArray1149[anInt1173 + 1]; - anIntArray1149[anInt1173++] = Class318_Sub1_Sub3.method2410((byte) -49, i_123_, i_122_) ? 1 : 0; - return; - } - if (i == 5429) { - Class82.method812(aStringArray1152[--anInt1170], false, false, (byte) -79); - return; - } - if (i == 5430) { - try { - Class224.method1617((byte) 125, Class93.anApplet1530, "accountcreated"); - } catch (Throwable throwable) { - /* empty */ - } - return; - } - if (i == 5431) { - try { - Class224.method1617((byte) 125, Class93.anApplet1530, "accountcreatestarted"); - } catch (Throwable throwable) { - /* empty */ - } - return; - } - if (i == 5432) { - String string = ""; - if (Class348_Sub40_Sub27.aClipboard9357 != null) { - Transferable transferable = Class348_Sub40_Sub27.aClipboard9357.getContents(null); - if (transferable != null) { - try { - string = (String) (transferable.getTransferData(DataFlavor.stringFlavor)); - if (string == null) string = ""; - } catch (Exception exception) { - /* empty */ - } - } - } - aStringArray1152[anInt1170++] = string; - return; - } - if (i == 5433) { - Class332.anInt4143 = anIntArray1149[--anInt1173]; - return; - } - } else if (i < 5600) { - if (i == 5500) { - anInt1173 -= 4; - int i_124_ = anIntArray1149[anInt1173]; - int i_125_ = anIntArray1149[anInt1173 + 1]; - int i_126_ = anIntArray1149[anInt1173 + 2]; - int i_127_ = anIntArray1149[anInt1173 + 3]; - Class239_Sub28.method1844(i_126_, ((i_124_ >> 14 & 0x3fff) - za_Sub2.regionTileX), false, i_125_ << 2, false, i_127_, ((i_124_ & 0x3fff) - Class90.regionTileY)); - return; - } - if (i == 5501) { - anInt1173 -= 4; - int i_128_ = anIntArray1149[anInt1173]; - int i_129_ = anIntArray1149[anInt1173 + 1]; - int i_130_ = anIntArray1149[anInt1173 + 2]; - int i_131_ = anIntArray1149[anInt1173 + 3]; - Class348_Sub42_Sub12.method3231(((i_128_ & 0x3fff) - Class90.regionTileY), ((i_128_ >> 14 & 0x3fff) - za_Sub2.regionTileX), i_129_ << 2, i_131_, i_130_, -128); - return; - } - if (i == 5502) { - anInt1173 -= 6; - int i_132_ = anIntArray1149[anInt1173]; - if (i_132_ >= 2) throw new RuntimeException(); - za_Sub1.anInt9775 = i_132_; - int i_133_ = anIntArray1149[anInt1173 + 1]; - if (i_133_ + 1 >= (Class348_Sub43.anIntArrayArrayArray7079[za_Sub1.anInt9775]).length >> 1) throw new RuntimeException(); - Class213.anInt2798 = i_133_; - Class117.anInt1780 = 0; - Class195.anInt5019 = anIntArray1149[anInt1173 + 2]; - Class331.anInt4133 = anIntArray1149[anInt1173 + 3]; - int i_134_ = anIntArray1149[anInt1173 + 4]; - if (i_134_ >= 2) throw new RuntimeException(); - Class292.anInt4803 = i_134_; - int i_135_ = anIntArray1149[anInt1173 + 5]; - if (i_135_ + 1 >= (Class348_Sub43.anIntArrayArrayArray7079[Class292.anInt4803]).length >> 1) throw new RuntimeException(); - Class264.anInt3373 = i_135_; - Class348_Sub40_Sub21.anInt9282 = 3; - Class9.anInt167 = Class318_Sub1_Sub5_Sub2.anInt10163 = -1; - return; - } - if (i == 5503) { - Class128.method1122(0); - return; - } - if (i == 5504) { - anInt1173 -= 2; - Class318_Sub1_Sub1.method2396(anIntArray1149[anInt1173], anIntArray1149[anInt1173 + 1], 0, 3); - return; - } - if (i == 5505) { - anIntArray1149[anInt1173++] = (int) Class76.aFloat1287 >> 3; - return; - } - if (i == 5506) { - anIntArray1149[anInt1173++] = (int) Class314.aFloat3938 >> 3; - return; - } - if (i == 5507) { - Class31.method326((byte) 68); - return; - } - if (i == 5508) { - Class355.method3470(1); - return; - } - if (i == 5509) { - Class286_Sub3.method2153(-77); - return; - } - if (i == 5510) { - Class16.method262(0); - return; - } - if (i == 5511) { - int i_136_ = anIntArray1149[--anInt1173]; - int i_137_ = i_136_ >> 14 & 0x3fff; - int i_138_ = i_136_ & 0x3fff; - i_137_ -= za_Sub2.regionTileX; - if (i_137_ < 0) i_137_ = 0; - else if (i_137_ >= Class367_Sub4.anInt7319) i_137_ = Class367_Sub4.anInt7319; - i_138_ -= Class90.regionTileY; - if (i_138_ < 0) i_138_ = 0; - else if (i_138_ >= Class348_Sub40_Sub3.anInt9109) i_138_ = Class348_Sub40_Sub3.anInt9109; - Class348_Sub6.anInt6633 = (i_137_ << 9) + 256; - Class348_Sub7.anInt6652 = (i_138_ << 9) + 256; - Class348_Sub40_Sub21.anInt9282 = 4; - Class9.anInt167 = Class318_Sub1_Sub5_Sub2.anInt10163 = -1; - return; - } - if (i == 5512) { - Class239_Sub29.method1851((byte) 121); - return; - } - if (i == 5514) { - Class132.anInt1911 = anIntArray1149[--anInt1173]; - return; - } - if (i == 5516) { - anIntArray1149[anInt1173++] = Class132.anInt1911; - return; - } - if (i == 5517) { - int i_139_ = anIntArray1149[--anInt1173]; - if (i_139_ == -1) { - int i_140_ = i_139_ >> 14 & 0x3fff; - int i_141_ = i_139_ & 0x3fff; - i_140_ -= za_Sub2.regionTileX; - if (i_140_ < 0) i_140_ = 0; - else if (i_140_ >= Class367_Sub4.anInt7319) i_140_ = Class367_Sub4.anInt7319; - i_141_ -= Class90.regionTileY; - if (i_141_ < 0) i_141_ = 0; - else if (i_141_ >= Class348_Sub40_Sub3.anInt9109) i_141_ = Class348_Sub40_Sub3.anInt9109; - Class9.anInt167 = (i_140_ << 9) + 256; - Class318_Sub1_Sub5_Sub2.anInt10163 = (i_141_ << 9) + 256; - } else { - Class9.anInt167 = -1; - Class318_Sub1_Sub5_Sub2.anInt10163 = -1; - return; - } - return; - } - if (i == 5547) { - anIntArray1149[anInt1173++] = Class348_Sub40_Sub21.anInt9282 == 1 ? 1 : 0; - return; - } - } else if (i < 5700) { - if (i == 5600) { - anInt1170 -= 2; - String string = aStringArray1152[anInt1170]; - String string_142_ = aStringArray1152[anInt1170 + 1]; - int i_143_ = anIntArray1149[--anInt1173]; - if (string.length() <= 320 && Class240.anInt4674 == 3 && (Class225.anInt2955 == 0 && Class367_Sub2.anInt7297 == 0)) { - Class64_Sub3.aString5600 = string; - Class186.aString2496 = string_142_; - RuntimeException_Sub1.anInt4596 = i_143_; - Class348_Sub49.method3379(2, 6); - return; - } - return; - } - if (i == 5601) { - Class90.method854((byte) -76); - return; - } - if (i == 5602) { - if (Class225.anInt2955 == 0) { - Class107.anInt1645 = -2; - Class348_Sub6.anInt6634 = -2; - } - return; - } - if (i == 5604) { - anInt1170--; - if (Class240.anInt4674 == 3 && (Class225.anInt2955 == 0 && Class367_Sub2.anInt7297 == 0)) { - Class281.method2106(aStringArray1152[anInt1170], 101); - return; - } - return; - } - if (i == 5605) { - anInt1170 -= 2; - anInt1173 -= 2; - if (Class240.anInt4674 == 3 && (Class225.anInt2955 == 0 && Class367_Sub2.anInt7297 == 0)) { - Class48.method449(aStringArray1152[anInt1170 + 1], aStringArray1152[anInt1170], false, anIntArray1149[anInt1173], anIntArray1149[anInt1173 + 1] == 1); - return; - } - return; - } - if (i == 5606) { - if (Class367_Sub2.anInt7297 == 0) Class352.anInt4337 = -2; - return; - } - if (i == 5607) { - anIntArray1149[anInt1173++] = Class348_Sub6.anInt6634; - return; - } - if (i == 5608) { - anIntArray1149[anInt1173++] = Class63.anInt1121; - return; - } - if (i == 5609) { - anIntArray1149[anInt1173++] = Class352.anInt4337; - return; - } - if (i == 5611) { - anIntArray1149[anInt1173++] = Class348_Sub42_Sub7.anInt9541; - return; - } - if (i == 5612) { - int i_144_ = anIntArray1149[--anInt1173]; - if (Class240.anInt4674 == 7 && (Class225.anInt2955 == 0 && Class367_Sub2.anInt7297 == 0)) { - if (Class348_Sub40_Sub8.aClass238_9165 != null) { - Class348_Sub40_Sub8.aClass238_9165.method1700((byte) 36); - Class348_Sub40_Sub8.aClass238_9165 = null; - } - RuntimeException_Sub1.anInt4596 = i_144_; - Class348_Sub49.method3379(2, 9); - return; - } - return; - } - if (i == 5613) { - anIntArray1149[anInt1173++] = Class348_Sub6.anInt6634; - return; - } - if (i == 5615) { - anInt1170 -= 2; - String string = aStringArray1152[anInt1170]; - String string_145_ = aStringArray1152[anInt1170 + 1]; - if (string.length() <= 320 && Class240.anInt4674 == 3 && (Class225.anInt2955 == 0 && Class367_Sub2.anInt7297 == 0)) { - if (Class348_Sub40_Sub8.aClass238_9165 != null) { - Class348_Sub40_Sub8.aClass238_9165.method1700((byte) 36); - Class348_Sub40_Sub8.aClass238_9165 = null; - } - Class64_Sub3.aString5600 = string; - Class186.aString2496 = string_145_; - Class348_Sub49.method3379(2, 5); - return; - } - return; - } - if (i == 5616) { - Class348_Sub40_Sub34.method3141(false, (byte) 11); - return; - } - if (i == 5617) { - anIntArray1149[anInt1173++] = Class107.anInt1645; - return; - } - if (i == 5618) { - anInt1173--; - return; - } - if (i == 5619) { - anInt1173--; - return; - } - if (i == 5620) { - anIntArray1149[anInt1173++] = 0; - return; - } - if (i == 5621) { - anInt1170 -= 2; - anInt1173 -= 2; - return; - } - if (i == 5622) return; - if (i == 5623) { - if (Class348_Sub23_Sub3.aString9043 == null) { - anIntArray1149[anInt1173++] = 0; - return; - } else anIntArray1149[anInt1173++] = 1; - return; - } - if (i == 5624) { - anIntArray1149[anInt1173++] = (int) (Class244.aLong4615 >> 32); - anIntArray1149[anInt1173++] = (int) (Class244.aLong4615 & 0xffffL); - return; - } - if (i == 5625) { - anIntArray1149[anInt1173++] = Class330.aBoolean4127 ? 1 : 0; - return; - } - if (i == 5626) { - Class330.aBoolean4127 = true; - Class286_Sub8.method2172(84); - return; - } - } else if (i < 6100) { - if (i == 6001) { - int i_146_ = anIntArray1149[--anInt1173]; - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub10_7232), i_146_); - Class348_Sub20.method2953((byte) -126); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - return; - } - if (i == 6002) { - boolean bool_147_ = anIntArray1149[--anInt1173] == 1; - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub27_7255), bool_147_ ? 1 : 0); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub27_7261), bool_147_ ? 1 : 0); - Class348_Sub20.method2953((byte) -122); - Class348_Sub40_Sub9.method3072((byte) 32); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - return; - } - if (i == 6003) { - boolean bool_148_ = anIntArray1149[--anInt1173] == 1; - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub14_7250), bool_148_ ? 2 : 1); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub14_7264), bool_148_ ? 2 : 1); - Class348_Sub40_Sub9.method3072((byte) -106); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - return; - } - if (i == 6005) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub4_7220), anIntArray1149[--anInt1173] == 1 ? 1 : 0); - Class348_Sub20.method2953((byte) -111); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - return; - } - if (i == 6007) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub13_7236), anIntArray1149[--anInt1173]); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - return; - } - if (i == 6008) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub1_7246), anIntArray1149[--anInt1173] == 1 ? 1 : 0); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - return; - } - if (i == 6010) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub21_7270), anIntArray1149[--anInt1173] == 1 ? 1 : 0); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - return; - } - if (i == 6011) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub7_7238), anIntArray1149[--anInt1173]); - Class348_Sub20.method2953((byte) -116); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - return; - } - if (i == 6012) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub28_7230), anIntArray1149[--anInt1173] == 1 ? 1 : 0); - Class348_Sub40.method3038(-1); - Class76.method773(true); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - return; - } - if (i == 6014) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub18_7259), anIntArray1149[--anInt1173] == 1 ? 2 : 0); - Class348_Sub20.method2953((byte) -112); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - return; - } - if (i == 6015) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub16_7247), anIntArray1149[--anInt1173] == 1 ? 1 : 0); - Class348_Sub20.method2953((byte) -127); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - return; - } - if (i == 6016) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub20_7248), anIntArray1149[--anInt1173]); - Class367_Sub10.method3553(false, (byte) 112, Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350)); - Class14_Sub2.method243(37); - return; - } - if (i == 6017) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub5_7240), anIntArray1149[--anInt1173] == 1 ? 1 : 0); - Class35.method352(1); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - return; - } - if (i == 6018) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub26_7272), anIntArray1149[--anInt1173]); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - return; - } - if (i == 6019) { - int i_149_ = anIntArray1149[--anInt1173]; - int i_150_ = Class316.aClass348_Sub51_3959.aClass239_Sub26_7260.method1838(-32350); - if (i_149_ != i_150_) { - if (Class334.method2653(true, Class240.anInt4674)) { - if (i_150_ == 0 && Class267.anInt3428 != -1) { - Class348_Sub1_Sub3.method2732(0, Class267.anInt3428, false, 94, (Class59_Sub2_Sub1.aClass45_8667), i_149_); - Class348_Sub40_Sub17_Sub1.method3093(87); - Class74.aBoolean1236 = false; - } else if (i_149_ == 0) { - Class104.method960(1); - Class74.aBoolean1236 = false; - } else Class34.method345(i_149_, (byte) -49); - } - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub26_7260), i_149_); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - } - return; - } - if (i == 6020) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub26_7234), anIntArray1149[--anInt1173]); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - return; - } - if (i == 6021) { - int i_151_ = Class316.aClass348_Sub51_3959.aClass239_Sub14_7250.method1778(-32350); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub14_7264), anIntArray1149[--anInt1173] == 1 ? 0 : i_151_); - Class348_Sub40_Sub9.method3072((byte) -118); - return; - } - if (i == 6023) { - int i_152_ = anIntArray1149[--anInt1173]; - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub15_7224), i_152_); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - return; - } - if (i == 6024) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub20_7216), anIntArray1149[--anInt1173]); - Class14_Sub2.method243(37); - return; - } - if (i == 6025) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub6_7226), anIntArray1149[--anInt1173]); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - return; - } - if (i == 6027) { - int i_153_ = anIntArray1149[--anInt1173]; - if (i_153_ < 0 || i_153_ > 1) i_153_ = 0; - Class348_Sub40_Sub33.method3137(i_153_ == 1, (byte) -24); - return; - } - if (i == 6028) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub22_7253), anIntArray1149[--anInt1173] != 0 ? 1 : 0); - Class14_Sub2.method243(37); - return; - } - if (i == 6029) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub13_7236), anIntArray1149[--anInt1173]); - Class14_Sub2.method243(37); - return; - } - if (i == 6030) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub9_7256), anIntArray1149[--anInt1173] != 0 ? 1 : 0); - Class14_Sub2.method243(37); - Class348_Sub20.method2953((byte) -116); - return; - } - if (i == 6031) { - int i_154_ = anIntArray1149[--anInt1173]; - if (i_154_ < 0 || i_154_ > 5) i_154_ = 2; - Class367_Sub10.method3553(false, (byte) 101, i_154_); - return; - } - if (i == 6032) { - anInt1173 -= 2; - int i_155_ = anIntArray1149[anInt1173]; - boolean bool_156_ = anIntArray1149[anInt1173 + 1] == 1; - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub25_7251), i_155_); - if (!bool_156_) Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub29_7229), 0); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - return; - } - if (i == 6033) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub17_7263), anIntArray1149[--anInt1173]); - Class14_Sub2.method243(37); - return; - } - if (i == 6034) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub24_7235), anIntArray1149[--anInt1173] == 1 ? 1 : 0); - Class14_Sub2.method243(37); - Class348_Sub40.method3038(-1); - r.aBoolean9719 = false; - return; - } - if (i == 6035) { - int i_157_ = Class316.aClass348_Sub51_3959.aClass239_Sub27_7255.method1840(-32350); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub27_7261), anIntArray1149[--anInt1173] == 1 ? 1 : i_157_); - Class348_Sub20.method2953((byte) -110); - Class348_Sub40_Sub9.method3072((byte) 125); - return; - } - if (i == 6036) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub23_7231), anIntArray1149[--anInt1173]); - Class14_Sub2.method243(37); - RuntimeException_Sub1.aBoolean4604 = true; - return; - } - if (i == 6037) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub26_7215), anIntArray1149[--anInt1173]); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - return; - } - if (i == 6038) { - int i_158_ = anIntArray1149[--anInt1173]; - int i_159_ = Class316.aClass348_Sub51_3959.aClass239_Sub26_7245.method1838(-32350); - if (i_158_ != i_159_ && Class267.anInt3428 == Class345.anInt4270) { - if (!Class334.method2653(true, Class240.anInt4674)) { - if (i_159_ == 0) { - Class348_Sub1_Sub3.method2732(0, Class267.anInt3428, false, 127, (Class59_Sub2_Sub1.aClass45_8667), i_158_); - Class348_Sub40_Sub17_Sub1.method3093(118); - Class74.aBoolean1236 = false; - } else if (i_158_ == 0) { - Class104.method960(1); - Class74.aBoolean1236 = false; - } else Class34.method345(i_158_, (byte) -52); - } - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub26_7245), i_158_); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - } - return; - } - if (i == 6039) { - int i_160_ = anIntArray1149[--anInt1173]; - if (i_160_ > 255 || i_160_ < 0) i_160_ = 0; - if (i_160_ != Class316.aClass348_Sub51_3959.aClass239_Sub19_7257.method1805(-32350)) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub19_7257), i_160_); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - } - return; - } - if (i == 6040) { - int i_161_ = anIntArray1149[--anInt1173]; - if (i_161_ != Class316.aClass348_Sub51_3959.aClass239_Sub3_7222.method1727(-32350)) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub3_7222), i_161_); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - Class348_Sub42_Sub3.method3179(0); - } - return; - } - } else if (i < 6200) { - if (i == 6101) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub10_7232.method1764(-32350); - return; - } - if (i == 6102) { - anIntArray1149[anInt1173++] = (Class316.aClass348_Sub51_3959.aClass239_Sub27_7255.method1840(-32350) == 1 ? 1 : 0); - return; - } - if (i == 6103) { - anIntArray1149[anInt1173++] = (Class316.aClass348_Sub51_3959.aClass239_Sub14_7250.method1778(-32350) == 2 ? 1 : 0); - return; - } - if (i == 6105) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub4_7220.method1737(-32350) == 1 ? 1 : 0; - return; - } - if (i == 6107) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub13_7236.method1776(-32350); - return; - } - if (i == 6108) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub1_7246.method1720(-32350) == 1 ? 1 : 0; - return; - } - if (i == 6110) { - anIntArray1149[anInt1173++] = (Class316.aClass348_Sub51_3959.aClass239_Sub21_7270.method1812(-32350) == 1 ? 1 : 0); - return; - } - if (i == 6111) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub7_7238.method1748(-32350); - return; - } - if (i == 6112) { - anIntArray1149[anInt1173++] = (Class316.aClass348_Sub51_3959.aClass239_Sub28_7230.method1845(-32350) == 1 ? 1 : 0); - return; - } - if (i == 6114) { - anIntArray1149[anInt1173++] = (Class316.aClass348_Sub51_3959.aClass239_Sub18_7259.method1800(-32350) == 2 ? 1 : 0); - return; - } - if (i == 6115) { - anIntArray1149[anInt1173++] = (Class316.aClass348_Sub51_3959.aClass239_Sub16_7247.method1789(-32350) == 1 ? 1 : 0); - return; - } - if (i == 6116) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub20_7248.method1808(-32350); - return; - } - if (i == 6117) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub5_7240.method1739(-32350) == 1 ? 1 : 0; - return; - } - if (i == 6118) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub26_7272.method1838(-32350); - return; - } - if (i == 6119) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub26_7260.method1838(-32350); - return; - } - if (i == 6120) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub26_7234.method1838(-32350); - return; - } - if (i == 6123) { - anIntArray1149[anInt1173++] = Class5_Sub2.method197(false); - return; - } - if (i == 6124) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub20_7216.method1808(-32350); - return; - } - if (i == 6125) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub6_7226.method1743(-32350); - return; - } - if (i == 6127) { - anIntArray1149[anInt1173++] = (Class316.aClass348_Sub51_3959.aClass239_Sub12_7243.method1771(-32350) == 1 ? 1 : 0); - return; - } - if (i == 6128) { - anIntArray1149[anInt1173++] = (Class316.aClass348_Sub51_3959.aClass239_Sub22_7253.method1815(-32350) == 1 ? 1 : 0); - return; - } - if (i == 6129) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub13_7236.method1776(-32350); - return; - } - if (i == 6130) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub9_7256.method1759(-32350) == 1 ? 1 : 0; - return; - } - if (i == 6131) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350); - return; - } - if (i == 6132) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub25_7251.method1829(-32350); - return; - } - if (i == 6133) { - anIntArray1149[anInt1173++] = ((Class348_Sub23_Sub1.aClass297_8992.aBoolean3777) && !(Class348_Sub23_Sub1.aClass297_8992.aBoolean3794)) ? 1 : 0; - return; - } - if (i == 6135) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub17_7263.method1798(-32350); - return; - } - if (i == 6136) { - anIntArray1149[anInt1173++] = (Class316.aClass348_Sub51_3959.aClass239_Sub24_7235.method1820(-32350) == 1 ? 1 : 0); - return; - } - if (i == 6138) { - anIntArray1149[anInt1173++] = Class239_Sub14.method1781(Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350), -84, 200); - return; - } - if (i == 6139) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub23_7231.method1818(-32350); - return; - } - if (i == 6142) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub26_7215.method1838(-32350); - return; - } - if (i == 6143) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub26_7245.method1838(-32350); - return; - } - if (i == 6144) { - anIntArray1149[anInt1173++] = Class348_Sub23_Sub2.aBoolean9038 ? 1 : 0; - return; - } - if (i == 6145) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub19_7257.method1805(-32350); - return; - } - if (i == 6146) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub3_7222.method1727(-32350); - return; - } - if (i == 6147) { - anIntArray1149[anInt1173++] = (Class348_Sub40_Sub20.aClass348_Sub4_9264.anInt6609 < 512 || Class348_Sub23_Sub2.aBoolean9038 || Class139.aBoolean1952) ? 1 : 0; - return; - } - if (i == 6148) { - anIntArray1149[anInt1173++] = Class304.aBoolean3847 ? 1 : 0; - return; - } - } else if (i < 6300) { - if (i == 6200) { - anInt1173 -= 2; - Class110.aShort1700 = (short) anIntArray1149[anInt1173]; - if (Class110.aShort1700 <= 0) Class110.aShort1700 = (short) 256; - Class168.aShort2250 = (short) anIntArray1149[anInt1173 + 1]; - if (Class168.aShort2250 <= 0) Class168.aShort2250 = (short) 205; - return; - } - if (i == 6201) { - anInt1173 -= 2; - Class348_Sub23_Sub3.aShort9044 = (short) anIntArray1149[anInt1173]; - if (Class348_Sub23_Sub3.aShort9044 <= 0) Class348_Sub23_Sub3.aShort9044 = (short) 256; - Class320.aShort3992 = (short) anIntArray1149[anInt1173 + 1]; - if (Class320.aShort3992 <= 0) Class320.aShort3992 = (short) 320; - return; - } - if (i == 6202) { - anInt1173 -= 4; - Class348_Sub42_Sub8.aShort9555 = (short) anIntArray1149[anInt1173]; - if (Class348_Sub42_Sub8.aShort9555 <= 0) Class348_Sub42_Sub8.aShort9555 = (short) 1; - Class48.aShort851 = (short) anIntArray1149[anInt1173 + 1]; - if (Class48.aShort851 <= 0) Class48.aShort851 = (short) 32767; - else if (Class48.aShort851 < Class348_Sub42_Sub8.aShort9555) Class48.aShort851 = Class348_Sub42_Sub8.aShort9555; - Class367_Sub8.aShort7355 = (short) anIntArray1149[anInt1173 + 2]; - if (Class367_Sub8.aShort7355 <= 0) Class367_Sub8.aShort7355 = (short) 1; - Class171.aShort2269 = (short) anIntArray1149[anInt1173 + 3]; - if (Class171.aShort2269 <= 0) Class171.aShort2269 = (short) 32767; - else { - if (Class171.aShort2269 < Class367_Sub8.aShort7355) Class171.aShort2269 = Class367_Sub8.aShort7355; - return; - } - return; - } - if (i == 6203) { - Class348_Sub42_Sub3.method3174(0, 0, Class348_Sub1.aClass46_6561.anInt709, false, (byte) 74, Class348_Sub1.aClass46_6561.anInt789); - anIntArray1149[anInt1173++] = Class127.anInt4656; - anIntArray1149[anInt1173++] = Class280.anInt3643; - return; - } - if (i == 6204) { - anIntArray1149[anInt1173++] = Class348_Sub23_Sub3.aShort9044; - anIntArray1149[anInt1173++] = Class320.aShort3992; - return; - } - if (i == 6205) { - anIntArray1149[anInt1173++] = Class110.aShort1700; - anIntArray1149[anInt1173++] = Class168.aShort2250; - return; - } - } else if (i < 6400) { - if (i == 6300) { - anIntArray1149[anInt1173++] = (int) (Class62.method599(-76) / 60000L); - return; - } - if (i == 6301) { - anIntArray1149[anInt1173++] = (int) (Class62.method599(-77) / 86400000L) - 11745; - return; - } - if (i == 6302) { - anInt1173 -= 3; - int i_162_ = anIntArray1149[anInt1173]; - int i_163_ = anIntArray1149[anInt1173 + 1]; - int i_164_ = anIntArray1149[anInt1173 + 2]; - aCalendar1160.clear(); - aCalendar1160.set(11, 12); - aCalendar1160.set(i_164_, i_163_, i_162_); - int i_165_ = ((int) (aCalendar1160.getTime().getTime() / 86400000L) - 11745); - if (i_164_ < 1970) i_165_--; - anIntArray1149[anInt1173++] = i_165_; - return; - } - if (i == 6303) { - aCalendar1160.clear(); - aCalendar1160.setTime(new Date(Class62.method599(-59))); - anIntArray1149[anInt1173++] = aCalendar1160.get(1); - return; - } - if (i == 6304) { - int i_166_ = anIntArray1149[--anInt1173]; - boolean bool_167_ = true; - if (i_166_ < 0) bool_167_ = (i_166_ + 1) % 4 == 0; - else if (i_166_ < 1582) bool_167_ = i_166_ % 4 == 0; - else if (i_166_ % 4 != 0) bool_167_ = false; - else if (i_166_ % 100 != 0) bool_167_ = true; - else if (i_166_ % 400 != 0) bool_167_ = false; - anIntArray1149[anInt1173++] = bool_167_ ? 1 : 0; - return; - } - } else if (i < 6500) { - if (i == 6405) { - anIntArray1149[anInt1173++] = Class67.method717(-2511) ? 1 : 0; - return; - } - if (i == 6406) { - anIntArray1149[anInt1173++] = Class247.method1891(314376967) ? 1 : 0; - return; - } - } else if (i < 6600) { - if (i == 6500) { - if (Class240.anInt4674 != 7 || Class225.anInt2955 != 0 || Class367_Sub2.anInt7297 != 0) anIntArray1149[anInt1173++] = 1; - else { - if (Class130.aBoolean1899) anIntArray1149[anInt1173++] = 0; - else { - if (Class240.aLong4683 > Class62.method599(-126) - 1000L) anIntArray1149[anInt1173++] = 1; - else { - Class130.aBoolean1899 = true; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class348_Sub23_Sub2.aClass351_9034), (Class348_Sub23_Sub2.aClass77_9029), -115); - class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 101, Class5_Sub1.anInt8349); - Class348_Sub42_Sub14.method3243(118, class348_sub47); - anIntArray1149[anInt1173++] = 0; - return; - } - return; - } - return; - } - return; - } - if (i == 6501) { - Class110_Sub1 class110_sub1 = Class318_Sub1_Sub5.method2487(-97); - if (class110_sub1 == null) { - anIntArray1149[anInt1173++] = -1; - anIntArray1149[anInt1173++] = 0; - aStringArray1152[anInt1170++] = ""; - anIntArray1149[anInt1173++] = 0; - aStringArray1152[anInt1170++] = ""; - anIntArray1149[anInt1173++] = 0; - anIntArray1149[anInt1173++] = 0; - aStringArray1152[anInt1170++] = ""; - return; - } else { - anIntArray1149[anInt1173++] = class110_sub1.anInt5786; - anIntArray1149[anInt1173++] = class110_sub1.anInt1708; - aStringArray1152[anInt1170++] = class110_sub1.aString5787; - Class283 class283 = class110_sub1.method1038(false); - anIntArray1149[anInt1173++] = class283.anInt3657; - aStringArray1152[anInt1170++] = class283.aString3663; - anIntArray1149[anInt1173++] = class110_sub1.anInt1704; - anIntArray1149[anInt1173++] = class110_sub1.anInt5788; - aStringArray1152[anInt1170++] = class110_sub1.aString5794; - } - return; - } - if (i == 6502) { - Class110_Sub1 class110_sub1 = Class2.method170(true); - if (class110_sub1 == null) { - anIntArray1149[anInt1173++] = -1; - anIntArray1149[anInt1173++] = 0; - aStringArray1152[anInt1170++] = ""; - anIntArray1149[anInt1173++] = 0; - aStringArray1152[anInt1170++] = ""; - anIntArray1149[anInt1173++] = 0; - anIntArray1149[anInt1173++] = 0; - aStringArray1152[anInt1170++] = ""; - return; - } else { - anIntArray1149[anInt1173++] = class110_sub1.anInt5786; - anIntArray1149[anInt1173++] = class110_sub1.anInt1708; - aStringArray1152[anInt1170++] = class110_sub1.aString5787; - Class283 class283 = class110_sub1.method1038(false); - anIntArray1149[anInt1173++] = class283.anInt3657; - aStringArray1152[anInt1170++] = class283.aString3663; - anIntArray1149[anInt1173++] = class110_sub1.anInt1704; - anIntArray1149[anInt1173++] = class110_sub1.anInt5788; - aStringArray1152[anInt1170++] = class110_sub1.aString5794; - } - return; - } - if (i == 6503) { - int i_168_ = anIntArray1149[--anInt1173]; - String string = aStringArray1152[--anInt1170]; - if (Class240.anInt4674 != 7 || Class225.anInt2955 != 0 || Class367_Sub2.anInt7297 != 0) anIntArray1149[anInt1173++] = 0; - else { - anIntArray1149[anInt1173++] = (Class348_Sub23_Sub1.method2972(string, i_168_, -42) ? 1 : 0); - return; - } - return; - } - if (i == 6506) { - int i_169_ = anIntArray1149[--anInt1173]; - Class110_Sub1 class110_sub1 = Class239_Sub5.method1742(false, i_169_); - if (class110_sub1 == null) { - anIntArray1149[anInt1173++] = -1; - aStringArray1152[anInt1170++] = ""; - anIntArray1149[anInt1173++] = 0; - aStringArray1152[anInt1170++] = ""; - anIntArray1149[anInt1173++] = 0; - anIntArray1149[anInt1173++] = 0; - aStringArray1152[anInt1170++] = ""; - return; - } else { - anIntArray1149[anInt1173++] = class110_sub1.anInt1708; - aStringArray1152[anInt1170++] = class110_sub1.aString5787; - Class283 class283 = class110_sub1.method1038(false); - anIntArray1149[anInt1173++] = class283.anInt3657; - aStringArray1152[anInt1170++] = class283.aString3663; - anIntArray1149[anInt1173++] = class110_sub1.anInt1704; - anIntArray1149[anInt1173++] = class110_sub1.anInt5788; - aStringArray1152[anInt1170++] = class110_sub1.aString5794; - } - return; - } - if (i == 6507) { - anInt1173 -= 4; - int i_170_ = anIntArray1149[anInt1173]; - boolean bool_171_ = anIntArray1149[anInt1173 + 1] == 1; - int i_172_ = anIntArray1149[anInt1173 + 2]; - boolean bool_173_ = anIntArray1149[anInt1173 + 3] == 1; - Class302.method2283(bool_173_, 0, i_172_, i_170_, bool_171_); - return; - } - if (i == 6508) { - Class348_Sub42_Sub20.method3283(-47); - return; - } - if (i == 6509) { - if (Class240.anInt4674 == 7) { - Class348_Sub40_Sub30.aBoolean9403 = anIntArray1149[--anInt1173] == 1; - return; - } - return; - } - if (i == 6510) { - anIntArray1149[anInt1173++] = Class251.anInt3234; - return; - } - } else if (i >= 6700) { - if (i < 6800 && Class11.aClass231_196 == Class288.aClass231_4953) { - if (i == 6700) { - int i_174_ = Class125.aClass356_4915.method3474(1); - if (r.anInt9721 != -1) i_174_++; - anIntArray1149[anInt1173++] = i_174_; - return; - } - if (i == 6701) { - int i_175_ = anIntArray1149[--anInt1173]; - if (r.anInt9721 != -1) { - if (i_175_ == 0) { - anIntArray1149[anInt1173++] = r.anInt9721; - return; - } - i_175_--; - } - Class348_Sub41 class348_sub41 = ((Class348_Sub41) Class125.aClass356_4915.method3484(0)); - while (i_175_-- > 0) class348_sub41 = ((Class348_Sub41) Class125.aClass356_4915.method3482(0)); - anIntArray1149[anInt1173++] = class348_sub41.anInt7050; - return; - } - if (i == 6702) { - int i_176_ = anIntArray1149[--anInt1173]; - if (Class348_Sub40_Sub33.aClass46ArrayArray9427[i_176_] == null) aStringArray1152[anInt1170++] = ""; - else { - String string = (Class348_Sub40_Sub33.aClass46ArrayArray9427[i_176_][0].aString721); - if (string == null) aStringArray1152[anInt1170++] = ""; - else { - aStringArray1152[anInt1170++] = string.substring(0, string.indexOf(':')); - return; - } - return; - } - return; - } - if (i == 6703) { - int i_177_ = anIntArray1149[--anInt1173]; - if (Class348_Sub40_Sub33.aClass46ArrayArray9427[i_177_] == null) anIntArray1149[anInt1173++] = 0; - else { - anIntArray1149[anInt1173++] = (Class348_Sub40_Sub33.aClass46ArrayArray9427[i_177_]).length; - return; - } - return; - } - if (i == 6704) { - anInt1173 -= 2; - int i_178_ = anIntArray1149[anInt1173]; - int i_179_ = anIntArray1149[anInt1173 + 1]; - if (Class348_Sub40_Sub33.aClass46ArrayArray9427[i_178_] == null) aStringArray1152[anInt1170++] = ""; - else { - String string = (Class348_Sub40_Sub33.aClass46ArrayArray9427[i_178_][i_179_].aString721); - if (string == null) aStringArray1152[anInt1170++] = ""; - else { - aStringArray1152[anInt1170++] = string; - return; - } - return; - } - return; - } - if (i == 6705) { - anInt1173 -= 2; - int i_180_ = anIntArray1149[anInt1173]; - int i_181_ = anIntArray1149[anInt1173 + 1]; - if (Class348_Sub40_Sub33.aClass46ArrayArray9427[i_180_] == null) anIntArray1149[anInt1173++] = 0; - else { - anIntArray1149[anInt1173++] = Class348_Sub40_Sub33.aClass46ArrayArray9427[i_180_][i_181_].anInt732; - return; - } - return; - } - if (i == 6706) return; - if (i == 6707) { - anInt1173 -= 3; - int i_182_ = anIntArray1149[anInt1173]; - int i_183_ = anIntArray1149[anInt1173 + 1]; - int i_184_ = anIntArray1149[anInt1173 + 2]; - Class348_Sub9.method2780(i_184_, "", (byte) 111, 1, i_182_ << 16 | i_183_); - return; - } - if (i == 6708) { - anInt1173 -= 3; - int i_185_ = anIntArray1149[anInt1173]; - int i_186_ = anIntArray1149[anInt1173 + 1]; - int i_187_ = anIntArray1149[anInt1173 + 2]; - Class348_Sub9.method2780(i_187_, "", (byte) 127, 2, i_185_ << 16 | i_186_); - return; - } - if (i == 6709) { - anInt1173 -= 3; - int i_188_ = anIntArray1149[anInt1173]; - int i_189_ = anIntArray1149[anInt1173 + 1]; - int i_190_ = anIntArray1149[anInt1173 + 2]; - Class348_Sub9.method2780(i_190_, "", (byte) 118, 3, i_188_ << 16 | i_189_); - return; - } - if (i == 6710) { - anInt1173 -= 3; - int i_191_ = anIntArray1149[anInt1173]; - int i_192_ = anIntArray1149[anInt1173 + 1]; - int i_193_ = anIntArray1149[anInt1173 + 2]; - Class348_Sub9.method2780(i_193_, "", (byte) 8, 4, i_191_ << 16 | i_192_); - return; - } - if (i == 6711) { - anInt1173 -= 3; - int i_194_ = anIntArray1149[anInt1173]; - int i_195_ = anIntArray1149[anInt1173 + 1]; - int i_196_ = anIntArray1149[anInt1173 + 2]; - Class348_Sub9.method2780(i_196_, "", (byte) 125, 5, i_194_ << 16 | i_195_); - return; - } - if (i == 6712) { - anInt1173 -= 3; - int i_197_ = anIntArray1149[anInt1173]; - int i_198_ = anIntArray1149[anInt1173 + 1]; - int i_199_ = anIntArray1149[anInt1173 + 2]; - Class348_Sub9.method2780(i_199_, "", (byte) 108, 6, i_197_ << 16 | i_198_); - return; - } - if (i == 6713) { - anInt1173 -= 3; - int i_200_ = anIntArray1149[anInt1173]; - int i_201_ = anIntArray1149[anInt1173 + 1]; - int i_202_ = anIntArray1149[anInt1173 + 2]; - Class348_Sub9.method2780(i_202_, "", (byte) -106, 7, i_200_ << 16 | i_201_); - return; - } - if (i == 6714) { - anInt1173 -= 3; - int i_203_ = anIntArray1149[anInt1173]; - int i_204_ = anIntArray1149[anInt1173 + 1]; - int i_205_ = anIntArray1149[anInt1173 + 2]; - Class348_Sub9.method2780(i_205_, "", (byte) 117, 8, i_203_ << 16 | i_204_); - return; - } - if (i == 6715) { - anInt1173 -= 3; - int i_206_ = anIntArray1149[anInt1173]; - int i_207_ = anIntArray1149[anInt1173 + 1]; - int i_208_ = anIntArray1149[anInt1173 + 2]; - Class348_Sub9.method2780(i_208_, "", (byte) -35, 9, i_206_ << 16 | i_207_); - return; - } - if (i == 6716) { - anInt1173 -= 3; - int i_209_ = anIntArray1149[anInt1173]; - int i_210_ = anIntArray1149[anInt1173 + 1]; - int i_211_ = anIntArray1149[anInt1173 + 2]; - Class348_Sub9.method2780(i_211_, "", (byte) 107, 10, i_209_ << 16 | i_210_); - return; - } - if (i == 6717) { - anInt1173 -= 3; - int i_212_ = anIntArray1149[anInt1173]; - int i_213_ = anIntArray1149[anInt1173 + 1]; - int i_214_ = anIntArray1149[anInt1173 + 2]; - Class46 class46 = Class348_Sub22.method2957(i_214_, (byte) -54, i_212_ << 16 | i_213_); - Class341.method2678(-2049); - Class348_Sub44 class348_sub44 = client.method105(class46); - Class339.method2666((class348_sub44.anInt7093), class348_sub44.method3307(100), class46, (byte) 21); - return; - } - } else if (i < 6900) { - if (i == 6800) { - int i_215_ = anIntArray1149[--anInt1173]; - Class42 class42 = Class348_Sub23_Sub2.aClass153_9031.method1225(i_215_, (byte) 96); - if (class42.aString597 == null) aStringArray1152[anInt1170++] = ""; - else { - aStringArray1152[anInt1170++] = class42.aString597; - return; - } - return; - } - if (i == 6801) { - int i_216_ = anIntArray1149[--anInt1173]; - Class42 class42 = Class348_Sub23_Sub2.aClass153_9031.method1225(i_216_, (byte) 111); - anIntArray1149[anInt1173++] = class42.anInt578; - return; - } - if (i == 6802) { - int i_217_ = anIntArray1149[--anInt1173]; - Class42 class42 = Class348_Sub23_Sub2.aClass153_9031.method1225(i_217_, (byte) 91); - anIntArray1149[anInt1173++] = class42.anInt576; - return; - } - if (i == 6803) { - int i_218_ = anIntArray1149[--anInt1173]; - Class42 class42 = Class348_Sub23_Sub2.aClass153_9031.method1225(i_218_, (byte) 44); - anIntArray1149[anInt1173++] = class42.anInt596; - return; - } - if (i == 6804) { - anInt1173 -= 2; - int i_219_ = anIntArray1149[anInt1173]; - int i_220_ = anIntArray1149[anInt1173 + 1]; - Class254 class254 = Class101_Sub3.aClass326_5764.method2600(i_220_, 28364); - if (class254.method1925(false)) aStringArray1152[anInt1170++] = (Class348_Sub23_Sub2.aClass153_9031.method1225(i_219_, (byte) 79).method376(class254.aString3258, i_220_, (byte) 126)); - else { - anIntArray1149[anInt1173++] = (Class348_Sub23_Sub2.aClass153_9031.method1225(i_219_, (byte) 50).method378(class254.anInt3256, i_220_, false)); - return; - } - return; - } - } else if (i < 7000) { - if (i == 6900) { - anIntArray1149[anInt1173++] = (Class348_Sub40_Sub3.aBoolean9103 && !Class133.aBoolean1915) ? 1 : 0; - return; - } - if (i == 6901) { - anIntArray1149[anInt1173++] = Class116.anInt1758; - return; - } - if (i == 6902) { - anIntArray1149[anInt1173++] = Class135_Sub1.anInt4716; - return; - } - if (i == 6903) { - anIntArray1149[anInt1173++] = Class322.anInt4026; - return; - } - if (i == 6904) { - anIntArray1149[anInt1173++] = Class206.anInt4870; - return; - } - if (i == 6905) { - String string = ""; - if (Class348_Sub42_Sub6.aClass144_9536 != null) { - if (Class348_Sub42_Sub6.aClass144_9536.anObject1998 != null) string = (String) (Class348_Sub42_Sub6.aClass144_9536.anObject1998); - else string = Class235.method1669(-19918, (Class348_Sub42_Sub6.aClass144_9536.anInt2000)); - } - aStringArray1152[anInt1170++] = string; - return; - } - if (i == 6906) { - anIntArray1149[anInt1173++] = Class216.anInt4976; - return; - } - if (i == 6907) { - anIntArray1149[anInt1173++] = Class130_Sub1.anInt5797; - return; - } - if (i == 6908) { - anIntArray1149[anInt1173++] = Class348_Sub6.anInt6632; - return; - } - if (i == 6909) { - anIntArray1149[anInt1173++] = Class290.aBoolean3706 ? 1 : 0; - return; - } - if (i == 6910) { - anIntArray1149[anInt1173++] = Class24.anInt359; - return; - } - if (i == 6911) { - anIntArray1149[anInt1173++] = Applet_Sub1.anInt37; - return; - } - if (i == 6912) { - anIntArray1149[anInt1173++] = Class348_Sub1.anInt6551; - return; - } - } else if (i < 7100) { - if (i == 7000) { - int i_221_ = Class318_Sub1_Sub4.method2478(1000); - anIntArray1149[anInt1173++] = Class64_Sub3.anInt5584 = Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350); - anIntArray1149[anInt1173++] = i_221_; - Class348_Sub20.method2953((byte) -113); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - return; - } - if (i == 7001) { - Class133.method1140(47); - Class348_Sub20.method2953((byte) -126); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - return; - } - if (i == 7002) { - Class47.method447((byte) -59); - Class348_Sub20.method2953((byte) -124); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - return; - } - if (i == 7003) { - Class161.method1263(true); - Class348_Sub20.method2953((byte) -106); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - return; - } - if (i == 7004) { - Class348_Sub40_Sub12.method3076(0, true); - Class348_Sub20.method2953((byte) -107); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - return; - } - if (i == 7005) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub29_7229), 0); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - return; - } - if (i == 7006) { - if (Class64_Sub3.anInt5584 == 2) Class221.aBoolean2881 = true; - else { - if (Class64_Sub3.anInt5584 == 1) Class330.aBoolean4117 = true; - else { - if (Class64_Sub3.anInt5584 == 3) Class348_Sub1.aBoolean6558 = true; - return; - } - return; - } - return; - } - if (i == 7007) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub29_7229.method1848(-32350); - return; - } - } else if (i < 7200) { - if (i == 7100) { - anInt1173 -= 2; - int i_222_ = anIntArray1149[anInt1173]; - int i_223_ = anIntArray1149[anInt1173 + 1]; - if (i_222_ != -1) { - if (i_223_ > 255) i_223_ = 255; - else if (i_223_ < 0) i_223_ = 0; - Class55_Sub1.method524(i_223_, false, i_222_, -122); - } - return; - } - if (i == 7101) { - int i_224_ = anIntArray1149[--anInt1173]; - if (i_224_ != -1) Class64_Sub3.method690((byte) 17, i_224_); - return; - } - if (i == 7102) { - int i_225_ = anIntArray1149[--anInt1173]; - if (i_225_ != -1) Class143.method1189(-1, i_225_); - return; - } - if (i == 7103) { - anIntArray1149[anInt1173++] = Class348_Sub40_Sub31.method3131((byte) 50, "jagtheora") ? 1 : 0; - return; - } - } else if (i < 7300) { - if (i == 7201) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub4_7220.method1736(123) ? 1 : 0; - return; - } - if (i == 7202) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub21_7270.method1809(117) ? 1 : 0; - return; - } - if (i == 7203) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub7_7238.method1747(111) ? 1 : 0; - return; - } - if (i == 7204) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub18_7259.method1801(125) ? 1 : 0; - return; - } - if (i == 7205) { - anIntArray1149[anInt1173++] = (Class316.aClass348_Sub51_3959.aClass239_Sub20_7216.method1806(108) && Class348_Sub8.aHa6654.method3699()) ? 1 : 0; - return; - } - if (i == 7206) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub15_7224.method1786(93) ? 1 : 0; - return; - } - if (i == 7207) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub6_7226.method1744(103) ? 1 : 0; - return; - } - if (i == 7208) { - anIntArray1149[anInt1173++] = (Class316.aClass348_Sub51_3959.aClass239_Sub12_7243.method1774(120) && Class348_Sub8.aHa6654.method3627()) ? 1 : 0; - return; - } - if (i == 7209) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub9_7256.method1757(115) ? 1 : 0; - return; - } - if (i == 7210) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub24_7235.method1824(124) ? 1 : 0; - return; - } - if (i == 7211) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub23_7231.method1817(108) ? 1 : 0; - return; - } - if (i == 7212) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub16_7247.method1790(94) ? 1 : 0; - return; - } - if (i == 7213) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub3_7222.method1729(91) ? 1 : 0; - return; - } - if (i == 7214) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub25_7251.method1831(95) ? 1 : 0; - return; - } - } else if (i < 7400) { - if (i == 7301) { - int i_226_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub4_7220.method1714(3, i_226_); - return; - } - if (i == 7302) { - int i_227_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub21_7270.method1714(3, i_227_); - return; - } - if (i == 7303) { - int i_228_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub7_7238.method1714(3, i_228_); - return; - } - if (i == 7304) { - int i_229_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub18_7259.method1714(3, i_229_); - return; - } - if (i == 7305) { - int i_230_ = anIntArray1149[--anInt1173]; - if (Class348_Sub8.aHa6654.method3699()) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub20_7216.method1714(3, i_230_); - return; - } else anIntArray1149[anInt1173++] = 3; - return; - } - if (i == 7306) { - int i_231_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub15_7224.method1714(3, i_231_); - return; - } - if (i == 7307) { - int i_232_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub6_7226.method1714(3, i_232_); - return; - } - if (i == 7308) { - int i_233_ = anIntArray1149[--anInt1173]; - if (Class348_Sub8.aHa6654.method3627()) { - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub12_7243.method1714(3, i_233_); - return; - } else anIntArray1149[anInt1173++] = 3; - return; - } - if (i == 7309) { - int i_234_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub9_7256.method1714(3, i_234_); - return; - } - if (i == 7310) { - int i_235_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub24_7235.method1714(3, i_235_); - return; - } - if (i == 7311) { - int i_236_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub23_7231.method1714(3, i_236_); - return; - } - if (i == 7312) { - int i_237_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub16_7247.method1714(3, i_237_); - return; - } - if (i == 7313) { - int i_238_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub3_7222.method1714(3, i_238_); - return; - } - if (i == 7314) { - int i_239_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = Class316.aClass348_Sub51_3959.aClass239_Sub25_7251.method1714(3, i_239_); - return; - } - } - } - throw new IllegalStateException(String.valueOf(i)); - } - - static final void method705(Class348_Sub36 class348_sub36) { - method712(class348_sub36, 200000); - } - - static final void method706() { - /* empty */ - } - - private static final void method707(String string, int i) { - if (Class192.anInt2581 != 0 || ((!Class348_Sub40_Sub3.aBoolean9103 || Class133.aBoolean1915) && !Class50_Sub2.aBoolean5233)) { - String string_240_ = string.toLowerCase(); - int i_241_ = 0; - if (string_240_.startsWith(Class274.aClass274_3530.method2063(0, 544))) { - i_241_ = 0; - string = string.substring(Class274.aClass274_3530.method2063(0, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3531.method2063(0, 544))) { - i_241_ = 1; - string = string.substring(Class274.aClass274_3531.method2063(0, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3532.method2063(0, 544))) { - i_241_ = 2; - string = string.substring(Class274.aClass274_3532.method2063(0, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3533.method2063(0, 544))) { - i_241_ = 3; - string = string.substring(Class274.aClass274_3533.method2063(0, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3534.method2063(0, 544))) { - i_241_ = 4; - string = string.substring(Class274.aClass274_3534.method2063(0, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3535.method2063(0, 544))) { - i_241_ = 5; - string = string.substring(Class274.aClass274_3535.method2063(0, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3536.method2063(0, 544))) { - i_241_ = 6; - string = string.substring(Class274.aClass274_3536.method2063(0, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3537.method2063(0, 544))) { - i_241_ = 7; - string = string.substring(Class274.aClass274_3537.method2063(0, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3538.method2063(0, 544))) { - i_241_ = 8; - string = string.substring(Class274.aClass274_3538.method2063(0, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3539.method2063(0, 544))) { - i_241_ = 9; - string = string.substring(Class274.aClass274_3539.method2063(0, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3540.method2063(0, 544))) { - i_241_ = 10; - string = string.substring(Class274.aClass274_3540.method2063(0, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3541.method2063(0, 544))) { - i_241_ = 11; - string = string.substring(Class274.aClass274_3541.method2063(0, 544).length()); - } else if (Class348_Sub33.anInt6967 != 0) { - if (string_240_.startsWith(Class274.aClass274_3530.method2063(Class348_Sub33.anInt6967, 544))) { - i_241_ = 0; - string = string.substring(Class274.aClass274_3530.method2063(Class348_Sub33.anInt6967, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3531.method2063(Class348_Sub33.anInt6967, 544))) { - i_241_ = 1; - string = string.substring(Class274.aClass274_3531.method2063(Class348_Sub33.anInt6967, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3532.method2063(Class348_Sub33.anInt6967, 544))) { - i_241_ = 2; - string = string.substring(Class274.aClass274_3532.method2063(Class348_Sub33.anInt6967, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3533.method2063(Class348_Sub33.anInt6967, 544))) { - i_241_ = 3; - string = string.substring(Class274.aClass274_3533.method2063(Class348_Sub33.anInt6967, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3534.method2063(Class348_Sub33.anInt6967, 544))) { - i_241_ = 4; - string = string.substring(Class274.aClass274_3534.method2063(Class348_Sub33.anInt6967, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3535.method2063(Class348_Sub33.anInt6967, 544))) { - i_241_ = 5; - string = string.substring(Class274.aClass274_3535.method2063(Class348_Sub33.anInt6967, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3536.method2063(Class348_Sub33.anInt6967, 544))) { - i_241_ = 6; - string = string.substring(Class274.aClass274_3536.method2063(Class348_Sub33.anInt6967, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3537.method2063(Class348_Sub33.anInt6967, 544))) { - i_241_ = 7; - string = string.substring(Class274.aClass274_3537.method2063(Class348_Sub33.anInt6967, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3538.method2063(Class348_Sub33.anInt6967, 544))) { - i_241_ = 8; - string = string.substring(Class274.aClass274_3538.method2063(Class348_Sub33.anInt6967, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3539.method2063(Class348_Sub33.anInt6967, 544))) { - i_241_ = 9; - string = string.substring(Class274.aClass274_3539.method2063(Class348_Sub33.anInt6967, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3540.method2063(Class348_Sub33.anInt6967, 544))) { - i_241_ = 10; - string = string.substring(Class274.aClass274_3540.method2063(Class348_Sub33.anInt6967, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3541.method2063(Class348_Sub33.anInt6967, 544))) { - i_241_ = 11; - string = string.substring(Class274.aClass274_3541.method2063(Class348_Sub33.anInt6967, 544).length()); - } - } - string_240_ = string.toLowerCase(); - int i_242_ = 0; - if (string_240_.startsWith(Class274.aClass274_3542.method2063(0, 544))) { - i_242_ = 1; - string = string.substring(Class274.aClass274_3542.method2063(0, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3543.method2063(0, 544))) { - i_242_ = 2; - string = string.substring(Class274.aClass274_3543.method2063(0, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3544.method2063(0, 544))) { - i_242_ = 3; - string = string.substring(Class274.aClass274_3544.method2063(0, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3545.method2063(0, 544))) { - i_242_ = 4; - string = string.substring(Class274.aClass274_3545.method2063(0, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3546.method2063(0, 544))) { - i_242_ = 5; - string = string.substring(Class274.aClass274_3546.method2063(0, 544).length()); - } else if (Class348_Sub33.anInt6967 != 0) { - if (string_240_.startsWith(Class274.aClass274_3542.method2063(Class348_Sub33.anInt6967, 544))) { - i_242_ = 1; - string = string.substring(Class274.aClass274_3542.method2063(Class348_Sub33.anInt6967, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3543.method2063(Class348_Sub33.anInt6967, 544))) { - i_242_ = 2; - string = string.substring(Class274.aClass274_3543.method2063(Class348_Sub33.anInt6967, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3544.method2063(Class348_Sub33.anInt6967, 544))) { - i_242_ = 3; - string = string.substring(Class274.aClass274_3544.method2063(Class348_Sub33.anInt6967, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3545.method2063(Class348_Sub33.anInt6967, 544))) { - i_242_ = 4; - string = string.substring(Class274.aClass274_3545.method2063(Class348_Sub33.anInt6967, 544).length()); - } else if (string_240_.startsWith(Class274.aClass274_3546.method2063(Class348_Sub33.anInt6967, 544))) { - i_242_ = 5; - string = string.substring(Class274.aClass274_3546.method2063(Class348_Sub33.anInt6967, 544).length()); - } - } - anInt1158++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class205.aClass351_2686, Class348_Sub23_Sub2.aClass77_9029, -88); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 0); - int i_243_ = (class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, i_241_); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, i_242_); - Class367_Sub4.method3544((class348_sub47.aClass348_Sub49_Sub2_7116), -101, string); - class348_sub47.aClass348_Sub49_Sub2_7116.method3339(119, (class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197) - i_243_); - Class348_Sub42_Sub14.method3243(124, class348_sub47); - } - } - - private static final int method708(char c) { - if (Class237_Sub1.method1693(c, -114)) return 1; - return 0; - } - - private static final String method709(int i) { - long l = ((long) i + 11745L) * 86400000L; - aCalendar1160.setTime(new Date(l)); - int i_244_ = aCalendar1160.get(5); - int i_245_ = aCalendar1160.get(2); - int i_246_ = aCalendar1160.get(1); - return (i_244_ + "-" + aStringArray1176[i_245_] + "-" + i_246_); - } - - private static final void method710(int i, boolean bool) { - if (i < 300) { - if (i == 100) { - anInt1173 -= 3; - int i_247_ = anIntArray1149[anInt1173]; - int i_248_ = anIntArray1149[anInt1173 + 1]; - int i_249_ = anIntArray1149[anInt1173 + 2]; - if (i_248_ == 0) throw new RuntimeException(); - Class46 class46 = Class324.method2570(1512932720, i_247_); - if (class46.aClass46Array798 == null) class46.aClass46Array798 = new Class46[i_249_ + 1]; - if (class46.aClass46Array798.length <= i_249_) { - Class46[] class46s = new Class46[i_249_ + 1]; - for (int i_250_ = 0; i_250_ < class46.aClass46Array798.length; i_250_++) - class46s[i_250_] = class46.aClass46Array798[i_250_]; - class46.aClass46Array798 = class46s; - } - if (i_249_ > 0 && (class46.aClass46Array798[i_249_ - 1] == null)) throw new RuntimeException("Gap at:" + (i_249_ - 1)); - Class46 class46_251_ = new Class46(); - class46_251_.anInt774 = i_248_; - class46_251_.anInt834 = class46_251_.anInt830 = class46.anInt830; - class46_251_.anInt704 = i_249_; - class46.aClass46Array798[i_249_] = class46_251_; - if (bool) aClass46_1169 = class46_251_; - else aClass46_1150 = class46_251_; - Class251.method1916(-9343, class46); - return; - } - if (i == 101) { - Class46 class46 = bool ? aClass46_1169 : aClass46_1150; - if (class46.anInt704 == -1) { - if (bool) throw new RuntimeException("Tried to .cc_delete static .active-component!"); - throw new RuntimeException("Tried to cc_delete static active-component!"); - } - Class46 class46_252_ = Class324.method2570(1512932720, class46.anInt830); - class46_252_.aClass46Array798[(class46.anInt704)] = null; - Class251.method1916(-9343, class46_252_); - return; - } - if (i == 102) { - Class46 class46 = Class324.method2570(1512932720, anIntArray1149[--anInt1173]); - class46.aClass46Array798 = null; - Class251.method1916(-9343, class46); - return; - } - if (i == 200) { - anInt1173 -= 2; - int i_253_ = anIntArray1149[anInt1173]; - int i_254_ = anIntArray1149[anInt1173 + 1]; - Class46 class46 = Class348_Sub22.method2957(i_254_, (byte) -54, i_253_); - if (class46 == null || i_254_ == -1) { - anIntArray1149[anInt1173++] = 0; - return; - } else { - anIntArray1149[anInt1173++] = 1; - if (bool) aClass46_1169 = class46; - else aClass46_1150 = class46; - } - return; - } - if (i == 201) { - int i_255_ = anIntArray1149[--anInt1173]; - Class46 class46 = Class324.method2570(1512932720, i_255_); - if (class46 == null) { - anIntArray1149[anInt1173++] = 0; - return; - } else { - anIntArray1149[anInt1173++] = 1; - if (bool) aClass46_1169 = class46; - else aClass46_1150 = class46; - } - return; - } - if (i == 202) { - int i_256_ = anIntArray1149[--anInt1173]; - method714(i_256_); - return; - } - if (i == 203) { - int i_257_ = anIntArray1149[--anInt1173]; - method702(i_257_); - return; - } - } else if (i < 500) { - if (i == 403) { - anInt1173 -= 2; - int i_258_ = anIntArray1149[anInt1173]; - int i_259_ = anIntArray1149[anInt1173 + 1]; - if ((Class132.aPlayer_1907.aClass154_10536) != null) { - for (int i_260_ = 0; i_260_ < Class141.anIntArray1973.length; i_260_++) { - if (Class141.anIntArray1973[i_260_] == i_258_) { - Class132.aPlayer_1907.aClass154_10536.method1233(Class348_Sub40_Sub25.aClass150_9342, i_259_, -1, i_260_); - return; - } - } - for (int i_261_ = 0; i_261_ < Class91.anIntArray1521.length; i_261_++) { - if (Class91.anIntArray1521[i_261_] == i_258_) { - Class132.aPlayer_1907.aClass154_10536.method1233(Class348_Sub40_Sub25.aClass150_9342, i_259_, -1, i_261_); - break; - } - } - return; - } - return; - } - if (i == 404) { - anInt1173 -= 2; - int i_262_ = anIntArray1149[anInt1173]; - int i_263_ = anIntArray1149[anInt1173 + 1]; - if ((Class132.aPlayer_1907.aClass154_10536) != null) { - Class132.aPlayer_1907.aClass154_10536.method1231(i_262_, 0, i_263_); - return; - } - return; - } - if (i == 410) { - boolean bool_264_ = anIntArray1149[--anInt1173] != 0; - if ((Class132.aPlayer_1907.aClass154_10536) != null) { - Class132.aPlayer_1907.aClass154_10536.method1229((byte) -17, bool_264_); - return; - } - return; - } - if (i == 411) { - anInt1173 -= 2; - int i_265_ = anIntArray1149[anInt1173]; - int i_266_ = anIntArray1149[anInt1173 + 1]; - if ((Class132.aPlayer_1907.aClass154_10536) != null) { - Class132.aPlayer_1907.aClass154_10536.method1227((byte) 42, i_265_, i_266_, Exception_Sub1.aClass255_112); - return; - } - return; - } - } else if (i >= 1000 && i < 1100 || i >= 2000 && i < 2100) { - Class46 class46; - if (i >= 2000) { - i -= 1000; - class46 = Class324.method2570(1512932720, anIntArray1149[--anInt1173]); - } else class46 = bool ? aClass46_1169 : aClass46_1150; - if (i == 1000) { - anInt1173 -= 4; - class46.anInt788 = anIntArray1149[anInt1173]; - class46.anInt739 = anIntArray1149[anInt1173 + 1]; - int i_267_ = anIntArray1149[anInt1173 + 2]; - if (i_267_ < 0) i_267_ = 0; - else if (i_267_ > 5) i_267_ = 5; - int i_268_ = anIntArray1149[anInt1173 + 3]; - if (i_268_ < 0) i_268_ = 0; - else if (i_268_ > 5) i_268_ = 5; - class46.aByte817 = (byte) i_267_; - class46.aByte681 = (byte) i_268_; - Class251.method1916(-9343, class46); - Class111.method1048(class46, 50); - if (class46.anInt704 == -1) Class239_Sub3.method1733((byte) -78, class46.anInt830); - return; - } - if (i == 1001) { - anInt1173 -= 4; - class46.anInt842 = anIntArray1149[anInt1173]; - class46.anInt728 = anIntArray1149[anInt1173 + 1]; - class46.anInt796 = 0; - class46.anInt826 = 0; - int i_269_ = anIntArray1149[anInt1173 + 2]; - if (i_269_ < 0) i_269_ = 0; - else if (i_269_ > 4) i_269_ = 4; - int i_270_ = anIntArray1149[anInt1173 + 3]; - if (i_270_ < 0) i_270_ = 0; - else if (i_270_ > 4) i_270_ = 4; - class46.aByte778 = (byte) i_269_; - class46.aByte724 = (byte) i_270_; - Class251.method1916(-9343, class46); - Class111.method1048(class46, 62); - if (class46.anInt774 == 0) Class251.method1913(false, 36, class46); - return; - } - if (i == 1003) { - boolean bool_271_ = anIntArray1149[--anInt1173] == 1; - if (class46.aBoolean813 != bool_271_) { - class46.aBoolean813 = bool_271_; - Class251.method1916(-9343, class46); - } - if (class46.anInt704 == -1) Class348_Sub26.method2999((byte) 90, class46.anInt830); - return; - } - if (i == 1004) { - anInt1173 -= 2; - class46.anInt710 = anIntArray1149[anInt1173]; - class46.anInt775 = anIntArray1149[anInt1173 + 1]; - Class251.method1916(-9343, class46); - Class111.method1048(class46, 59); - if (class46.anInt774 == 0) Class251.method1913(false, 49, class46); - return; - } - if (i == 1005) { - class46.aBoolean776 = anIntArray1149[--anInt1173] == 1; - return; - } - } else if (i >= 1100 && i < 1200 || i >= 2100 && i < 2200) { - Class46 class46; - if (i >= 2000) { - i -= 1000; - class46 = Class324.method2570(1512932720, anIntArray1149[--anInt1173]); - } else class46 = bool ? aClass46_1169 : aClass46_1150; - if (i == 1100) { - anInt1173 -= 2; - class46.anInt747 = anIntArray1149[anInt1173]; - if (class46.anInt747 > (class46.anInt698 - class46.anInt709)) class46.anInt747 = (class46.anInt698 - class46.anInt709); - if (class46.anInt747 < 0) class46.anInt747 = 0; - class46.anInt755 = anIntArray1149[anInt1173 + 1]; - if (class46.anInt755 > (class46.anInt791 - class46.anInt789)) class46.anInt755 = (class46.anInt791 - class46.anInt789); - if (class46.anInt755 < 0) class46.anInt755 = 0; - Class251.method1916(-9343, class46); - if (class46.anInt704 == -1) Class328_Sub3.method2615(-91, class46.anInt830); - return; - } - if (i == 1101) { - class46.anInt749 = anIntArray1149[--anInt1173]; - Class251.method1916(-9343, class46); - if (class46.anInt704 == -1) Class135.method1148(class46.anInt830, 6); - return; - } - if (i == 1102) { - class46.aBoolean810 = anIntArray1149[--anInt1173] == 1; - Class251.method1916(-9343, class46); - return; - } - if (i == 1103) { - class46.anInt696 = anIntArray1149[--anInt1173]; - Class251.method1916(-9343, class46); - return; - } - if (i == 1104) { - class46.anInt690 = anIntArray1149[--anInt1173]; - Class251.method1916(-9343, class46); - return; - } - if (i == 1105) { - int i_272_ = anIntArray1149[--anInt1173]; - if (class46.anInt756 != i_272_) { - class46.anInt756 = i_272_; - Class251.method1916(-9343, class46); - } - if (class46.anInt704 == -1) Class203.method1477(class46.anInt830, 14); - return; - } - if (i == 1106) { - class46.anInt828 = anIntArray1149[--anInt1173]; - Class251.method1916(-9343, class46); - return; - } - if (i == 1107) { - class46.aBoolean697 = anIntArray1149[--anInt1173] == 1; - Class251.method1916(-9343, class46); - return; - } - if (i == 1108) { - class46.anInt770 = 1; - class46.anInt753 = anIntArray1149[--anInt1173]; - Class251.method1916(-9343, class46); - if (class46.anInt704 == -1) Class369.method3569(class46.anInt830, -125); - return; - } - if (i == 1109) { - anInt1173 -= 6; - class46.anInt808 = anIntArray1149[anInt1173]; - class46.anInt786 = anIntArray1149[anInt1173 + 1]; - class46.anInt757 = anIntArray1149[anInt1173 + 2]; - class46.anInt675 = anIntArray1149[anInt1173 + 3]; - class46.anInt717 = anIntArray1149[anInt1173 + 4]; - class46.anInt716 = anIntArray1149[anInt1173 + 5]; - Class251.method1916(-9343, class46); - if (class46.anInt704 == -1) { - Class239_Sub15.method1787(class46.anInt830, 8); - Class199.method1459(class46.anInt830, 2); - } - return; - } - if (i == 1110) { - int i_273_ = anIntArray1149[--anInt1173]; - if (class46.anInt699 != i_273_) { - class46.anInt699 = i_273_; - class46.anInt795 = 0; - class46.anInt730 = 1; - class46.anInt841 = 0; - Class17 class17 = (class46.anInt699 == -1 ? null : Class10.aClass87_191.method835(class46.anInt699, 7)); - if (class17 != null) Class264.method2017(class46.anInt795, class17, 46); - Class251.method1916(-9343, class46); - } - if (class46.anInt704 == -1) Class64_Sub3.method687((byte) -117, class46.anInt830); - return; - } - if (i == 1111) { - class46.aBoolean689 = anIntArray1149[--anInt1173] == 1; - Class251.method1916(-9343, class46); - return; - } - if (i == 1112) { - String string = aStringArray1152[--anInt1170]; - if (!string.equals(class46.aString792)) { - class46.aString792 = string; - Class251.method1916(-9343, class46); - } - if (class46.anInt704 == -1) Class348_Sub45_Sub2.method3316(121, class46.anInt830); - return; - } - if (i == 1113) { - class46.anInt702 = anIntArray1149[--anInt1173]; - Class251.method1916(-9343, class46); - if (class46.anInt704 == -1) Class309.method2311((byte) -109, class46.anInt830); - return; - } - if (i == 1114) { - anInt1173 -= 3; - class46.anInt762 = anIntArray1149[anInt1173]; - class46.anInt700 = anIntArray1149[anInt1173 + 1]; - class46.anInt673 = anIntArray1149[anInt1173 + 2]; - Class251.method1916(-9343, class46); - return; - } - if (i == 1115) { - class46.aBoolean769 = anIntArray1149[--anInt1173] == 1; - Class251.method1916(-9343, class46); - return; - } - if (i == 1116) { - class46.anInt672 = anIntArray1149[--anInt1173]; - Class251.method1916(-9343, class46); - return; - } - if (i == 1117) { - class46.anInt809 = anIntArray1149[--anInt1173]; - Class251.method1916(-9343, class46); - return; - } - if (i == 1118) { - class46.aBoolean790 = anIntArray1149[--anInt1173] == 1; - Class251.method1916(-9343, class46); - return; - } - if (i == 1119) { - class46.aBoolean735 = anIntArray1149[--anInt1173] == 1; - Class251.method1916(-9343, class46); - return; - } - if (i == 1120) { - anInt1173 -= 2; - class46.anInt698 = anIntArray1149[anInt1173]; - class46.anInt791 = anIntArray1149[anInt1173 + 1]; - Class251.method1916(-9343, class46); - if (class46.anInt774 == 0) Class251.method1913(false, 62, class46); - return; - } - if (i == 1122) { - class46.aBoolean745 = anIntArray1149[--anInt1173] == 1; - Class251.method1916(-9343, class46); - return; - } - if (i == 1123) { - class46.anInt716 = anIntArray1149[--anInt1173]; - Class251.method1916(-9343, class46); - if (class46.anInt704 == -1) Class239_Sub15.method1787(class46.anInt830, 8); - return; - } - if (i == 1124) { - int i_274_ = anIntArray1149[--anInt1173]; - class46.aBoolean744 = i_274_ == 1; - Class251.method1916(-9343, class46); - return; - } - if (i == 1125) { - anInt1173 -= 2; - class46.anInt688 = anIntArray1149[anInt1173]; - class46.anInt799 = anIntArray1149[anInt1173 + 1]; - Class251.method1916(-9343, class46); - return; - } - if (i == 1126) { - class46.anInt773 = anIntArray1149[--anInt1173]; - Class251.method1916(-9343, class46); - return; - } - if (i == 1127) { - anInt1173 -= 2; - int i_275_ = anIntArray1149[anInt1173]; - int i_276_ = anIntArray1149[anInt1173 + 1]; - Class254 class254 = Class101_Sub3.aClass326_5764.method2600(i_275_, 28364); - if (i_276_ == class254.anInt3256) { - class46.method435(i_275_, -3437); - return; - } else class46.method436(-70, i_275_, i_276_); - return; - } - if (i == 1128) { - int i_277_ = anIntArray1149[--anInt1173]; - String string = aStringArray1152[--anInt1170]; - Class254 class254 = Class101_Sub3.aClass326_5764.method2600(i_277_, 28364); - if (class254.aString3258.equals(string)) { - class46.method435(i_277_, -3437); - return; - } else class46.method439(0, i_277_, string); - return; - } - if (i == 1129 || i == 1130) { - int i_278_ = anIntArray1149[--anInt1173]; - if ((class46.anInt774 == 5 || i != 1129) && (class46.anInt774 == 4 || i != 1130)) { - if (class46.anInt806 != i_278_) { - class46.anInt806 = i_278_; - Class251.method1916(-9343, class46); - } - if (class46.anInt704 == -1) Class188.method1415(class46.anInt830, 117); - return; - } - return; - } - } else if (i >= 1200 && i < 1300 || i >= 2200 && i < 2300) { - Class46 class46; - if (i >= 2000) { - i -= 1000; - class46 = Class324.method2570(1512932720, anIntArray1149[--anInt1173]); - } else class46 = bool ? aClass46_1169 : aClass46_1150; - Class251.method1916(-9343, class46); - if (i == 1200 || i == 1205 || i == 1208 || i == 1209 || i == 1212 || i == 1213) { - anInt1173 -= 2; - int i_279_ = anIntArray1149[anInt1173]; - int i_280_ = anIntArray1149[anInt1173 + 1]; - if (class46.anInt704 == -1) { - Class73.method743(9, class46.anInt830); - Class239_Sub15.method1787(class46.anInt830, 8); - Class199.method1459(class46.anInt830, 2); - } - if (i_279_ == -1) { - class46.anInt770 = 1; - class46.anInt753 = -1; - class46.anInt812 = -1; - } else { - class46.anInt812 = i_279_; - class46.anInt781 = i_280_; - class46.aBoolean720 = i == 1208 || i == 1209; - Class213 class213 = Exception_Sub1.aClass255_112.method1940(74, i_279_); - class46.anInt757 = class213.anInt2787; - class46.anInt675 = class213.anInt2781; - class46.anInt717 = class213.anInt2810; - class46.anInt808 = class213.anInt2779; - class46.anInt786 = class213.anInt2826; - class46.anInt716 = class213.anInt2825; - if (i == 1205 || i == 1209) class46.anInt678 = 0; - else if (i == 1212 || i == 1213) class46.anInt678 = 1; - else class46.anInt678 = 2; - if (class46.anInt796 > 0) class46.anInt716 = (class46.anInt716 * 32 / class46.anInt796); - else { - if (class46.anInt842 > 0) class46.anInt716 = (class46.anInt716 * 32 / class46.anInt842); - return; - } - return; - } - return; - } - if (i == 1201) { - class46.anInt770 = 2; - class46.anInt753 = anIntArray1149[--anInt1173]; - if (class46.anInt704 == -1) Class369.method3569(class46.anInt830, -124); - return; - } - if (i == 1202) { - class46.anInt770 = 3; - class46.anInt753 = -1; - if (class46.anInt704 == -1) Class369.method3569(class46.anInt830, 94); - return; - } - if (i == 1203) { - class46.anInt770 = 6; - class46.anInt753 = anIntArray1149[--anInt1173]; - if (class46.anInt704 == -1) Class369.method3569(class46.anInt830, -26); - return; - } - if (i == 1204) { - class46.anInt770 = 5; - class46.anInt753 = anIntArray1149[--anInt1173]; - if (class46.anInt704 == -1) Class369.method3569(class46.anInt830, -127); - return; - } - if (i == 1206) { - anInt1173 -= 4; - class46.anInt705 = anIntArray1149[anInt1173]; - class46.anInt674 = anIntArray1149[anInt1173 + 1]; - class46.anInt733 = anIntArray1149[anInt1173 + 2]; - class46.anInt693 = anIntArray1149[anInt1173 + 3]; - Class251.method1916(-9343, class46); - return; - } - if (i == 1207) { - anInt1173 -= 2; - class46.anInt759 = anIntArray1149[anInt1173]; - class46.anInt835 = anIntArray1149[anInt1173 + 1]; - Class251.method1916(-9343, class46); - return; - } - if (i == 1210) { - anInt1173 -= 4; - class46.anInt753 = anIntArray1149[anInt1173]; - class46.anInt779 = anIntArray1149[anInt1173 + 1]; - if (anIntArray1149[anInt1173 + 2] == 1) class46.anInt770 = 9; - else class46.anInt770 = 8; - class46.aBoolean720 = anIntArray1149[anInt1173 + 3] == 1; - if (class46.anInt704 == -1) Class369.method3569(class46.anInt830, 8); - return; - } - if (i == 1211) { - class46.anInt770 = 5; - class46.anInt753 = Class348_Sub42_Sub11.anInt9591; - class46.anInt779 = 0; - if (class46.anInt704 == -1) Class369.method3569(class46.anInt830, 66); - return; - } - } else if (i >= 1300 && i < 1400 || i >= 2300 && i < 2400) { - Class46 class46; - if (i >= 2000) { - i -= 1000; - class46 = Class324.method2570(1512932720, anIntArray1149[--anInt1173]); - } else class46 = bool ? aClass46_1169 : aClass46_1150; - if (i == 1300) { - int i_281_ = anIntArray1149[--anInt1173] - 1; - if (i_281_ >= 0 && i_281_ <= 9) { - class46.method438(i_281_, 124, aStringArray1152[--anInt1170]); - return; - } else anInt1170--; - return; - } - if (i == 1301) { - anInt1173 -= 2; - int i_282_ = anIntArray1149[anInt1173]; - int i_283_ = anIntArray1149[anInt1173 + 1]; - if (i_282_ == -1 && i_283_ == -1) class46.aClass46_782 = null; - else { - class46.aClass46_782 = Class348_Sub22.method2957(i_283_, (byte) -54, i_282_); - return; - } - return; - } - if (i == 1302) { - int i_284_ = anIntArray1149[--anInt1173]; - if (i_284_ == InputStream_Sub1.anInt78 || i_284_ == Class179.anInt2361 || i_284_ == Class312.anInt3930) { - class46.anInt797 = i_284_; - return; - } - return; - } - if (i == 1303) { - class46.anInt729 = anIntArray1149[--anInt1173]; - return; - } - if (i == 1304) { - class46.anInt703 = anIntArray1149[--anInt1173]; - return; - } - if (i == 1305) { - class46.aString752 = aStringArray1152[--anInt1170]; - return; - } - if (i == 1306) { - class46.aString780 = aStringArray1152[--anInt1170]; - return; - } - if (i == 1307) { - class46.aStringArray833 = null; - return; - } - if (i == 1308) { - class46.anInt695 = anIntArray1149[--anInt1173]; - class46.anInt824 = anIntArray1149[--anInt1173]; - return; - } - if (i == 1309) { - int i_285_ = anIntArray1149[--anInt1173]; - int i_286_ = anIntArray1149[--anInt1173]; - if (i_286_ >= 1 && i_286_ <= 10) class46.method431(i_286_ - 1, i_285_, (byte) -119); - return; - } - if (i == 1310) { - class46.aString816 = aStringArray1152[--anInt1170]; - return; - } - if (i == 1311) { - class46.anInt713 = anIntArray1149[--anInt1173]; - return; - } - if (i == 1312 || i == 1313) { - int i_287_; - int i_288_; - int i_289_; - if (i == 1312) { - anInt1173 -= 3; - i_287_ = anIntArray1149[anInt1173] - 1; - i_288_ = anIntArray1149[anInt1173 + 1]; - i_289_ = anIntArray1149[anInt1173 + 2]; - if (i_287_ < 0 || i_287_ > 9) throw new RuntimeException("IOR13121313"); - } else { - anInt1173 -= 2; - i_287_ = 10; - i_288_ = anIntArray1149[anInt1173]; - i_289_ = anIntArray1149[anInt1173 + 1]; - } - if (class46.aByteArray746 == null) { - if (i_288_ != 0) { - class46.aByteArray746 = new byte[11]; - class46.aByteArray832 = new byte[11]; - class46.anIntArray707 = new int[11]; - } else return; - } - class46.aByteArray746[i_287_] = (byte) i_288_; - if (i_288_ == 0) { - class46.aBoolean676 = false; - for (int i_290_ = 0; i_290_ < class46.aByteArray746.length; i_290_++) { - if (class46.aByteArray746[i_290_] != 0) { - class46.aBoolean676 = true; - break; - } - } - } else class46.aBoolean676 = true; - class46.aByteArray832[i_287_] = (byte) i_289_; - return; - } - if (i == 1314) { - class46.anInt719 = anIntArray1149[--anInt1173]; - return; - } - } else { - if (i >= 1400 && i < 1500 || i >= 2400 && i < 2500) { - Class46 class46; - if (i >= 2000) { - i -= 1000; - class46 = Class324.method2570(1512932720, anIntArray1149[--anInt1173]); - } else class46 = bool ? aClass46_1169 : aClass46_1150; - if (i == 1499) class46.method434(false); - else { - String string = aStringArray1152[--anInt1170]; - int[] is = null; - if (string.length() > 0 && string.charAt(string.length() - 1) == 'Y') { - int i_291_ = anIntArray1149[--anInt1173]; - if (i_291_ > 0) { - is = new int[i_291_]; - while (i_291_-- > 0) is[i_291_] = anIntArray1149[--anInt1173]; - } - string = string.substring(0, string.length() - 1); - } - Object[] objects = new Object[string.length() + 1]; - for (int i_292_ = objects.length - 1; i_292_ >= 1; i_292_--) { - if (string.charAt(i_292_ - 1) == 's') objects[i_292_] = aStringArray1152[--anInt1170]; - else objects[i_292_] = new Integer(anIntArray1149[--anInt1173]); - } - int i_293_ = anIntArray1149[--anInt1173]; - if (i_293_ != -1) objects[0] = new Integer(i_293_); - else objects = null; - if (i == 1400) class46.anObjectArray763 = objects; - else if (i == 1401) class46.anObjectArray805 = objects; - else if (i == 1402) class46.anObjectArray742 = objects; - else if (i == 1403) class46.anObjectArray811 = objects; - else if (i == 1404) class46.anObjectArray683 = objects; - else if (i == 1405) class46.anObjectArray823 = objects; - else if (i == 1406) class46.anObjectArray680 = objects; - else if (i == 1407) { - class46.anObjectArray777 = objects; - class46.anIntArray686 = is; - } else if (i == 1408) class46.anObjectArray764 = objects; - else if (i == 1409) class46.anObjectArray741 = objects; - else if (i == 1410) class46.anObjectArray692 = objects; - else if (i == 1411) class46.anObjectArray785 = objects; - else if (i == 1412) class46.anObjectArray839 = objects; - else if (i == 1414) { - class46.anObjectArray751 = objects; - class46.anIntArray771 = is; - } else if (i == 1415) { - class46.anObjectArray671 = objects; - class46.anIntArray731 = is; - } else if (i == 1416) class46.anObjectArray714 = objects; - else if (i == 1417) class46.anObjectArray803 = objects; - else if (i == 1418) class46.anObjectArray820 = objects; - else if (i == 1419) class46.anObjectArray822 = objects; - else if (i == 1420) class46.anObjectArray734 = objects; - else if (i == 1421) class46.anObjectArray761 = objects; - else if (i == 1422) class46.anObjectArray836 = objects; - else if (i == 1423) class46.anObjectArray840 = objects; - else if (i == 1424) class46.anObjectArray701 = objects; - else if (i == 1425) class46.anObjectArray807 = objects; - else if (i == 1426) class46.anObjectArray687 = objects; - else if (i == 1427) class46.anObjectArray727 = objects; - else if (i == 1428) { - class46.anObjectArray685 = objects; - class46.anIntArray818 = is; - } else if (i == 1429) { - class46.anObjectArray708 = objects; - class46.anIntArray831 = is; - } else if (i == 1430) class46.anObjectArray679 = objects; - class46.aBoolean682 = true; - return; - } - return; - } - if (i < 1600) { - Class46 class46 = bool ? aClass46_1169 : aClass46_1150; - if (i == 1500) { - anIntArray1149[anInt1173++] = class46.anInt800; - return; - } - if (i == 1501) { - anIntArray1149[anInt1173++] = class46.anInt750; - return; - } - if (i == 1502) { - anIntArray1149[anInt1173++] = class46.anInt709; - return; - } - if (i == 1503) { - anIntArray1149[anInt1173++] = class46.anInt789; - return; - } - if (i == 1504) { - anIntArray1149[anInt1173++] = class46.aBoolean813 ? 1 : 0; - return; - } - if (i == 1505) { - anIntArray1149[anInt1173++] = class46.anInt834; - return; - } - if (i == 1506) { - Class46 class46_294_ = Class237.method1687(class46, 3); - anIntArray1149[anInt1173++] = (class46_294_ == null ? -1 : class46_294_.anInt830); - return; - } - } else if (i < 1700) { - Class46 class46 = bool ? aClass46_1169 : aClass46_1150; - if (i == 1600) { - anIntArray1149[anInt1173++] = class46.anInt747; - return; - } - if (i == 1601) { - anIntArray1149[anInt1173++] = class46.anInt755; - return; - } - if (i == 1602) { - aStringArray1152[anInt1170++] = class46.aString792; - return; - } - if (i == 1603) { - anIntArray1149[anInt1173++] = class46.anInt698; - return; - } - if (i == 1604) { - anIntArray1149[anInt1173++] = class46.anInt791; - return; - } - if (i == 1605) { - anIntArray1149[anInt1173++] = class46.anInt716; - return; - } - if (i == 1606) { - anIntArray1149[anInt1173++] = class46.anInt757; - return; - } - if (i == 1607) { - anIntArray1149[anInt1173++] = class46.anInt717; - return; - } - if (i == 1608) { - anIntArray1149[anInt1173++] = class46.anInt675; - return; - } - if (i == 1609) { - anIntArray1149[anInt1173++] = class46.anInt696; - return; - } - if (i == 1610) { - anIntArray1149[anInt1173++] = class46.anInt808; - return; - } - if (i == 1611) { - anIntArray1149[anInt1173++] = class46.anInt786; - return; - } - if (i == 1612) { - anIntArray1149[anInt1173++] = class46.anInt756; - return; - } - if (i == 1613) { - int i_295_ = anIntArray1149[--anInt1173]; - Class254 class254 = Class101_Sub3.aClass326_5764.method2600(i_295_, 28364); - if (class254.method1925(false)) aStringArray1152[anInt1170++] = class46.method429(i_295_, (class254.aString3258), -1); - else { - anIntArray1149[anInt1173++] = class46.method428((class254.anInt3256), i_295_, -126); - return; - } - return; - } - if (i == 1614) { - anIntArray1149[anInt1173++] = class46.anInt828; - return; - } - if (i == 2614) { - anIntArray1149[anInt1173++] = (class46.anInt770 == 1 ? class46.anInt753 : -1); - return; - } - } else if (i < 1800) { - Class46 class46 = bool ? aClass46_1169 : aClass46_1150; - if (i == 1700) { - anIntArray1149[anInt1173++] = class46.anInt812; - return; - } - if (i == 1701) { - if (class46.anInt812 == -1) { - anIntArray1149[anInt1173++] = 0; - return; - } else anIntArray1149[anInt1173++] = class46.anInt781; - return; - } - if (i == 1702) { - anIntArray1149[anInt1173++] = class46.anInt704; - return; - } - } else if (i < 1900) { - Class46 class46 = bool ? aClass46_1169 : aClass46_1150; - if (i == 1800) { - anIntArray1149[anInt1173++] = client.method105(class46).method3307(83); - return; - } - if (i == 1801) { - int i_296_ = anIntArray1149[--anInt1173]; - i_296_--; - if (class46.aStringArray833 == null || i_296_ >= class46.aStringArray833.length || class46.aStringArray833[i_296_] == null) aStringArray1152[anInt1170++] = ""; - else { - aStringArray1152[anInt1170++] = class46.aStringArray833[i_296_]; - return; - } - return; - } - if (i == 1802) { - if (class46.aString752 == null) aStringArray1152[anInt1170++] = ""; - else { - aStringArray1152[anInt1170++] = class46.aString752; - return; - } - return; - } - } else if (i < 2000 || i >= 2900 && i < 3000) { - Class46 class46; - if (i >= 2000) { - class46 = Class324.method2570(1512932720, anIntArray1149[--anInt1173]); - i -= 1000; - } else class46 = bool ? aClass46_1169 : aClass46_1150; - if (anInt1177 >= 10) throw new RuntimeException("C29xx-1"); - if (i == 1927) { - if (class46.anObjectArray727 != null) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); - class348_sub36.aClass46_6989 = class46; - class348_sub36.anObjectArray6987 = class46.anObjectArray727; - class348_sub36.anInt6988 = anInt1177 + 1; - Class348_Sub1_Sub2.aClass262_8810.method1999(class348_sub36, -20180); - return; - } - return; - } - } else if (i < 2600) { - Class46 class46 = Class324.method2570(1512932720, anIntArray1149[--anInt1173]); - if (i == 2500) { - anIntArray1149[anInt1173++] = class46.anInt800; - return; - } - if (i == 2501) { - anIntArray1149[anInt1173++] = class46.anInt750; - return; - } - if (i == 2502) { - anIntArray1149[anInt1173++] = class46.anInt709; - return; - } - if (i == 2503) { - anIntArray1149[anInt1173++] = class46.anInt789; - return; - } - if (i == 2504) { - anIntArray1149[anInt1173++] = class46.aBoolean813 ? 1 : 0; - return; - } - if (i == 2505) { - anIntArray1149[anInt1173++] = class46.anInt834; - return; - } - if (i == 1506) { - Class46 class46_297_ = Class237.method1687(class46, 3); - anIntArray1149[anInt1173++] = (class46_297_ == null ? -1 : class46_297_.anInt830); - return; - } - } else if (i < 2700) { - Class46 class46 = Class324.method2570(1512932720, anIntArray1149[--anInt1173]); - if (i == 2600) { - anIntArray1149[anInt1173++] = class46.anInt747; - return; - } - if (i == 2601) { - anIntArray1149[anInt1173++] = class46.anInt755; - return; - } - if (i == 2602) { - aStringArray1152[anInt1170++] = class46.aString792; - return; - } - if (i == 2603) { - anIntArray1149[anInt1173++] = class46.anInt698; - return; - } - if (i == 2604) { - anIntArray1149[anInt1173++] = class46.anInt791; - return; - } - if (i == 2605) { - anIntArray1149[anInt1173++] = class46.anInt716; - return; - } - if (i == 2606) { - anIntArray1149[anInt1173++] = class46.anInt757; - return; - } - if (i == 2607) { - anIntArray1149[anInt1173++] = class46.anInt717; - return; - } - if (i == 2608) { - anIntArray1149[anInt1173++] = class46.anInt675; - return; - } - if (i == 2609) { - anIntArray1149[anInt1173++] = class46.anInt696; - return; - } - if (i == 2610) { - anIntArray1149[anInt1173++] = class46.anInt808; - return; - } - if (i == 2611) { - anIntArray1149[anInt1173++] = class46.anInt786; - return; - } - if (i == 2612) { - anIntArray1149[anInt1173++] = class46.anInt756; - return; - } - if (i == 2613) { - anIntArray1149[anInt1173++] = class46.anInt828; - return; - } - if (i == 2614) { - anIntArray1149[anInt1173++] = (class46.anInt770 == 1 ? class46.anInt753 : -1); - return; - } - } else if (i < 2800) { - if (i == 2700) { - Class46 class46 = Class324.method2570(1512932720, anIntArray1149[--anInt1173]); - anIntArray1149[anInt1173++] = class46.anInt812; - return; - } - if (i == 2701) { - Class46 class46 = Class324.method2570(1512932720, anIntArray1149[--anInt1173]); - if (class46.anInt812 == -1) { - anIntArray1149[anInt1173++] = 0; - return; - } else anIntArray1149[anInt1173++] = class46.anInt781; - return; - } - if (i == 2702) { - int i_298_ = anIntArray1149[--anInt1173]; - Class348_Sub41 class348_sub41 = ((Class348_Sub41) Class125.aClass356_4915.method3480(i_298_, -6008)); - if (class348_sub41 == null) { - anIntArray1149[anInt1173++] = 0; - return; - } else anIntArray1149[anInt1173++] = 1; - return; - } - if (i == 2703) { - Class46 class46 = Class324.method2570(1512932720, anIntArray1149[--anInt1173]); - if (class46.aClass46Array798 == null) anIntArray1149[anInt1173++] = 0; - else { - int i_299_ = class46.aClass46Array798.length; - for (int i_300_ = 0; (i_300_ < class46.aClass46Array798.length); i_300_++) { - if (class46.aClass46Array798[i_300_] == null) { - i_299_ = i_300_; - break; - } - } - anIntArray1149[anInt1173++] = i_299_; - return; - } - return; - } - if (i == 2704 || i == 2705) { - anInt1173 -= 2; - int i_301_ = anIntArray1149[anInt1173]; - int i_302_ = anIntArray1149[anInt1173 + 1]; - Class348_Sub41 class348_sub41 = ((Class348_Sub41) Class125.aClass356_4915.method3480(i_301_, -6008)); - if (class348_sub41 != null && (class348_sub41.anInt7050 == i_302_)) anIntArray1149[anInt1173++] = 1; - else { - anIntArray1149[anInt1173++] = 0; - return; - } - return; - } - } else if (i < 2900) { - Class46 class46 = Class324.method2570(1512932720, anIntArray1149[--anInt1173]); - if (i == 2800) { - anIntArray1149[anInt1173++] = client.method105(class46).method3307(11); - return; - } - if (i == 2801) { - int i_303_ = anIntArray1149[--anInt1173]; - i_303_--; - if (class46.aStringArray833 == null || i_303_ >= class46.aStringArray833.length || class46.aStringArray833[i_303_] == null) aStringArray1152[anInt1170++] = ""; - else { - aStringArray1152[anInt1170++] = class46.aStringArray833[i_303_]; - return; - } - return; - } - if (i == 2802) { - if (class46.aString752 == null) aStringArray1152[anInt1170++] = ""; - else { - aStringArray1152[anInt1170++] = class46.aString752; - return; - } - return; - } - } else if (i < 3200) { - if (i == 3100) { - String string = aStringArray1152[--anInt1170]; - Class191.method1429(string, 0); - return; - } - if (i == 3101) { - anInt1173 -= 2; - Class11.method222((Class132.aPlayer_1907), anIntArray1149[anInt1173], (byte) 4, anIntArray1149[anInt1173 + 1]); - return; - } - if (i == 3103) { - Class274.method2060((byte) -101, true); - return; - } - if (i == 3104) { - String string = aStringArray1152[--anInt1170]; - int i_304_ = 0; - if (Class50_Sub3.method468(string, 73)) i_304_ = Class348_Sub41.method3156(true, string); - anInt1163++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class348_Sub14.aClass351_6764), (Class348_Sub23_Sub2.aClass77_9029), -112); - class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 102, i_304_); - Class348_Sub42_Sub14.method3243(116, class348_sub47); - return; - } - if (i == 3105) { - String string = aStringArray1152[--anInt1170]; - anInt1162++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148(Class340.aClass351_4225, (Class348_Sub23_Sub2.aClass77_9029), -96); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, string.length() + 1); - class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); - Class348_Sub42_Sub14.method3243(-81, class348_sub47); - return; - } - if (i == 3106) { - String string = aStringArray1152[--anInt1170]; - anInt1153++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class348_Sub40_Sub5.aClass351_9130), (Class348_Sub23_Sub2.aClass77_9029), -93); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, string.length() + 1); - class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); - Class348_Sub42_Sub14.method3243(35, class348_sub47); - return; - } - if (i == 3107) { - int i_305_ = anIntArray1149[--anInt1173]; - String string = aStringArray1152[--anInt1170]; - Class5_Sub3.method201(i_305_, -7257, string); - return; - } - if (i == 3108) { - anInt1173 -= 3; - int i_306_ = anIntArray1149[anInt1173]; - int i_307_ = anIntArray1149[anInt1173 + 1]; - int i_308_ = anIntArray1149[anInt1173 + 2]; - Class46 class46 = Class324.method2570(1512932720, i_308_); - Class100.method887(class46, i_306_, i_307_, 2147483647); - return; - } - if (i == 3109) { - anInt1173 -= 2; - int i_309_ = anIntArray1149[anInt1173]; - int i_310_ = anIntArray1149[anInt1173 + 1]; - Class46 class46 = bool ? aClass46_1169 : aClass46_1150; - Class100.method887(class46, i_309_, i_310_, 2147483647); - return; - } - if (i == 3110) { - int i_311_ = anIntArray1149[--anInt1173]; - anInt1167++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class348_Sub40_Sub12.aClass351_9189), (Class348_Sub23_Sub2.aClass77_9029), -121); - class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_311_); - Class348_Sub42_Sub14.method3243(122, class348_sub47); - return; - } - if (i == 3111) { - anInt1173 -= 2; - int i_312_ = anIntArray1149[anInt1173]; - int i_313_ = anIntArray1149[anInt1173 + 1]; - Class348_Sub41 class348_sub41 = ((Class348_Sub41) Class125.aClass356_4915.method3480(i_312_, -6008)); - if (class348_sub41 != null) Class127_Sub1.method1118((class348_sub41.anInt7050 != i_313_), true, class348_sub41, 2533); - Class338.method2661(i_313_, i_312_, 3, true, 2); - return; - } - if (i == 3112) { - anInt1173--; - int i_314_ = anIntArray1149[anInt1173]; - Class348_Sub41 class348_sub41 = ((Class348_Sub41) Class125.aClass356_4915.method3480(i_314_, -6008)); - if (class348_sub41 != null && class348_sub41.anInt7053 == 3) Class127_Sub1.method1118(true, true, class348_sub41, 2533); - return; - } - if (i == 3113) { - Class239_Sub1.method1721(aStringArray1152[--anInt1170], (byte) -70); - return; - } - if (i == 3114) { - anInt1173 -= 2; - int i_315_ = anIntArray1149[anInt1173]; - int i_316_ = anIntArray1149[anInt1173 + 1]; - String string = aStringArray1152[--anInt1170]; - Class286_Sub2.method2144("", i_315_, (byte) -87, i_316_, string, "", ""); - return; - } - if (i == 3115) { - anInt1173 -= 11; - Class221[] class221s = Class158.method1248(20); - Class341[] class341s = Class62.method596(20000); - Class272.method2051(anIntArray1149[anInt1173 + 9], anIntArray1149[anInt1173 + 5], class221s[anIntArray1149[anInt1173]], (class341s[anIntArray1149[anInt1173 + 1]]), anIntArray1149[anInt1173 + 7], anIntArray1149[anInt1173 + 6], anIntArray1149[anInt1173 + 4], (byte) 111, anIntArray1149[anInt1173 + 10], anIntArray1149[anInt1173 + 2], anIntArray1149[anInt1173 + 3], anIntArray1149[anInt1173 + 8]); - return; - } - } else if (i < 3300) { - if (i == 3200) { - anInt1173 -= 3; - Class348_Sub20.method2947(true, 255, anIntArray1149[anInt1173], anIntArray1149[anInt1173 + 1], anIntArray1149[anInt1173 + 2], 256); - return; - } - if (i == 3201) { - Class151.method1212(255, anIntArray1149[--anInt1173], -1, 50); - return; - } - if (i == 3202) { - anInt1173 -= 2; - Class177.method1352(anIntArray1149[anInt1173], 255, anIntArray1149[anInt1173 + 1], (byte) -98); - return; - } - if (i == 3203) { - anInt1173 -= 4; - Class348_Sub20.method2947(true, anIntArray1149[anInt1173 + 3], anIntArray1149[anInt1173], anIntArray1149[anInt1173 + 1], anIntArray1149[anInt1173 + 2], 256); - return; - } - if (i == 3204) { - anInt1173 -= 3; - Class151.method1212(anIntArray1149[anInt1173 + 1], anIntArray1149[anInt1173], -1, anIntArray1149[anInt1173 + 2]); - return; - } - if (i == 3205) { - anInt1173 -= 3; - Class177.method1352(anIntArray1149[anInt1173], anIntArray1149[anInt1173 + 2], anIntArray1149[anInt1173 + 1], (byte) -98); - return; - } - if (i == 3206) { - anInt1173 -= 4; - Class279.method2090(anIntArray1149[anInt1173 + 1], 256, false, (byte) -35, anIntArray1149[anInt1173 + 3], anIntArray1149[anInt1173 + 2], anIntArray1149[anInt1173]); - return; - } - if (i == 3207) { - anInt1173 -= 4; - Class279.method2090(anIntArray1149[anInt1173 + 1], 256, true, (byte) -35, anIntArray1149[anInt1173 + 3], anIntArray1149[anInt1173 + 2], anIntArray1149[anInt1173]); - return; - } - if (i == 3208) { - anInt1173 -= 5; - Class348_Sub20.method2947(true, anIntArray1149[anInt1173 + 3], anIntArray1149[anInt1173], anIntArray1149[anInt1173 + 1], anIntArray1149[anInt1173 + 2], anIntArray1149[anInt1173 + 4]); - return; - } - if (i == 3209) { - anInt1173 -= 5; - Class279.method2090(anIntArray1149[anInt1173 + 1], anIntArray1149[anInt1173 + 4], false, (byte) -35, anIntArray1149[anInt1173 + 3], anIntArray1149[anInt1173 + 2], anIntArray1149[anInt1173]); - return; - } - } else if (i < 3400) { - if (i == 3300) { - anIntArray1149[anInt1173++] = Class367_Sub11.anInt7396; - return; - } - if (i == 3301) { - anInt1173 -= 2; - int i_317_ = anIntArray1149[anInt1173]; - int i_318_ = anIntArray1149[anInt1173 + 1]; - anIntArray1149[anInt1173++] = Class322.method2552(false, i_317_, i_318_, -24667); - return; - } - if (i == 3302) { - anInt1173 -= 2; - int i_319_ = anIntArray1149[anInt1173]; - int i_320_ = anIntArray1149[anInt1173 + 1]; - anIntArray1149[anInt1173++] = Class240.method1854(71, i_319_, false, i_320_); - return; - } - if (i == 3303) { - anInt1173 -= 2; - int i_321_ = anIntArray1149[anInt1173]; - int i_322_ = anIntArray1149[anInt1173 + 1]; - anIntArray1149[anInt1173++] = Class58.method532(i_322_, i_321_, false, -126); - return; - } - if (i == 3304) { - int i_323_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = (Class127_Sub1.aClass271_8378.method2044(106, i_323_).anInt9542); - return; - } - if (i == 3305) { - int i_324_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = Class161.anIntArray2145[i_324_]; - return; - } - if (i == 3306) { - int i_325_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = Class256.anIntArray3295[i_325_]; - return; - } - if (i == 3307) { - int i_326_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = Class186.anIntArray2497[i_326_]; - return; - } - if (i == 3308) { - int i_327_ = (Class132.aPlayer_1907.plane); - int i_328_ = (((Class132.aPlayer_1907.x) >> 9) + za_Sub2.regionTileX); - int i_329_ = (((Class132.aPlayer_1907.y) >> 9) + Class90.regionTileY); - anIntArray1149[anInt1173++] = (i_327_ << 28) + (i_328_ << 14) + i_329_; - return; - } - if (i == 3309) { - int i_330_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = i_330_ >> 14 & 0x3fff; - return; - } - if (i == 3310) { - int i_331_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = i_331_ >> 28; - return; - } - if (i == 3311) { - int i_332_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = i_332_ & 0x3fff; - return; - } - if (i == 3312) { - anIntArray1149[anInt1173++] = Class130.aBoolean1900 ? 1 : 0; - return; - } - if (i == 3313) { - anInt1173 -= 2; - int i_333_ = anIntArray1149[anInt1173]; - int i_334_ = anIntArray1149[anInt1173 + 1]; - anIntArray1149[anInt1173++] = Class322.method2552(true, i_333_, i_334_, -24667); - return; - } - if (i == 3314) { - anInt1173 -= 2; - int i_335_ = anIntArray1149[anInt1173]; - int i_336_ = anIntArray1149[anInt1173 + 1]; - anIntArray1149[anInt1173++] = Class240.method1854(103, i_335_, true, i_336_); - return; - } - if (i == 3315) { - anInt1173 -= 2; - int i_337_ = anIntArray1149[anInt1173]; - int i_338_ = anIntArray1149[anInt1173 + 1]; - anIntArray1149[anInt1173++] = Class58.method532(i_338_, i_337_, true, 126); - return; - } - if (i == 3316) { - if (Class192.anInt2581 >= 2) anIntArray1149[anInt1173++] = Class192.anInt2581; - else { - anIntArray1149[anInt1173++] = 0; - return; - } - return; - } - if (i == 3317) { - anIntArray1149[anInt1173++] = Class289.anInt3699; - return; - } - if (i == 3318) { - anIntArray1149[anInt1173++] = Class3.aClass161_125.anInt2143; - return; - } - if (i == 3321) { - anIntArray1149[anInt1173++] = Class309.anInt4816; - return; - } - if (i == 3322) { - anIntArray1149[anInt1173++] = Class128.anInt1872; - return; - } - if (i == 3323) { - if (Class125.anInt4919 >= 5 && Class125.anInt4919 <= 9) anIntArray1149[anInt1173++] = 1; - else { - anIntArray1149[anInt1173++] = 0; - return; - } - return; - } - if (i == 3324) { - if (Class125.anInt4919 >= 5 && Class125.anInt4919 <= 9) anIntArray1149[anInt1173++] = Class125.anInt4919; - else { - anIntArray1149[anInt1173++] = 0; - return; - } - return; - } - if (i == 3325) { - anIntArray1149[anInt1173++] = Class206.aBoolean4888 ? 1 : 0; - return; - } - if (i == 3326) { - anIntArray1149[anInt1173++] = (Class132.aPlayer_1907.anInt10516); - return; - } - if (i == 3327) { - anIntArray1149[anInt1173++] = ((Class132.aPlayer_1907.aClass154_10536) != null && Class132.aPlayer_1907.aClass154_10536.aBoolean2100) ? 1 : 0; - return; - } - if (i == 3329) { - anIntArray1149[anInt1173++] = Class50_Sub2.aBoolean5233 ? 1 : 0; - return; - } - if (i == 3330) { - int i_339_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = Class307.method2301((byte) 35, i_339_, false); - return; - } - if (i == 3331) { - anInt1173 -= 2; - int i_340_ = anIntArray1149[anInt1173]; - int i_341_ = anIntArray1149[anInt1173 + 1]; - anIntArray1149[anInt1173++] = Class61.method592(false, (byte) -128, false, i_340_, i_341_); - return; - } - if (i == 3332) { - anInt1173 -= 2; - int i_342_ = anIntArray1149[anInt1173]; - int i_343_ = anIntArray1149[anInt1173 + 1]; - anIntArray1149[anInt1173++] = Class61.method592(true, (byte) -128, false, i_342_, i_343_); - return; - } - if (i == 3333) { - anIntArray1149[anInt1173++] = RuntimeException_Sub1.anInt4596; - return; - } - if (i == 3335) { - anIntArray1149[anInt1173++] = Class348_Sub33.anInt6967; - return; - } - if (i == 3336) { - anInt1173 -= 4; - int i_344_ = anIntArray1149[anInt1173]; - int i_345_ = anIntArray1149[anInt1173 + 1]; - int i_346_ = anIntArray1149[anInt1173 + 2]; - int i_347_ = anIntArray1149[anInt1173 + 3]; - i_344_ += i_345_ << 14; - i_344_ += i_346_ << 28; - i_344_ += i_347_; - anIntArray1149[anInt1173++] = i_344_; - return; - } - if (i == 3337) { - anIntArray1149[anInt1173++] = Class202.anInt2670; - return; - } - if (i == 3338) { - anIntArray1149[anInt1173++] = Class284.method2116(-26584); - return; - } - if (i == 3339) { - anIntArray1149[anInt1173++] = 0; - return; - } - if (i == 3340) { - anIntArray1149[anInt1173++] = Class175.aBoolean2329 ? 1 : 0; - return; - } - if (i == 3341) { - anIntArray1149[anInt1173++] = Class375.aBoolean4540 ? 1 : 0; - return; - } - if (i == 3342) { - anIntArray1149[anInt1173++] = Class258_Sub4.aClass373_8552.method3597(true); - return; - } - if (i == 3343) { - anIntArray1149[anInt1173++] = Class258_Sub4.aClass373_8552.method3594((byte) 127); - return; - } - if (i == 3344) { - aStringArray1152[anInt1170++] = Class314_Sub1.method2347((byte) -119); - return; - } - if (i == 3345) { - aStringArray1152[anInt1170++] = Class10.method217((byte) 112); - return; - } - if (i == 3346) { - anIntArray1149[anInt1173++] = Class318_Sub1_Sub5_Sub1.method2489((byte) -106); - return; - } - if (i == 3347) { - anIntArray1149[anInt1173++] = Class337.anInt4179; - return; - } - if (i == 3349) { - anIntArray1149[anInt1173++] = Class132.aPlayer_1907.aClass264_10217.method2019((byte) -31) >> 3; - return; - } - if (i == 3351) { - anIntArray1149[anInt1173++] = Class258_Sub4.aClass373_8552.method3595(-83) ? 1 : 0; - anIntArray1149[anInt1173++] = Class258_Sub4.aClass373_8552.method3588(-121) ? 1 : 0; - anIntArray1149[anInt1173++] = Class258_Sub4.aClass373_8552.method3590((byte) 125) ? 1 : 0; - return; - } - } else if (i < 3500) { - if (i == 3400) { - anInt1173 -= 2; - int i_348_ = anIntArray1149[anInt1173]; - int i_349_ = anIntArray1149[anInt1173 + 1]; - Class117 class117 = Class348_Sub7.aClass33_6653.method337(true, i_348_); - aStringArray1152[anInt1170++] = class117.method1074(i_349_, 124); - return; - } - if (i == 3408) { - anInt1173 -= 4; - int i_350_ = anIntArray1149[anInt1173]; - int i_351_ = anIntArray1149[anInt1173 + 1]; - int i_352_ = anIntArray1149[anInt1173 + 2]; - int i_353_ = anIntArray1149[anInt1173 + 3]; - Class117 class117 = Class348_Sub7.aClass33_6653.method337(true, i_352_); - if (class117.aChar1778 != i_350_ || class117.aChar1779 != i_351_) throw new RuntimeException("C3408-1 " + i_352_ + "-" + i_353_); - if (i_351_ == 115) aStringArray1152[anInt1170++] = class117.method1074(i_353_, 119); - else { - anIntArray1149[anInt1173++] = class117.method1073(false, i_353_); - return; - } - return; - } - if (i == 3409) { - anInt1173 -= 3; - int i_354_ = anIntArray1149[anInt1173]; - int i_355_ = anIntArray1149[anInt1173 + 1]; - int i_356_ = anIntArray1149[anInt1173 + 2]; - if (i_355_ == -1) throw new RuntimeException("C3409-2"); - Class117 class117 = Class348_Sub7.aClass33_6653.method337(true, i_355_); - if (class117.aChar1779 != i_354_) throw new RuntimeException("C3409-1"); - anIntArray1149[anInt1173++] = class117.method1067(true, i_356_) ? 1 : 0; - return; - } - if (i == 3410) { - int i_357_ = anIntArray1149[--anInt1173]; - String string = aStringArray1152[--anInt1170]; - if (i_357_ == -1) throw new RuntimeException("C3410-2"); - Class117 class117 = Class348_Sub7.aClass33_6653.method337(true, i_357_); - if (class117.aChar1779 != 's') throw new RuntimeException("C3410-1"); - anIntArray1149[anInt1173++] = class117.method1066(false, string) ? 1 : 0; - return; - } - if (i == 3411) { - int i_358_ = anIntArray1149[--anInt1173]; - Class117 class117 = Class348_Sub7.aClass33_6653.method337(true, i_358_); - anIntArray1149[anInt1173++] = class117.aClass356_1767.method3474(1); - return; - } - } else if (i < 3700) { - if (i == 3600) { - if (Class125.anInt4930 == 0) anIntArray1149[anInt1173++] = -2; - else { - if (Class125.anInt4930 == 1) anIntArray1149[anInt1173++] = -1; - else { - anIntArray1149[anInt1173++] = Class348_Sub40_Sub30.anInt9383; - return; - } - return; - } - return; - } - if (i == 3601) { - int i_359_ = anIntArray1149[--anInt1173]; - if (Class125.anInt4930 == 2 && i_359_ < Class348_Sub40_Sub30.anInt9383) { - aStringArray1152[anInt1170++] = Class83.aStringArray1441[i_359_]; - if (Class286_Sub2.aStringArray6205[i_359_] != null) aStringArray1152[anInt1170++] = Class286_Sub2.aStringArray6205[i_359_]; - else aStringArray1152[anInt1170++] = ""; - } else { - aStringArray1152[anInt1170++] = ""; - aStringArray1152[anInt1170++] = ""; - return; - } - return; - } - if (i == 3602) { - int i_360_ = anIntArray1149[--anInt1173]; - if (Class125.anInt4930 == 2 && i_360_ < Class348_Sub40_Sub30.anInt9383) anIntArray1149[anInt1173++] = ha.anIntArray4578[i_360_]; - else { - anIntArray1149[anInt1173++] = 0; - return; - } - return; - } - if (i == 3603) { - int i_361_ = anIntArray1149[--anInt1173]; - if (Class125.anInt4930 == 2 && i_361_ < Class348_Sub40_Sub30.anInt9383) anIntArray1149[anInt1173++] = Class172.anIntArray2280[i_361_]; - else { - anIntArray1149[anInt1173++] = 0; - return; - } - return; - } - if (i == 3604) { - String string = aStringArray1152[--anInt1170]; - int i_362_ = anIntArray1149[--anInt1173]; - Class261.method1982(16, i_362_, string); - return; - } - if (i == 3605) { - String string = aStringArray1152[--anInt1170]; - Class348_Sub40_Sub30.method3128(-81, string); - return; - } - if (i == 3606) { - String string = aStringArray1152[--anInt1170]; - Class286_Sub7.method2165(true, string); - return; - } - if (i == 3607) { - String string = aStringArray1152[--anInt1170]; - Class27.method317(string, 117, false); - return; - } - if (i == 3608) { - String string = aStringArray1152[--anInt1170]; - Class367_Sub2.method3538(true, string); - return; - } - if (i == 3609) { - String string = aStringArray1152[--anInt1170]; - if (string.startsWith("") || string.startsWith("")) string = string.substring(7); - anIntArray1149[anInt1173++] = (Class348_Sub11.method2797(string, (byte) -63) ? 1 : 0); - return; - } - if (i == 3610) { - int i_363_ = anIntArray1149[--anInt1173]; - if (Class125.anInt4930 == 2 && i_363_ < Class348_Sub40_Sub30.anInt9383) aStringArray1152[anInt1170++] = Class285.aStringArray4744[i_363_]; - else { - aStringArray1152[anInt1170++] = ""; - return; - } - return; - } - if (i == 3611) { - if (Class50.aString863 == null) { - aStringArray1152[anInt1170++] = ""; - return; - } else aStringArray1152[anInt1170++] = Class157.method1245(Class50.aString863, false); - return; - } - if (i == 3612) { - if (Class50.aString863 == null) { - anIntArray1149[anInt1173++] = 0; - return; - } else anIntArray1149[anInt1173++] = Class37.anInt496; - return; - } - if (i == 3613) { - int i_364_ = anIntArray1149[--anInt1173]; - if (Class50.aString863 != null && i_364_ < Class37.anInt496) aStringArray1152[anInt1170++] = (Class169.aClass19Array2261[i_364_].aString314); - else { - aStringArray1152[anInt1170++] = ""; - return; - } - return; - } - if (i == 3614) { - int i_365_ = anIntArray1149[--anInt1173]; - if (Class50.aString863 != null && i_365_ < Class37.anInt496) anIntArray1149[anInt1173++] = (Class169.aClass19Array2261[i_365_].anInt308); - else { - anIntArray1149[anInt1173++] = 0; - return; - } - return; - } - if (i == 3615) { - int i_366_ = anIntArray1149[--anInt1173]; - if (Class50.aString863 != null && i_366_ < Class37.anInt496) anIntArray1149[anInt1173++] = (Class169.aClass19Array2261[i_366_].aByte310); - else { - anIntArray1149[anInt1173++] = 0; - return; - } - return; - } - if (i == 3616) { - anIntArray1149[anInt1173++] = Class219.aByte2871; - return; - } - if (i == 3617) { - String string = aStringArray1152[--anInt1170]; - Class306.method2298((byte) -117, string); - return; - } - if (i == 3618) { - anIntArray1149[anInt1173++] = Class119_Sub1.aByte4702; - return; - } - if (i == 3619) { - String string = aStringArray1152[--anInt1170]; - Class318_Sub1_Sub1_Sub1.method2399(string, -117); - return; - } - if (i == 3620) { - Class242.method1867(77); - return; - } - if (i == 3621) { - if (Class125.anInt4930 == 0) anIntArray1149[anInt1173++] = -1; - else { - anIntArray1149[anInt1173++] = Class348_Sub42_Sub12.anInt9604; - return; - } - return; - } - if (i == 3622) { - int i_367_ = anIntArray1149[--anInt1173]; - if (Class125.anInt4930 != 0 && i_367_ < Class348_Sub42_Sub12.anInt9604) { - aStringArray1152[anInt1170++] = Class51.aStringArray932[i_367_]; - if (Class348_Sub40_Sub21.aStringArray9275[i_367_] != null) aStringArray1152[anInt1170++] = (Class348_Sub40_Sub21.aStringArray9275[i_367_]); - else aStringArray1152[anInt1170++] = ""; - } else { - aStringArray1152[anInt1170++] = ""; - aStringArray1152[anInt1170++] = ""; - return; - } - return; - } - if (i == 3623) { - String string = aStringArray1152[--anInt1170]; - if (string.startsWith("") || string.startsWith("")) string = string.substring(7); - anIntArray1149[anInt1173++] = Class351.method3455(string, 28280) ? 1 : 0; - return; - } - if (i == 3624) { - int i_368_ = anIntArray1149[--anInt1173]; - if (Class169.aClass19Array2261 != null && i_368_ < Class37.anInt496 && (Class169.aClass19Array2261[i_368_].aString306.equalsIgnoreCase(Class132.aPlayer_1907.aString10544))) anIntArray1149[anInt1173++] = 1; - else { - anIntArray1149[anInt1173++] = 0; - return; - } - return; - } - if (i == 3625) { - if (Class348_Sub21.aString6854 == null) { - aStringArray1152[anInt1170++] = ""; - return; - } else aStringArray1152[anInt1170++] = Class348_Sub21.aString6854; - return; - } - if (i == 3626) { - int i_369_ = anIntArray1149[--anInt1173]; - if (Class50.aString863 != null && i_369_ < Class37.anInt496) aStringArray1152[anInt1170++] = (Class169.aClass19Array2261[i_369_].aString313); - else { - aStringArray1152[anInt1170++] = ""; - return; - } - return; - } - if (i == 3627) { - int i_370_ = anIntArray1149[--anInt1173]; - if (Class125.anInt4930 == 2 && i_370_ >= 0 && i_370_ < Class348_Sub40_Sub30.anInt9383) anIntArray1149[anInt1173++] = Class122.aBooleanArray1806[i_370_] ? 1 : 0; - else { - anIntArray1149[anInt1173++] = 0; - return; - } - return; - } - if (i == 3628) { - String string = aStringArray1152[--anInt1170]; - if (string.startsWith("") || string.startsWith("")) string = string.substring(7); - anIntArray1149[anInt1173++] = Class300.method2274(string, -91); - return; - } - if (i == 3629) { - anIntArray1149[anInt1173++] = ha.anInt4583; - return; - } - if (i == 3630) { - String string = aStringArray1152[--anInt1170]; - Class27.method317(string, 119, true); - return; - } - if (i == 3631) { - int i_371_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = Class367_Sub3.aBooleanArray7304[i_371_] ? 1 : 0; - return; - } - if (i == 3632) { - int i_372_ = anIntArray1149[--anInt1173]; - if (Class50.aString863 != null && i_372_ < Class37.anInt496) aStringArray1152[anInt1170++] = (Class169.aClass19Array2261[i_372_].aString306); - else { - aStringArray1152[anInt1170++] = ""; - return; - } - return; - } - if (i == 3633) { - int i_373_ = anIntArray1149[--anInt1173]; - if (Class125.anInt4930 != 0 && i_373_ < Class348_Sub42_Sub12.anInt9604) aStringArray1152[anInt1170++] = Class122.aStringArray1808[i_373_]; - else { - aStringArray1152[anInt1170++] = ""; - return; - } - return; - } - } else if (i < 4000) { - if (i == 3903) { - int i_374_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = Class239_Sub26.aClass54Array6114[i_374_].method499(21110); - return; - } - if (i == 3904) { - int i_375_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = (Class239_Sub26.aClass54Array6114[i_375_].anInt969); - return; - } - if (i == 3905) { - int i_376_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = (Class239_Sub26.aClass54Array6114[i_376_].anInt976); - return; - } - if (i == 3906) { - int i_377_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = (Class239_Sub26.aClass54Array6114[i_377_].anInt967); - return; - } - if (i == 3907) { - int i_378_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = (Class239_Sub26.aClass54Array6114[i_378_].anInt977); - return; - } - if (i == 3908) { - int i_379_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = (Class239_Sub26.aClass54Array6114[i_379_].anInt973); - return; - } - if (i == 3910) { - int i_380_ = anIntArray1149[--anInt1173]; - int i_381_ = Class239_Sub26.aClass54Array6114[i_380_].method502((byte) 100); - anIntArray1149[anInt1173++] = i_381_ == 0 ? 1 : 0; - return; - } - if (i == 3911) { - int i_382_ = anIntArray1149[--anInt1173]; - int i_383_ = Class239_Sub26.aClass54Array6114[i_382_].method502((byte) 118); - anIntArray1149[anInt1173++] = i_383_ == 2 ? 1 : 0; - return; - } - if (i == 3912) { - int i_384_ = anIntArray1149[--anInt1173]; - int i_385_ = Class239_Sub26.aClass54Array6114[i_384_].method502((byte) -100); - anIntArray1149[anInt1173++] = i_385_ == 5 ? 1 : 0; - return; - } - if (i == 3913) { - int i_386_ = anIntArray1149[--anInt1173]; - int i_387_ = Class239_Sub26.aClass54Array6114[i_386_].method502((byte) 55); - anIntArray1149[anInt1173++] = i_387_ == 1 ? 1 : 0; - return; - } - } else if (i < 4100) { - if (i == 4000) { - anInt1173 -= 2; - int i_388_ = anIntArray1149[anInt1173]; - int i_389_ = anIntArray1149[anInt1173 + 1]; - anIntArray1149[anInt1173++] = i_388_ + i_389_; - return; - } - if (i == 4001) { - anInt1173 -= 2; - int i_390_ = anIntArray1149[anInt1173]; - int i_391_ = anIntArray1149[anInt1173 + 1]; - anIntArray1149[anInt1173++] = i_390_ - i_391_; - return; - } - if (i == 4002) { - anInt1173 -= 2; - int i_392_ = anIntArray1149[anInt1173]; - int i_393_ = anIntArray1149[anInt1173 + 1]; - anIntArray1149[anInt1173++] = i_392_ * i_393_; - return; - } - if (i == 4003) { - anInt1173 -= 2; - int i_394_ = anIntArray1149[anInt1173]; - int i_395_ = anIntArray1149[anInt1173 + 1]; - anIntArray1149[anInt1173++] = i_394_ / i_395_; - return; - } - if (i == 4004) { - int i_396_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = (int) (Math.random() * (double) i_396_); - return; - } - if (i == 4005) { - int i_397_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = (int) (Math.random() * (double) (i_397_ + 1)); - return; - } - if (i == 4006) { - anInt1173 -= 5; - int i_398_ = anIntArray1149[anInt1173]; - int i_399_ = anIntArray1149[anInt1173 + 1]; - int i_400_ = anIntArray1149[anInt1173 + 2]; - int i_401_ = anIntArray1149[anInt1173 + 3]; - int i_402_ = anIntArray1149[anInt1173 + 4]; - anIntArray1149[anInt1173++] = i_398_ + ((i_399_ - i_398_) * (i_402_ - i_400_) / (i_401_ - i_400_)); - return; - } - if (i == 4007) { - anInt1173 -= 2; - long l = anIntArray1149[anInt1173]; - long l_403_ = anIntArray1149[anInt1173 + 1]; - anIntArray1149[anInt1173++] = (int) (l + l * l_403_ / 100L); - return; - } - if (i == 4008) { - anInt1173 -= 2; - int i_404_ = anIntArray1149[anInt1173]; - int i_405_ = anIntArray1149[anInt1173 + 1]; - anIntArray1149[anInt1173++] = i_404_ | 1 << i_405_; - return; - } - if (i == 4009) { - anInt1173 -= 2; - int i_406_ = anIntArray1149[anInt1173]; - int i_407_ = anIntArray1149[anInt1173 + 1]; - anIntArray1149[anInt1173++] = i_406_ & -1 - (1 << i_407_); - return; - } - if (i == 4010) { - anInt1173 -= 2; - int i_408_ = anIntArray1149[anInt1173]; - int i_409_ = anIntArray1149[anInt1173 + 1]; - anIntArray1149[anInt1173++] = (i_408_ & 1 << i_409_) != 0 ? 1 : 0; - return; - } - if (i == 4011) { - anInt1173 -= 2; - int i_410_ = anIntArray1149[anInt1173]; - int i_411_ = anIntArray1149[anInt1173 + 1]; - anIntArray1149[anInt1173++] = i_410_ % i_411_; - return; - } - if (i == 4012) { - anInt1173 -= 2; - int i_412_ = anIntArray1149[anInt1173]; - int i_413_ = anIntArray1149[anInt1173 + 1]; - if (i_412_ == 0) anIntArray1149[anInt1173++] = 0; - else { - anIntArray1149[anInt1173++] = (int) Math.pow(i_412_, i_413_); - return; - } - return; - } - if (i == 4013) { - anInt1173 -= 2; - int i_414_ = anIntArray1149[anInt1173]; - int i_415_ = anIntArray1149[anInt1173 + 1]; - if (i_414_ == 0) anIntArray1149[anInt1173++] = 0; - else { - if (i_415_ == 0) anIntArray1149[anInt1173++] = 2147483647; - else { - anIntArray1149[anInt1173++] = (int) Math.pow(i_414_, 1.0 / (double) i_415_); - return; - } - return; - } - return; - } - if (i == 4014) { - anInt1173 -= 2; - int i_416_ = anIntArray1149[anInt1173]; - int i_417_ = anIntArray1149[anInt1173 + 1]; - anIntArray1149[anInt1173++] = i_416_ & i_417_; - return; - } - if (i == 4015) { - anInt1173 -= 2; - int i_418_ = anIntArray1149[anInt1173]; - int i_419_ = anIntArray1149[anInt1173 + 1]; - anIntArray1149[anInt1173++] = i_418_ | i_419_; - return; - } - if (i == 4016) { - anInt1173 -= 2; - int i_420_ = anIntArray1149[anInt1173]; - int i_421_ = anIntArray1149[anInt1173 + 1]; - anIntArray1149[anInt1173++] = Math.min(i_420_, i_421_); - return; - } - if (i == 4017) { - anInt1173 -= 2; - int i_422_ = anIntArray1149[anInt1173]; - int i_423_ = anIntArray1149[anInt1173 + 1]; - anIntArray1149[anInt1173++] = Math.max(i_422_, i_423_); - return; - } - if (i == 4018) { - anInt1173 -= 3; - long l = anIntArray1149[anInt1173]; - long l_424_ = anIntArray1149[anInt1173 + 1]; - long l_425_ = anIntArray1149[anInt1173 + 2]; - anIntArray1149[anInt1173++] = (int) (l * l_425_ / l_424_); - return; - } - if (i == 4019) { - anInt1173 -= 2; - int i_426_ = anIntArray1149[anInt1173]; - int i_427_ = anIntArray1149[anInt1173 + 1]; - if (i_426_ > 700 || i_427_ > 700) anIntArray1149[anInt1173++] = 256; - double d = ((Math.random() * (double) (i_427_ + i_426_) - (double) i_426_ + 800.0) / 100.0); - anIntArray1149[anInt1173++] = (int) (Math.pow(2.0, d) + 0.5); - return; - } - } else if (i < 4200) { - if (i == 4100) { - String string = aStringArray1152[--anInt1170]; - int i_428_ = anIntArray1149[--anInt1173]; - aStringArray1152[anInt1170++] = string + i_428_; - return; - } - if (i == 4101) { - anInt1170 -= 2; - String string = aStringArray1152[anInt1170]; - String string_429_ = aStringArray1152[anInt1170 + 1]; - aStringArray1152[anInt1170++] = string + string_429_; - return; - } - if (i == 4102) { - String string = aStringArray1152[--anInt1170]; - int i_430_ = anIntArray1149[--anInt1173]; - aStringArray1152[anInt1170++] = string + Class140.method1171(i_430_, 76, true); - return; - } - if (i == 4103) { - String string = aStringArray1152[--anInt1170]; - aStringArray1152[anInt1170++] = string.toLowerCase(); - return; - } - if (i == 4104) { - aStringArray1152[anInt1170++] = method709(anIntArray1149[--anInt1173]); - return; - } - if (i == 4105) { - anInt1170 -= 2; - String string = aStringArray1152[anInt1170]; - String string_431_ = aStringArray1152[anInt1170 + 1]; - if ((Class132.aPlayer_1907.aClass154_10536) != null && Class132.aPlayer_1907.aClass154_10536.aBoolean2100) aStringArray1152[anInt1170++] = string_431_; - else { - aStringArray1152[anInt1170++] = string; - return; - } - return; - } - if (i == 4106) { - int i_432_ = anIntArray1149[--anInt1173]; - aStringArray1152[anInt1170++] = Integer.toString(i_432_); - return; - } - if (i == 4107) { - anInt1170 -= 2; - anIntArray1149[anInt1173++] = Class239_Sub21.method1811(9152, (aStringArray1152[anInt1170 + 1]), Class348_Sub33.anInt6967, (aStringArray1152[anInt1170])); - return; - } - if (i == 4108) { - String string = aStringArray1152[--anInt1170]; - anInt1173 -= 2; - int i_433_ = anIntArray1149[anInt1173]; - int i_434_ = anIntArray1149[anInt1173 + 1]; - Class143 class143 = Class239_Sub23.method1819(i_434_, 0, -123, Class104.aClass45_1627); - anIntArray1149[anInt1173++] = class143.method1190(Class113.aClass105Array1744, 1, string, i_433_); - return; - } - if (i == 4109) { - String string = aStringArray1152[--anInt1170]; - anInt1173 -= 2; - int i_435_ = anIntArray1149[anInt1173]; - int i_436_ = anIntArray1149[anInt1173 + 1]; - Class143 class143 = Class239_Sub23.method1819(i_436_, 0, -79, Class104.aClass45_1627); - anIntArray1149[anInt1173++] = class143.method1187(string, false, i_435_, Class113.aClass105Array1744); - return; - } - if (i == 4110) { - anInt1170 -= 2; - String string = aStringArray1152[anInt1170]; - String string_437_ = aStringArray1152[anInt1170 + 1]; - if (anIntArray1149[--anInt1173] == 1) aStringArray1152[anInt1170++] = string; - else { - aStringArray1152[anInt1170++] = string_437_; - return; - } - return; - } - if (i == 4111) { - String string = aStringArray1152[--anInt1170]; - aStringArray1152[anInt1170++] = Class59_Sub2_Sub2.method572(string, 23034); - return; - } - if (i == 4112) { - String string = aStringArray1152[--anInt1170]; - int i_438_ = anIntArray1149[--anInt1173]; - if (i_438_ == -1) throw new RuntimeException("null char"); - aStringArray1152[anInt1170++] = string + (char) i_438_; - return; - } - if (i == 4113) { - int i_439_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = method708((char) i_439_); - return; - } - if (i == 4114) { - int i_440_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = Npc.method2446((char) i_440_, (byte) 105) ? 1 : 0; - return; - } - if (i == 4115) { - int i_441_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = Class215.method1581(-93, (char) i_441_) ? 1 : 0; - return; - } - if (i == 4116) { - int i_442_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = Class334.method2647(true, (char) i_442_) ? 1 : 0; - return; - } - if (i == 4117) { - String string = aStringArray1152[--anInt1170]; - if (string == null) { - anIntArray1149[anInt1173++] = 0; - return; - } else anIntArray1149[anInt1173++] = string.length(); - return; - } - if (i == 4118) { - String string = aStringArray1152[--anInt1170]; - anInt1173 -= 2; - int i_443_ = anIntArray1149[anInt1173]; - int i_444_ = anIntArray1149[anInt1173 + 1]; - aStringArray1152[anInt1170++] = string.substring(i_443_, i_444_); - return; - } - if (i == 4119) { - String string = aStringArray1152[--anInt1170]; - StringBuffer stringbuffer = new StringBuffer(string.length()); - boolean bool_445_ = false; - for (int i_446_ = 0; i_446_ < string.length(); i_446_++) { - char c = string.charAt(i_446_); - if (c == '<') bool_445_ = true; - else if (c == '>') bool_445_ = false; - else if (!bool_445_) stringbuffer.append(c); - } - aStringArray1152[anInt1170++] = stringbuffer.toString(); - return; - } - if (i == 4120) { - String string = aStringArray1152[--anInt1170]; - anInt1173 -= 2; - int i_447_ = anIntArray1149[anInt1173]; - int i_448_ = anIntArray1149[anInt1173 + 1]; - anIntArray1149[anInt1173++] = string.indexOf(i_447_, i_448_); - return; - } - if (i == 4121) { - anInt1170 -= 2; - String string = aStringArray1152[anInt1170]; - String string_449_ = aStringArray1152[anInt1170 + 1]; - int i_450_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = string.indexOf(string_449_, i_450_); - return; - } - if (i == 4122) { - int i_451_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = Character.toLowerCase((char) i_451_); - return; - } - if (i == 4123) { - int i_452_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = Character.toUpperCase((char) i_452_); - return; - } - if (i == 4124) { - boolean bool_453_ = anIntArray1149[--anInt1173] != 0; - int i_454_ = anIntArray1149[--anInt1173]; - aStringArray1152[anInt1170++] = Class357.method3486(0, bool_453_, Class348_Sub33.anInt6967, i_454_, 16980); - return; - } - if (i == 4125) { - String string = aStringArray1152[--anInt1170]; - int i_455_ = anIntArray1149[--anInt1173]; - Class143 class143 = Class239_Sub23.method1819(i_455_, 0, -114, Class104.aClass45_1627); - anIntArray1149[anInt1173++] = class143.method1186(string, Class113.aClass105Array1744, false); - return; - } - } else if (i < 4300) { - if (i == 4200) { - int i_456_ = anIntArray1149[--anInt1173]; - aStringArray1152[anInt1170++] = (Exception_Sub1.aClass255_112.method1940(-52, i_456_).aString2795) + Loader.getDebug(i_456_); - return; - } - if (i == 4201) { - anInt1173 -= 2; - int i_457_ = anIntArray1149[anInt1173]; - int i_458_ = anIntArray1149[anInt1173 + 1]; - Class213 class213 = Exception_Sub1.aClass255_112.method1940(-79, i_457_); - if (i_458_ >= 1 && i_458_ <= 5 && (class213.aStringArray2811[i_458_ - 1] != null)) aStringArray1152[anInt1170++] = (class213.aStringArray2811[i_458_ - 1]); - else { - aStringArray1152[anInt1170++] = ""; - return; - } - return; - } - if (i == 4202) { - anInt1173 -= 2; - int i_459_ = anIntArray1149[anInt1173]; - int i_460_ = anIntArray1149[anInt1173 + 1]; - Class213 class213 = Exception_Sub1.aClass255_112.method1940(112, i_459_); - if (i_460_ >= 1 && i_460_ <= 5 && (class213.aStringArray2763[i_460_ - 1] != null)) aStringArray1152[anInt1170++] = (class213.aStringArray2763[i_460_ - 1]); - else { - aStringArray1152[anInt1170++] = ""; - return; - } - return; - } - if (i == 4203) { - int i_461_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = Exception_Sub1.aClass255_112.method1940(-52, i_461_).anInt2819; - return; - } - if (i == 4204) { - int i_462_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = (Exception_Sub1.aClass255_112.method1940(82, i_462_).anInt2820 == 1) ? 1 : 0; - return; - } - if (i == 4205) { - int i_463_ = anIntArray1149[--anInt1173]; - Class213 class213 = Exception_Sub1.aClass255_112.method1940(80, i_463_); - if (class213.anInt2833 == -1 && class213.anInt2758 >= 0) anIntArray1149[anInt1173++] = class213.anInt2758; - else { - anIntArray1149[anInt1173++] = i_463_; - return; - } - return; - } - if (i == 4206) { - int i_464_ = anIntArray1149[--anInt1173]; - Class213 class213 = Exception_Sub1.aClass255_112.method1940(-56, i_464_); - if (class213.anInt2833 >= 0 && class213.anInt2758 >= 0) anIntArray1149[anInt1173++] = class213.anInt2758; - else { - anIntArray1149[anInt1173++] = i_464_; - return; - } - return; - } - if (i == 4207) { - int i_465_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = (Exception_Sub1.aClass255_112.method1940(87, i_465_).aBoolean2783) ? 1 : 0; - return; - } - if (i == 4208) { - anInt1173 -= 2; - int i_466_ = anIntArray1149[anInt1173]; - int i_467_ = anIntArray1149[anInt1173 + 1]; - Class254 class254 = Class101_Sub3.aClass326_5764.method2600(i_467_, 28364); - if (class254.method1925(false)) aStringArray1152[anInt1170++] = (Exception_Sub1.aClass255_112.method1940(-96, i_466_).method1561(class254.aString3258, i_467_, -1511086397)); - else { - anIntArray1149[anInt1173++] = (Exception_Sub1.aClass255_112.method1940(-82, i_466_).method1567(class254.anInt3256, -106, i_467_)); - return; - } - return; - } - if (i == 4209) { - anInt1173 -= 2; - int i_468_ = anIntArray1149[anInt1173]; - int i_469_ = anIntArray1149[anInt1173 + 1] - 1; - Class213 class213 = Exception_Sub1.aClass255_112.method1940(108, i_468_); - if (class213.anInt2766 == i_469_) anIntArray1149[anInt1173++] = class213.anInt2818; - else { - if (class213.anInt2774 == i_469_) anIntArray1149[anInt1173++] = class213.anInt2817; - else { - anIntArray1149[anInt1173++] = -1; - return; - } - return; - } - return; - } - if (i == 4210) { - String string = aStringArray1152[--anInt1170]; - int i_470_ = anIntArray1149[--anInt1173]; - Class217.method1586(i_470_ == 1, (byte) -108, string); - anIntArray1149[anInt1173++] = Class76.anInt1285; - return; - } - if (i == 4211) { - if (Class192.aShortArray2579 == null || Class148.anInt2037 >= Class76.anInt1285) anIntArray1149[anInt1173++] = -1; - else { - anIntArray1149[anInt1173++] = (Class192.aShortArray2579[Class148.anInt2037++] & 0xffff); - return; - } - return; - } - if (i == 4212) { - Class148.anInt2037 = 0; - return; - } - if (i == 4213) { - int i_471_ = anIntArray1149[--anInt1173]; - anIntArray1149[anInt1173++] = Exception_Sub1.aClass255_112.method1940(-115, i_471_).anInt2802; - return; - } - if (i == 4214) { - String string = aStringArray1152[--anInt1170]; - anInt1173 -= 3; - int i_472_ = anIntArray1149[anInt1173]; - int i_473_ = anIntArray1149[anInt1173 + 1]; - int i_474_ = anIntArray1149[anInt1173 + 2]; - Class16.method259(i_474_, -125, i_472_ == 1, string, i_473_); - anIntArray1149[anInt1173++] = Class76.anInt1285; - return; - } - if (i == 4215) { - anInt1170 -= 2; - anInt1173 -= 2; - String string = aStringArray1152[anInt1170]; - int i_475_ = anIntArray1149[anInt1173]; - int i_476_ = anIntArray1149[anInt1173 + 1]; - String string_477_ = aStringArray1152[anInt1170 + 1]; - Class239_Sub1.method1719(i_475_ == 1, string, string_477_, i_476_, -1); - anIntArray1149[anInt1173++] = Class76.anInt1285; - return; - } - } else if (i < 4400) { - if (i == 4300) { - anInt1173 -= 2; - int i_478_ = anIntArray1149[anInt1173]; - int i_479_ = anIntArray1149[anInt1173 + 1]; - Class254 class254 = Class101_Sub3.aClass326_5764.method2600(i_479_, 28364); - if (class254.method1925(false)) aStringArray1152[anInt1170++] = (Class189.aClass278_2529.method2079(i_478_, -1).method801((byte) 17, i_479_, class254.aString3258)); - else { - anIntArray1149[anInt1173++] = (Class189.aClass278_2529.method2079(i_478_, -1).method805(class254.anInt3256, i_479_, 48)); - return; - } - return; - } - } else if (i < 4500) { - if (i == 4400) { - anInt1173 -= 2; - int i_480_ = anIntArray1149[anInt1173]; - int i_481_ = anIntArray1149[anInt1173 + 1]; - Class254 class254 = Class101_Sub3.aClass326_5764.method2600(i_481_, 28364); - if (class254.method1925(false)) aStringArray1152[anInt1170++] = (Class348_Sub40_Sub12.aClass263_9195.method2005(0, i_480_).method475(class254.aString3258, i_481_, -16)); - else { - anIntArray1149[anInt1173++] = (Class348_Sub40_Sub12.aClass263_9195.method2005(0, i_480_).method487(i_481_, class254.anInt3256, 81)); - return; - } - return; - } - } else if (i < 4600) { - if (i == 4500) { - anInt1173 -= 2; - int i_482_ = anIntArray1149[anInt1173]; - int i_483_ = anIntArray1149[anInt1173 + 1]; - Class254 class254 = Class101_Sub3.aClass326_5764.method2600(i_483_, 28364); - if (class254.method1925(false)) aStringArray1152[anInt1170++] = (Class136.aClass65_4787.method700(i_482_, -121).method3170(-250, class254.aString3258, i_483_)); - else { - anIntArray1149[anInt1173++] = (Class136.aClass65_4787.method700(i_482_, 81).method3166(i_483_, class254.anInt3256, (byte) 124)); - return; - } - return; - } - } else if (i < 4700 && i == 4600) { - int i_484_ = anIntArray1149[--anInt1173]; - Class225 class225 = Class64_Sub3.aClass261_5558.method1983(i_484_, 32); - if (class225.anIntArray2915 != null && class225.anIntArray2915.length > 0) { - int i_485_ = 0; - int i_486_ = class225.anIntArray2929[0]; - for (int i_487_ = 1; i_487_ < class225.anIntArray2915.length; i_487_++) { - if (class225.anIntArray2929[i_487_] > i_486_) { - i_485_ = i_487_; - i_486_ = class225.anIntArray2929[i_487_]; - } - } - anIntArray1149[anInt1173++] = class225.anIntArray2915[i_485_]; - } else { - anIntArray1149[anInt1173++] = class225.anInt2918; - return; - } - return; - } - } - throw new IllegalStateException(String.valueOf(i)); - } - - private static final void method711(Class348_Sub42_Sub19 class348_sub42_sub19, int i) { - anInt1173 = 0; - anInt1170 = 0; - int i_488_ = -1; - int[] is = class348_sub42_sub19.anIntArray9696; - int[] is_489_ = class348_sub42_sub19.anIntArray9694; - int i_490_ = -1; - anInt1154 = 0; - try { - int i_491_ = 0; - for (; ; ) { - if (++i_491_ > i) throw new RuntimeException("slow"); - i_490_ = is[++i_488_]; - if (i_490_ < 100) { - if (i_490_ == 0) anIntArray1149[anInt1173++] = is_489_[i_488_]; - else if (i_490_ == 1) { - int i_492_ = is_489_[i_488_]; - anIntArray1149[anInt1173++] = (Class318_Sub1_Sub3_Sub3.aClass170_10209.anIntArray5063[i_492_]); - } else if (i_490_ == 2) { - int i_493_ = is_489_[i_488_]; - Class318_Sub1_Sub3_Sub3.aClass170_10209.method1306((byte) -78, anIntArray1149[--anInt1173], i_493_); - } else if (i_490_ == 3) aStringArray1152[anInt1170++] = (class348_sub42_sub19.aStringArray9692[i_488_]); - else if (i_490_ == 6) i_488_ += is_489_[i_488_]; - else if (i_490_ == 7) { - anInt1173 -= 2; - if (anIntArray1149[anInt1173] != anIntArray1149[anInt1173 + 1]) i_488_ += is_489_[i_488_]; - } else if (i_490_ == 8) { - anInt1173 -= 2; - if (anIntArray1149[anInt1173] == anIntArray1149[anInt1173 + 1]) i_488_ += is_489_[i_488_]; - } else if (i_490_ == 9) { - anInt1173 -= 2; - if (anIntArray1149[anInt1173] < anIntArray1149[anInt1173 + 1]) i_488_ += is_489_[i_488_]; - } else if (i_490_ == 10) { - anInt1173 -= 2; - if (anIntArray1149[anInt1173] > anIntArray1149[anInt1173 + 1]) i_488_ += is_489_[i_488_]; - } else if (i_490_ == 21) { - if (anInt1154 == 0) return; - Class184 class184 = aClass184Array1168[--anInt1154]; - class348_sub42_sub19 = class184.aClass348_Sub42_Sub19_2474; - is = (class348_sub42_sub19.anIntArray9696); - is_489_ = (class348_sub42_sub19.anIntArray9694); - i_488_ = class184.anInt2477; - anIntArray1164 = class184.anIntArray2468; - aStringArray1155 = class184.aStringArray2473; - } else if (i_490_ == 25) { - int i_494_ = is_489_[i_488_]; - anIntArray1149[anInt1173++] = Class318_Sub1_Sub3_Sub3.aClass170_10209.method62(i_494_, -65536); - } else if (i_490_ == 27) { - int i_495_ = is_489_[i_488_]; - Class318_Sub1_Sub3_Sub3.aClass170_10209.method1307(i_495_, -1, anIntArray1149[--anInt1173]); - } else if (i_490_ == 31) { - anInt1173 -= 2; - if (anIntArray1149[anInt1173] <= anIntArray1149[anInt1173 + 1]) i_488_ += is_489_[i_488_]; - } else if (i_490_ == 32) { - anInt1173 -= 2; - if (anIntArray1149[anInt1173] >= anIntArray1149[anInt1173 + 1]) i_488_ += is_489_[i_488_]; - } else if (i_490_ == 33) anIntArray1149[anInt1173++] = anIntArray1164[is_489_[i_488_]]; - else if (i_490_ == 34) anIntArray1164[is_489_[i_488_]] = anIntArray1149[--anInt1173]; - else if (i_490_ == 35) aStringArray1152[anInt1170++] = aStringArray1155[is_489_[i_488_]]; - else if (i_490_ == 36) aStringArray1155[is_489_[i_488_]] = aStringArray1152[--anInt1170]; - else if (i_490_ == 37) { - int i_496_ = is_489_[i_488_]; - anInt1170 -= i_496_; - String string = Class164.method1279(true, i_496_, aStringArray1152, anInt1170); - aStringArray1152[anInt1170++] = string; - } else if (i_490_ == 38) anInt1173--; - else if (i_490_ == 39) anInt1170--; - else if (i_490_ == 40) { - int i_497_ = is_489_[i_488_]; - Class348_Sub42_Sub19 class348_sub42_sub19_498_ = Class328.method2609(-114, i_497_); - if (class348_sub42_sub19_498_ == null) throw new RuntimeException(); - int[] is_499_ = new int[class348_sub42_sub19_498_.anInt9688]; - String[] strings = (new String - [class348_sub42_sub19_498_.anInt9689]); - for (int i_500_ = 0; i_500_ < class348_sub42_sub19_498_.anInt9697; i_500_++) - is_499_[i_500_] = (anIntArray1149[anInt1173 - (class348_sub42_sub19_498_.anInt9697) + i_500_]); - for (int i_501_ = 0; i_501_ < class348_sub42_sub19_498_.anInt9695; i_501_++) - strings[i_501_] = (aStringArray1152[anInt1170 - (class348_sub42_sub19_498_.anInt9695) + i_501_]); - anInt1173 -= class348_sub42_sub19_498_.anInt9697; - anInt1170 -= class348_sub42_sub19_498_.anInt9695; - Class184 class184 = new Class184(); - class184.aClass348_Sub42_Sub19_2474 = class348_sub42_sub19; - class184.anInt2477 = i_488_; - class184.anIntArray2468 = anIntArray1164; - class184.aStringArray2473 = aStringArray1155; - if (anInt1154 >= aClass184Array1168.length) throw new RuntimeException(); - aClass184Array1168[anInt1154++] = class184; - class348_sub42_sub19 = class348_sub42_sub19_498_; - is = (class348_sub42_sub19.anIntArray9696); - is_489_ = (class348_sub42_sub19.anIntArray9694); - i_488_ = -1; - anIntArray1164 = is_499_; - aStringArray1155 = strings; - } else if (i_490_ == 42) anIntArray1149[anInt1173++] = Class77.anIntArray1303[is_489_[i_488_]]; - else if (i_490_ == 43) { - int i_502_ = is_489_[i_488_]; - Class77.anIntArray1303[i_502_] = anIntArray1149[--anInt1173]; - Class232.method1647(-128, i_502_); - Class184.aBoolean2469 |= Class286_Sub6.aBooleanArray6270[i_502_]; - } else if (i_490_ == 44) { - int i_503_ = is_489_[i_488_] >> 16; - int i_504_ = is_489_[i_488_] & 0xffff; - int i_505_ = anIntArray1149[--anInt1173]; - if (i_505_ < 0 || i_505_ > 5000) throw new RuntimeException(); - anIntArray1172[i_503_] = i_505_; - int i_506_ = -1; - if (i_504_ == 105) i_506_ = 0; - for (int i_507_ = 0; i_507_ < i_505_; i_507_++) - anIntArrayArray1161[i_503_][i_507_] = i_506_; - } else if (i_490_ == 45) { - int i_508_ = is_489_[i_488_]; - int i_509_ = anIntArray1149[--anInt1173]; - if (i_509_ < 0 || i_509_ >= anIntArray1172[i_508_]) throw new RuntimeException(); - anIntArray1149[anInt1173++] = anIntArrayArray1161[i_508_][i_509_]; - } else if (i_490_ == 46) { - int i_510_ = is_489_[i_488_]; - anInt1173 -= 2; - int i_511_ = anIntArray1149[anInt1173]; - if (i_511_ < 0 || i_511_ >= anIntArray1172[i_510_]) throw new RuntimeException(); - anIntArrayArray1161[i_510_][i_511_] = anIntArray1149[anInt1173 + 1]; - } else if (i_490_ == 47) { - String string = Class258_Sub2.aStringArray8532[is_489_[i_488_]]; - if (string == null) string = "null"; - aStringArray1152[anInt1170++] = string; - } else if (i_490_ == 48) { - int i_512_ = is_489_[i_488_]; - Class258_Sub2.aStringArray8532[i_512_] = aStringArray1152[--anInt1170]; - Class57.method529(i_512_, true); - } else if (i_490_ == 51) { - Class356 class356 = (class348_sub42_sub19.aClass356Array9693[is_489_[i_488_]]); - Class348_Sub35 class348_sub35 = ((Class348_Sub35) class356.method3480(anIntArray1149[--anInt1173], -6008)); - if (class348_sub35 != null) i_488_ += class348_sub35.anInt6976; - } else if (i_490_ == 86) { - if (anIntArray1149[--anInt1173] == 1) { - i_488_ += is_489_[i_488_]; - } - } - } else { - boolean bool; - bool = is_489_[i_488_] == 1; - if (i_490_ >= 100 && i_490_ < 5000) method710(i_490_, bool); - else { - if (i_490_ < 5000 || i_490_ >= 10000) break; - method704(i_490_, bool); - } - } - } - throw new IllegalStateException("Command: " + i_490_); - } catch (Exception exception) { - if (class348_sub42_sub19.aString9690 == null) { - StringBuffer stringbuffer = new StringBuffer(30); - stringbuffer.append("CS2: ").append(class348_sub42_sub19.aLong4291).append(" "); - for (int i_514_ = anInt1154 - 1; i_514_ >= 0; i_514_--) - stringbuffer.append("v: ").append(aClass184Array1168[i_514_].aClass348_Sub42_Sub19_2474.aLong4291).append(" "); - stringbuffer.append("op: ").append(i_490_); - Class156.method1242(stringbuffer.toString(), exception, 15004); - } else { - Class59.method544(("Clientscript error in: " + class348_sub42_sub19.aString9690), false, 4); - StringBuffer stringbuffer = new StringBuffer(30); - stringbuffer.append("Clientscript error in: ").append(class348_sub42_sub19.aString9690).append("\n"); - for (int i_513_ = anInt1154 - 1; i_513_ >= 0; i_513_--) - stringbuffer.append("via: ").append(aClass184Array1168[i_513_].aClass348_Sub42_Sub19_2474.aString9690).append("\n"); - stringbuffer.append("Op: ").append(i_490_).append("\n"); - String string = exception.getMessage(); - if (string != null && string.length() > 0) stringbuffer.append("Message: ").append(string).append("\n"); - Class156.method1242(stringbuffer.toString(), exception, 15004); - Applet_Sub1.method94(stringbuffer.toString(), 90); - } - } - } - - private static final void method712(Class348_Sub36 class348_sub36, int i) { - Object[] objects = class348_sub36.anObjectArray6987; - int i_515_ = ((Integer) objects[0]).intValue(); - Class348_Sub42_Sub19 class348_sub42_sub19 = Class328.method2609(-122, i_515_); - if (class348_sub42_sub19 != null) { - anIntArray1164 = (new int - [class348_sub42_sub19.anInt9688]); - int i_516_ = 0; - aStringArray1155 = (new String - [class348_sub42_sub19.anInt9689]); - int i_517_ = 0; - for (int i_518_ = 1; i_518_ < objects.length; i_518_++) { - if (objects[i_518_] instanceof Integer) { - int i_519_ = ((Integer) objects[i_518_]).intValue(); - if (i_519_ == -2147483647) i_519_ = class348_sub36.anInt6984; - if (i_519_ == -2147483646) i_519_ = class348_sub36.anInt6995; - if (i_519_ == -2147483645) i_519_ = ((class348_sub36.aClass46_6989 != null) ? class348_sub36.aClass46_6989.anInt830 : -1); - if (i_519_ == -2147483644) i_519_ = class348_sub36.anInt6986; - if (i_519_ == -2147483643) i_519_ = ((class348_sub36.aClass46_6989 != null) ? class348_sub36.aClass46_6989.anInt704 : -1); - if (i_519_ == -2147483642) i_519_ = ((class348_sub36.aClass46_6983 != null) ? class348_sub36.aClass46_6983.anInt830 : -1); - if (i_519_ == -2147483641) i_519_ = ((class348_sub36.aClass46_6983 != null) ? class348_sub36.aClass46_6983.anInt704 : -1); - if (i_519_ == -2147483640) i_519_ = class348_sub36.anInt6991; - if (i_519_ == -2147483639) i_519_ = class348_sub36.anInt6982; - anIntArray1164[i_516_++] = i_519_; - } else if (objects[i_518_] instanceof String) { - String string = (String) objects[i_518_]; - if (string.equals("event_opbase")) string = class348_sub36.aString6994; - aStringArray1155[i_517_++] = string; - } - } - anInt1177 = class348_sub36.anInt6988; - method711(class348_sub42_sub19, i); - } - } - - public static void method713() { - anIntArray1164 = null; - aStringArray1155 = null; - anIntArray1172 = null; - anIntArrayArray1161 = null; - anIntArray1149 = null; - aStringArray1152 = null; - aClass184Array1168 = null; - aClass46_1150 = null; - aClass46_1169 = null; - aClass43_1151 = null; - aCalendar1160 = null; - aStringArray1176 = null; - anIntArray1175 = null; - aClass60_1174 = null; - } - - private static final void method714(int i) { - Class46 class46 = Class324.method2570(1512932720, i); - if (class46 != null) { - int i_520_ = i >>> 16; - Class46[] class46s = Class369_Sub2.aClass46ArrayArray8584[i_520_]; - if (class46s == null) { - Class46[] class46s_521_ = Class348_Sub40_Sub33.aClass46ArrayArray9427[i_520_]; - int i_522_ = class46s_521_.length; - class46s = Class369_Sub2.aClass46ArrayArray8584[i_520_] = new Class46[i_522_]; - Class214.method1575(class46s_521_, 0, class46s, 0, class46s_521_.length); - } - int i_523_; - for (i_523_ = 0; i_523_ < class46s.length; i_523_++) { - if (class46s[i_523_] == class46) break; - } - if (i_523_ < class46s.length) { - Class214.method1575(class46s, i_523_ + 1, class46s, i_523_, class46s.length - i_523_ - 1); - class46s[class46s.length - 1] = class46; - } - } - } - - static final void method715(int i, boolean bool) { - /* empty */ - } - - static { - aClass184Array1168 = new Class184[50]; - aCalendar1160 = Calendar.getInstance(); - anIntArray1175 = new int[3]; - aStringArray1176 = new String[]{"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"}; - aClass60_1174 = new Class60(4); - anInt1177 = 0; - } -} diff --git a/client/src/Class67.java b/client/src/Class67.java deleted file mode 100644 index a2bb3537e..000000000 --- a/client/src/Class67.java +++ /dev/null @@ -1,93 +0,0 @@ -/* Class67 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class67 implements Interface1 { - static int anInt4642; - static Class105 aClass105_4643; - static int anInt4644; - static int anInt4645; - private final Class158 aClass158_4646; - static int anInt4647; - static int[] anIntArray4648 = new int[14]; - private Class324 aClass324_4649; - private final Class45 aClass45_4650; - private final Class45 aClass45_4651; - - public static void method716(int i) { - if (i == 1) { - aClass105_4643 = null; - anIntArray4648 = null; - } - } - - public final void method9(byte i, boolean bool) { - if (bool) { - int i_0_ = ((aClass158_4646.aClass221_4948.method1607(Class92.anInt1524, aClass158_4646.anInt4931, (byte) -119)) + aClass158_4646.anInt4947); - int i_1_ = ((aClass158_4646.aClass341_4945.method2679(ha_Sub2.anInt7666, aClass158_4646.anInt4936, i + 1644)) + aClass158_4646.anInt4932); - aClass324_4649.method2584(null, aClass158_4646.anInt4937, aClass158_4646.anInt4940, null, aClass158_4646.anInt4935, aClass158_4646.anInt4946, aClass158_4646.anInt4936, null, i_1_, 0, 0, aClass158_4646.anInt4931, i_0_, false, aClass158_4646.anInt4943, aClass158_4646.aString4942); - } - if (i == -49) anInt4642++; - } - - public final boolean method8(byte i) { - anInt4644++; - boolean bool = true; - if (!aClass45_4650.method421(false, aClass158_4646.anInt4944)) bool = false; - if (!aClass45_4651.method421(false, aClass158_4646.anInt4944)) bool = false; - int i_2_ = -53 % ((i - 25) / 52); - return bool; - } - - static final boolean method717(int i) { - anInt4645++; - if (Class289.aBoolean3697) { - try { - Class224.method1617((byte) 125, Class93.anApplet1530, "showVideoAd"); - return true; - } catch (Throwable throwable) { - /* empty */ - } - } - if (i != -2511) method716(-67); - return false; - } - - public final void method7(int i) { - anInt4647++; - Class143 class143 = Class239_Sub10.method1766((byte) -45, aClass158_4646.anInt4944, aClass45_4651); - if (i == 10286) aClass324_4649 = (Class348_Sub8.aHa6654.method3686(class143, Class207.method1523(aClass45_4650, aClass158_4646.anInt4944), true)); - } - - Class67(Class45 class45, Class45 class45_3_, Class158 class158) { - try { - aClass45_4651 = class45_3_; - aClass158_4646 = class158; - aClass45_4650 = class45; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("kd.(" + (class45 != null ? "{...}" : "null") + ',' + (class45_3_ != null ? "{...}" : "null") + ',' + (class158 != null ? "{...}" : "null") + ')')); - } - } - - static final void method718(Class318_Sub1[] class318_sub1s, int i, int i_4_) { - if (i < i_4_) { - int i_5_ = (i + i_4_) / 2; - int i_6_ = i; - Class318_Sub1 class318_sub1 = class318_sub1s[i_5_]; - class318_sub1s[i_5_] = class318_sub1s[i_4_]; - class318_sub1s[i_4_] = class318_sub1; - int i_7_ = class318_sub1.anInt6389; - for (int i_8_ = i; i_8_ < i_4_; i_8_++) { - if (class318_sub1s[i_8_].anInt6389 > i_7_ + (i_8_ & 0x1)) { - Class318_Sub1 class318_sub1_9_ = class318_sub1s[i_8_]; - class318_sub1s[i_8_] = class318_sub1s[i_6_]; - class318_sub1s[i_6_++] = class318_sub1_9_; - } - } - class318_sub1s[i_4_] = class318_sub1s[i_6_]; - class318_sub1s[i_6_] = class318_sub1; - method718(class318_sub1s, i, i_6_ - 1); - method718(class318_sub1s, i_6_ + 1, i_4_); - } - } -} diff --git a/client/src/Class68.java b/client/src/Class68.java deleted file mode 100644 index b64a8372b..000000000 --- a/client/src/Class68.java +++ /dev/null @@ -1,47 +0,0 @@ -/* Class68 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class68 { - int anInt1178; - static Class68 aClass68_1179 = new Class68(1); - static int anInt1180; - static Class68 aClass68_1181 = new Class68(2); - static Class68 aClass68_1182 = new Class68(4); - static Class68 aClass68_1183 = new Class68(1); - static Class68 aClass68_1184 = new Class68(2); - static Class68 aClass68_1185 = new Class68(4); - static Class68 aClass68_1186 = new Class68(2); - static Class68 aClass68_1187 = new Class68(4); - static int anInt1188; - static Class231 aClass231_1189; - static int[][] anIntArrayArray1190 = {{2, 4}, {2, 4}, {5, 2, 4}, {4, 5, 2}, {2, 4, 5}, {5, 2, 4}, {1, 6, 2, 5}, {1, 6, 7, 1}, {6, 7, 1, 1}, {0, 8, 9, 8, 9, 4}, {8, 9, 4, 0, 8, 9}, {2, 10, 0, 10, 11, 11}, {2, 4}, {1, 6, 7, 1}, {1, 6, 7, 1}}; - - public static void method719(byte i) { - aClass68_1183 = null; - aClass68_1184 = null; - aClass68_1181 = null; - if (i == 72) { - aClass68_1182 = null; - anIntArrayArray1190 = null; - aClass68_1187 = null; - aClass231_1189 = null; - aClass68_1179 = null; - aClass68_1186 = null; - aClass68_1185 = null; - } - } - - private Class68(int i) { - this.anInt1178 = i; - } - - public final String toString() { - anInt1180++; - throw new IllegalStateException(); - } - - static { - aClass231_1189 = new Class231("LIVE", 0); - } -} diff --git a/client/src/Class69.java b/client/src/Class69.java deleted file mode 100644 index 5ffdfdbc7..000000000 --- a/client/src/Class69.java +++ /dev/null @@ -1,78 +0,0 @@ -/* Class69 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class69 { - static int anInt1191; - static int anInt1192; - static int anInt1193; - static int anInt1194; - static Class69 aClass69_1195 = new Class69(); - static int anInt1196; - static Class69 aClass69_1197 = new Class69(); - static Class69 aClass69_1198 = new Class69(); - static Class69 aClass69_1199 = new Class69(); - static int anInt1200; - static Class173 aClass173_1201 = new Class173(); - static int anInt1202; - - static final void method720(int i, int i_0_) { - anInt1193++; - Class168.anInt2251 = i; - synchronized (Class130.aClass60_1894) { - if (i_0_ != 1226) aClass173_1201 = null; - Class130.aClass60_1894.method590(0); - } - synchronized (Class24.aClass60_355) { - Class24.aClass60_355.method590(0); - } - } - - static final void method721(Class348_Sub42 class348_sub42, Class348_Sub42 class348_sub42_1_, int i) { - do { - try { - if (class348_sub42_1_.aClass348_Sub42_7060 != null) class348_sub42_1_.method3162(true); - anInt1194++; - class348_sub42_1_.aClass348_Sub42_7063 = class348_sub42; - class348_sub42_1_.aClass348_Sub42_7060 = class348_sub42.aClass348_Sub42_7060; - class348_sub42_1_.aClass348_Sub42_7060.aClass348_Sub42_7063 = class348_sub42_1_; - class348_sub42_1_.aClass348_Sub42_7063.aClass348_Sub42_7060 = class348_sub42_1_; - if (i == -1) break; - aClass69_1199 = null; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("kea.B(" + (class348_sub42 != null ? "{...}" : "null") + ',' + (class348_sub42_1_ != null ? "{...}" : "null") + ',' + i + ')')); - } - break; - } while (false); - } - - public Class69() { - /* empty */ - } - - public static void method722(int i) { - aClass69_1198 = null; - if (i != 13569) aClass69_1199 = null; - aClass69_1197 = null; - aClass69_1195 = null; - aClass69_1199 = null; - aClass173_1201 = null; - } - - static final boolean method723(int i, int i_2_, byte i_3_) { - anInt1196++; - if (i_3_ >= -66) return true; - return (Class314_Sub1.method2352(113, i_2_, i) & Class156.method1238(i, i_2_, -29)); - } - - static final boolean method724(int i, int i_4_, int i_5_) { - anInt1191++; - if (i_5_ != 393216) method723(25, 30, (byte) -113); - return Class314_Sub1.method2352(124, i_4_, i) | (0x60000 & i) != 0 || Class273.method2056(i, 90, i_4_) || method723(i, i_4_, (byte) -120); - } - - public final String toString() { - anInt1192++; - throw new IllegalStateException(); - } -} diff --git a/client/src/Class7.java b/client/src/Class7.java deleted file mode 100644 index 8089c9e2e..000000000 --- a/client/src/Class7.java +++ /dev/null @@ -1,117 +0,0 @@ -/* Class7 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; -import java.lang.reflect.Field; - -public final class Class7 { - private GraphicsDevice aGraphicsDevice157; - private DisplayMode aDisplayMode158; - - public final void method209(Frame frame, int i, int i_0_, int i_1_, int i_2_) { - aDisplayMode158 = aGraphicsDevice157.getDisplayMode(); - if (aDisplayMode158 == null) throw new NullPointerException(); - frame.setUndecorated(true); - frame.enableInputMethods(false); - method212(frame, (byte) 51); - if (0 == i_2_) { - int i_3_ = aDisplayMode158.getRefreshRate(); - DisplayMode[] displaymodes = aGraphicsDevice157.getDisplayModes(); - boolean bool = false; - for (int i_4_ = 0; i_4_ < displaymodes.length; i_4_++) { - if (i == displaymodes[i_4_].getWidth() && i_0_ == displaymodes[i_4_].getHeight() && displaymodes[i_4_].getBitDepth() == i_1_) { - int i_5_ = displaymodes[i_4_].getRefreshRate(); - if (!bool || Math.abs(-i_3_ + i_5_) < Math.abs(i_2_ + -i_3_)) { - bool = true; - i_2_ = i_5_; - } - } - } - if (!bool) i_2_ = i_3_; - } - aGraphicsDevice157.setDisplayMode(new DisplayMode(i, i_0_, i_1_, i_2_)); - } - - public final int[] method210() { - DisplayMode[] displaymodes = aGraphicsDevice157.getDisplayModes(); - int[] is = new int[displaymodes.length << 2]; - for (int i = 0; i < displaymodes.length; i++) { - is[i << 2] = displaymodes[i].getWidth(); - is[1 + (i << 2)] = displaymodes[i].getHeight(); - is[(i << 2) + 2] = displaymodes[i].getBitDepth(); - is[(i << 2) + 3] = displaymodes[i].getRefreshRate(); - } - return is; - } - - public final void method211() { - if (aDisplayMode158 != null) { - aGraphicsDevice157.setDisplayMode(aDisplayMode158); - if (!aGraphicsDevice157.getDisplayMode().equals(aDisplayMode158)) throw new RuntimeException("Did not return to correct resolution!"); - aDisplayMode158 = null; - } - method212(null, (byte) 104); - } - - public Class7() throws Exception { - GraphicsEnvironment graphicsenvironment = GraphicsEnvironment.getLocalGraphicsEnvironment(); - aGraphicsDevice157 = graphicsenvironment.getDefaultScreenDevice(); - if (!aGraphicsDevice157.isFullScreenSupported()) { - GraphicsDevice[] graphicsdevices = graphicsenvironment.getScreenDevices(); - GraphicsDevice[] graphicsdevices_6_ = graphicsdevices; - for (int i = 0; graphicsdevices_6_.length > i; i++) { - GraphicsDevice graphicsdevice = graphicsdevices_6_[i]; - if (null != graphicsdevice && graphicsdevice.isFullScreenSupported()) { - aGraphicsDevice157 = graphicsdevice; - return; - } - } - throw new Exception(); - } - } - - private final void method212(Frame frame, byte i) { - boolean bool = false; - if (i <= 47) method212(null, (byte) -25); - try { - Field field = GraphicsDevice.class.getDeclaredField("valid"); - field.setAccessible(true); - boolean bool_7_ = ((Boolean) field.get(aGraphicsDevice157)).booleanValue(); - if (bool_7_) { - field.set(aGraphicsDevice157, Boolean.FALSE); - bool = true; - } - } catch (Throwable throwable) { - if (Loader.trace) { - throwable.printStackTrace(); - } - /* empty */ - } - try { - aGraphicsDevice157.setFullScreenWindow(frame); - } catch (Throwable object) { - if (bool) { - try { - Field field = GraphicsDevice.class.getDeclaredField("valid"); - field.set(aGraphicsDevice157, Boolean.TRUE); - } catch (Exception e) { - if (Loader.trace) { - e.printStackTrace(); - } - } - } - } - if (bool) { - try { - Field field = GraphicsDevice.class.getDeclaredField("valid"); - field.set(aGraphicsDevice157, Boolean.TRUE); - } catch (Throwable throwable) { - if (Loader.trace) { - throwable.printStackTrace(); - } - /* empty */ - } - } - } -} diff --git a/client/src/Class70.java b/client/src/Class70.java deleted file mode 100644 index bfbbd62f4..000000000 --- a/client/src/Class70.java +++ /dev/null @@ -1,55 +0,0 @@ -/* Class70 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class70 { - static int anInt1203; - static int[] anIntArray1204; - static int anInt1205; - static int anInt1206; - static int[] anIntArray1207 = new int[16384]; - - public static void method725(int i) { - anIntArray1207 = null; - anIntArray1204 = null; - if (i != 16384) anIntArray1207 = null; - } - - static final void method726(int i) { - if (i <= 88) anIntArray1204 = null; - anInt1206++; - if (Class348_Sub42_Sub15.aClass56_9660 != null) { - Class51.aClass311_897 = new Class311(); - Class51.aClass311_897.method2316(Class348_Sub42_Sub15.aClass56_9660, Class348_Sub42_Sub15.aClass56_9660.aClass274_1012.method2063(Class348_Sub33.anInt6967, 544), Class348_Sub42_Sub15.aClass56_9660.anInt1025, Class283.aLong3660, false); - Class348_Sub32.aThread6946 = new Thread(Class51.aClass311_897, ""); - Class348_Sub32.aThread6946.start(); - } - } - - static final void method727(byte i, int i_0_, int i_1_, int i_2_) { - anInt1205++; - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i_2_, (byte) 105, 9); - class348_sub42_sub15.method3246(i + -25427); - class348_sub42_sub15.anInt9652 = i_1_; - class348_sub42_sub15.anInt9651 = i_0_; - if (i != -63) anIntArray1207 = null; - } - - public final String toString() { - anInt1203++; - throw new IllegalStateException(); - } - - public Class70() { - /* empty */ - } - - static { - anIntArray1204 = new int[16384]; - double d = 3.834951969714103E-4; - for (int i = 0; i < 16384; i++) { - anIntArray1207[i] = (int) (16384.0 * Math.sin(d * (double) i)); - anIntArray1204[i] = (int) (Math.cos(d * (double) i) * 16384.0); - } - } -} diff --git a/client/src/Class71.java b/client/src/Class71.java deleted file mode 100644 index 01f6a2a24..000000000 --- a/client/src/Class71.java +++ /dev/null @@ -1,91 +0,0 @@ -/* Class71 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class71 { - static Class76 aClass76_1208; - static int anInt1209; - static Class76 aClass76_1210; - static boolean aBoolean1211 = false; - static Class209 aClass209_1212; - static Class138 aClass138_1213; - static boolean[] aBooleanArray1214; - - public static void method728(boolean bool) { - aClass209_1212 = null; - aClass76_1208 = null; - aClass76_1210 = null; - aBooleanArray1214 = null; - if (bool != true) aClass209_1212 = null; - aClass138_1213 = null; - } - - static final void method729(int i, int i_0_, byte i_1_, Class318_Sub1_Sub3_Sub3 class318_sub1_sub3_sub3, int i_2_) { - if (i_1_ < 60) method728(true); - anInt1209++; - Class225 class225 = class318_sub1_sub3_sub3.method2422((byte) 72); - int i_3_ = 0x3fff & ((class318_sub1_sub3_sub3.anInt10282) - class318_sub1_sub3_sub3.aClass264_10217.anInt3370); - if (i != -1) { - if ((class318_sub1_sub3_sub3.anInt10275 == -1) || (i_3_ < 10240 && i_3_ > 2048)) { - if (i_3_ == 0 && (class318_sub1_sub3_sub3.anInt10247) <= 25) { - if (i == 2 && class225.anInt2919 != -1) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2919; - else if (i != 0 || class225.anInt2940 == -1) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2951; - else class318_sub1_sub3_sub3.anInt10268 = class225.anInt2940; - class318_sub1_sub3_sub3.aBoolean10213 = false; - } else { - if (i != 2 || class225.anInt2919 == -1) { - if (i != 0 || class225.anInt2940 == -1) { - if (i_0_ < 0 && class225.anInt2934 != -1) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2934; - else if (i_0_ <= 0 || class225.anInt2953 == -1) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2951; - else class318_sub1_sub3_sub3.anInt10268 = class225.anInt2953; - } else if (i_0_ < 0 && class225.anInt2908 != -1) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2908; - else if (i_0_ > 0 && class225.anInt2927 != -1) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2927; - else class318_sub1_sub3_sub3.anInt10268 = class225.anInt2940; - } else if (i_0_ >= 0 || class225.anInt2905 == -1) { - if (i_0_ <= 0 || class225.anInt2911 == -1) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2919; - else class318_sub1_sub3_sub3.anInt10268 = class225.anInt2911; - } else class318_sub1_sub3_sub3.anInt10268 = class225.anInt2905; - class318_sub1_sub3_sub3.aBoolean10213 = false; - } - } else { - int i_4_ = 0x3fff & (Class10.anIntArray187[i_2_] - class318_sub1_sub3_sub3.aClass264_10217.anInt3370); - if (i != 2 || class225.anInt2919 == -1) { - if (i == 0 && (class225.anInt2940 != -1)) { - if (i_4_ <= 2048 || i_4_ > 6144 || class225.anInt2947 == -1) { - if (i_4_ >= 10240 && i_4_ < 14336 && class225.anInt2958 != -1) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2958; - else if (i_4_ > 6144 && i_4_ < 10240 && class225.anInt2924 != -1) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2924; - else class318_sub1_sub3_sub3.anInt10268 = class225.anInt2940; - } else class318_sub1_sub3_sub3.anInt10268 = class225.anInt2947; - } else if (i_4_ > 2048 && i_4_ <= 6144 && class225.anInt2954 != -1) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2954; - else if (i_4_ >= 10240 && i_4_ < 14336 && (class225.anInt2937 != -1)) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2937; - else if (i_4_ > 6144 && i_4_ < 10240 && class225.anInt2938 != -1) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2938; - else class318_sub1_sub3_sub3.anInt10268 = class225.anInt2951; - } else if (i_4_ > 2048 && i_4_ <= 6144 && (class225.anInt2949 != -1)) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2949; - else if (i_4_ < 10240 || i_4_ >= 14336 || class225.anInt2914 == -1) { - if (i_4_ <= 6144 || i_4_ >= 10240 || class225.anInt2920 == -1) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2919; - else class318_sub1_sub3_sub3.anInt10268 = class225.anInt2920; - } else class318_sub1_sub3_sub3.anInt10268 = class225.anInt2914; - class318_sub1_sub3_sub3.aBoolean10213 = false; - } - } else if (i_3_ != 0 || (class318_sub1_sub3_sub3.anInt10247) > 25) { - if (i_0_ >= 0 || class225.anInt2916 == -1) { - if (i_0_ <= 0 || class225.anInt2922 == -1) class318_sub1_sub3_sub3.anInt10268 = class225.anInt2951; - else class318_sub1_sub3_sub3.anInt10268 = class225.anInt2922; - } else { - class318_sub1_sub3_sub3.aBoolean10213 = false; - class318_sub1_sub3_sub3.anInt10268 = class225.anInt2916; - } - class318_sub1_sub3_sub3.aBoolean10213 = false; - } else if (!(class318_sub1_sub3_sub3.aBoolean10213) || !class225.method1623((class318_sub1_sub3_sub3.anInt10268), -118)) { - class318_sub1_sub3_sub3.anInt10268 = class225.method1621((byte) 37); - class318_sub1_sub3_sub3.aBoolean10213 = (class318_sub1_sub3_sub3.anInt10268) != -1; - } - } - - static { - aClass76_1208 = aClass76_1210 = new Class76(false); - aClass209_1212 = new Class209(); - aClass138_1213 = new Class138(11, 0, 1, 2); - aBooleanArray1214 = new boolean[8]; - } -} diff --git a/client/src/Class72.java b/client/src/Class72.java deleted file mode 100644 index 56db44c2e..000000000 --- a/client/src/Class72.java +++ /dev/null @@ -1,300 +0,0 @@ -/* Class72 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class72 { - private static Class105 aClass105_1215; - private final int anInt1216; - private int anInt1217; - private final int anInt1218; - private int anInt1219; - private int anInt1220; - private Class105 aClass105_1221; - private final int anInt1222; - private final boolean aBoolean1223; - private final int anInt1224; - private final int anInt1225; - private static int[] anIntArray1226 = new int[4]; - private static Class64 aClass64_1227; - private static Class105 aClass105_1228; - private final int anInt1229; - private final int anInt1230; - private int anInt1231; - int anInt1232; - - private final boolean method730(ha var_ha, Class72 class72_0_) { - if (aClass105_1221 == null) { - if (anInt1230 == 0) { - if (Class101_Sub1.aD5684.method4(-7953, anInt1224)) { - int[] is = Class101_Sub1.aD5684.method6(-21540, anInt1220, 0.7F, anInt1224, false, anInt1220); - aClass105_1221 = var_ha.method3662(anInt1220, is, (byte) 94, 0, anInt1220, anInt1220); - } - } else if (anInt1230 == 2) method740(var_ha, class72_0_); - else if (anInt1230 == 1) method735(var_ha, class72_0_); - } - return aClass105_1221 != null; - } - - public static void method731() { - aClass64_1227 = null; - aClass105_1215 = null; - aClass105_1228 = null; - anIntArray1226 = null; - } - - private static final void method732(ha var_ha) { - if (aClass105_1228 == null) { - int[] is = new int[16384]; - int[] is_1_ = new int[16384]; - for (int i = 0; i < 64; i++) { - int i_2_ = 64 - i; - i_2_ *= i_2_; - int i_3_ = 128 - i - 1; - int i_4_ = i * 128; - int i_5_ = i_3_ * 128; - for (int i_6_ = 0; i_6_ < 64; i_6_++) { - int i_7_ = 64 - i_6_; - i_7_ *= i_7_; - int i_8_ = 128 - i_6_ - 1; - int i_9_ = 256 - (i_7_ + i_2_ << 8) / 4096; - i_9_ = i_9_ * 16 * 192 / 1536; - if (i_9_ < 0) i_9_ = 0; - else if (i_9_ > 255) i_9_ = 255; - int i_10_ = i_9_ / 2; - is_1_[i_4_ + i_6_] = is_1_[i_4_ + i_8_] = is_1_[i_5_ + i_6_] = is_1_[i_5_ + i_8_] = ~0xffffff | i_9_ << 16; - is[i_4_ + i_6_] = is[i_4_ + i_8_] = is[i_5_ + i_6_] = is[i_5_ + i_8_] = 127 - i_10_ << 24 | 0xffffff; - } - } - aClass105_1228 = var_ha.method3662(128, is_1_, (byte) 94, 0, 128, 128); - aClass105_1215 = var_ha.method3662(128, is, (byte) 94, 0, 128, 128); - } - } - - final boolean method733(int i, int i_11_, int i_12_, int i_13_) { - int i_14_; - int i_15_; - int i_16_; - if (aBoolean1223) { - this.anInt1232 = 1073741823; - i_14_ = anInt1225; - i_15_ = anInt1216; - i_16_ = anInt1229; - } else { - i_14_ = anInt1225 - i; - i_15_ = anInt1216 - i_11_; - i_16_ = anInt1229 - i_12_; - this.anInt1232 = (int) Math.sqrt(i_14_ * i_14_ + i_15_ * i_15_ + i_16_ * i_16_); - if (this.anInt1232 == 0) this.anInt1232 = 1; - i_14_ = (i_14_ << 8) / this.anInt1232; - i_15_ = (i_15_ << 8) / this.anInt1232; - i_16_ = (i_16_ << 8) / this.anInt1232; - } - int i_17_ = (int) (Math.sqrt(i_14_ * i_14_ + i_15_ * i_15_ + i_16_ * i_16_) * 256.0); - if (i_17_ > 128) { - i_14_ = (i_14_ << 16) / i_17_; - i_15_ = (i_15_ << 16) / i_17_; - i_16_ = (i_16_ << 16) / i_17_; - anInt1217 = anInt1218 * i_13_ / (aBoolean1223 ? 1024 : this.anInt1232); - } else anInt1217 = 0; - if (anInt1217 < 8) { - aClass105_1221 = null; - return false; - } - int i_18_ = Class33.method340(anInt1217, (byte) 108); - if (i_18_ > i_13_) i_18_ = Class348_Sub40_Sub1.method3051(i_13_, 4096); - if (i_18_ > 512) i_18_ = 512; - if (i_18_ != anInt1220) anInt1220 = i_18_; - anInt1231 = (int) (Math.asin((float) i_15_ / 256.0F) * 2607.5945876176133) & 0x3fff; - anInt1219 = (int) (Math.atan2(i_14_, -i_16_) * 2607.5945876176133) & 0x3fff; - aClass105_1221 = null; - return true; - } - - final void method734() { - aClass105_1221 = null; - } - - private final void method735(ha var_ha, Class72 class72_19_) { - method738(var_ha); - method732(var_ha); - var_ha.K(anIntArray1226); - var_ha.KA(0, 0, anInt1220, anInt1220); - var_ha.ya(); - var_ha.aa(0, 0, anInt1220, anInt1220, ~0xffffff | anInt1222, 0); - int i = 0; - int i_20_ = 0; - int i_21_ = 256; - if (class72_19_ != null) { - if (class72_19_.aBoolean1223) { - i = -class72_19_.anInt1225; - i_20_ = -class72_19_.anInt1216; - i_21_ = -class72_19_.anInt1229; - } else { - i = class72_19_.anInt1225 - anInt1225; - i_20_ = class72_19_.anInt1216 - anInt1216; - i_21_ = class72_19_.anInt1229 - anInt1229; - } - } - if (anInt1231 != 0) { - int i_22_ = Class70.anIntArray1207[anInt1231]; - int i_23_ = Class70.anIntArray1204[anInt1231]; - int i_24_ = i_20_ * i_23_ - i_21_ * i_22_ >> 14; - i_21_ = i_20_ * i_22_ + i_21_ * i_23_ >> 14; - i_20_ = i_24_; - } - if (anInt1219 != 0) { - int i_25_ = Class70.anIntArray1207[anInt1219]; - int i_26_ = Class70.anIntArray1204[anInt1219]; - int i_27_ = i_21_ * i_25_ + i * i_26_ >> 14; - i_21_ = i_21_ * i_26_ - i * i_25_ >> 14; - i = i_27_; - } - Class64 class64 = aClass64_1227.method614((byte) 0, 51200, true); - class64.aa((short) 0, (short) anInt1224); - var_ha.xa(1.0F); - var_ha.ZA(16777215, 1.0F, 1.0F, (float) i, (float) i_20_, (float) i_21_); - int i_28_ = 1024 * anInt1220 / (class64.RA() - class64.V()); - if (anInt1222 != 0) i_28_ = i_28_ * 13 / 16; - var_ha.DA(anInt1220 / 2, anInt1220 / 2, i_28_, i_28_); - var_ha.method3638(var_ha.method3654()); - Class101 class101 = var_ha.method3654(); - class101.method894(0, 0, var_ha.i() - class64.HA()); - class64.method608(class101, null, 1024, 1); - int i_29_ = anInt1220 * 13 / 16; - int i_30_ = (anInt1220 - i_29_) / 2; - aClass105_1215.method970(i_30_, i_30_, i_29_, i_29_, 0, ~0xffffff | anInt1222, 1); - aClass105_1221 = var_ha.method3683(0, 0, anInt1220, anInt1220, true); - var_ha.ya(); - var_ha.aa(0, 0, anInt1220, anInt1220, 0, 0); - aClass105_1228.method970(0, 0, anInt1220, anInt1220, 1, 0, 0); - aClass105_1221.method968(0, 0, 0); - var_ha.KA(anIntArray1226[0], anIntArray1226[1], anIntArray1226[2], anIntArray1226[3]); - } - - final boolean method736(ha var_ha, Class72 class72_31_) { - return aClass105_1221 != null || method730(var_ha, class72_31_); - } - - final void method737(ha var_ha, int i, int i_32_, int i_33_, int i_34_, int i_35_, int i_36_) { - if (aClass105_1221 != null) { - int i_37_ = anInt1231 - i_35_ & 0x3fff; - int i_38_ = anInt1219 - i_36_ & 0x3fff; - if (i_38_ > 8192) i_38_ -= 16384; - if (i_37_ > 8192) i_37_ -= 16384; - int i_39_ = i_37_ * i_34_ / 4096 + (i_34_ - anInt1217) / 2; - int i_40_ = i_38_ * i_34_ / -4096 + (i_33_ - anInt1217) / 2; - if (i_39_ < i_34_ && i_39_ + anInt1217 > 0 && i_40_ < i_33_ && i_40_ + anInt1217 > 0) aClass105_1221.method973(i_40_ + i, i_39_ + i_32_, anInt1217, anInt1217); - } - } - - private static final void method738(ha var_ha) { - if (aClass64_1227 == null) { - Class124 class124 = new Class124(580, 1104, 1); - class124.method1105(109, (byte) 0, (byte) 0, (short) 0, (short) 1024, (byte) 0, (short) 0, (short) 32767, (short) 1024, (short) 1024); - class124.method1101(128, 0, 0, -93); - class124.method1101(-128, 0, 0, 108); - for (int i = 0; i <= 24; i++) { - int i_41_ = i * 8192 / 24; - int i_42_ = Class70.anIntArray1207[i_41_]; - int i_43_ = Class70.anIntArray1204[i_41_]; - for (int i_44_ = 1; i_44_ < 24; i_44_++) { - int i_45_ = i_44_ * 8192 / 24; - int i_46_ = Class70.anIntArray1204[i_45_] >> 7; - int i_47_ = Class70.anIntArray1207[i_45_] * i_42_ >> 21; - int i_48_ = Class70.anIntArray1207[i_45_] * i_43_ >> 21; - class124.method1101(i_46_, -i_47_, i_48_, 127); - } - if (i > 0) { - int i_49_ = i * 23 + 2; - int i_50_ = i_49_ - 23; - class124.method1102(0, (byte) 0, (byte) 0, (short) 0, (byte) 52, (short) 127, i_50_, (byte) 0, i_49_); - for (int i_51_ = 1; i_51_ < 23; i_51_++) { - int i_52_ = i_50_ + 1; - int i_53_ = i_49_ + 1; - class124.method1102(i_50_, (byte) 0, (byte) 0, (short) 0, (byte) 41, (short) 127, i_52_, (byte) 0, i_49_); - class124.method1102(i_52_, (byte) 0, (byte) 0, (short) 0, (byte) 67, (short) 127, i_53_, (byte) 0, i_49_); - i_50_ = i_52_; - i_49_ = i_53_; - } - class124.method1102(i_49_, (byte) 0, (byte) 0, (short) 0, (byte) 98, (short) 127, i_50_, (byte) 0, 1); - } - } - class124.anInt1821 = class124.anInt1836; - class124.anIntArray1824 = null; - class124.anIntArray1868 = null; - class124.aByteArray1839 = null; - aClass64_1227 = var_ha.method3625(class124, 51200, 33, 64, 768); - } - } - - static final void method739() { - aClass64_1227 = null; - aClass105_1228 = null; - } - - Class72(int i, int i_54_, int i_55_, int i_56_, int i_57_, int i_58_, int i_59_, boolean bool) { - anInt1225 = i_55_; - anInt1216 = i_56_; - anInt1229 = i_57_; - aBoolean1223 = bool; - anInt1224 = i_54_; - anInt1222 = i_59_; - anInt1218 = i_58_; - anInt1230 = i; - } - - private final void method740(ha var_ha, Class72 class72_60_) { - Class124 class124 = Class300.method2277(0, Class260.aClass45_3309, anInt1224, -1); - if (class124 != null) { - var_ha.K(anIntArray1226); - var_ha.KA(0, 0, anInt1220, anInt1220); - var_ha.aa(0, 0, anInt1220, anInt1220, 0, 0); - int i = 0; - int i_61_ = 0; - int i_62_ = 256; - if (class72_60_ != null) { - if (class72_60_.aBoolean1223) { - i = -class72_60_.anInt1225; - i_61_ = -class72_60_.anInt1216; - i_62_ = -class72_60_.anInt1229; - } else { - i = anInt1225 - class72_60_.anInt1225; - i_61_ = anInt1216 - class72_60_.anInt1216; - i_62_ = anInt1229 - class72_60_.anInt1229; - } - } - if (anInt1231 != 0) { - int i_63_ = -anInt1231 & 0x3fff; - int i_64_ = Class70.anIntArray1207[i_63_]; - int i_65_ = Class70.anIntArray1204[i_63_]; - int i_66_ = i_61_ * i_65_ - i_62_ * i_64_ >> 14; - i_62_ = i_61_ * i_64_ + i_62_ * i_65_ >> 14; - i_61_ = i_66_; - } - if (anInt1219 != 0) { - int i_67_ = -anInt1219 & 0x3fff; - int i_68_ = Class70.anIntArray1207[i_67_]; - int i_69_ = Class70.anIntArray1204[i_67_]; - int i_70_ = i_62_ * i_68_ + i * i_69_ >> 14; - i_62_ = i_62_ * i_69_ - i * i_68_ >> 14; - i = i_70_; - } - var_ha.xa(1.0F); - var_ha.ZA(16777215, 1.0F, 1.0F, (float) i, (float) i_61_, (float) i_62_); - Class64 class64 = var_ha.method3625(class124, 2048, 0, 64, 768); - int i_71_ = class64.RA() - class64.V(); - int i_72_ = class64.EA() - class64.fa(); - int i_73_ = class64.V() + i_71_ / 2; - int i_74_ = class64.fa() + i_72_ / 2; - int i_75_ = Math.max(i_71_, i_72_); - var_ha.DA(i_73_, i_74_, i_75_, i_75_); - var_ha.method3638(var_ha.method3654()); - Class101 class101 = var_ha.method3705(); - class101.method894(0, 0, var_ha.i() - class64.HA()); - class64.method608(class101, null, var_ha.i(), 1); - aClass105_1221 = var_ha.method3683(0, 0, anInt1220, anInt1220, true); - aClass105_1221.method968(0, 0, 3); - var_ha.KA(anIntArray1226[0], anIntArray1226[1], anIntArray1226[2], anIntArray1226[3]); - } - } -} diff --git a/client/src/Class73.java b/client/src/Class73.java deleted file mode 100644 index fd79f5c6a..000000000 --- a/client/src/Class73.java +++ /dev/null @@ -1,76 +0,0 @@ -/* Class73 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class73 implements Interface7 { - static float[] aFloatArray4772; - static int anInt4773; - static int anInt4774; - static int anInt4775; - static int anInt4776; - static int anInt4777; - private final String aString4778; - static Class114 aClass114_4779; - static int[] anIntArray4780; - static int anInt4781; - static Class219 aClass219_4782; - static long aLong4783 = 20000000L; - static int anInt4784; - private final Class45 aClass45_4785; - static int anInt4786; - - public static void method741(byte i) { - aFloatArray4772 = null; - anIntArray4780 = null; - if (i != -128) method743(113, -98); - aClass114_4779 = null; - aClass219_4782 = null; - } - - static final Class189 method742(int i, int i_0_) { - anInt4777++; - Class189 class189 = (Class189) Class217.aClass60_2844.method583(i_0_, -104); - if (class189 != null) return class189; - byte[] is = Class369_Sub3.aClass45_8601.method410(-1860, 0, i_0_); - if (i != 104) method741((byte) 98); - class189 = new Class189(); - if (is != null) class189.method1419(i_0_, new Class348_Sub49(is), (byte) 64); - Class217.aClass60_2844.method582(class189, i_0_, (byte) -114); - return class189; - } - - public final int method31(int i) { - int i_1_ = -62 / ((i - -43) / 62); - anInt4774++; - if (aClass45_4785.method416((byte) -74, aString4778)) return 100; - return 0; - } - - static final void method743(int i, int i_2_) { - anInt4775++; - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i_2_, (byte) 105, i);//9 - class348_sub42_sub15.method3251(i ^ ~0x3eb0); - } - - public final Class69 method32(int i) { - anInt4781++; - if (i != -15004) aFloatArray4772 = null; - return Class69.aClass69_1197; - } - - Class73(Class45 class45, String string) { - try { - aClass45_4785 = class45; - aString4778 = string; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("kk.(" + (class45 != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ')')); - } - } - - static { - anInt4776 = 0; - aFloatArray4772 = new float[16]; - anIntArray4780 = new int[]{104, 120, 136, 168}; - aClass114_4779 = new Class114(76, 6); - } -} diff --git a/client/src/Class74.java b/client/src/Class74.java deleted file mode 100644 index 4dda7337c..000000000 --- a/client/src/Class74.java +++ /dev/null @@ -1,25 +0,0 @@ -/* Class74 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class74 { - static int[] anIntArray1233 = new int[1024]; - static Class114 aClass114_1234 = new Class114(54, 4); - static int anInt1235; - static boolean aBoolean1236 = false; - - public final String toString() { - anInt1235++; - throw new IllegalStateException(); - } - - public static void method744(byte i) { - aClass114_1234 = null; - anIntArray1233 = null; - if (i < 87) method744((byte) -102); - } - - Class74(int i, int i_0_) { - /* empty */ - } -} diff --git a/client/src/Class75.java b/client/src/Class75.java deleted file mode 100644 index d5fdcdbba..000000000 --- a/client/src/Class75.java +++ /dev/null @@ -1,808 +0,0 @@ -/* Class75 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -class Class75 { - static Class45 aClass45_1237; - static Class153 aClass153_1238; - private static Class268 aClass268_1239; - private static Class183 aClass183_1240; - private static Class356 aClass356_1241 = new Class356(16); - static Class141 aClass141_1242; - static Class348_Sub42_Sub14 aClass348_Sub42_Sub14_1243; - static Interface17 anInterface17_1244; - static Class263 aClass263_1245; - static Class252 aClass252_1246; - static float aFloat1247; - private static byte[] aByteArray1248; - static float aFloat1249; - static int anInt1250; - static byte[][][] aByteArrayArrayArray1251; - private static short[] aShortArray1252; - static int anInt1253 = (int) (Math.random() * 17.0) - 8; - static Class262 aClass262_1254; - static int anInt1255; - private static byte[] aByteArray1256; - static int anInt1257; - private static byte[] aByteArray1258; - static int anInt1259; - private static int[] anIntArray1260; - private static short[] aShortArray1261; - static int anInt1262; - static int anInt1263; - private static byte[] aByteArray1264; - static int anInt1265; - static int anInt1266; - static int anInt1267; - static int anInt1268; - private static Class243[][][] aClass243ArrayArrayArray1269; - private static short[] aShortArray1270; - private static Class356 aClass356_1271; - static int anInt1272; - private static byte[] aByteArray1273; - static int anInt1274; - private static byte[] aByteArray1275; - static int anInt1276; - static int anInt1277; - - static final void method745(ha var_ha, Class348_Sub21 class348_sub21, Class42 class42) { - if (class42.anIntArray591 != null) { - int[] is = new int[class42.anIntArray591.length]; - for (int i = 0; i < is.length / 2; i++) { - int i_0_ = (class42.anIntArray591[i * 2] + class348_sub21.anInt6852); - int i_1_ = (class42.anIntArray591[i * 2 + 1] + class348_sub21.anInt6851); - is[i * 2] = anInt1272 + ((anInt1276 - anInt1272) * (i_0_ - anInt1274) / (anInt1265 - anInt1274)); - is[i * 2 + 1] = anInt1268 - ((anInt1268 - anInt1262) * (i_1_ - anInt1257) / (anInt1277 - anInt1257)); - } - Class329.method2620(var_ha, is, class42.anInt582); - if (class42.anInt584 > 0) { - for (int i = 0; i < is.length / 2 - 1; i++) { - int i_2_ = is[i * 2]; - int i_3_ = is[i * 2 + 1]; - int i_4_ = is[(i + 1) * 2]; - int i_5_ = is[(i + 1) * 2 + 1]; - if (i_4_ < i_2_) { - int i_6_ = i_2_; - int i_7_ = i_3_; - i_2_ = i_4_; - i_3_ = i_5_; - i_4_ = i_6_; - i_5_ = i_7_; - } else if (i_4_ == i_2_ && i_5_ < i_3_) { - int i_8_ = i_3_; - i_3_ = i_5_; - i_5_ = i_8_; - } - var_ha.method3674(i_2_, i_3_, i_4_, i_5_, (class42.anIntArray572[(class42.aByteArray564[i] & 0xff)]), 1, class42.anInt584, class42.anInt575, class42.anInt601); - } - int i = is[is.length - 2]; - int i_9_ = is[is.length - 1]; - int i_10_ = is[0]; - int i_11_ = is[1]; - if (i_10_ < i) { - int i_12_ = i; - int i_13_ = i_9_; - i = i_10_; - i_9_ = i_11_; - i_10_ = i_12_; - i_11_ = i_13_; - } else if (i_10_ == i && i_11_ < i_9_) { - int i_14_ = i_9_; - i_9_ = i_11_; - i_11_ = i_14_; - } - var_ha.method3674(i, i_9_, i_10_, i_11_, (class42.anIntArray572[(class42.aByteArray564[(class42.aByteArray564.length - 1)]) & 0xff]), 1, class42.anInt584, class42.anInt575, class42.anInt601); - } else { - for (int i = 0; i < is.length / 2 - 1; i++) - var_ha.method3645(is[i * 2 + 1], is[i * 2], is[(i + 1) * 2], -8003, (class42.anIntArray572[(class42.aByteArray564[i] & 0xff)]), is[(i + 1) * 2 + 1]); - var_ha.method3645(is[is.length - 1], is[is.length - 2], is[0], -8003, (class42.anIntArray572[(class42.aByteArray564[(class42.aByteArray564.length - 1)]) & 0xff]), is[1]); - } - } - } - - public static void method746() { - aClass268_1239 = null; - aClass183_1240 = null; - aClass263_1245 = null; - aClass153_1238 = null; - aClass141_1242 = null; - anInterface17_1244 = null; - aClass348_Sub42_Sub14_1243 = null; - aClass45_1237 = null; - aClass356_1241 = null; - aByteArrayArrayArray1251 = null; - aShortArray1252 = null; - aByteArray1248 = null; - aClass252_1246 = null; - aClass262_1254 = null; - anIntArray1260 = null; - aByteArray1273 = null; - aByteArray1264 = null; - aShortArray1270 = null; - aByteArray1256 = null; - aByteArray1275 = null; - aShortArray1261 = null; - aByteArray1258 = null; - aClass356_1271 = null; - aClass243ArrayArrayArray1269 = null; - } - - private static final void method747(ha var_ha, Class348_Sub21 class348_sub21, int i, int i_15_, int i_16_, int i_17_) { - class348_sub21.anInt6853 = (anInt1272 + (i_16_ + i * (class348_sub21.anInt6852 - anInt1274) >> 16)); - class348_sub21.anInt6855 = (anInt1268 - (i_17_ + i_15_ * (class348_sub21.anInt6851 - anInt1257) >> 16)); - } - - static final void method748(ha var_ha) { - int i = anInt1265 - anInt1274; - int i_18_ = anInt1277 - anInt1257; - int i_19_ = (anInt1276 - anInt1272 << 16) / i; - int i_20_ = (anInt1268 - anInt1262 << 16) / i_18_; - method765(var_ha, i_19_, i_20_, 0, 0); - } - - static final void method749() { - aByteArray1273 = null; - aByteArray1264 = null; - aShortArray1270 = null; - aByteArray1256 = null; - aByteArray1275 = null; - aShortArray1261 = null; - aByteArray1258 = null; - aClass356_1271 = null; - aClass243ArrayArrayArray1269 = null; - anIntArray1260 = null; - } - - private static final void method750(ha var_ha, Class348_Sub49 class348_sub49, int i, int i_21_, int i_22_, int i_23_, int[] is, int[] is_24_) { - int i_25_ = class348_sub49.readUnsignedByte(255); - if ((i_25_ & 0x1) == 0) { - boolean bool = (i_25_ & 0x2) == 0; - int i_26_ = i_25_ >> 2 & 0x3f; - if (i_26_ != 62) { - if (i_26_ == 63) i_26_ = class348_sub49.readUnsignedByte(255); - else if (bool) i_26_ = is[i_26_]; - else i_26_ = is_24_[i_26_]; - if (bool) { - aByteArray1273[i_22_ + i_23_ * anInt1259] = (byte) i_26_; - aByteArray1256[i_22_ + i_23_ * anInt1259] = (byte) 0; - } else { - aByteArray1256[i_22_ + i_23_ * anInt1259] = (byte) i_26_; - aByteArray1275[i_22_ + i_23_ * anInt1259] = (byte) 0; - aByteArray1273[i_22_ + i_23_ * anInt1259] = class348_sub49.readByte(-115); - } - } - } else { - int i_27_ = (i_25_ >> 1 & 0x3) + 1; - boolean bool = (i_25_ & 0x8) != 0; - boolean bool_28_ = (i_25_ & 0x10) != 0; - for (int i_29_ = 0; i_29_ < i_27_; i_29_++) { - int i_30_ = class348_sub49.readUnsignedByte(255); - int i_31_ = 0; - int i_32_ = 0; - if (bool) { - i_31_ = class348_sub49.readUnsignedByte(255); - i_32_ = class348_sub49.readUnsignedByte(255); - } - int i_33_ = 0; - if (bool_28_) i_33_ = class348_sub49.readUnsignedByte(255); - if (i_29_ == 0) { - aByteArray1273[i_22_ + i_23_ * anInt1259] = (byte) i_30_; - aByteArray1256[i_22_ + i_23_ * anInt1259] = (byte) i_31_; - aByteArray1275[i_22_ + i_23_ * anInt1259] = (byte) i_32_; - if (i_33_ == 1) { - aShortArray1261[i_22_ + i_23_ * anInt1259] = (short) (class348_sub49.readUnsignedShort(842397944) + 1); - aByteArray1258[i_22_ + i_23_ * anInt1259] = class348_sub49.readByte(-122); - } else if (i_33_ > 1) { - aShortArray1261[i_22_ + i_23_ * anInt1259] = (short) -1; - short[] is_34_ = new short[i_33_]; - byte[] is_35_ = new byte[i_33_]; - for (int i_36_ = 0; i_36_ < i_33_; i_36_++) { - is_34_[i_36_] = (short) class348_sub49.readUnsignedShort(842397944); - is_35_[i_36_] = class348_sub49.readByte(-120); - } - aClass356_1271.method3483((byte) 33, i_22_ << 16 | i_23_, new Class348_Sub39(is_34_, is_35_)); - } - } else { - short[] is_37_ = null; - byte[] is_38_ = null; - if (i_33_ > 0) { - is_37_ = new short[i_33_]; - is_38_ = new byte[i_33_]; - for (int i_39_ = 0; i_39_ < i_33_; i_39_++) { - is_37_[i_39_] = (short) class348_sub49.readUnsignedShort(842397944); - is_38_[i_39_] = class348_sub49.readByte(-92); - } - } - if ((aClass243ArrayArrayArray1269[i_29_ - 1][i - (anInt1266 >> 6)][i_21_ - (anInt1263 >> 6)]) == null) aClass243ArrayArrayArray1269[i_29_ - 1][i - (anInt1266 >> 6)][i_21_ - (anInt1263 >> 6)] = new Class243(); - Class318_Sub8 class318_sub8 = new Class318_Sub8(i_22_ & 0x3f, i_23_ & 0x3f, i_30_, i_31_, i_32_, is_37_, is_38_); - aClass243ArrayArrayArray1269[i_29_ - 1][i - (anInt1266 >> 6)][i_21_ - (anInt1263 >> 6)].method1869(-86, class318_sub8); - } - } - } - } - - static final void method751(int i, int i_40_, int i_41_, int i_42_, int i_43_, int i_44_, int i_45_, int i_46_) { - anInt1274 = i - anInt1266; - anInt1277 = i_40_ - anInt1263; - anInt1265 = i_41_ - anInt1266; - anInt1257 = i_42_ - anInt1263; - anInt1272 = i_43_; - anInt1262 = i_44_; - anInt1276 = i_45_; - anInt1268 = i_46_; - } - - static final void method752(Class45 class45, Class268 class268, Class183 class183, Class263 class263, Class153 class153, Class141 class141, Interface17 interface17) { - aClass45_1237 = class45; - aClass268_1239 = class268; - aClass183_1240 = class183; - aClass263_1245 = class263; - aClass153_1238 = class153; - aClass141_1242 = class141; - anInterface17_1244 = interface17; - aClass356_1241.method3481(0); - int i = aClass45_1237.method417("details", 0); - int[] is = aClass45_1237.method396(i, 0); - if (is != null) { - for (int i_47_ = 0; i_47_ < is.length; i_47_++) { - Class348_Sub42_Sub14 class348_sub42_sub14 = Class150.method1205(is[i_47_], true, aClass45_1237, i); - aClass356_1241.method3483((byte) 25, class348_sub42_sub14.anInt9628, class348_sub42_sub14); - } - } - Class59_Sub2_Sub1.method566(true, false, (byte) 11); - } - - private static final void method753() { - for (int i = 0; i < anInt1259; i++) { - for (int i_48_ = 0; i_48_ < anInt1267; i_48_++) { - int i_49_ = aShortArray1261[i + i_48_ * anInt1259] & 0xffff; - if (i_49_ != 0) { - if (i_49_ == 65535) { - Class348_Sub39 class348_sub39 = ((Class348_Sub39) aClass356_1271.method3480(i << 16 | i_48_, -6008)); - if (class348_sub39 != null) { - for (int i_50_ = 0; i_50_ < (class348_sub39.aShortArray7024).length; i_50_++) { - Class51 class51 = (aClass263_1245.method2005(0, (class348_sub39.aShortArray7024[i_50_]) & 0xffff)); - int i_51_ = class51.anInt921; - if (class51.anIntArray945 != null) { - class51 = class51.method480(anInterface17_1244, (byte) 47); - if (class51 != null) i_51_ = class51.anInt921; - } - if (i_51_ != -1) { - Class348_Sub21 class348_sub21 = new Class348_Sub21(i_51_); - class348_sub21.anInt6852 = i; - class348_sub21.anInt6851 = i_48_; - aClass262_1254.method1999(class348_sub21, -20180); - } - } - } - } else { - Class51 class51 = aClass263_1245.method2005(0, i_49_ - 1); - int i_52_ = class51.anInt921; - if (class51.anIntArray945 != null) { - class51 = class51.method480(anInterface17_1244, (byte) 47); - if (class51 != null) i_52_ = class51.anInt921; - } - if (i_52_ != -1) { - Class348_Sub21 class348_sub21 = new Class348_Sub21(i_52_); - class348_sub21.anInt6852 = i; - class348_sub21.anInt6851 = i_48_; - aClass262_1254.method1999(class348_sub21, -20180); - } - } - } - } - } - for (int i = 0; i < 3; i++) { - for (int i_53_ = 0; i_53_ < aClass243ArrayArrayArray1269[0].length; i_53_++) { - for (int i_54_ = 0; i_54_ < aClass243ArrayArrayArray1269[0][0].length; i_54_++) { - Class243 class243 = aClass243ArrayArrayArray1269[i][i_53_][i_54_]; - if (class243 != null) { - for (Class318_Sub8 class318_sub8 = (Class318_Sub8) class243.method1872(8); class318_sub8 != null; class318_sub8 = ((Class318_Sub8) class243.method1878((byte) 127))) { - if (class318_sub8.aShortArray6461 != null) { - for (int i_55_ = 0; i_55_ < (class318_sub8.aShortArray6461).length; i_55_++) { - Class51 class51 = (aClass263_1245.method2005(0, (class318_sub8.aShortArray6461[i_55_]) & 0xffff)); - int i_56_ = class51.anInt921; - if (class51.anIntArray945 != null) { - class51 = (class51.method480(anInterface17_1244, (byte) 47)); - if (class51 != null) i_56_ = class51.anInt921; - } - if (i_56_ != -1) { - Class348_Sub21 class348_sub21 = new Class348_Sub21(i_56_); - class348_sub21.anInt6852 = ((i_53_ + (anInt1266 >> 6)) * 64 + class318_sub8.aByte6466 - anInt1266); - class348_sub21.anInt6851 = ((i_54_ + (anInt1263 >> 6)) * 64 + class318_sub8.aByte6464 - anInt1263); - aClass262_1254.method1999(class348_sub21, -20180); - } - } - } - } - } - } - } - } - } - - static final void method754(int i) { - aClass348_Sub42_Sub14_1243 = (Class348_Sub42_Sub14) aClass356_1241.method3480(i, -6008); - } - - private static final void method755(ha var_ha, int i, int i_57_, int i_58_, int i_59_, int i_60_, int i_61_, int i_62_, short[] is, byte[] is_63_, boolean bool) { - if (bool || i_60_ != 0 || i_61_ > 0) { - if (i_61_ == 0) var_ha.aa(i, i_57_, i_58_, i_59_, i_60_, 0); - else { - int i_64_ = i_62_ & 0x3f; - if (i_64_ == 0 || i_58_ <= 1 || i_59_ <= 1) { - int i_65_ = anIntArray1260[i_61_]; - if (bool || i_65_ != 0) var_ha.aa(i, i_57_, i_58_, i_59_, i_65_, 0); - } else { - int i_66_ = bool ? 0 : 1; - Class46.method424(anIntArray1260[i_61_], i_60_, var_ha, 0, i_66_, anInt1255, i_62_ >> 6 & 0x3, aByteArrayArrayArray1251, i_58_, i, i_64_, i_59_, i_57_); - } - } - } - if (is != null) { - int i_67_; - if (i_58_ == 1) i_67_ = i; - else i_67_ = i + i_58_ - 1; - int i_68_; - if (i_59_ == 1) i_68_ = i_57_; - else i_68_ = i_57_ + i_59_ - 1; - for (int i_69_ = 0; i_69_ < is.length; i_69_++) { - int i_70_ = is_63_[i_69_] & 0x3f; - if (i_70_ == 0 || i_70_ == 2 || i_70_ == 3 || i_70_ == 9) { - Class51 class51 = aClass263_1245.method2005(0, is[i_69_] & 0xffff); - if (class51.anInt875 == -1) { - int i_71_ = -3355444; - if (class51.anInt874 == 1) i_71_ = -3407872; - int i_72_ = is_63_[i_69_] >> 6 & 0x3; - if (i_70_ == 0) { - if (i_72_ == 0) var_ha.P(i, i_57_, i_59_, i_71_, 0); - else if (i_72_ == 1) var_ha.U(i, i_57_, i_58_, i_71_, 0); - else if (i_72_ == 2) var_ha.P(i_67_, i_57_, i_59_, i_71_, 0); - else var_ha.U(i, i_68_, i_58_, i_71_, 0); - } else if (i_70_ == 2) { - if (i_72_ == 0) { - var_ha.P(i, i_57_, i_59_, -1, 0); - var_ha.U(i, i_57_, i_58_, i_71_, 0); - } else if (i_72_ == 1) { - var_ha.P(i_67_, i_57_, i_59_, -1, 0); - var_ha.U(i, i_57_, i_58_, i_71_, 0); - } else if (i_72_ == 2) { - var_ha.P(i_67_, i_57_, i_59_, -1, 0); - var_ha.U(i, i_68_, i_58_, i_71_, 0); - } else { - var_ha.P(i, i_57_, i_59_, -1, 0); - var_ha.U(i, i_68_, i_58_, i_71_, 0); - } - } else if (i_70_ == 3) { - if (i_72_ == 0) var_ha.U(i, i_57_, 1, i_71_, 0); - else if (i_72_ == 1) var_ha.U(i_67_, i_57_, 1, i_71_, 0); - else if (i_72_ == 2) var_ha.U(i_67_, i_68_, 1, i_71_, 0); - else var_ha.U(i, i_68_, 1, i_71_, 0); - } else if (i_70_ == 9) { - if (i_72_ == 0 || i_72_ == 2) { - for (int i_73_ = 0; i_73_ < i_59_; i_73_++) - var_ha.U(i + i_73_, i_68_ - i_73_, 1, i_71_, 0); - } else { - for (int i_74_ = 0; i_74_ < i_59_; i_74_++) - var_ha.U(i + i_74_, i_57_ + i_74_, 1, i_71_, 0); - } - } - } - } - } - } - } - - static final void method756(ha var_ha, int i, int i_75_) { - Class348_Sub49 class348_sub49 = (new Class348_Sub49(aClass45_1237.method391((aClass348_Sub42_Sub14_1243.aString9625), "area", -29832))); - int i_76_ = class348_sub49.readUnsignedByte(255); - int[] is = new int[i_76_]; - for (int i_77_ = 0; i_77_ < i_76_; i_77_++) - is[i_77_] = class348_sub49.readUnsignedByte(255); - int i_78_ = class348_sub49.readUnsignedByte(255); - int[] is_79_ = new int[i_78_]; - for (int i_80_ = 0; i_80_ < i_78_; i_80_++) - is_79_[i_80_] = class348_sub49.readUnsignedByte(255); - while (class348_sub49.anInt7197 < class348_sub49.aByteArray7154.length) { - if (class348_sub49.readUnsignedByte(255) == 0) { - int i_81_ = class348_sub49.readUnsignedByte(255); - int i_82_ = class348_sub49.readUnsignedByte(255); - for (int i_83_ = 0; i_83_ < 64; i_83_++) { - for (int i_84_ = 0; i_84_ < 64; i_84_++) { - int i_85_ = i_81_ * 64 + i_83_ - anInt1266; - int i_86_ = i_82_ * 64 + i_84_ - anInt1263; - method750(var_ha, class348_sub49, i_81_, i_82_, i_85_, i_86_, is, is_79_); - } - } - } else { - int i_87_ = class348_sub49.readUnsignedByte(255); - int i_88_ = class348_sub49.readUnsignedByte(255); - int i_89_ = class348_sub49.readUnsignedByte(255); - int i_90_ = class348_sub49.readUnsignedByte(255); - for (int i_91_ = 0; i_91_ < 8; i_91_++) { - for (int i_92_ = 0; i_92_ < 8; i_92_++) { - int i_93_ = i_87_ * 64 + i_89_ * 8 + i_91_ - anInt1266; - int i_94_ = i_88_ * 64 + i_90_ * 8 + i_92_ - anInt1263; - method750(var_ha, class348_sub49, i_87_, i_88_, i_93_, i_94_, is, is_79_); - } - } - } - } - Object object = null; - aByteArray1264 = new byte[anInt1259 * anInt1267]; - aShortArray1270 = new short[anInt1259 * anInt1267]; - for (int i_95_ = 0; i_95_ < 3; i_95_++) { - byte[] is_96_ = new byte[anInt1259 * anInt1267]; - for (int i_97_ = 0; i_97_ < aClass243ArrayArrayArray1269[i_95_].length; i_97_++) { - for (int i_98_ = 0; i_98_ < aClass243ArrayArrayArray1269[i_95_][0].length; i_98_++) { - Class243 class243 = aClass243ArrayArrayArray1269[i_95_][i_97_][i_98_]; - if (class243 != null) { - for (Class318_Sub8 class318_sub8 = (Class318_Sub8) class243.method1872(8); class318_sub8 != null; class318_sub8 = ((Class318_Sub8) class243.method1878((byte) 1))) - is_96_[(i_97_ * 64 + class318_sub8.aByte6466 + (i_98_ * 64 + (class318_sub8.aByte6464)) * anInt1259)] = (byte) (class318_sub8.anInt6465); - } - } - } - method768(is_96_, aByteArray1264, aShortArray1270, i, i_75_); - for (int i_99_ = 0; i_99_ < aClass243ArrayArrayArray1269[i_95_].length; i_99_++) { - for (int i_100_ = 0; i_100_ < aClass243ArrayArrayArray1269[i_95_][0].length; i_100_++) { - Class243 class243 = aClass243ArrayArrayArray1269[i_95_][i_99_][i_100_]; - if (class243 != null) { - for (Class318_Sub8 class318_sub8 = (Class318_Sub8) class243.method1872(8); class318_sub8 != null; class318_sub8 = ((Class318_Sub8) class243.method1878((byte) 122))) { - int i_101_ = (i_99_ * 64 + class318_sub8.aByte6466 + (i_100_ * 64 + (class318_sub8.aByte6464)) * anInt1259); - class318_sub8.anInt6465 = ((aByteArray1264[i_101_] & 0xff) << 16 | aShortArray1270[i_101_] & 0xffff); - if (class318_sub8.anInt6465 != 0) class318_sub8.anInt6465 |= ~0xffffff; - } - } - } - } - } - method768(aByteArray1273, aByteArray1264, aShortArray1270, i, i_75_); - aByteArray1273 = null; - method753(); - } - - static final Class348_Sub42_Sub14 method757(int i) { - return ((Class348_Sub42_Sub14) aClass356_1241.method3480(i, -6008)); - } - - static final Class262 method758(ha var_ha) { - int i = anInt1265 - anInt1274; - int i_102_ = anInt1277 - anInt1257; - int i_103_ = (anInt1276 - anInt1272 << 16) / i; - int i_104_ = (anInt1268 - anInt1262 << 16) / i_102_; - return method762(var_ha, i_103_, i_104_, 0, 0); - } - - private static final int method759(d var_d, int i, int i_105_, int i_106_) { - Class277 class277 = aClass268_1239.method2034(i, false); - if (class277 == null) return 0; - int i_107_ = class277.anInt3575; - if (i_107_ >= 0 && var_d.method3(i_107_, -6662).aBoolean209) i_107_ = -1; - int i_108_; - if (class277.anInt3569 >= 0) { - int i_109_ = class277.anInt3569; - int i_110_ = (i_109_ & 0x7f) + i_106_; - if (i_110_ < 0) i_110_ = 0; - else if (i_110_ > 127) i_110_ = 127; - int i_111_ = (i_109_ + i_105_ & 0xfc00) + (i_109_ & 0x380) + i_110_; - i_108_ = ~0xffffff | (Class126.anIntArray4983[Class25.method303(Class35.method353(96, -119, i_111_), 30) & 0xffff]); - } else if (i_107_ >= 0) i_108_ = (~0xffffff | (Class126.anIntArray4983[(Class25.method303(Class35.method353(96, -85, (var_d.method3(i_107_, -6662).aShort208)), 30)) & 0xffff])); - else if (class277.anInt3563 == -1) i_108_ = 0; - else { - int i_112_ = class277.anInt3563; - int i_113_ = (i_112_ & 0x7f) + i_106_; - if (i_113_ < 0) i_113_ = 0; - else if (i_113_ > 127) i_113_ = 127; - int i_114_ = (i_112_ + i_105_ & 0xfc00) + (i_112_ & 0x380) + i_113_; - i_108_ = ~0xffffff | (Class126.anIntArray4983[Class25.method303(Class35.method353(96, -80, i_114_), 30) & 0xffff]); - } - return i_108_; - } - - static final void method760() { - aByteArray1273 = new byte[anInt1259 * anInt1267]; - aByteArray1256 = new byte[anInt1259 * anInt1267]; - aByteArray1275 = new byte[anInt1259 * anInt1267]; - aShortArray1261 = new short[anInt1259 * anInt1267]; - aByteArray1258 = new byte[anInt1259 * anInt1267]; - aClass356_1271 = new Class356(1024); - aClass243ArrayArrayArray1269 = new Class243[3][anInt1259 >> 6][anInt1267 >> 6]; - anIntArray1260 = new int[aClass268_1239.anInt3429 + 1]; - } - - static final void method761() { - int[] is = new int[3]; - for (int i = 0; i < aClass252_1246.anInt3241; i++) { - boolean bool = (aClass348_Sub42_Sub14_1243.method3236(is, (aClass252_1246.anIntArray3238[i] >> 14 & 0x3fff), aClass252_1246.anIntArray3238[i] & 0x3fff, aClass252_1246.anIntArray3238[i] >> 28 & 0x3, (byte) -28)); - if (bool) { - Class348_Sub21 class348_sub21 = new Class348_Sub21(aClass252_1246.anIntArray3239[i]); - class348_sub21.anInt6852 = is[1] - anInt1266; - class348_sub21.anInt6851 = is[2] - anInt1263; - aClass262_1254.method1999(class348_sub21, -20180); - } - } - } - - private static final Class262 method762(ha var_ha, int i, int i_115_, int i_116_, int i_117_) { - for (Class348_Sub21 class348_sub21 = (Class348_Sub21) aClass262_1254.method1995(4); class348_sub21 != null; class348_sub21 = (Class348_Sub21) aClass262_1254.method1990((byte) 74)) - method747(var_ha, class348_sub21, i, i_115_, i_116_, i_117_); - return aClass262_1254; - } - - private static final void method763(ha var_ha, int i, int i_118_, int i_119_, int i_120_, short[] is, byte[] is_121_) { - if (is != null) { - for (int i_122_ = 0; i_122_ < is.length; i_122_++) { - Class51 class51 = aClass263_1245.method2005(0, is[i_122_] & 0xffff); - int i_123_ = class51.anInt875; - if (i_123_ != -1) { - Class218 class218 = aClass141_1242.method1173((byte) 31, i_123_); - Class105 class105 = class218.method1596((class51.aBoolean912 ? is_121_[i_122_] >> 6 & 0x3 : 0), (class51.aBoolean925 && (class51.aBoolean902)), 125, var_ha); - if (class105 != null) { - int i_124_ = i_119_ * class105.method966() >> 2; - int i_125_ = i_120_ * class105.method980() >> 2; - if (class218.aBoolean2854) { - int i_126_ = class51.anInt961; - int i_127_ = class51.anInt926; - if ((is_121_[i_122_] >> 6 & 0x1) == 1) { - int i_128_ = i_126_; - i_126_ = i_127_; - i_127_ = i_128_; - } - i_124_ = i_126_ * i_119_; - i_125_ = i_127_ * i_120_; - } - if (i_124_ != 0 && i_125_ != 0) { - if (class218.anInt2856 != 0) class105.method970(i, i_118_ - i_125_ + i_120_, i_124_, i_125_, 0, (~0xffffff | (class218.anInt2856)), 1); - else class105.method973(i, i_118_ - i_125_ + i_120_, i_124_, i_125_); - } - } - } - } - } - } - - static final void method764(d var_d, int i, int i_129_) { - for (int i_130_ = 0; i_130_ < aClass268_1239.anInt3429; i_130_++) - anIntArray1260[i_130_ + 1] = method759(var_d, i_130_, i, i_129_); - } - - private static final void method765(ha var_ha, int i, int i_131_, int i_132_, int i_133_) { - int i_134_ = anInt1265 - anInt1274; - int i_135_ = anInt1277 - anInt1257; - if (anInt1265 < anInt1259) i_134_++; - if (anInt1277 < anInt1267) i_135_++; - for (int i_136_ = 0; i_136_ < i_134_; i_136_++) { - int i_137_ = (i_132_ + i * i_136_ >> 16) + anInt1272; - int i_138_ = (i_132_ + i * (i_136_ + 1) >> 16) + anInt1272; - int i_139_ = i_138_ - i_137_; - if (i_139_ > 0) { - int i_140_ = anInt1274 + i_136_; - if (i_140_ >= 0 && i_140_ < anInt1259) { - for (int i_146_ = 0; i_146_ < i_135_; i_146_++) { - int i_147_ = (anInt1268 - (i_133_ + i_131_ * (i_146_ + 1) >> 16)); - int i_148_ = anInt1268 - (i_133_ + i_131_ * i_146_ >> 16); - int i_149_ = i_148_ - i_147_; - if (i_149_ > 0) { - int i_150_ = i_146_ + anInt1257; - int i_151_ = i_140_ + i_150_ * anInt1259; - int i_152_ = 0; - int i_153_ = 0; - int i_154_ = 0; - if (i_150_ >= 0 && i_150_ < anInt1267) { - i_152_ = ((aByteArray1264[i_151_] & 0xff) << 16 | aShortArray1270[i_151_] & 0xffff); - if (i_152_ != 0) i_152_ |= ~0xffffff; - i_153_ = aByteArray1256[i_151_] & 0xff; - i_154_ = aShortArray1261[i_151_] & 0xffff; - } - if (i_152_ == 0 && i_153_ == 0 && i_154_ == 0) { - if (aClass348_Sub42_Sub14_1243.anInt9634 != -1) i_152_ = (~0xffffff | (aClass348_Sub42_Sub14_1243.anInt9634)); - else if ((i_136_ + anInt1274 & 0x4) != (i_146_ + anInt1277 & 0x4)) i_152_ = -11840664; - else i_152_ = (anIntArray1260[(aClass268_1239.anInt3447) + 1]); - if (i_152_ == 0) i_152_ = -16777216; - var_ha.aa(i_137_, i_147_, i_139_, i_149_, i_152_, 0); - } else if (i_154_ > 0) { - if (i_154_ == 65535) { - Class348_Sub39 class348_sub39 = ((Class348_Sub39) (aClass356_1271.method3480(i_140_ << 16 | i_150_, -6008))); - if (class348_sub39 != null) method755(var_ha, i_137_, i_147_, i_139_, i_149_, i_152_, i_153_, aByteArray1275[i_151_], (class348_sub39.aShortArray7024), (class348_sub39.aByteArray7025), true); - } else { - aShortArray1252[0] = (short) (i_154_ - 1); - aByteArray1248[0] = aByteArray1258[i_151_]; - method755(var_ha, i_137_, i_147_, i_139_, i_149_, i_152_, i_153_, aByteArray1275[i_151_], aShortArray1252, aByteArray1248, true); - } - } else method755(var_ha, i_137_, i_147_, i_139_, i_149_, i_152_, i_153_, aByteArray1275[i_151_], null, null, true); - } - } - } else { - for (int i_141_ = 0; i_141_ < i_135_; i_141_++) { - int i_142_ = (anInt1268 - (i_133_ + i_131_ * (i_141_ + 1) >> 16)); - int i_143_ = anInt1268 - (i_133_ + i_131_ * i_141_ >> 16); - int i_144_ = i_143_ - i_142_; - int i_145_; - if (aClass348_Sub42_Sub14_1243.anInt9634 != -1) i_145_ = ~0xffffff | (aClass348_Sub42_Sub14_1243.anInt9634); - else if ((i_136_ + anInt1274 & 0x4) != (i_141_ + anInt1277 & 0x4)) i_145_ = -11840664; - else i_145_ = anIntArray1260[(aClass268_1239.anInt3447) + 1]; - if (i_145_ == 0) i_145_ = -16777216; - var_ha.aa(i_137_, i_142_, i_139_, i_144_, i_145_, 0); - } - } - } - } - for (int i_155_ = -16; i_155_ < i_134_ + 16; i_155_++) { - int i_156_ = (i_132_ + i * i_155_ >> 16) + anInt1272; - int i_157_ = (i_132_ + i * (i_155_ + 1) >> 16) + anInt1272; - int i_158_ = i_157_ - i_156_; - if (i_158_ > 0) { - int i_159_ = i_155_ + anInt1274; - if (i_159_ >= 0 && i_159_ < anInt1259) { - for (int i_160_ = -16; i_160_ < i_135_ + 16; i_160_++) { - int i_161_ = (anInt1268 - (i_133_ + i_131_ * (i_160_ + 1) >> 16)); - int i_162_ = anInt1268 - (i_133_ + i_131_ * i_160_ >> 16); - int i_163_ = i_162_ - i_161_; - if (i_163_ > 0) { - int i_164_ = i_160_ + anInt1257; - if (i_164_ >= 0 && i_164_ < anInt1267) { - int i_165_ = ((aShortArray1261[i_159_ + i_164_ * anInt1259]) & 0xffff); - if (i_165_ > 0) { - if (i_165_ == 65535) { - Class348_Sub39 class348_sub39 = ((Class348_Sub39) (aClass356_1271.method3480(i_159_ << 16 | i_164_, -6008))); - if (class348_sub39 != null) method763(var_ha, i_156_, i_161_, i_158_, i_163_, (class348_sub39.aShortArray7024), (class348_sub39.aByteArray7025)); - } else { - aShortArray1252[0] = (short) (i_165_ - 1); - aByteArray1248[0] = (aByteArray1258[i_159_ + i_164_ * anInt1259]); - method763(var_ha, i_156_, i_161_, i_158_, i_163_, aShortArray1252, aByteArray1248); - } - } else method763(var_ha, i_156_, i_161_, i_158_, i_163_, null, null); - } - } - } - } - } - } - int i_166_ = anInt1274 >> 6; - int i_167_ = anInt1257 >> 6; - if (i_166_ < 0) i_166_ = 0; - if (i_167_ < 0) i_167_ = 0; - int i_168_ = anInt1265 >> 6; - int i_169_ = anInt1277 >> 6; - if (i_168_ >= aClass243ArrayArrayArray1269[0].length) i_168_ = aClass243ArrayArrayArray1269[0].length - 1; - if (i_169_ >= aClass243ArrayArrayArray1269[0][0].length) i_169_ = aClass243ArrayArrayArray1269[0][0].length - 1; - for (int i_170_ = 0; i_170_ < 3; i_170_++) { - for (int i_171_ = i_166_; i_171_ <= i_168_; i_171_++) { - for (int i_172_ = i_167_; i_172_ <= i_169_; i_172_++) { - Class243 class243 = aClass243ArrayArrayArray1269[i_170_][i_171_][i_172_]; - if (class243 != null) { - int i_173_ = (i_171_ + (anInt1266 >> 6)) * 64; - int i_174_ = (i_172_ + (anInt1263 >> 6)) * 64; - for (Class318_Sub8 class318_sub8 = (Class318_Sub8) class243.method1872(8); class318_sub8 != null; class318_sub8 = ((Class318_Sub8) class243.method1878((byte) -79))) { - int i_175_ = (i_173_ + class318_sub8.aByte6466 - anInt1266 - anInt1274); - int i_176_ = (i_174_ + class318_sub8.aByte6464 - anInt1263 - anInt1257); - int i_177_ = (i_132_ + i * i_175_ >> 16) + anInt1272; - int i_178_ = ((i_132_ + i * (i_175_ + 1) >> 16) + anInt1272); - int i_179_ = (anInt1268 - (i_133_ + i_131_ * (i_176_ + 1) >> 16)); - int i_180_ = anInt1268 - (i_133_ + i_131_ * i_176_ >> 16); - method755(var_ha, i_177_, i_179_, i_178_ - i_177_, i_180_ - i_179_, (class318_sub8.anInt6465), (class318_sub8.aByte6460) & 0xff, (class318_sub8.aByte6463), (class318_sub8.aShortArray6461), (class318_sub8.aByteArray6462), false); - } - } - } - } - for (int i_181_ = i_166_; i_181_ <= i_168_; i_181_++) { - for (int i_182_ = i_167_; i_182_ <= i_169_; i_182_++) { - Class243 class243 = aClass243ArrayArrayArray1269[i_170_][i_181_][i_182_]; - if (class243 != null) { - int i_183_ = (i_181_ + (anInt1266 >> 6)) * 64; - int i_184_ = (i_182_ + (anInt1263 >> 6)) * 64; - for (Class318_Sub8 class318_sub8 = (Class318_Sub8) class243.method1872(8); class318_sub8 != null; class318_sub8 = ((Class318_Sub8) class243.method1878((byte) -75))) { - int i_185_ = (i_183_ + class318_sub8.aByte6466 - anInt1266 - anInt1274); - int i_186_ = (i_184_ + class318_sub8.aByte6464 - anInt1263 - anInt1257); - int i_187_ = (i_132_ + i * i_185_ >> 16) + anInt1272; - int i_188_ = ((i_132_ + i * (i_185_ + 1) >> 16) + anInt1272); - int i_189_ = (anInt1268 - (i_133_ + i_131_ * (i_186_ + 1) >> 16)); - int i_190_ = anInt1268 - (i_133_ + i_131_ * i_186_ >> 16); - method763(var_ha, i_187_, i_189_, i_188_ - i_187_, i_190_ - i_189_, (class318_sub8.aShortArray6461), (class318_sub8.aByteArray6462)); - } - } - } - } - } - } - - static final Class348_Sub42_Sub14 method766(int i, int i_191_) { - for (Class348_Sub42_Sub14 class348_sub42_sub14 = (Class348_Sub42_Sub14) aClass356_1241.method3484(0); class348_sub42_sub14 != null; class348_sub42_sub14 = (Class348_Sub42_Sub14) aClass356_1241.method3482(0)) { - if (class348_sub42_sub14.aBoolean9639 && class348_sub42_sub14.method3238((byte) -120, i, i_191_)) return class348_sub42_sub14; - } - return null; - } - - static final Class107 method767(int i, int i_192_) { - Class107 class107 = new Class107(); - for (Class348_Sub42_Sub14 class348_sub42_sub14 = (Class348_Sub42_Sub14) aClass356_1241.method3484(0); class348_sub42_sub14 != null; class348_sub42_sub14 = (Class348_Sub42_Sub14) aClass356_1241.method3482(0)) { - if (class348_sub42_sub14.aBoolean9639 && class348_sub42_sub14.method3238((byte) 29, i, i_192_)) class107.method1005(true, class348_sub42_sub14); - } - return class107; - } - - private static final void method768(byte[] is, byte[] is_193_, short[] is_194_, int i, int i_195_) { - int[] is_196_ = new int[anInt1267]; - int[] is_197_ = new int[anInt1267]; - int[] is_198_ = new int[anInt1267]; - int[] is_199_ = new int[anInt1267]; - int[] is_200_ = new int[anInt1267]; - for (int i_201_ = -5; i_201_ < anInt1259; i_201_++) { - int i_202_ = i_201_ + 5; - int i_203_ = i_201_ - 5; - for (int i_204_ = 0; i_204_ < anInt1267; i_204_++) { - if (i_202_ < anInt1259) { - int i_205_ = is[i_202_ + i_204_ * anInt1259] & 0xff; - if (i_205_ > 0) { - Class22 class22 = aClass183_1240.method1380(true, i_205_ - 1); - is_196_[i_204_] += class22.anInt341; - is_197_[i_204_] += class22.anInt332; - is_198_[i_204_] += class22.anInt335; - is_199_[i_204_] += class22.anInt343; - is_200_[i_204_]++; - } - } - if (i_203_ >= 0) { - int i_206_ = is[i_203_ + i_204_ * anInt1259] & 0xff; - if (i_206_ > 0) { - Class22 class22 = aClass183_1240.method1380(true, i_206_ - 1); - is_196_[i_204_] -= class22.anInt341; - is_197_[i_204_] -= class22.anInt332; - is_198_[i_204_] -= class22.anInt335; - is_199_[i_204_] -= class22.anInt343; - is_200_[i_204_]--; - } - } - } - if (i_201_ >= 0) { - int i_207_ = 0; - int i_208_ = 0; - int i_209_ = 0; - int i_210_ = 0; - int i_211_ = 0; - for (int i_212_ = -5; i_212_ < anInt1267; i_212_++) { - int i_213_ = i_212_ + 5; - if (i_213_ < anInt1267) { - i_207_ += is_196_[i_213_]; - i_208_ += is_197_[i_213_]; - i_209_ += is_198_[i_213_]; - i_210_ += is_199_[i_213_]; - i_211_ += is_200_[i_213_]; - } - int i_214_ = i_212_ - 5; - if (i_214_ >= 0) { - i_207_ -= is_196_[i_214_]; - i_208_ -= is_197_[i_214_]; - i_209_ -= is_198_[i_214_]; - i_210_ -= is_199_[i_214_]; - i_211_ -= is_200_[i_214_]; - } - if (i_212_ >= 0 && i_211_ > 0) { - if ((is[i_201_ + i_212_ * anInt1259] & 0xff) == 0) { - int i_215_ = i_201_ + i_212_ * anInt1259; - is_193_[i_215_] = (byte) 0; - is_194_[i_215_] = (short) 0; - } else { - int i_216_ = (i_210_ == 0 ? 0 : Class247.method1890(i_209_ / i_211_, (byte) 76, i_208_ / i_211_, (i_207_ * 256 / i_210_))); - int i_217_ = (i_216_ & 0x7f) + i_195_; - if (i_217_ < 0) i_217_ = 0; - else if (i_217_ > 127) i_217_ = 127; - int i_218_ = ((i_216_ + i & 0xfc00) + (i_216_ & 0x380) + i_217_); - int i_219_ = i_201_ + i_212_ * anInt1259; - int i_220_ = (Class126.anIntArray4983[(Class25.method303(Class348_Sub49_Sub1.method3401(i_218_, 96, (byte) 76), 30)) & 0xffff]); - is_193_[i_219_] = (byte) (i_220_ >> 16 & 0xff); - is_194_[i_219_] = (short) (i_220_ & 0xffff); - } - } - } - } - } - } - - static { - aShortArray1252 = new short[1]; - anInt1250 = (int) (Math.random() * 11.0) - 5; - aByteArray1248 = new byte[1]; - aClass262_1254 = new Class262(); - } -} diff --git a/client/src/Class75_Sub1.java b/client/src/Class75_Sub1.java deleted file mode 100644 index 2dc60034e..000000000 --- a/client/src/Class75_Sub1.java +++ /dev/null @@ -1,35 +0,0 @@ -/* Class75_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class75_Sub1 extends Class75 { - static int anInt5652 = 1; - static int anInt5653; - static float aFloat5654 = 1.0F; - - static final void method769(int i, byte i_0_) { - anInt5653++; - if (i_0_ > 109 && Class320.method2547(i, (byte) 84)) Class348_Sub42_Sub4.method3180(-1, (Class348_Sub40_Sub33.aClass46ArrayArray9427[i]), 24235); - } - - static final void method770(int i, int i_1_, int i_2_, Class318_Sub1_Sub1 class318_sub1_sub1) { - Class357 class357 = Class348_Sub46.method3321(i, i_1_, i_2_); - if (class357 != null) { - class357.aClass318_Sub1_Sub1_4402 = class318_sub1_sub1; - int i_3_ = aa_Sub1.aSArray5191 == Class332.aSArray4142 ? 1 : 0; - if (class318_sub1_sub1.method2376(-93)) { - if (class318_sub1_sub1.method2377((byte) 122)) { - class318_sub1_sub1.aClass318_Sub1_6379 = Class250.aClass318_Sub1Array3226[i_3_]; - Class250.aClass318_Sub1Array3226[i_3_] = class318_sub1_sub1; - } else { - class318_sub1_sub1.aClass318_Sub1_6379 = Class348.aClass318_Sub1Array4293[i_3_]; - Class348.aClass318_Sub1Array4293[i_3_] = class318_sub1_sub1; - Class348_Sub16_Sub2.aBoolean8870 = true; - } - } else { - class318_sub1_sub1.aClass318_Sub1_6379 = Class115.aClass318_Sub1Array1754[i_3_]; - Class115.aClass318_Sub1Array1754[i_3_] = class318_sub1_sub1; - } - } - } -} diff --git a/client/src/Class76.java b/client/src/Class76.java deleted file mode 100644 index d160a80b7..000000000 --- a/client/src/Class76.java +++ /dev/null @@ -1,125 +0,0 @@ -/* Class76 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class76 { - static int anInt1278; - static Class364 aClass364_1279 = new Class364("LOCAL", 4); - static int anInt1280; - static int anInt1281; - Class243 aClass243_1282 = new Class243(); - boolean aBoolean1283 = false; - static int anInt1284; - static int anInt1285; - static Class169 aClass169_1286; - static float aFloat1287 = 1024.0F; - static int anInt1288; - - static final boolean method771(int i, byte i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int[] is, int i_5_) { - anInt1281++; - if (i_3_ > Class306.anInt3872) i_3_ = Class306.anInt3872; - if (i_4_ < 0) i_4_ = 0; - if (i_0_ != -25) anInt1288 = -32; - if (i_4_ >= i_3_) return true; - i_5_ += -1 + i_4_; - i_1_ += i * i_4_; - i_2_ = -i_4_ + i_3_ >> 2; - if (Class350.anInt4319 == 1) { - Class225.anInt2946 += i_2_; - while (--i_2_ >= 0) { - if (is[++i_5_] > i_1_) is[i_5_] = i_1_; - i_1_ += i; - if (is[++i_5_] > i_1_) is[i_5_] = i_1_; - i_1_ += i; - if (i_1_ < is[++i_5_]) is[i_5_] = i_1_; - i_1_ += i; - if (is[++i_5_] > i_1_) is[i_5_] = i_1_; - i_1_ += i; - } - i_2_ = 0x3 & i_3_ - i_4_; - while (--i_2_ >= 0) { - if (is[++i_5_] > i_1_) is[i_5_] = i_1_; - i_1_ += i; - } - } else { - i_1_ -= 38400; - while (--i_2_ >= 0) { - if (is[++i_5_] > i_1_) return false; - i_1_ += i; - if (is[++i_5_] > i_1_) return false; - i_1_ += i; - if (i_1_ < is[++i_5_]) return false; - i_1_ += i; - if (is[++i_5_] > i_1_) return false; - i_1_ += i; - } - i_2_ = 0x3 & i_3_ - i_4_; - while (--i_2_ >= 0) { - if (i_1_ < is[++i_5_]) return false; - i_1_ += i; - } - } - return true; - } - - public static void method772(byte i) { - aClass169_1286 = null; - aClass364_1279 = null; - if (i >= -110) method771(-68, (byte) 45, 58, 119, 101, -92, null, 79); - } - - static final void method773(boolean bool) { - Class348_Sub40_Sub10.aBoolean9181 = bool; - anInt1284++; - } - - final void method774(Class318_Sub4 class318_sub4, int i) { - anInt1280++; - Class318_Sub1 class318_sub1 = class318_sub4.aClass318_Sub1_6410; - boolean bool = true; - Class318_Sub3[] class318_sub3s = class318_sub4.aClass318_Sub3Array6414; - for (int i_6_ = 0; class318_sub3s.length > i_6_; i_6_++) { - if (class318_sub3s[i_6_].aBoolean6401) { - bool = false; - break; - } - } - if (!bool) { - if (this.aBoolean1283) { - for (Class318_Sub4 class318_sub4_7_ = ((Class318_Sub4) this.aClass243_1282.method1872(8)); class318_sub4_7_ != null; class318_sub4_7_ = (Class318_Sub4) this.aClass243_1282.method1878((byte) -103)) { - if (class318_sub1 == (class318_sub4_7_.aClass318_Sub1_6410)) { - class318_sub4_7_.method2373(false); - Class59_Sub1_Sub1.method560(class318_sub4_7_, -41); - } - } - } - for (Class318_Sub4 class318_sub4_8_ = ((Class318_Sub4) this.aClass243_1282.method1872(8)); class318_sub4_8_ != null; class318_sub4_8_ = (Class318_Sub4) this.aClass243_1282.method1878((byte) -44)) { - if (class318_sub1.anInt6389 >= class318_sub4_8_.aClass318_Sub1_6410.anInt6389) { - Class245.method1883(class318_sub4_8_, class318_sub4, true); - return; - } - } - if (i != 18802) aClass169_1286 = null; - this.aClass243_1282.method1869(-107, class318_sub4); - } - } - - final void method775(byte i) { - for (; ; ) { - Class318_Sub4 class318_sub4 = ((Class318_Sub4) this.aClass243_1282.method1875(60)); - if (class318_sub4 == null) break; - class318_sub4.method2373(false); - Class59_Sub1_Sub1.method560(class318_sub4, 123); - } - anInt1278++; - if (i != 69) anInt1288 = -20; - } - - Class76(boolean bool) { - this.aBoolean1283 = bool; - } - - static { - aClass169_1286 = new Class169(); - } -} diff --git a/client/src/Class77.java b/client/src/Class77.java deleted file mode 100644 index 9e2a1cab9..000000000 --- a/client/src/Class77.java +++ /dev/null @@ -1,216 +0,0 @@ -/* Class77 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class77 { - private int[] anIntArray1289; - static int anInt1290 = 0; - private int anInt1291; - private int anInt1292; - private int anInt1293; - private int anInt1294; - static int anInt1295; - private int[] anIntArray1296; - static int anInt1297; - static Class273 aClass273_1298 = new Class273("", 16); - static int anInt1299; - static int anInt1300; - static int anInt1301; - static int anInt1302; - static int[] anIntArray1303; - - static final boolean method776(int i, int i_0_, int i_1_) { - anInt1297++; - if (i_1_ != 65536) method780(-106, -24, 57); - boolean bool = ((i & 0x37) != 0 ? Class126.method1113(i_0_, i, -7) : Class348_Sub42_Sub8_Sub2.method3200(i_0_, i, (byte) 111)); - return bool | (Class274.method2058(i_0_, i, i_1_ ^ 0x1003d) | (0x10000 & i_0_) != 0); - } - - private Class77() { - /* empty */ - } - - Class77(int[] is) { - anIntArray1296 = new int[256]; - anIntArray1289 = new int[256]; - for (int i = 0; is.length > i; i++) - anIntArray1289[i] = is[i]; - method777(-94); - } - - private final void method777(int i) { - anInt1302++; - int i_3_; - int i_4_; - int i_5_; - int i_6_; - int i_7_; - int i_8_; - int i_9_; - int i_2_ = i_3_ = i_4_ = i_5_ = i_6_ = i_7_ = i_8_ = i_9_ = -1640531527; - for (int i_10_ = 0; i_10_ < 4; i_10_++) { - i_2_ ^= i_3_ << 11; - i_5_ += i_2_; - i_3_ += i_4_; - i_3_ ^= i_4_ >>> 2; - i_6_ += i_3_; - i_4_ += i_5_; - i_4_ ^= i_5_ << 8; - i_5_ += i_6_; - i_7_ += i_4_; - i_5_ ^= i_6_ >>> 16; - i_8_ += i_5_; - i_6_ += i_7_; - i_6_ ^= i_7_ << 10; - i_7_ += i_8_; - i_9_ += i_6_; - i_7_ ^= i_8_ >>> 4; - i_2_ += i_7_; - i_8_ += i_9_; - i_8_ ^= i_9_ << 8; - i_3_ += i_8_; - i_9_ += i_2_; - i_9_ ^= i_2_ >>> 9; - i_2_ += i_3_; - i_4_ += i_9_; - } - for (int i_11_ = 0; i_11_ < 256; i_11_ += 8) { - i_4_ += anIntArray1289[i_11_ - -2]; - i_9_ += anIntArray1289[i_11_ + 7]; - i_5_ += anIntArray1289[3 + i_11_]; - i_7_ += anIntArray1289[5 + i_11_]; - i_8_ += anIntArray1289[i_11_ - -6]; - i_3_ += anIntArray1289[1 + i_11_]; - i_6_ += anIntArray1289[4 + i_11_]; - i_2_ += anIntArray1289[i_11_]; - i_2_ ^= i_3_ << 11; - i_3_ += i_4_; - i_5_ += i_2_; - i_3_ ^= i_4_ >>> 2; - i_4_ += i_5_; - i_6_ += i_3_; - i_4_ ^= i_5_ << 8; - i_7_ += i_4_; - i_5_ += i_6_; - i_5_ ^= i_6_ >>> 16; - i_8_ += i_5_; - i_6_ += i_7_; - i_6_ ^= i_7_ << 10; - i_9_ += i_6_; - i_7_ += i_8_; - i_7_ ^= i_8_ >>> 4; - i_8_ += i_9_; - i_2_ += i_7_; - i_8_ ^= i_9_ << 8; - i_9_ += i_2_; - i_3_ += i_8_; - i_9_ ^= i_2_ >>> 9; - i_4_ += i_9_; - i_2_ += i_3_; - anIntArray1296[i_11_] = i_2_; - anIntArray1296[1 + i_11_] = i_3_; - anIntArray1296[i_11_ + 2] = i_4_; - anIntArray1296[i_11_ + 3] = i_5_; - anIntArray1296[i_11_ + 4] = i_6_; - anIntArray1296[i_11_ - -5] = i_7_; - anIntArray1296[i_11_ - -6] = i_8_; - anIntArray1296[i_11_ - -7] = i_9_; - } - int i_12_ = 0; - if (i > -72) anIntArray1296 = null; - for (/**/; i_12_ < 256; i_12_ += 8) { - i_4_ += anIntArray1296[2 + i_12_]; - i_5_ += anIntArray1296[i_12_ - -3]; - i_9_ += anIntArray1296[i_12_ + 7]; - i_7_ += anIntArray1296[i_12_ - -5]; - i_3_ += anIntArray1296[i_12_ + 1]; - i_8_ += anIntArray1296[6 + i_12_]; - i_2_ += anIntArray1296[i_12_]; - i_6_ += anIntArray1296[i_12_ - -4]; - i_2_ ^= i_3_ << 11; - i_5_ += i_2_; - i_3_ += i_4_; - i_3_ ^= i_4_ >>> 2; - i_6_ += i_3_; - i_4_ += i_5_; - i_4_ ^= i_5_ << 8; - i_7_ += i_4_; - i_5_ += i_6_; - i_5_ ^= i_6_ >>> 16; - i_8_ += i_5_; - i_6_ += i_7_; - i_6_ ^= i_7_ << 10; - i_7_ += i_8_; - i_9_ += i_6_; - i_7_ ^= i_8_ >>> 4; - i_8_ += i_9_; - i_2_ += i_7_; - i_8_ ^= i_9_ << 8; - i_3_ += i_8_; - i_9_ += i_2_; - i_9_ ^= i_2_ >>> 9; - i_4_ += i_9_; - i_2_ += i_3_; - anIntArray1296[i_12_] = i_2_; - anIntArray1296[i_12_ + 1] = i_3_; - anIntArray1296[2 + i_12_] = i_4_; - anIntArray1296[3 + i_12_] = i_5_; - anIntArray1296[4 + i_12_] = i_6_; - anIntArray1296[i_12_ - -5] = i_7_; - anIntArray1296[i_12_ + 6] = i_8_; - anIntArray1296[7 + i_12_] = i_9_; - } - method779(false); - anInt1292 = 256; - } - - final int method778(byte i) { - anInt1300++; - if (anInt1292 == 0) { - method779(false); - anInt1292 = 256; - } - if (i <= 12) return 116; - return anIntArray1289[anInt1292 - 1]; - } - - private final void method779(boolean bool) { - anInt1301++; - anInt1291 += ++anInt1294; - for (int i = 0; i < 256; i++) { - int i_13_ = anIntArray1296[i]; - if ((i & 0x2) != 0) { - if ((0x1 & i) == 0) anInt1293 ^= anInt1293 << 2; - else anInt1293 ^= anInt1293 >>> 16; - } else if ((0x1 & i) != 0) anInt1293 ^= anInt1293 >>> 6; - else anInt1293 ^= anInt1293 << 13; - anInt1293 += anIntArray1296[0xff & 128 + i]; - int i_14_; - anIntArray1296[i] = i_14_ = (anIntArray1296[Class139.method1166(255, i_13_ >> 2)] - (-anInt1293 - anInt1291)); - anIntArray1289[i] = anInt1291 = i_13_ + anIntArray1296[(Class139.method1166(261268, i_14_) >> 278777480 >> 242087490)]; - } - if (bool != false) method776(-33, -56, 52); - } - - static final boolean method780(int i, int i_15_, int i_16_) { - if (i_15_ != 0) return true; - anInt1299++; - return (0x400 & i_16_) != 0; - } - - final int method781(byte i) { - if (anInt1292 == 0) { - method779(false); - anInt1292 = 256; - } - anInt1295++; - if (i >= -47) method779(false); - return anIntArray1289[--anInt1292]; - } - - public static void method782(int i) { - anIntArray1303 = null; - if (i != 1) anInt1290 = 114; - aClass273_1298 = null; - } -} diff --git a/client/src/Class78.java b/client/src/Class78.java deleted file mode 100644 index 9520c1386..000000000 --- a/client/src/Class78.java +++ /dev/null @@ -1,249 +0,0 @@ -/* Class78 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.EOFException; -import java.io.File; -import java.io.IOException; - -final class Class78 { - static int anInt1304; - private final byte[] aByteArray1305; - static int anInt1306; - static int anInt1307; - static int anInt1308; - static int anInt1309; - static int anInt1310; - private final byte[] aByteArray1311; - private final Class234 aClass234_1312; - static int anInt1313; - private int anInt1314 = 0; - private long aLong1315; - static int anInt1316; - private long aLong1317; - static int anInt1318; - private long aLong1319 = -1L; - private int anInt1320; - private long aLong1321 = -1L; - static Class45 aClass45_1322; - private long aLong1323; - private long aLong1324; - - final void method783(int i, int i_0_, boolean bool, byte[] is) throws IOException { - anInt1310++; - try { - if (aLong1324 - -(long) i_0_ > aLong1323) aLong1323 = (long) i_0_ + aLong1324; - if (aLong1321 != -1 && (aLong1321 > aLong1324 || (aLong1324 > (long) anInt1314 + aLong1321))) method791(-1); - if (aLong1321 != -1L && (aLong1324 + (long) i_0_ > (long) aByteArray1305.length + aLong1321)) { - int i_1_ = (int) ((long) aByteArray1305.length + (aLong1321 + -aLong1324)); - Class214.method1577(is, i, aByteArray1305, (int) (-aLong1321 + aLong1324), i_1_); - i += i_1_; - i_0_ -= i_1_; - aLong1324 += i_1_; - anInt1314 = aByteArray1305.length; - method791(-1); - } - if (aByteArray1305.length < i_0_) { - if (aLong1315 != aLong1324) { - aClass234_1312.method1661(-18968, aLong1324); - aLong1315 = aLong1324; - } - aClass234_1312.method1658((byte) 115, i, i_0_, is); - aLong1315 += i_0_; - if (aLong1317 < aLong1315) aLong1317 = aLong1315; - long l = -1L; - if ((aLong1319 <= aLong1324) && (aLong1319 + (long) anInt1320 > aLong1324)) l = aLong1324; - else if ((aLong1324 <= aLong1319) && aLong1319 < aLong1324 - -(long) i_0_) l = aLong1319; - long l_2_ = -1L; - if ((long) i_0_ + aLong1324 > aLong1319 && (long) anInt1320 + aLong1319 >= aLong1324 + (long) i_0_) l_2_ = (long) i_0_ + aLong1324; - else if ((aLong1324 < (long) anInt1320 + aLong1319) && ((long) i_0_ + aLong1324 >= aLong1319 + (long) anInt1320)) l_2_ = (long) anInt1320 + aLong1319; - if (l > -1L && l_2_ > l) { - int i_3_ = (int) (l_2_ + -l); - Class214.method1577(is, (int) (-aLong1324 + l + (long) i), aByteArray1311, (int) (-aLong1319 + l), i_3_); - } - aLong1324 += i_0_; - return; - } - if (i_0_ > 0) { - if (aLong1321 == -1L) aLong1321 = aLong1324; - Class214.method1577(is, i, aByteArray1305, (int) (-aLong1321 + aLong1324), i_0_); - aLong1324 += i_0_; - if (aLong1324 + -aLong1321 > (long) anInt1314) anInt1314 = (int) (-aLong1321 + aLong1324); - return; - } - } catch (IOException ioexception) { - aLong1315 = -1L; - throw ioexception; - } - if (bool != true) anInt1314 = -69; - } - - final void method784(int i, byte[] is) throws IOException { - int i_4_ = -98 % ((1 - i) / 40); - method788(0, is, is.length, -16717); - anInt1313++; - } - - private final File method785(int i) { - anInt1316++; - if (i != -8659) method785(-88); - return aClass234_1312.method1660(i ^ ~0x2198); - } - - public static void method786(byte i) { - if (i != 0) aClass45_1322 = null; - aClass45_1322 = null; - } - - final long method787(int i) { - if (i != 0) return 26L; - anInt1318++; - return aLong1323; - } - - final void method788(int i, byte[] is, int i_5_, int i_6_) throws IOException { - anInt1307++; - try { - if (i_5_ + i > is.length) throw new ArrayIndexOutOfBoundsException(i + (i_5_ - is.length)); - if (i_6_ != -16717) return; - if (aLong1321 != -1 && aLong1324 >= aLong1321 && (aLong1324 - -(long) i_5_ <= (long) anInt1314 + aLong1321)) { - Class214.method1577(aByteArray1305, (int) (-aLong1321 + aLong1324), is, i, i_5_); - aLong1324 += i_5_; - return; - } - long l = aLong1324; - int i_7_ = i; - int i_8_ = i_5_; - if (aLong1324 >= aLong1319 && (aLong1319 - -(long) anInt1320 > aLong1324)) { - int i_9_ = (int) ((long) anInt1320 - (-aLong1319 + aLong1324)); - if (i_5_ < i_9_) i_9_ = i_5_; - Class214.method1577(aByteArray1311, (int) (aLong1324 + -aLong1319), is, i, i_9_); - aLong1324 += i_9_; - i_5_ -= i_9_; - i += i_9_; - } - if (i_5_ > aByteArray1311.length) { - aClass234_1312.method1661(i_6_ + -2251, aLong1324); - aLong1315 = aLong1324; - int i_10_; - for (/**/; i_5_ > 0; i_5_ -= i_10_) { - i_10_ = aClass234_1312.method1656(is, i, (byte) 8, i_5_); - if (i_10_ == -1) break; - i += i_10_; - aLong1315 += i_10_; - aLong1324 += i_10_; - } - } else if (i_5_ > 0) { - method792((byte) -46); - int i_11_ = i_5_; - if (anInt1320 < i_11_) i_11_ = anInt1320; - Class214.method1577(aByteArray1311, 0, is, i, i_11_); - i += i_11_; - aLong1324 += i_11_; - i_5_ -= i_11_; - } - if (aLong1321 != -1L) { - if (aLong1324 < aLong1321 && i_5_ > 0) { - int i_12_ = (int) (aLong1321 - aLong1324) + i; - if (i + i_5_ < i_12_) i_12_ = i + i_5_; - while (i_12_ > i) { - is[i++] = (byte) 0; - i_5_--; - aLong1324++; - } - } - long l_13_ = -1L; - if (aLong1321 < l || (l - -(long) i_8_ <= aLong1321)) { - if (aLong1321 <= l && l < aLong1321 - -(long) anInt1314) l_13_ = l; - } else l_13_ = aLong1321; - long l_14_ = -1L; - if ((long) anInt1314 + aLong1321 <= l || ((long) i_8_ + l < (long) anInt1314 + aLong1321)) { - if ((aLong1321 < l - -(long) i_8_) && ((long) anInt1314 + aLong1321 >= l - -(long) i_8_)) l_14_ = l + (long) i_8_; - } else l_14_ = aLong1321 - -(long) anInt1314; - if (l_13_ > -1L && (l_13_ < l_14_)) { - int i_15_ = (int) (l_14_ + -l_13_); - Class214.method1577(aByteArray1305, (int) (l_13_ + -aLong1321), is, i_7_ - -(int) (l_13_ - l), i_15_); - if (l_14_ > aLong1324) { - i_5_ -= -aLong1324 + l_14_; - aLong1324 = l_14_; - } - } - } - } catch (IOException ioexception) { - aLong1315 = -1L; - throw ioexception; - } - if (i_5_ > 0) throw new EOFException(); - } - - final void method789(long l, byte i) throws IOException { - try { - anInt1309++; - if (l < 0) throw new IOException("Invalid seek to " + l + " in file " + method785(-8659)); - int i_16_ = -67 / ((i - -49) / 34); - aLong1324 = l; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "l.A(" + l + ',' + i + ')'); - } - } - - final void method790(byte i) throws IOException { - anInt1304++; - method791(-1); - aClass234_1312.method1657(false); - int i_17_ = -26 % ((i - -7) / 51); - } - - private final void method791(int i) throws IOException { - if (i != -1) aLong1321 = 47L; - if (aLong1321 != -1) { - if (aLong1315 != aLong1321) { - aClass234_1312.method1661(-18968, aLong1321); - aLong1315 = aLong1321; - } - aClass234_1312.method1658((byte) 120, 0, anInt1314, aByteArray1305); - aLong1315 += anInt1314; - if (aLong1317 < aLong1315) aLong1317 = aLong1315; - long l = -1L; - long l_18_ = -1L; - if (aLong1319 <= aLong1321 && (aLong1321 < (long) anInt1320 + aLong1319)) l = aLong1321; - else if ((aLong1319 >= aLong1321) && (aLong1319 < aLong1321 - -(long) anInt1314)) l = aLong1319; - if (((long) anInt1314 + aLong1321 > aLong1319) && ((long) anInt1314 + aLong1321 <= (long) anInt1320 + aLong1319)) l_18_ = aLong1321 - -(long) anInt1314; - else if ((aLong1321 < aLong1319 + (long) anInt1320) && (aLong1319 + (long) anInt1320 <= (long) anInt1314 + aLong1321)) l_18_ = (long) anInt1320 + aLong1319; - if (l > -1 && l < l_18_) { - int i_19_ = (int) (-l + l_18_); - Class214.method1577(aByteArray1305, (int) (l - aLong1321), aByteArray1311, (int) (-aLong1319 + l), i_19_); - } - aLong1321 = -1L; - anInt1314 = 0; - } - anInt1308++; - } - - private final void method792(byte i) throws IOException { - anInt1320 = 0; - anInt1306++; - if (i != -46) method785(111); - if (aLong1315 != aLong1324) { - aClass234_1312.method1661(-18968, aLong1324); - aLong1315 = aLong1324; - } - aLong1319 = aLong1324; - while (anInt1320 < aByteArray1311.length) { - int i_20_ = -anInt1320 + aByteArray1311.length; - if (i_20_ > 200000000) i_20_ = 200000000; - int i_21_ = aClass234_1312.method1656(aByteArray1311, anInt1320, (byte) 125, i_20_); - if (i_21_ == -1) break; - anInt1320 += i_21_; - aLong1315 += i_21_; - } - } - - Class78(Class234 class234, int i, int i_22_) throws IOException { - aClass234_1312 = class234; - aLong1323 = aLong1317 = class234.method1662((byte) -46); - aByteArray1305 = new byte[i_22_]; - aByteArray1311 = new byte[i]; - aLong1324 = 0L; - } -} diff --git a/client/src/Class79.java b/client/src/Class79.java deleted file mode 100644 index 1a6d076fe..000000000 --- a/client/src/Class79.java +++ /dev/null @@ -1,743 +0,0 @@ -/* Class79 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class79 { - byte aByte1325; - static int anInt1326; - int anInt1327; - private short[] aShortArray1328; - int anInt1329; - private byte aByte1330; - boolean aBoolean1331; - static int anInt1332; - int anInt1333 = -1; - static int anInt1334; - int anInt1335; - int anInt1336; - int anInt1337; - int anInt1338; - short aShort1339; - int anInt1340; - static int anInt1341; - int[] anIntArray1342; - int anInt1343; - int anInt1344; - boolean aBoolean1345; - private int anInt1346; - byte aByte1347; - Class278 aClass278_1348; - String[] aStringArray1349; - short aShort1350 = 0; - static int anInt1351; - private short[] aShortArray1352; - byte aByte1353; - private int anInt1354; - byte aByte1355; - int anInt1356; - static int anInt1357; - private int anInt1358; - static int anInt1359 = 0; - private byte aByte1360; - int anInt1361; - boolean aBoolean1362; - int anInt1363; - int anInt1364; - static Class105 aClass105_1365; - int anInt1366; - static client aClient1367; - private int anInt1368; - boolean aBoolean1369; - boolean aBoolean1370; - int anInt1371; - String aString1372; - int anInt1373; - private byte[] aByteArray1374; - int anInt1375; - private byte aByte1376; - int[] anIntArray1377; - static int anInt1378; - static int anInt1379; - private int[] anIntArray1380; - boolean aBoolean1381; - int anInt1382; - int anInt1383; - byte aByte1384; - int anInt1385; - private Class356 aClass356_1386; - static int anInt1387; - private int[][] anIntArrayArray1388; - static int anInt1389; - int anInt1390; - private short[] aShortArray1391; - int anInt1392; - private short[] aShortArray1393; - static int anInt1394; - int anInt1395; - boolean aBoolean1396; - boolean aBoolean1397; - private int anInt1398; - int anInt1399; - static int anInt1400; - int anInt1401; - private int[] anIntArray1402; - static int anInt1403; - static int anInt1404; - private byte aByte1405; - private int anInt1406; - - final boolean method793(int i) { - anInt1403++; - if (this.anIntArray1377 == null) { - return this.anInt1343 != -1 || this.anInt1364 != -1 || this.anInt1327 != -1; - } - for (int i_0_ = i; this.anIntArray1377.length > i_0_; i_0_++) { - if (this.anIntArray1377[i_0_] != -1) { - Class79 class79_1_ = (this.aClass278_1348.method2079(this.anIntArray1377[i_0_], -1)); - if (class79_1_.anInt1343 != -1 || class79_1_.anInt1364 != -1 || class79_1_.anInt1327 != -1) return true; - } - } - return false; - } - - final Class79 method794(Interface17 interface17, int i) { - anInt1394++; - int i_2_ = i; - if (anInt1368 == -1) { - if (anInt1354 != -1) i_2_ = interface17.method61(anInt1354, (byte) -16); - } else i_2_ = interface17.method62(anInt1368, -65536); - if (i_2_ < 0 || (-1 + this.anIntArray1377.length <= i_2_) || this.anIntArray1377[i_2_] == -1) { - int i_3_ = (this.anIntArray1377[this.anIntArray1377.length - 1]); - if (i_3_ == -1) return null; - return this.aClass278_1348.method2079(i_3_, i); - } - return this.aClass278_1348.method2079(this.anIntArray1377[i_2_], -1); - } - - private final void method795(Class348_Sub49 class348_sub49, int i, int i_4_) { - if (i_4_ != 127) this.aBoolean1381 = true; - if (i == 1) { - int i_5_ = class348_sub49.readUnsignedByte(255); - anIntArray1402 = new int[i_5_]; - for (int i_6_ = 0; i_5_ > i_6_; i_6_++) { - anIntArray1402[i_6_] = class348_sub49.readUnsignedShort(842397944); - if (anIntArray1402[i_6_] == 65535) anIntArray1402[i_6_] = -1; - } - } else if (i != 2) { - if (i != 12) { - if (i < 30 || i >= 35) { - if (i == 40) { - int i_25_ = class348_sub49.readUnsignedByte(255); - aShortArray1328 = new short[i_25_]; - aShortArray1352 = new short[i_25_]; - for (int i_26_ = 0; i_26_ < i_25_; i_26_++) { - aShortArray1328[i_26_] = (short) class348_sub49.readUnsignedShort(842397944); - aShortArray1352[i_26_] = (short) class348_sub49.readUnsignedShort(842397944); - } - } else if (i == 41) { - int i_23_ = class348_sub49.readUnsignedByte(255); - aShortArray1393 = new short[i_23_]; - aShortArray1391 = new short[i_23_]; - for (int i_24_ = 0; i_24_ < i_23_; i_24_++) { - aShortArray1393[i_24_] = (short) class348_sub49.readUnsignedShort(842397944); - aShortArray1391[i_24_] = (short) class348_sub49.readUnsignedShort(842397944); - } - } else if (i == 42) { - int i_7_ = class348_sub49.readUnsignedByte(i_4_ ^ 0x80); - aByteArray1374 = new byte[i_7_]; - for (int i_8_ = 0; i_8_ < i_7_; i_8_++) - aByteArray1374[i_8_] = class348_sub49.readByte(-88); - } else if (i == 60) { - int i_9_ = class348_sub49.readUnsignedByte(255); - anIntArray1380 = new int[i_9_]; - for (int i_10_ = 0; i_9_ > i_10_; i_10_++) - anIntArray1380[i_10_] = class348_sub49.readUnsignedShort(842397944); - } else if (i != 93) { - if (i != 95) { - if (i != 97) { - if (i != 98) { - if (i == 99) this.aBoolean1345 = true; - else if (i != 100) { - if (i == 101) anInt1406 = 5 * (class348_sub49.readByte(i_4_ ^ ~0x27)); - else if (i == 102) this.anInt1375 = (class348_sub49.readUnsignedShort(i_4_ + 842397817)); - else if (i == 103) this.anInt1329 = (class348_sub49.readUnsignedShort(842397944)); - else if ((i == 106) || i == 118) { - anInt1368 = (class348_sub49.readUnsignedShort(842397944)); - if (anInt1368 == 65535) anInt1368 = -1; - anInt1354 = (class348_sub49.readUnsignedShort(842397944)); - if (anInt1354 == 65535) anInt1354 = -1; - int i_11_ = -1; - if (i == 118) { - i_11_ = (class348_sub49.readUnsignedShort(842397944)); - if (i_11_ == 65535) i_11_ = -1; - } - int i_12_ = class348_sub49.readUnsignedByte(255); - this.anIntArray1377 = new int[2 + i_12_]; - for (int i_13_ = 0; i_13_ <= i_12_; i_13_++) { - this.anIntArray1377[i_13_] = (class348_sub49.readUnsignedShort(842397944)); - if ((this.anIntArray1377[i_13_]) == 65535) this.anIntArray1377[i_13_] = -1; - } - this.anIntArray1377[1 + i_12_] = i_11_; - } else if (i == 107) this.aBoolean1396 = false; - else if (i != 109) { - if (i == 111) this.aBoolean1369 = false; - else if (i == 113) { - this.aShort1339 = (short) (class348_sub49.readUnsignedShort(842397944)); - this.aShort1350 = (short) (class348_sub49.readUnsignedShort(842397944)); - } else if (i == 114) { - this.aByte1353 = (class348_sub49.readByte(-110)); - this.aByte1347 = (class348_sub49.readByte(-85)); - } else if (i != 119) { - if (i == 121) { - anIntArrayArray1388 = (new int - [anIntArray1402.length] - []); - int i_14_ = (class348_sub49.readUnsignedByte(255)); - for (int i_15_ = 0; (i_14_ > i_15_); i_15_++) { - int i_16_ = (class348_sub49.readUnsignedByte(255)); - int[] is = (anIntArrayArray1388[i_16_] = new int[3]); - is[0] = (class348_sub49.readByte(Class348_Sub21.method2955(i_4_, -50))); - is[1] = (class348_sub49.readByte(-113)); - is[2] = (class348_sub49.readByte(-84)); - } - } else if (i == 122) this.anInt1373 = (class348_sub49.readUnsignedShort(842397944)); - else if (i != 123) { - if (i == 125) this.aByte1355 = (class348_sub49.readByte(-95)); - else if (i == 127) this.anInt1366 = (class348_sub49.readUnsignedShort(i_4_ + 842397817)); - else if (i != 128) { - if (i == 134) { - this.anInt1343 = class348_sub49.readUnsignedShort(842397944); - if (this.anInt1343 == 65535) this.anInt1343 = -1; - this.anInt1395 = class348_sub49.readUnsignedShort(842397944); - if (this.anInt1395 == 65535) this.anInt1395 = -1; - this.anInt1364 = class348_sub49.readUnsignedShort(842397944); - if (this.anInt1364 == 65535) this.anInt1364 = -1; - this.anInt1327 = class348_sub49.readUnsignedShort(i_4_ ^ 0x3235f887); - if (this.anInt1327 == 65535) this.anInt1327 = -1; - this.anInt1392 = class348_sub49.readUnsignedByte(255); - } else if (i == 135) { - this.anInt1335 = class348_sub49.readUnsignedByte(255); - this.anInt1371 = class348_sub49.readUnsignedShort(842397944); - } else if (i == 136) { - this.anInt1385 = class348_sub49.readUnsignedByte(255); - this.anInt1338 = class348_sub49.readUnsignedShort(842397944); - } else if (i != 137) { - if (i != 138) { - if (i != 139) { - if (i != 140) { - if (i == 141) this.aBoolean1362 = true; - else if (i == 142) this.anInt1383 = class348_sub49.readUnsignedShort(842397944); - else if (i != 143) { - if (i >= 150 && i < 155) { - this.aStringArray1349[-150 + i] = class348_sub49.readString((byte) -73); - if (!this.aClass278_1348.aBoolean3583) this.aStringArray1349[i + -150] = null; - } else if (i == 155) { - aByte1376 = class348_sub49.readByte(i_4_ ^ ~0x16); - aByte1360 = class348_sub49.readByte(-113); - aByte1330 = class348_sub49.readByte(-112); - aByte1405 = class348_sub49.readByte(-87); - } else if (i == 158) this.aByte1384 = (byte) 1; - else if (i != 159) { - if (i == 160) { - int i_21_ = class348_sub49.readUnsignedByte(255); - this.anIntArray1342 = new int[i_21_]; - for (int i_22_ = 0; i_22_ < i_21_; i_22_++) - this.anIntArray1342[i_22_] = class348_sub49.readUnsignedShort(i_4_ + 842397817); - } else if (i == 162) this.aBoolean1370 = true; - else if (i != 163) { - if (i == 164) { - this.anInt1340 = class348_sub49.readUnsignedShort(842397944); - this.anInt1363 = class348_sub49.readUnsignedShort(842397944); - } else if (i != 165) { - if (i == 249) { - int i_17_ = class348_sub49.readUnsignedByte(255); - if (aClass356_1386 == null) { - int i_18_ = Class33.method340(i_17_, (byte) 108); - aClass356_1386 = new Class356(i_18_); - } - for (int i_19_ = 0; i_17_ > i_19_; i_19_++) { - boolean bool = class348_sub49.readUnsignedByte(255) == 1; - int i_20_ = class348_sub49.readMedium(-1); - Class348 class348; - if (!bool) class348 = new Class348_Sub35(class348_sub49.readInt((byte) -126)); - else class348 = new Class348_Sub50(class348_sub49.readString((byte) -120)); - aClass356_1386.method3483((byte) 61, i_20_, class348); - } - } - } else this.anInt1337 = class348_sub49.readUnsignedByte(255); - } else this.anInt1333 = class348_sub49.readUnsignedByte(i_4_ + 128); - } else this.aByte1384 = (byte) 0; - } else this.aBoolean1381 = true; - } else this.anInt1356 = class348_sub49.readUnsignedByte(i_4_ + 128); - } else this.anInt1382 = class348_sub49.readUnsignedShort(i_4_ + 842397817); - } else this.anInt1336 = class348_sub49.readUnsignedShort(842397944); - } else this.anInt1401 = class348_sub49.readUnsignedShort(842397944); - } else class348_sub49.readUnsignedByte(255); - } else this.anInt1390 = (class348_sub49.readUnsignedShort(i_4_ ^ 0x3235f887)); - } else this.aByte1325 = (class348_sub49.readByte(i_4_ + -245)); - } else this.aBoolean1331 = false; - } else anInt1398 = class348_sub49.readByte(-123); - } else anInt1358 = (class348_sub49.readUnsignedShort(i_4_ + 842397817)); - } else anInt1346 = class348_sub49.readUnsignedShort(842397944); - } else this.anInt1361 = class348_sub49.readUnsignedShort(842397944); - } else this.aBoolean1397 = false; - } else this.aStringArray1349[-30 + i] = class348_sub49.readString((byte) 124); - } else this.anInt1399 = class348_sub49.readUnsignedByte(i_4_ + 128); - } else this.aString1372 = class348_sub49.readString((byte) 122); - anInt1357++; - } - - final boolean method796(Interface17 interface17, int i) { - anInt1351++; - if (this.anIntArray1377 == null) return true; - int i_27_ = -1; - if (anInt1368 != -1) i_27_ = interface17.method62(anInt1368, -65536); - else if (anInt1354 != -1) i_27_ = interface17.method61(anInt1354, (byte) -16); - if (i_27_ < 0 || (this.anIntArray1377.length - 1 <= i_27_) || this.anIntArray1377[i_27_] == -1) { - int i_28_ = (this.anIntArray1377[this.anIntArray1377.length - 1]); - return i_28_ != -1; - } - return i == 18627; - } - - static final void method797(int i, int i_29_, byte i_30_) { - anInt1379++; - if (Class348_Sub40_Sub6.anInt9139 != i_29_) { - Class318_Sub6.anIntArray6432 = new int[i_29_]; - for (int i_31_ = 0; i_31_ < i_29_; i_31_++) - Class318_Sub6.anIntArray6432[i_31_] = (i_31_ << 12) / i_29_; - Class239_Sub22.anInt6076 = i_29_ + -1; - Class348_Sub40_Sub6.anInt9139 = i_29_; - Class248.anInt3201 = 32 * i_29_; - } - if (i_30_ <= 108) aClient1367 = null; - if (Class286_Sub2.anInt6212 != i) { - if (Class348_Sub40_Sub6.anInt9139 != i) { - Class239_Sub18.anIntArray6035 = new int[i]; - for (int i_32_ = 0; i_32_ < i; i_32_++) - Class239_Sub18.anIntArray6035[i_32_] = (i_32_ << 12) / i; - } else Class239_Sub18.anIntArray6035 = Class318_Sub6.anIntArray6432; - Class286_Sub2.anInt6212 = i; - Class299_Sub2.anInt6325 = -1 + i; - } - } - - final void method798(int i, Class348_Sub49 class348_sub49) { - for (; ; ) { - int i_33_ = class348_sub49.readUnsignedByte(255); - if (i_33_ == 0) break; - method795(class348_sub49, i_33_, 127); - } - anInt1400++; - if (i <= 35) method798(-16, null); - } - - final void method799(int i) { - if (anIntArray1402 == null) anIntArray1402 = new int[0]; - if (i >= -75) aByte1376 = (byte) 102; - anInt1334++; - if (this.aByte1384 == -1) { - if (Class10.aClass230_186 == this.aClass278_1348.aClass230_3578) this.aByte1384 = (byte) 1; - else this.aByte1384 = (byte) 0; - } - } - - final Class64 method800(int i, Class182[] class182s, Class87 class87, boolean bool, Class17 class17, int i_34_, Class261 class261, int i_35_, Class17 class17_36_, Interface17 interface17, ha var_ha, int i_37_, int[] is, int i_38_, int i_39_, int i_40_, int i_41_) { - try { - anInt1341++; - if (this.anIntArray1377 != null) { - Class79 class79_42_ = method794(interface17, -1); - if (class79_42_ == null) return null; - return class79_42_.method800(i, class182s, class87, false, class17, i_34_, class261, i_35_, class17_36_, interface17, var_ha, i_37_, is, i_38_, i_39_, i_40_, i_41_); - } - int i_43_ = i_40_; - if (anInt1358 != 128) i_43_ |= 0x2; - if (anInt1346 != 128) i_43_ |= 0x5; - boolean bool_44_ = class17_36_ != null || class17 != null; - boolean bool_45_ = false; - boolean bool_46_ = false; - boolean bool_47_ = false; - boolean bool_48_ = bool; - int i_49_ = class182s == null ? 0 : class182s.length; - for (int i_50_ = 0; i_50_ < i_49_; i_50_++) { - Class318_Sub1_Sub3_Sub1.aClass348_Sub42_Sub17Array10010[i_50_] = null; - if (class182s[i_50_] != null) { - Class17 class17_51_ = class87.method835((class182s[i_50_].anInt2454), 7); - if (class17_51_.anIntArray237 != null) { - bool_44_ = true; - Class163.aClass17Array2169[i_50_] = class17_51_; - int i_52_ = class182s[i_50_].anInt2451; - int i_53_ = class182s[i_50_].anInt2455; - int i_54_ = class17_51_.anIntArray237[i_52_]; - Class318_Sub1_Sub3_Sub1.aClass348_Sub42_Sub17Array10010[i_50_] = class87.method839(i_54_ >>> 16, 3); - i_54_ &= 0xffff; - Class90.anIntArray1518[i_50_] = i_54_; - if ((Class318_Sub1_Sub3_Sub1.aClass348_Sub42_Sub17Array10010[i_50_]) != null) { - bool_46_ |= Class318_Sub1_Sub3_Sub1.aClass348_Sub42_Sub17Array10010[i_50_].method3272(i_54_, 0); - bool_45_ |= Class318_Sub1_Sub3_Sub1.aClass348_Sub42_Sub17Array10010[i_50_].method3271(i_54_, 14); - bool_48_ |= Class318_Sub1_Sub3_Sub1.aClass348_Sub42_Sub17Array10010[i_50_].method3267((byte) -92, i_54_); - bool_47_ |= class17_51_.aBoolean242; - } - if ((class17_51_.aBoolean241 || Class28.aBoolean5002) && i_53_ != -1 && i_53_ < (class17_51_.anIntArray237).length) { - Class348_Sub23_Sub4.anIntArray9050[i_50_] = class17_51_.anIntArray267[i_52_]; - Class67.anIntArray4648[i_50_] = class182s[i_50_].anInt2456; - int i_55_ = class17_51_.anIntArray237[i_53_]; - Class348_Sub42_Sub17.aClass348_Sub42_Sub17Array9672[i_50_] = class87.method839(i_55_ >>> 16, 3); - i_55_ &= 0xffff; - Class183.anIntArray2466[i_50_] = i_55_; - if ((Class348_Sub42_Sub17.aClass348_Sub42_Sub17Array9672[i_50_]) != null) { - bool_46_ |= Class348_Sub42_Sub17.aClass348_Sub42_Sub17Array9672[i_50_].method3272(i_55_, 0); - bool_45_ |= Class348_Sub42_Sub17.aClass348_Sub42_Sub17Array9672[i_50_].method3271(i_55_, 14); - bool_48_ |= Class348_Sub42_Sub17.aClass348_Sub42_Sub17Array9672[i_50_].method3267((byte) -99, i_55_); - } - } else { - Class348_Sub23_Sub4.anIntArray9050[i_50_] = 0; - Class67.anIntArray4648[i_50_] = 0; - Class348_Sub42_Sub17.aClass348_Sub42_Sub17Array9672[i_50_] = null; - Class183.anIntArray2466[i_50_] = -1; - } - } - } - } - int i_56_ = -1; - int i_57_ = -1; - int i_58_ = 0; - Class348_Sub42_Sub17 class348_sub42_sub17 = null; - Class348_Sub42_Sub17 class348_sub42_sub17_59_ = null; - int i_60_ = -1; - int i_61_ = -1; - int i_62_ = 0; - Class348_Sub42_Sub17 class348_sub42_sub17_63_ = null; - Class348_Sub42_Sub17 class348_sub42_sub17_64_ = null; - if (bool_44_) { - i_43_ |= 0x20; - if (class17_36_ != null) { - i_56_ = class17_36_.anIntArray237[i_35_]; - int i_65_ = i_56_ >>> 16; - i_56_ &= 0xffff; - class348_sub42_sub17 = class87.method839(i_65_, 3); - if (class348_sub42_sub17 != null) { - bool_46_ |= class348_sub42_sub17.method3272(i_56_, 0); - bool_45_ |= class348_sub42_sub17.method3271(i_56_, 14); - bool_48_ |= class348_sub42_sub17.method3267((byte) -125, i_56_); - bool_47_ |= class17_36_.aBoolean242; - } - if ((class17_36_.aBoolean241 || Class28.aBoolean5002) && i_38_ != -1 && (class17_36_.anIntArray237.length > i_38_)) { - i_57_ = class17_36_.anIntArray237[i_38_]; - i_58_ = class17_36_.anIntArray267[i_35_]; - int i_66_ = i_57_ >>> 16; - if (i_65_ == i_66_) class348_sub42_sub17_59_ = class348_sub42_sub17; - else class348_sub42_sub17_59_ = class87.method839(i_66_, 3); - i_57_ &= 0xffff; - if (class348_sub42_sub17_59_ != null) { - bool_46_ |= class348_sub42_sub17_59_.method3272(i_57_, 0); - bool_45_ |= class348_sub42_sub17_59_.method3271(i_57_, 14); - bool_48_ |= class348_sub42_sub17_59_.method3267((byte) -122, i_57_); - } - } - } - if (class17 != null) { - i_60_ = class17.anIntArray237[i_39_]; - int i_67_ = i_60_ >>> 16; - class348_sub42_sub17_63_ = class87.method839(i_67_, 3); - i_60_ &= 0xffff; - if (class348_sub42_sub17_63_ != null) { - bool_46_ |= class348_sub42_sub17_63_.method3272(i_60_, 0); - bool_45_ |= class348_sub42_sub17_63_.method3271(i_60_, 14); - bool_48_ |= class348_sub42_sub17_63_.method3267((byte) -102, i_60_); - bool_47_ |= class17.aBoolean242; - } - if ((class17.aBoolean241 || Class28.aBoolean5002) && i_37_ != -1 && class17.anIntArray237.length > i_37_) { - i_62_ = class17.anIntArray267[i_39_]; - i_61_ = class17.anIntArray237[i_37_]; - int i_68_ = i_61_ >>> 16; - if (i_68_ == i_67_) class348_sub42_sub17_64_ = class348_sub42_sub17_63_; - else class348_sub42_sub17_64_ = class87.method839(i_68_, 3); - i_61_ &= 0xffff; - if (class348_sub42_sub17_64_ != null) { - bool_46_ |= class348_sub42_sub17_64_.method3272(i_61_, 0); - bool_45_ |= class348_sub42_sub17_64_.method3271(i_61_, 14); - bool_48_ |= class348_sub42_sub17_64_.method3267((byte) -104, i_61_); - } - } - } - if (bool_46_) i_43_ |= 0x80; - if (bool_45_) i_43_ |= 0x100; - if (bool_47_) i_43_ |= 0x200; - if (bool_48_) i_43_ |= 0x400; - } - long l = var_ha.anInt4567 << 16 | this.anInt1344; - Class64 class64; - synchronized (this.aClass278_1348.aClass60_3590) { - class64 = (Class64) this.aClass278_1348.aClass60_3590.method583(l, 80); - } - Class225 class225 = null; - if (this.anInt1366 != -1) class225 = class261.method1983(this.anInt1366, 32); - if (class64 == null || i_43_ != (i_43_ & class64.ua())) { - if (class64 != null) i_43_ |= class64.ua(); - int i_69_ = i_43_; - boolean bool_70_ = false; - synchronized (this.aClass278_1348.aClass45_3576) { - for (int i_71_ = 0; (anIntArray1402.length > i_71_); i_71_++) { - if (anIntArray1402[i_71_] != -1 && !(this.aClass278_1348.aClass45_3576.method420(-10499, anIntArray1402[i_71_], 0))) bool_70_ = true; - } - } - if (bool_70_) return null; - Class124[] class124s = new Class124[anIntArray1402.length]; - for (int i_72_ = 0; i_72_ < anIntArray1402.length; i_72_++) { - if (anIntArray1402[i_72_] != -1) { - synchronized (this.aClass278_1348.aClass45_3576) { - class124s[i_72_] = Class300.method2277(0, (this.aClass278_1348.aClass45_3576), anIntArray1402[i_72_], -1); - } - if (class124s[i_72_] != null) { - if (class124s[i_72_].anInt1830 < 13) class124s[i_72_].method1092(2, 115); - if (anIntArrayArray1388 != null && anIntArrayArray1388[i_72_] != null) class124s[i_72_].method1099((byte) 44, anIntArrayArray1388[i_72_][2], anIntArrayArray1388[i_72_][0], anIntArrayArray1388[i_72_][1]); - } - } - } - if (class225 != null && class225.anIntArrayArray2939 != null) { - for (int i_73_ = 0; (i_73_ < class225.anIntArrayArray2939.length); i_73_++) { - if (class124s.length > i_73_ && class124s[i_73_] != null) { - int i_74_ = 0; - int i_75_ = 0; - int i_76_ = 0; - int i_77_ = 0; - int i_78_ = 0; - int i_79_ = 0; - if ((class225.anIntArrayArray2939[i_73_]) != null) { - i_78_ = ((class225.anIntArrayArray2939[i_73_][4]) << 3); - i_79_ = ((class225.anIntArrayArray2939[i_73_][5]) << 3); - i_75_ = (class225.anIntArrayArray2939[i_73_][1]); - i_76_ = (class225.anIntArrayArray2939[i_73_][2]); - i_77_ = ((class225.anIntArrayArray2939[i_73_][3]) << 3); - i_74_ = (class225.anIntArrayArray2939[i_73_][0]); - } - if (i_77_ != 0 || i_78_ != 0 || i_79_ != 0) class124s[i_73_].method1107(6875, i_78_, i_79_, i_77_); - if (i_74_ != 0 || i_75_ != 0 || i_76_ != 0) class124s[i_73_].method1099((byte) 93, i_76_, i_74_, i_75_); - } - } - } - Class124 class124; - if (class124s.length == 1) class124 = class124s[0]; - else class124 = new Class124(class124s, class124s.length); - if (aShortArray1328 != null) i_69_ |= 0x4000; - if (aShortArray1393 != null) i_69_ |= 0x8000; - if (aByte1405 != 0) i_69_ |= 0x80000; - class64 = var_ha.method3625(class124, i_69_, (this.aClass278_1348.anInt3593), 64 + anInt1398, 850 + anInt1406); - if (aShortArray1328 != null) { - for (int i_80_ = 0; (i_80_ < aShortArray1328.length); i_80_++) { - if (aByteArray1374 == null || aByteArray1374.length <= i_80_) class64.ia(aShortArray1328[i_80_], aShortArray1352[i_80_]); - else class64.ia(aShortArray1328[i_80_], (Class348_Sub42_Sub3.aShortArray9502[aByteArray1374[i_80_] & 0xff])); - } - } - if (aShortArray1393 != null) { - for (int i_81_ = 0; aShortArray1393.length > i_81_; i_81_++) - class64.aa(aShortArray1393[i_81_], aShortArray1391[i_81_]); - } - if (aByte1405 != 0) class64.method624(aByte1376, aByte1360, aByte1330, aByte1405 & 0xff); - class64.s(i_43_); - synchronized (this.aClass278_1348.aClass60_3590) { - this.aClass278_1348.aClass60_3590.method582(class64, this.anInt1344 | var_ha.anInt4567 << 16, (byte) -125); - } - } - Class64 class64_82_ = class64.method614((byte) 4, i_43_, true); - boolean bool_83_ = false; - if (is != null) { - for (int i_84_ = 0; i_84_ < 12; i_84_++) { - if (is[i_84_] != -1) bool_83_ = true; - } - } - if (!bool_44_ && !bool_83_) return class64_82_; - Class101[] class101s = null; - if (class225 != null) class101s = class225.method1618(var_ha, 0); - if (bool_83_ && class101s != null) { - for (int i_85_ = 0; i_85_ < 12; i_85_++) { - if (class101s[i_85_] != null) class64_82_.method610(class101s[i_85_], 1 << i_85_, true); - } - } - int i_86_ = 0; - int i_87_ = 1; - while (i_86_ < i_49_) { - if ((Class318_Sub1_Sub3_Sub1.aClass348_Sub42_Sub17Array10010[i_86_]) != null) - class64_82_.method603((byte) -55, -1 + Class67.anIntArray4648[i_86_], null, i_87_, Class90.anIntArray1518[i_86_], Class183.anIntArray2466[i_86_], (Class348_Sub42_Sub17.aClass348_Sub42_Sub17Array9672[i_86_]), 0, (Class318_Sub1_Sub3_Sub1.aClass348_Sub42_Sub17Array10010[i_86_]), (Class163.aClass17Array2169[i_86_].aBoolean242), Class348_Sub23_Sub4.anIntArray9050[i_86_]); - i_86_++; - i_87_ <<= 1; - } - if (bool_83_) { - for (int i_88_ = 0; i_88_ < 12; i_88_++) { - if (is[i_88_] != -1) { - int i_89_ = -i + is[i_88_]; - i_89_ &= 0x3fff; - Class101 class101 = var_ha.method3654(); - class101.method895(i_89_); - class64_82_.method610(class101, 1 << i_88_, false); - } - } - } - if (bool_83_ && class101s != null) { - for (int i_90_ = 0; i_90_ < 12; i_90_++) { - if (class101s[i_90_] != null) class64_82_.method610(class101s[i_90_], 1 << i_90_, false); - } - } - if (class348_sub42_sub17 != null && class348_sub42_sub17_63_ != null) - class64_82_.method625(class348_sub42_sub17_59_, i_58_, (byte) 122, i_62_, class348_sub42_sub17_63_, i_56_, i_60_, -1 + i_41_, class348_sub42_sub17, (class17_36_.aBoolean242 | class17.aBoolean242), i_57_, class348_sub42_sub17_64_, -1 + i_34_, class17_36_.aBooleanArray263, i_61_); - else if (class348_sub42_sub17 != null) class64_82_.method617(i_56_, i_58_, class348_sub42_sub17_59_, 0, class348_sub42_sub17, bool, class17_36_.aBoolean242, i_57_, i_41_ + -1); - else if (class348_sub42_sub17_63_ != null) class64_82_.method617(i_60_, i_62_, class348_sub42_sub17_64_, 0, class348_sub42_sub17_63_, false, class17.aBoolean242, i_61_, i_34_ - 1); - for (int i_91_ = 0; i_49_ > i_91_; i_91_++) { - Class318_Sub1_Sub3_Sub1.aClass348_Sub42_Sub17Array10010[i_91_] = null; - Class348_Sub42_Sub17.aClass348_Sub42_Sub17Array9672[i_91_] = null; - Class163.aClass17Array2169[i_91_] = null; - } - if (anInt1346 != 128 || anInt1358 != 128) class64_82_.O(anInt1346, anInt1358, anInt1346); - class64_82_.s(i_40_); - return class64_82_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bb.F(" + i + ',' + (class182s != null ? "{...}" : "null") + ',' + (class87 != null ? "{...}" : "null") + ',' + bool + ',' + (class17 != null ? "{...}" : "null") + ',' + i_34_ + ',' + (class261 != null ? "{...}" : "null") + ',' + i_35_ + ',' + (class17_36_ != null ? "{...}" : "null") + ',' + (interface17 != null ? "{...}" : "null") + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_37_ + ',' + (is != null ? "{...}" : "null") + ',' + i_38_ + ',' + i_39_ + ',' + i_40_ + ',' + i_41_ + ')')); - } - } - - final String method801(byte i, int i_92_, String string) { - anInt1378++; - if (aClass356_1386 == null) return string; - if (i != 17) method801((byte) -115, -68, null); - Class348_Sub50 class348_sub50 = ((Class348_Sub50) aClass356_1386.method3480(i_92_, i + -6025)); - if (class348_sub50 == null) return string; - return class348_sub50.aString7211; - } - - static final boolean method802(int i, int i_93_, boolean bool) { - if (bool != true) return false; - anInt1332++; - if (i_93_ < 0 || i < 0 || i_93_ >= Class348_Sub33.aByteArrayArrayArray6962[1].length || i >= Class348_Sub33.aByteArrayArrayArray6962[1][i_93_].length) return false; - return (Class348_Sub33.aByteArrayArrayArray6962[1][i_93_][i] & 0x2) != 0; - } - - final Class64 method803(Interface17 interface17, ha var_ha, int i, int i_94_, Class17 class17, Class87 class87, int i_95_, int i_96_, int i_97_) { - try { - anInt1389++; - if (this.anIntArray1377 != null) { - Class79 class79_98_ = method794(interface17, -1); - if (class79_98_ == null) return null; - return class79_98_.method803(interface17, var_ha, i, i_94_, class17, class87, i_95_, 104, i_97_); - } - if (i_96_ <= 98) method796(null, -10); - if (anIntArray1380 == null) return null; - int i_99_ = i_97_; - if (class17 != null && i_95_ != -1) i_99_ |= class17.method263(i_94_, 97, i_95_, true); - Class64 class64; - synchronized (this.aClass278_1348.aClass60_3592) { - class64 = ((Class64) (this.aClass278_1348.aClass60_3592.method583(var_ha.anInt4567 << 16 | this.anInt1344, 64))); - } - if (class64 == null || i_99_ != (class64.ua() & i_99_)) { - if (class64 != null) i_99_ |= class64.ua(); - int i_100_ = i_99_; - boolean bool = false; - synchronized (this.aClass278_1348.aClass45_3576) { - for (int i_101_ = 0; (anIntArray1380.length > i_101_); i_101_++) { - if (!this.aClass278_1348.aClass45_3576.method420(-10499, anIntArray1380[i_101_], 0)) bool = true; - } - } - if (bool) return null; - Class124[] class124s = new Class124[anIntArray1380.length]; - synchronized (this.aClass278_1348.aClass45_3576) { - for (int i_102_ = 0; (anIntArray1380.length > i_102_); i_102_++) - class124s[i_102_] = Class300.method2277(0, (this.aClass278_1348.aClass45_3576), anIntArray1380[i_102_], -1); - } - for (int i_103_ = 0; (i_103_ < anIntArray1380.length); i_103_++) { - if (class124s[i_103_] != null && class124s[i_103_].anInt1830 < 13) class124s[i_103_].method1092(2, 66); - } - Class124 class124; - if (class124s.length == 1) class124 = class124s[0]; - else class124 = new Class124(class124s, class124s.length); - if (aShortArray1328 != null) i_100_ |= 0x4000; - if (aShortArray1393 != null) i_100_ |= 0x8000; - if (aByte1405 != 0) i_100_ |= 0x80000; - class64 = var_ha.method3625(class124, i_100_, (this.aClass278_1348.anInt3593), 64, 768); - if (aShortArray1328 != null) { - for (int i_104_ = 0; (aShortArray1328.length > i_104_); i_104_++) { - if (aByteArray1374 != null && aByteArray1374.length > i_104_) class64.ia(aShortArray1328[i_104_], (Class348_Sub42_Sub3.aShortArray9502[0xff & aByteArray1374[i_104_]])); - else class64.ia(aShortArray1328[i_104_], aShortArray1352[i_104_]); - } - } - if (aShortArray1393 != null) { - for (int i_105_ = 0; aShortArray1393.length > i_105_; i_105_++) - class64.aa(aShortArray1393[i_105_], aShortArray1391[i_105_]); - } - if (aByte1405 != 0) class64.method624(aByte1376, aByte1360, aByte1330, aByte1405 & 0xff); - class64.s(i_99_); - synchronized (this.aClass278_1348.aClass60_3592) { - this.aClass278_1348.aClass60_3592.method582(class64, var_ha.anInt4567 << 16 | this.anInt1344, (byte) -96); - } - } - if (class17 != null && i_95_ != -1) class64 = class17.method269(-9, class64, i_94_, i, i_99_, i_95_); - class64.s(i_97_); - return class64; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("bb.H(" + (interface17 != null ? "{...}" : "null") + ',' + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + i_94_ + ',' + (class17 != null ? "{...}" : "null") + ',' + (class87 != null ? "{...}" : "null") + ',' + i_95_ + ',' + i_96_ + ',' + i_97_ + ')')); - } - } - - public static void method804(int i) { - aClass105_1365 = null; - aClient1367 = null; - if (i != -3752) anInt1387 = 14; - } - - final int method805(int i, int i_106_, int i_107_) { - anInt1326++; - if (aClass356_1386 == null) return i; - if (i_107_ <= 12) method805(46, 116, 126); - Class348_Sub35 class348_sub35 = (Class348_Sub35) aClass356_1386.method3480(i_106_, -6008); - if (class348_sub35 == null) return i; - return class348_sub35.anInt6976; - } - - public Class79() { - anInt1346 = 128; - this.anInt1335 = -1; - this.anInt1337 = 0; - anInt1354 = -1; - this.aBoolean1345 = false; - this.anInt1336 = -1; - this.aByte1355 = (byte) 4; - this.anInt1356 = 255; - this.anInt1340 = 256; - this.anInt1373 = -1; - this.anInt1375 = -1; - this.anInt1338 = -1; - this.anInt1363 = 256; - this.aShort1339 = (short) 0; - this.aStringArray1349 = new String[5]; - anInt1358 = 128; - this.aByte1353 = (byte) -96; - this.aBoolean1362 = false; - this.anInt1343 = -1; - this.aByte1384 = (byte) -1; - this.aBoolean1381 = false; - this.anInt1383 = -1; - this.aString1372 = "null"; - this.anInt1382 = -1; - this.anInt1371 = -1; - this.aByte1325 = (byte) 0; - anInt1368 = -1; - this.anInt1390 = -1; - this.aBoolean1331 = true; - this.aByte1347 = (byte) -16; - this.anInt1366 = -1; - anInt1398 = 0; - this.anInt1392 = 0; - this.anInt1364 = -1; - this.anInt1327 = -1; - this.anInt1361 = -1; - this.anInt1329 = 32; - aByte1405 = (byte) 0; - this.anInt1385 = -1; - this.anInt1395 = -1; - this.aBoolean1369 = true; - this.anInt1399 = 1; - this.anInt1401 = -1; - this.aBoolean1396 = true; - this.aBoolean1397 = true; - anInt1406 = 0; - } -} diff --git a/client/src/Class8.java b/client/src/Class8.java deleted file mode 100644 index ddb31e8ef..000000000 --- a/client/src/Class8.java +++ /dev/null @@ -1,43 +0,0 @@ -/* Class8 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class8 { - int anInt159; - int anInt160; - int anInt161; - int anInt162; - static int anInt163; - static int[] anIntArray164 = {4, 4, 1, 2, 6, 4, 2, 44, 2, 2, 2, 2, 2, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1}; - static Class364 aClass364_165; - static int anInt166 = 0; - - public static void method213(byte i) { - anIntArray164 = null; - if (i != -106) method214(null, 18); - aClass364_165 = null; - } - - static final int method214(Npc npc, int i) { - anInt163++; - Class79 class79 = (npc.aClass79_10505); - if (class79.anIntArray1377 != null) { - class79 = class79.method794(Class318_Sub1_Sub3_Sub3.aClass170_10209, i); - if (class79 == null) return -1; - } - int i_0_ = class79.anInt1364; - if (i != -1) return 14; - Class225 class225 = npc.method2422((byte) 72); - if ((npc.anInt10268) != -1 && !(npc.aBoolean10213)) { - if ((npc.anInt10268) != class225.anInt2919 && (class225.anInt2920 != npc.anInt10268) && (class225.anInt2949 != npc.anInt10268) && (class225.anInt2914 != (npc.anInt10268))) { - if ((class225.anInt2940 == npc.anInt10268) || (class225.anInt2924 == npc.anInt10268) || (npc.anInt10268 == class225.anInt2947) || (npc.anInt10268 == class225.anInt2958)) - i_0_ = class79.anInt1395; - } else i_0_ = class79.anInt1327; - } else i_0_ = class79.anInt1343; - return i_0_; - } - - public Class8() { - /* empty */ - } -} diff --git a/client/src/Class80.java b/client/src/Class80.java deleted file mode 100644 index e9a5bcea8..000000000 --- a/client/src/Class80.java +++ /dev/null @@ -1,257 +0,0 @@ -/* Class80 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.util.Random; - -final class Class80 { - int anInt1407 = 0; - private Class197 aClass197_1408; - private static int[] anIntArray1409; - private final int[] anIntArray1410 = new int[5]; - private final int[] anIntArray1411 = new int[5]; - private static int[] anIntArray1412; - private Class197 aClass197_1413; - private Class197 aClass197_1414; - private Class197 aClass197_1415; - private static int[] anIntArray1416 = new int[32768]; - private Class197 aClass197_1417; - private Class197 aClass197_1418; - private Class349 aClass349_1419; - private Class197 aClass197_1420; - int anInt1421; - private int anInt1422 = 100; - private Class197 aClass197_1423; - private static int[] anIntArray1424; - private Class197 aClass197_1425; - private static int[] anIntArray1426; - private int anInt1427; - private final int[] anIntArray1428; - private static int[] anIntArray1429; - private static int[] anIntArray1430; - private static int[] anIntArray1431; - - private final int method806(int i, int i_0_, int i_1_) { - if (i_1_ == 1) { - if ((i & 0x7fff) < 16384) return i_0_; - return -i_0_; - } - if (i_1_ == 2) return anIntArray1412[i & 0x7fff] * i_0_ >> 14; - if (i_1_ == 3) return ((i & 0x7fff) * i_0_ >> 14) - i_0_; - if (i_1_ == 4) return anIntArray1416[i / 2607 & 0x7fff] * i_0_; - return 0; - } - - final void method807(Class348_Sub49 class348_sub49) { - aClass197_1418 = new Class197(); - aClass197_1418.method1452(class348_sub49); - aClass197_1408 = new Class197(); - aClass197_1408.method1452(class348_sub49); - int i = class348_sub49.readUnsignedByte(255); - if (i != 0) { - class348_sub49.anInt7197--; - aClass197_1415 = new Class197(); - aClass197_1415.method1452(class348_sub49); - aClass197_1425 = new Class197(); - aClass197_1425.method1452(class348_sub49); - } - i = class348_sub49.readUnsignedByte(255); - if (i != 0) { - class348_sub49.anInt7197--; - aClass197_1413 = new Class197(); - aClass197_1413.method1452(class348_sub49); - aClass197_1423 = new Class197(); - aClass197_1423.method1452(class348_sub49); - } - i = class348_sub49.readUnsignedByte(255); - if (i != 0) { - class348_sub49.anInt7197--; - aClass197_1414 = new Class197(); - aClass197_1414.method1452(class348_sub49); - aClass197_1420 = new Class197(); - aClass197_1420.method1452(class348_sub49); - } - for (int i_2_ = 0; i_2_ < 10; i_2_++) { - int i_3_ = class348_sub49.readSmart(-118); - if (i_3_ == 0) break; - anIntArray1410[i_2_] = i_3_; - anIntArray1411[i_2_] = class348_sub49.method3362((byte) 77); - anIntArray1428[i_2_] = class348_sub49.readSmart(-121); - } - anInt1427 = class348_sub49.readSmart(-120); - anInt1422 = class348_sub49.readSmart(-122); - this.anInt1421 = class348_sub49.readUnsignedShort(842397944); - this.anInt1407 = class348_sub49.readUnsignedShort(842397944); - aClass349_1419 = new Class349(); - aClass197_1417 = new Class197(); - aClass349_1419.method3446(class348_sub49, aClass197_1417); - } - - public static void method808() { - anIntArray1409 = null; - anIntArray1416 = null; - anIntArray1412 = null; - anIntArray1431 = null; - anIntArray1424 = null; - anIntArray1430 = null; - anIntArray1429 = null; - anIntArray1426 = null; - } - - final int[] method809(int i, int i_4_) { - Class214.method1573(anIntArray1409, 0, i); - if (i_4_ < 10) return anIntArray1409; - double d = (double) i / ((double) i_4_ + 0.0); - aClass197_1418.method1453(); - aClass197_1408.method1453(); - int i_5_ = 0; - int i_6_ = 0; - int i_7_ = 0; - if (aClass197_1415 != null) { - aClass197_1415.method1453(); - aClass197_1425.method1453(); - i_5_ = (int) ((double) (aClass197_1415.anInt2606 - aClass197_1415.anInt2607) * 32.768 / d); - i_6_ = (int) ((double) aClass197_1415.anInt2607 * 32.768 / d); - } - int i_8_ = 0; - int i_9_ = 0; - int i_10_ = 0; - if (aClass197_1413 != null) { - aClass197_1413.method1453(); - aClass197_1423.method1453(); - i_8_ = (int) ((double) (aClass197_1413.anInt2606 - aClass197_1413.anInt2607) * 32.768 / d); - i_9_ = (int) ((double) aClass197_1413.anInt2607 * 32.768 / d); - } - for (int i_11_ = 0; i_11_ < 5; i_11_++) { - if (anIntArray1410[i_11_] != 0) { - anIntArray1431[i_11_] = 0; - anIntArray1424[i_11_] = (int) ((double) anIntArray1428[i_11_] * d); - anIntArray1430[i_11_] = (anIntArray1410[i_11_] << 14) / 100; - anIntArray1429[i_11_] = (int) ((double) (aClass197_1418.anInt2606 - aClass197_1418.anInt2607) * 32.768 * Math.pow(1.0057929410678534, anIntArray1411[i_11_]) / d); - anIntArray1426[i_11_] = (int) ((double) aClass197_1418.anInt2607 * 32.768 / d); - } - } - for (int i_12_ = 0; i_12_ < i; i_12_++) { - int i_13_ = aClass197_1418.method1451(i); - int i_14_ = aClass197_1408.method1451(i); - if (aClass197_1415 != null) { - int i_15_ = aClass197_1415.method1451(i); - int i_16_ = aClass197_1425.method1451(i); - i_13_ += method806(i_7_, i_16_, aClass197_1415.anInt2603) >> 1; - i_7_ += (i_15_ * i_5_ >> 16) + i_6_; - } - if (aClass197_1413 != null) { - int i_17_ = aClass197_1413.method1451(i); - int i_18_ = aClass197_1423.method1451(i); - i_14_ = (i_14_ * ((method806(i_10_, i_18_, aClass197_1413.anInt2603) >> 1) + 32768)) >> 15; - i_10_ += (i_17_ * i_8_ >> 16) + i_9_; - } - for (int i_19_ = 0; i_19_ < 5; i_19_++) { - if (anIntArray1410[i_19_] != 0) { - int i_20_ = i_12_ + anIntArray1424[i_19_]; - if (i_20_ < i) { - anIntArray1409[i_20_] += method806(anIntArray1431[i_19_], i_14_ * anIntArray1430[i_19_] >> 15, (aClass197_1418.anInt2603)); - anIntArray1431[i_19_] += ((i_13_ * anIntArray1429[i_19_] >> 16) + anIntArray1426[i_19_]); - } - } - } - } - if (aClass197_1414 != null) { - aClass197_1414.method1453(); - aClass197_1420.method1453(); - int i_21_ = 0; - boolean bool = false; - boolean bool_22_ = true; - for (int i_23_ = 0; i_23_ < i; i_23_++) { - int i_24_ = aClass197_1414.method1451(i); - int i_25_ = aClass197_1420.method1451(i); - int i_26_; - if (bool_22_) i_26_ = (aClass197_1414.anInt2607 + ((aClass197_1414.anInt2606 - aClass197_1414.anInt2607) * i_24_ >> 8)); - else i_26_ = (aClass197_1414.anInt2607 + ((aClass197_1414.anInt2606 - aClass197_1414.anInt2607) * i_25_ >> 8)); - i_21_ += 256; - if (i_21_ >= i_26_) { - i_21_ = 0; - bool_22_ = !bool_22_; - } - if (bool_22_) anIntArray1409[i_23_] = 0; - } - } - if (anInt1427 > 0 && anInt1422 > 0) { - int i_27_ = (int) ((double) anInt1427 * d); - for (int i_28_ = i_27_; i_28_ < i; i_28_++) - anIntArray1409[i_28_] += anIntArray1409[i_28_ - i_27_] * anInt1422 / 100; - } - if (aClass349_1419.anIntArray4299[0] > 0 || aClass349_1419.anIntArray4299[1] > 0) { - aClass197_1417.method1453(); - int i_29_ = aClass197_1417.method1451(i + 1); - int i_30_ = aClass349_1419.method3451(0, (float) i_29_ / 65536.0F); - int i_31_ = aClass349_1419.method3451(1, (float) i_29_ / 65536.0F); - if (i >= i_30_ + i_31_) { - int i_32_ = 0; - int i_33_ = i_31_; - if (i_33_ > i - i_30_) i_33_ = i - i_30_; - for (/**/; i_32_ < i_33_; i_32_++) { - int i_34_ = (int) (((long) anIntArray1409[i_32_ + i_30_] * (long) Class349.anInt4303) >> 16); - for (int i_35_ = 0; i_35_ < i_30_; i_35_++) - i_34_ += (int) (((long) (anIntArray1409[i_32_ + i_30_ - 1 - i_35_]) * (long) (Class349.anIntArrayArray4301[0][i_35_])) >> 16); - for (int i_36_ = 0; i_36_ < i_32_; i_36_++) - i_34_ -= (int) (((long) anIntArray1409[i_32_ - 1 - i_36_] * (long) (Class349.anIntArrayArray4301[1][i_36_])) >> 16); - anIntArray1409[i_32_] = i_34_; - i_29_ = aClass197_1417.method1451(i + 1); - } - i_33_ = 128; - for (; ; ) { - if (i_33_ > i - i_30_) i_33_ = i - i_30_; - for (/**/; i_32_ < i_33_; i_32_++) { - int i_37_ = (int) (((long) anIntArray1409[i_32_ + i_30_] * (long) Class349.anInt4303) >> 16); - for (int i_38_ = 0; i_38_ < i_30_; i_38_++) - i_37_ += (int) (((long) (anIntArray1409[i_32_ + i_30_ - 1 - i_38_]) * (long) (Class349.anIntArrayArray4301[0][i_38_])) >> 16); - for (int i_39_ = 0; i_39_ < i_31_; i_39_++) - i_37_ -= (int) (((long) (anIntArray1409[i_32_ - 1 - i_39_]) * (long) (Class349.anIntArrayArray4301[1][i_39_])) >> 16); - anIntArray1409[i_32_] = i_37_; - i_29_ = aClass197_1417.method1451(i + 1); - } - if (i_32_ >= i - i_30_) break; - i_30_ = aClass349_1419.method3451(0, (float) i_29_ / 65536.0F); - i_31_ = aClass349_1419.method3451(1, (float) i_29_ / 65536.0F); - i_33_ += 128; - } - for (/**/; i_32_ < i; i_32_++) { - int i_40_ = 0; - for (int i_41_ = i_32_ + i_30_ - i; i_41_ < i_30_; i_41_++) - i_40_ += (int) (((long) (anIntArray1409[i_32_ + i_30_ - 1 - i_41_]) * (long) (Class349.anIntArrayArray4301[0][i_41_])) >> 16); - for (int i_42_ = 0; i_42_ < i_31_; i_42_++) - i_40_ -= (int) (((long) anIntArray1409[i_32_ - 1 - i_42_] * (long) (Class349.anIntArrayArray4301[1][i_42_])) >> 16); - anIntArray1409[i_32_] = i_40_; - i_29_ = aClass197_1417.method1451(i + 1); - } - } - } - for (int i_43_ = 0; i_43_ < i; i_43_++) { - if (anIntArray1409[i_43_] < -32768) anIntArray1409[i_43_] = -32768; - if (anIntArray1409[i_43_] > 32767) anIntArray1409[i_43_] = 32767; - } - return anIntArray1409; - } - - public Class80() { - this.anInt1421 = 500; - anIntArray1428 = new int[5]; - anInt1427 = 0; - } - - static { - Random random = new Random(0L); - for (int i = 0; i < 32768; i++) - anIntArray1416[i] = (random.nextInt() & 0x2) - 1; - anIntArray1412 = new int[32768]; - for (int i = 0; i < 32768; i++) - anIntArray1412[i] = (int) (Math.sin((double) i / 5215.1903) * 16384.0); - anIntArray1409 = new int[220500]; - anIntArray1424 = new int[5]; - anIntArray1426 = new int[5]; - anIntArray1429 = new int[5]; - anIntArray1431 = new int[5]; - anIntArray1430 = new int[5]; - } -} diff --git a/client/src/Class81.java b/client/src/Class81.java deleted file mode 100644 index 405340b3f..000000000 --- a/client/src/Class81.java +++ /dev/null @@ -1,12 +0,0 @@ -/* Class81 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class81 { - static int[] anIntArray1432; - static int anInt1433; - - public static void method810(boolean bool) { - if (bool == true) anIntArray1432 = null; - } -} diff --git a/client/src/Class82.java b/client/src/Class82.java deleted file mode 100644 index 7bd597774..000000000 --- a/client/src/Class82.java +++ /dev/null @@ -1,707 +0,0 @@ -/* Class82 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jagex3.jagmisc.jagmisc; - -import java.io.File; -import java.io.FileOutputStream; - -final class Class82 { - static Class45 aClass45_1434; - static int anInt1435; - private final Class45 aClass45_1436; - static int anInt1437; - static int anInt1438; - int anInt1439; - - public static void method811(byte i) { - if (i > -109) anInt1435 = 69; - aClass45_1434 = null; - } - - static final void method812(String string, boolean bool, boolean bool_0_, byte i) { - try { - if (i != -79) method814((byte) -79, 126L); - anInt1437++; - try { - if (Class240.anInt4674 != 10 && (string.equalsIgnoreCase("commands") || string.equalsIgnoreCase("help"))) { - Applet_Sub1.method94("commands - This command", i ^ 0x1); - Applet_Sub1.method94("cls - Clear console", -54); - Applet_Sub1.method94("displayfps - Toggle FPS and other information", -89); - Applet_Sub1.method94("renderer - Print graphics renderer information", 122); - Applet_Sub1.method94("heap - Print java memory information", -88); - return; - } - if (string.equalsIgnoreCase("cls")) { - Class284.anInt3676 = 0; - Class369_Sub2.anInt8587 = 0; - return; - } - if (string.equalsIgnoreCase("displayfps")) { - Class298.aBoolean3811 = !Class298.aBoolean3811; - if (Class298.aBoolean3811) Applet_Sub1.method94("FPS on", 83); - else { - Applet_Sub1.method94("FPS off", -69); - return; - } - return; - } - if (string.equals("renderer")) { - Class365 class365 = Class348_Sub8.aHa6654.c(); - Applet_Sub1.method94("Vendor: " + class365.anInt4476, 89); - Applet_Sub1.method94("Name: " + (class365.aString4470), 71); - Applet_Sub1.method94(("Version: " + (class365.anInt4475)), -110); - Applet_Sub1.method94(("Device: " + (class365.aString4472)), i + 146); - Applet_Sub1.method94(("Driver Version: " + (class365.aLong4471)), i + -32); - return; - } - if (string.equals("heap")) { - Applet_Sub1.method94(("Heap: " + Class226.anInt2964 + "MB"), 69); - return; - } - } catch (Exception exception) { - Applet_Sub1.method94((Class274.aClass274_3485.method2063(Class348_Sub33.anInt6967, 544)), -99); - return; - } - if (Class8.aClass364_165 != Class55_Sub1.aClass364_5271 || Class192.anInt2581 >= 2) { - if (string.equalsIgnoreCase("errortest")) throw new RuntimeException(); - if (string.equals("nativememerror")) throw new OutOfMemoryError("native(MPR"); - try { - if (string.equalsIgnoreCase("printfps")) { - Applet_Sub1.method94(("FPS: " + Class239_Sub5.anInt5891), -58); - return; - } - if (string.equalsIgnoreCase("occlude")) { - Class348_Sub40_Sub23.aBoolean9307 = !Class348_Sub40_Sub23.aBoolean9307; - if (Class348_Sub40_Sub23.aBoolean9307) { - Applet_Sub1.method94("Occlsion now on!", -102); - return; - } else Applet_Sub1.method94("Occlsion now off!", -106); - return; - } - if (string.equalsIgnoreCase("fpson")) { - Class298.aBoolean3811 = true; - Applet_Sub1.method94("fps debug enabled", -115); - return; - } - if (string.equalsIgnoreCase("fpsoff")) { - Class298.aBoolean3811 = false; - Applet_Sub1.method94("fps debug disabled", 125); - return; - } - if (string.equals("systemmem")) { - try { - Applet_Sub1.method94(("System memory: " + (jagmisc.getAvailablePhysicalMemory() / 1048576L) + "/" + Class348_Sub40_Sub20.aClass348_Sub4_9264.anInt6609 + "Mb"), i + 26); - } catch (Throwable throwable) { - /* empty */ - } - return; - } - if (string.equalsIgnoreCase("cleartext")) { - Class225.aClass243_2957.method1876((byte) -45); - Applet_Sub1.method94("Text coords cleared", i + 21); - return; - } - if (string.equalsIgnoreCase("gc")) { - Class46.method427(i + 180); - for (int i_1_ = 0; i_1_ < 10; i_1_++) - System.gc(); - Runtime runtime = Runtime.getRuntime(); - int i_2_ = (int) ((runtime.totalMemory() + -runtime.freeMemory()) / 1024L); - Applet_Sub1.method94("mem=" + i_2_ + "k", 110); - return; - } - if (string.equalsIgnoreCase("compact")) { - Class46.method427(-41); - for (int i_3_ = 0; i_3_ < 10; i_3_++) - System.gc(); - Runtime runtime = Runtime.getRuntime(); - int i_4_ = (int) ((runtime.totalMemory() + -runtime.freeMemory()) / 1024L); - Applet_Sub1.method94(("Memory before cleanup=" + i_4_ + "k"), 115); - Class299_Sub2_Sub1.method2271(31268); - Class46.method427(96); - for (int i_5_ = 0; i_5_ < 10; i_5_++) - System.gc(); - i_4_ = (int) ((runtime.totalMemory() + -runtime.freeMemory()) / 1024L); - Applet_Sub1.method94(("Memory after cleanup=" + i_4_ + "k"), -110); - return; - } - if (string.equalsIgnoreCase("unloadnatives")) { - Applet_Sub1.method94((Class228.method1629(true) ? "Libraries unloaded" : "Library unloading failed!"), 63); - return; - } - if (string.equalsIgnoreCase("clientdrop")) { - Applet_Sub1.method94("Dropped client connection", -119); - if (Class240.anInt4674 == 10) Class272.method2049(105); - else { - if (Class240.anInt4674 == 11) Class110.aBoolean1712 = true; - return; - } - return; - } - if (string.equalsIgnoreCase("rotateconnectmethods")) { - Class3.aClass161_125.method1259(0); - Applet_Sub1.method94("Rotated connection methods", i ^ ~0x13); - return; - } - if (string.equalsIgnoreCase("clientjs5drop")) { - Class348_Sub4.aClass248_6601.method1901(-83); - Applet_Sub1.method94("Dropped client js5 net queue", -116); - return; - } - if (string.equalsIgnoreCase("serverjs5drop")) { - Class348_Sub4.aClass248_6601.method1905(0); - Applet_Sub1.method94("Dropped server js5 net queue", -100); - return; - } - if (string.equalsIgnoreCase("breakcon")) { - Class348_Sub23_Sub1.aClass297_8992.method2239(-95); - Class348_Sub40_Sub8.aClass238_9165.method1702(i + 123); - Class348_Sub4.aClass248_6601.method1898(true); - Applet_Sub1.method94("Breaking new connections for 5 seconds", i + -4); - return; - } - if (string.equalsIgnoreCase("rebuild")) { - Class348_Sub20.method2953((byte) -117); - Class50_Sub2.method464(-1); - Applet_Sub1.method94("Rebuilding map", -113); - return; - } - if (string.equalsIgnoreCase("rebuildprofile")) { - Class90.aLong1516 = Class62.method599(-75); - Class258_Sub4.aBoolean8558 = true; - Class348_Sub20.method2953((byte) -114); - Class50_Sub2.method464(-1); - Applet_Sub1.method94("Rebuilding map (with profiling)", -117); - return; - } - if (string.equalsIgnoreCase("wm1")) { - Class85.method830(1, -1, (byte) 102, false, -1); - if (Class348_Sub42_Sub12.method3229(-61) == 1) { - Applet_Sub1.method94("wm1 succeeded", -65); - return; - } else Applet_Sub1.method94("wm1 failed", i ^ ~0x17); - return; - } - if (string.equalsIgnoreCase("wm2")) { - Class85.method830(2, -1, (byte) 102, false, -1); - if (Class348_Sub42_Sub12.method3229(-119) == 2) Applet_Sub1.method94("wm2 succeeded", -109); - else { - Applet_Sub1.method94("wm2 failed", i + 154); - return; - } - return; - } - if (string.equalsIgnoreCase("wm3")) { - Class85.method830(3, 1024, (byte) 102, false, 768); - if (Class348_Sub42_Sub12.method3229(i ^ 0x3d) == 3) Applet_Sub1.method94("wm3 succeeded", 111); - else { - Applet_Sub1.method94("wm3 failed", 83); - return; - } - return; - } - if (string.equalsIgnoreCase("tk0")) { - Class367_Sub10.method3553(false, (byte) 104, 0); - if (Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) == 0) { - Applet_Sub1.method94("Entered tk0", 101); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub25_7251), 0); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - return; - } else Applet_Sub1.method94("Failed to enter tk0", 69); - return; - } - if (string.equalsIgnoreCase("tk1")) { - Class367_Sub10.method3553(false, (byte) 109, 1); - if (Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) == 1) { - Applet_Sub1.method94("Entered tk1", -65); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub25_7251), 1); - Class14_Sub2.method243(i ^ ~0x6b); - r.aBoolean9719 = false; - return; - } else Applet_Sub1.method94("Failed to enter tk1", -56); - return; - } - if (string.equalsIgnoreCase("tk2")) { - Class367_Sub10.method3553(false, (byte) 115, 2); - if (Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) == 2) { - Applet_Sub1.method94("Entered tk2", i + 151); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub25_7251), 2); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - } else { - Applet_Sub1.method94("Failed to enter tk2", i ^ 0x22); - return; - } - return; - } - if (string.equalsIgnoreCase("tk3")) { - Class367_Sub10.method3553(false, (byte) 107, 3); - if (Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) == 3) { - Applet_Sub1.method94("Entered tk3", 78); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub25_7251), 3); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - return; - } else Applet_Sub1.method94("Failed to enter tk3", 54); - return; - } - if (string.equalsIgnoreCase("tk5")) { - Class367_Sub10.method3553(false, (byte) 113, 5); - if (Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(i ^ 0x7e13) == 5) { - Applet_Sub1.method94("Entered tk5", -108); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub25_7251), 5); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - } else { - Applet_Sub1.method94("Failed to enter tk5", 63); - return; - } - return; - } - if (string.startsWith("setba")) { - if (string.length() < 6) Applet_Sub1.method94("Invalid buildarea value", i + -36); - else { - int i_6_ = (Class348_Sub41.method3156(true, string.substring(6))); - if (i_6_ < 0 || (Class348.method2710(-126, Class226.anInt2964) < i_6_)) Applet_Sub1.method94("Invalid buildarea value", 53); - else { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub6_7226), i_6_); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - Applet_Sub1.method94(("maxbuildarea=" + Class316.aClass348_Sub51_3959.aClass239_Sub6_7226.method1743(-32350)), 98); - return; - } - return; - } - return; - } - if (string.startsWith("rect_debug")) { - if (string.length() < 10) Applet_Sub1.method94("Invalid rect_debug value", -94); - else { - ha_Sub3.anInt8045 = Class348_Sub41.method3156(true, string.substring(10).trim()); - Applet_Sub1.method94(("rect_debug=" + ha_Sub3.anInt8045), -124); - return; - } - return; - } - if (string.equalsIgnoreCase("qa_op_test")) { - Class299_Sub2.aBoolean6327 = true; - Applet_Sub1.method94(("qa_op_test=" + (Class299_Sub2.aBoolean6327)), -114); - return; - } - if (string.equalsIgnoreCase("clipcomponents")) { - Class318_Sub1_Sub3_Sub2.aBoolean10046 = !Class318_Sub1_Sub3_Sub2.aBoolean10046; - Applet_Sub1.method94(("clipcomponents=" + (Class318_Sub1_Sub3_Sub2.aBoolean10046)), 88); - return; - } - if (string.startsWith("bloom")) { - boolean bool_7_ = Class348_Sub8.aHa6654.method3666(); - if (Class348_Sub40_Sub33.method3137(!bool_7_, (byte) -24)) { - if (bool_7_) { - Applet_Sub1.method94("Bloom disabled", i + -49); - return; - } else Applet_Sub1.method94("Bloom enabled", 71); - return; - } else Applet_Sub1.method94("Failed to enable bloom", 52); - return; - } - if (string.equalsIgnoreCase("tween")) { - if (Class28.aBoolean5002) { - Class28.aBoolean5002 = false; - Applet_Sub1.method94("Forced tweening disabled.", i ^ ~0x71); - return; - } else { - Class28.aBoolean5002 = true; - Applet_Sub1.method94("Forced tweening ENABLED!", -89); - } - return; - } - if (string.equalsIgnoreCase("shiftclick")) { - if (Class116.shiftClick) { - Applet_Sub1.method94("Shift-click disabled.", i ^ ~0x24); - Class116.shiftClick = false; - } else { - Applet_Sub1.method94("Shift-click ENABLED!", 106); - Class116.shiftClick = true; - return; - } - return; - } - if (string.equalsIgnoreCase("getcgcoord")) { - Applet_Sub1.method94(("x:" + ((Class132.aPlayer_1907.x) >> 9) + " z:" + ((Class132.aPlayer_1907.y) >> 9)), -117); - return; - } - if (string.equalsIgnoreCase("getheight")) { - Applet_Sub1.method94(("Height: " + (aa_Sub1.aSArray5191[(Class132.aPlayer_1907.plane)].method3982((byte) -86, (Class132.aPlayer_1907.y) >> 9, (Class132.aPlayer_1907.x) >> 9))), i ^ 0x1); - return; - } - if (string.equalsIgnoreCase("resetminimap")) { - Class21.aClass45_322.method405(i ^ ~0x4e); - Class21.aClass45_322.method412((byte) 127); - Class2.aClass141_117.method1175((byte) 125); - Class348_Sub23_Sub2.aClass153_9031.method1219(7851); - Class50_Sub2.method464(-1); - Applet_Sub1.method94("Minimap reset", 70); - return; - } - if (string.startsWith("mc")) { - if (Class348_Sub8.aHa6654.method3708()) { - int i_8_ = Integer.parseInt(string.substring(3)); - if (i_8_ >= 1) { - if (i_8_ > 4) i_8_ = 4; - } else i_8_ = 1; - Class239_Sub16.anInt6012 = i_8_; - Class348_Sub20.method2953((byte) -128); - Applet_Sub1.method94(("Render cores now: " + (Class239_Sub16.anInt6012)), -77); - } else { - Applet_Sub1.method94("Current toolkit doesn't support multiple cores", i + 138); - return; - } - return; - } - if (string.startsWith("cachespace")) { - Applet_Sub1.method94(("I(s): " + Class351.aClass60_4327.method581(-18529) + "/" + Class351.aClass60_4327.method577(-4)), -101); - Applet_Sub1.method94(("I(m): " + Class358.aClass60_4417.method581(-18529) + "/" + Class358.aClass60_4417.method577(i ^ 0x4d)), 127); - Applet_Sub1.method94(("O(s): " + Exception_Sub1.aClass255_112.aClass175_3288.method1350((byte) 126) + "/" + Exception_Sub1.aClass255_112.aClass175_3288.method1339(100)), i + 203); - return; - } - if (string.equalsIgnoreCase("getcamerapos")) { - Applet_Sub1.method94(("Pos: " + (Class132.aPlayer_1907.plane) + "," + (((Class286_Sub4.anInt6246 >> 9) - -za_Sub2.regionTileX) >> 6) + "," + ((Class59_Sub2_Sub2.anInt8685 >> 9) + Class90.regionTileY >> 6) + "," + (((Class286_Sub4.anInt6246 >> 9) - -za_Sub2.regionTileX) & 0x3f) + "," + ((Class59_Sub2_Sub2.anInt8685 >> 9) - -Class90.regionTileY & 0x3f) + " Height: " + ((Class275.method2064(Class286_Sub4.anInt6246, (Class132.aPlayer_1907.plane), 11219, Class59_Sub2_Sub2.anInt8685)) - Class305.anInt3855)), 126); - Applet_Sub1.method94(("Look: " + (Class132.aPlayer_1907.plane) + "," + (Class352.anInt4336 - -za_Sub2.regionTileX >> 6) + "," + (Class90.regionTileY + Class281.anInt3647 >> 6) + "," + (0x3f & Class352.anInt4336 - -za_Sub2.regionTileX) + "," + (0x3f & Class281.anInt3647 - -Class90.regionTileY) + " Height: " + ((Class275.method2064(Class352.anInt4336, (Class132.aPlayer_1907.plane), 11219, Class281.anInt3647)) - Class121.anInt1797)), -90); - return; - } - if (string.equals("renderprofile") || string.equals("rp")) { - Class188.aBoolean2514 = !Class188.aBoolean2514; - Class348_Sub8.aHa6654.method3647(Class188.aBoolean2514); - Class110_Sub1.method1042((byte) 23); - Applet_Sub1.method94(("showprofiling=" + Class188.aBoolean2514), 106); - return; - } - if (string.startsWith("performancetest")) { - int i_9_ = -1; - int i_10_ = 1000; - if (string.length() > 15) { - String[] strings = Class348_Sub40_Sub23.method3113(' ', true, string); - try { - if (strings.length > 1) i_10_ = Integer.parseInt(strings[1]); - } catch (Throwable throwable) { - /* empty */ - } - try { - if (strings.length > 2) i_9_ = Integer.parseInt(strings[2]); - } catch (Throwable throwable) { - /* empty */ - } - } - if (i_9_ == -1) { - Applet_Sub1.method94(("Java toolkit: " + Class239_Sub14.method1781(0, -85, i_10_)), i + -32); - Applet_Sub1.method94(("SSE toolkit: " + Class239_Sub14.method1781(2, -73, i_10_)), 60); - Applet_Sub1.method94(("D3D toolkit: " + Class239_Sub14.method1781(3, i + -24, i_10_)), i ^ ~0x11); - Applet_Sub1.method94(("GL toolkit: " + Class239_Sub14.method1781(1, -84, i_10_)), -121); - Applet_Sub1.method94(("GLX toolkit: " + Class239_Sub14.method1781(5, -77, i_10_)), -101); - return; - } else Applet_Sub1.method94(("Performance: " + Class239_Sub14.method1781(i_9_, -69, i_10_)), -84); - return; - } - if (string.equals("nonpcs")) { - Class373_Sub2.aBoolean7444 = !Class373_Sub2.aBoolean7444; - Applet_Sub1.method94("nonpcs=" + (Class373_Sub2.aBoolean7444), -120); - return; - } - if (string.equals("autoworld")) { - Class348_Sub42_Sub20.method3283(127); - Applet_Sub1.method94("auto world selected", -59); - return; - } - if (string.startsWith("switchworld")) { - int i_11_ = Integer.parseInt(string.substring(12)); - Class348_Sub23_Sub1.method2972((Class239_Sub5.method1742(false, i_11_).aString5794), i_11_, -93); - Applet_Sub1.method94("switched", 70); - return; - } - if (string.equals("getworld")) { - Applet_Sub1.method94(("w: " + (Class3.aClass161_125.anInt2143)), -120); - return; - } - if (string.startsWith("pc")) { - Class348_Sub47 class348_sub47 = (Class286_Sub3.method2148(Class348_Sub40_Sub22.aClass351_9304, Class348_Sub23_Sub2.aClass77_9029, -97)); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 0); - int i_12_ = (class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197); - int i_13_ = string.indexOf(" ", 4); - class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string.substring(3, i_13_)); - Class367_Sub4.method3544((class348_sub47.aClass348_Sub49_Sub2_7116), i + -12, string.substring(i_13_)); - class348_sub47.aClass348_Sub49_Sub2_7116.method3339(114, (class348_sub47.aClass348_Sub49_Sub2_7116.anInt7197 + -i_12_)); - Class348_Sub42_Sub14.method3243(i ^ ~0x49, class348_sub47); - return; - } - if (string.equals("savevarcs")) { - Class318_Sub1_Sub2.method2405(119); - Applet_Sub1.method94("perm varcs saved", -103); - return; - } - if (string.equals("scramblevarcs")) { - for (int i_14_ = 0; (i_14_ < Class77.anIntArray1303.length); i_14_++) { - if (Class286_Sub6.aBooleanArray6270[i_14_]) { - Class77.anIntArray1303[i_14_] = (int) (Math.random() * 99999.0); - if (Math.random() > 0.5) Class77.anIntArray1303[i_14_] *= -1; - } - } - Class318_Sub1_Sub2.method2405(-61); - Applet_Sub1.method94("perm varcs scrambled", -74); - return; - } - if (string.equals("showcolmap")) { - Class375.aBoolean4542 = true; - Class50_Sub2.method464(-1); - Applet_Sub1.method94("colmap is shown", 53); - return; - } - if (string.equals("hidecolmap")) { - Class375.aBoolean4542 = false; - Class50_Sub2.method464(i ^ 0x4e); - Applet_Sub1.method94("colmap is hidden", 61); - return; - } - if (string.equals("resetcache")) { - Class348_Sub18.method2938((byte) 122); - Applet_Sub1.method94("Caches reset", -113); - return; - } - if (string.equals("profilecpu")) { - Applet_Sub1.method94((Class284.method2116(-26584) + "ms"), 87); - return; - } - if (string.startsWith("getclientvarpbit")) { - int i_15_ = Integer.parseInt(string.substring(17)); - Applet_Sub1.method94("varpbit=" + Class318_Sub1_Sub3_Sub3.aClass170_10209.method62(i_15_, i ^ 0xffb1), i + 198); - return; - } - if (string.startsWith("getclientvarp")) { - int i_16_ = Integer.parseInt(string.substring(14)); - Applet_Sub1.method94("varp=" + Class318_Sub1_Sub3_Sub3.aClass170_10209.method61(i_16_, (byte) -16), -68); - return; - } - if (string.startsWith("directlogin")) { - String[] strings = (Class348_Sub40_Sub23.method3113(' ', true, string.substring(12))); - if (strings.length >= 2) { - int i_17_ = (strings.length > 2 ? Integer.parseInt(strings[2]) : 0); - Class253.method1922(strings[1], i_17_, strings[0], true); - return; - } - } - if (string.startsWith("csprofileclear")) { - Class66.method706(); - return; - } - if (string.startsWith("csprofileoutputc")) { - Class66.method715(100, false); - return; - } - if (string.startsWith("csprofileoutputt")) { - Class66.method715(10, true); - return; - } - if (string.startsWith("texsize")) { - int i_18_ = Integer.parseInt(string.substring(8)); - Class348_Sub8.aHa6654.method3696(i_18_); - return; - } - if (string.equals("soundstreamcount")) { - Applet_Sub1.method94(("Active streams: " + Class348_Sub43.aClass348_Sub16_Sub4_7065.method2887()), 84); - return; - } - if (string.equals("autosetup")) { - Class318_Sub1_Sub4.method2478(1000); - Applet_Sub1.method94(("Complete. Toolkit now: " + Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(i + -32271)), -97); - return; - } - if (string.equals("errormessage")) { - Applet_Sub1.method94(Class79.aClient1367.method81((byte) 102), 102); - return; - } - if (string.equals("heapdump")) { - if (!Class297.aString3803.startsWith("win")) Class158.method1247(new File("/tmp/heap.dump"), false, false); - else Class158.method1247(new File("C:\\Temp\\heap.dump"), false, false); - Applet_Sub1.method94("Done", 74); - return; - } - if (string.equals("os")) { - Applet_Sub1.method94("Name: " + Class297.aString3803, 59); - Applet_Sub1.method94(("Arch: " + Class297.aString3780), i ^ ~0x1); - Applet_Sub1.method94("Ver: " + Class297.aString3778, 79); - return; - } - if (string.startsWith("w2debug")) { - int i_19_ = Integer.parseInt(string.substring(8, 9)); - Class318_Sub1_Sub4_Sub2.anInt10096 = i_19_; - Class348_Sub20.method2953((byte) -103); - Applet_Sub1.method94("Toggled!", -99); - return; - } - if (string.startsWith("ortho ")) { - int i_20_ = string.indexOf(' '); - if (i_20_ < 0) Applet_Sub1.method94("Syntax: ortho ", 66); - else { - int i_21_ = (Class348_Sub41.method3156(true, string.substring(1 + i_20_))); - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub3_7222), i_21_); - Class14_Sub2.method243(37); - r.aBoolean9719 = false; - Class348_Sub42_Sub3.method3179(i + 79); - if (Class316.aClass348_Sub51_3959.aClass239_Sub3_7222.method1727(-32350) == i_21_) { - Applet_Sub1.method94("Successfully changed ortho mode", -82); - return; - } else Applet_Sub1.method94("Failed to change ortho mode", -112); - return; - } - return; - } - if (string.startsWith("orthozoom ")) { - if (Class316.aClass348_Sub51_3959.aClass239_Sub3_7222.method1727(i + -32271) == 0) Applet_Sub1.method94("enable ortho mode first (use 'ortho ')", i + 182); - else { - int i_22_ = (Class348_Sub41.method3156(true, string.substring(string.indexOf(' ') - -1))); - Class132.anInt1911 = i_22_; - Applet_Sub1.method94(("orthozoom=" + Class132.anInt1911), 68); - return; - } - return; - } - if (string.startsWith("orthotilesize ")) { - int i_23_ = (Class348_Sub41.method3156(true, string.substring(1 + string.indexOf(' ')))); - Class186_Sub1.anInt5812 = Class45.anInt666 = i_23_; - Applet_Sub1.method94("ortho tile size=" + i_23_, -70); - Class348_Sub42_Sub3.method3179(0); - return; - } - if (string.equals("orthocamlock")) { - Class348_Sub49_Sub1.aBoolean9746 = !Class348_Sub49_Sub1.aBoolean9746; - Applet_Sub1.method94(("ortho camera lock is " + (!(Class348_Sub49_Sub1.aBoolean9746) ? "off" : "on")), -92); - return; - } - if (string.startsWith("setoutput ")) { - File file = new File(string.substring(10)); - if (file.exists()) { - file = new File(string.substring(10) + "." + Class62.method599(-76) + ".log"); - if (file.exists()) { - Applet_Sub1.method94("file already exists!", 80); - return; - } - } - if (Class299_Sub1.aFileOutputStream6323 != null) { - Class299_Sub1.aFileOutputStream6323.close(); - Class299_Sub1.aFileOutputStream6323 = null; - } - try { - Class299_Sub1.aFileOutputStream6323 = new FileOutputStream(file); - } catch (java.io.FileNotFoundException filenotfoundexception) { - Applet_Sub1.method94(("Could not create " + file.getName()), 81); - } catch (SecurityException securityexception) { - Applet_Sub1.method94(("Cannot write to " + file.getName()), i ^ ~0x22); - } - return; - } - if (string.equals("closeoutput")) { - if (Class299_Sub1.aFileOutputStream6323 != null) Class299_Sub1.aFileOutputStream6323.close(); - Class299_Sub1.aFileOutputStream6323 = null; - return; - } - if (string.startsWith("runscript ")) { - File file = new File(string.substring(10)); - if (!file.exists()) { - Applet_Sub1.method94("No such file", 120); - return; - } - byte[] is = Class239_Sub24.method1821(i ^ 0x41, file); - if (is == null) { - Applet_Sub1.method94("Failed to read file", 119); - return; - } - String[] strings = (Class348_Sub40_Sub23.method3113('\n', true, (Class261.method1981(Class239_Sub17.method1795(is, true), (byte) -89, '\r', "")))); - Class348_Sub42_Sub6.method3189(0, strings); - } - if (string.startsWith("zoom ")) { - short i_24_ = (short) (Class348_Sub41.method3156(true, string.substring(5))); - if (i_24_ > 0) Class320.aShort3992 = i_24_; - return; - } - if (string.startsWith("fps ") && (Class8.aClass364_165 != Class55_Sub1.aClass364_5271)) { - Class295.method2222((Class348_Sub41.method3156(true, string.substring(4))), (byte) -124); - return; - } - } catch (Exception exception) { - Applet_Sub1.method94(Class274.aClass274_3485.method2063(Class348_Sub33.anInt6967, 544), -92); - return; - } - } - if (Class240.anInt4674 == 10) { - Class292.anInt4799++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class101_Sub2.aClass351_5699), (Class348_Sub23_Sub2.aClass77_9029), i ^ 0x24); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, string.length() + 3); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, bool ? 1 : 0); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, bool_0_ ? 1 : 0); - class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); - Class348_Sub42_Sub14.method3243(120, class348_sub47); - } - if (Class240.anInt4674 == 10) { - return; - } - Applet_Sub1.method94(Class274.aClass274_3486.method2063(Class348_Sub33.anInt6967, 544) + string, 57); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("lba.B(" + (string != null ? "{...}" : "null") + ',' + bool + ',' + bool_0_ + ',' + i + ')')); - } - } - - static final Class318_Sub1_Sub4 method813(int i, int i_25_, int i_26_) { - Class357 class357 = Class147.aClass357ArrayArrayArray2029[i][i_25_][i_26_]; - if (class357 == null) return null; - return class357.aClass318_Sub1_Sub4_4403; - } - - static final void method814(byte i, long l) { - try { - anInt1438++; - int i_27_ = Class348_Sub6.anInt6633; - if (i > 106) { - if (Class130_Sub1.anInt5799 != i_27_) { - int i_28_ = i_27_ - Class130_Sub1.anInt5799; - int i_29_ = (int) ((long) i_28_ * l / 320L); - if (i_28_ <= 0) { - if (i_29_ != 0) { - if (i_29_ < i_28_) i_29_ = i_28_; - } else i_29_ = -1; - } else if (i_29_ == 0) i_29_ = 1; - else if (i_28_ < i_29_) i_29_ = i_28_; - Class130_Sub1.anInt5799 += i_29_; - } - int i_30_ = Class348_Sub7.anInt6652; - Class76.aFloat1287 += Class348_Sub27.aFloat6898 * (float) l / 40.0F * 8.0F; - Class314.aFloat3938 += Class205.aFloat2687 * (float) l / 40.0F * 8.0F; - if (Class192.anInt2578 != i_30_) { - int i_31_ = -Class192.anInt2578 + i_30_; - int i_32_ = (int) (l * (long) i_31_ / 320L); - if (i_31_ <= 0) { - if (i_32_ == 0) i_32_ = -1; - else if (i_32_ < i_31_) i_32_ = i_31_; - } else if (i_32_ != 0) { - if (i_31_ < i_32_) i_32_ = i_31_; - } else i_32_ = 1; - Class192.anInt2578 += i_32_; - } - Class239_Sub2.method1725(262144); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "lba.A(" + i + ',' + l + ')'); - } - } - - Class82(Class230 class230, int i, Class45 class45) { - new Class60(64); - try { - aClass45_1436 = class45; - this.anInt1439 = aClass45_1436.method407(0, 15); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("lba.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class83.java b/client/src/Class83.java deleted file mode 100644 index 5e34b6ce9..000000000 --- a/client/src/Class83.java +++ /dev/null @@ -1,55 +0,0 @@ -/* Class83 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class83 { - Class258_Sub1 aClass258_Sub1_1440; - static String[] aStringArray1441 = new String[200]; - boolean aBoolean1442; - Class258_Sub1 aClass258_Sub1_1443 = null; - Class258_Sub3[] aClass258_Sub3Array1444 = null; - static int anInt1445; - Class258_Sub1 aClass258_Sub1_1446 = null; - static int anInt1447 = 0; - Class258_Sub3[] aClass258_Sub3Array1448; - - public static void method815(boolean bool) { - if (bool != false) method815(true); - aStringArray1441 = null; - } - - Class83(ha_Sub2 var_ha_Sub2) { - this.aClass258_Sub1_1440 = null; - this.aClass258_Sub3Array1448 = null; - this.aBoolean1442 = var_ha_Sub2.aBoolean7831; - Class348_Sub37.method3030(8, var_ha_Sub2); - if (this.aBoolean1442) { - byte[] is = Class50_Sub1.method461(false, Class337.anObject4177, 53146732); - this.aClass258_Sub1_1440 = new Class258_Sub1(var_ha_Sub2, 6410, 128, 128, 16, is, 6410); - is = Class50_Sub1.method461(false, Class319.anObject3985, 53146732); - this.aClass258_Sub1_1446 = new Class258_Sub1(var_ha_Sub2, 6410, 128, 128, 16, is, 6410); - Class188 class188 = var_ha_Sub2.aClass188_7736; - if (class188.method1414(35632)) { - is = Class50_Sub1.method461(false, Class369_Sub2.anObject8592, 53146732); - this.aClass258_Sub1_1443 = new Class258_Sub1(var_ha_Sub2, 6408, 128, 128, 16); - Class258_Sub1 class258_sub1 = new Class258_Sub1(var_ha_Sub2, 6409, 128, 128, 16, is, 6409); - if (!class188.method1413(this.aClass258_Sub1_1443, class258_sub1, -114, 2.0F)) { - this.aClass258_Sub1_1443.method1952(-19948); - this.aClass258_Sub1_1443 = null; - } else this.aClass258_Sub1_1443.method1950(-82); - class258_sub1.method1952(-19948); - } - } else { - this.aClass258_Sub3Array1444 = new Class258_Sub3[16]; - for (int i = 0; i < 16; i++) { - byte[] is = Class173.method1331((byte) 97, Class337.anObject4177, 2 * (128 * i) * 128, 32768); - this.aClass258_Sub3Array1444[i] = new Class258_Sub3(var_ha_Sub2, 3553, 6410, 128, 128, true, is, 6410, false); - } - this.aClass258_Sub3Array1448 = new Class258_Sub3[16]; - for (int i = 0; i < 16; i++) { - byte[] is = Class173.method1331((byte) 110, Class319.anObject3985, 2 * i * 16384, 32768); - this.aClass258_Sub3Array1448[i] = new Class258_Sub3(var_ha_Sub2, 3553, 6410, 128, 128, true, is, 6410, false); - } - } - } -} diff --git a/client/src/Class84.java b/client/src/Class84.java deleted file mode 100644 index 0e75cf3d8..000000000 --- a/client/src/Class84.java +++ /dev/null @@ -1,172 +0,0 @@ -/* Class84 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class84 { - private final Class60 aClass60_1449 = new Class60(16); - static int[] anIntArray1450 = {1, 2, 4, 8}; - static int anInt1451; - static int anInt1452; - static int anInt1453; - static int anInt1454; - static int anInt1455; - static int anInt1456; - static int anInt1457; - static int anInt1458; - static int anInt1459; - private final Class45 aClass45_1460; - - final void method816(boolean bool) { - anInt1455++; - synchronized (aClass60_1449) { - if (bool != false) method819((byte) 107, 46); - aClass60_1449.method587(-119); - } - } - - static final Class318_Sub1_Sub3_Sub3 method817(int i, int i_0_, int i_1_, int i_2_) { - anInt1456++; - Class357 class357 = Class147.aClass357ArrayArrayArray2029[i_1_][i_0_][i_2_]; - if (class357 == null) return null; - if (i != 252) return null; - Class318_Sub1_Sub3_Sub3 class318_sub1_sub3_sub3 = null; - int i_3_ = -1; - for (Class148 class148 = class357.aClass148_4396; class148 != null; class148 = class148.aClass148_2038) { - Class318_Sub1_Sub3 class318_sub1_sub3 = class148.aClass318_Sub1_Sub3_2040; - if (class318_sub1_sub3 instanceof Class318_Sub1_Sub3_Sub3) { - Class318_Sub1_Sub3_Sub3 class318_sub1_sub3_sub3_4_ = (Class318_Sub1_Sub3_Sub3) class318_sub1_sub3; - int i_5_ = 252 + (-1 + class318_sub1_sub3_sub3_4_.method2436((byte) 88)) * 256; - int i_6_ = (-i_5_ + (class318_sub1_sub3_sub3_4_.x) >> 9); - int i_7_ = (-i_5_ + (class318_sub1_sub3_sub3_4_.y) >> 9); - int i_8_ = i_5_ + (class318_sub1_sub3_sub3_4_.x) >> 9; - int i_9_ = ((class318_sub1_sub3_sub3_4_.y + i_5_) >> 9); - if (i_0_ >= i_6_ && i_7_ <= i_2_ && i_0_ <= i_8_ && i_2_ <= i_9_) { - int i_10_ = (1 + i_9_ - i_2_) * (-i_0_ + (1 + i_8_)); - if (i_3_ < i_10_) { - i_3_ = i_10_; - class318_sub1_sub3_sub3 = class318_sub1_sub3_sub3_4_; - } - } - } - } - return class318_sub1_sub3_sub3; - } - - static final int method818(int i, int i_11_, int i_12_) { - anInt1451++; - int i_13_ = i_11_; - while (i > 0) { - i_13_ = i_12_ & 0x1 | i_13_ << 1; - i--; - i_12_ >>>= 1; - } - return i_13_; - } - - final void method819(byte i, int i_14_) { - synchronized (aClass60_1449) { - aClass60_1449.method578(2, i_14_); - if (i <= 8) method826(91, -94, 117, 24, 39, -100, null); - } - anInt1457++; - } - - private final Class300 method820(int i, int i_15_) { - anInt1458++; - Class300 class300; - synchronized (aClass60_1449) { - class300 = (Class300) aClass60_1449.method583(i, 116); - } - if (class300 != null) return class300; - byte[] is; - synchronized (aClass45_1460) { - is = aClass45_1460.method410(-1860, i_15_, i); - } - class300 = new Class300(); - if (is != null) class300.method2275(new Class348_Sub49(is), (byte) -123); - synchronized (aClass60_1449) { - aClass60_1449.method582(class300, i, (byte) -106); - } - return class300; - } - - static final void method821(int i) { - Class332.aClass60_4139.method590(0); - int i_16_ = -67 / ((i - 39) / 33); - anInt1459++; - } - - final void method822(byte i) { - synchronized (aClass60_1449) { - aClass60_1449.method590(0); - } - if (i >= -13) method825(14); - anInt1452++; - } - - final Class305 method823(int i, int i_17_, int i_18_, int i_19_, Class25 class25, int i_20_) { - anInt1453++; - Class72[] class72s = null; - Class300 class300 = method820(i_20_, 29); - if (i_19_ > -36) return null; - if (class300.anIntArray3821 != null) { - class72s = new Class72[class300.anIntArray3821.length]; - for (int i_21_ = 0; class72s.length > i_21_; i_21_++) { - Class38 class38 = class25.method301((class300.anIntArray3821[i_21_]), 29); - class72s[i_21_] = new Class72(class38.anInt498, class38.anInt504, class38.anInt499, class38.anInt502, class38.anInt508, class38.anInt501, class38.anInt503, class38.aBoolean507); - } - } - return new Class305(class300.anInt3817, class72s, class300.anInt3823, i_18_, i, i_17_); - } - - static final void method824(int i) { - Canvas_Sub1.anInt67 = i; - for (int i_22_ = 0; i_22_ < Class318_Sub7.anInt6451; i_22_++) { - for (int i_23_ = 0; i_23_ < Class348_Sub41.anInt7054; i_23_++) { - if (Class147.aClass357ArrayArrayArray2029[i][i_22_][i_23_] == null) Class147.aClass357ArrayArrayArray2029[i][i_22_][i_23_] = new Class357(i); - } - } - } - - public static void method825(int i) { - anIntArray1450 = null; - if (i > -73) anIntArray1450 = null; - } - - static final void method826(int i, int i_24_, int i_25_, int i_26_, int i_27_, int i_28_, ha var_ha) { - if ((Class174.aClass105_2309 == null || Class348_Sub42_Sub15.aClass105_9658 == null || Class348_Sub42_Sub15.aClass105_9659 == null) && Class21.aClass45_322.method421(false, Class318_Sub1_Sub3_Sub3.anInt10257) && Class21.aClass45_322.method421(false, Class313.anInt3937) && Class21.aClass45_322.method421(false, Class79.anInt1387)) { - Class207 class207 = Class207.method1521(Class21.aClass45_322, Class313.anInt3937, 0); - Class348_Sub42_Sub15.aClass105_9658 = var_ha.method3691(class207, true); - class207.method1518(); - Class309.aClass105_4808 = var_ha.method3691(class207, true); - Class174.aClass105_2309 = (var_ha.method3691(Class207.method1521(Class21.aClass45_322, Class318_Sub1_Sub3_Sub3.anInt10257, 0), true)); - Class207 class207_29_ = Class207.method1521(Class21.aClass45_322, Class79.anInt1387, 0); - Class348_Sub42_Sub15.aClass105_9659 = var_ha.method3691(class207_29_, true); - class207_29_.method1518(); - Class110.aClass105_1706 = var_ha.method3691(class207_29_, true); - } - anInt1454++; - if (Class174.aClass105_2309 != null && Class348_Sub42_Sub15.aClass105_9658 != null && Class348_Sub42_Sub15.aClass105_9659 != null) { - int i_30_ = (-(Class348_Sub42_Sub15.aClass105_9659.method971() * 2) + i_25_) / Class174.aClass105_2309.method971(); - for (int i_31_ = 0; i_31_ < i_30_; i_31_++) - Class174.aClass105_2309.method974(i_24_ + (Class348_Sub42_Sub15.aClass105_9659.method971() - -(i_31_ * Class174.aClass105_2309.method971())), -Class174.aClass105_2309.method969() + (i_28_ + i_26_)); - int i_32_ = ((i_26_ - (i + Class348_Sub42_Sub15.aClass105_9659.method969())) / Class348_Sub42_Sub15.aClass105_9658.method969()); - for (int i_33_ = 0; i_33_ < i_32_; i_33_++) { - Class348_Sub42_Sub15.aClass105_9658.method974(i_24_, (Class348_Sub42_Sub15.aClass105_9658.method969() * i_33_ + (i_28_ + i))); - Class309.aClass105_4808.method974(-Class309.aClass105_4808.method971() + i_25_ + i_24_, (Class348_Sub42_Sub15.aClass105_9658.method969() * i_33_ + i + i_28_)); - } - Class348_Sub42_Sub15.aClass105_9659.method974(i_24_, (-Class348_Sub42_Sub15.aClass105_9659.method969() + i_28_ + i_26_)); - Class110.aClass105_1706.method974(i_24_ + (i_25_ + -Class348_Sub42_Sub15.aClass105_9659.method971()), i_28_ - (-i_26_ + Class348_Sub42_Sub15.aClass105_9659.method969())); - } - int i_34_ = -24 % ((i_27_ - 85) / 35); - } - - Class84(Class230 class230, int i, Class45 class45) { - try { - aClass45_1460 = class45; - aClass45_1460.method407(0, 29); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("lca.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class85.java b/client/src/Class85.java deleted file mode 100644 index 0436c8d79..000000000 --- a/client/src/Class85.java +++ /dev/null @@ -1,204 +0,0 @@ -/* Class85 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class85 { - static int anInt1461; - static int anInt1462; - private int anInt1463; - static int anInt1464; - private final byte[] aByteArray1465 = new byte[32]; - static int anInt1466; - static int anInt1467; - private int anInt1468; - private final long[] aLongArray1469; - static int anInt1470; - private final long[] aLongArray1471 = new long[8]; - private final long[] aLongArray1472; - private final long[] aLongArray1473; - private final long[] aLongArray1474; - private final byte[] aByteArray1475; - static int anInt1476; - - private final void method827(int i) { - anInt1462++; - int i_0_ = 0; - int i_1_ = i; - for (/**/; i_0_ < 8; i_0_++) { - aLongArray1473[i_0_] = (Class105_Sub2.method993((Class105_Sub2.method993((Class348_Sub8.method2777(255L, aByteArray1475[i_1_ + 6]) << 8), (Class105_Sub2.method993(Class348_Sub8.method2777(((long) (aByteArray1475[i_1_ - -5]) << 16), 255L << 16), (Class105_Sub2.method993((Class105_Sub2.method993(Class348_Sub8.method2777(255L << 32, ((long) (aByteArray1475[i_1_ + 3]) << 32)), (Class105_Sub2.method993(Class105_Sub2.method993((Class348_Sub8.method2777(255L << 48, ((long) (aByteArray1475[1 + i_1_]) << 48))), ((long) (aByteArray1475[i_1_]) << 56)), Class348_Sub8.method2777(((long) (aByteArray1475[i_1_ + 2]) << 40), 255L << 40))))), Class348_Sub8.method2777(aByteArray1475[4 + i_1_], 255L) << 24)))))), Class348_Sub8.method2777(255L, aByteArray1475[i_1_ - -7]))); - i_1_ += 8; - } - for (int i_2_ = 0; i_2_ < 8; i_2_++) - aLongArray1469[i_2_] = Class105_Sub2.method993(aLongArray1473[i_2_], (aLongArray1472[i_2_] = aLongArray1474[i_2_])); - for (int i_3_ = 1; i_3_ <= 10; i_3_++) { - for (int i_4_ = 0; i_4_ < 8; i_4_++) { - aLongArray1471[i_4_] = 0L; - int i_5_ = 0; - int i_6_ = 56; - for (/**/; i_5_ < 8; i_5_++) { - aLongArray1471[i_4_] = (Class105_Sub2.method993(aLongArray1471[i_4_], (InputStream_Sub1.aLongArrayArray75[i_5_][(Class139.method1166(255, (int) ((aLongArray1472[Class139.method1166(7, i_4_ - i_5_)]) >>> i_6_)))]))); - i_6_ -= 8; - } - } - for (int i_7_ = 0; i_7_ < 8; i_7_++) - aLongArray1472[i_7_] = aLongArray1471[i_7_]; - aLongArray1472[0] = Class105_Sub2.method993(aLongArray1472[0], InputStream_Sub1.aLongArray76[i_3_]); - for (int i_8_ = 0; i_8_ < 8; i_8_++) { - aLongArray1471[i_8_] = aLongArray1472[i_8_]; - int i_9_ = 0; - int i_10_ = 56; - for (/**/; i_9_ < 8; i_9_++) { - aLongArray1471[i_8_] = (Class105_Sub2.method993(aLongArray1471[i_8_], (InputStream_Sub1.aLongArrayArray75[i_9_][(Class139.method1166(255, (int) ((aLongArray1469[Class139.method1166(-i_9_ + i_8_, 7)]) >>> i_10_)))]))); - i_10_ -= 8; - } - } - for (int i_11_ = 0; i_11_ < 8; i_11_++) - aLongArray1469[i_11_] = aLongArray1471[i_11_]; - } - for (int i_12_ = 0; i_12_ < 8; i_12_++) - aLongArray1474[i_12_] = (Class105_Sub2.method993(aLongArray1474[i_12_], Class105_Sub2.method993(aLongArray1473[i_12_], aLongArray1469[i_12_]))); - } - - static final void method828(byte i, int i_13_, int i_14_) { - if (i != 38) method828((byte) 63, 119, 33); - anInt1467++; - if (Class21.aHa326 != null) { - int i_15_ = Class31.anInt425; - int i_16_ = Class250.anInt3225; - Class239_Sub8.method1752(-1, i_13_, i_14_); - if (Class348_Sub49.anInt7207 == 0) { - Class17.anInterface4_252 = null; - Class17.anInterface4_252 = (Class21.aHa326.method3634(Class21.aHa326.method3665((Class348_Sub16_Sub1.anInt8854), Class239_Sub16.anInt6008), Class21.aHa326.method3624((Class348_Sub16_Sub1.anInt8854), Class239_Sub16.anInt6008))); - } else if (Class348_Sub49.anInt7207 == 1 && (Class92.anInterface4Array1525 == null || i_15_ != Class31.anInt425 || i_16_ != Class250.anInt3225)) { - Class92.anInterface4Array1525 = new Interface4[Class250.anInt3225 * Class31.anInt425]; - for (int i_17_ = 0; Class92.anInterface4Array1525.length > i_17_; i_17_++) - Class92.anInterface4Array1525[i_17_] = (Class21.aHa326.method3634(Class21.aHa326.method3665(Class58.anInt1067, Class344.anInt4267), Class21.aHa326.method3624(Class58.anInt1067, Class344.anInt4267))); - Class132.anIntArray1909 = new int[Class31.anInt425 * Class250.anInt3225]; - Class318_Sub1_Sub1_Sub2.anInt9997 = 1; - } - Class348_Sub16_Sub2.aBoolean8870 = true; - } - } - - final void method829(int i) { - anInt1466++; - int i_18_ = -69 % ((i - 33) / 43); - for (int i_19_ = 0; i_19_ < 32; i_19_++) - aByteArray1465[i_19_] = (byte) 0; - aByteArray1475[0] = (byte) 0; - anInt1463 = anInt1468 = 0; - for (int i_20_ = 0; i_20_ < 8; i_20_++) - aLongArray1474[i_20_] = 0L; - } - - static final void method830(int i, int i_21_, byte i_22_, boolean bool, int i_23_) { - anInt1461++; - Class348_Sub42_Sub3.method3179(0); - Class348_Sub16_Sub2.aLong8866 = 0L; - int i_24_ = Class348_Sub42_Sub12.method3229(-82); - if (i_22_ == 102) { - if (i == 3 || i_24_ == 3) bool = true; - if (!Class348_Sub8.aHa6654.method3695()) bool = true; - Class215.method1580((byte) -125, bool, i_21_, i_24_, i, i_23_); - } - } - - static final int method831(int i, int i_25_, int i_26_, int i_27_) { - anInt1476++; - int i_28_ = 106 / ((-20 - i_27_) / 48); - if (i_26_ > i_25_) return i_26_; - return Math.min(i_25_, i); - } - - final void method832(long l, byte[] is, int i) { - try { - anInt1464++; - int i_29_ = 0; - int i_30_ = 8 - ((int) l & 0x7) & 0x7; - int i_31_ = anInt1463 & 0x7; - long l_32_ = l; - int i_33_ = 31; - int i_34_ = 0; - for (/**/; i_33_ >= 0; i_33_--) { - i_34_ += (0xff & aByteArray1465[i_33_]) - -(0xff & (int) l_32_); - aByteArray1465[i_33_] = (byte) i_34_; - l_32_ >>>= 8; - i_34_ >>>= 8; - } - int i_35_ = 6 % ((i - 64) / 52); - while (l > 8L) { - int i_36_ = (is[i_29_] << i_30_ & 0xff | (0xff & is[1 + i_29_]) >>> 8 + -i_30_); - if (i_36_ < 0 || i_36_ >= 256) throw new RuntimeException("LOGIC ERROR"); - aByteArray1475[anInt1468] = (byte) Class273.method2057(aByteArray1475[anInt1468], i_36_ >>> i_31_); - anInt1468++; - anInt1463 += 8 - i_31_; - if (anInt1463 == 512) { - method827(0); - anInt1463 = anInt1468 = 0; - } - aByteArray1475[anInt1468] = (byte) Class139.method1166(i_36_ << -i_31_ + 8, 255); - i_29_++; - l -= 8L; - anInt1463 += i_31_; - } - int i_37_; - if (l > 0L) { - i_37_ = 0xff & is[i_29_] << i_30_; - aByteArray1475[anInt1468] = (byte) Class273.method2057(aByteArray1475[anInt1468], i_37_ >>> i_31_); - } else i_37_ = 0; - if (l + (long) i_31_ >= 8) { - anInt1463 += 8 - i_31_; - l -= -i_31_ + 8; - anInt1468++; - if (anInt1463 == 512) { - method827(0); - anInt1463 = anInt1468 = 0; - } - aByteArray1475[anInt1468] = (byte) Class139.method1166(i_37_ << 8 + -i_31_, 255); - anInt1463 += (int) l; - } else anInt1463 += l; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("lda.B(" + l + ',' + (is != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - final void method833(boolean bool, int i, byte[] is) { - anInt1470++; - aByteArray1475[anInt1468] = (byte) Class273.method2057(aByteArray1475[anInt1468], 128 >>> Class139.method1166(anInt1463, 7)); - anInt1468++; - if (anInt1468 > 32) { - while (anInt1468 < 64) aByteArray1475[anInt1468++] = (byte) 0; - method827(0); - anInt1468 = 0; - } - while (anInt1468 < 32) aByteArray1475[anInt1468++] = (byte) 0; - Class214.method1577(aByteArray1465, 0, aByteArray1475, 32, 32); - method827(0); - int i_38_ = 0; - if (bool != true) method830(-1, -123, (byte) 39, false, 61); - int i_39_ = i; - while (i_38_ < 8) { - long l = aLongArray1474[i_38_]; - is[i_39_] = (byte) (int) (l >>> 56); - is[i_39_ + 1] = (byte) (int) (l >>> 48); - is[2 + i_39_] = (byte) (int) (l >>> 40); - is[i_39_ - -3] = (byte) (int) (l >>> 32); - is[i_39_ + 4] = (byte) (int) (l >>> 24); - is[i_39_ + 5] = (byte) (int) (l >>> 16); - is[6 + i_39_] = (byte) (int) (l >>> 8); - is[i_39_ + 7] = (byte) (int) l; - i_38_++; - i_39_ += 8; - } - } - - public Class85() { - anInt1468 = 0; - anInt1463 = 0; - aLongArray1472 = new long[8]; - aLongArray1473 = new long[8]; - aByteArray1475 = new byte[64]; - aLongArray1469 = new long[8]; - aLongArray1474 = new long[8]; - } -} diff --git a/client/src/Class86.java b/client/src/Class86.java deleted file mode 100644 index 3f2153eb8..000000000 --- a/client/src/Class86.java +++ /dev/null @@ -1,12 +0,0 @@ -/* Class86 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class86 { - static int anInt1477 = 0; - static float aFloat1478; - static int anInt1479; - static int anInt1480 = -1; - static int anInt1481; - static int anInt1482 = 0; -} diff --git a/client/src/Class87.java b/client/src/Class87.java deleted file mode 100644 index c00c99d22..000000000 --- a/client/src/Class87.java +++ /dev/null @@ -1,109 +0,0 @@ -/* Class87 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class87 { - static int anInt1483; - static int anInt1484; - static int anInt1485; - static int anInt1486; - private Class60 aClass60_1487 = new Class60(64); - private final Class45 aClass45_1488; - static int anInt1489; - static int anInt1490; - private Class60 aClass60_1491 = new Class60(100); - - final void method834(byte i) { - synchronized (aClass60_1487) { - aClass60_1487.method590(0); - if (i >= -43) method838(-67); - } - anInt1490++; - synchronized (aClass60_1491) { - aClass60_1491.method590(0); - } - } - - final Class17 method835(int i, int i_0_) { - anInt1483++; - Class17 class17; - synchronized (aClass60_1487) { - class17 = (Class17) aClass60_1487.method583(i, i_0_ + -68); - } - if (i_0_ != 7) aClass60_1491 = null; - if (class17 != null) return class17; - byte[] is; - synchronized (aClass45_1488) { - is = aClass45_1488.method410(-1860, Class15.method256(i, (byte) 125), Class52.method494(i_0_ ^ 0x55, i)); - } - class17 = new Class17(); - class17.anInt269 = i; - class17.aClass87_251 = this; - if (is != null) class17.method267(new Class348_Sub49(is), false); - class17.method270((byte) 124); - synchronized (aClass60_1487) { - aClass60_1487.method582(class17, i, (byte) -126); - } - return class17; - } - - final void method836(int i, int i_1_) { - anInt1485++; - synchronized (aClass60_1487) { - aClass60_1487.method578(2, i); - } - synchronized (aClass60_1491) { - aClass60_1491.method578(2, i); - } - int i_2_ = -75 % ((i_1_ - 26) / 35); - } - - static final int method837(int i, boolean bool, int i_3_, int i_4_) { - i_4_ &= 0x3; - anInt1486++; - if (i_4_ == 0) return i_3_; - if (bool != true) return -75; - if (i_4_ == 1) return 7 - i; - if (i_4_ == 2) return 7 - i_3_; - return i; - } - - final void method838(int i) { - synchronized (aClass60_1487) { - aClass60_1487.method587(-121); - } - if (i != 7) method838(-111); - anInt1489++; - synchronized (aClass60_1491) { - aClass60_1491.method587(-127); - } - } - - final Class348_Sub42_Sub17 method839(int i, int i_5_) { - anInt1484++; - Class348_Sub42_Sub17 class348_sub42_sub17; - synchronized (aClass60_1491) { - if (i_5_ != 3) aClass60_1487 = null; - class348_sub42_sub17 = (Class348_Sub42_Sub17) aClass60_1491.method583(i, -60); - if (class348_sub42_sub17 == null) { - class348_sub42_sub17 = new Class348_Sub42_Sub17(i); - aClass60_1491.method582(class348_sub42_sub17, i, (byte) -127); - } - if (!class348_sub42_sub17.method3268(-122)) return null; - } - return class348_sub42_sub17; - } - - Class87(Class230 class230, int i, Class45 class45, Class45 class45_6_, Class45 class45_7_) { - try { - aClass45_1488 = class45; - if (aClass45_1488 != null) { - int i_8_ = aClass45_1488.method414(-1) + -1; - aClass45_1488.method407(0, i_8_); - } - Class239.method1711(7, class45_6_, 2, class45_7_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("lfa.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ',' + (class45_6_ != null ? "{...}" : "null") + ',' + (class45_7_ != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/Class88.java b/client/src/Class88.java deleted file mode 100644 index 010626407..000000000 --- a/client/src/Class88.java +++ /dev/null @@ -1,483 +0,0 @@ -/* Class88 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.IOException; -import java.net.Socket; -import java.net.URL; - -final class Class88 { - static int anInt1492; - static int anInt1493; - static int anInt1494; - static int anInt1495; - static int anInt1496; - static int anInt1497 = 0; - static int anInt1498; - static int anInt1499; - static boolean aBoolean1500 = false; - static int anInt1501; - static int anInt1502; - Class318_Sub9 aClass318_Sub9_1503 = new Class318_Sub9(); - static int anInt1504; - private Class318_Sub9 aClass318_Sub9_1505; - - final int method840(int i) { - anInt1496++; - int i_0_ = i; - Class318_Sub9 class318_sub9 = (this.aClass318_Sub9_1503.aClass318_Sub9_6469); - while (this.aClass318_Sub9_1503 != class318_sub9) { - class318_sub9 = class318_sub9.aClass318_Sub9_6469; - i_0_++; - } - return i_0_; - } - - static final Class227[] method841(int i) { - if (i > -126) method847(null, -66); - anInt1504++; - return (new Class227[]{Class191.aClass227_2568, Class100.aClass227_1591, Class6.aClass227_151}); - } - - static final void method842(boolean bool) { - anInt1501++; - Class138.aClass46Array1942 = null; - if (Class59_Sub1.aBoolean5300 && Class348_Sub42_Sub12.method3229(-82) != 1) OutputStream_Sub1.method132(106, (Class240.anInt4674 == 3) || Class240.anInt4674 == 7, za_Sub1.method3439(107), 0, Class348_Sub44.method3306((byte) -111), 0); - int i = 0; - if (bool != false) method847(null, -110); - int i_1_ = 0; - if (Class59_Sub1.aBoolean5300) { - i = s_Sub3.method4008((byte) -124); - i_1_ = Class16.method260(false); - } - Class159.method1252(i_1_, r.anInt9721, i_1_, -1, i, i + Class321.anInt4017, i_1_ - -Class348_Sub42_Sub8_Sub2.anInt10432, (byte) 116, i); - if (Class138.aClass46Array1942 != null) { - Class348_Sub40_Sub7.method3064(i, Class136.anInt4792, true, Class348_Sub1.anInt6555, i_1_, Class331.aClass46_4130.anInt760, i + Class321.anInt4017, false, Class138.aClass46Array1942, -1412584499, i_1_ - -Class348_Sub42_Sub8_Sub2.anInt10432); - Class138.aClass46Array1942 = null; - } - } - - static final void method843(byte i) { - anInt1499++; - if (Class225.anInt2955 != 0 && Class225.anInt2955 != 5) { - try { - int i_2_; - if (Class318_Sub1_Sub1_Sub2.anInt9971 != 0) i_2_ = 2000; - else i_2_ = 250; - if (i_2_ < ++Class11.anInt197) { - if (Class348_Sub40_Sub8.aClass238_9165 != null) { - Class348_Sub40_Sub8.aClass238_9165.method1700((byte) 36); - Class348_Sub40_Sub8.aClass238_9165 = null; - } - if (Class318_Sub1_Sub1_Sub2.anInt9971 >= 3) { - Class225.anInt2955 = 0; - Class14_Sub4.method254(-5, (byte) -111); - return; - } - if (Class239_Sub12.anInt5969 != 2) Class255.aClass161_3285.method1259(0); - else Class3.aClass161_125.method1259(0); - Class318_Sub1_Sub1_Sub2.anInt9971++; - Class225.anInt2955 = 1; - Class11.anInt197 = 0; - } - if (Class225.anInt2955 == 1) { - if (Class239_Sub12.anInt5969 == 2 && !Loader.splitPorts) Class130_Sub1.aClass144_5800 = (Class3.aClass161_125.method1262(Class348_Sub23_Sub1.aClass297_8992, (byte) 36)); - else Class130_Sub1.aClass144_5800 = (Class255.aClass161_3285.method1262(Class348_Sub23_Sub1.aClass297_8992, (byte) 36)); - Class225.anInt2955 = 2; - } - if (Class225.anInt2955 == 2) { - if (Class130_Sub1.aClass144_5800.anInt1997 == 2) throw new IOException(); - if (Class130_Sub1.aClass144_5800.anInt1997 != 1) return; - Class348_Sub40_Sub8.aClass238_9165 = Class348_Sub23_Sub3.method2982(((Socket) (Class130_Sub1.aClass144_5800.anObject1998)), (byte) -118, 7500); - Class130_Sub1.aClass144_5800 = null; - Class348_Sub3.method2739(0); - Class348_Sub47 class348_sub47 = Class203.method1478(true); - class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, Class178.aClass29_2339.anInt400); - Class348_Sub42_Sub14.method3243(9, class348_sub47); - Class239_Sub18.method1802(0); - Class225.anInt2955 = 3; - } - if (Class225.anInt2955 == 3) { - if (!Class348_Sub40_Sub8.aClass238_9165.method1705(1, 107)) return; - Class348_Sub40_Sub8.aClass238_9165.method1701(1, 0, (byte) -118, (Class299.aClass348_Sub49_Sub2_3813.aByteArray7154)); - int i_3_ = ((Class299.aClass348_Sub49_Sub2_3813.aByteArray7154[0]) & 0xff); - if (i_3_ != 0) { - Class225.anInt2955 = 0; - Class14_Sub4.method254(i_3_, (byte) -113); - Class348_Sub40_Sub8.aClass238_9165.method1700((byte) 36); - Class348_Sub40_Sub8.aClass238_9165 = null; - Class152.method1215((byte) 3); - return; - } - Class299.aClass348_Sub49_Sub2_3813.anInt7197 = 0; - Class348_Sub49 class348_sub49 = new Class348_Sub49(518); - int[] is = new int[4]; - is[0] = (int) (Math.random() * 9.9999999E7); - is[1] = (int) (9.9999999E7 * Math.random()); - is[3] = (int) (9.9999999E7 * Math.random()); - is[2] = (int) (9.9999999E7 * Math.random()); - class348_sub49.writeByte(false, 10); - class348_sub49.writeInt((byte) 91, is[0]); - class348_sub49.writeInt((byte) 96, is[1]); - class348_sub49.writeInt((byte) 95, is[2]); - class348_sub49.writeInt((byte) 127, is[3]); - class348_sub49.writeLong(0L, (byte) 70); - class348_sub49.writeString((byte) -5, Class186.aString2496); - class348_sub49.writeLong(Class348_Sub33.aLong6966, (byte) -124); - class348_sub49.writeLong(OutputStream_Sub2.aLong108, (byte) -112); - class348_sub49.method3390(Class348_Sub31.aBigInteger6921, (byte) -76, (Class318_Sub1_Sub4.aBigInteger8762)); - Class348_Sub3.method2739(0); - Class348_Sub47 class348_sub47 = Class203.method1478(true); - Class348_Sub49_Sub2 class348_sub49_sub2 = (class348_sub47.aClass348_Sub49_Sub2_7116); - if (Class239_Sub12.anInt5969 == 2) { - if (Class240.anInt4674 != 13) class348_sub49_sub2.writeByte(false, Class178.aClass29_2342.anInt400); - else class348_sub49_sub2.writeByte(false, Class178.aClass29_2344.anInt400); - class348_sub49_sub2.writeShort((byte) 107, 0); - int i_6_ = class348_sub49_sub2.anInt7197; - class348_sub49_sub2.writeInt((byte) 117, 634); - class348_sub49_sub2.writeBytes(class348_sub49.anInt7197, 0, class348_sub49.aByteArray7154, 92); - int i_7_ = class348_sub49_sub2.anInt7197; - class348_sub49_sub2.writeString((byte) -5, Class64_Sub3.aString5600); - class348_sub49_sub2.writeByte(false, (RuntimeException_Sub1.anInt4596)); - class348_sub49_sub2.writeByte(false, Class348_Sub42_Sub12.method3229(-71)); - class348_sub49_sub2.writeShort((byte) 107, Class321.anInt4017); - class348_sub49_sub2.writeShort((byte) 107, Class348_Sub42_Sub8_Sub2.anInt10432); - class348_sub49_sub2.writeByte(false, Class316.aClass348_Sub51_3959.aClass239_Sub20_7248.method1808(-32350)); - s_Sub2.method4002(class348_sub49_sub2, (byte) 55); - class348_sub49_sub2.writeString((byte) -5, Class239_Sub12.aString5966); - class348_sub49_sub2.writeInt((byte) 120, Class202.anInt2670); - Class348_Sub49 class348_sub49_8_ = Class316.aClass348_Sub51_3959.method3427(24); - class348_sub49_sub2.writeByte(false, (class348_sub49_8_.anInt7197)); - class348_sub49_sub2.writeBytes(class348_sub49_8_.anInt7197, 0, (class348_sub49_8_.aByteArray7154), 74); - r.aBoolean9719 = true; - Class348_Sub49 class348_sub49_9_ = new Class348_Sub49(Class348_Sub40_Sub20.aClass348_Sub4_9264.method2746((byte) -76)); - Class348_Sub40_Sub20.aClass348_Sub4_9264.method2747(1, class348_sub49_9_); - class348_sub49_sub2.writeBytes((class348_sub49_9_.aByteArray7154).length, 0, (class348_sub49_9_.aByteArray7154), -73); - class348_sub49_sub2.writeShort((byte) 107, Class135_Sub1.anInt4718); - class348_sub49_sub2.writeLong(Class244.aLong4615, (byte) -63); - class348_sub49_sub2.writeByte(false, Class14_Sub1.aString8605 == null ? 0 : 1); - if (Class14_Sub1.aString8605 != null) class348_sub49_sub2.writeString((byte) -5, (Class14_Sub1.aString8605)); - class348_sub49_sub2.writeByte(false, (!Class348_Sub40_Sub31.method3131((byte) 50, "jagtheora") ? 0 : 1)); - Class157.method1244(64, class348_sub49_sub2); - class348_sub49_sub2.method3350(i_7_, true, is, (class348_sub49_sub2.anInt7197)); - class348_sub49_sub2.method3383(1809639944, -i_6_ + (class348_sub49_sub2.anInt7197)); - } else { - class348_sub49_sub2.writeByte(false, Class178.aClass29_2345.anInt400); - class348_sub49_sub2.writeShort((byte) 107, 0); - int i_4_ = class348_sub49_sub2.anInt7197; - class348_sub49_sub2.writeInt((byte) 119, 634); - class348_sub49_sub2.writeBytes(class348_sub49.anInt7197, 0, class348_sub49.aByteArray7154, -109); - int i_5_ = class348_sub49_sub2.anInt7197; - class348_sub49_sub2.writeString((byte) -5, Class64_Sub3.aString5600); - class348_sub49_sub2.writeByte(false, Class348_Sub42_Sub8_Sub2.aClass230_10434.anInt2987); - class348_sub49_sub2.writeByte(false, Class348_Sub33.anInt6967); - s_Sub2.method4002(class348_sub49_sub2, (byte) 55); - class348_sub49_sub2.writeString((byte) -5, Class239_Sub12.aString5966); - class348_sub49_sub2.writeInt((byte) 106, Class202.anInt2670); - Class157.method1244(92, class348_sub49_sub2); - class348_sub49_sub2.method3350(i_5_, true, is, (class348_sub49_sub2.anInt7197)); - class348_sub49_sub2.method3383(1809639944, -i_4_ + (class348_sub49_sub2.anInt7197)); - } - Class348_Sub42_Sub14.method3243(-48, class348_sub47); - Class239_Sub18.method1802(0); - Class348_Sub23_Sub2.aClass77_9029 = new Class77(is); - for (int i_10_ = 0; i_10_ < 4; i_10_++) - is[i_10_] += 50; - Class299.aClass348_Sub49_Sub2_3813.method3406(-111, is); - Class225.anInt2955 = 4; - } - if (Class225.anInt2955 == 4) { - if (!Class348_Sub40_Sub8.aClass238_9165.method1705(1, 94)) return; - Class348_Sub40_Sub8.aClass238_9165.method1701(1, 0, (byte) -117, (Class299.aClass348_Sub49_Sub2_3813.aByteArray7154)); - int i_11_ = ((Class299.aClass348_Sub49_Sub2_3813.aByteArray7154[0]) & 0xff); - if (i_11_ != 21) { - if (i_11_ == 29) Class225.anInt2955 = 13; - else { - if (i_11_ == 1) { - Class225.anInt2955 = 5; - Class14_Sub4.method254(i_11_, (byte) -125); - return; - } - if (i_11_ != 2) { - if (i_11_ != 15) { - if (i_11_ == 23 && Class318_Sub1_Sub1_Sub2.anInt9971 < 3) { - Class225.anInt2955 = 1; - Class318_Sub1_Sub1_Sub2.anInt9971++; - Class11.anInt197 = 0; - Class348_Sub40_Sub8.aClass238_9165.method1700((byte) 36); - Class348_Sub40_Sub8.aClass238_9165 = null; - } else { - Class225.anInt2955 = 0; - Class14_Sub4.method254(i_11_, (byte) -87); - Class348_Sub40_Sub8.aClass238_9165.method1700((byte) 36); - Class348_Sub40_Sub8.aClass238_9165 = null; - Class152.method1215((byte) 3); - return; - } - return; - } - Class225.anInt2955 = 14; - Class348_Sub40_Sub25.anInt9341 = -2; - } else Class225.anInt2955 = 8; - } - } else Class225.anInt2955 = 7; - } - if (Class225.anInt2955 == 6) { - Class348_Sub3.method2739(0); - Class348_Sub47 class348_sub47 = Class203.method1478(true); - Class348_Sub49_Sub2 class348_sub49_sub2 = (class348_sub47.aClass348_Sub49_Sub2_7116); - class348_sub49_sub2.method3416(-18, Class348_Sub23_Sub2.aClass77_9029); - class348_sub49_sub2.method3408((Class178.aClass29_2351.anInt400), 18676); - Class348_Sub42_Sub14.method3243(-87, class348_sub47); - Class239_Sub18.method1802(0); - Class225.anInt2955 = 4; - } else if (Class225.anInt2955 == 7) { - if (Class348_Sub40_Sub8.aClass238_9165.method1705(1, 118)) { - Class348_Sub40_Sub8.aClass238_9165.method1701(1, 0, (byte) -109, (Class299.aClass348_Sub49_Sub2_3813.aByteArray7154)); - int i_12_ = 0xff & (Class299.aClass348_Sub49_Sub2_3813.aByteArray7154[0]); - Class225.anInt2955 = 0; - Class63.anInt1121 = (3 + i_12_) * 60; - Class14_Sub4.method254(21, (byte) -95); - Class348_Sub40_Sub8.aClass238_9165.method1700((byte) 36); - Class348_Sub40_Sub8.aClass238_9165 = null; - Class152.method1215((byte) 3); - } - } else if (Class225.anInt2955 == 13) { - if (Class348_Sub40_Sub8.aClass238_9165.method1705(1, 102)) { - Class348_Sub40_Sub8.aClass238_9165.method1701(1, 0, (byte) -128, (Class299.aClass348_Sub49_Sub2_3813.aByteArray7154)); - Class225.anInt2955 = 0; - Class348_Sub42_Sub7.anInt9541 = 0xff & (Class299.aClass348_Sub49_Sub2_3813.aByteArray7154[0]); - Class14_Sub4.method254(29, (byte) -97); - Class348_Sub40_Sub8.aClass238_9165.method1700((byte) 36); - Class348_Sub40_Sub8.aClass238_9165 = null; - Class152.method1215((byte) 3); - } - } else if (Class225.anInt2955 == 8) { - if (Class348_Sub40_Sub8.aClass238_9165.method1705(1, 107)) { - Class348_Sub40_Sub8.aClass238_9165.method1701(1, 0, (byte) -107, (Class299.aClass348_Sub49_Sub2_3813.aByteArray7154)); - Class76.anInt1288 = 0xff & (Class299.aClass348_Sub49_Sub2_3813.aByteArray7154[0]); - Class225.anInt2955 = 9; - } - } else { - if (Class225.anInt2955 == 9) { - Class348_Sub49_Sub2 class348_sub49_sub2 = Class299.aClass348_Sub49_Sub2_3813; - if (Class239_Sub12.anInt5969 == 2) { - if (!Class348_Sub40_Sub8.aClass238_9165.method1705(Class76.anInt1288, 93)) return; - Class348_Sub40_Sub8.aClass238_9165.method1701(Class76.anInt1288, 0, (byte) 60, (class348_sub49_sub2.aByteArray7154)); - class348_sub49_sub2.anInt7197 = 0; - Class192.anInt2581 = class348_sub49_sub2.readUnsignedByte(255); - Class125.anInt4919 = class348_sub49_sub2.readUnsignedByte(255); - Class348_Sub40_Sub3.aBoolean9103 = class348_sub49_sub2.readUnsignedByte(255) == 1; - Class133.aBoolean1915 = class348_sub49_sub2.readUnsignedByte(255) == 1; - Class52.aBoolean4903 = class348_sub49_sub2.readUnsignedByte(255) == 1; - Class50_Sub2.aBoolean5233 = class348_sub49_sub2.readUnsignedByte(255) == 1; - Class348_Sub42_Sub11.anInt9591 = class348_sub49_sub2.readUnsignedShort(842397944); - Class206.aBoolean4888 = class348_sub49_sub2.readUnsignedByte(255) == 1; - Class24.anInt359 = class348_sub49_sub2.method3369((byte) 125); - Class130.aBoolean1900 = class348_sub49_sub2.readUnsignedByte(255) == 1; - Class348_Sub40_Sub12.aClass263_9195.method2004(Class130.aBoolean1900, (byte) 25); - Exception_Sub1.aClass255_112.method1934((byte) 11, Class130.aBoolean1900); - Class189.aClass278_2529.method2072((byte) 88, Class130.aBoolean1900); - } else { - if (!Class348_Sub40_Sub8.aClass238_9165.method1705(Class76.anInt1288, 107)) return; - Class348_Sub40_Sub8.aClass238_9165.method1701(Class76.anInt1288, 0, (byte) 85, (class348_sub49_sub2.aByteArray7154)); - class348_sub49_sub2.anInt7197 = 0; - Class192.anInt2581 = class348_sub49_sub2.readUnsignedByte(255); - Class125.anInt4919 = class348_sub49_sub2.readUnsignedByte(255); - Class348_Sub40_Sub3.aBoolean9103 = class348_sub49_sub2.readUnsignedByte(255) == 1; - Class133.aBoolean1915 = class348_sub49_sub2.readUnsignedByte(255) == 1; - Class52.aBoolean4903 = class348_sub49_sub2.readUnsignedByte(255) == 1; - Class116.anInt1758 = class348_sub49_sub2.readShort(13638); - Class206.aBoolean4888 = Class116.anInt1758 > 0; - Class135_Sub1.anInt4716 = class348_sub49_sub2.readUnsignedShort(842397944); - Class322.anInt4026 = class348_sub49_sub2.readUnsignedShort(842397944); - Class206.anInt4870 = class348_sub49_sub2.readUnsignedShort(842397944); - Class170.anInt5065 = class348_sub49_sub2.readInt((byte) -126); - Class348_Sub42_Sub6.aClass144_9536 = Class348_Sub23_Sub1.aClass297_8992.method2232(116, Class170.anInt5065); - Class216.anInt4976 = class348_sub49_sub2.readUnsignedByte(255); - Class130_Sub1.anInt5797 = class348_sub49_sub2.readUnsignedShort(842397944); - Class348_Sub6.anInt6632 = class348_sub49_sub2.readUnsignedShort(842397944); - Class290.aBoolean3706 = class348_sub49_sub2.readUnsignedByte(255) == 1; - Class132.aPlayer_1907.aString10544 = Class132.aPlayer_1907.aString10537 = s_Sub2.aString8265 = class348_sub49_sub2.method3371(-13487); - Applet_Sub1.anInt37 = class348_sub49_sub2.readUnsignedByte(255); - Class348_Sub1.anInt6551 = class348_sub49_sub2.readInt((byte) -126); - aa_Sub2.aClass161_5199 = new Class161(); - aa_Sub2.aClass161_5199.anInt2143 = class348_sub49_sub2.readUnsignedShort(842397944); - if (aa_Sub2.aClass161_5199.anInt2143 == 65535) aa_Sub2.aClass161_5199.anInt2143 = -1; - aa_Sub2.aClass161_5199.aString2147 = class348_sub49_sub2.method3371(-13487); - if (Class55_Sub1.aClass364_5271 != Class8.aClass364_165) { - aa_Sub2.aClass161_5199.anInt2138 = (50000 + (aa_Sub2.aClass161_5199.anInt2143)); - aa_Sub2.aClass161_5199.anInt2148 = (40000 + (aa_Sub2.aClass161_5199.anInt2143)); - } - if (Class8.aClass364_165 != Class76.aClass364_1279 && ((Class3.aClass161_125.method1264((byte) 94, Class135_Sub2.aClass161_4839)) || (Class3.aClass161_125.method1264((byte) 112, (Class348_Sub40_Sub35.aClass161_9443))))) Class348_Sub42_Sub20.method3283(114); - } - if ((!Class348_Sub40_Sub3.aBoolean9103 || Class52.aBoolean4903) && !Class206.aBoolean4888) { - try { - Class224.method1617((byte) 125, Class93.anApplet1530, "unzap"); - } catch (Throwable throwable) { - /* empty */ - } - } else { - try { - Class224.method1617((byte) 125, Class93.anApplet1530, "zap"); - } catch (Throwable throwable) { - if (Class318_Sub1_Sub5.aBoolean8773) { - try { - Class93.anApplet1530.getAppletContext().showDocument(new URL(Class93.anApplet1530.getCodeBase(), "blank.ws"), "tbi"); - } catch (Exception exception) { - /* empty */ - } - } - } - } - if (Class8.aClass364_165 == Class55_Sub1.aClass364_5271) { - try { - Class224.method1617((byte) 125, Class93.anApplet1530, "loggedin"); - } catch (Throwable throwable) { - /* empty */ - } - } - if (Class239_Sub12.anInt5969 == 2) Class225.anInt2955 = 11; - else { - Class225.anInt2955 = 0; - Class14_Sub4.method254(2, (byte) -92); - Class239_Sub19.method1804(8839); - Class348_Sub49.method3379(2, 7); - Class348_Sub3.aClass114_6584 = null; - return; - } - } - if (Class225.anInt2955 == 11) { - if (!Class348_Sub40_Sub8.aClass238_9165.method1705(3, 94)) return; - Class348_Sub40_Sub8.aClass238_9165.method1701(3, 0, (byte) 11, (Class299.aClass348_Sub49_Sub2_3813.aByteArray7154)); - Class225.anInt2955 = 12; - } - if (Class225.anInt2955 == 12) { - Class348_Sub49_Sub2 class348_sub49_sub2 = Class299.aClass348_Sub49_Sub2_3813; - class348_sub49_sub2.anInt7197 = 0; - if (class348_sub49_sub2.method3404(-1510)) { - if (!Class348_Sub40_Sub8.aClass238_9165.method1705(1, 110)) return; - Class348_Sub40_Sub8.aClass238_9165.method1701(1, 3, (byte) -127, (class348_sub49_sub2.aByteArray7154)); - } - Class348_Sub3.aClass114_6584 = (Class14_Sub3.method248(-11271)[class348_sub49_sub2.method3407(15295)]); - Class348_Sub40_Sub25.anInt9341 = class348_sub49_sub2.readUnsignedShort(842397944); - Class225.anInt2955 = 10; - } - if (Class225.anInt2955 == 10) { - if (Class348_Sub40_Sub8.aClass238_9165.method1705(Class348_Sub40_Sub25.anInt9341, 96)) { - Class348_Sub40_Sub8.aClass238_9165.method1701(Class348_Sub40_Sub25.anInt9341, 0, (byte) 28, (Class299.aClass348_Sub49_Sub2_3813.aByteArray7154)); - Class299.aClass348_Sub49_Sub2_3813.anInt7197 = 0; - Class225.anInt2955 = 0; - int i_13_ = Class348_Sub40_Sub25.anInt9341; - Class14_Sub4.method254(2, (byte) -124); - Class130_Sub1.method1135(0); - Class239_Sub5.method1741(Class299.aClass348_Sub49_Sub2_3813, (byte) 118); - ha.anInt4581 = -1; - if (Class348_Sub3.aClass114_6584 != Class19.aClass114_304) Class348_Sub40_Sub26.method3120(-92); - else Class90.method853((byte) 99); - if (i_13_ != Class299.aClass348_Sub49_Sub2_3813.anInt7197) throw new RuntimeException("lswp pos:" + (Class299.aClass348_Sub49_Sub2_3813.anInt7197) + " psize:" + i_13_); - Class348_Sub3.aClass114_6584 = null; - } - } else { - int i_14_ = -128 / (-i / 53); - if (Class225.anInt2955 == 14) { - if (Class348_Sub40_Sub25.anInt9341 == -2) { - if (!Class348_Sub40_Sub8.aClass238_9165.method1705(2, 106)) return; - Class348_Sub40_Sub8.aClass238_9165.method1701(2, 0, (byte) -128, (Class299.aClass348_Sub49_Sub2_3813.aByteArray7154)); - Class299.aClass348_Sub49_Sub2_3813.anInt7197 = 0; - Class348_Sub40_Sub25.anInt9341 = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - } - if (Class348_Sub40_Sub8.aClass238_9165.method1705(Class348_Sub40_Sub25.anInt9341, 117)) { - Class348_Sub40_Sub8.aClass238_9165.method1701(Class348_Sub40_Sub25.anInt9341, 0, (byte) -104, (Class299.aClass348_Sub49_Sub2_3813.aByteArray7154)); - Class299.aClass348_Sub49_Sub2_3813.anInt7197 = 0; - int i_15_ = Class348_Sub40_Sub25.anInt9341; - Class225.anInt2955 = 0; - Class14_Sub4.method254(15, (byte) -120); - Class312.method2330((byte) 86); - Class239_Sub5.method1741(Class299.aClass348_Sub49_Sub2_3813, (byte) 118); - if (i_15_ != (Class299.aClass348_Sub49_Sub2_3813.anInt7197)) throw new RuntimeException("lswpr pos:" + (Class299.aClass348_Sub49_Sub2_3813.anInt7197) + " psize:" + i_15_); - Class348_Sub3.aClass114_6584 = null; - } - } - } - } - } catch (IOException ioexception) { - if (Class348_Sub40_Sub8.aClass238_9165 != null) { - Class348_Sub40_Sub8.aClass238_9165.method1700((byte) 36); - Class348_Sub40_Sub8.aClass238_9165 = null; - } - if (Class318_Sub1_Sub1_Sub2.anInt9971 >= 3) { - Class225.anInt2955 = 0; - Class14_Sub4.method254(-4, (byte) -87); - Class152.method1215((byte) 3); - } else { - if (Class239_Sub12.anInt5969 != 2) Class255.aClass161_3285.method1259(0); - else Class3.aClass161_125.method1259(0); - Class318_Sub1_Sub1_Sub2.anInt9971++; - Class11.anInt197 = 0; - Class225.anInt2955 = 1; - } - } - } - } - - final void method844(Class318_Sub9 class318_sub9, boolean bool) { - try { - anInt1495++; - if (class318_sub9.aClass318_Sub9_6468 != null) class318_sub9.method2514(93); - class318_sub9.aClass318_Sub9_6469 = this.aClass318_Sub9_1503; - class318_sub9.aClass318_Sub9_6468 = (this.aClass318_Sub9_1503.aClass318_Sub9_6468); - if (bool != true) this.aClass318_Sub9_1503 = null; - class318_sub9.aClass318_Sub9_6468.aClass318_Sub9_6469 = class318_sub9; - class318_sub9.aClass318_Sub9_6469.aClass318_Sub9_6468 = class318_sub9; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("lh.A(" + (class318_sub9 != null ? "{...}" : "null") + ',' + bool + ')')); - } - } - - final void method845(byte i) { - for (; ; ) { - Class318_Sub9 class318_sub9 = (this.aClass318_Sub9_1503.aClass318_Sub9_6469); - if (class318_sub9 == this.aClass318_Sub9_1503) break; - class318_sub9.method2514(54); - } - if (i < 23) aClass318_Sub9_1505 = null; - anInt1493++; - aClass318_Sub9_1505 = null; - } - - final Class318_Sub9 method846(byte i) { - anInt1494++; - Class318_Sub9 class318_sub9 = aClass318_Sub9_1505; - if (class318_sub9 == this.aClass318_Sub9_1503) { - aClass318_Sub9_1505 = null; - return null; - } - if (i > -34) aClass318_Sub9_1505 = null; - aClass318_Sub9_1505 = class318_sub9.aClass318_Sub9_6469; - return class318_sub9; - } - - static final void method847(String string, int i) { - System.out.println("Error: " + Class341.method2680("\n", true, "%0a", string)); - anInt1492++; - if (i != -5192) method843((byte) 17); - } - - final Class318_Sub9 method848(int i) { - if (i != 8) return null; - anInt1502++; - Class318_Sub9 class318_sub9 = (this.aClass318_Sub9_1503.aClass318_Sub9_6469); - if (class318_sub9 == this.aClass318_Sub9_1503) { - aClass318_Sub9_1505 = null; - return null; - } - aClass318_Sub9_1505 = class318_sub9.aClass318_Sub9_6469; - return class318_sub9; - } - - public Class88() { - this.aClass318_Sub9_1503.aClass318_Sub9_6468 = this.aClass318_Sub9_1503; - this.aClass318_Sub9_1503.aClass318_Sub9_6469 = this.aClass318_Sub9_1503; - } -} diff --git a/client/src/Class89.java b/client/src/Class89.java deleted file mode 100644 index 0ca0ee100..000000000 --- a/client/src/Class89.java +++ /dev/null @@ -1,122 +0,0 @@ -/* Class89 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class89 { - private final Class377 aClass377_1506; - static long aLong1507; - static int[] anIntArray1508 = new int[256]; - static int anInt1509; - long aLong1510; - static int anInt1511; - - static final void method849(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_) { - anInt1511++; - if (i_4_ <= 80) method851(-7); - int i_6_ = i_0_ + i; - int i_7_ = -i + i_3_; - for (int i_8_ = i_0_; i_8_ < i_6_; i_8_++) - Class135_Sub2.method1156(-27, i_2_, Class17.anIntArrayArray255[i_8_], i_1_, i_5_); - int i_9_ = -i + i_2_; - for (int i_10_ = i_3_; i_10_ > i_7_; i_10_--) - Class135_Sub2.method1156(-27, i_2_, Class17.anIntArrayArray255[i_10_], i_1_, i_5_); - int i_11_ = i + i_1_; - for (int i_12_ = i_6_; i_7_ >= i_12_; i_12_++) { - int[] is = Class17.anIntArrayArray255[i_12_]; - Class135_Sub2.method1156(-27, i_11_, is, i_1_, i_5_); - Class135_Sub2.method1156(-27, i_2_, is, i_9_, i_5_); - } - } - - protected final void finalize() throws Throwable { - anInt1509++; - aClass377_1506.method3966(this.aLong1510, 34192); - super.finalize(); - } - - static final boolean method850(Class318_Sub1_Sub3 class318_sub1_sub3, boolean bool) { - boolean bool_13_ = aa_Sub1.aSArray5191 == Class332.aSArray4142; - int i = 0; - short i_14_ = 0; - byte i_15_ = 0; - class318_sub1_sub3.method2409((byte) -116); - if (class318_sub1_sub3.aShort8743 < 0 || class318_sub1_sub3.aShort8750 < 0 || (class318_sub1_sub3.aShort8751 >= Class318_Sub7.anInt6451) || (class318_sub1_sub3.aShort8747 >= Class348_Sub41.anInt7054)) return false; - short i_16_ = 0; - for (int i_17_ = class318_sub1_sub3.aShort8743; i_17_ <= class318_sub1_sub3.aShort8751; i_17_++) { - for (int i_18_ = class318_sub1_sub3.aShort8750; i_18_ <= class318_sub1_sub3.aShort8747; i_18_++) { - Class357 class357 = Class348_Sub46.method3321(class318_sub1_sub3.plane, i_17_, i_18_); - if (class357 != null) { - Class148 class148 = Class376.method3620(class318_sub1_sub3, 118); - Class148 class148_19_ = class357.aClass148_4396; - if (class148_19_ == null) class357.aClass148_4396 = class148; - else { - for (/**/; class148_19_.aClass148_2038 != null; class148_19_ = class148_19_.aClass148_2038) { - /* empty */ - } - class148_19_.aClass148_2038 = class148; - } - if (bool_13_ && (Class342.anIntArrayArray4253[i_17_][i_18_] & ~0xffffff) != 0) { - i = Class342.anIntArrayArray4253[i_17_][i_18_]; - i_14_ = Class239_Sub1.aShortArrayArray5847[i_17_][i_18_]; - i_15_ = (Class348_Sub1_Sub2.aByteArrayArray8816[i_17_][i_18_]); - } - if (!bool && (class357.aClass318_Sub1_Sub1_4402 != null) && (class357.aClass318_Sub1_Sub1_4402.aShort8727) > i_16_) i_16_ = (class357.aClass318_Sub1_Sub1_4402.aShort8727); - } - } - } - if (bool_13_ && (i & ~0xffffff) != 0) { - for (int i_20_ = class318_sub1_sub3.aShort8743; i_20_ <= class318_sub1_sub3.aShort8751; i_20_++) { - for (int i_21_ = (class318_sub1_sub3.aShort8750); (i_21_ <= class318_sub1_sub3.aShort8747); i_21_++) { - if ((Class342.anIntArrayArray4253[i_20_][i_21_] & ~0xffffff) == 0) { - Class342.anIntArrayArray4253[i_20_][i_21_] = i; - Class239_Sub1.aShortArrayArray5847[i_20_][i_21_] = i_14_; - Class348_Sub1_Sub2.aByteArrayArray8816[i_20_][i_21_] = i_15_; - } - } - } - } - if (bool) Class24.aClass318_Sub1_Sub3Array357[Class86.anInt1477++] = class318_sub1_sub3; - else { - int i_22_ = aa_Sub1.aSArray5191 == Class332.aSArray4142 ? 1 : 0; - if (class318_sub1_sub3.method2376(-118)) { - if (class318_sub1_sub3.method2377((byte) 122)) { - class318_sub1_sub3.aClass318_Sub1_6379 = Class250.aClass318_Sub1Array3226[i_22_]; - Class250.aClass318_Sub1Array3226[i_22_] = class318_sub1_sub3; - } else { - class318_sub1_sub3.aClass318_Sub1_6379 = Class348.aClass318_Sub1Array4293[i_22_]; - Class348.aClass318_Sub1Array4293[i_22_] = class318_sub1_sub3; - Class348_Sub16_Sub2.aBoolean8870 = true; - } - } else { - class318_sub1_sub3.aClass318_Sub1_6379 = Class115.aClass318_Sub1Array1754[i_22_]; - Class115.aClass318_Sub1Array1754[i_22_] = class318_sub1_sub3; - } - } - if (bool) class318_sub1_sub3.anInt6382 -= i_16_; - return true; - } - - public static void method851(int i) { - if (i == 1) anIntArray1508 = null; - } - - Class89(Class377 class377, long l, Class39[] class39s) { - try { - this.aLong1510 = l; - aClass377_1506 = class377; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("lha.(" + (class377 != null ? "{...}" : "null") + ',' + l + ',' + (class39s != null ? "{...}" : "null") + ')')); - } - } - - static { - for (int i = 0; i < 256; i++) { - int i_23_ = i; - for (int i_24_ = 0; i_24_ < 8; i_24_++) { - if ((i_23_ & 0x1) != 1) i_23_ >>>= 1; - else i_23_ = i_23_ >>> 1 ^ ~0x12477cdf; - } - anIntArray1508[i] = i_23_; - } - } -} diff --git a/client/src/Class9.java b/client/src/Class9.java deleted file mode 100644 index b88dd20ea..000000000 --- a/client/src/Class9.java +++ /dev/null @@ -1,24 +0,0 @@ -/* Class9 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class9 { - static int anInt167; - static int[] anIntArray168 = {28, 35, 40, 44}; - static int anInt169 = -1; - static int anInt170; - static ha aHa171; - - static final boolean method215(int i) { - anInt170++; - if (i != 27165) return false; - if (!Class348_Sub40_Sub19.method3098(-30282, "jaclib")) return false; - return Class348_Sub40_Sub19.method3098(-30282, "hw3d"); - } - - public static void method216(boolean bool) { - anIntArray168 = null; - if (bool != false) method216(true); - aHa171 = null; - } -} diff --git a/client/src/Class90.java b/client/src/Class90.java deleted file mode 100644 index aa04efc82..000000000 --- a/client/src/Class90.java +++ /dev/null @@ -1,99 +0,0 @@ -/* Class90 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class90 { - static Class273 aClass273_1512 = new Class273("", 15); - static int anInt1513; - static int anInt1514; - static int anInt1515; - static long aLong1516; - static int regionTileY; - static int[] anIntArray1518 = new int[14]; - - public static void method852(int i) { - aClass273_1512 = null; - if (i != 6) aLong1516 = 20L; - anIntArray1518 = null; - } - - static final void method853(byte i) { - anInt1515++; - int i_0_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - int i_1_ = Class299.aClass348_Sub49_Sub2_3813.readShortAddLittle(-121); - boolean bool = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(i + 156) == 1; - int i_2_ = Class299.aClass348_Sub49_Sub2_3813.readShortAdd(i + -172); - Class312.anInt3931 = Class299.aClass348_Sub49_Sub2_3813.readByteAdd((byte) -112); - Class322.method2554((byte) -45); - Class348_Sub40_Sub22.method3111(125, i_0_); - Class299.aClass348_Sub49_Sub2_3813.startBitAccess(-122); - for (int i_3_ = 0; i_3_ < 4; i_3_++) { - for (int i_4_ = 0; (Class367_Sub4.anInt7319 >> 3 > i_4_); i_4_++) { - for (int i_5_ = 0; (i_5_ < Class348_Sub40_Sub3.anInt9109 >> 3); i_5_++) { - int i_6_ = Class299.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 1); - if (i_6_ != 1) Class62.anIntArrayArrayArray1116[i_3_][i_4_][i_5_] = -1; - else Class62.anIntArrayArrayArray1116[i_3_][i_4_][i_5_] = Class299.aClass348_Sub49_Sub2_3813.readBits((byte) -24, 26); - } - } - } - Class299.aClass348_Sub49_Sub2_3813.stopBitAccess(false); - int i_7_ = (-Class299.aClass348_Sub49_Sub2_3813.anInt7197 + Class348_Sub40_Sub25.anInt9341) / 16; - Class239_Sub6.anIntArrayArray5894 = new int[i_7_][4]; - int i_8_ = 0; - if (i != 99) method852(-55); - for (/**/; i_8_ < i_7_; i_8_++) { - for (int i_9_ = 0; i_9_ < 4; i_9_++) - Class239_Sub6.anIntArrayArray5894[i_8_][i_9_] = Class299.aClass348_Sub49_Sub2_3813.readInt((byte) -126); - } - Class322.anIntArray4031 = null; - Applet_Sub1.anIntArray38 = new int[i_7_]; - r.anIntArray9724 = new int[i_7_]; - aa_Sub1.anIntArray5192 = new int[i_7_]; - Class348_Sub23_Sub3.anIntArray9042 = new int[i_7_]; - Class295.anIntArray3759 = new int[i_7_]; - Class348_Sub50.aByteArrayArray7212 = null; - Class348_Sub23_Sub1.aByteArrayArray8996 = new byte[i_7_][]; - Class129.aByteArrayArray1887 = new byte[i_7_][]; - Class14_Sub4.aByteArrayArray8642 = new byte[i_7_][]; - Class347.aByteArrayArray4281 = new byte[i_7_][]; - i_7_ = 0; - for (int i_10_ = 0; i_10_ < 4; i_10_++) { - for (int i_11_ = 0; (Class367_Sub4.anInt7319 >> 3 > i_11_); i_11_++) { - for (int i_12_ = 0; i_12_ < Class348_Sub40_Sub3.anInt9109 >> 3; i_12_++) { - int i_13_ = (Class62.anIntArrayArrayArray1116[i_10_][i_11_][i_12_]); - if (i_13_ != -1) { - int i_14_ = i_13_ >> 14 & 0x3ff; - int i_15_ = (i_13_ & 0x3ff9) >> 3; - int i_16_ = i_15_ / 8 + (i_14_ / 8 << 8); - for (int i_17_ = 0; i_7_ > i_17_; i_17_++) { - if (i_16_ == Class348_Sub23_Sub3.anIntArray9042[i_17_]) { - i_16_ = -1; - break; - } - } - if (i_16_ != -1) { - Class348_Sub23_Sub3.anIntArray9042[i_7_] = i_16_; - int i_18_ = 0xff & i_16_ >> 8; - int i_19_ = 0xff & i_16_; - aa_Sub1.anIntArray5192[i_7_] = (Class367_Sub10.aClass45_7382.method417("m" + i_18_ + "_" + i_19_, Class348_Sub21.method2955(i, 99))); - Applet_Sub1.anIntArray38[i_7_] = Class367_Sub10.aClass45_7382.method417("l" + i_18_ + "_" + i_19_, 0); - Class295.anIntArray3759[i_7_] = (Class367_Sub10.aClass45_7382.method417("um" + i_18_ + "_" + i_19_, 0)); - r.anIntArray9724[i_7_] = (Class367_Sub10.aClass45_7382.method417("ul" + i_18_ + "_" + i_19_, 0)); - i_7_++; - } - } - } - } - } - Class348_Sub41.method3157(i_1_, (byte) 124, i_2_, 11, bool); - } - - public Class90() { - /* empty */ - } - - static final void method854(byte i) { - anInt1513++; - if (Class225.anInt2955 == 5 && i < -48) Class225.anInt2955 = 6; - } -} diff --git a/client/src/Class91.java b/client/src/Class91.java deleted file mode 100644 index f22131f47..000000000 --- a/client/src/Class91.java +++ /dev/null @@ -1,65 +0,0 @@ -/* Class91 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class91 { - static Class74 aClass74_1519; - static int anInt1520; - static int[] anIntArray1521 = {7, 8, 9, 10, 11, 12, 13, 15}; - static int anInt1522; - static Class82 aClass82_1523; - - static final void method855(int i, int i_0_, int i_1_) { - anInt1520++; - Class348_Sub42_Sub15 class348_sub42_sub15 = Class318_Sub9_Sub1.method2516(i_1_, (byte) 105, i);//6 - class348_sub42_sub15.method3246(i ^ ~0x6397); - class348_sub42_sub15.anInt9652 = i_0_; - } - - static final void method856(byte i) { - Class358.anInt4411 = 0; - Class101.anInt1597 = 0; - anInt1522++; - Class348_Sub23_Sub3.anInt9041++; - Class139.method1165(1); - Class6.method204(-724138005); - Class170.method1318(-65536); - boolean bool = false; - for (int i_2_ = 0; i_2_ < Class358.anInt4411; i_2_++) { - int i_3_ = Class5_Sub1_Sub1.anIntArray9932[i_2_]; - Class348_Sub22 class348_sub22 = ((Class348_Sub22) Class282.aClass356_3654.method3480(i_3_, -6008)); - Npc npc = (class348_sub22.aNpc_6859); - if (Class5_Sub1.aBoolean8335 && Class348_Sub42_Sub1.method3169(i_3_, 0)) Class286_Sub2.method2146((byte) 84); - if (Class348_Sub23_Sub3.anInt9041 != (npc.anInt10306)) { - if (npc.aClass79_10505.method793(0)) Class5.method181(true, npc); - npc.method2448(null, -2); - class348_sub22.method2715((byte) 52); - bool = true; - } - } - if (bool) { - Class348_Sub32.anInt6930 = Class282.aClass356_3654.method3474(1); - Class282.aClass356_3654.method3477(3, Class348_Sub40_Sub23.aClass348_Sub22Array9319); - } - if (Class348_Sub40_Sub25.anInt9341 != Class299.aClass348_Sub49_Sub2_3813.anInt7197) throw new RuntimeException("gnp1 pos:" + (Class299.aClass348_Sub49_Sub2_3813.anInt7197) + " psize:" + Class348_Sub40_Sub25.anInt9341); - if (i <= 47) aClass74_1519 = null; - for (int i_4_ = 0; Class150.anInt2057 > i_4_; i_4_++) { - if (Class282.aClass356_3654.method3480(Class74.anIntArray1233[i_4_], -6008) == null) throw new RuntimeException("gnp2 pos:" + i_4_ + " size:" + Class150.anInt2057); - } - if (Class348_Sub32.anInt6930 - Class150.anInt2057 != 0) throw new RuntimeException("gnp3 mis:" + (Class348_Sub32.anInt6930 - Class150.anInt2057)); - for (int i_5_ = 0; i_5_ < Class348_Sub32.anInt6930; i_5_++) { - if (Class348_Sub40_Sub23.aClass348_Sub22Array9319[i_5_].aNpc_6859.anInt10306 != Class348_Sub23_Sub3.anInt9041) throw new RuntimeException("gnp4 uk:" + (Class348_Sub40_Sub23.aClass348_Sub22Array9319[i_5_].aNpc_6859.anInt10290)); - } - } - - public static void method857(int i) { - anIntArray1521 = null; - aClass82_1523 = null; - aClass74_1519 = null; - if (i < 121) method856((byte) -72); - } - - static { - aClass74_1519 = new Class74(10, 8); - } -} diff --git a/client/src/Class92.java b/client/src/Class92.java deleted file mode 100644 index fff7e8b91..000000000 --- a/client/src/Class92.java +++ /dev/null @@ -1,79 +0,0 @@ -/* Class92 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class92 { - static int anInt1524; - static Interface4[] anInterface4Array1525; - static int anInt1526; - static int anInt1527; - static float[] aFloatArray1528 = {0.0F, -1.0F, 0.0F, 0.0F}; - - static final void method858(boolean bool, Player player) { - anInt1526++; - Class348_Sub9 class348_sub9 = ((Class348_Sub9) (Class348_Sub42_Sub16_Sub2.aClass356_10465.method3480(player.anInt10290, -6008))); - if (bool == true) { - if (class348_sub9 == null) Class223.method1614(979190089, null, player.plane, (player.anIntArray10317[0]), (player.anIntArray10320[0]), player, null, 0); - else class348_sub9.method2781((byte) 21); - } - } - - static final void method859(int i) { - anInt1527++; - int i_0_ = Class348_Sub50.aByteArrayArray7212.length; - if (i < -125) { - for (int i_1_ = 0; i_0_ > i_1_; i_1_++) { - if (Class348_Sub50.aByteArrayArray7212[i_1_] != null) { - int i_2_ = -1; - for (int i_3_ = 0; i_3_ < Class27.anInt388; i_3_++) { - if (Class342.anIntArray4250[i_3_] == Class348_Sub23_Sub3.anIntArray9042[i_1_]) { - i_2_ = i_3_; - break; - } - } - if (i_2_ == -1) { - Class342.anIntArray4250[Class27.anInt388] = Class348_Sub23_Sub3.anIntArray9042[i_1_]; - i_2_ = Class27.anInt388++; - } - Class348_Sub49 class348_sub49 = new Class348_Sub49(Class348_Sub50.aByteArrayArray7212[i_1_]); - int i_4_ = 0; - while (class348_sub49.anInt7197 < Class348_Sub50.aByteArrayArray7212[i_1_].length) { - if (i_4_ >= 511 || Class150.anInt2057 >= 1023) break; - int i_5_ = i_2_ | i_4_++ << 6; - int i_6_ = class348_sub49.readUnsignedShort(842397944); - int i_7_ = i_6_ >> 14; - int i_8_ = 0x3f & i_6_ >> 7; - int i_9_ = i_6_ & 0x3f; - int i_10_ = (i_8_ + (-za_Sub2.regionTileX + (Class348_Sub23_Sub3.anIntArray9042[i_1_] >> 8) * 64)); - int i_11_ = (-Class90.regionTileY + (64 * (0xff & (Class348_Sub23_Sub3.anIntArray9042[i_1_])) - -i_9_)); - Class79 class79 = (Class189.aClass278_2529.method2079(class348_sub49.readUnsignedShort(842397944), -1)); - Class348_Sub22 class348_sub22 = ((Class348_Sub22) Class282.aClass356_3654.method3480(i_5_, -6008)); - if (class348_sub22 == null && (class79.aByte1325 & 0x1) > 0 && i_7_ == Class167.anInt2204 && i_10_ >= 0 && (Class367_Sub4.anInt7319 > i_10_ - -class79.anInt1399) && i_11_ >= 0 && (Class348_Sub40_Sub3.anInt9109 > i_11_ + class79.anInt1399)) { - Npc npc = new Npc(); - npc.anInt10290 = i_5_; - Class348_Sub22 class348_sub22_12_ = (new Class348_Sub22(npc)); - Class282.aClass356_3654.method3483((byte) 91, i_5_, class348_sub22_12_); - Class348_Sub40_Sub23.aClass348_Sub22Array9319[Class348_Sub32.anInt6930++] = class348_sub22_12_; - Class74.anIntArray1233[Class150.anInt2057++] = i_5_; - npc.anInt10306 = Class367_Sub11.anInt7396; - npc.method2448(class79, -2); - npc.method2434((byte) 120, npc.aClass79_10505.anInt1399); - npc.anInt10310 = (npc.aClass79_10505.anInt1329 << 3); - npc.method2435((byte) -108, (npc.aClass79_10505.aByte1355 - -4 & ~0x631ffff8) << 11, true); - npc.method2444(i_11_, true, i_10_, 123, npc.method2436((byte) 54), i_7_); - } - } - } - } - } - } - - public static void method860(byte i) { - anInterface4Array1525 = null; - if (i > 43) aFloatArray1528 = null; - } - - static { - anInt1524 = 765; - } -} diff --git a/client/src/Class93.java b/client/src/Class93.java deleted file mode 100644 index e60179ebc..000000000 --- a/client/src/Class93.java +++ /dev/null @@ -1,56 +0,0 @@ -/* Class93 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaggl.OpenGL; - -import java.applet.Applet; -import java.awt.*; - -final class Class93 { - static int anInt1529; - static Applet anApplet1530; - static String[] aStringArray1531 = {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"}; - static int anInt1532; - static int anInt1533; - static int anInt1534 = 0; - - public static void method861(int i) { - aStringArray1531 = null; - int i_0_ = 2 / ((i - 33) / 38); - anApplet1530 = null; - } - - static final ha method862(Canvas canvas, d var_d, Class45 class45, int i, int i_1_) { - try { - anInt1532++; - if (!Class9.method215(27165)) throw new RuntimeException(""); - if (!Class348_Sub40_Sub19.method3098(i ^ ~0x158f, "jaggl")) throw new RuntimeException(""); - OpenGL opengl = new OpenGL(); - long l = opengl.init(canvas, 8, 8, 8, 24, 0, i_1_); - if (l == 0L) throw new RuntimeException(""); - if (i != 25542) return null; - Class377 class377 = new Class377(opengl, canvas, l, var_d, class45, i_1_); - class377.method3930((byte) 26); - return class377; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("lt.D(" + (canvas != null ? "{...}" : "null") + ',' + (var_d != null ? "{...}" : "null") + ',' + (class45 != null ? "{...}" : "null") + ',' + i + ',' + i_1_ + ')')); - } - } - - static final byte[] method863(int i, byte i_2_, byte[] is) { - if (i_2_ < 64) return null; - anInt1529++; - byte[] is_3_ = new byte[i]; - Class214.method1577(is, 0, is_3_, 0, i); - return is_3_; - } - - static final byte[] method864(int i, byte[] is, int i_4_, int i_5_) { - anInt1533++; - if (i_5_ >= -30) aStringArray1531 = null; - byte[] is_6_ = new byte[i_4_]; - Class214.method1577(is, i, is_6_, 0, i_4_); - return is_6_; - } -} diff --git a/client/src/Class94.java b/client/src/Class94.java deleted file mode 100644 index d703cd2e4..000000000 --- a/client/src/Class94.java +++ /dev/null @@ -1,31 +0,0 @@ -/* Class94 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class94 { - static int anInt1535; - static int anInt1536; - static int anInt1537; - static Class45 aClass45_1538; - - static final void method865(int i, int i_0_) { - anInt1536++; - if (i != -8186) method866(-99); - Class15.aClass60_225.method578(2, i_0_); - } - - public static void method866(int i) { - if (i == -14603) aClass45_1538 = null; - } - - static final void method867(boolean bool) { - Class348_Sub8.aClass241_6660.method1856((byte) 106); - if (bool != true) aClass45_1538 = null; - anInt1535++; - for (int i = 0; i < 32; i++) - Class348_Sub49.aLongArray7206[i] = 0L; - for (int i = 0; i < 32; i++) - Class328_Sub2_Sub1.aLongArray8800[i] = 0L; - Class101_Sub2.anInt5744 = 0; - } -} diff --git a/client/src/Class95.java b/client/src/Class95.java deleted file mode 100644 index c58abb977..000000000 --- a/client/src/Class95.java +++ /dev/null @@ -1,26 +0,0 @@ -/* Class95 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class95 { - static int anInt1539; - static Class114 aClass114_1540 = new Class114(113, 1); - static Class45 aClass45_1541; - static Class221 aClass221_1542; - static Class348_Sub42_Sub17[] aClass348_Sub42_Sub17Array1543 = new Class348_Sub42_Sub17[14]; - - static final int method868(int i, int i_0_, boolean bool) { - anInt1539++; - if (bool != false) method868(89, 115, true); - if (i == 1 || i == 3) return Class348_Sub42_Sub10.anIntArray9572[i_0_ & 0x3]; - return Class348_Sub42_Sub20.anIntArray9714[i_0_ & 0x3]; - } - - public static void method869(int i) { - aClass45_1541 = null; - aClass114_1540 = null; - aClass348_Sub42_Sub17Array1543 = null; - aClass221_1542 = null; - if (i != 3) method869(55); - } -} diff --git a/client/src/Class96.java b/client/src/Class96.java deleted file mode 100644 index a25d99a66..000000000 --- a/client/src/Class96.java +++ /dev/null @@ -1,22 +0,0 @@ -/* Class96 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; -import java.lang.reflect.Method; - -final class Class96 { - static final ha method870(int i, int i_0_, d var_d, Class45 class45, Canvas canvas) { - if (i_0_ != 18993) return null; - ha var_ha; - try { - if (!Class9.method215(27165)) throw new RuntimeException(""); - if (!Class348_Sub40_Sub19.method3098(-30282, "jagdx")) throw new RuntimeException(""); - Method method = (Class378.class.getDeclaredMethod("createToolkit", Canvas.class, d.class, Class45.class, Integer.class)); - var_ha = (ha) method.invoke(null, new Object[]{canvas, var_d, class45, new Integer(i)}); - } catch (Throwable throwable) { - throw new RuntimeException(""); - } - return var_ha; - } -} diff --git a/client/src/Class97.java b/client/src/Class97.java deleted file mode 100644 index fae83d46f..000000000 --- a/client/src/Class97.java +++ /dev/null @@ -1,215 +0,0 @@ -/* Class97 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaclib.memory.Buffer; -import jaclib.memory.Stream; - -final class Class97 { - private final int anInt1544; - static int anInt1545; - private int anInt1546; - private int anInt1547; - static int anInt1548 = -1; - static int anInt1549; - static int anInt1550 = 0; - private Interface5_Impl2 anInterface5_Impl2_1551; - static int anInt1552; - static int anInt1553; - static int anInt1554; - static int anInt1555; - private Interface18_Impl3 anInterface18_Impl3_1556; - static int anInt1557; - private int anInt1558 = -1; - private final int anInt1559; - private final Class330 aClass330_1560; - private final ha_Sub3 aHa_Sub3_1561; - boolean aBoolean1562 = true; - int anInt1563; - - final void method871(byte i) { - anInt1552++; - if (i >= 77) method875(-126, anInterface5_Impl2_1551, this.anInt1563); - } - - static final void method872(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_) { - anInt1554++; - if (i_5_ >= Class369.anInt4960 && Class113.anInt1745 >= i_4_ && Class132.anInt1910 <= i_2_ && Class38.anInt513 >= i_3_) { - if (i_1_ == 1) Class184.method1388(i_2_, i, i_0_ + 107, i_4_, i_5_, i_3_); - else Class89.method849(i_1_, i_2_, i_5_, i_4_, i_3_, 100, i); - } else if (i_1_ != 1) Class58.method535(i_5_, i_3_, i_1_, i_4_, i, i_2_, (byte) -106); - else Class369_Sub3_Sub1.method3575((byte) 103, i_4_, i, i_3_, i_2_, i_5_); - if (i_0_ != 1) method873(47, 5, null, 1); - } - - static final void method873(int i, int i_6_, ha var_ha, int i_7_) { - Class60.aHa1098 = var_ha; - Class262.aClass190ArrayArray3335 = new Class190[i][i_7_]; - if (i_6_ == 21719) { - anInt1549++; - if (Class81.anIntArray1432 != null) Class348_Sub42_Sub10.aClass299_9571 = Class230.method1636(Class81.anIntArray1432[4], Class81.anIntArray1432[3], Class81.anIntArray1432[0], Class81.anIntArray1432[5], Class81.anIntArray1432[1], -1, Class81.anIntArray1432[2]); - Class274.aClass190_3547 = new Class190(); - ha_Sub3.method3936(0); - } - } - - private final void method874(int i) { - anInt1553++; - if (this.aBoolean1562) { - this.aBoolean1562 = false; - byte[] is = aClass330_1560.aByteArray4112; - int i_8_ = 0; - int i_9_ = aClass330_1560.anInt4113; - int i_10_ = (aClass330_1560.anInt4113 * anInt1559 + anInt1544); - for (int i_11_ = -128; i_11_ < 0; i_11_++) { - i_8_ = (i_8_ << 8) - i_8_; - for (int i_12_ = -128; i_12_ < 0; i_12_++) { - if (is[i_10_++] != 0) i_8_++; - } - i_10_ += i_9_ - 128; - } - if (anInterface18_Impl3_1556 != null && i_8_ == anInt1558) this.aBoolean1562 = false; - else { - anInt1558 = i_8_; - if (i != -12763) anInt1546 = -8; - int i_13_ = 0; - i_10_ = anInt1544 + anInt1559 * i_9_; - if (aHa_Sub3_1561.method3880(Class68.aClass68_1183, (Class348_Sub40_Sub38.aClass304_9471), (byte) 122)) { - if (Class367_Sub11.aByteArray7394 == null) Class367_Sub11.aByteArray7394 = new byte[16384]; - byte[] is_14_ = Class367_Sub11.aByteArray7394; - for (int i_15_ = -128; i_15_ < 0; i_15_++) { - for (int i_16_ = -128; i_16_ < 0; i_16_++) { - if (is[i_10_] == 0) { - int i_17_ = 0; - if (is[i_10_ + -1] != 0) i_17_++; - if (is[1 + i_10_] != 0) i_17_++; - if (is[i_10_ + -i_9_] != 0) i_17_++; - if (is[i_9_ + i_10_] != 0) i_17_++; - is_14_[i_13_++] = (byte) (17 * i_17_); - } else is_14_[i_13_++] = (byte) 68; - i_10_++; - } - i_10_ += -128 + aClass330_1560.anInt4113; - } - if (anInterface18_Impl3_1556 == null) { - anInterface18_Impl3_1556 = aHa_Sub3_1561.method3944((Class367_Sub11.aByteArray7394), 128, (Class348_Sub40_Sub38.aClass304_9471), i ^ ~0x31d8, false, 128); - anInterface18_Impl3_1556.method66(false, false, i ^ ~0x5582); - } else anInterface18_Impl3_1556.method70(0, 0, (byte) -45, 128, 128, 128, 0, (Class367_Sub11.aByteArray7394), (Class348_Sub40_Sub38.aClass304_9471)); - } else { - if (Class40.anIntArray543 == null) Class40.anIntArray543 = new int[16384]; - int[] is_18_ = Class40.anIntArray543; - for (int i_19_ = -128; i_19_ < 0; i_19_++) { - for (int i_20_ = -128; i_20_ < 0; i_20_++) { - if (is[i_10_] == 0) { - int i_21_ = 0; - if (is[i_10_ + -1] != 0) i_21_++; - if (is[i_10_ - -1] != 0) i_21_++; - if (is[i_10_ + -i_9_] != 0) i_21_++; - if (is[i_9_ + i_10_] != 0) i_21_++; - is_18_[i_13_++] = i_21_ * 17 << 24; - } else is_18_[i_13_++] = 1140850688; - i_10_++; - } - i_10_ += -128 + aClass330_1560.anInt4113; - } - if (anInterface18_Impl3_1556 == null) { - anInterface18_Impl3_1556 = aHa_Sub3_1561.method3839(128, 128, -15137, false, Class40.anIntArray543); - anInterface18_Impl3_1556.method66(false, false, i + 38451); - } else anInterface18_Impl3_1556.method68(128, i + 35572, (Class40.anIntArray543), 0, 0, 128, 0, 128); - } - } - } - } - - final void method875(int i, Interface5_Impl2 interface5_impl2, int i_22_) { - if (i_22_ > 0) { - method874(-12763); - aHa_Sub3_1561.method3850((byte) 119, anInterface18_Impl3_1556); - aHa_Sub3_1561.method3938(Class247.aClass21_3181, i_22_, interface5_impl2, anInt1547, 0, -anInt1547 + (anInt1546 - -1), 47); - } - anInt1545++; - if (i > -47) this.anInt1563 = 75; - } - - static final void method876(int i, int i_23_) { - anInt1557++; - synchronized (Class24.aClass60_355) { - Class24.aClass60_355.method578(2, i); - } - synchronized (Class130.aClass60_1894) { - Class130.aClass60_1894.method578(2, i); - if (i_23_ != 0) method876(51, 108); - } - } - - Class97(ha_Sub3 var_ha_Sub3, Class330 class330, s_Sub3 var_s_Sub3, int i, int i_24_, int i_25_, int i_26_, int i_27_) { - try { - aHa_Sub3_1561 = var_ha_Sub3; - anInt1544 = i_26_; - anInt1559 = i_27_; - aClass330_1560 = class330; - int i_28_ = 1 << i_25_; - int i_29_ = 0; - int i_30_ = i << i_25_; - int i_31_ = i_24_ << i_25_; - for (int i_32_ = 0; i_28_ > i_32_; i_32_++) { - int i_33_ = i_30_ + (i_32_ + i_31_) * var_s_Sub3.anInt4587; - for (int i_34_ = 0; i_28_ > i_34_; i_34_++) { - short[] is = var_s_Sub3.aShortArrayArray8299[i_33_++]; - if (is != null) i_29_ += is.length; - } - } - if (i_29_ <= 0) { - this.anInt1563 = 0; - anInterface18_Impl3_1556 = null; - } else { - anInt1546 = -2147483648; - anInt1547 = 2147483647; - anInterface5_Impl2_1551 = aHa_Sub3_1561.method3840(-28633, false); - anInterface5_Impl2_1551.method23(15959, i_29_); - for (int i_35_ = 0; i_35_ < 4; i_35_++) { - Buffer buffer = anInterface5_Impl2_1551.method24(true, false); - if (buffer != null) { - Stream stream = aHa_Sub3_1561.method3893(buffer, 9179); - if (Stream.c()) { - for (int i_41_ = 0; i_41_ < i_28_; i_41_++) { - int i_42_ = (var_s_Sub3.anInt4587 * (i_41_ + i_31_) - -i_30_); - for (int i_43_ = 0; (i_28_ > i_43_); i_43_++) { - short[] is = (var_s_Sub3.aShortArrayArray8299[i_42_++]); - if (is != null) { - for (int i_44_ = 0; (is.length > i_44_); i_44_++) { - int i_45_ = 0xffff & is[i_44_]; - if (anInt1546 < i_45_) anInt1546 = i_45_; - if (i_45_ < anInt1547) anInt1547 = i_45_; - stream.d(i_45_); - } - } - } - } - } else { - for (int i_36_ = 0; i_36_ < i_28_; i_36_++) { - int i_37_ = (var_s_Sub3.anInt4587 * (i_31_ - -i_36_) + i_30_); - for (int i_38_ = 0; (i_38_ < i_28_); i_38_++) { - short[] is = (var_s_Sub3.aShortArrayArray8299[i_37_++]); - if (is != null) { - for (int i_39_ = 0; (i_39_ < is.length); i_39_++) { - int i_40_ = 0xffff & is[i_39_]; - if (anInt1547 > i_40_) anInt1547 = i_40_; - if (i_40_ > anInt1546) anInt1546 = i_40_; - stream.a(i_40_); - } - } - } - } - } - stream.a(); - if (anInterface5_Impl2_1551.method22(-23)) break; - } - } - this.anInt1563 = i_29_ / 3; - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("mc.(" + (var_ha_Sub3 != null ? "{...}" : "null") + ',' + (class330 != null ? "{...}" : "null") + ',' + (var_s_Sub3 != null ? "{...}" : "null") + ',' + i + ',' + i_24_ + ',' + i_25_ + ',' + i_26_ + ',' + i_27_ + ')')); - } - } -} diff --git a/client/src/Class98.java b/client/src/Class98.java deleted file mode 100644 index 9e821f122..000000000 --- a/client/src/Class98.java +++ /dev/null @@ -1,47 +0,0 @@ -/* Class98 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class98 { - static Class348_Sub16_Sub3 aClass348_Sub16_Sub3_1564; - static int anInt1565; - static int[][] anIntArrayArray1566 = {{0, 2, 4, 6}, {6, 0, 2, 3, 5, 3}, {6, 0, 2, 4}, {2, 5, 6, 1}, {0, 2, 6}, {6, 0, 2}, {5, 6, 0, 1, 2, 4}, {7, 7, 1, 2, 4, 6}, {2, 4, 4, 7}, {6, 6, 4, 0, 1, 1, 3, 3}, {0, 2, 2, 6, 6, 4}, {0, 2, 2, 3, 7, 0, 4, 3}, {0, 2, 4, 6}}; - static int anInt1567; - static int anInt1568; - Class88 aClass88_1569 = new Class88(); - static int anInt1570; - static int anInt1571; - - static final boolean method877(int i, int i_0_, byte i_1_) { - if (i_1_ != -127) anIntArrayArray1566 = null; - anInt1567++; - return Class286_Sub9.method2174((byte) 126, i, i_0_) || Class202.method1475((byte) -107, i_0_, i); - } - - static final byte[] method878(String string, int i) { - anInt1571++; - int i_2_ = string.length(); - if (i_2_ == 0) return new byte[0]; - int i_3_ = ~0x3 & 3 + i_2_; - int i_4_ = i_3_ / 4 * 3; - if (i_3_ + -2 >= i_2_ || Class186_Sub1.method1399(7, string.charAt(i_3_ + -2)) == -1) i_4_ -= 2; - else if (i_2_ <= i_3_ + -1 || Class186_Sub1.method1399(7, string.charAt(i_3_ - 1)) == -1) i_4_--; - if (i > -92) method877(-51, -45, (byte) -74); - byte[] is = new byte[i_4_]; - Class318_Sub2.method2497(is, (byte) 0, string, 0); - return is; - } - - public Class98() { - /* empty */ - } - - public static void method879(int i) { - aClass348_Sub16_Sub3_1564 = null; - if (i > 67) anIntArrayArray1566 = null; - } - - static { - anInt1565 = 0; - } -} diff --git a/client/src/Class99.java b/client/src/Class99.java deleted file mode 100644 index caca69627..000000000 --- a/client/src/Class99.java +++ /dev/null @@ -1,75 +0,0 @@ -/* Class99 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Class99 { - static boolean[][] aBooleanArrayArray1572; - static int anInt1573; - static int[] anIntArray1574 = new int[3]; - static int anInt1575; - static int anInt1576; - - static final void method880(int i, byte[] is, byte[] is_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_) { - try { - anInt1575++; - int i_7_ = -(i >> 2); - i = -(i & 0x3); - if (i_2_ != 13880) method880(9, null, null, -128, 85, -75, 62, 85, -51); - for (int i_8_ = -i_3_; i_8_ < 0; i_8_++) { - for (int i_9_ = i_7_; i_9_ < 0; i_9_++) { - is[i_4_++] += is_0_[i_1_++]; - is[i_4_++] += is_0_[i_1_++]; - is[i_4_++] += is_0_[i_1_++]; - is[i_4_++] += is_0_[i_1_++]; - } - for (int i_10_ = i; i_10_ < 0; i_10_++) - is[i_4_++] += is_0_[i_1_++]; - i_4_ += i_5_; - i_1_ += i_6_; - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("me.D(" + i + ',' + (is != null ? "{...}" : "null") + ',' + (is_0_ != null ? "{...}" : "null") + ',' + i_1_ + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ')')); - } - } - - static final void method881(Class348_Sub42_Sub13 class348_sub42_sub13, int i, boolean bool, int i_11_) { - anInt1576++; - if (Class5_Sub1.aBoolean8335) { - int i_12_ = 0; - for (Class348_Sub42_Sub12 class348_sub42_sub12 = ((Class348_Sub42_Sub12) class348_sub42_sub13.aClass107_9621.method1011(-59)); class348_sub42_sub12 != null; class348_sub42_sub12 = ((Class348_Sub42_Sub12) class348_sub42_sub13.aClass107_9621.method1003((byte) 108))) { - int i_13_ = OutputStream_Sub2.method138(class348_sub42_sub12, false); - if (i_13_ > i_12_) i_12_ = i_13_; - } - i_12_ += 8; - if (bool == true) { - Class177.anInt4669 = 16 * (class348_sub42_sub13.anInt9615) + (!Class71.aBoolean1211 ? 22 : 26); - int i_14_ = 21 + (class348_sub42_sub13.anInt9615) * 16; - int i_15_ = Class63.anInt1117 + Class135_Sub1.anInt4717; - if (i_12_ + i_15_ > Class321.anInt4017) i_15_ = -i_12_ + Class135_Sub1.anInt4717; - if (i_15_ < 0) i_15_ = 0; - int i_16_ = !Class71.aBoolean1211 ? 31 : 33; - int i_17_ = 13 + i_11_ + -i_16_; - if (i_17_ + i_14_ > Class348_Sub42_Sub8_Sub2.anInt10432) i_17_ = Class348_Sub42_Sub8_Sub2.anInt10432 - i_14_; - Class50_Sub3.anInt5252 = i_15_; - if (i_17_ < 0) i_17_ = 0; - Class242.aClass348_Sub42_Sub13_3152 = class348_sub42_sub13; - Class348_Sub1_Sub1.anInt8806 = i_12_; - Class373.anInt4534 = i_17_; - } - } - } - - static final void method882(byte i) { - if (i != 11) method882((byte) -62); - Class348_Sub40_Sub33.aClass46ArrayArray9427 = new Class46[Class229.aClass45_2978.method414(-1)][]; - anInt1573++; - Class369_Sub2.aClass46ArrayArray8584 = new Class46[Class229.aClass45_2978.method414(-1)][]; - Class163.aBooleanArray2162 = new boolean[Class229.aClass45_2978.method414(-1)]; - } - - public static void method883(byte i) { - aBooleanArrayArray1572 = null; - anIntArray1574 = null; - int i_18_ = -74 / ((i - 17) / 46); - } -} diff --git a/client/src/ClientErrorReporter.java b/client/src/ClientErrorReporter.java new file mode 100644 index 000000000..2d0443ed3 --- /dev/null +++ b/client/src/ClientErrorReporter.java @@ -0,0 +1,107 @@ +/* ClientErrorReporter - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ +/** + * RENAMED from `Class156` (JODE-obfuscated). + * Client error reporter. Posts exceptions/messages to the clienterror.ws?c= endpoint (TheoraVideoPlayer.printClientError) for server-side error logging. + */ + +import java.io.DataInputStream; +import java.net.URL; + +final class ClientErrorReporter { + static float aFloat2111; + static int anInt2112; + static String[] aStringArray2113 = new String[100]; + static int anInt2114; + private HashNode aClass348_Sub42_2115; + static int anInt2116; + static int[] anIntArray2117 = new int[2]; + private HashTable aClass107_2118; + static int anInt2119; + static int anInt2120; + + /** True if tile flag bit 0x800 is set (roof / bridge-style). */ + static final boolean hasRoofFlag(int i, int i_0_, int i_1_) { + anInt2116++; + if (i_1_ > -4) aFloat2111 = -0.9273654F; + return (0x800 & i) != 0; + } + + public static void clearStatics(int i) { + aStringArray2113 = null; + anIntArray2117 = null; + if (i != 30114) anIntArray2117 = null; + } + + final HashNode firstHashNode(int i) { + anInt2114++; + if (i <= 7) firstHashNode(79); + HashNode class348_sub42 = (aClass107_2118.sentinel.next); + if (class348_sub42 == aClass107_2118.sentinel) { + aClass348_Sub42_2115 = null; + return null; + } + aClass348_Sub42_2115 = class348_sub42.next; + return class348_sub42; + } + + /** True if tile flags include walk-block / roof-style collision bits (0x18 or 0x220==544). */ + static final boolean hasCollisionBlockFlags(int i, int i_2_, int i_3_) { + if (i_3_ > -111) clearStatics(-81); + anInt2119++; + return ((i_2_ & 0x18) != 0 | (0x220 & i_2_) == 544); + } + + public ClientErrorReporter() { + /* empty */ + } + + /** Build an error string and POST it to the applet error endpoint. */ + static final void reportError(String string, Throwable throwable, int i) { + anInt2112++; + do { + try { + String string_4_ = ""; + if (throwable != null) string_4_ = GlWaterShader.throwableToString(false, throwable); + if (string != null) { + if (throwable != null) string_4_ += " | "; + string_4_ += string; + } + TheoraVideoPlayer.printClientError(string_4_, -5192); + string_4_ = DisplayModeManagerContainer196.replaceAll("%3a", true, ":", string_4_); + string_4_ = DisplayModeManagerContainer196.replaceAll("%40", true, "@", string_4_); + string_4_ = DisplayModeManagerContainer196.replaceAll("%26", true, "&", string_4_); + string_4_ = DisplayModeManagerContainer196.replaceAll("%23", true, "#", string_4_); + if (NodeSub8.anApplet6662 != null) { + if (i != 15004) hasRoofFlag(-69, 63, 124); + Task class144 = (BuildType.aClass297_2993.openUrlStream(new URL(NodeSub8.anApplet6662.getCodeBase(), ("clienterror.ws?c=" + NodeSub1Sub3.anInt8818 + "&u=" + (BufferCacheSub2.aString8265 != null ? BufferCacheSub2.aString8265 : String.valueOf(Component84.aLong1507)) + "&v1=" + ReflectionInvoker.javaVendor + "&v2=" + ReflectionInvoker.javaVersion + "&e=" + string_4_)), 8362)); + while (class144.status == 0) SpriteAtlasShader.sleep((byte) -123, 1L); + if (class144.status != 1) break; + DataInputStream datainputstream = (DataInputStream) class144.result; + datainputstream.read(); + datainputstream.close(); + } + } catch (Exception exception) { + break; + } + break; + } while (false); + } + + final HashNode nextHashNode(byte i) { + anInt2120++; + if (i < 44) aStringArray2113 = null; + HashNode class348_sub42 = aClass348_Sub42_2115; + if (class348_sub42 == aClass107_2118.sentinel) { + aClass348_Sub42_2115 = null; + return null; + } + aClass348_Sub42_2115 = class348_sub42.next; + return class348_sub42; + } + + ClientErrorReporter(HashTable class107) { + aClass107_2118 = class107; + } +} diff --git a/client/src/ClientSystemInfo.java b/client/src/ClientSystemInfo.java new file mode 100644 index 000000000..7885e9f6b --- /dev/null +++ b/client/src/ClientSystemInfo.java @@ -0,0 +1,565 @@ +/* ClientSystemInfo - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub24` (JODE-obfuscated). + * Client system-info collector. extends Node; reads System.getProperty('java.version') and 'os.version' and reports 'Unknown' fallbacks. + */ + +import java.io.File; + +final class ClientSystemInfo extends Node { + static int anInt6871; + int anInt6872; + static int anInt6873; + static int anInt6874; + int anInt6875; + static String aString6876; + static String aString6877; + static int[] anIntArray6878; + + static final void method2991(int i) { + if (Component156.anInt3699 > 1) { + DefinitionSub23.anInt9313 = ResourceLoader.anInt3918; + Component156.anInt3699--; + } + anInt6874++; + if (Component338.aBoolean1712) { + Component338.aBoolean1712 = false; + SocketConnector.forceLogout(67); + } else { + if (!Component364.aBoolean8335) DisplayModeManagerContainer190.method661((byte) 95); + for (int i_0_ = 0; i_0_ < 100; i_0_++) { + if (!Component102.method2203((byte) -52)) break; + } + if (Component49.clientState == 10) { + while (ShaderProgram.method2138(i ^ 0x2ca2)) { + ParticleSystem class348_sub47 = ParticleShader.method2148(Component211.aClass351_1961, (DisplayModeManagerContainer64.aClass77_9029), -92); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 0); + int i_1_ = (class348_sub47.aClass348_Sub49_Sub2_7116.offset); + ObjectDeserializer.writeReflectionCheckResults((byte) 121, (class348_sub47.aClass348_Sub49_Sub2_7116)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeLengthByte(113, (class348_sub47.aClass348_Sub49_Sub2_7116.offset) + -i_1_); + HashNodeSub14.method3243(119, class348_sub47); + } + if (Component323.aClass348_Sub26_5881 != null) { + if ((Component323.aClass348_Sub26_5881.anInt6887) != -1) { + ParticleSystem class348_sub47 = ParticleShader.method2148((AbstractShaderSub4.aClass351_7318), (DisplayModeManagerContainer64.aClass77_9029), -81); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, Component323.aClass348_Sub26_5881.anInt6887); + HashNodeSub14.method3243(122, class348_sub47); + Component323.aClass348_Sub26_5881 = null; + MatrixSub2.aLong5745 = Component240.currentTimeMillis(-106) + 30000L; + } + } else if (MatrixSub2.aLong5745 <= Component240.currentTimeMillis(-121)) Component323.aClass348_Sub26_5881 = DisplayModeManagerContainer154.aClass169_1286.enqueue(-5255, (Component223.aClass161_125.aString2147)); + NodeSub45 class348_sub45 = ((NodeSub45) Component327.aClass262_8744.first(4)); + if (class348_sub45 != null || (Component117.aLong4367 < -2000L + Component240.currentTimeMillis(-97))) { + ParticleSystem class348_sub47 = null; + int i_2_ = 0; + for (NodeSub45 class348_sub45_3_ = ((NodeSub45) CacheNodeSub1.aClass262_10479.first(4)); class348_sub45_3_ != null; class348_sub45_3_ = (NodeSub45) CacheNodeSub1.aClass262_10479.next((byte) 79)) { + if (class348_sub47 != null && (class348_sub47.aClass348_Sub49_Sub2_7116.offset - i_2_ >= 240)) break; + class348_sub45_3_.unlink((byte) 107); + int i_4_ = class348_sub45_3_.getY(-15); + if (i_4_ >= -1) { + if (i_4_ > 65534) i_4_ = 65534; + } else i_4_ = -1; + int i_5_ = class348_sub45_3_.getX((byte) -127); + if (i_5_ >= -1) { + if (i_5_ > 65534) i_5_ = 65534; + } else i_5_ = -1; + if (BufferCacheSub2.anInt8270 != i_5_ || i_4_ != ImageCacheStore.anInt4032) { + if (class348_sub47 == null) { + TeleportHandler.anInt4450++; + class348_sub47 = (ParticleShader.method2148(StringDefinition.aClass351_9590, DisplayModeManagerContainer64.aClass77_9029, -94)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 0); + i_2_ = class348_sub47.aClass348_Sub49_Sub2_7116.offset; + } + int i_6_ = -BufferCacheSub2.anInt8270 + i_5_; + BufferCacheSub2.anInt8270 = i_5_; + int i_7_ = i_4_ - ImageCacheStore.anInt4032; + ImageCacheStore.anInt4032 = i_4_; + int i_8_ = (int) ((class348_sub45_3_.getWhen((byte) -107) + -Component117.aLong4367) / 20L); + if (i_8_ >= 8 || i_6_ < -32 || i_6_ > 31 || i_7_ < -32 || i_7_ > 31) { + if (i_8_ < 32 && i_6_ >= -128 && i_6_ <= 127 && i_7_ >= -128 && i_7_ <= 127) { + i_6_ += 128; + i_7_ += 128; + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 128 + i_8_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_7_ + (i_6_ << 8)); + } else if (i_8_ >= 32) { + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, 57344 + i_8_); + if (i_5_ == 1 || i_4_ == -1) class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 99, -2147483648); + else class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 101, i_4_ << 16 | i_5_); + } else { + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 192 + i_8_); + if (i_5_ != 1 && i_4_ != -1) class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 100, i_5_ | i_4_ << 16); + else class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 114, -2147483648); + } + } else { + i_6_ += 32; + i_7_ += 32; + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, (i_7_ + (i_6_ << 6) + (i_8_ << 12))); + } + Component117.aLong4367 = class348_sub45_3_.getWhen((byte) -109); + } + } + if (class348_sub47 != null) { + class348_sub47.aClass348_Sub49_Sub2_7116.writeLengthByte(105, class348_sub47.aClass348_Sub49_Sub2_7116.offset + -i_2_); + HashNodeSub14.method3243(23, class348_sub47); + } + } + if (class348_sub45 != null) { + long l = ((class348_sub45.getWhen((byte) -110) + -DisplayModeManagerContainer194.aLong5089) / 50L); + DisplayModeManagerContainer194.aLong5089 = class348_sub45.getWhen((byte) -87); + if (l > 32767) l = 32767L; + int i_9_ = class348_sub45.getY(20); + if (i_9_ >= 0) { + if (i_9_ > 65535) i_9_ = 65535; + } else i_9_ = 0; + int i_10_ = class348_sub45.getX((byte) -128); + if (i_10_ < 0) i_10_ = 0; + else if (i_10_ > 65535) i_10_ = 65535; + int i_11_ = 0; + if (class348_sub45.getEventType(i ^ 0x2cee) == 2) i_11_ = 1; + int i_12_ = (int) l; + RunescapeInfo.anInt182++; + ParticleSystem class348_sub47 = ParticleShader.method2148(DisplayModeManagerContainer91.aClass351_395, (DisplayModeManagerContainer64.aClass77_9029), i + -11525); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_12_ | i_11_ << 15); + class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 121, i_9_ << 16 | i_10_); + HashNodeSub14.method3243(25, class348_sub47); + } + if (Component193.anInt3246 > 0) { + DefinitionSub26.anInt9348++; + ParticleSystem class348_sub47 = ParticleShader.method2148((ShaderCompilerSub1Sub1.aClass351_8798), (DisplayModeManagerContainer64.aClass77_9029), -111); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 3 * Component193.anInt3246); + for (int i_13_ = 0; (i_13_ < Component193.anInt3246); i_13_++) { + Interface6 interface6 = Component17.anInterface6Array3884[i_13_]; + long l = ((interface6.getWhen((byte) -29) + -NodeSub7.aLong6651) / 50L); + NodeSub7.aLong6651 = interface6.getWhen((byte) 106); + if (l > 65535L) l = 65535L; + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, interface6.getKeyCode(false)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, (int) l); + } + HashNodeSub14.method3243(-49, class348_sub47); + } + if (Component335.anInt2035 > 0) Component335.anInt2035--; + if (DummyClass.aBoolean10174 && Component335.anInt2035 <= 0) { + Component302.anInt6033++; + DummyClass.aBoolean10174 = false; + Component335.anInt2035 = 20; + ParticleSystem class348_sub47 = ParticleShader.method2148(Component337.aClass351_3648, (DisplayModeManagerContainer64.aClass77_9029), i + -11549); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(i ^ 0x3c4d, (int) Component112.cameraYaw >> 3); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, (int) DisplayModeManagerContainer154.cameraPitch >> 3); + HashNodeSub14.method3243(-31, class348_sub47); + } + if (DisplayModeManagerContainer322.aBoolean4278 != Component143.aBoolean2329) { + Component209.anInt3460++; + DisplayModeManagerContainer322.aBoolean4278 = Component143.aBoolean2329; + ParticleSystem class348_sub47 = ParticleShader.method2148((InputStream_Sub1.aClass351_77), (DisplayModeManagerContainer64.aClass77_9029), i ^ ~0x2cc8); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, !Component143.aBoolean2329 ? 0 : 1); + HashNodeSub14.method3243(i + -11501, class348_sub47); + } + if (!r.aBoolean9719) { + Component240.anInt1110++; + ParticleSystem class348_sub47 = ParticleShader.method2148((Component182.aClass351_9743), (DisplayModeManagerContainer64.aClass77_9029), -113); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 0); + int i_14_ = (class348_sub47.aClass348_Sub49_Sub2_7116.offset); + Buffer class348_sub49 = Component192.aClass348_Sub51_3959.method3427(i ^ 0x2cb0); + class348_sub47.aClass348_Sub49_Sub2_7116.writeBytes(class348_sub49.offset, 0, class348_sub49.payload, 82); + class348_sub47.aClass348_Sub49_Sub2_7116.writeLengthByte(96, (class348_sub47.aClass348_Sub49_Sub2_7116.offset) + -i_14_); + HashNodeSub14.method3243(i + -11473, class348_sub47); + r.aBoolean9719 = true; + } + if (Component335.aClass357ArrayArrayArray2029 != null) { + if (DefinitionSub21.cameraMode == 2) Component19.method241((byte) 127); + else if (DefinitionSub21.cameraMode == 3) NodeSub21.method2954((byte) -4); + } + if (!Component214.aBoolean2130) Component275.cameraYawRate /= 2.0F; + else Component214.aBoolean2130 = false; + if (!Cp1252Decoder.aBoolean5224) NodeSub27.cameraPitchRate /= 2.0F; + else Cp1252Decoder.aBoolean5224 = false; + NodeSub35.method3027((byte) 33); + if (Component49.clientState == 10) { + HashNodeSub3.method3175((byte) 55); + PauseTimer.method362(i + -11335); + DisplayModeManagerContainer105.method1501(-123); + NodeSub50.anInt7213++; + if (NodeSub50.anInt7213 > 750) SocketConnector.forceLogout(83); + else { + Component225.method349(i + -6692); + DefinitionSub38.method3150(true); + DisplayModeManagerContainer51.method1397(0); + for (int i_15_ = DisplayModeManagerContainer58.aClass170_10209.method1305((byte) -126, true); i_15_ != -1; i_15_ = DisplayModeManagerContainer58.aClass170_10209.method1305((byte) -128, false)) { + LibraryCreditsText.method1767(true, i_15_); + DisplayModeManagerContainer363.anIntArray4096[GpsOverlay.bitwiseAnd(31, DisplayModeManagerContainer260.anInt3695++)] = i_15_; + } + for (RSARequest class348_sub42_sub15 = DefinitionSub30.method3127(2681); class348_sub42_sub15 != null; class348_sub42_sub15 = DefinitionSub30.method3127(2681)) { + int i_16_ = class348_sub42_sub15.method3245(true); + int i_17_ = class348_sub42_sub15.method3248(1); + if (i_16_ == 1) { + DisplayModeManagerContainer123.anIntArray1303[i_17_] = class348_sub42_sub15.anInt9652; + Component357.aBoolean2469 |= WaterShaderProgram.aBooleanArray6270[i_17_]; + Request.anIntArray6890[GpsOverlay.bitwiseAnd(31, Component364.anInt8352++)] = i_17_; + } else if (i_16_ == 2) { + GlFramebufferTexture.aStringArray8532[i_17_] = class348_sub42_sub15.aString9654; + Component71.anIntArray6061[GpsOverlay.bitwiseAnd(DefinitionSub30.anInt9385++, 31)] = i_17_; + } else if (i_16_ == 3) { + DisplayModeManagerContainer57 class46 = BitmapFont.method2570(1512932720, i_17_); + if (!class348_sub42_sub15.aString9654.equals(class46.aString792)) { + class46.aString792 = class348_sub42_sub15.aString9654; + Component111.markInterfaceDirty(-9343, class46); + } + } else if (i_16_ == 4) { + DisplayModeManagerContainer57 class46 = BitmapFont.method2570(1512932720, i_17_); + int i_18_ = (class348_sub42_sub15.anInt9652); + int i_19_ = (class348_sub42_sub15.anInt9651); + int i_20_ = (class348_sub42_sub15.anInt9650); + if (i_18_ != class46.anInt770 || (class46.anInt753 != i_19_) || (i_20_ != class46.anInt779)) { + class46.anInt753 = i_19_; + class46.anInt770 = i_18_; + class46.anInt779 = i_20_; + Component111.markInterfaceDirty(-9343, class46); + } + } else if (i_16_ == 5) { + DisplayModeManagerContainer57 class46 = BitmapFont.method2570(i ^ 0x5a2da9d8, i_17_); + if ((class46.anInt699 != class348_sub42_sub15.anInt9652) || (class348_sub42_sub15.anInt9652 == -1)) { + class46.anInt699 = class348_sub42_sub15.anInt9652; + class46.anInt795 = 0; + class46.anInt841 = 0; + class46.anInt730 = 1; + DisplayModeManagerContainer167 class17 = ((class46.anInt699 == -1) ? null : (RunescapeInfo.aClass87_191.method835((class46.anInt699), 7))); + if (class17 != null) Component235.method2017((class46.anInt795), class17, 30); + Component111.markInterfaceDirty(-9343, class46); + } + } else if (i_16_ == 6) { + int i_21_ = (class348_sub42_sub15.anInt9652); + int i_22_ = (0x7ff9 & i_21_) >> 10; + int i_23_ = 0x1f & i_21_ >> 5; + int i_24_ = 0x1f & i_21_; + int i_25_ = ((i_24_ << 3) + ((i_22_ << 19) - -(i_23_ << 11))); + DisplayModeManagerContainer57 class46 = BitmapFont.method2570(1512932720, i_17_); + if (class46.anInt749 != i_25_) { + class46.anInt749 = i_25_; + Component111.markInterfaceDirty(-9343, class46); + } + } else if (i_16_ == 7) { + DisplayModeManagerContainer57 class46 = BitmapFont.method2570(1512932720, i_17_); + boolean bool = (class348_sub42_sub15.anInt9652 == 1); + if (!class46.aBoolean813 == bool) { + class46.aBoolean813 = bool; + Component111.markInterfaceDirty(-9343, class46); + } + } else if (i_16_ == 8) { + DisplayModeManagerContainer57 class46 = BitmapFont.method2570(1512932720, i_17_); + if ((class46.anInt757 != class348_sub42_sub15.anInt9652) || (class46.anInt675 != class348_sub42_sub15.anInt9651) || (class46.anInt716 != class348_sub42_sub15.anInt9650)) { + class46.anInt716 = class348_sub42_sub15.anInt9650; + class46.anInt675 = class348_sub42_sub15.anInt9651; + class46.anInt757 = class348_sub42_sub15.anInt9652; + if (class46.anInt812 != -1) { + if (class46.anInt796 <= 0) { + if ((class46.anInt842) > 0) class46.anInt716 = (32 * class46.anInt716 / (class46.anInt842)); + } else class46.anInt716 = ((class46.anInt716) * 32 / (class46.anInt796)); + } + Component111.markInterfaceDirty(-9343, class46); + } + } else if (i_16_ == 9) { + DisplayModeManagerContainer57 class46 = BitmapFont.method2570(1512932720, i_17_); + if ((class348_sub42_sub15.anInt9652 != class46.anInt812) || (class348_sub42_sub15.anInt9651 != class46.anInt781)) { + class46.anInt781 = class348_sub42_sub15.anInt9651; + class46.anInt812 = class348_sub42_sub15.anInt9652; + Component111.markInterfaceDirty(-9343, class46); + } + } else if (i_16_ == 10) { + DisplayModeManagerContainer57 class46 = BitmapFont.method2570(1512932720, i_17_); + if ((class46.anInt808 != (class348_sub42_sub15.anInt9652)) || ((class46.anInt786) != (class348_sub42_sub15.anInt9651)) || ((class348_sub42_sub15.anInt9650) != class46.anInt717)) { + class46.anInt786 = (class348_sub42_sub15.anInt9651); + class46.anInt808 = (class348_sub42_sub15.anInt9652); + class46.anInt717 = (class348_sub42_sub15.anInt9650); + Component111.markInterfaceDirty(-9343, class46); + } + } else if (i_16_ == 11) { + DisplayModeManagerContainer57 class46 = (BitmapFont.method2570(1512932720, i_17_)); + class46.aByte817 = (byte) 0; + class46.anInt750 = class46.anInt739 = (class348_sub42_sub15.anInt9651); + class46.aByte681 = (byte) 0; + class46.anInt800 = class46.anInt788 = (class348_sub42_sub15.anInt9652); + Component111.markInterfaceDirty(-9343, class46); + } else if (i_16_ == 12) { + DisplayModeManagerContainer57 class46 = (BitmapFont.method2570(1512932720, i_17_)); + int i_26_ = (class348_sub42_sub15.anInt9652); + if (class46 != null && (class46.anInt774) == 0) { + if ((-(class46.anInt789) + (class46.anInt791)) < i_26_) i_26_ = ((class46.anInt791) - (class46.anInt789)); + if (i_26_ < 0) i_26_ = 0; + if (i_26_ != (class46.anInt755)) { + class46.anInt755 = i_26_; + Component111.markInterfaceDirty(-9343, class46); + } + } + } else if (i_16_ == 14) { + DisplayModeManagerContainer57 class46 = (BitmapFont.method2570(1512932720, i_17_)); + class46.anInt756 = (class348_sub42_sub15.anInt9652); + } else if (i_16_ == 15) { + Component263.anInt1548 = (class348_sub42_sub15.anInt9651); + Component253.anInt3203 = (class348_sub42_sub15.anInt9652); + NodeSub13.aBoolean6759 = true; + } else if (i_16_ == 16) { + DisplayModeManagerContainer57 class46 = (BitmapFont.method2570(1512932720, i_17_)); + class46.anInt702 = (class348_sub42_sub15.anInt9652); + } else if (i_16_ == 17) { + DisplayModeManagerContainer57 class46 = (BitmapFont.method2570(1512932720, i_17_)); + class46.anInt806 = (class348_sub42_sub15.anInt9652); + } + } + NodeSub51.anInt7267++; + if (Component20.anInt6048 != 0) { + Node.anInt4292 += 20; + if (Node.anInt4292 >= 400) Component20.anInt6048 = 0; + } + if (ResourceLoader.aClass46_3913 != null) { + Component83.anInt1656++; + if (Component83.anInt1656 >= 15) { + Component111.markInterfaceDirty(-9343, ResourceLoader.aClass46_3913); + ResourceLoader.aClass46_3913 = null; + } + } + DisplayModeManagerContainer104.aClass46_10336 = null; + Cp1252Decoder.aBoolean5221 = false; + Component39.aClass46_2249 = null; + Component162.aBoolean8386 = false; + Component2.method198(null, false, -1, -1); + Component143.method1343(-1, null, 1, -1); + if (!r.aBoolean9722) Component149.anInt4458 = -1; + Component233.overGameScreen = false; + Component43.method1583((byte) -73); + ResourceLoader.anInt3918++; + if (Component233.overGameScreen && Component233.scrollWheelDiff != 0 && !StringCache.devConsoleOpen) { + if (Component353.anInt2581 <= 0 || !Component280.aClass346_2449.isKeyDown(82, -125) || !Component280.aClass346_2449.isKeyDown(81, -126)) { + Component233.zoomStep += -Component233.scrollWheelDiff * Loader.ZOOM_OFFSET_STEP; + } + } + if (DisplayModeManagerContainer87.aBoolean3103) { + Component122.anInt1568++; + ParticleSystem class348_sub47 = ParticleShader.method2148((GlToolkitSub2.aClass351_7715), (DisplayModeManagerContainer64.aClass77_9029), i + -11525); + class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 117, (InputStream_Sub2.anInt85 << 14 | (DefinitionSub26.anInt9349 << 28) | NpcComposition.anInt1404)); + HashNodeSub14.method3243(30, class348_sub47); + DisplayModeManagerContainer87.aBoolean3103 = false; + } + for (; ; ) { + NodeSub36 class348_sub36 = ((NodeSub36) Component222.aClass262_2707.peekFirst(8)); + if (class348_sub36 == null) break; + DisplayModeManagerContainer57 class46 = (class348_sub36.aClass46_6989); + if (class46.anInt704 >= 0) { + DisplayModeManagerContainer57 class46_27_ = BitmapFont.method2570(1512932720, (class46.anInt834)); + if (class46_27_ == null || (class46_27_.aClass46Array798) == null || ((class46_27_.aClass46Array798).length <= class46.anInt704) || (class46 != (class46_27_.aClass46Array798[class46.anInt704]))) continue; + } + ClientScriptExecutor.method705(class348_sub36); + } + for (; ; ) { + NodeSub36 class348_sub36 = ((NodeSub36) Component6.aClass262_4473.peekFirst(8)); + if (class348_sub36 == null) break; + DisplayModeManagerContainer57 class46 = (class348_sub36.aClass46_6989); + if (class46.anInt704 >= 0) { + DisplayModeManagerContainer57 class46_28_ = BitmapFont.method2570(1512932720, (class46.anInt834)); + if (class46_28_ == null || (class46_28_.aClass46Array798) == null || (class46.anInt704 >= (class46_28_.aClass46Array798).length) || ((class46_28_.aClass46Array798[class46.anInt704]) != class46)) continue; + } + ClientScriptExecutor.method705(class348_sub36); + } + for (; ; ) { + NodeSub36 class348_sub36 = ((NodeSub36) NodeSub1Sub2.aClass262_8810.peekFirst(i + -11424)); + if (class348_sub36 == null) break; + DisplayModeManagerContainer57 class46 = (class348_sub36.aClass46_6989); + if (class46.anInt704 >= 0) { + DisplayModeManagerContainer57 class46_29_ = BitmapFont.method2570(1512932720, (class46.anInt834)); + if (class46_29_ == null || (class46_29_.aClass46Array798) == null || (class46.anInt704 >= (class46_29_.aClass46Array798).length) || ((class46_29_.aClass46Array798[class46.anInt704]) != class46)) continue; + } + ClientScriptExecutor.method705(class348_sub36); + } + if (Component39.aClass46_2249 == null) HashNode.anInt7059 = 0; + if (Component156.aClass46_3701 != null) DisplayModeManagerContainer322.method2708(-30206); + // Ctrl+Shift + wheel: change local plane (debug teleport height). + if (Component353.anInt2581 > 0 && Component280.aClass346_2449.isKeyDown(82, i ^ ~0x2cd5) && Component280.aClass346_2449.isKeyDown(81, -121) && Component122.mouseWheelDelta != 0) { + int i_30_ = ((Component72.localPlayer.plane) - Component122.mouseWheelDelta); + if (i_30_ >= 0) { + if (i_30_ > 3) i_30_ = 3; + } else i_30_ = 0; + TeleportHandler.method3502((Component72.localPlayer.anIntArray10317[0]) + Component330.regionTileY, i ^ 0x2caa, i_30_, (Component72.localPlayer.anIntArray10320[0]) + NodeBaseSub2.regionTileX); + } + DisplayModeManagerContainer1.updateMenuTip(-120); + int i_31_ = 0; + if (i == 11432) { + for (/**/; i_31_ < 5; i_31_++) + Component212.anIntArray9981[i_31_]++; + if (Component357.aBoolean2469 && (-60000L + Component240.currentTimeMillis(-84) > Component225.aLong482)) DisplayModeManagerContainer343.saveClientPreferences(i + -11313); + for (FriendLoginMessage class318_sub9_sub1 = ((FriendLoginMessage) HashNodeSub14.friendLoginMessages.method1872(i + -11424)); class318_sub9_sub1 != null; class318_sub9_sub1 = ((FriendLoginMessage) HashNodeSub14.friendLoginMessages.method1878((byte) -105))) { + if ((Component240.currentTimeMillis(i ^ ~0x2ce9) / 1000L + -5L) > (long) class318_sub9_sub1.timestampSeconds) { + if (class318_sub9_sub1.worldId > 0) ShaderProgramSub2.method2144("", 5, (byte) -128, 0, (class318_sub9_sub1.username + (FriendsIgnoreList.aClass274_3502.getLocalized(ObjectDeserializer.languageId, 544))), "", ""); + if (class318_sub9_sub1.worldId == 0) ShaderProgramSub2.method2144("", 5, (byte) -105, 0, (class318_sub9_sub1.username + (FriendsIgnoreList.aClass274_3503.getLocalized(ObjectDeserializer.languageId, 544))), "", ""); + class318_sub9_sub1.unlink(false); + } + } + DisplayModeManagerContainer332.anInt4999++; + if (DisplayModeManagerContainer332.anInt4999 > 500) { + DisplayModeManagerContainer332.anInt4999 = 0; + int i_32_ = (int) (8.0 * Math.random()); + if ((0x4 & i_32_) == 4) Component195.anInt5016 += DisplayModeManagerContainer165.anInt3844; + if ((i_32_ & 0x1) == 1) Component120.cameraShakeX += Component203.anInt8775; + if ((0x2 & i_32_) == 2) Component92.cameraShakeZ += AbstractBuffer.anInt4263; + } + if (Component120.cameraShakeX < -50) Component203.anInt8775 = 2; + if (Component120.cameraShakeX > 50) Component203.anInt8775 = -2; + if (Component92.cameraShakeZ < -55) AbstractBuffer.anInt4263 = 2; + if (Component195.anInt5016 < -40) DisplayModeManagerContainer165.anInt3844 = 1; + if (Component92.cameraShakeZ > 55) AbstractBuffer.anInt4263 = -2; + DebugPanic.anInt4753++; + if (Component195.anInt5016 > 40) DisplayModeManagerContainer165.anInt3844 = -1; + if (DebugPanic.anInt4753 > 500) { + DebugPanic.anInt4753 = 0; + int i_33_ = (int) (Math.random() * 8.0); + if ((i_33_ & 0x2) == 2) Component182.anInt9750 += HashNodeSub14.anInt9645; + if ((i_33_ & 0x1) == 1) CacheNodeSub2.anInt10483 += Component140.anInt10443; + } + if (CacheNodeSub2.anInt10483 < -60) Component140.anInt10443 = 2; + if (Component182.anInt9750 < -20) HashNodeSub14.anInt9645 = 1; + if (CacheNodeSub2.anInt10483 > 60) Component140.anInt10443 = -2; + if (Component182.anInt9750 > 10) HashNodeSub14.anInt9645 = -1; + Component53.anInt193++; + if (Component53.anInt193 > 50) { + IOException_Sub1.anInt88++; + ParticleSystem class348_sub47 = (ParticleShader.method2148(Component98.aClass351_5938, DisplayModeManagerContainer64.aClass77_9029, -125)); + HashNodeSub14.method3243(i ^ ~0x2cc0, class348_sub47); + } + if (Component284.aBoolean6147) { + Component55.method2334(0); + Component284.aBoolean6147 = false; + } + try { + Component302.method1802(0); + } catch (java.io.IOException ioexception) { + SocketConnector.forceLogout(93); + } + } + } + } + } + } + } + + /** Encode {@code string} to Windows-1252 bytes (specials like € → 0x80). */ + static final byte[] encodeCp1252(String string, byte i) { + try { + anInt6873++; + int i_34_ = string.length(); + byte[] is = new byte[i_34_]; + if (i != -20) method2991(-54); + for (int i_35_ = 0; i_35_ < i_34_; i_35_++) { + int i_36_ = string.charAt(i_35_); + if (i_36_ > 0 && i_36_ < 128 || i_36_ >= 160 && i_36_ <= 255) is[i_35_] = (byte) i_36_; + else if (i_36_ != 8364) { + if (i_36_ != 8218) { + if (i_36_ != 402) { + if (i_36_ == 8222) is[i_35_] = (byte) -124; + else if (i_36_ == 8230) is[i_35_] = (byte) -123; + else if (i_36_ != 8224) { + if (i_36_ != 8225) { + if (i_36_ == 710) is[i_35_] = (byte) -120; + else if (i_36_ == 8240) is[i_35_] = (byte) -119; + else if (i_36_ == 352) is[i_35_] = (byte) -118; + else if (i_36_ != 8249) { + if (i_36_ != 338) { + if (i_36_ != 381) { + if (i_36_ == 8216) is[i_35_] = (byte) -111; + else if (i_36_ == 8217) is[i_35_] = (byte) -110; + else if (i_36_ != 8220) { + if (i_36_ != 8221) { + if (i_36_ == 8226) is[i_35_] = (byte) -107; + else if (i_36_ == 8211) is[i_35_] = (byte) -106; + else if (i_36_ != 8212) { + if (i_36_ != 732) { + if (i_36_ != 8482) { + if (i_36_ == 353) is[i_35_] = (byte) -102; + else if (i_36_ == 8250) is[i_35_] = (byte) -101; + else if (i_36_ != 339) { + if (i_36_ == 382) is[i_35_] = (byte) -98; + else if (i_36_ != 376) is[i_35_] = (byte) 63; + else is[i_35_] = (byte) -97; + } else is[i_35_] = (byte) -100; + } else is[i_35_] = (byte) -103; + } else is[i_35_] = (byte) -104; + } else is[i_35_] = (byte) -105; + } else is[i_35_] = (byte) -108; + } else is[i_35_] = (byte) -109; + } else is[i_35_] = (byte) -114; + } else is[i_35_] = (byte) -116; + } else is[i_35_] = (byte) -117; + } else is[i_35_] = (byte) -121; + } else is[i_35_] = (byte) -122; + } else is[i_35_] = (byte) -125; + } else is[i_35_] = (byte) -126; + } else is[i_35_] = (byte) -128; + } + return is; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ls.B(" + (string != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + public static void method2993(byte i) { + anIntArray6878 = null; + aString6876 = null; + aString6877 = null; + int i_37_ = 31 % ((3 - i) / 37); + } + + static final void method2994(int i) { + anInt6871++; + if (i == 2) HelveticaFont.aClass352Array2636 = null; + } + + ClientSystemInfo(int i, int i_38_) { + this.anInt6872 = i; + this.anInt6875 = i_38_; + } + + static { + String string = "Unknown"; + try { + string = System.getProperty("java.vendor").toLowerCase(); + } catch (Exception exception) { + /* empty */ + } + string.toLowerCase(); + string = "Unknown"; + try { + string = System.getProperty("java.version").toLowerCase(); + } catch (Exception exception) { + /* empty */ + } + string.toLowerCase(); + string = "Unknown"; + try { + string = System.getProperty("os.name").toLowerCase(); + } catch (Exception exception) { + /* empty */ + } + aString6877 = string.toLowerCase(); + string = "Unknown"; + try { + string = System.getProperty("os.arch").toLowerCase(); + } catch (Exception exception) { + /* empty */ + } + aString6876 = string.toLowerCase(); + string = "Unknown"; + try { + string = System.getProperty("os.version").toLowerCase(); + } catch (Exception exception) { + /* empty */ + } + string.toLowerCase(); + string = "~/"; + try { + string = System.getProperty("user.home").toLowerCase(); + } catch (Exception exception) { + /* empty */ + } + new File(string); + } +} diff --git a/client/src/CommandHandler.java b/client/src/CommandHandler.java new file mode 100644 index 000000000..f556624fa --- /dev/null +++ b/client/src/CommandHandler.java @@ -0,0 +1,718 @@ +/* CommandHandler - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class82` (JODE-obfuscated). + * Console command handler. handleCommand(String,...) prints/parses commands such as "cls - Clear console" and "commands"; dispatches to Applet_Sub1. + */ + +import jagex3.jagmisc.jagmisc; + +import java.io.File; +import java.io.FileOutputStream; + +final class CommandHandler { + static CacheStore aClass45_1434; + static int anInt1435; + private final CacheStore aClass45_1436; + static int anInt1437; + static int anInt1438; + int anInt1439; + + /** Null shared statics for GC / shutdown. */ + public static void clearStatics(byte i) { + if (i > -109) anInt1435 = 69; + aClass45_1434 = null; + } + + static final void handleCommand(String string, boolean bool, boolean bool_0_, byte i) { + try { + if (i != -79) updateOrbitCamera((byte) -79, 126L); + anInt1437++; + try { + if (Component49.clientState != 10 && (string.equalsIgnoreCase("commands") || string.equalsIgnoreCase("help"))) { + Applet_Sub1.printConsole("commands - This command", i ^ 0x1); + Applet_Sub1.printConsole("cls - Clear console", -54); + Applet_Sub1.printConsole("displayfps - Toggle FPS and other information", -89); + Applet_Sub1.printConsole("renderer - Print graphics renderer information", 122); + Applet_Sub1.printConsole("heap - Print java memory information", -88); + return; + } + if (string.equalsIgnoreCase("cls")) { + Component94.consoleScroll = 0; + Component14.consoleLineCount = 0; + return; + } + if (string.equalsIgnoreCase("displayfps")) { + Component10.fpsOverlayEnabled = !Component10.fpsOverlayEnabled; + if (Component10.fpsOverlayEnabled) Applet_Sub1.printConsole("FPS on", 83); + else { + Applet_Sub1.printConsole("FPS off", -69); + return; + } + return; + } + if (string.equals("renderer")) { + Component6 class365 = NodeSub8.toolkit.c(); + Applet_Sub1.printConsole("Vendor: " + class365.anInt4476, 89); + Applet_Sub1.printConsole("Name: " + (class365.aString4470), 71); + Applet_Sub1.printConsole(("Version: " + (class365.anInt4475)), -110); + Applet_Sub1.printConsole(("Device: " + (class365.aString4472)), i + 146); + Applet_Sub1.printConsole(("Driver Version: " + (class365.aLong4471)), i + -32); + return; + } + if (string.equals("heap")) { + Applet_Sub1.printConsole(("Heap: " + Component127.anInt2964 + "MB"), 69); + return; + } + } catch (Exception exception) { + Applet_Sub1.printConsole((FriendsIgnoreList.aClass274_3485.getLocalized(ObjectDeserializer.languageId, 544)), -99); + return; + } + if (DisplayModeManagerContainer345.aClass364_165 != Component326.LIVE || Component353.anInt2581 >= 2) { + if (string.equalsIgnoreCase("errortest")) throw new RuntimeException(); + if (string.equals("nativememerror")) throw new OutOfMemoryError("native(MPR"); + try { + if (string.equalsIgnoreCase("printfps")) { + Applet_Sub1.printConsole(("FPS: " + DisplayModeManagerContainer348.fps), -58); + return; + } + if (string.equalsIgnoreCase("occlude")) { + DefinitionSub23.aBoolean9307 = !DefinitionSub23.aBoolean9307; + if (DefinitionSub23.aBoolean9307) { + Applet_Sub1.printConsole("Occlsion now on!", -102); + return; + } else Applet_Sub1.printConsole("Occlsion now off!", -106); + return; + } + if (string.equalsIgnoreCase("fpson")) { + Component10.fpsOverlayEnabled = true; + Applet_Sub1.printConsole("fps debug enabled", -115); + return; + } + if (string.equalsIgnoreCase("fpsoff")) { + Component10.fpsOverlayEnabled = false; + Applet_Sub1.printConsole("fps debug disabled", 125); + return; + } + if (string.equals("systemmem")) { + try { + Applet_Sub1.printConsole(("System memory: " + (jagmisc.getAvailablePhysicalMemory() / 1048576L) + "/" + DefinitionSub20.aClass348_Sub4_9264.anInt6609 + "Mb"), i + 26); + } catch (Throwable throwable) { + /* empty */ + } + return; + } + if (string.equalsIgnoreCase("cleartext")) { + Component241.aClass243_2957.method1876((byte) -45); + Applet_Sub1.printConsole("Text coords cleared", i + 21); + return; + } + if (string.equalsIgnoreCase("gc")) { + DisplayModeManagerContainer57.method427(i + 180); + for (int i_1_ = 0; i_1_ < 10; i_1_++) + System.gc(); + Runtime runtime = Runtime.getRuntime(); + int i_2_ = (int) ((runtime.totalMemory() + -runtime.freeMemory()) / 1024L); + Applet_Sub1.printConsole("mem=" + i_2_ + "k", 110); + return; + } + if (string.equalsIgnoreCase("compact")) { + DisplayModeManagerContainer57.method427(-41); + for (int i_3_ = 0; i_3_ < 10; i_3_++) + System.gc(); + Runtime runtime = Runtime.getRuntime(); + int i_4_ = (int) ((runtime.totalMemory() + -runtime.freeMemory()) / 1024L); + Applet_Sub1.printConsole(("Memory before cleanup=" + i_4_ + "k"), 115); + Component201.method2271(31268); + DisplayModeManagerContainer57.method427(96); + for (int i_5_ = 0; i_5_ < 10; i_5_++) + System.gc(); + i_4_ = (int) ((runtime.totalMemory() + -runtime.freeMemory()) / 1024L); + Applet_Sub1.printConsole(("Memory after cleanup=" + i_4_ + "k"), -110); + return; + } + if (string.equalsIgnoreCase("unloadnatives")) { + Applet_Sub1.printConsole((NativeLibraryLoader.unloadNativeLibraries(true) ? "Libraries unloaded" : "Library unloading failed!"), 63); + return; + } + if (string.equalsIgnoreCase("clientdrop")) { + Applet_Sub1.printConsole("Dropped client connection", -119); + if (Component49.clientState == 10) SocketConnector.forceLogout(105); + else { + if (Component49.clientState == 11) Component338.aBoolean1712 = true; + return; + } + return; + } + if (string.equalsIgnoreCase("rotateconnectmethods")) { + Component223.aClass161_125.method1259(0); + Applet_Sub1.printConsole("Rotated connection methods", i ^ ~0x13); + return; + } + if (string.equalsIgnoreCase("clientjs5drop")) { + HardwareProbe.aClass248_6601.closeConnection(-83); + Applet_Sub1.printConsole("Dropped client js5 net queue", -116); + return; + } + if (string.equalsIgnoreCase("serverjs5drop")) { + HardwareProbe.aClass248_6601.writeClose(0); + Applet_Sub1.printConsole("Dropped server js5 net queue", -100); + return; + } + if (string.equalsIgnoreCase("breakcon")) { + OggUrlStream.aClass297_8992.blockConnections(-95); + DefinitionSub8.aClass238_9165.shutdownStreams(i + 123); + HardwareProbe.aClass248_6601.detachStreams(true); + Applet_Sub1.printConsole("Breaking new connections for 5 seconds", i + -4); + return; + } + if (string.equalsIgnoreCase("rebuild")) { + NodeSub20.method2953((byte) -117); + Component308.method464(-1); + Applet_Sub1.printConsole("Rebuilding map", -113); + return; + } + if (string.equalsIgnoreCase("rebuildprofile")) { + Component330.aLong1516 = Component240.currentTimeMillis(-75); + AbstractGlTextureSub4.aBoolean8558 = true; + NodeSub20.method2953((byte) -114); + Component308.method464(-1); + Applet_Sub1.printConsole("Rebuilding map (with profiling)", -117); + return; + } + if (string.equalsIgnoreCase("wm1")) { + LogicError.method830(1, -1, (byte) 102, false, -1); + if (MenuEntry.getWindowMode(-61) == 1) { + Applet_Sub1.printConsole("wm1 succeeded", -65); + return; + } else Applet_Sub1.printConsole("wm1 failed", i ^ ~0x17); + return; + } + if (string.equalsIgnoreCase("wm2")) { + LogicError.method830(2, -1, (byte) 102, false, -1); + if (MenuEntry.getWindowMode(-119) == 2) Applet_Sub1.printConsole("wm2 succeeded", -109); + else { + Applet_Sub1.printConsole("wm2 failed", i + 154); + return; + } + return; + } + if (string.equalsIgnoreCase("wm3")) { + LogicError.method830(3, 1024, (byte) 102, false, 768); + if (MenuEntry.getWindowMode(i ^ 0x3d) == 3) Applet_Sub1.printConsole("wm3 succeeded", 111); + else { + Applet_Sub1.printConsole("wm3 failed", 83); + return; + } + return; + } + if (string.equalsIgnoreCase("tk0")) { + SoftwareFallbackShader.method3553(false, (byte) 104, 0); + if (Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) == 0) { + Applet_Sub1.printConsole("Entered tk0", 101); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub25_7251), 0); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + return; + } else Applet_Sub1.printConsole("Failed to enter tk0", 69); + return; + } + if (string.equalsIgnoreCase("tk1")) { + SoftwareFallbackShader.method3553(false, (byte) 109, 1); + if (Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) == 1) { + Applet_Sub1.printConsole("Entered tk1", -65); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub25_7251), 1); + DisplayModeManagerContainer389.method243(i ^ ~0x6b); + r.aBoolean9719 = false; + return; + } else Applet_Sub1.printConsole("Failed to enter tk1", -56); + return; + } + if (string.equalsIgnoreCase("tk2")) { + SoftwareFallbackShader.method3553(false, (byte) 115, 2); + if (Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) == 2) { + Applet_Sub1.printConsole("Entered tk2", i + 151); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub25_7251), 2); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + } else { + Applet_Sub1.printConsole("Failed to enter tk2", i ^ 0x22); + return; + } + return; + } + if (string.equalsIgnoreCase("tk3")) { + SoftwareFallbackShader.method3553(false, (byte) 107, 3); + if (Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) == 3) { + Applet_Sub1.printConsole("Entered tk3", 78); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub25_7251), 3); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + return; + } else Applet_Sub1.printConsole("Failed to enter tk3", 54); + return; + } + if (string.equalsIgnoreCase("tk5")) { + SoftwareFallbackShader.method3553(false, (byte) 113, 5); + if (Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(i ^ 0x7e13) == 5) { + Applet_Sub1.printConsole("Entered tk5", -108); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub25_7251), 5); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + } else { + Applet_Sub1.printConsole("Failed to enter tk5", 63); + return; + } + return; + } + if (string.startsWith("setba")) { + if (string.length() < 6) Applet_Sub1.printConsole("Invalid buildarea value", i + -36); + else { + int i_6_ = (NodeSub41.parseInt(true, string.substring(6))); + if (i_6_ < 0 || (Node.method2710(-126, Component127.anInt2964) < i_6_)) Applet_Sub1.printConsole("Invalid buildarea value", 53); + else { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub6_7226), i_6_); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + Applet_Sub1.printConsole(("maxbuildarea=" + Component192.aClass348_Sub51_3959.aClass239_Sub6_7226.method1743(-32350)), 98); + return; + } + return; + } + return; + } + if (string.startsWith("rect_debug")) { + if (string.length() < 10) Applet_Sub1.printConsole("Invalid rect_debug value", -94); + else { + GlToolkitSub3.anInt8045 = NodeSub41.parseInt(true, string.substring(10).trim()); + Applet_Sub1.printConsole(("rect_debug=" + GlToolkitSub3.anInt8045), -124); + return; + } + return; + } + if (string.equalsIgnoreCase("qa_op_test")) { + DisplayModeManagerContainer356.aBoolean6327 = true; + Applet_Sub1.printConsole(("qa_op_test=" + (DisplayModeManagerContainer356.aBoolean6327)), -114); + return; + } + if (string.equalsIgnoreCase("clipcomponents")) { + Component29.aBoolean10046 = !Component29.aBoolean10046; + Applet_Sub1.printConsole(("clipcomponents=" + (Component29.aBoolean10046)), 88); + return; + } + if (string.startsWith("bloom")) { + boolean bool_7_ = NodeSub8.toolkit.method3666(); + if (DefinitionSub33.method3137(!bool_7_, (byte) -24)) { + if (bool_7_) { + Applet_Sub1.printConsole("Bloom disabled", i + -49); + return; + } else Applet_Sub1.printConsole("Bloom enabled", 71); + return; + } else Applet_Sub1.printConsole("Failed to enable bloom", 52); + return; + } + if (string.equalsIgnoreCase("tween")) { + if (DisplayModeManagerContainer332.aBoolean5002) { + DisplayModeManagerContainer332.aBoolean5002 = false; + Applet_Sub1.printConsole("Forced tweening disabled.", i ^ ~0x71); + return; + } else { + DisplayModeManagerContainer332.aBoolean5002 = true; + Applet_Sub1.printConsole("Forced tweening ENABLED!", -89); + } + return; + } + if (string.equalsIgnoreCase("shiftclick")) { + if (Component262.shiftClick) { + Applet_Sub1.printConsole("Shift-click disabled.", i ^ ~0x24); + Component262.shiftClick = false; + } else { + Applet_Sub1.printConsole("Shift-click ENABLED!", 106); + Component262.shiftClick = true; + return; + } + return; + } + if (string.equalsIgnoreCase("getcgcoord")) { + Applet_Sub1.printConsole(("x:" + ((Component72.localPlayer.x) >> 9) + " z:" + ((Component72.localPlayer.y) >> 9)), -117); + return; + } + if (string.equalsIgnoreCase("getheight")) { + Applet_Sub1.printConsole(("Height: " + (ShaderSub1.aSArray5191[(Component72.localPlayer.plane)].method3982((byte) -86, (Component72.localPlayer.y) >> 9, (Component72.localPlayer.x) >> 9))), i ^ 0x1); + return; + } + if (string.equalsIgnoreCase("resetminimap")) { + Component158.aClass45_322.clearPacked(i ^ ~0x4e); + Component158.aClass45_322.clearUnpacked((byte) 127); + Component245.aClass141_117.method1175((byte) 125); + DisplayModeManagerContainer64.aClass153_9031.method1219(7851); + Component308.method464(-1); + Applet_Sub1.printConsole("Minimap reset", 70); + return; + } + if (string.startsWith("mc")) { + if (NodeSub8.toolkit.method3708()) { + int i_8_ = Integer.parseInt(string.substring(3)); + if (i_8_ >= 1) { + if (i_8_ > 4) i_8_ = 4; + } else i_8_ = 1; + Component25.anInt6012 = i_8_; + NodeSub20.method2953((byte) -128); + Applet_Sub1.printConsole(("Render cores now: " + (Component25.anInt6012)), -77); + } else { + Applet_Sub1.printConsole("Current toolkit doesn't support multiple cores", i + 138); + return; + } + return; + } + if (string.startsWith("cachespace")) { + Applet_Sub1.printConsole(("I(s): " + StringCache.aClass60_4327.getRemaining(-18529) + "/" + StringCache.aClass60_4327.getCapacity(-4)), -101); + Applet_Sub1.printConsole(("I(m): " + Component142.aClass60_4417.getRemaining(-18529) + "/" + Component142.aClass60_4417.getCapacity(i ^ 0x4d)), 127); + Applet_Sub1.printConsole(("O(s): " + Exception_Sub1.itemDefinitions.aClass175_3288.method1350((byte) 126) + "/" + Exception_Sub1.itemDefinitions.aClass175_3288.method1339(100)), i + 203); + return; + } + if (string.equalsIgnoreCase("getcamerapos")) { + Applet_Sub1.printConsole(("Pos: " + (Component72.localPlayer.plane) + "," + (((WaterSurfaceShader.anInt6246 >> 9) - -NodeBaseSub2.regionTileX) >> 6) + "," + ((Component317.anInt8685 >> 9) + Component330.regionTileY >> 6) + "," + (((WaterSurfaceShader.anInt6246 >> 9) - -NodeBaseSub2.regionTileX) & 0x3f) + "," + ((Component317.anInt8685 >> 9) - -Component330.regionTileY & 0x3f) + " Height: " + ((Component300.method2064(WaterSurfaceShader.anInt6246, (Component72.localPlayer.plane), 11219, Component317.anInt8685)) - DisplayModeManagerContainer50.anInt3855)), 126); + Applet_Sub1.printConsole(("Look: " + (Component72.localPlayer.plane) + "," + (Component48.anInt4336 - -NodeBaseSub2.regionTileX >> 6) + "," + (Component330.regionTileY + Component337.anInt3647 >> 6) + "," + (0x3f & Component48.anInt4336 - -NodeBaseSub2.regionTileX) + "," + (0x3f & Component337.anInt3647 - -Component330.regionTileY) + " Height: " + ((Component300.method2064(Component48.anInt4336, (Component72.localPlayer.plane), 11219, Component337.anInt3647)) - Component221.anInt1797)), -90); + return; + } + if (string.equals("renderprofile") || string.equals("rp")) { + ReliefShader.aBoolean2514 = !ReliefShader.aBoolean2514; + NodeSub8.toolkit.method3647(ReliefShader.aBoolean2514); + Component362.method1042((byte) 23); + Applet_Sub1.printConsole(("showprofiling=" + ReliefShader.aBoolean2514), 106); + return; + } + if (string.startsWith("performancetest")) { + int i_9_ = -1; + int i_10_ = 1000; + if (string.length() > 15) { + String[] strings = DefinitionSub23.splitByChar(' ', true, string); + try { + if (strings.length > 1) i_10_ = Integer.parseInt(strings[1]); + } catch (Throwable throwable) { + /* empty */ + } + try { + if (strings.length > 2) i_9_ = Integer.parseInt(strings[2]); + } catch (Throwable throwable) { + /* empty */ + } + } + if (i_9_ == -1) { + Applet_Sub1.printConsole(("Java toolkit: " + Component329.method1781(0, -85, i_10_)), i + -32); + Applet_Sub1.printConsole(("SSE toolkit: " + Component329.method1781(2, -73, i_10_)), 60); + Applet_Sub1.printConsole(("D3D toolkit: " + Component329.method1781(3, i + -24, i_10_)), i ^ ~0x11); + Applet_Sub1.printConsole(("GL toolkit: " + Component329.method1781(1, -84, i_10_)), -121); + Applet_Sub1.printConsole(("GLX toolkit: " + Component329.method1781(5, -77, i_10_)), -101); + return; + } else Applet_Sub1.printConsole(("Performance: " + Component329.method1781(i_9_, -69, i_10_)), -84); + return; + } + if (string.equals("nonpcs")) { + BasicMouseHandler.aBoolean7444 = !BasicMouseHandler.aBoolean7444; + Applet_Sub1.printConsole("nonpcs=" + (BasicMouseHandler.aBoolean7444), -120); + return; + } + if (string.equals("autoworld")) { + HashNodeSub20.method3283(127); + Applet_Sub1.printConsole("auto world selected", -59); + return; + } + if (string.startsWith("switchworld")) { + int i_11_ = Integer.parseInt(string.substring(12)); + OggUrlStream.method2972((DisplayModeManagerContainer348.method1742(false, i_11_).aString5794), i_11_, -93); + Applet_Sub1.printConsole("switched", 70); + return; + } + if (string.equals("getworld")) { + Applet_Sub1.printConsole(("w: " + (Component223.aClass161_125.anInt2143)), -120); + return; + } + if (string.startsWith("pc")) { + ParticleSystem class348_sub47 = (ParticleShader.method2148(DefinitionSub22.aClass351_9304, DisplayModeManagerContainer64.aClass77_9029, -97)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 0); + int i_12_ = (class348_sub47.aClass348_Sub49_Sub2_7116.offset); + int i_13_ = string.indexOf(" ", 4); + class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string.substring(3, i_13_)); + AbstractShaderSub4.writeHuffmanString((class348_sub47.aClass348_Sub49_Sub2_7116), i + -12, string.substring(i_13_)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeLengthByte(114, (class348_sub47.aClass348_Sub49_Sub2_7116.offset + -i_12_)); + HashNodeSub14.method3243(i ^ ~0x49, class348_sub47); + return; + } + if (string.equals("savevarcs")) { + DisplayModeManagerContainer343.saveClientPreferences(119); + Applet_Sub1.printConsole("perm varcs saved", -103); + return; + } + if (string.equals("scramblevarcs")) { + for (int i_14_ = 0; (i_14_ < DisplayModeManagerContainer123.anIntArray1303.length); i_14_++) { + if (WaterShaderProgram.aBooleanArray6270[i_14_]) { + DisplayModeManagerContainer123.anIntArray1303[i_14_] = (int) (Math.random() * 99999.0); + if (Math.random() > 0.5) DisplayModeManagerContainer123.anIntArray1303[i_14_] *= -1; + } + } + DisplayModeManagerContainer343.saveClientPreferences(-61); + Applet_Sub1.printConsole("perm varcs scrambled", -74); + return; + } + if (string.equals("showcolmap")) { + Component121.aBoolean4542 = true; + Component308.method464(-1); + Applet_Sub1.printConsole("colmap is shown", 53); + return; + } + if (string.equals("hidecolmap")) { + Component121.aBoolean4542 = false; + Component308.method464(i ^ 0x4e); + Applet_Sub1.printConsole("colmap is hidden", 61); + return; + } + if (string.equals("resetcache")) { + NodeSub18.method2938((byte) 122); + Applet_Sub1.printConsole("Caches reset", -113); + return; + } + if (string.equals("profilecpu")) { + Applet_Sub1.printConsole((Component94.benchmarkToolkitMs(-26584) + "ms"), 87); + return; + } + if (string.startsWith("getclientvarpbit")) { + int i_15_ = Integer.parseInt(string.substring(17)); + Applet_Sub1.printConsole("varpbit=" + DisplayModeManagerContainer58.aClass170_10209.method62(i_15_, i ^ 0xffb1), i + 198); + return; + } + if (string.startsWith("getclientvarp")) { + int i_16_ = Integer.parseInt(string.substring(14)); + Applet_Sub1.printConsole("varp=" + DisplayModeManagerContainer58.aClass170_10209.method61(i_16_, (byte) -16), -68); + return; + } + if (string.startsWith("directlogin")) { + String[] strings = (DefinitionSub23.splitByChar(' ', true, string.substring(12))); + if (strings.length >= 2) { + int i_17_ = (strings.length > 2 ? Integer.parseInt(strings[2]) : 0); + Component193.method1922(strings[1], i_17_, strings[0], true); + return; + } + } + if (string.startsWith("csprofileclear")) { + ClientScriptExecutor.method706(); + return; + } + if (string.startsWith("csprofileoutputc")) { + ClientScriptExecutor.method715(100, false); + return; + } + if (string.startsWith("csprofileoutputt")) { + ClientScriptExecutor.method715(10, true); + return; + } + if (string.startsWith("texsize")) { + int i_18_ = Integer.parseInt(string.substring(8)); + NodeSub8.toolkit.method3696(i_18_); + return; + } + if (string.equals("soundstreamcount")) { + Applet_Sub1.printConsole(("Active streams: " + PlayerState.aClass348_Sub16_Sub4_7065.method2887()), 84); + return; + } + if (string.equals("autosetup")) { + Component269.method2478(1000); + Applet_Sub1.printConsole(("Complete. Toolkit now: " + Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(i + -32271)), -97); + return; + } + if (string.equals("errormessage")) { + Applet_Sub1.printConsole(NpcComposition.aClient1367.method81((byte) 102), 102); + return; + } + if (string.equals("heapdump")) { + if (!ReflectionInvoker.aString3803.startsWith("win")) HeapDumpHelper.dumpHeapToFile(new File("/tmp/heap.dump"), false, false); + else HeapDumpHelper.dumpHeapToFile(new File("C:\\Temp\\heap.dump"), false, false); + Applet_Sub1.printConsole("Done", 74); + return; + } + if (string.equals("os")) { + Applet_Sub1.printConsole("Name: " + ReflectionInvoker.aString3803, 59); + Applet_Sub1.printConsole(("Arch: " + ReflectionInvoker.osArch), i ^ ~0x1); + Applet_Sub1.printConsole("Ver: " + ReflectionInvoker.osVersion, 79); + return; + } + if (string.startsWith("w2debug")) { + int i_19_ = Integer.parseInt(string.substring(8, 9)); + Component171.anInt10096 = i_19_; + NodeSub20.method2953((byte) -103); + Applet_Sub1.printConsole("Toggled!", -99); + return; + } + if (string.startsWith("ortho ")) { + int i_20_ = string.indexOf(' '); + if (i_20_ < 0) Applet_Sub1.printConsole("Syntax: ortho ", 66); + else { + int i_21_ = (NodeSub41.parseInt(true, string.substring(1 + i_20_))); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub3_7222), i_21_); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + HashNodeSub3.method3179(i + 79); + if (Component192.aClass348_Sub51_3959.aClass239_Sub3_7222.method1727(-32350) == i_21_) { + Applet_Sub1.printConsole("Successfully changed ortho mode", -82); + return; + } else Applet_Sub1.printConsole("Failed to change ortho mode", -112); + return; + } + return; + } + if (string.startsWith("orthozoom ")) { + if (Component192.aClass348_Sub51_3959.aClass239_Sub3_7222.method1727(i + -32271) == 0) Applet_Sub1.printConsole("enable ortho mode first (use 'ortho ')", i + 182); + else { + int i_22_ = (NodeSub41.parseInt(true, string.substring(string.indexOf(' ') - -1))); + Component72.anInt1911 = i_22_; + Applet_Sub1.printConsole(("orthozoom=" + Component72.anInt1911), 68); + return; + } + return; + } + if (string.startsWith("orthotilesize ")) { + int i_23_ = (NodeSub41.parseInt(true, string.substring(1 + string.indexOf(' ')))); + Component134.anInt5812 = CacheStore.anInt666 = i_23_; + Applet_Sub1.printConsole("ortho tile size=" + i_23_, -70); + HashNodeSub3.method3179(0); + return; + } + if (string.equals("orthocamlock")) { + Component182.aBoolean9746 = !Component182.aBoolean9746; + Applet_Sub1.printConsole(("ortho camera lock is " + (!(Component182.aBoolean9746) ? "off" : "on")), -92); + return; + } + if (string.startsWith("setoutput ")) { + File file = new File(string.substring(10)); + if (file.exists()) { + file = new File(string.substring(10) + "." + Component240.currentTimeMillis(-76) + ".log"); + if (file.exists()) { + Applet_Sub1.printConsole("file already exists!", 80); + return; + } + } + if (Component40.consoleLogStream != null) { + Component40.consoleLogStream.close(); + Component40.consoleLogStream = null; + } + try { + Component40.consoleLogStream = new FileOutputStream(file); + } catch (java.io.FileNotFoundException filenotfoundexception) { + Applet_Sub1.printConsole(("Could not create " + file.getName()), 81); + } catch (SecurityException securityexception) { + Applet_Sub1.printConsole(("Cannot write to " + file.getName()), i ^ ~0x22); + } + return; + } + if (string.equals("closeoutput")) { + if (Component40.consoleLogStream != null) Component40.consoleLogStream.close(); + Component40.consoleLogStream = null; + return; + } + if (string.startsWith("runscript ")) { + File file = new File(string.substring(10)); + if (!file.exists()) { + Applet_Sub1.printConsole("No such file", 120); + return; + } + byte[] is = ColoredText.method1821(i ^ 0x41, file); + if (is == null) { + Applet_Sub1.printConsole("Failed to read file", 119); + return; + } + String[] strings = (DefinitionSub23.splitByChar('\n', true, (DisplayModeManagerContainer1.replaceChar(Component66.method1795(is, true), (byte) -89, '\r', "")))); + PauseHandler.runConsoleCommands(0, strings); + } + if (string.startsWith("zoom ")) { + short i_24_ = (short) (NodeSub41.parseInt(true, string.substring(5))); + if (i_24_ > 0) Component233.aShort3992 = i_24_; + return; + } + if (string.startsWith("fps ") && (DisplayModeManagerContainer345.aClass364_165 != Component326.LIVE)) { + DisplayModeManagerContainer61.method2222((NodeSub41.parseInt(true, string.substring(4))), (byte) -124); + return; + } + } catch (Exception exception) { + Applet_Sub1.printConsole(FriendsIgnoreList.aClass274_3485.getLocalized(ObjectDeserializer.languageId, 544), -92); + return; + } + } + if (Component49.clientState == 10) { + Component102.anInt4799++; + ParticleSystem class348_sub47 = ParticleShader.method2148((MatrixSub2.aClass351_5699), (DisplayModeManagerContainer64.aClass77_9029), i ^ 0x24); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, string.length() + 3); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, bool ? 1 : 0); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, bool_0_ ? 1 : 0); + class348_sub47.aClass348_Sub49_Sub2_7116.writeString((byte) -5, string); + HashNodeSub14.method3243(120, class348_sub47); + } + if (Component49.clientState == 10) { + return; + } + Applet_Sub1.printConsole(FriendsIgnoreList.aClass274_3486.getLocalized(ObjectDeserializer.languageId, 544) + string, 57); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("lba.B(" + (string != null ? "{...}" : "null") + ',' + bool + ',' + bool_0_ + ',' + i + ')')); + } + } + + /** Floor decoration ({@code aClass318_Sub1_Sub4_4403}) on tile (level,x,z), or null. */ + static final Component269 getFloorDecoration(int i, int i_25_, int i_26_) { + Component186 class357 = Component335.aClass357ArrayArrayArray2029[i][i_25_][i_26_]; + if (class357 == null) return null; + return class357.aClass318_Sub1_Sub4_4403; + } + + /** + * Orbit/free camera tick: lerp focus toward orbit target and apply yaw/pitch rates. + * Used when {@link DefinitionSub21#cameraMode} == 4. + */ + static final void updateOrbitCamera(byte i, long l) { + try { + anInt1438++; + int i_27_ = NodederUtil.anInt6633; + if (i > 106) { + if (DisplayModeManagerContainer273.cameraFocusX != i_27_) { + int i_28_ = i_27_ - DisplayModeManagerContainer273.cameraFocusX; + int i_29_ = (int) ((long) i_28_ * l / 320L); + if (i_28_ <= 0) { + if (i_29_ != 0) { + if (i_29_ < i_28_) i_29_ = i_28_; + } else i_29_ = -1; + } else if (i_29_ == 0) i_29_ = 1; + else if (i_28_ < i_29_) i_29_ = i_28_; + DisplayModeManagerContainer273.cameraFocusX += i_29_; + } + int i_30_ = NodeSub7.anInt6652; + DisplayModeManagerContainer154.cameraPitch += NodeSub27.cameraPitchRate * (float) l / 40.0F * 8.0F; + Component112.cameraYaw += Component275.cameraYawRate * (float) l / 40.0F * 8.0F; + if (Component353.cameraFocusZ != i_30_) { + int i_31_ = -Component353.cameraFocusZ + i_30_; + int i_32_ = (int) (l * (long) i_31_ / 320L); + if (i_31_ <= 0) { + if (i_32_ == 0) i_32_ = -1; + else if (i_32_ < i_31_) i_32_ = i_31_; + } else if (i_32_ != 0) { + if (i_31_ < i_32_) i_32_ = i_31_; + } else i_32_ = 1; + Component353.cameraFocusZ += i_32_; + } + DisplayModeManagerContainer199.clampCameraAngles(262144); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "lba.A(" + i + ',' + l + ')'); + } + } + + CommandHandler(GameType class230, int i, CacheStore class45) { + new NodeCache(64); + try { + aClass45_1436 = class45; + this.anInt1439 = aClass45_1436.getFileCount(0, 15); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("lba.(" + (class230 != null ? "{...}" : "null") + ',' + i + ',' + (class45 != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/src/CursorManager.java b/client/src/CursorManager.java new file mode 100644 index 000000000..b8e6b98d0 --- /dev/null +++ b/client/src/CursorManager.java @@ -0,0 +1,49 @@ +/* CursorManager - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class165` (JODE-obfuscated). + * Custom cursor manager. Builds BufferedImage-based cursors (setBlankCursor/1282) and installs them on a Component via createCustomCursor; also a blank 1x1 cursor. + */ + +import java.awt.*; +import java.awt.image.BufferedImage; + +final class CursorManager { + /** AWT {@link Robot} for {@link #setCursorPos}. */ + private final Robot robot; + /** Component currently showing the 1×1 blank cursor, or null. */ + private Component blankCursorTarget; + + final void setCursorPos(int i, int i_0_) { + robot.mouseMove(i, i_0_); + } + + final void setBlankCursor(Component component, boolean bool) { + if (bool) component = null; + else if (component == null) throw new NullPointerException(); + if (component != blankCursorTarget) { + if (null != blankCursorTarget) { + blankCursorTarget.setCursor(null); + blankCursorTarget = null; + } + if (null != component) { + component.setCursor(component.getToolkit().createCustomCursor(new BufferedImage(1, 1, 2), new Point(0, 0), null)); + blankCursorTarget = component; + } + } + } + + final void setCustomCursor(Component component, int[] is, int i, int i_1_, Point point) { + if (is != null) { + BufferedImage bufferedimage = new BufferedImage(i, i_1_, 2); + bufferedimage.setRGB(0, 0, i, i_1_, is, 0, i); + component.setCursor(component.getToolkit().createCustomCursor(bufferedimage, point, null)); + } else component.setCursor(null); + } + + CursorManager() throws Exception { + robot = new Robot(); + } +} diff --git a/client/src/DebugOverlay.java b/client/src/DebugOverlay.java new file mode 100644 index 000000000..13bae1bef --- /dev/null +++ b/client/src/DebugOverlay.java @@ -0,0 +1,79 @@ +/* DebugOverlay - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class245` (JODE-obfuscated). + * On-screen debug/diagnostics overlay. Draws render-stats text via GraphicsToolkit ('Total Opaque Onscreen', 'Occluders', 'Occluded', 'Occlude Calc Took'); also provides Renderable scene-graph linking (linkRenderable). + */ + +final class DebugOverlay { + private static int[] anIntArray3169 = new int[3]; + static int anInt3170; + static int anInt3171; + static float aFloat3172; + + public static void clear(int i) { + if (i != 25365) anInt3170 = 100; + anIntArray3169 = null; + } + + static final void linkRenderable(Renderable class318, Renderable class318_0_, boolean bool) { + try { + anInt3171++; + if (class318_0_.previous != null) class318_0_.unlink(false); + class318_0_.next = class318; + if (bool != true) anIntArray3169 = null; + class318_0_.previous = class318.previous; + class318_0_.previous.next = class318_0_; + class318_0_.next.previous = class318_0_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("te.B(" + (class318 != null ? "{...}" : "null") + ',' + (class318_0_ != null ? "{...}" : "null") + ',' + bool + ')')); + } + } + + static final void drawStats() { + int i = 10; + int i_1_ = 30; + if (NodeSub18.anInt6818 != 0 && Component149.debugOverlayFont != null) { + JaclibLoader.toolkit.K(DefinitionSub10.anIntArray9183); + for (int i_2_ = 0; i_2_ < DisplayModeManagerContainer167.anIntArray256.length; i_2_++) + JaclibLoader.toolkit.method3660((DisplayModeManagerContainer167.anIntArray256[i_2_] + Component35.anIntArray4271[i_2_]), -256, (DefinitionSub10.anIntArray9183[3] - DefinitionSub10.anIntArray9183[1]), DefinitionSub10.anIntArray9183[1], true); + for (int i_3_ = 0; i_3_ < HashNodeSub10.activeOccluderCount; i_3_++) { + Component103 class338 = HashNodeSub19.aClass338Array9700[i_3_]; + JaclibLoader.toolkit.H(class338.anIntArray4187[0], class338.anIntArray4191[0], class338.anIntArray4184[0], DisplayModeManagerContainer249.anIntArray4670); + JaclibLoader.toolkit.H(class338.anIntArray4187[1], class338.anIntArray4191[1], class338.anIntArray4184[1], Component354.anIntArray222); + JaclibLoader.toolkit.H(class338.anIntArray4187[2], class338.anIntArray4191[2], class338.anIntArray4184[2], anIntArray3169); + JaclibLoader.toolkit.H(class338.anIntArray4187[3], class338.anIntArray4191[3], class338.anIntArray4184[3], DisplayModeManagerContainer153.anIntArray1574); + if (DisplayModeManagerContainer249.anIntArray4670[2] != -1 && Component354.anIntArray222[2] != -1 && anIntArray3169[2] != -1 && DisplayModeManagerContainer153.anIntArray1574[2] != -1) { + int i_4_ = -65536; + if (class338.aByte4192 == 4) i_4_ = -16776961; + JaclibLoader.toolkit.method3645(DisplayModeManagerContainer249.anIntArray4670[1], DisplayModeManagerContainer249.anIntArray4670[0], Component354.anIntArray222[0], -8003, i_4_, Component354.anIntArray222[1]); + JaclibLoader.toolkit.method3645(Component354.anIntArray222[1], Component354.anIntArray222[0], anIntArray3169[0], -8003, i_4_, anIntArray3169[1]); + JaclibLoader.toolkit.method3645(anIntArray3169[1], anIntArray3169[0], DisplayModeManagerContainer153.anIntArray1574[0], -8003, i_4_, DisplayModeManagerContainer153.anIntArray1574[1]); + JaclibLoader.toolkit.method3645(DisplayModeManagerContainer153.anIntArray1574[1], DisplayModeManagerContainer153.anIntArray1574[0], DisplayModeManagerContainer249.anIntArray4670[0], -8003, i_4_, DisplayModeManagerContainer249.anIntArray4670[1]); + JaclibLoader.toolkit.method3645(DisplayModeManagerContainer249.anIntArray4670[1], DisplayModeManagerContainer249.anIntArray4670[0], anIntArray3169[0], -8003, i_4_, anIntArray3169[1]); + } + } + Component149.debugOverlayFont.drawText(("Dynamic: " + Component328.dynamicOnscreenCount + "/" + 5000), -256, i_1_ + 45, i, -16777216, -120); + Component149.debugOverlayFont.drawText(("Total Opaque Onscreen: " + Component305.opaqueOnscreenCount + "/" + 10000), -256, i_1_ + 60, i, -16777216, -124); + Component149.debugOverlayFont.drawText(("Total Trans Onscreen: " + HashNodeSub3.translucentOnscreenCount + "/" + 5000), -256, i_1_ + 75, i, -16777216, -111); + Component149.debugOverlayFont.drawText(("Occluders: " + (RadixText.occluderCountA + Component325.occluderCountB) + " Active: " + (HashNodeSub10.activeOccluderCount)), -256, i_1_ + 90, i, -16777216, -111); + Component149.debugOverlayFont.drawText(("Occluded: Ground:" + DisplayModeManagerContainer64.occludedGroundCount + " Walls: " + Component274.occludedWallCount + " CPs: " + DefinitionSub4.occludedCpCount + " Pixels: " + Component241.occludedPixelCount), -256, i_1_ + 105, i, -16777216, -115); + Component149.debugOverlayFont.drawText(("Occlude Calc Took: " + (WaterShaderProgram.occludeCalcNanos / 1000L) + "us"), -256, i_1_ + 120, i, -16777216, -123); + if (NodeSub18.anInt6818 == 2 && DisplayModeManagerContainer194.anIntArray5091 != null) { + for (int i_5_ = 0; i_5_ < DisplayModeManagerContainer194.anIntArray5091.length; i_5_++) { + float f = (float) DisplayModeManagerContainer194.anIntArray5091[i_5_]; + f /= 4194304.0F; + if (f > 1.0F) f = 1.0F; + f *= 255.0F; + f = 255.0F - f; + int i_6_ = (int) f; + DisplayModeManagerContainer194.anIntArray5091[i_5_] = i_6_ | i_6_ << 8 | i_6_ << 16 | ~0xffffff; + } + Component24 class105 = JaclibLoader.toolkit.method3662(Component314.anInt3872, DisplayModeManagerContainer194.anIntArray5091, (byte) 94, 0, Component314.anInt3872, Component328.anInt1480); + class105.method964(i, 170, 1, 0, 0); + } + } + } +} diff --git a/client/src/DebugPanic.java b/client/src/DebugPanic.java new file mode 100644 index 000000000..1defeefaa --- /dev/null +++ b/client/src/DebugPanic.java @@ -0,0 +1,184 @@ +/* DebugPanic - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class285` (JODE-obfuscated). + * Debug panic/assertion helper. Emits 'ARGH!' when an unrecoverable internal error or failed assertion occurs; used as a last-resort trap across the client. + */ + +import jaclib.memory.Buffer; +import jaclib.memory.Source; +import jaclib.memory.heap.NativeHeapBuffer; +import jaggl.MapBuffer; +import jaggl.OpenGL; + +abstract class DebugPanic implements Interface5 { + static int anInt4735; + private int anInt4736 = 0; + static int anInt4737; + static int anInt4738; + private int anInt4739; + static int anInt4740; + static boolean aBoolean4741 = false; + static int anInt4742; + static BrowserUrlOpener aClass348_Sub16_Sub3_4743; + /** Friend world activity / host strings when online. */ + static String[] friendWorldNames = new String[200]; + static int anInt4745; + private int anInt4746 = -1; + private int anInt4747; + private NativeHeapBuffer aNativeHeapBuffer4748; + static int anInt4749; + private final boolean aBoolean4750; + static int anInt4751; + static int anInt4752; + static int anInt4753 = 0; + static FontGlyphCache aClass323_4754; + private final int anInt4755; + static int anInt4756; + static int anInt4757; + static int anInt4758; + GlExtensionManager aClass377_4759; + + static final float method2119(float f, int i, float f_0_, int i_1_, float f_2_) { + anInt4738++; + if (i_1_ >= -59) method2119(1.299765F, 45, -0.43444797F, -35, 0.059617087F); + float[] fs = Component244.aFloatArrayArray4174[i]; + return fs[1] * f + f_2_ * fs[0] + fs[2] * f_0_; + } + + final Buffer method2120(int i, MapBuffer mapbuffer, boolean bool) { + anInt4756++; + if (i != 0) this.aClass377_4759 = null; + if (anInt4736 == 0) { + method2126((byte) -36); + if (anInt4746 <= 0) { + anInt4736 = 2; + return aNativeHeapBuffer4748; + } + OpenGL.glBindBufferARB(anInt4755, anInt4746); + if (bool) { + OpenGL.glBufferDataARBub(anInt4755, anInt4739, null, 0, aBoolean4750 ? 35040 : 35044); + if (anInt4747 <= (this.aClass377_4759.aNativeHeapBuffer7974.b)) { + anInt4736 = 1; + return (this.aClass377_4759.aNativeHeapBuffer7974); + } + } + if (!mapbuffer.a() && mapbuffer.a(anInt4755, anInt4747, 35001)) { + anInt4736 = 2; + return mapbuffer; + } + } + return null; + } + + final boolean method2121(int i, Source source, int i_3_) { + anInt4745++; + if (i != 25625) method2126((byte) -74); + if (i_3_ > anInt4739) { + method2126((byte) -36); + if (anInt4746 <= 0) throw new RuntimeException("ARGH!"); + OpenGL.glBindBufferARB(anInt4755, anInt4746); + OpenGL.glBufferDataARBa(anInt4755, i_3_, source.getAddress(), !aBoolean4750 ? 35044 : 35040); + this.aClass377_4759.anInt8063 += i_3_ - anInt4747; + anInt4739 = i_3_; + } else if (anInt4746 > 0) { + OpenGL.glBindBufferARB(anInt4755, anInt4746); + OpenGL.glBufferSubDataARBa(anInt4755, 0, anInt4747, source.getAddress()); + this.aClass377_4759.anInt8063 += i_3_ - anInt4747; + } else throw new RuntimeException("ARGH!"); + anInt4747 = i_3_; + return true; + } + + void method21(int i) { + if (i != 23315) aClass323_4754 = null; + anInt4749++; + if (anInt4746 > 0) { + this.aClass377_4759.method3969(anInt4747, anInt4746, 3089); + anInt4746 = -1; + } + } + + final long method2122(int i) { + anInt4758++; + if (i != 27819) return 59L; + if (anInt4746 == 0) return aNativeHeapBuffer4748.getAddress(); + return 0L; + } + + final boolean method2123(MapBuffer mapbuffer, int i) { + anInt4735++; + boolean bool = true; + if (i != anInt4736) { + if (anInt4746 > 0) { + OpenGL.glBindBufferARB(anInt4755, anInt4746); + if (anInt4736 != 1) bool = mapbuffer.b(); + else OpenGL.glBufferSubDataARBa(anInt4755, 0, anInt4739, this.aClass377_4759.aNativeHeapBuffer7974.getAddress()); + } + anInt4736 = 0; + } + return bool; + } + + public static void method2124(int i) { + aClass348_Sub16_Sub3_4743 = null; + aClass323_4754 = null; + friendWorldNames = null; + if (i != 0) method2119(-1.1717526F, -45, -2.0738192F, 18, -0.4863547F); + } + + void method23(int i, int i_4_) { + anInt4752++; + if (i_4_ > anInt4739) { + method2126((byte) -36); + if (anInt4746 <= 0) aNativeHeapBuffer4748 = this.aClass377_4759.method3869((byte) 47, false, i_4_); + else { + OpenGL.glBindBufferARB(anInt4755, anInt4746); + OpenGL.glBufferDataARBub(anInt4755, i_4_, null, 0, !aBoolean4750 ? 35044 : 35040); + this.aClass377_4759.anInt8063 += i_4_ - anInt4739; + } + anInt4739 = i_4_; + } + anInt4747 = i_4_; + if (i != 15959) friendWorldNames = null; + } + + final void method2125(int i) { + anInt4742++; + if (i == 0) { + if (this.aClass377_4759.aBoolean9920) OpenGL.glBindBufferARB(anInt4755, anInt4746); + } + } + + public int method16(boolean bool) { + anInt4740++; + if (bool != false) method2122(127); + return anInt4747; + } + + protected final void finalize() throws Throwable { + anInt4751++; + method21(23315); + super.finalize(); + } + + private final void method2126(byte i) { + anInt4757++; + if (i != -36) anInt4736 = -3; + if (anInt4746 < 0) { + if (this.aClass377_4759.aBoolean9920) { + OpenGL.glGenBuffersARB(1, Component92.anIntArray3311, 0); + anInt4746 = Component92.anIntArray3311[0]; + OpenGL.glBindBufferARB(anInt4755, anInt4746); + } else anInt4746 = 0; + } + } + + DebugPanic(GlExtensionManager class377, int i, boolean bool) { + this.aClass377_4759 = class377; + anInt4755 = i; + aBoolean4750 = bool; + } +} diff --git a/client/src/DebugPanicSub1.java b/client/src/DebugPanicSub1.java new file mode 100644 index 000000000..cc0b22933 --- /dev/null +++ b/client/src/DebugPanicSub1.java @@ -0,0 +1,146 @@ +/* DebugPanicSub1 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaclib.memory.Source; + +final class DebugPanicSub1 +/** + * RENAMED from `Class285_Sub1` + * Evidence: subclass of DebugPanic (hierarchy) + */ extends DebugPanic implements Interface5_Impl1 { + static int anInt8483; + static int anInt8484; + static int anInt8485; + static int anInt8486; + static int anInt8487; + static int anInt8488; + static int anInt8489; + static int anInt8490; + private byte aByte8491; + static int anInt8492 = 0; + static int anInt8493; + static int anInt8494; + static int anInt8495; + + static final String method2127(int i, String string) { + if (i != 2) return null; + anInt8483++; + if (string == null) return null; + int i_0_ = 0; + int i_1_; + for (i_1_ = string.length(); i_1_ > i_0_; i_0_++) { + if (!AssetCacheLoader.method311((byte) 113, string.charAt(i_0_))) break; + } + for (/**/; (i_0_ < i_1_ && AssetCacheLoader.method311((byte) 104, string.charAt(i_1_ + -1))); i_1_--) { + /* empty */ + } + int i_2_ = i_1_ + -i_0_; + if (i_2_ < 1 || i_2_ > 12) return null; + StringBuffer stringbuffer = new StringBuffer(i_2_); + for (int i_3_ = i_0_; i_1_ > i_3_; i_3_++) { + char c = string.charAt(i_3_); + if (Component284.method1849(c, i + 108)) { + char c_4_ = DisplayModeManagerContainer260.method2184(c, -10072); + if (c_4_ != 0) stringbuffer.append(c_4_); + } + } + if (stringbuffer.length() == 0) return null; + return stringbuffer.toString(); + } + + static final DummyClass method2128(int i, Buffer class348_sub49) { + anInt8495++; + Component76 class369_sub3 = NodeSub46.method3322(0, class348_sub49); + int i_5_ = class348_sub49.readShort(13638); + return (new DummyClass(class369_sub3.aClass221_4968, class369_sub3.aClass341_4973, class369_sub3.anInt4970, class369_sub3.anInt4959, class369_sub3.anInt4971, class369_sub3.anInt4963, class369_sub3.anInt4966, class369_sub3.anInt4965, class369_sub3.anInt4961, class369_sub3.anInt8599, class369_sub3.anInt8595, class369_sub3.anInt8603, class369_sub3.anInt8602, class369_sub3.anInt8600, class369_sub3.anInt8597, i_5_)); + } + + static final void method2129(byte i) { + anInt8494++; + Component158.aHa326.method3638(r.aClass101_9720); + if (i < 9) anInt8492 = -40; + Component158.aHa326.DA(Component253.anInt3202, DisplayModeManagerContainer348.anInt5886, DisplayModeManagerContainer288.anInt8630, DisplayModeManagerContainer91.anInt394); + } + + public final void method21(int i) { + super.method21(i); + anInt8485++; + } + + public final boolean method18(int i) { + if (i != 6331) anInt8492 = -14; + anInt8489++; + return super.method2123((this.aClass377_4759.aMapBuffer9915), i ^ 0x18bb); + } + + final int method2130(int i) { + if (i != 3545) return -18; + anInt8487++; + return aByte8491; + } + + public final jaclib.memory.Buffer method19(boolean bool, int i) { + anInt8490++; + if (i != 26775) aByte8491 = (byte) 7; + return super.method2120(0, (this.aClass377_4759.aMapBuffer9915), bool); + } + + public final int method16(boolean bool) { + anInt8486++; + if (bool != false) method18(-20); + return super.method16(bool); + } + + public final boolean method17(Source source, int i, int i_6_, byte i_7_) { + anInt8484++; + aByte8491 = (byte) i; + if (i_7_ >= -15) aByte8491 = (byte) 62; + super.method2121(25625, source, i_6_); + return true; + } + + DebugPanicSub1(GlExtensionManager class377, boolean bool) { + super(class377, 34962, bool); + } + + public final boolean method20(int i, byte i_8_, int i_9_) { + anInt8488++; + aByte8491 = (byte) i_9_; + super.method23(15959, i); + if (i_8_ <= 122) method18(-86); + return true; + } + + static final void method2131(int i) { + if (i == 0) { + if (Npc.anInt10503 == 2) { + LoggedOutDefinition.aClass293Array9432[0].method2206(Component144.aClass315Array3982[0]); + LoggedOutDefinition.aClass293Array9432[1].method2206(Component144.aClass315Array3982[1]); + } else if (Npc.anInt10503 == 3) { + LoggedOutDefinition.aClass293Array9432[0].method2206(Component144.aClass315Array3982[0]); + LoggedOutDefinition.aClass293Array9432[1].method2206(Component144.aClass315Array3982[1]); + LoggedOutDefinition.aClass293Array9432[2].method2206(Component144.aClass315Array3982[2]); + } else { + LoggedOutDefinition.aClass293Array9432[0].method2206(Component144.aClass315Array3982[0]); + LoggedOutDefinition.aClass293Array9432[1].method2206(Component144.aClass315Array3982[1]); + LoggedOutDefinition.aClass293Array9432[2].method2206(Component144.aClass315Array3982[2]); + LoggedOutDefinition.aClass293Array9432[3].method2206(Component144.aClass315Array3982[3]); + } + } else if (i == 1) { + if (Npc.anInt10503 == 2) LoggedOutDefinition.aClass293Array9432[0].method2206(Component144.aClass315Array3982[2]); + else if (Npc.anInt10503 == 3) { + LoggedOutDefinition.aClass293Array9432[0].method2206(Component144.aClass315Array3982[3]); + LoggedOutDefinition.aClass293Array9432[1].method2206(Component144.aClass315Array3982[4]); + } else { + LoggedOutDefinition.aClass293Array9432[0].method2206(Component144.aClass315Array3982[4]); + LoggedOutDefinition.aClass293Array9432[1].method2206(Component144.aClass315Array3982[5]); + LoggedOutDefinition.aClass293Array9432[2].method2206(Component144.aClass315Array3982[6]); + } + } else if (i == 2) { + if (Npc.anInt10503 == 2) LoggedOutDefinition.aClass293Array9432[0].method2206(Component144.aClass315Array3982[3]); + else if (Npc.anInt10503 == 3) LoggedOutDefinition.aClass293Array9432[0].method2206(Component144.aClass315Array3982[5]); + else LoggedOutDefinition.aClass293Array9432[0].method2206(Component144.aClass315Array3982[7]); + } + } +} diff --git a/client/src/DebugPanicSub2.java b/client/src/DebugPanicSub2.java new file mode 100644 index 000000000..3ec31baab --- /dev/null +++ b/client/src/DebugPanicSub2.java @@ -0,0 +1,76 @@ +/* DebugPanicSub2 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaclib.memory.Buffer; + +final class DebugPanicSub2 +/** + * RENAMED from `Class285_Sub2` + * Evidence: subclass of DebugPanic (hierarchy) + */ extends DebugPanic implements Interface5_Impl2 { + static int anInt8496; + static int anInt8497; + static int anInt8498; + static int anInt8499; + static int anInt8500; + static int anInt8501; + static int anInt8502; + static DisplayModeManagerContainer88 aClass70_8503 = new DisplayModeManagerContainer88(); + private final Component342 aClass68_8504; + static byte[][] aByteArrayArray8505 = new byte[50][]; + static int anInt8506; + static int[] anIntArray8507 = {0, 0, 0, 0, 0, 0, 0, 0, 85, 80, 84, 0, 91, 0, 0, 0, 81, 82, 86, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 0, 0, 83, 104, 105, 103, 102, 96, 98, 97, 99, 0, 0, 0, 0, 0, 0, 0, 25, 16, 17, 18, 19, 20, 21, 22, 23, 24, 0, 0, 0, 0, 0, 0, 0, 48, 68, 66, 50, 34, 51, 52, 53, 39, 54, 55, 56, 70, 69, 40, 41, 32, 35, 49, 36, 38, 67, 33, 65, 37, 64, 0, 0, 0, 0, 0, 228, 231, 227, 233, 224, 219, 225, 230, 226, 232, 89, 87, 0, 88, 229, 90, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 0, 0, 0, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; + + public final void method23(int i, int i_0_) { + super.method23(i, i_0_ * aClass68_8504.anInt1178); + anInt8499++; + } + + public static void method2132(int i) { + aClass70_8503 = null; + if (i >= -8) anInt8498 = -77; + anIntArray8507 = null; + aByteArrayArray8505 = null; + } + + public final Buffer method24(boolean bool, boolean bool_1_) { + if (bool_1_ != false) aClass70_8503 = null; + anInt8500++; + return super.method2120(0, (this.aClass377_4759.aMapBuffer9913), bool); + } + + public final int method16(boolean bool) { + anInt8497++; + if (bool != false) method16(true); + return super.method16(false); + } + + public final boolean method22(int i) { + anInt8501++; + if (i != -23) return false; + return super.method2123((this.aClass377_4759.aMapBuffer9913), 0); + } + + public final Component342 method25(byte i) { + anInt8506++; + if (i <= 19) aClass70_8503 = null; + return aClass68_8504; + } + + public final void method21(int i) { + if (i == 23315) { + anInt8496++; + super.method21(i); + } + } + + DebugPanicSub2(GlExtensionManager class377, Component342 class68, boolean bool) { + super(class377, 34963, bool); + try { + aClass68_8504 = class68; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("mw.(" + (class377 != null ? "{...}" : "null") + ',' + (class68 != null ? "{...}" : "null") + ',' + bool + ')')); + } + } +} diff --git a/client/src/DirectDrawCursor.java b/client/src/DirectDrawCursor.java new file mode 100644 index 000000000..c4012bba3 --- /dev/null +++ b/client/src/DirectDrawCursor.java @@ -0,0 +1,81 @@ +/* DirectDrawCursor - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import com.ms.awt.WComponentPeer; +import com.ms.dll.Callback; +import com.ms.dll.Root; +import com.ms.win32.User32; + +import java.awt.*; + +/** + * Microsoft Win32 cursor callback for the DirectDraw path. + * Mirrors {@link CursorManager} setCursorPos / setBlankCursor. + */ +final class DirectDrawCursor extends Callback { + /** When false, force a null cursor (blank). */ + private volatile boolean cursorVisible = true; + private volatile int trackedHwnd; + private int arrowCursor; + private volatile int anInt7463; + private boolean callbackAllocated; + + /** {@link User32#SetCursorPos}. */ + final void setCursorPos(int i, byte i_0_, int i_1_) { + if (i_0_ >= 65) User32.SetCursorPos(i, i_1_); + } + + /** Install/remove blank cursor for {@code component}'s top HWND. */ + final void setBlankCursor(boolean bool, int i, Component component) { + WComponentPeer wcomponentpeer = (WComponentPeer) component.getPeer(); + int i_2_ = wcomponentpeer.getTopHwnd(); + if (i_2_ != trackedHwnd || !bool == cursorVisible) { + if (i != 13259) setBlankCursor(true, -90, null); + if (!callbackAllocated) { + arrowCursor = User32.LoadCursor(0, 32512); + Root.alloc(this); + callbackAllocated = true; + } + if (trackedHwnd != i_2_) { + if (trackedHwnd != 0) { + cursorVisible = true; + User32.SendMessage(i_2_, 101024, 0, 0); + synchronized (this) { + User32.SetWindowLong(trackedHwnd, -4, anInt7463); + } + } + synchronized (this) { + trackedHwnd = i_2_; + anInt7463 = User32.SetWindowLong(trackedHwnd, -4, (Object) this); + } + } + cursorVisible = bool; + User32.SendMessage(i_2_, 101024, 0, 0); + } + } + + /** Win32 window proc: handle SETCURSOR / custom blank-cursor messages. */ + final synchronized int windowProc(int i, int i_3_, int i_4_, int i_5_) { + if (i != trackedHwnd) { + int i_6_ = User32.GetWindowLong(i, -4); + return User32.CallWindowProc(i_6_, i, i_3_, i_4_, i_5_); + } + if (i_3_ == 32) { + int i_7_ = 0xffff & i_5_; + if (i_7_ == 1) { + User32.SetCursor(cursorVisible ? arrowCursor : 0); + return 0; + } + } + if (i_3_ == 101024) { + User32.SetCursor(!cursorVisible ? 0 : arrowCursor); + return 0; + } + if (i_3_ == 1) { + trackedHwnd = 0; + cursorVisible = true; + } + return User32.CallWindowProc(anInt7463, i, i_3_, i_4_, i_5_); + } +} diff --git a/client/src/DummyClass.java b/client/src/DummyClass.java new file mode 100644 index 000000000..c194b3712 --- /dev/null +++ b/client/src/DummyClass.java @@ -0,0 +1,119 @@ +/* DummyClass - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class369_Sub3_Sub1` (JODE-obfuscated). + * Placeholder/dummy class. Marked 'dummy'; a no-op stub used where a class reference is required but no behaviour is implemented. + */ + +import java.awt.event.ActionEvent; + +final class DummyClass extends Component76 { + static int anInt10173; + static boolean aBoolean10174 = true; + static int anInt10175; + static int anInt10176; + int anInt10177; + static int anInt10178; + + static final void method3575(byte i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_) { + if (i_3_ <= PauseTimer.anInt513 && i_2_ >= Component72.anInt1910) { + boolean bool; + if (Component27.anInt4960 <= i_4_) { + if (i_4_ <= Component22.anInt1745) bool = true; + else { + bool = false; + i_4_ = Component22.anInt1745; + } + } else { + i_4_ = Component27.anInt4960; + bool = false; + } + boolean bool_5_; + if (Component27.anInt4960 > i_0_) { + i_0_ = Component27.anInt4960; + bool_5_ = false; + } else if (Component22.anInt1745 < i_0_) { + i_0_ = Component22.anInt1745; + bool_5_ = false; + } else bool_5_ = true; + if (i_3_ < Component72.anInt1910) i_3_ = Component72.anInt1910; + else MenuOpener.fillInts(-27, i_0_, DisplayModeManagerContainer167.anIntArrayArray255[i_3_++], i_4_, i_1_); + if (PauseTimer.anInt513 >= i_2_) MenuOpener.fillInts(-27, i_0_, DisplayModeManagerContainer167.anIntArrayArray255[i_2_--], i_4_, i_1_); + else i_2_ = PauseTimer.anInt513; + if (!bool || !bool_5_) { + if (bool) { + for (int i_7_ = i_3_; i_7_ <= i_2_; i_7_++) + DisplayModeManagerContainer167.anIntArrayArray255[i_7_][i_4_] = i_1_; + } else if (bool_5_) { + for (int i_6_ = i_3_; i_6_ <= i_2_; i_6_++) + DisplayModeManagerContainer167.anIntArrayArray255[i_6_][i_0_] = i_1_; + } + } else { + for (int i_8_ = i_3_; i_2_ >= i_8_; i_8_++) { + int[] is = DisplayModeManagerContainer167.anIntArrayArray255[i_8_]; + is[i_4_] = is[i_0_] = i_1_; + } + } + } + if (i <= 57) pulseAwtQueue((byte) -97, null, null); + anInt10173++; + } + + static boolean method3576(boolean bool, boolean bool_9_) { + return bool | bool_9_; + } + + public final DisplayModeManagerContainer369 method51(byte i) { + anInt10175++; + if (i < 116) this.anInt10177 = -10; + return Component38.aClass223_2507; + } + + static final Component24 method3577(int i, byte i_10_, CacheStore class45) { + anInt10176++; + Component24 class105 = (Component24) Component35.aClass60_4273.get(i, -68); + int i_11_ = -86 / ((55 - i_10_) / 51); + if (class105 == null) { + if (ShaderProgramSub7.aBoolean6289) class105 = NodeSub8.toolkit.method3691(Component170.method1512(class45, i), true); + else class105 = GlTexture.method1969(class45.getSingletonFile((byte) 73, i), -5901); + Component35.aClass60_4273.putOne(class105, i, (byte) -108); + } + return class105; + } + + /** Drain up to 50 pending AWT events (optionally post a dummy ActionEvent). */ + static final void pulseAwtQueue(byte i, Object object, ReflectionInvoker class297) { + do { + try { + anInt10178++; + if (class297.eventQueue != null) { + int i_12_ = 0; + if (i != -42) pulseAwtQueue((byte) 95, null, null); + for (/**/; i_12_ < 50 && class297.eventQueue.peekEvent() != null; i_12_++) + SpriteAtlasShader.sleep((byte) 30, 1L); + try { + if (object == null) break; + class297.eventQueue.postEvent(new ActionEvent(object, 1001, "dummy")); + } catch (Exception exception) { + /* empty */ + } + break; + } + break; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("fu.F(" + i + ',' + (object != null ? "{...}" : "null") + ',' + (class297 != null ? "{...}" : "null") + ')')); + } + } while (false); + } + + DummyClass(Component85 class221, DisplayModeManagerContainer196 class341, int i, int i_13_, int i_14_, int i_15_, int i_16_, int i_17_, int i_18_, int i_19_, int i_20_, int i_21_, int i_22_, int i_23_, int i_24_, int i_25_) { + super(class221, class341, i, i_13_, i_14_, i_15_, i_16_, i_17_, i_18_, i_19_, i_20_, i_21_, i_22_, i_23_, i_24_); + try { + this.anInt10177 = i_25_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("fu.(" + (class221 != null ? "{...}" : "null") + ',' + (class341 != null ? "{...}" : "null") + ',' + i + ',' + i_13_ + ',' + i_14_ + ',' + i_15_ + ',' + i_16_ + ',' + i_17_ + ',' + i_18_ + ',' + i_19_ + ',' + i_20_ + ',' + i_21_ + ',' + i_22_ + ',' + i_23_ + ',' + i_24_ + ',' + i_25_ + ')')); + } + } +} diff --git a/client/src/Exception_Sub1.java b/client/src/Exception_Sub1.java index a1ca86be2..ca06436b7 100644 --- a/client/src/Exception_Sub1.java +++ b/client/src/Exception_Sub1.java @@ -6,22 +6,23 @@ final class Exception_Sub1 extends Exception { static int anInt109; static int[] anIntArray110 = new int[4096]; static int[][] anIntArrayArray111 = {{0, 2, 4, 6}, {6, 0, 2, 4}, {6, 0, 2}, {2, 6, 0}, {0, 2, 6}, {6, 0, 2}, {5, 6, 0, 1, 2, 4}, {7, 2, 4, 4}, {2, 4, 4, 7}, {6, 6, 4, 0, 2, 2}, {0, 2, 2, 6, 6, 4}, {0, 2, 2, 4, 6, 6}, {0, 2, 4, 6}}; - static Class255 aClass255_112; + /** Global item definition provider (null until cache warmup). */ + static ItemDefinitionProvider itemDefinitions; public Exception_Sub1() { /* empty */ } public static void method140(byte i) { - aClass255_112 = null; + itemDefinitions = null; anIntArray110 = null; if (i == -126) anIntArrayArray111 = null; } - static final Class46 method141(Class46 class46, byte i) { + static final DisplayModeManagerContainer57 method141(DisplayModeManagerContainer57 class46, byte i) { anInt109++; int i_0_ = 98 / ((i - -14) / 41); - Class46 class46_1_ = client.method108(class46); + DisplayModeManagerContainer57 class46_1_ = client.method108(class46); if (class46_1_ == null) class46_1_ = class46.aClass46_782; return class46_1_; } diff --git a/client/src/FriendsIgnoreList.java b/client/src/FriendsIgnoreList.java new file mode 100644 index 000000000..6d81e05d5 --- /dev/null +++ b/client/src/FriendsIgnoreList.java @@ -0,0 +1,407 @@ +/* FriendsIgnoreList - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class274` (JODE-obfuscated). + * Social-list message holder. Holds localized (EN/DE/FR/PT) strings for friends-list, ignore-list, and clan-channel events (e.g. 'Your friends list is full', 'not on your friends list', 'not in a clan channel'). + */ + +final class FriendsIgnoreList { + static int anInt3477; + static int anInt3478; + static int anInt3479; + static int anInt3480; + /** EN/DE/FR/PT strings for this message key. */ + private final String[] localizedTexts; + static int anInt3482; + static FriendsIgnoreList aClass274_3483 = (new FriendsIgnoreList("This is the developer console. To close, press the `, \u00b2 or \u00a7 keys, or tap with four fingers on mobile.", "Das ist die Entwicklerkonsole. Zum Schlie\u00dfen: `, \u00b2 oder \u00a7, oder auf dem Handy mit vier Fingern tippen.", "Ceci est la console de d\u00e9veloppement. Pour la fermer: `, \u00b2 ou \u00a7, ou tapez avec quatre doigts sur mobile.", "Este \u00e9 o painel de controle do desenvolvedor. Para fechar, pressione `, \u00b2 ou \u00a7, ou toque com quatro dedos no celular.")); + static int anInt3484; + static FriendsIgnoreList aClass274_3485 = (new FriendsIgnoreList("There was an error executing the command.", "Es gab einen Fehler beim Ausf\u00fchren des Befehls.", "Une erreur s'est produite lors de l'ex\u00e9cution de la commande.", "Houve um erro quando o comando foi executado.")); + static FriendsIgnoreList aClass274_3486 = new FriendsIgnoreList("Unknown developer command: ", "Unbekannter Befehl: ", "Commande inconnue : ", "Comando desconhecido: "); + static FriendsIgnoreList aClass274_3487 = new FriendsIgnoreList("Cancel", "Abbrechen", "Annuler", "Cancelar"); + static FriendsIgnoreList aClass274_3488; + static FriendsIgnoreList aClass274_3489; + static FriendsIgnoreList aClass274_3490; + static FriendsIgnoreList aClass274_3491; + static FriendsIgnoreList aClass274_3492; + static FriendsIgnoreList aClass274_3493; + static FriendsIgnoreList aClass274_3494; + static FriendsIgnoreList aClass274_3495; + static FriendsIgnoreList aClass274_3496; + static FriendsIgnoreList aClass274_3497; + static FriendsIgnoreList aClass274_3498; + static FriendsIgnoreList aClass274_3499; + static FriendsIgnoreList aClass274_3500; + static FriendsIgnoreList aClass274_3501; + static FriendsIgnoreList aClass274_3502; + static FriendsIgnoreList aClass274_3503; + static FriendsIgnoreList aClass274_3504; + static FriendsIgnoreList aClass274_3505; + static FriendsIgnoreList aClass274_3506; + static FriendsIgnoreList aClass274_3507; + static FriendsIgnoreList aClass274_3508; + static FriendsIgnoreList aClass274_3509; + static FriendsIgnoreList aClass274_3510; + static FriendsIgnoreList aClass274_3511; + static FriendsIgnoreList aClass274_3512; + static FriendsIgnoreList aClass274_3513; + static FriendsIgnoreList aClass274_3514; + static FriendsIgnoreList aClass274_3515; + static FriendsIgnoreList aClass274_3516; + static FriendsIgnoreList aClass274_3517; + static FriendsIgnoreList aClass274_3518; + static FriendsIgnoreList aClass274_3519; + static FriendsIgnoreList aClass274_3520; + static FriendsIgnoreList aClass274_3521; + static FriendsIgnoreList aClass274_3522; + static FriendsIgnoreList aClass274_3523; + static FriendsIgnoreList aClass274_3524; + static FriendsIgnoreList aClass274_3525; + static FriendsIgnoreList aClass274_3526; + static FriendsIgnoreList aClass274_3527; + static FriendsIgnoreList aClass274_3528; + static FriendsIgnoreList aClass274_3529; + static FriendsIgnoreList aClass274_3530; + static FriendsIgnoreList aClass274_3531; + static FriendsIgnoreList aClass274_3532; + static FriendsIgnoreList aClass274_3533; + static FriendsIgnoreList aClass274_3534; + static FriendsIgnoreList aClass274_3535; + static FriendsIgnoreList aClass274_3536; + static FriendsIgnoreList aClass274_3537; + static FriendsIgnoreList aClass274_3538; + static FriendsIgnoreList aClass274_3539; + static FriendsIgnoreList aClass274_3540; + static FriendsIgnoreList aClass274_3541; + static FriendsIgnoreList aClass274_3542; + static FriendsIgnoreList aClass274_3543; + static FriendsIgnoreList aClass274_3544; + static FriendsIgnoreList aClass274_3545; + static FriendsIgnoreList aClass274_3546; + static DisplayModeManagerContainer56 aClass190_3547; + + /** True if tile flags include walk-block / roof-style collision bits (0x18 or 0x220==544). */ + static final boolean hasCollisionBlockFlags(int i, int i_0_, int i_1_) { + if (i_1_ <= 28) clearStatics(108); + anInt3478++; + return (0x18 & i) != 0 | (i & 0x220) == 544; + } + + public static void clearStatics(int i) { + aClass274_3523 = null; + aClass274_3530 = null; + aClass274_3533 = null; + aClass274_3509 = null; + aClass274_3503 = null; + aClass274_3500 = null; + aClass274_3537 = null; + aClass274_3504 = null; + aClass274_3505 = null; + aClass274_3540 = null; + aClass274_3514 = null; + aClass274_3515 = null; + aClass274_3531 = null; + aClass274_3543 = null; + if (i > -88) clearOccluders((byte) -47); + aClass274_3542 = null; + aClass274_3501 = null; + aClass274_3519 = null; + aClass274_3522 = null; + aClass274_3485 = null; + aClass274_3483 = null; + aClass274_3488 = null; + aClass274_3496 = null; + aClass274_3497 = null; + aClass274_3526 = null; + aClass274_3538 = null; + aClass274_3487 = null; + aClass274_3507 = null; + aClass274_3493 = null; + aClass274_3520 = null; + aClass274_3511 = null; + aClass274_3490 = null; + aClass274_3532 = null; + aClass274_3508 = null; + aClass274_3541 = null; + aClass274_3492 = null; + aClass274_3517 = null; + aClass274_3499 = null; + aClass274_3498 = null; + aClass274_3529 = null; + aClass274_3516 = null; + aClass274_3502 = null; + aClass274_3544 = null; + aClass274_3518 = null; + aClass274_3528 = null; + aClass274_3510 = null; + aClass274_3513 = null; + aClass274_3489 = null; + aClass274_3491 = null; + aClass274_3494 = null; + aClass274_3524 = null; + aClass274_3486 = null; + aClass274_3525 = null; + aClass274_3521 = null; + aClass274_3512 = null; + aClass274_3534 = null; + aClass274_3536 = null; + aClass274_3539 = null; + aClass190_3547 = null; + aClass274_3545 = null; + aClass274_3535 = null; + aClass274_3506 = null; + aClass274_3527 = null; + aClass274_3495 = null; + aClass274_3546 = null; + } + + /** Close open interface containers and clear the active top-level interface ref. */ + static final void closeInterfaces(byte i, boolean bool) { + if (i > -4) clearStatics(-6); + anInt3484++; + DisplayModeManagerContainer89.anInt8374++; + ParticleSystem class348_sub47 = ParticleShader.method2148(NodeSub34.aClass351_6970, DisplayModeManagerContainer64.aClass77_9029, -109); + HashNodeSub14.method3243(37, class348_sub47); + for (NodeSub41 class348_sub41 = (NodeSub41) Component15.aClass356_4915.first(0); class348_sub41 != null; class348_sub41 = (NodeSub41) Component15.aClass356_4915.next(0)) { + if (!class348_sub41.isLinked((byte) 4)) { + class348_sub41 = (NodeSub41) Component15.aClass356_4915.first(0); + if (class348_sub41 == null) break; + } + if (class348_sub41.anInt7053 == 0) Component162.method1118(true, bool, class348_sub41, 2533); + } + if (Component297.aClass46_4730 != null) { + Component111.markInterfaceDirty(-9343, Component297.aClass46_4730); + Component297.aClass46_4730 = null; + } + } + + /** Drop cached HUD / minimap sprites. */ + static final void clearHudSprites(int i) { + RSARequest.aClass105_9658 = null; + RSARequest.aClass105_9659 = null; + RadixParser.aClass105_2309 = null; + DisplayModeManagerContainer196.aClass105Array4234 = null; + Component221.aClass105_1800 = null; + anInt3477++; + int i_2_ = 89 / ((-74 - i) / 42); + NodeSub5.aClass105_6627 = null; + OutputStream_Sub2.aClass105_106 = null; + DisplayModeManagerContainer74.aClass105_4808 = null; + Component338.aClass105_1706 = null; + } + + /** Free scene occluder arrays and reset occluder counts. */ + static final void clearOccluders(byte i) { + if (Component335.aClass338Array2034 != null) { + for (int i_3_ = 0; i_3_ < RadixText.occluderCountA; i_3_++) + Component335.aClass338Array2034[i_3_] = null; + Component335.aClass338Array2034 = null; + } + anInt3480++; + if (DisplayModeManagerContainer104.aClass338Array10330 != null) { + for (int i_4_ = 0; i_4_ < Component325.occluderCountB; i_4_++) + DisplayModeManagerContainer104.aClass338Array10330[i_4_] = null; + DisplayModeManagerContainer104.aClass338Array10330 = null; + } + if (InterfaceRenderer.aClass338Array5060 != null) { + for (int i_5_ = 0; i_5_ < NodeSub44.anInt7101; i_5_++) + InterfaceRenderer.aClass338Array5060[i_5_] = null; + InterfaceRenderer.aClass338Array5060 = null; + } + Component160.anIntArrayArrayArray4356 = null; + int i_6_ = 36 % ((-81 - i) / 38); + DisplayModeManagerContainer194.anIntArray5091 = null; + HashNodeSub19.aClass338Array9700 = null; + Component314.anInt3872 = Component328.anInt1480 = -1; + } + + private FriendsIgnoreList(String string, String string_7_, String string_8_, String string_9_) { + try { + localizedTexts = new String[]{string, string_7_, string_8_, string_9_}; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("va.(" + (string != null ? "{...}" : "null") + ',' + (string_7_ != null ? "{...}" : "null") + ',' + (string_8_ != null ? "{...}" : "null") + ',' + (string_9_ != null ? "{...}" : "null") + ')')); + } + } + + public final String toString() { + anInt3482++; + throw new IllegalStateException(); + } + + /** @param i language index ({@link ObjectDeserializer#languageId}); {@code i_10_} must be 544. */ + final String getLocalized(int i, int i_10_) { + if (i_10_ != 544) clearHudSprites(126); + anInt3479++; + return localizedTexts[i]; + } + + static { + new FriendsIgnoreList("#Player", "#Spieler", "#Joueur", "#Jogador"); + aClass274_3488 = new FriendsIgnoreList("Members object", "Gegenstand f\u00fcr Mitglieder", "Objet d'abonn\u00e9s", "Objeto para membros"); + new FriendsIgnoreList("Login to a members' server to use this object.", "Du musst auf einer Mitglieder-Welt sein, um diesen Gegenstand zu benutzen.", "Connectez-vous \u00e0 un serveur d'abonn\u00e9s pour utiliser cet objet.", "Acesse um servidor para membros para usar este objeto."); + new FriendsIgnoreList("Swap this note at any bank for the equivalent item.", "Dieses Zertifikat kann in einer Bank entsprechend eingetauscht werden.", "\u00c9changez ce re\u00e7u contre l'objet correspondant dans la banque de votre choix.", "V\u00e1 a qualquer banco para trocar esta nota pelo objeto equivalente."); + aClass274_3489 = new FriendsIgnoreList("Discard", "Ablegen", "Jeter", "Descartar"); + aClass274_3490 = new FriendsIgnoreList("Take", "Nehmen", "Prendre", "Pegar"); + aClass274_3491 = new FriendsIgnoreList("Drop", "Fallen lassen", "Poser", "Largar"); + new FriendsIgnoreList("Ok", "Okay", "OK", "Ok"); + new FriendsIgnoreList("Select", "Ausw\u00e4hlen", "S\u00e9lectionner", "Selecionar"); + aClass274_3492 = new FriendsIgnoreList("Continue", "Weiter", "Continuer", "Continuar"); + new FriendsIgnoreList("Invalid player name.", "Unzul\u00e4ssiger Charaktername!", "Nom de joueur incorrect.", "Nome de jogador inv\u00e1lido."); + new FriendsIgnoreList("You can't report yourself!", "Du kannst dich nicht selbst melden!", "Vous ne pouvez pas vous signaler vous-m\u00eame !", "Voc\u00ea n\u00e3o pode denunciar a si pr\u00f3prio!"); + new FriendsIgnoreList("You already sent an abuse report under 60 secs ago! Do not abuse this system!", "Du hast bereits vor weniger als 60 Sekunden einen Regelversto\u00df gemeldet!", "Vous avez d\u00e9j\u00e0 signal\u00e9 un abus il y a moins d'une minute ! N'abusez pas du syst\u00e8me !", "Voc\u00ea j\u00e1 enviou uma den\u00fancia de abuso h\u00e1 menos de um minuto. N\u00e3o abuse deste sistema!"); + new FriendsIgnoreList(null, "Dieses System darf nicht missbraucht werden!", null, null); + new FriendsIgnoreList("You cannot report that person for Staff Impersonation, they are Jagex Staff.", "Diese Person ist ein Jagex-Mitarbeiter!", "Cette personne est un membre du personnel de Jagex, vous ne pouvez pas la signaler pour abus d'identit\u00e9.", "Voc\u00ea n\u00e3o pode denunciar essa pessoa por tentar se passar por membro da equipe Jagex, pois ela faz parte da equipe."); + new FriendsIgnoreList("You can spot a Jagex moderator by the gold crown next to their name.", "Jagex-Mitarbeiter haben eine goldene Krone neben ihrem Namen.", "Vous pouvez reconna\u00eetre les mod\u00e9rateurs Jagex \u00e0 la couronne dor\u00e9e en regard de leur nom.", "Os moderadores da Jagex s\u00e3o identificados por uma coroa dourada pr\u00f3xima ao \u007fnome."); + new FriendsIgnoreList("You can report that person under a different rule.", "Diese Person kann bez\u00fcglich einer anderen Regel gemeldet werden.", "Vous pouvez signaler cette personne pour une autre infraction aux r\u00e8gles.", "Voc\u00ea n\u00e3o pode denunciar essa pessoa de acordo com uma regra diferente."); + new FriendsIgnoreList("Thank-you, your abuse report has been received.", "Vielen Dank, deine Meldung ist bei uns eingegangen.", "Merci, nous avons bien re\u00e7u votre rapport d'abus.", "Obrigado. Sua den\u00fancia de abuso foi recebida."); + new FriendsIgnoreList("Unable to send abuse report - system busy.", "Meldung konnte nicht gesendet werden - Systeme \u00fcberlastet", "Impossible de signaler un abus - Erreur syst\u00e8me", "Sistema ocupado. N\u00e3o foi poss\u00edvel enviar sua den\u00fancia de abuso."); + new FriendsIgnoreList("Invalid name", "Unzul\u00e4ssiger Name!", "Nom incorrect", "Nome inv\u00e1lido"); + new FriendsIgnoreList("To use this item please login to a members' server.", "Du musst auf einer Mitglieder-Welt sein, um diesen Gegenstand zu benutzen.", "Veuillez vous connecter \u00e0 un serveur d'abonn\u00e9s pour utiliser cet objet.", "Acesse um servidor para membros para usar este objeto."); + new FriendsIgnoreList("To interact with this please login to a members' server.", "Logg dich auf einer Mitglieder-Welt ein, um damit zu interagieren.", "Veuillez vous connecter \u00e0 un serveur d'abonn\u00e9s pour cette interaction.", "Para interagir, acesse um servidor para membros."); + new FriendsIgnoreList("Nothing interesting happens.", "Nichts Interessantes passiert.", "Il ne se passe rien d'int\u00e9ressant.", "Nada de interessante acontece."); + new FriendsIgnoreList("You can't reach that.", "Da kommst du nicht hin.", "Vous ne pouvez pas l'atteindre.", "Voc\u00ea n\u00e3o consegue alcan\u00e7ar isso."); + new FriendsIgnoreList("Invalid teleport!", "Unzul\u00e4ssiger Teleport!", "T\u00e9l\u00e9portation non valide !", "Teleporte inv\u00e1lido!"); + new FriendsIgnoreList("To go here you must login to a members' server.", "Du musst auf einer Mitglieder-Welt sein, um dort hinzukommen.", "Vous devez vous connecter \u00e0 un serveur d'abonn\u00e9s pour aller \u00e0 cet endroit.", "Para entrar aqui, acesse um servidor para membros."); + new FriendsIgnoreList("Unable to add friend - system busy.", "Der Freund konnte nicht hinzugef\u00fcgt werden, das System ist derzeit ausgelastet.", "Impossible d'ajouter un ami - syst\u00e8me occup\u00e9.", "N\u00e3o foi poss\u00edvel adicionar o amigo. O sistema est\u00e1 ocupado."); + new FriendsIgnoreList("Unable to add friend - unknown player.", "Spieler konnte nicht hinzugef\u00fcgt werden - Spieler unbekannt.", "Impossible d'ajouter l'ami - joueur inconnu.", "N\u00e3o foi poss\u00edvel adicionar um amigo - jogador desconhecido."); + new FriendsIgnoreList("Unable to add name - system busy.", "Der Name konnte nicht hinzugef\u00fcgt werden, das System ist derzeit ausgelastet.", "Impossible d'ajouter un nom - syst\u00e8me occup\u00e9.", "N\u00e3o foi poss\u00edvel adicionar o nome. O sistema est\u00e1 ocupado."); + new FriendsIgnoreList("Unable to add name - unknown player.", "Name konnte nicht hinzugef\u00fcgt werden - Spieler unbekannt.", "Impossible d'ajouter le nom - joueur inconnu.", "N\u00e3o foi poss\u00edvel adicionar um nome - jogador desconhecido."); + aClass274_3493 = (new FriendsIgnoreList("Your friends list is full, max of 200 for free users, and 200 for members.", "Ihre Freunde-Liste ist voll!", "Votre liste d'amis est pleine (200 noms maximum pour la version gratuite et 200 pour les abonn\u00e9s).", "Sua lista de amigos est\u00e1 cheia. O limite \u00e9 200 para usu\u00e1rios n\u00e3o pagantes, e 200 para membros.")); + aClass274_3494 = (new FriendsIgnoreList(null, "Mitglieder k\u00f6nnen 200 Freunde hinzuf\u00fcgen, freie Spieler nur 200.", null, null)); + new FriendsIgnoreList("Unable to delete friend - system busy.", "Der Freund konnte nicht entfernt werden, das System ist derzeit ausgelastet.", "Impossible de supprimer un ami - syst\u00e8me occup\u00e9.", "N\u00e3o foi poss\u00edvel excluir o amigo. O sistema est\u00e1 ocupado."); + new FriendsIgnoreList("Unable to delete name - system busy.", "Name konnte nicht gel\u00f6scht werden - Systemfehler.", "Impossible d'effacer le nom - syst\u00e8me occup\u00e9.", "N\u00e3o foi poss\u00edvel deletar o nome - sistema ocupado."); + new FriendsIgnoreList("Unable to send message - system busy.", "Deine Nachricht konnte nicht verschickt werden, das System ist derzeit ausgelastet.", "Impossible d'envoyer un message - syst\u00e8me occup\u00e9.", "N\u00e3o foi poss\u00edvel enviar a mensagem. O sistema est\u00e1 ocupado."); + new FriendsIgnoreList("Unable to send message - player unavailable.", "Deine Nachricht konnte nicht verschickt werden,", "Impossible d'envoyer un message - joueur indisponible.", "N\u00e3o foi poss\u00edvel enviar a mensagem. O jogador n\u00e3o est\u00e1 dispon\u00edvel."); + new FriendsIgnoreList(null, "der Spieler ist momentan nicht verf\u00fcgbar.", null, null); + new FriendsIgnoreList("Unable to send message - player not on your friends list.", "Nachricht kann nicht geschickt werden,", "Impossible d'envoyer un message - joueur non inclus dans votre liste d'amis.", "N\u00e3o foi poss\u00edvel enviar a mensagem. O jogador n\u00e3o est\u00e1 na sua lista de amigos."); + new FriendsIgnoreList(null, "Spieler nicht auf deiner Freunde-Liste.", null, null); + new FriendsIgnoreList("You appear to be telling someone your password - please don't!", "Willst du jemandem dein Passwort verraten? Das darfst du nicht! Falls das", "Il semble que vous r\u00e9v\u00e9liez votre mot de passe \u00e0 quelqu'un - ne faites jamais \u00e7a !", "Parece que voc\u00ea est\u00e1 revelando sua senha a algu\u00e9m. N\u00e3o fa\u00e7a isso!"); + new FriendsIgnoreList("If you are not, please change your password to something more obscure!", "nicht der Fall ist, \u00e4ndere dein Passwort zu einem ungew\u00f6hnlicheren Begriff!", "Si ce n'est pas le cas, remplacez votre mot de passe par une formule moins \u00e9vidente !", "Caso n\u00e3o esteja, altere sua senha para algo mais obscuro!"); + new FriendsIgnoreList("Unable to send message - set your display name first by logging into the game.", "Nachricht konnte nicht gesendet werden. Bitte richte erst deinen Charakternamen ein, ", "Impossible d'envoyer le message - enregistrez un nom de personnage en vous connectant au jeu.", "N\u00e3o \u00e9 poss\u00edvel enviar a mensagem. Defina um nome de personagem antes, fazendo login no jogo."); + new FriendsIgnoreList(null, "indem du dich ins Spiel einloggst.", null, null); + new FriendsIgnoreList("For that rule you can only report players who have spoken or traded recently.", "Mit dieser Option k\u00f6nnen nur Spieler gemeldet werden,", "Cette r\u00e8gle n'est invocable que pour les discussions ou \u00e9changes r\u00e9cents.", "Para essa regra, voc\u00ea s\u00f3 pode denunciar jogadores com quem tenha falado ou negociado recentemente."); + new FriendsIgnoreList(null, "die k\u00fcrzlich gesprochen oder gehandelt haben.", null, null); + new FriendsIgnoreList("That player is offline, or has privacy mode enabled.", "Dieser Spieler ist offline oder hat den Privatsph\u00e4ren-Modus aktiviert.", "Ce joueur est d\u00e9connect\u00e9 ou en mode priv\u00e9.", "O jogador est\u00e1 offline ou est\u00e1 com o modo de privacidade ativado."); + new FriendsIgnoreList("You cannot send a quick chat message to a player on this world at this time.", "Einem Spieler auf dieser Welt k\u00f6nnen derzeit keine Direktchat-Nachrichten", "Impossible d'envoyer un message rapide \u00e0 un joueur de ce serveur \u00e0 l'heure actuelle.", "Voc\u00ea n\u00e3o pode enviar uma mensagem de papo r\u00e1pido para um jogador neste mundo neste momento."); + new FriendsIgnoreList(null, "geschickt werden.", null, null); + new FriendsIgnoreList("This player is on a quick chat world and cannot receive your message.", "Der Spieler kann auf einer Direktchat-Welt keine Nachrichten empfangen.", "Ce joueur est sur un serveur \u00e0 messagerie rapide et ne peut pas recevoir votre message.", "Este jogador n\u00e3o pode receber sua mensagem porque est\u00e1 em um mundo de papo r\u00e1pido."); + new FriendsIgnoreList("Chat disabled", "Deaktiviert", "Messagerie d\u00e9sactiv\u00e9e", "Bate-papo desativado"); + new FriendsIgnoreList("clan_chat", "clanchat", "conversation_clan", "clan_chat"); + new FriendsIgnoreList("You are not currently in a clan channel.", "Du befindest dich derzeit nicht in einem Chatraum.", "Vous n'\u00eates pas dans un canal de clan.", "No momento voc\u00ea n\u00e3o est\u00e1 em um canal de cl\u00e3."); + new FriendsIgnoreList("You are not allowed to talk in this clan channel.", "Du darfst in diesem Chatraum nicht reden.", "Vous n'\u00eates pas autoris\u00e9 \u00e0 parler dans ce canal de clan.", "Voc\u00ea n\u00e3o tem permiss\u00e3o para conversar neste canal de cl\u00e3."); + new FriendsIgnoreList("Error sending message to clan chat - please try again later!", "Fehler beim Versenden der Nachricht - bitte versuch es sp\u00e4ter erneut.", "Erreur lors de l'envoi du message au canal de clan - veuillez r\u00e9essayer ult\u00e9rieurement.", "Erro ao enviar mensagem ao canal de cl\u00e3. Tente de novo depois!"); + new FriendsIgnoreList("Please wait until you are logged out of your previous channel.", "Bitte warte, bis du den vorherigen Chatraum verlassen hast.", "Veuillez attendre d'\u00eatre d\u00e9connect\u00e9(e) de votre canal pr\u00e9c\u00e9dent.", "Aguarde at\u00e9 se desconectar do canal anterior."); + new FriendsIgnoreList("You are not currently in a channel.", "Du befindest dich derzeit nicht in einem Chatraum.", "Vous n'\u00eates dans aucun canal \u00e0 l'heure actuelle.", "No momento voc\u00ea n\u00e3o est\u00e1 em um canal."); + new FriendsIgnoreList("Attempting to join channel...", "Chatraum wird betreten...", "Tentative de connexion au canal...", "Tentando acessar canal..."); + new FriendsIgnoreList("Sending request to leave channel...", "Chatraum wird verlassen...", "Envoi de la demande de sortie du canal...", "Enviando solicita\u00e7\u00e3o para deixar o canal..."); + new FriendsIgnoreList("Already attempting to join a channel - please wait...", "Du versuchst bereits, einem Chatraum beizutreten - bitte warte.", "Tentative de connexion au canal d\u00e9j\u00e0 en cours - veuillez patienter...", "J\u00e1 h\u00e1 uma tentativa de entrar em um canal. Aguarde..."); + new FriendsIgnoreList("Leave request already in progress - please wait...", "Du versuchst bereits, einen Chatraum zu verlassen - bitte warte.", "Demande de sortie d\u00e9j\u00e0 effectu\u00e9e - veuillez patienter...", "Solicita\u00e7\u00e3o de sa\u00edda j\u00e1 em andamento. Aguarde..."); + new FriendsIgnoreList("Invalid channel name entered!", "Ung\u00fcltiger Chatraum-Name angegeben.", "Nom de canal incorrect !", "Nome de canal inv\u00e1lido!"); + new FriendsIgnoreList("Unable to join clan chat at this time - please try again later!", "Chatraum kann nicht betreten werden - bitte versuch es sp\u00e4ter erneut.", "Impossible de participer \u00e0 une discussion de clan pour le moment - veuillez r\u00e9essayer ult\u00e9rieurement.", "N\u00e3o foi poss\u00edvel entrar no bate-papo do cl\u00e3 dessa vez. Tente de novo depois!"); + new FriendsIgnoreList("Now talking in clan channel ", "Chatraum: ", "Vous participez actuellement au canal de clan ", "Falando no canal do cl\u00e3 agora "); + new FriendsIgnoreList("Now talking in clan channel of player: ", "Clanchat dieses Spieler beigetreten: ", "Vous participez actuellement au canal de clan du joueur : ", "Falando no canal do cl\u00e3 do jogador: "); + new FriendsIgnoreList("To talk, start each line of chat with the / symbol.", "Leite eine Zeile mit / ein, um hier zu chatten.", "Pour parler, ins\u00e9rez le symbole / au d\u00e9but de chaque ligne.", "Para falar, comece cada linha de conversa com o s\u00edmbolo /."); + new FriendsIgnoreList("Error joining clan channel - please try again later!", "Fehler beim Betreten des Chatraums - bitte versuch es sp\u00e4ter erneut.", "Erreur lors de la connexion au canal de clan - veuillez r\u00e9essayer ult\u00e9rieurement.", "Erro ao entrar no canal do cl\u00e3. Tente de novo depois!"); + new FriendsIgnoreList("You are temporarily blocked from joining channels - please try again later!", "Du darfst derzeit keine Chatr\u00e4ume betreten - bitte versuch es sp\u00e4ter.", "Vous \u00eates temporairement exclu des canaux - veuillez r\u00e9essayer ult\u00e9rieurement.", "Voc\u00ea est\u00e1 temporariamente impedido de entrar em canais. Tente de novo depois!"); + new FriendsIgnoreList("The channel you tried to join does not exist.", "Der von dir gew\u00fcnschte Chatraum existiert nicht.", "Le canal que vous essayez de rejoindre n'existe pas.", "O canal que voc\u00ea tentou acessar n\u00e3o existe."); + new FriendsIgnoreList("The channel you tried to join is currently full.", "Der von dir gew\u00fcnschte Chatraum ist derzeit \u00fcberf\u00fcllt.", "Le canal que vous essayez de rejoindre est plein.", "O canal que voc\u00ea tentou acessar est\u00e1 cheio no momento."); + new FriendsIgnoreList("You do not have a high enough rank to join this clan channel.", "Dein Rang reicht nicht aus, um diesen Chatraum zu betreten.", "Votre rang n'est pas assez \u00e9lev\u00e9 pour rejoindre ce canal de clan.", "Sua posi\u00e7\u00e3o n\u00e3o \u00e9 alta o suficiente para voc\u00ea entrar nesse canal de cl\u00e3."); + new FriendsIgnoreList("You are temporarily banned from this clan channel.", "Du wurdest tempor\u00e4r aus diesem Chatraum verbannt.", "Vous \u00eates temporairement exclu de ce canal de clan.", "Voc\u00ea est\u00e1 temporariamente vetado de entrar nesse canal de cl\u00e3."); + new FriendsIgnoreList("You are not allowed to join this user's clan channel.", "Du darfst den Chatraum dieses Benutzers nicht betreten.", "Vous n'\u00eates pas autoris\u00e9 \u00e0 rejoindre le canal de clan de cet utilisateur.", "Voc\u00ea n\u00e3o tem permiss\u00e3o para entrar no canal de cl\u00e3 desse usu\u00e1rio."); + new FriendsIgnoreList(" joined the channel.", " hat den Chatraum betreten.", " a rejoint le canal.", " entrou no canal."); + new FriendsIgnoreList(" left the channel.", " hat den Chatraum verlassen.", " a quitt\u00e9 le canal.", " deixou o canal."); + new FriendsIgnoreList(" was kicked from the channel.", " wurde aus dem Chatraum rausgeworfen.", " a \u00e9t\u00e9 expuls\u00e9 du canal.", " foi expulso do canal."); + new FriendsIgnoreList("You have been kicked from the channel.", "Du wurdest aus dem Chatraum rausgeworfen.", "Vous avez \u00e9t\u00e9 expuls\u00e9 du canal.", "Voc\u00ea foi expulso do canal."); + new FriendsIgnoreList("You have been removed from this channel.", "Du wurdest aus dem Chatraum entfernt.", "Vous avez \u00e9t\u00e9 supprim\u00e9 de ce canal.", "Voc\u00ea foi retirado desse canal."); + new FriendsIgnoreList("You have left the channel.", "Du hast den Chatraum verlassen.", "Vous avez quitt\u00e9 le canal.", "Voc\u00ea saiu do canal."); + new FriendsIgnoreList("Your clan channel has now been enabled!", "Dein Chatraum ist jetzt eingeschaltet.", "Votre canal de clan est activ\u00e9 !", "Seu canal de cl\u00e3 j\u00e1 est\u00e1 ativado!"); + new FriendsIgnoreList("Join your channel by clicking 'Join Chat' and typing: ", "Klick auf 'Betreten' und gib ein: ", "Pour rejoindre votre canal, cliquez sur \u00ab Participer \u00bb et entrez : ", "Para entrar no seu canal, clique em \"Acessar bate-papo\" e digite: "); + new FriendsIgnoreList("Your clan channel has now been disabled!", "Dein Chatraum ist jetzt ausgeschaltet.", "Votre canal de clan est d\u00e9sactiv\u00e9.", "Seu canal de cl\u00e3 foi desativado!"); + new FriendsIgnoreList("You do not have permission to kick users in this channel.", "Du darfst keine Benutzer aus diesem Chatraum rauswerfen.", "Vous n'\u00eates pas autoris\u00e9 \u00e0 expulser des utilisateurs de ce canal.", "Voc\u00ea n\u00e3o tem permiss\u00e3o para expulsar usu\u00e1rios neste canal."); + new FriendsIgnoreList("You do not have permission to kick this user.", "Du darfst diesen Benutzer nicht rauswerfen.", "Vous n'\u00eates pas autoris\u00e9 \u00e0 expulser cet utilisateur.", "Voc\u00ea n\u00e3o tem permiss\u00e3o para expulsar este usu\u00e1rio."); + new FriendsIgnoreList("That user is not in this channel.", "Dieser Benutzer befindet sich nicht in diesem Chatraum.", "Cet utilisateur n'est pas dans ce canal.", "Esse usu\u00e1rio n\u00e3o est\u00e1 no canal."); + new FriendsIgnoreList("You have been temporarily muted due to breaking a rule.", "Aufgrund eines Regelversto\u00dfes wurdest du vor\u00fcbergehend stumm geschaltet.", "La messagerie instantan\u00e9e a \u00e9t\u00e9 temporairement bloqu\u00e9e suite \u00e0 une infraction.", "Voc\u00ea foi temporariamente vetado por ter violado uma regra."); + new FriendsIgnoreList("This mute will remain for a further ", "Diese Stummschaltung gilt f\u00fcr weitere ", "Votre acc\u00e8s restera bloqu\u00e9 encore ", "Este veto permanecer\u00e1 por mais "); + new FriendsIgnoreList(" days.", " Tage.", " jours.", " dias."); + new FriendsIgnoreList("You will be un-muted within 24 hours.", "Du wirst innerhalb der n\u00e4chsten 24 Stunden wieder sprechen k\u00f6nnen.", "Vous aurez \u00e0 nouveau acc\u00e8s \u00e0 la messagerie instantan\u00e9e dans 24 heures.", "O veto ser\u00e1 retirado dentro de 24 horas."); + new FriendsIgnoreList("To prevent further mutes please read the rules.", "Um eine erneute Stummschaltung zu verhindern, lies bitte die Regeln.", "Pour \u00e9viter un nouveau blocage, lisez le r\u00e8glement.", "Para evitar outros vetos, leia as regras."); + new FriendsIgnoreList("You have been permanently muted due to breaking a rule.", "Du wurdest permanent stumm geschaltet, da du gegen eine Regel versto\u00dfen hast.", "L'acc\u00e8s \u00e0 la messagerie instantan\u00e9e vous a d\u00e9finitivement \u00e9t\u00e9 retir\u00e9 suite \u00e0 une infraction.", "Voc\u00ea foi permanentemente vetado por ter violado uma regra."); + aClass274_3495 = new FriendsIgnoreList("Loading - please wait.", "Ladevorgang - bitte warte.", "Chargement en cours. Veuillez patienter.", "Carregando. Aguarde."); + aClass274_3496 = new FriendsIgnoreList("Profiling...", "Profiling...", "Profilage...", "Profiling..."); + aClass274_3497 = new FriendsIgnoreList("Connection lost.", "Verbindung abgebrochen.", "Connexion perdue.", "Conex\u00e3o perdida."); + aClass274_3498 = (new FriendsIgnoreList("Please wait - attempting to reestablish.", "Bitte warte - es wird versucht, die Verbindung wiederherzustellen.", "Veuillez patienter - tentative de r\u00e9tablissement.", "Tentando reestabelecer conex\u00e3o. Aguarde.")); + aClass274_3499 = new FriendsIgnoreList("Checking for updates - ", "Suche nach Updates - ", "V\u00e9rification des mises \u00e0 jour - ", "Verificando atualiza\u00e7\u00f5es - "); + aClass274_3500 = new FriendsIgnoreList("Fetching Updates - ", "Lade Update - ", "Chargement des MAJ - ", "Carregando atualiza\u00e7\u00f5es - "); + new FriendsIgnoreList("Loading config - ", "Lade Konfiguration - ", "Chargement des fichiers config - ", "Carregando config - "); + new FriendsIgnoreList("Loaded config", "Konfig geladen.", "Fichiers config charg\u00e9s", "Config carregada"); + new FriendsIgnoreList("Loading sprites - ", "Lade Sprites - ", "Chargement des sprites - ", "Carregando sprites - "); + new FriendsIgnoreList("Loaded sprites", "Sprites geladen.", "Sprites charg\u00e9s", "Sprites carregados"); + new FriendsIgnoreList("Loading wordpack - ", "Lade Wordpack - ", "Chargement du module texte - ", "Carregando pacote de palavras - "); + new FriendsIgnoreList("Loaded wordpack", "Wordpack geladen.", "Module texte charg\u00e9", "Pacote de palavras carregado"); + new FriendsIgnoreList("Loading interfaces - ", "Lade Benutzeroberfl\u00e4che - ", "Chargement des interfaces - ", "Carregando interfaces - "); + new FriendsIgnoreList("Loaded interfaces", "Benutzeroberfl\u00e4che geladen.", "Interfaces charg\u00e9es", "Interfaces carregadas"); + new FriendsIgnoreList("Loading interface scripts - ", "Lade Interface-Skripte - ", "Chargement des interfaces - ", "Carregando interfaces - "); + new FriendsIgnoreList("Loaded interface scripts", "Interface-Skripte geladen", "Interfaces charg\u00e9es", "Interfaces carregadas"); + new FriendsIgnoreList("Loading additional fonts - ", "Lade Zusatzschriftarten - ", "Chargement de polices secondaires - ", "Carregando fontes principais - "); + new FriendsIgnoreList("Loaded additional fonts", "Zusatzschriftarten geladen", "Polices secondaires charg\u00e9es", "Fontes principais carregadas"); + new FriendsIgnoreList("Loading world map - ", "Lade Weltkarte - ", "Chargement de la mappemonde - ", "Carregando mapa-m\u00fandi - "); + new FriendsIgnoreList("Loaded world map", "Weltkarte geladen", "Mappemonde charg\u00e9e", "Mapa-m\u00fandi carregado"); + new FriendsIgnoreList("Loading world list data", "Lade Liste der Welten", "Chargement de la liste des serveurs", "Carregando dados da lista de mundos"); + new FriendsIgnoreList("Loaded world list data", "Liste der Welten geladen", "Liste des serveurs charg\u00e9e", "Dados da lista de mundos carregados"); + new FriendsIgnoreList("Loaded client variable data", "Client-Variablen geladen", "Variables du client charg\u00e9es", "As vari\u00e1veis do sistema foram carregadas"); + aClass274_3501 = new FriendsIgnoreList("Loading...", "Lade...", "Chargement en cours...", "Carregando..."); + new FriendsIgnoreList("Please close the interface you have open before using 'Report Abuse'.", "Bitte schlie\u00df die momentan ge\u00f6ffnete Benutzeroberfl\u00e4che,", "Fermez l'interface que vous avez ouverte avant d'utiliser le bouton \u00ab Signaler un abus \u00bb.", "Feche a interface aberta antes de usar o recurso \"Denunciar abuso\"."); + new FriendsIgnoreList(null, "bevor du die Option 'Regelversto\u00df melden' benutzt.", null, null); + new FriendsIgnoreList("System update in: ", "System-Update in: ", "Mise \u00e0 jour syst\u00e8me dans : ", "Atualiza\u00e7\u00e3o do sistema em: "); + aClass274_3502 = new FriendsIgnoreList(" has logged in.", " loggt sich ein.", " s'est connect\u00e9.", " entrou no jogo."); + aClass274_3503 = new FriendsIgnoreList(" has logged out.", " loggt sich aus.", " s'est d\u00e9connect\u00e9.", " saiu do jogo."); + aClass274_3504 = new FriendsIgnoreList("Unable to find ", "Spieler kann nicht gefunden werden: ", "Impossible de trouver ", "N\u00e3o \u00e9 poss\u00edvel encontrar "); + new FriendsIgnoreList("Use", "Benutzen", "Utiliser", "Usar"); + aClass274_3505 = new FriendsIgnoreList("Examine", "Untersuchen", "Examiner", "Examinar"); + aClass274_3506 = new FriendsIgnoreList("Attack", "Angreifen", "Attaquer", "Atacar"); + aClass274_3507 = new FriendsIgnoreList("Choose Option", "W\u00e4hl eine Option", "Choisir une option", "Selecionar op\u00e7\u00e3o"); + aClass274_3508 = new FriendsIgnoreList(" more options", " weitere Optionen", " autres options", " mais op\u00e7\u00f5es"); + aClass274_3509 = new FriendsIgnoreList("Walk here", "Hierhin gehen", "Atteindre", "Caminhar para c\u00e1"); + aClass274_3510 = new FriendsIgnoreList("Face here", "Hierhin drehen", "Regarder dans cette direction", "Virar para c\u00e1"); + aClass274_3511 = new FriendsIgnoreList("level: ", "Stufe: ", "niveau ", "n\u00edvel: "); + aClass274_3512 = new FriendsIgnoreList("skill: ", "Fertigkeit: ", "comp\u00e9tence ", "habilidade: "); + aClass274_3513 = new FriendsIgnoreList("rating: ", "Kampfstufe: ", "classement ", "qualifica\u00e7\u00e3o: "); + aClass274_3514 = new FriendsIgnoreList("Please wait...", "Bitte warte...", "Veuillez patienter...", "Aguarde..."); + new FriendsIgnoreList("Close", "Bitte schlie\u00df die momentan ge\u00f6ffnete Benutzeroberfl\u00e4che,", "Fermez l'interface que vous avez ouverte avant d'utiliser le bouton \u00ab Signaler un abus \u00bb.", "Feche a interface aberta antes de usar o recurso \"Denunciar abuso\"."); + aClass274_3515 = new FriendsIgnoreList(" ", ": ", " ", " "); + aClass274_3516 = new FriendsIgnoreList("M", "M", "M", "M"); + aClass274_3517 = new FriendsIgnoreList("M", "M", "M", "M"); + aClass274_3518 = new FriendsIgnoreList("K", "T", "K", "K"); + aClass274_3519 = new FriendsIgnoreList("K", "T", "K", "K"); + new FriendsIgnoreList("From", "Von:", "De", "De"); + aClass274_3520 = new FriendsIgnoreList("Self", "Mich", "Moi", "Eu"); + aClass274_3521 = new FriendsIgnoreList(" is already on your friends list.", " steht bereits auf deiner Freunde-Liste!", " est d\u00e9j\u00e0 dans votre liste d'amis.", " j\u00e1 est\u00e1 na sua lista de amigos."); + aClass274_3522 = (new FriendsIgnoreList("Your ignore list is full. Max of 100 users.", "Deine Ignorieren-Liste ist voll, du kannst nur 100 Spieler darauf eintragen.", "Votre liste noire est pleine (100 noms maximum).", "Sua lista de ignorados est\u00e1 cheia. O limite \u00e9 100 usu\u00e1rios.")); + aClass274_3523 = new FriendsIgnoreList(" is already on your ignore list.", " steht bereits auf deiner Ignorieren-Liste!", " est d\u00e9j\u00e0 dans votre liste noire.", " j\u00e1 est\u00e1 na sua lista de ignorados."); + aClass274_3524 = (new FriendsIgnoreList("You can't add yourself to your own friends list.", "Du kannst dich nicht auf deine eigene Freunde-Liste setzen!", "Vous ne pouvez pas ajouter votre nom \u00e0 votre liste d'amis.", "Voc\u00ea n\u00e3o pode adicionar a si pr\u00f3prio \u00e0 sua lista de amigos.")); + aClass274_3525 = (new FriendsIgnoreList("You can't add yourself to your own ignore list.", "Du kannst dich nicht auf deine eigene Ignorieren-Liste setzen!", "Vous ne pouvez pas ajouter votre nom \u00e0 votre liste noire.", "Voc\u00ea n\u00e3o pode adicionar a si pr\u00f3prio \u00e0 sua lista de ignorados.")); + new FriendsIgnoreList("Changes will take effect on your clan in the next 60 seconds.", "Die \u00c4nderungen am Chatraum werden innerhalb von 60 Sekunden g\u00fcltig.", "Les modifications seront apport\u00e9es \u00e0 votre clan dans les prochaines 60 secondes.", "As altera\u00e7\u00f5es passar\u00e3o a valer no seu cl\u00e3 nos pr\u00f3ximos 60 segundos."); + aClass274_3526 = new FriendsIgnoreList("Please remove ", "Bitte entferne ", "Veuillez commencer par supprimer ", "Remova "); + aClass274_3527 = new FriendsIgnoreList(" from your ignore list first.", " zuerst von deiner Ignorieren-Liste!", " de votre liste noire.", " da sua lista de ignorados primeiro."); + aClass274_3528 = new FriendsIgnoreList("Please remove ", "Bitte entferne ", "Veuillez commencer par supprimer ", "Remova "); + aClass274_3529 = new FriendsIgnoreList(" from your friends list first.", " zuerst von deiner Freunde-Liste!", " de votre liste d'amis.", " da sua lista de amigos primeiro."); + aClass274_3530 = new FriendsIgnoreList("yellow:", "gelb:", "jaune:", "amarelo:"); + aClass274_3531 = new FriendsIgnoreList("red:", "rot:", "rouge:", "vermelho:"); + aClass274_3532 = new FriendsIgnoreList("green:", "gr\u00fcn:", "vert:", "verde:"); + aClass274_3533 = new FriendsIgnoreList("cyan:", "blaugr\u00fcn:", "cyan:", "cyan:"); + aClass274_3534 = new FriendsIgnoreList("purple:", "lila:", "violet:", "roxo:"); + aClass274_3535 = new FriendsIgnoreList("white:", "weiss:", "blanc:", "branco:"); + aClass274_3536 = new FriendsIgnoreList("flash1:", "blinken1:", "clignotant1:", "flash1:"); + aClass274_3537 = new FriendsIgnoreList("flash2:", "blinken2:", "clignotant2:", "flash2:"); + aClass274_3538 = new FriendsIgnoreList("flash3:", "blinken3:", "clignotant3:", "brilho3:"); + aClass274_3539 = new FriendsIgnoreList("glow1:", "leuchten1:", "brillant1:", "brilho1:"); + aClass274_3540 = new FriendsIgnoreList("glow2:", "leuchten2:", "brillant2:", "brilho2:"); + aClass274_3541 = new FriendsIgnoreList("glow3:", "leuchten3:", "brillant3:", "brilho3:"); + aClass274_3542 = new FriendsIgnoreList("wave:", "welle:", "ondulation:", "onda:"); + aClass274_3543 = new FriendsIgnoreList("wave2:", "welle2:", "ondulation2:", "onda2:"); + aClass274_3544 = new FriendsIgnoreList("shake:", "sch\u00fctteln:", "tremblement:", "tremor:"); + aClass274_3545 = new FriendsIgnoreList("scroll:", "scrollen:", "d\u00e9roulement:", "rolagem:"); + aClass274_3546 = new FriendsIgnoreList("slide:", "gleiten:", "glissement:", "deslizamento:"); + } +} diff --git a/client/src/GnpPositionLogger.java b/client/src/GnpPositionLogger.java new file mode 100644 index 000000000..0134d8a04 --- /dev/null +++ b/client/src/GnpPositionLogger.java @@ -0,0 +1,70 @@ +/* GnpPositionLogger - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class91` (JODE-obfuscated). + * GPS position logger. Emits 'gnp1 pos:' / 'gnp2 pos:' / 'gnp3 mis:' trace lines for the client's GPS/position debug stream. + */ + +final class GnpPositionLogger { + static DisplayModeManagerContainer238 aClass74_1519; + static int anInt1520; + static int[] anIntArray1521 = {7, 8, 9, 10, 11, 12, 13, 15}; + static int anInt1522; + static CommandHandler aClass82_1523; + + static final void method855(int i, int i_0_, int i_1_) { + anInt1520++; + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i_1_, (byte) 105, i);//6 + class348_sub42_sub15.method3246(i ^ ~0x6397); + class348_sub42_sub15.anInt9652 = i_0_; + } + + static final void method856(byte i) { + Component142.anInt4411 = 0; + DisplayModeManagerContainer204.anInt1597 = 0; + anInt1522++; + OggStreamReader.anInt9041++; + GpsOverlay.method1165(1); + BuildInfo.method204(-724138005); + DisplayModeManagerContainer292.method1318(-65536); + boolean bool = false; + for (int i_2_ = 0; i_2_ < Component142.anInt4411; i_2_++) { + int i_3_ = Component305.anIntArray9932[i_2_]; + NodeSub22 class348_sub22 = ((NodeSub22) Component21.aClass356_3654.get(i_3_, -6008)); + Npc npc = (class348_sub22.npc); + if (Component364.aBoolean8335 && HashNodeSub1.method3169(i_3_, 0)) ShaderProgramSub2.method2146((byte) 84); + if (OggStreamReader.anInt9041 != (npc.anInt10306)) { + if (npc.definition.method793(0)) Component298.method181(true, npc); + npc.method2448(null, -2); + class348_sub22.unlink((byte) 52); + bool = true; + } + } + if (bool) { + NodeSub32.anInt6930 = Component21.aClass356_3654.size(1); + Component21.aClass356_3654.method3477(3, DefinitionSub23.aClass348_Sub22Array9319); + } + if (DefinitionSub25.anInt9341 != Component80.aClass348_Sub49_Sub2_3813.offset) throw new RuntimeException("gnp1 pos:" + (Component80.aClass348_Sub49_Sub2_3813.offset) + " psize:" + DefinitionSub25.anInt9341); + if (i <= 47) aClass74_1519 = null; + for (int i_4_ = 0; Component324.anInt2057 > i_4_; i_4_++) { + if (Component21.aClass356_3654.get(DisplayModeManagerContainer238.anIntArray1233[i_4_], -6008) == null) throw new RuntimeException("gnp2 pos:" + i_4_ + " size:" + Component324.anInt2057); + } + if (NodeSub32.anInt6930 - Component324.anInt2057 != 0) throw new RuntimeException("gnp3 mis:" + (NodeSub32.anInt6930 - Component324.anInt2057)); + for (int i_5_ = 0; i_5_ < NodeSub32.anInt6930; i_5_++) { + if (DefinitionSub23.aClass348_Sub22Array9319[i_5_].npc.anInt10306 != OggStreamReader.anInt9041) throw new RuntimeException("gnp4 uk:" + (DefinitionSub23.aClass348_Sub22Array9319[i_5_].npc.anInt10290)); + } + } + + public static void method857(int i) { + anIntArray1521 = null; + aClass82_1523 = null; + aClass74_1519 = null; + if (i < 121) method856((byte) -72); + } + + static { + aClass74_1519 = new DisplayModeManagerContainer238(10, 8); + } +} diff --git a/client/src/GpiLogger.java b/client/src/GpiLogger.java new file mode 100644 index 000000000..df6b01ecd --- /dev/null +++ b/client/src/GpiLogger.java @@ -0,0 +1,174 @@ +/* GpiLogger - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub16_Sub1` (JODE-obfuscated). + * GPS/position logger. Extends NodeSub16; emits '---endgpp---' / 'gpi1 pos:' trace lines for the client's location/position debug stream. + */ + +final class GpiLogger extends NodeSub16 { + static int anInt8845; + static int anInt8846; + static int anInt8847; + NodeList aClass262_8848 = new NodeList(); + static int anInt8849; + static int anInt8850; + static int anInt8851; + private final BrowserUrlOpener aClass348_Sub16_Sub3_8852; + static DisplayModeManagerContainer238 aClass74_8853 = new DisplayModeManagerContainer238(11, 8); + static int anInt8854; + NodeSub16Sub4 aClass348_Sub16_Sub4_8855 = new NodeSub16Sub4(); + static int anInt8856; + static StringCache aClass351_8857 = new StringCache(54, 15); + static int anInt8858; + static int anInt8859; + + final NodeSub16 method2818() { + anInt8856++; + PlayerState class348_sub43; + do { + class348_sub43 = (PlayerState) this.aClass262_8848.next((byte) 122); + if (class348_sub43 == null) return null; + } while (class348_sub43.aClass348_Sub16_Sub5_7081 == null); + return class348_sub43.aClass348_Sub16_Sub5_7081; + } + + final void method2817(int[] is, int i, int i_0_) { + anInt8847++; + this.aClass348_Sub16_Sub4_8855.method2817(is, i, i_0_); + while_125_: + for (PlayerState class348_sub43 = ((PlayerState) this.aClass262_8848.first(4)); class348_sub43 != null; class348_sub43 = (PlayerState) this.aClass262_8848.next((byte) 121)) { + if (!aClass348_Sub16_Sub3_8852.method2847(-107, class348_sub43)) { + int i_1_ = i; + int i_2_ = i_0_; + while (class348_sub43.anInt7086 < i_2_) { + method2825(i_1_ + i_2_, class348_sub43, i_1_, (byte) -114, class348_sub43.anInt7086, is); + i_1_ += class348_sub43.anInt7086; + i_2_ -= class348_sub43.anInt7086; + if (aClass348_Sub16_Sub3_8852.method2852(is, i_2_, class348_sub43, i_1_, (byte) -4)) continue while_125_; + } + method2825(i_1_ + i_2_, class348_sub43, i_1_, (byte) -114, i_2_, is); + class348_sub43.anInt7086 -= i_2_; + } + } + } + + static final void method2822(int i, DisplayModeManagerContainer207 class348_sub49_sub2, int i_3_) { + MatrixSub3.anInt5768 = 0; + anInt8846++; + JagTheoraDecoder.aBoolean979 = false; + if (i < -17) { + NsnDefinition.method3094(-21478, class348_sub49_sub2); + Component121.method3612(75, class348_sub49_sub2); + if (JagTheoraDecoder.aBoolean979) System.out.println("---endgpp---"); + if (class348_sub49_sub2.offset != i_3_) throw new RuntimeException("gpi1 pos:" + class348_sub49_sub2.offset + " psize:" + i_3_); + } + } + + public static void method2823(int i) { + if (i != 0) method2823(33); + aClass351_8857 = null; + aClass74_8853 = null; + } + + private final void method2824(int i, byte i_4_, PlayerState class348_sub43) { + if (((aClass348_Sub16_Sub3_8852.anIntArray8895[class348_sub43.anInt7067]) & 0x4) != 0 && (class348_sub43.anInt7087 < 0)) { + int i_5_ = ((aClass348_Sub16_Sub3_8852.anIntArray8906[class348_sub43.anInt7067]) / Component231.sampleRate); + int i_6_ = ((-class348_sub43.anInt7082 + (1048575 + i_5_)) / i_5_); + class348_sub43.anInt7082 = (i_5_ * i + class348_sub43.anInt7082 & 0xfffff); + if (i_6_ <= i) { + if ((aClass348_Sub16_Sub3_8852.anIntArray8914[class348_sub43.anInt7067]) != 0) { + class348_sub43.aClass348_Sub16_Sub5_7081 = (NodeSub16Sub5.method2911((class348_sub43.aClass348_Sub19_Sub1_7077), class348_sub43.aClass348_Sub16_Sub5_7081.method2914(), 0, class348_sub43.aClass348_Sub16_Sub5_7081.method2892())); + aClass348_Sub16_Sub3_8852.method2874(95, (class348_sub43.aClass348_Sub17_7085.aShortArray6795[class348_sub43.anInt7071]) < 0, class348_sub43); + } else + class348_sub43.aClass348_Sub16_Sub5_7081 = (NodeSub16Sub5.method2911((class348_sub43.aClass348_Sub19_Sub1_7077), class348_sub43.aClass348_Sub16_Sub5_7081.method2914(), class348_sub43.aClass348_Sub16_Sub5_7081.method2906(), class348_sub43.aClass348_Sub16_Sub5_7081.method2892())); + if ((class348_sub43.aClass348_Sub17_7085.aShortArray6795[class348_sub43.anInt7071]) < 0) class348_sub43.aClass348_Sub16_Sub5_7081.method2917(-1); + i = class348_sub43.anInt7082 / i_5_; + } + } + anInt8849++; + int i_7_ = -70 / ((14 - i_4_) / 61); + class348_sub43.aClass348_Sub16_Sub5_7081.method2819(i); + } + + final int method2821() { + anInt8858++; + return 0; + } + + final void method2819(int i) { + this.aClass348_Sub16_Sub4_8855.method2819(i); + anInt8850++; + while_127_: + for (PlayerState class348_sub43 = ((PlayerState) this.aClass262_8848.first(4)); class348_sub43 != null; class348_sub43 = (PlayerState) this.aClass262_8848.next((byte) 38)) { + if (!aClass348_Sub16_Sub3_8852.method2847(53, class348_sub43)) { + int i_8_ = i; + while (i_8_ > class348_sub43.anInt7086) { + method2824(class348_sub43.anInt7086, (byte) 115, class348_sub43); + i_8_ -= class348_sub43.anInt7086; + if (aClass348_Sub16_Sub3_8852.method2852(null, i_8_, class348_sub43, 0, (byte) -4)) continue while_127_; + } + method2824(i_8_, (byte) 84, class348_sub43); + class348_sub43.anInt7086 -= i_8_; + } + } + } + + private final void method2825(int i, PlayerState class348_sub43, int i_9_, byte i_10_, int i_11_, int[] is) { + try { + anInt8859++; + if (i_10_ != -114) method2821(); + if ((0x4 & (aClass348_Sub16_Sub3_8852.anIntArray8895[class348_sub43.anInt7067])) != 0 && (class348_sub43.anInt7087 < 0)) { + int i_12_ = ((aClass348_Sub16_Sub3_8852.anIntArray8906[class348_sub43.anInt7067]) / Component231.sampleRate); + for (; ; ) { + int i_13_ = ((i_12_ + (1048575 + -class348_sub43.anInt7082)) / i_12_); + if (i_13_ > i_11_) break; + class348_sub43.aClass348_Sub16_Sub5_7081.method2817(is, i_9_, i_13_); + i_9_ += i_13_; + class348_sub43.anInt7082 += -1048576 + i_12_ * i_13_; + i_11_ -= i_13_; + int i_14_ = Component231.sampleRate / 100; + int i_15_ = 262144 / i_12_; + if (i_15_ < i_14_) i_14_ = i_15_; + NodeSub16Sub5 class348_sub16_sub5 = (class348_sub43.aClass348_Sub16_Sub5_7081); + if ((aClass348_Sub16_Sub3_8852.anIntArray8914[class348_sub43.anInt7067]) != 0) { + class348_sub43.aClass348_Sub16_Sub5_7081 = (NodeSub16Sub5.method2911((class348_sub43.aClass348_Sub19_Sub1_7077), class348_sub16_sub5.method2914(), 0, class348_sub16_sub5.method2892())); + aClass348_Sub16_Sub3_8852.method2874(116, ((class348_sub43.aClass348_Sub17_7085.aShortArray6795[class348_sub43.anInt7071]) < 0), class348_sub43); + class348_sub43.aClass348_Sub16_Sub5_7081.method2916(i_14_, class348_sub16_sub5.method2906()); + } else class348_sub43.aClass348_Sub16_Sub5_7081 = (NodeSub16Sub5.method2911((class348_sub43.aClass348_Sub19_Sub1_7077), class348_sub16_sub5.method2914(), class348_sub16_sub5.method2906(), class348_sub16_sub5.method2892())); + if ((class348_sub43.aClass348_Sub17_7085.aShortArray6795[class348_sub43.anInt7071]) < 0) class348_sub43.aClass348_Sub16_Sub5_7081.method2917(-1); + class348_sub16_sub5.method2902(i_14_); + class348_sub16_sub5.method2817(is, i_9_, -i_9_ + i); + if (class348_sub16_sub5.method2895()) this.aClass348_Sub16_Sub4_8855.method2883(class348_sub16_sub5); + } + class348_sub43.anInt7082 += i_11_ * i_12_; + } + class348_sub43.aClass348_Sub16_Sub5_7081.method2817(is, i_9_, i_11_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bea.H(" + i + ',' + (class348_sub43 != null ? "{...}" : "null") + ',' + i_9_ + ',' + i_10_ + ',' + i_11_ + ',' + (is != null ? "{...}" : "null") + ')')); + } + } + + static final DisplayModeManagerContainer32 method2826(int i) { + anInt8845++; + try { + return new Component12(); + } catch (Throwable throwable) { + if (i != 15) return null; + return new Component375(); + } + } + + final NodeSub16 method2816() { + anInt8851++; + PlayerState class348_sub43 = ((PlayerState) this.aClass262_8848.first(4)); + if (class348_sub43 == null) return null; + if (class348_sub43.aClass348_Sub16_Sub5_7081 != null) return class348_sub43.aClass348_Sub16_Sub5_7081; + return method2818(); + } + + GpiLogger(BrowserUrlOpener class348_sub16_sub3) { + aClass348_Sub16_Sub3_8852 = class348_sub16_sub3; + } +} diff --git a/client/src/HardwareProbe.java b/client/src/HardwareProbe.java new file mode 100644 index 000000000..e36a8561d --- /dev/null +++ b/client/src/HardwareProbe.java @@ -0,0 +1,201 @@ +/* HardwareProbe - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub4` (JODE-obfuscated). + * Hardware information probe node (extends renamed Node). Imports jaclib.hardware_info.HardwareInfo and collects machine specs (CPU/GPU/memory) as int/String fields for the client's system-info reporting. + */ + +import jaclib.hardware_info.HardwareInfo; + +final class HardwareProbe extends Node { + private int anInt6591; + private int anInt6592; + static int anInt6593; + /** 1=Sun, 2=Microsoft, 3=Apple, 4=other. */ + private int javaVendorId; + /** Encoded OS version bucket from {@link ReflectionInvoker#osVersion}. */ + private int osVersionId; + private int anInt6596; + private String aString6597; + private int anInt6598; + private int anInt6599; + static int anInt6600; + static Component253 aClass248_6601; + static Component75 aClass173_6602 = new Component75(); + private int anInt6603; + private String aString6604; + /** Parsed Java minor version. */ + private int javaMinor; + private int anInt6606; + /** True when the applet is unsigned (!{@link ReflectionInvoker#signed}). */ + private boolean unsignedClient; + private boolean aBoolean6608; + int anInt6609; + private String aString6610; + static int anInt6611; + /** Parsed Java patch/update number. */ + private int javaPatch; + private int anInt6613; + private String aString6614; + static int anInt6615; + /** Parsed Java major version. */ + private int javaMajor; + private int anInt6617; + + private final void method2745(int i) { + if (aString6604.length() > 40) aString6604 = aString6604.substring(0, 40); + anInt6615++; + if (aString6614.length() > 40) aString6614 = aString6614.substring(0, 40); + if (aString6610.length() > i) aString6610 = aString6610.substring(0, 10); + if (aString6597.length() > 10) aString6597 = aString6597.substring(0, 10); + } + + final int method2746(byte i) { + anInt6600++; + int i_0_ = 23; + i_0_ += Component118.method2186((byte) -114, aString6604); + i_0_ += Component118.method2186((byte) -114, aString6614); + i_0_ += Component118.method2186((byte) -114, aString6610); + int i_1_ = 42 % ((44 - i) / 49); + i_0_ += Component118.method2186((byte) -114, aString6597); + return i_0_; + } + + final void method2747(int i, Buffer class348_sub49) { + class348_sub49.writeByte(false, 5); + anInt6611++; + class348_sub49.writeByte(false, anInt6613); + class348_sub49.writeByte(false, aBoolean6608 ? 1 : 0); + class348_sub49.writeByte(false, osVersionId); + class348_sub49.writeByte(false, javaVendorId); + class348_sub49.writeByte(false, javaMajor); + class348_sub49.writeByte(false, javaMinor); + class348_sub49.writeByte(false, javaPatch); + class348_sub49.writeByte(false, !unsignedClient ? 0 : 1); + class348_sub49.writeShort((byte) 107, anInt6592); + class348_sub49.writeByte(false, anInt6599); + class348_sub49.writeMedium(i ^ ~0x26b6, this.anInt6609); + class348_sub49.writeShort((byte) 107, anInt6591); + class348_sub49.writeByte(false, anInt6598); + class348_sub49.writeByte(false, anInt6596); + class348_sub49.writeByte(false, anInt6603); + class348_sub49.writeGjstr2(aString6604, 123); + class348_sub49.writeGjstr2(aString6614, -45); + class348_sub49.writeGjstr2(aString6610, 100); + if (i == 1) { + class348_sub49.writeGjstr2(aString6597, -14); + class348_sub49.writeByte(false, anInt6606); + class348_sub49.writeShort((byte) 107, anInt6617); + } + } + + public static void method2748(int i) { + int i_2_ = 80 / ((52 - i) / 57); + aClass173_6602 = null; + aClass248_6601 = null; + } + + static final int method2749(int i) { + if (i != -1) method2749(20); + anInt6593++; + return NodeBaseSub1.anInt9774; + } + + public HardwareProbe() { + /* empty */ + } + + HardwareProbe(boolean bool, ReflectionInvoker class297) { + if (bool) { + if (ReflectionInvoker.aString3803.startsWith("win")) anInt6613 = 1; + else if (ReflectionInvoker.aString3803.startsWith("mac")) anInt6613 = 2; + else if (ReflectionInvoker.aString3803.startsWith("linux")) anInt6613 = 3; + else anInt6613 = 4; + aBoolean6608 = ReflectionInvoker.osArch.startsWith("amd64") || ReflectionInvoker.osArch.startsWith("x86_64"); + if (anInt6613 != 1) { + if (anInt6613 == 2) { + if (ReflectionInvoker.osVersion.indexOf("10.4") == -1) { + if (ReflectionInvoker.osVersion.indexOf("10.5") == -1) { + if (ReflectionInvoker.osVersion.indexOf("10.6") != -1) osVersionId = 22; + } else osVersionId = 21; + } else osVersionId = 20; + } + } else if (ReflectionInvoker.osVersion.indexOf("4.0") != -1) osVersionId = 1; + else if (ReflectionInvoker.osVersion.indexOf("4.1") == -1) { + if (ReflectionInvoker.osVersion.indexOf("4.9") == -1) { + if (ReflectionInvoker.osVersion.indexOf("5.0") != -1) osVersionId = 4; + else if (ReflectionInvoker.osVersion.indexOf("5.1") == -1) { + if (ReflectionInvoker.osVersion.indexOf("6.0") != -1) osVersionId = 6; + else if (ReflectionInvoker.osVersion.indexOf("6.1") != -1) osVersionId = 7; + } else osVersionId = 5; + } else osVersionId = 3; + } else osVersionId = 2; + if (ReflectionInvoker.javaVendor.toLowerCase().indexOf("sun") != -1) javaVendorId = 1; + else if (ReflectionInvoker.javaVendor.toLowerCase().indexOf("microsoft") == -1) { + if (ReflectionInvoker.javaVendor.toLowerCase().indexOf("apple") != -1) javaVendorId = 3; + else javaVendorId = 4; + } else javaVendorId = 2; + boolean oldJava = ReflectionInvoker.javaVersion.startsWith("1."); + int i = oldJava ? 2 : 0; + int i_3_ = 0; + try { + while (ReflectionInvoker.javaVersion.length() > i) { + int i_4_ = ReflectionInvoker.javaVersion.charAt(i); + if (i_4_ < 48 || i_4_ > 57) break; + i++; + i_3_ = i_3_ * 10 - -i_4_ + -48; + } + } catch (Exception exception) { + /* empty */ + } + javaMajor = i_3_; + i = ReflectionInvoker.javaVersion.indexOf('.', 2) - -1; + i_3_ = 0; + try { + for (/**/; (i < ReflectionInvoker.javaVersion.length()); i++) { + int i_5_ = ReflectionInvoker.javaVersion.charAt(i); + if (i_5_ < 48 || i_5_ > 57) break; + i_3_ = i_3_ * 10 + i_5_ + -48; + } + } catch (Exception exception) { + /* empty */ + } + javaMinor = i_3_; + i_3_ = 0; + i = 1 + ReflectionInvoker.javaVersion.indexOf(oldJava ? '_' : '.', 4); + try { + for (/**/; ReflectionInvoker.javaVersion.length() > i; i++) { + int i_6_ = ReflectionInvoker.javaVersion.charAt(i); + if (i_6_ < 48 || i_6_ > 57) break; + i_3_ = i_6_ + -48 + i_3_ * 10; + } + } catch (Exception exception) { + /* empty */ + } + unsignedClient = !class297.signed; + javaPatch = i_3_; + anInt6592 = Component127.anInt2964; + if (javaMajor <= 3) anInt6599 = 0; + else anInt6599 = DefinitionSub29.anInt9372; + try { + int[] is = HardwareInfo.getCPUInfo(); + if (is != null && is.length == 7) { + anInt6598 = is[3]; + anInt6596 = is[4]; + anInt6591 = is[2]; + anInt6603 = is[5]; + this.anInt6609 = is[6]; + } + } catch (Throwable throwable) { + this.anInt6609 = 0; + } + } + if (aString6610 == null) aString6610 = ""; + if (aString6604 == null) aString6604 = ""; + if (aString6597 == null) aString6597 = ""; + if (aString6614 == null) aString6614 = ""; + method2745(10); + } +} diff --git a/client/src/HeapDumpHelper.java b/client/src/HeapDumpHelper.java new file mode 100644 index 000000000..f07b862b3 --- /dev/null +++ b/client/src/HeapDumpHelper.java @@ -0,0 +1,87 @@ +/* HeapDumpHelper - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class158` (JODE-obfuscated). + * Heap-dump trigger helper. implements Interface12; dumpHeapToFile(File,boolean,boolean) obtains a HotSpotDiagnosticMXBean and calls dumpHeap (delegating to HeapDumper.ensureHotSpotDiagnostic); logs 'HeapDump error:'. + */ + +import com.sun.management.HotSpotDiagnosticMXBean; + +import java.io.File; +import java.lang.reflect.Method; + +final class HeapDumpHelper implements Interface12 { + int anInt4931; + int anInt4932; + static int anInt4933; + static LruCache aClass356_4934 = new LruCache(8); + int anInt4935; + int anInt4936; + int anInt4937; + static Component80 aClass299_4938; + static int anInt4939; + int anInt4940; + static int anInt4941; + String aString4942; + int anInt4943; + int anInt4944; + DisplayModeManagerContainer196 aClass341_4945; + int anInt4946; + int anInt4947; + Component85 aClass221_4948; + /*synthetic*/ static Class aClass4949; + + static final void dumpHeapToFile(File file, boolean bool, boolean bool_0_) { + if (Component39.anObject2256 == null) HeapDumper.ensureHotSpotDiagnostic((byte) 26); + anInt4939++; + if (bool_0_ != false) aClass299_4938 = null; + try { + Method method = (HotSpotDiagnosticMXBean.class.getDeclaredMethod("dumpHeap", (aClass4949 != null ? aClass4949 : (aClass4949 = String.class)), Boolean.TYPE)); + method.invoke(Component39.anObject2256, file.getAbsolutePath(), new Boolean(bool)); + } catch (Exception exception) { + System.out.println("HeapDump error:"); + exception.printStackTrace(); + } + } + + public final DisplayModeManagerContainer369 method51(byte i) { + anInt4941++; + if (i <= 116) aClass299_4938 = null; + return RadixParser.aClass223_2307; + } + + static final Component85[] method1248(int i) { + anInt4933++; + if (i < 11) aClass299_4938 = null; + return (new Component85[]{Component364.aClass221_8344, Component65.aClass221_1620, DisplayModeManagerContainer369.aClass221_2893}); + } + + public static void method1249(boolean bool) { + if (bool != true) method1248(-21); + aClass356_4934 = null; + aClass299_4938 = null; + } + + HeapDumpHelper(String string, Component85 class221, DisplayModeManagerContainer196 class341, int i, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_) { + try { + this.anInt4946 = i_3_; + this.anInt4932 = i_1_; + this.anInt4943 = i_2_; + this.anInt4944 = i_7_; + this.aString4942 = string; + this.aClass221_4948 = class221; + this.anInt4931 = i_5_; + this.anInt4940 = i_9_; + this.anInt4947 = i; + this.aClass341_4945 = class341; + this.anInt4936 = i_6_; + this.anInt4935 = i_8_; + this.anInt4937 = i_4_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ot.(" + (string != null ? "{...}" : "null") + ',' + (class221 != null ? "{...}" : "null") + ',' + (class341 != null ? "{...}" : "null") + ',' + i + ',' + i_1_ + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ',' + i_5_ + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ',' + i_9_ + ')')); + } + } + +} diff --git a/client/src/HeapDumper.java b/client/src/HeapDumper.java new file mode 100644 index 000000000..13d366503 --- /dev/null +++ b/client/src/HeapDumper.java @@ -0,0 +1,259 @@ +/* HeapDumper - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class133` (JODE-obfuscated). + * JVM heap-dump / diagnostics utility. Obtains a HotSpotDiagnosticMXBean via ManagementFactory.newPlatformMXBeanProxy and exposes heap-dump control (clearStatics/resetGraphicsPreferences). + */ + +import com.sun.management.HotSpotDiagnosticMXBean; + +import java.lang.management.ManagementFactory; + +final class HeapDumper { + static int anInt1912; + static int anInt1913; + static Component183 aClass114_1914 = new Component183(84, 7); + static boolean aBoolean1915 = false; + static int anInt1916; + static Component183 aClass114_1917 = new Component183(20, -2); + static byte[][] aByteArrayArray1918 = new byte[250][]; + /*synthetic*/ static Class aClass1919; + /*synthetic*/ static Class aClass1920; + + public static void clearStatics(int i) { + if (i == 2767) { + aByteArrayArray1918 = null; + aClass114_1917 = null; + aClass114_1914 = null; + } + } + + /** Force safe default graphics prefs (safe mode) and mark prefs dirty. */ + static final void resetGraphicsPreferences(int i) { + anInt1916++; + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub27_7255), 1); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub27_7261), 1); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub14_7250), 2); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub14_7264), 2); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub4_7220), 1); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub9_7256), 1); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub13_7236), 1); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub1_7246), 1); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub21_7270), 1); + if (i >= 45) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub24_7235), 1); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub7_7238), 2); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub28_7230), 1); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub18_7259), 2); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub16_7247), 1); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub20_7216), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub20_7248), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub15_7224), 2); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub6_7226), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub12_7243), 0); + DisplayModeManagerContainer87.method1686(-127); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub23_7231), 0); + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub29_7229), 4); + Definition.method3038(-1); + DisplayModeManagerContainer154.method773(true); + RuntimeException_Sub1.aBoolean4604 = true; + } + } + + /** + * Decode a player appearance/update mask from {@code class348_sub49_sub2} into {@code player} + * (anim, hitsplats, chat, force-move, etc.). + */ + static final void decodePlayerUpdate(DisplayModeManagerContainer207 class348_sub49_sub2, int i, int i_0_, int i_1_, Player player) { + do { + try { + anInt1912++; + if (i_1_ >= 41) { + byte i_2_ = -1; + if ((i_0_ & 0x1) != 0) { + int i_3_ = class348_sub49_sub2.readUnsignedShort(842397944); + if (i_3_ == 65535) i_3_ = -1; + player.anInt10275 = i_3_; + } + if ((0x10000 & i_0_) != 0) { + int i_4_ = class348_sub49_sub2.readUnsignedByte(255); + int[] is = new int[i_4_]; + int[] is_5_ = new int[i_4_]; + for (int i_6_ = 0; i_6_ < i_4_; i_6_++) { + int i_7_ = class348_sub49_sub2.readShortAddLittle(-118); + if ((i_7_ & 0xc000) == 49152) { + int i_8_ = class348_sub49_sub2.readShortLittle(false); + is[i_6_] = Component224.bitwiseOr(i_7_ << 16, i_8_); + } else is[i_6_] = i_7_; + is_5_[i_6_] = class348_sub49_sub2.readShortLittle(false); + } + player.method2430(is_5_, is, -116); + } + if ((0x400 & i_0_) != 0) { + int i_9_ = class348_sub49_sub2.readShortLittle(false); + player.anInt10227 = class348_sub49_sub2.readUnsignedByteSubtract((byte) -94); + player.anInt10271 = class348_sub49_sub2.readUnsignedByteSubtract((byte) -104); + player.anInt10210 = 0x7fff & i_9_; + player.aBoolean10226 = (i_9_ & 0x8000) != 0; + player.anInt10287 = (player.anInt10210 + (OpenGlShader.clientCycle + (player.anInt10227))); + } + if ((0x1000 & i_0_) != 0) { + player.aString10292 = class348_sub49_sub2.readString((byte) 110); + if (player.aString10292.charAt(0) == '~') { + player.aString10292 = player.aString10292.substring(1); + ShaderProgramSub2.method2144(player.getName(false, -70), 2, (byte) -116, 0, player.aString10292, player.method2456(true, 255), player.displayName); + } else if (Component72.localPlayer == player) + ShaderProgramSub2.method2144(player.getName(false, -88), 2, (byte) -102, 0, (player.aString10292), player.method2456(true, 255), (player.displayName)); + player.anInt10264 = 150; + player.anInt10234 = 0; + player.anInt10201 = 0; + } + if ((i_0_ & 0x4) != 0) { + int i_10_ = class348_sub49_sub2.readByteInverse((byte) 21); + if (i_10_ > 0) { + for (int i_11_ = 0; i_10_ > i_11_; i_11_++) { + int i_12_ = -1; + int i_13_ = -1; + int i_14_ = class348_sub49_sub2.readSmart(-127); + int i_15_ = -1; + if (i_14_ == 32767) { + i_14_ = class348_sub49_sub2.readSmart(-125); + i_13_ = class348_sub49_sub2.readSmart(-126); + i_12_ = class348_sub49_sub2.readSmart(-128); + i_15_ = class348_sub49_sub2.readSmart(-122); + } else if (i_14_ != 32766) i_13_ = class348_sub49_sub2.readSmart(-117); + else i_14_ = -1; + int i_16_ = class348_sub49_sub2.readSmart(-123); + int i_17_ = class348_sub49_sub2.readByteAdd((byte) -98); + player.method2438(i_13_, OpenGlShader.clientCycle, i_14_, i_15_, i_12_, i_16_, i_17_, (byte) 102); + } + } + } + if ((i_0_ & 0x2) != 0) { + player.anInt10524 = class348_sub49_sub2.readUnsignedShort(842397944); + if (player.anInt10319 == 0) { + player.method2440((byte) 49, player.anInt10524); + player.anInt10524 = -1; + } + } + if ((0x8000 & i_0_) != 0) { + player.aBoolean10554 = class348_sub49_sub2.readByteAdd((byte) -94) == 1; + } + if ((i_0_ & 0x100) != 0) { + int i_18_ = class348_sub49_sub2.readByteInverse((byte) 21); + int[] is = new int[i_18_]; + int[] is_19_ = new int[i_18_]; + int[] is_20_ = new int[i_18_]; + for (int i_21_ = 0; i_21_ < i_18_; i_21_++) { + int i_22_ = class348_sub49_sub2.readUnsignedShort(842397944); + if (i_22_ == 65535) i_22_ = -1; + is[i_21_] = i_22_; + is_19_[i_21_] = class348_sub49_sub2.readByteInverse((byte) 21); + is_20_[i_21_] = class348_sub49_sub2.readUnsignedShort(842397944); + } + Component385.method1297((byte) -116, player, is_20_, is, is_19_); + } + if ((0x2000 & i_0_) != 0) { + player.anInt10293 = class348_sub49_sub2.readByte(-121); + player.anInt10314 = class348_sub49_sub2.readByteSubtract(-27697); + player.anInt10241 = class348_sub49_sub2.readByteInverse(-622951480); + player.anInt10288 = class348_sub49_sub2.readByteInverse(-622951480); + player.anInt10239 = (class348_sub49_sub2.readShortAddLittle(-118) - -OpenGlShader.clientCycle); + player.anInt10300 = (class348_sub49_sub2.readShortAdd(19) - -OpenGlShader.clientCycle); + player.anInt10231 = class348_sub49_sub2.readUnsignedByte(255); + player.anInt10322 = 0; + if (player.aBoolean10539) { + player.anInt10288 += player.anInt10531; + player.anInt10293 += player.anInt10549; + player.anInt10314 += player.anInt10531; + player.anInt10241 += player.anInt10549; + player.anInt10319 = 0; + } else { + player.anInt10241 += (player.anIntArray10320[0]); + player.anInt10288 += (player.anIntArray10317[0]); + player.anInt10319 = 1; + player.anInt10314 += (player.anIntArray10317[0]); + player.anInt10293 += (player.anIntArray10320[0]); + } + } + if ((0x200 & i_0_) != 0) { + int i_23_ = class348_sub49_sub2.readShortAddLittle(-107); + if (i_23_ == 65535) i_23_ = -1; + int i_24_ = class348_sub49_sub2.readIntLittle((byte) -121); + int i_25_ = class348_sub49_sub2.readUnsignedByteSubtract((byte) 54); + int i_26_ = i_25_ & 0x7; + int i_27_ = 0xf & i_25_ >> 3; + if (i_27_ == 15) i_27_ = -1; + player.method2437(i_26_, i_23_, -1012294866, i_27_, true, i_24_); + } + if ((i_0_ & 0x40000) != 0) { + player.aByte10255 = class348_sub49_sub2.readByteInverse(-622951480); + player.aByte10206 = class348_sub49_sub2.readByte(-99); + player.aByte10270 = class348_sub49_sub2.readByte(-87); + player.aByte10279 = (byte) class348_sub49_sub2.readUnsignedByte(255); + player.anInt10248 = (OpenGlShader.clientCycle + class348_sub49_sub2.readShortAddLittle(-120)); + player.anInt10250 = (OpenGlShader.clientCycle + class348_sub49_sub2.readShortAdd(125)); + } + if ((i_0_ & 0x80) != 0) { + Component293.aByteArray3300[i] = class348_sub49_sub2.readByteSubtract(-27697); + } + if ((i_0_ & 0x20) != 0) { + int i_28_ = class348_sub49_sub2.readShortAddLittle(-126); + if (i_28_ == 65535) i_28_ = -1; + int i_29_ = class348_sub49_sub2.readIntInverseMiddle(255); + int i_30_ = class348_sub49_sub2.readByteAdd((byte) -125); + int i_31_ = i_30_ & 0x7; + int i_32_ = (0x78 & i_30_) >> 3; + if (i_32_ == 15) i_32_ = -1; + player.method2437(i_31_, i_28_, -1012294866, i_32_, false, i_29_); + } + if ((0x8 & i_0_) != 0) { + int[] is = new int[4]; + for (int i_33_ = 0; i_33_ < 4; i_33_++) { + is[i_33_] = class348_sub49_sub2.readShortAdd(123); + if (is[i_33_] == 65535) is[i_33_] = -1; + } + int i_34_ = class348_sub49_sub2.readByteAdd((byte) -101); + Component25.method1791(23946, is, i_34_, player); + } + if ((i_0_ & 0x10) != 0) { + int i_35_ = class348_sub49_sub2.readUnsignedByte(255); + byte[] is = new byte[i_35_]; + Buffer class348_sub49 = new Buffer(is); + class348_sub49_sub2.readBytesReverse(is, 0, i_35_, (byte) -124); + Component101.aClass348_Sub49Array2105[i] = class348_sub49; + player.method2452((byte) 84, class348_sub49); + } + if ((0x800 & i_0_) != 0) i_2_ = class348_sub49_sub2.readByteInverse(-622951480); + if (!player.aBoolean10539) break; + if (i_2_ != 127) { + byte i_36_; + if (i_2_ != -1) i_36_ = i_2_; + else i_36_ = Component293.aByteArray3300[i]; + Component140.method3208(player, i_36_, -21); + player.method2455(player.anInt10531, -26443, i_36_, player.anInt10549); + } else player.method2449(player.anInt10531, player.anInt10549, (byte) 84); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ns.A(" + (class348_sub49_sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + i_1_ + ',' + (player != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + /** Lazily obtain HotSpotDiagnosticMXBean into Component39.anObject2256. */ + static final synchronized void ensureHotSpotDiagnostic(byte i) { + anInt1913++; + if (Component39.anObject2256 == null) { + try { + Component39.anObject2256 = ManagementFactory.newPlatformMXBeanProxy(ManagementFactory.getPlatformMBeanServer(), "com.sun.management:type=HotSpotDiagnostic", HotSpotDiagnosticMXBean.class); + } catch (Exception exception) { + System.out.println("HeapDump setup error:"); + exception.printStackTrace(); + } + } + } + +} diff --git a/client/src/IOException_Sub1.java b/client/src/IOException_Sub1.java index 4397bcd4a..c742e6547 100644 --- a/client/src/IOException_Sub1.java +++ b/client/src/IOException_Sub1.java @@ -9,10 +9,11 @@ final class IOException_Sub1 extends IOException { static int anInt87; static int anInt88; static int anInt89; - static Class114 aClass114_90 = new Class114(42, -1); + static Component183 aClass114_90 = new Component183(42, -1); static int[] anIntArray91 = new int[8]; - static final void method129(int i, int i_0_, long[] ls, int i_1_, int[] is) { + /** Quick-sort {@code ls[i..i_1_]} and mirror swaps into parallel {@code is}. */ + static final void quickSortParallel(int i, int i_0_, long[] ls, int i_1_, int[] is) { do { try { anInt89++; @@ -40,32 +41,33 @@ static final void method129(int i, int i_0_, long[] ls, int i_1_, int[] is) { ls[i_3_] = l; is[i_1_] = is[i_3_]; is[i_3_] = i_4_; - method129(i, -126, ls, -1 + i_3_, is); - method129(1 + i_3_, -81, ls, i_1_, is); + quickSortParallel(i, -126, ls, -1 + i_3_, is); + quickSortParallel(1 + i_3_, -81, ls, i_1_, is); } if (i_0_ < -72) break; - method130(99); + clearStatics(99); } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("gv.A(" + i + ',' + i_0_ + ',' + (ls != null ? "{...}" : "null") + ',' + i_1_ + ',' + (is != null ? "{...}" : "null") + ')')); + throw NpcDefinition.wrapThrowable(runtimeexception, ("gv.A(" + i + ',' + i_0_ + ',' + (ls != null ? "{...}" : "null") + ',' + i_1_ + ',' + (is != null ? "{...}" : "null") + ')')); } break; } while (false); } - public static void method130(int i) { + public static void clearStatics(int i) { if (i == 8) { anIntArray91 = null; aClass114_90 = null; } } - static final void method131(boolean bool, int i, boolean bool_9_, int i_10_) { + /** Set {@link Component21#stereo}, {@link Component231#sampleRate}, and mixer thread priority. */ + static final void configureAudio(boolean bool, int i, boolean bool_9_, int i_10_) { anInt87++; if (i_10_ < 8000 || i_10_ > 48000) throw new IllegalArgumentException(); - Class253.anInt3248 = i; - Class22.anInt339 = i_10_; - Class282.aBoolean3652 = bool; - if (bool_9_ != true) method130(-125); + Component193.audioThreadPriority = i; + Component231.sampleRate = i_10_; + Component21.stereo = bool; + if (bool_9_ != true) clearStatics(-125); } IOException_Sub1(String string) { diff --git a/client/src/InputHandler.java b/client/src/InputHandler.java new file mode 100644 index 000000000..96fa96214 --- /dev/null +++ b/client/src/InputHandler.java @@ -0,0 +1,42 @@ +/* InputHandler - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class346` (JODE-obfuscated). + * Abstract base for input handlers. Declares sync/2696/2697(->Interface6)/2698; subclass KeyFocusHandler implements KeyListener + FocusListener. + */ + +abstract class InputHandler { + static int anInt4274; + static boolean aBoolean4275; + static int anInt4276; + static int anInt4277; + + abstract void sync(int i); + + abstract boolean isKeyDown(int i, int i_0_); + + public InputHandler() { + /* empty */ + } + + abstract Interface6 popKeyEvent(int i); + + abstract void reset(int i); + + /** Quantize {@code fs} into {@code is} as {@code (short)(fs * 16383)}. */ + static final short[][] quantizeFloatsToShorts(int i, short[][] is, float[][] fs) { + try { + if (i != 16383) return null; + for (int i_1_ = 0; fs.length > i_1_; i_1_++) { + for (int i_2_ = 0; i_2_ < is[i_1_].length; i_2_++) + is[i_1_][i_2_] = (short) (int) (16383.0F * fs[i_1_][i_2_]); + } + anInt4277++; + return is; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("efa.L(" + i + ',' + (is != null ? "{...}" : "null") + ',' + (fs != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/src/InputStream_Sub1.java b/client/src/InputStream_Sub1.java deleted file mode 100644 index bf7e819ed..000000000 --- a/client/src/InputStream_Sub1.java +++ /dev/null @@ -1,129 +0,0 @@ -/* InputStream_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.InputStream; - -final class InputStream_Sub1 extends InputStream { - static int anInt71; - static int anInt72; - static int anInt73; - static int anInt74; - static long[][] aLongArrayArray75; - static long[] aLongArray76 = new long[11]; - static Class351 aClass351_77; - static int anInt78; - static Class114 aClass114_79; - - public static void method124(int i) { - aLongArrayArray75 = null; - if (i == 2) { - aClass351_77 = null; - aLongArray76 = null; - aClass114_79 = null; - } - } - - static final boolean method125(int i, int i_0_, int i_1_, Class318_Sub1_Sub4 class318_sub1_sub4, byte i_2_) { - anInt72++; - if (!Class348_Sub40_Sub23.aBoolean9307 || !Class23.aBoolean351) return false; - if (Class225.anInt2946 < 100) return false; - if (!aa_Sub2.method164(i_1_, i_0_, (byte) -97, i)) return false; - int i_3_ = i_0_ << Class362.anInt4459; - int i_4_ = i << Class362.anInt4459; - if (i_2_ != 120) return false; - int i_5_ = -1 + aa_Sub1.aSArray5191[i_1_].method3982((byte) -86, i, i_0_); - int i_6_ = i_5_ + class318_sub1_sub4.method2394(true); - if (class318_sub1_sub4.aShort8759 == 1) { - if (!Class286_Sub7.method2169(i_3_, i_3_, i_4_, i_3_, Class270.anInt3465 + i_4_, i_6_, i_6_, i_5_, i_4_, false)) return false; - if (!Class286_Sub7.method2169(i_3_, i_3_, i_4_, i_3_, Class270.anInt3465 + i_4_, i_5_, i_6_, i_5_, i_4_ + Class270.anInt3465, false)) return false; - Class42.anInt562++; - return true; - } - if (class318_sub1_sub4.aShort8759 == 2) { - if (!Class286_Sub7.method2169(i_3_, i_3_ - -Class270.anInt3465, i_4_ - -Class270.anInt3465, i_3_, Class270.anInt3465 + i_4_, i_6_, i_6_, i_5_, i_4_ - -Class270.anInt3465, false)) return false; - if (!Class286_Sub7.method2169(i_3_, Class270.anInt3465 + i_3_, i_4_ + Class270.anInt3465, Class270.anInt3465 + i_3_, Class270.anInt3465 + i_4_, i_6_, i_5_, i_5_, i_4_ - -Class270.anInt3465, false)) return false; - Class42.anInt562++; - return true; - } - if (class318_sub1_sub4.aShort8759 == 4) { - if (!Class286_Sub7.method2169(i_3_ + Class270.anInt3465, Class270.anInt3465 + i_3_, i_4_, Class270.anInt3465 + i_3_, i_4_ - -Class270.anInt3465, i_6_, i_6_, i_5_, i_4_, false)) return false; - if (!Class286_Sub7.method2169(i_3_ + Class270.anInt3465, i_3_ - -Class270.anInt3465, i_4_, Class270.anInt3465 + i_3_, i_4_ - -Class270.anInt3465, i_5_, i_6_, i_5_, Class270.anInt3465 + i_4_, false)) return false; - Class42.anInt562++; - return true; - } - if (class318_sub1_sub4.aShort8759 == 8) { - if (!Class286_Sub7.method2169(i_3_, Class270.anInt3465 + i_3_, i_4_, i_3_, i_4_, i_6_, i_6_, i_5_, i_4_, false)) return false; - if (!Class286_Sub7.method2169(i_3_, i_3_ + Class270.anInt3465, i_4_, Class270.anInt3465 + i_3_, i_4_, i_6_, i_5_, i_5_, i_4_, false)) return false; - Class42.anInt562++; - return true; - } - if (class318_sub1_sub4.aShort8759 == 16) { - if (!Class121.method1084(i_6_, Class348_Sub23_Sub2.anInt9037, Class348_Sub23_Sub2.anInt9037 + i_4_, i_3_, i_5_, Class348_Sub23_Sub2.anInt9037, 18507)) return false; - Class42.anInt562++; - return true; - } - if (class318_sub1_sub4.aShort8759 == 32) { - if (!Class121.method1084(i_6_, Class348_Sub23_Sub2.anInt9037, Class348_Sub23_Sub2.anInt9037 + i_4_, i_3_ + Class348_Sub23_Sub2.anInt9037, i_5_, Class348_Sub23_Sub2.anInt9037, 18507)) return false; - Class42.anInt562++; - return true; - } - if (class318_sub1_sub4.aShort8759 == 64) { - if (!Class121.method1084(i_6_, Class348_Sub23_Sub2.anInt9037, i_4_, Class348_Sub23_Sub2.anInt9037 + i_3_, i_5_, Class348_Sub23_Sub2.anInt9037, 18507)) return false; - Class42.anInt562++; - return true; - } - if (class318_sub1_sub4.aShort8759 == 128) { - if (!Class121.method1084(i_6_, Class348_Sub23_Sub2.anInt9037, i_4_, i_3_, i_5_, Class348_Sub23_Sub2.anInt9037, 18507)) return false; - Class42.anInt562++; - return true; - } - return true; - } - - public final int read() { - anInt74++; - Class286_Sub5.method2161((byte) 31, 30000L); - return -1; - } - - static final void method126(int i) { - Class318_Sub1_Sub3_Sub3.method2433(); - anInt73++; - for (int i_7_ = 0; i_7_ < 4; i_7_++) - Class348_Sub45.aClass361Array7108[i_7_].method3500(700); - if (i != -16203) method125(125, -95, 109, null, (byte) -52); - Class50_Sub2.method464(-1); - Class348_Sub18.method2938((byte) 98); - Class239_Sub12.method1772(28); - System.gc(); - Class348_Sub8.aHa6654.ya(); - } - - static { - aLongArrayArray75 = new long[8][256]; - for (int i = 0; i < 256; i++) { - int i_8_ = "\u1823\uc6e8\u87b8\u014f\u36a6\ud2f5\u796f\u9152\u60bc\u9b8e\ua30c\u7b35\u1de0\ud7c2\u2e4b\ufe57\u1577\u37e5\u9ff0\u4ada\u58c9\u290a\ub1a0\u6b85\ubd5d\u10f4\ucb3e\u0567\ue427\u418b\ua77d\u95d8\ufbee\u7c66\udd17\u479e\uca2d\ubf07\uad5a\u8333\u6302\uaa71\uc819\u49d9\uf2e3\u5b88\u9a26\u32b0\ue90f\ud580\ubecd\u3448\uff7a\u905f\u2068\u1aae\ub454\u9322\u64f1\u7312\u4008\uc3ec\udba1\u8d3d\u9700\ucf2b\u7682\ud61b\ub5af\u6a50\u45f3\u30ef\u3f55\ua2ea\u65ba\u2fc0\ude1c\ufd4d\u9275\u068a\ub2e6\u0e1f\u62d4\ua896\uf9c5\u2559\u8472\u394c\u5e78\u388c\ud1a5\ue261\ub321\u9c1e\u43c7\ufc04\u5199\u6d0d\ufadf\u7e24\u3bab\uce11\u8f4e\ub7eb\u3c81\u94f7\ub913\u2cd3\ue76e\uc403\u5644\u7fa9\u2abb\uc153\udc0b\u9d6c\u3174\uf646\uac89\u14e1\u163a\u6909\u70b6\ud0ed\ucc42\u98a4\u285c\uf886".charAt(i / 2); - long l = (i & 0x1) == 0 ? i_8_ >>> 8 : 0xff & i_8_; - long l_9_ = l << 1; - if (l_9_ >= 256) l_9_ ^= 0x11dL; - long l_10_ = l_9_ << 1; - if (l_10_ >= 256L) l_10_ ^= 0x11dL; - long l_11_ = l ^ l_10_; - long l_12_ = l_10_ << 1; - if (l_12_ >= 256L) l_12_ ^= 0x11dL; - long l_13_ = l_12_ ^ l; - aLongArrayArray75[0][i] = (Class277.method2068(l_13_, (Class277.method2068(l_9_ << 8, (Class277.method2068(l_11_ << 16, (Class277.method2068(l_12_ << 24, (Class277.method2068(l << 32, (Class277.method2068(Class277.method2068(l << 56, l << 48), l_10_ << 40)))))))))))); - for (int i_14_ = 1; i_14_ < 8; i_14_++) - aLongArrayArray75[i_14_][i] = Class277.method2068((aLongArrayArray75[i_14_ + -1][i] >>> 8), (aLongArrayArray75[i_14_ - 1][i] << 56)); - } - aLongArray76[0] = 0L; - for (int i = 1; i <= 10; i++) { - int i_15_ = -8 + i * 8; - aLongArray76[i] = (Class105_Sub2.method993((Class105_Sub2.method993(Class348_Sub8.method2777(aLongArrayArray75[6][6 + i_15_], 65280L), (Class105_Sub2.method993(Class348_Sub8.method2777((aLongArrayArray75[5][5 + i_15_]), 16711680L), (Class105_Sub2.method993((Class105_Sub2.method993((Class105_Sub2.method993(Class348_Sub8.method2777((aLongArrayArray75[2][i_15_ + 2]), 280375465082880L), (Class105_Sub2.method993(Class348_Sub8.method2777(71776119061217280L, (aLongArrayArray75[1][1 + i_15_])), (Class348_Sub8.method2777(aLongArrayArray75[0][i_15_], -72057594037927936L)))))), Class348_Sub8.method2777(1095216660480L, (aLongArrayArray75[3][3 + i_15_])))), Class348_Sub8.method2777((aLongArrayArray75[4][i_15_ - -4]), 4278190080L))))))), Class348_Sub8.method2777(aLongArrayArray75[7][7 + i_15_], 255L))); - } - aClass351_77 = new Class351(8, 1); - anInt78 = 0; - aClass114_79 = new Class114(75, 6); - } -} diff --git a/client/src/InputStream_Sub2.java b/client/src/InputStream_Sub2.java deleted file mode 100644 index ef5b5d81c..000000000 --- a/client/src/InputStream_Sub2.java +++ /dev/null @@ -1,285 +0,0 @@ -/* InputStream_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.InputStream; - -final class InputStream_Sub2 extends InputStream { - static int anInt80; - static int anInt81; - static Class114 aClass114_82 = new Class114(71, 7); - static Class243 aClass243_83 = new Class243(); - static float[] aFloatArray84 = new float[4]; - static int anInt85; - - public static void method127(byte i) { - if (i != 118) method128(null, (byte) -48); - aFloatArray84 = null; - aClass243_83 = null; - aClass114_82 = null; - } - - static final void method128(Class74 class74, byte i) { - try { - anInt81++; - if (class74 == Class348_Sub26.aClass74_6891) { - int i_0_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) -124); - int i_1_ = i_0_ >> 2; - int i_2_ = 0x3 & i_0_; - int i_3_ = Class36.anIntArray487[i_1_]; - int i_4_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - int i_5_ = Class299.aClass348_Sub49_Sub2_3813.readByteAdd((byte) 65); - int i_6_ = Class278.anInt3581 + (0x7 & i_5_ >> 4); - int i_7_ = Class73.anInt4786 - -(i_5_ & 0x7); - if (Class282.method2112(126, Class312.anInt3931) || (i_6_ >= 0 && i_7_ >= 0 && Class367_Sub4.anInt7319 > i_6_ && (i_7_ < Class348_Sub40_Sub3.anInt9109))) Class348_Sub12.method2800(Class348_Sub40_Sub12.anInt9200, 0, i_7_, -1, i_1_, i_3_, i_2_, i_4_, (byte) 121, i_6_); - } else if (class74 == Class348_Sub40_Sub38.aClass74_9475) { - int i_8_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(i + 247); - int i_9_ = Class278.anInt3581 + ((0x7a & i_8_) >> 4); - int i_10_ = Class73.anInt4786 - -(i_8_ & 0x7); - int i_11_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - int i_12_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - int i_13_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - int i_14_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(i ^ 0xf7); - if (i_9_ >= 0 && i_10_ >= 0 && i_9_ < Class367_Sub4.anInt7319 && Class348_Sub40_Sub3.anInt9109 > i_10_) { - int i_15_ = 512 * i_9_ - -256; - int i_16_ = 256 + 512 * i_10_; - int i_17_ = Class348_Sub40_Sub12.anInt9200; - if (i_17_ < 3 && Class79.method802(i_10_, i_9_, true)) i_17_++; - Class318_Sub1_Sub3_Sub4 class318_sub1_sub3_sub4 = (new Class318_Sub1_Sub3_Sub4(i_11_, i_13_, Class367_Sub11.anInt7396, Class348_Sub40_Sub12.anInt9200, i_17_, i_15_, Class275.method2064(i_15_, Class348_Sub40_Sub12.anInt9200, 11219, i_16_) + -i_12_, i_16_, i_9_, i_9_, i_10_, i_10_, i_14_)); - r_Sub2.aClass262_10492.method1999(new Class348_Sub42_Sub6(class318_sub1_sub3_sub4), -20180); - } - } else if (class74 == Class91.aClass74_1519) { - int i_18_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - int i_19_ = Class278.anInt3581 - -(i_18_ >> 4 & 0x7); - int i_20_ = (0x7 & i_18_) + Class73.anInt4786; - int i_21_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - if (i_21_ == 65535) i_21_ = -1; - int i_22_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(i + 247); - int i_23_ = i_22_ >> 4 & 0xf; - int i_24_ = 0x7 & i_22_; - int i_25_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - int i_26_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - int i_27_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(i + 842397936); - if (i_19_ >= 0 && i_20_ >= 0 && i_19_ < Class367_Sub4.anInt7319 && (i_20_ < Class348_Sub40_Sub3.anInt9109)) { - int i_28_ = 1 + i_23_; - if (((Class132.aPlayer_1907.anIntArray10320[0]) >= i_19_ + -i_28_) && i_28_ + i_19_ >= (Class132.aPlayer_1907.anIntArray10320[0]) && ((Class132.aPlayer_1907.anIntArray10317[0]) >= -i_28_ + i_20_) && i_20_ + i_28_ >= (Class132.aPlayer_1907.anIntArray10317[0])) - Class239_Sub10.method1760(i_21_, i_26_, false, ((i_20_ << 8) + (((Class348_Sub40_Sub12.anInt9200) << 24) + ((i_19_ << 16) - -i_23_))), (byte) -98, i_24_, i_27_, i_25_); - } - } else if (class74 == Class348_Sub35.aClass74_6977) { - int i_29_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - int i_30_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - Class348_Sub40_Sub12.aClass263_9195.method2005(0, i_29_).method478(i_30_, -31076); - } else if (Class348_Sub16_Sub1.aClass74_8853 == class74) { - int i_31_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(i + 247); - int i_32_ = Class278.anInt3581 + ((i_31_ & 0x7b) >> 4); - int i_33_ = (i_31_ & 0x7) + Class73.anInt4786; - int i_34_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - if (i_34_ == 65535) i_34_ = -1; - int i_35_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(i + 247); - int i_36_ = 0xf & i_35_ >> 4; - int i_37_ = 0x7 & i_35_; - int i_38_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - int i_39_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(i ^ 0xf7); - int i_40_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - if (i_32_ >= 0 && i_33_ >= 0 && i_32_ < Class367_Sub4.anInt7319 && i_33_ < Class348_Sub40_Sub3.anInt9109) { - int i_41_ = i_36_ + 1; - if ((Class132.aPlayer_1907.anIntArray10320[0]) >= i_32_ - i_41_ && (Class132.aPlayer_1907.anIntArray10320[0]) <= i_41_ + i_32_ && ((Class132.aPlayer_1907.anIntArray10317[0]) >= -i_41_ + i_33_) && (i_33_ - -i_41_ >= (Class132.aPlayer_1907.anIntArray10317[0]))) - Class37.method358(i_37_, (i_36_ + (i_33_ << 8) + ((Class348_Sub40_Sub12.anInt9200 << 24) + (i_32_ << 16))), i_38_, i_39_, i_40_, i_34_, -29494); - } - } else if (Class265.aClass74_4689 == class74) { - int i_42_ = Class299.aClass348_Sub49_Sub2_3813.readShortLittle(false); - if (i_42_ == 65535) i_42_ = -1; - int i_43_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) 65); - int i_44_ = ((i_43_ & 0x71) >> 4) + Class278.anInt3581; - int i_45_ = Class73.anInt4786 + (i_43_ & 0x7); - int i_46_ = Class299.aClass348_Sub49_Sub2_3813.readByteInverse((byte) 21); - int i_47_ = i_46_ >> 2; - int i_48_ = i_46_ & 0x3; - int i_49_ = Class36.anIntArray487[i_47_]; - ha_Sub3.method3824(i_45_, i_42_, i_47_, i_44_, i_48_, 115, Class348_Sub40_Sub12.anInt9200, i_49_); - } else if (class74 == Class286_Sub1.aClass74_6201) { - int i_50_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - int i_51_ = (i_50_ >> 4 & 0xf) + Class278.anInt3581 * 2; - int i_52_ = (i_50_ & 0xf) + Class73.anInt4786 * 2; - int i_53_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - boolean bool = (0x1 & i_53_) != 0; - boolean bool_54_ = (i_53_ & 0x2) != 0; - int i_55_ = bool_54_ ? i_53_ >> 2 : -1; - int i_56_ = (Class299.aClass348_Sub49_Sub2_3813.readByte(-77) + i_51_); - int i_57_ = (Class299.aClass348_Sub49_Sub2_3813.readByte(-88) + i_52_); - int i_58_ = Class299.aClass348_Sub49_Sub2_3813.readShort(13638); - int i_59_ = Class299.aClass348_Sub49_Sub2_3813.readShort(13638); - int i_60_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(i + 842397936); - int i_61_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - if (!bool_54_) i_61_ *= 4; - else i_61_ = (byte) i_61_; - int i_62_ = (Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(i ^ 0xf7) * 4); - int i_63_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(i + 842397936); - int i_64_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - int i_65_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - int i_66_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - if (i_65_ == 255) i_65_ = -1; - if (i_51_ >= 0 && i_52_ >= 0 && (i_51_ < 2 * Class367_Sub4.anInt7319) && (i_52_ < Class367_Sub4.anInt7319 * 2) && i_56_ >= 0 && i_57_ >= 0 && (i_56_ < Class348_Sub40_Sub3.anInt9109 * 2) && 2 * Class348_Sub40_Sub3.anInt9109 > i_57_ && i_60_ != 65535) { - i_57_ *= 256; - i_56_ = 256 * i_56_; - i_62_ <<= 2; - i_51_ = 256 * i_51_; - i_66_ <<= 2; - i_61_ <<= 2; - i_52_ *= 256; - if (i_58_ != 0 && i_55_ != -1) { - Class318_Sub1_Sub3_Sub3 class318_sub1_sub3_sub3 = null; - if (i_58_ < 0) { - int i_67_ = -i_58_ + -1; - if (Class348_Sub42_Sub11.anInt9591 != i_67_) class318_sub1_sub3_sub3 = (Class294.aPlayerArray5058[i_67_]); - else class318_sub1_sub3_sub3 = (Class132.aPlayer_1907); - } else { - int i_68_ = i_58_ + -1; - Class348_Sub22 class348_sub22 = ((Class348_Sub22) Class282.aClass356_3654.method3480(i_68_, -6008)); - if (class348_sub22 != null) class318_sub1_sub3_sub3 = (class348_sub22.aNpc_6859); - } - if (class318_sub1_sub3_sub3 != null) { - Class225 class225 = class318_sub1_sub3_sub3.method2422((byte) 72); - if ((class225.anIntArrayArray2939 != null) && (class225.anIntArrayArray2939[i_55_]) != null) i_61_ -= (class225.anIntArrayArray2939[i_55_][1]); - if ((class225.anIntArrayArray2910 != null) && (class225.anIntArrayArray2910[i_55_]) != null) i_61_ -= (class225.anIntArrayArray2910[i_55_][1]); - } - } - Class318_Sub1_Sub3_Sub5 class318_sub1_sub3_sub5 = (new Class318_Sub1_Sub3_Sub5(i_60_, Class348_Sub40_Sub12.anInt9200, Class348_Sub40_Sub12.anInt9200, i_51_, i_52_, i_61_, i_63_ - -Class367_Sub11.anInt7396, i_64_ + Class367_Sub11.anInt7396, i_65_, i_66_, i_58_, i_59_, i_62_, bool, i_55_)); - class318_sub1_sub3_sub5.method2471((byte) -103, (-i_62_ + Class275.method2064(i_56_, Class348_Sub40_Sub12.anInt9200, 11219, i_57_)), i_57_, i_63_ + Class367_Sub11.anInt7396, i_56_); - Class348_Sub40_Sub17.aClass262_9240.method1999(new Class348_Sub42_Sub18(class318_sub1_sub3_sub5), -20180); - } - } else if (class74 == Class348_Sub42_Sub8_Sub2.aClass74_10437) { - int i_69_ = Class299.aClass348_Sub49_Sub2_3813.readShortAddLittle(-128); - int i_70_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByteSubtract((byte) 31); - int i_71_ = Class73.anInt4786 + (i_70_ & 0x7); - int i_72_ = Class90.regionTileY + i_71_; - int i_73_ = Class278.anInt3581 + (i_70_ >> 4 & 0x7); - int i_74_ = za_Sub2.regionTileX + i_73_; - Class348_Sub37 class348_sub37 = ((Class348_Sub37) (Class130.aClass356_1895.method3480(i_72_ << 14 | Class348_Sub40_Sub12.anInt9200 << 28 | i_74_, -6008))); - if (class348_sub37 != null) { - for (Class348_Sub34 class348_sub34 = ((Class348_Sub34) class348_sub37.aClass262_6998.method1995(4)); class348_sub34 != null; class348_sub34 = ((Class348_Sub34) class348_sub37.aClass262_6998.method1990((byte) 49))) { - if ((0x7fff & i_69_) == class348_sub34.anInt6973) { - class348_sub34.method2715((byte) 127); - break; - } - } - if (class348_sub37.aClass262_6998.method2002((byte) 18)) class348_sub37.method2715((byte) 62); - if (i_73_ >= 0 && i_71_ >= 0 && Class367_Sub4.anInt7319 > i_73_ && Class348_Sub40_Sub3.anInt9109 > i_71_) Class203.method1479(i_71_, (byte) -125, i_73_, Class348_Sub40_Sub12.anInt9200); - } - } else if (Class59_Sub1_Sub2.aClass74_8662 == class74) { - int i_75_ = Class299.aClass348_Sub49_Sub2_3813.readShortLittle(false); - int i_76_ = Class299.aClass348_Sub49_Sub2_3813.readShortLittle(false); - int i_77_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - int i_78_ = Class73.anInt4786 - -(0x7 & i_77_); - int i_79_ = i_78_ + Class90.regionTileY; - int i_80_ = Class278.anInt3581 - -((i_77_ & 0x79) >> 4); - int i_81_ = za_Sub2.regionTileX - -i_80_; - boolean bool = (i_80_ >= 0 && i_78_ >= 0 && Class367_Sub4.anInt7319 > i_80_ && Class348_Sub40_Sub3.anInt9109 > i_78_); - if (bool || Class282.method2112(124, Class312.anInt3931)) { - Class352.method3459(new Class348_Sub34(i_76_, i_75_), Class348_Sub40_Sub12.anInt9200, i_79_, i_81_, -2); - if (bool) Class203.method1479(i_78_, (byte) -124, i_80_, Class348_Sub40_Sub12.anInt9200); - } - } else if (class74 == Class374.aClass74_4537) { - int i_82_ = Class299.aClass348_Sub49_Sub2_3813.readByteAdd((byte) 83); - int i_83_ = i_82_ >> 2; - int i_84_ = 0x3 & i_82_; - int i_85_ = Class36.anIntArray487[i_83_]; - int i_86_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(i ^ 0xf7); - int i_87_ = Class278.anInt3581 + (i_86_ >> 4 & 0x7); - int i_88_ = Class73.anInt4786 - -(0x7 & i_86_); - if (Class282.method2112(i ^ 0x73, Class312.anInt3931) || (i_87_ >= 0 && i_88_ >= 0 && Class367_Sub4.anInt7319 > i_87_ && (i_88_ < Class348_Sub40_Sub3.anInt9109))) Class348_Sub12.method2800(Class348_Sub40_Sub12.anInt9200, 0, i_88_, -1, i_83_, i_85_, i_84_, -1, (byte) 125, i_87_); - } else { - if (i != 8) aClass114_82 = null; - if (Class39.aClass74_515 == class74) { - int i_89_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - int i_90_ = Class73.anInt4786 + (0x7 & i_89_); - int i_91_ = i_90_ + Class90.regionTileY; - int i_92_ = (Class278.anInt3581 - -((i_89_ & 0x7a) >> 4)); - int i_93_ = za_Sub2.regionTileX + i_92_; - int i_94_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - int i_95_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(i + 842397936); - int i_96_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - if (Class130.aClass356_1895 != null) { - Class348_Sub37 class348_sub37 = ((Class348_Sub37) (Class130.aClass356_1895.method3480(i_93_ | ((Class348_Sub40_Sub12.anInt9200 << 28) | i_91_ << 14), -6008))); - if (class348_sub37 != null) { - for (Class348_Sub34 class348_sub34 = ((Class348_Sub34) class348_sub37.aClass262_6998.method1995(4)); class348_sub34 != null; class348_sub34 = ((Class348_Sub34) class348_sub37.aClass262_6998.method1990((byte) 34))) { - if ((class348_sub34.anInt6973) == (0x7fff & i_94_) && i_95_ == class348_sub34.anInt6971) { - class348_sub34.method2715((byte) 32); - class348_sub34.anInt6971 = i_96_; - Class352.method3459(class348_sub34, (Class348_Sub40_Sub12.anInt9200), i_91_, i_93_, i ^ ~0x9); - break; - } - } - if (i_92_ >= 0 && i_90_ >= 0 && (i_92_ < Class367_Sub4.anInt7319) && (Class348_Sub40_Sub3.anInt9109 > i_90_)) Class203.method1479(i_90_, (byte) -125, i_92_, (Class348_Sub40_Sub12.anInt9200)); - } - } - } else if (class74 == Class327.aClass74_4098) { - int i_97_ = Class299.aClass348_Sub49_Sub2_3813.readShortLittle(false); - int i_98_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - int i_99_ = (0x7 & i_98_) + Class73.anInt4786; - int i_100_ = Class90.regionTileY + i_99_; - int i_101_ = Class278.anInt3581 - -((i_98_ & 0x7b) >> 4); - int i_102_ = za_Sub2.regionTileX + i_101_; - int i_103_ = Class299.aClass348_Sub49_Sub2_3813.readShortAdd(-25); - int i_104_ = Class299.aClass348_Sub49_Sub2_3813.readShortAdd(123); - if (i_104_ != Class348_Sub42_Sub11.anInt9591) { - boolean bool = (i_101_ >= 0 && i_99_ >= 0 && (i_101_ < Class367_Sub4.anInt7319) && (i_99_ < Class348_Sub40_Sub3.anInt9109)); - if (bool || Class282.method2112(122, Class312.anInt3931)) { - Class352.method3459(new Class348_Sub34(i_103_, i_97_), Class348_Sub40_Sub12.anInt9200, i_100_, i_102_, i + -10); - if (bool) Class203.method1479(i_99_, (byte) -120, i_101_, (Class348_Sub40_Sub12.anInt9200)); - } - } - } else if (class74 == Class162.aClass74_2157) { - int i_105_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(i + 247); - boolean bool = (0x80 & i_105_) != 0; - int i_106_ = Class278.anInt3581 - -(i_105_ >> 3 & 0x7); - int i_107_ = (0x7 & i_105_) + Class73.anInt4786; - int i_108_ = i_106_ - -Class299.aClass348_Sub49_Sub2_3813.readByte(-94); - int i_109_ = (Class299.aClass348_Sub49_Sub2_3813.readByte(-87) + i_107_); - int i_110_ = Class299.aClass348_Sub49_Sub2_3813.readShort(13638); - int i_111_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(i + 842397936); - int i_112_ = (Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) * 4); - int i_113_ = (Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255) * 4); - int i_114_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(i + 842397936); - int i_115_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(i + 842397936); - int i_116_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - if (i_116_ == 255) i_116_ = -1; - int i_117_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(842397944); - if (i_106_ >= 0 && i_107_ >= 0 && (i_106_ < Class367_Sub4.anInt7319) && i_107_ < Class348_Sub40_Sub3.anInt9109 && i_108_ >= 0 && i_109_ >= 0 && Class367_Sub4.anInt7319 > i_108_ && (Class348_Sub40_Sub3.anInt9109 > i_109_) && i_111_ != 65535) { - i_117_ <<= 2; - i_109_ = 256 + i_109_ * 512; - i_113_ <<= 2; - i_108_ = 256 + 512 * i_108_; - i_107_ = i_107_ * 512 + 256; - i_106_ = i_106_ * 512 + 256; - i_112_ <<= 2; - Class318_Sub1_Sub3_Sub5 class318_sub1_sub3_sub5 = (new Class318_Sub1_Sub3_Sub5(i_111_, Class348_Sub40_Sub12.anInt9200, Class348_Sub40_Sub12.anInt9200, i_106_, i_107_, i_112_, i_114_ + Class367_Sub11.anInt7396, Class367_Sub11.anInt7396 + i_115_, i_116_, i_117_, 0, i_110_, i_113_, bool, -1)); - class318_sub1_sub3_sub5.method2471((byte) -103, Class275.method2064(i_108_, (Class348_Sub40_Sub12.anInt9200), 11219, i_109_) + -i_113_, i_109_, i_114_ + Class367_Sub11.anInt7396, i_108_); - Class348_Sub40_Sub17.aClass262_9240.method1999(new Class348_Sub42_Sub18(class318_sub1_sub3_sub5), -20180); - } - } else if (Class186.aClass74_2491 == class74) { - Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - int i_118_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(i + 247); - int i_119_ = (i_118_ >> 4 & 0x7) + Class278.anInt3581; - int i_120_ = (0x7 & i_118_) + Class73.anInt4786; - int i_121_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedShort(i ^ 0x3235f8f0); - int i_122_ = Class299.aClass348_Sub49_Sub2_3813.readUnsignedByte(255); - int i_123_ = Class299.aClass348_Sub49_Sub2_3813.readMedium(-1); - String string = Class299.aClass348_Sub49_Sub2_3813.readString((byte) -126); - Class6.method205(i_121_, i_119_, i_123_, string, i_122_, -109, i_120_, Class348_Sub40_Sub12.anInt9200); - } else { - Class156.method1242("T3 - " + class74, null, 15004); - Class348_Sub40_Sub34.method3141(false, (byte) 11); - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("sfa.A(" + (class74 != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - public final int read() { - Class286_Sub5.method2161((byte) -118, 30000L); - anInt80++; - return -1; - } -} diff --git a/client/src/Interface10.java b/client/src/Interface10.java deleted file mode 100644 index fdc3715e3..000000000 --- a/client/src/Interface10.java +++ /dev/null @@ -1,19 +0,0 @@ -/* Interface10 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -interface Interface10 { - boolean method38(int i); - - int method39(int i); - - void method40(int i); - - int method41(int i); - - int method42(int i); - - void method43(ha var_ha, int i); - - void method44(int i, ha var_ha); -} diff --git a/client/src/Interface12.java b/client/src/Interface12.java deleted file mode 100644 index d38832bf7..000000000 --- a/client/src/Interface12.java +++ /dev/null @@ -1,7 +0,0 @@ -/* Interface12 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -interface Interface12 { - Class223 method51(byte i); -} diff --git a/client/src/Interface15.java b/client/src/Interface15.java deleted file mode 100644 index 4bb8c28eb..000000000 --- a/client/src/Interface15.java +++ /dev/null @@ -1,7 +0,0 @@ -/* Interface15 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -interface Interface15 { - String method54(int i, long l, Class138 class138, int[] is); -} diff --git a/client/src/Interface18.java b/client/src/Interface18.java deleted file mode 100644 index c3cb876f8..000000000 --- a/client/src/Interface18.java +++ /dev/null @@ -1,9 +0,0 @@ -/* Interface18 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -interface Interface18 { - void method63(byte i); - - void method64(Class209 class209, int i); -} diff --git a/client/src/Interface20.java b/client/src/Interface20.java deleted file mode 100644 index 7fae4476e..000000000 --- a/client/src/Interface20.java +++ /dev/null @@ -1,19 +0,0 @@ -/* Interface20 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; - -interface Interface20 { - void method74(int i, byte i_0_); - - int method75(byte i, int i_1_); - - void method76(int i, int[] is); - - void method77(byte i, int i_2_); - - void method78(int i, boolean bool, Component component, int i_3_) throws Exception; - - void method79(int i, int i_4_, byte i_5_) throws Exception; -} diff --git a/client/src/Interface6.java b/client/src/Interface6.java deleted file mode 100644 index 2165d1815..000000000 --- a/client/src/Interface6.java +++ /dev/null @@ -1,15 +0,0 @@ -/* Interface6 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -interface Interface6 { - int method26(int i); - - int method27(int i); - - char method28(byte i); - - long method29(byte i); - - int method30(boolean bool); -} diff --git a/client/src/KeyFocusHandler.java b/client/src/KeyFocusHandler.java new file mode 100644 index 000000000..26b0be486 --- /dev/null +++ b/client/src/KeyFocusHandler.java @@ -0,0 +1,217 @@ +/* KeyFocusHandler - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class346_Sub1` (JODE-obfuscated). + * Keyboard + focus input handler. Extends InputHandler and implements KeyListener, FocusListener; queues Interface6 events via NodeLists. + */ + +import java.awt.*; +import java.awt.event.FocusEvent; +import java.awt.event.FocusListener; +import java.awt.event.KeyEvent; +import java.awt.event.KeyListener; +import java.lang.reflect.Method; + +final class KeyFocusHandler extends InputHandler implements KeyListener, FocusListener { + static int anInt6525; + static int anInt6526; + static int anInt6527; + static Component183 aClass114_6528 = new Component183(14, 2); + static int anInt6529; + static int anInt6530; + static int anInt6531; + static int anInt6532; + static int anInt6533; + static int anInt6534; + static int anInt6535; + static int anInt6536; + static int anInt6537; + static int anInt6538; + static int anInt6539; + static int anInt6540; + /** Key events ready for {@link #popKeyEvent}. */ + private final NodeList eventQueue = new NodeList(); + /** Raw AWT key events before {@link #sync}. */ + private NodeList pendingEvents = new NodeList(); + /** Held-key bitmap (client key codes 0..111). */ + private boolean[] keysDown = new boolean[112]; + /** Canvas Component listeners attach to. */ + private Component target; + + final Interface6 popKeyEvent(int i) { + if (i != 0) keysDown = null; + anInt6525++; + return (Interface6) eventQueue.peekFirst(8); + } + + final boolean isKeyDown(int i, int i_0_) { + if (i_0_ >= -120) detachListeners((byte) 119); + anInt6539++; + if (i < 0 || i >= 112) return false; + return keysDown[i]; + } + + private final void detachListeners(byte i) { + if (i == -104) { + anInt6533++; + if (target != null) { + target.removeKeyListener(this); + target.removeFocusListener(this); + target = null; + for (int i_1_ = 0; i_1_ < 112; i_1_++) + keysDown[i_1_] = false; + eventQueue.clear(116); + pendingEvents.clear(i ^ ~0x1b); + } + } + } + + public final synchronized void keyPressed(KeyEvent keyevent) { + anInt6526++; + handleKey(keyevent, 0, 0); + } + + private final void handleKey(KeyEvent keyevent, int i, int i_2_) { + anInt6538++; + int i_3_ = keyevent.getKeyCode(); + if (i_3_ != 0) { + if (i_3_ >= 0 && DebugPanicSub2.anIntArray8507.length > i_3_) { + i_3_ = DebugPanicSub2.anIntArray8507[i_3_]; + if (i_2_ == 0 && (i_3_ & 0x80) != 0) i_3_ = 0; + else i_3_ &= ~0x80; + } else i_3_ = 0; + } else i_3_ = 0; + if (i != i_3_) { + enqueueKeyEvent(i_3_, 128, '\0', i_2_); + keyevent.consume(); + } + } + + final void reset(int i) { + anInt6530++; + detachListeners((byte) -104); + if (i != 14174) pendingEvents = null; + } + + private final void enqueueKeyEvent(int i, int i_4_, char c, int i_5_) { + anInt6532++; + NodeSub11 class348_sub11 = new NodeSub11(); + class348_sub11.eventType = i_5_; + class348_sub11.keyCode = i; + class348_sub11.keyChar = c; + class348_sub11.when = Component240.currentTimeMillis(-102); + pendingEvents.addTail(class348_sub11, -20180); + if (i_4_ != 128) target = null; + } + + public final synchronized void keyReleased(KeyEvent keyevent) { + anInt6529++; + handleKey(keyevent, 0, 1); + } + + public final synchronized void keyTyped(KeyEvent keyevent) { + anInt6527++; + char c = keyevent.getKeyChar(); + if (c != 0 && DisplayModeManagerContainer145.isCp1252Char(-125, c)) { + enqueueKeyEvent(-1, 128, c, 3); + keyevent.consume(); + } + } + + public final void focusGained(FocusEvent focusevent) { + anInt6540++; + } + + /** Set client varp slot ({@code i_6_},{@code i_7_}) to {@code i} (or default if null). */ + static final void setClientVarp(int i, int i_6_, int i_7_, byte i_8_) { + anInt6536++; + DisplayModeManagerContainer56 class190 = NodeList.aClass190ArrayArray3335[i_6_][i_7_]; + if (i_8_ == -13) DisplayModeManagerContainer254.method1260(false, i, (class190 == null ? FriendsIgnoreList.aClass190_3547 : class190)); + } + + private final int modifierFlags(byte i) { + anInt6531++; + int i_9_ = 0; + if (keysDown[81]) i_9_ |= 0x1; + if (i != 127) return 25; + if (keysDown[82]) i_9_ |= 0x4; + if (keysDown[86]) i_9_ |= 0x2; + return i_9_; + } + + final synchronized void sync(int i) { + anInt6534++; + eventQueue.clear(110); + if (i >= 51) { + for (NodeSub11 class348_sub11 = (NodeSub11) pendingEvents.peekFirst(8); class348_sub11 != null; class348_sub11 = (NodeSub11) pendingEvents.peekFirst(8)) { + class348_sub11.modifiers = modifierFlags((byte) 127); + if (class348_sub11.eventType == 0) { + if (!keysDown[class348_sub11.keyCode]) { + NodeSub11 class348_sub11_10_ = new NodeSub11(); + class348_sub11_10_.keyCode = class348_sub11.keyCode; + class348_sub11_10_.eventType = 0; + class348_sub11_10_.keyChar = '\0'; + class348_sub11_10_.modifiers = class348_sub11.modifiers; + class348_sub11_10_.when = class348_sub11.when; + eventQueue.addTail(class348_sub11_10_, -20180); + keysDown[(class348_sub11.keyCode)] = true; + } + class348_sub11.eventType = 2; + eventQueue.addTail(class348_sub11, -20180); + } else if (class348_sub11.eventType != 1) { + if (class348_sub11.eventType == -1) { + for (int i_11_ = 0; i_11_ < 112; i_11_++) { + if (keysDown[i_11_]) { + NodeSub11 class348_sub11_12_ = new NodeSub11(); + class348_sub11_12_.keyChar = '\0'; + class348_sub11_12_.keyCode = i_11_; + class348_sub11_12_.modifiers = (class348_sub11.modifiers); + class348_sub11_12_.eventType = 1; + class348_sub11_12_.when = (class348_sub11.when); + eventQueue.addTail(class348_sub11_12_, -20180); + keysDown[i_11_] = false; + } + } + } else if (class348_sub11.eventType == 3) eventQueue.addTail(class348_sub11, -20180); + } else if (keysDown[class348_sub11.keyCode]) { + eventQueue.addTail(class348_sub11, -20180); + keysDown[(class348_sub11.keyCode)] = false; + } + } + } + } + + public final synchronized void focusLost(FocusEvent focusevent) { + anInt6537++; + enqueueKeyEvent(0, 128, '\0', -1); + } + + public static void clearStatics(int i) { + aClass114_6528 = null; + if (i != 14645) clearStatics(1); + } + + private final void attachListeners(Component component, int i) { + detachListeners((byte) -104); + if (i != 2) clearStatics(-19); + anInt6535++; + target = component; + Method method = ReflectionInvoker.aMethod3783; + if (method != null) { + try { + method.invoke(target, Boolean.FALSE); + } catch (Throwable throwable) { + /* empty */ + } + } + target.addKeyListener(this); + target.addFocusListener(this); + } + + KeyFocusHandler(Component component) { + Component182.method3402((byte) -82); + attachListeners(component, 2); + } +} diff --git a/client/src/Loader.java b/client/src/Loader.java index a0ccf69ce..22c6b2230 100644 --- a/client/src/Loader.java +++ b/client/src/Loader.java @@ -15,9 +15,13 @@ public class Loader extends Applet { public static boolean loadRunescape = false; public static boolean showCoordinates = true; public static boolean skipLobby = true; + /** When saved credentials exist, log in as soon as the title screen opens. */ + public static boolean autoLogin = true; public static boolean splitPorts = false; public static boolean debug = false; public static boolean trace = false; + /** Enable Microbot runtime (menu-inject bot API). Desktop default on. */ + public static boolean microbotEnabled = true; public static String address = "127.0.0.1"; public static int port = 43594; public static final BigInteger LOGIN_SERVER_RSA_MODULUS = new BigInteger("ea3680fdebf2621da7a33601ba39925ee203b3fc80775cd3727bf27fd8c0791c803e0bdb42b8b5257567177f8569024569da9147cef59009ed016af6007e57a556f1754f09ca84dd39a03287f7e41e8626fd78ab3b53262bd63f2e37403a549980bf3077bd402b82ef5fac269eb3c04d2a9b7712a67a018321ceba6c3bfb8f7f", 16); @@ -36,6 +40,8 @@ public class Loader extends Applet { static final double CULLING_DISTANCE_MULTIPLIER = 1.8; // Adjust distance before objects go into fog public static void main(String[] args) { + // libsw3d.dylib + modern macOS JAWT: Finalizer crashes in canvas::~canvas. + disableSw3dOnMacOs(); for (int i = 0; i < args.length; i++) { String arg = args[i]; switch (arg) { @@ -61,6 +67,32 @@ public static void main(String[] args) { l.doFrame(); } + /** + * Native SW3D / jaggl toolkits are unsafe on modern macOS JAWT (Finalize crash + * or noisy RuntimeException during Auto Setup probes). Force software GraphicsToolkit. + */ + static void disableSw3dOnMacOs() { + try { + String os = System.getProperty("os.name", "").toLowerCase(); + if (!os.startsWith("mac") && os.indexOf("darwin") < 0) { + return; + } + Component85.aBoolean2881 = true; // skip SW3D (toolkit 2) in method2478 + Component301.aBoolean4117 = true; // skip OpenGL (toolkit 1) probe — GlToolkitSub2 JAWT fail + System.out.println("void-osrs: native toolkits disabled on macOS (use software)"); + } catch (Throwable ignored) { + } + } + + static boolean isMacOs() { + try { + String os = System.getProperty("os.name", "").toLowerCase(); + return os.startsWith("mac") || os.indexOf("darwin") >= 0; + } catch (Throwable ignored) { + return false; + } + } + @Override public void init() { doApplet(); diff --git a/client/src/LoadingManager.java b/client/src/LoadingManager.java new file mode 100644 index 000000000..175e06af9 --- /dev/null +++ b/client/src/LoadingManager.java @@ -0,0 +1,322 @@ +/* LoadingManager - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class164` (JODE-obfuscated). + * Game loading coordinator. Drives LoadingState transitions, creates CacheFileStore, loads cache indexes (13/33/34), and handles RSARequest/OggStream bootstrap during startup. + */ + +import jagex3.jagmisc.jagmisc; + +final class LoadingManager { + static int anInt2172; + static int anInt2173; + static int anInt2174; + static int anInt2175; + + static final void clearDefinitionCaches(byte i) { + anInt2175++; + StringCache.aClass60_4327.clear(i + -62); + Component142.aClass60_4417.clear(0); + ColoredText.aClass60_6096.clear(0); + if (i != 62) clearDefinitionCaches((byte) 43); + DefinitionSub9.aClass60_9171.clear(0); + } + + /** + * Advance the boot {@link LoadingState} machine and return a 0–100 progress hint for the splash bar. + * Called each frame from the RSA/login bootstrap path until the title is ready. + */ + static final int pulseLoading(int i) { + if (Component192.aClass348_Sub51_3959.aClass239_Sub11_7265.method1768(i + -3690) == 0) { + for (int i_0_ = 0; (i_0_ < HashNodeSub19.anInt9699); i_0_++) { + if (DefinitionGroup.anInterface6Array9534[i_0_].getKeyChar((byte) 31) == 115 || DefinitionGroup.anInterface6Array9534[i_0_].getKeyChar((byte) 71) == 83) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub11_7265), 1); + DisplayModeManagerContainer42.aBoolean3847 = true; + break; + } + } + } + anInt2174++; + if (RSARequest.currentLoadingState == LoadingState.aClass56_1018) { + Runtime runtime = Runtime.getRuntime(); + int i_1_ = (int) ((runtime.totalMemory() + -runtime.freeMemory()) / 1024L); + long l = Component240.currentTimeMillis(i + 28559); + if (NpcDefinition.aLong6791 == 0) NpcDefinition.aLong6791 = l; + if (i_1_ > 16384 && -NpcDefinition.aLong6791 + l < 5000) { + if (-Component75.aLong2286 + l > 1000L) { + BuildInfo.maybeGc(); + Component75.aLong2286 = l; + } + return 0; + } + } + if (LoadingState.aClass56_1023 == RSARequest.currentLoadingState) { + if (Component143.aClass340_2327 == null) Component143.aClass340_2327 = new CacheFileStore(HardwareProbe.aClass248_6601, DisplayModeManagerContainer271.aClass112_520, RSACipher.rsaPublicExponent, RSARequest.aBigInteger9657); + if (!Component143.aClass340_2327.isReady(7)) return 0; + OggStream.method2965(null, 0, true, 0); + // Prefer Component170 sprites over JPEG Toolkit path (wrong colors on Android). + ShaderProgramSub7.aBoolean6289 = true; + ShaderProgramSub7.aClass45_6277 = Component14.method3571(false, (ShaderProgramSub7.aBoolean6289 ? 34 : 32), (byte) -23, 1); + DefinitionSub17Sub1.aClass45_10426 = Component14.method3571(false, 33, (byte) -23, 1); + Component65.aClass45_1627 = Component14.method3571(false, 13, (byte) -23, 1); + } + if (LoadingState.aClass56_1024 == RSARequest.currentLoadingState) { + boolean bool = DefinitionSub17Sub1.aClass45_10426.prefetchMandatory(89); + int i_2_ = Component354.aClass314_Sub1Array223[33].getReferenceTableProgress(1); + i_2_ = i_2_ + Component354.aClass314_Sub1Array223[!ShaderProgramSub7.aBoolean6289 ? 32 : 34].getReferenceTableProgress(1); + i_2_ += Component354.aClass314_Sub1Array223[13].getReferenceTableProgress(1); + i_2_ = i_2_ + (!bool ? DefinitionSub17Sub1.aClass45_10426.getAverageLoadPercent((byte) -31) : 100); + if (i_2_ != 400) return i_2_ / 4; + Sprite.anInt6924 = ShaderProgramSub7.aClass45_6277.getCrc(77); + Component83.anInt1663 = DefinitionSub17Sub1.aClass45_10426.getCrc(i + 28561); + KeyStoreLoader.resolveFontGroupIds(ShaderProgramSub7.aClass45_6277, 0); + int i_3_ = Component192.aClass348_Sub51_3959.aClass239_Sub19_7257.method1805(i ^ 0x11ae); + Component134.aClass111_5813 = new Component331(PacketReader.currentGameType, ObjectDeserializer.languageId, DefinitionSub17Sub1.aClass45_10426); + int[] is = Component134.aClass111_5813.method1046(i_3_, 0); + if (is.length == 0) is = Component134.aClass111_5813.method1046(0, 0); + KeyStoreLoader class106 = new KeyStoreLoader(ShaderProgramSub7.aClass45_6277, Component65.aClass45_1627); + if (is.length > 0) { + Component280.anInterface16Array2447 = new Interface16[is.length]; + for (int i_4_ = 0; (Component280.anInterface16Array2447.length > i_4_); i_4_++) + Component280.anInterface16Array2447[i_4_] = new Component195(Component134.aClass111_5813.method1043(is[i_4_], (byte) 102), class106); + } + } + if (RSARequest.currentLoadingState == LoadingState.aClass56_1026) HashNodeSub3.method3178(Component65.aClass45_1627, -81, Component364.method184(1084489728), ShaderProgramSub7.aClass45_6277); + if (LoadingState.aClass56_1027 == RSARequest.currentLoadingState) { + int i_5_ = NodeSub50.method3420(0); + int i_6_ = HashNodeSub16.method3256(2); + if (i_6_ > i_5_) return 100 * i_5_ / i_6_; + } + if (RSARequest.currentLoadingState == LoadingState.aClass56_1028) { + if (Component280.anInterface16Array2447 != null && (Component280.anInterface16Array2447.length > 0)) { + if (Component280.anInterface16Array2447[0].method60(-19079) < 100) return 0; + if (Component280.anInterface16Array2447.length > 1 && Component134.aClass111_5813.method1044(86) && (Component280.anInterface16Array2447[1].method60(i + 9581) < 100)) return 0; + } + DisplayModeManagerContainer292.method1311(5139, NodeSub8.toolkit); + Component27.method3568(NodeSub8.toolkit, 4); + Buffer.setClientState(2, 1); + } + if (RSARequest.currentLoadingState == LoadingState.aClass56_1029) { + for (int i_7_ = 0; i_7_ < 4; i_7_++) + NodeSub45.aClass361Array7108[i_7_] = SpriteSub1.method988(ParametricDefinition.anInt9109, 1, AbstractShaderSub4.anInt7319); + } + if (RSARequest.currentLoadingState == LoadingState.aClass56_1030) { + Component158.aClass45_322 = Component14.method3571(false, 8, (byte) -23, 1); + NodeSub29.aClass45_6909 = Component14.method3571(false, 0, (byte) -23, 1); + DisplayModeManagerContainer51.aClass45_2490 = Component14.method3571(false, 1, (byte) -23, 1); + Component181.aClass45_1541 = Component14.method3571(false, 2, (byte) -23, 1); + NodeSub35.aClass45_6980 = Component14.method3571(false, 3, (byte) -23, 1); + Component30.aClass45_1878 = Component14.method3571(false, 4, (byte) -23, 1); + SoftwareFallbackShader.aClass45_7382 = Component14.method3571(true, 5, (byte) -23, 1); + Component54.aClass45_8667 = Component14.method3571(true, 6, (byte) -23, 1); + ShaderSub3.aClass45_5207 = Component14.method3571(false, 7, (byte) -23, 1); + Component14.aClass45_8589 = Component14.method3571(false, 9, (byte) -23, 1); + Component110.aClass45_233 = Component14.method3571(false, 10, (byte) -23, 1); + DisplayModeManagerContainer64.aClass45_9033 = Component14.method3571(false, 11, (byte) -23, 1); + Component22.aClass45_1743 = Component14.method3571(false, 12, (byte) -23, 1); + Component323.aClass45_5878 = Component14.method3571(false, 14, (byte) -23, 1); + Component132.aClass45_1815 = Component14.method3571(false, 15, (byte) -23, 1); + Component97.aClass45_1538 = Component14.method3571(false, 16, (byte) -23, 1); + VideoAdDisplay.aClass45_3183 = Component14.method3571(false, 17, (byte) -23, 1); + Component43.aClass45_4975 = Component14.method3571(false, 18, (byte) -23, 1); + RadixParser.aClass45_2306 = Component14.method3571(false, 19, (byte) -23, 1); + CacheNodeSub2.aClass45_10480 = Component14.method3571(false, 20, (byte) -23, 1); + SeekableFile.aClass45_1322 = Component14.method3571(false, 21, (byte) -23, 1); + BrowserUrlOpener.aClass45_8926 = Component14.method3571(false, 22, (byte) -23, 1); + NodeSub32.aClass45_6950 = Component14.method3571(true, 23, (byte) -23, 1); + Component387.aClass45_1897 = Component14.method3571(false, 24, (byte) -23, 1); + CommandHandler.aClass45_1434 = Component14.method3571(false, 25, (byte) -23, 1); + NodeSub11.aClass45_4770 = Component14.method3571(true, 26, (byte) -23, 1); + Component339.aClass45_3146 = Component14.method3571(false, 27, (byte) -23, 1); + WaterShaderSub8.aClass45_7362 = Component14.method3571(true, 28, (byte) -23, 1); + NodeList.aClass45_3323 = Component14.method3571(false, 29, (byte) -23, 1); + Component380.aClass45_4984 = Component14.method3571(true, 30, (byte) -23, 1); + Component257.aClass45_4796 = Component14.method3571(true, 31, (byte) -23, 1); + Component334.aClass45_2015 = Component14.method3571(true, 36, (byte) -23, 2); + } + if (LoadingState.aClass56_1031 == RSARequest.currentLoadingState) { + int i_8_ = 0; + for (int i_9_ = 0; i_9_ < 37; i_9_++) { + if (Component354.aClass314_Sub1Array223[i_9_] != null) i_8_ += (Component354.aClass314_Sub1Array223[i_9_].getReferenceTableProgress(i + 28661) * DisplayModeManagerContainer345.anIntArray164[i_9_] / 100); + } + if (i_8_ != 100) { + if (DisplayModeManagerContainer259.anInt3435 < 0) DisplayModeManagerContainer259.anInt3435 = i_8_; + return ((i_8_ + -DisplayModeManagerContainer259.anInt3435) * 100 / (-DisplayModeManagerContainer259.anInt3435 + 100)); + } + SpriteAtlasShader.method2159((byte) -109, Component158.aClass45_322); + HashNodeSub3.method3178(Component65.aClass45_1627, -124, Component364.method184(i ^ ~0x40a46ff3), Component158.aClass45_322); + } + if (LoadingState.aClass56_1032 == RSARequest.currentLoadingState) { + if (Component35.anInt4270 == -1) Component35.anInt4270 = Component54.aClass45_8667.getGroupId("scape main", 0); + CacheNodeSub1.method3290(56); + Buffer.setClientState(2, 2); + } + if (LoadingState.aClass56_1033 == RSARequest.currentLoadingState) ComponentDownloader.method323(Component380.aClass45_4984, OggUrlStream.aClass297_8992, (byte) 95); + if (LoadingState.aClass56_1034 == RSARequest.currentLoadingState) { + int i_10_ = LibraryCreditsText.method1770((byte) -25); + if (i_10_ < 100) return i_10_; + Component309.method2013(WaterShaderSub8.aClass45_7362.getSingletonFile((byte) 73, 1), (byte) 112); + RuntimeException_Sub1.method4012(WaterShaderSub8.aClass45_7362.getSingletonFile((byte) 73, 3), (byte) -111); + } + if (i != -28660) return 2; + if (RSARequest.currentLoadingState == LoadingState.aClass56_1035) { + if (Sprite.anInt6923 != -1 && !ShaderSub3.aClass45_5207.isFileReady(-10499, Sprite.anInt6923, 0)) return 99; + DefinitionSub4.aD9113 = new Component283(NodeSub11.aClass45_4770, Component14.aClass45_8589, Component158.aClass45_322); + MatrixSub3.aClass326_5764 = new Component311(PacketReader.currentGameType, ObjectDeserializer.languageId, Component181.aClass45_1541); + DisplayModeManagerContainer282.aClass261_5558 = new DisplayModeManagerContainer1(PacketReader.currentGameType, ObjectDeserializer.languageId, Component181.aClass45_1541); + Component339.aClass166_3147 = new Component290(PacketReader.currentGameType, ObjectDeserializer.languageId, Component181.aClass45_1541, Component158.aClass45_322); + NodeSub7.aClass33_6653 = new Component373(PacketReader.currentGameType, ObjectDeserializer.languageId, VideoAdDisplay.aClass45_3183); + Component267.aClass268_2979 = new DisplayModeManagerContainer259(PacketReader.currentGameType, ObjectDeserializer.languageId, Component181.aClass45_1541); + Component149.aClass183_4460 = new Component191(PacketReader.currentGameType, ObjectDeserializer.languageId, Component181.aClass45_1541); + DisplayModeManagerContainer306.aClass219_4782 = new Component386(PacketReader.currentGameType, ObjectDeserializer.languageId, Component181.aClass45_1541, Component158.aClass45_322); + DefinitionSub25.aClass150_9342 = new Component324(PacketReader.currentGameType, ObjectDeserializer.languageId, Component181.aClass45_1541, ShaderSub3.aClass45_5207); + Component162.aClass271_8378 = new DisplayModeManagerContainer130(PacketReader.currentGameType, ObjectDeserializer.languageId, Component181.aClass45_1541); + NodeSub1.aClass185_6559 = new Component316(PacketReader.currentGameType, ObjectDeserializer.languageId, Component181.aClass45_1541); + GradientPreset.aClass263_9195 = new Component309(PacketReader.currentGameType, ObjectDeserializer.languageId, true, Component97.aClass45_1538, ShaderSub3.aClass45_5207); + DisplayModeManagerContainer64.aClass153_9031 = new Component62(PacketReader.currentGameType, ObjectDeserializer.languageId, Component181.aClass45_1541, Component158.aClass45_322); + Component245.aClass141_117 = new Component258(PacketReader.currentGameType, ObjectDeserializer.languageId, Component181.aClass45_1541, Component158.aClass45_322); + Component291.aClass278_2529 = new DisplayModeManagerContainer347(PacketReader.currentGameType, ObjectDeserializer.languageId, true, Component43.aClass45_4975, ShaderSub3.aClass45_5207); + Exception_Sub1.itemDefinitions = new ItemDefinitionProvider(PacketReader.currentGameType, ObjectDeserializer.languageId, true, MatrixSub3.aClass326_5764, RadixParser.aClass45_2306, ShaderSub3.aClass45_5207); + DisplayModeManagerContainer64.aClass187_9036 = new Component38(PacketReader.currentGameType, ObjectDeserializer.languageId, Component181.aClass45_1541); + RunescapeInfo.aClass87_191 = new Component344(PacketReader.currentGameType, ObjectDeserializer.languageId, CacheNodeSub2.aClass45_10480, NodeSub29.aClass45_6909, DisplayModeManagerContainer51.aClass45_2490); + ComponentDownloader.aClass84_413 = new DisplayModeManagerContainer26(PacketReader.currentGameType, ObjectDeserializer.languageId, Component181.aClass45_1541); + Component132.aClass25_1813 = new Component361(PacketReader.currentGameType, ObjectDeserializer.languageId, Component181.aClass45_1541); + NsnDefinition.aClass319_9245 = new Component144(PacketReader.currentGameType, ObjectDeserializer.languageId, SeekableFile.aClass45_1322, ShaderSub3.aClass45_5207); + Component257.aClass65_4787 = new Component304(PacketReader.currentGameType, ObjectDeserializer.languageId, Component181.aClass45_1541); + GnpPositionLogger.aClass82_1523 = new CommandHandler(PacketReader.currentGameType, ObjectDeserializer.languageId, Component181.aClass45_1541); + Component329.aClass259_5995 = new Component293(PacketReader.currentGameType, ObjectDeserializer.languageId, Component181.aClass45_1541); + Component267.aClass194_2981 = new Component276(PacketReader.currentGameType, ObjectDeserializer.languageId, BrowserUrlOpener.aClass45_8926); + Component209.aClass217_3453 = new Component46(PacketReader.currentGameType, ObjectDeserializer.languageId, Component181.aClass45_1541); + Component304.method699(Component65.aClass45_1627, (byte) -100, NodeSub35.aClass45_6980, Component158.aClass45_322, ShaderSub3.aClass45_5207); + Applet_Sub1.setJagmiscCacheStore(0, NodeList.aClass45_3323); + Component33.aClass226_2639 = new Component127(ObjectDeserializer.languageId, Component387.aClass45_1897, CommandHandler.aClass45_1434); + Component31.aClass355_5900 = new Component117(ObjectDeserializer.languageId, Component387.aClass45_1897, CommandHandler.aClass45_1434, new DisplayModeManagerContainer332()); + Component324.method1202(0); + GradientPreset.aClass263_9195.method2008(i + 28539, Component192.aClass348_Sub51_3959.aClass239_Sub27_7261.method1840(i + -3690) == 0); + DisplayModeManagerContainer58.aClass170_10209 = new DisplayModeManagerContainer292(); + Definition.method3038(-1); + RuntimeException_Sub1.method4011(i + 29684, Component339.aClass45_3146); + NodeSub29.method3004(ShaderSub3.aClass45_5207, false, DefinitionSub4.aD9113); + HuffmanDecoder class296 = new HuffmanDecoder(Component110.aClass45_233.getFile("huffman", "", -29832)); + GlToolkitSub3.method3896(class296, (byte) 13); + try { + jagmisc.init(); + } catch (Throwable throwable) { + /* empty */ + } + NodeSub8.aClass241_6660 = Component267.method1631(false); + DefinitionSub20.aClass348_Sub4_9264 = new HardwareProbe(true, OggUrlStream.aClass297_8992); + } + if (RSARequest.currentLoadingState == LoadingState.aClass56_1037) { + int i_11_ = (NodeSub22.method2958(22388, Component158.aClass45_322) + DisplayModeManagerContainer207.method3405(2012104999, true)); + int i_12_ = (Component383.method2188(-30477) - -HashNodeSub16.method3256(2)); + if (i_11_ < i_12_) return i_11_ * 100 / i_12_; + } + if (LoadingState.aClass56_1038 == RSARequest.currentLoadingState) + DisplayModeManagerContainer229.method752(NodeSub32.aClass45_6950, Component267.aClass268_2979, Component149.aClass183_4460, GradientPreset.aClass263_9195, DisplayModeManagerContainer64.aClass153_9031, Component245.aClass141_117, DisplayModeManagerContainer58.aClass170_10209); + if (LoadingState.aClass56_1039 == RSARequest.currentLoadingState) { + // TODO make cache edit to extend these or change id's + DisplayModeManagerContainer123.anIntArray1303 = (new int[Component329.aClass259_5995.anInt3305 + 1000]); + WaterShaderProgram.aBooleanArray6270 = (new boolean[Component329.aClass259_5995.anInt3305 + 1000]); + GlFramebufferTexture.aStringArray8532 = new String[GnpPositionLogger.aClass82_1523.anInt1439]; + for (int i_13_ = 0; Component329.aClass259_5995.anInt3305 + 1000 > i_13_; i_13_++) { + if (Component329.aClass259_5995.method1976(i_13_, i ^ ~0x6fc0).anInt2135 == 0) { + WaterShaderProgram.aBooleanArray6270[i_13_] = true; + DisplayModeManagerContainer147.anInt4168++; + } + DisplayModeManagerContainer123.anIntArray1303[i_13_] = -1; + } + Component262.loadPreferences(1); + DebugPanic.anInt4737 = NodeSub35.aClass45_6980.getGroupId("loginscreen", i ^ ~0x6ff3); + Component285.anInt970 = NodeSub35.aClass45_6980.getGroupId("lobbyscreen", 0); + SoftwareFallbackShader.aClass45_7382.clearNameTables(0, true, false); + Component54.aClass45_8667.clearNameTables(0, true, true); + Component158.aClass45_322.clearNameTables(i + 28660, true, true); + Component65.aClass45_1627.clearNameTables(0, true, true); + Component110.aClass45_233.clearNameTables(0, true, true); + NodeSub35.aClass45_6980.clearNameTables(0, true, true); + Component181.aClass45_1541.discardMode = 2; + Component144.aBoolean3988 = true; + VideoAdDisplay.aClass45_3183.discardMode = 2; + Component97.aClass45_1538.discardMode = 2; + Component43.aClass45_4975.discardMode = 2; + RadixParser.aClass45_2306.discardMode = 2; + CacheNodeSub2.aClass45_10480.discardMode = 2; + SeekableFile.aClass45_1322.discardMode = 2; + } + if (RSARequest.currentLoadingState == LoadingState.aClass56_1040) { + if (!Component233.method2547(DebugPanic.anInt4737, (byte) 84)) return 0; + boolean bool = true; + for (int i_14_ = 0; i_14_ < (DefinitionSub33.aClass46ArrayArray9427[DebugPanic.anInt4737]).length; i_14_++) { + DisplayModeManagerContainer57 class46 = (DefinitionSub33.aClass46ArrayArray9427[DebugPanic.anInt4737][i_14_]); + if (class46.anInt774 == 5 && class46.anInt756 != -1 && !Component158.aClass45_322.isFileReady(-10499, (class46.anInt756), 0)) bool = false; + } + if (!bool) return 0; + } + if (LoadingState.aClass56_1041 == RSARequest.currentLoadingState) CacheNode.method3198(true, (byte) -45); + if (RSARequest.currentLoadingState == LoadingState.aClass56_1042) { + Component44.aClass311_897.method2319((byte) -56); + try { + NodeSub32.aThread6946.join(); + } catch (InterruptedException interruptedexception) { + return 0; + } + Component134.aClass111_5813 = null; + DefinitionSub17Sub1.aClass45_10426 = null; + Component44.aClass311_897 = null; + Component280.anInterface16Array2447 = null; + NodeSub32.aThread6946 = null; + ShaderProgramSub7.aClass45_6277 = null; + GlToolkitSub3.method3886(i + 28556); + DisplayModeManagerContainer64.aBoolean9038 = Component192.aClass348_Sub51_3959.aClass239_Sub11_7265.method1768(-32350) == 1; + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub11_7265), 1); + if (DisplayModeManagerContainer64.aBoolean9038) Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub25_7251), 0); + else if (Component192.aClass348_Sub51_3959.aClass239_Sub25_7251.aBoolean6113 && DefinitionSub20.aClass348_Sub4_9264.anInt6609 < 512 && DefinitionSub20.aClass348_Sub4_9264.anInt6609 != 0) + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub25_7251), 0); + DisplayModeManagerContainer389.method243(i ^ ~0x6fd6); + if (DisplayModeManagerContainer64.aBoolean9038) SoftwareFallbackShader.method3553(false, (byte) 108, 0); + else SoftwareFallbackShader.method3553(false, (byte) 102, Component192.aClass348_Sub51_3959.aClass239_Sub25_7251.method1829(-32350)); + // Default to fullscreen 800x600 — scales up cleanly on phone/tablet. + Component192.aClass348_Sub51_3959.method3429((byte) 74, Component192.aClass348_Sub51_3959.aClass239_Sub8_7227, 3); + if (Component192.aClass348_Sub51_3959.aClass239_Sub8_7254 != null) Component192.aClass348_Sub51_3959.method3429((byte) 74, Component192.aClass348_Sub51_3959.aClass239_Sub8_7254, 3); + LogicError.method830(3, 800, (byte) 102, false, 600); + DisplayModeManagerContainer292.method1311(5139, NodeSub8.toolkit); + Component27.method3568(NodeSub8.toolkit, i ^ ~0x6ff7); + ItemDefinitionProvider.method1933(Component158.aClass45_322, NodeSub8.toolkit, true); + DisplayModeManagerContainer204.method901(Component22.aClass105Array1744, 515880227); + } + return DefinitionSub6.method3063(false); + } + + /** Concatenate {@code i} strings starting at {@code i_15_} (null → {@code "null"}). CS2 string join. */ + static final String concatStrings(boolean bool, int i, String[] strings, int i_15_) { + try { + anInt2172++; + if (i == 0) return ""; + if (i == 1) { + String string = strings[i_15_]; + if (string == null) return "null"; + return string; + } + int i_16_ = i + i_15_; + int i_17_ = 0; + for (int i_18_ = i_15_; i_16_ > i_18_; i_18_++) { + String string = strings[i_18_]; + if (string == null) i_17_ += 4; + else i_17_ += string.length(); + } + StringBuffer stringbuffer = new StringBuffer(i_17_); + for (int i_19_ = i_15_; i_19_ < i_16_; i_19_++) { + String string = strings[i_19_]; + if (string == null) stringbuffer.append("null"); + else stringbuffer.append(string); + } + if (bool != true) clearDefinitionCaches((byte) -20); + return stringbuffer.toString(); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("pea.C(" + bool + ',' + i + ',' + (strings != null ? "{...}" : "null") + ',' + i_15_ + ')')); + } + } +} diff --git a/client/src/LoadingState.java b/client/src/LoadingState.java new file mode 100644 index 000000000..8c7c95dbb --- /dev/null +++ b/client/src/LoadingState.java @@ -0,0 +1,133 @@ +/* LoadingState - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class56` (JODE-obfuscated). + * Loading/progress state. getStageId/getProgress report progress; startLoadingTask(Frame, ReflectionInvoker, boolean) spins up a loading Task and waits. Holds current/max (currentProgress/maxProgress) and flags (isBlocking/isSmooth). + */ + +import java.awt.*; + +final class LoadingState { + FriendsIgnoreList aClass274_1012; + boolean isSmooth; + static int anInt1014; + FriendsIgnoreList aClass274_1015; + boolean isBlocking; + /** Ordinal loading stage id (logged as "load stage N"). */ + private final int stageId; + static LoadingState aClass56_1018 = new LoadingState(0, FriendsIgnoreList.aClass274_3499, FriendsIgnoreList.aClass274_3499, 0, 1); + static int anInt1019; + static int anInt1020; + int currentProgress; + static int anInt1022; + static LoadingState aClass56_1023 = new LoadingState(1, FriendsIgnoreList.aClass274_3499, 2); + static LoadingState aClass56_1024 = new LoadingState(2, FriendsIgnoreList.aClass274_3499, FriendsIgnoreList.aClass274_3499, 2, 3); + int maxProgress; + static LoadingState aClass56_1026 = new LoadingState(3, FriendsIgnoreList.aClass274_3499, 3); + static LoadingState aClass56_1027 = new LoadingState(4, FriendsIgnoreList.aClass274_3499, FriendsIgnoreList.aClass274_3499, 3, 4); + static LoadingState aClass56_1028 = new LoadingState(5, FriendsIgnoreList.aClass274_3499, 4); + static LoadingState aClass56_1029 = new LoadingState(6, FriendsIgnoreList.aClass274_3499, 4); + static LoadingState aClass56_1030 = new LoadingState(7, FriendsIgnoreList.aClass274_3499, FriendsIgnoreList.aClass274_3499, 4, 5); + static LoadingState aClass56_1031 = new LoadingState(8, FriendsIgnoreList.aClass274_3499, FriendsIgnoreList.aClass274_3499, 5, 98, true, true);// + static LoadingState aClass56_1032 = new LoadingState(9, FriendsIgnoreList.aClass274_3499, 99); + static LoadingState aClass56_1033 = new LoadingState(10, FriendsIgnoreList.aClass274_3499, 100); + static LoadingState aClass56_1034 = new LoadingState(11, FriendsIgnoreList.aClass274_3500, FriendsIgnoreList.aClass274_3500, 0, 92, true, true); + static LoadingState aClass56_1035 = new LoadingState(12, FriendsIgnoreList.aClass274_3500, FriendsIgnoreList.aClass274_3500, 92, 92); + private static LoadingState aClass56_1036 = new LoadingState(13, FriendsIgnoreList.aClass274_3500, FriendsIgnoreList.aClass274_3500, 92, 93); + static LoadingState aClass56_1037 = new LoadingState(14, FriendsIgnoreList.aClass274_3500, FriendsIgnoreList.aClass274_3500, 94, 95); + static LoadingState aClass56_1038 = new LoadingState(15, FriendsIgnoreList.aClass274_3500, FriendsIgnoreList.aClass274_3500, 96, 97); + static LoadingState aClass56_1039 = new LoadingState(16, FriendsIgnoreList.aClass274_3500, 97); + static LoadingState aClass56_1040 = new LoadingState(17, FriendsIgnoreList.aClass274_3500, 97); + static LoadingState aClass56_1041 = new LoadingState(18, FriendsIgnoreList.aClass274_3500, 100); + static LoadingState aClass56_1042 = new LoadingState(19, FriendsIgnoreList.aClass274_3500, 100); + static LoadingState aClass56_1043 = new LoadingState(20, FriendsIgnoreList.aClass274_3500, 100); + /** JS5 group id for bitmap font archive {@code p11_full}. */ + static int p11FullGroupId; + static int[] anIntArray1045 = new int[2]; + + private LoadingState(int i, FriendsIgnoreList class274, int i_0_) { + this(i, class274, class274, i_0_, i_0_, true, false); + } + + /** @return ordinal stage id ({@link #stageId}). */ + final int getStageId(int i) { + if (i >= -109) aClass56_1039 = null; + anInt1019++; + return stageId; + } + + public final String toString() { + anInt1022++; + throw new IllegalStateException(); + } + + public static void getProgress(int i) { + aClass56_1040 = null; + aClass56_1032 = null; + aClass56_1042 = null; + aClass56_1038 = null; + aClass56_1034 = null; + aClass56_1027 = null; + aClass56_1018 = null; + aClass56_1026 = null; + if (i > 42) { + aClass56_1039 = null; + aClass56_1031 = null; + aClass56_1043 = null; + aClass56_1033 = null; + aClass56_1024 = null; + aClass56_1029 = null; + aClass56_1023 = null; + aClass56_1036 = null; + anIntArray1045 = null; + aClass56_1041 = null; + aClass56_1030 = null; + aClass56_1037 = null; + aClass56_1028 = null; + aClass56_1035 = null; + } + } + + static final void startLoadingTask(Frame frame, ReflectionInvoker class297, boolean bool) { + try { + anInt1020++; + for (; ; ) { + Task class144 = class297.exitFullscreen((byte) 89, frame); + while (class144.status == 0) SpriteAtlasShader.sleep((byte) -124, 10L); + if (class144.status == 1) break; + SpriteAtlasShader.sleep((byte) 33, 100L); + } + frame.setVisible(bool); + frame.dispose(); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("jj.D(" + (frame != null ? "{...}" : "null") + ',' + (class297 != null ? "{...}" : "null") + ',' + bool + ')')); + } + } + + private LoadingState(int i, FriendsIgnoreList class274, FriendsIgnoreList class274_1_, int i_2_, int i_3_) { + this(i, class274, class274_1_, i_2_, i_3_, true, false); + } + + /** All loading stage constants in ordinal order. */ + static final LoadingState[] allStages(int i) { + anInt1014++; + int i_4_ = 108 / ((i - 34) / 55); + return (new LoadingState[]{aClass56_1018, aClass56_1023, aClass56_1024, aClass56_1026, aClass56_1027, aClass56_1028, aClass56_1029, aClass56_1030, aClass56_1031, aClass56_1032, aClass56_1033, aClass56_1034, aClass56_1035, aClass56_1036, aClass56_1037, aClass56_1038, aClass56_1039, aClass56_1040, aClass56_1041, aClass56_1042, aClass56_1043}); + } + + private LoadingState(int i, FriendsIgnoreList class274, FriendsIgnoreList class274_5_, int i_6_, int i_7_, boolean bool, boolean bool_8_) { + try { + this.aClass274_1012 = class274; + this.currentProgress = i_7_; + stageId = i; + this.maxProgress = i_6_; + this.aClass274_1015 = class274_5_; + this.isBlocking = bool_8_; + this.isSmooth = bool; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("jj.(" + i + ',' + (class274 != null ? "{...}" : "null") + ',' + (class274_5_ != null ? "{...}" : "null") + ',' + i_6_ + ',' + i_7_ + ',' + bool + ',' + bool_8_ + ')')); + } + } +} diff --git a/client/src/LogicError.java b/client/src/LogicError.java new file mode 100644 index 000000000..c237a29c3 --- /dev/null +++ b/client/src/LogicError.java @@ -0,0 +1,213 @@ +/* LogicError - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class85` (JODE-obfuscated). + * Whirlpool-512 digest engine (misnamed from an internal "LOGIC ERROR" throw). + * Used for JS5 index / archive signature checks via {@link NodeSub1Sub2#whirlpoolDigest}. + */ + +final class LogicError { + static int anInt1461; + static int anInt1462; + private int anInt1463; + static int anInt1464; + private final byte[] aByteArray1465 = new byte[32]; + static int anInt1466; + static int anInt1467; + private int anInt1468; + private final long[] aLongArray1469; + static int anInt1470; + private final long[] aLongArray1471 = new long[8]; + private final long[] aLongArray1472; + private final long[] aLongArray1473; + private final long[] aLongArray1474; + private final byte[] aByteArray1475; + static int anInt1476; + + private final void method827(int i) { + anInt1462++; + int i_0_ = 0; + int i_1_ = i; + for (/**/; i_0_ < 8; i_0_++) { + aLongArray1473[i_0_] = (SpriteSub2.method993((SpriteSub2.method993((NodeSub8.method2777(255L, aByteArray1475[i_1_ + 6]) << 8), (SpriteSub2.method993(NodeSub8.method2777(((long) (aByteArray1475[i_1_ - -5]) << 16), 255L << 16), (SpriteSub2.method993((SpriteSub2.method993(NodeSub8.method2777(255L << 32, ((long) (aByteArray1475[i_1_ + 3]) << 32)), (SpriteSub2.method993(SpriteSub2.method993((NodeSub8.method2777(255L << 48, ((long) (aByteArray1475[1 + i_1_]) << 48))), ((long) (aByteArray1475[i_1_]) << 56)), NodeSub8.method2777(((long) (aByteArray1475[i_1_ + 2]) << 40), 255L << 40))))), NodeSub8.method2777(aByteArray1475[4 + i_1_], 255L) << 24)))))), NodeSub8.method2777(255L, aByteArray1475[i_1_ - -7]))); + i_1_ += 8; + } + for (int i_2_ = 0; i_2_ < 8; i_2_++) + aLongArray1469[i_2_] = SpriteSub2.method993(aLongArray1473[i_2_], (aLongArray1472[i_2_] = aLongArray1474[i_2_])); + for (int i_3_ = 1; i_3_ <= 10; i_3_++) { + for (int i_4_ = 0; i_4_ < 8; i_4_++) { + aLongArray1471[i_4_] = 0L; + int i_5_ = 0; + int i_6_ = 56; + for (/**/; i_5_ < 8; i_5_++) { + aLongArray1471[i_4_] = (SpriteSub2.method993(aLongArray1471[i_4_], (InputStream_Sub1.aLongArrayArray75[i_5_][(GpsOverlay.bitwiseAnd(255, (int) ((aLongArray1472[GpsOverlay.bitwiseAnd(7, i_4_ - i_5_)]) >>> i_6_)))]))); + i_6_ -= 8; + } + } + for (int i_7_ = 0; i_7_ < 8; i_7_++) + aLongArray1472[i_7_] = aLongArray1471[i_7_]; + aLongArray1472[0] = SpriteSub2.method993(aLongArray1472[0], InputStream_Sub1.aLongArray76[i_3_]); + for (int i_8_ = 0; i_8_ < 8; i_8_++) { + aLongArray1471[i_8_] = aLongArray1472[i_8_]; + int i_9_ = 0; + int i_10_ = 56; + for (/**/; i_9_ < 8; i_9_++) { + aLongArray1471[i_8_] = (SpriteSub2.method993(aLongArray1471[i_8_], (InputStream_Sub1.aLongArrayArray75[i_9_][(GpsOverlay.bitwiseAnd(255, (int) ((aLongArray1469[GpsOverlay.bitwiseAnd(-i_9_ + i_8_, 7)]) >>> i_10_)))]))); + i_10_ -= 8; + } + } + for (int i_11_ = 0; i_11_ < 8; i_11_++) + aLongArray1469[i_11_] = aLongArray1471[i_11_]; + } + for (int i_12_ = 0; i_12_ < 8; i_12_++) + aLongArray1474[i_12_] = (SpriteSub2.method993(aLongArray1474[i_12_], SpriteSub2.method993(aLongArray1473[i_12_], aLongArray1469[i_12_]))); + } + + static final void method828(byte i, int i_13_, int i_14_) { + if (i != 38) method828((byte) 63, 119, 33); + anInt1467++; + if (Component158.aHa326 != null) { + int i_15_ = Component82.anInt425; + int i_16_ = AudioMixer.anInt3225; + DisplayModeManagerContainer295.method1752(-1, i_13_, i_14_); + if (Buffer.anInt7207 == 0) { + DisplayModeManagerContainer167.anInterface4_252 = null; + DisplayModeManagerContainer167.anInterface4_252 = (Component158.aHa326.method3634(Component158.aHa326.method3665((GpiLogger.anInt8854), Component25.anInt6008), Component158.aHa326.method3624((GpiLogger.anInt8854), Component25.anInt6008))); + } else if (Buffer.anInt7207 == 1 && (DisplayModeManagerContainer23.anInterface4Array1525 == null || i_15_ != Component82.anInt425 || i_16_ != AudioMixer.anInt3225)) { + DisplayModeManagerContainer23.anInterface4Array1525 = new Interface4[AudioMixer.anInt3225 * Component82.anInt425]; + for (int i_17_ = 0; DisplayModeManagerContainer23.anInterface4Array1525.length > i_17_; i_17_++) + DisplayModeManagerContainer23.anInterface4Array1525[i_17_] = (Component158.aHa326.method3634(Component158.aHa326.method3665(Component255.anInt1067, AbstractBuffer.anInt4267), Component158.aHa326.method3624(Component255.anInt1067, AbstractBuffer.anInt4267))); + Component72.anIntArray1909 = new int[Component82.anInt425 * AudioMixer.anInt3225]; + Component212.anInt9997 = 1; + } + NodeSub16Sub2.aBoolean8870 = true; + } + } + + /** Reset digest state. */ + final void reset(int i) { + anInt1466++; + int i_18_ = -69 % ((i - 33) / 43); + for (int i_19_ = 0; i_19_ < 32; i_19_++) + aByteArray1465[i_19_] = (byte) 0; + aByteArray1475[0] = (byte) 0; + anInt1463 = anInt1468 = 0; + for (int i_20_ = 0; i_20_ < 8; i_20_++) + aLongArray1474[i_20_] = 0L; + } + + static final void method830(int i, int i_21_, byte i_22_, boolean bool, int i_23_) { + anInt1461++; + HashNodeSub3.method3179(0); + NodeSub16Sub2.aLong8866 = 0L; + int i_24_ = MenuEntry.getWindowMode(-82); + if (i_22_ == 102) { + if (i == 3 || i_24_ == 3) bool = true; + if (!NodeSub8.toolkit.method3695()) bool = true; + ScreenModeManager.setScreenMode((byte) -125, bool, i_21_, i_24_, i, i_23_); + } + } + + static final int method831(int i, int i_25_, int i_26_, int i_27_) { + anInt1476++; + int i_28_ = 106 / ((-20 - i_27_) / 48); + if (i_26_ > i_25_) return i_26_; + return Math.min(i_25_, i); + } + + /** Absorb {@code l} bits from {@code is}. */ + final void update(long l, byte[] is, int i) { + try { + anInt1464++; + int i_29_ = 0; + int i_30_ = 8 - ((int) l & 0x7) & 0x7; + int i_31_ = anInt1463 & 0x7; + long l_32_ = l; + int i_33_ = 31; + int i_34_ = 0; + for (/**/; i_33_ >= 0; i_33_--) { + i_34_ += (0xff & aByteArray1465[i_33_]) - -(0xff & (int) l_32_); + aByteArray1465[i_33_] = (byte) i_34_; + l_32_ >>>= 8; + i_34_ >>>= 8; + } + int i_35_ = 6 % ((i - 64) / 52); + while (l > 8L) { + int i_36_ = (is[i_29_] << i_30_ & 0xff | (0xff & is[1 + i_29_]) >>> 8 + -i_30_); + if (i_36_ < 0 || i_36_ >= 256) throw new RuntimeException("LOGIC ERROR"); + aByteArray1475[anInt1468] = (byte) Component224.bitwiseOr(aByteArray1475[anInt1468], i_36_ >>> i_31_); + anInt1468++; + anInt1463 += 8 - i_31_; + if (anInt1463 == 512) { + method827(0); + anInt1463 = anInt1468 = 0; + } + aByteArray1475[anInt1468] = (byte) GpsOverlay.bitwiseAnd(i_36_ << -i_31_ + 8, 255); + i_29_++; + l -= 8L; + anInt1463 += i_31_; + } + int i_37_; + if (l > 0L) { + i_37_ = 0xff & is[i_29_] << i_30_; + aByteArray1475[anInt1468] = (byte) Component224.bitwiseOr(aByteArray1475[anInt1468], i_37_ >>> i_31_); + } else i_37_ = 0; + if (l + (long) i_31_ >= 8) { + anInt1463 += 8 - i_31_; + l -= -i_31_ + 8; + anInt1468++; + if (anInt1463 == 512) { + method827(0); + anInt1463 = anInt1468 = 0; + } + aByteArray1475[anInt1468] = (byte) GpsOverlay.bitwiseAnd(i_37_ << 8 + -i_31_, 255); + anInt1463 += (int) l; + } else anInt1463 += l; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("lda.B(" + l + ',' + (is != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + /** Finalize into 64-byte {@code is}. */ + final void digest(boolean bool, int i, byte[] is) { + anInt1470++; + aByteArray1475[anInt1468] = (byte) Component224.bitwiseOr(aByteArray1475[anInt1468], 128 >>> GpsOverlay.bitwiseAnd(anInt1463, 7)); + anInt1468++; + if (anInt1468 > 32) { + while (anInt1468 < 64) aByteArray1475[anInt1468++] = (byte) 0; + method827(0); + anInt1468 = 0; + } + while (anInt1468 < 32) aByteArray1475[anInt1468++] = (byte) 0; + Component313.arraycopy(aByteArray1465, 0, aByteArray1475, 32, 32); + method827(0); + int i_38_ = 0; + if (bool != true) method830(-1, -123, (byte) 39, false, 61); + int i_39_ = i; + while (i_38_ < 8) { + long l = aLongArray1474[i_38_]; + is[i_39_] = (byte) (int) (l >>> 56); + is[i_39_ + 1] = (byte) (int) (l >>> 48); + is[2 + i_39_] = (byte) (int) (l >>> 40); + is[i_39_ - -3] = (byte) (int) (l >>> 32); + is[i_39_ + 4] = (byte) (int) (l >>> 24); + is[i_39_ + 5] = (byte) (int) (l >>> 16); + is[6 + i_39_] = (byte) (int) (l >>> 8); + is[i_39_ + 7] = (byte) (int) l; + i_38_++; + i_39_ += 8; + } + } + + public LogicError() { + anInt1468 = 0; + anInt1463 = 0; + aLongArray1472 = new long[8]; + aLongArray1473 = new long[8]; + aByteArray1475 = new byte[64]; + aLongArray1469 = new long[8]; + aLongArray1474 = new long[8]; + } +} diff --git a/client/src/NamedInteger.java b/client/src/NamedInteger.java new file mode 100644 index 000000000..ae9e4e01d --- /dev/null +++ b/client/src/NamedInteger.java @@ -0,0 +1,32 @@ +/* NamedInteger - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class364` (JODE-obfuscated). + * Named int constant (label + {@link #value}). + * World-list channels use statics like {@link Component326#LIVE}, {@link WaterShaderSub8#WTRC}, {@link DisplayModeManagerContainer154#LOCAL}. + */ + +final class NamedInteger { + int value; + static int anInt4467; + static int anInt4468; + static int anInt4469; + + public final String toString() { + anInt4467++; + throw new IllegalStateException(); + } + + /** Clear the NamedInteger-related LRU used by channel/world-list helpers. */ + static final void clearCaches(int i) { + if (i <= 35) clearCaches(98); + anInt4468++; + Component121.aClass60_4543.clear(0); + } + + NamedInteger(String string, int i) { + this.value = i; + } +} diff --git a/client/src/Npc.java b/client/src/Npc.java deleted file mode 100644 index 06e52399e..000000000 --- a/client/src/Npc.java +++ /dev/null @@ -1,437 +0,0 @@ -/* Class318_Sub1_Sub3_Sub3_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class Npc extends Class318_Sub1_Sub3_Sub3 { - static int anInt10493; - static int anInt10494; - static int anInt10495; - static int anInt10496; - static int anInt10497; - static int anInt10498; - int anInt10499 = -1; - static int anInt10500; - static int anInt10501; - static int anInt10502; - static int anInt10503; - static int anInt10504; - Class79 aClass79_10505; - static int anInt10506; - static int anInt10507; - static int anInt10508; - static int anInt10509; - static int anInt10510; - static int anInt10511; - int anInt10512 = -1; - static int anInt10513; - static int anInt10514; - static int anInt10515; - - static final void method2441(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_) { - if (i_2_ != -22728) anInt10503 = 121; - if (i_5_ - i_0_ >= Class369.anInt4960 && Class113.anInt1745 >= i_0_ + i_5_ && -i_0_ + i_3_ >= Class132.anInt1910 && i_3_ + i_0_ <= Class38.anInt513) Class299.method2255(i_0_, i_5_, (byte) -68, i_1_, i_3_, i_4_, i); - else Class205.method1496(i, i_3_, i_4_, i_0_, 2, i_1_, i_5_); - anInt10498++; - } - - private final boolean method2442(int i) { - if (i != 1810797122) this.anInt10499 = -103; - anInt10510++; - return (this.aClass79_10505.aBoolean1396); - } - - final void method2380(ha var_ha, int i, boolean bool, Class318_Sub1 class318_sub1, int i_6_, byte i_7_, int i_8_) { - try { - if (i_7_ > -106) this.aClass79_10505 = null; - anInt10513++; - throw new IllegalStateException(); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ff.N(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class318_sub1 != null ? "{...}" : "null") + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ')')); - } - } - - final void method2392(boolean bool) { - anInt10507++; - if (bool != true) this.anInt10499 = -13; - throw new IllegalStateException(); - } - - final boolean method2391(ha var_ha, int i, int i_9_, int i_10_) { - anInt10514++; - if (this.aClass79_10505 == null || !method2447(97, 131072, var_ha)) return false; - Class101 class101 = var_ha.method3705(); - int i_11_ = this.aClass264_10217.method2019((byte) -78); - class101.method895(i_11_); - class101.method891(this.x, this.anInt6382, this.y); - boolean bool = false; - for (int i_12_ = i_10_; (this.aClass64Array10323.length > i_12_); i_12_++) { - if (this.aClass64Array10323[i_12_] != null) { - boolean bool_13_ = (this.aClass79_10505.anInt1337 > 0 || (this.aClass79_10505.anInt1333 != -1 ? this.aClass79_10505.anInt1333 == 1 : this.aClass79_10505.anInt1399 == 1)); - boolean bool_14_; - if (Class305.aBoolean3870) bool_14_ = (this.aClass64Array10323[i_12_].method623(i_9_, i, class101, bool_13_, this.aClass79_10505.anInt1337, Class132.anInt1906)); - else bool_14_ = (this.aClass64Array10323[i_12_].method628(i_9_, i, class101, bool_13_, this.aClass79_10505.anInt1337)); - if (bool_14_) { - bool = true; - break; - } - } - } - this.aClass64Array10323[0] = this.aClass64Array10323[1] = this.aClass64Array10323[2] = null; - return bool; - } - - final void method2443(int i, int i_15_, int i_16_) { - anInt10497++; - int i_17_ = this.anIntArray10320[0]; - int i_18_ = this.anIntArray10317[0]; - if (i == 0) i_18_++; - if (i == 1) { - i_17_++; - i_18_++; - } - if (i == 2) i_17_++; - if (i == 3) { - i_17_++; - i_18_--; - } - if (i == 4) i_18_--; - if (i == 5) { - i_17_--; - i_18_--; - } - if (i == 6) i_17_--; - if (i == 7) { - i_17_--; - i_18_++; - } - if (this.anInt10286 != -1 && Class10.aClass87_191.method835(this.anInt10286, 7).anInt245 == 1) { - this.anInt10286 = -1; - this.anIntArray10236 = null; - } - if (this.anInt10269 != -1) { - Class368 class368 = (Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 118, this.anInt10269)); - if (class368.aBoolean4487 && class368.anInt4503 != -1 && (Class10.aClass87_191.method835(class368.anInt4503, 7).anInt245) == 1) this.anInt10269 = -1; - } - if (this.anInt10291 != -1) { - Class368 class368 = (Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 77, this.anInt10291)); - if (class368.aBoolean4487 && class368.anInt4503 != -1 && (Class10.aClass87_191.method835(class368.anInt4503, 7).anInt245) == 1) this.anInt10291 = -1; - } - if ((~this.anInt10319) > i_16_) this.anInt10319++; - for (int i_19_ = this.anInt10319; i_19_ > 0; i_19_--) { - this.anIntArray10320[i_19_] = this.anIntArray10320[-1 + i_19_]; - this.anIntArray10317[i_19_] = this.anIntArray10317[-1 + i_19_]; - this.aByteArray10321[i_19_] = this.aByteArray10321[i_19_ + -1]; - } - this.anIntArray10320[0] = i_17_; - this.anIntArray10317[0] = i_18_; - this.aByteArray10321[0] = (byte) i_15_; - } - - final Class318_Sub4 method2386(int i, ha var_ha) { - anInt10501++; - if (this.aClass79_10505 == null || !method2447(i + 114, 2048, var_ha)) return null; - Class101 class101 = var_ha.method3705(); - int i_20_ = this.aClass264_10217.method2019((byte) -69); - class101.method895(i_20_); - Class357 class357 = (Class147.aClass357ArrayArrayArray2029[this.plane][this.x >> Class362.anInt4459][this.y >> Class362.anInt4459]); - if (class357 != null && class357.aClass318_Sub1_Sub1_4402 != null) { - int i_21_ = (-class357.aClass318_Sub1_Sub1_4402.aShort8727 + this.anInt10274); - this.anInt10274 -= (float) i_21_ / 10.0F; - } else this.anInt10274 -= (float) this.anInt10274 / 10.0F; - class101.method891(this.x, (-this.anInt10274 + this.anInt6382 + -20), this.y); - Class225 class225 = this.method2422((byte) 72); - Class79 class79 = (this.aClass79_10505.anIntArray1377 != null ? this.aClass79_10505.method794(Class318_Sub1_Sub3_Sub3.aClass170_10209, -1) : this.aClass79_10505); - this.aBoolean10324 = false; - Class318_Sub4 class318_sub4 = null; - if (Class316.aClass348_Sub51_3959.aClass239_Sub21_7270.method1812(-32350) == i && class79.aBoolean1369 && class225.aBoolean2913) { - Class17 class17 = ((this.anInt10286 == -1 || this.anInt10218 != 0) ? null : Class10.aClass87_191.method835(this.anInt10286, 7)); - Class17 class17_22_ = ((this.anInt10268 == -1 || (this.aBoolean10213 && class17 != null)) ? null : Class10.aClass87_191.method835(this.anInt10268, 7)); - Class64 class64 = (Class348.method2711(this.anInt10302, i_20_, this.aClass64Array10323[0], this.anInt10208, false, (class17_22_ == null ? this.anInt10267 : this.anInt10245), 0xffff & this.aClass79_10505.aShort1339, this.aClass79_10505.anInt1399, this.anInt10252, var_ha, 0xff & this.aClass79_10505.aByte1353, this.aClass79_10505.aShort1350 & 0xffff, this.aClass79_10505.aByte1347 & 0xff, class17_22_ == null ? class17 : class17_22_)); - if (class64 != null) { - class318_sub4 = (OutputStream_Sub2.method136(1 + (this.aClass64Array10323).length, method2442(1810797122), false)); - this.aBoolean10324 = true; - var_ha.C(false); - if (!Class305.aBoolean3870) class64.method615(class101, (class318_sub4.aClass318_Sub3Array6414[(this.aClass64Array10323).length]), 0); - else class64.method608(class101, (class318_sub4.aClass318_Sub3Array6414[(this.aClass64Array10323).length]), Class132.anInt1906, 0); - var_ha.C(true); - } - } - class101.method895(i_20_); - class101.method891(this.x, (-this.anInt10274 + (-5 + this.anInt6382)), this.y); - if (class318_sub4 == null) class318_sub4 = OutputStream_Sub2.method136((this.aClass64Array10323).length, method2442(1810797122), false); - this.method2432(var_ha, -15074, class101, false, this.aClass64Array10323); - if (Class305.aBoolean3870) { - for (int i_24_ = 0; (this.aClass64Array10323.length > i_24_); i_24_++) { - if (this.aClass64Array10323[i_24_] != null) this.aClass64Array10323[i_24_].method608(class101, (class318_sub4.aClass318_Sub3Array6414[i_24_]), Class132.anInt1906, 0); - } - } else { - for (int i_23_ = 0; (this.aClass64Array10323.length > i_23_); i_23_++) { - if (this.aClass64Array10323[i_23_] != null) this.aClass64Array10323[i_23_].method615(class101, (class318_sub4.aClass318_Sub3Array6414[i_23_]), 0); - } - } - if (this.aClass318_Sub10_10327 != null) { - Class98 class98 = this.aClass318_Sub10_10327.method2525(); - if (Class305.aBoolean3870) var_ha.method3685(class98, Class132.anInt1906); - else var_ha.method3684(class98); - } - for (int i_25_ = 0; (this.aClass64Array10323.length > i_25_); i_25_++) { - if (this.aClass64Array10323[i_25_] != null) this.aBoolean10324 |= this.aClass64Array10323[i_25_].F(); - } - this.anInt10301 = Class239_Sub15.anInt6006; - this.aClass64Array10323[0] = this.aClass64Array10323[1] = this.aClass64Array10323[2] = null; - return class318_sub4; - } - - final int method2421(byte i) { - anInt10495++; - if ((this.aClass79_10505.anIntArray1377) != null) { - Class79 class79 = this.aClass79_10505.method794(Class318_Sub1_Sub3_Sub3.aClass170_10209, -1); - if (class79 != null && class79.anInt1366 != -1) return class79.anInt1366; - } - if (i < 113) method2448(null, 88); - return (this.aClass79_10505.anInt1366); - } - - final int method2393(int i) { - anInt10506++; - if (i >= -109) this.anInt10499 = -47; - if (this.aClass79_10505 == null) return 0; - return (this.aClass79_10505.anInt1337); - } - - final void method2444(int i, boolean bool, int i_26_, int i_27_, int i_28_, int i_29_) { - this.plane = this.aByte6376 = (byte) i_29_; - anInt10515++; - if (Class79.method802(i, i_26_, true)) this.aByte6376++; - if (this.anInt10286 != -1 && Class10.aClass87_191.method835(this.anInt10286, 7).anInt245 == 1) { - this.anIntArray10236 = null; - this.anInt10286 = -1; - } - if (this.anInt10269 != -1) { - Class368 class368 = (Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 117, this.anInt10269)); - if (class368.aBoolean4487 && class368.anInt4503 != -1 && (Class10.aClass87_191.method835(class368.anInt4503, 7).anInt245) == 1) this.anInt10269 = -1; - } - if (this.anInt10291 != -1) { - Class368 class368 = (Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 56, this.anInt10291)); - if (class368.aBoolean4487 && class368.anInt4503 != -1 && (Class10.aClass87_191.method835(class368.anInt4503, 7).anInt245) == 1) this.anInt10291 = -1; - } - if (!bool) { - int i_30_ = i_26_ - this.anIntArray10320[0]; - int i_31_ = i + -this.anIntArray10317[0]; - if (i_30_ >= -8 && i_30_ <= 8 && i_31_ >= -8 && i_31_ <= 8) { - if (this.anInt10319 < 9) this.anInt10319++; - for (int i_32_ = this.anInt10319; i_32_ > 0; i_32_--) { - this.anIntArray10320[i_32_] = (this.anIntArray10320[i_32_ - 1]); - this.anIntArray10317[i_32_] = (this.anIntArray10317[i_32_ + -1]); - this.aByteArray10321[i_32_] = (this.aByteArray10321[i_32_ + -1]); - } - this.anIntArray10320[0] = i_26_; - this.anIntArray10317[0] = i; - this.aByteArray10321[0] = (byte) 1; - return; - } - } - this.anInt10322 = 0; - this.anInt10319 = 0; - this.anIntArray10320[0] = i_26_; - if (i_27_ >= 91) { - this.anInt10326 = 0; - this.anIntArray10317[0] = i; - this.x = (this.anIntArray10320[0] << 9) + (i_28_ << 8); - this.y = (this.anIntArray10317[0] << 9) + (i_28_ << 8); - if (this.aClass318_Sub10_10327 != null) this.aClass318_Sub10_10327.method2529(); - } - } - - final Class30 method2381(ha var_ha, int i) { - if (i != 7) this.anInt10512 = 102; - anInt10493++; - return null; - } - - final boolean method2445(byte i) { - anInt10500++; - if (this.aClass79_10505 == null) return false; - int i_33_ = 116 % ((-44 - i) / 38); - return true; - } - - final int method2425(int i) { - anInt10496++; - if ((this.aClass79_10505.anIntArray1377) != null) { - Class79 class79 = this.aClass79_10505.method794(Class318_Sub1_Sub3_Sub3.aClass170_10209, -1); - if (class79 != null && class79.anInt1336 != -1) return class79.anInt1336; - } - if (i != -1) this.anInt10499 = -69; - return (this.aClass79_10505.anInt1336); - } - - final boolean method2388(int i) { - anInt10502++; - return i > -65; - } - - final int method2426(int i) { - anInt10504++; - if (i != 200) return 115; - if ((this.aClass79_10505.anIntArray1377) != null) { - Class79 class79 = this.aClass79_10505.method794(Class318_Sub1_Sub3_Sub3.aClass170_10209, -1); - if (class79 != null && class79.anInt1390 != -1) return class79.anInt1390; - } - if ((this.aClass79_10505.anInt1390) == -1) return super.method2426(200); - return (this.aClass79_10505.anInt1390); - } - - final void method2387(ha var_ha, int i) { - anInt10509++; - if (this.aClass79_10505 != null && (this.aBoolean10318 || method2447(123, 0, var_ha))) { - if (i > -125) method2391(null, -2, -103, 34); - Class101 class101 = var_ha.method3705(); - class101.method895(this.aClass264_10217.method2019((byte) -118)); - class101.method891(this.x, -20 + this.anInt6382, this.y); - this.method2432(var_ha, -15074, class101, this.aBoolean10318, (this.aClass64Array10323)); - this.aClass64Array10323[0] = this.aClass64Array10323[1] = this.aClass64Array10323[2] = null; - } - } - - public Npc() { - /* empty */ - } - - static final boolean method2446(char c, byte i) { - if (i != 105) anInt10503 = 124; - anInt10508++; - return (c >= 48 && c <= 57) || (c >= 65 && c <= 90) || (c >= 97 && c <= 122); - } - - private final boolean method2447(int i, int i_34_, ha var_ha) { - if (i <= 84) this.aClass79_10505 = null; - anInt10494++; - int i_35_ = i_34_; - Class225 class225 = this.method2422((byte) 72); - Class17 class17 = ((this.anInt10286 == -1 || this.anInt10218 != 0) ? null : Class10.aClass87_191.method835(this.anInt10286, 7)); - Class17 class17_36_ = ((this.anInt10268 != -1 && (!this.aBoolean10213 || class17 == null)) ? Class10.aClass87_191.method835(this.anInt10268, 7) : null); - int i_37_ = class225.anInt2932; - int i_38_ = class225.anInt2941; - if (i_37_ != 0 || i_38_ != 0 || class225.anInt2950 != 0 || class225.anInt2926 != 0) i_34_ |= 0x7; - boolean bool = (this.aByte10279 != 0 && (Class367_Sub11.anInt7396 >= this.anInt10248) && (Class367_Sub11.anInt7396 < this.anInt10250)); - if (bool) i_34_ |= 0x80000; - int i_39_ = this.aClass264_10217.method2019((byte) -25); - Class64 class64 = (this.aClass64Array10323[0] = (this.aClass79_10505.method800(i_39_, this.aClass182Array10308, Class10.aClass87_191, false, class17_36_, this.anInt10203, Class64_Sub3.aClass261_5558, this.anInt10267, class17, Class318_Sub1_Sub3_Sub3.aClass170_10209, var_ha, this.anInt10312, this.anIntArray10296, this.anInt10244, this.anInt10245, i_34_, this.anInt10232))); - if (class64 == null) return false; - this.anInt10207 = class64.fa(); - this.anInt10230 = class64.ma(); - this.method2439(-125, class64); - if (i_37_ != 0 || i_38_ != 0) { - this.method2424(i_39_, i_37_, class225.anInt2943, i_38_, (byte) 78, class225.anInt2912); - if (this.anInt10302 != 0) this.aClass64Array10323[0].FA(this.anInt10302); - if (this.anInt10208 != 0) this.aClass64Array10323[0].VA(this.anInt10208); - if (this.anInt10252 != 0) this.aClass64Array10323[0].H(0, this.anInt10252, 0); - } else this.method2424(i_39_, this.method2436((byte) 78) << 9, 0, this.method2436((byte) 108) << 9, (byte) 92, 0); - if (bool) class64.method624(this.aByte10255, this.aByte10206, this.aByte10270, (0xff & this.aByte10279)); - if (this.anInt10269 == -1 || this.anInt10240 == -1) this.aClass64Array10323[1] = null; - else { - Class368 class368 = (Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 56, this.anInt10269)); - boolean bool_40_ = (class368.aByte4488 == 3 && (i_37_ != 0 || i_38_ != 0)); - int i_41_ = i_35_; - if (!bool_40_) { - if (this.anInt10237 != 0) i_41_ |= 0x5; - if (this.anInt10220 != 0) i_41_ |= 0x2; - if (this.anInt10278 >= 0) i_41_ |= 0x7; - } else i_41_ |= 0x7; - Class64 class64_42_ = (this.aClass64Array10323[1] = (class368.method3562(this.anInt10240, var_ha, this.anInt10243, i_41_, this.anInt10283, Class10.aClass87_191, (byte) 78))); - if (class64_42_ != null) { - if (this.anInt10278 < 0) { - if (this.anInt10237 != 0) class64_42_.a(2048 * (this.anInt10237)); - } else { - int i_43_ = 0; - int i_44_ = 0; - int i_45_ = 0; - if (class225.anIntArrayArray2939 != null && ((class225.anIntArrayArray2939[this.anInt10278]) != null)) { - i_45_ += (class225.anIntArrayArray2939[this.anInt10278][2]); - i_43_ += (class225.anIntArrayArray2939[this.anInt10278][0]); - i_44_ += (class225.anIntArrayArray2939[this.anInt10278][1]); - } - if (class225.anIntArrayArray2910 != null && ((class225.anIntArrayArray2910[this.anInt10278]) != null)) { - i_44_ += (class225.anIntArrayArray2910[this.anInt10278][1]); - i_43_ += (class225.anIntArrayArray2910[this.anInt10278][0]); - i_45_ += (class225.anIntArrayArray2910[this.anInt10278][2]); - } - if (i_45_ != 0 || i_43_ != 0) { - int i_46_ = i_39_; - if ((this.anIntArray10296 != null) && ((this.anIntArray10296[this.anInt10278]) != -1)) i_46_ = (this.anIntArray10296[(this.anInt10278)]); - int i_47_ = (-i_39_ + (i_46_ + 2048 * this.anInt10237) & 0x3fff); - if (i_47_ != 0) class64_42_.a(i_47_); - int i_48_ = Class70.anIntArray1207[i_47_]; - int i_49_ = Class70.anIntArray1204[i_47_]; - int i_50_ = i_45_ * i_48_ - -(i_43_ * i_49_) >> 14; - i_45_ = i_45_ * i_49_ + -(i_43_ * i_48_) >> 14; - i_43_ = i_50_; - } - class64_42_.H(i_43_, i_44_, i_45_); - } - if (this.anInt10220 != 0) class64_42_.H(0, (-this.anInt10220 << 2), 0); - if (bool_40_) { - if (this.anInt10302 != 0) class64_42_.FA(this.anInt10302); - if (this.anInt10208 != 0) class64_42_.VA(this.anInt10208); - if (this.anInt10252 != 0) class64_42_.H(0, (this.anInt10252), 0); - } - } - } - if (this.anInt10291 == -1 || this.anInt10224 == -1) this.aClass64Array10323[2] = null; - else { - Class368 class368 = (Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 98, this.anInt10291)); - boolean bool_51_ = (class368.aByte4488 == 3 && (i_37_ != 0 || i_38_ != 0)); - int i_52_ = i_35_; - if (!bool_51_) { - if (this.anInt10202 != 0) i_52_ |= 0x5; - if (this.anInt10260 != 0) i_52_ |= 0x2; - if (this.anInt10289 >= 0) i_52_ |= 0x7; - } else i_52_ |= 0x7; - Class64 class64_53_ = (this.aClass64Array10323[2] = (class368.method3558(this.anInt10273, this.anInt10276, var_ha, i_52_, 3172, Class10.aClass87_191, this.anInt10224))); - if (class64_53_ != null) { - if (this.anInt10289 >= 0 && class225.anIntArrayArray2939 != null && ((class225.anIntArrayArray2939[this.anInt10289]) != null)) { - int i_54_ = 0; - int i_55_ = 0; - int i_56_ = 0; - if (class225.anIntArrayArray2939 != null && ((class225.anIntArrayArray2939[this.anInt10289]) != null)) { - i_55_ += (class225.anIntArrayArray2939[this.anInt10289][1]); - i_54_ += (class225.anIntArrayArray2939[this.anInt10289][0]); - i_56_ += (class225.anIntArrayArray2939[this.anInt10289][2]); - } - if (class225.anIntArrayArray2910 != null && ((class225.anIntArrayArray2910[this.anInt10289]) != null)) { - i_55_ += (class225.anIntArrayArray2910[this.anInt10289][1]); - i_54_ += (class225.anIntArrayArray2910[this.anInt10289][0]); - i_56_ += (class225.anIntArrayArray2910[this.anInt10289][2]); - } - if (i_56_ != 0 || i_54_ != 0) { - int i_57_ = i_39_; - if ((this.anIntArray10296 != null) && ((this.anIntArray10296[this.anInt10289]) != -1)) i_57_ = (this.anIntArray10296[(this.anInt10289)]); - int i_58_ = (0x3fff & -i_39_ + (i_57_ + 2048 * this.anInt10202)); - if (i_58_ != 0) class64_53_.a(i_58_); - int i_59_ = Class70.anIntArray1207[i_58_]; - int i_60_ = Class70.anIntArray1204[i_58_]; - int i_61_ = i_56_ * i_59_ - -(i_60_ * i_54_) >> 14; - i_56_ = i_60_ * i_56_ - i_59_ * i_54_ >> 14; - i_54_ = i_61_; - } - class64_53_.H(i_54_, i_55_, i_56_); - } else if (this.anInt10202 != 0) class64_53_.a(2048 * this.anInt10202); - if (this.anInt10260 != 0) class64_53_.H(0, (-this.anInt10260 << 2), 0); - if (bool_51_) { - if (this.anInt10302 != 0) class64_53_.FA(this.anInt10302); - if (this.anInt10208 != 0) class64_53_.VA(this.anInt10208); - if (this.anInt10252 != 0) class64_53_.H(0, (this.anInt10252), 0); - } - } - } - return true; - } - - final void method2448(Class79 class79, int i) { - anInt10511++; - this.aClass79_10505 = class79; - if (i != -2) this.anInt10512 = 69; - if (this.aClass318_Sub10_10327 != null) this.aClass318_Sub10_10327.method2529(); - } -} diff --git a/client/src/ObjectDeserializer.java b/client/src/ObjectDeserializer.java new file mode 100644 index 000000000..d383bb7d8 --- /dev/null +++ b/client/src/ObjectDeserializer.java @@ -0,0 +1,166 @@ +/* ObjectDeserializer - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub33` (JODE-obfuscated). + * Serialized game-data reader. writeReflectionCheckResults(byte,DisplayModeManagerContainer207) reads records via ObjectInputStream over a ByteArrayInputStream; extends Node. + */ + +import java.io.ByteArrayInputStream; +import java.io.ObjectInputStream; +import java.lang.reflect.Field; +import java.lang.reflect.Method; + +final class ObjectDeserializer extends Node { + boolean[] aBooleanArray6954; + /** Shared GZIP inflater for {@link NodeSub41#decompressContainer}. */ + static InflaterDecompressor gzipDecompressor = new InflaterDecompressor(); + static int anInt6956; + int[] anIntArray6957; + int anInt6958; + int[][] anIntArrayArray6959; + int[] anIntArray6960; + static int anInt6961; + static byte[][][] aByteArrayArrayArray6962; + static long aLong6963 = 0L; + static int anInt6964; + int anInt6965; + /** Hashed username / player identity written on login. */ + static long userHash; + /** UI language index into {@link Component185#languageNames} (applet {@code lang}). */ + static int languageId = 0; + + public static void clearStatics(int i) { + gzipDecompressor = null; + if (i >= -74) languageId = 12; + aByteArrayArrayArray6962 = null; + } + + /** + * Run pending reflection checks (field get/set, method invoke/modifiers) and write + * typed results into the outgoing packet buffer. + */ + static final void writeReflectionCheckResults(byte i, DisplayModeManagerContainer207 class348_sub49_sub2) { + anInt6961++; + NodeSub48 class348_sub48 = (NodeSub48) NodeSub35.aClass262_6978.first(4); + if (class348_sub48 != null) { + boolean bool = false; + for (int i_0_ = 0; i_0_ < class348_sub48.anInt7126; i_0_++) { + if (class348_sub48.aClass144Array7135[i_0_] != null) { + if ((class348_sub48.aClass144Array7135[i_0_].status) == 2) class348_sub48.anIntArray7131[i_0_] = -5; + if ((class348_sub48.aClass144Array7135[i_0_].status) == 0) bool = true; + } + if (class348_sub48.aClass144Array7127[i_0_] != null) { + if ((class348_sub48.aClass144Array7127[i_0_].status) == 2) class348_sub48.anIntArray7131[i_0_] = -6; + if ((class348_sub48.aClass144Array7127[i_0_].status) == 0) bool = true; + } + } + if (i < 37) userHash = -3L; + if (!bool) { + int i_1_ = class348_sub49_sub2.offset; + class348_sub49_sub2.writeInt((byte) 94, class348_sub48.anInt7130); + for (int i_2_ = 0; (i_2_ < class348_sub48.anInt7126); i_2_++) { + if (class348_sub48.anIntArray7131[i_2_] == 0) { + try { + int i_3_ = (class348_sub48.anIntArray7132[i_2_]); + if (i_3_ == 0) { + Field field = ((Field) (class348_sub48.aClass144Array7135[i_2_].result)); + int i_5_ = field.getInt(null); + class348_sub49_sub2.writeByte(false, 0); + class348_sub49_sub2.writeInt((byte) 108, i_5_); + } else if (i_3_ == 1) { + Field field = ((Field) (class348_sub48.aClass144Array7135[i_2_].result)); + field.setInt(null, (class348_sub48.anIntArray7136[i_2_])); + class348_sub49_sub2.writeByte(false, 0); + } else if (i_3_ == 2) { + Field field = ((Field) (class348_sub48.aClass144Array7135[i_2_].result)); + int i_4_ = field.getModifiers(); + class348_sub49_sub2.writeByte(false, 0); + class348_sub49_sub2.writeInt((byte) 122, i_4_); + } + if (i_3_ == 3) { + Method method = ((Method) (class348_sub48.aClass144Array7127[i_2_].result)); + byte[][] is = (class348_sub48.aByteArrayArrayArray7128[i_2_]); + Object[] objects = new Object[is.length]; + for (int i_6_ = 0; is.length > i_6_; i_6_++) { + ObjectInputStream objectinputstream = (new ObjectInputStream(new ByteArrayInputStream(is[i_6_]))); + objects[i_6_] = objectinputstream.readObject(); + } + Object object = method.invoke(null, objects); + if (object != null) { + if (object instanceof Number) { + class348_sub49_sub2.writeByte(false, 1); + class348_sub49_sub2.writeLong(((Number) object).longValue(), (byte) -81); + } else if (object instanceof String) { + class348_sub49_sub2.writeByte(false, 2); + class348_sub49_sub2.writeString((byte) -5, (String) object); + } else class348_sub49_sub2.writeByte(false, 4); + } else class348_sub49_sub2.writeByte(false, 0); + } else if (i_3_ == 4) { + Method method = ((Method) (class348_sub48.aClass144Array7127[i_2_].result)); + int i_7_ = method.getModifiers(); + class348_sub49_sub2.writeByte(false, 0); + class348_sub49_sub2.writeInt((byte) 95, i_7_); + } + } catch (ClassNotFoundException classnotfoundexception) { + class348_sub49_sub2.writeByte(false, -10); + } catch (java.io.InvalidClassException invalidclassexception) { + class348_sub49_sub2.writeByte(false, -11); + } catch (java.io.StreamCorruptedException streamcorruptedexception) { + class348_sub49_sub2.writeByte(false, -12); + } catch (java.io.OptionalDataException optionaldataexception) { + class348_sub49_sub2.writeByte(false, -13); + } catch (IllegalAccessException illegalaccessexception) { + class348_sub49_sub2.writeByte(false, -14); + } catch (IllegalArgumentException illegalargumentexception) { + class348_sub49_sub2.writeByte(false, -15); + } catch (java.lang.reflect.InvocationTargetException invocationtargetexception) { + class348_sub49_sub2.writeByte(false, -16); + } catch (SecurityException securityexception) { + class348_sub49_sub2.writeByte(false, -17); + } catch (java.io.IOException ioexception) { + class348_sub49_sub2.writeByte(false, -18); + } catch (NullPointerException nullpointerexception) { + class348_sub49_sub2.writeByte(false, -19); + } catch (Exception exception) { + class348_sub49_sub2.writeByte(false, -20); + } catch (Throwable throwable) { + class348_sub49_sub2.writeByte(false, -21); + } + } else class348_sub49_sub2.writeByte(false, (class348_sub48.anIntArray7131[i_2_])); + } + class348_sub49_sub2.writeCrc(i_1_, false); + class348_sub48.unlink((byte) 46); + } + } + } + + ObjectDeserializer(int i, byte[] is) { + this.anInt6958 = i; + Buffer class348_sub49 = new Buffer(is); + this.anInt6965 = class348_sub49.readUnsignedByte(255); + this.anIntArrayArray6959 = new int[this.anInt6965][]; + this.anIntArray6957 = new int[this.anInt6965]; + this.anIntArray6960 = new int[this.anInt6965]; + this.aBooleanArray6954 = new boolean[this.anInt6965]; + for (int i_8_ = 0; (i_8_ < this.anInt6965); i_8_++) { + this.anIntArray6957[i_8_] = class348_sub49.readUnsignedByte(255); + if (this.anIntArray6957[i_8_] == 6) this.anIntArray6957[i_8_] = 2; + } + for (int i_9_ = 0; (i_9_ < this.anInt6965); i_9_++) + this.aBooleanArray6954[i_9_] = class348_sub49.readUnsignedByte(255) == 1; + for (int i_10_ = 0; (i_10_ < this.anInt6965); i_10_++) + this.anIntArray6960[i_10_] = class348_sub49.readUnsignedShort(842397944); + for (int i_11_ = 0; (this.anInt6965 > i_11_); i_11_++) + this.anIntArrayArray6959[i_11_] = new int[class348_sub49.readUnsignedByte(255)]; + for (int i_12_ = 0; i_12_ < this.anInt6965; i_12_++) { + for (int i_13_ = 0; (i_13_ < this.anIntArrayArray6959[i_12_].length); i_13_++) + this.anIntArrayArray6959[i_12_][i_13_] = class348_sub49.readUnsignedByte(255); + } + } + + static { + userHash = 0L; + } +} diff --git a/client/src/OutputStream_Sub1.java b/client/src/OutputStream_Sub1.java deleted file mode 100644 index 19dca9a5e..000000000 --- a/client/src/OutputStream_Sub1.java +++ /dev/null @@ -1,159 +0,0 @@ -/* OutputStream_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.IOException; -import java.io.OutputStream; -import java.util.Random; - -final class OutputStream_Sub1 extends OutputStream { - static int anInt92; - static Random aRandom93 = new Random(); - static int anInt94; - static int anInt95; - static int anInt96; - static Class110_Sub1[] aClass110_Sub1Array97; - static int anInt98; - static int[] anIntArray99; - static int[] anIntArray100 = {99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 120}; - - static final void method132(int i, boolean bool, int i_0_, int i_1_, int i_2_, int i_3_) { - anInt94++; - if (Class147.aClass357ArrayArrayArray2029 == null) Class348_Sub8.aHa6654.method3675(i_0_, (byte) -125, i_1_, i_3_, i_2_, -16777216); - else if (Class132.aPlayer_1907.x < 0 || (Class132.aPlayer_1907.x >= Class367_Sub4.anInt7319 * 512) || Class132.aPlayer_1907.y < 0 || (512 * Class348_Sub40_Sub3.anInt9109 <= Class132.aPlayer_1907.y)) - Class348_Sub8.aHa6654.method3675(i_0_, (byte) -125, i_1_, i_3_, i_2_, -16777216); - else { - Class239_Sub15.anInt6006++; - if (Class132.aPlayer_1907 != null && Class248.anInt3203 == (Class132.aPlayer_1907.x + -(256 * Class132.aPlayer_1907.method2436((byte) 90)) - -256) >> 9 && Class97.anInt1548 == (Class132.aPlayer_1907.y + 256 + -(256 * Class132.aPlayer_1907.method2436((byte) 112))) >> 9) { - Class97.anInt1548 = -1; - Class248.anInt3203 = -1; - Class299_Sub1_Sub2.method2264(false); - } - Class192.method1434(-14988); - if (!bool) Class282.method2109(512); - Class108.method1014(-4); - Class348_Sub42_Sub3.method3174(i_1_, i_3_, i_0_, true, (byte) -82, i_2_); - i_3_ = Class234.anInt3047; - i_1_ = Class295.anInt3764; - i_2_ = Class280.anInt3643; - Class132.anInt1906 = Class132.anInt1911; - i_0_ = Class127.anInt4656; - if (Class348_Sub40_Sub21.anInt9282 == 1) { - int i_4_ = (int) Class76.aFloat1287; - if (Class348_Sub35.anInt6979 >> 8 > i_4_) i_4_ = Class348_Sub35.anInt6979 >> 8; - if (Class181.aBooleanArray2374[4] && Class255.anIntArray3273[4] + 128 > i_4_) i_4_ = Class255.anIntArray3273[4] + 128; - int i_5_ = (int) Class314.aFloat3938 + Class195.anInt5016 & 0x3fff; - Class17.method268(i_4_, -200 + (Class275.method2064((Class132.aPlayer_1907.x), Class355.anInt4372, 11219, (Class132.aPlayer_1907.y))), i_5_, Class192.anInt2578, i_2_, -19360, Class130_Sub1.anInt5799, (i_4_ >> 3) * 3 + 600 << 2); - } else if (Class348_Sub40_Sub21.anInt9282 == 4) { - int i_6_ = (int) Class76.aFloat1287; - if (i_6_ < Class348_Sub35.anInt6979 >> 8) i_6_ = Class348_Sub35.anInt6979 >> 8; - if (Class181.aBooleanArray2374[4] && (i_6_ < Class255.anIntArray3273[4] + 128)) i_6_ = 128 + Class255.anIntArray3273[4]; - int i_7_ = (int) Class314.aFloat3938 & 0x3fff; - Class17.method268(i_6_, -200 + Class275.method2064(Class348_Sub6.anInt6633, Class355.anInt4372, 11219, Class348_Sub7.anInt6652), i_7_, Class192.anInt2578, i_2_, -19360, Class130_Sub1.anInt5799, 600 - -((i_6_ >> 3) * 3) << 2); - } else if (Class348_Sub40_Sub21.anInt9282 == 5) Class268.method2035(i_2_, 0); - int i_8_ = Class286_Sub4.anInt6246; - int i_9_ = Class305.anInt3855; - int i_10_ = Class59_Sub2_Sub2.anInt8685; - int i_11_ = Class348_Sub42_Sub19.anInt9701; - int i_12_ = Class5.anInt4638; - for (int i_13_ = 0; i_13_ < 5; i_13_++) { - if (Class181.aBooleanArray2374[i_13_]) { - int i_14_ = (int) ((Math.random() * (double) ((Class275.anIntArray3552[i_13_] * 2) - -1)) - (double) Class275.anIntArray3552[i_13_] + (Math.sin((double) (Class318_Sub1_Sub1_Sub2.anIntArray9981[i_13_]) * ((double) (Class338.anIntArray4196[i_13_]) / 100.0)) * (double) (Class255.anIntArray3273[i_13_]))); - if (i_13_ == 4) { - Class348_Sub42_Sub19.anInt9701 += i_14_; - if (Class348_Sub42_Sub19.anInt9701 >= 1024) { - if (Class348_Sub42_Sub19.anInt9701 > 3072) Class348_Sub42_Sub19.anInt9701 = 3072; - } else Class348_Sub42_Sub19.anInt9701 = 1024; - } - if (i_13_ == 0) Class286_Sub4.anInt6246 += i_14_ << 2; - if (i_13_ == 3) Class5.anInt4638 = 0x3fff & i_14_ + Class5.anInt4638; - if (i_13_ == 1) Class305.anInt3855 += i_14_ << 2; - if (i_13_ == 2) Class59_Sub2_Sub2.anInt8685 += i_14_ << 2; - } - } - if (Class286_Sub4.anInt6246 < 0) Class286_Sub4.anInt6246 = 0; - if (-1 + (Class318_Sub7.anInt6451 << 9) < Class286_Sub4.anInt6246) Class286_Sub4.anInt6246 = -1 + (Class318_Sub7.anInt6451 << 9); - if (Class59_Sub2_Sub2.anInt8685 < 0) Class59_Sub2_Sub2.anInt8685 = 0; - if (Class59_Sub2_Sub2.anInt8685 > (Class348_Sub41.anInt7054 << 9) + -1) Class59_Sub2_Sub2.anInt8685 = (Class348_Sub41.anInt7054 << 9) - 1; - Class348_Sub42_Sub11.method3225(114); - Class348_Sub42_Sub3.method3175((byte) -107); - Class348_Sub8.aHa6654.KA(i_1_, i_3_, i_1_ - -i_0_, i_3_ + i_2_); - Class226.method1626(1, true); - if (Class59_Sub1.aBoolean5300) { - Class101_Sub3.method941(124, Class187.anInt2500); - if (Class132.anInt1906 != Class375.anInt4545) Class348_Sub16_Sub2.aBoolean8870 = true; - Class375.anInt4545 = Class132.anInt1906; - } else { - Class348_Sub8.aHa6654.ya(); - int i_15_ = Class187.anInt2500; - if (Class259.aClass305_3304 != null) Class259.aClass305_3304.method2293(Class185.anInt2481 << 3, Class348_Sub8.aHa6654, (byte) -72, i_1_, i_0_, i_3_, Class5.anInt4638, Class348_Sub42_Sub19.anInt9701, i_15_, i_2_); - else Class348_Sub8.aHa6654.GA(i_15_); - } - Class369_Sub1.method3570(false); - if (i >= 80) { - Class157.aClass101_2123.method903(Class286_Sub4.anInt6246, Class305.anInt3855, Class59_Sub2_Sub2.anInt8685, -Class348_Sub42_Sub19.anInt9701 & 0x3fff, -Class5.anInt4638 & 0x3fff, 0x3fff & -Class338.anInt4186); - Class348_Sub8.aHa6654.method3638(Class157.aClass101_2123); - Class348_Sub8.aHa6654.DA(i_0_ / 2 + i_1_, i_3_ + i_2_ / 2, Class97.anInt1550 << 1, Class97.anInt1550 << 1); - Class30.method319(Class97.anInt1550 << 1, Class97.anInt1550 << 1, (byte) -18, i_1_ + i_0_ / 2, i_3_ + i_2_ / 2); - Class348_Sub42_Sub20.method3282(0x3fff & -(Class348_Sub42_Sub19.anInt9701), Class59_Sub2_Sub2.anInt8685, Class305.anInt3855, 0, -Class5.anInt4638 & 0x3fff, Class286_Sub4.anInt6246, -Class338.anInt4186 & 0x3fff); - byte i_16_ = (Class316.aClass348_Sub51_3959.aClass239_Sub14_7264.method1778(-32350) != 2 ? (byte) 1 : (byte) Class239_Sub15.anInt6006); - if (Class59_Sub1.aBoolean5300) { - Class21.method289(-15902, 0x3fff & -Class5.anInt4638, -Class338.anInt4186 & 0x3fff, (-Class348_Sub42_Sub19.anInt9701 & 0x3fff)); - Class230.method1634(Class64.anIntArray1127, -2, Class289.aByteArrayArrayArray3700, (Class132.aPlayer_1907.y) >> 9, (Class132.aPlayer_1907.plane) - -1, Class327.anIntArray4097, Class286_Sub4.anInt6246, Class59_Sub2_Sub2.anInt8685, Class316.aClass348_Sub51_3959.aClass239_Sub1_7246.method1720(-32350) == 0, Class305.anInt3855, (Class132.aPlayer_1907.x) >> 9, Class156.anIntArray2117, Class348_Sub40_Sub19.anIntArray9259, i_16_, Class56.anIntArray1045, Class367_Sub11.anInt7396, true, Class132.anInt1906); - } else - Class258_Sub1.method1960(Class367_Sub11.anInt7396, Class286_Sub4.anInt6246, Class305.anInt3855, Class59_Sub2_Sub2.anInt8685, Class289.aByteArrayArrayArray3700, Class327.anIntArray4097, Class156.anIntArray2117, Class348_Sub40_Sub19.anIntArray9259, Class56.anIntArray1045, Class64.anIntArray1127, (Class132.aPlayer_1907.plane) - -1, i_16_, (Class132.aPlayer_1907.x) >> 9, (Class132.aPlayer_1907.y) >> 9, Class316.aClass348_Sub51_3959.aClass239_Sub1_7246.method1720(-32350) == 0, true, !Class305.aBoolean3870 ? -1 : Class132.anInt1906, 0, false); - Class369_Sub1.method3570(false); - if (Class240.anInt4674 == 10) { - Class19.method283(-127, i_0_, 256, i_2_, i_1_, i_3_, 256); - ha_Sub2.method3802(i_3_, i_2_, 2, i_1_, i_0_, 256, 256); - Class318_Sub1_Sub1_Sub2.method2403(i_1_, 256, i_3_, i_0_, 19206, i_2_, 256); - Class166.method1289(i_2_, i_0_, i_3_, 8, i_1_); - } - Class348_Sub42_Sub11.method3223(); - Class286_Sub4.anInt6246 = i_8_; - Class348_Sub42_Sub19.anInt9701 = i_11_; - Class5.anInt4638 = i_12_; - Class305.anInt3855 = i_9_; - Class59_Sub2_Sub2.anInt8685 = i_10_; - if (Class238_Sub1.aBoolean5840 && Class348_Sub4.aClass248_6601.method1902(4) == 0) Class238_Sub1.aBoolean5840 = false; - if (Class238_Sub1.aBoolean5840) { - Class348_Sub8.aHa6654.method3675(i_0_, (byte) -125, i_1_, i_3_, i_2_, -16777216); - Class362.method3511(false, Applet_Sub1.aClass324_20, Class246.aClass143_3179, (Class274.aClass274_3495.method2063(Class348_Sub33.anInt6967, 544)), 2, Class348_Sub8.aHa6654); - } - Class226.method1626(1, false); - } - } - } - - public final void write(int i) throws IOException { - anInt96++; - throw new IOException(); - } - - public static void method133(byte i) { - anIntArray100 = null; - anIntArray99 = null; - aClass110_Sub1Array97 = null; - if (i != -41) anIntArray99 = null; - aRandom93 = null; - } - - static final void method134(byte i) { - if (i != -126) method132(-95, true, 10, 28, 45, 100); - if (Class355.anObject4366 == null) { - Class59_Sub1_Sub1 class59_sub1_sub1 = new Class59_Sub1_Sub1(); - byte[] is = class59_sub1_sub1.method559(128, 128, (byte) 106, 16); - Class355.anObject4366 = Class179.method1357(is, false, (byte) 111); - } - anInt92++; - if (Class227.anObject2969 == null) { - Class59_Sub2_Sub2 class59_sub2_sub2 = new Class59_Sub2_Sub2(); - byte[] is = class59_sub2_sub2.method571(128, (byte) -38, 16, 128); - Class227.anObject2969 = Class179.method1357(is, false, (byte) 106); - } - } - - static { - anIntArray99 = new int[]{1, -1, -1, 1}; - } -} diff --git a/client/src/OutputStream_Sub2.java b/client/src/OutputStream_Sub2.java deleted file mode 100644 index f7d7e0d79..000000000 --- a/client/src/OutputStream_Sub2.java +++ /dev/null @@ -1,94 +0,0 @@ -/* OutputStream_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.io.IOException; -import java.io.OutputStream; - -final class OutputStream_Sub2 extends OutputStream { - static int anInt101; - static int anInt102; - static int anInt103; - static int anInt104; - static int anInt105; - static Class105 aClass105_106; - static int anInt107; - static long aLong108 = (long) (Math.random() * 9.999999999E9); - - static final byte[] method135(byte i, byte[] is, int i_0_) { - anInt103++; - if (i < 101) method139(34); - byte[] is_1_ = new byte[i_0_]; - Class214.method1577(is, 0, is_1_, 0, i_0_); - return is_1_; - } - - static final Class318_Sub4 method136(int i, boolean bool, boolean bool_2_) { - anInt105++; - synchronized (Class318.aClass243Array3974) { - Class318_Sub4 class318_sub4; - if (Class318.aClass243Array3974.length > i && !Class318.aClass243Array3974[i].method1871((byte) 111)) { - class318_sub4 = (Class318_Sub4) Class318.aClass243Array3974[i].method1870(-104); - class318_sub4.method2373(false); - Class331.anIntArray4128[i]--; - } else { - class318_sub4 = new Class318_Sub4(); - class318_sub4.aClass318_Sub3Array6414 = new Class318_Sub3[i]; - for (int i_3_ = 0; i > i_3_; i_3_++) - class318_sub4.aClass318_Sub3Array6414[i_3_] = new Class318_Sub3(); - } - class318_sub4.aBoolean6409 = bool; - if (bool_2_ != false) aLong108 = 43L; - return class318_sub4; - } - } - - static final boolean method137(int i, int i_4_, int i_5_) { - anInt102++; - int i_6_ = -114 / ((i_4_ - 36) / 55); - return (0x70000 & i_5_) != 0 | Class348_Sub40_Sub9.method3073(i, i_5_, (byte) 50) || Class264.method2015(i_5_, i, 7); - } - - static final int method138(Class348_Sub42_Sub12 class348_sub42_sub12, boolean bool) { - anInt107++; - String string = Class316.method2367((byte) -126, class348_sub42_sub12); - int[] is = null; - if (!Class148.method1197(-12081, (class348_sub42_sub12.anInt9608))) { - if (class348_sub42_sub12.anInt9599 == -1) { - if (Class367_Sub8.method3549(class348_sub42_sub12.anInt9608, (byte) -44)) { - Class348_Sub22 class348_sub22 = ((Class348_Sub22) (Class282.aClass356_3654.method3480((int) class348_sub42_sub12.aLong9605, -6008))); - if (class348_sub22 != null) { - Npc npc = (class348_sub22.aNpc_6859); - Class79 class79 = (npc.aClass79_10505); - if (class79.anIntArray1377 != null) class79 = class79.method794((Class318_Sub1_Sub3_Sub3.aClass170_10209), -1); - if (class79 != null) is = class79.anIntArray1342; - } - } else if (Class239_Sub21.method1813(8806, (class348_sub42_sub12.anInt9608))) { - Object object = null; - Class51 class51; - if ((class348_sub42_sub12.anInt9608) == 1001) class51 = (Class348_Sub40_Sub12.aClass263_9195.method2005(0, (int) (class348_sub42_sub12.aLong9605))); - else class51 = (Class348_Sub40_Sub12.aClass263_9195.method2005(0, (int) (0x7fffffffL & (class348_sub42_sub12.aLong9605) >>> 32))); - if (class51.anIntArray945 != null) class51 = class51.method480((Class318_Sub1_Sub3_Sub3.aClass170_10209), (byte) 47); - if (class51 != null) is = class51.anIntArray917; - } - } else is = (Exception_Sub1.aClass255_112.method1940(-76, class348_sub42_sub12.anInt9599).anIntArray2772); - } else is = (Exception_Sub1.aClass255_112.method1940(-115, (int) class348_sub42_sub12.aLong9605).anIntArray2772); - if (is != null) string += Class163.method1273(is, true); - int i = Class369.aClass143_4962.method1186(string, Class341.aClass105Array4234, bool); - if (class348_sub42_sub12.aBoolean9597) i += Class239_Sub24.aClass105_6097.method971() + 4; - return i; - } - - public final void write(int i) throws IOException { - anInt104++; - throw new IOException(); - } - - public static void method139(int i) { - if (i > 53) aClass105_106 = null; - } - - static { - anInt101 = -1; - } -} diff --git a/client/src/PauseHandler.java b/client/src/PauseHandler.java new file mode 100644 index 000000000..b8b6af091 --- /dev/null +++ b/client/src/PauseHandler.java @@ -0,0 +1,69 @@ +/* PauseHandler - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub42_Sub6` (JODE-obfuscated). + * Pause handler node. Extends HashNode; implements the 'Pausing for N seconds...' delay used to throttle or pace timed client operations (e.g. loading pauses). + */ + +final class PauseHandler extends HashNode { + static boolean aBoolean9535 = false; + static Task aClass144_9536; + static int anInt9537; + DisplayModeManagerContainer104 aClass318_Sub1_Sub3_Sub4_9538; + static int anInt9539; + + /** Update world-list population fields from a login/world-list packet. */ + static final void readWorldPopulations(byte i, Buffer class348_sub49) { + anInt9539++; + for (int i_0_ = 0; i_0_ < Component241.anInt2956; i_0_++) { + int i_1_ = class348_sub49.readSmart(-127); + int i_2_ = class348_sub49.readUnsignedShort(842397944); + if (i_2_ == 65535) i_2_ = -1; + if (OutputStream_Sub1.aClass110_Sub1Array97[i_1_] != null) OutputStream_Sub1.aClass110_Sub1Array97[i_1_].anInt1704 = i_2_; + } + int i_3_ = -75 / ((53 - i) / 48); + } + + /** + * Run console command lines; lines starting with {@code pause N} delay the rest. + */ + static final void runConsoleCommands(int i, String[] strings) { + if (i == 0) { + anInt9537++; + if (strings.length > 1) { + for (int i_4_ = 0; i_4_ < strings.length; i_4_++) { + if (strings[i_4_].startsWith("pause")) { + int i_5_ = 5; + try { + i_5_ = Integer.parseInt(strings[i_4_].substring(6)); + } catch (Exception exception) { + /* empty */ + } + Applet_Sub1.printConsole(("Pausing for " + i_5_ + " seconds..."), -109); + Cp1252Decoder.aStringArray5223 = strings; + Component221.anInt1794 = i_4_ - -1; + Component100.aLong8694 = (long) (i_5_ * 1000) + Component240.currentTimeMillis(-104); + break; + } + Component126.consoleInput = strings[i_4_]; + Component210.submitConsoleLine(false, 0); + } + } else { + Component126.consoleInput += strings[0]; + NodeSub38.consoleCursor += strings[0].length(); + } + } + } + + PauseHandler(DisplayModeManagerContainer104 class318_sub1_sub3_sub4) { + this.aClass318_Sub1_Sub3_Sub4_9538 = class318_sub1_sub3_sub4; + } + + /** Null shared statics for GC / shutdown. */ + public static void clearStatics(boolean bool) { + if (bool != false) aBoolean9535 = true; + aClass144_9536 = null; + } +} diff --git a/client/src/PauseTimer.java b/client/src/PauseTimer.java new file mode 100644 index 000000000..95d21cdea --- /dev/null +++ b/client/src/PauseTimer.java @@ -0,0 +1,308 @@ +/* PauseTimer - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class38` (JODE-obfuscated). + * Pause timer. Standalone helper that performs the 'Pausing for N seconds...' sleep/retry delay for operations that must back off before continuing. + */ + +import java.awt.datatransfer.DataFlavor; +import java.awt.datatransfer.StringSelection; +import java.awt.datatransfer.Transferable; + +final class PauseTimer { + static int anInt497; + int anInt498; + int anInt499; + static int anInt500; + int anInt501 = 8; + int anInt502; + int anInt503 = 16777215; + int anInt504; + static int anInt505; + static int anInt506 = -1; + boolean aBoolean507; + int anInt508; + static int anInt509; + static boolean aBoolean510 = false; + static int anInt511; + static int anInt512; + static int anInt513 = 100; + + static final Component150 method360(byte i, int i_0_) { + anInt505++; + if (i != -57) processDevConsoleInput(97); + Component150[] class227s = TheoraVideoPlayer.method841(i + -70); + for (int i_1_ = 0; class227s.length > i_1_; i_1_++) { + Component150 class227 = class227s[i_1_]; + if (class227.anInt2970 == i_0_) return class227; + } + return null; + } + + private final void method361(int i, Buffer class348_sub49, int i_2_) { + if (i != -6617) processDevConsoleInput(95); + anInt497++; + if (i_2_ == 1) this.anInt501 = class348_sub49.readUnsignedShort(842397944); + else if (i_2_ == 2) this.aBoolean507 = true; + else if (i_2_ == 3) { + this.anInt499 = class348_sub49.readShort(13638); + this.anInt502 = class348_sub49.readShort(13638); + this.anInt508 = class348_sub49.readShort(13638); + } else if (i_2_ == 4) this.anInt498 = class348_sub49.readUnsignedByte(255); + else if (i_2_ == 5) this.anInt504 = class348_sub49.readUnsignedShort(842397944); + else if (i_2_ == 6) this.anInt503 = class348_sub49.readMedium(-1); + } + + static final void method362(int i) { + anInt509++; + NodeSub27 class348_sub27 = ((NodeSub27) HashNodeSub20.aClass262_9711.first(4)); + int i_3_ = -45 % ((i - -34) / 47); + for (/**/; class348_sub27 != null; class348_sub27 = (NodeSub27) HashNodeSub20.aClass262_9711.next((byte) 81)) { + if (class348_sub27.anInt6893 > 0) class348_sub27.anInt6893--; + if (class348_sub27.anInt6893 != 0) { + if (class348_sub27.anInt6894 > 0) class348_sub27.anInt6894--; + if (class348_sub27.anInt6894 == 0 && class348_sub27.anInt6905 >= 1 && class348_sub27.anInt6896 >= 1 && (class348_sub27.anInt6905 <= -2 + AbstractShaderSub4.anInt7319) && (class348_sub27.anInt6896 <= -2 + ParametricDefinition.anInt9109) && (class348_sub27.anInt6907 < 0 || (Component2.method195(class348_sub27.anInt6895, false, class348_sub27.anInt6907)))) { + SceneManager.method1591(class348_sub27.anInt6905, 70, class348_sub27.anInt6904, -1, class348_sub27.anInt6907, class348_sub27.anInt6895, class348_sub27.anInt6896, class348_sub27.anInt6900, class348_sub27.anInt6899); + class348_sub27.anInt6894 = -1; + if ((class348_sub27.anInt6907 != class348_sub27.anInt6902) || class348_sub27.anInt6902 != -1) { + if ((class348_sub27.anInt6907 == class348_sub27.anInt6902) && (class348_sub27.anInt6892 == class348_sub27.anInt6900) && (class348_sub27.anInt6895 == (class348_sub27.anInt6903))) class348_sub27.unlink((byte) 75); + } else class348_sub27.unlink((byte) 86); + } + } else if (class348_sub27.anInt6902 < 0 || (Component2.method195(class348_sub27.anInt6903, false, class348_sub27.anInt6902))) { + SceneManager.method1591(class348_sub27.anInt6905, 112, class348_sub27.anInt6904, -1, class348_sub27.anInt6902, class348_sub27.anInt6903, class348_sub27.anInt6896, class348_sub27.anInt6892, class348_sub27.anInt6899); + class348_sub27.unlink((byte) 49); + } + } + } + + private static int HISTORY_INDEX = -1; + + /** + * Keyboard / wheel input while the developer console is open. + * Handles history recall (up/down), Enter submit, caret edits, clipboard, + * and mouse-wheel scroll of {@link Component94#consoleScroll}. + * Called from the game loop only when {@link StringCache#devConsoleOpen}. + */ + static final void processDevConsoleInput(int i) { + if (Component39.consoleFadeAlpha < 102) Component39.consoleFadeAlpha += 6; + anInt512++; + if (Component221.anInt1794 != -1 && (Component100.aLong8694 < Component240.currentTimeMillis(-127))) { + for (int i_4_ = Component221.anInt1794; i_4_ < Cp1252Decoder.aStringArray5223.length; i_4_++) { + if (Cp1252Decoder.aStringArray5223[i_4_].startsWith("pause")) { + int i_5_ = 5; + try { + i_5_ = Integer.parseInt(Cp1252Decoder.aStringArray5223[i_4_].substring(6)); + } catch (Exception exception) { + /* empty */ + } + Applet_Sub1.printConsole("Pausing for " + i_5_ + " seconds...", 58); + Component221.anInt1794 = 1 + i_4_; + Component100.aLong8694 = (long) (1000 * i_5_) + Component240.currentTimeMillis(-97); + return; + } else { + Component126.consoleInput = Cp1252Decoder.aStringArray5223[i_4_]; + Component210.submitConsoleLine(false, 0); + } + } + Component221.anInt1794 = -1; + } + // Wheel toward user (positive) → newer lines (lower consoleScroll); away → older. + if (Component122.mouseWheelDelta != 0) { + Component94.consoleScroll -= Component122.mouseWheelDelta * 5; + if (Component94.consoleScroll >= Component14.consoleLineCount) Component94.consoleScroll = -1 + Component14.consoleLineCount; + Component122.mouseWheelDelta = 0; + if (Component94.consoleScroll < 0) Component94.consoleScroll = 0; + } + if (i >= 124) { + for (int i_6_ = 0; (HashNodeSub19.anInt9699 > i_6_); i_6_++) { + Interface6 interface6 = DefinitionGroup.anInterface6Array9534[i_6_]; + int i_7_ = interface6.getKeyCode(false); + char c = interface6.getKeyChar((byte) 46); + int i_8_ = interface6.getModifiers(-7616); + if (i_7_ == 98) { + for (int index = HISTORY_INDEX; index < ArbShaderProgram.consoleLines.length; index++) { + if (index == -1) { + continue; + } + String line = ArbShaderProgram.consoleLines[index]; + if (line.isEmpty()) { + continue; + } + String[] parts = line.split(": "); + if (parts.length == 2 && parts[1].startsWith("-->")) { + if (index > HISTORY_INDEX) { + HISTORY_INDEX = index; + // Strip item "(name)" decoration so the prompt stays editable/sendable. + Component126.consoleInput = Component210.stripItemConsoleEcho(parts[1].substring(4)); + NodeSub38.consoleCursor = Component126.consoleInput.length(); + break; + } + } + } + } else if (i_7_ == 99) { + boolean found = false; + for (int index = HISTORY_INDEX - 1; index >= 0; index--) { + String line = ArbShaderProgram.consoleLines[index]; + if (line.isEmpty()) { + continue; + } + String[] parts = line.split(": "); + if (parts.length == 2 && parts[1].startsWith("-->")) { + HISTORY_INDEX = index; + // Strip item "(name)" decoration so the prompt stays editable/sendable. + Component126.consoleInput = Component210.stripItemConsoleEcho(parts[1].substring(4)); + NodeSub38.consoleCursor = Component126.consoleInput.length(); + found = true; + break; + } + } + if (!found) { + Component126.consoleInput = ""; + NodeSub38.consoleCursor = 0; + } + } else if (i_7_ == 84) { + Component210.submitConsoleLine(false, 0); + HISTORY_INDEX = -1; + } else if (i_7_ != 80) { + if (i_7_ == 66 && (0x4 & i_8_) != 0) { + if (DefinitionSub27.aClipboard9357 != null) { + String string = ""; + for (int i_9_ = -1 + (ArbShaderProgram.consoleLines).length; i_9_ >= 0; i_9_--) { + if ((ArbShaderProgram.consoleLines[i_9_] != null) && ArbShaderProgram.consoleLines[i_9_].length() > 0) string += (ArbShaderProgram.consoleLines[i_9_]) + '\n'; + } + DefinitionSub27.aClipboard9357.setContents(new StringSelection(string), null); + } + } else if (i_7_ != 67 || (0x4 & i_8_) == 0) { + if (i_7_ != 85 || NodeSub38.consoleCursor <= 0) { + if (i_7_ == 101 && (NodeSub38.consoleCursor < Component126.consoleInput.length())){ + if ((0x4 & i_8_) == 0) { + Component126.consoleInput = ((Component126.consoleInput.substring(0, NodeSub38.consoleCursor)) + (Component126.consoleInput.substring(NodeSub38.consoleCursor - -1))); + } else { + int index = Component126.consoleInput.indexOf(' ', NodeSub38.consoleCursor + 1); + if (index == -1) { + index = Component126.consoleInput.length(); + } + Component126.consoleInput = Component126.consoleInput.substring(0, NodeSub38.consoleCursor) + Component126.consoleInput.substring(index); + } + } + else if (i_7_ != 96 || NodeSub38.consoleCursor <= 0) { + if (i_7_ == 97 && (Component126.consoleInput.length() > NodeSub38.consoleCursor)){ + if ((0x4 & i_8_) == 0) { + NodeSub38.consoleCursor++; + } else { + int result = Component126.consoleInput.indexOf(' ', Math.min(NodeSub38.consoleCursor + 1, Component126.consoleInput.length() - 1)); + NodeSub38.consoleCursor = result == -1 ? Component126.consoleInput.length() : result + 1; + } + } + else if (i_7_ == 102) NodeSub38.consoleCursor = 0; + else if (i_7_ == 103) NodeSub38.consoleCursor = Component126.consoleInput.length(); + else if (i_7_ != 104 || (Component92.consoleHistoryDepth >= (ArbShaderProgram.consoleLines).length)) { + if (i_7_ == 105 && Component92.consoleHistoryDepth > 0) { + Component92.consoleHistoryDepth--; + Shader.method159(-615751774); + NodeSub38.consoleCursor = Component126.consoleInput.length(); + } else if (Npc.method2446(c, (byte) 105) || c == 92 || c == 47 || c == 46 || c == 58 || c == 44 || c == 32 || c == 95 || c == 45 || c == 43 || c == 91 || c == 93) { + Component126.consoleInput = ((Component126.consoleInput.substring(0, NodeSub38.consoleCursor)) + DefinitionGroup.anInterface6Array9534[i_6_].getKeyChar((byte) 23) + (Component126.consoleInput.substring(NodeSub38.consoleCursor))); + NodeSub38.consoleCursor++; + } + } else { + Component92.consoleHistoryDepth++; + Shader.method159(-615751774); + NodeSub38.consoleCursor = Component126.consoleInput.length(); + } + } else { + if ((0x4 & i_8_) == 0) { + NodeSub38.consoleCursor--; + } else { + NodeSub38.consoleCursor = Math.max(Component126.consoleInput.lastIndexOf(' ', NodeSub38.consoleCursor - 2) + 1, 0); + } + } + } else { + if ((0x4 & i_8_) == 0) { + Component126.consoleInput = ((Component126.consoleInput.substring(0, NodeSub38.consoleCursor - 1)) + Component126.consoleInput.substring(NodeSub38.consoleCursor)); + NodeSub38.consoleCursor--; + } else { + int index = Component126.consoleInput.trim().lastIndexOf(' ', NodeSub38.consoleCursor); + index++; + Component126.consoleInput = Component126.consoleInput.substring(0, index); + NodeSub38.consoleCursor = index; + } + } + } else if (DefinitionSub27.aClipboard9357 != null) { + Transferable transferable = DefinitionSub27.aClipboard9357.getContents(null); + if (transferable != null) { + try { + String string = (String) (transferable.getTransferData(DataFlavor.stringFlavor)); + if (string != null) { + String[] strings = DefinitionSub23.splitByChar('\n', true, string); + PauseHandler.runConsoleCommands(0, strings); + } + } catch (Exception exception) { + /* empty */ + } + } + } + } else Component210.submitConsoleLine(true, 0); + } + HashNodeSub19.anInt9699 = 0; + Component193.anInt3246 = 0; + Component160.method3466(89); + } + } + + final void method364(Buffer class348_sub49, byte i) { + anInt511++; + if (i >= 22) { + for (; ; ) { + int i_10_ = class348_sub49.readUnsignedByte(255); + if (i_10_ == 0) break; + method361(-6617, class348_sub49, i_10_); + } + } + } + + static final void method365(RenderableObject class318_sub1, NodeSub1[] class348_sub1s) { + if (DisplayModeManagerContainer58.aBoolean10221) { + int i = class318_sub1.method2384(class348_sub1s, 49); + JaclibLoader.toolkit.method3642(i, class348_sub1s); + } + if (Component9.aSArray4142 == ShaderSub1.aSArray5191) { + boolean bool = false; + boolean bool_11_ = false; + int i; + int i_12_; + if (class318_sub1 instanceof Component327) { + i = (((Component327) class318_sub1).aShort8743); + i_12_ = ((Component327) class318_sub1).aShort8750; + } else { + i = (class318_sub1.x >> Component149.anInt4459); + i_12_ = (class318_sub1.y >> Component149.anInt4459); + } + JaclibLoader.toolkit.EA((NodeSub1Sub1.aSArray8801[0].method3986(class318_sub1.x, class318_sub1.y, (byte) -118)), WaterShaderSub8.method3547(i, i_12_), Component203.method2483(i, i_12_), HelveticaFont.method1457(i, i_12_)); + } + RenderableSub4 class318_sub4 = class318_sub1.method2386(1, JaclibLoader.toolkit); + if (class318_sub4 != null) { + if (class318_sub1.aBoolean6391) { + RenderableSub3[] class318_sub3s = class318_sub4.aClass318_Sub3Array6414; + for (int i = 0; i < class318_sub3s.length; i++) { + RenderableSub3 class318_sub3 = class318_sub3s[i]; + if (class318_sub3.aBoolean6401) Component103.method2663(-5590, (class318_sub3.anInt6405 - class318_sub3.anInt6403), (class318_sub3.anInt6406 + class318_sub3.anInt6403), (class318_sub3.anInt6402 - class318_sub3.anInt6403), (class318_sub3.anInt6404 + class318_sub3.anInt6403)); + } + } + if (class318_sub4.aBoolean6409) { + class318_sub4.aClass318_Sub1_6410 = class318_sub1; + if (DefinitionSub5.aBoolean9121) { + synchronized (DisplayModeManagerContainer5.aClass76_1208) { + DisplayModeManagerContainer5.aClass76_1208.method774(class318_sub4, 18802); + } + } else DisplayModeManagerContainer5.aClass76_1208.method774(class318_sub4, 18802); + } else Component350.method560(class318_sub4, 18); + } + } + + public PauseTimer() { + /* empty */ + } +} diff --git a/client/src/Player.java b/client/src/Player.java deleted file mode 100644 index a409404ca..000000000 --- a/client/src/Player.java +++ /dev/null @@ -1,667 +0,0 @@ -/* Class318_Sub1_Sub3_Sub3_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.util.Arrays; -import java.util.Hashtable; - -final class Player extends Class318_Sub1_Sub3_Sub3 { - int anInt10516; - boolean aBoolean10517 = false; - static int anInt10518; - int anInt10519; - private int anInt10520; - boolean aBoolean10521; - int anInt10522; - static int anInt10523; - int anInt10524; - static int anInt10525; - int anInt10526; - static int anInt10527; - static int anInt10528; - static int anInt10529; - static int anInt10530; - int anInt10531; - static int anInt10532; - static int anInt10533; - static int anInt10534; - int anInt10535; - Class154 aClass154_10536; - String aString10537; - private byte aByte10538; - boolean aBoolean10539; - int anInt10540; - static int anInt10541; - int anInt10542; - static int anInt10543; - String aString10544; - static int anInt10545; - static int anInt10546; - static int anInt10547; - static int anInt10548; - int anInt10549; - static int anInt10550; - boolean aBoolean10551; - private byte aByte10552; - int anInt10553; - boolean aBoolean10554; - static int anInt10555; - private byte aByte10556; - int anInt10557; - int anInt10558; - static int anInt10559; - int anInt10560; - int anInt10561; - static int anInt10562; - static int anInt10563; - int anInt10564; - static Hashtable aHashtable10565 = new Hashtable(); - static int[] anIntArray10566; - static int anInt10567 = -1; - - final void method2387(ha var_ha, int i) { - anInt10533++; - if (this.aClass154_10536 != null && (this.aBoolean10318 || method2459(0, var_ha, -123))) { - Class101 class101 = var_ha.method3705(); - if (i >= -125) method2457((byte) -106); - class101.method895(this.aClass264_10217.method2019((byte) -116)); - class101.method891(this.x, -5 + this.anInt6382, this.y); - this.method2432(var_ha, -15074, class101, this.aBoolean10318, (this.aClass64Array10323)); - this.aClass64Array10323[0] = this.aClass64Array10323[1] = this.aClass64Array10323[2] = null; - } - } - - final void method2449(int i, int i_0_, byte i_1_) { - anInt10541++; - this.anInt10322 = 0; - this.anIntArray10320[0] = i_0_; - this.anInt10319 = 0; - this.anInt10326 = 0; - this.anIntArray10317[0] = i; - if (i_1_ <= 55) anInt10567 = -3; - int i_2_ = method2436((byte) 103); - this.y = (256 * i_2_ + 512 * this.anIntArray10317[0]); - this.x = (this.anIntArray10320[0] * 512 + i_2_ * 256); - if (Class132.aPlayer_1907 == this) Class76.method773(true); - if (this.aClass318_Sub10_10327 != null) this.aClass318_Sub10_10327.method2529(); - } - - final String method2450(boolean bool, int i) { - if (i > -67) this.aBoolean10554 = false; - anInt10555++; - if (bool) return this.aString10537; - return this.aString10544; - } - - final void method2451(byte i, int i_3_, int i_4_, int i_5_) { - if (i_4_ != -29034) this.anInt10557 = -47; - anInt10528++; - if (this.anInt10319 < 9) this.anInt10319++; - for (int i_6_ = this.anInt10319; i_6_ > 0; i_6_--) { - this.anIntArray10320[i_6_] = this.anIntArray10320[-1 + i_6_]; - this.anIntArray10317[i_6_] = this.anIntArray10317[i_6_ + -1]; - this.aByteArray10321[i_6_] = this.aByteArray10321[-1 + i_6_]; - } - this.anIntArray10320[0] = i_3_; - this.aByteArray10321[0] = i; - this.anIntArray10317[0] = i_5_; - } - - final boolean method2391(ha var_ha, int i, int i_7_, int i_8_) { - anInt10562++; - if (this.aClass154_10536 == null || !method2459(131072, var_ha, 113)) return false; - Class101 class101 = var_ha.method3705(); - int i_9_ = this.aClass264_10217.method2019((byte) -31); - class101.method895(i_9_); - class101.method891(this.x, this.anInt6382, this.y); - boolean bool = false; - for (int i_10_ = 0; (this.aClass64Array10323.length > i_10_); i_10_++) { - if ((this.aClass64Array10323[i_10_] != null) && (Class305.aBoolean3870 ? (this.aClass64Array10323[i_10_].method623(i_7_, i, class101, true, 0, Class132.anInt1906)) : this.aClass64Array10323[i_10_].method628(i_7_, i, class101, true, 0))) { - bool = true; - break; - } - } - this.aClass64Array10323[i_8_] = this.aClass64Array10323[1] = this.aClass64Array10323[2] = null; - return bool; - } - - final void method2452(byte i, Class348_Sub49 class348_sub49) { - anInt10547++; - class348_sub49.anInt7197 = 0; - int i_11_ = class348_sub49.readUnsignedByte(255); - aByte10538 = (byte) (i_11_ & 0x1); - boolean bool = this.aBoolean10517; - this.aBoolean10517 = (0x2 & i_11_) != 0; - boolean bool_12_ = (i_11_ & 0x4) != 0; - int i_13_ = super.method2436((byte) 68); - this.method2434((byte) 51, 1 + ((0x3f & i_11_) >> 3)); - aByte10552 = (byte) (i_11_ >> 6 & 0x3); - this.x += -i_13_ + method2436((byte) 47) << 8; - this.y += method2436((byte) 96) + -i_13_ << 8; - aByte10556 = class348_sub49.readByte(-114); - this.anInt10540 = class348_sub49.readByte(-89); - this.anInt10522 = class348_sub49.readByte(i ^ ~0x1); - this.aBoolean10551 = class348_sub49.readByte(i + -199) == 1; - if (Class8.aClass364_165 == Class55_Sub1.aClass364_5271 && Class192.anInt2581 >= 2) this.aBoolean10551 = false; - this.anInt10542 = 0; - int i_14_ = -1; - int[] is = new int[12]; - for (int i_15_ = 0; i_15_ < 12; i_15_++) { - int i_16_ = class348_sub49.readUnsignedByte(255); - if (i_16_ == 0) is[i_15_] = 0; - else { - int i_17_ = class348_sub49.readUnsignedByte(255); - int i_18_ = i_17_ + (i_16_ << 8); - if (i_15_ == 0 && i_18_ == 65535) { - i_14_ = class348_sub49.readUnsignedShort(842397944); - this.anInt10542 = class348_sub49.readUnsignedByte(255); - break; - } - if (i_18_ >= 32768) { - i_18_ = Class25.anIntArray369[-32768 + i_18_]; - is[i_15_] = Class273.method2057(1073741824, i_18_); - int i_19_ = (Exception_Sub1.aClass255_112.method1940(-111, i_18_).anInt2827); - if (i_19_ != 0) this.anInt10542 = i_19_; - } else is[i_15_] = Class273.method2057(-256 + i_18_, -2147483648); - } - } - int[] is_20_ = new int[5]; - for (int i_21_ = 0; i_21_ < 5; i_21_++) { - int i_22_ = class348_sub49.readUnsignedByte(255); - if (Class367_Sub2.aShortArrayArrayArray7290.length < 1 || i_22_ < 0 || i_22_ >= Class367_Sub2.aShortArrayArrayArray7290[0][i_21_].length) i_22_ = 0; - is_20_[i_21_] = i_22_; - } - anInt10520 = class348_sub49.readUnsignedShort(842397944); - this.aString10537 = class348_sub49.readString((byte) -47); - this.aString10544 = this.aString10537; - if (this == Class132.aPlayer_1907) s_Sub2.aString8265 = this.aString10537; - this.anInt10516 = class348_sub49.readUnsignedByte(i ^ 0xab); - if (i != 84) anInt10520 = 87; - if (bool_12_) { - this.anInt10564 = class348_sub49.readUnsignedShort(842397944); - this.anInt10557 = this.anInt10516; - if (this.anInt10564 == 65535) this.anInt10564 = -1; - this.anInt10561 = -1; - } else { - this.anInt10564 = 0; - this.anInt10557 = class348_sub49.readUnsignedByte(255); - this.anInt10561 = class348_sub49.readUnsignedByte(255); - if (this.anInt10561 == 255) this.anInt10561 = -1; - } - int i_23_ = this.anInt10553; - this.anInt10553 = class348_sub49.readUnsignedByte(255); - if (this.anInt10553 == 0) Class295.method2221(this, -28482); - else { - int i_24_ = this.anInt10535; - int i_25_ = this.anInt10526; - int i_26_ = this.anInt10560; - int i_27_ = this.anInt10519; - int i_28_ = this.anInt10558; - this.anInt10535 = class348_sub49.readUnsignedShort(842397944); - this.anInt10526 = class348_sub49.readUnsignedShort(842397944); - this.anInt10560 = class348_sub49.readUnsignedShort(842397944); - this.anInt10519 = class348_sub49.readUnsignedShort(842397944); - this.anInt10558 = class348_sub49.readUnsignedByte(i ^ 0xab); - if (!this.aBoolean10517 != !bool || this.anInt10553 != i_23_ || i_24_ != this.anInt10535 || i_25_ != this.anInt10526 || (this.anInt10560 != i_26_) || this.anInt10519 != i_27_ || i_28_ != this.anInt10558) Class92.method858(true, this); - } - if (this.aClass154_10536 == null) this.aClass154_10536 = new Class154(); - int i_29_ = (this.aClass154_10536.anInt2093); - int[] is_30_ = (this.aClass154_10536.anIntArray2095); - this.aClass154_10536.method1228(i_14_, 105, method2421((byte) 121), is, aByte10538 == 1, is_20_); - if (i_14_ != i_29_) { - this.x = (this.anIntArray10320[0] << 9) - -(method2436((byte) 89) << 8); - this.y = (this.anIntArray10317[0] << 9) - -(method2436((byte) 98) << 8); - } - if ((Class348_Sub42_Sub11.anInt9591 == this.anInt10290) && is_30_ != null) { - for (int i_31_ = 0; i_31_ < is_20_.length; i_31_++) { - if (is_20_[i_31_] != is_30_[i_31_]) { - Exception_Sub1.aClass255_112.method1936(72); - break; - } - } - } - if (this.aClass318_Sub10_10327 != null) this.aClass318_Sub10_10327.method2529(); - if (this.anInt10268 != -1 && this.aBoolean10213) { - Class225 class225 = this.method2422((byte) 72); - if (!class225.method1623((this.anInt10268), -40)) { - this.aBoolean10213 = false; - this.anInt10268 = -1; - } - } - } - - private final void method2453(int i, ha var_ha, int i_32_, Class64 class64, int i_33_, int i_34_, Class101 class101, int i_35_) { - do { - try { - anInt10548++; - if (i_33_ == 0) { - int i_36_ = i * i + i_34_ * i_34_; - if (i_36_ >= 262144 && i_32_ >= i_36_) { - int i_37_ = 0x3fff & (int) (Math.atan2(i, i_34_) * 2607.5945876176133); - Class64 class64_38_ = (Canvas_Sub1.method122(this.anInt10252, this.anInt10302, this.anInt10208, i_37_, i_35_, (byte) -35, var_ha)); - if (class64_38_ == null) break; - var_ha.C(false); - class64_38_.method615(class101, null, 0); - var_ha.C(true); - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ke.OB(" + i + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_32_ + ',' + (class64 != null ? "{...}" : "null") + ',' + i_33_ + ',' + i_34_ + ',' + (class101 != null ? "{...}" : "null") + ',' + i_35_ + ')')); - } - break; - } while (false); - } - - private final void method2454(int i, int i_39_, int i_40_, int i_41_, Class64 class64, int i_42_, Class101 class101, ha var_ha, int i_43_) { - do { - try { - if (i != 6253) this.aString10544 = null; - anInt10563++; - int i_44_ = i_43_ * i_43_ + i_39_ * i_39_; - if (i_44_ >= 262144 && i_44_ <= i_42_) { - int i_45_ = ((int) (2607.5945876176133 * Math.atan2(i_39_, i_43_)) & 0x3fff); - Class64 class64_46_ = (Canvas_Sub1.method122(this.anInt10252, this.anInt10302, this.anInt10208, i_45_, i_41_, (byte) -35, var_ha)); - if (class64_46_ == null) break; - var_ha.C(false); - class64_46_.method608(class101, null, i_40_, 0); - var_ha.C(true); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ke.V(" + i + ',' + i_39_ + ',' + i_40_ + ',' + i_41_ + ',' + (class64 != null ? "{...}" : "null") + ',' + i_42_ + ',' + (class101 != null ? "{...}" : "null") + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_43_ + ')')); - } - break; - } while (false); - } - - final Class30 method2381(ha var_ha, int i) { - if (i != 7) this.aString10544 = null; - anInt10518++; - return null; - } - - final void method2392(boolean bool) { - if (bool != true) this.aString10544 = null; - anInt10534++; - throw new IllegalStateException(); - } - - final void method2380(ha var_ha, int i, boolean bool, Class318_Sub1 class318_sub1, int i_47_, byte i_48_, int i_49_) { - try { - if (i_48_ >= -106) anInt10520 = 116; - anInt10545++; - throw new IllegalStateException(); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ke.N(" + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + bool + ',' + (class318_sub1 != null ? "{...}" : "null") + ',' + i_47_ + ',' + i_48_ + ',' + i_49_ + ')')); - } - } - - final void method2455(int i, int i_50_, byte i_51_, int i_52_) { - anInt10529++; - if (i_50_ != -26443) method2451((byte) -35, 9, 26, 87); - if (this.anInt10286 != -1 && Class10.aClass87_191.method835(this.anInt10286, 7).anInt245 == 1) { - this.anInt10286 = -1; - this.anIntArray10236 = null; - } - if (this.anInt10269 != -1) { - Class368 class368 = (Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 59, this.anInt10269)); - if (class368.aBoolean4487 && class368.anInt4503 != -1 && Class10.aClass87_191.method835((class368.anInt4503), i_50_ ^ ~0x674d).anInt245 == 1) this.anInt10269 = -1; - } - if (this.anInt10291 != -1) { - Class368 class368 = (Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 124, this.anInt10291)); - if (class368.aBoolean4487 && class368.anInt4503 != -1 && (Class10.aClass87_191.method835(class368.anInt4503, 7).anInt245) == 1) this.anInt10291 = -1; - } - this.anInt10524 = -1; - if (i_52_ >= 0 && Class367_Sub4.anInt7319 > i_52_ && i >= 0 && Class348_Sub40_Sub3.anInt9109 > i) { - if (this.anIntArray10320[0] >= 0 && (this.anIntArray10320[0] < Class367_Sub4.anInt7319) && this.anIntArray10317[0] >= 0 && (Class348_Sub40_Sub3.anInt9109 > this.anIntArray10317[0])) { - if (i_51_ == 2) Class218.method1592((byte) 2, i, 4, i_52_, this); - method2451(i_51_, i_52_, -29034, i); - } else method2449(i, i_52_, (byte) 111); - } else method2449(i, i_52_, (byte) 112); - } - - final Class318_Sub4 method2386(int i, ha var_ha) { - anInt10527++; - if (this.aClass154_10536 == null || !method2459(2048, var_ha, -95)) return null; - Class101 class101 = var_ha.method3705(); - int i_53_ = this.aClass264_10217.method2019((byte) -126); - class101.method895(i_53_); - Class357 class357 = (Class147.aClass357ArrayArrayArray2029[this.plane][this.x >> Class362.anInt4459][this.y >> Class362.anInt4459]); - if (class357 == null || class357.aClass318_Sub1_Sub1_4402 == null) this.anInt10274 -= (float) this.anInt10274 / 10.0F; - else { - int i_54_ = (this.anInt10274 + -(class357.aClass318_Sub1_Sub1_4402.aShort8727)); - this.anInt10274 -= (float) i_54_ / 10.0F; - } - class101.method891(this.x, (-20 + (this.anInt6382 - this.anInt10274)), this.y); - Class318_Sub4 class318_sub4 = null; - this.aBoolean10324 = false; - if (Class316.aClass348_Sub51_3959.aClass239_Sub21_7270.method1812(-32350) == 1) { - Class225 class225 = this.method2422((byte) 72); - if (class225.aBoolean2913 && (this.aClass154_10536.anInt2093 == -1 || Class189.aClass278_2529.method2079(this.aClass154_10536.anInt2093, i + -2).aBoolean1369)) { - Class17 class17 = ((this.anInt10286 != -1 && this.anInt10218 == 0) ? (Class10.aClass87_191.method835(this.anInt10286, 7)) : null); - Class17 class17_55_ = ((this.anInt10268 == -1 || this.aBoolean10521 || (this.aBoolean10213 && class17 != null)) ? null : (Class10.aClass87_191.method835(this.anInt10268, 7))); - Class64 class64 = (Class348.method2711(this.anInt10302, i_53_, this.aClass64Array10323[0], this.anInt10208, false, (class17_55_ == null ? this.anInt10267 : this.anInt10245), 0, 1, this.anInt10252, var_ha, 160, 0, 240, class17_55_ == null ? class17 : class17_55_)); - if (class64 != null) { - class318_sub4 = (OutputStream_Sub2.method136(1 + (this.aClass64Array10323).length, true, false)); - this.aBoolean10324 = true; - var_ha.C(false); - if (Class305.aBoolean3870) class64.method608(class101, (class318_sub4.aClass318_Sub3Array6414[(this.aClass64Array10323).length]), Class132.anInt1906, 0); - else class64.method615(class101, (class318_sub4.aClass318_Sub3Array6414[(this.aClass64Array10323).length]), 0); - var_ha.C(true); - } - } - } - if (this == Class132.aPlayer_1907) { - class101.method894(this.x, this.anInt6382, this.y); - for (int i_56_ = -1 + Class348_Sub27.aClass302Array6897.length; i_56_ >= 0; i_56_--) { - Class302 class302 = Class348_Sub27.aClass302Array6897[i_56_]; - if (class302 != null && class302.anInt3834 != -1) { - if (class302.anInt3840 == 1) { - Class348_Sub22 class348_sub22 = ((Class348_Sub22) (Class282.aClass356_3654.method3480(class302.anInt3833, -6008))); - if (class348_sub22 != null) { - Npc npc = (class348_sub22.aNpc_6859); - int i_57_ = (-(Class132.aPlayer_1907.x) + npc.x); - int i_58_ = (-(Class132.aPlayer_1907.y) + npc.y); - if (Class305.aBoolean3870) method2454(6253, i_57_, Class132.anInt1906, class302.anInt3834, (this.aClass64Array10323[0]), 92160000, class101, var_ha, i_58_); - else method2453(i_57_, var_ha, 92160000, (this.aClass64Array10323[0]), 0, i_58_, class101, class302.anInt3834); - } - } - if (class302.anInt3840 == 2) { - int i_59_ = (-(Class132.aPlayer_1907.x) + 256 + class302.anInt3835); - int i_60_ = (-(Class132.aPlayer_1907.y) + 256 + class302.anInt3832); - int i_61_ = class302.anInt3837 << 9; - i_61_ *= i_61_; - if (Class305.aBoolean3870) method2454(6253, i_59_, Class132.anInt1906, class302.anInt3834, (this.aClass64Array10323[0]), i_61_, class101, var_ha, i_60_); - else method2453(i_59_, var_ha, i_61_, (this.aClass64Array10323[0]), 0, i_60_, class101, class302.anInt3834); - } - if (class302.anInt3840 == 10 && class302.anInt3833 >= 0 && (class302.anInt3833 < (Class294.aPlayerArray5058).length)) { - Player player_62_ = (Class294.aPlayerArray5058[class302.anInt3833]); - if (player_62_ != null) { - int i_63_ = (-(Class132.aPlayer_1907.x) + (player_62_.x)); - int i_64_ = (-(Class132.aPlayer_1907.y) + (player_62_.y)); - if (Class305.aBoolean3870) method2454(6253, i_63_, Class132.anInt1906, class302.anInt3834, (this.aClass64Array10323[0]), 92160000, class101, var_ha, i_64_); - else method2453(i_63_, var_ha, 92160000, (this.aClass64Array10323[0]), i ^ 0x1, i_64_, class101, class302.anInt3834); - } - } - } - } - class101.method895(i_53_); - class101.method891(this.x, this.anInt6382, this.y); - } - class101.method895(i_53_); - class101.method891(this.x, (this.anInt6382 + (-5 + -(this.anInt10274))), this.y); - if (class318_sub4 == null) class318_sub4 = OutputStream_Sub2.method136((this.aClass64Array10323).length, true, false); - this.method2432(var_ha, -15074, class101, false, this.aClass64Array10323); - if (Class305.aBoolean3870) { - for (int i_65_ = 0; i_65_ < (this.aClass64Array10323).length; i_65_++) { - if (this.aClass64Array10323[i_65_] != null) this.aClass64Array10323[i_65_].method608(class101, (class318_sub4.aClass318_Sub3Array6414[i_65_]), Class132.anInt1906, (this != Class132.aPlayer_1907 ? 0 : 1)); - } - } else { - for (int i_66_ = 0; i_66_ < (this.aClass64Array10323).length; i_66_++) { - if (this.aClass64Array10323[i_66_] != null) this.aClass64Array10323[i_66_].method615(class101, (class318_sub4.aClass318_Sub3Array6414[i_66_]), (this == Class132.aPlayer_1907 ? 1 : 0)); - } - } - if (this.aClass318_Sub10_10327 != null) { - Class98 class98 = this.aClass318_Sub10_10327.method2525(); - if (Class305.aBoolean3870) var_ha.method3685(class98, Class132.anInt1906); - else var_ha.method3684(class98); - } - for (int i_67_ = 0; (i_67_ < this.aClass64Array10323.length); i_67_++) { - if (this.aClass64Array10323[i_67_] != null) this.aBoolean10324 |= this.aClass64Array10323[i_67_].F(); - } - this.aClass64Array10323[0] = this.aClass64Array10323[i] = this.aClass64Array10323[2] = null; - this.anInt10301 = Class239_Sub15.anInt6006; - return class318_sub4; - } - - final String method2456(boolean bool, int i) { - anInt10550++; - String string = ""; - if (Class367_Sub9.aStringArray7378 != null) string += Class367_Sub9.aStringArray7378[aByte10552]; - int[] is; - if (aByte10538 != 1 || Class239_Sub17.anIntArray6021 == null) is = RuntimeException_Sub1.anIntArray4603; - else is = Class239_Sub17.anIntArray6021; - if (i != 255) anInt10567 = 81; - if (is != null && is[aByte10552] != -1) { - Class117 class117 = Class348_Sub7.aClass33_6653.method337(true, is[aByte10552]); - if (class117.aChar1779 != 115) { - Class156.method1242("gdn1", new Throwable(), 15004); - is[aByte10552] = -1; - } else string += class117.method1074(0xff & aByte10556, i + -145); - } - if (!bool) string += this.aString10544; - else string += this.aString10537; - if (Class54.aStringArray974 != null) string += Class54.aStringArray974[aByte10552]; - return string; - } - - final int method2425(int i) { - anInt10532++; - if (i != -1) return 82; - return -1; - } - - final boolean method2457(byte i) { - anInt10530++; - int i_68_ = 86 / ((-44 - i) / 38); - return this.aClass154_10536 != null; - } - - final boolean method2388(int i) { - anInt10523++; - if (i >= -65) method2449(-64, -39, (byte) 37); - return false; - } - - final int method2436(byte i) { - if (i <= 39) method2455(-97, -62, (byte) 0, 103); - anInt10546++; - if (this.aClass154_10536 != null && this.aClass154_10536.anInt2093 != -1) return (Class189.aClass278_2529.method2079(this.aClass154_10536.anInt2093, -1).anInt1399); - return super.method2436((byte) 72); - } - - public static void method2458(boolean bool) { - anIntArray10566 = null; - if (bool != true) method2458(false); - aHashtable10565 = null; - } - - private final boolean method2459(int i, ha var_ha, int i_69_) { - anInt10525++; - int i_70_ = i; - Class225 class225 = this.method2422((byte) 72); - Class17 class17 = ((this.anInt10286 == -1 || this.anInt10218 != 0) ? null : Class10.aClass87_191.method835(this.anInt10286, 7)); - Class17 class17_71_ = ((this.anInt10268 != -1 && !this.aBoolean10521 && (!this.aBoolean10213 || class17 == null)) ? Class10.aClass87_191.method835(this.anInt10268, 7) : null); - int i_72_ = class225.anInt2932; - int i_73_ = class225.anInt2941; - if (i_72_ != 0 || i_73_ != 0 || class225.anInt2950 != 0 || class225.anInt2926 != 0) i |= 0x7; - int i_74_ = this.aClass264_10217.method2019((byte) -106); - boolean bool = (this.aByte10279 != 0 && (this.anInt10248 <= Class367_Sub11.anInt7396) && (Class367_Sub11.anInt7396 < this.anInt10250)); - if (bool) i |= 0x80000; - Class64 class64 = (this.aClass64Array10323[0] = (this.aClass154_10536.method1226(Class318_Sub1_Sub3_Sub3.aClass170_10209, class17_71_, this.aClass182Array10308, true, Exception_Sub1.aClass255_112, i_74_, class17, this.anInt10244, true, this.anInt10312, this.anIntArray10296, i, Class348_Sub40_Sub25.aClass150_9342, this.anInt10232, var_ha, Class189.aClass278_2529, Class10.aClass87_191, this.anInt10245, this.anInt10267, this.anInt10203, Class64_Sub3.aClass261_5558))); - int i_75_ = Class292.method2201(2121); - if (Class226.anInt2964 < 96 && i_75_ > 50) Class299_Sub2_Sub1.method2271(31268); - int i_76_ = 3 % ((63 - i_69_) / 47); - if (Class55_Sub1.aClass364_5271 != Class8.aClass364_165 && i_75_ < 50) { - int i_77_; - for (i_77_ = -i_75_ + 50; Class127_Sub1.anInt8388 < i_77_; Class127_Sub1.anInt8388++) - Class308.aByteArrayArray3882[Class127_Sub1.anInt8388] = new byte[102400]; - while (Class127_Sub1.anInt8388 > i_77_) { - Class127_Sub1.anInt8388--; - Class308.aByteArrayArray3882[Class127_Sub1.anInt8388] = null; - } - } else if (Class8.aClass364_165 != Class55_Sub1.aClass364_5271) { - Class127_Sub1.anInt8388 = 0; - Class308.aByteArrayArray3882 = new byte[50][]; - } - if (class64 == null) return false; - this.anInt10207 = class64.fa(); - this.anInt10230 = class64.ma(); - this.method2439(-115, class64); - if (i_72_ != 0 || i_73_ != 0) { - this.method2424(i_74_, i_72_, class225.anInt2943, i_73_, (byte) 108, class225.anInt2912); - if (this.anInt10302 != 0) class64.FA(this.anInt10302); - if (this.anInt10208 != 0) class64.VA(this.anInt10208); - if (this.anInt10252 != 0) class64.H(0, this.anInt10252, 0); - } else this.method2424(i_74_, method2436((byte) 124) << 9, 0, method2436((byte) 58) << 9, (byte) 65, 0); - if (bool) class64.method624(this.aByte10255, this.aByte10206, this.aByte10270, (this.aByte10279 & 0xff)); - if (!this.aBoolean10521 && this.anInt10269 != -1 && this.anInt10240 != -1) { - Class368 class368 = (Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 76, this.anInt10269)); - boolean bool_78_ = (class368.aByte4488 == 3 && (i_72_ != 0 || i_73_ != 0)); - int i_79_ = i_70_; - if (!bool_78_) { - if (this.anInt10237 != 0) i_79_ |= 0x5; - if (this.anInt10220 != 0) i_79_ |= 0x2; - if (this.anInt10278 >= 0) i_79_ |= 0x7; - } else i_79_ |= 0x7; - Class64 class64_80_ = (this.aClass64Array10323[1] = (class368.method3562(this.anInt10240, var_ha, this.anInt10243, i_79_, this.anInt10283, Class10.aClass87_191, (byte) 46))); - if (class64_80_ != null) { - if (this.anInt10278 >= 0 && class225.anIntArrayArray2939 != null && ((class225.anIntArrayArray2939[this.anInt10278]) != null)) { - int i_81_ = 0; - int i_82_ = 0; - int i_83_ = 0; - if (class225.anIntArrayArray2939 != null && ((class225.anIntArrayArray2939[this.anInt10278]) != null)) { - i_82_ += (class225.anIntArrayArray2939[this.anInt10278][1]); - i_83_ += (class225.anIntArrayArray2939[this.anInt10278][2]); - i_81_ += (class225.anIntArrayArray2939[this.anInt10278][0]); - } - if (class225.anIntArrayArray2910 != null && ((class225.anIntArrayArray2910[this.anInt10278]) != null)) { - i_82_ += (class225.anIntArrayArray2910[this.anInt10278][1]); - i_83_ += (class225.anIntArrayArray2910[this.anInt10278][2]); - i_81_ += (class225.anIntArrayArray2910[this.anInt10278][0]); - } - if (i_83_ != 0 || i_81_ != 0) { - int i_84_ = i_74_; - if ((this.anIntArray10296 != null) && ((this.anIntArray10296[this.anInt10278]) != -1)) i_84_ = (this.anIntArray10296[(this.anInt10278)]); - int i_85_ = (i_84_ + (this.anInt10237) * 2048 + -i_74_ & 0x3fff); - if (i_85_ != 0) class64_80_.a(i_85_); - int i_86_ = Class70.anIntArray1207[i_85_]; - int i_87_ = Class70.anIntArray1204[i_85_]; - int i_88_ = i_87_ * i_81_ + i_83_ * i_86_ >> 14; - i_83_ = -(i_81_ * i_86_) + i_83_ * i_87_ >> 14; - i_81_ = i_88_; - } - class64_80_.H(i_81_, i_82_, i_83_); - } else if (this.anInt10237 != 0) class64_80_.a(2048 * this.anInt10237); - if (this.anInt10220 != 0) class64_80_.H(0, (-this.anInt10220 << 2), 0); - if (bool_78_) { - if (this.anInt10302 != 0) class64_80_.FA(this.anInt10302); - if (this.anInt10208 != 0) class64_80_.VA(this.anInt10208); - if (this.anInt10252 != 0) class64_80_.H(0, (this.anInt10252), 0); - } - } - } else this.aClass64Array10323[1] = null; - if (this.aBoolean10521 || this.anInt10291 == -1 || this.anInt10224 == -1) this.aClass64Array10323[2] = null; - else { - Class368 class368 = (Class348_Sub40_Sub18.aClass319_9245.method2543((byte) 76, this.anInt10291)); - boolean bool_89_ = (class368.aByte4488 == 3 && (i_72_ != 0 || i_73_ != 0)); - int i_90_ = i_70_; - if (bool_89_) i_90_ |= 0x7; - else { - if (this.anInt10202 != 0) i_90_ |= 0x5; - if (this.anInt10260 != 0) i_90_ |= 0x2; - if (this.anInt10289 >= 0) i_90_ |= 0x7; - } - Class64 class64_91_ = (this.aClass64Array10323[2] = (class368.method3558(this.anInt10273, this.anInt10276, var_ha, i_90_, 3172, Class10.aClass87_191, this.anInt10224))); - if (class64_91_ != null) { - if (this.anInt10289 < 0 || class225.anIntArrayArray2939 == null || ((class225.anIntArrayArray2939[this.anInt10289]) == null)) { - if (this.anInt10202 != 0) class64_91_.a(2048 * (this.anInt10202)); - } else { - int i_92_ = 0; - int i_93_ = 0; - int i_94_ = 0; - if (class225.anIntArrayArray2939 != null && ((class225.anIntArrayArray2939[this.anInt10289]) != null)) { - i_92_ += (class225.anIntArrayArray2939[this.anInt10289][0]); - i_93_ += (class225.anIntArrayArray2939[this.anInt10289][1]); - i_94_ += (class225.anIntArrayArray2939[this.anInt10289][2]); - } - if (class225.anIntArrayArray2910 != null && ((class225.anIntArrayArray2910[this.anInt10289]) != null)) { - i_92_ += (class225.anIntArrayArray2910[this.anInt10289][0]); - i_93_ += (class225.anIntArrayArray2910[this.anInt10289][1]); - i_94_ += (class225.anIntArrayArray2910[this.anInt10289][2]); - } - if (i_94_ != 0 || i_92_ != 0) { - int i_95_ = i_74_; - if ((this.anIntArray10296 != null) && ((this.anIntArray10296[this.anInt10289]) != -1)) i_95_ = (this.anIntArray10296[(this.anInt10289)]); - int i_96_ = (0x3fff & -i_74_ + ((this.anInt10202) * 2048 + i_95_)); - if (i_96_ != 0) class64_91_.a(i_96_); - int i_97_ = Class70.anIntArray1207[i_96_]; - int i_98_ = Class70.anIntArray1204[i_96_]; - int i_99_ = i_94_ * i_97_ + i_98_ * i_92_ >> 14; - i_94_ = -(i_97_ * i_92_) + i_98_ * i_94_ >> 14; - i_92_ = i_99_; - } - class64_91_.H(i_92_, i_93_, i_94_); - } - if (this.anInt10260 != 0) class64_91_.H(0, (-this.anInt10260 << 2), 0); - if (bool_89_) { - if (this.anInt10302 != 0) class64_91_.FA(this.anInt10302); - if (this.anInt10208 != 0) class64_91_.VA(this.anInt10208); - if (this.anInt10252 != 0) class64_91_.H(0, (this.anInt10252), 0); - } - } - } - return true; - } - - final int method2421(byte i) { - if (i < 113) this.anInt10535 = 60; - anInt10543++; - return anInt10520; - } - - static final void method2460(float f, int i, float f_100_, int i_101_, int i_102_, float f_103_, Class186 class186, int i_104_, byte i_105_, int i_106_, float f_107_, byte[] is, int i_108_, float f_109_) { - do { - try { - anInt10559++; - int i_110_ = i_102_ * i_106_; - float[] fs = new float[i_110_]; - for (int i_111_ = 0; i_101_ > i_111_; i_111_++) { - int i_112_ = i; - class186.method1398(i_108_, i_102_, f_100_ / (float) i_106_, f_109_ / (float) i_108_, 0, f * 127.0F, 1, f_107_ / (float) i_102_, i_106_, i_104_, fs); - f_107_ *= 2.0F; - f_100_ *= 2.0F; - for (int i_113_ = 0; i_110_ > i_113_; i_113_++) { - is[i_112_] += fs[i_113_]; - i_112_++; - } - f_109_ *= 2.0F; - f *= f_103_; - } - int i_114_ = i; - for (int i_115_ = 0; i_115_ < i_110_; i_115_++) { - is[i_114_] = (byte) (127 + is[i_114_]); - i_114_++; - } - if (i_105_ == 30) break; - aHashtable10565 = null; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ke.LB(" + f + ',' + i + ',' + f_100_ + ',' + i_101_ + ',' + i_102_ + ',' + f_103_ + ',' + (class186 != null ? "{...}" : "null") + ',' + i_104_ + ',' + i_105_ + ',' + i_106_ + ',' + f_107_ + ',' + (is != null ? "{...}" : "null") + ',' + i_108_ + ',' + f_109_ + ')')); - } - break; - } while (false); - } - - public Player() { - this.anInt10516 = 0; - this.anInt10535 = -1; - this.aBoolean10521 = false; - this.anInt10526 = -1; - this.aBoolean10539 = false; - this.anInt10519 = -1; - this.anInt10522 = -1; - this.aBoolean10554 = false; - this.anInt10557 = 0; - this.anInt10524 = -1; - this.aBoolean10551 = false; - this.anInt10560 = -1; - this.anInt10542 = 0; - this.anInt10553 = 0; - aByte10556 = (byte) 0; - this.anInt10558 = 255; - this.anInt10540 = -1; - aByte10552 = (byte) 0; - aByte10538 = (byte) 0; - this.anInt10561 = -1; - this.anInt10564 = 0; - } -} diff --git a/client/src/ReflectionInvoker.java b/client/src/ReflectionInvoker.java new file mode 100644 index 000000000..6aaec245c --- /dev/null +++ b/client/src/ReflectionInvoker.java @@ -0,0 +1,538 @@ +/* ReflectionInvoker - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class297` (JODE-obfuscated). + * Reflection-based method/constructor invoker (invokeByOpcode dispatches by opcode). Used to call into restricted JDK APIs (e.g. system Clipboard get/setContents) and load classes; enforces a classloader null-check SecurityException. Implements Runnable. + */ + +import java.awt.*; +import java.awt.datatransfer.Clipboard; +import java.awt.datatransfer.Transferable; +import java.io.DataInputStream; +import java.io.File; +import java.io.FileOutputStream; +import java.io.IOException; +import java.lang.reflect.Method; +import java.net.InetAddress; +import java.net.Socket; +import java.net.URL; + +final class ReflectionInvoker implements Runnable { + /** DirectDraw cursor peer when {@link #useDirectDraw}. */ + private DirectDrawCursor directDrawCursor; + /** Signed-applet privileges (reflection/network extras). */ + boolean signed; + /** {@code os.version}. */ + static String osVersion; + RandomAccessFileReader cacheIdx255 = null; + /** {@code os.arch}. */ + static String osArch; + private static volatile long connectionBlockedUntil = 0L; + /** {@code java.vendor}. */ + static String javaVendor; + static Method aMethod3783; + private static String osName; + /** {@code main_file_cache.dat2}. */ + RandomAccessFileReader cacheDat2 = null; + static Method aMethod3786; + /** Native peer ({@code DirectSoundAudio} / {@link NativeAudio}) for audio/input. */ + private Object nativeInterface; + /** {@code random.dat} UID file. */ + RandomAccessFileReader randomDat; + /** Game name passed to {@link CacheDirectory#init}. */ + private static String gameName; + /** Daemon thread running {@link #run} task queue. */ + private final Thread workerThread; + /** {@link CursorManager} for custom/blank cursors (non-DirectDraw). */ + private Object cursorManager; + /** Cache store id ({@code jagex_cache_}). */ + private static int cacheId; + /** {@link DisplayModeManager} when not using DirectDraw. */ + private Object displayModeManager; + /** Microsoft JVM path: use DirectDraw fullscreen/cursor instead of AWT. */ + boolean useDirectDraw; + /** {@code main_file_cache.idx0..N}. */ + RandomAccessFileReader[] cacheIndexFiles; + /** {@code java.version}. */ + static String javaVersion; + /** Queue head of pending {@link Task}s. */ + private Task taskHead; + /** Queue tail of pending {@link Task}s. */ + private Task taskTail; + /** System AWT event queue (for {@link DummyClass#pulseAwtQueue}). */ + EventQueue eventQueue; + /** {@code user.home}. */ + private static String userHome; + /** Set to stop the async worker thread. */ + private boolean stopRequested; + /** DirectDraw fullscreen helper when {@link #useDirectDraw}. */ + private DirectDrawDisplay directDrawFullscreen; + static String aString3803; + /*synthetic*/ static Class aClass3804; + /*synthetic*/ static Class aClass3805; + /*synthetic*/ static Class aClass3806; + /*synthetic*/ static Class aClass3807; + + /** Queue opcode-6: create non-resizable fullscreen {@link Frame}. */ + final Task createFullscreenFrame(int i, int i_0_, int i_1_, int i_2_, byte i_3_) { + if (i_3_ != -11) connectionBlockedUntil = 34L; + return invokeByOpcode(8, (i_1_ << 16) - -i, 6, i_0_ + (i_2_ << 16), null); + } + + /** Reflect {@code var_class.getDeclaredMethod(string, var_classes)}. */ + final Task getDeclaredMethod(Class[] var_classes, int i, Class var_class, String string) { + if (i < 49) return null; + return invokeByOpcode(8, 0, 8, 0, new Object[]{var_class, string, var_classes}); + } + + /** Open jagex preferences RAF for {@link #gameName}/{@link #cacheId}. */ + static final RandomAccessFileReader openGamePreferences(String string, int i) { + if (i != -1141472112) return null; + return openPreferencesFile(string, 12606, gameName, cacheId); + } + + /** Reverse-DNS lookup for packed IPv4 {@code i_4_}. */ + final Task reverseDns(int i, int i_4_) { + if (i <= 20) startThread(null, -123, -128); + return invokeByOpcode(8, 0, 3, i_4_, null); + } + + /** Open cache RAF for {@code string} (create-if-missing when {@code bool}). */ + final Task openCacheFile(byte i, String string, boolean bool) { + if (i != -46) return null; + if (!bool) return invokeByOpcode(8, 0, 13, 0, string); + return invokeByOpcode(8, 0, 12, 0, string); + } + + public final void run() { + for (; ; ) { + Task class144; + synchronized (this) { + for (; ; ) { + if (stopRequested) return; + if (taskHead != null) { + class144 = taskHead; + taskHead = taskHead.next; + if (taskHead == null) taskTail = null; + break; + } + try { + this.wait(); + } catch (InterruptedException interruptedexception) { + /* empty */ + } + } + } + try { + int i = class144.opcode; + if (i == 1) { + if (connectionBlockedUntil > Component240.currentTimeMillis(-53)) throw new IOException(); + if (Loader.debug) { + System.out.println("Connect: " + class144.argument + " " + class144.intArg1); + } + { + String host = (String) class144.argument; + InetAddress addr; + if (host != null && host.matches("\\d+\\.\\d+\\.\\d+\\.\\d+")) { + String[] p = host.split("\\."); + addr = InetAddress.getByAddress(new byte[]{ + (byte) Integer.parseInt(p[0]), + (byte) Integer.parseInt(p[1]), + (byte) Integer.parseInt(p[2]), + (byte) Integer.parseInt(p[3]) + }); + } else { + addr = InetAddress.getByName(host); + } + Socket socket = new Socket(); + socket.connect(new java.net.InetSocketAddress(addr, class144.intArg1), 5000); + class144.result = socket; + } + if (Loader.debug) { + System.out.println("Connect OK: " + class144.argument + ":" + class144.intArg1); + } + } else if (i == 22) { + if (connectionBlockedUntil > Component240.currentTimeMillis(-92)) throw new IOException(); + try { + class144.result = Component128.createSocketConnector(class144.intArg1, (byte) -90, ((String) class144.argument)).connect(-112); + } catch (IOException_Sub1 ioexception_sub1) { + class144.result = ioexception_sub1.getMessage(); + throw ioexception_sub1; + } + } else if (i == 2) { + Thread thread = new Thread((Runnable) (class144.argument)); + thread.setDaemon(true); + thread.start(); + thread.setPriority(class144.intArg1); + class144.result = thread; + } else if (i == 4) { + if (Component240.currentTimeMillis(-73) < connectionBlockedUntil) throw new IOException(); + class144.result = new DataInputStream(((URL) (class144.argument)).openStream()); + } else if (i == 8) { + Object[] objects = ((Object[]) class144.argument); + if (this.signed && (((Class) objects[0]).getClassLoader() == null)) throw new SecurityException(); + class144.result = (((Class) objects[0]).getDeclaredMethod((String) objects[1], (Class[]) objects[2])); + } else if (i == 9) { + Object[] objects = ((Object[]) class144.argument); + if (this.signed && (((Class) objects[0]).getClassLoader() == null)) throw new SecurityException(); + class144.result = (((Class) objects[0]).getDeclaredField((String) objects[1])); + } else if (i == 18) { + Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard(); + class144.result = clipboard.getContents(null); + } else if (i == 19) { + Transferable transferable = ((Transferable) (class144.argument)); + Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard(); + clipboard.setContents(transferable, null); + } else if (this.signed) { + if (i == 3) { + if (connectionBlockedUntil > Component240.currentTimeMillis(-123)) throw new IOException(); + String string = (((0xff & (class144.intArg1 >> 24))) + "." + (0xff & (class144.intArg1 >> 16)) + "." + ((class144.intArg1 >> 8) & 0xff) + "." + (0xff & class144.intArg1)); + class144.result = InetAddress.getByName(string).getHostName(); + } else if (i == 21) { + if (Component240.currentTimeMillis(-82) < connectionBlockedUntil) throw new IOException(); + class144.result = InetAddress.getByName((String) (class144.argument)).getAddress(); + } else if (i != 5) { + if (i == 6) { + Frame frame = (new Frame("Jagex Full Screen")); + class144.result = frame; + frame.setResizable(false); + if (this.useDirectDraw) directDrawFullscreen.enterFullscreen((class144.intArg1 & 0xffff), (class144.intArg0 >> 16), (class144.intArg1 >>> 16), -43, 0xffff & (class144.intArg0), frame); + else + ((DisplayModeManager) displayModeManager).setDisplayMode(frame, (new Integer((class144.intArg1) >>> 16)), (new Integer(0xffff & (class144.intArg1))), (new Integer((class144.intArg0) >> 16)), (new Integer((class144.intArg0) & 0xffff))); + } else if (i == 7) { + if (this.useDirectDraw) directDrawFullscreen.restoreDisplayMode(((Frame) (class144.argument)), 8); + else ((DisplayModeManager) displayModeManager).restoreDisplayMode(); + } else if (i == 12) { + RandomAccessFileReader class234 = (openPreferencesFile(((String) (class144.argument)), 12606, gameName, cacheId)); + class144.result = class234; + } else if (i == 13) { + RandomAccessFileReader class234 = (openPreferencesFile(((String) (class144.argument)), 12606, "", cacheId)); + class144.result = class234; + } else if ((this.signed) && i == 14) { + int i_5_ = (class144.intArg1); + int i_6_ = (class144.intArg0); + if (this.useDirectDraw) directDrawCursor.setCursorPos(i_5_, (byte) 115, i_6_); + else ((CursorManager) cursorManager).setCursorPos((new Integer(i_5_)), (new Integer(i_6_))); + } else if ((this.signed) && (i == 15)) { + boolean bool = ((class144.intArg1) != 0); + Component component = ((Component) (class144.argument)); + if (this.useDirectDraw) directDrawCursor.setBlankCursor(bool, 13259, component); + else ((CursorManager) cursorManager).setBlankCursor(component, (new Boolean(bool))); + } else if (!(this.useDirectDraw) && (i == 17)) { + Object[] objects = ((Object[]) (class144.argument)); + ((CursorManager) cursorManager).setCustomCursor((Component) objects[0], (int[]) objects[1], (new Integer(class144.intArg1)), (new Integer(class144.intArg0)), (Point) objects[2]); + } else if (i == 16) { + try { + if (!aString3803.startsWith("win")) throw new Exception(); + String string = ((String) (class144.argument)); + if (!(string.startsWith("http://")) && !(string.startsWith("https://"))) throw new Exception(); + String string_7_ = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789?&=,.%+-_#:/*"; + for (int i_8_ = 0; (i_8_ < (string.length())); i_8_++) { + if ((string_7_.indexOf(string.charAt(i_8_))) == -1) throw new Exception(); + } + Runtime.getRuntime().exec("cmd /c start \"j\" \"" + string + "\""); + class144.result = null; + } catch (Exception exception) { + class144.result = exception; + throw exception; + } + } else throw new Exception(""); + } else if (!this.useDirectDraw) class144.result = ((DisplayModeManager) displayModeManager).getDisplayModesPacked(); + else class144.result = directDrawFullscreen.getDisplayModesPacked(true); + } else throw new Exception(""); + class144.status = 1; + } catch (Throwable throwable) { + if (Loader.debug && class144.opcode == 1) { + System.out.println("Connect FAIL: " + class144.argument + ":" + class144.intArg1 + + " " + throwable.getClass().getSimpleName() + ": " + throwable.getMessage()); + } + if (Loader.trace) { + throwable.printStackTrace(); + } + class144.status = 2; + } + synchronized (class144) { + class144.notify(); + } + } + } + + /** Stop worker thread and close cache RAFs. */ + final void shutdown(byte i) { + synchronized (this) { + stopRequested = true; + this.notifyAll(); + } + try { + workerThread.join(); + if (i != 103) this.randomDat = null; + } catch (InterruptedException interruptedexception) { + /* empty */ + } + if (this.cacheDat2 != null) { + try { + this.cacheDat2.close(false); + } catch (IOException ioexception) { + /* empty */ + } + } + if (this.cacheIdx255 != null) { + try { + this.cacheIdx255.close(false); + } catch (IOException ioexception) { + /* empty */ + } + } + if (this.cacheIndexFiles != null) { + for (int i_9_ = 0; i_9_ < this.cacheIndexFiles.length; i_9_++) { + if (this.cacheIndexFiles[i_9_] != null) { + try { + this.cacheIndexFiles[i_9_].close(false); + } catch (IOException ioexception) { + /* empty */ + } + } + } + } + do { + if (this.randomDat != null) { + try { + this.randomDat.close(false); + } catch (IOException ioexception) { + break; + } + break; + } + } while (false); + } + + /** Connect TCP to {@code string}:{@code i} ({@code bool} selects proxy path). */ + final Task openSocket(boolean bool, int i, String string, int i_10_) { + if (i_10_ != 28225) return null; + return invokeByOpcode(i_10_ ^ 0x6e49, 0, bool ? 22 : 1, i, string); + } + + /** Start a daemon thread at priority {@code i_11_}. */ + final Task startThread(Runnable runnable, int i, int i_11_) { + if (i != -10240) writeFileBytes(null, (byte) 57, null); + return invokeByOpcode(8, 0, 2, i_11_, runnable); + } + + /** Open {@link DataInputStream} on {@code url}. */ + final Task openUrlStream(URL url, int i) { + if (i != 8362) return null; + return invokeByOpcode(8, 0, 4, 0, url); + } + + /** Install a custom AWT cursor from packed ARGB pixels. */ + final Task setCustomCursor(int i, int[] is, int i_12_, Point point, Component component, int i_13_) { + if (i_12_ != 17) getLocalHost(-75); + return invokeByOpcode(i_12_ + -9, i, 17, i_13_, new Object[]{component, is, point}); + } + + /** Block new network tasks for ~5s (rate-limit after failures). */ + final void blockConnections(int i) { + if (i > -90) this.cacheIdx255 = null; + connectionBlockedUntil = 5000L + Component240.currentTimeMillis(-107); + } + + /** Resolve local host name via {@link InetAddress#getLocalHost()}. */ + final Task getLocalHost(int i) { + if (i != 972476528) return null; + return invokeByOpcode(8, 0, 5, 0, null); + } + + /** Open jagex_*_preferences*.dat under common cache roots. */ + private static final RandomAccessFileReader openPreferencesFile(String string, int i, String string_14_, int i_15_) { + String string_16_; + if (i_15_ == 33) string_16_ = "jagex_" + string_14_ + "_preferences" + string + "_rc.dat"; + else if (i_15_ != 34) string_16_ = "jagex_" + string_14_ + "_preferences" + string + ".dat"; + else string_16_ = "jagex_" + string_14_ + "_preferences" + string + "_wip.dat"; + if (i != 12606) return null; + String[] strings = {"c:/rscache/", "/rscache/", userHome, "c:/windows/", "c:/winnt/", "c:/", "/tmp/", ""}; + for (int i_17_ = 0; strings.length > i_17_; i_17_++) { + String string_18_ = strings[i_17_]; + if (string_18_.length() <= 0 || new File(string_18_).exists()) { + try { + RandomAccessFileReader class234 = new RandomAccessFileReader(new File(string_18_, string_16_), "rw", 10000L); + return class234; + } catch (Exception exception) { + /* empty */ + } + } + } + return null; + } + + /** Write {@code is} to {@code file}; returns true on success. */ + final boolean writeFileBytes(byte[] is, byte i, File file) { + try { + FileOutputStream fileoutputstream = new FileOutputStream(file); + fileoutputstream.write(is, 0, is.length); + if (i != -104) return false; + fileoutputstream.close(); + return true; + } catch (IOException ioexception) { + throw new RuntimeException(); + } + } + + /** Reflect {@code var_class.getDeclaredField(string)}. */ + final Task getDeclaredField(int i, String string, Class var_class) { + if (i != 0) blockConnections(-13); + return invokeByOpcode(8, 0, 9, 0, new Object[]{var_class, string}); + } + + /** {@link #nativeInterface} (audio/input peer). */ + final Object getNativeInterface(int i) { + if (i != 21) openUrlStream(null, 23); + return nativeInterface; + } + + /** Queue opcode-16 URL open for {@code string}. */ + final Task openUrlTask(String string, int i) { + if (i != 16) return null; + return invokeByOpcode(i + -8, 0, 16, 0, string); + } + + private final Task invokeByOpcode(int i, int i_19_, int i_20_, int i_21_, Object object) { + Task class144 = new Task(); + class144.argument = object; + class144.intArg0 = i_19_; + class144.opcode = i_20_; + class144.intArg1 = i_21_; + synchronized (this) { + if (taskTail == null) taskTail = taskHead = class144; + else { + taskTail.next = class144; + taskTail = class144; + } + this.notify(); + if (i != 8) openSocket(false, 76, null, 37); + } + return class144; + } + + /** True if a display-mode backend is loaded (DirectDraw or {@link DisplayModeManager}). */ + final boolean hasFullscreenSupport(int i) { + if (i != -4) openUrlTask(null, 50); + if (!this.signed) return false; + if (this.useDirectDraw) { + return directDrawFullscreen != null; + } + return displayModeManager != null; + } + + /** Leave fullscreen / restore display mode for {@code frame}. */ + final Task exitFullscreen(byte i, Frame frame) { + if (i != 89) return null; + return invokeByOpcode(i ^ 0x51, 0, 7, 0, frame); + } + + ReflectionInvoker(int i, String string, int i_22_, boolean bool) throws Exception { + this.signed = false; + taskTail = null; + stopRequested = false; + this.randomDat = null; + this.useDirectDraw = false; + taskHead = null; + gameName = string; + this.signed = bool; + javaVersion = "1.1"; + javaVendor = "Unknown"; + cacheId = i; + try { + javaVendor = System.getProperty("java.vendor"); + javaVersion = System.getProperty("java.version"); + } catch (Exception exception) { + /* empty */ + } + if (javaVendor.toLowerCase().indexOf("microsoft") != -1) this.useDirectDraw = true; + try { + osName = System.getProperty("os.name"); + } catch (Exception exception) { + osName = "Unknown"; + } + aString3803 = osName.toLowerCase(); + try { + osArch = System.getProperty("os.arch").toLowerCase(); + } catch (Exception exception) { + osArch = ""; + } + try { + osVersion = System.getProperty("os.version").toLowerCase(); + } catch (Exception exception) { + osVersion = ""; + } + try { + userHome = System.getProperty("user.home"); + if (userHome != null) userHome += "/"; + } catch (Exception exception) { + /* empty */ + } + if (userHome == null) userHome = "~/"; + try { + this.eventQueue = Toolkit.getDefaultToolkit().getSystemEventQueue(); + } catch (Throwable throwable) { + /* empty */ + } + if (!this.useDirectDraw) { + try { + aMethod3783 = Component.class.getDeclaredMethod("setFocusTraversalKeysEnabled", Boolean.TYPE); + } catch (Exception exception) { + /* empty */ + } + try { + aMethod3786 = (Container.class.getDeclaredMethod("setFocusCycleRoot", Boolean.TYPE)); + } catch (Exception exception) { + /* empty */ + } + } + CacheDirectory.init((byte) -121, gameName, cacheId); + if (this.signed) { + this.randomDat = new RandomAccessFileReader(CacheDirectory.resolveCacheFile(0, cacheId, "random.dat", null), "rw", 25L); + this.cacheDat2 = new RandomAccessFileReader(CacheDirectory.getCacheFile(-2, "main_file_cache.dat2"), "rw", 209715200L); + this.cacheIdx255 = new RandomAccessFileReader(CacheDirectory.getCacheFile(-2, "main_file_cache.idx255"), "rw", 1048576L); + this.cacheIndexFiles = new RandomAccessFileReader[i_22_]; + for (int i_23_ = 0; i_22_ > i_23_; i_23_++) + this.cacheIndexFiles[i_23_] = new RandomAccessFileReader(CacheDirectory.getCacheFile(-2, ("main_file_cache.idx" + i_23_)), "rw", 1048576L); + if (this.useDirectDraw) { + try { + nativeInterface = new DirectSoundAudio(); + } catch (Throwable throwable) { + /* empty */ + } + } + try { + if (!this.useDirectDraw) displayModeManager = new DisplayModeManager(); + else directDrawFullscreen = new DirectDrawDisplay(); + } catch (Throwable throwable) { + /* empty */ + } + try { + if (!this.useDirectDraw) cursorManager = new CursorManager(); + else directDrawCursor = new DirectDrawCursor(); + } catch (Throwable throwable) { + /* empty */ + } + } + if (this.signed && !this.useDirectDraw) { + ThreadGroup threadgroup = Thread.currentThread().getThreadGroup(); + for (ThreadGroup threadgroup_24_ = threadgroup.getParent(); threadgroup_24_ != null; threadgroup_24_ = threadgroup.getParent()) + threadgroup = threadgroup_24_; + Thread[] threads = new Thread[1000]; + threadgroup.enumerate(threads); + for (int i_25_ = 0; threads.length > i_25_; i_25_++) { + if (threads[i_25_] != null && threads[i_25_].getName().startsWith("AWT")) threads[i_25_].setPriority(1); + } + } + stopRequested = false; + workerThread = new Thread(this); + workerThread.setPriority(10); + workerThread.setDaemon(true); + workerThread.start(); + } + +} diff --git a/client/src/ResourceLoader.java b/client/src/ResourceLoader.java new file mode 100644 index 000000000..46354a242 --- /dev/null +++ b/client/src/ResourceLoader.java @@ -0,0 +1,192 @@ +/* ResourceLoader - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class311` (JODE-obfuscated). + * Resource-loading thread (implements Runnable). Loads anInterface16_3907 (InterfaceRenderer etc.) and reports progress through a LoadingState (aClass56_3916) and the GraphicsToolkit. + */ + +final class ResourceLoader implements Runnable { + static int anInt3897; + static StringCache aClass351_3898 = new StringCache(11, 8); + static int anInt3899; + static int anInt3900; + static int anInt3901; + static int anInt3902; + static int anInt3903; + static int anInt3904; + static int anInt3905; + static int anInt3906; + private Interface16 anInterface16_3907 = new InterfaceRenderer(); + private volatile boolean aBoolean3908; + static int anInt3909; + private volatile boolean aBoolean3910; + static int anInt3911; + static int anInt3912; + static DisplayModeManagerContainer57 aClass46_3913; + private long aLong3914; + private int anInt3915; + private LoadingState aClass56_3916; + private long aLong3917; + static int anInt3918 = 1; + private Interface16 anInterface16_3919 = null; + /** Loading-render loop iterations ({@link #run}). */ + private int pulseCount; + private String aString3921; + + final int method2315(byte i) { + anInt3909++; + if (aClass56_3916 == null) return 0; + if (i < 103) aLong3917 = -58L; + int i_0_ = aClass56_3916.getStageId(-118); + if (aClass56_3916.isBlocking && (anInt3915 < aClass56_3916.currentProgress)) return 1 + anInt3915; + if (i_0_ < 0 || -1 + ShaderCompilerSub2.aClass56Array6515.length <= i_0_) return 100; + if (aClass56_3916.maxProgress == anInt3915) return aClass56_3916.currentProgress; + return aClass56_3916.maxProgress; + } + + final void method2316(LoadingState class56, String string, int i, long l, boolean bool) { + try { + if (bool != false) method2318(9); + aString3921 = string; + anInt3915 = i; + anInt3897++; + aLong3917 = l; + aClass56_3916 = class56; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ae.J(" + (class56 != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ',' + i + ',' + l + ',' + bool + ')')); + } + } + + public final void run() { + anInt3902++; + while (!aBoolean3910) { + long l = Component240.currentTimeMillis(-61); + try { + pulseCount++; + if (anInterface16_3907 instanceof InterfaceRenderer) anInterface16_3907.method58(aBoolean3908, -104); + else { + long l_1_ = Component240.currentTimeMillis(-104); + if (NodeSub8.toolkit != null && anInterface16_3919 != null && anInterface16_3919.method55((byte) -58) != 0 && (aLong3914 >= l_1_ - (long) anInterface16_3919.method55((byte) -58))) { + int i = (int) ((l_1_ + -aLong3914) * 255L / (long) anInterface16_3919.method55((byte) -58)); + int i_2_ = -i + 255; + i_2_ = 0xffffff | i_2_ << 24; + i = 0xffffff | i << 24; + Component211.method1170((byte) -121); + NodeSub8.toolkit.GA(0); + Component24 class105 = (NodeSub8.toolkit.method3629(Component236.anInt4017, PacketReader.anInt10432, true)); + NodeSub8.toolkit.method3681(class105, 0); + anInterface16_3919.method58(true, -126); + NodeSub8.toolkit.method3672(); + class105.method964(0, 0, 0, i_2_, 1); + NodeSub8.toolkit.method3681(class105, 0); + NodeSub8.toolkit.GA(0); + anInterface16_3907.method58(true, -114); + NodeSub8.toolkit.method3672(); + class105.method964(0, 0, 0, i, 1); + } else { + if (anInterface16_3919 != null) { + aBoolean3908 = true; + anInterface16_3919.method59(-9719); + anInterface16_3919 = null; + } + if (aBoolean3908) { + Component211.method1170((byte) -64); + if (NodeSub8.toolkit != null) NodeSub8.toolkit.GA(0); + } + anInterface16_3907.method58((aBoolean3908 || (NodeSub8.toolkit != null && NodeSub8.toolkit.method3655())), -90); + } + try { + if (NodeSub8.toolkit != null && !(anInterface16_3907 instanceof InterfaceRenderer)) NodeSub8.toolkit.method3689((byte) 57); + } catch (Exception_Sub1 exception_sub1) { + ClientErrorReporter.reportError((exception_sub1.getMessage() + " (Recovered) " + NpcComposition.aClient1367.method81((byte) 80)), exception_sub1, 15004); + SoftwareFallbackShader.method3553(true, (byte) 114, 0); + } + } + java.awt.Container container; + if (RSACipher.aFrame4904 != null) container = RSACipher.aFrame4904; + else if (ToolkitFactory.anApplet1530 != null) container = ToolkitFactory.anApplet1530; + else container = DefinitionSub9.anApplet_Sub1_9169; + container.getSize(); + container.getSize(); + if (RSACipher.aFrame4904 == container) RSACipher.aFrame4904.getInsets(); + aBoolean3908 = false; + if (NodeSub8.toolkit != null && !(anInterface16_3907 instanceof InterfaceRenderer) && (aClass56_3916.getStageId(-112) < LoadingState.aClass56_1041.getStageId(-127))) OpenGlShader.method3556(false); + } catch (Exception exception) { + continue; + } + long l_3_ = Component240.currentTimeMillis(-73); + int i = (int) (-l_3_ - -l + 20L); + if (i > 0) SpriteAtlasShader.sleep((byte) -3, i); + } + } + + public static void method2317(byte i) { + if (i > 50) { + aClass351_3898 = null; + aClass46_3913 = null; + } + } + + final String method2318(int i) { + if (i != -9324) method2320((byte) -47); + anInt3903++; + return aString3921; + } + + final void method2319(byte i) { + aBoolean3910 = true; + if (i >= -37) aLong3914 = -36L; + anInt3906++; + } + + final int method2320(byte i) { + anInt3901++; + int i_4_ = -127 / ((29 - i) / 45); + return anInt3915; + } + + final synchronized void method2321(int i, Interface16 interface16) { + anInt3911++; + if (i != 10559) aClass46_3913 = null; + anInterface16_3919 = anInterface16_3907; + anInterface16_3907 = interface16; + aLong3914 = Component240.currentTimeMillis(-67); + } + + final synchronized boolean method2322(int i) { + anInt3900++; + if (i != 0) return false; + return anInterface16_3907.method56((byte) 125, aLong3914); + } + + final long method2323(int i) { + anInt3912++; + if (i != 0) method2318(14); + return aLong3917; + } + + final LoadingState method2324(int i) { + anInt3904++; + if (i <= 45) return null; + return aClass56_3916; + } + + /** {@link #pulseCount} — frames processed by the loader thread. */ + final int getPulseCount(byte i) { + int i_5_ = 32 / ((i - -41) / 47); + anInt3899++; + return pulseCount; + } + + final void method2326(int i) { + if (i <= 39) method2315((byte) 28); + anInt3905++; + aBoolean3908 = true; + } + + public ResourceLoader() { + /* empty */ + } +} diff --git a/client/src/RunescapeInfo.java b/client/src/RunescapeInfo.java new file mode 100644 index 000000000..53d1b82dd --- /dev/null +++ b/client/src/RunescapeInfo.java @@ -0,0 +1,76 @@ +/* RunescapeInfo - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class10` (JODE-obfuscated). + * RuneScape game-info holder. References the 'runescape' game identifier and supplies title/world metadata to the client shell. + */ + +final class RunescapeInfo { + RenderableObject aClass318_Sub1_172; + int anInt173; + static int[][] anIntArrayArray174 = {{0, 2}, {0, 2}, {0, 0, 2}, {2, 0, 0}, {0, 2, 0}, {0, 0, 2}, {0, 5, 1, 4}, {0, 4, 4, 4}, {4, 4, 4, 0}, {6, 6, 6, 2, 2, 2}, {2, 2, 2, 6, 6, 6}, {0, 11, 6, 6, 6, 4}, {0, 2}, {0, 4, 4, 4}, {0, 4, 4, 4}}; + static int anInt175; + NodeSub16Sub5 aClass348_Sub16_Sub5_176; + int anInt177; + int anInt178; + static int[] anIntArray179; + byte aByte180; + static int anInt181; + static int anInt182; + Component277 aClass317_183; + int anInt184; + int anInt185; + /** RuneScape game product ({@code id}=0, domain {@code runescape}). */ + static GameType RUNESCAPE; + static int[] anIntArray187 = {-1, 8192, 0, -1, 12288, 10240, 14336, -1, 4096, 6144, 2048}; + int anInt188; + NodeSub19Sub1 aClass348_Sub19_Sub1_189; + static int anInt190; + static Component344 aClass87_191; + NodeSub10 aClass348_Sub10_192; + + static final String getMenuTipOption(byte i) { + anInt175++; + if (Component364.aBoolean8335 || Component192.menuTip == null) return ""; + if (i < 51) return null; + return (Component192.menuTip.option); + } + + public static void clearStatics(byte i) { + if (i < 101) clearStatics((byte) -85); + anIntArray187 = null; + anIntArray179 = null; + RUNESCAPE = null; + aClass87_191 = null; + anIntArrayArray174 = null; + } + + static final boolean hasOverlayFlag(int i, boolean bool, int i_0_) { + if (bool != false) return false; + anInt190++; + return (i & 0x800) != 0 | DisplayModeManagerContainer347.method2077(-106, i_0_, i) || PacketReader.method3200(i, i_0_, (byte) 88); + } + + final boolean isPositionalSound(byte i) { + anInt181++; + if (i >= -12) clearStatics((byte) 101); + return this.aByte180 == 2 || this.aByte180 == 3; + } + + RunescapeInfo(byte i, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_, RenderableObject class318_sub1) { + this.anInt177 = i_2_; + this.anInt184 = i_4_; + this.anInt188 = i_3_; + this.anInt178 = i_5_; + this.anInt185 = i_1_; + this.aByte180 = i; + this.anInt173 = i_6_; + this.aClass318_Sub1_172 = class318_sub1; + } + + static { + RUNESCAPE = new GameType("runescape", 0); + } +} diff --git a/client/src/RuntimeException_Sub1.java b/client/src/RuntimeException_Sub1.java index c37959c2b..d22cf9f05 100644 --- a/client/src/RuntimeException_Sub1.java +++ b/client/src/RuntimeException_Sub1.java @@ -3,20 +3,22 @@ */ final class RuntimeException_Sub1 extends RuntimeException { - String aString4594; - Throwable aThrowable4595; + /** Detail message attached when wrapping a throwable for the error reporter. */ + String detail; + /** Original cause retained alongside {@link #detail}. */ + Throwable cause; static int anInt4596; static int anInt4597; static int anInt4598; static boolean aBoolean4599; static int anInt4600 = 52; - static Class351 aClass351_4601; + static StringCache aClass351_4601; static float[] aFloatArray4602; static int[] anIntArray4603; static boolean aBoolean4604; static int anInt4605; - static final aa_Sub1 method4009(int i, int[] is, int[] is_0_, int i_1_, ha_Sub2 var_ha_Sub2, int i_2_) { + static final ShaderSub1 method4009(int i, int[] is, int[] is_0_, int i_1_, GlToolkitSub2 var_ha_Sub2, int i_2_) { try { anInt4597++; byte[] is_3_ = new byte[i * i_2_]; @@ -25,13 +27,13 @@ static final aa_Sub1 method4009(int i, int[] is, int[] is_0_, int i_1_, ha_Sub2 for (int i_6_ = 0; i_6_ < is_0_[i_4_]; i_6_++) is_3_[i_5_++] = (byte) -1; } - return new aa_Sub1(var_ha_Sub2, i, i_2_, is_3_); + return new ShaderSub1(var_ha_Sub2, i, i_2_, is_3_); } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("kg.C(" + i + ',' + (is != null ? "{...}" : "null") + ',' + (is_0_ != null ? "{...}" : "null") + ',' + i_1_ + ',' + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i_2_ + ')')); + throw NpcDefinition.wrapThrowable(runtimeexception, ("kg.C(" + i + ',' + (is != null ? "{...}" : "null") + ',' + (is_0_ != null ? "{...}" : "null") + ',' + i_1_ + ',' + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i_2_ + ')')); } } - public static void method4010(int i) { + public static void clearStatics(int i) { if (i == -3) { anIntArray4603 = null; aFloatArray4602 = null; @@ -40,60 +42,60 @@ public static void method4010(int i) { } RuntimeException_Sub1(Throwable throwable, String string) { - this.aString4594 = string; - this.aThrowable4595 = throwable; + this.detail = string; + this.cause = throwable; } - static final void method4011(int i, Class45 class45) { + static final void method4011(int i, CacheStore class45) { anInt4598++; if (i != 1024) method4012(null, (byte) 68); client.anInt5171 = 0; - Class348_Sub1_Sub1.anInt8808 = 0; - Class152.aClass243_2077 = new Class243(); - Class239_Sub25.aClass318_Sub9_Sub2_Sub1Array6103 = new Class318_Sub9_Sub2_Sub1[1024]; - Class348_Sub51.aClass318_Sub10Array7249 = new Class318_Sub10[(Class348_Sub42_Sub9.anIntArray9558[Class348_Sub6.anInt6637]) + 1]; - Class258_Sub3.anInt8550 = 0; - Class376.anInt4559 = 0; - Class117.method1072(class45, (byte) -107); - Class2.method172(30284, class45); + NodeSub1Sub1.anInt8808 = 0; + InflaterDecompressor.aClass243_2077 = new Component315(); + Component256.aClass318_Sub9_Sub2_Sub1Array6103 = new RenderableSub9Sub2Sub1[1024]; + NodeSub51.aClass318_Sub10Array7249 = new RenderableSub10[(ReferenceHolder.anIntArray9558[NodederUtil.anInt6637]) + 1]; + GlTexture.anInt8550 = 0; + Component239.anInt4559 = 0; + Component208.setEnumCacheStore(class45, (byte) -107); + Component245.method172(30284, class45); } static final void method4012(byte[] is, byte i) { anInt4605++; - Class348_Sub49 class348_sub49 = new Class348_Sub49(is); + Buffer class348_sub49 = new Buffer(is); int i_7_ = -91 % ((i - -51) / 42); boolean bool = false; for (; ; ) { int i_8_ = class348_sub49.readUnsignedByte(255); if (i_8_ == 0) break; if (i_8_ == 1) { - if (Class118.anIntArray1786 == null) { - Class118.anIntArray1786 = new int[4]; - Class132.anInt1905 = 4; - Class106.anIntArray1636 = new int[4]; + if (Component151.anIntArray1786 == null) { + Component151.anIntArray1786 = new int[4]; + Component72.anInt1905 = 4; + KeyStoreLoader.anIntArray1636 = new int[4]; } - for (int i_9_ = 0; i_9_ < Class118.anIntArray1786.length; i_9_++) { - Class118.anIntArray1786[i_9_] = class348_sub49.readShort(13638); - Class106.anIntArray1636[i_9_] = class348_sub49.readShort(13638); + for (int i_9_ = 0; i_9_ < Component151.anIntArray1786.length; i_9_++) { + Component151.anIntArray1786[i_9_] = class348_sub49.readShort(13638); + KeyStoreLoader.anIntArray1636[i_9_] = class348_sub49.readShort(13638); } bool = true; } else if (i_8_ != 2) { if (i_8_ == 3) { - Class132.anInt1905 = class348_sub49.readUnsignedByte(255); - Class118.anIntArray1786 = new int[Class132.anInt1905]; - Class106.anIntArray1636 = new int[Class132.anInt1905]; + Component72.anInt1905 = class348_sub49.readUnsignedByte(255); + Component151.anIntArray1786 = new int[Component72.anInt1905]; + KeyStoreLoader.anIntArray1636 = new int[Component72.anInt1905]; } - } else Class348_Sub31.anInt6923 = class348_sub49.readUnsignedShort(842397944); + } else Sprite.anInt6923 = class348_sub49.readUnsignedShort(842397944); } if (!bool) { - if (Class118.anIntArray1786 == null) { - Class118.anIntArray1786 = new int[4]; - Class106.anIntArray1636 = new int[4]; - Class132.anInt1905 = 4; + if (Component151.anIntArray1786 == null) { + Component151.anIntArray1786 = new int[4]; + KeyStoreLoader.anIntArray1636 = new int[4]; + Component72.anInt1905 = 4; } - for (int i_10_ = 0; i_10_ < Class118.anIntArray1786.length; i_10_++) { - Class118.anIntArray1786[i_10_] = 0; - Class106.anIntArray1636[i_10_] = i_10_ * 20; + for (int i_10_ = 0; i_10_ < Component151.anIntArray1786.length; i_10_++) { + Component151.anIntArray1786[i_10_] = 0; + KeyStoreLoader.anIntArray1636[i_10_] = i_10_ * 20; } } } @@ -103,6 +105,6 @@ static final void method4012(byte[] is, byte i) { anInt4596 = -1; aFloatArray4602 = new float[4]; aBoolean4604 = false; - aClass351_4601 = new Class351(65, 3); + aClass351_4601 = new StringCache(65, 3); } } diff --git a/client/src/Task.java b/client/src/Task.java new file mode 100644 index 000000000..ecbfd5d34 --- /dev/null +++ b/client/src/Task.java @@ -0,0 +1,27 @@ +/* Task - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from {@code Class144} (JODE-obfuscated). + * Async work item for {@link ReflectionInvoker}. + * {@link #status}: 0=pending, 1=ok, 2=error. {@link #opcode} selects the worker action; + * {@link #argument}/{@link #intArg0}/{@link #intArg1} are payload; {@link #result} is the outcome. + */ + +public class Task { + /** Worker opcode (1=socket, 2=thread, 4=URL, 8=getMethod, …). */ + int opcode; + /** Next queued task. */ + Task next; + /** Primary argument (host, Runnable, URL, Object[], …). */ + Object argument; + /** 0=pending, 1=success, 2=failure. */ + public volatile int status = 0; + /** Result object, or error message on failure. */ + public volatile Object result; + /** Packed secondary ints (e.g. display mode bits). */ + int intArg0; + /** Packed tertiary ints (e.g. port, thread priority). */ + public int intArg1; +} diff --git a/client/src/TeleportHandler.java b/client/src/TeleportHandler.java new file mode 100644 index 000000000..3fa6d64cd --- /dev/null +++ b/client/src/TeleportHandler.java @@ -0,0 +1,792 @@ +/* TeleportHandler - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class361` (JODE-obfuscated). + * Teleport handler. Processes 'tele ' commands/requests to move the player to a target location. + */ + +final class TeleportHandler { + static int anInt4431; + static int anInt4432; + static Component183 aClass114_4433 = new Component183(22, 0); + static int anInt4434; + static int anInt4435; + static int anInt4436; + int anInt4437; + int[][] anIntArrayArray4438; + static int anInt4439; + static int anInt4440; + int anInt4441; + static int anInt4442; + int anInt4443; + static int anInt4444; + static int anInt4445; + static int anInt4446; + static int anInt4447; + static int anInt4448; + static int anInt4449; + static int anInt4450; + static int anInt4451; + static int anInt4452; + int anInt4453; + static int anInt4454; + static float aFloat4455; + + private final void method3493(int i, int i_0_, int i_1_, int i_2_) { + this.anIntArrayArray4438[i_1_][i_2_] = GpsOverlay.bitwiseAnd((this.anIntArrayArray4438[i_1_][i_2_]), ~i); + if (i_0_ > -120) method3509(-18, true, false, 122, 119, -54, 18, -57); + anInt4452++; + } + + private final void method3494(int i, int i_3_, int i_4_, int i_5_) { + this.anIntArrayArray4438[i][i_4_] = Component224.bitwiseOr((this.anIntArrayArray4438[i][i_4_]), i_3_); + if (i_5_ != -6496) method3494(20, -107, -63, 115); + anInt4448++; + } + + final boolean method3495(int i, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_, int i_12_) { + anInt4440++; + int i_13_ = 64 % ((-11 - i_12_) / 37); + if (i_7_ == 1) { + if (i_9_ == i && i_10_ == i_6_) return true; + } else if (i >= i_9_ && -1 + i_9_ + i_7_ >= i && i_10_ >= i_10_ && i_10_ <= -1 + (i_7_ + i_10_)) return true; + i_10_ -= this.anInt4441; + i_6_ -= this.anInt4441; + i -= this.anInt4453; + i_9_ -= this.anInt4453; + if (i_7_ == 1) { + if (i_11_ == 0) { + if (i_8_ == 0) { + if (i_9_ == -1 + i && i_6_ == i_10_) return true; + if (i == i_9_ && i_10_ - -1 == i_6_ && (0x2c0120 & (this.anIntArrayArray4438[i_9_][i_6_])) == 0) return true; + if (i == i_9_ && i_6_ == -1 + i_10_ && (0x2c0102 & (this.anIntArrayArray4438[i_9_][i_6_])) == 0) return true; + } else if (i_8_ == 1) { + if (i_9_ == i && i_10_ - -1 == i_6_) return true; + if (i + -1 == i_9_ && i_10_ == i_6_ && ((this.anIntArrayArray4438[i_9_][i_6_]) & 0x2c0108) == 0) return true; + if (i + 1 == i_9_ && i_10_ == i_6_ && (0x2c0180 & (this.anIntArrayArray4438[i_9_][i_6_])) == 0) return true; + } else if (i_8_ == 2) { + if (i + 1 == i_9_ && i_10_ == i_6_) return true; + if (i_9_ == i && 1 + i_10_ == i_6_ && ((this.anIntArrayArray4438[i_9_][i_6_]) & 0x2c0120) == 0) return true; + if (i_9_ == i && i_10_ + -1 == i_6_ && (0x2c0102 & (this.anIntArrayArray4438[i_9_][i_6_])) == 0) return true; + } else if (i_8_ == 3) { + if (i_9_ == i && -1 + i_10_ == i_6_) return true; + if (i + -1 == i_9_ && i_10_ == i_6_ && ((this.anIntArrayArray4438[i_9_][i_6_]) & 0x2c0108) == 0) return true; + if (i_9_ == 1 + i && i_10_ == i_6_ && ((this.anIntArrayArray4438[i_9_][i_6_]) & 0x2c0180) == 0) return true; + } + } + if (i_11_ == 2) { + if (i_8_ == 0) { + if (-1 + i == i_9_ && i_6_ == i_10_) return true; + if (i == i_9_ && i_6_ == i_10_ - -1) return true; + if (i + 1 == i_9_ && i_10_ == i_6_ && (0x2c0180 & (this.anIntArrayArray4438[i_9_][i_6_])) == 0) return true; + if (i == i_9_ && i_6_ == i_10_ - 1 && (0x2c0102 & (this.anIntArrayArray4438[i_9_][i_6_])) == 0) return true; + } else if (i_8_ == 1) { + if (i_9_ == -1 + i && i_10_ == i_6_ && (0x2c0108 & (this.anIntArrayArray4438[i_9_][i_6_])) == 0) return true; + if (i == i_9_ && i_10_ + 1 == i_6_) return true; + if (i_9_ == i - -1 && i_10_ == i_6_) return true; + if (i == i_9_ && i_10_ - 1 == i_6_ && ((this.anIntArrayArray4438[i_9_][i_6_]) & 0x2c0102) == 0) return true; + } else if (i_8_ == 2) { + if (i - 1 == i_9_ && i_10_ == i_6_ && (0x2c0108 & (this.anIntArrayArray4438[i_9_][i_6_])) == 0) return true; + if (i_9_ == i && i_10_ + 1 == i_6_ && (0x2c0120 & (this.anIntArrayArray4438[i_9_][i_6_])) == 0) return true; + if (i_9_ == i + 1 && i_10_ == i_6_) return true; + if (i_9_ == i && -1 + i_10_ == i_6_) return true; + } else if (i_8_ == 3) { + if (i + -1 == i_9_ && i_6_ == i_10_) return true; + if (i_9_ == i && 1 + i_10_ == i_6_ && (0x2c0120 & (this.anIntArrayArray4438[i_9_][i_6_])) == 0) return true; + if (1 + i == i_9_ && i_6_ == i_10_ && ((this.anIntArrayArray4438[i_9_][i_6_]) & 0x2c0180) == 0) return true; + if (i == i_9_ && (i_6_ == i_10_ + -1)) return true; + } + } + if (i_11_ == 9) { + if (i_9_ == i && i_6_ == 1 + i_10_ && ((0x20 & this.anIntArrayArray4438[i_9_][i_6_]) == 0)) return true; + if (i == i_9_ && -1 + i_10_ == i_6_ && ((0x2 & this.anIntArrayArray4438[i_9_][i_6_]) == 0)) return true; + if (-1 + i == i_9_ && i_6_ == i_10_ && ((0x8 & this.anIntArrayArray4438[i_9_][i_6_]) == 0)) return true; + return i_9_ == 1 + i && i_10_ == i_6_ && (this.anIntArrayArray4438[i_9_][i_6_] & 0x80) == 0; + } + } else { + int i_14_ = -1 + (i_7_ + i_9_); + int i_15_ = -1 + i_7_ + i_6_; + if (i_11_ == 0) { + if (i_8_ == 0) { + if (-i_7_ + i == i_9_ && i_6_ <= i_10_ && i_10_ <= i_15_) return true; + if (i_9_ <= i && i <= i_14_ && i_10_ + 1 == i_6_ && (this.anIntArrayArray4438[i][i_6_] & 0x2c0120) == 0) return true; + if (i_9_ <= i && i_14_ >= i && i_6_ == -i_7_ + i_10_ && (this.anIntArrayArray4438[i][i_15_] & 0x2c0102) == 0) return true; + } else if (i_8_ == 1) { + if (i >= i_9_ && i <= i_14_ && i_10_ - -1 == i_6_) return true; + if (i + -i_7_ == i_9_ && i_6_ <= i_10_ && i_15_ >= i_10_ && (0x2c0108 & (this.anIntArrayArray4438[i_14_][i_10_])) == 0) return true; + if (1 + i == i_9_ && i_6_ <= i_10_ && i_15_ >= i_10_ && (0x2c0180 & (this.anIntArrayArray4438[i_9_][i_10_])) == 0) return true; + } else if (i_8_ == 2) { + if (i_9_ == 1 + i && i_6_ <= i_10_ && i_15_ >= i_10_) return true; + if (i >= i_9_ && i <= i_14_ && i_10_ - -1 == i_6_ && (this.anIntArrayArray4438[i][i_6_] & 0x2c0120) == 0) return true; + if (i >= i_9_ && i_14_ >= i && -i_7_ + i_10_ == i_6_ && ((this.anIntArrayArray4438[i][i_15_]) & 0x2c0102) == 0) return true; + } else if (i_8_ == 3) { + if (i_9_ <= i && i_14_ >= i && i_10_ + -i_7_ == i_6_) return true; + if (i - i_7_ == i_9_ && i_10_ >= i_6_ && i_10_ <= i_15_ && ((this.anIntArrayArray4438[i_14_][i_10_]) & 0x2c0108) == 0) return true; + if (i_9_ == 1 + i && i_6_ <= i_10_ && i_10_ <= i_15_ && (0x2c0180 & (this.anIntArrayArray4438[i_9_][i_10_])) == 0) return true; + } + } + if (i_11_ == 2) { + if (i_8_ == 0) { + if (i - i_7_ == i_9_ && i_6_ <= i_10_ && i_10_ <= i_15_) return true; + if (i_9_ <= i && i <= i_14_ && i_6_ == 1 + i_10_) return true; + if (i_9_ == i + 1 && i_10_ >= i_6_ && i_10_ <= i_15_ && (0x2c0180 & (this.anIntArrayArray4438[i_9_][i_10_])) == 0) return true; + if (i >= i_9_ && i <= i_14_ && -i_7_ + i_10_ == i_6_ && (this.anIntArrayArray4438[i][i_15_] & 0x2c0102) == 0) return true; + } else if (i_8_ == 1) { + if (i_9_ == -i_7_ + i && i_6_ <= i_10_ && i_15_ >= i_10_ && (0x2c0108 & (this.anIntArrayArray4438[i_14_][i_10_])) == 0) return true; + if (i >= i_9_ && i <= i_14_ && i_6_ == i_10_ + 1) return true; + if (1 + i == i_9_ && i_10_ >= i_6_ && i_10_ <= i_15_) return true; + if (i_9_ <= i && i <= i_14_ && -i_7_ + i_10_ == i_6_ && (this.anIntArrayArray4438[i][i_15_] & 0x2c0102) == 0) return true; + } else if (i_8_ == 2) { + if (i_9_ == i - i_7_ && i_6_ <= i_10_ && i_10_ <= i_15_ && (0x2c0108 & (this.anIntArrayArray4438[i_14_][i_10_])) == 0) return true; + if (i >= i_9_ && i_14_ >= i && 1 + i_10_ == i_6_ && (this.anIntArrayArray4438[i][i_6_] & 0x2c0120) == 0) return true; + if (i - -1 == i_9_ && i_6_ <= i_10_ && i_15_ >= i_10_) return true; + if (i >= i_9_ && i <= i_14_ && -i_7_ + i_10_ == i_6_) return true; + } else if (i_8_ == 3) { + if (i_9_ == i + -i_7_ && i_6_ <= i_10_ && i_10_ <= i_15_) return true; + if (i >= i_9_ && i_14_ >= i && i_6_ == i_10_ + 1 && (this.anIntArrayArray4438[i][i_6_] & 0x2c0120) == 0) return true; + if (i_9_ == i + 1 && i_10_ >= i_6_ && i_10_ <= i_15_ && ((this.anIntArrayArray4438[i_9_][i_10_]) & 0x2c0180) == 0) return true; + if (i >= i_9_ && i <= i_14_ && i_6_ == i_10_ + -i_7_) return true; + } + } + if (i_11_ == 9) { + if (i >= i_9_ && i <= i_14_ && i_10_ - -1 == i_6_ && (this.anIntArrayArray4438[i][i_6_] & 0x2c0120) == 0) return true; + if (i_9_ <= i && i_14_ >= i && i_10_ + -i_7_ == i_6_ && (this.anIntArrayArray4438[i][i_15_] & 0x2c0102) == 0) return true; + if (-i_7_ + i == i_9_ && i_10_ >= i_6_ && i_10_ <= i_15_ && (0x2c0108 & this.anIntArrayArray4438[i_14_][i_10_]) == 0) return true; + return i_9_ == i - -1 && i_10_ >= i_6_ && i_10_ <= i_15_ && ((0x2c0180 & this.anIntArrayArray4438[i_9_][i_10_]) == 0); + } + } + return false; + } + + final void method3496(int i, int i_16_, int i_17_) { + i -= this.anInt4441; + if (i_17_ != 1) method3510(113, 9, 32, -49, -123, false, false); + anInt4444++; + i_16_ -= this.anInt4453; + this.anIntArrayArray4438[i_16_][i] = Component224.bitwiseOr((this.anIntArrayArray4438[i_16_][i]), 262144); + } + + final boolean method3497(int i, int i_18_, int i_19_, int i_20_, int i_21_, int i_22_, int i_23_, int i_24_, int i_25_, int i_26_) { + if (i != -28388) method3504(-75, -117, 49, -113, 42, -115, 105, -59); + anInt4449++; + int i_27_ = i_22_ - -i_20_; + int i_28_ = i_23_ + i_24_; + int i_29_ = i_18_ - -i_26_; + int i_30_ = i_25_ - -i_21_; + if (i_29_ == i_22_ && (i_19_ & 0x2) == 0) { + int i_31_ = Math.max(i_25_, i_24_); + for (int i_32_ = (Math.min(i_28_, i_30_)); i_32_ > i_31_; i_31_++) { + if (((this.anIntArrayArray4438[-this.anInt4453 + (i_29_ - 1)][i_31_ - this.anInt4441]) & 0x8) == 0) return true; + } + } else if (i_18_ == i_27_ && (0x8 & i_19_) == 0) { + int i_33_ = Math.max(i_25_, i_24_); + for (int i_34_ = (Math.min(i_30_, i_28_)); i_33_ < i_34_; i_33_++) { + if (((this.anIntArrayArray4438[-this.anInt4453 + i_18_][-this.anInt4441 + i_33_]) & 0x80) == 0) return true; + } + } else if (i_30_ == i_24_ && (i_19_ & 0x1) == 0) { + int i_35_ = Math.max(i_18_, i_22_); + for (int i_36_ = Math.min(i_27_, i_29_); i_36_ > i_35_; i_35_++) { + if ((0x2 & (this.anIntArrayArray4438[i_35_ + -this.anInt4453][-this.anInt4441 + -1 + i_30_])) == 0) return true; + } + } else if (i_25_ == i_28_ && (i_19_ & 0x4) == 0) { + int i_37_ = Math.max(i_22_, i_18_); + for (int i_38_ = Math.min(i_27_, i_29_); i_38_ > i_37_; i_37_++) { + if (((this.anIntArrayArray4438[i_37_ + -this.anInt4453][i_25_ - this.anInt4441]) & 0x20) == 0) return true; + } + } + return false; + } + + static final void method3498(int i, GraphicsToolkit var_ha, int i_39_, int i_40_, boolean bool, int i_41_) { + do { + try { + anInt4442++; + var_ha.KA(i_39_, i_41_, i_40_ + i_39_, i_41_ + i); + var_ha.method3675(i_40_, (byte) -125, i_39_, i_41_, i, -16777216); + if (Node.anInt4290 >= 100) { + float f = ((float) DisplayModeManagerContainer229.anInt1267 / (float) DisplayModeManagerContainer229.anInt1259); + int i_42_ = i_40_; + int i_43_ = i; + if (!(f < 1.0F)) i_42_ = (int) ((float) i / f); + else i_43_ = (int) ((float) i_40_ * f); + i_41_ += (-i_43_ + i) / 2; + i_39_ += (i_40_ + -i_42_) / 2; + if (VideoAdPlayer.aClass105_4643 == null || i_40_ != VideoAdPlayer.aClass105_4643.method971() || (VideoAdPlayer.aClass105_4643.method969() != i)) { + DisplayModeManagerContainer229.method751(DisplayModeManagerContainer229.anInt1266, (DisplayModeManagerContainer229.anInt1267 + DisplayModeManagerContainer229.anInt1263), (DisplayModeManagerContainer229.anInt1266 - -DisplayModeManagerContainer229.anInt1259), DisplayModeManagerContainer229.anInt1263, i_39_, i_41_, i_42_ + i_39_, i_43_ + i_41_); + DisplayModeManagerContainer229.method748(var_ha); + VideoAdPlayer.aClass105_4643 = var_ha.method3683(i_39_, i_41_, i_42_, i_43_, false); + } + VideoAdPlayer.aClass105_4643.method974(i_39_, i_41_); + int i_44_ = Component361.anInt370 * i_42_ / DisplayModeManagerContainer229.anInt1259; + int i_45_ = i_43_ * Component280.anInt2446 / DisplayModeManagerContainer229.anInt1267; + int i_46_ = i_39_ - -(i_42_ * Component63.anInt4509 / DisplayModeManagerContainer229.anInt1259); + if (bool != true) method3498(44, null, -27, -91, true, -26); + int i_47_ = (-i_45_ + i_41_ - (-i_43_ + (i_43_ * DisplayModeManagerContainer34.anInt8665 / DisplayModeManagerContainer229.anInt1267))); + int i_48_ = -1996554240; + if (WorldNameText.STELLARDAWN == PacketReader.currentGameType) i_48_ = -1996488705; + var_ha.fillRect(i_46_, i_47_, i_44_, i_45_, i_48_, 1); + var_ha.method3628(i_46_, i_47_, i_44_, i_45_, i_48_, 0); + if (WaterShader.anInt7379 <= 0) break; + int i_49_; + if (LoadingManager.anInt2173 <= 50) i_49_ = LoadingManager.anInt2173 * 5; + else i_49_ = -(5 * LoadingManager.anInt2173) + 500; + for (NodeSub21 class348_sub21 = ((NodeSub21) DisplayModeManagerContainer229.aClass262_1254.first(4)); class348_sub21 != null; class348_sub21 = (NodeSub21) DisplayModeManagerContainer229.aClass262_1254.next((byte) 126)) { + Component274 class42 = (DisplayModeManagerContainer229.aClass153_1238.method1225(class348_sub21.anInt6847, (byte) 71)); + if (NodeCache.method589(class42, -4)) { + if (DefinitionSub30.anInt9399 == (class348_sub21.anInt6847)) { + int i_50_ = (i_39_ + (i_42_ * (class348_sub21.anInt6852) / DisplayModeManagerContainer229.anInt1259)); + int i_51_ = (((DisplayModeManagerContainer229.anInt1267 - (class348_sub21.anInt6851)) * i_43_ / DisplayModeManagerContainer229.anInt1267) + i_41_); + var_ha.method3675(4, (byte) -125, i_50_ - 2, -2 + i_51_, 4, (i_49_ << 24 | 0xffff00)); + } else if (Component225.anInt481 != -1 && (class42.anInt596 == Component225.anInt481)) { + int i_52_ = (i_39_ - -((class348_sub21.anInt6852) * i_42_ / DisplayModeManagerContainer229.anInt1259)); + int i_53_ = i_41_ - -(i_43_ * (DisplayModeManagerContainer229.anInt1267 + -(class348_sub21.anInt6851)) / DisplayModeManagerContainer229.anInt1267); + var_ha.method3675(4, (byte) -125, i_52_ + -2, -2 + i_53_, 4, (i_49_ << 24 | 0xffff00)); + } + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("fe.E(" + i + ',' + (var_ha != null ? "{...}" : "null") + ',' + i_39_ + ',' + i_40_ + ',' + bool + ',' + i_41_ + ')')); + } + break; + } while (false); + } + + final void method3499(byte i, int i_54_, int i_55_) { + i_55_ -= this.anInt4441; + i_54_ -= this.anInt4453; + anInt4446++; + if (i == -52) this.anIntArrayArray4438[i_54_][i_55_] = GpsOverlay.bitwiseAnd((this.anIntArrayArray4438[i_54_][i_55_]), -262145); + } + + final void method3500(int i) { + int i_56_ = 0; + if (i != 700) method3509(120, true, false, 4, -12, 14, -33, -109); + for (/**/; i_56_ < this.anInt4437; i_56_++) { + for (int i_57_ = 0; this.anInt4443 > i_57_; i_57_++) { + if (i_56_ != 0 && i_57_ != 0 && i_56_ < this.anInt4437 + -5 && (i_57_ < -5 + this.anInt4443)) this.anIntArrayArray4438[i_56_][i_57_] = 2097152; + else this.anIntArrayArray4438[i_56_][i_57_] = -1; + } + } + anInt4451++; + } + + final void method3501(byte i, int i_58_, int i_59_) { + i_59_ -= this.anInt4453; + anInt4447++; + i_58_ -= this.anInt4441; + int i_60_ = -79 % ((i - 66) / 39); + this.anIntArrayArray4438[i_59_][i_58_] = GpsOverlay.bitwiseAnd((this.anIntArrayArray4438[i_59_][i_58_]), -2097153); + } + + static final void method3502(int i, int i_61_, int i_62_, int i_63_) { + anInt4439++; + String string = ("tele " + i_62_ + "," + (i_63_ >> 6) + "," + (i >> 6) + "," + (0x3f & i_63_) + "," + (0x3f & i)); + if (i_61_ != 2) method3502(-25, -23, 24, 63); + CommandHandler.handleCommand(string, true, false, (byte) -79); + } + + final boolean method3503(int i, byte i_64_, int i_65_, int i_66_, int i_67_, int i_68_, int i_69_, int i_70_, int i_71_) { + anInt4436++; + if (i_66_ > 1) { + if (Component188.method1842(i_68_, i_65_, -1, i_66_, i, i_70_, i_71_, i_66_, i_67_)) return true; + return method3497(-28388, i_71_, i_69_, i_66_, i_67_, i, i_66_, i_70_, i_65_, i_68_); + } + int i_72_ = 64 % ((2 - i_64_) / 45); + int i_73_ = -1 + i_68_ + i_71_; + int i_74_ = i_65_ - (-i_67_ + 1); + if (i >= i_71_ && i_73_ >= i && i_65_ <= i_70_ && i_70_ <= i_74_) return true; + if (-1 + i_71_ == i && i_70_ >= i_65_ && i_70_ <= i_74_ && ((this.anIntArrayArray4438[-this.anInt4453 + i][-this.anInt4441 + i_70_]) & 0x8) == 0 && (i_69_ & 0x8) == 0) return true; + if (1 + i_73_ == i && i_70_ >= i_65_ && i_74_ >= i_70_ && (0x80 & (this.anIntArrayArray4438[-this.anInt4453 + i][i_70_ - this.anInt4441])) == 0 && (0x2 & i_69_) == 0) return true; + if (-1 + i_65_ == i_70_ && i >= i_71_ && i_73_ >= i && ((this.anIntArrayArray4438[i + -this.anInt4453][-this.anInt4441 + i_70_]) & 0x2) == 0 && (i_69_ & 0x4) == 0) return true; + return i_70_ == i_74_ - -1 && i_71_ <= i && i_73_ >= i && (0x20 & (this.anIntArrayArray4438[-this.anInt4453 + i][i_70_ - this.anInt4441])) == 0 && (0x1 & i_69_) == 0; + } + + final boolean method3504(int i, int i_75_, int i_76_, int i_77_, int i_78_, int i_79_, int i_80_, int i_81_) { + anInt4454++; + if (i_79_ != 1) this.anInt4443 = -59; + if (i_81_ != 1) { + if (i_77_ <= i_76_ && -1 + i_81_ + i_77_ >= i_76_ && i <= i && i_81_ + i - 1 >= i) return true; + } else if (i_77_ == i_76_ && i_75_ == i) return true; + i_76_ -= this.anInt4453; + i_77_ -= this.anInt4453; + i -= this.anInt4441; + i_75_ -= this.anInt4441; + if (i_81_ == 1) { + if (i_78_ == 6 || i_78_ == 7) { + if (i_78_ == 7) i_80_ = 2 + i_80_ & 0x3; + if (i_80_ == 0) { + if (i_77_ == 1 + i_76_ && i_75_ == i && (0x80 & (this.anIntArrayArray4438[i_77_][i_75_])) == 0) return true; + if (i_77_ == i_76_ && i_75_ == -1 + i && (0x2 & (this.anIntArrayArray4438[i_77_][i_75_])) == 0) return true; + } else if (i_80_ == 1) { + if (i_76_ + -1 == i_77_ && i == i_75_ && (this.anIntArrayArray4438[i_77_][i_75_] & 0x8) == 0) return true; + if (i_76_ == i_77_ && i - 1 == i_75_ && ((this.anIntArrayArray4438[i_77_][i_75_]) & 0x2) == 0) return true; + } else if (i_80_ == 2) { + if (i_77_ == -1 + i_76_ && i == i_75_ && (0x8 & (this.anIntArrayArray4438[i_77_][i_75_])) == 0) return true; + if (i_76_ == i_77_ && i + 1 == i_75_ && ((this.anIntArrayArray4438[i_77_][i_75_]) & 0x20) == 0) return true; + } else if (i_80_ == 3) { + if (i_76_ - -1 == i_77_ && i_75_ == i && (this.anIntArrayArray4438[i_77_][i_75_] & 0x80) == 0) return true; + if (i_77_ == i_76_ && i + 1 == i_75_ && (0x20 & (this.anIntArrayArray4438[i_77_][i_75_])) == 0) return true; + } + } + if (i_78_ == 8) { + if (i_76_ == i_77_ && 1 + i == i_75_ && (this.anIntArrayArray4438[i_77_][i_75_] & 0x20) == 0) return true; + if (i_76_ == i_77_ && i - 1 == i_75_ && (this.anIntArrayArray4438[i_77_][i_75_] & 0x2) == 0) return true; + if (i_77_ == i_76_ + -1 && i_75_ == i && (this.anIntArrayArray4438[i_77_][i_75_] & 0x8) == 0) return true; + return i_77_ == 1 + i_76_ && i_75_ == i && (this.anIntArrayArray4438[i_77_][i_75_] & 0x80) == 0; + } + } else { + int i_82_ = -1 + (i_81_ + i_77_); + int i_83_ = i_75_ - (-i_81_ - -1); + if (i_78_ == 6 || i_78_ == 7) { + if (i_78_ == 7) i_80_ = 0x3 & 2 + i_80_; + if (i_80_ == 0) { + if (i_77_ == 1 + i_76_ && i_75_ <= i && i <= i_83_ && ((0x80 & this.anIntArrayArray4438[i_77_][i]) == 0)) return true; + if (i_76_ >= i_77_ && i_76_ <= i_82_ && -i_81_ + i == i_75_ && ((this.anIntArrayArray4438[i_76_][i_83_]) & 0x2) == 0) return true; + } else if (i_80_ == 1) { + if (i_77_ == i_76_ + -i_81_ && i >= i_75_ && i <= i_83_ && (this.anIntArrayArray4438[i_82_][i] & 0x8) == 0) return true; + if (i_76_ >= i_77_ && i_76_ <= i_82_ && i_75_ == -i_81_ + i && ((this.anIntArrayArray4438[i_76_][i_83_]) & 0x2) == 0) return true; + } else if (i_80_ == 2) { + if (-i_81_ + i_76_ == i_77_ && i >= i_75_ && i_83_ >= i && ((this.anIntArrayArray4438[i_82_][i]) & 0x8) == 0) return true; + if (i_76_ >= i_77_ && i_76_ <= i_82_ && 1 + i == i_75_ && ((this.anIntArrayArray4438[i_76_][i_75_]) & 0x20) == 0) return true; + } else if (i_80_ == 3) { + if (i_77_ == i_76_ - -1 && i_75_ <= i && i <= i_83_ && (0x80 & (this.anIntArrayArray4438[i_77_][i])) == 0) return true; + if (i_76_ >= i_77_ && i_82_ >= i_76_ && i - -1 == i_75_ && ((this.anIntArrayArray4438[i_76_][i_75_]) & 0x20) == 0) return true; + } + } + if (i_78_ == 8) { + if (i_76_ >= i_77_ && i_82_ >= i_76_ && 1 + i == i_75_ && (0x20 & this.anIntArrayArray4438[i_76_][i_75_]) == 0) return true; + if (i_76_ >= i_77_ && i_76_ <= i_82_ && i_75_ == -i_81_ + i && (0x2 & this.anIntArrayArray4438[i_76_][i_83_]) == 0) return true; + if (i_77_ == i_76_ - i_81_ && i_75_ <= i && i <= i_83_ && ((0x8 & this.anIntArrayArray4438[i_82_][i]) == 0)) return true; + return i_77_ == 1 + i_76_ && i_75_ <= i && i_83_ >= i && ((0x80 & this.anIntArrayArray4438[i_77_][i]) == 0); + } + } + return false; + } + + final void method3505(boolean bool, int i, int i_84_, boolean bool_85_, int i_86_, boolean bool_87_, int i_88_) { + if (bool_85_ != true) this.anInt4453 = 116; + anInt4434++; + int i_89_ = 256; + if (bool_87_) i_89_ |= 0x20000; + i_86_ -= this.anInt4453; + i_84_ -= this.anInt4441; + if (bool) i_89_ |= 0x40000000; + for (int i_90_ = i_86_; i_86_ + i > i_90_; i_90_++) { + if (i_90_ >= 0 && (i_90_ < this.anInt4437)) { + for (int i_91_ = i_84_; i_91_ < i_84_ + i_88_; i_91_++) { + if (i_91_ >= 0 && this.anInt4443 > i_91_) method3494(i_90_, i_89_, i_91_, -6496); + } + } + } + } + + final void method3506(boolean bool, int i, int i_92_, int i_93_, int i_94_, boolean bool_95_, int i_96_) { + anInt4435++; + i_92_ -= this.anInt4453; + if (i_96_ == 29216) { + i_94_ -= this.anInt4441; + if (i_93_ == 0) { + if (i == 0) { + method3493(128, i_96_ ^ ~0x725a, i_92_, i_94_); + method3493(8, i_96_ + -29342, i_92_ + -1, i_94_); + } + if (i == 1) { + method3493(2, -122, i_92_, i_94_); + method3493(32, -124, i_92_, i_94_ + 1); + } + if (i == 2) { + method3493(8, -127, i_92_, i_94_); + method3493(128, -127, 1 + i_92_, i_94_); + } + if (i == 3) { + method3493(32, -125, i_92_, i_94_); + method3493(2, i_96_ ^ ~0x725f, i_92_, i_94_ + -1); + } + } + if (i_93_ == 1 || i_93_ == 3) { + if (i == 0) { + method3493(1, -123, i_92_, i_94_); + method3493(16, -127, -1 + i_92_, i_94_ + 1); + } + if (i == 1) { + method3493(4, -123, i_92_, i_94_); + method3493(64, -128, i_92_ - -1, 1 + i_94_); + } + if (i == 2) { + method3493(16, -122, i_92_, i_94_); + method3493(1, -125, 1 + i_92_, -1 + i_94_); + } + if (i == 3) { + method3493(64, -127, i_92_, i_94_); + method3493(4, i_96_ ^ ~0x725f, -1 + i_92_, -1 + i_94_); + } + } + if (i_93_ == 2) { + if (i == 0) { + method3493(130, -122, i_92_, i_94_); + method3493(8, -123, -1 + i_92_, i_94_); + method3493(32, -124, i_92_, i_94_ + 1); + } + if (i == 1) { + method3493(10, -123, i_92_, i_94_); + method3493(32, -122, i_92_, i_94_ - -1); + method3493(128, -127, i_92_ - -1, i_94_); + } + if (i == 2) { + method3493(40, -122, i_92_, i_94_); + method3493(128, -123, 1 + i_92_, i_94_); + method3493(2, -127, i_92_, i_94_ + -1); + } + if (i == 3) { + method3493(160, -127, i_92_, i_94_); + method3493(2, -128, i_92_, i_94_ - 1); + method3493(8, i_96_ + -29343, -1 + i_92_, i_94_); + } + } + if (bool) { + if (i_93_ == 0) { + if (i == 0) { + method3493(65536, i_96_ ^ ~0x7258, i_92_, i_94_); + method3493(4096, -127, i_92_ - 1, i_94_); + } + if (i == 1) { + method3493(1024, i_96_ ^ ~0x725f, i_92_, i_94_); + method3493(16384, -122, i_92_, 1 + i_94_); + } + if (i == 2) { + method3493(4096, -124, i_92_, i_94_); + method3493(65536, -121, 1 + i_92_, i_94_); + } + if (i == 3) { + method3493(16384, -128, i_92_, i_94_); + method3493(1024, -125, i_92_, i_94_ - 1); + } + } + if (i_93_ == 1 || i_93_ == 3) { + if (i == 0) { + method3493(512, -125, i_92_, i_94_); + method3493(8192, -128, -1 + i_92_, 1 + i_94_); + } + if (i == 1) { + method3493(2048, i_96_ ^ ~0x7258, i_92_, i_94_); + method3493(32768, -128, 1 + i_92_, i_94_ - -1); + } + if (i == 2) { + method3493(8192, -125, i_92_, i_94_); + method3493(512, -123, i_92_ + 1, i_94_ - 1); + } + if (i == 3) { + method3493(32768, i_96_ ^ ~0x7258, i_92_, i_94_); + method3493(2048, -123, i_92_ - 1, i_94_ - 1); + } + } + if (i_93_ == 2) { + if (i == 0) { + method3493(66560, i_96_ + -29342, i_92_, i_94_); + method3493(4096, -121, -1 + i_92_, i_94_); + method3493(16384, -127, i_92_, i_94_ - -1); + } + if (i == 1) { + method3493(5120, -127, i_92_, i_94_); + method3493(16384, -125, i_92_, 1 + i_94_); + method3493(65536, -123, 1 + i_92_, i_94_); + } + if (i == 2) { + method3493(20480, i_96_ + -29339, i_92_, i_94_); + method3493(65536, -124, 1 + i_92_, i_94_); + method3493(1024, -125, i_92_, i_94_ + -1); + } + if (i == 3) { + method3493(81920, -123, i_92_, i_94_); + method3493(1024, i_96_ + -29339, i_92_, -1 + i_94_); + method3493(4096, i_96_ + -29340, i_92_ + -1, i_94_); + } + } + } + if (bool_95_) { + if (i_93_ == 0) { + if (i == 0) { + method3493(536870912, -125, i_92_, i_94_); + method3493(33554432, -128, i_92_ + -1, i_94_); + } + if (i == 1) { + method3493(8388608, i_96_ + -29338, i_92_, i_94_); + method3493(134217728, i_96_ + -29339, i_92_, i_94_ - -1); + } + if (i == 2) { + method3493(33554432, -123, i_92_, i_94_); + method3493(536870912, -122, 1 + i_92_, i_94_); + } + if (i == 3) { + method3493(134217728, -128, i_92_, i_94_); + method3493(8388608, -127, i_92_, -1 + i_94_); + } + } + if (i_93_ == 1 || i_93_ == 3) { + if (i == 0) { + method3493(4194304, -121, i_92_, i_94_); + method3493(67108864, -121, i_92_ + -1, 1 + i_94_); + } + if (i == 1) { + method3493(16777216, -126, i_92_, i_94_); + method3493(268435456, -124, 1 + i_92_, 1 + i_94_); + } + if (i == 2) { + method3493(67108864, -122, i_92_, i_94_); + method3493(4194304, -126, 1 + i_92_, -1 + i_94_); + } + if (i == 3) { + method3493(268435456, -122, i_92_, i_94_); + method3493(16777216, -126, -1 + i_92_, i_94_ + -1); + } + } + if (i_93_ == 2) { + if (i == 0) { + method3493(545259520, -124, i_92_, i_94_); + method3493(33554432, -123, -1 + i_92_, i_94_); + method3493(134217728, -123, i_92_, i_94_ + 1); + } + if (i == 1) { + method3493(41943040, -123, i_92_, i_94_); + method3493(134217728, i_96_ ^ ~0x725f, i_92_, 1 + i_94_); + method3493(536870912, -121, 1 + i_92_, i_94_); + } + if (i == 2) { + method3493(167772160, -127, i_92_, i_94_); + method3493(536870912, -124, 1 + i_92_, i_94_); + method3493(8388608, -128, i_92_, i_94_ - 1); + } + if (i == 3) { + method3493(671088640, -126, i_92_, i_94_); + method3493(8388608, -121, i_92_, i_94_ - 1); + method3493(33554432, -126, i_92_ - 1, i_94_); + } + } + } + } + } + + final void method3507(int i, int i_97_, byte i_98_) { + if (i_98_ > -32) this.anInt4437 = 85; + i -= this.anInt4441; + anInt4431++; + i_97_ -= this.anInt4453; + this.anIntArrayArray4438[i_97_][i] = Component224.bitwiseOr((this.anIntArrayArray4438[i_97_][i]), 2097152); + } + + public static void method3508(int i) { + aClass114_4433 = null; + if (i != 2) aFloat4455 = 0.7198636F; + } + + final void method3509(int i, boolean bool, boolean bool_99_, int i_100_, int i_101_, int i_102_, int i_103_, int i_104_) { + anInt4432++; + if (i_103_ > 52) { + int i_105_ = 256; + if (bool_99_) i_105_ |= 0x20000; + i_100_ -= this.anInt4453; + i_101_ -= this.anInt4441; + if (bool) i_105_ |= 0x40000000; + if (i == 1 || i == 3) { + int i_106_ = i_104_; + i_104_ = i_102_; + i_102_ = i_106_; + } + for (int i_107_ = i_100_; i_107_ < i_104_ + i_100_; i_107_++) { + if (i_107_ >= 0 && i_107_ < this.anInt4437) { + for (int i_108_ = i_101_; (i_101_ + i_102_ > i_108_); i_108_++) { + if (i_108_ >= 0 && this.anInt4443 > i_108_) method3493(i_105_, -122, i_107_, i_108_); + } + } + } + } + } + + final void method3510(int i, int i_109_, int i_110_, int i_111_, int i_112_, boolean bool, boolean bool_113_) { + anInt4445++; + int i_114_ = 49 / ((i_110_ - 6) / 46); + i -= this.anInt4441; + i_109_ -= this.anInt4453; + if (i_111_ == 0) { + if (i_112_ == 0) { + method3494(i_109_, 128, i, -6496); + method3494(-1 + i_109_, 8, i, -6496); + } + if (i_112_ == 1) { + method3494(i_109_, 2, i, -6496); + method3494(i_109_, 32, 1 + i, -6496); + } + if (i_112_ == 2) { + method3494(i_109_, 8, i, -6496); + method3494(i_109_ + 1, 128, i, -6496); + } + if (i_112_ == 3) { + method3494(i_109_, 32, i, -6496); + method3494(i_109_, 2, -1 + i, -6496); + } + } + if (i_111_ == 1 || i_111_ == 3) { + if (i_112_ == 0) { + method3494(i_109_, 1, i, -6496); + method3494(i_109_ - 1, 16, 1 + i, -6496); + } + if (i_112_ == 1) { + method3494(i_109_, 4, i, -6496); + method3494(i_109_ + 1, 64, 1 + i, -6496); + } + if (i_112_ == 2) { + method3494(i_109_, 16, i, -6496); + method3494(1 + i_109_, 1, -1 + i, -6496); + } + if (i_112_ == 3) { + method3494(i_109_, 64, i, -6496); + method3494(i_109_ - 1, 4, -1 + i, -6496); + } + } + if (i_111_ == 2) { + if (i_112_ == 0) { + method3494(i_109_, 130, i, -6496); + method3494(i_109_ - 1, 8, i, -6496); + method3494(i_109_, 32, i + 1, -6496); + } + if (i_112_ == 1) { + method3494(i_109_, 10, i, -6496); + method3494(i_109_, 32, 1 + i, -6496); + method3494(1 + i_109_, 128, i, -6496); + } + if (i_112_ == 2) { + method3494(i_109_, 40, i, -6496); + method3494(i_109_ + 1, 128, i, -6496); + method3494(i_109_, 2, -1 + i, -6496); + } + if (i_112_ == 3) { + method3494(i_109_, 160, i, -6496); + method3494(i_109_, 2, -1 + i, -6496); + method3494(-1 + i_109_, 8, i, -6496); + } + } + if (bool_113_) { + if (i_111_ == 0) { + if (i_112_ == 0) { + method3494(i_109_, 65536, i, -6496); + method3494(i_109_ - 1, 4096, i, -6496); + } + if (i_112_ == 1) { + method3494(i_109_, 1024, i, -6496); + method3494(i_109_, 16384, i + 1, -6496); + } + if (i_112_ == 2) { + method3494(i_109_, 4096, i, -6496); + method3494(i_109_ + 1, 65536, i, -6496); + } + if (i_112_ == 3) { + method3494(i_109_, 16384, i, -6496); + method3494(i_109_, 1024, i - 1, -6496); + } + } + if (i_111_ == 1 || i_111_ == 3) { + if (i_112_ == 0) { + method3494(i_109_, 512, i, -6496); + method3494(-1 + i_109_, 8192, i + 1, -6496); + } + if (i_112_ == 1) { + method3494(i_109_, 2048, i, -6496); + method3494(i_109_ + 1, 32768, i - -1, -6496); + } + if (i_112_ == 2) { + method3494(i_109_, 8192, i, -6496); + method3494(1 + i_109_, 512, i - 1, -6496); + } + if (i_112_ == 3) { + method3494(i_109_, 32768, i, -6496); + method3494(i_109_ + -1, 2048, -1 + i, -6496); + } + } + if (i_111_ == 2) { + if (i_112_ == 0) { + method3494(i_109_, 66560, i, -6496); + method3494(i_109_ + -1, 4096, i, -6496); + method3494(i_109_, 16384, 1 + i, -6496); + } + if (i_112_ == 1) { + method3494(i_109_, 5120, i, -6496); + method3494(i_109_, 16384, i + 1, -6496); + method3494(i_109_ - -1, 65536, i, -6496); + } + if (i_112_ == 2) { + method3494(i_109_, 20480, i, -6496); + method3494(1 + i_109_, 65536, i, -6496); + method3494(i_109_, 1024, -1 + i, -6496); + } + if (i_112_ == 3) { + method3494(i_109_, 81920, i, -6496); + method3494(i_109_, 1024, i - 1, -6496); + method3494(i_109_ + -1, 4096, i, -6496); + } + } + } + if (bool) { + if (i_111_ == 0) { + if (i_112_ == 0) { + method3494(i_109_, 536870912, i, -6496); + method3494(-1 + i_109_, 33554432, i, -6496); + } + if (i_112_ == 1) { + method3494(i_109_, 8388608, i, -6496); + method3494(i_109_, 134217728, i - -1, -6496); + } + if (i_112_ == 2) { + method3494(i_109_, 33554432, i, -6496); + method3494(i_109_ - -1, 536870912, i, -6496); + } + if (i_112_ == 3) { + method3494(i_109_, 134217728, i, -6496); + method3494(i_109_, 8388608, i - 1, -6496); + } + } + if (i_111_ == 1 || i_111_ == 3) { + if (i_112_ == 0) { + method3494(i_109_, 4194304, i, -6496); + method3494(-1 + i_109_, 67108864, i - -1, -6496); + } + if (i_112_ == 1) { + method3494(i_109_, 16777216, i, -6496); + method3494(1 + i_109_, 268435456, 1 + i, -6496); + } + if (i_112_ == 2) { + method3494(i_109_, 67108864, i, -6496); + method3494(1 + i_109_, 4194304, i - 1, -6496); + } + if (i_112_ == 3) { + method3494(i_109_, 268435456, i, -6496); + method3494(i_109_ - 1, 16777216, -1 + i, -6496); + } + } + if (i_111_ == 2) { + if (i_112_ == 0) { + method3494(i_109_, 545259520, i, -6496); + method3494(i_109_ + -1, 33554432, i, -6496); + method3494(i_109_, 134217728, i - -1, -6496); + } + if (i_112_ == 1) { + method3494(i_109_, 41943040, i, -6496); + method3494(i_109_, 134217728, 1 + i, -6496); + method3494(1 + i_109_, 536870912, i, -6496); + } + if (i_112_ == 2) { + method3494(i_109_, 167772160, i, -6496); + method3494(1 + i_109_, 536870912, i, -6496); + method3494(i_109_, 8388608, -1 + i, -6496); + } + if (i_112_ == 3) { + method3494(i_109_, 671088640, i, -6496); + method3494(i_109_, 8388608, i + -1, -6496); + method3494(-1 + i_109_, 33554432, i, -6496); + } + } + } + } +} diff --git a/client/src/a.java b/client/src/a.java deleted file mode 100644 index 8574ab456..000000000 --- a/client/src/a.java +++ /dev/null @@ -1,159 +0,0 @@ -/* a - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class a implements Interface19 { - private final i anI5105; - long nativeid; - private final i anI5106; - private final i anI5107; - private final i anI5108; - private final i anI5109; - private final i anI5110; - private final i anI5111; - Runnable aRunnable5112; - private final i anI5113; - private final i anI5114; - private final oa anOa5115; - private final i anI5116; - - final void method142(s var_s, int i, int i_0_) { - H(this.nativeid, ((t) var_s).nativeid, i, i_0_); - } - - private final native boolean R(long l, long l_1_, int i, int i_2_, long l_3_, boolean bool); - - final boolean method143(Class64 class64, int i, int i_4_, Class101 class101, boolean bool, int i_5_) { - return n(this.nativeid, ((i) class64).nativeid, i, i_4_, ((ja) class101).nativeid, bool, i_5_); - } - - final void method144(Class64 class64, Class64 class64_6_, int i, int i_7_, int i_8_, boolean bool) { - r(this.nativeid, ((i) class64).nativeid, ((i) class64_6_).nativeid, i, i_7_, i_8_, bool); - } - - private final native void E(long l, boolean bool); - - private final native void e(long l, long l_9_, int[] is, long l_10_); - - private final native void W(long l); - - protected final void finalize() { - if (this.nativeid != 0L) Class257.method1947(0, this); - } - - final void method145(Class64 class64, Class101 class101, int[] is, int i) { - UA(this.nativeid, ((i) class64).nativeid, ((ja) class101).nativeid, is, i); - } - - private final native boolean n(long l, long l_11_, int i, int i_12_, long l_13_, boolean bool, int i_14_); - - final boolean method146(Class64 class64, int i, int i_15_, Class101 class101, boolean bool) { - return R(this.nativeid, ((i) class64).nativeid, i, i_15_, ((ja) class101).nativeid, bool); - } - - final void method147(s var_s, int i, int i_16_, int i_17_) { - Z(this.nativeid, ((t) var_s).nativeid, i, i_16_, i_17_); - } - - public final void w(boolean bool) { - E(this.nativeid, bool); - } - - final void method148(s var_s, int i, int i_18_, int i_19_, int i_20_, int i_21_, int i_22_, int i_23_, boolean[][] bools) { - ta(this.nativeid, ((t) var_s).nativeid, i, i_18_, i_19_, i_20_, i_21_, i_22_, i_23_, bools); - } - - final void method149(Class64 class64, Class101 class101, int[] is, int i, int i_24_) { - f(this.nativeid, ((i) class64).nativeid, ((ja) class101).nativeid, is, i, i_24_); - } - - private final native void na(long l, ha var_ha, int i, int i_25_, int i_26_, int i_27_, int i_28_, int i_29_, int i_30_); - - private final native void O(long l, ha var_ha, int[] is, int[] is_31_, int[] is_32_, short[] is_33_, int i); - - final void method150(ha var_ha, int i, int i_34_, int i_35_, int i_36_, int i_37_, int i_38_, int i_39_) { - na(this.nativeid, var_ha, i, i_34_, i_35_, i_36_, i_37_, i_38_, i_39_); - } - - private final native void f(long l, long l_40_, long l_41_, int[] is, int i, int i_42_); - - private final native void r(long l, long l_43_, long l_44_, int i, int i_45_, int i_46_, boolean bool); - - final void method151(Class64 class64, int[] is, Class101 class101) { - e(this.nativeid, ((i) class64).nativeid, is, ((ja) class101).nativeid); - } - - final Class64 method152(i var_i, byte i, int i_47_, boolean bool) { - i var_i_48_; - i var_i_49_; - if (i == 1) { - var_i_48_ = anI5110; - var_i_49_ = anI5106; - } else if (i == 2) { - var_i_48_ = anI5107; - var_i_49_ = anI5111; - } else if (i == 3) { - var_i_48_ = anI5109; - var_i_49_ = anI5108; - } else if (i == 4) { - var_i_48_ = anI5113; - var_i_49_ = anI5116; - } else if (i == 5) { - var_i_48_ = anI5114; - var_i_49_ = anI5105; - } else var_i_49_ = var_i_48_ = new i(anOa5115); - var_i.ZA(var_i_49_, var_i_48_, i_47_, i != 0, bool); - var_i_49_.aClass129Array5119 = var_i.aClass129Array5119; - var_i_49_.aClass342Array5118 = var_i.aClass342Array5118; - return var_i_49_; - } - - private final native void ta(long l, long l_50_, int i, int i_51_, int i_52_, int i_53_, int i_54_, int i_55_, int i_56_, boolean[][] bools); - - private final native void Z(long l, long l_57_, int i, int i_58_, int i_59_); - - private final void method153() { - W(this.nativeid); - } - - final void method154() { - this.aRunnable5112 = Thread.currentThread(); - method157(); - } - - private final native void M(long l); - - private final native void H(long l, long l_60_, int i, int i_61_); - - private final native void UA(long l, long l_62_, long l_63_, int[] is, int i); - - final void method155(ha var_ha, int[] is, int[] is_64_, int[] is_65_, short[] is_66_, int i) { - O(this.nativeid, var_ha, is, is_64_, is_65_, is_66_, i); - } - - private final native void HA(long l, ha var_ha, int i, int i_67_); - - final void method156() { - this.aRunnable5112 = null; - method153(); - } - - private final void method157() { - M(this.nativeid); - } - - a(oa var_oa, int i, int i_68_) { - anOa5115 = var_oa; - anI5106 = new i(anOa5115); - anI5111 = new i(anOa5115); - anI5108 = new i(anOa5115); - anI5116 = new i(anOa5115); - anI5105 = new i(anOa5115); - anI5110 = new i(anOa5115); - anI5107 = new i(anOa5115); - anI5109 = new i(anOa5115); - anI5113 = new i(anOa5115); - anI5114 = new i(anOa5115); - HA(this.nativeid, var_oa, i, i_68_); - } -} diff --git a/client/src/aa.java b/client/src/aa.java deleted file mode 100644 index 6ffade286..000000000 --- a/client/src/aa.java +++ /dev/null @@ -1,71 +0,0 @@ -/* aa - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class aa { - static int anInt113; - static Class144 aClass144_114; - static int anInt115; - - public static void method158(byte i) { - aClass144_114 = null; - int i_0_ = -87 % ((-25 - i) / 41); - } - - static final void method159(int i) { - if (Class260.anInt3312 > 0) { - int i_1_ = 0; - for (int i_2_ = 0; Class286_Sub1.aStringArray6200.length > i_2_; i_2_++) { - if (Class286_Sub1.aStringArray6200[i_2_].indexOf("--> ") != -1 && ++i_1_ == Class260.anInt3312) { - Class363.aString4461 = (Class286_Sub1.aStringArray6200[i_2_].substring(2 + Class286_Sub1.aStringArray6200[i_2_].indexOf(">"))); - break; - } - } - } else Class363.aString4461 = ""; - if (i != -615751774) aClass144_114 = null; - anInt115++; - } - - public aa() { - /* empty */ - } - - static final int method160(int i, int i_3_) { - anInt113++; - double d = (double) (i_3_ >> 16 & 0xff) / 256.0; - double d_4_ = (double) (0xff & i_3_ >> 8) / 256.0; - double d_5_ = (double) (i_3_ & 0xff) / 256.0; - double d_6_ = d; - if (d_4_ < d_6_) d_6_ = d_4_; - if (d_5_ < d_6_) d_6_ = d_5_; - double d_7_ = d; - if (d_4_ > d_7_) d_7_ = d_4_; - if (d_5_ > d_7_) d_7_ = d_5_; - double d_8_ = 0.0; - if (i != 27076) return 85; - double d_9_ = 0.0; - double d_10_ = (d_6_ + d_7_) / 2.0; - if (d_7_ != d_6_) { - if (d_10_ < 0.5) d_9_ = (-d_6_ + d_7_) / (d_6_ + d_7_); - if (d_7_ != d) { - if (d_4_ != d_7_) { - if (d_5_ == d_7_) d_8_ = (-d_4_ + d) / (d_7_ - d_6_) + 4.0; - } else d_8_ = 2.0 + (-d + d_5_) / (d_7_ - d_6_); - } else d_8_ = (-d_5_ + d_4_) / (-d_6_ + d_7_); - if (d_10_ >= 0.5) d_9_ = (-d_6_ + d_7_) / (-d_6_ + (-d_7_ + 2.0)); - } - d_8_ /= 6.0; - int i_11_ = (int) (256.0 * d_8_); - int i_12_ = (int) (256.0 * d_9_); - int i_13_ = (int) (256.0 * d_10_); - if (i_12_ < 0) i_12_ = 0; - else if (i_12_ > 255) i_12_ = 255; - if (i_13_ < 0) i_13_ = 0; - else if (i_13_ > 255) i_13_ = 255; - if (i_13_ > 243) i_12_ >>= 4; - else if (i_13_ > 217) i_12_ >>= 3; - else if (i_13_ > 192) i_12_ >>= 2; - else if (i_13_ > 179) i_12_ >>= 1; - return ((i_13_ >> 1) + ((i_11_ & 0xff) >> 2 << 10) + (i_12_ >> 5 << 7)); - } -} diff --git a/client/src/aa_Sub1.java b/client/src/aa_Sub1.java deleted file mode 100644 index d82cedad7..000000000 --- a/client/src/aa_Sub1.java +++ /dev/null @@ -1,24 +0,0 @@ -/* aa_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class aa_Sub1 extends aa { - static s[] aSArray5191; - static int[] anIntArray5192; - Class258_Sub3_Sub1 aClass258_Sub3_Sub1_5193; - - public static void method161(int i) { - int i_0_ = -70 / ((i - 42) / 48); - aSArray5191 = null; - anIntArray5192 = null; - } - - aa_Sub1(ha_Sub2 var_ha_Sub2, int i, int i_1_, byte[] is) { - try { - this.aClass258_Sub3_Sub1_5193 = Class371.method3583(false, is, 6406, i_1_, var_ha_Sub2, -119, 6406, i); - this.aClass258_Sub3_Sub1_5193.method1965(false, false, 10243); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ag.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_1_ + ',' + (is != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/aa_Sub2.java b/client/src/aa_Sub2.java deleted file mode 100644 index 5b0877d3e..000000000 --- a/client/src/aa_Sub2.java +++ /dev/null @@ -1,82 +0,0 @@ -/* aa_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class aa_Sub2 extends aa { - static int anInt5194; - static int anInt5195; - Interface18_Impl3 anInterface18_Impl3_5196; - static String[] aStringArray5197 = new String[100]; - static int anInt5198; - static Class161 aClass161_5199; - - public static void method162(byte i) { - aStringArray5197 = null; - if (i >= -67) aClass161_5199 = null; - aClass161_5199 = null; - } - - static final int method163(int i) { - anInt5198++; - if (i != 512) method165(122, 62, -125, 72, -74, 116, 43, (byte) 104, 62, -115); - return Class51.aClass311_897.method2325((byte) -98); - } - - static final boolean method164(int i, int i_0_, byte i_1_, int i_2_) { - anInt5195++; - if (!Class348_Sub40_Sub23.aBoolean9307 || !Class23.aBoolean351) return false; - if (Class225.anInt2946 < 100) return false; - int i_3_ = Class354.anIntArrayArrayArray4356[i][i_0_][i_2_]; - if (i_3_ == -Class234.anInt3049) return false; - if (Class234.anInt3049 == i_3_) return true; - if (Class332.aSArray4142 == aa_Sub1.aSArray5191) return false; - int i_4_ = i_0_ << Class362.anInt4459; - int i_5_ = i_2_ << Class362.anInt4459; - if (i_1_ != -97) method163(-4); - if ((Class286_Sub7.method2169(i_4_ - -1, i_4_ - (-Class270.anInt3465 - -1), 1 + i_5_, 1 + i_4_, -1 + (i_5_ - -Class270.anInt3465), aa_Sub1.aSArray5191[i].method3982((byte) -86, 1 + i_2_, i_0_), aa_Sub1.aSArray5191[i].method3982((byte) -86, 1 + i_2_, 1 + i_0_), aa_Sub1.aSArray5191[i].method3982((byte) -86, i_2_, i_0_), -1 + Class270.anInt3465 + i_5_, false)) && (Class286_Sub7.method2169(1 + i_4_, Class270.anInt3465 + (i_4_ + -1), i_5_ + 1, Class270.anInt3465 + (i_4_ - 1), i_5_ + Class270.anInt3465 - 1, aa_Sub1.aSArray5191[i].method3982((byte) -86, i_2_ - -1, 1 + i_0_), aa_Sub1.aSArray5191[i].method3982((byte) -86, i_2_, i_0_ + 1), aa_Sub1.aSArray5191[i].method3982((byte) -86, i_2_, i_0_), 1 + i_5_, false))) { - Class348_Sub23_Sub2.anInt9039++; - Class354.anIntArrayArrayArray4356[i][i_0_][i_2_] = Class234.anInt3049; - return true; - } - Class354.anIntArrayArrayArray4356[i][i_0_][i_2_] = -Class234.anInt3049; - return false; - } - - static final void method165(int i, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_, byte i_12_, int i_13_, int i_14_) { - anInt5194++; - if (i_9_ < 512 || i_11_ < 512 || (-2 + Class367_Sub4.anInt7319) * 512 < i_9_ || (-2 + Class348_Sub40_Sub3.anInt9109) * 512 < i_11_) Class239_Sub21.anIntArray6062[0] = Class239_Sub21.anIntArray6062[1] = -1; - else if (i_12_ >= 22) { - int i_15_ = Class275.method2064(i_9_, i, 11219, i_11_) - i_7_; - if (Class59_Sub1.aBoolean5300) Class107.method1010(false, true); - else { - Class157.aClass101_2123.method891(i_10_, 0, 0); - Class348_Sub8.aHa6654.method3638(Class157.aClass101_2123); - } - if (!Class305.aBoolean3870) Class348_Sub8.aHa6654.da(i_9_, i_15_, i_11_, Class239_Sub21.anIntArray6062); - else Class348_Sub8.aHa6654.HA(i_9_, i_15_, i_11_, Class132.anInt1906, Class239_Sub21.anIntArray6062); - if (Class59_Sub1.aBoolean5300) Class285_Sub1.method2129((byte) 60); - else { - Class157.aClass101_2123.method891(-i_10_, 0, 0); - Class348_Sub8.aHa6654.method3638(Class157.aClass101_2123); - } - } - } - - aa_Sub2(ha_Sub3 var_ha_Sub3, int i, int i_16_, byte[] is) { - try { - this.anInterface18_Impl3_5196 = var_ha_Sub3.method3944(is, i, Class348_Sub40_Sub38.aClass304_9471, 2, false, i_16_); - this.anInterface18_Impl3_5196.method66(false, false, 25688); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("lp.(" + (var_ha_Sub3 != null ? "{...}" : "null") + ',' + i + ',' + i_16_ + ',' + (is != null ? "{...}" : "null") + ')')); - } - } - - aa_Sub2(ha_Sub3 var_ha_Sub3, int i, int i_17_, int[] is) { - try { - this.anInterface18_Impl3_5196 = var_ha_Sub3.method3839(i_17_, i, -15137, false, is); - this.anInterface18_Impl3_5196.method66(false, false, 25688); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("lp.(" + (var_ha_Sub3 != null ? "{...}" : "null") + ',' + i + ',' + i_17_ + ',' + (is != null ? "{...}" : "null") + ')')); - } - } -} diff --git a/client/src/aa_Sub3.java b/client/src/aa_Sub3.java deleted file mode 100644 index bfe2b701d..000000000 --- a/client/src/aa_Sub3.java +++ /dev/null @@ -1,63 +0,0 @@ -/* aa_Sub3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.lang.reflect.Method; - -final class aa_Sub3 extends aa { - static Class351 aClass351_5200 = new Class351(13, 2); - int[] anIntArray5201; - int[] anIntArray5202; - static int anInt5203; - static Class351 aClass351_5204 = new Class351(15, 8); - static int anInt5205; - static Class348_Sub6 aClass348_Sub6_5206 = new Class348_Sub6(0, 0); - static Class45 aClass45_5207; - /*synthetic*/ static Class aClass5208; - - static final boolean method166(byte i, int i_0_, int i_1_) { - if (i < 5) method166((byte) -119, -93, 73); - anInt5203++; - return (i_1_ & 0x800) != 0 && (i_0_ & 0x37) != 0; - } - - public static void method167(int i) { - if (i != 19612) method167(-70); - aClass351_5200 = null; - aClass351_5204 = null; - aClass348_Sub6_5206 = null; - aClass45_5207 = null; - } - - static final void method168(byte i) { - do { - if (!Class348_Sub23_Sub1.aClass297_8992.aBoolean3794) { - try { - try { - Runtime runtime = Runtime.getRuntime(); - Long var_long = runtime.maxMemory(); - Class226.anInt2964 = 1 + (int) (var_long.longValue() / 1048576L); - } catch (Throwable throwable) { - /* empty */ - } - break; - } catch (Exception exception) { - break; - } - } - Class226.anInt2964 = 96; - } while (false); - int i_2_ = 15 % (i / 51); - anInt5205++; - } - - aa_Sub3(int i, int i_3_, int[] is, int[] is_4_) { - try { - this.anIntArray5201 = is; - this.anIntArray5202 = is_4_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("nba.(" + i + ',' + i_3_ + ',' + (is != null ? "{...}" : "null") + ',' + (is_4_ != null ? "{...}" : "null") + ')')); - } - } - -} diff --git a/client/src/ba.java b/client/src/ba.java deleted file mode 100644 index 6ef276e92..000000000 --- a/client/src/ba.java +++ /dev/null @@ -1,17 +0,0 @@ -/* ba - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class ba extends r implements Interface19 { - long nativeid; - - ba(oa var_oa) { - /* empty */ - } - - protected final void finalize() { - if (this.nativeid != 0L) Class257.method1947(0, this); - } - - public final native void w(boolean bool); -} diff --git a/client/src/client.java b/client/src/client.java index 36ba1ba64..f7a0f7f52 100644 --- a/client/src/client.java +++ b/client/src/client.java @@ -24,7 +24,7 @@ public final class client extends Applet_Sub1 { static int anInt5182; static int anInt5183; static int anInt5184; - static Class262 aClass262_5185 = new Class262(); + static NodeList aClass262_5185 = new NodeList(); static int anInt5186; static int anInt5187; static int anInt5188; @@ -33,755 +33,764 @@ public final class client extends Applet_Sub1 { private final void method101(byte i) { anInt5179++; - if (Class348_Sub4.aClass248_6601.anInt3213 > Class239_Sub11.anInt5959) { - Class3.aClass161_125.method1259(0); - Class341.anInt4235 = (Class348_Sub4.aClass248_6601.anInt3213 * 50 + -50) * 5; - if (Class341.anInt4235 > 3000) Class341.anInt4235 = 3000; - if (Class348_Sub4.aClass248_6601.anInt3213 >= 2 && Class348_Sub4.aClass248_6601.anInt3214 == 6) { - this.method82(-80, "js5connect_outofdate"); - Class240.anInt4674 = 14; + if (HardwareProbe.aClass248_6601.errorCount > LibraryCreditsText.anInt5959) { + Component223.aClass161_125.method1259(0); + DisplayModeManagerContainer196.anInt4235 = (HardwareProbe.aClass248_6601.errorCount * 50 + -50) * 5; + if (DisplayModeManagerContainer196.anInt4235 > 3000) DisplayModeManagerContainer196.anInt4235 = 3000; + if (HardwareProbe.aClass248_6601.errorCount >= 2 && HardwareProbe.aClass248_6601.disconnectCode == 6) { + this.reportGameError(-80, "js5connect_outofdate"); + Component49.clientState = 14; return; } - if (Class348_Sub4.aClass248_6601.anInt3213 >= 4 && Class348_Sub4.aClass248_6601.anInt3214 == -1) { - this.method82(81, "js5crc"); - Class240.anInt4674 = 14; + if (HardwareProbe.aClass248_6601.errorCount >= 4 && HardwareProbe.aClass248_6601.disconnectCode == -1) { + this.reportGameError(81, "js5crc"); + Component49.clientState = 14; return; } - if (Class348_Sub4.aClass248_6601.anInt3213 >= 4 && Class139.method1167(Class240.anInt4674, (byte) -81)) { - if (Class348_Sub4.aClass248_6601.anInt3214 != 7 && Class348_Sub4.aClass248_6601.anInt3214 != 9) { - if (Class348_Sub4.aClass248_6601.anInt3214 <= 0) this.method82(72, "js5io"); - else if (Class348_Sub31.aString6926 == null) this.method82(-116, "js5connect"); - else this.method82(113, ("js5proxy_" + Class348_Sub31.aString6926.trim())); - } else this.method82(-93, "js5connect_full"); - Class240.anInt4674 = 14; + if (HardwareProbe.aClass248_6601.errorCount >= 4 && GpsOverlay.method1167(Component49.clientState, (byte) -81)) { + if (HardwareProbe.aClass248_6601.disconnectCode != 7 && HardwareProbe.aClass248_6601.disconnectCode != 9) { + if (HardwareProbe.aClass248_6601.disconnectCode <= 0) this.reportGameError(72, "js5io"); + else if (Sprite.aString6926 == null) this.reportGameError(-116, "js5connect"); + else this.reportGameError(113, ("js5proxy_" + Sprite.aString6926.trim())); + } else this.reportGameError(-93, "js5connect_full"); + Component49.clientState = 14; return; } } - Class239_Sub11.anInt5959 = Class348_Sub4.aClass248_6601.anInt3213; - if (Class341.anInt4235 > 0) Class341.anInt4235--; + LibraryCreditsText.anInt5959 = HardwareProbe.aClass248_6601.errorCount; + if (DisplayModeManagerContainer196.anInt4235 > 0) DisplayModeManagerContainer196.anInt4235--; else { try { - if (Class47.anInt846 == 0) { - aa.aClass144_114 = Class3.aClass161_125.method1262((Class348_Sub23_Sub1.aClass297_8992), (byte) 36); - Class47.anInt846++; + if (DisplayModeManagerContainer32.anInt846 == 0) { + Shader.aClass144_114 = Component223.aClass161_125.method1262((OggUrlStream.aClass297_8992), (byte) 36); + DisplayModeManagerContainer32.anInt846++; } - if (Class47.anInt846 == 1) { - if (aa.aClass144_114.anInt1997 == 2) { - if (aa.aClass144_114.anObject1998 != null) Class348_Sub31.aString6926 = (String) aa.aClass144_114.anObject1998; - method103(1000, (byte) 100); + if (DisplayModeManagerContainer32.anInt846 == 1) { + if (Shader.aClass144_114.status == 2) { + if (Shader.aClass144_114.result != null) Sprite.aString6926 = (String) Shader.aClass144_114.result; + onJs5Failure(1000, (byte) 100); return; } - if (aa.aClass144_114.anInt1997 == 1) Class47.anInt846++; + if (Shader.aClass144_114.status == 1) DisplayModeManagerContainer32.anInt846++; } - if (Class47.anInt846 == 2) { - Class193.aClass202_2589 = new Class202((Socket) aa.aClass144_114.anObject1998, Class348_Sub23_Sub1.aClass297_8992, 25000); - Class348_Sub49 class348_sub49 = new Class348_Sub49(5); - class348_sub49.writeByte(false, (Class178.aClass29_2341.anInt400)); + if (DisplayModeManagerContainer32.anInt846 == 2) { + Component321.aClass202_2589 = new Connection((Socket) Shader.aClass144_114.result, OggUrlStream.aClass297_8992, 25000); + Buffer class348_sub49 = new Buffer(5); + class348_sub49.writeByte(false, (DisplayModeManagerContainer109.aClass29_2341.anInt400)); class348_sub49.writeInt((byte) 103, 634); - Class193.aClass202_2589.method1470((class348_sub49.aByteArray7154), 5, 0, -1); - Class47.anInt846++; - Class45.aLong667 = Class62.method599(-70); + Component321.aClass202_2589.write((class348_sub49.payload), 5, 0, -1); + DisplayModeManagerContainer32.anInt846++; + CacheStore.aLong667 = Component240.currentTimeMillis(-70); } - if (Class47.anInt846 == 3) { - if (Class139.method1167(Class240.anInt4674, (byte) -100) || Class193.aClass202_2589.method1467((byte) 83) > 0) { - int i_0_ = Class193.aClass202_2589.method1473(0); + if (DisplayModeManagerContainer32.anInt846 == 3) { + if (GpsOverlay.method1167(Component49.clientState, (byte) -100) || Component321.aClass202_2589.available((byte) 83) > 0) { + int i_0_ = Component321.aClass202_2589.read(0); if (i_0_ != 0) { - method103(i_0_, (byte) 111); + onJs5Failure(i_0_, (byte) 111); return; } - Class47.anInt846++; - } else if (Class62.method599(-63) - Class45.aLong667 > 30000) { - method103(1001, (byte) 85); + DisplayModeManagerContainer32.anInt846++; + } else if (Component240.currentTimeMillis(-63) - CacheStore.aLong667 > 30000) { + onJs5Failure(1001, (byte) 85); return; } } - if (Class47.anInt846 == 4) { - boolean bool = (Class139.method1167(Class240.anInt4674, (byte) -100) || Class348_Sub42_Sub8.method3196(Class240.anInt4674, -87) || Class340.method2672(Class240.anInt4674, -127)); - Class267[] class267s = Class267.method2029(105); - Class348_Sub49 class348_sub49 = new Class348_Sub49(class267s.length * 4); - Class193.aClass202_2589.method1474(class348_sub49.aByteArray7154, 0, (byte) -72, (class348_sub49.aByteArray7154).length); + if (DisplayModeManagerContainer32.anInt846 == 4) { + boolean bool = (GpsOverlay.method1167(Component49.clientState, (byte) -100) || CacheNode.method3196(Component49.clientState, -87) || CacheFileStore.isReconnectState(Component49.clientState, -127)); + Component119[] class267s = Component119.method2029(105); + Buffer class348_sub49 = new Buffer(class267s.length * 4); + Component321.aClass202_2589.readFully(class348_sub49.payload, 0, (byte) -72, (class348_sub49.payload).length); for (int i_1_ = 0; i_1_ < class267s.length; i_1_++) class267s[i_1_].method2030(1, class348_sub49.readInt((byte) -126)); - Class348_Sub4.aClass248_6601.method1903(false, !bool, Class193.aClass202_2589); - Class47.anInt846 = 0; - aa.aClass144_114 = null; - Class193.aClass202_2589 = null; + HardwareProbe.aClass248_6601.setConnection(false, !bool, Component321.aClass202_2589); + DisplayModeManagerContainer32.anInt846 = 0; + Shader.aClass144_114 = null; + Component321.aClass202_2589 = null; } int i_2_ = 127 / ((1 - i) / 60); } catch (java.io.IOException ioexception) { - method103(1002, (byte) 127); + onJs5Failure(1002, (byte) 127); } } } - final void method92(int i) { - if (Class161.aBoolean2151) Class226.anInt2964 = 64; + /** Bootstrap hosts, client prefs, colour tables, and cache workers for this game type. */ + final void initializeClient(int i) { + if (DisplayModeManagerContainer254.aBoolean2151) Component127.anInt2964 = 64; anInt5177++; Frame frame = new Frame("Jagex"); frame.pack(); frame.dispose(); - Class367_Sub11.method3556(false); - Class39.aClass112_520 = new Class112(Class348_Sub23_Sub1.aClass297_8992); - Class348_Sub4.aClass248_6601 = new Class248(); - Class348_Sub42_Sub12.method3230(new int[]{20, 260}, new int[]{1000, 100}, 0); - if (Class8.aClass364_165 != Class55_Sub1.aClass364_5271) Class308.aByteArrayArray3882 = new byte[50][]; - Class316.aClass348_Sub51_3959 = Class14_Sub3.method247(24916); - if (Class8.aClass364_165 == Class55_Sub1.aClass364_5271) Class135_Sub2.aClass161_4839.aString2147 = this.getCodeBase().getHost(); - else if (Class315.method2354(Class8.aClass364_165, i ^ ~0x7044)) { - Class135_Sub2.aClass161_4839.aString2147 = this.getCodeBase().getHost(); - Class135_Sub2.aClass161_4839.anInt2148 = 40000 - -Class135_Sub2.aClass161_4839.anInt2143; - Class255.aClass161_3285.anInt2148 = Class255.aClass161_3285.anInt2143 + 40000; - Class135_Sub2.aClass161_4839.anInt2138 = 50000 - -Class135_Sub2.aClass161_4839.anInt2143; - Class348_Sub40_Sub35.aClass161_9443.anInt2148 = (Class348_Sub40_Sub35.aClass161_9443.anInt2143 + 40000); - Class255.aClass161_3285.anInt2138 = 50000 - -Class255.aClass161_3285.anInt2143; - Class348_Sub40_Sub35.aClass161_9443.anInt2138 = (Class348_Sub40_Sub35.aClass161_9443.anInt2143 + 50000); - } else if (Class76.aClass364_1279 == Class8.aClass364_165) { - Class135_Sub2.aClass161_4839.aString2147 = "127.0.0.1"; - Class255.aClass161_3285.aString2147 = "127.0.0.1"; - Class135_Sub2.aClass161_4839.anInt2148 = (40000 + Class135_Sub2.aClass161_4839.anInt2143); - Class348_Sub40_Sub35.aClass161_9443.aString2147 = "127.0.0.1"; - Class255.aClass161_3285.anInt2148 = 40000 - -Class255.aClass161_3285.anInt2143; - Class348_Sub40_Sub35.aClass161_9443.anInt2148 = 40000 - -Class348_Sub40_Sub35.aClass161_9443.anInt2143; - Class135_Sub2.aClass161_4839.anInt2138 = (Class135_Sub2.aClass161_4839.anInt2143 + 50000); - Class255.aClass161_3285.anInt2138 = Class255.aClass161_3285.anInt2143 + 50000; - Class348_Sub40_Sub35.aClass161_9443.anInt2138 = 50000 - -Class348_Sub40_Sub35.aClass161_9443.anInt2143; + OpenGlShader.method3556(false); + DisplayModeManagerContainer271.aClass112_520 = new DisplayModeManagerContainer67(OggUrlStream.aClass297_8992); + HardwareProbe.aClass248_6601 = new Component253(); + MenuEntry.initArrayPools(new int[]{20, 260}, new int[]{1000, 100}, 0); + if (DisplayModeManagerContainer345.aClass364_165 != Component326.LIVE) Component17.aByteArrayArray3882 = new byte[50][]; + Component192.aClass348_Sub51_3959 = DisplayModeManagerContainer288.method247(24916); + if (DisplayModeManagerContainer345.aClass364_165 == Component326.LIVE) MenuOpener.aClass161_4839.aString2147 = this.getCodeBase().getHost(); + else if (Component168.method2354(DisplayModeManagerContainer345.aClass364_165, i ^ ~0x7044)) { + MenuOpener.aClass161_4839.aString2147 = this.getCodeBase().getHost(); + MenuOpener.aClass161_4839.anInt2148 = 40000 - -MenuOpener.aClass161_4839.anInt2143; + ItemDefinitionProvider.aClass161_3285.anInt2148 = ItemDefinitionProvider.aClass161_3285.anInt2143 + 40000; + MenuOpener.aClass161_4839.anInt2138 = 50000 - -MenuOpener.aClass161_4839.anInt2143; + DefinitionSub35.aClass161_9443.anInt2148 = (DefinitionSub35.aClass161_9443.anInt2143 + 40000); + ItemDefinitionProvider.aClass161_3285.anInt2138 = 50000 - -ItemDefinitionProvider.aClass161_3285.anInt2143; + DefinitionSub35.aClass161_9443.anInt2138 = (DefinitionSub35.aClass161_9443.anInt2143 + 50000); + } else if (DisplayModeManagerContainer154.LOCAL == DisplayModeManagerContainer345.aClass364_165) { + MenuOpener.aClass161_4839.aString2147 = "127.0.0.1"; + ItemDefinitionProvider.aClass161_3285.aString2147 = "127.0.0.1"; + MenuOpener.aClass161_4839.anInt2148 = (40000 + MenuOpener.aClass161_4839.anInt2143); + DefinitionSub35.aClass161_9443.aString2147 = "127.0.0.1"; + ItemDefinitionProvider.aClass161_3285.anInt2148 = 40000 - -ItemDefinitionProvider.aClass161_3285.anInt2143; + DefinitionSub35.aClass161_9443.anInt2148 = 40000 - -DefinitionSub35.aClass161_9443.anInt2143; + MenuOpener.aClass161_4839.anInt2138 = (MenuOpener.aClass161_4839.anInt2143 + 50000); + ItemDefinitionProvider.aClass161_3285.anInt2138 = ItemDefinitionProvider.aClass161_3285.anInt2143 + 50000; + DefinitionSub35.aClass161_9443.anInt2138 = 50000 - -DefinitionSub35.aClass161_9443.anInt2143; } - Class318_Sub6.aShortArray6428 = Class348_Sub26.aShortArray6889 = Class348_Sub42_Sub3.aShortArray9502 = Class336.aShortArray4172 = new short[256]; - if (Class348_Sub42_Sub8_Sub2.aClass230_10434 == Class10.aClass230_186) RuntimeException_Sub1.aBoolean4599 = false; - if (Class14_Sub4.aClass230_8638 == Class348_Sub42_Sub8_Sub2.aClass230_10434) { - Class116.shiftClick = true; - Class136.aShortArrayArray4791 = Class348_Sub8.aShortArrayArray6664; - Class268.anInt3439 = 16777215; - Class367_Sub2.aShortArrayArrayArray7290 = Class348_Sub51.aShortArrayArrayArray7262; - Class268.anInt3444 = 0; - } else if (Class348_Sub42_Sub8_Sub2.aClass230_10434 == Class239_Sub9.aClass230_5932) { - Class136.aShortArrayArray4791 = Class268.aShortArrayArray3443; - Class367_Sub2.aShortArrayArrayArray7290 = Class318_Sub1_Sub3_Sub3.aShortArrayArrayArray10253; + RenderableSub6.aShortArray6428 = Request.aShortArray6889 = HashNodeSub3.aShortArray9502 = Component226.aShortArray4172 = new short[256]; + if (PacketReader.currentGameType == RunescapeInfo.RUNESCAPE) RuntimeException_Sub1.aBoolean4599 = false; + if (WorldNameText.STELLARDAWN == PacketReader.currentGameType) { + Component262.shiftClick = true; + Component257.aShortArrayArray4791 = NodeSub8.aShortArrayArray6664; + DisplayModeManagerContainer259.anInt3439 = 16777215; + AbstractShaderSub2.aShortArrayArrayArray7290 = NodeSub51.aShortArrayArrayArray7262; + DisplayModeManagerContainer259.anInt3444 = 0; + } else if (PacketReader.currentGameType == Component379.GAME4) { + Component257.aShortArrayArray4791 = DisplayModeManagerContainer259.aShortArrayArray3443; + AbstractShaderSub2.aShortArrayArrayArray7290 = DisplayModeManagerContainer58.aShortArrayArrayArray10253; } else { - Class136.aShortArrayArray4791 = Class348_Sub40_Sub32.aShortArrayArray9424; - Class367_Sub2.aShortArrayArrayArray7290 = Class348_Sub12.aShortArrayArrayArray6736; + Component257.aShortArrayArray4791 = DefinitionSub32.aShortArrayArray9424; + AbstractShaderSub2.aShortArrayArrayArray7290 = NodeSub12.aShortArrayArrayArray6736; } - Class3.aClass161_125 = Class135_Sub2.aClass161_4839; + Component223.aClass161_125 = MenuOpener.aClass161_4839; try { - Class348_Sub40_Sub27.aClipboard9357 = Class79.aClient1367.getToolkit().getSystemClipboard(); + DefinitionSub27.aClipboard9357 = NpcComposition.aClient1367.getToolkit().getSystemClipboard(); } catch (Exception exception) { /* empty */ } - Class182.aClass346_2449 = Class348_Sub3.method2743(Class305.aCanvas3869, (byte) -124); - Class258_Sub4.aClass373_8552 = Class348_Sub18.method2941(Class305.aCanvas3869, 0, true); + Component280.aClass346_2449 = NodeSub3.method2743(DisplayModeManagerContainer50.gameCanvas, (byte) -124); + AbstractGlTextureSub4.mouseHandler = NodeSub18.createMouseHandler(DisplayModeManagerContainer50.gameCanvas, 0, true); try { - if (Class348_Sub23_Sub1.aClass297_8992.aClass234_3785 != null) { - Class299_Sub2.aClass78_6328 = new Class78((Class348_Sub23_Sub1.aClass297_8992.aClass234_3785), 5200, 0); + if (OggUrlStream.aClass297_8992.cacheDat2 != null) { + DisplayModeManagerContainer356.aClass78_6328 = new SeekableFile((OggUrlStream.aClass297_8992.cacheDat2), 5200, 0); for (int i_3_ = 0; i_3_ < 37; i_3_++) - Class100.aClass78Array1579[i_3_] = new Class78((Class348_Sub23_Sub1.aClass297_8992.aClass234Array3795[i_3_]), 6000, 0); - Class235.aClass78_3075 = new Class78((Class348_Sub23_Sub1.aClass297_8992.aClass234_3779), 6000, 0); - Class277.aClass137_3568 = new Class137(255, Class299_Sub2.aClass78_6328, Class235.aClass78_3075, 500000); - Class374.aClass78_4538 = new Class78((Class348_Sub23_Sub1.aClass297_8992.aClass234_3788), 24, 0); - Class348_Sub23_Sub1.aClass297_8992.aClass234_3779 = null; - Class348_Sub23_Sub1.aClass297_8992.aClass234_3785 = null; - Class348_Sub23_Sub1.aClass297_8992.aClass234Array3795 = null; - Class348_Sub23_Sub1.aClass297_8992.aClass234_3788 = null; + Component265.aClass78Array1579[i_3_] = new SeekableFile((OggUrlStream.aClass297_8992.cacheIndexFiles[i_3_]), 6000, 0); + Component366.aClass78_3075 = new SeekableFile((OggUrlStream.aClass297_8992.cacheIdx255), 6000, 0); + Component11.aClass137_3568 = new CacheIndexReader(255, DisplayModeManagerContainer356.aClass78_6328, Component366.aClass78_3075, 500000); + DisplayModeManagerContainer152.aClass78_4538 = new SeekableFile((OggUrlStream.aClass297_8992.randomDat), 24, 0); + OggUrlStream.aClass297_8992.cacheIdx255 = null; + OggUrlStream.aClass297_8992.cacheDat2 = null; + OggUrlStream.aClass297_8992.cacheIndexFiles = null; + OggUrlStream.aClass297_8992.randomDat = null; } } catch (java.io.IOException ioexception) { - Class299_Sub2.aClass78_6328 = null; - Class235.aClass78_3075 = null; - Class374.aClass78_4538 = null; - Class277.aClass137_3568 = null; + DisplayModeManagerContainer356.aClass78_6328 = null; + Component366.aClass78_3075 = null; + DisplayModeManagerContainer152.aClass78_4538 = null; + Component11.aClass137_3568 = null; } - if (Class8.aClass364_165 != Class55_Sub1.aClass364_5271) Class298.aBoolean3811 = true; - Class348_Sub42_Sub16.aString9665 = Class274.aClass274_3495.method2063(Class348_Sub33.anInt6967, 544); + if (DisplayModeManagerContainer345.aClass364_165 != Component326.LIVE) Component10.fpsOverlayEnabled = true; + HashNodeSub16.aString9665 = FriendsIgnoreList.aClass274_3495.getLocalized(ObjectDeserializer.languageId, 544); } - final void method91(byte i) { + /** Null static caches during shutdown. */ + final void cleanup(byte i) { int i_4_ = anInt5190; anInt5181++; method110(31); - Class205.method1497(16384); - Class260.method1979((byte) 125); - Class348_Sub42_Sub15.method3247(-74); - Class274.method2059(i ^ ~0x1f); - Class9.method216(false); - Class267.method2026(23377); - Class31.method328(i ^ 0x6c); - Class219.method1604(11868); - Class157.method1246(-83); - Class348_Sub42.method3161(0); - Class348.method2713(0); - Class107.method1004((byte) 16); - Class356.method3478(false); - Applet_Sub1.method98(i + 32609); - Class241.method1860((byte) -89); - Class231.method1641((byte) 85); - Class101.method906(-31777); - ha.method3680(-24016); - Class348_Sub51.method3430(false); - Class348_Sub4.method2748(-86); - Class170.method1310(true); - Class262.method1994(-13722); - Class202.method1471((byte) 124); - Class248.method1897((byte) 119); - Class112.method1052((byte) -124); - Class340.method2671(0); - Class314_Sub1.method2344(i + -108); - Class45.method390((byte) 10); - Class78.method786((byte) 0); - Class60.method584((byte) 116); - Class261.method1980(i ^ 0xe); - Class166.method1284(-21165); - Class268.method2036((byte) 121); - Class183.method1378(14); - Class150.method1208(55); - Class271.method2045((byte) 62); - Class185.method1395((byte) 82); - Class263.method2011((byte) -71); - Class141.method1179((byte) -124); - Class255.method1931(true); - Class187.method1407((byte) 124); - Class84.method825(i + -204); - Class25.method305((byte) 79); - Class319.method2545(true); - Class65.method698(i + -106); - Class82.method811((byte) -123); - Class259.method1975((byte) -15); - Class194.method1441((byte) 18); - Class217.method1585(-1); - Class226.method1624(28962); - Class355.method3473(12949); - Class238.method1704((byte) -95); - Class77.method782(1); - Class348_Sub49_Sub2.method3414(21515); - Class169.method1300((byte) -128); - Class348_Sub26.method2998((byte) -35); - Class361.method3508(2); - Class237_Sub1.method1698(1); - Class348_Sub42_Sub14.method3237((byte) 42); - Class252.method1917(40960); - Class305.method2294(126); - Class243.method1873((byte) -120); - Class46.method442((byte) -84); - Class57.method530(14); + Component275.method1497(16384); + Component92.method1979((byte) 125); + RSARequest.method3247(-74); + FriendsIgnoreList.clearStatics(i ^ ~0x1f); + JaclibLoader.clearStatics(false); + Component119.method2026(23377); + Component82.method328(i ^ 0x6c); + Component386.method1604(11868); + Component270.method1246(-83); + HashNode.method3161(0); + Node.method2713(0); + HashTable.method1004((byte) 16); + LruCache.method3478(false); + Applet_Sub1.clearStatics(i + 32609); + Component41.method1860((byte) -89); + BuildType.method1641((byte) 85); + DisplayModeManagerContainer204.method906(-31777); + GraphicsToolkit.method3680(-24016); + NodeSub51.method3430(false); + HardwareProbe.method2748(-86); + DisplayModeManagerContainer292.method1310(true); + NodeList.method1994(-13722); + Connection.method1471((byte) 124); + Component253.clearStatics((byte) 119); + DisplayModeManagerContainer67.clearStatics((byte) -124); + CacheFileStore.clearStatics(0); + Component219.clearStatics(i + -108); + CacheStore.clearStatics((byte) 10); + SeekableFile.method786((byte) 0); + NodeCache.method584((byte) 116); + DisplayModeManagerContainer1.clearStatics(i ^ 0xe); + Component290.method1284(-21165); + DisplayModeManagerContainer259.method2036((byte) 121); + Component191.method1378(14); + Component324.method1208(55); + DisplayModeManagerContainer130.method2045((byte) 62); + Component316.method1395((byte) 82); + Component309.method2011((byte) -71); + Component258.method1179((byte) -124); + ItemDefinitionProvider.method1931(true); + Component38.method1407((byte) 124); + DisplayModeManagerContainer26.method825(i + -204); + Component361.method305((byte) 79); + Component144.method2545(true); + Component304.method698(i + -106); + CommandHandler.clearStatics((byte) -123); + Component293.method1975((byte) -15); + Component276.method1441((byte) 18); + Component46.method1585(-1); + Component127.method1624(28962); + Component117.method3473(12949); + SocketStream.method1704((byte) -95); + DisplayModeManagerContainer123.method782(1); + DisplayModeManagerContainer207.method3414(21515); + RequestProcessor.method1300((byte) -128); + Request.method2998((byte) -35); + TeleportHandler.method3508(2); + Component251.method1698(1); + HashNodeSub14.method3237((byte) 42); + Component278.method1917(40960); + DisplayModeManagerContainer50.method2294(126); + Component315.method1873((byte) -120); + DisplayModeManagerContainer57.method442((byte) -84); + DisplayModeInfo.method530(14); Player.method2458(true); - Class227.method1627((byte) 116); - Class19.method284((byte) 51); - Class54.method501(1); - Class348_Sub49.method3376(i ^ ~0x6d); - Class348_Sub47.method3323(-44); - Class318_Sub1_Sub3_Sub3.method2429(-123); - Class357.method3487(-65); - Class74.method744((byte) 115); - Class348_Sub27.method3001(0); - Class348_Sub34.method3026(true); - Class348_Sub41.method3155(i + -113); - Class348_Sub42_Sub8.method3199(i ^ 0x70); - Class94.method866(-14603); - Class93.method861(-76); - Class318.method2374((byte) -125); - Class81.method810(true); - Class62.method597((byte) -122); - Class122.method1086(true); - Class13.method225((byte) 57); - Class110_Sub1.method1040(i + 404); - Class298.method2251(16711680); - Class161.method1261((byte) 108); - Class306.method2299((byte) -128); - RuntimeException_Sub1.method4010(-3); - Class99.method883((byte) 66); - Class348_Sub42_Sub16_Sub2.method3264((byte) -24); - Class172.method1325(-128); - Class154.method1235((byte) 7); - Class348_Sub42_Sub17.method3269(true); - Class17.method265(false); - Class182.method1375(5616); - Class64.method609((byte) -52); - Class36.method355(i + 4189); - Class190.method1426(25165); - Class299.method2254(i ^ ~0x39bf); - Class375.method3613(64); - Class51.method486(-123); - Class124.method1096(i ^ 0x11); - Class2.method171((byte) 72); + Component150.method1627((byte) 116); + Component248.method284((byte) 51); + Component285.method501(1); + Buffer.clearStatics(i ^ ~0x6d); + ParticleSystem.method3323(-44); + DisplayModeManagerContainer58.method2429(-123); + Component186.method3487(-65); + DisplayModeManagerContainer238.method744((byte) 115); + NodeSub27.method3001(0); + NodeSub34.method3026(true); + NodeSub41.method3155(i + -113); + CacheNode.method3199(i ^ 0x70); + Component97.method866(-14603); + ToolkitFactory.clearStatics(-76); + Renderable.method2374((byte) -125); + Component268.method810(true); + Component240.method597((byte) -122); + DisplayModeManagerContainer145.clearStatics(true); + Component354.method225((byte) 57); + Component362.method1040(i + 404); + Component10.method2251(16711680); + DisplayModeManagerContainer254.method1261((byte) 108); + Component314.method2299((byte) -128); + RuntimeException_Sub1.clearStatics(-3); + DisplayModeManagerContainer153.method883((byte) 66); + HashNodeSub16Sub2.method3264((byte) -24); + Component16.method1325(-128); + Component101.method1235((byte) 7); + HashNodeSub17.method3269(true); + DisplayModeManagerContainer167.method265(false); + Component280.method1375(5616); + DisplayModeManagerContainer370.method609((byte) -52); + Component129.method355(i + 4189); + DisplayModeManagerContainer56.method1426(25165); + Component80.method2254(i ^ ~0x39bf); + Component121.method3613(64); + Component44.method486(-123); + DisplayModeManagerContainer77.method1096(i ^ 0x11); + Component245.method171((byte) 72); s.method3988(i + -182); - Class79.method804(-3752); - Class213.method1564(104); - Class324.method2572((byte) 23); - Class234.method1659((byte) -71); - Class199.method1461((byte) 112); - Class239_Sub20.method1807((byte) -121); - Class239_Sub12.method1773((byte) 120); - Class239_Sub10.method1763(-15596); - Class239_Sub6.method1746(-15628); - Class239_Sub1.method1723((byte) 119); - Class239_Sub9.method1758(-16211); - Class239_Sub4.method1738(i + 21813); - Class239_Sub15.method1785(i ^ 0x64); - Class239_Sub14.method1780(i + -48); - Class239_Sub21.method1814((byte) -70); - Class239_Sub2.method1724(-4); - Class239_Sub24.method1822((byte) 110); - Class239_Sub25.method1832(1); - Class239_Sub27.method1841(16878); - Class239_Sub18.method1799(124); - Class239_Sub8.method1755(i + -107); - Class239_Sub22.method1816(1); - Class239_Sub17.method1794(63); - Class239_Sub11.method1769(100); - Class239_Sub26.method1835(i + -28702); - Class239.method1715(103); - Class90.method852(6); - Class365.method3518(i ^ 0x34); + NpcComposition.method804(-3752); + ItemDefinition.method1564(104); + BitmapFont.method2572((byte) 23); + RandomAccessFileReader.clearStatics((byte) -71); + HelveticaFont.method1461((byte) 112); + Component20.method1807((byte) -121); + Component205.method1773((byte) 120); + Component98.method1763(-15596); + Component31.method1746(-15628); + Component175.method1723((byte) 119); + Component379.method1758(-16211); + Component323.method1738(i + 21813); + DisplayModeManagerContainer341.method1785(i ^ 0x64); + Component329.method1780(i + -48); + Component71.method1814((byte) -70); + DisplayModeManagerContainer199.method1724(-4); + ColoredText.method1822((byte) 110); + Component256.method1832(1); + Component139.method1841(16878); + Component302.method1799(124); + DisplayModeManagerContainer295.method1755(i + -107); + Component287.method1816(1); + Component66.method1794(63); + LibraryCreditsText.method1769(100); + RadixText.method1835(i + -28702); + Component339.method1715(103); + Component330.method852(6); + Component6.method3518(i ^ 0x34); Exception_Sub1.method140((byte) -126); - aa.method158((byte) -67); - za.method3438((byte) 59); - Class143.method1180((byte) -76); - Class98.method879(96); - Class348_Sub1.method2719(11339); - Class318_Sub1_Sub3.method2412(true); - Class318_Sub1.method2389(1); - Class348_Sub16_Sub3.method2871(-65); - Class163.method1276(i + -199); - Class10.method218((byte) 119); - Class66.method713(); - Class351.method3457(true); - Class273.method2055(1); - Class348_Sub23_Sub4.method2990((byte) 125); - Class55_Sub1.method523(119); - Class348_Sub23_Sub2.method2974(1); - Class348_Sub23_Sub1.method2968((byte) -116); - Class348_Sub16_Sub2.method2830(i ^ 0x6c); - Class363.method3516(124); - Class15.method255(6725); - Class20.method287(51); - Class56.method526(85); - Class336.method2657((byte) 124); - Class16.method261((byte) -120); - Class244.method1880(i + -221); - Class296.method2225(i + -76); - Class131.method1136((byte) -98); - Class106.method999(21745); - Class28.method318(122); - Class111.method1047(1); - Class160.method1254((byte) 62); - Class75.method746(); - Class311.method2317((byte) 79); - Class301.method2281(1); - Class140.method1169(false); - Class176.method1351(1); - Class26.method306(true); - Class250.method1910(0); - Class121.method1081((byte) 121); - Class132.method1137(3); - Class341.method2677(i ^ 0x33); - Class149.method1200(false); - Class180.method1366((byte) -43); - Class76.method772((byte) -113); - Class30.method322(1); - Class264.method2018(0); - Class318_Sub10.method2527(); - Class225.method1619((byte) 108); - Class27.method316((byte) -94); - Class291.method2199((byte) 63); - Class152.method1216((byte) -97); - Class303.method2286(114); - Class333.method2645(i + -16777324); - Class312.method2331(true); - Class348_Sub21.method2956((byte) 53); - Class323.method2562(); - Class69.method722(13569); - Class184.method1386(true); - Class43.method380(0); - Class348_Sub36.method3029(126); - Class348_Sub42_Sub19.method3278(1); - Class168.method1298(-1); - Class348_Sub42_Sub16.method3252(353); - Class47.method445(i ^ 0x6e); - Class211.method1543(-4524); - Class318_Sub1_Sub1.method2395((byte) 50); - Class318_Sub1_Sub2.method2406(i ^ ~0x12); - Class318_Sub1_Sub4.method2479(i + 19316); - Class318_Sub1_Sub5.method2484(0); - Class148.method1198(1010); + Shader.method158((byte) -67); + NodeBase.method3438((byte) 59); + Component184.method1180((byte) -76); + Component122.method879(96); + NodeSub1.method2719(11339); + Component327.method2412(true); + RenderableObject.method2389(1); + BrowserUrlOpener.method2871(-65); + ImageTagText.method1276(i + -199); + RunescapeInfo.clearStatics((byte) 119); + ClientScriptExecutor.method713(); + StringCache.clearStatics(true); + Component224.method2055(1); + Component179.method2990((byte) 125); + Component326.method523(119); + DisplayModeManagerContainer64.method2974(1); + OggUrlStream.method2968((byte) -116); + NodeSub16Sub2.method2830(i ^ 0x6c); + Component126.method3516(124); + Component279.method255(6725); + Component120.clearStatics(51); + LoadingState.getProgress(85); + Component226.method2657((byte) 124); + Component110.method261((byte) -120); + Component283.method1880(i + -221); + HuffmanDecoder.clearStatics(i + -76); + Component286.method1136((byte) -98); + KeyStoreLoader.clearStatics(21745); + DisplayModeManagerContainer332.method318(122); + Component331.method1047(1); + Component214.method1254((byte) 62); + DisplayModeManagerContainer229.method746(); + ResourceLoader.method2317((byte) 79); + Component281.method2281(1); + Component211.method1169(false); + Component218.clearStatics(1); + AssetCacheLoader.method306(true); + AudioMixer.method1910(0); + Component221.method1081((byte) 121); + Component72.method1137(3); + DisplayModeManagerContainer196.method2677(i ^ 0x33); + Component90.method1200(false); + Component166.method1366((byte) -43); + DisplayModeManagerContainer154.method772((byte) -113); + ComponentDownloader.method322(1); + Component235.method2018(0); + RenderableSub10.method2527(); + Component241.method1619((byte) 108); + DisplayModeManagerContainer91.method316((byte) -94); + ReferenceTable.clearStatics((byte) 63); + InflaterDecompressor.clearStatics((byte) -97); + DisplayModeManagerContainer165.method2286(114); + Component79.method2645(i + -16777324); + Component37.method2331(true); + NodeSub21.method2956((byte) 53); + FontGlyphCache.method2562(); + Component325.method722(13569); + Component357.method1386(true); + CookieBuilder.clearStatics(0); + NodeSub36.method3029(126); + HashNodeSub19.method3278(1); + Component39.method1298(-1); + HashNodeSub16.method3252(353); + DisplayModeManagerContainer32.method445(i ^ 0x6e); + DisplayModeManagerContainer159.method1543(-4524); + DisplayModeManagerContainer28.method2395((byte) 50); + DisplayModeManagerContainer343.method2406(i ^ ~0x12); + Component269.method2479(i + 19316); + Component203.method2484(0); + Component3.method1198(1010); r.method3285(88); - Class178.method1355(-108); - Class72.method731(); - Class129.method1126(32); - Class342.method2682(i ^ 0x29); - Class162.method1267((byte) 85); - Class348_Sub33.method3024(-100); - Class4.method177(); - Class222.method1609((byte) -121); - Class175.method1349((byte) -121); - Class368.method3560(-13); - Class116.method1062((byte) 35); - Class108.method1013((byte) 114); - Class348_Sub10.method2785(); - Class359.method3491(1); - Class348_Sub14.method2805((byte) 113); - Class277.method2071(-128); - Class22.method293((byte) -83); - Class34.method351(80); - Class146.method1194(10); - Class218.method1594(-1966608624); - Class254.method1926(-127); - Class321.method2549((byte) -85); - Class348_Sub42_Sub1.method3165((byte) 44); - Class181.method1369((byte) 2); - Class174.method1334((byte) -110); - Class115.method1061(16711680); - Class308.method2306((byte) -90); - Class103.method948(false); - Class281.method2107((byte) 77); - Class282.method2111((byte) 68); - Class147.method1195((byte) 127); - Class91.method857(126); - Class289.method2191(0); - Class155.method1236((byte) -110); - Class200.method1463((byte) 25); - Class318_Sub6.method2506((byte) -46); - Class318_Sub1_Sub3_Sub4.method2469(true); - Class332.method2640(true); - Class95.method869(3); - Class327.method2604((byte) -102); - Class348_Sub42_Sub10.method3217((byte) 61); - Class138.method1164((byte) -52); - Class318_Sub1_Sub2_Sub1.method2407(false); - Class235.method1673(i ^ ~0x75); - Class318_Sub1_Sub5_Sub2.method2492(1); - Class318_Sub1_Sub1_Sub1.method2398((byte) -83); - Class247.method1889(255); - Class346_Sub1.method2705(i + 14537); - Class373_Sub2.method3609((byte) 48); - Class223.method1612((byte) -9); - Class287.method2180((byte) -72); - Class195.method1447(i ^ 0x20); - Class52.method492(i + -216); - Class369_Sub3.method3574(i ^ 0x4c47); - Class125.method1109((byte) -22); - Class288_Sub1.method2190(true); - Class369_Sub2.method3572(1000000); - Class288.method2185(2); - Class158.method1249(true); - Class339.method2664(i ^ 0x6f); - Class348_Sub42_Sub5.method3187((byte) -52); - Class117.method1064(-3); - Class189.method1421((byte) -85); - Class348_Sub42_Sub11.method3220((byte) 102); + DisplayModeManagerContainer109.method1355(-108); + DisplayModeManagerContainer365.method731(); + Component30.method1126(32); + DisplayModeManagerContainer173.method2682(i ^ 0x29); + DisplayModeManagerContainer133.method1267((byte) 85); + ObjectDeserializer.clearStatics(-100); + Component376.method177(); + Component303.method1609((byte) -121); + Component143.method1349((byte) -121); + Component63.method3560(-13); + Component262.clearStatics((byte) 35); + Component83.method1013((byte) 114); + NodeSub10.method2785(); + Component135.method3491(1); + NodeSub14.method2805((byte) 113); + Component11.method2071(-128); + Component231.method293((byte) -83); + Component225.method351(80); + Component334.method1194(10); + SceneManager.method1594(-1966608624); + Component355.method1926(-127); + Component236.method2549((byte) -85); + HashNodeSub1.method3165((byte) 44); + Component113.method1369((byte) 2); + RadixParser.method1334((byte) -110); + Component95.method1061(16711680); + Component17.method2306((byte) -90); + Component99.method948(false); + Component337.method2107((byte) 77); + Component21.method2111((byte) 68); + Component335.method1195((byte) 127); + GnpPositionLogger.method857(126); + Component156.method2191(0); + Component177.method1236((byte) -110); + Component33.method1463((byte) 25); + RenderableSub6.clearStatics((byte) -46); + DisplayModeManagerContainer104.method2469(true); + Component9.method2640(true); + Component181.method869(3); + DisplayModeManagerContainer363.method2604((byte) -102); + HashNodeSub10.method3217((byte) 61); + Component161.method1164((byte) -52); + Component252.method2407(false); + Component366.method1673(i ^ ~0x75); + ShaderLinker.method2492(1); + Component141.method2398((byte) -83); + VideoAdDisplay.method1889(255); + KeyFocusHandler.clearStatics(i + 14537); + BasicMouseHandler.clearStatics((byte) 48); + DisplayModeManagerContainer369.method1612((byte) -9); + DisplayModeManagerContainer260.method2180((byte) -72); + Component195.method1447(i ^ 0x20); + RSACipher.method492(i + -216); + Component76.method3574(i ^ 0x4c47); + Component15.method1109((byte) -22); + Component383.method2190(true); + Component14.method3572(1000000); + Component118.method2185(2); + HeapDumpHelper.method1249(true); + NewsFetcher.method2664(i ^ 0x6f); + DefinitionGroup.method3187((byte) -52); + Component208.clearStatics(-3); + Component291.method1421((byte) -85); + StringDefinition.method3220((byte) 102); if (i != 108) anInt5171 = -60; - Class348_Sub23.method2962(-31055); - Class256.method1944(1); - Class338.method2662(4); - Canvas_Sub1.method120(false); - Class44.method387(67); - Class272.method2048(1); - IOException_Sub1.method130(i + -100); - Class331.method2637(i + -108); - Class313.method2333(false); - Class24.method296((byte) -99); - Class3.method176(-1); - Class316.method2366(true); - Class344.method2690(-124); - Class212.method1551(); - Class40.method370(true); - Class348_Sub42_Sub8_Sub2.method3202((byte) 79); - Class246.method1886(4908); - Class348_Sub42_Sub9.method3204(-112); - Class348_Sub40_Sub8.method3068(i + 13607); - Class318_Sub1_Sub1_Sub2.method2400((byte) 3); - Class318_Sub1_Sub3_Sub1.method2415(61); - Class92.method860((byte) 44); - Class318_Sub1_Sub5_Sub1.method2490(4); - Class348_Sub18.method2936((byte) -25); - Class348_Sub35.method3028(-11677); - Class348_Sub50.method3418(114); - Class110.method1030(-24); - Class283.method2113((byte) 74); - Class348_Sub43.method3300(0); - Class204.method1493(); - Class348_Sub16_Sub1.method2823(i + -108); - Class348_Sub17.method2930((byte) -87); - Class80.method808(); - Class210.method1536(); - Class348_Sub8.method2775((byte) -127); - Class279_Sub2.method2097(); - Class245.method1882(25365); - Class348_Sub23_Sub3.method2981(false); - Class133.method1139(2767); - Class348_Sub40.method3040(true); - Class309.method2310((byte) 69); - Class292.method2202(-17902); - Class73.method741((byte) -128); - Class136.method1159((byte) 112); - Class177.method1354((byte) -22); - Class240.method1853((byte) 48); - Class127.method1117(105); - Class127_Sub1.method1120(1); - Class5_Sub2.method193(i + -78); - Class5.method180(-19960); - Class369.method3567(i ^ ~0x24); - Class5_Sub1.method189((byte) 121); - Class67.method716(1); - Class265.method2023((byte) -78); - Class5_Sub1_Sub1.method190((byte) 32); - Class295.method2223(i ^ 0x5); - Class71.method728(true); - Class329.method2621(); - Class294.method2214(0); - Class128.method1123(-1); - Class374.method3611(true); - Class348_Sub42_Sub20.method3280(-109); - Class318_Sub9_Sub2.method2518(137); - Class318_Sub7.method2508(i ^ 0x7f93); - Class156.method1239(30114); - Class318_Sub2.method2495((byte) 113); - Class275.method2065(31913); - Class59.method548(10); - Class322.method2555((byte) 28); - Class191.method1431(0); - Class348_Sub42_Sub9_Sub1.method3207((byte) -120); - Class345.method2693(3); - Class348_Sub40_Sub15.method3085(0); - Class348_Sub40_Sub17.method3091(true); - Class348_Sub46.method3318((byte) -80); - Class348_Sub31.method3010(-1316); - Class49.method453(-2001); - Class101_Sub1.method911(0); - Class167.method1293(1); - ha_Sub2.method3736((byte) 100); - Class354.method3468(-1401); - Class100.method886(16); - Class18.method277((byte) 115); - Class348_Sub5_Sub1.method2765(2048); - Class233.method1653(i + 1489574628); - Class101_Sub3.method938(47); - Class188.method1411(true); - Class206.method1499(i + -235); - Class299_Sub1.method2258((byte) -122); - Class64_Sub3.method681(i + -14); - Class123.method1091(-9341); - Class348_Sub49_Sub1.method3403(84); - Class258_Sub2.method1962(-1); - ha_Sub3.method3870(113); - Class325.method2597(-27327); - Class68.method719((byte) 72); - Class269.method2042((byte) -67); - Class101_Sub2.method925(i + -6105); - Class251.method1912(8549); - Class229.method1632(-11); - Class299_Sub2.method2268(-24054); - Class173.method1329(4); - Class280.method2104(88); - Class130.method1127(5125); - Class64_Sub2.method676(126); - Class70.method725(16384); - Class113.method1057(true); - Class21.method288((byte) 119); - Class377.method3968(15); - Class349.method3450(); - Class348_Sub40_Sub18.method3096(i ^ 0x7ea2); - Class348_Sub40_Sub19.method3099((byte) -121); - Class348_Sub40_Sub4.method3057((byte) -54); - Class348_Sub40_Sub22.method3110(-1633784916); - Class348_Sub40_Sub37.method3148(true); - Class348_Sub40_Sub38.method3149(104); - Class348_Sub40_Sub16.method3087(false); - Class348_Sub40_Sub7.method3066(-1); - Class348_Sub40_Sub12.method3077((byte) -98); - Class348_Sub40_Sub26.method3118((byte) 127); - Class348_Sub40_Sub36.method3145(0); - Class348_Sub40_Sub20.method3104(false); - Class348_Sub40_Sub11.method3075(false); - Class348_Sub40_Sub5.method3059(-120); - Class348_Sub40_Sub2.method3053(4); - Class348_Sub40_Sub17_Sub1.method3092(-1); - Class348_Sub40_Sub6.method3062(true); - Class348_Sub40_Sub27.method3121((byte) 104); - Class348_Sub40_Sub32.method3133((byte) -109); - Class348_Sub40_Sub33.method3138((byte) -115); - Class348_Sub40_Sub13.method3080((byte) 111); - Class348_Sub40_Sub1.method3050(true); - Class348_Sub40_Sub24.method3115(-114); - Class348_Sub40_Sub23.method3114((byte) -123); - Class348_Sub40_Sub39.method3152(255); - Class348_Sub40_Sub10.method3074(i ^ 0x6c); - Class348_Sub40_Sub25.method3117(109); - Class348_Sub40_Sub35.method3144((byte) 119); - Class348_Sub40_Sub34.method3142(0); - Class348_Sub40_Sub9.method3071((byte) 59); - Class348_Sub40_Sub21.method3106((byte) 97); - Class348_Sub40_Sub28.method3123(i + -108); - Class348_Sub25.method2996(); - Class216.method1584((byte) -64); - aa_Sub3.method167(19612); - Class6.method208((byte) 0); - Class348_Sub31_Sub2.method3016(65280); - Class348_Sub1_Sub2.method2731((byte) -23); - Class11.method221(0); - Class232.method1645(121); - Class104.method953((byte) 9); - s_Sub2.method4000(i ^ 0x216c); - Class337.method2658(true); - Class258_Sub1.method1959(-112); - Class348_Sub5.method2762(108); - Class286.method2135(0); - Class83.method815(false); - Class286_Sub1.method2142((byte) -126); - Class118.method1075((byte) 17); - Class48.method448((byte) -16); - r_Sub2.method3295(i + -109); - za_Sub1.method3441(1); - aa_Sub1.method161(114); - Class348_Sub20.method2950(71); - Class171.method1322((byte) -28); - Class348_Sub1_Sub1.method2728((byte) 9); - Class299_Sub1_Sub2.method2265(-10794); - Class135_Sub2.method1155((byte) -125); - Class135.method1149(99); - Class135_Sub1.method1154((byte) 11); - Class286_Sub3.method2151(-86); - Class286_Sub7.method2166(i ^ 0x18ac); - Class258_Sub4.method1973(24885); - Class286_Sub5.method2160(0); - Class286_Sub2.method2147(i ^ ~0x6c); - Class286_Sub8.method2171(i + -108); - Class286_Sub6.method2164(true); - Class286_Sub4.method2156(77); - Class242.method1866(0); - Class228.method1628((byte) 54); - Class209.method1529(true); - za_Sub2.method3444(i + -198); - Class353.method3462(-30094); - Class334.method2654(-6896); - r_Sub1.method3288((byte) 74); - Class362.method3512(4); - Class186_Sub1.method1400(i + -107); - aa_Sub2.method162((byte) -112); - s_Sub3.method4006(-43); - Class348_Sub3.method2738((byte) 82); - Class330.method2631(127); - Class299_Sub2_Sub1.method2272(88); - Class367_Sub3.method3539((byte) -32); - Class367_Sub4.method3541((byte) 23); - Class367_Sub8.method3550((byte) -122); - Class367_Sub10.method3554(i + -107); - Class59_Sub1.method553(0); - Class59_Sub2.method564((byte) -54); - Class186.method1396(25); - Class249.method1907((byte) 49); - Class14_Sub1.method242(true); - Class14.method237(false); - Class14_Sub4.method251((byte) 2); - Class367_Sub11.method3557(true); - Class193.method1440(-127); - Class367_Sub2.method3537(i ^ 0x864c); - Class367_Sub9.method3552(i ^ 0x3b); - Class89.method851(i + -107); - Class285.method2124(0); - Class285_Sub2.method2132(-125); - Class130_Sub1.method1133(96); - Class328_Sub1.method2610(true); - Class328_Sub1_Sub1.method2611(-123); - Class328_Sub3.method2617((byte) 93); - Class328_Sub2_Sub1.method2614(i ^ 0x4d); - Class328_Sub2.method2613(-1); - Class348_Sub29.method3003(-4587); - Class348_Sub32.method3020((byte) -64); - Class348_Sub38.method3035(1); - Class39.method367(-15833); - Class318_Sub9_Sub1.method2517((byte) 4); - Class348_Sub42_Sub18.method3274(true); - Class348_Sub42_Sub6.method3190(false); - Class348_Sub45.method3314(5); - Class348_Sub15.method2810((byte) 79); - Class352.method3458(i + 2564); + OggStream.method2962(-31055); + Component52.method1944(1); + Component103.method2662(4); + Canvas_Sub1.clearStatics(false); + Component352.method387(67); + SocketConnector.clearStatics(1); + IOException_Sub1.clearStatics(i + -100); + Component374.method2637(i + -108); + Component55.method2333(false); + DisplayModeManagerContainer310.method296((byte) -99); + Component223.method176(-1); + Component192.clearStatics(true); + AbstractBuffer.clearStatics(-124); + Component187.method1551(); + DisplayModeManagerContainer172.method370(true); + PacketReader.method3202((byte) 79); + Component163.method1886(4908); + ReferenceHolder.clearStatics(-112); + DefinitionSub8.method3068(i + 13607); + Component212.method2400((byte) 3); + Component349.method2415(61); + DisplayModeManagerContainer23.method860((byte) 44); + Component289.method2490(4); + NodeSub18.method2936((byte) -25); + NodeSub35.method3028(-11677); + NodeSub50.method3418(114); + Component338.method1030(-24); + Component69.method2113((byte) 74); + PlayerState.method3300(0); + Component198.method1493(); + GpiLogger.method2823(i + -108); + NpcDefinition.method2930((byte) -87); + Component202.method808(); + Component116.method1536(); + NodeSub8.method2775((byte) -127); + AudioLineSub2.clearNativeAudio(); + DebugOverlay.clear(25365); + OggStreamReader.method2981(false); + HeapDumper.clearStatics(2767); + Definition.method3040(true); + DisplayModeManagerContainer74.method2310((byte) 69); + Component102.method2202(-17902); + DisplayModeManagerContainer306.method741((byte) -128); + Component257.method1159((byte) 112); + DisplayModeManagerContainer249.method1354((byte) -22); + Component49.method1853((byte) 48); + Component296.method1117(105); + Component162.method1120(1); + Component2.method193(i + -78); + Component298.method180(-19960); + Component27.method3567(i ^ ~0x24); + Component364.method189((byte) 121); + VideoAdPlayer.method716(1); + DisplayModeManagerContainer232.method2023((byte) -78); + Component305.method190((byte) 32); + DisplayModeManagerContainer61.method2223(i ^ 0x5); + DisplayModeManagerContainer5.method728(true); + Component68.method2621(); + InterfaceRenderer.method2214(0); + Component59.method1123(-1); + DisplayModeManagerContainer152.method3611(true); + HashNodeSub20.method3280(-109); + RenderableSub9Sub2.method2518(137); + StaticElementRenderer.method2508(i ^ 0x7f93); + ClientErrorReporter.clearStatics(30114); + RenderableSub2.method2495((byte) 113); + Component300.method2065(31913); + DisplayModeManagerContainer213.method548(10); + ImageCacheStore.method2555((byte) 28); + ImageCache.method1431(0); + Component140.method3207((byte) -120); + Component35.method2693(3); + DefinitionSub15.method3085(0); + DefinitionSub17.method3091(true); + NodeSub46.method3318((byte) -80); + Sprite.method3010(-1316); + Component297.method453(-2001); + MatrixSub1.method911(0); + Component385.method1293(1); + GlToolkitSub2.method3736((byte) 100); + Component160.method3468(-1401); + Component265.method886(16); + DisplayModeManagerContainer220.method277((byte) 115); + GlWaterShader.method2765(2048); + Component237.method1653(i + 1489574628); + MatrixSub3.method938(47); + ReliefShader.method1411(true); + DisplayModeManagerContainer105.method1499(i + -235); + Component40.method2258((byte) -122); + DisplayModeManagerContainer282.method681(i + -14); + Component132.method1091(-9341); + Component182.method3403(84); + GlFramebufferTexture.method1962(-1); + GlToolkitSub3.method3870(113); + ColoredTextBuilder.method2597(-27327); + Component342.method719((byte) 72); + Component209.method2042((byte) -67); + MatrixSub2.method925(i + -6105); + Component111.clearStatics(8549); + Component267.method1632(-11); + DisplayModeManagerContainer356.method2268(-24054); + Component75.method1329(4); + Component333.method2104(88); + Component387.method1127(5125); + DisplayModeManagerContainer190.method676(126); + DisplayModeManagerContainer88.method725(16384); + Component22.method1057(true); + Component158.method288((byte) 119); + GlExtensionManager.method3968(15); + Component13.method3450(); + NsnDefinition.method3096(i ^ 0x7ea2); + DefinitionSub19.method3099((byte) -121); + DefinitionSub4.method3057((byte) -54); + DefinitionSub22.method3110(-1633784916); + DefinitionSub37.method3148(true); + DefinitionSub38.method3149(104); + ToolbarRefreshDefinition.method3087(false); + ImageDefinition.method3066(-1); + GradientPreset.method3077((byte) -98); + DefinitionSub26.method3118((byte) 127); + DefinitionSub36.method3145(0); + DefinitionSub20.method3104(false); + DefinitionSub11.method3075(false); + DefinitionSub5.method3059(-120); + DefinitionSub2.method3053(4); + DefinitionSub17Sub1.method3092(-1); + DefinitionSub6.method3062(true); + DefinitionSub27.method3121((byte) 104); + DefinitionSub32.method3133((byte) -109); + DefinitionSub33.method3138((byte) -115); + DefinitionSub13.method3080((byte) 111); + PrimitiveTypeDefinition.method3050(true); + DefinitionSub24.method3115(-114); + DefinitionSub23.method3114((byte) -123); + DefinitionSub39.method3152(255); + DefinitionSub10.method3074(i ^ 0x6c); + DefinitionSub25.method3117(109); + DefinitionSub35.method3144((byte) 119); + LoggedOutDefinition.method3142(0); + DefinitionSub9.method3071((byte) 59); + DefinitionSub21.method3106((byte) 97); + DefinitionSub28.method3123(i + -108); + NodeSub25.method2996(); + Component43.method1584((byte) -64); + ShaderSub3.method167(19612); + BuildInfo.method208((byte) 0); + ImageProducerSprite.method3016(65280); + NodeSub1Sub2.method2731((byte) -23); + Component53.method221(0); + Component228.method1645(121); + Component65.method953((byte) 9); + BufferCacheSub2.method4000(i ^ 0x216c); + Component244.method2658(true); + AbstractGlTextureSub1.method1959(-112); + NodeSub5.method2762(108); + ShaderProgram.method2135(0); + Component178.method815(false); + ArbShaderProgram.method2142((byte) -126); + Component151.method1075((byte) 17); + Component377.method448((byte) -16); + CacheNodeSub2.method3295(i + -109); + NodeBaseSub1.method3441(1); + ShaderSub1.method161(114); + NodeSub20.method2950(71); + Component382.method1322((byte) -28); + NodeSub1Sub1.method2728((byte) 9); + Component264.method2265(-10794); + MenuOpener.method1155((byte) -125); + Component137.method1149(99); + DisplayModeManagerContainer136.method1154((byte) 11); + ParticleShader.method2151(-86); + ShaderProgramSub7.method2166(i ^ 0x18ac); + AbstractGlTextureSub4.method1973(24885); + SpriteAtlasShader.method2160(0); + ShaderProgramSub2.method2147(i ^ ~0x6c); + CookieManager.method2171(i + -108); + WaterShaderProgram.method2164(true); + WaterSurfaceShader.method2156(77); + Component359.method1866(0); + NativeLibraryLoader.clearStatics((byte) 54); + Component246.method1529(true); + NodeBaseSub2.method3444(i + -198); + Component45.method3462(-30094); + NativeLibLoader.method2654(-6896); + CacheNodeSub1.method3288((byte) 74); + Component149.method3512(4); + Component134.method1400(i + -107); + ShaderSub2.method162((byte) -112); + BufferCacheSub3.method4006(-43); + NodeSub3.method2738((byte) 82); + Component301.method2631(127); + Component201.method2272(88); + AbstractShaderSub3.method3539((byte) -32); + AbstractShaderSub4.method3541((byte) 23); + WaterShaderSub8.method3550((byte) -122); + SoftwareFallbackShader.method3554(i + -107); + Component210.method553(0); + Component185.method564((byte) -54); + DisplayModeManagerContainer51.method1396(25); + Component217.method1907((byte) 49); + Component19.method242(true); + DisplayModeManagerContainer194.method237(false); + WorldNameText.method251((byte) 2); + OpenGlShader.method3557(true); + Component321.method1440(-127); + AbstractShaderSub2.clearStatics(i ^ 0x864c); + WaterShader.method3552(i ^ 0x3b); + Component84.method851(i + -107); + DebugPanic.method2124(0); + DebugPanicSub2.method2132(-125); + DisplayModeManagerContainer273.method1133(96); + ShaderCompilerSub1.method2610(true); + ShaderCompilerSub1Sub1.method2611(-123); + ShaderCompilerSub3.method2617((byte) 93); + ShaderCompilerSub2Sub1.method2614(i ^ 0x4d); + ShaderCompilerSub2.method2613(-1); + NodeSub29.method3003(-4587); + NodeSub32.method3020((byte) -64); + NodeSub38.method3035(1); + DisplayModeManagerContainer271.method367(-15833); + FriendLoginMessage.method2517((byte) 4); + HashNodeSub18.method3274(true); + PauseHandler.clearStatics(false); + NodeSub45.method3314(5); + ColorTagNode.method2810((byte) 79); + Component48.method3458(i + 2564); InputStream_Sub2.method127((byte) 118); OutputStream_Sub2.method139(88); - Class126.method1112(1); - Class358.method3488(64); - Class348_Sub42_Sub4.method3181((byte) 2); - Class348_Sub7.method2773(0); - Class348_Sub12.method2798(122); - Class348_Sub42_Sub12.method3228(75); - Class348_Sub11.method2796((byte) 104); - Class208.method1525((byte) 4); + Component380.method1112(1); + Component142.method3488(64); + HashNodeSub4.method3181((byte) 2); + NodeSub7.method2773(0); + NodeSub12.method2798(122); + MenuEntry.clearStatics(75); + NodeSub11.method2796((byte) 104); + Component222.method1525((byte) 4); OutputStream_Sub1.method133((byte) -41); InputStream_Sub1.method124(i ^ 0x6e); - Class284.method2117(0); - Class348_Sub24.method2993((byte) 50); - Class348_Sub6.method2768(3); - Class348_Sub42_Sub3.method3176(true); - Class347.method2707(false); - Class8.method213((byte) -106); - Class270.method2043(true); - Class59_Sub2_Sub2.method570(105); - Class192.method1438(-120); - Class63.method601((byte) -85); - Class151.method1209(i + -51); - Class50.method458(-14487); - Class50_Sub4.method471(i ^ ~0x751c); - Class50_Sub3.method469((byte) -62); - Class50_Sub1.method460(i ^ 0x6e); - Class59_Sub1_Sub2.method561(120); - Class59_Sub2_Sub1.method568(true); + Component94.method2117(0); + ClientSystemInfo.method2993((byte) 50); + NodederUtil.method2768(3); + HashNodeSub3.method3176(true); + DisplayModeManagerContainer322.method2707(false); + DisplayModeManagerContainer345.method213((byte) -106); + Component148.method2043(true); + Component317.method570(105); + Component353.method1438(-120); + Component227.method601((byte) -85); + DisplayModeManagerContainer346.method1209(i + -51); + Component47.method458(-14487); + Component230.method471(i ^ ~0x751c); + DisplayModeManagerContainer368.method469((byte) -62); + Cp1252Decoder.method460(i ^ 0x6e); + DisplayModeManagerContainer34.method561(120); + Component54.method568(true); if (Applet_Sub1.aBoolean41) anInt5190 = ++i_4_; } private final void method102(byte i) { if (i != 61) method106(); anInt5184++; - boolean bool = Class348_Sub4.aClass248_6601.method1893((byte) 99); + boolean bool = HardwareProbe.aClass248_6601.process((byte) 99); if (!bool) method101((byte) -112); } - private final void method103(int i, byte i_5_) { + /** Handle JS5 connection failure ({@code js5 fail code=}{@code i}). */ + private final void onJs5Failure(int i, byte i_5_) { anInt5182++; - Class348_Sub4.aClass248_6601.anInt3213++; - aa.aClass144_114 = null; - Class348_Sub4.aClass248_6601.anInt3214 = i; + HardwareProbe.aClass248_6601.errorCount++; + Shader.aClass144_114 = null; + HardwareProbe.aClass248_6601.disconnectCode = i; + if (Loader.debug) { + System.out.println("js5 fail code=" + i + + " attempts=" + HardwareProbe.aClass248_6601.errorCount + + " handshake=" + DisplayModeManagerContainer32.anInt846); + } if (i_5_ > 74) { - Class47.anInt846 = 0; - Class193.aClass202_2589 = null; + DisplayModeManagerContainer32.anInt846 = 0; + Component321.aClass202_2589 = null; } } - final void method80(int i) { - if (Class184.aBoolean2469) Class318_Sub1_Sub2.method2405(i + -110); + /** Close toolkit, sockets, and cache files. */ + final void closeResources(int i) { + if (Component357.aBoolean2469) DisplayModeManagerContainer343.saveClientPreferences(i + -110); anInt5170++; - Class59_Sub1_Sub1.method556(false); - if (Class348_Sub8.aHa6654 != null) Class348_Sub8.aHa6654.method3635((byte) 89); - if (Class34.aFrame476 != null) { - Class56.method527(Class34.aFrame476, Class348_Sub23_Sub1.aClass297_8992, false); - Class34.aFrame476 = null; + Component350.method556(false); + if (NodeSub8.toolkit != null) NodeSub8.toolkit.method3635((byte) 89); + if (Component225.aFrame476 != null) { + LoadingState.startLoadingTask(Component225.aFrame476, OggUrlStream.aClass297_8992, false); + Component225.aFrame476 = null; } - if (Class348_Sub40_Sub8.aClass238_9165 != null) { - Class348_Sub40_Sub8.aClass238_9165.method1700((byte) 36); - Class348_Sub40_Sub8.aClass238_9165 = null; + if (DefinitionSub8.aClass238_9165 != null) { + DefinitionSub8.aClass238_9165.close((byte) 36); + DefinitionSub8.aClass238_9165 = null; } - Class162.method1265(16); - Class348_Sub4.aClass248_6601.method1901(i ^ ~0x44); - Class39.aClass112_520.method1051(true); - if (Class76.aClass169_1286 != null) { - Class76.aClass169_1286.method1303((byte) 16); - Class76.aClass169_1286 = null; + DisplayModeManagerContainer133.method1265(16); + HardwareProbe.aClass248_6601.closeConnection(i ^ ~0x44); + DisplayModeManagerContainer271.aClass112_520.shutdown(true); + if (DisplayModeManagerContainer154.aClass169_1286 != null) { + DisplayModeManagerContainer154.aClass169_1286.method1303((byte) 16); + DisplayModeManagerContainer154.aClass169_1286 = null; } try { - Class299_Sub2.aClass78_6328.method790((byte) -62); + DisplayModeManagerContainer356.aClass78_6328.close((byte) -62); for (int i_6_ = i; i_6_ < 37; i_6_++) - Class100.aClass78Array1579[i_6_].method790((byte) 118); - Class235.aClass78_3075.method790((byte) -84); - Class374.aClass78_4538.method790((byte) 80); - Class348_Sub46.method3317((byte) -53); + Component265.aClass78Array1579[i_6_].close((byte) 118); + Component366.aClass78_3075.close((byte) -84); + DisplayModeManagerContainer152.aClass78_4538.close((byte) 80); + NodeSub46.closeConsoleLogStream((byte) -53); } catch (Exception exception) { /* empty */ } } static final void method104(int i) { - int i_7_ = Class328_Sub1.anInt6513; - int[] is = Class286_Sub7.anIntArray6290; - int i_8_ = Class373_Sub2.aBoolean7444 ? i_7_ : i_7_ + Class150.anInt2057; + int i_7_ = ShaderCompilerSub1.anInt6513; + int[] is = ShaderProgramSub7.anIntArray6290; + int i_8_ = BasicMouseHandler.aBoolean7444 ? i_7_ : i_7_ + Component324.anInt2057; for (int i_9_ = 0; i_9_ < i_8_; i_9_++) { - Class318_Sub1_Sub3_Sub3 class318_sub1_sub3_sub3; - if (i_9_ < i_7_) class318_sub1_sub3_sub3 = (Class294.aPlayerArray5058[is[i_9_]]); - else class318_sub1_sub3_sub3 = (((Class348_Sub22) Class282.aClass356_3654.method3480(Class74.anIntArray1233[i_9_ - i_7_], -6008)).aNpc_6859); + DisplayModeManagerContainer58 class318_sub1_sub3_sub3; + if (i_9_ < i_7_) class318_sub1_sub3_sub3 = (InterfaceRenderer.players[is[i_9_]]); + else class318_sub1_sub3_sub3 = (((NodeSub22) Component21.aClass356_3654.get(DisplayModeManagerContainer238.anIntArray1233[i_9_ - i_7_], -6008)).npc); if (class318_sub1_sub3_sub3.plane == i) { class318_sub1_sub3_sub3.anInt10261 = 0; if ((class318_sub1_sub3_sub3.anInt10285) < 0) class318_sub1_sub3_sub3.aBoolean10309 = false; @@ -799,12 +808,12 @@ static final void method104(int i) { if (i_10_ == 1) { int i_11_ = ((class318_sub1_sub3_sub3.x) >> 9); int i_12_ = ((class318_sub1_sub3_sub3.y) >> 9); - if (class318_sub1_sub3_sub3.anInt10285 != (Class348_Sub42_Sub17.anIntArrayArray9678[i_11_][i_12_])) { + if (class318_sub1_sub3_sub3.anInt10285 != (HashNodeSub17.anIntArrayArray9678[i_11_][i_12_])) { class318_sub1_sub3_sub3.aBoolean10309 = true; continue; } - if (Class239_Sub8.anIntArrayArray5921[i_11_][i_12_] > 1) { - Class239_Sub8.anIntArrayArray5921[i_11_][i_12_]--; + if (DisplayModeManagerContainer295.anIntArrayArray5921[i_11_][i_12_] > 1) { + DisplayModeManagerContainer295.anIntArrayArray5921[i_11_][i_12_]--; class318_sub1_sub3_sub3.aBoolean10309 = true; continue; } @@ -814,10 +823,10 @@ static final void method104(int i) { int i_15_ = ((class318_sub1_sub3_sub3.y) - i_13_ >> 9); int i_16_ = ((class318_sub1_sub3_sub3.x) + i_13_ >> 9); int i_17_ = ((class318_sub1_sub3_sub3.y) + i_13_ >> 9); - if (!Class103.method949(i_15_, i_16_, (class318_sub1_sub3_sub3.anInt10285), (byte) 124, i_14_, i_17_)) { + if (!Component99.method949(i_15_, i_16_, (class318_sub1_sub3_sub3.anInt10285), (byte) 124, i_14_, i_17_)) { for (int i_18_ = i_14_; i_18_ <= i_16_; i_18_++) { for (int i_19_ = i_15_; i_19_ <= i_17_; i_19_++) { - if (class318_sub1_sub3_sub3.anInt10285 == (Class348_Sub42_Sub17.anIntArrayArray9678[i_18_][i_19_])) Class239_Sub8.anIntArrayArray5921[i_18_][i_19_]--; + if (class318_sub1_sub3_sub3.anInt10285 == (HashNodeSub17.anIntArrayArray9678[i_18_][i_19_])) DisplayModeManagerContainer295.anIntArrayArray5921[i_18_][i_19_]--; } } class318_sub1_sub3_sub3.aBoolean10309 = true; @@ -825,187 +834,188 @@ static final void method104(int i) { } } class318_sub1_sub3_sub3.aBoolean10309 = false; - class318_sub1_sub3_sub3.anInt6382 = Class275.method2064((class318_sub1_sub3_sub3.x), (class318_sub1_sub3_sub3.plane), 11219, (class318_sub1_sub3_sub3.y)); - Class89.method850(class318_sub1_sub3_sub3, true); + class318_sub1_sub3_sub3.anInt6382 = Component300.method2064((class318_sub1_sub3_sub3.x), (class318_sub1_sub3_sub3.plane), 11219, (class318_sub1_sub3_sub3.y)); + Component84.method850(class318_sub1_sub3_sub3, true); } } } } - static final Class348_Sub44 method105(Class46 class46) { - Class348_Sub44 class348_sub44 = (Class348_Sub44) (Class226.aClass356_2959.method3480((((long) class46.anInt830 << 32) + (long) class46.anInt704), -6008)); + static final NodeSub44 method105(DisplayModeManagerContainer57 class46) { + NodeSub44 class348_sub44 = (NodeSub44) (Component127.aClass356_2959.get((((long) class46.anInt830 << 32) + (long) class46.anInt704), -6008)); if (class348_sub44 != null) return class348_sub44; return class46.aClass348_Sub44_748; } static final void method106() { - Class45.anInt669 = 0; - for (int i = 0; i < Class150.anInt2057; i++) { - Npc npc = (((Class348_Sub22) Class282.aClass356_3654.method3480(Class74.anIntArray1233[i], -6008)).aNpc_6859); + CacheStore.anInt669 = 0; + for (int i = 0; i < Component324.anInt2057; i++) { + Npc npc = (((NodeSub22) Component21.aClass356_3654.get(DisplayModeManagerContainer238.anIntArray1233[i], -6008)).npc); if ((npc.aBoolean10309) && npc.method2425(-1) != -1) { int i_20_ = ((npc.method2436((byte) 119) - 1) * 256 + 252); int i_21_ = (npc.x - i_20_) >> 9; int i_22_ = (npc.y - i_20_) >> 9; - Class318_Sub1_Sub3_Sub3 class318_sub1_sub3_sub3 = Class84.method817(252, i_21_, (npc.plane), i_22_); + DisplayModeManagerContainer58 class318_sub1_sub3_sub3 = DisplayModeManagerContainer26.method817(252, i_21_, (npc.plane), i_22_); if (class318_sub1_sub3_sub3 != null) { int i_23_ = (class318_sub1_sub3_sub3.anInt10290); if (class318_sub1_sub3_sub3 instanceof Npc) i_23_ += 2048; if ((class318_sub1_sub3_sub3.anInt10261) == 0 && class318_sub1_sub3_sub3.method2425(-1) != -1) { - Class258_Sub4.anIntArray8557[Class45.anInt669] = i_23_; - Class268.anIntArray3432[Class45.anInt669] = i_23_; - Class45.anInt669++; + AbstractGlTextureSub4.anIntArray8557[CacheStore.anInt669] = i_23_; + DisplayModeManagerContainer259.anIntArray3432[CacheStore.anInt669] = i_23_; + CacheStore.anInt669++; class318_sub1_sub3_sub3.anInt10261++; } - Class258_Sub4.anIntArray8557[Class45.anInt669] = i_23_; - Class268.anIntArray3432[Class45.anInt669] = npc.anInt10290 + 2048; - Class45.anInt669++; + AbstractGlTextureSub4.anIntArray8557[CacheStore.anInt669] = i_23_; + DisplayModeManagerContainer259.anIntArray3432[CacheStore.anInt669] = npc.anInt10290 + 2048; + CacheStore.anInt669++; class318_sub1_sub3_sub3.anInt10261++; } } } - Class34.method347(Class268.anIntArray3432, Class258_Sub4.anIntArray8557, 0, -22222, Class45.anInt669 - 1); + Component225.method347(DisplayModeManagerContainer259.anIntArray3432, AbstractGlTextureSub4.anIntArray8557, 0, -22222, CacheStore.anInt669 - 1); } public static final void main(String[] strings) { try { try { - if (strings.length != 6) Class55.method518("Argument count", (byte) 44); - Class135_Sub2.aClass161_4839 = new Class161(); - Class135_Sub2.aClass161_4839.anInt2143 = Integer.parseInt(strings[0]); - Class255.aClass161_3285 = new Class161(); - Class255.aClass161_3285.anInt2143 = Integer.parseInt(strings[1]); - Class348_Sub40_Sub35.aClass161_9443 = new Class161(); - Class348_Sub40_Sub35.aClass161_9443.anInt2143 = Integer.parseInt(strings[2]); - Class8.aClass364_165 = Class76.aClass364_1279; - if (strings[3].equals("live")) Class11.aClass231_196 = Class68.aClass231_1189; + if (strings.length != 6) JagTheoraDecoder.method518("Argument count", (byte) 44); + MenuOpener.aClass161_4839 = new DisplayModeManagerContainer254(); + MenuOpener.aClass161_4839.anInt2143 = Integer.parseInt(strings[0]); + ItemDefinitionProvider.aClass161_3285 = new DisplayModeManagerContainer254(); + ItemDefinitionProvider.aClass161_3285.anInt2143 = Integer.parseInt(strings[1]); + DefinitionSub35.aClass161_9443 = new DisplayModeManagerContainer254(); + DefinitionSub35.aClass161_9443.anInt2143 = Integer.parseInt(strings[2]); + DisplayModeManagerContainer345.aClass364_165 = DisplayModeManagerContainer154.LOCAL; + if (strings[3].equals("live")) Component53.currentBuildType = Component342.LIVE; else if (!strings[3].equals("rc")) { - if (strings[3].equals("wip")) Class11.aClass231_196 = Class288.aClass231_4953; - else Class55.method518("modewhat", (byte) 41); - } else Class11.aClass231_196 = Class348_Sub40_Sub20.aClass231_9263; - Class348_Sub33.anInt6967 = Class27.method315((byte) 103, strings[4]); - if (Class348_Sub33.anInt6967 == -1) { + if (strings[3].equals("wip")) Component53.currentBuildType = Component118.WIP; + else JagTheoraDecoder.method518("modewhat", (byte) 41); + } else Component53.currentBuildType = DefinitionSub20.RC; + ObjectDeserializer.languageId = DisplayModeManagerContainer91.languageIdFromName((byte) 103, strings[4]); + if (ObjectDeserializer.languageId == -1) { if (!strings[4].equals("english")) { - if (strings[4].equals("german")) Class348_Sub33.anInt6967 = 1; - else Class55.method518("language", (byte) -128); - } else Class348_Sub33.anInt6967 = 0; + if (strings[4].equals("german")) ObjectDeserializer.languageId = 1; + else JagTheoraDecoder.method518("language", (byte) -128); + } else ObjectDeserializer.languageId = 0; } - Class348_Sub37.aBoolean6997 = false; - Class289.aBoolean3697 = false; + NodeSub37.aBoolean6997 = false; + Component156.aBoolean3697 = false; if (!strings[5].equals("game0")) { if (!strings[5].equals("game1")) { if (!strings[5].equals("game2")) { - if (!strings[5].equals("game3")) Class55.method518("game", (byte) -124); - else Class348_Sub42_Sub8_Sub2.aClass230_10434 = Class239_Sub9.aClass230_5932; - } else Class348_Sub42_Sub8_Sub2.aClass230_10434 = Class286_Sub6.aClass230_6262; - } else Class348_Sub42_Sub8_Sub2.aClass230_10434 = Class14_Sub4.aClass230_8638; - } else Class348_Sub42_Sub8_Sub2.aClass230_10434 = Class10.aClass230_186; - Class161.aBoolean2151 = false; - Class239_Sub12.aString5966 = ""; - Class244.aLong4615 = 0L; - Class348_Sub23_Sub3.aString9043 = null; - Class202.anInt2670 = 0; - Class206.aBoolean4888 = Class155.aBoolean2110 = true; - Class375.aBoolean4540 = false; - Class251.anInt3234 = 0; - Class222.anInt2884 = (Class348_Sub42_Sub8_Sub2.aClass230_10434.anInt2987); - ha.anInt4583 = 0; - Class14_Sub1.aString8605 = null; + if (!strings[5].equals("game3")) JagTheoraDecoder.method518("game", (byte) -124); + else PacketReader.currentGameType = Component379.GAME4; + } else PacketReader.currentGameType = WaterShaderProgram.GAME3; + } else PacketReader.currentGameType = WorldNameText.STELLARDAWN; + } else PacketReader.currentGameType = RunescapeInfo.RUNESCAPE; + DisplayModeManagerContainer254.aBoolean2151 = false; + Component205.settingsCookie = ""; + Component283.aLong4615 = 0L; + OggStreamReader.aString9043 = null; + Connection.affiliateId = 0; + DisplayModeManagerContainer105.aBoolean4888 = Component177.aBoolean2110 = true; + Component121.aBoolean4540 = false; + Component111.anInt3234 = 0; + Component303.anInt2884 = (PacketReader.currentGameType.id); + GraphicsToolkit.anInt4583 = 0; + Component19.aString8605 = null; client var_client = new client(); - Class79.aClient1367 = var_client; - var_client.method96(Class11.aClass231_196.method1640(0) + 32, 1024, false, 634, 37, (Class348_Sub42_Sub8_Sub2.aClass230_10434.aString2985), 23499, 768); - Class52.aFrame4904.setLocation(40, 40); + NpcComposition.aClient1367 = var_client; + var_client.startFromFrame(Component53.currentBuildType.getId(0) + 32, 1024, false, 634, 37, (PacketReader.currentGameType.domain), 23499, 768); + RSACipher.aFrame4904.setLocation(40, 40); } catch (Exception exception) { - Class156.method1242(null, exception, 15004); + ClientErrorReporter.reportError(null, exception, 15004); } anInt5178++; } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "client.main(" + (strings != null ? "{...}" : "null") + ')'); + throw NpcDefinition.wrapThrowable(runtimeexception, "client.main(" + (strings != null ? "{...}" : "null") + ')'); } } - final void method99(byte i) { + /** Logic tick: call {@code processGameTick}, optionally catching toolkit-safe-mode failures. */ + final void pulseGame(byte i) { if (i != 93) anIntArray5176 = null; anInt5183++; - if (Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) == 2) { + if (Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) == 2) { try { - method114(i ^ 0x66); + processGameTick(i ^ 0x66); } catch (Throwable throwable) { - Class156.method1242((throwable.getMessage() + " (Recovered) " + method81((byte) 115)), throwable, 15004); - Class139.aBoolean1952 = true; - Class367_Sub10.method3553(false, (byte) 102, 0); + ClientErrorReporter.reportError((throwable.getMessage() + " (Recovered) " + method81((byte) 115)), throwable, 15004); + GpsOverlay.aBoolean1952 = true; + SoftwareFallbackShader.method3553(false, (byte) 102, 0); } - } else method114(123); + } else processGameTick(123); } public final void init() { anInt5180++; - if (this.method89(48)) { - Class135_Sub2.aClass161_4839 = new Class161(); - Class135_Sub2.aClass161_4839.anInt2143 = Integer.parseInt(this.getParameter("worldid")); - Class255.aClass161_3285 = new Class161(); - Class255.aClass161_3285.anInt2143 = Integer.parseInt(this.getParameter("lobbyid")); - Class255.aClass161_3285.aString2147 = this.getParameter("lobbyaddress"); - Class348_Sub40_Sub35.aClass161_9443 = new Class161(); - Class348_Sub40_Sub35.aClass161_9443.anInt2143 = Integer.parseInt(this.getParameter("demoid")); - Class348_Sub40_Sub35.aClass161_9443.aString2147 = this.getParameter("demoaddress"); - Class8.aClass364_165 = (Class348_Sub8.method2776((byte) -93, Integer.parseInt(this.getParameter("modewhere")))); - if (Class76.aClass364_1279 == Class8.aClass364_165) { - Class8.aClass364_165 = Class108.aClass364_1657; + if (this.validateHost(48)) { + MenuOpener.aClass161_4839 = new DisplayModeManagerContainer254(); + MenuOpener.aClass161_4839.anInt2143 = Integer.parseInt(this.getParameter("worldid")); + ItemDefinitionProvider.aClass161_3285 = new DisplayModeManagerContainer254(); + ItemDefinitionProvider.aClass161_3285.anInt2143 = Integer.parseInt(this.getParameter("lobbyid")); + ItemDefinitionProvider.aClass161_3285.aString2147 = this.getParameter("lobbyaddress"); + DefinitionSub35.aClass161_9443 = new DisplayModeManagerContainer254(); + DefinitionSub35.aClass161_9443.anInt2143 = Integer.parseInt(this.getParameter("demoid")); + DefinitionSub35.aClass161_9443.aString2147 = this.getParameter("demoaddress"); + DisplayModeManagerContainer345.aClass364_165 = (NodeSub8.method2776((byte) -93, Integer.parseInt(this.getParameter("modewhere")))); + if (DisplayModeManagerContainer154.LOCAL == DisplayModeManagerContainer345.aClass364_165) { + DisplayModeManagerContainer345.aClass364_165 = Component83.WTWIP; } - else if (!Class315.method2354(Class8.aClass364_165, -1) && Class55_Sub1.aClass364_5271 != Class8.aClass364_165) { - Class8.aClass364_165 = Class55_Sub1.aClass364_5271; + else if (!Component168.method2354(DisplayModeManagerContainer345.aClass364_165, -1) && Component326.LIVE != DisplayModeManagerContainer345.aClass364_165) { + DisplayModeManagerContainer345.aClass364_165 = Component326.LIVE; } - Class11.aClass231_196 = (Class237.method1677(-121, Integer.parseInt(this.getParameter("modewhat")))); - if (Class11.aClass231_196 != Class288.aClass231_4953 && Class11.aClass231_196 != Class348_Sub40_Sub20.aClass231_9263 && Class68.aClass231_1189 != Class11.aClass231_196) Class11.aClass231_196 = Class68.aClass231_1189; + Component53.currentBuildType = (DisplayModeManagerContainer87.getById(-121, Integer.parseInt(this.getParameter("modewhat")))); + if (Component53.currentBuildType != Component118.WIP && Component53.currentBuildType != DefinitionSub20.RC && Component342.LIVE != Component53.currentBuildType) Component53.currentBuildType = Component342.LIVE; try { - Class348_Sub33.anInt6967 = Integer.parseInt(this.getParameter("lang")); + ObjectDeserializer.languageId = Integer.parseInt(this.getParameter("lang")); } catch (Exception exception) { - Class348_Sub33.anInt6967 = 0; + ObjectDeserializer.languageId = 0; } String string = this.getParameter("objecttag"); - Class348_Sub37.aBoolean6997 = string != null && string.equals("1"); + NodeSub37.aBoolean6997 = string != null && string.equals("1"); String string_24_ = this.getParameter("js"); - Class289.aBoolean3697 = string_24_ != null && string_24_.equals("1"); + Component156.aBoolean3697 = string_24_ != null && string_24_.equals("1"); String string_25_ = this.getParameter("advert"); - Class318_Sub1_Sub5.aBoolean8773 = string_25_ != null && string_25_.equals("1"); + Component203.aBoolean8773 = string_25_ != null && string_25_.equals("1"); String string_26_ = this.getParameter("game"); if (string_26_ != null) { - if (string_26_.equals("0")) Class348_Sub42_Sub8_Sub2.aClass230_10434 = Class10.aClass230_186; - else if (string_26_.equals("1")) Class348_Sub42_Sub8_Sub2.aClass230_10434 = Class14_Sub4.aClass230_8638; + if (string_26_.equals("0")) PacketReader.currentGameType = RunescapeInfo.RUNESCAPE; + else if (string_26_.equals("1")) PacketReader.currentGameType = WorldNameText.STELLARDAWN; else if (!string_26_.equals("2")) { - if (string_26_.equals("3")) Class348_Sub42_Sub8_Sub2.aClass230_10434 = Class239_Sub9.aClass230_5932; - } else Class348_Sub42_Sub8_Sub2.aClass230_10434 = Class286_Sub6.aClass230_6262; + if (string_26_.equals("3")) PacketReader.currentGameType = Component379.GAME4; + } else PacketReader.currentGameType = WaterShaderProgram.GAME3; } try { - Class202.anInt2670 = Integer.parseInt(this.getParameter("affid")); + Connection.affiliateId = Integer.parseInt(this.getParameter("affid")); } catch (Exception exception) { - Class202.anInt2670 = 0; + Connection.affiliateId = 0; } - Class116.aString1761 = this.getParameter("quiturl"); - Class239_Sub12.aString5966 = this.getParameter("settings"); - if (Class239_Sub12.aString5966 == null) Class239_Sub12.aString5966 = ""; - Class330.aBoolean4127 = "1".equals(this.getParameter("under")); + Component262.quitUrl = this.getParameter("quiturl"); + Component205.settingsCookie = this.getParameter("settings"); + if (Component205.settingsCookie == null) Component205.settingsCookie = ""; + Component301.aBoolean4127 = "1".equals(this.getParameter("under")); String string_27_ = this.getParameter("country"); if (string_27_ != null) { try { - ha.anInt4583 = Integer.parseInt(string_27_); + GraphicsToolkit.anInt4583 = Integer.parseInt(string_27_); } catch (Exception exception) { - ha.anInt4583 = 0; + GraphicsToolkit.anInt4583 = 0; } } - Class222.anInt2884 = Integer.parseInt(this.getParameter("colourid")); - if (Class222.anInt2884 < 0 || Class135.aColorArray1928.length <= Class222.anInt2884) Class222.anInt2884 = 0; - if (Integer.parseInt(this.getParameter("sitesettings_member")) == 1) Class206.aBoolean4888 = Class155.aBoolean2110 = true; + Component303.anInt2884 = Integer.parseInt(this.getParameter("colourid")); + if (Component303.anInt2884 < 0 || Component137.aColorArray1928.length <= Component303.anInt2884) Component303.anInt2884 = 0; + if (Integer.parseInt(this.getParameter("sitesettings_member")) == 1) DisplayModeManagerContainer105.aBoolean4888 = Component177.aBoolean2110 = true; String string_28_ = this.getParameter("frombilling"); - if (string_28_ != null && string_28_.equals("true")) Class375.aBoolean4540 = true; - Class348_Sub23_Sub3.aString9043 = this.getParameter("sskey"); - if (Class348_Sub23_Sub3.aString9043 != null && Class348_Sub23_Sub3.aString9043.length() < 2) Class348_Sub23_Sub3.aString9043 = null; + if (string_28_ != null && string_28_.equals("true")) Component121.aBoolean4540 = true; + OggStreamReader.aString9043 = this.getParameter("sskey"); + if (OggStreamReader.aString9043 != null && OggStreamReader.aString9043.length() < 2) OggStreamReader.aString9043 = null; String string_29_ = this.getParameter("force64mb"); - if (string_29_ != null && string_29_.equals("true")) Class161.aBoolean2151 = true; + if (string_29_ != null && string_29_.equals("true")) DisplayModeManagerContainer254.aBoolean2151 = true; String string_30_ = this.getParameter("worldflags"); if (string_30_ != null) { try { - Class251.anInt3234 = Integer.parseInt(string_30_); + Component111.anInt3234 = Integer.parseInt(string_30_); } catch (Exception exception) { /* empty */ } @@ -1013,31 +1023,34 @@ else if (!string_26_.equals("2")) { String string_31_ = this.getParameter("userFlow"); if (string_31_ != null) { try { - Class244.aLong4615 = Long.parseLong(string_31_); + Component283.aLong4615 = Long.parseLong(string_31_); } catch (NumberFormatException numberformatexception) { /* empty */ } } - Class14_Sub1.aString8605 = this.getParameter("additionalInfo"); - if (Class14_Sub1.aString8605 != null && Class14_Sub1.aString8605.length() > 50) Class14_Sub1.aString8605 = null; - if (Class10.aClass230_186 == Class348_Sub42_Sub8_Sub2.aClass230_10434) { - ha_Sub2.anInt7666 = 503; - Class92.anInt1524 = 765; - } else if (Class348_Sub42_Sub8_Sub2.aClass230_10434 == Class14_Sub4.aClass230_8638) { - Class92.anInt1524 = 640; - ha_Sub2.anInt7666 = 480; + Component19.aString8605 = this.getParameter("additionalInfo"); + if (Component19.aString8605 != null && Component19.aString8605.length() > 50) Component19.aString8605 = null; + if (RunescapeInfo.RUNESCAPE == PacketReader.currentGameType) { + GlToolkitSub2.anInt7666 = 503; + DisplayModeManagerContainer23.anInt1524 = 765; + } else if (PacketReader.currentGameType == WorldNameText.STELLARDAWN) { + DisplayModeManagerContainer23.anInt1524 = 640; + GlToolkitSub2.anInt7666 = 480; } - Class79.aClient1367 = this; - this.method95(Class92.anInt1524, 634, ha_Sub2.anInt7666, Class11.aClass231_196.method1640(0) + 32, 37, Class348_Sub42_Sub8_Sub2.aClass230_10434.aString2985, 50); + NpcComposition.aClient1367 = this; + this.startFromApplet(DisplayModeManagerContainer23.anInt1524, 634, GlToolkitSub2.anInt7666, Component53.currentBuildType.getId(0) + 32, 37, PacketReader.currentGameType.domain, 50); } } - static final void method107(Class46[] class46s, int i, int i_32_, int i_33_, int i_34_, int i_35_, int i_36_, int i_37_, int i_38_, int i_39_, int i_40_, int i_41_) { + static final void method107(DisplayModeManagerContainer57[] class46s, int i, int i_32_, int i_33_, int i_34_, int i_35_, int i_36_, int i_37_, int i_38_, int i_39_, int i_40_, int i_41_) { for (int i_42_ = 0; i_42_ < class46s.length; i_42_++) { - Class46 class46 = class46s[i_42_]; + DisplayModeManagerContainer57 class46 = class46s[i_42_]; if (class46 != null && class46.anInt834 == i) { int i_43_ = class46.anInt800 + i_36_; int i_44_ = class46.anInt750 + i_37_; + int rawY = i_44_; + i_44_ -= MobileKeyboard.liftPx(class46, i_43_, i_44_); + i_44_ -= MobileKeyboard.loginHitShift(class46); int i_45_; int i_46_; int i_47_; @@ -1059,119 +1072,119 @@ static final void method107(Class46[] class46s, int i, int i_32_, int i_33_, int i_47_ = Math.min(i_49_, i_34_); i_48_ = Math.min(i_50_, i_35_); } - if (class46.anInt774 != 0 && !class46.aBoolean682 && method105(class46).anInt7098 == 0 && class46 != Class331.aClass46_4130 && class46.anInt765 != Class290.anInt3717 && (class46.anInt765 != Class348_Sub47.anInt7125)) { - if (i_45_ < i_47_ && i_46_ < i_48_) Class18.method273(class46, -2835); + if (class46.anInt774 != 0 && !class46.aBoolean682 && method105(class46).anInt7098 == 0 && class46 != Component374.aClass46_4130 && class46.anInt765 != Component200.anInt3717 && (class46.anInt765 != ParticleSystem.anInt7125)) { + if (i_45_ < i_47_ && i_46_ < i_48_) DisplayModeManagerContainer220.method273(class46, -2835); } else if (!method111(class46)) { int i_51_ = 0; int i_52_ = 0; - if (Class59_Sub1.aBoolean5300) { - i_51_ = s_Sub3.method4008((byte) -128); - i_52_ = Class16.method260(false); + if (Component210.gameCanvasAttached) { + i_51_ = BufferCacheSub3.method4008((byte) -128); + i_52_ = Component110.method260(false); } - if (class46 == Class289.aClass46_3701 && Exception_Sub1.method141(Class289.aClass46_3701, (byte) 125) != null) { - Class50_Sub1.aBoolean5221 = true; - ha_Sub3.anInt8001 = i_43_; - Class348_Sub40_Sub13.anInt9203 = i_44_; + if (class46 == Component156.aClass46_3701 && Exception_Sub1.method141(Component156.aClass46_3701, (byte) 125) != null) { + Cp1252Decoder.aBoolean5221 = true; + GlToolkitSub3.anInt8001 = i_43_; + DefinitionSub13.anInt9203 = i_44_; } if (class46.aBoolean676 || i_45_ < i_47_ && i_46_ < i_48_) { if (class46.aBoolean776 && i_40_ >= i_45_ && i_41_ >= i_46_ && i_40_ < i_47_ && i_41_ < i_48_) { - for (Class348_Sub36 class348_sub36 = (Class348_Sub36) Class348_Sub1_Sub2.aClass262_8810.method1995(4); class348_sub36 != null; class348_sub36 = ((Class348_Sub36) Class348_Sub1_Sub2.aClass262_8810.method1990((byte) 71))) { + for (NodeSub36 class348_sub36 = (NodeSub36) NodeSub1Sub2.aClass262_8810.first(4); class348_sub36 != null; class348_sub36 = ((NodeSub36) NodeSub1Sub2.aClass262_8810.next((byte) 71))) { if (class348_sub36.aBoolean6993) { - class348_sub36.method2715((byte) 65); + class348_sub36.unlink((byte) 65); class348_sub36.aClass46_6989.aBoolean737 = false; } } - if (Class318_Sub1.anInt6392 == 0) { - Class289.aClass46_3701 = null; - Class331.aClass46_4130 = null; + if (RenderableObject.anInt6392 == 0) { + Component156.aClass46_3701 = null; + Component374.aClass46_4130 = null; } - Class348_Sub42.anInt7059 = 0; - Class246.aBoolean3174 = false; - Class237.aBoolean3103 = false; - if (!Class5_Sub1.aBoolean8335) Class64_Sub2.method661((byte) 111); + HashNode.anInt7059 = 0; + Component163.aBoolean3174 = false; + DisplayModeManagerContainer87.aBoolean3103 = false; + if (!Component364.aBoolean8335) DisplayModeManagerContainer190.method661((byte) 111); } boolean bool; - bool = (Class258_Sub4.aClass373_8552.method3597(true) + i_51_) >= i_45_ && Class258_Sub4.aClass373_8552.method3594((byte) 89) + i_52_ >= i_46_ && (Class258_Sub4.aClass373_8552.method3597(true) + i_51_) < i_47_ && Class258_Sub4.aClass373_8552.method3594((byte) 74) + i_52_ < i_48_; + bool = (AbstractGlTextureSub4.mouseHandler.getCursorX(true) + i_51_) >= i_45_ && AbstractGlTextureSub4.mouseHandler.getCursorY((byte) 89) + i_52_ >= i_46_ && (AbstractGlTextureSub4.mouseHandler.getCursorX(true) + i_51_) < i_47_ && AbstractGlTextureSub4.mouseHandler.getCursorY((byte) 74) + i_52_ < i_48_; if (!r.aBoolean9722 && bool) { - if (class46.anInt719 >= 0) Class362.anInt4458 = class46.anInt719; - else if (class46.aBoolean776) Class362.anInt4458 = -1; + if (class46.anInt719 >= 0) Component149.anInt4458 = class46.anInt719; + else if (class46.aBoolean776) Component149.anInt4458 = -1; } if (class46.aBoolean737 && (i == 48889856 || i == 35913731)) { - Class320.overGameScreen = true; + Component233.overGameScreen = true; } - if (!Class5_Sub1.aBoolean8335 && i_40_ >= i_45_ && i_41_ >= i_46_ && i_40_ < i_47_ && i_41_ < i_48_) Class239_Sub17.method1797(i_41_ - i_44_, i_40_ - i_43_, class46, (byte) -95); + if (!Component364.aBoolean8335 && i_40_ >= i_45_ && i_41_ >= i_46_ && i_40_ < i_47_ && i_41_ < i_48_) Component66.method1797(i_41_ - i_44_, i_40_ - i_43_, class46, (byte) -95); boolean bool_53_ = false; - if (Class258_Sub4.aClass373_8552.method3595(-91) && bool) bool_53_ = true; + if (AbstractGlTextureSub4.mouseHandler.isLeftButtonDown(-91) && bool) bool_53_ = true; boolean bool_54_ = false; - Class348_Sub45 class348_sub45 = ((Class348_Sub45) Class318_Sub1_Sub3.aClass262_8744.method1995(4)); - if (class348_sub45 != null && class348_sub45.method3310(109) == 0 && (class348_sub45.method3308((byte) -128) + i_51_ >= i_45_) && class348_sub45.method3311(33) + i_52_ >= i_46_ && (class348_sub45.method3308((byte) -127) + i_51_ < i_47_) && class348_sub45.method3311(8) + i_52_ < i_48_) + NodeSub45 class348_sub45 = ((NodeSub45) Component327.aClass262_8744.first(4)); + if (class348_sub45 != null && class348_sub45.getEventType(109) == 0 && (class348_sub45.getX((byte) -128) + i_51_ >= i_45_) && class348_sub45.getY(33) + i_52_ >= i_46_ && (class348_sub45.getX((byte) -127) + i_51_ < i_47_) && class348_sub45.getY(8) + i_52_ < i_48_) bool_54_ = true; - if (class46.aByteArray746 != null && !Class348_Sub42_Sub16_Sub2.method3263(true)) { + if (class46.aByteArray746 != null && !HashNodeSub16Sub2.isDevConsoleOpen(true)) { for (int i_55_ = 0; (i_55_ < class46.aByteArray746.length); i_55_++) { - if (!Class182.aClass346_2449.method2696(class46.aByteArray746[i_55_], -122)) { + if (!Component280.aClass346_2449.isKeyDown(class46.aByteArray746[i_55_], -122)) { if (class46.anIntArray801 != null) class46.anIntArray801[i_55_] = 0; - } else if ((class46.anIntArray801 == null) || (Class367_Sub11.anInt7396 >= (class46.anIntArray801[i_55_]))) { + } else if ((class46.anIntArray801 == null) || (OpenGlShader.clientCycle >= (class46.anIntArray801[i_55_]))) { byte i_56_ = (class46.aByteArray832[i_55_]); - if (i_56_ == 0 || (((i_56_ & 0x8) == 0 || (!Class182.aClass346_2449.method2696(86, -124) && !Class182.aClass346_2449.method2696(82, -123) && !(Class182.aClass346_2449.method2696(81, -122)))) && ((i_56_ & 0x2) == 0 || Class182.aClass346_2449.method2696(86, -127)) && ((i_56_ & 0x1) == 0 || Class182.aClass346_2449.method2696(82, -124)) && ((i_56_ & 0x4) == 0 || (Class182.aClass346_2449.method2696(81, -126))))) { - if (i_55_ < 10) Class348_Sub9.method2780(-1, "", (byte) 122, i_55_ + 1, class46.anInt830); + if (i_56_ == 0 || (((i_56_ & 0x8) == 0 || (!Component280.aClass346_2449.isKeyDown(86, -124) && !Component280.aClass346_2449.isKeyDown(82, -123) && !(Component280.aClass346_2449.isKeyDown(81, -122)))) && ((i_56_ & 0x2) == 0 || Component280.aClass346_2449.isKeyDown(86, -127)) && ((i_56_ & 0x1) == 0 || Component280.aClass346_2449.isKeyDown(82, -124)) && ((i_56_ & 0x4) == 0 || (Component280.aClass346_2449.isKeyDown(81, -126))))) { + if (i_55_ < 10) SceneNode.method2780(-1, "", (byte) 122, i_55_ + 1, class46.anInt830); else if (i_55_ == 10) { - Class341.method2678(-2049); - Class348_Sub44 class348_sub44 = method105(class46); - Class339.method2666(class348_sub44.anInt7093, class348_sub44.method3307(110), class46, (byte) 21); - Class28.aString5001 = Class239_Sub8.method1753(0, class46); - if (Class28.aString5001 == null) Class28.aString5001 = "Null"; - Class28.aString5000 = ((class46.aString752) + ""); + DisplayModeManagerContainer196.method2678(-2049); + NodeSub44 class348_sub44 = method105(class46); + NewsFetcher.method2666(class348_sub44.anInt7093, class348_sub44.method3307(110), class46, (byte) 21); + DisplayModeManagerContainer332.aString5001 = DisplayModeManagerContainer295.method1753(0, class46); + if (DisplayModeManagerContainer332.aString5001 == null) DisplayModeManagerContainer332.aString5001 = "Null"; + DisplayModeManagerContainer332.aString5000 = ((class46.aString752) + ""); } int i_57_ = (class46.anIntArray707[i_55_]); if (class46.anIntArray801 == null) class46.anIntArray801 = (new int [(class46.aByteArray746).length]); - if (i_57_ != 0) class46.anIntArray801[i_55_] = (Class367_Sub11.anInt7396 + i_57_); + if (i_57_ != 0) class46.anIntArray801[i_55_] = (OpenGlShader.clientCycle + i_57_); else class46.anIntArray801[i_55_] = 2147483647; } } } } - if (bool_54_) Class100.method887(class46, (i_51_ + class348_sub45.method3308((byte) -127) - i_43_), (i_52_ + class348_sub45.method3311(-114) - i_44_), 2147483647); - if (Class289.aClass46_3701 != null && Class289.aClass46_3701 != class46 && bool && method105(class46).method3302(17356)) Class318_Sub1_Sub3_Sub4.aClass46_10336 = class46; - if (class46 == Class331.aClass46_4130) { - Class127_Sub1.aBoolean8386 = true; - Class348_Sub40_Sub37.anInt9461 = i_43_; - Class40.anInt558 = i_44_; + if (bool_54_) Component265.method887(class46, (i_51_ + class348_sub45.getX((byte) -127) - i_43_), (i_52_ + class348_sub45.getY(-114) - i_44_), 2147483647); + if (Component156.aClass46_3701 != null && Component156.aClass46_3701 != class46 && bool && method105(class46).method3302(17356)) DisplayModeManagerContainer104.aClass46_10336 = class46; + if (class46 == Component374.aClass46_4130) { + Component162.aBoolean8386 = true; + DefinitionSub37.anInt9461 = i_43_; + DisplayModeManagerContainer172.anInt558 = i_44_; } if (class46.aBoolean682 || class46.anInt765 != 0) { - if (bool && Class98.anInt1565 != 0 && (class46.anObjectArray803 != null)) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); + if (bool && Component122.mouseWheelDelta != 0 && (class46.anObjectArray803 != null)) { + NodeSub36 class348_sub36 = new NodeSub36(); class348_sub36.aBoolean6993 = true; class348_sub36.aClass46_6989 = class46; - class348_sub36.anInt6995 = Class98.anInt1565; + class348_sub36.anInt6995 = Component122.mouseWheelDelta; class348_sub36.anObjectArray6987 = class46.anObjectArray803; - Class348_Sub1_Sub2.aClass262_8810.method1999(class348_sub36, -20180); - Class320.overGameScreen = false; + NodeSub1Sub2.aClass262_8810.addTail(class348_sub36, -20180); + Component233.overGameScreen = false; } - if (Class289.aClass46_3701 != null || Class5_Sub1.aBoolean8335 || ((class46.anInt765 != Class348_Sub45.anInt7102) && Class348_Sub42.anInt7059 > 0)) { + if (Component156.aClass46_3701 != null || Component364.aBoolean8335 || ((class46.anInt765 != NodeSub45.anInt7102) && HashNode.anInt7059 > 0)) { bool_54_ = false; bool_53_ = false; bool = false; } if (class46.anInt765 != 0) { - if ((class46.anInt765 == Class239_Sub10.anInt5943) || (class46.anInt765 == Class312.anInt3932)) { - Class348_Sub1.aClass46_6561 = class46; - if (Class259.aClass305_3304 != null) Class259.aClass305_3304.method2292(123, Class348_Sub8.aHa6654, class46.anInt789); - if (class46.anInt765 == Class239_Sub10.anInt5943) { - if (!Class5_Sub1.aBoolean8335 && i_40_ >= i_45_ && i_41_ >= i_46_ && i_40_ < i_47_ && i_41_ < i_48_) { - Class239_Sub24.method1823(Class348_Sub8.aHa6654, i_38_, i_39_, (byte) -50); - for (Class318_Sub6 class318_sub6 = ((Class318_Sub6) InputStream_Sub2.aClass243_83.method1872(8)); class318_sub6 != null; class318_sub6 = ((Class318_Sub6) (InputStream_Sub2.aClass243_83.method1878((byte) -67)))) { + if ((class46.anInt765 == Component98.anInt5943) || (class46.anInt765 == Component37.anInt3932)) { + NodeSub1.aClass46_6561 = class46; + if (Component293.aClass305_3304 != null) Component293.aClass305_3304.method2292(123, NodeSub8.toolkit, class46.anInt789); + if (class46.anInt765 == Component98.anInt5943) { + if (!Component364.aBoolean8335 && i_40_ >= i_45_ && i_41_ >= i_46_ && i_40_ < i_47_ && i_41_ < i_48_) { + ColoredText.method1823(NodeSub8.toolkit, i_38_, i_39_, (byte) -50); + for (RenderableSub6 class318_sub6 = ((RenderableSub6) InputStream_Sub2.aClass243_83.method1872(8)); class318_sub6 != null; class318_sub6 = ((RenderableSub6) (InputStream_Sub2.aClass243_83.method1878((byte) -67)))) { if (i_40_ >= (class318_sub6.anInt6429) && (i_40_ < (class318_sub6.anInt6426)) && (i_41_ >= (class318_sub6.anInt6427)) && (i_41_ < (class318_sub6.anInt6425))) { - Class64_Sub2.method661((byte) 107); - Class239_Sub13.method1777(-3, (class318_sub6.aClass318_Sub1_Sub3_Sub3_6431)); + DisplayModeManagerContainer190.method661((byte) 107); + Component266.method1777(-3, (class318_sub6.aClass318_Sub1_Sub3_Sub3_6431)); } } } continue; } } - if (class46.anInt765 == Class290.anInt3717) { - if (class46.method425((Class348_Sub8.aHa6654), (byte) 3) != null && (Class259.anInt3306 == 0 || Class259.anInt3306 == 3) && !Class5_Sub1.aBoolean8335 && i_40_ >= i_45_ && i_41_ >= i_46_ && i_40_ < i_47_ && i_41_ < i_48_) { + if (class46.anInt765 == Component200.anInt3717) { + if (class46.method425((NodeSub8.toolkit), (byte) 3) != null && (Component293.anInt3306 == 0 || Component293.anInt3306 == 3) && !Component364.aBoolean8335 && i_40_ >= i_45_ && i_41_ >= i_46_ && i_40_ < i_47_ && i_41_ < i_48_) { int i_58_ = i_40_ - i_43_; int i_59_ = i_41_ - i_44_; int i_60_ = (class46.anIntArray677[i_59_]); @@ -1179,347 +1192,348 @@ else if (i_55_ == 10) { i_58_ -= (class46.anInt709) / 2; i_59_ -= (class46.anInt789) / 2; int i_61_; - if (Class348_Sub40_Sub21.anInt9282 == 4) i_61_ = ((int) (Class314.aFloat3938) & 0x3fff); - else i_61_ = (((int) (Class314.aFloat3938) + r_Sub2.anInt10483) & 0x3fff); - int i_62_ = (Class70.anIntArray1207[i_61_]); - int i_63_ = (Class70.anIntArray1204[i_61_]); - if (Class348_Sub40_Sub21.anInt9282 != 4) { - i_62_ = (i_62_ * ((Class348_Sub49_Sub1.anInt9750) + 256)) >> 8; - i_63_ = (i_63_ * ((Class348_Sub49_Sub1.anInt9750) + 256)) >> 8; + if (DefinitionSub21.cameraMode == 4) i_61_ = ((int) (Component112.cameraYaw) & 0x3fff); + else i_61_ = (((int) (Component112.cameraYaw) + CacheNodeSub2.anInt10483) & 0x3fff); + int i_62_ = (DisplayModeManagerContainer88.anIntArray1207[i_61_]); + int i_63_ = (DisplayModeManagerContainer88.anIntArray1204[i_61_]); + if (DefinitionSub21.cameraMode != 4) { + i_62_ = (i_62_ * ((Component182.anInt9750) + 256)) >> 8; + i_63_ = (i_63_ * ((Component182.anInt9750) + 256)) >> 8; } int i_64_ = ((i_59_ * i_62_ + i_58_ * i_63_) >> 14); int i_65_ = ((i_59_ * i_63_ - i_58_ * i_62_) >> 14); int i_66_; int i_67_; - if (Class348_Sub40_Sub21.anInt9282 == 4) { - i_66_ = (Class348_Sub6.anInt6633 >> 9) + (i_64_ >> 2); - i_67_ = (Class348_Sub7.anInt6652 >> 9) - (i_65_ >> 2); + if (DefinitionSub21.cameraMode == 4) { + i_66_ = (NodederUtil.anInt6633 >> 9) + (i_64_ >> 2); + i_67_ = (NodeSub7.anInt6652 >> 9) - (i_65_ >> 2); } else { - int i_68_ = ((Class132.aPlayer_1907.method2436((byte) 51)) - 1) * 256; - i_66_ = ((Class132.aPlayer_1907.x) - i_68_ >> 9) + (i_64_ >> 2); - i_67_ = ((Class132.aPlayer_1907.y) - i_68_ >> 9) - (i_65_ >> 2); + int i_68_ = ((Component72.localPlayer.method2436((byte) 51)) - 1) * 256; + i_66_ = ((Component72.localPlayer.x) - i_68_ >> 9) + (i_64_ >> 2); + i_67_ = ((Component72.localPlayer.y) - i_68_ >> 9) - (i_65_ >> 2); } - if (r.aBoolean9722 && ((Class38.anInt500 & 0x40) != 0)) { - Class46 class46_69_ = (Class348_Sub22.method2957(Class9.anInt169, (byte) -54, Class149.anInt2046)); - if (class46_69_ != null) Class50_Sub3.method466(false, " ->", i_67_, (byte) -109, true, i_66_, (class46.anInt812), true, 15, ((class46.anInt704) << 0) | (class46.anInt830), Class28.aString5001, 1L, (Class348_Sub49_Sub1.anInt9747)); - else Class341.method2678(-2049); + if (r.aBoolean9722 && ((PauseTimer.anInt500 & 0x40) != 0)) { + DisplayModeManagerContainer57 class46_69_ = (NodeSub22.method2957(JaclibLoader.anInt169, (byte) -54, Component90.anInt2046)); + if (class46_69_ != null) DisplayModeManagerContainer368.addMenuEntry(false, " ->", i_67_, (byte) -109, true, i_66_, (class46.anInt812), true, 15, ((class46.anInt704) << 0) | (class46.anInt830), DisplayModeManagerContainer332.aString5001, 1L, (Component182.anInt9747)); + else DisplayModeManagerContainer196.method2678(-2049); } else { - if ((Class348_Sub42_Sub8_Sub2.aClass230_10434) == (Class14_Sub4.aClass230_8638)) Class50_Sub3.method466(false, "", i_67_, (byte) -116, true, i_66_, -1, true, 12, 0L, (Class274.aClass274_3510.method2063((Class348_Sub33.anInt6967), 544)), 1L, -1); - Class50_Sub3.method466(false, "", i_67_, (byte) -93, true, i_66_, -1, true, 19, 0L, Class239_Sub4.aString5882, 1L, Class333.anInt4144); + if ((PacketReader.currentGameType) == (WorldNameText.STELLARDAWN)) DisplayModeManagerContainer368.addMenuEntry(false, "", i_67_, (byte) -116, true, i_66_, -1, true, 12, 0L, (FriendsIgnoreList.aClass274_3510.getLocalized((ObjectDeserializer.languageId), 544)), 1L, -1); + DisplayModeManagerContainer368.addMenuEntry(false, "", i_67_, (byte) -93, true, i_66_, -1, true, 19, 0L, Component323.aString5882, 1L, Component79.anInt4144); } } } continue; } - if (class46.anInt765 == Class348_Sub45.anInt7102) { - Class168.aClass46_2249 = class46; - if (bool) Class246.aBoolean3174 = true; + if (class46.anInt765 == NodeSub45.anInt7102) { + Component39.aClass46_2249 = class46; + if (bool) Component163.aBoolean3174 = true; if (bool_54_) { - int i_70_ = (int) ((double) (i_51_ + (class348_sub45.method3308((byte) -127)) - i_43_ - ((class46.anInt709) / 2)) * 2.0 / (double) (Class75.aFloat1247)); - int i_71_ = (int) -((double) (i_52_ + (class348_sub45.method3311(-111)) - i_44_ - ((class46.anInt789) / 2)) * 2.0 / (double) (Class75.aFloat1247)); - int i_72_ = (Class348_Sub36.anInt6992 + i_70_ + Class75.anInt1266); - int i_73_ = (Class245.anInt3170 + i_71_ + Class75.anInt1263); - Class348_Sub42_Sub14 class348_sub42_sub14 = Class163.method1269(-17096); + int i_70_ = (int) ((double) (i_51_ + (class348_sub45.getX((byte) -127)) - i_43_ - ((class46.anInt709) / 2)) * 2.0 / (double) (DisplayModeManagerContainer229.aFloat1247)); + int i_71_ = (int) -((double) (i_52_ + (class348_sub45.getY(-111)) - i_44_ - ((class46.anInt789) / 2)) * 2.0 / (double) (DisplayModeManagerContainer229.aFloat1247)); + int i_72_ = (NodeSub36.anInt6992 + i_70_ + DisplayModeManagerContainer229.anInt1266); + int i_73_ = (DebugOverlay.anInt3170 + i_71_ + DisplayModeManagerContainer229.anInt1263); + HashNodeSub14 class348_sub42_sub14 = ImageTagText.method1269(-17096); if (class348_sub42_sub14 != null) { int[] is = new int[3]; class348_sub42_sub14.method3239(true, i_73_, i_72_, is); if (is != null) { - if (Class182.aClass346_2449.method2696(82, -128) && (Class192.anInt2581 > 0)) { - Class361.method3502(is[2], 2, is[0], is[1]); + if (Component280.aClass346_2449.isKeyDown(82, -128) && (Component353.anInt2581 > 0)) { + TeleportHandler.method3502(is[2], 2, is[0], is[1]); continue; } - Class237.aBoolean3103 = true; - Class348_Sub40_Sub26.anInt9349 = is[0]; + DisplayModeManagerContainer87.aBoolean3103 = true; + DefinitionSub26.anInt9349 = is[0]; InputStream_Sub2.anInt85 = is[1]; - Class79.anInt1404 = is[2]; + NpcComposition.anInt1404 = is[2]; } - Class348_Sub42.anInt7059 = 1; - Class348_Sub17.aBoolean6788 = false; - Class318_Sub4.anInt6411 = Class258_Sub4.aClass373_8552.method3597(true); - Class219.anInt2872 = Class258_Sub4.aClass373_8552.method3594((byte) 72); + HashNode.anInt7059 = 1; + NpcDefinition.aBoolean6788 = false; + RenderableSub4.anInt6411 = AbstractGlTextureSub4.mouseHandler.getCursorX(true); + Component386.anInt2872 = AbstractGlTextureSub4.mouseHandler.getCursorY((byte) 72); } - } else if (bool_53_ && (Class348_Sub42.anInt7059 > 0)) { - if (Class348_Sub42.anInt7059 == 1 && ((Class318_Sub4.anInt6411 != Class258_Sub4.aClass373_8552.method3597(true)) || (Class219.anInt2872 != (Class258_Sub4.aClass373_8552.method3594((byte) 117))))) { - Class183.anInt2464 = Class348_Sub36.anInt6992; - s_Sub2.anInt8237 = Class245.anInt3170; - Class348_Sub42.anInt7059 = 2; + } else if (bool_53_ && (HashNode.anInt7059 > 0)) { + if (HashNode.anInt7059 == 1 && ((RenderableSub4.anInt6411 != AbstractGlTextureSub4.mouseHandler.getCursorX(true)) || (Component386.anInt2872 != (AbstractGlTextureSub4.mouseHandler.getCursorY((byte) 117))))) { + Component191.anInt2464 = NodeSub36.anInt6992; + BufferCacheSub2.anInt8237 = DebugOverlay.anInt3170; + HashNode.anInt7059 = 2; } - if (Class348_Sub42.anInt7059 == 2) { - Class348_Sub17.aBoolean6788 = true; - Class64_Sub3.method689((byte) -59, (Class183.anInt2464 + (int) ((double) ((Class318_Sub4.anInt6411) - (Class258_Sub4.aClass373_8552.method3597(true))) * 2.0 / (double) (Class75.aFloat1249)))); - Class286_Sub8.method2170((s_Sub2.anInt8237 - (int) ((double) ((Class219.anInt2872) - (Class258_Sub4.aClass373_8552.method3594((byte) 83))) * 2.0 / (double) (Class75.aFloat1249))), (byte) 3); + if (HashNode.anInt7059 == 2) { + NpcDefinition.aBoolean6788 = true; + DisplayModeManagerContainer282.method689((byte) -59, (Component191.anInt2464 + (int) ((double) ((RenderableSub4.anInt6411) - (AbstractGlTextureSub4.mouseHandler.getCursorX(true))) * 2.0 / (double) (DisplayModeManagerContainer229.aFloat1249)))); + CookieManager.method2170((BufferCacheSub2.anInt8237 - (int) ((double) ((Component386.anInt2872) - (AbstractGlTextureSub4.mouseHandler.getCursorY((byte) 83))) * 2.0 / (double) (DisplayModeManagerContainer229.aFloat1249))), (byte) 3); } } else { - if (Class348_Sub42.anInt7059 > 0 && !Class348_Sub17.aBoolean6788) { - if (((Class318_Sub1_Sub5.anInt8770 == 1) || Class318_Sub1_Sub5.method2485(-124)) && Class73.anInt4776 > 2) Class5_Sub2.method191(true, Class318_Sub4.anInt6411, Class219.anInt2872); - else if (Class101_Sub1.method913((byte) 117)) Class5_Sub2.method191(true, Class318_Sub4.anInt6411, Class219.anInt2872); + if (HashNode.anInt7059 > 0 && !NpcDefinition.aBoolean6788) { + if (((Component203.anInt8770 == 1) || Component203.method2485(-124)) && DisplayModeManagerContainer306.menuEntryCount > 2) Component2.method191(true, RenderableSub4.anInt6411, Component386.anInt2872); + else if (MatrixSub1.method913((byte) 117)) Component2.method191(true, RenderableSub4.anInt6411, Component386.anInt2872); } - Class348_Sub42.anInt7059 = 0; + HashNode.anInt7059 = 0; } continue; } - if (class46.anInt765 == Class218.anInt2861) { - if (bool_53_) Class341.method2676(class46.anInt709, class46.anInt789, (i_51_ + Class258_Sub4.aClass373_8552.method3597(true) - i_43_), (byte) 58, (i_52_ + Class258_Sub4.aClass373_8552.method3594((byte) 111) - i_44_)); + if (class46.anInt765 == SceneManager.anInt2861) { + if (bool_53_) DisplayModeManagerContainer196.method2676(class46.anInt709, class46.anInt789, (i_51_ + AbstractGlTextureSub4.mouseHandler.getCursorX(true) - i_43_), (byte) 58, (i_52_ + AbstractGlTextureSub4.mouseHandler.getCursorY((byte) 111) - i_44_)); continue; } - if (class46.anInt765 == Class348_Sub47.anInt7125) { - Class175.method1343(i_44_, class46, 1, i_43_); + if (class46.anInt765 == ParticleSystem.anInt7125) { + Component143.method1343(i_44_, class46, 1, i_43_); continue; } } if (!class46.aBoolean793 && bool_54_) { class46.aBoolean793 = true; + MobileKeyboard.onInterfacePress(class46, i_43_, rawY); if (class46.anObjectArray763 != null) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); + NodeSub36 class348_sub36 = new NodeSub36(); class348_sub36.aBoolean6993 = true; class348_sub36.aClass46_6989 = class46; - class348_sub36.anInt6984 = (i_51_ + class348_sub45.method3308((byte) -128) - i_43_); - class348_sub36.anInt6995 = (i_52_ + class348_sub45.method3311(-123) - i_44_); + class348_sub36.anInt6984 = (i_51_ + class348_sub45.getX((byte) -128) - i_43_); + class348_sub36.anInt6995 = (i_52_ + class348_sub45.getY(-123) - i_44_); class348_sub36.anObjectArray6987 = class46.anObjectArray763; - Class348_Sub1_Sub2.aClass262_8810.method1999(class348_sub36, -20180); + NodeSub1Sub2.aClass262_8810.addTail(class348_sub36, -20180); } } if (class46.aBoolean793 && bool_53_ && (class46.anObjectArray785 != null)) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); + NodeSub36 class348_sub36 = new NodeSub36(); class348_sub36.aBoolean6993 = true; class348_sub36.aClass46_6989 = class46; - class348_sub36.anInt6984 = i_51_ + Class258_Sub4.aClass373_8552.method3597(true) - i_43_; - class348_sub36.anInt6995 = (i_52_ + Class258_Sub4.aClass373_8552.method3594((byte) 98) - i_44_); + class348_sub36.anInt6984 = i_51_ + AbstractGlTextureSub4.mouseHandler.getCursorX(true) - i_43_; + class348_sub36.anInt6995 = (i_52_ + AbstractGlTextureSub4.mouseHandler.getCursorY((byte) 98) - i_44_); class348_sub36.anObjectArray6987 = class46.anObjectArray785; - Class348_Sub1_Sub2.aClass262_8810.method1999(class348_sub36, -20180); + NodeSub1Sub2.aClass262_8810.addTail(class348_sub36, -20180); } if (class46.aBoolean793 && !bool_53_) { class46.aBoolean793 = false; if (class46.anObjectArray742 != null) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); + NodeSub36 class348_sub36 = new NodeSub36(); class348_sub36.aBoolean6993 = true; class348_sub36.aClass46_6989 = class46; - class348_sub36.anInt6984 = (i_51_ + Class258_Sub4.aClass373_8552.method3597(true) - i_43_); - class348_sub36.anInt6995 = (i_52_ + Class258_Sub4.aClass373_8552.method3594((byte) 75) - i_44_); + class348_sub36.anInt6984 = (i_51_ + AbstractGlTextureSub4.mouseHandler.getCursorX(true) - i_43_); + class348_sub36.anInt6995 = (i_52_ + AbstractGlTextureSub4.mouseHandler.getCursorY((byte) 75) - i_44_); class348_sub36.anObjectArray6987 = class46.anObjectArray742; - Class365.aClass262_4473.method1999(class348_sub36, -20180); + Component6.aClass262_4473.addTail(class348_sub36, -20180); } } if (bool_53_ && (class46.anObjectArray805 != null)) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); + NodeSub36 class348_sub36 = new NodeSub36(); class348_sub36.aBoolean6993 = true; class348_sub36.aClass46_6989 = class46; - class348_sub36.anInt6984 = i_51_ + Class258_Sub4.aClass373_8552.method3597(true) - i_43_; - class348_sub36.anInt6995 = (i_52_ + Class258_Sub4.aClass373_8552.method3594((byte) 80) - i_44_); + class348_sub36.anInt6984 = i_51_ + AbstractGlTextureSub4.mouseHandler.getCursorX(true) - i_43_; + class348_sub36.anInt6995 = (i_52_ + AbstractGlTextureSub4.mouseHandler.getCursorY((byte) 80) - i_44_); class348_sub36.anObjectArray6987 = class46.anObjectArray805; - Class348_Sub1_Sub2.aClass262_8810.method1999(class348_sub36, -20180); + NodeSub1Sub2.aClass262_8810.addTail(class348_sub36, -20180); } if (!class46.aBoolean737 && bool) { class46.aBoolean737 = true; if (class46.anObjectArray811 != null) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); + NodeSub36 class348_sub36 = new NodeSub36(); class348_sub36.aBoolean6993 = true; class348_sub36.aClass46_6989 = class46; - class348_sub36.anInt6984 = (i_51_ + Class258_Sub4.aClass373_8552.method3597(true) - i_43_); - class348_sub36.anInt6995 = (i_52_ + Class258_Sub4.aClass373_8552.method3594((byte) 112) - i_44_); + class348_sub36.anInt6984 = (i_51_ + AbstractGlTextureSub4.mouseHandler.getCursorX(true) - i_43_); + class348_sub36.anInt6995 = (i_52_ + AbstractGlTextureSub4.mouseHandler.getCursorY((byte) 112) - i_44_); class348_sub36.anObjectArray6987 = class46.anObjectArray811; - Class348_Sub1_Sub2.aClass262_8810.method1999(class348_sub36, -20180); + NodeSub1Sub2.aClass262_8810.addTail(class348_sub36, -20180); } } if (class46.aBoolean737 && bool && (class46.anObjectArray839 != null)) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); + NodeSub36 class348_sub36 = new NodeSub36(); class348_sub36.aBoolean6993 = true; class348_sub36.aClass46_6989 = class46; - class348_sub36.anInt6984 = i_51_ + Class258_Sub4.aClass373_8552.method3597(true) - i_43_; - class348_sub36.anInt6995 = (i_52_ + Class258_Sub4.aClass373_8552.method3594((byte) 95) - i_44_); + class348_sub36.anInt6984 = i_51_ + AbstractGlTextureSub4.mouseHandler.getCursorX(true) - i_43_; + class348_sub36.anInt6995 = (i_52_ + AbstractGlTextureSub4.mouseHandler.getCursorY((byte) 95) - i_44_); class348_sub36.anObjectArray6987 = class46.anObjectArray839; - Class348_Sub1_Sub2.aClass262_8810.method1999(class348_sub36, -20180); + NodeSub1Sub2.aClass262_8810.addTail(class348_sub36, -20180); } if (class46.aBoolean737 && !bool) { class46.aBoolean737 = false; if (class46.anObjectArray683 != null) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); + NodeSub36 class348_sub36 = new NodeSub36(); class348_sub36.aBoolean6993 = true; class348_sub36.aClass46_6989 = class46; - class348_sub36.anInt6984 = (i_51_ + Class258_Sub4.aClass373_8552.method3597(true) - i_43_); - class348_sub36.anInt6995 = (i_52_ + Class258_Sub4.aClass373_8552.method3594((byte) 90) - i_44_); + class348_sub36.anInt6984 = (i_51_ + AbstractGlTextureSub4.mouseHandler.getCursorX(true) - i_43_); + class348_sub36.anInt6995 = (i_52_ + AbstractGlTextureSub4.mouseHandler.getCursorY((byte) 90) - i_44_); class348_sub36.anObjectArray6987 = class46.anObjectArray683; - Class365.aClass262_4473.method1999(class348_sub36, -20180); + Component6.aClass262_4473.addTail(class348_sub36, -20180); } } if (class46.anObjectArray764 != null) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); + NodeSub36 class348_sub36 = new NodeSub36(); class348_sub36.aClass46_6989 = class46; class348_sub36.anObjectArray6987 = class46.anObjectArray764; - Class208.aClass262_2707.method1999(class348_sub36, -20180); + Component222.aClass262_2707.addTail(class348_sub36, -20180); } - if (class46.anObjectArray685 != null && (Class5_Sub1.anInt8352 > class46.anInt738)) { - if (class46.anIntArray818 == null || (Class5_Sub1.anInt8352 - class46.anInt738) > 32) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); + if (class46.anObjectArray685 != null && (Component364.anInt8352 > class46.anInt738)) { + if (class46.anIntArray818 == null || (Component364.anInt8352 - class46.anInt738) > 32) { + NodeSub36 class348_sub36 = new NodeSub36(); class348_sub36.aClass46_6989 = class46; class348_sub36.anObjectArray6987 = class46.anObjectArray685; - Class348_Sub1_Sub2.aClass262_8810.method1999(class348_sub36, -20180); + NodeSub1Sub2.aClass262_8810.addTail(class348_sub36, -20180); } else { while_224_: - for (int i_74_ = class46.anInt738; i_74_ < Class5_Sub1.anInt8352; i_74_++) { - int i_75_ = (Class348_Sub26.anIntArray6890[i_74_ & 0x1f]); + for (int i_74_ = class46.anInt738; i_74_ < Component364.anInt8352; i_74_++) { + int i_75_ = (Request.anIntArray6890[i_74_ & 0x1f]); for (int i_76_ = 0; i_76_ < (class46.anIntArray818).length; i_76_++) { if ((class46.anIntArray818[i_76_]) == i_75_) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); + NodeSub36 class348_sub36 = new NodeSub36(); class348_sub36.aClass46_6989 = class46; class348_sub36.anObjectArray6987 = (class46.anObjectArray685); - Class348_Sub1_Sub2.aClass262_8810.method1999(class348_sub36, -20180); + NodeSub1Sub2.aClass262_8810.addTail(class348_sub36, -20180); break while_224_; } } } } - class46.anInt738 = Class5_Sub1.anInt8352; + class46.anInt738 = Component364.anInt8352; } - if (class46.anObjectArray708 != null && (Class348_Sub40_Sub30.anInt9385 > class46.anInt814)) { - if (class46.anIntArray831 == null || (Class348_Sub40_Sub30.anInt9385 - class46.anInt814) > 32) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); + if (class46.anObjectArray708 != null && (DefinitionSub30.anInt9385 > class46.anInt814)) { + if (class46.anIntArray831 == null || (DefinitionSub30.anInt9385 - class46.anInt814) > 32) { + NodeSub36 class348_sub36 = new NodeSub36(); class348_sub36.aClass46_6989 = class46; class348_sub36.anObjectArray6987 = class46.anObjectArray708; - Class348_Sub1_Sub2.aClass262_8810.method1999(class348_sub36, -20180); + NodeSub1Sub2.aClass262_8810.addTail(class348_sub36, -20180); } else { while_225_: - for (int i_77_ = class46.anInt814; (i_77_ < Class348_Sub40_Sub30.anInt9385); i_77_++) { - int i_78_ = (Class239_Sub21.anIntArray6061[i_77_ & 0x1f]); + for (int i_77_ = class46.anInt814; (i_77_ < DefinitionSub30.anInt9385); i_77_++) { + int i_78_ = (Component71.anIntArray6061[i_77_ & 0x1f]); for (int i_79_ = 0; i_79_ < (class46.anIntArray831).length; i_79_++) { if ((class46.anIntArray831[i_79_]) == i_78_) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); + NodeSub36 class348_sub36 = new NodeSub36(); class348_sub36.aClass46_6989 = class46; class348_sub36.anObjectArray6987 = (class46.anObjectArray708); - Class348_Sub1_Sub2.aClass262_8810.method1999(class348_sub36, -20180); + NodeSub1Sub2.aClass262_8810.addTail(class348_sub36, -20180); break while_225_; } } } } - class46.anInt814 = Class348_Sub40_Sub30.anInt9385; + class46.anInt814 = DefinitionSub30.anInt9385; } - if (class46.anObjectArray777 != null && (Class287.anInt3695 > class46.anInt725)) { - if (class46.anIntArray686 == null || (Class287.anInt3695 - class46.anInt725) > 32) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); + if (class46.anObjectArray777 != null && (DisplayModeManagerContainer260.anInt3695 > class46.anInt725)) { + if (class46.anIntArray686 == null || (DisplayModeManagerContainer260.anInt3695 - class46.anInt725) > 32) { + NodeSub36 class348_sub36 = new NodeSub36(); class348_sub36.aClass46_6989 = class46; class348_sub36.anObjectArray6987 = class46.anObjectArray777; - Class348_Sub1_Sub2.aClass262_8810.method1999(class348_sub36, -20180); + NodeSub1Sub2.aClass262_8810.addTail(class348_sub36, -20180); } else { while_226_: - for (int i_80_ = class46.anInt725; i_80_ < Class287.anInt3695; i_80_++) { - int i_81_ = (Class327.anIntArray4096[i_80_ & 0x1f]); + for (int i_80_ = class46.anInt725; i_80_ < DisplayModeManagerContainer260.anInt3695; i_80_++) { + int i_81_ = (DisplayModeManagerContainer363.anIntArray4096[i_80_ & 0x1f]); for (int i_82_ = 0; i_82_ < (class46.anIntArray686).length; i_82_++) { if ((class46.anIntArray686[i_82_]) == i_81_) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); + NodeSub36 class348_sub36 = new NodeSub36(); class348_sub36.aClass46_6989 = class46; class348_sub36.anObjectArray6987 = (class46.anObjectArray777); - Class348_Sub1_Sub2.aClass262_8810.method1999(class348_sub36, -20180); + NodeSub1Sub2.aClass262_8810.addTail(class348_sub36, -20180); break while_226_; } } } } - class46.anInt725 = Class287.anInt3695; + class46.anInt725 = DisplayModeManagerContainer260.anInt3695; } - if (class46.anObjectArray751 != null && (Class106.anInt1631 > class46.anInt723)) { - if (class46.anIntArray771 == null || (Class106.anInt1631 - class46.anInt723) > 32) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); + if (class46.anObjectArray751 != null && (KeyStoreLoader.anInt1631 > class46.anInt723)) { + if (class46.anIntArray771 == null || (KeyStoreLoader.anInt1631 - class46.anInt723) > 32) { + NodeSub36 class348_sub36 = new NodeSub36(); class348_sub36.aClass46_6989 = class46; class348_sub36.anObjectArray6987 = class46.anObjectArray751; - Class348_Sub1_Sub2.aClass262_8810.method1999(class348_sub36, -20180); + NodeSub1Sub2.aClass262_8810.addTail(class348_sub36, -20180); } else { while_227_: - for (int i_83_ = class46.anInt723; i_83_ < Class106.anInt1631; i_83_++) { - int i_84_ = (Class199.anIntArray2633[i_83_ & 0x1f]); + for (int i_83_ = class46.anInt723; i_83_ < KeyStoreLoader.anInt1631; i_83_++) { + int i_84_ = (HelveticaFont.anIntArray2633[i_83_ & 0x1f]); for (int i_85_ = 0; i_85_ < (class46.anIntArray771).length; i_85_++) { if ((class46.anIntArray771[i_85_]) == i_84_) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); + NodeSub36 class348_sub36 = new NodeSub36(); class348_sub36.aClass46_6989 = class46; class348_sub36.anObjectArray6987 = (class46.anObjectArray751); - Class348_Sub1_Sub2.aClass262_8810.method1999(class348_sub36, -20180); + NodeSub1Sub2.aClass262_8810.addTail(class348_sub36, -20180); break while_227_; } } } } - class46.anInt723 = Class106.anInt1631; + class46.anInt723 = KeyStoreLoader.anInt1631; } - if (class46.anObjectArray671 != null && (Class326.anInt4086 > class46.anInt715)) { - if (class46.anIntArray731 == null || (Class326.anInt4086 - class46.anInt715) > 32) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); + if (class46.anObjectArray671 != null && (Component311.anInt4086 > class46.anInt715)) { + if (class46.anIntArray731 == null || (Component311.anInt4086 - class46.anInt715) > 32) { + NodeSub36 class348_sub36 = new NodeSub36(); class348_sub36.aClass46_6989 = class46; class348_sub36.anObjectArray6987 = class46.anObjectArray671; - Class348_Sub1_Sub2.aClass262_8810.method1999(class348_sub36, -20180); + NodeSub1Sub2.aClass262_8810.addTail(class348_sub36, -20180); } else { while_228_: - for (int i_86_ = class46.anInt715; i_86_ < Class326.anInt4086; i_86_++) { - int i_87_ = (Class199.anIntArray2632[i_86_ & 0x1f]); + for (int i_86_ = class46.anInt715; i_86_ < Component311.anInt4086; i_86_++) { + int i_87_ = (HelveticaFont.anIntArray2632[i_86_ & 0x1f]); for (int i_88_ = 0; i_88_ < (class46.anIntArray731).length; i_88_++) { if ((class46.anIntArray731[i_88_]) == i_87_) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); + NodeSub36 class348_sub36 = new NodeSub36(); class348_sub36.aClass46_6989 = class46; class348_sub36.anObjectArray6987 = (class46.anObjectArray671); - Class348_Sub1_Sub2.aClass262_8810.method1999(class348_sub36, -20180); + NodeSub1Sub2.aClass262_8810.addTail(class348_sub36, -20180); break while_228_; } } } } - class46.anInt715 = Class326.anInt4086; + class46.anInt715 = Component311.anInt4086; } - if ((Class348_Sub42_Sub3.anInt9501 > class46.anInt726) && (class46.anObjectArray820 != null)) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); + if ((HashNodeSub3.anInt9501 > class46.anInt726) && (class46.anObjectArray820 != null)) { + NodeSub36 class348_sub36 = new NodeSub36(); class348_sub36.aClass46_6989 = class46; class348_sub36.anObjectArray6987 = class46.anObjectArray820; - Class348_Sub1_Sub2.aClass262_8810.method1999(class348_sub36, -20180); + NodeSub1Sub2.aClass262_8810.addTail(class348_sub36, -20180); } - if ((Class126.anInt4985 > class46.anInt726) && (class46.anObjectArray734 != null)) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); + if ((Component380.anInt4985 > class46.anInt726) && (class46.anObjectArray734 != null)) { + NodeSub36 class348_sub36 = new NodeSub36(); class348_sub36.aClass46_6989 = class46; class348_sub36.anObjectArray6987 = class46.anObjectArray734; - Class348_Sub1_Sub2.aClass262_8810.method1999(class348_sub36, -20180); + NodeSub1Sub2.aClass262_8810.addTail(class348_sub36, -20180); } - if ((Class230.anInt2986 > class46.anInt726) && (class46.anObjectArray761 != null)) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); + if ((GameType.anInt2986 > class46.anInt726) && (class46.anObjectArray761 != null)) { + NodeSub36 class348_sub36 = new NodeSub36(); class348_sub36.aClass46_6989 = class46; class348_sub36.anObjectArray6987 = class46.anObjectArray761; - Class348_Sub1_Sub2.aClass262_8810.method1999(class348_sub36, -20180); + NodeSub1Sub2.aClass262_8810.addTail(class348_sub36, -20180); } - if ((Class189.anInt2523 > class46.anInt726) && (class46.anObjectArray807 != null)) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); + if ((Component291.anInt2523 > class46.anInt726) && (class46.anObjectArray807 != null)) { + NodeSub36 class348_sub36 = new NodeSub36(); class348_sub36.aClass46_6989 = class46; class348_sub36.anObjectArray6987 = class46.anObjectArray807; - Class348_Sub1_Sub2.aClass262_8810.method1999(class348_sub36, -20180); + NodeSub1Sub2.aClass262_8810.addTail(class348_sub36, -20180); } - if ((Class348_Sub40_Sub23.anInt9313 > class46.anInt726) && (class46.anObjectArray836 != null)) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); + if ((DefinitionSub23.anInt9313 > class46.anInt726) && (class46.anObjectArray836 != null)) { + NodeSub36 class348_sub36 = new NodeSub36(); class348_sub36.aClass46_6989 = class46; class348_sub36.anObjectArray6987 = class46.anObjectArray836; - Class348_Sub1_Sub2.aClass262_8810.method1999(class348_sub36, -20180); + NodeSub1Sub2.aClass262_8810.addTail(class348_sub36, -20180); } - class46.anInt726 = Class311.anInt3918; + class46.anInt726 = ResourceLoader.anInt3918; if (class46.anObjectArray822 != null) { - for (int i_89_ = 0; i_89_ < Class348_Sub42_Sub19.anInt9699; i_89_++) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); + for (int i_89_ = 0; i_89_ < HashNodeSub19.anInt9699; i_89_++) { + NodeSub36 class348_sub36 = new NodeSub36(); class348_sub36.aClass46_6989 = class46; - class348_sub36.anInt6991 = Class348_Sub42_Sub5.anInterface6Array9534[i_89_].method30(false); - class348_sub36.anInt6982 = Class348_Sub42_Sub5.anInterface6Array9534[i_89_].method28((byte) 39); + class348_sub36.anInt6991 = DefinitionGroup.anInterface6Array9534[i_89_].getKeyCode(false); + class348_sub36.anInt6982 = DefinitionGroup.anInterface6Array9534[i_89_].getKeyChar((byte) 39); class348_sub36.anObjectArray6987 = class46.anObjectArray822; - Class348_Sub1_Sub2.aClass262_8810.method1999(class348_sub36, -20180); + NodeSub1Sub2.aClass262_8810.addTail(class348_sub36, -20180); } } - if (Class347.aBoolean4284 && (class46.anObjectArray687 != null)) { - Class348_Sub36 class348_sub36 = new Class348_Sub36(); + if (DisplayModeManagerContainer322.aBoolean4284 && (class46.anObjectArray687 != null)) { + NodeSub36 class348_sub36 = new NodeSub36(); class348_sub36.aClass46_6989 = class46; class348_sub36.anObjectArray6987 = class46.anObjectArray687; - Class348_Sub1_Sub2.aClass262_8810.method1999(class348_sub36, -20180); + NodeSub1Sub2.aClass262_8810.addTail(class348_sub36, -20180); } } - if (class46.anInt774 == 5 && class46.anInt705 != -1) class46.method444(false, Class123.aClass25_1813, Class30.aClass84_413).method2292(84, Class348_Sub8.aHa6654, class46.anInt789); - Class18.method273(class46, -2835); + if (class46.anInt774 == 5 && class46.anInt705 != -1) class46.method444(false, Component132.aClass25_1813, ComponentDownloader.aClass84_413).method2292(84, NodeSub8.toolkit, class46.anInt789); + DisplayModeManagerContainer220.method273(class46, -2835); if (class46.anInt774 == 0) { method107(class46s, class46.anInt830, i_45_, i_46_, i_47_, i_48_, i_43_ - class46.anInt747, i_44_ - class46.anInt755, i_38_, i_39_, i_40_, i_41_); if (class46.aClass46Array798 != null) method107(class46.aClass46Array798, class46.anInt830, i_45_, i_46_, i_47_, i_48_, i_43_ - class46.anInt747, i_44_ - class46.anInt755, i_38_, i_39_, i_40_, i_41_); - Class348_Sub41 class348_sub41 = ((Class348_Sub41) (Class125.aClass356_4915.method3480(class46.anInt830, -6008))); + NodeSub41 class348_sub41 = ((NodeSub41) (Component15.aClass356_4915.get(class46.anInt830, -6008))); if (class348_sub41 != null) { - if ((Class348_Sub42_Sub8_Sub2.aClass230_10434 == Class10.aClass230_186) && (class348_sub41.anInt7053) == 0 && !Class5_Sub1.aBoolean8335 && bool && !Class299_Sub2.aBoolean6327) Class64_Sub2.method661((byte) 105); - Class182.method1373(class348_sub41.anInt7050, i_43_, i_45_, i_47_, i_39_, i_38_, -1391, i_40_, i_48_, i_44_, i_41_, i_46_); + if ((PacketReader.currentGameType == RunescapeInfo.RUNESCAPE) && (class348_sub41.anInt7053) == 0 && !Component364.aBoolean8335 && bool && !DisplayModeManagerContainer356.aBoolean6327) DisplayModeManagerContainer190.method661((byte) 105); + Component280.method1373(class348_sub41.anInt7050, i_43_, i_45_, i_47_, i_39_, i_38_, -1391, i_40_, i_48_, i_44_, i_41_, i_46_); } } } @@ -1528,20 +1542,20 @@ else if (i_55_ == 10) { } } - static final Class46 method108(Class46 class46) { + static final DisplayModeManagerContainer57 method108(DisplayModeManagerContainer57 class46) { int i = method105(class46).method3304((byte) 125); if (i == 0) return null; for (int i_90_ = 0; i_90_ < i; i_90_++) { - class46 = Class324.method2570(1512932720, class46.anInt834); + class46 = BitmapFont.method2570(1512932720, class46.anInt834); if (class46 == null) return null; } return class46; } static final void method109() { - for (int i = 0; i < Class367_Sub4.anInt7319; i++) { - int[] is = Class348_Sub42_Sub17.anIntArrayArray9678[i]; - for (int i_91_ = 0; i_91_ < Class348_Sub40_Sub3.anInt9109; i_91_++) + for (int i = 0; i < AbstractShaderSub4.anInt7319; i++) { + int[] is = HashNodeSub17.anIntArrayArray9678[i]; + for (int i_91_ = 0; i_91_ < ParametricDefinition.anInt9109; i_91_++) is[i_91_] = 0; } } @@ -1551,68 +1565,69 @@ public static void method110(int i) { if (i == 31) anIntArray5176 = null; } - static final boolean method111(Class46 class46) { - if (Class299_Sub2.aBoolean6327) { + static final boolean method111(DisplayModeManagerContainer57 class46) { + if (DisplayModeManagerContainer356.aBoolean6327) { if (method105(class46).anInt7098 != 0) return false; if (class46.anInt774 == 0) return false; } return class46.aBoolean813; } - final void method93(int i) { - if (i != -11018) method80(9); + /** Draw tick: call the present path ({@code method116}), optionally with safe-mode recovery. */ + final void pulseDrawFrame(int i) { + if (i != -11018) closeResources(9); anInt5186++; - if (Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) == 2) { + if (Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) == 2) { try { method116(true); } catch (Throwable throwable) { - Class156.method1242((throwable.getMessage() + " (Recovered) " + method81((byte) 52)), throwable, 15004); - Class139.aBoolean1952 = true; - Class367_Sub10.method3553(false, (byte) 123, 0); + ClientErrorReporter.reportError((throwable.getMessage() + " (Recovered) " + method81((byte) 52)), throwable, 15004); + GpsOverlay.aBoolean1952 = true; + SoftwareFallbackShader.method3553(false, (byte) 123, 0); } } else method116(true); } static final void method112() { - int i = Class328_Sub1.anInt6513; - int[] is = Class286_Sub7.anIntArray6290; - int i_92_ = Class373_Sub2.aBoolean7444 ? i : i + Class150.anInt2057; + int i = ShaderCompilerSub1.anInt6513; + int[] is = ShaderProgramSub7.anIntArray6290; + int i_92_ = BasicMouseHandler.aBoolean7444 ? i : i + Component324.anInt2057; for (int i_93_ = 0; i_93_ < i_92_; i_93_++) { - Class318_Sub1_Sub3_Sub3 class318_sub1_sub3_sub3; - if (i_93_ < i) class318_sub1_sub3_sub3 = (Class294.aPlayerArray5058[is[i_93_]]); - else class318_sub1_sub3_sub3 = (((Class348_Sub22) Class282.aClass356_3654.method3480(Class74.anIntArray1233[i_93_ - i], -6008)).aNpc_6859); + DisplayModeManagerContainer58 class318_sub1_sub3_sub3; + if (i_93_ < i) class318_sub1_sub3_sub3 = (InterfaceRenderer.players[is[i_93_]]); + else class318_sub1_sub3_sub3 = (((NodeSub22) Component21.aClass356_3654.get(DisplayModeManagerContainer238.anIntArray1233[i_93_ - i], -6008)).npc); if (class318_sub1_sub3_sub3.anInt10285 >= 0) { int i_94_ = class318_sub1_sub3_sub3.method2436((byte) 74); if ((i_94_ & 0x1) == 0) { if ((class318_sub1_sub3_sub3.x & 0x1ff) == 0 && (class318_sub1_sub3_sub3.y & 0x1ff) == 0) continue; } else if ((class318_sub1_sub3_sub3.x & 0x1ff) == 256 && ((class318_sub1_sub3_sub3.y) & 0x1ff) == 256) continue; - class318_sub1_sub3_sub3.anInt6382 = (Class275.method2064(class318_sub1_sub3_sub3.x, class318_sub1_sub3_sub3.plane, 11219, class318_sub1_sub3_sub3.y)); - Class89.method850(class318_sub1_sub3_sub3, true); + class318_sub1_sub3_sub3.anInt6382 = (Component300.method2064(class318_sub1_sub3_sub3.x, class318_sub1_sub3_sub3.plane, 11219, class318_sub1_sub3_sub3.y)); + Component84.method850(class318_sub1_sub3_sub3, true); } } } private final void method113(byte i) { - if (Class240.anInt4674 == 7 && Class225.anInt2955 == 0) { - if (Class289.anInt3699 > 1) { - Class348_Sub40_Sub23.anInt9313 = Class311.anInt3918; - Class289.anInt3699--; + if (Component49.clientState == 7 && Component241.anInt2955 == 0) { + if (Component156.anInt3699 > 1) { + DefinitionSub23.anInt9313 = ResourceLoader.anInt3918; + Component156.anInt3699--; } - if (!Class5_Sub1.aBoolean8335) Class64_Sub2.method661((byte) 111); + if (!Component364.aBoolean8335) DisplayModeManagerContainer190.method661((byte) 111); for (int i_95_ = 0; i_95_ < 100; i_95_++) { - if (!Class292.method2203((byte) -85)) break; + if (!Component102.method2203((byte) -85)) break; } } anInt5174++; - Class348_Sub51.anInt7267++; - Class5_Sub2.method198(null, false, -1, -1); - Class175.method1343(-1, null, 1, -1); - Class216.method1583((byte) -73); - Class311.anInt3918++; - for (int i_96_ = 0; Class348_Sub32.anInt6930 > i_96_; i_96_++) { - Npc npc = (Class348_Sub40_Sub23.aClass348_Sub22Array9319[i_96_].aNpc_6859); + NodeSub51.anInt7267++; + Component2.method198(null, false, -1, -1); + Component143.method1343(-1, null, 1, -1); + Component43.method1583((byte) -73); + ResourceLoader.anInt3918++; + for (int i_96_ = 0; NodeSub32.anInt6930 > i_96_; i_96_++) { + Npc npc = (DefinitionSub23.aClass348_Sub22Array9319[i_96_].npc); if (npc != null) { - byte i_97_ = (npc.aClass79_10505.aByte1325); + byte i_97_ = (npc.definition.aByte1325); if ((i_97_ & 0x1) != 0) { int i_98_ = npc.method2436((byte) 117); if ((0x2 & i_97_) != 0 && npc.anInt10319 == 0 && Math.random() * 1000.0 < 10.0) { @@ -1621,94 +1636,94 @@ private final void method113(byte i) { if (i_99_ != 0 || i_100_ != 0) { int i_101_ = ((npc.anIntArray10320[0]) - -i_99_); if (i_101_ < 0) i_101_ = 0; - else if (i_101_ > Class367_Sub4.anInt7319 + -i_98_ + -1) i_101_ = -1 + (-i_98_ + Class367_Sub4.anInt7319); + else if (i_101_ > AbstractShaderSub4.anInt7319 + -i_98_ + -1) i_101_ = -1 + (-i_98_ + AbstractShaderSub4.anInt7319); int i_102_ = i_100_ + (npc.anIntArray10317[0]); if (i_102_ < 0) i_102_ = 0; - else if ((-i_98_ + Class348_Sub40_Sub3.anInt9109 - 1) < i_102_) i_102_ = (-i_98_ + Class348_Sub40_Sub3.anInt9109 - 1); - int i_103_ = (Class59_Sub2_Sub2.method574(i_101_, i_98_, i_98_, Class348_Sub40_Sub11.anIntArray9185, true, (byte) 120, -1, (npc.anIntArray10320[0]), (npc.anIntArray10317[0]), Class348_Sub42_Sub14.anIntArray9626, i_102_, (Class348_Sub45.aClass361Array7108[(npc.plane)]), i_98_, 0, 0)); + else if ((-i_98_ + ParametricDefinition.anInt9109 - 1) < i_102_) i_102_ = (-i_98_ + ParametricDefinition.anInt9109 - 1); + int i_103_ = (Component317.method574(i_101_, i_98_, i_98_, DefinitionSub11.anIntArray9185, true, (byte) 120, -1, (npc.anIntArray10320[0]), (npc.anIntArray10317[0]), HashNodeSub14.anIntArray9626, i_102_, (NodeSub45.aClass361Array7108[(npc.plane)]), i_98_, 0, 0)); if (i_103_ > 0) { if (i_103_ > 9) i_103_ = 9; for (int i_104_ = 0; i_103_ > i_104_; i_104_++) { - npc.anIntArray10320[i_104_] = (Class348_Sub42_Sub14.anIntArray9626[-1 + (-i_104_ + i_103_)]); - npc.anIntArray10317[i_104_] = (Class348_Sub40_Sub11.anIntArray9185[-1 + (-i_104_ + i_103_)]); + npc.anIntArray10320[i_104_] = (HashNodeSub14.anIntArray9626[-1 + (-i_104_ + i_103_)]); + npc.anIntArray10317[i_104_] = (DefinitionSub11.anIntArray9185[-1 + (-i_104_ + i_103_)]); npc.aByteArray10321[i_104_] = (byte) 1; } npc.anInt10319 = i_103_; } } } - Class219.method1600(true, 0, npc); - int i_105_ = (Class348_Sub8.method2774((byte) 108, npc)); - za_Sub2.method3443(true, npc); - Class71.method729(Class235.anInt3062, i_105_, (byte) 122, npc, Class127_Sub1.anInt8387); - Class348_Sub42_Sub9_Sub1.method3208(npc, Class235.anInt3062, -84); - Class230.method1635(-106, npc); + Component386.method1600(true, 0, npc); + int i_105_ = (NodeSub8.method2774((byte) 108, npc)); + NodeBaseSub2.method3443(true, npc); + DisplayModeManagerContainer5.method729(Component366.anInt3062, i_105_, (byte) 122, npc, Component162.anInt8387); + Component140.method3208(npc, Component366.anInt3062, -84); + GameType.method1635(-106, npc); } } } - if (Class225.anInt2955 == 0 && Class367_Sub2.anInt7297 == 0) { - if (Class348_Sub40_Sub21.anInt9282 == 2) Class14_Sub1.method241((byte) 127); - else Class348_Sub21.method2954((byte) -127); - if (Class286_Sub4.anInt6246 >> 9 < 14 || (Class286_Sub4.anInt6246 >> 9 >= -14 + Class367_Sub4.anInt7319) || (Class59_Sub2_Sub2.anInt8685 >> 9 < 14) || (Class348_Sub40_Sub3.anInt9109 + -14 <= Class59_Sub2_Sub2.anInt8685 >> 9)) - Class101.method893((byte) -49); + if (Component241.anInt2955 == 0 && AbstractShaderSub2.anInt7297 == 0) { + if (DefinitionSub21.cameraMode == 2) Component19.method241((byte) 127); + else NodeSub21.method2954((byte) -127); + if (WaterSurfaceShader.anInt6246 >> 9 < 14 || (WaterSurfaceShader.anInt6246 >> 9 >= -14 + AbstractShaderSub4.anInt7319) || (Component317.anInt8685 >> 9 < 14) || (ParametricDefinition.anInt9109 + -14 <= Component317.anInt8685 >> 9)) + DisplayModeManagerContainer204.method893((byte) -49); } if (i != 112) anInt5171 = 22; for (; ; ) { - Class348_Sub36 class348_sub36 = (Class348_Sub36) Class208.aClass262_2707.method1997(8); + NodeSub36 class348_sub36 = (NodeSub36) Component222.aClass262_2707.peekFirst(8); if (class348_sub36 == null) break; - Class46 class46 = class348_sub36.aClass46_6989; + DisplayModeManagerContainer57 class46 = class348_sub36.aClass46_6989; if (class46.anInt704 >= 0) { - Class46 class46_106_ = Class324.method2570(i ^ 0x5a2d8500, class46.anInt834); + DisplayModeManagerContainer57 class46_106_ = BitmapFont.method2570(i ^ 0x5a2d8500, class46.anInt834); if (class46_106_ == null || class46_106_.aClass46Array798 == null || (class46_106_.aClass46Array798.length <= class46.anInt704) || class46 != (class46_106_.aClass46Array798[class46.anInt704])) continue; } - Class66.method705(class348_sub36); + ClientScriptExecutor.method705(class348_sub36); } for (; ; ) { - Class348_Sub36 class348_sub36 = ((Class348_Sub36) Class365.aClass262_4473.method1997(i + -104)); + NodeSub36 class348_sub36 = ((NodeSub36) Component6.aClass262_4473.peekFirst(i + -104)); if (class348_sub36 == null) break; - Class46 class46 = class348_sub36.aClass46_6989; + DisplayModeManagerContainer57 class46 = class348_sub36.aClass46_6989; if (class46.anInt704 >= 0) { - Class46 class46_107_ = Class324.method2570(1512932720, class46.anInt834); + DisplayModeManagerContainer57 class46_107_ = BitmapFont.method2570(1512932720, class46.anInt834); if (class46_107_ == null || class46_107_.aClass46Array798 == null || (class46_107_.aClass46Array798.length <= class46.anInt704) || class46 != (class46_107_.aClass46Array798[class46.anInt704])) continue; } - Class66.method705(class348_sub36); + ClientScriptExecutor.method705(class348_sub36); } for (; ; ) { - Class348_Sub36 class348_sub36 = ((Class348_Sub36) Class348_Sub1_Sub2.aClass262_8810.method1997(i ^ 0x78)); + NodeSub36 class348_sub36 = ((NodeSub36) NodeSub1Sub2.aClass262_8810.peekFirst(i ^ 0x78)); if (class348_sub36 == null) break; - Class46 class46 = class348_sub36.aClass46_6989; + DisplayModeManagerContainer57 class46 = class348_sub36.aClass46_6989; if (class46.anInt704 >= 0) { - Class46 class46_108_ = Class324.method2570(1512932720, class46.anInt834); + DisplayModeManagerContainer57 class46_108_ = BitmapFont.method2570(1512932720, class46.anInt834); if (class46_108_ == null || class46_108_.aClass46Array798 == null || (class46_108_.aClass46Array798.length <= class46.anInt704) || class46 != (class46_108_.aClass46Array798[class46.anInt704])) continue; } - Class66.method705(class348_sub36); + ClientScriptExecutor.method705(class348_sub36); } - if (Class289.aClass46_3701 != null) Class347.method2708(-30206); - if (Class367_Sub11.anInt7396 % 1500 == 0) Class348_Sub40_Sub16.method3088(9); - if (Class240.anInt4674 == 7 && Class225.anInt2955 == 0) Class261.method1987(-124); - Class101.method909(3553); - if (Class184.aBoolean2469 && (Class34.aLong482 < Class62.method599(-107) + -60000L)) Class318_Sub1_Sub2.method2405(41); - for (Class318_Sub9_Sub1 class318_sub9_sub1 = ((Class318_Sub9_Sub1) Class348_Sub42_Sub14.aClass243_9642.method1872(8)); class318_sub9_sub1 != null; class318_sub9_sub1 = (Class318_Sub9_Sub1) Class348_Sub42_Sub14.aClass243_9642.method1878((byte) -43)) { - if ((long) class318_sub9_sub1.anInt8787 < -5L + Class62.method599(-80) / 1000L) { - if (class318_sub9_sub1.aShort8786 > 0) Class286_Sub2.method2144("", 5, (byte) -91, 0, (class318_sub9_sub1.aString8783 + Class274.aClass274_3502.method2063(Class348_Sub33.anInt6967, 544)), "", ""); - if (class318_sub9_sub1.aShort8786 == 0) Class286_Sub2.method2144("", 5, (byte) -105, 0, (class318_sub9_sub1.aString8783 + Class274.aClass274_3503.method2063((Class348_Sub33.anInt6967), i ^ 0x250)), "", ""); - class318_sub9_sub1.method2373(false); + if (Component156.aClass46_3701 != null) DisplayModeManagerContainer322.method2708(-30206); + if (OpenGlShader.clientCycle % 1500 == 0) ToolbarRefreshDefinition.method3088(9); + if (Component49.clientState == 7 && Component241.anInt2955 == 0) DisplayModeManagerContainer1.updateMenuTip(-124); + DisplayModeManagerContainer204.method909(3553); + if (Component357.aBoolean2469 && (Component225.aLong482 < Component240.currentTimeMillis(-107) + -60000L)) DisplayModeManagerContainer343.saveClientPreferences(41); + for (FriendLoginMessage class318_sub9_sub1 = ((FriendLoginMessage) HashNodeSub14.friendLoginMessages.method1872(8)); class318_sub9_sub1 != null; class318_sub9_sub1 = (FriendLoginMessage) HashNodeSub14.friendLoginMessages.method1878((byte) -43)) { + if ((long) class318_sub9_sub1.timestampSeconds < -5L + Component240.currentTimeMillis(-80) / 1000L) { + if (class318_sub9_sub1.worldId > 0) ShaderProgramSub2.method2144("", 5, (byte) -91, 0, (class318_sub9_sub1.username + FriendsIgnoreList.aClass274_3502.getLocalized(ObjectDeserializer.languageId, 544)), "", ""); + if (class318_sub9_sub1.worldId == 0) ShaderProgramSub2.method2144("", 5, (byte) -105, 0, (class318_sub9_sub1.username + FriendsIgnoreList.aClass274_3503.getLocalized((ObjectDeserializer.languageId), i ^ 0x250)), "", ""); + class318_sub9_sub1.unlink(false); } } do { - if (Class240.anInt4674 == 7 && Class225.anInt2955 == 0) { - if (Class348_Sub40_Sub8.aClass238_9165 == null) Class348_Sub40_Sub34.method3141(false, (byte) 11); + if (Component49.clientState == 7 && Component241.anInt2955 == 0) { + if (DefinitionSub8.aClass238_9165 == null) LoggedOutDefinition.disconnectAndReset(false, (byte) 11); else { - Class11.anInt193++; - if (Class11.anInt193 > 50) { + Component53.anInt193++; + if (Component53.anInt193 > 50) { IOException_Sub1.anInt88++; - Class348_Sub47 class348_sub47 = Class286_Sub3.method2148((Class239_Sub10.aClass351_5938), (Class348_Sub23_Sub2.aClass77_9029), -104); - Class348_Sub42_Sub14.method3243(-49, class348_sub47); + ParticleSystem class348_sub47 = ParticleShader.method2148((Component98.aClass351_5938), (DisplayModeManagerContainer64.aClass77_9029), -104); + HashNodeSub14.method3243(-49, class348_sub47); } try { - Class239_Sub18.method1802(0); + Component302.method1802(0); } catch (java.io.IOException ioexception) { - Class348_Sub40_Sub34.method3141(false, (byte) 11); + LoggedOutDefinition.disconnectAndReset(false, (byte) 11); break; } break; @@ -1718,114 +1733,121 @@ private final void method113(byte i) { } while (false); } - private final void method114(int i) { + private final void processGameTick(int i) { anInt5188++; - if (Class240.anInt4674 != 14) { - Class367_Sub11.anInt7396++; - if (Class367_Sub11.anInt7396 % 1000 == 1) { + if (Component49.clientState != 14) { + OpenGlShader.clientCycle++; + if (OpenGlShader.clientCycle % 1000 == 1) { GregorianCalendar gregoriancalendar = new GregorianCalendar(); - Class356.anInt4383 = (gregoriancalendar.get(11) * 600 + gregoriancalendar.get(12) * 10 + gregoriancalendar.get(13) / 6); - OutputStream_Sub1.aRandom93.setSeed(Class356.anInt4383); + LruCache.anInt4383 = (gregoriancalendar.get(11) * 600 + gregoriancalendar.get(12) * 10 + gregoriancalendar.get(13) / 6); + OutputStream_Sub1.aRandom93.setSeed(LruCache.anInt4383); } - if (Class367_Sub11.anInt7396 % 50 == 0) { - Class348_Sub48.anInt7134 = Class81.anInt1433; - Class81.anInt1433 = 0; - Class264.anInt3372 = Class13.anInt221; - Class13.anInt221 = 0; + if (OpenGlShader.clientCycle % 50 == 0) { + NodeSub48.anInt7134 = Component268.anInt1433; + Component268.anInt1433 = 0; + Component235.anInt3372 = Component354.anInt221; + Component354.anInt221 = 0; } method102((byte) 61); - if (Class175.aClass340_2327 != null) Class175.aClass340_2327.method2670(0); - Class296.method2228(0); - Class348_Sub42_Sub16_Sub1.method3260(66); - Class182.aClass346_2449.method2695(67); - Class258_Sub4.aClass373_8552.method3589(0); - if (Class348_Sub8.aHa6654 != null) Class348_Sub8.aHa6654.method3646((int) Class62.method599(-74)); - Class170.method1315(93); - Class253.anInt3246 = 0; - Class348_Sub42_Sub19.anInt9699 = 0; - for (Interface6 interface6 = Class182.aClass346_2449.method2697(0); interface6 != null; interface6 = Class182.aClass346_2449.method2697(0)) { - int i_109_ = interface6.method27(26276); + if (Component143.aClass340_2327 != null) Component143.aClass340_2327.reload(0); + HuffmanDecoder.method2228(0); + HashNodeSub16Sub1.method3260(66); + Component280.aClass346_2449.sync(67); + AbstractGlTextureSub4.mouseHandler.syncEvents(0); + if (NodeSub8.toolkit != null) NodeSub8.toolkit.method3646((int) Component240.currentTimeMillis(-74)); + DisplayModeManagerContainer292.method1315(93); + Component193.anInt3246 = 0; + HashNodeSub19.anInt9699 = 0; + for (Interface6 interface6 = Component280.aClass346_2449.popKeyEvent(0); interface6 != null; interface6 = Component280.aClass346_2449.popKeyEvent(0)) { + int i_109_ = interface6.getEventType(26276); if (i_109_ == 2 || i_109_ == 3) { - int i_110_ = interface6.method28((byte) 96); - if (!Class275.method2066((byte) 116) || (i_110_ != 96 && i_110_ != 167 && i_110_ != 178)) { - if (Class348_Sub42_Sub19.anInt9699 < 128) { - Class348_Sub42_Sub5.anInterface6Array9534[Class348_Sub42_Sub19.anInt9699] = interface6; - Class348_Sub42_Sub19.anInt9699++; + int i_110_ = interface6.getKeyChar((byte) 96); + if (!Component300.method2066((byte) 116) || (i_110_ != 96 && i_110_ != 167 && i_110_ != 178)) { + if (HashNodeSub19.anInt9699 < 128) { + DefinitionGroup.anInterface6Array9534[HashNodeSub19.anInt9699] = interface6; + HashNodeSub19.anInt9699++; } - } else if (!Class348_Sub42_Sub16_Sub2.method3263(true)) Class316.method2363(-84); - else Class367_Sub4.method3543((byte) -89); - } else if (i_109_ == 0 && Class253.anInt3246 < 75) { - Class308.anInterface6Array3884[Class253.anInt3246] = interface6; - Class253.anInt3246++; + } else if (!HashNodeSub16Sub2.isDevConsoleOpen(true)) Component192.openDevConsole(-84); + else AbstractShaderSub4.closeDevConsole((byte) -89); + } else if (i_109_ == 0 && Component193.anInt3246 < 75) { + Component17.anInterface6Array3884[Component193.anInt3246] = interface6; + Component193.anInt3246++; } } - Class98.anInt1565 = 0; - Class320.scrollWheelDiff = 0; - for (Class348_Sub45 class348_sub45 = Class258_Sub4.aClass373_8552.method3596(0); class348_sub45 != null; class348_sub45 = Class258_Sub4.aClass373_8552.method3596(0)) { - int i_111_ = class348_sub45.method3310(86); + Component122.mouseWheelDelta = 0; + Component233.scrollWheelDiff = 0; + for (NodeSub45 class348_sub45 = AbstractGlTextureSub4.mouseHandler.popEvent(0); class348_sub45 != null; class348_sub45 = AbstractGlTextureSub4.mouseHandler.popEvent(0)) { + int i_111_ = class348_sub45.getEventType(86); if (i_111_ != -1) { if (i_111_ != 6) { - if (Class371.method3584(i_111_, 1)) { - Class318_Sub1_Sub3.aClass262_8744.method1999(class348_sub45, -20180); - if (Class318_Sub1_Sub3.aClass262_8744.method1998(0) > 10) Class318_Sub1_Sub3.aClass262_8744.method1997(8); + if (Component307.method3584(i_111_, 1)) { + Component327.aClass262_8744.addTail(class348_sub45, -20180); + if (Component327.aClass262_8744.size(0) > 10) Component327.aClass262_8744.peekFirst(8); } } else { - int anInt1565 = class348_sub45.method3315(0); - Class320.scrollWheelDiff = anInt1565; - Class98.anInt1565 += anInt1565; + // Event type 6 = mouse wheel; notches feed UI scroll + console + plane. + int notches = class348_sub45.getClickCount(0); + Component233.scrollWheelDiff = notches; + Component122.mouseWheelDelta += notches; } - } else r_Sub1.aClass262_10479.method1999(class348_sub45, -20180); + } else CacheNodeSub1.aClass262_10479.addTail(class348_sub45, -20180); } - if (Class348_Sub42_Sub16_Sub2.method3263(true)) Class38.method363(125); - if (Class139.method1167(Class240.anInt4674, (byte) -51)) { - Class52.method493(true); - Class94.method867(true); - } else if (Class318_Sub1_Sub1_Sub2.method2402(Class240.anInt4674, (byte) -120)) Canvas_Sub1.method123(0); + // Consume overlay clicks before menu/walk/iface handlers see them. + if (Loader.microbotEnabled) MicrobotPanel.pollInput(); + // Purple console band: eat presses so they don't click-through to the game. + BuildInfo.pollConsoleInput(); + if (HashNodeSub16Sub2.isDevConsoleOpen(true)) PauseTimer.processDevConsoleInput(125); + if (GpsOverlay.method1167(Component49.clientState, (byte) -51)) { + RSACipher.method493(true); + Component97.method867(true); + } else if (Component212.method2402(Component49.clientState, (byte) -120)) Canvas_Sub1.loadAndBuildScene(0); if (i < 32) aClass262_5185 = null; - if (Class348_Sub42_Sub8.method3196(Class240.anInt4674, -74) && !Class318_Sub1_Sub1_Sub2.method2402(Class240.anInt4674, (byte) -55)) { + if (CacheNode.method3196(Component49.clientState, -74) && !Component212.method2402(Component49.clientState, (byte) -55)) { method113((byte) 112); - Class348_Sub5.method2757(110); - Class88.method843((byte) 102); - } else if (!Class340.method2672(Class240.anInt4674, -123) || Class318_Sub1_Sub1_Sub2.method2402(Class240.anInt4674, (byte) -115)) { - if (Class240.anInt4674 == 12) Class88.method843((byte) 113); - else if (Class334.method2653(true, Class240.anInt4674) && !Class318_Sub1_Sub1_Sub2.method2402(Class240.anInt4674, (byte) -86)) Class348_Sub24.method2991(11432); - else if (Class240.anInt4674 == 13) { - Class88.method843((byte) -75); - if (Class348_Sub6.anInt6634 != -3 && Class348_Sub6.anInt6634 != 2 && Class348_Sub6.anInt6634 != 15) Class348_Sub40_Sub34.method3141(false, (byte) 11); + NodeSub5.method2757(110); + TheoraVideoPlayer.method843((byte) 102); + } else if (!CacheFileStore.isReconnectState(Component49.clientState, -123) || Component212.method2402(Component49.clientState, (byte) -115)) { + if (Component49.clientState == 12) TheoraVideoPlayer.method843((byte) 113); + else if (NativeLibLoader.isPostLoginState(true, Component49.clientState) && !Component212.method2402(Component49.clientState, (byte) -86)) ClientSystemInfo.method2991(11432); + else if (Component49.clientState == 13) { + TheoraVideoPlayer.method843((byte) -75); + if (NodederUtil.anInt6634 != -3 && NodederUtil.anInt6634 != 2 && NodederUtil.anInt6634 != 15) LoggedOutDefinition.disconnectAndReset(false, (byte) 11); } } else { method113((byte) 112); - Class88.method843((byte) 67); + TheoraVideoPlayer.method843((byte) 67); } - Class22.method294(Class348_Sub8.aHa6654, 0); - Class318_Sub1_Sub3.aClass262_8744.method1997(8); + Component231.method294(NodeSub8.toolkit, 0); + Component327.aClass262_8744.peekFirst(8); + // Microbot: refresh caches + pending menu inject (after input drain / menu tip). + MicrobotRuntime.tick(); } } static final void method115() { - int i = Class328_Sub1.anInt6513; - int[] is = Class286_Sub7.anIntArray6290; - int i_112_ = Class316.aClass348_Sub51_3959.aClass239_Sub13_7236.method1776(-32350); + int i = ShaderCompilerSub1.anInt6513; + int[] is = ShaderProgramSub7.anIntArray6290; + int i_112_ = Component192.aClass348_Sub51_3959.aClass239_Sub13_7236.method1776(-32350); boolean bool = i_112_ == 1 && i > 200 || i_112_ == 0 && i > 50; for (int i_113_ = 0; i_113_ < i; i_113_++) { - Player player = Class294.aPlayerArray5058[is[i_113_]]; + Player player = InterfaceRenderer.players[is[i_113_]]; if (!player.method2457((byte) -90)) player.anInt10285 = -1; else if (player.aBoolean10551) player.anInt10285 = -1; else { player.method2409((byte) -126); - if ((player.aShort8743) < 0 || (player.aShort8750) < 0 || (player.aShort8751) >= Class367_Sub4.anInt7319 || (player.aShort8747) >= Class348_Sub40_Sub3.anInt9109) + if ((player.aShort8743) < 0 || (player.aShort8750) < 0 || (player.aShort8751) >= AbstractShaderSub4.anInt7319 || (player.aShort8747) >= ParametricDefinition.anInt9109) player.anInt10285 = -1; else { player.aBoolean10521 = (player.aBoolean10213 && bool); - if (player == Class132.aPlayer_1907) player.anInt10285 = 2147483647; + if (player == Component72.localPlayer) player.anInt10285 = 2147483647; else { int i_114_ = 0; if (!player.aBoolean10309) i_114_++; - if (player.anInt10223 > Class367_Sub11.anInt7396) i_114_ += 2; + if (player.anInt10223 > OpenGlShader.clientCycle) i_114_ += 2; i_114_ += 5 - player.method2436((byte) 101) << 2; if (player.aBoolean10554) i_114_ += 512; else { - if (Class37.anInt495 == 0) i_114_ += 32; + if (NameFormatter.anInt495 == 0) i_114_ += 32; else i_114_ += 128; i_114_ += 256; } @@ -1834,185 +1856,192 @@ static final void method115() { } } } - for (int i_115_ = 0; i_115_ < Class150.anInt2057; i_115_++) { - Npc npc = (((Class348_Sub22) Class282.aClass356_3654.method3480(Class74.anIntArray1233[i_115_], -6008)).aNpc_6859); - if (!npc.method2445((byte) -4) || !(npc.aClass79_10505.method796(Class318_Sub1_Sub3_Sub3.aClass170_10209, 18627))) npc.anInt10285 = -1; + for (int i_115_ = 0; i_115_ < Component324.anInt2057; i_115_++) { + Npc npc = (((NodeSub22) Component21.aClass356_3654.get(DisplayModeManagerContainer238.anIntArray1233[i_115_], -6008)).npc); + if (!npc.method2445((byte) -4) || !(npc.definition.method796(DisplayModeManagerContainer58.aClass170_10209, 18627))) npc.anInt10285 = -1; else { npc.method2409((byte) -118); - if ((npc.aShort8743) < 0 || (npc.aShort8750) < 0 || (npc.aShort8751) >= Class367_Sub4.anInt7319 || (npc.aShort8747) >= Class348_Sub40_Sub3.anInt9109) + if ((npc.aShort8743) < 0 || (npc.aShort8750) < 0 || (npc.aShort8751) >= AbstractShaderSub4.anInt7319 || (npc.aShort8747) >= ParametricDefinition.anInt9109) npc.anInt10285 = -1; else { int i_116_ = 0; if (!npc.aBoolean10309) i_116_++; - if (npc.anInt10223 > Class367_Sub11.anInt7396) i_116_ += 2; + if (npc.anInt10223 > OpenGlShader.clientCycle) i_116_ += 2; i_116_ += 5 - npc.method2436((byte) 82) << 2; - if (Class37.anInt495 == 0) { - if (npc.aClass79_10505.aBoolean1362) i_116_ += 64; + if (NameFormatter.anInt495 == 0) { + if (npc.definition.aBoolean1362) i_116_ += 64; else i_116_ += 128; - } else if (Class37.anInt495 == 1) { - if (npc.aClass79_10505.aBoolean1362) i_116_ += 32; + } else if (NameFormatter.anInt495 == 1) { + if (npc.definition.aBoolean1362) i_116_ += 32; else i_116_ += 64; } - if (npc.aClass79_10505.aBoolean1345) i_116_ += 1024; - else if (!npc.aClass79_10505.aBoolean1381) i_116_ += 256; + if (npc.definition.aBoolean1345) i_116_ += 1024; + else if (!npc.definition.aBoolean1381) i_116_ += 256; npc.anInt10285 = i_116_ + 1; } } } - for (int i_117_ = 0; i_117_ < Class348_Sub27.aClass302Array6897.length; i_117_++) { - Class302 class302 = Class348_Sub27.aClass302Array6897[i_117_]; + for (int i_117_ = 0; i_117_ < NodeSub27.aClass302Array6897.length; i_117_++) { + Component114 class302 = NodeSub27.aClass302Array6897[i_117_]; if (class302 != null) { if (class302.anInt3840 == 1) { - Class348_Sub22 class348_sub22 = ((Class348_Sub22) (Class282.aClass356_3654.method3480(class302.anInt3833, -6008))); + NodeSub22 class348_sub22 = ((NodeSub22) (Component21.aClass356_3654.get(class302.anInt3833, -6008))); if (class348_sub22 != null) { - Npc npc = (class348_sub22.aNpc_6859); + Npc npc = (class348_sub22.npc); if (npc.anInt10285 >= 0) npc.anInt10285 += 2048; } } else if (class302.anInt3840 == 10) { - Player player = (Class294.aPlayerArray5058[class302.anInt3833]); - if (player != null && (player != Class132.aPlayer_1907) && player.anInt10285 >= 0) player.anInt10285 += 2048; + Player player = (InterfaceRenderer.players[class302.anInt3833]); + if (player != null && (player != Component72.localPlayer) && player.anInt10285 >= 0) player.anInt10285 += 2048; } } } } - final synchronized void method87(byte i) { + /** Prefer stealing Loader's canvas via reflection; otherwise recreate via {@link Applet_Sub1#recreateGameCanvas}. */ + final synchronized void recreateGameCanvas(byte i) { if (i > -11) aClass262_5185 = null; anInt5173++; - if (Class93.anApplet1530 != null && Class305.aCanvas3869 == null && !Class348_Sub23_Sub1.aClass297_8992.aBoolean3794) { + if (ToolkitFactory.anApplet1530 != null && DisplayModeManagerContainer50.gameCanvas == null && !OggUrlStream.aClass297_8992.useDirectDraw) { try { - Class var_class = Class93.anApplet1530.getClass(); + Class var_class = ToolkitFactory.anApplet1530.getClass(); Field field = var_class.getDeclaredField("canvas"); - Class305.aCanvas3869 = (Canvas) field.get(Class93.anApplet1530); - field.set(Class93.anApplet1530, null); - if (Class305.aCanvas3869 != null) return; + DisplayModeManagerContainer50.gameCanvas = (Canvas) field.get(ToolkitFactory.anApplet1530); + field.set(ToolkitFactory.anApplet1530, null); + if (DisplayModeManagerContainer50.gameCanvas != null) return; } catch (Exception exception) { if (Loader.trace) { exception.printStackTrace(); } } } - super.method87((byte) -28); + super.recreateGameCanvas((byte) -28); } private final void method116(boolean bool) { anInt5172++; - if (Class240.anInt4674 != 14) { - long l = (Class241.method1857((byte) -45) / 1000000L + -Class348_Sub42_Sub2.aLong8573); - Class348_Sub42_Sub2.aLong8573 = Class241.method1857((byte) -45) / 1000000L; - boolean bool_118_ = Class286_Sub6.method2163(!bool); - if (bool_118_ && Class74.aBoolean1236 && Class348_Sub40.aClass279_7042 != null) Class348_Sub40.aClass279_7042.method2087(-115); - if (Class260.method1977((byte) -79, Class240.anInt4674)) { - if ((Class348_Sub16_Sub2.aLong8866 != 0) && Class62.method599(-98) > Class348_Sub16_Sub2.aLong8866) Class85.method830(Class348_Sub42_Sub12.method3229(-128), Class321.anInt4005, (byte) 102, false, Class348_Sub40_Sub25.anInt9335); - else if (!Class348_Sub8.aHa6654.method3655() && Class203.aBoolean2674) Class348_Sub47.method3327(1406); + if (Component49.clientState != 14) { + long l = (Component41.method1857((byte) -45) / 1000000L + -HashNodeSub2.aLong8573); + HashNodeSub2.aLong8573 = Component41.method1857((byte) -45) / 1000000L; + boolean bool_118_ = WaterShaderProgram.method2163(!bool); + if (bool_118_ && DisplayModeManagerContainer238.aBoolean1236 && Definition.aClass279_7042 != null) Definition.aClass279_7042.method2087(-115); + if (Component92.method1977((byte) -79, Component49.clientState)) { + if ((NodeSub16Sub2.aLong8866 != 0) && Component240.currentTimeMillis(-98) > NodeSub16Sub2.aLong8866) LogicError.method830(MenuEntry.getWindowMode(-128), Component236.anInt4005, (byte) 102, false, DefinitionSub25.anInt9335); + else if (!NodeSub8.toolkit.method3655() && DisplayModeManagerContainer351.aBoolean2674) ParticleSystem.method3327(1406); } - if (Class34.aFrame476 == null) { + if (Component225.aFrame476 == null) { java.awt.Container container; - if (Class52.aFrame4904 == null) { - if (Class93.anApplet1530 == null) container = Class348_Sub40_Sub9.anApplet_Sub1_9169; - else container = Class93.anApplet1530; - } else container = Class52.aFrame4904; + if (RSACipher.aFrame4904 == null) { + if (ToolkitFactory.anApplet1530 == null) container = DefinitionSub9.anApplet_Sub1_9169; + else container = ToolkitFactory.anApplet1530; + } else container = RSACipher.aFrame4904; int i = container.getSize().width; int i_119_ = container.getSize().height; - if (container == Class52.aFrame4904) { - Insets insets = Class52.aFrame4904.getInsets(); + if (container == RSACipher.aFrame4904) { + Insets insets = RSACipher.aFrame4904.getInsets(); i -= insets.left + insets.right; i_119_ -= insets.top - -insets.bottom; } - if (i != Class272.anInt3473 || i_119_ != Class348_Sub22.anInt6857 || RuntimeException_Sub1.aBoolean4604) { - if (Class348_Sub8.aHa6654 == null || Class348_Sub8.aHa6654.method3695()) Class367_Sub11.method3556(false); + if (i != SocketConnector.anInt3473 || i_119_ != NodeSub22.anInt6857 || RuntimeException_Sub1.aBoolean4604) { + if (NodeSub8.toolkit == null || NodeSub8.toolkit.method3695()) OpenGlShader.method3556(false); else { - Class348_Sub22.anInt6857 = i_119_; - Class272.anInt3473 = i; + NodeSub22.anInt6857 = i_119_; + SocketConnector.anInt3473 = i; } - Class348_Sub16_Sub2.aLong8866 = Class62.method599(-66) - -500L; + NodeSub16Sub2.aLong8866 = Component240.currentTimeMillis(-66) - -500L; RuntimeException_Sub1.aBoolean4604 = false; } } - if (Class34.aFrame476 != null && !Class175.aBoolean2329 && Class260.method1977((byte) -79, Class240.anInt4674)) Class85.method830(Class316.aClass348_Sub51_3959.aClass239_Sub8_7227.method1751(-32350), -1, (byte) 102, false, -1); + if (Component225.aFrame476 != null && !Component143.aBoolean2329 && Component92.method1977((byte) -79, Component49.clientState)) LogicError.method830(Component192.aClass348_Sub51_3959.aClass239_Sub8_7227.method1751(-32350), -1, (byte) 102, false, -1); boolean bool_120_ = false; - if (Class49.aBoolean4726) { + if (Component297.aBoolean4726) { bool_120_ = true; - Class49.aBoolean4726 = false; + Component297.aBoolean4726 = false; } - if (bool_120_) Class140.method1170((byte) -116); - if ((Class348_Sub8.aHa6654 != null && Class348_Sub8.aHa6654.method3655()) || Class348_Sub42_Sub12.method3229(-91) != 1) Class354.method3466(-77); - if (Class139.method1167(Class240.anInt4674, (byte) -113)) Class170.method1309(bool_120_, 117); - else if (!Class283.method2114(Class240.anInt4674, bool)) { - if (!Class348_Sub42_Sub8.method3197(Class240.anInt4674, (byte) 56)) { - if (Class318_Sub1_Sub1_Sub2.method2402(Class240.anInt4674, (byte) -78)) { - if (Class36.anInt489 == 1) { - if (Class268.anInt3441 > Class348_Sub46.anInt7115) Class348_Sub46.anInt7115 = Class268.anInt3441; - int i = ((-Class268.anInt3441 + Class348_Sub46.anInt7115) * 50 / Class348_Sub46.anInt7115); - Class362.method3511(true, Applet_Sub1.aClass324_20, Class246.aClass143_3179, (Class274.aClass274_3495.method2063(Class348_Sub33.anInt6967, 544)) + "
(" + i + "%)", 2, Class348_Sub8.aHa6654); - } else if (Class36.anInt489 == 2) { - if (Class31.anInt443 < Class154.anInt2101) Class31.anInt443 = Class154.anInt2101; - int i = (((Class31.anInt443 - Class154.anInt2101) * 50 / Class31.anInt443) + 50); - Class362.method3511(true, Applet_Sub1.aClass324_20, Class246.aClass143_3179, (Class274.aClass274_3495.method2063(Class348_Sub33.anInt6967, 544)) + "
(" + i + "%)", 2, Class348_Sub8.aHa6654); - } else Class362.method3511(true, Applet_Sub1.aClass324_20, Class246.aClass143_3179, (Class274.aClass274_3495.method2063(Class348_Sub33.anInt6967, 544)), 2, Class348_Sub8.aHa6654); - } else if (Class240.anInt4674 != 10) { - if (Class240.anInt4674 == 13) - Class362.method3511(false, Applet_Sub1.aClass324_20, Class246.aClass143_3179, ((Class274.aClass274_3497.method2063(Class348_Sub33.anInt6967, 544)) + "
" + (Class274.aClass274_3498.method2063(Class348_Sub33.anInt6967, 544))), 2, Class348_Sub8.aHa6654); - } else Class302.method2284((byte) -43, l); - } else Class239_Sub10.method1761(85); - } else Class239_Sub10.method1761(85); - if (ha_Sub3.anInt8045 == 3) { - for (int i = 0; Class348_Sub38.anInt7008 > i; i++) { - Rectangle rectangle = Class180.aRectangleArray2371[i]; - if (Class175.aBooleanArray2326[i]) Class348_Sub8.aHa6654.method3668(rectangle.width, rectangle.y, -65281, rectangle.x, rectangle.height, 46); - else if (!Class268.aBooleanArray3438[i]) Class348_Sub8.aHa6654.method3668(rectangle.width, rectangle.y, -16711936, rectangle.x, rectangle.height, 66); - else Class348_Sub8.aHa6654.method3668(rectangle.width, rectangle.y, -65536, rectangle.x, rectangle.height, 40); + if (bool_120_) Component211.method1170((byte) -116); + if ((NodeSub8.toolkit != null && NodeSub8.toolkit.method3655()) || MenuEntry.getWindowMode(-91) != 1) Component160.method3466(-77); + if (GpsOverlay.method1167(Component49.clientState, (byte) -113)) DisplayModeManagerContainer292.method1309(bool_120_, 117); + else if (!Component69.method2114(Component49.clientState, bool)) { + if (!CacheNode.method3197(Component49.clientState, (byte) 56)) { + if (Component212.method2402(Component49.clientState, (byte) -78)) { + if (Component129.anInt489 == 1) { + if (DisplayModeManagerContainer259.anInt3441 > NodeSub46.anInt7115) NodeSub46.anInt7115 = DisplayModeManagerContainer259.anInt3441; + int i = ((-DisplayModeManagerContainer259.anInt3441 + NodeSub46.anInt7115) * 50 / NodeSub46.anInt7115); + Component149.method3511(true, Applet_Sub1.aClass324_20, Component163.aClass143_3179, (FriendsIgnoreList.aClass274_3495.getLocalized(ObjectDeserializer.languageId, 544)) + "
(" + i + "%)", 2, NodeSub8.toolkit); + } else if (Component129.anInt489 == 2) { + if (Component82.anInt443 < Component101.anInt2101) Component82.anInt443 = Component101.anInt2101; + int i = (((Component82.anInt443 - Component101.anInt2101) * 50 / Component82.anInt443) + 50); + Component149.method3511(true, Applet_Sub1.aClass324_20, Component163.aClass143_3179, (FriendsIgnoreList.aClass274_3495.getLocalized(ObjectDeserializer.languageId, 544)) + "
(" + i + "%)", 2, NodeSub8.toolkit); + } else Component149.method3511(true, Applet_Sub1.aClass324_20, Component163.aClass143_3179, (FriendsIgnoreList.aClass274_3495.getLocalized(ObjectDeserializer.languageId, 544)), 2, NodeSub8.toolkit); + } else if (Component49.clientState != 10) { + if (Component49.clientState == 13) + Component149.method3511(false, Applet_Sub1.aClass324_20, Component163.aClass143_3179, ((FriendsIgnoreList.aClass274_3497.getLocalized(ObjectDeserializer.languageId, 544)) + "
" + (FriendsIgnoreList.aClass274_3498.getLocalized(ObjectDeserializer.languageId, 544))), 2, NodeSub8.toolkit); + } else Component114.pulseCameraAndHud((byte) -43, l); + } else Component98.redrawHud(85); + // States 3/5/6 below: while logging in, show "Please wait..." instead of + // the idle title UI (otherwise auto-login looks frozen for several seconds). + } else if (Component241.anInt2955 != 0 || Component49.clientState == 5 || Component49.clientState == 6) { + Component149.method3511(true, Applet_Sub1.aClass324_20, Component163.aClass143_3179, (FriendsIgnoreList.aClass274_3514.getLocalized(ObjectDeserializer.languageId, 544)), 2, NodeSub8.toolkit); + } else Component98.redrawHud(85); + if (GlToolkitSub3.anInt8045 == 3) { + for (int i = 0; NodeSub38.anInt7008 > i; i++) { + Rectangle rectangle = Component166.aRectangleArray2371[i]; + if (Component143.aBooleanArray2326[i]) NodeSub8.toolkit.method3668(rectangle.width, rectangle.y, -65281, rectangle.x, rectangle.height, 46); + else if (!DisplayModeManagerContainer259.aBooleanArray3438[i]) NodeSub8.toolkit.method3668(rectangle.width, rectangle.y, -16711936, rectangle.x, rectangle.height, 66); + else NodeSub8.toolkit.method3668(rectangle.width, rectangle.y, -65536, rectangle.x, rectangle.height, 40); } } - if (Class348_Sub42_Sub16_Sub2.method3263(bool)) Class6.method207(Class348_Sub8.aHa6654, (byte) 124); - if (Class348_Sub23_Sub1.aClass297_8992.aBoolean3794 && Class260.method1977((byte) -79, Class240.anInt4674) && ha_Sub3.anInt8045 == 0 && Class348_Sub42_Sub12.method3229(-85) == 1 && !bool_120_) { + if (HashNodeSub16Sub2.isDevConsoleOpen(bool)) BuildInfo.drawDevConsole(NodeSub8.toolkit, (byte) 124); + // Microbot HUD — after console so it stays on top of game, under console if open. + if (Loader.microbotEnabled) MicrobotPanel.draw(NodeSub8.toolkit); + if (OggUrlStream.aClass297_8992.useDirectDraw && Component92.method1977((byte) -79, Component49.clientState) && GlToolkitSub3.anInt8045 == 0 && MenuEntry.getWindowMode(-85) == 1 && !bool_120_) { int i = 0; - for (int i_121_ = 0; (Class348_Sub38.anInt7008 > i_121_); i_121_++) { - if (Class268.aBooleanArray3438[i_121_]) { - Class268.aBooleanArray3438[i_121_] = false; - Class190.aRectangleArray2554[i++] = Class180.aRectangleArray2371[i_121_]; + for (int i_121_ = 0; (NodeSub38.anInt7008 > i_121_); i_121_++) { + if (DisplayModeManagerContainer259.aBooleanArray3438[i_121_]) { + DisplayModeManagerContainer259.aBooleanArray3438[i_121_] = false; + DisplayModeManagerContainer56.aRectangleArray2554[i++] = Component166.aRectangleArray2371[i_121_]; } } try { - if (!Class59_Sub1.aBoolean5300) Class348_Sub8.aHa6654.method3657(Class190.aRectangleArray2554, i, 66); - else Class140.method1168(i, 0, Class190.aRectangleArray2554); + if (!Component210.gameCanvasAttached) NodeSub8.toolkit.method3657(DisplayModeManagerContainer56.aRectangleArray2554, i, 66); + else Component211.method1168(i, 0, DisplayModeManagerContainer56.aRectangleArray2554); } catch (Exception_Sub1 exception_sub1) { /* empty */ } - } else if (!Class139.method1167(Class240.anInt4674, (byte) -59)) { - for (int i = 0; Class348_Sub38.anInt7008 > i; i++) - Class268.aBooleanArray3438[i] = false; + } else if (!GpsOverlay.method1167(Component49.clientState, (byte) -59)) { + for (int i = 0; NodeSub38.anInt7008 > i; i++) + DisplayModeManagerContainer259.aBooleanArray3438[i] = false; try { - if (Class59_Sub1.aBoolean5300) Class45.method395(107); - else Class348_Sub8.aHa6654.method3689((byte) 104); + if (Component210.gameCanvasAttached) CacheStore.method395(107); + else NodeSub8.toolkit.method3689((byte) 104); } catch (Exception_Sub1 exception_sub1) { - Class156.method1242((exception_sub1.getMessage() + " (Recovered) " + method81((byte) 79)), exception_sub1, 15004); - Class367_Sub10.method3553(false, (byte) 113, 0); + ClientErrorReporter.reportError((exception_sub1.getMessage() + " (Recovered) " + method81((byte) 79)), exception_sub1, 15004); + SoftwareFallbackShader.method3553(false, (byte) 113, 0); } } - Class62.method598(9013); - int i = Class316.aClass348_Sub51_3959.aClass239_Sub17_7263.method1798(-32350); - if (i == 0) Class286_Sub5.method2161((byte) -127, 15L); + Component240.method598(9013); + int i = Component192.aClass348_Sub51_3959.aClass239_Sub17_7263.method1798(-32350); + if (i == 0) SpriteAtlasShader.sleep((byte) -127, 15L); else if (i != 1) { if (i != 2) { - if (i == 3) Class286_Sub5.method2161((byte) -102, 2L); - } else Class286_Sub5.method2161((byte) -97, 5L); - } else Class286_Sub5.method2161((byte) -104, 10L); - if (Class319.aBoolean3988) Class188.method1416(5); - if (Class316.aClass348_Sub51_3959.aClass239_Sub11_7265.method1768(-32350) == 1 && Class240.anInt4674 == 3 && r.anInt9721 != -1) { - Class316.aClass348_Sub51_3959.method3429((byte) 74, (Class316.aClass348_Sub51_3959.aClass239_Sub11_7265), 0); - Class14_Sub2.method243(37); + if (i == 3) SpriteAtlasShader.sleep((byte) -102, 2L); + } else SpriteAtlasShader.sleep((byte) -97, 5L); + } else SpriteAtlasShader.sleep((byte) -104, 10L); + if (Component144.aBoolean3988) ReliefShader.method1416(5); + if (Component192.aClass348_Sub51_3959.aClass239_Sub11_7265.method1768(-32350) == 1 && Component49.clientState == 3 && r.anInt9721 != -1) { + Component192.aClass348_Sub51_3959.method3429((byte) 74, (Component192.aClass348_Sub51_3959.aClass239_Sub11_7265), 0); + DisplayModeManagerContainer389.method243(37); } } } static final void method117(int i) { - int i_122_ = Class328_Sub1.anInt6513; - int[] is = Class286_Sub7.anIntArray6290; - for (int i_123_ = 0; i_123_ < i_122_ + Class150.anInt2057; i_123_++) { - Class318_Sub1_Sub3_Sub3 class318_sub1_sub3_sub3; - if (i_123_ < i_122_) class318_sub1_sub3_sub3 = (Class294.aPlayerArray5058[is[i_123_]]); - else class318_sub1_sub3_sub3 = ((Class348_Sub22) Class282.aClass356_3654.method3480(Class74.anIntArray1233[i_123_ - i_122_], -6008)).aNpc_6859; + int i_122_ = ShaderCompilerSub1.anInt6513; + int[] is = ShaderProgramSub7.anIntArray6290; + for (int i_123_ = 0; i_123_ < i_122_ + Component324.anInt2057; i_123_++) { + DisplayModeManagerContainer58 class318_sub1_sub3_sub3; + if (i_123_ < i_122_) class318_sub1_sub3_sub3 = (InterfaceRenderer.players[is[i_123_]]); + else class318_sub1_sub3_sub3 = ((NodeSub22) Component21.aClass356_3654.get(DisplayModeManagerContainer238.anIntArray1233[i_123_ - i_122_], -6008)).npc; if (class318_sub1_sub3_sub3.plane == i && (class318_sub1_sub3_sub3.anInt10285) >= 0) { int i_124_ = class318_sub1_sub3_sub3.method2436((byte) 114); if ((i_124_ & 0x1) == 0) { @@ -2021,10 +2050,10 @@ static final void method117(int i) { if (i_124_ == 1) { int i_125_ = (class318_sub1_sub3_sub3.x >> 9); int i_126_ = (class318_sub1_sub3_sub3.y >> 9); - if ((class318_sub1_sub3_sub3.anInt10285) > (Class348_Sub42_Sub17.anIntArrayArray9678[i_125_][i_126_])) { - Class348_Sub42_Sub17.anIntArrayArray9678[i_125_][i_126_] = class318_sub1_sub3_sub3.anInt10285; - Class239_Sub8.anIntArrayArray5921[i_125_][i_126_] = 1; - } else if (class318_sub1_sub3_sub3.anInt10285 == (Class348_Sub42_Sub17.anIntArrayArray9678[i_125_][i_126_])) Class239_Sub8.anIntArrayArray5921[i_125_][i_126_]++; + if ((class318_sub1_sub3_sub3.anInt10285) > (HashNodeSub17.anIntArrayArray9678[i_125_][i_126_])) { + HashNodeSub17.anIntArrayArray9678[i_125_][i_126_] = class318_sub1_sub3_sub3.anInt10285; + DisplayModeManagerContainer295.anIntArrayArray5921[i_125_][i_126_] = 1; + } else if (class318_sub1_sub3_sub3.anInt10285 == (HashNodeSub17.anIntArrayArray9678[i_125_][i_126_])) DisplayModeManagerContainer295.anIntArrayArray5921[i_125_][i_126_]++; } else { int i_127_ = (i_124_ - 1) * 256 + 60; int i_128_ = ((class318_sub1_sub3_sub3.x - i_127_) >> 9); @@ -2033,10 +2062,10 @@ static final void method117(int i) { int i_131_ = ((class318_sub1_sub3_sub3.y + i_127_) >> 9); for (int i_132_ = i_128_; i_132_ <= i_130_; i_132_++) { for (int i_133_ = i_129_; i_133_ <= i_131_; i_133_++) { - if (class318_sub1_sub3_sub3.anInt10285 > (Class348_Sub42_Sub17.anIntArrayArray9678[i_132_][i_133_])) { - Class348_Sub42_Sub17.anIntArrayArray9678[i_132_][i_133_] = class318_sub1_sub3_sub3.anInt10285; - Class239_Sub8.anIntArrayArray5921[i_132_][i_133_] = 1; - } else if (class318_sub1_sub3_sub3.anInt10285 == (Class348_Sub42_Sub17.anIntArrayArray9678[i_132_][i_133_])) Class239_Sub8.anIntArrayArray5921[i_132_][i_133_]++; + if (class318_sub1_sub3_sub3.anInt10285 > (HashNodeSub17.anIntArrayArray9678[i_132_][i_133_])) { + HashNodeSub17.anIntArrayArray9678[i_132_][i_133_] = class318_sub1_sub3_sub3.anInt10285; + DisplayModeManagerContainer295.anIntArrayArray5921[i_132_][i_133_] = 1; + } else if (class318_sub1_sub3_sub3.anInt10285 == (HashNodeSub17.anIntArrayArray9678[i_132_][i_133_])) DisplayModeManagerContainer295.anIntArrayArray5921[i_132_][i_133_]++; } } } @@ -2048,22 +2077,22 @@ final String method81(byte i) { anInt5175++; String string = null; try { - string = ("[1)" + za_Sub2.regionTileX + "," + Class90.regionTileY + "," + Class367_Sub4.anInt7319 + "," + Class348_Sub40_Sub3.anInt9109 + "|"); + string = ("[1)" + NodeBaseSub2.regionTileX + "," + Component330.regionTileY + "," + AbstractShaderSub4.anInt7319 + "," + ParametricDefinition.anInt9109 + "|"); if (i < 40) aClass262_5185 = null; - if (Class132.aPlayer_1907 != null) - string += ("2)" + Class355.anInt4372 + "," + (za_Sub2.regionTileX + (Class132.aPlayer_1907.anIntArray10320[0])) + "," + (Class90.regionTileY + (Class132.aPlayer_1907.anIntArray10317[0])) + "|"); - string += ("3)" + Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) + "|4)" + Class316.aClass348_Sub51_3959.aClass239_Sub20_7216.method1808(-32350) + "|5)" + Class348_Sub42_Sub12.method3229(-65) + "|6)" + Class321.anInt4017 + "," + Class348_Sub42_Sub8_Sub2.anInt10432 + "|"); - string += "7)" + Class316.aClass348_Sub51_3959.aClass239_Sub28_7230.method1845(-32350) + "|"; - string += "8)" + Class316.aClass348_Sub51_3959.aClass239_Sub7_7238.method1748(-32350) + "|"; - string += "9)" + Class316.aClass348_Sub51_3959.aClass239_Sub18_7259.method1800(-32350) + "|"; - string += "10)" + Class316.aClass348_Sub51_3959.aClass239_Sub24_7235.method1820(-32350) + "|"; - string += "11)" + Class316.aClass348_Sub51_3959.aClass239_Sub12_7243.method1771(-32350) + "|"; - string += "12)" + Class316.aClass348_Sub51_3959.aClass239_Sub27_7261.method1840(-32350) + "|"; - string += "13)" + Class226.anInt2964 + "|"; - string += "14)" + Class240.anInt4674; - if (Class348_Sub40_Sub20.aClass348_Sub4_9264 != null) string += "|15)" + (Class348_Sub40_Sub20.aClass348_Sub4_9264.anInt6609); + if (Component72.localPlayer != null) + string += ("2)" + Component117.anInt4372 + "," + (NodeBaseSub2.regionTileX + (Component72.localPlayer.anIntArray10320[0])) + "," + (Component330.regionTileY + (Component72.localPlayer.anIntArray10317[0])) + "|"); + string += ("3)" + Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) + "|4)" + Component192.aClass348_Sub51_3959.aClass239_Sub20_7216.method1808(-32350) + "|5)" + MenuEntry.getWindowMode(-65) + "|6)" + Component236.anInt4017 + "," + PacketReader.anInt10432 + "|"); + string += "7)" + Component192.aClass348_Sub51_3959.aClass239_Sub28_7230.method1845(-32350) + "|"; + string += "8)" + Component192.aClass348_Sub51_3959.aClass239_Sub7_7238.method1748(-32350) + "|"; + string += "9)" + Component192.aClass348_Sub51_3959.aClass239_Sub18_7259.method1800(-32350) + "|"; + string += "10)" + Component192.aClass348_Sub51_3959.aClass239_Sub24_7235.method1820(-32350) + "|"; + string += "11)" + Component192.aClass348_Sub51_3959.aClass239_Sub12_7243.method1771(-32350) + "|"; + string += "12)" + Component192.aClass348_Sub51_3959.aClass239_Sub27_7261.method1840(-32350) + "|"; + string += "13)" + Component127.anInt2964 + "|"; + string += "14)" + Component49.clientState; + if (DefinitionSub20.aClass348_Sub4_9264 != null) string += "|15)" + (DefinitionSub20.aClass348_Sub4_9264.anInt6609); try { - if (Class316.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) == 2) { + if (Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350) == 2) { Field field = ClassLoader.class.getDeclaredField("nativeLibraries"); field.setAccessible(true); Vector vector = ((Vector) field.get((aClass5189 != null ? aClass5189 : (aClass5189 = client.class)).getClassLoader())); diff --git a/client/src/d.java b/client/src/d.java deleted file mode 100644 index 5f6d85a60..000000000 --- a/client/src/d.java +++ /dev/null @@ -1,17 +0,0 @@ -/* d - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -interface d { - float[] method1(int i, float f, boolean bool, int i_0_, int i_1_, int i_2_); - - int method2(boolean bool); - - Class12 method3(int i, int i_3_); - - boolean method4(int i, int i_4_); - - int[] method5(boolean bool, int i, float f, int i_5_, int i_6_, int i_7_); - - int[] method6(int i, int i_8_, float f, int i_9_, boolean bool, int i_10_); -} diff --git a/client/src/dxVertexLayout.java b/client/src/dxVertexLayout.java deleted file mode 100644 index b3c06ab9a..000000000 --- a/client/src/dxVertexLayout.java +++ /dev/null @@ -1,34 +0,0 @@ -/* dxVertexLayout - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jagdx.IDirect3DVertexDeclaration; -import jagdx.VertexElementCollection; - -public class dxVertexLayout extends Class130 { - IDirect3DVertexDeclaration anIDirect3DVertexDeclaration5803; - - dxVertexLayout(Class378 class378, Class58[] class58s) { - VertexElementCollection vertexelementcollection = new VertexElementCollection(class378.aHb9788); - int i = 0; - for (int i_0_ = 0; i_0_ < class58s.length; i_0_++) { - int i_1_ = 0; - Class58 class58 = class58s[i_0_]; - for (int i_2_ = 0; (i_2_ < class58.method538((byte) -126)); i_2_++) { - Class325 class325 = class58.method537(i_2_, 126); - if (Class325.aClass325_4073 == class325) vertexelementcollection.addElement(i_0_, 2, 0, 0, 0, i_1_); - else if (class325 == Class325.aClass325_4075) vertexelementcollection.addElement(i_0_, 2, 0, 3, 0, i_1_); - else if (Class325.aClass325_4076 != class325) { - if (class325 == Class325.aClass325_4077) vertexelementcollection.addElement(i_0_, 0, 0, 5, i++, i_1_); - else if (Class325.aClass325_4078 == class325) vertexelementcollection.addElement(i_0_, 1, 0, 5, i++, i_1_); - else if (Class325.aClass325_4079 != class325) { - if (Class325.aClass325_4080 == class325) vertexelementcollection.addElement(i_0_, 3, 0, 5, i++, i_1_); - } else vertexelementcollection.addElement(i_0_, 2, 0, 5, i++, i_1_); - } else vertexelementcollection.addElement(i_0_, 4, 0, 10, 0, i_1_); - i_1_ += class325.anInt4069; - } - } - vertexelementcollection.finish(); - this.anIDirect3DVertexDeclaration5803 = class378.anIDirect3DDevice9810.a(vertexelementcollection, null); - } -} diff --git a/client/src/h.java b/client/src/h.java deleted file mode 100644 index 23d9a9814..000000000 --- a/client/src/h.java +++ /dev/null @@ -1,40 +0,0 @@ -/* h - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class h extends Class324 implements Interface19 { - long nativeid; - - h(oa var_oa, ya var_ya, Class143 class143, Class207[] class207s, Class105[] class105s) { - super(var_oa, class143); - byte[][] is = new byte[class207s.length][]; - int[] is_0_ = new int[class207s.length]; - int[] is_1_ = new int[class207s.length]; - int[] is_2_ = new int[class207s.length]; - int[] is_3_ = new int[class207s.length]; - for (int i = 0; i < class207s.length; i++) { - is[i] = class207s[i].aByteArray2699; - is_0_[i] = class207s[i].anInt2702; - is_1_[i] = class207s[i].anInt2696; - is_2_[i] = class207s[i].anInt2703; - is_3_[i] = class207s[i].anInt2700; - } - JA(var_oa, var_ya, is, is_0_, is_1_, is_2_, is_3_); - } - - protected final void finalize() { - if (this.nativeid != 0L) Class257.method1947(0, this); - } - - public final native void w(boolean bool); - - final native void fa(char c, int i, int i_4_, int i_5_, boolean bool); - - final void method2578(char c, int i, int i_6_, int i_7_, boolean bool, aa var_aa, int i_8_, int i_9_) { - NA(c, i, i_6_, i_7_, bool, var_aa, i_8_, i_9_); - } - - private final native void NA(char c, int i, int i_10_, int i_11_, boolean bool, aa var_aa, int i_12_, int i_13_); - - private final native void JA(oa var_oa, ya var_ya, byte[][] is, int[] is_14_, int[] is_15_, int[] is_16_, int[] is_17_); -} diff --git a/client/src/ha.java b/client/src/ha.java deleted file mode 100644 index 5c95217d4..000000000 --- a/client/src/ha.java +++ /dev/null @@ -1,388 +0,0 @@ -/* ha - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; -import java.util.Random; - -abstract class ha { - static int anInt4561; - static int anInt4562; - static int anInt4563; - static int anInt4564; - static int anInt4565; - static int anInt4566; - int anInt4567; - static int anInt4568; - static int anInt4569; - static int anInt4570; - static Class351 aClass351_4571; - static int anInt4572; - static int anInt4573; - static int anInt4574; - static int anInt4575; - static int anInt4576; - static int anInt4577; - static int[] anIntArray4578 = new int[200]; - d aD4579; - static int anInt4580; - static int anInt4581; - static float aFloat4582; - static int anInt4583; - - abstract Interface13 method3624(int i, int i_0_); - - abstract void b(int i, int i_1_, int i_2_, int i_3_, double d); - - abstract Class64 method3625(Class124 class124, int i, int i_4_, int i_5_, int i_6_); - - abstract void F(int i, int i_7_); - - abstract void method3626(int i, int i_8_) throws Exception_Sub1; - - abstract boolean method3627(); - - abstract void method3628(int i, int i_9_, int i_10_, int i_11_, int i_12_, int i_13_); - - abstract Class105 method3629(int i, int i_14_, boolean bool); - - abstract int[] Y(); - - abstract void method3630(boolean bool); - - abstract int E(); - - abstract int I(); - - abstract void method3631(int i); - - abstract void method3632(int[] is); - - abstract void X(int i); - - abstract void xa(float f); - - abstract void method3633(); - - abstract void ya(); - - abstract Interface4 method3634(Interface3 interface3, Interface13 interface13); - - final void method3635(byte i) { - int i_15_ = -90 % ((i - 8) / 33); - anInt4573++; - Class348_Sub40_Sub26.aBooleanArray9351[this.anInt4567] = false; - method3652(); - } - - abstract void method3636(int i, int i_16_, int i_17_, int i_18_, int i_19_, int i_20_, aa var_aa, int i_21_, int i_22_); - - abstract Class365 c();//c - - abstract void method3638(Class101 class101); - - abstract int[] na(int i, int i_23_, int i_24_, int i_25_); - - abstract int r(int i, int i_26_, int i_27_, int i_28_, int i_29_, int i_30_, int i_31_); - - abstract void DA(int i, int i_32_, int i_33_, int i_34_); - - abstract boolean method3639(); - - abstract Class101 method3640(); - - static final void method3641(int i, int i_35_, byte i_36_, int i_37_, int i_38_, int i_39_) { - anInt4575++; - if (i_36_ != -75) anInt4581 = 73; - if (i_35_ == i_38_) Class127.method1116(i, i_37_, i_39_, i_38_, (byte) -99); - else if (Class369.anInt4960 <= i_39_ + -i_38_ && Class113.anInt1745 >= i_39_ - -i_38_ && -i_35_ + i >= Class132.anInt1910 && Class38.anInt513 >= i + i_35_) Class55.method515(i_37_, i_39_, i, i_35_, i_38_, -122); - else Class239_Sub27.method1839(i_39_, i_35_, i, i_36_ ^ 0x4a, i_37_, i_38_); - } - - abstract void method3642(int i, Class348_Sub1[] class348_sub1s); - - abstract void method3643(Canvas canvas, int i, int i_40_); - - abstract boolean method3644(); - - final void method3645(int i, int i_41_, int i_42_, int i_43_, int i_44_, int i_45_) { - anInt4563++; - method3709(i_41_, i, i_42_, i_45_, i_44_, 1); - if (i_43_ != -8003) method3665(75, 67); - } - - abstract void method3646(int i); - - abstract void method3647(boolean bool); - - abstract s method3648(int i, int i_46_, int[][] is, int[][] is_47_, int i_48_, int i_49_, int i_50_); - - final void method3649(byte i, int i_51_, int i_52_, int i_53_, int i_54_) { - anInt4569++; - if (i < -67) U(i_54_, i_52_, i_51_, i_53_, 1); - } - - abstract void method3650(int i); - - abstract void method3651(za var_za); - - abstract void P(int i, int i_55_, int i_56_, int i_57_, int i_58_); - - abstract void method3652(); - - abstract void za(int i, int i_59_, int i_60_, int i_61_, int i_62_); - - abstract void method3653(Class299 class299); - - abstract Class101 method3654(); - - abstract int JA(int i, int i_63_, int i_64_, int i_65_, int i_66_, int i_67_); - - abstract int i(); - - abstract boolean method3655(); - - final void method3656(byte i, int i_68_, int i_69_, int i_70_, int i_71_) { - anInt4580++; - za(i_70_, i_71_, i_69_, i_68_, 1); - if (i >= -97) aFloat4582 = 0.37843478F; - } - - abstract void L(int i, int i_72_, int i_73_); - - final void method3657(Rectangle[] rectangles, int i, int i_74_) throws Exception_Sub1 { - method3707(rectangles, i, 0, 0); - anInt4568++; - if (i_74_ <= 41) this.anInt4567 = 54; - } - - abstract void f(int i, int i_75_); - - abstract void la(); - - abstract void method3658(int i, int i_76_, int i_77_, int i_78_); - - abstract void method3659(int i); - - final void method3660(int i, int i_79_, int i_80_, int i_81_, boolean bool) { - if (bool != true) H(-122, 91, -22, null); - anInt4570++; - P(i, i_81_, i_80_, i_79_, 1); - } - - abstract aa method3661(int i, int i_82_, int[] is, int[] is_83_); - - final Class105 method3662(int i, int[] is, byte i_84_, int i_85_, int i_86_, int i_87_) { - anInt4565++; - if (i_84_ != 94) return null; - return method3711(is, i_85_, i_86_, i, i_87_, true); - } - - abstract void method3663(); - - static final byte[] method3664(int i, int i_88_) { - anInt4564++; - if (i_88_ <= 21) anInt4583 = 60; - Class348_Sub42_Sub3 class348_sub42_sub3 = ((Class348_Sub42_Sub3) Class348_Sub1_Sub2.aClass308_8815.method2302(i, (byte) -120)); - if (class348_sub42_sub3 == null) { - byte[] is = new byte[512]; - Random random = new Random(i); - for (int i_89_ = 0; i_89_ < 255; i_89_++) - is[i_89_] = (byte) i_89_; - for (int i_90_ = 0; i_90_ < 255; i_90_++) { - int i_91_ = -i_90_ + 255; - int i_92_ = Class124.method1097((byte) 95, i_91_, random); - byte i_93_ = is[i_92_]; - is[i_92_] = is[i_91_]; - is[i_91_] = is[511 + -i_90_] = i_93_; - } - class348_sub42_sub3 = new Class348_Sub42_Sub3(is); - Class348_Sub1_Sub2.aClass308_8815.method2305(i, class348_sub42_sub3, -1); - } - return class348_sub42_sub3.aByteArray9499; - } - - abstract Interface3 method3665(int i, int i_94_); - - abstract void pa(); - - abstract boolean method3666(); - - abstract void da(int i, int i_95_, int i_96_, int[] is); - - abstract int method3667(int i, int i_97_); - - abstract void Q(int i, int i_98_, int i_99_, int i_100_, int i_101_, int i_102_, byte[] is, int i_103_, int i_104_); - - final void method3668(int i, int i_105_, int i_106_, int i_107_, int i_108_, int i_109_) { - anInt4574++; - if (i_109_ >= 21) method3628(i_107_, i_105_, i, i_108_, i_106_, 1); - } - - abstract void HA(int i, int i_110_, int i_111_, int i_112_, int[] is); - - abstract void method3669(Canvas canvas, int i, int i_113_); - - abstract boolean method3670(); - - abstract boolean method3671(); - - abstract void method3672(); - - abstract void method3673(); - - abstract void method3674(int i, int i_114_, int i_115_, int i_116_, int i_117_, int i_118_, int i_119_, int i_120_, int i_121_); - - abstract void EA(int i, int i_122_, int i_123_, int i_124_); - - final void method3675(int i, byte i_125_, int i_126_, int i_127_, int i_128_, int i_129_) { - if (i_125_ == -125) { - aa(i_126_, i_127_, i, i_128_, i_129_, 1); - anInt4566++; - } - } - - abstract void method3676(int i, int i_130_, int i_131_, int i_132_, int i_133_, int i_134_, int i_135_, int i_136_, int i_137_, int i_138_, int i_139_, int i_140_, int i_141_); - - abstract void method3677(Canvas canvas); - - abstract void method3678(int i); - - abstract int method3679(int i, int i_142_); - - public static void method3680(int i) { - if (i != -24016) anIntArray4578 = null; - anIntArray4578 = null; - aClass351_4571 = null; - } - - final void method3681(Class105 class105, int i) { - method3687(method3634(class105, method3624(class105.method971(), class105.method969()))); - anInt4561++; - if (i != 0) DA(-75, -67, 18, -116); - } - - abstract boolean method3682(); - - abstract Class105 method3683(int i, int i_143_, int i_144_, int i_145_, boolean bool); - - abstract void method3684(Class98 class98); - - abstract void method3685(Class98 class98, int i); - - abstract void K(int[] is); - - abstract Class324 method3686(Class143 class143, Class207[] class207s, boolean bool); - - abstract void H(int i, int i_146_, int i_147_, int[] is); - - abstract void T(int i, int i_148_, int i_149_, int i_150_); - - abstract void ZA(int i, float f, float f_151_, float f_152_, float f_153_, float f_154_); - - abstract void ra(int i, int i_155_, int i_156_, int i_157_); - - abstract int M(); - - abstract void C(boolean bool); - - abstract void method3687(Interface4 interface4); - - abstract void method3688(int i, int i_158_, int i_159_, int i_160_, int i_161_, int i_162_, int i_163_); - - final void method3689(byte i) throws Exception_Sub1 { - method3626(0, 0); - if (i >= 53) anInt4572++; - } - - abstract Class348_Sub1 method3690(int i, int i_164_, int i_165_, int i_166_, int i_167_, float f); - - abstract Class105 method3691(Class207 class207, boolean bool); - - static final synchronized ha method3692(int i, int i_168_, int i_169_, Class45 class45, int i_170_, d var_d, Canvas canvas, int i_171_) { - try { - anInt4576++; - if (i_170_ == i_171_) return Class348_Sub5.method2753(true, i_168_, i_169_, canvas, var_d); - if (i_171_ == 2) return Class306.method2297(-6, i_168_, var_d, canvas, i_169_); - if (i_171_ == 1) return Class262.method2000(3, i, canvas, var_d); - if (i_171_ == 5) return Class93.method862(canvas, var_d, class45, 25542, i); - if (i_171_ == 3) return Class96.method870(i, i_170_ ^ 0x4a31, var_d, class45, canvas); - throw new IllegalArgumentException("UM"); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ha.TJ(" + i + ',' + i_168_ + ',' + i_169_ + ',' + (class45 != null ? "{...}" : "null") + ',' + i_170_ + ',' + (var_d != null ? "{...}" : "null") + ',' + (canvas != null ? "{...}" : "null") + ',' + i_171_ + ')')); - } - } - - abstract boolean method3693(); - - abstract boolean method3694(); - - abstract boolean method3695(); - - abstract void method3696(int i); - - abstract Class299 method3697(int i, int i_172_, int i_173_, int i_174_, int i_175_, int i_176_); - - protected void finalize() { - method3635((byte) 46); - anInt4577++; - } - - abstract void KA(int i, int i_177_, int i_178_, int i_179_); - - abstract void method3698(); - - abstract boolean method3699(); - - abstract void method3700(float f, float f_180_, float f_181_); - - abstract void A(int i, aa var_aa, int i_182_, int i_183_); - - abstract void method3701(Canvas canvas); - - abstract za method3702(int i); - - abstract void method3703(int i, int i_184_, int i_185_, int i_186_, int i_187_, int i_188_, aa var_aa, int i_189_, int i_190_, int i_191_, int i_192_, int i_193_); - - abstract int method3704(); - - abstract Class101 method3705(); - - abstract int XA(); - - abstract void U(int i, int i_194_, int i_195_, int i_196_, int i_197_); - - abstract void aa(int i, int i_198_, int i_199_, int i_200_, int i_201_, int i_202_); - - abstract void GA(int i); - - abstract Class299 method3706(Class299 class299, Class299 class299_203_, float f, Class299 class299_204_); - - abstract void method3707(Rectangle[] rectangles, int i, int i_205_, int i_206_) throws Exception_Sub1; - - abstract boolean method3708(); - - abstract void method3709(int i, int i_207_, int i_208_, int i_209_, int i_210_, int i_211_); - - abstract void method3710(); - - abstract Class105 method3711(int[] is, int i, int i_212_, int i_213_, int i_214_, boolean bool); - - ha(d var_d) { - this.aD4579 = var_d; - int i = -1; - for (int i_215_ = 0; i_215_ < 8; i_215_++) { - if (!Class348_Sub40_Sub26.aBooleanArray9351[i_215_]) { - Class348_Sub40_Sub26.aBooleanArray9351[i_215_] = true; - i = i_215_; - break; - } - } - if (i == -1) throw new IllegalStateException("NFTI"); - this.anInt4567 = i; - } - - static { - aClass351_4571 = new Class351(73, -1); - } -} diff --git a/client/src/ha_Sub1.java b/client/src/ha_Sub1.java deleted file mode 100644 index 1f531ab1e..000000000 --- a/client/src/ha_Sub1.java +++ /dev/null @@ -1,2296 +0,0 @@ -/* ha_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; - -final class ha_Sub1 extends ha { - private int anInt7465; - private int anInt7466; - private Class356 aClass356_7467; - private Canvas aCanvas7468; - Class348_Sub31 aClass348_Sub31_7469; - private boolean aBoolean7470 = false; - private boolean aBoolean7471 = false; - private int anInt7472; - int anInt7473; - int anInt7474; - private Class49 aClass49_7475; - int anInt7476; - int anInt7477; - int anInt7478; - int anInt7479; - private Class167[] aClass167Array7480; - private int anInt7481; - int anInt7482; - int[] anIntArray7483; - int anInt7484; - int anInt7485; - private int anInt7486; - private int anInt7487; - private int anInt7488; - private boolean aBoolean7489; - int anInt7490; - int anInt7491; - Class101_Sub1 aClass101_Sub1_7492; - private int anInt7493; - int anInt7494; - private int anInt7495; - int anInt7496; - int anInt7497; - private final Class60 aClass60_7498; - private final Class60 aClass60_7499; - int anInt7500; - int anInt7501; - float[] aFloatArray7502; - int anInt7503; - int anInt7504; - private int anInt7505; - int anInt7506; - int anInt7507; - int anInt7508; - int anInt7509; - int anInt7510; - float[] aFloatArray7511; - private int anInt7512; - private Class105 aClass105_7513; - - final boolean method3695() { - return true; - } - - final void GA(int i) { - aa(0, 0, this.anInt7477, anInt7486, i, 0); - } - - final int[] na(int i, int i_0_, int i_1_, int i_2_) { - int[] is = new int[i_1_ * i_2_]; - int i_3_ = 0; - for (int i_4_ = 0; i_4_ < i_2_; i_4_++) { - int i_5_ = (i_0_ + i_4_) * this.anInt7477 + i; - for (int i_6_ = 0; i_6_ < i_1_; i_6_++) - is[i_3_++] = this.anIntArray7483[i_5_ + i_6_]; - } - return is; - } - - final void method3628(int i, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_) { - U(i, i_7_, i_8_, i_10_, i_11_); - U(i, i_7_ + i_9_ - 1, i_8_, i_10_, i_11_); - P(i, i_7_ + 1, i_9_ - 2, i_10_, i_11_); - P(i + i_8_ - 1, i_7_ + 1, i_9_ - 2, i_10_, i_11_); - } - - final void pa() { - for (int i = 0; i < aClass167Array7480.length; i++) { - aClass167Array7480[i].anInt2192 = aClass167Array7480[i].anInt2205; - aClass167Array7480[i].aBoolean2195 = false; - } - } - - final void method3703(int i, int i_12_, int i_13_, int i_14_, int i_15_, int i_16_, aa var_aa, int i_17_, int i_18_, int i_19_, int i_20_, int i_21_) { - aa_Sub3 var_aa_Sub3 = (aa_Sub3) var_aa; - int[] is = var_aa_Sub3.anIntArray5201; - int[] is_22_ = var_aa_Sub3.anIntArray5202; - int i_23_ = (Math.max(this.anInt7476, i_18_)); - int i_24_ = (Math.min(this.anInt7503, i_18_ + is.length)); - i_21_ <<= 8; - i_19_ <<= 8; - i_20_ <<= 8; - int i_25_ = i_19_ + i_20_; - i_21_ %= i_25_; - i_13_ -= i; - i_14_ -= i_12_; - if (i_13_ + i_14_ < 0) { - int i_26_ = (int) (Math.sqrt(i_13_ * i_13_ + i_14_ * i_14_) * 256.0); - int i_27_ = i_26_ % i_25_; - i_21_ = i_25_ + i_19_ - i_21_ - i_27_; - i_21_ %= i_25_; - if (i_21_ < 0) i_21_ += i_25_; - i += i_13_; - i_13_ = -i_13_; - i_12_ += i_14_; - i_14_ = -i_14_; - } - if (i_13_ > i_14_) { - i_12_ <<= 16; - i_12_ += 32768; - i_14_ <<= 16; - int i_28_ = (int) Math.floor((double) i_14_ / (double) i_13_ + 0.5); - i_13_ += i; - int i_29_ = i_15_ >>> 24; - int i_30_ = (int) Math.sqrt(65536 + (i_28_ >> 8) * (i_28_ >> 8)); - if (i_16_ == 0 || i_16_ == 1 && i_29_ == 255) { - while (i <= i_13_) { - int i_31_ = i_12_ >> 16; - int i_32_ = i_31_ - i_18_; - if (i >= this.anInt7496 && i < this.anInt7507 && i_31_ >= i_23_ && i_31_ < i_24_ && i_21_ < i_19_) { - int i_33_ = i_17_ + is[i_32_]; - if (i >= i_33_ && i < i_33_ + is_22_[i_32_]) this.anIntArray7483[i + i_31_ * this.anInt7477] = i_15_; - } - i_12_ += i_28_; - i++; - i_21_ += i_30_; - i_21_ %= i_25_; - } - return; - } - if (i_16_ == 1) { - i_15_ = (((i_15_ & 0xff00ff) * i_29_ >> 8 & 0xff00ff) + ((i_15_ & 0xff00) * i_29_ >> 8 & 0xff00) + (i_29_ << 24)); - int i_34_ = 256 - i_29_; - while (i <= i_13_) { - int i_35_ = i_12_ >> 16; - int i_36_ = i_35_ - i_18_; - if (i >= this.anInt7496 && i < this.anInt7507 && i_35_ >= i_23_ && i_35_ < i_24_ && i_21_ < i_19_) { - int i_37_ = i_17_ + is[i_36_]; - if (i >= i_37_ && i < i_37_ + is_22_[i_36_]) { - int i_38_ = i + i_35_ * this.anInt7477; - int i_39_ = this.anIntArray7483[i_38_]; - i_39_ = (((i_39_ & 0xff00ff) * i_34_ >> 8 & 0xff00ff) + ((i_39_ & 0xff00) * i_34_ >> 8 & 0xff00)); - this.anIntArray7483[i_38_] = i_15_ + i_39_; - } - } - i_12_ += i_28_; - i++; - i_21_ += i_30_; - i_21_ %= i_25_; - } - return; - } - if (i_16_ == 2) { - while (i <= i_13_) { - int i_40_ = i_12_ >> 16; - int i_41_ = i_40_ - i_18_; - if (i >= this.anInt7496 && i < this.anInt7507 && i_40_ >= i_23_ && i_40_ < i_24_ && i_21_ < i_19_) { - int i_42_ = i_17_ + is[i_41_]; - if (i >= i_42_ && i < i_42_ + is_22_[i_41_]) { - int i_43_ = i + i_40_ * this.anInt7477; - int i_44_ = this.anIntArray7483[i_43_]; - int i_45_ = i_15_ + i_44_; - int i_46_ = (i_15_ & 0xff00ff) + (i_44_ & 0xff00ff); - i_44_ = (i_46_ & 0x1000100) + (i_45_ - i_46_ & 0x10000); - this.anIntArray7483[i_43_] = i_45_ - i_44_ | i_44_ - (i_44_ >>> 8); - } - } - i_12_ += i_28_; - i++; - i_21_ += i_30_; - i_21_ %= i_25_; - } - return; - } - throw new IllegalArgumentException(); - } - i <<= 16; - i += 32768; - i_13_ <<= 16; - int i_47_ = (int) Math.floor((double) i_13_ / (double) i_14_ + 0.5); - int i_48_ = (int) Math.sqrt(65536 + (i_47_ >> 8) * (i_47_ >> 8)); - i_14_ += i_12_; - int i_49_ = i_15_ >>> 24; - if (i_16_ == 0 || i_16_ == 1 && i_49_ == 255) { - while (i_12_ <= i_14_) { - int i_50_ = i >> 16; - int i_51_ = i_12_ - i_18_; - if (i_12_ >= i_23_ && i_12_ < i_24_ && i_50_ >= this.anInt7496 && i_50_ < this.anInt7507 && i_21_ < i_19_ && i_50_ >= i_17_ + is[i_51_] && i_50_ < i_17_ + is[i_51_] + is_22_[i_51_]) this.anIntArray7483[i_50_ + i_12_ * this.anInt7477] = i_15_; - i += i_47_; - i_12_++; - i_21_ += i_48_; - i_21_ %= i_25_; - } - } else if (i_16_ == 1) { - i_15_ = (((i_15_ & 0xff00ff) * i_49_ >> 8 & 0xff00ff) + ((i_15_ & 0xff00) * i_49_ >> 8 & 0xff00) + (i_49_ << 24)); - int i_52_ = 256 - i_49_; - while (i_12_ <= i_14_) { - int i_53_ = i >> 16; - int i_54_ = i_12_ - i_18_; - if (i_12_ >= i_23_ && i_12_ < i_24_ && i_53_ >= this.anInt7496 && i_53_ < this.anInt7507 && i_21_ < i_19_ && i_53_ >= i_17_ + is[i_54_] && i_53_ < i_17_ + is[i_54_] + is_22_[i_54_]) { - int i_55_ = i_53_ + i_12_ * this.anInt7477; - int i_56_ = this.anIntArray7483[i_55_]; - i_56_ = (((i_56_ & 0xff00ff) * i_52_ >> 8 & 0xff00ff) + ((i_56_ & 0xff00) * i_52_ >> 8 & 0xff00)); - this.anIntArray7483[i_53_ + i_12_ * this.anInt7477] = i_15_ + i_56_; - } - i += i_47_; - i_12_++; - i_21_ += i_48_; - i_21_ %= i_25_; - } - } else if (i_16_ == 2) { - while (i_12_ <= i_14_) { - int i_57_ = i >> 16; - int i_58_ = i_12_ - i_18_; - if (i_12_ >= i_23_ && i_12_ < i_24_ && i_57_ >= this.anInt7496 && i_57_ < this.anInt7507 && i_21_ < i_19_ && i_57_ >= i_17_ + is[i_58_] && i_57_ < i_17_ + is[i_58_] + is_22_[i_58_]) { - int i_59_ = i_57_ + i_12_ * this.anInt7477; - int i_60_ = this.anIntArray7483[i_59_]; - int i_61_ = i_15_ + i_60_; - int i_62_ = (i_15_ & 0xff00ff) + (i_60_ & 0xff00ff); - i_60_ = (i_62_ & 0x1000100) + (i_61_ - i_62_ & 0x10000); - this.anIntArray7483[i_59_] = i_61_ - i_60_ | i_60_ - (i_60_ >>> 8); - } - i += i_47_; - i_12_++; - i_21_ += i_48_; - i_21_ %= i_25_; - } - } else throw new IllegalArgumentException(); - } - - final aa method3661(int i, int i_63_, int[] is, int[] is_64_) { - return new aa_Sub3(i, i_63_, is, is_64_); - } - - final void method3685(Class98 class98, int i) { - Class167 class167 = method3724(Thread.currentThread()); - Class318_Sub9 class318_sub9 = (class98.aClass88_1569.aClass318_Sub9_1503); - for (Class318_Sub9 class318_sub9_65_ = class318_sub9.aClass318_Sub9_6469; class318_sub9_65_ != class318_sub9; class318_sub9_65_ = class318_sub9_65_.aClass318_Sub9_6469) { - Class318_Sub9_Sub2 class318_sub9_sub2 = (Class318_Sub9_Sub2) class318_sub9_65_; - int i_66_ = class318_sub9_sub2.anInt8791 >> 12; - int i_67_ = class318_sub9_sub2.anInt8796 >> 12; - int i_68_ = class318_sub9_sub2.anInt8789 >> 12; - float f = ((this.aClass101_Sub1_7492.aFloat5681) + ((this.aClass101_Sub1_7492.aFloat5662) * (float) i_66_ + (this.aClass101_Sub1_7492.aFloat5680) * (float) i_67_ + (this.aClass101_Sub1_7492.aFloat5664) * (float) i_68_)); - if (!(f < (float) this.anInt7482) && !(f > (float) class167.anInt2210)) { - int i_69_ = (this.anInt7510 + (int) ((float) this.anInt7491 * ((this.aClass101_Sub1_7492.aFloat5686) + ((this.aClass101_Sub1_7492.aFloat5672) * (float) i_66_ + (this.aClass101_Sub1_7492.aFloat5673) * (float) i_67_ + (this.aClass101_Sub1_7492.aFloat5669) * (float) i_68_)) / (float) i)); - int i_70_ = (this.anInt7504 + (int) ((float) this.anInt7497 * ((this.aClass101_Sub1_7492.aFloat5685) + ((this.aClass101_Sub1_7492.aFloat5655) * (float) i_66_ + (this.aClass101_Sub1_7492.aFloat5678) * (float) i_67_ + (this.aClass101_Sub1_7492.aFloat5666) * (float) i_68_)) / (float) i)); - if (i_69_ >= this.anInt7496 && i_69_ <= this.anInt7507 && i_70_ >= this.anInt7476 && i_70_ <= this.anInt7503) { - if (f == 0.0F) f = 1.0F; - method3712(class318_sub9_sub2, i_69_, i_70_, (int) f, ((class318_sub9_sub2.anInt8793) * this.anInt7491 >> 12) / i); - } - } - } - } - - final void method3642(int i, Class348_Sub1[] class348_sub1s) { - /* empty */ - } - - final boolean method3693() { - return false; - } - - final void method3710() { - /* empty */ - } - - final void P(int i, int i_71_, int i_72_, int i_73_, int i_74_) { - if (i >= this.anInt7496 && i < this.anInt7507) { - if (i_71_ < this.anInt7476) { - i_72_ -= this.anInt7476 - i_71_; - i_71_ = this.anInt7476; - } - if (i_71_ + i_72_ > this.anInt7503) i_72_ = this.anInt7503 - i_71_; - int i_75_ = i + i_71_ * this.anInt7477; - int i_76_ = i_73_ >>> 24; - if (i_74_ == 0 || i_74_ == 1 && i_76_ == 255) { - for (int i_77_ = 0; i_77_ < i_72_; i_77_++) - this.anIntArray7483[i_75_ + i_77_ * this.anInt7477] = i_73_; - } else if (i_74_ == 1) { - i_73_ = (((i_73_ & 0xff00ff) * i_76_ >> 8 & 0xff00ff) + ((i_73_ & 0xff00) * i_76_ >> 8 & 0xff00) + (i_76_ << 24)); - int i_78_ = 256 - i_76_; - for (int i_79_ = 0; i_79_ < i_72_; i_79_++) { - int i_80_ = i_75_ + i_79_ * this.anInt7477; - int i_81_ = this.anIntArray7483[i_80_]; - i_81_ = (((i_81_ & 0xff00ff) * i_78_ >> 8 & 0xff00ff) + ((i_81_ & 0xff00) * i_78_ >> 8 & 0xff00)); - this.anIntArray7483[i_80_] = i_73_ + i_81_; - } - } else if (i_74_ == 2) { - for (int i_82_ = 0; i_82_ < i_72_; i_82_++) { - int i_83_ = i_75_ + i_82_ * this.anInt7477; - int i_84_ = this.anIntArray7483[i_83_]; - int i_85_ = i_73_ + i_84_; - int i_86_ = (i_73_ & 0xff00ff) + (i_84_ & 0xff00ff); - i_84_ = (i_86_ & 0x1000100) + (i_85_ - i_86_ & 0x10000); - this.anIntArray7483[i_83_] = i_85_ - i_84_ | i_84_ - (i_84_ >>> 8); - } - } else throw new IllegalArgumentException(); - } - } - - final void method3647(boolean bool) { - /* empty */ - } - - final void xa(float f) { - this.anInt7500 = (int) (f * 65535.0F); - } - - final void ra(int i, int i_87_, int i_88_, int i_89_) { - for (int i_90_ = 0; i_90_ < aClass167Array7480.length; i_90_++) { - aClass167Array7480[i_90_].anInt2205 = aClass167Array7480[i_90_].anInt2192; - aClass167Array7480[i_90_].anInt2211 = i; - aClass167Array7480[i_90_].anInt2192 = i_87_; - aClass167Array7480[i_90_].anInt2197 = i_88_; - aClass167Array7480[i_90_].aBoolean2195 = true; - } - } - - final void method3651(za var_za) { - /* empty */ - } - - private final void method3712(Class318_Sub9_Sub2 class318_sub9_sub2, int i, int i_91_, int i_92_, int i_93_) { - int i_94_ = class318_sub9_sub2.anInt8792; - int i_95_ = i_93_; - i_93_ <<= 1; - if (i_94_ == -1) method3723(i, i_91_, i_92_, i_95_, class318_sub9_sub2.anInt8790, 1); - else { - if (anInt7512 != i_94_) { - Class105 class105 = (Class105) aClass60_7499.method583(i_94_, 117); - if (class105 == null) { - int[] is = method3719(i_94_); - if (is != null) { - int i_96_ = (method3727(i_94_) ? 64 : this.anInt7501); - class105 = this.method3662(i_96_, is, (byte) 94, 0, i_96_, i_96_); - aClass60_7499.method582(class105, i_94_, (byte) -121); - } else return; - } - anInt7512 = i_94_; - aClass105_7513 = class105; - } - i_93_++; - ((Class105_Sub3) aClass105_7513).method996(i - i_95_, i_91_ - i_95_, i_92_, i_93_, i_93_, 0, class318_sub9_sub2.anInt8790, 1, 1); - } - } - - private final void method3713() { - this.anInt7509 = this.anInt7496 - this.anInt7510; - this.anInt7508 = this.anInt7507 - this.anInt7510; - this.anInt7490 = this.anInt7476 - this.anInt7504; - this.anInt7506 = this.anInt7503 - this.anInt7504; - for (int i = 0; i < this.anInt7485; i++) { - Class109 class109 = aClass167Array7480[i].aClass109_2220; - class109.anInt1665 = this.anInt7510 - this.anInt7496; - class109.anInt1668 = this.anInt7504 - this.anInt7476; - class109.anInt1679 = this.anInt7507 - this.anInt7496; - class109.anInt1672 = this.anInt7503 - this.anInt7476; - } - int i = (this.anInt7476 * this.anInt7477 + this.anInt7496); - for (int i_97_ = this.anInt7476; i_97_ < this.anInt7503; i_97_++) { - for (int i_98_ = 0; i_98_ < this.anInt7485; i_98_++) - aClass167Array7480[i_98_].aClass109_2220.anIntArray1676[i_97_ - this.anInt7476] = i; - i += this.anInt7477; - } - } - - final int i() { - return this.anInt7482; - } - - final Class101 method3705() { - Class167 class167 = method3724(Thread.currentThread()); - return class167.aClass101_Sub1_2209; - } - - final boolean method3714(int i) { - return this.aD4579.method3(i, -6662).aBoolean217 || this.aD4579.method3(i, -6662).aBoolean215; - } - - final void Q(int i, int i_99_, int i_100_, int i_101_, int i_102_, int i_103_, byte[] is, int i_104_, int i_105_) { - if (i_100_ > 0 && i_101_ > 0) { - int i_106_ = 0; - int i_107_ = 0; - int i_108_ = (i_104_ << 16) / i_100_; - int i_109_ = (is.length / i_104_ << 16) / i_101_; - int i_110_ = i + i_99_ * this.anInt7477; - int i_111_ = this.anInt7477 - i_100_; - if (i_99_ + i_101_ > this.anInt7503) i_101_ -= i_99_ + i_101_ - this.anInt7503; - if (i_99_ < this.anInt7476) { - int i_112_ = this.anInt7476 - i_99_; - i_101_ -= i_112_; - i_110_ += i_112_ * this.anInt7477; - i_107_ += i_109_ * i_112_; - } - if (i + i_100_ > this.anInt7507) { - int i_113_ = i + i_100_ - this.anInt7507; - i_100_ -= i_113_; - i_111_ += i_113_; - } - if (i < this.anInt7496) { - int i_114_ = this.anInt7496 - i; - i_100_ -= i_114_; - i_110_ += i_114_; - i_106_ += i_108_ * i_114_; - i_111_ += i_114_; - } - int i_115_ = i_102_ >>> 24; - int i_116_ = i_103_ >>> 24; - if (i_105_ == 0 || i_105_ == 1 && i_115_ == 255 && i_116_ == 255) { - int i_117_ = i_106_; - for (int i_118_ = -i_101_; i_118_ < 0; i_118_++) { - int i_119_ = (i_107_ >> 16) * i_104_; - for (int i_120_ = -i_100_; i_120_ < 0; i_120_++) { - if (is[(i_106_ >> 16) + i_119_] != 0) this.anIntArray7483[i_110_++] = i_103_; - else this.anIntArray7483[i_110_++] = i_102_; - i_106_ += i_108_; - } - i_107_ += i_109_; - i_106_ = i_117_; - i_110_ += i_111_; - } - } else if (i_105_ == 1) { - int i_121_ = i_106_; - for (int i_122_ = -i_101_; i_122_ < 0; i_122_++) { - int i_123_ = (i_107_ >> 16) * i_104_; - for (int i_124_ = -i_100_; i_124_ < 0; i_124_++) { - int i_125_ = i_102_; - if (is[(i_106_ >> 16) + i_123_] != 0) i_125_ = i_103_; - int i_126_ = i_125_ >>> 24; - int i_127_ = 255 - i_126_; - int i_128_ = this.anIntArray7483[i_110_]; - this.anIntArray7483[i_110_++] = ((((i_125_ & 0xff00ff) * i_126_ + (i_128_ & 0xff00ff) * i_127_) & ~0xff00ff) + (((i_125_ & 0xff00) * i_126_ + (i_128_ & 0xff00) * i_127_) & 0xff0000)) >> 8; - i_106_ += i_108_; - } - i_107_ += i_109_; - i_106_ = i_121_; - i_110_ += i_111_; - } - } else if (i_105_ == 2) { - int i_129_ = i_106_; - for (int i_130_ = -i_101_; i_130_ < 0; i_130_++) { - int i_131_ = (i_107_ >> 16) * i_104_; - for (int i_132_ = -i_100_; i_132_ < 0; i_132_++) { - int i_133_ = i_102_; - if (is[(i_106_ >> 16) + i_131_] != 0) i_133_ = i_103_; - if (i_133_ != 0) { - int i_134_ = this.anIntArray7483[i_110_]; - int i_135_ = i_133_ + i_134_; - int i_136_ = (i_133_ & 0xff00ff) + (i_134_ & 0xff00ff); - i_134_ = (i_136_ & 0x1000100) + (i_135_ - i_136_ & 0x10000); - this.anIntArray7483[i_110_++] = i_135_ - i_134_ | i_134_ - (i_134_ >>> 8); - } else i_110_++; - i_106_ += i_108_; - } - i_107_ += i_109_; - i_106_ = i_129_; - i_110_ += i_111_; - } - } else throw new IllegalArgumentException(); - } - } - - final boolean method3655() { - return false; - } - - final Class299 method3697(int i, int i_137_, int i_138_, int i_139_, int i_140_, int i_141_) { - return null; - } - - final void KA(int i, int i_142_, int i_143_, int i_144_) { - if (i < 0) i = 0; - if (i_142_ < 0) i_142_ = 0; - if (i_143_ > this.anInt7477) i_143_ = this.anInt7477; - if (i_144_ > anInt7486) i_144_ = anInt7486; - this.anInt7496 = i; - this.anInt7507 = i_143_; - this.anInt7476 = i_142_; - this.anInt7503 = i_144_; - method3713(); - } - - final void method3698() { - /* empty */ - } - - final void method3638(Class101 class101) { - this.aClass101_Sub1_7492 = (Class101_Sub1) class101; - } - - final void A(int i, aa var_aa, int i_145_, int i_146_) { - aa_Sub3 var_aa_Sub3 = (aa_Sub3) var_aa; - int[] is = var_aa_Sub3.anIntArray5201; - int[] is_147_ = var_aa_Sub3.anIntArray5202; - int i_148_; - if (this.anInt7503 < i_146_ + is.length) i_148_ = this.anInt7503 - i_146_; - else i_148_ = is.length; - int i_149_; - if (this.anInt7476 > i_146_) { - i_149_ = this.anInt7476 - i_146_; - i_146_ = this.anInt7476; - } else i_149_ = 0; - if (i_148_ - i_149_ > 0) { - int i_150_ = i_146_ * this.anInt7477; - for (int i_151_ = i_149_; i_151_ < i_148_; i_151_++) { - int i_152_ = i_145_ + is[i_151_]; - int i_153_ = is_147_[i_151_]; - if (this.anInt7496 > i_152_) { - i_153_ -= this.anInt7496 - i_152_; - i_152_ = this.anInt7496; - } - if (this.anInt7507 < i_152_ + i_153_) i_153_ = this.anInt7507 - i_152_; - i_152_ += i_150_; - for (int i_154_ = -i_153_; i_154_ < 0; i_154_++) - this.anIntArray7483[i_152_++] = i; - i_150_ += this.anInt7477; - } - } - } - - final int method3667(int i, int i_155_) { - i |= 0x20800; - return i & i_155_ ^ i_155_; - } - - final void f(int i, int i_156_) { - Class167 class167 = method3724(Thread.currentThread()); - this.anInt7482 = i; - this.anInt7494 = i_156_; - class167.anInt2210 = this.anInt7494 - 255; - } - - private final void method3715(int i, int i_157_, int i_158_, int i_159_, int i_160_, int i_161_, int i_162_, int i_163_) { - if (i_157_ >= this.anInt7476 && i_157_ < this.anInt7503) { - int i_164_ = i + i_157_ * this.anInt7477; - int i_165_ = i_159_ >>> 24; - int i_166_ = i_161_ + i_162_; - int i_167_ = i_163_ % i_166_; - if (i_160_ == 0 || i_160_ == 1 && i_165_ == 255) { - int i_168_ = 0; - while (i_168_ < i_158_) { - if (i + i_168_ >= this.anInt7496 && i + i_168_ < this.anInt7507 && i_167_ < i_161_) this.anIntArray7483[i_164_ + i_168_] = i_159_; - i_168_++; - i_167_ = ++i_167_ % i_166_; - } - } else if (i_160_ == 1) { - i_159_ = (((i_159_ & 0xff00ff) * i_165_ >> 8 & 0xff00ff) + ((i_159_ & 0xff00) * i_165_ >> 8 & 0xff00) + (i_165_ << 24)); - int i_169_ = 256 - i_165_; - int i_170_ = 0; - while (i_170_ < i_158_) { - if (i + i_170_ >= this.anInt7496 && i + i_170_ < this.anInt7507 && i_167_ < i_161_) { - int i_171_ = this.anIntArray7483[i_164_ + i_170_]; - i_171_ = (((i_171_ & 0xff00ff) * i_169_ >> 8 & 0xff00ff) + ((i_171_ & 0xff00) * i_169_ >> 8 & 0xff00)); - this.anIntArray7483[i_164_ + i_170_] = i_159_ + i_171_; - } - i_170_++; - i_167_ = ++i_167_ % i_166_; - } - } else if (i_160_ == 2) { - int i_172_ = 0; - while (i_172_ < i_158_) { - if (i + i_172_ >= this.anInt7496 && i + i_172_ < this.anInt7507 && i_167_ < i_161_) { - int i_173_ = this.anIntArray7483[i_164_ + i_172_]; - int i_174_ = i_159_ + i_173_; - int i_175_ = (i_159_ & 0xff00ff) + (i_173_ & 0xff00ff); - i_173_ = (i_175_ & 0x1000100) + (i_174_ - i_175_ & 0x10000); - this.anIntArray7483[i_164_ + i_172_] = i_174_ - i_173_ | i_173_ - (i_173_ >>> 8); - } - i_172_++; - i_167_ = ++i_167_ % i_166_; - } - } else throw new IllegalArgumentException(); - } - } - - final int[] Y() { - return (new int[]{this.anInt7510, this.anInt7504, this.anInt7491, this.anInt7497}); - } - - final void ya() { - if (this.anInt7496 == 0 && this.anInt7507 == this.anInt7477 && this.anInt7476 == 0 && this.anInt7503 == anInt7486) { - int i = this.aFloatArray7511.length; - int i_176_ = i - (i & 0x7); - int i_177_ = 0; - while (i_177_ < i_176_) { - this.aFloatArray7511[i_177_++] = 2.14748365E9F; - this.aFloatArray7511[i_177_++] = 2.14748365E9F; - this.aFloatArray7511[i_177_++] = 2.14748365E9F; - this.aFloatArray7511[i_177_++] = 2.14748365E9F; - this.aFloatArray7511[i_177_++] = 2.14748365E9F; - this.aFloatArray7511[i_177_++] = 2.14748365E9F; - this.aFloatArray7511[i_177_++] = 2.14748365E9F; - this.aFloatArray7511[i_177_++] = 2.14748365E9F; - } - while (i_177_ < i) this.aFloatArray7511[i_177_++] = 2.14748365E9F; - } else { - int i = this.anInt7507 - this.anInt7496; - int i_178_ = this.anInt7503 - this.anInt7476; - int i_179_ = this.anInt7477 - i; - int i_180_ = (this.anInt7496 + this.anInt7476 * this.anInt7477); - int i_181_ = i >> 3; - int i_182_ = i & 0x7; - i = i_180_ - 1; - for (int i_183_ = -i_178_; i_183_ < 0; i_183_++) { - if (i_181_ > 0) { - int i_184_ = i_181_; - do { - this.aFloatArray7511[++i] = 2.14748365E9F; - this.aFloatArray7511[++i] = 2.14748365E9F; - this.aFloatArray7511[++i] = 2.14748365E9F; - this.aFloatArray7511[++i] = 2.14748365E9F; - this.aFloatArray7511[++i] = 2.14748365E9F; - this.aFloatArray7511[++i] = 2.14748365E9F; - this.aFloatArray7511[++i] = 2.14748365E9F; - this.aFloatArray7511[++i] = 2.14748365E9F; - } while (--i_184_ > 0); - } - if (i_182_ > 0) { - int i_185_ = i_182_; - do this.aFloatArray7511[++i] = 2.14748365E9F; while (--i_185_ > 0); - } - i += i_179_; - } - } - } - - final boolean method3639() { - return true; - } - - final void U(int i, int i_186_, int i_187_, int i_188_, int i_189_) { - if (i_186_ >= this.anInt7476 && i_186_ < this.anInt7503) { - if (i < this.anInt7496) { - i_187_ -= this.anInt7496 - i; - i = this.anInt7496; - } - if (i + i_187_ > this.anInt7507) i_187_ = this.anInt7507 - i; - int i_190_ = i + i_186_ * this.anInt7477; - int i_191_ = i_188_ >>> 24; - if (i_189_ == 0 || i_189_ == 1 && i_191_ == 255) { - for (int i_192_ = 0; i_192_ < i_187_; i_192_++) - this.anIntArray7483[i_190_ + i_192_] = i_188_; - } else if (i_189_ == 1) { - i_188_ = (((i_188_ & 0xff00ff) * i_191_ >> 8 & 0xff00ff) + ((i_188_ & 0xff00) * i_191_ >> 8 & 0xff00) + (i_191_ << 24)); - int i_193_ = 256 - i_191_; - for (int i_194_ = 0; i_194_ < i_187_; i_194_++) { - int i_195_ = this.anIntArray7483[i_190_ + i_194_]; - i_195_ = (((i_195_ & 0xff00ff) * i_193_ >> 8 & 0xff00ff) + ((i_195_ & 0xff00) * i_193_ >> 8 & 0xff00)); - this.anIntArray7483[i_190_ + i_194_] = i_188_ + i_195_; - } - } else if (i_189_ == 2) { - for (int i_196_ = 0; i_196_ < i_187_; i_196_++) { - int i_197_ = this.anIntArray7483[i_190_ + i_196_]; - int i_198_ = i_188_ + i_197_; - int i_199_ = (i_188_ & 0xff00ff) + (i_197_ & 0xff00ff); - i_197_ = (i_199_ & 0x1000100) + (i_198_ - i_199_ & 0x10000); - this.anIntArray7483[i_190_ + i_196_] = i_198_ - i_197_ | i_197_ - (i_197_ >>> 8); - } - } else throw new IllegalArgumentException(); - } - } - - final void HA(int i, int i_200_, int i_201_, int i_202_, int[] is) { - float f = ((this.aClass101_Sub1_7492.aFloat5681) + ((this.aClass101_Sub1_7492.aFloat5662) * (float) i + (this.aClass101_Sub1_7492.aFloat5680) * (float) i_200_ + (this.aClass101_Sub1_7492.aFloat5664) * (float) i_201_)); - if (f >= (float) this.anInt7482 && f <= (float) this.anInt7494) { - int i_203_ = (int) ((float) this.anInt7491 * (this.aClass101_Sub1_7492.aFloat5686 + ((this.aClass101_Sub1_7492.aFloat5672) * (float) i + (this.aClass101_Sub1_7492.aFloat5673) * (float) i_200_ + (this.aClass101_Sub1_7492.aFloat5669) * (float) i_201_)) / (float) i_202_); - int i_204_ = (int) ((float) this.anInt7497 * (this.aClass101_Sub1_7492.aFloat5685 + ((this.aClass101_Sub1_7492.aFloat5655) * (float) i + (this.aClass101_Sub1_7492.aFloat5678) * (float) i_200_ + (this.aClass101_Sub1_7492.aFloat5666) * (float) i_201_)) / (float) i_202_); - if (i_203_ >= this.anInt7509 && i_203_ <= this.anInt7508 && i_204_ >= this.anInt7490 && i_204_ <= this.anInt7506) { - is[0] = i_203_ - this.anInt7509; - is[1] = i_204_ - this.anInt7490; - is[2] = (int) f; - } else is[0] = is[1] = is[2] = -1; - } else is[0] = is[1] = is[2] = -1; - } - - final boolean method3716() { - return aBoolean7470; - } - - final void method3658(int i, int i_205_, int i_206_, int i_207_) { - /* empty */ - } - - final void method3684(Class98 class98) { - Class167 class167 = method3724(Thread.currentThread()); - Class318_Sub9 class318_sub9 = (class98.aClass88_1569.aClass318_Sub9_1503); - for (Class318_Sub9 class318_sub9_208_ = class318_sub9.aClass318_Sub9_6469; class318_sub9_208_ != class318_sub9; class318_sub9_208_ = class318_sub9_208_.aClass318_Sub9_6469) { - Class318_Sub9_Sub2 class318_sub9_sub2 = (Class318_Sub9_Sub2) class318_sub9_208_; - int i = class318_sub9_sub2.anInt8791 >> 12; - int i_209_ = class318_sub9_sub2.anInt8796 >> 12; - int i_210_ = class318_sub9_sub2.anInt8789 >> 12; - float f = ((this.aClass101_Sub1_7492.aFloat5681) + ((this.aClass101_Sub1_7492.aFloat5662) * (float) i + (this.aClass101_Sub1_7492.aFloat5680) * (float) i_209_ + (this.aClass101_Sub1_7492.aFloat5664) * (float) i_210_)); - if (!(f < (float) this.anInt7482) && !(f > (float) class167.anInt2210)) { - int i_211_ = (this.anInt7510 + (int) ((float) this.anInt7491 * ((this.aClass101_Sub1_7492.aFloat5686) + ((this.aClass101_Sub1_7492.aFloat5672) * (float) i + (this.aClass101_Sub1_7492.aFloat5673) * (float) i_209_ + (this.aClass101_Sub1_7492.aFloat5669) * (float) i_210_)) / f)); - int i_212_ = (this.anInt7504 + (int) ((float) this.anInt7497 * ((this.aClass101_Sub1_7492.aFloat5685) + ((this.aClass101_Sub1_7492.aFloat5655) * (float) i + (this.aClass101_Sub1_7492.aFloat5678) * (float) i_209_ + (this.aClass101_Sub1_7492.aFloat5666) * (float) i_210_)) / f)); - if (i_211_ >= this.anInt7496 && i_211_ <= this.anInt7507 && i_212_ >= this.anInt7476 && i_212_ <= this.anInt7503) { - if (f == 0.0F) f = 1.0F; - method3712(class318_sub9_sub2, i_211_, i_212_, (int) f, (int) ((float) ((class318_sub9_sub2.anInt8793 * this.anInt7491) >> 12) / f)); - } - } - } - } - - final void method3700(float f, float f_213_, float f_214_) { - /* empty */ - } - - final Class105 method3683(int i, int i_215_, int i_216_, int i_217_, boolean bool) { - int[] is = new int[i_216_ * i_217_]; - int i_218_ = i_215_ * this.anInt7477 + i; - int i_219_ = this.anInt7477 - i_216_; - for (int i_220_ = 0; i_220_ < i_217_; i_220_++) { - int i_221_ = i_220_ * i_216_; - for (int i_222_ = 0; i_222_ < i_216_; i_222_++) - is[i_221_ + i_222_] = this.anIntArray7483[i_218_++]; - i_218_ += i_219_; - } - if (bool) return new Class105_Sub3_Sub3(this, is, i_216_, i_217_); - return new Class105_Sub3_Sub1(this, is, i_216_, i_217_); - } - - private final void method3717() { - for (int i = 0; i < this.anInt7485; i++) - aClass167Array7480[i].method1292(64); - la(); - } - - final boolean method3682() { - return false; - } - - final boolean method3670() { - return false; - } - - final void DA(int i, int i_223_, int i_224_, int i_225_) { - this.anInt7510 = i; - this.anInt7504 = i_223_; - this.anInt7491 = i_224_; - this.anInt7497 = i_225_; - method3713(); - } - - final void method3701(Canvas canvas) { - if (aCanvas7468 == canvas) method3677(null); - Class348_Sub31 class348_sub31 = ((Class348_Sub31) aClass356_7467.method3480(canvas.hashCode(), -6008)); - if (class348_sub31 != null) class348_sub31.method2715((byte) 100); - } - - final void L(int i, int i_226_, int i_227_) { - for (int i_228_ = 0; i_228_ < aClass167Array7480.length; i_228_++) { - Class167 class167 = aClass167Array7480[i_228_]; - class167.anInt2192 = i & 0xffffff; - int i_229_ = class167.anInt2192 >>> 16 & 0xff; - if (i_229_ < 2) i_229_ = 2; - int i_230_ = class167.anInt2192 >> 8 & 0xff; - if (i_230_ < 2) i_230_ = 2; - int i_231_ = class167.anInt2192 & 0xff; - if (i_231_ < 2) i_231_ = 2; - class167.anInt2192 = i_229_ << 16 | i_230_ << 8 | i_231_; - class167.aBoolean2201 = i_226_ >= 0; - } - } - - final boolean method3627() { - return false; - } - - final void method3643(Canvas canvas, int i, int i_232_) { - Class348_Sub31 class348_sub31 = ((Class348_Sub31) aClass356_7467.method3480(canvas.hashCode(), -6008)); - if (class348_sub31 == null) { - class348_sub31 = Class110.method1035(9029, i_232_, canvas, i); - aClass356_7467.method3483((byte) 21, canvas.hashCode(), class348_sub31); - } else if (class348_sub31.anInt6917 != i || class348_sub31.anInt6920 != i_232_) method3669(canvas, i, i_232_); - } - - final void b(int i, int i_233_, int i_234_, int i_235_, double d) { - int i_236_ = anInt7495 - i_234_; - int i_237_ = i_233_ * anInt7495 + i; - float[] fs = this.aFloatArray7511; - int i_238_ = 0; - while (i_238_ < i_235_) { - int i_239_ = 0; - while (i_239_ < i_234_) { - float f = fs[i_237_]; - if (f != 2.14748365E9F) fs[i_237_] = (float) ((double) f + d); - i_239_++; - i_237_++; - } - i_238_++; - i_237_ += i_236_; - } - } - - final void method3633() { - /* empty */ - } - - final void method3631(int i) { - this.anInt7485 = i; - aClass167Array7480 = new Class167[this.anInt7485]; - for (int i_240_ = 0; i_240_ < this.anInt7485; i_240_++) - aClass167Array7480[i_240_] = new Class167(this); - } - - final void method3709(int i, int i_241_, int i_242_, int i_243_, int i_244_, int i_245_) { - i_242_ -= i; - i_243_ -= i_241_; - if (i_243_ == 0) { - if (i_242_ >= 0) U(i, i_241_, i_242_ + 1, i_244_, i_245_); - else U(i + i_242_, i_241_, -i_242_ + 1, i_244_, i_245_); - } else if (i_242_ == 0) { - if (i_243_ >= 0) P(i, i_241_, i_243_ + 1, i_244_, i_245_); - else P(i, i_241_ + i_243_, -i_243_ + 1, i_244_, i_245_); - } else { - if (i_242_ + i_243_ < 0) { - i += i_242_; - i_242_ = -i_242_; - i_241_ += i_243_; - i_243_ = -i_243_; - } - if (i_242_ > i_243_) { - i_241_ <<= 16; - i_241_ += 32768; - i_243_ <<= 16; - int i_246_ = (int) Math.floor((double) i_243_ / (double) i_242_ + 0.5); - i_242_ += i; - if (i < this.anInt7496) { - i_241_ += i_246_ * (this.anInt7496 - i); - i = this.anInt7496; - } - if (i_242_ >= this.anInt7507) i_242_ = this.anInt7507 - 1; - int i_247_ = i_244_ >>> 24; - if (i_245_ == 0 || i_245_ == 1 && i_247_ == 255) { - for (/**/; i <= i_242_; i++) { - int i_248_ = i_241_ >> 16; - if (i_248_ >= this.anInt7476 && i_248_ < this.anInt7503) this.anIntArray7483[i + i_248_ * this.anInt7477] = i_244_; - i_241_ += i_246_; - } - return; - } - if (i_245_ == 1) { - i_244_ = (((i_244_ & 0xff00ff) * i_247_ >> 8 & 0xff00ff) + ((i_244_ & 0xff00) * i_247_ >> 8 & 0xff00) + (i_247_ << 24)); - int i_249_ = 256 - i_247_; - for (/**/; i <= i_242_; i++) { - int i_250_ = i_241_ >> 16; - if (i_250_ >= this.anInt7476 && i_250_ < this.anInt7503) { - int i_251_ = i + i_250_ * this.anInt7477; - int i_252_ = this.anIntArray7483[i_251_]; - i_252_ = (((i_252_ & 0xff00ff) * i_249_ >> 8 & 0xff00ff) + ((i_252_ & 0xff00) * i_249_ >> 8 & 0xff00)); - this.anIntArray7483[i_251_] = i_244_ + i_252_; - } - i_241_ += i_246_; - } - return; - } - if (i_245_ == 2) { - for (/**/; i <= i_242_; i++) { - int i_253_ = i_241_ >> 16; - if (i_253_ >= this.anInt7476 && i_253_ < this.anInt7503) { - int i_254_ = i + i_253_ * this.anInt7477; - int i_255_ = this.anIntArray7483[i_254_]; - int i_256_ = i_244_ + i_255_; - int i_257_ = (i_244_ & 0xff00ff) + (i_255_ & 0xff00ff); - i_255_ = (i_257_ & 0x1000100) + (i_256_ - i_257_ & 0x10000); - this.anIntArray7483[i_254_] = i_256_ - i_255_ | i_255_ - (i_255_ >>> 8); - } - i_241_ += i_246_; - } - return; - } - throw new IllegalArgumentException(); - } - i <<= 16; - i += 32768; - i_242_ <<= 16; - int i_258_ = (int) Math.floor((double) i_242_ / (double) i_243_ + 0.5); - i_243_ += i_241_; - if (i_241_ < this.anInt7476) { - i += i_258_ * (this.anInt7476 - i_241_); - i_241_ = this.anInt7476; - } - if (i_243_ >= this.anInt7503) i_243_ = this.anInt7503 - 1; - int i_259_ = i_244_ >>> 24; - if (i_245_ == 0 || i_245_ == 1 && i_259_ == 255) { - for (/**/; i_241_ <= i_243_; i_241_++) { - int i_260_ = i >> 16; - if (i_260_ >= this.anInt7496 && i_260_ < this.anInt7507) this.anIntArray7483[i_260_ + i_241_ * this.anInt7477] = i_244_; - i += i_258_; - } - } else if (i_245_ == 1) { - i_244_ = (((i_244_ & 0xff00ff) * i_259_ >> 8 & 0xff00ff) + ((i_244_ & 0xff00) * i_259_ >> 8 & 0xff00) + (i_259_ << 24)); - int i_261_ = 256 - i_259_; - for (/**/; i_241_ <= i_243_; i_241_++) { - int i_262_ = i >> 16; - if (i_262_ >= this.anInt7496 && i_262_ < this.anInt7507) { - int i_263_ = i_262_ + i_241_ * this.anInt7477; - int i_264_ = this.anIntArray7483[i_263_]; - i_264_ = (((i_264_ & 0xff00ff) * i_261_ >> 8 & 0xff00ff) + ((i_264_ & 0xff00) * i_261_ >> 8 & 0xff00)); - this.anIntArray7483[i_262_ + i_241_ * this.anInt7477] = i_244_ + i_264_; - } - i += i_258_; - } - } else if (i_245_ == 2) { - for (/**/; i_241_ <= i_243_; i_241_++) { - int i_265_ = i >> 16; - if (i_265_ >= this.anInt7496 && i_265_ < this.anInt7507) { - int i_266_ = i_265_ + i_241_ * this.anInt7477; - int i_267_ = this.anIntArray7483[i_266_]; - int i_268_ = i_244_ + i_267_; - int i_269_ = (i_244_ & 0xff00ff) + (i_267_ & 0xff00ff); - i_267_ = (i_269_ & 0x1000100) + (i_268_ - i_269_ & 0x10000); - this.anIntArray7483[i_266_] = i_268_ - i_267_ | i_267_ - (i_267_ >>> 8); - } - i += i_258_; - } - } else throw new IllegalArgumentException(); - } - } - - final void method3676(int i, int i_270_, int i_271_, int i_272_, int i_273_, int i_274_, int i_275_, int i_276_, int i_277_, int i_278_, int i_279_, int i_280_, int i_281_) { - Class167 class167 = method3724(Thread.currentThread()); - Class109 class109 = class167.aClass109_2220; - class109.aBoolean1669 = false; - i -= this.anInt7509; - i_272_ -= this.anInt7509; - i_275_ -= this.anInt7509; - i_270_ -= this.anInt7490; - i_273_ -= this.anInt7490; - i_276_ -= this.anInt7490; - class109.aBoolean1671 = (i < 0 || i > class109.anInt1679 || i_272_ < 0 || i_272_ > class109.anInt1679 || i_275_ < 0 || i_275_ > class109.anInt1679); - int i_282_ = i_278_ >>> 24; - if (i_281_ == 0 || i_281_ == 1 && i_282_ == 255) { - class109.anInt1674 = 0; - class109.aBoolean1667 = false; - class109.method1027((float) i_270_, (float) i_273_, (float) i_276_, (float) i, (float) i_272_, (float) i_275_, (float) i_271_, (float) i_274_, (float) i_277_, i_278_, i_279_, i_280_); - } else if (i_281_ == 1) { - class109.anInt1674 = 255 - i_282_; - class109.aBoolean1667 = false; - class109.method1027((float) i_270_, (float) i_273_, (float) i_276_, (float) i, (float) i_272_, (float) i_275_, (float) i_271_, (float) i_274_, (float) i_277_, i_278_, i_279_, i_280_); - } else if (i_281_ == 2) { - class109.anInt1674 = 128; - class109.aBoolean1667 = true; - class109.method1027((float) i_270_, (float) i_273_, (float) i_276_, (float) i, (float) i_272_, (float) i_275_, (float) i_271_, (float) i_274_, (float) i_277_, i_278_, i_279_, i_280_); - } else throw new IllegalArgumentException(); - class109.aBoolean1669 = true; - } - - final Class324 method3686(Class143 class143, Class207[] class207s, boolean bool) { - int[] is = new int[class207s.length]; - int[] is_283_ = new int[class207s.length]; - boolean bool_284_ = false; - for (int i = 0; i < class207s.length; i++) { - is[i] = class207s[i].anInt2702; - is_283_[i] = class207s[i].anInt2696; - if (class207s[i].aByteArray2695 != null) bool_284_ = true; - } - if (bool) { - if (bool_284_) return new Class324_Sub4(this, class143, class207s, is, is_283_); - return new Class324_Sub1(this, class143, class207s, is, is_283_); - } - if (bool_284_) throw new IllegalArgumentException(""); - return new Class324_Sub3(this, class143, class207s, is, is_283_); - } - - final Interface4 method3634(Interface3 interface3, Interface13 interface13) { - return new Class49(this, (Class105) interface3, (Class216) interface13); - } - - final void C(boolean bool) { - Class167 class167 = method3724(Thread.currentThread()); - class167.aBoolean2202 = bool; - } - - final void method3636(int i, int i_285_, int i_286_, int i_287_, int i_288_, int i_289_, aa var_aa, int i_290_, int i_291_) { - aa_Sub3 var_aa_Sub3 = (aa_Sub3) var_aa; - int[] is = var_aa_Sub3.anIntArray5201; - int[] is_292_ = var_aa_Sub3.anIntArray5202; - int i_293_ = (Math.max(this.anInt7476, i_291_)); - int i_294_ = (Math.min(this.anInt7503, i_291_ + is.length)); - i_286_ -= i; - i_287_ -= i_285_; - if (i_286_ + i_287_ < 0) { - i += i_286_; - i_286_ = -i_286_; - i_285_ += i_287_; - i_287_ = -i_287_; - } - if (i_286_ > i_287_) { - i_285_ <<= 16; - i_285_ += 32768; - i_287_ <<= 16; - int i_295_ = (int) Math.floor((double) i_287_ / (double) i_286_ + 0.5); - i_286_ += i; - if (i < this.anInt7496) { - i_285_ += i_295_ * (this.anInt7496 - i); - i = this.anInt7496; - } - if (i_286_ >= this.anInt7507) i_286_ = this.anInt7507 - 1; - int i_296_ = i_288_ >>> 24; - if (i_289_ == 0 || i_289_ == 1 && i_296_ == 255) { - for (/**/; i <= i_286_; i++) { - int i_297_ = i_285_ >> 16; - int i_298_ = i_297_ - i_291_; - if (i_297_ >= i_293_ && i_297_ < i_294_) { - int i_299_ = i_290_ + is[i_298_]; - if (i >= i_299_ && i < i_299_ + is_292_[i_298_]) this.anIntArray7483[i + i_297_ * this.anInt7477] = i_288_; - } - i_285_ += i_295_; - } - return; - } - if (i_289_ == 1) { - i_288_ = (((i_288_ & 0xff00ff) * i_296_ >> 8 & 0xff00ff) + ((i_288_ & 0xff00) * i_296_ >> 8 & 0xff00) + (i_296_ << 24)); - int i_300_ = 256 - i_296_; - for (/**/; i <= i_286_; i++) { - int i_301_ = i_285_ >> 16; - int i_302_ = i_301_ - i_291_; - if (i_301_ >= i_293_ && i_301_ < i_294_) { - int i_303_ = i_290_ + is[i_302_]; - if (i >= i_303_ && i < i_303_ + is_292_[i_302_]) { - int i_304_ = i + i_301_ * this.anInt7477; - int i_305_ = this.anIntArray7483[i_304_]; - i_305_ = (((i_305_ & 0xff00ff) * i_300_ >> 8 & 0xff00ff) + ((i_305_ & 0xff00) * i_300_ >> 8 & 0xff00)); - this.anIntArray7483[i_304_] = i_288_ + i_305_; - } - } - i_285_ += i_295_; - } - return; - } - if (i_289_ == 2) { - for (/**/; i <= i_286_; i++) { - int i_306_ = i_285_ >> 16; - int i_307_ = i_306_ - i_291_; - if (i_306_ >= i_293_ && i_306_ < i_294_) { - int i_308_ = i_290_ + is[i_307_]; - if (i >= i_308_ && i < i_308_ + is_292_[i_307_]) { - int i_309_ = i + i_306_ * this.anInt7477; - int i_310_ = this.anIntArray7483[i_309_]; - int i_311_ = i_288_ + i_310_; - int i_312_ = (i_288_ & 0xff00ff) + (i_310_ & 0xff00ff); - i_310_ = (i_312_ & 0x1000100) + (i_311_ - i_312_ & 0x10000); - this.anIntArray7483[i_309_] = i_311_ - i_310_ | i_310_ - (i_310_ >>> 8); - } - } - i_285_ += i_295_; - } - return; - } - throw new IllegalArgumentException(); - } - i <<= 16; - i += 32768; - i_286_ <<= 16; - int i_313_ = (int) Math.floor((double) i_286_ / (double) i_287_ + 0.5); - i_287_ += i_285_; - if (i_285_ < i_293_) { - i += i_313_ * (i_293_ - i_285_); - i_285_ = i_293_; - } - if (i_287_ >= i_294_) i_287_ = i_294_ - 1; - int i_314_ = i_288_ >>> 24; - if (i_289_ == 0 || i_289_ == 1 && i_314_ == 255) { - for (/**/; i_285_ <= i_287_; i_285_++) { - int i_315_ = i >> 16; - int i_316_ = i_285_ - i_291_; - int i_317_ = i_290_ + is[i_316_]; - if (i_315_ >= this.anInt7496 && i_315_ < this.anInt7507 && i_315_ >= i_317_ && i_315_ < i_317_ + is_292_[i_316_]) this.anIntArray7483[i_315_ + i_285_ * this.anInt7477] = i_288_; - i += i_313_; - } - } else if (i_289_ == 1) { - i_288_ = (((i_288_ & 0xff00ff) * i_314_ >> 8 & 0xff00ff) + ((i_288_ & 0xff00) * i_314_ >> 8 & 0xff00) + (i_314_ << 24)); - int i_318_ = 256 - i_314_; - for (/**/; i_285_ <= i_287_; i_285_++) { - int i_319_ = i >> 16; - int i_320_ = i_285_ - i_291_; - int i_321_ = i_290_ + is[i_320_]; - if (i_319_ >= this.anInt7496 && i_319_ < this.anInt7507 && i_319_ >= i_321_ && i_319_ < i_321_ + is_292_[i_320_]) { - int i_322_ = i_319_ + i_285_ * this.anInt7477; - int i_323_ = this.anIntArray7483[i_322_]; - i_323_ = (((i_323_ & 0xff00ff) * i_318_ >> 8 & 0xff00ff) + ((i_323_ & 0xff00) * i_318_ >> 8 & 0xff00)); - this.anIntArray7483[i_319_ + i_285_ * this.anInt7477] = i_288_ + i_323_; - } - i += i_313_; - } - } else if (i_289_ == 2) { - for (/**/; i_285_ <= i_287_; i_285_++) { - int i_324_ = i >> 16; - int i_325_ = i_285_ - i_291_; - int i_326_ = i_290_ + is[i_325_]; - if (i_324_ >= this.anInt7496 && i_324_ < this.anInt7507 && i_324_ >= i_326_ && i_324_ < i_326_ + is_292_[i_325_]) { - int i_327_ = i_324_ + i_285_ * this.anInt7477; - int i_328_ = this.anIntArray7483[i_327_]; - int i_329_ = i_288_ + i_328_; - int i_330_ = (i_288_ & 0xff00ff) + (i_328_ & 0xff00ff); - i_328_ = (i_330_ & 0x1000100) + (i_329_ - i_330_ & 0x10000); - this.anIntArray7483[i_327_] = i_329_ - i_328_ | i_328_ - (i_328_ >>> 8); - } - i += i_313_; - } - } else throw new IllegalArgumentException(); - } - - final int XA() { - return this.anInt7494; - } - - final void T(int i, int i_331_, int i_332_, int i_333_) { - if (this.anInt7496 < i) this.anInt7496 = i; - if (this.anInt7476 < i_331_) this.anInt7476 = i_331_; - if (this.anInt7507 > i_332_) this.anInt7507 = i_332_; - if (this.anInt7503 > i_333_) this.anInt7503 = i_333_; - method3713(); - } - - final void aa(int i, int i_334_, int i_335_, int i_336_, int i_337_, int i_338_) { - if (i < this.anInt7496) { - i_335_ -= this.anInt7496 - i; - i = this.anInt7496; - } - if (i_334_ < this.anInt7476) { - i_336_ -= this.anInt7476 - i_334_; - i_334_ = this.anInt7476; - } - if (i + i_335_ > this.anInt7507) i_335_ = this.anInt7507 - i; - if (i_334_ + i_336_ > this.anInt7503) i_336_ = this.anInt7503 - i_334_; - if (i_335_ > 0 && i_336_ > 0 && i <= this.anInt7507 && i_334_ <= this.anInt7503) { - int i_339_ = this.anInt7477 - i_335_; - int i_340_ = i + i_334_ * this.anInt7477; - int i_341_ = i_337_ >>> 24; - if (i_338_ == 0 || i_338_ == 1 && i_341_ == 255) { - int i_342_ = i_335_ >> 3; - int i_343_ = i_335_ & 0x7; - i_335_ = i_340_ - 1; - for (int i_344_ = -i_336_; i_344_ < 0; i_344_++) { - if (i_342_ > 0) { - i = i_342_; - do { - this.anIntArray7483[++i_335_] = i_337_; - this.anIntArray7483[++i_335_] = i_337_; - this.anIntArray7483[++i_335_] = i_337_; - this.anIntArray7483[++i_335_] = i_337_; - this.anIntArray7483[++i_335_] = i_337_; - this.anIntArray7483[++i_335_] = i_337_; - this.anIntArray7483[++i_335_] = i_337_; - this.anIntArray7483[++i_335_] = i_337_; - } while (--i > 0); - } - if (i_343_ > 0) { - i = i_343_; - do this.anIntArray7483[++i_335_] = i_337_; while (--i > 0); - } - i_335_ += i_339_; - } - } else if (i_338_ == 1) { - i_337_ = (((i_337_ & 0xff00ff) * i_341_ >> 8 & 0xff00ff) + (((i_337_ & ~0xff00ff) >>> 8) * i_341_ & ~0xff00ff)); - int i_345_ = 256 - i_341_; - for (int i_346_ = 0; i_346_ < i_336_; i_346_++) { - for (int i_347_ = -i_335_; i_347_ < 0; i_347_++) { - int i_348_ = this.anIntArray7483[i_340_]; - i_348_ = (((i_348_ & 0xff00ff) * i_345_ >> 8 & 0xff00ff) + (((i_348_ & ~0xff00ff) >>> 8) * i_345_ & ~0xff00ff)); - this.anIntArray7483[i_340_++] = i_337_ + i_348_; - } - i_340_ += i_339_; - } - } else if (i_338_ == 2) { - for (int i_349_ = 0; i_349_ < i_336_; i_349_++) { - for (int i_350_ = -i_335_; i_350_ < 0; i_350_++) { - int i_351_ = this.anIntArray7483[i_340_]; - int i_352_ = i_337_ + i_351_; - int i_353_ = (i_337_ & 0xff00ff) + (i_351_ & 0xff00ff); - i_351_ = (i_353_ & 0x1000100) + (i_352_ - i_353_ & 0x10000); - this.anIntArray7483[i_340_++] = i_352_ - i_351_ | i_351_ - (i_351_ >>> 8); - } - i_340_ += i_339_; - } - } else throw new IllegalArgumentException(); - } - } - - final int[] method3718(int i) { - Class348_Sub25 class348_sub25; - synchronized (aClass60_7498) { - class348_sub25 = (Class348_Sub25) aClass60_7498.method583(i, 77); - if (class348_sub25 == null) { - if (!this.aD4579.method4(-7953, i)) return null; - Class12 class12 = this.aD4579.method3(i, -6662); - int i_354_ = (class12.aBoolean199 || aBoolean7489 ? 64 : this.anInt7501); - class348_sub25 = new Class348_Sub25(i, i_354_, this.aD4579.method5(true, i, 0.7F, i_354_, i_354_, 71), class12.anInt200 != 1); - aClass60_7498.method582(class348_sub25, i, (byte) -122); - } - } - class348_sub25.aBoolean6882 = true; - return class348_sub25.method2997(); - } - - final void method3652() { - if (aBoolean7471) { - Class286_Sub8.method2173(false, -101, true); - aBoolean7471 = false; - } - this.aClass348_Sub31_7469 = null; - aCanvas7468 = null; - anInt7465 = 0; - anInt7472 = 0; - aClass356_7467 = null; - aBoolean7470 = true; - } - - final Class101 method3640() { - return this.aClass101_Sub1_7492; - } - - ha_Sub1(Canvas canvas, d var_d, int i, int i_355_) { - this(var_d); - try { - method3643(canvas, i, i_355_); - method3677(canvas); - } catch (Throwable throwable) { - throwable.printStackTrace(); - this.method3635((byte) -115); - throw new RuntimeException(""); - } - } - - final int[] method3719(int i) { - Class348_Sub25 class348_sub25; - synchronized (aClass60_7498) { - class348_sub25 = ((Class348_Sub25) aClass60_7498.method583((long) i | ~0x7fffffffffffffffL, 107)); - if (class348_sub25 == null) { - if (!this.aD4579.method4(-7953, i)) return null; - Class12 class12 = this.aD4579.method3(i, -6662); - int i_356_ = (class12.aBoolean199 || aBoolean7489 ? 64 : this.anInt7501); - class348_sub25 = new Class348_Sub25(i, i_356_, this.aD4579.method6(-21540, i_356_, 0.7F, i, true, i_356_), class12.anInt200 != 1); - aClass60_7498.method582(class348_sub25, (long) i | ~0x7fffffffffffffffL, (byte) -126); - } - } - class348_sub25.aBoolean6882 = true; - return class348_sub25.method2997(); - } - - final s method3648(int i, int i_357_, int[][] is, int[][] is_358_, int i_359_, int i_360_, int i_361_) { - return new s_Sub1(this, i_360_, i_361_, i, i_357_, is, is_358_, i_359_); - } - - final void H(int i, int i_362_, int i_363_, int[] is) { - float f = ((this.aClass101_Sub1_7492.aFloat5681) + ((this.aClass101_Sub1_7492.aFloat5662) * (float) i + (this.aClass101_Sub1_7492.aFloat5680) * (float) i_362_ + (this.aClass101_Sub1_7492.aFloat5664) * (float) i_363_)); - if (f == 0.0F) is[0] = is[1] = is[2] = -1; - else { - int i_364_ = (int) ((float) this.anInt7491 * (this.aClass101_Sub1_7492.aFloat5686 + ((this.aClass101_Sub1_7492.aFloat5672) * (float) i + (this.aClass101_Sub1_7492.aFloat5673) * (float) i_362_ + (this.aClass101_Sub1_7492.aFloat5669) * (float) i_363_)) / f); - int i_365_ = (int) ((float) this.anInt7497 * (this.aClass101_Sub1_7492.aFloat5685 + ((this.aClass101_Sub1_7492.aFloat5655) * (float) i + (this.aClass101_Sub1_7492.aFloat5678) * (float) i_362_ + (this.aClass101_Sub1_7492.aFloat5666) * (float) i_363_)) / f); - is[0] = i_364_ - this.anInt7509; - is[1] = i_365_ - this.anInt7490; - is[2] = (int) f; - } - } - - final Class101 method3654() { - return new Class101_Sub1(); - } - - final void la() { - this.anInt7496 = 0; - this.anInt7476 = 0; - this.anInt7507 = this.anInt7477; - this.anInt7503 = anInt7486; - method3713(); - } - - final Class64 method3625(Class124 class124, int i, int i_366_, int i_367_, int i_368_) { - return new Class64_Sub1(this, class124, i, i_367_, i_368_, i_366_); - } - - final Interface13 method3624(int i, int i_369_) { - return new Class216(i, i_369_); - } - - final void method3632(int[] is) { - is[0] = this.anInt7477; - is[1] = anInt7486; - } - - final void F(int i, int i_370_) { - int i_371_ = i_370_ * this.anInt7477 + i; - int i_372_ = i_370_ * anInt7495 + i; - if (i_371_ != 0 || i_372_ != 0) { - int[] is = this.anIntArray7483; - float[] fs = this.aFloatArray7511; - if (i_371_ < 0) { - int i_373_ = is.length + i_371_; - Class214.method1578(is, -i_371_, is, 0, i_373_); - } else if (i_371_ > 0) { - int i_374_ = is.length - i_371_; - Class214.method1578(is, 0, is, i_371_, i_374_); - } - if (i_372_ < 0) { - int i_375_ = fs.length + i_372_; - Class214.method1574(fs, -i_372_, fs, 0, i_375_); - } else if (i_372_ > 0) { - int i_376_ = fs.length - i_372_; - Class214.method1574(fs, 0, fs, i_372_, i_376_); - } - } - } - - final void method3687(Interface4 interface4) { - Class49 class49 = (Class49) interface4; - this.anInt7477 = class49.anInt4725; - anInt7486 = class49.anInt4722; - this.anIntArray7483 = class49.anIntArray4731; - aClass49_7475 = class49; - anInt7495 = class49.anInt4725; - anInt7488 = class49.anInt4722; - this.aFloatArray7511 = class49.aFloatArray4719; - method3717(); - } - - final void method3720(int i, int i_377_, int i_378_, int i_379_, int i_380_, int i_381_, int i_382_, int i_383_, int i_384_, int i_385_) { - if (i_379_ != 0 && i_380_ != 0) { - if (i_382_ != 65535 && !(this.aD4579.method3(i_382_, -6662).aBoolean209)) { - if (anInt7512 != i_382_) { - Class105 class105 = ((Class105) aClass60_7499.method583(i_382_, 97)); - if (class105 == null) { - int[] is = method3719(i_382_); - if (is == null) return; - int i_386_ = (method3727(i_382_) ? 64 : this.anInt7501); - class105 = this.method3662(i_386_, is, (byte) 94, 0, i_386_, i_386_); - aClass60_7499.method582(class105, i_382_, (byte) -100); - } - anInt7512 = i_382_; - aClass105_7513 = class105; - } - ((Class105_Sub3) aClass105_7513).method996(i - i_379_, i_377_ - i_380_, i_378_, i_379_ << 1, i_380_ << 1, i_384_, i_383_, i_385_, 1); - } else method3723(i, i_377_, i_378_, i_379_, i_383_, i_385_); - } - } - - final void method3653(Class299 class299) { - /* empty */ - } - - final void EA(int i, int i_387_, int i_388_, int i_389_) { - Class167 class167 = method3724(Thread.currentThread()); - class167.anInt2211 = i; - class167.anInt2192 = i_387_; - class167.anInt2197 = i_388_; - } - - private final void method3721(int i, int i_390_, int i_391_, int i_392_, int i_393_, int i_394_, int i_395_, int i_396_) { - if (i >= this.anInt7496 && i < this.anInt7507) { - int i_397_ = i + i_390_ * this.anInt7477; - int i_398_ = i_392_ >>> 24; - int i_399_ = i_394_ + i_395_; - int i_400_ = i_396_ % i_399_; - if (i_393_ == 0 || i_393_ == 1 && i_398_ == 255) { - int i_401_ = 0; - while (i_401_ < i_391_) { - if (i_390_ + i_401_ >= this.anInt7476 && i_390_ + i_401_ < this.anInt7503 && i_400_ < i_394_) this.anIntArray7483[i_397_ + i_401_ * this.anInt7477] = i_392_; - i_401_++; - i_400_ = ++i_400_ % i_399_; - } - } else if (i_393_ == 1) { - i_392_ = (((i_392_ & 0xff00ff) * i_398_ >> 8 & 0xff00ff) + ((i_392_ & 0xff00) * i_398_ >> 8 & 0xff00) + (i_398_ << 24)); - int i_402_ = 256 - i_398_; - int i_403_ = 0; - while (i_403_ < i_391_) { - if (i_390_ + i_403_ >= this.anInt7476 && i_390_ + i_403_ < this.anInt7503 && i_400_ < i_394_) { - int i_404_ = i_397_ + i_403_ * this.anInt7477; - int i_405_ = this.anIntArray7483[i_404_]; - i_405_ = (((i_405_ & 0xff00ff) * i_402_ >> 8 & 0xff00ff) + ((i_405_ & 0xff00) * i_402_ >> 8 & 0xff00)); - this.anIntArray7483[i_404_] = i_392_ + i_405_; - } - i_403_++; - i_400_ = ++i_400_ % i_399_; - } - } else if (i_393_ == 2) { - int i_406_ = 0; - while (i_406_ < i_391_) { - if (i_390_ + i_406_ >= this.anInt7476 && i_390_ + i_406_ < this.anInt7503 && i_400_ < i_394_) { - int i_407_ = i_397_ + i_406_ * this.anInt7477; - int i_408_ = this.anIntArray7483[i_407_]; - int i_409_ = i_392_ + i_408_; - int i_410_ = (i_392_ & 0xff00ff) + (i_408_ & 0xff00ff); - i_408_ = (i_410_ & 0x1000100) + (i_409_ - i_410_ & 0x10000); - this.anIntArray7483[i_407_] = i_409_ - i_408_ | i_408_ - (i_408_ >>> 8); - } - i_406_++; - i_400_ = ++i_400_ % i_399_; - } - } else throw new IllegalArgumentException(); - } - } - - final void method3677(Canvas canvas) { - if (canvas == null) { - aCanvas7468 = null; - this.aClass348_Sub31_7469 = null; - if (aClass49_7475 == null) { - this.anIntArray7483 = null; - this.anInt7477 = anInt7486 = 1; - anInt7495 = anInt7488 = 1; - method3717(); - } - } else { - Class348_Sub31 class348_sub31 = ((Class348_Sub31) aClass356_7467.method3480(canvas.hashCode(), -6008)); - if (class348_sub31 != null) { - aCanvas7468 = canvas; - Dimension dimension = canvas.getSize(); - anInt7465 = dimension.width; - anInt7472 = dimension.height; - this.aClass348_Sub31_7469 = class348_sub31; - if (aClass49_7475 == null) { - this.anIntArray7483 = class348_sub31.anIntArray6916; - this.anInt7477 = class348_sub31.anInt6917; - anInt7486 = class348_sub31.anInt6920; - if (this.anInt7477 != anInt7495 || anInt7486 != anInt7488) { - anInt7481 = anInt7495 = this.anInt7477; - anInt7493 = anInt7488 = anInt7486; - this.aFloatArray7502 = this.aFloatArray7511 = new float[anInt7495 * anInt7488]; - } - method3717(); - } - } - } - } - - final int JA(int i, int i_411_, int i_412_, int i_413_, int i_414_, int i_415_) { - int i_416_ = 0; - float f = ((this.aClass101_Sub1_7492.aFloat5662) * (float) i + (this.aClass101_Sub1_7492.aFloat5680) * (float) i_411_ + (this.aClass101_Sub1_7492.aFloat5664) * (float) i_412_ + (this.aClass101_Sub1_7492.aFloat5681)); - if (f < 1.0F) f = 1.0F; - float f_417_ = ((this.aClass101_Sub1_7492.aFloat5662) * (float) i_413_ + (this.aClass101_Sub1_7492.aFloat5680) * (float) i_414_ + (this.aClass101_Sub1_7492.aFloat5664) * (float) i_415_ + (this.aClass101_Sub1_7492.aFloat5681)); - if (f_417_ < 1.0F) f_417_ = 1.0F; - if (f < (float) this.anInt7482 && f_417_ < (float) this.anInt7482) i_416_ |= 0x10; - else if (f > (float) this.anInt7494 && f_417_ > (float) this.anInt7494) i_416_ |= 0x20; - int i_418_ = (int) ((float) this.anInt7491 * ((this.aClass101_Sub1_7492.aFloat5672) * (float) i + (this.aClass101_Sub1_7492.aFloat5673 * (float) i_411_) + (this.aClass101_Sub1_7492.aFloat5669 * (float) i_412_) + this.aClass101_Sub1_7492.aFloat5686) / f); - int i_419_ = (int) ((float) this.anInt7491 * ((this.aClass101_Sub1_7492.aFloat5672) * (float) i_413_ + (this.aClass101_Sub1_7492.aFloat5673 * (float) i_414_) + (this.aClass101_Sub1_7492.aFloat5669 * (float) i_415_) + this.aClass101_Sub1_7492.aFloat5686) / f_417_); - if (i_418_ < this.anInt7509 && i_419_ < this.anInt7509) i_416_ |= 0x1; - else if (i_418_ > this.anInt7508 && i_419_ > this.anInt7508) i_416_ |= 0x2; - int i_420_ = (int) ((float) this.anInt7497 * ((this.aClass101_Sub1_7492.aFloat5655) * (float) i + (this.aClass101_Sub1_7492.aFloat5678 * (float) i_411_) + (this.aClass101_Sub1_7492.aFloat5666 * (float) i_412_) + this.aClass101_Sub1_7492.aFloat5685) / f); - int i_421_ = (int) ((float) this.anInt7497 * ((this.aClass101_Sub1_7492.aFloat5655) * (float) i_413_ + (this.aClass101_Sub1_7492.aFloat5678 * (float) i_414_) + (this.aClass101_Sub1_7492.aFloat5666 * (float) i_415_) + this.aClass101_Sub1_7492.aFloat5685) / f_417_); - if (i_420_ < this.anInt7490 && i_421_ < this.anInt7490) i_416_ |= 0x4; - else if (i_420_ > this.anInt7506 && i_421_ > this.anInt7506) i_416_ |= 0x8; - return i_416_; - } - - final void method3678(int i) { - aClass167Array7480[i].method1291(10000, null); - } - - final void method3672() { - if (aCanvas7468 == null) { - this.anInt7477 = 1; - anInt7486 = 1; - this.anIntArray7483 = null; - anInt7495 = 1; - anInt7488 = 1; - this.aFloatArray7511 = null; - } else { - this.anIntArray7483 = (this.aClass348_Sub31_7469.anIntArray6916); - this.anInt7477 = (this.aClass348_Sub31_7469.anInt6917); - anInt7486 = (this.aClass348_Sub31_7469.anInt6920); - this.aFloatArray7511 = this.aFloatArray7502; - anInt7495 = anInt7481; - anInt7488 = anInt7493; - } - aClass49_7475 = null; - method3717(); - } - - final int method3722(int i) { - return (this.aD4579.method3(i, -6662).aShort208 & 0xffff); - } - - final boolean method3699() { - return false; - } - - final boolean method3671() { - return false; - } - - final Class105 method3711(int[] is, int i, int i_422_, int i_423_, int i_424_, boolean bool) { - boolean bool_425_ = false; - int i_426_ = i; - while_229_: - for (int i_427_ = 0; i_427_ < i_424_; i_427_++) { - for (int i_428_ = 0; i_428_ < i_423_; i_428_++) { - int i_429_ = is[i_426_++] >>> 24; - if (i_429_ != 0 && i_429_ != 255) { - bool_425_ = true; - break while_229_; - } - } - } - if (bool_425_) return new Class105_Sub3_Sub3(this, is, i, i_422_, i_423_, i_424_, bool); - return new Class105_Sub3_Sub1(this, is, i, i_422_, i_423_, i_424_, bool); - } - - final Class105 method3691(Class207 class207, boolean bool) { - int[] is = class207.anIntArray2697; - byte[] is_430_ = class207.aByteArray2699; - int i = class207.anInt2702; - int i_431_ = class207.anInt2696; - Class105_Sub3 class105_sub3; - if (bool && class207.aByteArray2695 == null) { - int[] is_432_ = new int[is.length]; - byte[] is_433_ = new byte[i * i_431_]; - for (int i_434_ = 0; i_434_ < i_431_; i_434_++) { - int i_435_ = i_434_ * i; - for (int i_436_ = 0; i_436_ < i; i_436_++) - is_433_[i_435_ + i_436_] = is_430_[i_435_ + i_436_]; - } - for (int i_437_ = 0; i_437_ < is.length; i_437_++) - is_432_[i_437_] = is[i_437_]; - class105_sub3 = new Class105_Sub3_Sub2(this, is_433_, is_432_, i, i_431_); - } else { - int[] is_438_ = new int[i * i_431_]; - byte[] is_439_ = class207.aByteArray2695; - if (is_439_ == null) { - for (int i_443_ = 0; i_443_ < i_431_; i_443_++) { - int i_444_ = i_443_ * i; - for (int i_445_ = 0; i_445_ < i; i_445_++) { - int i_446_ = is[is_430_[i_444_ + i_445_] & 0xff]; - is_438_[i_444_ + i_445_] = i_446_ != 0 ? ~0xffffff | i_446_ : 0; - } - } - class105_sub3 = new Class105_Sub3_Sub1(this, is_438_, i, i_431_); - } else { - for (int i_440_ = 0; i_440_ < i_431_; i_440_++) { - int i_441_ = i_440_ * i; - for (int i_442_ = 0; i_442_ < i; i_442_++) - is_438_[i_441_ + i_442_] = (is[is_430_[i_441_ + i_442_] & 0xff] | is_439_[i_441_ + i_442_] << 24); - } - class105_sub3 = new Class105_Sub3_Sub3(this, is_438_, i, i_431_); - } - } - class105_sub3.method985(class207.anInt2703, class207.anInt2700, class207.anInt2698, class207.anInt2701); - return class105_sub3; - } - - private final void method3723(int i, int i_447_, int i_448_, int i_449_, int i_450_, int i_451_) { - if (i_449_ < 0) i_449_ = -i_449_; - int i_452_ = i_447_ - i_449_; - if (i_452_ < this.anInt7476) i_452_ = this.anInt7476; - int i_453_ = i_447_ + i_449_ + 1; - if (i_453_ > this.anInt7503) i_453_ = this.anInt7503; - int i_454_ = i_452_; - int i_455_ = i_449_ * i_449_; - int i_456_ = 0; - int i_457_ = i_447_ - i_454_; - int i_458_ = i_457_ * i_457_; - int i_459_ = i_458_ - i_457_; - if (i_447_ > i_453_) i_447_ = i_453_; - int i_460_ = i_450_ >>> 24; - if (i_451_ == 0 || i_451_ == 1 && i_460_ == 255) { - while (i_454_ < i_447_) { - for (/**/; i_459_ <= i_455_ || i_458_ <= i_455_; i_459_ += i_456_++ + i_456_) - i_458_ += i_456_ + i_456_; - int i_461_ = i - i_456_ + 1; - if (i_461_ < this.anInt7496) i_461_ = this.anInt7496; - int i_462_ = i + i_456_; - if (i_462_ > this.anInt7507) i_462_ = this.anInt7507; - int i_463_ = i_461_ + i_454_ * this.anInt7477; - for (int i_464_ = i_461_; i_464_ < i_462_; i_464_++) { - if ((float) i_448_ < this.aFloatArray7511[i_463_]) this.anIntArray7483[i_463_] = i_450_; - i_463_++; - } - i_454_++; - i_458_ -= i_457_-- + i_457_; - i_459_ -= i_457_ + i_457_; - } - i_456_ = i_449_; - i_457_ = i_454_ - i_447_; - i_459_ = i_457_ * i_457_ + i_455_; - i_458_ = i_459_ - i_456_; - i_459_ -= i_457_; - while (i_454_ < i_453_) { - for (/**/; i_459_ > i_455_ && i_458_ > i_455_; i_458_ -= i_456_ + i_456_) - i_459_ -= i_456_-- + i_456_; - int i_465_ = i - i_456_; - if (i_465_ < this.anInt7496) i_465_ = this.anInt7496; - int i_466_ = i + i_456_; - if (i_466_ > this.anInt7507 - 1) i_466_ = this.anInt7507 - 1; - int i_467_ = i_465_ + i_454_ * this.anInt7477; - for (int i_468_ = i_465_; i_468_ <= i_466_; i_468_++) { - if ((float) i_448_ < this.aFloatArray7511[i_467_]) this.anIntArray7483[i_467_] = i_450_; - i_467_++; - } - i_454_++; - i_459_ += i_457_ + i_457_; - i_458_ += i_457_++ + i_457_; - } - } else if (i_451_ == 1) { - i_450_ = (((i_450_ & 0xff00ff) * i_460_ >> 8 & 0xff00ff) + ((i_450_ & 0xff00) * i_460_ >> 8 & 0xff00) + (i_460_ << 24)); - int i_469_ = 256 - i_460_; - while (i_454_ < i_447_) { - for (/**/; i_459_ <= i_455_ || i_458_ <= i_455_; i_459_ += i_456_++ + i_456_) - i_458_ += i_456_ + i_456_; - int i_470_ = i - i_456_ + 1; - if (i_470_ < this.anInt7496) i_470_ = this.anInt7496; - int i_471_ = i + i_456_; - if (i_471_ > this.anInt7507) i_471_ = this.anInt7507; - int i_472_ = i_470_ + i_454_ * this.anInt7477; - for (int i_473_ = i_470_; i_473_ < i_471_; i_473_++) { - if ((float) i_448_ < this.aFloatArray7511[i_472_]) { - int i_474_ = this.anIntArray7483[i_472_]; - i_474_ = (((i_474_ & 0xff00ff) * i_469_ >> 8 & 0xff00ff) + ((i_474_ & 0xff00) * i_469_ >> 8 & 0xff00)); - this.anIntArray7483[i_472_] = i_450_ + i_474_; - } - i_472_++; - } - i_454_++; - i_458_ -= i_457_-- + i_457_; - i_459_ -= i_457_ + i_457_; - } - i_456_ = i_449_; - i_457_ = -i_457_; - i_459_ = i_457_ * i_457_ + i_455_; - i_458_ = i_459_ - i_456_; - i_459_ -= i_457_; - while (i_454_ < i_453_) { - for (/**/; i_459_ > i_455_ && i_458_ > i_455_; i_458_ -= i_456_ + i_456_) - i_459_ -= i_456_-- + i_456_; - int i_475_ = i - i_456_; - if (i_475_ < this.anInt7496) i_475_ = this.anInt7496; - int i_476_ = i + i_456_; - if (i_476_ > this.anInt7507 - 1) i_476_ = this.anInt7507 - 1; - int i_477_ = i_475_ + i_454_ * this.anInt7477; - for (int i_478_ = i_475_; i_478_ <= i_476_; i_478_++) { - if ((float) i_448_ < this.aFloatArray7511[i_477_]) { - int i_479_ = this.anIntArray7483[i_477_]; - i_479_ = (((i_479_ & 0xff00ff) * i_469_ >> 8 & 0xff00ff) + ((i_479_ & 0xff00) * i_469_ >> 8 & 0xff00)); - this.anIntArray7483[i_477_] = i_450_ + i_479_; - } - i_477_++; - } - i_454_++; - i_459_ += i_457_ + i_457_; - i_458_ += i_457_++ + i_457_; - } - } else if (i_451_ == 2) { - while (i_454_ < i_447_) { - for (/**/; i_459_ <= i_455_ || i_458_ <= i_455_; i_459_ += i_456_++ + i_456_) - i_458_ += i_456_ + i_456_; - int i_480_ = i - i_456_ + 1; - if (i_480_ < this.anInt7496) i_480_ = this.anInt7496; - int i_481_ = i + i_456_; - if (i_481_ > this.anInt7507) i_481_ = this.anInt7507; - int i_482_ = i_480_ + i_454_ * this.anInt7477; - for (int i_483_ = i_480_; i_483_ < i_481_; i_483_++) { - if ((float) i_448_ < this.aFloatArray7511[i_482_]) { - int i_484_ = this.anIntArray7483[i_482_]; - int i_485_ = i_450_ + i_484_; - int i_486_ = (i_450_ & 0xff00ff) + (i_484_ & 0xff00ff); - i_484_ = (i_486_ & 0x1000100) + (i_485_ - i_486_ & 0x10000); - this.anIntArray7483[i_482_] = i_485_ - i_484_ | i_484_ - (i_484_ >>> 8); - } - i_482_++; - } - i_454_++; - i_458_ -= i_457_-- + i_457_; - i_459_ -= i_457_ + i_457_; - } - i_456_ = i_449_; - i_457_ = -i_457_; - i_459_ = i_457_ * i_457_ + i_455_; - i_458_ = i_459_ - i_456_; - i_459_ -= i_457_; - while (i_454_ < i_453_) { - for (/**/; i_459_ > i_455_ && i_458_ > i_455_; i_458_ -= i_456_ + i_456_) - i_459_ -= i_456_-- + i_456_; - int i_487_ = i - i_456_; - if (i_487_ < this.anInt7496) i_487_ = this.anInt7496; - int i_488_ = i + i_456_; - if (i_488_ > this.anInt7507 - 1) i_488_ = this.anInt7507 - 1; - int i_489_ = i_487_ + i_454_ * this.anInt7477; - for (int i_490_ = i_487_; i_490_ <= i_488_; i_490_++) { - if ((float) i_448_ < this.aFloatArray7511[i_489_]) { - int i_491_ = this.anIntArray7483[i_489_]; - int i_492_ = i_450_ + i_491_; - int i_493_ = (i_450_ & 0xff00ff) + (i_491_ & 0xff00ff); - i_491_ = (i_493_ & 0x1000100) + (i_492_ - i_493_ & 0x10000); - this.anIntArray7483[i_489_] = i_492_ - i_491_ | i_491_ - (i_491_ >>> 8); - } - i_489_++; - } - i_454_++; - i_459_ += i_457_ + i_457_; - i_458_ += i_457_++ + i_457_; - } - } else throw new IllegalArgumentException(); - } - - final void method3688(int i, int i_494_, int i_495_, int i_496_, int i_497_, int i_498_, int i_499_) { - Class167 class167 = method3724(Thread.currentThread()); - Class109 class109 = class167.aClass109_2220; - int i_500_ = i_495_ - i; - int i_501_ = i_496_ - i_494_; - int i_502_ = i_500_ >= 0 ? i_500_ : -i_500_; - int i_503_ = i_501_ >= 0 ? i_501_ : -i_501_; - int i_504_ = i_502_; - if (i_504_ < i_503_) i_504_ = i_503_; - if (i_504_ != 0) { - int i_505_ = (i_500_ << 16) / i_504_; - int i_506_ = (i_501_ << 16) / i_504_; - i_500_ += i_505_ >> 16; - i_501_ += i_506_ >> 16; - if (i_506_ <= i_505_) i_505_ = -i_505_; - else i_506_ = -i_506_; - int i_507_ = i_498_ * i_506_ >> 17; - int i_508_ = i_498_ * i_506_ + 1 >> 17; - int i_509_ = i_498_ * i_505_ >> 17; - int i_510_ = i_498_ * i_505_ + 1 >> 17; - i -= class109.method1028(); - i_494_ -= class109.method1017(); - int i_511_ = i + i_507_; - int i_512_ = i - i_508_; - int i_513_ = i + i_500_ - i_508_; - int i_514_ = i + i_500_ + i_507_; - int i_515_ = i_494_ + i_509_; - int i_516_ = i_494_ - i_510_; - int i_517_ = i_494_ + i_501_ - i_510_; - int i_518_ = i_494_ + i_501_ + i_509_; - if (i_499_ == 0) class109.anInt1674 = 0; - else if (i_499_ == 1) class109.anInt1674 = 255 - (i_497_ >>> 24); - else throw new IllegalArgumentException(); - C(false); - class109.aBoolean1671 = (i_511_ < 0 || i_511_ > class109.anInt1679 || i_512_ < 0 || i_512_ > class109.anInt1679 || i_513_ < 0 || i_513_ > class109.anInt1679); - class109.method1018((float) i_515_, (float) i_516_, (float) i_517_, (float) i_511_, (float) i_512_, (float) i_513_, 100.0F, 100.0F, 100.0F, i_497_); - class109.aBoolean1671 = (i_511_ < 0 || i_511_ > class109.anInt1679 || i_513_ < 0 || i_513_ > class109.anInt1679 || i_514_ < 0 || i_514_ > class109.anInt1679); - class109.method1018((float) i_515_, (float) i_517_, (float) i_518_, (float) i_511_, (float) i_513_, (float) i_514_, 100.0F, 100.0F, 100.0F, i_497_); - C(true); - } - } - - final Class105 method3629(int i, int i_519_, boolean bool) { - if (bool) return new Class105_Sub3_Sub3(this, i, i_519_); - return new Class105_Sub3_Sub1(this, i, i_519_); - } - - final void method3630(boolean bool) { - aBoolean7489 = bool; - aClass60_7498.method590(0); - } - - final void method3650(int i) { - Class64_Sub1.anInt5346 = Class64_Sub1.anInt5350 = i; - if (this.anInt7485 > 1) throw new IllegalStateException("No MT"); - method3631(this.anInt7485); - method3659(0); - } - - final Class348_Sub1 method3690(int i, int i_520_, int i_521_, int i_522_, int i_523_, float f) { - return null; - } - - final boolean method3666() { - return false; - } - - final Class299 method3706(Class299 class299, Class299 class299_524_, float f, Class299 class299_525_) { - return null; - } - - final void za(int i, int i_526_, int i_527_, int i_528_, int i_529_) { - if (i_527_ < 0) i_527_ = -i_527_; - int i_530_ = i_526_ - i_527_; - if (i_530_ < this.anInt7476) i_530_ = this.anInt7476; - int i_531_ = i_526_ + i_527_ + 1; - if (i_531_ > this.anInt7503) i_531_ = this.anInt7503; - int i_532_ = i_530_; - int i_533_ = i_527_ * i_527_; - int i_534_ = 0; - int i_535_ = i_526_ - i_532_; - int i_536_ = i_535_ * i_535_; - int i_537_ = i_536_ - i_535_; - if (i_526_ > i_531_) i_526_ = i_531_; - int i_538_ = i_528_ >>> 24; - if (i_529_ == 0 || i_529_ == 1 && i_538_ == 255) { - while (i_532_ < i_526_) { - for (/**/; i_537_ <= i_533_ || i_536_ <= i_533_; i_537_ += i_534_++ + i_534_) - i_536_ += i_534_ + i_534_; - int i_539_ = i - i_534_ + 1; - if (i_539_ < this.anInt7496) i_539_ = this.anInt7496; - int i_540_ = i + i_534_; - if (i_540_ > this.anInt7507) i_540_ = this.anInt7507; - int i_541_ = i_539_ + i_532_ * this.anInt7477; - for (int i_542_ = i_539_; i_542_ < i_540_; i_542_++) - this.anIntArray7483[i_541_++] = i_528_; - i_532_++; - i_536_ -= i_535_-- + i_535_; - i_537_ -= i_535_ + i_535_; - } - i_534_ = i_527_; - i_535_ = i_532_ - i_526_; - i_537_ = i_535_ * i_535_ + i_533_; - i_536_ = i_537_ - i_534_; - i_537_ -= i_535_; - while (i_532_ < i_531_) { - for (/**/; i_537_ > i_533_ && i_536_ > i_533_; i_536_ -= i_534_ + i_534_) - i_537_ -= i_534_-- + i_534_; - int i_543_ = i - i_534_; - if (i_543_ < this.anInt7496) i_543_ = this.anInt7496; - int i_544_ = i + i_534_; - if (i_544_ > this.anInt7507 - 1) i_544_ = this.anInt7507 - 1; - int i_545_ = i_543_ + i_532_ * this.anInt7477; - for (int i_546_ = i_543_; i_546_ <= i_544_; i_546_++) - this.anIntArray7483[i_545_++] = i_528_; - i_532_++; - i_537_ += i_535_ + i_535_; - i_536_ += i_535_++ + i_535_; - } - } else if (i_529_ == 1) { - i_528_ = (((i_528_ & 0xff00ff) * i_538_ >> 8 & 0xff00ff) + ((i_528_ & 0xff00) * i_538_ >> 8 & 0xff00) + (i_538_ << 24)); - int i_547_ = 256 - i_538_; - while (i_532_ < i_526_) { - for (/**/; i_537_ <= i_533_ || i_536_ <= i_533_; i_537_ += i_534_++ + i_534_) - i_536_ += i_534_ + i_534_; - int i_548_ = i - i_534_ + 1; - if (i_548_ < this.anInt7496) i_548_ = this.anInt7496; - int i_549_ = i + i_534_; - if (i_549_ > this.anInt7507) i_549_ = this.anInt7507; - int i_550_ = i_548_ + i_532_ * this.anInt7477; - for (int i_551_ = i_548_; i_551_ < i_549_; i_551_++) { - int i_552_ = this.anIntArray7483[i_550_]; - i_552_ = (((i_552_ & 0xff00ff) * i_547_ >> 8 & 0xff00ff) + ((i_552_ & 0xff00) * i_547_ >> 8 & 0xff00)); - this.anIntArray7483[i_550_++] = i_528_ + i_552_; - } - i_532_++; - i_536_ -= i_535_-- + i_535_; - i_537_ -= i_535_ + i_535_; - } - i_534_ = i_527_; - i_535_ = -i_535_; - i_537_ = i_535_ * i_535_ + i_533_; - i_536_ = i_537_ - i_534_; - i_537_ -= i_535_; - while (i_532_ < i_531_) { - for (/**/; i_537_ > i_533_ && i_536_ > i_533_; i_536_ -= i_534_ + i_534_) - i_537_ -= i_534_-- + i_534_; - int i_553_ = i - i_534_; - if (i_553_ < this.anInt7496) i_553_ = this.anInt7496; - int i_554_ = i + i_534_; - if (i_554_ > this.anInt7507 - 1) i_554_ = this.anInt7507 - 1; - int i_555_ = i_553_ + i_532_ * this.anInt7477; - for (int i_556_ = i_553_; i_556_ <= i_554_; i_556_++) { - int i_557_ = this.anIntArray7483[i_555_]; - i_557_ = (((i_557_ & 0xff00ff) * i_547_ >> 8 & 0xff00ff) + ((i_557_ & 0xff00) * i_547_ >> 8 & 0xff00)); - this.anIntArray7483[i_555_++] = i_528_ + i_557_; - } - i_532_++; - i_537_ += i_535_ + i_535_; - i_536_ += i_535_++ + i_535_; - } - } else if (i_529_ == 2) { - while (i_532_ < i_526_) { - for (/**/; i_537_ <= i_533_ || i_536_ <= i_533_; i_537_ += i_534_++ + i_534_) - i_536_ += i_534_ + i_534_; - int i_558_ = i - i_534_ + 1; - if (i_558_ < this.anInt7496) i_558_ = this.anInt7496; - int i_559_ = i + i_534_; - if (i_559_ > this.anInt7507) i_559_ = this.anInt7507; - int i_560_ = i_558_ + i_532_ * this.anInt7477; - for (int i_561_ = i_558_; i_561_ < i_559_; i_561_++) { - int i_562_ = this.anIntArray7483[i_560_]; - int i_563_ = i_528_ + i_562_; - int i_564_ = (i_528_ & 0xff00ff) + (i_562_ & 0xff00ff); - i_562_ = (i_564_ & 0x1000100) + (i_563_ - i_564_ & 0x10000); - this.anIntArray7483[i_560_++] = i_563_ - i_562_ | i_562_ - (i_562_ >>> 8); - } - i_532_++; - i_536_ -= i_535_-- + i_535_; - i_537_ -= i_535_ + i_535_; - } - i_534_ = i_527_; - i_535_ = -i_535_; - i_537_ = i_535_ * i_535_ + i_533_; - i_536_ = i_537_ - i_534_; - i_537_ -= i_535_; - while (i_532_ < i_531_) { - for (/**/; i_537_ > i_533_ && i_536_ > i_533_; i_536_ -= i_534_ + i_534_) - i_537_ -= i_534_-- + i_534_; - int i_565_ = i - i_534_; - if (i_565_ < this.anInt7496) i_565_ = this.anInt7496; - int i_566_ = i + i_534_; - if (i_566_ > this.anInt7507 - 1) i_566_ = this.anInt7507 - 1; - int i_567_ = i_565_ + i_532_ * this.anInt7477; - for (int i_568_ = i_565_; i_568_ <= i_566_; i_568_++) { - int i_569_ = this.anIntArray7483[i_567_]; - int i_570_ = i_528_ + i_569_; - int i_571_ = (i_528_ & 0xff00ff) + (i_569_ & 0xff00ff); - i_569_ = (i_571_ & 0x1000100) + (i_570_ - i_571_ & 0x10000); - this.anIntArray7483[i_567_++] = i_570_ - i_569_ | i_569_ - (i_569_ >>> 8); - } - i_532_++; - i_537_ += i_535_ + i_535_; - i_536_ += i_535_++ + i_535_; - } - } else throw new IllegalArgumentException(); - } - - final Class167 method3724(Runnable runnable) { - for (int i = 0; i < this.anInt7485; i++) { - if (aClass167Array7480[i].aRunnable2198 == runnable) return aClass167Array7480[i]; - } - return null; - } - - final int E() { - return 0; - } - - final void method3626(int i, int i_572_) throws Exception_Sub1 { - if (aCanvas7468 == null || this.aClass348_Sub31_7469 == null) throw new IllegalStateException("off"); - try { - Graphics graphics = aCanvas7468.getGraphics(); - this.aClass348_Sub31_7469.method3011(0, i, anInt7472, graphics, -1, 0, anInt7465, i_572_); - } catch (Exception exception) { - aCanvas7468.repaint(); - } - } - - final void ZA(int i, float f, float f_573_, float f_574_, float f_575_, float f_576_) { - this.anInt7474 = (int) (f * 65535.0F); - this.anInt7478 = (int) (f_573_ * 65535.0F); - float f_577_ = (float) Math.sqrt(f_574_ * f_574_ + f_575_ * f_575_ + f_576_ * f_576_); - this.anInt7484 = (int) (f_574_ * 65535.0F / f_577_); - this.anInt7473 = (int) (f_575_ * 65535.0F / f_577_); - this.anInt7479 = (int) (f_576_ * 65535.0F / f_577_); - } - - final void method3696(int i) { - this.anInt7501 = i; - aClass60_7498.method590(0); - } - - final void method3669(Canvas canvas, int i, int i_578_) { - Class348_Sub31 class348_sub31 = ((Class348_Sub31) aClass356_7467.method3480(canvas.hashCode(), -6008)); - if (class348_sub31 != null) { - class348_sub31.method2715((byte) 95); - class348_sub31 = Class110.method1035(9029, i_578_, canvas, i); - aClass356_7467.method3483((byte) 112, canvas.hashCode(), class348_sub31); - if (aCanvas7468 == canvas && aClass49_7475 == null) { - Dimension dimension = canvas.getSize(); - anInt7465 = dimension.width; - anInt7472 = dimension.height; - this.aClass348_Sub31_7469 = class348_sub31; - this.anIntArray7483 = class348_sub31.anIntArray6916; - this.anInt7477 = class348_sub31.anInt6917; - anInt7486 = class348_sub31.anInt6920; - if (this.anInt7477 != anInt7495 || anInt7486 != anInt7488) { - anInt7481 = anInt7495 = this.anInt7477; - anInt7493 = anInt7488 = anInt7486; - this.aFloatArray7502 = this.aFloatArray7511 = new float[anInt7495 * anInt7488]; - } - method3717(); - } - } - } - - final int r(int i, int i_579_, int i_580_, int i_581_, int i_582_, int i_583_, int i_584_) { - float f = ((this.aClass101_Sub1_7492.aFloat5662) * (float) i + (this.aClass101_Sub1_7492.aFloat5680) * (float) i_579_ + (this.aClass101_Sub1_7492.aFloat5664) * (float) i_580_ + (this.aClass101_Sub1_7492.aFloat5681)); - float f_585_ = ((this.aClass101_Sub1_7492.aFloat5662) * (float) i_581_ + (this.aClass101_Sub1_7492.aFloat5680) * (float) i_582_ + (this.aClass101_Sub1_7492.aFloat5664) * (float) i_583_ + (this.aClass101_Sub1_7492.aFloat5681)); - int i_586_ = 0; - if (f < (float) this.anInt7482 && f_585_ < (float) this.anInt7482) i_586_ |= 0x10; - else if (f > (float) this.anInt7494 && f_585_ > (float) this.anInt7494) i_586_ |= 0x20; - int i_587_ = (int) ((float) this.anInt7491 * ((this.aClass101_Sub1_7492.aFloat5672) * (float) i + (this.aClass101_Sub1_7492.aFloat5673 * (float) i_579_) + (this.aClass101_Sub1_7492.aFloat5669 * (float) i_580_) + this.aClass101_Sub1_7492.aFloat5686) / (float) i_584_); - int i_588_ = (int) ((float) this.anInt7491 * ((this.aClass101_Sub1_7492.aFloat5672) * (float) i_581_ + (this.aClass101_Sub1_7492.aFloat5673 * (float) i_582_) + (this.aClass101_Sub1_7492.aFloat5669 * (float) i_583_) + this.aClass101_Sub1_7492.aFloat5686) / (float) i_584_); - if (i_587_ < this.anInt7509 && i_588_ < this.anInt7509) i_586_ |= 0x1; - else if (i_587_ > this.anInt7508 && i_588_ > this.anInt7508) i_586_ |= 0x2; - int i_589_ = (int) ((float) this.anInt7497 * ((this.aClass101_Sub1_7492.aFloat5655) * (float) i + (this.aClass101_Sub1_7492.aFloat5678 * (float) i_579_) + (this.aClass101_Sub1_7492.aFloat5666 * (float) i_580_) + this.aClass101_Sub1_7492.aFloat5685) / (float) i_584_); - int i_590_ = (int) ((float) this.anInt7497 * ((this.aClass101_Sub1_7492.aFloat5655) * (float) i_581_ + (this.aClass101_Sub1_7492.aFloat5678 * (float) i_582_) + (this.aClass101_Sub1_7492.aFloat5666 * (float) i_583_) + this.aClass101_Sub1_7492.aFloat5685) / (float) i_584_); - if (i_589_ < this.anInt7490 && i_590_ < this.anInt7490) i_586_ |= 0x4; - else if (i_589_ > this.anInt7506 && i_590_ > this.anInt7506) i_586_ |= 0x8; - return i_586_; - } - - final boolean method3725(int i) { - return this.aD4579.method4(-7953, i); - } - - private ha_Sub1(d var_d) { - super(var_d); - aClass356_7467 = new Class356(4); - this.anInt7474 = 45823; - aBoolean7489 = false; - anInt7487 = 0; - this.anInt7501 = 128; - this.anInt7476 = 0; - this.anInt7482 = 50; - this.anInt7503 = 0; - this.anInt7496 = 0; - this.anInt7497 = 512; - this.anInt7500 = 75518; - this.anInt7491 = 512; - anInt7505 = 0; - this.anInt7494 = 3500; - this.anInt7507 = 0; - this.anInt7478 = 78642; - aClass60_7499 = new Class60(16); - anInt7512 = -1; - try { - aClass60_7498 = new Class60(256); - this.aClass101_Sub1_7492 = new Class101_Sub1(); - method3631(1); - method3659(0); - Class59_Sub2_Sub1.method566(true, true, (byte) -126); - aBoolean7471 = true; - anInt7466 = (int) Class62.method599(-70); - } catch (Throwable throwable) { - throwable.printStackTrace(); - this.method3635((byte) -98); - throw new RuntimeException(""); - } - } - - final boolean method3708() { - return true; - } - - final void K(int[] is) { - is[0] = this.anInt7496; - is[1] = this.anInt7476; - is[2] = this.anInt7507; - is[3] = this.anInt7503; - } - - final za method3702(int i) { - return null; - } - - final Interface3 method3665(int i, int i_591_) { - return method3629(i, i_591_, false); - } - - final void method3674(int i, int i_592_, int i_593_, int i_594_, int i_595_, int i_596_, int i_597_, int i_598_, int i_599_) { - i_593_ -= i; - i_594_ -= i_592_; - if (i_594_ == 0) { - if (i_593_ >= 0) method3715(i, i_592_, i_593_ + 1, i_595_, i_596_, i_597_, i_598_, i_599_); - else { - int i_600_ = i_597_ + i_598_; - i_599_ %= i_600_; - i_599_ = i_600_ + i_597_ - i_599_ - (-i_593_ + 1) % i_600_; - i_599_ %= i_600_; - if (i_599_ < 0) i_599_ += i_600_; - method3715(i + i_593_, i_592_, -i_593_ + 1, i_595_, i_596_, i_597_, i_598_, i_599_); - } - } else if (i_593_ == 0) { - if (i_594_ >= 0) method3721(i, i_592_, i_594_ + 1, i_595_, i_596_, i_597_, i_598_, i_599_); - else { - int i_601_ = i_597_ + i_598_; - i_599_ %= i_601_; - i_599_ = i_601_ + i_597_ - i_599_ - (-i_594_ + 1) % i_601_; - i_599_ %= i_601_; - if (i_599_ < 0) i_599_ += i_601_; - method3721(i, i_592_ + i_594_, -i_594_ + 1, i_595_, i_596_, i_597_, i_598_, i_599_); - } - } else { - i_599_ <<= 8; - i_597_ <<= 8; - i_598_ <<= 8; - int i_602_ = i_597_ + i_598_; - i_599_ %= i_602_; - if (i_593_ + i_594_ < 0) { - int i_603_ = (int) (Math.sqrt(i_593_ * i_593_ + i_594_ * i_594_) * 256.0); - int i_604_ = i_603_ % i_602_; - i_599_ = i_602_ + i_597_ - i_599_ - i_604_; - i_599_ %= i_602_; - if (i_599_ < 0) i_599_ += i_602_; - i += i_593_; - i_593_ = -i_593_; - i_592_ += i_594_; - i_594_ = -i_594_; - } - if (i_593_ > i_594_) { - i_592_ <<= 16; - i_592_ += 32768; - i_594_ <<= 16; - int i_605_ = (int) Math.floor((double) i_594_ / (double) i_593_ + 0.5); - i_593_ += i; - int i_606_ = i_595_ >>> 24; - int i_607_ = (int) Math.sqrt(65536 + (i_605_ >> 8) * (i_605_ >> 8)); - if (i_596_ == 0 || i_596_ == 1 && i_606_ == 255) { - while (i <= i_593_) { - int i_608_ = i_592_ >> 16; - if (i >= this.anInt7496 && i < this.anInt7507 && i_608_ >= this.anInt7476 && i_608_ < this.anInt7503 && i_599_ < i_597_) this.anIntArray7483[i + i_608_ * this.anInt7477] = i_595_; - i_592_ += i_605_; - i++; - i_599_ += i_607_; - i_599_ %= i_602_; - } - return; - } - if (i_596_ == 1) { - i_595_ = (((i_595_ & 0xff00ff) * i_606_ >> 8 & 0xff00ff) + ((i_595_ & 0xff00) * i_606_ >> 8 & 0xff00) + (i_606_ << 24)); - int i_609_ = 256 - i_606_; - while (i <= i_593_) { - int i_610_ = i_592_ >> 16; - if (i >= this.anInt7496 && i < this.anInt7507 && i_610_ >= this.anInt7476 && i_610_ < this.anInt7503 && i_599_ < i_597_) { - int i_611_ = i + i_610_ * this.anInt7477; - int i_612_ = this.anIntArray7483[i_611_]; - i_612_ = (((i_612_ & 0xff00ff) * i_609_ >> 8 & 0xff00ff) + ((i_612_ & 0xff00) * i_609_ >> 8 & 0xff00)); - this.anIntArray7483[i_611_] = i_595_ + i_612_; - } - i_592_ += i_605_; - i++; - i_599_ += i_607_; - i_599_ %= i_602_; - } - return; - } - if (i_596_ == 2) { - while (i <= i_593_) { - int i_613_ = i_592_ >> 16; - if (i >= this.anInt7496 && i < this.anInt7507 && i_613_ >= this.anInt7476 && i_613_ < this.anInt7503 && i_599_ < i_597_) { - int i_614_ = i + i_613_ * this.anInt7477; - int i_615_ = this.anIntArray7483[i_614_]; - int i_616_ = i_595_ + i_615_; - int i_617_ = (i_595_ & 0xff00ff) + (i_615_ & 0xff00ff); - i_615_ = (i_617_ & 0x1000100) + (i_616_ - i_617_ & 0x10000); - this.anIntArray7483[i_614_] = i_616_ - i_615_ | i_615_ - (i_615_ >>> 8); - } - i_592_ += i_605_; - i++; - i_599_ += i_607_; - i_599_ %= i_602_; - } - return; - } - throw new IllegalArgumentException(); - } - i <<= 16; - i += 32768; - i_593_ <<= 16; - int i_618_ = (int) Math.floor((double) i_593_ / (double) i_594_ + 0.5); - i_594_ += i_592_; - int i_619_ = i_595_ >>> 24; - int i_620_ = (int) Math.sqrt(65536 + (i_618_ >> 8) * (i_618_ >> 8)); - if (i_596_ == 0 || i_596_ == 1 && i_619_ == 255) { - while (i_592_ <= i_594_) { - int i_621_ = i >> 16; - if (i_592_ >= this.anInt7476 && i_592_ < this.anInt7503 && i_621_ >= this.anInt7496 && i_621_ < this.anInt7507 && i_599_ < i_597_) this.anIntArray7483[i_621_ + i_592_ * this.anInt7477] = i_595_; - i += i_618_; - i_592_++; - i_599_ += i_620_; - i_599_ %= i_602_; - } - } else if (i_596_ == 1) { - i_595_ = (((i_595_ & 0xff00ff) * i_619_ >> 8 & 0xff00ff) + ((i_595_ & 0xff00) * i_619_ >> 8 & 0xff00) + (i_619_ << 24)); - int i_622_ = 256 - i_619_; - while (i_592_ <= i_594_) { - int i_623_ = i >> 16; - if (i_592_ >= this.anInt7476 && i_592_ < this.anInt7503 && i_623_ >= this.anInt7496 && i_623_ < this.anInt7507 && i_599_ < i_597_) { - int i_624_ = i_623_ + i_592_ * this.anInt7477; - int i_625_ = this.anIntArray7483[i_624_]; - i_625_ = (((i_625_ & 0xff00ff) * i_622_ >> 8 & 0xff00ff) + ((i_625_ & 0xff00) * i_622_ >> 8 & 0xff00)); - this.anIntArray7483[i_623_ + i_592_ * this.anInt7477] = i_595_ + i_625_; - } - i += i_618_; - i_592_++; - i_599_ += i_620_; - i_599_ %= i_602_; - } - } else if (i_596_ == 2) { - while (i_592_ <= i_594_) { - int i_626_ = i >> 16; - if (i_592_ >= this.anInt7476 && i_592_ < this.anInt7503 && i_626_ >= this.anInt7496 && i_626_ < this.anInt7507 && i_599_ < i_597_) { - int i_627_ = i_626_ + i_592_ * this.anInt7477; - int i_628_ = this.anIntArray7483[i_627_]; - int i_629_ = i_595_ + i_628_; - int i_630_ = (i_595_ & 0xff00ff) + (i_628_ & 0xff00ff); - i_628_ = (i_630_ & 0x1000100) + (i_629_ - i_630_ & 0x10000); - this.anIntArray7483[i_627_] = i_629_ - i_628_ | i_628_ - (i_628_ >>> 8); - } - i += i_618_; - i_592_++; - i_599_ += i_620_; - i_599_ %= i_602_; - } - } else throw new IllegalArgumentException(); - } - } - - final void X(int i) { - /* empty */ - } - - final Class365 c() { - return new Class365(0, "Pure Java", 1, "CPU", 0L); - } - - final void method3659(int i) { - aClass167Array7480[i].method1291(10000, Thread.currentThread()); - } - - final void method3707(Rectangle[] rectangles, int i, int i_631_, int i_632_) throws Exception_Sub1 { - if (aCanvas7468 == null || this.aClass348_Sub31_7469 == null) throw new IllegalStateException("off"); - try { - Graphics graphics = aCanvas7468.getGraphics(); - for (int i_633_ = 0; i_633_ < i; i_633_++) { - Rectangle rectangle = rectangles[i_633_]; - if (rectangle.x + i_631_ <= this.anInt7477 && rectangle.y + i_632_ <= anInt7486 && rectangle.x + i_631_ + rectangle.width > 0 && rectangle.y + i_632_ + rectangle.height > 0) - this.aClass348_Sub31_7469.method3011(rectangle.y, rectangle.x + i_631_, rectangle.height, graphics, -1, rectangle.x, rectangle.width, rectangle.y + i_632_); - } - } catch (Exception exception) { - aCanvas7468.repaint(); - } - } - - final int M() { - int i = anInt7505; - anInt7505 = 0; - return i; - } - - final int method3726(int i) { - return this.aD4579.method3(i, -6662).anInt200; - } - - final int I() { - int i = anInt7487; - anInt7487 = 0; - return i; - } - - final int method3704() { - return 0; - } - - final void method3646(int i) { - int i_634_ = i - anInt7466; - for (Object object = aClass60_7498.method588(-5052); object != null; object = aClass60_7498.method579(-117)) { - Class348_Sub25 class348_sub25 = (Class348_Sub25) object; - if (class348_sub25.aBoolean6882) { - class348_sub25.anInt6879 += i_634_; - int i_635_ = class348_sub25.anInt6879 / 20; - if (i_635_ > 0) { - Class12 class12 = this.aD4579.method3((class348_sub25.anInt6883), -6662); - class348_sub25.method2995((class12.aByte198 * i_634_ * 50 / 1000), (class12.aByte211 * i_634_ * 50 / 1000)); - class348_sub25.anInt6879 -= i_635_ * 20; - } - class348_sub25.aBoolean6882 = false; - } - } - anInt7466 = i; - aClass60_7499.method578(2, 5); - aClass60_7498.method578(2, 5); - } - - final boolean method3694() { - return true; - } - - final void da(int i, int i_636_, int i_637_, int[] is) { - float f = ((this.aClass101_Sub1_7492.aFloat5681) + ((this.aClass101_Sub1_7492.aFloat5662) * (float) i + (this.aClass101_Sub1_7492.aFloat5680) * (float) i_636_ + (this.aClass101_Sub1_7492.aFloat5664) * (float) i_637_)); - if (f >= (float) this.anInt7482 && f <= (float) this.anInt7494) { - int i_638_ = (int) ((float) this.anInt7491 * (this.aClass101_Sub1_7492.aFloat5686 + ((this.aClass101_Sub1_7492.aFloat5672) * (float) i + (this.aClass101_Sub1_7492.aFloat5673) * (float) i_636_ + (this.aClass101_Sub1_7492.aFloat5669) * (float) i_637_)) / f); - int i_639_ = (int) ((float) this.anInt7497 * (this.aClass101_Sub1_7492.aFloat5685 + ((this.aClass101_Sub1_7492.aFloat5655) * (float) i + (this.aClass101_Sub1_7492.aFloat5678) * (float) i_636_ + (this.aClass101_Sub1_7492.aFloat5666) * (float) i_637_)) / f); - if (i_638_ >= this.anInt7509 && i_638_ <= this.anInt7508 && i_639_ >= this.anInt7490 && i_639_ <= this.anInt7506) { - is[0] = i_638_ - this.anInt7509; - is[1] = i_639_ - this.anInt7490; - is[2] = (int) f; - } else is[0] = is[1] = is[2] = -1; - } else is[0] = is[1] = is[2] = -1; - } - - final void method3673() { - /* empty */ - } - - final boolean method3644() { - return false; - } - - final void method3663() { - aClass60_7498.method590(0); - aClass60_7499.method590(0); - } - - final int method3679(int i, int i_640_) { - return i | i_640_; - } - - final boolean method3727(int i) { - return aBoolean7489 || this.aD4579.method3(i, -6662).aBoolean199; - } -} diff --git a/client/src/ha_Sub2.java b/client/src/ha_Sub2.java deleted file mode 100644 index 62a4257f1..000000000 --- a/client/src/ha_Sub2.java +++ /dev/null @@ -1,3690 +0,0 @@ -/* ha_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaclib.memory.Buffer; -import jaclib.memory.Stream; -import jaclib.memory.heap.NativeHeap; -import jaggl.OpenGL; - -import java.awt.*; -import java.util.Enumeration; -import java.util.Hashtable; - -final class ha_Sub2 extends ha { - static int anInt7514; - static int anInt7515; - static int anInt7516; - static int anInt7517; - static int anInt7518; - static int anInt7519; - static int anInt7520; - static int anInt7521; - static int anInt7522; - private int anInt7523; - static int anInt7524; - static int anInt7525; - static int anInt7526; - static int anInt7527; - static int anInt7528; - static int anInt7529; - static int anInt7530; - static int anInt7531; - static int anInt7532; - static int anInt7533; - static int anInt7534; - static int anInt7535; - static int anInt7536; - static int anInt7537; - static int anInt7538; - static int anInt7539; - static int anInt7540; - static int anInt7541; - static int anInt7542; - static int anInt7543; - static int anInt7544; - static int anInt7545; - static int anInt7546; - static int anInt7547; - static int anInt7548; - static int anInt7549; - static int anInt7550; - static int anInt7551; - static int anInt7552; - private final long aLong7553; - static Class351 aClass351_7554; - static int anInt7555; - static int anInt7556; - static int anInt7557; - static int anInt7558; - static int anInt7559; - static int anInt7560; - static int anInt7561; - static int anInt7562; - static int anInt7563; - static int anInt7564; - static int anInt7565; - static int anInt7566; - static int anInt7567; - static int anInt7568; - static int anInt7569; - static int anInt7570; - static int anInt7571; - static int anInt7572; - static int anInt7573; - static int anInt7574; - private Canvas aCanvas7575; - static int anInt7576; - private final Hashtable aHashtable7577 = new Hashtable(); - static int anInt7578; - static int anInt7579; - static int anInt7580; - static int anInt7581; - static int anInt7582; - static int anInt7583; - static int anInt7584; - static int anInt7585; - static int anInt7586; - static int anInt7587; - static int anInt7588; - static int anInt7589; - static int anInt7590; - static int anInt7591; - static int anInt7592; - static int anInt7593; - static int anInt7594; - static int anInt7595; - static int anInt7596; - static int anInt7597; - static int anInt7598; - static int anInt7599; - static int anInt7600; - static int anInt7601; - static int anInt7602; - static int anInt7603; - static int anInt7604; - static int anInt7605; - static int anInt7606; - static int anInt7607; - static int anInt7608; - static int anInt7609; - static int anInt7610; - static int anInt7611; - static int anInt7612; - static int anInt7613; - static int anInt7614; - static int anInt7615; - static int anInt7616; - static int anInt7617; - static int anInt7618; - static int anInt7619; - static int anInt7620; - static int anInt7621; - static int anInt7622; - static int anInt7623; - static int anInt7624; - static int anInt7625; - private Canvas aCanvas7626; - static int anInt7627; - static int anInt7628; - static int anInt7629; - static int anInt7630; - static int anInt7631; - static int anInt7632; - static int anInt7633; - static int anInt7634; - static int anInt7635; - private long aLong7636; - static int anInt7637; - static int anInt7638; - static int anInt7639; - static int anInt7640; - int anInt7641; - static int anInt7642; - static int anInt7643; - static int anInt7644; - private int anInt7645; - static int anInt7646; - static int anInt7647; - static int anInt7648; - static int anInt7649; - static int anInt7650; - static int anInt7651; - static int anInt7652; - static int anInt7653; - static int anInt7654; - static int anInt7655; - static int anInt7656; - static int anInt7657; - static int anInt7658; - static int anInt7659; - static int anInt7660; - static int anInt7661; - static int anInt7662; - static int anInt7663; - private OpenGL anOpenGL7664; - static int anInt7665; - static int anInt7666 = 503; - static int anInt7667; - static int anInt7668; - static int anInt7669; - static int anInt7670; - static int anInt7671; - static int anInt7672; - static int anInt7673; - static int anInt7674; - static int anInt7675; - static int anInt7676; - static int anInt7677; - static int anInt7678; - static int anInt7679; - static int anInt7680; - static int anInt7681; - static int anInt7682; - static int anInt7683; - static int anInt7684; - static int anInt7685; - static int anInt7686; - static int anInt7687; - int anInt7688; - static int anInt7689; - static int anInt7690; - static int anInt7691; - static int anInt7692; - static int anInt7693; - static int anInt7694; - static int anInt7695; - static int anInt7696; - static int anInt7697; - static int anInt7698; - static int anInt7699; - static int anInt7700; - static int anInt7701; - static int anInt7702; - static int anInt7703; - static int anInt7704; - static int anInt7705; - static int anInt7706; - private Class100 aClass100_7707; - static int anInt7708; - static int anInt7709; - static int anInt7710; - private final Class233 aClass233_7711; - int anInt7712 = 128; - int anInt7713; - static int anInt7714; - static Class351 aClass351_7715; - static int anInt7716; - static int anInt7717; - static int anInt7718; - static int anInt7719; - private final Class18 aClass18_7720; - private Class348_Sub5_Sub1 aClass348_Sub5_Sub1_7721; - static int anInt7722; - private final Class354 aClass354_7723; - static int anInt7724; - private final Class101_Sub3 aClass101_Sub3_7725; - static int anInt7726; - static int anInt7727; - static int anInt7728; - Class101_Sub3 aClass101_Sub3_7729; - NativeHeap aNativeHeap7730; - int anInt7731; - private final Class262 aClass262_7732; - int anInt7733; - private boolean aBoolean7734; - int anInt7735; - Class188 aClass188_7736; - private final Interface11[] anInterface11Array7737; - private int anInt7738; - private Class206 aClass206_7739; - private Interface11 anInterface11_7740; - private final Interface11[] anInterface11Array7741; - private int anInt7742; - private final Interface11[] anInterface11Array7743; - private Class105_Sub2 aClass105_Sub2_7744; - private Interface11 anInterface11_7745; - private int anInt7746; - int anInt7747; - int anInt7748; - private final Class262 aClass262_7749; - private int anInt7750; - private Class262 aClass262_7751; - private final Class262 aClass262_7752; - private final Class262 aClass262_7753; - private final Class262 aClass262_7754; - private final Class262 aClass262_7755; - private final Class262 aClass262_7756; - private long aLong7757; - private boolean aBoolean7758; - private boolean aBoolean7759; - Class101_Sub3 aClass101_Sub3_7760; - private boolean aBoolean7761; - private int anInt7762; - private boolean aBoolean7763; - private int anInt7764; - private int anInt7765; - Class101_Sub3 aClass101_Sub3_7766; - Class101_Sub3 aClass101_Sub3_7767; - float aFloat7768; - private Class299_Sub1 aClass299_Sub1_7769; - private int anInt7770; - int anInt7771; - int anInt7772; - private int anInt7773; - private final boolean aBoolean7774; - boolean aBoolean7775; - private Class258_Sub3_Sub1 aClass258_Sub3_Sub1_7776; - int anInt7777; - Class206 aClass206_7778; - private final float[] aFloatArray7779; - Class64_Sub3 aClass64_Sub3_7780; - float aFloat7781; - int anInt7782; - boolean aBoolean7783; - private boolean aBoolean7784; - Class64_Sub3 aClass64_Sub3_7785; - private float aFloat7786; - private int anInt7787; - int anInt7788; - private int anInt7789; - private String aString7790; - boolean aBoolean7791; - float aFloat7792; - boolean aBoolean7793; - int anInt7794; - int anInt7795; - private int anInt7796; - private Interface2 anInterface2_7797; - Class348_Sub49_Sub1 aClass348_Sub49_Sub1_7798; - private int anInt7799; - private float aFloat7800; - private boolean aBoolean7801; - Class64_Sub3 aClass64_Sub3_7802; - Class64_Sub3 aClass64_Sub3_7803; - private int anInt7804; - private boolean aBoolean7805; - int anInt7806; - boolean aBoolean7807; - private int anInt7808; - int anInt7809; - int anInt7810; - private final float[] aFloatArray7811; - int anInt7812; - int anInt7813; - private int anInt7814; - boolean aBoolean7815; - float aFloat7816; - private Interface8 anInterface8_7817; - boolean aBoolean7818; - private int anInt7819; - boolean aBoolean7820; - Class64_Sub3 aClass64_Sub3_7821; - private boolean aBoolean7822; - float aFloat7823; - private float aFloat7824; - float[] aFloatArray7825; - int anInt7826; - Class258_Sub3 aClass258_Sub3_7827; - private Class258[] aClass258Array7828; - private float aFloat7829; - float aFloat7830; - boolean aBoolean7831; - float aFloat7832; - Class123 aClass123_7833; - Class64_Sub3 aClass64_Sub3_7834; - float aFloat7835; - float aFloat7836; - boolean aBoolean7837; - Class64_Sub3 aClass64_Sub3_7838; - private int anInt7839; - Class64_Sub3 aClass64_Sub3_7840; - boolean aBoolean7841; - private float aFloat7842; - private boolean aBoolean7843; - Class64_Sub3 aClass64_Sub3_7844; - private String aString7845; - boolean aBoolean7846; - boolean aBoolean7847; - int anInt7848; - Class123 aClass123_7849; - private final float[] aFloatArray7850; - private float aFloat7851; - private Interface2 anInterface2_7852; - int anInt7853; - private float aFloat7854; - private int anInt7855; - int anInt7856; - private float aFloat7857; - private final Class348_Sub1[] aClass348_Sub1Array7858; - private boolean aBoolean7859; - private boolean aBoolean7860; - private int anInt7861; - private int anInt7862; - boolean aBoolean7863; - Class64_Sub3 aClass64_Sub3_7864; - private int anInt7865; - private boolean aBoolean7866; - private int anInt7867; - private int anInt7868; - private boolean aBoolean7869; - private boolean aBoolean7870; - float aFloat7871; - float aFloat7872; - private boolean aBoolean7873; - float aFloat7874; - float aFloat7875; - private int anInt7876; - private final float[] aFloatArray7877; - private int anInt7878; - byte[] aByteArray7879; - int[] anIntArray7880; - private int anInt7881; - int[] anIntArray7882; - int[] anIntArray7883; - - final void L(int i, int i_0_, int i_1_) { - if (i != this.anInt7856 || i_0_ != this.anInt7782 || this.anInt7813 != i_1_) { - this.anInt7782 = i_0_; - this.anInt7856 = i; - this.anInt7813 = i_1_; - method3803(16711680); - method3732(92); - } - anInt7694++; - } - - final void method3728(boolean bool, int i) { - if (aBoolean7784 != bool) { - aBoolean7784 = bool; - method3768((byte) -121); - anInt7765 &= ~0x7; - } - if (i < 18) anInt7804 = -98; - anInt7683++; - } - - final Class64 method3625(Class124 class124, int i, int i_2_, int i_3_, int i_4_) { - try { - anInt7579++; - return new Class64_Sub3(this, class124, i, i_3_, i_4_, i_2_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.EG(" + (class124 != null ? "{...}" : "null") + ',' + i + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ')')); - } - } - - final void method3729(int i, byte i_5_, int i_6_) { - if (anInt7876 == 0) { - boolean bool = false; - if (anInt7804 != i) { - OpenGL.glTexEnvi(8960, 34161, i); - bool = true; - anInt7804 = i; - } - if (i_6_ != anInt7861) { - OpenGL.glTexEnvi(8960, 34162, i_6_); - anInt7861 = i_6_; - bool = true; - } - if (bool) anInt7765 &= ~0x1d; - } else { - OpenGL.glTexEnvi(8960, 34161, i); - OpenGL.glTexEnvi(8960, 34162, i_6_); - } - int i_7_ = -14 / ((i_5_ - 46) / 46); - anInt7655++; - } - - private final void method3730(byte i) { - OpenGL.glMatrixMode(5889); - anInt7693++; - OpenGL.glLoadMatrixf(aFloatArray7779, 0); - OpenGL.glMatrixMode(5888); - if (i <= 113) method3659(-64); - } - - final void method3653(Class299 class299) { - try { - anInt7550++; - aClass299_Sub1_7769 = (Class299_Sub1) class299; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "qo.DF(" + (class299 != null ? "{...}" : "null") + ')'); - } - } - - final Interface2 method3731(int i, boolean bool, int i_8_, byte[] is, int i_9_) { - try { - if (i != 2) method3781((byte) -13, 54); - anInt7530++; - if (aBoolean7873 && (!bool || aBoolean7869)) return new Class135_Sub1(this, i_8_, is, i_9_, bool); - return new Class119_Sub1(this, i_8_, is, i_9_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.VB(" + i + ',' + bool + ',' + i_8_ + ',' + (is != null ? "{...}" : "null") + ',' + i_9_ + ')')); - } - } - - final void DA(int i, int i_10_, int i_11_, int i_12_) { - this.anInt7771 = i_11_; - this.anInt7794 = i_12_; - this.anInt7810 = i_10_; - this.anInt7853 = i; - anInt7558++; - method3806(96); - method3772((byte) 124); - if (anInt7865 == 3) method3747((byte) -63); - else if (anInt7865 == 2) method3730((byte) 119); - } - - private final void method3732(int i) { - if (!aBoolean7801 || this.anInt7782 < 0) OpenGL.glDisable(2912); - else OpenGL.glEnable(2912); - int i_13_ = 96 % (i / 63); - anInt7629++; - } - - final Interface8 method3733(int i, int i_14_, int i_15_, byte[] is, boolean bool) { - try { - anInt7565++; - if (i_14_ >= -2) method3644(); - if (aBoolean7873 && (!bool || aBoolean7869)) return new Class135_Sub2(this, i, is, i_15_, bool); - return new Class119_Sub2(this, i, is, i_15_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.G(" + i + ',' + i_14_ + ',' + i_15_ + ',' + (is != null ? "{...}" : "null") + ',' + bool + ')')); - } - } - - final void method3734(boolean bool) { - OpenGL.glPopMatrix(); - anInt7696++; - if (bool != true) this.anInt7772 = 37; - } - - final Class348_Sub1 method3690(int i, int i_16_, int i_17_, int i_18_, int i_19_, float f) { - anInt7559++; - return new Class348_Sub1_Sub1(i, i_16_, i_17_, i_18_, i_19_, f); - } - - final void method3735(int i) { - if (i != 9473) method3661(-10, -73, null, null); - if (anInt7765 != 4) { - method3763(i ^ 0x3201); - method3807(false, 2); - method3728(false, 79); - method3752(i ^ 0x257a, false); - method3748(0, false); - method3757(-2, -111); - method3753(1, 1); - anInt7765 = 4; - } - anInt7514++; - } - - public static void method3736(byte i) { - aClass351_7554 = null; - aClass351_7715 = null; - if (i < 27) aClass351_7715 = null; - } - - final int XA() { - anInt7706++; - return anInt7814; - } - - final void method3636(int i, int i_20_, int i_21_, int i_22_, int i_23_, int i_24_, aa var_aa, int i_25_, int i_26_) { - try { - anInt7727++; - aa_Sub1 var_aa_Sub1 = (aa_Sub1) var_aa; - Class258_Sub3_Sub1 class258_sub3_sub1 = var_aa_Sub1.aClass258_Sub3_Sub1_5193; - method3792(110); - method3771((byte) -88, var_aa_Sub1.aClass258_Sub3_Sub1_5193); - method3753(i_24_, 1); - method3729(7681, (byte) 97, 8448); - method3762(34167, 768, (byte) -87, 0); - float f = (class258_sub3_sub1.aFloat9937 / (float) (class258_sub3_sub1.anInt9940)); - float f_27_ = (class258_sub3_sub1.aFloat9938 / (float) (class258_sub3_sub1.anInt9939)); - float f_28_ = (float) i_21_ - (float) i; - float f_29_ = (float) i_22_ - (float) i_20_; - float f_30_ = (float) (1.0 / Math.sqrt(f_29_ * f_29_ + f_28_ * f_28_)); - f_28_ *= f_30_; - OpenGL.glColor4ub((byte) (i_23_ >> 16), (byte) (i_23_ >> 8), (byte) i_23_, (byte) (i_23_ >> 24)); - f_29_ *= f_30_; - OpenGL.glBegin(1); - OpenGL.glTexCoord2f((float) (-i_25_ + i) * f, f_27_ * (float) (i_20_ + -i_26_)); - OpenGL.glVertex2f((float) i + 0.35F, 0.35F + (float) i_20_); - OpenGL.glTexCoord2f(f * (float) (i_21_ + -i_25_), (float) (-i_26_ + i_22_) * f_27_); - OpenGL.glVertex2f(0.35F + (f_28_ + (float) i_21_), 0.35F + ((float) i_22_ + f_29_)); - OpenGL.glEnd(); - method3762(5890, 768, (byte) -87, 0); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.ME(" + i + ',' + i_20_ + ',' + i_21_ + ',' + i_22_ + ',' + i_23_ + ',' + i_24_ + ',' + (var_aa != null ? "{...}" : "null") + ',' + i_25_ + ',' + i_26_ + ')')); - } - } - - final int[] Y() { - anInt7704++; - return (new int[]{this.anInt7853, this.anInt7810, this.anInt7771, this.anInt7794}); - } - - final synchronized void method3737(int i, byte i_31_, int i_32_) { - anInt7676++; - Class348_Sub35 class348_sub35 = new Class348_Sub35(i_32_); - class348_sub35.aLong4291 = i; - int i_33_ = -124 / ((i_31_ - 79) / 39); - aClass262_7752.method1999(class348_sub35, -20180); - } - - final void method3738(int i, int i_34_) { - if (i != -15039) aClass258Array7828 = null; - if (i_34_ != anInt7876) { - OpenGL.glActiveTexture(33984 + i_34_); - anInt7876 = i_34_; - } - anInt7526++; - } - - final Interface2 method3739(int i, Buffer buffer, boolean bool, int i_35_, int i_36_) { - try { - if (i != 8448) this.aClass64_Sub3_7844 = null; - anInt7605++; - if (aBoolean7873 && (!bool || aBoolean7869)) return new Class135_Sub1(this, i_35_, buffer, i_36_, bool); - return new Class119_Sub1(this, i_35_, buffer); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.OG(" + i + ',' + (buffer != null ? "{...}" : "null") + ',' + bool + ',' + i_35_ + ',' + i_36_ + ')')); - } - } - - private final void method3740(int i) { - if (anInt7865 != 2) { - anInt7865 = 2; - method3730((byte) 125); - method3754((byte) 90); - anInt7765 &= ~0x7; - } - if (i != -14388) this.anInt7735 = -85; - anInt7678++; - } - - final boolean method3644() { - anInt7556++; - return true; - } - - final Class258_Sub2 method3741(int i) { - anInt7581++; - if (i != 444720536) this.aFloat7823 = 0.28610376F; - if (aClass299_Sub1_7769 != null) return aClass299_Sub1_7769.method2256((byte) -121); - return null; - } - - final void HA(int i, int i_37_, int i_38_, int i_39_, int[] is) { - try { - anInt7681++; - float f = (((float) i_38_ * (this.aClass101_Sub3_7760.aFloat5784)) + ((float) i_37_ * (this.aClass101_Sub3_7760.aFloat5754) + (this.aClass101_Sub3_7760.aFloat5756) * (float) i) + (this.aClass101_Sub3_7760.aFloat5751)); - if ((float) this.anInt7826 <= f && (float) anInt7814 >= f) { - int i_40_ = (int) ((this.aClass101_Sub3_7760.aFloat5747 + ((this.aClass101_Sub3_7760.aFloat5750) * (float) i_37_ + ((float) i * (this.aClass101_Sub3_7760.aFloat5770)) + (this.aClass101_Sub3_7760.aFloat5781) * (float) i_38_)) * (float) this.anInt7771 / (float) i_39_); - int i_41_ = (int) ((float) this.anInt7794 * ((this.aClass101_Sub3_7760.aFloat5772) + ((this.aClass101_Sub3_7760.aFloat5761) * (float) i + ((float) i_37_ * (this.aClass101_Sub3_7760.aFloat5769)) + ((float) i_38_ * (this.aClass101_Sub3_7760.aFloat5762)))) / (float) i_39_); - if ((float) i_40_ >= this.aFloat7872 && this.aFloat7835 >= (float) i_40_ && this.aFloat7836 <= (float) i_41_ && this.aFloat7830 >= (float) i_41_) { - is[2] = (int) f; - is[1] = (int) (-this.aFloat7836 + (float) i_41_); - is[0] = (int) (-this.aFloat7872 + (float) i_40_); - } else is[0] = is[1] = is[2] = -1; - } else is[0] = is[1] = is[2] = -1; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.HA(" + i + ',' + i_37_ + ',' + i_38_ + ',' + i_39_ + ',' + (is != null ? "{...}" : "null") + ')')); - } - } - - final void EA(int i, int i_42_, int i_43_, int i_44_) { - anInt7532++; - if (!this.aBoolean7846) throw new RuntimeException(""); - this.anInt7788 = i; - this.anInt7806 = i_42_; - this.anInt7848 = i_43_; - this.anInt7809 = i_44_; - if (aBoolean7859) { - aClass100_7707.aClass286_Sub1_1586.method2141(false); - aClass100_7707.aClass286_Sub1_1586.method2143(34336); - } - } - - private final void method3742(int i) { - anInt7638++; - if (anInt7865 != 3) { - anInt7865 = 3; - method3747((byte) -63); - method3754((byte) 89); - anInt7765 &= ~0x7; - } - if (i != 3) anInt7799 = -50; - } - - static final void method3743(byte i, Class348_Sub42_Sub12 class348_sub42_sub12) { - do { - try { - anInt7686++; - if (i != 6) aClass351_7715 = null; - if (class348_sub42_sub12 != null) { - Class348_Sub40_Sub4.aClass262_9111.method1999(class348_sub42_sub12, -20180); - Class73.anInt4776++; - Object object = null; - Class348_Sub42_Sub13 class348_sub42_sub13; - if ((class348_sub42_sub12.aBoolean9611) || "".equals(class348_sub42_sub12.aString9601)) { - class348_sub42_sub13 = new Class348_Sub42_Sub13(class348_sub42_sub12.aString9601); - Class8.anInt166++; - } else { - long l = (class348_sub42_sub12.aLong9600); - for (class348_sub42_sub13 = ((Class348_Sub42_Sub13) Class348_Sub42_Sub12.aClass356_9603.method3480(l, -6008)); class348_sub42_sub13 != null; class348_sub42_sub13 = ((Class348_Sub42_Sub13) Class348_Sub42_Sub12.aClass356_9603.method3476(true))) { - if (class348_sub42_sub13.aString9617.equals(class348_sub42_sub12.aString9601)) break; - } - if (class348_sub42_sub13 == null) { - class348_sub42_sub13 = ((Class348_Sub42_Sub13) Class259.aClass60_3301.method583(l, i ^ 0x3a)); - if (class348_sub42_sub13 != null && !(class348_sub42_sub13.aString9617.equals(class348_sub42_sub12.aString9601))) class348_sub42_sub13 = null; - if (class348_sub42_sub13 == null) class348_sub42_sub13 = (new Class348_Sub42_Sub13(class348_sub42_sub12.aString9601)); - Class348_Sub42_Sub12.aClass356_9603.method3483((byte) 71, l, class348_sub42_sub13); - Class8.anInt166++; - } - } - if (!class348_sub42_sub13.method3233(class348_sub42_sub12, -21)) break; - Class242.method1868((byte) -39, class348_sub42_sub13); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.VC(" + i + ',' + ((class348_sub42_sub12 != null) ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - final boolean method3655() { - anInt7703++; - return true; - } - - final void method3744(float f, int i, float f_45_) { - if (i != 770) this.aFloat7792 = 0.31055084F; - anInt7571++; - aFloat7786 = f; - aFloat7857 = f_45_; - method3803(16711680); - } - - private final void method3745(byte i) { - anInt7680++; - if (aCanvas7575 != null) { - Dimension dimension = aCanvas7575.getSize(); - anInt7645 = dimension.width; - anInt7523 = dimension.height; - } else anInt7645 = anInt7523 = 0; - if (i > 61) { - if (anInterface11_7740 == null) { - this.anInt7688 = anInt7645; - this.anInt7641 = anInt7523; - method3809(true); - } - method3755(-32); - la(); - } - } - - final void method3746(boolean bool, int i, boolean bool_46_, int i_47_) { - anInt7631++; - if (anInt7796 != i || aBoolean7859 == !this.aBoolean7846) { - Class258_Sub3 class258_sub3 = null; - int i_48_ = 0; - byte i_49_ = 0; - int i_50_ = 0; - byte i_51_ = !this.aBoolean7846 ? (byte) 0 : (byte) 3; - if (i >= 0) { - class258_sub3 = aClass354_7723.method3467(i, 256); - Class12 class12 = this.aD4579.method3(i, -6662); - if (class12.aByte198 != 0 || class12.aByte211 != 0) { - int i_52_ = class12.aBoolean199 ? 64 : 128; - int i_53_ = i_52_ * 50; - method3799(((float) (this.anInt7735 % i_53_ * class12.aByte211) / (float) i_53_), 0.0F, (float) (class12.aByte198 * (this.anInt7735 % i_53_)) / (float) i_53_, (byte) 126); - } else method3767(-21974); - if (!this.aBoolean7846) { - i_51_ = class12.aByte213; - i_50_ = class12.anInt206; - i_49_ = class12.aByte202; - } - i_48_ = class12.anInt203; - } else method3767(-21974); - aClass100_7707.method884(i_49_, bool, i_51_, i_50_, (byte) 12, bool_46_); - if (!aClass100_7707.method885(i_48_, (byte) -124, class258_sub3)) { - method3771((byte) -86, class258_sub3); - method3761(0, i_48_); - } - aBoolean7859 = this.aBoolean7846; - anInt7796 = i; - } - if (i_47_ <= 111) KA(59, -107, -128, -14); - anInt7765 &= ~0x7; - } - - private final void method3747(byte i) { - anInt7597++; - float f = ((float) -this.anInt7853 * aFloat7851 / (float) this.anInt7771); - float f_54_ = (aFloat7851 * (float) -this.anInt7810 / (float) this.anInt7794); - float f_55_ = (aFloat7851 * (float) (-this.anInt7853 + this.anInt7688) / (float) this.anInt7771); - float f_56_ = (aFloat7851 * (float) (this.anInt7641 - this.anInt7810) / (float) this.anInt7794); - OpenGL.glMatrixMode(5889); - OpenGL.glLoadIdentity(); - if (f != f_55_ && f_54_ != f_56_) OpenGL.glOrtho(f, f_55_, -f_56_, -f_54_, this.anInt7826, anInt7814); - OpenGL.glMatrixMode(5888); - if (i != -63) this.anInt7795 = 67; - } - - final boolean method3627() { - anInt7542++; - return aClass348_Sub5_Sub1_7721 != null && (this.anInt7713 <= 1 || aBoolean7822); - } - - final void method3748(int i, boolean bool) { - anInt7710++; - if (aBoolean7759 != bool) { - aBoolean7759 = bool; - method3795(-30199); - anInt7765 &= ~0x1f; - } - if (i != 0) method3773(-58, null); - } - - final void K(int[] is) { - try { - is[1] = anInt7773; - is[3] = anInt7787; - is[0] = anInt7868; - anInt7580++; - is[2] = anInt7855; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "qo.K(" + (is != null ? "{...}" : "null") + ')'); - } - } - - final void Q(int i, int i_57_, int i_58_, int i_59_, int i_60_, int i_61_, byte[] is, int i_62_, int i_63_) { - try { - anInt7540++; - float f; - float f_64_; - if (aClass258_Sub3_Sub1_7776 == null || i_58_ > aClass258_Sub3_Sub1_7776.anInt8547 || i_59_ > aClass258_Sub3_Sub1_7776.anInt8551) { - aClass258_Sub3_Sub1_7776 = Class371.method3583(false, is, 6406, i_59_, this, -45, 6406, i_58_); - aClass258_Sub3_Sub1_7776.method1965(false, false, 10243); - f = aClass258_Sub3_Sub1_7776.aFloat9938; - f_64_ = (aClass258_Sub3_Sub1_7776.aFloat9937); - } else { - aClass258_Sub3_Sub1_7776.method1970(0, 0, i_58_, false, 0, i_59_, 6406, 123, is, 0); - f = ((float) i_59_ * (aClass258_Sub3_Sub1_7776.aFloat9938) / (float) (aClass258_Sub3_Sub1_7776.anInt8551)); - f_64_ = ((float) i_58_ * (aClass258_Sub3_Sub1_7776.aFloat9937) / (float) (aClass258_Sub3_Sub1_7776.anInt8547)); - } - method3792(58); - method3771((byte) -117, aClass258_Sub3_Sub1_7776); - method3753(i_63_, 1); - OpenGL.glColor4ub((byte) (i_60_ >> 16), (byte) (i_60_ >> 8), (byte) i_60_, (byte) (i_60_ >> 24)); - method3808(i_61_, 120); - method3729(34165, (byte) 101, 34165); - method3762(34166, 768, (byte) -87, 0); - method3762(5890, 770, (byte) -87, 2); - method3775(false, 0, 770, 34166); - method3775(false, 2, 770, 5890); - float f_65_ = (float) i; - float f_66_ = (float) i_57_; - float f_67_ = (float) i_58_ + f_65_; - float f_68_ = (float) i_59_ + f_66_; - OpenGL.glBegin(7); - OpenGL.glTexCoord2f(0.0F, 0.0F); - OpenGL.glVertex2f(f_65_, f_66_); - OpenGL.glTexCoord2f(0.0F, f_64_); - OpenGL.glVertex2f(f_65_, f_68_); - OpenGL.glTexCoord2f(f, f_64_); - OpenGL.glVertex2f(f_67_, f_68_); - OpenGL.glTexCoord2f(f, 0.0F); - OpenGL.glVertex2f(f_67_, f_66_); - OpenGL.glEnd(); - method3762(5890, 768, (byte) -87, 0); - method3762(34166, 770, (byte) -87, 2); - method3775(false, 0, 770, 5890); - method3775(false, 2, 770, 34166); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.Q(" + i + ',' + i_57_ + ',' + i_58_ + ',' + i_59_ + ',' + i_60_ + ',' + i_61_ + ',' + (is != null ? "{...}" : "null") + ',' + i_62_ + ',' + i_63_ + ')')); - } - } - - final void method3684(Class98 class98) { - try { - aClass233_7711.method1651(this, (byte) -119, -1, class98); - anInt7569++; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "qo.EF(" + (class98 != null ? "{...}" : "null") + ')'); - } - } - - final void method3749(float f, float f_69_, float f_70_, byte i, float f_71_) { - InputStream_Sub2.aFloatArray84[2] = f_70_; - if (i <= 45) method3769(-35L, false); - anInt7576++; - InputStream_Sub2.aFloatArray84[0] = f_69_; - InputStream_Sub2.aFloatArray84[1] = f_71_; - InputStream_Sub2.aFloatArray84[3] = f; - OpenGL.glTexEnvfv(8960, 8705, InputStream_Sub2.aFloatArray84, 0); - } - - final void method3638(Class101 class101) { - do { - try { - anInt7549++; - this.aClass101_Sub3_7760.method898(class101); - this.aClass101_Sub3_7766.method898(this.aClass101_Sub3_7760); - this.aClass101_Sub3_7766.method942(3128); - this.aClass101_Sub3_7767.method946(this.aClass101_Sub3_7766, -7929); - if (anInt7865 == 1) break; - method3754((byte) 89); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "qo.DE(" + (class101 != null ? "{...}" : "null") + ')'); - } - break; - } while (false); - } - - final void method3750(int i, Interface2 interface2) { - try { - if (i <= 39) this.anInt7782 = 120; - if (interface2 != anInterface2_7852) { - if (aBoolean7873) OpenGL.glBindBufferARB(34962, interface2.method10(true)); - anInterface2_7852 = interface2; - } - anInt7552++; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.D(" + i + ',' + (interface2 != null ? "{...}" : "null") + ')')); - } - } - - final void method3676(int i, int i_72_, int i_73_, int i_74_, int i_75_, int i_76_, int i_77_, int i_78_, int i_79_, int i_80_, int i_81_, int i_82_, int i_83_) { - method3778((byte) -123); - anInt7567++; - method3753(i_83_, 1); - OpenGL.glBegin(4); - OpenGL.glColor4ub((byte) (i_80_ >> 16), (byte) (i_80_ >> 8), (byte) i_80_, (byte) (i_80_ >> 24)); - OpenGL.glVertex3f((float) i + 0.35F, (float) i_72_ + 0.35F, (float) i_73_); - OpenGL.glColor4ub((byte) (i_81_ >> 16), (byte) (i_81_ >> 8), (byte) i_81_, (byte) (i_81_ >> 24)); - OpenGL.glVertex3f((float) i_74_ + 0.35F, (float) i_75_ + 0.35F, (float) i_76_); - OpenGL.glColor4ub((byte) (i_82_ >> 16), (byte) (i_82_ >> 8), (byte) i_82_, (byte) (i_82_ >> 24)); - OpenGL.glVertex3f(0.35F + (float) i_77_, (float) i_78_ + 0.35F, (float) i_79_); - OpenGL.glEnd(); - } - - final void method3672() { - anInt7702++; - if (this.aBoolean7820) { - if (anInterface11_7740 != aClass206_7739) throw new RuntimeException(); - aClass206_7739.method1500(2983, 0); - aClass206_7739.method1500(2983, 8); - method3770(-422613672, aClass206_7739); - } else { - if (!aBoolean7866) throw new RuntimeException(""); - aClass105_Sub2_7744.method979(0, 0, this.anInt7688, this.anInt7641, 0, 0); - anOpenGL7664.setSurface(aLong7636); - } - this.anInt7688 = anInt7645; - aClass105_Sub2_7744 = null; - this.anInt7641 = anInt7523; - method3755(-32); - method3809(true); - la(); - } - - final void method3751(Interface11 interface11, int i) { - try { - anInt7548++; - if (anInt7742 >= 3) throw new RuntimeException(); - int i_84_ = 67 % ((-4 - i) / 46); - if (anInt7742 >= 0) anInterface11Array7737[anInt7742].method50(-32502); - anInterface11_7740 = anInterface11Array7737[++anInt7742] = interface11; - anInterface11_7740.method47(-11421); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.NG(" + (interface11 != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - final void method3752(int i, boolean bool) { - if (!bool != !aBoolean7763) { - if (!bool) OpenGL.glDisable(2929); - else OpenGL.glEnable(2929); - aBoolean7763 = bool; - anInt7765 &= ~0x1f; - } - if (i <= 106) method3765((byte) 118, 75); - anInt7726++; - } - - final Class324 method3686(Class143 class143, Class207[] class207s, boolean bool) { - try { - anInt7574++; - return new Class324_Sub5(this, class143, class207s, bool); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.JE(" + (class143 != null ? "{...}" : "null") + ',' + (class207s != null ? "{...}" : "null") + ',' + bool + ')')); - } - } - - final void aa(int i, int i_85_, int i_86_, int i_87_, int i_88_, int i_89_) { - anInt7601++; - float f = (float) i + 0.35F; - float f_90_ = (float) i_85_ + 0.35F; - float f_91_ = (float) i_86_ + f; - method3778((byte) -127); - float f_92_ = f_90_ + (float) i_87_; - method3753(i_89_, 1); - OpenGL.glColor4ub((byte) (i_88_ >> 16), (byte) (i_88_ >> 8), (byte) i_88_, (byte) (i_88_ >> 24)); - if (aBoolean7843) OpenGL.glDisable(32925); - OpenGL.glBegin(7); - OpenGL.glVertex2f(f, f_90_); - OpenGL.glVertex2f(f, f_92_); - OpenGL.glVertex2f(f_91_, f_92_); - OpenGL.glVertex2f(f_91_, f_90_); - OpenGL.glEnd(); - if (aBoolean7843) OpenGL.glEnable(32925); - } - - final void ZA(int i, float f, float f_93_, float f_94_, float f_95_, float f_96_) { - anInt7633++; - boolean bool = i != anInt7808; - if (bool || this.aFloat7832 != f || f_93_ != this.aFloat7871) { - this.aFloat7832 = f; - anInt7808 = i; - this.aFloat7871 = f_93_; - if (bool) { - this.aFloat7823 = (float) (anInt7808 & 0xff) / 255.0F; - this.aFloat7781 = (float) (0xff0000 & anInt7808) / 1.671168E7F; - this.aFloat7816 = (float) (0xff00 & anInt7808) / 65280.0F; - method3787(-93); - } - method3779(29890); - } - if (f_94_ != aFloatArray7850[0] || aFloatArray7850[1] != f_95_ || aFloatArray7850[2] != f_96_) { - aFloatArray7850[2] = f_96_; - aFloatArray7850[1] = f_95_; - aFloatArray7850[0] = f_94_; - aFloatArray7877[0] = -f_94_; - aFloatArray7877[2] = -f_96_; - aFloatArray7877[1] = -f_95_; - float f_97_ = (float) (1.0 / Math.sqrt(f_96_ * f_96_ + (f_95_ * f_95_ + f_94_ * f_94_))); - this.aFloatArray7825[0] = f_97_ * f_94_; - this.aFloatArray7825[2] = f_96_ * f_97_; - this.aFloatArray7825[1] = f_97_ * f_95_; - aFloatArray7811[2] = -this.aFloatArray7825[2]; - aFloatArray7811[1] = -this.aFloatArray7825[1]; - aFloatArray7811[0] = -this.aFloatArray7825[0]; - method3796(16384); - this.anInt7777 = (int) (256.0F * f_96_ / f_95_); - this.anInt7772 = (int) (256.0F * f_94_ / f_95_); - } - } - - final int method3679(int i, int i_98_) { - anInt7634++; - return i | i_98_; - } - - final void GA(int i) { - anInt7592++; - method3753(0, 1); - OpenGL.glClearColor((float) (i & 0xff0000) / 1.671168E7F, (float) (0xff00 & i) / 65280.0F, (float) (0xff & i) / 255.0F, (float) (i >>> 24) / 255.0F); - OpenGL.glClear(16384); - } - - final void method3650(int i) { - anInt7646++; - } - - ha_Sub2(Canvas canvas, d var_d, int i) { - super(var_d); - aClass233_7711 = new Class233(); - aClass101_Sub3_7725 = new Class101_Sub3(); - this.aClass101_Sub3_7729 = new Class101_Sub3(); - this.anInt7731 = 3; - aBoolean7734 = false; - this.anInt7733 = 8; - aClass262_7732 = new Class262(); - anInterface11Array7737 = new Interface11[4]; - anInt7738 = -1; - anInt7742 = -1; - anInterface11Array7741 = new Interface11[4]; - anInterface11Array7743 = new Interface11[4]; - anInt7746 = -1; - new Class107(); - new Class356(16); - aClass262_7749 = new Class262(); - aClass262_7751 = new Class262(); - aClass262_7752 = new Class262(); - aClass262_7753 = new Class262(); - aClass262_7754 = new Class262(); - aClass262_7755 = new Class262(); - aClass262_7756 = new Class262(); - this.aClass101_Sub3_7760 = new Class101_Sub3(); - this.aClass101_Sub3_7766 = new Class101_Sub3(); - this.aClass101_Sub3_7767 = new Class101_Sub3(); - anInt7770 = 0; - aFloat7786 = 0.0F; - anInt7773 = 0; - this.aFloat7781 = 1.0F; - this.anInt7806 = -1; - this.anInt7771 = 512; - aFloat7800 = -1.0F; - anInt7808 = -1; - this.aFloat7816 = 1.0F; - anInt7804 = 8448; - aFloat7829 = -1.0F; - this.anInt7810 = 0; - this.aFloat7832 = -1.0F; - this.aFloatArray7825 = new float[4]; - this.anInt7809 = 0; - aFloatArray7811 = new float[4]; - this.aFloat7823 = 1.0F; - this.anInt7794 = 512; - anInt7814 = 3584; - anInt7855 = 0; - aFloat7857 = 1.0F; - anInt7787 = 0; - aBoolean7859 = false; - aFloatArray7850 = new float[4]; - aFloat7851 = 1.0F; - this.anInt7826 = 50; - anInt7861 = 8448; - this.anInt7813 = 0; - this.anInt7856 = -1; - anInt7868 = 0; - aFloatArray7779 = new float[16]; - aBoolean7870 = true; - this.aFloat7871 = -1.0F; - aClass348_Sub1Array7858 = new Class348_Sub1[Class55.anInt984]; - this.anInt7853 = 0; - anInt7867 = 0; - this.aFloat7875 = 3584.0F; - this.aFloat7874 = 3584.0F; - this.anInt7848 = -1; - aFloatArray7877 = new float[4]; - this.anInt7782 = -1; - this.aClass348_Sub49_Sub1_7798 = new Class348_Sub49_Sub1(8192); - this.aByteArray7879 = new byte[16384]; - this.anIntArray7880 = new int[1]; - this.anIntArray7883 = new int[1]; - this.anIntArray7882 = new int[1]; - try { - aCanvas7575 = aCanvas7626 = canvas; - this.anInt7713 = i; - if (!Class348_Sub40_Sub19.method3098(-30282, "jaclib")) throw new RuntimeException(""); - if (!Class348_Sub40_Sub19.method3098(-30282, "jaggl")) throw new RuntimeException(""); - try { - anOpenGL7664 = new OpenGL(); - aLong7636 = aLong7553 = anOpenGL7664.init(canvas, 8, 8, 8, 24, 0, this.anInt7713); - if (aLong7553 == 0) throw new RuntimeException(""); - method3776(22544); - int i_99_ = method3774((byte) -62); - if (i_99_ != 0) throw new RuntimeException(""); - this.anInt7812 = this.aBoolean7775 ? 33639 : 5121; - if (aString7790.indexOf("radeon") != -1) { - int i_100_ = 0; - boolean bool = false; - boolean bool_101_ = false; - String[] strings = (Class348_Sub40_Sub23.method3113(' ', true, aString7790.replace('/', ' '))); - for (int i_102_ = 0; i_102_ < strings.length; i_102_++) { - String string = strings[i_102_]; - try { - if (string.length() > 0) { - if (string.charAt(0) == 'x' && string.length() >= 3 && (Class50_Sub3.method468(string.substring(1, 3), 111))) { - string = string.substring(1); - bool_101_ = true; - } - if (string.equals("hd")) bool = true; - else { - if (string.startsWith("hd")) { - bool = true; - string = string.substring(2); - } - if (string.length() >= 4 && (Class50_Sub3.method468(string.substring(0, 4), 47))) { - i_100_ = (Class348_Sub41.method3156(true, string.substring(0, 4))); - break; - } - } - } - } catch (Exception exception) { - /* empty */ - } - } - if (!bool_101_ && !bool) { - if (i_100_ >= 7000 && i_100_ <= 7999) aBoolean7873 = false; - if (i_100_ >= 7000 && i_100_ <= 9250) this.aBoolean7831 = false; - } - if (!bool || i_100_ < 4000) this.aBoolean7818 = false; - this.aBoolean7837 &= anOpenGL7664.a("GL_ARB_half_float_pixel"); - this.aBoolean7847 = true; - aBoolean7869 = aBoolean7873; - } - if (aString7845.indexOf("intel") != -1) this.aBoolean7820 = false; - aBoolean7774 = !aString7845.equals("s3 graphics"); - if (aBoolean7873) { - try { - int[] is = new int[1]; - OpenGL.glGenBuffersARB(1, is, 0); - } catch (Throwable throwable) { - throw new RuntimeException(""); - } - } - Class59_Sub2_Sub1.method566(false, true, (byte) -128); - aBoolean7734 = true; - aClass354_7723 = new Class354(this, this.aD4579); - method3786(false); - this.aClass188_7736 = new Class188(this); - aClass18_7720 = new Class18(this); - if (aClass18_7720.method280(1)) { - aClass348_Sub5_Sub1_7721 = new Class348_Sub5_Sub1(this); - if (!aClass348_Sub5_Sub1_7721.method2767((byte) 104)) { - aClass348_Sub5_Sub1_7721.method2763((byte) -124); - aClass348_Sub5_Sub1_7721 = null; - } - } - aClass100_7707 = new Class100(this); - method3791(25858); - method3745((byte) 123); - method3673(); - } catch (Throwable throwable) { - throwable.printStackTrace(); - method3652(); - throw new RuntimeException(""); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.(" + (canvas != null ? "{...}" : "null") + ',' + (var_d != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - final void method3753(int i, int i_103_) { - if (i_103_ != 1) this.aBoolean7837 = false; - if (i != anInt7764) { - boolean bool; - int i_104_; - boolean bool_105_; - if (i == 1) { - bool_105_ = true; - i_104_ = 1; - bool = true; - } else if (i == 2) { - bool_105_ = true; - i_104_ = 2; - bool = false; - } else if (i == 128) { - i_104_ = 3; - bool_105_ = true; - bool = true; - } else { - bool = false; - i_104_ = 0; - bool_105_ = true; - } - if (!aBoolean7758 != !bool_105_) { - OpenGL.glColorMask(bool_105_, bool_105_, bool_105_, true); - aBoolean7758 = bool_105_; - } - if (!bool != !aBoolean7761) { - if (!bool) OpenGL.glDisable(3008); - else OpenGL.glEnable(3008); - aBoolean7761 = bool; - } - if (anInt7762 != i_104_) { - if (i_104_ == 1) { - OpenGL.glEnable(3042); - OpenGL.glBlendFunc(770, 771); - } else if (i_104_ == 2) { - OpenGL.glEnable(3042); - OpenGL.glBlendFunc(1, 1); - } else if (i_104_ == 3) { - OpenGL.glEnable(3042); - OpenGL.glBlendFunc(774, 1); - } else OpenGL.glDisable(3042); - anInt7762 = i_104_; - } - anInt7764 = i; - anInt7765 &= ~0x1c; - } - anInt7591++; - } - - private final void method3754(byte i) { - anInt7689++; - if (i > 77) { - OpenGL.glLoadIdentity(); - OpenGL.glMultMatrixf(this.aClass101_Sub3_7766.method940(1), 0); - if (aBoolean7859) aClass100_7707.aClass286_Sub1_1586.method2141(false); - method3796(16384); - method3783(0); - } - } - - final void method3755(int i) { - if (anInt7865 != 0) { - anInt7765 &= ~0x1f; - anInt7865 = 0; - } - if (i == -32) anInt7708++; - } - - final void method3756(int i, int i_106_, int i_107_, int i_108_) { - if (i_108_ <= 32) aFloat7857 = -0.7407605F; - anInt7555++; - OpenGL.glDrawArrays(i_106_, i_107_, i); - } - - final void U(int i, int i_109_, int i_110_, int i_111_, int i_112_) { - method3778((byte) -119); - anInt7525++; - method3753(i_112_, 1); - float f = (float) i + 0.35F; - OpenGL.glColor4ub((byte) (i_111_ >> 16), (byte) (i_111_ >> 8), (byte) i_111_, (byte) (i_111_ >> 24)); - float f_113_ = (float) i_109_ + 0.35F; - OpenGL.glBegin(1); - OpenGL.glVertex2f(f, f_113_); - OpenGL.glVertex2f((float) i_110_ + f, f_113_); - OpenGL.glEnd(); - } - - final void method3696(int i) { - anInt7635++; - if (i < 128 || i > 1024) throw new IllegalArgumentException(); - this.anInt7712 = i; - aClass354_7723.method3463((byte) -110); - } - - final void xa(float f) { - if (this.aFloat7768 != f) { - this.aFloat7768 = f; - method3787(-105); - } - anInt7668++; - } - - final void method3757(int i, int i_114_) { - method3801(true, i, -104); - anInt7649++; - if (i_114_ > -43) method3768((byte) 85); - } - - final void method3758(boolean bool, Class101_Sub3 class101_sub3) { - try { - OpenGL.glPushMatrix(); - if (bool != false) method3650(51); - anInt7653++; - OpenGL.glMultMatrixf(class101_sub3.method940(1), 0); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.WC(" + bool + ',' + (class101_sub3 != null ? "{...}" : "null") + ')')); - } - } - - final Class105 method3683(int i, int i_115_, int i_116_, int i_117_, boolean bool) { - anInt7582++; - return new Class105_Sub2(this, i, i_115_, i_116_, i_117_); - } - - final void method3759(int i, int i_118_, int i_119_, Interface8 interface8, int i_120_) { - try { - anInt7619++; - int i_121_ = interface8.method34(-5711); - if (i_118_ >= -127) aClass100_7707 = null; - i_120_ *= method3785(i_121_, 4); - method3793(1, interface8); - OpenGL.glDrawElements(i_119_, i, i_121_, (interface8.method36((byte) 78) + (long) i_120_)); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.MA(" + i + ',' + i_118_ + ',' + i_119_ + ',' + (interface8 != null ? "{...}" : "null") + ',' + i_120_ + ')')); - } - } - - final synchronized void method3646(int i) { - anInt7699++; - int i_122_ = 0; - i &= 0x7fffffff; - while (!aClass262_7751.method2002((byte) 18)) { - Class348_Sub35 class348_sub35 = (Class348_Sub35) aClass262_7751.method1997(8); - Class328_Sub3.anIntArray6522[i_122_++] = (int) class348_sub35.aLong4291; - this.anInt7747 -= class348_sub35.anInt6976; - if (i_122_ == 1000) { - OpenGL.glDeleteBuffersARB(i_122_, Class328_Sub3.anIntArray6522, 0); - i_122_ = 0; - } - } - if (i_122_ > 0) { - OpenGL.glDeleteBuffersARB(i_122_, Class328_Sub3.anIntArray6522, 0); - i_122_ = 0; - } - while (!aClass262_7752.method2002((byte) 18)) { - Class348_Sub35 class348_sub35 = (Class348_Sub35) aClass262_7752.method1997(8); - Class328_Sub3.anIntArray6522[i_122_++] = (int) class348_sub35.aLong4291; - this.anInt7748 -= class348_sub35.anInt6976; - if (i_122_ == 1000) { - OpenGL.glDeleteTextures(i_122_, Class328_Sub3.anIntArray6522, 0); - i_122_ = 0; - } - } - if (i_122_ > 0) { - OpenGL.glDeleteTextures(i_122_, Class328_Sub3.anIntArray6522, 0); - i_122_ = 0; - } - while (!aClass262_7753.method2002((byte) 18)) { - Class348_Sub35 class348_sub35 = (Class348_Sub35) aClass262_7753.method1997(8); - Class328_Sub3.anIntArray6522[i_122_++] = class348_sub35.anInt6976; - if (i_122_ == 1000) { - OpenGL.glDeleteFramebuffersEXT(i_122_, Class328_Sub3.anIntArray6522, 0); - i_122_ = 0; - } - } - if (i_122_ > 0) { - OpenGL.glDeleteFramebuffersEXT(i_122_, Class328_Sub3.anIntArray6522, 0); - i_122_ = 0; - } - while (!aClass262_7754.method2002((byte) 18)) { - Class348_Sub35 class348_sub35 = (Class348_Sub35) aClass262_7754.method1997(8); - Class328_Sub3.anIntArray6522[i_122_++] = (int) class348_sub35.aLong4291; - anInt7750 -= class348_sub35.anInt6976; - if (i_122_ == 1000) { - OpenGL.glDeleteRenderbuffersEXT(i_122_, Class328_Sub3.anIntArray6522, 0); - i_122_ = 0; - } - } - if (i_122_ > 0) { - OpenGL.glDeleteRenderbuffersEXT(i_122_, Class328_Sub3.anIntArray6522, 0); - boolean bool = false; - } - while (!aClass262_7749.method2002((byte) 18)) { - Class348_Sub35 class348_sub35 = (Class348_Sub35) aClass262_7749.method1997(8); - OpenGL.glDeleteLists((int) class348_sub35.aLong4291, class348_sub35.anInt6976); - } - while (!aClass262_7755.method2002((byte) 18)) { - Class348 class348 = aClass262_7755.method1997(8); - OpenGL.glDeleteProgramARB((int) class348.aLong4291); - } - while (!aClass262_7756.method2002((byte) 18)) { - Class348 class348 = aClass262_7756.method1997(8); - OpenGL.glDeleteObjectARB(class348.aLong4291); - } - while (!aClass262_7749.method2002((byte) 18)) { - Class348_Sub35 class348_sub35 = (Class348_Sub35) aClass262_7749.method1997(8); - OpenGL.glDeleteLists((int) class348_sub35.aLong4291, class348_sub35.anInt6976); - } - aClass354_7723.method3469(8218); - if (E() > 100663296 && 60000L + aLong7757 < Class62.method599(-96)) { - System.gc(); - aLong7757 = Class62.method599(-91); - } - this.anInt7735 = i; - } - - final void method3709(int i, int i_123_, int i_124_, int i_125_, int i_126_, int i_127_) { - method3778((byte) -124); - anInt7611++; - method3753(i_127_, 1); - float f = (float) i_124_ - (float) i; - float f_128_ = (float) -i_123_ + (float) i_125_; - if (f == 0.0F && f_128_ == 0.0F) f = 1.0F; - else { - float f_129_ = (float) (1.0 / Math.sqrt(f * f + f_128_ * f_128_)); - f *= f_129_; - f_128_ *= f_129_; - } - OpenGL.glColor4ub((byte) (i_126_ >> 16), (byte) (i_126_ >> 8), (byte) i_126_, (byte) (i_126_ >> 24)); - OpenGL.glBegin(1); - OpenGL.glVertex2f(0.35F + (float) i, (float) i_123_ + 0.35F); - OpenGL.glVertex2f(0.35F + (f + (float) i_124_), 0.35F + (f_128_ + (float) i_125_)); - OpenGL.glEnd(); - } - - final void b(int i, int i_130_, int i_131_, int i_132_, double d) { - anInt7535++; - } - - final void method3760(int i) { - if (i != 1) method3759(65, 117, -33, null, -33); - anInt7643++; - if (anInt7765 != 16) { - method3742(3); - method3807(true, 2); - method3752(122, true); - method3748(0, true); - method3753(1, i); - anInt7765 = 16; - } - } - - final void method3761(int i, int i_133_) { - if (i != 0) aClass262_7751 = null; - anInt7654++; - if (i_133_ == 1) method3729(7681, (byte) 114, 7681); - else if (i_133_ == 0) method3729(8448, (byte) 107, 8448); - else if (i_133_ != 2) { - if (i_133_ != 3) { - if (i_133_ == 4) method3729(34023, (byte) 123, 34023); - } else method3729(260, (byte) 97, 8448); - } else method3729(34165, (byte) 126, 7681); - } - - final boolean method3695() { - anInt7547++; - return true; - } - - final void method3762(int i, int i_134_, byte i_135_, int i_136_) { - anInt7671++; - OpenGL.glTexEnvi(8960, 34176 - -i_136_, i); - OpenGL.glTexEnvi(8960, i_136_ + 34192, i_134_); - if (i_135_ != -87) r(48, 67, -20, 106, -89, 67, 104); - } - - private final void method3763(int i) { - anInt7516++; - if (anInt7865 != 1) { - OpenGL.glMatrixMode(5889); - OpenGL.glLoadIdentity(); - if (this.anInt7688 > 0 && this.anInt7641 > 0) OpenGL.glOrtho(0.0, this.anInt7688, this.anInt7641, 0.0, -1.0, 1.0); - OpenGL.glMatrixMode(5888); - OpenGL.glLoadIdentity(); - anInt7865 = 1; - anInt7765 &= ~0x18; - } - if (i != 5888) method3763(-122); - } - - final void method3764(int i, Interface11 interface11) { - try { - anInt7586++; - if (anInt7742 < 0 || anInterface11Array7737[anInt7742] != interface11) throw new RuntimeException(); - anInterface11Array7737[anInt7742--] = null; - if (i != -17083) aClass105_Sub2_7744 = null; - interface11.method50(-32502); - if (anInt7742 < 0) anInterface11_7740 = null; - else { - anInterface11_7740 = anInterface11Array7737[anInt7742]; - anInterface11_7740.method47(-11421); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.FA(" + i + ',' + (interface11 != null ? "{...}" : "null") + ')')); - } - } - - final synchronized void method3765(byte i, int i_137_) { - anInt7566++; - Class348 class348 = new Class348(); - class348.aLong4291 = i_137_; - if (i <= 64) method3685(null, -38); - aClass262_7755.method1999(class348, -20180); - } - - final void method3766(byte i, Class101_Sub3 class101_sub3) { - do { - try { - anInt7623++; - OpenGL.glLoadMatrixf(class101_sub3.method940(i + -54), 0); - if (i == 55) break; - method3782(null, -47); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.GC(" + i + ',' + (class101_sub3 != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - final void method3700(float f, float f_138_, float f_139_) { - Class348_Sub40_Sub13.aFloat9204 = f_139_; - Class75_Sub1.aFloat5654 = f; - anInt7685++; - Class239_Sub26.aFloat6120 = f_138_; - } - - final void method3701(Canvas canvas) { - do { - try { - anInt7674++; - if (canvas == aCanvas7626) throw new RuntimeException(); - if (!aHashtable7577.containsKey(canvas)) break; - Long var_long = (Long) aHashtable7577.get(canvas); - anOpenGL7664.releaseSurface(canvas, var_long.longValue()); - aHashtable7577.remove(canvas); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "qo.AG(" + (canvas != null ? "{...}" : "null") + ')'); - } - break; - } while (false); - } - - private final void method3767(int i) { - if (i != -21974) aClass105_Sub2_7744 = null; - anInt7599++; - if (aBoolean7860) { - OpenGL.glMatrixMode(5890); - OpenGL.glLoadIdentity(); - OpenGL.glMatrixMode(5888); - aBoolean7860 = false; - } - } - - final boolean method3670() { - anInt7557++; - return true; - } - - final void za(int i, int i_140_, int i_141_, int i_142_, int i_143_) { - if (i_141_ < 0) i_141_ = -i_141_; - anInt7728++; - if (anInt7868 <= i + i_141_ && anInt7855 >= -i_141_ + i && anInt7773 <= i_140_ + i_141_ && i_140_ + -i_141_ <= anInt7787) { - method3778((byte) -117); - method3753(i_143_, 1); - OpenGL.glColor4ub((byte) (i_142_ >> 16), (byte) (i_142_ >> 8), (byte) i_142_, (byte) (i_142_ >> 24)); - float f = (float) i + 0.35F; - float f_144_ = (float) i_140_ + 0.35F; - int i_145_ = i_141_ << 1; - if (aFloat7829 > (float) i_145_) { - OpenGL.glBegin(7); - OpenGL.glVertex2f(1.0F + f, 1.0F + f_144_); - OpenGL.glVertex2f(f + 1.0F, -1.0F + f_144_); - OpenGL.glVertex2f(-1.0F + f, f_144_ - 1.0F); - OpenGL.glVertex2f(-1.0F + f, f_144_ + 1.0F); - OpenGL.glEnd(); - } else if (aFloat7800 >= (float) i_145_) { - OpenGL.glEnable(2832); - OpenGL.glPointSize((float) i_145_); - OpenGL.glBegin(0); - OpenGL.glVertex2f(f, f_144_); - OpenGL.glEnd(); - OpenGL.glDisable(2832); - } else { - OpenGL.glBegin(6); - OpenGL.glVertex2f(f, f_144_); - int i_146_ = 262144 / (6 * i_141_); - if (i_146_ > 64) { - if (i_146_ > 512) i_146_ = 512; - } else i_146_ = 64; - i_146_ = Class348_Sub40_Sub1.method3051(i_146_, 4096); - OpenGL.glVertex2f((float) i_141_ + f, f_144_); - for (int i_147_ = 16384 + -i_146_; i_147_ > 0; i_147_ -= i_146_) - OpenGL.glVertex2f((float) i_141_ * (Class348_Sub23.aFloatArray6867[i_147_]) + f, (float) i_141_ * (Class348_Sub23.aFloatArray6865[i_147_]) + f_144_); - OpenGL.glVertex2f(f + (float) i_141_, f_144_); - OpenGL.glEnd(); - } - } - } - - final void method3659(int i) { - method3776(22544); - anInt7541++; - } - - private final void method3768(byte i) { - anInt7519++; - if (i >= -69) this.aClass64_Sub3_7802 = null; - if (!aBoolean7784 || aBoolean7805) OpenGL.glDisable(2896); - else OpenGL.glEnable(2896); - } - - final void method3652() { - for (Class348 class348 = aClass262_7732.method1995(4); class348 != null; class348 = aClass262_7732.method1990((byte) 55)) - ((za_Sub1) class348).method3440(-82); - anInt7563++; - if (aClass18_7720 != null) aClass18_7720.method279((byte) -126); - if (anOpenGL7664 != null) { - method3797(0); - Enumeration enumeration = aHashtable7577.keys(); - while (enumeration.hasMoreElements()) { - Canvas canvas = (Canvas) enumeration.nextElement(); - Long var_long = (Long) aHashtable7577.get(canvas); - anOpenGL7664.releaseSurface(canvas, var_long.longValue()); - } - anOpenGL7664.release(); - anOpenGL7664 = null; - } - if (aBoolean7734) { - Class286_Sub8.method2173(true, 12, false); - aBoolean7734 = false; - } - } - - final void method3673() { - anInt7568++; - if (aBoolean7774 && this.anInt7688 > 0 && this.anInt7641 > 0) { - int i = anInt7868; - int i_148_ = anInt7855; - int i_149_ = anInt7773; - int i_150_ = anInt7787; - la(); - OpenGL.glReadBuffer(1028); - OpenGL.glDrawBuffer(1029); - method3755(-32); - method3807(false, 2); - method3728(false, 86); - method3752(112, false); - method3748(0, false); - method3771((byte) -91, null); - method3757(-2, -88); - method3761(0, 1); - method3753(0, 1); - OpenGL.glMatrixMode(5889); - OpenGL.glLoadIdentity(); - OpenGL.glOrtho(0.0, 1.0, 0.0, 1.0, -1.0, 1.0); - OpenGL.glMatrixMode(5888); - OpenGL.glLoadIdentity(); - OpenGL.glRasterPos2i(0, 0); - OpenGL.glCopyPixels(0, 0, this.anInt7688, this.anInt7641, 6144); - OpenGL.glFlush(); - OpenGL.glReadBuffer(1029); - OpenGL.glDrawBuffer(1029); - KA(i, i_149_, i_148_, i_150_); - } - } - - final Class299 method3697(int i, int i_151_, int i_152_, int i_153_, int i_154_, int i_155_) { - anInt7515++; - if (this.aBoolean7863) return new Class299_Sub1_Sub1(this, i, i_151_, i_152_, i_153_, i_154_, i_155_); - return null; - } - - final synchronized void method3769(long l, boolean bool) { - try { - if (bool != false) aClass262_7751 = null; - anInt7533++; - Class348 class348 = new Class348(); - class348.aLong4291 = l; - aClass262_7756.method1999(class348, -20180); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "qo.CD(" + l + ',' + bool + ')'); - } - } - - final void method3770(int i, Interface11 interface11) { - do { - try { - anInt7598++; - if (this.aBoolean7815) { - method3805(8387, interface11); - method3764(-17083, interface11); - } else { - if (anInt7746 < 0 || anInterface11Array7743[anInt7746] != interface11) throw new RuntimeException(); - anInterface11Array7743[anInt7746--] = null; - interface11.method48(46); - if (anInt7746 < 0) anInterface11_7745 = anInterface11_7740 = null; - else { - anInterface11_7745 = anInterface11_7740 = anInterface11Array7743[anInt7746]; - anInterface11_7745.method46(-11762); - } - } - if (i == -422613672) break; - this.anInt7788 = 30; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.FD(" + i + ',' + (interface11 != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - final void method3771(byte i, Class258 class258) { - try { - anInt7673++; - if (i > -74) A(38, null, 4, -3); - Class258 class258_156_ = aClass258Array7828[anInt7876]; - if (class258_156_ != class258) { - if (class258 == null) OpenGL.glDisable(class258_156_.anInt4849); - else { - if (class258_156_ != null) { - if (class258_156_.anInt4849 != class258.anInt4849) { - OpenGL.glDisable(class258_156_.anInt4849); - OpenGL.glEnable(class258.anInt4849); - } - } else OpenGL.glEnable(class258.anInt4849); - OpenGL.glBindTexture(class258.anInt4849, class258.method1953(41)); - } - aClass258Array7828[anInt7876] = class258; - } - anInt7765 &= ~0x1; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.VA(" + i + ',' + (class258 != null ? "{...}" : "null") + ')')); - } - } - - final void method3710() { - if (aClass348_Sub5_Sub1_7721 != null && aClass348_Sub5_Sub1_7721.method2760((byte) 1)) { - aClass18_7720.method278(aClass348_Sub5_Sub1_7721, true); - aClass354_7723.method3463((byte) -110); - } - anInt7612++; - } - - final void method3674(int i, int i_157_, int i_158_, int i_159_, int i_160_, int i_161_, int i_162_, int i_163_, int i_164_) { - anInt7656++; - if (i_158_ != i || i_157_ != i_159_) { - method3778((byte) -119); - method3753(i_161_, 1); - float f = (float) i_158_ - (float) i; - float f_165_ = (float) i_159_ - (float) i_157_; - float f_166_ = (float) (1.0 / Math.sqrt(f_165_ * f_165_ + f * f)); - f *= f_166_; - f_165_ *= f_166_; - OpenGL.glColor4ub((byte) (i_160_ >> 16), (byte) (i_160_ >> 8), (byte) i_160_, (byte) (i_160_ >> 24)); - i_164_ %= i_162_ + i_163_; - float f_167_ = (float) i_162_ * f; - float f_168_ = f_165_ * (float) i_162_; - float f_169_ = 0.0F; - float f_170_ = 0.0F; - float f_171_ = f_167_; - float f_172_ = f_168_; - if (i_164_ <= i_162_) { - f_172_ = (float) (-i_164_ + i_162_) * f_165_; - f_171_ = f * (float) (-i_164_ + i_162_); - } else { - f_170_ = (float) (i_163_ + i_162_ - i_164_) * f_165_; - f_169_ = (float) (i_163_ + i_162_ - i_164_) * f; - } - float f_173_ = f_169_ + (0.35F + (float) i); - float f_174_ = 0.35F + (float) i_157_ + f_170_; - float f_175_ = f * (float) i_163_; - float f_176_ = f_165_ * (float) i_163_; - for (; ; ) { - if (i >= i_158_) { - if ((float) i_158_ + 0.35F > f_173_) break; - if (f_173_ + f_171_ < (float) i_158_) f_171_ = -f_173_ + (float) i_158_; - } else { - if (f_173_ > (float) i_158_ + 0.35F) break; - if (f_173_ + f_171_ > (float) i_158_) f_171_ = -f_173_ + (float) i_158_; - } - if (i_157_ >= i_159_) { - if ((float) i_159_ + 0.35F > f_174_) break; - if (f_172_ + f_174_ < (float) i_159_) f_172_ = (float) i_159_ - f_174_; - } else { - if ((float) i_159_ + 0.35F < f_174_) break; - if (f_172_ + f_174_ > (float) i_159_) f_172_ = -f_174_ + (float) i_159_; - } - OpenGL.glBegin(1); - OpenGL.glVertex2f(f_173_, f_174_); - OpenGL.glVertex2f(f_173_ + f_171_, f_172_ + f_174_); - OpenGL.glEnd(); - f_174_ += f_172_ + f_176_; - f_173_ += f_175_ + f_171_; - f_171_ = f_167_; - f_172_ = f_168_; - } - } - } - - final void method3643(Canvas canvas, int i, int i_177_) { - do { - try { - anInt7544++; - if (aCanvas7626 == canvas) throw new RuntimeException(); - if (aHashtable7577.containsKey(canvas)) break; - if (!canvas.isShowing()) throw new RuntimeException(); - canvas.setIgnoreRepaint(true); - long l = anOpenGL7664.prepareSurface(canvas); - if (l == -1L) throw new RuntimeException(); - aHashtable7577.put(canvas, new Long(l)); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.VF(" + (canvas != null ? "{...}" : "null") + ',' + i + ',' + i_177_ + ')')); - } - break; - } while (false); - } - - private final void method3772(byte i) { - this.aFloat7835 = (float) (-this.anInt7853 + anInt7855); - anInt7709++; - this.aFloat7872 = (float) (-this.anInt7853 + anInt7868); - this.aFloat7836 = (float) (-this.anInt7810 + anInt7773); - if (i < 123) X(-79); - this.aFloat7830 = (float) (anInt7787 + -this.anInt7810); - } - - final za method3702(int i) { - anInt7538++; - za_Sub1 var_za_Sub1 = new za_Sub1(i); - aClass262_7732.method1999(var_za_Sub1, -20180); - return var_za_Sub1; - } - - final s method3648(int i, int i_178_, int[][] is, int[][] is_179_, int i_180_, int i_181_, int i_182_) { - try { - anInt7600++; - return new s_Sub2(this, i_181_, i_182_, i, i_178_, is, is_179_, i_180_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.VE(" + i + ',' + i_178_ + ',' + (is != null ? "{...}" : "null") + ',' + (is_179_ != null ? "{...}" : "null") + ',' + i_180_ + ',' + i_181_ + ',' + i_182_ + ')')); - } - } - - final boolean method3682() { - anInt7705++; - return true; - } - - final void method3773(int i, Interface11 interface11) { - try { - anInt7617++; - if (i != -1) aString7845 = null; - if (this.aBoolean7815) { - method3782(interface11, 327685); - method3751(interface11, i ^ ~0x4f); - } else { - if (anInt7746 >= 3) throw new RuntimeException(); - if (anInt7746 >= 0) anInterface11Array7743[anInt7746].method48(-76); - anInterface11_7745 = anInterface11_7740 = anInterface11Array7743[++anInt7746] = interface11; - anInterface11_7745.method46(-11762); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.JB(" + i + ',' + (interface11 != null ? "{...}" : "null") + ')')); - } - } - - private final int method3774(byte i) { - anInt7518++; - int i_183_ = 0; - aString7845 = OpenGL.glGetString(7936).toLowerCase(); - aString7790 = OpenGL.glGetString(7937).toLowerCase(); - if (aString7845.indexOf("microsoft") != -1) i_183_ |= 0x1; - if (aString7845.indexOf("brian paul") != -1 || aString7845.indexOf("mesa") != -1) i_183_ |= 0x1; - String string = OpenGL.glGetString(7938); - String[] strings = Class348_Sub40_Sub23.method3113(' ', true, string.replace('.', ' ')); - if (strings.length >= 2) { - try { - int i_184_ = Class348_Sub41.method3156(true, strings[0]); - int i_185_ = Class348_Sub41.method3156(true, strings[1]); - anInt7789 = i_184_ * 10 - -i_185_; - } catch (NumberFormatException numberformatexception) { - i_183_ |= 0x4; - } - } else i_183_ |= 0x4; - if (anInt7789 < 12) i_183_ |= 0x2; - if (!anOpenGL7664.a("GL_ARB_multitexture")) i_183_ |= 0x8; - if (!anOpenGL7664.a("GL_ARB_texture_env_combine")) i_183_ |= 0x20; - if (i > -58) return 48; - int[] is = new int[1]; - OpenGL.glGetIntegerv(34018, is, 0); - this.anInt7795 = is[0]; - OpenGL.glGetIntegerv(34929, is, 0); - anInt7799 = is[0]; - OpenGL.glGetIntegerv(34930, is, 0); - anInt7819 = is[0]; - if (this.anInt7795 < 2 || anInt7799 < 2 || anInt7819 < 2) i_183_ |= 0x10; - this.aBoolean7775 = Stream.c(); - aBoolean7866 = anOpenGL7664.arePbuffersAvailable(); - aBoolean7873 = anOpenGL7664.a("GL_ARB_vertex_buffer_object"); - aBoolean7843 = anOpenGL7664.a("GL_ARB_multisample"); - this.aBoolean7841 = anOpenGL7664.a("GL_ARB_vertex_program"); - anOpenGL7664.a("GL_ARB_fragment_program"); - this.aBoolean7791 = anOpenGL7664.a("GL_ARB_vertex_shader"); - this.aBoolean7783 = anOpenGL7664.a("GL_ARB_fragment_shader"); - this.aBoolean7831 = anOpenGL7664.a("GL_EXT_texture3D"); - this.aBoolean7837 = anOpenGL7664.a("GL_ARB_texture_rectangle"); - this.aBoolean7863 = anOpenGL7664.a("GL_ARB_texture_cube_map"); - this.aBoolean7818 = anOpenGL7664.a("GL_ARB_texture_float"); - this.aBoolean7793 = false; - this.aBoolean7820 = anOpenGL7664.a("GL_EXT_framebuffer_object"); - this.aBoolean7815 = anOpenGL7664.a("GL_EXT_framebuffer_blit"); - this.aBoolean7807 = anOpenGL7664.a("GL_EXT_framebuffer_multisample"); - aBoolean7822 = this.aBoolean7807 & this.aBoolean7815; - OpenGL.glGetFloatv(2834, InputStream_Sub2.aFloatArray84, 0); - aFloat7829 = InputStream_Sub2.aFloatArray84[0]; - aFloat7800 = InputStream_Sub2.aFloatArray84[1]; - return i_183_; - } - - final void method3703(int i, int i_186_, int i_187_, int i_188_, int i_189_, int i_190_, aa var_aa, int i_191_, int i_192_, int i_193_, int i_194_, int i_195_) { - try { - anInt7618++; - if (i_187_ != i || i_188_ != i_186_) { - aa_Sub1 var_aa_Sub1 = (aa_Sub1) var_aa; - Class258_Sub3_Sub1 class258_sub3_sub1 = var_aa_Sub1.aClass258_Sub3_Sub1_5193; - method3792(90); - method3771((byte) -122, var_aa_Sub1.aClass258_Sub3_Sub1_5193); - method3753(i_190_, 1); - method3729(7681, (byte) -61, 8448); - method3762(34167, 768, (byte) -87, 0); - float f = (class258_sub3_sub1.aFloat9937 / (float) (class258_sub3_sub1.anInt9940)); - float f_196_ = (class258_sub3_sub1.aFloat9938 / (float) (class258_sub3_sub1.anInt9939)); - float f_197_ = (float) -i + (float) i_187_; - float f_198_ = (float) i_188_ - (float) i_186_; - float f_199_ = (float) (1.0 / Math.sqrt(f_197_ * f_197_ + f_198_ * f_198_)); - OpenGL.glColor4ub((byte) (i_189_ >> 16), (byte) (i_189_ >> 8), (byte) i_189_, (byte) (i_189_ >> 24)); - f_197_ *= f_199_; - f_198_ *= f_199_; - i_195_ %= i_194_ + i_193_; - float f_200_ = (float) i_193_ * f_197_; - float f_201_ = f_198_ * (float) i_193_; - float f_202_ = 0.0F; - float f_203_ = 0.0F; - float f_204_ = f_200_; - float f_205_ = f_201_; - if (i_195_ <= i_193_) { - f_204_ = f_197_ * (float) (-i_195_ + i_193_); - f_205_ = f_198_ * (float) (i_193_ + -i_195_); - } else { - f_203_ = (float) (-i_195_ + (i_193_ - -i_194_)) * f_198_; - f_202_ = (float) (i_193_ - -i_194_ - i_195_) * f_197_; - } - float f_206_ = f_202_ + ((float) i + 0.35F); - float f_207_ = (float) i_186_ + 0.35F + f_203_; - float f_208_ = (float) i_194_ * f_197_; - float f_209_ = (float) i_194_ * f_198_; - for (; ; ) { - if (i < i_187_) { - if (f_206_ > 0.35F + (float) i_187_) break; - if ((float) i_187_ < f_206_ + f_204_) f_204_ = (float) i_187_ - f_206_; - } else { - if ((float) i_187_ + 0.35F > f_206_) break; - if ((float) i_187_ > f_206_ + f_204_) f_204_ = -f_206_ + (float) i_187_; - } - if (i_188_ <= i_186_) { - if (0.35F + (float) i_188_ > f_207_) break; - if ((float) i_188_ > f_207_ + f_205_) f_205_ = (float) i_188_ - f_207_; - } else { - if (f_207_ > 0.35F + (float) i_188_) break; - if ((float) i_188_ < f_205_ + f_207_) f_205_ = (float) i_188_ - f_207_; - } - OpenGL.glBegin(1); - OpenGL.glTexCoord2f(f * ((float) -i_191_ + f_206_), f_196_ * ((float) -i_192_ + f_207_)); - OpenGL.glVertex2f(f_206_, f_207_); - OpenGL.glTexCoord2f((f_206_ + f_204_ - (float) i_191_) * f, (((float) -i_192_ + (f_207_ + f_205_)) * f_196_)); - OpenGL.glVertex2f(f_204_ + f_206_, f_207_ + f_205_); - OpenGL.glEnd(); - f_206_ += f_204_ + f_208_; - f_207_ += f_205_ + f_209_; - f_205_ = f_201_; - f_204_ = f_200_; - } - method3762(5890, 768, (byte) -87, 0); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.IF(" + i + ',' + i_186_ + ',' + i_187_ + ',' + i_188_ + ',' + i_189_ + ',' + i_190_ + ',' + (var_aa != null ? "{...}" : "null") + ',' + i_191_ + ',' + i_192_ + ',' + i_193_ + ',' + i_194_ + ',' + i_195_ + ')')); - } - } - - final void X(int i) { - this.anInt7731 = 0; - anInt7521++; - for (/**/; i > 1; i >>= 1) - this.anInt7731++; - this.anInt7733 = 1 << this.anInt7731; - } - - final aa method3661(int i, int i_210_, int[] is, int[] is_211_) { - try { - anInt7589++; - return RuntimeException_Sub1.method4009(i, is, is_211_, 0, this, i_210_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.RF(" + i + ',' + i_210_ + ',' + (is != null ? "{...}" : "null") + ',' + (is_211_ != null ? "{...}" : "null") + ')')); - } - } - - final void method3632(int[] is) { - try { - is[0] = this.anInt7688; - anInt7675++; - is[1] = this.anInt7641; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "qo.KE(" + (is != null ? "{...}" : "null") + ')'); - } - } - - final void method3651(za var_za) { - do { - try { - this.aNativeHeap7730 = ((za_Sub1) var_za).aNativeHeap9770; - anInt7573++; - if (anInterface2_7797 != null) break; - Class348_Sub49_Sub1 class348_sub49_sub1 = new Class348_Sub49_Sub1(80); - if (this.aBoolean7775) { - class348_sub49_sub1.method3400(-1.0F, (byte) -122); - class348_sub49_sub1.method3400(-1.0F, (byte) -103); - class348_sub49_sub1.method3400(0.0F, (byte) -113); - class348_sub49_sub1.method3400(0.0F, (byte) -112); - class348_sub49_sub1.method3400(1.0F, (byte) -124); - class348_sub49_sub1.method3400(1.0F, (byte) -99); - class348_sub49_sub1.method3400(-1.0F, (byte) -95); - class348_sub49_sub1.method3400(0.0F, (byte) -94); - class348_sub49_sub1.method3400(1.0F, (byte) -118); - class348_sub49_sub1.method3400(1.0F, (byte) -112); - class348_sub49_sub1.method3400(1.0F, (byte) -89); - class348_sub49_sub1.method3400(1.0F, (byte) -102); - class348_sub49_sub1.method3400(0.0F, (byte) -109); - class348_sub49_sub1.method3400(1.0F, (byte) -109); - class348_sub49_sub1.method3400(0.0F, (byte) -112); - class348_sub49_sub1.method3400(-1.0F, (byte) -101); - class348_sub49_sub1.method3400(1.0F, (byte) -93); - class348_sub49_sub1.method3400(0.0F, (byte) -123); - class348_sub49_sub1.method3400(0.0F, (byte) -110); - class348_sub49_sub1.method3400(0.0F, (byte) -113); - } else { - class348_sub49_sub1.method3399(18291, -1.0F); - class348_sub49_sub1.method3399(18291, -1.0F); - class348_sub49_sub1.method3399(18291, 0.0F); - class348_sub49_sub1.method3399(18291, 0.0F); - class348_sub49_sub1.method3399(18291, 1.0F); - class348_sub49_sub1.method3399(18291, 1.0F); - class348_sub49_sub1.method3399(18291, -1.0F); - class348_sub49_sub1.method3399(18291, 0.0F); - class348_sub49_sub1.method3399(18291, 1.0F); - class348_sub49_sub1.method3399(18291, 1.0F); - class348_sub49_sub1.method3399(18291, 1.0F); - class348_sub49_sub1.method3399(18291, 1.0F); - class348_sub49_sub1.method3399(18291, 0.0F); - class348_sub49_sub1.method3399(18291, 1.0F); - class348_sub49_sub1.method3399(18291, 0.0F); - class348_sub49_sub1.method3399(18291, -1.0F); - class348_sub49_sub1.method3399(18291, 1.0F); - class348_sub49_sub1.method3399(18291, 0.0F); - class348_sub49_sub1.method3399(18291, 0.0F); - class348_sub49_sub1.method3399(18291, 0.0F); - } - anInterface2_7797 = method3731(2, false, 20, (class348_sub49_sub1.aByteArray7154), (class348_sub49_sub1.anInt7197)); - this.aClass123_7849 = new Class123(anInterface2_7797, 5126, 3, 0); - this.aClass123_7833 = new Class123(anInterface2_7797, 5126, 2, 12); - aClass233_7711.method1654(643267468, this); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "qo.PF(" + (var_za != null ? "{...}" : "null") + ')'); - } - break; - } while (false); - } - - final void A(int i, aa var_aa, int i_212_, int i_213_) { - try { - anInt7695++; - aa_Sub1 var_aa_Sub1 = (aa_Sub1) var_aa; - Class258_Sub3_Sub1 class258_sub3_sub1 = var_aa_Sub1.aClass258_Sub3_Sub1_5193; - method3792(119); - method3771((byte) -88, var_aa_Sub1.aClass258_Sub3_Sub1_5193); - method3753(1, 1); - method3729(7681, (byte) -103, 8448); - method3762(34167, 768, (byte) -87, 0); - float f = (class258_sub3_sub1.aFloat9937 / (float) (class258_sub3_sub1.anInt9940)); - float f_214_ = (class258_sub3_sub1.aFloat9938 / (float) (class258_sub3_sub1.anInt9939)); - OpenGL.glColor4ub((byte) (i >> 16), (byte) (i >> 8), (byte) i, (byte) (i >> 24)); - OpenGL.glBegin(7); - OpenGL.glTexCoord2f(f * (float) (anInt7868 + -i_212_), (float) (anInt7773 + -i_213_) * f_214_); - OpenGL.glVertex2i(anInt7868, anInt7773); - OpenGL.glTexCoord2f(f * (float) (-i_212_ + anInt7868), f_214_ * (float) (-i_213_ + anInt7787)); - OpenGL.glVertex2i(anInt7868, anInt7787); - OpenGL.glTexCoord2f((float) (-i_212_ + anInt7855) * f, (float) (anInt7787 + -i_213_) * f_214_); - OpenGL.glVertex2i(anInt7855, anInt7787); - OpenGL.glTexCoord2f(f * (float) (-i_212_ + anInt7855), f_214_ * (float) (-i_213_ + anInt7773)); - OpenGL.glVertex2i(anInt7855, anInt7773); - OpenGL.glEnd(); - method3762(5890, 768, (byte) -87, 0); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.A(" + i + ',' + (var_aa != null ? "{...}" : "null") + ',' + i_212_ + ',' + i_213_ + ')')); - } - } - - final boolean method3694() { - anInt7593++; - return false; - } - - final Interface13 method3624(int i, int i_215_) { - anInt7679++; - return null; - } - - final void method3775(boolean bool, int i, int i_216_, int i_217_) { - anInt7531++; - if (bool != false) method3644(); - OpenGL.glTexEnvi(8960, 34184 + i, i_217_); - OpenGL.glTexEnvi(8960, 34200 + i, i_216_); - } - - private final void method3776(int i) { - anInt7609++; - if (i != 22544) this.aNativeHeap7730 = null; - int i_218_ = 0; - while (!anOpenGL7664.b()) { - if (i_218_++ > 5) throw new RuntimeException(""); - Class286_Sub5.method2161((byte) -3, 1000L); - } - } - - final void method3688(int i, int i_219_, int i_220_, int i_221_, int i_222_, int i_223_, int i_224_) { - anInt7662++; - OpenGL.glLineWidth((float) i_223_); - method3709(i, i_219_, i_220_, i_221_, i_222_, i_224_); - OpenGL.glLineWidth(1.0F); - } - - final void ra(int i, int i_225_, int i_226_, int i_227_) { - anInt7660++; - this.anInt7788 = i; - this.anInt7848 = i_226_; - this.anInt7806 = i_225_; - this.aBoolean7846 = true; - this.anInt7809 = i_227_; - } - - private final void method3777(int i) { - anInt7632++; - aFloatArray7779[10] = aFloat7854; - aFloatArray7779[14] = aFloat7842; - this.aFloat7875 = (float) anInt7814; - if (i != -24051) this.aClass64_Sub3_7821 = null; - this.aFloat7874 = (aFloatArray7779[14] - (float) anInt7814) / aFloatArray7779[10]; - } - - final void T(int i, int i_228_, int i_229_, int i_230_) { - if (i_228_ > anInt7773) anInt7773 = i_228_; - anInt7648++; - if (anInt7787 > i_230_) anInt7787 = i_230_; - if (i > anInt7868) anInt7868 = i; - if (i_229_ < anInt7855) anInt7855 = i_229_; - OpenGL.glEnable(3089); - method3772((byte) 125); - method3811((byte) 11); - } - - final void method3669(Canvas canvas, int i, int i_231_) { - do { - try { - anInt7701++; - long l = 0L; - if (canvas != null && aCanvas7626 != canvas) { - if (aHashtable7577.containsKey(canvas)) { - Long var_long = (Long) aHashtable7577.get(canvas); - l = var_long.longValue(); - } - } else l = aLong7553; - if (l == 0L) throw new RuntimeException(); - anOpenGL7664.surfaceResized(l); - if (aCanvas7575 != canvas) break; - method3745((byte) 117); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.HF(" + (canvas != null ? "{...}" : "null") + ',' + i + ',' + i_231_ + ')')); - } - break; - } while (false); - } - - final Class105 method3711(int[] is, int i, int i_232_, int i_233_, int i_234_, boolean bool) { - try { - anInt7522++; - return new Class105_Sub2(this, i_233_, i_234_, is, i, i_232_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.BE(" + (is != null ? "{...}" : "null") + ',' + i + ',' + i_232_ + ',' + i_233_ + ',' + i_234_ + ',' + bool + ')')); - } - } - - private final void method3778(byte i) { - if (anInt7765 != 1) { - method3763(5888); - method3807(false, 2); - method3728(false, 48); - method3752(107, false); - method3748(0, false); - method3771((byte) -122, null); - method3757(-2, -45); - method3761(0, 1); - anInt7765 = 1; - } - if (i <= -115) anInt7594++; - } - - private final void method3779(int i) { - InputStream_Sub2.aFloatArray84[3] = 1.0F; - anInt7588++; - InputStream_Sub2.aFloatArray84[0] = this.aFloat7832 * this.aFloat7781; - InputStream_Sub2.aFloatArray84[1] = this.aFloat7816 * this.aFloat7832; - if (i == 29890) { - InputStream_Sub2.aFloatArray84[2] = this.aFloat7823 * this.aFloat7832; - OpenGL.glLightfv(16384, 4609, InputStream_Sub2.aFloatArray84, 0); - InputStream_Sub2.aFloatArray84[2] = this.aFloat7823 * -this.aFloat7871; - InputStream_Sub2.aFloatArray84[3] = 1.0F; - InputStream_Sub2.aFloatArray84[1] = this.aFloat7816 * -this.aFloat7871; - InputStream_Sub2.aFloatArray84[0] = this.aFloat7781 * -this.aFloat7871; - OpenGL.glLightfv(16385, 4609, InputStream_Sub2.aFloatArray84, 0); - } - } - - final synchronized void method3780(int i, int i_235_, int i_236_) { - anInt7616++; - Class348_Sub35 class348_sub35 = new Class348_Sub35(i); - class348_sub35.aLong4291 = i_236_; - aClass262_7751.method1999(class348_sub35, -20180); - if (i_235_ != -1) method3733(-17, -42, -40, null, true); - } - - final int M() { - anInt7562++; - int i = anInt7881; - anInt7881 = 0; - return i; - } - - final int method3781(byte i, int i_237_) { - anInt7613++; - if (i_237_ == 1) return 7681; - if (i_237_ == 0) return 8448; - if (i_237_ != 2) { - if (i_237_ != 3) { - if (i_237_ == 4) return 34023; - } else return 260; - } else return 34165; - if (i != 17) anInt7814 = -39; - throw new IllegalArgumentException(); - } - - final void method3782(Interface11 interface11, int i) { - try { - anInt7640++; - if (anInt7738 >= 3) throw new RuntimeException(); - if (i != 327685) method3688(-94, -9, -90, -108, 41, -52, 70); - if (anInt7738 >= 0) anInterface11Array7741[anInt7738].method45((byte) -47); - anInterface11_7745 = anInterface11Array7741[++anInt7738] = interface11; - anInterface11_7745.method49(-27141); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.HD(" + (interface11 != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - final void method3628(int i, int i_238_, int i_239_, int i_240_, int i_241_, int i_242_) { - anInt7615++; - float f = 0.35F + (float) i; - float f_243_ = 0.35F + (float) i_238_; - float f_244_ = f + (float) i_239_ - 1.0F; - method3778((byte) -119); - float f_245_ = -1.0F + (f_243_ + (float) i_240_); - method3753(i_242_, 1); - OpenGL.glColor4ub((byte) (i_241_ >> 16), (byte) (i_241_ >> 8), (byte) i_241_, (byte) (i_241_ >> 24)); - if (aBoolean7843) OpenGL.glDisable(32925); - OpenGL.glBegin(2); - OpenGL.glVertex2f(f, f_243_); - OpenGL.glVertex2f(f, f_245_); - OpenGL.glVertex2f(f_244_, f_245_); - OpenGL.glVertex2f(f_244_, f_243_); - OpenGL.glEnd(); - if (aBoolean7843) OpenGL.glEnable(32925); - } - - final void H(int i, int i_246_, int i_247_, int[] is) { - try { - anInt7637++; - float f = ((this.aClass101_Sub3_7760.aFloat5751) + ((float) i * (this.aClass101_Sub3_7760.aFloat5756) + (this.aClass101_Sub3_7760.aFloat5754) * (float) i_246_ + (this.aClass101_Sub3_7760.aFloat5784) * (float) i_247_)); - if (f == 0.0F) is[0] = is[1] = is[2] = -1; - else { - int i_248_ = (int) ((this.aClass101_Sub3_7760.aFloat5747 + ((this.aClass101_Sub3_7760.aFloat5781) * (float) i_247_ + ((this.aClass101_Sub3_7760.aFloat5750) * (float) i_246_ + (this.aClass101_Sub3_7760.aFloat5770) * (float) i))) * (float) this.anInt7771 / f); - int i_249_ = (int) (((float) i * this.aClass101_Sub3_7760.aFloat5761 + (this.aClass101_Sub3_7760.aFloat5769) * (float) i_246_ + (this.aClass101_Sub3_7760.aFloat5762) * (float) i_247_ + (this.aClass101_Sub3_7760.aFloat5772)) * (float) this.anInt7794 / f); - is[0] = (int) (-this.aFloat7872 + (float) i_248_); - is[2] = (int) f; - is[1] = (int) (-this.aFloat7836 + (float) i_249_); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.H(" + i + ',' + i_246_ + ',' + i_247_ + ',' + (is != null ? "{...}" : "null") + ')')); - } - } - - final Class101 method3654() { - anInt7716++; - return new Class101_Sub3(); - } - - final boolean method3671() { - anInt7670++; - if (aClass348_Sub5_Sub1_7721 != null) { - if (!aClass348_Sub5_Sub1_7721.method2760((byte) 1)) { - if (!aClass18_7720.method274(aClass348_Sub5_Sub1_7721, true)) return false; - aClass354_7723.method3463((byte) -110); - } - return true; - } - return false; - } - - private final void method3783(int i) { - anInt7527++; - int i_250_; - for (i_250_ = i; anInt7862 > i_250_; i_250_++) { - Class348_Sub1 class348_sub1 = aClass348_Sub1Array7858[i_250_]; - Class328_Sub1.aFloatArray6514[0] = (float) class348_sub1.method2724(-1); - int i_251_ = i_250_ + 16386; - Class328_Sub1.aFloatArray6514[1] = (float) class348_sub1.method2722(127); - Class328_Sub1.aFloatArray6514[2] = (float) class348_sub1.method2717((byte) 77); - Class328_Sub1.aFloatArray6514[3] = 1.0F; - OpenGL.glLightfv(i_251_, 4611, Class328_Sub1.aFloatArray6514, 0); - int i_252_ = class348_sub1.method2720(-1); - float f = class348_sub1.method2721(-76) / 255.0F; - Class328_Sub1.aFloatArray6514[2] = (float) Class139.method1166(i_252_, 255) * f; - Class328_Sub1.aFloatArray6514[0] = ((float) (Class139.method1166(16762087, i_252_) >> 16) * f); - Class328_Sub1.aFloatArray6514[1] = ((float) (Class139.method1166(i_252_, 65533) >> 8) * f); - OpenGL.glLightfv(i_251_, 4609, Class328_Sub1.aFloatArray6514, 0); - OpenGL.glLightf(i_251_, 4617, 1.0F / (float) (class348_sub1.method2723(-1) * class348_sub1.method2723(-1))); - OpenGL.glEnable(i_251_); - } - for (/**/; anInt7839 > i_250_; i_250_++) - OpenGL.glDisable(i_250_ + 16386); - anInt7839 = anInt7862; - } - - final void method3784(byte i) { - if (anInt7765 != 8) { - method3740(-14388); - method3807(true, 2); - method3752(114, true); - method3748(i + 62, true); - method3753(1, 1); - anInt7765 = 8; - } - anInt7665++; - if (i != -62) aCanvas7626 = null; - } - - final int method3785(int i, int i_253_) { - anInt7682++; - if (i == 5121 || i == 5120) return 1; - if (i_253_ != 4) this.aBoolean7793 = false; - if (i == 5123 || i == 5122) return 2; - if (i == 5125 || i == 5124 || i == 5126) return 4; - throw new IllegalArgumentException(""); - } - - final void method3685(Class98 class98, int i) { - try { - aClass233_7711.method1651(this, (byte) -116, i, class98); - anInt7687++; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.FG(" + (class98 != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - private final void method3786(boolean bool) { - anInt7630++; - aClass258Array7828 = new Class258[this.anInt7795]; - this.aClass258_Sub3_7827 = new Class258_Sub3(this, 3553, 6408, 1, 1); - new Class258_Sub3(this, 3553, 6408, 1, 1); - new Class258_Sub3(this, 3553, 6408, 1, 1); - this.aClass64_Sub3_7864 = new Class64_Sub3(this); - this.aClass64_Sub3_7838 = new Class64_Sub3(this); - this.aClass64_Sub3_7803 = new Class64_Sub3(this); - this.aClass64_Sub3_7834 = new Class64_Sub3(this); - this.aClass64_Sub3_7840 = new Class64_Sub3(this); - this.aClass64_Sub3_7780 = new Class64_Sub3(this); - this.aClass64_Sub3_7802 = new Class64_Sub3(this); - this.aClass64_Sub3_7821 = new Class64_Sub3(this); - if (bool == false) { - this.aClass64_Sub3_7844 = new Class64_Sub3(this); - this.aClass64_Sub3_7785 = new Class64_Sub3(this); - if (this.aBoolean7820) { - this.aClass206_7778 = new Class206(this); - new Class206(this); - } - } - } - - private final void method3787(int i) { - InputStream_Sub2.aFloatArray84[3] = 1.0F; - anInt7661++; - InputStream_Sub2.aFloatArray84[0] = this.aFloat7768 * this.aFloat7781; - InputStream_Sub2.aFloatArray84[2] = this.aFloat7823 * this.aFloat7768; - InputStream_Sub2.aFloatArray84[1] = this.aFloat7816 * this.aFloat7768; - OpenGL.glLightModelfv(2899, InputStream_Sub2.aFloatArray84, 0); - if (i >= -13) anInt7742 = 102; - } - - final Class365 c() { - anInt7607++; - int i = -1; - if (aString7845.indexOf("nvidia") == -1) { - if (aString7845.indexOf("intel") != -1) i = 32902; - else if (aString7845.indexOf("ati") != -1) i = 4098; - } else i = 4318; - return new Class365(i, "OpenGL", anInt7789, aString7790, 0L); - } - - final void da(int i, int i_254_, int i_255_, int[] is) { - try { - anInt7528++; - float f = (((float) i_254_ * (this.aClass101_Sub3_7760.aFloat5754)) + (this.aClass101_Sub3_7760.aFloat5756) * (float) i + (this.aClass101_Sub3_7760.aFloat5784) * (float) i_255_ + (this.aClass101_Sub3_7760.aFloat5751)); - if (f >= (float) this.anInt7826 && f <= (float) anInt7814) { - int i_256_ = (int) ((float) this.anInt7771 * (((float) i_254_ * (this.aClass101_Sub3_7760.aFloat5750)) + (this.aClass101_Sub3_7760.aFloat5770) * (float) i + (this.aClass101_Sub3_7760.aFloat5781) * (float) i_255_ + (this.aClass101_Sub3_7760.aFloat5747)) / f); - int i_257_ = (int) ((this.aClass101_Sub3_7760.aFloat5772 + (((float) i * (this.aClass101_Sub3_7760.aFloat5761)) + (this.aClass101_Sub3_7760.aFloat5769) * (float) i_254_ + (this.aClass101_Sub3_7760.aFloat5762) * (float) i_255_)) * (float) this.anInt7794 / f); - if (!(this.aFloat7872 <= (float) i_256_) || !((float) i_256_ <= this.aFloat7835) || !(this.aFloat7836 <= (float) i_257_) || !(this.aFloat7830 >= (float) i_257_)) is[0] = is[1] = is[2] = -1; - else { - is[2] = (int) f; - is[0] = (int) (-this.aFloat7872 + (float) i_256_); - is[1] = (int) (-this.aFloat7836 + (float) i_257_); - } - } else is[0] = is[1] = is[2] = -1; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.da(" + i + ',' + i_254_ + ',' + i_255_ + ',' + (is != null ? "{...}" : "null") + ')')); - } - } - - final void method3788(int i) { - anInt7647++; - if (i == -18516) OpenGL.glPushMatrix(); - } - - final void F(int i, int i_258_) { - anInt7719++; - } - - final void method3687(Interface4 interface4) { - try { - anInt7590++; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "qo.IA(" + (interface4 != null ? "{...}" : "null") + ')'); - } - } - - final void KA(int i, int i_259_, int i_260_, int i_261_) { - if (i_259_ < 0) i_259_ = 0; - anInt7717++; - if (i_260_ > this.anInt7688) i_260_ = this.anInt7688; - if (i < 0) i = 0; - if (i_261_ > this.anInt7641) i_261_ = this.anInt7641; - anInt7855 = i_260_; - anInt7787 = i_261_; - anInt7773 = i_259_; - anInt7868 = i; - OpenGL.glEnable(3089); - method3772((byte) 126); - method3811((byte) 11); - } - - final void method3789(byte i, float f) { - if (aFloat7851 != f) { - aFloat7851 = f; - if (anInt7865 == 3) method3747((byte) -63); - } - if (i <= -101) anInt7545++; - } - - final void la() { - anInt7773 = 0; - anInt7642++; - anInt7787 = this.anInt7641; - anInt7855 = this.anInt7688; - anInt7868 = 0; - OpenGL.glDisable(3089); - method3772((byte) 125); - } - - final void C(boolean bool) { - aBoolean7870 = bool; - anInt7602++; - method3795(-30199); - } - - final void method3663() { - anInt7604++; - } - - final void method3790(int i, int i_262_, int i_263_) { - if (i > 94) { - anInt7724++; - anInt7867 = i_262_; - anInt7770 = i_263_; - method3809(true); - method3811((byte) 11); - } - } - - final int JA(int i, int i_264_, int i_265_, int i_266_, int i_267_, int i_268_) { - anInt7652++; - int i_269_ = 0; - float f = (((float) i_265_ * (this.aClass101_Sub3_7760.aFloat5784)) + ((float) i * this.aClass101_Sub3_7760.aFloat5756 + ((float) i_264_ * (this.aClass101_Sub3_7760.aFloat5754))) + (this.aClass101_Sub3_7760.aFloat5751)); - if (f < 1.0F) f = 1.0F; - float f_270_ = (((float) i_268_ * (this.aClass101_Sub3_7760.aFloat5784)) + (((float) i_267_ * (this.aClass101_Sub3_7760.aFloat5754)) + (this.aClass101_Sub3_7760.aFloat5756) * (float) i_266_) + (this.aClass101_Sub3_7760.aFloat5751)); - if (f_270_ < 1.0F) f_270_ = 1.0F; - if (!((float) this.anInt7826 > f) || !((float) this.anInt7826 > f_270_)) { - if (f > (float) anInt7814 && f_270_ > (float) anInt7814) i_269_ |= 0x20; - } else i_269_ |= 0x10; - int i_271_ = (int) (((this.aClass101_Sub3_7760.aFloat5781) * (float) i_265_ + ((this.aClass101_Sub3_7760.aFloat5750 * (float) i_264_) + (this.aClass101_Sub3_7760.aFloat5770 * (float) i)) + (this.aClass101_Sub3_7760.aFloat5747)) * (float) this.anInt7771 / f); - int i_272_ = (int) ((float) this.anInt7771 * (((float) i_268_ * this.aClass101_Sub3_7760.aFloat5781) + ((this.aClass101_Sub3_7760.aFloat5770 * (float) i_266_) + (this.aClass101_Sub3_7760.aFloat5750 * (float) i_267_)) + this.aClass101_Sub3_7760.aFloat5747) / f_270_); - if (!((float) i_271_ < this.aFloat7872) || !(this.aFloat7872 > (float) i_272_)) { - if ((float) i_271_ > this.aFloat7835 && (float) i_272_ > this.aFloat7835) i_269_ |= 0x2; - } else i_269_ |= 0x1; - int i_273_ = (int) ((float) this.anInt7794 * ((this.aClass101_Sub3_7760.aFloat5762) * (float) i_265_ + ((float) i_264_ * this.aClass101_Sub3_7760.aFloat5769 + (float) i * this.aClass101_Sub3_7760.aFloat5761) + this.aClass101_Sub3_7760.aFloat5772) / f); - int i_274_ = (int) (((this.aClass101_Sub3_7760.aFloat5772) + (((float) i_266_ * this.aClass101_Sub3_7760.aFloat5761) + (float) i_267_ * this.aClass101_Sub3_7760.aFloat5769 + (this.aClass101_Sub3_7760.aFloat5762 * (float) i_268_))) * (float) this.anInt7794 / f_270_); - if (!((float) i_273_ < this.aFloat7836) || !(this.aFloat7836 > (float) i_274_)) { - if ((float) i_273_ > this.aFloat7830 && (float) i_274_ > this.aFloat7830) i_269_ |= 0x8; - } else i_269_ |= 0x4; - return i_269_; - } - - final boolean method3693() { - anInt7684++; - return true; - } - - final Class105 method3629(int i, int i_275_, boolean bool) { - anInt7625++; - return new Class105_Sub2(this, i, i_275_, bool); - } - - final void method3678(int i) { - anInt7663++; - method3797(0); - } - - private final void method3791(int i) { - anInt7543++; - method3757(-2, -69); - for (int i_276_ = this.anInt7795 - 1; i_276_ >= 0; i_276_--) { - method3738(-15039, i_276_); - method3771((byte) -88, null); - OpenGL.glTexEnvi(8960, 8704, 34160); - } - method3729(8448, (byte) 119, 8448); - method3762(34168, 770, (byte) -87, 2); - method3767(-21974); - anInt7764 = 1; - OpenGL.glEnable(3042); - OpenGL.glBlendFunc(770, 771); - anInt7762 = 1; - OpenGL.glEnable(3008); - OpenGL.glAlphaFunc(516, 0.0F); - aBoolean7761 = true; - OpenGL.glColorMask(true, true, true, true); - aBoolean7758 = true; - method3807(true, 2); - method3728(true, 71); - method3752(124, true); - method3748(0, true); - method3755(i ^ ~0x651d); - anOpenGL7664.setSwapInterval(0); - OpenGL.glShadeModel(7425); - OpenGL.glClearDepth(1.0F); - OpenGL.glDepthFunc(515); - OpenGL.glPolygonMode(1028, 6914); - OpenGL.glEnable(2884); - OpenGL.glCullFace(1029); - OpenGL.glMatrixMode(5888); - OpenGL.glLoadIdentity(); - OpenGL.glColorMaterial(1028, 5634); - OpenGL.glEnable(2903); - float[] fs = {0.0F, 0.0F, 0.0F, 1.0F}; - for (int i_277_ = 0; i_277_ < 8; i_277_++) { - int i_278_ = 16384 + i_277_; - OpenGL.glLightfv(i_278_, 4608, fs, 0); - OpenGL.glLightf(i_278_, 4615, 0.0F); - OpenGL.glLightf(i_278_, 4616, 0.0F); - } - OpenGL.glEnable(16384); - OpenGL.glEnable(16385); - OpenGL.glFogf(2914, 0.95F); - OpenGL.glFogi(2917, 9729); - if (i != 25858) this.aClass64_Sub3_7864 = null; - OpenGL.glHint(3156, 4353); - anInt7808 = this.anInt7856 = -1; - la(); - } - - final void method3792(int i) { - if (i < 45) method3777(-72); - if (anInt7765 != 2) { - method3763(5888); - method3807(false, 2); - method3728(false, 66); - method3752(115, false); - method3748(0, false); - method3757(-2, -67); - anInt7765 = 2; - } - anInt7608++; - } - - final int I() { - anInt7551++; - int i = anInt7878; - anInt7878 = 0; - return i; - } - - final void method3793(int i, Interface8 interface8) { - do { - try { - if (i == 1) { - anInt7560++; - if (anInterface8_7817 == interface8) break; - if (aBoolean7873) OpenGL.glBindBufferARB(34963, interface8.method33(-23923)); - anInterface8_7817 = interface8; - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.OE(" + i + ',' + (interface8 != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - final void method3794(Class123 class123, Class123 class123_279_, int i, Class123 class123_280_, Class123 class123_281_) { - try { - if (class123 != null) { - method3750(i + 26493, class123.anInterface2_1811); - OpenGL.glVertexPointer(class123.aByte1814, class123.aShort1810, anInterface2_7852.method13((byte) -97), (anInterface2_7852.method12((byte) 42) - -(long) (class123.aByte1812))); - OpenGL.glEnableClientState(32884); - } else OpenGL.glDisableClientState(32884); - anInt7529++; - if (class123_281_ != null) { - method3750(56, class123_281_.anInterface2_1811); - OpenGL.glNormalPointer(class123_281_.aShort1810, anInterface2_7852.method13((byte) -97), (anInterface2_7852.method12((byte) 42) - -(long) (class123_281_.aByte1812))); - OpenGL.glEnableClientState(32885); - } else OpenGL.glDisableClientState(32885); - if (class123_279_ != null) { - method3750(67, class123_279_.anInterface2_1811); - OpenGL.glColorPointer(class123_279_.aByte1814, class123_279_.aShort1810, anInterface2_7852.method13((byte) -97), (anInterface2_7852.method12((byte) 42) + (long) (class123_279_.aByte1812))); - OpenGL.glEnableClientState(32886); - } else OpenGL.glDisableClientState(32886); - if (i == -26411) { - if (class123_280_ != null) { - method3750(119, class123_280_.anInterface2_1811); - OpenGL.glTexCoordPointer(class123_280_.aByte1814, class123_280_.aShort1810, anInterface2_7852.method13((byte) -97), (anInterface2_7852.method12((byte) 42) - -(long) class123_280_.aByte1812)); - OpenGL.glEnableClientState(32888); - } else OpenGL.glDisableClientState(32888); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.KB(" + (class123 != null ? "{...}" : "null") + ',' + (class123_279_ != null ? "{...}" : "null") + ',' + i + ',' + (class123_280_ != null ? "{...}" : "null") + ',' + (class123_281_ != null ? "{...}" : "null") + ')')); - } - } - - final int method3704() { - anInt7672++; - return 4; - } - - final Interface4 method3634(Interface3 interface3, Interface13 interface13) { - try { - anInt7596++; - return null; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.NB(" + (interface3 != null ? "{...}" : "null") + ',' + (interface13 != null ? "{...}" : "null") + ')')); - } - } - - final Class101 method3640() { - anInt7650++; - return this.aClass101_Sub3_7760; - } - - private final void method3795(int i) { - OpenGL.glDepthMask(aBoolean7759 && aBoolean7870); - anInt7578++; - if (i != -30199) K(null); - } - - final Class101 method3705() { - anInt7587++; - return aClass101_Sub3_7725; - } - - final int i() { - anInt7628++; - return this.anInt7826; - } - - final void ya() { - anInt7534++; - method3748(0, true); - OpenGL.glClear(256); - } - - final void method3647(boolean bool) { - anInt7691++; - } - - final void method3796(int i) { - OpenGL.glLightfv(i, 4611, this.aFloatArray7825, 0); - anInt7536++; - OpenGL.glLightfv(16385, 4611, aFloatArray7811, 0); - } - - final boolean method3639() { - anInt7667++; - return aClass100_7707.method889((byte) -91, 3); - } - - final boolean method3666() { - anInt7537++; - return aClass348_Sub5_Sub1_7721 != null && aClass348_Sub5_Sub1_7721.method2760((byte) 1); - } - - final void method3642(int i, Class348_Sub1[] class348_sub1s) { - do { - try { - for (int i_282_ = 0; i_282_ < i; i_282_++) - aClass348_Sub1Array7858[i_282_] = class348_sub1s[i_282_]; - anInt7610++; - anInt7862 = i; - if (anInt7865 == 1) break; - method3783(0); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.FF(" + i + ',' + (class348_sub1s != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - final void method3630(boolean bool) { - anInt7620++; - } - - private final void method3797(int i) { - if (i != 0) this.anIntArray7883 = null; - anInt7546++; - anOpenGL7664.a(); - } - - final void pa() { - anInt7524++; - this.aBoolean7846 = false; - } - - final int r(int i, int i_283_, int i_284_, int i_285_, int i_286_, int i_287_, int i_288_) { - anInt7669++; - float f = (((float) i_284_ * (this.aClass101_Sub3_7760.aFloat5784)) + ((float) i_283_ * (this.aClass101_Sub3_7760.aFloat5754) + (float) i * (this.aClass101_Sub3_7760.aFloat5756)) + (this.aClass101_Sub3_7760.aFloat5751)); - float f_289_ = (((float) i_287_ * (this.aClass101_Sub3_7760.aFloat5784)) + ((this.aClass101_Sub3_7760.aFloat5756) * (float) i_285_ + ((float) i_286_ * (this.aClass101_Sub3_7760.aFloat5754))) + (this.aClass101_Sub3_7760.aFloat5751)); - int i_290_ = 0; - if (!(f < (float) this.anInt7826) || !((float) this.anInt7826 > f_289_)) { - if ((float) anInt7814 < f && f_289_ > (float) anInt7814) i_290_ |= 0x20; - } else i_290_ |= 0x10; - int i_291_ = (int) ((float) this.anInt7771 * ((this.aClass101_Sub3_7760.aFloat5781) * (float) i_284_ + ((this.aClass101_Sub3_7760.aFloat5750 * (float) i_283_) + (this.aClass101_Sub3_7760.aFloat5770 * (float) i)) + this.aClass101_Sub3_7760.aFloat5747) / (float) i_288_); - int i_292_ = (int) ((float) this.anInt7771 * ((this.aClass101_Sub3_7760.aFloat5747) + ((this.aClass101_Sub3_7760.aFloat5781 * (float) i_287_) + (((float) i_285_ * (this.aClass101_Sub3_7760.aFloat5770)) + (this.aClass101_Sub3_7760.aFloat5750) * (float) i_286_))) / (float) i_288_); - if (!(this.aFloat7872 > (float) i_291_) || !(this.aFloat7872 > (float) i_292_)) { - if (this.aFloat7835 < (float) i_291_ && (float) i_292_ > this.aFloat7835) i_290_ |= 0x2; - } else i_290_ |= 0x1; - int i_293_ = (int) (((this.aClass101_Sub3_7760.aFloat5772) + ((this.aClass101_Sub3_7760.aFloat5762 * (float) i_284_) + ((this.aClass101_Sub3_7760.aFloat5761 * (float) i) + ((float) i_283_ * (this.aClass101_Sub3_7760.aFloat5769))))) * (float) this.anInt7794 / (float) i_288_); - int i_294_ = (int) ((float) this.anInt7794 * (((float) i_287_ * this.aClass101_Sub3_7760.aFloat5762) + ((float) i_286_ * this.aClass101_Sub3_7760.aFloat5769 + (this.aClass101_Sub3_7760.aFloat5761 * (float) i_285_)) + this.aClass101_Sub3_7760.aFloat5772) / (float) i_288_); - if (!(this.aFloat7836 > (float) i_293_) || !((float) i_294_ < this.aFloat7836)) { - if ((float) i_293_ > this.aFloat7830 && this.aFloat7830 < (float) i_294_) i_290_ |= 0x8; - } else i_290_ |= 0x4; - return i_290_; - } - - final int method3798(int i, int i_295_) { - anInt7698++; - if (i_295_ != 2) this.aFloat7872 = -1.3399854F; - if (i != 6406 && i != 6409) { - if (i != 6410 && i != 34846 && i != 34844) { - if (i == 6407) return 3; - if (i == 6408 || i == 34847) return 4; - if (i == 34843) return 6; - if (i == 34842) return 8; - if (i == 6402) return 3; - if (i == 6401) return 1; - } else return 2; - } else return 1; - throw new IllegalArgumentException(""); - } - - private final void method3799(float f, float f_296_, float f_297_, byte i) { - OpenGL.glMatrixMode(5890); - anInt7585++; - if (aBoolean7860) OpenGL.glLoadIdentity(); - OpenGL.glTranslatef(f_297_, f, f_296_); - int i_298_ = -9 / ((81 - i) / 44); - OpenGL.glMatrixMode(5888); - aBoolean7860 = true; - } - - final synchronized void method3800(int i, int i_299_) { - anInt7570++; - Class348_Sub35 class348_sub35 = new Class348_Sub35(i_299_); - if (i > 71) aClass262_7753.method1999(class348_sub35, -20180); - } - - final void method3698() { - aClass18_7720.method272(-53); - anInt7595++; - } - - final void P(int i, int i_300_, int i_301_, int i_302_, int i_303_) { - method3778((byte) -124); - anInt7583++; - method3753(i_303_, 1); - float f = 0.35F + (float) i; - OpenGL.glColor4ub((byte) (i_302_ >> 16), (byte) (i_302_ >> 8), (byte) i_302_, (byte) (i_302_ >> 24)); - float f_304_ = (float) i_300_ + 0.35F; - OpenGL.glBegin(1); - OpenGL.glVertex2f(f, f_304_); - OpenGL.glVertex2f(f, (float) i_301_ + f_304_); - OpenGL.glEnd(); - } - - final int E() { - anInt7539++; - return (anInt7750 + this.anInt7748 + this.anInt7747); - } - - final Class299 method3706(Class299 class299, Class299 class299_305_, float f, Class299 class299_306_) { - try { - anInt7658++; - if (class299 != null && class299_305_ != null && this.aBoolean7863 && this.aBoolean7820) { - Class299_Sub1_Sub2 class299_sub1_sub2 = null; - Class299_Sub1 class299_sub1 = (Class299_Sub1) class299; - Class299_Sub1 class299_sub1_307_ = (Class299_Sub1) class299_305_; - Class258_Sub2 class258_sub2 = class299_sub1.method2256((byte) -121); - Class258_Sub2 class258_sub2_308_ = class299_sub1_307_.method2256((byte) -121); - if (class258_sub2 != null && class258_sub2_308_ != null) { - int i = (Math.max(class258_sub2_308_.anInt8538, class258_sub2.anInt8538)); - if (class299_306_ != class299 && class299_305_ != class299_306_ && class299_306_ instanceof Class299_Sub1_Sub2) { - Class299_Sub1_Sub2 class299_sub1_sub2_309_ = (Class299_Sub1_Sub2) class299_306_; - if (i == class299_sub1_sub2_309_.method2262(65534)) class299_sub1_sub2 = class299_sub1_sub2_309_; - } - if (class299_sub1_sub2 == null) class299_sub1_sub2 = new Class299_Sub1_Sub2(this, i); - if (class299_sub1_sub2.method2261(class258_sub2, f, 65534, class258_sub2_308_)) return class299_sub1_sub2; - } - } - if (f < 0.5F) return class299; - return class299_305_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.SD(" + (class299 != null ? "{...}" : "null") + ',' + (class299_305_ != null ? "{...}" : "null") + ',' + f + ',' + (class299_306_ != null ? "{...}" : "null") + ')')); - } - } - - final void method3677(Canvas canvas) { - try { - aCanvas7575 = null; - anInt7621++; - aLong7636 = 0L; - if (canvas == null || canvas == aCanvas7626) { - aCanvas7575 = aCanvas7626; - aLong7636 = aLong7553; - } else if (aHashtable7577.containsKey(canvas)) { - Long var_long = (Long) aHashtable7577.get(canvas); - aLong7636 = var_long.longValue(); - aCanvas7575 = canvas; - } - if (aCanvas7575 == null || aLong7636 == 0L) throw new RuntimeException(); - anOpenGL7664.setSurface(aLong7636); - method3745((byte) 92); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "qo.MF(" + (canvas != null ? "{...}" : "null") + ')'); - } - } - - final void method3801(boolean bool, int i, int i_310_) { - int i_311_ = 57 / ((39 - i_310_) / 52); - anInt7644++; - method3746(bool, i, true, 115); - } - - final int method3667(int i, int i_312_) { - anInt7627++; - return i_312_ ^ i & i_312_; - } - - final void method3707(Rectangle[] rectangles, int i, int i_313_, int i_314_) throws Exception_Sub1 { - try { - method3626(i_313_, i_314_); - anInt7584++; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.UA(" + (rectangles != null ? "{...}" : "null") + ',' + i + ',' + i_313_ + ',' + i_314_ + ')')); - } - } - - static final void method3802(int i, int i_315_, int i_316_, int i_317_, int i_318_, int i_319_, int i_320_) { - anInt7572++; - int i_321_ = Class328_Sub1.anInt6513; - Class88.anInt1497 = 0; - int[] is = Class286_Sub7.anIntArray6290; - for (int i_322_ = 0; (i_322_ < Class150.anInt2057 + i_321_); i_322_++) { - Class79 class79 = null; - Class318_Sub1_Sub3_Sub3 class318_sub1_sub3_sub3; - if (i_321_ > i_322_) class318_sub1_sub3_sub3 = (Class294.aPlayerArray5058[is[i_322_]]); - else { - class318_sub1_sub3_sub3 = (((Class348_Sub22) Class282.aClass356_3654.method3480(Class74.anIntArray1233[i_322_ + -i_321_], i_316_ ^ ~0x1775)).aNpc_6859); - class79 = ((Npc) class318_sub1_sub3_sub3).aClass79_10505; - if (class79.anIntArray1377 != null) { - class79 = class79.method794((Class318_Sub1_Sub3_Sub3.aClass170_10209), i_316_ + -3); - if (class79 == null) continue; - } - } - if ((class318_sub1_sub3_sub3.anInt10285 >= 0) && (((class318_sub1_sub3_sub3.anInt10301) == Class239_Sub15.anInt6006) || ((Class132.aPlayer_1907.plane) == class318_sub1_sub3_sub3.plane))) { - Class348_Sub13.method2801(class318_sub1_sub3_sub3.method2426(200), i_318_ >> 1, i_320_, i_319_, i_315_ >> 1, class318_sub1_sub3_sub3, (byte) 100); - if (Class239_Sub21.anIntArray6062[0] >= 0) { - if ((class318_sub1_sub3_sub3.aString10292) != null && (i_321_ <= i_322_ || za.anInt7276 == 0 || za.anInt7276 == 3 || (za.anInt7276 == 1 && (Class348_Sub11.method2797(((Player) class318_sub1_sub3_sub3).aString10544, (byte) -63)))) && Class88.anInt1497 < Class309.anInt4814) { - Class309.anIntArray4819[Class88.anInt1497] = ((Class369.aClass143_4962.method1183(true, class318_sub1_sub3_sub3.aString10292)) / 2); - Class309.anIntArray4822[Class88.anInt1497] = Class239_Sub21.anIntArray6062[0]; - Class309.anIntArray4813[Class88.anInt1497] = Class239_Sub21.anIntArray6062[1]; - Class309.anIntArray4817[Class88.anInt1497] = class318_sub1_sub3_sub3.anInt10201; - Class309.anIntArray4806[Class88.anInt1497] = class318_sub1_sub3_sub3.anInt10234; - Class309.anIntArray4812[Class88.anInt1497] = class318_sub1_sub3_sub3.anInt10264; - Class309.aStringArray4818[Class88.anInt1497] = class318_sub1_sub3_sub3.aString10292; - Class88.anInt1497++; - } - int i_323_ = Class239_Sub21.anIntArray6062[1] + i; - if (!(class318_sub1_sub3_sub3.aBoolean10309) && (Class367_Sub11.anInt7396 < class318_sub1_sub3_sub3.anInt10223)) { - int i_324_ = -1; - int i_325_ = 1; - if (i_321_ <= i_322_) { - i_324_ = class79.anInt1373; - if (i_324_ == -1) i_324_ = (class318_sub1_sub3_sub3.method2422((byte) 72).anInt2909); - } else { - Player player = (Class294.aPlayerArray5058[is[i_322_]]); - i_324_ = (class318_sub1_sub3_sub3.method2422((byte) 72).anInt2909); - if (player.aBoolean10554) i_325_ = 2; - } - Class105[] class105s = Class348_Sub45.aClass105Array7107; - if (i_324_ != -1) { - Class105[] class105s_326_ = ((Class105[]) (Class353.aClass60_4346.method583(i_324_, i_316_ ^ ~0x79))); - if (class105s_326_ == null) { - Class207[] class207s = Class207.method1519(Class21.aClass45_322, i_324_, 0); - if (class207s != null) { - class105s_326_ = new Class105[class207s.length]; - for (int i_327_ = 0; class207s.length > i_327_; i_327_++) - class105s_326_[i_327_] = (Class348_Sub8.aHa6654.method3691(class207s[i_327_], true)); - Class353.aClass60_4346.method582(class105s_326_, i_324_, (byte) -94); - } - } - if (class105s_326_ != null && class105s_326_.length >= 2) class105s = class105s_326_; - } - if (class105s.length <= i_325_) i_325_ = 1; - Class105 class105 = class105s[0]; - Class105 class105_328_ = class105s[i_325_]; - i_323_ -= Math.max((Class369.aClass143_4962.anInt1988), class105.method969()); - int i_329_ = (Class239_Sub21.anIntArray6062[0] + (i_317_ + -(class105.method971() >> 1))); - int i_330_ = (class105.method971() * class318_sub1_sub3_sub3.anInt10295 / 255); - int i_331_ = class105.method969(); - if (class318_sub1_sub3_sub3.anInt10295 > 0 && i_330_ < 2) i_330_ = 2; - class105.method974(i_329_, i_323_); - Class348_Sub8.aHa6654.T(i_329_, i_323_, i_330_ + i_329_, i_331_ + i_323_); - class105_328_.method974(i_329_, i_323_); - Class348_Sub8.aHa6654.KA(i_317_, i, i_317_ - -i_318_, i_315_ + i); - Class338.method2663(-5590, i_329_, i_329_ + class105.method966(), i_323_, i_323_ + i_331_); - } else i_323_ -= Math.max((Class369.aClass143_4962.anInt1988), Class348_Sub45.aClass105Array7107[0].method969()); - i_323_ -= 2; - if (!class318_sub1_sub3_sub3.aBoolean10309) { - if (class318_sub1_sub3_sub3.anInt10287 > Class367_Sub11.anInt7396) { - Class105 class105 = (Class239_Sub2.aClass105Array5857[(class318_sub1_sub3_sub3.aBoolean10226 ? 2 : 0)]); - Class105 class105_332_ = (Class239_Sub2.aClass105Array5857[(!class318_sub1_sub3_sub3.aBoolean10226 ? 1 : 3)]); - int i_333_ = -1; - if (class318_sub1_sub3_sub3 instanceof Npc) { - i_333_ = class79.anInt1382; - if (i_333_ == -1) i_333_ = (class318_sub1_sub3_sub3.method2422((byte) 72).anInt2923); - } else i_333_ = (class318_sub1_sub3_sub3.method2422((byte) 72).anInt2923); - if (i_333_ != -1) { - Class105[] class105s = ((Class105[]) Class328_Sub2.aClass60_6517.method583(i_333_, -45)); - if (class105s == null) { - Class207[] class207s = Class207.method1519((Class21.aClass45_322), i_333_, 0); - if (class207s != null) { - class105s = new Class105[class207s.length]; - for (int i_334_ = 0; (class207s.length > i_334_); i_334_++) - class105s[i_334_] = (Class348_Sub8.aHa6654.method3691(class207s[i_334_], true)); - Class328_Sub2.aClass60_6517.method582(class105s, i_333_, (byte) -101); - } - } - if (class105s != null && class105s.length == 4) { - class105_332_ = (class105s[!(class318_sub1_sub3_sub3.aBoolean10226) ? 1 : 3]); - class105 = (class105s[!(class318_sub1_sub3_sub3.aBoolean10226) ? 0 : 2]); - } - } - int i_335_ = (-Class367_Sub11.anInt7396 + class318_sub1_sub3_sub3.anInt10287); - int i_336_; - if (i_335_ > class318_sub1_sub3_sub3.anInt10227) { - i_335_ -= class318_sub1_sub3_sub3.anInt10227; - int i_337_ = (class318_sub1_sub3_sub3.anInt10271 != 0 ? (class318_sub1_sub3_sub3.anInt10271 * (((class318_sub1_sub3_sub3.anInt10210) - i_335_) / (class318_sub1_sub3_sub3.anInt10271))) : 0); - i_336_ = (class105.method971() * i_337_ / class318_sub1_sub3_sub3.anInt10210); - } else i_336_ = class105.method971(); - int i_338_ = class105.method969(); - i_323_ -= i_338_; - int i_339_ = (Class239_Sub21.anIntArray6062[0] + (i_317_ + -(class105.method971() >> 1))); - class105.method974(i_339_, i_323_); - Class348_Sub8.aHa6654.T(i_339_, i_323_, i_339_ - -i_336_, i_323_ - -i_338_); - class105_332_.method974(i_339_, i_323_); - Class348_Sub8.aHa6654.KA(i_317_, i, i_318_ + i_317_, i - -i_315_); - Class338.method2663(-5590, i_339_, class105.method966() + i_339_, i_323_, i_338_ + i_323_); - i_323_ -= 2; - } - if (i_322_ < i_321_) { - Player player = ((Player) class318_sub1_sub3_sub3); - if (player.anInt10540 != -1) { - i_323_ -= 25; - Class105 class105 = (Class318_Sub1_Sub1_Sub1.aClass105Array9959[(player.anInt10540)]); - class105.method974((-12 + i_317_ + (Class239_Sub21.anIntArray6062[0])), i_323_); - Class338.method2663(-5590, i_317_ + (Class239_Sub21.anIntArray6062[0] + -12), (i_317_ - -Class239_Sub21.anIntArray6062[0] + (-12 + class105.method966())), i_323_, i_323_ + class105.method980()); - i_323_ -= 2; - } - if (player.anInt10522 != -1) { - i_323_ -= 25; - Class105 class105 = (Class264.aClass105Array3378[(player.anInt10522)]); - class105.method974((-12 + i_317_ + (Class239_Sub21.anIntArray6062[0])), i_323_); - Class338.method2663(-5590, (-12 + Class239_Sub21.anIntArray6062[0] + i_317_), (Class239_Sub21.anIntArray6062[0] + i_317_ - (12 + -class105.method966())), i_323_, i_323_ - -class105.method980()); - i_323_ -= 2; - } - } else if (class79.anInt1375 >= 0 && (class79.anInt1375 < Class264.aClass105Array3378.length)) { - Class105 class105 = (Class264.aClass105Array3378[class79.anInt1375]); - i_323_ -= 25; - class105.method974((i_317_ + (Class239_Sub21.anIntArray6062[0]) + -(class105.method971() >> 1)), i_323_); - Class338.method2663(-5590, (Class239_Sub21.anIntArray6062[0] + (i_317_ - (class105.method971() >> 1))), (Class239_Sub21.anIntArray6062[0] + (i_317_ - (class105.method971() >> 1)) + class105.method966()), i_323_, class105.method980() + i_323_); - i_323_ -= 2; - } - } - if (class318_sub1_sub3_sub3 instanceof Player) { - if (i_322_ >= 0) { - int i_340_ = 0; - Class302[] class302s = Class348_Sub27.aClass302Array6897; - for (int i_341_ = 0; (i_341_ < class302s.length); i_341_++) { - Class302 class302 = class302s[i_341_]; - if (class302 != null && class302.anInt3840 == 10 && (is[i_322_] == class302.anInt3833)) { - Class105 class105 = (Class239_Sub9.aClass105Array5933[class302.anInt3831]); - if (i_340_ < class105.method969()) i_340_ = class105.method969(); - class105.method974(-12 + ((Class239_Sub21.anIntArray6062[0]) + i_317_), (i_323_ + -class105.method969())); - Class338.method2663(-5590, -12 + (i_317_ - -(Class239_Sub21.anIntArray6062[0])), (i_317_ + (Class239_Sub21.anIntArray6062[0] + -12 - -class105.method966())), -class105.method969() + i_323_, (i_323_ + -class105.method969() - -class105.method980())); - } - } - if (i_340_ > 0) i_323_ -= 2 + i_340_; - } - } else { - int i_342_ = 0; - Class302[] class302s = Class348_Sub27.aClass302Array6897; - for (int i_343_ = 0; class302s.length > i_343_; i_343_++) { - Class302 class302 = class302s[i_343_]; - if (class302 != null && class302.anInt3840 == 1 && (class302.anInt3833 == Class74.anIntArray1233[i_322_ - i_321_])) { - Class105 class105 = (Class239_Sub9.aClass105Array5933[class302.anInt3831]); - if (class105.method969() > i_342_) i_342_ = class105.method969(); - if (Class367_Sub11.anInt7396 % 20 < 10) { - class105.method974((-12 + i_317_ + Class239_Sub21.anIntArray6062[0]), i_323_ + -class105.method969()); - Class338.method2663(-5590, (-12 + i_317_ - -Class239_Sub21.anIntArray6062[0]), (Class239_Sub21.anIntArray6062[0] + (i_317_ + -12) - -class105.method966()), -class105.method969() + i_323_, (-class105.method969() + (i_323_ - -class105.method980()))); - } - } - } - if (i_342_ > 0) i_323_ -= 2 + i_342_; - } - int i_344_ = 0; - for (/**/; i_344_ < Class132.anInt1905; i_344_++) { - int i_345_ = (class318_sub1_sub3_sub3.anIntArray10219[i_344_]); - int i_346_ = (class318_sub1_sub3_sub3.anIntArray10259[i_344_]); - Class31 class31 = null; - int i_347_ = 0; - if (i_346_ >= 0) { - if (i_345_ <= Class367_Sub11.anInt7396) continue; - class31 = (Class73.aClass219_4782.method1601(46, (class318_sub1_sub3_sub3.anIntArray10259[i_344_]))); - i_347_ = class31.anInt434; - } else if (i_345_ < 0) continue; - int i_348_ = (class318_sub1_sub3_sub3.anIntArray10304[i_344_]); - Class31 class31_349_ = null; - if (i_348_ >= 0) class31_349_ = Class73.aClass219_4782.method1601(46, i_348_); - if (-i_347_ + i_345_ <= Class367_Sub11.anInt7396) { - int i_350_ = (class318_sub1_sub3_sub3.anIntArray10303[i_344_]); - if (i_350_ >= 0) { - class318_sub1_sub3_sub3.anInt10223 = 300 + Class367_Sub11.anInt7396; - class318_sub1_sub3_sub3.anInt10295 = i_350_; - class318_sub1_sub3_sub3.anIntArray10303[i_344_] = -1; - } - if (class31 == null) class318_sub1_sub3_sub3.anIntArray10219[i_344_] = -1; - else { - int i_351_ = (class318_sub1_sub3_sub3.method2426(200) / 2); - Class348_Sub13.method2801(i_351_, i_318_ >> 1, i_320_, i_319_, i_315_ >> 1, class318_sub1_sub3_sub3, (byte) -107); - if (Class239_Sub21.anIntArray6062[0] > -1) { - Class239_Sub21.anIntArray6062[0] += Class118.anIntArray1786[i_344_]; - Class239_Sub21.anIntArray6062[1] += Class106.anIntArray1636[i_344_]; - Object object = null; - Object object_352_ = null; - Object object_353_ = null; - Object object_354_ = null; - int i_355_ = 0; - int i_356_ = 0; - int i_357_ = 0; - int i_358_ = 0; - int i_359_ = 0; - int i_360_ = 0; - int i_361_ = 0; - int i_362_ = 0; - Class105 class105 = null; - Class105 class105_363_ = null; - Class105 class105_364_ = null; - Class105 class105_365_ = null; - int i_366_ = 0; - int i_367_ = 0; - int i_368_ = 0; - int i_369_ = 0; - int i_370_ = 0; - int i_371_ = 0; - int i_372_ = 0; - int i_373_ = 0; - int i_374_ = 0; - Class105 class105_375_ = class31.method327((Class348_Sub8.aHa6654), (byte) -96); - if (class105_375_ != null) { - i_355_ = class105_375_.method971(); - int i_376_ = class105_375_.method969(); - class105_375_.method984(Class151.anIntArray2062); - if (i_374_ < i_376_) i_374_ = i_376_; - i_359_ = Class151.anIntArray2062[0]; - } - Class105 class105_377_ = class31.method331((Class348_Sub8.aHa6654), (byte) -75); - if (class105_377_ != null) { - i_356_ = class105_377_.method971(); - int i_378_ = class105_377_.method969(); - class105_377_.method984(Class151.anIntArray2062); - if (i_378_ > i_374_) i_374_ = i_378_; - i_360_ = Class151.anIntArray2062[0]; - } - Class105 class105_379_ = class31.method324((Class348_Sub8.aHa6654), true); - if (class105_379_ != null) { - i_357_ = class105_379_.method971(); - int i_380_ = class105_379_.method969(); - if (i_374_ < i_380_) i_374_ = i_380_; - class105_379_.method984(Class151.anIntArray2062); - i_361_ = Class151.anIntArray2062[0]; - } - Class105 class105_381_ = class31.method325((Class348_Sub8.aHa6654), 105); - if (class105_381_ != null) { - i_358_ = class105_381_.method971(); - int i_382_ = class105_381_.method969(); - class105_381_.method984(Class151.anIntArray2062); - if (i_374_ < i_382_) i_374_ = i_382_; - i_362_ = Class151.anIntArray2062[0]; - } - if (class31_349_ != null) { - class105 = (class31_349_.method327(Class348_Sub8.aHa6654, (byte) 110)); - if (class105 != null) { - i_366_ = class105.method971(); - int i_383_ = class105.method969(); - if (i_383_ > i_374_) i_374_ = i_383_; - class105.method984(Class151.anIntArray2062); - i_370_ = Class151.anIntArray2062[0]; - } - class105_363_ = (class31_349_.method331(Class348_Sub8.aHa6654, (byte) -80)); - if (class105_363_ != null) { - i_367_ = class105_363_.method971(); - int i_384_ = class105_363_.method969(); - if (i_384_ > i_374_) i_374_ = i_384_; - class105_363_.method984(Class151.anIntArray2062); - i_371_ = Class151.anIntArray2062[0]; - } - class105_364_ = (class31_349_.method324(Class348_Sub8.aHa6654, true)); - if (class105_364_ != null) { - i_368_ = class105_364_.method971(); - int i_385_ = class105_364_.method969(); - class105_364_.method984(Class151.anIntArray2062); - if (i_385_ > i_374_) i_374_ = i_385_; - i_372_ = Class151.anIntArray2062[0]; - } - class105_365_ = (class31_349_.method325(Class348_Sub8.aHa6654, i_316_ ^ 0x35)); - if (class105_365_ != null) { - i_369_ = class105_365_.method971(); - int i_386_ = class105_365_.method969(); - if (i_386_ > i_374_) i_374_ = i_386_; - class105_365_.method984(Class151.anIntArray2062); - i_373_ = Class151.anIntArray2062[0]; - } - } - Class324 class324 = Class240.aClass324_4684; - Class324 class324_387_ = Class240.aClass324_4684; - Class143 class143 = Class258_Sub1.aClass143_8527; - int i_388_ = class31.anInt435; - Class143 class143_389_ = Class258_Sub1.aClass143_8527; - if (i_388_ >= 0) { - Class324 class324_390_ = Class14.method232((Class348_Sub8.aHa6654), (byte) -53, true, i_388_); - Class143 class143_391_ = (Class135.method1151(-25411, Class348_Sub8.aHa6654, i_388_)); - if (class324_390_ != null && class143_391_ != null) { - class324 = class324_390_; - class143 = class143_391_; - } - } - if (class31_349_ != null) { - i_388_ = (class31_349_.anInt435); - if (i_388_ >= 0) { - Class324 class324_392_ = (Class14.method232(Class348_Sub8.aHa6654, (byte) -53, true, i_388_)); - Class143 class143_393_ = (Class135.method1151(-25411, Class348_Sub8.aHa6654, i_388_)); - if (class324_392_ != null && class143_393_ != null) { - class143_389_ = class143_393_; - class324_387_ = class324_392_; - } - } - } - Object object_394_ = null; - String string = null; - boolean bool = false; - int i_395_ = 0; - String string_396_ = (class31.method333((class318_sub1_sub3_sub3.anIntArray10229[i_344_]), 0)); - int i_397_ = class143.method1183(true, string_396_); - if (class31_349_ != null) { - string = (class31_349_.method333((class318_sub1_sub3_sub3.anIntArray10284[i_344_]), 0)); - i_395_ = class143_389_.method1183(true, string); - } - int i_398_ = 0; - if (i_356_ > 0) i_398_ = i_397_ / i_356_ + 1; - int i_399_ = 0; - if (class31_349_ != null && i_367_ > 0) i_399_ = i_395_ / i_367_ - -1; - int i_400_ = 0; - int i_401_ = i_400_; - if (i_355_ > 0) i_400_ += i_355_; - i_400_ += 2; - int i_402_ = i_400_; - if (i_357_ > 0) i_400_ += i_357_; - int i_403_ = i_400_; - int i_404_ = i_400_; - if (i_356_ <= 0) i_400_ += i_397_; - else { - int i_405_ = i_356_ * i_398_; - i_404_ += (i_405_ + -i_397_) / 2; - i_400_ += i_405_; - } - int i_406_ = i_400_; - if (i_358_ > 0) i_400_ += i_358_; - int i_407_ = 0; - int i_408_ = 0; - int i_409_ = 0; - int i_410_ = 0; - int i_411_ = 0; - if (class31_349_ != null) { - i_400_ += 2; - i_407_ = i_400_; - if (i_366_ > 0) i_400_ += i_366_; - i_400_ += 2; - i_408_ = i_400_; - if (i_368_ > 0) i_400_ += i_368_; - i_411_ = i_400_; - i_409_ = i_400_; - if (i_367_ > 0) { - int i_412_ = i_399_ * i_367_; - i_411_ += (i_412_ - i_395_) / 2; - i_400_ += i_412_; - } else i_400_ += i_395_; - i_410_ = i_400_; - if (i_369_ > 0) i_400_ += i_369_; - } - int i_413_ = (-Class367_Sub11.anInt7396 + (class318_sub1_sub3_sub3.anIntArray10219[i_344_])); - int i_414_ = (-(class31.anInt424 * i_413_ / class31.anInt434) + class31.anInt424); - int i_415_ = (-class31.anInt422 + (class31.anInt422 * i_413_ / class31.anInt434)); - int i_416_ = (i_317_ + Class239_Sub21.anIntArray6062[0] + -(i_400_ >> 1) - -i_414_); - int i_417_ = -12 + (i + ((Class239_Sub21.anIntArray6062[1]) - -i_415_)); - int i_418_ = i_417_; - int i_419_ = i_417_ + i_374_; - int i_420_ = 15 + (i_417_ - -(class31.anInt420)); - int i_421_ = (i_420_ + -class143.anInt1988); - int i_422_ = (i_420_ - -class143.anInt1993); - if (i_418_ > i_421_) i_418_ = i_421_; - if (i_419_ < i_422_) i_419_ = i_422_; - int i_423_ = 0; - if (class31_349_ != null) { - i_423_ = 15 + (i_417_ - -(class31_349_.anInt420)); - int i_424_ = (-(class143_389_.anInt1988) + i_423_); - if (i_424_ < i_418_) i_418_ = i_424_; - int i_425_ = ((class143_389_.anInt1993) + i_423_); - if (i_419_ < i_425_) i_419_ = i_425_; - } - int i_426_ = 255; - if (class31.anInt426 >= 0) i_426_ = ((i_413_ << 8) / (-class31.anInt426 + (class31.anInt434))); - if (i_426_ >= 0 && i_426_ < 255) { - int i_427_ = i_426_ << 24; - int i_428_ = 0xffffff | i_427_; - if (class105_375_ != null) class105_375_.method964((-i_359_ + i_401_ + i_416_), i_417_, 0, i_428_, 1); - if (class105_379_ != null) class105_379_.method964((-i_361_ + i_402_ + i_416_), i_417_, 0, i_428_, 1); - if (class105_377_ != null) { - for (int i_429_ = 0; (i_398_ > i_429_); i_429_++) - class105_377_.method964((i_403_ + (i_416_ + (-i_360_ - -(i_356_ * i_429_)))), i_417_, 0, i_428_, 1); - } - if (class105_381_ != null) class105_381_.method964(i_406_ + i_416_ + -i_362_, i_417_, 0, i_428_, 1); - class324.method2576(string_396_, (class31.anInt444 | i_427_), i_420_, i_404_ + i_416_, 0, -124); - if (class31_349_ != null) { - if (class105 != null) class105.method964((i_416_ + i_407_ - i_370_), i_417_, 0, i_428_, 1); - if (class105_364_ != null) class105_364_.method964(-i_372_ + (i_408_ + i_416_), i_417_, 0, i_428_, 1); - if (class105_363_ != null) { - for (int i_430_ = 0; i_430_ < i_399_; i_430_++) - class105_363_.method964((i_430_ * i_367_ + i_416_ + (i_409_ + -i_371_)), i_417_, 0, i_428_, 1); - } - if (class105_365_ != null) class105_365_.method964((i_416_ - -i_410_ + -i_373_), i_417_, 0, i_428_, 1); - class324_387_.method2576(string, (i_427_ | (class31_349_.anInt444)), i_423_, i_416_ + i_411_, 0, -125); - } - } else { - if (class105_375_ != null) class105_375_.method974(i_416_ - (-i_401_ + i_359_), i_417_); - if (class105_379_ != null) class105_379_.method974(i_416_ - (-i_402_ - -i_361_), i_417_); - if (class105_377_ != null) { - for (int i_431_ = 0; i_431_ < i_398_; i_431_++) - class105_377_.method974((i_403_ + i_416_ - (i_360_ - i_431_ * i_356_)), i_417_); - } - if (class105_381_ != null) class105_381_.method974(i_406_ + (i_416_ + -i_362_), i_417_); - class324.method2576(string_396_, (class31.anInt444 | ~0xffffff), i_420_, i_416_ + i_404_, 0, i_316_ ^ ~0x74); - if (class31_349_ != null) { - if (class105 != null) class105.method974((-i_370_ + i_416_ + i_407_), i_417_); - if (class105_364_ != null) class105_364_.method974(i_408_ + (i_416_ + -i_372_), i_417_); - if (class105_363_ != null) { - for (int i_432_ = 0; i_399_ > i_432_; i_432_++) - class105_363_.method974((i_432_ * i_367_ + (-i_371_ + i_416_ + i_409_)), i_417_); - } - if (class105_365_ != null) class105_365_.method974(i_410_ + i_416_ - i_373_, i_417_); - class324_387_.method2576(string, (class31_349_.anInt444) | ~0xffffff, i_423_, i_411_ + i_416_, 0, -119); - } - } - Class338.method2663(-5590, i_416_, i_416_ + i_400_, i_418_, 1 + i_419_); - } - } - } - } - } - } - } - for (int i_433_ = 0; i_433_ < Class45.anInt669; i_433_++) { - int i_434_ = Class258_Sub4.anIntArray8557[i_433_]; - Class318_Sub1_Sub3_Sub3 class318_sub1_sub3_sub3; - if (i_434_ >= 2048) class318_sub1_sub3_sub3 = (((Class348_Sub22) Class282.aClass356_3654.method3480(-2048 + i_434_, -6008)).aNpc_6859); - else class318_sub1_sub3_sub3 = Class294.aPlayerArray5058[i_434_]; - int i_435_ = Class268.anIntArray3432[i_433_]; - Class318_Sub1_Sub3_Sub3 class318_sub1_sub3_sub3_436_; - if (i_435_ >= 2048) class318_sub1_sub3_sub3_436_ = (((Class348_Sub22) Class282.aClass356_3654.method3480(-2048 + i_435_, -6008)).aNpc_6859); - else class318_sub1_sub3_sub3_436_ = Class294.aPlayerArray5058[i_435_]; - Class191.method1430(--class318_sub1_sub3_sub3.anInt10261, (byte) 119, i_320_, i_315_, i, i_319_, i_318_, i_317_, class318_sub1_sub3_sub3_436_, class318_sub1_sub3_sub3); - } - int i_437_ = i_316_ + (Class369.aClass143_4962.anInt1993 + Class369.aClass143_4962.anInt1988); - for (int i_438_ = 0; i_438_ < Class88.anInt1497; i_438_++) { - int i_439_ = Class309.anIntArray4822[i_438_]; - int i_440_ = Class309.anIntArray4813[i_438_]; - int i_441_ = Class309.anIntArray4819[i_438_]; - boolean bool = true; - while (bool) { - bool = false; - for (int i_442_ = 0; i_438_ > i_442_; i_442_++) { - if (i_440_ - -2 > Class309.anIntArray4813[i_442_] + -i_437_ && (-i_437_ + i_440_ < 2 + Class309.anIntArray4813[i_442_]) && ((Class309.anIntArray4822[i_442_] - -Class309.anIntArray4819[i_442_]) > i_439_ + -i_441_) && ((-Class309.anIntArray4819[i_442_] + Class309.anIntArray4822[i_442_]) < i_439_ + i_441_) && (-i_437_ + Class309.anIntArray4813[i_442_] < i_440_)) { - i_440_ = -i_437_ + Class309.anIntArray4813[i_442_]; - bool = true; - } - } - } - Class309.anIntArray4813[i_438_] = i_440_; - String string = Class309.aStringArray4818[i_438_]; - int i_443_ = Class369.aClass143_4962.method1183(true, string); - int i_444_ = i_439_ + i_317_; - int i_445_ = -Class369.aClass143_4962.anInt1988 + i_440_ + i; - int i_446_ = i_444_ - -i_443_; - int i_447_ = i_440_ + i - -Class369.aClass143_4962.anInt1993; - if (Class348_Sub40_Sub31.anInt9408 == 0) { - int i_448_ = 16776960; - if (Class309.anIntArray4817[i_438_] < 6) i_448_ = (Class115.anIntArray1757[Class309.anIntArray4817[i_438_]]); - if (Class309.anIntArray4817[i_438_] == 6) i_448_ = (Class239_Sub15.anInt6006 % 20 >= 10 ? 16776960 : 16711680); - if (Class309.anIntArray4817[i_438_] == 7) i_448_ = Class239_Sub15.anInt6006 % 20 < 10 ? 255 : 65535; - if (Class309.anIntArray4817[i_438_] == 8) i_448_ = (Class239_Sub15.anInt6006 % 20 >= 10 ? 8454016 : 45056); - if (Class309.anIntArray4817[i_438_] == 9) { - int i_449_ = -Class309.anIntArray4812[i_438_] + 150; - if (i_449_ < 50) i_448_ = 1280 * i_449_ + 16711680; - else if (i_449_ < 100) i_448_ = -(327680 * i_449_) + 16384000 + 16776960; - else if (i_449_ < 150) i_448_ = 5 * (-100 + i_449_) + 65280; - } - if (Class309.anIntArray4817[i_438_] == 10) { - int i_450_ = 150 - Class309.anIntArray4812[i_438_]; - if (i_450_ >= 50) { - if (i_450_ >= 100) { - if (i_450_ < 150) i_448_ = (-(5 * i_450_) - -500 + 327680 * i_450_ - 32767745); - } else i_448_ = 33095935 + -(327680 * i_450_); - } else i_448_ = 16711680 + 5 * i_450_; - } - if (Class309.anIntArray4817[i_438_] == 11) { - int i_451_ = 150 - Class309.anIntArray4812[i_438_]; - if (i_451_ >= 50) { - if (i_451_ < 100) i_448_ = 327685 * (-50 + i_451_) + 65280; - else if (i_451_ < 150) i_448_ = 16777215 + -(327680 * (i_451_ - 100)); - } else i_448_ = 16777215 + -(i_451_ * 327685); - } - int i_452_ = ~0xffffff | i_448_; - if (Class309.anIntArray4806[i_438_] == 0) { - Class262.aClass324_3326.method2575((byte) 115, i_439_ + i_317_, i_452_, string, -16777216, i_440_ + i); - i_444_ -= i_443_ >> 1; - i_446_ -= i_443_ >> 1; - } - if (Class309.anIntArray4806[i_438_] == 1) { - i_446_ -= i_443_ >> 1; - i_444_ -= i_443_ >> 1; - Class262.aClass324_3326.method2574(i_452_, i_440_ + i, string, i_317_ - -i_439_, -16777216, Class239_Sub15.anInt6006, false); - i_447_ += 5; - i_445_ -= 5; - } - if (Class309.anIntArray4806[i_438_] == 2) { - i_447_ += 5; - i_446_ -= -5 + (i_443_ >> 1); - Class262.aClass324_3326.method2581(string, i_452_, (Class239_Sub15.anInt6006), i_440_ + i, (byte) -112, -16777216, i_317_ - -i_439_); - i_445_ -= 5; - i_444_ -= (i_443_ >> 1) - -5; - } - if (Class309.anIntArray4806[i_438_] == 3) { - i_446_ -= i_443_ >> 1; - i_444_ -= i_443_ >> 1; - i_447_ += 7; - Class262.aClass324_3326.method2577(Class239_Sub15.anInt6006, i + i_440_, string, i_452_, -16777216, 150 + -Class309.anIntArray4812[i_438_], i_439_ + i_317_, -20509); - i_445_ -= 7; - } - if (Class309.anIntArray4806[i_438_] == 4) { - int i_453_ = ((150 + -Class309.anIntArray4812[i_438_]) * (Class369.aClass143_4962.method1183(true, string) + 100) / 150); - Class348_Sub8.aHa6654.T(i_317_ - (-i_439_ - -50), i, 50 + (i_439_ + i_317_), i - -i_315_); - i_444_ += 50 - i_453_; - i_446_ += -i_453_ + 50; - Class262.aClass324_3326.method2576(string, i_452_, i + i_440_, (i_317_ - (-i_439_ - 50) - i_453_), -16777216, i_316_ + -125); - Class348_Sub8.aHa6654.KA(i_317_, i, i_318_ + i_317_, i + i_315_); - } - if (Class309.anIntArray4806[i_438_] == 5) { - int i_454_ = 150 + -Class309.anIntArray4812[i_438_]; - int i_455_ = 0; - if (i_454_ >= 25) { - if (i_454_ > 125) i_455_ = i_454_ + -125; - } else i_455_ = i_454_ - 25; - int i_456_ = (Class369.aClass143_4962.anInt1993 + Class369.aClass143_4962.anInt1988); - Class348_Sub8.aHa6654.T(i_317_, i_440_ + i - (i_456_ - -1), i_318_ + i_317_, 5 + i_440_ + i); - i_444_ -= i_443_ >> 1; - i_447_ += i_455_; - Class262.aClass324_3326.method2575((byte) -105, i_439_ + i_317_, i_452_, string, -16777216, i_455_ + (i + i_440_)); - i_445_ += i_455_; - i_446_ -= i_443_ >> 1; - Class348_Sub8.aHa6654.KA(i_317_, i, i_318_ + i_317_, i_315_ + i); - } - } else { - i_444_ -= i_443_ >> 1; - i_446_ -= i_443_ >> 1; - Class262.aClass324_3326.method2575((byte) 118, i_439_ + i_317_, -256, string, -16777216, i_440_ + i); - } - Class338.method2663(i_316_ + -5592, i_444_, 1 + i_446_, i_445_, 1 + i_447_); - } - } - - private final void method3803(int i) { - aFloat7824 = -aFloat7786 + (float) (anInt7814 - this.anInt7813); - anInt7639++; - this.aFloat7792 = aFloat7824 - aFloat7857 * (float) this.anInt7782; - if ((float) this.anInt7826 > this.aFloat7792) this.aFloat7792 = (float) this.anInt7826; - OpenGL.glFogf(2915, this.aFloat7792); - OpenGL.glFogf(2916, aFloat7824); - InputStream_Sub2.aFloatArray84[0] = ((float) Class139.method1166(i, this.anInt7856) / 1.671168E7F); - InputStream_Sub2.aFloatArray84[1] = ((float) Class139.method1166(this.anInt7856, 65280) / 65280.0F); - InputStream_Sub2.aFloatArray84[2] = ((float) Class139.method1166(this.anInt7856, 255) / 255.0F); - OpenGL.glFogfv(2918, InputStream_Sub2.aFloatArray84, 0); - } - - final void method3804(boolean bool, byte i) { - if (!bool == aBoolean7805) { - aBoolean7805 = bool; - method3768((byte) -117); - } - if (i < -56) anInt7564++; - } - - final void method3626(int i, int i_457_) throws Exception_Sub1 { - try { - anOpenGL7664.swapBuffers(); - } catch (Exception exception) { - /* empty */ - } - anInt7624++; - } - - final void f(int i, int i_458_) { - anInt7606++; - if (i != this.anInt7826 || anInt7814 != i_458_) { - this.anInt7826 = i; - anInt7814 = i_458_; - method3806(98); - method3803(16711680); - if (anInt7865 == 3) method3747((byte) -63); - else if (anInt7865 == 2) method3730((byte) 121); - } - } - - final void method3658(int i, int i_459_, int i_460_, int i_461_) { - aClass18_7720.method275(i_460_, i, i_461_, i_459_, -1); - anInt7651++; - } - - final void method3805(int i, Interface11 interface11) { - try { - anInt7697++; - if (anInt7738 < 0 || interface11 != anInterface11Array7741[anInt7738]) throw new RuntimeException(); - anInterface11Array7741[anInt7738--] = null; - interface11.method45((byte) -47); - if (i == 8387) { - if (anInt7738 < 0) anInterface11_7745 = null; - else { - anInterface11_7745 = anInterface11Array7741[anInt7738]; - anInterface11_7745.method49(-27141); - } - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.CA(" + i + ',' + (interface11 != null ? "{...}" : "null") + ')')); - } - } - - final void method3631(int i) { - anInt7520++; - if (i != 1) throw new IllegalArgumentException(""); - } - - final Interface3 method3665(int i, int i_462_) { - anInt7561++; - return null; - } - - private final void method3806(int i) { - anInt7614++; - float[] fs = aFloatArray7779; - float f = ((float) (this.anInt7826 * -this.anInt7853) / (float) this.anInt7771); - float f_463_ = ((float) ((this.anInt7688 - this.anInt7853) * this.anInt7826) / (float) this.anInt7771); - if (i < 28) aClass258_Sub3_Sub1_7776 = null; - float f_464_ = ((float) (this.anInt7826 * this.anInt7810) / (float) this.anInt7794); - float f_465_ = ((float) ((this.anInt7810 + -this.anInt7641) * this.anInt7826) / (float) this.anInt7794); - if (f_463_ == f || f_465_ == f_464_) { - fs[13] = 0.0F; - fs[15] = 1.0F; - fs[3] = 0.0F; - fs[11] = 0.0F; - fs[12] = 0.0F; - fs[4] = 0.0F; - fs[6] = 0.0F; - fs[8] = 0.0F; - fs[7] = 0.0F; - fs[1] = 0.0F; - fs[10] = 1.0F; - fs[14] = 0.0F; - fs[5] = 1.0F; - fs[0] = 1.0F; - fs[9] = 0.0F; - fs[2] = 0.0F; - } else { - float f_466_ = 2.0F * (float) this.anInt7826; - fs[1] = 0.0F; - fs[5] = f_466_ / (f_464_ - f_465_); - fs[9] = (f_464_ + f_465_) / (-f_465_ + f_464_); - fs[3] = 0.0F; - fs[4] = 0.0F; - fs[8] = (f_463_ + f) / (f_463_ - f); - fs[7] = 0.0F; - fs[14] = aFloat7842 = (-((float) anInt7814 * f_466_) / (float) (-this.anInt7826 + anInt7814)); - fs[2] = 0.0F; - fs[11] = -1.0F; - fs[15] = 0.0F; - fs[10] = aFloat7854 = ((float) -(anInt7814 - -this.anInt7826) / (float) (-this.anInt7826 + anInt7814)); - fs[12] = 0.0F; - fs[0] = f_466_ / (-f + f_463_); - fs[13] = 0.0F; - fs[6] = 0.0F; - } - method3777(-24051); - } - - final void method3633() { - anInt7692++; - OpenGL.glFinish(); - } - - final Class105 method3691(Class207 class207, boolean bool) { - try { - anInt7657++; - int[] is = new int[(class207.anInt2702 * class207.anInt2696)]; - int i = 0; - int i_467_ = 0; - if (class207.aByteArray2695 == null) { - for (int i_470_ = 0; class207.anInt2696 > i_470_; i_470_++) { - for (int i_471_ = 0; (class207.anInt2702 > i_471_); i_471_++) { - int i_472_ = (class207.anIntArray2697[0xff & (class207.aByteArray2699[i++])]); - is[i_467_++] = i_472_ == 0 ? 0 : Class273.method2057(-16777216, i_472_); - } - } - } else { - for (int i_468_ = 0; class207.anInt2696 > i_468_; i_468_++) { - for (int i_469_ = 0; (i_469_ < class207.anInt2702); i_469_++) { - is[i_467_++] = (Class273.method2057((class207.aByteArray2695[i] << 24), (class207.anIntArray2697[Class139.method1166((class207.aByteArray2699[i]), 255)]))); - i++; - } - } - } - Class105 class105 = this.method3662(class207.anInt2702, is, (byte) 94, 0, class207.anInt2702, class207.anInt2696); - class105.method985(class207.anInt2703, class207.anInt2700, class207.anInt2698, class207.anInt2701); - return class105; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qo.GF(" + (class207 != null ? "{...}" : "null") + ',' + bool + ')')); - } - } - - final void method3807(boolean bool, int i) { - if (i != 2) anInt7814 = -59; - anInt7517++; - if (!bool != !aBoolean7801) { - aBoolean7801 = bool; - method3732(-87); - anInt7765 &= ~0x1f; - } - } - - final void method3808(int i, int i_473_) { - InputStream_Sub2.aFloatArray84[2] = (float) Class139.method1166(i, 255) / 255.0F; - if (i_473_ <= 116) this.anInt7771 = 76; - InputStream_Sub2.aFloatArray84[3] = (float) (i >>> 24) / 255.0F; - InputStream_Sub2.aFloatArray84[1] = (float) Class139.method1166(i, 65280) / 65280.0F; - anInt7659++; - InputStream_Sub2.aFloatArray84[0] = (float) Class139.method1166(16711680, i) / 1.671168E7F; - OpenGL.glTexEnvfv(8960, 8705, InputStream_Sub2.aFloatArray84, 0); - } - - final int[] na(int i, int i_474_, int i_475_, int i_476_) { - anInt7622++; - int[] is = new int[i_475_ * i_476_]; - for (int i_477_ = 0; i_476_ > i_477_; i_477_++) - OpenGL.glReadPixelsi(i, (-i_474_ + this.anInt7641 + -i_477_), i_475_, 1, 32993, this.anInt7812, is, i_475_ * i_477_); - return is; - } - - private final void method3809(boolean bool) { - OpenGL.glViewport(anInt7770, anInt7867, this.anInt7688, this.anInt7641); - anInt7718++; - if (bool != true) this.aClass64_Sub3_7780 = null; - } - - final boolean method3699() { - anInt7700++; - return aBoolean7843 && (!method3666() || aBoolean7822); - } - - final synchronized void method3810(int i, int i_478_, int i_479_) { - if (i_479_ < -57) { - anInt7677++; - Class348_Sub35 class348_sub35 = new Class348_Sub35(i_478_); - class348_sub35.aLong4291 = i; - aClass262_7754.method1999(class348_sub35, -20180); - } - } - - private final void method3811(byte i) { - anInt7690++; - if (i == 11) { - if (anInt7855 >= anInt7868 && anInt7773 <= anInt7787) OpenGL.glScissor(anInt7770 + anInt7868, (anInt7867 + this.anInt7641 - anInt7787), -anInt7868 + anInt7855, -anInt7773 + anInt7787); - else OpenGL.glScissor(0, 0, 0, 0); - } - } - - final boolean method3708() { - anInt7603++; - return false; - } - - static { - aClass351_7554 = new Class351(52, 4); - aClass351_7715 = new Class351(58, 4); - anInt7722 = 0; - } -} diff --git a/client/src/ha_Sub3.java b/client/src/ha_Sub3.java deleted file mode 100644 index deaa8ff1d..000000000 --- a/client/src/ha_Sub3.java +++ /dev/null @@ -1,2795 +0,0 @@ -/* ha_Sub3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaclib.memory.Buffer; -import jaclib.memory.Stream; -import jaclib.memory.heap.NativeHeap; -import jaclib.memory.heap.NativeHeapBuffer; -import jagex3.graphics2.hw.NativeInterface; - -import java.awt.*; -import java.lang.reflect.Method; -import java.util.Enumeration; -import java.util.Hashtable; - -abstract class ha_Sub3 extends ha { - static int anInt7884; - static int anInt7885; - static int anInt7886; - static int anInt7887; - static int anInt7888; - static int anInt7889; - static int anInt7890; - NativeHeap aNativeHeap7891; - static int anInt7892; - static int anInt7893; - static int anInt7894; - static int anInt7895; - static int anInt7896; - static int anInt7897; - static int anInt7898; - static int anInt7899; - static int anInt7900; - static int anInt7901; - static int anInt7902; - static int anInt7903; - static int anInt7904; - long aLong7905; - static int anInt7906; - static int anInt7907; - static int anInt7908; - static int anInt7909; - private Canvas aCanvas7910; - static int anInt7911; - static int anInt7912; - static int anInt7913; - static int anInt7914; - static int anInt7915; - static int anInt7916; - static int anInt7917; - static int anInt7918; - Object anObject7919; - static int anInt7920; - static int anInt7921; - static int anInt7922; - static int anInt7923; - NativeInterface aNativeInterface7924; - Canvas aCanvas7925; - static int anInt7926; - private Class262 aClass262_7927 = new Class262(); - static int anInt7928; - static int anInt7929; - static int anInt7930; - int anInt7931; - static int anInt7932; - static int anInt7933; - static int anInt7934; - static int anInt7935; - static int anInt7936; - Class269 aClass269_7937; - static int anInt7938; - static int anInt7939; - static int anInt7940; - static int anInt7941; - static int anInt7942; - static int anInt7943; - static int anInt7944; - static int anInt7945; - static int anInt7946; - static int anInt7947; - static int anInt7948; - static int anInt7949; - static int anInt7950; - static int anInt7951; - static int anInt7952; - static int anInt7953; - static int anInt7954; - static int anInt7955; - static int anInt7956; - static int anInt7957; - private int anInt7958; - static int anInt7959; - static int anInt7960; - static int anInt7961; - int anInt7962; - static int anInt7963; - static int anInt7964; - static int anInt7965; - static int anInt7966; - static int anInt7967; - static int anInt7968; - static int anInt7969; - static int anInt7970; - static int anInt7971; - static int anInt7972; - static int anInt7973; - NativeHeapBuffer aNativeHeapBuffer7974; - static int anInt7975; - static int anInt7976; - static int anInt7977; - static int anInt7978; - static int anInt7979; - static int anInt7980; - static int anInt7981; - static int anInt7982; - static int anInt7983; - static int anInt7984; - static int anInt7985; - static int anInt7986; - private int anInt7987; - static int anInt7988; - static int anInt7989; - static int anInt7990; - static int anInt7991; - static int anInt7992; - static int anInt7993; - static int anInt7994; - static int anInt7995; - static int anInt7996; - static int anInt7997; - static int anInt7998; - static int anInt7999; - static int anInt8000; - static int anInt8001; - static int anInt8002; - static int anInt8003; - static int anInt8004; - static int anInt8005; - static int anInt8006; - static int anInt8007; - static int anInt8008; - static int anInt8009; - static int anInt8010; - static int anInt8011; - static int anInt8012; - static int anInt8013; - private Hashtable aHashtable8014; - static int anInt8015; - static int anInt8016; - static int anInt8017; - static int anInt8018; - static String[] aStringArray8019 = new String[5]; - private Object anObject8020; - static int anInt8021; - static int anInt8022; - static int anInt8023; - static int anInt8024; - static int anInt8025; - static int anInt8026; - static int anInt8027; - static int anInt8028; - static int anInt8029; - static int anInt8030; - static int anInt8031; - static int anInt8032; - static int anInt8033; - static int anInt8034; - static int anInt8035; - static int anInt8036; - static int anInt8037; - static int anInt8038; - Class45 aClass45_8039; - static int anInt8040; - static int anInt8041; - static int anInt8042; - static int anInt8043; - static int anInt8044; - static int anInt8045 = 0; - static int anInt8046; - static int anInt8047; - static int anInt8048; - static int anInt8049; - static int anInt8050; - static int anInt8051; - static int anInt8052; - static int anInt8053; - static int anInt8054; - static int anInt8055; - static int anInt8056; - static int anInt8057; - static int anInt8058; - static int anInt8059; - static int anInt8060; - static int anInt8061; - int anInt8062; - int anInt8063; - static int anInt8064; - static int anInt8065; - static int anInt8066; - static int anInt8067; - static int anInt8068; - boolean aBoolean8069 = true; - static int anInt8070; - static int anInt8071; - static int anInt8072; - static int anInt8073; - Class101_Sub2 aClass101_Sub2_8074 = new Class101_Sub2(); - static int anInt8075; - static int anInt8076; - static int anInt8077; - static int anInt8078; - int anInt8079; - Class101_Sub2 aClass101_Sub2_8080 = new Class101_Sub2(); - static int anInt8081; - Class101_Sub2 aClass101_Sub2_8082 = new Class101_Sub2(); - Class101_Sub2 aClass101_Sub2_8083 = new Class101_Sub2(); - private final Class101_Sub2 aClass101_Sub2_8084 = new Class101_Sub2(); - private Class101_Sub2 aClass101_Sub2_8085 = new Class101_Sub2(); - Class229[] aClass229Array8086; - float aFloat8087; - private Stream aStream8088; - float aFloat8089; - int anInt8090; - int anInt8091; - Class229[] aClass229Array8092; - float aFloat8093 = 1.0F; - int anInt8094; - int anInt8095; - int anInt8096; - private boolean aBoolean8097; - private Interface18[] anInterface18Array8098; - private int anInt8099 = -1; - private int anInt8100; - boolean aBoolean8101; - float[] aFloatArray8102; - float aFloat8103; - private int anInt8104; - int anInt8105; - int anInt8106; - int anInt8107; - private int anInt8108; - int anInt8109; - boolean aBoolean8110; - private final float[] aFloatArray8111; - private boolean aBoolean8112; - Class251[] aClass251Array8113; - int anInt8114; - float aFloat8115; - boolean aBoolean8116; - int anInt8117; - boolean aBoolean8118; - int anInt8119; - private final float[] aFloatArray8120; - private boolean aBoolean8121; - int anInt8122; - boolean aBoolean8123; - boolean aBoolean8124; - int anInt8125; - float aFloat8126; - private boolean aBoolean8127; - private float aFloat8128; - int anInt8129; - int anInt8130; - Class101_Sub2[] aClass101_Sub2Array8131; - Class348_Sub1[] aClass348_Sub1Array8132; - int anInt8133; - int anInt8134; - float[] aFloatArray8135; - private Class280 aClass280_8136; - private final Class372 aClass372_8137; - int anInt8138; - private final Class367[] aClass367Array8139; - private float[] aFloatArray8140; - boolean aBoolean8141; - private float[] aFloatArray8142; - private Class367 aClass367_8143; - int anInt8144; - boolean aBoolean8145; - int anInt8146; - Interface18 anInterface18_8147; - boolean aBoolean8148; - boolean aBoolean8149; - int anInt8150; - int anInt8151; - private float[] aFloatArray8152; - private boolean aBoolean8153; - int anInt8154; - private float aFloat8155; - private int anInt8156; - private float[] aFloatArray8157; - float aFloat8158; - boolean aBoolean8159; - boolean aBoolean8160; - private int anInt8161; - private int anInt8162; - Class173 aClass173_8163; - boolean aBoolean8164; - int anInt8165; - private float aFloat8166; - private int anInt8167; - float aFloat8168; - float aFloat8169; - float[] aFloatArray8170; - private Class299_Sub2 aClass299_Sub2_8171; - private int anInt8172; - float aFloat8173; - float aFloat8174; - int anInt8175; - private boolean aBoolean8176; - private int anInt8177; - int anInt8178; - private int anInt8179; - float aFloat8180; - int anInt8181; - boolean aBoolean8182; - int anInt8183; - Class196 aClass196_8184; - float aFloat8185; - float aFloat8186; - Class64_Sub2 aClass64_Sub2_8187; - Class64_Sub2 aClass64_Sub2_8188; - Class64_Sub2 aClass64_Sub2_8189; - private Class130 aClass130_8190; - Class130 aClass130_8191; - Class64_Sub2 aClass64_Sub2_8192; - private Interface5_Impl1 anInterface5_Impl1_8193; - Class64_Sub2 aClass64_Sub2_8194; - private Interface5_Impl2 anInterface5_Impl2_8195; - private final Class101_Sub2 aClass101_Sub2_8196; - private Class130 aClass130_8197; - Class64_Sub2 aClass64_Sub2_8198; - Class64_Sub2 aClass64_Sub2_8199; - Class64_Sub2 aClass64_Sub2_8200; - private Interface5_Impl1 anInterface5_Impl1_8201; - Class130 aClass130_8202; - private Interface5_Impl1 anInterface5_Impl1_8203; - Class130 aClass130_8204; - private Class130 aClass130_8205; - Class64_Sub2 aClass64_Sub2_8206; - Class64_Sub2 aClass64_Sub2_8207; - Class130 aClass130_8208; - boolean aBoolean8209; - private int anInt8210; - /*synthetic*/ static Class aClass8211; - - final void da(int i, int i_0_, int i_1_, int[] is) { - try { - anInt7966++; - float f = this.aClass101_Sub2_8080.method933((byte) -105, (float) i, (float) i_1_, (float) i_0_); - int i_2_; - int i_3_; - if (f >= -0.0078125F && f <= 0.0078125F) { - i_2_ = this.anInt8130; - i_3_ = this.anInt8094; - } else { - i_3_ = (int) ((float) this.anInt8129 * (this.aClass101_Sub2_8080.method929((float) i_1_, (float) i_0_, (byte) 45, (float) i)) / f); - i_2_ = (int) ((float) this.anInt8134 * (this.aClass101_Sub2_8080.method922((byte) 108, (float) i, (float) i_1_, (float) i_0_)) / f); - } - is[2] = (int) f; - is[0] = (int) ((float) i_3_ - this.aFloat8126); - is[1] = (int) ((float) i_2_ - this.aFloat8103); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.da(" + i + ',' + i_0_ + ',' + i_1_ + ',' + (is != null ? "{...}" : "null") + ')')); - } - } - - final void method3651(za var_za) { - try { - anInt8005++; - this.aNativeHeap7891 = ((za_Sub2) var_za).aNativeHeap9782; - this.aNativeHeapBuffer7974 = this.aNativeHeap7891.a(32768, false); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "wga.PF(" + (var_za != null ? "{...}" : "null") + ')'); - } - } - - final int JA(int i, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_) { - anInt8071++; - int i_9_ = 0; - float f = ((float) i_4_ * this.aClass101_Sub2_8080.aFloat5691 + (this.aClass101_Sub2_8080.aFloat5736) * (float) i + ((float) i_5_ * (this.aClass101_Sub2_8080.aFloat5716)) + (this.aClass101_Sub2_8080.aFloat5724)); - if (f < 1.0F) f = 1.0F; - float f_10_ = ((this.aClass101_Sub2_8080.aFloat5724) + ((this.aClass101_Sub2_8080.aFloat5691) * (float) i_7_ + (this.aClass101_Sub2_8080.aFloat5736) * (float) i_6_ + ((float) i_8_ * (this.aClass101_Sub2_8080.aFloat5716)))); - if (f_10_ < 1.0F) f_10_ = 1.0F; - if (!((float) this.anInt8095 > f) || !((float) this.anInt8095 > f_10_)) { - if (f > (float) this.anInt8154 && (float) this.anInt8154 < f_10_) i_9_ |= 0x20; - } else i_9_ |= 0x10; - int i_11_ = (int) (((this.aClass101_Sub2_8080.aFloat5729) + ((float) i_5_ * (this.aClass101_Sub2_8080.aFloat5704) + ((float) i * (this.aClass101_Sub2_8080.aFloat5711) + (this.aClass101_Sub2_8080.aFloat5700) * (float) i_4_))) * (float) this.anInt8129 / f); - int i_12_ = (int) (((this.aClass101_Sub2_8080.aFloat5729) + ((this.aClass101_Sub2_8080.aFloat5700 * (float) i_7_) + (float) i_6_ * this.aClass101_Sub2_8080.aFloat5711 + (float) i_8_ * this.aClass101_Sub2_8080.aFloat5704)) * (float) this.anInt8129 / f_10_); - if ((float) i_11_ < this.aFloat8126 && (float) i_12_ < this.aFloat8126) i_9_ |= 0x1; - else if (this.aFloat8158 < (float) i_11_ && (float) i_12_ > this.aFloat8158) i_9_ |= 0x2; - int i_13_ = (int) ((float) this.anInt8134 * ((this.aClass101_Sub2_8080.aFloat5732) * (float) i_5_ + ((this.aClass101_Sub2_8080.aFloat5722 * (float) i_4_) + (float) i * this.aClass101_Sub2_8080.aFloat5708) + this.aClass101_Sub2_8080.aFloat5710) / f); - int i_14_ = (int) ((float) this.anInt8134 * ((float) i_8_ * (this.aClass101_Sub2_8080.aFloat5732) + ((float) i_7_ * this.aClass101_Sub2_8080.aFloat5722 + ((float) i_6_ * (this.aClass101_Sub2_8080.aFloat5708))) + this.aClass101_Sub2_8080.aFloat5710) / f_10_); - if (!(this.aFloat8103 > (float) i_13_) || !((float) i_14_ < this.aFloat8103)) { - if ((float) i_13_ > this.aFloat8185 && (float) i_14_ > this.aFloat8185) i_9_ |= 0x8; - } else i_9_ |= 0x4; - return i_9_; - } - - abstract Class130 method3812(int i, Class58[] class58s); - - final void ZA(int i, float f, float f_15_, float f_16_, float f_17_, float f_18_) { - anInt7912++; - boolean bool = i != anInt8172; - if (bool || f != this.aFloat8174 || f_15_ != this.aFloat8186) { - anInt8172 = i; - this.aFloat8174 = f; - this.aFloat8186 = f_15_; - if (bool) { - this.aFloat8087 = (float) (anInt8172 & 0xff00) / 65280.0F; - this.aFloat8180 = (float) (0xff0000 & anInt8172) / 1.671168E7F; - this.aFloat8168 = (float) (0xff & anInt8172) / 255.0F; - method3928(0); - } - this.aNativeInterface7924.setSunColour(this.aFloat8180, this.aFloat8087, this.aFloat8168, f, f_15_); - method3842(true); - } - if (aFloatArray8142[0] != f_16_ || aFloatArray8142[1] != f_17_ || aFloatArray8142[2] != f_18_) { - aFloatArray8142[2] = f_18_; - aFloatArray8142[1] = f_17_; - aFloatArray8142[0] = f_16_; - aFloatArray8140[2] = -f_18_; - aFloatArray8140[0] = -f_16_; - aFloatArray8140[1] = -f_17_; - float f_19_ = (float) (1.0 / Math.sqrt(f_17_ * f_17_ + f_16_ * f_16_ + f_18_ * f_18_)); - this.aFloatArray8170[1] = f_19_ * f_17_; - this.aFloatArray8170[2] = f_19_ * f_18_; - this.aFloatArray8170[0] = f_16_ * f_19_; - this.aFloatArray8102[1] = -this.aFloatArray8170[1]; - this.aFloatArray8102[2] = -this.aFloatArray8170[2]; - this.aFloatArray8102[0] = -this.aFloatArray8170[0]; - this.aNativeInterface7924.setSunDirection(this.aFloatArray8170[0], this.aFloatArray8170[1], this.aFloatArray8170[2]); - method3892(0); - this.anInt8133 = (int) (f_16_ * 256.0F / f_17_); - this.anInt8114 = (int) (256.0F * f_18_ / f_17_); - } - method3884((byte) 101); - } - - abstract void method3813(boolean bool); - - final void method3814(boolean bool, boolean bool_20_, int i, byte i_21_) { - if (i_21_ >= 27) { - anInt8081++; - if (anInt8104 != i || !aBoolean8153 == this.aBoolean8160) { - Interface18_Impl3 interface18_impl3 = null; - int i_22_ = 0; - byte i_23_ = 0; - int i_24_ = 0; - byte i_25_ = this.aBoolean8160 ? (byte) 3 : (byte) 0; - if (i >= 0) { - interface18_impl3 = aClass372_8137.method3587((byte) -97, i); - Class12 class12 = this.aD4579.method3(i, -6662); - if (class12.aByte198 == 0 && class12.aByte211 == 0) method3879(-8629); - else { - int i_26_ = !class12.aBoolean199 ? 128 : 64; - int i_27_ = i_26_ * 50; - Class101_Sub2 class101_sub2 = method3820(false); - class101_sub2.method916(((float) (this.anInt8146 % i_27_ * class12.aByte211) / (float) i_27_), true, 0.0F, ((float) (class12.aByte198 * (this.anInt8146 % i_27_)) / (float) i_27_)); - method3853(-32, Class239_Sub18.aClass251_6030); - } - i_22_ = class12.anInt203; - if (!this.aBoolean8160) { - i_23_ = class12.aByte202; - i_25_ = class12.aByte213; - i_24_ = class12.anInt206; - } - } else method3879(-8629); - method3875(i_23_, bool_20_, bool, i_25_, i_24_, -103); - if (aClass367_8143 == null) { - method3850((byte) -86, interface18_impl3); - method3923(true, i_22_); - } else aClass367_8143.method3527(i_22_, interface18_impl3, -16776); - aBoolean8153 = this.aBoolean8160; - anInt8104 = i; - } - anInt8100 &= ~0x7; - } - } - - final void method3815(int i, Class101_Sub2 class101_sub2) { - try { - anInt8029++; - if (i != 0) this.anInt8062 = -6; - this.aClass101_Sub2_8074.method898(class101_sub2); - this.aBoolean8069 = false; - method3836(1); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.JH(" + i + ',' + (class101_sub2 != null ? "{...}" : "null") + ')')); - } - } - - private final void method3816(byte i) { - anInterface5_Impl1_8203 = method3889(true, 16711680); - int i_28_ = -85 / ((41 - i) / 54); - anInt7948++; - anInterface5_Impl1_8203.method20(24, (byte) 125, 12); - aClass130_8205 = method3812(0, (new Class58[]{new Class58(Class325.aClass325_4073)})); - } - - final void method3817(int i, int i_29_) { - if (i <= 53) method3878(-0.15425435F, 84, -0.11598543F, 0.9862154F, -1.0921319F, -1.1620088F, -1.5202727F); - if (anInt8167 != i_29_) { - boolean bool; - Class173 class173; - boolean bool_30_; - if (i_29_ == 1) { - bool = true; - class173 = Class348_Sub4.aClass173_6602; - bool_30_ = true; - } else if (i_29_ == 2) { - class173 = Class69.aClass173_1201; - bool_30_ = true; - bool = false; - } else if (i_29_ == 128) { - bool = true; - class173 = Class273.aClass173_5169; - bool_30_ = true; - } else { - bool_30_ = false; - class173 = Class225.aClass173_2944; - bool = false; - } - if (bool != this.aBoolean8141) { - this.aBoolean8141 = bool; - method3939((byte) 100); - } - if (!bool_30_ == this.aBoolean8116) { - this.aBoolean8116 = bool_30_; - method3947(4); - } - if (class173 != this.aClass173_8163) { - this.aClass173_8163 = class173; - method3950(0); - } - anInt8100 &= ~0x1c; - anInt8167 = i_29_; - } - anInt7938++; - } - - final aa method3661(int i, int i_31_, int[] is, int[] is_32_) { - try { - anInt7957++; - return Class318_Sub4.method2501(i_31_, this, is, (byte) -42, is_32_, i); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.RF(" + i + ',' + i_31_ + ',' + (is != null ? "{...}" : "null") + ',' + (is_32_ != null ? "{...}" : "null") + ')')); - } - } - - abstract void method3818(boolean bool); - - abstract void method3819(byte i); - - final Class101_Sub2 method3820(boolean bool) { - anInt8004++; - if (bool != false) method3903(true); - return (this.aClass101_Sub2Array8131[this.anInt8175]); - } - - final void method3821(int i) { - anInt7890++; - method3932((byte) -125); - method3929(true); - if (i != -4845) method3858(false); - } - - final Interface5_Impl2 method3822(int i, int i_33_) { - if (anInterface5_Impl2_8195.method16(false) < 2 * i_33_) anInterface5_Impl2_8195.method23(15959, i_33_); - if (i <= 23) return null; - anInt7975++; - return anInterface5_Impl2_8195; - } - - void method3823(byte i) { - int i_34_ = 23 / ((-39 - i) / 62); - this.anInt8122 = this.anInt8151; - anInt8006++; - this.anInt8151 = 0; - } - - static final void method3824(int i, int i_35_, int i_36_, int i_37_, int i_38_, int i_39_, int i_40_, int i_41_) { - anInt7933++; - if (i_37_ >= 0 && i >= 0 && -1 + Class367_Sub4.anInt7319 > i_37_ && (i < -1 + Class348_Sub40_Sub3.anInt9109)) { - if (Class147.aClass357ArrayArrayArray2029 == null) return; - if (i_41_ == 0) { - Interface10 interface10 = (Interface10) r_Sub2.method3297(i_40_, i_37_, i); - Interface10 interface10_42_ = (Interface10) Class82.method813(i_40_, i_37_, i); - if (interface10 != null && i_36_ != 2) { - if (interface10 instanceof Class318_Sub1_Sub4_Sub2) ((Class318_Sub1_Sub4_Sub2) interface10).aClass235_10115.method1671(262144, i_35_); - else Class218.method1591(i_37_, 89, i_41_, i_35_, interface10.method42(-76), i_36_, i, i_38_, i_40_); - } - if (interface10_42_ != null) { - if (interface10_42_ instanceof Class318_Sub1_Sub4_Sub2) ((Class318_Sub1_Sub4_Sub2) interface10_42_).aClass235_10115.method1671(262144, i_35_); - else Class218.method1591(i_37_, 92, i_41_, i_35_, interface10_42_.method42(-71), i_36_, i, i_38_, i_40_); - } - } else if (i_41_ == 1) { - Interface10 interface10 = ((Interface10) Class348_Sub40_Sub32.method3135(i_40_, i_37_, i)); - if (interface10 != null) { - if (interface10 instanceof Class318_Sub1_Sub5_Sub2) ((Class318_Sub1_Sub5_Sub2) interface10).aClass235_10155.method1671(262144, i_35_); - else { - int i_43_ = interface10.method42(-83); - if (i_36_ != 4 && i_36_ != 5) { - if (i_36_ != 6) { - if (i_36_ == 7) Class218.method1591(i_37_, 50, i_41_, i_35_, i_43_, 4, i, 4 + (0x3 & 2 + i_38_), i_40_); - else if (i_36_ == 8) { - Class218.method1591(i_37_, 116, i_41_, i_35_, i_43_, 4, i, 4 + i_38_, i_40_); - Class218.method1591(i_37_, 91, i_41_, i_35_, i_43_, 4, i, 4 + (0x3 & i_38_ - -2), i_40_); - } - } else Class218.method1591(i_37_, 22, i_41_, i_35_, i_43_, 4, i, i_38_ + 4, i_40_); - } else Class218.method1591(i_37_, 86, i_41_, i_35_, i_43_, 4, i, i_38_, i_40_); - } - } - } else if (i_41_ == 2) { - Interface10 interface10 = ((Interface10) (Class177.method1353(i_40_, i_37_, i, (aClass8211 != null ? aClass8211 : (aClass8211 = Interface10.class))))); - if (interface10 != null) { - if (i_36_ == 11) i_36_ = 10; - if (!(interface10 instanceof Class318_Sub1_Sub3_Sub2)) Class218.method1591(i_37_, 43, i_41_, i_35_, interface10.method42(-107), i_36_, i, i_38_, i_40_); - else ((Class318_Sub1_Sub3_Sub2) interface10).aClass235_10045.method1671(262144, i_35_); - } - } else if (i_41_ == 3) { - Interface10 interface10 = ((Interface10) Class348_Sub16_Sub3.method2878(i_40_, i_37_, i)); - if (interface10 != null) { - if (interface10 instanceof Class318_Sub1_Sub1_Sub1) ((Class318_Sub1_Sub1_Sub1) interface10).aClass235_9955.method1671(262144, i_35_); - else Class218.method1591(i_37_, 28, i_41_, i_35_, interface10.method42(-123), i_36_, i, i_38_, i_40_); - } - } - } - if (i_39_ < 98) method3936(-100); - } - - final boolean method3699() { - anInt7903++; - return this.aBoolean8182; - } - - final boolean method3708() { - anInt7902++; - return false; - } - - final void method3825(int i) { - if (anInt8100 != 8) { - method3895(-8); - method3838(true, true); - method3890(true, (byte) 111); - method3946(i ^ ~0x17, true); - method3817(69, 1); - anInt8100 = 8; - } - anInt8007++; - if (i != 8) method3901((byte) 20); - } - - void method3652() { - anInt8065++; - if (!aBoolean8176) { - for (Class348 class348 = aClass262_7927.method1995(4); class348 != null; class348 = aClass262_7927.method1990((byte) 102)) - ((za_Sub2) class348).method3445(-9503); - Enumeration enumeration = aHashtable8014.keys(); - while (enumeration.hasMoreElements()) { - Canvas canvas = (Canvas) enumeration.nextElement(); - method3911(canvas, 1, aHashtable8014.get(canvas)); - } - Class286_Sub8.method2173(true, -125, false); - this.aNativeInterface7924.release(); - aBoolean8176 = true; - } - } - - final void HA(int i, int i_44_, int i_45_, int i_46_, int[] is) { - try { - anInt7979++; - float f = (this.aClass101_Sub2_8080.method933((byte) -105, (float) i, (float) i_45_, (float) i_44_)); - if ((float) this.anInt8095 <= f && (float) this.anInt8154 >= f) { - int i_47_ = (int) ((float) this.anInt8129 * (this.aClass101_Sub2_8080.method929((float) i_45_, (float) i_44_, (byte) 45, (float) i)) / (float) i_46_); - int i_48_ = (int) ((float) this.anInt8134 * (this.aClass101_Sub2_8080.method922((byte) 67, (float) i, (float) i_45_, (float) i_44_)) / (float) i_46_); - is[2] = (int) f; - is[1] = (int) (-this.aFloat8103 + (float) i_48_); - is[0] = (int) (-this.aFloat8126 + (float) i_47_); - } else is[0] = is[1] = is[2] = -1; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.HA(" + i + ',' + i_44_ + ',' + i_45_ + ',' + i_46_ + ',' + (is != null ? "{...}" : "null") + ')')); - } - } - - final boolean method3670() { - anInt7898++; - return true; - } - - final int method3826(byte i) { - if (i != -70) method3702(-1); - anInt8050++; - return anInt8177; - } - - final void Q(int i, int i_49_, int i_50_, int i_51_, int i_52_, int i_53_, byte[] is, int i_54_, int i_55_) { - try { - anInt8000++; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.Q(" + i + ',' + i_49_ + ',' + i_50_ + ',' + i_51_ + ',' + i_52_ + ',' + i_53_ + ',' + (is != null ? "{...}" : "null") + ',' + i_54_ + ',' + i_55_ + ')')); - } - } - - final void method3638(Class101 class101) { - do { - try { - this.aClass101_Sub2_8080 = (Class101_Sub2) class101; - anInt7923++; - this.aClass101_Sub2_8083.method898(this.aClass101_Sub2_8080); - this.aClass101_Sub2_8083.method934((byte) 64); - aClass101_Sub2_8084.method931(-25519, this.aClass101_Sub2_8083); - this.aClass101_Sub2_8082.method931(-25519, this.aClass101_Sub2_8080); - if (!this.aClass196_8184.method1450(-112)) break; - method3913((byte) 107); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "wga.DE(" + (class101 != null ? "{...}" : "null") + ')'); - } - break; - } while (false); - } - - abstract void method3827(byte i); - - private final void method3828(boolean bool) { - anInterface5_Impl1_8193 = method3889(bool, 16711680); - anInt7985++; - anInterface5_Impl1_8193.method20(140, (byte) 123, 28); - for (int i = 0; i < 4; i++) { - Buffer buffer = anInterface5_Impl1_8193.method19(true, 26775); - if (buffer != null) { - Stream stream = method3893(buffer, 9179); - if (Stream.c()) { - stream.a(0.0F); - stream.a(0.0F); - stream.a(0.0F); - stream.a(0.0F); - stream.a(0.0F); - stream.a(0.0F); - stream.a(0.0F); - stream.a(0.0F); - stream.a(1.0F); - stream.a(0.0F); - stream.a(0.0F); - stream.a(1.0F); - stream.a(0.0F); - stream.a(1.0F); - stream.a(1.0F); - stream.a(1.0F); - stream.a(0.0F); - stream.a(1.0F); - stream.a(1.0F); - stream.a(1.0F); - stream.a(1.0F); - stream.a(1.0F); - stream.a(0.0F); - stream.a(0.0F); - stream.a(1.0F); - stream.a(0.0F); - stream.a(1.0F); - stream.a(0.0F); - stream.a(0.0F); - stream.a(0.0F); - stream.a(0.0F); - stream.a(0.0F); - stream.a(0.0F); - stream.a(0.0F); - stream.a(0.0F); - } else { - stream.b(0.0F); - stream.b(0.0F); - stream.b(0.0F); - stream.b(0.0F); - stream.b(0.0F); - stream.b(0.0F); - stream.b(0.0F); - stream.b(0.0F); - stream.b(1.0F); - stream.b(0.0F); - stream.b(0.0F); - stream.b(1.0F); - stream.b(0.0F); - stream.b(1.0F); - stream.b(1.0F); - stream.b(1.0F); - stream.b(0.0F); - stream.b(1.0F); - stream.b(1.0F); - stream.b(1.0F); - stream.b(1.0F); - stream.b(1.0F); - stream.b(0.0F); - stream.b(0.0F); - stream.b(1.0F); - stream.b(0.0F); - stream.b(1.0F); - stream.b(0.0F); - stream.b(0.0F); - stream.b(0.0F); - stream.b(0.0F); - stream.b(0.0F); - stream.b(0.0F); - stream.b(0.0F); - stream.b(0.0F); - } - stream.a(); - if (anInterface5_Impl1_8193.method18(6331)) break; - } - } - aClass130_8197 = method3812(0, (new Class58[]{new Class58(new Class325[]{Class325.aClass325_4073, Class325.aClass325_4078, Class325.aClass325_4078})})); - } - - abstract void method3829(Class70 class70, int i, byte i_56_, boolean bool); - - abstract Interface18_Impl3 method3830(int i, int[] is, boolean bool, byte i_57_, int i_58_, int i_59_, int i_60_); - - final void method3631(int i) { - anInt7963++; - if (i != 1) throw new IllegalArgumentException(""); - } - - private final void method3831(byte i) { - if (i != 19) method3629(31, -7, false); - aBoolean8097 = false; - anInt7893++; - method3906((byte) 122); - if (Class180.aClass196_2372 == this.aClass196_8184) method3929(true); - } - - Class367 method3832(int i, byte i_61_) { - if (i_61_ > -57) method3817(22, -65); - anInt7969++; - int i_62_ = i; - while_231_: - do { - while_230_: - do { - do { - if (i_62_ != 6) { - if (i_62_ != 1) { - if (i_62_ != 2) { - if (i_62_ != 7) break while_231_; - } else break; - break while_230_; - } - } else return new Class367_Sub3(this); - return new Class367_Sub4(this); - } while (false); - return new Class367_Sub8(this, this.aClass269_7937); - } while (false); - return new Class367_Sub10(this); - } while (false); - return new Class367_Sub1(this); - } - - final int method3833(byte i) { - anInt7994++; - if (i != -58) method3820(true); - return anInt8179; - } - - final Interface18_Impl2 method3834(int i) { - if (i != -16777216) anInt8100 = 109; - anInt7934++; - if (aClass299_Sub2_8171 != null) return aClass299_Sub2_8171.method2266(true); - return null; - } - - final float[] method3835(float[] fs, int i) { - try { - fs[0] = this.aFloatArray8135[0]; - fs[4] = this.aFloatArray8135[1]; - fs[12] = this.aFloatArray8135[3]; - if (i > -77) method3827((byte) 43); - anInt8053++; - fs[8] = this.aFloatArray8135[2]; - fs[9] = this.aFloatArray8135[6]; - fs[13] = this.aFloatArray8135[7]; - fs[2] = this.aFloatArray8135[8]; - fs[1] = this.aFloatArray8135[4]; - fs[5] = this.aFloatArray8135[5]; - fs[10] = this.aFloatArray8135[10]; - fs[14] = this.aFloatArray8135[11]; - fs[3] = this.aFloatArray8135[12]; - fs[6] = this.aFloatArray8135[9]; - fs[7] = this.aFloatArray8135[13]; - fs[15] = this.aFloatArray8135[15]; - fs[11] = this.aFloatArray8135[14]; - return fs; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.OA(" + (fs != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - private final void method3836(int i) { - if (Class148.aClass196_2042 == this.aClass196_8184) { - float f = method3858(false); - this.aClass101_Sub2_8074.method920(f, false, 0.0F, f); - } - anInt8023++; - aBoolean8121 = false; - method3901((byte) -48); - if (i == 1) { - if (aClass367_8143 != null) aClass367_8143.method3523((byte) 12); - } - } - - final float[] method3837(boolean bool) { - if (bool != true) method3863(-25); - anInt7992++; - return aFloatArray8111; - } - - final void method3838(boolean bool, boolean bool_63_) { - if (bool != true) aFloatArray8157 = null; - if (this.aBoolean8123 == !bool_63_) { - this.aBoolean8123 = bool_63_; - method3827((byte) -84); - anInt8100 &= ~0x1f; - } - anInt7967++; - } - - final Interface18_Impl3 method3839(int i, int i_64_, int i_65_, boolean bool, int[] is) { - try { - if (i_65_ != -15137) this.aFloat8126 = -0.13315333F; - anInt7965++; - return method3830(i_64_, is, bool, (byte) 107, 0, 0, i); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.JG(" + i + ',' + i_64_ + ',' + i_65_ + ',' + bool + ',' + (is != null ? "{...}" : "null") + ')')); - } - } - - abstract Interface5_Impl2 method3840(int i, boolean bool); - - abstract void method3841(byte i); - - abstract void method3842(boolean bool); - - abstract Interface18_Impl3 method3843(int i, int i_66_, int i_67_, int i_68_, byte[] is, Class304 class304, int i_69_, boolean bool); - - final void X(int i) { - anInt7920++; - this.anInt8107 = 0; - for (/**/; i > 1; i >>= 1) - this.anInt8107++; - this.anInt8125 = 1 << this.anInt8107; - } - - abstract void method3844(int i, Canvas canvas, Object object); - - final void aa(int i, int i_70_, int i_71_, int i_72_, int i_73_, int i_74_) { - method3903(false); - anInt8017++; - method3894(-28186, i_73_); - method3849((byte) 47, 0, Class348_Sub40_Sub39.aClass70_9485); - method3885(0, true, Class348_Sub40_Sub39.aClass70_9485); - method3817(113, i_74_); - this.aClass101_Sub2_8074.method932(1.0F, (float) i_72_, (float) i_71_, (byte) -22); - this.aClass101_Sub2_8074.method891(i, i_70_, 0); - method3915(0); - method3926((byte) 67, false); - method3933(-70); - method3926((byte) 83, true); - method3885(0, true, Class342.aClass70_4247); - method3849((byte) 47, 0, Class342.aClass70_4247); - } - - private final void method3845(byte i) { - if (Class148.aClass196_2042 != this.aClass196_8184) { - Class196 class196 = this.aClass196_8184; - this.aClass196_8184 = Class148.aClass196_2042; - if (class196.method1450(-48)) method3913((byte) -121); - method3919(20794); - this.aFloatArray8135 = aFloatArray8120; - method3929(true); - anInt8100 &= ~0x18; - } - anInt7907++; - if (i < 12) aStringArray8019 = null; - } - - private final void method3846(byte i) { - anInt7928++; - aBoolean8112 = false; - int i_75_ = -77 / ((i - 78) / 48); - method3949((byte) -58); - if (Class46.aClass196_838 == this.aClass196_8184) method3929(true); - } - - private final void method3847(int i) { - if (i != 0) this.aFloatArray8102 = null; - if (Class46.aClass196_838 != this.aClass196_8184) { - Class196 class196 = this.aClass196_8184; - this.aClass196_8184 = Class46.aClass196_838; - if (!class196.method1450(-45)) method3913((byte) 94); - method3949((byte) -113); - this.aFloatArray8135 = aFloatArray8157; - method3929(true); - anInt8100 &= ~0x7; - } - anInt7999++; - } - - final Class101_Sub2 method3848(int i) { - anInt8031++; - if (i != 5) method3890(false, (byte) 95); - return (this.aClass101_Sub2Array8131[this.anInt8175]); - } - - final void method3849(byte i, int i_76_, Class70 class70) { - try { - if (i != 47) this.aFloat8087 = -0.68323714F; - anInt8036++; - method3924(false, false, i_76_, class70, false); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.NJ(" + i + ',' + i_76_ + ',' + (class70 != null ? "{...}" : "null") + ')')); - } - } - - final void method3709(int i, int i_77_, int i_78_, int i_79_, int i_80_, int i_81_) { - anInt7915++; - float f = (float) -i + (float) i_78_; - float f_82_ = (float) i_79_ - (float) i_77_; - if (f != 0.0F || f_82_ != 0.0F) { - float f_83_ = (float) (1.0 / Math.sqrt(f_82_ * f_82_ + f * f)); - f_82_ *= f_83_; - f *= f_83_; - } else f = 1.0F; - if (method3878((float) i_77_, 0, (float) i_78_ + f, 0.0F, f_82_ + (float) i_79_, 0.0F, (float) i)) { - method3903(false); - method3894(-28186, i_80_); - method3849((byte) 47, 0, Class348_Sub40_Sub39.aClass70_9485); - method3885(0, true, Class348_Sub40_Sub39.aClass70_9485); - method3817(112, i_81_); - method3942(5); - method3926((byte) 45, false); - method3907(true); - method3926((byte) 48, true); - method3885(0, true, Class342.aClass70_4247); - method3849((byte) 47, 0, Class342.aClass70_4247); - } - } - - final void method3850(byte i, Interface18 interface18) { - try { - if (anInterface18Array8098[this.anInt8175] != interface18) { - anInterface18Array8098[this.anInt8175] = interface18; - if (interface18 != null) interface18.method63((byte) -30); - else method3819((byte) -107); - anInt8100 &= ~0x1; - } - int i_84_ = 96 / ((i - 20) / 42); - anInt7900++; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.WA(" + i + ',' + (interface18 != null ? "{...}" : "null") + ')')); - } - } - - final Class101 method3640() { - anInt7945++; - return this.aClass101_Sub2_8080; - } - - final void A(int i, aa var_aa, int i_85_, int i_86_) { - try { - anInt7940++; - aa_Sub2 var_aa_Sub2 = (aa_Sub2) var_aa; - Interface18_Impl3 interface18_impl3 = var_aa_Sub2.anInterface18_Impl3_5196; - method3864(81); - method3850((byte) -47, interface18_impl3); - method3817(99, 1); - method3874(Class328_Sub3.aClass229_6519, 114, Class328_Sub3.aClass229_6519); - method3849((byte) 47, 0, Class348_Sub40_Sub39.aClass70_9485); - method3894(-28186, i); - this.aClass101_Sub2_8074.method932(0.0F, (float) this.anInt7962, (float) this.anInt7931, (byte) -52); - method3915(0); - this.aClass101_Sub2Array8131[0].method932(1.0F, interface18_impl3.method71((byte) -46, (float) this.anInt7962), interface18_impl3.method67((float) this.anInt7931, 109), (byte) -37); - this.aClass101_Sub2Array8131[0].method920(interface18_impl3.method71((byte) -52, (float) -i_86_), false, 0.0F, interface18_impl3.method67((float) -i_85_, 94)); - this.aClass251Array8113[0] = Class239_Sub18.aClass251_6030; - method3905((byte) 127); - method3933(-127); - method3879(-8629); - method3849((byte) 47, 0, Class342.aClass70_4247); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.A(" + i + ',' + (var_aa != null ? "{...}" : "null") + ',' + i_85_ + ',' + i_86_ + ')')); - } - } - - final Class64 method3625(Class124 class124, int i, int i_87_, int i_88_, int i_89_) { - try { - anInt8016++; - return new Class64_Sub2(this, class124, i, i_88_, i_89_, i_87_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.EG(" + (class124 != null ? "{...}" : "null") + ',' + i + ',' + i_87_ + ',' + i_88_ + ',' + i_89_ + ')')); - } - } - - final void method3669(Canvas canvas, int i, int i_90_) { - do { - try { - anInt8025++; - Object object = null; - if (canvas == null || canvas == this.aCanvas7925) object = anObject8020; - else if (aHashtable8014.containsKey(canvas)) object = aHashtable8014.get(canvas); - if (object == null) throw new RuntimeException(); - method3844(12727, canvas, object); - if (canvas != aCanvas7910) break; - method3917(false); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.HF(" + (canvas != null ? "{...}" : "null") + ',' + i + ',' + i_90_ + ')')); - } - break; - } while (false); - } - - abstract void method3851(int i); - - final boolean method3694() { - anInt7901++; - return false; - } - - final void method3852(int i, boolean bool) { - anInt8003++; - if (bool == !this.aBoolean8148) { - this.aBoolean8148 = bool; - method3827((byte) -43); - } - if (i != 9) aFloatArray8140 = null; - } - - final void method3853(int i, Class251 class251) { - try { - anInt8057++; - if (i != -32) aFloatArray8142 = null; - this.aClass251Array8113[this.anInt8175] = class251; - method3905((byte) 111); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.HI(" + i + ',' + (class251 != null ? "{...}" : "null") + ')')); - } - } - - final boolean method3695() { - anInt7991++; - return true; - } - - final Class101_Sub2 method3854(byte i) { - anInt7983++; - int i_91_ = 97 / ((i - 35) / 63); - return aClass101_Sub2_8084; - } - - abstract Interface18_Impl3 method3855(Class304 class304, int i, int i_92_, float[] fs, boolean bool, int i_93_, int i_94_, int i_95_); - - private final void method3856(byte i) { - anInt8044++; - if (aClass367_8143 != null) aClass367_8143.method3522(-16252); - method3851(25644); - if (i <= 56) aBoolean8176 = false; - } - - final void method3857(byte i) { - int i_96_ = -76 % ((i - 44) / 41); - anInt8051++; - if (anInt8100 != 16) { - method3847(0); - method3838(true, true); - method3890(true, (byte) 125); - method3946(-32, true); - method3817(123, 1); - anInt8100 = 16; - } - } - - final Class105 method3629(int i, int i_97_, boolean bool) { - anInt8040++; - return new Class105_Sub1(this, i, i_97_, bool); - } - - abstract float method3858(boolean bool); - - abstract void method3859(int i); - - private final void method3860(Class21 class21, int i, int i_98_) { - try { - method3925(-96, anInterface5_Impl1_8193, 0); - anInt8067++; - method3862(0, aClass130_8197); - method3899(i, 0, class21, true); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.QI(" + (class21 != null ? "{...}" : "null") + ',' + i + ',' + i_98_ + ')')); - } - } - - abstract Interface18_Impl3 method3861(int i, byte i_99_, int i_100_, Class68 class68, Class304 class304); - - abstract void method3862(int i, Class130 class130); - - final int method3863(int i) { - int i_101_ = -95 / ((i - 7) / 57); - anInt7917++; - return anInt8099; - } - - final void K(int[] is) { - try { - is[0] = this.anInt8106; - anInt8061++; - is[3] = this.anInt8096; - is[2] = this.anInt8183; - is[1] = this.anInt8165; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "wga.K(" + (is != null ? "{...}" : "null") + ')'); - } - } - - final void method3864(int i) { - int i_102_ = 51 / ((40 - i) / 34); - if (anInt8100 != 2) { - method3845((byte) 76); - method3838(true, false); - method3866(false, true); - method3890(false, (byte) 102); - method3946(-32, false); - method3814(false, false, -2, (byte) 43); - anInt8100 = 2; - } - anInt7930++; - } - - final Class101 method3705() { - anInt8077++; - return aClass101_Sub2_8196; - } - - final void C(boolean bool) { - this.aBoolean8124 = bool; - anInt7989++; - method3841((byte) -116); - } - - final void method3865(boolean bool, int i) { - if (i < 20) method3685(null, -88); - if (bool == !this.aBoolean8110) { - this.aBoolean8110 = bool; - method3818(true); - } - anInt7953++; - } - - final void method3866(boolean bool, boolean bool_103_) { - anInt8010++; - if (!this.aBoolean8145 != !bool) { - this.aBoolean8145 = bool; - method3883(-24); - anInt8100 &= ~0x7; - } - if (bool_103_ != true) this.anInt8095 = 22; - } - - final void method3703(int i, int i_104_, int i_105_, int i_106_, int i_107_, int i_108_, aa var_aa, int i_109_, int i_110_, int i_111_, int i_112_, int i_113_) { - try { - anInt7914++; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.IF(" + i + ',' + i_104_ + ',' + i_105_ + ',' + i_106_ + ',' + i_107_ + ',' + i_108_ + ',' + (var_aa != null ? "{...}" : "null") + ',' + i_109_ + ',' + i_110_ + ',' + i_111_ + ',' + i_112_ + ',' + i_113_ + ')')); - } - } - - final boolean method3639() { - anInt8073++; - return aClass367Array8139[3].method3530(-78); - } - - final void method3867(float f, int i) { - anInt8024++; - if (f != aFloat8155) { - aFloat8155 = f; - method3846((byte) 30); - } - int i_114_ = 72 % ((-8 - i) / 36); - } - - abstract void method3868(boolean bool); - - final NativeHeapBuffer method3869(byte i, boolean bool, int i_115_) { - int i_116_ = -44 % ((-27 - i) / 52); - anInt7916++; - return this.aNativeHeap7891.a(i_115_, bool); - } - - public static void method3870(int i) { - aStringArray8019 = null; - if (i <= 99) anInt8045 = -72; - } - - final int E() { - anInt7951++; - return (this.anInt8079 + this.anInt8062 + this.anInt8063); - } - - abstract void method3871(Class113 class113, int i); - - abstract Interface18_Impl1 method3872(int i, int i_117_, Class304 class304, boolean bool, int i_118_, byte[] is); - - final void KA(int i, int i_119_, int i_120_, int i_121_) { - anInt7972++; - if (i <= 0 && i_120_ >= -1 + this.anInt7931 && i_119_ <= 0 && this.anInt7962 - 1 <= i_121_) la(); - else { - this.anInt8165 = Math.max(i_119_, 0); - this.anInt8106 = Math.max(i, 0); - this.anInt8096 = this.anInt7931 >= i_121_ ? i_121_ : 0; - this.anInt8183 = i_120_ > this.anInt7931 ? 0 : i_120_; - if (!this.aBoolean8209) { - this.aBoolean8209 = true; - method3921(1); - } - method3888(6259); - method3904(-70); - } - } - - final s method3648(int i, int i_122_, int[][] is, int[][] is_123_, int i_124_, int i_125_, int i_126_) { - try { - anInt8011++; - return new s_Sub3(this, i_125_, i_126_, i, i_122_, is, is_123_, i_124_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.VE(" + i + ',' + i_122_ + ',' + (is != null ? "{...}" : "null") + ',' + (is_123_ != null ? "{...}" : "null") + ',' + i_124_ + ',' + i_125_ + ',' + i_126_ + ')')); - } - } - - static final byte[] method3873(byte[] is, int i) { - try { - anInt8015++; - int i_127_ = is.length; - byte[] is_128_ = new byte[i_127_]; - Class214.method1577(is, i, is_128_, 0, i_127_); - return is_128_; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.GI(" + (is != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - final void method3650(int i) { - anInt7908++; - } - - final void method3678(int i) { - anInt8002++; - } - - final void method3874(Class229 class229, int i, Class229 class229_129_) { - do { - try { - anInt7959++; - boolean bool = false; - if (class229_129_ != (this.aClass229Array8086[this.anInt8175])) { - this.aClass229Array8086[(this.anInt8175)] = class229_129_; - method3920(10); - bool = true; - } - if (i <= 97) method3888(89); - if ((this.aClass229Array8092[this.anInt8175]) != class229) { - this.aClass229Array8092[(this.anInt8175)] = class229; - bool = true; - method3935(-100); - } - if (!bool) break; - anInt8100 &= ~0x1d; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.RI(" + (class229 != null ? "{...}" : "null") + ',' + i + ',' + (class229_129_ != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - final void method3696(int i) { - anInt7995++; - if (i < 128 || i > 1024) throw new IllegalArgumentException(); - if (aClass372_8137 != null) aClass372_8137.method3585(7271); - this.anInt8150 = i; - } - - private final void method3875(int i, boolean bool, boolean bool_130_, int i_131_, int i_132_, int i_133_) { - if (i_133_ >= -26) this.aClass130_8204 = null; - anInt7932++; - bool_130_ &= method3639(); - if (!bool_130_ && (i_131_ == 4 || i_131_ == 8 || i_131_ == 9)) { - i_131_ = 2; - i_132_ = i_131_ == 4 ? i & 0x1 : 1; - i = 0; - } - if (i_131_ != 0 && bool) i_131_ |= ~0x7fffffff; - if (anInt8156 != i_131_) { - if (anInt8156 != 0) aClass367Array8139[0x7fffffff & anInt8156].method3520((byte) 87); - if (i_131_ != 0) { - aClass367_8143 = aClass367Array8139[0x7fffffff & i_131_]; - aClass367_8143.method3525(15192, bool); - aClass367_8143.method3521(bool, (byte) -103); - aClass367_8143.method3526(10756, i, i_132_); - } else aClass367_8143 = null; - anInt8156 = i_131_; - anInt8161 = i; - anInt8108 = i_132_; - } else if (anInt8156 != 0) { - aClass367Array8139[0x7fffffff & anInt8156].method3521(bool, (byte) -103); - if (i != anInt8161 || anInt8108 != i_132_) { - aClass367Array8139[anInt8156 & 0x7fffffff].method3526(10756, i, i_132_); - anInt8108 = i_132_; - anInt8161 = i; - } - } - } - - final void za(int i, int i_134_, int i_135_, int i_136_, int i_137_) { - anInt8026++; - method3903(false); - method3894(-28186, i_136_); - method3849((byte) 47, 0, Class348_Sub40_Sub39.aClass70_9485); - method3885(0, true, Class348_Sub40_Sub39.aClass70_9485); - method3817(83, i_137_); - this.aClass101_Sub2_8074.method932(1.0F, (float) i_135_, (float) i_135_, (byte) -75); - this.aClass101_Sub2_8074.method891(i, i_134_, 0); - method3915(0); - method3926((byte) 75, false); - method3925(23, anInterface5_Impl1_8201, 0); - method3862(0, aClass130_8190); - method3899(256, 0, Class348_Sub42_Sub16.aClass21_9661, true); - method3926((byte) 41, true); - method3885(0, true, Class342.aClass70_4247); - method3849((byte) 47, 0, Class342.aClass70_4247); - } - - final int i() { - anInt8021++; - return this.anInt8095; - } - - abstract Object method3876(int i, Canvas canvas); - - final void la() { - this.anInt8183 = this.anInt7931; - this.anInt8096 = this.anInt7962; - anInt8037++; - this.anInt8165 = 0; - this.anInt8106 = 0; - if (this.aBoolean8209) { - this.aBoolean8209 = false; - method3921(1); - } - method3904(-95); - } - - final int method3877(byte i) { - if (i != -126) return -10; - anInt7973++; - return this.anInt8175; - } - - final void f(int i, int i_138_) { - anInt7976++; - if (i != this.anInt8095 || this.anInt8154 != i_138_) { - this.anInt8154 = i_138_; - this.anInt8095 = i; - method3831((byte) 19); - method3846((byte) 127); - method3856((byte) 57); - } - } - - final Class299 method3697(int i, int i_139_, int i_140_, int i_141_, int i_142_, int i_143_) { - anInt7892++; - return new Class299_Sub2_Sub1(this, i, i_139_, i_140_, i_141_, i_142_, i_143_); - } - - private final boolean method3878(float f, int i, float f_144_, float f_145_, float f_146_, float f_147_, float f_148_) { - if (i != 0) return true; - anInt8066++; - Buffer buffer = anInterface5_Impl1_8203.method19(true, 26775); - if (buffer == null) return false; - Stream stream = method3893(buffer, 9179); - if (Stream.c()) { - stream.a(f_148_); - stream.a(f); - stream.a(f_145_); - stream.a(f_144_); - stream.a(f_146_); - stream.a(f_147_); - } else { - stream.b(f_148_); - stream.b(f); - stream.b(f_145_); - stream.b(f_144_); - stream.b(f_146_); - stream.b(f_147_); - } - stream.a(); - return anInterface5_Impl1_8203.method18(i ^ 0x18bb); - } - - final void method3879(int i) { - if (this.aClass251Array8113[this.anInt8175] != Class348_Sub42_Sub18.aClass251_9685) { - this.aClass251Array8113[this.anInt8175] = Class348_Sub42_Sub18.aClass251_9685; - this.aClass101_Sub2Array8131[this.anInt8175].method910(); - method3905((byte) 95); - } - if (i == -8629) anInt7896++; - } - - final void ra(int i, int i_149_, int i_150_, int i_151_) { - anInt8179 = i_150_; - anInt8177 = i_151_; - anInt8099 = i_149_; - anInt8064++; - this.aBoolean8160 = true; - anInt8162 = i; - } - - abstract boolean method3880(Class68 class68, Class304 class304, byte i); - - abstract void method3881(Object object, byte i, Canvas canvas); - - void method3882(byte i) { - if (i < 45) this.aFloat8174 = -0.73899394F; - anInt7982++; - method3916((byte) 103); - } - - abstract void method3883(int i); - - final void xa(float f) { - if (this.aFloat8093 != f) { - this.aFloat8093 = f; - this.aNativeInterface7924.setAmbient(f); - method3928(0); - method3884((byte) 101); - } - anInt7980++; - } - - abstract void method3884(byte i); - - final boolean method3655() { - anInt7913++; - return true; - } - - final void method3659(int i) { - anInt7954++; - } - - final boolean method3644() { - anInt8054++; - return true; - } - - final void method3676(int i, int i_152_, int i_153_, int i_154_, int i_155_, int i_156_, int i_157_, int i_158_, int i_159_, int i_160_, int i_161_, int i_162_, int i_163_) { - anInt8032++; - } - - final void method3885(int i, boolean bool, Class70 class70) { - do { - try { - method3829(class70, i, (byte) 80, false); - anInt8041++; - if (bool == true) break; - method3643(null, -42, 69); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.IH(" + i + ',' + bool + ',' + (class70 != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - static final void method3886(int i) { - Class345.aClass60_4273.method590(0); - if (i >= -58) method3824(43, 63, -121, -1, 72, 77, -11, 22); - anInt8018++; - } - - final void T(int i, int i_164_, int i_165_, int i_166_) { - anInt8043++; - boolean bool = false; - if (this.anInt8106 < i) { - bool = true; - this.anInt8106 = i; - } - if (this.anInt8183 > i_165_) { - this.anInt8183 = i_165_; - bool = true; - } - if (this.anInt8165 < i_164_) { - bool = true; - this.anInt8165 = i_164_; - } - if (this.anInt8096 > i_166_) { - this.anInt8096 = i_166_; - bool = true; - } - if (bool) { - if (!this.aBoolean8209) { - this.aBoolean8209 = true; - method3921(1); - } - method3888(6259); - method3904(-128); - } - } - - final Class101_Sub2 method3887(byte i) { - int i_167_ = 62 / ((i - -58) / 33); - anInt7941++; - return this.aClass101_Sub2_8083; - } - - abstract void method3888(int i); - - final boolean method3682() { - anInt8056++; - return true; - } - - abstract Interface5_Impl1 method3889(boolean bool, int i); - - final void method3890(boolean bool, byte i) { - if (i <= 10) this.aNativeHeapBuffer7974 = null; - if (bool == !this.aBoolean8164) { - this.aBoolean8164 = bool; - method3859(3); - anInt8100 &= ~0x1f; - } - anInt8072++; - } - - final Interface18_Impl3 method3891(float[] fs, int i, int i_168_, Class304 class304, int i_169_, boolean bool) { - try { - int i_170_ = 97 / ((i_169_ - -38) / 57); - anInt8052++; - return method3855(class304, i, 0, fs, bool, 0, 2, i_168_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.LI(" + (fs != null ? "{...}" : "null") + ',' + i + ',' + i_168_ + ',' + (class304 != null ? "{...}" : "null") + ',' + i_169_ + ',' + bool + ')')); - } - } - - abstract void method3892(int i); - - final Stream method3893(Buffer buffer, int i) { - try { - anInt8048++; - aStream8088.a(buffer); - if (i != 9179) this.aFloat8093 = -1.2765714F; - return aStream8088; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.FI(" + (buffer != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - final void EA(int i, int i_171_, int i_172_, int i_173_) { - anInt7909++; - if (!this.aBoolean8160) throw new RuntimeException(""); - anInt8179 = i_172_; - anInt8162 = i; - anInt8177 = i_173_; - anInt8099 = i_171_; - if (aBoolean8153) { - aClass367Array8139[3].method3528(102); - aClass367Array8139[3].method3522(-16252); - } - } - - final void method3632(int[] is) { - try { - is[1] = this.anInt7962; - is[0] = this.anInt7931; - anInt8076++; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "wga.KE(" + (is != null ? "{...}" : "null") + ')'); - } - } - - final void method3653(Class299 class299) { - try { - aClass299_Sub2_8171 = (Class299_Sub2) class299; - anInt7950++; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "wga.DF(" + (class299 != null ? "{...}" : "null") + ')'); - } - } - - final void method3894(int i, int i_174_) { - if (i_174_ != this.anInt8119) { - this.anInt8119 = i_174_; - method3945(-120); - } - if (i != -28186) this.aFloat8186 = 0.24125333F; - anInt7998++; - } - - final void L(int i, int i_175_, int i_176_) { - anInt8078++; - if (i != this.anInt8144 || this.anInt8091 != i_175_ || i_176_ != this.anInt8105) { - this.anInt8144 = i; - this.anInt8105 = i_176_; - this.anInt8091 = i_175_; - method3856((byte) 119); - method3827((byte) -72); - } - } - - private final void method3895(int i) { - anInt8035++; - if (i != -8) method3644(); - if (Class180.aClass196_2372 != this.aClass196_8184) { - Class196 class196 = this.aClass196_8184; - this.aClass196_8184 = Class180.aClass196_2372; - if (!class196.method1450(-90)) method3913((byte) 60); - method3906((byte) 118); - this.aFloatArray8135 = aFloatArray8152; - method3929(true); - anInt8100 &= ~0x7; - } - } - - static final void method3896(Class296 class296, byte i) { - do { - try { - anInt8028++; - Class64.aClass296_1131 = class296; - if (i == 13) break; - method3873(null, -3); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.DI(" + (class296 != null ? "{...}" : "null") + ',' + i + ')')); - } - break; - } while (false); - } - - final void method3897(int i, int i_177_) { - if (i != this.anInt8175) { - this.anInt8175 = i; - method3868(false); - } - if (i_177_ != -4382) this.anInt8106 = 67; - anInt7961++; - } - - abstract void method3898(int i); - - final void method3630(boolean bool) { - anInt8068++; - } - - abstract void method3899(int i, int i_178_, Class21 class21, boolean bool); - - final void DA(int i, int i_179_, int i_180_, int i_181_) { - this.anInt8130 = i_179_; - this.anInt8134 = i_181_; - anInt8009++; - this.anInt8094 = i; - this.anInt8129 = i_180_; - method3846((byte) 127); - method3831((byte) 19); - method3932((byte) -118); - method3904(-82); - } - - abstract Interface18_Impl2 method3900(int[][] is, boolean bool, int i, int i_182_); - - abstract void method3901(byte i); - - final void method3902(byte i) { - anInt7946++; - if (i != -42) method3711(null, -98, 55, 15, 73, false); - Hashtable hashtable = new Hashtable(); - if (aHashtable8014 != null && !aHashtable8014.isEmpty()) { - Enumeration enumeration = aHashtable8014.keys(); - while (enumeration.hasMoreElements()) { - Canvas canvas = (Canvas) enumeration.nextElement(); - hashtable.put(canvas, method3876(-1, canvas)); - } - } - aHashtable8014 = hashtable; - method3828(false); - method3816((byte) -87); - method3914((byte) -107); - aClass280_8136.method2100((byte) 124, this); - } - - private final void method3903(boolean bool) { - if (anInt8100 != 1) { - method3845((byte) 24); - method3838(true, false); - method3866(false, true); - method3890(false, (byte) 55); - method3946(-32, false); - method3814(false, false, -2, (byte) 112); - method3923(!bool, 1); - method3850((byte) -47, this.anInterface18_8147); - anInt8100 = 1; - } - if (bool != false) EA(-102, -47, -121, -51); - anInt7981++; - } - - final int r(int i, int i_183_, int i_184_, int i_185_, int i_186_, int i_187_, int i_188_) { - anInt7960++; - int i_189_ = 0; - float f = ((this.aClass101_Sub2_8080.aFloat5724) + ((this.aClass101_Sub2_8080.aFloat5691) * (float) i_183_ + ((float) i * (this.aClass101_Sub2_8080.aFloat5736)) + ((float) i_184_ * (this.aClass101_Sub2_8080.aFloat5716)))); - float f_190_ = ((this.aClass101_Sub2_8080.aFloat5736) * (float) i_185_ + (this.aClass101_Sub2_8080.aFloat5691) * (float) i_186_ + (this.aClass101_Sub2_8080.aFloat5716) * (float) i_187_ + (this.aClass101_Sub2_8080.aFloat5724)); - if (!((float) this.anInt8095 > f) || !(f_190_ < (float) this.anInt8095)) { - if ((float) this.anInt8154 < f && (float) this.anInt8154 < f_190_) i_189_ |= 0x20; - } else i_189_ |= 0x10; - int i_191_ = (int) (((float) i_183_ * (this.aClass101_Sub2_8080.aFloat5700) + (float) i * (this.aClass101_Sub2_8080.aFloat5711) + ((float) i_184_ * this.aClass101_Sub2_8080.aFloat5704) + (this.aClass101_Sub2_8080.aFloat5729)) * (float) this.anInt8129 / (float) i_188_); - int i_192_ = (int) ((float) this.anInt8129 * ((this.aClass101_Sub2_8080.aFloat5729) + ((float) i_185_ * this.aClass101_Sub2_8080.aFloat5711 + ((float) i_186_ * (this.aClass101_Sub2_8080.aFloat5700)) + ((float) i_187_ * (this.aClass101_Sub2_8080.aFloat5704)))) / (float) i_188_); - if (this.aFloat8126 > (float) i_191_ && (float) i_192_ < this.aFloat8126) i_189_ |= 0x1; - else if (this.aFloat8158 < (float) i_191_ && (float) i_192_ > this.aFloat8158) i_189_ |= 0x2; - int i_193_ = (int) ((float) this.anInt8134 * ((this.aClass101_Sub2_8080.aFloat5710) + ((this.aClass101_Sub2_8080.aFloat5732 * (float) i_184_) + ((this.aClass101_Sub2_8080.aFloat5708) * (float) i + (this.aClass101_Sub2_8080.aFloat5722) * (float) i_183_))) / (float) i_188_); - int i_194_ = (int) ((float) this.anInt8134 * ((this.aClass101_Sub2_8080.aFloat5732) * (float) i_187_ + ((float) i_185_ * this.aClass101_Sub2_8080.aFloat5708 + ((float) i_186_ * (this.aClass101_Sub2_8080.aFloat5722))) + this.aClass101_Sub2_8080.aFloat5710) / (float) i_188_); - if (!((float) i_193_ < this.aFloat8103) || !(this.aFloat8103 > (float) i_194_)) { - if (this.aFloat8185 < (float) i_193_ && this.aFloat8185 < (float) i_194_) i_189_ |= 0x8; - } else i_189_ |= 0x4; - return i_189_; - } - - private final void method3904(int i) { - anInt7885++; - if (i > -50) anInt8001 = 12; - this.aFloat8103 = (float) (this.anInt8165 - this.anInt8130); - this.aFloat8126 = (float) (this.anInt8106 + -this.anInt8094); - this.aFloat8185 = (float) (this.anInt8096 + -this.anInt8130); - this.aFloat8158 = (float) (-this.anInt8094 + this.anInt8183); - } - - private final void method3905(byte i) { - method3940(1); - if (i < 80) aClass262_7927 = null; - anInt8047++; - if (aClass367_8143 != null) aClass367_8143.method3532(10425); - } - - final void method3643(Canvas canvas, int i, int i_195_) { - do { - try { - anInt7955++; - if (canvas == this.aCanvas7925) throw new RuntimeException(); - if (aHashtable8014.containsKey(canvas)) break; - if (!canvas.isShowing()) throw new RuntimeException(); - canvas.setIgnoreRepaint(true); - Object object = method3876(-1, canvas); - if (object == null) throw new RuntimeException(); - aHashtable8014.put(canvas, object); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.VF(" + (canvas != null ? "{...}" : "null") + ',' + i + ',' + i_195_ + ')')); - } - break; - } while (false); - } - - final int method3704() { - anInt7935++; - return -2 + this.anInt8138; - } - - private final void method3906(byte i) { - if (i < 81) method3840(-113, false); - if (!aBoolean8097) { - float[] fs = aFloatArray8152; - float f = ((float) (this.anInt8095 * -this.anInt8094) / (float) this.anInt8129); - float f_196_ = ((float) (this.anInt8095 * (this.anInt7931 + -this.anInt8094)) / (float) this.anInt8129); - float f_197_ = ((float) (this.anInt8095 * this.anInt8130) / (float) this.anInt8134); - float f_198_ = ((float) (this.anInt8095 * (-this.anInt7962 + this.anInt8130)) / (float) this.anInt8134); - if (f == f_196_ || f_197_ == f_198_) { - fs[12] = 0.0F; - fs[0] = 1.0F; - fs[13] = 0.0F; - fs[4] = 0.0F; - fs[3] = 0.0F; - fs[10] = 1.0F; - fs[15] = 1.0F; - fs[9] = 0.0F; - fs[14] = 0.0F; - fs[1] = 0.0F; - fs[2] = 0.0F; - fs[11] = 0.0F; - fs[6] = 0.0F; - fs[7] = 0.0F; - fs[8] = 0.0F; - fs[5] = 1.0F; - } else { - float f_199_ = 2.0F * (float) this.anInt8095; - fs[13] = 0.0F; - fs[3] = 0.0F; - fs[2] = 0.0F; - fs[11] = -1.0F; - fs[7] = 0.0F; - fs[5] = f_199_ / (-f_198_ + f_197_); - fs[1] = 0.0F; - fs[12] = 0.0F; - fs[14] = aFloat8128 = ((float) (this.anInt8154 * this.anInt8095) / (float) (this.anInt8095 - this.anInt8154)); - fs[0] = f_199_ / (-f + f_196_); - fs[15] = 0.0F; - fs[8] = (f_196_ + f) / (-f + f_196_); - fs[9] = (f_197_ + f_198_) / (f_197_ - f_198_); - fs[10] = aFloat8166 = ((float) this.anInt8154 / (float) (-this.anInt8154 + this.anInt8095)); - fs[4] = 0.0F; - fs[6] = 0.0F; - } - method3912(-1568); - aBoolean8097 = true; - } - anInt7943++; - } - - private final void method3907(boolean bool) { - anInt7888++; - method3925(-128, anInterface5_Impl1_8203, 0); - method3862(0, aClass130_8205); - method3899(1, 0, Class249.aClass21_3217, bool); - } - - final int[] Y() { - anInt7886++; - return (new int[]{this.anInt8094, this.anInt8130, this.anInt8129, this.anInt8134}); - } - - private final void method3908(byte i) { - if (i < 2) method3949((byte) 23); - anInt8070++; - this.aFloat8089 = (float) this.anInt8154; - } - - final void method3688(int i, int i_200_, int i_201_, int i_202_, int i_203_, int i_204_, int i_205_) { - anInt7942++; - } - - final Class105 method3683(int i, int i_206_, int i_207_, int i_208_, boolean bool) { - anInt7993++; - Class105_Sub1 class105_sub1 = new Class105_Sub1(this, i_207_, i_208_, bool); - class105_sub1.method979(0, 0, i_207_, i_208_, i, i_206_); - return class105_sub1; - } - - final void method3909(byte i, int i_209_) { - method3894(-28186, i | (i << 8 | (i << 16 | i << 24))); - anInt7996++; - if (i_209_ > -103) method3887((byte) 51); - } - - abstract void method3910(byte i, int i_210_); - - final void method3685(Class98 class98, int i) { - try { - aClass280_8136.method2101(this, class98, i, 0); - anInt7968++; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.FG(" + (class98 != null ? "{...}" : "null") + ',' + i + ')')); - } - } - - final Class105 method3691(Class207 class207, boolean bool) { - try { - anInt7978++; - Class105 class105; - if (class207.anInt2702 == 0 || class207.anInt2696 == 0) class105 = this.method3662(1, new int[1], (byte) 94, 0, 1, 1); - else { - int[] is = new int[(class207.anInt2702 * class207.anInt2696)]; - int i = 0; - int i_211_ = 0; - if (class207.aByteArray2695 == null) { - for (int i_212_ = 0; (i_212_ < class207.anInt2696); i_212_++) { - for (int i_213_ = 0; i_213_ < class207.anInt2702; i_213_++) { - int i_214_ = (class207.anIntArray2697[0xff & (class207.aByteArray2699[i++])]); - is[i_211_++] = (i_214_ != 0 ? Class273.method2057(i_214_, -16777216) : 0); - } - } - } else { - for (int i_215_ = 0; i_215_ < class207.anInt2696; i_215_++) { - for (int i_216_ = 0; class207.anInt2702 > i_216_; i_216_++) { - is[i_211_++] = (Class273.method2057((class207.anIntArray2697[Class139.method1166((class207.aByteArray2699[i]), 255)]), (class207.aByteArray2695[i] << 24))); - i++; - } - } - } - class105 = this.method3662(class207.anInt2702, is, (byte) 94, 0, class207.anInt2702, class207.anInt2696); - } - class105.method985(class207.anInt2703, class207.anInt2700, class207.anInt2698, class207.anInt2701); - return class105; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.GF(" + (class207 != null ? "{...}" : "null") + ',' + bool + ')')); - } - } - - final void method3636(int i, int i_217_, int i_218_, int i_219_, int i_220_, int i_221_, aa var_aa, int i_222_, int i_223_) { - try { - anInt7918++; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.ME(" + i + ',' + i_217_ + ',' + i_218_ + ',' + i_219_ + ',' + i_220_ + ',' + i_221_ + ',' + (var_aa != null ? "{...}" : "null") + ',' + i_222_ + ',' + i_223_ + ')')); - } - } - - final void method3663() { - anInt7887++; - if (aClass372_8137 != null) aClass372_8137.method3585(7271); - } - - abstract void method3911(Canvas canvas, int i, Object object); - - final Class101 method3654() { - anInt8060++; - return new Class101_Sub2(); - } - - private final void method3912(int i) { - aFloatArray8152[14] = aFloat8128; - anInt8022++; - if (i == -1568) { - aFloatArray8152[10] = aFloat8166; - this.aFloat8169 = ((aFloatArray8152[14] - (float) this.anInt8154) / aFloatArray8152[10]); - } - } - - private final void method3913(byte i) { - int i_224_ = -106 / ((-8 - i) / 33); - anInt8058++; - aBoolean8121 = false; - if (aClass367_8143 != null) aClass367_8143.method3531(false); - method3898(12); - } - - private final void method3914(byte i) { - anInt7922++; - anInterface5_Impl1_8201 = method3889(false, 16711680); - if (i <= -97) { - anInterface5_Impl1_8201.method20(3096, (byte) 126, 12); - for (int i_225_ = 0; i_225_ < 4; i_225_++) { - Buffer buffer = anInterface5_Impl1_8201.method19(true, 26775); - if (buffer != null) { - Stream stream = method3893(buffer, 9179); - stream.a(0.0F); - stream.a(0.0F); - stream.a(0.0F); - for (int i_226_ = 0; i_226_ <= 256; i_226_++) { - double d = (3.141592653589793 * (double) (i_226_ * 2) / 256.0); - float f = (float) Math.cos(d); - float f_227_ = (float) Math.sin(d); - if (Stream.c()) { - stream.a(f_227_); - stream.a(f); - stream.a(0.0F); - } else { - stream.b(f_227_); - stream.b(f); - stream.b(0.0F); - } - } - stream.a(); - if (anInterface5_Impl1_8201.method18(6331)) break; - } - } - aClass130_8190 = method3812(0, (new Class58[]{new Class58(Class325.aClass325_4073)})); - } - } - - final void method3915(int i) { - this.aBoolean8069 = false; - anInt7964++; - method3836(1); - if (i != 0) aFloatArray8142 = null; - } - - private final void method3916(byte i) { - anInt8075++; - method3928(0); - method3842(true); - method3883(106); - method3823((byte) 53); - if (i != 103) method3840(-124, true); - method3892(0); - method3884((byte) 101); - method3818(true); - method3859(i + -100); - method3841((byte) -116); - method3827((byte) -117); - method3851(25644); - method3947(4); - method3950(0); - method3939((byte) 100); - for (int i_228_ = this.anInt8090 + -1; i_228_ >= 0; i_228_--) { - method3897(i_228_, i ^ ~0x117a); - method3920(i ^ 0x6d); - method3935(-101); - method3879(i + -8732); - } - method3945(-127); - method3937((byte) -33); - method3813(true); - method3901((byte) -102); - method3898(12); - } - - private final void method3917(boolean bool) { - if (aCanvas7910 == null) anInt7958 = anInt7987 = 1; - else { - Dimension dimension = aCanvas7910.getSize(); - anInt7987 = dimension.height; - anInt7958 = dimension.width; - } - if (bool != false) aHashtable8014 = null; - anInt8033++; - this.anInt7962 = anInt7987; - this.anInt7931 = anInt7958; - method3918(1); - method3831((byte) 19); - method3846((byte) 126); - method3937((byte) -33); - method3904(-71); - method3932((byte) -126); - la(); - } - - private final void method3918(int i) { - anInt7904++; - if (i != 1) aStream8088 = null; - aBoolean8127 = false; - if (Class148.aClass196_2042 == this.aClass196_8184) { - method3919(i + 20793); - method3929(true); - } - } - - final void P(int i, int i_229_, int i_230_, int i_231_, int i_232_) { - anInt8013++; - method3709(i, i_229_, i, i_230_ + i_229_, i_231_, i_232_); - } - - private final void method3919(int i) { - if (i == 20794) { - if (!aBoolean8127) { - float[] fs = aFloatArray8120; - if (this.anInt7931 == 0 || this.anInt7962 == 0) { - fs[3] = 0.0F; - fs[12] = 0.0F; - fs[6] = 0.0F; - fs[9] = 0.0F; - fs[11] = 0.0F; - fs[15] = 1.0F; - fs[1] = 0.0F; - fs[8] = 0.0F; - fs[2] = 0.0F; - fs[14] = 0.0F; - fs[5] = 1.0F; - fs[13] = 0.0F; - fs[7] = 0.0F; - fs[10] = 1.0F; - fs[4] = 0.0F; - fs[0] = 1.0F; - } else { - fs[9] = 0.0F; - fs[12] = -1.0F; - fs[2] = 0.0F; - fs[0] = 2.0F / (float) this.anInt7931; - fs[4] = 0.0F; - fs[15] = 1.0F; - fs[13] = 1.0F; - fs[6] = 0.0F; - fs[3] = 0.0F; - fs[10] = 0.5F; - fs[8] = 0.0F; - fs[1] = 0.0F; - fs[14] = 0.5F; - fs[7] = 0.0F; - fs[5] = -2.0F / (float) this.anInt7962; - fs[11] = 0.0F; - } - aBoolean8127 = true; - } - anInt7970++; - } - } - - final void method3677(Canvas canvas) { - try { - anObject8020 = null; - anInt7936++; - aCanvas7910 = null; - if (canvas == null || canvas == this.aCanvas7925) { - anObject8020 = this.anObject7919; - aCanvas7910 = this.aCanvas7925; - } else if (aHashtable8014.containsKey(canvas)) { - anObject8020 = aHashtable8014.get(canvas); - aCanvas7910 = canvas; - } - if (aCanvas7910 == null || anObject8020 == null) throw new RuntimeException(); - method3881(anObject8020, (byte) 99, aCanvas7910); - method3917(false); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "wga.MF(" + (canvas != null ? "{...}" : "null") + ')'); - } - } - - abstract void method3920(int i); - - abstract void method3921(int i); - - void method3646(int i) { - if (aClass372_8137 != null) aClass372_8137.method3586(-16130); - anInt8059++; - this.anInt8146 = 0x7fffffff & i; - } - - final void method3674(int i, int i_233_, int i_234_, int i_235_, int i_236_, int i_237_, int i_238_, int i_239_, int i_240_) { - anInt8046++; - float f = (float) i_234_ - (float) i; - float f_241_ = (float) i_235_ - (float) i_233_; - if (f != 0.0F || f_241_ != 0.0F) { - float f_242_ = (float) (1.0 / Math.sqrt(f_241_ * f_241_ + f * f)); - f *= f_242_; - f_241_ *= f_242_; - } else f = 1.0F; - method3903(false); - method3894(-28186, i_236_); - method3849((byte) 47, 0, Class348_Sub40_Sub39.aClass70_9485); - method3885(0, true, Class348_Sub40_Sub39.aClass70_9485); - method3817(94, i_237_); - method3942(5); - method3926((byte) 86, false); - i_240_ %= i_238_ + i_239_; - float f_243_ = (float) i_238_ * f; - float f_244_ = (float) i_238_ * f_241_; - float f_245_ = 0.0F; - float f_246_ = 0.0F; - float f_247_ = f_243_; - float f_248_ = f_244_; - if (i_238_ >= i_240_) { - f_248_ = (float) (-i_240_ + i_238_) * f_241_; - f_247_ = f * (float) (i_238_ + -i_240_); - } else { - f_246_ = (float) (-i_240_ + (i_238_ - -i_239_)) * f_241_; - f_245_ = f * (float) (i_238_ + i_239_ - i_240_); - } - float f_249_ = (float) i + f_245_; - float f_250_ = f_246_ + (float) i_233_; - float f_251_ = (float) i_239_ * f; - float f_252_ = f_241_ * (float) i_239_; - for (; ; ) { - if (i_234_ > i) { - if (f_249_ > (float) i_234_) break; - if ((float) i_234_ < f_249_ + f_247_) f_247_ = (float) i_234_ - f_249_; - } else { - if (f_249_ < (float) i_234_) break; - if ((float) i_234_ > f_249_ + f_247_) f_247_ = (float) i_234_ - f_249_; - } - if (i_233_ < i_235_) { - if ((float) i_235_ < f_250_) break; - if (f_248_ + f_250_ > (float) i_235_) f_248_ = (float) i_235_ - f_250_; - } else { - if (f_250_ < (float) i_235_) break; - if (f_248_ + f_250_ < (float) i_235_) f_248_ = (float) i_235_ - f_250_; - } - if (!method3878(f_250_, 0, f_249_ + f_247_, 0.0F, f_250_ + f_248_, 0.0F, f_249_)) return; - method3907(true); - f_250_ += f_252_ + f_248_; - f_249_ += f_251_ + f_247_; - f_247_ = f_243_; - f_248_ = f_244_; - } - method3926((byte) 88, true); - method3885(0, true, Class342.aClass70_4247); - method3849((byte) 47, 0, Class342.aClass70_4247); - } - - final void pa() { - anInt7947++; - this.aBoolean8160 = false; - } - - final void method3922(boolean bool) { - if (bool != false) M(); - anInt7911++; - Enumeration enumeration = aHashtable8014.keys(); - while (enumeration.hasMoreElements()) { - Canvas canvas = (Canvas) enumeration.nextElement(); - method3911(canvas, 1, aHashtable8014.get(canvas)); - } - anInterface5_Impl1_8193.method21(23315); - anInterface5_Impl1_8203.method21(23315); - anInterface5_Impl1_8201.method21(23315); - this.aClass64_Sub2_8198.method664(-23755); - this.aClass64_Sub2_8194.method664(-23755); - this.aClass64_Sub2_8187.method664(-23755); - this.aClass64_Sub2_8199.method664(-23755); - this.aClass64_Sub2_8189.method664(-23755); - aClass280_8136.method2105(-122); - anInterface5_Impl2_8195.method21(23315); - } - - final void method3923(boolean bool, int i) { - if (i != 1) { - if (i != 0) { - if (i == 2) method3874(Class328_Sub3.aClass229_6519, 117, Class248.aClass229_3196); - else if (i == 3) method3874(Class167.aClass229_2207, 111, Class348_Sub23_Sub2.aClass229_9011); - else if (i == 4) method3874(Class348_Sub7.aClass229_6644, 126, Class348_Sub7.aClass229_6644); - } else method3874(Class167.aClass229_2207, 120, Class167.aClass229_2207); - } else method3874(Class328_Sub3.aClass229_6519, 127, Class328_Sub3.aClass229_6519); - anInt8034++; - if (bool != true) aFloatArray8152 = null; - } - - abstract void method3924(boolean bool, boolean bool_253_, int i, Class70 class70, boolean bool_254_); - - abstract void method3925(int i, Interface5_Impl1 interface5_impl1, int i_255_); - - abstract void method3926(byte i, boolean bool); - - final void U(int i, int i_256_, int i_257_, int i_258_, int i_259_) { - method3709(i, i_256_, i - -i_257_, i_256_, i_258_, i_259_); - anInt7926++; - } - - final void method3927(boolean bool) { - if (anInt8100 != 4) { - method3845((byte) 49); - method3838(true, false); - method3866(false, bool); - method3890(false, (byte) 108); - method3946(-32, false); - method3814(false, false, -2, (byte) 35); - method3817(120, 1); - method3923(true, 0); - anInt8100 = 4; - } - if (bool != true) this.aClass64_Sub2_8200 = null; - anInt7986++; - } - - abstract void method3928(int i); - - final void method3701(Canvas canvas) { - do { - try { - anInt7906++; - if (this.aCanvas7925 == canvas) throw new RuntimeException(); - if (!aHashtable8014.containsKey(canvas)) break; - method3911(canvas, 1, aHashtable8014.get(canvas)); - aHashtable8014.remove(canvas); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "wga.AG(" + (canvas != null ? "{...}" : "null") + ')'); - } - break; - } while (false); - } - - final Class105 method3711(int[] is, int i, int i_260_, int i_261_, int i_262_, boolean bool) { - try { - anInt7944++; - return new Class105_Sub1(this, i_261_, i_262_, is, i, i_260_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.BE(" + (is != null ? "{...}" : "null") + ',' + i + ',' + i_260_ + ',' + i_261_ + ',' + i_262_ + ',' + bool + ')')); - } - } - - private final void method3929(boolean bool) { - method3813(bool); - anInt7949++; - if (aClass367_8143 != null) aClass367_8143.method3524(-14775); - } - - final void method3930(byte i) { - this.aClass101_Sub2Array8131 = new Class101_Sub2[this.anInt8090]; - anInterface18Array8098 = new Interface18[this.anInt8090]; - this.aClass229Array8086 = new Class229[this.anInt8090]; - this.aClass229Array8092 = new Class229[this.anInt8090]; - this.aClass251Array8113 = new Class251[this.anInt8090]; - anInt7889++; - for (int i_263_ = 0; this.anInt8090 > i_263_; i_263_++) { - this.aClass229Array8092[i_263_] = Class167.aClass229_2207; - this.aClass229Array8086[i_263_] = Class167.aClass229_2207; - this.aClass251Array8113[i_263_] = Class348_Sub42_Sub18.aClass251_9685; - this.aClass101_Sub2Array8131[i_263_] = new Class101_Sub2(); - } - this.aClass348_Sub1Array8132 = new Class348_Sub1[-2 + this.anInt8138]; - this.anInterface18_8147 = method3861(1, (byte) -84, 1, Class68.aClass68_1183, Class108.aClass304_1662); - method3651(new za_Sub2(262144)); - this.aClass130_8204 = method3812(0, (new Class58[]{new Class58(new Class325[]{Class325.aClass325_4073, Class325.aClass325_4078})})); - this.aClass130_8202 = method3812(i ^ 0x1a, (new Class58[]{new Class58(new Class325[]{Class325.aClass325_4073, Class325.aClass325_4076})})); - this.aClass130_8208 = method3812(0, (new Class58[]{new Class58(Class325.aClass325_4073), new Class58(Class325.aClass325_4076), new Class58(Class325.aClass325_4078), new Class58(Class325.aClass325_4075)})); - this.aClass130_8191 = method3812(0, (new Class58[]{new Class58(Class325.aClass325_4073), new Class58(Class325.aClass325_4076), new Class58(Class325.aClass325_4078)})); - this.aClass64_Sub2_8206 = new Class64_Sub2(this, 0, 0, false, false); - this.aClass64_Sub2_8198 = new Class64_Sub2(this, 0, 0, true, true); - this.aClass64_Sub2_8192 = new Class64_Sub2(this, 0, 0, false, false); - this.aClass64_Sub2_8194 = new Class64_Sub2(this, 0, 0, true, true); - this.aClass64_Sub2_8200 = new Class64_Sub2(this, 0, 0, false, false); - this.aClass64_Sub2_8187 = new Class64_Sub2(this, 0, 0, true, true); - this.aClass64_Sub2_8188 = new Class64_Sub2(this, 0, 0, false, false); - this.aClass64_Sub2_8199 = new Class64_Sub2(this, 0, 0, true, true); - this.aClass64_Sub2_8207 = new Class64_Sub2(this, 0, 0, false, false); - this.aClass64_Sub2_8189 = new Class64_Sub2(this, 0, 0, true, true); - aClass280_8136 = new Class280(this); - anInterface5_Impl2_8195 = method3840(-28633, true); - method3902((byte) -42); - this.aClass269_7937 = new Class269(this); - aClass367Array8139[1] = method3832(1, (byte) -103); - aClass367Array8139[2] = method3832(2, (byte) -65); - aClass367Array8139[4] = method3832(4, (byte) -73); - aClass367Array8139[5] = method3832(5, (byte) -101); - if (i != 26) this.aClass130_8204 = null; - aClass367Array8139[6] = method3832(6, (byte) -60); - aClass367Array8139[7] = method3832(7, (byte) -100); - aClass367Array8139[3] = method3832(3, (byte) -63); - aClass367Array8139[8] = method3832(8, (byte) -60); - aClass367Array8139[9] = method3832(9, (byte) -78); - if (!aClass367Array8139[2].method3530(-58)) aClass367Array8139[2] = method3832(0, (byte) -74); - if (!aClass367Array8139[4].method3530(-74)) aClass367Array8139[4] = aClass367Array8139[2]; - if (!aClass367Array8139[8].method3530(-116)) aClass367Array8139[8] = aClass367Array8139[4]; - if (!aClass367Array8139[9].method3530(-104)) aClass367Array8139[9] = aClass367Array8139[8]; - method3882((byte) 52); - la(); - this.method3673(); - } - - abstract boolean method3931(boolean bool, Class304 class304, Class68 class68); - - final void method3932(byte i) { - if (this.aClass196_8184 != Class219.aClass196_2864) { - Class196 class196 = this.aClass196_8184; - this.aClass196_8184 = Class219.aClass196_2864; - if (class196.method1450(-116)) method3913((byte) -100); - anInt8100 &= ~0x1f; - this.aFloatArray8135 = aFloatArray8111; - } - anInt7977++; - if (i > -106) this.anInt8146 = 6; - } - - final void H(int i, int i_264_, int i_265_, int[] is) { - try { - anInt8012++; - float f = (this.aClass101_Sub2_8080.method933((byte) -105, (float) i, (float) i_265_, (float) i_264_)); - int i_266_; - int i_267_; - if (f >= -0.0078125F && f <= 0.0078125F) { - i_266_ = this.anInt8130; - i_267_ = this.anInt8094; - } else { - i_267_ = (int) ((float) this.anInt8129 * (this.aClass101_Sub2_8080.method929((float) i_265_, (float) i_264_, (byte) 45, (float) i)) / f); - i_266_ = (int) ((float) this.anInt8134 * (this.aClass101_Sub2_8080.method922((byte) 64, (float) i, (float) i_265_, (float) i_264_)) / f); - } - is[1] = (int) ((float) i_266_ - this.aFloat8103); - is[0] = (int) ((float) i_267_ - this.aFloat8126); - is[2] = (int) f; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.H(" + i + ',' + i_264_ + ',' + i_265_ + ',' + (is != null ? "{...}" : "null") + ')')); - } - } - - final void method3933(int i) { - anInt7956++; - if (i >= -34) aClass299_Sub2_8171 = null; - method3860(Class348_Sub42_Sub16.aClass21_9661, 2, 8); - } - - final void method3628(int i, int i_268_, int i_269_, int i_270_, int i_271_, int i_272_) { - anInt7971++; - float f = method3858(false); - method3903(false); - method3894(-28186, i_271_); - method3849((byte) 47, 0, Class348_Sub40_Sub39.aClass70_9485); - method3885(0, true, Class348_Sub40_Sub39.aClass70_9485); - method3817(89, i_272_); - this.aClass101_Sub2_8074.method932(1.0F, (float) (-1 + i_270_), (float) (i_269_ - 1), (byte) -33); - this.aClass101_Sub2_8074.method920(-f + (float) i_268_, false, 0.0F, (float) i - f); - method3915(0); - method3926((byte) 98, false); - method3860(Class348_Sub5_Sub1.aClass21_8832, 4, 8); - method3926((byte) 104, true); - method3885(0, true, Class342.aClass70_4247); - method3849((byte) 47, 0, Class342.aClass70_4247); - } - - final Class101_Sub2 method3934(int i) { - if (i > -69) return null; - anInt8055++; - return this.aClass101_Sub2_8074; - } - - abstract void method3935(int i); - - final int XA() { - anInt7897++; - return this.anInt8154; - } - - final int method3679(int i, int i_273_) { - anInt8030++; - return i_273_ | i; - } - - static final void method3936(int i) { - anInt7990++; - if (Class262.aClass190ArrayArray3335 != null) { - for (int i_274_ = 0; (i_274_ < Class262.aClass190ArrayArray3335.length); i_274_++) { - for (int i_275_ = 0; (Class262.aClass190ArrayArray3335[i_274_].length > i_275_); i_275_++) - Class262.aClass190ArrayArray3335[i_274_][i_275_] = Class274.aClass190_3547; - } - } - if (i != 0) method3870(-90); - } - - abstract void method3937(byte i); - - abstract void method3938(Class21 class21, int i, Interface5_Impl2 interface5_impl2, int i_276_, int i_277_, int i_278_, int i_279_); - - final int method3667(int i, int i_280_) { - anInt7997++; - return i_280_ & i ^ i_280_; - } - - abstract void method3939(byte i); - - final Class324 method3686(Class143 class143, Class207[] class207s, boolean bool) { - try { - anInt7952++; - return new Class324_Sub2(this, class143, class207s, bool); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.JE(" + (class143 != null ? "{...}" : "null") + ',' + (class207s != null ? "{...}" : "null") + ',' + bool + ')')); - } - } - - final void method3642(int i, Class348_Sub1[] class348_sub1s) { - do { - try { - for (int i_281_ = 0; i_281_ < i; i_281_++) - this.aClass348_Sub1Array8132[i_281_] = class348_sub1s[i_281_]; - anInt7988++; - this.anInt8151 = i; - if (!this.aClass196_8184.method1450(-94)) break; - method3823((byte) 51); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.FF(" + i + ',' + (class348_sub1s != null ? "{...}" : "null") + ')')); - } - break; - } while (false); - } - - final boolean method3627() { - anInt8038++; - return false; - } - - final za method3702(int i) { - anInt8049++; - za_Sub2 var_za_Sub2 = new za_Sub2(i); - aClass262_7927.method1999(var_za_Sub2, -20180); - return var_za_Sub2; - } - - final int M() { - anInt7884++; - return anInt8210; - } - - abstract void method3940(int i); - - final int method3941(int i) { - int i_282_ = -33 / ((55 - i) / 36); - anInt7921++; - return anInt8162; - } - - final void method3942(int i) { - if (i != 5) anInt8045 = -47; - anInt8008++; - this.aClass101_Sub2_8074.method910(); - this.aBoolean8069 = true; - method3836(1); - } - - final Class348_Sub1 method3690(int i, int i_283_, int i_284_, int i_285_, int i_286_, float f) { - anInt7894++; - return new Class348_Sub1_Sub3(i, i_283_, i_284_, i_285_, i_286_, f); - } - - final void method3943(boolean bool, int i) { - if (i != -31953) aClass101_Sub2_8085 = null; - anInt7899++; - if (bool == !this.aBoolean8149) { - this.aBoolean8149 = bool; - method3883(-90); - } - } - - final Interface18_Impl3 method3944(byte[] is, int i, Class304 class304, int i_287_, boolean bool, int i_288_) { - try { - if (i_287_ != 2) return null; - anInt7929++; - return method3843(i_288_, 0, i, 0, is, class304, i_287_ ^ 0x22, bool); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.MG(" + (is != null ? "{...}" : "null") + ',' + i + ',' + (class304 != null ? "{...}" : "null") + ',' + i_287_ + ',' + bool + ',' + i_288_ + ')')); - } - } - - abstract void method3945(int i); - - final boolean method3693() { - anInt7939++; - return true; - } - - ha_Sub3(Canvas canvas, Object object, d var_d, Class45 class45, int i, int i_289_) { - super(var_d); - this.aFloat8089 = 3584.0F; - this.anInt8095 = 50; - this.anInt8094 = 0; - this.aFloat8087 = 1.0F; - aBoolean8112 = false; - this.anInt8096 = 0; - this.anInt8105 = 0; - this.anInt8129 = 512; - this.aBoolean8118 = false; - anInt8108 = 0; - this.anInt8091 = -1; - aBoolean8121 = false; - this.aBoolean8116 = true; - this.anInt8125 = 8; - this.aFloatArray8102 = new float[]{0.0F, 0.0F, -1.0F, 0.0F}; - aFloatArray8142 = new float[]{0.0F, 0.0F, 1.0F, 0.0F}; - aFloatArray8111 = new float[]{1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F}; - this.anInt8130 = 0; - aFloatArray8157 = new float[16]; - this.aBoolean8110 = true; - this.anInt8109 = 0; - aFloatArray8120 = new float[16]; - anInt8104 = -1; - this.aBoolean8124 = true; - aBoolean8127 = false; - anInt8156 = 0; - aBoolean8153 = false; - this.anInt8144 = -1; - this.anInt8154 = 3584; - this.anInt8107 = 3; - aClass367Array8139 = new Class367[10]; - this.anInt8150 = 128; - this.anInt8134 = 512; - this.aBoolean8164 = false; - aFloatArray8140 = new float[]{0.0F, 0.0F, 1.0F, 0.0F}; - this.aFloat8169 = 3584.0F; - this.aBoolean8141 = true; - this.aClass173_8163 = Class348_Sub4.aClass173_6602; - this.aBoolean8148 = true; - aBoolean8097 = false; - this.anInt8165 = 0; - this.aBoolean8145 = false; - aFloatArray8152 = new float[16]; - aBoolean8176 = false; - anInt8161 = 0; - this.anInt8106 = 0; - this.aBoolean8149 = false; - aFloat8155 = 1.0F; - this.aFloatArray8135 = aFloatArray8111; - anInt8167 = 1; - anInt8179 = -1; - this.anInt8175 = 0; - anInt8177 = 0; - this.aFloat8168 = 1.0F; - this.aFloat8174 = -1.0F; - this.aFloatArray8170 = new float[]{0.0F, 0.0F, 1.0F, 0.0F}; - this.anInt8181 = 0; - this.aClass196_8184 = Class219.aClass196_2864; - this.aFloat8180 = 1.0F; - this.aFloat8186 = -1.0F; - anInt8172 = 16777215; - this.anInt8183 = 0; - aStream8088 = new Stream(); - aClass101_Sub2_8196 = new Class101_Sub2(); - try { - try { - this.anInt8117 = i; - this.aClass45_8039 = class45; - aCanvas7910 = this.aCanvas7925 = canvas; - anObject8020 = this.anObject7919 = object; - Dimension dimension = canvas.getSize(); - this.anInt7962 = anInt7987 = dimension.height; - this.anInt7931 = anInt7958 = dimension.width; - this.anInt8178 = i_289_; - Class59_Sub2_Sub1.method566(false, true, (byte) -127); - if (this.aD4579 == null) { - this.aNativeInterface7924 = new NativeInterface(0, this.anInt8178); - aClass372_8137 = null; - } else { - aClass372_8137 = new Class372(this, this.aD4579); - this.aNativeInterface7924 = new NativeInterface(this.aD4579.method2(true), this.anInt8178); - for (int i_290_ = 0; this.aD4579.method2(true) > i_290_; i_290_++) { - Class12 class12 = this.aD4579.method3(i_290_, -6662); - if (class12 != null) this.aNativeInterface7924.initTextureMetrics(i_290_, class12.aByte201, class12.aByte216); - } - } - } catch (Throwable throwable) { - throwable.printStackTrace(); - this.method3635((byte) -58); - throw new RuntimeException(""); - } - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("wga.(" + (canvas != null ? "{...}" : "null") + ',' + (object != null ? "{...}" : "null") + ',' + (var_d != null ? "{...}" : "null") + ',' + (class45 != null ? "{...}" : "null") + ',' + i + ',' + i_289_ + ')')); - } - } - - final void method3946(int i, boolean bool) { - if (i != -32) aClass101_Sub2_8085 = null; - anInt8027++; - if (!bool == this.aBoolean8118) { - this.aBoolean8118 = bool; - method3841((byte) -116); - anInt8100 &= ~0x1f; - } - } - - abstract void method3947(int i); - - final void method3684(Class98 class98) { - try { - aClass280_8136.method2101(this, class98, -1, 0); - anInt7984++; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, "wga.EF(" + (class98 != null ? "{...}" : "null") + ')'); - } - } - - final Class101_Sub2 method3948(int i) { - if (!aBoolean8121) { - aClass101_Sub2_8085.method927(this.aClass101_Sub2_8083, (this.aClass101_Sub2_8074)); - aBoolean8121 = true; - } - anInt8042++; - if (i != -22036) anInt8104 = 66; - return aClass101_Sub2_8085; - } - - private final void method3949(byte i) { - anInt7895++; - if (!aBoolean8112) { - float[] fs = aFloatArray8157; - float f = (float) this.anInt8095; - float f_291_ = (float) this.anInt8154; - float f_292_ = (aFloat8155 * (float) -this.anInt8130 / (float) this.anInt8134); - float f_293_ = ((float) -this.anInt8094 * aFloat8155 / (float) this.anInt8129); - float f_294_ = (aFloat8155 * (float) (-this.anInt8094 + this.anInt7931) / (float) this.anInt8129); - float f_295_ = ((float) (-this.anInt8130 + this.anInt7962) * aFloat8155 / (float) this.anInt8134); - if (f_294_ == f_293_ || f_292_ == f_295_) { - fs[11] = 0.0F; - fs[8] = 0.0F; - fs[7] = 0.0F; - fs[10] = 1.0F; - fs[15] = 1.0F; - fs[9] = 0.0F; - fs[0] = 1.0F; - fs[1] = 0.0F; - fs[13] = 0.0F; - fs[4] = 0.0F; - fs[6] = 0.0F; - fs[12] = 0.0F; - fs[5] = 1.0F; - fs[2] = 0.0F; - fs[14] = 0.0F; - fs[3] = 0.0F; - } else { - fs[0] = 2.0F / (f_294_ - f_293_); - fs[12] = (f_294_ + f_293_) / (f_293_ - f_294_); - fs[6] = 0.0F; - fs[3] = 0.0F; - fs[11] = 0.0F; - fs[8] = 0.0F; - fs[14] = f / (f - f_291_); - fs[1] = 0.0F; - fs[4] = 0.0F; - fs[2] = 0.0F; - fs[9] = 0.0F; - fs[13] = (f_292_ + f_295_) / (f_295_ - f_292_); - fs[10] = 1.0F / (-f_291_ + f); - fs[5] = 2.0F / (f_295_ - f_292_); - fs[7] = 0.0F; - fs[15] = 1.0F; - } - method3908((byte) 29); - aBoolean8112 = true; - } - if (i >= -37) method3631(74); - } - - abstract void method3950(int i); - - static { - anInt8001 = -1; - } -} diff --git a/client/src/i.java b/client/src/i.java deleted file mode 100644 index b9c59bda5..000000000 --- a/client/src/i.java +++ /dev/null @@ -1,263 +0,0 @@ -/* i - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class i extends Class64 implements Interface19 { - private final oa anOa5117; - Class342[] aClass342Array5118; - long nativeid; - Class129[] aClass129Array5119; - private final ya aYa5120; - - final native void C(int i); - - final native void k(int i); - - public final native void w(boolean bool); - - final native void O(int i, int i_0_, int i_1_); - - final native void s(int i); - - final native void LA(int i); - - final native int fa(); - - final native boolean NA(); - - final native boolean F(); - - final native void ZA(i var_i_2_, i var_i_3_, int i, boolean bool, boolean bool_4_); - - final void method613(Class64 class64, int i, int i_5_, int i_6_, boolean bool) { - anOa5117.method3973().method144(this, class64, i, i_5_, i_6_, bool); - } - - final native void aa(short i, short i_7_); - - final boolean method623(int i, int i_8_, Class101 class101, boolean bool, int i_9_, int i_10_) { - return anOa5117.method3973().method143(this, i, i_8_, class101, bool, i_10_); - } - - final native int EA(); - - final Class129[] method619() { - return this.aClass129Array5119; - } - - final native void wa(); - - final native void P(int i, int i_11_, int i_12_, int i_13_); - - final void method608(Class101 class101, Class318_Sub3 class318_sub3, int i, int i_14_) { - if (class318_sub3 == null) anOa5117.method3973().method149(this, class101, null, i, i_14_); - else { - oa.anIntArray5132[5] = 0; - anOa5117.method3973().method149(this, class101, oa.anIntArray5132, i, i_14_); - class318_sub3.anInt6405 = oa.anIntArray5132[0]; - class318_sub3.anInt6402 = oa.anIntArray5132[1]; - class318_sub3.anInt6406 = oa.anIntArray5132[2]; - class318_sub3.anInt6404 = oa.anIntArray5132[3]; - class318_sub3.anInt6403 = oa.anIntArray5132[4]; - class318_sub3.aBoolean6401 = oa.anIntArray5132[5] != 0; - } - } - - final native void v(); - - private final native void l(long l, int i, int[] is, int i_15_, int i_16_, int i_17_, int i_18_, boolean bool); - - final boolean method618() { - return true; - } - - final void method621() { - if (anOa5117.anInt5141 > 1) { - synchronized (this) { - this.aBoolean1124 = false; - this.notifyAll(); - } - } - } - - final native void VA(int i); - - final boolean method628(int i, int i_19_, Class101 class101, boolean bool, int i_20_) { - return anOa5117.method3973().method146(this, i, i_19_, class101, bool); - } - - final Class64 method614(byte i, int i_21_, boolean bool) { - return anOa5117.method3973().method152(this, i, i_21_, bool); - } - - final native int na(); - - final native int HA(); - - final void method612() { - /* empty */ - } - - final native void p(int i, int i_22_, s var_s, s var_s_23_, int i_24_, int i_25_, int i_26_); - - final native int V(); - - final native int da(); - - final void method605(int i, int[] is, int i_27_, int i_28_, int i_29_, int i_30_, boolean bool) { - l(this.nativeid, i, is, i_27_, i_28_, i_29_, i_30_, bool); - } - - final native int G(); - - final native int ma(); - - private final native void R(oa var_oa, ya var_ya, int i, int i_31_, int[] is, int[] is_32_, int[] is_33_, int[] is_34_, short[] is_35_, int i_36_, short[] is_37_, short[] is_38_, short[] is_39_, byte[] is_40_, byte[] is_41_, byte[] is_42_, byte[] is_43_, short[] is_44_, short[] is_45_, int[] is_46_, byte i_47_, short[] is_48_, int i_49_, byte[] is_50_, short[] is_51_, short[] is_52_, short[] is_53_, int[] is_54_, int[] is_55_, int[] is_56_, byte[] is_57_, byte[] is_58_, int[] is_59_, int[] is_60_, int[] is_61_, int[] is_62_, int i_63_, int i_64_, int i_65_, int i_66_, int i_67_, int i_68_, int[] is_69_); - - final native void FA(int i); - - final void method624(int i, int i_70_, int i_71_, int i_72_) { - /* empty */ - } - - final native void ia(short i, short i_73_); - - protected final void finalize() { - if (this.nativeid != 0L) Class257.method1947(0, this); - } - - final native int WA(); - - final void method610(Class101 class101, int i, boolean bool) { - A(((ja) class101).nativeid, i, bool); - } - - final void method622() { - if (anOa5117.anInt5141 > 1) { - synchronized (this) { - while (this.aBoolean1124) { - try { - this.wait(); - } catch (InterruptedException interruptedexception) { - /* empty */ - } - } - this.aBoolean1124 = true; - } - } - } - - final void method615(Class101 class101, Class318_Sub3 class318_sub3, int i) { - if (class318_sub3 == null) anOa5117.method3973().method145(this, class101, null, i); - else { - oa.anIntArray5132[5] = 0; - anOa5117.method3973().method145(this, class101, oa.anIntArray5132, i); - class318_sub3.anInt6405 = oa.anIntArray5132[0]; - class318_sub3.anInt6402 = oa.anIntArray5132[1]; - class318_sub3.anInt6406 = oa.anIntArray5132[2]; - class318_sub3.anInt6404 = oa.anIntArray5132[3]; - class318_sub3.anInt6403 = oa.anIntArray5132[4]; - class318_sub3.aBoolean6401 = oa.anIntArray5132[5] != 0; - } - } - - final native boolean r(); - - final void method620(Class101 class101) { - method693(oa.anIntArray5140, class101); - int i = 0; - if (this.aClass129Array5119 != null) { - for (int i_74_ = 0; i_74_ < this.aClass129Array5119.length; i_74_++) { - Class129 class129 = this.aClass129Array5119[i_74_]; - class129.anInt1882 = oa.anIntArray5140[i++]; - class129.anInt1891 = oa.anIntArray5140[i++]; - class129.anInt1889 = oa.anIntArray5140[i++]; - class129.anInt1883 = oa.anIntArray5140[i++]; - class129.anInt1890 = oa.anIntArray5140[i++]; - class129.anInt1880 = oa.anIntArray5140[i++]; - class129.anInt1876 = oa.anIntArray5140[i++]; - class129.anInt1874 = oa.anIntArray5140[i++]; - class129.anInt1884 = oa.anIntArray5140[i++]; - } - } - if (this.aClass342Array5118 != null) { - for (int i_75_ = 0; i_75_ < this.aClass342Array5118.length; i_75_++) { - Class342 class342 = this.aClass342Array5118[i_75_]; - Class342 class342_76_ = class342; - if (class342.aClass342_4248 != null) class342_76_ = class342.aClass342_4248; - if (class342.aClass101_4252 != null) class342.aClass101_4252.method898(class101); - else class342.aClass101_4252 = class101.method907(); - class342_76_.anInt4238 = oa.anIntArray5140[i++]; - class342_76_.anInt4239 = oa.anIntArray5140[i++]; - class342_76_.anInt4240 = oa.anIntArray5140[i++]; - } - } - } - - final native void a(int i); - - final Class342[] method604() { - return this.aClass342Array5118; - } - - private final void method693(int[] is, Class101 class101) { - anOa5117.method3973().method151(this, is, class101); - } - - final native int ua(); - - final native void H(int i, int i_77_, int i_78_); - - i(oa var_oa, ya var_ya, Class124 class124, int i, int i_79_, int i_80_, int i_81_) { - anOa5117 = var_oa; - aYa5120 = var_ya; - this.aClass129Array5119 = class124.aClass129Array1846; - this.aClass342Array5118 = class124.aClass342Array1866; - int i_82_ = (class124.aClass129Array1846 == null ? 0 : class124.aClass129Array1846.length); - int i_83_ = (class124.aClass342Array1866 == null ? 0 : class124.aClass342Array1866.length); - int i_84_ = 0; - int[] is = new int[i_82_ * 3 + i_83_]; - for (int i_85_ = 0; i_85_ < i_82_; i_85_++) { - is[i_84_++] = this.aClass129Array5119[i_85_].anInt1881; - is[i_84_++] = this.aClass129Array5119[i_85_].anInt1877; - is[i_84_++] = this.aClass129Array5119[i_85_].anInt1892; - } - for (int i_86_ = 0; i_86_ < i_83_; i_86_++) - is[i_84_++] = this.aClass342Array5118[i_86_].anInt4244; - int i_87_ = (class124.aClass162Array1832 == null ? 0 : class124.aClass162Array1832.length); - int[] is_88_ = new int[i_87_ * 8]; - int i_89_ = 0; - for (int i_90_ = 0; i_90_ < i_87_; i_90_++) { - Class162 class162 = class124.aClass162Array1832[i_90_]; - Class189 class189 = Class73.method742(104, class162.anInt2153); - is_88_[i_89_++] = class162.anInt2155; - is_88_[i_89_++] = class189.anInt2526; - is_88_[i_89_++] = class189.anInt2530; - is_88_[i_89_++] = class189.anInt2525; - is_88_[i_89_++] = class189.anInt2533; - is_88_[i_89_++] = class189.anInt2534; - is_88_[i_89_++] = class189.aBoolean2531 ? -1 : 0; - } - for (int i_91_ = 0; i_91_ < i_87_; i_91_++) { - Class162 class162 = class124.aClass162Array1832[i_91_]; - is_88_[i_89_++] = class162.anInt2156; - } - R(anOa5117, aYa5120, class124.anInt1836, class124.anInt1821, class124.anIntArray1841, class124.anIntArray1847, class124.anIntArray1852, class124.anIntArray1868, class124.aShortArray1842, class124.anInt1817, class124.aShortArray1863, class124.aShortArray1835, class124.aShortArray1855, class124.aByteArray1843, class124.aByteArray1839, class124.aByteArray1834, class124.aByteArray1820, class124.aShortArray1862, class124.aShortArray1822, class124.anIntArray1824, class124.aByte1851, class124.aShortArray1856, class124.anInt1818, class124.aByteArray1823, class124.aShortArray1829, class124.aShortArray1849, class124.aShortArray1825, class124.anIntArray1859, class124.anIntArray1816, class124.anIntArray1844, class124.aByteArray1833, class124.aByteArray1853, class124.anIntArray1867, class124.anIntArray1857, class124.anIntArray1865, is, i_82_, i_83_, i, i_79_, i_80_, i_81_, is_88_); - } - - private final native void A(long l, int i, boolean bool); - - final native r ba(r var_r); - - private final native void oa(oa var_oa); - - i(oa var_oa) { - anOa5117 = var_oa; - aYa5120 = null; - oa(var_oa); - } - - final native int RA(); - - final native void I(int i, int[] is, int i_92_, int i_93_, int i_94_, boolean bool, int i_95_, int[] is_96_); -} diff --git a/client/src/j.java b/client/src/j.java deleted file mode 100644 index 8f7b7a50f..000000000 --- a/client/src/j.java +++ /dev/null @@ -1,125 +0,0 @@ -/* j - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class j extends Class105 implements Interface19 { - long nativeid; - - private final native void R(long l, boolean bool); - - private final native void P(long l, int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_); - - final void method964(int i, int i_6_, int i_7_, int i_8_, int i_9_) { - W(this.nativeid, i, i_6_, i_7_, i_8_, i_9_); - } - - private final native void RA(long l, int i, int i_10_, int i_11_, int i_12_, int i_13_, int i_14_, int i_15_, int i_16_); - - private final native void UA(long l, float f, float f_17_, float f_18_, float f_19_, float f_20_, float f_21_, int i, long l_22_, int i_23_, int i_24_); - - private final native int wa(long l); - - private final native int M(long l); - - final void method963(int i, int i_25_, aa var_aa, int i_26_, int i_27_) { - V(this.nativeid, i, i_25_, ((na) var_aa).nativeid, i_26_, i_27_); - } - - final void method984(int[] is) { - CA(this.nativeid, is); - } - - public final void w(boolean bool) { - R(this.nativeid, bool); - } - - final int method980() { - return JA(this.nativeid); - } - - private final native void EA(oa var_oa, int i, int i_28_); - - final void method985(int i, int i_29_, int i_30_, int i_31_) { - A(this.nativeid, i, i_29_, i_30_, i_31_); - } - - private final native void ma(oa var_oa, int[] is, byte[] is_32_, byte[] is_33_, int i, int i_34_, int i_35_, int i_36_); - - final void method968(int i, int i_37_, int i_38_) { - N(this.nativeid, i, i_37_, i_38_); - } - - final void method983(float f, float f_39_, float f_40_, float f_41_, float f_42_, float f_43_, int i, aa var_aa, int i_44_, int i_45_) { - UA(this.nativeid, f, f_39_, f_40_, f_41_, f_42_, f_43_, i, ((na) var_aa).nativeid, i_44_, i_45_); - } - - final int method969() { - return I(this.nativeid); - } - - private final native void CA(long l, int[] is); - - private final native void W(long l, int i, int i_46_, int i_47_, int i_48_, int i_49_); - - final void method982(int i, int i_50_, int i_51_, int i_52_, int i_53_, int i_54_, int i_55_, int i_56_) { - RA(this.nativeid, i, i_50_, i_51_, i_52_, i_53_, i_54_, i_55_, i_56_); - } - - final int method971() { - return M(this.nativeid); - } - - j(oa var_oa, int i, int i_57_) { - EA(var_oa, i, i_57_); - } - - private final native void b(long l, float f, float f_58_, float f_59_, float f_60_, float f_61_, float f_62_, int i, int i_63_, int i_64_, int i_65_); - - j(oa var_oa, int[] is, int i, int i_66_, int i_67_, int i_68_, boolean bool) { - ua(var_oa, is, i, i_66_, i_67_, i_68_, bool); - } - - private final native void A(long l, int i, int i_69_, int i_70_, int i_71_); - - private final native void V(long l, int i, int i_72_, long l_73_, int i_74_, int i_75_); - - j(oa var_oa, int[] is, byte[] is_76_, byte[] is_77_, int i, int i_78_, int i_79_, int i_80_) { - ma(var_oa, is, is_76_, is_77_, i, i_78_, i_79_, i_80_); - } - - private final native void N(long l, int i, int i_81_, int i_82_); - - private final native void YA(long l, int i, int i_83_, int i_84_, int i_85_, int i_86_, int i_87_); - - j(oa var_oa, int i, int i_88_, int i_89_, int i_90_, boolean bool) { - h(var_oa, i, i_88_, i_89_, i_90_, bool); - } - - private final native int I(long l); - - protected final void finalize() { - if (this.nativeid != 0L) Class257.method1947(0, this); - } - - private final native void ua(oa var_oa, int[] is, int i, int i_91_, int i_92_, int i_93_, boolean bool); - - final void method979(int i, int i_94_, int i_95_, int i_96_, int i_97_, int i_98_) { - YA(this.nativeid, i, i_94_, i_95_, i_96_, i_97_, i_98_); - } - - private final native void h(oa var_oa, int i, int i_99_, int i_100_, int i_101_, boolean bool); - - final void method965(int i, int i_102_, int i_103_, int i_104_, int i_105_, int i_106_, int i_107_) { - P(this.nativeid, i, i_102_, i_103_, i_104_, i_105_, i_106_, i_107_); - } - - final int method966() { - return wa(this.nativeid); - } - - final void method962(float f, float f_108_, float f_109_, float f_110_, float f_111_, float f_112_, int i, int i_113_, int i_114_, int i_115_) { - b(this.nativeid, f, f_108_, f_109_, f_110_, f_111_, f_112_, i, i_113_, i_114_, i_115_); - } - - private final native int JA(long l); -} diff --git a/client/src/ja.java b/client/src/ja.java deleted file mode 100644 index 2a8391c27..000000000 --- a/client/src/ja.java +++ /dev/null @@ -1,119 +0,0 @@ -/* ja - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class ja extends Class101 implements Interface19 { - long nativeid; - - private final native void la(); - - private final native void za(long l, int i); - - private final native void AA(long l, boolean bool); - - private final native void VA(long l, int i); - - private final native void NA(long l, int i); - - final void method891(int i, int i_0_, int i_1_) { - a(this.nativeid, i, i_0_, i_1_); - } - - private final native void l(long l, long l_2_); - - final void method910() { - u(this.nativeid); - } - - public final void w(boolean bool) { - AA(this.nativeid, bool); - } - - final void method905(int i, int i_3_, int i_4_, int[] is) { - XA(this.nativeid, i, i_3_, i_4_, is); - } - - final void method890(int[] is) { - w(this.nativeid, is); - } - - private final native void w(long l, int[] is); - - final void method908(int i) { - za(this.nativeid, i); - } - - private final native void XA(long l, int i, int i_5_, int i_6_, int[] is); - - final void method903(int i, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_) { - P(this.nativeid, i, i_7_, i_8_, i_9_, i_10_, i_11_); - } - - private final native void t(long l, int i); - - final void method900(int i) { - J(this.nativeid, i); - } - - private final native void u(long l); - - final void method897(int i, int i_12_, int i_13_, int[] is) { - b(this.nativeid, i, i_12_, i_13_, is); - } - - private final native void m(long l, int i); - - private final native void FA(long l, int i, int i_14_, int i_15_); - - final void method902(int i) { - NA(this.nativeid, i); - } - - private final native void va(long l, int i, int i_16_, int i_17_, int[] is); - - private final native void J(long l, int i); - - final void method898(Class101 class101) { - l(this.nativeid, ((ja) class101).nativeid); - } - - private final native void b(long l, int i, int i_18_, int i_19_, int[] is); - - final void method892(int i, int i_20_, int i_21_, int[] is) { - va(this.nativeid, i, i_20_, i_21_, is); - } - - private final native void P(long l, int i, int i_22_, int i_23_, int i_24_, int i_25_, int i_26_); - - private final native void a(long l, int i, int i_27_, int i_28_); - - protected final void finalize() { - if (this.nativeid != 0L) Class257.method1947(0, this); - } - - final void method896(int i) { - m(this.nativeid, i); - } - - final Class101 method907() { - ja var_ja_29_ = new ja(); - var_ja_29_.method898(this); - return var_ja_29_; - } - - final void method895(int i) { - t(this.nativeid, i); - } - - ja() { - la(); - } - - final void method894(int i, int i_30_, int i_31_) { - FA(this.nativeid, i, i_30_, i_31_); - } - - final void method899(int i) { - VA(this.nativeid, i); - } -} diff --git a/client/src/n.java b/client/src/n.java deleted file mode 100644 index 8f472ebdd..000000000 --- a/client/src/n.java +++ /dev/null @@ -1,40 +0,0 @@ -/* n - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class n extends Class324 implements Interface19 { - long nativeid; - - private final native void S(oa var_oa, ya var_ya, byte[][] is, int[] is_0_, int[] is_1_, int[] is_2_, int[] is_3_, int[] is_4_); - - n(oa var_oa, ya var_ya, Class143 class143, Class207[] class207s, Class105[] class105s) { - super(var_oa, class143); - byte[][] is = new byte[class207s.length][]; - int[] is_5_ = new int[class207s.length]; - int[] is_6_ = new int[class207s.length]; - int[] is_7_ = new int[class207s.length]; - int[] is_8_ = new int[class207s.length]; - for (int i = 0; i < class207s.length; i++) { - is[i] = class207s[i].aByteArray2699; - is_5_[i] = class207s[i].anInt2702; - is_6_[i] = class207s[i].anInt2696; - is_7_[i] = class207s[i].anInt2703; - is_8_[i] = class207s[i].anInt2700; - } - S(var_oa, var_ya, is, class207s[0].anIntArray2697, is_5_, is_6_, is_7_, is_8_); - } - - public final native void w(boolean bool); - - protected final void finalize() { - if (this.nativeid != 0L) Class257.method1947(0, this); - } - - final native void fa(char c, int i, int i_9_, int i_10_, boolean bool); - - private final native void PA(char c, int i, int i_11_, int i_12_, boolean bool, aa var_aa, int i_13_, int i_14_); - - final void method2578(char c, int i, int i_15_, int i_16_, boolean bool, aa var_aa, int i_17_, int i_18_) { - PA(c, i, i_15_, i_16_, bool, var_aa, i_17_, i_18_); - } -} diff --git a/client/src/na.java b/client/src/na.java deleted file mode 100644 index 3e58cc882..000000000 --- a/client/src/na.java +++ /dev/null @@ -1,19 +0,0 @@ -/* na - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class na extends aa implements Interface19 { - long nativeid; - - public final native void w(boolean bool); - - protected final void finalize() { - if (this.nativeid != 0L) Class257.method1947(0, this); - } - - private final native void ma(oa var_oa, ya var_ya, int i, int i_0_, int[] is, int[] is_1_); - - na(oa var_oa, ya var_ya, int i, int i_2_, int[] is, int[] is_3_) { - ma(var_oa, var_ya, i, i_2_, is, is_3_); - } -} diff --git a/client/src/oa.java b/client/src/oa.java deleted file mode 100644 index e5e7cf1e7..000000000 --- a/client/src/oa.java +++ /dev/null @@ -1,613 +0,0 @@ -/* oa - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import java.awt.*; -import java.lang.reflect.Method; - -final class oa extends ha implements Interface19 { - private ya aYa5121; - private static final int[] anIntArray5122 = new int[Math.max(Math.max(104, 20), 24573)]; - long nativeid = 0L; - private final Class262 aClass262_5123; - private boolean aBoolean5124 = false; - private Class101 aClass101_5125; - private final Class356 aClass356_5126; - private int anInt5127; - private int anInt5128; - private static final float[] aFloatArray5129 = new float[20]; - private static final int[] anIntArray5130; - private Class101 aClass101_5131; - static int[] anIntArray5132 = new int[6]; - private static final short[] aShortArray5133; - private static final byte[] aByteArray5134; - private static final int[] anIntArray5135; - private static final int[] anIntArray5136; - private p aP5137; - private static final float[] aFloatArray5138; - private static final int[] anIntArray5139; - static int[] anIntArray5140; - int anInt5141; - private boolean aBoolean5142; - private a[] anAArray5143; - - private final native void MA(d var_d, int i, int i_0_); - - final void method3628(int i, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_) { - U(i, i_1_, i_2_, i_4_, i_5_); - U(i, i_1_ + i_3_ - 1, i_2_, i_4_, i_5_); - P(i, i_1_ + 1, i_3_ - 1, i_4_, i_5_); - P(i + i_2_ - 1, i_1_ + 1, i_3_ - 1, i_4_, i_5_); - } - - private final native void ma(long l); - - final Class299 method3697(int i, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_) { - return null; - } - - final void method3651(za var_za) { - aYa5121 = (ya) var_za; - va(var_za); - } - - public final native void w(boolean bool); - - final native void A(int i, aa var_aa, int i_11_, int i_12_); - - final native void aa(int i, int i_13_, int i_14_, int i_15_, int i_16_, int i_17_); - - final void method3698() { - /* empty */ - } - - final void method3707(Rectangle[] rectangles, int i, int i_18_, int i_19_) throws Exception_Sub1 { - if (aP5137 == null) throw new IllegalStateException("off"); - aP5137.method3434(rectangles, i, i_18_, i_19_); - } - - final boolean method3708() { - return true; - } - - final void method3685(Class98 class98, int i) { - method3975(class98, false); - method3973().method155(this, anIntArray5136, anIntArray5135, anIntArray5139, aShortArray5133, class98.aClass88_1569.method840(0)); - } - - final void method3676(int i, int i_20_, int i_21_, int i_22_, int i_23_, int i_24_, int i_25_, int i_26_, int i_27_, int i_28_, int i_29_, int i_30_, int i_31_) { - /* empty */ - } - - final void method3663() { - /* empty */ - } - - final Class105 method3691(Class207 class207, boolean bool) { - j var_j = new j(this, class207.anIntArray2697, class207.aByteArray2699, class207.aByteArray2695, 0, class207.anInt2702, class207.anInt2702, class207.anInt2696); - var_j.method985(class207.anInt2703, class207.anInt2700, class207.anInt2698, class207.anInt2701); - return var_j; - } - - final native void HA(int i, int i_32_, int i_33_, int i_34_, int[] is); - - final void method3710() { - /* empty */ - } - - private final native void AA(short i, short i_35_, int i_36_, byte i_37_, byte i_38_, int i_39_, boolean bool, byte i_40_, byte i_41_, byte i_42_, byte i_43_, boolean bool_44_, boolean bool_45_, boolean bool_46_, boolean bool_47_, boolean bool_48_, byte i_49_, boolean bool_50_, boolean bool_51_, int i_52_); - - final void method3696(int i) { - throw new IllegalStateException(); - } - - final native void H(int i, int i_53_, int i_54_, int[] is); - - private final void g() {// - System.gc(); - System.runFinalization(); - Class257.method1948((byte) -33); - } - - final native void b(int i, int i_55_, int i_56_, int i_57_, double d); - - final void method3700(float f, float f_58_, float f_59_) { - /* empty */ - } - - final Class324 method3686(Class143 class143, Class207[] class207s, boolean bool) { - int[] is = new int[class207s.length]; - int[] is_60_ = new int[class207s.length]; - boolean bool_61_ = false; - for (int i = 0; i < class207s.length; i++) { - is[i] = class207s[i].anInt2702; - is_60_[i] = class207s[i].anInt2696; - if (class207s[i].aByteArray2695 != null) bool_61_ = true; - } - if (bool) { - if (bool_61_) throw new IllegalArgumentException("Cannot specify alpha with non-mono font unless someone writes it"); - return new h(this, aYa5121, class143, class207s, null); - } - if (bool_61_) throw new IllegalArgumentException("Cannot specify alpha with non-mono font unless someone writes it"); - return new n(this, aYa5121, class143, class207s, null); - } - - private final native void wa(int i, int i_62_, int i_63_, int i_64_, int i_65_, int i_66_); - - final boolean method3644() { - return true; - } - - final a method3973() { - for (int i = 0; i < this.anInt5141; i++) { - if (anAArray5143[i].aRunnable5112 == Thread.currentThread()) return anAArray5143[i]; - } - return null; - } - - private final native void t(p var_p); - - final Class101 method3705() { - return aClass101_5131; - } - - private final boolean WA(short i) {// - synchronized (this.aD4579) { - if (!this.aD4579.method4(-7953, i)) return false; - Class12 class12 = this.aD4579.method3(i, -6662); - if (class12 == null) return false; - int[] is; - if (class12.anInt200 != 2) is = this.aD4579.method5(true, i, 0.7F, 128, 128, -128); - else is = this.aD4579.method6(-21540, 128, 0.7F, i, true, 128); - CA(i, is, class12.aShort208, class12.anInt200, class12.aByte213, class12.aByte202, class12.anInt206, class12.aBoolean199, class12.aByte201, class12.aByte216, class12.aByte198, class12.aByte211, class12.aBoolean209, class12.aBoolean204, class12.aBoolean212, class12.aBoolean217, class12.aBoolean215, class12.aByte205, class12.aBoolean218, class12.aBoolean207, class12.anInt203); - } - return true; - } - - private final void method3975(Class98 class98, boolean bool) { - int i = 0; - int i_67_ = 0; - int i_68_ = 0; - int i_69_ = 0; - int i_70_ = 0; - for (Class318_Sub9_Sub2 class318_sub9_sub2 = ((Class318_Sub9_Sub2) class98.aClass88_1569.method848(8)); class318_sub9_sub2 != null; class318_sub9_sub2 = ((Class318_Sub9_Sub2) class98.aClass88_1569.method846((byte) -79))) { - anIntArray5136[i++] = class318_sub9_sub2.anInt8791; - anIntArray5136[i++] = class318_sub9_sub2.anInt8796; - anIntArray5136[i++] = class318_sub9_sub2.anInt8789; - anIntArray5135[i_67_++] = class318_sub9_sub2.anInt8790; - aShortArray5133[i_69_++] = (short) class318_sub9_sub2.anInt8792; - anIntArray5139[i_68_++] = class318_sub9_sub2.anInt8793; - if (bool) aByteArray5134[i_70_++] = class318_sub9_sub2.aByte8795; - } - } - - final void method3659(int i) { - anAArray5143[i].method154(); - } - - final void method3632(int[] is) { - Dimension dimension = aP5137.aCanvas5147.getSize(); - is[0] = dimension.width; - is[1] = dimension.height; - } - - private final native void CA(short i, int[] is, short i_71_, int i_72_, byte i_73_, byte i_74_, int i_75_, boolean bool, byte i_76_, byte i_77_, byte i_78_, byte i_79_, boolean bool_80_, boolean bool_81_, boolean bool_82_, boolean bool_83_, boolean bool_84_, byte i_85_, boolean bool_86_, boolean bool_87_, int i_88_); - - final native void DA(int i, int i_89_, int i_90_, int i_91_); - - final za method3702(int i) { - ya var_ya = new ya(this, i); - aClass262_5123.method1999(var_ya, -20180); - return var_ya; - } - - final void method3650(int i) { - anInt5128 = anInt5127 = i; - if (this.anInt5141 > 1) throw new IllegalStateException("No MT"); - method3631(this.anInt5141); - method3659(0); - } - - final int method3667(int i, int i_92_) { - int i_93_ = i & 0xfffff; - int i_94_ = i_92_ & 0xfffff; - return i_93_ & i_94_ ^ i_94_; - } - - final native void xa(float f); - - final void method3701(Canvas canvas) { - if (aP5137.aCanvas5147 == canvas) method3677(null); - p var_p = (p) aClass356_5126.method3480(canvas.hashCode(), -6008); - if (var_p != null) { - var_p.method2715((byte) 110); - var_p.method3436(); - } - } - - final void method3636(int i, int i_95_, int i_96_, int i_97_, int i_98_, int i_99_, aa var_aa, int i_100_, int i_101_) { - Z(i, i_95_, i_96_, i_97_, i_98_, i_99_, var_aa, i_100_, i_101_); - } - - protected final synchronized void finalize() { - this.method3635((byte) -45); - if (this.nativeid != 0L) Class257.method1947(0, this); - } - - private final native void d(int i); - - final native int i(); - - private final native void n(long l, long l_102_); - - final void method3684(Class98 class98) { - if (class98.aClass88_1569.method840(0) != 0) { - method3975(class98, false); - method3973().method155(this, anIntArray5136, anIntArray5135, anIntArray5139, aShortArray5133, class98.aClass88_1569.method840(0)); - } - } - - final int method3704() { - return 4; - } - - final native int JA(int i, int i_103_, int i_104_, int i_105_, int i_106_, int i_107_); - - final void method3652() { - if (!aBoolean5124) { - anAArray5143 = null; - aP5137 = null; - aYa5121 = null; - aClass101_5131 = null; - aClass356_5126.method3481(0); - for (ya var_ya = (ya) aClass262_5123.method1995(4); var_ya != null; var_ya = (ya) aClass262_5123.method1990((byte) 36)) - var_ya.ga(); - aClass262_5123.method1996(117); - FA(); - if (aBoolean5142) { - Class286_Sub8.method2173(true, -110, false); - aBoolean5142 = false; - } - g(); - Class257.method1946(-108); - aBoolean5124 = true; - } - } - - final void method3669(Canvas canvas, int i, int i_108_) { - p var_p = (p) aClass356_5126.method3480(canvas.hashCode(), -6008); - var_p.method3435(canvas, i, i_108_); - if (canvas != null && canvas == aP5137.aCanvas5147) method3677(canvas); - } - - private final boolean c(short i) {// - synchronized (this) { - Class12 class12 = this.aD4579.method3(i, -6662); - if (class12 == null) return false; - AA(i, class12.aShort208, class12.anInt200, class12.aByte213, class12.aByte202, class12.anInt206, class12.aBoolean199, class12.aByte201, class12.aByte216, class12.aByte198, class12.aByte211, class12.aBoolean209, class12.aBoolean204, class12.aBoolean212, class12.aBoolean217, class12.aBoolean215, class12.aByte205, class12.aBoolean218, class12.aBoolean207, class12.anInt203); - } - return true; - } - - final boolean method3666() { - return false; - } - - final native void Q(int i, int i_109_, int i_110_, int i_111_, int i_112_, int i_113_, byte[] is, int i_114_, int i_115_); - - final Class105 method3629(int i, int i_116_, boolean bool) { - return new j(this, i, i_116_); - } - - final native void ya(); - - final native int I(); - - final native void f(int i, int i_117_); - - final native void KA(int i, int i_118_, int i_119_, int i_120_); - - final void method3646(int i) { - Class257.method1948((byte) -71); - d(i); - for (ya var_ya = (ya) aClass262_5123.method1995(4); var_ya != null; var_ya = (ya) aClass262_5123.method1990((byte) 40)) - var_ya.r(); - } - - final int method3679(int i, int i_121_) { - return i | i_121_; - } - - final native void ra(int i, int i_122_, int i_123_, int i_124_); - - final native int E(); - - final native void pa(); - - final void method3688(int i, int i_125_, int i_126_, int i_127_, int i_128_, int i_129_, int i_130_) { - method3973().method150(this, i, i_125_, i_126_, i_127_, i_128_, i_129_, i_130_); - } - - final native void GA(int i); - - final boolean method3670() { - return true; - } - - final native void X(int i); - - final Class64 method3625(Class124 class124, int i, int i_131_, int i_132_, int i_133_) { - return new i(this, aYa5121, class124, i, i_131_, i_132_, i_133_); - } - - final Class365 c() {// - return new Class365(0, "SSE", 1, "CPU", 0L); - } - - final void method3674(int i, int i_134_, int i_135_, int i_136_, int i_137_, int i_138_, int i_139_, int i_140_, int i_141_) { - /* empty */ - } - - final native void F(int i, int i_142_); - - final Class105 method3683(int i, int i_143_, int i_144_, int i_145_, boolean bool) { - return new j(this, i, i_143_, i_144_, i_145_, !bool); - } - - final void method3631(int i) { - this.anInt5141 = i; - anAArray5143 = new a[this.anInt5141]; - for (int i_146_ = 0; i_146_ < this.anInt5141; i_146_++) - anAArray5143[i_146_] = new a(this, anInt5128, anInt5127); - } - - final native int r(int i, int i_147_, int i_148_, int i_149_, int i_150_, int i_151_, int i_152_); - - private final native void va(za var_za); - - final void method3643(Canvas canvas, int i, int i_153_) { - p var_p = (p) aClass356_5126.method3480(canvas.hashCode(), -6008); - if (var_p == null) { - canvas.setIgnoreRepaint(true); - var_p = new p(this, canvas, i, i_153_); - aClass356_5126.method3483((byte) 36, canvas.hashCode(), var_p); - } else if (var_p.anInt5145 != i || var_p.anInt5148 != i_153_) var_p.method3435(canvas, i, i_153_); - } - - final Class299 method3706(Class299 class299, Class299 class299_154_, float f, Class299 class299_155_) { - return null; - } - - final native void K(int[] is); - - final boolean method3694() { - return true; - } - - final void method3626(int i, int i_156_) throws Exception_Sub1 { - if (aP5137 == null) throw new IllegalStateException("off"); - aP5137.method3433(i, i_156_); - } - - final Interface3 method3665(int i, int i_157_) { - return method3629(i, i_157_, false); - } - - final void method3642(int i, Class348_Sub1[] class348_sub1s) { - int i_158_ = 0; - for (int i_159_ = 0; i_159_ < i; i_159_++) { - anIntArray5130[i_158_++] = class348_sub1s[i_159_].method2724(-1); - anIntArray5130[i_158_++] = class348_sub1s[i_159_].method2722(123); - anIntArray5130[i_158_++] = class348_sub1s[i_159_].method2717((byte) 103); - anIntArray5130[i_158_++] = class348_sub1s[i_159_].method2723(-1); - aFloatArray5138[i_159_] = class348_sub1s[i_159_].method2721(-65); - anIntArray5130[i_158_++] = class348_sub1s[i_159_].method2720(-1); - } - N(i, anIntArray5130, aFloatArray5138); - } - - final native void za(int i, int i_160_, int i_161_, int i_162_, int i_163_); - - final native int[] na(int i, int i_164_, int i_165_, int i_166_); - - final void method3647(boolean bool) { - /* empty */ - } - - final Class348_Sub1 method3690(int i, int i_167_, int i_168_, int i_169_, int i_170_, float f) { - return new Class348_Sub1_Sub2(i, i_167_, i_168_, i_169_, i_170_, f); - } - - final void method3677(Canvas canvas) { - if (canvas == null) { - aP5137 = null; - t(null); - } else { - p var_p = (p) aClass356_5126.method3480(canvas.hashCode(), -6008); - aP5137 = var_p; - t(var_p); - } - } - - final boolean method3682() { - return true; - } - - final void method3653(Class299 class299) { - /* empty */ - } - - final Class101 method3654() { - return new ja(); - } - - final void method3678(int i) { - anAArray5143[i].method156(); - } - - final native void EA(int i, int i_171_, int i_172_, int i_173_); - - final void method3633() { - /* empty */ - } - - final void method3658(int i, int i_174_, int i_175_, int i_176_) { - /* empty */ - } - - public oa(Canvas canvas, d var_d, int i, int i_177_) { - super(var_d); - aClass262_5123 = new Class262(); - anInt5127 = 4096; - anInt5128 = 4096; - aClass356_5126 = new Class356(4); - aBoolean5142 = false; - do { - try { - - if (!Class348_Sub40_Sub19.method3098(-30282, "sw3d")) throw new RuntimeException(""); - Class257.method1949((byte) -128); - MA(aD4579, 0, 0); - Class59_Sub2_Sub1.method566(false, true, (byte) 23); - aBoolean5142 = true; - aClass101_5131 = new ja(); - method3638(new ja()); - method3631(1); - method3659(0); - if (canvas == null) break; - method3643(canvas, i, i_177_); - method3677(canvas); - } catch (Throwable throwable) { - throwable.printStackTrace(); - this.method3635((byte) 124); - throw new RuntimeException(); - } - break; - } while (false); - } - - private final native void FA(); - - final native void P(int i, int i_178_, int i_179_, int i_180_, int i_181_); - - final boolean method3695() { - return true; - } - - final native void U(int i, int i_182_, int i_183_, int i_184_, int i_185_); - - final native int[] Y(); - - final native void ZA(int i, float f, float f_186_, float f_187_, float f_188_, float f_189_); - - final Interface4 method3634(Interface3 interface3, Interface13 interface13) { - return new wa(this, (j) interface3, (xa) interface13); - } - - final void method3687(Interface4 interface4) { - wa var_wa = (wa) interface4; - n(var_wa.aJ4732.nativeid, var_wa.aXa4733.nativeid); - } - - final native void da(int i, int i_190_, int i_191_, int[] is); - - final aa method3661(int i, int i_192_, int[] is, int[] is_193_) { - return new na(this, aYa5121, i, i_192_, is, is_193_); - } - - final Class101 method3640() { - return aClass101_5125; - } - - final void method3709(int i, int i_194_, int i_195_, int i_196_, int i_197_, int i_198_) { - wa(i, i_194_, i_195_, i_196_, i_197_, i_198_); - } - - private final native void Z(int i, int i_199_, int i_200_, int i_201_, int i_202_, int i_203_, aa var_aa, int i_204_, int i_205_); - - final native void C(boolean bool); - - final Interface13 method3624(int i, int i_206_) { - return new xa(i, i_206_); - } - - final boolean method3639() { - return true; - } - - final native void L(int i, int i_207_, int i_208_); - - final Class105 method3711(int[] is, int i, int i_209_, int i_210_, int i_211_, boolean bool) { - return new j(this, is, i, i_209_, i_210_, i_211_, false); - } - - final native void la(); - - final void method3630(boolean bool) { - /* empty */ - } - - final native int M(); - - final boolean method3627() { - return false; - } - - private final Object OA() {// - return new ba(this); - } - - final boolean method3655() { - return true; - } - - final void method3703(int i, int i_212_, int i_213_, int i_214_, int i_215_, int i_216_, aa var_aa, int i_217_, int i_218_, int i_219_, int i_220_, int i_221_) { - /* empty */ - } - - final void method3638(Class101 class101) { - aClass101_5125 = class101; - ma(((ja) class101).nativeid); - } - - final void method3672() { - method3677(aP5137.aCanvas5147); - } - - final s method3648(int i, int i_222_, int[][] is, int[][] is_223_, int i_224_, int i_225_, int i_226_) { - return new t(this, aYa5121, i, i_222_, is, is_223_, i_224_, i_225_, i_226_); - } - - final native int XA(); - - private final native void N(int i, int[] is, float[] fs); - - final native void T(int i, int i_227_, int i_228_, int i_229_); - - final boolean method3693() { - return true; - } - - final void method3673() { - /* empty */ - } - - final boolean method3671() { - return false; - } - - final boolean method3699() { - return false; - } - - static { - anIntArray5130 = anIntArray5122; - aByteArray5134 = new byte[8191]; - anIntArray5135 = new int[8191]; - aFloatArray5138 = aFloatArray5129; - anIntArray5139 = new int[8191]; - anIntArray5136 = anIntArray5122; - anIntArray5140 = anIntArray5122; - aShortArray5133 = new short[8191]; - } -} diff --git a/client/src/r.java b/client/src/r.java deleted file mode 100644 index 7cf42569e..000000000 --- a/client/src/r.java +++ /dev/null @@ -1,41 +0,0 @@ -/* r - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class r extends Class348_Sub42 { - static Class312 aClass312_9716 = new Class312(); - static int anInt9717; - static boolean[] aBooleanArray9718; - static boolean aBoolean9719 = true; - static Class101 aClass101_9720; - static volatile int anInt9721; - static boolean aBoolean9722 = false; - static int[][] anIntArrayArray9723; - static int[] anIntArray9724; - - public r() { - /* empty */ - } - - static final void method3284(boolean bool, double d) { - Class44.aClass101_624.method898(Class51.aClass101_905); - anInt9717++; - if (bool != true) method3285(10); - Class44.aClass101_624.method891(0, 0, (int) d); - Class21.aHa326.method3638(Class44.aClass101_624); - } - - public static void method3285(int i) { - int i_0_ = -61 % ((i - -73) / 32); - aClass101_9720 = null; - anIntArray9724 = null; - aBooleanArray9718 = null; - aClass312_9716 = null; - anIntArrayArray9723 = null; - } - - static { - anInt9721 = -1; - anIntArrayArray9723 = new int[128][128]; - } -} diff --git a/client/src/r_Sub1.java b/client/src/r_Sub1.java deleted file mode 100644 index 286456ccc..000000000 --- a/client/src/r_Sub1.java +++ /dev/null @@ -1,372 +0,0 @@ -/* r_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class r_Sub1 extends r { - int anInt10466; - int anInt10467; - int anInt10468; - static int anInt10469; - static int anInt10470; - byte[] aByteArray10471; - static int anInt10472; - static int anInt10473; - int anInt10474; - static int anInt10475; - static int anInt10476; - static Class351 aClass351_10477 = new Class351(22, 7); - static int[] anIntArray10478 = new int[1]; - static Class262 aClass262_10479; - - final void method3286(int i, int i_0_, int i_1_, int i_2_, int i_3_) { - this.anInt10466 = i - i_3_; - this.anInt10467 = i_1_ + -i_2_; - this.anInt10468 = i_3_; - if (i_0_ > -96) method3289(27); - anInt10473++; - this.anInt10474 = i_2_; - } - - final void method3287(int i, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_) { - anInt10472++; - int i_10_ = 0; - if (i_7_ != i) i_10_ = (-i_5_ + i_6_ << 16) / (i_7_ + -i); - int i_11_ = 0; - if (i_7_ != i_8_) i_11_ = (-i_6_ + i_9_ << 16) / (i_8_ + -i_7_); - int i_12_ = -10 % ((-65 - i_4_) / 55); - int i_13_ = 0; - if (i_8_ != i) i_13_ = (i_5_ - i_9_ << 16) / (i + -i_8_); - if (i > i_7_ || i > i_8_) { - if (i_8_ >= i_7_) { - if (i_8_ >= i) { - i_9_ = i_6_ <<= 477681040; - if (i_7_ < 0) { - i_6_ -= i_7_ * i_11_; - i_9_ -= i_7_ * i_10_; - i_7_ = 0; - } - i_5_ <<= 193943408; - if (i < 0) { - i_5_ -= i * i_13_; - i = 0; - } - if (i_11_ > i_10_) { - i_8_ -= i; - i -= i_7_; - i_7_ = this.anInt10466 * i_7_; - while (--i >= 0) { - Class33.method339(i_7_, i_9_ >> 16, this.aByteArray10471, 0, 1354705384, i_6_ >> 16); - i_9_ += i_10_; - i_7_ += this.anInt10466; - i_6_ += i_11_; - } - while (--i_8_ >= 0) { - Class33.method339(i_7_, i_5_ >> 16, this.aByteArray10471, 0, 1354705384, i_6_ >> 16); - i_6_ += i_11_; - i_7_ += this.anInt10466; - i_5_ += i_13_; - } - } else { - i_8_ -= i; - i -= i_7_; - i_7_ = this.anInt10466 * i_7_; - while (--i >= 0) { - Class33.method339(i_7_, i_6_ >> 16, this.aByteArray10471, 0, 1354705384, i_9_ >> 16); - i_7_ += this.anInt10466; - i_6_ += i_11_; - i_9_ += i_10_; - } - while (--i_8_ >= 0) { - Class33.method339(i_7_, i_6_ >> 16, this.aByteArray10471, 0, 1354705384, i_5_ >> 16); - i_6_ += i_11_; - i_5_ += i_13_; - i_7_ += this.anInt10466; - } - } - } else { - i_5_ = i_6_ <<= -1310795248; - if (i_7_ < 0) { - i_6_ -= i_11_ * i_7_; - i_5_ -= i_10_ * i_7_; - i_7_ = 0; - } - i_9_ <<= -280513936; - if (i_8_ < 0) { - i_9_ -= i_8_ * i_13_; - i_8_ = 0; - } - if ((i_8_ == i_7_ || i_10_ >= i_11_) && (i_8_ != i_7_ || i_13_ >= i_10_)) { - i -= i_8_; - i_8_ -= i_7_; - i_7_ *= this.anInt10466; - while (--i_8_ >= 0) { - Class33.method339(i_7_, i_6_ >> 16, this.aByteArray10471, 0, 1354705384, i_5_ >> 16); - i_7_ += this.anInt10466; - i_5_ += i_10_; - i_6_ += i_11_; - } - while (--i >= 0) { - Class33.method339(i_7_, i_9_ >> 16, this.aByteArray10471, 0, 1354705384, i_5_ >> 16); - i_7_ += this.anInt10466; - i_5_ += i_10_; - i_9_ += i_13_; - } - } else { - i -= i_8_; - i_8_ -= i_7_; - i_7_ *= this.anInt10466; - while (--i_8_ >= 0) { - Class33.method339(i_7_, i_5_ >> 16, this.aByteArray10471, 0, 1354705384, i_6_ >> 16); - i_6_ += i_11_; - i_7_ += this.anInt10466; - i_5_ += i_10_; - } - while (--i >= 0) { - Class33.method339(i_7_, i_5_ >> 16, this.aByteArray10471, 0, 1354705384, i_9_ >> 16); - i_7_ += this.anInt10466; - i_9_ += i_13_; - i_5_ += i_10_; - } - } - } - } else if (i_7_ > i) { - i_6_ = i_9_ <<= -547798224; - i_5_ <<= -1378422192; - if (i_8_ < 0) { - i_9_ -= i_13_ * i_8_; - i_6_ -= i_11_ * i_8_; - i_8_ = 0; - } - if (i < 0) { - i_5_ -= i_10_ * i; - i = 0; - } - if (i_13_ > i_11_) { - i_7_ -= i; - i -= i_8_; - i_8_ *= this.anInt10466; - while (--i >= 0) { - Class33.method339(i_8_, i_6_ >> 16, this.aByteArray10471, 0, 1354705384, i_9_ >> 16); - i_8_ += this.anInt10466; - i_6_ += i_11_; - i_9_ += i_13_; - } - while (--i_7_ >= 0) { - Class33.method339(i_8_, i_6_ >> 16, this.aByteArray10471, 0, 1354705384, i_5_ >> 16); - i_5_ += i_10_; - i_8_ += this.anInt10466; - i_6_ += i_11_; - } - } else { - i_7_ -= i; - i -= i_8_; - i_8_ = this.anInt10466 * i_8_; - while (--i >= 0) { - Class33.method339(i_8_, i_9_ >> 16, this.aByteArray10471, 0, 1354705384, i_6_ >> 16); - i_6_ += i_11_; - i_8_ += this.anInt10466; - i_9_ += i_13_; - } - while (--i_7_ >= 0) { - Class33.method339(i_8_, i_5_ >> 16, this.aByteArray10471, 0, 1354705384, i_6_ >> 16); - i_5_ += i_10_; - i_8_ += this.anInt10466; - i_6_ += i_11_; - } - } - } else { - i_5_ = i_9_ <<= -2101498192; - if (i_8_ < 0) { - i_9_ -= i_13_ * i_8_; - i_5_ -= i_8_ * i_11_; - i_8_ = 0; - } - i_6_ <<= -1561324976; - if (i_7_ < 0) { - i_6_ -= i_10_ * i_7_; - i_7_ = 0; - } - if (i_11_ >= i_13_) { - i -= i_7_; - i_7_ -= i_8_; - i_8_ = this.anInt10466 * i_8_; - while (--i_7_ >= 0) { - Class33.method339(i_8_, i_9_ >> 16, this.aByteArray10471, 0, 1354705384, i_5_ >> 16); - i_8_ += this.anInt10466; - i_5_ += i_11_; - i_9_ += i_13_; - } - while (--i >= 0) { - Class33.method339(i_8_, i_9_ >> 16, this.aByteArray10471, 0, 1354705384, i_6_ >> 16); - i_6_ += i_10_; - i_9_ += i_13_; - i_8_ += this.anInt10466; - } - } else { - i -= i_7_; - i_7_ -= i_8_; - i_8_ = this.anInt10466 * i_8_; - while (--i_7_ >= 0) { - Class33.method339(i_8_, i_5_ >> 16, this.aByteArray10471, 0, 1354705384, i_9_ >> 16); - i_5_ += i_11_; - i_9_ += i_13_; - i_8_ += this.anInt10466; - } - while (--i >= 0) { - Class33.method339(i_8_, i_6_ >> 16, this.aByteArray10471, 0, 1354705384, i_9_ >> 16); - i_9_ += i_13_; - i_8_ += this.anInt10466; - i_6_ += i_10_; - } - } - } - } else if (i_7_ >= i_8_) { - i_6_ = i_5_ <<= 1567994448; - i_9_ <<= -487806832; - if (i < 0) { - i_6_ -= i * i_13_; - i_5_ -= i_10_ * i; - i = 0; - } - if (i_8_ < 0) { - i_9_ -= i_8_ * i_11_; - i_8_ = 0; - } - if (i_8_ != i && i_13_ < i_10_ || i == i_8_ && i_10_ < i_11_) { - i_7_ -= i_8_; - i_8_ -= i; - i = this.anInt10466 * i; - while (--i_8_ >= 0) { - Class33.method339(i, i_6_ >> 16, this.aByteArray10471, 0, 1354705384, i_5_ >> 16); - i += this.anInt10466; - i_5_ += i_10_; - i_6_ += i_13_; - } - while (--i_7_ >= 0) { - Class33.method339(i, i_9_ >> 16, this.aByteArray10471, 0, 1354705384, i_5_ >> 16); - i += this.anInt10466; - i_9_ += i_11_; - i_5_ += i_10_; - } - } else { - i_7_ -= i_8_; - i_8_ -= i; - i *= this.anInt10466; - while (--i_8_ >= 0) { - Class33.method339(i, i_5_ >> 16, this.aByteArray10471, 0, 1354705384, i_6_ >> 16); - i_6_ += i_13_; - i_5_ += i_10_; - i += this.anInt10466; - } - while (--i_7_ >= 0) { - Class33.method339(i, i_5_ >> 16, this.aByteArray10471, 0, 1354705384, i_9_ >> 16); - i += this.anInt10466; - i_9_ += i_11_; - i_5_ += i_10_; - } - } - } else { - i_9_ = i_5_ <<= 592959792; - if (i < 0) { - i_5_ -= i_10_ * i; - i_9_ -= i_13_ * i; - i = 0; - } - i_6_ <<= 797030512; - if (i_7_ < 0) { - i_6_ -= i_7_ * i_11_; - i_7_ = 0; - } - if ((i_7_ == i || i_10_ <= i_13_) && (i != i_7_ || i_11_ >= i_13_)) { - i_8_ -= i_7_; - i_7_ -= i; - i = this.anInt10466 * i; - while (--i_7_ >= 0) { - Class33.method339(i, i_5_ >> 16, this.aByteArray10471, 0, 1354705384, i_9_ >> 16); - i_9_ += i_13_; - i += this.anInt10466; - i_5_ += i_10_; - } - while (--i_8_ >= 0) { - Class33.method339(i, i_6_ >> 16, this.aByteArray10471, 0, 1354705384, i_9_ >> 16); - i_6_ += i_11_; - i += this.anInt10466; - i_9_ += i_13_; - } - } else { - i_8_ -= i_7_; - i_7_ -= i; - i *= this.anInt10466; - while (--i_7_ >= 0) { - Class33.method339(i, i_9_ >> 16, this.aByteArray10471, 0, 1354705384, i_5_ >> 16); - i_5_ += i_10_; - i_9_ += i_13_; - i += this.anInt10466; - } - while (--i_8_ >= 0) { - Class33.method339(i, i_9_ >> 16, this.aByteArray10471, 0, 1354705384, i_6_ >> 16); - i += this.anInt10466; - i_9_ += i_13_; - i_6_ += i_11_; - } - } - } - } - - public static void method3288(byte i) { - int i_14_ = 107 % ((i - 27) / 34); - anIntArray10478 = null; - aClass351_10477 = null; - aClass262_10479 = null; - } - - final void method3289(int i) { - if (i <= 1) method3286(-75, -2, 86, -31, 120); - anInt10475++; - int i_15_ = -1; - int i_16_ = -8 + this.aByteArray10471.length; - while (i_16_ > i_15_) { - this.aByteArray10471[++i_15_] = (byte) 0; - this.aByteArray10471[++i_15_] = (byte) 0; - this.aByteArray10471[++i_15_] = (byte) 0; - this.aByteArray10471[++i_15_] = (byte) 0; - this.aByteArray10471[++i_15_] = (byte) 0; - this.aByteArray10471[++i_15_] = (byte) 0; - this.aByteArray10471[++i_15_] = (byte) 0; - this.aByteArray10471[++i_15_] = (byte) 0; - } - while (i_15_ < this.aByteArray10471.length + -1) this.aByteArray10471[++i_15_] = (byte) 0; - } - - static final void method3290(int i) { - if (i < 30) aClass262_10479 = null; - IOException_Sub1.method131(Class316.aClass348_Sub51_3959.aClass239_Sub5_7240.method1739(-32350) == 1, 2, true, 22050); - anInt10470++; - Class348_Sub40.aClass279_7042 = Class193.method1439(22050, Class348_Sub23_Sub1.aClass297_8992, Class305.aCanvas3869, 0, 7); - Class348_Sub42_Sub18.method3273(true, -114, Class172.method1326(null, 9)); - Class194.aClass279_2596 = Class193.method1439(2048, Class348_Sub23_Sub1.aClass297_8992, Class305.aCanvas3869, 1, 7); - Class348_Sub43.aClass348_Sub16_Sub4_7065 = new Class348_Sub16_Sub4(); - Class194.aClass279_2596.method2088(false, Class348_Sub43.aClass348_Sub16_Sub4_7065); - Class57.aClass163_1050 = new Class163(22050, Class22.anInt339); - Class348_Sub40_Sub17_Sub1.method3093(110); - } - - final boolean method3291(int i, int i_17_, byte i_18_) { - anInt10469++; - if (i_18_ != -59) this.anInt10467 = 41; - return i_17_ * i <= this.aByteArray10471.length; - } - - r_Sub1(ha_Sub3 var_ha_Sub3, int i, int i_19_) { - try { - this.aByteArray10471 = new byte[i_19_ * i]; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("fc.(" + (var_ha_Sub3 != null ? "{...}" : "null") + ',' + i + ',' + i_19_ + ')')); - } - } - - static { - new Class273("", 76); - aClass262_10479 = new Class262(); - } -} diff --git a/client/src/r_Sub2.java b/client/src/r_Sub2.java deleted file mode 100644 index 74447b105..000000000 --- a/client/src/r_Sub2.java +++ /dev/null @@ -1,355 +0,0 @@ -/* r_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class r_Sub2 extends r { - static Class45 aClass45_10480; - static int anInt10481; - int anInt10482; - static int anInt10483 = 0; - int anInt10484; - static int anInt10485; - byte[] aByteArray10486; - int anInt10487; - static Class252 aClass252_10488; - int anInt10489; - static int anInt10490; - static int anInt10491; - static Class262 aClass262_10492 = new Class262(); - - final void method3292(int i, int i_0_, int i_1_, int i_2_, int i_3_) { - this.anInt10484 = i_1_; - this.anInt10489 = i_3_; - anInt10481++; - this.anInt10487 = i - i_1_; - if (i_2_ == 25053) this.anInt10482 = i_0_ + -i_3_; - } - - final void method3293(byte i) { - anInt10485++; - int i_4_ = -1; - int i_5_ = -8 + this.aByteArray10486.length; - while (i_5_ > i_4_) { - this.aByteArray10486[++i_4_] = (byte) 0; - this.aByteArray10486[++i_4_] = (byte) 0; - this.aByteArray10486[++i_4_] = (byte) 0; - this.aByteArray10486[++i_4_] = (byte) 0; - this.aByteArray10486[++i_4_] = (byte) 0; - this.aByteArray10486[++i_4_] = (byte) 0; - this.aByteArray10486[++i_4_] = (byte) 0; - this.aByteArray10486[++i_4_] = (byte) 0; - } - if (i == 0) { - while (i_4_ < this.aByteArray10486.length - 1) this.aByteArray10486[++i_4_] = (byte) 0; - } - } - - final void method3294(int i, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_) { - anInt10491++; - int i_12_ = 0; - if (i_11_ != i_7_) i_12_ = (-i_6_ + i_9_ << 16) / (i_11_ + -i_7_); - int i_13_ = 71 % ((-38 - i_8_) / 52); - int i_14_ = 0; - if (i_11_ != i_10_) i_14_ = (i - i_9_ << 16) / (-i_11_ + i_10_); - int i_15_ = 0; - if (i_10_ != i_7_) i_15_ = (i_6_ - i << 16) / (i_7_ + -i_10_); - if (i_11_ >= i_7_ && i_7_ <= i_10_) { - if (i_10_ > i_11_) { - i = i_6_ <<= -1167965648; - if (i_7_ < 0) { - i -= i_7_ * i_15_; - i_6_ -= i_12_ * i_7_; - i_7_ = 0; - } - i_9_ <<= -1709216688; - if (i_11_ < 0) { - i_9_ -= i_14_ * i_11_; - i_11_ = 0; - } - if ((i_7_ == i_11_ || i_15_ >= i_12_) && (i_7_ != i_11_ || i_14_ >= i_15_)) { - i_10_ -= i_11_; - i_11_ -= i_7_; - i_7_ = this.anInt10482 * i_7_; - while (--i_11_ >= 0) { - Class304.method2289(i_6_ >> 16, i_7_, -36, 0, this.aByteArray10486, i >> 16); - i_6_ += i_12_; - i_7_ += this.anInt10482; - i += i_15_; - } - while (--i_10_ >= 0) { - Class304.method2289(i_9_ >> 16, i_7_, -104, 0, this.aByteArray10486, i >> 16); - i += i_15_; - i_7_ += this.anInt10482; - i_9_ += i_14_; - } - } else { - i_10_ -= i_11_; - i_11_ -= i_7_; - i_7_ = this.anInt10482 * i_7_; - while (--i_11_ >= 0) { - Class304.method2289(i >> 16, i_7_, -111, 0, this.aByteArray10486, i_6_ >> 16); - i_7_ += this.anInt10482; - i += i_15_; - i_6_ += i_12_; - } - while (--i_10_ >= 0) { - Class304.method2289(i >> 16, i_7_, -120, 0, this.aByteArray10486, i_9_ >> 16); - i_9_ += i_14_; - i_7_ += this.anInt10482; - i += i_15_; - } - } - } else { - i_9_ = i_6_ <<= -1228970768; - if (i_7_ < 0) { - i_6_ -= i_12_ * i_7_; - i_9_ -= i_15_ * i_7_; - i_7_ = 0; - } - i <<= -1758318000; - if (i_10_ < 0) { - i -= i_14_ * i_10_; - i_10_ = 0; - } - if ((i_7_ == i_10_ || i_12_ <= i_15_) && (i_10_ != i_7_ || i_14_ <= i_12_)) { - i_11_ -= i_10_; - i_10_ -= i_7_; - i_7_ = this.anInt10482 * i_7_; - while (--i_10_ >= 0) { - Class304.method2289(i_6_ >> 16, i_7_, -75, 0, this.aByteArray10486, i_9_ >> 16); - i_9_ += i_15_; - i_7_ += this.anInt10482; - i_6_ += i_12_; - } - while (--i_11_ >= 0) { - Class304.method2289(i_6_ >> 16, i_7_, -62, 0, this.aByteArray10486, i >> 16); - i_7_ += this.anInt10482; - i_6_ += i_12_; - i += i_14_; - } - } else { - i_11_ -= i_10_; - i_10_ -= i_7_; - i_7_ *= this.anInt10482; - while (--i_10_ >= 0) { - Class304.method2289(i_9_ >> 16, i_7_, -102, 0, this.aByteArray10486, i_6_ >> 16); - i_7_ += this.anInt10482; - i_9_ += i_15_; - i_6_ += i_12_; - } - while (--i_11_ >= 0) { - Class304.method2289(i >> 16, i_7_, -92, 0, this.aByteArray10486, i_6_ >> 16); - i += i_14_; - i_6_ += i_12_; - i_7_ += this.anInt10482; - } - } - } - } else if (i_10_ < i_11_) { - if (i_11_ <= i_7_) { - i_6_ = i <<= -1859479696; - i_9_ <<= -1453584560; - if (i_10_ < 0) { - i -= i_10_ * i_15_; - i_6_ -= i_10_ * i_14_; - i_10_ = 0; - } - if (i_11_ < 0) { - i_9_ -= i_11_ * i_12_; - i_11_ = 0; - } - if (i_15_ <= i_14_) { - i_7_ -= i_11_; - i_11_ -= i_10_; - i_10_ = this.anInt10482 * i_10_; - while (--i_11_ >= 0) { - Class304.method2289(i >> 16, i_10_, -68, 0, this.aByteArray10486, i_6_ >> 16); - i_6_ += i_14_; - i_10_ += this.anInt10482; - i += i_15_; - } - while (--i_7_ >= 0) { - Class304.method2289(i >> 16, i_10_, -101, 0, this.aByteArray10486, i_9_ >> 16); - i_9_ += i_12_; - i += i_15_; - i_10_ += this.anInt10482; - } - } else { - i_7_ -= i_11_; - i_11_ -= i_10_; - i_10_ *= this.anInt10482; - while (--i_11_ >= 0) { - Class304.method2289(i_6_ >> 16, i_10_, -99, 0, this.aByteArray10486, i >> 16); - i += i_15_; - i_6_ += i_14_; - i_10_ += this.anInt10482; - } - while (--i_7_ >= 0) { - Class304.method2289(i_9_ >> 16, i_10_, -122, 0, this.aByteArray10486, i >> 16); - i += i_15_; - i_9_ += i_12_; - i_10_ += this.anInt10482; - } - } - } else { - i_9_ = i <<= -1009380592; - i_6_ <<= -202478416; - if (i_10_ < 0) { - i_9_ -= i_14_ * i_10_; - i -= i_10_ * i_15_; - i_10_ = 0; - } - if (i_7_ < 0) { - i_6_ -= i_7_ * i_12_; - i_7_ = 0; - } - if (i_14_ < i_15_) { - i_11_ -= i_7_; - i_7_ -= i_10_; - i_10_ = this.anInt10482 * i_10_; - while (--i_7_ >= 0) { - Class304.method2289(i_9_ >> 16, i_10_, -36, 0, this.aByteArray10486, i >> 16); - i_10_ += this.anInt10482; - i += i_15_; - i_9_ += i_14_; - } - while (--i_11_ >= 0) { - Class304.method2289(i_9_ >> 16, i_10_, -48, 0, this.aByteArray10486, i_6_ >> 16); - i_9_ += i_14_; - i_6_ += i_12_; - i_10_ += this.anInt10482; - } - } else { - i_11_ -= i_7_; - i_7_ -= i_10_; - i_10_ *= this.anInt10482; - while (--i_7_ >= 0) { - Class304.method2289(i >> 16, i_10_, -83, 0, this.aByteArray10486, i_9_ >> 16); - i += i_15_; - i_9_ += i_14_; - i_10_ += this.anInt10482; - } - while (--i_11_ >= 0) { - Class304.method2289(i_6_ >> 16, i_10_, -104, 0, this.aByteArray10486, i_9_ >> 16); - i_10_ += this.anInt10482; - i_9_ += i_14_; - i_6_ += i_12_; - } - } - } - } else if (i_10_ >= i_7_) { - i = i_9_ <<= -907151120; - if (i_11_ < 0) { - i -= i_11_ * i_12_; - i_9_ -= i_14_ * i_11_; - i_11_ = 0; - } - i_6_ <<= 209489840; - if (i_7_ < 0) { - i_6_ -= i_7_ * i_15_; - i_7_ = 0; - } - if (i_14_ > i_12_) { - i_10_ -= i_7_; - i_7_ -= i_11_; - i_11_ = this.anInt10482 * i_11_; - while (--i_7_ >= 0) { - Class304.method2289(i >> 16, i_11_, -62, 0, this.aByteArray10486, i_9_ >> 16); - i += i_12_; - i_9_ += i_14_; - i_11_ += this.anInt10482; - } - while (--i_10_ >= 0) { - Class304.method2289(i_6_ >> 16, i_11_, -66, 0, this.aByteArray10486, i_9_ >> 16); - i_6_ += i_15_; - i_9_ += i_14_; - i_11_ += this.anInt10482; - } - } else { - i_10_ -= i_7_; - i_7_ -= i_11_; - i_11_ *= this.anInt10482; - while (--i_7_ >= 0) { - Class304.method2289(i_9_ >> 16, i_11_, -67, 0, this.aByteArray10486, i >> 16); - i_9_ += i_14_; - i += i_12_; - i_11_ += this.anInt10482; - } - while (--i_10_ >= 0) { - Class304.method2289(i_9_ >> 16, i_11_, -108, 0, this.aByteArray10486, i_6_ >> 16); - i_9_ += i_14_; - i_6_ += i_15_; - i_11_ += this.anInt10482; - } - } - } else { - i_6_ = i_9_ <<= -1570270288; - if (i_11_ < 0) { - i_6_ -= i_12_ * i_11_; - i_9_ -= i_14_ * i_11_; - i_11_ = 0; - } - i <<= -1382410736; - if (i_10_ < 0) { - i -= i_15_ * i_10_; - i_10_ = 0; - } - if ((i_10_ == i_11_ || i_14_ <= i_12_) && (i_11_ != i_10_ || i_15_ >= i_12_)) { - i_7_ -= i_10_; - i_10_ -= i_11_; - i_11_ = this.anInt10482 * i_11_; - while (--i_10_ >= 0) { - Class304.method2289(i_9_ >> 16, i_11_, -85, 0, this.aByteArray10486, i_6_ >> 16); - i_6_ += i_12_; - i_11_ += this.anInt10482; - i_9_ += i_14_; - } - while (--i_7_ >= 0) { - Class304.method2289(i >> 16, i_11_, -92, 0, this.aByteArray10486, i_6_ >> 16); - i_11_ += this.anInt10482; - i += i_15_; - i_6_ += i_12_; - } - } else { - i_7_ -= i_10_; - i_10_ -= i_11_; - i_11_ = this.anInt10482 * i_11_; - while (--i_10_ >= 0) { - Class304.method2289(i_6_ >> 16, i_11_, -113, 0, this.aByteArray10486, i_9_ >> 16); - i_11_ += this.anInt10482; - i_6_ += i_12_; - i_9_ += i_14_; - } - while (--i_7_ >= 0) { - Class304.method2289(i_6_ >> 16, i_11_, -125, 0, this.aByteArray10486, i >> 16); - i_6_ += i_12_; - i += i_15_; - i_11_ += this.anInt10482; - } - } - } - } - - public static void method3295(int i) { - aClass45_10480 = null; - aClass252_10488 = null; - aClass262_10492 = null; - if (i != -1) method3295(109); - } - - final boolean method3296(byte i, int i_16_, int i_17_) { - int i_18_ = 65 % ((i - 45) / 39); - anInt10490++; - return i_16_ * i_17_ <= this.aByteArray10486.length; - } - - r_Sub2(ha_Sub2 var_ha_Sub2, int i, int i_19_) { - this.aByteArray10486 = new byte[i * i_19_]; - } - - static final Class318_Sub1_Sub4 method3297(int i, int i_20_, int i_21_) { - Class357 class357 = Class147.aClass357ArrayArrayArray2029[i][i_20_][i_21_]; - if (class357 == null) return null; - return class357.aClass318_Sub1_Sub4_4406; - } -} diff --git a/client/src/s_Sub1.java b/client/src/s_Sub1.java deleted file mode 100644 index 5c531f1b8..000000000 --- a/client/src/s_Sub1.java +++ /dev/null @@ -1,1596 +0,0 @@ -/* s_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class s_Sub1 extends s { - private float aFloat8212; - private float aFloat8213; - private float aFloat8214; - private Class102[][] aClass102ArrayArray8215; - private float aFloat8216; - private final ha_Sub1 aHa_Sub1_8217; - private float aFloat8218; - private Class198[][] aClass198ArrayArray8219; - private byte[][] aByteArrayArray8220; - private float aFloat8221; - private Class236[][] aClass236ArrayArray8222; - private final int anInt8223; - private float aFloat8224; - private Class145[][] aClass145ArrayArray8225; - private float aFloat8226; - private float aFloat8227; - private int anInt8228 = -1; - private float aFloat8229; - private Class266[][] aClass266ArrayArray8230; - private float aFloat8231; - private byte[][] aByteArrayArray8232; - private float aFloat8233; - - final void method3981(Class348_Sub1 class348_sub1, int[] is) { - /* empty */ - } - - final void U(int i, int i_0_, int[] is, int[] is_1_, int[] is_2_, int[] is_3_, int[] is_4_, int[] is_5_, int[] is_6_, int[] is_7_, int i_8_, int i_9_, int i_10_, boolean bool) { - boolean bool_11_ = (anInt8223 & 0x20) == 0; - if (aClass266ArrayArray8230 == null && !bool_11_) { - aClass266ArrayArray8230 = new Class266[this.anInt4587][this.anInt4590]; - aClass145ArrayArray8225 = new Class145[this.anInt4587][this.anInt4590]; - } else if (aClass198ArrayArray8219 == null && bool_11_) aClass198ArrayArray8219 = new Class198[this.anInt4587][this.anInt4590]; - else if (aClass102ArrayArray8215 != null) throw new IllegalStateException(); - if (is != null && is.length != 0) { - for (int i_12_ = 0; i_12_ < is_4_.length; i_12_++) { - if (is_4_[i_12_] == -1) is_4_[i_12_] = 0; - else is_4_[i_12_] = ((Class126.anIntArray4983[Class25.method303(is_4_[i_12_], 30) & 0xffff]) << 8) | 0xff; - } - if (is_5_ != null) { - for (int i_13_ = 0; i_13_ < is_5_.length; i_13_++) { - if (is_5_[i_13_] == -1) is_5_[i_13_] = 0; - else is_5_[i_13_] = ((Class126.anIntArray4983[Class25.method303(is_5_[i_13_], 30) & 0xffff]) << 8) | 0xff; - } - } - if (bool_11_) { - Class198 class198 = new Class198(); - class198.aShort2620 = (short) is.length; - class198.aShort2619 = (short) (is.length / 3); - class198.aShortArray2622 = new short[class198.aShort2620]; - class198.aShortArray2618 = new short[class198.aShort2620]; - class198.aShortArray2613 = new short[class198.aShort2620]; - class198.anIntArray2623 = new int[class198.aShort2620]; - class198.aShortArray2616 = new short[class198.aShort2620]; - class198.aShortArray2614 = new short[class198.aShort2620]; - class198.aByteArray2617 = new byte[class198.aShort2620]; - if (is_3_ != null) class198.aShortArray2621 = new short[class198.aShort2620]; - for (int i_14_ = 0; i_14_ < class198.aShort2620; i_14_++) { - int i_15_ = is[i_14_]; - int i_16_ = is_2_[i_14_]; - boolean bool_17_ = false; - int i_18_; - if (i_15_ == 0 && i_16_ == 0) i_18_ = (aByteArrayArray8220[i][i_0_] - aByteArrayArray8232[i][i_0_]); - else if (i_15_ == 0 && i_16_ == this.anInt4592) i_18_ = (aByteArrayArray8220[i][i_0_ + 1] - aByteArrayArray8232[i][i_0_ + 1]); - else if (i_15_ == this.anInt4592 && i_16_ == this.anInt4592) i_18_ = (aByteArrayArray8220[i + 1][i_0_ + 1] - aByteArrayArray8232[i + 1][i_0_ + 1]); - else if (i_15_ == this.anInt4592 && i_16_ == 0) i_18_ = (aByteArrayArray8220[i + 1][i_0_] - aByteArrayArray8232[i + 1][i_0_]); - else { - int i_19_ = (((aByteArrayArray8220[i][i_0_] - aByteArrayArray8232[i][i_0_]) * (this.anInt4592 - i_15_)) + (aByteArrayArray8220[i + 1][i_0_] - aByteArrayArray8232[i + 1][i_0_]) * i_15_); - int i_20_ = (((aByteArrayArray8220[i][i_0_ + 1] - aByteArrayArray8232[i][i_0_ + 1]) * (this.anInt4592 - i_15_)) + ((aByteArrayArray8220[i + 1][i_0_ + 1] - aByteArrayArray8232[i + 1][i_0_ + 1]) * i_15_)); - i_18_ = (i_19_ * (this.anInt4592 - i_16_) + i_20_ * i_16_) >> 2 * this.anInt4588; - } - int i_21_ = (i << this.anInt4588) + i_15_; - int i_22_ = (i_0_ << this.anInt4588) + i_16_; - class198.aShortArray2622[i_14_] = (short) i_15_; - class198.aShortArray2613[i_14_] = (short) i_16_; - class198.aShortArray2618[i_14_] = (short) (this.method3986(i_21_, i_22_, (byte) 64) + (is_1_ != null ? is_1_[i_14_] : 0)); - if (i_18_ < 0) i_18_ = 0; - if (is_4_[i_14_] == 0) { - class198.anIntArray2623[i_14_] = 0; - if (is_5_ != null) class198.aByteArray2617[i_14_] = (byte) i_18_; - } else { - int i_23_ = 0; - if (is_3_ != null) { - int i_24_ = (class198.aShortArray2621[i_14_] = (short) is_3_[i_14_]); - if (i_9_ != 0) { - i_23_ = 255 * i_24_ / i_9_; - if (i_23_ < 0) i_23_ = 0; - else if (i_23_ > 255) i_23_ = 255; - } - } - int i_25_ = -16777216; - if (is_6_[i_14_] != -1 && method3997(aHa_Sub1_8217.aD4579.method3(is_6_[i_14_], -6662).aByte213)) i_25_ = -1694498816; - class198.anIntArray2623[i_14_] = (i_25_ | Class298.method2250(method3991((is_4_[i_14_] >> 8), i_18_), 118, i_23_, i_8_)); - if (is_5_ != null) class198.aByteArray2617[i_14_] = (byte) i_18_; - } - class198.aShortArray2616[i_14_] = (short) is_6_[i_14_]; - class198.aShortArray2614[i_14_] = (short) is_7_[i_14_]; - } - if (is_5_ != null) class198.anIntArray2615 = new int[class198.aShort2619]; - for (int i_26_ = 0; i_26_ < class198.aShort2619; i_26_++) { - int i_27_ = i_26_ * 3; - if (is_5_ != null && is_5_[i_27_] != 0) class198.anIntArray2615[i_26_] = ~0xffffff | is_5_[i_27_] >> 8; - } - aClass198ArrayArray8219[i][i_0_] = class198; - } else { - boolean bool_28_ = true; - int i_29_ = -1; - int i_30_ = -1; - int i_31_ = -1; - int i_32_ = -1; - if (is.length == 6) { - for (int i_33_ = 0; i_33_ < 6; i_33_++) { - if (is[i_33_] == 0 && is_2_[i_33_] == 0) { - if (i_29_ != -1 && is_4_[i_29_] != is_4_[i_33_]) { - bool_28_ = false; - break; - } - i_29_ = i_33_; - } else if (is[i_33_] == this.anInt4592 && is_2_[i_33_] == 0) { - if (i_30_ != -1 && is_4_[i_30_] != is_4_[i_33_]) { - bool_28_ = false; - break; - } - i_30_ = i_33_; - } else if (is[i_33_] == this.anInt4592 && is_2_[i_33_] == this.anInt4592) { - if (i_31_ != -1 && is_4_[i_31_] != is_4_[i_33_]) { - bool_28_ = false; - break; - } - i_31_ = i_33_; - } else if (is[i_33_] == 0 && is_2_[i_33_] == this.anInt4592) { - if (i_32_ != -1 && is_4_[i_32_] != is_4_[i_33_]) { - bool_28_ = false; - break; - } - i_32_ = i_33_; - } - } - if (i_29_ == -1 || i_30_ == -1 || i_31_ == -1 || i_32_ == -1) bool_28_ = false; - if (bool_28_) { - if (is_1_ != null) { - for (int i_34_ = 0; i_34_ < 4; i_34_++) { - if (is_1_[i_34_] != 0) { - bool_28_ = false; - break; - } - } - } - if (bool_28_) { - for (int i_35_ = 1; i_35_ < 4; i_35_++) { - if (is[i_35_] != is[0] && (is[i_35_] != is[0] + this.anInt4592) && (is[i_35_] != is[0] - this.anInt4592)) { - bool_28_ = false; - break; - } - if (is_2_[i_35_] != is_2_[0] && (is_2_[i_35_] != is_2_[0] + this.anInt4592) && (is_2_[i_35_] != is_2_[0] - this.anInt4592)) { - bool_28_ = false; - break; - } - } - } - } - } else bool_28_ = false; - if (bool_28_) { - Class266 class266 = new Class266(); - int i_36_ = is_4_[0]; - int i_37_ = is_6_[0]; - if (is_5_ != null) { - class266.anInt3388 = is_5_[0] >> 8; - if (i_36_ == 0) class266.aByte3386 |= 0x2; - } else if (i_36_ == 0) return; - if ((this.anIntArrayArray4584[i][i_0_] == this.anIntArrayArray4584[i + 1][i_0_]) && (this.anIntArrayArray4584[i][i_0_] == this.anIntArrayArray4584[i + 1][i_0_ + 1]) && (this.anIntArrayArray4584[i][i_0_] == this.anIntArrayArray4584[i][i_0_ + 1])) class266.aByte3386 |= 0x1; - if (i_37_ != -1 && (class266.aByte3386 & 0x2) == 0 && !(aHa_Sub1_8217.aD4579.method3(i_37_, -6662).aBoolean209)) { - int i_38_; - if (is_3_ != null && i_9_ != 0) { - i_38_ = 255 * is_3_[i_29_] / i_9_; - if (i_38_ < 0) i_38_ = 0; - else if (i_38_ > 255) i_38_ = 255; - } else i_38_ = 0; - class266.anInt3389 = (Class298.method2250(method3991(is_4_[i_29_] >> 8, (aByteArrayArray8220[i][i_0_] - aByteArrayArray8232[i][i_0_])), 88, i_38_, i_8_)); - if (class266.anInt3388 != 0) class266.anInt3389 |= (255 - (aByteArrayArray8220[i][i_0_] - aByteArrayArray8232[i][i_0_]) << 25); - if (is_3_ != null && i_9_ != 0) { - i_38_ = 255 * is_3_[i_30_] / i_9_; - if (i_38_ < 0) i_38_ = 0; - else if (i_38_ > 255) i_38_ = 255; - } else i_38_ = 0; - class266.anInt3387 = (Class298.method2250(method3991(is_4_[i_30_] >> 8, (aByteArrayArray8220[i + 1][i_0_] - (aByteArrayArray8232[i + 1][i_0_]))), 97, i_38_, i_8_)); - if (class266.anInt3388 != 0) class266.anInt3387 |= (255 - (aByteArrayArray8220[i + 1][i_0_] - aByteArrayArray8232[i + 1][i_0_]) << 25); - if (is_3_ != null && i_9_ != 0) { - i_38_ = 255 * is_3_[i_31_] / i_9_; - if (i_38_ < 0) i_38_ = 0; - else if (i_38_ > 255) i_38_ = 255; - } else i_38_ = 0; - class266.anInt3380 = (Class298.method2250(method3991(is_4_[i_31_] >> 8, ((aByteArrayArray8220[i + 1][i_0_ + 1]) - (aByteArrayArray8232[i + 1][i_0_ + 1]))), 103, i_38_, i_8_)); - if (class266.anInt3388 != 0) class266.anInt3380 |= 255 - (aByteArrayArray8220[i + 1][i_0_ + 1] - (aByteArrayArray8232[i + 1][i_0_ + 1])) << 25; - if (is_3_ != null && i_9_ != 0) { - i_38_ = 255 * is_3_[i_32_] / i_9_; - if (i_38_ < 0) i_38_ = 0; - else if (i_38_ > 255) i_38_ = 255; - } else i_38_ = 0; - class266.anInt3381 = (Class298.method2250(method3991(is_4_[i_32_] >> 8, (aByteArrayArray8220[i][i_0_ + 1] - (aByteArrayArray8232[i][i_0_ + 1]))), 42, i_38_, i_8_)); - class266.aShort3379 = (short) i_37_; - } else { - int i_39_; - if (is_3_ != null && i_9_ != 0) { - i_39_ = 255 * is_3_[i_29_] / i_9_; - if (i_39_ < 0) i_39_ = 0; - else if (i_39_ > 255) i_39_ = 255; - } else i_39_ = 0; - class266.anInt3389 = (Class298.method2250(method3991(is_4_[i_29_] >> 8, (aByteArrayArray8220[i][i_0_] - aByteArrayArray8232[i][i_0_])), 68, i_39_, i_8_)); - if (class266.anInt3388 != 0) class266.anInt3389 |= (255 - (aByteArrayArray8220[i][i_0_] - aByteArrayArray8232[i][i_0_]) << 25); - if (is_3_ != null && i_9_ != 0) { - i_39_ = 255 * is_3_[i_30_] / i_9_; - if (i_39_ < 0) i_39_ = 0; - else if (i_39_ > 255) i_39_ = 255; - } else i_39_ = 0; - class266.anInt3387 = (Class298.method2250(method3991(is_4_[i_30_] >> 8, (aByteArrayArray8220[i + 1][i_0_] - (aByteArrayArray8232[i + 1][i_0_]))), 112, i_39_, i_8_)); - if (class266.anInt3388 != 0) class266.anInt3387 |= (255 - (aByteArrayArray8220[i + 1][i_0_] - aByteArrayArray8232[i + 1][i_0_]) << 25); - if (is_3_ != null && i_9_ != 0) { - i_39_ = 255 * is_3_[i_31_] / i_9_; - if (i_39_ < 0) i_39_ = 0; - else if (i_39_ > 255) i_39_ = 255; - } else i_39_ = 0; - class266.anInt3380 = (Class298.method2250(method3991(is_4_[i_31_] >> 8, ((aByteArrayArray8220[i + 1][i_0_ + 1]) - (aByteArrayArray8232[i + 1][i_0_ + 1]))), 62, i_39_, i_8_)); - if (class266.anInt3388 != 0) class266.anInt3380 |= 255 - (aByteArrayArray8220[i + 1][i_0_ + 1] - (aByteArrayArray8232[i + 1][i_0_ + 1])) << 25; - if (is_3_ != null && i_9_ != 0) { - i_39_ = 255 * is_3_[i_32_] / i_9_; - if (i_39_ < 0) i_39_ = 0; - else if (i_39_ > 255) i_39_ = 255; - } else i_39_ = 0; - class266.anInt3381 = (Class298.method2250(method3991(is_4_[i_32_] >> 8, (aByteArrayArray8220[i][i_0_ + 1] - (aByteArrayArray8232[i][i_0_ + 1]))), 84, i_39_, i_8_)); - if (class266.anInt3388 != 0) class266.anInt3381 |= (255 - (aByteArrayArray8220[i][i_0_ + 1] - aByteArrayArray8232[i][i_0_ + 1]) << 25); - class266.aShort3379 = (short) -1; - } - if (is_3_ != null) { - class266.aShort3384 = (short) is_3_[i_31_]; - class266.aShort3385 = (short) is_3_[i_32_]; - class266.aShort3383 = (short) is_3_[i_30_]; - class266.aShort3382 = (short) is_3_[i_29_]; - } - aClass266ArrayArray8230[i][i_0_] = class266; - } else { - Class145 class145 = new Class145(); - class145.aShort2003 = (short) is.length; - class145.aShort2010 = (short) (is.length / 3); - class145.aShortArray2009 = new short[class145.aShort2003]; - class145.aShortArray2007 = new short[class145.aShort2003]; - class145.aShortArray2002 = new short[class145.aShort2003]; - class145.anIntArray2001 = new int[class145.aShort2003]; - if (is_3_ != null) class145.aShortArray2006 = new short[class145.aShort2003]; - for (int i_40_ = 0; i_40_ < class145.aShort2003; i_40_++) { - int i_41_ = is[i_40_]; - int i_42_ = is_2_[i_40_]; - boolean bool_43_ = false; - int i_44_; - if (i_41_ == 0 && i_42_ == 0) i_44_ = (aByteArrayArray8220[i][i_0_] - aByteArrayArray8232[i][i_0_]); - else if (i_41_ == 0 && i_42_ == this.anInt4592) i_44_ = (aByteArrayArray8220[i][i_0_ + 1] - aByteArrayArray8232[i][i_0_ + 1]); - else if (i_41_ == this.anInt4592 && i_42_ == this.anInt4592) i_44_ = (aByteArrayArray8220[i + 1][i_0_ + 1] - aByteArrayArray8232[i + 1][i_0_ + 1]); - else if (i_41_ == this.anInt4592 && i_42_ == 0) i_44_ = (aByteArrayArray8220[i + 1][i_0_] - aByteArrayArray8232[i + 1][i_0_]); - else { - int i_45_ = (((aByteArrayArray8220[i][i_0_] - aByteArrayArray8232[i][i_0_]) * (this.anInt4592 - i_41_)) + ((aByteArrayArray8220[i + 1][i_0_] - aByteArrayArray8232[i + 1][i_0_]) * i_41_)); - int i_46_ = (((aByteArrayArray8220[i][i_0_ + 1] - aByteArrayArray8232[i][i_0_ + 1]) * (this.anInt4592 - i_41_)) + ((aByteArrayArray8220[i + 1][i_0_ + 1] - aByteArrayArray8232[i + 1][i_0_ + 1]) * i_41_)); - i_44_ = ((i_45_ * (this.anInt4592 - i_42_) + i_46_ * i_42_) >> 2 * this.anInt4588); - } - int i_47_ = (i << this.anInt4588) + i_41_; - int i_48_ = (i_0_ << this.anInt4588) + i_42_; - class145.aShortArray2009[i_40_] = (short) i_41_; - class145.aShortArray2002[i_40_] = (short) i_42_; - class145.aShortArray2007[i_40_] = (short) (this.method3986(i_47_, i_48_, (byte) 126) + (is_1_ != null ? is_1_[i_40_] : 0)); - if (i_44_ < 0) i_44_ = 0; - if (is_4_[i_40_] == 0) { - if (is_5_ != null) class145.anIntArray2001[i_40_] = i_44_ << 25; - else class145.anIntArray2001[i_40_] = 0; - } else { - int i_49_ = 0; - if (is_3_ != null) { - int i_50_ = (class145.aShortArray2006[i_40_] = (short) is_3_[i_40_]); - if (i_9_ != 0) { - i_49_ = 255 * i_50_ / i_9_; - if (i_49_ < 0) i_49_ = 0; - else if (i_49_ > 255) i_49_ = 255; - } - } - class145.anIntArray2001[i_40_] = Class298.method2250(method3991((is_4_[i_40_] >> 8), i_44_), 40, i_49_, i_8_); - if (is_5_ != null) class145.anIntArray2001[i_40_] |= i_44_ << 25; - } - } - boolean bool_51_ = false; - for (int i_52_ = 0; i_52_ < class145.aShort2010; i_52_++) { - if (is_6_[i_52_ * 3] != -1 && !(aHa_Sub1_8217.aD4579.method3(is_6_[i_52_ * 3], -6662).aBoolean209)) bool_51_ = true; - } - if (is_5_ != null) class145.anIntArray2011 = new int[class145.aShort2010]; - if (bool_51_) { - class145.aShortArray2008 = new short[class145.aShort2010]; - class145.aShortArray2005 = new short[class145.aShort2010]; - } - for (int i_53_ = 0; i_53_ < class145.aShort2010; i_53_++) { - int i_54_ = i_53_ * 3; - if (is_5_ != null && is_5_[i_54_] != 0) class145.anIntArray2011[i_53_] = is_5_[i_54_] >> 8; - if (bool_51_) { - int i_55_ = i_54_ + 1; - int i_56_ = i_55_ + 1; - boolean bool_57_ = false; - boolean bool_58_ = true; - int i_59_ = is_6_[i_54_]; - if (i_59_ == -1 || (aHa_Sub1_8217.aD4579.method3(i_59_, -6662).aBoolean209)) bool_58_ = false; - else bool_57_ = true; - i_59_ = is_6_[i_55_]; - if (i_59_ == -1 || (aHa_Sub1_8217.aD4579.method3(i_59_, -6662).aBoolean209)) bool_58_ = false; - else bool_57_ = true; - i_59_ = is_6_[i_56_]; - if (i_59_ == -1 || (aHa_Sub1_8217.aD4579.method3(i_59_, -6662).aBoolean209)) bool_58_ = false; - else bool_57_ = true; - if (bool_58_) { - class145.aShortArray2008[i_53_] = (short) i_59_; - class145.aShortArray2005[i_53_] = (short) is_7_[i_54_]; - } else { - if (bool_57_) { - i_59_ = is_6_[i_54_]; - if (i_59_ != -1 && !(aHa_Sub1_8217.aD4579.method3(i_59_, -6662).aBoolean209)) class145.anIntArray2001[i_54_] = (Class126.anIntArray4983[(Class25.method303((aHa_Sub1_8217.aD4579.method3(i_59_, -6662).aShort208) & 0xffff, 30)) & 0xffff]); - i_59_ = is_6_[i_55_]; - if (i_59_ != -1 && !(aHa_Sub1_8217.aD4579.method3(i_59_, -6662).aBoolean209)) class145.anIntArray2001[i_55_] = (Class126.anIntArray4983[(Class25.method303((aHa_Sub1_8217.aD4579.method3(i_59_, -6662).aShort208) & 0xffff, 30)) & 0xffff]); - i_59_ = is_6_[i_56_]; - if (i_59_ != -1 && !(aHa_Sub1_8217.aD4579.method3(i_59_, -6662).aBoolean209)) class145.anIntArray2001[i_56_] = (Class126.anIntArray4983[(Class25.method303((aHa_Sub1_8217.aD4579.method3(i_59_, -6662).aShort208) & 0xffff, 30)) & 0xffff]); - } - class145.aShortArray2008[i_53_] = (short) -1; - } - } - } - aClass145ArrayArray8225[i][i_0_] = class145; - } - } - } - } - - final void method3978(int i, int i_60_, int[] is, int[] is_61_, int[] is_62_, int[] is_63_, int[] is_64_, int[] is_65_, int[] is_66_, int[] is_67_, int[] is_68_, int[] is_69_, int[] is_70_, int i_71_, int i_72_, int i_73_, boolean bool) { - if (aClass102ArrayArray8215 == null) { - aClass102ArrayArray8215 = new Class102[this.anInt4587][this.anInt4590]; - aClass236ArrayArray8222 = new Class236[this.anInt4587][this.anInt4590]; - } else if (aClass266ArrayArray8230 != null || aClass198ArrayArray8219 != null) throw new IllegalStateException(); - boolean bool_74_ = false; - if (is_67_.length == 2 && is_64_.length == 2 && (is_67_[0] == is_67_[1] || is_69_[0] != -1 && is_69_[0] == is_69_[1])) { - bool_74_ = true; - for (int i_75_ = 1; i_75_ < 2; i_75_++) { - int i_76_ = is[is_64_[i_75_]]; - int i_77_ = is_62_[is_64_[i_75_]]; - if (i_76_ != 0 && i_76_ != this.anInt4592 || i_77_ != 0 && i_77_ != this.anInt4592) { - bool_74_ = false; - break; - } - } - } - if (!bool_74_) { - Class236 class236 = new Class236(); - short i_78_ = (short) is.length; - int i_79_ = (short) is_67_.length; - class236.aShort3089 = i_78_; - class236.aShortArray3088 = new short[i_78_]; - class236.aShortArray3096 = new short[i_78_]; - class236.aShortArray3097 = new short[i_78_]; - class236.aShortArray3094 = new short[i_78_]; - for (int i_80_ = 0; i_80_ < i_78_; i_80_++) { - int i_81_ = is[i_80_]; - int i_82_ = is_62_[i_80_]; - if (i_81_ == 0 && i_82_ == 0) class236.aShortArray3088[i_80_] = (short) (aByteArrayArray8220[i][i_60_] - aByteArrayArray8232[i][i_60_]); - else if (i_81_ == 0 && i_82_ == this.anInt4592) class236.aShortArray3088[i_80_] = (short) (aByteArrayArray8220[i][i_60_ + 1] - aByteArrayArray8232[i][i_60_ + 1]); - else if (i_81_ == this.anInt4592 && i_82_ == this.anInt4592) class236.aShortArray3088[i_80_] = (short) (aByteArrayArray8220[i + 1][i_60_ + 1] - aByteArrayArray8232[i + 1][i_60_ + 1]); - else if (i_81_ == this.anInt4592 && i_82_ == 0) class236.aShortArray3088[i_80_] = (short) (aByteArrayArray8220[i + 1][i_60_] - aByteArrayArray8232[i + 1][i_60_]); - else { - int i_83_ = (((aByteArrayArray8220[i][i_60_] - aByteArrayArray8232[i][i_60_]) * (this.anInt4592 - i_81_)) + (aByteArrayArray8220[i + 1][i_60_] - aByteArrayArray8232[i + 1][i_60_]) * i_81_); - int i_84_ = (((aByteArrayArray8220[i][i_60_ + 1] - aByteArrayArray8232[i][i_60_ + 1]) * (this.anInt4592 - i_81_)) + ((aByteArrayArray8220[i + 1][i_60_ + 1] - aByteArrayArray8232[i + 1][i_60_ + 1]) * i_81_)); - class236.aShortArray3088[i_80_] = (short) ((i_83_ * (this.anInt4592 - i_82_) + i_84_ * i_82_) >> 2 * this.anInt4588); - } - int i_85_ = (i << this.anInt4588) + i_81_; - int i_86_ = (i_60_ << this.anInt4588) + i_82_; - class236.aShortArray3096[i_80_] = (short) i_81_; - class236.aShortArray3094[i_80_] = (short) i_82_; - class236.aShortArray3097[i_80_] = (short) (this.method3986(i_85_, i_86_, (byte) 67) + (is_61_ != null ? is_61_[i_80_] : 0)); - if (class236.aShortArray3088[i_80_] < 2) class236.aShortArray3088[i_80_] = (short) 2; - } - boolean bool_87_ = false; - int i_88_ = 0; - for (int i_89_ = 0; i_89_ < i_79_; i_89_++) { - if (is_67_[i_89_] >= 0 || is_68_ != null && is_68_[i_89_] >= 0) i_88_++; - int i_90_ = is_69_[i_89_]; - if (i_90_ != -1) { - Class12 class12 = aHa_Sub1_8217.aD4579.method3(i_90_, -6662); - if (!class12.aBoolean209) { - bool_87_ = true; - if (method3997(class12.aByte213) || class12.aByte198 != 0 || class12.aByte211 != 0) class236.aByte3100 |= 0x4; - } - } - } - class236.anIntArray3093 = new int[i_88_]; - if (is_68_ != null) class236.anIntArray3092 = new int[i_88_]; - class236.aShortArray3091 = new short[i_88_]; - class236.aShortArray3090 = new short[i_88_]; - class236.aShortArray3101 = new short[i_88_]; - if (bool_87_) { - class236.aShortArray3095 = new short[i_88_]; - class236.aShortArray3098 = new short[i_88_]; - } - for (int i_91_ = 0; i_91_ < i_79_; i_91_++) { - if (is_67_[i_91_] >= 0 || is_68_ != null && is_68_[i_91_] >= 0) { - if (is_67_[i_91_] >= 0) class236.anIntArray3093[class236.aShort3099] = Class25.method303(is_67_[i_91_], 30); - else class236.anIntArray3093[class236.aShort3099] = -1; - if (is_68_ != null) { - if (is_68_[i_91_] != -1) class236.anIntArray3092[class236.aShort3099] = Class25.method303(is_68_[i_91_], 30); - else class236.anIntArray3092[class236.aShort3099] = -1; - } - class236.aShortArray3091[class236.aShort3099] = (short) is_64_[i_91_]; - class236.aShortArray3090[class236.aShort3099] = (short) is_65_[i_91_]; - class236.aShortArray3101[class236.aShort3099] = (short) is_66_[i_91_]; - if (bool_87_) { - if (is_69_[i_91_] != -1 && !(aHa_Sub1_8217.aD4579.method3(is_69_[i_91_], -6662).aBoolean209)) { - class236.aShortArray3095[class236.aShort3099] = (short) is_69_[i_91_]; - class236.aShortArray3098[class236.aShort3099] = (short) is_70_[i_91_]; - } else class236.aShortArray3095[class236.aShort3099] = (short) -1; - } - class236.aShort3099++; - } - } - aClass236ArrayArray8222[i][i_60_] = class236; - } else if (is_67_[0] >= 0 || is_68_ != null && is_68_[0] >= 0) { - Class102 class102 = new Class102(); - int i_92_ = is_67_[0]; - int i_93_ = is_69_[0]; - if (is_68_ != null) { - class102.anInt1600 = Class291.method2198(0, (aByteArrayArray8220[i][i_60_] - aByteArrayArray8232[i][i_60_]), Class25.method303(is_68_[0], 30)); - if (i_92_ == -1) class102.aByte1606 |= 0x2; - } - if ((this.anIntArrayArray4584[i][i_60_] == this.anIntArrayArray4584[i + 1][i_60_]) && (this.anIntArrayArray4584[i][i_60_] == this.anIntArrayArray4584[i + 1][i_60_ + 1]) && (this.anIntArrayArray4584[i][i_60_] == this.anIntArrayArray4584[i][i_60_ + 1])) class102.aByte1606 |= 0x1; - Class12 class12 = null; - if (i_93_ != -1) class12 = aHa_Sub1_8217.aD4579.method3(i_93_, -6662); - if (class12 != null && (class102.aByte1606 & 0x2) == 0 && !class12.aBoolean209) { - class102.aShort1601 = (short) (aByteArrayArray8220[i][i_60_] - aByteArrayArray8232[i][i_60_]); - class102.aShort1603 = (short) (aByteArrayArray8220[i + 1][i_60_] - aByteArrayArray8232[i + 1][i_60_]); - class102.aShort1602 = (short) (aByteArrayArray8220[i + 1][i_60_ + 1] - aByteArrayArray8232[i + 1][i_60_ + 1]); - class102.aShort1604 = (short) (aByteArrayArray8220[i][i_60_ + 1] - aByteArrayArray8232[i][i_60_ + 1]); - class102.aShort1605 = (short) i_93_; - if (method3997(class12.aByte213) || class12.aByte198 != 0 || class12.aByte211 != 0) class102.aByte1606 |= 0x4; - } else { - short i_94_ = Class25.method303(i_92_, 30); - class102.aShort1601 = (short) Class291.method2198(0, ((aByteArrayArray8220[i][i_60_]) - (aByteArrayArray8232[i][i_60_])), i_94_); - class102.aShort1603 = (short) Class291.method2198(0, ((aByteArrayArray8220[i + 1][i_60_]) - (aByteArrayArray8232[i + 1][i_60_])), i_94_); - class102.aShort1602 = (short) Class291.method2198(0, ((aByteArrayArray8220[i + 1][i_60_ + 1]) - (aByteArrayArray8232[i + 1][i_60_ + 1])), i_94_); - class102.aShort1604 = (short) Class291.method2198(0, ((aByteArrayArray8220[i][i_60_ + 1]) - (aByteArrayArray8232[i][i_60_ + 1])), i_94_); - class102.aShort1605 = (short) -1; - } - aClass102ArrayArray8215[i][i_60_] = class102; - } - } - - final void method3984(int i, int i_95_, int i_96_, boolean[][] bools, boolean bool, int i_97_, int i_98_) { - Class101_Sub1 class101_sub1 = aHa_Sub1_8217.aClass101_Sub1_7492; - anInt8228 = i_97_; - aFloat8212 = class101_sub1.aFloat5672; - aFloat8216 = class101_sub1.aFloat5673; - aFloat8224 = class101_sub1.aFloat5669; - aFloat8213 = class101_sub1.aFloat5686; - aFloat8214 = class101_sub1.aFloat5655; - aFloat8221 = class101_sub1.aFloat5678; - aFloat8229 = class101_sub1.aFloat5666; - aFloat8226 = class101_sub1.aFloat5685; - aFloat8233 = class101_sub1.aFloat5662; - aFloat8227 = class101_sub1.aFloat5680; - aFloat8231 = class101_sub1.aFloat5664; - aFloat8218 = class101_sub1.aFloat5681; - for (int i_99_ = 0; i_99_ < i_96_ + i_96_; i_99_++) { - for (int i_100_ = 0; i_100_ < i_96_ + i_96_; i_100_++) { - if (bools[i_99_][i_100_]) { - int i_101_ = i - i_96_ + i_99_; - int i_102_ = i_95_ - i_96_ + i_100_; - if (i_101_ >= 0 && i_101_ < this.anInt4587 && i_102_ >= 0 && i_102_ < this.anInt4590) method3992(i_101_, i_102_, i_98_); - } - } - } - } - - final void ka(int i, int i_103_, int i_104_) { - if (aByteArrayArray8232[i][i_103_] < i_104_) aByteArrayArray8232[i][i_103_] = (byte) i_104_; - } - - private final void method3990(int i, int i_105_, boolean bool, Class167 class167, Class109 class109, int[] is, int[] is_106_, int[] is_107_, int[] is_108_, int i_109_) { - Class266 class266 = aClass266ArrayArray8230[i][i_105_]; - if (class266 == null) { - Class145 class145 = aClass145ArrayArray8225[i][i_105_]; - if (class145 != null) { - if (i_109_ != 0) { - if ((class145.aByte2004 & 0x4) != 0) { - if ((i_109_ & 0x1) != 0) return; - } else if ((i_109_ & 0x2) != 0) return; - } - if (anInt8228 == -1) { - for (int i_187_ = 0; i_187_ < class145.aShort2003; i_187_++) { - int i_188_ = (class145.aShortArray2009[i_187_] + (i << this.anInt4588)); - int i_189_ = class145.aShortArray2007[i_187_]; - int i_190_ = (class145.aShortArray2002[i_187_] + (i_105_ << this.anInt4588)); - float f = aFloat8218 + (aFloat8233 * (float) i_188_ + aFloat8227 * (float) i_189_ + aFloat8231 * (float) i_190_); - if (f <= (float) aHa_Sub1_8217.anInt7482) return; - is_108_[i_187_] = 0; - if (bool) { - int i_191_ = (int) (f - (float) (class167.anInt2210)); - if (i_191_ > 255) i_191_ = 255; - if (i_191_ > 0) { - is_108_[i_187_] = i_191_; - int i_192_ = ((class145.aShortArray2006[i_187_]) * i_191_ / 255); - if (i_192_ > 0) i_189_ -= i_192_; - } - } else if (class167.aBoolean2201) { - int i_193_ = (int) (f - (float) (class167.anInt2210)); - if (i_193_ > 0) { - is_108_[i_187_] = i_193_; - if (is_108_[i_187_] > 255) is_108_[i_187_] = 255; - } - } - float f_194_ = aFloat8213 + (aFloat8212 * (float) i_188_ + aFloat8216 * (float) i_189_ + aFloat8224 * (float) i_190_); - float f_195_ = aFloat8226 + (aFloat8214 * (float) i_188_ + aFloat8221 * (float) i_189_ + aFloat8229 * (float) i_190_); - is[i_187_] = (class109.anInt1665 + (int) (f_194_ * (float) (aHa_Sub1_8217.anInt7491) / f)); - is_106_[i_187_] = (class109.anInt1668 + (int) (f_195_ * (float) (aHa_Sub1_8217.anInt7497) / f)); - is_107_[i_187_] = (int) f; - } - } else { - for (int i_196_ = 0; i_196_ < class145.aShort2003; i_196_++) { - int i_197_ = (class145.aShortArray2009[i_196_] + (i << this.anInt4588)); - int i_198_ = class145.aShortArray2007[i_196_]; - int i_199_ = (class145.aShortArray2002[i_196_] + (i_105_ << this.anInt4588)); - float f = aFloat8218 + (aFloat8233 * (float) i_197_ + aFloat8227 * (float) i_198_ + aFloat8231 * (float) i_199_); - is_108_[i_196_] = 0; - if (bool) { - int i_200_ = anInt8228 - class167.anInt2210; - if (i_200_ > 255) i_200_ = 255; - if (i_200_ > 0) { - is_108_[i_196_] = i_200_; - int i_201_ = ((class145.aShortArray2006[i_196_]) * i_200_ / 255); - if (i_201_ > 0) i_198_ -= i_201_; - } - } else if (class167.aBoolean2201) { - int i_202_ = anInt8228 - class167.anInt2210; - if (i_202_ > 0) { - is_108_[i_196_] = i_202_; - if (is_108_[i_196_] > 255) is_108_[i_196_] = 255; - } - } - float f_203_ = aFloat8213 + (aFloat8212 * (float) i_197_ + aFloat8216 * (float) i_198_ + aFloat8224 * (float) i_199_); - float f_204_ = aFloat8226 + (aFloat8214 * (float) i_197_ + aFloat8221 * (float) i_198_ + aFloat8229 * (float) i_199_); - is[i_196_] = (class109.anInt1665 + (int) (f_203_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); - is_106_[i_196_] = (class109.anInt1668 + (int) (f_204_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); - is_107_[i_196_] = (int) f; - } - } - if (class145.aShortArray2008 == null) { - for (int i_233_ = 0; i_233_ < class145.aShort2010; i_233_++) { - int i_234_ = i_233_ * 3; - int i_235_ = i_234_ + 1; - int i_236_ = i_235_ + 1; - int i_237_ = is[i_234_]; - int i_238_ = is[i_235_]; - int i_239_ = is[i_236_]; - int i_240_ = is_106_[i_234_]; - int i_241_ = is_106_[i_235_]; - int i_242_ = is_106_[i_236_]; - int i_243_ = (is_108_[i_234_] + is_108_[i_235_] + is_108_[i_236_]); - if (((i_237_ - i_238_) * (i_242_ - i_241_) - (i_240_ - i_241_) * (i_239_ - i_238_)) > 0) { - class109.aBoolean1671 = (i_237_ < 0 || i_238_ < 0 || i_239_ < 0 || i_237_ > class109.anInt1679 || i_238_ > class109.anInt1679 || (i_239_ > class109.anInt1679)); - if (i_243_ < 765) { - if (i_243_ > 0) { - if (((class145.anIntArray2001[i_234_]) & 0xffffff) != 0) - class109.method1027((float) i_240_, (float) i_241_, (float) i_242_, (float) i_237_, (float) i_238_, (float) i_239_, (float) is_107_[i_234_], (float) is_107_[i_235_], (float) is_107_[i_236_], (Class298.method2250((class145.anIntArray2001[i_234_]), 117, is_108_[i_234_], (class167.anInt2192))), (Class298.method2250((class145.anIntArray2001[i_235_]), 60, is_108_[i_235_], (class167.anInt2192))), (Class298.method2250((class145.anIntArray2001[i_236_]), 95, is_108_[i_236_], (class167.anInt2192)))); - } else if (((class145.anIntArray2001[i_234_]) & 0xffffff) != 0) - class109.method1027((float) i_240_, (float) i_241_, (float) i_242_, (float) i_237_, (float) i_238_, (float) i_239_, (float) is_107_[i_234_], (float) is_107_[i_235_], (float) is_107_[i_236_], (class145.anIntArray2001[i_234_]), (class145.anIntArray2001[i_235_]), (class145.anIntArray2001[i_236_])); - } else class109.method1018((float) i_240_, (float) i_241_, (float) i_242_, (float) i_237_, (float) i_238_, (float) i_239_, (float) is_107_[i_234_], (float) is_107_[i_235_], (float) is_107_[i_236_], (class167.anInt2192)); - } - } - } else if (anInt8228 == -1) { - for (int i_205_ = 0; i_205_ < class145.aShort2010; i_205_++) { - int i_206_ = i_205_ * 3; - int i_207_ = i_206_ + 1; - int i_208_ = i_207_ + 1; - int i_209_ = is[i_206_]; - int i_210_ = is[i_207_]; - int i_211_ = is[i_208_]; - int i_212_ = is_106_[i_206_]; - int i_213_ = is_106_[i_207_]; - int i_214_ = is_106_[i_208_]; - int i_215_ = (is_108_[i_206_] + is_108_[i_207_] + is_108_[i_208_]); - if (((i_209_ - i_210_) * (i_214_ - i_213_) - (i_212_ - i_213_) * (i_211_ - i_210_)) > 0) { - class109.aBoolean1671 = (i_209_ < 0 || i_210_ < 0 || i_211_ < 0 || (i_209_ > class109.anInt1679) || (i_210_ > class109.anInt1679) || (i_211_ > class109.anInt1679)); - short i_216_ = (class145.aShortArray2008[i_205_]); - if (i_215_ < 765) { - if (i_215_ > 0) { - if (i_216_ != -1) { - int i_217_ = -16777216; - if (i_216_ != -1 && method3997(aHa_Sub1_8217.aD4579.method3(i_216_, -6662).aByte213)) i_217_ = -1694498816; - class109.method1024((float) i_212_, (float) i_213_, (float) i_214_, (float) i_209_, (float) i_210_, (float) i_211_, (float) is_107_[i_206_], (float) is_107_[i_207_], (float) is_107_[i_208_], ((float) (class145.aShortArray2009[i_206_]) / (float) (this.anInt4592)), ((float) (class145.aShortArray2009[i_207_]) / (float) (this.anInt4592)), ((float) (class145.aShortArray2009[i_208_]) / (float) (this.anInt4592)), ((float) (class145.aShortArray2002[i_206_]) / (float) (this.anInt4592)), ((float) (class145.aShortArray2002[i_207_]) / (float) (this.anInt4592)), ((float) (class145.aShortArray2002[i_208_]) / (float) (this.anInt4592)), (i_217_ | ((class145.anIntArray2001[i_206_]) & 0xffffff)), (i_217_ | ((class145.anIntArray2001[i_207_]) & 0xffffff)), (i_217_ | ((class145.anIntArray2001[i_208_]) & 0xffffff)), (class167.anInt2192), is_108_[i_206_], is_108_[i_207_], is_108_[i_208_], i_216_); - } else if (((class145.anIntArray2001[i_206_]) & 0xffffff) != 0) { - if (i_216_ != -1 && method3997(aHa_Sub1_8217.aD4579.method3(i_216_, -6662).aByte213)) class109.anInt1674 = -1694498816; - class109.method1027((float) i_212_, (float) i_213_, (float) i_214_, (float) i_209_, (float) i_210_, (float) i_211_, (float) is_107_[i_206_], (float) is_107_[i_207_], (float) is_107_[i_208_], (Class6.method206((class145.anIntArray2001[i_206_]), (is_108_[i_206_] << 24 | (class167.anInt2192)), 255)), (Class6.method206((class145.anIntArray2001[i_207_]), (is_108_[i_207_] << 24 | (class167.anInt2192)), 255)), (Class6.method206((class145.anIntArray2001[i_208_]), (is_108_[i_208_] << 24 | (class167.anInt2192)), 255))); - class109.anInt1674 = 0; - } - } else if (i_216_ != -1) { - int i_218_ = -16777216; - if (i_216_ != -1 && (method3997(aHa_Sub1_8217.aD4579.method3(i_216_, -6662).aByte213))) i_218_ = -1694498816; - class109.method1024((float) i_212_, (float) i_213_, (float) i_214_, (float) i_209_, (float) i_210_, (float) i_211_, (float) is_107_[i_206_], (float) is_107_[i_207_], (float) is_107_[i_208_], ((float) (class145.aShortArray2009[i_206_]) / (float) this.anInt4592), ((float) (class145.aShortArray2009[i_207_]) / (float) this.anInt4592), ((float) (class145.aShortArray2009[i_208_]) / (float) this.anInt4592), ((float) (class145.aShortArray2002[i_206_]) / (float) this.anInt4592), ((float) (class145.aShortArray2002[i_207_]) / (float) this.anInt4592), ((float) (class145.aShortArray2002[i_208_]) / (float) this.anInt4592), i_218_ | (class145.anIntArray2001[i_206_]) & 0xffffff, i_218_ | (class145.anIntArray2001[i_207_]) & 0xffffff, i_218_ | (class145.anIntArray2001[i_208_]) & 0xffffff, 0, 0, 0, 0, i_216_); - } else if (((class145.anIntArray2001[i_206_]) & 0xffffff) != 0) { - if (i_216_ != -1 && (method3997(aHa_Sub1_8217.aD4579.method3(i_216_, -6662).aByte213))) class109.anInt1674 = -1694498816; - class109.method1027((float) i_212_, (float) i_213_, (float) i_214_, (float) i_209_, (float) i_210_, (float) i_211_, (float) is_107_[i_206_], (float) is_107_[i_207_], (float) is_107_[i_208_], (class145.anIntArray2001[i_206_]), (class145.anIntArray2001[i_207_]), (class145.anIntArray2001[i_208_])); - class109.anInt1674 = 0; - } - } else class109.method1018((float) i_212_, (float) i_213_, (float) i_214_, (float) i_209_, (float) i_210_, (float) i_211_, (float) is_107_[i_206_], (float) is_107_[i_207_], (float) is_107_[i_208_], class167.anInt2192); - } - } - } else { - for (int i_219_ = 0; i_219_ < class145.aShort2010; i_219_++) { - int i_220_ = i_219_ * 3; - int i_221_ = i_220_ + 1; - int i_222_ = i_221_ + 1; - int i_223_ = is[i_220_]; - int i_224_ = is[i_221_]; - int i_225_ = is[i_222_]; - int i_226_ = is_106_[i_220_]; - int i_227_ = is_106_[i_221_]; - int i_228_ = is_106_[i_222_]; - int i_229_ = (is_108_[i_220_] + is_108_[i_221_] + is_108_[i_222_]); - if (((i_223_ - i_224_) * (i_228_ - i_227_) - (i_226_ - i_227_) * (i_225_ - i_224_)) > 0) { - class109.aBoolean1671 = (i_223_ < 0 || i_224_ < 0 || i_225_ < 0 || (i_223_ > class109.anInt1679) || (i_224_ > class109.anInt1679) || (i_225_ > class109.anInt1679)); - short i_230_ = (class145.aShortArray2008[i_219_]); - if (i_229_ < 765) { - if (i_230_ != -1 && method3997(aHa_Sub1_8217.aD4579.method3(i_230_, -6662).aByte213)) class109.anInt1674 = -1694498816; - if (i_229_ > 0) { - if (i_230_ != -1) { - int i_231_ = -16777216; - if (i_230_ != -1 && method3997(aHa_Sub1_8217.aD4579.method3(i_230_, -6662).aByte213)) i_231_ = -1694498816; - class109.method1024((float) i_226_, (float) i_227_, (float) i_228_, (float) i_223_, (float) i_224_, (float) i_225_, (float) is_107_[i_220_], (float) is_107_[i_221_], (float) is_107_[i_222_], ((float) (class145.aShortArray2009[i_220_]) / (float) (this.anInt4592)), ((float) (class145.aShortArray2009[i_221_]) / (float) (this.anInt4592)), ((float) (class145.aShortArray2009[i_222_]) / (float) (this.anInt4592)), ((float) (class145.aShortArray2002[i_220_]) / (float) (this.anInt4592)), ((float) (class145.aShortArray2002[i_221_]) / (float) (this.anInt4592)), ((float) (class145.aShortArray2002[i_222_]) / (float) (this.anInt4592)), (i_231_ | ((class145.anIntArray2001[i_220_]) & 0xffffff)), (i_231_ | ((class145.anIntArray2001[i_221_]) & 0xffffff)), (i_231_ | ((class145.anIntArray2001[i_222_]) & 0xffffff)), (class167.anInt2192), is_108_[i_220_], is_108_[i_221_], is_108_[i_222_], i_230_); - } else if (((class145.anIntArray2001[i_220_]) & 0xffffff) != 0) { - if (i_230_ != -1 && method3997(aHa_Sub1_8217.aD4579.method3(i_230_, -6662).aByte213)) class109.anInt1674 = -1694498816; - class109.method1027((float) i_226_, (float) i_227_, (float) i_228_, (float) i_223_, (float) i_224_, (float) i_225_, (float) is_107_[i_220_], (float) is_107_[i_221_], (float) is_107_[i_222_], (Class6.method206((class145.anIntArray2001[i_220_]), (is_108_[i_220_] << 24 | (class167.anInt2192)), 255)), (Class6.method206((class145.anIntArray2001[i_221_]), (is_108_[i_221_] << 24 | (class167.anInt2192)), 255)), (Class6.method206((class145.anIntArray2001[i_222_]), (is_108_[i_222_] << 24 | (class167.anInt2192)), 255))); - class109.anInt1674 = 0; - } - } else if (i_230_ != -1) { - int i_232_ = -16777216; - if (i_230_ != -1 && (method3997(aHa_Sub1_8217.aD4579.method3(i_230_, -6662).aByte213))) i_232_ = -1694498816; - class109.method1024((float) i_226_, (float) i_227_, (float) i_228_, (float) i_223_, (float) i_224_, (float) i_225_, (float) is_107_[i_220_], (float) is_107_[i_221_], (float) is_107_[i_222_], ((float) (class145.aShortArray2009[i_220_]) / (float) this.anInt4592), ((float) (class145.aShortArray2009[i_221_]) / (float) this.anInt4592), ((float) (class145.aShortArray2009[i_222_]) / (float) this.anInt4592), ((float) (class145.aShortArray2002[i_220_]) / (float) this.anInt4592), ((float) (class145.aShortArray2002[i_221_]) / (float) this.anInt4592), ((float) (class145.aShortArray2002[i_222_]) / (float) this.anInt4592), i_232_ | (class145.anIntArray2001[i_220_]) & 0xffffff, i_232_ | (class145.anIntArray2001[i_221_]) & 0xffffff, i_232_ | (class145.anIntArray2001[i_222_]) & 0xffffff, 0, 0, 0, 0, i_230_); - } else if (((class145.anIntArray2001[i_220_]) & 0xffffff) != 0) { - if (i_230_ != -1 && (method3997(aHa_Sub1_8217.aD4579.method3(i_230_, -6662).aByte213))) class109.anInt1674 = -1694498816; - class109.method1027((float) i_226_, (float) i_227_, (float) i_228_, (float) i_223_, (float) i_224_, (float) i_225_, (float) is_107_[i_220_], (float) is_107_[i_221_], (float) is_107_[i_222_], (class145.anIntArray2001[i_220_]), (class145.anIntArray2001[i_221_]), (class145.anIntArray2001[i_222_])); - class109.anInt1674 = 0; - } - class109.anInt1674 = 0; - } else class109.method1018((float) i_226_, (float) i_227_, (float) i_228_, (float) i_223_, (float) i_224_, (float) i_225_, (float) is_107_[i_220_], (float) is_107_[i_221_], (float) is_107_[i_222_], class167.anInt2192); - } - } - } - } - } else if ((class266.aByte3386 & 0x2) == 0) { - if (i_109_ != 0) { - if ((class266.aByte3386 & 0x4) != 0) { - if ((i_109_ & 0x1) != 0) return; - } else if ((i_109_ & 0x2) != 0) return; - } - int i_110_ = i * this.anInt4592; - int i_111_ = i_110_ + this.anInt4592; - int i_112_ = i_105_ * this.anInt4592; - int i_113_ = i_112_ + this.anInt4592; - int i_114_ = 0; - int i_115_ = 0; - int i_116_ = 0; - int i_117_ = 0; - float f; - float f_118_; - float f_119_; - float f_120_; - int i_121_; - int i_122_; - int i_123_; - int i_124_; - int i_125_; - int i_126_; - int i_127_; - int i_128_; - if ((class266.aByte3386 & 0x1) == 0 || bool) { - int i_150_ = this.anIntArrayArray4584[i][i_105_]; - int i_151_ = this.anIntArrayArray4584[i + 1][i_105_]; - int i_152_ = this.anIntArrayArray4584[i + 1][i_105_ + 1]; - int i_153_ = this.anIntArrayArray4584[i][i_105_ + 1]; - if (anInt8228 == -1) { - f = aFloat8218 + (aFloat8233 * (float) i_110_ + aFloat8227 * (float) i_150_ + aFloat8231 * (float) i_112_); - if (f <= (float) aHa_Sub1_8217.anInt7482) return; - f_118_ = aFloat8218 + (aFloat8233 * (float) i_111_ + aFloat8227 * (float) i_151_ + aFloat8231 * (float) i_112_); - if (f_118_ <= (float) aHa_Sub1_8217.anInt7482) return; - f_119_ = aFloat8218 + (aFloat8233 * (float) i_111_ + aFloat8227 * (float) i_152_ + aFloat8231 * (float) i_113_); - if (f_119_ <= (float) aHa_Sub1_8217.anInt7482) return; - f_120_ = aFloat8218 + (aFloat8233 * (float) i_110_ + aFloat8227 * (float) i_153_ + aFloat8231 * (float) i_113_); - if (f_120_ <= (float) aHa_Sub1_8217.anInt7482) return; - } else { - f = aFloat8218 + (aFloat8233 * (float) i_110_ + aFloat8227 * (float) i_150_ + aFloat8231 * (float) i_112_); - f_118_ = aFloat8218 + (aFloat8233 * (float) i_111_ + aFloat8227 * (float) i_151_ + aFloat8231 * (float) i_112_); - f_119_ = aFloat8218 + (aFloat8233 * (float) i_111_ + aFloat8227 * (float) i_152_ + aFloat8231 * (float) i_113_); - f_120_ = aFloat8218 + (aFloat8233 * (float) i_110_ + aFloat8227 * (float) i_153_ + aFloat8231 * (float) i_113_); - } - if (bool) { - int i_154_ = (int) (f - (float) (class167.anInt2210)); - if (i_154_ > 255) i_154_ = 255; - if (i_154_ > 0) { - i_114_ = i_154_; - int i_155_ = (class266.aShort3382 * i_154_ / 255); - if (i_155_ > 0) i_150_ -= i_155_; - } - i_154_ = (int) (f_118_ - (float) (class167.anInt2210)); - if (i_154_ > 255) i_154_ = 255; - if (i_154_ > 0) { - i_115_ = i_154_; - int i_156_ = (class266.aShort3383 * i_154_ / 255); - if (i_156_ > 0) i_151_ -= i_156_; - } - i_154_ = (int) (f_119_ - (float) (class167.anInt2210)); - if (i_154_ > 255) i_154_ = 255; - if (i_154_ > 0) { - i_116_ = i_154_; - int i_157_ = (class266.aShort3384 * i_154_ / 255); - if (i_157_ > 0) i_152_ -= i_157_; - } - i_154_ = (int) (f_120_ - (float) (class167.anInt2210)); - if (i_154_ > 255) i_154_ = 255; - if (i_154_ > 0) { - i_117_ = i_154_; - int i_158_ = (class266.aShort3385 * i_154_ / 255); - if (i_158_ > 0) i_153_ -= i_158_; - } - } else if (class167.aBoolean2201) { - int i_159_ = (int) (f - (float) (class167.anInt2210)); - if (i_159_ > 0) { - i_114_ = i_159_; - if (i_114_ > 255) i_114_ = 255; - } - i_159_ = (int) (f_118_ - (float) (class167.anInt2210)); - if (i_159_ > 0) { - i_115_ = i_159_; - if (i_115_ > 255) i_115_ = 255; - } - i_159_ = (int) (f_119_ - (float) (class167.anInt2210)); - if (i_159_ > 0) { - i_116_ = i_159_; - if (i_116_ > 255) i_116_ = 255; - } - i_159_ = (int) (f_120_ - (float) (class167.anInt2210)); - if (i_159_ > 0) { - i_117_ = i_159_; - if (i_117_ > 255) i_117_ = 255; - } - } - if (anInt8228 == -1) { - float f_160_ = aFloat8213 + (aFloat8212 * (float) i_110_ + aFloat8216 * (float) i_150_ + aFloat8224 * (float) i_112_); - i_121_ = (class109.anInt1665 + (int) (f_160_ * (float) (aHa_Sub1_8217.anInt7491) / f)); - float f_161_ = aFloat8226 + (aFloat8214 * (float) i_110_ + aFloat8221 * (float) i_150_ + aFloat8229 * (float) i_112_); - i_122_ = (class109.anInt1668 + (int) (f_161_ * (float) (aHa_Sub1_8217.anInt7497) / f)); - float f_162_ = aFloat8213 + (aFloat8212 * (float) i_111_ + aFloat8216 * (float) i_151_ + aFloat8224 * (float) i_112_); - i_123_ = (class109.anInt1665 + (int) (f_162_ * (float) (aHa_Sub1_8217.anInt7491) / f_118_)); - float f_163_ = aFloat8226 + (aFloat8214 * (float) i_111_ + aFloat8221 * (float) i_151_ + aFloat8229 * (float) i_112_); - i_124_ = (class109.anInt1668 + (int) (f_163_ * (float) (aHa_Sub1_8217.anInt7497) / f_118_)); - float f_164_ = aFloat8213 + (aFloat8212 * (float) i_111_ + aFloat8216 * (float) i_152_ + aFloat8224 * (float) i_113_); - i_125_ = (class109.anInt1665 + (int) (f_164_ * (float) (aHa_Sub1_8217.anInt7491) / f_119_)); - float f_165_ = aFloat8226 + (aFloat8214 * (float) i_111_ + aFloat8221 * (float) i_152_ + aFloat8229 * (float) i_113_); - i_126_ = (class109.anInt1668 + (int) (f_165_ * (float) (aHa_Sub1_8217.anInt7497) / f_119_)); - float f_166_ = aFloat8213 + (aFloat8212 * (float) i_110_ + aFloat8216 * (float) i_153_ + aFloat8224 * (float) i_113_); - i_127_ = (class109.anInt1665 + (int) (f_166_ * (float) (aHa_Sub1_8217.anInt7491) / f_120_)); - float f_167_ = aFloat8226 + (aFloat8214 * (float) i_110_ + aFloat8221 * (float) i_153_ + aFloat8229 * (float) i_113_); - i_128_ = (class109.anInt1668 + (int) (f_167_ * (float) (aHa_Sub1_8217.anInt7497) / f_120_)); - } else { - float f_168_ = aFloat8213 + (aFloat8212 * (float) i_110_ + aFloat8216 * (float) i_150_ + aFloat8224 * (float) i_112_); - i_121_ = (class109.anInt1665 + (int) (f_168_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); - float f_169_ = aFloat8226 + (aFloat8214 * (float) i_110_ + aFloat8221 * (float) i_150_ + aFloat8229 * (float) i_112_); - i_122_ = (class109.anInt1668 + (int) (f_169_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); - float f_170_ = aFloat8213 + (aFloat8212 * (float) i_111_ + aFloat8216 * (float) i_151_ + aFloat8224 * (float) i_112_); - i_123_ = (class109.anInt1665 + (int) (f_170_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); - float f_171_ = aFloat8226 + (aFloat8214 * (float) i_111_ + aFloat8221 * (float) i_151_ + aFloat8229 * (float) i_112_); - i_124_ = (class109.anInt1668 + (int) (f_171_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); - float f_172_ = aFloat8213 + (aFloat8212 * (float) i_111_ + aFloat8216 * (float) i_152_ + aFloat8224 * (float) i_113_); - i_125_ = (class109.anInt1665 + (int) (f_172_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); - float f_173_ = aFloat8226 + (aFloat8214 * (float) i_111_ + aFloat8221 * (float) i_152_ + aFloat8229 * (float) i_113_); - i_126_ = (class109.anInt1668 + (int) (f_173_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); - float f_174_ = aFloat8213 + (aFloat8212 * (float) i_110_ + aFloat8216 * (float) i_153_ + aFloat8224 * (float) i_113_); - i_127_ = (class109.anInt1665 + (int) (f_174_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); - float f_175_ = aFloat8226 + (aFloat8214 * (float) i_110_ + aFloat8221 * (float) i_153_ + aFloat8229 * (float) i_113_); - i_128_ = (class109.anInt1668 + (int) (f_175_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); - } - } else { - int i_129_ = this.anIntArrayArray4584[i][i_105_]; - float f_130_ = aFloat8227 * (float) i_129_; - if (anInt8228 == -1) { - f = aFloat8218 + (aFloat8233 * (float) i_110_ + f_130_ + aFloat8231 * (float) i_112_); - if (f <= (float) aHa_Sub1_8217.anInt7482) return; - f_118_ = aFloat8218 + (aFloat8233 * (float) i_111_ + f_130_ + aFloat8231 * (float) i_112_); - if (f_118_ <= (float) aHa_Sub1_8217.anInt7482) return; - f_119_ = aFloat8218 + (aFloat8233 * (float) i_111_ + f_130_ + aFloat8231 * (float) i_113_); - if (f_119_ <= (float) aHa_Sub1_8217.anInt7482) return; - f_120_ = aFloat8218 + (aFloat8233 * (float) i_110_ + f_130_ + aFloat8231 * (float) i_113_); - if (f_120_ <= (float) aHa_Sub1_8217.anInt7482) return; - } else { - f = aFloat8218 + (aFloat8233 * (float) i_110_ + f_130_ + aFloat8231 * (float) i_112_); - f_118_ = aFloat8218 + (aFloat8233 * (float) i_111_ + f_130_ + aFloat8231 * (float) i_112_); - f_119_ = aFloat8218 + (aFloat8233 * (float) i_111_ + f_130_ + aFloat8231 * (float) i_113_); - f_120_ = aFloat8218 + (aFloat8233 * (float) i_110_ + f_130_ + aFloat8231 * (float) i_113_); - } - if (class167.aBoolean2201) { - int i_131_ = (int) (f - (float) (class167.anInt2210)); - if (i_131_ > 0) { - i_114_ = i_131_; - if (i_114_ > 255) i_114_ = 255; - } - i_131_ = (int) (f_118_ - (float) (class167.anInt2210)); - if (i_131_ > 0) { - i_115_ = i_131_; - if (i_115_ > 255) i_115_ = 255; - } - i_131_ = (int) (f_119_ - (float) (class167.anInt2210)); - if (i_131_ > 0) { - i_116_ = i_131_; - if (i_116_ > 255) i_116_ = 255; - } - i_131_ = (int) (f_120_ - (float) (class167.anInt2210)); - if (i_131_ > 0) { - i_117_ = i_131_; - if (i_117_ > 255) i_117_ = 255; - } - } - float f_132_ = aFloat8216 * (float) i_129_; - float f_133_ = aFloat8221 * (float) i_129_; - if (anInt8228 == -1) { - float f_134_ = (aFloat8213 + (aFloat8212 * (float) i_110_ + f_132_ + aFloat8224 * (float) i_112_)); - i_121_ = (class109.anInt1665 + (int) (f_134_ * (float) (aHa_Sub1_8217.anInt7491) / f)); - float f_135_ = (aFloat8226 + (aFloat8214 * (float) i_110_ + f_133_ + aFloat8229 * (float) i_112_)); - i_122_ = (class109.anInt1668 + (int) (f_135_ * (float) (aHa_Sub1_8217.anInt7497) / f)); - float f_136_ = (aFloat8213 + (aFloat8212 * (float) i_111_ + f_132_ + aFloat8224 * (float) i_112_)); - i_123_ = (class109.anInt1665 + (int) (f_136_ * (float) (aHa_Sub1_8217.anInt7491) / f_118_)); - float f_137_ = (aFloat8226 + (aFloat8214 * (float) i_111_ + f_133_ + aFloat8229 * (float) i_112_)); - i_124_ = (class109.anInt1668 + (int) (f_137_ * (float) (aHa_Sub1_8217.anInt7497) / f_118_)); - float f_138_ = (aFloat8213 + (aFloat8212 * (float) i_111_ + f_132_ + aFloat8224 * (float) i_113_)); - i_125_ = (class109.anInt1665 + (int) (f_138_ * (float) (aHa_Sub1_8217.anInt7491) / f_119_)); - float f_139_ = (aFloat8226 + (aFloat8214 * (float) i_111_ + f_133_ + aFloat8229 * (float) i_113_)); - i_126_ = (class109.anInt1668 + (int) (f_139_ * (float) (aHa_Sub1_8217.anInt7497) / f_119_)); - float f_140_ = (aFloat8213 + (aFloat8212 * (float) i_110_ + f_132_ + aFloat8224 * (float) i_113_)); - i_127_ = (class109.anInt1665 + (int) (f_140_ * (float) (aHa_Sub1_8217.anInt7491) / f_120_)); - float f_141_ = (aFloat8226 + (aFloat8214 * (float) i_110_ + f_133_ + aFloat8229 * (float) i_113_)); - i_128_ = (class109.anInt1668 + (int) (f_141_ * (float) (aHa_Sub1_8217.anInt7497) / f_120_)); - } else { - float f_142_ = (aFloat8213 + (aFloat8212 * (float) i_110_ + f_132_ + aFloat8224 * (float) i_112_)); - i_121_ = (class109.anInt1665 + (int) (f_142_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); - float f_143_ = (aFloat8226 + (aFloat8214 * (float) i_110_ + f_133_ + aFloat8229 * (float) i_112_)); - i_122_ = (class109.anInt1668 + (int) (f_143_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); - float f_144_ = (aFloat8213 + (aFloat8212 * (float) i_111_ + f_132_ + aFloat8224 * (float) i_112_)); - i_123_ = (class109.anInt1665 + (int) (f_144_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); - float f_145_ = (aFloat8226 + (aFloat8214 * (float) i_111_ + f_133_ + aFloat8229 * (float) i_112_)); - i_124_ = (class109.anInt1668 + (int) (f_145_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); - float f_146_ = (aFloat8213 + (aFloat8212 * (float) i_111_ + f_132_ + aFloat8224 * (float) i_113_)); - i_125_ = (class109.anInt1665 + (int) (f_146_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); - float f_147_ = (aFloat8226 + (aFloat8214 * (float) i_111_ + f_133_ + aFloat8229 * (float) i_113_)); - i_126_ = (class109.anInt1668 + (int) (f_147_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); - float f_148_ = (aFloat8213 + (aFloat8212 * (float) i_110_ + f_132_ + aFloat8224 * (float) i_113_)); - i_127_ = (class109.anInt1665 + (int) (f_148_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); - float f_149_ = (aFloat8226 + (aFloat8214 * (float) i_110_ + f_133_ + aFloat8229 * (float) i_113_)); - i_128_ = (class109.anInt1668 + (int) (f_149_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); - } - } - boolean bool_176_ = (class266.aShort3379 != -1 && method3997(aHa_Sub1_8217.aD4579.method3(class266.aShort3379, -6662).aByte213)); - if (anInt8228 == -1) { - int i_177_ = i_115_ + i_116_ + i_117_; - if (((i_125_ - i_127_) * (i_124_ - i_128_) - (i_126_ - i_128_) * (i_123_ - i_127_)) > 0) { - class109.aBoolean1671 = (i_125_ < 0 || i_127_ < 0 || i_123_ < 0 || i_125_ > class109.anInt1679 || i_127_ > class109.anInt1679 || i_123_ > class109.anInt1679); - if (i_177_ < 765) { - if (i_177_ > 0) { - if (class266.aShort3379 >= 0) { - int i_178_ = -16777216; - if (bool_176_) i_178_ = -1694498816; - class109.method1024((float) i_126_, (float) i_128_, (float) i_124_, (float) i_125_, (float) i_127_, (float) i_123_, f_119_, f_120_, f_118_, 1.0F, 0.0F, 1.0F, 1.0F, 1.0F, 0.0F, i_178_ | (class266.anInt3380) & 0xffffff, i_178_ | (class266.anInt3381) & 0xffffff, i_178_ | (class266.anInt3387) & 0xffffff, class167.anInt2192, i_116_, i_117_, i_115_, class266.aShort3379); - } else { - if (bool_176_) class109.anInt1674 = 100; - class109.method1027((float) i_126_, (float) i_128_, (float) i_124_, (float) i_125_, (float) i_127_, (float) i_123_, (float) (int) f_119_, (float) (int) f_120_, (float) (int) f_118_, (Class6.method206(class266.anInt3380, (i_116_ << 24 | class167.anInt2192), 255)), (Class6.method206(class266.anInt3381, (i_117_ << 24 | class167.anInt2192), 255)), (Class6.method206(class266.anInt3387, (i_115_ << 24 | class167.anInt2192), 255))); - class109.anInt1674 = 0; - } - } else if (class266.aShort3379 >= 0) { - int i_179_ = -16777216; - if (bool_176_) i_179_ = -1694498816; - class109.method1024((float) i_126_, (float) i_128_, (float) i_124_, (float) i_125_, (float) i_127_, (float) i_123_, f_119_, f_120_, f_118_, 1.0F, 0.0F, 1.0F, 1.0F, 1.0F, 0.0F, i_179_ | (class266.anInt3380 & 0xffffff), i_179_ | (class266.anInt3381 & 0xffffff), i_179_ | (class266.anInt3387 & 0xffffff), 0, 0, 0, 0, class266.aShort3379); - } else { - if (bool_176_) class109.anInt1674 = 100; - class109.method1027((float) i_126_, (float) i_128_, (float) i_124_, (float) i_125_, (float) i_127_, (float) i_123_, (float) (int) f_119_, (float) (int) f_120_, (float) (int) f_118_, class266.anInt3380, class266.anInt3381, class266.anInt3387); - class109.anInt1674 = 0; - } - } else class109.method1018((float) i_126_, (float) i_128_, (float) i_124_, (float) i_125_, (float) i_127_, (float) i_123_, (float) (int) f_119_, (float) (int) f_120_, (float) (int) f_118_, (class167.anInt2192)); - } - i_177_ = i_114_ + i_115_ + i_117_; - if (((i_121_ - i_123_) * (i_128_ - i_124_) - (i_122_ - i_124_) * (i_127_ - i_123_)) > 0) { - class109.aBoolean1671 = (i_121_ < 0 || i_123_ < 0 || i_127_ < 0 || i_121_ > class109.anInt1679 || i_123_ > class109.anInt1679 || i_127_ > class109.anInt1679); - if (i_177_ < 765) { - if (bool_176_) class109.anInt1674 = -1694498816; - if (i_177_ > 0) { - if (class266.aShort3379 >= 0) { - int i_180_ = -16777216; - if (bool_176_) i_180_ = -1694498816; - class109.method1024((float) i_122_, (float) i_124_, (float) i_128_, (float) i_121_, (float) i_123_, (float) i_127_, f, f_118_, f_120_, 0.0F, 1.0F, 1.0F, 0.0F, 0.0F, 1.0F, i_180_ | (class266.anInt3389) & 0xffffff, i_180_ | (class266.anInt3387) & 0xffffff, i_180_ | (class266.anInt3381) & 0xffffff, class167.anInt2192, i_114_, i_115_, i_117_, class266.aShort3379); - } else { - if (bool_176_) class109.anInt1674 = 100; - class109.method1027((float) i_122_, (float) i_124_, (float) i_128_, (float) i_121_, (float) i_123_, (float) i_127_, (float) (int) f, (float) (int) f_118_, (float) (int) f_120_, (Class6.method206(class266.anInt3389, (i_114_ << 24 | class167.anInt2192), 255)), (Class6.method206(class266.anInt3387, (i_115_ << 24 | class167.anInt2192), 255)), (Class6.method206(class266.anInt3381, (i_117_ << 24 | class167.anInt2192), 255))); - class109.anInt1674 = 0; - } - } else if (class266.aShort3379 >= 0) { - int i_181_ = -16777216; - if (bool_176_) i_181_ = -1694498816; - class109.method1024((float) i_122_, (float) i_124_, (float) i_128_, (float) i_121_, (float) i_123_, (float) i_127_, f, f_118_, f_120_, 0.0F, 1.0F, 1.0F, 0.0F, 0.0F, 1.0F, i_181_ | (class266.anInt3389 & 0xffffff), i_181_ | (class266.anInt3387 & 0xffffff), i_181_ | (class266.anInt3381 & 0xffffff), 0, 0, 0, 0, class266.aShort3379); - } else { - if (bool_176_) class109.anInt1674 = 100; - class109.method1027((float) i_122_, (float) i_124_, (float) i_128_, (float) i_121_, (float) i_123_, (float) i_127_, (float) (int) f, (float) (int) f_118_, (float) (int) f_120_, class266.anInt3389, class266.anInt3387, class266.anInt3381); - class109.anInt1674 = 0; - } - } else class109.method1018((float) i_122_, (float) i_124_, (float) i_128_, (float) i_121_, (float) i_123_, (float) i_127_, (float) (int) f, (float) (int) f_118_, (float) (int) f_120_, (class167.anInt2192)); - } - } else { - int i_182_ = i_115_ + i_116_ + i_117_; - if (((i_125_ - i_127_) * (i_124_ - i_128_) - (i_126_ - i_128_) * (i_123_ - i_127_)) > 0) { - class109.aBoolean1671 = (i_125_ < 0 || i_127_ < 0 || i_123_ < 0 || i_125_ > class109.anInt1679 || i_127_ > class109.anInt1679 || i_123_ > class109.anInt1679); - if (i_182_ < 765) { - if (bool_176_) class109.anInt1674 = -1694498816; - if (i_182_ > 0) { - if (class266.aShort3379 >= 0) { - int i_183_ = -16777216; - if (bool_176_) i_183_ = -1694498816; - class109.method1024((float) i_126_, (float) i_128_, (float) i_124_, (float) i_125_, (float) i_127_, (float) i_123_, f_119_, f_120_, f_118_, 1.0F, 0.0F, 1.0F, 1.0F, 1.0F, 0.0F, i_183_ | (class266.anInt3380) & 0xffffff, i_183_ | (class266.anInt3381) & 0xffffff, i_183_ | (class266.anInt3387) & 0xffffff, class167.anInt2192, i_116_, i_117_, i_115_, class266.aShort3379); - } else { - if (bool_176_) class109.anInt1674 = 100; - class109.method1027((float) i_126_, (float) i_128_, (float) i_124_, (float) i_125_, (float) i_127_, (float) i_123_, (float) (int) f_119_, (float) (int) f_120_, (float) (int) f_118_, (Class6.method206(class266.anInt3380, (i_116_ << 24 | class167.anInt2192), 255)), (Class6.method206(class266.anInt3381, (i_117_ << 24 | class167.anInt2192), 255)), (Class6.method206(class266.anInt3387, (i_115_ << 24 | class167.anInt2192), 255))); - class109.anInt1674 = 0; - } - } else if (class266.aShort3379 >= 0) { - int i_184_ = -16777216; - if (bool_176_) i_184_ = -1694498816; - class109.method1024((float) i_126_, (float) i_128_, (float) i_124_, (float) i_125_, (float) i_127_, (float) i_123_, f_119_, f_120_, f_118_, 1.0F, 0.0F, 1.0F, 1.0F, 1.0F, 0.0F, i_184_ | (class266.anInt3380 & 0xffffff), i_184_ | (class266.anInt3381 & 0xffffff), i_184_ | (class266.anInt3387 & 0xffffff), 0, 0, 0, 0, class266.aShort3379); - } else { - if (bool_176_) class109.anInt1674 = 100; - class109.method1027((float) i_126_, (float) i_128_, (float) i_124_, (float) i_125_, (float) i_127_, (float) i_123_, (float) (int) f_119_, (float) (int) f_120_, (float) (int) f_118_, class266.anInt3380, class266.anInt3381, class266.anInt3387); - class109.anInt1674 = 0; - } - } else class109.method1018((float) i_126_, (float) i_128_, (float) i_124_, (float) i_125_, (float) i_127_, (float) i_123_, (float) (int) f_119_, (float) (int) f_120_, (float) (int) f_118_, (class167.anInt2192)); - } - i_182_ = i_114_ + i_115_ + i_117_; - if (((i_121_ - i_123_) * (i_128_ - i_124_) - (i_122_ - i_124_) * (i_127_ - i_123_)) > 0) { - class109.aBoolean1671 = (i_121_ < 0 || i_123_ < 0 || i_127_ < 0 || i_121_ > class109.anInt1679 || i_123_ > class109.anInt1679 || i_127_ > class109.anInt1679); - if (i_182_ < 765) { - if (bool_176_) class109.anInt1674 = -1694498816; - if (i_182_ > 0) { - if (class266.aShort3379 >= 0) { - int i_185_ = -16777216; - if (bool_176_) i_185_ = -1694498816; - class109.method1024((float) i_122_, (float) i_124_, (float) i_128_, (float) i_121_, (float) i_123_, (float) i_127_, f, f_118_, f_120_, 0.0F, 1.0F, 1.0F, 0.0F, 0.0F, 1.0F, i_185_ | (class266.anInt3389) & 0xffffff, i_185_ | (class266.anInt3387) & 0xffffff, i_185_ | (class266.anInt3381) & 0xffffff, class167.anInt2192, i_114_, i_115_, i_117_, class266.aShort3379); - } else { - if (bool_176_) class109.anInt1674 = 100; - class109.method1027((float) i_122_, (float) i_124_, (float) i_128_, (float) i_121_, (float) i_123_, (float) i_127_, (float) (int) f, (float) (int) f_118_, (float) (int) f_120_, (Class6.method206(class266.anInt3389, (i_114_ << 24 | class167.anInt2192), 255)), (Class6.method206(class266.anInt3387, (i_115_ << 24 | class167.anInt2192), 255)), (Class6.method206(class266.anInt3381, (i_117_ << 24 | class167.anInt2192), 255))); - class109.anInt1674 = 0; - } - } else if (class266.aShort3379 >= 0) { - int i_186_ = -16777216; - if (bool_176_) i_186_ = -1694498816; - class109.method1024((float) i_122_, (float) i_124_, (float) i_128_, (float) i_121_, (float) i_123_, (float) i_127_, f, f_118_, f_120_, 0.0F, 1.0F, 1.0F, 0.0F, 0.0F, 1.0F, i_186_ | (class266.anInt3389 & 0xffffff), i_186_ | (class266.anInt3387 & 0xffffff), i_186_ | (class266.anInt3381 & 0xffffff), 0, 0, 0, 0, class266.aShort3379); - } else { - if (bool_176_) class109.anInt1674 = 100; - class109.method1027((float) i_122_, (float) i_124_, (float) i_128_, (float) i_121_, (float) i_123_, (float) i_127_, (float) (int) f, (float) (int) f_118_, (float) (int) f_120_, class266.anInt3389, class266.anInt3387, class266.anInt3381); - class109.anInt1674 = 0; - } - } else class109.method1018((float) i_122_, (float) i_124_, (float) i_128_, (float) i_121_, (float) i_123_, (float) i_127_, (float) (int) f, (float) (int) f_118_, (float) (int) f_120_, (class167.anInt2192)); - } - } - } - } - - private static final int method3991(int i, int i_244_) { - int i_245_ = (i & 0xff0000) * i_244_ >> 23; - if (i_245_ < 2) i_245_ = 2; - else if (i_245_ > 253) i_245_ = 253; - int i_246_ = (i & 0xff00) * i_244_ >> 15; - if (i_246_ < 2) i_246_ = 2; - else if (i_246_ > 253) i_246_ = 253; - int i_247_ = (i & 0xff) * i_244_ >> 7; - if (i_247_ < 2) i_247_ = 2; - else if (i_247_ > 253) i_247_ = 253; - return i_245_ << 16 | i_246_ << 8 | i_247_; - } - - final void method3983(int i, int i_248_, int i_249_, boolean[][] bools, boolean bool, int i_250_) { - Class101_Sub1 class101_sub1 = aHa_Sub1_8217.aClass101_Sub1_7492; - anInt8228 = -1; - aFloat8212 = class101_sub1.aFloat5672; - aFloat8216 = class101_sub1.aFloat5673; - aFloat8224 = class101_sub1.aFloat5669; - aFloat8213 = class101_sub1.aFloat5686; - aFloat8214 = class101_sub1.aFloat5655; - aFloat8221 = class101_sub1.aFloat5678; - aFloat8229 = class101_sub1.aFloat5666; - aFloat8226 = class101_sub1.aFloat5685; - aFloat8233 = class101_sub1.aFloat5662; - aFloat8227 = class101_sub1.aFloat5680; - aFloat8231 = class101_sub1.aFloat5664; - aFloat8218 = class101_sub1.aFloat5681; - for (int i_251_ = 0; i_251_ < i_249_ + i_249_; i_251_++) { - for (int i_252_ = 0; i_252_ < i_249_ + i_249_; i_252_++) { - if (bools[i_251_][i_252_]) { - int i_253_ = i - i_249_ + i_251_; - int i_254_ = i_248_ - i_249_ + i_252_; - if (i_253_ >= 0 && i_253_ < this.anInt4587 && i_254_ >= 0 && i_254_ < this.anInt4590) method3992(i_253_, i_254_, i_250_); - } - } - } - } - - private final void method3992(int i, int i_255_, int i_256_) { - Class167 class167 = aHa_Sub1_8217.method3724(Thread.currentThread()); - class167.aClass109_2220.anInt1674 = 0; - if (aClass266ArrayArray8230 != null) method3990(i, i_255_, class167.aBoolean2195, class167, class167.aClass109_2220, class167.anIntArray2212, class167.anIntArray2228, class167.anIntArray2217, class167.anIntArray2232, i_256_); - else if (aClass102ArrayArray8215 != null) method3994(i, i_255_, class167.aClass109_2220, class167.anIntArray2212, class167.anIntArray2228, class167.anIntArray2217, class167.anIntArray2232, i_256_); - else if (aClass198ArrayArray8219 != null) method3995(i, i_255_, class167.aBoolean2195, class167, class167.aClass109_2220, class167.anIntArray2212, class167.anIntArray2228, class167.anIntArray2217, class167.anIntArray2232, i_256_); - } - - final void wa(r var_r, int i, int i_257_, int i_258_, int i_259_, boolean bool) { - /* empty */ - } - - private final void method3993(int i, int i_260_, int i_261_, int i_262_, int i_263_, int i_264_, int i_265_, boolean[][] bools, Class167 class167, Class109 class109, int[] is, int[] is_266_) { - int i_267_ = (i_265_ - i_263_) * i_261_ / 256; - int i_268_ = i_261_ >> 8; - boolean bool = class167.aBoolean2202; - aHa_Sub1_8217.C(false); - class109.aBoolean1669 = false; - class109.aBoolean1667 = false; - int i_269_ = i; - int i_270_ = i_260_ + i_267_; - for (int i_271_ = i_262_; i_271_ < i_264_; i_271_++) { - for (int i_272_ = i_263_; i_272_ < i_265_; i_272_++) { - if (bools[i_271_ - i_262_][i_272_ - i_263_]) { - if (aClass266ArrayArray8230 != null) { - if (aClass266ArrayArray8230[i_271_][i_272_] != null) { - Class266 class266 = aClass266ArrayArray8230[i_271_][i_272_]; - if (class266.aShort3379 != -1 && (class266.aByte3386 & 0x2) == 0 && class266.anInt3388 == 0) { - int i_273_ = aHa_Sub1_8217.method3722(class266.aShort3379); - class109.method1022((float) (i_270_ - i_268_), (float) (i_270_ - i_268_), (float) i_270_, (float) (i_269_ + i_268_), (float) i_269_, (float) (i_269_ + i_268_), 100.0F, 100.0F, 100.0F, (float) Class291.method2198(0, (class266.anInt3380), i_273_), (float) Class291.method2198(0, (class266.anInt3381), i_273_), (float) Class291.method2198(0, (class266.anInt3387), i_273_)); - class109.method1022((float) i_270_, (float) i_270_, (float) (i_270_ - i_268_), (float) i_269_, (float) (i_269_ + i_268_), (float) i_269_, 100.0F, 100.0F, 100.0F, (float) Class291.method2198(0, (class266.anInt3389), i_273_), (float) Class291.method2198(0, (class266.anInt3387), i_273_), (float) Class291.method2198(0, (class266.anInt3381), i_273_)); - } else if (class266.anInt3388 == 0) { - class109.method1027((float) (i_270_ - i_268_), (float) (i_270_ - i_268_), (float) i_270_, (float) (i_269_ + i_268_), (float) i_269_, (float) (i_269_ + i_268_), 100.0F, 100.0F, 100.0F, class266.anInt3380, class266.anInt3381, class266.anInt3387); - class109.method1027((float) i_270_, (float) i_270_, (float) (i_270_ - i_268_), (float) i_269_, (float) (i_269_ + i_268_), (float) i_269_, 100.0F, 100.0F, 100.0F, class266.anInt3389, class266.anInt3387, class266.anInt3381); - } else { - int i_274_ = class266.anInt3388; - class109.method1027((float) (i_270_ - i_268_), (float) (i_270_ - i_268_), (float) i_270_, (float) (i_269_ + i_268_), (float) i_269_, (float) (i_269_ + i_268_), 100.0F, 100.0F, 100.0F, Class6.method206(i_274_, (class266.anInt3380) & ~0xffffff, 255), Class6.method206(i_274_, (class266.anInt3381) & ~0xffffff, 255), Class6.method206(i_274_, (class266.anInt3387) & ~0xffffff, 255)); - class109.method1027((float) i_270_, (float) i_270_, (float) (i_270_ - i_268_), (float) i_269_, (float) (i_269_ + i_268_), (float) i_269_, 100.0F, 100.0F, 100.0F, Class6.method206(i_274_, (class266.anInt3389) & ~0xffffff, 255), Class6.method206(i_274_, (class266.anInt3387) & ~0xffffff, 255), Class6.method206(i_274_, (class266.anInt3381) & ~0xffffff, 255)); - } - } else if (aClass145ArrayArray8225[i_271_][i_272_] != null) { - Class145 class145 = aClass145ArrayArray8225[i_271_][i_272_]; - for (int i_275_ = 0; i_275_ < class145.aShort2003; i_275_++) { - is[i_275_] = i_269_ + ((class145.aShortArray2009[i_275_]) * i_268_ / this.anInt4592); - is_266_[i_275_] = i_270_ - ((class145.aShortArray2002[i_275_]) * i_268_ / this.anInt4592); - } - for (int i_276_ = 0; i_276_ < class145.aShort2010; i_276_++) { - int i_277_ = i_276_ * 3; - int i_278_ = i_277_ + 1; - int i_279_ = i_278_ + 1; - int i_280_ = is[i_277_]; - int i_281_ = is[i_278_]; - int i_282_ = is[i_279_]; - int i_283_ = is_266_[i_277_]; - int i_284_ = is_266_[i_278_]; - int i_285_ = is_266_[i_279_]; - if ((class145.anIntArray2011 != null) && (class145.anIntArray2011[i_276_]) != 0 && ((class145.aShortArray2008 == null) || ((class145.aShortArray2008) != null && ((class145.aShortArray2008[i_276_]) == -1)))) { - int i_286_ = (class145.anIntArray2011[i_276_]); - class109.method1027((float) i_283_, (float) i_284_, (float) i_285_, (float) i_280_, (float) i_281_, (float) i_282_, 100.0F, 100.0F, 100.0F, Class6.method206(i_286_, (-16777216 - ((class145.anIntArray2001[i_277_]) & ~0xffffff)), 255), Class6.method206(i_286_, (-16777216 - ((class145.anIntArray2001[i_278_]) & ~0xffffff)), 255), Class6.method206(i_286_, (-16777216 - ((class145.anIntArray2001[i_279_]) & ~0xffffff)), 255)); - } else if ((class145.aShortArray2008) != null && ((class145.aShortArray2008[i_276_]) != -1)) { - int i_287_ = (aHa_Sub1_8217.method3722(class145.aShortArray2008[i_276_])); - class109.method1022((float) i_283_, (float) i_284_, (float) i_285_, (float) i_280_, (float) i_281_, (float) i_282_, 100.0F, 100.0F, 100.0F, (float) i_287_, (float) i_287_, (float) i_287_); - } else class109.method1027((float) i_283_, (float) i_284_, (float) i_285_, (float) i_280_, (float) i_281_, (float) i_282_, 100.0F, 100.0F, 100.0F, (class145.anIntArray2001[i_277_]), (class145.anIntArray2001[i_278_]), (class145.anIntArray2001[i_279_])); - } - } - } else if (aClass198ArrayArray8219[i_271_][i_272_] != null) { - Class198 class198 = aClass198ArrayArray8219[i_271_][i_272_]; - for (int i_288_ = 0; i_288_ < class198.aShort2620; i_288_++) { - is[i_288_] = i_269_ + ((class198.aShortArray2622[i_288_]) * i_268_ / this.anInt4592); - is_266_[i_288_] = i_270_ - ((class198.aShortArray2613[i_288_]) * i_268_ / this.anInt4592); - } - for (int i_289_ = 0; i_289_ < class198.aShort2619; i_289_++) { - int i_290_ = i_289_ * 3; - int i_291_ = i_290_ + 1; - int i_292_ = i_291_ + 1; - int i_293_ = is[i_290_]; - int i_294_ = is[i_291_]; - int i_295_ = is[i_292_]; - int i_296_ = is_266_[i_290_]; - int i_297_ = is_266_[i_291_]; - int i_298_ = is_266_[i_292_]; - if (class198.anIntArray2615 != null && (class198.anIntArray2615[i_289_]) != 0) { - int i_299_ = (class198.anIntArray2615[i_289_]); - class109.method1027((float) i_296_, (float) i_297_, (float) i_298_, (float) i_293_, (float) i_294_, (float) i_295_, 100.0F, 100.0F, 100.0F, i_299_, i_299_, i_299_); - } else class109.method1027((float) i_296_, (float) i_297_, (float) i_298_, (float) i_293_, (float) i_294_, (float) i_295_, 100.0F, 100.0F, 100.0F, (class198.anIntArray2623[i_290_]), (class198.anIntArray2623[i_291_]), (class198.anIntArray2623[i_292_])); - } - } - } - i_270_ -= i_268_; - } - i_270_ = i_260_ + i_267_; - i_269_ += i_268_; - } - class109.aBoolean1669 = true; - aHa_Sub1_8217.C(bool); - } - - private final void method3994(int i, int i_300_, Class109 class109, int[] is, int[] is_301_, int[] is_302_, int[] is_303_, int i_304_) { - Class102 class102 = aClass102ArrayArray8215[i][i_300_]; - if (class102 == null) { - Class236 class236 = aClass236ArrayArray8222[i][i_300_]; - if (class236 != null) { - if (i_304_ != 0) { - if ((class236.aByte3100 & 0x4) != 0) { - if ((i_304_ & 0x1) != 0) return; - } else if ((i_304_ & 0x2) != 0) return; - } - if (anInt8228 == -1) { - for (int i_360_ = 0; i_360_ < class236.aShort3089; i_360_++) { - int i_361_ = (class236.aShortArray3096[i_360_] + (i << this.anInt4588)); - short i_362_ = class236.aShortArray3097[i_360_]; - int i_363_ = (class236.aShortArray3094[i_360_] + (i_300_ << this.anInt4588)); - float f = aFloat8218 + (aFloat8233 * (float) i_361_ + aFloat8227 * (float) i_362_ + aFloat8231 * (float) i_363_); - if (f <= (float) aHa_Sub1_8217.anInt7482) return; - float f_364_ = aFloat8213 + (aFloat8212 * (float) i_361_ + aFloat8216 * (float) i_362_ + aFloat8224 * (float) i_363_); - float f_365_ = aFloat8226 + (aFloat8214 * (float) i_361_ + aFloat8221 * (float) i_362_ + aFloat8229 * (float) i_363_); - is[i_360_] = (class109.anInt1665 + (int) (f_364_ * (float) (aHa_Sub1_8217.anInt7491) / f)); - is_301_[i_360_] = (class109.anInt1668 + (int) (f_365_ * (float) (aHa_Sub1_8217.anInt7497) / f)); - is_302_[i_360_] = (int) f; - } - } else { - for (int i_366_ = 0; i_366_ < class236.aShort3089; i_366_++) { - int i_367_ = (class236.aShortArray3096[i_366_] + (i << this.anInt4588)); - short i_368_ = class236.aShortArray3097[i_366_]; - int i_369_ = (class236.aShortArray3094[i_366_] + (i_300_ << this.anInt4588)); - float f = aFloat8218 + (aFloat8233 * (float) i_367_ + aFloat8227 * (float) i_368_ + aFloat8231 * (float) i_369_); - float f_370_ = aFloat8213 + (aFloat8212 * (float) i_367_ + aFloat8216 * (float) i_368_ + aFloat8224 * (float) i_369_); - float f_371_ = aFloat8226 + (aFloat8214 * (float) i_367_ + aFloat8221 * (float) i_368_ + aFloat8229 * (float) i_369_); - is[i_366_] = (class109.anInt1665 + (int) (f_370_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); - is_301_[i_366_] = (class109.anInt1668 + (int) (f_371_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); - is_302_[i_366_] = (int) f; - } - } - if (class236.aShortArray3095 == null) { - for (int i_396_ = 0; i_396_ < class236.aShort3099; i_396_++) { - short i_397_ = class236.aShortArray3091[i_396_]; - short i_398_ = class236.aShortArray3090[i_396_]; - short i_399_ = class236.aShortArray3101[i_396_]; - int i_400_ = is[i_397_]; - int i_401_ = is[i_398_]; - int i_402_ = is[i_399_]; - int i_403_ = is_301_[i_397_]; - int i_404_ = is_301_[i_398_]; - int i_405_ = is_301_[i_399_]; - if (((i_400_ - i_401_) * (i_405_ - i_404_) - (i_403_ - i_404_) * (i_402_ - i_401_)) > 0) { - int i_406_ = class236.anIntArray3093[i_396_]; - if (i_406_ != -1) { - class109.aBoolean1671 = (i_400_ < 0 || i_401_ < 0 || i_402_ < 0 || (i_400_ > class109.anInt1679) || (i_401_ > class109.anInt1679) || (i_402_ > class109.anInt1679)); - class109.method1022((float) i_403_, (float) i_404_, (float) i_405_, (float) i_400_, (float) i_401_, (float) i_402_, (float) is_302_[i_397_], (float) is_302_[i_398_], (float) is_302_[i_399_], (float) (Class291.method2198(0, (class236.aShortArray3088[i_397_]), i_406_)), (float) (Class291.method2198(0, (class236.aShortArray3088[i_398_]), i_406_)), (float) (Class291.method2198(0, (class236.aShortArray3088[i_399_]), i_406_))); - } - } - } - } else if (anInt8228 == -1) { - for (int i_372_ = 0; i_372_ < class236.aShort3099; i_372_++) { - short i_373_ = (class236.aShortArray3091[i_372_]); - short i_374_ = (class236.aShortArray3090[i_372_]); - short i_375_ = (class236.aShortArray3101[i_372_]); - int i_376_ = is[i_373_]; - int i_377_ = is[i_374_]; - int i_378_ = is[i_375_]; - int i_379_ = is_301_[i_373_]; - int i_380_ = is_301_[i_374_]; - int i_381_ = is_301_[i_375_]; - if (((i_376_ - i_377_) * (i_381_ - i_380_) - (i_379_ - i_380_) * (i_378_ - i_377_)) > 0) { - class109.aBoolean1671 = (i_376_ < 0 || i_377_ < 0 || i_378_ < 0 || (i_376_ > class109.anInt1679) || (i_377_ > class109.anInt1679) || (i_378_ > class109.anInt1679)); - short i_382_ = (class236.aShortArray3095[i_372_]); - if (i_382_ == -1) { - int i_383_ = (class236.anIntArray3093[i_372_]); - if (i_383_ != -1) - class109.method1022((float) i_379_, (float) i_380_, (float) i_381_, (float) i_376_, (float) i_377_, (float) i_378_, (float) is_302_[i_373_], (float) is_302_[i_374_], (float) is_302_[i_375_], (float) (Class291.method2198(0, (class236.aShortArray3088[i_373_]), i_383_)), (float) (Class291.method2198(0, (class236.aShortArray3088[i_374_]), i_383_)), (float) (Class291.method2198(0, (class236.aShortArray3088[i_375_]), i_383_))); - } else - class109.method1024((float) i_379_, (float) i_380_, (float) i_381_, (float) i_376_, (float) i_377_, (float) i_378_, (float) is_302_[i_373_], (float) is_302_[i_374_], (float) is_302_[i_375_], ((float) (class236.aShortArray3096[i_373_]) / (float) this.anInt4592), ((float) (class236.aShortArray3096[i_374_]) / (float) this.anInt4592), ((float) (class236.aShortArray3096[i_375_]) / (float) this.anInt4592), ((float) (class236.aShortArray3094[i_373_]) / (float) this.anInt4592), ((float) (class236.aShortArray3094[i_374_]) / (float) this.anInt4592), ((float) (class236.aShortArray3094[i_375_]) / (float) this.anInt4592), ~0xffffff | ((Class126.anIntArray4983[(class236.aShortArray3088[i_373_]) & 0xffff]) & 0xffffff), ~0xffffff | ((Class126.anIntArray4983[(class236.aShortArray3088[i_374_]) & 0xffff]) & 0xffffff), ~0xffffff | ((Class126.anIntArray4983[(class236.aShortArray3088[i_375_]) & 0xffff]) & 0xffffff), 0, 0, 0, 0, i_382_); - } - } - } else { - for (int i_384_ = 0; i_384_ < class236.aShort3099; i_384_++) { - short i_385_ = (class236.aShortArray3091[i_384_]); - short i_386_ = (class236.aShortArray3090[i_384_]); - short i_387_ = (class236.aShortArray3101[i_384_]); - int i_388_ = is[i_385_]; - int i_389_ = is[i_386_]; - int i_390_ = is[i_387_]; - int i_391_ = is_301_[i_385_]; - int i_392_ = is_301_[i_386_]; - int i_393_ = is_301_[i_387_]; - if (((i_388_ - i_389_) * (i_393_ - i_392_) - (i_391_ - i_392_) * (i_390_ - i_389_)) > 0) { - class109.aBoolean1671 = (i_388_ < 0 || i_389_ < 0 || i_390_ < 0 || (i_388_ > class109.anInt1679) || (i_389_ > class109.anInt1679) || (i_390_ > class109.anInt1679)); - short i_394_ = (class236.aShortArray3095[i_384_]); - if (i_394_ == -1) { - int i_395_ = (class236.anIntArray3093[i_384_]); - if (i_395_ != -1) - class109.method1022((float) i_391_, (float) i_392_, (float) i_393_, (float) i_388_, (float) i_389_, (float) i_390_, (float) is_302_[i_385_], (float) is_302_[i_386_], (float) is_302_[i_387_], (float) (Class291.method2198(0, (class236.aShortArray3088[i_385_]), i_395_)), (float) (Class291.method2198(0, (class236.aShortArray3088[i_386_]), i_395_)), (float) (Class291.method2198(0, (class236.aShortArray3088[i_387_]), i_395_))); - } else - class109.method1024((float) i_391_, (float) i_392_, (float) i_393_, (float) i_388_, (float) i_389_, (float) i_390_, (float) is_302_[i_385_], (float) is_302_[i_386_], (float) is_302_[i_387_], ((float) (class236.aShortArray3096[i_385_]) / (float) this.anInt4592), ((float) (class236.aShortArray3096[i_386_]) / (float) this.anInt4592), ((float) (class236.aShortArray3096[i_387_]) / (float) this.anInt4592), ((float) (class236.aShortArray3094[i_385_]) / (float) this.anInt4592), ((float) (class236.aShortArray3094[i_386_]) / (float) this.anInt4592), ((float) (class236.aShortArray3094[i_387_]) / (float) this.anInt4592), ~0xffffff | ((Class126.anIntArray4983[(class236.aShortArray3088[i_385_]) & 0xffff]) & 0xffffff), ~0xffffff | ((Class126.anIntArray4983[(class236.aShortArray3088[i_386_]) & 0xffff]) & 0xffffff), ~0xffffff | ((Class126.anIntArray4983[(class236.aShortArray3088[i_387_]) & 0xffff]) & 0xffffff), 0, 0, 0, 0, i_394_); - } - } - } - } - } else if ((class102.aByte1606 & 0x2) == 0) { - if (i_304_ != 0) { - if ((class102.aByte1606 & 0x4) != 0) { - if ((i_304_ & 0x1) != 0) return; - } else if ((i_304_ & 0x2) != 0) return; - } - int i_305_ = i * this.anInt4592; - int i_306_ = i_305_ + this.anInt4592; - int i_307_ = i_300_ * this.anInt4592; - int i_308_ = i_307_ + this.anInt4592; - float f; - float f_309_; - float f_310_; - float f_311_; - int i_312_; - int i_313_; - int i_314_; - int i_315_; - int i_316_; - int i_317_; - int i_318_; - int i_319_; - if ((class102.aByte1606 & 0x1) == 0) { - int i_340_ = this.anIntArrayArray4584[i][i_300_]; - int i_341_ = this.anIntArrayArray4584[i + 1][i_300_]; - int i_342_ = this.anIntArrayArray4584[i + 1][i_300_ + 1]; - int i_343_ = this.anIntArrayArray4584[i][i_300_ + 1]; - if (anInt8228 == -1) { - f = aFloat8218 + (aFloat8233 * (float) i_305_ + aFloat8227 * (float) i_340_ + aFloat8231 * (float) i_307_); - if (f <= (float) aHa_Sub1_8217.anInt7482) return; - f_309_ = aFloat8218 + (aFloat8233 * (float) i_306_ + aFloat8227 * (float) i_341_ + aFloat8231 * (float) i_307_); - if (f_309_ <= (float) aHa_Sub1_8217.anInt7482) return; - f_310_ = aFloat8218 + (aFloat8233 * (float) i_306_ + aFloat8227 * (float) i_342_ + aFloat8231 * (float) i_308_); - if (f_310_ <= (float) aHa_Sub1_8217.anInt7482) return; - f_311_ = aFloat8218 + (aFloat8233 * (float) i_305_ + aFloat8227 * (float) i_343_ + aFloat8231 * (float) i_308_); - if (f_311_ <= (float) aHa_Sub1_8217.anInt7482) return; - float f_344_ = aFloat8213 + (aFloat8212 * (float) i_305_ + aFloat8216 * (float) i_340_ + aFloat8224 * (float) i_307_); - i_312_ = (class109.anInt1665 + (int) (f_344_ * (float) (aHa_Sub1_8217.anInt7491) / f)); - float f_345_ = aFloat8226 + (aFloat8214 * (float) i_305_ + aFloat8221 * (float) i_340_ + aFloat8229 * (float) i_307_); - i_313_ = (class109.anInt1668 + (int) (f_345_ * (float) (aHa_Sub1_8217.anInt7497) / f)); - float f_346_ = aFloat8213 + (aFloat8212 * (float) i_306_ + aFloat8216 * (float) i_341_ + aFloat8224 * (float) i_307_); - i_314_ = (class109.anInt1665 + (int) (f_346_ * (float) (aHa_Sub1_8217.anInt7491) / f_309_)); - float f_347_ = aFloat8226 + (aFloat8214 * (float) i_306_ + aFloat8221 * (float) i_341_ + aFloat8229 * (float) i_307_); - i_315_ = (class109.anInt1668 + (int) (f_347_ * (float) (aHa_Sub1_8217.anInt7497) / f_309_)); - float f_348_ = aFloat8213 + (aFloat8212 * (float) i_306_ + aFloat8216 * (float) i_342_ + aFloat8224 * (float) i_308_); - i_316_ = (class109.anInt1665 + (int) (f_348_ * (float) (aHa_Sub1_8217.anInt7491) / f_310_)); - float f_349_ = aFloat8226 + (aFloat8214 * (float) i_306_ + aFloat8221 * (float) i_342_ + aFloat8229 * (float) i_308_); - i_317_ = (class109.anInt1668 + (int) (f_349_ * (float) (aHa_Sub1_8217.anInt7497) / f_310_)); - float f_350_ = aFloat8213 + (aFloat8212 * (float) i_305_ + aFloat8216 * (float) i_343_ + aFloat8224 * (float) i_308_); - i_318_ = (class109.anInt1665 + (int) (f_350_ * (float) (aHa_Sub1_8217.anInt7491) / f_311_)); - float f_351_ = aFloat8226 + (aFloat8214 * (float) i_305_ + aFloat8221 * (float) i_343_ + aFloat8229 * (float) i_308_); - i_319_ = (class109.anInt1668 + (int) (f_351_ * (float) (aHa_Sub1_8217.anInt7497) / f_311_)); - } else { - f = aFloat8218 + (aFloat8233 * (float) i_305_ + aFloat8227 * (float) i_340_ + aFloat8231 * (float) i_307_); - f_309_ = aFloat8218 + (aFloat8233 * (float) i_306_ + aFloat8227 * (float) i_341_ + aFloat8231 * (float) i_307_); - f_310_ = aFloat8218 + (aFloat8233 * (float) i_306_ + aFloat8227 * (float) i_342_ + aFloat8231 * (float) i_308_); - f_311_ = aFloat8218 + (aFloat8233 * (float) i_305_ + aFloat8227 * (float) i_343_ + aFloat8231 * (float) i_308_); - float f_352_ = aFloat8213 + (aFloat8212 * (float) i_305_ + aFloat8216 * (float) i_340_ + aFloat8224 * (float) i_307_); - i_312_ = (class109.anInt1665 + (int) (f_352_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); - float f_353_ = aFloat8226 + (aFloat8214 * (float) i_305_ + aFloat8221 * (float) i_340_ + aFloat8229 * (float) i_307_); - i_313_ = (class109.anInt1668 + (int) (f_353_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); - float f_354_ = aFloat8213 + (aFloat8212 * (float) i_306_ + aFloat8216 * (float) i_341_ + aFloat8224 * (float) i_307_); - i_314_ = (class109.anInt1665 + (int) (f_354_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); - float f_355_ = aFloat8226 + (aFloat8214 * (float) i_306_ + aFloat8221 * (float) i_341_ + aFloat8229 * (float) i_307_); - i_315_ = (class109.anInt1668 + (int) (f_355_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); - float f_356_ = aFloat8213 + (aFloat8212 * (float) i_306_ + aFloat8216 * (float) i_342_ + aFloat8224 * (float) i_308_); - i_316_ = (class109.anInt1665 + (int) (f_356_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); - float f_357_ = aFloat8226 + (aFloat8214 * (float) i_306_ + aFloat8221 * (float) i_342_ + aFloat8229 * (float) i_308_); - i_317_ = (class109.anInt1668 + (int) (f_357_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); - float f_358_ = aFloat8213 + (aFloat8212 * (float) i_305_ + aFloat8216 * (float) i_343_ + aFloat8224 * (float) i_308_); - i_318_ = (class109.anInt1665 + (int) (f_358_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); - float f_359_ = aFloat8226 + (aFloat8214 * (float) i_305_ + aFloat8221 * (float) i_343_ + aFloat8229 * (float) i_308_); - i_319_ = (class109.anInt1668 + (int) (f_359_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); - } - } else { - int i_320_ = this.anIntArrayArray4584[i][i_300_]; - float f_321_ = aFloat8227 * (float) i_320_; - if (anInt8228 == -1) { - f = aFloat8218 + (aFloat8233 * (float) i_305_ + f_321_ + aFloat8231 * (float) i_307_); - if (f <= (float) aHa_Sub1_8217.anInt7482) return; - f_309_ = aFloat8218 + (aFloat8233 * (float) i_306_ + f_321_ + aFloat8231 * (float) i_307_); - if (f_309_ <= (float) aHa_Sub1_8217.anInt7482) return; - f_310_ = aFloat8218 + (aFloat8233 * (float) i_306_ + f_321_ + aFloat8231 * (float) i_308_); - if (f_310_ <= (float) aHa_Sub1_8217.anInt7482) return; - f_311_ = aFloat8218 + (aFloat8233 * (float) i_305_ + f_321_ + aFloat8231 * (float) i_308_); - if (f_311_ <= (float) aHa_Sub1_8217.anInt7482) return; - } else { - f = aFloat8218 + (aFloat8233 * (float) i_305_ + f_321_ + aFloat8231 * (float) i_307_); - f_309_ = aFloat8218 + (aFloat8233 * (float) i_306_ + f_321_ + aFloat8231 * (float) i_307_); - f_310_ = aFloat8218 + (aFloat8233 * (float) i_306_ + f_321_ + aFloat8231 * (float) i_308_); - f_311_ = aFloat8218 + (aFloat8233 * (float) i_305_ + f_321_ + aFloat8231 * (float) i_308_); - } - float f_322_ = aFloat8216 * (float) i_320_; - float f_323_ = aFloat8221 * (float) i_320_; - if (anInt8228 == -1) { - float f_324_ = (aFloat8213 + (aFloat8212 * (float) i_305_ + f_322_ + aFloat8224 * (float) i_307_)); - i_312_ = (class109.anInt1665 + (int) (f_324_ * (float) (aHa_Sub1_8217.anInt7491) / f)); - float f_325_ = (aFloat8226 + (aFloat8214 * (float) i_305_ + f_323_ + aFloat8229 * (float) i_307_)); - i_313_ = (class109.anInt1668 + (int) (f_325_ * (float) (aHa_Sub1_8217.anInt7497) / f)); - float f_326_ = (aFloat8213 + (aFloat8212 * (float) i_306_ + f_322_ + aFloat8224 * (float) i_307_)); - i_314_ = (class109.anInt1665 + (int) (f_326_ * (float) (aHa_Sub1_8217.anInt7491) / f_309_)); - float f_327_ = (aFloat8226 + (aFloat8214 * (float) i_306_ + f_323_ + aFloat8229 * (float) i_307_)); - i_315_ = (class109.anInt1668 + (int) (f_327_ * (float) (aHa_Sub1_8217.anInt7497) / f_309_)); - float f_328_ = (aFloat8213 + (aFloat8212 * (float) i_306_ + f_322_ + aFloat8224 * (float) i_308_)); - i_316_ = (class109.anInt1665 + (int) (f_328_ * (float) (aHa_Sub1_8217.anInt7491) / f_310_)); - float f_329_ = (aFloat8226 + (aFloat8214 * (float) i_306_ + f_323_ + aFloat8229 * (float) i_308_)); - i_317_ = (class109.anInt1668 + (int) (f_329_ * (float) (aHa_Sub1_8217.anInt7497) / f_310_)); - float f_330_ = (aFloat8213 + (aFloat8212 * (float) i_305_ + f_322_ + aFloat8224 * (float) i_308_)); - i_318_ = (class109.anInt1665 + (int) (f_330_ * (float) (aHa_Sub1_8217.anInt7491) / f_311_)); - float f_331_ = (aFloat8226 + (aFloat8214 * (float) i_305_ + f_323_ + aFloat8229 * (float) i_308_)); - i_319_ = (class109.anInt1668 + (int) (f_331_ * (float) (aHa_Sub1_8217.anInt7497) / f_311_)); - } else { - float f_332_ = (aFloat8213 + (aFloat8212 * (float) i_305_ + f_322_ + aFloat8224 * (float) i_307_)); - i_312_ = (class109.anInt1665 + (int) (f_332_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); - float f_333_ = (aFloat8226 + (aFloat8214 * (float) i_305_ + f_323_ + aFloat8229 * (float) i_307_)); - i_313_ = (class109.anInt1668 + (int) (f_333_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); - float f_334_ = (aFloat8213 + (aFloat8212 * (float) i_306_ + f_322_ + aFloat8224 * (float) i_307_)); - i_314_ = (class109.anInt1665 + (int) (f_334_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); - float f_335_ = (aFloat8226 + (aFloat8214 * (float) i_306_ + f_323_ + aFloat8229 * (float) i_307_)); - i_315_ = (class109.anInt1668 + (int) (f_335_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); - float f_336_ = (aFloat8213 + (aFloat8212 * (float) i_306_ + f_322_ + aFloat8224 * (float) i_308_)); - i_316_ = (class109.anInt1665 + (int) (f_336_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); - float f_337_ = (aFloat8226 + (aFloat8214 * (float) i_306_ + f_323_ + aFloat8229 * (float) i_308_)); - i_317_ = (class109.anInt1668 + (int) (f_337_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); - float f_338_ = (aFloat8213 + (aFloat8212 * (float) i_305_ + f_322_ + aFloat8224 * (float) i_308_)); - i_318_ = (class109.anInt1665 + (int) (f_338_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); - float f_339_ = (aFloat8226 + (aFloat8214 * (float) i_305_ + f_323_ + aFloat8229 * (float) i_308_)); - i_319_ = (class109.anInt1668 + (int) (f_339_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); - } - } - if (anInt8228 == -1) { - if (((i_316_ - i_318_) * (i_315_ - i_319_) - (i_317_ - i_319_) * (i_314_ - i_318_)) > 0) { - class109.aBoolean1671 = (i_316_ < 0 || i_318_ < 0 || i_314_ < 0 || i_316_ > class109.anInt1679 || i_318_ > class109.anInt1679 || i_314_ > class109.anInt1679); - if (class102.aShort1605 >= 0) - class109.method1024((float) i_317_, (float) i_319_, (float) i_315_, (float) i_316_, (float) i_318_, (float) i_314_, f_310_, f_311_, f_309_, 1.0F, 0.0F, 1.0F, 1.0F, 1.0F, 0.0F, (~0xffffff | (Class126.anIntArray4983[(class102.aShort1602 & 0xffff)]) & 0xffffff), (~0xffffff | (Class126.anIntArray4983[(class102.aShort1604 & 0xffff)]) & 0xffffff), (~0xffffff | (Class126.anIntArray4983[(class102.aShort1603 & 0xffff)]) & 0xffffff), 0, 0, 0, 0, class102.aShort1605); - else - class109.method1022((float) i_317_, (float) i_319_, (float) i_315_, (float) i_316_, (float) i_318_, (float) i_314_, (float) (int) f_310_, (float) (int) f_311_, (float) (int) f_309_, (float) (class102.aShort1602 & 0xffff), (float) (class102.aShort1604 & 0xffff), (float) (class102.aShort1603 & 0xffff)); - } - if (((i_312_ - i_314_) * (i_319_ - i_315_) - (i_313_ - i_315_) * (i_318_ - i_314_)) > 0) { - class109.aBoolean1671 = (i_312_ < 0 || i_314_ < 0 || i_318_ < 0 || i_312_ > class109.anInt1679 || i_314_ > class109.anInt1679 || i_318_ > class109.anInt1679); - if (class102.aShort1605 >= 0) - class109.method1024((float) i_313_, (float) i_315_, (float) i_319_, (float) i_312_, (float) i_314_, (float) i_318_, f, f_309_, f_311_, 0.0F, 1.0F, 1.0F, 0.0F, 0.0F, 1.0F, (~0xffffff | (Class126.anIntArray4983[(class102.aShort1601 & 0xffff)]) & 0xffffff), (~0xffffff | (Class126.anIntArray4983[(class102.aShort1603 & 0xffff)]) & 0xffffff), (~0xffffff | (Class126.anIntArray4983[(class102.aShort1604 & 0xffff)]) & 0xffffff), 0, 0, 0, 0, class102.aShort1605); - else - class109.method1022((float) i_313_, (float) i_315_, (float) i_319_, (float) i_312_, (float) i_314_, (float) i_318_, (float) (int) f, (float) (int) f_309_, (float) (int) f_311_, (float) (class102.aShort1601 & 0xffff), (float) (class102.aShort1603 & 0xffff), (float) (class102.aShort1604 & 0xffff)); - } - } else { - if (((i_316_ - i_318_) * (i_315_ - i_319_) - (i_317_ - i_319_) * (i_314_ - i_318_)) > 0) { - class109.aBoolean1671 = (i_316_ < 0 || i_318_ < 0 || i_314_ < 0 || i_316_ > class109.anInt1679 || i_318_ > class109.anInt1679 || i_314_ > class109.anInt1679); - if (class102.aShort1605 >= 0) - class109.method1024((float) i_317_, (float) i_319_, (float) i_315_, (float) i_316_, (float) i_318_, (float) i_314_, f_310_, f_311_, f_309_, 1.0F, 0.0F, 1.0F, 1.0F, 1.0F, 0.0F, (~0xffffff | (Class126.anIntArray4983[(class102.aShort1602 & 0xffff)]) & 0xffffff), (~0xffffff | (Class126.anIntArray4983[(class102.aShort1604 & 0xffff)]) & 0xffffff), (~0xffffff | (Class126.anIntArray4983[(class102.aShort1603 & 0xffff)]) & 0xffffff), 0, 0, 0, 0, class102.aShort1605); - else - class109.method1022((float) i_317_, (float) i_319_, (float) i_315_, (float) i_316_, (float) i_318_, (float) i_314_, (float) (int) f_310_, (float) (int) f_311_, (float) (int) f_309_, (float) (class102.aShort1602 & 0xffff), (float) (class102.aShort1604 & 0xffff), (float) (class102.aShort1603 & 0xffff)); - } - if (((i_312_ - i_314_) * (i_319_ - i_315_) - (i_313_ - i_315_) * (i_318_ - i_314_)) > 0) { - class109.aBoolean1671 = (i_312_ < 0 || i_314_ < 0 || i_318_ < 0 || i_312_ > class109.anInt1679 || i_314_ > class109.anInt1679 || i_318_ > class109.anInt1679); - if (class102.aShort1605 >= 0) - class109.method1024((float) i_313_, (float) i_315_, (float) i_319_, (float) i_312_, (float) i_314_, (float) i_318_, f, f_309_, f_311_, 0.0F, 1.0F, 1.0F, 0.0F, 0.0F, 1.0F, (~0xffffff | (Class126.anIntArray4983[(class102.aShort1601 & 0xffff)]) & 0xffffff), (~0xffffff | (Class126.anIntArray4983[(class102.aShort1603 & 0xffff)]) & 0xffffff), (~0xffffff | (Class126.anIntArray4983[(class102.aShort1604 & 0xffff)]) & 0xffffff), 0, 0, 0, 0, class102.aShort1605); - else - class109.method1022((float) i_313_, (float) i_315_, (float) i_319_, (float) i_312_, (float) i_314_, (float) i_318_, (float) (int) f, (float) (int) f_309_, (float) (int) f_311_, (float) (class102.aShort1601 & 0xffff), (float) (class102.aShort1603 & 0xffff), (float) (class102.aShort1604 & 0xffff)); - } - } - } - } - - final boolean method3989(r var_r, int i, int i_407_, int i_408_, int i_409_, boolean bool) { - return false; - } - - final r fa(int i, int i_410_, r var_r) { - return null; - } - - final void method3987(int i, int i_411_, int i_412_, int i_413_, int i_414_, int i_415_, int i_416_, boolean[][] bools) { - Class167 class167 = aHa_Sub1_8217.method3724(Thread.currentThread()); - Class109 class109 = class167.aClass109_2220; - class109.anInt1674 = 0; - class109.aBoolean1671 = true; - aHa_Sub1_8217.ya(); - if (aClass266ArrayArray8230 != null || aClass198ArrayArray8219 != null) method3993(i, i_411_, i_412_, i_413_, i_414_, i_415_, i_416_, bools, class167, class109, class167.anIntArray2212, class167.anIntArray2228); - else if (aClass102ArrayArray8215 != null) method3996(i, i_411_, i_412_, i_413_, i_414_, i_415_, i_416_, bools, class167, class109, class167.anIntArray2212, class167.anIntArray2228); - } - - private final void method3995(int i, int i_417_, boolean bool, Class167 class167, Class109 class109, int[] is, int[] is_418_, int[] is_419_, int[] is_420_, int i_421_) { - Class198 class198 = aClass198ArrayArray8219[i][i_417_]; - if (i_421_ == 0 || (i_421_ & 0x2) == 0) { - if (class198 != null) { - if (anInt8228 == -1) { - for (int i_422_ = 0; i_422_ < class198.aShort2620; i_422_++) { - int i_423_ = (class198.aShortArray2622[i_422_] + (i << this.anInt4588)); - int i_424_ = class198.aShortArray2618[i_422_]; - int i_425_ = (class198.aShortArray2613[i_422_] + (i_417_ << this.anInt4588)); - float f = aFloat8218 + (aFloat8233 * (float) i_423_ + aFloat8227 * (float) i_424_ + aFloat8231 * (float) i_425_); - if (f <= (float) aHa_Sub1_8217.anInt7482) return; - is_420_[i_422_] = 0; - if (bool) { - int i_426_ = (int) (f - (float) (class167.anInt2210)); - if (i_426_ > 255) i_426_ = 255; - if (i_426_ > 0) { - is_420_[i_422_] = i_426_; - int i_427_ = ((class198.aShortArray2621[i_422_]) * i_426_ / 255); - if (i_427_ > 0) i_424_ -= i_427_; - } - } else if (class167.aBoolean2201) { - int i_428_ = (int) (f - (float) (class167.anInt2210)); - if (i_428_ > 0) { - is_420_[i_422_] = i_428_; - if (is_420_[i_422_] > 255) is_420_[i_422_] = 255; - } - } - float f_429_ = aFloat8213 + (aFloat8212 * (float) i_423_ + aFloat8216 * (float) i_424_ + aFloat8224 * (float) i_425_); - float f_430_ = aFloat8226 + (aFloat8214 * (float) i_423_ + aFloat8221 * (float) i_424_ + aFloat8229 * (float) i_425_); - is[i_422_] = (class109.anInt1665 + (int) (f_429_ * (float) (aHa_Sub1_8217.anInt7491) / f)); - is_418_[i_422_] = (class109.anInt1668 + (int) (f_430_ * (float) (aHa_Sub1_8217.anInt7497) / f)); - is_419_[i_422_] = (int) f; - } - } else { - for (int i_431_ = 0; i_431_ < class198.aShort2620; i_431_++) { - int i_432_ = (class198.aShortArray2622[i_431_] + (i << this.anInt4588)); - int i_433_ = class198.aShortArray2618[i_431_]; - int i_434_ = (class198.aShortArray2613[i_431_] + (i_417_ << this.anInt4588)); - float f = aFloat8218 + (aFloat8233 * (float) i_432_ + aFloat8227 * (float) i_433_ + aFloat8231 * (float) i_434_); - is_420_[i_431_] = 0; - if (bool) { - int i_435_ = anInt8228 - class167.anInt2210; - if (i_435_ > 255) i_435_ = 255; - if (i_435_ > 0) { - is_420_[i_431_] = i_435_; - int i_436_ = ((class198.aShortArray2621[i_431_]) * i_435_ / 255); - if (i_436_ > 0) i_433_ -= i_436_; - } - } else if (class167.aBoolean2201) { - int i_437_ = anInt8228 - class167.anInt2210; - if (i_437_ > 0) { - is_420_[i_431_] = i_437_; - if (is_420_[i_431_] > 255) is_420_[i_431_] = 255; - } - } - float f_438_ = aFloat8213 + (aFloat8212 * (float) i_432_ + aFloat8216 * (float) i_433_ + aFloat8224 * (float) i_434_); - float f_439_ = aFloat8226 + (aFloat8214 * (float) i_432_ + aFloat8221 * (float) i_433_ + aFloat8229 * (float) i_434_); - is[i_431_] = (class109.anInt1665 + (int) (f_438_ * (float) (aHa_Sub1_8217.anInt7491) / (float) anInt8228)); - is_418_[i_431_] = (class109.anInt1668 + (int) (f_439_ * (float) (aHa_Sub1_8217.anInt7497) / (float) anInt8228)); - is_419_[i_431_] = (int) f; - } - } - float f = (float) this.anInt4592; - for (int i_440_ = 0; i_440_ < class198.aShort2619; i_440_++) { - int i_441_ = i_440_ * 3; - int i_442_ = i_441_ + 1; - int i_443_ = i_442_ + 1; - int i_444_ = is[i_441_]; - int i_445_ = is[i_442_]; - int i_446_ = is[i_443_]; - int i_447_ = is_418_[i_441_]; - int i_448_ = is_418_[i_442_]; - int i_449_ = is_418_[i_443_]; - if (((i_444_ - i_445_) * (i_449_ - i_448_) - (i_447_ - i_448_) * (i_446_ - i_445_)) > 0) { - class109.aBoolean1671 = (i_444_ < 0 || i_445_ < 0 || i_446_ < 0 || i_444_ > class109.anInt1679 || i_445_ > class109.anInt1679 || i_446_ > class109.anInt1679); - if (is_420_[i_441_] + is_420_[i_442_] + is_420_[i_443_] < 765) { - int i_450_ = i << this.anInt4588; - int i_451_ = i_417_ << this.anInt4588; - if ((class198.anIntArray2623[i_441_] & 0xffffff) != 0) { - if (((class198.aShortArray2616[i_441_]) == (class198.aShortArray2616[i_442_])) && ((class198.aShortArray2616[i_441_]) == (class198.aShortArray2616[i_443_])) && ((class198.aShortArray2614[i_441_]) == (class198.aShortArray2614[i_442_])) && ((class198.aShortArray2614[i_441_]) == (class198.aShortArray2614[i_443_]))) - class109.method1024((float) i_447_, (float) i_448_, (float) i_449_, (float) i_444_, (float) i_445_, (float) i_446_, (float) is_419_[i_441_], (float) is_419_[i_442_], (float) is_419_[i_443_], ((float) (i_450_ + (class198.aShortArray2622[i_441_])) / (float) (class198.aShortArray2614[i_441_])), ((float) (i_450_ + (class198.aShortArray2622[i_442_])) / (float) (class198.aShortArray2614[i_442_])), ((float) (i_450_ + (class198.aShortArray2622[i_443_])) / (float) (class198.aShortArray2614[i_443_])), ((float) (i_451_ + (class198.aShortArray2613[i_441_])) / (float) (class198.aShortArray2614[i_441_])), ((float) (i_451_ + (class198.aShortArray2613[i_442_])) / (float) (class198.aShortArray2614[i_442_])), ((float) (i_451_ + (class198.aShortArray2613[i_443_])) / (float) (class198.aShortArray2614[i_443_])), (class198.anIntArray2623[i_441_]), (class198.anIntArray2623[i_442_]), (class198.anIntArray2623[i_443_]), class167.anInt2192, is_420_[i_441_], is_420_[i_442_], is_420_[i_443_], (class198.aShortArray2616[i_441_])); - else - class109.method1020((float) i_447_, (float) i_448_, (float) i_449_, (float) i_444_, (float) i_445_, (float) i_446_, (float) is_419_[i_441_], (float) is_419_[i_442_], (float) is_419_[i_443_], (float) (i_450_ + (class198.aShortArray2622[i_441_])) / f, (float) (i_450_ + (class198.aShortArray2622[i_442_])) / f, (float) (i_450_ + (class198.aShortArray2622[i_443_])) / f, (float) (i_451_ + (class198.aShortArray2613[i_441_])) / f, (float) (i_451_ + (class198.aShortArray2613[i_442_])) / f, (float) (i_451_ + (class198.aShortArray2613[i_443_])) / f, (class198.anIntArray2623[i_441_]), (class198.anIntArray2623[i_442_]), (class198.anIntArray2623[i_443_]), class167.anInt2192, is_420_[i_441_], is_420_[i_442_], is_420_[i_443_], (class198.aShortArray2616[i_441_]), f / (float) (class198.aShortArray2614[i_441_]), (class198.aShortArray2616[i_442_]), f / (float) (class198.aShortArray2614[i_442_]), (class198.aShortArray2616[i_443_]), f / (float) (class198.aShortArray2614[i_443_])); - } - } else class109.method1018((float) i_447_, (float) i_448_, (float) i_449_, (float) i_444_, (float) i_445_, (float) i_446_, (float) is_419_[i_441_], (float) is_419_[i_442_], (float) is_419_[i_443_], (class167.anInt2192)); - } - } - } - } - } - - final void method3979(int i, int i_452_) { - method3992(i, i_452_, 0); - } - - private final void method3996(int i, int i_453_, int i_454_, int i_455_, int i_456_, int i_457_, int i_458_, boolean[][] bools, Class167 class167, Class109 class109, int[] is, int[] is_459_) { - int i_460_ = (i_458_ - i_456_) * i_454_ / 256; - int i_461_ = i_454_ >> 8; - boolean bool = class167.aBoolean2202; - aHa_Sub1_8217.C(false); - class109.aBoolean1669 = false; - class109.aBoolean1667 = false; - int i_462_ = i; - int i_463_ = i_453_ + i_460_; - for (int i_464_ = i_455_; i_464_ < i_457_; i_464_++) { - for (int i_465_ = i_456_; i_465_ < i_458_; i_465_++) { - if (bools[i_464_ - i_455_][i_465_ - i_456_]) { - if (aClass102ArrayArray8215[i_464_][i_465_] != null) { - Class102 class102 = aClass102ArrayArray8215[i_464_][i_465_]; - if (class102.aShort1605 != -1 && (class102.aByte1606 & 0x2) == 0 && class102.anInt1600 == -1) { - int i_466_ = aHa_Sub1_8217.method3722(class102.aShort1605); - class109.method1022((float) (i_463_ - i_461_), (float) (i_463_ - i_461_), (float) i_463_, (float) (i_462_ + i_461_), (float) i_462_, (float) (i_462_ + i_461_), 100.0F, 100.0F, 100.0F, (float) Class291.method2198(0, ((class102.aShort1602) & 0xffff), i_466_), (float) Class291.method2198(0, ((class102.aShort1604) & 0xffff), i_466_), (float) Class291.method2198(0, ((class102.aShort1603) & 0xffff), i_466_)); - class109.method1022((float) i_463_, (float) i_463_, (float) (i_463_ - i_461_), (float) i_462_, (float) (i_462_ + i_461_), (float) i_462_, 100.0F, 100.0F, 100.0F, (float) Class291.method2198(0, ((class102.aShort1601) & 0xffff), i_466_), (float) Class291.method2198(0, ((class102.aShort1603) & 0xffff), i_466_), (float) Class291.method2198(0, ((class102.aShort1604) & 0xffff), i_466_)); - } else if (class102.anInt1600 == -1) { - class109.method1022((float) (i_463_ - i_461_), (float) (i_463_ - i_461_), (float) i_463_, (float) (i_462_ + i_461_), (float) i_462_, (float) (i_462_ + i_461_), 100.0F, 100.0F, 100.0F, (float) (class102.aShort1602 & 0xffff), (float) (class102.aShort1604 & 0xffff), (float) (class102.aShort1603 & 0xffff)); - class109.method1022((float) i_463_, (float) i_463_, (float) (i_463_ - i_461_), (float) i_462_, (float) (i_462_ + i_461_), (float) i_462_, 100.0F, 100.0F, 100.0F, (float) (class102.aShort1601 & 0xffff), (float) (class102.aShort1603 & 0xffff), (float) (class102.aShort1604 & 0xffff)); - } else { - int i_467_ = class102.anInt1600; - class109.method1022((float) (i_463_ - i_461_), (float) (i_463_ - i_461_), (float) i_463_, (float) (i_462_ + i_461_), (float) i_462_, (float) (i_462_ + i_461_), 100.0F, 100.0F, 100.0F, (float) i_467_, (float) i_467_, (float) i_467_); - class109.method1022((float) i_463_, (float) i_463_, (float) (i_463_ - i_461_), (float) i_462_, (float) (i_462_ + i_461_), (float) i_462_, 100.0F, 100.0F, 100.0F, (float) i_467_, (float) i_467_, (float) i_467_); - } - } else if (aClass236ArrayArray8222[i_464_][i_465_] != null) { - Class236 class236 = aClass236ArrayArray8222[i_464_][i_465_]; - for (int i_468_ = 0; i_468_ < class236.aShort3089; i_468_++) { - is[i_468_] = i_462_ + ((class236.aShortArray3096[i_468_]) * i_461_ / this.anInt4592); - is_459_[i_468_] = i_463_ - ((class236.aShortArray3094[i_468_]) * i_461_ / this.anInt4592); - } - for (int i_469_ = 0; i_469_ < class236.aShort3099; i_469_++) { - short i_470_ = (class236.aShortArray3091[i_469_]); - short i_471_ = (class236.aShortArray3090[i_469_]); - short i_472_ = (class236.aShortArray3101[i_469_]); - int i_473_ = is[i_470_]; - int i_474_ = is[i_471_]; - int i_475_ = is[i_472_]; - int i_476_ = is_459_[i_470_]; - int i_477_ = is_459_[i_471_]; - int i_478_ = is_459_[i_472_]; - if (class236.anIntArray3092 != null && (class236.anIntArray3092[i_469_]) != -1) { - int i_479_ = (class236.anIntArray3092[i_469_]); - class109.method1022((float) i_476_, (float) i_477_, (float) i_478_, (float) i_473_, (float) i_474_, (float) i_475_, 100.0F, 100.0F, 100.0F, (float) (Class291.method2198(0, (class236.aShortArray3088[i_470_]), i_479_)), (float) (Class291.method2198(0, (class236.aShortArray3088[i_471_]), i_479_)), (float) (Class291.method2198(0, (class236.aShortArray3088[i_472_]), i_479_))); - } else if ((class236.aShortArray3095 != null) && (class236.aShortArray3095[i_469_]) != -1) { - int i_480_ = aHa_Sub1_8217.method3722(class236.aShortArray3095[i_469_]); - class109.method1022((float) i_476_, (float) i_477_, (float) i_478_, (float) i_473_, (float) i_474_, (float) i_475_, 100.0F, 100.0F, 100.0F, (float) (Class291.method2198(0, (class236.aShortArray3088[i_470_]), i_480_)), (float) (Class291.method2198(0, (class236.aShortArray3088[i_471_]), i_480_)), (float) (Class291.method2198(0, (class236.aShortArray3088[i_472_]), i_480_))); - } else { - int i_481_ = (class236.anIntArray3093[i_469_]); - class109.method1022((float) i_476_, (float) i_477_, (float) i_478_, (float) i_473_, (float) i_474_, (float) i_475_, 100.0F, 100.0F, 100.0F, (float) (Class291.method2198(0, (class236.aShortArray3088[i_470_]), i_481_)), (float) (Class291.method2198(0, (class236.aShortArray3088[i_471_]), i_481_)), (float) (Class291.method2198(0, (class236.aShortArray3088[i_472_]), i_481_))); - } - } - } - } - i_463_ -= i_461_; - } - i_463_ = i_453_ + i_460_; - i_462_ += i_461_; - } - class109.aBoolean1669 = true; - aHa_Sub1_8217.C(bool); - } - - final void YA() { - aByteArrayArray8220 = null; - aByteArrayArray8232 = null; - } - - final void CA(r var_r, int i, int i_482_, int i_483_, int i_484_, boolean bool) { - /* empty */ - } - - private final boolean method3997(int i) { - if ((anInt8223 & 0x8) == 0) return false; - if (i == 4) return true; - if (i == 8) return true; - return i == 9; - } - - s_Sub1(ha_Sub1 var_ha_Sub1, int i, int i_485_, int i_486_, int i_487_, int[][] is, int[][] is_488_, int i_489_) { - super(i_486_, i_487_, i_489_, is); - aHa_Sub1_8217 = var_ha_Sub1; - anInt8223 = i_485_; - aByteArrayArray8220 = new byte[i_486_ + 1][i_487_ + 1]; - int i_490_ = aHa_Sub1_8217.anInt7500 >> 9; - for (int i_491_ = 1; i_491_ < i_487_; i_491_++) { - for (int i_492_ = 1; i_492_ < i_486_; i_492_++) { - int i_493_ = i_490_; - int i_494_ = (is_488_[i_492_ + 1][i_491_] - is_488_[i_492_ - 1][i_491_]); - int i_495_ = (is_488_[i_492_][i_491_ + 1] - is_488_[i_492_][i_491_ - 1]); - int i_496_ = (int) Math.sqrt(i_494_ * i_494_ + 512 * i_489_ + i_495_ * i_495_); - int i_497_ = (i_494_ << 8) / i_496_; - int i_498_ = -512 * i_489_ / i_496_; - int i_499_ = (i_495_ << 8) / i_496_; - i_493_ += (aHa_Sub1_8217.anInt7484 * i_497_ + aHa_Sub1_8217.anInt7473 * i_498_ + aHa_Sub1_8217.anInt7479 * i_499_) >> 17; - i_493_ >>= 1; - if (i_493_ < 2) i_493_ = 2; - else if (i_493_ > 126) i_493_ = 126; - aByteArrayArray8220[i_492_][i_491_] = (byte) i_493_; - } - } - aByteArrayArray8232 = new byte[i_486_ + 1][i_487_ + 1]; - } -} diff --git a/client/src/s_Sub2.java b/client/src/s_Sub2.java deleted file mode 100644 index 86afebea6..000000000 --- a/client/src/s_Sub2.java +++ /dev/null @@ -1,783 +0,0 @@ -/* s_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaclib.memory.Stream; -import jaggl.OpenGL; - -import java.io.IOException; - -final class s_Sub2 extends s { - int[][][] anIntArrayArrayArray8234; - int anInt8235; - static int anInt8236; - static int anInt8237; - static int anInt8238; - static int anInt8239; - private final byte[][] aByteArrayArray8240; - static Class107 aClass107_8241 = new Class107(); - static int anInt8242; - private Class348_Sub20[][][] aClass348_Sub20ArrayArrayArray8243; - static int anInt8244; - private int[][][] anIntArrayArrayArray8245; - private int anInt8246; - static int anInt8247; - static int anInt8248; - static int anInt8249; - static int anInt8250; - static int anInt8251; - private int[][][] anIntArrayArrayArray8252; - int[][][] anIntArrayArrayArray8253; - static int anInt8254; - static int anInt8255; - private final Class262 aClass262_8256 = new Class262(); - private int anInt8257; - private int[][][] anIntArrayArrayArray8258; - static int anInt8259; - private final int anInt8260; - static int anInt8261; - static int anInt8262; - static int anInt8263; - private final int anInt8264; - static String aString8265; - private Class104 aClass104_8266; - short[][] aShortArrayArray8267; - int[][][] anIntArrayArrayArray8268; - static int[] anIntArray8269; - static int anInt8270 = -1; - static int anInt8271; - ha_Sub2 aHa_Sub2_8272; - private byte[][] aByteArrayArray8273; - private Class123 aClass123_8274; - Class123 aClass123_8275; - Class123 aClass123_8276; - Class123 aClass123_8277; - private Class356 aClass356_8278; - private Interface2 anInterface2_8279; - private int anInt8280; - private float[][] aFloatArrayArray8281; - private Class348_Sub20[] aClass348_Sub20Array8282; - private float[][] aFloatArrayArray8283; - private int anInt8284; - private float[][] aFloatArrayArray8285; - - final void wa(r var_r, int i, int i_0_, int i_1_, int i_2_, boolean bool) { - anInt8251++; - if (aClass104_8266 != null && var_r != null) { - int i_3_ = (i - ((this.aHa_Sub2_8272.anInt7772 * i_0_) >> 8) >> this.aHa_Sub2_8272.anInt7731); - int i_4_ = (-(i_0_ * this.aHa_Sub2_8272.anInt7777 >> 8) + i_1_ >> this.aHa_Sub2_8272.anInt7731); - aClass104_8266.method951(var_r, i_3_, i_4_, 70); - } - } - - final void method3978(int i, int i_5_, int[] is, int[] is_6_, int[] is_7_, int[] is_8_, int[] is_9_, int[] is_10_, int[] is_11_, int[] is_12_, int[] is_13_, int[] is_14_, int[] is_15_, int i_16_, int i_17_, int i_18_, boolean bool) { - try { - anInt8249++; - int i_19_ = is_12_.length; - int[] is_20_ = new int[3 * i_19_]; - int[] is_21_ = new int[3 * i_19_]; - int[] is_22_ = new int[i_19_ * 3]; - int[] is_23_ = new int[3 * i_19_]; - int[] is_24_ = new int[i_19_ * 3]; - int[] is_25_ = new int[3 * i_19_]; - int[] is_26_ = is_6_ != null ? new int[i_19_ * 3] : null; - int[] is_27_ = is_8_ != null ? new int[3 * i_19_] : null; - int i_28_ = 0; - for (int i_29_ = 0; i_29_ < i_19_; i_29_++) { - int i_30_ = is_9_[i_29_]; - int i_31_ = is_10_[i_29_]; - int i_32_ = is_11_[i_29_]; - is_20_[i_28_] = is[i_30_]; - is_21_[i_28_] = is_7_[i_30_]; - is_22_[i_28_] = is_12_[i_29_]; - is_24_[i_28_] = is_14_[i_29_]; - is_25_[i_28_] = is_15_[i_29_]; - is_23_[i_28_] = is_13_ != null ? is_13_[i_29_] : is_12_[i_29_]; - if (is_6_ != null) is_26_[i_28_] = is_6_[i_30_]; - if (is_8_ != null) is_27_[i_28_] = is_8_[i_30_]; - i_28_++; - is_20_[i_28_] = is[i_31_]; - is_21_[i_28_] = is_7_[i_31_]; - is_22_[i_28_] = is_12_[i_29_]; - is_24_[i_28_] = is_14_[i_29_]; - is_25_[i_28_] = is_15_[i_29_]; - is_23_[i_28_] = is_13_ == null ? is_12_[i_29_] : is_13_[i_29_]; - if (is_6_ != null) is_26_[i_28_] = is_6_[i_31_]; - if (is_8_ != null) is_27_[i_28_] = is_8_[i_31_]; - i_28_++; - is_20_[i_28_] = is[i_32_]; - is_21_[i_28_] = is_7_[i_32_]; - is_22_[i_28_] = is_12_[i_29_]; - is_24_[i_28_] = is_14_[i_29_]; - is_25_[i_28_] = is_15_[i_29_]; - is_23_[i_28_] = is_13_ != null ? is_13_[i_29_] : is_12_[i_29_]; - if (is_6_ != null) is_26_[i_28_] = is_6_[i_32_]; - if (is_8_ != null) is_27_[i_28_] = is_8_[i_32_]; - i_28_++; - } - U(i, i_5_, is_20_, is_26_, is_21_, is_27_, is_22_, is_23_, is_24_, is_25_, i_16_, i_17_, i_18_, bool); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ed.E(" + i + ',' + i_5_ + ',' + (is != null ? "{...}" : "null") + ',' + (is_6_ != null ? "{...}" : "null") + ',' + (is_7_ != null ? "{...}" : "null") + ',' + (is_8_ != null ? "{...}" : "null") + ',' + (is_9_ != null ? "{...}" : "null") + ',' + (is_10_ != null ? "{...}" : "null") + ',' + (is_11_ != null ? "{...}" : "null") + ',' + (is_12_ != null ? "{...}" : "null") + ',' + (is_13_ != null ? "{...}" : "null") + ',' + (is_14_ != null ? "{...}" : "null") + ',' + (is_15_ != null ? "{...}" : "null") + ',' + i_16_ + ',' + i_17_ + ',' + i_18_ + ',' + bool + ')')); - } - } - - final void YA() { - if (anInt8284 <= 0) aClass104_8266 = null; - else { - byte[][] is = new byte[1 + this.anInt4587][this.anInt4590 + 1]; - for (int i = 1; i < this.anInt4587; i++) { - for (int i_33_ = 1; i_33_ < this.anInt4590; i_33_++) - is[i][i_33_] = (byte) ((aByteArrayArray8273[i][1 + i_33_] >> 3) + (aByteArrayArray8273[i][-1 + i_33_] >> 2) + ((aByteArrayArray8273[i + 1][i_33_] >> 3) + ((aByteArrayArray8273[i - 1][i_33_] >> 2) + (aByteArrayArray8273[i][i_33_] >> 1)))); - } - aClass348_Sub20Array8282 = new Class348_Sub20[aClass356_8278.method3474(1)]; - aClass356_8278.method3477(3, aClass348_Sub20Array8282); - for (int i = 0; aClass348_Sub20Array8282.length > i; i++) - aClass348_Sub20Array8282[i].method2946(2147483647, anInt8284); - int i = 24; - if (anIntArrayArrayArray8252 != null) i += 4; - if ((0x7 & this.anInt8235) != 0) i += 12; - jaclib.memory.heap.NativeHeapBuffer nativeheapbuffer = this.aHa_Sub2_8272.aNativeHeap7730.a(anInt8284 * i, false); - Stream stream = new Stream(nativeheapbuffer); - Class348_Sub20[] class348_sub20s = new Class348_Sub20[anInt8284]; - int i_34_ = Class348_Sub40_Sub1.method3051(anInt8284 / 4, 4096); - if (i_34_ < 1) i_34_ = 1; - Class356 class356 = new Class356(i_34_); - Class348_Sub20[] class348_sub20s_35_ = new Class348_Sub20[anInt8280]; - for (int i_36_ = 0; this.anInt4587 > i_36_; i_36_++) { - for (int i_37_ = 0; (this.anInt4590 > i_37_); i_37_++) { - if (this.anIntArrayArrayArray8253[i_36_][i_37_] != null) { - Class348_Sub20[] class348_sub20s_38_ = aClass348_Sub20ArrayArrayArray8243[i_36_][i_37_]; - int[] is_39_ = (this.anIntArrayArrayArray8268[i_36_][i_37_]); - int[] is_40_ = (this.anIntArrayArrayArray8234[i_36_][i_37_]); - int[] is_41_ = anIntArrayArrayArray8245[i_36_][i_37_]; - int[] is_42_ = (this.anIntArrayArrayArray8253[i_36_][i_37_]); - int[] is_43_ = (anIntArrayArrayArray8258 != null ? anIntArrayArrayArray8258[i_36_][i_37_] : null); - if (is_41_ == null) is_41_ = is_42_; - int[] is_44_ = (anIntArrayArrayArray8252 != null ? anIntArrayArrayArray8252[i_36_][i_37_] : null); - float f = aFloatArrayArray8285[i_36_][i_37_]; - float f_45_ = aFloatArrayArray8281[i_36_][i_37_]; - float f_46_ = aFloatArrayArray8283[i_36_][i_37_]; - float f_47_ = aFloatArrayArray8285[i_36_][i_37_ - -1]; - float f_48_ = aFloatArrayArray8281[i_36_][1 + i_37_]; - float f_49_ = aFloatArrayArray8283[i_36_][1 + i_37_]; - float f_50_ = aFloatArrayArray8285[i_36_ - -1][1 + i_37_]; - float f_51_ = aFloatArrayArray8281[1 + i_36_][1 + i_37_]; - float f_52_ = aFloatArrayArray8283[i_36_ + 1][i_37_ - -1]; - float f_53_ = aFloatArrayArray8285[1 + i_36_][i_37_]; - float f_54_ = aFloatArrayArray8281[1 + i_36_][i_37_]; - float f_55_ = aFloatArrayArray8283[i_36_ + 1][i_37_]; - int i_56_ = 0xff & is[i_36_][i_37_]; - int i_57_ = 0xff & is[i_36_][1 + i_37_]; - int i_58_ = is[1 + i_36_][i_37_ - -1] & 0xff; - int i_59_ = 0xff & is[1 + i_36_][i_37_]; - int i_60_ = 0; - while_239_: - for (int i_61_ = 0; i_61_ < is_42_.length; i_61_++) { - Class348_Sub20 class348_sub20 = class348_sub20s_38_[i_61_]; - for (int i_62_ = 0; i_60_ > i_62_; i_62_++) { - if (class348_sub20s_35_[i_62_] == class348_sub20) continue while_239_; - } - class348_sub20s_35_[i_60_++] = class348_sub20; - } - short[] is_63_ = (this.aShortArrayArray8267[this.anInt4587 * i_37_ + i_36_] = new short[is_42_.length]); - for (int i_64_ = 0; (is_42_.length > i_64_); i_64_++) { - int i_65_ = ((i_36_ << this.anInt4588) + is_39_[i_64_]); - int i_66_ = ((i_37_ << this.anInt4588) - -is_40_[i_64_]); - int i_67_ = i_65_ >> anInt8264; - int i_68_ = i_66_ >> anInt8264; - int i_69_ = is_42_[i_64_]; - int i_70_ = is_41_[i_64_]; - int i_71_ = is_43_ != null ? is_43_[i_64_] : 0; - long l = ((long) (i_67_ << 16) | ((long) i_69_ << 32 | (long) i_70_ << 48) | (long) i_68_); - int i_72_ = is_39_[i_64_]; - int i_73_ = is_40_[i_64_]; - int i_74_ = 74; - int i_75_ = 0; - float f_76_; - float f_77_; - float f_78_; - if (i_72_ != 0 || i_73_ != 0) { - if (i_72_ != 0 || i_73_ != this.anInt4592) { - if ((i_72_ != this.anInt4592) || i_73_ != this.anInt4592) { - if ((i_72_ == this.anInt4592) && i_73_ == 0) { - f_76_ = f_54_; - f_78_ = f_55_; - f_77_ = f_53_; - i_74_ -= i_59_; - } else { - float f_79_ = ((float) i_72_ / (float) (this.anInt4592)); - float f_80_ = ((float) i_73_ / (float) (this.anInt4592)); - float f_81_ = (-f + f_53_) * f_79_ + f; - float f_82_ = ((f_54_ - f_45_) * f_79_ + f_45_); - float f_83_ = (f_79_ * (-f_46_ + f_55_) + f_46_); - float f_84_ = (f_79_ * (f_50_ - f_47_) + f_47_); - float f_85_ = (f_48_ + (-f_48_ + f_51_) * f_79_); - float f_86_ = ((f_52_ - f_49_) * f_79_ + f_49_); - f_76_ = f_82_ + ((f_85_ - f_82_) * f_80_); - f_77_ = (f_80_ * (-f_81_ + f_84_) + f_81_); - f_78_ = f_83_ + ((-f_83_ + f_86_) * f_80_); - int i_87_ = (((i_59_ + -i_56_) * i_72_ >> this.anInt4588) + i_56_); - int i_88_ = ((i_72_ * (-i_57_ + i_58_) >> this.anInt4588) + i_57_); - i_74_ -= i_87_ - -(((-i_87_ + i_88_) * i_73_) >> (this.anInt4588)); - } - } else { - f_77_ = f_50_; - f_76_ = f_51_; - f_78_ = f_52_; - i_74_ -= i_58_; - } - } else { - f_78_ = f_49_; - f_76_ = f_48_; - i_74_ -= i_57_; - f_77_ = f_47_; - } - } else { - f_76_ = f_45_; - f_77_ = f; - i_74_ -= i_56_; - f_78_ = f_46_; - } - float f_89_ = 1.0F; - if (i_69_ != -1) { - int i_90_ = (0x7f & i_69_) * i_74_ >> 7; - if (i_90_ >= 2) { - if (i_90_ > 126) i_90_ = 126; - } else i_90_ = 2; - if ((0x7 & this.anInt8235) == 0) { - f_89_ = ((this.aHa_Sub2_8272.aFloatArray7825[2]) * f_78_ + (f_77_ * (this.aHa_Sub2_8272.aFloatArray7825[0]) + f_76_ * (this.aHa_Sub2_8272.aFloatArray7825[1]))); - f_89_ = ((this.aHa_Sub2_8272.aFloat7768) + (f_89_ > 0.0F ? (this.aHa_Sub2_8272.aFloat7832) : (this.aHa_Sub2_8272.aFloat7871)) * f_89_); - } - i_75_ = (Class10.anIntArray179[0xff80 & i_69_ | i_90_]); - } - Class348 class348 = null; - if ((i_65_ & -1 + anInt8260) == 0 && (anInt8260 + -1 & i_66_) == 0) class348 = class356.method3480(l, -6008); - int i_91_; - if (class348 == null) { - int i_92_; - if (i_69_ != i_70_) { - int i_93_ = (i_70_ & 0x7f) * i_74_ >> 7; - if (i_93_ < 2) i_93_ = 2; - else if (i_93_ > 126) i_93_ = 126; - i_92_ = (Class10.anIntArray179[0xff80 & i_70_ | i_93_]); - if ((0x7 & this.anInt8235) == 0) { - float f_94_ = ((this.aHa_Sub2_8272.aFloatArray7825[0]) * f_77_ + f_76_ * (this.aHa_Sub2_8272.aFloatArray7825[1]) + f_78_ * (this.aHa_Sub2_8272.aFloatArray7825[2])); - f_94_ = ((f_89_ > 0.0F ? (this.aHa_Sub2_8272.aFloat7832) : (this.aHa_Sub2_8272.aFloat7871)) * f_89_ + (this.aHa_Sub2_8272.aFloat7768)); - int i_95_ = (i_92_ & 0xffcb9e) >> 16; - int i_96_ = (0xff29 & i_92_) >> 8; - int i_97_ = 0xff & i_92_; - i_95_ *= f_94_; - i_96_ *= f_94_; - if (i_95_ < 0) i_95_ = 0; - else if (i_95_ > 255) i_95_ = 255; - if (i_96_ >= 0) { - if (i_96_ > 255) i_96_ = 255; - } else i_96_ = 0; - i_97_ *= f_94_; - if (i_97_ < 0) i_97_ = 0; - else if (i_97_ > 255) i_97_ = 255; - i_92_ = (i_95_ << 16 | i_96_ << 8 | i_97_); - } - } else i_92_ = i_75_; - if (this.aHa_Sub2_8272.aBoolean7775) { - stream.a((float) i_65_); - stream.a((float) (this.method3986(i_65_, i_66_, (byte) -121) + i_71_)); - stream.a((float) i_66_); - stream.f((byte) (i_92_ >> 16)); - stream.f((byte) (i_92_ >> 8)); - stream.f((byte) i_92_); - stream.f(-1); - stream.a((float) i_65_); - stream.a((float) i_66_); - if (anIntArrayArrayArray8252 != null) stream.a((float) (is_44_ == null ? 0 : -1 + (is_44_[i_64_]))); - if ((0x7 & this.anInt8235) != 0) { - stream.a(f_77_); - stream.a(f_76_); - stream.a(f_78_); - } - } else { - stream.b((float) i_65_); - stream.b((float) (this.method3986(i_65_, i_66_, (byte) -101) - -i_71_)); - stream.b((float) i_66_); - stream.f((byte) (i_92_ >> 16)); - stream.f((byte) (i_92_ >> 8)); - stream.f((byte) i_92_); - stream.f(-1); - stream.b((float) i_65_); - stream.b((float) i_66_); - if (anIntArrayArrayArray8252 != null) stream.b((float) (is_44_ != null ? is_44_[i_64_] + -1 : 0)); - if ((0x7 & this.anInt8235) != 0) { - stream.b(f_77_); - stream.b(f_76_); - stream.b(f_78_); - } - } - i_91_ = anInt8246++; - is_63_[i_64_] = (short) i_91_; - if (i_69_ != -1) class348_sub20s[i_91_] = class348_sub20s_38_[i_64_]; - class356.method3483((byte) 114, l, new Class348_Sub29(is_63_[i_64_])); - } else { - is_63_[i_64_] = ((Class348_Sub29) class348).aShort6911; - i_91_ = 0xffff & is_63_[i_64_]; - if (i_69_ != -1 && ((class348_sub20s[i_91_].aLong4291) > class348_sub20s_38_[i_64_].aLong4291)) class348_sub20s[i_91_] = class348_sub20s_38_[i_64_]; - } - for (int i_98_ = 0; i_98_ < i_60_; i_98_++) - class348_sub20s_35_[i_98_].method2949((byte) 97, i_91_, i_74_, i_75_, f_89_); - anInt8257++; - } - } - } - } - for (int i_99_ = 0; anInt8246 > i_99_; i_99_++) { - Class348_Sub20 class348_sub20 = class348_sub20s[i_99_]; - if (class348_sub20 != null) class348_sub20.method2951(3, i_99_); - } - for (int i_100_ = 0; this.anInt4587 > i_100_; i_100_++) { - for (int i_101_ = 0; i_101_ < this.anInt4590; i_101_++) { - short[] is_102_ = (this.aShortArrayArray8267[i_101_ * this.anInt4587 + i_100_]); - if (is_102_ != null) { - int i_103_ = 0; - int i_104_ = 0; - while (is_102_.length > i_104_) { - int i_105_ = is_102_[i_104_++] & 0xffff; - int i_106_ = is_102_[i_104_++] & 0xffff; - int i_107_ = 0xffff & is_102_[i_104_++]; - Class348_Sub20 class348_sub20 = class348_sub20s[i_105_]; - Class348_Sub20 class348_sub20_108_ = class348_sub20s[i_106_]; - Class348_Sub20 class348_sub20_109_ = class348_sub20s[i_107_]; - Class348_Sub20 class348_sub20_110_ = null; - if (class348_sub20 != null) { - class348_sub20.method2945(i_100_, (byte) 18, i_101_, i_103_); - class348_sub20_110_ = class348_sub20; - } - if (class348_sub20_108_ != null) { - class348_sub20_108_.method2945(i_100_, (byte) 18, i_101_, i_103_); - if (class348_sub20_110_ == null || ((class348_sub20_110_.aLong4291) > (class348_sub20_108_.aLong4291))) class348_sub20_110_ = class348_sub20_108_; - } - if (class348_sub20_109_ != null) { - class348_sub20_109_.method2945(i_100_, (byte) 18, i_101_, i_103_); - if (class348_sub20_110_ == null || ((class348_sub20_109_.aLong4291) < (class348_sub20_110_.aLong4291))) class348_sub20_110_ = class348_sub20_109_; - } - if (class348_sub20_110_ != null) { - if (class348_sub20 != null) class348_sub20_110_.method2951(3, i_105_); - if (class348_sub20_108_ != null) class348_sub20_110_.method2951(3, i_106_); - if (class348_sub20_109_ != null) class348_sub20_110_.method2951(3, i_107_); - class348_sub20_110_.method2945(i_100_, (byte) 18, i_101_, i_103_); - } - i_103_++; - } - } - } - } - stream.a(); - anInterface2_8279 = this.aHa_Sub2_8272.method3739(8448, nativeheapbuffer, false, i, stream.b()); - this.aClass123_8276 = new Class123(anInterface2_8279, 5126, 3, 0); - aClass123_8274 = new Class123(anInterface2_8279, 5121, 4, 12); - int i_111_; - if (anIntArrayArrayArray8252 == null) { - i_111_ = 24; - this.aClass123_8277 = new Class123(anInterface2_8279, 5126, 2, 16); - } else { - i_111_ = 28; - this.aClass123_8277 = new Class123(anInterface2_8279, 5126, 3, 16); - } - if ((0x7 & this.anInt8235) != 0) this.aClass123_8275 = new Class123(anInterface2_8279, 5126, 3, i_111_); - long[] ls = new long[aClass348_Sub20Array8282.length]; - for (int i_112_ = 0; i_112_ < aClass348_Sub20Array8282.length; i_112_++) { - Class348_Sub20 class348_sub20 = aClass348_Sub20Array8282[i_112_]; - ls[i_112_] = class348_sub20.aLong4291; - class348_sub20.method2952(17795, anInt8246); - } - Class339.method2669(aClass348_Sub20Array8282, ls, -21); - if (aClass104_8266 != null) aClass104_8266.method957(0); - } - anInt8247++; - anIntArrayArrayArray8258 = null; - aFloatArrayArray8285 = aFloatArrayArray8281 = aFloatArrayArray8283 = null; - anIntArrayArrayArray8252 = null; - aClass348_Sub20ArrayArrayArray8243 = null; - this.anIntArrayArrayArray8253 = null; - aByteArrayArray8273 = null; - aClass356_8278 = null; - anIntArrayArrayArray8245 = null; - this.anIntArrayArrayArray8268 = this.anIntArrayArrayArray8234 = null; - } - - private final void method3998(byte i, int i_113_, int i_114_, r_Sub2 var_r_Sub2) { - anInt8254++; - int[] is = this.anIntArrayArrayArray8268[i_113_][i_114_]; - if (i != -82) method3981(null, null); - int[] is_115_ = this.anIntArrayArrayArray8234[i_113_][i_114_]; - int i_116_ = is.length; - if (this.aHa_Sub2_8272.anIntArray7880.length < i_116_) { - this.aHa_Sub2_8272.anIntArray7883 = new int[i_116_]; - this.aHa_Sub2_8272.anIntArray7880 = new int[i_116_]; - } - int[] is_117_ = this.aHa_Sub2_8272.anIntArray7880; - int[] is_118_ = this.aHa_Sub2_8272.anIntArray7883; - for (int i_119_ = 0; i_119_ < i_116_; i_119_++) { - is_117_[i_119_] = (is[i_119_] >> this.aHa_Sub2_8272.anInt7731); - is_118_[i_119_] = (is_115_[i_119_] >> this.aHa_Sub2_8272.anInt7731); - } - int i_120_ = 0; - while (i_120_ < i_116_) { - int i_121_ = is_117_[i_120_]; - int i_122_ = is_118_[i_120_++]; - int i_123_ = is_117_[i_120_]; - int i_124_ = is_118_[i_120_++]; - int i_125_ = is_117_[i_120_]; - int i_126_ = is_118_[i_120_++]; - if (((-i_123_ + i_121_) * (i_124_ + -i_126_) - (i_125_ - i_123_) * (i_124_ - i_122_)) > 0) var_r_Sub2.method3294(i_125_, i_121_, i_122_, 63, i_123_, i_126_, i_124_); - } - } - - final void method3979(int i, int i_127_) { - anInt8239++; - } - - final void CA(r var_r, int i, int i_128_, int i_129_, int i_130_, boolean bool) { - anInt8236++; - if (aClass104_8266 != null && var_r != null) { - int i_131_ = (i - ((i_128_ * this.aHa_Sub2_8272.anInt7772) >> 8) >> this.aHa_Sub2_8272.anInt7731); - int i_132_ = (-((this.aHa_Sub2_8272.anInt7777 * i_128_) >> 8) + i_129_ >> this.aHa_Sub2_8272.anInt7731); - aClass104_8266.method959(i_131_, i_132_, (byte) 107, var_r); - } - } - - s_Sub2(ha_Sub2 var_ha_Sub2, int i, int i_133_, int i_134_, int i_135_, int[][] is, int[][] is_136_, int i_137_) { - super(i_134_, i_135_, i_137_, is); - do { - try { - this.aHa_Sub2_8272 = var_ha_Sub2; - anInt8264 = this.anInt4588 + -2; - anIntArrayArrayArray8245 = new int[i_134_][i_135_][]; - aByteArrayArray8240 = new byte[i_134_][i_135_]; - this.anIntArrayArrayArray8268 = new int[i_134_][i_135_][]; - this.anIntArrayArrayArray8253 = new int[i_134_][i_135_][]; - aFloatArrayArray8285 = (new float[1 + this.anInt4587] - [this.anInt4590 + 1]); - aClass348_Sub20ArrayArrayArray8243 = new Class348_Sub20[i_134_][i_135_][]; - anIntArrayArrayArray8258 = new int[i_134_][i_135_][]; - aFloatArrayArray8281 = (new float[1 + this.anInt4587] - [1 + this.anInt4590]); - aByteArrayArray8273 = new byte[1 + i_134_][i_135_ - -1]; - this.aShortArrayArray8267 = new short[i_135_ * i_134_][]; - anInt8260 = 1 << anInt8264; - this.anIntArrayArrayArray8234 = new int[i_134_][i_135_][]; - aFloatArrayArray8283 = (new float[1 + this.anInt4587] - [1 + this.anInt4590]); - this.anInt8235 = i_133_; - for (int i_138_ = 1; this.anInt4590 > i_138_; i_138_++) { - for (int i_139_ = 1; this.anInt4587 > i_139_; i_139_++) { - int i_140_ = (is_136_[1 + i_139_][i_138_] + -is_136_[-1 + i_139_][i_138_]); - int i_141_ = (is_136_[i_139_][1 + i_138_] + -is_136_[i_139_][i_138_ - 1]); - float f = (float) (1.0 / Math.sqrt(i_141_ * i_141_ + (i_137_ * i_137_ * 4) + (i_140_ * i_140_))); - aFloatArrayArray8285[i_139_][i_138_] = f * (float) i_140_; - aFloatArrayArray8281[i_139_][i_138_] = f * (float) (-i_137_ * 2); - aFloatArrayArray8283[i_139_][i_138_] = (float) i_141_ * f; - } - } - aClass356_8278 = new Class356(128); - if ((0x10 & this.anInt8235) == 0) break; - aClass104_8266 = new Class104(this.aHa_Sub2_8272, this); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ed.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_133_ + ',' + i_134_ + ',' + i_135_ + ',' + (is != null ? "{...}" : "null") + ',' + (is_136_ != null ? "{...}" : "null") + ',' + i_137_ + ')')); - } - break; - } while (false); - } - - final boolean method3989(r var_r, int i, int i_142_, int i_143_, int i_144_, boolean bool) { - anInt8244++; - if (aClass104_8266 == null || var_r == null) return false; - int i_145_ = (-(i_142_ * this.aHa_Sub2_8272.anInt7772 >> 8) + i >> this.aHa_Sub2_8272.anInt7731); - int i_146_ = (i_143_ + -((this.aHa_Sub2_8272.anInt7777 * i_142_) >> 8) >> this.aHa_Sub2_8272.anInt7731); - return aClass104_8266.method954(i_145_, (byte) 88, i_146_, var_r); - } - - static final boolean method3999(int i, int i_147_, int i_148_) { - if (i_148_ != 458752) anInt8237 = -28; - anInt8238++; - return (0x70000 & i_147_) != 0 | Class223.method1613(false, i, i_147_) || Class288.method2187(i_147_, -121, i); - } - - final void method3983(int i, int i_149_, int i_150_, boolean[][] bools, boolean bool, int i_151_) { - method4003(-1, i_150_, bool, -49, i, i_151_, bools, i_149_); - anInt8255++; - } - - public static void method4000(int i) { - if (i != 8448) aString8265 = null; - anIntArray8269 = null; - aString8265 = null; - aClass107_8241 = null; - } - - final void method3987(int i, int i_152_, int i_153_, int i_154_, int i_155_, int i_156_, int i_157_, boolean[][] bools) { - anInt8262++; - if (anInt8284 > 0) { - this.aHa_Sub2_8272.method3755(-32); - this.aHa_Sub2_8272.method3807(false, 2); - this.aHa_Sub2_8272.method3728(false, 92); - this.aHa_Sub2_8272.method3752(117, false); - this.aHa_Sub2_8272.method3748(0, false); - this.aHa_Sub2_8272.method3753(0, 1); - this.aHa_Sub2_8272.method3757(-2, -100); - this.aHa_Sub2_8272.method3771((byte) -86, null); - Class73.aFloatArray4772[0] = ((float) i_153_ / ((float) (this.aHa_Sub2_8272.anInt7688) * ((float) this.anInt4592 * 128.0F))); - Class73.aFloatArray4772[8] = 0.0F; - Class73.aFloatArray4772[13] = 1.0F - (((float) (i_157_ * i_153_) / 128.0F + (float) (i_152_ * 2)) / (float) (this.aHa_Sub2_8272.anInt7641)); - Class73.aFloatArray4772[7] = 0.0F; - Class73.aFloatArray4772[6] = 0.0F; - Class73.aFloatArray4772[5] = ((float) i_153_ / ((float) (this.aHa_Sub2_8272.anInt7641) * ((float) this.anInt4592 * 128.0F))); - Class73.aFloatArray4772[1] = 0.0F; - Class73.aFloatArray4772[4] = 0.0F; - Class73.aFloatArray4772[14] = 0.0F; - Class73.aFloatArray4772[12] = -(((float) (i_153_ * i_154_) / 128.0F - (float) (2 * i)) / (float) (this.aHa_Sub2_8272.anInt7688)) + -1.0F; - Class73.aFloatArray4772[10] = 0.0F; - Class73.aFloatArray4772[15] = 1.0F; - Class73.aFloatArray4772[3] = 0.0F; - Class73.aFloatArray4772[2] = 0.0F; - Class73.aFloatArray4772[9] = 0.0F; - Class73.aFloatArray4772[11] = 0.0F; - OpenGL.glMatrixMode(5889); - OpenGL.glLoadMatrixf(Class73.aFloatArray4772, 0); - Class73.aFloatArray4772[12] = 0.0F; - Class73.aFloatArray4772[4] = 0.0F; - Class73.aFloatArray4772[0] = 1.0F; - Class73.aFloatArray4772[14] = 0.0F; - Class73.aFloatArray4772[6] = 1.0F; - Class73.aFloatArray4772[8] = 0.0F; - Class73.aFloatArray4772[11] = 0.0F; - Class73.aFloatArray4772[13] = 0.0F; - Class73.aFloatArray4772[7] = 0.0F; - Class73.aFloatArray4772[5] = 0.0F; - Class73.aFloatArray4772[15] = 1.0F; - Class73.aFloatArray4772[2] = 0.0F; - Class73.aFloatArray4772[3] = 0.0F; - Class73.aFloatArray4772[9] = 1.0F; - Class73.aFloatArray4772[10] = 0.0F; - Class73.aFloatArray4772[1] = 0.0F; - OpenGL.glMatrixMode(5888); - OpenGL.glLoadMatrixf(Class73.aFloatArray4772, 0); - if ((0x7 & this.anInt8235) == 0) this.aHa_Sub2_8272.method3728(false, 56); - else { - this.aHa_Sub2_8272.method3728(true, 91); - this.aHa_Sub2_8272.method3796(16384); - } - this.aHa_Sub2_8272.method3794(this.aClass123_8276, aClass123_8274, -26411, this.aClass123_8277, this.aClass123_8275); - if (this.aHa_Sub2_8272.aClass348_Sub49_Sub1_7798.aByteArray7154.length < anInt8257 * 2) this.aHa_Sub2_8272.aClass348_Sub49_Sub1_7798 = new Class348_Sub49_Sub1(anInt8257 * 2); - else this.aHa_Sub2_8272.aClass348_Sub49_Sub1_7798.anInt7197 = 0; - int i_158_ = 0; - Class348_Sub49_Sub1 class348_sub49_sub1 = (this.aHa_Sub2_8272.aClass348_Sub49_Sub1_7798); - if (this.aHa_Sub2_8272.aBoolean7775) { - for (int i_159_ = i_155_; i_159_ < i_157_; i_159_++) { - int i_160_ = i_159_ * this.anInt4587 + i_154_; - for (int i_161_ = i_154_; i_156_ > i_161_; i_161_++) { - if (bools[-i_154_ + i_161_][-i_155_ + i_159_]) { - short[] is = this.aShortArrayArray8267[i_160_]; - if (is != null) { - for (int i_162_ = 0; i_162_ < is.length; i_162_++) { - class348_sub49_sub1.writeShort((byte) 107, (is[i_162_] & 0xffff)); - i_158_++; - } - } - } - i_160_++; - } - } - } else { - for (int i_163_ = i_155_; i_163_ < i_157_; i_163_++) { - int i_164_ = i_154_ + i_163_ * this.anInt4587; - for (int i_165_ = i_154_; i_156_ > i_165_; i_165_++) { - if (bools[i_165_ + -i_154_][i_163_ + -i_155_]) { - short[] is = this.aShortArrayArray8267[i_164_]; - if (is != null) { - for (int i_166_ = 0; i_166_ < is.length; i_166_++) { - class348_sub49_sub1.method3397(84, 0xffff & is[i_166_]); - i_158_++; - } - } - } - i_164_++; - } - } - } - if (i_158_ > 0) { - Class119_Sub2 class119_sub2 = new Class119_Sub2(this.aHa_Sub2_8272, 5123, (class348_sub49_sub1.aByteArray7154), (class348_sub49_sub1.anInt7197)); - this.aHa_Sub2_8272.method3759(i_158_, -128, 4, class119_sub2, 0); - } - } - } - - static final void method4001(Class318_Sub1 class318_sub1) { - Class9.aHa171.H(class318_sub1.x, (class318_sub1.anInt6382 + (class318_sub1.method2394(true) >> 1)), class318_sub1.y, Class348_Sub42_Sub3.anIntArray9505); - class318_sub1.anInt6386 = Class348_Sub42_Sub3.anIntArray9505[0]; - class318_sub1.anInt6380 = Class348_Sub42_Sub3.anIntArray9505[1]; - class318_sub1.anInt6389 = Class348_Sub42_Sub3.anIntArray9505[2]; - } - - final r fa(int i, int i_167_, r var_r) { - anInt8259++; - if ((0x1 & aByteArrayArray8240[i][i_167_]) == 0) return null; - int i_168_ = (this.anInt4592 >> this.aHa_Sub2_8272.anInt7731); - r_Sub2 var_r_Sub2 = (r_Sub2) var_r; - r_Sub2 var_r_Sub2_169_; - if (var_r_Sub2 == null || !var_r_Sub2.method3296((byte) 104, i_168_, i_168_)) var_r_Sub2_169_ = new r_Sub2(this.aHa_Sub2_8272, i_168_, i_168_); - else { - var_r_Sub2_169_ = var_r_Sub2; - var_r_Sub2_169_.method3293((byte) 0); - } - var_r_Sub2_169_.method3292(i_168_, i_168_, 0, 25053, 0); - method3998((byte) -82, i, i_167_, var_r_Sub2_169_); - return var_r_Sub2_169_; - } - - static final void method4002(Class348_Sub49 class348_sub49, byte i) { - anInt8248++; - byte[] is = new byte[24]; - if (i == 55) { - if (Class374.aClass78_4538 != null) { - try { - Class374.aClass78_4538.method789(0L, (byte) -120); - Class374.aClass78_4538.method784(-89, is); - int i_170_; - for (i_170_ = 0; i_170_ < 24; i_170_++) { - if (is[i_170_] != 0) break; - } - if (i_170_ >= 24) throw new IOException(); - } catch (Exception exception) { - for (int i_171_ = 0; i_171_ < 24; i_171_++) - is[i_171_] = (byte) -1; - } - } - class348_sub49.writeBytes(24, 0, is, i ^ 0x8); - } - } - - final void method3984(int i, int i_172_, int i_173_, boolean[][] bools, boolean bool, int i_174_, int i_175_) { - anInt8263++; - method4003(i_174_, i_173_, bool, -62, i, i_175_, bools, i_172_); - } - - final void method3981(Class348_Sub1 class348_sub1, int[] is) { - try { - anInt8271++; - aClass262_8256.method1999(new Class348_Sub32((this.aHa_Sub2_8272), this, class348_sub1, is), -20180); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ed.L(" + (class348_sub1 != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ')')); - } - } - - final void U(int i, int i_176_, int[] is, int[] is_177_, int[] is_178_, int[] is_179_, int[] is_180_, int[] is_181_, int[] is_182_, int[] is_183_, int i_184_, int i_185_, int i_186_, boolean bool) { - try { - anInt8261++; - if (is_177_ != null && anIntArrayArrayArray8258 == null) anIntArrayArrayArray8258 = new int[this.anInt4587][this.anInt4590][]; - d var_d = this.aHa_Sub2_8272.aD4579; - if (is_179_ != null && anIntArrayArrayArray8252 == null) anIntArrayArrayArray8252 = new int[this.anInt4587][this.anInt4590][]; - this.anIntArrayArrayArray8268[i][i_176_] = is; - this.anIntArrayArrayArray8234[i][i_176_] = is_178_; - this.anIntArrayArrayArray8253[i][i_176_] = is_180_; - anIntArrayArrayArray8245[i][i_176_] = is_181_; - if (anIntArrayArrayArray8252 != null) anIntArrayArrayArray8252[i][i_176_] = is_179_; - if (anIntArrayArrayArray8258 != null) anIntArrayArrayArray8258[i][i_176_] = is_177_; - Class348_Sub20[] class348_sub20s = (aClass348_Sub20ArrayArrayArray8243[i][i_176_] = new Class348_Sub20[is_180_.length]); - for (int i_187_ = 0; i_187_ < is_180_.length; i_187_++) { - int i_188_ = is_182_[i_187_]; - int i_189_ = is_183_[i_187_]; - if ((0x20 & this.anInt8235) != 0 && i_188_ != -1 && var_d.method3(i_188_, -6662).aBoolean209) { - i_188_ = -1; - i_189_ = 128; - } - long l = ((long) i_184_ << 28 | ((long) i_185_ << 42 | (long) i_186_ << 48) | (long) (i_189_ << 14) | (long) i_188_); - Class348 class348; - for (class348 = aClass356_8278.method3480(l, -6008); class348 != null; class348 = aClass356_8278.method3476(true)) { - Class348_Sub20 class348_sub20 = (Class348_Sub20) class348; - if (i_188_ == class348_sub20.anInt6841 && (class348_sub20.aFloat6832 == (float) i_189_) && (class348_sub20.anInt6825 == i_184_) && (i_185_ == class348_sub20.anInt6833) && (class348_sub20.anInt6826 == i_186_)) break; - } - if (class348 == null) { - class348_sub20s[i_187_] = new Class348_Sub20(this, i_188_, i_189_, i_184_, i_185_, i_186_); - aClass356_8278.method3483((byte) 99, l, class348_sub20s[i_187_]); - } else class348_sub20s[i_187_] = (Class348_Sub20) class348; - } - if (bool) aByteArrayArray8240[i][i_176_] = (byte) Class273.method2057((aByteArrayArray8240[i][i_176_]), 1); - if (is_180_.length > anInt8280) anInt8280 = is_180_.length; - anInt8284 += is_180_.length; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("ed.U(" + i + ',' + i_176_ + ',' + (is != null ? "{...}" : "null") + ',' + (is_177_ != null ? "{...}" : "null") + ',' + (is_178_ != null ? "{...}" : "null") + ',' + (is_179_ != null ? "{...}" : "null") + ',' + (is_180_ != null ? "{...}" : "null") + ',' + (is_181_ != null ? "{...}" : "null") + ',' + (is_182_ != null ? "{...}" : "null") + ',' + (is_183_ != null ? "{...}" : "null") + ',' + i_184_ + ',' + i_185_ + ',' + i_186_ + ',' + bool + ')')); - } - } - - final void ka(int i, int i_190_, int i_191_) { - if (i_191_ > (0xff & aByteArrayArray8273[i][i_190_])) aByteArrayArray8273[i][i_190_] = (byte) i_191_; - anInt8242++; - } - - private final void method4003(int i, int i_192_, boolean bool, int i_193_, int i_194_, int i_195_, boolean[][] bools, int i_196_) { - anInt8250++; - if (i_193_ >= -39) anInt8280 = -20; - if (aClass348_Sub20Array8282 != null) { - int i_197_ = i_192_ + i_192_ - -1; - i_197_ *= i_197_; - if (this.aHa_Sub2_8272.anIntArray7882.length < i_197_) this.aHa_Sub2_8272.anIntArray7882 = new int[i_197_]; - if (anInt8257 * 2 > (this.aHa_Sub2_8272.aClass348_Sub49_Sub1_7798.aByteArray7154).length) this.aHa_Sub2_8272.aClass348_Sub49_Sub1_7798 = new Class348_Sub49_Sub1(2 * anInt8257); - int i_198_ = -i_192_ + i_194_; - int i_199_ = i_198_; - if (i_198_ < 0) i_198_ = 0; - int i_200_ = i_196_ - i_192_; - int i_201_ = i_200_; - if (i_200_ < 0) i_200_ = 0; - int i_202_ = i_192_ + i_194_; - if (i_202_ > this.anInt4587 - 1) i_202_ = -1 + this.anInt4587; - int i_203_ = i_196_ + i_192_; - if (-1 + this.anInt4590 < i_203_) i_203_ = this.anInt4590 + -1; - int i_204_ = 0; - int[] is = this.aHa_Sub2_8272.anIntArray7882; - for (int i_205_ = i_198_; i_202_ >= i_205_; i_205_++) { - boolean[] bools_206_ = bools[-i_199_ + i_205_]; - for (int i_207_ = i_200_; i_203_ >= i_207_; i_207_++) { - if (bools_206_[-i_201_ + i_207_]) is[i_204_++] = i_205_ + i_207_ * this.anInt4587; - } - } - if (i != -1) { - this.aHa_Sub2_8272.method3789((byte) -120, (float) i); - this.aHa_Sub2_8272.method3760(1); - } else this.aHa_Sub2_8272.method3784((byte) -62); - this.aHa_Sub2_8272.method3728((0x7 & (this.anInt8235)) != 0, 120); - for (int i_208_ = 0; aClass348_Sub20Array8282.length > i_208_; i_208_++) - aClass348_Sub20Array8282[i_208_].method2948(5123, i_204_, is); - if (!aClass262_8256.method2002((byte) 18)) { - int i_209_ = this.aHa_Sub2_8272.anInt7856; - int i_210_ = this.aHa_Sub2_8272.anInt7782; - this.aHa_Sub2_8272.L(0, i_210_, (this.aHa_Sub2_8272.anInt7813)); - this.aHa_Sub2_8272.method3728(false, 97); - this.aHa_Sub2_8272.method3748(0, false); - this.aHa_Sub2_8272.method3753(128, 1); - this.aHa_Sub2_8272.method3757(-2, -88); - this.aHa_Sub2_8272.method3771((byte) -124, (this.aHa_Sub2_8272.aClass258_Sub3_7827)); - this.aHa_Sub2_8272.method3729(8448, (byte) 98, 7681); - this.aHa_Sub2_8272.method3762(34166, 770, (byte) -87, 0); - this.aHa_Sub2_8272.method3775(false, 0, 770, 34167); - for (Class348 class348 = aClass262_8256.method1995(4); class348 != null; class348 = aClass262_8256.method1990((byte) 92)) { - Class348_Sub32 class348_sub32 = (Class348_Sub32) class348; - class348_sub32.method3023(bools, 255, i_194_, i_196_, i_192_); - } - this.aHa_Sub2_8272.method3762(5890, 768, (byte) -87, 0); - this.aHa_Sub2_8272.method3775(false, 0, 770, 5890); - this.aHa_Sub2_8272.method3771((byte) -96, null); - this.aHa_Sub2_8272.L(i_209_, i_210_, (this.aHa_Sub2_8272.anInt7813)); - } - if (aClass104_8266 != null) { - OpenGL.glPushMatrix(); - OpenGL.glTranslatef(0.0F, -1.0F, 0.0F); - this.aHa_Sub2_8272.method3794(this.aClass123_8276, null, -26411, this.aClass123_8277, null); - aClass104_8266.method956(bool, 112, bools, i_192_, i_196_, i_194_); - OpenGL.glPopMatrix(); - } - } - } - - static { - anIntArray8269 = new int[8]; - } -} diff --git a/client/src/s_Sub3.java b/client/src/s_Sub3.java deleted file mode 100644 index 29e47fabb..000000000 --- a/client/src/s_Sub3.java +++ /dev/null @@ -1,778 +0,0 @@ -/* s_Sub3 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaclib.memory.Buffer; -import jaclib.memory.Stream; - -final class s_Sub3 extends s { - private final Class262 aClass262_8286; - static int anInt8287; - static int anInt8288; - static int anInt8289; - static int anInt8290; - private int[][][] anIntArrayArrayArray8291; - static int anInt8292; - static int anInt8293; - int anInt8294; - static int anInt8295; - int[][][] anIntArrayArrayArray8296; - static int anInt8297; - static int anInt8298; - short[][] aShortArrayArray8299; - static int anInt8300; - private int anInt8301; - private final int anInt8302; - private int anInt8303; - static int anInt8304; - private float aFloat8305 = -3.4028235E38F; - private float aFloat8306 = 3.4028235E38F; - private Class330 aClass330_8307; - private int[][][] anIntArrayArrayArray8308; - static int anInt8309; - static int anInt8310; - private final int anInt8311; - private Class348_Sub3[][][] aClass348_Sub3ArrayArrayArray8312; - int[][][] anIntArrayArrayArray8313; - private int[][][] anIntArrayArrayArray8314; - static int anInt8315; - static int anInt8316; - private final byte[][] aByteArrayArray8317; - static int anInt8318; - static int anInt8319; - static Class21 aClass21_8320 = new Class21(); - int[][][] anIntArrayArrayArray8321; - ha_Sub3 aHa_Sub3_8322; - private float[][] aFloatArrayArray8323; - Class130 aClass130_8324; - private Class356 aClass356_8325; - private Interface5_Impl1 anInterface5_Impl1_8326; - private Interface5_Impl1 anInterface5_Impl1_8327; - private Class348_Sub3[] aClass348_Sub3Array8328; - private int anInt8329; - private byte[][] aByteArrayArray8330; - private int anInt8331; - private float[][] aFloatArrayArray8332; - private float[][] aFloatArrayArray8333; - - final r fa(int i, int i_0_, r var_r) { - anInt8290++; - if ((aByteArrayArray8317[i][i_0_] & 0x1) == 0) return null; - int i_1_ = (this.anInt4592 >> this.aHa_Sub3_8322.anInt8107); - r_Sub1 var_r_Sub1 = (r_Sub1) var_r; - r_Sub1 var_r_Sub1_2_; - if (var_r_Sub1 != null && var_r_Sub1.method3291(i_1_, i_1_, (byte) -59)) { - var_r_Sub1_2_ = var_r_Sub1; - var_r_Sub1_2_.method3289(11); - } else var_r_Sub1_2_ = new r_Sub1(this.aHa_Sub3_8322, i_1_, i_1_); - var_r_Sub1_2_.method3286(i_1_, -97, i_1_, 0, 0); - method4005(var_r_Sub1_2_, i_0_, i, 21722); - return var_r_Sub1_2_; - } - - static final void method4004(int i, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_, int i_9_) { - anInt8292++; - int i_10_ = Class85.method831(Class38.anInt513, i_4_, Class132.anInt1910, -118); - int i_11_ = Class85.method831(Class38.anInt513, i, Class132.anInt1910, 72); - int i_12_ = Class85.method831(Class113.anInt1745, i_8_, Class369.anInt4960, -80); - int i_13_ = Class85.method831(Class113.anInt1745, i_3_, Class369.anInt4960, -101); - int i_14_ = Class85.method831(Class38.anInt513, i_4_ + i_6_, Class132.anInt1910, -110); - int i_15_ = Class85.method831(Class38.anInt513, i + -i_6_, Class132.anInt1910, 28); - if (i_7_ < -33) { - for (int i_16_ = i_10_; i_16_ < i_14_; i_16_++) - Class135_Sub2.method1156(-27, i_13_, Class17.anIntArrayArray255[i_16_], i_12_, i_9_); - for (int i_17_ = i_11_; i_17_ > i_15_; i_17_--) - Class135_Sub2.method1156(-27, i_13_, Class17.anIntArrayArray255[i_17_], i_12_, i_9_); - int i_18_ = Class85.method831(Class113.anInt1745, i_8_ + i_6_, Class369.anInt4960, 114); - int i_19_ = Class85.method831(Class113.anInt1745, -i_6_ + i_3_, Class369.anInt4960, 34); - for (int i_20_ = i_14_; i_20_ <= i_15_; i_20_++) { - int[] is = Class17.anIntArrayArray255[i_20_]; - Class135_Sub2.method1156(-27, i_18_, is, i_12_, i_9_); - Class135_Sub2.method1156(-27, i_19_, is, i_18_, i_5_); - Class135_Sub2.method1156(-27, i_13_, is, i_19_, i_9_); - } - } - } - - private final void method4005(r_Sub1 var_r_Sub1, int i, int i_21_, int i_22_) { - anInt8310++; - if (i_22_ != 21722) fa(16, 8, null); - int[] is = this.anIntArrayArrayArray8321[i_21_][i]; - int[] is_23_ = this.anIntArrayArrayArray8313[i_21_][i]; - int i_24_ = is.length; - if (Class30.anIntArray407.length < i_24_) { - Class30.anIntArray407 = new int[i_24_]; - Class232.anIntArray3014 = new int[i_24_]; - } - for (int i_25_ = 0; i_25_ < i_24_; i_25_++) { - Class30.anIntArray407[i_25_] = (is[i_25_] >> this.aHa_Sub3_8322.anInt8107); - Class232.anIntArray3014[i_25_] = (is_23_[i_25_] >> this.aHa_Sub3_8322.anInt8107); - } - int i_26_ = 0; - while (i_24_ > i_26_) { - int i_27_ = Class30.anIntArray407[i_26_]; - int i_28_ = Class232.anIntArray3014[i_26_++]; - int i_29_ = Class30.anIntArray407[i_26_]; - int i_30_ = Class232.anIntArray3014[i_26_++]; - int i_31_ = Class30.anIntArray407[i_26_]; - int i_32_ = Class232.anIntArray3014[i_26_++]; - if ((-((-i_29_ + i_31_) * (i_30_ - i_28_)) + (i_27_ - i_29_) * (i_30_ - i_32_)) > 0) var_r_Sub1.method3287(i_28_, i_22_ + -21622, i_27_, i_29_, i_30_, i_32_, i_31_); - } - } - - final void wa(r var_r, int i, int i_33_, int i_34_, int i_35_, boolean bool) { - anInt8315++; - if (aClass330_8307 != null && var_r != null) { - int i_36_ = (i + -(i_33_ * (this.aHa_Sub3_8322.anInt8133) >> 8) >> this.aHa_Sub3_8322.anInt8107); - int i_37_ = (i_34_ - ((this.aHa_Sub3_8322.anInt8114) * i_33_ >> 8) >> this.aHa_Sub3_8322.anInt8107); - aClass330_8307.method2629(i_37_, var_r, 1, i_36_); - } - } - - final void method3979(int i, int i_38_) { - anInt8293++; - } - - final void CA(r var_r, int i, int i_39_, int i_40_, int i_41_, boolean bool) { - anInt8319++; - if (aClass330_8307 != null && var_r != null) { - int i_42_ = (i + -((this.aHa_Sub3_8322.anInt8133 * i_39_) >> 8) >> this.aHa_Sub3_8322.anInt8107); - int i_43_ = (-((this.aHa_Sub3_8322.anInt8114 * i_39_) >> 8) + i_40_ >> this.aHa_Sub3_8322.anInt8107); - aClass330_8307.method2633(287, i_42_, var_r, i_43_); - } - } - - public static void method4006(int i) { - aClass21_8320 = null; - if (i > -42) aClass21_8320 = null; - } - - final void YA() { - if (anInt8329 <= 0) aClass330_8307 = null; - else { - byte[][] is = new byte[1 + this.anInt4587][this.anInt4590 + 1]; - for (int i = 1; this.anInt4587 > i; i++) { - for (int i_44_ = 1; i_44_ < this.anInt4590; i_44_++) - is[i][i_44_] = (byte) ((aByteArrayArray8330[i][-1 + i_44_] >> 2) + (aByteArrayArray8330[1 + i][i_44_] >> 3) + ((aByteArrayArray8330[i + -1][i_44_] >> 2) + (aByteArrayArray8330[i][1 + i_44_] >> 3)) + (aByteArrayArray8330[i][i_44_] >> 1)); - } - Class348_Sub3[] class348_sub3s = new Class348_Sub3[aClass356_8325.method3474(1)]; - aClass356_8325.method3477(3, class348_sub3s); - for (int i = 0; i < class348_sub3s.length; i++) - class348_sub3s[i].method2736((byte) -57, anInt8329); - int i = 20; - if (anIntArrayArrayArray8314 != null) i += 4; - if ((this.anInt8294 & 0x7) != 0) i += 12; - jaclib.memory.heap.NativeHeapBuffer nativeheapbuffer = this.aHa_Sub3_8322.aNativeHeap7891.a(anInt8329 * 4, false); - jaclib.memory.heap.NativeHeapBuffer nativeheapbuffer_45_ = this.aHa_Sub3_8322.aNativeHeap7891.a(anInt8329 * i, false); - Stream stream = new Stream(nativeheapbuffer_45_); - Stream stream_46_ = new Stream(nativeheapbuffer); - Class348_Sub3[] class348_sub3s_47_ = new Class348_Sub3[anInt8329]; - int i_48_ = Class348_Sub40_Sub1.method3051(anInt8329 / 4, 4096); - if (i_48_ < 1) i_48_ = 1; - Class356 class356 = new Class356(i_48_); - Class348_Sub3[] class348_sub3s_49_ = new Class348_Sub3[anInt8331]; - for (int i_50_ = 0; i_50_ < this.anInt4587; i_50_++) { - for (int i_51_ = 0; (i_51_ < this.anInt4590); i_51_++) { - if (this.anIntArrayArrayArray8296[i_50_][i_51_] != null) { - Class348_Sub3[] class348_sub3s_52_ = aClass348_Sub3ArrayArrayArray8312[i_50_][i_51_]; - int[] is_53_ = (this.anIntArrayArrayArray8321[i_50_][i_51_]); - int[] is_54_ = (this.anIntArrayArrayArray8313[i_50_][i_51_]); - int[] is_55_ = anIntArrayArrayArray8291[i_50_][i_51_]; - int[] is_56_ = (this.anIntArrayArrayArray8296[i_50_][i_51_]); - int[] is_57_ = (anIntArrayArrayArray8308 == null ? null : anIntArrayArrayArray8308[i_50_][i_51_]); - int[] is_58_ = (anIntArrayArrayArray8314 != null ? anIntArrayArrayArray8314[i_50_][i_51_] : null); - if (is_55_ == null) is_55_ = is_56_; - float f = aFloatArrayArray8333[i_50_][i_51_]; - float f_59_ = aFloatArrayArray8332[i_50_][i_51_]; - float f_60_ = aFloatArrayArray8323[i_50_][i_51_]; - float f_61_ = aFloatArrayArray8333[i_50_][1 + i_51_]; - float f_62_ = aFloatArrayArray8332[i_50_][i_51_ - -1]; - float f_63_ = aFloatArrayArray8323[i_50_][i_51_ - -1]; - float f_64_ = aFloatArrayArray8333[i_50_ - -1][1 + i_51_]; - float f_65_ = aFloatArrayArray8332[1 + i_50_][1 + i_51_]; - float f_66_ = aFloatArrayArray8323[i_50_ + 1][1 + i_51_]; - float f_67_ = aFloatArrayArray8333[1 + i_50_][i_51_]; - float f_68_ = aFloatArrayArray8332[i_50_ + 1][i_51_]; - float f_69_ = aFloatArrayArray8323[1 + i_50_][i_51_]; - int i_70_ = is[i_50_][i_51_] & 0xff; - int i_71_ = 0xff & is[i_50_][1 + i_51_]; - int i_72_ = 0xff & is[i_50_ + 1][1 + i_51_]; - int i_73_ = 0xff & is[1 + i_50_][i_51_]; - int i_74_ = 0; - while_241_: - for (int i_75_ = 0; i_75_ < is_56_.length; i_75_++) { - Class348_Sub3 class348_sub3 = class348_sub3s_52_[i_75_]; - for (int i_76_ = 0; i_76_ < i_74_; i_76_++) { - if (class348_sub3 == class348_sub3s_49_[i_76_]) continue while_241_; - } - class348_sub3s_49_[i_74_++] = class348_sub3; - } - short[] is_77_ = (this.aShortArrayArray8299[i_51_ * this.anInt4587 - -i_50_] = new short[is_56_.length]); - for (int i_78_ = 0; i_78_ < is_56_.length; i_78_++) { - int i_79_ = ((i_50_ << this.anInt4588) + is_53_[i_78_]); - int i_80_ = ((i_51_ << this.anInt4588) - -is_54_[i_78_]); - int i_81_ = i_79_ >> anInt8302; - int i_82_ = i_80_ >> anInt8302; - int i_83_ = is_56_[i_78_]; - int i_84_ = is_55_[i_78_]; - int i_85_ = is_57_ != null ? is_57_[i_78_] : 0; - long l = ((long) i_82_ | ((long) i_83_ << 32 | (long) i_84_ << 48 | (long) (i_81_ << 16))); - int i_86_ = is_53_[i_78_]; - int i_87_ = is_54_[i_78_]; - int i_88_ = 74; - int i_89_ = 0; - float f_90_; - float f_91_; - float f_92_; - if (i_86_ != 0 || i_87_ != 0) { - if (i_86_ != 0 || (this.anInt4592 != i_87_)) { - if ((i_86_ == this.anInt4592) && this.anInt4592 == i_87_) { - f_91_ = f_64_; - f_92_ = f_66_; - f_90_ = f_65_; - i_88_ -= i_72_; - } else if ((this.anInt4592 != i_86_) || i_87_ != 0) { - float f_93_ = ((float) i_86_ / (float) this.anInt4592); - float f_94_ = ((float) i_87_ / (float) this.anInt4592); - float f_95_ = f + (f_67_ - f) * f_93_; - float f_96_ = f_59_ + (-f_59_ + f_68_) * f_93_; - float f_97_ = f_93_ * (f_69_ - f_60_) + f_60_; - float f_98_ = f_93_ * (-f_61_ + f_64_) + f_61_; - float f_99_ = f_62_ + (f_65_ - f_62_) * f_93_; - f_91_ = f_95_ + f_94_ * (-f_95_ + f_98_); - f_90_ = f_96_ + f_94_ * (f_99_ - f_96_); - float f_100_ = f_63_ + (-f_63_ + f_66_) * f_93_; - f_92_ = f_97_ + f_94_ * (f_100_ - f_97_); - int i_101_ = (((-i_70_ + i_73_) * i_86_ >> this.anInt4588) + i_70_); - int i_102_ = (i_71_ + (i_86_ * (-i_71_ + i_72_) >> this.anInt4588)); - i_88_ -= (i_101_ - -(i_87_ * (-i_101_ + i_102_) >> this.anInt4588)); - } else { - f_92_ = f_69_; - f_91_ = f_67_; - f_90_ = f_68_; - i_88_ -= i_73_; - } - } else { - i_88_ -= i_71_; - f_91_ = f_61_; - f_90_ = f_62_; - f_92_ = f_63_; - } - } else { - i_88_ -= i_70_; - f_90_ = f_59_; - f_91_ = f; - f_92_ = f_60_; - } - float f_103_ = 1.0F; - if (i_83_ != -1) { - int i_104_ = i_88_ * (i_83_ & 0x7f) >> 7; - if (i_104_ < 2) i_104_ = 2; - else if (i_104_ > 126) i_104_ = 126; - i_89_ = (Class10.anIntArray179[i_104_ | i_83_ & 0xff80]); - if ((this.anInt8294 & 0x7) == 0) { - f_103_ = ((f_91_ * (this.aHa_Sub3_8322.aFloatArray8170[0])) + f_90_ * (this.aHa_Sub3_8322.aFloatArray8170[1]) + (this.aHa_Sub3_8322.aFloatArray8170[2]) * f_92_); - f_103_ = ((f_103_ * (!(f_103_ > 0.0F) ? (this.aHa_Sub3_8322.aFloat8186) : (this.aHa_Sub3_8322.aFloat8174))) + (this.aHa_Sub3_8322.aFloat8093)); - } - } - Class348 class348 = null; - if ((i_79_ & anInt8311 - 1) == 0 && (-1 + anInt8311 & i_80_) == 0) class348 = class356.method3480(l, -6008); - int i_105_; - if (class348 == null) { - int i_106_; - if (i_84_ != i_83_) { - int i_107_ = (0x7f & i_84_) * i_88_ >> 7; - if (i_107_ >= 2) { - if (i_107_ > 126) i_107_ = 126; - } else i_107_ = 2; - i_106_ = (Class10.anIntArray179[i_107_ | i_84_ & 0xff80]); - if ((0x7 & this.anInt8294) == 0) { - float f_108_ = ((this.aHa_Sub3_8322.aFloatArray8170[2]) * f_92_ + (f_90_ * (this.aHa_Sub3_8322.aFloatArray8170[1]) + ((this.aHa_Sub3_8322.aFloatArray8170[0]) * f_91_))); - f_108_ = ((this.aHa_Sub3_8322.aFloat8093) + (f_103_ > 0.0F ? (this.aHa_Sub3_8322.aFloat8174) : (this.aHa_Sub3_8322.aFloat8186)) * f_103_); - int i_109_ = 0xff & i_106_ >> 16; - int i_110_ = (i_106_ & 0xff04) >> 8; - int i_111_ = 0xff & i_106_; - i_109_ *= f_108_; - i_110_ *= f_108_; - if (i_109_ < 0) i_109_ = 0; - else if (i_109_ > 255) i_109_ = 255; - i_111_ *= f_108_; - if (i_110_ >= 0) { - if (i_110_ > 255) i_110_ = 255; - } else i_110_ = 0; - if (i_111_ >= 0) { - if (i_111_ > 255) i_111_ = 255; - } else i_111_ = 0; - i_106_ = (i_109_ << 16 | i_110_ << 8 | i_111_); - } - } else i_106_ = i_89_; - if (Stream.c()) { - stream.a((float) i_79_); - stream.a((float) (i_85_ + (this.method3986(i_79_, i_80_, (byte) 126)))); - stream.a((float) i_80_); - stream.a((float) i_79_); - stream.a((float) i_80_); - if (anIntArrayArrayArray8314 != null) stream.a((float) (is_58_ != null ? is_58_[i_78_] - 1 : 0)); - if ((0x7 & this.anInt8294) != 0) { - stream.a(f_91_); - stream.a(f_90_); - stream.a(f_92_); - } - } else { - stream.b((float) i_79_); - stream.b((float) (this.method3986(i_79_, i_80_, (byte) -15) + i_85_)); - stream.b((float) i_80_); - stream.b((float) i_79_); - stream.b((float) i_80_); - if (anIntArrayArrayArray8314 != null) stream.b((float) (is_58_ == null ? 0 : -1 + (is_58_[i_78_]))); - if ((this.anInt8294 & 0x7) != 0) { - stream.b(f_91_); - stream.b(f_90_); - stream.b(f_92_); - } - } - if ((this.aHa_Sub3_8322.anInt8178) == 0) stream_46_.b(~0xffffff | i_106_); - else stream_46_.c(i_106_ | ~0xffffff); - i_105_ = anInt8303++; - is_77_[i_78_] = (short) i_105_; - if (i_83_ != -1) class348_sub3s_47_[i_105_] = class348_sub3s_52_[i_78_]; - class356.method3483((byte) 108, l, new Class348_Sub29(is_77_[i_78_])); - } else { - is_77_[i_78_] = ((Class348_Sub29) class348).aShort6911; - i_105_ = 0xffff & is_77_[i_78_]; - if (i_83_ != -1 && (class348_sub3s_47_[i_105_].aLong4291 > class348_sub3s_52_[i_78_].aLong4291)) class348_sub3s_47_[i_105_] = class348_sub3s_52_[i_78_]; - } - for (int i_112_ = 0; i_74_ > i_112_; i_112_++) - class348_sub3s_49_[i_112_].method2741(i_105_, f_103_, 1624, i_88_, i_89_); - anInt8301++; - } - } - } - } - for (int i_113_ = 0; i_113_ < anInt8303; i_113_++) { - Class348_Sub3 class348_sub3 = class348_sub3s_47_[i_113_]; - if (class348_sub3 != null) class348_sub3.method2744((byte) -125, i_113_); - } - for (int i_114_ = 0; this.anInt4587 > i_114_; i_114_++) { - for (int i_115_ = 0; i_115_ < this.anInt4590; i_115_++) { - short[] is_116_ = (this.aShortArrayArray8299[i_115_ * this.anInt4587 - -i_114_]); - if (is_116_ != null) { - int i_117_ = 0; - int i_118_ = 0; - while (is_116_.length > i_118_) { - int i_119_ = is_116_[i_118_++] & 0xffff; - int i_120_ = 0xffff & is_116_[i_118_++]; - int i_121_ = 0xffff & is_116_[i_118_++]; - Class348_Sub3 class348_sub3 = class348_sub3s_47_[i_119_]; - Class348_Sub3 class348_sub3_122_ = class348_sub3s_47_[i_120_]; - Class348_Sub3 class348_sub3_123_ = class348_sub3s_47_[i_121_]; - Class348_Sub3 class348_sub3_124_ = null; - if (class348_sub3 != null) { - class348_sub3_124_ = class348_sub3; - class348_sub3.method2742(i_117_, i_115_, i_114_, (byte) -80); - } - if (class348_sub3_122_ != null) { - class348_sub3_122_.method2742(i_117_, i_115_, i_114_, (byte) -69); - if (class348_sub3_124_ == null || ((class348_sub3_124_.aLong4291) > (class348_sub3_122_.aLong4291))) class348_sub3_124_ = class348_sub3_122_; - } - if (class348_sub3_123_ != null) { - class348_sub3_123_.method2742(i_117_, i_115_, i_114_, (byte) -79); - if (class348_sub3_124_ == null || ((class348_sub3_124_.aLong4291) > (class348_sub3_123_.aLong4291))) class348_sub3_124_ = class348_sub3_123_; - } - if (class348_sub3_124_ != null) { - if (class348_sub3 != null) class348_sub3_124_.method2744((byte) -113, i_119_); - if (class348_sub3_122_ != null) class348_sub3_124_.method2744((byte) -111, i_120_); - if (class348_sub3_123_ != null) class348_sub3_124_.method2744((byte) -116, i_121_); - class348_sub3_124_.method2742(i_117_, i_115_, i_114_, (byte) -107); - } - i_117_++; - } - } - } - } - stream.a(); - stream_46_.a(); - anInterface5_Impl1_8326 = this.aHa_Sub3_8322.method3889(false, 16711680); - anInterface5_Impl1_8326.method17(nativeheapbuffer, 4, anInt8303 * 4, (byte) -126); - anInterface5_Impl1_8327 = this.aHa_Sub3_8322.method3889(false, 16711680); - anInterface5_Impl1_8327.method17(nativeheapbuffer_45_, i, i * anInt8303, (byte) -59); - if ((0x7 & this.anInt8294) == 0) { - if (anIntArrayArrayArray8314 == null) this.aClass130_8324 = (this.aHa_Sub3_8322.method3812(0, (new Class58[]{new Class58(new Class325[]{Class325.aClass325_4073, Class325.aClass325_4078}), new Class58(Class325.aClass325_4076)}))); - else this.aClass130_8324 = (this.aHa_Sub3_8322.method3812(0, (new Class58[]{new Class58(new Class325[]{Class325.aClass325_4073, Class325.aClass325_4078, Class325.aClass325_4077}), new Class58(Class325.aClass325_4076)}))); - } else if (anIntArrayArrayArray8314 != null) this.aClass130_8324 = (this.aHa_Sub3_8322.method3812(0, (new Class58[]{new Class58(new Class325[]{Class325.aClass325_4073, Class325.aClass325_4078, Class325.aClass325_4077, Class325.aClass325_4075}), new Class58(Class325.aClass325_4076)}))); - else this.aClass130_8324 = (this.aHa_Sub3_8322.method3812(0, (new Class58[]{new Class58(new Class325[]{Class325.aClass325_4073, Class325.aClass325_4078, Class325.aClass325_4075}), new Class58(Class325.aClass325_4076)}))); - int i_125_ = 0; - for (int i_126_ = 0; i_126_ < class348_sub3s.length; i_126_++) { - if (class348_sub3s[i_126_].anInt6589 > 0) class348_sub3s[i_125_++] = class348_sub3s[i_126_]; - } - aClass348_Sub3Array8328 = new Class348_Sub3[i_125_]; - long[] ls = new long[i_125_]; - for (int i_127_ = 0; i_125_ > i_127_; i_127_++) { - Class348_Sub3 class348_sub3 = class348_sub3s[i_127_]; - ls[i_127_] = class348_sub3.aLong4291; - aClass348_Sub3Array8328[i_127_] = class348_sub3; - class348_sub3.method2740(-84, anInt8303); - } - Class339.method2669(aClass348_Sub3Array8328, ls, -101); - if (aClass330_8307 != null) aClass330_8307.method2632(128); - } - anInt8298++; - anIntArrayArrayArray8308 = null; - aClass356_8325 = null; - anIntArrayArrayArray8291 = null; - aClass348_Sub3ArrayArrayArray8312 = null; - aFloatArrayArray8333 = aFloatArrayArray8332 = aFloatArrayArray8323 = null; - this.anIntArrayArrayArray8296 = null; - aByteArrayArray8330 = null; - anIntArrayArrayArray8314 = null; - this.anIntArrayArrayArray8321 = this.anIntArrayArrayArray8313 = null; - } - - final boolean method3989(r var_r, int i, int i_128_, int i_129_, int i_130_, boolean bool) { - anInt8316++; - if (aClass330_8307 == null || var_r == null) return false; - int i_131_ = (-(this.aHa_Sub3_8322.anInt8133 * i_128_ >> 8) + i >> this.aHa_Sub3_8322.anInt8107); - int i_132_ = (i_129_ + -((this.aHa_Sub3_8322.anInt8114 * i_128_) >> 8) >> this.aHa_Sub3_8322.anInt8107); - return aClass330_8307.method2628(i_131_, (byte) 69, var_r, i_132_); - } - - final void ka(int i, int i_133_, int i_134_) { - if ((aByteArrayArray8330[i][i_133_] & 0xff) < i_134_) aByteArrayArray8330[i][i_133_] = (byte) i_134_; - anInt8309++; - } - - final void method3984(int i, int i_135_, int i_136_, boolean[][] bools, boolean bool, int i_137_, int i_138_) { - method4007(i, i_135_, i_137_, bool, bools, -1, i_138_, i_136_); - anInt8318++; - } - - s_Sub3(ha_Sub3 var_ha_Sub3, int i, int i_139_, int i_140_, int i_141_, int[][] is, int[][] is_142_, int i_143_) { - super(i_140_, i_141_, i_143_, is); - aClass262_8286 = new Class262(); - do { - try { - anInt8302 = this.anInt4588 - 2; - this.aHa_Sub3_8322 = var_ha_Sub3; - anIntArrayArrayArray8308 = new int[i_140_][i_141_][]; - anIntArrayArrayArray8291 = new int[i_140_][i_141_][]; - this.anIntArrayArrayArray8296 = new int[i_140_][i_141_][]; - aFloatArrayArray8333 = (new float[this.anInt4587 - -1] - [this.anInt4590 - -1]); - aClass348_Sub3ArrayArrayArray8312 = new Class348_Sub3[i_140_][i_141_][]; - aByteArrayArray8317 = new byte[i_140_][i_141_]; - anInt8311 = 1 << anInt8302; - this.aShortArrayArray8299 = new short[i_140_ * i_141_][]; - aByteArrayArray8330 = new byte[1 + i_140_][1 + i_141_]; - this.anIntArrayArrayArray8313 = new int[i_140_][i_141_][]; - aFloatArrayArray8332 = (new float[this.anInt4587 + 1] - [this.anInt4590 + 1]); - this.anIntArrayArrayArray8321 = new int[i_140_][i_141_][]; - this.anInt8294 = i_139_; - aFloatArrayArray8323 = (new float[1 + this.anInt4587] - [1 + this.anInt4590]); - for (int i_144_ = 0; (this.anInt4590 >= i_144_); i_144_++) { - for (int i_145_ = 0; this.anInt4587 >= i_145_; i_145_++) { - int i_146_ = this.anIntArrayArray4584[i_145_][i_144_]; - if ((float) i_146_ > aFloat8305) aFloat8305 = (float) i_146_; - if ((float) i_146_ < aFloat8306) aFloat8306 = (float) i_146_; - if (i_145_ > 0 && i_144_ > 0 && (i_145_ < this.anInt4587) && this.anInt4590 > i_144_) { - int i_147_ = (-is_142_[-1 + i_145_][i_144_] + is_142_[1 + i_145_][i_144_]); - int i_148_ = (-is_142_[i_145_][-1 + i_144_] + is_142_[i_145_][1 + i_144_]); - float f = (float) (1.0 / (Math.sqrt(4 * (i_143_ * i_143_) + (i_147_ * i_147_ - -(i_148_ * i_148_))))); - aFloatArrayArray8333[i_145_][i_144_] = (float) i_147_ * f; - aFloatArrayArray8332[i_145_][i_144_] = (float) (-i_143_ * 2) * f; - aFloatArrayArray8323[i_145_][i_144_] = f * (float) i_148_; - } - } - } - aFloat8306--; - aFloat8305++; - aClass356_8325 = new Class356(128); - if ((this.anInt8294 & 0x10) == 0) break; - aClass330_8307 = new Class330(this.aHa_Sub3_8322, this); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qm.(" + (var_ha_Sub3 != null ? "{...}" : "null") + ',' + i + ',' + i_139_ + ',' + i_140_ + ',' + i_141_ + ',' + (is != null ? "{...}" : "null") + ',' + (is_142_ != null ? "{...}" : "null") + ',' + i_143_ + ')')); - } - break; - } while (false); - } - - private final void method4007(int i, int i_149_, int i_150_, boolean bool, boolean[][] bools, int i_151_, int i_152_, int i_153_) { - if (i_151_ == -1) { - if (aClass348_Sub3Array8328 != null) { - int i_154_ = i_153_ - -i_153_ + 1; - i_154_ *= i_154_; - if (i_154_ > Class286_Sub1.anIntArray6189.length) Class286_Sub1.anIntArray6189 = new int[i_154_]; - int i_155_ = -i_153_ + i; - int i_156_ = i_155_; - if (i_155_ < 0) i_155_ = 0; - int i_157_ = i_149_ + -i_153_; - int i_158_ = i_157_; - if (i_157_ < 0) i_157_ = 0; - int i_159_ = i_153_ + i; - if (this.anInt4587 - 1 < i_159_) i_159_ = this.anInt4587 - 1; - int i_160_ = i_149_ + i_153_; - if (i_160_ > this.anInt4590 - 1) i_160_ = this.anInt4590 - 1; - Class348_Sub48.anInt7133 = 0; - for (int i_161_ = i_155_; i_161_ <= i_159_; i_161_++) { - boolean[] bools_162_ = bools[i_161_ - i_156_]; - for (int i_163_ = i_157_; i_160_ >= i_163_; i_163_++) { - if (bools_162_[i_163_ - i_158_]) Class286_Sub1.anIntArray6189[Class348_Sub48.anInt7133++] = i_161_ + this.anInt4587 * i_163_; - } - } - if (i_150_ == -1) this.aHa_Sub3_8322.method3825(8); - else { - this.aHa_Sub3_8322.method3867((float) i_150_, 101); - this.aHa_Sub3_8322.method3857((byte) -71); - } - this.aHa_Sub3_8322.method3942(5); - this.aHa_Sub3_8322.method3866(((this.anInt8294) & 0x7) != 0, true); - this.aHa_Sub3_8322.method3814(false, false, -1, (byte) 101); - this.aHa_Sub3_8322.method3925(112, anInterface5_Impl1_8327, 0); - for (int i_164_ = 0; i_164_ < aClass348_Sub3Array8328.length; i_164_++) - aClass348_Sub3Array8328[i_164_].method2737((byte) -30, Class286_Sub1.anIntArray6189, Class348_Sub48.anInt7133); - Class101_Sub2 class101_sub2 = this.aHa_Sub3_8322.method3934(-97); - class101_sub2.method894(0, -1, 0); - this.aHa_Sub3_8322.method3915(0); - if (!aClass262_8286.method2002((byte) 18)) { - int i_165_ = this.aHa_Sub3_8322.anInt8144; - int i_166_ = this.aHa_Sub3_8322.anInt8091; - this.aHa_Sub3_8322.L(0, i_166_, this.aHa_Sub3_8322.anInt8105); - this.aHa_Sub3_8322.method3866(false, true); - this.aHa_Sub3_8322.method3946(-32, false); - this.aHa_Sub3_8322.method3817(60, 128); - this.aHa_Sub3_8322.method3814(false, false, -2, (byte) 100); - this.aHa_Sub3_8322.method3850((byte) 63, (this.aHa_Sub3_8322.anInterface18_8147)); - this.aHa_Sub3_8322.method3874(Class328_Sub3.aClass229_6519, 116, Class167.aClass229_2207); - this.aHa_Sub3_8322.method3849((byte) 47, 0, Class348_Sub40_Sub39.aClass70_9485); - this.aHa_Sub3_8322.method3885(0, true, Class285_Sub2.aClass70_8503); - for (Class348 class348 = aClass262_8286.method1995(i_151_ + 5); class348 != null; class348 = aClass262_8286.method1990((byte) 106)) { - Class348_Sub38 class348_sub38 = (Class348_Sub38) class348; - class348_sub38.method3032(i_149_, i_153_, bools, false, i); - } - this.aHa_Sub3_8322.method3849((byte) 47, 0, Class342.aClass70_4247); - this.aHa_Sub3_8322.method3885(0, true, Class342.aClass70_4247); - this.aHa_Sub3_8322.method3850((byte) 90, null); - this.aHa_Sub3_8322.L(i_165_, i_166_, this.aHa_Sub3_8322.anInt8105); - } - if (aClass330_8307 != null) { - this.aHa_Sub3_8322.method3925(-91, anInterface5_Impl1_8327, 0); - this.aHa_Sub3_8322.method3925(-71, anInterface5_Impl1_8326, 1); - this.aHa_Sub3_8322.method3862(0, this.aClass130_8324); - aClass330_8307.method2630(128, i_153_, i, bool, bools, i_149_); - } - } - anInt8297++; - } - } - - final void method3981(Class348_Sub1 class348_sub1, int[] is) { - try { - aClass262_8286.method1999(new Class348_Sub38((this.aHa_Sub3_8322), this, class348_sub1, is), -20180); - anInt8287++; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qm.L(" + (class348_sub1 != null ? "{...}" : "null") + ',' + (is != null ? "{...}" : "null") + ')')); - } - } - - final void U(int i, int i_167_, int[] is, int[] is_168_, int[] is_169_, int[] is_170_, int[] is_171_, int[] is_172_, int[] is_173_, int[] is_174_, int i_175_, int i_176_, int i_177_, boolean bool) { - try { - anInt8295++; - d var_d = this.aHa_Sub3_8322.aD4579; - if (is_170_ != null && anIntArrayArrayArray8314 == null) anIntArrayArrayArray8314 = new int[this.anInt4587][this.anInt4590][]; - if (is_168_ != null && anIntArrayArrayArray8308 == null) anIntArrayArrayArray8308 = new int[this.anInt4587][this.anInt4590][]; - this.anIntArrayArrayArray8321[i][i_167_] = is; - this.anIntArrayArrayArray8313[i][i_167_] = is_169_; - this.anIntArrayArrayArray8296[i][i_167_] = is_171_; - anIntArrayArrayArray8291[i][i_167_] = is_172_; - if (anIntArrayArrayArray8314 != null) anIntArrayArrayArray8314[i][i_167_] = is_170_; - if (anIntArrayArrayArray8308 != null) anIntArrayArrayArray8308[i][i_167_] = is_168_; - Class348_Sub3[] class348_sub3s = (aClass348_Sub3ArrayArrayArray8312[i][i_167_] = new Class348_Sub3[is_171_.length]); - for (int i_178_ = 0; i_178_ < is_171_.length; i_178_++) { - int i_179_ = is_173_[i_178_]; - int i_180_ = is_174_[i_178_]; - if ((this.anInt8294 & 0x20) != 0 && i_179_ != -1 && var_d.method3(i_179_, -6662).aBoolean209) { - i_180_ = 128; - i_179_ = -1; - } - long l = (long) i_179_ | ((long) (i_180_ << 14) | ((long) i_176_ << 42 | (long) i_177_ << 48 | (long) i_175_ << 28)); - Class348 class348; - for (class348 = aClass356_8325.method3480(l, -6008); class348 != null; class348 = aClass356_8325.method3476(true)) { - Class348_Sub3 class348_sub3 = (Class348_Sub3) class348; - if (i_179_ == class348_sub3.anInt6567 && (class348_sub3.aFloat6582 == (float) i_180_) && i_175_ == class348_sub3.anInt6571 && class348_sub3.anInt6575 == i_176_ && class348_sub3.anInt6569 == i_177_) break; - } - if (class348 == null) { - class348_sub3s[i_178_] = new Class348_Sub3(this, i_179_, i_180_, i_175_, i_176_, i_177_); - aClass356_8325.method3483((byte) 27, l, class348_sub3s[i_178_]); - } else class348_sub3s[i_178_] = (Class348_Sub3) class348; - } - if (bool) aByteArrayArray8317[i][i_167_] = (byte) Class273.method2057((aByteArrayArray8317[i][i_167_]), 1); - if (is_171_.length > anInt8331) anInt8331 = is_171_.length; - anInt8329 += is_171_.length; - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qm.U(" + i + ',' + i_167_ + ',' + (is != null ? "{...}" : "null") + ',' + (is_168_ != null ? "{...}" : "null") + ',' + (is_169_ != null ? "{...}" : "null") + ',' + (is_170_ != null ? "{...}" : "null") + ',' + (is_171_ != null ? "{...}" : "null") + ',' + (is_172_ != null ? "{...}" : "null") + ',' + (is_173_ != null ? "{...}" : "null") + ',' + (is_174_ != null ? "{...}" : "null") + ',' + i_175_ + ',' + i_176_ + ',' + i_177_ + ',' + bool + ')')); - } - } - - final void method3983(int i, int i_181_, int i_182_, boolean[][] bools, boolean bool, int i_183_) { - method4007(i, i_181_, -1, bool, bools, -1, i_183_, i_182_); - anInt8288++; - } - - final void method3978(int i, int i_184_, int[] is, int[] is_185_, int[] is_186_, int[] is_187_, int[] is_188_, int[] is_189_, int[] is_190_, int[] is_191_, int[] is_192_, int[] is_193_, int[] is_194_, int i_195_, int i_196_, int i_197_, boolean bool) { - try { - anInt8300++; - int i_198_ = is_191_.length; - int[] is_199_ = new int[i_198_ * 3]; - int[] is_200_ = new int[i_198_ * 3]; - int[] is_201_ = new int[i_198_ * 3]; - int[] is_202_ = new int[3 * i_198_]; - int[] is_203_ = new int[3 * i_198_]; - int[] is_204_ = new int[3 * i_198_]; - int[] is_205_ = is_185_ == null ? null : new int[i_198_ * 3]; - int[] is_206_ = is_187_ == null ? null : new int[3 * i_198_]; - int i_207_ = 0; - for (int i_208_ = 0; i_208_ < i_198_; i_208_++) { - int i_209_ = is_188_[i_208_]; - int i_210_ = is_189_[i_208_]; - int i_211_ = is_190_[i_208_]; - is_199_[i_207_] = is[i_209_]; - is_200_[i_207_] = is_186_[i_209_]; - is_201_[i_207_] = is_191_[i_208_]; - is_203_[i_207_] = is_193_[i_208_]; - is_204_[i_207_] = is_194_[i_208_]; - is_202_[i_207_] = is_192_ == null ? is_191_[i_208_] : is_192_[i_208_]; - if (is_185_ != null) is_205_[i_207_] = is_185_[i_209_]; - if (is_187_ != null) is_206_[i_207_] = is_187_[i_209_]; - i_207_++; - is_199_[i_207_] = is[i_210_]; - is_200_[i_207_] = is_186_[i_210_]; - is_201_[i_207_] = is_191_[i_208_]; - is_203_[i_207_] = is_193_[i_208_]; - is_204_[i_207_] = is_194_[i_208_]; - is_202_[i_207_] = is_192_ == null ? is_191_[i_208_] : is_192_[i_208_]; - if (is_185_ != null) is_205_[i_207_] = is_185_[i_210_]; - if (is_187_ != null) is_206_[i_207_] = is_187_[i_210_]; - i_207_++; - is_199_[i_207_] = is[i_211_]; - is_200_[i_207_] = is_186_[i_211_]; - is_201_[i_207_] = is_191_[i_208_]; - is_203_[i_207_] = is_193_[i_208_]; - is_204_[i_207_] = is_194_[i_208_]; - is_202_[i_207_] = is_192_ == null ? is_191_[i_208_] : is_192_[i_208_]; - if (is_185_ != null) is_205_[i_207_] = is_185_[i_211_]; - if (is_187_ != null) is_206_[i_207_] = is_187_[i_211_]; - i_207_++; - } - U(i, i_184_, is_199_, is_205_, is_200_, is_206_, is_201_, is_202_, is_203_, is_204_, i_195_, i_196_, i_197_, bool); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("qm.E(" + i + ',' + i_184_ + ',' + (is != null ? "{...}" : "null") + ',' + (is_185_ != null ? "{...}" : "null") + ',' + (is_186_ != null ? "{...}" : "null") + ',' + (is_187_ != null ? "{...}" : "null") + ',' + (is_188_ != null ? "{...}" : "null") + ',' + (is_189_ != null ? "{...}" : "null") + ',' + (is_190_ != null ? "{...}" : "null") + ',' + (is_191_ != null ? "{...}" : "null") + ',' + (is_192_ != null ? "{...}" : "null") + ',' + (is_193_ != null ? "{...}" : "null") + ',' + (is_194_ != null ? "{...}" : "null") + ',' + i_195_ + ',' + i_196_ + ',' + i_197_ + ',' + bool + ')')); - } - } - - final void method3987(int i, int i_212_, int i_213_, int i_214_, int i_215_, int i_216_, int i_217_, boolean[][] bools) { - anInt8304++; - if (anInt8329 > 0) { - Interface5_Impl2 interface5_impl2 = this.aHa_Sub3_8322.method3822(28, anInt8301); - int i_218_ = 0; - int i_219_ = 32767; - int i_220_ = -32768; - for (int i_221_ = 0; i_221_ < 4; i_221_++) { - i_218_ = 0; - Buffer buffer = interface5_impl2.method24(true, false); - if (buffer != null) { - Stream stream = this.aHa_Sub3_8322.method3893(buffer, 9179); - if (Stream.c()) { - for (int i_227_ = i_215_; i_217_ > i_227_; i_227_++) { - int i_228_ = i_227_ * this.anInt4587 - -i_214_; - for (int i_229_ = i_214_; i_229_ < i_216_; i_229_++) { - if (bools[i_229_ + -i_214_][i_227_ - i_215_]) { - short[] is = (this.aShortArrayArray8299[i_228_]); - if (is != null) { - for (int i_230_ = 0; is.length > i_230_; i_230_++) { - int i_231_ = is[i_230_] & 0xffff; - stream.d(i_231_); - if (i_231_ > i_220_) i_220_ = i_231_; - i_218_++; - if (i_231_ < i_219_) i_219_ = i_231_; - } - } - } - i_228_++; - } - } - } else { - for (int i_222_ = i_215_; i_217_ > i_222_; i_222_++) { - int i_223_ = i_214_ + i_222_ * this.anInt4587; - for (int i_224_ = i_214_; i_224_ < i_216_; i_224_++) { - if (bools[i_224_ - i_214_][-i_215_ + i_222_]) { - short[] is = (this.aShortArrayArray8299[i_223_]); - if (is != null) { - for (int i_225_ = 0; (i_225_ < is.length); i_225_++) { - int i_226_ = 0xffff & is[i_225_]; - stream.a(i_226_); - if (i_220_ < i_226_) i_220_ = i_226_; - i_218_++; - if (i_219_ > i_226_) i_219_ = i_226_; - } - } - } - i_223_++; - } - } - } - stream.a(); - if (interface5_impl2.method22(-23)) break; - } - } - if (i_218_ > 0) { - this.aHa_Sub3_8322.method3932((byte) -127); - this.aHa_Sub3_8322.method3838(true, false); - this.aHa_Sub3_8322.method3866(false, true); - this.aHa_Sub3_8322.method3890(false, (byte) 113); - this.aHa_Sub3_8322.method3946(-32, false); - this.aHa_Sub3_8322.method3817(61, 0); - this.aHa_Sub3_8322.method3814(false, false, -2, (byte) 98); - this.aHa_Sub3_8322.method3850((byte) -22, null); - Class101_Sub2 class101_sub2 = this.aHa_Sub3_8322.method3934(-71); - float[] fs = this.aHa_Sub3_8322.method3837(true); - fs[6] = 0.0F; - fs[13] = -(((float) (2 * i_212_) + (float) (i_213_ * i_217_) / 128.0F) / (float) (this.aHa_Sub3_8322.anInt7962)) + 1.0F; - fs[11] = 0.0F; - fs[0] = ((float) i_213_ / ((float) (this.aHa_Sub3_8322.anInt7931) * ((float) this.anInt4592 * 128.0F))); - fs[14] = -aFloat8306 / (aFloat8305 - aFloat8306); - fs[2] = 0.0F; - fs[15] = 1.0F; - fs[5] = ((float) i_213_ / ((float) this.anInt4592 * 128.0F * (float) (this.aHa_Sub3_8322.anInt7962))); - fs[4] = 0.0F; - fs[3] = 0.0F; - fs[8] = 0.0F; - fs[7] = 0.0F; - fs[10] = 1.0F / (aFloat8305 - aFloat8306); - fs[9] = 0.0F; - fs[12] = -1.0F - (((float) (i_213_ * i_214_) / 128.0F - (float) (2 * i)) / (float) (this.aHa_Sub3_8322.anInt7931)); - fs[1] = 0.0F; - class101_sub2.method935(0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 1.0F, 1.0F, 0); - this.aHa_Sub3_8322.method3821(-4845); - this.aHa_Sub3_8322.method3915(0); - if ((0x7 & this.anInt8294) != 0) { - this.aHa_Sub3_8322.method3866(true, true); - this.aHa_Sub3_8322.method3892(0); - } else this.aHa_Sub3_8322.method3866(false, true); - this.aHa_Sub3_8322.method3926((byte) 59, false); - this.aHa_Sub3_8322.method3925(63, anInterface5_Impl1_8327, 0); - this.aHa_Sub3_8322.method3925(-90, anInterface5_Impl1_8326, 1); - this.aHa_Sub3_8322.method3862(0, this.aClass130_8324); - this.aHa_Sub3_8322.method3938(Class247.aClass21_3181, i_218_ / 3, interface5_impl2, i_219_, 0, -i_219_ + i_220_ - -1, 114); - this.aHa_Sub3_8322.method3926((byte) 82, true); - } - } - } - - static final int method4008(byte i) { - anInt8289++; - if (i >= -121) aClass21_8320 = null; - if (Class348_Sub49.anInt7207 == 1) return Class339.anInt4211; - return 0; - } -} diff --git a/client/src/wa.java b/client/src/wa.java deleted file mode 100644 index 6b71e24d3..000000000 --- a/client/src/wa.java +++ /dev/null @@ -1,27 +0,0 @@ -/* wa - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class wa implements Interface4 { - j aJ4732; - xa aXa4733; - private long aLong4734 = 0L; - - public final void method14(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, boolean bool, boolean bool_5_) { - Z(aLong4734, this.aJ4732.nativeid, this.aXa4733.nativeid, i, i_0_, i_1_, i_2_, i_3_, i_4_, bool, bool_5_); - } - - private final native void X(long l, long l_6_, long l_7_, int i, int i_8_, int i_9_, int i_10_, int i_11_, int i_12_, boolean bool, boolean bool_13_); - - private final native void Z(long l, long l_14_, long l_15_, int i, int i_16_, int i_17_, int i_18_, int i_19_, int i_20_, boolean bool, boolean bool_21_); - - public final void method15(int i, int i_22_, int i_23_, int i_24_, int i_25_, int i_26_, boolean bool, boolean bool_27_) { - X(aLong4734, this.aJ4732.nativeid, this.aXa4733.nativeid, i, i_22_, i_23_, i_24_, i_25_, i_26_, bool, bool_27_); - } - - wa(oa var_oa, j var_j, xa var_xa) { - aLong4734 = var_oa.nativeid; - this.aJ4732 = var_j; - this.aXa4733 = var_xa; - } -} diff --git a/client/src/xa.java b/client/src/xa.java deleted file mode 100644 index 71287818d..000000000 --- a/client/src/xa.java +++ /dev/null @@ -1,23 +0,0 @@ -/* xa - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class xa implements Interface13, Interface19 { - long nativeid = 0L; - - private final native void r(int i, int i_0_); - - private final native void va(long l, boolean bool); - - public final void w(boolean bool) { - va(this.nativeid, bool); - } - - protected final void finalize() { - if (this.nativeid != 0L) Class257.method1947(0, this); - } - - xa(int i, int i_1_) { - r(i, i_1_); - } -} diff --git a/client/src/ya.java b/client/src/ya.java deleted file mode 100644 index 974b3dfdf..000000000 --- a/client/src/ya.java +++ /dev/null @@ -1,23 +0,0 @@ -/* ya - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -final class ya extends za implements Interface19 { - long nativeid; - - public final native void w(boolean bool); - - final native void ga(); - - protected final void finalize() { - if (this.nativeid != 0L) Class257.method1947(0, this); - } - - private final native void aa(oa var_oa, int i); - - final native void r(); - - ya(oa var_oa, int i) { - aa(var_oa, i); - } -} diff --git a/client/src/za.java b/client/src/za.java deleted file mode 100644 index 5c7a250e7..000000000 --- a/client/src/za.java +++ /dev/null @@ -1,45 +0,0 @@ -/* za - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -abstract class za extends Class348 { - static Class138 aClass138_7274 = new Class138(10, 2, 2, 0); - static int anInt7275; - static int anInt7276 = 0; - - static final void method3437(int i, int i_0_) { - r var_r = null; - for (int i_1_ = i; i_1_ < i_0_; i_1_++) { - s var_s = Class348_Sub1_Sub1.aSArray8801[i_1_]; - if (var_s != null) { - for (int i_2_ = 0; i_2_ < Class348_Sub41.anInt7054; i_2_++) { - for (int i_3_ = 0; i_3_ < Class318_Sub7.anInt6451; i_3_++) { - var_r = var_s.fa(i_3_, i_2_, var_r); - if (var_r != null) { - int i_4_ = i_3_ << Class362.anInt4459; - int i_5_ = i_2_ << Class362.anInt4459; - for (int i_6_ = i_1_ - 1; i_6_ >= 0; i_6_--) { - s var_s_7_ = Class348_Sub1_Sub1.aSArray8801[i_6_]; - if (var_s_7_ != null) { - int i_8_ = (var_s.method3982((byte) -86, i_2_, i_3_) - var_s_7_.method3982((byte) -86, i_2_, i_3_)); - int i_9_ = (var_s.method3982((byte) -86, i_2_, i_3_ + 1) - var_s_7_.method3982((byte) -86, i_2_, i_3_ + 1)); - int i_10_ = (var_s.method3982((byte) -86, i_2_ + 1, i_3_ + 1) - var_s_7_.method3982((byte) -86, i_2_ + 1, i_3_ + 1)); - int i_11_ = (var_s.method3982((byte) -86, i_2_ + 1, i_3_) - var_s_7_.method3982((byte) -86, i_2_ + 1, i_3_)); - var_s_7_.CA(var_r, i_4_, ((i_8_ + i_9_ + i_10_ + i_11_) / 4), i_5_, 0, false); - } - } - } - } - } - } - } - } - - public static void method3438(byte i) { - if (i > 39) aClass138_7274 = null; - } - - public za() { - /* empty */ - } -} diff --git a/client/src/za_Sub1.java b/client/src/za_Sub1.java deleted file mode 100644 index 9888946cb..000000000 --- a/client/src/za_Sub1.java +++ /dev/null @@ -1,37 +0,0 @@ -/* za_Sub1 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaclib.memory.heap.NativeHeap; - -final class za_Sub1 extends za { - NativeHeap aNativeHeap9770; - static int anInt9771; - static int anInt9772; - static Class113 aClass113_9773 = new Class113(); - static int anInt9774; - static int anInt9775 = -1; - static int anInt9776 = 0; - - static final int method3439(int i) { - anInt9771++; - if (i <= 92) return 99; - if (Class348_Sub49.anInt7207 == 1) return Class348_Sub16_Sub1.anInt8854; - return Class59_Sub1.anInt5283; - } - - za_Sub1(int i) { - this.aNativeHeap9770 = new NativeHeap(i); - } - - final void method3440(int i) { - anInt9772++; - this.aNativeHeap9770.b(); - int i_0_ = -30 / ((i - -26) / 52); - } - - public static void method3441(int i) { - aClass113_9773 = null; - if (i != 1) method3439(-118); - } -} diff --git a/client/src/za_Sub2.java b/client/src/za_Sub2.java deleted file mode 100644 index c8e84334c..000000000 --- a/client/src/za_Sub2.java +++ /dev/null @@ -1,104 +0,0 @@ -/* za_Sub2 - Decompiled by JODE - * Visit http://jode.sourceforge.net/ - */ - -import jaclib.memory.heap.NativeHeap; -import jaggl.OpenGL; - -final class za_Sub2 extends za { - static int anInt9777; - static int anInt9778; - static int anInt9779; - static int regionTileX; - static Class138 aClass138_9781; - NativeHeap aNativeHeap9782; - static boolean aBoolean9783 = false; - - static final Class193 method3442(int i, byte[] is, Class377 class377, int i_0_) { - try { - anInt9779++; - if (is == null) return null; - int i_1_ = OpenGL.glGenProgramARB(); - OpenGL.glBindProgramARB(i, i_1_); - OpenGL.glProgramRawARB(i, 34933, is); - OpenGL.glGetIntegerv(34379, Class104.anIntArray1626, 0); - if (Class104.anIntArray1626[0] != -1) { - OpenGL.glBindProgramARB(i, 0); - return null; - } - OpenGL.glBindProgramARB(i, 0); - if (i_0_ != 4) return null; - return new Class193(class377, i, i_1_); - } catch (RuntimeException runtimeexception) { - throw Class348_Sub17.method2929(runtimeexception, ("cu.A(" + i + ',' + (is != null ? "{...}" : "null") + ',' + (class377 != null ? "{...}" : "null") + ',' + i_0_ + ')')); - } - } - - static final void method3443(boolean bool, Class318_Sub1_Sub3_Sub3 class318_sub1_sub3_sub3) { - anInt9778++; - if ((class318_sub1_sub3_sub3.anIntArray10242) != null || (class318_sub1_sub3_sub3.anIntArray10296) != null) { - boolean bool_2_ = bool; - for (int i = 0; i < (class318_sub1_sub3_sub3.anIntArray10242).length; i++) { - int i_3_ = -1; - if ((class318_sub1_sub3_sub3.anIntArray10242) != null) i_3_ = (class318_sub1_sub3_sub3.anIntArray10242[i]); - if (i_3_ == -1) { - if (!class318_sub1_sub3_sub3.method2423(-80, i, -1)) bool_2_ = false; - } else { - bool_2_ = false; - boolean bool_4_ = false; - boolean bool_5_ = false; - int i_6_; - int i_7_; - if ((i_3_ & ~0x3fffffff) == -1073741824) { - int i_8_ = i_3_ & 0xfffffff; - int i_9_ = i_8_ >> 14; - i_7_ = (class318_sub1_sub3_sub3.x) - 512 * (i_9_ - regionTileX) - 256; - int i_10_ = i_8_ & 0x3fff; - i_6_ = (-256 - (i_10_ - Class90.regionTileY) * 512 + (class318_sub1_sub3_sub3.y)); - } else if ((0x8000 & i_3_) == 0) { - Class348_Sub22 class348_sub22 = ((Class348_Sub22) Class282.aClass356_3654.method3480(i_3_, -6008)); - if (class348_sub22 == null) { - class318_sub1_sub3_sub3.method2423(-96, i, -1); - continue; - } - Npc npc = (class348_sub22.aNpc_6859); - i_6_ = ((class318_sub1_sub3_sub3.y) - npc.y); - i_7_ = (-(npc.x) + (class318_sub1_sub3_sub3.x)); - } else { - int i_11_ = i_3_ & 0x7fff; - Player player = (Class294.aPlayerArray5058[i_11_]); - if (player == null) { - class318_sub1_sub3_sub3.method2423(67, i, -1); - continue; - } - i_6_ = ((class318_sub1_sub3_sub3.y) - player.y); - i_7_ = (-(player.x) + (class318_sub1_sub3_sub3.x)); - } - if (i_7_ != 0 || i_6_ != 0) class318_sub1_sub3_sub3.method2423(-100, i, 0x3fff & (int) (Math.atan2(i_7_, i_6_) * 2607.5945876176133)); - } - } - if (bool_2_) { - class318_sub1_sub3_sub3.anIntArray10242 = null; - class318_sub1_sub3_sub3.anIntArray10296 = null; - } - } - } - - public static void method3444(int i) { - if (i <= -85) aClass138_9781 = null; - } - - final void method3445(int i) { - this.aNativeHeap9782.b(); - if (i != -9503) regionTileX = -29; - anInt9777++; - } - - za_Sub2(int i) { - this.aNativeHeap9782 = new NativeHeap(i); - } - - static { - aClass138_9781 = new Class138(14, 0, 4, 1); - } -} diff --git a/client/text/ColorTagNode.java b/client/text/ColorTagNode.java new file mode 100644 index 000000000..362f3fe1e --- /dev/null +++ b/client/text/ColorTagNode.java @@ -0,0 +1,94 @@ +/* ColorTagNode - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub15` (JODE-obfuscated). + * Colour-tag text node. Extends Node; a scene-graph node carrying styled text for the chat/UI tree. + */ + +final class ColorTagNode extends Node { + Component326 aClass55_Sub1_6768; + static int anInt6769; + static int[] anIntArray6770 = new int[1000]; + static int anInt6771; + boolean aBoolean6772; + int anInt6773; + static double aDouble6774; + static int[] anIntArray6775 = new int[13]; + boolean aBoolean6776; + static int anInt6777; + static int anInt6778; + static int anInt6779; + static int[][] anIntArrayArray6780 = {{12, 12, 12, 12}, {12, 12, 12, 12, 12, 5}, {5, 5, 1, 1}, {5, 1, 1, 5}, {5, 5, 5}, {5, 5, 5}, {12, 12, 12, 12, 12, 12}, {1, 12, 12, 12, 12, 12}, {1, 1, 7, 1}, {8, 9, 9, 8, 8, 3, 1, 9}, {8, 8, 9, 8, 9, 9}, {10, 10, 11, 11, 11, 7, 3, 7}, {12, 12, 12, 12}}; + boolean aBoolean6781; + int anInt6782; + boolean aBoolean6783; + + public static void method2810(byte i) { + anIntArray6770 = null; + anIntArray6775 = null; + if (i != 79) method2814(null, 57); + anIntArrayArray6780 = null; + } + + static final void method2811(boolean bool) { + anInt6777++; + if (NodeSub36.anInt6992 < 0) { + NodeSub36.anInt6992 = 0; + Component283.anInt4609 = -1; + Component377.anInt859 = -1; + } + if (NodeSub36.anInt6992 > DisplayModeManagerContainer229.anInt1259) { + NodeSub36.anInt6992 = DisplayModeManagerContainer229.anInt1259; + Component377.anInt859 = -1; + Component283.anInt4609 = -1; + } + if (DebugOverlay.anInt3170 < 0) { + Component377.anInt859 = -1; + DebugOverlay.anInt3170 = 0; + Component283.anInt4609 = -1; + } + if (DisplayModeManagerContainer229.anInt1267 < DebugOverlay.anInt3170) { + DebugOverlay.anInt3170 = DisplayModeManagerContainer229.anInt1267; + Component283.anInt4609 = -1; + Component377.anInt859 = -1; + } + if (bool != false) aDouble6774 = 1.5874482848681375; + } + + static final String method2812(int i, HashNodeSub13 class348_sub42_sub13) { + anInt6779++; + if (i != -44) method2812(91, null); + return (class348_sub42_sub13.aString9617 + " >"); + } + + static final void method2813(boolean bool, int i, int i_0_) { + anInt6778++; + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i_0_, (byte) 105, 7); + class348_sub42_sub15.method3246(-25490); + if (bool != true) anInt6769 = -113; + class348_sub42_sub15.anInt9652 = i; + } + + static final void method2814(NodeSub16 class348_sub16, int i) { + class348_sub16.aBoolean6784 = false; + if (i >= 39) { + if (class348_sub16.aClass348_Sub19_6787 != null) class348_sub16.aClass348_Sub19_6787.anInt6824 = 0; + anInt6771++; + for (NodeSub16 class348_sub16_1_ = class348_sub16.method2816(); class348_sub16_1_ != null; class348_sub16_1_ = class348_sub16.method2818()) + method2814(class348_sub16_1_, 40); + } + } + + ColorTagNode(int i, Component326 class55_sub1, int i_2_, boolean bool) { + this.anInt6782 = i_2_; + this.aClass55_Sub1_6768 = class55_sub1; + this.anInt6773 = i; + this.aBoolean6776 = bool; + } + + static { + anInt6769 = -1; + } +} diff --git a/client/text/ColoredText.java b/client/text/ColoredText.java new file mode 100644 index 000000000..0f22f0e75 --- /dev/null +++ b/client/text/ColoredText.java @@ -0,0 +1,372 @@ +/* ColoredText - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ +/** + * RENAMED from `Class239_Sub24` (JODE-obfuscated). + * Colored text component. Extends Component339; renders / color-tagged strings as styled text. + */ + +import java.io.File; + +final class ColoredText extends Component339 { + static int anInt6084; + static int anInt6085; + static int anInt6086; + static int anInt6087; + static int anInt6088; + static Component183 aClass114_6089 = new Component183(41, 3); + static int anInt6090; + static int anInt6091; + static int anInt6092; + static String[][] aStringArrayArray6093 = {{"M1", "M2", "S1", "F"}, {"M1", "M2", "M3", "S1", "S2", "F"}, {"M1", "M2", "M3", "M4", "S1", "S2", "S3", "F"}}; + static int anInt6094; + static int anInt6095; + static NodeCache aClass60_6096 = new NodeCache(8); + static Component24 aClass105_6097; + static Component80 aClass299_6098; + + final void method1712(int i, int i_0_) { + int i_1_ = -73 % ((i - 82) / 35); + this.anInt3138 = i_0_; + anInt6085++; + } + + ColoredText(NodeSub51 class348_sub51) { + super(class348_sub51); + } + + final int method1820(int i) { + if (i != -32350) return -43; + anInt6091++; + return this.anInt3138; + } + + static final byte[] method1821(int i, File file) { + anInt6086++; + int i_2_ = 34 % ((i - 31) / 39); + return DisplayModeManagerContainer363.method2607((int) file.length(), file, 121); + } + + public static void method1822(byte i) { + aClass114_6089 = null; + aClass60_6096 = null; + aClass105_6097 = null; + aStringArrayArray6093 = null; + aClass299_6098 = null; + if (i != 110) aClass299_6098 = null; + } + + final int method1710(int i) { + if (i != 20014) return -20; + anInt6084++; + return 1; + } + + final int method1714(int i, int i_3_) { + anInt6092++; + if (this.aClass348_Sub51_3136.method3422(674) == RunescapeInfo.RUNESCAPE) { + if (this.aClass348_Sub51_3136.method3425(i + -70)) return 3; + if (i_3_ == 0 || this.aClass348_Sub51_3136.aClass239_Sub9_7256.method1759(-32350) == 1) return 1; + return 2; + } + if (i != 3) method1716(true); + return 3; + } + + static final void method1823(GraphicsToolkit var_ha, int i, int i_4_, byte i_5_) { + anInt6088++; + int i_6_ = 56 % ((68 - i_5_) / 58); + if (i >= 0 && i_4_ >= 0 && DisplayModeManagerContainer220.anInt282 != 0 && DisplayModeManagerContainer50.anInt3861 != 0) { + DisplayModeManagerContainer204 class101; + int i_7_; + int i_8_; + int i_9_; + int i_10_; + int i_11_; + int i_12_; + if (Component210.gameCanvasAttached) { + HashTable.method1010(false, false); + class101 = var_ha.method3640(); + int[] is = var_ha.Y(); + i_7_ = is[0]; + i_8_ = is[1]; + i_9_ = is[3]; + i_10_ = is[2]; + i_11_ = i + Component221.method1082(-81, false); + i_12_ = OggStream.method2960(false, -52) + i_4_; + } else { + var_ha.DA(Component226.anInt4171, Component275.anInt2688, DisplayModeManagerContainer220.anInt282, DisplayModeManagerContainer50.anInt3861); + i_8_ = Component275.anInt2688; + i_9_ = DisplayModeManagerContainer50.anInt3861; + i_7_ = Component226.anInt4171; + i_10_ = DisplayModeManagerContainer220.anInt282; + var_ha.KA(Component247.anInt4911, TcpSocketStream.anInt5832, DisplayModeManagerContainer220.anInt282, DisplayModeManagerContainer50.anInt3861); + class101 = var_ha.method3654(); + class101.method903(WorldNameText.anInt8633, Component54.anInt8668, CookieBuilder.anInt620, NodeSub44.anInt7092, Component337.anInt3650, NodeSub51.anInt7244); + var_ha.method3638(class101); + i_12_ = i_4_; + i_11_ = i; + } + Component127.method1626(1, true); + if (i_10_ == 0) i_10_ = 1; + if (i_9_ == 0) i_9_ = 1; + if (NodeSub1Sub1.aSArray8801 != null && (!r.aBoolean9722 || (0x40 & PauseTimer.anInt500) != 0)) { + int i_13_ = -1; + int i_14_ = -1; + int i_15_ = var_ha.i(); + int i_16_ = var_ha.XA(); + int i_17_; + int i_18_; + int i_19_; + int i_20_; + if (DisplayModeManagerContainer50.aBoolean3870) { + i_17_ = i_18_ = Component72.anInt1906 * (-i_7_ + i_11_) / i_10_; + i_19_ = i_20_ = Component72.anInt1906 * (-i_8_ + i_12_) / i_9_; + } else { + i_17_ = i_15_ * (-i_7_ + i_11_) / i_10_; + i_19_ = i_15_ * (i_12_ + -i_8_) / i_9_; + i_20_ = i_16_ * (-i_8_ + i_12_) / i_9_; + i_18_ = (i_11_ - i_7_) * i_16_ / i_10_; + } + int[] is = {i_17_, i_19_, i_15_}; + int[] is_21_ = {i_18_, i_20_, i_16_}; + class101.method890(is); + class101.method890(is_21_); + float f = Component83.method1012((float) is[1], (float) is_21_[0], (float) is[2], (float) is_21_[2], 4, (float) is[0], (byte) 123, (float) is_21_[1]); + if (f > 0.0F) { + int i_22_ = is_21_[0] + -is[0]; + int i_23_ = -is[2] + is_21_[2]; + int i_24_ = (int) ((float) is[0] + (float) i_22_ * f); + int i_25_ = (int) ((float) is[2] + (float) i_23_ * f); + i_13_ = (Component72.localPlayer.method2436((byte) 71) + -1 << 8) + i_24_ >> 9; + i_14_ = i_25_ - -(Component72.localPlayer.method2436((byte) 73) + -1 << 8) >> 9; + int i_26_ = (Component72.localPlayer.plane); + if (i_26_ < 3 && ((0x2 & (ObjectDeserializer.aByteArrayArrayArray6962[1][i_24_ >> 9][i_25_ >> 9])) != 0)) i_26_++; + } + if (i_13_ != -1 && i_14_ != -1) { + if (!r.aBoolean9722 || (0x40 & PauseTimer.anInt500) == 0) { + if (DisplayModeManagerContainer145.aBoolean1801) DisplayModeManagerContainer368.addMenuEntry(false, "", i_14_, (byte) -109, true, i_13_, -1, true, 12, i_14_ | i_13_ << 0, (FriendsIgnoreList.aClass274_3510.getLocalized(ObjectDeserializer.languageId, 544)), 0L, -1); + Component48.anInt4334++; + DisplayModeManagerContainer368.addMenuEntry(false, "", i_14_, (byte) -82, true, i_13_, -1, true, 19, i_14_ | i_13_ << 0, Component323.aString5882, 0L, Component79.anInt4144); + } else { + DisplayModeManagerContainer57 class46 = NodeSub22.method2957(JaclibLoader.anInt169, (byte) -54, Component90.anInt2046); + if (class46 == null) DisplayModeManagerContainer196.method2678(-2049); + else DisplayModeManagerContainer368.addMenuEntry(false, " ->", i_14_, (byte) -101, true, i_13_, -1, true, 15, i_13_ << 0 | i_14_, DisplayModeManagerContainer332.aString5001, 0L, (Component182.anInt9747)); + } + } + } + if (Component210.gameCanvasAttached) DebugPanicSub1.method2129((byte) 86); + for (int i_27_ = 0; (i_27_ < (!Component210.gameCanvasAttached ? 1 : 2)); i_27_++) { + boolean bool = i_27_ == 0; + DisplayModeManagerContainer154 class76 = (bool ? DisplayModeManagerContainer5.aClass76_1208 : PacketReader.aClass76_10436); + int i_28_ = i; + int i_29_ = i_4_; + if (Component210.gameCanvasAttached) { + HashTable.method1010(false, bool); + i_28_ += Component221.method1082(-92, bool); + i_29_ += OggStream.method2960(bool, -48); + } + Component315 class243 = class76.aClass243_1282; + for (RenderableSub4 class318_sub4 = (RenderableSub4) class243.method1872(8); class318_sub4 != null; class318_sub4 = (RenderableSub4) class243.method1878((byte) -123)) { + if ((RuntimeException_Sub1.aBoolean4599 || ((Component72.localPlayer.plane) == class318_sub4.aClass318_Sub1_6410.plane)) && class318_sub4.method2504(i_29_, i_28_, var_ha, -115)) { + boolean bool_30_ = false; + boolean bool_31_ = false; + int i_32_; + int i_33_; + if (class318_sub4.aClass318_Sub1_6410 instanceof Component327) { + i_32_ = ((Component327) class318_sub4.aClass318_Sub1_6410).aShort8750; + i_33_ = ((Component327) class318_sub4.aClass318_Sub1_6410).aShort8743; + } else { + i_32_ = (class318_sub4.aClass318_Sub1_6410.y >> 9); + i_33_ = (class318_sub4.aClass318_Sub1_6410.x >> 9); + } + if (class318_sub4.aClass318_Sub1_6410 instanceof Player) { + Player player = ((Player) (class318_sub4.aClass318_Sub1_6410)); + int i_34_ = player.method2436((byte) 78); + if (((0x1 & i_34_) == 0 && (0x1ff & (player.x)) == 0 && (0x1ff & (player.y)) == 0) || ((i_34_ & 0x1) == 1 && ((player.x) & 0x1ff) == 256 && ((player.y) & 0x1ff) == 256)) { + int i_35_ = (player.x - (-1 + player.method2436((byte) 82) << 8)); + int i_36_ = (player.y + -(-1 + player.method2436((byte) 105) << 8)); + for (int i_37_ = 0; (Component324.anInt2057 > i_37_); i_37_++) { + NodeSub22 class348_sub22 = ((NodeSub22) (Component21.aClass356_3654.get(DisplayModeManagerContainer238.anIntArray1233[i_37_], -6008))); + if (class348_sub22 != null) { + Npc npc = (class348_sub22.npc); + if ((OpenGlShader.clientCycle != (npc.anInt10215)) && (npc.aBoolean10309)) { + int i_38_ = ((npc.x) - ((npc.definition.anInt1399) + -1 << 8)); + int i_39_ = (-((-1 + (npc.definition.anInt1399)) << 8) + (npc.y)); + if (i_35_ <= i_38_ && ((-(i_38_ + -i_35_ >> 9) + (player.method2436((byte) 68))) >= (npc.definition.anInt1399)) && i_36_ <= i_39_ && ((-(-i_36_ + i_39_ >> 9) + (player.method2436((byte) 97))) >= (npc.definition.anInt1399))) { + ParticleShader.addNpcMenuOptions(((class318_sub4.aClass318_Sub1_6410.plane) != (Component72.localPlayer.plane)), false, npc); + npc.anInt10215 = OpenGlShader.clientCycle; + } + } + } + } + int i_40_ = ShaderCompilerSub1.anInt6513; + int[] is = ShaderProgramSub7.anIntArray6290; + for (int i_41_ = 0; (i_40_ > i_41_); i_41_++) { + Player player_42_ = (InterfaceRenderer.players[is[i_41_]]); + if ((player_42_ != null) && (OpenGlShader.clientCycle != (player_42_.anInt10215)) && (player != player_42_) && (player_42_.aBoolean10309)) { + int i_43_ = ((player_42_.x) + -((player_42_.method2436((byte) 94) - 1) << 8)); + int i_44_ = ((player_42_.y) + -((-1 + (player_42_.method2436((byte) 82))) << 8)); + if ((i_43_ >= i_35_) && ((player.method2436((byte) 70) - (-i_35_ + i_43_ >> 9)) >= player_42_.method2436((byte) 89)) && (i_44_ >= i_36_) && ((player.method2436((byte) 42) - (i_44_ - i_36_ >> 9)) >= player_42_.method2436((byte) 127))) { + PlayerState.method3298((byte) 114, ((class318_sub4.aClass318_Sub1_6410.plane) != (Component72.localPlayer.plane)), player_42_); + player_42_.anInt10215 = OpenGlShader.clientCycle; + } + } + } + } + if (OpenGlShader.clientCycle == player.anInt10215) continue; + PlayerState.method3298((byte) 96, ((Component72.localPlayer.plane) != class318_sub4.aClass318_Sub1_6410.plane), player); + player.anInt10215 = OpenGlShader.clientCycle; + } + if (class318_sub4.aClass318_Sub1_6410 instanceof Npc) { + Npc npc = ((Npc) (class318_sub4.aClass318_Sub1_6410)); + if (npc.definition != null) { + if (((npc.definition.anInt1399 & 0x1) == 0 && (0x1ff & (npc.x)) == 0 && (0x1ff & (npc.y)) == 0) || ((0x1 & npc.definition.anInt1399) == 1 && (0x1ff & (npc.x)) == 256 && ((npc.y) & 0x1ff) == 256)) { + int i_45_ = ((npc.x) - ((-1 + npc.definition.anInt1399) << 8)); + int i_46_ = ((npc.y) - (npc.definition.anInt1399 - 1 << 8)); + for (int i_47_ = 0; i_47_ < Component324.anInt2057; i_47_++) { + NodeSub22 class348_sub22 = ((NodeSub22) (Component21.aClass356_3654.get(DisplayModeManagerContainer238.anIntArray1233[i_47_], -6008))); + if (class348_sub22 != null) { + Npc npc_48_ = (class348_sub22.npc); + if (((npc_48_.anInt10215) != OpenGlShader.clientCycle) && (npc != npc_48_) && (npc_48_.aBoolean10309)) { + int i_49_ = (-((npc_48_.definition.anInt1399) - 1 << 8) + (npc_48_.x)); + int i_50_ = ((npc_48_.y) + -((npc_48_.definition.anInt1399) - 1 << 8)); + if (i_49_ >= i_45_ && ((npc_48_.definition.anInt1399) <= ((npc.definition.anInt1399) - (-i_45_ + i_49_ >> 9))) && (i_46_ <= i_50_) && ((npc_48_.definition.anInt1399) <= ((npc.definition.anInt1399) + -(i_50_ + -i_46_ >> 9)))) { + ParticleShader.addNpcMenuOptions(((class318_sub4.aClass318_Sub1_6410.plane) != (Component72.localPlayer.plane)), false, npc_48_); + npc_48_.anInt10215 = (OpenGlShader.clientCycle); + } + } + } + } + int i_51_ = ShaderCompilerSub1.anInt6513; + int[] is = ShaderProgramSub7.anIntArray6290; + for (int i_52_ = 0; (i_51_ > i_52_); i_52_++) { + Player player = (InterfaceRenderer.players[is[i_52_]]); + if ((player != null) && (OpenGlShader.clientCycle != (player.anInt10215)) && (player.aBoolean10309)) { + int i_53_ = ((player.x) - ((-1 + (player.method2436((byte) 116))) << 8)); + int i_54_ = ((player.y) + -((player.method2436((byte) 121)) + -1 << 8)); + if ((i_53_ >= i_45_) && ((-(-i_45_ + i_53_ >> 9) + (npc.definition.anInt1399)) >= player.method2436((byte) 114)) && (i_54_ >= i_46_) && (player.method2436((byte) 58) <= ((npc.definition.anInt1399) - (i_54_ + -i_46_ >> 9)))) { + PlayerState.method3298((byte) 125, ((class318_sub4.aClass318_Sub1_6410.plane) != (Component72.localPlayer.plane)), player); + player.anInt10215 = OpenGlShader.clientCycle; + } + } + } + } + if (OpenGlShader.clientCycle == npc.anInt10215) continue; + ParticleShader.addNpcMenuOptions((class318_sub4.aClass318_Sub1_6410.plane != (Component72.localPlayer.plane)), false, npc); + npc.anInt10215 = OpenGlShader.clientCycle; + } + } + if (class318_sub4.aClass318_Sub1_6410 instanceof Component252) { + int i_55_ = NodeBaseSub2.regionTileX + i_33_; + int i_56_ = i_32_ - -Component330.regionTileY; + NodeSub37 class348_sub37 = ((NodeSub37) (Component387.aClass356_1895.get((class318_sub4.aClass318_Sub1_6410.plane) << 28 | i_56_ << 14 | i_55_, -6008))); + if (class348_sub37 != null) { + int i_57_ = 0; + NodeSub34 class348_sub34 = ((NodeSub34) class348_sub37.aClass262_6998.last(-92)); + while (class348_sub34 != null) { + ItemDefinition class213 = (Exception_Sub1.itemDefinitions.getItemDefinition(79, (class348_sub34.anInt6973))); + if (r.aBoolean9722 && ((Component72.localPlayer.plane) == class318_sub4.aClass318_Sub1_6410.plane)) { + Component355 class254 = (Component163.anInt3176 != -1 ? (MatrixSub3.aClass326_5764.method2600(Component163.anInt3176, 28364)) : null); + if ((PauseTimer.anInt500 & 0x1) != 0 && (class254 == null || ((class254.anInt3256) != (class213.method1567((class254.anInt3256), 29, Component163.anInt3176))))) { + Component263.anInt1555++; + DisplayModeManagerContainer368.addMenuEntry(false, (DisplayModeManagerContainer332.aString5000 + " -> " + (class213.itemName)), i_32_, (byte) -76, false, i_33_, -1, true, 49, i_57_, DisplayModeManagerContainer332.aString5001, class348_sub34.anInt6973, (Component182.anInt9747)); + } + } + if (class318_sub4.aClass318_Sub1_6410.plane == (Component72.localPlayer.plane)) { + String[] strings = (class213.aStringArray2811); + for (int i_58_ = 4; i_58_ >= 0; i_58_--) { + if (strings != null && strings[i_58_] != null) { + int i_59_ = 0; + if (i_58_ == 0) i_59_ = 21; + int i_60_ = PauseTimer.anInt506; + if (i_58_ == 1) i_59_ = 10; + if (i_58_ == 2) i_59_ = 47; + if (i_58_ == 3) i_59_ = 22; + if (i_58_ == (class213.anInt2752)) i_60_ = class213.anInt2759; + if (i_58_ == 4) i_59_ = 5; + if ((class213.anInt2764) == i_58_) i_60_ = class213.anInt2830; + DisplayModeManagerContainer368.addMenuEntry(false, ("" + (class213.itemName)), i_32_, (byte) -119, false, i_33_, -1, true, i_59_, i_57_, strings[i_58_], class348_sub34.anInt6973, i_60_); + CacheNode.anInt9548++; + } + } + } + ObjectDeserializer.anInt6956++; + DisplayModeManagerContainer368.addMenuEntry(((Component72.localPlayer.plane) != class318_sub4.aClass318_Sub1_6410.plane), ("" + class213.itemName) + Loader.getDebug(class213.itemId), i_32_, (byte) -122, false, i_33_, -1, true, 1010, i_57_, (FriendsIgnoreList.aClass274_3505.getLocalized(ObjectDeserializer.languageId, 544)), class348_sub34.anInt6973, CookieManager.anInt6299); + class348_sub34 = ((NodeSub34) class348_sub37.aClass262_6998.previous(-127)); + i_57_++; + } + } + } + if (class318_sub4.aClass318_Sub1_6410 instanceof Interface10) { + Interface10 interface10 = ((Interface10) (class318_sub4.aClass318_Sub1_6410)); + Component44 class51 = (GradientPreset.aClass263_9195.method2005(0, interface10.method42(-100))); + if (class51.anIntArray945 != null) class51 = (class51.method480((DisplayModeManagerContainer58.aClass170_10209), (byte) 47)); + if (class51 != null) { + if (r.aBoolean9722 && ((Component72.localPlayer.plane) == (class318_sub4.aClass318_Sub1_6410.plane))) { + Component355 class254 = (Component163.anInt3176 != -1 ? (MatrixSub3.aClass326_5764.method2600(Component163.anInt3176, 28364)) : null); + if (((0x4 & PauseTimer.anInt500) != 0) && (class254 == null || ((class254.anInt3256) != (class51.method487(Component163.anInt3176, (class254.anInt3256), 54))))) { + Component7.anInt2877++; + DisplayModeManagerContainer368.addMenuEntry(false, (DisplayModeManagerContainer332.aString5000 + " -> " + (class51.aString884)), i_32_, (byte) -94, false, i_33_, -1, true, 2, interface10.hashCode(), DisplayModeManagerContainer332.aString5001, (DefinitionSub21.method3107((byte) 95, interface10, i_32_, i_33_)), Component182.anInt9747); + } + } + if (class318_sub4.aClass318_Sub1_6410.plane == (Component72.localPlayer.plane)) { + String[] strings = class51.aStringArray913; + String preferred = DefaultClickSwapper.getPreferredObjectAction(class51.anInt941); + if (strings != null) { + for (int i_61_ = 4; i_61_ >= 0; i_61_--) { + if (strings[i_61_] != null) { + int i_62_ = 0; + if (i_61_ == 0) i_62_ = 3; + int i_63_ = PauseTimer.anInt506; + if (i_61_ == 1) i_62_ = 4; + if (i_61_ == 2) i_62_ = 9; + if (i_61_ == 3) i_62_ = 59; + if (i_61_ == 4) i_62_ = 1007; + if ((class51.anInt950) == i_61_) i_63_ = (class51.anInt869); + if (i_61_ == (class51.anInt951)) i_63_ = (class51.anInt877); + if (preferred != null && strings[i_61_].equalsIgnoreCase(preferred)) { + i_63_ = DefaultClickSwapper.PRIORITY_PREFERRED; + } + DisplayModeManagerContainer368.addMenuEntry(false, ("" + (class51.aString884)), i_32_, (byte) -100, false, i_33_, -1, true, i_62_, interface10.hashCode(), strings[i_61_], (DefinitionSub21.method3107((byte) -116, interface10, i_32_, i_33_)), i_63_); + Component178.anInt1445++; + } + } + } + int x = i_33_ + NodeBaseSub2.regionTileX; + int y = i_32_ + Component330.regionTileY; + DisplayModeManagerContainer368.addMenuEntry(((Component72.localPlayer.plane) != class318_sub4.aClass318_Sub1_6410.plane), ("" + class51.aString884 + Loader.getDebug(class51.anInt941, x, y, class318_sub4.aClass318_Sub1_6410.plane)), i_32_, (byte) -120, false, i_33_, -1, true, 1001, interface10.hashCode(), (FriendsIgnoreList.aClass274_3505.getLocalized(ObjectDeserializer.languageId, 544)), class51.anInt941, CookieManager.anInt6299); + anInt6094++; + DefaultClickSwapper.injectObjectMenu(class51); + } + } + } + } + } + if (Component210.gameCanvasAttached) DebugPanicSub1.method2129((byte) 86); + } + Component127.method1626(1, false); + } + } + + final void method1716(boolean bool) { + if (this.aClass348_Sub51_3136.method3422(674) != RunescapeInfo.RUNESCAPE) this.anInt3138 = 1; + else if (this.aClass348_Sub51_3136.method3425(-95)) this.anInt3138 = 0; + anInt6090++; + if (this.anInt3138 != 0 && this.anInt3138 != 1) this.anInt3138 = method1710(20014); + if (bool != false) aClass60_6096 = null; + } + + final boolean method1824(int i) { + anInt6087++; + if (i < 85) method1823(null, 104, -95, (byte) 26); + if (this.aClass348_Sub51_3136.method3422(674) == RunescapeInfo.RUNESCAPE) { + return !this.aClass348_Sub51_3136.method3425(-96); + } + return false; + } + + ColoredText(int i, NodeSub51 class348_sub51) { + super(i, class348_sub51); + } +} diff --git a/client/text/ColoredTextBuilder.java b/client/text/ColoredTextBuilder.java new file mode 100644 index 000000000..7dc70cbba --- /dev/null +++ b/client/text/ColoredTextBuilder.java @@ -0,0 +1,986 @@ +/* ColoredTextBuilder - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class325` (JODE-obfuscated). + * Coloured-text builder. Assembles tagged strings for UI labels. + */ + +final class ColoredTextBuilder { + static int anInt4066; + static int anInt4067; + static int anInt4068; + int anInt4069; + int anInt4070; + private final Component342 aClass68_4071; + private final int anInt4072; + static ColoredTextBuilder aClass325_4073 = new ColoredTextBuilder(0, 3, Component342.aClass68_1187); + static int anInt4074; + static ColoredTextBuilder aClass325_4075 = new ColoredTextBuilder(1, 3, Component342.aClass68_1187); + static ColoredTextBuilder aClass325_4076 = new ColoredTextBuilder(2, 4, Component342.aClass68_1183); + static ColoredTextBuilder aClass325_4077 = new ColoredTextBuilder(3, 1, Component342.aClass68_1187); + static ColoredTextBuilder aClass325_4078 = new ColoredTextBuilder(4, 2, Component342.aClass68_1187); + static ColoredTextBuilder aClass325_4079 = new ColoredTextBuilder(5, 3, Component342.aClass68_1187); + static ColoredTextBuilder aClass325_4080 = new ColoredTextBuilder(6, 4, Component342.aClass68_1187); + static int anInt4081 = Component80.method2253(16, 119); + static Component161 aClass138_4082 = new Component161(8, 0, 4, 1); + + public final String toString() { + anInt4066++; + throw new IllegalStateException(); + } + + static final byte[][][] method2596(int i, int i_0_) { + anInt4068++; + byte[][][] is = new byte[8][4][]; + int i_1_ = i; + int i_2_ = i; + byte[] is_3_ = new byte[i_2_ * i_1_]; + int i_4_ = 0; + for (int i_5_ = 0; i_2_ > i_5_; i_5_++) { + for (int i_6_ = 0; i_6_ < i_1_; i_6_++) { + if (i_6_ <= i_5_) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[0][0] = is_3_; + i_4_ = 0; + is_3_ = new byte[i_1_ * i_2_]; + for (int i_7_ = -1 + i_2_; i_7_ >= 0; i_7_--) { + for (int i_8_ = 0; i_2_ > i_8_; i_8_++) { + if (i_7_ >= i_8_) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[0][1] = is_3_; + i_4_ = 0; + is_3_ = new byte[i_2_ * i_1_]; + for (int i_9_ = 0; i_2_ > i_9_; i_9_++) { + for (int i_10_ = 0; i_10_ < i_1_; i_10_++) { + if (i_10_ >= i_9_) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + if (i_0_ != 12871) aClass325_4078 = null; + is[0][2] = is_3_; + is_3_ = new byte[i_1_ * i_2_]; + i_4_ = 0; + for (int i_11_ = -1 + i_2_; i_11_ >= 0; i_11_--) { + for (int i_12_ = 0; i_12_ < i_1_; i_12_++) { + if (i_12_ >= i_11_) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[0][3] = is_3_; + i_4_ = 0; + is_3_ = new byte[i_2_ * i_1_]; + for (int i_13_ = i_2_ + -1; i_13_ >= 0; i_13_--) { + for (int i_14_ = 0; i_14_ < i_1_; i_14_++) { + if (i_14_ <= i_13_ >> 1) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[1][0] = is_3_; + is_3_ = new byte[i_1_ * i_2_]; + i_4_ = 0; + for (int i_15_ = 0; i_2_ > i_15_; i_15_++) { + for (int i_16_ = 0; i_1_ > i_16_; i_16_++) { + if (i_4_ >= 0 && is_3_.length > i_4_) { + if (i_16_ >= i_15_ << 1) is_3_[i_4_] = (byte) -1; + i_4_++; + } else i_4_++; + } + } + is[1][1] = is_3_; + is_3_ = new byte[i_2_ * i_1_]; + i_4_ = 0; + for (int i_17_ = 0; i_17_ < i_2_; i_17_++) { + for (int i_18_ = -1 + i_1_; i_18_ >= 0; i_18_--) { + if (i_18_ <= i_17_ >> 1) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[1][2] = is_3_; + i_4_ = 0; + is_3_ = new byte[i_2_ * i_1_]; + for (int i_19_ = -1 + i_2_; i_19_ >= 0; i_19_--) { + for (int i_20_ = i_1_ + -1; i_20_ >= 0; i_20_--) { + if (i_19_ << 1 <= i_20_) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[1][3] = is_3_; + is_3_ = new byte[i_1_ * i_2_]; + i_4_ = 0; + for (int i_21_ = i_2_ - 1; i_21_ >= 0; i_21_--) { + for (int i_22_ = i_1_ - 1; i_22_ >= 0; i_22_--) { + if (i_21_ >> 1 >= i_22_) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[2][0] = is_3_; + is_3_ = new byte[i_1_ * i_2_]; + i_4_ = 0; + for (int i_23_ = -1 + i_2_; i_23_ >= 0; i_23_--) { + for (int i_24_ = 0; i_1_ > i_24_; i_24_++) { + if (i_23_ << 1 <= i_24_) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[2][1] = is_3_; + is_3_ = new byte[i_2_ * i_1_]; + i_4_ = 0; + for (int i_25_ = 0; i_25_ < i_2_; i_25_++) { + for (int i_26_ = 0; i_1_ > i_26_; i_26_++) { + if (i_25_ >> 1 >= i_26_) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[2][2] = is_3_; + is_3_ = new byte[i_2_ * i_1_]; + i_4_ = 0; + for (int i_27_ = 0; i_27_ < i_2_; i_27_++) { + for (int i_28_ = -1 + i_1_; i_28_ >= 0; i_28_--) { + if (i_27_ << 1 <= i_28_) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[2][3] = is_3_; + i_4_ = 0; + is_3_ = new byte[i_1_ * i_2_]; + for (int i_29_ = -1 + i_2_; i_29_ >= 0; i_29_--) { + for (int i_30_ = 0; i_1_ > i_30_; i_30_++) { + if (i_29_ >> 1 <= i_30_) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[3][0] = is_3_; + is_3_ = new byte[i_1_ * i_2_]; + i_4_ = 0; + for (int i_31_ = 0; i_2_ > i_31_; i_31_++) { + for (int i_32_ = 0; i_32_ < i_1_; i_32_++) { + if (i_32_ <= i_31_ << 1) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[3][1] = is_3_; + i_4_ = 0; + is_3_ = new byte[i_1_ * i_2_]; + for (int i_33_ = 0; i_2_ > i_33_; i_33_++) { + for (int i_34_ = i_1_ + -1; i_34_ >= 0; i_34_--) { + if (i_34_ >= i_33_ >> 1) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[3][2] = is_3_; + i_4_ = 0; + is_3_ = new byte[i_1_ * i_2_]; + for (int i_35_ = i_2_ - 1; i_35_ >= 0; i_35_--) { + for (int i_36_ = i_1_ + -1; i_36_ >= 0; i_36_--) { + if (i_36_ <= i_35_ << 1) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[3][3] = is_3_; + is_3_ = new byte[i_1_ * i_2_]; + i_4_ = 0; + for (int i_37_ = -1 + i_2_; i_37_ >= 0; i_37_--) { + for (int i_38_ = i_1_ - 1; i_38_ >= 0; i_38_--) { + if (i_37_ >> 1 <= i_38_) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[4][0] = is_3_; + is_3_ = new byte[i_2_ * i_1_]; + i_4_ = 0; + for (int i_39_ = i_2_ + -1; i_39_ >= 0; i_39_--) { + for (int i_40_ = 0; i_1_ > i_40_; i_40_++) { + if (i_40_ <= i_39_ << 1) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[4][1] = is_3_; + i_4_ = 0; + is_3_ = new byte[i_1_ * i_2_]; + for (int i_41_ = 0; i_2_ > i_41_; i_41_++) { + for (int i_42_ = 0; i_42_ < i_1_; i_42_++) { + if (i_41_ >> 1 <= i_42_) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[4][2] = is_3_; + is_3_ = new byte[i_1_ * i_2_]; + i_4_ = 0; + for (int i_43_ = 0; i_43_ < i_2_; i_43_++) { + for (int i_44_ = -1 + i_1_; i_44_ >= 0; i_44_--) { + if (i_44_ <= i_43_ << 1) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[4][3] = is_3_; + is_3_ = new byte[i_2_ * i_1_]; + i_4_ = 0; + for (int i_45_ = 0; i_2_ > i_45_; i_45_++) { + for (int i_46_ = 0; i_1_ > i_46_; i_46_++) { + if (i_1_ / 2 >= i_46_) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[5][0] = is_3_; + i_4_ = 0; + is_3_ = new byte[i_1_ * i_2_]; + for (int i_47_ = 0; i_2_ > i_47_; i_47_++) { + for (int i_48_ = 0; i_1_ > i_48_; i_48_++) { + if (i_47_ <= i_2_ / 2) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[5][1] = is_3_; + i_4_ = 0; + is_3_ = new byte[i_2_ * i_1_]; + for (int i_49_ = 0; i_49_ < i_2_; i_49_++) { + for (int i_50_ = 0; i_50_ < i_1_; i_50_++) { + if (i_1_ / 2 <= i_50_) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[5][2] = is_3_; + i_4_ = 0; + is_3_ = new byte[i_2_ * i_1_]; + for (int i_51_ = 0; i_51_ < i_2_; i_51_++) { + for (int i_52_ = 0; i_1_ > i_52_; i_52_++) { + if (i_51_ >= i_2_ / 2) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[5][3] = is_3_; + is_3_ = new byte[i_1_ * i_2_]; + i_4_ = 0; + for (int i_53_ = 0; i_53_ < i_2_; i_53_++) { + for (int i_54_ = 0; i_54_ < i_1_; i_54_++) { + if (i_54_ <= i_53_ - i_2_ / 2) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[6][0] = is_3_; + is_3_ = new byte[i_2_ * i_1_]; + i_4_ = 0; + for (int i_55_ = -1 + i_2_; i_55_ >= 0; i_55_--) { + for (int i_56_ = 0; i_1_ > i_56_; i_56_++) { + if (i_56_ <= i_55_ - i_2_ / 2) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[6][1] = is_3_; + i_4_ = 0; + is_3_ = new byte[i_1_ * i_2_]; + for (int i_57_ = -1 + i_2_; i_57_ >= 0; i_57_--) { + for (int i_58_ = i_1_ - 1; i_58_ >= 0; i_58_--) { + if (i_58_ <= -(i_2_ / 2) + i_57_) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[6][2] = is_3_; + i_4_ = 0; + is_3_ = new byte[i_2_ * i_1_]; + for (int i_59_ = 0; i_2_ > i_59_; i_59_++) { + for (int i_60_ = -1 + i_1_; i_60_ >= 0; i_60_--) { + if (i_60_ <= -(i_2_ / 2) + i_59_) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[6][3] = is_3_; + is_3_ = new byte[i_1_ * i_2_]; + i_4_ = 0; + for (int i_61_ = 0; i_61_ < i_2_; i_61_++) { + for (int i_62_ = 0; i_62_ < i_1_; i_62_++) { + if (i_62_ >= i_61_ + -(i_2_ / 2)) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[7][0] = is_3_; + i_4_ = 0; + is_3_ = new byte[i_2_ * i_1_]; + for (int i_63_ = -1 + i_2_; i_63_ >= 0; i_63_--) { + for (int i_64_ = 0; i_64_ < i_1_; i_64_++) { + if (i_64_ >= i_63_ - i_2_ / 2) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[7][1] = is_3_; + i_4_ = 0; + is_3_ = new byte[i_2_ * i_1_]; + for (int i_65_ = i_2_ + -1; i_65_ >= 0; i_65_--) { + for (int i_66_ = -1 + i_1_; i_66_ >= 0; i_66_--) { + if (-(i_2_ / 2) + i_65_ <= i_66_) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[7][2] = is_3_; + i_4_ = 0; + is_3_ = new byte[i_2_ * i_1_]; + for (int i_67_ = 0; i_67_ < i_2_; i_67_++) { + for (int i_68_ = i_1_ - 1; i_68_ >= 0; i_68_--) { + if (i_68_ >= -(i_2_ / 2) + i_67_) is_3_[i_4_] = (byte) -1; + i_4_++; + } + } + is[7][3] = is_3_; + return is; + } + + public static void method2597(int i) { + aClass325_4073 = null; + aClass325_4080 = null; + aClass325_4078 = null; + aClass138_4082 = null; + aClass325_4077 = null; + aClass325_4079 = null; + if (i == -27327) { + aClass325_4076 = null; + aClass325_4075 = null; + } + } + + static final ColoredTextBuilder method2598(int i, int i_69_) { + anInt4074++; + int i_70_ = -44 / ((-47 - i_69_) / 45); + int i_71_ = i; + while_118_: + do { + while_117_: + do { + while_116_: + do { + while_115_: + do { + while_114_: + do { + do { + if (i_71_ != 0) { + if (i_71_ != 1) { + if (i_71_ != 2) { + if (i_71_ != 3) { + if (i_71_ != 4) { + if (i_71_ != 5) { + if (i_71_ == 6) break while_117_; + break while_118_; + } + } else break while_115_; + break while_116_; + } + } else break; + break while_114_; + } + } else return aClass325_4073; + return aClass325_4075; + } while (false); + return aClass325_4076; + } while (false); + return aClass325_4077; + } while (false); + return aClass325_4078; + } while (false); + return aClass325_4079; + } while (false); + return aClass325_4080; + } while (false); + return null; + } + + /** + * Executes a {@link MenuEntry}: custom 1900-ops first (DefaultClick / Microbot), + * else builds the matching outbound packet (Attack, Walk, object, CC_OP, …). + * + * @param entry tip or explicitly chosen menu row + * @param i_72_ click Y (cursor feedback) + * @param i_73_ click X + */ + static final void processMenuAction(byte i, MenuEntry class348_sub42_sub12, int i_72_, int i_73_) { + do { + try { + anInt4067++; + if (class348_sub42_sub12 != null && (class348_sub42_sub12 != (DefinitionSub4.menuEntries.sentinel))) { + // Client-only Default click config — do not send a game packet. + if (DefaultClickSwapper.handleMenuAction(class348_sub42_sub12)) { + ShaderProgramSub2.method2146((byte) 84); + break; + } + // Client-only Microbot toggle — do not send a game packet. + if (MicrobotRuntime.handleMenuAction(class348_sub42_sub12)) { + ShaderProgramSub2.method2146((byte) 84); + break; + } + // Clear Microbot targetMenu after any real (or attempted) menu consume. + MicrobotMenu.onMenuOptionClicked(); + int i_74_ = (class348_sub42_sub12.param0); + int i_75_ = (class348_sub42_sub12.param1); + int i_76_ = (class348_sub42_sub12.opcode); + int i_77_ = (int) (class348_sub42_sub12.identifier); + if (i_76_ >= 2000) i_76_ -= 2000; + long l = (class348_sub42_sub12.identifier); + if (i_76_ == 19) { + if (Component353.anInt2581 <= 0 || !Component280.aClass346_2449.isKeyDown(82, -125) || !Component280.aClass346_2449.isKeyDown(81, -126)) { + ParticleSystem class348_sub47 = NodeSub14.method2807(i_75_, i_74_, (byte) -110, i_77_); + if (i_77_ == 1) { + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, -1); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, -1); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, (int) Component112.cameraYaw); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 57); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, CacheNodeSub2.anInt10483); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, Component182.anInt9750); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 89); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, (Component72.localPlayer.x)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, (Component72.localPlayer.y)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, 63); + } else { + ToolkitFactory.anInt1534 = i_72_; + AssetCacheLoader.anInt385 = i_73_; + Node.anInt4292 = 0; + Component20.anInt6048 = 1; + } + HashNodeSub14.method3243(123, class348_sub47); + Component10.method2252(true, i_74_, i_75_, (byte) -120, 1, 0, 1, -4, 0); + } else TeleportHandler.method3502(i_75_ + Component330.regionTileY, 2, (Component72.localPlayer.plane), i_74_ + NodeBaseSub2.regionTileX); + } + if (i_76_ == 4) { + ToolkitFactory.anInt1534 = i_72_; + Component20.anInt6048 = 2; + AssetCacheLoader.anInt385 = i_73_; + Node.anInt4292 = 0; + Component158.anInt321++; + ParticleSystem class348_sub47 = ParticleShader.method2148((CacheNode.aClass351_9553), (DisplayModeManagerContainer64.aClass77_9029), -113); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, Component330.regionTileY + i_75_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(120, i_74_ + NodeBaseSub2.regionTileX); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByteSubtract((byte) 117, (!Component280.aClass346_2449.isKeyDown(82, -122) ? 0 : 1)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, 0x7fffffff & (int) (l >>> 32)); + HashNodeSub14.method3243(117, class348_sub47); + DisplayModeManagerContainer74.method2307(i_75_, l, i_74_, 51); + } + if (i_76_ == 1008) { + Component20.anInt6048 = 2; + ToolkitFactory.anInt1534 = i_72_; + AssetCacheLoader.anInt385 = i_73_; + Node.anInt4292 = 0; + NodeSub22 class348_sub22 = ((NodeSub22) Component21.aClass356_3654.get(i_77_, -6008)); + if (class348_sub22 != null) { + Npc npc = (class348_sub22.npc); + NpcComposition class79 = (npc.definition); + if (class79.anIntArray1377 != null) class79 = (class79.method794((DisplayModeManagerContainer58.aClass170_10209), -1)); + if (class79 != null) { + Component314.anInt3874++; + ParticleSystem class348_sub47 = (ParticleShader.method2148(StaticElementRenderer.aClass351_6443, DisplayModeManagerContainer64.aClass77_9029, -111)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, class79.id); + HashNodeSub14.method3243(-99, class348_sub47); + } + } + } + if (i_76_ == 48) { + Player player = (InterfaceRenderer.players[i_77_]); + if (player != null) { + Node.anInt4292 = 0; + ToolkitFactory.anInt1534 = i_72_; + AssetCacheLoader.anInt385 = i_73_; + Component43.anInt4979++; + Component20.anInt6048 = 2; + ParticleSystem class348_sub47 = (ParticleShader.method2148(HashNodeSub18.aClass351_9684, DisplayModeManagerContainer64.aClass77_9029, -126)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(81, i_77_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, (!Component280.aClass346_2449.isKeyDown(82, -126) ? 0 : 1)); + HashNodeSub14.method3243(116, class348_sub47); + Component10.method2252(true, (player.anIntArray10320[0]), (player.anIntArray10317[0]), (byte) -89, player.method2436((byte) 106), 0, player.method2436((byte) 43), -2, 0); + } + } + if (i_76_ == 49) { + AssetCacheLoader.anInt385 = i_73_; + Node.anInt4292 = 0; + Component20.anInt6048 = 2; + ToolkitFactory.anInt1534 = i_72_; + Component275.anInt2689++; + ParticleSystem class348_sub47 = ParticleShader.method2148(AbstractBuffer.aClass351_4262, (DisplayModeManagerContainer64.aClass77_9029), -107); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(i_74_ + NodeBaseSub2.regionTileX, (byte) 3); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-107, i_77_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(JaclibLoader.anInt169, (byte) 3); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, Component330.regionTileY + i_75_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, (!Component280.aClass346_2449.isKeyDown(82, -126) ? 0 : 1)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(90, Component281.anInt3829); + class348_sub47.aClass348_Sub49_Sub2_7116.writeIntMiddle(Component90.anInt2046, (byte) 44); + HashNodeSub14.method3243(120, class348_sub47); + HashNodeSub18.method3275(1, i_75_, i_74_); + } + if (i_76_ == 6) { + DisplayModeManagerContainer57 class46 = NodeSub22.method2957(i_74_, (byte) -54, i_75_); + if (class46 != null) Component177.method1237((byte) 71, class46); + } + if (i_76_ == 5) { + Node.anInt4292 = 0; + Component279.anInt226++; + AssetCacheLoader.anInt385 = i_73_; + Component20.anInt6048 = 2; + ToolkitFactory.anInt1534 = i_72_; + ParticleSystem class348_sub47 = ParticleShader.method2148(DisplayModeManagerContainer56.aClass351_2539, (DisplayModeManagerContainer64.aClass77_9029), -110); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, Component330.regionTileY + i_75_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-110, i_74_ + NodeBaseSub2.regionTileX); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByteInverse((byte) -44, (!Component280.aClass346_2449.isKeyDown(82, -122) ? 0 : 1)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(97, i_77_); + HashNodeSub14.method3243(118, class348_sub47); + HashNodeSub18.method3275(1, i_75_, i_74_); + } + if (i_76_ == 46) { + NodeSub22 class348_sub22 = ((NodeSub22) Component21.aClass356_3654.get(i_77_, -6008)); + if (class348_sub22 != null) { + Node.anInt4292 = 0; + Component38.anInt2499++; + AssetCacheLoader.anInt385 = i_73_; + Component20.anInt6048 = 2; + ToolkitFactory.anInt1534 = i_72_; + Npc npc = (class348_sub22.npc); + ParticleSystem class348_sub47 = (ParticleShader.method2148(Component289.aClass351_10134, DisplayModeManagerContainer64.aClass77_9029, -96)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(i_77_, (byte) 3); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByteAdd((byte) 124, (Component280.aClass346_2449.isKeyDown(82, -121) ? 1 : 0)); + HashNodeSub14.method3243(117, class348_sub47); + Component10.method2252(true, (npc.anIntArray10320[0]), (npc.anIntArray10317[0]), (byte) -100, npc.method2436((byte) 68), 0, npc.method2436((byte) 106), -2, 0); + } + } + if (i_76_ == 11) { + Player player = (InterfaceRenderer.players[i_77_]); + if (player != null) { + Node.anInt4292 = 0; + Component296.anInt4657++; + ToolkitFactory.anInt1534 = i_72_; + Component20.anInt6048 = 2; + AssetCacheLoader.anInt385 = i_73_; + ParticleSystem class348_sub47 = ParticleShader.method2148((Component379.aClass351_5929), (DisplayModeManagerContainer64.aClass77_9029), -94); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, i_77_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByteInverse((byte) -108, (Component280.aClass346_2449.isKeyDown(82, -124) ? 1 : 0)); + HashNodeSub14.method3243(119, class348_sub47); + Component10.method2252(true, (player.anIntArray10320[0]), (player.anIntArray10317[0]), (byte) -128, player.method2436((byte) 53), 0, player.method2436((byte) 110), -2, 0); + } + } + if (i_76_ == 59) { + AssetCacheLoader.anInt385 = i_73_; + ToolkitFactory.anInt1534 = i_72_; + Node.anInt4292 = 0; + DisplayModeManagerContainer109.anInt2336++; + Component20.anInt6048 = 2; + ParticleSystem class348_sub47 = ParticleShader.method2148((MatrixSub1.aClass351_5677), (DisplayModeManagerContainer64.aClass77_9029), -83); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByteAdd((byte) 86, (!Component280.aClass346_2449.isKeyDown(82, -121) ? 0 : 1)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(31, (int) (l >>> 32) & 0x7fffffff); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-104, NodeBaseSub2.regionTileX + i_74_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(Component330.regionTileY + i_75_, (byte) 3); + HashNodeSub14.method3243(119, class348_sub47); + DisplayModeManagerContainer74.method2307(i_75_, l, i_74_, 93); + } + if (i_76_ == 30) { + NodeSub22 class348_sub22 = ((NodeSub22) Component21.aClass356_3654.get(i_77_, -6008)); + if (class348_sub22 != null) { + Node.anInt4292 = 0; + ToolkitFactory.anInt1534 = i_72_; + AssetCacheLoader.anInt385 = i_73_; + Npc npc = (class348_sub22.npc); + Component20.anInt6048 = 2; + NodeSub7.anInt6646++; + ParticleSystem class348_sub47 = ParticleShader.method2148((Component286.aClass351_1904), (DisplayModeManagerContainer64.aClass77_9029), -119); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, JaclibLoader.anInt169); + class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 108, Component90.anInt2046); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(i_77_, (byte) 3); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByteAdd((byte) -89, (!Component280.aClass346_2449.isKeyDown(82, -127) ? 0 : 1)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-116, Component281.anInt3829); + HashNodeSub14.method3243(122, class348_sub47); + Component10.method2252(true, (npc.anIntArray10320[0]), (npc.anIntArray10317[0]), (byte) -107, npc.method2436((byte) 88), 0, npc.method2436((byte) 108), -2, 0); + } + } + if (i_76_ == 12) { + if (Component353.anInt2581 > 0 && Component280.aClass346_2449.isKeyDown(82, -127) && Component280.aClass346_2449.isKeyDown(81, -126)) TeleportHandler.method3502(i_75_ + Component330.regionTileY, 2, (Component72.localPlayer.plane), NodeBaseSub2.regionTileX - -i_74_); + else { + ToolkitFactory.anInt1534 = i_72_; + AssetCacheLoader.anInt385 = i_73_; + JagTheoraDecoder.anInt994++; + Node.anInt4292 = 0; + Component20.anInt6048 = 1; + ParticleSystem class348_sub47 = ParticleShader.method2148((Component195.aClass351_5015), (DisplayModeManagerContainer64.aClass77_9029), -123); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(101, NodeBaseSub2.regionTileX + i_74_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, Component330.regionTileY - -i_75_); + HashNodeSub14.method3243(6, class348_sub47); + } + } + if (i_76_ == 1001) { + ToolkitFactory.anInt1534 = i_72_; + Component243.anInt484++; + Component20.anInt6048 = 2; + Node.anInt4292 = 0; + AssetCacheLoader.anInt385 = i_73_; + ParticleSystem class348_sub47 = ParticleShader.method2148(Component275.aClass351_2691, (DisplayModeManagerContainer64.aClass77_9029), -115); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_77_); + HashNodeSub14.method3243(-60, class348_sub47); + } + if (i_76_ == 51) { + Player player = (InterfaceRenderer.players[i_77_]); + if (player != null) { + AssetCacheLoader.anInt385 = i_73_; + Component20.anInt6048 = 2; + NativeLibraryLoader.anInt2975++; + Node.anInt4292 = 0; + ToolkitFactory.anInt1534 = i_72_; + ParticleSystem class348_sub47 = ParticleShader.method2148((RSACipher.aClass351_4907), (DisplayModeManagerContainer64.aClass77_9029), -93); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, JaclibLoader.anInt169); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(i_77_, (byte) 3); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(Component281.anInt3829, (byte) 3); + class348_sub47.aClass348_Sub49_Sub2_7116.writeIntInverseMiddle(Component90.anInt2046, -4086); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByteInverse((byte) -89, (Component280.aClass346_2449.isKeyDown(82, -127) ? 1 : 0)); + HashNodeSub14.method3243(-33, class348_sub47); + Component10.method2252(true, (player.anIntArray10320[0]), (player.anIntArray10317[0]), (byte) -88, player.method2436((byte) 44), 0, player.method2436((byte) 110), -2, 0); + } + } + if (i_76_ == 45) { + Player player = (InterfaceRenderer.players[i_77_]); + if (player != null) { + Node.anInt4292 = 0; + ToolkitFactory.anInt1534 = i_72_; + DisplayModeManagerContainer204.anInt1596++; + Component20.anInt6048 = 2; + AssetCacheLoader.anInt385 = i_73_; + ParticleSystem class348_sub47 = ParticleShader.method2148((Component264.aClass351_8706), (DisplayModeManagerContainer64.aClass77_9029), -84); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByteSubtract((byte) -125, (Component280.aClass346_2449.isKeyDown(82, -126) ? 1 : 0)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(i_77_, (byte) 3); + HashNodeSub14.method3243(30, class348_sub47); + Component10.method2252(true, (player.anIntArray10320[0]), (player.anIntArray10317[0]), (byte) -91, player.method2436((byte) 70), 0, player.method2436((byte) 125), -2, 0); + } + } + if (i_76_ == 1007) { + Component20.anInt6048 = 2; + ShaderLinker.anInt10164++; + AssetCacheLoader.anInt385 = i_73_; + Node.anInt4292 = 0; + ToolkitFactory.anInt1534 = i_72_; + ParticleSystem class348_sub47 = ParticleShader.method2148(Component321.aClass351_2587, (DisplayModeManagerContainer64.aClass77_9029), -112); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(Component330.regionTileY + i_75_, (byte) 3); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByteAdd((byte) -96, (Component280.aClass346_2449.isKeyDown(82, -125) ? 1 : 0)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, NodeBaseSub2.regionTileX + i_74_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(68, 0x7fffffff & (int) (l >>> 32)); + HashNodeSub14.method3243(-68, class348_sub47); + DisplayModeManagerContainer74.method2307(i_75_, l, i_74_, 25); + } + if (i_76_ == 23) { + Player player = (InterfaceRenderer.players[i_77_]); + if (player != null) { + Component20.anInt6048 = 2; + Component197.anInt10073++; + Node.anInt4292 = 0; + AssetCacheLoader.anInt385 = i_73_; + ToolkitFactory.anInt1534 = i_72_; + ParticleSystem class348_sub47 = ParticleShader.method2148((RSACipher.aClass351_4905), (DisplayModeManagerContainer64.aClass77_9029), -113); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_77_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByteAdd((byte) 60, (!Component280.aClass346_2449.isKeyDown(82, -121) ? 0 : 1)); + HashNodeSub14.method3243(118, class348_sub47); + Component10.method2252(true, (player.anIntArray10320[0]), (player.anIntArray10317[0]), (byte) -106, player.method2436((byte) 45), 0, player.method2436((byte) 63), -2, 0); + } + } + if (i_76_ == 16 && Component297.aClass46_4730 == null) { + ImageDefinition.method3065(i_75_, false, i_74_); + Component297.aClass46_4730 = NodeSub22.method2957(i_74_, (byte) -54, i_75_); + Component111.markInterfaceDirty(-9343, Component297.aClass46_4730); + } + if (i_76_ == 8) { + Player player = (InterfaceRenderer.players[i_77_]); + if (player != null) { + ToolkitFactory.anInt1534 = i_72_; + AssetCacheLoader.anInt385 = i_73_; + Component20.anInt6048 = 2; + HuffmanDecoder.anInt3768++; + Node.anInt4292 = 0; + ParticleSystem class348_sub47 = ParticleShader.method2148((Component111.aClass351_3232), (DisplayModeManagerContainer64.aClass77_9029), -84); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, (!Component280.aClass346_2449.isKeyDown(82, -128) ? 0 : 1)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-99, i_77_); + HashNodeSub14.method3243(127, class348_sub47); + Component10.method2252(true, (player.anIntArray10320[0]), (player.anIntArray10317[0]), (byte) -106, player.method2436((byte) 100), 0, player.method2436((byte) 99), -2, 0); + } + } + if (i_76_ == 21) { + ToolkitFactory.anInt1534 = i_72_; + DisplayModeManagerContainer295.anInt5919++; + Node.anInt4292 = 0; + Component20.anInt6048 = 2; + AssetCacheLoader.anInt385 = i_73_; + ParticleSystem class348_sub47 = ParticleShader.method2148(CacheNodeSub1.aClass351_10477, (DisplayModeManagerContainer64.aClass77_9029), -107); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_77_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, NodeBaseSub2.regionTileX + i_74_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_75_ + Component330.regionTileY); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByteSubtract((byte) 120, (!Component280.aClass346_2449.isKeyDown(82, -123) ? 0 : 1)); + HashNodeSub14.method3243(120, class348_sub47); + HashNodeSub18.method3275(1, i_75_, i_74_); + } + if (i_76_ == 15) { + Component20.anInt6048 = 1; + AssetCacheLoader.anInt385 = i_73_; + Node.anInt4292 = 0; + ToolkitFactory.anInt1534 = i_72_; + client.anInt5187++; + ParticleSystem class348_sub47 = ParticleShader.method2148(AbstractBuffer.aClass351_4264, (DisplayModeManagerContainer64.aClass77_9029), -127); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(NodeBaseSub2.regionTileX - -i_74_, (byte) 3); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-85, Component281.anInt3829); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(JaclibLoader.anInt169, (byte) 3); + class348_sub47.aClass348_Sub49_Sub2_7116.writeInt((byte) 127, Component90.anInt2046); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-84, Component330.regionTileY + i_75_); + HashNodeSub14.method3243(-62, class348_sub47); + Component10.method2252(true, i_74_, i_75_, (byte) -91, 1, 0, 1, -4, 0); + } + if (i_76_ == 60) { + NodeSub22 class348_sub22 = ((NodeSub22) Component21.aClass356_3654.get(i_77_, -6008)); + if (class348_sub22 != null) { + Component200.anInt3707++; + Node.anInt4292 = 0; + AssetCacheLoader.anInt385 = i_73_; + ToolkitFactory.anInt1534 = i_72_; + Npc npc = (class348_sub22.npc); + Component20.anInt6048 = 2; + ParticleSystem class348_sub47 = (ParticleShader.method2148(RuntimeException_Sub1.aClass351_4601, DisplayModeManagerContainer64.aClass77_9029, -123)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_77_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByteInverse((byte) -67, (Component280.aClass346_2449.isKeyDown(82, -122) ? 1 : 0)); + HashNodeSub14.method3243(119, class348_sub47); + Component10.method2252(true, (npc.anIntArray10320[0]), (npc.anIntArray10317[0]), (byte) -111, npc.method2436((byte) 65), 0, npc.method2436((byte) 42), -2, 0); + } + } + if (i_76_ == 2) { + Node.anInt4292 = 0; + Component20.anInt6048 = 2; + CacheNodeSub1.anInt10476++; + AssetCacheLoader.anInt385 = i_73_; + ToolkitFactory.anInt1534 = i_72_; + ParticleSystem class348_sub47 = ParticleShader.method2148((GpiLogger.aClass351_8857), (DisplayModeManagerContainer64.aClass77_9029), -105); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, Component281.anInt3829); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, NodeBaseSub2.regionTileX + i_74_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeIntLittle(-128, Component90.anInt2046); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-82, Component330.regionTileY + i_75_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByteSubtract((byte) -74, (!Component280.aClass346_2449.isKeyDown(82, -125) ? 0 : 1)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(JaclibLoader.anInt169, (byte) 3); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle((int) (l >>> 32) & 0x7fffffff, (byte) 3); + HashNodeSub14.method3243(117, class348_sub47); + DisplayModeManagerContainer74.method2307(i_75_, l, i_74_, 4); + } + if (i_76_ == 58) { + Player player = (InterfaceRenderer.players[i_77_]); + if (player != null) { + Node.anInt4292 = 0; + ToolkitFactory.anInt1534 = i_72_; + AssetCacheLoader.anInt385 = i_73_; + Component20.anInt6048 = 2; + Component122.anInt1570++; + ParticleSystem class348_sub47 = ParticleShader.method2148((Component143.aClass351_2315), (DisplayModeManagerContainer64.aClass77_9029), -90); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, (!Component280.aClass346_2449.isKeyDown(82, -121) ? 0 : 1)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(52, i_77_); + HashNodeSub14.method3243(-127, class348_sub47); + Component10.method2252(true, (player.anIntArray10320[0]), (player.anIntArray10317[0]), (byte) -93, player.method2436((byte) 119), 0, player.method2436((byte) 54), -2, 0); + } + } + if (i_76_ == 17) { + Player player = (InterfaceRenderer.players[i_77_]); + if (player != null) { + Component20.anInt6048 = 2; + ToolkitFactory.anInt1534 = i_72_; + DisplayModeManagerContainer288.anInt8625++; + AssetCacheLoader.anInt385 = i_73_; + Node.anInt4292 = 0; + ParticleSystem class348_sub47 = ParticleShader.method2148((Component361.aClass351_364), (DisplayModeManagerContainer64.aClass77_9029), -113); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, (!Component280.aClass346_2449.isKeyDown(82, -126) ? 0 : 1)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_77_); + HashNodeSub14.method3243(121, class348_sub47); + Component10.method2252(true, (player.anIntArray10320[0]), (player.anIntArray10317[0]), (byte) -123, player.method2436((byte) 96), 0, player.method2436((byte) 97), -2, 0); + } + } + if (i_76_ == 47) { + AssetCacheLoader.anInt385 = i_73_; + Component20.anInt6048 = 2; + Node.anInt4292 = 0; + Component192.anInt3966++; + ToolkitFactory.anInt1534 = i_72_; + ParticleSystem class348_sub47 = ParticleShader.method2148((Component182.aClass351_9749), (DisplayModeManagerContainer64.aClass77_9029), -81); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_77_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(106, i_74_ - -NodeBaseSub2.regionTileX); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, (!Component280.aClass346_2449.isKeyDown(82, -128) ? 0 : 1)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, i_75_ - -Component330.regionTileY); + HashNodeSub14.method3243(116, class348_sub47); + HashNodeSub18.method3275(1, i_75_, i_74_); + } + if (i_76_ == 3) { + DisplayModeManagerContainer346.anInt2065++; + AssetCacheLoader.anInt385 = i_73_; + Node.anInt4292 = 0; + Component20.anInt6048 = 2; + ToolkitFactory.anInt1534 = i_72_; + ParticleSystem class348_sub47 = ParticleShader.method2148((HashNodeSub17.aClass351_9679), (DisplayModeManagerContainer64.aClass77_9029), -98); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByteSubtract((byte) -83, (!Component280.aClass346_2449.isKeyDown(82, -128) ? 0 : 1)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, NodeBaseSub2.regionTileX + i_74_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(i_75_ + Component330.regionTileY, (byte) 3); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, 0x7fffffff & (int) (l >>> 32)); + HashNodeSub14.method3243(127, class348_sub47); + DisplayModeManagerContainer74.method2307(i_75_, l, i_74_, 63); + } + if (i_76_ == 20) { + NodeSub22 class348_sub22 = ((NodeSub22) Component21.aClass356_3654.get(i_77_, -6008)); + if (class348_sub22 != null) { + Component20.anInt6048 = 2; + AssetCacheLoader.anInt385 = i_73_; + ToolkitFactory.anInt1534 = i_72_; + Npc npc = (class348_sub22.npc); + Node.anInt4292 = 0; + ShaderCompilerSub2.anInt6516++; + ParticleSystem class348_sub47 = ParticleShader.method2148((NewsFetcher.aClass351_4207), (DisplayModeManagerContainer64.aClass77_9029), -81); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, i_77_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByteAdd((byte) -119, (!Component280.aClass346_2449.isKeyDown(82, -123) ? 0 : 1)); + HashNodeSub14.method3243(-85, class348_sub47); + Component10.method2252(true, (npc.anIntArray10320[0]), (npc.anIntArray10317[0]), (byte) -121, npc.method2436((byte) 99), 0, npc.method2436((byte) 99), -2, 0); + } + } + if (i > 97) { + if (i_76_ == 1010) { + Component20.anInt6048 = 2; + HashNodeSub18.anInt9686++; + ToolkitFactory.anInt1534 = i_72_; + AssetCacheLoader.anInt385 = i_73_; + Node.anInt4292 = 0; + ParticleSystem class348_sub47 = ParticleShader.method2148((Component304.aClass351_1144), (DisplayModeManagerContainer64.aClass77_9029), -96); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_77_); + HashNodeSub14.method3243(125, class348_sub47); + } + if (i_76_ == 22) { + Component20.anInt6048 = 2; + Node.anInt4292 = 0; + ToolkitFactory.anInt1534 = i_72_; + AssetCacheLoader.anInt385 = i_73_; + HashNodeSub13.anInt9620++; + ParticleSystem class348_sub47 = ParticleShader.method2148((Connection.aClass351_2661), (DisplayModeManagerContainer64.aClass77_9029), -117); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByteSubtract((byte) -101, (!Component280.aClass346_2449.isKeyDown(82, -125) ? 0 : 1)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-69, NodeBaseSub2.regionTileX + i_74_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(Component330.regionTileY + i_75_, (byte) 3); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_77_); + HashNodeSub14.method3243(116, class348_sub47); + HashNodeSub18.method3275(1, i_75_, i_74_); + } + if (i_76_ == 50) { + AssetCacheLoader.anInt385 = i_73_; + Component20.anInt6048 = 2; + Node.anInt4292 = 0; + ToolkitFactory.anInt1534 = i_72_; + NativeLibraryLoader.anInt2975++; + ParticleSystem class348_sub47 = ParticleShader.method2148((RSACipher.aClass351_4907), (DisplayModeManagerContainer64.aClass77_9029), -127); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, JaclibLoader.anInt169); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle((Component72.localPlayer.anInt10290), (byte) 3); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(Component281.anInt3829, (byte) 3); + class348_sub47.aClass348_Sub49_Sub2_7116.writeIntInverseMiddle(Component90.anInt2046, -4086); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByteInverse((byte) -29, (Component280.aClass346_2449.isKeyDown(82, -121) ? 1 : 0)); + HashNodeSub14.method3243(-40, class348_sub47); + } + if (i_76_ == 18 || i_76_ == 1011) SceneNode.method2780(i_74_, (class348_sub42_sub12.target), (byte) 5, i_77_, i_75_); + if (i_76_ == 13) { + DisplayModeManagerContainer57 class46 = NodeSub22.method2957(i_74_, (byte) -54, i_75_); + if (class46 != null) { + DisplayModeManagerContainer196.method2678(-2049); + NodeSub44 class348_sub44 = client.method105(class46); + NewsFetcher.method2666(class348_sub44.anInt7093, class348_sub44.method3307(14), class46, (byte) 21); + DisplayModeManagerContainer332.aString5001 = DisplayModeManagerContainer295.method1753(0, class46); + DisplayModeManagerContainer332.aString5000 = (class46.aString752 + ""); + if (DisplayModeManagerContainer332.aString5001 == null) DisplayModeManagerContainer332.aString5001 = "Null"; + } + } else { + if (i_76_ == 1009 || i_76_ == 1012 || i_76_ == 1002 || i_76_ == 1003 || i_76_ == 1006) Component304.method696(i_76_, i_74_, i_77_, -1007); + if (i_76_ == 25) { + NodeSub22 class348_sub22 = ((NodeSub22) Component21.aClass356_3654.get(i_77_, -6008)); + if (class348_sub22 != null) { + Component20.anInt6048 = 2; + ToolkitFactory.anInt1534 = i_72_; + Component264.anInt8702++; + Npc npc = (class348_sub22.npc); + AssetCacheLoader.anInt385 = i_73_; + Node.anInt4292 = 0; + ParticleSystem class348_sub47 = (ParticleShader.method2148(NodeSub18.aClass351_6814, DisplayModeManagerContainer64.aClass77_9029, -125)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, !Component280.aClass346_2449.isKeyDown(82, -125) ? 0 : 1); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(i_77_, (byte) 3); + HashNodeSub14.method3243(-37, class348_sub47); + Component10.method2252(true, (npc.anIntArray10320[0]), (npc.anIntArray10317[0]), (byte) -85, npc.method2436((byte) 124), 0, npc.method2436((byte) 84), -2, 0); + } + } + if (i_76_ == 57) { + Player player = (InterfaceRenderer.players[i_77_]); + if (player != null) { + Component20.anInt6048 = 2; + ToolkitFactory.anInt1534 = i_72_; + Component14.anInt8588++; + Node.anInt4292 = 0; + AssetCacheLoader.anInt385 = i_73_; + ParticleSystem class348_sub47 = (ParticleShader.method2148(DefinitionGroup.aClass351_9533, DisplayModeManagerContainer64.aClass77_9029, -115)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-88, i_77_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByteAdd((byte) -111, Component280.aClass346_2449.isKeyDown(82, -127) ? 1 : 0); + HashNodeSub14.method3243(125, class348_sub47); + Component10.method2252(true, (player.anIntArray10320[0]), (player.anIntArray10317[0]), (byte) -98, player.method2436((byte) 83), 0, player.method2436((byte) 91), -2, 0); + } + } + if (i_76_ == 9) { + DisplayModeManagerContainer104.anInt10364++; + AssetCacheLoader.anInt385 = i_73_; + Node.anInt4292 = 0; + Component20.anInt6048 = 2; + ToolkitFactory.anInt1534 = i_72_; + ParticleSystem class348_sub47 = (ParticleShader.method2148(Component278.aClass351_3237, DisplayModeManagerContainer64.aClass77_9029, -125)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-96, Component330.regionTileY + i_75_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAddLittle(4325, 0x7fffffff & (int) (l >>> 32)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(i_74_ - -NodeBaseSub2.regionTileX, (byte) 3); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByteAdd((byte) -91, (!Component280.aClass346_2449.isKeyDown(82, -127) ? 0 : 1)); + HashNodeSub14.method3243(118, class348_sub47); + DisplayModeManagerContainer74.method2307(i_75_, l, i_74_, 24); + } + if (i_76_ == 44) { + NodeSub22 class348_sub22 = ((NodeSub22) Component21.aClass356_3654.get(i_77_, -6008)); + if (class348_sub22 != null) { + Npc npc = (class348_sub22.npc); + ToolkitFactory.anInt1534 = i_72_; + Node.anInt4292 = 0; + AssetCacheLoader.anInt385 = i_73_; + Component20.anInt6048 = 2; + DisplayModeManagerContainer306.anInt4773++; + ParticleSystem class348_sub47 = (ParticleShader.method2148(CookieBuilder.aClass351_618, DisplayModeManagerContainer64.aClass77_9029, -117)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShort((byte) 107, i_77_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByte(false, Component280.aClass346_2449.isKeyDown(82, -124) ? 1 : 0); + HashNodeSub14.method3243(-25, class348_sub47); + Component10.method2252(true, (npc.anIntArray10320[0]), (npc.anIntArray10317[0]), (byte) -107, npc.method2436((byte) 104), 0, npc.method2436((byte) 50), -2, 0); + } + } + if (i_76_ == 10) { + Component20.anInt6048 = 2; + AssetCacheLoader.anInt385 = i_73_; + Node.anInt4292 = 0; + Component189.anInt3820++; + ToolkitFactory.anInt1534 = i_72_; + ParticleSystem class348_sub47 = (ParticleShader.method2148(ReliefShader.aClass351_2512, DisplayModeManagerContainer64.aClass77_9029, -91)); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-108, i_75_ - -Component330.regionTileY); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortAdd(-70, i_77_); + class348_sub47.aClass348_Sub49_Sub2_7116.writeShortLittle(NodeBaseSub2.regionTileX + i_74_, (byte) 3); + class348_sub47.aClass348_Sub49_Sub2_7116.writeByteInverse((byte) -70, (!Component280.aClass346_2449.isKeyDown(82, -128) ? 0 : 1)); + HashNodeSub14.method3243(-22, class348_sub47); + HashNodeSub18.method3275(1, i_75_, i_74_); + } + if (r.aBoolean9722) DisplayModeManagerContainer196.method2678(-2049); + if (ResourceLoader.aClass46_3913 == null || Component83.anInt1656 != 0) break; + Component111.markInterfaceDirty(-9343, ResourceLoader.aClass46_3913); + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("daa.A(" + i + ',' + ((class348_sub42_sub12 != null) ? "{...}" : "null") + ',' + i_72_ + ',' + i_73_ + ')')); + } + break; + } while (false); + } + + private ColoredTextBuilder(int i, int i_78_, Component342 class68) { + try { + anInt4072 = i_78_; + aClass68_4071 = class68; + this.anInt4070 = i; + this.anInt4069 = aClass68_4071.anInt1178 * anInt4072; + if (this.anInt4070 >= 16) throw new RuntimeException(); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("daa.(" + i + ',' + i_78_ + ',' + (class68 != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/text/Cp1252Decoder.java b/client/text/Cp1252Decoder.java new file mode 100644 index 000000000..dfe683f07 --- /dev/null +++ b/client/text/Cp1252Decoder.java @@ -0,0 +1,125 @@ +/* Cp1252Decoder - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ +/** + * RENAMED from `Class50_Sub1` (JODE-obfuscated). + * CP1252 charset decoder. Extends Component47; reports 'Non cp1252 character 0x' for bytes outside the Windows-1252 code page when decoding client strings. + */ + +final class Cp1252Decoder extends Component47 { + static DisplayModeManagerContainer204 aClass101_5209; + static int anInt5210; + static int anInt5211; + private final int anInt5212; + private final int anInt5213; + private int anInt5214; + static int anInt5215; + static int anInt5216; + static StringCache aClass351_5217; + static int anInt5218; + /** True when the OS reported at least two display modes (fullscreen path allowed). */ + static boolean fullscreenAvailable = true; + static int anInt5220; + static boolean aBoolean5221 = false; + private final int anInt5222; + static String[] aStringArray5223; + static boolean aBoolean5224; + static boolean[][] aBooleanArrayArray5225; + static boolean aBoolean5226; + + final void method455(int i, int i_0_, int i_1_) { + anInt5220++; + if (i_1_ >= -98) aBoolean5221 = false; + int i_2_ = anInt5214 * i >> 12; + int i_3_ = i * anInt5213 >> 12; + int i_4_ = anInt5212 * i_0_ >> 12; + int i_5_ = i_0_ * anInt5222 >> 12; + DisplayModeManagerContainer356.method2267(10499, i_5_, i_2_, this.anInt865, this.anInt864, this.anInt862, i_4_, i_3_); + } + + public static void method460(int i) { + if (i != 2) method460(-52); + aClass101_5209 = null; + aBooleanArrayArray5225 = null; + aStringArray5223 = null; + aClass351_5217 = null; + } + + Cp1252Decoder(int i, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_) { + super(i_9_, i_10_, i_11_); + anInt5214 = i; + anInt5222 = i_8_; + anInt5213 = i_7_; + anInt5212 = i_6_; + } + + final void method457(int i, int i_12_, int i_13_) { + anInt5211++; + if (i_13_ >= -29) method460(-42); + } + + final void method456(int i, int i_14_, int i_15_) { + if (i <= 87) anInt5214 = -17; + anInt5218++; + int i_16_ = i_14_ * anInt5214 >> 12; + int i_17_ = anInt5213 * i_14_ >> 12; + int i_18_ = anInt5212 * i_15_ >> 12; + int i_19_ = i_15_ * anInt5222 >> 12; + GraphicsToolkit.method3641(i_18_, i_19_, (byte) -75, this.anInt864, i_17_, i_16_); + } + + static final byte[] unwrapBytes(boolean bool, Object object, int i) { + anInt5215++; + if (object == null) return null; + if (object instanceof byte[]) { + byte[] is = (byte[]) object; + if (bool) return GlToolkitSub3.method3873(is, 0); + return is; + } + if (i != 53146732) return null; + if (object instanceof AbstractBuffer) { + AbstractBuffer class344 = (AbstractBuffer) object; + return class344.toByteArray(-3672); + } + throw new IllegalArgumentException(); + } + + static final char method462(byte i, int i_20_) { + anInt5216++; + int i_21_ = 0xff & i; + if (i_21_ == 0) throw new IllegalArgumentException("Non cp1252 character 0x" + Integer.toString(i_21_, 16) + " provided"); + if (i_21_ >= 128 && i_21_ < 160) { + int i_22_ = Component352.cp1252HighChars[i_21_ + -128]; + if (i_22_ == 0) i_22_ = 63; + i_21_ = i_22_; + } + if (i_20_ != -128) method463(null, false); + return (char) i_21_; + } + + static final int[] method463(ParticleSystem class348_sub47, boolean bool) { + anInt5210++; + Buffer class348_sub49 = new Buffer(518); + int[] is = new int[4]; + for (int i = 0; i < 4; i++) + is[i] = (int) (Math.random() * 9.9999999E7); + class348_sub49.writeByte(bool, 10); + class348_sub49.writeInt((byte) 114, is[0]); + class348_sub49.writeInt((byte) 97, is[1]); + class348_sub49.writeInt((byte) 109, is[2]); + class348_sub49.writeInt((byte) 105, is[3]); + for (int i = 0; i < 10; i++) + class348_sub49.writeInt((byte) 120, (int) (9.9999999E7 * Math.random())); + class348_sub49.writeShort((byte) 107, (int) (9.9999999E7 * Math.random())); + class348_sub49.applyRsa(Sprite.aBigInteger6921, (byte) -98, Component269.aBigInteger8762); + class348_sub47.aClass348_Sub49_Sub2_7116.writeBytes(class348_sub49.offset, 0, class348_sub49.payload, 80); + return is; + } + + static { + aClass351_5217 = new StringCache(17, 8); + aBooleanArrayArray5225 = (new boolean[][]{new boolean[4], {false, true, true, false}, {true, false, true, false}, {true, false, true, false}, {false, false, true, false}, {false, false, true, false}, {true, false, true, false}, {true, false, false, true}, {true, false, false, true}, {true, true, false, false}, new boolean[4], {false, true, false, true}, new boolean[4]}); + aBoolean5226 = false; + aBoolean5224 = false; + } +} diff --git a/client/text/HelveticaFont.java b/client/text/HelveticaFont.java new file mode 100644 index 000000000..a637d8e79 --- /dev/null +++ b/client/text/HelveticaFont.java @@ -0,0 +1,148 @@ +/* HelveticaFont - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class199` (JODE-obfuscated). + * Helvetica font metrics. Loads the 'Helvetica' typeface metrics used for text rasterisation in the software UI fallback path. + */ + +import java.awt.*; + +final class HelveticaFont { + static int anInt2624; + private final boolean aBoolean2625; + private int anInt2626; + static int anInt2627; + static int anInt2628; + private final boolean aBoolean2629; + static int anInt2630; + static int[] anIntArray2631 = new int[4096]; + static int[] anIntArray2632; + static int[] anIntArray2633; + static int anInt2634; + private final int anInt2635; + static Component48[] aClass352Array2636; + static int anInt2637; + + static final void method1455(int i, Color color, String string, Color color_0_, byte i_1_, Color color_2_) { + try { + anInt2627++; + try { + Graphics graphics = DisplayModeManagerContainer50.gameCanvas.getGraphics(); + if (StringCache.aFont4329 == null) StringCache.aFont4329 = new Font("Helvetica", 1, 13); + if (color == null) color = new Color(140, 17, 17); + if (color_0_ == null) color_0_ = new Color(140, 17, 17); + if (color_2_ == null) color_2_ = new Color(255, 255, 255); + try { + if (DisplayModeManagerContainer173.anImage4249 == null) DisplayModeManagerContainer173.anImage4249 = (DisplayModeManagerContainer50.gameCanvas.createImage(Component236.anInt4017, PacketReader.anInt10432)); + Graphics graphics_3_ = DisplayModeManagerContainer173.anImage4249.getGraphics(); + graphics_3_.setColor(Color.black); + graphics_3_.fillRect(0, 0, Component236.anInt4017, PacketReader.anInt10432); + int i_4_ = -152 + Component236.anInt4017 / 2; + int i_5_ = -18 + PacketReader.anInt10432 / 2; + graphics_3_.setColor(color_0_); + graphics_3_.drawRect(i_4_, i_5_, 303, 33); + graphics_3_.setColor(color); + graphics_3_.fillRect(2 + i_4_, i_5_ - -2, i * 3, 30); + graphics_3_.setColor(Color.black); + graphics_3_.drawRect(i_4_ + 1, 1 + i_5_, 301, 31); + graphics_3_.fillRect(3 * i + (i_4_ - -2), 2 + i_5_, 300 - i * 3, 30); + graphics_3_.setFont(StringCache.aFont4329); + graphics_3_.setColor(color_2_); + if (i_1_ > -42) anIntArray2631 = null; + graphics_3_.drawString(string, (i_4_ + (304 - string.length() * 6) / 2), i_5_ + 22); + if (HashNodeSub16.aString9665 != null) { + graphics_3_.setFont(StringCache.aFont4329); + graphics_3_.setColor(color_2_); + graphics_3_.drawString(HashNodeSub16.aString9665, (Component236.anInt4017 / 2 - (HashNodeSub16.aString9665.length() * 6 / 2)), -26 + PacketReader.anInt10432 / 2); + } + graphics.drawImage(DisplayModeManagerContainer173.anImage4249, 0, 0, null); + } catch (Exception exception) { + graphics.setColor(Color.black); + graphics.fillRect(0, 0, Component236.anInt4017, PacketReader.anInt10432); + int i_6_ = -152 + Component236.anInt4017 / 2; + int i_7_ = PacketReader.anInt10432 / 2 + -18; + graphics.setColor(color_0_); + graphics.drawRect(i_6_, i_7_, 303, 33); + graphics.setColor(color); + graphics.fillRect(2 + i_6_, 2 + i_7_, i * 3, 30); + graphics.setColor(Color.black); + graphics.drawRect(1 + i_6_, 1 + i_7_, 301, 31); + graphics.fillRect(3 * i + 2 + i_6_, 2 + i_7_, -(i * 3) + 300, 30); + graphics.setFont(StringCache.aFont4329); + graphics.setColor(color_2_); + if (HashNodeSub16.aString9665 != null) { + graphics.setFont(StringCache.aFont4329); + graphics.setColor(color_2_); + graphics.drawString(HashNodeSub16.aString9665, (Component236.anInt4017 / 2 + -(6 * HashNodeSub16.aString9665.length() / 2)), PacketReader.anInt10432 / 2 - 26); + } + graphics.drawString(string, i_6_ - -((304 + -(string.length() * 6)) / 2), 22 + i_7_); + } + } catch (Exception exception) { + DisplayModeManagerContainer50.gameCanvas.repaint(); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("rc.A(" + i + ',' + (color != null ? "{...}" : "null") + ',' + (string != null ? "{...}" : "null") + ',' + (color_0_ != null ? "{...}" : "null") + ',' + i_1_ + ',' + (color_2_ != null ? "{...}" : "null") + ')')); + } + } + + final boolean method1456(byte i) { + if (i < 49) return true; + anInt2634++; + return aBoolean2625; + } + + static final int method1457(int i, int i_8_) { + if (NodeSub1Sub2.aByteArrayArray8816 != null) return NodeSub1Sub2.aByteArrayArray8816[i][i_8_] & 0xff; + return 0; + } + + final int method1458(int i) { + if (i != -23688) return -22; + anInt2628++; + return anInt2635; + } + + static final void method1459(int i, int i_9_) { + anInt2637++; + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i, (byte) 105, 10); + class348_sub42_sub15.method3251(-16058); + if (i_9_ != 2) aClass352Array2636 = null; + } + + final boolean method1460(int i) { + anInt2630++; + if (i >= -27) anInt2626 = 107; + return aBoolean2629; + } + + public static void method1461(byte i) { + anIntArray2633 = null; + if (i <= 77) anIntArray2633 = null; + anIntArray2631 = null; + aClass352Array2636 = null; + anIntArray2632 = null; + } + + final int method1462(int i) { + int i_10_ = 23 % ((-4 - i) / 55); + anInt2624++; + return anInt2626; + } + + HelveticaFont(boolean bool, int i, int i_11_, boolean bool_12_) { + anInt2626 = i_11_; + aBoolean2625 = bool_12_; + anInt2635 = i; + aBoolean2629 = bool; + } + + static { + for (int i = 0; i < 4096; i++) + anIntArray2631[i] = Component278.method1918(-3358, i); + anIntArray2632 = new int[32]; + anIntArray2633 = new int[32]; + aClass352Array2636 = null; + } +} diff --git a/client/text/ImageTagText.java b/client/text/ImageTagText.java new file mode 100644 index 000000000..e6ee48b70 --- /dev/null +++ b/client/text/ImageTagText.java @@ -0,0 +1,176 @@ +/* ImageTagText - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class163` (JODE-obfuscated). + * Image-tag text component. Extends the text base; renders '' inline image tags inside chat/UI strings. + */ + +final class ImageTagText { + private int anInt2159; + static int anInt2160; + static int anInt2161; + static boolean[] aBooleanArray2162; + private int[][] anIntArrayArray2163; + private int anInt2164; + static int[][] anIntArrayArray2165 = {{2, 4, 6, 0}, {0, 2, 3, 5, 6, 4}, {0, 1, 4, 5}, {4, 6, 0, 2}, {2, 4, 0}, {0, 2, 4}, {6, 0, 1, 2, 4, 5}, {0, 1, 2, 4, 6, 7}, {4, 7, 6, 0}, {0, 8, 6, 1, 9, 2, 9, 4}, {2, 9, 4, 0, 8, 6}, {2, 11, 3, 7, 10, 10, 6, 6}, {2, 4, 6, 0}}; + static int anInt2166; + static int anInt2167; + static int anInt2168; + static DisplayModeManagerContainer167[] aClass17Array2169 = new DisplayModeManagerContainer167[14]; + static int anInt2170; + static int anInt2171; + + final short[] method1268(int i, short[] is) { + anInt2171++; + int i_0_ = 14 % ((i - 48) / 33); + if (anIntArrayArray2163 != null) { + int i_1_ = 14 + (int) ((long) anInt2159 * (long) is.length / (long) anInt2164); + int[] is_2_ = new int[i_1_]; + int i_3_ = 0; + int i_4_ = 0; + for (int i_5_ = 0; i_5_ < is.length; i_5_++) { + int i_6_ = is[i_5_]; + int[] is_7_ = anIntArrayArray2163[i_4_]; + for (int i_8_ = 0; i_8_ < 14; i_8_++) + is_2_[i_3_ + i_8_] += i_6_ * is_7_[i_8_] >> 2; + i_4_ += anInt2159; + int i_9_ = i_4_ / anInt2164; + i_4_ -= anInt2164 * i_9_; + i_3_ += i_9_; + } + is = new short[i_1_]; + for (int i_10_ = 0; i_10_ < i_1_; i_10_++) { + int i_11_ = 8192 + is_2_[i_10_] >> 14; + if (i_11_ >= -32768) { + if (i_11_ > 32767) is[i_10_] = (short) 32767; + else is[i_10_] = (short) i_11_; + } else is[i_10_] = (short) -32768; + } + } + return is; + } + + static final HashNodeSub14 method1269(int i) { + if (i != -17096) return null; + anInt2168++; + return DisplayModeManagerContainer229.aClass348_Sub42_Sub14_1243; + } + + final int method1270(int i, byte i_12_) { + if (i_12_ != -85) return 59; + anInt2160++; + if (anIntArrayArray2163 != null) i = (int) ((long) i * (long) anInt2159 / (long) anInt2164); + return i; + } + + static final void method1271(int i) { + anInt2166++; + synchronized (DisplayModeManagerContainer173.aClass60_4254) { + DisplayModeManagerContainer173.aClass60_4254.method587(-86); + if (i != 0) method1276(25); + } + } + + final byte[] method1272(byte[] is, int i) { + if (i != 1) method1276(71); + anInt2167++; + if (anIntArrayArray2163 != null) { + int i_13_ = ((int) ((long) anInt2159 * (long) is.length / (long) anInt2164) + 14); + int[] is_14_ = new int[i_13_]; + int i_15_ = 0; + int i_16_ = 0; + for (int i_17_ = 0; i_17_ < is.length; i_17_++) { + int i_18_ = is[i_17_]; + int[] is_19_ = anIntArrayArray2163[i_16_]; + for (int i_20_ = 0; i_20_ < 14; i_20_++) + is_14_[i_15_ + i_20_] += i_18_ * is_19_[i_20_]; + i_16_ += anInt2159; + int i_21_ = i_16_ / anInt2164; + i_16_ -= anInt2164 * i_21_; + i_15_ += i_21_; + } + is = new byte[i_13_]; + for (int i_22_ = 0; i_22_ < i_13_; i_22_++) { + int i_23_ = is_14_[i_22_] - -32768 >> 16; + if (i_23_ >= -128) { + if (i_23_ > 127) is[i_22_] = (byte) 127; + else is[i_22_] = (byte) i_23_; + } else is[i_22_] = (byte) -128; + } + } + return is; + } + + static final String method1273(int[] is, boolean bool) { + anInt2161++; + StringBuffer stringbuffer = new StringBuffer(); + int i = Component175.anInt5850; + for (int i_24_ = 0; is.length > i_24_; i_24_++) { + Component236 class321 = DisplayModeManagerContainer64.aClass187_9036.method1408(-12637, is[i_24_]); + if (class321.anInt4000 != -1) { + Component24 class105 = ((Component24) Component225.aClass60_463.get(class321.anInt4000, -74)); + if (class105 == null) { + Component170 class207 = Component170.method1521(Component158.aClass45_322, class321.anInt4000, 0); + if (class207 != null) { + class105 = NodeSub8.toolkit.method3691(class207, true); + Component225.aClass60_463.putOne(class105, class321.anInt4000, (byte) -127); + } + } + if (class105 != null) { + DisplayModeManagerContainer196.aClass105Array4234[i] = class105; + stringbuffer.append(" "); + i++; + } + } + } + if (bool != true) aBooleanArray2162 = null; + return stringbuffer.toString(); + } + + static final void method1274(DisplayModeManagerContainer154 class76) { + DisplayModeManagerContainer5.aClass76_1208 = class76; + } + + final int method1275(int i, int i_25_) { + int i_26_ = 26 % ((i - -29) / 32); + anInt2170++; + if (anIntArrayArray2163 != null) i_25_ = ((int) ((long) i_25_ * (long) anInt2159 / (long) anInt2164) + 6); + return i_25_; + } + + ImageTagText(int i, int i_27_) { + if (i != i_27_) { + int i_28_ = NodeSub1Sub1.method2726(-21806, i, i_27_); + i /= i_28_; + i_27_ /= i_28_; + anIntArrayArray2163 = new int[i][14]; + anInt2159 = i_27_; + anInt2164 = i; + for (int i_29_ = 0; i_29_ < i; i_29_++) { + int[] is = anIntArrayArray2163[i_29_]; + double d = (double) i_29_ / (double) i + 6.0; + int i_30_ = (int) Math.floor(1.0 + (-7.0 + d)); + if (i_30_ < 0) i_30_ = 0; + int i_31_ = (int) Math.ceil(d + 7.0); + if (i_31_ > 14) i_31_ = 14; + double d_32_ = (double) i_27_ / (double) i; + for (/**/; i_30_ < i_31_; i_30_++) { + double d_33_ = 3.141592653589793 * (-d + (double) i_30_); + double d_34_ = d_32_; + if (d_33_ < -1.0E-4 || d_33_ > 1.0E-4) d_34_ *= Math.sin(d_33_) / d_33_; + d_34_ *= (Math.cos(0.2243994752564138 * ((double) i_30_ - d)) * 0.46) + 0.54; + is[i_30_] = (int) Math.floor(0.5 + d_34_ * 65536.0); + } + } + } + } + + public static void method1276(int i) { + int i_35_ = 101 % ((i - -20) / 49); + aClass17Array2169 = null; + anIntArrayArray2165 = null; + aBooleanArray2162 = null; + } +} diff --git a/client/text/ItemDefinition.java b/client/text/ItemDefinition.java new file mode 100644 index 000000000..20c0a8aae --- /dev/null +++ b/client/text/ItemDefinition.java @@ -0,0 +1,751 @@ +/* ItemDefinition - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from {@code Class213} / misnamed {@code NumberFormatter}. + * Cache item definition (name, inventory options, note links, models, params). + * Loaded by {@link ItemDefinitionProvider#getItemDefinition}; console {@code item} + * echo uses {@link #itemName}. Some unrelated static helpers are still parked here. + */ + +final class ItemDefinition { + static int anInt2751; + int anInt2752 = -1; + private int anInt2753; + static int anInt2754; + boolean aBoolean2755; + private int anInt2756; + LruCache aClass356_2757; + int anInt2758; + int anInt2759; + private int anInt2760; + /** Owning provider that decoded this def (back-pointer for model caches). */ + ItemDefinitionProvider aClass255_2761; + int[] anIntArray2762; + String[] aStringArray2763; + int anInt2764; + private int anInt2765; + int anInt2766; + private int anInt2767; + static int anInt2768; + /** Item archive id this def was loaded for. */ + int itemId; + private int anInt2770 = -1; + private short[] aShortArray2771; + int[] anIntArray2772; + static SocketStream aClass238_2773; + int anInt2774; + private int anInt2775; + static int anInt2776; + private short[] aShortArray2777; + int anInt2778; + int anInt2779; + static int anInt2780; + int anInt2781; + static int anInt2782; + boolean aBoolean2783; + int anInt2784; + private short[] aShortArray2785; + private int anInt2786; + int anInt2787; + int anInt2788; + static long aLong2789; + static int anInt2790; + private int anInt2791; + private int anInt2792; + static int anInt2793; + private int anInt2794; + /** Display name (menus, examine, console {@code item … (name)} echo). */ + String itemName; + static int anInt2796; + private int anInt2797; + static int anInt2798 = 0; + int anInt2799; + static int anInt2800; + private short[] aShortArray2801; + int anInt2802; + private int anInt2803; + private int anInt2804; + private int anInt2805; + static int anInt2806; + private int anInt2807; + private int anInt2808; + static int anInt2809; + int anInt2810; + String[] aStringArray2811; + int anInt2812; + static int anInt2813; + static int anInt2814; + int anInt2815; + static int anInt2816; + int anInt2817; + int anInt2818; + int anInt2819; + int anInt2820; + private byte[] aByteArray2821; + private int anInt2822; + private int anInt2823; + private int anInt2824; + int anInt2825; + int anInt2826; + int anInt2827; + static int anInt2828; + static int anInt2829; + int anInt2830; + int[] anIntArray2831; + static int anInt2832; + int anInt2833; + + final DisplayModeManagerContainer77 method1554(boolean bool, int i) { + anInt2796++; + int i_0_ = anInt2792; + int i_1_ = anInt2767; + if (bool) { + i_1_ = anInt2775; + i_0_ = anInt2822; + } + if (i_0_ == -1) return null; + DisplayModeManagerContainer77 class124 = Component189.loadFromCache(0, this.aClass255_2761.aClass45_3268, i_0_, -1); + if ((~class124.anInt1830) > i) class124.method1092(2, 54); + if (i_1_ != -1) { + DisplayModeManagerContainer77 class124_2_ = Component189.loadFromCache(0, (this.aClass255_2761.aClass45_3268), i_1_, -1); + if (class124_2_.anInt1830 < 13) class124_2_.method1092(2, i ^ ~0x78); + DisplayModeManagerContainer77[] class124s = {class124, class124_2_}; + class124 = new DisplayModeManagerContainer77(class124s, 2); + } + if (aShortArray2777 != null) { + for (int i_3_ = 0; i_3_ < aShortArray2777.length; i_3_++) + class124.method1098(aShortArray2777[i_3_], (byte) 126, aShortArray2771[i_3_]); + } + if (aShortArray2785 != null) { + for (int i_4_ = 0; i_4_ < aShortArray2785.length; i_4_++) + class124.method1095(aShortArray2785[i_4_], 0, aShortArray2801[i_4_]); + } + return class124; + } + + final boolean method1555(byte i, boolean bool) { + anInt2828++; + int i_5_ = anInt2792; + int i_6_ = -15 / ((28 - i) / 55); + int i_7_ = anInt2767; + if (bool) { + i_5_ = anInt2822; + i_7_ = anInt2775; + } + if (i_5_ == -1) return true; + boolean bool_8_ = true; + if (!this.aClass255_2761.aClass45_3268.isFileReady(-10499, i_5_, 0)) bool_8_ = false; + if (i_7_ != -1 && !this.aClass255_2761.aClass45_3268.isFileReady(-10499, i_7_, 0)) bool_8_ = false; + return bool_8_; + } + + final void method1556(ItemDefinition class213_9_, byte i, ItemDefinition class213_10_) { + try { + anInt2808 = class213_9_.anInt2808; + this.anInt2779 = class213_10_.anInt2779; + this.anInt2819 = 0; + aShortArray2785 = class213_9_.aShortArray2785; + this.anInt2788 = class213_9_.anInt2788; + this.anInt2781 = class213_10_.anInt2781; + this.aStringArray2811 = class213_9_.aStringArray2811; + anInt2797 = class213_9_.anInt2797; + aByteArray2821 = class213_9_.aByteArray2821; + aShortArray2771 = class213_9_.aShortArray2771; + this.itemName = class213_9_.itemName; + anInt2756 = class213_10_.anInt2756; + anInt2770 = class213_9_.anInt2770; + aShortArray2777 = class213_9_.aShortArray2777; + this.anInt2815 = class213_9_.anInt2815; + anInt2822 = class213_9_.anInt2822; + anInt2804 = class213_9_.anInt2804; + this.anInt2825 = class213_10_.anInt2825; + anInt2767 = class213_9_.anInt2767; + aShortArray2801 = class213_9_.aShortArray2801; + this.aBoolean2783 = class213_9_.aBoolean2783; + this.anInt2810 = class213_10_.anInt2810; + this.aStringArray2763 = new String[5]; + if (i > -5) method1554(false, -92); + anInt2823 = class213_9_.anInt2823; + anInt2775 = class213_9_.anInt2775; + anInt2832++; + anInt2807 = class213_9_.anInt2807; + anInt2792 = class213_9_.anInt2792; + this.aClass356_2757 = class213_9_.aClass356_2757; + anInt2805 = class213_9_.anInt2805; + this.anInt2827 = class213_9_.anInt2827; + this.anInt2787 = class213_10_.anInt2787; + anInt2760 = class213_9_.anInt2760; + anInt2753 = class213_9_.anInt2753; + anInt2803 = class213_9_.anInt2803; + this.anInt2826 = class213_10_.anInt2826; + if (class213_9_.aStringArray2763 != null) { + for (int i_11_ = 0; i_11_ < 4; i_11_++) + this.aStringArray2763[i_11_] = class213_9_.aStringArray2763[i_11_]; + } + this.aStringArray2763[4] = FriendsIgnoreList.aClass274_3489.getLocalized((this.aClass255_2761.anInt3286), 544); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("rq.G(" + (class213_9_ != null ? "{...}" : "null") + ',' + i + ',' + (class213_10_ != null ? "{...}" : "null") + ')')); + } + } + + private final String method1557(int i, int i_12_) { + anInt2816++; + if (i_12_ != -11619) this.anInt2788 = -113; + if (i < 100000) return "" + i + ""; + if (i < 10000000) return ("" + i / 1000 + FriendsIgnoreList.aClass274_3519.getLocalized((this.aClass255_2761.anInt3286), 544) + ""); + return ("" + i / 1000000 + FriendsIgnoreList.aClass274_3517.getLocalized((this.aClass255_2761.anInt3286), 544) + ""); + } + + final DisplayModeManagerContainer77 method1558(boolean bool, boolean bool_13_) { + anInt2809++; + int i = this.anInt2815; + int i_14_ = anInt2804; + if (bool_13_ != false) this.aClass356_2757 = null; + int i_15_ = anInt2805; + if (bool) { + i = this.anInt2788; + i_15_ = anInt2770; + i_14_ = anInt2760; + } + if (i == -1) return null; + DisplayModeManagerContainer77 class124 = Component189.loadFromCache(0, this.aClass255_2761.aClass45_3268, i, -1); + if (class124.anInt1830 < 13) class124.method1092(2, 64); + if (i_14_ != -1) { + DisplayModeManagerContainer77 class124_16_ = Component189.loadFromCache(0, (this.aClass255_2761.aClass45_3268), i_14_, -1); + if (class124_16_.anInt1830 < 13) class124_16_.method1092(2, 89); + if (i_15_ == -1) { + DisplayModeManagerContainer77[] class124s = {class124, class124_16_}; + class124 = new DisplayModeManagerContainer77(class124s, 2); + } else { + DisplayModeManagerContainer77 class124_17_ = Component189.loadFromCache(0, (this.aClass255_2761.aClass45_3268), i_15_, -1); + if (class124_17_.anInt1830 < 13) class124_17_.method1092(2, 109); + DisplayModeManagerContainer77[] class124s = {class124, class124_16_, class124_17_}; + class124 = new DisplayModeManagerContainer77(class124s, 3); + } + } + if (class124 == null) return null; + if (!bool && (anInt2807 != 0 || anInt2797 != 0 || anInt2808 != 0)) class124.method1099((byte) 110, anInt2808, anInt2807, anInt2797); + if (bool && (anInt2803 != 0 || anInt2753 != 0 || anInt2823 != 0)) class124.method1099((byte) 24, anInt2823, anInt2803, anInt2753); + if (aShortArray2777 != null) { + for (int i_18_ = 0; aShortArray2777.length > i_18_; i_18_++) + class124.method1098(aShortArray2777[i_18_], (byte) 126, aShortArray2771[i_18_]); + } + if (aShortArray2785 != null) { + for (int i_19_ = 0; aShortArray2785.length > i_19_; i_19_++) + class124.method1095(aShortArray2785[i_19_], 0, aShortArray2801[i_19_]); + } + return class124; + } + + final DisplayModeManagerContainer370 method1559(Component101 class154, DisplayModeManagerContainer167 class17, GraphicsToolkit var_ha, int i, int i_20_, int i_21_, int i_22_, byte i_23_, int i_24_) { + try { + anInt2813++; + if (this.anIntArray2762 != null && i_21_ > 1) { + int i_25_ = -1; + for (int i_26_ = 0; i_26_ < 10; i_26_++) { + if (i_21_ >= this.anIntArray2831[i_26_] && this.anIntArray2831[i_26_] != 0) i_25_ = this.anIntArray2762[i_26_]; + } + if (i_25_ != -1) return (this.aClass255_2761.getItemDefinition(103, i_25_).method1559(class154, class17, var_ha, i, i_20_, 1, i_22_, (byte) 88, i_24_)); + } + if (i_23_ != 88) this.itemName = null; + int i_27_ = i; + if (class17 != null) i_27_ |= class17.method263(i_24_, 105, i_22_, true); + DisplayModeManagerContainer370 class64; + synchronized (this.aClass255_2761.aClass60_3287) { + class64 = (DisplayModeManagerContainer370) (this.aClass255_2761.aClass60_3287.get(var_ha.anInt4567 << 29 | this.itemId, 69)); + } + if (class64 == null || var_ha.method3667(class64.ua(), i_27_) != 0) { + if (class64 != null) i_27_ = var_ha.bitwiseOr(i_27_, class64.ua()); + int i_28_ = i_27_; + if (aShortArray2785 != null) i_28_ |= 0x8000; + if (aShortArray2777 != null || class154 != null) i_28_ |= 0x4000; + if (anInt2786 != 128) i_28_ |= 0x1; + if (anInt2786 != 128) i_28_ |= 0x2; + if (anInt2786 != 128) i_28_ |= 0x4; + DisplayModeManagerContainer77 class124 = Component189.loadFromCache(0, (this.aClass255_2761.aClass45_3268), anInt2756, -1); + if (class124 == null) return null; + if (class124.anInt1830 < 13) class124.method1092(2, 97); + class64 = var_ha.method3625(class124, i_28_, (this.aClass255_2761.anInt3291), anInt2791 + 64, 850 - -anInt2824); + if (anInt2786 != 128 || anInt2794 != 128 || anInt2765 != 128) class64.O(anInt2786, anInt2794, anInt2765); + if (aShortArray2777 != null) { + for (int i_29_ = 0; (i_29_ < aShortArray2777.length); i_29_++) { + if (aByteArray2821 == null || aByteArray2821.length <= i_29_) class64.ia(aShortArray2777[i_29_], aShortArray2771[i_29_]); + else class64.ia(aShortArray2777[i_29_], (Component226.aShortArray4172[aByteArray2821[i_29_] & 0xff])); + } + } + if (aShortArray2785 != null) { + for (int i_30_ = 0; aShortArray2785.length > i_30_; i_30_++) + class64.Shader(aShortArray2785[i_30_], aShortArray2801[i_30_]); + } + if (class154 != null) { + for (int i_31_ = 0; i_31_ < 5; i_31_++) { + for (int i_32_ = 0; (AbstractShaderSub2.aShortArrayArrayArray7290.length > i_32_); i_32_++) { + if (class154.anIntArray2095[i_31_] < (AbstractShaderSub2.aShortArrayArrayArray7290[i_32_][i_31_]).length) class64.ia((Component257.aShortArrayArray4791[i_32_][i_31_]), (AbstractShaderSub2.aShortArrayArrayArray7290[i_32_][i_31_][(class154.anIntArray2095[i_31_])])); + } + } + } + class64.s(i_27_); + synchronized (this.aClass255_2761.aClass60_3287) { + this.aClass255_2761.aClass60_3287.putOne(class64, var_ha.anInt4567 << 29 | this.itemId, (byte) -111); + } + } + if (class17 != null) class64 = class17.method269(116, class64, i_24_, i_20_, i_27_, i_22_); + class64.s(i); + return class64; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("rq.S(" + (class154 != null ? "{...}" : "null") + ',' + (class17 != null ? "{...}" : "null") + ',' + (var_ha != null ? "{...}" : "null") + ',' + i + ',' + i_20_ + ',' + i_21_ + ',' + i_22_ + ',' + i_23_ + ',' + i_24_ + ')')); + } + } + + final ItemDefinition method1560(int i, byte i_33_) { + if (i_33_ != 97) this.anIntArray2762 = null; + anInt2768++; + if (this.anIntArray2762 != null && i > 1) { + int i_34_ = -1; + for (int i_35_ = 0; i_35_ < 10; i_35_++) { + if (i >= this.anIntArray2831[i_35_] && this.anIntArray2831[i_35_] != 0) i_34_ = this.anIntArray2762[i_35_]; + } + if (i_34_ != -1) return this.aClass255_2761.getItemDefinition(95, i_34_); + } + return this; + } + + final String method1561(String string, int i, int i_36_) { + try { + anInt2751++; + if (this.aClass356_2757 == null) return string; + if (i_36_ != -1511086397) method1569(25, null); + NodeSub50 class348_sub50 = ((NodeSub50) this.aClass356_2757.get(i, i_36_ ^ 0x5a114e4b)); + if (class348_sub50 == null) return string; + return class348_sub50.stringValue; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("rq.N(" + (string != null ? "{...}" : "null") + ',' + i + ',' + i_36_ + ')')); + } + } + + final int[] method1562(int i, boolean bool, int i_37_, GraphicsToolkit var_ha, GraphicsToolkit var_ha_38_, BitmapFont class324, Component101 class154, int i_39_, byte i_40_, int i_41_) { + try { + anInt2806++; + DisplayModeManagerContainer77 class124 = Component189.loadFromCache(0, (this.aClass255_2761.aClass45_3268), anInt2756, i_40_ ^ 0x65); + if (class124 == null) return null; + if (class124.anInt1830 < 13) class124.method1092(2, i_40_ ^ ~0xb); + if (aShortArray2777 != null) { + for (int i_42_ = 0; (aShortArray2777.length > i_42_); i_42_++) { + if (aByteArray2821 == null || i_42_ >= aByteArray2821.length) class124.method1098(aShortArray2777[i_42_], (byte) 126, aShortArray2771[i_42_]); + else class124.method1098(aShortArray2777[i_42_], (byte) 126, (Component226.aShortArray4172[aByteArray2821[i_42_] & 0xff])); + } + } + if (aShortArray2785 != null) { + for (int i_43_ = 0; (aShortArray2785.length > i_43_); i_43_++) + class124.method1095(aShortArray2785[i_43_], 0, aShortArray2801[i_43_]); + } + if (class154 != null) { + for (int i_44_ = 0; i_44_ < 5; i_44_++) { + for (int i_45_ = 0; (i_45_ < AbstractShaderSub2.aShortArrayArrayArray7290.length); i_45_++) { + if ((AbstractShaderSub2.aShortArrayArrayArray7290[i_45_][i_44_]).length > class154.anIntArray2095[i_44_]) class124.method1098((Component257.aShortArrayArray4791[i_45_][i_44_]), (byte) 126, (AbstractShaderSub2.aShortArrayArrayArray7290[i_45_][i_44_][(class154.anIntArray2095[i_44_])])); + } + } + } + int i_46_ = 2048; + boolean bool_47_ = false; + if (anInt2786 != 128 || anInt2794 != 128 || anInt2765 != 128) { + i_46_ |= 0x7; + bool_47_ = true; + } + DisplayModeManagerContainer370 class64 = var_ha_38_.method3625(class124, i_46_, 64, anInt2791 + 64, 768 + anInt2824); + if (!class64.method618()) return null; + if (bool_47_) class64.O(anInt2786, anInt2794, anInt2765); + Component24 class105 = null; + if (this.anInt2833 == -1) { + if (this.anInt2812 != -1) { + class105 = (this.aClass255_2761.method1932(var_ha_38_, i_37_, i, class324, class154, 0, true, (byte) 83, var_ha, this.anInt2778, false, i_41_)); + if (class105 == null) return null; + } + } else { + class105 = (this.aClass255_2761.method1932(var_ha_38_, 0, 10, class324, class154, 0, true, (byte) 83, var_ha, this.anInt2758, true, 1)); + if (class105 == null) return null; + } + int i_48_; + if (!bool) { + if (i_41_ == 2) i_48_ = ((int) (1.04 * (double) this.anInt2825) << 2); + else i_48_ = this.anInt2825 << 2; + } else i_48_ = ((int) (1.5 * (double) this.anInt2825) << 2); + var_ha_38_.DA(16, 16, 512, 512); + DisplayModeManagerContainer204 class101 = var_ha_38_.method3654(); + class101.method910(); + var_ha_38_.method3638(class101); + var_ha_38_.DualToolkit(1.0F); + var_ha_38_.ZA(16777215, 1.0F, 1.0F, -50.0F, -10.0F, -50.0F); + DisplayModeManagerContainer204 class101_49_ = var_ha_38_.method3705(); + class101_49_.method902(-this.anInt2810 << 3); + class101_49_.method896(this.anInt2781 << 3); + class101_49_.method891(this.anInt2779 << 2, ((i_48_ * (DisplayModeManagerContainer88.anIntArray1207[this.anInt2787 << 3]) >> 14) - class64.fa() / 2 + (this.anInt2826 << 2)), ((i_48_ * (DisplayModeManagerContainer88.anIntArray1204[this.anInt2787 << 3]) >> 14) - -(this.anInt2826 << 2))); + class101_49_.method900(this.anInt2787 << 3); + int i_50_ = var_ha_38_.i(); + int i_51_ = var_ha_38_.XA(); + var_ha_38_.f(50, 2147483647); + var_ha_38_.NativeHandle(); + var_ha_38_.la(); + var_ha_38_.fillRect(0, 0, 36, 32, 0, 0); + class64.method615(class101_49_, null, 1); + var_ha_38_.f(i_50_, i_51_); + int[] is = var_ha_38_.ShaderImpl(0, 0, 36, 32); + if (i_40_ != -102) method1554(false, 37); + if (i_41_ >= 1) { + is = method1572(-16777214, -1, is); + if (i_41_ >= 2) is = method1572(-1, -1, is); + } + if (i_37_ != 0) method1571(i_37_, is, (byte) 119); + var_ha_38_.method3662(36, is, (byte) 94, 0, 36, 32).method974(0, 0); + if (this.anInt2833 == -1) { + if (this.anInt2812 != -1) class105.method974(0, 0); + } else class105.method974(0, 0); + if (i_39_ == 1 || (i_39_ == 2 && (this.anInt2820 == 1 || i != 1) && i != -1)) class324.drawText(method1557(i, i_40_ + -11517), -256, 9, 0, -16777215, i_40_ + -15); + is = var_ha_38_.ShaderImpl(0, 0, 36, 32); + for (int i_52_ = 0; i_52_ < is.length; i_52_++) { + if ((0xffffff & is[i_52_]) != 0) is[i_52_] = Component224.bitwiseOr(is[i_52_], -16777216); + else is[i_52_] = 0; + } + return is; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("rq.O(" + i + ',' + bool + ',' + i_37_ + ',' + (var_ha != null ? "{...}" : "null") + ',' + (var_ha_38_ != null ? "{...}" : "null") + ',' + (class324 != null ? "{...}" : "null") + ',' + (class154 != null ? "{...}" : "null") + ',' + i_39_ + ',' + i_40_ + ',' + i_41_ + ')')); + } + } + + final void method1563(byte i) { + if (i < 32) this.anInt2752 = -31; + anInt2814++; + } + + public static void method1564(int i) { + aClass238_2773 = null; + if (i <= 54) aLong2789 = -74L; + } + + final boolean method1565(boolean bool, int i) { + anInt2780++; + int i_53_ = this.anInt2815; + int i_54_ = anInt2804; + int i_55_ = anInt2805; + if (bool) { + i_55_ = anInt2770; + i_53_ = this.anInt2788; + i_54_ = anInt2760; + } + if (i_53_ == -1) return true; + boolean bool_56_ = true; + if (!this.aClass255_2761.aClass45_3268.isFileReady(-10499, i_53_, 0)) bool_56_ = false; + if (i_54_ != -1 && !this.aClass255_2761.aClass45_3268.isFileReady(i ^ 0x2902, i_54_, 0)) bool_56_ = false; + if (i != i_55_ && !this.aClass255_2761.aClass45_3268.isFileReady(-10499, i_55_, 0)) bool_56_ = false; + return bool_56_; + } + + private final void method1566(int i, int i_57_, Buffer class348_sub49) { + try { + if (i != 4) method1564(9); + if (i_57_ != 1) { + if (i_57_ != 2) { + if (i_57_ == 4) this.anInt2825 = class348_sub49.readUnsignedShort(i ^ 0x3235f8fc); + else if (i_57_ == 5) this.anInt2787 = class348_sub49.readUnsignedShort(842397944); + else if (i_57_ == 6) this.anInt2781 = class348_sub49.readUnsignedShort(i ^ 0x3235f8fc); + else if (i_57_ == 7) { + this.anInt2779 = class348_sub49.readUnsignedShort(842397944); + if (this.anInt2779 > 32767) this.anInt2779 -= 65536; + } else if (i_57_ == 8) { + this.anInt2826 = class348_sub49.readUnsignedShort(842397944); + if (this.anInt2826 > 32767) this.anInt2826 -= 65536; + } else if (i_57_ != 11) { + if (i_57_ != 12) { + if (i_57_ == 16) this.aBoolean2783 = true; + else if (i_57_ == 18) this.anInt2802 = class348_sub49.readUnsignedShort(i ^ 0x3235f8fc); + else if (i_57_ == 23) this.anInt2815 = class348_sub49.readUnsignedShort(842397944); + else if (i_57_ == 24) anInt2804 = class348_sub49.readUnsignedShort(i ^ 0x3235f8fc); + else if (i_57_ == 25) this.anInt2788 = class348_sub49.readUnsignedShort(i + 842397940); + else if (i_57_ == 26) anInt2760 = class348_sub49.readUnsignedShort(i + 842397940); + else if (i_57_ < 30 || i_57_ >= 35) { + if (i_57_ >= 35 && i_57_ < 40) this.aStringArray2763[-35 + i_57_] = class348_sub49.readString((byte) 103); + else if (i_57_ == 40) { + int i_58_ = class348_sub49.readUnsignedByte(255); + aShortArray2777 = new short[i_58_]; + aShortArray2771 = new short[i_58_]; + for (int i_59_ = 0; i_58_ > i_59_; i_59_++) { + aShortArray2777[i_59_] = (short) (class348_sub49.readUnsignedShort(842397944)); + aShortArray2771[i_59_] = (short) (class348_sub49.readUnsignedShort(842397944)); + } + } else if (i_57_ == 41) { + int i_68_ = class348_sub49.readUnsignedByte(i + 251); + aShortArray2801 = new short[i_68_]; + aShortArray2785 = new short[i_68_]; + for (int i_69_ = 0; i_69_ < i_68_; i_69_++) { + aShortArray2785[i_69_] = (short) (class348_sub49.readUnsignedShort(842397944)); + aShortArray2801[i_69_] = (short) (class348_sub49.readUnsignedShort(842397944)); + } + } else if (i_57_ == 42) { + int i_60_ = class348_sub49.readUnsignedByte(i + 251); + aByteArray2821 = new byte[i_60_]; + for (int i_61_ = 0; i_61_ < i_60_; i_61_++) + aByteArray2821[i_61_] = class348_sub49.readByte(-114); + } else if (i_57_ == 65) this.aBoolean2755 = true; + else if (i_57_ == 78) anInt2805 = class348_sub49.readUnsignedShort(842397944); + else if (i_57_ == 79) anInt2770 = (class348_sub49.readUnsignedShort(i ^ 0x3235f8fc)); + else if (i_57_ == 90) anInt2792 = class348_sub49.readUnsignedShort(842397944); + else if (i_57_ == 91) anInt2822 = class348_sub49.readUnsignedShort(842397944); + else if (i_57_ != 92) { + if (i_57_ != 93) { + if (i_57_ != 95) { + if (i_57_ != 96) { + if (i_57_ == 97) this.anInt2758 = (class348_sub49.readUnsignedShort(842397944)); + else if (i_57_ == 98) this.anInt2833 = (class348_sub49.readUnsignedShort(842397944)); + else if ((i_57_ >= 100) && (i_57_ < 110)) { + if ((this.anIntArray2762) == null) { + this.anIntArray2831 = (new int + [10]); + this.anIntArray2762 = (new int + [10]); + } + this.anIntArray2762[i_57_ - 100] = (class348_sub49.readUnsignedShort(842397944)); + this.anIntArray2831[i_57_ + -100] = (class348_sub49.readUnsignedShort(842397944)); + } else if (i_57_ == 110) anInt2786 = (class348_sub49.readUnsignedShort(842397944)); + else if (i_57_ != 111) { + if (i_57_ == 112) anInt2765 = (class348_sub49.readUnsignedShort(842397944)); + else if (i_57_ != 113) { + if (i_57_ == 114) anInt2824 = ((class348_sub49.readByte(-90)) * 5); + else if (i_57_ == 115) this.anInt2827 = (class348_sub49.readUnsignedByte(255)); + else if (i_57_ != 121) { + if (i_57_ != 122) { + if (i_57_ == 125) { + anInt2807 = class348_sub49.readByte(-99) << 2; + anInt2797 = class348_sub49.readByte(i + -99) << 2; + anInt2808 = class348_sub49.readByte(-111) << 2; + } else if (i_57_ == 126) { + anInt2803 = class348_sub49.readByte(-121) << 2; + anInt2753 = class348_sub49.readByte(-92) << 2; + anInt2823 = class348_sub49.readByte(-93) << 2; + } else if (i_57_ == 127) { + this.anInt2752 = class348_sub49.readUnsignedByte(255); + this.anInt2759 = class348_sub49.readUnsignedShort(842397944); + } else if (i_57_ == 128) { + this.anInt2764 = class348_sub49.readUnsignedByte(255); + this.anInt2830 = class348_sub49.readUnsignedShort(842397944); + } else if (i_57_ == 129) { + this.anInt2766 = class348_sub49.readUnsignedByte(i ^ 0xfb); + this.anInt2818 = class348_sub49.readUnsignedShort(842397944); + } else if (i_57_ == 130) { + this.anInt2774 = class348_sub49.readUnsignedByte(255); + this.anInt2817 = class348_sub49.readUnsignedShort(842397944); + } else if (i_57_ == 132) { + int i_62_ = class348_sub49.readUnsignedByte(i ^ 0xfb); + this.anIntArray2772 = new int[i_62_]; + for (int i_63_ = 0; i_62_ > i_63_; i_63_++) + this.anIntArray2772[i_63_] = class348_sub49.readUnsignedShort(842397944); + } else if (i_57_ == 134) this.anInt2784 = class348_sub49.readUnsignedByte(255); + else if (i_57_ == 249) { + int i_64_ = class348_sub49.readUnsignedByte(255); + if (this.aClass356_2757 == null) { + int i_65_ = Component373.nextPowerOfTwo(i_64_, (byte) 108); + this.aClass356_2757 = new LruCache(i_65_); + } + for (int i_66_ = 0; i_66_ < i_64_; i_66_++) { + boolean bool = class348_sub49.readUnsignedByte(255) == 1; + int i_67_ = class348_sub49.readMedium(-1); + Node class348; + if (bool) class348 = new NodeSub50(class348_sub49.readString((byte) 107)); + else class348 = new NodeSub35(class348_sub49.readInt((byte) -126)); + this.aClass356_2757.put((byte) 76, i_67_, class348); + } + } + } else this.anInt2812 = class348_sub49.readUnsignedShort(i + 842397940); + } else this.anInt2778 = (class348_sub49.readUnsignedShort(842397944)); + } else anInt2791 = (class348_sub49.readByte(-88)); + } else anInt2794 = (class348_sub49.readUnsignedShort(842397944)); + } else this.anInt2799 = (class348_sub49.readUnsignedByte(255)); + } else this.anInt2810 = (class348_sub49.readUnsignedShort(i + 842397940)); + } else anInt2775 = (class348_sub49.readUnsignedShort(i + 842397940)); + } else anInt2767 = class348_sub49.readUnsignedShort(842397944); + } else this.aStringArray2811[-30 + i_57_] = class348_sub49.readString((byte) 98); + } else this.anInt2819 = class348_sub49.readInt((byte) -126); + } else this.anInt2820 = 1; + } else this.itemName = class348_sub49.readString((byte) -42); + } else anInt2756 = class348_sub49.readUnsignedShort(i + 842397940); + anInt2754++; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("rq.L(" + i + ',' + i_57_ + ',' + (class348_sub49 != null ? "{...}" : "null") + ')')); + } + } + + final int method1567(int i, int i_70_, int i_71_) { + anInt2793++; + if (this.aClass356_2757 == null) return i; + NodeSub35 class348_sub35 = ((NodeSub35) this.aClass356_2757.get(i_71_, -6008)); + if (class348_sub35 == null) return i; + int i_72_ = 56 % ((-32 - i_70_) / 50); + return class348_sub35.intValue; + } + + static final void method1568(int[] is, int i, int i_73_, int i_74_, float[] fs, int[] is_75_, int i_76_, int i_77_, int i_78_, int i_79_, int i_80_, int i_81_, float[] fs_82_) { + try { + if (i_77_ <= 112) aLong2789 = 95L; + anInt2782++; + int i_83_ = i * i_80_ - -i_73_; + int i_84_ = i_81_ + i_79_ * i_74_; + int i_85_ = -i_76_ + i_80_; + int i_86_ = -i_76_ + i_79_; + if (is_75_ == null) { + for (int i_87_ = 0; i_78_ > i_87_; i_87_++) { + int i_88_ = i_83_ - -i_76_; + while (i_83_ < i_88_) fs[i_84_++] = fs_82_[i_83_++]; + i_83_ += i_85_; + i_84_ += i_86_; + } + } else if (fs_82_ == null) { + for (int i_91_ = 0; i_91_ < i_78_; i_91_++) { + int i_92_ = i_76_ + i_83_; + while (i_83_ < i_92_) is[i_84_++] = is_75_[i_83_++]; + i_83_ += i_85_; + i_84_ += i_86_; + } + } else { + for (int i_89_ = 0; i_78_ > i_89_; i_89_++) { + int i_90_ = i_83_ - -i_76_; + while (i_83_ < i_90_) { + is[i_84_] = is_75_[i_83_]; + fs[i_84_++] = fs_82_[i_83_++]; + } + i_83_ += i_85_; + i_84_ += i_86_; + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("rq.C(" + (is != null ? "{...}" : "null") + ',' + i + ',' + i_73_ + ',' + i_74_ + ',' + (fs != null ? "{...}" : "null") + ',' + (is_75_ != null ? "{...}" : "null") + ',' + i_76_ + ',' + i_77_ + ',' + i_78_ + ',' + i_79_ + ',' + i_80_ + ',' + i_81_ + ',' + (fs_82_ != null ? "{...}" : "null") + ')')); + } + } + + final void method1569(int i, Buffer class348_sub49) { + try { + if (i != 768) method1565(true, -71); + for (; ; ) { + int i_93_ = class348_sub49.readUnsignedByte(i + -513); + if (i_93_ == 0) break; + method1566(4, i_93_, class348_sub49); + } + anInt2800++; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("rq.I(" + i + ',' + (class348_sub49 != null ? "{...}" : "null") + ')')); + } + } + + final void method1570(int i, ItemDefinition class213_94_, ItemDefinition class213_95_) { + try { + aShortArray2771 = class213_95_.aShortArray2771; + aShortArray2785 = class213_95_.aShortArray2785; + aByteArray2821 = class213_95_.aByteArray2821; + this.aBoolean2783 = class213_94_.aBoolean2783; + this.anInt2787 = class213_95_.anInt2787; + this.anInt2810 = class213_95_.anInt2810; + anInt2776++; + this.anInt2779 = class213_95_.anInt2779; + aShortArray2801 = class213_95_.aShortArray2801; + this.anInt2781 = class213_95_.anInt2781; + this.anInt2819 = class213_94_.anInt2819; + this.anInt2826 = class213_95_.anInt2826; + this.anInt2820 = i; + aShortArray2777 = class213_95_.aShortArray2777; + this.anInt2825 = class213_95_.anInt2825; + this.itemName = class213_94_.itemName; + anInt2756 = class213_95_.anInt2756; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("rq.F(" + i + ',' + (class213_94_ != null ? "{...}" : "null") + ',' + (class213_95_ != null ? "{...}" : "null") + ')')); + } + } + + private final void method1571(int i, int[] is, byte i_96_) { + try { + if (i_96_ <= 81) anInt2805 = -46; + for (int i_97_ = 31; i_97_ > 0; i_97_--) { + int i_98_ = 36 * i_97_; + for (int i_99_ = 35; i_99_ > 0; i_99_--) { + if (is[i_99_ - -i_98_] == 0 && is[i_99_ + i_98_ - 1 + -36] != 0) is[i_98_ + i_99_] = i; + } + } + anInt2790++; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("rq.M(" + i + ',' + (is != null ? "{...}" : "null") + ',' + i_96_ + ')')); + } + } + + public ItemDefinition() { + this.anInt2766 = -1; + anInt2775 = -1; + anInt2765 = 128; + this.anInt2778 = -1; + this.anInt2758 = -1; + this.itemName = "null"; + anInt2794 = 128; + this.anInt2799 = 0; + this.anInt2788 = -1; + this.anInt2784 = 0; + anInt2804 = -1; + anInt2792 = -1; + this.aBoolean2755 = false; + this.anInt2787 = 0; + this.anInt2812 = -1; + this.anInt2810 = 0; + anInt2767 = -1; + anInt2760 = -1; + this.anInt2817 = -1; + this.anInt2779 = 0; + anInt2786 = 128; + anInt2808 = 0; + anInt2803 = 0; + anInt2822 = -1; + this.anInt2815 = -1; + anInt2823 = 0; + this.anInt2818 = -1; + this.anInt2781 = 0; + this.anInt2774 = -1; + this.anInt2826 = 0; + anInt2807 = 0; + anInt2791 = 0; + anInt2805 = -1; + this.anInt2764 = -1; + this.anInt2820 = 0; + this.anInt2759 = -1; + this.anInt2802 = -1; + anInt2797 = 0; + this.anInt2830 = -1; + this.anInt2827 = 0; + anInt2824 = 0; + this.anInt2819 = 1; + anInt2753 = 0; + this.anInt2825 = 2000; + this.anInt2833 = -1; + this.aBoolean2783 = false; + } + + private final int[] method1572(int i, int i_100_, int[] is) { + try { + anInt2829++; + if (i_100_ != -1) return null; + int[] is_101_ = new int[1152]; + int i_102_ = 0; + for (int i_103_ = 0; i_103_ < 32; i_103_++) { + for (int i_104_ = 0; i_104_ < 36; i_104_++) { + int i_105_ = is[i_102_]; + if (i_105_ == 0) { + if (i_104_ <= 0 || is[i_102_ - 1] == 0) { + if (i_103_ > 0 && is[-36 + i_102_] != 0) i_105_ = i; + else if (i_104_ < 35 && is[i_102_ + 1] != 0) i_105_ = i; + else if (i_103_ < 31 && is[i_102_ + 36] != 0) i_105_ = i; + } else i_105_ = i; + } + is_101_[i_102_++] = i_105_; + } + } + return is_101_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("rq.K(" + i + ',' + i_100_ + ',' + (is != null ? "{...}" : "null") + ')')); + } + } +} diff --git a/client/text/LibraryCreditsText.java b/client/text/LibraryCreditsText.java new file mode 100644 index 000000000..4a9d6c9d9 --- /dev/null +++ b/client/text/LibraryCreditsText.java @@ -0,0 +1,159 @@ +/* LibraryCreditsText - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class239_Sub11` (JODE-obfuscated). + * Native-library credits text. Extends Component339; lists the bundled native libraries (jagtheora, jagmisc, huffman) in the about/credits panel. + */ + +final class LibraryCreditsText extends Component339 { + static Component183 aClass114_5949 = new Component183(69, 12); + static Component183 aClass114_5950; + static int anInt5951 = 1339; + static int anInt5952; + static int anInt5953; + static int anInt5954; + static int anInt5955; + static int anInt5956; + static int anInt5957; + static int anInt5958; + static int anInt5959; + + static final void method1767(boolean bool, int i) { + anInt5953++; + MatrixSub3.method947((byte) 41); + int i_0_ = (Component209.aClass217_3453.method1588(-51, i).anInt2125); + if (i_0_ != 0) { + if (bool != true) method1769(-43); + int i_1_ = (DisplayModeManagerContainer58.aClass170_10209.anIntArray5063[i]); + if (i_0_ == 5) Component203.anInt8770 = i_1_; + if (i_0_ == 6) DefinitionSub31.anInt9408 = i_1_; + } + } + + final int method1768(int i) { + if (i != -32350) method1767(true, -55); + anInt5958++; + return this.anInt3138; + } + + public static void method1769(int i) { + aClass114_5950 = null; + if (i != 100) method1769(-25); + aClass114_5949 = null; + } + + final int method1710(int i) { + anInt5956++; + if (i != 20014) return -48; + return 0; + } + + final void method1716(boolean bool) { + if (bool != false) method1716(false); + anInt5954++; + if (this.anInt3138 != 1 && this.anInt3138 != 0) this.anInt3138 = method1710(20014); + } + + LibraryCreditsText(int i, NodeSub51 class348_sub51) { + super(i, class348_sub51); + } + + final void method1712(int i, int i_2_) { + anInt5952++; + this.anInt3138 = i_2_; + int i_3_ = 98 / ((82 - i) / 35); + } + + static final int method1770(byte i) { + anInt5957++; + if (WaterShaderSub8.anInt7365 == 0) { + Component119.aClass267_3401.method2025(new DisplayModeManagerContainer74("jaclib"), false); + if (Component119.aClass267_3401.method2027(119).method31(28) != 100) return 1; + if (!((DisplayModeManagerContainer74) Component119.aClass267_3401.method2027(71)).method2313(124)) NpcComposition.aClient1367.tryLoadJaclib(i + 24); + WaterShaderSub8.anInt7365 = 1; + } + if (WaterShaderSub8.anInt7365 == 1) { + Component380.aClass267Array4987 = Component119.method2029(110); + Component119.aClass267_3396.method2025(new Component102(WaterShaderSub8.aClass45_7362), false); + Component119.aClass267_3402.method2025(new DisplayModeManagerContainer74("jaggl"), false); + Component119.aClass267_3403.method2025(new DisplayModeManagerContainer74("jagdx"), false); + Component119.aClass267_3404.method2025(new DisplayModeManagerContainer74("jagmisc"), false); + Component119.aClass267_3405.method2025(new DisplayModeManagerContainer74("sw3d"), false); + Component119.aClass267_3406.method2025(new DisplayModeManagerContainer74("hw3d"), false); + Component119.aClass267_3407.method2025(new DisplayModeManagerContainer74("jagtheora"), false); + Component119.aClass267_3408.method2025(new Component102(Component257.aClass45_4796), false); + Component119.aClass267_3409.method2025(new Component102(NodeSub11.aClass45_4770), false); + Component119.aClass267_3410.method2025(new Component102(Component181.aClass45_1541), false); + Component119.aClass267_3411.method2025(new Component102(Component97.aClass45_1538), false); + Component119.aClass267_3412.method2025(new Component102(VideoAdDisplay.aClass45_3183), false); + Component119.aClass267_3413.method2025(new Component102(Component43.aClass45_4975), false); + Component119.aClass267_3414.method2025(new Component102(RadixParser.aClass45_2306), false); + Component119.aClass267_3415.method2025(new Component102(CacheNodeSub2.aClass45_10480), false); + Component119.aClass267_3416.method2025(new Component102(SeekableFile.aClass45_1322), false); + Component119.aClass267_3417.method2025(new Component102(BrowserUrlOpener.aClass45_8926), false); + Component119.aClass267_3418.method2025(new Component102(Component387.aClass45_1897), false); + Component119.aClass267_3419.method2025(new Component102(CommandHandler.aClass45_1434), false); + Component119.aClass267_3420.method2025(new Component102(Component339.aClass45_3146), false); + Component119.aClass267_3421.method2025(new Component102(NodeList.aClass45_3323), false); + Component119.aClass267_3422.method2025(new DisplayModeManagerContainer306((Component110.aClass45_233), "huffman"), false); + Component119.aClass267_3423.method2025(new Component102(NodeSub35.aClass45_6980), false); + Component119.aClass267_3424.method2025(new Component102(Component22.aClass45_1743), false); + Component119.aClass267_3425.method2025(new Component102(Component65.aClass45_1627), false); + Component119.aClass267_3426.method2025(new Component257((NodeSub32.aClass45_6950), "details"), false); + for (int i_4_ = 0; i_4_ < Component380.aClass267Array4987.length; i_4_++) { + if (Component380.aClass267Array4987[i_4_].method2027(78) == null) throw new RuntimeException(); + } + int i_5_ = 0; + Component119[] class267s = Component380.aClass267Array4987; + for (int i_6_ = 0; i_6_ < class267s.length; i_6_++) { + Component119 class267 = class267s[i_6_]; + int i_7_ = class267.method2024(-1); + int i_8_ = class267.method2027(80).method31(87); + i_5_ += i_8_ * i_7_ / 100; + } + DefinitionSub24.anInt9327 = i_5_; + WaterShaderSub8.anInt7365 = 2; + } + if (Component380.aClass267Array4987 == null) return 100; + int i_9_ = 0; + int i_10_ = 0; + boolean bool = true; + if (i != -25) anInt5951 = -33; + Component119[] class267s = Component380.aClass267Array4987; + for (int i_11_ = 0; class267s.length > i_11_; i_11_++) { + Component119 class267 = class267s[i_11_]; + int i_12_ = class267.method2024(-1); + int i_13_ = class267.method2027(70).method31(i ^ 0x75); + i_9_ += i_12_; + i_10_ += i_13_ * i_12_ / 100; + if (i_13_ < 100) bool = false; + } + if (bool) { + if (!((DisplayModeManagerContainer74) Component119.aClass267_3404.method2027(92)).method2313(102)) NpcComposition.aClient1367.tryLoadJagmisc(true); + if (!((DisplayModeManagerContainer74) Component119.aClass267_3407.method2027(i ^ ~0x64)).method2313(103)) PauseTimer.aBoolean510 = NpcComposition.aClient1367.tryLoadJagtheora(i ^ ~0x12); + Component380.aClass267Array4987 = null; + } + i_9_ -= DefinitionSub24.anInt9327; + i_10_ -= DefinitionSub24.anInt9327; + int i_14_ = i_9_ <= 0 ? 100 : 100 * i_10_ / i_9_; + if (!bool && i_14_ > 99) i_14_ = 99; + return i_14_; + } + + LibraryCreditsText(NodeSub51 class348_sub51) { + super(class348_sub51); + } + + final int method1714(int i, int i_15_) { + if (i != 3) return 94; + anInt5955++; + return 1; + } + + static { + aClass114_5950 = new Component183(64, 2); + anInt5959 = 0; + } +} diff --git a/client/text/NameFormatter.java b/client/text/NameFormatter.java new file mode 100644 index 000000000..22ffa8932 --- /dev/null +++ b/client/text/NameFormatter.java @@ -0,0 +1,92 @@ +/* NameFormatter - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class37` (JODE-obfuscated). + * Name formatter. Truncates long player/friend display names (substring at >9 / >6 chars) and appends FriendsIgnoreList clan/title suffixes. + */ + +final class NameFormatter { + static int anInt490; + static int anInt491; + static int anInt492; + static int anInt493; + static int anInt494; + static int anInt495 = 0; + static int anInt496; + + /** + * Formats a quantity with thousands separators and K/M colour suffixes for the UI. + */ + static final String formatQuantity(int i, int i_0_) { + anInt494++; + String string = Integer.toString(i_0_); + if (i >= -109) return null; + for (int i_1_ = -3 + string.length(); i_1_ > 0; i_1_ -= 3) + string = string.substring(0, i_1_) + "," + string.substring(i_1_); + if (string.length() > 9) return (" " + string.substring(0, string.length() + -8) + FriendsIgnoreList.aClass274_3516.getLocalized(ObjectDeserializer.languageId, 544) + " (" + string + ")"); + if (string.length() > 6) return (" " + string.substring(0, -4 + string.length()) + FriendsIgnoreList.aClass274_3518.getLocalized(ObjectDeserializer.languageId, 544) + " (" + string + ")"); + return " " + string + ""; + } + + /** Returns {@code is} to the size-bucketed byte[] pool (100 / 5000 / 30000 / custom). */ + static final synchronized void releaseByteArray(int i, byte[] is) { + anInt491++; + if (is.length == 100 && DefinitionSub31.anInt9412 < 1000) DisplayModeManagerContainer310.aByteArrayArray358[DefinitionSub31.anInt9412++] = is; + else { + if (i != 0) allocateByteArray(-119, -101); + if (is.length == 5000 && DefinitionSub21.anInt9280 < 250) HeapDumper.aByteArrayArray1918[DefinitionSub21.anInt9280++] = is; + else if (is.length == 30000 && Sprite.anInt6913 < 50) DebugPanicSub2.aByteArrayArray8505[Sprite.anInt6913++] = is; + else if (DefinitionSub6.aByteArrayArrayArray9134 != null) { + for (int i_2_ = 0; Component317.anIntArray8684.length > i_2_; i_2_++) { + if ((is.length == Component317.anIntArray8684[i_2_]) && (DefinitionSub6.aByteArrayArrayArray9134[i_2_]).length > DisplayModeManagerContainer56.anIntArray2552[i_2_]) { + DefinitionSub6.aByteArrayArrayArray9134[i_2_][DisplayModeManagerContainer56.anIntArray2552[i_2_]++] = is; + break; + } + } + } + } + } + + /** + * Enqueue a world sound effect (id {@code i_7_}, volume {@code i}, coords/delay params) + * when SFX prefs are on and the active queue is under 50 entries. + */ + static final void queueSoundEffect(int i, int i_3_, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_) { + if (i_8_ != -29494) anInt496 = 32; + if (Component192.aClass348_Sub51_3959.aClass239_Sub26_7272.method1838(-32350) != 0 && i != 0 && Component335.anInt2021 < 50 && i_7_ != -1) GlFramebufferTexture.aClass10Array8531[Component335.anInt2021++] = new RunescapeInfo((byte) 1, i_7_, i, i_4_, i_5_, i_3_, i_6_, null); + anInt490++; + } + + /** Allocates (or reuses from the pool) a {@code byte[i]} buffer. */ + static final synchronized byte[] allocateByteArray(int i, int i_9_) { + anInt493++; + if (i == 100 && DefinitionSub31.anInt9412 > 0) { + byte[] is = DisplayModeManagerContainer310.aByteArrayArray358[--DefinitionSub31.anInt9412]; + DisplayModeManagerContainer310.aByteArrayArray358[DefinitionSub31.anInt9412] = null; + return is; + } + if (i == 5000 && DefinitionSub21.anInt9280 > 0) { + byte[] is = (HeapDumper.aByteArrayArray1918[--DefinitionSub21.anInt9280]); + HeapDumper.aByteArrayArray1918[DefinitionSub21.anInt9280] = null; + return is; + } + if (i_9_ != -1) allocateByteArray(-88, -45); + if (i == 30000 && Sprite.anInt6913 > 0) { + byte[] is = (DebugPanicSub2.aByteArrayArray8505[--Sprite.anInt6913]); + DebugPanicSub2.aByteArrayArray8505[Sprite.anInt6913] = null; + return is; + } + if (DefinitionSub6.aByteArrayArrayArray9134 != null) { + for (int i_10_ = 0; Component317.anIntArray8684.length > i_10_; i_10_++) { + if ((i == Component317.anIntArray8684[i_10_]) && DisplayModeManagerContainer56.anIntArray2552[i_10_] > 0) { + byte[] is = (DefinitionSub6.aByteArrayArrayArray9134[i_10_][--DisplayModeManagerContainer56.anIntArray2552[i_10_]]); + DefinitionSub6.aByteArrayArrayArray9134[i_10_][DisplayModeManagerContainer56.anIntArray2552[i_10_]] = null; + return is; + } + } + } + return new byte[i]; + } +} diff --git a/client/text/RadixParser.java b/client/text/RadixParser.java new file mode 100644 index 000000000..b30477df3 --- /dev/null +++ b/client/text/RadixParser.java @@ -0,0 +1,137 @@ +/* RadixParser - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class174` (JODE-obfuscated). + * Radix/number parser. Throws 'Invalid radix:' when a numeric string is parsed with an unsupported base; converts text to integers with an explicit radix. + */ + +final class RadixParser { + static int anInt2287; + static int anInt2288; + int anInt2289; + int anInt2290; + int anInt2291; + int anInt2292; + static int anInt2293; + int anInt2294; + static int anInt2295; + int anInt2296; + int anInt2297 = 0; + int anInt2298; + int anInt2299; + static int anInt2300; + long aLong2301; + private int anInt2302; + int anInt2303; + int anInt2304; + static Component183 aClass114_2305 = new Component183(57, 10); + static CacheStore aClass45_2306; + static DisplayModeManagerContainer369 aClass223_2307 = new DisplayModeManagerContainer369(7, 2); + private boolean aBoolean2308; + static Component24 aClass105_2309; + + /** True if {@code string} is a non-empty integer in radix {@code i} (2–36). */ + static final boolean isValidNumber(boolean bool, boolean bool_0_, int i, String string) { + anInt2293++; + if (i < 2 || i > 36) throw new IllegalArgumentException("Invalid radix:" + i); + boolean bool_1_ = false; + boolean bool_2_ = false; + int i_3_ = 0; + if (bool != true) aClass45_2306 = null; + int i_4_ = string.length(); + for (int i_5_ = 0; i_5_ < i_4_; i_5_++) { + int i_6_ = string.charAt(i_5_); + if (i_5_ == 0) { + if (i_6_ == 45) { + bool_1_ = true; + continue; + } + if (i_6_ == 43 && bool_0_) continue; + } + if (i_6_ < 48 || i_6_ > 57) { + if (i_6_ < 65 || i_6_ > 90) { + if (i_6_ >= 97 && i_6_ <= 122) i_6_ -= 87; + else return false; + } else i_6_ -= 55; + } else i_6_ -= 48; + if (i_6_ >= i) return false; + if (bool_1_) i_6_ = -i_6_; + int i_7_ = i * i_3_ - -i_6_; + if (i_7_ / i != i_3_) return false; + bool_2_ = true; + i_3_ = i_7_; + } + return bool_2_; + } + + static final void method1333(short[] is, int i, String[] strings) { + try { + if (i != 26073) aClass105_2309 = null; + anInt2295++; + DisplayModeManagerContainer370.method607(strings.length + -1, strings, is, 0, false); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("po.B(" + (is != null ? "{...}" : "null") + ',' + i + ',' + (strings != null ? "{...}" : "null") + ')')); + } + } + + public static void method1334(byte i) { + aClass223_2307 = null; + if (i != -110) method1333(null, -51, null); + aClass114_2305 = null; + aClass105_2309 = null; + aClass45_2306 = null; + } + + private final void method1335(Buffer class348_sub49, int i, byte i_8_) { + anInt2287++; + if (i == 1) anInt2302 = class348_sub49.readUnsignedShort(842397944); + else if (i == 2) class348_sub49.readUnsignedByte(255); + else if (i == 3) { + this.anInt2291 = class348_sub49.readInt((byte) -126); + this.anInt2290 = class348_sub49.readInt((byte) -126); + this.anInt2294 = class348_sub49.readInt((byte) -126); + } else if (i == 4) { + this.anInt2289 = class348_sub49.readUnsignedByte(255); + this.anInt2304 = class348_sub49.readInt((byte) -126); + } else if (i != 6) { + if (i == 8) this.anInt2297 = 1; + else if (i == 9) this.anInt2292 = 1; + else if (i == 10) aBoolean2308 = true; + } else this.anInt2296 = class348_sub49.readUnsignedByte(255); + if (i_8_ >= -124) this.aLong2301 = 65L; + } + + final void method1336(int i, Buffer class348_sub49) { + for (; ; ) { + int i_9_ = class348_sub49.readUnsignedByte(255); + if (i_9_ == 0) break; + method1335(class348_sub49, i_9_, (byte) -128); + } + anInt2288++; + if (i <= 36) this.anInt2296 = 8; + } + + final void method1337(int i) { + anInt2300++; + this.anInt2298 = DisplayModeManagerContainer88.anIntArray1204[anInt2302 << 3]; + long l = this.anInt2291; + long l_10_ = this.anInt2290; + long l_11_ = this.anInt2294; + this.anInt2299 = (int) Math.sqrt((double) (l_10_ * l_10_ + (l * l - -(l_11_ * l_11_)))); + if (this.anInt2304 == 0) this.anInt2304 = 1; + if ((~this.anInt2289) != i) { + if (this.anInt2289 == 1) { + this.aLong2301 = this.anInt2299 * 8 / this.anInt2304; + this.aLong2301 *= this.aLong2301; + } else if (this.anInt2289 == 2) this.aLong2301 = 8 * this.anInt2299 / this.anInt2304; + } else this.aLong2301 = 2147483647L; + if (aBoolean2308) this.anInt2299 *= -1; + } + + public RadixParser() { + this.anInt2292 = 0; + aBoolean2308 = false; + } +} diff --git a/client/text/RadixText.java b/client/text/RadixText.java new file mode 100644 index 000000000..a3796740d --- /dev/null +++ b/client/text/RadixText.java @@ -0,0 +1,134 @@ +/* RadixText - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class239_Sub26` (JODE-obfuscated). + * Radix text component. Extends Component339; renders numbers parsed with an explicit radix and throws 'Invalid radix:' on bad input. + */ + +final class RadixText extends Component339 { + static Component285[] aClass54Array6114; + static int occluderCountA; + static int anInt6116; + static int anInt6117; + static int anInt6118; + static int anInt6119; + static float aFloat6120 = 1.0F; + static Component183 aClass114_6121; + static int anInt6122; + static int anInt6123; + static int anInt6124; + static int anInt6125; + static int anInt6126; + + static final boolean method1833(byte i, int i_0_, int i_1_) { + if (i > -111) method1834(null, (byte) -87); + anInt6126++; + return (i_0_ & 0x84080) != 0; + } + + final int method1710(int i) { + if (i != 20014) return 112; + anInt6116++; + return 127; + } + + static final void method1834(DisplayModeManagerContainer58 class318_sub1_sub3_sub3, byte i) { + anInt6125++; + int i_2_ = (class318_sub1_sub3_sub3.anInt10239 - OpenGlShader.clientCycle); + if (i < 0) { + int i_3_ = ((class318_sub1_sub3_sub3.anInt10293) * 512 + 256 * class318_sub1_sub3_sub3.method2436((byte) 73)); + int i_4_ = (512 * (class318_sub1_sub3_sub3.anInt10314) - -(class318_sub1_sub3_sub3.method2436((byte) 114) * 256)); + class318_sub1_sub3_sub3.anInt10326 = 0; + class318_sub1_sub3_sub3.y += ((i_4_ + -class318_sub1_sub3_sub3.y) / i_2_); + class318_sub1_sub3_sub3.x += ((i_3_ + -class318_sub1_sub3_sub3.x) / i_2_); + if (class318_sub1_sub3_sub3.anInt10231 == 0) class318_sub1_sub3_sub3.method2440((byte) 49, 8192); + if (class318_sub1_sub3_sub3.anInt10231 == 1) class318_sub1_sub3_sub3.method2440((byte) 49, 12288); + if (class318_sub1_sub3_sub3.anInt10231 == 2) class318_sub1_sub3_sub3.method2440((byte) 49, 0); + if (class318_sub1_sub3_sub3.anInt10231 == 3) class318_sub1_sub3_sub3.method2440((byte) 49, 4096); + } + } + + final void method1716(boolean bool) { + if (bool != false) occluderCountA = 87; + if (this.anInt3138 < 0 && this.anInt3138 > 127) this.anInt3138 = method1710(20014); + anInt6117++; + } + + final int method1714(int i, int i_5_) { + if (i != 3) method1834(null, (byte) 50); + anInt6124++; + return 1; + } + + public static void method1835(int i) { + aClass54Array6114 = null; + aClass114_6121 = null; + if (i != -28594) occluderCountA = -7; + } + + RadixText(int i, NodeSub51 class348_sub51) { + super(i, class348_sub51); + } + + /** Parse {@code string} as signed int in radix {@code i_6_} (2–36). */ + static final int parseIntRadix(int i, int i_6_, boolean bool, String string) { + anInt6118++; + if (i_6_ < 2 || i_6_ > 36) throw new IllegalArgumentException("Invalid radix:" + i_6_); + boolean bool_7_ = false; + boolean bool_8_ = false; + int i_9_ = 0; + if (i != -123) method1837(-93, 121, 38); + int i_10_ = string.length(); + for (int i_11_ = 0; i_11_ < i_10_; i_11_++) { + int i_12_ = string.charAt(i_11_); + if (i_11_ == 0) { + if (i_12_ == 45) { + bool_7_ = true; + continue; + } + if (i_12_ == 43 && bool) continue; + } + if (i_12_ >= 48 && i_12_ <= 57) i_12_ -= 48; + else if (i_12_ >= 65 && i_12_ <= 90) i_12_ -= 55; + else if (i_12_ >= 97 && i_12_ <= 122) i_12_ -= 87; + else throw new NumberFormatException(); + if (i_12_ >= i_6_) throw new NumberFormatException(); + if (bool_7_) i_12_ = -i_12_; + int i_13_ = i_6_ * i_9_ - -i_12_; + if (i_9_ != i_13_ / i_6_) throw new NumberFormatException(); + bool_8_ = true; + i_9_ = i_13_; + } + if (!bool_8_) throw new NumberFormatException(); + return i_9_; + } + + static final boolean method1837(int i, int i_14_, int i_15_) { + if (i_14_ < 41) aClass114_6121 = null; + anInt6122++; + return (i_15_ & 0x800) != 0; + } + + final void method1712(int i, int i_16_) { + int i_17_ = 63 % ((i - 82) / 35); + anInt6119++; + this.anInt3138 = i_16_; + } + + RadixText(NodeSub51 class348_sub51) { + super(class348_sub51); + } + + final int method1838(int i) { + if (i != -32350) parseIntRadix(89, 103, false, null); + anInt6123++; + return this.anInt3138; + } + + static { + aClass54Array6114 = new Component285[6]; + aClass114_6121 = new Component183(32, 6); + } +} diff --git a/client/text/StringCache.java b/client/text/StringCache.java new file mode 100644 index 000000000..f2ecc61e9 --- /dev/null +++ b/client/text/StringCache.java @@ -0,0 +1,62 @@ +/* StringCache - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class351` (JODE-obfuscated). + * String-keyed cache. Backed by a NodeCache (aClass60_4327 = new NodeCache(3000000,200)); isOnIgnoreList(String,int) looks up by name. Used by CacheStore and many systems. + */ + +import java.awt.*; + +final class StringCache { + static int anInt4322; + /** Secondary constructor value (often payload/group size). */ + int size; + static int anInt4324; + static int anInt4325; + /** Primary id (packet opcode / cache key). */ + private int opcode; + static NodeCache aClass60_4327 = new NodeCache(3000000, 200); + /** + * Developer console (purple band) open. Toggled by {@code `} / 4-finger tap; + * read reflectively by {@code voidawt.AwtHost.isDevConsoleOpen}. + */ + static boolean devConsoleOpen = false; + static Font aFont4329; + + /** True if {@code string} matches an ignore-list display name (current or previous). */ + static final boolean isOnIgnoreList(String string, int i) { + anInt4324++; + if (string == null) return false; + for (int i_0_ = 0; (i_0_ < MenuEntry.ignoreCount); i_0_++) { + if (string.equalsIgnoreCase(DisplayModeManagerContainer145.ignoreDisplayNames[i_0_])) return true; + if (string.equalsIgnoreCase(ShaderSub2.ignoreLastDisplayNames[i_0_])) return true; + } + if (i != 28280) devConsoleOpen = false; + return false; + } + + public final String toString() { + anInt4325++; + throw new IllegalStateException(); + } + + /** Packet / cache opcode id assigned at construction ({@code new StringCache(opcode, size)}). */ + final int getOpcode(int i) { + anInt4322++; + if (i != 200) opcode = -78; + return opcode; + } + + public static void clearStatics(boolean bool) { + aFont4329 = null; + aClass60_4327 = null; + if (bool != true) isOnIgnoreList(null, -16); + } + + StringCache(int i, int i_1_) { + opcode = i; + this.size = i_1_; + } +} diff --git a/client/text/StringDefinition.java b/client/text/StringDefinition.java new file mode 100644 index 000000000..9d644b623 --- /dev/null +++ b/client/text/StringDefinition.java @@ -0,0 +1,207 @@ +/* StringDefinition - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class348_Sub42_Sub11` (JODE-obfuscated). + * Text/string definition node (extends renamed HashNode). Parses char[]/String fields from a Buffer (method3221); holds char arrays and a StringCache for cached string table entries. + */ + +final class StringDefinition extends HashNode { + static int anInt9579; + int[] anIntArray9580; + static int anInt9581; + char[] aCharArray9582; + static int anInt9583; + static int anInt9584; + static int anInt9585; + static int anInt9586; + String aString9587; + char[] aCharArray9588; + static int anInt9589; + static StringCache aClass351_9590 = new StringCache(83, -1); + static int anInt9591 = -1; + int[] anIntArray9592; + + public static void method3220(byte i) { + if (i < 96) anInt9591 = 45; + aClass351_9590 = null; + } + + final void method3221(int i, Buffer class348_sub49) { + int i_0_ = 81 / ((-39 - i) / 52); + anInt9583++; + for (; ; ) { + int i_1_ = class348_sub49.readUnsignedByte(255); + if (i_1_ == 0) break; + method3227(-5847, class348_sub49, i_1_); + } + } + + final int method3222(byte i, char c) { + anInt9585++; + if (this.anIntArray9580 == null) return -1; + int i_2_ = 0; + if (i > -97) method3221(126, null); + for (/**/; this.anIntArray9580.length > i_2_; i_2_++) { + if (this.aCharArray9582[i_2_] == c) return this.anIntArray9580[i_2_]; + } + return -1; + } + + static final void method3223() { + for (int i = 0; i < Component328.dynamicOnscreenCount; i++) { + Component327 class318_sub1_sub3 = DisplayModeManagerContainer310.aClass318_Sub1_Sub3Array357[i]; + NodeSub46.method3320(class318_sub1_sub3, true); + DisplayModeManagerContainer310.aClass318_Sub1_Sub3Array357[i] = null; + } + Component328.dynamicOnscreenCount = 0; + } + + final void method3224(byte i) { + if (this.anIntArray9580 != null) { + for (int i_3_ = 0; (this.anIntArray9580.length > i_3_); i_3_++) + this.anIntArray9580[i_3_] = Component224.bitwiseOr((this.anIntArray9580[i_3_]), 32768); + } + anInt9579++; + if (this.anIntArray9592 != null) { + for (int i_4_ = 0; (this.anIntArray9592.length > i_4_); i_4_++) + this.anIntArray9592[i_4_] = Component224.bitwiseOr((this.anIntArray9592[i_4_]), 32768); + } + if (i <= 102) method3222((byte) 78, '\uffc1'); + } + + static final void method3225(int i) { + anInt9589++; + if (Component192.aClass348_Sub51_3959.aClass239_Sub14_7264.method1778(-32350) == 2) { + byte i_5_ = (byte) (0xff & -4 + DisplayModeManagerContainer341.anInt6006); + int i_6_ = DisplayModeManagerContainer341.anInt6006 % AbstractShaderSub4.anInt7319; + for (int i_7_ = 0; i_7_ < 4; i_7_++) { + for (int i_8_ = 0; ParametricDefinition.anInt9109 > i_8_; i_8_++) + Component156.aByteArrayArrayArray3700[i_7_][i_6_][i_8_] = i_5_; + } + if (Component117.anInt4372 != 3) { + for (int i_9_ = 0; i_9_ < 2; i_9_++) { + DisplayModeManagerContainer363.anIntArray4097[i_9_] = -1000000; + ClientErrorReporter.anIntArray2117[i_9_] = 1000000; + DefinitionSub19.anIntArray9259[i_9_] = 0; + DisplayModeManagerContainer370.anIntArray1127[i_9_] = 1000000; + LoadingState.anIntArray1045[i_9_] = 0; + } + int i_10_ = (Component72.localPlayer.x); + int i_11_ = (Component72.localPlayer.y); + if (i >= 100) { + if (DefinitionSub21.cameraMode == 1 || JaclibLoader.anInt167 != -1) { + if (DefinitionSub21.cameraMode != 1) { + i_11_ = ShaderLinker.anInt10163; + i_10_ = JaclibLoader.anInt167; + } + if ((0x4 & (ObjectDeserializer.aByteArrayArrayArray6962[Component117.anInt4372][i_10_ >> 9][i_11_ >> 9])) != 0) AbstractShaderSub4.method3542(i_11_ >> 9, Component335.aClass357ArrayArrayArray2029, i_10_ >> 9, 0, 0, false); + if (HashNodeSub19.anInt9701 < 2560) { + int i_12_ = WaterSurfaceShader.anInt6246 >> 9; + int i_13_ = Component317.anInt8685 >> 9; + int i_14_ = i_10_ >> 9; + int i_15_ = i_11_ >> 9; + int i_16_; + if (i_14_ > i_12_) i_16_ = i_14_ + -i_12_; + else i_16_ = i_12_ + -i_14_; + int i_17_; + if (i_15_ <= i_13_) i_17_ = -i_15_ + i_13_; + else i_17_ = i_15_ + -i_13_; + if (i_16_ == 0 && i_17_ == 0 || -AbstractShaderSub4.anInt7319 >= i_16_ || (AbstractShaderSub4.anInt7319 <= i_16_) || i_17_ <= -ParametricDefinition.anInt9109 || ParametricDefinition.anInt9109 <= i_17_) + ClientErrorReporter.reportError(("RC: " + i_12_ + "," + i_13_ + " " + i_14_ + "," + i_15_ + " " + NodeBaseSub2.regionTileX + "," + Component330.regionTileY), null, 15004); + else if (i_16_ <= i_17_) { + int i_18_ = i_16_ * 65536 / i_17_; + int i_19_ = 32768; + while (i_15_ != i_13_) { + if (i_15_ > i_13_) i_13_++; + else if (i_15_ < i_13_) i_13_--; + if ((0x4 & (ObjectDeserializer.aByteArrayArrayArray6962[Component117.anInt4372][i_12_][i_13_])) != 0) { + AbstractShaderSub4.method3542(i_13_, (Component335.aClass357ArrayArrayArray2029), i_12_, 0, 1, false); + break; + } + i_19_ += i_18_; + if (i_19_ >= 65536) { + if (i_12_ < i_14_) i_12_++; + else if (i_14_ < i_12_) i_12_--; + i_19_ -= 65536; + if ((0x4 & (ObjectDeserializer.aByteArrayArrayArray6962[Component117.anInt4372][i_12_][i_13_])) != 0) { + AbstractShaderSub4.method3542(i_13_, (Component335.aClass357ArrayArrayArray2029), i_12_, 0, 1, false); + break; + } + } + } + } else { + int i_20_ = 65536 * i_17_ / i_16_; + int i_21_ = 32768; + while (i_14_ != i_12_) { + if (i_12_ >= i_14_) { + if (i_12_ > i_14_) i_12_--; + } else i_12_++; + if ((0x4 & (ObjectDeserializer.aByteArrayArrayArray6962[Component117.anInt4372][i_12_][i_13_])) != 0) { + AbstractShaderSub4.method3542(i_13_, (Component335.aClass357ArrayArrayArray2029), i_12_, 0, 1, false); + break; + } + i_21_ += i_20_; + if (i_21_ >= 65536) { + if (i_15_ > i_13_) i_13_++; + else if (i_13_ > i_15_) i_13_--; + i_21_ -= 65536; + if ((0x4 & (ObjectDeserializer.aByteArrayArrayArray6962[Component117.anInt4372][i_12_][i_13_])) != 0) { + AbstractShaderSub4.method3542(i_13_, (Component335.aClass357ArrayArrayArray2029), i_12_, 0, 1, false); + break; + } + } + } + } + } + } else { + int i_22_ = Component300.method2064(WaterSurfaceShader.anInt6246, Component117.anInt4372, 11219, Component317.anInt8685); + if (i_22_ - DisplayModeManagerContainer50.anInt3855 < 3200 && ((ObjectDeserializer.aByteArrayArrayArray6962[Component117.anInt4372][WaterSurfaceShader.anInt6246 >> 9][Component317.anInt8685 >> 9]) & 0x4) != 0) + AbstractShaderSub4.method3542(Component317.anInt8685 >> 9, Component335.aClass357ArrayArrayArray2029, WaterSurfaceShader.anInt6246 >> 9, 0, 1, false); + } + } + } + } + } + + final int method3226(char c, int i) { + anInt9584++; + if (this.anIntArray9592 == null) return -1; + for (int i_23_ = 0; this.anIntArray9592.length > i_23_; i_23_++) { + if (this.aCharArray9588[i_23_] == c) return this.anIntArray9592[i_23_]; + } + if (i != 57249897) method3221(-16, null); + return -1; + } + + private final void method3227(int i, Buffer class348_sub49, int i_24_) { + if (i_24_ != 1) { + if (i_24_ == 2) { + int i_25_ = class348_sub49.readUnsignedByte(255); + this.anIntArray9592 = new int[i_25_]; + this.aCharArray9588 = new char[i_25_]; + for (int i_26_ = 0; i_26_ < i_25_; i_26_++) { + this.anIntArray9592[i_26_] = class348_sub49.readUnsignedShort(842397944); + byte i_27_ = class348_sub49.readByte(-121); + this.aCharArray9588[i_26_] = (i_27_ != 0 ? Cp1252Decoder.method462(i_27_, -128) : '\0'); + } + } else if (i_24_ == 3) { + int i_28_ = class348_sub49.readUnsignedByte(255); + this.aCharArray9582 = new char[i_28_]; + this.anIntArray9580 = new int[i_28_]; + for (int i_29_ = 0; i_28_ > i_29_; i_29_++) { + this.anIntArray9580[i_29_] = class348_sub49.readUnsignedShort(842397944); + byte i_30_ = class348_sub49.readByte(-115); + this.aCharArray9582[i_29_] = (i_30_ != 0 ? Cp1252Decoder.method462(i_30_, -128) : '\0'); + } + } + } else this.aString9587 = class348_sub49.readString((byte) 100); + if (i != -5847) anInt9586 = 12; + anInt9581++; + } + + public StringDefinition() { + /* empty */ + } +} diff --git a/client/text/WorldNameText.java b/client/text/WorldNameText.java new file mode 100644 index 000000000..3fa02f27b --- /dev/null +++ b/client/text/WorldNameText.java @@ -0,0 +1,230 @@ +/* WorldNameText - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class14_Sub4` (JODE-obfuscated). + * World-list text component. Extends DisplayModeManagerContainer194 (Interface18_Impl3); renders world names (e.g. 'stellardawn') with colour tags in the server/world list. + */ + +import jaggl.OpenGL; + +final class WorldNameText extends DisplayModeManagerContainer194 implements Interface18_Impl3 { + static int anInt8633; + private int anInt8634; + static int anInt8635; + static int anInt8636; + static int anInt8637; + /** Stellar Dawn product ({@code id}=1). */ + static GameType STELLARDAWN = new GameType("stellardawn", 1); + static int anInt8639; + private int anInt8640; + static int anInt8641; + static byte[][] aByteArrayArray8642; + static int anInt8643; + static FontGlyphCache aClass323_8644; + static int anInt8645; + static int anInt8646; + static int anInt8647; + static int anInt8648; + static int anInt8649; + static int anInt8650; + static int anInt8651; + + static final String method250(int i, boolean bool, int i_0_) { + if (bool != true) method251((byte) 96); + anInt8641++; + int i_1_ = -i_0_ + i; + if (i_1_ < -9) return ""; + if (i_1_ < -6) return ""; + if (i_1_ < -3) return ""; + if (i_1_ < 0) return ""; + if (i_1_ > 9) return ""; + if (i_1_ > 6) return ""; + if (i_1_ > 3) return ""; + if (i_1_ > 0) return ""; + return ""; + } + + public final int method72(int i) { + anInt8649++; + int i_2_ = 96 % ((i - 55) / 63); + return anInt8634; + } + + public static void method251(byte i) { + if (i != 2) method250(-45, false, -102); + aClass323_8644 = null; + STELLARDAWN = null; + aByteArrayArray8642 = null; + } + + WorldNameText(GlExtensionManager class377, int i, int i_3_, int[] is, int i_4_, int i_5_) { + super(class377, 34037, Component83.aClass304_1662, Component342.aClass68_1183, i * i_3_, false); + try { + anInt8640 = i; + anInt8634 = i_3_; + this.aClass377_5082.method3850((byte) 76, this); + OpenGL.glPixelStorei(3314, i_5_); + OpenGL.glTexImage2Di(this.anInt5093, 0, 6408, anInt8640, anInt8634, 0, 32993, (this.aClass377_5082.anInt9918), is, i_4_ * 4); + OpenGL.glPixelStorei(3314, 0); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("tw.(" + (class377 != null ? "{...}" : "null") + ',' + i + ',' + i_3_ + ',' + (is != null ? "{...}" : "null") + ',' + i_4_ + ',' + i_5_ + ')')); + } + } + + WorldNameText(GlExtensionManager class377, DisplayModeManagerContainer42 class304, int i, int i_6_, byte[] is, int i_7_, int i_8_) { + super(class377, 34037, class304, Component342.aClass68_1183, i * i_6_, false); + try { + anInt8634 = i_6_; + anInt8640 = i; + this.aClass377_5082.method3850((byte) -127, this); + OpenGL.glPixelStorei(3317, 1); + OpenGL.glPixelStorei(3314, i_8_); + OpenGL.glTexImage2Dub(this.anInt5093, 0, this.method228(126), i, i_6_, 0, (ParametricDefinition.method3055(111, this.aClass304_5084)), 5121, is, i_7_); + OpenGL.glPixelStorei(3314, 0); + OpenGL.glPixelStorei(3317, 4); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("tw.(" + (class377 != null ? "{...}" : "null") + ',' + (class304 != null ? "{...}" : "null") + ',' + i + ',' + i_6_ + ',' + (is != null ? "{...}" : "null") + ',' + i_7_ + ',' + i_8_ + ')')); + } + } + + public final void method66(boolean bool, boolean bool_9_, int i) { + if (i != 25688) method254(-82, (byte) -35); + anInt8639++; + } + + WorldNameText(GlExtensionManager class377, DisplayModeManagerContainer42 class304, Component342 class68, int i, int i_10_) { + super(class377, 34037, class304, class68, i_10_ * i, false); + try { + anInt8634 = i_10_; + anInt8640 = i; + this.aClass377_5082.method3850((byte) 115, this); + OpenGL.glTexImage2Dub(this.anInt5093, 0, this.method228(109), i, i_10_, 0, ParametricDefinition.method3055(105, this.aClass304_5084), Component387.method1128(-54, this.aClass68_5088), null, 0); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("tw.(" + (class377 != null ? "{...}" : "null") + ',' + (class304 != null ? "{...}" : "null") + ',' + (class68 != null ? "{...}" : "null") + ',' + i + ',' + i_10_ + ')')); + } + } + + static final boolean method252(int i, int i_11_) { + anInt8636++; + if (i_11_ != 5126) aByteArrayArray8642 = null; + return i == 0 || i == 2; + } + + static final void method253(int i, int i_12_, int i_13_, int i_14_, int i_15_) { + anInt8648++; + if (i_13_ != -648) aClass323_8644 = null; + int i_16_ = 0; + int i_17_ = i_15_; + int i_18_ = -i_15_; + int i_19_ = -1; + MenuOpener.fillInts(i_13_ + 621, i_12_ + i_15_, DisplayModeManagerContainer167.anIntArrayArray255[i], i_12_ + -i_15_, i_14_); + while (i_16_ < i_17_) { + i_19_ += 2; + i_18_ += i_19_; + i_16_++; + if (i_18_ >= 0) { + i_17_--; + i_18_ -= i_17_ << 1; + int[] is = DisplayModeManagerContainer167.anIntArrayArray255[i - -i_17_]; + int[] is_20_ = DisplayModeManagerContainer167.anIntArrayArray255[i + -i_17_]; + int i_21_ = i_16_ + i_12_; + int i_22_ = i_12_ + -i_16_; + MenuOpener.fillInts(-27, i_21_, is, i_22_, i_14_); + MenuOpener.fillInts(-27, i_21_, is_20_, i_22_, i_14_); + } + int i_23_ = i_17_ + i_12_; + int i_24_ = i_12_ - i_17_; + int[] is = DisplayModeManagerContainer167.anIntArrayArray255[i_16_ + i]; + int[] is_25_ = DisplayModeManagerContainer167.anIntArrayArray255[-i_16_ + i]; + MenuOpener.fillInts(i_13_ + 621, i_23_, is, i_24_, i_14_); + MenuOpener.fillInts(-27, i_23_, is_25_, i_24_, i_14_); + } + } + + public final void method65(int i, int[] is, int i_26_, int i_27_, int i_28_, byte i_29_, int i_30_) { + anInt8645++; + if (i_29_ != 112) anInt8634 = 49; + int[] is_31_ = new int[anInt8634 * anInt8640]; + this.aClass377_5082.method3850((byte) -34, this); + OpenGL.glGetTexImagei(this.anInt5093, 0, 32993, 5121, is_31_, 0); + for (int i_32_ = 0; i_28_ > i_32_; i_32_++) + Component313.method1578(is_31_, anInt8640 * (i_28_ + -1 + (i_27_ + -i_32_)), is, i_32_ * i_26_ + i_30_, i_26_); + } + + public final float method67(float f, int i) { + if (i <= 69) aByteArrayArray8642 = null; + anInt8646++; + return f; + } + + WorldNameText(GlExtensionManager class377, DisplayModeManagerContainer42 class304, int i, int i_33_, float[] fs, int i_34_, int i_35_) { + super(class377, 34037, class304, Component342.aClass68_1187, i_33_ * i, false); + try { + anInt8640 = i; + anInt8634 = i_33_; + this.aClass377_5082.method3850((byte) -45, this); + OpenGL.glPixelStorei(3314, i_35_); + OpenGL.glTexImage2Df(this.anInt5093, 0, this.method228(107), i, i_33_, 0, (ParametricDefinition.method3055(126, this.aClass304_5084)), 5126, fs, i_34_ * 4); + OpenGL.glPixelStorei(3314, 0); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("tw.(" + (class377 != null ? "{...}" : "null") + ',' + (class304 != null ? "{...}" : "null") + ',' + i + ',' + i_33_ + ',' + (fs != null ? "{...}" : "null") + ',' + i_34_ + ',' + i_35_ + ')')); + } + } + + public final float method71(byte i, float f) { + if (i > -24) method67(-1.6376895F, -84); + anInt8637++; + return f; + } + + public final boolean method73(int i) { + if (i <= 84) method68(-26, 9, null, -21, 80, 34, 77, -73); + anInt8635++; + return false; + } + + public final int method69(boolean bool) { + anInt8651++; + if (bool != false) anInt8640 = -103; + return anInt8640; + } + + public final void method68(int i, int i_36_, int[] is, int i_37_, int i_38_, int i_39_, int i_40_, int i_41_) { + this.aClass377_5082.method3850((byte) 118, this); + anInt8650++; + if (i == 0) i = i_39_; + if (i_39_ != i) OpenGL.glPixelStorei(3314, i); + OpenGL.glTexSubImage2Di(this.anInt5093, 0, i_37_, i_40_, i_39_, i_41_, 32993, (this.aClass377_5082.anInt9918), is, i_38_); + if (i != i_39_) OpenGL.glPixelStorei(3314, 0); + if (i_36_ != 22809) anInt8634 = 115; + } + + public final void method70(int i, int i_42_, byte i_43_, int i_44_, int i_45_, int i_46_, int i_47_, byte[] is, DisplayModeManagerContainer42 class304) { + try { + this.aClass377_5082.method3850((byte) -39, this); + anInt8647++; + if (i_44_ == 0) i_44_ = i_46_; + OpenGL.glPixelStorei(3317, 1); + if (i_43_ >= -4) method250(74, false, -106); + if (i_46_ != i_44_) OpenGL.glPixelStorei(3314, i_44_); + OpenGL.glTexSubImage2Dub(this.anInt5093, 0, i_47_, i, i_46_, i_45_, ParametricDefinition.method3055(120, class304), 5121, is, i_42_); + if (i_46_ != i_44_) OpenGL.glPixelStorei(3314, 0); + OpenGL.glPixelStorei(3317, 4); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("tw.T(" + i + ',' + i_42_ + ',' + i_43_ + ',' + i_44_ + ',' + i_45_ + ',' + i_46_ + ',' + i_47_ + ',' + (is != null ? "{...}" : "null") + ',' + (class304 != null ? "{...}" : "null") + ')')); + } + } + + static final void method254(int i, byte i_48_) { + if (i_48_ > -79) method252(127, 53); + if (Loader.skipLobby) { + NodederUtil.anInt6634 = i; + HashTable.anInt1645 = i; + } else if (Component205.anInt5969 != 1) { + if (Component205.anInt5969 == 2) NodederUtil.anInt6634 = i; + } else HashTable.anInt1645 = i; + anInt8643++; + } +} diff --git a/client/toolkit/base/DisplayModeManagerContainer204.java b/client/toolkit/base/DisplayModeManagerContainer204.java new file mode 100644 index 000000000..920bb0482 --- /dev/null +++ b/client/toolkit/base/DisplayModeManagerContainer204.java @@ -0,0 +1,158 @@ +/* DisplayModeManagerContainer204 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +abstract class DisplayModeManagerContainer204 +/** + * RENAMED from `Class101` (JODE-obfuscated). + * Evidence: root class; no distinctive extends/strings + */ { + static int[] anIntArray1593 = new int[1]; + static int anInt1594; + static int anInt1595; + static int anInt1596; + static int anInt1597 = 0; + static int anInt1598; + static int anInt1599; + + abstract void method890(int[] is); + + abstract void method891(int i, int i_0_, int i_1_); + + public DisplayModeManagerContainer204() { + /* empty */ + } + + abstract void method892(int i, int i_2_, int i_3_, int[] is); + + static final void method893(byte i) { + DefinitionSub22.method3111(91, Component192.aClass348_Sub51_3959.aClass239_Sub6_7226.method1743(-32350)); + anInt1595++; + int i_4_ = ((WaterSurfaceShader.anInt6246 >> 12) - -(NodeBaseSub2.regionTileX >> 3)); + int i_5_ = ((Component330.regionTileY >> 3) + (Component317.anInt8685 >> 12)); + Component117.anInt4372 = Component72.localPlayer.plane = (byte) 0; + Component72.localPlayer.method2449(8, 8, (byte) 118); + if (i != -49) anInt1597 = 115; + int i_6_ = 18; + ImageCacheStore.anIntArray4031 = new int[i_6_]; + NodeSub50.aByteArrayArray7212 = new byte[i_6_][]; + Component31.anIntArrayArray5894 = new int[i_6_][4]; + ShaderSub1.anIntArray5192 = new int[i_6_]; + WorldNameText.aByteArrayArray8642 = new byte[i_6_][]; + OggStreamReader.anIntArray9042 = new int[i_6_]; + r.anIntArray9724 = new int[i_6_]; + DisplayModeManagerContainer61.anIntArray3759 = new int[i_6_]; + DisplayModeManagerContainer322.aByteArrayArray4281 = new byte[i_6_][]; + Applet_Sub1.anIntArray38 = new int[i_6_]; + OggUrlStream.aByteArrayArray8996 = new byte[i_6_][]; + Component30.aByteArrayArray1887 = new byte[i_6_][]; + i_6_ = 0; + for (int i_7_ = (i_4_ + -(AbstractShaderSub4.anInt7319 >> 4)) / 8; (i_4_ - -(AbstractShaderSub4.anInt7319 >> 4)) / 8 >= i_7_; i_7_++) { + for (int i_8_ = (-(ParametricDefinition.anInt9109 >> 4) + i_5_) / 8; ((i_5_ + (ParametricDefinition.anInt9109 >> 4)) / 8 >= i_8_); i_8_++) { + int i_9_ = i_8_ + (i_7_ << 8); + OggStreamReader.anIntArray9042[i_6_] = i_9_; + ShaderSub1.anIntArray5192[i_6_] = SoftwareFallbackShader.aClass45_7382.getGroupId("m" + i_7_ + "_" + i_8_, i + 49); + Applet_Sub1.anIntArray38[i_6_] = SoftwareFallbackShader.aClass45_7382.getGroupId("l" + i_7_ + "_" + i_8_, 0); + ImageCacheStore.anIntArray4031[i_6_] = SoftwareFallbackShader.aClass45_7382.getGroupId("n" + i_7_ + "_" + i_8_, 0); + DisplayModeManagerContainer61.anIntArray3759[i_6_] = SoftwareFallbackShader.aClass45_7382.getGroupId("um" + i_7_ + "_" + i_8_, 0); + r.anIntArray9724[i_6_] = (SoftwareFallbackShader.aClass45_7382.getGroupId("ul" + i_7_ + "_" + i_8_, NodeSub21.bitwiseXor(i, -49))); + if (ImageCacheStore.anIntArray4031[i_6_] == -1) { + ShaderSub1.anIntArray5192[i_6_] = -1; + Applet_Sub1.anIntArray38[i_6_] = -1; + DisplayModeManagerContainer61.anIntArray3759[i_6_] = -1; + r.anIntArray9724[i_6_] = -1; + } + i_6_++; + } + } + for (int i_10_ = i_6_; ImageCacheStore.anIntArray4031.length > i_10_; i_10_++) { + ImageCacheStore.anIntArray4031[i_10_] = -1; + ShaderSub1.anIntArray5192[i_10_] = -1; + Applet_Sub1.anIntArray38[i_10_] = -1; + DisplayModeManagerContainer61.anIntArray3759[i_10_] = -1; + r.anIntArray9724[i_10_] = -1; + } + int i_11_; + if (Component49.clientState != 3) i_11_ = 8; + else i_11_ = 4; + NodeSub41.method3157(i_5_, (byte) 123, i_4_, i_11_, false); + } + + abstract void method894(int i, int i_12_, int i_13_); + + abstract void method895(int i); + + abstract void method896(int i); + + abstract void method897(int i, int i_14_, int i_15_, int[] is); + + abstract void method898(DisplayModeManagerContainer204 class101_16_); + + abstract void method899(int i); + + abstract void method900(int i); + + static final void method901(Component24[] class105s, int i) { + try { + anInt1599++; + Component175.anInt5850 = class105s.length; + Component143.anIntArray2330 = new int[Component175.anInt5850 + 10]; + DisplayModeManagerContainer196.aClass105Array4234 = new Component24[Component175.anInt5850 + 10]; + Component313.arraycopyObjects(class105s, 0, DisplayModeManagerContainer196.aClass105Array4234, 0, Component175.anInt5850); + for (int i_17_ = 0; Component175.anInt5850 > i_17_; i_17_++) + Component143.anIntArray2330[i_17_] = DisplayModeManagerContainer196.aClass105Array4234[i_17_].method980(); + if (i != 515880227) anInt1597 = 49; + for (int i_18_ = Component175.anInt5850; (i_18_ < DisplayModeManagerContainer196.aClass105Array4234.length); i_18_++) + Component143.anIntArray2330[i_18_] = 12; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bca.RA(" + (class105s != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + abstract void method902(int i); + + abstract void method903(int i, int i_19_, int i_20_, int i_21_, int i_22_, int i_23_); + + static final GlRectangleTexture method904(int i, GlToolkitSub2 var_ha_Sub2, int i_24_, int i_25_, int i_26_) { + try { + anInt1594++; + if (i <= 42) method906(123); + if (var_ha_Sub2.aBoolean7793 || (Component353.method1436(82, i_25_) && Component353.method1436(81, i_26_))) return new GlRectangleTexture(var_ha_Sub2, 3553, i_24_, i_25_, i_26_); + if (var_ha_Sub2.aBoolean7837) return new GlRectangleTexture(var_ha_Sub2, 34037, i_24_, i_25_, i_26_); + return new GlRectangleTexture(var_ha_Sub2, i_24_, i_25_, i_26_, Component373.nextPowerOfTwo(i_25_, (byte) 108), Component373.nextPowerOfTwo(i_26_, (byte) 108)); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bca.TA(" + i + ',' + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i_24_ + ',' + i_25_ + ',' + i_26_ + ')')); + } + } + + abstract void method905(int i, int i_27_, int i_28_, int[] is); + + public static void method906(int i) { + anIntArray1593 = null; + if (i != -31777) method901(null, -89); + } + + abstract DisplayModeManagerContainer204 method907(); + + abstract void method908(int i); + + static final void method909(int i) { + anInt1598++; + if (DefinitionSub30.aBoolean9403 && i == 3553) { + while (ScreenModeManager.anInt2834 < Component304.aClass110_Sub1Array1146.length) { + Component362 class110_sub1 = Component304.aClass110_Sub1Array1146[ScreenModeManager.anInt2834]; + if (class110_sub1 == null || class110_sub1.anInt5788 != -1) ScreenModeManager.anInt2834++; + else { + if (Component218.aClass348_Sub26_2332 == null) Component218.aClass348_Sub26_2332 = (DisplayModeManagerContainer154.aClass169_1286.enqueue(i ^ ~0x1967, class110_sub1.aString5794)); + int i_29_ = (Component218.aClass348_Sub26_2332.anInt6887); + if (i_29_ == -1) break; + class110_sub1.anInt5788 = i_29_; + ScreenModeManager.anInt2834++; + Component218.aClass348_Sub26_2332 = null; + } + } + } + } + + abstract void method910(); +} diff --git a/client/toolkit/base/GlToolkitSub3.java b/client/toolkit/base/GlToolkitSub3.java new file mode 100644 index 000000000..f8337bc41 --- /dev/null +++ b/client/toolkit/base/GlToolkitSub3.java @@ -0,0 +1,2799 @@ +/* GlToolkitSub3 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaclib.memory.Buffer; +import jaclib.memory.Stream; +import jaclib.memory.heap.NativeHeap; +import jaclib.memory.heap.NativeHeapBuffer; +import jagex3.graphics2.hw.NativeInterface; + +import java.awt.*; +import java.lang.reflect.Method; +import java.util.Enumeration; +import java.util.Hashtable; + +abstract class GlToolkitSub3 +/** + * RENAMED from `GlToolkitSub3` (JODE-obfuscated). + * Evidence: extends GraphicsToolkit (GraphicsToolkit) + */ extends GraphicsToolkit { + static int anInt7884; + static int anInt7885; + static int anInt7886; + static int anInt7887; + static int anInt7888; + static int anInt7889; + static int anInt7890; + NativeHeap aNativeHeap7891; + static int anInt7892; + static int anInt7893; + static int anInt7894; + static int anInt7895; + static int anInt7896; + static int anInt7897; + static int anInt7898; + static int anInt7899; + static int anInt7900; + static int anInt7901; + static int anInt7902; + static int anInt7903; + static int anInt7904; + long aLong7905; + static int anInt7906; + static int anInt7907; + static int anInt7908; + static int anInt7909; + private Canvas aCanvas7910; + static int anInt7911; + static int anInt7912; + static int anInt7913; + static int anInt7914; + static int anInt7915; + static int anInt7916; + static int anInt7917; + static int anInt7918; + Object anObject7919; + static int anInt7920; + static int anInt7921; + static int anInt7922; + static int anInt7923; + NativeInterface aNativeInterface7924; + Canvas aCanvas7925; + static int anInt7926; + private NodeList aClass262_7927 = new NodeList(); + static int anInt7928; + static int anInt7929; + static int anInt7930; + int anInt7931; + static int anInt7932; + static int anInt7933; + static int anInt7934; + static int anInt7935; + static int anInt7936; + Component209 aClass269_7937; + static int anInt7938; + static int anInt7939; + static int anInt7940; + static int anInt7941; + static int anInt7942; + static int anInt7943; + static int anInt7944; + static int anInt7945; + static int anInt7946; + static int anInt7947; + static int anInt7948; + static int anInt7949; + static int anInt7950; + static int anInt7951; + static int anInt7952; + static int anInt7953; + static int anInt7954; + static int anInt7955; + static int anInt7956; + static int anInt7957; + private int anInt7958; + static int anInt7959; + static int anInt7960; + static int anInt7961; + int anInt7962; + static int anInt7963; + static int anInt7964; + static int anInt7965; + static int anInt7966; + static int anInt7967; + static int anInt7968; + static int anInt7969; + static int anInt7970; + static int anInt7971; + static int anInt7972; + static int anInt7973; + NativeHeapBuffer aNativeHeapBuffer7974; + static int anInt7975; + static int anInt7976; + static int anInt7977; + static int anInt7978; + static int anInt7979; + static int anInt7980; + static int anInt7981; + static int anInt7982; + static int anInt7983; + static int anInt7984; + static int anInt7985; + static int anInt7986; + private int anInt7987; + static int anInt7988; + static int anInt7989; + static int anInt7990; + static int anInt7991; + static int anInt7992; + static int anInt7993; + static int anInt7994; + static int anInt7995; + static int anInt7996; + static int anInt7997; + static int anInt7998; + static int anInt7999; + static int anInt8000; + static int anInt8001; + static int anInt8002; + static int anInt8003; + static int anInt8004; + static int anInt8005; + static int anInt8006; + static int anInt8007; + static int anInt8008; + static int anInt8009; + static int anInt8010; + static int anInt8011; + static int anInt8012; + static int anInt8013; + private Hashtable aHashtable8014; + static int anInt8015; + static int anInt8016; + static int anInt8017; + static int anInt8018; + static String[] aStringArray8019 = new String[5]; + private Object anObject8020; + static int anInt8021; + static int anInt8022; + static int anInt8023; + static int anInt8024; + static int anInt8025; + static int anInt8026; + static int anInt8027; + static int anInt8028; + static int anInt8029; + static int anInt8030; + static int anInt8031; + static int anInt8032; + static int anInt8033; + static int anInt8034; + static int anInt8035; + static int anInt8036; + static int anInt8037; + static int anInt8038; + CacheStore aClass45_8039; + static int anInt8040; + static int anInt8041; + static int anInt8042; + static int anInt8043; + static int anInt8044; + static int anInt8045 = 0; + static int anInt8046; + static int anInt8047; + static int anInt8048; + static int anInt8049; + static int anInt8050; + static int anInt8051; + static int anInt8052; + static int anInt8053; + static int anInt8054; + static int anInt8055; + static int anInt8056; + static int anInt8057; + static int anInt8058; + static int anInt8059; + static int anInt8060; + static int anInt8061; + int anInt8062; + int anInt8063; + static int anInt8064; + static int anInt8065; + static int anInt8066; + static int anInt8067; + static int anInt8068; + boolean aBoolean8069 = true; + static int anInt8070; + static int anInt8071; + static int anInt8072; + static int anInt8073; + MatrixSub2 aClass101_Sub2_8074 = new MatrixSub2(); + static int anInt8075; + static int anInt8076; + static int anInt8077; + static int anInt8078; + int anInt8079; + MatrixSub2 aClass101_Sub2_8080 = new MatrixSub2(); + static int anInt8081; + MatrixSub2 aClass101_Sub2_8082 = new MatrixSub2(); + MatrixSub2 aClass101_Sub2_8083 = new MatrixSub2(); + private final MatrixSub2 aClass101_Sub2_8084 = new MatrixSub2(); + private MatrixSub2 aClass101_Sub2_8085 = new MatrixSub2(); + Component267[] aClass229Array8086; + float aFloat8087; + private Stream aStream8088; + float aFloat8089; + int anInt8090; + int anInt8091; + Component267[] aClass229Array8092; + float aFloat8093 = 1.0F; + int anInt8094; + int anInt8095; + int anInt8096; + private boolean aBoolean8097; + private Interface18[] anInterface18Array8098; + private int anInt8099 = -1; + private int anInt8100; + boolean aBoolean8101; + float[] aFloatArray8102; + float aFloat8103; + private int anInt8104; + int anInt8105; + int anInt8106; + int anInt8107; + private int anInt8108; + int anInt8109; + boolean aBoolean8110; + private final float[] aFloatArray8111; + private boolean aBoolean8112; + Component111[] aClass251Array8113; + int anInt8114; + float aFloat8115; + boolean aBoolean8116; + int anInt8117; + boolean aBoolean8118; + int anInt8119; + private final float[] aFloatArray8120; + private boolean aBoolean8121; + int anInt8122; + boolean aBoolean8123; + boolean aBoolean8124; + int anInt8125; + float aFloat8126; + private boolean aBoolean8127; + private float aFloat8128; + int anInt8129; + int anInt8130; + MatrixSub2[] aClass101_Sub2Array8131; + NodeSub1[] aClass348_Sub1Array8132; + int anInt8133; + int anInt8134; + float[] aFloatArray8135; + private Component333 aClass280_8136; + private final Component86 aClass372_8137; + int anInt8138; + private final AbstractShader[] aClass367Array8139; + private float[] aFloatArray8140; + boolean aBoolean8141; + private float[] aFloatArray8142; + private AbstractShader aClass367_8143; + int anInt8144; + boolean aBoolean8145; + int anInt8146; + Interface18 anInterface18_8147; + boolean aBoolean8148; + boolean aBoolean8149; + int anInt8150; + int anInt8151; + private float[] aFloatArray8152; + private boolean aBoolean8153; + int anInt8154; + private float aFloat8155; + private int anInt8156; + private float[] aFloatArray8157; + float aFloat8158; + boolean aBoolean8159; + boolean aBoolean8160; + private int anInt8161; + private int anInt8162; + Component75 aClass173_8163; + boolean aBoolean8164; + int anInt8165; + private float aFloat8166; + private int anInt8167; + float aFloat8168; + float aFloat8169; + float[] aFloatArray8170; + private DisplayModeManagerContainer356 aClass299_Sub2_8171; + private int anInt8172; + float aFloat8173; + float aFloat8174; + int anInt8175; + private boolean aBoolean8176; + private int anInt8177; + int anInt8178; + private int anInt8179; + float aFloat8180; + int anInt8181; + boolean aBoolean8182; + int anInt8183; + Component169 aClass196_8184; + float aFloat8185; + float aFloat8186; + DisplayModeManagerContainer190 aClass64_Sub2_8187; + DisplayModeManagerContainer190 aClass64_Sub2_8188; + DisplayModeManagerContainer190 aClass64_Sub2_8189; + private Component387 aClass130_8190; + Component387 aClass130_8191; + DisplayModeManagerContainer190 aClass64_Sub2_8192; + private Interface5_Impl1 anInterface5_Impl1_8193; + DisplayModeManagerContainer190 aClass64_Sub2_8194; + private Interface5_Impl2 anInterface5_Impl2_8195; + private final MatrixSub2 aClass101_Sub2_8196; + private Component387 aClass130_8197; + DisplayModeManagerContainer190 aClass64_Sub2_8198; + DisplayModeManagerContainer190 aClass64_Sub2_8199; + DisplayModeManagerContainer190 aClass64_Sub2_8200; + private Interface5_Impl1 anInterface5_Impl1_8201; + Component387 aClass130_8202; + private Interface5_Impl1 anInterface5_Impl1_8203; + Component387 aClass130_8204; + private Component387 aClass130_8205; + DisplayModeManagerContainer190 aClass64_Sub2_8206; + DisplayModeManagerContainer190 aClass64_Sub2_8207; + Component387 aClass130_8208; + boolean aBoolean8209; + private int anInt8210; + /*synthetic*/ static Class aClass8211; + + final void da(int i, int i_0_, int i_1_, int[] is) { + try { + anInt7966++; + float f = this.aClass101_Sub2_8080.method933((byte) -105, (float) i, (float) i_1_, (float) i_0_); + int i_2_; + int i_3_; + if (f >= -0.0078125F && f <= 0.0078125F) { + i_2_ = this.anInt8130; + i_3_ = this.anInt8094; + } else { + i_3_ = (int) ((float) this.anInt8129 * (this.aClass101_Sub2_8080.method929((float) i_1_, (float) i_0_, (byte) 45, (float) i)) / f); + i_2_ = (int) ((float) this.anInt8134 * (this.aClass101_Sub2_8080.method922((byte) 108, (float) i, (float) i_1_, (float) i_0_)) / f); + } + is[2] = (int) f; + is[0] = (int) ((float) i_3_ - this.aFloat8126); + is[1] = (int) ((float) i_2_ - this.aFloat8103); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.da(" + i + ',' + i_0_ + ',' + i_1_ + ',' + (is != null ? "{...}" : "null") + ')')); + } + } + + final void method3651(NodeBase var_za) { + try { + anInt8005++; + this.aNativeHeap7891 = ((NodeBaseSub2) var_za).aNativeHeap9782; + this.aNativeHeapBuffer7974 = this.aNativeHeap7891.a(32768, false); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "wga.PF(" + (var_za != null ? "{...}" : "null") + ')'); + } + } + + final int JA(int i, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_) { + anInt8071++; + int i_9_ = 0; + float f = ((float) i_4_ * this.aClass101_Sub2_8080.aFloat5691 + (this.aClass101_Sub2_8080.aFloat5736) * (float) i + ((float) i_5_ * (this.aClass101_Sub2_8080.aFloat5716)) + (this.aClass101_Sub2_8080.aFloat5724)); + if (f < 1.0F) f = 1.0F; + float f_10_ = ((this.aClass101_Sub2_8080.aFloat5724) + ((this.aClass101_Sub2_8080.aFloat5691) * (float) i_7_ + (this.aClass101_Sub2_8080.aFloat5736) * (float) i_6_ + ((float) i_8_ * (this.aClass101_Sub2_8080.aFloat5716)))); + if (f_10_ < 1.0F) f_10_ = 1.0F; + if (!((float) this.anInt8095 > f) || !((float) this.anInt8095 > f_10_)) { + if (f > (float) this.anInt8154 && (float) this.anInt8154 < f_10_) i_9_ |= 0x20; + } else i_9_ |= 0x10; + int i_11_ = (int) (((this.aClass101_Sub2_8080.aFloat5729) + ((float) i_5_ * (this.aClass101_Sub2_8080.aFloat5704) + ((float) i * (this.aClass101_Sub2_8080.aFloat5711) + (this.aClass101_Sub2_8080.aFloat5700) * (float) i_4_))) * (float) this.anInt8129 / f); + int i_12_ = (int) (((this.aClass101_Sub2_8080.aFloat5729) + ((this.aClass101_Sub2_8080.aFloat5700 * (float) i_7_) + (float) i_6_ * this.aClass101_Sub2_8080.aFloat5711 + (float) i_8_ * this.aClass101_Sub2_8080.aFloat5704)) * (float) this.anInt8129 / f_10_); + if ((float) i_11_ < this.aFloat8126 && (float) i_12_ < this.aFloat8126) i_9_ |= 0x1; + else if (this.aFloat8158 < (float) i_11_ && (float) i_12_ > this.aFloat8158) i_9_ |= 0x2; + int i_13_ = (int) ((float) this.anInt8134 * ((this.aClass101_Sub2_8080.aFloat5732) * (float) i_5_ + ((this.aClass101_Sub2_8080.aFloat5722 * (float) i_4_) + (float) i * this.aClass101_Sub2_8080.aFloat5708) + this.aClass101_Sub2_8080.aFloat5710) / f); + int i_14_ = (int) ((float) this.anInt8134 * ((float) i_8_ * (this.aClass101_Sub2_8080.aFloat5732) + ((float) i_7_ * this.aClass101_Sub2_8080.aFloat5722 + ((float) i_6_ * (this.aClass101_Sub2_8080.aFloat5708))) + this.aClass101_Sub2_8080.aFloat5710) / f_10_); + if (!(this.aFloat8103 > (float) i_13_) || !((float) i_14_ < this.aFloat8103)) { + if ((float) i_13_ > this.aFloat8185 && (float) i_14_ > this.aFloat8185) i_9_ |= 0x8; + } else i_9_ |= 0x4; + return i_9_; + } + + abstract Component387 method3812(int i, Component255[] class58s); + + final void ZA(int i, float f, float f_15_, float f_16_, float f_17_, float f_18_) { + anInt7912++; + boolean bool = i != anInt8172; + if (bool || f != this.aFloat8174 || f_15_ != this.aFloat8186) { + anInt8172 = i; + this.aFloat8174 = f; + this.aFloat8186 = f_15_; + if (bool) { + this.aFloat8087 = (float) (anInt8172 & 0xff00) / 65280.0F; + this.aFloat8180 = (float) (0xff0000 & anInt8172) / 1.671168E7F; + this.aFloat8168 = (float) (0xff & anInt8172) / 255.0F; + method3928(0); + } + this.aNativeInterface7924.setSunColour(this.aFloat8180, this.aFloat8087, this.aFloat8168, f, f_15_); + method3842(true); + } + if (aFloatArray8142[0] != f_16_ || aFloatArray8142[1] != f_17_ || aFloatArray8142[2] != f_18_) { + aFloatArray8142[2] = f_18_; + aFloatArray8142[1] = f_17_; + aFloatArray8142[0] = f_16_; + aFloatArray8140[2] = -f_18_; + aFloatArray8140[0] = -f_16_; + aFloatArray8140[1] = -f_17_; + float f_19_ = (float) (1.0 / Math.sqrt(f_17_ * f_17_ + f_16_ * f_16_ + f_18_ * f_18_)); + this.aFloatArray8170[1] = f_19_ * f_17_; + this.aFloatArray8170[2] = f_19_ * f_18_; + this.aFloatArray8170[0] = f_16_ * f_19_; + this.aFloatArray8102[1] = -this.aFloatArray8170[1]; + this.aFloatArray8102[2] = -this.aFloatArray8170[2]; + this.aFloatArray8102[0] = -this.aFloatArray8170[0]; + this.aNativeInterface7924.setSunDirection(this.aFloatArray8170[0], this.aFloatArray8170[1], this.aFloatArray8170[2]); + method3892(0); + this.anInt8133 = (int) (f_16_ * 256.0F / f_17_); + this.anInt8114 = (int) (256.0F * f_18_ / f_17_); + } + method3884((byte) 101); + } + + abstract void method3813(boolean bool); + + final void method3814(boolean bool, boolean bool_20_, int i, byte i_21_) { + if (i_21_ >= 27) { + anInt8081++; + if (anInt8104 != i || !aBoolean8153 == this.aBoolean8160) { + Interface18_Impl3 interface18_impl3 = null; + int i_22_ = 0; + byte i_23_ = 0; + int i_24_ = 0; + byte i_25_ = this.aBoolean8160 ? (byte) 3 : (byte) 0; + if (i >= 0) { + interface18_impl3 = aClass372_8137.method3587((byte) -97, i); + Component319 class12 = this.aD4579.method3(i, -6662); + if (class12.aByte198 == 0 && class12.aByte211 == 0) method3879(-8629); + else { + int i_26_ = !class12.aBoolean199 ? 128 : 64; + int i_27_ = i_26_ * 50; + MatrixSub2 class101_sub2 = method3820(false); + class101_sub2.method916(((float) (this.anInt8146 % i_27_ * class12.aByte211) / (float) i_27_), true, 0.0F, ((float) (class12.aByte198 * (this.anInt8146 % i_27_)) / (float) i_27_)); + method3853(-32, Component302.aClass251_6030); + } + i_22_ = class12.anInt203; + if (!this.aBoolean8160) { + i_23_ = class12.aByte202; + i_25_ = class12.aByte213; + i_24_ = class12.anInt206; + } + } else method3879(-8629); + method3875(i_23_, bool_20_, bool, i_25_, i_24_, -103); + if (aClass367_8143 == null) { + method3850((byte) -86, interface18_impl3); + method3923(true, i_22_); + } else aClass367_8143.method3527(i_22_, interface18_impl3, -16776); + aBoolean8153 = this.aBoolean8160; + anInt8104 = i; + } + anInt8100 &= ~0x7; + } + } + + final void method3815(int i, MatrixSub2 class101_sub2) { + try { + anInt8029++; + if (i != 0) this.anInt8062 = -6; + this.aClass101_Sub2_8074.method898(class101_sub2); + this.aBoolean8069 = false; + method3836(1); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.JH(" + i + ',' + (class101_sub2 != null ? "{...}" : "null") + ')')); + } + } + + private final void method3816(byte i) { + anInterface5_Impl1_8203 = method3889(true, 16711680); + int i_28_ = -85 / ((41 - i) / 54); + anInt7948++; + anInterface5_Impl1_8203.method20(24, (byte) 125, 12); + aClass130_8205 = method3812(0, (new Component255[]{new Component255(ColoredTextBuilder.aClass325_4073)})); + } + + final void method3817(int i, int i_29_) { + if (i <= 53) method3878(-0.15425435F, 84, -0.11598543F, 0.9862154F, -1.0921319F, -1.1620088F, -1.5202727F); + if (anInt8167 != i_29_) { + boolean bool; + Component75 class173; + boolean bool_30_; + if (i_29_ == 1) { + bool = true; + class173 = HardwareProbe.aClass173_6602; + bool_30_ = true; + } else if (i_29_ == 2) { + class173 = Component325.aClass173_1201; + bool_30_ = true; + bool = false; + } else if (i_29_ == 128) { + bool = true; + class173 = Component224.aClass173_5169; + bool_30_ = true; + } else { + bool_30_ = false; + class173 = Component241.aClass173_2944; + bool = false; + } + if (bool != this.aBoolean8141) { + this.aBoolean8141 = bool; + method3939((byte) 100); + } + if (!bool_30_ == this.aBoolean8116) { + this.aBoolean8116 = bool_30_; + method3947(4); + } + if (class173 != this.aClass173_8163) { + this.aClass173_8163 = class173; + method3950(0); + } + anInt8100 &= ~0x1c; + anInt8167 = i_29_; + } + anInt7938++; + } + + final Shader method3661(int i, int i_31_, int[] is, int[] is_32_) { + try { + anInt7957++; + return RenderableSub4.method2501(i_31_, this, is, (byte) -42, is_32_, i); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.RF(" + i + ',' + i_31_ + ',' + (is != null ? "{...}" : "null") + ',' + (is_32_ != null ? "{...}" : "null") + ')')); + } + } + + abstract void method3818(boolean bool); + + abstract void method3819(byte i); + + final MatrixSub2 method3820(boolean bool) { + anInt8004++; + if (bool != false) method3903(true); + return (this.aClass101_Sub2Array8131[this.anInt8175]); + } + + final void method3821(int i) { + anInt7890++; + method3932((byte) -125); + method3929(true); + if (i != -4845) method3858(false); + } + + final Interface5_Impl2 method3822(int i, int i_33_) { + if (anInterface5_Impl2_8195.method16(false) < 2 * i_33_) anInterface5_Impl2_8195.method23(15959, i_33_); + if (i <= 23) return null; + anInt7975++; + return anInterface5_Impl2_8195; + } + + void method3823(byte i) { + int i_34_ = 23 / ((-39 - i) / 62); + this.anInt8122 = this.anInt8151; + anInt8006++; + this.anInt8151 = 0; + } + + static final void method3824(int i, int i_35_, int i_36_, int i_37_, int i_38_, int i_39_, int i_40_, int i_41_) { + anInt7933++; + if (i_37_ >= 0 && i >= 0 && -1 + AbstractShaderSub4.anInt7319 > i_37_ && (i < -1 + ParametricDefinition.anInt9109)) { + if (Component335.aClass357ArrayArrayArray2029 == null) return; + if (i_41_ == 0) { + Interface10 interface10 = (Interface10) CacheNodeSub2.method3297(i_40_, i_37_, i); + Interface10 interface10_42_ = (Interface10) CommandHandler.getFloorDecoration(i_40_, i_37_, i); + if (interface10 != null && i_36_ != 2) { + if (interface10 instanceof Component171) ((Component171) interface10).aClass235_10115.method1671(262144, i_35_); + else SceneManager.method1591(i_37_, 89, i_41_, i_35_, interface10.method42(-76), i_36_, i, i_38_, i_40_); + } + if (interface10_42_ != null) { + if (interface10_42_ instanceof Component171) ((Component171) interface10_42_).aClass235_10115.method1671(262144, i_35_); + else SceneManager.method1591(i_37_, 92, i_41_, i_35_, interface10_42_.method42(-71), i_36_, i, i_38_, i_40_); + } + } else if (i_41_ == 1) { + Interface10 interface10 = ((Interface10) DefinitionSub32.method3135(i_40_, i_37_, i)); + if (interface10 != null) { + if (interface10 instanceof ShaderLinker) ((ShaderLinker) interface10).aClass235_10155.method1671(262144, i_35_); + else { + int i_43_ = interface10.method42(-83); + if (i_36_ != 4 && i_36_ != 5) { + if (i_36_ != 6) { + if (i_36_ == 7) SceneManager.method1591(i_37_, 50, i_41_, i_35_, i_43_, 4, i, 4 + (0x3 & 2 + i_38_), i_40_); + else if (i_36_ == 8) { + SceneManager.method1591(i_37_, 116, i_41_, i_35_, i_43_, 4, i, 4 + i_38_, i_40_); + SceneManager.method1591(i_37_, 91, i_41_, i_35_, i_43_, 4, i, 4 + (0x3 & i_38_ - -2), i_40_); + } + } else SceneManager.method1591(i_37_, 22, i_41_, i_35_, i_43_, 4, i, i_38_ + 4, i_40_); + } else SceneManager.method1591(i_37_, 86, i_41_, i_35_, i_43_, 4, i, i_38_, i_40_); + } + } + } else if (i_41_ == 2) { + Interface10 interface10 = ((Interface10) (DisplayModeManagerContainer249.method1353(i_40_, i_37_, i, (aClass8211 != null ? aClass8211 : (aClass8211 = Interface10.class))))); + if (interface10 != null) { + if (i_36_ == 11) i_36_ = 10; + if (!(interface10 instanceof Component29)) SceneManager.method1591(i_37_, 43, i_41_, i_35_, interface10.method42(-107), i_36_, i, i_38_, i_40_); + else ((Component29) interface10).aClass235_10045.method1671(262144, i_35_); + } + } else if (i_41_ == 3) { + Interface10 interface10 = ((Interface10) BrowserUrlOpener.method2878(i_40_, i_37_, i)); + if (interface10 != null) { + if (interface10 instanceof Component141) ((Component141) interface10).aClass235_9955.method1671(262144, i_35_); + else SceneManager.method1591(i_37_, 28, i_41_, i_35_, interface10.method42(-123), i_36_, i, i_38_, i_40_); + } + } + } + if (i_39_ < 98) method3936(-100); + } + + final boolean method3699() { + anInt7903++; + return this.aBoolean8182; + } + + final boolean method3708() { + anInt7902++; + return false; + } + + final void method3825(int i) { + if (anInt8100 != 8) { + method3895(-8); + method3838(true, true); + method3890(true, (byte) 111); + method3946(i ^ ~0x17, true); + method3817(69, 1); + anInt8100 = 8; + } + anInt8007++; + if (i != 8) method3901((byte) 20); + } + + void method3652() { + anInt8065++; + if (!aBoolean8176) { + for (Node class348 = aClass262_7927.first(4); class348 != null; class348 = aClass262_7927.next((byte) 102)) + ((NodeBaseSub2) class348).method3445(-9503); + Enumeration enumeration = aHashtable8014.keys(); + while (enumeration.hasMoreElements()) { + Canvas canvas = (Canvas) enumeration.nextElement(); + method3911(canvas, 1, aHashtable8014.get(canvas)); + } + CookieManager.method2173(true, -125, false); + this.aNativeInterface7924.release(); + aBoolean8176 = true; + } + } + + final void HA(int i, int i_44_, int i_45_, int i_46_, int[] is) { + try { + anInt7979++; + float f = (this.aClass101_Sub2_8080.method933((byte) -105, (float) i, (float) i_45_, (float) i_44_)); + if ((float) this.anInt8095 <= f && (float) this.anInt8154 >= f) { + int i_47_ = (int) ((float) this.anInt8129 * (this.aClass101_Sub2_8080.method929((float) i_45_, (float) i_44_, (byte) 45, (float) i)) / (float) i_46_); + int i_48_ = (int) ((float) this.anInt8134 * (this.aClass101_Sub2_8080.method922((byte) 67, (float) i, (float) i_45_, (float) i_44_)) / (float) i_46_); + is[2] = (int) f; + is[1] = (int) (-this.aFloat8103 + (float) i_48_); + is[0] = (int) (-this.aFloat8126 + (float) i_47_); + } else is[0] = is[1] = is[2] = -1; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.HA(" + i + ',' + i_44_ + ',' + i_45_ + ',' + i_46_ + ',' + (is != null ? "{...}" : "null") + ')')); + } + } + + final boolean method3670() { + anInt7898++; + return true; + } + + final int method3826(byte i) { + if (i != -70) method3702(-1); + anInt8050++; + return anInt8177; + } + + final void Q(int i, int i_49_, int i_50_, int i_51_, int i_52_, int i_53_, byte[] is, int i_54_, int i_55_) { + try { + anInt8000++; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.Q(" + i + ',' + i_49_ + ',' + i_50_ + ',' + i_51_ + ',' + i_52_ + ',' + i_53_ + ',' + (is != null ? "{...}" : "null") + ',' + i_54_ + ',' + i_55_ + ')')); + } + } + + final void method3638(DisplayModeManagerContainer204 class101) { + do { + try { + this.aClass101_Sub2_8080 = (MatrixSub2) class101; + anInt7923++; + this.aClass101_Sub2_8083.method898(this.aClass101_Sub2_8080); + this.aClass101_Sub2_8083.method934((byte) 64); + aClass101_Sub2_8084.method931(-25519, this.aClass101_Sub2_8083); + this.aClass101_Sub2_8082.method931(-25519, this.aClass101_Sub2_8080); + if (!this.aClass196_8184.method1450(-112)) break; + method3913((byte) 107); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "wga.DE(" + (class101 != null ? "{...}" : "null") + ')'); + } + break; + } while (false); + } + + abstract void method3827(byte i); + + private final void method3828(boolean bool) { + anInterface5_Impl1_8193 = method3889(bool, 16711680); + anInt7985++; + anInterface5_Impl1_8193.method20(140, (byte) 123, 28); + for (int i = 0; i < 4; i++) { + Buffer buffer = anInterface5_Impl1_8193.method19(true, 26775); + if (buffer != null) { + Stream stream = method3893(buffer, 9179); + if (Stream.c()) { + stream.a(0.0F); + stream.a(0.0F); + stream.a(0.0F); + stream.a(0.0F); + stream.a(0.0F); + stream.a(0.0F); + stream.a(0.0F); + stream.a(0.0F); + stream.a(1.0F); + stream.a(0.0F); + stream.a(0.0F); + stream.a(1.0F); + stream.a(0.0F); + stream.a(1.0F); + stream.a(1.0F); + stream.a(1.0F); + stream.a(0.0F); + stream.a(1.0F); + stream.a(1.0F); + stream.a(1.0F); + stream.a(1.0F); + stream.a(1.0F); + stream.a(0.0F); + stream.a(0.0F); + stream.a(1.0F); + stream.a(0.0F); + stream.a(1.0F); + stream.a(0.0F); + stream.a(0.0F); + stream.a(0.0F); + stream.a(0.0F); + stream.a(0.0F); + stream.a(0.0F); + stream.a(0.0F); + stream.a(0.0F); + } else { + stream.b(0.0F); + stream.b(0.0F); + stream.b(0.0F); + stream.b(0.0F); + stream.b(0.0F); + stream.b(0.0F); + stream.b(0.0F); + stream.b(0.0F); + stream.b(1.0F); + stream.b(0.0F); + stream.b(0.0F); + stream.b(1.0F); + stream.b(0.0F); + stream.b(1.0F); + stream.b(1.0F); + stream.b(1.0F); + stream.b(0.0F); + stream.b(1.0F); + stream.b(1.0F); + stream.b(1.0F); + stream.b(1.0F); + stream.b(1.0F); + stream.b(0.0F); + stream.b(0.0F); + stream.b(1.0F); + stream.b(0.0F); + stream.b(1.0F); + stream.b(0.0F); + stream.b(0.0F); + stream.b(0.0F); + stream.b(0.0F); + stream.b(0.0F); + stream.b(0.0F); + stream.b(0.0F); + stream.b(0.0F); + } + stream.a(); + if (anInterface5_Impl1_8193.method18(6331)) break; + } + } + aClass130_8197 = method3812(0, (new Component255[]{new Component255(new ColoredTextBuilder[]{ColoredTextBuilder.aClass325_4073, ColoredTextBuilder.aClass325_4078, ColoredTextBuilder.aClass325_4078})})); + } + + abstract void method3829(DisplayModeManagerContainer88 class70, int i, byte i_56_, boolean bool); + + abstract Interface18_Impl3 method3830(int i, int[] is, boolean bool, byte i_57_, int i_58_, int i_59_, int i_60_); + + final void method3631(int i) { + anInt7963++; + if (i != 1) throw new IllegalArgumentException(""); + } + + private final void method3831(byte i) { + if (i != 19) method3629(31, -7, false); + aBoolean8097 = false; + anInt7893++; + method3906((byte) 122); + if (Component166.aClass196_2372 == this.aClass196_8184) method3929(true); + } + + AbstractShader method3832(int i, byte i_61_) { + if (i_61_ > -57) method3817(22, -65); + anInt7969++; + int i_62_ = i; + while_231_: + do { + while_230_: + do { + do { + if (i_62_ != 6) { + if (i_62_ != 1) { + if (i_62_ != 2) { + if (i_62_ != 7) break while_231_; + } else break; + break while_230_; + } + } else return new AbstractShaderSub3(this); + return new AbstractShaderSub4(this); + } while (false); + return new WaterShaderSub8(this, this.aClass269_7937); + } while (false); + return new SoftwareFallbackShader(this); + } while (false); + return new AbstractShaderSub1(this); + } + + final int method3833(byte i) { + anInt7994++; + if (i != -58) method3820(true); + return anInt8179; + } + + final Interface18_Impl2 method3834(int i) { + if (i != -16777216) anInt8100 = 109; + anInt7934++; + if (aClass299_Sub2_8171 != null) return aClass299_Sub2_8171.method2266(true); + return null; + } + + final float[] method3835(float[] fs, int i) { + try { + fs[0] = this.aFloatArray8135[0]; + fs[4] = this.aFloatArray8135[1]; + fs[12] = this.aFloatArray8135[3]; + if (i > -77) method3827((byte) 43); + anInt8053++; + fs[8] = this.aFloatArray8135[2]; + fs[9] = this.aFloatArray8135[6]; + fs[13] = this.aFloatArray8135[7]; + fs[2] = this.aFloatArray8135[8]; + fs[1] = this.aFloatArray8135[4]; + fs[5] = this.aFloatArray8135[5]; + fs[10] = this.aFloatArray8135[10]; + fs[14] = this.aFloatArray8135[11]; + fs[3] = this.aFloatArray8135[12]; + fs[6] = this.aFloatArray8135[9]; + fs[7] = this.aFloatArray8135[13]; + fs[15] = this.aFloatArray8135[15]; + fs[11] = this.aFloatArray8135[14]; + return fs; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.OA(" + (fs != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + private final void method3836(int i) { + if (Component3.aClass196_2042 == this.aClass196_8184) { + float f = method3858(false); + this.aClass101_Sub2_8074.method920(f, false, 0.0F, f); + } + anInt8023++; + aBoolean8121 = false; + method3901((byte) -48); + if (i == 1) { + if (aClass367_8143 != null) aClass367_8143.method3523((byte) 12); + } + } + + final float[] method3837(boolean bool) { + if (bool != true) method3863(-25); + anInt7992++; + return aFloatArray8111; + } + + final void method3838(boolean bool, boolean bool_63_) { + if (bool != true) aFloatArray8157 = null; + if (this.aBoolean8123 == !bool_63_) { + this.aBoolean8123 = bool_63_; + method3827((byte) -84); + anInt8100 &= ~0x1f; + } + anInt7967++; + } + + final Interface18_Impl3 method3839(int i, int i_64_, int i_65_, boolean bool, int[] is) { + try { + if (i_65_ != -15137) this.aFloat8126 = -0.13315333F; + anInt7965++; + return method3830(i_64_, is, bool, (byte) 107, 0, 0, i); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.JG(" + i + ',' + i_64_ + ',' + i_65_ + ',' + bool + ',' + (is != null ? "{...}" : "null") + ')')); + } + } + + abstract Interface5_Impl2 method3840(int i, boolean bool); + + abstract void method3841(byte i); + + abstract void method3842(boolean bool); + + abstract Interface18_Impl3 method3843(int i, int i_66_, int i_67_, int i_68_, byte[] is, DisplayModeManagerContainer42 class304, int i_69_, boolean bool); + + final void X(int i) { + anInt7920++; + this.anInt8107 = 0; + for (/**/; i > 1; i >>= 1) + this.anInt8107++; + this.anInt8125 = 1 << this.anInt8107; + } + + abstract void method3844(int i, Canvas canvas, Object object); + + final void fillRect(int i, int i_70_, int i_71_, int i_72_, int i_73_, int i_74_) { + method3903(false); + anInt8017++; + method3894(-28186, i_73_); + method3849((byte) 47, 0, DefinitionSub39.aClass70_9485); + method3885(0, true, DefinitionSub39.aClass70_9485); + method3817(113, i_74_); + this.aClass101_Sub2_8074.method932(1.0F, (float) i_72_, (float) i_71_, (byte) -22); + this.aClass101_Sub2_8074.method891(i, i_70_, 0); + method3915(0); + method3926((byte) 67, false); + method3933(-70); + method3926((byte) 83, true); + method3885(0, true, DisplayModeManagerContainer173.aClass70_4247); + method3849((byte) 47, 0, DisplayModeManagerContainer173.aClass70_4247); + } + + private final void method3845(byte i) { + if (Component3.aClass196_2042 != this.aClass196_8184) { + Component169 class196 = this.aClass196_8184; + this.aClass196_8184 = Component3.aClass196_2042; + if (class196.method1450(-48)) method3913((byte) -121); + method3919(20794); + this.aFloatArray8135 = aFloatArray8120; + method3929(true); + anInt8100 &= ~0x18; + } + anInt7907++; + if (i < 12) aStringArray8019 = null; + } + + private final void method3846(byte i) { + anInt7928++; + aBoolean8112 = false; + int i_75_ = -77 / ((i - 78) / 48); + method3949((byte) -58); + if (DisplayModeManagerContainer57.aClass196_838 == this.aClass196_8184) method3929(true); + } + + private final void method3847(int i) { + if (i != 0) this.aFloatArray8102 = null; + if (DisplayModeManagerContainer57.aClass196_838 != this.aClass196_8184) { + Component169 class196 = this.aClass196_8184; + this.aClass196_8184 = DisplayModeManagerContainer57.aClass196_838; + if (!class196.method1450(-45)) method3913((byte) 94); + method3949((byte) -113); + this.aFloatArray8135 = aFloatArray8157; + method3929(true); + anInt8100 &= ~0x7; + } + anInt7999++; + } + + final MatrixSub2 method3848(int i) { + anInt8031++; + if (i != 5) method3890(false, (byte) 95); + return (this.aClass101_Sub2Array8131[this.anInt8175]); + } + + final void method3849(byte i, int i_76_, DisplayModeManagerContainer88 class70) { + try { + if (i != 47) this.aFloat8087 = -0.68323714F; + anInt8036++; + method3924(false, false, i_76_, class70, false); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.NJ(" + i + ',' + i_76_ + ',' + (class70 != null ? "{...}" : "null") + ')')); + } + } + + final void method3709(int i, int i_77_, int i_78_, int i_79_, int i_80_, int i_81_) { + anInt7915++; + float f = (float) -i + (float) i_78_; + float f_82_ = (float) i_79_ - (float) i_77_; + if (f != 0.0F || f_82_ != 0.0F) { + float f_83_ = (float) (1.0 / Math.sqrt(f_82_ * f_82_ + f * f)); + f_82_ *= f_83_; + f *= f_83_; + } else f = 1.0F; + if (method3878((float) i_77_, 0, (float) i_78_ + f, 0.0F, f_82_ + (float) i_79_, 0.0F, (float) i)) { + method3903(false); + method3894(-28186, i_80_); + method3849((byte) 47, 0, DefinitionSub39.aClass70_9485); + method3885(0, true, DefinitionSub39.aClass70_9485); + method3817(112, i_81_); + method3942(5); + method3926((byte) 45, false); + method3907(true); + method3926((byte) 48, true); + method3885(0, true, DisplayModeManagerContainer173.aClass70_4247); + method3849((byte) 47, 0, DisplayModeManagerContainer173.aClass70_4247); + } + } + + final void method3850(byte i, Interface18 interface18) { + try { + if (anInterface18Array8098[this.anInt8175] != interface18) { + anInterface18Array8098[this.anInt8175] = interface18; + if (interface18 != null) interface18.method63((byte) -30); + else method3819((byte) -107); + anInt8100 &= ~0x1; + } + int i_84_ = 96 / ((i - 20) / 42); + anInt7900++; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.WA(" + i + ',' + (interface18 != null ? "{...}" : "null") + ')')); + } + } + + final DisplayModeManagerContainer204 method3640() { + anInt7945++; + return this.aClass101_Sub2_8080; + } + + final void A(int i, Shader var_aa, int i_85_, int i_86_) { + try { + anInt7940++; + ShaderSub2 var_aa_Sub2 = (ShaderSub2) var_aa; + Interface18_Impl3 interface18_impl3 = var_aa_Sub2.anInterface18_Impl3_5196; + method3864(81); + method3850((byte) -47, interface18_impl3); + method3817(99, 1); + method3874(ShaderCompilerSub3.aClass229_6519, 114, ShaderCompilerSub3.aClass229_6519); + method3849((byte) 47, 0, DefinitionSub39.aClass70_9485); + method3894(-28186, i); + this.aClass101_Sub2_8074.method932(0.0F, (float) this.anInt7962, (float) this.anInt7931, (byte) -52); + method3915(0); + this.aClass101_Sub2Array8131[0].method932(1.0F, interface18_impl3.method71((byte) -46, (float) this.anInt7962), interface18_impl3.method67((float) this.anInt7931, 109), (byte) -37); + this.aClass101_Sub2Array8131[0].method920(interface18_impl3.method71((byte) -52, (float) -i_86_), false, 0.0F, interface18_impl3.method67((float) -i_85_, 94)); + this.aClass251Array8113[0] = Component302.aClass251_6030; + method3905((byte) 127); + method3933(-127); + method3879(-8629); + method3849((byte) 47, 0, DisplayModeManagerContainer173.aClass70_4247); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.A(" + i + ',' + (var_aa != null ? "{...}" : "null") + ',' + i_85_ + ',' + i_86_ + ')')); + } + } + + final DisplayModeManagerContainer370 method3625(DisplayModeManagerContainer77 class124, int i, int i_87_, int i_88_, int i_89_) { + try { + anInt8016++; + return new DisplayModeManagerContainer190(this, class124, i, i_88_, i_89_, i_87_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.EG(" + (class124 != null ? "{...}" : "null") + ',' + i + ',' + i_87_ + ',' + i_88_ + ',' + i_89_ + ')')); + } + } + + final void method3669(Canvas canvas, int i, int i_90_) { + do { + try { + anInt8025++; + Object object = null; + if (canvas == null || canvas == this.aCanvas7925) object = anObject8020; + else if (aHashtable8014.containsKey(canvas)) object = aHashtable8014.get(canvas); + if (object == null) throw new RuntimeException(); + method3844(12727, canvas, object); + if (canvas != aCanvas7910) break; + method3917(false); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.HF(" + (canvas != null ? "{...}" : "null") + ',' + i + ',' + i_90_ + ')')); + } + break; + } while (false); + } + + abstract void method3851(int i); + + final boolean method3694() { + anInt7901++; + return false; + } + + final void method3852(int i, boolean bool) { + anInt8003++; + if (bool == !this.aBoolean8148) { + this.aBoolean8148 = bool; + method3827((byte) -43); + } + if (i != 9) aFloatArray8140 = null; + } + + final void method3853(int i, Component111 class251) { + try { + anInt8057++; + if (i != -32) aFloatArray8142 = null; + this.aClass251Array8113[this.anInt8175] = class251; + method3905((byte) 111); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.HI(" + i + ',' + (class251 != null ? "{...}" : "null") + ')')); + } + } + + final boolean method3695() { + anInt7991++; + return true; + } + + final MatrixSub2 method3854(byte i) { + anInt7983++; + int i_91_ = 97 / ((i - 35) / 63); + return aClass101_Sub2_8084; + } + + abstract Interface18_Impl3 method3855(DisplayModeManagerContainer42 class304, int i, int i_92_, float[] fs, boolean bool, int i_93_, int i_94_, int i_95_); + + private final void method3856(byte i) { + anInt8044++; + if (aClass367_8143 != null) aClass367_8143.method3522(-16252); + method3851(25644); + if (i <= 56) aBoolean8176 = false; + } + + final void method3857(byte i) { + int i_96_ = -76 % ((i - 44) / 41); + anInt8051++; + if (anInt8100 != 16) { + method3847(0); + method3838(true, true); + method3890(true, (byte) 125); + method3946(-32, true); + method3817(123, 1); + anInt8100 = 16; + } + } + + final Component24 method3629(int i, int i_97_, boolean bool) { + anInt8040++; + return new SpriteSub1(this, i, i_97_, bool); + } + + abstract float method3858(boolean bool); + + abstract void method3859(int i); + + private final void method3860(Component158 class21, int i, int i_98_) { + try { + method3925(-96, anInterface5_Impl1_8193, 0); + anInt8067++; + method3862(0, aClass130_8197); + method3899(i, 0, class21, true); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.QI(" + (class21 != null ? "{...}" : "null") + ',' + i + ',' + i_98_ + ')')); + } + } + + abstract Interface18_Impl3 method3861(int i, byte i_99_, int i_100_, Component342 class68, DisplayModeManagerContainer42 class304); + + abstract void method3862(int i, Component387 class130); + + final int method3863(int i) { + int i_101_ = -95 / ((i - 7) / 57); + anInt7917++; + return anInt8099; + } + + final void K(int[] is) { + try { + is[0] = this.anInt8106; + anInt8061++; + is[3] = this.anInt8096; + is[2] = this.anInt8183; + is[1] = this.anInt8165; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "wga.K(" + (is != null ? "{...}" : "null") + ')'); + } + } + + final void method3864(int i) { + int i_102_ = 51 / ((40 - i) / 34); + if (anInt8100 != 2) { + method3845((byte) 76); + method3838(true, false); + method3866(false, true); + method3890(false, (byte) 102); + method3946(-32, false); + method3814(false, false, -2, (byte) 43); + anInt8100 = 2; + } + anInt7930++; + } + + final DisplayModeManagerContainer204 method3705() { + anInt8077++; + return aClass101_Sub2_8196; + } + + final void C(boolean bool) { + this.aBoolean8124 = bool; + anInt7989++; + method3841((byte) -116); + } + + final void method3865(boolean bool, int i) { + if (i < 20) method3685(null, -88); + if (bool == !this.aBoolean8110) { + this.aBoolean8110 = bool; + method3818(true); + } + anInt7953++; + } + + final void method3866(boolean bool, boolean bool_103_) { + anInt8010++; + if (!this.aBoolean8145 != !bool) { + this.aBoolean8145 = bool; + method3883(-24); + anInt8100 &= ~0x7; + } + if (bool_103_ != true) this.anInt8095 = 22; + } + + final void method3703(int i, int i_104_, int i_105_, int i_106_, int i_107_, int i_108_, Shader var_aa, int i_109_, int i_110_, int i_111_, int i_112_, int i_113_) { + try { + anInt7914++; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.IF(" + i + ',' + i_104_ + ',' + i_105_ + ',' + i_106_ + ',' + i_107_ + ',' + i_108_ + ',' + (var_aa != null ? "{...}" : "null") + ',' + i_109_ + ',' + i_110_ + ',' + i_111_ + ',' + i_112_ + ',' + i_113_ + ')')); + } + } + + final boolean method3639() { + anInt8073++; + return aClass367Array8139[3].method3530(-78); + } + + final void method3867(float f, int i) { + anInt8024++; + if (f != aFloat8155) { + aFloat8155 = f; + method3846((byte) 30); + } + int i_114_ = 72 % ((-8 - i) / 36); + } + + abstract void method3868(boolean bool); + + final NativeHeapBuffer method3869(byte i, boolean bool, int i_115_) { + int i_116_ = -44 % ((-27 - i) / 52); + anInt7916++; + return this.aNativeHeap7891.a(i_115_, bool); + } + + public static void method3870(int i) { + aStringArray8019 = null; + if (i <= 99) anInt8045 = -72; + } + + final int E() { + anInt7951++; + return (this.anInt8079 + this.anInt8062 + this.anInt8063); + } + + abstract void method3871(Component22 class113, int i); + + abstract Interface18_Impl1 method3872(int i, int i_117_, DisplayModeManagerContainer42 class304, boolean bool, int i_118_, byte[] is); + + final void KA(int i, int i_119_, int i_120_, int i_121_) { + anInt7972++; + if (i <= 0 && i_120_ >= -1 + this.anInt7931 && i_119_ <= 0 && this.anInt7962 - 1 <= i_121_) la(); + else { + this.anInt8165 = Math.max(i_119_, 0); + this.anInt8106 = Math.max(i, 0); + this.anInt8096 = this.anInt7931 >= i_121_ ? i_121_ : 0; + this.anInt8183 = i_120_ > this.anInt7931 ? 0 : i_120_; + if (!this.aBoolean8209) { + this.aBoolean8209 = true; + method3921(1); + } + method3888(6259); + method3904(-70); + } + } + + final s method3648(int i, int i_122_, int[][] is, int[][] is_123_, int i_124_, int i_125_, int i_126_) { + try { + anInt8011++; + return new BufferCacheSub3(this, i_125_, i_126_, i, i_122_, is, is_123_, i_124_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.VE(" + i + ',' + i_122_ + ',' + (is != null ? "{...}" : "null") + ',' + (is_123_ != null ? "{...}" : "null") + ',' + i_124_ + ',' + i_125_ + ',' + i_126_ + ')')); + } + } + + static final byte[] method3873(byte[] is, int i) { + try { + anInt8015++; + int i_127_ = is.length; + byte[] is_128_ = new byte[i_127_]; + Component313.arraycopy(is, i, is_128_, 0, i_127_); + return is_128_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.GI(" + (is != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + final void method3650(int i) { + anInt7908++; + } + + final void method3678(int i) { + anInt8002++; + } + + final void method3874(Component267 class229, int i, Component267 class229_129_) { + do { + try { + anInt7959++; + boolean bool = false; + if (class229_129_ != (this.aClass229Array8086[this.anInt8175])) { + this.aClass229Array8086[(this.anInt8175)] = class229_129_; + method3920(10); + bool = true; + } + if (i <= 97) method3888(89); + if ((this.aClass229Array8092[this.anInt8175]) != class229) { + this.aClass229Array8092[(this.anInt8175)] = class229; + bool = true; + method3935(-100); + } + if (!bool) break; + anInt8100 &= ~0x1d; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.RI(" + (class229 != null ? "{...}" : "null") + ',' + i + ',' + (class229_129_ != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + final void method3696(int i) { + anInt7995++; + if (i < 128 || i > 1024) throw new IllegalArgumentException(); + if (aClass372_8137 != null) aClass372_8137.method3585(7271); + this.anInt8150 = i; + } + + private final void method3875(int i, boolean bool, boolean bool_130_, int i_131_, int i_132_, int i_133_) { + if (i_133_ >= -26) this.aClass130_8204 = null; + anInt7932++; + bool_130_ &= method3639(); + if (!bool_130_ && (i_131_ == 4 || i_131_ == 8 || i_131_ == 9)) { + i_131_ = 2; + i_132_ = i_131_ == 4 ? i & 0x1 : 1; + i = 0; + } + if (i_131_ != 0 && bool) i_131_ |= ~0x7fffffff; + if (anInt8156 != i_131_) { + if (anInt8156 != 0) aClass367Array8139[0x7fffffff & anInt8156].method3520((byte) 87); + if (i_131_ != 0) { + aClass367_8143 = aClass367Array8139[0x7fffffff & i_131_]; + aClass367_8143.method3525(15192, bool); + aClass367_8143.method3521(bool, (byte) -103); + aClass367_8143.method3526(10756, i, i_132_); + } else aClass367_8143 = null; + anInt8156 = i_131_; + anInt8161 = i; + anInt8108 = i_132_; + } else if (anInt8156 != 0) { + aClass367Array8139[0x7fffffff & anInt8156].method3521(bool, (byte) -103); + if (i != anInt8161 || anInt8108 != i_132_) { + aClass367Array8139[anInt8156 & 0x7fffffff].method3526(10756, i, i_132_); + anInt8108 = i_132_; + anInt8161 = i; + } + } + } + + final void NodeBase(int i, int i_134_, int i_135_, int i_136_, int i_137_) { + anInt8026++; + method3903(false); + method3894(-28186, i_136_); + method3849((byte) 47, 0, DefinitionSub39.aClass70_9485); + method3885(0, true, DefinitionSub39.aClass70_9485); + method3817(83, i_137_); + this.aClass101_Sub2_8074.method932(1.0F, (float) i_135_, (float) i_135_, (byte) -75); + this.aClass101_Sub2_8074.method891(i, i_134_, 0); + method3915(0); + method3926((byte) 75, false); + method3925(23, anInterface5_Impl1_8201, 0); + method3862(0, aClass130_8190); + method3899(256, 0, HashNodeSub16.aClass21_9661, true); + method3926((byte) 41, true); + method3885(0, true, DisplayModeManagerContainer173.aClass70_4247); + method3849((byte) 47, 0, DisplayModeManagerContainer173.aClass70_4247); + } + + final int i() { + anInt8021++; + return this.anInt8095; + } + + abstract Object method3876(int i, Canvas canvas); + + final void la() { + this.anInt8183 = this.anInt7931; + this.anInt8096 = this.anInt7962; + anInt8037++; + this.anInt8165 = 0; + this.anInt8106 = 0; + if (this.aBoolean8209) { + this.aBoolean8209 = false; + method3921(1); + } + method3904(-95); + } + + final int method3877(byte i) { + if (i != -126) return -10; + anInt7973++; + return this.anInt8175; + } + + final void f(int i, int i_138_) { + anInt7976++; + if (i != this.anInt8095 || this.anInt8154 != i_138_) { + this.anInt8154 = i_138_; + this.anInt8095 = i; + method3831((byte) 19); + method3846((byte) 127); + method3856((byte) 57); + } + } + + final Component80 method3697(int i, int i_139_, int i_140_, int i_141_, int i_142_, int i_143_) { + anInt7892++; + return new Component201(this, i, i_139_, i_140_, i_141_, i_142_, i_143_); + } + + private final boolean method3878(float f, int i, float f_144_, float f_145_, float f_146_, float f_147_, float f_148_) { + if (i != 0) return true; + anInt8066++; + Buffer buffer = anInterface5_Impl1_8203.method19(true, 26775); + if (buffer == null) return false; + Stream stream = method3893(buffer, 9179); + if (Stream.c()) { + stream.a(f_148_); + stream.a(f); + stream.a(f_145_); + stream.a(f_144_); + stream.a(f_146_); + stream.a(f_147_); + } else { + stream.b(f_148_); + stream.b(f); + stream.b(f_145_); + stream.b(f_144_); + stream.b(f_146_); + stream.b(f_147_); + } + stream.a(); + return anInterface5_Impl1_8203.method18(i ^ 0x18bb); + } + + final void method3879(int i) { + if (this.aClass251Array8113[this.anInt8175] != HashNodeSub18.aClass251_9685) { + this.aClass251Array8113[this.anInt8175] = HashNodeSub18.aClass251_9685; + this.aClass101_Sub2Array8131[this.anInt8175].method910(); + method3905((byte) 95); + } + if (i == -8629) anInt7896++; + } + + final void ra(int i, int i_149_, int i_150_, int i_151_) { + anInt8179 = i_150_; + anInt8177 = i_151_; + anInt8099 = i_149_; + anInt8064++; + this.aBoolean8160 = true; + anInt8162 = i; + } + + abstract boolean method3880(Component342 class68, DisplayModeManagerContainer42 class304, byte i); + + abstract void method3881(Object object, byte i, Canvas canvas); + + void method3882(byte i) { + if (i < 45) this.aFloat8174 = -0.73899394F; + anInt7982++; + method3916((byte) 103); + } + + abstract void method3883(int i); + + final void DualToolkit(float f) { + if (this.aFloat8093 != f) { + this.aFloat8093 = f; + this.aNativeInterface7924.setAmbient(f); + method3928(0); + method3884((byte) 101); + } + anInt7980++; + } + + abstract void method3884(byte i); + + final boolean method3655() { + anInt7913++; + return true; + } + + final void method3659(int i) { + anInt7954++; + } + + final boolean method3644() { + anInt8054++; + return true; + } + + final void method3676(int i, int i_152_, int i_153_, int i_154_, int i_155_, int i_156_, int i_157_, int i_158_, int i_159_, int i_160_, int i_161_, int i_162_, int i_163_) { + anInt8032++; + } + + final void method3885(int i, boolean bool, DisplayModeManagerContainer88 class70) { + do { + try { + method3829(class70, i, (byte) 80, false); + anInt8041++; + if (bool == true) break; + method3643(null, -42, 69); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.IH(" + i + ',' + bool + ',' + (class70 != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + static final void method3886(int i) { + Component35.aClass60_4273.clear(0); + if (i >= -58) method3824(43, 63, -121, -1, 72, 77, -11, 22); + anInt8018++; + } + + final void T(int i, int i_164_, int i_165_, int i_166_) { + anInt8043++; + boolean bool = false; + if (this.anInt8106 < i) { + bool = true; + this.anInt8106 = i; + } + if (this.anInt8183 > i_165_) { + this.anInt8183 = i_165_; + bool = true; + } + if (this.anInt8165 < i_164_) { + bool = true; + this.anInt8165 = i_164_; + } + if (this.anInt8096 > i_166_) { + this.anInt8096 = i_166_; + bool = true; + } + if (bool) { + if (!this.aBoolean8209) { + this.aBoolean8209 = true; + method3921(1); + } + method3888(6259); + method3904(-128); + } + } + + final MatrixSub2 method3887(byte i) { + int i_167_ = 62 / ((i - -58) / 33); + anInt7941++; + return this.aClass101_Sub2_8083; + } + + abstract void method3888(int i); + + final boolean method3682() { + anInt8056++; + return true; + } + + abstract Interface5_Impl1 method3889(boolean bool, int i); + + final void method3890(boolean bool, byte i) { + if (i <= 10) this.aNativeHeapBuffer7974 = null; + if (bool == !this.aBoolean8164) { + this.aBoolean8164 = bool; + method3859(3); + anInt8100 &= ~0x1f; + } + anInt8072++; + } + + final Interface18_Impl3 method3891(float[] fs, int i, int i_168_, DisplayModeManagerContainer42 class304, int i_169_, boolean bool) { + try { + int i_170_ = 97 / ((i_169_ - -38) / 57); + anInt8052++; + return method3855(class304, i, 0, fs, bool, 0, 2, i_168_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.LI(" + (fs != null ? "{...}" : "null") + ',' + i + ',' + i_168_ + ',' + (class304 != null ? "{...}" : "null") + ',' + i_169_ + ',' + bool + ')')); + } + } + + abstract void method3892(int i); + + final Stream method3893(Buffer buffer, int i) { + try { + anInt8048++; + aStream8088.a(buffer); + if (i != 9179) this.aFloat8093 = -1.2765714F; + return aStream8088; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.FI(" + (buffer != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + final void EA(int i, int i_171_, int i_172_, int i_173_) { + anInt7909++; + if (!this.aBoolean8160) throw new RuntimeException(""); + anInt8179 = i_172_; + anInt8162 = i; + anInt8177 = i_173_; + anInt8099 = i_171_; + if (aBoolean8153) { + aClass367Array8139[3].method3528(102); + aClass367Array8139[3].method3522(-16252); + } + } + + final void method3632(int[] is) { + try { + is[1] = this.anInt7962; + is[0] = this.anInt7931; + anInt8076++; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "wga.KE(" + (is != null ? "{...}" : "null") + ')'); + } + } + + final void method3653(Component80 class299) { + try { + aClass299_Sub2_8171 = (DisplayModeManagerContainer356) class299; + anInt7950++; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "wga.DF(" + (class299 != null ? "{...}" : "null") + ')'); + } + } + + final void method3894(int i, int i_174_) { + if (i_174_ != this.anInt8119) { + this.anInt8119 = i_174_; + method3945(-120); + } + if (i != -28186) this.aFloat8186 = 0.24125333F; + anInt7998++; + } + + final void L(int i, int i_175_, int i_176_) { + anInt8078++; + if (i != this.anInt8144 || this.anInt8091 != i_175_ || i_176_ != this.anInt8105) { + this.anInt8144 = i; + this.anInt8105 = i_176_; + this.anInt8091 = i_175_; + method3856((byte) 119); + method3827((byte) -72); + } + } + + private final void method3895(int i) { + anInt8035++; + if (i != -8) method3644(); + if (Component166.aClass196_2372 != this.aClass196_8184) { + Component169 class196 = this.aClass196_8184; + this.aClass196_8184 = Component166.aClass196_2372; + if (!class196.method1450(-90)) method3913((byte) 60); + method3906((byte) 118); + this.aFloatArray8135 = aFloatArray8152; + method3929(true); + anInt8100 &= ~0x7; + } + } + + static final void method3896(HuffmanDecoder class296, byte i) { + do { + try { + anInt8028++; + DisplayModeManagerContainer370.huffman = class296; + if (i == 13) break; + method3873(null, -3); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.DI(" + (class296 != null ? "{...}" : "null") + ',' + i + ')')); + } + break; + } while (false); + } + + final void method3897(int i, int i_177_) { + if (i != this.anInt8175) { + this.anInt8175 = i; + method3868(false); + } + if (i_177_ != -4382) this.anInt8106 = 67; + anInt7961++; + } + + abstract void method3898(int i); + + final void method3630(boolean bool) { + anInt8068++; + } + + abstract void method3899(int i, int i_178_, Component158 class21, boolean bool); + + final void DA(int i, int i_179_, int i_180_, int i_181_) { + this.anInt8130 = i_179_; + this.anInt8134 = i_181_; + anInt8009++; + this.anInt8094 = i; + this.anInt8129 = i_180_; + method3846((byte) 127); + method3831((byte) 19); + method3932((byte) -118); + method3904(-82); + } + + abstract Interface18_Impl2 method3900(int[][] is, boolean bool, int i, int i_182_); + + abstract void method3901(byte i); + + final void method3902(byte i) { + anInt7946++; + if (i != -42) method3711(null, -98, 55, 15, 73, false); + Hashtable hashtable = new Hashtable(); + if (aHashtable8014 != null && !aHashtable8014.isEmpty()) { + Enumeration enumeration = aHashtable8014.keys(); + while (enumeration.hasMoreElements()) { + Canvas canvas = (Canvas) enumeration.nextElement(); + hashtable.put(canvas, method3876(-1, canvas)); + } + } + aHashtable8014 = hashtable; + method3828(false); + method3816((byte) -87); + method3914((byte) -107); + aClass280_8136.method2100((byte) 124, this); + } + + private final void method3903(boolean bool) { + if (anInt8100 != 1) { + method3845((byte) 24); + method3838(true, false); + method3866(false, true); + method3890(false, (byte) 55); + method3946(-32, false); + method3814(false, false, -2, (byte) 112); + method3923(!bool, 1); + method3850((byte) -47, this.anInterface18_8147); + anInt8100 = 1; + } + if (bool != false) EA(-102, -47, -121, -51); + anInt7981++; + } + + final int r(int i, int i_183_, int i_184_, int i_185_, int i_186_, int i_187_, int i_188_) { + anInt7960++; + int i_189_ = 0; + float f = ((this.aClass101_Sub2_8080.aFloat5724) + ((this.aClass101_Sub2_8080.aFloat5691) * (float) i_183_ + ((float) i * (this.aClass101_Sub2_8080.aFloat5736)) + ((float) i_184_ * (this.aClass101_Sub2_8080.aFloat5716)))); + float f_190_ = ((this.aClass101_Sub2_8080.aFloat5736) * (float) i_185_ + (this.aClass101_Sub2_8080.aFloat5691) * (float) i_186_ + (this.aClass101_Sub2_8080.aFloat5716) * (float) i_187_ + (this.aClass101_Sub2_8080.aFloat5724)); + if (!((float) this.anInt8095 > f) || !(f_190_ < (float) this.anInt8095)) { + if ((float) this.anInt8154 < f && (float) this.anInt8154 < f_190_) i_189_ |= 0x20; + } else i_189_ |= 0x10; + int i_191_ = (int) (((float) i_183_ * (this.aClass101_Sub2_8080.aFloat5700) + (float) i * (this.aClass101_Sub2_8080.aFloat5711) + ((float) i_184_ * this.aClass101_Sub2_8080.aFloat5704) + (this.aClass101_Sub2_8080.aFloat5729)) * (float) this.anInt8129 / (float) i_188_); + int i_192_ = (int) ((float) this.anInt8129 * ((this.aClass101_Sub2_8080.aFloat5729) + ((float) i_185_ * this.aClass101_Sub2_8080.aFloat5711 + ((float) i_186_ * (this.aClass101_Sub2_8080.aFloat5700)) + ((float) i_187_ * (this.aClass101_Sub2_8080.aFloat5704)))) / (float) i_188_); + if (this.aFloat8126 > (float) i_191_ && (float) i_192_ < this.aFloat8126) i_189_ |= 0x1; + else if (this.aFloat8158 < (float) i_191_ && (float) i_192_ > this.aFloat8158) i_189_ |= 0x2; + int i_193_ = (int) ((float) this.anInt8134 * ((this.aClass101_Sub2_8080.aFloat5710) + ((this.aClass101_Sub2_8080.aFloat5732 * (float) i_184_) + ((this.aClass101_Sub2_8080.aFloat5708) * (float) i + (this.aClass101_Sub2_8080.aFloat5722) * (float) i_183_))) / (float) i_188_); + int i_194_ = (int) ((float) this.anInt8134 * ((this.aClass101_Sub2_8080.aFloat5732) * (float) i_187_ + ((float) i_185_ * this.aClass101_Sub2_8080.aFloat5708 + ((float) i_186_ * (this.aClass101_Sub2_8080.aFloat5722))) + this.aClass101_Sub2_8080.aFloat5710) / (float) i_188_); + if (!((float) i_193_ < this.aFloat8103) || !(this.aFloat8103 > (float) i_194_)) { + if (this.aFloat8185 < (float) i_193_ && this.aFloat8185 < (float) i_194_) i_189_ |= 0x8; + } else i_189_ |= 0x4; + return i_189_; + } + + private final void method3904(int i) { + anInt7885++; + if (i > -50) anInt8001 = 12; + this.aFloat8103 = (float) (this.anInt8165 - this.anInt8130); + this.aFloat8126 = (float) (this.anInt8106 + -this.anInt8094); + this.aFloat8185 = (float) (this.anInt8096 + -this.anInt8130); + this.aFloat8158 = (float) (-this.anInt8094 + this.anInt8183); + } + + private final void method3905(byte i) { + method3940(1); + if (i < 80) aClass262_7927 = null; + anInt8047++; + if (aClass367_8143 != null) aClass367_8143.method3532(10425); + } + + final void method3643(Canvas canvas, int i, int i_195_) { + do { + try { + anInt7955++; + if (canvas == this.aCanvas7925) throw new RuntimeException(); + if (aHashtable8014.containsKey(canvas)) break; + if (!canvas.isShowing()) throw new RuntimeException(); + canvas.setIgnoreRepaint(true); + Object object = method3876(-1, canvas); + if (object == null) throw new RuntimeException(); + aHashtable8014.put(canvas, object); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.VF(" + (canvas != null ? "{...}" : "null") + ',' + i + ',' + i_195_ + ')')); + } + break; + } while (false); + } + + final int method3704() { + anInt7935++; + return -2 + this.anInt8138; + } + + private final void method3906(byte i) { + if (i < 81) method3840(-113, false); + if (!aBoolean8097) { + float[] fs = aFloatArray8152; + float f = ((float) (this.anInt8095 * -this.anInt8094) / (float) this.anInt8129); + float f_196_ = ((float) (this.anInt8095 * (this.anInt7931 + -this.anInt8094)) / (float) this.anInt8129); + float f_197_ = ((float) (this.anInt8095 * this.anInt8130) / (float) this.anInt8134); + float f_198_ = ((float) (this.anInt8095 * (-this.anInt7962 + this.anInt8130)) / (float) this.anInt8134); + if (f == f_196_ || f_197_ == f_198_) { + fs[12] = 0.0F; + fs[0] = 1.0F; + fs[13] = 0.0F; + fs[4] = 0.0F; + fs[3] = 0.0F; + fs[10] = 1.0F; + fs[15] = 1.0F; + fs[9] = 0.0F; + fs[14] = 0.0F; + fs[1] = 0.0F; + fs[2] = 0.0F; + fs[11] = 0.0F; + fs[6] = 0.0F; + fs[7] = 0.0F; + fs[8] = 0.0F; + fs[5] = 1.0F; + } else { + float f_199_ = 2.0F * (float) this.anInt8095; + fs[13] = 0.0F; + fs[3] = 0.0F; + fs[2] = 0.0F; + fs[11] = -1.0F; + fs[7] = 0.0F; + fs[5] = f_199_ / (-f_198_ + f_197_); + fs[1] = 0.0F; + fs[12] = 0.0F; + fs[14] = aFloat8128 = ((float) (this.anInt8154 * this.anInt8095) / (float) (this.anInt8095 - this.anInt8154)); + fs[0] = f_199_ / (-f + f_196_); + fs[15] = 0.0F; + fs[8] = (f_196_ + f) / (-f + f_196_); + fs[9] = (f_197_ + f_198_) / (f_197_ - f_198_); + fs[10] = aFloat8166 = ((float) this.anInt8154 / (float) (-this.anInt8154 + this.anInt8095)); + fs[4] = 0.0F; + fs[6] = 0.0F; + } + method3912(-1568); + aBoolean8097 = true; + } + anInt7943++; + } + + private final void method3907(boolean bool) { + anInt7888++; + method3925(-128, anInterface5_Impl1_8203, 0); + method3862(0, aClass130_8205); + method3899(1, 0, Component217.aClass21_3217, bool); + } + + final int[] Y() { + anInt7886++; + return (new int[]{this.anInt8094, this.anInt8130, this.anInt8129, this.anInt8134}); + } + + private final void method3908(byte i) { + if (i < 2) method3949((byte) 23); + anInt8070++; + this.aFloat8089 = (float) this.anInt8154; + } + + final void method3688(int i, int i_200_, int i_201_, int i_202_, int i_203_, int i_204_, int i_205_) { + anInt7942++; + } + + final Component24 method3683(int i, int i_206_, int i_207_, int i_208_, boolean bool) { + anInt7993++; + SpriteSub1 class105_sub1 = new SpriteSub1(this, i_207_, i_208_, bool); + class105_sub1.method979(0, 0, i_207_, i_208_, i, i_206_); + return class105_sub1; + } + + final void method3909(byte i, int i_209_) { + method3894(-28186, i | (i << 8 | (i << 16 | i << 24))); + anInt7996++; + if (i_209_ > -103) method3887((byte) 51); + } + + abstract void method3910(byte i, int i_210_); + + final void method3685(Component122 class98, int i) { + try { + aClass280_8136.method2101(this, class98, i, 0); + anInt7968++; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.FG(" + (class98 != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + final Component24 method3691(Component170 class207, boolean bool) { + try { + anInt7978++; + Component24 class105; + if (class207.anInt2702 == 0 || class207.anInt2696 == 0) class105 = this.method3662(1, new int[1], (byte) 94, 0, 1, 1); + else { + int[] is = new int[(class207.anInt2702 * class207.anInt2696)]; + int i = 0; + int i_211_ = 0; + if (class207.aByteArray2695 == null) { + for (int i_212_ = 0; (i_212_ < class207.anInt2696); i_212_++) { + for (int i_213_ = 0; i_213_ < class207.anInt2702; i_213_++) { + int i_214_ = (class207.anIntArray2697[0xff & (class207.aByteArray2699[i++])]); + is[i_211_++] = (i_214_ != 0 ? Component224.bitwiseOr(i_214_, -16777216) : 0); + } + } + } else { + for (int i_215_ = 0; i_215_ < class207.anInt2696; i_215_++) { + for (int i_216_ = 0; class207.anInt2702 > i_216_; i_216_++) { + is[i_211_++] = (Component224.bitwiseOr((class207.anIntArray2697[GpsOverlay.bitwiseAnd((class207.aByteArray2699[i]), 255)]), (class207.aByteArray2695[i] << 24))); + i++; + } + } + } + class105 = this.method3662(class207.anInt2702, is, (byte) 94, 0, class207.anInt2702, class207.anInt2696); + } + class105.method985(class207.anInt2703, class207.anInt2700, class207.anInt2698, class207.anInt2701); + return class105; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.GF(" + (class207 != null ? "{...}" : "null") + ',' + bool + ')')); + } + } + + final void method3636(int i, int i_217_, int i_218_, int i_219_, int i_220_, int i_221_, Shader var_aa, int i_222_, int i_223_) { + try { + anInt7918++; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.ME(" + i + ',' + i_217_ + ',' + i_218_ + ',' + i_219_ + ',' + i_220_ + ',' + i_221_ + ',' + (var_aa != null ? "{...}" : "null") + ',' + i_222_ + ',' + i_223_ + ')')); + } + } + + final void method3663() { + anInt7887++; + if (aClass372_8137 != null) aClass372_8137.method3585(7271); + } + + abstract void method3911(Canvas canvas, int i, Object object); + + final DisplayModeManagerContainer204 method3654() { + anInt8060++; + return new MatrixSub2(); + } + + private final void method3912(int i) { + aFloatArray8152[14] = aFloat8128; + anInt8022++; + if (i == -1568) { + aFloatArray8152[10] = aFloat8166; + this.aFloat8169 = ((aFloatArray8152[14] - (float) this.anInt8154) / aFloatArray8152[10]); + } + } + + private final void method3913(byte i) { + int i_224_ = -106 / ((-8 - i) / 33); + anInt8058++; + aBoolean8121 = false; + if (aClass367_8143 != null) aClass367_8143.method3531(false); + method3898(12); + } + + private final void method3914(byte i) { + anInt7922++; + anInterface5_Impl1_8201 = method3889(false, 16711680); + if (i <= -97) { + anInterface5_Impl1_8201.method20(3096, (byte) 126, 12); + for (int i_225_ = 0; i_225_ < 4; i_225_++) { + Buffer buffer = anInterface5_Impl1_8201.method19(true, 26775); + if (buffer != null) { + Stream stream = method3893(buffer, 9179); + stream.a(0.0F); + stream.a(0.0F); + stream.a(0.0F); + for (int i_226_ = 0; i_226_ <= 256; i_226_++) { + double d = (3.141592653589793 * (double) (i_226_ * 2) / 256.0); + float f = (float) Math.cos(d); + float f_227_ = (float) Math.sin(d); + if (Stream.c()) { + stream.a(f_227_); + stream.a(f); + stream.a(0.0F); + } else { + stream.b(f_227_); + stream.b(f); + stream.b(0.0F); + } + } + stream.a(); + if (anInterface5_Impl1_8201.method18(6331)) break; + } + } + aClass130_8190 = method3812(0, (new Component255[]{new Component255(ColoredTextBuilder.aClass325_4073)})); + } + } + + final void method3915(int i) { + this.aBoolean8069 = false; + anInt7964++; + method3836(1); + if (i != 0) aFloatArray8142 = null; + } + + private final void method3916(byte i) { + anInt8075++; + method3928(0); + method3842(true); + method3883(106); + method3823((byte) 53); + if (i != 103) method3840(-124, true); + method3892(0); + method3884((byte) 101); + method3818(true); + method3859(i + -100); + method3841((byte) -116); + method3827((byte) -117); + method3851(25644); + method3947(4); + method3950(0); + method3939((byte) 100); + for (int i_228_ = this.anInt8090 + -1; i_228_ >= 0; i_228_--) { + method3897(i_228_, i ^ ~0x117a); + method3920(i ^ 0x6d); + method3935(-101); + method3879(i + -8732); + } + method3945(-127); + method3937((byte) -33); + method3813(true); + method3901((byte) -102); + method3898(12); + } + + private final void method3917(boolean bool) { + if (aCanvas7910 == null) anInt7958 = anInt7987 = 1; + else { + Dimension dimension = aCanvas7910.getSize(); + anInt7987 = dimension.height; + anInt7958 = dimension.width; + } + if (bool != false) aHashtable8014 = null; + anInt8033++; + this.anInt7962 = anInt7987; + this.anInt7931 = anInt7958; + method3918(1); + method3831((byte) 19); + method3846((byte) 126); + method3937((byte) -33); + method3904(-71); + method3932((byte) -126); + la(); + } + + private final void method3918(int i) { + anInt7904++; + if (i != 1) aStream8088 = null; + aBoolean8127 = false; + if (Component3.aClass196_2042 == this.aClass196_8184) { + method3919(i + 20793); + method3929(true); + } + } + + final void P(int i, int i_229_, int i_230_, int i_231_, int i_232_) { + anInt8013++; + method3709(i, i_229_, i, i_230_ + i_229_, i_231_, i_232_); + } + + private final void method3919(int i) { + if (i == 20794) { + if (!aBoolean8127) { + float[] fs = aFloatArray8120; + if (this.anInt7931 == 0 || this.anInt7962 == 0) { + fs[3] = 0.0F; + fs[12] = 0.0F; + fs[6] = 0.0F; + fs[9] = 0.0F; + fs[11] = 0.0F; + fs[15] = 1.0F; + fs[1] = 0.0F; + fs[8] = 0.0F; + fs[2] = 0.0F; + fs[14] = 0.0F; + fs[5] = 1.0F; + fs[13] = 0.0F; + fs[7] = 0.0F; + fs[10] = 1.0F; + fs[4] = 0.0F; + fs[0] = 1.0F; + } else { + fs[9] = 0.0F; + fs[12] = -1.0F; + fs[2] = 0.0F; + fs[0] = 2.0F / (float) this.anInt7931; + fs[4] = 0.0F; + fs[15] = 1.0F; + fs[13] = 1.0F; + fs[6] = 0.0F; + fs[3] = 0.0F; + fs[10] = 0.5F; + fs[8] = 0.0F; + fs[1] = 0.0F; + fs[14] = 0.5F; + fs[7] = 0.0F; + fs[5] = -2.0F / (float) this.anInt7962; + fs[11] = 0.0F; + } + aBoolean8127 = true; + } + anInt7970++; + } + } + + final void method3677(Canvas canvas) { + try { + anObject8020 = null; + anInt7936++; + aCanvas7910 = null; + if (canvas == null || canvas == this.aCanvas7925) { + anObject8020 = this.anObject7919; + aCanvas7910 = this.aCanvas7925; + } else if (aHashtable8014.containsKey(canvas)) { + anObject8020 = aHashtable8014.get(canvas); + aCanvas7910 = canvas; + } + if (aCanvas7910 == null || anObject8020 == null) throw new RuntimeException(); + method3881(anObject8020, (byte) 99, aCanvas7910); + method3917(false); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "wga.MF(" + (canvas != null ? "{...}" : "null") + ')'); + } + } + + abstract void method3920(int i); + + abstract void method3921(int i); + + void method3646(int i) { + if (aClass372_8137 != null) aClass372_8137.method3586(-16130); + anInt8059++; + this.anInt8146 = 0x7fffffff & i; + } + + final void method3674(int i, int i_233_, int i_234_, int i_235_, int i_236_, int i_237_, int i_238_, int i_239_, int i_240_) { + anInt8046++; + float f = (float) i_234_ - (float) i; + float f_241_ = (float) i_235_ - (float) i_233_; + if (f != 0.0F || f_241_ != 0.0F) { + float f_242_ = (float) (1.0 / Math.sqrt(f_241_ * f_241_ + f * f)); + f *= f_242_; + f_241_ *= f_242_; + } else f = 1.0F; + method3903(false); + method3894(-28186, i_236_); + method3849((byte) 47, 0, DefinitionSub39.aClass70_9485); + method3885(0, true, DefinitionSub39.aClass70_9485); + method3817(94, i_237_); + method3942(5); + method3926((byte) 86, false); + i_240_ %= i_238_ + i_239_; + float f_243_ = (float) i_238_ * f; + float f_244_ = (float) i_238_ * f_241_; + float f_245_ = 0.0F; + float f_246_ = 0.0F; + float f_247_ = f_243_; + float f_248_ = f_244_; + if (i_238_ >= i_240_) { + f_248_ = (float) (-i_240_ + i_238_) * f_241_; + f_247_ = f * (float) (i_238_ + -i_240_); + } else { + f_246_ = (float) (-i_240_ + (i_238_ - -i_239_)) * f_241_; + f_245_ = f * (float) (i_238_ + i_239_ - i_240_); + } + float f_249_ = (float) i + f_245_; + float f_250_ = f_246_ + (float) i_233_; + float f_251_ = (float) i_239_ * f; + float f_252_ = f_241_ * (float) i_239_; + for (; ; ) { + if (i_234_ > i) { + if (f_249_ > (float) i_234_) break; + if ((float) i_234_ < f_249_ + f_247_) f_247_ = (float) i_234_ - f_249_; + } else { + if (f_249_ < (float) i_234_) break; + if ((float) i_234_ > f_249_ + f_247_) f_247_ = (float) i_234_ - f_249_; + } + if (i_233_ < i_235_) { + if ((float) i_235_ < f_250_) break; + if (f_248_ + f_250_ > (float) i_235_) f_248_ = (float) i_235_ - f_250_; + } else { + if (f_250_ < (float) i_235_) break; + if (f_248_ + f_250_ < (float) i_235_) f_248_ = (float) i_235_ - f_250_; + } + if (!method3878(f_250_, 0, f_249_ + f_247_, 0.0F, f_250_ + f_248_, 0.0F, f_249_)) return; + method3907(true); + f_250_ += f_252_ + f_248_; + f_249_ += f_251_ + f_247_; + f_247_ = f_243_; + f_248_ = f_244_; + } + method3926((byte) 88, true); + method3885(0, true, DisplayModeManagerContainer173.aClass70_4247); + method3849((byte) 47, 0, DisplayModeManagerContainer173.aClass70_4247); + } + + final void pa() { + anInt7947++; + this.aBoolean8160 = false; + } + + final void method3922(boolean bool) { + if (bool != false) M(); + anInt7911++; + Enumeration enumeration = aHashtable8014.keys(); + while (enumeration.hasMoreElements()) { + Canvas canvas = (Canvas) enumeration.nextElement(); + method3911(canvas, 1, aHashtable8014.get(canvas)); + } + anInterface5_Impl1_8193.method21(23315); + anInterface5_Impl1_8203.method21(23315); + anInterface5_Impl1_8201.method21(23315); + this.aClass64_Sub2_8198.method664(-23755); + this.aClass64_Sub2_8194.method664(-23755); + this.aClass64_Sub2_8187.method664(-23755); + this.aClass64_Sub2_8199.method664(-23755); + this.aClass64_Sub2_8189.method664(-23755); + aClass280_8136.method2105(-122); + anInterface5_Impl2_8195.method21(23315); + } + + final void method3923(boolean bool, int i) { + if (i != 1) { + if (i != 0) { + if (i == 2) method3874(ShaderCompilerSub3.aClass229_6519, 117, Component253.aClass229_3196); + else if (i == 3) method3874(Component385.aClass229_2207, 111, DisplayModeManagerContainer64.aClass229_9011); + else if (i == 4) method3874(NodeSub7.aClass229_6644, 126, NodeSub7.aClass229_6644); + } else method3874(Component385.aClass229_2207, 120, Component385.aClass229_2207); + } else method3874(ShaderCompilerSub3.aClass229_6519, 127, ShaderCompilerSub3.aClass229_6519); + anInt8034++; + if (bool != true) aFloatArray8152 = null; + } + + abstract void method3924(boolean bool, boolean bool_253_, int i, DisplayModeManagerContainer88 class70, boolean bool_254_); + + abstract void method3925(int i, Interface5_Impl1 interface5_impl1, int i_255_); + + abstract void method3926(byte i, boolean bool); + + final void U(int i, int i_256_, int i_257_, int i_258_, int i_259_) { + method3709(i, i_256_, i - -i_257_, i_256_, i_258_, i_259_); + anInt7926++; + } + + final void method3927(boolean bool) { + if (anInt8100 != 4) { + method3845((byte) 49); + method3838(true, false); + method3866(false, bool); + method3890(false, (byte) 108); + method3946(-32, false); + method3814(false, false, -2, (byte) 35); + method3817(120, 1); + method3923(true, 0); + anInt8100 = 4; + } + if (bool != true) this.aClass64_Sub2_8200 = null; + anInt7986++; + } + + abstract void method3928(int i); + + final void method3701(Canvas canvas) { + do { + try { + anInt7906++; + if (this.aCanvas7925 == canvas) throw new RuntimeException(); + if (!aHashtable8014.containsKey(canvas)) break; + method3911(canvas, 1, aHashtable8014.get(canvas)); + aHashtable8014.remove(canvas); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "wga.AG(" + (canvas != null ? "{...}" : "null") + ')'); + } + break; + } while (false); + } + + final Component24 method3711(int[] is, int i, int i_260_, int i_261_, int i_262_, boolean bool) { + try { + anInt7944++; + return new SpriteSub1(this, i_261_, i_262_, is, i, i_260_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.BE(" + (is != null ? "{...}" : "null") + ',' + i + ',' + i_260_ + ',' + i_261_ + ',' + i_262_ + ',' + bool + ')')); + } + } + + private final void method3929(boolean bool) { + method3813(bool); + anInt7949++; + if (aClass367_8143 != null) aClass367_8143.method3524(-14775); + } + + final void method3930(byte i) { + this.aClass101_Sub2Array8131 = new MatrixSub2[this.anInt8090]; + anInterface18Array8098 = new Interface18[this.anInt8090]; + this.aClass229Array8086 = new Component267[this.anInt8090]; + this.aClass229Array8092 = new Component267[this.anInt8090]; + this.aClass251Array8113 = new Component111[this.anInt8090]; + anInt7889++; + for (int i_263_ = 0; this.anInt8090 > i_263_; i_263_++) { + this.aClass229Array8092[i_263_] = Component385.aClass229_2207; + this.aClass229Array8086[i_263_] = Component385.aClass229_2207; + this.aClass251Array8113[i_263_] = HashNodeSub18.aClass251_9685; + this.aClass101_Sub2Array8131[i_263_] = new MatrixSub2(); + } + this.aClass348_Sub1Array8132 = new NodeSub1[-2 + this.anInt8138]; + this.anInterface18_8147 = method3861(1, (byte) -84, 1, Component342.aClass68_1183, Component83.aClass304_1662); + method3651(new NodeBaseSub2(262144)); + this.aClass130_8204 = method3812(0, (new Component255[]{new Component255(new ColoredTextBuilder[]{ColoredTextBuilder.aClass325_4073, ColoredTextBuilder.aClass325_4078})})); + this.aClass130_8202 = method3812(i ^ 0x1a, (new Component255[]{new Component255(new ColoredTextBuilder[]{ColoredTextBuilder.aClass325_4073, ColoredTextBuilder.aClass325_4076})})); + this.aClass130_8208 = method3812(0, (new Component255[]{new Component255(ColoredTextBuilder.aClass325_4073), new Component255(ColoredTextBuilder.aClass325_4076), new Component255(ColoredTextBuilder.aClass325_4078), new Component255(ColoredTextBuilder.aClass325_4075)})); + this.aClass130_8191 = method3812(0, (new Component255[]{new Component255(ColoredTextBuilder.aClass325_4073), new Component255(ColoredTextBuilder.aClass325_4076), new Component255(ColoredTextBuilder.aClass325_4078)})); + this.aClass64_Sub2_8206 = new DisplayModeManagerContainer190(this, 0, 0, false, false); + this.aClass64_Sub2_8198 = new DisplayModeManagerContainer190(this, 0, 0, true, true); + this.aClass64_Sub2_8192 = new DisplayModeManagerContainer190(this, 0, 0, false, false); + this.aClass64_Sub2_8194 = new DisplayModeManagerContainer190(this, 0, 0, true, true); + this.aClass64_Sub2_8200 = new DisplayModeManagerContainer190(this, 0, 0, false, false); + this.aClass64_Sub2_8187 = new DisplayModeManagerContainer190(this, 0, 0, true, true); + this.aClass64_Sub2_8188 = new DisplayModeManagerContainer190(this, 0, 0, false, false); + this.aClass64_Sub2_8199 = new DisplayModeManagerContainer190(this, 0, 0, true, true); + this.aClass64_Sub2_8207 = new DisplayModeManagerContainer190(this, 0, 0, false, false); + this.aClass64_Sub2_8189 = new DisplayModeManagerContainer190(this, 0, 0, true, true); + aClass280_8136 = new Component333(this); + anInterface5_Impl2_8195 = method3840(-28633, true); + method3902((byte) -42); + this.aClass269_7937 = new Component209(this); + aClass367Array8139[1] = method3832(1, (byte) -103); + aClass367Array8139[2] = method3832(2, (byte) -65); + aClass367Array8139[4] = method3832(4, (byte) -73); + aClass367Array8139[5] = method3832(5, (byte) -101); + if (i != 26) this.aClass130_8204 = null; + aClass367Array8139[6] = method3832(6, (byte) -60); + aClass367Array8139[7] = method3832(7, (byte) -100); + aClass367Array8139[3] = method3832(3, (byte) -63); + aClass367Array8139[8] = method3832(8, (byte) -60); + aClass367Array8139[9] = method3832(9, (byte) -78); + if (!aClass367Array8139[2].method3530(-58)) aClass367Array8139[2] = method3832(0, (byte) -74); + if (!aClass367Array8139[4].method3530(-74)) aClass367Array8139[4] = aClass367Array8139[2]; + if (!aClass367Array8139[8].method3530(-116)) aClass367Array8139[8] = aClass367Array8139[4]; + if (!aClass367Array8139[9].method3530(-104)) aClass367Array8139[9] = aClass367Array8139[8]; + method3882((byte) 52); + la(); + this.method3673(); + } + + abstract boolean method3931(boolean bool, DisplayModeManagerContainer42 class304, Component342 class68); + + final void method3932(byte i) { + if (this.aClass196_8184 != Component386.aClass196_2864) { + Component169 class196 = this.aClass196_8184; + this.aClass196_8184 = Component386.aClass196_2864; + if (class196.method1450(-116)) method3913((byte) -100); + anInt8100 &= ~0x1f; + this.aFloatArray8135 = aFloatArray8111; + } + anInt7977++; + if (i > -106) this.anInt8146 = 6; + } + + final void H(int i, int i_264_, int i_265_, int[] is) { + try { + anInt8012++; + float f = (this.aClass101_Sub2_8080.method933((byte) -105, (float) i, (float) i_265_, (float) i_264_)); + int i_266_; + int i_267_; + if (f >= -0.0078125F && f <= 0.0078125F) { + i_266_ = this.anInt8130; + i_267_ = this.anInt8094; + } else { + i_267_ = (int) ((float) this.anInt8129 * (this.aClass101_Sub2_8080.method929((float) i_265_, (float) i_264_, (byte) 45, (float) i)) / f); + i_266_ = (int) ((float) this.anInt8134 * (this.aClass101_Sub2_8080.method922((byte) 64, (float) i, (float) i_265_, (float) i_264_)) / f); + } + is[1] = (int) ((float) i_266_ - this.aFloat8103); + is[0] = (int) ((float) i_267_ - this.aFloat8126); + is[2] = (int) f; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.H(" + i + ',' + i_264_ + ',' + i_265_ + ',' + (is != null ? "{...}" : "null") + ')')); + } + } + + final void method3933(int i) { + anInt7956++; + if (i >= -34) aClass299_Sub2_8171 = null; + method3860(HashNodeSub16.aClass21_9661, 2, 8); + } + + final void method3628(int i, int i_268_, int i_269_, int i_270_, int i_271_, int i_272_) { + anInt7971++; + float f = method3858(false); + method3903(false); + method3894(-28186, i_271_); + method3849((byte) 47, 0, DefinitionSub39.aClass70_9485); + method3885(0, true, DefinitionSub39.aClass70_9485); + method3817(89, i_272_); + this.aClass101_Sub2_8074.method932(1.0F, (float) (-1 + i_270_), (float) (i_269_ - 1), (byte) -33); + this.aClass101_Sub2_8074.method920(-f + (float) i_268_, false, 0.0F, (float) i - f); + method3915(0); + method3926((byte) 98, false); + method3860(GlWaterShader.aClass21_8832, 4, 8); + method3926((byte) 104, true); + method3885(0, true, DisplayModeManagerContainer173.aClass70_4247); + method3849((byte) 47, 0, DisplayModeManagerContainer173.aClass70_4247); + } + + final MatrixSub2 method3934(int i) { + if (i > -69) return null; + anInt8055++; + return this.aClass101_Sub2_8074; + } + + abstract void method3935(int i); + + final int XA() { + anInt7897++; + return this.anInt8154; + } + + final int bitwiseOr(int i, int i_273_) { + anInt8030++; + return i_273_ | i; + } + + static final void method3936(int i) { + anInt7990++; + if (NodeList.aClass190ArrayArray3335 != null) { + for (int i_274_ = 0; (i_274_ < NodeList.aClass190ArrayArray3335.length); i_274_++) { + for (int i_275_ = 0; (NodeList.aClass190ArrayArray3335[i_274_].length > i_275_); i_275_++) + NodeList.aClass190ArrayArray3335[i_274_][i_275_] = FriendsIgnoreList.aClass190_3547; + } + } + if (i != 0) method3870(-90); + } + + abstract void method3937(byte i); + + abstract void method3938(Component158 class21, int i, Interface5_Impl2 interface5_impl2, int i_276_, int i_277_, int i_278_, int i_279_); + + final int method3667(int i, int i_280_) { + anInt7997++; + return i_280_ & i ^ i_280_; + } + + abstract void method3939(byte i); + + final BitmapFont method3686(Component184 class143, Component170[] class207s, boolean bool) { + try { + anInt7952++; + return new JaclibBitmapFont(this, class143, class207s, bool); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.JE(" + (class143 != null ? "{...}" : "null") + ',' + (class207s != null ? "{...}" : "null") + ',' + bool + ')')); + } + } + + final void method3642(int i, NodeSub1[] class348_sub1s) { + do { + try { + for (int i_281_ = 0; i_281_ < i; i_281_++) + this.aClass348_Sub1Array8132[i_281_] = class348_sub1s[i_281_]; + anInt7988++; + this.anInt8151 = i; + if (!this.aClass196_8184.method1450(-94)) break; + method3823((byte) 51); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.FF(" + i + ',' + (class348_sub1s != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + final boolean method3627() { + anInt8038++; + return false; + } + + final NodeBase method3702(int i) { + anInt8049++; + NodeBaseSub2 var_za_Sub2 = new NodeBaseSub2(i); + aClass262_7927.addTail(var_za_Sub2, -20180); + return var_za_Sub2; + } + + final int M() { + anInt7884++; + return anInt8210; + } + + abstract void method3940(int i); + + final int method3941(int i) { + int i_282_ = -33 / ((55 - i) / 36); + anInt7921++; + return anInt8162; + } + + final void method3942(int i) { + if (i != 5) anInt8045 = -47; + anInt8008++; + this.aClass101_Sub2_8074.method910(); + this.aBoolean8069 = true; + method3836(1); + } + + final NodeSub1 method3690(int i, int i_283_, int i_284_, int i_285_, int i_286_, float f) { + anInt7894++; + return new NodeSub1Sub3(i, i_283_, i_284_, i_285_, i_286_, f); + } + + final void method3943(boolean bool, int i) { + if (i != -31953) aClass101_Sub2_8085 = null; + anInt7899++; + if (bool == !this.aBoolean8149) { + this.aBoolean8149 = bool; + method3883(-90); + } + } + + final Interface18_Impl3 method3944(byte[] is, int i, DisplayModeManagerContainer42 class304, int i_287_, boolean bool, int i_288_) { + try { + if (i_287_ != 2) return null; + anInt7929++; + return method3843(i_288_, 0, i, 0, is, class304, i_287_ ^ 0x22, bool); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.MG(" + (is != null ? "{...}" : "null") + ',' + i + ',' + (class304 != null ? "{...}" : "null") + ',' + i_287_ + ',' + bool + ',' + i_288_ + ')')); + } + } + + abstract void method3945(int i); + + final boolean method3693() { + anInt7939++; + return true; + } + + GlToolkitSub3(Canvas canvas, Object object, d var_d, CacheStore class45, int i, int i_289_) { + super(var_d); + this.aFloat8089 = 3584.0F; + this.anInt8095 = 50; + this.anInt8094 = 0; + this.aFloat8087 = 1.0F; + aBoolean8112 = false; + this.anInt8096 = 0; + this.anInt8105 = 0; + this.anInt8129 = 512; + this.aBoolean8118 = false; + anInt8108 = 0; + this.anInt8091 = -1; + aBoolean8121 = false; + this.aBoolean8116 = true; + this.anInt8125 = 8; + this.aFloatArray8102 = new float[]{0.0F, 0.0F, -1.0F, 0.0F}; + aFloatArray8142 = new float[]{0.0F, 0.0F, 1.0F, 0.0F}; + aFloatArray8111 = new float[]{1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F}; + this.anInt8130 = 0; + aFloatArray8157 = new float[16]; + this.aBoolean8110 = true; + this.anInt8109 = 0; + aFloatArray8120 = new float[16]; + anInt8104 = -1; + this.aBoolean8124 = true; + aBoolean8127 = false; + anInt8156 = 0; + aBoolean8153 = false; + this.anInt8144 = -1; + this.anInt8154 = 3584; + this.anInt8107 = 3; + aClass367Array8139 = new AbstractShader[10]; + this.anInt8150 = 128; + this.anInt8134 = 512; + this.aBoolean8164 = false; + aFloatArray8140 = new float[]{0.0F, 0.0F, 1.0F, 0.0F}; + this.aFloat8169 = 3584.0F; + this.aBoolean8141 = true; + this.aClass173_8163 = HardwareProbe.aClass173_6602; + this.aBoolean8148 = true; + aBoolean8097 = false; + this.anInt8165 = 0; + this.aBoolean8145 = false; + aFloatArray8152 = new float[16]; + aBoolean8176 = false; + anInt8161 = 0; + this.anInt8106 = 0; + this.aBoolean8149 = false; + aFloat8155 = 1.0F; + this.aFloatArray8135 = aFloatArray8111; + anInt8167 = 1; + anInt8179 = -1; + this.anInt8175 = 0; + anInt8177 = 0; + this.aFloat8168 = 1.0F; + this.aFloat8174 = -1.0F; + this.aFloatArray8170 = new float[]{0.0F, 0.0F, 1.0F, 0.0F}; + this.anInt8181 = 0; + this.aClass196_8184 = Component386.aClass196_2864; + this.aFloat8180 = 1.0F; + this.aFloat8186 = -1.0F; + anInt8172 = 16777215; + this.anInt8183 = 0; + aStream8088 = new Stream(); + aClass101_Sub2_8196 = new MatrixSub2(); + try { + try { + this.anInt8117 = i; + this.aClass45_8039 = class45; + aCanvas7910 = this.aCanvas7925 = canvas; + anObject8020 = this.anObject7919 = object; + Dimension dimension = canvas.getSize(); + this.anInt7962 = anInt7987 = dimension.height; + this.anInt7931 = anInt7958 = dimension.width; + this.anInt8178 = i_289_; + Component54.method566(false, true, (byte) -127); + if (this.aD4579 == null) { + this.aNativeInterface7924 = new NativeInterface(0, this.anInt8178); + aClass372_8137 = null; + } else { + aClass372_8137 = new Component86(this, this.aD4579); + this.aNativeInterface7924 = new NativeInterface(this.aD4579.method2(true), this.anInt8178); + for (int i_290_ = 0; this.aD4579.method2(true) > i_290_; i_290_++) { + Component319 class12 = this.aD4579.method3(i_290_, -6662); + if (class12 != null) this.aNativeInterface7924.initTextureMetrics(i_290_, class12.aByte201, class12.aByte216); + } + } + } catch (Throwable throwable) { + throwable.printStackTrace(); + this.method3635((byte) -58); + throw new RuntimeException(""); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wga.(" + (canvas != null ? "{...}" : "null") + ',' + (object != null ? "{...}" : "null") + ',' + (var_d != null ? "{...}" : "null") + ',' + (class45 != null ? "{...}" : "null") + ',' + i + ',' + i_289_ + ')')); + } + } + + final void method3946(int i, boolean bool) { + if (i != -32) aClass101_Sub2_8085 = null; + anInt8027++; + if (!bool == this.aBoolean8118) { + this.aBoolean8118 = bool; + method3841((byte) -116); + anInt8100 &= ~0x1f; + } + } + + abstract void method3947(int i); + + final void method3684(Component122 class98) { + try { + aClass280_8136.method2101(this, class98, -1, 0); + anInt7984++; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "wga.EF(" + (class98 != null ? "{...}" : "null") + ')'); + } + } + + final MatrixSub2 method3948(int i) { + if (!aBoolean8121) { + aClass101_Sub2_8085.method927(this.aClass101_Sub2_8083, (this.aClass101_Sub2_8074)); + aBoolean8121 = true; + } + anInt8042++; + if (i != -22036) anInt8104 = 66; + return aClass101_Sub2_8085; + } + + private final void method3949(byte i) { + anInt7895++; + if (!aBoolean8112) { + float[] fs = aFloatArray8157; + float f = (float) this.anInt8095; + float f_291_ = (float) this.anInt8154; + float f_292_ = (aFloat8155 * (float) -this.anInt8130 / (float) this.anInt8134); + float f_293_ = ((float) -this.anInt8094 * aFloat8155 / (float) this.anInt8129); + float f_294_ = (aFloat8155 * (float) (-this.anInt8094 + this.anInt7931) / (float) this.anInt8129); + float f_295_ = ((float) (-this.anInt8130 + this.anInt7962) * aFloat8155 / (float) this.anInt8134); + if (f_294_ == f_293_ || f_292_ == f_295_) { + fs[11] = 0.0F; + fs[8] = 0.0F; + fs[7] = 0.0F; + fs[10] = 1.0F; + fs[15] = 1.0F; + fs[9] = 0.0F; + fs[0] = 1.0F; + fs[1] = 0.0F; + fs[13] = 0.0F; + fs[4] = 0.0F; + fs[6] = 0.0F; + fs[12] = 0.0F; + fs[5] = 1.0F; + fs[2] = 0.0F; + fs[14] = 0.0F; + fs[3] = 0.0F; + } else { + fs[0] = 2.0F / (f_294_ - f_293_); + fs[12] = (f_294_ + f_293_) / (f_293_ - f_294_); + fs[6] = 0.0F; + fs[3] = 0.0F; + fs[11] = 0.0F; + fs[8] = 0.0F; + fs[14] = f / (f - f_291_); + fs[1] = 0.0F; + fs[4] = 0.0F; + fs[2] = 0.0F; + fs[9] = 0.0F; + fs[13] = (f_292_ + f_295_) / (f_295_ - f_292_); + fs[10] = 1.0F / (-f_291_ + f); + fs[5] = 2.0F / (f_295_ - f_292_); + fs[7] = 0.0F; + fs[15] = 1.0F; + } + method3908((byte) 29); + aBoolean8112 = true; + } + if (i >= -37) method3631(74); + } + + abstract void method3950(int i); + + static { + anInt8001 = -1; + } +} diff --git a/client/toolkit/base/GraphicsToolkit.java b/client/toolkit/base/GraphicsToolkit.java new file mode 100644 index 000000000..b338e2c76 --- /dev/null +++ b/client/toolkit/base/GraphicsToolkit.java @@ -0,0 +1,416 @@ +/* GraphicsToolkit - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `GraphicsToolkit` (JODE-obfuscated). + * Abstract rendering toolkit. Base interface for all graphics backends (OpenGL/D3D/software). Declares the abstract draw/rasterize/texture methods implemented by concrete toolkits such as OpenGLToolkit. + */ + +import java.awt.*; +import java.util.Random; + +abstract class GraphicsToolkit { + static int anInt4561; + static int anInt4562; + static int anInt4563; + static int anInt4564; + static int anInt4565; + static int anInt4566; + int anInt4567; + static int anInt4568; + static int anInt4569; + static int anInt4570; + static StringCache aClass351_4571; + static int anInt4572; + static int anInt4573; + static int anInt4574; + static int anInt4575; + static int anInt4576; + static int anInt4577; + /** Friend world ids (0 = offline). */ + static int[] friendWorldIds = new int[200]; + d aD4579; + static int anInt4580; + static int anInt4581; + static float aFloat4582; + static int anInt4583; + + abstract Interface13 method3624(int i, int i_0_); + + abstract void b(int i, int i_1_, int i_2_, int i_3_, double d); + + abstract DisplayModeManagerContainer370 method3625(DisplayModeManagerContainer77 class124, int i, int i_4_, int i_5_, int i_6_); + + abstract void F(int i, int i_7_); + + abstract void method3626(int i, int i_8_) throws Exception_Sub1; + + abstract boolean method3627(); + + abstract void method3628(int i, int i_9_, int i_10_, int i_11_, int i_12_, int i_13_); + + abstract Component24 method3629(int i, int i_14_, boolean bool); + + abstract int[] Y(); + + abstract void method3630(boolean bool); + + abstract int E(); + + abstract int I(); + + abstract void method3631(int i); + + abstract void method3632(int[] is); + + abstract void X(int i); + + /** + * Obfuscated short renamed incorrectly during class rename (was not DualToolkit). + * OpenGLToolkit implements this as {@code native} — keep name for JNI binding. + */ + abstract void DualToolkit(float f); + + abstract void method3633(); + + /** + * Obfuscated short renamed incorrectly during class rename (was not NativeHandle). + * OpenGLToolkit implements this as {@code native} — keep name for JNI binding. + */ + abstract void NativeHandle(); + + abstract Interface4 method3634(Interface3 interface3, Interface13 interface13); + + final void method3635(byte i) { + int i_15_ = -90 % ((i - 8) / 33); + anInt4573++; + DefinitionSub26.aBooleanArray9351[this.anInt4567] = false; + method3652(); + } + + abstract void method3636(int i, int i_16_, int i_17_, int i_18_, int i_19_, int i_20_, Shader var_aa, int i_21_, int i_22_); + + abstract Component6 c();//c + + abstract void method3638(DisplayModeManagerContainer204 class101); + + /** + * Obfuscated short renamed incorrectly during class rename (was not ShaderImpl). + * OpenGLToolkit implements this as {@code native} — keep name for JNI binding. + */ + abstract int[] ShaderImpl(int i, int i_23_, int i_24_, int i_25_); + + abstract int r(int i, int i_26_, int i_27_, int i_28_, int i_29_, int i_30_, int i_31_); + + abstract void DA(int i, int i_32_, int i_33_, int i_34_); + + abstract boolean method3639(); + + abstract DisplayModeManagerContainer204 method3640(); + + static final void method3641(int i, int i_35_, byte i_36_, int i_37_, int i_38_, int i_39_) { + anInt4575++; + if (i_36_ != -75) anInt4581 = 73; + if (i_35_ == i_38_) Component296.method1116(i, i_37_, i_39_, i_38_, (byte) -99); + else if (Component27.anInt4960 <= i_39_ + -i_38_ && Component22.anInt1745 >= i_39_ - -i_38_ && -i_35_ + i >= Component72.anInt1910 && PauseTimer.anInt513 >= i + i_35_) JagTheoraDecoder.method515(i_37_, i_39_, i, i_35_, i_38_, -122); + else Component139.method1839(i_39_, i_35_, i, i_36_ ^ 0x4a, i_37_, i_38_); + } + + abstract void method3642(int i, NodeSub1[] class348_sub1s); + + abstract void method3643(Canvas canvas, int i, int i_40_); + + abstract boolean method3644(); + + final void method3645(int i, int i_41_, int i_42_, int i_43_, int i_44_, int i_45_) { + anInt4563++; + method3709(i_41_, i, i_42_, i_45_, i_44_, 1); + if (i_43_ != -8003) method3665(75, 67); + } + + abstract void method3646(int i); + + abstract void method3647(boolean bool); + + abstract s method3648(int i, int i_46_, int[][] is, int[][] is_47_, int i_48_, int i_49_, int i_50_); + + final void method3649(byte i, int i_51_, int i_52_, int i_53_, int i_54_) { + anInt4569++; + if (i < -67) U(i_54_, i_52_, i_51_, i_53_, 1); + } + + abstract void method3650(int i); + + abstract void method3651(NodeBase var_za); + + abstract void P(int i, int i_55_, int i_56_, int i_57_, int i_58_); + + abstract void method3652(); + + abstract void NodeBase(int i, int i_59_, int i_60_, int i_61_, int i_62_); + + abstract void method3653(Component80 class299); + + abstract DisplayModeManagerContainer204 method3654(); + + abstract int JA(int i, int i_63_, int i_64_, int i_65_, int i_66_, int i_67_); + + abstract int i(); + + abstract boolean method3655(); + + final void method3656(byte i, int i_68_, int i_69_, int i_70_, int i_71_) { + anInt4580++; + NodeBase(i_70_, i_71_, i_69_, i_68_, 1); + if (i >= -97) aFloat4582 = 0.37843478F; + } + + abstract void L(int i, int i_72_, int i_73_); + + final void method3657(Rectangle[] rectangles, int i, int i_74_) throws Exception_Sub1 { + method3707(rectangles, i, 0, 0); + anInt4568++; + if (i_74_ <= 41) this.anInt4567 = 54; + } + + abstract void f(int i, int i_75_); + + abstract void la(); + + abstract void method3658(int i, int i_76_, int i_77_, int i_78_); + + abstract void method3659(int i); + + final void method3660(int i, int i_79_, int i_80_, int i_81_, boolean bool) { + if (bool != true) H(-122, 91, -22, null); + anInt4570++; + P(i, i_81_, i_80_, i_79_, 1); + } + + abstract Shader method3661(int i, int i_82_, int[] is, int[] is_83_); + + final Component24 method3662(int i, int[] is, byte i_84_, int i_85_, int i_86_, int i_87_) { + anInt4565++; + if (i_84_ != 94) return null; + return method3711(is, i_85_, i_86_, i, i_87_, true); + } + + abstract void method3663(); + + static final byte[] method3664(int i, int i_88_) { + anInt4564++; + if (i_88_ <= 21) anInt4583 = 60; + HashNodeSub3 class348_sub42_sub3 = ((HashNodeSub3) NodeSub1Sub2.aClass308_8815.method2302(i, (byte) -120)); + if (class348_sub42_sub3 == null) { + byte[] is = new byte[512]; + Random random = new Random(i); + for (int i_89_ = 0; i_89_ < 255; i_89_++) + is[i_89_] = (byte) i_89_; + for (int i_90_ = 0; i_90_ < 255; i_90_++) { + int i_91_ = -i_90_ + 255; + int i_92_ = DisplayModeManagerContainer77.method1097((byte) 95, i_91_, random); + byte i_93_ = is[i_92_]; + is[i_92_] = is[i_91_]; + is[i_91_] = is[511 + -i_90_] = i_93_; + } + class348_sub42_sub3 = new HashNodeSub3(is); + NodeSub1Sub2.aClass308_8815.method2305(i, class348_sub42_sub3, -1); + } + return class348_sub42_sub3.aByteArray9499; + } + + abstract Interface3 method3665(int i, int i_94_); + + abstract void pa(); + + abstract boolean method3666(); + + abstract void da(int i, int i_95_, int i_96_, int[] is); + + abstract int method3667(int i, int i_97_); + + abstract void Q(int i, int i_98_, int i_99_, int i_100_, int i_101_, int i_102_, byte[] is, int i_103_, int i_104_); + + final void method3668(int i, int i_105_, int i_106_, int i_107_, int i_108_, int i_109_) { + anInt4574++; + if (i_109_ >= 21) method3628(i_107_, i_105_, i, i_108_, i_106_, 1); + } + + abstract void HA(int i, int i_110_, int i_111_, int i_112_, int[] is); + + abstract void method3669(Canvas canvas, int i, int i_113_); + + abstract boolean method3670(); + + abstract boolean method3671(); + + abstract void method3672(); + + abstract void method3673(); + + abstract void method3674(int i, int i_114_, int i_115_, int i_116_, int i_117_, int i_118_, int i_119_, int i_120_, int i_121_); + + abstract void EA(int i, int i_122_, int i_123_, int i_124_); + + final void method3675(int i, byte i_125_, int i_126_, int i_127_, int i_128_, int i_129_) { + if (i_125_ == -125) { + fillRect(i_126_, i_127_, i, i_128_, i_129_, 1); + anInt4566++; + } + } + + abstract void method3676(int i, int i_130_, int i_131_, int i_132_, int i_133_, int i_134_, int i_135_, int i_136_, int i_137_, int i_138_, int i_139_, int i_140_, int i_141_); + + abstract void method3677(Canvas canvas); + + abstract void method3678(int i); + + abstract int bitwiseOr(int i, int i_142_); + + public static void method3680(int i) { + if (i != -24016) friendWorldIds = null; + friendWorldIds = null; + aClass351_4571 = null; + } + + final void method3681(Component24 class105, int i) { + method3687(method3634(class105, method3624(class105.method971(), class105.method969()))); + anInt4561++; + if (i != 0) DA(-75, -67, 18, -116); + } + + abstract boolean method3682(); + + abstract Component24 method3683(int i, int i_143_, int i_144_, int i_145_, boolean bool); + + abstract void method3684(Component122 class98); + + abstract void method3685(Component122 class98, int i); + + abstract void K(int[] is); + + abstract BitmapFont method3686(Component184 class143, Component170[] class207s, boolean bool); + + abstract void H(int i, int i_146_, int i_147_, int[] is); + + abstract void T(int i, int i_148_, int i_149_, int i_150_); + + abstract void ZA(int i, float f, float f_151_, float f_152_, float f_153_, float f_154_); + + abstract void ra(int i, int i_155_, int i_156_, int i_157_); + + abstract int M(); + + abstract void C(boolean bool); + + abstract void method3687(Interface4 interface4); + + abstract void method3688(int i, int i_158_, int i_159_, int i_160_, int i_161_, int i_162_, int i_163_); + + final void method3689(byte i) throws Exception_Sub1 { + method3626(0, 0); + if (i >= 53) anInt4572++; + } + + abstract NodeSub1 method3690(int i, int i_164_, int i_165_, int i_166_, int i_167_, float f); + + abstract Component24 method3691(Component170 class207, boolean bool); + + static final synchronized GraphicsToolkit method3692(int i, int i_168_, int i_169_, CacheStore class45, int i_170_, d var_d, Canvas canvas, int i_171_) { + try { + anInt4576++; + if (i_170_ == i_171_) return NodeSub5.method2753(true, i_168_, i_169_, canvas, var_d); + if (i_171_ == 2) return Component314.createOpenGLToolkit(-6, i_168_, var_d, canvas, i_169_); + if (i_171_ == 1) return NodeList.method2000(3, i, canvas, var_d); + if (i_171_ == 5) return ToolkitFactory.createOpenGlToolkit(canvas, var_d, class45, 25542, i); + if (i_171_ == 3) return ToolkitLoader.createD3DToolkit(i, i_170_ ^ 0x4a31, var_d, class45, canvas); + throw new IllegalArgumentException("UM"); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("ha.TJ(" + i + ',' + i_168_ + ',' + i_169_ + ',' + (class45 != null ? "{...}" : "null") + ',' + i_170_ + ',' + (var_d != null ? "{...}" : "null") + ',' + (canvas != null ? "{...}" : "null") + ',' + i_171_ + ')')); + } + } + + abstract boolean method3693(); + + abstract boolean method3694(); + + abstract boolean method3695(); + + abstract void method3696(int i); + + abstract Component80 method3697(int i, int i_172_, int i_173_, int i_174_, int i_175_, int i_176_); + + protected void finalize() { + method3635((byte) 46); + anInt4577++; + } + + abstract void KA(int i, int i_177_, int i_178_, int i_179_); + + abstract void method3698(); + + abstract boolean method3699(); + + abstract void method3700(float f, float f_180_, float f_181_); + + abstract void A(int i, Shader var_aa, int i_182_, int i_183_); + + abstract void method3701(Canvas canvas); + + abstract NodeBase method3702(int i); + + abstract void method3703(int i, int i_184_, int i_185_, int i_186_, int i_187_, int i_188_, Shader var_aa, int i_189_, int i_190_, int i_191_, int i_192_, int i_193_); + + abstract int method3704(); + + abstract DisplayModeManagerContainer204 method3705(); + + abstract int XA(); + + abstract void U(int i, int i_194_, int i_195_, int i_196_, int i_197_); + + /** + * Fill a rectangle on the current draw target. + * + * @param x left + * @param y top + * @param width width in pixels + * @param height height in pixels + * @param colour packed ARGB (alpha in high byte; console uses {@code 0x332277 | alpha<<24}) + * @param mode blend mode (1 = normal translucent fill used by console / Microbot panel) + */ + abstract void fillRect(int x, int y, int width, int height, int colour, int mode); + + abstract void GA(int i); + + abstract Component80 method3706(Component80 class299, Component80 class299_203_, float f, Component80 class299_204_); + + abstract void method3707(Rectangle[] rectangles, int i, int i_205_, int i_206_) throws Exception_Sub1; + + abstract boolean method3708(); + + abstract void method3709(int i, int i_207_, int i_208_, int i_209_, int i_210_, int i_211_); + + abstract void method3710(); + + abstract Component24 method3711(int[] is, int i, int i_212_, int i_213_, int i_214_, boolean bool); + + GraphicsToolkit(d var_d) { + this.aD4579 = var_d; + int i = -1; + for (int i_215_ = 0; i_215_ < 8; i_215_++) { + if (!DefinitionSub26.aBooleanArray9351[i_215_]) { + DefinitionSub26.aBooleanArray9351[i_215_] = true; + i = i_215_; + break; + } + } + if (i == -1) throw new IllegalStateException("NFTI"); + this.anInt4567 = i; + } + + static { + aClass351_4571 = new StringCache(73, -1); + } +} diff --git a/client/toolkit/base/MatrixSub1.java b/client/toolkit/base/MatrixSub1.java new file mode 100644 index 000000000..9bc2fa303 --- /dev/null +++ b/client/toolkit/base/MatrixSub1.java @@ -0,0 +1,266 @@ +/* MatrixSub1 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class MatrixSub1 +/** + * RENAMED from `Class101_Sub1` (JODE-obfuscated). + * Evidence: subclass of DisplayModeManagerContainer204 (hierarchy) + */ extends DisplayModeManagerContainer204 { + float aFloat5655; + static int anInt5656; + static int anInt5657; + static int anInt5658; + static int anInt5659; + static int anInt5660; + static int anInt5661; + float aFloat5662; + /** Last {@link System#currentTimeMillis()} seen by {@link Component240#currentTimeMillis}. */ + static long lastWallClockMillis; + float aFloat5664; + static int anInt5665; + float aFloat5666; + static int anInt5667; + static int anInt5668; + float aFloat5669; + static int anInt5670; + static int anInt5671; + float aFloat5672; + float aFloat5673; + static int anInt5674; + static Component163 aClass246_5675 = Component94.method2118((byte) -42); + static int anInt5676; + static StringCache aClass351_5677 = new StringCache(56, 7); + float aFloat5678; + static int anInt5679; + float aFloat5680; + float aFloat5681; + static int anInt5682; + static int anInt5683; + static d aD5684; + float aFloat5685; + float aFloat5686; + static int anInt5687; + static int anInt5688; + static DisplayModeManagerContainer369 aClass223_5689 = new DisplayModeManagerContainer369(4, 1); + + public static void method911(int i) { + if (i != 0) method911(-121); + aClass223_5689 = null; + aD5684 = null; + aClass246_5675 = null; + aClass351_5677 = null; + } + + final void method910() { + anInt5688++; + this.aFloat5672 = this.aFloat5678 = this.aFloat5664 = 1.0F; + this.aFloat5655 = this.aFloat5662 = this.aFloat5673 = this.aFloat5680 = this.aFloat5669 = this.aFloat5666 = this.aFloat5686 = this.aFloat5685 = this.aFloat5681 = 0.0F; + } + + final void method894(int i, int i_0_, int i_1_) { + anInt5674++; + this.aFloat5685 = (float) i_0_; + this.aFloat5655 = this.aFloat5662 = this.aFloat5673 = this.aFloat5680 = this.aFloat5669 = this.aFloat5666 = 0.0F; + this.aFloat5672 = this.aFloat5678 = this.aFloat5664 = 1.0F; + this.aFloat5686 = (float) i; + this.aFloat5681 = (float) i_1_; + } + + final void method903(int i, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_) { + anInt5682++; + float f = Component323.aFloatArray5876[i_4_ & 0x3fff]; + float f_7_ = Component323.aFloatArray5874[0x3fff & i_4_]; + float f_8_ = Component323.aFloatArray5876[i_5_ & 0x3fff]; + float f_9_ = Component323.aFloatArray5874[0x3fff & i_5_]; + float f_10_ = Component323.aFloatArray5876[0x3fff & i_6_]; + float f_11_ = Component323.aFloatArray5874[0x3fff & i_6_]; + float f_12_ = f_10_ * f_7_; + float f_13_ = f_7_ * f_11_; + this.aFloat5666 = f_11_ * f_9_ + f_8_ * f_12_; + this.aFloat5669 = f_10_ * -f_9_ + f_13_ * f_8_; + this.aFloat5680 = -f_7_; + this.aFloat5678 = f * f_10_; + this.aFloat5664 = f_8_ * f; + this.aFloat5662 = f * f_9_; + this.aFloat5655 = f_12_ * f_9_ + -f_8_ * f_11_; + this.aFloat5673 = f * f_11_; + this.aFloat5672 = f_13_ * f_9_ + f_10_ * f_8_; + this.aFloat5681 = (-((float) i_3_ * this.aFloat5664) + (-((float) i_2_ * this.aFloat5680) + (float) -i * this.aFloat5662)); + this.aFloat5686 = (this.aFloat5672 * (float) -i - (float) i_2_ * this.aFloat5673 - this.aFloat5669 * (float) i_3_); + this.aFloat5685 = (-(this.aFloat5666 * (float) i_3_) + (this.aFloat5655 * (float) -i - (float) i_2_ * this.aFloat5678)); + } + + static final int method912(int i) { + if (i != 0) return -41; + anInt5657++; + return Component83.anInt1663; + } + + final void method898(DisplayModeManagerContainer204 class101) { + anInt5683++; + MatrixSub1 class101_sub1_14_ = (MatrixSub1) class101; + this.aFloat5669 = class101_sub1_14_.aFloat5669; + this.aFloat5681 = class101_sub1_14_.aFloat5681; + this.aFloat5655 = class101_sub1_14_.aFloat5655; + this.aFloat5664 = class101_sub1_14_.aFloat5664; + this.aFloat5666 = class101_sub1_14_.aFloat5666; + this.aFloat5678 = class101_sub1_14_.aFloat5678; + this.aFloat5680 = class101_sub1_14_.aFloat5680; + this.aFloat5672 = class101_sub1_14_.aFloat5672; + this.aFloat5662 = class101_sub1_14_.aFloat5662; + this.aFloat5686 = class101_sub1_14_.aFloat5686; + this.aFloat5673 = class101_sub1_14_.aFloat5673; + this.aFloat5685 = class101_sub1_14_.aFloat5685; + } + + final void method905(int i, int i_15_, int i_16_, int[] is) { + is[0] = (int) ((float) i_16_ * this.aFloat5669 + (this.aFloat5673 * (float) i_15_ + this.aFloat5672 * (float) i)); + anInt5687++; + is[1] = (int) (this.aFloat5655 * (float) i + (float) i_15_ * this.aFloat5678 + this.aFloat5666 * (float) i_16_); + is[2] = (int) (this.aFloat5664 * (float) i_16_ + ((float) i * this.aFloat5662 + (float) i_15_ * this.aFloat5680)); + } + + final void method891(int i, int i_17_, int i_18_) { + this.aFloat5685 += (float) i_17_; + this.aFloat5681 += (float) i_18_; + this.aFloat5686 += (float) i; + anInt5661++; + } + + final void method908(int i) { + anInt5656++; + float f = Component323.aFloatArray5876[i & 0x3fff]; + float f_19_ = Component323.aFloatArray5874[i & 0x3fff]; + float f_20_ = this.aFloat5672; + float f_21_ = this.aFloat5673; + float f_22_ = this.aFloat5669; + this.aFloat5672 = -(f_19_ * this.aFloat5655) + f * f_20_; + float f_23_ = this.aFloat5686; + this.aFloat5673 = f_21_ * f - this.aFloat5678 * f_19_; + this.aFloat5655 = f * this.aFloat5655 + f_20_ * f_19_; + this.aFloat5669 = f * f_22_ - this.aFloat5666 * f_19_; + this.aFloat5678 = f * this.aFloat5678 + f_19_ * f_21_; + this.aFloat5666 = f_19_ * f_22_ + f * this.aFloat5666; + this.aFloat5686 = -(f_19_ * this.aFloat5685) + f_23_ * f; + this.aFloat5685 = f * this.aFloat5685 + f_19_ * f_23_; + } + + final void method900(int i) { + anInt5658++; + float f = Component323.aFloatArray5876[0x3fff & i]; + float f_24_ = Component323.aFloatArray5874[0x3fff & i]; + float f_25_ = this.aFloat5655; + float f_26_ = this.aFloat5678; + float f_27_ = this.aFloat5666; + this.aFloat5655 = f_25_ * f - this.aFloat5662 * f_24_; + float f_28_ = this.aFloat5685; + this.aFloat5662 = f_24_ * f_25_ + this.aFloat5662 * f; + this.aFloat5678 = f * f_26_ - this.aFloat5680 * f_24_; + this.aFloat5666 = -(f_24_ * this.aFloat5664) + f * f_27_; + this.aFloat5680 = this.aFloat5680 * f + f_24_ * f_26_; + this.aFloat5685 = f * f_28_ - f_24_ * this.aFloat5681; + this.aFloat5664 = f * this.aFloat5664 + f_27_ * f_24_; + this.aFloat5681 = f_28_ * f_24_ + f * this.aFloat5681; + } + + final void method892(int i, int i_29_, int i_30_, int[] is) { + i_30_ -= this.aFloat5681; + anInt5668++; + i_29_ -= this.aFloat5685; + i -= this.aFloat5686; + is[0] = (int) (this.aFloat5662 * (float) i_30_ + (this.aFloat5655 * (float) i_29_ + this.aFloat5672 * (float) i)); + is[1] = (int) ((float) i_29_ * this.aFloat5678 + this.aFloat5673 * (float) i + (float) i_30_ * this.aFloat5680); + is[2] = (int) ((float) i_30_ * this.aFloat5664 + ((float) i_29_ * this.aFloat5666 + (float) i * this.aFloat5669)); + } + + final void method899(int i) { + anInt5670++; + this.aFloat5672 = 1.0F; + this.aFloat5678 = this.aFloat5664 = Component323.aFloatArray5876[i & 0x3fff]; + this.aFloat5680 = Component323.aFloatArray5874[0x3fff & i]; + this.aFloat5666 = -this.aFloat5680; + this.aFloat5673 = this.aFloat5669 = this.aFloat5686 = this.aFloat5655 = this.aFloat5685 = this.aFloat5662 = this.aFloat5681 = 0.0F; + } + + final void method902(int i) { + anInt5667++; + this.aFloat5664 = 1.0F; + this.aFloat5672 = this.aFloat5678 = Component323.aFloatArray5876[0x3fff & i]; + this.aFloat5655 = Component323.aFloatArray5874[0x3fff & i]; + this.aFloat5669 = this.aFloat5686 = this.aFloat5666 = this.aFloat5685 = this.aFloat5662 = this.aFloat5680 = this.aFloat5681 = 0.0F; + this.aFloat5673 = -this.aFloat5655; + } + + final DisplayModeManagerContainer204 method907() { + anInt5660++; + MatrixSub1 class101_sub1_31_ = new MatrixSub1(); + class101_sub1_31_.aFloat5664 = this.aFloat5664; + class101_sub1_31_.aFloat5681 = this.aFloat5681; + class101_sub1_31_.aFloat5662 = this.aFloat5662; + class101_sub1_31_.aFloat5669 = this.aFloat5669; + class101_sub1_31_.aFloat5655 = this.aFloat5655; + class101_sub1_31_.aFloat5666 = this.aFloat5666; + class101_sub1_31_.aFloat5686 = this.aFloat5686; + class101_sub1_31_.aFloat5678 = this.aFloat5678; + class101_sub1_31_.aFloat5673 = this.aFloat5673; + class101_sub1_31_.aFloat5685 = this.aFloat5685; + class101_sub1_31_.aFloat5672 = this.aFloat5672; + class101_sub1_31_.aFloat5680 = this.aFloat5680; + return class101_sub1_31_; + } + + final void method895(int i) { + this.aFloat5678 = 1.0F; + anInt5676++; + this.aFloat5672 = this.aFloat5664 = Component323.aFloatArray5876[0x3fff & i]; + this.aFloat5669 = Component323.aFloatArray5874[i & 0x3fff]; + this.aFloat5673 = this.aFloat5686 = this.aFloat5655 = this.aFloat5666 = this.aFloat5685 = this.aFloat5680 = this.aFloat5681 = 0.0F; + this.aFloat5662 = -this.aFloat5669; + } + + final void method896(int i) { + anInt5659++; + float f = Component323.aFloatArray5876[0x3fff & i]; + float f_32_ = Component323.aFloatArray5874[i & 0x3fff]; + float f_33_ = this.aFloat5672; + float f_34_ = this.aFloat5673; + float f_35_ = this.aFloat5669; + this.aFloat5672 = f_33_ * f + f_32_ * this.aFloat5662; + float f_36_ = this.aFloat5686; + this.aFloat5673 = f * f_34_ + f_32_ * this.aFloat5680; + this.aFloat5662 = -(f_32_ * f_33_) + this.aFloat5662 * f; + this.aFloat5669 = f * f_35_ + f_32_ * this.aFloat5664; + this.aFloat5680 = -(f_32_ * f_34_) + f * this.aFloat5680; + this.aFloat5664 = -(f_32_ * f_35_) + f * this.aFloat5664; + this.aFloat5686 = f_36_ * f + f_32_ * this.aFloat5681; + this.aFloat5681 = f * this.aFloat5681 - f_32_ * f_36_; + } + + final void method890(int[] is) { + anInt5671++; + float f = -this.aFloat5686 + (float) is[0]; + float f_37_ = (float) is[1] - this.aFloat5685; + float f_38_ = (float) is[2] - this.aFloat5681; + is[2] = (int) (this.aFloat5669 * f + f_37_ * this.aFloat5666 + this.aFloat5664 * f_38_); + is[1] = (int) (this.aFloat5673 * f + f_37_ * this.aFloat5678 + f_38_ * this.aFloat5680); + is[0] = (int) (this.aFloat5662 * f_38_ + (f * this.aFloat5672 + this.aFloat5655 * f_37_)); + } + + static final boolean method913(byte i) { + if (i <= 115) return true; + anInt5679++; + return DisplayModeManagerContainer306.menuEntryCount > 0; + } + + public MatrixSub1() { + method910(); + } + + final void method897(int i, int i_39_, int i_40_, int[] is) { + anInt5665++; + is[1] = (int) ((float) i * this.aFloat5655 + this.aFloat5678 * (float) i_39_ + (float) i_40_ * this.aFloat5666 + this.aFloat5685); + is[0] = (int) ((float) i_40_ * this.aFloat5669 + (this.aFloat5673 * (float) i_39_ + (float) i * this.aFloat5672) + this.aFloat5686); + is[2] = (int) (this.aFloat5681 + (this.aFloat5680 * (float) i_39_ + (float) i * this.aFloat5662 + (float) i_40_ * this.aFloat5664)); + } +} diff --git a/client/toolkit/base/MatrixSub2.java b/client/toolkit/base/MatrixSub2.java new file mode 100644 index 000000000..23c74b43b --- /dev/null +++ b/client/toolkit/base/MatrixSub2.java @@ -0,0 +1,655 @@ +/* MatrixSub2 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class MatrixSub2 +/** + * RENAMED from `Class101_Sub2` (JODE-obfuscated). + * Evidence: subclass of DisplayModeManagerContainer204 (hierarchy) + */ extends DisplayModeManagerContainer204 { + static int anInt5690; + float aFloat5691; + static int anInt5692; + static int anInt5693; + static int anInt5694; + static int anInt5695; + static int anInt5696; + static int anInt5697; + static int anInt5698; + static StringCache aClass351_5699; + float aFloat5700; + static int anInt5701; + static int anInt5702; + static int anInt5703; + float aFloat5704; + static int anInt5705; + static int anInt5706; + static int anInt5707; + float aFloat5708; + static int anInt5709; + float aFloat5710; + float aFloat5711; + static int anInt5712; + static int anInt5713 = -1; + static int anInt5714; + static int anInt5715; + float aFloat5716; + static int anInt5717; + static int anInt5718; + static int anInt5719; + static int anInt5720; + static int anInt5721; + float aFloat5722; + static int anInt5723; + float aFloat5724; + static int anInt5725; + static int anInt5726; + static int anInt5727; + static int anInt5728; + float aFloat5729; + static int anInt5730; + static int anInt5731; + float aFloat5732; + static int anInt5733; + static int anInt5734; + static int anInt5735; + float aFloat5736; + static int anInt5737; + static int anInt5738; + static int anInt5739; + static int anInt5740; + static int anInt5741; + static Component183 aClass114_5742; + static int anInt5743; + static int anInt5744; + static long aLong5745; + + final void method902(int i) { + this.aFloat5716 = 1.0F; + anInt5712++; + this.aFloat5711 = this.aFloat5722 = Component323.aFloatArray5876[0x3fff & i]; + this.aFloat5708 = Component323.aFloatArray5874[i & 0x3fff]; + this.aFloat5700 = -this.aFloat5708; + this.aFloat5704 = this.aFloat5729 = this.aFloat5732 = this.aFloat5710 = this.aFloat5736 = this.aFloat5691 = this.aFloat5724 = 0.0F; + } + + final void method914(float f, float f_0_, int i, float f_1_) { + if (i == 0) { + this.aFloat5724 *= f_0_; + this.aFloat5729 *= f_1_; + this.aFloat5732 *= f; + this.aFloat5708 *= f; + this.aFloat5704 *= f_1_; + this.aFloat5722 *= f; + this.aFloat5710 *= f; + this.aFloat5716 *= f_0_; + this.aFloat5736 *= f_0_; + anInt5728++; + this.aFloat5711 *= f_1_; + this.aFloat5691 *= f_0_; + this.aFloat5700 *= f_1_; + } + } + + final void method894(int i, int i_2_, int i_3_) { + this.aFloat5724 = (float) i_3_; + this.aFloat5711 = this.aFloat5722 = this.aFloat5716 = 1.0F; + this.aFloat5710 = (float) i_2_; + this.aFloat5729 = (float) i; + anInt5706++; + this.aFloat5708 = this.aFloat5736 = this.aFloat5700 = this.aFloat5691 = this.aFloat5704 = this.aFloat5732 = 0.0F; + } + + final void method910() { + this.aFloat5711 = this.aFloat5722 = this.aFloat5716 = 1.0F; + this.aFloat5708 = this.aFloat5736 = this.aFloat5700 = this.aFloat5691 = this.aFloat5704 = this.aFloat5732 = this.aFloat5729 = this.aFloat5710 = this.aFloat5724 = 0.0F; + anInt5696++; + } + + final float[] method915(float[] fs, int i) { + fs[7] = this.aFloat5710; + anInt5726++; + fs[5] = this.aFloat5722; + fs[4] = this.aFloat5708; + fs[6] = this.aFloat5732; + fs[i] = this.aFloat5700; + fs[2] = this.aFloat5704; + fs[3] = this.aFloat5729; + fs[0] = this.aFloat5711; + return fs; + } + + final void method903(int i, int i_4_, int i_5_, int i_6_, int i_7_, int i_8_) { + anInt5733++; + float f = Component323.aFloatArray5876[i_6_ & 0x3fff]; + float f_9_ = Component323.aFloatArray5874[i_6_ & 0x3fff]; + float f_10_ = Component323.aFloatArray5876[0x3fff & i_7_]; + float f_11_ = Component323.aFloatArray5874[0x3fff & i_7_]; + float f_12_ = Component323.aFloatArray5876[0x3fff & i_8_]; + float f_13_ = Component323.aFloatArray5874[i_8_ & 0x3fff]; + float f_14_ = f_12_ * f_9_; + float f_15_ = f_9_ * f_13_; + this.aFloat5700 = f_13_ * f; + this.aFloat5704 = -f_11_ * f_12_ + f_10_ * f_15_; + this.aFloat5716 = f * f_10_; + this.aFloat5732 = f_13_ * f_11_ + f_14_ * f_10_; + this.aFloat5711 = f_10_ * f_12_ + f_15_ * f_11_; + this.aFloat5736 = f * f_11_; + this.aFloat5722 = f_12_ * f; + this.aFloat5691 = -f_9_; + this.aFloat5708 = f_11_ * f_14_ + f_13_ * -f_10_; + this.aFloat5729 = (-(this.aFloat5704 * (float) i_5_) + (-((float) i_4_ * this.aFloat5700) + this.aFloat5711 * (float) -i)); + this.aFloat5710 = ((float) -i * this.aFloat5708 - this.aFloat5722 * (float) i_4_ - (float) i_5_ * this.aFloat5732); + this.aFloat5724 = (-(this.aFloat5716 * (float) i_5_) + (this.aFloat5736 * (float) -i - this.aFloat5691 * (float) i_4_)); + } + + final void method895(int i) { + this.aFloat5722 = 1.0F; + anInt5738++; + this.aFloat5711 = this.aFloat5716 = Component323.aFloatArray5876[0x3fff & i]; + this.aFloat5704 = Component323.aFloatArray5874[i & 0x3fff]; + this.aFloat5736 = -this.aFloat5704; + this.aFloat5700 = this.aFloat5729 = this.aFloat5708 = this.aFloat5732 = this.aFloat5710 = this.aFloat5691 = this.aFloat5724 = 0.0F; + } + + final void method899(int i) { + this.aFloat5711 = 1.0F; + anInt5721++; + this.aFloat5722 = this.aFloat5716 = Component323.aFloatArray5876[0x3fff & i]; + this.aFloat5691 = Component323.aFloatArray5874[0x3fff & i]; + this.aFloat5700 = this.aFloat5704 = this.aFloat5729 = this.aFloat5708 = this.aFloat5710 = this.aFloat5736 = this.aFloat5724 = 0.0F; + this.aFloat5732 = -this.aFloat5691; + } + + final void method892(int i, int i_16_, int i_17_, int[] is) { + anInt5694++; + i_17_ -= this.aFloat5724; + i -= this.aFloat5729; + i_16_ -= this.aFloat5710; + is[2] = (int) ((float) i_17_ * this.aFloat5716 + ((float) i_16_ * this.aFloat5732 + (float) i * this.aFloat5704)); + is[0] = (int) ((float) i * this.aFloat5711 + (float) i_16_ * this.aFloat5708 + this.aFloat5736 * (float) i_17_); + is[1] = (int) (this.aFloat5700 * (float) i + this.aFloat5722 * (float) i_16_ + this.aFloat5691 * (float) i_17_); + } + + final void method916(float f, boolean bool, float f_18_, float f_19_) { + this.aFloat5710 = f; + this.aFloat5724 = f_18_; + this.aFloat5711 = this.aFloat5722 = this.aFloat5716 = 1.0F; + if (bool == true) { + this.aFloat5729 = f_19_; + this.aFloat5708 = this.aFloat5736 = this.aFloat5700 = this.aFloat5691 = this.aFloat5704 = this.aFloat5732 = 0.0F; + anInt5735++; + } + } + + final void method891(int i, int i_20_, int i_21_) { + this.aFloat5729 += (float) i; + this.aFloat5710 += (float) i_20_; + anInt5707++; + this.aFloat5724 += (float) i_21_; + } + + final void method917(DisplayModeManagerContainer204 class101, byte i) { + anInt5698++; + MatrixSub2 class101_sub2_22_ = (MatrixSub2) class101; + float f = this.aFloat5711; + float f_23_ = this.aFloat5708; + float f_24_ = this.aFloat5700; + float f_25_ = this.aFloat5722; + float f_26_ = this.aFloat5704; + float f_27_ = this.aFloat5732; + if (i <= 104) this.aFloat5732 = -0.557632F; + float f_28_ = this.aFloat5729; + this.aFloat5708 = (f * class101_sub2_22_.aFloat5708 + class101_sub2_22_.aFloat5722 * f_23_ + (this.aFloat5736 * class101_sub2_22_.aFloat5732)); + this.aFloat5711 = ((class101_sub2_22_.aFloat5704 * this.aFloat5736) + (class101_sub2_22_.aFloat5711 * f + f_23_ * class101_sub2_22_.aFloat5700)); + float f_29_ = this.aFloat5710; + this.aFloat5722 = ((class101_sub2_22_.aFloat5732 * this.aFloat5691) + (f_24_ * class101_sub2_22_.aFloat5708 + class101_sub2_22_.aFloat5722 * f_25_)); + this.aFloat5700 = ((this.aFloat5691 * class101_sub2_22_.aFloat5704) + (class101_sub2_22_.aFloat5711 * f_24_ + f_25_ * class101_sub2_22_.aFloat5700)); + this.aFloat5736 = (f_23_ * class101_sub2_22_.aFloat5691 + class101_sub2_22_.aFloat5736 * f + (this.aFloat5736 * class101_sub2_22_.aFloat5716)); + this.aFloat5691 = ((this.aFloat5691 * class101_sub2_22_.aFloat5716) + (f_25_ * class101_sub2_22_.aFloat5691 + class101_sub2_22_.aFloat5736 * f_24_)); + this.aFloat5732 = (class101_sub2_22_.aFloat5722 * f_27_ + class101_sub2_22_.aFloat5708 * f_26_ + (this.aFloat5716 * class101_sub2_22_.aFloat5732)); + this.aFloat5704 = ((this.aFloat5716 * class101_sub2_22_.aFloat5704) + (class101_sub2_22_.aFloat5711 * f_26_ + f_27_ * class101_sub2_22_.aFloat5700)); + this.aFloat5729 = (class101_sub2_22_.aFloat5729 + (f_28_ * class101_sub2_22_.aFloat5711 + class101_sub2_22_.aFloat5700 * f_29_ + (class101_sub2_22_.aFloat5704 * this.aFloat5724))); + this.aFloat5710 = (class101_sub2_22_.aFloat5708 * f_28_ + f_29_ * class101_sub2_22_.aFloat5722 + (this.aFloat5724 * class101_sub2_22_.aFloat5732) + class101_sub2_22_.aFloat5710); + this.aFloat5716 = ((this.aFloat5716 * class101_sub2_22_.aFloat5716) + (class101_sub2_22_.aFloat5736 * f_26_ + class101_sub2_22_.aFloat5691 * f_27_)); + this.aFloat5724 = (class101_sub2_22_.aFloat5736 * f_28_ + class101_sub2_22_.aFloat5691 * f_29_ + (this.aFloat5724 * class101_sub2_22_.aFloat5716) + class101_sub2_22_.aFloat5724); + } + + final float[] method918(float[] fs, int i) { + fs[7] = 0.0F; + fs[13] = this.aFloat5710; + fs[14] = this.aFloat5724; + fs[12] = this.aFloat5729; + fs[11] = 0.0F; + anInt5709++; + fs[9] = this.aFloat5732; + fs[8] = this.aFloat5704; + fs[4] = this.aFloat5700; + fs[0] = this.aFloat5711; + fs[10] = this.aFloat5716; + fs[5] = this.aFloat5722; + fs[15] = 1.0F; + fs[1] = this.aFloat5708; + fs[3] = (float) i; + fs[2] = this.aFloat5736; + fs[6] = this.aFloat5691; + return fs; + } + + final void method919(float f, float[] fs, float f_30_, float f_31_, float f_32_, byte i) { + anInt5727++; + if (i != -120) method921((byte) -93, false); + fs[0] = (f_30_ * this.aFloat5700 + f_31_ * this.aFloat5711 + this.aFloat5704 * f); + fs[1] = (this.aFloat5708 * f_31_ + f_30_ * this.aFloat5722 + this.aFloat5732 * f); + float f_33_; + float f_34_; + float f_35_; + if (f_31_ > 0.00390625F || f_31_ < -0.00390625F) { + float f_36_ = -f_32_ / f_31_; + f_34_ = (this.aFloat5724 + f_36_ * this.aFloat5736); + f_35_ = (this.aFloat5729 + f_36_ * this.aFloat5711); + f_33_ = (f_36_ * this.aFloat5708 + this.aFloat5710); + } else if (f_30_ <= 0.00390625F && f_30_ >= -0.00390625F) { + float f_38_ = -f_32_ / f; + f_35_ = (this.aFloat5704 * f_38_ + this.aFloat5729); + f_33_ = (this.aFloat5732 * f_38_ + this.aFloat5710); + f_34_ = (this.aFloat5724 + f_38_ * this.aFloat5716); + } else { + float f_37_ = -f_32_ / f_30_; + f_33_ = (this.aFloat5710 + f_37_ * this.aFloat5722); + f_34_ = (this.aFloat5724 + this.aFloat5691 * f_37_); + f_35_ = (this.aFloat5729 + this.aFloat5700 * f_37_); + } + fs[2] = (f * this.aFloat5716 + (this.aFloat5691 * f_30_ + f_31_ * this.aFloat5736)); + fs[3] = -(fs[2] * f_34_ + (fs[0] * f_35_ + fs[1] * f_33_)); + } + + final void method900(int i) { + anInt5734++; + float f = Component323.aFloatArray5876[0x3fff & i]; + float f_39_ = Component323.aFloatArray5874[0x3fff & i]; + float f_40_ = this.aFloat5708; + float f_41_ = this.aFloat5722; + float f_42_ = this.aFloat5732; + this.aFloat5708 = f_40_ * f - f_39_ * this.aFloat5736; + float f_43_ = this.aFloat5710; + this.aFloat5722 = f_41_ * f - f_39_ * this.aFloat5691; + this.aFloat5736 = f * this.aFloat5736 + f_39_ * f_40_; + this.aFloat5691 = f * this.aFloat5691 + f_39_ * f_41_; + this.aFloat5732 = f_42_ * f - this.aFloat5716 * f_39_; + this.aFloat5710 = f * f_43_ - f_39_ * this.aFloat5724; + this.aFloat5716 = f * this.aFloat5716 + f_42_ * f_39_; + this.aFloat5724 = f_39_ * f_43_ + f * this.aFloat5724; + } + + final void method920(float f, boolean bool, float f_44_, float f_45_) { + this.aFloat5724 += f_44_; + anInt5717++; + this.aFloat5729 += f_45_; + this.aFloat5710 += f; + if (bool != false) method915(null, 69); + } + + static final void method921(byte i, boolean bool) { + if (i == 99) { + for (SceneNode class348_sub9 = (SceneNode) SceneManager.aClass262_2859.first(4); class348_sub9 != null; class348_sub9 = (SceneNode) SceneManager.aClass262_2859.next((byte) 120)) { + if (class348_sub9.aClass348_Sub16_Sub5_6676 != null) { + PlayerState.aClass348_Sub16_Sub4_7065.method2880(class348_sub9.aClass348_Sub16_Sub5_6676); + class348_sub9.aClass348_Sub16_Sub5_6676 = null; + } + if (class348_sub9.aClass348_Sub16_Sub5_6673 != null) { + PlayerState.aClass348_Sub16_Sub4_7065.method2880(class348_sub9.aClass348_Sub16_Sub5_6673); + class348_sub9.aClass348_Sub16_Sub5_6673 = null; + } + class348_sub9.unlink((byte) 94); + } + anInt5739++; + if (bool) { + for (SceneNode class348_sub9 = (SceneNode) client.aClass262_5185.first(4); class348_sub9 != null; class348_sub9 = ((SceneNode) client.aClass262_5185.next((byte) 69))) { + if ((class348_sub9.aClass348_Sub16_Sub5_6676) != null) { + PlayerState.aClass348_Sub16_Sub4_7065.method2880(class348_sub9.aClass348_Sub16_Sub5_6676); + class348_sub9.aClass348_Sub16_Sub5_6676 = null; + } + class348_sub9.unlink((byte) 66); + } + for (SceneNode class348_sub9 = (SceneNode) HashNodeSub16Sub2.aClass356_10465.first(0); class348_sub9 != null; class348_sub9 = (SceneNode) HashNodeSub16Sub2.aClass356_10465.next(0)) { + if ((class348_sub9.aClass348_Sub16_Sub5_6676) != null) { + PlayerState.aClass348_Sub16_Sub4_7065.method2880(class348_sub9.aClass348_Sub16_Sub5_6676); + class348_sub9.aClass348_Sub16_Sub5_6676 = null; + } + class348_sub9.unlink((byte) 112); + } + } + } + } + + final float method922(byte i, float f, float f_46_, float f_47_) { + anInt5701++; + if (i <= 63) this.aFloat5700 = -0.2392172F; + return (this.aFloat5722 * f_47_ + f * this.aFloat5708 + f_46_ * this.aFloat5732 + this.aFloat5710); + } + + final void method923(float f, float f_48_, byte i, float f_49_, float[] fs) { + fs[2] = (f_49_ * this.aFloat5716 + (this.aFloat5691 * f_48_ + this.aFloat5736 * f)); + if (i > -23) method897(30, -104, -112, null); + anInt5697++; + fs[1] = (this.aFloat5732 * f_49_ + (f_48_ * this.aFloat5722 + f * this.aFloat5708)); + fs[0] = (f_49_ * this.aFloat5704 + (this.aFloat5711 * f + f_48_ * this.aFloat5700)); + } + + final float[] method924(int i, float[] fs) { + fs[2] = this.aFloat5704; + fs[0] = this.aFloat5711; + fs[6] = this.aFloat5732; + fs[13] = 0.0F; + fs[3] = this.aFloat5729; + fs[7] = this.aFloat5710; + fs[12] = 0.0F; + fs[14] = 0.0F; + anInt5705++; + fs[10] = this.aFloat5716; + fs[8] = this.aFloat5736; + fs[1] = this.aFloat5700; + fs[5] = this.aFloat5722; + fs[9] = this.aFloat5691; + fs[15] = 1.0F; + fs[4] = this.aFloat5708; + fs[i] = this.aFloat5724; + return fs; + } + + public static void method925(int i) { + if (i == -5997) { + aClass351_5699 = null; + aClass114_5742 = null; + } + } + + final DisplayModeManagerContainer204 method907() { + anInt5695++; + MatrixSub2 class101_sub2_50_ = new MatrixSub2(); + class101_sub2_50_.aFloat5691 = this.aFloat5691; + class101_sub2_50_.aFloat5724 = this.aFloat5724; + class101_sub2_50_.aFloat5700 = this.aFloat5700; + class101_sub2_50_.aFloat5729 = this.aFloat5729; + class101_sub2_50_.aFloat5736 = this.aFloat5736; + class101_sub2_50_.aFloat5710 = this.aFloat5710; + class101_sub2_50_.aFloat5722 = this.aFloat5722; + class101_sub2_50_.aFloat5704 = this.aFloat5704; + class101_sub2_50_.aFloat5708 = this.aFloat5708; + class101_sub2_50_.aFloat5716 = this.aFloat5716; + class101_sub2_50_.aFloat5711 = this.aFloat5711; + class101_sub2_50_.aFloat5732 = this.aFloat5732; + return class101_sub2_50_; + } + + final void method926(int i, DisplayModeManagerContainer204 class101) { + anInt5737++; + if (i != -15699) this.aFloat5722 = 0.6372093F; + MatrixSub2 class101_sub2_51_ = (MatrixSub2) class101; + this.aFloat5711 = class101_sub2_51_.aFloat5711; + this.aFloat5710 = 0.0F; + this.aFloat5722 = class101_sub2_51_.aFloat5722; + this.aFloat5736 = class101_sub2_51_.aFloat5736; + this.aFloat5691 = class101_sub2_51_.aFloat5691; + this.aFloat5716 = class101_sub2_51_.aFloat5716; + this.aFloat5700 = class101_sub2_51_.aFloat5700; + this.aFloat5708 = class101_sub2_51_.aFloat5708; + this.aFloat5732 = class101_sub2_51_.aFloat5732; + this.aFloat5724 = 0.0F; + this.aFloat5729 = 0.0F; + this.aFloat5704 = class101_sub2_51_.aFloat5704; + } + + final void method927(DisplayModeManagerContainer204 class101, DisplayModeManagerContainer204 class101_52_) { + try { + anInt5743++; + MatrixSub2 class101_sub2_53_ = (MatrixSub2) class101; + MatrixSub2 class101_sub2_54_ = (MatrixSub2) class101_52_; + this.aFloat5711 = ((class101_sub2_53_.aFloat5704 * class101_sub2_54_.aFloat5736) + ((class101_sub2_53_.aFloat5711 * class101_sub2_54_.aFloat5711) + (class101_sub2_54_.aFloat5708 * class101_sub2_53_.aFloat5700))); + this.aFloat5708 = ((class101_sub2_53_.aFloat5722 * class101_sub2_54_.aFloat5708) + (class101_sub2_54_.aFloat5711 * class101_sub2_53_.aFloat5708) + (class101_sub2_53_.aFloat5732 * class101_sub2_54_.aFloat5736)); + this.aFloat5736 = ((class101_sub2_54_.aFloat5736 * class101_sub2_53_.aFloat5716) + ((class101_sub2_53_.aFloat5736 * class101_sub2_54_.aFloat5711) + (class101_sub2_54_.aFloat5708 * class101_sub2_53_.aFloat5691))); + this.aFloat5700 = ((class101_sub2_54_.aFloat5691 * class101_sub2_53_.aFloat5704) + ((class101_sub2_54_.aFloat5722 * class101_sub2_53_.aFloat5700) + (class101_sub2_54_.aFloat5700 * class101_sub2_53_.aFloat5711))); + this.aFloat5722 = ((class101_sub2_53_.aFloat5708 * class101_sub2_54_.aFloat5700) + (class101_sub2_54_.aFloat5722 * class101_sub2_53_.aFloat5722) + (class101_sub2_53_.aFloat5732 * class101_sub2_54_.aFloat5691)); + this.aFloat5704 = ((class101_sub2_53_.aFloat5700 * class101_sub2_54_.aFloat5732) + (class101_sub2_53_.aFloat5711 * class101_sub2_54_.aFloat5704) + (class101_sub2_53_.aFloat5704 * class101_sub2_54_.aFloat5716)); + this.aFloat5691 = ((class101_sub2_53_.aFloat5716 * class101_sub2_54_.aFloat5691) + ((class101_sub2_53_.aFloat5736 * class101_sub2_54_.aFloat5700) + (class101_sub2_53_.aFloat5691 * class101_sub2_54_.aFloat5722))); + this.aFloat5732 = ((class101_sub2_53_.aFloat5708 * class101_sub2_54_.aFloat5704) + (class101_sub2_53_.aFloat5722 * class101_sub2_54_.aFloat5732) + (class101_sub2_54_.aFloat5716 * class101_sub2_53_.aFloat5732)); + this.aFloat5729 = (class101_sub2_53_.aFloat5729 + ((class101_sub2_54_.aFloat5724 * class101_sub2_53_.aFloat5704) + ((class101_sub2_54_.aFloat5710 * class101_sub2_53_.aFloat5700) + (class101_sub2_53_.aFloat5711 * (class101_sub2_54_.aFloat5729))))); + this.aFloat5716 = ((class101_sub2_53_.aFloat5691 * class101_sub2_54_.aFloat5732) + (class101_sub2_53_.aFloat5736 * class101_sub2_54_.aFloat5704) + (class101_sub2_53_.aFloat5716 * class101_sub2_54_.aFloat5716)); + this.aFloat5710 = (class101_sub2_53_.aFloat5710 + ((class101_sub2_53_.aFloat5732 * class101_sub2_54_.aFloat5724) + ((class101_sub2_54_.aFloat5710 * class101_sub2_53_.aFloat5722) + (class101_sub2_53_.aFloat5708 * (class101_sub2_54_.aFloat5729))))); + this.aFloat5724 = ((class101_sub2_53_.aFloat5691 * class101_sub2_54_.aFloat5710) + (class101_sub2_53_.aFloat5736 * class101_sub2_54_.aFloat5729) + (class101_sub2_54_.aFloat5724 * class101_sub2_53_.aFloat5716) + class101_sub2_53_.aFloat5724); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("haa.HA(" + (class101 != null ? "{...}" : "null") + ',' + (class101_52_ != null ? "{...}" : "null") + ')')); + } + } + + final float[] method928(float[] fs, int i) { + fs[13] = 0.0F; + fs[i] = this.aFloat5708; + fs[5] = this.aFloat5722; + fs[6] = 0.0F; + fs[3] = 0.0F; + fs[15] = 1.0F; + fs[4] = this.aFloat5700; + fs[14] = 0.0F; + fs[10] = this.aFloat5724; + fs[2] = 0.0F; + fs[0] = this.aFloat5711; + fs[7] = 0.0F; + fs[11] = 0.0F; + fs[12] = 0.0F; + anInt5690++; + fs[8] = this.aFloat5729; + fs[9] = this.aFloat5710; + return fs; + } + + final float method929(float f, float f_55_, byte i, float f_56_) { + anInt5720++; + if (i != 45) this.aFloat5722 = 0.64777815F; + return (f * this.aFloat5704 + (f_55_ * this.aFloat5700 + f_56_ * this.aFloat5711) + this.aFloat5729); + } + + final void method908(int i) { + anInt5702++; + float f = Component323.aFloatArray5876[i & 0x3fff]; + float f_57_ = Component323.aFloatArray5874[i & 0x3fff]; + float f_58_ = this.aFloat5711; + float f_59_ = this.aFloat5700; + float f_60_ = this.aFloat5704; + float f_61_ = this.aFloat5729; + this.aFloat5711 = f_58_ * f - this.aFloat5708 * f_57_; + this.aFloat5708 = f * this.aFloat5708 + f_58_ * f_57_; + this.aFloat5700 = f_59_ * f - this.aFloat5722 * f_57_; + this.aFloat5722 = this.aFloat5722 * f + f_59_ * f_57_; + this.aFloat5704 = f_60_ * f - f_57_ * this.aFloat5732; + this.aFloat5729 = -(f_57_ * this.aFloat5710) + f * f_61_; + this.aFloat5732 = f_57_ * f_60_ + f * this.aFloat5732; + this.aFloat5710 = f_57_ * f_61_ + this.aFloat5710 * f; + } + + final void method890(int[] is) { + anInt5715++; + float f = -this.aFloat5729 + (float) is[0]; + float f_62_ = (float) is[1] - this.aFloat5710; + float f_63_ = (float) is[2] - this.aFloat5724; + is[2] = (int) (f_63_ * this.aFloat5716 + (this.aFloat5704 * f + f_62_ * this.aFloat5732)); + is[1] = (int) (this.aFloat5691 * f_63_ + (this.aFloat5722 * f_62_ + f * this.aFloat5700)); + is[0] = (int) (this.aFloat5708 * f_62_ + this.aFloat5711 * f + f_63_ * this.aFloat5736); + } + + final void method897(int i, int i_64_, int i_65_, int[] is) { + is[2] = (int) ((float) i_64_ * this.aFloat5691 + this.aFloat5736 * (float) i + this.aFloat5716 * (float) i_65_ + this.aFloat5724); + anInt5723++; + is[1] = (int) (this.aFloat5732 * (float) i_65_ + (this.aFloat5722 * (float) i_64_ + (float) i * this.aFloat5708) + this.aFloat5710); + is[0] = (int) (this.aFloat5729 + (this.aFloat5704 * (float) i_65_ + ((float) i * this.aFloat5711 + (this.aFloat5700 * (float) i_64_)))); + } + + final void method905(int i, int i_66_, int i_67_, int[] is) { + is[0] = (int) ((float) i * this.aFloat5711 + this.aFloat5700 * (float) i_66_ + (float) i_67_ * this.aFloat5704); + is[1] = (int) ((float) i_66_ * this.aFloat5722 + this.aFloat5708 * (float) i + this.aFloat5732 * (float) i_67_); + anInt5741++; + is[2] = (int) ((float) i * this.aFloat5736 + this.aFloat5691 * (float) i_66_ + (float) i_67_ * this.aFloat5716); + } + + final float[] method930(int i, float[] fs) { + fs[7] = 0.0F; + fs[14] = 0.0F; + fs[8] = this.aFloat5736; + fs[6] = this.aFloat5732; + fs[4] = this.aFloat5708; + fs[2] = this.aFloat5704; + fs[11] = 0.0F; + anInt5719++; + fs[15] = 0.0F; + fs[9] = this.aFloat5691; + fs[12] = 0.0F; + fs[13] = (float) i; + fs[3] = 0.0F; + fs[1] = this.aFloat5700; + fs[0] = this.aFloat5711; + fs[10] = this.aFloat5716; + fs[5] = this.aFloat5722; + return fs; + } + + final void method931(int i, DisplayModeManagerContainer204 class101) { + anInt5730++; + MatrixSub2 class101_sub2_68_ = (MatrixSub2) class101; + this.aFloat5700 = class101_sub2_68_.aFloat5708; + this.aFloat5704 = class101_sub2_68_.aFloat5736; + this.aFloat5711 = class101_sub2_68_.aFloat5711; + this.aFloat5708 = class101_sub2_68_.aFloat5700; + this.aFloat5722 = class101_sub2_68_.aFloat5722; + this.aFloat5736 = class101_sub2_68_.aFloat5704; + this.aFloat5732 = class101_sub2_68_.aFloat5691; + this.aFloat5691 = class101_sub2_68_.aFloat5732; + if (i != -25519) method932(0.19733748F, -0.027194114F, -1.3929868F, (byte) 77); + this.aFloat5729 = -((this.aFloat5704 * class101_sub2_68_.aFloat5724) + ((class101_sub2_68_.aFloat5710 * this.aFloat5700) + (class101_sub2_68_.aFloat5729 * this.aFloat5711))); + this.aFloat5716 = class101_sub2_68_.aFloat5716; + this.aFloat5710 = -((class101_sub2_68_.aFloat5724 * this.aFloat5732) + ((this.aFloat5708 * class101_sub2_68_.aFloat5729) + (class101_sub2_68_.aFloat5710 * this.aFloat5722))); + this.aFloat5724 = -((class101_sub2_68_.aFloat5710 * this.aFloat5691) + (this.aFloat5736 * class101_sub2_68_.aFloat5729) + (this.aFloat5716 * class101_sub2_68_.aFloat5724)); + } + + final void method896(int i) { + anInt5725++; + float f = Component323.aFloatArray5876[i & 0x3fff]; + float f_69_ = Component323.aFloatArray5874[i & 0x3fff]; + float f_70_ = this.aFloat5711; + float f_71_ = this.aFloat5700; + float f_72_ = this.aFloat5704; + this.aFloat5711 = f * f_70_ + this.aFloat5736 * f_69_; + float f_73_ = this.aFloat5729; + this.aFloat5736 = -(f_69_ * f_70_) + this.aFloat5736 * f; + this.aFloat5700 = f * f_71_ + f_69_ * this.aFloat5691; + this.aFloat5691 = -(f_69_ * f_71_) + this.aFloat5691 * f; + this.aFloat5704 = f * f_72_ + this.aFloat5716 * f_69_; + this.aFloat5716 = -(f_72_ * f_69_) + this.aFloat5716 * f; + this.aFloat5729 = f_73_ * f + f_69_ * this.aFloat5724; + this.aFloat5724 = -(f_73_ * f_69_) + f * this.aFloat5724; + } + + final void method932(float f, float f_74_, float f_75_, byte i) { + this.aFloat5722 = f_74_; + this.aFloat5704 = 0.0F; + this.aFloat5700 = 0.0F; + anInt5692++; + this.aFloat5729 = 0.0F; + this.aFloat5716 = f; + this.aFloat5724 = 0.0F; + this.aFloat5732 = 0.0F; + this.aFloat5710 = 0.0F; + if (i > -5) method900(-55); + this.aFloat5736 = 0.0F; + this.aFloat5708 = 0.0F; + this.aFloat5691 = 0.0F; + this.aFloat5711 = f_75_; + } + + final float method933(byte i, float f, float f_76_, float f_77_) { + if (i != -105) this.aFloat5724 = -0.26493254F; + anInt5740++; + return (this.aFloat5724 + (this.aFloat5736 * f + f_77_ * this.aFloat5691 + this.aFloat5716 * f_76_)); + } + + public MatrixSub2() { + method910(); + } + + final void method934(byte i) { + this.aFloat5710 = -this.aFloat5710; + if (i == 64) { + this.aFloat5691 = -this.aFloat5691; + this.aFloat5736 = -this.aFloat5736; + this.aFloat5732 = -this.aFloat5732; + this.aFloat5724 = -this.aFloat5724; + anInt5731++; + this.aFloat5716 = -this.aFloat5716; + this.aFloat5708 = -this.aFloat5708; + this.aFloat5722 = -this.aFloat5722; + } + } + + final void method898(DisplayModeManagerContainer204 class101) { + anInt5693++; + MatrixSub2 class101_sub2_78_ = (MatrixSub2) class101; + this.aFloat5724 = class101_sub2_78_.aFloat5724; + this.aFloat5736 = class101_sub2_78_.aFloat5736; + this.aFloat5729 = class101_sub2_78_.aFloat5729; + this.aFloat5700 = class101_sub2_78_.aFloat5700; + this.aFloat5691 = class101_sub2_78_.aFloat5691; + this.aFloat5711 = class101_sub2_78_.aFloat5711; + this.aFloat5704 = class101_sub2_78_.aFloat5704; + this.aFloat5732 = class101_sub2_78_.aFloat5732; + this.aFloat5716 = class101_sub2_78_.aFloat5716; + this.aFloat5722 = class101_sub2_78_.aFloat5722; + this.aFloat5710 = class101_sub2_78_.aFloat5710; + this.aFloat5708 = class101_sub2_78_.aFloat5708; + } + + final void method935(float f, float f_79_, float f_80_, float f_81_, float f_82_, float f_83_, float f_84_, float f_85_, float f_86_, int i) { + anInt5718++; + this.aFloat5708 = f_79_; + this.aFloat5716 = f; + this.aFloat5700 = f_80_; + this.aFloat5724 = 0.0F; + this.aFloat5732 = f_85_; + this.aFloat5729 = 0.0F; + this.aFloat5722 = f_83_; + this.aFloat5704 = f_84_; + this.aFloat5710 = (float) i; + this.aFloat5691 = f_82_; + this.aFloat5736 = f_81_; + this.aFloat5711 = f_86_; + } + + final void method936(int i, int i_87_, int i_88_, float f, float f_89_, float f_90_, int i_91_) { + anInt5703++; + if (i == i_87_) { + this.aFloat5708 = this.aFloat5736 = this.aFloat5700 = this.aFloat5691 = this.aFloat5704 = this.aFloat5732 = 0.0F; + this.aFloat5729 = f - (float) i_91_; + this.aFloat5716 = 1.0F; + this.aFloat5710 = (float) -i_88_ + f_90_; + this.aFloat5711 = (float) (i_91_ * 2); + this.aFloat5722 = (float) (2 * i_88_); + this.aFloat5724 = f_89_; + } else { + float f_92_ = Component323.aFloatArray5876[i & 0x3fff]; + float f_93_ = Component323.aFloatArray5874[0x3fff & i]; + this.aFloat5711 = 2.0F * f_92_ * (float) i_91_; + this.aFloat5710 = (-0.5F * f_93_ - f_92_ * 0.5F) * (float) (2 * i_88_) + f_90_; + this.aFloat5722 = (float) i_88_ * (f_92_ * 2.0F); + this.aFloat5716 = 1.0F; + this.aFloat5700 = -2.0F * f_93_ * (float) i_88_; + this.aFloat5736 = this.aFloat5691 = this.aFloat5704 = this.aFloat5732 = 0.0F; + this.aFloat5724 = f_89_; + this.aFloat5708 = (float) i_91_ * (f_93_ * 2.0F); + this.aFloat5729 = f + (float) (2 * i_91_) * (0.5F * f_93_ - f_92_ * 0.5F); + } + } + + static { + aClass351_5699 = new StringCache(53, -1); + aClass114_5742 = new Component183(119, 6); + } +} diff --git a/client/toolkit/base/MatrixSub3.java b/client/toolkit/base/MatrixSub3.java new file mode 100644 index 000000000..2e5d1f27b --- /dev/null +++ b/client/toolkit/base/MatrixSub3.java @@ -0,0 +1,428 @@ +/* MatrixSub3 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class MatrixSub3 +/** + * RENAMED from `Class101_Sub3` (JODE-obfuscated). + * Evidence: subclass of DisplayModeManagerContainer204 (hierarchy) + */ extends DisplayModeManagerContainer204 { + static int anInt5746; + float aFloat5747; + static int anInt5748; + static int anInt5749; + float aFloat5750; + float aFloat5751; + static int anInt5752; + static int anInt5753; + float aFloat5754; + static int anInt5755; + float aFloat5756; + static int anInt5757; + static int anInt5758; + static int anInt5759; + static int anInt5760; + float aFloat5761; + float aFloat5762; + static int anInt5763; + static Component311 aClass326_5764; + static int anInt5765; + static int anInt5766; + static int anInt5767; + static int anInt5768 = 0; + float aFloat5769; + float aFloat5770; + static int anInt5771; + float aFloat5772; + static int anInt5773; + static int anInt5774; + static int anInt5775; + static int anInt5776; + static int anInt5777; + static int anInt5778; + static int anInt5779; + static int anInt5780; + float aFloat5781; + static int anInt5782; + static int anInt5783; + float aFloat5784; + static int anInt5785; + + final void method902(int i) { + anInt5779++; + this.aFloat5784 = 1.0F; + this.aFloat5770 = this.aFloat5769 = OggStream.aFloatArray6867[0x3fff & i]; + this.aFloat5761 = OggStream.aFloatArray6865[0x3fff & i]; + this.aFloat5781 = this.aFloat5747 = this.aFloat5762 = this.aFloat5772 = this.aFloat5756 = this.aFloat5754 = this.aFloat5751 = 0.0F; + this.aFloat5750 = -this.aFloat5761; + } + + final void method937(boolean bool, float f, float f_0_, float f_1_, float f_2_, float[] fs) { + anInt5765++; + float f_3_; + float f_4_; + float f_5_; + if (f > 0.00390625F || f < -0.00390625F) { + float f_6_ = -f_2_ / f; + f_4_ = (f_6_ * this.aFloat5770 + this.aFloat5747); + f_5_ = (this.aFloat5751 + this.aFloat5756 * f_6_); + f_3_ = (this.aFloat5772 + f_6_ * this.aFloat5761); + } else if (f_1_ <= 0.00390625F && f_1_ >= -0.00390625F) { + float f_8_ = -f_2_ / f_0_; + f_4_ = (f_8_ * this.aFloat5781 + this.aFloat5747); + f_3_ = (this.aFloat5762 * f_8_ + this.aFloat5772); + f_5_ = (this.aFloat5751 + f_8_ * this.aFloat5784); + } else { + float f_7_ = -f_2_ / f_1_; + f_3_ = (this.aFloat5769 * f_7_ + this.aFloat5772); + f_4_ = (this.aFloat5750 * f_7_ + this.aFloat5747); + f_5_ = (this.aFloat5754 * f_7_ + this.aFloat5751); + } + fs[0] = (f_0_ * this.aFloat5781 + (f * this.aFloat5770 + f_1_ * this.aFloat5750)); + fs[2] = (f_0_ * this.aFloat5784 + (this.aFloat5756 * f + this.aFloat5754 * f_1_)); + if (bool != true) this.aFloat5772 = -0.4364811F; + fs[1] = (this.aFloat5769 * f_1_ + this.aFloat5761 * f + this.aFloat5762 * f_0_); + fs[3] = -(fs[0] * f_4_ + f_3_ * fs[1] + f_5_ * fs[2]); + } + + final void method891(int i, int i_9_, int i_10_) { + this.aFloat5751 += (float) i_10_; + this.aFloat5772 += (float) i_9_; + this.aFloat5747 += (float) i; + anInt5785++; + } + + public static void method938(int i) { + aClass326_5764 = null; + if (i <= 8) aClass326_5764 = null; + } + + final void method900(int i) { + anInt5763++; + float f = OggStream.aFloatArray6867[0x3fff & i]; + float f_11_ = OggStream.aFloatArray6865[0x3fff & i]; + float f_12_ = this.aFloat5761; + float f_13_ = this.aFloat5769; + float f_14_ = this.aFloat5762; + this.aFloat5761 = f * f_12_ - this.aFloat5756 * f_11_; + float f_15_ = this.aFloat5772; + this.aFloat5756 = this.aFloat5756 * f + f_11_ * f_12_; + this.aFloat5769 = -(f_11_ * this.aFloat5754) + f_13_ * f; + this.aFloat5762 = f * f_14_ - this.aFloat5784 * f_11_; + this.aFloat5754 = f_13_ * f_11_ + f * this.aFloat5754; + this.aFloat5784 = f_14_ * f_11_ + f * this.aFloat5784; + this.aFloat5772 = -(f_11_ * this.aFloat5751) + f * f_15_; + this.aFloat5751 = f * this.aFloat5751 + f_15_ * f_11_; + } + + final void method939(float f, int i, float f_16_, int i_17_, int i_18_, int i_19_, float f_20_) { + if (i_18_ == 0) { + this.aFloat5761 = this.aFloat5756 = this.aFloat5750 = this.aFloat5754 = this.aFloat5781 = this.aFloat5762 = 0.0F; + this.aFloat5770 = (float) i; + this.aFloat5784 = 1.0F; + this.aFloat5769 = (float) i_17_; + } else { + float f_21_ = OggStream.aFloatArray6867[0x3fff & i_18_]; + float f_22_ = OggStream.aFloatArray6865[i_18_ & 0x3fff]; + this.aFloat5761 = (float) i * f_22_; + this.aFloat5769 = (float) i_17_ * f_21_; + this.aFloat5756 = this.aFloat5754 = this.aFloat5781 = this.aFloat5762 = 0.0F; + this.aFloat5784 = 1.0F; + this.aFloat5750 = -f_22_ * (float) i_17_; + this.aFloat5770 = (float) i * f_21_; + } + anInt5746++; + this.aFloat5747 = f_16_; + this.aFloat5772 = f_20_; + this.aFloat5751 = f; + int i_23_ = -88 / ((i_19_ - 6) / 39); + } + + final void method897(int i, int i_24_, int i_25_, int[] is) { + anInt5767++; + is[0] = (int) ((float) i_25_ * this.aFloat5781 + ((float) i * this.aFloat5770 + (float) i_24_ * this.aFloat5750) + this.aFloat5747); + is[2] = (int) ((float) i_24_ * this.aFloat5754 + this.aFloat5756 * (float) i + this.aFloat5784 * (float) i_25_ + this.aFloat5751); + is[1] = (int) (this.aFloat5772 + ((float) i_25_ * this.aFloat5762 + ((float) i * this.aFloat5761 + ((float) i_24_ * this.aFloat5769)))); + } + + final void method894(int i, int i_26_, int i_27_) { + this.aFloat5751 = (float) i_27_; + this.aFloat5747 = (float) i; + this.aFloat5761 = this.aFloat5756 = this.aFloat5750 = this.aFloat5754 = this.aFloat5781 = this.aFloat5762 = 0.0F; + this.aFloat5772 = (float) i_26_; + this.aFloat5770 = this.aFloat5769 = this.aFloat5784 = 1.0F; + anInt5749++; + } + + final void method890(int[] is) { + anInt5775++; + float f = (float) is[0] - this.aFloat5747; + float f_28_ = -this.aFloat5772 + (float) is[1]; + float f_29_ = -this.aFloat5751 + (float) is[2]; + is[1] = (int) (this.aFloat5769 * f_28_ + f * this.aFloat5750 + this.aFloat5754 * f_29_); + is[2] = (int) (this.aFloat5784 * f_29_ + (f_28_ * this.aFloat5762 + this.aFloat5781 * f)); + is[0] = (int) (this.aFloat5770 * f + this.aFloat5761 * f_28_ + f_29_ * this.aFloat5756); + } + + final void method903(int i, int i_30_, int i_31_, int i_32_, int i_33_, int i_34_) { + anInt5782++; + float f = OggStream.aFloatArray6867[i_32_ & 0x3fff]; + float f_35_ = OggStream.aFloatArray6865[i_32_ & 0x3fff]; + float f_36_ = OggStream.aFloatArray6867[0x3fff & i_33_]; + float f_37_ = OggStream.aFloatArray6865[0x3fff & i_33_]; + float f_38_ = OggStream.aFloatArray6867[0x3fff & i_34_]; + float f_39_ = OggStream.aFloatArray6865[0x3fff & i_34_]; + float f_40_ = f_35_ * f_38_; + float f_41_ = f_39_ * f_35_; + this.aFloat5762 = f_40_ * f_36_ + f_37_ * f_39_; + this.aFloat5756 = f * f_37_; + this.aFloat5770 = f_37_ * f_41_ + f_36_ * f_38_; + this.aFloat5769 = f_38_ * f; + this.aFloat5754 = -f_35_; + this.aFloat5750 = f_39_ * f; + this.aFloat5784 = f * f_36_; + this.aFloat5781 = f_38_ * -f_37_ + f_36_ * f_41_; + this.aFloat5761 = f_40_ * f_37_ + -f_36_ * f_39_; + this.aFloat5751 = (this.aFloat5756 * (float) -i - this.aFloat5754 * (float) i_30_ - (float) i_31_ * this.aFloat5784); + this.aFloat5747 = (-(this.aFloat5750 * (float) i_30_) + this.aFloat5770 * (float) -i - this.aFloat5781 * (float) i_31_); + this.aFloat5772 = (-((float) i_31_ * this.aFloat5762) + (this.aFloat5761 * (float) -i - this.aFloat5769 * (float) i_30_)); + } + + final void method908(int i) { + anInt5774++; + float f = OggStream.aFloatArray6867[i & 0x3fff]; + float f_42_ = OggStream.aFloatArray6865[i & 0x3fff]; + float f_43_ = this.aFloat5770; + float f_44_ = this.aFloat5750; + float f_45_ = this.aFloat5781; + this.aFloat5770 = f * f_43_ - this.aFloat5761 * f_42_; + float f_46_ = this.aFloat5747; + this.aFloat5761 = this.aFloat5761 * f + f_43_ * f_42_; + this.aFloat5750 = -(this.aFloat5769 * f_42_) + f_44_ * f; + this.aFloat5781 = -(f_42_ * this.aFloat5762) + f_45_ * f; + this.aFloat5769 = f * this.aFloat5769 + f_42_ * f_44_; + this.aFloat5762 = this.aFloat5762 * f + f_45_ * f_42_; + this.aFloat5747 = -(f_42_ * this.aFloat5772) + f * f_46_; + this.aFloat5772 = this.aFloat5772 * f + f_42_ * f_46_; + } + + final float[] method940(int i) { + Component383.aFloatArray8575[0] = this.aFloat5770; + Component383.aFloatArray8575[9] = this.aFloat5762; + Component383.aFloatArray8575[12] = this.aFloat5747; + anInt5777++; + Component383.aFloatArray8575[i] = this.aFloat5761; + Component383.aFloatArray8575[6] = this.aFloat5754; + Component383.aFloatArray8575[4] = this.aFloat5750; + Component383.aFloatArray8575[10] = this.aFloat5784; + Component383.aFloatArray8575[8] = this.aFloat5781; + Component383.aFloatArray8575[14] = this.aFloat5751; + Component383.aFloatArray8575[13] = this.aFloat5772; + Component383.aFloatArray8575[2] = this.aFloat5756; + Component383.aFloatArray8575[5] = this.aFloat5769; + return Component383.aFloatArray8575; + } + + final DisplayModeManagerContainer204 method907() { + anInt5748++; + MatrixSub3 class101_sub3_47_ = new MatrixSub3(); + class101_sub3_47_.aFloat5747 = this.aFloat5747; + class101_sub3_47_.aFloat5750 = this.aFloat5750; + class101_sub3_47_.aFloat5769 = this.aFloat5769; + class101_sub3_47_.aFloat5784 = this.aFloat5784; + class101_sub3_47_.aFloat5772 = this.aFloat5772; + class101_sub3_47_.aFloat5762 = this.aFloat5762; + class101_sub3_47_.aFloat5781 = this.aFloat5781; + class101_sub3_47_.aFloat5770 = this.aFloat5770; + class101_sub3_47_.aFloat5756 = this.aFloat5756; + class101_sub3_47_.aFloat5761 = this.aFloat5761; + class101_sub3_47_.aFloat5751 = this.aFloat5751; + class101_sub3_47_.aFloat5754 = this.aFloat5754; + return class101_sub3_47_; + } + + static final void method941(int i, int i_48_) { + DisplayModeManagerContainer123.anInt1290 = i_48_; + anInt5755++; + if (i <= 113) aClass326_5764 = null; + } + + final void method942(int i) { + this.aFloat5754 = -this.aFloat5754; + anInt5760++; + this.aFloat5761 = -this.aFloat5761; + if (i == 3128) { + this.aFloat5769 = -this.aFloat5769; + this.aFloat5756 = -this.aFloat5756; + this.aFloat5784 = -this.aFloat5784; + this.aFloat5762 = -this.aFloat5762; + this.aFloat5772 = -this.aFloat5772; + this.aFloat5751 = -this.aFloat5751; + } + } + + final void method892(int i, int i_49_, int i_50_, int[] is) { + i_49_ -= this.aFloat5772; + anInt5773++; + i_50_ -= this.aFloat5751; + i -= this.aFloat5747; + is[0] = (int) (this.aFloat5756 * (float) i_50_ + ((float) i * this.aFloat5770 + (float) i_49_ * this.aFloat5761)); + is[2] = (int) (this.aFloat5781 * (float) i + (float) i_49_ * this.aFloat5762 + this.aFloat5784 * (float) i_50_); + is[1] = (int) ((float) i_50_ * this.aFloat5754 + (this.aFloat5750 * (float) i + (float) i_49_ * this.aFloat5769)); + } + + static final BrowserUrlOpener method943(boolean bool) { + anInt5776++; + if (bool != false) method943(true); + return Component122.aClass348_Sub16_Sub3_1564; + } + + final void method898(DisplayModeManagerContainer204 class101) { + anInt5758++; + MatrixSub3 class101_sub3_51_ = (MatrixSub3) class101; + this.aFloat5751 = class101_sub3_51_.aFloat5751; + this.aFloat5769 = class101_sub3_51_.aFloat5769; + this.aFloat5770 = class101_sub3_51_.aFloat5770; + this.aFloat5781 = class101_sub3_51_.aFloat5781; + this.aFloat5747 = class101_sub3_51_.aFloat5747; + this.aFloat5754 = class101_sub3_51_.aFloat5754; + this.aFloat5761 = class101_sub3_51_.aFloat5761; + this.aFloat5772 = class101_sub3_51_.aFloat5772; + this.aFloat5784 = class101_sub3_51_.aFloat5784; + this.aFloat5762 = class101_sub3_51_.aFloat5762; + this.aFloat5756 = class101_sub3_51_.aFloat5756; + this.aFloat5750 = class101_sub3_51_.aFloat5750; + } + + final void method895(int i) { + anInt5780++; + this.aFloat5769 = 1.0F; + this.aFloat5770 = this.aFloat5784 = OggStream.aFloatArray6867[0x3fff & i]; + this.aFloat5781 = OggStream.aFloatArray6865[0x3fff & i]; + this.aFloat5756 = -this.aFloat5781; + this.aFloat5750 = this.aFloat5747 = this.aFloat5761 = this.aFloat5762 = this.aFloat5772 = this.aFloat5754 = this.aFloat5751 = 0.0F; + } + + final void method899(int i) { + anInt5757++; + this.aFloat5770 = 1.0F; + this.aFloat5769 = this.aFloat5784 = OggStream.aFloatArray6867[0x3fff & i]; + this.aFloat5754 = OggStream.aFloatArray6865[0x3fff & i]; + this.aFloat5762 = -this.aFloat5754; + this.aFloat5750 = this.aFloat5781 = this.aFloat5747 = this.aFloat5761 = this.aFloat5772 = this.aFloat5756 = this.aFloat5751 = 0.0F; + } + + static final void method944(int i, byte[][] is, Component251 class237_sub1) { + try { + if (i != -8212) method944(65, null, null); + anInt5752++; + for (int i_52_ = 0; i_52_ < class237_sub1.anInt3130; i_52_++) { + Component381.method3570(false); + for (int i_53_ = 0; (i_53_ < AbstractShaderSub4.anInt7319 >> 3); i_53_++) { + for (int i_54_ = 0; (ParametricDefinition.anInt9109 >> 3 > i_54_); i_54_++) { + int i_55_ = (Component240.anIntArrayArrayArray1116[i_52_][i_53_][i_54_]); + if (i_55_ != -1) { + int i_56_ = 0x3 & i_55_ >> 24; + if (!class237_sub1.aBoolean3109 || i_56_ == 0) { + int i_57_ = (0x6 & i_55_) >> 1; + int i_58_ = i_55_ >> 14 & 0x3ff; + int i_59_ = (0x3ff9 & i_55_) >> 3; + int i_60_ = i_59_ / 8 + (i_58_ / 8 << 8); + for (int i_61_ = 0; i_61_ < OggStreamReader.anIntArray9042.length; i_61_++) { + if (i_60_ == (OggStreamReader.anIntArray9042[i_61_]) && is[i_61_] != null) { + class237_sub1.method1692((i_58_ & 0x7) * 8, i_57_, is[i_61_], i_56_, (i_59_ & 0x7) * 8, NodeSub8.toolkit, 8 * i_54_, 8 * i_53_, i + 8219, NodeSub45.aClass361Array7108, i_52_); + break; + } + } + } + } + } + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("iaa.W(" + i + ',' + (is != null ? "{...}" : "null") + ',' + (class237_sub1 != null ? "{...}" : "null") + ')')); + } + } + + final void method910() { + anInt5759++; + this.aFloat5770 = this.aFloat5769 = this.aFloat5784 = 1.0F; + this.aFloat5761 = this.aFloat5756 = this.aFloat5750 = this.aFloat5754 = this.aFloat5781 = this.aFloat5762 = this.aFloat5747 = this.aFloat5772 = this.aFloat5751 = 0.0F; + } + + final void method896(int i) { + anInt5766++; + float f = OggStream.aFloatArray6867[i & 0x3fff]; + float f_62_ = OggStream.aFloatArray6865[i & 0x3fff]; + float f_63_ = this.aFloat5770; + float f_64_ = this.aFloat5750; + float f_65_ = this.aFloat5781; + this.aFloat5770 = f_63_ * f + this.aFloat5756 * f_62_; + float f_66_ = this.aFloat5747; + this.aFloat5756 = f * this.aFloat5756 - f_62_ * f_63_; + this.aFloat5750 = f * f_64_ + f_62_ * this.aFloat5754; + this.aFloat5754 = -(f_64_ * f_62_) + this.aFloat5754 * f; + this.aFloat5781 = f * f_65_ + this.aFloat5784 * f_62_; + this.aFloat5784 = -(f_65_ * f_62_) + f * this.aFloat5784; + this.aFloat5747 = this.aFloat5751 * f_62_ + f * f_66_; + this.aFloat5751 = this.aFloat5751 * f - f_62_ * f_66_; + } + + final float[] method945(boolean bool) { + if (bool != true) this.aFloat5756 = 0.66213727F; + Component383.aFloatArray8575[14] = 0.0F; + Component383.aFloatArray8575[0] = this.aFloat5770; + Component383.aFloatArray8575[13] = 0.0F; + Component383.aFloatArray8575[1] = this.aFloat5761; + Component383.aFloatArray8575[12] = 0.0F; + Component383.aFloatArray8575[10] = this.aFloat5784; + Component383.aFloatArray8575[5] = this.aFloat5769; + Component383.aFloatArray8575[6] = this.aFloat5754; + Component383.aFloatArray8575[9] = this.aFloat5762; + anInt5778++; + Component383.aFloatArray8575[2] = this.aFloat5756; + Component383.aFloatArray8575[4] = this.aFloat5750; + Component383.aFloatArray8575[8] = this.aFloat5781; + return Component383.aFloatArray8575; + } + + final void method946(DisplayModeManagerContainer204 class101, int i) { + anInt5771++; + MatrixSub3 class101_sub3_67_ = (MatrixSub3) class101; + this.aFloat5781 = class101_sub3_67_.aFloat5756; + if (i != -7929) method899(52); + this.aFloat5750 = class101_sub3_67_.aFloat5761; + this.aFloat5770 = class101_sub3_67_.aFloat5770; + this.aFloat5756 = class101_sub3_67_.aFloat5781; + this.aFloat5762 = class101_sub3_67_.aFloat5754; + this.aFloat5761 = class101_sub3_67_.aFloat5750; + this.aFloat5769 = class101_sub3_67_.aFloat5769; + this.aFloat5747 = -((class101_sub3_67_.aFloat5772 * this.aFloat5750) + (class101_sub3_67_.aFloat5747 * this.aFloat5770) + (class101_sub3_67_.aFloat5751 * this.aFloat5781)); + this.aFloat5754 = class101_sub3_67_.aFloat5762; + this.aFloat5784 = class101_sub3_67_.aFloat5784; + this.aFloat5772 = -((class101_sub3_67_.aFloat5772 * this.aFloat5769) + (class101_sub3_67_.aFloat5747 * this.aFloat5761) + (class101_sub3_67_.aFloat5751 * this.aFloat5762)); + this.aFloat5751 = -((this.aFloat5756 * class101_sub3_67_.aFloat5747) + (this.aFloat5754 * class101_sub3_67_.aFloat5772) + (class101_sub3_67_.aFloat5751 * this.aFloat5784)); + } + + static final void method947(byte i) { + anInt5783++; + if (i != 41) anInt5768 = 38; + for (SceneNode class348_sub9 = (SceneNode) SceneManager.aClass262_2859.first(4); class348_sub9 != null; class348_sub9 = (SceneNode) SceneManager.aClass262_2859.next((byte) 117)) { + if (class348_sub9.aBoolean6684) class348_sub9.method2781((byte) 21); + } + for (SceneNode class348_sub9 = (SceneNode) client.aClass262_5185.first(4); class348_sub9 != null; class348_sub9 = ((SceneNode) client.aClass262_5185.next((byte) 39))) { + if (class348_sub9.aBoolean6684) class348_sub9.method2781((byte) 21); + } + } + + public MatrixSub3() { + method910(); + } + + final void method905(int i, int i_68_, int i_69_, int[] is) { + anInt5753++; + is[1] = (int) ((float) i_69_ * this.aFloat5762 + ((float) i_68_ * this.aFloat5769 + this.aFloat5761 * (float) i)); + is[2] = (int) (this.aFloat5754 * (float) i_68_ + this.aFloat5756 * (float) i + (float) i_69_ * this.aFloat5784); + is[0] = (int) (this.aFloat5750 * (float) i_68_ + this.aFloat5770 * (float) i + this.aFloat5781 * (float) i_69_); + } +} diff --git a/client/toolkit/base/ShaderImpl.java b/client/toolkit/base/ShaderImpl.java new file mode 100644 index 000000000..f8647e2c7 --- /dev/null +++ b/client/toolkit/base/ShaderImpl.java @@ -0,0 +1,23 @@ +/* ShaderImpl - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class ShaderImpl +/** + * RENAMED from `ShaderImpl` (JODE-obfuscated). + * Evidence: extends Shader (Shader); implements Interface19; 2 native methods + */ extends Shader implements Interface19 { + long nativeid; + + public final native void w(boolean bool); + + protected final void finalize() { + if (this.nativeid != 0L) Component36.method1947(0, this); + } + + private final native void ma(OpenGLToolkit var_oa, NativeHandle var_ya, int i, int i_0_, int[] is, int[] is_1_); + + ShaderImpl(OpenGLToolkit var_oa, NativeHandle var_ya, int i, int i_2_, int[] is, int[] is_3_) { + ma(var_oa, var_ya, i, i_2_, is, is_3_); + } +} diff --git a/client/toolkit/base/ToolkitFactory.java b/client/toolkit/base/ToolkitFactory.java new file mode 100644 index 000000000..467270b2e --- /dev/null +++ b/client/toolkit/base/ToolkitFactory.java @@ -0,0 +1,62 @@ +/* ToolkitFactory - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class93` (JODE-obfuscated). + * GraphicsToolkit factory. {@link #createOpenGlToolkit} builds the OpenGL toolkit; + * {@link #clearStatics} tears down static refs. Called at client startup. + */ + +import jaggl.OpenGL; + +import java.applet.Applet; +import java.awt.*; + +final class ToolkitFactory { + static int anInt1529; + static Applet anApplet1530; + static String[] aStringArray1531 = {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"}; + static int anInt1532; + static int anInt1533; + static int anInt1534 = 0; + + public static void clearStatics(int i) { + aStringArray1531 = null; + int i_0_ = 2 / ((i - 33) / 38); + anApplet1530 = null; + } + + static final GraphicsToolkit createOpenGlToolkit(Canvas canvas, d var_d, CacheStore class45, int i, int i_1_) { + try { + anInt1532++; + if (!JaclibLoader.loadNatives(27165)) throw new RuntimeException(""); + if (!DefinitionSub19.tryLoadNativeLibrary(i ^ ~0x158f, "jaggl")) throw new RuntimeException(""); + OpenGL opengl = new OpenGL(); + long l = opengl.init(canvas, 8, 8, 8, 24, 0, i_1_); + if (l == 0L) throw new RuntimeException(""); + if (i != 25542) return null; + GlExtensionManager class377 = new GlExtensionManager(opengl, canvas, l, var_d, class45, i_1_); + class377.method3930((byte) 26); + return class377; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("lt.D(" + (canvas != null ? "{...}" : "null") + ',' + (var_d != null ? "{...}" : "null") + ',' + (class45 != null ? "{...}" : "null") + ',' + i + ',' + i_1_ + ')')); + } + } + + static final byte[] method863(int i, byte i_2_, byte[] is) { + if (i_2_ < 64) return null; + anInt1529++; + byte[] is_3_ = new byte[i]; + Component313.arraycopy(is, 0, is_3_, 0, i); + return is_3_; + } + + static final byte[] method864(int i, byte[] is, int i_4_, int i_5_) { + anInt1533++; + if (i_5_ >= -30) aStringArray1531 = null; + byte[] is_6_ = new byte[i_4_]; + Component313.arraycopy(is, i, is_6_, 0, i_4_); + return is_6_; + } +} diff --git a/client/toolkit/base/ToolkitLoader.java b/client/toolkit/base/ToolkitLoader.java new file mode 100644 index 000000000..0f45f8282 --- /dev/null +++ b/client/toolkit/base/ToolkitLoader.java @@ -0,0 +1,28 @@ +/* ToolkitLoader - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class96` (JODE-obfuscated). + * Toolkit bootstrap/loader. Uses reflection (D3DToolkit.class.getDeclaredMethod("createToolkit", Canvas, d, CacheStore, Integer)) to locate and invoke the active toolkit's createToolkit factory method at client startup; selects the GL/D3D implementation. + */ + +import java.awt.*; +import java.lang.reflect.Method; + +final class ToolkitLoader { + /** Reflectively construct a Direct3D toolkit via {@code D3DToolkit.createToolkit} (desktop only). */ + static final GraphicsToolkit createD3DToolkit(int i, int i_0_, d var_d, CacheStore class45, Canvas canvas) { + if (i_0_ != 18993) return null; + GraphicsToolkit var_ha; + try { + if (!JaclibLoader.loadNatives(27165)) throw new RuntimeException(""); + if (!DefinitionSub19.tryLoadNativeLibrary(-30282, "jagdx")) throw new RuntimeException(""); + Method method = (D3DToolkit.class.getDeclaredMethod("createToolkit", Canvas.class, d.class, CacheStore.class, Integer.class)); + var_ha = (GraphicsToolkit) method.invoke(null, new Object[]{canvas, var_d, class45, new Integer(i)}); + } catch (Throwable throwable) { + throw new RuntimeException(""); + } + return var_ha; + } +} diff --git a/client/toolkit/base/a.java b/client/toolkit/base/a.java new file mode 100644 index 000000000..e7ea446e3 --- /dev/null +++ b/client/toolkit/base/a.java @@ -0,0 +1,163 @@ +/* a - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class a +/** + * RENAMED from `a` (JODE-obfuscated). + * Evidence: implements Interface19 (toolkit iface); 15 native JNI methods; instantiates i (i) + */ implements Interface19 { + private final i anI5105; + long nativeid; + private final i anI5106; + private final i anI5107; + private final i anI5108; + private final i anI5109; + private final i anI5110; + private final i anI5111; + Runnable aRunnable5112; + private final i anI5113; + private final i anI5114; + private final OpenGLToolkit anOa5115; + private final i anI5116; + + final void method142(s var_s, int i, int i_0_) { + H(this.nativeid, ((t) var_s).nativeid, i, i_0_); + } + + private final native boolean R(long l, long l_1_, int i, int i_2_, long l_3_, boolean bool); + + final boolean method143(DisplayModeManagerContainer370 class64, int i, int i_4_, DisplayModeManagerContainer204 class101, boolean bool, int i_5_) { + return n(this.nativeid, ((i) class64).nativeid, i, i_4_, ((OpenGLMatrix) class101).nativeid, bool, i_5_); + } + + final void method144(DisplayModeManagerContainer370 class64, DisplayModeManagerContainer370 class64_6_, int i, int i_7_, int i_8_, boolean bool) { + r(this.nativeid, ((i) class64).nativeid, ((i) class64_6_).nativeid, i, i_7_, i_8_, bool); + } + + private final native void E(long l, boolean bool); + + private final native void e(long l, long l_9_, int[] is, long l_10_); + + private final native void W(long l); + + protected final void finalize() { + if (this.nativeid != 0L) Component36.method1947(0, this); + } + + final void method145(DisplayModeManagerContainer370 class64, DisplayModeManagerContainer204 class101, int[] is, int i) { + UA(this.nativeid, ((i) class64).nativeid, ((OpenGLMatrix) class101).nativeid, is, i); + } + + private final native boolean n(long l, long l_11_, int i, int i_12_, long l_13_, boolean bool, int i_14_); + + final boolean method146(DisplayModeManagerContainer370 class64, int i, int i_15_, DisplayModeManagerContainer204 class101, boolean bool) { + return R(this.nativeid, ((i) class64).nativeid, i, i_15_, ((OpenGLMatrix) class101).nativeid, bool); + } + + final void method147(s var_s, int i, int i_16_, int i_17_) { + Z(this.nativeid, ((t) var_s).nativeid, i, i_16_, i_17_); + } + + public final void w(boolean bool) { + E(this.nativeid, bool); + } + + final void method148(s var_s, int i, int i_18_, int i_19_, int i_20_, int i_21_, int i_22_, int i_23_, boolean[][] bools) { + ta(this.nativeid, ((t) var_s).nativeid, i, i_18_, i_19_, i_20_, i_21_, i_22_, i_23_, bools); + } + + final void method149(DisplayModeManagerContainer370 class64, DisplayModeManagerContainer204 class101, int[] is, int i, int i_24_) { + f(this.nativeid, ((i) class64).nativeid, ((OpenGLMatrix) class101).nativeid, is, i, i_24_); + } + + private final native void ShaderImpl(long l, GraphicsToolkit var_ha, int i, int i_25_, int i_26_, int i_27_, int i_28_, int i_29_, int i_30_); + + private final native void O(long l, GraphicsToolkit var_ha, int[] is, int[] is_31_, int[] is_32_, short[] is_33_, int i); + + final void method150(GraphicsToolkit var_ha, int i, int i_34_, int i_35_, int i_36_, int i_37_, int i_38_, int i_39_) { + ShaderImpl(this.nativeid, var_ha, i, i_34_, i_35_, i_36_, i_37_, i_38_, i_39_); + } + + private final native void f(long l, long l_40_, long l_41_, int[] is, int i, int i_42_); + + private final native void r(long l, long l_43_, long l_44_, int i, int i_45_, int i_46_, boolean bool); + + final void method151(DisplayModeManagerContainer370 class64, int[] is, DisplayModeManagerContainer204 class101) { + e(this.nativeid, ((i) class64).nativeid, is, ((OpenGLMatrix) class101).nativeid); + } + + final DisplayModeManagerContainer370 method152(i var_i, byte i, int i_47_, boolean bool) { + i var_i_48_; + i var_i_49_; + if (i == 1) { + var_i_48_ = anI5110; + var_i_49_ = anI5106; + } else if (i == 2) { + var_i_48_ = anI5107; + var_i_49_ = anI5111; + } else if (i == 3) { + var_i_48_ = anI5109; + var_i_49_ = anI5108; + } else if (i == 4) { + var_i_48_ = anI5113; + var_i_49_ = anI5116; + } else if (i == 5) { + var_i_48_ = anI5114; + var_i_49_ = anI5105; + } else var_i_49_ = var_i_48_ = new i(anOa5115); + var_i.ZA(var_i_49_, var_i_48_, i_47_, i != 0, bool); + var_i_49_.aClass129Array5119 = var_i.aClass129Array5119; + var_i_49_.aClass342Array5118 = var_i.aClass342Array5118; + return var_i_49_; + } + + private final native void ta(long l, long l_50_, int i, int i_51_, int i_52_, int i_53_, int i_54_, int i_55_, int i_56_, boolean[][] bools); + + private final native void Z(long l, long l_57_, int i, int i_58_, int i_59_); + + private final void method153() { + W(this.nativeid); + } + + final void method154() { + this.aRunnable5112 = Thread.currentThread(); + method157(); + } + + private final native void M(long l); + + private final native void H(long l, long l_60_, int i, int i_61_); + + private final native void UA(long l, long l_62_, long l_63_, int[] is, int i); + + final void method155(GraphicsToolkit var_ha, int[] is, int[] is_64_, int[] is_65_, short[] is_66_, int i) { + O(this.nativeid, var_ha, is, is_64_, is_65_, is_66_, i); + } + + private final native void HA(long l, GraphicsToolkit var_ha, int i, int i_67_); + + final void method156() { + this.aRunnable5112 = null; + method153(); + } + + private final void method157() { + M(this.nativeid); + } + + a(OpenGLToolkit var_oa, int i, int i_68_) { + anOa5115 = var_oa; + anI5106 = new i(anOa5115); + anI5111 = new i(anOa5115); + anI5108 = new i(anOa5115); + anI5116 = new i(anOa5115); + anI5105 = new i(anOa5115); + anI5110 = new i(anOa5115); + anI5107 = new i(anOa5115); + anI5109 = new i(anOa5115); + anI5113 = new i(anOa5115); + anI5114 = new i(anOa5115); + HA(this.nativeid, var_oa, i, i_68_); + } +} diff --git a/client/toolkit/base/d.java b/client/toolkit/base/d.java new file mode 100644 index 000000000..1f7fd4c37 --- /dev/null +++ b/client/toolkit/base/d.java @@ -0,0 +1,21 @@ +/* d - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +interface d +/** + * RENAMED from `d` (JODE-obfuscated). + * Evidence: interface (no impl); used as type + */ { + float[] method1(int i, float f, boolean bool, int i_0_, int i_1_, int i_2_); + + int method2(boolean bool); + + Component319 method3(int i, int i_3_); + + boolean method4(int i, int i_4_); + + int[] method5(boolean bool, int i, float f, int i_5_, int i_6_, int i_7_); + + int[] method6(int i, int i_8_, float f, int i_9_, boolean bool, int i_10_); +} diff --git a/client/src/p.java b/client/toolkit/base/p.java similarity index 75% rename from client/src/p.java rename to client/toolkit/base/p.java index eb13a89a3..ae86f6fc4 100644 --- a/client/src/p.java +++ b/client/toolkit/base/p.java @@ -4,7 +4,11 @@ import java.awt.*; -final class p extends Class348 implements Interface19 { +final class p +/** + * RENAMED from `p` (JODE-obfuscated). + * Evidence: extends Node; implements Interface19; 5 native methods + */ extends Node implements Interface19 { long nativeid; private static boolean aBoolean5144 = false; int anInt5145; @@ -12,19 +16,19 @@ final class p extends Class348 implements Interface19 { Canvas aCanvas5147; int anInt5148; - private final native void sa(oa var_oa, Canvas canvas, int i, int i_0_); + private final native void sa(OpenGLToolkit var_oa, Canvas canvas, int i, int i_0_); public final native void w(boolean bool); private final native void H(int i, int i_1_, int i_2_, int i_3_); - private final native void oa(Canvas canvas, int i, int i_4_); + private final native void OpenGLToolkit(Canvas canvas, int i, int i_4_); private final void method3432(Exception exception) { if (!aBoolean5144) { - aLong5146 = Class62.method599(-54); + aLong5146 = Component240.currentTimeMillis(-54); aBoolean5144 = true; - } else if (Class62.method599(-88) - aLong5146 < 30000L) this.aCanvas5147.repaint(); + } else if (Component240.currentTimeMillis(-88) - aLong5146 < 30000L) this.aCanvas5147.repaint(); else throw new RuntimeException(exception.getMessage()); } @@ -43,10 +47,10 @@ final void method3433(int i, int i_10_) { } protected final void finalize() { - if (this.nativeid != 0L) Class257.method1947(0, this); + if (this.nativeid != 0L) Component36.method1947(0, this); } - p(oa var_oa, Canvas canvas, int i, int i_11_) { + p(OpenGLToolkit var_oa, Canvas canvas, int i, int i_11_) { this.aCanvas5147 = canvas; this.anInt5145 = i; this.anInt5148 = i_11_; @@ -70,7 +74,7 @@ final void method3434(Rectangle[] rectangles, int i, int i_12_, int i_13_) { final void method3435(Canvas canvas, int i, int i_15_) { this.anInt5145 = i; this.anInt5148 = i_15_; - oa(canvas, i, i_15_); + OpenGLToolkit(canvas, i, i_15_); } final void method3436() { diff --git a/client/toolkit/d3d/D3DToolkit.java b/client/toolkit/d3d/D3DToolkit.java new file mode 100644 index 000000000..693a5d85e --- /dev/null +++ b/client/toolkit/d3d/D3DToolkit.java @@ -0,0 +1,912 @@ +/* D3DToolkit - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class378` (JODE-obfuscated). + * Direct3D (DirectX) toolkit implementation. Extends the GlToolkitSub3 toolkit base; provides the native createToolkit(Canvas, d, CacheStore, int, int) entry point referenced by the toolkit bootstrap, and carries Direct3D-specific native peers. + */ + +import jaclib.peer.hb; +import jagdx.*; + +import java.awt.*; + +public final class D3DToolkit extends GlToolkitSub3 { + private final boolean[] aBooleanArray9784; + private int anInt9785 = 0; + private boolean[] aBooleanArray9786; + private Component312 aClass53_9787; + hb aHb9788; + private final D3DLIGHT aD3DLIGHT9789; + private static int[] anIntArray9790 = {22, 23}; + D3DCAPS aD3DCAPS9791; + boolean aBoolean9792; + private IDirect3D anIDirect3D9793; + private IDirect3DVertexShader anIDirect3DVertexShader9794; + private Component246[] aClass209Array9795; + private D3DLIGHT aD3DLIGHT9796; + private static float[] aFloatArray9797 = new float[16]; + boolean aBoolean9798; + private final int anInt9799; + private D3DPRESENT_PARAMETERS aD3DPRESENT_PARAMETERS9800; + private boolean aBoolean9801 = false; + boolean aBoolean9802; + PixelBuffer aPixelBuffer9803; + private final boolean[] aBooleanArray9804; + private int[] anIntArray9805; + private final boolean[] aBooleanArray9806; + private int anInt9807; + private final D3DLIGHT aD3DLIGHT9808; + private static int[] anIntArray9809 = {77, 80}; + IDirect3DDevice anIDirect3DDevice9810; + GeometryBuffer aGeometryBuffer9811; + + private static final int method3952(Component246 class209, byte i) { + if (DisplayModeManagerContainer5.aClass209_1212 == class209) return 2; + if (DisplayModeManagerContainer105.aClass209_4874 == class209) return 1; + if (i <= 57) anIntArray9790 = null; + throw new IllegalArgumentException(); + } + + final void method3928(int i) { + aD3DLIGHT9789.SetAmbient(this.aFloat8180 * this.aFloat8093, this.aFloat8093 * this.aFloat8087, this.aFloat8168 * this.aFloat8093, (float) i); + aBoolean9801 = false; + } + + final void method3829(DisplayModeManagerContainer88 class70, int i, byte i_0_, boolean bool) { + if (i_0_ == 80) { + int i_1_ = 0; + int i_2_ = i; + int i_3_; + while_232_: + do { + do { + if (i_2_ == 1) { + i_3_ = 6; + break while_232_; + } else if (i_2_ != 2) break; + i_3_ = 27; + break while_232_; + } while (false); + i_3_ = 5; + } while (false); + if (bool) i_1_ |= 0x10; + this.anIDirect3DDevice9810.SetTextureStageState(this.anInt8175, i_3_, method3961(class70, i_0_ + -78) | i_1_); + } + } + + final int[] ShaderImpl(int i, int i_4_, int i_5_, int i_6_) { + int[] is = null; + IDirect3DSurface idirect3dsurface = this.anIDirect3DDevice9810.c(0); + IDirect3DSurface idirect3dsurface_7_ = this.anIDirect3DDevice9810.a(i_5_, i_6_, 21, 0, 0, true); + if (ue.a((this.anIDirect3DDevice9810.StretchRect(idirect3dsurface, i, i_4_, i_5_, i_6_, idirect3dsurface_7_, 0, 0, i_5_, i_6_, 0)), false) && ue.a(idirect3dsurface_7_.LockRect(0, 0, i_5_, i_6_, 16, (this.aPixelBuffer9803)), false)) { + is = new int[i_6_ * i_5_]; + int i_8_ = this.aPixelBuffer9803.getRowPitch(); + if (i_8_ != 4 * i_5_) { + for (int i_9_ = 0; i_6_ > i_9_; i_9_++) + this.aPixelBuffer9803.b(is, i_9_ * i_5_, i_9_ * i_8_, i_5_); + } else this.aPixelBuffer9803.b(is, 0, 0, i_5_ * i_6_); + idirect3dsurface_7_.UnlockRect(); + } + idirect3dsurface.a(9275); + idirect3dsurface_7_.a(9275); + return is; + } + + final void method3868(boolean bool) { + if (bool) method3832(-4, (byte) -39); + } + + final void method3862(int i, Component387 class130) { + dxVertexLayout var_dxVertexLayout = (dxVertexLayout) class130; + this.anIDirect3DDevice9810.SetVertexDeclaration(var_dxVertexLayout.anIDirect3DVertexDeclaration5803); + if (i != 0) method3910((byte) -110, 113); + } + + private static final int method3953(Component158 class21, byte i) { + if (i != -111) method3952(null, (byte) -118); + if (class21 == Component217.aClass21_3217) return 2; + if (GlWaterShader.aClass21_8832 == class21) return 3; + if (Component11.aClass21_3572 == class21) return 1; + if (class21 == VideoAdDisplay.aClass21_3181) return 4; + if (HashNodeSub16.aClass21_9661 == class21) return 6; + if (class21 == BufferCacheSub3.aClass21_8320) return 5; + throw new IllegalArgumentException(""); + } + + final void method3954(int i, Component294 class310_sub2) { + method3956((byte) -56, class310_sub2); + if (aBooleanArray9786[this.anInt8175] == !class310_sub2.aBoolean6334) { + this.anIDirect3DDevice9810.SetSamplerState(this.anInt8175, 1, !class310_sub2.aBoolean6334 ? 3 : 1); + aBooleanArray9786[this.anInt8175] = class310_sub2.aBoolean6334; + } + if (i == 13700) { + if (!aBooleanArray9806[this.anInt8175] == class310_sub2.aBoolean6335) { + this.anIDirect3DDevice9810.SetSamplerState(this.anInt8175, 2, !class310_sub2.aBoolean6335 ? 3 : 1); + aBooleanArray9806[this.anInt8175] = class310_sub2.aBoolean6335; + } + } + } + + final void method3841(byte i) { + this.anIDirect3DDevice9810.a(14, ((this.aBoolean8124) && (this.aBoolean8118))); + if (i != -116) method3960(true); + } + + final void method3698() { + /* empty */ + } + + final Interface18_Impl1 method3872(int i, int i_10_, DisplayModeManagerContainer42 class304, boolean bool, int i_11_, byte[] is) { + if (bool != true) return null; + return new Component378(this, class304, i_10_, i_11_, i, is); + } + + final void method3827(byte i) { + if (i > -30) aClass53_9787 = null; + this.anIDirect3DDevice9810.a(28, (this.aBoolean8148 && this.aBoolean8123 && this.anInt8091 >= 0)); + } + + final void method3901(byte i) { + if (this.aBoolean8069) { + aFloatArray9797[1] = 0.0F; + aFloatArray9797[2] = 0.0F; + aFloatArray9797[15] = 1.0F; + aFloatArray9797[3] = 0.0F; + aFloatArray9797[9] = 0.0F; + aFloatArray9797[6] = 0.0F; + aFloatArray9797[0] = 1.0F; + aFloatArray9797[7] = 0.0F; + aFloatArray9797[11] = 0.0F; + aFloatArray9797[13] = 0.0F; + aFloatArray9797[10] = 1.0F; + aFloatArray9797[8] = 0.0F; + aFloatArray9797[12] = 0.0F; + aFloatArray9797[5] = 1.0F; + aFloatArray9797[14] = 0.0F; + aFloatArray9797[4] = 0.0F; + } else this.aClass101_Sub2_8074.method918(aFloatArray9797, 0); + if (i < -18) this.anIDirect3DDevice9810.SetTransform(256, aFloatArray9797); + } + + final void method3926(byte i, boolean bool) { + if (i < 34) this.aBoolean9798 = false; + this.anIDirect3DDevice9810.a(161, bool); + } + + final void method3924(boolean bool, boolean bool_12_, int i, DisplayModeManagerContainer88 class70, boolean bool_13_) { + int i_14_ = i; + int i_15_; + while_233_: + do { + do { + if (1 == i_14_) { + i_15_ = 3; + break while_233_; + } else if (i_14_ != 2) break; + i_15_ = 26; + break while_233_; + } while (false); + i_15_ = 2; + } while (false); + int i_16_ = 0; + if (bool) i_16_ |= 0x20; + if (bool_12_) aD3DPRESENT_PARAMETERS9800 = null; + if (bool_13_) i_16_ |= 0x10; + this.anIDirect3DDevice9810.SetTextureStageState(this.anInt8175, i_15_, i_16_ | method3961(class70, 2)); + } + + final void method3892(int i) { + aD3DLIGHT9789.SetDirection(-this.aFloatArray8170[0], -this.aFloatArray8170[1], -this.aFloatArray8170[2]); + aD3DLIGHT9796.SetDirection(-this.aFloatArray8102[i], -this.aFloatArray8102[1], -this.aFloatArray8102[2]); + aBoolean9801 = false; + } + + final Interface13 method3624(int i, int i_17_) { + return null; + } + + private static final int method3955(int i, Component267 class229) { + if (ShaderCompilerSub3.aClass229_6519 == class229) return 2; + if (Component385.aClass229_2207 == class229) return 4; + if (Component253.aClass229_3196 != class229) { + if (class229 != DisplayModeManagerContainer64.aClass229_9011) { + if (class229 == NodeSub7.aClass229_6644) return 10; + } else return 7; + } else return 26; + if (i <= 16) method3955(-116, null); + throw new IllegalArgumentException(); + } + + final void method3910(byte i, int i_18_) { + if (i != -26) this.aD3DCAPS9791 = null; + this.anIDirect3DDevice9810.SetTextureStageState(this.anInt8175, 11, i_18_); + } + + static final GraphicsToolkit createToolkit(Canvas canvas, d var_d, CacheStore class45, Integer integer) { + D3DToolkit class378 = null; + D3DToolkit class378_19_; + try { + int i = 0; + int i_20_ = 1; + hb var_hb = new hb(); + IDirect3D idirect3d = IDirect3D.a(-2147483616, var_hb); + D3DCAPS d3dcaps = idirect3d.b(i, i_20_); + if ((d3dcaps.RasterCaps & 0x1000000) == 0) throw new RuntimeException(""); + if (d3dcaps.MaxSimultaneousTextures < 2) throw new RuntimeException(""); + if ((0x2 & d3dcaps.TextureOpCaps) == 0) throw new RuntimeException(""); + if ((d3dcaps.TextureOpCaps & 0x8) == 0) throw new RuntimeException(""); + if ((0x40 & d3dcaps.TextureOpCaps) == 0) throw new RuntimeException(""); + if ((0x200 & d3dcaps.TextureOpCaps) == 0) throw new RuntimeException(""); + if ((0x2000000 & d3dcaps.TextureOpCaps) == 0) throw new RuntimeException(""); + if (0 == (0x10 & (d3dcaps.DestBlendCaps & d3dcaps.SrcBlendCaps))) throw new RuntimeException(""); + if ((d3dcaps.DestBlendCaps & d3dcaps.SrcBlendCaps & 0x20) == 0) throw new RuntimeException(""); + if (0 == (d3dcaps.SrcBlendCaps & d3dcaps.DestBlendCaps & 0x2)) throw new RuntimeException(""); + if (0 < d3dcaps.MaxActiveLights && 2 > d3dcaps.MaxActiveLights) throw new RuntimeException(""); + if (d3dcaps.MaxStreams < 5) throw new RuntimeException(""); + D3DPRESENT_PARAMETERS d3dpresent_parameters = new D3DPRESENT_PARAMETERS(canvas); + if (!method3964(d3dpresent_parameters, 0, i, idirect3d, i_20_, integer.intValue())) throw new RuntimeException(""); + d3dpresent_parameters.PresentationInterval = -2147483648; + d3dpresent_parameters.EnableAutoDepthStencil = true; + d3dpresent_parameters.Windowed = true; + int i_21_ = 2; + if ((0x100000 & d3dcaps.DevCaps) != 0) i_21_ |= 0x10; + Object object = null; + IDirect3DDevice idirect3ddevice; + try { + idirect3ddevice = idirect3d.a(i, i_20_, canvas, i_21_ | 0x40, d3dpresent_parameters); + } catch (fda var_fda) { + idirect3ddevice = idirect3d.a(i, i_20_, canvas, i_21_ | 0x20, d3dpresent_parameters); + } + Component312 class53 = new Component312(idirect3ddevice.b(0), idirect3ddevice.c()); + class378 = new D3DToolkit(i, i_20_, canvas, var_hb, idirect3d, idirect3ddevice, class53, d3dpresent_parameters, d3dcaps, var_d, class45, integer.intValue()); + class378.method3930((byte) 26); + class378_19_ = class378; + } catch (RuntimeException runtimeexception) { + if (class378 != null) class378.method3652(); + throw runtimeexception; + } + return class378_19_; + } + + final void method3911(Canvas canvas, int i, Object object) { + if (i != 1) anIDirect3D9793 = null; + } + + final void method3956(byte i, DisplayModeManagerContainer318 class310) { + this.anIDirect3DDevice9810.SetTexture(this.anInt8175, class310.method2314(17723)); + if (i <= -53) { + if (aClass209Array9795[this.anInt8175] == class310.aClass209_3894) { + if (aBooleanArray9804[this.anInt8175] == !class310.aBoolean3892) { + this.anIDirect3DDevice9810.SetSamplerState(this.anInt8175, 7, (class310.aBoolean3892 ? method3952(class310.aClass209_3894, (byte) 86) : 0)); + aBooleanArray9804[this.anInt8175] = class310.aBoolean3892; + } + } else { + int i_22_ = method3952(class310.aClass209_3894, (byte) 82); + this.anIDirect3DDevice9810.SetSamplerState(this.anInt8175, 6, i_22_); + this.anIDirect3DDevice9810.SetSamplerState(this.anInt8175, 5, i_22_); + aClass209Array9795[this.anInt8175] = class310.aClass209_3894; + if (aBooleanArray9804[this.anInt8175] != class310.aBoolean3892) { + this.anIDirect3DDevice9810.SetSamplerState(this.anInt8175, 7, (!class310.aBoolean3892 ? 0 : method3952(class310.aClass209_3894, (byte) 68))); + aBooleanArray9804[this.anInt8175] = class310.aBoolean3892; + } + } + if (!aBooleanArray9784[this.anInt8175]) { + aBooleanArray9784[this.anInt8175] = true; + method3935(-123); + method3920(10); + } + } + } + + final Interface3 method3665(int i, int i_23_) { + return null; + } + + final void method3813(boolean bool) { + this.anIDirect3DDevice9810.SetTransform(3, this.aFloatArray8135); + if (bool != true) method3963(-7, null); + } + + final void method3957(IDirect3DVertexShader idirect3dvertexshader, byte i) { + if (i == -89) { + anIDirect3DVertexShader9794 = idirect3dvertexshader; + this.anIDirect3DDevice9810.SetVertexShader(idirect3dvertexshader); + method3940(1); + } + } + + final void method3938(Component158 class21, int i, Interface5_Impl2 interface5_impl2, int i_24_, int i_25_, int i_26_, int i_27_) { + this.anIDirect3DDevice9810.SetIndices(((Component93) interface5_impl2).anIDirect3DIndexBuffer8517); + this.anIDirect3DDevice9810.DrawIndexedPrimitive(method3953(class21, (byte) -111), 0, i_24_, i_26_, i_25_, i); + if (i_27_ < 46) method3931(true, null, null); + } + + final Interface4 method3634(Interface3 interface3, Interface13 interface13) { + return null; + } + + final void method3672() { + /* empty */ + } + + final void method3888(int i) { + if (i != 6259) method3882((byte) -77); + this.anIDirect3DDevice9810.SetScissorRect(this.anInt8181 - -this.anInt8106, this.anInt8109 - -this.anInt8165, this.anInt8183, this.anInt8096); + } + + final void method3707(Rectangle[] rectangles, int i, int i_28_, int i_29_) throws Exception_Sub1 { + method3626(i_28_, i_29_); + } + + final boolean method3931(boolean bool, DisplayModeManagerContainer42 class304, Component342 class68) { + D3DDISPLAYMODE d3ddisplaymode = new D3DDISPLAYMODE(); + if (bool != true) aBooleanArray9786 = null; + return (ue.a(anIDirect3D9793.a(anInt9799, d3ddisplaymode), !bool) && ue.a((anIDirect3D9793.CheckDeviceFormat(anInt9799, anInt9807, d3ddisplaymode.Format, 0, 4, method3958(22, class68, class304))), false)); + } + + final void method3881(Object object, byte i, Canvas canvas) { + if (i == 99) aClass53_9787 = (Component312) object; + } + + final void method3842(boolean bool) { + float f = (!this.aBoolean8110 ? 0.0F : this.aFloat8174); + float f_30_ = (!this.aBoolean8110 ? 0.0F : -this.aFloat8186); + aD3DLIGHT9789.SetDiffuse(f * this.aFloat8180, this.aFloat8087 * f, f * this.aFloat8168, 0.0F); + if (bool == true) { + aD3DLIGHT9796.SetDiffuse(this.aFloat8180 * f_30_, this.aFloat8087 * f_30_, this.aFloat8168 * f_30_, 0.0F); + aBoolean9801 = false; + } + } + + static final int method3958(int i, Component342 class68, DisplayModeManagerContainer42 class304) { + if (class68 == Component342.aClass68_1183) { + if (NodeSub45.aClass304_7103 != class304) { + if (Component83.aClass304_1662 == class304) return 21; + if (DefinitionSub38.aClass304_9471 == class304) return 28; + if (DefinitionSub22.aClass304_9303 == class304) return 50; + if (class304 == ImageCache.aClass304_2571) return 51; + if (class304 == Renderable.aClass304_3977) return 77; + } else return 22; + } + if (i != 22) anIntArray9790 = null; + throw new IllegalArgumentException(""); + } + + final boolean method3666() { + return false; + } + + final void method3633() { + IDirect3DEventQuery idirect3deventquery = this.anIDirect3DDevice9810.b(); + if (ue.a(idirect3deventquery.Issue(), false)) { + for (; ; ) { + int i = idirect3deventquery.IsSignaled(); + if (i != 1) break; + Thread.yield(); + } + } + idirect3deventquery.a(9275); + } + + final void F(int i, int i_31_) { + /* empty */ + } + + final void method3945(int i) { + this.anIDirect3DDevice9810.SetRenderState(60, this.anInt8119); + if (i > -107) this.aBoolean9802 = false; + } + + final Component80 method3706(Component80 class299, Component80 class299_32_, float f, Component80 class299_33_) { + return 0.5F > f ? class299 : class299_32_; + } + + final void method3647(boolean bool) { + /* empty */ + } + + final void method3823(byte i) { + int i_34_ = -115 % ((i - -39) / 62); + int i_35_; + for (i_35_ = 0; this.anInt8151 > i_35_; i_35_++) { + NodeSub1 class348_sub1 = this.aClass348_Sub1Array8132[i_35_]; + int i_36_ = i_35_ - -2; + int i_37_ = class348_sub1.method2720(-1); + float f = class348_sub1.method2721(-115) / 255.0F; + aD3DLIGHT9808.SetPosition((float) class348_sub1.method2724(-1), (float) class348_sub1.method2722(123), (float) class348_sub1.method2717((byte) 115)); + aD3DLIGHT9808.SetDiffuse(f * (float) ((i_37_ & 0xff34ed) >> 16), (float) (0xff & i_37_ >> 8) * f, f * (float) (i_37_ & 0xff), 0.0F); + aD3DLIGHT9808.SetAttenuation(0.0F, 0.0F, 1.0F / (float) (class348_sub1.method2723(-1) * class348_sub1.method2723(-1))); + aD3DLIGHT9808.SetRange((float) class348_sub1.method2723(-1)); + this.anIDirect3DDevice9810.SetLight(i_36_, aD3DLIGHT9808); + this.anIDirect3DDevice9810.LightEnable(i_36_, true); + } + for (/**/; i_35_ < this.anInt8122; i_35_++) + this.anIDirect3DDevice9810.LightEnable(i_35_ - -2, false); + super.method3823((byte) 57); + } + + final void method3819(byte i) { + if (aBooleanArray9784[this.anInt8175]) { + aBooleanArray9784[this.anInt8175] = false; + this.anIDirect3DDevice9810.SetTexture(this.anInt8175, null); + method3935(-110); + method3920(10); + } + if (i >= -19) method3855(null, -78, 86, null, false, 82, 55, -34); + } + + private D3DToolkit(int i, int i_38_, Canvas canvas, hb var_hb, IDirect3D idirect3d, IDirect3DDevice idirect3ddevice, Component312 class53, D3DPRESENT_PARAMETERS d3dpresent_parameters, D3DCAPS d3dcaps, d var_d, CacheStore class45, int i_39_) { + super(canvas, class53, var_d, class45, i_39_, 0); + try { + this.aHb9788 = var_hb; + aD3DPRESENT_PARAMETERS9800 = d3dpresent_parameters; + anInt9807 = i_38_; + anIDirect3D9793 = idirect3d; + anInt9799 = i; + aClass53_9787 = class53; + this.anIDirect3DDevice9810 = idirect3ddevice; + this.aD3DCAPS9791 = d3dcaps; + aD3DLIGHT9789 = new D3DLIGHT(this.aHb9788); + aD3DLIGHT9796 = new D3DLIGHT(this.aHb9788); + aD3DLIGHT9808 = new D3DLIGHT(this.aHb9788); + this.aPixelBuffer9803 = new PixelBuffer(this.aHb9788); + this.aGeometryBuffer9811 = new GeometryBuffer(this.aHb9788); + new GeometryBuffer(this.aHb9788); + this.aBoolean8101 = (0x800 & this.aD3DCAPS9791.TextureCaps) != 0; + this.aBoolean9798 = (0x4000 & this.aD3DCAPS9791.TextureCaps) != 0; + this.aBoolean9792 = (0x2 & this.aD3DCAPS9791.TextureCaps) == 0; + this.aBoolean9802 = (this.aD3DCAPS9791.TextureCaps & 0x10000) != 0; + this.anInt8138 = (this.aD3DCAPS9791.MaxActiveLights <= 0 ? 8 : this.aD3DCAPS9791.MaxActiveLights); + this.aBoolean8159 = (this.aD3DCAPS9791.TextureCaps & 0x2000) != 0; + this.anInt8090 = this.aD3DCAPS9791.MaxSimultaneousTextures; + this.aBoolean8182 = (this.anInt8117 > 0 || ((anIDirect3D9793.CheckDeviceMultiSampleType(anInt9799, anInt9807, aD3DPRESENT_PARAMETERS9800.BackBufferFormat, true, 2)) == 0)); + aBooleanArray9806 = new boolean[this.anInt8090]; + aBooleanArray9804 = new boolean[this.anInt8090]; + aBooleanArray9784 = new boolean[this.anInt8090]; + aClass209Array9795 = new Component246[this.anInt8090]; + anIntArray9805 = new int[this.anInt8090]; + aBooleanArray9786 = new boolean[this.anInt8090]; + this.anIDirect3DDevice9810.BeginScene(); + } catch (Throwable throwable) { + throwable.printStackTrace(); + method3635((byte) -39); + throw new RuntimeException(""); + } + } + + final void method3898(int i) { + if (i != 12) method3634(null, null); + if (this.aClass196_8184.method1450(-32)) this.aClass101_Sub2_8083.method918(aFloatArray9797, 0); + else { + aFloatArray9797[1] = 0.0F; + aFloatArray9797[7] = 0.0F; + aFloatArray9797[12] = 0.0F; + aFloatArray9797[0] = 1.0F; + aFloatArray9797[5] = 1.0F; + aFloatArray9797[13] = 0.0F; + aFloatArray9797[2] = 0.0F; + aFloatArray9797[11] = 0.0F; + aFloatArray9797[9] = 0.0F; + aFloatArray9797[10] = 1.0F; + aFloatArray9797[14] = 0.0F; + aFloatArray9797[8] = 0.0F; + aFloatArray9797[4] = 0.0F; + aFloatArray9797[15] = 1.0F; + aFloatArray9797[6] = 0.0F; + aFloatArray9797[3] = 0.0F; + } + this.anIDirect3DDevice9810.SetTransform(2, aFloatArray9797); + } + + final void method3652() { + this.aHb9788.a((byte) 13); + super.method3652(); + } + + final Interface5_Impl2 method3840(int i, boolean bool) { + if (i != -28633) method3937((byte) 102); + return new Component93(this, Component342.aClass68_1184, bool); + } + + final void GA(int i) { + this.anIDirect3DDevice9810.Clear(1, i, 0.0F, 0); + } + + final int I() { + return 0; + } + + final void method3851(int i) { + this.aFloat8115 = (float) (this.anInt8154 + -this.anInt8105); + this.aFloat8173 = ((float) -this.anInt8091 + this.aFloat8115); + if (this.aFloat8173 < (float) this.anInt8095) this.aFloat8173 = (float) this.anInt8095; + this.anIDirect3DDevice9810.a(36, this.aFloat8173); + if (i != 25644) aD3DLIGHT9796 = null; + this.anIDirect3DDevice9810.a(37, this.aFloat8115); + this.anIDirect3DDevice9810.SetRenderState(34, this.anInt8144); + } + + final Interface18_Impl3 method3855(DisplayModeManagerContainer42 class304, int i, int i_40_, float[] fs, boolean bool, int i_41_, int i_42_, int i_43_) { + if (i_42_ != 2) aD3DLIGHT9796 = null; + return null; + } + + final void method3884(byte i) { + if (!aBoolean9801) { + this.anIDirect3DDevice9810.LightEnable(0, false); + this.anIDirect3DDevice9810.LightEnable(1, false); + this.anIDirect3DDevice9810.SetLight(0, aD3DLIGHT9789); + this.anIDirect3DDevice9810.SetLight(1, aD3DLIGHT9796); + this.anIDirect3DDevice9810.LightEnable(0, true); + this.anIDirect3DDevice9810.LightEnable(1, true); + aBoolean9801 = true; + } + if (i != 101) anIntArray9805 = null; + } + + final boolean method3671() { + return false; + } + + final void method3937(byte i) { + if (i != -33) method3962(-41, null); + this.anIDirect3DDevice9810.SetViewport(this.anInt8181, this.anInt8109, this.anInt7931, this.anInt7962, 0.0F, 1.0F); + } + + final void method3959(int i, Component378 class310_sub3) { + method3956((byte) -73, class310_sub3); + if (!aBooleanArray9786[this.anInt8175]) { + this.anIDirect3DDevice9810.SetSamplerState(this.anInt8175, 1, 1); + aBooleanArray9786[this.anInt8175] = true; + } + if (!aBooleanArray9806[this.anInt8175]) { + this.anIDirect3DDevice9810.SetSamplerState(this.anInt8175, 2, 1); + aBooleanArray9806[this.anInt8175] = true; + } + int i_44_ = 82 % ((i - 44) / 56); + } + + final void method3899(int i, int i_45_, Component158 class21, boolean bool) { + this.anIDirect3DDevice9810.DrawPrimitive(method3953(class21, (byte) -111), i_45_, i); + if (bool != true) aClass209Array9795 = null; + } + + final void method3658(int i, int i_46_, int i_47_, int i_48_) { + /* empty */ + } + + final void method3818(boolean bool) { + if (bool != true) method3633(); + method3842(bool); + method3884((byte) 101); + } + + final void method3673() { + /* empty */ + } + + final void method3947(int i) { + if (i == 4) this.anIDirect3DDevice9810.a(27, this.aBoolean8116); + } + + final void method3859(int i) { + this.anIDirect3DDevice9810.a(7, this.aBoolean8164); + if (i != 3) method3882((byte) 51); + } + + final Interface18_Impl3 method3843(int i, int i_49_, int i_50_, int i_51_, byte[] is, DisplayModeManagerContainer42 class304, int i_52_, boolean bool) { + if (i_52_ != 32) anInt9785 = 94; + return new Component294(this, class304, i_50_, i, bool, is, i_49_, i_51_); + } + + final synchronized void method3646(int i) { + this.aHb9788.b((byte) -82); + super.method3646(i); + } + + final float method3858(boolean bool) { + if (bool) aBoolean9801 = true; + return -0.5F; + } + + final Object method3876(int i, Canvas canvas) { + if (i != -1) return null; + return null; + } + + private final boolean method3960(boolean bool) { + int i = this.anIDirect3DDevice9810.TestCooperativeLevel(); + if (bool) method3880(null, null, (byte) -68); + if (i == 0 || -2005530519 == i) { + Component312 class53 = (Component312) this.anObject7919; + method3922(false); + class53.method496((byte) 84); + aD3DPRESENT_PARAMETERS9800.BackBufferHeight = 0; + aD3DPRESENT_PARAMETERS9800.BackBufferWidth = 0; + if (method3964(aD3DPRESENT_PARAMETERS9800, 0, anInt9799, anIDirect3D9793, anInt9807, this.anInt8117)) { + int i_53_ = this.anIDirect3DDevice9810.Reset(aD3DPRESENT_PARAMETERS9800); + if (ue.a(i_53_, false)) { + class53.method497(this.anIDirect3DDevice9810.b(0), (byte) -107, this.anIDirect3DDevice9810.c()); + method3902((byte) -42); + method3882((byte) 113); + return true; + } + } + } + return false; + } + + final void method3920(int i) { + int i_54_ = (aBooleanArray9784[this.anInt8175] ? method3955(24, (this.aClass229Array8086[this.anInt8175])) : 1); + if (i != 10) I(); + this.anIDirect3DDevice9810.SetTextureStageState(this.anInt8175, 1, i_54_); + } + + final Interface18_Impl3 method3830(int i, int[] is, boolean bool, byte i_55_, int i_56_, int i_57_, int i_58_) { + int i_59_ = -31 % ((-21 - i_55_) / 46); + return new Component294(this, i, i_58_, bool, is, i_56_, i_57_); + } + + final void method3687(Interface4 interface4) { + /* empty */ + } + + final Interface18_Impl2 method3900(int[][] is, boolean bool, int i, int i_60_) { + if (i <= 1) aFloatArray9797 = null; + return new Component78(this, i_60_, bool, is); + } + + final void method3939(byte i) { + this.anIDirect3DDevice9810.a(15, this.aBoolean8141); + if (i != 100) anIntArray9805 = null; + } + + private static final int method3961(DisplayModeManagerContainer88 class70, int i) { + if (i != 2) aFloatArray9797 = null; + if (DisplayModeManagerContainer173.aClass70_4247 == class70) return 2; + if (class70 == DebugPanicSub2.aClass70_8503) return 0; + if (DisplayModeManagerContainer343.aClass70_8737 != class70) { + if (DefinitionSub39.aClass70_9485 == class70) return 3; + } else return 1; + throw new IllegalArgumentException(); + } + + final Component387 method3812(int i, Component255[] class58s) { + if (i != 0) anInt9807 = 29; + return new dxVertexLayout(this, class58s); + } + + final void method3962(int i, IDirect3DPixelShader idirect3dpixelshader) { + if (i != 22927) aFloatArray9797 = null; + this.anIDirect3DDevice9810.SetPixelShader(idirect3dpixelshader); + } + + final void method3710() { + /* empty */ + } + + final Interface5_Impl1 method3889(boolean bool, int i) { + if (i != 16711680) return null; + return new Component371(this, bool); + } + + final void method3921(int i) { + this.anIDirect3DDevice9810.a(174, this.aBoolean8209); + if (i != 1) method3858(true); + } + + final void b(int i, int i_61_, int i_62_, int i_63_, double d) { + /* empty */ + } + + final AbstractShader method3832(int i, byte i_64_) { + if (i_64_ >= -57) aClass209Array9795 = null; + int i_65_ = i; + while_234_: + do { + do { + if (i_65_ != 3) { + if (i_65_ != 4) { + if (8 == i_65_) break; + break while_234_; + } + } else return new D3DShader(this, this.aClass45_8039); + return new TransparentWaterShader(this, this.aClass45_8039, this.aClass269_7937); + } while (false); + return new EnvironmentMappedWaterShader(this, this.aClass45_8039, this.aClass269_7937); + } while (false); + return super.method3832(i, (byte) -74); + } + + final void method3700(float f, float f_66_, float f_67_) { + /* empty */ + } + + private static final int method3963(int i, Component111 class251) { + if (i != 594) return 7; + if (class251 == MenuOpener.aClass251_4835) return 1; + if (class251 != Component302.aClass251_6030) { + if (class251 != DefinitionSub38.aClass251_9477) { + if (DisplayModeInfo.aClass251_1051 == class251) return 4; + if (class251 == Component329.aClass251_5989) return 256; + } else return 3; + } else return 2; + return 0; + } + + final void method3871(Component22 class113, int i) { + int i_68_ = i; + if (Component82.aClass113_430 == class113) i_68_ = 65536; + else if (NodeBaseSub1.aClass113_9773 == class113) i_68_ = 131072; + else if (class113 == DisplayModeManagerContainer1.aClass113_3314) i_68_ = 196608; + this.anIDirect3DDevice9810.SetTextureStageState(this.anInt8175, 11, this.anInt8175 | i_68_); + } + + final boolean method3880(Component342 class68, DisplayModeManagerContainer42 class304, byte i) { + D3DDISPLAYMODE d3ddisplaymode = new D3DDISPLAYMODE(); + int i_69_ = 96 / ((i - 85) / 37); + return (ue.a(anIDirect3D9793.a(anInt9799, d3ddisplaymode), false) && ue.a((anIDirect3D9793.CheckDeviceFormat(anInt9799, anInt9807, d3ddisplaymode.Format, 0, 3, method3958(22, class68, class304))), false)); + } + + final void method3882(byte i) { + for (int i_70_ = 0; i_70_ < this.anInt8090; i_70_++) { + this.anIDirect3DDevice9810.SetSamplerState(i_70_, 7, 0); + this.anIDirect3DDevice9810.SetSamplerState(i_70_, 6, 2); + this.anIDirect3DDevice9810.SetSamplerState(i_70_, 5, 2); + this.anIDirect3DDevice9810.SetSamplerState(i_70_, 1, 1); + this.anIDirect3DDevice9810.SetSamplerState(i_70_, 2, 1); + aClass209Array9795[i_70_] = DisplayModeManagerContainer5.aClass209_1212; + aBooleanArray9786[i_70_] = aBooleanArray9806[i_70_] = true; + aBooleanArray9804[i_70_] = false; + anIntArray9805[i_70_] = 0; + } + this.anIDirect3DDevice9810.SetTextureStageState(0, 6, 1); + this.anIDirect3DDevice9810.SetRenderState(9, 2); + this.anIDirect3DDevice9810.SetRenderState(23, 4); + this.anIDirect3DDevice9810.SetRenderState(25, 5); + if (i <= 45) method3861(109, (byte) -95, -59, null, null); + this.anIDirect3DDevice9810.SetRenderState(24, 0); + this.anIDirect3DDevice9810.SetRenderState(22, 2); + this.anIDirect3DDevice9810.SetRenderState(147, 1); + this.anIDirect3DDevice9810.SetRenderState(145, 1); + this.anIDirect3DDevice9810.a(38, 0.95F); + this.anIDirect3DDevice9810.SetRenderState(140, 3); + aD3DLIGHT9789.SetType(3); + aD3DLIGHT9796.SetType(3); + aD3DLIGHT9808.SetType(1); + aBoolean9801 = false; + super.method3882((byte) 63); + } + + final Component6 c() { + D3DADAPTER_IDENTIFIER d3dadapter_identifier = anIDirect3D9793.a(anInt9799, 0); + return new Component6(d3dadapter_identifier.VendorID, "Direct3D", 9, d3dadapter_identifier.Description, d3dadapter_identifier.DriverVersion); + } + + final void method3935(int i) { + if (i <= -99) { + int i_71_ = (aBooleanArray9784[this.anInt8175] ? method3955(50, (this.aClass229Array8092[this.anInt8175])) : 1); + this.anIDirect3DDevice9810.SetTextureStageState(this.anInt8175, 4, i_71_); + } + } + + final void method3940(int i) { + if (anIDirect3DVertexShader9794 == null && ((this.aClass251Array8113[this.anInt8175]) != HashNodeSub18.aClass251_9685)) { + if (Component302.aClass251_6030 == (this.aClass251Array8113[this.anInt8175])) this.anIDirect3DDevice9810.SetTransform(this.anInt8175 + 16, this.aClass101_Sub2Array8131[this.anInt8175].method928(aFloatArray9797, i)); + else this.anIDirect3DDevice9810.SetTransform(16 - -this.anInt8175, this.aClass101_Sub2Array8131[this.anInt8175].method918(aFloatArray9797, i ^ 0x1)); + int i_72_ = method3963(594, (this.aClass251Array8113[this.anInt8175])); + if (anIntArray9805[this.anInt8175] != i_72_) { + this.anIDirect3DDevice9810.SetTextureStageState(this.anInt8175, 24, i_72_); + anIntArray9805[this.anInt8175] = i_72_; + } + } else { + this.anIDirect3DDevice9810.SetTextureStageState(this.anInt8175, 24, 0); + anIntArray9805[this.anInt8175] = 0; + } + if (i != 1) aBoolean9801 = true; + } + + final Interface18_Impl3 method3861(int i, byte i_73_, int i_74_, Component342 class68, DisplayModeManagerContainer42 class304) { + if (i_73_ != -84) return null; + return new Component294(this, class304, class68, i_74_, i); + } + + final void method3844(int i, Canvas canvas, Object object) { + if (canvas == this.aCanvas7925) { + Dimension dimension = canvas.getSize(); + if (dimension.width > 0 && 0 < dimension.height) { + this.anIDirect3DDevice9810.EndScene(); + method3960(false); + this.anIDirect3DDevice9810.BeginScene(); + } + } + if (i != 12727) method3953(null, (byte) 28); + } + + private static final boolean method3964(D3DPRESENT_PARAMETERS d3dpresent_parameters, int i, int j, IDirect3D idirect3d, int k, int l) { + try { + int i1; + int j1; + int k1; + i1 = 0; + j1 = 0; + k1 = i; + D3DDISPLAYMODE d3ddisplaymode = new D3DDISPLAYMODE(); + if (ue.a((byte) 97, idirect3d.a(j, d3ddisplaymode))) return false; + label0: + for (; l >= 0; l--) { + if (1 == l) continue; + k1 = l + 0; + label1: + for (int l1 = 0; l1 < anIntArray9790.length; l1++) { + if (idirect3d.CheckDeviceType(j, k, d3ddisplaymode.Format, anIntArray9790[l1], true) != 0 || idirect3d.CheckDeviceFormat(j, k, d3ddisplaymode.Format, 1, 1, anIntArray9790[l1]) != 0 || l != 0 && idirect3d.CheckDeviceMultiSampleType(j, k, anIntArray9790[l1], true, k1) != 0) + continue; + int i2 = 0; + do { + if (anIntArray9809.length <= i2) continue label1; + if (idirect3d.CheckDeviceFormat(j, k, d3ddisplaymode.Format, 2, 1, anIntArray9809[i2]) == 0 && idirect3d.CheckDepthStencilMatch(j, k, d3ddisplaymode.Format, anIntArray9790[l1], anIntArray9809[i2]) == 0 && (l == 0 || idirect3d.CheckDeviceMultiSampleType(j, k, anIntArray9809[l1], true, k1) == 0)) { + i1 = anIntArray9809[i2]; + j1 = anIntArray9790[l1]; + break label0; + } + i2++; + } while (true); + } + + } + + if (l < 0 || j1 == 0 || i1 == 0) return false; + d3dpresent_parameters.MultiSampleType = k1; + d3dpresent_parameters.AutoDepthStencilFormat = i1; + d3dpresent_parameters.MultiSampleQuality = 0; + d3dpresent_parameters.BackBufferFormat = j1; + return true; + } catch (Throwable t) { + return false; + } + } + + final void method3883(int i) { + int i_87_ = 60 % ((i - 20) / 36); + this.anIDirect3DDevice9810.a(137, ((this.aBoolean8145) && !(this.aBoolean8149))); + } + + final void method3950(int i) { + if (i != 0) anIntArray9809 = null; + if (HardwareProbe.aClass173_6602 == this.aClass173_8163) { + this.anIDirect3DDevice9810.SetRenderState(19, 5); + this.anIDirect3DDevice9810.SetRenderState(20, 6); + } else if (this.aClass173_8163 == Component325.aClass173_1201) { + this.anIDirect3DDevice9810.SetRenderState(19, 2); + this.anIDirect3DDevice9810.SetRenderState(20, 2); + } else if (Component224.aClass173_5169 == this.aClass173_8163) { + this.anIDirect3DDevice9810.SetRenderState(19, 9); + this.anIDirect3DDevice9810.SetRenderState(20, 2); + } + } + + final void method3626(int i, int i_88_) throws Exception_Sub1 { + this.anIDirect3DDevice9810.EndScene(); + if (aClass53_9787.method498(-107)) { + anInt9785 = 0; + if (ue.a((byte) 97, aClass53_9787.method495((byte) 91, 0))) method3960(false); + } else { + if (50 < ++anInt9785) throw new Exception_Sub1(); + method3960(false); + } + this.anIDirect3DDevice9810.BeginScene(); + } + + final void method3925(int i, Interface5_Impl1 interface5_impl1, int i_89_) { + int i_90_ = -112 % ((i - -26) / 39); + Component371 class366 = (Component371) interface5_impl1; + this.anIDirect3DDevice9810.SetStreamSource(i_89_, class366.anIDirect3DVertexBuffer8511, 0, class366.method3519(3545)); + } + + final void NativeHandle() { + method3946(-32, true); + this.anIDirect3DDevice9810.Clear(2, 0, 1.0F, 0); + } +} diff --git a/client/toolkit/d3d/OpenGLMatrix.java b/client/toolkit/d3d/OpenGLMatrix.java new file mode 100644 index 000000000..ab5030b14 --- /dev/null +++ b/client/toolkit/d3d/OpenGLMatrix.java @@ -0,0 +1,123 @@ +/* OpenGLMatrix - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class OpenGLMatrix +/** + * RENAMED from `OpenGLMatrix` (JODE-obfuscated). + * Evidence: extends Class101 (Matrix); implements Interface19; 17 native methods + */ extends DisplayModeManagerContainer204 implements Interface19 { + long nativeid; + + private final native void la(); + + private final native void NodeBase(long l, int i); + + private final native void AA(long l, boolean bool); + + private final native void VA(long l, int i); + + private final native void NA(long l, int i); + + final void method891(int i, int i_0_, int i_1_) { + a(this.nativeid, i, i_0_, i_1_); + } + + private final native void l(long l, long l_2_); + + final void method910() { + u(this.nativeid); + } + + public final void w(boolean bool) { + AA(this.nativeid, bool); + } + + final void method905(int i, int i_3_, int i_4_, int[] is) { + XA(this.nativeid, i, i_3_, i_4_, is); + } + + final void method890(int[] is) { + w(this.nativeid, is); + } + + private final native void w(long l, int[] is); + + final void method908(int i) { + NodeBase(this.nativeid, i); + } + + private final native void XA(long l, int i, int i_5_, int i_6_, int[] is); + + final void method903(int i, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_) { + P(this.nativeid, i, i_7_, i_8_, i_9_, i_10_, i_11_); + } + + private final native void t(long l, int i); + + final void method900(int i) { + J(this.nativeid, i); + } + + private final native void u(long l); + + final void method897(int i, int i_12_, int i_13_, int[] is) { + b(this.nativeid, i, i_12_, i_13_, is); + } + + private final native void m(long l, int i); + + private final native void FA(long l, int i, int i_14_, int i_15_); + + final void method902(int i) { + NA(this.nativeid, i); + } + + private final native void va(long l, int i, int i_16_, int i_17_, int[] is); + + private final native void J(long l, int i); + + final void method898(DisplayModeManagerContainer204 class101) { + l(this.nativeid, ((OpenGLMatrix) class101).nativeid); + } + + private final native void b(long l, int i, int i_18_, int i_19_, int[] is); + + final void method892(int i, int i_20_, int i_21_, int[] is) { + va(this.nativeid, i, i_20_, i_21_, is); + } + + private final native void P(long l, int i, int i_22_, int i_23_, int i_24_, int i_25_, int i_26_); + + private final native void a(long l, int i, int i_27_, int i_28_); + + protected final void finalize() { + if (this.nativeid != 0L) Component36.method1947(0, this); + } + + final void method896(int i) { + m(this.nativeid, i); + } + + final DisplayModeManagerContainer204 method907() { + OpenGLMatrix var_ja_29_ = new OpenGLMatrix(); + var_ja_29_.method898(this); + return var_ja_29_; + } + + final void method895(int i) { + t(this.nativeid, i); + } + + OpenGLMatrix() { + la(); + } + + final void method894(int i, int i_30_, int i_31_) { + FA(this.nativeid, i, i_30_, i_31_); + } + + final void method899(int i) { + VA(this.nativeid, i); + } +} diff --git a/client/toolkit/d3d/dxVertexLayout.java b/client/toolkit/d3d/dxVertexLayout.java new file mode 100644 index 000000000..eec30690e --- /dev/null +++ b/client/toolkit/d3d/dxVertexLayout.java @@ -0,0 +1,34 @@ +/* dxVertexLayout - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jagdx.IDirect3DVertexDeclaration; +import jagdx.VertexElementCollection; + +public class dxVertexLayout extends Component387 { + IDirect3DVertexDeclaration anIDirect3DVertexDeclaration5803; + + dxVertexLayout(D3DToolkit class378, Component255[] class58s) { + VertexElementCollection vertexelementcollection = new VertexElementCollection(class378.aHb9788); + int i = 0; + for (int i_0_ = 0; i_0_ < class58s.length; i_0_++) { + int i_1_ = 0; + Component255 class58 = class58s[i_0_]; + for (int i_2_ = 0; (i_2_ < class58.method538((byte) -126)); i_2_++) { + ColoredTextBuilder class325 = class58.method537(i_2_, 126); + if (ColoredTextBuilder.aClass325_4073 == class325) vertexelementcollection.addElement(i_0_, 2, 0, 0, 0, i_1_); + else if (class325 == ColoredTextBuilder.aClass325_4075) vertexelementcollection.addElement(i_0_, 2, 0, 3, 0, i_1_); + else if (ColoredTextBuilder.aClass325_4076 != class325) { + if (class325 == ColoredTextBuilder.aClass325_4077) vertexelementcollection.addElement(i_0_, 0, 0, 5, i++, i_1_); + else if (ColoredTextBuilder.aClass325_4078 == class325) vertexelementcollection.addElement(i_0_, 1, 0, 5, i++, i_1_); + else if (ColoredTextBuilder.aClass325_4079 != class325) { + if (ColoredTextBuilder.aClass325_4080 == class325) vertexelementcollection.addElement(i_0_, 3, 0, 5, i++, i_1_); + } else vertexelementcollection.addElement(i_0_, 2, 0, 5, i++, i_1_); + } else vertexelementcollection.addElement(i_0_, 4, 0, 10, 0, i_1_); + i_1_ += class325.anInt4069; + } + } + vertexelementcollection.finish(); + this.anIDirect3DVertexDeclaration5803 = class378.anIDirect3DDevice9810.a(vertexelementcollection, null); + } +} diff --git a/client/toolkit/d3d/j.java b/client/toolkit/d3d/j.java new file mode 100644 index 000000000..f9757d536 --- /dev/null +++ b/client/toolkit/d3d/j.java @@ -0,0 +1,129 @@ +/* j - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class j +/** + * RENAMED from `j` (JODE-obfuscated). + * Evidence: extends Class105 (Sprite/texture); implements Interface19; 19 native methods + */ extends Component24 implements Interface19 { + long nativeid; + + private final native void R(long l, boolean bool); + + private final native void P(long l, int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_); + + final void method964(int i, int i_6_, int i_7_, int i_8_, int i_9_) { + W(this.nativeid, i, i_6_, i_7_, i_8_, i_9_); + } + + private final native void RA(long l, int i, int i_10_, int i_11_, int i_12_, int i_13_, int i_14_, int i_15_, int i_16_); + + private final native void UA(long l, float f, float f_17_, float f_18_, float f_19_, float f_20_, float f_21_, int i, long l_22_, int i_23_, int i_24_); + + private final native int Interface4Impl(long l); + + private final native int M(long l); + + final void method963(int i, int i_25_, Shader var_aa, int i_26_, int i_27_) { + V(this.nativeid, i, i_25_, ((ShaderImpl) var_aa).nativeid, i_26_, i_27_); + } + + final void method984(int[] is) { + CA(this.nativeid, is); + } + + public final void w(boolean bool) { + R(this.nativeid, bool); + } + + final int method980() { + return JA(this.nativeid); + } + + private final native void EA(OpenGLToolkit var_oa, int i, int i_28_); + + final void method985(int i, int i_29_, int i_30_, int i_31_) { + A(this.nativeid, i, i_29_, i_30_, i_31_); + } + + private final native void ma(OpenGLToolkit var_oa, int[] is, byte[] is_32_, byte[] is_33_, int i, int i_34_, int i_35_, int i_36_); + + final void capturePixels(int i, int i_37_, int i_38_) { + N(this.nativeid, i, i_37_, i_38_); + } + + final void method983(float f, float f_39_, float f_40_, float f_41_, float f_42_, float f_43_, int i, Shader var_aa, int i_44_, int i_45_) { + UA(this.nativeid, f, f_39_, f_40_, f_41_, f_42_, f_43_, i, ((ShaderImpl) var_aa).nativeid, i_44_, i_45_); + } + + final int method969() { + return I(this.nativeid); + } + + private final native void CA(long l, int[] is); + + private final native void W(long l, int i, int i_46_, int i_47_, int i_48_, int i_49_); + + final void method982(int i, int i_50_, int i_51_, int i_52_, int i_53_, int i_54_, int i_55_, int i_56_) { + RA(this.nativeid, i, i_50_, i_51_, i_52_, i_53_, i_54_, i_55_, i_56_); + } + + final int method971() { + return M(this.nativeid); + } + + j(OpenGLToolkit var_oa, int i, int i_57_) { + EA(var_oa, i, i_57_); + } + + private final native void b(long l, float f, float f_58_, float f_59_, float f_60_, float f_61_, float f_62_, int i, int i_63_, int i_64_, int i_65_); + + j(OpenGLToolkit var_oa, int[] is, int i, int i_66_, int i_67_, int i_68_, boolean bool) { + ua(var_oa, is, i, i_66_, i_67_, i_68_, bool); + } + + private final native void A(long l, int i, int i_69_, int i_70_, int i_71_); + + private final native void V(long l, int i, int i_72_, long l_73_, int i_74_, int i_75_); + + j(OpenGLToolkit var_oa, int[] is, byte[] is_76_, byte[] is_77_, int i, int i_78_, int i_79_, int i_80_) { + ma(var_oa, is, is_76_, is_77_, i, i_78_, i_79_, i_80_); + } + + private final native void N(long l, int i, int i_81_, int i_82_); + + private final native void YA(long l, int i, int i_83_, int i_84_, int i_85_, int i_86_, int i_87_); + + j(OpenGLToolkit var_oa, int i, int i_88_, int i_89_, int i_90_, boolean bool) { + h(var_oa, i, i_88_, i_89_, i_90_, bool); + } + + private final native int I(long l); + + protected final void finalize() { + if (this.nativeid != 0L) Component36.method1947(0, this); + } + + private final native void ua(OpenGLToolkit var_oa, int[] is, int i, int i_91_, int i_92_, int i_93_, boolean bool); + + final void method979(int i, int i_94_, int i_95_, int i_96_, int i_97_, int i_98_) { + YA(this.nativeid, i, i_94_, i_95_, i_96_, i_97_, i_98_); + } + + private final native void h(OpenGLToolkit var_oa, int i, int i_99_, int i_100_, int i_101_, boolean bool); + + final void method965(int i, int i_102_, int i_103_, int i_104_, int i_105_, int i_106_, int i_107_) { + P(this.nativeid, i, i_102_, i_103_, i_104_, i_105_, i_106_, i_107_); + } + + final int method966() { + return Interface4Impl(this.nativeid); + } + + final void method962(float f, float f_108_, float f_109_, float f_110_, float f_111_, float f_112_, int i, int i_113_, int i_114_, int i_115_) { + b(this.nativeid, f, f_108_, f_109_, f_110_, f_111_, f_112_, i, i_113_, i_114_, i_115_); + } + + private final native int JA(long l); +} diff --git a/client/toolkit/gl/AbstractGlTexture.java b/client/toolkit/gl/AbstractGlTexture.java new file mode 100644 index 000000000..7b3ff470e --- /dev/null +++ b/client/toolkit/gl/AbstractGlTexture.java @@ -0,0 +1,127 @@ +/* AbstractGlTexture - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class258` (JODE-obfuscated). + * Abstract OpenGL texture base. implements Interface9; wraps the GL toolkit (aHa_Sub2_4851) and defines texture lifecycle (method1950/1951/1954/1956). Parent of GlTexture and other GL texture impls. + */ + +import jaggl.OpenGL; + +abstract class AbstractGlTexture implements Interface9 { + private int anInt4847; + static int anInt4848 = 0; + int anInt4849; + static int anInt4850; + GlToolkitSub2 aHa_Sub2_4851; + static int anInt4852; + static int anInt4853; + static int anInt4854; + static int anInt4855; + private boolean aBoolean4856 = false; + static int anInt4857; + int anInt4858; + int anInt4859; + private boolean aBoolean4860; + static int anInt4861; + static int anInt4862; + static int anInt4863; + + final boolean method1950(int i) { + anInt4852++; + int i_0_ = 22 / ((i - -31) / 50); + if (this.aHa_Sub2_4851.aBoolean7820) { + int i_1_ = method1951(-120); + this.aHa_Sub2_4851.method3771((byte) -102, this); + OpenGL.glGenerateMipmapEXT(this.anInt4849); + aBoolean4860 = true; + method1956(true); + method1954(i_1_, 121); + return true; + } + return false; + } + + private final int method1951(int i) { + anInt4861++; + if (i >= -96) anInt4847 = -92; + int i_2_ = (this.aHa_Sub2_4851.method3798(this.anInt4858, 2) * anInt4847); + if (aBoolean4860) return i_2_ * 4 / 3; + return i_2_; + } + + final void method1952(int i) { + anInt4863++; + if (this.anInt4859 > 0) { + this.aHa_Sub2_4851.method3737((this.anInt4859), (byte) 121, method1951(i + 19838)); + this.anInt4859 = 0; + } + if (i != -19948) this.anInt4859 = -40; + } + + final int method1953(int i) { + anInt4853++; + if (i < 29) method1956(true); + return this.anInt4859; + } + + private final void method1954(int i, int i_3_) { + anInt4854++; + if (i_3_ < 17) aBoolean4856 = true; + this.aHa_Sub2_4851.anInt7748 -= i; + this.aHa_Sub2_4851.anInt7748 += method1951(-106); + } + + final void method1955(boolean bool, byte i) { + if (i != -123) method1953(50); + if (aBoolean4860 == !bool) { + int i_4_ = method1951(-119); + aBoolean4860 = true; + method1956(true); + method1954(i_4_, 115); + } + anInt4850++; + } + + private final void method1956(boolean bool) { + anInt4857++; + if (bool != true) this.anInt4849 = -74; + this.aHa_Sub2_4851.method3771((byte) -87, this); + if (aBoolean4856) { + OpenGL.glTexParameteri(this.anInt4849, 10241, aBoolean4860 ? 9987 : 9729); + OpenGL.glTexParameteri(this.anInt4849, 10240, 9729); + } else { + OpenGL.glTexParameteri(this.anInt4849, 10241, aBoolean4860 ? 9984 : 9728); + OpenGL.glTexParameteri(this.anInt4849, 10240, 9728); + } + } + + final void method1957(int i, boolean bool) { + if (!aBoolean4856 == bool) { + aBoolean4856 = bool; + method1956(true); + } + anInt4855++; + if (i != 9728) method1956(false); + } + + protected final void finalize() throws Throwable { + anInt4862++; + method1952(-19948); + super.finalize(); + } + + AbstractGlTexture(GlToolkitSub2 var_ha_Sub2, int i, int i_5_, int i_6_, boolean bool) { + aBoolean4860 = bool; + this.anInt4849 = i; + anInt4847 = i_6_; + this.anInt4858 = i_5_; + this.aHa_Sub2_4851 = var_ha_Sub2; + OpenGL.glGenTextures(1, SpriteAtlasShader.anIntArray6260, 0); + this.anInt4859 = SpriteAtlasShader.anIntArray6260[0]; + method1954(0, 94); + } + + public abstract void method37(int i); +} diff --git a/client/toolkit/gl/AbstractGlTextureSub1.java b/client/toolkit/gl/AbstractGlTextureSub1.java new file mode 100644 index 000000000..d7cf86e3e --- /dev/null +++ b/client/toolkit/gl/AbstractGlTextureSub1.java @@ -0,0 +1,200 @@ +/* AbstractGlTextureSub1 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaggl.OpenGL; + +final class AbstractGlTextureSub1 +/** + * RENAMED from `Class258_Sub1` (JODE-obfuscated). + * Evidence: subclass of AbstractGlTexture (hierarchy) + */ extends AbstractGlTexture { + int anInt8522; + int anInt8523; + static int anInt8524; + private int anInt8525 = -1; + static int anInt8526; + static Component184 aClass143_8527; + private int anInt8528 = -1; + int anInt8529; + + final void method1958(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_, int i_6_) { + this.aHa_Sub2_4851.method3771((byte) -110, this); + anInt8526++; + OpenGL.glCopyTexSubImage3D(this.anInt4849, 0, i_2_, i_6_, i_4_, i_3_, i_0_, i_1_, i_5_); + OpenGL.glFlush(); + if (i != -26823) aClass143_8527 = null; + } + + public final void method37(int i) { + anInt8524++; + OpenGL.glFramebufferTexture3DEXT(anInt8528, anInt8525, this.anInt4849, 0, 0, 0); + anInt8525 = -1; + if (i != -3022) method1960(112, -107, -46, -98, null, null, null, null, null, null, -114, (byte) 75, -105, 62, true, false, 110, -31, true); + anInt8528 = -1; + } + + AbstractGlTextureSub1(GlToolkitSub2 var_ha_Sub2, int i, int i_7_, int i_8_, int i_9_, byte[] is, int i_10_) { + super(var_ha_Sub2, 32879, i, i_7_ * (i_8_ * i_9_), false); + try { + this.anInt8523 = i_7_; + this.anInt8522 = i_9_; + this.anInt8529 = i_8_; + this.aHa_Sub2_4851.method3771((byte) -84, this); + OpenGL.glPixelStorei(3317, 1); + OpenGL.glTexImage3Dub(this.anInt4849, 0, this.anInt4858, this.anInt8523, this.anInt8529, this.anInt8522, 0, i_10_, 5121, is, 0); + OpenGL.glPixelStorei(3317, 4); + this.method1957(9728, true); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("gj.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_7_ + ',' + i_8_ + ',' + i_9_ + ',' + (is != null ? "{...}" : "null") + ',' + i_10_ + ')')); + } + } + + public static void method1959(int i) { + int i_11_ = -121 / ((-52 - i) / 60); + aClass143_8527 = null; + } + + static final void method1960(int i, int i_12_, int i_13_, int i_14_, byte[][][] is, int[] is_15_, int[] is_16_, int[] is_17_, int[] is_18_, int[] is_19_, int i_20_, byte i_21_, int i_22_, int i_23_, boolean bool, boolean bool_24_, int i_25_, int i_26_, boolean bool_27_) { + Component234.aBoolean351 = true; + DisplayModeManagerContainer58.aBoolean10221 = JaclibLoader.toolkit.method3704() > 0; + DefinitionSub17.aBoolean9242 = bool_24_; + Component256.anInt6111 = i_12_ >> Component149.anInt4459; + DebugPanicSub2.anInt8502 = i_14_ >> Component149.anInt4459; + Component258.anInt1974 = i_12_; + DefinitionSub27.anInt9360 = i_14_; + Component228.anInt3006 = i_13_; + NameFormatter.anInt492 = Component256.anInt6111 - Component197.anInt10084; + if (NameFormatter.anInt492 < 0) { + SpriteSub1.anInt8412 = -NameFormatter.anInt492; + NameFormatter.anInt492 = 0; + } else SpriteSub1.anInt8412 = 0; + NodeSub34.anInt6974 = DebugPanicSub2.anInt8502 - Component197.anInt10084; + if (NodeSub34.anInt6974 < 0) { + Component49.anInt4686 = -NodeSub34.anInt6974; + NodeSub34.anInt6974 = 0; + } else Component49.anInt4686 = 0; + DisplayModeManagerContainer91.anInt387 = Component256.anInt6111 + Component197.anInt10084; + if (DisplayModeManagerContainer91.anInt387 > StaticElementRenderer.anInt6451) DisplayModeManagerContainer91.anInt387 = StaticElementRenderer.anInt6451; + Component210.anInt5293 = DebugPanicSub2.anInt8502 + Component197.anInt10084; + if (Component210.anInt5293 > NodeSub41.anInt7054) Component210.anInt5293 = NodeSub41.anInt7054; + boolean[][] bools = DisplayModeManagerContainer153.aBooleanArrayArray1572; + boolean[][] bools_28_ = NodeSub8.aBooleanArrayArray6656; + if (DefinitionSub17.aBoolean9242) { + for (int i_29_ = 0; i_29_ < (Component197.anInt10084 + Component197.anInt10084 + 2); i_29_++) { + int i_30_ = 0; + int i_31_ = 0; + for (int i_32_ = 0; i_32_ < (Component197.anInt10084 + Component197.anInt10084 + 2); i_32_++) { + if (i_32_ > 1) Component382.anIntArray2272[i_32_ - 2] = i_30_; + i_30_ = i_31_; + int i_33_ = (Component256.anInt6111 - Component197.anInt10084 + i_29_); + int i_34_ = (DebugPanicSub2.anInt8502 - Component197.anInt10084 + i_32_); + if (i_33_ >= 0 && i_34_ >= 0 && i_33_ < StaticElementRenderer.anInt6451 && i_34_ < NodeSub41.anInt7054) { + int i_35_ = i_33_ << Component149.anInt4459; + int i_36_ = i_34_ << Component149.anInt4459; + int i_37_ = (NodeSub1Sub1.aSArray8801[NodeSub1Sub1.aSArray8801.length - 1].method3982((byte) -86, i_34_, i_33_) - (1000 << Component149.anInt4459 - 7)); + int i_38_ = (Component9.aSArray4142 != null ? (Component9.aSArray4142[0].method3982((byte) -86, i_34_, i_33_) + Component148.anInt3465) : (NodeSub1Sub1.aSArray8801[0].method3982((byte) -86, i_34_, i_33_) + Component148.anInt3465)); + i_31_ = (i_25_ >= 0 ? JaclibLoader.toolkit.r(i_35_, i_37_, i_36_, i_35_, i_38_, i_36_, i_25_) : JaclibLoader.toolkit.JA(i_35_, i_37_, i_36_, i_35_, i_38_, i_36_)); + NodeSub8.aBooleanArrayArray6656[i_29_][i_32_] = i_31_ == 0; + } else { + i_31_ = -1; + NodeSub8.aBooleanArrayArray6656[i_29_][i_32_] = false; + } + if (i_29_ > 0 && i_32_ > 0) { + int i_39_ = (Component382.anIntArray2272[i_32_ - 1] & Component382.anIntArray2272[i_32_] & i_30_ & i_31_); + DisplayModeManagerContainer153.aBooleanArrayArray1572[i_29_ - 1][i_32_ - 1] = i_39_ == 0; + } + } + Component382.anIntArray2272[(Component197.anInt10084 + Component197.anInt10084)] = i_30_; + Component382.anIntArray2272[(Component197.anInt10084 + Component197.anInt10084 + 1)] = i_31_; + } + if (i_25_ >= 0) Component234.aBoolean351 = false; + else { + Player.anIntArray10566 = is_15_; + AudioMixer.anIntArray3220 = is_16_; + DisplayModeManagerContainer34.anIntArray8666 = is_17_; + Component201.anIntArray8712 = is_18_; + client.anIntArray5176 = is_19_; + HashNodeSub14.method3241(i_20_, (byte) 39, JaclibLoader.toolkit); + } + } else { + if (Component76.aBooleanArrayArray8596 == null) Component76.aBooleanArrayArray8596 = (new boolean + [StaticElementRenderer.anInt6451 + StaticElementRenderer.anInt6451 + 1] + [(NodeSub41.anInt7054 + StaticElementRenderer.anInt6451 + 1)]); + for (int i_40_ = 0; i_40_ < Component76.aBooleanArrayArray8596.length; i_40_++) { + for (int i_41_ = 0; i_41_ < Component76.aBooleanArrayArray8596[0].length; i_41_++) + Component76.aBooleanArrayArray8596[i_40_][i_41_] = true; + } + NodeSub8.aBooleanArrayArray6656 = Component76.aBooleanArrayArray8596; + DisplayModeManagerContainer153.aBooleanArrayArray1572 = Component76.aBooleanArrayArray8596; + NameFormatter.anInt492 = 0; + NodeSub34.anInt6974 = 0; + DisplayModeManagerContainer91.anInt387 = StaticElementRenderer.anInt6451; + Component210.anInt5293 = NodeSub41.anInt7054; + Component234.aBoolean351 = false; + } + Component315.method1877(JaclibLoader.toolkit, -69); + if (!DisplayModeManagerContainer5.aClass76_1208.aBoolean1283) { + Component315 class243 = DisplayModeManagerContainer5.aClass76_1208.aClass243_1282; + for (RenderableSub4 class318_sub4 = (RenderableSub4) class243.method1872(8); class318_sub4 != null; class318_sub4 = (RenderableSub4) class243.method1878((byte) 125)) { + class318_sub4.unlink(false); + Component350.method560(class318_sub4, 6); + } + } + if (DisplayModeManagerContainer58.aBoolean10221) { + for (int i_42_ = 0; i_42_ < Component374.anInt4135; i_42_++) + Component329.aClass211Array5993[i_42_].method1544(8688, bool, i); + } + if (DefinitionSub5.aBoolean9121) { + RSACipher.anIntArray4906 = JaclibLoader.toolkit.Y(); + JaclibLoader.toolkit.K(DefinitionSub10.anIntArray9183); + int i_43_ = ((DefinitionSub10.anIntArray9183[2] - DefinitionSub10.anIntArray9183[0]) / DisplayModeManagerContainer216.anInt5652); + for (int i_44_ = 0; i_44_ < DisplayModeManagerContainer216.anInt5652 - 1; i_44_++) + DisplayModeManagerContainer167.anIntArray256[i_44_] = i_43_ * (i_44_ + 1) + Component35.anIntArray4271[i_44_]; + for (int i_45_ = 0; i_45_ < LoggedOutDefinition.aClass293Array9432.length; i_45_++) + LoggedOutDefinition.aClass293Array9432[i_45_].method2209(); + } + if (ImageProducerSprite.aClass357ArrayArrayArray9082 != null) { + if (DefinitionSub5.aBoolean9121) DebugPanicSub1.method2131(0); + Component315.method1879(true); + JaclibLoader.toolkit.ra(-1, 1583160, 40, 127); + Component182.method3398(true, is, i_20_, i_21_, i_25_, i_26_, bool_27_); + if (DefinitionSub5.aBoolean9121) DisplayModeManagerContainer42.method2290(); + JaclibLoader.toolkit.pa(); + Component315.method1879(false); + } + Component182.method3398(false, is, i_20_, i_21_, i_25_, i_26_, bool_27_); + if (DefinitionSub5.aBoolean9121) { + for (int i_46_ = 0; i_46_ < Component291.anInt2524; i_46_++) + Component2.aBooleanArrayArrayArray8361[i_46_] = Component95.aBooleanArrayArrayArray1751[i_46_]; + DebugPanicSub1.method2131(0); + for (int i_47_ = 0; i_47_ < LoggedOutDefinition.aClass293Array9432.length; i_47_++) + LoggedOutDefinition.aClass293Array9432[i_47_].method2209(); + } + if (DefinitionSub5.aBoolean9121) { + DisplayModeManagerContainer42.method2290(); + for (int i_48_ = 0; i_48_ < Component291.anInt2524; i_48_++) + Component95.aBooleanArrayArrayArray1751[i_48_] = Component2.aBooleanArrayArrayArray8361[i_48_]; + if (Npc.anInt10503 == 2) { + if (Component334.aLongArray2013[0] < Component334.aLongArray2013[1]) { + if (DisplayModeManagerContainer167.anIntArray256[0] + Component35.anIntArray4271[0] > DefinitionSub10.anIntArray9183[0]) Component35.anIntArray4271[0]++; + } else if ((Component334.aLongArray2013[0] > Component334.aLongArray2013[1]) && ((DisplayModeManagerContainer167.anIntArray256[0] + Component35.anIntArray4271[0]) < DefinitionSub10.anIntArray9183[2])) Component35.anIntArray4271[0]--; + } + } + if (!DefinitionSub17.aBoolean9242) { + DisplayModeManagerContainer153.aBooleanArrayArray1572 = bools; + NodeSub8.aBooleanArrayArray6656 = bools_28_; + } + DebugOverlay.drawStats(); + } + + AbstractGlTextureSub1(GlToolkitSub2 var_ha_Sub2, int i, int i_49_, int i_50_, int i_51_) { + super(var_ha_Sub2, 32879, i, i_51_ * i_49_ * i_50_, false); + this.anInt8523 = i_49_; + this.anInt8529 = i_50_; + this.anInt8522 = i_51_; + this.aHa_Sub2_4851.method3771((byte) -123, this); + OpenGL.glTexImage3Dub(this.anInt4849, 0, this.anInt4858, this.anInt8523, this.anInt8529, this.anInt8522, 0, SceneNode.method2779(true, (this.anInt4858)), 5121, null, 0); + this.method1957(9728, true); + } +} diff --git a/client/toolkit/gl/AbstractGlTextureSub4.java b/client/toolkit/gl/AbstractGlTextureSub4.java new file mode 100644 index 000000000..aefa84a60 --- /dev/null +++ b/client/toolkit/gl/AbstractGlTextureSub4.java @@ -0,0 +1,68 @@ +/* AbstractGlTextureSub4 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaggl.OpenGL; + +final class AbstractGlTextureSub4 +/** + * RENAMED from `Class258_Sub4` (JODE-obfuscated). + * Evidence: subclass of AbstractGlTexture (hierarchy) + */ extends AbstractGlTexture { + static MouseHandler mouseHandler; + static Component161 aClass138_8553; + static int anInt8554; + static int anInt8555; + private final int anInt8556; + static int[] anIntArray8557 = new int[500]; + static boolean aBoolean8558 = false; + static int anInt8559; + static float aFloat8560; + + public final void method37(int i) { + if (i == -3022) anInt8554++; + } + + AbstractGlTextureSub4(GlToolkitSub2 var_ha_Sub2, int i, int i_0_, byte[] is, int i_1_) { + super(var_ha_Sub2, 3552, i, i_0_, false); + try { + anInt8556 = i_0_; + this.aHa_Sub2_4851.method3771((byte) -94, this); + OpenGL.glPixelStorei(3317, 1); + OpenGL.glTexImage1Dub(this.anInt4849, 0, this.anInt4858, anInt8556, 0, i_1_, 5121, is, 0); + OpenGL.glPixelStorei(3317, 4); + this.method1957(9728, true); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("wha.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_0_ + ',' + (is != null ? "{...}" : "null") + ',' + i_1_ + ')')); + } + } + + final void method1972(byte i, boolean bool) { + this.aHa_Sub2_4851.method3771((byte) -114, this); + int i_2_ = 59 / ((-49 - i) / 40); + anInt8555++; + OpenGL.glTexParameteri(this.anInt4849, 10242, !bool ? 33071 : 10497); + } + + public static void method1973(int i) { + aClass138_8553 = null; + mouseHandler = null; + if (i == 24885) anIntArray8557 = null; + } + + /** Lookup decoded image node by id ({@code bool} selects high bit in key). */ + /** + * Lookup inventory/container node by id (high bit set when {@code bool}). + * Despite living under GL textures historically, this backs UPDATE_INV / item containers. + */ + static final NodeSub13 getContainerNode(byte i, int i_3_, boolean bool) { + anInt8559++; + int i_4_ = -43 / ((-65 - i) / 55); + long l = i_3_ | (bool ? -2147483648 : 0); + return ((NodeSub13) Definition.containers.get(l, -6008)); + } + + static { + aClass138_8553 = new Component161(9, 0, 4, 1); + } +} diff --git a/client/toolkit/gl/BufferedToolkit.java b/client/toolkit/gl/BufferedToolkit.java new file mode 100644 index 000000000..6f15ffd14 --- /dev/null +++ b/client/toolkit/gl/BufferedToolkit.java @@ -0,0 +1,21 @@ +/* BufferedToolkit - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class BufferedToolkit +/** + * RENAMED from `BufferedToolkit` (JODE-obfuscated). + * Evidence: extends r (r); implements Interface19; 1 native method + */ extends r implements Interface19 { + long nativeid; + + BufferedToolkit(OpenGLToolkit var_oa) { + /* empty */ + } + + protected final void finalize() { + if (this.nativeid != 0L) Component36.method1947(0, this); + } + + public final native void w(boolean bool); +} diff --git a/client/toolkit/gl/DualToolkit.java b/client/toolkit/gl/DualToolkit.java new file mode 100644 index 000000000..0234845bf --- /dev/null +++ b/client/toolkit/gl/DualToolkit.java @@ -0,0 +1,27 @@ +/* DualToolkit - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class DualToolkit +/** + * RENAMED from `DualToolkit` (JODE-obfuscated). + * Evidence: implements Interface13, Interface19; 2 native methods + */ implements Interface13, Interface19 { + long nativeid = 0L; + + private final native void r(int i, int i_0_); + + private final native void va(long l, boolean bool); + + public final void w(boolean bool) { + va(this.nativeid, bool); + } + + protected final void finalize() { + if (this.nativeid != 0L) Component36.method1947(0, this); + } + + DualToolkit(int i, int i_1_) { + r(i, i_1_); + } +} diff --git a/client/toolkit/gl/GlExtensionManager.java b/client/toolkit/gl/GlExtensionManager.java new file mode 100644 index 000000000..a665ecdd0 --- /dev/null +++ b/client/toolkit/gl/GlExtensionManager.java @@ -0,0 +1,1224 @@ +/* GlExtensionManager - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ +/** + * RENAMED from `Class377` (JODE-obfuscated). + * OpenGL extension manager. Queries and caches GL_ARB_* extension availability (GL_ARB_texture_non_power_of_two, GL_ARB_vertex_buffer_object, GL_ARB_texture_env_combine, GL_ARB_texture_rectangle) for the toolkit; gates feature paths on extension support. + */ + +import jaclib.memory.Stream; +import jaggl.MapBuffer; +import jaggl.OpenGL; + +import java.awt.*; + +final class GlExtensionManager extends GlToolkitSub3 { + static int anInt9812; + static int anInt9813; + static int anInt9814; + static int anInt9815; + static int anInt9816; + static int anInt9817; + static int anInt9818; + static int anInt9819; + static int anInt9820; + static int anInt9821; + static int anInt9822; + static int anInt9823; + static int anInt9824; + static int anInt9825; + static int anInt9826; + static int anInt9827; + static int anInt9828; + static int anInt9829; + static int anInt9830; + static int anInt9831; + static int anInt9832; + static int anInt9833; + static int anInt9834; + static int anInt9835; + static int anInt9836; + static int anInt9837; + static int anInt9838; + static int anInt9839; + static int anInt9840; + static int anInt9841; + static int anInt9842; + static int anInt9843; + static int anInt9844; + static int anInt9845; + static int anInt9846; + static int anInt9847; + static int anInt9848; + static int anInt9849; + static int anInt9850; + static int anInt9851; + static int anInt9852; + static int anInt9853; + static int anInt9854; + static int anInt9855; + private OpenGL anOpenGL9856; + static int anInt9857; + static int anInt9858; + static int anInt9859; + static Component161 aClass138_9860 = new Component161(15, 0, 1, 0); + static int anInt9861; + static int anInt9862; + static int anInt9863; + static int anInt9864; + static int anInt9865; + static int anInt9866; + static int anInt9867; + static int anInt9868; + private final NodeList aClass262_9869 = new NodeList(); + static int anInt9870; + static int anInt9871; + static int anInt9872; + static int anInt9873; + static int anInt9874; + static int anInt9875; + static int anInt9876; + static int anInt9877; + static int anInt9878; + static int anInt9879; + static int anInt9880; + static int anInt9881; + static int anInt9882; + static int anInt9883; + static int anInt9884; + static int anInt9885; + static int anInt9886; + static int anInt9887; + static int anInt9888; + static int anInt9889; + static int anInt9890; + static int anInt9891; + static int anInt9892; + static int anInt9893; + static int anInt9894; + static int anInt9895; + static int anInt9896; + static int anInt9897; + static int anInt9898; + private NodeList aClass262_9899 = new NodeList(); + static int anInt9900; + private final NodeList aClass262_9901 = new NodeList(); + private NodeList aClass262_9902 = new NodeList(); + private NodeList aClass262_9903 = new NodeList(); + private final NodeList aClass262_9904 = new NodeList(); + private NodeList aClass262_9905 = new NodeList(); + private long aLong9906; + private DebugPanicSub1[] aClass285_Sub1Array9907 = new DebugPanicSub1[16]; + private boolean aBoolean9908; + private int anInt9909; + private boolean aBoolean9910; + private boolean aBoolean9911; + private boolean aBoolean9912; + MapBuffer aMapBuffer9913 = new MapBuffer(); + private boolean aBoolean9914; + MapBuffer aMapBuffer9915 = new MapBuffer(); + private String aString9916; + private final String aString9917; + int anInt9918; + private boolean aBoolean9919; + boolean aBoolean9920; + boolean aBoolean9921; + boolean aBoolean9922; + boolean aBoolean9923; + private int anInt9924; + private int anInt9925 = 0; + private final boolean aBoolean9926; + int[] anIntArray9927; + + final synchronized void method3646(int i) { + anInt9870++; + int i_0_ = 0; + i &= 0x7fffffff; + while (!aClass262_9899.isEmpty((byte) 18)) { + NodeSub35 class348_sub35 = (NodeSub35) aClass262_9899.peekFirst(8); + HashTable.anIntArray1650[i_0_++] = (int) class348_sub35.key; + this.anInt8063 -= class348_sub35.intValue; + if (i_0_ == 1000) { + OpenGL.glDeleteBuffersARB(i_0_, HashTable.anIntArray1650, 0); + i_0_ = 0; + } + } + if (i_0_ > 0) { + OpenGL.glDeleteBuffersARB(i_0_, HashTable.anIntArray1650, 0); + i_0_ = 0; + } + while (!aClass262_9901.isEmpty((byte) 18)) { + NodeSub35 class348_sub35 = (NodeSub35) aClass262_9901.peekFirst(8); + HashTable.anIntArray1650[i_0_++] = (int) class348_sub35.key; + this.anInt8062 -= class348_sub35.intValue; + if (i_0_ == 1000) { + OpenGL.glDeleteTextures(i_0_, HashTable.anIntArray1650, 0); + i_0_ = 0; + } + } + if (i_0_ > 0) { + OpenGL.glDeleteTextures(i_0_, HashTable.anIntArray1650, 0); + i_0_ = 0; + } + while (!aClass262_9902.isEmpty((byte) 18)) { + NodeSub35 class348_sub35 = (NodeSub35) aClass262_9902.peekFirst(8); + HashTable.anIntArray1650[i_0_++] = class348_sub35.intValue; + if (i_0_ == 1000) { + OpenGL.glDeleteFramebuffersEXT(i_0_, HashTable.anIntArray1650, 0); + i_0_ = 0; + } + } + if (i_0_ > 0) { + OpenGL.glDeleteFramebuffersEXT(i_0_, HashTable.anIntArray1650, 0); + i_0_ = 0; + } + while (!aClass262_9903.isEmpty((byte) 18)) { + NodeSub35 class348_sub35 = (NodeSub35) aClass262_9903.peekFirst(8); + HashTable.anIntArray1650[i_0_++] = (int) class348_sub35.key; + this.anInt8079 -= class348_sub35.intValue; + if (i_0_ == 1000) { + OpenGL.glDeleteRenderbuffersEXT(i_0_, HashTable.anIntArray1650, 0); + i_0_ = 0; + } + } + if (i_0_ > 0) { + OpenGL.glDeleteRenderbuffersEXT(i_0_, HashTable.anIntArray1650, 0); + boolean bool = false; + } + while (!aClass262_9869.isEmpty((byte) 18)) { + NodeSub35 class348_sub35 = (NodeSub35) aClass262_9869.peekFirst(8); + OpenGL.glDeleteLists((int) class348_sub35.key, class348_sub35.intValue); + } + while (!aClass262_9904.isEmpty((byte) 18)) { + Node class348 = aClass262_9904.peekFirst(8); + OpenGL.glDeleteProgramARB((int) class348.key); + } + while (!aClass262_9905.isEmpty((byte) 18)) { + Node class348 = aClass262_9905.peekFirst(8); + OpenGL.glDeleteObjectARB(class348.key); + } + while (!aClass262_9869.isEmpty((byte) 18)) { + NodeSub35 class348_sub35 = (NodeSub35) aClass262_9869.peekFirst(8); + OpenGL.glDeleteLists((int) class348_sub35.key, class348_sub35.intValue); + } + if (this.E() > 100663296 && (Component240.currentTimeMillis(-82) > 60000L + aLong9906)) { + System.gc(); + aLong9906 = Component240.currentTimeMillis(-96); + } + super.method3646(i); + } + + final void method3841(byte i) { + if (i == -116) { + OpenGL.glDepthMask(this.aBoolean8124 && this.aBoolean8118); + anInt9837++; + } + } + + final Component387 method3812(int i, Component255[] class58s) { + try { + anInt9875++; + if (i != 0) this.aMapBuffer9913 = null; + return new DisplayModeManagerContainer273(class58s); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bga.KD(" + i + ',' + (class58s != null ? "{...}" : "null") + ')')); + } + } + + final void method3818(boolean bool) { + anInt9844++; + if (bool != true) aClass262_9899 = null; + if (this.aBoolean8110) { + OpenGL.glEnable(16384); + OpenGL.glEnable(16385); + } else { + OpenGL.glDisable(16384); + OpenGL.glDisable(16385); + } + } + + static final void method3965(String string, int i, int i_1_) { + try { + anInt9841++; + RSARequest class348_sub42_sub15 = FriendLoginMessage.method2516(i, (byte) 105, i_1_);//2 + class348_sub42_sub15.method3246(-25490); + class348_sub42_sub15.aString9654 = string; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bga.AA(" + (string != null ? "{...}" : "null") + ',' + i + ',' + i_1_ + ')')); + } + } + + final void method3881(Object object, byte i, Canvas canvas) { + try { + anInt9880++; + if (i == 99) { + Long var_long = (Long) object; + if (!anOpenGL9856.setSurface(var_long.longValue())) throw new RuntimeException(); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bga.UB(" + (object != null ? "{...}" : "null") + ',' + i + ',' + (canvas != null ? "{...}" : "null") + ')')); + } + } + + final void method3901(byte i) { + anInt9831++; + if (i <= -18) method3970(1); + } + + final void method3924(boolean bool, boolean bool_2_, int i, DisplayModeManagerContainer88 class70, boolean bool_3_) { + try { + anInt9852++; + if (bool_2_ == false) { + OpenGL.glTexEnvi(8960, i + 34176, DisplayModeInfo.method531((byte) 101, class70)); + if (bool) OpenGL.glTexEnvi(8960, i + 34192, !bool_3_ ? 770 : 771); + else OpenGL.glTexEnvi(8960, i + 34192, !bool_3_ ? 768 : 769); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bga.DD(" + bool + ',' + bool_2_ + ',' + i + ',' + (class70 != null ? "{...}" : "null") + ',' + bool_3_ + ')')); + } + } + + final boolean method3880(Component342 class68, DisplayModeManagerContainer42 class304, byte i) { + try { + anInt9849++; + int i_4_ = -21 / ((85 - i) / 37); + return true; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bga.FB(" + (class68 != null ? "{...}" : "null") + ',' + (class304 != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + final void method3813(boolean bool) { + OpenGL.glMatrixMode(5889); + if (bool != true) method3652(); + anInt9884++; + OpenGL.glLoadMatrixf(this.aFloatArray8135, 0); + OpenGL.glMatrixMode(5888); + } + + final void NativeHandle() { + anInt9839++; + this.method3946(-32, true); + OpenGL.glClear(256); + } + + final synchronized void method3966(long l, int i) { + try { + anInt9853++; + Node class348 = new Node(); + class348.key = l; + if (i == 34192) aClass262_9905.addTail(class348, i ^ ~0xcb43); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "bga.N(" + l + ',' + i + ')'); + } + } + + final Interface13 method3624(int i, int i_5_) { + anInt9893++; + return null; + } + + final void method3935(int i) { + anInt9861++; + OpenGL.glTexEnvi(8960, 34162, NodeSub32.method3021((byte) 32, (this.aClass229Array8092[(this.anInt8175)]))); + if (i >= -99) method3658(-123, -102, -33, -112); + } + + final Interface18_Impl1 method3872(int i, int i_6_, DisplayModeManagerContainer42 class304, boolean bool, int i_7_, byte[] is) { + try { + if (bool != true) aString9916 = null; + anInt9832++; + return new DisplayModeManagerContainer288(this, class304, i_6_, i_7_, i, is); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bga.ND(" + i + ',' + i_6_ + ',' + (class304 != null ? "{...}" : "null") + ',' + bool + ',' + i_7_ + ',' + (is != null ? "{...}" : "null") + ')')); + } + } + + final synchronized void method3967(int i, byte i_8_, int i_9_) { + anInt9898++; + NodeSub35 class348_sub35 = new NodeSub35(i); + if (i_8_ != 59) method3818(false); + class348_sub35.key = i_9_; + aClass262_9901.addTail(class348_sub35, -20180); + } + + final void method3884(byte i) { + anInt9896++; + if (i != 101) method3967(52, (byte) -47, 49); + } + + final void method3928(int i) { + RuntimeException_Sub1.aFloatArray4602[0] = this.aFloat8180 * this.aFloat8093; + anInt9864++; + RuntimeException_Sub1.aFloatArray4602[2] = this.aFloat8093 * this.aFloat8168; + RuntimeException_Sub1.aFloatArray4602[1] = this.aFloat8087 * this.aFloat8093; + RuntimeException_Sub1.aFloatArray4602[3] = 1.0F; + OpenGL.glLightModelfv(2899, RuntimeException_Sub1.aFloatArray4602, i); + } + + public static void method3968(int i) { + int i_10_ = 69 % ((-67 - i) / 57); + aClass138_9860 = null; + } + + final Interface18_Impl3 method3843(int i, int i_11_, int i_12_, int i_13_, byte[] is, DisplayModeManagerContainer42 class304, int i_14_, boolean bool) { + try { + anInt9846++; + if (i_14_ != 32) anOpenGL9856 = null; + if (!aBoolean9926 && (!Component353.method1436(i_14_ ^ 0x46, i_12_) || !Component353.method1436(i_14_ + 83, i))) { + if (aBoolean9919) return new WorldNameText(this, class304, i_12_, i, is, i_11_, i_13_); + Component19 class14_sub1 = new Component19(this, class304, Component342.aClass68_1183, Component373.nextPowerOfTwo(i_12_, (byte) 108), Component373.nextPowerOfTwo(i, (byte) 108)); + class14_sub1.method70(0, i_11_, (byte) -45, i_13_, i, i_12_, 0, is, class304); + return class14_sub1; + } + return new Component19(this, class304, i_12_, i, bool, is, i_11_, i_13_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bga.B(" + i + ',' + i_11_ + ',' + i_12_ + ',' + i_13_ + ',' + (is != null ? "{...}" : "null") + ',' + (class304 != null ? "{...}" : "null") + ',' + i_14_ + ',' + bool + ')')); + } + } + + final void method3910(byte i, int i_15_) { + if (i == -26) anInt9834++; + } + + final void method3871(Component22 class113, int i) { + try { + if (i == 0) { + anInt9836++; + if (class113 == Component324.aClass113_2047) { + OpenGL.glDisable(3168); + OpenGL.glDisable(3169); + OpenGL.glDisable(3170); + } else { + int i_16_ = Component327.method2411(class113, 25602); + OpenGL.glTexGeni(8192, 9472, i_16_); + OpenGL.glEnable(3168); + OpenGL.glTexGeni(8193, 9472, i_16_); + OpenGL.glEnable(3169); + OpenGL.glTexGeni(8194, 9472, i_16_); + OpenGL.glEnable(3170); + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bga.CD(" + (class113 != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + final void method3926(byte i, boolean bool) { + anInt9847++; + if (i <= 34) aBoolean9914 = false; + if (bool) OpenGL.glEnable(32925); + else OpenGL.glDisable(32925); + } + + final void method3940(int i) { + OpenGL.glMatrixMode(5890); + anInt9888++; + if (HashNodeSub18.aClass251_9685 != this.aClass251Array8113[this.anInt8175]) OpenGL.glLoadMatrixf(this.aClass101_Sub2Array8131[this.anInt8175].method918(Component237.aFloatArray3015, 0), 0); + else OpenGL.glLoadIdentity(); + if (i != 1) method3862(37, null); + OpenGL.glMatrixMode(5888); + } + + final void method3925(int i, Interface5_Impl1 interface5_impl1, int i_17_) { + try { + anInt9814++; + int i_18_ = 86 / ((i - -26) / 39); + aClass285_Sub1Array9907[i_17_] = (DebugPanicSub1) interface5_impl1; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bga.WB(" + i + ',' + (interface5_impl1 != null ? "{...}" : "null") + ',' + i_17_ + ')')); + } + } + + final void method3920(int i) { + anInt9862++; + if (i != 10) method3911(null, 34, null); + OpenGL.glTexEnvi(8960, 34161, NodeSub32.method3021((byte) 32, (this.aClass229Array8086[(this.anInt8175)]))); + } + + final Interface3 method3665(int i, int i_19_) { + anInt9891++; + return null; + } + + final void method3819(byte i) { + anInt9887++; + int i_20_ = this.anIntArray9927[this.anInt8175]; + if (i_20_ != 0) { + this.anIntArray9927[this.anInt8175] = 0; + OpenGL.glBindTexture(i_20_, 0); + OpenGL.glDisable(i_20_); + } + if (i >= -19) aLong9906 = 83L; + } + + final void method3882(byte i) { + anInt9874++; + for (int i_21_ = -1 + this.anInt8090; i_21_ >= 0; i_21_--) { + OpenGL.glActiveTexture(i_21_ + 33984); + OpenGL.glTexEnvi(8960, 8704, 34160); + OpenGL.glTexEnvi(8960, 34161, 8448); + OpenGL.glTexEnvi(8960, 34178, 34166); + OpenGL.glTexEnvi(8960, 34162, 8448); + OpenGL.glTexEnvi(8960, 34186, 34166); + } + OpenGL.glTexEnvi(8960, 34186, 34168); + OpenGL.glShadeModel(7425); + OpenGL.glClearDepth(1.0F); + OpenGL.glDepthFunc(515); + OpenGL.glPolygonMode(1028, 6914); + OpenGL.glEnable(2884); + OpenGL.glCullFace(1029); + OpenGL.glAlphaFunc(516, 0.0F); + OpenGL.glMatrixMode(5888); + OpenGL.glLoadIdentity(); + OpenGL.glColorMaterial(1028, 5634); + OpenGL.glEnable(2903); + float[] fs = {0.0F, 0.0F, 0.0F, 1.0F}; + int i_22_ = 0; + if (i < 45) anInt9925 = 51; + for (/**/; i_22_ < 8; i_22_++) { + int i_23_ = i_22_ + 16384; + OpenGL.glLightfv(i_23_, 4608, fs, 0); + OpenGL.glLightf(i_23_, 4615, 0.0F); + OpenGL.glLightf(i_23_, 4616, 0.0F); + } + OpenGL.glFogf(2914, 0.95F); + OpenGL.glFogi(2917, 9729); + OpenGL.glHint(3156, 4353); + anOpenGL9856.setSwapInterval(0); + super.method3882((byte) 122); + } + + final void method3827(byte i) { + anInt9879++; + if (this.aBoolean8148 && this.aBoolean8123 && this.anInt8091 >= 0) OpenGL.glEnable(2912); + else OpenGL.glDisable(2912); + if (i > -30) NativeHandle(); + } + + final Interface4 method3634(Interface3 interface3, Interface13 interface13) { + try { + anInt9897++; + return null; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bga.NB(" + (interface3 != null ? "{...}" : "null") + ',' + (interface13 != null ? "{...}" : "null") + ')')); + } + } + + final Object method3876(int i, Canvas canvas) { + try { + anInt9894++; + if (i != -1) GA(-118); + long l = anOpenGL9856.prepareSurface(canvas); + if (l == -1) throw new RuntimeException(); + return new Long(l); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bga.MC(" + i + ',' + (canvas != null ? "{...}" : "null") + ')')); + } + } + + final Component6 c() { + anInt9843++; + int i = -1; + if (aString9917.indexOf("nvidia") != -1) i = 4318; + else if (aString9917.indexOf("intel") != -1) i = 32902; + else if (aString9917.indexOf("ati") != -1) i = 4098; + return new Component6(i, "OpenGL", anInt9924, aString9916, 0L); + } + + final Component80 method3706(Component80 class299, Component80 class299_24_, float f, Component80 class299_25_) { + try { + anInt9873++; + if (f < 0.5F) return class299; + return class299_24_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bga.SD(" + (class299 != null ? "{...}" : "null") + ',' + (class299_24_ != null ? "{...}" : "null") + ',' + f + ',' + (class299_25_ != null ? "{...}" : "null") + ')')); + } + } + + final synchronized void method3969(int i, int i_26_, int i_27_) { + if (i_27_ != 3089) this.anIntArray9927 = null; + anInt9850++; + NodeSub35 class348_sub35 = new NodeSub35(i); + class348_sub35.key = i_26_; + aClass262_9899.addTail(class348_sub35, i_27_ ^ ~0x42c2); + } + + final void method3842(boolean bool) { + RuntimeException_Sub1.aFloatArray4602[2] = this.aFloat8168 * this.aFloat8174; + RuntimeException_Sub1.aFloatArray4602[3] = 1.0F; + RuntimeException_Sub1.aFloatArray4602[0] = this.aFloat8180 * this.aFloat8174; + anInt9825++; + RuntimeException_Sub1.aFloatArray4602[1] = this.aFloat8087 * this.aFloat8174; + OpenGL.glLightfv(16384, 4609, RuntimeException_Sub1.aFloatArray4602, 0); + RuntimeException_Sub1.aFloatArray4602[0] = this.aFloat8180 * -this.aFloat8186; + RuntimeException_Sub1.aFloatArray4602[2] = -this.aFloat8186 * this.aFloat8168; + if (bool == true) { + RuntimeException_Sub1.aFloatArray4602[3] = 1.0F; + RuntimeException_Sub1.aFloatArray4602[1] = -this.aFloat8186 * this.aFloat8087; + OpenGL.glLightfv(16385, 4609, RuntimeException_Sub1.aFloatArray4602, 0); + } + } + + private final void method3970(int i) { + if (aBoolean9911) OpenGL.glPopMatrix(); + anInt9840++; + if (i != 1) method3950(69); + if (this.aClass196_8184.method1450(-98)) { + if (!aBoolean9914) { + OpenGL.glLoadMatrixf(this.aClass101_Sub2_8083.method918(Component237.aFloatArray3015, 0), 0); + aBoolean9914 = true; + method3892(0); + method3823((byte) -104); + } + if (!this.aBoolean8069) { + OpenGL.glPushMatrix(); + OpenGL.glMultMatrixf(this.aClass101_Sub2_8074.method918(Component237.aFloatArray3015, i ^ 0x1), 0); + aBoolean9911 = true; + } else aBoolean9911 = false; + } else if (this.aBoolean8069) { + OpenGL.glLoadIdentity(); + aBoolean9911 = false; + } else { + OpenGL.glLoadMatrixf(this.aClass101_Sub2_8074.method918(Component237.aFloatArray3015, 0), 0); + aBoolean9911 = false; + } + } + + final void method3652() { + super.method3652(); + anInt9868++; + if (anOpenGL9856 != null) { + anOpenGL9856.a(); + anOpenGL9856.release(); + anOpenGL9856 = null; + } + } + + final void method3851(int i) { + if (i != 25644) this.aBoolean9921 = false; + anInt9871++; + this.aFloat8115 = (float) (this.anInt8154 + -this.anInt8105); + this.aFloat8173 = ((float) -this.anInt8091 + this.aFloat8115); + if (this.aFloat8173 < (float) this.anInt8095) this.aFloat8173 = (float) this.anInt8095; + OpenGL.glFogf(2915, this.aFloat8173); + OpenGL.glFogf(2916, this.aFloat8115); + RuntimeException_Sub1.aFloatArray4602[2] = ((float) GpsOverlay.bitwiseAnd(this.anInt8144, 255) / 255.0F); + RuntimeException_Sub1.aFloatArray4602[0] = ((float) GpsOverlay.bitwiseAnd(16711680, this.anInt8144) / 1.671168E7F); + RuntimeException_Sub1.aFloatArray4602[1] = ((float) GpsOverlay.bitwiseAnd(65280, this.anInt8144) / 65280.0F); + OpenGL.glFogfv(2918, RuntimeException_Sub1.aFloatArray4602, 0); + } + + final boolean method3671() { + anInt9829++; + return false; + } + + final void method3883(int i) { + if (!this.aBoolean8145 || this.aBoolean8149) OpenGL.glDisable(2896); + else OpenGL.glEnable(2896); + anInt9818++; + int i_28_ = -61 / ((i - 20) / 36); + } + + final void method3921(int i) { + anInt9824++; + if (i == 1) { + if (!this.aBoolean8209) OpenGL.glDisable(3089); + else OpenGL.glEnable(3089); + } + } + + final void method3937(byte i) { + if (i != -33) method3832(35, (byte) -122); + OpenGL.glViewport(this.anInt8181, this.anInt8109, this.anInt7931, this.anInt7962); + anInt9827++; + } + + final void method3658(int i, int i_29_, int i_30_, int i_31_) { + anInt9833++; + } + + GlExtensionManager(OpenGL opengl, Canvas canvas, long l, d var_d, CacheStore class45, int i) { + super(canvas, new Long(l), var_d, class45, i, 1); + try { + try { + anOpenGL9856 = opengl; + anOpenGL9856.b(); + aString9917 = OpenGL.glGetString(7936).toLowerCase(); + aString9916 = OpenGL.glGetString(7937).toLowerCase(); + if (aString9917.indexOf("microsoft") != -1 || aString9917.indexOf("brian paul") != -1 || aString9917.indexOf("mesa") != -1) throw new RuntimeException(""); + String string = OpenGL.glGetString(7938); + String[] strings = DefinitionSub23.splitByChar(' ', true, string.replace('.', ' ')); + if (strings.length < 2) throw new RuntimeException(""); + try { + int i_32_ = NodeSub41.parseInt(true, strings[0]); + int i_33_ = NodeSub41.parseInt(true, strings[1]); + anInt9924 = i_32_ * 10 - -i_33_; + } catch (NumberFormatException numberformatexception) { + throw new RuntimeException(""); + } + if (anInt9924 < 12) throw new RuntimeException(""); + if (!anOpenGL9856.a("GL_ARB_multitexture")) throw new RuntimeException(""); + if (!anOpenGL9856.a("GL_ARB_texture_env_combine")) throw new RuntimeException(""); + int[] is = new int[1]; + OpenGL.glGetIntegerv(34018, is, 0); + this.anInt8090 = is[0]; + if (this.anInt8090 < 2) throw new RuntimeException(""); + this.anInt8138 = 8; + this.aBoolean9920 = anOpenGL9856.a("GL_ARB_vertex_buffer_object"); + this.aBoolean8182 = anOpenGL9856.a("GL_ARB_multisample"); + aBoolean9919 = anOpenGL9856.a("GL_ARB_texture_rectangle"); + this.aBoolean8101 = anOpenGL9856.a("GL_ARB_texture_cube_map"); + aBoolean9926 = anOpenGL9856.a("GL_ARB_texture_non_power_of_two"); + this.aBoolean8159 = anOpenGL9856.a("GL_EXT_texture3D"); + this.aBoolean9921 = anOpenGL9856.a("GL_ARB_vertex_shader"); + this.aBoolean9923 = anOpenGL9856.a("GL_ARB_vertex_program"); + this.aBoolean9922 = anOpenGL9856.a("GL_ARB_fragment_shader"); + anOpenGL9856.a("GL_ARB_fragment_program"); + this.anIntArray9927 = new int[this.anInt8090]; + this.anInt9918 = Stream.c() ? 33639 : 5121; + if (aString9916.indexOf("radeon") != -1) { + int i_34_ = 0; + boolean bool = false; + boolean bool_35_ = false; + String[] strings_36_ = (DefinitionSub23.splitByChar(' ', true, aString9916.replace('/', ' '))); + for (int i_37_ = 0; (i_37_ < strings_36_.length); i_37_++) { + String string_38_ = strings_36_[i_37_]; + try { + if (string_38_.length() > 0) { + if (string_38_.charAt(0) == 'x' && string_38_.length() >= 3 && (DisplayModeManagerContainer368.isDecimal(string_38_.substring(1, 3), -115))) { + bool_35_ = true; + string_38_ = string_38_.substring(1); + } + if (string_38_.equals("hd")) bool = true; + else { + if (string_38_.startsWith("hd")) { + bool = true; + string_38_ = string_38_.substring(2); + } + if (string_38_.length() >= 4 && (DisplayModeManagerContainer368.isDecimal(string_38_.substring(0, 4), 92))) { + i_34_ = (NodeSub41.parseInt(true, string_38_.substring(0, 4))); + break; + } + } + } + } catch (Exception exception) { + /* empty */ + } + } + if (!bool_35_ && !bool) { + if (i_34_ >= 7000 && i_34_ <= 7999) this.aBoolean9920 = false; + if (i_34_ >= 7000 && i_34_ <= 9250) this.aBoolean8159 = false; + } + aBoolean9919 &= anOpenGL9856.a("GL_ARB_half_float_pixel"); + } + aString9917.indexOf("intel"); + if (this.aBoolean9920) { + try { + int[] is_39_ = new int[1]; + OpenGL.glGenBuffersARB(1, is_39_, 0); + } catch (Throwable throwable) { + throw new RuntimeException(""); + } + } + } catch (Throwable throwable) { + throwable.printStackTrace(); + this.method3635((byte) -28); + throw new RuntimeException(""); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bga.(" + (opengl != null ? "{...}" : "null") + ',' + (canvas != null ? "{...}" : "null") + ',' + l + ',' + (var_d != null ? "{...}" : "null") + ',' + (class45 != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + final void method3938(Component158 class21, int i, Interface5_Impl2 interface5_impl2, int i_40_, int i_41_, int i_42_, int i_43_) { + try { + if (i_43_ <= 46) aClass262_9903 = null; + anInt9867++; + int i_44_; + int i_45_; + if (Component217.aClass21_3217 == class21) { + i_44_ = 1; + i_45_ = i * 2; + } else if (class21 == GlWaterShader.aClass21_8832) { + i_45_ = 1 + i; + i_44_ = 3; + } else if (class21 == VideoAdDisplay.aClass21_3181) { + i_44_ = 4; + i_45_ = i * 3; + } else if (HashNodeSub16.aClass21_9661 == class21) { + i_44_ = 6; + i_45_ = 2 + i; + } else if (class21 == BufferCacheSub3.aClass21_8320) { + i_45_ = 2 + i; + i_44_ = 5; + } else { + i_45_ = i; + i_44_ = 0; + } + Component342 class68 = interface5_impl2.method25((byte) 51); + DebugPanicSub2 class285_sub2 = (DebugPanicSub2) interface5_impl2; + class285_sub2.method2125(0); + OpenGL.glDrawElements(i_44_, i_45_, Component387.method1128(-20, class68), (class285_sub2.method2122(27819) + (long) (i_41_ * (class68.anInt1178)))); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bga.JC(" + (class21 != null ? "{...}" : "null") + ',' + i + ',' + (interface5_impl2 != null ? "{...}" : "null") + ',' + i_40_ + ',' + i_41_ + ',' + i_42_ + ',' + i_43_ + ')')); + } + } + + final void method3823(byte i) { + anInt9812++; + int i_46_ = -79 / ((i - -39) / 62); + this.method3942(5); + int i_47_; + for (i_47_ = 0; this.anInt8151 > i_47_; i_47_++) { + NodeSub1 class348_sub1 = this.aClass348_Sub1Array8132[i_47_]; + int i_48_ = class348_sub1.method2720(-1); + int i_49_ = i_47_ + 16386; + float f = class348_sub1.method2721(-37) / 255.0F; + RuntimeException_Sub1.aFloatArray4602[0] = (float) class348_sub1.method2724(-1); + RuntimeException_Sub1.aFloatArray4602[1] = (float) class348_sub1.method2722(124); + RuntimeException_Sub1.aFloatArray4602[2] = (float) class348_sub1.method2717((byte) 111); + RuntimeException_Sub1.aFloatArray4602[3] = 1.0F; + OpenGL.glLightfv(i_49_, 4611, RuntimeException_Sub1.aFloatArray4602, 0); + RuntimeException_Sub1.aFloatArray4602[2] = (float) GpsOverlay.bitwiseAnd(255, i_48_) * f; + RuntimeException_Sub1.aFloatArray4602[1] = f * (float) (GpsOverlay.bitwiseAnd(i_48_, 65338) >> 8); + RuntimeException_Sub1.aFloatArray4602[0] = (float) GpsOverlay.bitwiseAnd(255, i_48_ >> 16) * f; + RuntimeException_Sub1.aFloatArray4602[3] = 1.0F; + OpenGL.glLightfv(i_49_, 4609, RuntimeException_Sub1.aFloatArray4602, 0); + OpenGL.glLightf(i_49_, 4617, 1.0F / (float) (class348_sub1.method2723(-1) * class348_sub1.method2723(-1))); + OpenGL.glEnable(i_49_); + } + for (/**/; i_47_ < this.anInt8122; i_47_++) + OpenGL.glDisable(16386 - -i_47_); + super.method3823((byte) 107); + } + + final void method3844(int i, Canvas canvas, Object object) { + try { + if (i != 12727) anInt9925 = 5; + anInt9821++; + Long var_long = (Long) object; + anOpenGL9856.surfaceResized(var_long.longValue()); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bga.FC(" + i + ',' + (canvas != null ? "{...}" : "null") + ',' + (object != null ? "{...}" : "null") + ')')); + } + } + + final void method3633() { + OpenGL.glFinish(); + anInt9876++; + } + + final boolean method3931(boolean bool, DisplayModeManagerContainer42 class304, Component342 class68) { + try { + if (bool != true) aClass262_9905 = null; + anInt9855++; + return true; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bga.RA(" + bool + ',' + (class304 != null ? "{...}" : "null") + ',' + (class68 != null ? "{...}" : "null") + ')')); + } + } + + final void method3899(int i, int i_50_, Component158 class21, boolean bool) { + try { + anInt9854++; + if (bool != true) this.aBoolean9921 = true; + int i_51_; + int i_52_; + if (class21 == Component217.aClass21_3217) { + i_51_ = 2 * i; + i_52_ = 1; + } else if (GlWaterShader.aClass21_8832 == class21) { + i_51_ = i - -1; + i_52_ = 3; + } else if (VideoAdDisplay.aClass21_3181 == class21) { + i_52_ = 4; + i_51_ = i * 3; + } else if (class21 == HashNodeSub16.aClass21_9661) { + i_52_ = 6; + i_51_ = 2 + i; + } else if (BufferCacheSub3.aClass21_8320 == class21) { + i_51_ = 2 + i; + i_52_ = 5; + } else { + i_51_ = i; + i_52_ = 0; + } + OpenGL.glDrawArrays(i_52_, i_50_, i_51_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bga.V(" + i + ',' + i_50_ + ',' + (class21 != null ? "{...}" : "null") + ',' + bool + ')')); + } + } + + final Interface18_Impl2 method3900(int[][] is, boolean bool, int i, int i_53_) { + try { + if (i <= 1) aClass262_9902 = null; + anInt9883++; + return new DisplayModeManagerContainer389(this, i_53_, bool, is); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bga.HB(" + (is != null ? "{...}" : "null") + ',' + bool + ',' + i + ',' + i_53_ + ')')); + } + } + + final Interface18_Impl3 method3855(DisplayModeManagerContainer42 class304, int i, int i_54_, float[] fs, boolean bool, int i_55_, int i_56_, int i_57_) { + try { + anInt9890++; + if (i_56_ != 2) this.aMapBuffer9913 = null; + if (!aBoolean9926 && (!Component353.method1436(60, i) || !Component353.method1436(-73, i_57_))) { + if (aBoolean9919) return new WorldNameText(this, class304, i, i_57_, fs, i_54_, i_55_); + Component19 class14_sub1 = new Component19(this, class304, Component342.aClass68_1187, Component373.nextPowerOfTwo(i, (byte) 108), Component373.nextPowerOfTwo(i_57_, (byte) 108)); + class14_sub1.method240(i_55_, (byte) -126, fs, class304, 0, i_54_, 0, i, i_57_); + return class14_sub1; + } + return new Component19(this, class304, i, i_57_, bool, fs, i_54_, i_55_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bga.WC(" + (class304 != null ? "{...}" : "null") + ',' + i + ',' + i_54_ + ',' + (fs != null ? "{...}" : "null") + ',' + bool + ',' + i_55_ + ',' + i_56_ + ',' + i_57_ + ')')); + } + } + + final boolean method3666() { + anInt9881++; + return false; + } + + final AbstractShader method3832(int i, byte i_58_) { + anInt9900++; + if (i_58_ >= -57) method3832(-96, (byte) 20); + int i_59_ = i; + while_237_: + do { + do { + if (i_59_ != 3) { + if (i_59_ != 4) { + if (i_59_ == 8) break; + break while_237_; + } + } else return new OpenGlShader(this, this.aClass45_8039); + return new AbstractShaderSub2(this, this.aClass45_8039, this.aClass269_7937); + } while (false); + return new WaterShader(this, this.aClass45_8039, this.aClass269_7937); + } while (false); + return super.method3832(i, (byte) -73); + } + + final Interface18_Impl3 method3830(int i, int[] is, boolean bool, byte i_60_, int i_61_, int i_62_, int i_63_) { + try { + int i_64_ = 101 / ((i_60_ - -21) / 46); + anInt9830++; + if (aBoolean9926 || Component353.method1436(103, i) && Component353.method1436(-53, i_63_)) return new Component19(this, i, i_63_, bool, is, i_61_, i_62_); + if (!aBoolean9919) { + Component19 class14_sub1 = new Component19(this, Component83.aClass304_1662, Component342.aClass68_1183, Component373.nextPowerOfTwo(i, (byte) 108), Component373.nextPowerOfTwo(i_63_, (byte) 108)); + class14_sub1.method68(i_62_, 22809, is, 0, i_61_, i, 0, i_63_); + return class14_sub1; + } + return new WorldNameText(this, i, i_63_, is, i_61_, i_62_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bga.R(" + i + ',' + (is != null ? "{...}" : "null") + ',' + bool + ',' + i_60_ + ',' + i_61_ + ',' + i_62_ + ',' + i_63_ + ')')); + } + } + + final void F(int i, int i_65_) { + anInt9848++; + } + + final void method3626(int i, int i_66_) throws Exception_Sub1 { + anOpenGL9856.swapBuffers(); + anInt9857++; + } + + final void method3673() { + anInt9892++; + if (this.anInt7931 > 0 || this.anInt7962 > 0) { + int i = this.anInt8106; + int i_67_ = this.anInt8183; + int i_68_ = this.anInt8165; + int i_69_ = this.anInt8096; + this.la(); + OpenGL.glReadBuffer(1028); + OpenGL.glDrawBuffer(1029); + this.method3932((byte) -107); + this.method3838(true, false); + this.method3866(false, true); + this.method3890(false, (byte) 127); + this.method3946(-32, false); + this.method3850((byte) 110, null); + this.method3814(false, false, -2, (byte) 42); + this.method3923(true, 1); + this.method3817(117, 0); + OpenGL.glMatrixMode(5889); + OpenGL.glLoadIdentity(); + OpenGL.glOrtho(0.0, 1.0, 0.0, 1.0, -1.0, 1.0); + OpenGL.glMatrixMode(5888); + OpenGL.glLoadIdentity(); + OpenGL.glRasterPos2i(0, 0); + OpenGL.glCopyPixels(0, 0, this.anInt7931, this.anInt7962, 6144); + OpenGL.glFlush(); + OpenGL.glReadBuffer(1029); + OpenGL.glDrawBuffer(1029); + this.KA(i, i_68_, i_67_, i_69_); + } + } + + final void method3947(int i) { + if (i != 4) method3950(-83); + if (!this.aBoolean8116) OpenGL.glDisable(3042); + else OpenGL.glEnable(3042); + anInt9878++; + } + + final synchronized void method3971(int i, int i_70_) { + anInt9819++; + Node class348 = new Node(); + class348.key = i_70_; + aClass262_9904.addTail(class348, -20180); + if (i != 16386) method3928(-86); + } + + final void method3859(int i) { + if (this.aBoolean8164) OpenGL.glEnable(2929); + else OpenGL.glDisable(2929); + if (i != 3) method3937((byte) -23); + anInt9828++; + } + + final void method3829(DisplayModeManagerContainer88 class70, int i, byte i_71_, boolean bool) { + try { + if (i_71_ == 80) { + OpenGL.glTexEnvi(8960, i + 34184, DisplayModeInfo.method531((byte) 123, class70)); + anInt9885++; + OpenGL.glTexEnvi(8960, 34200 + i, bool ? 771 : 770); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bga.AD(" + (class70 != null ? "{...}" : "null") + ',' + i + ',' + i_71_ + ',' + bool + ')')); + } + } + + final void method3707(Rectangle[] rectangles, int i, int i_72_, int i_73_) throws Exception_Sub1 { + try { + anInt9823++; + method3626(i_72_, i_73_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bga.UA(" + (rectangles != null ? "{...}" : "null") + ',' + i + ',' + i_72_ + ',' + i_73_ + ')')); + } + } + + final void method3862(int i, Component387 class130) { + try { + anInt9866++; + Component255[] class58s = ((DisplayModeManagerContainer273) class130).aClass58Array5801; + int i_74_ = 0; + boolean bool = false; + boolean bool_75_ = false; + boolean bool_76_ = false; + for (int i_77_ = i; i_77_ < class58s.length; i_77_++) { + Component255 class58 = class58s[i_77_]; + DebugPanicSub1 class285_sub1 = aClass285_Sub1Array9907[i_77_]; + int i_78_ = 0; + int i_79_ = class285_sub1.method2130(3545); + long l = class285_sub1.method2122(27819); + class285_sub1.method2125(0); + for (int i_80_ = 0; (i_80_ < class58.method538((byte) -119)); i_80_++) { + ColoredTextBuilder class325 = class58.method537(i_80_, -119); + if (class325 == ColoredTextBuilder.aClass325_4073) { + OpenGL.glVertexPointer(3, 5126, i_79_, (long) i_78_ + l); + bool_76_ = true; + } else if (ColoredTextBuilder.aClass325_4075 == class325) { + bool_75_ = true; + OpenGL.glNormalPointer(5126, i_79_, (long) i_78_ + l); + } else if (class325 == ColoredTextBuilder.aClass325_4076) { + OpenGL.glColorPointer(4, 5121, i_79_, (long) i_78_ + l); + bool = true; + } else if (ColoredTextBuilder.aClass325_4077 == class325) { + OpenGL.glClientActiveTexture(33984 + i_74_++); + OpenGL.glTexCoordPointer(1, 5126, i_79_, (long) i_78_ + l); + } else if (ColoredTextBuilder.aClass325_4078 == class325) { + OpenGL.glClientActiveTexture(i_74_++ + 33984); + OpenGL.glTexCoordPointer(2, 5126, i_79_, (long) i_78_ + l); + } else if (ColoredTextBuilder.aClass325_4079 == class325) { + OpenGL.glClientActiveTexture(i_74_++ + 33984); + OpenGL.glTexCoordPointer(3, 5126, i_79_, (long) i_78_ + l); + } else if (class325 == ColoredTextBuilder.aClass325_4080) { + OpenGL.glClientActiveTexture(33984 - -i_74_++); + OpenGL.glTexCoordPointer(4, 5126, i_79_, l + (long) i_78_); + } + i_78_ += class325.anInt4069; + } + } + if (aBoolean9910 != bool_76_) { + if (bool_76_) OpenGL.glEnableClientState(32884); + else OpenGL.glDisableClientState(32884); + aBoolean9910 = bool_76_; + } + if (aBoolean9912 == !bool_75_) { + if (bool_75_) OpenGL.glEnableClientState(32885); + else OpenGL.glDisableClientState(32885); + aBoolean9912 = bool_75_; + } + if (!bool != !aBoolean9908) { + if (!bool) OpenGL.glDisableClientState(32886); + else OpenGL.glEnableClientState(32886); + aBoolean9908 = bool; + } + if (i_74_ <= anInt9909) { + if (anInt9909 > i_74_) { + for (int i_81_ = i_74_; anInt9909 > i_81_; i_81_++) { + OpenGL.glClientActiveTexture(i_81_ + 33984); + OpenGL.glDisableClientState(32888); + } + anInt9909 = i_74_; + } + } else { + for (int i_82_ = anInt9909; i_82_ < i_74_; i_82_++) { + OpenGL.glClientActiveTexture(33984 - -i_82_); + OpenGL.glEnableClientState(32888); + } + anInt9909 = i_74_; + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bga.KC(" + i + ',' + (class130 != null ? "{...}" : "null") + ')')); + } + } + + final void b(int i, int i_83_, int i_84_, int i_85_, double d) { + anInt9859++; + } + + final Interface5_Impl2 method3840(int i, boolean bool) { + anInt9826++; + if (i != -28633) return null; + return new DebugPanicSub2(this, Component342.aClass68_1184, bool); + } + + final int I() { + anInt9845++; + return anInt9925; + } + + final void method3868(boolean bool) { + if (bool != false) aBoolean9919 = false; + OpenGL.glActiveTexture(33984 + this.anInt8175); + anInt9838++; + } + + final void method3898(int i) { + if (i != 12) anInt9924 = 75; + anInt9842++; + aBoolean9914 = false; + method3970(1); + } + + final void method3700(float f, float f_86_, float f_87_) { + anInt9895++; + } + + final void method3911(Canvas canvas, int i, Object object) { + try { + anInt9822++; + Long var_long = (Long) object; + if (i != 1) this.anInt9918 = -120; + anOpenGL9856.releaseSurface(canvas, var_long.longValue()); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bga.QD(" + (canvas != null ? "{...}" : "null") + ',' + i + ',' + (object != null ? "{...}" : "null") + ')')); + } + } + + final void method3945(int i) { + RuntimeException_Sub1.aFloatArray4602[1] = ((float) GpsOverlay.bitwiseAnd(65280, this.anInt8119) / 65280.0F); + RuntimeException_Sub1.aFloatArray4602[2] = ((float) GpsOverlay.bitwiseAnd(255, this.anInt8119) / 255.0F); + RuntimeException_Sub1.aFloatArray4602[3] = (float) (this.anInt8119 >>> 24) / 255.0F; + anInt9889++; + RuntimeException_Sub1.aFloatArray4602[0] = ((float) GpsOverlay.bitwiseAnd(16711680, this.anInt8119) / 1.671168E7F); + if (i >= -107) anInt9909 = -64; + OpenGL.glTexEnvfv(8960, 8705, RuntimeException_Sub1.aFloatArray4602, 0); + } + + final void method3892(int i) { + anInt9865++; + OpenGL.glLightfv(16384, 4611, this.aFloatArray8170, i); + OpenGL.glLightfv(16385, 4611, this.aFloatArray8102, 0); + } + + final void GA(int i) { + OpenGL.glClearColor((float) (0xff0000 & i) / 1.671168E7F, (float) (0xff00 & i) / 65280.0F, (float) (i & 0xff) / 255.0F, (float) (i >>> 24) / 255.0F); + anInt9835++; + OpenGL.glClear(16384); + } + + final void method3672() { + anInt9851++; + } + + final void method3939(byte i) { + if (this.aBoolean8141) OpenGL.glEnable(3008); + else OpenGL.glDisable(3008); + if (i == 100) anInt9858++; + } + + final void method3710() { + anInt9872++; + } + + final Interface18_Impl3 method3861(int i, byte i_88_, int i_89_, Component342 class68, DisplayModeManagerContainer42 class304) { + try { + if (i_88_ != -84) method3842(false); + anInt9882++; + if (aBoolean9926 || (Component353.method1436(i_88_ + 15, i_89_) && Component353.method1436(65, i))) return new Component19(this, class304, class68, i_89_, i); + if (!aBoolean9919) return new Component19(this, class304, class68, Component373.nextPowerOfTwo(i_89_, (byte) 108), Component373.nextPowerOfTwo(i, (byte) 108)); + return new WorldNameText(this, class304, class68, i_89_, i); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("bga.NC(" + i + ',' + i_88_ + ',' + i_89_ + ',' + (class68 != null ? "{...}" : "null") + ',' + (class304 != null ? "{...}" : "null") + ')')); + } + } + + final void method3698() { + anInt9863++; + } + + final void method3888(int i) { + if (i != 6259) aClass285_Sub1Array9907 = null; + anInt9817++; + OpenGL.glScissor(this.anInt8181 - -this.anInt8106, -this.anInt8096 + (this.anInt8109 - -this.anInt7962), -this.anInt8106 + this.anInt8183, this.anInt8096 - this.anInt8165); + } + + final void method3647(boolean bool) { + anInt9813++; + } + + final void method3950(int i) { + anInt9886++; + if (HardwareProbe.aClass173_6602 == this.aClass173_8163) OpenGL.glBlendFunc(770, 771); + else if (Component325.aClass173_1201 == this.aClass173_8163) OpenGL.glBlendFunc(1, 1); + else if (Component224.aClass173_5169 == this.aClass173_8163) OpenGL.glBlendFunc(774, 1); + if (i != 0) this.anInt9918 = 74; + } + + final Interface5_Impl1 method3889(boolean bool, int i) { + anInt9815++; + if (i != 16711680) return null; + return new DebugPanicSub1(this, bool); + } + + final float method3858(boolean bool) { + anInt9877++; + if (bool != false) method3935(45); + return 0.0F; + } + + final int[] ShaderImpl(int i, int i_90_, int i_91_, int i_92_) { + anInt9820++; + int[] is = new int[i_92_ * i_91_]; + for (int i_93_ = 0; i_93_ < i_92_; i_93_++) + OpenGL.glReadPixelsi(i, (-1 + (-i_93_ + -i_90_) + this.anInt7962), i_91_, 1, 32993, this.anInt9918, is, i_91_ * i_93_); + return is; + } + + final void method3687(Interface4 interface4) { + try { + anInt9816++; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "bga.IA(" + (interface4 != null ? "{...}" : "null") + ')'); + } + } +} diff --git a/client/toolkit/gl/GlFramebufferTexture.java b/client/toolkit/gl/GlFramebufferTexture.java new file mode 100644 index 000000000..4e0a839d8 --- /dev/null +++ b/client/toolkit/gl/GlFramebufferTexture.java @@ -0,0 +1,85 @@ +/* GlFramebufferTexture - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class258_Sub2` (JODE-obfuscated). + * OpenGL framebuffer-object texture (extends renamed AbstractGlTexture). Uses OpenGL.glFramebufferTexture2DEXT to attach this texture as an FBO color/depth attachment for render-to-texture. + */ + +import jaggl.OpenGL; + +final class GlFramebufferTexture extends AbstractGlTexture { + static long[] aLongArray8530; + static RunescapeInfo[] aClass10Array8531 = new RunescapeInfo[50]; + static String[] aStringArray8532; + static int anInt8533; + static int anInt8534; + private int anInt8535 = -1; + private int anInt8536 = -1; + static int anInt8537; + int anInt8538; + + final void method1961(int i, int i_0_, int i_1_, int i_2_, int i_3_) { + anInt8533++; + OpenGL.glFramebufferTexture2DEXT(i, i_1_, i_0_, this.anInt4859, i_2_); + if (i_3_ != -1) aStringArray8532 = null; + anInt8536 = i; + anInt8535 = i_1_; + } + + GlFramebufferTexture(GlToolkitSub2 var_ha_Sub2, int i, int i_4_) { + super(var_ha_Sub2, 34067, i, i_4_ * (i_4_ * 6), false); + this.anInt8538 = i_4_; + this.aHa_Sub2_4851.method3771((byte) -81, this); + for (int i_5_ = 0; i_5_ < 6; i_5_++) + OpenGL.glTexImage2Dub(i_5_ + 34069, 0, this.anInt4858, i_4_, i_4_, 0, SceneNode.method2779(true, (this.anInt4858)), 5121, null, 0); + this.method1957(9728, true); + } + + public final void method37(int i) { + OpenGL.glFramebufferTexture2DEXT(anInt8536, anInt8535, 3553, 0, 0); + anInt8534++; + anInt8535 = -1; + if (i != -3022) anInt8537 = 60; + anInt8536 = -1; + } + + GlFramebufferTexture(GlToolkitSub2 var_ha_Sub2, int i, int i_6_, boolean bool, byte[][] is, int i_7_) { + super(var_ha_Sub2, 34067, i, i_6_ * (i_6_ * 6), bool); + try { + this.anInt8538 = i_6_; + this.aHa_Sub2_4851.method3771((byte) -127, this); + for (int i_8_ = 0; i_8_ < 6; i_8_++) + OpenGL.glTexImage2Dub(i_8_ + 34069, 0, this.anInt4858, i_6_, i_6_, 0, i_7_, 5121, is[i_8_], 0); + this.method1957(9728, true); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("q.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_6_ + ',' + bool + ',' + (is != null ? "{...}" : "null") + ',' + i_7_ + ')')); + } + } + + GlFramebufferTexture(GlToolkitSub2 var_ha_Sub2, int i, int i_9_, boolean bool, int[][] is) { + super(var_ha_Sub2, 34067, i, 6 * i_9_ * i_9_, bool); + try { + this.anInt8538 = i_9_; + this.aHa_Sub2_4851.method3771((byte) -77, this); + if (bool) { + for (int i_10_ = 0; i_10_ < 6; i_10_++) + Component45.method3460(i_10_ + 34069, this.anInt4858, i_9_, this.aHa_Sub2_4851.anInt7812, i_9_, is[i_10_], 32993, -83); + } else { + for (int i_11_ = 0; i_11_ < 6; i_11_++) + OpenGL.glTexImage2Di(i_11_ + 34069, 0, this.anInt4858, i_9_, i_9_, 0, 32993, (this.aHa_Sub2_4851.anInt7812), is[i_11_], 0); + } + this.method1957(9728, true); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("q.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_9_ + ',' + bool + ',' + (is != null ? "{...}" : "null") + ')')); + } + } + + public static void method1962(int i) { + aStringArray8532 = null; + aLongArray8530 = null; + aClass10Array8531 = null; + if (i != -1) aStringArray8532 = null; + } +} diff --git a/client/toolkit/gl/GlRectangleTexture.java b/client/toolkit/gl/GlRectangleTexture.java new file mode 100644 index 000000000..aef148e08 --- /dev/null +++ b/client/toolkit/gl/GlRectangleTexture.java @@ -0,0 +1,152 @@ +/* GlRectangleTexture - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class258_Sub3_Sub1` (JODE-obfuscated). + * OpenGL rectangle texture (extends renamed GlTexture). Constructor treats target 34037 (GL_TEXTURE_RECTANGLE) specially, storing float width/height (aFloat9937/aFloat9938) and a cube/rect flag (aBoolean9941). + */ + +final class GlRectangleTexture extends GlTexture { + float aFloat9937; + float aFloat9938; + int anInt9939; + int anInt9940; + boolean aBoolean9941; + static int anInt9942; + + GlRectangleTexture(GlToolkitSub2 var_ha_Sub2, int i, int i_0_, int i_1_, int i_2_) { + super(var_ha_Sub2, i, i_0_, i_1_, i_2_); + if (this.anInt4849 == 34037) { + this.aFloat9938 = (float) i_2_; + this.aBoolean9941 = false; + this.aFloat9937 = (float) i_1_; + } else { + this.aBoolean9941 = true; + this.aFloat9937 = this.aFloat9938 = 1.0F; + } + this.anInt9940 = i_1_; + this.anInt9939 = i_2_; + } + + GlRectangleTexture(GlToolkitSub2 var_ha_Sub2, int i, int i_3_, int i_4_, int i_5_, int i_6_) { + super(var_ha_Sub2, 3553, i, i_5_, i_6_); + this.aFloat9937 = (float) i_3_ / (float) i_5_; + this.anInt9939 = i_4_; + this.anInt9940 = i_3_; + this.aFloat9938 = (float) i_4_ / (float) i_6_; + this.aBoolean9941 = false; + this.method1965(false, false, 10243); + } + + GlRectangleTexture(GlToolkitSub2 var_ha_Sub2, int i, int i_7_, int i_8_, int i_9_, int i_10_, boolean bool) { + super(var_ha_Sub2, i, i_7_, i_8_, i_9_, i_10_); + this.anInt9940 = i_9_; + if (this.anInt4849 == 34037) { + this.aBoolean9941 = false; + this.aFloat9937 = (float) i_9_; + this.aFloat9938 = (float) i_10_; + } else { + this.aBoolean9941 = true; + this.aFloat9937 = this.aFloat9938 = 1.0F; + } + this.anInt9939 = i_10_; + } + + static final void method1971(int i, String string, boolean bool, int i_11_) { + anInt9942++; + Component350.method556(false); + DisplayModeManagerContainer196.method2681(9864); + NodeSub22.method2959(-1); + OggStream.method2965(string, i_11_, bool, 0); + ClientSystemInfo.method2994(2); + DisplayModeManagerContainer292.method1311(5139, NodeSub8.toolkit); + Component27.method3568(NodeSub8.toolkit, 4); + ItemDefinitionProvider.method1933(Component158.aClass45_322, NodeSub8.toolkit, true); + FriendsIgnoreList.clearHudSprites(-128); + DisplayModeManagerContainer204.method901(Component22.aClass105Array1744, 515880227); + Component160.method3466(i ^ ~0x4f); + Definition.method3038(-1); + if (Component49.clientState == 3) Buffer.setClientState(2, 4); + else if (Component49.clientState == 7) Buffer.setClientState(2, 8); + else if (Component49.clientState != 10) { + if (Component49.clientState == 1 || Component49.clientState == 2) Component239.method3616(12639); + } else Buffer.setClientState(2, 11); + } + + GlRectangleTexture(GlToolkitSub2 var_ha_Sub2, int i, int i_12_, int i_13_, int i_14_, int i_15_, int i_16_, boolean bool) { + super(var_ha_Sub2, 3553, i, i_12_, i_15_, i_16_); + this.anInt9940 = i_13_; + this.aFloat9938 = (float) i_14_ / (float) i_16_; + this.aFloat9937 = (float) i_13_ / (float) i_15_; + this.anInt9939 = i_14_; + this.aBoolean9941 = false; + this.method1965(false, false, 10243); + } + + GlRectangleTexture(GlToolkitSub2 var_ha_Sub2, int i, int i_17_, int i_18_, int i_19_, int i_20_, byte[] is, int i_21_) { + super(var_ha_Sub2, 3553, i, i_19_, i_20_); + try { + this.anInt9940 = i_17_; + this.anInt9939 = i_18_; + this.method1970(0, 0, i_17_, true, 0, i_18_, i_21_, 127, is, 0); + this.aFloat9938 = (float) i_18_ / (float) i_20_; + this.aFloat9937 = (float) i_17_ / (float) i_19_; + this.aBoolean9941 = false; + this.method1965(false, false, 10243); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("eba.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_17_ + ',' + i_18_ + ',' + i_19_ + ',' + i_20_ + ',' + (is != null ? "{...}" : "null") + ',' + i_21_ + ')')); + } + } + + GlRectangleTexture(GlToolkitSub2 var_ha_Sub2, int i, int i_22_, int i_23_, boolean bool, int[] is, int i_24_, int i_25_) { + super(var_ha_Sub2, i, 6408, i_22_, i_23_, bool, is, i_24_, i_25_, true); + try { + if (this.anInt4849 == 34037) { + this.aFloat9937 = (float) i_22_; + this.aBoolean9941 = false; + this.aFloat9938 = (float) i_23_; + } else { + this.aBoolean9941 = true; + this.aFloat9937 = this.aFloat9938 = 1.0F; + } + this.anInt9939 = i_23_; + this.anInt9940 = i_22_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("eba.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_22_ + ',' + i_23_ + ',' + bool + ',' + (is != null ? "{...}" : "null") + ',' + i_24_ + ',' + i_25_ + ')')); + } + } + + GlRectangleTexture(GlToolkitSub2 var_ha_Sub2, int i, int i_26_, int i_27_, int i_28_, int[] is) { + super(var_ha_Sub2, 3553, 6408, i_27_, i_28_); + try { + this.anInt9940 = i; + this.anInt9939 = i_26_; + this.method1964(true, i_26_, 0, is, 0, (byte) -73, i, 0, 0); + this.aFloat9937 = (float) i / (float) i_27_; + this.aFloat9938 = (float) i_26_ / (float) i_28_; + this.aBoolean9941 = false; + this.method1965(false, false, 10243); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("eba.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_26_ + ',' + i_27_ + ',' + i_28_ + ',' + (is != null ? "{...}" : "null") + ')')); + } + } + + GlRectangleTexture(GlToolkitSub2 var_ha_Sub2, int i, int i_29_, int i_30_, int i_31_, boolean bool, byte[] is, int i_32_) { + super(var_ha_Sub2, i, i_29_, i_30_, i_31_, bool, is, i_32_, true); + try { + this.anInt9940 = i_30_; + if (this.anInt4849 == 34037) { + this.aFloat9938 = (float) i_31_; + this.aBoolean9941 = false; + this.aFloat9937 = (float) i_30_; + } else { + this.aBoolean9941 = true; + this.aFloat9937 = this.aFloat9938 = 1.0F; + } + this.anInt9939 = i_31_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("eba.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_29_ + ',' + i_30_ + ',' + i_31_ + ',' + bool + ',' + (is != null ? "{...}" : "null") + ',' + i_32_ + ')')); + } + } +} diff --git a/client/toolkit/gl/GlTexture.java b/client/toolkit/gl/GlTexture.java new file mode 100644 index 000000000..13f8b3f68 --- /dev/null +++ b/client/toolkit/gl/GlTexture.java @@ -0,0 +1,247 @@ +/* GlTexture - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `Class258_Sub3` (JODE-obfuscated). + * Concrete OpenGL texture. extends AbstractGlTexture; uploads pixel data via OpenGL.glTexImage2D in method1963/constructor. + */ + +import jaggl.OpenGL; + +import java.awt.*; +import java.awt.image.PixelGrabber; + +class GlTexture extends AbstractGlTexture { + static int anInt8539; + static int anInt8540; + static int anInt8541; + static int anInt8542; + static int anInt8543; + static int anInt8544; + private int anInt8545; + static int anInt8546; + int anInt8547; + static int anInt8548; + private int anInt8549 = -1; + static int anInt8550 = 0; + int anInt8551; + + GlTexture(GlToolkitSub2 var_ha_Sub2, int i, int i_0_, int i_1_, int i_2_) { + super(var_ha_Sub2, i, i_0_, i_1_ * i_2_, false); + anInt8545 = -1; + this.anInt8547 = i_1_; + this.anInt8551 = i_2_; + this.aHa_Sub2_4851.method3771((byte) -111, this); + OpenGL.glTexImage2Dub(this.anInt4849, 0, this.anInt4858, i_1_, i_2_, 0, SceneNode.method2779(true, (this.anInt4858)), 5121, null, 0); + this.method1957(9728, true); + } + + final void method1963(int i, int i_3_, int i_4_, int i_5_) { + anInt8541++; + if (i_4_ != 0) anInt8550 = -125; + OpenGL.glFramebufferTexture2DEXT(i, i_5_, this.anInt4849, this.anInt4859, i_3_); + anInt8549 = i; + anInt8545 = i_5_; + } + + GlTexture(GlToolkitSub2 var_ha_Sub2, int i, int i_6_, int i_7_, int i_8_, boolean bool, float[] fs, int i_9_) { + super(var_ha_Sub2, i, i_6_, i_8_ * i_7_, bool); + anInt8545 = -1; + try { + this.anInt8547 = i_7_; + this.anInt8551 = i_8_; + this.aHa_Sub2_4851.method3771((byte) -91, this); + if (bool && this.anInt4849 != 34037) { + Component210.method551(i_7_, i_9_, i, fs, 0, i_8_, i_6_); + this.method1955(true, (byte) -123); + } else { + OpenGL.glTexImage2Df(this.anInt4849, 0, this.anInt4858, this.anInt8547, this.anInt8551, 0, i_9_, 5126, fs, 0); + this.method1955(false, (byte) -123); + } + this.method1957(9728, true); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("tp.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_6_ + ',' + i_7_ + ',' + i_8_ + ',' + bool + ',' + (fs != null ? "{...}" : "null") + ',' + i_9_ + ')')); + } + } + + final void method1964(boolean bool, int i, int i_10_, int[] is, int i_11_, byte i_12_, int i_13_, int i_14_, int i_15_) { + anInt8543++; + if (i_15_ == 0) i_15_ = i_13_; + if (bool) { + int[] is_16_ = new int[i_13_ * i]; + for (int i_17_ = 0; i_17_ < i; i_17_++) { + int i_18_ = i_13_ * i_17_; + int i_19_ = (-1 + i - i_17_) * i_15_ + i_11_; + for (int i_20_ = 0; i_20_ < i_13_; i_20_++) + is_16_[i_18_++] = is[i_19_++]; + } + is = is_16_; + } + this.aHa_Sub2_4851.method3771((byte) -80, this); + if (i_13_ != i_15_) OpenGL.glPixelStorei(3314, i_15_); + OpenGL.glTexSubImage2Di(this.anInt4849, 0, i_14_, i_10_, i_13_, i, 32993, (this.aHa_Sub2_4851.anInt7812), is, i_11_); + if (i_13_ != i_15_) OpenGL.glPixelStorei(3314, 0); + if (i_12_ > -65) this.anInt8547 = 101; + } + + GlTexture(GlToolkitSub2 var_ha_Sub2, int i, int i_21_, int i_22_, int i_23_, boolean bool, int[] is, int i_24_, int i_25_, boolean bool_26_) { + super(var_ha_Sub2, i, i_21_, i_23_ * i_22_, bool); + anInt8545 = -1; + try { + this.anInt8547 = i_22_; + this.anInt8551 = i_23_; + if (bool_26_) { + int[] is_27_ = new int[is.length]; + for (int i_28_ = 0; i_23_ > i_28_; i_28_++) { + int i_29_ = i_28_ * i_22_; + int i_30_ = i_22_ * (-1 + -i_28_ + i_23_); + for (int i_31_ = 0; i_31_ < i_22_; i_31_++) + is_27_[i_29_++] = is[i_30_++]; + } + is = is_27_; + } + this.aHa_Sub2_4851.method3771((byte) -79, this); + if (this.anInt4849 == 34037 || !bool || i_24_ != 0 || i_25_ != 0) { + OpenGL.glPixelStorei(3314, i_24_); + OpenGL.glTexImage2Di(this.anInt4849, 0, this.anInt4858, this.anInt8547, this.anInt8551, 0, 32993, this.aHa_Sub2_4851.anInt7812, is, 4 * i_25_); + OpenGL.glPixelStorei(3314, 0); + this.method1955(false, (byte) -123); + } else { + Component45.method3460(this.anInt4849, this.anInt4858, this.anInt8551, this.aHa_Sub2_4851.anInt7812, this.anInt8547, is, 32993, -103); + this.method1955(true, (byte) -123); + } + this.method1957(9728, true); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("tp.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_21_ + ',' + i_22_ + ',' + i_23_ + ',' + bool + ',' + (is != null ? "{...}" : "null") + ',' + i_24_ + ',' + i_25_ + ',' + bool_26_ + ')')); + } + } + + GlTexture(GlToolkitSub2 var_ha_Sub2, int i, int i_32_, int i_33_, int i_34_, boolean bool, byte[] is, int i_35_, boolean bool_36_) { + super(var_ha_Sub2, i, i_32_, i_33_ * i_34_, bool); + anInt8545 = -1; + try { + this.anInt8547 = i_33_; + this.anInt8551 = i_34_; + if (bool_36_) { + byte[] is_37_ = new byte[is.length]; + for (int i_38_ = 0; i_34_ > i_38_; i_38_++) { + int i_39_ = i_33_ * i_38_; + int i_40_ = i_33_ * (-i_38_ + (i_34_ + -1)); + for (int i_41_ = 0; i_33_ > i_41_; i_41_++) + is_37_[i_39_++] = is[i_40_++]; + } + is = is_37_; + } + this.aHa_Sub2_4851.method3771((byte) -84, this); + OpenGL.glPixelStorei(3317, 1); + if (!bool || this.anInt4849 == 34037) { + OpenGL.glTexImage2Dub(this.anInt4849, 0, this.anInt4858, this.anInt8547, this.anInt8551, 0, i_35_, 5121, is, 0); + this.method1955(false, (byte) -123); + } else { + Component134.method1403(i_34_, i_33_, is, false, i_35_, i, i_32_); + this.method1955(true, (byte) -123); + } + OpenGL.glPixelStorei(3317, 4); + this.method1957(9728, true); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("tp.(" + (var_ha_Sub2 != null ? "{...}" : "null") + ',' + i + ',' + i_32_ + ',' + i_33_ + ',' + i_34_ + ',' + bool + ',' + (is != null ? "{...}" : "null") + ',' + i_35_ + ',' + bool_36_ + ')')); + } + } + + final void method1965(boolean bool, boolean bool_42_, int i) { + anInt8540++; + if (i != 10243) method1966(-20, 83, 1, -22, (byte) -31, 74, -57, 109, -102); + if (this.anInt4849 == 3553) { + this.aHa_Sub2_4851.method3771((byte) -102, this); + OpenGL.glTexParameteri(this.anInt4849, 10242, bool_42_ ? 10497 : 33071); + OpenGL.glTexParameteri(this.anInt4849, 10243, !bool ? 33071 : 10497); + } + } + + static final void method1966(int i, int i_43_, int i_44_, int i_45_, byte i_46_, int i_47_, int i_48_, int i_49_, int i_50_) { + Component335.aClass338Array2034[RadixText.occluderCountA++] = new Component103(i_47_, i_49_, i_50_, i, i, i_50_, i_45_, i_43_, i_43_, i_45_, i_44_, i_44_, i_48_, i_48_); + anInt8548++; + if (i_46_ != 0) method1968(); + } + + final void method1967(int i, int i_51_, int i_52_, int i_53_, int i_54_, byte i_55_, int i_56_) { + anInt8544++; + int i_57_ = (this.aHa_Sub2_4851.anInt7641 + (-i_52_ - i_51_)); + this.aHa_Sub2_4851.method3771((byte) -100, this); + OpenGL.glCopyTexSubImage2D(this.anInt4849, 0, i, -i_51_ - (i_53_ - (this.anInt8551)), i_54_, i_57_, i_56_, i_51_); + if (i_55_ != -120) method1965(true, true, -57); + OpenGL.glFlush(); + } + + static final void method1968() { + NodeBase.method3437(1, Component291.anInt2524); + } + + public final void method37(int i) { + if (i != -3022) this.anInt8547 = 75; + OpenGL.glFramebufferTexture2DEXT(anInt8549, anInt8545, this.anInt4849, 0, 0); + anInt8542++; + anInt8545 = -1; + anInt8549 = -1; + } + + static final Component24 method1969(byte[] is, int i) { + anInt8546++; + if (i != -5901) anInt8550 = 83; + if (is == null) throw new RuntimeException(""); + for (; ; ) { + try { + Image image = Toolkit.getDefaultToolkit().createImage(is); + MediaTracker mediatracker = new MediaTracker(NpcComposition.aClient1367); + mediatracker.addImage(image, 0); + mediatracker.waitForAll(); + int i_58_ = image.getWidth(NpcComposition.aClient1367); + int i_59_ = image.getHeight(NpcComposition.aClient1367); + if (mediatracker.isErrorAny() || i_58_ < 0 || i_59_ < 0) throw new RuntimeException(""); + int[] is_60_ = new int[i_59_ * i_58_]; + PixelGrabber pixelgrabber = new PixelGrabber(image, 0, 0, i_58_, i_59_, is_60_, 0, i_58_); + pixelgrabber.grabPixels(); + return NodeSub8.toolkit.method3662(i_58_, is_60_, (byte) 94, 0, i_58_, i_59_); + } catch (InterruptedException interruptedexception) { + /* empty */ + } + } + } + + final void method1970(int i, int i_61_, int i_62_, boolean bool, int i_63_, int i_64_, int i_65_, int i_66_, byte[] is, int i_67_) { + if (i_63_ == 0) i_63_ = i_62_; + anInt8539++; + if (bool) { + int i_68_ = Component191.method1382(i_65_, -6409); + int i_69_ = i_68_ * i_62_; + int i_70_ = i_63_ * i_68_; + byte[] is_71_ = new byte[i_64_ * i_69_]; + for (int i_72_ = 0; i_64_ > i_72_; i_72_++) { + int i_73_ = i_69_ * i_72_; + int i_74_ = (-1 + i_64_ - i_72_) * i_70_ + i_67_; + for (int i_75_ = 0; i_75_ < i_69_; i_75_++) + is_71_[i_73_++] = is[i_74_++]; + } + is = is_71_; + } + this.aHa_Sub2_4851.method3771((byte) -102, this); + OpenGL.glPixelStorei(3317, 1); + if (i_62_ != i_63_) OpenGL.glPixelStorei(3314, i_63_); + OpenGL.glTexSubImage2Dub(this.anInt4849, 0, i, i_61_, i_62_, i_64_, i_65_, 5121, is, i_67_); + if (i_63_ != i_62_) OpenGL.glPixelStorei(3314, 0); + OpenGL.glPixelStorei(3317, 4); + int i_76_ = -17 % ((46 - i_66_) / 59); + } + + GlTexture(GlToolkitSub2 var_ha_Sub2, int i, int i_77_, int i_78_, int i_79_, int i_80_) { + super(var_ha_Sub2, i, 6407, i_80_ * i_79_, false); + anInt8545 = -1; + this.anInt8547 = i_79_; + this.anInt8551 = i_80_; + int i_81_ = (this.aHa_Sub2_4851.anInt7641 + (-i_78_ + -i_80_)); + this.aHa_Sub2_4851.method3771((byte) -111, this); + OpenGL.glCopyTexImage2D(this.anInt4849, 0, this.anInt4858, i_77_, i_81_, i_79_, i_80_, 0); + this.method1957(9728, true); + } +} diff --git a/client/toolkit/gl/GlToolkitSub2.java b/client/toolkit/gl/GlToolkitSub2.java new file mode 100644 index 000000000..2561716a7 --- /dev/null +++ b/client/toolkit/gl/GlToolkitSub2.java @@ -0,0 +1,3694 @@ +/* GlToolkitSub2 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import jaclib.memory.Buffer; +import jaclib.memory.Stream; +import jaclib.memory.heap.NativeHeap; +import jaggl.OpenGL; + +import java.awt.*; +import java.util.Enumeration; +import java.util.Hashtable; + +final class GlToolkitSub2 +/** + * RENAMED from `GlToolkitSub2` (JODE-obfuscated). + * Evidence: extends GraphicsToolkit (GraphicsToolkit) + */ extends GraphicsToolkit { + static int anInt7514; + static int anInt7515; + static int anInt7516; + static int anInt7517; + static int anInt7518; + static int anInt7519; + static int anInt7520; + static int anInt7521; + static int anInt7522; + private int anInt7523; + static int anInt7524; + static int anInt7525; + static int anInt7526; + static int anInt7527; + static int anInt7528; + static int anInt7529; + static int anInt7530; + static int anInt7531; + static int anInt7532; + static int anInt7533; + static int anInt7534; + static int anInt7535; + static int anInt7536; + static int anInt7537; + static int anInt7538; + static int anInt7539; + static int anInt7540; + static int anInt7541; + static int anInt7542; + static int anInt7543; + static int anInt7544; + static int anInt7545; + static int anInt7546; + static int anInt7547; + static int anInt7548; + static int anInt7549; + static int anInt7550; + static int anInt7551; + static int anInt7552; + private final long aLong7553; + static StringCache aClass351_7554; + static int anInt7555; + static int anInt7556; + static int anInt7557; + static int anInt7558; + static int anInt7559; + static int anInt7560; + static int anInt7561; + static int anInt7562; + static int anInt7563; + static int anInt7564; + static int anInt7565; + static int anInt7566; + static int anInt7567; + static int anInt7568; + static int anInt7569; + static int anInt7570; + static int anInt7571; + static int anInt7572; + static int anInt7573; + static int anInt7574; + private Canvas aCanvas7575; + static int anInt7576; + private final Hashtable aHashtable7577 = new Hashtable(); + static int anInt7578; + static int anInt7579; + static int anInt7580; + static int anInt7581; + static int anInt7582; + static int anInt7583; + static int anInt7584; + static int anInt7585; + static int anInt7586; + static int anInt7587; + static int anInt7588; + static int anInt7589; + static int anInt7590; + static int anInt7591; + static int anInt7592; + static int anInt7593; + static int anInt7594; + static int anInt7595; + static int anInt7596; + static int anInt7597; + static int anInt7598; + static int anInt7599; + static int anInt7600; + static int anInt7601; + static int anInt7602; + static int anInt7603; + static int anInt7604; + static int anInt7605; + static int anInt7606; + static int anInt7607; + static int anInt7608; + static int anInt7609; + static int anInt7610; + static int anInt7611; + static int anInt7612; + static int anInt7613; + static int anInt7614; + static int anInt7615; + static int anInt7616; + static int anInt7617; + static int anInt7618; + static int anInt7619; + static int anInt7620; + static int anInt7621; + static int anInt7622; + static int anInt7623; + static int anInt7624; + static int anInt7625; + private Canvas aCanvas7626; + static int anInt7627; + static int anInt7628; + static int anInt7629; + static int anInt7630; + static int anInt7631; + static int anInt7632; + static int anInt7633; + static int anInt7634; + static int anInt7635; + private long aLong7636; + static int anInt7637; + static int anInt7638; + static int anInt7639; + static int anInt7640; + int anInt7641; + static int anInt7642; + static int anInt7643; + static int anInt7644; + private int anInt7645; + static int anInt7646; + static int anInt7647; + static int anInt7648; + static int anInt7649; + static int anInt7650; + static int anInt7651; + static int anInt7652; + static int anInt7653; + static int anInt7654; + static int anInt7655; + static int anInt7656; + static int anInt7657; + static int anInt7658; + static int anInt7659; + static int anInt7660; + static int anInt7661; + static int anInt7662; + static int anInt7663; + private OpenGL anOpenGL7664; + static int anInt7665; + static int anInt7666 = 503; + static int anInt7667; + static int anInt7668; + static int anInt7669; + static int anInt7670; + static int anInt7671; + static int anInt7672; + static int anInt7673; + static int anInt7674; + static int anInt7675; + static int anInt7676; + static int anInt7677; + static int anInt7678; + static int anInt7679; + static int anInt7680; + static int anInt7681; + static int anInt7682; + static int anInt7683; + static int anInt7684; + static int anInt7685; + static int anInt7686; + static int anInt7687; + int anInt7688; + static int anInt7689; + static int anInt7690; + static int anInt7691; + static int anInt7692; + static int anInt7693; + static int anInt7694; + static int anInt7695; + static int anInt7696; + static int anInt7697; + static int anInt7698; + static int anInt7699; + static int anInt7700; + static int anInt7701; + static int anInt7702; + static int anInt7703; + static int anInt7704; + static int anInt7705; + static int anInt7706; + private Component265 aClass100_7707; + static int anInt7708; + static int anInt7709; + static int anInt7710; + private final Component237 aClass233_7711; + int anInt7712 = 128; + int anInt7713; + static int anInt7714; + static StringCache aClass351_7715; + static int anInt7716; + static int anInt7717; + static int anInt7718; + static int anInt7719; + private final DisplayModeManagerContainer220 aClass18_7720; + private GlWaterShader aClass348_Sub5_Sub1_7721; + static int anInt7722; + private final Component160 aClass354_7723; + static int anInt7724; + private final MatrixSub3 aClass101_Sub3_7725; + static int anInt7726; + static int anInt7727; + static int anInt7728; + MatrixSub3 aClass101_Sub3_7729; + NativeHeap aNativeHeap7730; + int anInt7731; + private final NodeList aClass262_7732; + int anInt7733; + private boolean aBoolean7734; + int anInt7735; + ReliefShader aClass188_7736; + private final Interface11[] anInterface11Array7737; + private int anInt7738; + private DisplayModeManagerContainer105 aClass206_7739; + private Interface11 anInterface11_7740; + private final Interface11[] anInterface11Array7741; + private int anInt7742; + private final Interface11[] anInterface11Array7743; + private SpriteSub2 aClass105_Sub2_7744; + private Interface11 anInterface11_7745; + private int anInt7746; + int anInt7747; + int anInt7748; + private final NodeList aClass262_7749; + private int anInt7750; + private NodeList aClass262_7751; + private final NodeList aClass262_7752; + private final NodeList aClass262_7753; + private final NodeList aClass262_7754; + private final NodeList aClass262_7755; + private final NodeList aClass262_7756; + private long aLong7757; + private boolean aBoolean7758; + private boolean aBoolean7759; + MatrixSub3 aClass101_Sub3_7760; + private boolean aBoolean7761; + private int anInt7762; + private boolean aBoolean7763; + private int anInt7764; + private int anInt7765; + MatrixSub3 aClass101_Sub3_7766; + MatrixSub3 aClass101_Sub3_7767; + float aFloat7768; + private Component40 aClass299_Sub1_7769; + private int anInt7770; + int anInt7771; + int anInt7772; + private int anInt7773; + private final boolean aBoolean7774; + boolean aBoolean7775; + private GlRectangleTexture aClass258_Sub3_Sub1_7776; + int anInt7777; + DisplayModeManagerContainer105 aClass206_7778; + private final float[] aFloatArray7779; + DisplayModeManagerContainer282 aClass64_Sub3_7780; + float aFloat7781; + int anInt7782; + boolean aBoolean7783; + private boolean aBoolean7784; + DisplayModeManagerContainer282 aClass64_Sub3_7785; + private float aFloat7786; + private int anInt7787; + int anInt7788; + private int anInt7789; + private String aString7790; + boolean aBoolean7791; + float aFloat7792; + boolean aBoolean7793; + int anInt7794; + int anInt7795; + private int anInt7796; + private Interface2 anInterface2_7797; + Component182 aClass348_Sub49_Sub1_7798; + private int anInt7799; + private float aFloat7800; + private boolean aBoolean7801; + DisplayModeManagerContainer282 aClass64_Sub3_7802; + DisplayModeManagerContainer282 aClass64_Sub3_7803; + private int anInt7804; + private boolean aBoolean7805; + int anInt7806; + boolean aBoolean7807; + private int anInt7808; + int anInt7809; + int anInt7810; + private final float[] aFloatArray7811; + int anInt7812; + int anInt7813; + private int anInt7814; + boolean aBoolean7815; + float aFloat7816; + private Interface8 anInterface8_7817; + boolean aBoolean7818; + private int anInt7819; + boolean aBoolean7820; + DisplayModeManagerContainer282 aClass64_Sub3_7821; + private boolean aBoolean7822; + float aFloat7823; + private float aFloat7824; + float[] aFloatArray7825; + int anInt7826; + GlTexture aClass258_Sub3_7827; + private AbstractGlTexture[] aClass258Array7828; + private float aFloat7829; + float aFloat7830; + boolean aBoolean7831; + float aFloat7832; + Component132 aClass123_7833; + DisplayModeManagerContainer282 aClass64_Sub3_7834; + float aFloat7835; + float aFloat7836; + boolean aBoolean7837; + DisplayModeManagerContainer282 aClass64_Sub3_7838; + private int anInt7839; + DisplayModeManagerContainer282 aClass64_Sub3_7840; + boolean aBoolean7841; + private float aFloat7842; + private boolean aBoolean7843; + DisplayModeManagerContainer282 aClass64_Sub3_7844; + private String aString7845; + boolean aBoolean7846; + boolean aBoolean7847; + int anInt7848; + Component132 aClass123_7849; + private final float[] aFloatArray7850; + private float aFloat7851; + private Interface2 anInterface2_7852; + int anInt7853; + private float aFloat7854; + private int anInt7855; + int anInt7856; + private float aFloat7857; + private final NodeSub1[] aClass348_Sub1Array7858; + private boolean aBoolean7859; + private boolean aBoolean7860; + private int anInt7861; + private int anInt7862; + boolean aBoolean7863; + DisplayModeManagerContainer282 aClass64_Sub3_7864; + private int anInt7865; + private boolean aBoolean7866; + private int anInt7867; + private int anInt7868; + private boolean aBoolean7869; + private boolean aBoolean7870; + float aFloat7871; + float aFloat7872; + private boolean aBoolean7873; + float aFloat7874; + float aFloat7875; + private int anInt7876; + private final float[] aFloatArray7877; + private int anInt7878; + byte[] aByteArray7879; + int[] anIntArray7880; + private int anInt7881; + int[] anIntArray7882; + int[] anIntArray7883; + + final void L(int i, int i_0_, int i_1_) { + if (i != this.anInt7856 || i_0_ != this.anInt7782 || this.anInt7813 != i_1_) { + this.anInt7782 = i_0_; + this.anInt7856 = i; + this.anInt7813 = i_1_; + method3803(16711680); + method3732(92); + } + anInt7694++; + } + + final void method3728(boolean bool, int i) { + if (aBoolean7784 != bool) { + aBoolean7784 = bool; + method3768((byte) -121); + anInt7765 &= ~0x7; + } + if (i < 18) anInt7804 = -98; + anInt7683++; + } + + final DisplayModeManagerContainer370 method3625(DisplayModeManagerContainer77 class124, int i, int i_2_, int i_3_, int i_4_) { + try { + anInt7579++; + return new DisplayModeManagerContainer282(this, class124, i, i_3_, i_4_, i_2_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.EG(" + (class124 != null ? "{...}" : "null") + ',' + i + ',' + i_2_ + ',' + i_3_ + ',' + i_4_ + ')')); + } + } + + final void method3729(int i, byte i_5_, int i_6_) { + if (anInt7876 == 0) { + boolean bool = false; + if (anInt7804 != i) { + OpenGL.glTexEnvi(8960, 34161, i); + bool = true; + anInt7804 = i; + } + if (i_6_ != anInt7861) { + OpenGL.glTexEnvi(8960, 34162, i_6_); + anInt7861 = i_6_; + bool = true; + } + if (bool) anInt7765 &= ~0x1d; + } else { + OpenGL.glTexEnvi(8960, 34161, i); + OpenGL.glTexEnvi(8960, 34162, i_6_); + } + int i_7_ = -14 / ((i_5_ - 46) / 46); + anInt7655++; + } + + private final void method3730(byte i) { + OpenGL.glMatrixMode(5889); + anInt7693++; + OpenGL.glLoadMatrixf(aFloatArray7779, 0); + OpenGL.glMatrixMode(5888); + if (i <= 113) method3659(-64); + } + + final void method3653(Component80 class299) { + try { + anInt7550++; + aClass299_Sub1_7769 = (Component40) class299; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "qo.DF(" + (class299 != null ? "{...}" : "null") + ')'); + } + } + + final Interface2 method3731(int i, boolean bool, int i_8_, byte[] is, int i_9_) { + try { + if (i != 2) method3781((byte) -13, 54); + anInt7530++; + if (aBoolean7873 && (!bool || aBoolean7869)) return new DisplayModeManagerContainer136(this, i_8_, is, i_9_, bool); + return new DisplayModeManagerContainer96(this, i_8_, is, i_9_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.VB(" + i + ',' + bool + ',' + i_8_ + ',' + (is != null ? "{...}" : "null") + ',' + i_9_ + ')')); + } + } + + final void DA(int i, int i_10_, int i_11_, int i_12_) { + this.anInt7771 = i_11_; + this.anInt7794 = i_12_; + this.anInt7810 = i_10_; + this.anInt7853 = i; + anInt7558++; + method3806(96); + method3772((byte) 124); + if (anInt7865 == 3) method3747((byte) -63); + else if (anInt7865 == 2) method3730((byte) 119); + } + + private final void method3732(int i) { + if (!aBoolean7801 || this.anInt7782 < 0) OpenGL.glDisable(2912); + else OpenGL.glEnable(2912); + int i_13_ = 96 % (i / 63); + anInt7629++; + } + + final Interface8 method3733(int i, int i_14_, int i_15_, byte[] is, boolean bool) { + try { + anInt7565++; + if (i_14_ >= -2) method3644(); + if (aBoolean7873 && (!bool || aBoolean7869)) return new MenuOpener(this, i, is, i_15_, bool); + return new Component261(this, i, is, i_15_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.G(" + i + ',' + i_14_ + ',' + i_15_ + ',' + (is != null ? "{...}" : "null") + ',' + bool + ')')); + } + } + + final void method3734(boolean bool) { + OpenGL.glPopMatrix(); + anInt7696++; + if (bool != true) this.anInt7772 = 37; + } + + final NodeSub1 method3690(int i, int i_16_, int i_17_, int i_18_, int i_19_, float f) { + anInt7559++; + return new NodeSub1Sub1(i, i_16_, i_17_, i_18_, i_19_, f); + } + + final void method3735(int i) { + if (i != 9473) method3661(-10, -73, null, null); + if (anInt7765 != 4) { + method3763(i ^ 0x3201); + method3807(false, 2); + method3728(false, 79); + method3752(i ^ 0x257a, false); + method3748(0, false); + method3757(-2, -111); + method3753(1, 1); + anInt7765 = 4; + } + anInt7514++; + } + + public static void method3736(byte i) { + aClass351_7554 = null; + aClass351_7715 = null; + if (i < 27) aClass351_7715 = null; + } + + final int XA() { + anInt7706++; + return anInt7814; + } + + final void method3636(int i, int i_20_, int i_21_, int i_22_, int i_23_, int i_24_, Shader var_aa, int i_25_, int i_26_) { + try { + anInt7727++; + ShaderSub1 var_aa_Sub1 = (ShaderSub1) var_aa; + GlRectangleTexture class258_sub3_sub1 = var_aa_Sub1.aClass258_Sub3_Sub1_5193; + method3792(110); + method3771((byte) -88, var_aa_Sub1.aClass258_Sub3_Sub1_5193); + method3753(i_24_, 1); + method3729(7681, (byte) 97, 8448); + method3762(34167, 768, (byte) -87, 0); + float f = (class258_sub3_sub1.aFloat9937 / (float) (class258_sub3_sub1.anInt9940)); + float f_27_ = (class258_sub3_sub1.aFloat9938 / (float) (class258_sub3_sub1.anInt9939)); + float f_28_ = (float) i_21_ - (float) i; + float f_29_ = (float) i_22_ - (float) i_20_; + float f_30_ = (float) (1.0 / Math.sqrt(f_29_ * f_29_ + f_28_ * f_28_)); + f_28_ *= f_30_; + OpenGL.glColor4ub((byte) (i_23_ >> 16), (byte) (i_23_ >> 8), (byte) i_23_, (byte) (i_23_ >> 24)); + f_29_ *= f_30_; + OpenGL.glBegin(1); + OpenGL.glTexCoord2f((float) (-i_25_ + i) * f, f_27_ * (float) (i_20_ + -i_26_)); + OpenGL.glVertex2f((float) i + 0.35F, 0.35F + (float) i_20_); + OpenGL.glTexCoord2f(f * (float) (i_21_ + -i_25_), (float) (-i_26_ + i_22_) * f_27_); + OpenGL.glVertex2f(0.35F + (f_28_ + (float) i_21_), 0.35F + ((float) i_22_ + f_29_)); + OpenGL.glEnd(); + method3762(5890, 768, (byte) -87, 0); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.ME(" + i + ',' + i_20_ + ',' + i_21_ + ',' + i_22_ + ',' + i_23_ + ',' + i_24_ + ',' + (var_aa != null ? "{...}" : "null") + ',' + i_25_ + ',' + i_26_ + ')')); + } + } + + final int[] Y() { + anInt7704++; + return (new int[]{this.anInt7853, this.anInt7810, this.anInt7771, this.anInt7794}); + } + + final synchronized void method3737(int i, byte i_31_, int i_32_) { + anInt7676++; + NodeSub35 class348_sub35 = new NodeSub35(i_32_); + class348_sub35.key = i; + int i_33_ = -124 / ((i_31_ - 79) / 39); + aClass262_7752.addTail(class348_sub35, -20180); + } + + final void method3738(int i, int i_34_) { + if (i != -15039) aClass258Array7828 = null; + if (i_34_ != anInt7876) { + OpenGL.glActiveTexture(33984 + i_34_); + anInt7876 = i_34_; + } + anInt7526++; + } + + final Interface2 method3739(int i, Buffer buffer, boolean bool, int i_35_, int i_36_) { + try { + if (i != 8448) this.aClass64_Sub3_7844 = null; + anInt7605++; + if (aBoolean7873 && (!bool || aBoolean7869)) return new DisplayModeManagerContainer136(this, i_35_, buffer, i_36_, bool); + return new DisplayModeManagerContainer96(this, i_35_, buffer); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.OG(" + i + ',' + (buffer != null ? "{...}" : "null") + ',' + bool + ',' + i_35_ + ',' + i_36_ + ')')); + } + } + + private final void method3740(int i) { + if (anInt7865 != 2) { + anInt7865 = 2; + method3730((byte) 125); + method3754((byte) 90); + anInt7765 &= ~0x7; + } + if (i != -14388) this.anInt7735 = -85; + anInt7678++; + } + + final boolean method3644() { + anInt7556++; + return true; + } + + final GlFramebufferTexture method3741(int i) { + anInt7581++; + if (i != 444720536) this.aFloat7823 = 0.28610376F; + if (aClass299_Sub1_7769 != null) return aClass299_Sub1_7769.method2256((byte) -121); + return null; + } + + final void HA(int i, int i_37_, int i_38_, int i_39_, int[] is) { + try { + anInt7681++; + float f = (((float) i_38_ * (this.aClass101_Sub3_7760.aFloat5784)) + ((float) i_37_ * (this.aClass101_Sub3_7760.aFloat5754) + (this.aClass101_Sub3_7760.aFloat5756) * (float) i) + (this.aClass101_Sub3_7760.aFloat5751)); + if ((float) this.anInt7826 <= f && (float) anInt7814 >= f) { + int i_40_ = (int) ((this.aClass101_Sub3_7760.aFloat5747 + ((this.aClass101_Sub3_7760.aFloat5750) * (float) i_37_ + ((float) i * (this.aClass101_Sub3_7760.aFloat5770)) + (this.aClass101_Sub3_7760.aFloat5781) * (float) i_38_)) * (float) this.anInt7771 / (float) i_39_); + int i_41_ = (int) ((float) this.anInt7794 * ((this.aClass101_Sub3_7760.aFloat5772) + ((this.aClass101_Sub3_7760.aFloat5761) * (float) i + ((float) i_37_ * (this.aClass101_Sub3_7760.aFloat5769)) + ((float) i_38_ * (this.aClass101_Sub3_7760.aFloat5762)))) / (float) i_39_); + if ((float) i_40_ >= this.aFloat7872 && this.aFloat7835 >= (float) i_40_ && this.aFloat7836 <= (float) i_41_ && this.aFloat7830 >= (float) i_41_) { + is[2] = (int) f; + is[1] = (int) (-this.aFloat7836 + (float) i_41_); + is[0] = (int) (-this.aFloat7872 + (float) i_40_); + } else is[0] = is[1] = is[2] = -1; + } else is[0] = is[1] = is[2] = -1; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.HA(" + i + ',' + i_37_ + ',' + i_38_ + ',' + i_39_ + ',' + (is != null ? "{...}" : "null") + ')')); + } + } + + final void EA(int i, int i_42_, int i_43_, int i_44_) { + anInt7532++; + if (!this.aBoolean7846) throw new RuntimeException(""); + this.anInt7788 = i; + this.anInt7806 = i_42_; + this.anInt7848 = i_43_; + this.anInt7809 = i_44_; + if (aBoolean7859) { + aClass100_7707.aClass286_Sub1_1586.method2141(false); + aClass100_7707.aClass286_Sub1_1586.method2143(34336); + } + } + + private final void method3742(int i) { + anInt7638++; + if (anInt7865 != 3) { + anInt7865 = 3; + method3747((byte) -63); + method3754((byte) 89); + anInt7765 &= ~0x7; + } + if (i != 3) anInt7799 = -50; + } + + static final void method3743(byte i, MenuEntry class348_sub42_sub12) { + do { + try { + anInt7686++; + if (i != 6) aClass351_7715 = null; + if (class348_sub42_sub12 != null) { + DefinitionSub4.menuEntries.addTail(class348_sub42_sub12, -20180); + DisplayModeManagerContainer306.menuEntryCount++; + Object object = null; + HashNodeSub13 class348_sub42_sub13; + if ((class348_sub42_sub12.aBoolean9611) || "".equals(class348_sub42_sub12.target)) { + class348_sub42_sub13 = new HashNodeSub13(class348_sub42_sub12.target); + DisplayModeManagerContainer345.anInt166++; + } else { + long l = (class348_sub42_sub12.groupKey); + for (class348_sub42_sub13 = ((HashNodeSub13) MenuEntry.aClass356_9603.get(l, -6008)); class348_sub42_sub13 != null; class348_sub42_sub13 = ((HashNodeSub13) MenuEntry.aClass356_9603.continueGet(true))) { + if (class348_sub42_sub13.aString9617.equals(class348_sub42_sub12.target)) break; + } + if (class348_sub42_sub13 == null) { + class348_sub42_sub13 = ((HashNodeSub13) Component293.aClass60_3301.get(l, i ^ 0x3a)); + if (class348_sub42_sub13 != null && !(class348_sub42_sub13.aString9617.equals(class348_sub42_sub12.target))) class348_sub42_sub13 = null; + if (class348_sub42_sub13 == null) class348_sub42_sub13 = (new HashNodeSub13(class348_sub42_sub12.target)); + MenuEntry.aClass356_9603.put((byte) 71, l, class348_sub42_sub13); + DisplayModeManagerContainer345.anInt166++; + } + } + if (!class348_sub42_sub13.method3233(class348_sub42_sub12, -21)) break; + Component359.method1868((byte) -39, class348_sub42_sub13); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.VC(" + i + ',' + ((class348_sub42_sub12 != null) ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + final boolean method3655() { + anInt7703++; + return true; + } + + final void method3744(float f, int i, float f_45_) { + if (i != 770) this.aFloat7792 = 0.31055084F; + anInt7571++; + aFloat7786 = f; + aFloat7857 = f_45_; + method3803(16711680); + } + + private final void method3745(byte i) { + anInt7680++; + if (aCanvas7575 != null) { + Dimension dimension = aCanvas7575.getSize(); + anInt7645 = dimension.width; + anInt7523 = dimension.height; + } else anInt7645 = anInt7523 = 0; + if (i > 61) { + if (anInterface11_7740 == null) { + this.anInt7688 = anInt7645; + this.anInt7641 = anInt7523; + method3809(true); + } + method3755(-32); + la(); + } + } + + final void method3746(boolean bool, int i, boolean bool_46_, int i_47_) { + anInt7631++; + if (anInt7796 != i || aBoolean7859 == !this.aBoolean7846) { + GlTexture class258_sub3 = null; + int i_48_ = 0; + byte i_49_ = 0; + int i_50_ = 0; + byte i_51_ = !this.aBoolean7846 ? (byte) 0 : (byte) 3; + if (i >= 0) { + class258_sub3 = aClass354_7723.method3467(i, 256); + Component319 class12 = this.aD4579.method3(i, -6662); + if (class12.aByte198 != 0 || class12.aByte211 != 0) { + int i_52_ = class12.aBoolean199 ? 64 : 128; + int i_53_ = i_52_ * 50; + method3799(((float) (this.anInt7735 % i_53_ * class12.aByte211) / (float) i_53_), 0.0F, (float) (class12.aByte198 * (this.anInt7735 % i_53_)) / (float) i_53_, (byte) 126); + } else method3767(-21974); + if (!this.aBoolean7846) { + i_51_ = class12.aByte213; + i_50_ = class12.anInt206; + i_49_ = class12.aByte202; + } + i_48_ = class12.anInt203; + } else method3767(-21974); + aClass100_7707.method884(i_49_, bool, i_51_, i_50_, (byte) 12, bool_46_); + if (!aClass100_7707.method885(i_48_, (byte) -124, class258_sub3)) { + method3771((byte) -86, class258_sub3); + method3761(0, i_48_); + } + aBoolean7859 = this.aBoolean7846; + anInt7796 = i; + } + if (i_47_ <= 111) KA(59, -107, -128, -14); + anInt7765 &= ~0x7; + } + + private final void method3747(byte i) { + anInt7597++; + float f = ((float) -this.anInt7853 * aFloat7851 / (float) this.anInt7771); + float f_54_ = (aFloat7851 * (float) -this.anInt7810 / (float) this.anInt7794); + float f_55_ = (aFloat7851 * (float) (-this.anInt7853 + this.anInt7688) / (float) this.anInt7771); + float f_56_ = (aFloat7851 * (float) (this.anInt7641 - this.anInt7810) / (float) this.anInt7794); + OpenGL.glMatrixMode(5889); + OpenGL.glLoadIdentity(); + if (f != f_55_ && f_54_ != f_56_) OpenGL.glOrtho(f, f_55_, -f_56_, -f_54_, this.anInt7826, anInt7814); + OpenGL.glMatrixMode(5888); + if (i != -63) this.anInt7795 = 67; + } + + final boolean method3627() { + anInt7542++; + return aClass348_Sub5_Sub1_7721 != null && (this.anInt7713 <= 1 || aBoolean7822); + } + + final void method3748(int i, boolean bool) { + anInt7710++; + if (aBoolean7759 != bool) { + aBoolean7759 = bool; + method3795(-30199); + anInt7765 &= ~0x1f; + } + if (i != 0) method3773(-58, null); + } + + final void K(int[] is) { + try { + is[1] = anInt7773; + is[3] = anInt7787; + is[0] = anInt7868; + anInt7580++; + is[2] = anInt7855; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "qo.K(" + (is != null ? "{...}" : "null") + ')'); + } + } + + final void Q(int i, int i_57_, int i_58_, int i_59_, int i_60_, int i_61_, byte[] is, int i_62_, int i_63_) { + try { + anInt7540++; + float f; + float f_64_; + if (aClass258_Sub3_Sub1_7776 == null || i_58_ > aClass258_Sub3_Sub1_7776.anInt8547 || i_59_ > aClass258_Sub3_Sub1_7776.anInt8551) { + aClass258_Sub3_Sub1_7776 = Component307.method3583(false, is, 6406, i_59_, this, -45, 6406, i_58_); + aClass258_Sub3_Sub1_7776.method1965(false, false, 10243); + f = aClass258_Sub3_Sub1_7776.aFloat9938; + f_64_ = (aClass258_Sub3_Sub1_7776.aFloat9937); + } else { + aClass258_Sub3_Sub1_7776.method1970(0, 0, i_58_, false, 0, i_59_, 6406, 123, is, 0); + f = ((float) i_59_ * (aClass258_Sub3_Sub1_7776.aFloat9938) / (float) (aClass258_Sub3_Sub1_7776.anInt8551)); + f_64_ = ((float) i_58_ * (aClass258_Sub3_Sub1_7776.aFloat9937) / (float) (aClass258_Sub3_Sub1_7776.anInt8547)); + } + method3792(58); + method3771((byte) -117, aClass258_Sub3_Sub1_7776); + method3753(i_63_, 1); + OpenGL.glColor4ub((byte) (i_60_ >> 16), (byte) (i_60_ >> 8), (byte) i_60_, (byte) (i_60_ >> 24)); + method3808(i_61_, 120); + method3729(34165, (byte) 101, 34165); + method3762(34166, 768, (byte) -87, 0); + method3762(5890, 770, (byte) -87, 2); + method3775(false, 0, 770, 34166); + method3775(false, 2, 770, 5890); + float f_65_ = (float) i; + float f_66_ = (float) i_57_; + float f_67_ = (float) i_58_ + f_65_; + float f_68_ = (float) i_59_ + f_66_; + OpenGL.glBegin(7); + OpenGL.glTexCoord2f(0.0F, 0.0F); + OpenGL.glVertex2f(f_65_, f_66_); + OpenGL.glTexCoord2f(0.0F, f_64_); + OpenGL.glVertex2f(f_65_, f_68_); + OpenGL.glTexCoord2f(f, f_64_); + OpenGL.glVertex2f(f_67_, f_68_); + OpenGL.glTexCoord2f(f, 0.0F); + OpenGL.glVertex2f(f_67_, f_66_); + OpenGL.glEnd(); + method3762(5890, 768, (byte) -87, 0); + method3762(34166, 770, (byte) -87, 2); + method3775(false, 0, 770, 5890); + method3775(false, 2, 770, 34166); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.Q(" + i + ',' + i_57_ + ',' + i_58_ + ',' + i_59_ + ',' + i_60_ + ',' + i_61_ + ',' + (is != null ? "{...}" : "null") + ',' + i_62_ + ',' + i_63_ + ')')); + } + } + + final void method3684(Component122 class98) { + try { + aClass233_7711.method1651(this, (byte) -119, -1, class98); + anInt7569++; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "qo.EF(" + (class98 != null ? "{...}" : "null") + ')'); + } + } + + final void method3749(float f, float f_69_, float f_70_, byte i, float f_71_) { + InputStream_Sub2.aFloatArray84[2] = f_70_; + if (i <= 45) method3769(-35L, false); + anInt7576++; + InputStream_Sub2.aFloatArray84[0] = f_69_; + InputStream_Sub2.aFloatArray84[1] = f_71_; + InputStream_Sub2.aFloatArray84[3] = f; + OpenGL.glTexEnvfv(8960, 8705, InputStream_Sub2.aFloatArray84, 0); + } + + final void method3638(DisplayModeManagerContainer204 class101) { + do { + try { + anInt7549++; + this.aClass101_Sub3_7760.method898(class101); + this.aClass101_Sub3_7766.method898(this.aClass101_Sub3_7760); + this.aClass101_Sub3_7766.method942(3128); + this.aClass101_Sub3_7767.method946(this.aClass101_Sub3_7766, -7929); + if (anInt7865 == 1) break; + method3754((byte) 89); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "qo.DE(" + (class101 != null ? "{...}" : "null") + ')'); + } + break; + } while (false); + } + + final void method3750(int i, Interface2 interface2) { + try { + if (i <= 39) this.anInt7782 = 120; + if (interface2 != anInterface2_7852) { + if (aBoolean7873) OpenGL.glBindBufferARB(34962, interface2.method10(true)); + anInterface2_7852 = interface2; + } + anInt7552++; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.D(" + i + ',' + (interface2 != null ? "{...}" : "null") + ')')); + } + } + + final void method3676(int i, int i_72_, int i_73_, int i_74_, int i_75_, int i_76_, int i_77_, int i_78_, int i_79_, int i_80_, int i_81_, int i_82_, int i_83_) { + method3778((byte) -123); + anInt7567++; + method3753(i_83_, 1); + OpenGL.glBegin(4); + OpenGL.glColor4ub((byte) (i_80_ >> 16), (byte) (i_80_ >> 8), (byte) i_80_, (byte) (i_80_ >> 24)); + OpenGL.glVertex3f((float) i + 0.35F, (float) i_72_ + 0.35F, (float) i_73_); + OpenGL.glColor4ub((byte) (i_81_ >> 16), (byte) (i_81_ >> 8), (byte) i_81_, (byte) (i_81_ >> 24)); + OpenGL.glVertex3f((float) i_74_ + 0.35F, (float) i_75_ + 0.35F, (float) i_76_); + OpenGL.glColor4ub((byte) (i_82_ >> 16), (byte) (i_82_ >> 8), (byte) i_82_, (byte) (i_82_ >> 24)); + OpenGL.glVertex3f(0.35F + (float) i_77_, (float) i_78_ + 0.35F, (float) i_79_); + OpenGL.glEnd(); + } + + final void method3672() { + anInt7702++; + if (this.aBoolean7820) { + if (anInterface11_7740 != aClass206_7739) throw new RuntimeException(); + aClass206_7739.method1500(2983, 0); + aClass206_7739.method1500(2983, 8); + method3770(-422613672, aClass206_7739); + } else { + if (!aBoolean7866) throw new RuntimeException(""); + aClass105_Sub2_7744.method979(0, 0, this.anInt7688, this.anInt7641, 0, 0); + anOpenGL7664.setSurface(aLong7636); + } + this.anInt7688 = anInt7645; + aClass105_Sub2_7744 = null; + this.anInt7641 = anInt7523; + method3755(-32); + method3809(true); + la(); + } + + final void method3751(Interface11 interface11, int i) { + try { + anInt7548++; + if (anInt7742 >= 3) throw new RuntimeException(); + int i_84_ = 67 % ((-4 - i) / 46); + if (anInt7742 >= 0) anInterface11Array7737[anInt7742].method50(-32502); + anInterface11_7740 = anInterface11Array7737[++anInt7742] = interface11; + anInterface11_7740.method47(-11421); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.NG(" + (interface11 != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + final void method3752(int i, boolean bool) { + if (!bool != !aBoolean7763) { + if (!bool) OpenGL.glDisable(2929); + else OpenGL.glEnable(2929); + aBoolean7763 = bool; + anInt7765 &= ~0x1f; + } + if (i <= 106) method3765((byte) 118, 75); + anInt7726++; + } + + final BitmapFont method3686(Component184 class143, Component170[] class207s, boolean bool) { + try { + anInt7574++; + return new OpenGLBitmapFont(this, class143, class207s, bool); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.JE(" + (class143 != null ? "{...}" : "null") + ',' + (class207s != null ? "{...}" : "null") + ',' + bool + ')')); + } + } + + final void fillRect(int i, int i_85_, int i_86_, int i_87_, int i_88_, int i_89_) { + anInt7601++; + float f = (float) i + 0.35F; + float f_90_ = (float) i_85_ + 0.35F; + float f_91_ = (float) i_86_ + f; + method3778((byte) -127); + float f_92_ = f_90_ + (float) i_87_; + method3753(i_89_, 1); + OpenGL.glColor4ub((byte) (i_88_ >> 16), (byte) (i_88_ >> 8), (byte) i_88_, (byte) (i_88_ >> 24)); + if (aBoolean7843) OpenGL.glDisable(32925); + OpenGL.glBegin(7); + OpenGL.glVertex2f(f, f_90_); + OpenGL.glVertex2f(f, f_92_); + OpenGL.glVertex2f(f_91_, f_92_); + OpenGL.glVertex2f(f_91_, f_90_); + OpenGL.glEnd(); + if (aBoolean7843) OpenGL.glEnable(32925); + } + + final void ZA(int i, float f, float f_93_, float f_94_, float f_95_, float f_96_) { + anInt7633++; + boolean bool = i != anInt7808; + if (bool || this.aFloat7832 != f || f_93_ != this.aFloat7871) { + this.aFloat7832 = f; + anInt7808 = i; + this.aFloat7871 = f_93_; + if (bool) { + this.aFloat7823 = (float) (anInt7808 & 0xff) / 255.0F; + this.aFloat7781 = (float) (0xff0000 & anInt7808) / 1.671168E7F; + this.aFloat7816 = (float) (0xff00 & anInt7808) / 65280.0F; + method3787(-93); + } + method3779(29890); + } + if (f_94_ != aFloatArray7850[0] || aFloatArray7850[1] != f_95_ || aFloatArray7850[2] != f_96_) { + aFloatArray7850[2] = f_96_; + aFloatArray7850[1] = f_95_; + aFloatArray7850[0] = f_94_; + aFloatArray7877[0] = -f_94_; + aFloatArray7877[2] = -f_96_; + aFloatArray7877[1] = -f_95_; + float f_97_ = (float) (1.0 / Math.sqrt(f_96_ * f_96_ + (f_95_ * f_95_ + f_94_ * f_94_))); + this.aFloatArray7825[0] = f_97_ * f_94_; + this.aFloatArray7825[2] = f_96_ * f_97_; + this.aFloatArray7825[1] = f_97_ * f_95_; + aFloatArray7811[2] = -this.aFloatArray7825[2]; + aFloatArray7811[1] = -this.aFloatArray7825[1]; + aFloatArray7811[0] = -this.aFloatArray7825[0]; + method3796(16384); + this.anInt7777 = (int) (256.0F * f_96_ / f_95_); + this.anInt7772 = (int) (256.0F * f_94_ / f_95_); + } + } + + final int bitwiseOr(int i, int i_98_) { + anInt7634++; + return i | i_98_; + } + + final void GA(int i) { + anInt7592++; + method3753(0, 1); + OpenGL.glClearColor((float) (i & 0xff0000) / 1.671168E7F, (float) (0xff00 & i) / 65280.0F, (float) (0xff & i) / 255.0F, (float) (i >>> 24) / 255.0F); + OpenGL.glClear(16384); + } + + final void method3650(int i) { + anInt7646++; + } + + GlToolkitSub2(Canvas canvas, d var_d, int i) { + super(var_d); + aClass233_7711 = new Component237(); + aClass101_Sub3_7725 = new MatrixSub3(); + this.aClass101_Sub3_7729 = new MatrixSub3(); + this.anInt7731 = 3; + aBoolean7734 = false; + this.anInt7733 = 8; + aClass262_7732 = new NodeList(); + anInterface11Array7737 = new Interface11[4]; + anInt7738 = -1; + anInt7742 = -1; + anInterface11Array7741 = new Interface11[4]; + anInterface11Array7743 = new Interface11[4]; + anInt7746 = -1; + new HashTable(); + new LruCache(16); + aClass262_7749 = new NodeList(); + aClass262_7751 = new NodeList(); + aClass262_7752 = new NodeList(); + aClass262_7753 = new NodeList(); + aClass262_7754 = new NodeList(); + aClass262_7755 = new NodeList(); + aClass262_7756 = new NodeList(); + this.aClass101_Sub3_7760 = new MatrixSub3(); + this.aClass101_Sub3_7766 = new MatrixSub3(); + this.aClass101_Sub3_7767 = new MatrixSub3(); + anInt7770 = 0; + aFloat7786 = 0.0F; + anInt7773 = 0; + this.aFloat7781 = 1.0F; + this.anInt7806 = -1; + this.anInt7771 = 512; + aFloat7800 = -1.0F; + anInt7808 = -1; + this.aFloat7816 = 1.0F; + anInt7804 = 8448; + aFloat7829 = -1.0F; + this.anInt7810 = 0; + this.aFloat7832 = -1.0F; + this.aFloatArray7825 = new float[4]; + this.anInt7809 = 0; + aFloatArray7811 = new float[4]; + this.aFloat7823 = 1.0F; + this.anInt7794 = 512; + anInt7814 = 3584; + anInt7855 = 0; + aFloat7857 = 1.0F; + anInt7787 = 0; + aBoolean7859 = false; + aFloatArray7850 = new float[4]; + aFloat7851 = 1.0F; + this.anInt7826 = 50; + anInt7861 = 8448; + this.anInt7813 = 0; + this.anInt7856 = -1; + anInt7868 = 0; + aFloatArray7779 = new float[16]; + aBoolean7870 = true; + this.aFloat7871 = -1.0F; + aClass348_Sub1Array7858 = new NodeSub1[JagTheoraDecoder.anInt984]; + this.anInt7853 = 0; + anInt7867 = 0; + this.aFloat7875 = 3584.0F; + this.aFloat7874 = 3584.0F; + this.anInt7848 = -1; + aFloatArray7877 = new float[4]; + this.anInt7782 = -1; + this.aClass348_Sub49_Sub1_7798 = new Component182(8192); + this.aByteArray7879 = new byte[16384]; + this.anIntArray7880 = new int[1]; + this.anIntArray7883 = new int[1]; + this.anIntArray7882 = new int[1]; + try { + aCanvas7575 = aCanvas7626 = canvas; + this.anInt7713 = i; + if (!DefinitionSub19.tryLoadNativeLibrary(-30282, "jaclib")) throw new RuntimeException(""); + if (!DefinitionSub19.tryLoadNativeLibrary(-30282, "jaggl")) throw new RuntimeException(""); + try { + anOpenGL7664 = new OpenGL(); + aLong7636 = aLong7553 = anOpenGL7664.init(canvas, 8, 8, 8, 24, 0, this.anInt7713); + if (aLong7553 == 0) throw new RuntimeException(""); + method3776(22544); + int i_99_ = method3774((byte) -62); + if (i_99_ != 0) throw new RuntimeException(""); + this.anInt7812 = this.aBoolean7775 ? 33639 : 5121; + if (aString7790.indexOf("radeon") != -1) { + int i_100_ = 0; + boolean bool = false; + boolean bool_101_ = false; + String[] strings = (DefinitionSub23.splitByChar(' ', true, aString7790.replace('/', ' '))); + for (int i_102_ = 0; i_102_ < strings.length; i_102_++) { + String string = strings[i_102_]; + try { + if (string.length() > 0) { + if (string.charAt(0) == 'x' && string.length() >= 3 && (DisplayModeManagerContainer368.isDecimal(string.substring(1, 3), 111))) { + string = string.substring(1); + bool_101_ = true; + } + if (string.equals("hd")) bool = true; + else { + if (string.startsWith("hd")) { + bool = true; + string = string.substring(2); + } + if (string.length() >= 4 && (DisplayModeManagerContainer368.isDecimal(string.substring(0, 4), 47))) { + i_100_ = (NodeSub41.parseInt(true, string.substring(0, 4))); + break; + } + } + } + } catch (Exception exception) { + /* empty */ + } + } + if (!bool_101_ && !bool) { + if (i_100_ >= 7000 && i_100_ <= 7999) aBoolean7873 = false; + if (i_100_ >= 7000 && i_100_ <= 9250) this.aBoolean7831 = false; + } + if (!bool || i_100_ < 4000) this.aBoolean7818 = false; + this.aBoolean7837 &= anOpenGL7664.a("GL_ARB_half_float_pixel"); + this.aBoolean7847 = true; + aBoolean7869 = aBoolean7873; + } + if (aString7845.indexOf("intel") != -1) this.aBoolean7820 = false; + aBoolean7774 = !aString7845.equals("s3 graphics"); + if (aBoolean7873) { + try { + int[] is = new int[1]; + OpenGL.glGenBuffersARB(1, is, 0); + } catch (Throwable throwable) { + throw new RuntimeException(""); + } + } + Component54.method566(false, true, (byte) -128); + aBoolean7734 = true; + aClass354_7723 = new Component160(this, this.aD4579); + method3786(false); + this.aClass188_7736 = new ReliefShader(this); + aClass18_7720 = new DisplayModeManagerContainer220(this); + if (aClass18_7720.method280(1)) { + aClass348_Sub5_Sub1_7721 = new GlWaterShader(this); + if (!aClass348_Sub5_Sub1_7721.method2767((byte) 104)) { + aClass348_Sub5_Sub1_7721.method2763((byte) -124); + aClass348_Sub5_Sub1_7721 = null; + } + } + aClass100_7707 = new Component265(this); + method3791(25858); + method3745((byte) 123); + method3673(); + } catch (Throwable throwable) { + throwable.printStackTrace(); + method3652(); + throw new RuntimeException(""); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.(" + (canvas != null ? "{...}" : "null") + ',' + (var_d != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + final void method3753(int i, int i_103_) { + if (i_103_ != 1) this.aBoolean7837 = false; + if (i != anInt7764) { + boolean bool; + int i_104_; + boolean bool_105_; + if (i == 1) { + bool_105_ = true; + i_104_ = 1; + bool = true; + } else if (i == 2) { + bool_105_ = true; + i_104_ = 2; + bool = false; + } else if (i == 128) { + i_104_ = 3; + bool_105_ = true; + bool = true; + } else { + bool = false; + i_104_ = 0; + bool_105_ = true; + } + if (!aBoolean7758 != !bool_105_) { + OpenGL.glColorMask(bool_105_, bool_105_, bool_105_, true); + aBoolean7758 = bool_105_; + } + if (!bool != !aBoolean7761) { + if (!bool) OpenGL.glDisable(3008); + else OpenGL.glEnable(3008); + aBoolean7761 = bool; + } + if (anInt7762 != i_104_) { + if (i_104_ == 1) { + OpenGL.glEnable(3042); + OpenGL.glBlendFunc(770, 771); + } else if (i_104_ == 2) { + OpenGL.glEnable(3042); + OpenGL.glBlendFunc(1, 1); + } else if (i_104_ == 3) { + OpenGL.glEnable(3042); + OpenGL.glBlendFunc(774, 1); + } else OpenGL.glDisable(3042); + anInt7762 = i_104_; + } + anInt7764 = i; + anInt7765 &= ~0x1c; + } + anInt7591++; + } + + private final void method3754(byte i) { + anInt7689++; + if (i > 77) { + OpenGL.glLoadIdentity(); + OpenGL.glMultMatrixf(this.aClass101_Sub3_7766.method940(1), 0); + if (aBoolean7859) aClass100_7707.aClass286_Sub1_1586.method2141(false); + method3796(16384); + method3783(0); + } + } + + final void method3755(int i) { + if (anInt7865 != 0) { + anInt7765 &= ~0x1f; + anInt7865 = 0; + } + if (i == -32) anInt7708++; + } + + final void method3756(int i, int i_106_, int i_107_, int i_108_) { + if (i_108_ <= 32) aFloat7857 = -0.7407605F; + anInt7555++; + OpenGL.glDrawArrays(i_106_, i_107_, i); + } + + final void U(int i, int i_109_, int i_110_, int i_111_, int i_112_) { + method3778((byte) -119); + anInt7525++; + method3753(i_112_, 1); + float f = (float) i + 0.35F; + OpenGL.glColor4ub((byte) (i_111_ >> 16), (byte) (i_111_ >> 8), (byte) i_111_, (byte) (i_111_ >> 24)); + float f_113_ = (float) i_109_ + 0.35F; + OpenGL.glBegin(1); + OpenGL.glVertex2f(f, f_113_); + OpenGL.glVertex2f((float) i_110_ + f, f_113_); + OpenGL.glEnd(); + } + + final void method3696(int i) { + anInt7635++; + if (i < 128 || i > 1024) throw new IllegalArgumentException(); + this.anInt7712 = i; + aClass354_7723.method3463((byte) -110); + } + + final void DualToolkit(float f) { + if (this.aFloat7768 != f) { + this.aFloat7768 = f; + method3787(-105); + } + anInt7668++; + } + + final void method3757(int i, int i_114_) { + method3801(true, i, -104); + anInt7649++; + if (i_114_ > -43) method3768((byte) 85); + } + + final void method3758(boolean bool, MatrixSub3 class101_sub3) { + try { + OpenGL.glPushMatrix(); + if (bool != false) method3650(51); + anInt7653++; + OpenGL.glMultMatrixf(class101_sub3.method940(1), 0); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.WC(" + bool + ',' + (class101_sub3 != null ? "{...}" : "null") + ')')); + } + } + + final Component24 method3683(int i, int i_115_, int i_116_, int i_117_, boolean bool) { + anInt7582++; + return new SpriteSub2(this, i, i_115_, i_116_, i_117_); + } + + final void method3759(int i, int i_118_, int i_119_, Interface8 interface8, int i_120_) { + try { + anInt7619++; + int i_121_ = interface8.method34(-5711); + if (i_118_ >= -127) aClass100_7707 = null; + i_120_ *= method3785(i_121_, 4); + method3793(1, interface8); + OpenGL.glDrawElements(i_119_, i, i_121_, (interface8.method36((byte) 78) + (long) i_120_)); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.MA(" + i + ',' + i_118_ + ',' + i_119_ + ',' + (interface8 != null ? "{...}" : "null") + ',' + i_120_ + ')')); + } + } + + final synchronized void method3646(int i) { + anInt7699++; + int i_122_ = 0; + i &= 0x7fffffff; + while (!aClass262_7751.isEmpty((byte) 18)) { + NodeSub35 class348_sub35 = (NodeSub35) aClass262_7751.peekFirst(8); + ShaderCompilerSub3.anIntArray6522[i_122_++] = (int) class348_sub35.key; + this.anInt7747 -= class348_sub35.intValue; + if (i_122_ == 1000) { + OpenGL.glDeleteBuffersARB(i_122_, ShaderCompilerSub3.anIntArray6522, 0); + i_122_ = 0; + } + } + if (i_122_ > 0) { + OpenGL.glDeleteBuffersARB(i_122_, ShaderCompilerSub3.anIntArray6522, 0); + i_122_ = 0; + } + while (!aClass262_7752.isEmpty((byte) 18)) { + NodeSub35 class348_sub35 = (NodeSub35) aClass262_7752.peekFirst(8); + ShaderCompilerSub3.anIntArray6522[i_122_++] = (int) class348_sub35.key; + this.anInt7748 -= class348_sub35.intValue; + if (i_122_ == 1000) { + OpenGL.glDeleteTextures(i_122_, ShaderCompilerSub3.anIntArray6522, 0); + i_122_ = 0; + } + } + if (i_122_ > 0) { + OpenGL.glDeleteTextures(i_122_, ShaderCompilerSub3.anIntArray6522, 0); + i_122_ = 0; + } + while (!aClass262_7753.isEmpty((byte) 18)) { + NodeSub35 class348_sub35 = (NodeSub35) aClass262_7753.peekFirst(8); + ShaderCompilerSub3.anIntArray6522[i_122_++] = class348_sub35.intValue; + if (i_122_ == 1000) { + OpenGL.glDeleteFramebuffersEXT(i_122_, ShaderCompilerSub3.anIntArray6522, 0); + i_122_ = 0; + } + } + if (i_122_ > 0) { + OpenGL.glDeleteFramebuffersEXT(i_122_, ShaderCompilerSub3.anIntArray6522, 0); + i_122_ = 0; + } + while (!aClass262_7754.isEmpty((byte) 18)) { + NodeSub35 class348_sub35 = (NodeSub35) aClass262_7754.peekFirst(8); + ShaderCompilerSub3.anIntArray6522[i_122_++] = (int) class348_sub35.key; + anInt7750 -= class348_sub35.intValue; + if (i_122_ == 1000) { + OpenGL.glDeleteRenderbuffersEXT(i_122_, ShaderCompilerSub3.anIntArray6522, 0); + i_122_ = 0; + } + } + if (i_122_ > 0) { + OpenGL.glDeleteRenderbuffersEXT(i_122_, ShaderCompilerSub3.anIntArray6522, 0); + boolean bool = false; + } + while (!aClass262_7749.isEmpty((byte) 18)) { + NodeSub35 class348_sub35 = (NodeSub35) aClass262_7749.peekFirst(8); + OpenGL.glDeleteLists((int) class348_sub35.key, class348_sub35.intValue); + } + while (!aClass262_7755.isEmpty((byte) 18)) { + Node class348 = aClass262_7755.peekFirst(8); + OpenGL.glDeleteProgramARB((int) class348.key); + } + while (!aClass262_7756.isEmpty((byte) 18)) { + Node class348 = aClass262_7756.peekFirst(8); + OpenGL.glDeleteObjectARB(class348.key); + } + while (!aClass262_7749.isEmpty((byte) 18)) { + NodeSub35 class348_sub35 = (NodeSub35) aClass262_7749.peekFirst(8); + OpenGL.glDeleteLists((int) class348_sub35.key, class348_sub35.intValue); + } + aClass354_7723.method3469(8218); + if (E() > 100663296 && 60000L + aLong7757 < Component240.currentTimeMillis(-96)) { + System.gc(); + aLong7757 = Component240.currentTimeMillis(-91); + } + this.anInt7735 = i; + } + + final void method3709(int i, int i_123_, int i_124_, int i_125_, int i_126_, int i_127_) { + method3778((byte) -124); + anInt7611++; + method3753(i_127_, 1); + float f = (float) i_124_ - (float) i; + float f_128_ = (float) -i_123_ + (float) i_125_; + if (f == 0.0F && f_128_ == 0.0F) f = 1.0F; + else { + float f_129_ = (float) (1.0 / Math.sqrt(f * f + f_128_ * f_128_)); + f *= f_129_; + f_128_ *= f_129_; + } + OpenGL.glColor4ub((byte) (i_126_ >> 16), (byte) (i_126_ >> 8), (byte) i_126_, (byte) (i_126_ >> 24)); + OpenGL.glBegin(1); + OpenGL.glVertex2f(0.35F + (float) i, (float) i_123_ + 0.35F); + OpenGL.glVertex2f(0.35F + (f + (float) i_124_), 0.35F + (f_128_ + (float) i_125_)); + OpenGL.glEnd(); + } + + final void b(int i, int i_130_, int i_131_, int i_132_, double d) { + anInt7535++; + } + + final void method3760(int i) { + if (i != 1) method3759(65, 117, -33, null, -33); + anInt7643++; + if (anInt7765 != 16) { + method3742(3); + method3807(true, 2); + method3752(122, true); + method3748(0, true); + method3753(1, i); + anInt7765 = 16; + } + } + + final void method3761(int i, int i_133_) { + if (i != 0) aClass262_7751 = null; + anInt7654++; + if (i_133_ == 1) method3729(7681, (byte) 114, 7681); + else if (i_133_ == 0) method3729(8448, (byte) 107, 8448); + else if (i_133_ != 2) { + if (i_133_ != 3) { + if (i_133_ == 4) method3729(34023, (byte) 123, 34023); + } else method3729(260, (byte) 97, 8448); + } else method3729(34165, (byte) 126, 7681); + } + + final boolean method3695() { + anInt7547++; + return true; + } + + final void method3762(int i, int i_134_, byte i_135_, int i_136_) { + anInt7671++; + OpenGL.glTexEnvi(8960, 34176 - -i_136_, i); + OpenGL.glTexEnvi(8960, i_136_ + 34192, i_134_); + if (i_135_ != -87) r(48, 67, -20, 106, -89, 67, 104); + } + + private final void method3763(int i) { + anInt7516++; + if (anInt7865 != 1) { + OpenGL.glMatrixMode(5889); + OpenGL.glLoadIdentity(); + if (this.anInt7688 > 0 && this.anInt7641 > 0) OpenGL.glOrtho(0.0, this.anInt7688, this.anInt7641, 0.0, -1.0, 1.0); + OpenGL.glMatrixMode(5888); + OpenGL.glLoadIdentity(); + anInt7865 = 1; + anInt7765 &= ~0x18; + } + if (i != 5888) method3763(-122); + } + + final void method3764(int i, Interface11 interface11) { + try { + anInt7586++; + if (anInt7742 < 0 || anInterface11Array7737[anInt7742] != interface11) throw new RuntimeException(); + anInterface11Array7737[anInt7742--] = null; + if (i != -17083) aClass105_Sub2_7744 = null; + interface11.method50(-32502); + if (anInt7742 < 0) anInterface11_7740 = null; + else { + anInterface11_7740 = anInterface11Array7737[anInt7742]; + anInterface11_7740.method47(-11421); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.FA(" + i + ',' + (interface11 != null ? "{...}" : "null") + ')')); + } + } + + final synchronized void method3765(byte i, int i_137_) { + anInt7566++; + Node class348 = new Node(); + class348.key = i_137_; + if (i <= 64) method3685(null, -38); + aClass262_7755.addTail(class348, -20180); + } + + final void method3766(byte i, MatrixSub3 class101_sub3) { + do { + try { + anInt7623++; + OpenGL.glLoadMatrixf(class101_sub3.method940(i + -54), 0); + if (i == 55) break; + method3782(null, -47); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.GC(" + i + ',' + (class101_sub3 != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + final void method3700(float f, float f_138_, float f_139_) { + DefinitionSub13.aFloat9204 = f_139_; + DisplayModeManagerContainer216.aFloat5654 = f; + anInt7685++; + RadixText.aFloat6120 = f_138_; + } + + final void method3701(Canvas canvas) { + do { + try { + anInt7674++; + if (canvas == aCanvas7626) throw new RuntimeException(); + if (!aHashtable7577.containsKey(canvas)) break; + Long var_long = (Long) aHashtable7577.get(canvas); + anOpenGL7664.releaseSurface(canvas, var_long.longValue()); + aHashtable7577.remove(canvas); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "qo.AG(" + (canvas != null ? "{...}" : "null") + ')'); + } + break; + } while (false); + } + + private final void method3767(int i) { + if (i != -21974) aClass105_Sub2_7744 = null; + anInt7599++; + if (aBoolean7860) { + OpenGL.glMatrixMode(5890); + OpenGL.glLoadIdentity(); + OpenGL.glMatrixMode(5888); + aBoolean7860 = false; + } + } + + final boolean method3670() { + anInt7557++; + return true; + } + + final void NodeBase(int i, int i_140_, int i_141_, int i_142_, int i_143_) { + if (i_141_ < 0) i_141_ = -i_141_; + anInt7728++; + if (anInt7868 <= i + i_141_ && anInt7855 >= -i_141_ + i && anInt7773 <= i_140_ + i_141_ && i_140_ + -i_141_ <= anInt7787) { + method3778((byte) -117); + method3753(i_143_, 1); + OpenGL.glColor4ub((byte) (i_142_ >> 16), (byte) (i_142_ >> 8), (byte) i_142_, (byte) (i_142_ >> 24)); + float f = (float) i + 0.35F; + float f_144_ = (float) i_140_ + 0.35F; + int i_145_ = i_141_ << 1; + if (aFloat7829 > (float) i_145_) { + OpenGL.glBegin(7); + OpenGL.glVertex2f(1.0F + f, 1.0F + f_144_); + OpenGL.glVertex2f(f + 1.0F, -1.0F + f_144_); + OpenGL.glVertex2f(-1.0F + f, f_144_ - 1.0F); + OpenGL.glVertex2f(-1.0F + f, f_144_ + 1.0F); + OpenGL.glEnd(); + } else if (aFloat7800 >= (float) i_145_) { + OpenGL.glEnable(2832); + OpenGL.glPointSize((float) i_145_); + OpenGL.glBegin(0); + OpenGL.glVertex2f(f, f_144_); + OpenGL.glEnd(); + OpenGL.glDisable(2832); + } else { + OpenGL.glBegin(6); + OpenGL.glVertex2f(f, f_144_); + int i_146_ = 262144 / (6 * i_141_); + if (i_146_ > 64) { + if (i_146_ > 512) i_146_ = 512; + } else i_146_ = 64; + i_146_ = PrimitiveTypeDefinition.method3051(i_146_, 4096); + OpenGL.glVertex2f((float) i_141_ + f, f_144_); + for (int i_147_ = 16384 + -i_146_; i_147_ > 0; i_147_ -= i_146_) + OpenGL.glVertex2f((float) i_141_ * (OggStream.aFloatArray6867[i_147_]) + f, (float) i_141_ * (OggStream.aFloatArray6865[i_147_]) + f_144_); + OpenGL.glVertex2f(f + (float) i_141_, f_144_); + OpenGL.glEnd(); + } + } + } + + final void method3659(int i) { + method3776(22544); + anInt7541++; + } + + private final void method3768(byte i) { + anInt7519++; + if (i >= -69) this.aClass64_Sub3_7802 = null; + if (!aBoolean7784 || aBoolean7805) OpenGL.glDisable(2896); + else OpenGL.glEnable(2896); + } + + final void method3652() { + for (Node class348 = aClass262_7732.first(4); class348 != null; class348 = aClass262_7732.next((byte) 55)) + ((NodeBaseSub1) class348).method3440(-82); + anInt7563++; + if (aClass18_7720 != null) aClass18_7720.method279((byte) -126); + if (anOpenGL7664 != null) { + method3797(0); + Enumeration enumeration = aHashtable7577.keys(); + while (enumeration.hasMoreElements()) { + Canvas canvas = (Canvas) enumeration.nextElement(); + Long var_long = (Long) aHashtable7577.get(canvas); + anOpenGL7664.releaseSurface(canvas, var_long.longValue()); + } + anOpenGL7664.release(); + anOpenGL7664 = null; + } + if (aBoolean7734) { + CookieManager.method2173(true, 12, false); + aBoolean7734 = false; + } + } + + final void method3673() { + anInt7568++; + if (aBoolean7774 && this.anInt7688 > 0 && this.anInt7641 > 0) { + int i = anInt7868; + int i_148_ = anInt7855; + int i_149_ = anInt7773; + int i_150_ = anInt7787; + la(); + OpenGL.glReadBuffer(1028); + OpenGL.glDrawBuffer(1029); + method3755(-32); + method3807(false, 2); + method3728(false, 86); + method3752(112, false); + method3748(0, false); + method3771((byte) -91, null); + method3757(-2, -88); + method3761(0, 1); + method3753(0, 1); + OpenGL.glMatrixMode(5889); + OpenGL.glLoadIdentity(); + OpenGL.glOrtho(0.0, 1.0, 0.0, 1.0, -1.0, 1.0); + OpenGL.glMatrixMode(5888); + OpenGL.glLoadIdentity(); + OpenGL.glRasterPos2i(0, 0); + OpenGL.glCopyPixels(0, 0, this.anInt7688, this.anInt7641, 6144); + OpenGL.glFlush(); + OpenGL.glReadBuffer(1029); + OpenGL.glDrawBuffer(1029); + KA(i, i_149_, i_148_, i_150_); + } + } + + final Component80 method3697(int i, int i_151_, int i_152_, int i_153_, int i_154_, int i_155_) { + anInt7515++; + if (this.aBoolean7863) return new Component100(this, i, i_151_, i_152_, i_153_, i_154_, i_155_); + return null; + } + + final synchronized void method3769(long l, boolean bool) { + try { + if (bool != false) aClass262_7751 = null; + anInt7533++; + Node class348 = new Node(); + class348.key = l; + aClass262_7756.addTail(class348, -20180); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "qo.CD(" + l + ',' + bool + ')'); + } + } + + final void method3770(int i, Interface11 interface11) { + do { + try { + anInt7598++; + if (this.aBoolean7815) { + method3805(8387, interface11); + method3764(-17083, interface11); + } else { + if (anInt7746 < 0 || anInterface11Array7743[anInt7746] != interface11) throw new RuntimeException(); + anInterface11Array7743[anInt7746--] = null; + interface11.method48(46); + if (anInt7746 < 0) anInterface11_7745 = anInterface11_7740 = null; + else { + anInterface11_7745 = anInterface11_7740 = anInterface11Array7743[anInt7746]; + anInterface11_7745.method46(-11762); + } + } + if (i == -422613672) break; + this.anInt7788 = 30; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.FD(" + i + ',' + (interface11 != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + final void method3771(byte i, AbstractGlTexture class258) { + try { + anInt7673++; + if (i > -74) A(38, null, 4, -3); + AbstractGlTexture class258_156_ = aClass258Array7828[anInt7876]; + if (class258_156_ != class258) { + if (class258 == null) OpenGL.glDisable(class258_156_.anInt4849); + else { + if (class258_156_ != null) { + if (class258_156_.anInt4849 != class258.anInt4849) { + OpenGL.glDisable(class258_156_.anInt4849); + OpenGL.glEnable(class258.anInt4849); + } + } else OpenGL.glEnable(class258.anInt4849); + OpenGL.glBindTexture(class258.anInt4849, class258.method1953(41)); + } + aClass258Array7828[anInt7876] = class258; + } + anInt7765 &= ~0x1; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.VA(" + i + ',' + (class258 != null ? "{...}" : "null") + ')')); + } + } + + final void method3710() { + if (aClass348_Sub5_Sub1_7721 != null && aClass348_Sub5_Sub1_7721.method2760((byte) 1)) { + aClass18_7720.method278(aClass348_Sub5_Sub1_7721, true); + aClass354_7723.method3463((byte) -110); + } + anInt7612++; + } + + final void method3674(int i, int i_157_, int i_158_, int i_159_, int i_160_, int i_161_, int i_162_, int i_163_, int i_164_) { + anInt7656++; + if (i_158_ != i || i_157_ != i_159_) { + method3778((byte) -119); + method3753(i_161_, 1); + float f = (float) i_158_ - (float) i; + float f_165_ = (float) i_159_ - (float) i_157_; + float f_166_ = (float) (1.0 / Math.sqrt(f_165_ * f_165_ + f * f)); + f *= f_166_; + f_165_ *= f_166_; + OpenGL.glColor4ub((byte) (i_160_ >> 16), (byte) (i_160_ >> 8), (byte) i_160_, (byte) (i_160_ >> 24)); + i_164_ %= i_162_ + i_163_; + float f_167_ = (float) i_162_ * f; + float f_168_ = f_165_ * (float) i_162_; + float f_169_ = 0.0F; + float f_170_ = 0.0F; + float f_171_ = f_167_; + float f_172_ = f_168_; + if (i_164_ <= i_162_) { + f_172_ = (float) (-i_164_ + i_162_) * f_165_; + f_171_ = f * (float) (-i_164_ + i_162_); + } else { + f_170_ = (float) (i_163_ + i_162_ - i_164_) * f_165_; + f_169_ = (float) (i_163_ + i_162_ - i_164_) * f; + } + float f_173_ = f_169_ + (0.35F + (float) i); + float f_174_ = 0.35F + (float) i_157_ + f_170_; + float f_175_ = f * (float) i_163_; + float f_176_ = f_165_ * (float) i_163_; + for (; ; ) { + if (i >= i_158_) { + if ((float) i_158_ + 0.35F > f_173_) break; + if (f_173_ + f_171_ < (float) i_158_) f_171_ = -f_173_ + (float) i_158_; + } else { + if (f_173_ > (float) i_158_ + 0.35F) break; + if (f_173_ + f_171_ > (float) i_158_) f_171_ = -f_173_ + (float) i_158_; + } + if (i_157_ >= i_159_) { + if ((float) i_159_ + 0.35F > f_174_) break; + if (f_172_ + f_174_ < (float) i_159_) f_172_ = (float) i_159_ - f_174_; + } else { + if ((float) i_159_ + 0.35F < f_174_) break; + if (f_172_ + f_174_ > (float) i_159_) f_172_ = -f_174_ + (float) i_159_; + } + OpenGL.glBegin(1); + OpenGL.glVertex2f(f_173_, f_174_); + OpenGL.glVertex2f(f_173_ + f_171_, f_172_ + f_174_); + OpenGL.glEnd(); + f_174_ += f_172_ + f_176_; + f_173_ += f_175_ + f_171_; + f_171_ = f_167_; + f_172_ = f_168_; + } + } + } + + final void method3643(Canvas canvas, int i, int i_177_) { + do { + try { + anInt7544++; + if (aCanvas7626 == canvas) throw new RuntimeException(); + if (aHashtable7577.containsKey(canvas)) break; + if (!canvas.isShowing()) throw new RuntimeException(); + canvas.setIgnoreRepaint(true); + long l = anOpenGL7664.prepareSurface(canvas); + if (l == -1L) throw new RuntimeException(); + aHashtable7577.put(canvas, new Long(l)); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.VF(" + (canvas != null ? "{...}" : "null") + ',' + i + ',' + i_177_ + ')')); + } + break; + } while (false); + } + + private final void method3772(byte i) { + this.aFloat7835 = (float) (-this.anInt7853 + anInt7855); + anInt7709++; + this.aFloat7872 = (float) (-this.anInt7853 + anInt7868); + this.aFloat7836 = (float) (-this.anInt7810 + anInt7773); + if (i < 123) X(-79); + this.aFloat7830 = (float) (anInt7787 + -this.anInt7810); + } + + final NodeBase method3702(int i) { + anInt7538++; + NodeBaseSub1 var_za_Sub1 = new NodeBaseSub1(i); + aClass262_7732.addTail(var_za_Sub1, -20180); + return var_za_Sub1; + } + + final s method3648(int i, int i_178_, int[][] is, int[][] is_179_, int i_180_, int i_181_, int i_182_) { + try { + anInt7600++; + return new BufferCacheSub2(this, i_181_, i_182_, i, i_178_, is, is_179_, i_180_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.VE(" + i + ',' + i_178_ + ',' + (is != null ? "{...}" : "null") + ',' + (is_179_ != null ? "{...}" : "null") + ',' + i_180_ + ',' + i_181_ + ',' + i_182_ + ')')); + } + } + + final boolean method3682() { + anInt7705++; + return true; + } + + final void method3773(int i, Interface11 interface11) { + try { + anInt7617++; + if (i != -1) aString7845 = null; + if (this.aBoolean7815) { + method3782(interface11, 327685); + method3751(interface11, i ^ ~0x4f); + } else { + if (anInt7746 >= 3) throw new RuntimeException(); + if (anInt7746 >= 0) anInterface11Array7743[anInt7746].method48(-76); + anInterface11_7745 = anInterface11_7740 = anInterface11Array7743[++anInt7746] = interface11; + anInterface11_7745.method46(-11762); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.JB(" + i + ',' + (interface11 != null ? "{...}" : "null") + ')')); + } + } + + private final int method3774(byte i) { + anInt7518++; + int i_183_ = 0; + aString7845 = OpenGL.glGetString(7936).toLowerCase(); + aString7790 = OpenGL.glGetString(7937).toLowerCase(); + if (aString7845.indexOf("microsoft") != -1) i_183_ |= 0x1; + if (aString7845.indexOf("brian paul") != -1 || aString7845.indexOf("mesa") != -1) i_183_ |= 0x1; + String string = OpenGL.glGetString(7938); + String[] strings = DefinitionSub23.splitByChar(' ', true, string.replace('.', ' ')); + if (strings.length >= 2) { + try { + int i_184_ = NodeSub41.parseInt(true, strings[0]); + int i_185_ = NodeSub41.parseInt(true, strings[1]); + anInt7789 = i_184_ * 10 - -i_185_; + } catch (NumberFormatException numberformatexception) { + i_183_ |= 0x4; + } + } else i_183_ |= 0x4; + if (anInt7789 < 12) i_183_ |= 0x2; + if (!anOpenGL7664.a("GL_ARB_multitexture")) i_183_ |= 0x8; + if (!anOpenGL7664.a("GL_ARB_texture_env_combine")) i_183_ |= 0x20; + if (i > -58) return 48; + int[] is = new int[1]; + OpenGL.glGetIntegerv(34018, is, 0); + this.anInt7795 = is[0]; + OpenGL.glGetIntegerv(34929, is, 0); + anInt7799 = is[0]; + OpenGL.glGetIntegerv(34930, is, 0); + anInt7819 = is[0]; + if (this.anInt7795 < 2 || anInt7799 < 2 || anInt7819 < 2) i_183_ |= 0x10; + this.aBoolean7775 = Stream.c(); + aBoolean7866 = anOpenGL7664.arePbuffersAvailable(); + aBoolean7873 = anOpenGL7664.a("GL_ARB_vertex_buffer_object"); + aBoolean7843 = anOpenGL7664.a("GL_ARB_multisample"); + this.aBoolean7841 = anOpenGL7664.a("GL_ARB_vertex_program"); + anOpenGL7664.a("GL_ARB_fragment_program"); + this.aBoolean7791 = anOpenGL7664.a("GL_ARB_vertex_shader"); + this.aBoolean7783 = anOpenGL7664.a("GL_ARB_fragment_shader"); + this.aBoolean7831 = anOpenGL7664.a("GL_EXT_texture3D"); + this.aBoolean7837 = anOpenGL7664.a("GL_ARB_texture_rectangle"); + this.aBoolean7863 = anOpenGL7664.a("GL_ARB_texture_cube_map"); + this.aBoolean7818 = anOpenGL7664.a("GL_ARB_texture_float"); + this.aBoolean7793 = false; + this.aBoolean7820 = anOpenGL7664.a("GL_EXT_framebuffer_object"); + this.aBoolean7815 = anOpenGL7664.a("GL_EXT_framebuffer_blit"); + this.aBoolean7807 = anOpenGL7664.a("GL_EXT_framebuffer_multisample"); + aBoolean7822 = this.aBoolean7807 & this.aBoolean7815; + OpenGL.glGetFloatv(2834, InputStream_Sub2.aFloatArray84, 0); + aFloat7829 = InputStream_Sub2.aFloatArray84[0]; + aFloat7800 = InputStream_Sub2.aFloatArray84[1]; + return i_183_; + } + + final void method3703(int i, int i_186_, int i_187_, int i_188_, int i_189_, int i_190_, Shader var_aa, int i_191_, int i_192_, int i_193_, int i_194_, int i_195_) { + try { + anInt7618++; + if (i_187_ != i || i_188_ != i_186_) { + ShaderSub1 var_aa_Sub1 = (ShaderSub1) var_aa; + GlRectangleTexture class258_sub3_sub1 = var_aa_Sub1.aClass258_Sub3_Sub1_5193; + method3792(90); + method3771((byte) -122, var_aa_Sub1.aClass258_Sub3_Sub1_5193); + method3753(i_190_, 1); + method3729(7681, (byte) -61, 8448); + method3762(34167, 768, (byte) -87, 0); + float f = (class258_sub3_sub1.aFloat9937 / (float) (class258_sub3_sub1.anInt9940)); + float f_196_ = (class258_sub3_sub1.aFloat9938 / (float) (class258_sub3_sub1.anInt9939)); + float f_197_ = (float) -i + (float) i_187_; + float f_198_ = (float) i_188_ - (float) i_186_; + float f_199_ = (float) (1.0 / Math.sqrt(f_197_ * f_197_ + f_198_ * f_198_)); + OpenGL.glColor4ub((byte) (i_189_ >> 16), (byte) (i_189_ >> 8), (byte) i_189_, (byte) (i_189_ >> 24)); + f_197_ *= f_199_; + f_198_ *= f_199_; + i_195_ %= i_194_ + i_193_; + float f_200_ = (float) i_193_ * f_197_; + float f_201_ = f_198_ * (float) i_193_; + float f_202_ = 0.0F; + float f_203_ = 0.0F; + float f_204_ = f_200_; + float f_205_ = f_201_; + if (i_195_ <= i_193_) { + f_204_ = f_197_ * (float) (-i_195_ + i_193_); + f_205_ = f_198_ * (float) (i_193_ + -i_195_); + } else { + f_203_ = (float) (-i_195_ + (i_193_ - -i_194_)) * f_198_; + f_202_ = (float) (i_193_ - -i_194_ - i_195_) * f_197_; + } + float f_206_ = f_202_ + ((float) i + 0.35F); + float f_207_ = (float) i_186_ + 0.35F + f_203_; + float f_208_ = (float) i_194_ * f_197_; + float f_209_ = (float) i_194_ * f_198_; + for (; ; ) { + if (i < i_187_) { + if (f_206_ > 0.35F + (float) i_187_) break; + if ((float) i_187_ < f_206_ + f_204_) f_204_ = (float) i_187_ - f_206_; + } else { + if ((float) i_187_ + 0.35F > f_206_) break; + if ((float) i_187_ > f_206_ + f_204_) f_204_ = -f_206_ + (float) i_187_; + } + if (i_188_ <= i_186_) { + if (0.35F + (float) i_188_ > f_207_) break; + if ((float) i_188_ > f_207_ + f_205_) f_205_ = (float) i_188_ - f_207_; + } else { + if (f_207_ > 0.35F + (float) i_188_) break; + if ((float) i_188_ < f_205_ + f_207_) f_205_ = (float) i_188_ - f_207_; + } + OpenGL.glBegin(1); + OpenGL.glTexCoord2f(f * ((float) -i_191_ + f_206_), f_196_ * ((float) -i_192_ + f_207_)); + OpenGL.glVertex2f(f_206_, f_207_); + OpenGL.glTexCoord2f((f_206_ + f_204_ - (float) i_191_) * f, (((float) -i_192_ + (f_207_ + f_205_)) * f_196_)); + OpenGL.glVertex2f(f_204_ + f_206_, f_207_ + f_205_); + OpenGL.glEnd(); + f_206_ += f_204_ + f_208_; + f_207_ += f_205_ + f_209_; + f_205_ = f_201_; + f_204_ = f_200_; + } + method3762(5890, 768, (byte) -87, 0); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.IF(" + i + ',' + i_186_ + ',' + i_187_ + ',' + i_188_ + ',' + i_189_ + ',' + i_190_ + ',' + (var_aa != null ? "{...}" : "null") + ',' + i_191_ + ',' + i_192_ + ',' + i_193_ + ',' + i_194_ + ',' + i_195_ + ')')); + } + } + + final void X(int i) { + this.anInt7731 = 0; + anInt7521++; + for (/**/; i > 1; i >>= 1) + this.anInt7731++; + this.anInt7733 = 1 << this.anInt7731; + } + + final Shader method3661(int i, int i_210_, int[] is, int[] is_211_) { + try { + anInt7589++; + return RuntimeException_Sub1.method4009(i, is, is_211_, 0, this, i_210_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.RF(" + i + ',' + i_210_ + ',' + (is != null ? "{...}" : "null") + ',' + (is_211_ != null ? "{...}" : "null") + ')')); + } + } + + final void method3632(int[] is) { + try { + is[0] = this.anInt7688; + anInt7675++; + is[1] = this.anInt7641; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "qo.KE(" + (is != null ? "{...}" : "null") + ')'); + } + } + + final void method3651(NodeBase var_za) { + do { + try { + this.aNativeHeap7730 = ((NodeBaseSub1) var_za).aNativeHeap9770; + anInt7573++; + if (anInterface2_7797 != null) break; + Component182 class348_sub49_sub1 = new Component182(80); + if (this.aBoolean7775) { + class348_sub49_sub1.method3400(-1.0F, (byte) -122); + class348_sub49_sub1.method3400(-1.0F, (byte) -103); + class348_sub49_sub1.method3400(0.0F, (byte) -113); + class348_sub49_sub1.method3400(0.0F, (byte) -112); + class348_sub49_sub1.method3400(1.0F, (byte) -124); + class348_sub49_sub1.method3400(1.0F, (byte) -99); + class348_sub49_sub1.method3400(-1.0F, (byte) -95); + class348_sub49_sub1.method3400(0.0F, (byte) -94); + class348_sub49_sub1.method3400(1.0F, (byte) -118); + class348_sub49_sub1.method3400(1.0F, (byte) -112); + class348_sub49_sub1.method3400(1.0F, (byte) -89); + class348_sub49_sub1.method3400(1.0F, (byte) -102); + class348_sub49_sub1.method3400(0.0F, (byte) -109); + class348_sub49_sub1.method3400(1.0F, (byte) -109); + class348_sub49_sub1.method3400(0.0F, (byte) -112); + class348_sub49_sub1.method3400(-1.0F, (byte) -101); + class348_sub49_sub1.method3400(1.0F, (byte) -93); + class348_sub49_sub1.method3400(0.0F, (byte) -123); + class348_sub49_sub1.method3400(0.0F, (byte) -110); + class348_sub49_sub1.method3400(0.0F, (byte) -113); + } else { + class348_sub49_sub1.method3399(18291, -1.0F); + class348_sub49_sub1.method3399(18291, -1.0F); + class348_sub49_sub1.method3399(18291, 0.0F); + class348_sub49_sub1.method3399(18291, 0.0F); + class348_sub49_sub1.method3399(18291, 1.0F); + class348_sub49_sub1.method3399(18291, 1.0F); + class348_sub49_sub1.method3399(18291, -1.0F); + class348_sub49_sub1.method3399(18291, 0.0F); + class348_sub49_sub1.method3399(18291, 1.0F); + class348_sub49_sub1.method3399(18291, 1.0F); + class348_sub49_sub1.method3399(18291, 1.0F); + class348_sub49_sub1.method3399(18291, 1.0F); + class348_sub49_sub1.method3399(18291, 0.0F); + class348_sub49_sub1.method3399(18291, 1.0F); + class348_sub49_sub1.method3399(18291, 0.0F); + class348_sub49_sub1.method3399(18291, -1.0F); + class348_sub49_sub1.method3399(18291, 1.0F); + class348_sub49_sub1.method3399(18291, 0.0F); + class348_sub49_sub1.method3399(18291, 0.0F); + class348_sub49_sub1.method3399(18291, 0.0F); + } + anInterface2_7797 = method3731(2, false, 20, (class348_sub49_sub1.payload), (class348_sub49_sub1.offset)); + this.aClass123_7849 = new Component132(anInterface2_7797, 5126, 3, 0); + this.aClass123_7833 = new Component132(anInterface2_7797, 5126, 2, 12); + aClass233_7711.method1654(643267468, this); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "qo.PF(" + (var_za != null ? "{...}" : "null") + ')'); + } + break; + } while (false); + } + + final void A(int i, Shader var_aa, int i_212_, int i_213_) { + try { + anInt7695++; + ShaderSub1 var_aa_Sub1 = (ShaderSub1) var_aa; + GlRectangleTexture class258_sub3_sub1 = var_aa_Sub1.aClass258_Sub3_Sub1_5193; + method3792(119); + method3771((byte) -88, var_aa_Sub1.aClass258_Sub3_Sub1_5193); + method3753(1, 1); + method3729(7681, (byte) -103, 8448); + method3762(34167, 768, (byte) -87, 0); + float f = (class258_sub3_sub1.aFloat9937 / (float) (class258_sub3_sub1.anInt9940)); + float f_214_ = (class258_sub3_sub1.aFloat9938 / (float) (class258_sub3_sub1.anInt9939)); + OpenGL.glColor4ub((byte) (i >> 16), (byte) (i >> 8), (byte) i, (byte) (i >> 24)); + OpenGL.glBegin(7); + OpenGL.glTexCoord2f(f * (float) (anInt7868 + -i_212_), (float) (anInt7773 + -i_213_) * f_214_); + OpenGL.glVertex2i(anInt7868, anInt7773); + OpenGL.glTexCoord2f(f * (float) (-i_212_ + anInt7868), f_214_ * (float) (-i_213_ + anInt7787)); + OpenGL.glVertex2i(anInt7868, anInt7787); + OpenGL.glTexCoord2f((float) (-i_212_ + anInt7855) * f, (float) (anInt7787 + -i_213_) * f_214_); + OpenGL.glVertex2i(anInt7855, anInt7787); + OpenGL.glTexCoord2f(f * (float) (-i_212_ + anInt7855), f_214_ * (float) (-i_213_ + anInt7773)); + OpenGL.glVertex2i(anInt7855, anInt7773); + OpenGL.glEnd(); + method3762(5890, 768, (byte) -87, 0); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.A(" + i + ',' + (var_aa != null ? "{...}" : "null") + ',' + i_212_ + ',' + i_213_ + ')')); + } + } + + final boolean method3694() { + anInt7593++; + return false; + } + + final Interface13 method3624(int i, int i_215_) { + anInt7679++; + return null; + } + + final void method3775(boolean bool, int i, int i_216_, int i_217_) { + anInt7531++; + if (bool != false) method3644(); + OpenGL.glTexEnvi(8960, 34184 + i, i_217_); + OpenGL.glTexEnvi(8960, 34200 + i, i_216_); + } + + private final void method3776(int i) { + anInt7609++; + if (i != 22544) this.aNativeHeap7730 = null; + int i_218_ = 0; + while (!anOpenGL7664.b()) { + if (i_218_++ > 5) throw new RuntimeException(""); + SpriteAtlasShader.sleep((byte) -3, 1000L); + } + } + + final void method3688(int i, int i_219_, int i_220_, int i_221_, int i_222_, int i_223_, int i_224_) { + anInt7662++; + OpenGL.glLineWidth((float) i_223_); + method3709(i, i_219_, i_220_, i_221_, i_222_, i_224_); + OpenGL.glLineWidth(1.0F); + } + + final void ra(int i, int i_225_, int i_226_, int i_227_) { + anInt7660++; + this.anInt7788 = i; + this.anInt7848 = i_226_; + this.anInt7806 = i_225_; + this.aBoolean7846 = true; + this.anInt7809 = i_227_; + } + + private final void method3777(int i) { + anInt7632++; + aFloatArray7779[10] = aFloat7854; + aFloatArray7779[14] = aFloat7842; + this.aFloat7875 = (float) anInt7814; + if (i != -24051) this.aClass64_Sub3_7821 = null; + this.aFloat7874 = (aFloatArray7779[14] - (float) anInt7814) / aFloatArray7779[10]; + } + + final void T(int i, int i_228_, int i_229_, int i_230_) { + if (i_228_ > anInt7773) anInt7773 = i_228_; + anInt7648++; + if (anInt7787 > i_230_) anInt7787 = i_230_; + if (i > anInt7868) anInt7868 = i; + if (i_229_ < anInt7855) anInt7855 = i_229_; + OpenGL.glEnable(3089); + method3772((byte) 125); + method3811((byte) 11); + } + + final void method3669(Canvas canvas, int i, int i_231_) { + do { + try { + anInt7701++; + long l = 0L; + if (canvas != null && aCanvas7626 != canvas) { + if (aHashtable7577.containsKey(canvas)) { + Long var_long = (Long) aHashtable7577.get(canvas); + l = var_long.longValue(); + } + } else l = aLong7553; + if (l == 0L) throw new RuntimeException(); + anOpenGL7664.surfaceResized(l); + if (aCanvas7575 != canvas) break; + method3745((byte) 117); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.HF(" + (canvas != null ? "{...}" : "null") + ',' + i + ',' + i_231_ + ')')); + } + break; + } while (false); + } + + final Component24 method3711(int[] is, int i, int i_232_, int i_233_, int i_234_, boolean bool) { + try { + anInt7522++; + return new SpriteSub2(this, i_233_, i_234_, is, i, i_232_); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.BE(" + (is != null ? "{...}" : "null") + ',' + i + ',' + i_232_ + ',' + i_233_ + ',' + i_234_ + ',' + bool + ')')); + } + } + + private final void method3778(byte i) { + if (anInt7765 != 1) { + method3763(5888); + method3807(false, 2); + method3728(false, 48); + method3752(107, false); + method3748(0, false); + method3771((byte) -122, null); + method3757(-2, -45); + method3761(0, 1); + anInt7765 = 1; + } + if (i <= -115) anInt7594++; + } + + private final void method3779(int i) { + InputStream_Sub2.aFloatArray84[3] = 1.0F; + anInt7588++; + InputStream_Sub2.aFloatArray84[0] = this.aFloat7832 * this.aFloat7781; + InputStream_Sub2.aFloatArray84[1] = this.aFloat7816 * this.aFloat7832; + if (i == 29890) { + InputStream_Sub2.aFloatArray84[2] = this.aFloat7823 * this.aFloat7832; + OpenGL.glLightfv(16384, 4609, InputStream_Sub2.aFloatArray84, 0); + InputStream_Sub2.aFloatArray84[2] = this.aFloat7823 * -this.aFloat7871; + InputStream_Sub2.aFloatArray84[3] = 1.0F; + InputStream_Sub2.aFloatArray84[1] = this.aFloat7816 * -this.aFloat7871; + InputStream_Sub2.aFloatArray84[0] = this.aFloat7781 * -this.aFloat7871; + OpenGL.glLightfv(16385, 4609, InputStream_Sub2.aFloatArray84, 0); + } + } + + final synchronized void method3780(int i, int i_235_, int i_236_) { + anInt7616++; + NodeSub35 class348_sub35 = new NodeSub35(i); + class348_sub35.key = i_236_; + aClass262_7751.addTail(class348_sub35, -20180); + if (i_235_ != -1) method3733(-17, -42, -40, null, true); + } + + final int M() { + anInt7562++; + int i = anInt7881; + anInt7881 = 0; + return i; + } + + final int method3781(byte i, int i_237_) { + anInt7613++; + if (i_237_ == 1) return 7681; + if (i_237_ == 0) return 8448; + if (i_237_ != 2) { + if (i_237_ != 3) { + if (i_237_ == 4) return 34023; + } else return 260; + } else return 34165; + if (i != 17) anInt7814 = -39; + throw new IllegalArgumentException(); + } + + final void method3782(Interface11 interface11, int i) { + try { + anInt7640++; + if (anInt7738 >= 3) throw new RuntimeException(); + if (i != 327685) method3688(-94, -9, -90, -108, 41, -52, 70); + if (anInt7738 >= 0) anInterface11Array7741[anInt7738].method45((byte) -47); + anInterface11_7745 = anInterface11Array7741[++anInt7738] = interface11; + anInterface11_7745.method49(-27141); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.HD(" + (interface11 != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + final void method3628(int i, int i_238_, int i_239_, int i_240_, int i_241_, int i_242_) { + anInt7615++; + float f = 0.35F + (float) i; + float f_243_ = 0.35F + (float) i_238_; + float f_244_ = f + (float) i_239_ - 1.0F; + method3778((byte) -119); + float f_245_ = -1.0F + (f_243_ + (float) i_240_); + method3753(i_242_, 1); + OpenGL.glColor4ub((byte) (i_241_ >> 16), (byte) (i_241_ >> 8), (byte) i_241_, (byte) (i_241_ >> 24)); + if (aBoolean7843) OpenGL.glDisable(32925); + OpenGL.glBegin(2); + OpenGL.glVertex2f(f, f_243_); + OpenGL.glVertex2f(f, f_245_); + OpenGL.glVertex2f(f_244_, f_245_); + OpenGL.glVertex2f(f_244_, f_243_); + OpenGL.glEnd(); + if (aBoolean7843) OpenGL.glEnable(32925); + } + + final void H(int i, int i_246_, int i_247_, int[] is) { + try { + anInt7637++; + float f = ((this.aClass101_Sub3_7760.aFloat5751) + ((float) i * (this.aClass101_Sub3_7760.aFloat5756) + (this.aClass101_Sub3_7760.aFloat5754) * (float) i_246_ + (this.aClass101_Sub3_7760.aFloat5784) * (float) i_247_)); + if (f == 0.0F) is[0] = is[1] = is[2] = -1; + else { + int i_248_ = (int) ((this.aClass101_Sub3_7760.aFloat5747 + ((this.aClass101_Sub3_7760.aFloat5781) * (float) i_247_ + ((this.aClass101_Sub3_7760.aFloat5750) * (float) i_246_ + (this.aClass101_Sub3_7760.aFloat5770) * (float) i))) * (float) this.anInt7771 / f); + int i_249_ = (int) (((float) i * this.aClass101_Sub3_7760.aFloat5761 + (this.aClass101_Sub3_7760.aFloat5769) * (float) i_246_ + (this.aClass101_Sub3_7760.aFloat5762) * (float) i_247_ + (this.aClass101_Sub3_7760.aFloat5772)) * (float) this.anInt7794 / f); + is[0] = (int) (-this.aFloat7872 + (float) i_248_); + is[2] = (int) f; + is[1] = (int) (-this.aFloat7836 + (float) i_249_); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.H(" + i + ',' + i_246_ + ',' + i_247_ + ',' + (is != null ? "{...}" : "null") + ')')); + } + } + + final DisplayModeManagerContainer204 method3654() { + anInt7716++; + return new MatrixSub3(); + } + + final boolean method3671() { + anInt7670++; + if (aClass348_Sub5_Sub1_7721 != null) { + if (!aClass348_Sub5_Sub1_7721.method2760((byte) 1)) { + if (!aClass18_7720.method274(aClass348_Sub5_Sub1_7721, true)) return false; + aClass354_7723.method3463((byte) -110); + } + return true; + } + return false; + } + + private final void method3783(int i) { + anInt7527++; + int i_250_; + for (i_250_ = i; anInt7862 > i_250_; i_250_++) { + NodeSub1 class348_sub1 = aClass348_Sub1Array7858[i_250_]; + ShaderCompilerSub1.aFloatArray6514[0] = (float) class348_sub1.method2724(-1); + int i_251_ = i_250_ + 16386; + ShaderCompilerSub1.aFloatArray6514[1] = (float) class348_sub1.method2722(127); + ShaderCompilerSub1.aFloatArray6514[2] = (float) class348_sub1.method2717((byte) 77); + ShaderCompilerSub1.aFloatArray6514[3] = 1.0F; + OpenGL.glLightfv(i_251_, 4611, ShaderCompilerSub1.aFloatArray6514, 0); + int i_252_ = class348_sub1.method2720(-1); + float f = class348_sub1.method2721(-76) / 255.0F; + ShaderCompilerSub1.aFloatArray6514[2] = (float) GpsOverlay.bitwiseAnd(i_252_, 255) * f; + ShaderCompilerSub1.aFloatArray6514[0] = ((float) (GpsOverlay.bitwiseAnd(16762087, i_252_) >> 16) * f); + ShaderCompilerSub1.aFloatArray6514[1] = ((float) (GpsOverlay.bitwiseAnd(i_252_, 65533) >> 8) * f); + OpenGL.glLightfv(i_251_, 4609, ShaderCompilerSub1.aFloatArray6514, 0); + OpenGL.glLightf(i_251_, 4617, 1.0F / (float) (class348_sub1.method2723(-1) * class348_sub1.method2723(-1))); + OpenGL.glEnable(i_251_); + } + for (/**/; anInt7839 > i_250_; i_250_++) + OpenGL.glDisable(i_250_ + 16386); + anInt7839 = anInt7862; + } + + final void method3784(byte i) { + if (anInt7765 != 8) { + method3740(-14388); + method3807(true, 2); + method3752(114, true); + method3748(i + 62, true); + method3753(1, 1); + anInt7765 = 8; + } + anInt7665++; + if (i != -62) aCanvas7626 = null; + } + + final int method3785(int i, int i_253_) { + anInt7682++; + if (i == 5121 || i == 5120) return 1; + if (i_253_ != 4) this.aBoolean7793 = false; + if (i == 5123 || i == 5122) return 2; + if (i == 5125 || i == 5124 || i == 5126) return 4; + throw new IllegalArgumentException(""); + } + + final void method3685(Component122 class98, int i) { + try { + aClass233_7711.method1651(this, (byte) -116, i, class98); + anInt7687++; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.FG(" + (class98 != null ? "{...}" : "null") + ',' + i + ')')); + } + } + + private final void method3786(boolean bool) { + anInt7630++; + aClass258Array7828 = new AbstractGlTexture[this.anInt7795]; + this.aClass258_Sub3_7827 = new GlTexture(this, 3553, 6408, 1, 1); + new GlTexture(this, 3553, 6408, 1, 1); + new GlTexture(this, 3553, 6408, 1, 1); + this.aClass64_Sub3_7864 = new DisplayModeManagerContainer282(this); + this.aClass64_Sub3_7838 = new DisplayModeManagerContainer282(this); + this.aClass64_Sub3_7803 = new DisplayModeManagerContainer282(this); + this.aClass64_Sub3_7834 = new DisplayModeManagerContainer282(this); + this.aClass64_Sub3_7840 = new DisplayModeManagerContainer282(this); + this.aClass64_Sub3_7780 = new DisplayModeManagerContainer282(this); + this.aClass64_Sub3_7802 = new DisplayModeManagerContainer282(this); + this.aClass64_Sub3_7821 = new DisplayModeManagerContainer282(this); + if (bool == false) { + this.aClass64_Sub3_7844 = new DisplayModeManagerContainer282(this); + this.aClass64_Sub3_7785 = new DisplayModeManagerContainer282(this); + if (this.aBoolean7820) { + this.aClass206_7778 = new DisplayModeManagerContainer105(this); + new DisplayModeManagerContainer105(this); + } + } + } + + private final void method3787(int i) { + InputStream_Sub2.aFloatArray84[3] = 1.0F; + anInt7661++; + InputStream_Sub2.aFloatArray84[0] = this.aFloat7768 * this.aFloat7781; + InputStream_Sub2.aFloatArray84[2] = this.aFloat7823 * this.aFloat7768; + InputStream_Sub2.aFloatArray84[1] = this.aFloat7816 * this.aFloat7768; + OpenGL.glLightModelfv(2899, InputStream_Sub2.aFloatArray84, 0); + if (i >= -13) anInt7742 = 102; + } + + final Component6 c() { + anInt7607++; + int i = -1; + if (aString7845.indexOf("nvidia") == -1) { + if (aString7845.indexOf("intel") != -1) i = 32902; + else if (aString7845.indexOf("ati") != -1) i = 4098; + } else i = 4318; + return new Component6(i, "OpenGL", anInt7789, aString7790, 0L); + } + + final void da(int i, int i_254_, int i_255_, int[] is) { + try { + anInt7528++; + float f = (((float) i_254_ * (this.aClass101_Sub3_7760.aFloat5754)) + (this.aClass101_Sub3_7760.aFloat5756) * (float) i + (this.aClass101_Sub3_7760.aFloat5784) * (float) i_255_ + (this.aClass101_Sub3_7760.aFloat5751)); + if (f >= (float) this.anInt7826 && f <= (float) anInt7814) { + int i_256_ = (int) ((float) this.anInt7771 * (((float) i_254_ * (this.aClass101_Sub3_7760.aFloat5750)) + (this.aClass101_Sub3_7760.aFloat5770) * (float) i + (this.aClass101_Sub3_7760.aFloat5781) * (float) i_255_ + (this.aClass101_Sub3_7760.aFloat5747)) / f); + int i_257_ = (int) ((this.aClass101_Sub3_7760.aFloat5772 + (((float) i * (this.aClass101_Sub3_7760.aFloat5761)) + (this.aClass101_Sub3_7760.aFloat5769) * (float) i_254_ + (this.aClass101_Sub3_7760.aFloat5762) * (float) i_255_)) * (float) this.anInt7794 / f); + if (!(this.aFloat7872 <= (float) i_256_) || !((float) i_256_ <= this.aFloat7835) || !(this.aFloat7836 <= (float) i_257_) || !(this.aFloat7830 >= (float) i_257_)) is[0] = is[1] = is[2] = -1; + else { + is[2] = (int) f; + is[0] = (int) (-this.aFloat7872 + (float) i_256_); + is[1] = (int) (-this.aFloat7836 + (float) i_257_); + } + } else is[0] = is[1] = is[2] = -1; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.da(" + i + ',' + i_254_ + ',' + i_255_ + ',' + (is != null ? "{...}" : "null") + ')')); + } + } + + final void method3788(int i) { + anInt7647++; + if (i == -18516) OpenGL.glPushMatrix(); + } + + final void F(int i, int i_258_) { + anInt7719++; + } + + final void method3687(Interface4 interface4) { + try { + anInt7590++; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "qo.IA(" + (interface4 != null ? "{...}" : "null") + ')'); + } + } + + final void KA(int i, int i_259_, int i_260_, int i_261_) { + if (i_259_ < 0) i_259_ = 0; + anInt7717++; + if (i_260_ > this.anInt7688) i_260_ = this.anInt7688; + if (i < 0) i = 0; + if (i_261_ > this.anInt7641) i_261_ = this.anInt7641; + anInt7855 = i_260_; + anInt7787 = i_261_; + anInt7773 = i_259_; + anInt7868 = i; + OpenGL.glEnable(3089); + method3772((byte) 126); + method3811((byte) 11); + } + + final void method3789(byte i, float f) { + if (aFloat7851 != f) { + aFloat7851 = f; + if (anInt7865 == 3) method3747((byte) -63); + } + if (i <= -101) anInt7545++; + } + + final void la() { + anInt7773 = 0; + anInt7642++; + anInt7787 = this.anInt7641; + anInt7855 = this.anInt7688; + anInt7868 = 0; + OpenGL.glDisable(3089); + method3772((byte) 125); + } + + final void C(boolean bool) { + aBoolean7870 = bool; + anInt7602++; + method3795(-30199); + } + + final void method3663() { + anInt7604++; + } + + final void method3790(int i, int i_262_, int i_263_) { + if (i > 94) { + anInt7724++; + anInt7867 = i_262_; + anInt7770 = i_263_; + method3809(true); + method3811((byte) 11); + } + } + + final int JA(int i, int i_264_, int i_265_, int i_266_, int i_267_, int i_268_) { + anInt7652++; + int i_269_ = 0; + float f = (((float) i_265_ * (this.aClass101_Sub3_7760.aFloat5784)) + ((float) i * this.aClass101_Sub3_7760.aFloat5756 + ((float) i_264_ * (this.aClass101_Sub3_7760.aFloat5754))) + (this.aClass101_Sub3_7760.aFloat5751)); + if (f < 1.0F) f = 1.0F; + float f_270_ = (((float) i_268_ * (this.aClass101_Sub3_7760.aFloat5784)) + (((float) i_267_ * (this.aClass101_Sub3_7760.aFloat5754)) + (this.aClass101_Sub3_7760.aFloat5756) * (float) i_266_) + (this.aClass101_Sub3_7760.aFloat5751)); + if (f_270_ < 1.0F) f_270_ = 1.0F; + if (!((float) this.anInt7826 > f) || !((float) this.anInt7826 > f_270_)) { + if (f > (float) anInt7814 && f_270_ > (float) anInt7814) i_269_ |= 0x20; + } else i_269_ |= 0x10; + int i_271_ = (int) (((this.aClass101_Sub3_7760.aFloat5781) * (float) i_265_ + ((this.aClass101_Sub3_7760.aFloat5750 * (float) i_264_) + (this.aClass101_Sub3_7760.aFloat5770 * (float) i)) + (this.aClass101_Sub3_7760.aFloat5747)) * (float) this.anInt7771 / f); + int i_272_ = (int) ((float) this.anInt7771 * (((float) i_268_ * this.aClass101_Sub3_7760.aFloat5781) + ((this.aClass101_Sub3_7760.aFloat5770 * (float) i_266_) + (this.aClass101_Sub3_7760.aFloat5750 * (float) i_267_)) + this.aClass101_Sub3_7760.aFloat5747) / f_270_); + if (!((float) i_271_ < this.aFloat7872) || !(this.aFloat7872 > (float) i_272_)) { + if ((float) i_271_ > this.aFloat7835 && (float) i_272_ > this.aFloat7835) i_269_ |= 0x2; + } else i_269_ |= 0x1; + int i_273_ = (int) ((float) this.anInt7794 * ((this.aClass101_Sub3_7760.aFloat5762) * (float) i_265_ + ((float) i_264_ * this.aClass101_Sub3_7760.aFloat5769 + (float) i * this.aClass101_Sub3_7760.aFloat5761) + this.aClass101_Sub3_7760.aFloat5772) / f); + int i_274_ = (int) (((this.aClass101_Sub3_7760.aFloat5772) + (((float) i_266_ * this.aClass101_Sub3_7760.aFloat5761) + (float) i_267_ * this.aClass101_Sub3_7760.aFloat5769 + (this.aClass101_Sub3_7760.aFloat5762 * (float) i_268_))) * (float) this.anInt7794 / f_270_); + if (!((float) i_273_ < this.aFloat7836) || !(this.aFloat7836 > (float) i_274_)) { + if ((float) i_273_ > this.aFloat7830 && (float) i_274_ > this.aFloat7830) i_269_ |= 0x8; + } else i_269_ |= 0x4; + return i_269_; + } + + final boolean method3693() { + anInt7684++; + return true; + } + + final Component24 method3629(int i, int i_275_, boolean bool) { + anInt7625++; + return new SpriteSub2(this, i, i_275_, bool); + } + + final void method3678(int i) { + anInt7663++; + method3797(0); + } + + private final void method3791(int i) { + anInt7543++; + method3757(-2, -69); + for (int i_276_ = this.anInt7795 - 1; i_276_ >= 0; i_276_--) { + method3738(-15039, i_276_); + method3771((byte) -88, null); + OpenGL.glTexEnvi(8960, 8704, 34160); + } + method3729(8448, (byte) 119, 8448); + method3762(34168, 770, (byte) -87, 2); + method3767(-21974); + anInt7764 = 1; + OpenGL.glEnable(3042); + OpenGL.glBlendFunc(770, 771); + anInt7762 = 1; + OpenGL.glEnable(3008); + OpenGL.glAlphaFunc(516, 0.0F); + aBoolean7761 = true; + OpenGL.glColorMask(true, true, true, true); + aBoolean7758 = true; + method3807(true, 2); + method3728(true, 71); + method3752(124, true); + method3748(0, true); + method3755(i ^ ~0x651d); + anOpenGL7664.setSwapInterval(0); + OpenGL.glShadeModel(7425); + OpenGL.glClearDepth(1.0F); + OpenGL.glDepthFunc(515); + OpenGL.glPolygonMode(1028, 6914); + OpenGL.glEnable(2884); + OpenGL.glCullFace(1029); + OpenGL.glMatrixMode(5888); + OpenGL.glLoadIdentity(); + OpenGL.glColorMaterial(1028, 5634); + OpenGL.glEnable(2903); + float[] fs = {0.0F, 0.0F, 0.0F, 1.0F}; + for (int i_277_ = 0; i_277_ < 8; i_277_++) { + int i_278_ = 16384 + i_277_; + OpenGL.glLightfv(i_278_, 4608, fs, 0); + OpenGL.glLightf(i_278_, 4615, 0.0F); + OpenGL.glLightf(i_278_, 4616, 0.0F); + } + OpenGL.glEnable(16384); + OpenGL.glEnable(16385); + OpenGL.glFogf(2914, 0.95F); + OpenGL.glFogi(2917, 9729); + if (i != 25858) this.aClass64_Sub3_7864 = null; + OpenGL.glHint(3156, 4353); + anInt7808 = this.anInt7856 = -1; + la(); + } + + final void method3792(int i) { + if (i < 45) method3777(-72); + if (anInt7765 != 2) { + method3763(5888); + method3807(false, 2); + method3728(false, 66); + method3752(115, false); + method3748(0, false); + method3757(-2, -67); + anInt7765 = 2; + } + anInt7608++; + } + + final int I() { + anInt7551++; + int i = anInt7878; + anInt7878 = 0; + return i; + } + + final void method3793(int i, Interface8 interface8) { + do { + try { + if (i == 1) { + anInt7560++; + if (anInterface8_7817 == interface8) break; + if (aBoolean7873) OpenGL.glBindBufferARB(34963, interface8.method33(-23923)); + anInterface8_7817 = interface8; + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.OE(" + i + ',' + (interface8 != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + final void method3794(Component132 class123, Component132 class123_279_, int i, Component132 class123_280_, Component132 class123_281_) { + try { + if (class123 != null) { + method3750(i + 26493, class123.anInterface2_1811); + OpenGL.glVertexPointer(class123.aByte1814, class123.aShort1810, anInterface2_7852.method13((byte) -97), (anInterface2_7852.method12((byte) 42) - -(long) (class123.aByte1812))); + OpenGL.glEnableClientState(32884); + } else OpenGL.glDisableClientState(32884); + anInt7529++; + if (class123_281_ != null) { + method3750(56, class123_281_.anInterface2_1811); + OpenGL.glNormalPointer(class123_281_.aShort1810, anInterface2_7852.method13((byte) -97), (anInterface2_7852.method12((byte) 42) - -(long) (class123_281_.aByte1812))); + OpenGL.glEnableClientState(32885); + } else OpenGL.glDisableClientState(32885); + if (class123_279_ != null) { + method3750(67, class123_279_.anInterface2_1811); + OpenGL.glColorPointer(class123_279_.aByte1814, class123_279_.aShort1810, anInterface2_7852.method13((byte) -97), (anInterface2_7852.method12((byte) 42) + (long) (class123_279_.aByte1812))); + OpenGL.glEnableClientState(32886); + } else OpenGL.glDisableClientState(32886); + if (i == -26411) { + if (class123_280_ != null) { + method3750(119, class123_280_.anInterface2_1811); + OpenGL.glTexCoordPointer(class123_280_.aByte1814, class123_280_.aShort1810, anInterface2_7852.method13((byte) -97), (anInterface2_7852.method12((byte) 42) - -(long) class123_280_.aByte1812)); + OpenGL.glEnableClientState(32888); + } else OpenGL.glDisableClientState(32888); + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.KB(" + (class123 != null ? "{...}" : "null") + ',' + (class123_279_ != null ? "{...}" : "null") + ',' + i + ',' + (class123_280_ != null ? "{...}" : "null") + ',' + (class123_281_ != null ? "{...}" : "null") + ')')); + } + } + + final int method3704() { + anInt7672++; + return 4; + } + + final Interface4 method3634(Interface3 interface3, Interface13 interface13) { + try { + anInt7596++; + return null; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.NB(" + (interface3 != null ? "{...}" : "null") + ',' + (interface13 != null ? "{...}" : "null") + ')')); + } + } + + final DisplayModeManagerContainer204 method3640() { + anInt7650++; + return this.aClass101_Sub3_7760; + } + + private final void method3795(int i) { + OpenGL.glDepthMask(aBoolean7759 && aBoolean7870); + anInt7578++; + if (i != -30199) K(null); + } + + final DisplayModeManagerContainer204 method3705() { + anInt7587++; + return aClass101_Sub3_7725; + } + + final int i() { + anInt7628++; + return this.anInt7826; + } + + final void NativeHandle() { + anInt7534++; + method3748(0, true); + OpenGL.glClear(256); + } + + final void method3647(boolean bool) { + anInt7691++; + } + + final void method3796(int i) { + OpenGL.glLightfv(i, 4611, this.aFloatArray7825, 0); + anInt7536++; + OpenGL.glLightfv(16385, 4611, aFloatArray7811, 0); + } + + final boolean method3639() { + anInt7667++; + return aClass100_7707.method889((byte) -91, 3); + } + + final boolean method3666() { + anInt7537++; + return aClass348_Sub5_Sub1_7721 != null && aClass348_Sub5_Sub1_7721.method2760((byte) 1); + } + + final void method3642(int i, NodeSub1[] class348_sub1s) { + do { + try { + for (int i_282_ = 0; i_282_ < i; i_282_++) + aClass348_Sub1Array7858[i_282_] = class348_sub1s[i_282_]; + anInt7610++; + anInt7862 = i; + if (anInt7865 == 1) break; + method3783(0); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.FF(" + i + ',' + (class348_sub1s != null ? "{...}" : "null") + ')')); + } + break; + } while (false); + } + + final void method3630(boolean bool) { + anInt7620++; + } + + private final void method3797(int i) { + if (i != 0) this.anIntArray7883 = null; + anInt7546++; + anOpenGL7664.a(); + } + + final void pa() { + anInt7524++; + this.aBoolean7846 = false; + } + + final int r(int i, int i_283_, int i_284_, int i_285_, int i_286_, int i_287_, int i_288_) { + anInt7669++; + float f = (((float) i_284_ * (this.aClass101_Sub3_7760.aFloat5784)) + ((float) i_283_ * (this.aClass101_Sub3_7760.aFloat5754) + (float) i * (this.aClass101_Sub3_7760.aFloat5756)) + (this.aClass101_Sub3_7760.aFloat5751)); + float f_289_ = (((float) i_287_ * (this.aClass101_Sub3_7760.aFloat5784)) + ((this.aClass101_Sub3_7760.aFloat5756) * (float) i_285_ + ((float) i_286_ * (this.aClass101_Sub3_7760.aFloat5754))) + (this.aClass101_Sub3_7760.aFloat5751)); + int i_290_ = 0; + if (!(f < (float) this.anInt7826) || !((float) this.anInt7826 > f_289_)) { + if ((float) anInt7814 < f && f_289_ > (float) anInt7814) i_290_ |= 0x20; + } else i_290_ |= 0x10; + int i_291_ = (int) ((float) this.anInt7771 * ((this.aClass101_Sub3_7760.aFloat5781) * (float) i_284_ + ((this.aClass101_Sub3_7760.aFloat5750 * (float) i_283_) + (this.aClass101_Sub3_7760.aFloat5770 * (float) i)) + this.aClass101_Sub3_7760.aFloat5747) / (float) i_288_); + int i_292_ = (int) ((float) this.anInt7771 * ((this.aClass101_Sub3_7760.aFloat5747) + ((this.aClass101_Sub3_7760.aFloat5781 * (float) i_287_) + (((float) i_285_ * (this.aClass101_Sub3_7760.aFloat5770)) + (this.aClass101_Sub3_7760.aFloat5750) * (float) i_286_))) / (float) i_288_); + if (!(this.aFloat7872 > (float) i_291_) || !(this.aFloat7872 > (float) i_292_)) { + if (this.aFloat7835 < (float) i_291_ && (float) i_292_ > this.aFloat7835) i_290_ |= 0x2; + } else i_290_ |= 0x1; + int i_293_ = (int) (((this.aClass101_Sub3_7760.aFloat5772) + ((this.aClass101_Sub3_7760.aFloat5762 * (float) i_284_) + ((this.aClass101_Sub3_7760.aFloat5761 * (float) i) + ((float) i_283_ * (this.aClass101_Sub3_7760.aFloat5769))))) * (float) this.anInt7794 / (float) i_288_); + int i_294_ = (int) ((float) this.anInt7794 * (((float) i_287_ * this.aClass101_Sub3_7760.aFloat5762) + ((float) i_286_ * this.aClass101_Sub3_7760.aFloat5769 + (this.aClass101_Sub3_7760.aFloat5761 * (float) i_285_)) + this.aClass101_Sub3_7760.aFloat5772) / (float) i_288_); + if (!(this.aFloat7836 > (float) i_293_) || !((float) i_294_ < this.aFloat7836)) { + if ((float) i_293_ > this.aFloat7830 && this.aFloat7830 < (float) i_294_) i_290_ |= 0x8; + } else i_290_ |= 0x4; + return i_290_; + } + + final int method3798(int i, int i_295_) { + anInt7698++; + if (i_295_ != 2) this.aFloat7872 = -1.3399854F; + if (i != 6406 && i != 6409) { + if (i != 6410 && i != 34846 && i != 34844) { + if (i == 6407) return 3; + if (i == 6408 || i == 34847) return 4; + if (i == 34843) return 6; + if (i == 34842) return 8; + if (i == 6402) return 3; + if (i == 6401) return 1; + } else return 2; + } else return 1; + throw new IllegalArgumentException(""); + } + + private final void method3799(float f, float f_296_, float f_297_, byte i) { + OpenGL.glMatrixMode(5890); + anInt7585++; + if (aBoolean7860) OpenGL.glLoadIdentity(); + OpenGL.glTranslatef(f_297_, f, f_296_); + int i_298_ = -9 / ((81 - i) / 44); + OpenGL.glMatrixMode(5888); + aBoolean7860 = true; + } + + final synchronized void method3800(int i, int i_299_) { + anInt7570++; + NodeSub35 class348_sub35 = new NodeSub35(i_299_); + if (i > 71) aClass262_7753.addTail(class348_sub35, -20180); + } + + final void method3698() { + aClass18_7720.method272(-53); + anInt7595++; + } + + final void P(int i, int i_300_, int i_301_, int i_302_, int i_303_) { + method3778((byte) -124); + anInt7583++; + method3753(i_303_, 1); + float f = 0.35F + (float) i; + OpenGL.glColor4ub((byte) (i_302_ >> 16), (byte) (i_302_ >> 8), (byte) i_302_, (byte) (i_302_ >> 24)); + float f_304_ = (float) i_300_ + 0.35F; + OpenGL.glBegin(1); + OpenGL.glVertex2f(f, f_304_); + OpenGL.glVertex2f(f, (float) i_301_ + f_304_); + OpenGL.glEnd(); + } + + final int E() { + anInt7539++; + return (anInt7750 + this.anInt7748 + this.anInt7747); + } + + final Component80 method3706(Component80 class299, Component80 class299_305_, float f, Component80 class299_306_) { + try { + anInt7658++; + if (class299 != null && class299_305_ != null && this.aBoolean7863 && this.aBoolean7820) { + Component264 class299_sub1_sub2 = null; + Component40 class299_sub1 = (Component40) class299; + Component40 class299_sub1_307_ = (Component40) class299_305_; + GlFramebufferTexture class258_sub2 = class299_sub1.method2256((byte) -121); + GlFramebufferTexture class258_sub2_308_ = class299_sub1_307_.method2256((byte) -121); + if (class258_sub2 != null && class258_sub2_308_ != null) { + int i = (Math.max(class258_sub2_308_.anInt8538, class258_sub2.anInt8538)); + if (class299_306_ != class299 && class299_305_ != class299_306_ && class299_306_ instanceof Component264) { + Component264 class299_sub1_sub2_309_ = (Component264) class299_306_; + if (i == class299_sub1_sub2_309_.method2262(65534)) class299_sub1_sub2 = class299_sub1_sub2_309_; + } + if (class299_sub1_sub2 == null) class299_sub1_sub2 = new Component264(this, i); + if (class299_sub1_sub2.method2261(class258_sub2, f, 65534, class258_sub2_308_)) return class299_sub1_sub2; + } + } + if (f < 0.5F) return class299; + return class299_305_; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.SD(" + (class299 != null ? "{...}" : "null") + ',' + (class299_305_ != null ? "{...}" : "null") + ',' + f + ',' + (class299_306_ != null ? "{...}" : "null") + ')')); + } + } + + final void method3677(Canvas canvas) { + try { + aCanvas7575 = null; + anInt7621++; + aLong7636 = 0L; + if (canvas == null || canvas == aCanvas7626) { + aCanvas7575 = aCanvas7626; + aLong7636 = aLong7553; + } else if (aHashtable7577.containsKey(canvas)) { + Long var_long = (Long) aHashtable7577.get(canvas); + aLong7636 = var_long.longValue(); + aCanvas7575 = canvas; + } + if (aCanvas7575 == null || aLong7636 == 0L) throw new RuntimeException(); + anOpenGL7664.setSurface(aLong7636); + method3745((byte) 92); + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, "qo.MF(" + (canvas != null ? "{...}" : "null") + ')'); + } + } + + final void method3801(boolean bool, int i, int i_310_) { + int i_311_ = 57 / ((39 - i_310_) / 52); + anInt7644++; + method3746(bool, i, true, 115); + } + + final int method3667(int i, int i_312_) { + anInt7627++; + return i_312_ ^ i & i_312_; + } + + final void method3707(Rectangle[] rectangles, int i, int i_313_, int i_314_) throws Exception_Sub1 { + try { + method3626(i_313_, i_314_); + anInt7584++; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.UA(" + (rectangles != null ? "{...}" : "null") + ',' + i + ',' + i_313_ + ',' + i_314_ + ')')); + } + } + + static final void method3802(int i, int i_315_, int i_316_, int i_317_, int i_318_, int i_319_, int i_320_) { + anInt7572++; + int i_321_ = ShaderCompilerSub1.anInt6513; + TheoraVideoPlayer.anInt1497 = 0; + int[] is = ShaderProgramSub7.anIntArray6290; + for (int i_322_ = 0; (i_322_ < Component324.anInt2057 + i_321_); i_322_++) { + NpcComposition class79 = null; + DisplayModeManagerContainer58 class318_sub1_sub3_sub3; + if (i_321_ > i_322_) class318_sub1_sub3_sub3 = (InterfaceRenderer.players[is[i_322_]]); + else { + class318_sub1_sub3_sub3 = (((NodeSub22) Component21.aClass356_3654.get(DisplayModeManagerContainer238.anIntArray1233[i_322_ + -i_321_], i_316_ ^ ~0x1775)).npc); + class79 = ((Npc) class318_sub1_sub3_sub3).definition; + if (class79.anIntArray1377 != null) { + class79 = class79.method794((DisplayModeManagerContainer58.aClass170_10209), i_316_ + -3); + if (class79 == null) continue; + } + } + if ((class318_sub1_sub3_sub3.anInt10285 >= 0) && (((class318_sub1_sub3_sub3.anInt10301) == DisplayModeManagerContainer341.anInt6006) || ((Component72.localPlayer.plane) == class318_sub1_sub3_sub3.plane))) { + NodeSub13.method2801(class318_sub1_sub3_sub3.method2426(200), i_318_ >> 1, i_320_, i_319_, i_315_ >> 1, class318_sub1_sub3_sub3, (byte) 100); + if (Component71.anIntArray6062[0] >= 0) { + if ((class318_sub1_sub3_sub3.aString10292) != null && (i_321_ <= i_322_ || NodeBase.anInt7276 == 0 || NodeBase.anInt7276 == 3 || (NodeBase.anInt7276 == 1 && (NodeSub11.method2797(((Player) class318_sub1_sub3_sub3).username, (byte) -63)))) && TheoraVideoPlayer.anInt1497 < DisplayModeManagerContainer74.anInt4814) { + DisplayModeManagerContainer74.anIntArray4819[TheoraVideoPlayer.anInt1497] = ((Component27.aClass143_4962.stringWidth(true, class318_sub1_sub3_sub3.aString10292)) / 2); + DisplayModeManagerContainer74.anIntArray4822[TheoraVideoPlayer.anInt1497] = Component71.anIntArray6062[0]; + DisplayModeManagerContainer74.anIntArray4813[TheoraVideoPlayer.anInt1497] = Component71.anIntArray6062[1]; + DisplayModeManagerContainer74.anIntArray4817[TheoraVideoPlayer.anInt1497] = class318_sub1_sub3_sub3.anInt10201; + DisplayModeManagerContainer74.anIntArray4806[TheoraVideoPlayer.anInt1497] = class318_sub1_sub3_sub3.anInt10234; + DisplayModeManagerContainer74.anIntArray4812[TheoraVideoPlayer.anInt1497] = class318_sub1_sub3_sub3.anInt10264; + DisplayModeManagerContainer74.aStringArray4818[TheoraVideoPlayer.anInt1497] = class318_sub1_sub3_sub3.aString10292; + TheoraVideoPlayer.anInt1497++; + } + int i_323_ = Component71.anIntArray6062[1] + i; + if (!(class318_sub1_sub3_sub3.aBoolean10309) && (OpenGlShader.clientCycle < class318_sub1_sub3_sub3.anInt10223)) { + int i_324_ = -1; + int i_325_ = 1; + if (i_321_ <= i_322_) { + i_324_ = class79.anInt1373; + if (i_324_ == -1) i_324_ = (class318_sub1_sub3_sub3.method2422((byte) 72).anInt2909); + } else { + Player player = (InterfaceRenderer.players[is[i_322_]]); + i_324_ = (class318_sub1_sub3_sub3.method2422((byte) 72).anInt2909); + if (player.aBoolean10554) i_325_ = 2; + } + Component24[] class105s = NodeSub45.aClass105Array7107; + if (i_324_ != -1) { + Component24[] class105s_326_ = ((Component24[]) (Component45.aClass60_4346.get(i_324_, i_316_ ^ ~0x79))); + if (class105s_326_ == null) { + Component170[] class207s = Component170.method1519(Component158.aClass45_322, i_324_, 0); + if (class207s != null) { + class105s_326_ = new Component24[class207s.length]; + for (int i_327_ = 0; class207s.length > i_327_; i_327_++) + class105s_326_[i_327_] = (NodeSub8.toolkit.method3691(class207s[i_327_], true)); + Component45.aClass60_4346.putOne(class105s_326_, i_324_, (byte) -94); + } + } + if (class105s_326_ != null && class105s_326_.length >= 2) class105s = class105s_326_; + } + if (class105s.length <= i_325_) i_325_ = 1; + Component24 class105 = class105s[0]; + Component24 class105_328_ = class105s[i_325_]; + i_323_ -= Math.max((Component27.aClass143_4962.maxAscent), class105.method969()); + int i_329_ = (Component71.anIntArray6062[0] + (i_317_ + -(class105.method971() >> 1))); + int i_330_ = (class105.method971() * class318_sub1_sub3_sub3.anInt10295 / 255); + int i_331_ = class105.method969(); + if (class318_sub1_sub3_sub3.anInt10295 > 0 && i_330_ < 2) i_330_ = 2; + class105.method974(i_329_, i_323_); + NodeSub8.toolkit.T(i_329_, i_323_, i_330_ + i_329_, i_331_ + i_323_); + class105_328_.method974(i_329_, i_323_); + NodeSub8.toolkit.KA(i_317_, i, i_317_ - -i_318_, i_315_ + i); + Component103.method2663(-5590, i_329_, i_329_ + class105.method966(), i_323_, i_323_ + i_331_); + } else i_323_ -= Math.max((Component27.aClass143_4962.maxAscent), NodeSub45.aClass105Array7107[0].method969()); + i_323_ -= 2; + if (!class318_sub1_sub3_sub3.aBoolean10309) { + if (class318_sub1_sub3_sub3.anInt10287 > OpenGlShader.clientCycle) { + Component24 class105 = (DisplayModeManagerContainer199.aClass105Array5857[(class318_sub1_sub3_sub3.aBoolean10226 ? 2 : 0)]); + Component24 class105_332_ = (DisplayModeManagerContainer199.aClass105Array5857[(!class318_sub1_sub3_sub3.aBoolean10226 ? 1 : 3)]); + int i_333_ = -1; + if (class318_sub1_sub3_sub3 instanceof Npc) { + i_333_ = class79.anInt1382; + if (i_333_ == -1) i_333_ = (class318_sub1_sub3_sub3.method2422((byte) 72).anInt2923); + } else i_333_ = (class318_sub1_sub3_sub3.method2422((byte) 72).anInt2923); + if (i_333_ != -1) { + Component24[] class105s = ((Component24[]) ShaderCompilerSub2.aClass60_6517.get(i_333_, -45)); + if (class105s == null) { + Component170[] class207s = Component170.method1519((Component158.aClass45_322), i_333_, 0); + if (class207s != null) { + class105s = new Component24[class207s.length]; + for (int i_334_ = 0; (class207s.length > i_334_); i_334_++) + class105s[i_334_] = (NodeSub8.toolkit.method3691(class207s[i_334_], true)); + ShaderCompilerSub2.aClass60_6517.putOne(class105s, i_333_, (byte) -101); + } + } + if (class105s != null && class105s.length == 4) { + class105_332_ = (class105s[!(class318_sub1_sub3_sub3.aBoolean10226) ? 1 : 3]); + class105 = (class105s[!(class318_sub1_sub3_sub3.aBoolean10226) ? 0 : 2]); + } + } + int i_335_ = (-OpenGlShader.clientCycle + class318_sub1_sub3_sub3.anInt10287); + int i_336_; + if (i_335_ > class318_sub1_sub3_sub3.anInt10227) { + i_335_ -= class318_sub1_sub3_sub3.anInt10227; + int i_337_ = (class318_sub1_sub3_sub3.anInt10271 != 0 ? (class318_sub1_sub3_sub3.anInt10271 * (((class318_sub1_sub3_sub3.anInt10210) - i_335_) / (class318_sub1_sub3_sub3.anInt10271))) : 0); + i_336_ = (class105.method971() * i_337_ / class318_sub1_sub3_sub3.anInt10210); + } else i_336_ = class105.method971(); + int i_338_ = class105.method969(); + i_323_ -= i_338_; + int i_339_ = (Component71.anIntArray6062[0] + (i_317_ + -(class105.method971() >> 1))); + class105.method974(i_339_, i_323_); + NodeSub8.toolkit.T(i_339_, i_323_, i_339_ - -i_336_, i_323_ - -i_338_); + class105_332_.method974(i_339_, i_323_); + NodeSub8.toolkit.KA(i_317_, i, i_318_ + i_317_, i - -i_315_); + Component103.method2663(-5590, i_339_, class105.method966() + i_339_, i_323_, i_338_ + i_323_); + i_323_ -= 2; + } + if (i_322_ < i_321_) { + Player player = ((Player) class318_sub1_sub3_sub3); + if (player.anInt10540 != -1) { + i_323_ -= 25; + Component24 class105 = (Component141.aClass105Array9959[(player.anInt10540)]); + class105.method974((-12 + i_317_ + (Component71.anIntArray6062[0])), i_323_); + Component103.method2663(-5590, i_317_ + (Component71.anIntArray6062[0] + -12), (i_317_ - -Component71.anIntArray6062[0] + (-12 + class105.method966())), i_323_, i_323_ + class105.method980()); + i_323_ -= 2; + } + if (player.anInt10522 != -1) { + i_323_ -= 25; + Component24 class105 = (Component235.aClass105Array3378[(player.anInt10522)]); + class105.method974((-12 + i_317_ + (Component71.anIntArray6062[0])), i_323_); + Component103.method2663(-5590, (-12 + Component71.anIntArray6062[0] + i_317_), (Component71.anIntArray6062[0] + i_317_ - (12 + -class105.method966())), i_323_, i_323_ - -class105.method980()); + i_323_ -= 2; + } + } else if (class79.anInt1375 >= 0 && (class79.anInt1375 < Component235.aClass105Array3378.length)) { + Component24 class105 = (Component235.aClass105Array3378[class79.anInt1375]); + i_323_ -= 25; + class105.method974((i_317_ + (Component71.anIntArray6062[0]) + -(class105.method971() >> 1)), i_323_); + Component103.method2663(-5590, (Component71.anIntArray6062[0] + (i_317_ - (class105.method971() >> 1))), (Component71.anIntArray6062[0] + (i_317_ - (class105.method971() >> 1)) + class105.method966()), i_323_, class105.method980() + i_323_); + i_323_ -= 2; + } + } + if (class318_sub1_sub3_sub3 instanceof Player) { + if (i_322_ >= 0) { + int i_340_ = 0; + Component114[] class302s = NodeSub27.aClass302Array6897; + for (int i_341_ = 0; (i_341_ < class302s.length); i_341_++) { + Component114 class302 = class302s[i_341_]; + if (class302 != null && class302.anInt3840 == 10 && (is[i_322_] == class302.anInt3833)) { + Component24 class105 = (Component379.aClass105Array5933[class302.anInt3831]); + if (i_340_ < class105.method969()) i_340_ = class105.method969(); + class105.method974(-12 + ((Component71.anIntArray6062[0]) + i_317_), (i_323_ + -class105.method969())); + Component103.method2663(-5590, -12 + (i_317_ - -(Component71.anIntArray6062[0])), (i_317_ + (Component71.anIntArray6062[0] + -12 - -class105.method966())), -class105.method969() + i_323_, (i_323_ + -class105.method969() - -class105.method980())); + } + } + if (i_340_ > 0) i_323_ -= 2 + i_340_; + } + } else { + int i_342_ = 0; + Component114[] class302s = NodeSub27.aClass302Array6897; + for (int i_343_ = 0; class302s.length > i_343_; i_343_++) { + Component114 class302 = class302s[i_343_]; + if (class302 != null && class302.anInt3840 == 1 && (class302.anInt3833 == DisplayModeManagerContainer238.anIntArray1233[i_322_ - i_321_])) { + Component24 class105 = (Component379.aClass105Array5933[class302.anInt3831]); + if (class105.method969() > i_342_) i_342_ = class105.method969(); + if (OpenGlShader.clientCycle % 20 < 10) { + class105.method974((-12 + i_317_ + Component71.anIntArray6062[0]), i_323_ + -class105.method969()); + Component103.method2663(-5590, (-12 + i_317_ - -Component71.anIntArray6062[0]), (Component71.anIntArray6062[0] + (i_317_ + -12) - -class105.method966()), -class105.method969() + i_323_, (-class105.method969() + (i_323_ - -class105.method980()))); + } + } + } + if (i_342_ > 0) i_323_ -= 2 + i_342_; + } + int i_344_ = 0; + for (/**/; i_344_ < Component72.anInt1905; i_344_++) { + int i_345_ = (class318_sub1_sub3_sub3.anIntArray10219[i_344_]); + int i_346_ = (class318_sub1_sub3_sub3.anIntArray10259[i_344_]); + Component82 class31 = null; + int i_347_ = 0; + if (i_346_ >= 0) { + if (i_345_ <= OpenGlShader.clientCycle) continue; + class31 = (DisplayModeManagerContainer306.aClass219_4782.method1601(46, (class318_sub1_sub3_sub3.anIntArray10259[i_344_]))); + i_347_ = class31.anInt434; + } else if (i_345_ < 0) continue; + int i_348_ = (class318_sub1_sub3_sub3.anIntArray10304[i_344_]); + Component82 class31_349_ = null; + if (i_348_ >= 0) class31_349_ = DisplayModeManagerContainer306.aClass219_4782.method1601(46, i_348_); + if (-i_347_ + i_345_ <= OpenGlShader.clientCycle) { + int i_350_ = (class318_sub1_sub3_sub3.anIntArray10303[i_344_]); + if (i_350_ >= 0) { + class318_sub1_sub3_sub3.anInt10223 = 300 + OpenGlShader.clientCycle; + class318_sub1_sub3_sub3.anInt10295 = i_350_; + class318_sub1_sub3_sub3.anIntArray10303[i_344_] = -1; + } + if (class31 == null) class318_sub1_sub3_sub3.anIntArray10219[i_344_] = -1; + else { + int i_351_ = (class318_sub1_sub3_sub3.method2426(200) / 2); + NodeSub13.method2801(i_351_, i_318_ >> 1, i_320_, i_319_, i_315_ >> 1, class318_sub1_sub3_sub3, (byte) -107); + if (Component71.anIntArray6062[0] > -1) { + Component71.anIntArray6062[0] += Component151.anIntArray1786[i_344_]; + Component71.anIntArray6062[1] += KeyStoreLoader.anIntArray1636[i_344_]; + Object object = null; + Object object_352_ = null; + Object object_353_ = null; + Object object_354_ = null; + int i_355_ = 0; + int i_356_ = 0; + int i_357_ = 0; + int i_358_ = 0; + int i_359_ = 0; + int i_360_ = 0; + int i_361_ = 0; + int i_362_ = 0; + Component24 class105 = null; + Component24 class105_363_ = null; + Component24 class105_364_ = null; + Component24 class105_365_ = null; + int i_366_ = 0; + int i_367_ = 0; + int i_368_ = 0; + int i_369_ = 0; + int i_370_ = 0; + int i_371_ = 0; + int i_372_ = 0; + int i_373_ = 0; + int i_374_ = 0; + Component24 class105_375_ = class31.method327((NodeSub8.toolkit), (byte) -96); + if (class105_375_ != null) { + i_355_ = class105_375_.method971(); + int i_376_ = class105_375_.method969(); + class105_375_.method984(DisplayModeManagerContainer346.anIntArray2062); + if (i_374_ < i_376_) i_374_ = i_376_; + i_359_ = DisplayModeManagerContainer346.anIntArray2062[0]; + } + Component24 class105_377_ = class31.method331((NodeSub8.toolkit), (byte) -75); + if (class105_377_ != null) { + i_356_ = class105_377_.method971(); + int i_378_ = class105_377_.method969(); + class105_377_.method984(DisplayModeManagerContainer346.anIntArray2062); + if (i_378_ > i_374_) i_374_ = i_378_; + i_360_ = DisplayModeManagerContainer346.anIntArray2062[0]; + } + Component24 class105_379_ = class31.method324((NodeSub8.toolkit), true); + if (class105_379_ != null) { + i_357_ = class105_379_.method971(); + int i_380_ = class105_379_.method969(); + if (i_374_ < i_380_) i_374_ = i_380_; + class105_379_.method984(DisplayModeManagerContainer346.anIntArray2062); + i_361_ = DisplayModeManagerContainer346.anIntArray2062[0]; + } + Component24 class105_381_ = class31.method325((NodeSub8.toolkit), 105); + if (class105_381_ != null) { + i_358_ = class105_381_.method971(); + int i_382_ = class105_381_.method969(); + class105_381_.method984(DisplayModeManagerContainer346.anIntArray2062); + if (i_374_ < i_382_) i_374_ = i_382_; + i_362_ = DisplayModeManagerContainer346.anIntArray2062[0]; + } + if (class31_349_ != null) { + class105 = (class31_349_.method327(NodeSub8.toolkit, (byte) 110)); + if (class105 != null) { + i_366_ = class105.method971(); + int i_383_ = class105.method969(); + if (i_383_ > i_374_) i_374_ = i_383_; + class105.method984(DisplayModeManagerContainer346.anIntArray2062); + i_370_ = DisplayModeManagerContainer346.anIntArray2062[0]; + } + class105_363_ = (class31_349_.method331(NodeSub8.toolkit, (byte) -80)); + if (class105_363_ != null) { + i_367_ = class105_363_.method971(); + int i_384_ = class105_363_.method969(); + if (i_384_ > i_374_) i_374_ = i_384_; + class105_363_.method984(DisplayModeManagerContainer346.anIntArray2062); + i_371_ = DisplayModeManagerContainer346.anIntArray2062[0]; + } + class105_364_ = (class31_349_.method324(NodeSub8.toolkit, true)); + if (class105_364_ != null) { + i_368_ = class105_364_.method971(); + int i_385_ = class105_364_.method969(); + class105_364_.method984(DisplayModeManagerContainer346.anIntArray2062); + if (i_385_ > i_374_) i_374_ = i_385_; + i_372_ = DisplayModeManagerContainer346.anIntArray2062[0]; + } + class105_365_ = (class31_349_.method325(NodeSub8.toolkit, i_316_ ^ 0x35)); + if (class105_365_ != null) { + i_369_ = class105_365_.method971(); + int i_386_ = class105_365_.method969(); + if (i_386_ > i_374_) i_374_ = i_386_; + class105_365_.method984(DisplayModeManagerContainer346.anIntArray2062); + i_373_ = DisplayModeManagerContainer346.anIntArray2062[0]; + } + } + BitmapFont class324 = Component49.aClass324_4684; + BitmapFont class324_387_ = Component49.aClass324_4684; + Component184 class143 = AbstractGlTextureSub1.aClass143_8527; + int i_388_ = class31.anInt435; + Component184 class143_389_ = AbstractGlTextureSub1.aClass143_8527; + if (i_388_ >= 0) { + BitmapFont class324_390_ = DisplayModeManagerContainer194.method232((NodeSub8.toolkit), (byte) -53, true, i_388_); + Component184 class143_391_ = (Component137.method1151(-25411, NodeSub8.toolkit, i_388_)); + if (class324_390_ != null && class143_391_ != null) { + class324 = class324_390_; + class143 = class143_391_; + } + } + if (class31_349_ != null) { + i_388_ = (class31_349_.anInt435); + if (i_388_ >= 0) { + BitmapFont class324_392_ = (DisplayModeManagerContainer194.method232(NodeSub8.toolkit, (byte) -53, true, i_388_)); + Component184 class143_393_ = (Component137.method1151(-25411, NodeSub8.toolkit, i_388_)); + if (class324_392_ != null && class143_393_ != null) { + class143_389_ = class143_393_; + class324_387_ = class324_392_; + } + } + } + Object object_394_ = null; + String string = null; + boolean bool = false; + int i_395_ = 0; + String string_396_ = (class31.method333((class318_sub1_sub3_sub3.anIntArray10229[i_344_]), 0)); + int i_397_ = class143.stringWidth(true, string_396_); + if (class31_349_ != null) { + string = (class31_349_.method333((class318_sub1_sub3_sub3.anIntArray10284[i_344_]), 0)); + i_395_ = class143_389_.stringWidth(true, string); + } + int i_398_ = 0; + if (i_356_ > 0) i_398_ = i_397_ / i_356_ + 1; + int i_399_ = 0; + if (class31_349_ != null && i_367_ > 0) i_399_ = i_395_ / i_367_ - -1; + int i_400_ = 0; + int i_401_ = i_400_; + if (i_355_ > 0) i_400_ += i_355_; + i_400_ += 2; + int i_402_ = i_400_; + if (i_357_ > 0) i_400_ += i_357_; + int i_403_ = i_400_; + int i_404_ = i_400_; + if (i_356_ <= 0) i_400_ += i_397_; + else { + int i_405_ = i_356_ * i_398_; + i_404_ += (i_405_ + -i_397_) / 2; + i_400_ += i_405_; + } + int i_406_ = i_400_; + if (i_358_ > 0) i_400_ += i_358_; + int i_407_ = 0; + int i_408_ = 0; + int i_409_ = 0; + int i_410_ = 0; + int i_411_ = 0; + if (class31_349_ != null) { + i_400_ += 2; + i_407_ = i_400_; + if (i_366_ > 0) i_400_ += i_366_; + i_400_ += 2; + i_408_ = i_400_; + if (i_368_ > 0) i_400_ += i_368_; + i_411_ = i_400_; + i_409_ = i_400_; + if (i_367_ > 0) { + int i_412_ = i_399_ * i_367_; + i_411_ += (i_412_ - i_395_) / 2; + i_400_ += i_412_; + } else i_400_ += i_395_; + i_410_ = i_400_; + if (i_369_ > 0) i_400_ += i_369_; + } + int i_413_ = (-OpenGlShader.clientCycle + (class318_sub1_sub3_sub3.anIntArray10219[i_344_])); + int i_414_ = (-(class31.anInt424 * i_413_ / class31.anInt434) + class31.anInt424); + int i_415_ = (-class31.anInt422 + (class31.anInt422 * i_413_ / class31.anInt434)); + int i_416_ = (i_317_ + Component71.anIntArray6062[0] + -(i_400_ >> 1) - -i_414_); + int i_417_ = -12 + (i + ((Component71.anIntArray6062[1]) - -i_415_)); + int i_418_ = i_417_; + int i_419_ = i_417_ + i_374_; + int i_420_ = 15 + (i_417_ - -(class31.anInt420)); + int i_421_ = (i_420_ + -class143.maxAscent); + int i_422_ = (i_420_ - -class143.descent); + if (i_418_ > i_421_) i_418_ = i_421_; + if (i_419_ < i_422_) i_419_ = i_422_; + int i_423_ = 0; + if (class31_349_ != null) { + i_423_ = 15 + (i_417_ - -(class31_349_.anInt420)); + int i_424_ = (-(class143_389_.maxAscent) + i_423_); + if (i_424_ < i_418_) i_418_ = i_424_; + int i_425_ = ((class143_389_.descent) + i_423_); + if (i_419_ < i_425_) i_419_ = i_425_; + } + int i_426_ = 255; + if (class31.anInt426 >= 0) i_426_ = ((i_413_ << 8) / (-class31.anInt426 + (class31.anInt434))); + if (i_426_ >= 0 && i_426_ < 255) { + int i_427_ = i_426_ << 24; + int i_428_ = 0xffffff | i_427_; + if (class105_375_ != null) class105_375_.method964((-i_359_ + i_401_ + i_416_), i_417_, 0, i_428_, 1); + if (class105_379_ != null) class105_379_.method964((-i_361_ + i_402_ + i_416_), i_417_, 0, i_428_, 1); + if (class105_377_ != null) { + for (int i_429_ = 0; (i_398_ > i_429_); i_429_++) + class105_377_.method964((i_403_ + (i_416_ + (-i_360_ - -(i_356_ * i_429_)))), i_417_, 0, i_428_, 1); + } + if (class105_381_ != null) class105_381_.method964(i_406_ + i_416_ + -i_362_, i_417_, 0, i_428_, 1); + class324.drawText(string_396_, (class31.anInt444 | i_427_), i_420_, i_404_ + i_416_, 0, -124); + if (class31_349_ != null) { + if (class105 != null) class105.method964((i_416_ + i_407_ - i_370_), i_417_, 0, i_428_, 1); + if (class105_364_ != null) class105_364_.method964(-i_372_ + (i_408_ + i_416_), i_417_, 0, i_428_, 1); + if (class105_363_ != null) { + for (int i_430_ = 0; i_430_ < i_399_; i_430_++) + class105_363_.method964((i_430_ * i_367_ + i_416_ + (i_409_ + -i_371_)), i_417_, 0, i_428_, 1); + } + if (class105_365_ != null) class105_365_.method964((i_416_ - -i_410_ + -i_373_), i_417_, 0, i_428_, 1); + class324_387_.drawText(string, (i_427_ | (class31_349_.anInt444)), i_423_, i_416_ + i_411_, 0, -125); + } + } else { + if (class105_375_ != null) class105_375_.method974(i_416_ - (-i_401_ + i_359_), i_417_); + if (class105_379_ != null) class105_379_.method974(i_416_ - (-i_402_ - -i_361_), i_417_); + if (class105_377_ != null) { + for (int i_431_ = 0; i_431_ < i_398_; i_431_++) + class105_377_.method974((i_403_ + i_416_ - (i_360_ - i_431_ * i_356_)), i_417_); + } + if (class105_381_ != null) class105_381_.method974(i_406_ + (i_416_ + -i_362_), i_417_); + class324.drawText(string_396_, (class31.anInt444 | ~0xffffff), i_420_, i_416_ + i_404_, 0, i_316_ ^ ~0x74); + if (class31_349_ != null) { + if (class105 != null) class105.method974((-i_370_ + i_416_ + i_407_), i_417_); + if (class105_364_ != null) class105_364_.method974(i_408_ + (i_416_ + -i_372_), i_417_); + if (class105_363_ != null) { + for (int i_432_ = 0; i_399_ > i_432_; i_432_++) + class105_363_.method974((i_432_ * i_367_ + (-i_371_ + i_416_ + i_409_)), i_417_); + } + if (class105_365_ != null) class105_365_.method974(i_410_ + i_416_ - i_373_, i_417_); + class324_387_.drawText(string, (class31_349_.anInt444) | ~0xffffff, i_423_, i_411_ + i_416_, 0, -119); + } + } + Component103.method2663(-5590, i_416_, i_416_ + i_400_, i_418_, 1 + i_419_); + } + } + } + } + } + } + } + for (int i_433_ = 0; i_433_ < CacheStore.anInt669; i_433_++) { + int i_434_ = AbstractGlTextureSub4.anIntArray8557[i_433_]; + DisplayModeManagerContainer58 class318_sub1_sub3_sub3; + if (i_434_ >= 2048) class318_sub1_sub3_sub3 = (((NodeSub22) Component21.aClass356_3654.get(-2048 + i_434_, -6008)).npc); + else class318_sub1_sub3_sub3 = InterfaceRenderer.players[i_434_]; + int i_435_ = DisplayModeManagerContainer259.anIntArray3432[i_433_]; + DisplayModeManagerContainer58 class318_sub1_sub3_sub3_436_; + if (i_435_ >= 2048) class318_sub1_sub3_sub3_436_ = (((NodeSub22) Component21.aClass356_3654.get(-2048 + i_435_, -6008)).npc); + else class318_sub1_sub3_sub3_436_ = InterfaceRenderer.players[i_435_]; + ImageCache.method1430(--class318_sub1_sub3_sub3.anInt10261, (byte) 119, i_320_, i_315_, i, i_319_, i_318_, i_317_, class318_sub1_sub3_sub3_436_, class318_sub1_sub3_sub3); + } + int i_437_ = i_316_ + (Component27.aClass143_4962.descent + Component27.aClass143_4962.maxAscent); + for (int i_438_ = 0; i_438_ < TheoraVideoPlayer.anInt1497; i_438_++) { + int i_439_ = DisplayModeManagerContainer74.anIntArray4822[i_438_]; + int i_440_ = DisplayModeManagerContainer74.anIntArray4813[i_438_]; + int i_441_ = DisplayModeManagerContainer74.anIntArray4819[i_438_]; + boolean bool = true; + while (bool) { + bool = false; + for (int i_442_ = 0; i_438_ > i_442_; i_442_++) { + if (i_440_ - -2 > DisplayModeManagerContainer74.anIntArray4813[i_442_] + -i_437_ && (-i_437_ + i_440_ < 2 + DisplayModeManagerContainer74.anIntArray4813[i_442_]) && ((DisplayModeManagerContainer74.anIntArray4822[i_442_] - -DisplayModeManagerContainer74.anIntArray4819[i_442_]) > i_439_ + -i_441_) && ((-DisplayModeManagerContainer74.anIntArray4819[i_442_] + DisplayModeManagerContainer74.anIntArray4822[i_442_]) < i_439_ + i_441_) && (-i_437_ + DisplayModeManagerContainer74.anIntArray4813[i_442_] < i_440_)) { + i_440_ = -i_437_ + DisplayModeManagerContainer74.anIntArray4813[i_442_]; + bool = true; + } + } + } + DisplayModeManagerContainer74.anIntArray4813[i_438_] = i_440_; + String string = DisplayModeManagerContainer74.aStringArray4818[i_438_]; + int i_443_ = Component27.aClass143_4962.stringWidth(true, string); + int i_444_ = i_439_ + i_317_; + int i_445_ = -Component27.aClass143_4962.maxAscent + i_440_ + i; + int i_446_ = i_444_ - -i_443_; + int i_447_ = i_440_ + i - -Component27.aClass143_4962.descent; + if (DefinitionSub31.anInt9408 == 0) { + int i_448_ = 16776960; + if (DisplayModeManagerContainer74.anIntArray4817[i_438_] < 6) i_448_ = (Component95.anIntArray1757[DisplayModeManagerContainer74.anIntArray4817[i_438_]]); + if (DisplayModeManagerContainer74.anIntArray4817[i_438_] == 6) i_448_ = (DisplayModeManagerContainer341.anInt6006 % 20 >= 10 ? 16776960 : 16711680); + if (DisplayModeManagerContainer74.anIntArray4817[i_438_] == 7) i_448_ = DisplayModeManagerContainer341.anInt6006 % 20 < 10 ? 255 : 65535; + if (DisplayModeManagerContainer74.anIntArray4817[i_438_] == 8) i_448_ = (DisplayModeManagerContainer341.anInt6006 % 20 >= 10 ? 8454016 : 45056); + if (DisplayModeManagerContainer74.anIntArray4817[i_438_] == 9) { + int i_449_ = -DisplayModeManagerContainer74.anIntArray4812[i_438_] + 150; + if (i_449_ < 50) i_448_ = 1280 * i_449_ + 16711680; + else if (i_449_ < 100) i_448_ = -(327680 * i_449_) + 16384000 + 16776960; + else if (i_449_ < 150) i_448_ = 5 * (-100 + i_449_) + 65280; + } + if (DisplayModeManagerContainer74.anIntArray4817[i_438_] == 10) { + int i_450_ = 150 - DisplayModeManagerContainer74.anIntArray4812[i_438_]; + if (i_450_ >= 50) { + if (i_450_ >= 100) { + if (i_450_ < 150) i_448_ = (-(5 * i_450_) - -500 + 327680 * i_450_ - 32767745); + } else i_448_ = 33095935 + -(327680 * i_450_); + } else i_448_ = 16711680 + 5 * i_450_; + } + if (DisplayModeManagerContainer74.anIntArray4817[i_438_] == 11) { + int i_451_ = 150 - DisplayModeManagerContainer74.anIntArray4812[i_438_]; + if (i_451_ >= 50) { + if (i_451_ < 100) i_448_ = 327685 * (-50 + i_451_) + 65280; + else if (i_451_ < 150) i_448_ = 16777215 + -(327680 * (i_451_ - 100)); + } else i_448_ = 16777215 + -(i_451_ * 327685); + } + int i_452_ = ~0xffffff | i_448_; + if (DisplayModeManagerContainer74.anIntArray4806[i_438_] == 0) { + NodeList.aClass324_3326.drawTextCentred((byte) 115, i_439_ + i_317_, i_452_, string, -16777216, i_440_ + i); + i_444_ -= i_443_ >> 1; + i_446_ -= i_443_ >> 1; + } + if (DisplayModeManagerContainer74.anIntArray4806[i_438_] == 1) { + i_446_ -= i_443_ >> 1; + i_444_ -= i_443_ >> 1; + NodeList.aClass324_3326.method2574(i_452_, i_440_ + i, string, i_317_ - -i_439_, -16777216, DisplayModeManagerContainer341.anInt6006, false); + i_447_ += 5; + i_445_ -= 5; + } + if (DisplayModeManagerContainer74.anIntArray4806[i_438_] == 2) { + i_447_ += 5; + i_446_ -= -5 + (i_443_ >> 1); + NodeList.aClass324_3326.method2581(string, i_452_, (DisplayModeManagerContainer341.anInt6006), i_440_ + i, (byte) -112, -16777216, i_317_ - -i_439_); + i_445_ -= 5; + i_444_ -= (i_443_ >> 1) - -5; + } + if (DisplayModeManagerContainer74.anIntArray4806[i_438_] == 3) { + i_446_ -= i_443_ >> 1; + i_444_ -= i_443_ >> 1; + i_447_ += 7; + NodeList.aClass324_3326.method2577(DisplayModeManagerContainer341.anInt6006, i + i_440_, string, i_452_, -16777216, 150 + -DisplayModeManagerContainer74.anIntArray4812[i_438_], i_439_ + i_317_, -20509); + i_445_ -= 7; + } + if (DisplayModeManagerContainer74.anIntArray4806[i_438_] == 4) { + int i_453_ = ((150 + -DisplayModeManagerContainer74.anIntArray4812[i_438_]) * (Component27.aClass143_4962.stringWidth(true, string) + 100) / 150); + NodeSub8.toolkit.T(i_317_ - (-i_439_ - -50), i, 50 + (i_439_ + i_317_), i - -i_315_); + i_444_ += 50 - i_453_; + i_446_ += -i_453_ + 50; + NodeList.aClass324_3326.drawText(string, i_452_, i + i_440_, (i_317_ - (-i_439_ - 50) - i_453_), -16777216, i_316_ + -125); + NodeSub8.toolkit.KA(i_317_, i, i_318_ + i_317_, i + i_315_); + } + if (DisplayModeManagerContainer74.anIntArray4806[i_438_] == 5) { + int i_454_ = 150 + -DisplayModeManagerContainer74.anIntArray4812[i_438_]; + int i_455_ = 0; + if (i_454_ >= 25) { + if (i_454_ > 125) i_455_ = i_454_ + -125; + } else i_455_ = i_454_ - 25; + int i_456_ = (Component27.aClass143_4962.descent + Component27.aClass143_4962.maxAscent); + NodeSub8.toolkit.T(i_317_, i_440_ + i - (i_456_ - -1), i_318_ + i_317_, 5 + i_440_ + i); + i_444_ -= i_443_ >> 1; + i_447_ += i_455_; + NodeList.aClass324_3326.drawTextCentred((byte) -105, i_439_ + i_317_, i_452_, string, -16777216, i_455_ + (i + i_440_)); + i_445_ += i_455_; + i_446_ -= i_443_ >> 1; + NodeSub8.toolkit.KA(i_317_, i, i_318_ + i_317_, i_315_ + i); + } + } else { + i_444_ -= i_443_ >> 1; + i_446_ -= i_443_ >> 1; + NodeList.aClass324_3326.drawTextCentred((byte) 118, i_439_ + i_317_, -256, string, -16777216, i_440_ + i); + } + Component103.method2663(i_316_ + -5592, i_444_, 1 + i_446_, i_445_, 1 + i_447_); + } + } + + private final void method3803(int i) { + aFloat7824 = -aFloat7786 + (float) (anInt7814 - this.anInt7813); + anInt7639++; + this.aFloat7792 = aFloat7824 - aFloat7857 * (float) this.anInt7782; + if ((float) this.anInt7826 > this.aFloat7792) this.aFloat7792 = (float) this.anInt7826; + OpenGL.glFogf(2915, this.aFloat7792); + OpenGL.glFogf(2916, aFloat7824); + InputStream_Sub2.aFloatArray84[0] = ((float) GpsOverlay.bitwiseAnd(i, this.anInt7856) / 1.671168E7F); + InputStream_Sub2.aFloatArray84[1] = ((float) GpsOverlay.bitwiseAnd(this.anInt7856, 65280) / 65280.0F); + InputStream_Sub2.aFloatArray84[2] = ((float) GpsOverlay.bitwiseAnd(this.anInt7856, 255) / 255.0F); + OpenGL.glFogfv(2918, InputStream_Sub2.aFloatArray84, 0); + } + + final void method3804(boolean bool, byte i) { + if (!bool == aBoolean7805) { + aBoolean7805 = bool; + method3768((byte) -117); + } + if (i < -56) anInt7564++; + } + + final void method3626(int i, int i_457_) throws Exception_Sub1 { + try { + anOpenGL7664.swapBuffers(); + } catch (Exception exception) { + /* empty */ + } + anInt7624++; + } + + final void f(int i, int i_458_) { + anInt7606++; + if (i != this.anInt7826 || anInt7814 != i_458_) { + this.anInt7826 = i; + anInt7814 = i_458_; + method3806(98); + method3803(16711680); + if (anInt7865 == 3) method3747((byte) -63); + else if (anInt7865 == 2) method3730((byte) 121); + } + } + + final void method3658(int i, int i_459_, int i_460_, int i_461_) { + aClass18_7720.method275(i_460_, i, i_461_, i_459_, -1); + anInt7651++; + } + + final void method3805(int i, Interface11 interface11) { + try { + anInt7697++; + if (anInt7738 < 0 || interface11 != anInterface11Array7741[anInt7738]) throw new RuntimeException(); + anInterface11Array7741[anInt7738--] = null; + interface11.method45((byte) -47); + if (i == 8387) { + if (anInt7738 < 0) anInterface11_7745 = null; + else { + anInterface11_7745 = anInterface11Array7741[anInt7738]; + anInterface11_7745.method49(-27141); + } + } + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.CA(" + i + ',' + (interface11 != null ? "{...}" : "null") + ')')); + } + } + + final void method3631(int i) { + anInt7520++; + if (i != 1) throw new IllegalArgumentException(""); + } + + final Interface3 method3665(int i, int i_462_) { + anInt7561++; + return null; + } + + private final void method3806(int i) { + anInt7614++; + float[] fs = aFloatArray7779; + float f = ((float) (this.anInt7826 * -this.anInt7853) / (float) this.anInt7771); + float f_463_ = ((float) ((this.anInt7688 - this.anInt7853) * this.anInt7826) / (float) this.anInt7771); + if (i < 28) aClass258_Sub3_Sub1_7776 = null; + float f_464_ = ((float) (this.anInt7826 * this.anInt7810) / (float) this.anInt7794); + float f_465_ = ((float) ((this.anInt7810 + -this.anInt7641) * this.anInt7826) / (float) this.anInt7794); + if (f_463_ == f || f_465_ == f_464_) { + fs[13] = 0.0F; + fs[15] = 1.0F; + fs[3] = 0.0F; + fs[11] = 0.0F; + fs[12] = 0.0F; + fs[4] = 0.0F; + fs[6] = 0.0F; + fs[8] = 0.0F; + fs[7] = 0.0F; + fs[1] = 0.0F; + fs[10] = 1.0F; + fs[14] = 0.0F; + fs[5] = 1.0F; + fs[0] = 1.0F; + fs[9] = 0.0F; + fs[2] = 0.0F; + } else { + float f_466_ = 2.0F * (float) this.anInt7826; + fs[1] = 0.0F; + fs[5] = f_466_ / (f_464_ - f_465_); + fs[9] = (f_464_ + f_465_) / (-f_465_ + f_464_); + fs[3] = 0.0F; + fs[4] = 0.0F; + fs[8] = (f_463_ + f) / (f_463_ - f); + fs[7] = 0.0F; + fs[14] = aFloat7842 = (-((float) anInt7814 * f_466_) / (float) (-this.anInt7826 + anInt7814)); + fs[2] = 0.0F; + fs[11] = -1.0F; + fs[15] = 0.0F; + fs[10] = aFloat7854 = ((float) -(anInt7814 - -this.anInt7826) / (float) (-this.anInt7826 + anInt7814)); + fs[12] = 0.0F; + fs[0] = f_466_ / (-f + f_463_); + fs[13] = 0.0F; + fs[6] = 0.0F; + } + method3777(-24051); + } + + final void method3633() { + anInt7692++; + OpenGL.glFinish(); + } + + final Component24 method3691(Component170 class207, boolean bool) { + try { + anInt7657++; + int[] is = new int[(class207.anInt2702 * class207.anInt2696)]; + int i = 0; + int i_467_ = 0; + if (class207.aByteArray2695 == null) { + for (int i_470_ = 0; class207.anInt2696 > i_470_; i_470_++) { + for (int i_471_ = 0; (class207.anInt2702 > i_471_); i_471_++) { + int i_472_ = (class207.anIntArray2697[0xff & (class207.aByteArray2699[i++])]); + is[i_467_++] = i_472_ == 0 ? 0 : Component224.bitwiseOr(-16777216, i_472_); + } + } + } else { + for (int i_468_ = 0; class207.anInt2696 > i_468_; i_468_++) { + for (int i_469_ = 0; (i_469_ < class207.anInt2702); i_469_++) { + is[i_467_++] = (Component224.bitwiseOr((class207.aByteArray2695[i] << 24), (class207.anIntArray2697[GpsOverlay.bitwiseAnd((class207.aByteArray2699[i]), 255)]))); + i++; + } + } + } + Component24 class105 = this.method3662(class207.anInt2702, is, (byte) 94, 0, class207.anInt2702, class207.anInt2696); + class105.method985(class207.anInt2703, class207.anInt2700, class207.anInt2698, class207.anInt2701); + return class105; + } catch (RuntimeException runtimeexception) { + throw NpcDefinition.wrapThrowable(runtimeexception, ("qo.GF(" + (class207 != null ? "{...}" : "null") + ',' + bool + ')')); + } + } + + final void method3807(boolean bool, int i) { + if (i != 2) anInt7814 = -59; + anInt7517++; + if (!bool != !aBoolean7801) { + aBoolean7801 = bool; + method3732(-87); + anInt7765 &= ~0x1f; + } + } + + final void method3808(int i, int i_473_) { + InputStream_Sub2.aFloatArray84[2] = (float) GpsOverlay.bitwiseAnd(i, 255) / 255.0F; + if (i_473_ <= 116) this.anInt7771 = 76; + InputStream_Sub2.aFloatArray84[3] = (float) (i >>> 24) / 255.0F; + InputStream_Sub2.aFloatArray84[1] = (float) GpsOverlay.bitwiseAnd(i, 65280) / 65280.0F; + anInt7659++; + InputStream_Sub2.aFloatArray84[0] = (float) GpsOverlay.bitwiseAnd(16711680, i) / 1.671168E7F; + OpenGL.glTexEnvfv(8960, 8705, InputStream_Sub2.aFloatArray84, 0); + } + + final int[] ShaderImpl(int i, int i_474_, int i_475_, int i_476_) { + anInt7622++; + int[] is = new int[i_475_ * i_476_]; + for (int i_477_ = 0; i_476_ > i_477_; i_477_++) + OpenGL.glReadPixelsi(i, (-i_474_ + this.anInt7641 + -i_477_), i_475_, 1, 32993, this.anInt7812, is, i_475_ * i_477_); + return is; + } + + private final void method3809(boolean bool) { + OpenGL.glViewport(anInt7770, anInt7867, this.anInt7688, this.anInt7641); + anInt7718++; + if (bool != true) this.aClass64_Sub3_7780 = null; + } + + final boolean method3699() { + anInt7700++; + return aBoolean7843 && (!method3666() || aBoolean7822); + } + + final synchronized void method3810(int i, int i_478_, int i_479_) { + if (i_479_ < -57) { + anInt7677++; + NodeSub35 class348_sub35 = new NodeSub35(i_478_); + class348_sub35.key = i; + aClass262_7754.addTail(class348_sub35, -20180); + } + } + + private final void method3811(byte i) { + anInt7690++; + if (i == 11) { + if (anInt7855 >= anInt7868 && anInt7773 <= anInt7787) OpenGL.glScissor(anInt7770 + anInt7868, (anInt7867 + this.anInt7641 - anInt7787), -anInt7868 + anInt7855, -anInt7773 + anInt7787); + else OpenGL.glScissor(0, 0, 0, 0); + } + } + + final boolean method3708() { + anInt7603++; + return false; + } + + static { + aClass351_7554 = new StringCache(52, 4); + aClass351_7715 = new StringCache(58, 4); + anInt7722 = 0; + } +} diff --git a/client/toolkit/gl/Interface4Impl.java b/client/toolkit/gl/Interface4Impl.java new file mode 100644 index 000000000..b03afbc64 --- /dev/null +++ b/client/toolkit/gl/Interface4Impl.java @@ -0,0 +1,31 @@ +/* Interface4Impl - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class Interface4Impl +/** + * RENAMED from `Interface4Impl` (JODE-obfuscated). + * Evidence: implements Interface4; 2 native methods + */ implements Interface4 { + j aJ4732; + DualToolkit aXa4733; + private long aLong4734 = 0L; + + public final void method14(int i, int i_0_, int i_1_, int i_2_, int i_3_, int i_4_, boolean bool, boolean bool_5_) { + Z(aLong4734, this.aJ4732.nativeid, this.aXa4733.nativeid, i, i_0_, i_1_, i_2_, i_3_, i_4_, bool, bool_5_); + } + + private final native void X(long l, long l_6_, long l_7_, int i, int i_8_, int i_9_, int i_10_, int i_11_, int i_12_, boolean bool, boolean bool_13_); + + private final native void Z(long l, long l_14_, long l_15_, int i, int i_16_, int i_17_, int i_18_, int i_19_, int i_20_, boolean bool, boolean bool_21_); + + public final void method15(int i, int i_22_, int i_23_, int i_24_, int i_25_, int i_26_, boolean bool, boolean bool_27_) { + X(aLong4734, this.aJ4732.nativeid, this.aXa4733.nativeid, i, i_22_, i_23_, i_24_, i_25_, i_26_, bool, bool_27_); + } + + Interface4Impl(OpenGLToolkit var_oa, j var_j, DualToolkit var_xa) { + aLong4734 = var_oa.nativeid; + this.aJ4732 = var_j; + this.aXa4733 = var_xa; + } +} diff --git a/client/toolkit/gl/OpenGLToolkit.java b/client/toolkit/gl/OpenGLToolkit.java new file mode 100644 index 000000000..4c5b612a6 --- /dev/null +++ b/client/toolkit/gl/OpenGLToolkit.java @@ -0,0 +1,618 @@ +/* OpenGLToolkit - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +/** + * RENAMED from `OpenGLToolkit` (JODE-obfuscated). + * OpenGL rendering toolkit. extends GraphicsToolkit (GraphicsToolkit) and implements Interface19; the concrete OpenGL backend that rasterizes models/textures via JOGL/GL calls. + */ + +import java.awt.*; +import java.lang.reflect.Method; + +final class OpenGLToolkit extends GraphicsToolkit implements Interface19 { + private NativeHandle aYa5121; + private static final int[] anIntArray5122 = new int[Math.max(Math.max(104, 20), 24573)]; + long nativeid = 0L; + private final NodeList aClass262_5123; + private boolean aBoolean5124 = false; + private DisplayModeManagerContainer204 aClass101_5125; + private final LruCache aClass356_5126; + private int anInt5127; + private int anInt5128; + private static final float[] aFloatArray5129 = new float[20]; + private static final int[] anIntArray5130; + private DisplayModeManagerContainer204 aClass101_5131; + static int[] anIntArray5132 = new int[6]; + private static final short[] aShortArray5133; + private static final byte[] aByteArray5134; + private static final int[] anIntArray5135; + private static final int[] anIntArray5136; + private p aP5137; + private static final float[] aFloatArray5138; + private static final int[] anIntArray5139; + static int[] anIntArray5140; + int anInt5141; + private boolean aBoolean5142; + private a[] anAArray5143; + + private final native void MA(d var_d, int i, int i_0_); + + final void method3628(int i, int i_1_, int i_2_, int i_3_, int i_4_, int i_5_) { + U(i, i_1_, i_2_, i_4_, i_5_); + U(i, i_1_ + i_3_ - 1, i_2_, i_4_, i_5_); + P(i, i_1_ + 1, i_3_ - 1, i_4_, i_5_); + P(i + i_2_ - 1, i_1_ + 1, i_3_ - 1, i_4_, i_5_); + } + + private final native void ma(long l); + + final Component80 method3697(int i, int i_6_, int i_7_, int i_8_, int i_9_, int i_10_) { + return null; + } + + final void method3651(NodeBase var_za) { + aYa5121 = (NativeHandle) var_za; + va(var_za); + } + + public final native void w(boolean bool); + + final native void A(int i, Shader var_aa, int i_11_, int i_12_); + + final native void fillRect(int i, int i_13_, int i_14_, int i_15_, int i_16_, int i_17_); + + final void method3698() { + /* empty */ + } + + final void method3707(Rectangle[] rectangles, int i, int i_18_, int i_19_) throws Exception_Sub1 { + if (aP5137 == null) throw new IllegalStateException("off"); + aP5137.method3434(rectangles, i, i_18_, i_19_); + } + + final boolean method3708() { + return true; + } + + final void method3685(Component122 class98, int i) { + method3975(class98, false); + method3973().method155(this, anIntArray5136, anIntArray5135, anIntArray5139, aShortArray5133, class98.aClass88_1569.method840(0)); + } + + final void method3676(int i, int i_20_, int i_21_, int i_22_, int i_23_, int i_24_, int i_25_, int i_26_, int i_27_, int i_28_, int i_29_, int i_30_, int i_31_) { + /* empty */ + } + + final void method3663() { + /* empty */ + } + + final Component24 method3691(Component170 class207, boolean bool) { + j var_j = new j(this, class207.anIntArray2697, class207.aByteArray2699, class207.aByteArray2695, 0, class207.anInt2702, class207.anInt2702, class207.anInt2696); + var_j.method985(class207.anInt2703, class207.anInt2700, class207.anInt2698, class207.anInt2701); + return var_j; + } + + final native void HA(int i, int i_32_, int i_33_, int i_34_, int[] is); + + final void method3710() { + /* empty */ + } + + private final native void AA(short i, short i_35_, int i_36_, byte i_37_, byte i_38_, int i_39_, boolean bool, byte i_40_, byte i_41_, byte i_42_, byte i_43_, boolean bool_44_, boolean bool_45_, boolean bool_46_, boolean bool_47_, boolean bool_48_, byte i_49_, boolean bool_50_, boolean bool_51_, int i_52_); + + final void method3696(int i) { + throw new IllegalStateException(); + } + + final native void H(int i, int i_53_, int i_54_, int[] is); + + private final void g() {// + System.gc(); + System.runFinalization(); + Component36.method1948((byte) -33); + } + + final native void b(int i, int i_55_, int i_56_, int i_57_, double d); + + final void method3700(float f, float f_58_, float f_59_) { + /* empty */ + } + + final BitmapFont method3686(Component184 class143, Component170[] class207s, boolean bool) { + int[] is = new int[class207s.length]; + int[] is_60_ = new int[class207s.length]; + boolean bool_61_ = false; + for (int i = 0; i < class207s.length; i++) { + is[i] = class207s[i].anInt2702; + is_60_[i] = class207s[i].anInt2696; + if (class207s[i].aByteArray2695 != null) bool_61_ = true; + } + if (bool) { + if (bool_61_) throw new IllegalArgumentException("Cannot specify alpha with non-mono font unless someone writes it"); + return new h(this, aYa5121, class143, class207s, null); + } + if (bool_61_) throw new IllegalArgumentException("Cannot specify alpha with non-mono font unless someone writes it"); + return new n(this, aYa5121, class143, class207s, null); + } + + private final native void Interface4Impl(int i, int i_62_, int i_63_, int i_64_, int i_65_, int i_66_); + + final boolean method3644() { + return true; + } + + final a method3973() { + for (int i = 0; i < this.anInt5141; i++) { + if (anAArray5143[i].aRunnable5112 == Thread.currentThread()) return anAArray5143[i]; + } + return null; + } + + private final native void t(p var_p); + + final DisplayModeManagerContainer204 method3705() { + return aClass101_5131; + } + + private final boolean WA(short i) {// + synchronized (this.aD4579) { + if (!this.aD4579.method4(-7953, i)) return false; + Component319 class12 = this.aD4579.method3(i, -6662); + if (class12 == null) return false; + int[] is; + if (class12.anInt200 != 2) is = this.aD4579.method5(true, i, 0.7F, 128, 128, -128); + else is = this.aD4579.method6(-21540, 128, 0.7F, i, true, 128); + CA(i, is, class12.aShort208, class12.anInt200, class12.aByte213, class12.aByte202, class12.anInt206, class12.aBoolean199, class12.aByte201, class12.aByte216, class12.aByte198, class12.aByte211, class12.aBoolean209, class12.aBoolean204, class12.aBoolean212, class12.aBoolean217, class12.aBoolean215, class12.aByte205, class12.aBoolean218, class12.aBoolean207, class12.anInt203); + } + return true; + } + + private final void method3975(Component122 class98, boolean bool) { + int i = 0; + int i_67_ = 0; + int i_68_ = 0; + int i_69_ = 0; + int i_70_ = 0; + for (RenderableSub9Sub2 class318_sub9_sub2 = ((RenderableSub9Sub2) class98.aClass88_1569.method848(8)); class318_sub9_sub2 != null; class318_sub9_sub2 = ((RenderableSub9Sub2) class98.aClass88_1569.method846((byte) -79))) { + anIntArray5136[i++] = class318_sub9_sub2.anInt8791; + anIntArray5136[i++] = class318_sub9_sub2.anInt8796; + anIntArray5136[i++] = class318_sub9_sub2.anInt8789; + anIntArray5135[i_67_++] = class318_sub9_sub2.anInt8790; + aShortArray5133[i_69_++] = (short) class318_sub9_sub2.anInt8792; + anIntArray5139[i_68_++] = class318_sub9_sub2.anInt8793; + if (bool) aByteArray5134[i_70_++] = class318_sub9_sub2.aByte8795; + } + } + + final void method3659(int i) { + anAArray5143[i].method154(); + } + + final void method3632(int[] is) { + Dimension dimension = aP5137.aCanvas5147.getSize(); + is[0] = dimension.width; + is[1] = dimension.height; + } + + private final native void CA(short i, int[] is, short i_71_, int i_72_, byte i_73_, byte i_74_, int i_75_, boolean bool, byte i_76_, byte i_77_, byte i_78_, byte i_79_, boolean bool_80_, boolean bool_81_, boolean bool_82_, boolean bool_83_, boolean bool_84_, byte i_85_, boolean bool_86_, boolean bool_87_, int i_88_); + + final native void DA(int i, int i_89_, int i_90_, int i_91_); + + final NodeBase method3702(int i) { + NativeHandle var_ya = new NativeHandle(this, i); + aClass262_5123.addTail(var_ya, -20180); + return var_ya; + } + + final void method3650(int i) { + anInt5128 = anInt5127 = i; + if (this.anInt5141 > 1) throw new IllegalStateException("No MT"); + method3631(this.anInt5141); + method3659(0); + } + + final int method3667(int i, int i_92_) { + int i_93_ = i & 0xfffff; + int i_94_ = i_92_ & 0xfffff; + return i_93_ & i_94_ ^ i_94_; + } + + final native void DualToolkit(float f); + + final void method3701(Canvas canvas) { + if (aP5137.aCanvas5147 == canvas) method3677(null); + p var_p = (p) aClass356_5126.get(canvas.hashCode(), -6008); + if (var_p != null) { + var_p.unlink((byte) 110); + var_p.method3436(); + } + } + + final void method3636(int i, int i_95_, int i_96_, int i_97_, int i_98_, int i_99_, Shader var_aa, int i_100_, int i_101_) { + Z(i, i_95_, i_96_, i_97_, i_98_, i_99_, var_aa, i_100_, i_101_); + } + + protected final synchronized void finalize() { + this.method3635((byte) -45); + if (this.nativeid != 0L) Component36.method1947(0, this); + } + + private final native void d(int i); + + final native int i(); + + private final native void n(long l, long l_102_); + + final void method3684(Component122 class98) { + if (class98.aClass88_1569.method840(0) != 0) { + method3975(class98, false); + method3973().method155(this, anIntArray5136, anIntArray5135, anIntArray5139, aShortArray5133, class98.aClass88_1569.method840(0)); + } + } + + final int method3704() { + return 4; + } + + final native int JA(int i, int i_103_, int i_104_, int i_105_, int i_106_, int i_107_); + + final void method3652() { + if (!aBoolean5124) { + anAArray5143 = null; + aP5137 = null; + aYa5121 = null; + aClass101_5131 = null; + aClass356_5126.clear(0); + for (NativeHandle var_ya = (NativeHandle) aClass262_5123.first(4); var_ya != null; var_ya = (NativeHandle) aClass262_5123.next((byte) 36)) + var_ya.ga(); + aClass262_5123.clear(117); + FA(); + if (aBoolean5142) { + CookieManager.method2173(true, -110, false); + aBoolean5142 = false; + } + g(); + Component36.method1946(-108); + aBoolean5124 = true; + } + } + + final void method3669(Canvas canvas, int i, int i_108_) { + p var_p = (p) aClass356_5126.get(canvas.hashCode(), -6008); + var_p.method3435(canvas, i, i_108_); + if (canvas != null && canvas == aP5137.aCanvas5147) method3677(canvas); + } + + private final boolean c(short i) {// + synchronized (this) { + Component319 class12 = this.aD4579.method3(i, -6662); + if (class12 == null) return false; + AA(i, class12.aShort208, class12.anInt200, class12.aByte213, class12.aByte202, class12.anInt206, class12.aBoolean199, class12.aByte201, class12.aByte216, class12.aByte198, class12.aByte211, class12.aBoolean209, class12.aBoolean204, class12.aBoolean212, class12.aBoolean217, class12.aBoolean215, class12.aByte205, class12.aBoolean218, class12.aBoolean207, class12.anInt203); + } + return true; + } + + final boolean method3666() { + return false; + } + + final native void Q(int i, int i_109_, int i_110_, int i_111_, int i_112_, int i_113_, byte[] is, int i_114_, int i_115_); + + final Component24 method3629(int i, int i_116_, boolean bool) { + return new j(this, i, i_116_); + } + + final native void NativeHandle(); + + final native int I(); + + final native void f(int i, int i_117_); + + final native void KA(int i, int i_118_, int i_119_, int i_120_); + + final void method3646(int i) { + Component36.method1948((byte) -71); + d(i); + for (NativeHandle var_ya = (NativeHandle) aClass262_5123.first(4); var_ya != null; var_ya = (NativeHandle) aClass262_5123.next((byte) 40)) + var_ya.r(); + } + + final int bitwiseOr(int i, int i_121_) { + return i | i_121_; + } + + final native void ra(int i, int i_122_, int i_123_, int i_124_); + + final native int E(); + + final native void pa(); + + final void method3688(int i, int i_125_, int i_126_, int i_127_, int i_128_, int i_129_, int i_130_) { + method3973().method150(this, i, i_125_, i_126_, i_127_, i_128_, i_129_, i_130_); + } + + final native void GA(int i); + + final boolean method3670() { + return true; + } + + final native void X(int i); + + final DisplayModeManagerContainer370 method3625(DisplayModeManagerContainer77 class124, int i, int i_131_, int i_132_, int i_133_) { + return new i(this, aYa5121, class124, i, i_131_, i_132_, i_133_); + } + + final Component6 c() {// + return new Component6(0, "SSE", 1, "CPU", 0L); + } + + final void method3674(int i, int i_134_, int i_135_, int i_136_, int i_137_, int i_138_, int i_139_, int i_140_, int i_141_) { + /* empty */ + } + + final native void F(int i, int i_142_); + + final Component24 method3683(int i, int i_143_, int i_144_, int i_145_, boolean bool) { + return new j(this, i, i_143_, i_144_, i_145_, !bool); + } + + final void method3631(int i) { + this.anInt5141 = i; + anAArray5143 = new a[this.anInt5141]; + for (int i_146_ = 0; i_146_ < this.anInt5141; i_146_++) + anAArray5143[i_146_] = new a(this, anInt5128, anInt5127); + } + + final native int r(int i, int i_147_, int i_148_, int i_149_, int i_150_, int i_151_, int i_152_); + + private final native void va(NodeBase var_za); + + final void method3643(Canvas canvas, int i, int i_153_) { + p var_p = (p) aClass356_5126.get(canvas.hashCode(), -6008); + if (var_p == null) { + canvas.setIgnoreRepaint(true); + var_p = new p(this, canvas, i, i_153_); + aClass356_5126.put((byte) 36, canvas.hashCode(), var_p); + } else if (var_p.anInt5145 != i || var_p.anInt5148 != i_153_) var_p.method3435(canvas, i, i_153_); + } + + final Component80 method3706(Component80 class299, Component80 class299_154_, float f, Component80 class299_155_) { + return null; + } + + final native void K(int[] is); + + final boolean method3694() { + return true; + } + + final void method3626(int i, int i_156_) throws Exception_Sub1 { + if (aP5137 == null) throw new IllegalStateException("off"); + aP5137.method3433(i, i_156_); + } + + final Interface3 method3665(int i, int i_157_) { + return method3629(i, i_157_, false); + } + + final void method3642(int i, NodeSub1[] class348_sub1s) { + int i_158_ = 0; + for (int i_159_ = 0; i_159_ < i; i_159_++) { + anIntArray5130[i_158_++] = class348_sub1s[i_159_].method2724(-1); + anIntArray5130[i_158_++] = class348_sub1s[i_159_].method2722(123); + anIntArray5130[i_158_++] = class348_sub1s[i_159_].method2717((byte) 103); + anIntArray5130[i_158_++] = class348_sub1s[i_159_].method2723(-1); + aFloatArray5138[i_159_] = class348_sub1s[i_159_].method2721(-65); + anIntArray5130[i_158_++] = class348_sub1s[i_159_].method2720(-1); + } + N(i, anIntArray5130, aFloatArray5138); + } + + final native void NodeBase(int i, int i_160_, int i_161_, int i_162_, int i_163_); + + final native int[] ShaderImpl(int i, int i_164_, int i_165_, int i_166_); + + final void method3647(boolean bool) { + /* empty */ + } + + final NodeSub1 method3690(int i, int i_167_, int i_168_, int i_169_, int i_170_, float f) { + return new NodeSub1Sub2(i, i_167_, i_168_, i_169_, i_170_, f); + } + + final void method3677(Canvas canvas) { + if (canvas == null) { + aP5137 = null; + t(null); + } else { + p var_p = (p) aClass356_5126.get(canvas.hashCode(), -6008); + aP5137 = var_p; + t(var_p); + } + } + + final boolean method3682() { + return true; + } + + final void method3653(Component80 class299) { + /* empty */ + } + + final DisplayModeManagerContainer204 method3654() { + return new OpenGLMatrix(); + } + + final void method3678(int i) { + anAArray5143[i].method156(); + } + + final native void EA(int i, int i_171_, int i_172_, int i_173_); + + final void method3633() { + /* empty */ + } + + final void method3658(int i, int i_174_, int i_175_, int i_176_) { + /* empty */ + } + + public OpenGLToolkit(Canvas canvas, d var_d, int i, int i_177_) { + super(var_d); + aClass262_5123 = new NodeList(); + anInt5127 = 4096; + anInt5128 = 4096; + aClass356_5126 = new LruCache(4); + aBoolean5142 = false; + do { + try { + + if (!DefinitionSub19.tryLoadNativeLibrary(-30282, "sw3d")) throw new RuntimeException(""); + Component36.method1949((byte) -128); + MA(aD4579, 0, 0); + Component54.method566(false, true, (byte) 23); + aBoolean5142 = true; + aClass101_5131 = new OpenGLMatrix(); + method3638(new OpenGLMatrix()); + method3631(1); + method3659(0); + if (canvas == null) break; + method3643(canvas, i, i_177_); + method3677(canvas); + } catch (Throwable throwable) { + throwable.printStackTrace(); + this.method3635((byte) 124); + throw new RuntimeException(); + } + break; + } while (false); + } + + private final native void FA(); + + final native void P(int i, int i_178_, int i_179_, int i_180_, int i_181_); + + final boolean method3695() { + return true; + } + + final native void U(int i, int i_182_, int i_183_, int i_184_, int i_185_); + + final native int[] Y(); + + final native void ZA(int i, float f, float f_186_, float f_187_, float f_188_, float f_189_); + + final Interface4 method3634(Interface3 interface3, Interface13 interface13) { + return new Interface4Impl(this, (j) interface3, (DualToolkit) interface13); + } + + final void method3687(Interface4 interface4) { + Interface4Impl var_wa = (Interface4Impl) interface4; + n(var_wa.aJ4732.nativeid, var_wa.aXa4733.nativeid); + } + + final native void da(int i, int i_190_, int i_191_, int[] is); + + final Shader method3661(int i, int i_192_, int[] is, int[] is_193_) { + return new ShaderImpl(this, aYa5121, i, i_192_, is, is_193_); + } + + final DisplayModeManagerContainer204 method3640() { + return aClass101_5125; + } + + final void method3709(int i, int i_194_, int i_195_, int i_196_, int i_197_, int i_198_) { + Interface4Impl(i, i_194_, i_195_, i_196_, i_197_, i_198_); + } + + private final native void Z(int i, int i_199_, int i_200_, int i_201_, int i_202_, int i_203_, Shader var_aa, int i_204_, int i_205_); + + final native void C(boolean bool); + + final Interface13 method3624(int i, int i_206_) { + return new DualToolkit(i, i_206_); + } + + final boolean method3639() { + return true; + } + + final native void L(int i, int i_207_, int i_208_); + + final Component24 method3711(int[] is, int i, int i_209_, int i_210_, int i_211_, boolean bool) { + return new j(this, is, i, i_209_, i_210_, i_211_, false); + } + + final native void la(); + + final void method3630(boolean bool) { + /* empty */ + } + + final native int M(); + + final boolean method3627() { + return false; + } + + private final Object OA() {// + return new BufferedToolkit(this); + } + + final boolean method3655() { + return true; + } + + final void method3703(int i, int i_212_, int i_213_, int i_214_, int i_215_, int i_216_, Shader var_aa, int i_217_, int i_218_, int i_219_, int i_220_, int i_221_) { + /* empty */ + } + + final void method3638(DisplayModeManagerContainer204 class101) { + aClass101_5125 = class101; + ma(((OpenGLMatrix) class101).nativeid); + } + + final void method3672() { + method3677(aP5137.aCanvas5147); + } + + final s method3648(int i, int i_222_, int[][] is, int[][] is_223_, int i_224_, int i_225_, int i_226_) { + return new t(this, aYa5121, i, i_222_, is, is_223_, i_224_, i_225_, i_226_); + } + + final native int XA(); + + private final native void N(int i, int[] is, float[] fs); + + final native void T(int i, int i_227_, int i_228_, int i_229_); + + final boolean method3693() { + return true; + } + + final void method3673() { + /* empty */ + } + + final boolean method3671() { + return false; + } + + final boolean method3699() { + return false; + } + + static { + anIntArray5130 = anIntArray5122; + aByteArray5134 = new byte[8191]; + anIntArray5135 = new int[8191]; + aFloatArray5138 = aFloatArray5129; + anIntArray5139 = new int[8191]; + anIntArray5136 = anIntArray5122; + anIntArray5140 = anIntArray5122; + aShortArray5133 = new short[8191]; + } +} diff --git a/client/toolkit/gl/i.java b/client/toolkit/gl/i.java new file mode 100644 index 000000000..53e281d29 --- /dev/null +++ b/client/toolkit/gl/i.java @@ -0,0 +1,267 @@ +/* i - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +final class i +/** + * RENAMED from `i` (JODE-obfuscated). + * Evidence: extends Class64 (Sprite base); implements Interface19; 37 native GL methods + */ extends DisplayModeManagerContainer370 implements Interface19 { + private final OpenGLToolkit anOa5117; + DisplayModeManagerContainer173[] aClass342Array5118; + long nativeid; + Component30[] aClass129Array5119; + private final NativeHandle aYa5120; + + final native void C(int i); + + final native void k(int i); + + public final native void w(boolean bool); + + final native void O(int i, int i_0_, int i_1_); + + final native void s(int i); + + final native void LA(int i); + + final native int fa(); + + final native boolean NA(); + + final native boolean F(); + + final native void ZA(i var_i_2_, i var_i_3_, int i, boolean bool, boolean bool_4_); + + final void method613(DisplayModeManagerContainer370 class64, int i, int i_5_, int i_6_, boolean bool) { + anOa5117.method3973().method144(this, class64, i, i_5_, i_6_, bool); + } + + final native void Shader(short i, short i_7_); + + final boolean method623(int i, int i_8_, DisplayModeManagerContainer204 class101, boolean bool, int i_9_, int i_10_) { + return anOa5117.method3973().method143(this, i, i_8_, class101, bool, i_10_); + } + + final native int EA(); + + final Component30[] method619() { + return this.aClass129Array5119; + } + + final native void Interface4Impl(); + + final native void P(int i, int i_11_, int i_12_, int i_13_); + + final void method608(DisplayModeManagerContainer204 class101, RenderableSub3 class318_sub3, int i, int i_14_) { + if (class318_sub3 == null) anOa5117.method3973().method149(this, class101, null, i, i_14_); + else { + OpenGLToolkit.anIntArray5132[5] = 0; + anOa5117.method3973().method149(this, class101, OpenGLToolkit.anIntArray5132, i, i_14_); + class318_sub3.anInt6405 = OpenGLToolkit.anIntArray5132[0]; + class318_sub3.anInt6402 = OpenGLToolkit.anIntArray5132[1]; + class318_sub3.anInt6406 = OpenGLToolkit.anIntArray5132[2]; + class318_sub3.anInt6404 = OpenGLToolkit.anIntArray5132[3]; + class318_sub3.anInt6403 = OpenGLToolkit.anIntArray5132[4]; + class318_sub3.aBoolean6401 = OpenGLToolkit.anIntArray5132[5] != 0; + } + } + + final native void v(); + + private final native void l(long l, int i, int[] is, int i_15_, int i_16_, int i_17_, int i_18_, boolean bool); + + final boolean method618() { + return true; + } + + final void method621() { + if (anOa5117.anInt5141 > 1) { + synchronized (this) { + this.aBoolean1124 = false; + this.notifyAll(); + } + } + } + + final native void VA(int i); + + final boolean method628(int i, int i_19_, DisplayModeManagerContainer204 class101, boolean bool, int i_20_) { + return anOa5117.method3973().method146(this, i, i_19_, class101, bool); + } + + final DisplayModeManagerContainer370 method614(byte i, int i_21_, boolean bool) { + return anOa5117.method3973().method152(this, i, i_21_, bool); + } + + final native int ShaderImpl(); + + final native int HA(); + + final void method612() { + /* empty */ + } + + final native void p(int i, int i_22_, s var_s, s var_s_23_, int i_24_, int i_25_, int i_26_); + + final native int V(); + + final native int da(); + + final void method605(int i, int[] is, int i_27_, int i_28_, int i_29_, int i_30_, boolean bool) { + l(this.nativeid, i, is, i_27_, i_28_, i_29_, i_30_, bool); + } + + final native int G(); + + final native int ma(); + + private final native void R(OpenGLToolkit var_oa, NativeHandle var_ya, int i, int i_31_, int[] is, int[] is_32_, int[] is_33_, int[] is_34_, short[] is_35_, int i_36_, short[] is_37_, short[] is_38_, short[] is_39_, byte[] is_40_, byte[] is_41_, byte[] is_42_, byte[] is_43_, short[] is_44_, short[] is_45_, int[] is_46_, byte i_47_, short[] is_48_, int i_49_, byte[] is_50_, short[] is_51_, short[] is_52_, short[] is_53_, int[] is_54_, int[] is_55_, int[] is_56_, byte[] is_57_, byte[] is_58_, int[] is_59_, int[] is_60_, int[] is_61_, int[] is_62_, int i_63_, int i_64_, int i_65_, int i_66_, int i_67_, int i_68_, int[] is_69_); + + final native void FA(int i); + + final void method624(int i, int i_70_, int i_71_, int i_72_) { + /* empty */ + } + + final native void ia(short i, short i_73_); + + protected final void finalize() { + if (this.nativeid != 0L) Component36.method1947(0, this); + } + + final native int WA(); + + final void method610(DisplayModeManagerContainer204 class101, int i, boolean bool) { + A(((OpenGLMatrix) class101).nativeid, i, bool); + } + + final void method622() { + if (anOa5117.anInt5141 > 1) { + synchronized (this) { + while (this.aBoolean1124) { + try { + this.wait(); + } catch (InterruptedException interruptedexception) { + /* empty */ + } + } + this.aBoolean1124 = true; + } + } + } + + final void method615(DisplayModeManagerContainer204 class101, RenderableSub3 class318_sub3, int i) { + if (class318_sub3 == null) anOa5117.method3973().method145(this, class101, null, i); + else { + OpenGLToolkit.anIntArray5132[5] = 0; + anOa5117.method3973().method145(this, class101, OpenGLToolkit.anIntArray5132, i); + class318_sub3.anInt6405 = OpenGLToolkit.anIntArray5132[0]; + class318_sub3.anInt6402 = OpenGLToolkit.anIntArray5132[1]; + class318_sub3.anInt6406 = OpenGLToolkit.anIntArray5132[2]; + class318_sub3.anInt6404 = OpenGLToolkit.anIntArray5132[3]; + class318_sub3.anInt6403 = OpenGLToolkit.anIntArray5132[4]; + class318_sub3.aBoolean6401 = OpenGLToolkit.anIntArray5132[5] != 0; + } + } + + final native boolean r(); + + final void method620(DisplayModeManagerContainer204 class101) { + method693(OpenGLToolkit.anIntArray5140, class101); + int i = 0; + if (this.aClass129Array5119 != null) { + for (int i_74_ = 0; i_74_ < this.aClass129Array5119.length; i_74_++) { + Component30 class129 = this.aClass129Array5119[i_74_]; + class129.anInt1882 = OpenGLToolkit.anIntArray5140[i++]; + class129.anInt1891 = OpenGLToolkit.anIntArray5140[i++]; + class129.anInt1889 = OpenGLToolkit.anIntArray5140[i++]; + class129.anInt1883 = OpenGLToolkit.anIntArray5140[i++]; + class129.anInt1890 = OpenGLToolkit.anIntArray5140[i++]; + class129.anInt1880 = OpenGLToolkit.anIntArray5140[i++]; + class129.anInt1876 = OpenGLToolkit.anIntArray5140[i++]; + class129.anInt1874 = OpenGLToolkit.anIntArray5140[i++]; + class129.anInt1884 = OpenGLToolkit.anIntArray5140[i++]; + } + } + if (this.aClass342Array5118 != null) { + for (int i_75_ = 0; i_75_ < this.aClass342Array5118.length; i_75_++) { + DisplayModeManagerContainer173 class342 = this.aClass342Array5118[i_75_]; + DisplayModeManagerContainer173 class342_76_ = class342; + if (class342.aClass342_4248 != null) class342_76_ = class342.aClass342_4248; + if (class342.aClass101_4252 != null) class342.aClass101_4252.method898(class101); + else class342.aClass101_4252 = class101.method907(); + class342_76_.anInt4238 = OpenGLToolkit.anIntArray5140[i++]; + class342_76_.anInt4239 = OpenGLToolkit.anIntArray5140[i++]; + class342_76_.anInt4240 = OpenGLToolkit.anIntArray5140[i++]; + } + } + } + + final native void a(int i); + + final DisplayModeManagerContainer173[] method604() { + return this.aClass342Array5118; + } + + private final void method693(int[] is, DisplayModeManagerContainer204 class101) { + anOa5117.method3973().method151(this, is, class101); + } + + final native int ua(); + + final native void H(int i, int i_77_, int i_78_); + + i(OpenGLToolkit var_oa, NativeHandle var_ya, DisplayModeManagerContainer77 class124, int i, int i_79_, int i_80_, int i_81_) { + anOa5117 = var_oa; + aYa5120 = var_ya; + this.aClass129Array5119 = class124.aClass129Array1846; + this.aClass342Array5118 = class124.aClass342Array1866; + int i_82_ = (class124.aClass129Array1846 == null ? 0 : class124.aClass129Array1846.length); + int i_83_ = (class124.aClass342Array1866 == null ? 0 : class124.aClass342Array1866.length); + int i_84_ = 0; + int[] is = new int[i_82_ * 3 + i_83_]; + for (int i_85_ = 0; i_85_ < i_82_; i_85_++) { + is[i_84_++] = this.aClass129Array5119[i_85_].anInt1881; + is[i_84_++] = this.aClass129Array5119[i_85_].anInt1877; + is[i_84_++] = this.aClass129Array5119[i_85_].anInt1892; + } + for (int i_86_ = 0; i_86_ < i_83_; i_86_++) + is[i_84_++] = this.aClass342Array5118[i_86_].anInt4244; + int i_87_ = (class124.aClass162Array1832 == null ? 0 : class124.aClass162Array1832.length); + int[] is_88_ = new int[i_87_ * 8]; + int i_89_ = 0; + for (int i_90_ = 0; i_90_ < i_87_; i_90_++) { + DisplayModeManagerContainer133 class162 = class124.aClass162Array1832[i_90_]; + Component291 class189 = DisplayModeManagerContainer306.method742(104, class162.anInt2153); + is_88_[i_89_++] = class162.anInt2155; + is_88_[i_89_++] = class189.anInt2526; + is_88_[i_89_++] = class189.anInt2530; + is_88_[i_89_++] = class189.anInt2525; + is_88_[i_89_++] = class189.anInt2533; + is_88_[i_89_++] = class189.anInt2534; + is_88_[i_89_++] = class189.aBoolean2531 ? -1 : 0; + } + for (int i_91_ = 0; i_91_ < i_87_; i_91_++) { + DisplayModeManagerContainer133 class162 = class124.aClass162Array1832[i_91_]; + is_88_[i_89_++] = class162.anInt2156; + } + R(anOa5117, aYa5120, class124.anInt1836, class124.anInt1821, class124.anIntArray1841, class124.anIntArray1847, class124.anIntArray1852, class124.anIntArray1868, class124.aShortArray1842, class124.anInt1817, class124.aShortArray1863, class124.aShortArray1835, class124.aShortArray1855, class124.aByteArray1843, class124.aByteArray1839, class124.aByteArray1834, class124.aByteArray1820, class124.aShortArray1862, class124.aShortArray1822, class124.anIntArray1824, class124.aByte1851, class124.aShortArray1856, class124.anInt1818, class124.aByteArray1823, class124.aShortArray1829, class124.aShortArray1849, class124.aShortArray1825, class124.anIntArray1859, class124.anIntArray1816, class124.anIntArray1844, class124.aByteArray1833, class124.aByteArray1853, class124.anIntArray1867, class124.anIntArray1857, class124.anIntArray1865, is, i_82_, i_83_, i, i_79_, i_80_, i_81_, is_88_); + } + + private final native void A(long l, int i, boolean bool); + + final native r BufferedToolkit(r var_r); + + private final native void OpenGLToolkit(OpenGLToolkit var_oa); + + i(OpenGLToolkit var_oa) { + anOa5117 = var_oa; + aYa5120 = null; + OpenGLToolkit(var_oa); + } + + final native int RA(); + + final native void I(int i, int[] is, int i_92_, int i_93_, int i_94_, boolean bool, int i_95_, int[] is_96_); +} diff --git a/client/toolkit/software/GlToolkitSub1.java b/client/toolkit/software/GlToolkitSub1.java new file mode 100644 index 000000000..c5791da38 --- /dev/null +++ b/client/toolkit/software/GlToolkitSub1.java @@ -0,0 +1,2301 @@ +/* GlToolkitSub1 - Decompiled by JODE + * Visit http://jode.sourceforge.net/ + */ + +import java.awt.*; + +final class GlToolkitSub1 +/** + * RENAMED from `GlToolkitSub1` (JODE-obfuscated). + * Evidence: extends GraphicsToolkit (GraphicsToolkit) + */ extends GraphicsToolkit { + private int anInt7465; + private int anInt7466; + private LruCache aClass356_7467; + private Canvas aCanvas7468; + Sprite aClass348_Sub31_7469; + private boolean aBoolean7470 = false; + private boolean aBoolean7471 = false; + private int anInt7472; + int anInt7473; + int anInt7474; + private Component297 aClass49_7475; + int anInt7476; + int anInt7477; + int anInt7478; + int anInt7479; + private Component385[] aClass167Array7480; + private int anInt7481; + int anInt7482; + int[] anIntArray7483; + int anInt7484; + int anInt7485; + private int anInt7486; + private int anInt7487; + private int anInt7488; + private boolean aBoolean7489; + int anInt7490; + int anInt7491; + MatrixSub1 aClass101_Sub1_7492; + private int anInt7493; + int anInt7494; + private int anInt7495; + int anInt7496; + int anInt7497; + private final NodeCache aClass60_7498; + private final NodeCache aClass60_7499; + int anInt7500; + int anInt7501; + float[] aFloatArray7502; + int anInt7503; + int anInt7504; + private int anInt7505; + int anInt7506; + int anInt7507; + int anInt7508; + int anInt7509; + int anInt7510; + float[] aFloatArray7511; + private int anInt7512; + private Component24 aClass105_7513; + + final boolean method3695() { + return true; + } + + final void GA(int i) { + fillRect(0, 0, this.anInt7477, anInt7486, i, 0); + } + + final int[] ShaderImpl(int i, int i_0_, int i_1_, int i_2_) { + int[] is = new int[i_1_ * i_2_]; + int i_3_ = 0; + for (int i_4_ = 0; i_4_ < i_2_; i_4_++) { + int i_5_ = (i_0_ + i_4_) * this.anInt7477 + i; + for (int i_6_ = 0; i_6_ < i_1_; i_6_++) + is[i_3_++] = this.anIntArray7483[i_5_ + i_6_]; + } + return is; + } + + final void method3628(int i, int i_7_, int i_8_, int i_9_, int i_10_, int i_11_) { + U(i, i_7_, i_8_, i_10_, i_11_); + U(i, i_7_ + i_9_ - 1, i_8_, i_10_, i_11_); + P(i, i_7_ + 1, i_9_ - 2, i_10_, i_11_); + P(i + i_8_ - 1, i_7_ + 1, i_9_ - 2, i_10_, i_11_); + } + + final void pa() { + for (int i = 0; i < aClass167Array7480.length; i++) { + aClass167Array7480[i].anInt2192 = aClass167Array7480[i].anInt2205; + aClass167Array7480[i].aBoolean2195 = false; + } + } + + final void method3703(int i, int i_12_, int i_13_, int i_14_, int i_15_, int i_16_, Shader var_aa, int i_17_, int i_18_, int i_19_, int i_20_, int i_21_) { + ShaderSub3 var_aa_Sub3 = (ShaderSub3) var_aa; + int[] is = var_aa_Sub3.anIntArray5201; + int[] is_22_ = var_aa_Sub3.anIntArray5202; + int i_23_ = (Math.max(this.anInt7476, i_18_)); + int i_24_ = (Math.min(this.anInt7503, i_18_ + is.length)); + i_21_ <<= 8; + i_19_ <<= 8; + i_20_ <<= 8; + int i_25_ = i_19_ + i_20_; + i_21_ %= i_25_; + i_13_ -= i; + i_14_ -= i_12_; + if (i_13_ + i_14_ < 0) { + int i_26_ = (int) (Math.sqrt(i_13_ * i_13_ + i_14_ * i_14_) * 256.0); + int i_27_ = i_26_ % i_25_; + i_21_ = i_25_ + i_19_ - i_21_ - i_27_; + i_21_ %= i_25_; + if (i_21_ < 0) i_21_ += i_25_; + i += i_13_; + i_13_ = -i_13_; + i_12_ += i_14_; + i_14_ = -i_14_; + } + if (i_13_ > i_14_) { + i_12_ <<= 16; + i_12_ += 32768; + i_14_ <<= 16; + int i_28_ = (int) Math.floor((double) i_14_ / (double) i_13_ + 0.5); + i_13_ += i; + int i_29_ = i_15_ >>> 24; + int i_30_ = (int) Math.sqrt(65536 + (i_28_ >> 8) * (i_28_ >> 8)); + if (i_16_ == 0 || i_16_ == 1 && i_29_ == 255) { + while (i <= i_13_) { + int i_31_ = i_12_ >> 16; + int i_32_ = i_31_ - i_18_; + if (i >= this.anInt7496 && i < this.anInt7507 && i_31_ >= i_23_ && i_31_ < i_24_ && i_21_ < i_19_) { + int i_33_ = i_17_ + is[i_32_]; + if (i >= i_33_ && i < i_33_ + is_22_[i_32_]) this.anIntArray7483[i + i_31_ * this.anInt7477] = i_15_; + } + i_12_ += i_28_; + i++; + i_21_ += i_30_; + i_21_ %= i_25_; + } + return; + } + if (i_16_ == 1) { + i_15_ = (((i_15_ & 0xff00ff) * i_29_ >> 8 & 0xff00ff) + ((i_15_ & 0xff00) * i_29_ >> 8 & 0xff00) + (i_29_ << 24)); + int i_34_ = 256 - i_29_; + while (i <= i_13_) { + int i_35_ = i_12_ >> 16; + int i_36_ = i_35_ - i_18_; + if (i >= this.anInt7496 && i < this.anInt7507 && i_35_ >= i_23_ && i_35_ < i_24_ && i_21_ < i_19_) { + int i_37_ = i_17_ + is[i_36_]; + if (i >= i_37_ && i < i_37_ + is_22_[i_36_]) { + int i_38_ = i + i_35_ * this.anInt7477; + int i_39_ = this.anIntArray7483[i_38_]; + i_39_ = (((i_39_ & 0xff00ff) * i_34_ >> 8 & 0xff00ff) + ((i_39_ & 0xff00) * i_34_ >> 8 & 0xff00)); + this.anIntArray7483[i_38_] = i_15_ + i_39_; + } + } + i_12_ += i_28_; + i++; + i_21_ += i_30_; + i_21_ %= i_25_; + } + return; + } + if (i_16_ == 2) { + while (i <= i_13_) { + int i_40_ = i_12_ >> 16; + int i_41_ = i_40_ - i_18_; + if (i >= this.anInt7496 && i < this.anInt7507 && i_40_ >= i_23_ && i_40_ < i_24_ && i_21_ < i_19_) { + int i_42_ = i_17_ + is[i_41_]; + if (i >= i_42_ && i < i_42_ + is_22_[i_41_]) { + int i_43_ = i + i_40_ * this.anInt7477; + int i_44_ = this.anIntArray7483[i_43_]; + int i_45_ = i_15_ + i_44_; + int i_46_ = (i_15_ & 0xff00ff) + (i_44_ & 0xff00ff); + i_44_ = (i_46_ & 0x1000100) + (i_45_ - i_46_ & 0x10000); + this.anIntArray7483[i_43_] = i_45_ - i_44_ | i_44_ - (i_44_ >>> 8); + } + } + i_12_ += i_28_; + i++; + i_21_ += i_30_; + i_21_ %= i_25_; + } + return; + } + throw new IllegalArgumentException(); + } + i <<= 16; + i += 32768; + i_13_ <<= 16; + int i_47_ = (int) Math.floor((double) i_13_ / (double) i_14_ + 0.5); + int i_48_ = (int) Math.sqrt(65536 + (i_47_ >> 8) * (i_47_ >> 8)); + i_14_ += i_12_; + int i_49_ = i_15_ >>> 24; + if (i_16_ == 0 || i_16_ == 1 && i_49_ == 255) { + while (i_12_ <= i_14_) { + int i_50_ = i >> 16; + int i_51_ = i_12_ - i_18_; + if (i_12_ >= i_23_ && i_12_ < i_24_ && i_50_ >= this.anInt7496 && i_50_ < this.anInt7507 && i_21_ < i_19_ && i_50_ >= i_17_ + is[i_51_] && i_50_ < i_17_ + is[i_51_] + is_22_[i_51_]) this.anIntArray7483[i_50_ + i_12_ * this.anInt7477] = i_15_; + i += i_47_; + i_12_++; + i_21_ += i_48_; + i_21_ %= i_25_; + } + } else if (i_16_ == 1) { + i_15_ = (((i_15_ & 0xff00ff) * i_49_ >> 8 & 0xff00ff) + ((i_15_ & 0xff00) * i_49_ >> 8 & 0xff00) + (i_49_ << 24)); + int i_52_ = 256 - i_49_; + while (i_12_ <= i_14_) { + int i_53_ = i >> 16; + int i_54_ = i_12_ - i_18_; + if (i_12_ >= i_23_ && i_12_ < i_24_ && i_53_ >= this.anInt7496 && i_53_ < this.anInt7507 && i_21_ < i_19_ && i_53_ >= i_17_ + is[i_54_] && i_53_ < i_17_ + is[i_54_] + is_22_[i_54_]) { + int i_55_ = i_53_ + i_12_ * this.anInt7477; + int i_56_ = this.anIntArray7483[i_55_]; + i_56_ = (((i_56_ & 0xff00ff) * i_52_ >> 8 & 0xff00ff) + ((i_56_ & 0xff00) * i_52_ >> 8 & 0xff00)); + this.anIntArray7483[i_53_ + i_12_ * this.anInt7477] = i_15_ + i_56_; + } + i += i_47_; + i_12_++; + i_21_ += i_48_; + i_21_ %= i_25_; + } + } else if (i_16_ == 2) { + while (i_12_ <= i_14_) { + int i_57_ = i >> 16; + int i_58_ = i_12_ - i_18_; + if (i_12_ >= i_23_ && i_12_ < i_24_ && i_57_ >= this.anInt7496 && i_57_ < this.anInt7507 && i_21_ < i_19_ && i_57_ >= i_17_ + is[i_58_] && i_57_ < i_17_ + is[i_58_] + is_22_[i_58_]) { + int i_59_ = i_57_ + i_12_ * this.anInt7477; + int i_60_ = this.anIntArray7483[i_59_]; + int i_61_ = i_15_ + i_60_; + int i_62_ = (i_15_ & 0xff00ff) + (i_60_ & 0xff00ff); + i_60_ = (i_62_ & 0x1000100) + (i_61_ - i_62_ & 0x10000); + this.anIntArray7483[i_59_] = i_61_ - i_60_ | i_60_ - (i_60_ >>> 8); + } + i += i_47_; + i_12_++; + i_21_ += i_48_; + i_21_ %= i_25_; + } + } else throw new IllegalArgumentException(); + } + + final Shader method3661(int i, int i_63_, int[] is, int[] is_64_) { + return new ShaderSub3(i, i_63_, is, is_64_); + } + + final void method3685(Component122 class98, int i) { + Component385 class167 = method3724(Thread.currentThread()); + RenderableSub9 class318_sub9 = (class98.aClass88_1569.aClass318_Sub9_1503); + for (RenderableSub9 class318_sub9_65_ = class318_sub9.aClass318_Sub9_6469; class318_sub9_65_ != class318_sub9; class318_sub9_65_ = class318_sub9_65_.aClass318_Sub9_6469) { + RenderableSub9Sub2 class318_sub9_sub2 = (RenderableSub9Sub2) class318_sub9_65_; + int i_66_ = class318_sub9_sub2.anInt8791 >> 12; + int i_67_ = class318_sub9_sub2.anInt8796 >> 12; + int i_68_ = class318_sub9_sub2.anInt8789 >> 12; + float f = ((this.aClass101_Sub1_7492.aFloat5681) + ((this.aClass101_Sub1_7492.aFloat5662) * (float) i_66_ + (this.aClass101_Sub1_7492.aFloat5680) * (float) i_67_ + (this.aClass101_Sub1_7492.aFloat5664) * (float) i_68_)); + if (!(f < (float) this.anInt7482) && !(f > (float) class167.anInt2210)) { + int i_69_ = (this.anInt7510 + (int) ((float) this.anInt7491 * ((this.aClass101_Sub1_7492.aFloat5686) + ((this.aClass101_Sub1_7492.aFloat5672) * (float) i_66_ + (this.aClass101_Sub1_7492.aFloat5673) * (float) i_67_ + (this.aClass101_Sub1_7492.aFloat5669) * (float) i_68_)) / (float) i)); + int i_70_ = (this.anInt7504 + (int) ((float) this.anInt7497 * ((this.aClass101_Sub1_7492.aFloat5685) + ((this.aClass101_Sub1_7492.aFloat5655) * (float) i_66_ + (this.aClass101_Sub1_7492.aFloat5678) * (float) i_67_ + (this.aClass101_Sub1_7492.aFloat5666) * (float) i_68_)) / (float) i)); + if (i_69_ >= this.anInt7496 && i_69_ <= this.anInt7507 && i_70_ >= this.anInt7476 && i_70_ <= this.anInt7503) { + if (f == 0.0F) f = 1.0F; + method3712(class318_sub9_sub2, i_69_, i_70_, (int) f, ((class318_sub9_sub2.anInt8793) * this.anInt7491 >> 12) / i); + } + } + } + } + + final void method3642(int i, NodeSub1[] class348_sub1s) { + /* empty */ + } + + final boolean method3693() { + return false; + } + + final void method3710() { + /* empty */ + } + + final void P(int i, int i_71_, int i_72_, int i_73_, int i_74_) { + if (i >= this.anInt7496 && i < this.anInt7507) { + if (i_71_ < this.anInt7476) { + i_72_ -= this.anInt7476 - i_71_; + i_71_ = this.anInt7476; + } + if (i_71_ + i_72_ > this.anInt7503) i_72_ = this.anInt7503 - i_71_; + int i_75_ = i + i_71_ * this.anInt7477; + int i_76_ = i_73_ >>> 24; + if (i_74_ == 0 || i_74_ == 1 && i_76_ == 255) { + for (int i_77_ = 0; i_77_ < i_72_; i_77_++) + this.anIntArray7483[i_75_ + i_77_ * this.anInt7477] = i_73_; + } else if (i_74_ == 1) { + i_73_ = (((i_73_ & 0xff00ff) * i_76_ >> 8 & 0xff00ff) + ((i_73_ & 0xff00) * i_76_ >> 8 & 0xff00) + (i_76_ << 24)); + int i_78_ = 256 - i_76_; + for (int i_79_ = 0; i_79_ < i_72_; i_79_++) { + int i_80_ = i_75_ + i_79_ * this.anInt7477; + int i_81_ = this.anIntArray7483[i_80_]; + i_81_ = (((i_81_ & 0xff00ff) * i_78_ >> 8 & 0xff00ff) + ((i_81_ & 0xff00) * i_78_ >> 8 & 0xff00)); + this.anIntArray7483[i_80_] = i_73_ + i_81_; + } + } else if (i_74_ == 2) { + for (int i_82_ = 0; i_82_ < i_72_; i_82_++) { + int i_83_ = i_75_ + i_82_ * this.anInt7477; + int i_84_ = this.anIntArray7483[i_83_]; + int i_85_ = i_73_ + i_84_; + int i_86_ = (i_73_ & 0xff00ff) + (i_84_ & 0xff00ff); + i_84_ = (i_86_ & 0x1000100) + (i_85_ - i_86_ & 0x10000); + this.anIntArray7483[i_83_] = i_85_ - i_84_ | i_84_ - (i_84_ >>> 8); + } + } else throw new IllegalArgumentException(); + } + } + + final void method3647(boolean bool) { + /* empty */ + } + + final void DualToolkit(float f) { + this.anInt7500 = (int) (f * 65535.0F); + } + + final void ra(int i, int i_87_, int i_88_, int i_89_) { + for (int i_90_ = 0; i_90_ < aClass167Array7480.length; i_90_++) { + aClass167Array7480[i_90_].anInt2205 = aClass167Array7480[i_90_].anInt2192; + aClass167Array7480[i_90_].anInt2211 = i; + aClass167Array7480[i_90_].anInt2192 = i_87_; + aClass167Array7480[i_90_].anInt2197 = i_88_; + aClass167Array7480[i_90_].aBoolean2195 = true; + } + } + + final void method3651(NodeBase var_za) { + /* empty */ + } + + private final void method3712(RenderableSub9Sub2 class318_sub9_sub2, int i, int i_91_, int i_92_, int i_93_) { + int i_94_ = class318_sub9_sub2.anInt8792; + int i_95_ = i_93_; + i_93_ <<= 1; + if (i_94_ == -1) method3723(i, i_91_, i_92_, i_95_, class318_sub9_sub2.anInt8790, 1); + else { + if (anInt7512 != i_94_) { + Component24 class105 = (Component24) aClass60_7499.get(i_94_, 117); + if (class105 == null) { + int[] is = method3719(i_94_); + if (is != null) { + int i_96_ = (method3727(i_94_) ? 64 : this.anInt7501); + class105 = this.method3662(i_96_, is, (byte) 94, 0, i_96_, i_96_); + aClass60_7499.putOne(class105, i_94_, (byte) -121); + } else return; + } + anInt7512 = i_94_; + aClass105_7513 = class105; + } + i_93_++; + ((SpriteSub3) aClass105_7513).method996(i - i_95_, i_91_ - i_95_, i_92_, i_93_, i_93_, 0, class318_sub9_sub2.anInt8790, 1, 1); + } + } + + private final void method3713() { + this.anInt7509 = this.anInt7496 - this.anInt7510; + this.anInt7508 = this.anInt7507 - this.anInt7510; + this.anInt7490 = this.anInt7476 - this.anInt7504; + this.anInt7506 = this.anInt7503 - this.anInt7504; + for (int i = 0; i < this.anInt7485; i++) { + Component8 class109 = aClass167Array7480[i].aClass109_2220; + class109.anInt1665 = this.anInt7510 - this.anInt7496; + class109.anInt1668 = this.anInt7504 - this.anInt7476; + class109.anInt1679 = this.anInt7507 - this.anInt7496; + class109.anInt1672 = this.anInt7503 - this.anInt7476; + } + int i = (this.anInt7476 * this.anInt7477 + this.anInt7496); + for (int i_97_ = this.anInt7476; i_97_ < this.anInt7503; i_97_++) { + for (int i_98_ = 0; i_98_ < this.anInt7485; i_98_++) + aClass167Array7480[i_98_].aClass109_2220.anIntArray1676[i_97_ - this.anInt7476] = i; + i += this.anInt7477; + } + } + + final int i() { + return this.anInt7482; + } + + final DisplayModeManagerContainer204 method3705() { + Component385 class167 = method3724(Thread.currentThread()); + return class167.aClass101_Sub1_2209; + } + + final boolean method3714(int i) { + return this.aD4579.method3(i, -6662).aBoolean217 || this.aD4579.method3(i, -6662).aBoolean215; + } + + final void Q(int i, int i_99_, int i_100_, int i_101_, int i_102_, int i_103_, byte[] is, int i_104_, int i_105_) { + if (i_100_ > 0 && i_101_ > 0) { + int i_106_ = 0; + int i_107_ = 0; + int i_108_ = (i_104_ << 16) / i_100_; + int i_109_ = (is.length / i_104_ << 16) / i_101_; + int i_110_ = i + i_99_ * this.anInt7477; + int i_111_ = this.anInt7477 - i_100_; + if (i_99_ + i_101_ > this.anInt7503) i_101_ -= i_99_ + i_101_ - this.anInt7503; + if (i_99_ < this.anInt7476) { + int i_112_ = this.anInt7476 - i_99_; + i_101_ -= i_112_; + i_110_ += i_112_ * this.anInt7477; + i_107_ += i_109_ * i_112_; + } + if (i + i_100_ > this.anInt7507) { + int i_113_ = i + i_100_ - this.anInt7507; + i_100_ -= i_113_; + i_111_ += i_113_; + } + if (i < this.anInt7496) { + int i_114_ = this.anInt7496 - i; + i_100_ -= i_114_; + i_110_ += i_114_; + i_106_ += i_108_ * i_114_; + i_111_ += i_114_; + } + int i_115_ = i_102_ >>> 24; + int i_116_ = i_103_ >>> 24; + if (i_105_ == 0 || i_105_ == 1 && i_115_ == 255 && i_116_ == 255) { + int i_117_ = i_106_; + for (int i_118_ = -i_101_; i_118_ < 0; i_118_++) { + int i_119_ = (i_107_ >> 16) * i_104_; + for (int i_120_ = -i_100_; i_120_ < 0; i_120_++) { + if (is[(i_106_ >> 16) + i_119_] != 0) this.anIntArray7483[i_110_++] = i_103_; + else this.anIntArray7483[i_110_++] = i_102_; + i_106_ += i_108_; + } + i_107_ += i_109_; + i_106_ = i_117_; + i_110_ += i_111_; + } + } else if (i_105_ == 1) { + int i_121_ = i_106_; + for (int i_122_ = -i_101_; i_122_ < 0; i_122_++) { + int i_123_ = (i_107_ >> 16) * i_104_; + for (int i_124_ = -i_100_; i_124_ < 0; i_124_++) { + int i_125_ = i_102_; + if (is[(i_106_ >> 16) + i_123_] != 0) i_125_ = i_103_; + int i_126_ = i_125_ >>> 24; + int i_127_ = 255 - i_126_; + int i_128_ = this.anIntArray7483[i_110_]; + this.anIntArray7483[i_110_++] = ((((i_125_ & 0xff00ff) * i_126_ + (i_128_ & 0xff00ff) * i_127_) & ~0xff00ff) + (((i_125_ & 0xff00) * i_126_ + (i_128_ & 0xff00) * i_127_) & 0xff0000)) >> 8; + i_106_ += i_108_; + } + i_107_ += i_109_; + i_106_ = i_121_; + i_110_ += i_111_; + } + } else if (i_105_ == 2) { + int i_129_ = i_106_; + for (int i_130_ = -i_101_; i_130_ < 0; i_130_++) { + int i_131_ = (i_107_ >> 16) * i_104_; + for (int i_132_ = -i_100_; i_132_ < 0; i_132_++) { + int i_133_ = i_102_; + if (is[(i_106_ >> 16) + i_131_] != 0) i_133_ = i_103_; + if (i_133_ != 0) { + int i_134_ = this.anIntArray7483[i_110_]; + int i_135_ = i_133_ + i_134_; + int i_136_ = (i_133_ & 0xff00ff) + (i_134_ & 0xff00ff); + i_134_ = (i_136_ & 0x1000100) + (i_135_ - i_136_ & 0x10000); + this.anIntArray7483[i_110_++] = i_135_ - i_134_ | i_134_ - (i_134_ >>> 8); + } else i_110_++; + i_106_ += i_108_; + } + i_107_ += i_109_; + i_106_ = i_129_; + i_110_ += i_111_; + } + } else throw new IllegalArgumentException(); + } + } + + final boolean method3655() { + return false; + } + + final Component80 method3697(int i, int i_137_, int i_138_, int i_139_, int i_140_, int i_141_) { + return null; + } + + final void KA(int i, int i_142_, int i_143_, int i_144_) { + if (i < 0) i = 0; + if (i_142_ < 0) i_142_ = 0; + if (i_143_ > this.anInt7477) i_143_ = this.anInt7477; + if (i_144_ > anInt7486) i_144_ = anInt7486; + this.anInt7496 = i; + this.anInt7507 = i_143_; + this.anInt7476 = i_142_; + this.anInt7503 = i_144_; + method3713(); + } + + final void method3698() { + /* empty */ + } + + final void method3638(DisplayModeManagerContainer204 class101) { + this.aClass101_Sub1_7492 = (MatrixSub1) class101; + } + + final void A(int i, Shader var_aa, int i_145_, int i_146_) { + ShaderSub3 var_aa_Sub3 = (ShaderSub3) var_aa; + int[] is = var_aa_Sub3.anIntArray5201; + int[] is_147_ = var_aa_Sub3.anIntArray5202; + int i_148_; + if (this.anInt7503 < i_146_ + is.length) i_148_ = this.anInt7503 - i_146_; + else i_148_ = is.length; + int i_149_; + if (this.anInt7476 > i_146_) { + i_149_ = this.anInt7476 - i_146_; + i_146_ = this.anInt7476; + } else i_149_ = 0; + if (i_148_ - i_149_ > 0) { + int i_150_ = i_146_ * this.anInt7477; + for (int i_151_ = i_149_; i_151_ < i_148_; i_151_++) { + int i_152_ = i_145_ + is[i_151_]; + int i_153_ = is_147_[i_151_]; + if (this.anInt7496 > i_152_) { + i_153_ -= this.anInt7496 - i_152_; + i_152_ = this.anInt7496; + } + if (this.anInt7507 < i_152_ + i_153_) i_153_ = this.anInt7507 - i_152_; + i_152_ += i_150_; + for (int i_154_ = -i_153_; i_154_ < 0; i_154_++) + this.anIntArray7483[i_152_++] = i; + i_150_ += this.anInt7477; + } + } + } + + final int method3667(int i, int i_155_) { + i |= 0x20800; + return i & i_155_ ^ i_155_; + } + + final void f(int i, int i_156_) { + Component385 class167 = method3724(Thread.currentThread()); + this.anInt7482 = i; + this.anInt7494 = i_156_; + class167.anInt2210 = this.anInt7494 - 255; + } + + private final void method3715(int i, int i_157_, int i_158_, int i_159_, int i_160_, int i_161_, int i_162_, int i_163_) { + if (i_157_ >= this.anInt7476 && i_157_ < this.anInt7503) { + int i_164_ = i + i_157_ * this.anInt7477; + int i_165_ = i_159_ >>> 24; + int i_166_ = i_161_ + i_162_; + int i_167_ = i_163_ % i_166_; + if (i_160_ == 0 || i_160_ == 1 && i_165_ == 255) { + int i_168_ = 0; + while (i_168_ < i_158_) { + if (i + i_168_ >= this.anInt7496 && i + i_168_ < this.anInt7507 && i_167_ < i_161_) this.anIntArray7483[i_164_ + i_168_] = i_159_; + i_168_++; + i_167_ = ++i_167_ % i_166_; + } + } else if (i_160_ == 1) { + i_159_ = (((i_159_ & 0xff00ff) * i_165_ >> 8 & 0xff00ff) + ((i_159_ & 0xff00) * i_165_ >> 8 & 0xff00) + (i_165_ << 24)); + int i_169_ = 256 - i_165_; + int i_170_ = 0; + while (i_170_ < i_158_) { + if (i + i_170_ >= this.anInt7496 && i + i_170_ < this.anInt7507 && i_167_ < i_161_) { + int i_171_ = this.anIntArray7483[i_164_ + i_170_]; + i_171_ = (((i_171_ & 0xff00ff) * i_169_ >> 8 & 0xff00ff) + ((i_171_ & 0xff00) * i_169_ >> 8 & 0xff00)); + this.anIntArray7483[i_164_ + i_170_] = i_159_ + i_171_; + } + i_170_++; + i_167_ = ++i_167_ % i_166_; + } + } else if (i_160_ == 2) { + int i_172_ = 0; + while (i_172_ < i_158_) { + if (i + i_172_ >= this.anInt7496 && i + i_172_ < this.anInt7507 && i_167_ < i_161_) { + int i_173_ = this.anIntArray7483[i_164_ + i_172_]; + int i_174_ = i_159_ + i_173_; + int i_175_ = (i_159_ & 0xff00ff) + (i_173_ & 0xff00ff); + i_173_ = (i_175_ & 0x1000100) + (i_174_ - i_175_ & 0x10000); + this.anIntArray7483[i_164_ + i_172_] = i_174_ - i_173_ | i_173_ - (i_173_ >>> 8); + } + i_172_++; + i_167_ = ++i_167_ % i_166_; + } + } else throw new IllegalArgumentException(); + } + } + + final int[] Y() { + return (new int[]{this.anInt7510, this.anInt7504, this.anInt7491, this.anInt7497}); + } + + final void NativeHandle() { + if (this.anInt7496 == 0 && this.anInt7507 == this.anInt7477 && this.anInt7476 == 0 && this.anInt7503 == anInt7486) { + int i = this.aFloatArray7511.length; + int i_176_ = i - (i & 0x7); + int i_177_ = 0; + while (i_177_ < i_176_) { + this.aFloatArray7511[i_177_++] = 2.14748365E9F; + this.aFloatArray7511[i_177_++] = 2.14748365E9F; + this.aFloatArray7511[i_177_++] = 2.14748365E9F; + this.aFloatArray7511[i_177_++] = 2.14748365E9F; + this.aFloatArray7511[i_177_++] = 2.14748365E9F; + this.aFloatArray7511[i_177_++] = 2.14748365E9F; + this.aFloatArray7511[i_177_++] = 2.14748365E9F; + this.aFloatArray7511[i_177_++] = 2.14748365E9F; + } + while (i_177_ < i) this.aFloatArray7511[i_177_++] = 2.14748365E9F; + } else { + int i = this.anInt7507 - this.anInt7496; + int i_178_ = this.anInt7503 - this.anInt7476; + int i_179_ = this.anInt7477 - i; + int i_180_ = (this.anInt7496 + this.anInt7476 * this.anInt7477); + int i_181_ = i >> 3; + int i_182_ = i & 0x7; + i = i_180_ - 1; + for (int i_183_ = -i_178_; i_183_ < 0; i_183_++) { + if (i_181_ > 0) { + int i_184_ = i_181_; + do { + this.aFloatArray7511[++i] = 2.14748365E9F; + this.aFloatArray7511[++i] = 2.14748365E9F; + this.aFloatArray7511[++i] = 2.14748365E9F; + this.aFloatArray7511[++i] = 2.14748365E9F; + this.aFloatArray7511[++i] = 2.14748365E9F; + this.aFloatArray7511[++i] = 2.14748365E9F; + this.aFloatArray7511[++i] = 2.14748365E9F; + this.aFloatArray7511[++i] = 2.14748365E9F; + } while (--i_184_ > 0); + } + if (i_182_ > 0) { + int i_185_ = i_182_; + do this.aFloatArray7511[++i] = 2.14748365E9F; while (--i_185_ > 0); + } + i += i_179_; + } + } + } + + final boolean method3639() { + return true; + } + + final void U(int i, int i_186_, int i_187_, int i_188_, int i_189_) { + if (i_186_ >= this.anInt7476 && i_186_ < this.anInt7503) { + if (i < this.anInt7496) { + i_187_ -= this.anInt7496 - i; + i = this.anInt7496; + } + if (i + i_187_ > this.anInt7507) i_187_ = this.anInt7507 - i; + int i_190_ = i + i_186_ * this.anInt7477; + int i_191_ = i_188_ >>> 24; + if (i_189_ == 0 || i_189_ == 1 && i_191_ == 255) { + for (int i_192_ = 0; i_192_ < i_187_; i_192_++) + this.anIntArray7483[i_190_ + i_192_] = i_188_; + } else if (i_189_ == 1) { + i_188_ = (((i_188_ & 0xff00ff) * i_191_ >> 8 & 0xff00ff) + ((i_188_ & 0xff00) * i_191_ >> 8 & 0xff00) + (i_191_ << 24)); + int i_193_ = 256 - i_191_; + for (int i_194_ = 0; i_194_ < i_187_; i_194_++) { + int i_195_ = this.anIntArray7483[i_190_ + i_194_]; + i_195_ = (((i_195_ & 0xff00ff) * i_193_ >> 8 & 0xff00ff) + ((i_195_ & 0xff00) * i_193_ >> 8 & 0xff00)); + this.anIntArray7483[i_190_ + i_194_] = i_188_ + i_195_; + } + } else if (i_189_ == 2) { + for (int i_196_ = 0; i_196_ < i_187_; i_196_++) { + int i_197_ = this.anIntArray7483[i_190_ + i_196_]; + int i_198_ = i_188_ + i_197_; + int i_199_ = (i_188_ & 0xff00ff) + (i_197_ & 0xff00ff); + i_197_ = (i_199_ & 0x1000100) + (i_198_ - i_199_ & 0x10000); + this.anIntArray7483[i_190_ + i_196_] = i_198_ - i_197_ | i_197_ - (i_197_ >>> 8); + } + } else throw new IllegalArgumentException(); + } + } + + final void HA(int i, int i_200_, int i_201_, int i_202_, int[] is) { + float f = ((this.aClass101_Sub1_7492.aFloat5681) + ((this.aClass101_Sub1_7492.aFloat5662) * (float) i + (this.aClass101_Sub1_7492.aFloat5680) * (float) i_200_ + (this.aClass101_Sub1_7492.aFloat5664) * (float) i_201_)); + if (f >= (float) this.anInt7482 && f <= (float) this.anInt7494) { + int i_203_ = (int) ((float) this.anInt7491 * (this.aClass101_Sub1_7492.aFloat5686 + ((this.aClass101_Sub1_7492.aFloat5672) * (float) i + (this.aClass101_Sub1_7492.aFloat5673) * (float) i_200_ + (this.aClass101_Sub1_7492.aFloat5669) * (float) i_201_)) / (float) i_202_); + int i_204_ = (int) ((float) this.anInt7497 * (this.aClass101_Sub1_7492.aFloat5685 + ((this.aClass101_Sub1_7492.aFloat5655) * (float) i + (this.aClass101_Sub1_7492.aFloat5678) * (float) i_200_ + (this.aClass101_Sub1_7492.aFloat5666) * (float) i_201_)) / (float) i_202_); + if (i_203_ >= this.anInt7509 && i_203_ <= this.anInt7508 && i_204_ >= this.anInt7490 && i_204_ <= this.anInt7506) { + is[0] = i_203_ - this.anInt7509; + is[1] = i_204_ - this.anInt7490; + is[2] = (int) f; + } else is[0] = is[1] = is[2] = -1; + } else is[0] = is[1] = is[2] = -1; + } + + final boolean method3716() { + return aBoolean7470; + } + + final void method3658(int i, int i_205_, int i_206_, int i_207_) { + /* empty */ + } + + final void method3684(Component122 class98) { + Component385 class167 = method3724(Thread.currentThread()); + RenderableSub9 class318_sub9 = (class98.aClass88_1569.aClass318_Sub9_1503); + for (RenderableSub9 class318_sub9_208_ = class318_sub9.aClass318_Sub9_6469; class318_sub9_208_ != class318_sub9; class318_sub9_208_ = class318_sub9_208_.aClass318_Sub9_6469) { + RenderableSub9Sub2 class318_sub9_sub2 = (RenderableSub9Sub2) class318_sub9_208_; + int i = class318_sub9_sub2.anInt8791 >> 12; + int i_209_ = class318_sub9_sub2.anInt8796 >> 12; + int i_210_ = class318_sub9_sub2.anInt8789 >> 12; + float f = ((this.aClass101_Sub1_7492.aFloat5681) + ((this.aClass101_Sub1_7492.aFloat5662) * (float) i + (this.aClass101_Sub1_7492.aFloat5680) * (float) i_209_ + (this.aClass101_Sub1_7492.aFloat5664) * (float) i_210_)); + if (!(f < (float) this.anInt7482) && !(f > (float) class167.anInt2210)) { + int i_211_ = (this.anInt7510 + (int) ((float) this.anInt7491 * ((this.aClass101_Sub1_7492.aFloat5686) + ((this.aClass101_Sub1_7492.aFloat5672) * (float) i + (this.aClass101_Sub1_7492.aFloat5673) * (float) i_209_ + (this.aClass101_Sub1_7492.aFloat5669) * (float) i_210_)) / f)); + int i_212_ = (this.anInt7504 + (int) ((float) this.anInt7497 * ((this.aClass101_Sub1_7492.aFloat5685) + ((this.aClass101_Sub1_7492.aFloat5655) * (float) i + (this.aClass101_Sub1_7492.aFloat5678) * (float) i_209_ + (this.aClass101_Sub1_7492.aFloat5666) * (float) i_210_)) / f)); + if (i_211_ >= this.anInt7496 && i_211_ <= this.anInt7507 && i_212_ >= this.anInt7476 && i_212_ <= this.anInt7503) { + if (f == 0.0F) f = 1.0F; + method3712(class318_sub9_sub2, i_211_, i_212_, (int) f, (int) ((float) ((class318_sub9_sub2.anInt8793 * this.anInt7491) >> 12) / f)); + } + } + } + } + + final void method3700(float f, float f_213_, float f_214_) { + /* empty */ + } + + final Component24 method3683(int i, int i_215_, int i_216_, int i_217_, boolean bool) { + int[] is = new int[i_216_ * i_217_]; + int i_218_ = i_215_ * this.anInt7477 + i; + int i_219_ = this.anInt7477 - i_216_; + for (int i_220_ = 0; i_220_ < i_217_; i_220_++) { + int i_221_ = i_220_ * i_216_; + for (int i_222_ = 0; i_222_ < i_216_; i_222_++) + is[i_221_ + i_222_] = this.anIntArray7483[i_218_++]; + i_218_ += i_219_; + } + if (bool) return new SpriteSub3Sub3(this, is, i_216_, i_217_); + return new SpriteCapture(this, is, i_216_, i_217_); + } + + private final void method3717() { + for (int i = 0; i < this.anInt7485; i++) + aClass167Array7480[i].method1292(64); + la(); + } + + final boolean method3682() { + return false; + } + + final boolean method3670() { + return false; + } + + final void DA(int i, int i_223_, int i_224_, int i_225_) { + this.anInt7510 = i; + this.anInt7504 = i_223_; + this.anInt7491 = i_224_; + this.anInt7497 = i_225_; + method3713(); + } + + final void method3701(Canvas canvas) { + if (aCanvas7468 == canvas) method3677(null); + Sprite class348_sub31 = ((Sprite) aClass356_7467.get(canvas.hashCode(), -6008)); + if (class348_sub31 != null) class348_sub31.unlink((byte) 100); + } + + final void L(int i, int i_226_, int i_227_) { + for (int i_228_ = 0; i_228_ < aClass167Array7480.length; i_228_++) { + Component385 class167 = aClass167Array7480[i_228_]; + class167.anInt2192 = i & 0xffffff; + int i_229_ = class167.anInt2192 >>> 16 & 0xff; + if (i_229_ < 2) i_229_ = 2; + int i_230_ = class167.anInt2192 >> 8 & 0xff; + if (i_230_ < 2) i_230_ = 2; + int i_231_ = class167.anInt2192 & 0xff; + if (i_231_ < 2) i_231_ = 2; + class167.anInt2192 = i_229_ << 16 | i_230_ << 8 | i_231_; + class167.aBoolean2201 = i_226_ >= 0; + } + } + + final boolean method3627() { + return false; + } + + final void method3643(Canvas canvas, int i, int i_232_) { + Sprite class348_sub31 = ((Sprite) aClass356_7467.get(canvas.hashCode(), -6008)); + if (class348_sub31 == null) { + class348_sub31 = Component338.method1035(9029, i_232_, canvas, i); + aClass356_7467.put((byte) 21, canvas.hashCode(), class348_sub31); + } else if (class348_sub31.anInt6917 != i || class348_sub31.anInt6920 != i_232_) method3669(canvas, i, i_232_); + } + + final void b(int i, int i_233_, int i_234_, int i_235_, double d) { + int i_236_ = anInt7495 - i_234_; + int i_237_ = i_233_ * anInt7495 + i; + float[] fs = this.aFloatArray7511; + int i_238_ = 0; + while (i_238_ < i_235_) { + int i_239_ = 0; + while (i_239_ < i_234_) { + float f = fs[i_237_]; + if (f != 2.14748365E9F) fs[i_237_] = (float) ((double) f + d); + i_239_++; + i_237_++; + } + i_238_++; + i_237_ += i_236_; + } + } + + final void method3633() { + /* empty */ + } + + final void method3631(int i) { + this.anInt7485 = i; + aClass167Array7480 = new Component385[this.anInt7485]; + for (int i_240_ = 0; i_240_ < this.anInt7485; i_240_++) + aClass167Array7480[i_240_] = new Component385(this); + } + + final void method3709(int i, int i_241_, int i_242_, int i_243_, int i_244_, int i_245_) { + i_242_ -= i; + i_243_ -= i_241_; + if (i_243_ == 0) { + if (i_242_ >= 0) U(i, i_241_, i_242_ + 1, i_244_, i_245_); + else U(i + i_242_, i_241_, -i_242_ + 1, i_244_, i_245_); + } else if (i_242_ == 0) { + if (i_243_ >= 0) P(i, i_241_, i_243_ + 1, i_244_, i_245_); + else P(i, i_241_ + i_243_, -i_243_ + 1, i_244_, i_245_); + } else { + if (i_242_ + i_243_ < 0) { + i += i_242_; + i_242_ = -i_242_; + i_241_ += i_243_; + i_243_ = -i_243_; + } + if (i_242_ > i_243_) { + i_241_ <<= 16; + i_241_ += 32768; + i_243_ <<= 16; + int i_246_ = (int) Math.floor((double) i_243_ / (double) i_242_ + 0.5); + i_242_ += i; + if (i < this.anInt7496) { + i_241_ += i_246_ * (this.anInt7496 - i); + i = this.anInt7496; + } + if (i_242_ >= this.anInt7507) i_242_ = this.anInt7507 - 1; + int i_247_ = i_244_ >>> 24; + if (i_245_ == 0 || i_245_ == 1 && i_247_ == 255) { + for (/**/; i <= i_242_; i++) { + int i_248_ = i_241_ >> 16; + if (i_248_ >= this.anInt7476 && i_248_ < this.anInt7503) this.anIntArray7483[i + i_248_ * this.anInt7477] = i_244_; + i_241_ += i_246_; + } + return; + } + if (i_245_ == 1) { + i_244_ = (((i_244_ & 0xff00ff) * i_247_ >> 8 & 0xff00ff) + ((i_244_ & 0xff00) * i_247_ >> 8 & 0xff00) + (i_247_ << 24)); + int i_249_ = 256 - i_247_; + for (/**/; i <= i_242_; i++) { + int i_250_ = i_241_ >> 16; + if (i_250_ >= this.anInt7476 && i_250_ < this.anInt7503) { + int i_251_ = i + i_250_ * this.anInt7477; + int i_252_ = this.anIntArray7483[i_251_]; + i_252_ = (((i_252_ & 0xff00ff) * i_249_ >> 8 & 0xff00ff) + ((i_252_ & 0xff00) * i_249_ >> 8 & 0xff00)); + this.anIntArray7483[i_251_] = i_244_ + i_252_; + } + i_241_ += i_246_; + } + return; + } + if (i_245_ == 2) { + for (/**/; i <= i_242_; i++) { + int i_253_ = i_241_ >> 16; + if (i_253_ >= this.anInt7476 && i_253_ < this.anInt7503) { + int i_254_ = i + i_253_ * this.anInt7477; + int i_255_ = this.anIntArray7483[i_254_]; + int i_256_ = i_244_ + i_255_; + int i_257_ = (i_244_ & 0xff00ff) + (i_255_ & 0xff00ff); + i_255_ = (i_257_ & 0x1000100) + (i_256_ - i_257_ & 0x10000); + this.anIntArray7483[i_254_] = i_256_ - i_255_ | i_255_ - (i_255_ >>> 8); + } + i_241_ += i_246_; + } + return; + } + throw new IllegalArgumentException(); + } + i <<= 16; + i += 32768; + i_242_ <<= 16; + int i_258_ = (int) Math.floor((double) i_242_ / (double) i_243_ + 0.5); + i_243_ += i_241_; + if (i_241_ < this.anInt7476) { + i += i_258_ * (this.anInt7476 - i_241_); + i_241_ = this.anInt7476; + } + if (i_243_ >= this.anInt7503) i_243_ = this.anInt7503 - 1; + int i_259_ = i_244_ >>> 24; + if (i_245_ == 0 || i_245_ == 1 && i_259_ == 255) { + for (/**/; i_241_ <= i_243_; i_241_++) { + int i_260_ = i >> 16; + if (i_260_ >= this.anInt7496 && i_260_ < this.anInt7507) this.anIntArray7483[i_260_ + i_241_ * this.anInt7477] = i_244_; + i += i_258_; + } + } else if (i_245_ == 1) { + i_244_ = (((i_244_ & 0xff00ff) * i_259_ >> 8 & 0xff00ff) + ((i_244_ & 0xff00) * i_259_ >> 8 & 0xff00) + (i_259_ << 24)); + int i_261_ = 256 - i_259_; + for (/**/; i_241_ <= i_243_; i_241_++) { + int i_262_ = i >> 16; + if (i_262_ >= this.anInt7496 && i_262_ < this.anInt7507) { + int i_263_ = i_262_ + i_241_ * this.anInt7477; + int i_264_ = this.anIntArray7483[i_263_]; + i_264_ = (((i_264_ & 0xff00ff) * i_261_ >> 8 & 0xff00ff) + ((i_264_ & 0xff00) * i_261_ >> 8 & 0xff00)); + this.anIntArray7483[i_262_ + i_241_ * this.anInt7477] = i_244_ + i_264_; + } + i += i_258_; + } + } else if (i_245_ == 2) { + for (/**/; i_241_ <= i_243_; i_241_++) { + int i_265_ = i >> 16; + if (i_265_ >= this.anInt7496 && i_265_ < this.anInt7507) { + int i_266_ = i_265_ + i_241_ * this.anInt7477; + int i_267_ = this.anIntArray7483[i_266_]; + int i_268_ = i_244_ + i_267_; + int i_269_ = (i_244_ & 0xff00ff) + (i_267_ & 0xff00ff); + i_267_ = (i_269_ & 0x1000100) + (i_268_ - i_269_ & 0x10000); + this.anIntArray7483[i_266_] = i_268_ - i_267_ | i_267_ - (i_267_ >>> 8); + } + i += i_258_; + } + } else throw new IllegalArgumentException(); + } + } + + final void method3676(int i, int i_270_, int i_271_, int i_272_, int i_273_, int i_274_, int i_275_, int i_276_, int i_277_, int i_278_, int i_279_, int i_280_, int i_281_) { + Component385 class167 = method3724(Thread.currentThread()); + Component8 class109 = class167.aClass109_2220; + class109.aBoolean1669 = false; + i -= this.anInt7509; + i_272_ -= this.anInt7509; + i_275_ -= this.anInt7509; + i_270_ -= this.anInt7490; + i_273_ -= this.anInt7490; + i_276_ -= this.anInt7490; + class109.aBoolean1671 = (i < 0 || i > class109.anInt1679 || i_272_ < 0 || i_272_ > class109.anInt1679 || i_275_ < 0 || i_275_ > class109.anInt1679); + int i_282_ = i_278_ >>> 24; + if (i_281_ == 0 || i_281_ == 1 && i_282_ == 255) { + class109.anInt1674 = 0; + class109.aBoolean1667 = false; + class109.method1027((float) i_270_, (float) i_273_, (float) i_276_, (float) i, (float) i_272_, (float) i_275_, (float) i_271_, (float) i_274_, (float) i_277_, i_278_, i_279_, i_280_); + } else if (i_281_ == 1) { + class109.anInt1674 = 255 - i_282_; + class109.aBoolean1667 = false; + class109.method1027((float) i_270_, (float) i_273_, (float) i_276_, (float) i, (float) i_272_, (float) i_275_, (float) i_271_, (float) i_274_, (float) i_277_, i_278_, i_279_, i_280_); + } else if (i_281_ == 2) { + class109.anInt1674 = 128; + class109.aBoolean1667 = true; + class109.method1027((float) i_270_, (float) i_273_, (float) i_276_, (float) i, (float) i_272_, (float) i_275_, (float) i_271_, (float) i_274_, (float) i_277_, i_278_, i_279_, i_280_); + } else throw new IllegalArgumentException(); + class109.aBoolean1669 = true; + } + + final BitmapFont method3686(Component184 class143, Component170[] class207s, boolean bool) { + int[] is = new int[class207s.length]; + int[] is_283_ = new int[class207s.length]; + boolean bool_284_ = false; + for (int i = 0; i < class207s.length; i++) { + is[i] = class207s[i].anInt2702; + is_283_[i] = class207s[i].anInt2696; + if (class207s[i].aByteArray2695 != null) bool_284_ = true; + } + if (bool) { + if (bool_284_) return new SoftwareBitmapFont3(this, class143, class207s, is, is_283_); + return new SoftwareBitmapFont(this, class143, class207s, is, is_283_); + } + if (bool_284_) throw new IllegalArgumentException(""); + return new SoftwareBitmapFont2(this, class143, class207s, is, is_283_); + } + + final Interface4 method3634(Interface3 interface3, Interface13 interface13) { + return new Component297(this, (Component24) interface3, (Component43) interface13); + } + + final void C(boolean bool) { + Component385 class167 = method3724(Thread.currentThread()); + class167.aBoolean2202 = bool; + } + + final void method3636(int i, int i_285_, int i_286_, int i_287_, int i_288_, int i_289_, Shader var_aa, int i_290_, int i_291_) { + ShaderSub3 var_aa_Sub3 = (ShaderSub3) var_aa; + int[] is = var_aa_Sub3.anIntArray5201; + int[] is_292_ = var_aa_Sub3.anIntArray5202; + int i_293_ = (Math.max(this.anInt7476, i_291_)); + int i_294_ = (Math.min(this.anInt7503, i_291_ + is.length)); + i_286_ -= i; + i_287_ -= i_285_; + if (i_286_ + i_287_ < 0) { + i += i_286_; + i_286_ = -i_286_; + i_285_ += i_287_; + i_287_ = -i_287_; + } + if (i_286_ > i_287_) { + i_285_ <<= 16; + i_285_ += 32768; + i_287_ <<= 16; + int i_295_ = (int) Math.floor((double) i_287_ / (double) i_286_ + 0.5); + i_286_ += i; + if (i < this.anInt7496) { + i_285_ += i_295_ * (this.anInt7496 - i); + i = this.anInt7496; + } + if (i_286_ >= this.anInt7507) i_286_ = this.anInt7507 - 1; + int i_296_ = i_288_ >>> 24; + if (i_289_ == 0 || i_289_ == 1 && i_296_ == 255) { + for (/**/; i <= i_286_; i++) { + int i_297_ = i_285_ >> 16; + int i_298_ = i_297_ - i_291_; + if (i_297_ >= i_293_ && i_297_ < i_294_) { + int i_299_ = i_290_ + is[i_298_]; + if (i >= i_299_ && i < i_299_ + is_292_[i_298_]) this.anIntArray7483[i + i_297_ * this.anInt7477] = i_288_; + } + i_285_ += i_295_; + } + return; + } + if (i_289_ == 1) { + i_288_ = (((i_288_ & 0xff00ff) * i_296_ >> 8 & 0xff00ff) + ((i_288_ & 0xff00) * i_296_ >> 8 & 0xff00) + (i_296_ << 24)); + int i_300_ = 256 - i_296_; + for (/**/; i <= i_286_; i++) { + int i_301_ = i_285_ >> 16; + int i_302_ = i_301_ - i_291_; + if (i_301_ >= i_293_ && i_301_ < i_294_) { + int i_303_ = i_290_ + is[i_302_]; + if (i >= i_303_ && i < i_303_ + is_292_[i_302_]) { + int i_304_ = i + i_301_ * this.anInt7477; + int i_305_ = this.anIntArray7483[i_304_]; + i_305_ = (((i_305_ & 0xff00ff) * i_300_ >> 8 & 0xff00ff) + ((i_305_ & 0xff00) * i_300_ >> 8 & 0xff00)); + this.anIntArray7483[i_304_] = i_288_ + i_305_; + } + } + i_285_ += i_295_; + } + return; + } + if (i_289_ == 2) { + for (/**/; i <= i_286_; i++) { + int i_306_ = i_285_ >> 16; + int i_307_ = i_306_ - i_291_; + if (i_306_ >= i_293_ && i_306_ < i_294_) { + int i_308_ = i_290_ + is[i_307_]; + if (i >= i_308_ && i < i_308_ + is_292_[i_307_]) { + int i_309_ = i + i_306_ * this.anInt7477; + int i_310_ = this.anIntArray7483[i_309_]; + int i_311_ = i_288_ + i_310_; + int i_312_ = (i_288_ & 0xff00ff) + (i_310_ & 0xff00ff); + i_310_ = (i_312_ & 0x1000100) + (i_311_ - i_312_ & 0x10000); + this.anIntArray7483[i_309_] = i_311_ - i_310_ | i_310_ - (i_310_ >>> 8); + } + } + i_285_ += i_295_; + } + return; + } + throw new IllegalArgumentException(); + } + i <<= 16; + i += 32768; + i_286_ <<= 16; + int i_313_ = (int) Math.floor((double) i_286_ / (double) i_287_ + 0.5); + i_287_ += i_285_; + if (i_285_ < i_293_) { + i += i_313_ * (i_293_ - i_285_); + i_285_ = i_293_; + } + if (i_287_ >= i_294_) i_287_ = i_294_ - 1; + int i_314_ = i_288_ >>> 24; + if (i_289_ == 0 || i_289_ == 1 && i_314_ == 255) { + for (/**/; i_285_ <= i_287_; i_285_++) { + int i_315_ = i >> 16; + int i_316_ = i_285_ - i_291_; + int i_317_ = i_290_ + is[i_316_]; + if (i_315_ >= this.anInt7496 && i_315_ < this.anInt7507 && i_315_ >= i_317_ && i_315_ < i_317_ + is_292_[i_316_]) this.anIntArray7483[i_315_ + i_285_ * this.anInt7477] = i_288_; + i += i_313_; + } + } else if (i_289_ == 1) { + i_288_ = (((i_288_ & 0xff00ff) * i_314_ >> 8 & 0xff00ff) + ((i_288_ & 0xff00) * i_314_ >> 8 & 0xff00) + (i_314_ << 24)); + int i_318_ = 256 - i_314_; + for (/**/; i_285_ <= i_287_; i_285_++) { + int i_319_ = i >> 16; + int i_320_ = i_285_ - i_291_; + int i_321_ = i_290_ + is[i_320_]; + if (i_319_ >= this.anInt7496 && i_319_ < this.anInt7507 && i_319_ >= i_321_ && i_319_ < i_321_ + is_292_[i_320_]) { + int i_322_ = i_319_ + i_285_ * this.anInt7477; + int i_323_ = this.anIntArray7483[i_322_]; + i_323_ = (((i_323_ & 0xff00ff) * i_318_ >> 8 & 0xff00ff) + ((i_323_ & 0xff00) * i_318_ >> 8 & 0xff00)); + this.anIntArray7483[i_319_ + i_285_ * this.anInt7477] = i_288_ + i_323_; + } + i += i_313_; + } + } else if (i_289_ == 2) { + for (/**/; i_285_ <= i_287_; i_285_++) { + int i_324_ = i >> 16; + int i_325_ = i_285_ - i_291_; + int i_326_ = i_290_ + is[i_325_]; + if (i_324_ >= this.anInt7496 && i_324_ < this.anInt7507 && i_324_ >= i_326_ && i_324_ < i_326_ + is_292_[i_325_]) { + int i_327_ = i_324_ + i_285_ * this.anInt7477; + int i_328_ = this.anIntArray7483[i_327_]; + int i_329_ = i_288_ + i_328_; + int i_330_ = (i_288_ & 0xff00ff) + (i_328_ & 0xff00ff); + i_328_ = (i_330_ & 0x1000100) + (i_329_ - i_330_ & 0x10000); + this.anIntArray7483[i_327_] = i_329_ - i_328_ | i_328_ - (i_328_ >>> 8); + } + i += i_313_; + } + } else throw new IllegalArgumentException(); + } + + final int XA() { + return this.anInt7494; + } + + final void T(int i, int i_331_, int i_332_, int i_333_) { + if (this.anInt7496 < i) this.anInt7496 = i; + if (this.anInt7476 < i_331_) this.anInt7476 = i_331_; + if (this.anInt7507 > i_332_) this.anInt7507 = i_332_; + if (this.anInt7503 > i_333_) this.anInt7503 = i_333_; + method3713(); + } + + final void fillRect(int i, int i_334_, int i_335_, int i_336_, int i_337_, int i_338_) { + if (i < this.anInt7496) { + i_335_ -= this.anInt7496 - i; + i = this.anInt7496; + } + if (i_334_ < this.anInt7476) { + i_336_ -= this.anInt7476 - i_334_; + i_334_ = this.anInt7476; + } + if (i + i_335_ > this.anInt7507) i_335_ = this.anInt7507 - i; + if (i_334_ + i_336_ > this.anInt7503) i_336_ = this.anInt7503 - i_334_; + if (i_335_ > 0 && i_336_ > 0 && i <= this.anInt7507 && i_334_ <= this.anInt7503) { + int i_339_ = this.anInt7477 - i_335_; + int i_340_ = i + i_334_ * this.anInt7477; + int i_341_ = i_337_ >>> 24; + if (i_338_ == 0 || i_338_ == 1 && i_341_ == 255) { + int i_342_ = i_335_ >> 3; + int i_343_ = i_335_ & 0x7; + i_335_ = i_340_ - 1; + for (int i_344_ = -i_336_; i_344_ < 0; i_344_++) { + if (i_342_ > 0) { + i = i_342_; + do { + this.anIntArray7483[++i_335_] = i_337_; + this.anIntArray7483[++i_335_] = i_337_; + this.anIntArray7483[++i_335_] = i_337_; + this.anIntArray7483[++i_335_] = i_337_; + this.anIntArray7483[++i_335_] = i_337_; + this.anIntArray7483[++i_335_] = i_337_; + this.anIntArray7483[++i_335_] = i_337_; + this.anIntArray7483[++i_335_] = i_337_; + } while (--i > 0); + } + if (i_343_ > 0) { + i = i_343_; + do this.anIntArray7483[++i_335_] = i_337_; while (--i > 0); + } + i_335_ += i_339_; + } + } else if (i_338_ == 1) { + i_337_ = (((i_337_ & 0xff00ff) * i_341_ >> 8 & 0xff00ff) + (((i_337_ & ~0xff00ff) >>> 8) * i_341_ & ~0xff00ff)); + int i_345_ = 256 - i_341_; + for (int i_346_ = 0; i_346_ < i_336_; i_346_++) { + for (int i_347_ = -i_335_; i_347_ < 0; i_347_++) { + int i_348_ = this.anIntArray7483[i_340_]; + i_348_ = (((i_348_ & 0xff00ff) * i_345_ >> 8 & 0xff00ff) + (((i_348_ & ~0xff00ff) >>> 8) * i_345_ & ~0xff00ff)); + this.anIntArray7483[i_340_++] = i_337_ + i_348_; + } + i_340_ += i_339_; + } + } else if (i_338_ == 2) { + for (int i_349_ = 0; i_349_ < i_336_; i_349_++) { + for (int i_350_ = -i_335_; i_350_ < 0; i_350_++) { + int i_351_ = this.anIntArray7483[i_340_]; + int i_352_ = i_337_ + i_351_; + int i_353_ = (i_337_ & 0xff00ff) + (i_351_ & 0xff00ff); + i_351_ = (i_353_ & 0x1000100) + (i_352_ - i_353_ & 0x10000); + this.anIntArray7483[i_340_++] = i_352_ - i_351_ | i_351_ - (i_351_ >>> 8); + } + i_340_ += i_339_; + } + } else throw new IllegalArgumentException(); + } + } + + final int[] method3718(int i) { + NodeSub25 class348_sub25; + synchronized (aClass60_7498) { + class348_sub25 = (NodeSub25) aClass60_7498.get(i, 77); + if (class348_sub25 == null) { + if (!this.aD4579.method4(-7953, i)) return null; + Component319 class12 = this.aD4579.method3(i, -6662); + int i_354_ = (class12.aBoolean199 || aBoolean7489 ? 64 : this.anInt7501); + class348_sub25 = new NodeSub25(i, i_354_, this.aD4579.method5(true, i, 0.7F, i_354_, i_354_, 71), class12.anInt200 != 1); + aClass60_7498.putOne(class348_sub25, i, (byte) -122); + } + } + class348_sub25.aBoolean6882 = true; + return class348_sub25.method2997(); + } + + final void method3652() { + if (aBoolean7471) { + CookieManager.method2173(false, -101, true); + aBoolean7471 = false; + } + this.aClass348_Sub31_7469 = null; + aCanvas7468 = null; + anInt7465 = 0; + anInt7472 = 0; + aClass356_7467 = null; + aBoolean7470 = true; + } + + final DisplayModeManagerContainer204 method3640() { + return this.aClass101_Sub1_7492; + } + + GlToolkitSub1(Canvas canvas, d var_d, int i, int i_355_) { + this(var_d); + try { + method3643(canvas, i, i_355_); + method3677(canvas); + } catch (Throwable throwable) { + throwable.printStackTrace(); + this.method3635((byte) -115); + throw new RuntimeException(""); + } + } + + final int[] method3719(int i) { + NodeSub25 class348_sub25; + synchronized (aClass60_7498) { + class348_sub25 = ((NodeSub25) aClass60_7498.get((long) i | ~0x7fffffffffffffffL, 107)); + if (class348_sub25 == null) { + if (!this.aD4579.method4(-7953, i)) return null; + Component319 class12 = this.aD4579.method3(i, -6662); + int i_356_ = (class12.aBoolean199 || aBoolean7489 ? 64 : this.anInt7501); + class348_sub25 = new NodeSub25(i, i_356_, this.aD4579.method6(-21540, i_356_, 0.7F, i, true, i_356_), class12.anInt200 != 1); + aClass60_7498.putOne(class348_sub25, (long) i | ~0x7fffffffffffffffL, (byte) -126); + } + } + class348_sub25.aBoolean6882 = true; + return class348_sub25.method2997(); + } + + final s method3648(int i, int i_357_, int[][] is, int[][] is_358_, int i_359_, int i_360_, int i_361_) { + return new BufferCacheSub1(this, i_360_, i_361_, i, i_357_, is, is_358_, i_359_); + } + + final void H(int i, int i_362_, int i_363_, int[] is) { + float f = ((this.aClass101_Sub1_7492.aFloat5681) + ((this.aClass101_Sub1_7492.aFloat5662) * (float) i + (this.aClass101_Sub1_7492.aFloat5680) * (float) i_362_ + (this.aClass101_Sub1_7492.aFloat5664) * (float) i_363_)); + if (f == 0.0F) is[0] = is[1] = is[2] = -1; + else { + int i_364_ = (int) ((float) this.anInt7491 * (this.aClass101_Sub1_7492.aFloat5686 + ((this.aClass101_Sub1_7492.aFloat5672) * (float) i + (this.aClass101_Sub1_7492.aFloat5673) * (float) i_362_ + (this.aClass101_Sub1_7492.aFloat5669) * (float) i_363_)) / f); + int i_365_ = (int) ((float) this.anInt7497 * (this.aClass101_Sub1_7492.aFloat5685 + ((this.aClass101_Sub1_7492.aFloat5655) * (float) i + (this.aClass101_Sub1_7492.aFloat5678) * (float) i_362_ + (this.aClass101_Sub1_7492.aFloat5666) * (float) i_363_)) / f); + is[0] = i_364_ - this.anInt7509; + is[1] = i_365_ - this.anInt7490; + is[2] = (int) f; + } + } + + final DisplayModeManagerContainer204 method3654() { + return new MatrixSub1(); + } + + final void la() { + this.anInt7496 = 0; + this.anInt7476 = 0; + this.anInt7507 = this.anInt7477; + this.anInt7503 = anInt7486; + method3713(); + } + + final DisplayModeManagerContainer370 method3625(DisplayModeManagerContainer77 class124, int i, int i_366_, int i_367_, int i_368_) { + return new DisplayModeManagerContainer164(this, class124, i, i_367_, i_368_, i_366_); + } + + final Interface13 method3624(int i, int i_369_) { + return new Component43(i, i_369_); + } + + final void method3632(int[] is) { + is[0] = this.anInt7477; + is[1] = anInt7486; + } + + final void F(int i, int i_370_) { + int i_371_ = i_370_ * this.anInt7477 + i; + int i_372_ = i_370_ * anInt7495 + i; + if (i_371_ != 0 || i_372_ != 0) { + int[] is = this.anIntArray7483; + float[] fs = this.aFloatArray7511; + if (i_371_ < 0) { + int i_373_ = is.length + i_371_; + Component313.method1578(is, -i_371_, is, 0, i_373_); + } else if (i_371_ > 0) { + int i_374_ = is.length - i_371_; + Component313.method1578(is, 0, is, i_371_, i_374_); + } + if (i_372_ < 0) { + int i_375_ = fs.length + i_372_; + Component313.method1574(fs, -i_372_, fs, 0, i_375_); + } else if (i_372_ > 0) { + int i_376_ = fs.length - i_372_; + Component313.method1574(fs, 0, fs, i_372_, i_376_); + } + } + } + + final void method3687(Interface4 interface4) { + Component297 class49 = (Component297) interface4; + this.anInt7477 = class49.anInt4725; + anInt7486 = class49.anInt4722; + this.anIntArray7483 = class49.anIntArray4731; + aClass49_7475 = class49; + anInt7495 = class49.anInt4725; + anInt7488 = class49.anInt4722; + this.aFloatArray7511 = class49.aFloatArray4719; + method3717(); + } + + final void method3720(int i, int i_377_, int i_378_, int i_379_, int i_380_, int i_381_, int i_382_, int i_383_, int i_384_, int i_385_) { + if (i_379_ != 0 && i_380_ != 0) { + if (i_382_ != 65535 && !(this.aD4579.method3(i_382_, -6662).aBoolean209)) { + if (anInt7512 != i_382_) { + Component24 class105 = ((Component24) aClass60_7499.get(i_382_, 97)); + if (class105 == null) { + int[] is = method3719(i_382_); + if (is == null) return; + int i_386_ = (method3727(i_382_) ? 64 : this.anInt7501); + class105 = this.method3662(i_386_, is, (byte) 94, 0, i_386_, i_386_); + aClass60_7499.putOne(class105, i_382_, (byte) -100); + } + anInt7512 = i_382_; + aClass105_7513 = class105; + } + ((SpriteSub3) aClass105_7513).method996(i - i_379_, i_377_ - i_380_, i_378_, i_379_ << 1, i_380_ << 1, i_384_, i_383_, i_385_, 1); + } else method3723(i, i_377_, i_378_, i_379_, i_383_, i_385_); + } + } + + final void method3653(Component80 class299) { + /* empty */ + } + + final void EA(int i, int i_387_, int i_388_, int i_389_) { + Component385 class167 = method3724(Thread.currentThread()); + class167.anInt2211 = i; + class167.anInt2192 = i_387_; + class167.anInt2197 = i_388_; + } + + private final void method3721(int i, int i_390_, int i_391_, int i_392_, int i_393_, int i_394_, int i_395_, int i_396_) { + if (i >= this.anInt7496 && i < this.anInt7507) { + int i_397_ = i + i_390_ * this.anInt7477; + int i_398_ = i_392_ >>> 24; + int i_399_ = i_394_ + i_395_; + int i_400_ = i_396_ % i_399_; + if (i_393_ == 0 || i_393_ == 1 && i_398_ == 255) { + int i_401_ = 0; + while (i_401_ < i_391_) { + if (i_390_ + i_401_ >= this.anInt7476 && i_390_ + i_401_ < this.anInt7503 && i_400_ < i_394_) this.anIntArray7483[i_397_ + i_401_ * this.anInt7477] = i_392_; + i_401_++; + i_400_ = ++i_400_ % i_399_; + } + } else if (i_393_ == 1) { + i_392_ = (((i_392_ & 0xff00ff) * i_398_ >> 8 & 0xff00ff) + ((i_392_ & 0xff00) * i_398_ >> 8 & 0xff00) + (i_398_ << 24)); + int i_402_ = 256 - i_398_; + int i_403_ = 0; + while (i_403_ < i_391_) { + if (i_390_ + i_403_ >= this.anInt7476 && i_390_ + i_403_ < this.anInt7503 && i_400_ < i_394_) { + int i_404_ = i_397_ + i_403_ * this.anInt7477; + int i_405_ = this.anIntArray7483[i_404_]; + i_405_ = (((i_405_ & 0xff00ff) * i_402_ >> 8 & 0xff00ff) + ((i_405_ & 0xff00) * i_402_ >> 8 & 0xff00)); + this.anIntArray7483[i_404_] = i_392_ + i_405_; + } + i_403_++; + i_400_ = ++i_400_ % i_399_; + } + } else if (i_393_ == 2) { + int i_406_ = 0; + while (i_406_ < i_391_) { + if (i_390_ + i_406_ >= this.anInt7476 && i_390_ + i_406_ < this.anInt7503 && i_400_ < i_394_) { + int i_407_ = i_397_ + i_406_ * this.anInt7477; + int i_408_ = this.anIntArray7483[i_407_]; + int i_409_ = i_392_ + i_408_; + int i_410_ = (i_392_ & 0xff00ff) + (i_408_ & 0xff00ff); + i_408_ = (i_410_ & 0x1000100) + (i_409_ - i_410_ & 0x10000); + this.anIntArray7483[i_407_] = i_409_ - i_408_ | i_408_ - (i_408_ >>> 8); + } + i_406_++; + i_400_ = ++i_400_ % i_399_; + } + } else throw new IllegalArgumentException(); + } + } + + final void method3677(Canvas canvas) { + if (canvas == null) { + aCanvas7468 = null; + this.aClass348_Sub31_7469 = null; + if (aClass49_7475 == null) { + this.anIntArray7483 = null; + this.anInt7477 = anInt7486 = 1; + anInt7495 = anInt7488 = 1; + method3717(); + } + } else { + Sprite class348_sub31 = ((Sprite) aClass356_7467.get(canvas.hashCode(), -6008)); + if (class348_sub31 != null) { + aCanvas7468 = canvas; + Dimension dimension = canvas.getSize(); + anInt7465 = dimension.width; + anInt7472 = dimension.height; + this.aClass348_Sub31_7469 = class348_sub31; + if (aClass49_7475 == null) { + this.anIntArray7483 = class348_sub31.anIntArray6916; + this.anInt7477 = class348_sub31.anInt6917; + anInt7486 = class348_sub31.anInt6920; + if (this.anInt7477 != anInt7495 || anInt7486 != anInt7488) { + anInt7481 = anInt7495 = this.anInt7477; + anInt7493 = anInt7488 = anInt7486; + this.aFloatArray7502 = this.aFloatArray7511 = new float[anInt7495 * anInt7488]; + } + method3717(); + } + } + } + } + + final int JA(int i, int i_411_, int i_412_, int i_413_, int i_414_, int i_415_) { + int i_416_ = 0; + float f = ((this.aClass101_Sub1_7492.aFloat5662) * (float) i + (this.aClass101_Sub1_7492.aFloat5680) * (float) i_411_ + (this.aClass101_Sub1_7492.aFloat5664) * (float) i_412_ + (this.aClass101_Sub1_7492.aFloat5681)); + if (f < 1.0F) f = 1.0F; + float f_417_ = ((this.aClass101_Sub1_7492.aFloat5662) * (float) i_413_ + (this.aClass101_Sub1_7492.aFloat5680) * (float) i_414_ + (this.aClass101_Sub1_7492.aFloat5664) * (float) i_415_ + (this.aClass101_Sub1_7492.aFloat5681)); + if (f_417_ < 1.0F) f_417_ = 1.0F; + if (f < (float) this.anInt7482 && f_417_ < (float) this.anInt7482) i_416_ |= 0x10; + else if (f > (float) this.anInt7494 && f_417_ > (float) this.anInt7494) i_416_ |= 0x20; + int i_418_ = (int) ((float) this.anInt7491 * ((this.aClass101_Sub1_7492.aFloat5672) * (float) i + (this.aClass101_Sub1_7492.aFloat5673 * (float) i_411_) + (this.aClass101_Sub1_7492.aFloat5669 * (float) i_412_) + this.aClass101_Sub1_7492.aFloat5686) / f); + int i_419_ = (int) ((float) this.anInt7491 * ((this.aClass101_Sub1_7492.aFloat5672) * (float) i_413_ + (this.aClass101_Sub1_7492.aFloat5673 * (float) i_414_) + (this.aClass101_Sub1_7492.aFloat5669 * (float) i_415_) + this.aClass101_Sub1_7492.aFloat5686) / f_417_); + if (i_418_ < this.anInt7509 && i_419_ < this.anInt7509) i_416_ |= 0x1; + else if (i_418_ > this.anInt7508 && i_419_ > this.anInt7508) i_416_ |= 0x2; + int i_420_ = (int) ((float) this.anInt7497 * ((this.aClass101_Sub1_7492.aFloat5655) * (float) i + (this.aClass101_Sub1_7492.aFloat5678 * (float) i_411_) + (this.aClass101_Sub1_7492.aFloat5666 * (float) i_412_) + this.aClass101_Sub1_7492.aFloat5685) / f); + int i_421_ = (int) ((float) this.anInt7497 * ((this.aClass101_Sub1_7492.aFloat5655) * (float) i_413_ + (this.aClass101_Sub1_7492.aFloat5678 * (float) i_414_) + (this.aClass101_Sub1_7492.aFloat5666 * (float) i_415_) + this.aClass101_Sub1_7492.aFloat5685) / f_417_); + if (i_420_ < this.anInt7490 && i_421_ < this.anInt7490) i_416_ |= 0x4; + else if (i_420_ > this.anInt7506 && i_421_ > this.anInt7506) i_416_ |= 0x8; + return i_416_; + } + + final void method3678(int i) { + aClass167Array7480[i].method1291(10000, null); + } + + final void method3672() { + if (aCanvas7468 == null) { + this.anInt7477 = 1; + anInt7486 = 1; + this.anIntArray7483 = null; + anInt7495 = 1; + anInt7488 = 1; + this.aFloatArray7511 = null; + } else { + this.anIntArray7483 = (this.aClass348_Sub31_7469.anIntArray6916); + this.anInt7477 = (this.aClass348_Sub31_7469.anInt6917); + anInt7486 = (this.aClass348_Sub31_7469.anInt6920); + this.aFloatArray7511 = this.aFloatArray7502; + anInt7495 = anInt7481; + anInt7488 = anInt7493; + } + aClass49_7475 = null; + method3717(); + } + + final int method3722(int i) { + return (this.aD4579.method3(i, -6662).aShort208 & 0xffff); + } + + final boolean method3699() { + return false; + } + + final boolean method3671() { + return false; + } + + final Component24 method3711(int[] is, int i, int i_422_, int i_423_, int i_424_, boolean bool) { + boolean bool_425_ = false; + int i_426_ = i; + while_229_: + for (int i_427_ = 0; i_427_ < i_424_; i_427_++) { + for (int i_428_ = 0; i_428_ < i_423_; i_428_++) { + int i_429_ = is[i_426_++] >>> 24; + if (i_429_ != 0 && i_429_ != 255) { + bool_425_ = true; + break while_229_; + } + } + } + if (bool_425_) return new SpriteSub3Sub3(this, is, i, i_422_, i_423_, i_424_, bool); + return new SpriteCapture(this, is, i, i_422_, i_423_, i_424_, bool); + } + + final Component24 method3691(Component170 class207, boolean bool) { + int[] is = class207.anIntArray2697; + byte[] is_430_ = class207.aByteArray2699; + int i = class207.anInt2702; + int i_431_ = class207.anInt2696; + SpriteSub3 class105_sub3; + if (bool && class207.aByteArray2695 == null) { + int[] is_432_ = new int[is.length]; + byte[] is_433_ = new byte[i * i_431_]; + for (int i_434_ = 0; i_434_ < i_431_; i_434_++) { + int i_435_ = i_434_ * i; + for (int i_436_ = 0; i_436_ < i; i_436_++) + is_433_[i_435_ + i_436_] = is_430_[i_435_ + i_436_]; + } + for (int i_437_ = 0; i_437_ < is.length; i_437_++) + is_432_[i_437_] = is[i_437_]; + class105_sub3 = new SpriteSub3Sub2(this, is_433_, is_432_, i, i_431_); + } else { + int[] is_438_ = new int[i * i_431_]; + byte[] is_439_ = class207.aByteArray2695; + if (is_439_ == null) { + for (int i_443_ = 0; i_443_ < i_431_; i_443_++) { + int i_444_ = i_443_ * i; + for (int i_445_ = 0; i_445_ < i; i_445_++) { + int i_446_ = is[is_430_[i_444_ + i_445_] & 0xff]; + is_438_[i_444_ + i_445_] = i_446_ != 0 ? ~0xffffff | i_446_ : 0; + } + } + class105_sub3 = new SpriteCapture(this, is_438_, i, i_431_); + } else { + for (int i_440_ = 0; i_440_ < i_431_; i_440_++) { + int i_441_ = i_440_ * i; + for (int i_442_ = 0; i_442_ < i; i_442_++) + is_438_[i_441_ + i_442_] = (is[is_430_[i_441_ + i_442_] & 0xff] | is_439_[i_441_ + i_442_] << 24); + } + class105_sub3 = new SpriteSub3Sub3(this, is_438_, i, i_431_); + } + } + class105_sub3.method985(class207.anInt2703, class207.anInt2700, class207.anInt2698, class207.anInt2701); + return class105_sub3; + } + + private final void method3723(int i, int i_447_, int i_448_, int i_449_, int i_450_, int i_451_) { + if (i_449_ < 0) i_449_ = -i_449_; + int i_452_ = i_447_ - i_449_; + if (i_452_ < this.anInt7476) i_452_ = this.anInt7476; + int i_453_ = i_447_ + i_449_ + 1; + if (i_453_ > this.anInt7503) i_453_ = this.anInt7503; + int i_454_ = i_452_; + int i_455_ = i_449_ * i_449_; + int i_456_ = 0; + int i_457_ = i_447_ - i_454_; + int i_458_ = i_457_ * i_457_; + int i_459_ = i_458_ - i_457_; + if (i_447_ > i_453_) i_447_ = i_453_; + int i_460_ = i_450_ >>> 24; + if (i_451_ == 0 || i_451_ == 1 && i_460_ == 255) { + while (i_454_ < i_447_) { + for (/**/; i_459_ <= i_455_ || i_458_ <= i_455_; i_459_ += i_456_++ + i_456_) + i_458_ += i_456_ + i_456_; + int i_461_ = i - i_456_ + 1; + if (i_461_ < this.anInt7496) i_461_ = this.anInt7496; + int i_462_ = i + i_456_; + if (i_462_ > this.anInt7507) i_462_ = this.anInt7507; + int i_463_ = i_461_ + i_454_ * this.anInt7477; + for (int i_464_ = i_461_; i_464_ < i_462_; i_464_++) { + if ((float) i_448_ < this.aFloatArray7511[i_463_]) this.anIntArray7483[i_463_] = i_450_; + i_463_++; + } + i_454_++; + i_458_ -= i_457_-- + i_457_; + i_459_ -= i_457_ + i_457_; + } + i_456_ = i_449_; + i_457_ = i_454_ - i_447_; + i_459_ = i_457_ * i_457_ + i_455_; + i_458_ = i_459_ - i_456_; + i_459_ -= i_457_; + while (i_454_ < i_453_) { + for (/**/; i_459_ > i_455_ && i_458_ > i_455_; i_458_ -= i_456_ + i_456_) + i_459_ -= i_456_-- + i_456_; + int i_465_ = i - i_456_; + if (i_465_ < this.anInt7496) i_465_ = this.anInt7496; + int i_466_ = i + i_456_; + if (i_466_ > this.anInt7507 - 1) i_466_ = this.anInt7507 - 1; + int i_467_ = i_465_ + i_454_ * this.anInt7477; + for (int i_468_ = i_465_; i_468_ <= i_466_; i_468_++) { + if ((float) i_448_ < this.aFloatArray7511[i_467_]) this.anIntArray7483[i_467_] = i_450_; + i_467_++; + } + i_454_++; + i_459_ += i_457_ + i_457_; + i_458_ += i_457_++ + i_457_; + } + } else if (i_451_ == 1) { + i_450_ = (((i_450_ & 0xff00ff) * i_460_ >> 8 & 0xff00ff) + ((i_450_ & 0xff00) * i_460_ >> 8 & 0xff00) + (i_460_ << 24)); + int i_469_ = 256 - i_460_; + while (i_454_ < i_447_) { + for (/**/; i_459_ <= i_455_ || i_458_ <= i_455_; i_459_ += i_456_++ + i_456_) + i_458_ += i_456_ + i_456_; + int i_470_ = i - i_456_ + 1; + if (i_470_ < this.anInt7496) i_470_ = this.anInt7496; + int i_471_ = i + i_456_; + if (i_471_ > this.anInt7507) i_471_ = this.anInt7507; + int i_472_ = i_470_ + i_454_ * this.anInt7477; + for (int i_473_ = i_470_; i_473_ < i_471_; i_473_++) { + if ((float) i_448_ < this.aFloatArray7511[i_472_]) { + int i_474_ = this.anIntArray7483[i_472_]; + i_474_ = (((i_474_ & 0xff00ff) * i_469_ >> 8 & 0xff00ff) + ((i_474_ & 0xff00) * i_469_ >> 8 & 0xff00)); + this.anIntArray7483[i_472_] = i_450_ + i_474_; + } + i_472_++; + } + i_454_++; + i_458_ -= i_457_-- + i_457_; + i_459_ -= i_457_ + i_457_; + } + i_456_ = i_449_; + i_457_ = -i_457_; + i_459_ = i_457_ * i_457_ + i_455_; + i_458_ = i_459_ - i_456_; + i_459_ -= i_457_; + while (i_454_ < i_453_) { + for (/**/; i_459_ > i_455_ && i_458_ > i_455_; i_458_ -= i_456_ + i_456_) + i_459_ -= i_456_-- + i_456_; + int i_475_ = i - i_456_; + if (i_475_ < this.anInt7496) i_475_ = this.anInt7496; + int i_476_ = i + i_456_; + if (i_476_ > this.anInt7507 - 1) i_476_ = this.anInt7507 - 1; + int i_477_ = i_475_ + i_454_ * this.anInt7477; + for (int i_478_ = i_475_; i_478_ <= i_476_; i_478_++) { + if ((float) i_448_ < this.aFloatArray7511[i_477_]) { + int i_479_ = this.anIntArray7483[i_477_]; + i_479_ = (((i_479_ & 0xff00ff) * i_469_ >> 8 & 0xff00ff) + ((i_479_ & 0xff00) * i_469_ >> 8 & 0xff00)); + this.anIntArray7483[i_477_] = i_450_ + i_479_; + } + i_477_++; + } + i_454_++; + i_459_ += i_457_ + i_457_; + i_458_ += i_457_++ + i_457_; + } + } else if (i_451_ == 2) { + while (i_454_ < i_447_) { + for (/**/; i_459_ <= i_455_ || i_458_ <= i_455_; i_459_ += i_456_++ + i_456_) + i_458_ += i_456_ + i_456_; + int i_480_ = i - i_456_ + 1; + if (i_480_ < this.anInt7496) i_480_ = this.anInt7496; + int i_481_ = i + i_456_; + if (i_481_ > this.anInt7507) i_481_ = this.anInt7507; + int i_482_ = i_480_ + i_454_ * this.anInt7477; + for (int i_483_ = i_480_; i_483_ < i_481_; i_483_++) { + if ((float) i_448_ < this.aFloatArray7511[i_482_]) { + int i_484_ = this.anIntArray7483[i_482_]; + int i_485_ = i_450_ + i_484_; + int i_486_ = (i_450_ & 0xff00ff) + (i_484_ & 0xff00ff); + i_484_ = (i_486_ & 0x1000100) + (i_485_ - i_486_ & 0x10000); + this.anIntArray7483[i_482_] = i_485_ - i_484_ | i_484_ - (i_484_ >>> 8); + } + i_482_++; + } + i_454_++; + i_458_ -= i_457_-- + i_457_; + i_459_ -= i_457_ + i_457_; + } + i_456_ = i_449_; + i_457_ = -i_457_; + i_459_ = i_457_ * i_457_ + i_455_; + i_458_ = i_459_ - i_456_; + i_459_ -= i_457_; + while (i_454_ < i_453_) { + for (/**/; i_459_ > i_455_ && i_458_ > i_455_; i_458_ -= i_456_ + i_456_) + i_459_ -= i_456_-- + i_456_; + int i_487_ = i - i_456_; + if (i_487_ < this.anInt7496) i_487_ = this.anInt7496; + int i_488_ = i + i_456_; + if (i_488_ > this.anInt7507 - 1) i_488_ = this.anInt7507 - 1; + int i_489_ = i_487_ + i_454_ * this.anInt7477; + for (int i_490_ = i_487_; i_490_ <= i_488_; i_490_++) { + if ((float) i_448_ < this.aFloatArray7511[i_489_]) { + int i_491_ = this.anIntArray7483[i_489_]; + int i_492_ = i_450_ + i_491_; + int i_493_ = (i_450_ & 0xff00ff) + (i_491_ & 0xff00ff); + i_491_ = (i_493_ & 0x1000100) + (i_492_ - i_493_ & 0x10000); + this.anIntArray7483[i_489_] = i_492_ - i_491_ | i_491_ - (i_491_ >>> 8); + } + i_489_++; + } + i_454_++; + i_459_ += i_457_ + i_457_; + i_458_ += i_457_++ + i_457_; + } + } else throw new IllegalArgumentException(); + } + + final void method3688(int i, int i_494_, int i_495_, int i_496_, int i_497_, int i_498_, int i_499_) { + Component385 class167 = method3724(Thread.currentThread()); + Component8 class109 = class167.aClass109_2220; + int i_500_ = i_495_ - i; + int i_501_ = i_496_ - i_494_; + int i_502_ = i_500_ >= 0 ? i_500_ : -i_500_; + int i_503_ = i_501_ >= 0 ? i_501_ : -i_501_; + int i_504_ = i_502_; + if (i_504_ < i_503_) i_504_ = i_503_; + if (i_504_ != 0) { + int i_505_ = (i_500_ << 16) / i_504_; + int i_506_ = (i_501_ << 16) / i_504_; + i_500_ += i_505_ >> 16; + i_501_ += i_506_ >> 16; + if (i_506_ <= i_505_) i_505_ = -i_505_; + else i_506_ = -i_506_; + int i_507_ = i_498_ * i_506_ >> 17; + int i_508_ = i_498_ * i_506_ + 1 >> 17; + int i_509_ = i_498_ * i_505_ >> 17; + int i_510_ = i_498_ * i_505_ + 1 >> 17; + i -= class109.method1028(); + i_494_ -= class109.method1017(); + int i_511_ = i + i_507_; + int i_512_ = i - i_508_; + int i_513_ = i + i_500_ - i_508_; + int i_514_ = i + i_500_ + i_507_; + int i_515_ = i_494_ + i_509_; + int i_516_ = i_494_ - i_510_; + int i_517_ = i_494_ + i_501_ - i_510_; + int i_518_ = i_494_ + i_501_ + i_509_; + if (i_499_ == 0) class109.anInt1674 = 0; + else if (i_499_ == 1) class109.anInt1674 = 255 - (i_497_ >>> 24); + else throw new IllegalArgumentException(); + C(false); + class109.aBoolean1671 = (i_511_ < 0 || i_511_ > class109.anInt1679 || i_512_ < 0 || i_512_ > class109.anInt1679 || i_513_ < 0 || i_513_ > class109.anInt1679); + class109.method1018((float) i_515_, (float) i_516_, (float) i_517_, (float) i_511_, (float) i_512_, (float) i_513_, 100.0F, 100.0F, 100.0F, i_497_); + class109.aBoolean1671 = (i_511_ < 0 || i_511_ > class109.anInt1679 || i_513_ < 0 || i_513_ > class109.anInt1679 || i_514_ < 0 || i_514_ > class109.anInt1679); + class109.method1018((float) i_515_, (float) i_517_, (float) i_518_, (float) i_511_, (float) i_513_, (float) i_514_, 100.0F, 100.0F, 100.0F, i_497_); + C(true); + } + } + + final Component24 method3629(int i, int i_519_, boolean bool) { + if (bool) return new SpriteSub3Sub3(this, i, i_519_); + return new SpriteCapture(this, i, i_519_); + } + + final void method3630(boolean bool) { + aBoolean7489 = bool; + aClass60_7498.clear(0); + } + + final void method3650(int i) { + DisplayModeManagerContainer164.anInt5346 = DisplayModeManagerContainer164.anInt5350 = i; + if (this.anInt7485 > 1) throw new IllegalStateException("No MT"); + method3631(this.anInt7485); + method3659(0); + } + + final NodeSub1 method3690(int i, int i_520_, int i_521_, int i_522_, int i_523_, float f) { + return null; + } + + final boolean method3666() { + return false; + } + + final Component80 method3706(Component80 class299, Component80 class299_524_, float f, Component80 class299_525_) { + return null; + } + + final void NodeBase(int i, int i_526_, int i_527_, int i_528_, int i_529_) { + if (i_527_ < 0) i_527_ = -i_527_; + int i_530_ = i_526_ - i_527_; + if (i_530_ < this.anInt7476) i_530_ = this.anInt7476; + int i_531_ = i_526_ + i_527_ + 1; + if (i_531_ > this.anInt7503) i_531_ = this.anInt7503; + int i_532_ = i_530_; + int i_533_ = i_527_ * i_527_; + int i_534_ = 0; + int i_535_ = i_526_ - i_532_; + int i_536_ = i_535_ * i_535_; + int i_537_ = i_536_ - i_535_; + if (i_526_ > i_531_) i_526_ = i_531_; + int i_538_ = i_528_ >>> 24; + if (i_529_ == 0 || i_529_ == 1 && i_538_ == 255) { + while (i_532_ < i_526_) { + for (/**/; i_537_ <= i_533_ || i_536_ <= i_533_; i_537_ += i_534_++ + i_534_) + i_536_ += i_534_ + i_534_; + int i_539_ = i - i_534_ + 1; + if (i_539_ < this.anInt7496) i_539_ = this.anInt7496; + int i_540_ = i + i_534_; + if (i_540_ > this.anInt7507) i_540_ = this.anInt7507; + int i_541_ = i_539_ + i_532_ * this.anInt7477; + for (int i_542_ = i_539_; i_542_ < i_540_; i_542_++) + this.anIntArray7483[i_541_++] = i_528_; + i_532_++; + i_536_ -= i_535_-- + i_535_; + i_537_ -= i_535_ + i_535_; + } + i_534_ = i_527_; + i_535_ = i_532_ - i_526_; + i_537_ = i_535_ * i_535_ + i_533_; + i_536_ = i_537_ - i_534_; + i_537_ -= i_535_; + while (i_532_ < i_531_) { + for (/**/; i_537_ > i_533_ && i_536_ > i_533_; i_536_ -= i_534_ + i_534_) + i_537_ -= i_534_-- + i_534_; + int i_543_ = i - i_534_; + if (i_543_ < this.anInt7496) i_543_ = this.anInt7496; + int i_544_ = i + i_534_; + if (i_544_ > this.anInt7507 - 1) i_544_ = this.anInt7507 - 1; + int i_545_ = i_543_ + i_532_ * this.anInt7477; + for (int i_546_ = i_543_; i_546_ <= i_544_; i_546_++) + this.anIntArray7483[i_545_++] = i_528_; + i_532_++; + i_537_ += i_535_ + i_535_; + i_536_ += i_535_++ + i_535_; + } + } else if (i_529_ == 1) { + i_528_ = (((i_528_ & 0xff00ff) * i_538_ >> 8 & 0xff00ff) + ((i_528_ & 0xff00) * i_538_ >> 8 & 0xff00) + (i_538_ << 24)); + int i_547_ = 256 - i_538_; + while (i_532_ < i_526_) { + for (/**/; i_537_ <= i_533_ || i_536_ <= i_533_; i_537_ += i_534_++ + i_534_) + i_536_ += i_534_ + i_534_; + int i_548_ = i - i_534_ + 1; + if (i_548_ < this.anInt7496) i_548_ = this.anInt7496; + int i_549_ = i + i_534_; + if (i_549_ > this.anInt7507) i_549_ = this.anInt7507; + int i_550_ = i_548_ + i_532_ * this.anInt7477; + for (int i_551_ = i_548_; i_551_ < i_549_; i_551_++) { + int i_552_ = this.anIntArray7483[i_550_]; + i_552_ = (((i_552_ & 0xff00ff) * i_547_ >> 8 & 0xff00ff) + ((i_552_ & 0xff00) * i_547_ >> 8 & 0xff00)); + this.anIntArray7483[i_550_++] = i_528_ + i_552_; + } + i_532_++; + i_536_ -= i_535_-- + i_535_; + i_537_ -= i_535_ + i_535_; + } + i_534_ = i_527_; + i_535_ = -i_535_; + i_537_ = i_535_ * i_535_ + i_533_; + i_536_ = i_537_ - i_534_; + i_537_ -= i_535_; + while (i_532_ < i_531_) { + for (/**/; i_537_ > i_533_ && i_536_ > i_533_; i_536_ -= i_534_ + i_534_) + i_537_ -= i_534_-- + i_534_; + int i_553_ = i - i_534_; + if (i_553_ < this.anInt7496) i_553_ = this.anInt7496; + int i_554_ = i + i_534_; + if (i_554_ > this.anInt7507 - 1) i_554_ = this.anInt7507 - 1; + int i_555_ = i_553_ + i_532_ * this.anInt7477; + for (int i_556_ = i_553_; i_556_ <= i_554_; i_556_++) { + int i_557_ = this.anIntArray7483[i_555_]; + i_557_ = (((i_557_ & 0xff00ff) * i_547_ >> 8 & 0xff00ff) + ((i_557_ & 0xff00) * i_547_ >> 8 & 0xff00)); + this.anIntArray7483[i_555_++] = i_528_ + i_557_; + } + i_532_++; + i_537_ += i_535_ + i_535_; + i_536_ += i_535_++ + i_535_; + } + } else if (i_529_ == 2) { + while (i_532_ < i_526_) { + for (/**/; i_537_ <= i_533_ || i_536_ <= i_533_; i_537_ += i_534_++ + i_534_) + i_536_ += i_534_ + i_534_; + int i_558_ = i - i_534_ + 1; + if (i_558_ < this.anInt7496) i_558_ = this.anInt7496; + int i_559_ = i + i_534_; + if (i_559_ > this.anInt7507) i_559_ = this.anInt7507; + int i_560_ = i_558_ + i_532_ * this.anInt7477; + for (int i_561_ = i_558_; i_561_ < i_559_; i_561_++) { + int i_562_ = this.anIntArray7483[i_560_]; + int i_563_ = i_528_ + i_562_; + int i_564_ = (i_528_ & 0xff00ff) + (i_562_ & 0xff00ff); + i_562_ = (i_564_ & 0x1000100) + (i_563_ - i_564_ & 0x10000); + this.anIntArray7483[i_560_++] = i_563_ - i_562_ | i_562_ - (i_562_ >>> 8); + } + i_532_++; + i_536_ -= i_535_-- + i_535_; + i_537_ -= i_535_ + i_535_; + } + i_534_ = i_527_; + i_535_ = -i_535_; + i_537_ = i_535_ * i_535_ + i_533_; + i_536_ = i_537_ - i_534_; + i_537_ -= i_535_; + while (i_532_ < i_531_) { + for (/**/; i_537_ > i_533_ && i_536_ > i_533_; i_536_ -= i_534_ + i_534_) + i_537_ -= i_534_-- + i_534_; + int i_565_ = i - i_534_; + if (i_565_ < this.anInt7496) i_565_ = this.anInt7496; + int i_566_ = i + i_534_; + if (i_566_ > this.anInt7507 - 1) i_566_ = this.anInt7507 - 1; + int i_567_ = i_565_ + i_532_ * this.anInt7477; + for (int i_568_ = i_565_; i_568_ <= i_566_; i_568_++) { + int i_569_ = this.anIntArray7483[i_567_]; + int i_570_ = i_528_ + i_569_; + int i_571_ = (i_528_ & 0xff00ff) + (i_569_ & 0xff00ff); + i_569_ = (i_571_ & 0x1000100) + (i_570_ - i_571_ & 0x10000); + this.anIntArray7483[i_567_++] = i_570_ - i_569_ | i_569_ - (i_569_ >>> 8); + } + i_532_++; + i_537_ += i_535_ + i_535_; + i_536_ += i_535_++ + i_535_; + } + } else throw new IllegalArgumentException(); + } + + final Component385 method3724(Runnable runnable) { + for (int i = 0; i < this.anInt7485; i++) { + if (aClass167Array7480[i].aRunnable2198 == runnable) return aClass167Array7480[i]; + } + return null; + } + + final int E() { + return 0; + } + + final void method3626(int i, int i_572_) throws Exception_Sub1 { + if (aCanvas7468 == null || this.aClass348_Sub31_7469 == null) throw new IllegalStateException("off"); + try { + Graphics graphics = aCanvas7468.getGraphics(); + this.aClass348_Sub31_7469.method3011(0, i, anInt7472, graphics, -1, 0, anInt7465, i_572_); + } catch (Exception exception) { + aCanvas7468.repaint(); + } + } + + final void ZA(int i, float f, float f_573_, float f_574_, float f_575_, float f_576_) { + this.anInt7474 = (int) (f * 65535.0F); + this.anInt7478 = (int) (f_573_ * 65535.0F); + float f_577_ = (float) Math.sqrt(f_574_ * f_574_ + f_575_ * f_575_ + f_576_ * f_576_); + this.anInt7484 = (int) (f_574_ * 65535.0F / f_577_); + this.anInt7473 = (int) (f_575_ * 65535.0F / f_577_); + this.anInt7479 = (int) (f_576_ * 65535.0F / f_577_); + } + + final void method3696(int i) { + this.anInt7501 = i; + aClass60_7498.clear(0); + } + + final void method3669(Canvas canvas, int i, int i_578_) { + Sprite class348_sub31 = ((Sprite) aClass356_7467.get(canvas.hashCode(), -6008)); + if (class348_sub31 != null) { + class348_sub31.unlink((byte) 95); + class348_sub31 = Component338.method1035(9029, i_578_, canvas, i); + aClass356_7467.put((byte) 112, canvas.hashCode(), class348_sub31); + if (aCanvas7468 == canvas && aClass49_7475 == null) { + Dimension dimension = canvas.getSize(); + anInt7465 = dimension.width; + anInt7472 = dimension.height; + this.aClass348_Sub31_7469 = class348_sub31; + this.anIntArray7483 = class348_sub31.anIntArray6916; + this.anInt7477 = class348_sub31.anInt6917; + anInt7486 = class348_sub31.anInt6920; + if (this.anInt7477 != anInt7495 || anInt7486 != anInt7488) { + anInt7481 = anInt7495 = this.anInt7477; + anInt7493 = anInt7488 = anInt7486; + this.aFloatArray7502 = this.aFloatArray7511 = new float[anInt7495 * anInt7488]; + } + method3717(); + } + } + } + + final int r(int i, int i_579_, int i_580_, int i_581_, int i_582_, int i_583_, int i_584_) { + float f = ((this.aClass101_Sub1_7492.aFloat5662) * (float) i + (this.aClass101_Sub1_7492.aFloat5680) * (float) i_579_ + (this.aClass101_Sub1_7492.aFloat5664) * (float) i_580_ + (this.aClass101_Sub1_7492.aFloat5681)); + float f_585_ = ((this.aClass101_Sub1_7492.aFloat5662) * (float) i_581_ + (this.aClass101_Sub1_7492.aFloat5680) * (float) i_582_ + (this.aClass101_Sub1_7492.aFloat5664) * (float) i_583_ + (this.aClass101_Sub1_7492.aFloat5681)); + int i_586_ = 0; + if (f < (float) this.anInt7482 && f_585_ < (float) this.anInt7482) i_586_ |= 0x10; + else if (f > (float) this.anInt7494 && f_585_ > (float) this.anInt7494) i_586_ |= 0x20; + int i_587_ = (int) ((float) this.anInt7491 * ((this.aClass101_Sub1_7492.aFloat5672) * (float) i + (this.aClass101_Sub1_7492.aFloat5673 * (float) i_579_) + (this.aClass101_Sub1_7492.aFloat5669 * (float) i_580_) + this.aClass101_Sub1_7492.aFloat5686) / (float) i_584_); + int i_588_ = (int) ((float) this.anInt7491 * ((this.aClass101_Sub1_7492.aFloat5672) * (float) i_581_ + (this.aClass101_Sub1_7492.aFloat5673 * (float) i_582_) + (this.aClass101_Sub1_7492.aFloat5669 * (float) i_583_) + this.aClass101_Sub1_7492.aFloat5686) / (float) i_584_); + if (i_587_ < this.anInt7509 && i_588_ < this.anInt7509) i_586_ |= 0x1; + else if (i_587_ > this.anInt7508 && i_588_ > this.anInt7508) i_586_ |= 0x2; + int i_589_ = (int) ((float) this.anInt7497 * ((this.aClass101_Sub1_7492.aFloat5655) * (float) i + (this.aClass101_Sub1_7492.aFloat5678 * (float) i_579_) + (this.aClass101_Sub1_7492.aFloat5666 * (float) i_580_) + this.aClass101_Sub1_7492.aFloat5685) / (float) i_584_); + int i_590_ = (int) ((float) this.anInt7497 * ((this.aClass101_Sub1_7492.aFloat5655) * (float) i_581_ + (this.aClass101_Sub1_7492.aFloat5678 * (float) i_582_) + (this.aClass101_Sub1_7492.aFloat5666 * (float) i_583_) + this.aClass101_Sub1_7492.aFloat5685) / (float) i_584_); + if (i_589_ < this.anInt7490 && i_590_ < this.anInt7490) i_586_ |= 0x4; + else if (i_589_ > this.anInt7506 && i_590_ > this.anInt7506) i_586_ |= 0x8; + return i_586_; + } + + final boolean method3725(int i) { + return this.aD4579.method4(-7953, i); + } + + private GlToolkitSub1(d var_d) { + super(var_d); + aClass356_7467 = new LruCache(4); + this.anInt7474 = 45823; + aBoolean7489 = false; + anInt7487 = 0; + this.anInt7501 = 128; + this.anInt7476 = 0; + this.anInt7482 = 50; + this.anInt7503 = 0; + this.anInt7496 = 0; + this.anInt7497 = 512; + this.anInt7500 = 75518; + this.anInt7491 = 512; + anInt7505 = 0; + this.anInt7494 = 3500; + this.anInt7507 = 0; + this.anInt7478 = 78642; + aClass60_7499 = new NodeCache(16); + anInt7512 = -1; + try { + aClass60_7498 = new NodeCache(256); + this.aClass101_Sub1_7492 = new MatrixSub1(); + method3631(1); + method3659(0); + Component54.method566(true, true, (byte) -126); + aBoolean7471 = true; + anInt7466 = (int) Component240.currentTimeMillis(-70); + } catch (Throwable throwable) { + throwable.printStackTrace(); + this.method3635((byte) -98); + throw new RuntimeException(""); + } + } + + final boolean method3708() { + return true; + } + + final void K(int[] is) { + is[0] = this.anInt7496; + is[1] = this.anInt7476; + is[2] = this.anInt7507; + is[3] = this.anInt7503; + } + + final NodeBase method3702(int i) { + return null; + } + + final Interface3 method3665(int i, int i_591_) { + return method3629(i, i_591_, false); + } + + final void method3674(int i, int i_592_, int i_593_, int i_594_, int i_595_, int i_596_, int i_597_, int i_598_, int i_599_) { + i_593_ -= i; + i_594_ -= i_592_; + if (i_594_ == 0) { + if (i_593_ >= 0) method3715(i, i_592_, i_593_ + 1, i_595_, i_596_, i_597_, i_598_, i_599_); + else { + int i_600_ = i_597_ + i_598_; + i_599_ %= i_600_; + i_599_ = i_600_ + i_597_ - i_599_ - (-i_593_ + 1) % i_600_; + i_599_ %= i_600_; + if (i_599_ < 0) i_599_ += i_600_; + method3715(i + i_593_, i_592_, -i_593_ + 1, i_595_, i_596_, i_597_, i_598_, i_599_); + } + } else if (i_593_ == 0) { + if (i_594_ >= 0) method3721(i, i_592_, i_594_ + 1, i_595_, i_596_, i_597_, i_598_, i_599_); + else { + int i_601_ = i_597_ + i_598_; + i_599_ %= i_601_; + i_599_ = i_601_ + i_597_ - i_599_ - (-i_594_ + 1) % i_601_; + i_599_ %= i_601_; + if (i_599_ < 0) i_599_ += i_601_; + method3721(i, i_592_ + i_594_, -i_594_ + 1, i_595_, i_596_, i_597_, i_598_, i_599_); + } + } else { + i_599_ <<= 8; + i_597_ <<= 8; + i_598_ <<= 8; + int i_602_ = i_597_ + i_598_; + i_599_ %= i_602_; + if (i_593_ + i_594_ < 0) { + int i_603_ = (int) (Math.sqrt(i_593_ * i_593_ + i_594_ * i_594_) * 256.0); + int i_604_ = i_603_ % i_602_; + i_599_ = i_602_ + i_597_ - i_599_ - i_604_; + i_599_ %= i_602_; + if (i_599_ < 0) i_599_ += i_602_; + i += i_593_; + i_593_ = -i_593_; + i_592_ += i_594_; + i_594_ = -i_594_; + } + if (i_593_ > i_594_) { + i_592_ <<= 16; + i_592_ += 32768; + i_594_ <<= 16; + int i_605_ = (int) Math.floor((double) i_594_ / (double) i_593_ + 0.5); + i_593_ += i; + int i_606_ = i_595_ >>> 24; + int i_607_ = (int) Math.sqrt(65536 + (i_605_ >> 8) * (i_605_ >> 8)); + if (i_596_ == 0 || i_596_ == 1 && i_606_ == 255) { + while (i <= i_593_) { + int i_608_ = i_592_ >> 16; + if (i >= this.anInt7496 && i < this.anInt7507 && i_608_ >= this.anInt7476 && i_608_ < this.anInt7503 && i_599_ < i_597_) this.anIntArray7483[i + i_608_ * this.anInt7477] = i_595_; + i_592_ += i_605_; + i++; + i_599_ += i_607_; + i_599_ %= i_602_; + } + return; + } + if (i_596_ == 1) { + i_595_ = (((i_595_ & 0xff00ff) * i_606_ >> 8 & 0xff00ff) + ((i_595_ & 0xff00) * i_606_ >> 8 & 0xff00) + (i_606_ << 24)); + int i_609_ = 256 - i_606_; + while (i <= i_593_) { + int i_610_ = i_592_ >> 16; + if (i >= this.anInt7496 && i < this.anInt7507 && i_610_ >= this.anInt7476 && i_610_ < this.anInt7503 && i_599_ < i_597_) { + int i_611_ = i + i_610_ * this.anInt7477; + int i_612_ = this.anIntArray7483[i_611_]; + i_612_ = (((i_612_ & 0xff00ff) * i_609_ >> 8 & 0xff00ff) + ((i_612_ & 0xff00) * i_609_ >> 8 & 0xff00)); + this.anIntArray7483[i_611_] = i_595_ + i_612_; + } + i_592_ += i_605_; + i++; + i_599_ += i_607_; + i_599_ %= i_602_; + } + return; + } + if (i_596_ == 2) { + while (i <= i_593_) { + int i_613_ = i_592_ >> 16; + if (i >= this.anInt7496 && i < this.anInt7507 && i_613_ >= this.anInt7476 && i_613_ < this.anInt7503 && i_599_ < i_597_) { + int i_614_ = i + i_613_ * this.anInt7477; + int i_615_ = this.anIntArray7483[i_614_]; + int i_616_ = i_595_ + i_615_; + int i_617_ = (i_595_ & 0xff00ff) + (i_615_ & 0xff00ff); + i_615_ = (i_617_ & 0x1000100) + (i_616_ - i_617_ & 0x10000); + this.anIntArray7483[i_614_] = i_616_ - i_615_ | i_615_ - (i_615_ >>> 8); + } + i_592_ += i_605_; + i++; + i_599_ += i_607_; + i_599_ %= i_602_; + } + return; + } + throw new IllegalArgumentException(); + } + i <<= 16; + i += 32768; + i_593_ <<= 16; + int i_618_ = (int) Math.floor((double) i_593_ / (double) i_594_ + 0.5); + i_594_ += i_592_; + int i_619_ = i_595_ >>> 24; + int i_620_ = (int) Math.sqrt(65536 + (i_618_ >> 8) * (i_618_ >> 8)); + if (i_596_ == 0 || i_596_ == 1 && i_619_ == 255) { + while (i_592_ <= i_594_) { + int i_621_ = i >> 16; + if (i_592_ >= this.anInt7476 && i_592_ < this.anInt7503 && i_621_ >= this.anInt7496 && i_621_ < this.anInt7507 && i_599_ < i_597_) this.anIntArray7483[i_621_ + i_592_ * this.anInt7477] = i_595_; + i += i_618_; + i_592_++; + i_599_ += i_620_; + i_599_ %= i_602_; + } + } else if (i_596_ == 1) { + i_595_ = (((i_595_ & 0xff00ff) * i_619_ >> 8 & 0xff00ff) + ((i_595_ & 0xff00) * i_619_ >> 8 & 0xff00) + (i_619_ << 24)); + int i_622_ = 256 - i_619_; + while (i_592_ <= i_594_) { + int i_623_ = i >> 16; + if (i_592_ >= this.anInt7476 && i_592_ < this.anInt7503 && i_623_ >= this.anInt7496 && i_623_ < this.anInt7507 && i_599_ < i_597_) { + int i_624_ = i_623_ + i_592_ * this.anInt7477; + int i_625_ = this.anIntArray7483[i_624_]; + i_625_ = (((i_625_ & 0xff00ff) * i_622_ >> 8 & 0xff00ff) + ((i_625_ & 0xff00) * i_622_ >> 8 & 0xff00)); + this.anIntArray7483[i_623_ + i_592_ * this.anInt7477] = i_595_ + i_625_; + } + i += i_618_; + i_592_++; + i_599_ += i_620_; + i_599_ %= i_602_; + } + } else if (i_596_ == 2) { + while (i_592_ <= i_594_) { + int i_626_ = i >> 16; + if (i_592_ >= this.anInt7476 && i_592_ < this.anInt7503 && i_626_ >= this.anInt7496 && i_626_ < this.anInt7507 && i_599_ < i_597_) { + int i_627_ = i_626_ + i_592_ * this.anInt7477; + int i_628_ = this.anIntArray7483[i_627_]; + int i_629_ = i_595_ + i_628_; + int i_630_ = (i_595_ & 0xff00ff) + (i_628_ & 0xff00ff); + i_628_ = (i_630_ & 0x1000100) + (i_629_ - i_630_ & 0x10000); + this.anIntArray7483[i_627_] = i_629_ - i_628_ | i_628_ - (i_628_ >>> 8); + } + i += i_618_; + i_592_++; + i_599_ += i_620_; + i_599_ %= i_602_; + } + } else throw new IllegalArgumentException(); + } + } + + final void X(int i) { + /* empty */ + } + + final Component6 c() { + return new Component6(0, "Pure Java", 1, "CPU", 0L); + } + + final void method3659(int i) { + aClass167Array7480[i].method1291(10000, Thread.currentThread()); + } + + final void method3707(Rectangle[] rectangles, int i, int i_631_, int i_632_) throws Exception_Sub1 { + if (aCanvas7468 == null || this.aClass348_Sub31_7469 == null) throw new IllegalStateException("off"); + try { + Graphics graphics = aCanvas7468.getGraphics(); + for (int i_633_ = 0; i_633_ < i; i_633_++) { + Rectangle rectangle = rectangles[i_633_]; + if (rectangle.x + i_631_ <= this.anInt7477 && rectangle.y + i_632_ <= anInt7486 && rectangle.x + i_631_ + rectangle.width > 0 && rectangle.y + i_632_ + rectangle.height > 0) + this.aClass348_Sub31_7469.method3011(rectangle.y, rectangle.x + i_631_, rectangle.height, graphics, -1, rectangle.x, rectangle.width, rectangle.y + i_632_); + } + } catch (Exception exception) { + aCanvas7468.repaint(); + } + } + + final int M() { + int i = anInt7505; + anInt7505 = 0; + return i; + } + + final int method3726(int i) { + return this.aD4579.method3(i, -6662).anInt200; + } + + final int I() { + int i = anInt7487; + anInt7487 = 0; + return i; + } + + final int method3704() { + return 0; + } + + final void method3646(int i) { + int i_634_ = i - anInt7466; + for (Object object = aClass60_7498.method588(-5052); object != null; object = aClass60_7498.method579(-117)) { + NodeSub25 class348_sub25 = (NodeSub25) object; + if (class348_sub25.aBoolean6882) { + class348_sub25.anInt6879 += i_634_; + int i_635_ = class348_sub25.anInt6879 / 20; + if (i_635_ > 0) { + Component319 class12 = this.aD4579.method3((class348_sub25.anInt6883), -6662); + class348_sub25.method2995((class12.aByte198 * i_634_ * 50 / 1000), (class12.aByte211 * i_634_ * 50 / 1000)); + class348_sub25.anInt6879 -= i_635_ * 20; + } + class348_sub25.aBoolean6882 = false; + } + } + anInt7466 = i; + aClass60_7499.processSoftEntries(2, 5); + aClass60_7498.processSoftEntries(2, 5); + } + + final boolean method3694() { + return true; + } + + final void da(int i, int i_636_, int i_637_, int[] is) { + float f = ((this.aClass101_Sub1_7492.aFloat5681) + ((this.aClass101_Sub1_7492.aFloat5662) * (float) i + (this.aClass101_Sub1_7492.aFloat5680) * (float) i_636_ + (this.aClass101_Sub1_7492.aFloat5664) * (float) i_637_)); + if (f >= (float) this.anInt7482 && f <= (float) this.anInt7494) { + int i_638_ = (int) ((float) this.anInt7491 * (this.aClass101_Sub1_7492.aFloat5686 + ((this.aClass101_Sub1_7492.aFloat5672) * (float) i + (this.aClass101_Sub1_7492.aFloat5673) * (float) i_636_ + (this.aClass101_Sub1_7492.aFloat5669) * (float) i_637_)) / f); + int i_639_ = (int) ((float) this.anInt7497 * (this.aClass101_Sub1_7492.aFloat5685 + ((this.aClass101_Sub1_7492.aFloat5655) * (float) i + (this.aClass101_Sub1_7492.aFloat5678) * (float) i_636_ + (this.aClass101_Sub1_7492.aFloat5666) * (float) i_637_)) / f); + if (i_638_ >= this.anInt7509 && i_638_ <= this.anInt7508 && i_639_ >= this.anInt7490 && i_639_ <= this.anInt7506) { + is[0] = i_638_ - this.anInt7509; + is[1] = i_639_ - this.anInt7490; + is[2] = (int) f; + } else is[0] = is[1] = is[2] = -1; + } else is[0] = is[1] = is[2] = -1; + } + + final void method3673() { + /* empty */ + } + + final boolean method3644() { + return false; + } + + final void method3663() { + aClass60_7498.clear(0); + aClass60_7499.clear(0); + } + + /** {@code i | i_640_} (GL toolkit override). */ + final int bitwiseOr(int i, int i_640_) { + return i | i_640_; + } + + final boolean method3727(int i) { + return aBoolean7489 || this.aD4579.method3(i, -6662).aBoolean199; + } +} diff --git a/client/void/LoginPrefs.java b/client/void/LoginPrefs.java new file mode 100644 index 000000000..477036bbd --- /dev/null +++ b/client/void/LoginPrefs.java @@ -0,0 +1,324 @@ +import java.io.BufferedReader; +import java.io.File; +import java.io.FileReader; +import java.io.FileWriter; + +/** + * Persisted login credentials for quick / auto re-login (desktop + Android + iOS). + *

+ * File: {@code user.home/void-login.txt} — username on line 1, password on line 2 + * (plaintext, same style as {@code void-server.txt}). Saved on every login attempt. + *

+ * Auto-login mirrors CS2 opcode 5600: restore creds on title (state 3), then on a + * later tick transition to state 6 (connecting), which starts {@code method1922}. + *

+ * Graphics Auto Setup must finish first. Leaving state 3 on the first tick skipped + * the title draw that clears pref {@code aClass239_Sub11_7265} and the CS2 that + * mounts Auto Setup (opcodes 6144/6147 → 7000). That left the client stuck on the + * safe-mode toolkit and never ran {@code method2478}. + */ +final class LoginPrefs { + /** + * Session arm: consumed when auto-login is scheduled. + * Not restored on world entry — so "Exit to login" stays on the title + * instead of immediately re-authenticating. Cold start still auto-logs once. + */ + private static boolean autoArmed = true; + /** Fire state-6 transition once graphics setup + title are ready. */ + private static boolean pendingAutoLogin; + /** + * Once per auto-login attempt: run CS2-7000 graphics Auto Setup if the title + * would have offered it (safe-mode flag / low VRAM / recovered toolkit). + */ + private static boolean graphicsSetupHandled; + + private LoginPrefs() { + } + + /** {@code user.home/void-login.txt} */ + static File file() { + String home = System.getProperty("user.home", "."); + return new File(home, "void-login.txt"); + } + + /** + * @return {@code {username, password}} or {@code null} if missing / incomplete + */ + static String[] load() { + File f = file(); + if (!f.isFile()) { + return null; + } + BufferedReader in = null; + try { + in = new BufferedReader(new FileReader(f)); + String user = in.readLine(); + String pass = in.readLine(); + if (user == null || pass == null) { + return null; + } + user = user.trim(); + if (pass.endsWith("\r")) { + pass = pass.substring(0, pass.length() - 1); + } + if (user.length() == 0 || pass.length() == 0) { + return null; + } + return new String[]{user, pass}; + } catch (Throwable ignored) { + return null; + } finally { + if (in != null) { + try { + in.close(); + } catch (Throwable ignored) { + } + } + } + } + + /** Overwrite saved credentials (called on every login attempt). */ + static void save(String username, String password) { + if (username == null || password == null) { + return; + } + if (username.length() == 0 || password.length() == 0) { + return; + } + FileWriter w = null; + try { + File f = file(); + File parent = f.getParentFile(); + if (parent != null) { + parent.mkdirs(); + } + w = new FileWriter(f); + w.write(username); + w.write('\n'); + w.write(password); + w.write('\n'); + } catch (Throwable t) { + t.printStackTrace(); + } finally { + if (w != null) { + try { + w.close(); + } catch (Throwable ignored) { + } + } + } + } + + /** Remember credentials from a login attempt (manual or auto). */ + static void remember(String username, String password) { + save(username, password); + } + + /** + * Title screen opened: restore saved user/pass, schedule auto-login for later. + */ + static void onLoginScreen() { + String[] creds = load(); + if (creds == null) { + return; + } + DisplayModeManagerContainer282.username = creds[0]; + DisplayModeManagerContainer51.password = creds[1]; + fillLoginFields(creds[0], creds[1]); + if (!Loader.autoLogin || !autoArmed) { + return; + } + autoArmed = false; + pendingAutoLogin = true; + graphicsSetupHandled = false; + System.out.println("void-osrs auto-login armed user=" + creds[0]); + } + + /** + * Called each frame while the login FSM can run. Completes a pending auto-login + * with the same state transition as the Login button (CS2 5600 → state 6), + * after graphics Auto Setup has run (or is not needed). + */ + static void tick() { + if (!pendingAutoLogin) { + return; + } + // Same guards as CS2 opcode 5600. + if (Component49.clientState != 3) { + return; + } + if (Component241.anInt2955 != 0 || AbstractShaderSub2.anInt7297 != 0) { + return; + } + if (DisplayModeManagerContainer282.username == null || DisplayModeManagerContainer282.username.length() == 0 + || DisplayModeManagerContainer51.password == null || DisplayModeManagerContainer51.password.length() == 0) { + pendingAutoLogin = false; + return; + } + // Login root interface must be mounted before title CS2 / Auto Setup runs. + if (r.anInt9721 == -1) { + return; + } + // Title draw clears pref 1→0 once the iface is up (see client.method116). + // Leaving earlier left pref at 1 → next cold start forced safe-mode toolkit. + if (Component192.aClass348_Sub51_3959.aClass239_Sub11_7265.method1768(-32350) == 1) { + return; + } + if (!graphicsSetupHandled) { + graphicsSetupHandled = true; + if (needsGraphicsAutoSetup()) { + runGraphicsAutoSetup(); + } + // Always dismiss Leave Alone / Auto Setup so auto-login is not stuck + // waiting on a type-3 overlay (especially on macOS where we skip toolkit switch). + closeModalOverlays(); + } + // Still waiting on Leave Alone / Auto Setup dialog (or close failed). + if (hasModalOverlay()) { + return; + } + pendingAutoLogin = false; + System.out.println("void-osrs auto-login go user=" + DisplayModeManagerContainer282.username); + // Enter connecting — setClientState(6) calls method1922 and leaves the title UI. + Buffer.setClientState(2, 6); + } + + /** + * Same condition CS2 opcode 6147 uses to offer the graphics Auto Setup UI: + * low VRAM, splash safe-mode flag, or toolkit recovered after a crash. + */ + private static boolean needsGraphicsAutoSetup() { + int vram = 0; + if (DefinitionSub20.aClass348_Sub4_9264 != null) { + vram = DefinitionSub20.aClass348_Sub4_9264.anInt6609; + } + return vram < 512 || DisplayModeManagerContainer64.aBoolean9038 || GpsOverlay.aBoolean1952; + } + + /** + * Mirrors CS2 opcode 7000 (Auto Setup button): benchmark toolkits, apply best, + * refresh display, persist prefs. + *

+ * On macOS, skip the native toolkit probe (JAWT crash / GlToolkitSub2 fail) — software + * renderer stays; caller still dismisses the dialog via {@link #closeModalOverlays()}. + */ + private static void runGraphicsAutoSetup() { + if (Loader.isMacOs()) { + System.out.println("void-osrs graphics auto-setup skipped on macOS (software toolkit)"); + return; + } + try { + Component269.method2478(1000); + DisplayModeManagerContainer282.anInt5584 = Component192.aClass348_Sub51_3959.aClass239_Sub25_7271.method1829(-32350); + NodeSub20.method2953((byte) -113); + DisplayModeManagerContainer389.method243(37); + r.aBoolean9719 = false; + System.out.println("void-osrs graphics auto-setup toolkit=" + DisplayModeManagerContainer282.anInt5584); + } catch (Throwable t) { + System.out.println("void-osrs graphics auto-setup failed: " + t); + t.printStackTrace(); + } + } + + /** True if a type-3 (modal) overlay is open — Auto Setup uses this. */ + private static boolean hasModalOverlay() { + try { + for (NodeSub41 o = (NodeSub41) Component15.aClass356_4915.first(0); + o != null; + o = (NodeSub41) Component15.aClass356_4915.next(0)) { + if (o.anInt7053 == 3) { + return true; + } + } + } catch (Throwable ignored) { + } + return false; + } + + /** Dismiss modal overlays after programmatic Auto Setup (same as closing the dialog). */ + private static void closeModalOverlays() { + try { + for (; ; ) { + NodeSub41 target = null; + for (NodeSub41 o = (NodeSub41) Component15.aClass356_4915.first(0); + o != null; + o = (NodeSub41) Component15.aClass356_4915.next(0)) { + if (o.anInt7053 == 3) { + target = o; + break; + } + } + if (target == null) { + return; + } + Component162.method1118(true, true, target, 2533); + } + } catch (Throwable ignored) { + } + } + + /** + * World entered — drop any pending auto-login. + * Leaves {@code autoArmed} false so a later logout ("Exit to login") + * restores creds on the title but does not auto-connect again. + */ + static void onWorldEntered() { + pendingAutoLogin = false; + } + + /** + * Best-effort: write saved strings into the first two single-line text + * widgets on the login root (by component id). Helps when auto is disarmed. + */ + private static void fillLoginFields(String user, String pass) { + try { + int root = r.anInt9721; + if (root < 0 || DefinitionSub33.aClass46ArrayArray9427 == null) { + return; + } + if (root >= DefinitionSub33.aClass46ArrayArray9427.length) { + return; + } + DisplayModeManagerContainer57[] all = DefinitionSub33.aClass46ArrayArray9427[root]; + if (all == null) { + return; + } + DisplayModeManagerContainer57 first = null; + DisplayModeManagerContainer57 second = null; + int firstId = Integer.MAX_VALUE; + int secondId = Integer.MAX_VALUE; + for (int i = 0; i < all.length; i++) { + DisplayModeManagerContainer57 c = all[i]; + if (c == null || c.anInt774 != 4) { + continue; + } + int h = c.anInt789; + if (h <= 0 || h > 48) { + continue; + } + if (c.anObjectArray822 == null && c.anObjectArray763 == null) { + continue; + } + int id = c.anInt830 & 0xffff; + if (id < firstId) { + second = first; + secondId = firstId; + first = c; + firstId = id; + } else if (id < secondId) { + second = c; + secondId = id; + } + } + if (first != null && !user.equals(first.aString792)) { + first.aString792 = user; + Component111.markInterfaceDirty(-9343, first); + } + if (second != null && !pass.equals(second.aString792)) { + second.aString792 = pass; + Component111.markInterfaceDirty(-9343, second); + } + } catch (Throwable ignored) { + } + } +} diff --git a/client/void/MobileKeyboard.java b/client/void/MobileKeyboard.java new file mode 100644 index 000000000..fb131e957 --- /dev/null +++ b/client/void/MobileKeyboard.java @@ -0,0 +1,283 @@ +/** + * Mobile soft-keyboard bridge. Desktop no-ops; Android/iOS AwtHost picks this up via reflection. + */ +final class MobileKeyboard { + private static int insetPx; + private static int viewH = 1; + private static int lastLoggedShift = -1; + /** Unlifted screen Y/H of the text field that opened the IME. */ + private static int focusY; + private static int focusH; + /** Cached: client jar is shared; iOS host class is only on the RoboVM classpath. */ + private static boolean iosHost; + private static boolean iosHostKnown; + + private MobileKeyboard() { + } + + /** Called from the native host when the IME overlap changes (view pixels). */ + public static void setInset(int px, int viewHeight) { + insetPx = px < 0 ? 0 : px; + viewH = viewHeight < 1 ? 1 : viewHeight; + if (insetPx == 0) { + lastLoggedShift = -1; + } + System.out.println("void-osrs keyboard inset=" + insetPx + " viewH=" + viewH + + " shift=" + shiftY()); + } + + /** Called when the player presses a UI component (mouse-down). {@code screenY} is unlifted. */ + static void onInterfacePress(DisplayModeManagerContainer57 component, int screenX, int screenY) { + if (component == null) { + return; + } + boolean keyListener = component.anObjectArray822 != null; + boolean mouseDown = component.anObjectArray763 != null; + int type = component.anInt774; + String text = component.aString792; + if (text != null && text.length() > 48) { + text = text.substring(0, 48); + } + int gameState = Component49.clientState; + System.out.println("void-osrs ifPress id=" + component.anInt830 + + " type=" + type + + " keyListener=" + keyListener + + " mouseDown=" + mouseDown + + " state=" + gameState + + " size=" + component.anInt709 + "x" + component.anInt789 + + " xy=" + screenX + "," + screenY + + " text=[" + text + "]"); + + // Login root (type 0, 800x600) has a keyListener — must NOT open IME. + // Real inputs are type-4 single-line text (login ~27px, chat ~17px). + if (!isTextInput(component)) { + return; + } + focusY = screenY; + focusH = component.anInt789; + if (keyListener) { + requestShow("keyListener id=" + component.anInt830); + return; + } + if (mouseDown && isLoginState(gameState)) { + requestShow("loginText id=" + component.anInt830 + " state=" + gameState); + } + } + + /** Single-line text widget suitable for soft-keyboard focus. */ + private static boolean isTextInput(DisplayModeManagerContainer57 c) { + if (c.anInt774 != 4 || isFullscreen(c)) { + return false; + } + int h = c.anInt789; + return h > 0 && h <= 48; + } + + /** + * Pixels to subtract from this widget's screen Y (chatbox layer only). + * Applied in draw + input so children follow via parent offset. + * Only the gameframe slot (parent fullscreen) is lifted — lifting a nested + * 137 inside an unmoved clip makes the chat draw off-clip and vanish. + */ + static int liftPx(DisplayModeManagerContainer57 c, int screenX, int screenY) { + // Dev console sits at the top — never shove chat up while it's open. + if (StringCache.devConsoleOpen) { + return 0; + } + int shift = shiftY(); + if (shift <= 0 || c == null || isLoginState(Component49.clientState)) { + return 0; + } + DisplayModeManagerContainer57 parent = c.aClass46_782; + if (parent != null && !isFullscreen(parent)) { + return 0; + } + if (!inChatBand(c, screenX, screenY)) { + return 0; + } + int maxLift = Math.max(0, screenY - 4); + int lift = shift < maxLift ? shift : maxLift; + if (lift != lastLoggedShift) { + lastLoggedShift = lift; + System.out.println("void-osrs chatLift shift=" + lift + + " kb=" + shift + + " id=" + c.anInt830 + + " xy=" + screenX + "," + screenY + + " size=" + c.anInt709 + "x" + c.anInt789 + + " state=" + Component49.clientState); + } + return lift; + } + + /** + * Login interface 744 — lift just enough that the focused field sits a bit + * above the IME, not the full keyboard height. + */ + static int loginLayerShift() { + if (!isLoginState(Component49.clientState)) { + return 0; + } + int kb = shiftY(); + if (kb <= 0 || focusH <= 0) { + return 0; + } + int gh = GlToolkitSub2.anInt7666; + if (gh <= 0) { + gh = 503; + } + int kbTop = gh - kb; + // Android: 12px gap above IME. iOS keyboard frame is short vs the + // predictive bar / home indicator, so keep at least +30 extra. + int pad = 12; + if (isIosHost()) { + pad += 30; + } + int need = focusY + focusH + pad - kbTop; + if (need <= 0) { + return 0; + } + if (need > kb) { + need = kb; + } + if (need > focusY) { + need = Math.max(0, focusY); + } + return need; + } + + /** Keep 744 hit-testing aligned with {@link #loginLayerShift()} draw offset. */ + static int loginHitShift(DisplayModeManagerContainer57 c) { + if (c == null || (c.anInt830 >>> 16) != 744) { + return 0; + } + return loginLayerShift(); + } + + private static boolean inChatBand(DisplayModeManagerContainer57 c, int screenX, int screenY) { + int sw = Math.max(1, DisplayModeManagerContainer23.anInt1524); + int sh = Math.max(1, GlToolkitSub2.anInt7666); + if (isFullscreen(c)) { + return false; + } + int h = c.anInt789; + int w = c.anInt709; + if (h > sh * 45 / 100 || h < 40) { + return false; + } + if (screenX > sw / 2) { + return false; + } + if (screenY + h < sh * 70 / 100) { + return false; + } + int iface = c.anInt830 >>> 16; + if (iface == 137) { + return true; + } + return w >= 120; + } + + private static boolean isFullscreen(DisplayModeManagerContainer57 c) { + int sw = Math.max(1, DisplayModeManagerContainer23.anInt1524); + int sh = Math.max(1, GlToolkitSub2.anInt7666); + return c.anInt709 >= sw - 8 && c.anInt789 >= sh - 8; + } + + /** Title / login / lobby — not the in-game world (state 10). */ + private static boolean isLoginState(int gameState) { + return gameState == 0 || gameState == 3 || gameState == 7; + } + + private static boolean isIosHost() { + if (!iosHostKnown) { + iosHostKnown = true; + try { + Class.forName("world.gregs.voidosrs.ios.GameController"); + iosHost = true; + } catch (Throwable ignored) { + } + } + return iosHost; + } + + /** + * How many canvas pixels the soft keyboard covers from the bottom. + * Unlike {@link #shiftY()}, this is not capped — used to size the + * purple developer console so its bottom sits just above the IME. + */ + static int imeCoverCanvasPx() { + int px = insetPx; + int vh = viewH; + try { + Class host = Class.forName("voidawt.AwtHost"); + px = host.getField("KEYBOARD_INSET_PX").getInt(null); + int hostH = host.getField("VIEW_HEIGHT_PX").getInt(null); + if (hostH > 1) { + vh = hostH; + } + } catch (Throwable ignored) { + } + if (px <= 0 || vh < 32) { + return 0; + } + int canvasH = PacketReader.anInt10432; + if (canvasH <= 0) { + canvasH = GlToolkitSub2.anInt7666; + } + if (canvasH <= 0) { + return 0; + } + int cover = px * canvasH / vh; + if (cover > canvasH - 8) { + cover = canvasH - 8; + } + return cover; + } + + private static int shiftY() { + int px = insetPx; + int vh = viewH; + try { + Class host = Class.forName("voidawt.AwtHost"); + px = host.getField("KEYBOARD_INSET_PX").getInt(null); + int hostH = host.getField("VIEW_HEIGHT_PX").getInt(null); + if (hostH > 1) { + vh = hostH; + } + } catch (Throwable ignored) { + } + if (px <= 0 || vh < 32) { + return 0; + } + int gh = GlToolkitSub2.anInt7666; + if (gh <= 0) { + gh = 503; + } + int shift = px * gh / vh; + int cap = gh * 50 / 100; + if (shift > cap) { + shift = cap; + } + return shift; + } + + static void requestShow(String reason) { + System.out.println("void-osrs keyboard REQUEST show (" + reason + ")"); + try { + Class.forName("voidawt.AwtHost") + .getMethod("requestSoftKeyboard", String.class) + .invoke(null, reason); + } catch (Throwable ignored) { + } + } + + static void requestHide(String reason) { + System.out.println("void-osrs keyboard REQUEST hide (" + reason + ")"); + try { + Class.forName("voidawt.AwtHost") + .getMethod("requestHideSoftKeyboard", String.class) + .invoke(null, reason); + } catch (Throwable ignored) { + } + } +} diff --git a/gradlew b/gradlew old mode 100644 new mode 100755 diff --git a/ios/.gitignore b/ios/.gitignore new file mode 100644 index 000000000..93c598921 --- /dev/null +++ b/ios/.gitignore @@ -0,0 +1,4 @@ +/.gradle +/build +*.iml +.idea diff --git a/ios/Info.plist.xml b/ios/Info.plist.xml new file mode 100644 index 000000000..038d7444f --- /dev/null +++ b/ios/Info.plist.xml @@ -0,0 +1,98 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + ${app.name} + CFBundleExecutable + ${app.executable} + CFBundleIdentifier + ${app.id} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${app.name} + CFBundlePackageType + APPL + CFBundleIcons + + CFBundlePrimaryIcon + + CFBundleIconFiles + + Icon + Icon-60 + Icon-76 + Icon-83.5 + + UIPrerenderedIcon + + + + CFBundleIcons~ipad + + CFBundlePrimaryIcon + + CFBundleIconFiles + + Icon + Icon-76 + Icon-83.5 + + UIPrerenderedIcon + + + + CFBundleIconName + AppIcon + CFBundleShortVersionString + ${app.version} + CFBundleSignature + ???? + CFBundleVersion + ${app.build} + LSRequiresIPhoneOS + + UIViewControllerBasedStatusBarAppearance + + UIStatusBarHidden + + MinimumOSVersion + 13.0 + UIDeviceFamily + + 1 + 2 + + UIRequiredDeviceCapabilities + + arm64 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UILaunchScreen + + + NSAppTransportSecurity + + NSAllowsArbitraryLoads + + NSAllowsLocalNetworking + + + + diff --git a/ios/README.md b/ios/README.md new file mode 100644 index 000000000..790a52a9f --- /dev/null +++ b/ios/README.md @@ -0,0 +1,12 @@ +# iOS + +Same client as Android, AOT via MobiVM/RoboVM. Root runbook: **[README.md](../README.md)**. + +Needs **arm64** JDK 17 (`make` checks `JAVA_17`, default `~/.jdks/jdk-17.0.20.1+1`). + +```bash +make ios +make ios-relaunch +``` + +Simulator → `127.0.0.1`. Device → set `void.server` before boot or edit the default in `GameController`. diff --git a/ios/build.gradle b/ios/build.gradle new file mode 100644 index 000000000..0f2146bf8 --- /dev/null +++ b/ios/build.gradle @@ -0,0 +1,103 @@ +buildscript { + ext.roboVMVersion = '2.3.25' + repositories { + mavenCentral() + gradlePluginPortal() + } + dependencies { + classpath files('tools/robovm-gradle-plugin-2.3.25-patched.jar') + } +} + +apply plugin: 'java' +apply plugin: 'robovm' + +repositories { + mavenCentral() +} + +ext { + mainClassName = 'world.gregs.voidosrs.ios.Main' +} + +java { + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 +} + +dependencies { + implementation "com.mobidevelop.robovm:robovm-rt:${roboVMVersion}" + implementation "com.mobidevelop.robovm:robovm-cocoatouch:${roboVMVersion}" +} + +def generatedClient = layout.buildDirectory.dir('generated/client') +def generatedShared = layout.buildDirectory.dir('generated/shared') + +sourceSets { + main { + java { + srcDir generatedShared + srcDir generatedClient + srcDir 'src/main/java' + } + } +} + +tasks.register('prepareClientSources', Copy) { + // Flat merge into generated/client (all default package). Nested domain folders + // under client/ are organizational only — each .java must land at the dest root. + from(fileTree('../client') { + include '**/*.java' + exclude 'build/**' + }) { + eachFile { details -> + details.path = details.name + } + includeEmptyDirs = false + } + into(generatedClient) + filter { String line -> + line + .replace('javax.swing', 'voidswing') + .replace('javax.sound', 'voidsound') + .replace('java.applet', 'voidapplet') + .replace('java.lang.management', 'voidmgmt') + .replace('com.sun.management', 'voidsun.management') + .replace('sun.net', 'voidsun.net') + .replace('java.awt', 'voidawt') + } + duplicatesStrategy = DuplicatesStrategy.INCLUDE + outputs.dir(generatedClient) +} + +tasks.register('prepareSharedSources', Copy) { + from(file('../android/app/src/main/java')) { + exclude 'world/gregs/voidosrs/android/**' + exclude 'voidawt/AwtHost.java' + exclude 'voidawt/Graphics.java' + exclude 'voidawt/Font.java' + exclude 'voidawt/FontMetrics.java' + exclude 'voidawt/Toolkit.java' + exclude 'voidsound/sampled/PcmSourceDataLine.java' + } + into(generatedShared) + duplicatesStrategy = DuplicatesStrategy.INCLUDE + // Track output dir so a partial clean of generated/ invalidates UP-TO-DATE + // (avoids compile seeing AppletInvoker without netscape.javascript.JSObject). + outputs.dir(generatedShared) +} + +tasks.named('compileJava') { + dependsOn 'prepareClientSources', 'prepareSharedSources' + options.encoding = 'UTF-8' +} + +robovm { + // Simulator can skip signing; device needs a development identity + profile. + iosSkipSigning = (findProperty('robovm.iosSkipSigning') ?: 'true').toString().toBoolean() +} + +tasks.withType(JavaCompile).configureEach { + options.encoding = 'UTF-8' + options.compilerArgs << '-Xlint:none' +} diff --git a/ios/data/.gitkeep b/ios/data/.gitkeep new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/ios/data/.gitkeep @@ -0,0 +1 @@ + diff --git a/ios/data/AppIcon.appiconset/Contents.json b/ios/data/AppIcon.appiconset/Contents.json new file mode 100644 index 000000000..7c29c9d2e --- /dev/null +++ b/ios/data/AppIcon.appiconset/Contents.json @@ -0,0 +1,24 @@ +{ + "images" : [ + { "size" : "20x20", "idiom" : "iphone", "filename" : "Icon-20@2x.png", "scale" : "2x" }, + { "size" : "20x20", "idiom" : "iphone", "filename" : "Icon-20@3x.png", "scale" : "3x" }, + { "size" : "29x29", "idiom" : "iphone", "filename" : "Icon-29.png", "scale" : "1x" }, + { "size" : "29x29", "idiom" : "iphone", "filename" : "Icon-29@2x.png", "scale" : "2x" }, + { "size" : "29x29", "idiom" : "iphone", "filename" : "Icon-29@3x.png", "scale" : "3x" }, + { "size" : "40x40", "idiom" : "iphone", "filename" : "Icon-40@2x.png", "scale" : "2x" }, + { "size" : "40x40", "idiom" : "iphone", "filename" : "Icon-40@3x.png", "scale" : "3x" }, + { "size" : "60x60", "idiom" : "iphone", "filename" : "Icon-60@2x.png", "scale" : "2x" }, + { "size" : "60x60", "idiom" : "iphone", "filename" : "Icon-60@3x.png", "scale" : "3x" }, + { "size" : "20x20", "idiom" : "ipad", "filename" : "Icon-20.png", "scale" : "1x" }, + { "size" : "20x20", "idiom" : "ipad", "filename" : "Icon-20@2x.png", "scale" : "2x" }, + { "size" : "29x29", "idiom" : "ipad", "filename" : "Icon-29.png", "scale" : "1x" }, + { "size" : "29x29", "idiom" : "ipad", "filename" : "Icon-29@2x.png", "scale" : "2x" }, + { "size" : "40x40", "idiom" : "ipad", "filename" : "Icon-40.png", "scale" : "1x" }, + { "size" : "40x40", "idiom" : "ipad", "filename" : "Icon-40@2x.png", "scale" : "2x" }, + { "size" : "76x76", "idiom" : "ipad", "filename" : "Icon-76.png", "scale" : "1x" }, + { "size" : "76x76", "idiom" : "ipad", "filename" : "Icon-76@2x.png", "scale" : "2x" }, + { "size" : "83.5x83.5", "idiom" : "ipad", "filename" : "Icon-83.5@2x.png", "scale" : "2x" }, + { "size" : "1024x1024", "idiom" : "ios-marketing", "filename" : "Icon-1024.png", "scale" : "1x" } + ], + "info" : { "version" : 1, "author" : "xcode" } +} diff --git a/ios/data/AppIcon.appiconset/Icon-1024.png b/ios/data/AppIcon.appiconset/Icon-1024.png new file mode 100644 index 000000000..4a01e7aed Binary files /dev/null and b/ios/data/AppIcon.appiconset/Icon-1024.png differ diff --git a/ios/data/AppIcon.appiconset/Icon-20.png b/ios/data/AppIcon.appiconset/Icon-20.png new file mode 100644 index 000000000..aa66d70df Binary files /dev/null and b/ios/data/AppIcon.appiconset/Icon-20.png differ diff --git a/ios/data/AppIcon.appiconset/Icon-20@2x.png b/ios/data/AppIcon.appiconset/Icon-20@2x.png new file mode 100644 index 000000000..f644b28e1 Binary files /dev/null and b/ios/data/AppIcon.appiconset/Icon-20@2x.png differ diff --git a/ios/data/AppIcon.appiconset/Icon-20@3x.png b/ios/data/AppIcon.appiconset/Icon-20@3x.png new file mode 100644 index 000000000..0b7322927 Binary files /dev/null and b/ios/data/AppIcon.appiconset/Icon-20@3x.png differ diff --git a/ios/data/AppIcon.appiconset/Icon-29.png b/ios/data/AppIcon.appiconset/Icon-29.png new file mode 100644 index 000000000..bd62126a6 Binary files /dev/null and b/ios/data/AppIcon.appiconset/Icon-29.png differ diff --git a/ios/data/AppIcon.appiconset/Icon-29@2x.png b/ios/data/AppIcon.appiconset/Icon-29@2x.png new file mode 100644 index 000000000..4e01c3de1 Binary files /dev/null and b/ios/data/AppIcon.appiconset/Icon-29@2x.png differ diff --git a/ios/data/AppIcon.appiconset/Icon-29@3x.png b/ios/data/AppIcon.appiconset/Icon-29@3x.png new file mode 100644 index 000000000..88fd320b5 Binary files /dev/null and b/ios/data/AppIcon.appiconset/Icon-29@3x.png differ diff --git a/ios/data/AppIcon.appiconset/Icon-40.png b/ios/data/AppIcon.appiconset/Icon-40.png new file mode 100644 index 000000000..f644b28e1 Binary files /dev/null and b/ios/data/AppIcon.appiconset/Icon-40.png differ diff --git a/ios/data/AppIcon.appiconset/Icon-40@2x.png b/ios/data/AppIcon.appiconset/Icon-40@2x.png new file mode 100644 index 000000000..c40ec7c59 Binary files /dev/null and b/ios/data/AppIcon.appiconset/Icon-40@2x.png differ diff --git a/ios/data/AppIcon.appiconset/Icon-40@3x.png b/ios/data/AppIcon.appiconset/Icon-40@3x.png new file mode 100644 index 000000000..9f5b48820 Binary files /dev/null and b/ios/data/AppIcon.appiconset/Icon-40@3x.png differ diff --git a/ios/data/AppIcon.appiconset/Icon-50.png b/ios/data/AppIcon.appiconset/Icon-50.png new file mode 100644 index 000000000..b57b2ea87 Binary files /dev/null and b/ios/data/AppIcon.appiconset/Icon-50.png differ diff --git a/ios/data/AppIcon.appiconset/Icon-50@2x.png b/ios/data/AppIcon.appiconset/Icon-50@2x.png new file mode 100644 index 000000000..43aaca25d Binary files /dev/null and b/ios/data/AppIcon.appiconset/Icon-50@2x.png differ diff --git a/ios/data/AppIcon.appiconset/Icon-57.png b/ios/data/AppIcon.appiconset/Icon-57.png new file mode 100644 index 000000000..fe1b8ba9a Binary files /dev/null and b/ios/data/AppIcon.appiconset/Icon-57.png differ diff --git a/ios/data/AppIcon.appiconset/Icon-57@2x.png b/ios/data/AppIcon.appiconset/Icon-57@2x.png new file mode 100644 index 000000000..14e109fb3 Binary files /dev/null and b/ios/data/AppIcon.appiconset/Icon-57@2x.png differ diff --git a/ios/data/AppIcon.appiconset/Icon-60@2x.png b/ios/data/AppIcon.appiconset/Icon-60@2x.png new file mode 100644 index 000000000..9f5b48820 Binary files /dev/null and b/ios/data/AppIcon.appiconset/Icon-60@2x.png differ diff --git a/ios/data/AppIcon.appiconset/Icon-60@3x.png b/ios/data/AppIcon.appiconset/Icon-60@3x.png new file mode 100644 index 000000000..a69b1f15e Binary files /dev/null and b/ios/data/AppIcon.appiconset/Icon-60@3x.png differ diff --git a/ios/data/AppIcon.appiconset/Icon-72.png b/ios/data/AppIcon.appiconset/Icon-72.png new file mode 100644 index 000000000..5a100a29c Binary files /dev/null and b/ios/data/AppIcon.appiconset/Icon-72.png differ diff --git a/ios/data/AppIcon.appiconset/Icon-72@2x.png b/ios/data/AppIcon.appiconset/Icon-72@2x.png new file mode 100644 index 000000000..405e8cfa0 Binary files /dev/null and b/ios/data/AppIcon.appiconset/Icon-72@2x.png differ diff --git a/ios/data/AppIcon.appiconset/Icon-76.png b/ios/data/AppIcon.appiconset/Icon-76.png new file mode 100644 index 000000000..0f27d59be Binary files /dev/null and b/ios/data/AppIcon.appiconset/Icon-76.png differ diff --git a/ios/data/AppIcon.appiconset/Icon-76@2x.png b/ios/data/AppIcon.appiconset/Icon-76@2x.png new file mode 100644 index 000000000..ade585793 Binary files /dev/null and b/ios/data/AppIcon.appiconset/Icon-76@2x.png differ diff --git a/ios/data/AppIcon.appiconset/Icon-83.5@2x.png b/ios/data/AppIcon.appiconset/Icon-83.5@2x.png new file mode 100644 index 000000000..518ce1752 Binary files /dev/null and b/ios/data/AppIcon.appiconset/Icon-83.5@2x.png differ diff --git a/ios/data/Assets.xcassets/AppIcon.appiconset/Contents.json b/ios/data/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 000000000..7c29c9d2e --- /dev/null +++ b/ios/data/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,24 @@ +{ + "images" : [ + { "size" : "20x20", "idiom" : "iphone", "filename" : "Icon-20@2x.png", "scale" : "2x" }, + { "size" : "20x20", "idiom" : "iphone", "filename" : "Icon-20@3x.png", "scale" : "3x" }, + { "size" : "29x29", "idiom" : "iphone", "filename" : "Icon-29.png", "scale" : "1x" }, + { "size" : "29x29", "idiom" : "iphone", "filename" : "Icon-29@2x.png", "scale" : "2x" }, + { "size" : "29x29", "idiom" : "iphone", "filename" : "Icon-29@3x.png", "scale" : "3x" }, + { "size" : "40x40", "idiom" : "iphone", "filename" : "Icon-40@2x.png", "scale" : "2x" }, + { "size" : "40x40", "idiom" : "iphone", "filename" : "Icon-40@3x.png", "scale" : "3x" }, + { "size" : "60x60", "idiom" : "iphone", "filename" : "Icon-60@2x.png", "scale" : "2x" }, + { "size" : "60x60", "idiom" : "iphone", "filename" : "Icon-60@3x.png", "scale" : "3x" }, + { "size" : "20x20", "idiom" : "ipad", "filename" : "Icon-20.png", "scale" : "1x" }, + { "size" : "20x20", "idiom" : "ipad", "filename" : "Icon-20@2x.png", "scale" : "2x" }, + { "size" : "29x29", "idiom" : "ipad", "filename" : "Icon-29.png", "scale" : "1x" }, + { "size" : "29x29", "idiom" : "ipad", "filename" : "Icon-29@2x.png", "scale" : "2x" }, + { "size" : "40x40", "idiom" : "ipad", "filename" : "Icon-40.png", "scale" : "1x" }, + { "size" : "40x40", "idiom" : "ipad", "filename" : "Icon-40@2x.png", "scale" : "2x" }, + { "size" : "76x76", "idiom" : "ipad", "filename" : "Icon-76.png", "scale" : "1x" }, + { "size" : "76x76", "idiom" : "ipad", "filename" : "Icon-76@2x.png", "scale" : "2x" }, + { "size" : "83.5x83.5", "idiom" : "ipad", "filename" : "Icon-83.5@2x.png", "scale" : "2x" }, + { "size" : "1024x1024", "idiom" : "ios-marketing", "filename" : "Icon-1024.png", "scale" : "1x" } + ], + "info" : { "version" : 1, "author" : "xcode" } +} diff --git a/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-1024.png b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-1024.png new file mode 100644 index 000000000..4a01e7aed Binary files /dev/null and b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-1024.png differ diff --git a/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-20.png b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-20.png new file mode 100644 index 000000000..aa66d70df Binary files /dev/null and b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-20.png differ diff --git a/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-20@2x.png b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-20@2x.png new file mode 100644 index 000000000..f644b28e1 Binary files /dev/null and b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-20@2x.png differ diff --git a/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-20@3x.png b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-20@3x.png new file mode 100644 index 000000000..0b7322927 Binary files /dev/null and b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-20@3x.png differ diff --git a/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-29.png b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-29.png new file mode 100644 index 000000000..bd62126a6 Binary files /dev/null and b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-29.png differ diff --git a/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-29@2x.png b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-29@2x.png new file mode 100644 index 000000000..4e01c3de1 Binary files /dev/null and b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-29@2x.png differ diff --git a/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-29@3x.png b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-29@3x.png new file mode 100644 index 000000000..88fd320b5 Binary files /dev/null and b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-29@3x.png differ diff --git a/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-40.png b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-40.png new file mode 100644 index 000000000..f644b28e1 Binary files /dev/null and b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-40.png differ diff --git a/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-40@2x.png b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-40@2x.png new file mode 100644 index 000000000..c40ec7c59 Binary files /dev/null and b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-40@2x.png differ diff --git a/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-40@3x.png b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-40@3x.png new file mode 100644 index 000000000..9f5b48820 Binary files /dev/null and b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-40@3x.png differ diff --git a/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-50.png b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-50.png new file mode 100644 index 000000000..b57b2ea87 Binary files /dev/null and b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-50.png differ diff --git a/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-50@2x.png b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-50@2x.png new file mode 100644 index 000000000..43aaca25d Binary files /dev/null and b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-50@2x.png differ diff --git a/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-57.png b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-57.png new file mode 100644 index 000000000..fe1b8ba9a Binary files /dev/null and b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-57.png differ diff --git a/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-57@2x.png b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-57@2x.png new file mode 100644 index 000000000..14e109fb3 Binary files /dev/null and b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-57@2x.png differ diff --git a/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-60@2x.png b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-60@2x.png new file mode 100644 index 000000000..9f5b48820 Binary files /dev/null and b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-60@2x.png differ diff --git a/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-60@3x.png b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-60@3x.png new file mode 100644 index 000000000..a69b1f15e Binary files /dev/null and b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-60@3x.png differ diff --git a/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-72.png b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-72.png new file mode 100644 index 000000000..5a100a29c Binary files /dev/null and b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-72.png differ diff --git a/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-72@2x.png b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-72@2x.png new file mode 100644 index 000000000..405e8cfa0 Binary files /dev/null and b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-72@2x.png differ diff --git a/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-76.png b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-76.png new file mode 100644 index 000000000..0f27d59be Binary files /dev/null and b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-76.png differ diff --git a/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-76@2x.png b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-76@2x.png new file mode 100644 index 000000000..ade585793 Binary files /dev/null and b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-76@2x.png differ diff --git a/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-83.5@2x.png b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-83.5@2x.png new file mode 100644 index 000000000..518ce1752 Binary files /dev/null and b/ios/data/Assets.xcassets/AppIcon.appiconset/Icon-83.5@2x.png differ diff --git a/ios/data/Icon-1024.png b/ios/data/Icon-1024.png new file mode 100644 index 000000000..4a01e7aed Binary files /dev/null and b/ios/data/Icon-1024.png differ diff --git a/ios/data/Icon-20.png b/ios/data/Icon-20.png new file mode 100644 index 000000000..aa66d70df Binary files /dev/null and b/ios/data/Icon-20.png differ diff --git a/ios/data/Icon-20@2x.png b/ios/data/Icon-20@2x.png new file mode 100644 index 000000000..f644b28e1 Binary files /dev/null and b/ios/data/Icon-20@2x.png differ diff --git a/ios/data/Icon-20@3x.png b/ios/data/Icon-20@3x.png new file mode 100644 index 000000000..0b7322927 Binary files /dev/null and b/ios/data/Icon-20@3x.png differ diff --git a/ios/data/Icon-29.png b/ios/data/Icon-29.png new file mode 100644 index 000000000..bd62126a6 Binary files /dev/null and b/ios/data/Icon-29.png differ diff --git a/ios/data/Icon-29@2x.png b/ios/data/Icon-29@2x.png new file mode 100644 index 000000000..4e01c3de1 Binary files /dev/null and b/ios/data/Icon-29@2x.png differ diff --git a/ios/data/Icon-29@3x.png b/ios/data/Icon-29@3x.png new file mode 100644 index 000000000..88fd320b5 Binary files /dev/null and b/ios/data/Icon-29@3x.png differ diff --git a/ios/data/Icon-40.png b/ios/data/Icon-40.png new file mode 100644 index 000000000..f644b28e1 Binary files /dev/null and b/ios/data/Icon-40.png differ diff --git a/ios/data/Icon-40@2x.png b/ios/data/Icon-40@2x.png new file mode 100644 index 000000000..c40ec7c59 Binary files /dev/null and b/ios/data/Icon-40@2x.png differ diff --git a/ios/data/Icon-40@3x.png b/ios/data/Icon-40@3x.png new file mode 100644 index 000000000..9f5b48820 Binary files /dev/null and b/ios/data/Icon-40@3x.png differ diff --git a/ios/data/Icon-60@2x.png b/ios/data/Icon-60@2x.png new file mode 100644 index 000000000..9f5b48820 Binary files /dev/null and b/ios/data/Icon-60@2x.png differ diff --git a/ios/data/Icon-60@3x.png b/ios/data/Icon-60@3x.png new file mode 100644 index 000000000..a69b1f15e Binary files /dev/null and b/ios/data/Icon-60@3x.png differ diff --git a/ios/data/Icon-76.png b/ios/data/Icon-76.png new file mode 100644 index 000000000..0f27d59be Binary files /dev/null and b/ios/data/Icon-76.png differ diff --git a/ios/data/Icon-76@2x.png b/ios/data/Icon-76@2x.png new file mode 100644 index 000000000..ade585793 Binary files /dev/null and b/ios/data/Icon-76@2x.png differ diff --git a/ios/data/Icon-83.5@2x.png b/ios/data/Icon-83.5@2x.png new file mode 100644 index 000000000..518ce1752 Binary files /dev/null and b/ios/data/Icon-83.5@2x.png differ diff --git a/ios/data/Icon.png b/ios/data/Icon.png new file mode 100644 index 000000000..9f5b48820 Binary files /dev/null and b/ios/data/Icon.png differ diff --git a/ios/data/Icon@2x.png b/ios/data/Icon@2x.png new file mode 100644 index 000000000..9f5b48820 Binary files /dev/null and b/ios/data/Icon@2x.png differ diff --git a/ios/data/Icon@3x.png b/ios/data/Icon@3x.png new file mode 100644 index 000000000..a69b1f15e Binary files /dev/null and b/ios/data/Icon@3x.png differ diff --git a/ios/data/ItunesArtwork@2x.png b/ios/data/ItunesArtwork@2x.png new file mode 100644 index 000000000..4a01e7aed Binary files /dev/null and b/ios/data/ItunesArtwork@2x.png differ diff --git a/ios/data/cursor_normal_select.png b/ios/data/cursor_normal_select.png new file mode 100644 index 000000000..3eb9323e4 Binary files /dev/null and b/ios/data/cursor_normal_select.png differ diff --git a/ios/gradle.properties b/ios/gradle.properties new file mode 100644 index 000000000..11be68d95 --- /dev/null +++ b/ios/gradle.properties @@ -0,0 +1,3 @@ +org.gradle.jvmargs=-Xmx8g -Dfile.encoding=UTF-8 +robovm.arch=arm64 +robovm.device.name=iPhone 17 Pro diff --git a/ios/gradle/wrapper/gradle-wrapper.jar b/ios/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 000000000..249e5832f Binary files /dev/null and b/ios/gradle/wrapper/gradle-wrapper.jar differ diff --git a/ios/gradle/wrapper/gradle-wrapper.properties b/ios/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 000000000..19cfdbd04 --- /dev/null +++ b/ios/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,6 @@ +#Sun Mar 29 13:56:04 BST 2026 +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.4-bin.zip +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists diff --git a/ios/gradlew b/ios/gradlew new file mode 100755 index 000000000..1b6c78733 --- /dev/null +++ b/ios/gradlew @@ -0,0 +1,234 @@ +#!/bin/sh + +# +# Copyright © 2015-2021 the original authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +############################################################################## +# +# Gradle start up script for POSIX generated by Gradle. +# +# Important for running: +# +# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is +# noncompliant, but you have some other compliant shell such as ksh or +# bash, then to run this script, type that shell name before the whole +# command line, like: +# +# ksh Gradle +# +# Busybox and similar reduced shells will NOT work, because this script +# requires all of these POSIX shell features: +# * functions; +# * expansions «$var», «${var}», «${var:-default}», «${var+SET}», +# «${var#prefix}», «${var%suffix}», and «$( cmd )»; +# * compound commands having a testable exit status, especially «case»; +# * various built-in commands including «command», «set», and «ulimit». +# +# Important for patching: +# +# (2) This script targets any POSIX shell, so it avoids extensions provided +# by Bash, Ksh, etc; in particular arrays are avoided. +# +# The "traditional" practice of packing multiple parameters into a +# space-separated string is a well documented source of bugs and security +# problems, so this is (mostly) avoided, by progressively accumulating +# options in "$@", and eventually passing that to Java. +# +# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, +# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; +# see the in-line comments for details. +# +# There are tweaks for specific operating systems such as AIX, CygWin, +# Darwin, MinGW, and NonStop. +# +# (3) This script is generated from the Groovy template +# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# within the Gradle project. +# +# You can find Gradle at https://github.com/gradle/gradle/. +# +############################################################################## + +# Attempt to set APP_HOME + +# Resolve links: $0 may be a link +app_path=$0 + +# Need this for daisy-chained symlinks. +while + APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path + [ -h "$app_path" ] +do + ls=$( ls -ld "$app_path" ) + link=${ls#*' -> '} + case $link in #( + /*) app_path=$link ;; #( + *) app_path=$APP_HOME$link ;; + esac +done + +APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit + +APP_NAME="Gradle" +APP_BASE_NAME=${0##*/} + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD=maximum + +warn () { + echo "$*" +} >&2 + +die () { + echo + echo "$*" + echo + exit 1 +} >&2 + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +nonstop=false +case "$( uname )" in #( + CYGWIN* ) cygwin=true ;; #( + Darwin* ) darwin=true ;; #( + MSYS* | MINGW* ) msys=true ;; #( + NONSTOP* ) nonstop=true ;; +esac + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD=$JAVA_HOME/jre/sh/java + else + JAVACMD=$JAVA_HOME/bin/java + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD=java + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi + +# Increase the maximum file descriptors if we can. +if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then + case $MAX_FD in #( + max*) + MAX_FD=$( ulimit -H -n ) || + warn "Could not query maximum file descriptor limit" + esac + case $MAX_FD in #( + '' | soft) :;; #( + *) + ulimit -n "$MAX_FD" || + warn "Could not set maximum file descriptor limit to $MAX_FD" + esac +fi + +# Collect all arguments for the java command, stacking in reverse order: +# * args from the command line +# * the main class name +# * -classpath +# * -D...appname settings +# * --module-path (only if needed) +# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables. + +# For Cygwin or MSYS, switch paths to Windows format before running java +if "$cygwin" || "$msys" ; then + APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) + CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) + + JAVACMD=$( cygpath --unix "$JAVACMD" ) + + # Now convert the arguments - kludge to limit ourselves to /bin/sh + for arg do + if + case $arg in #( + -*) false ;; # don't mess with options #( + /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath + [ -e "$t" ] ;; #( + *) false ;; + esac + then + arg=$( cygpath --path --ignore --mixed "$arg" ) + fi + # Roll the args list around exactly as many times as the number of + # args, so each arg winds up back in the position where it started, but + # possibly modified. + # + # NB: a `for` loop captures its iteration list before it begins, so + # changing the positional parameters here affects neither the number of + # iterations, nor the values presented in `arg`. + shift # remove old arg + set -- "$@" "$arg" # push replacement arg + done +fi + +# Collect all arguments for the java command; +# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of +# shell script including quotes and variable substitutions, so put them in +# double quotes to make sure that they get re-expanded; and +# * put everything else in single quotes, so that it's not re-expanded. + +set -- \ + "-Dorg.gradle.appname=$APP_BASE_NAME" \ + -classpath "$CLASSPATH" \ + org.gradle.wrapper.GradleWrapperMain \ + "$@" + +# Use "xargs" to parse quoted args. +# +# With -n1 it outputs one arg per line, with the quotes and backslashes removed. +# +# In Bash we could simply go: +# +# readarray ARGS < <( xargs -n1 <<<"$var" ) && +# set -- "${ARGS[@]}" "$@" +# +# but POSIX shell has neither arrays nor command substitution, so instead we +# post-process each arg (as a line of input to sed) to backslash-escape any +# character that might be a shell metacharacter, then use eval to reverse +# that process (while maintaining the separation between arguments), and wrap +# the whole thing up as a single "set" statement. +# +# This will of course break if any of these variables contains a newline or +# an unmatched quote. +# + +eval "set -- $( + printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | + xargs -n1 | + sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | + tr '\n' ' ' + )" '"$@"' + +exec "$JAVACMD" "$@" diff --git a/ios/gradlew.bat b/ios/gradlew.bat new file mode 100644 index 000000000..107acd32c --- /dev/null +++ b/ios/gradlew.bat @@ -0,0 +1,89 @@ +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem + +@if "%DEBUG%" == "" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if "%ERRORLEVEL%" == "0" goto execute + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/ios/robovm.properties b/ios/robovm.properties new file mode 100644 index 000000000..53e27493c --- /dev/null +++ b/ios/robovm.properties @@ -0,0 +1,6 @@ +app.version=0.1.0 +app.id=world.gregs.voidosrs.ios +app.mainclass=world.gregs.voidosrs.ios.Main +app.executable=Void +app.build=1 +app.name=Void diff --git a/ios/robovm.xml b/ios/robovm.xml new file mode 100644 index 000000000..28120ff2f --- /dev/null +++ b/ios/robovm.xml @@ -0,0 +1,50 @@ + + ${app.executable} + ${app.mainclass} + ios + arm64 + ios + Info.plist.xml + + + data + + + + * + MobileKeyboard + voidawt.** + voidapplet.** + voidswing.** + voidsound.** + voidmgmt.** + voidsun.** + jagdx.** + jaggl.** + jagtheora.** + jagex3.** + jaclib.** + com.ms.** + world.gregs.voidosrs.ios.** + com.android.okhttp.HttpHandler + com.android.okhttp.HttpsHandler + com.android.org.conscrypt.** + com.android.org.bouncycastle.jce.provider.BouncyCastleProvider + org.apache.harmony.security.provider.cert.DRLCertFactory + org.apache.harmony.security.provider.crypto.CryptoProvider + + + UIKit + Foundation + CoreGraphics + CoreText + QuartzCore + Security + CFNetwork + AVFoundation + AudioToolbox + CoreAudio + + GameController + + diff --git a/ios/settings.gradle b/ios/settings.gradle new file mode 100644 index 000000000..a8f117dea --- /dev/null +++ b/ios/settings.gradle @@ -0,0 +1,8 @@ +pluginManagement { + repositories { + gradlePluginPortal() + mavenCentral() + } +} + +rootProject.name = 'void-client-ios' diff --git a/ios/src/main/java/voidawt/AwtHost.java b/ios/src/main/java/voidawt/AwtHost.java new file mode 100644 index 000000000..65366ba1d --- /dev/null +++ b/ios/src/main/java/voidawt/AwtHost.java @@ -0,0 +1,352 @@ +package voidawt; + +import org.robovm.apple.dispatch.DispatchQueue; + +import voidawt.event.FocusEvent; +import voidawt.event.KeyEvent; +import voidawt.event.MouseEvent; +import voidawt.event.MouseWheelEvent; + +public final class AwtHost { + /** Default matches fullscreen 800x600 (client boot / display prefs). */ + public static volatile int GAME_WIDTH = 800; + public static volatile int GAME_HEIGHT = 600; + + /** + * Cap longest logical edge, or {@code 0} to use the native view size. + * Native size fills the phone; a lower cap makes HUD sprites larger when stretched. + * Ignored while the client holds an exclusive FS frame ({@code Component225.aFrame476}). + */ + public static volatile int LOGICAL_MAX_EDGE = 0; + + public static volatile Presenter presenter; + public static volatile Component root; + public static volatile Canvas gameCanvas; + + public interface Presenter { + void present(int[] argb, int width, int height); + } + + public static void setDisplaySize(int width, int height) { + int[] locked = fullscreenLogicalSize(); + if (locked != null) { + width = locked[0]; + height = locked[1]; + } else { + width = Math.max(1, width); + height = Math.max(1, height); + int[] logical = logicalSize(width, height); + width = logical[0]; + height = logical[1]; + } + GAME_WIDTH = width; + GAME_HEIGHT = height; + Component r = root; + if (r != null) { + r.setSize(width, height); + } + Canvas c = gameCanvas; + if (c != null) { + c.setSize(width, height); + } + GraphicsEnvironment.getLocalGraphicsEnvironment() + .getDefaultScreenDevice() + .setDisplayMode(new DisplayMode(width, height, 32, 60)); + syncClientViewport(width, height); + } + + /** Keep surface resize from expanding past exclusive FS (e.g. 800x600). */ + private static int[] fullscreenLogicalSize() { + try { + Object frame = Class.forName("Component225").getDeclaredField("aFrame476").get(null); + if (frame == null) { + return null; + } + int fw = Class.forName("InputHandler").getDeclaredField("anInt4276").getInt(null); + int fh = Class.forName("DisplayModeManagerContainer295").getDeclaredField("anInt5911").getInt(null); + if (fw <= 0 || fh <= 0) { + return null; + } + return new int[]{fw, fh}; + } catch (Throwable ignored) { + return null; + } + } + + private static void syncClientViewport(int width, int height) { + try { + setStaticInt("DisplayModeManagerContainer23", "anInt1524", width); + setStaticInt("GlToolkitSub2", "anInt7666", height); + setStaticInt("Component236", "anInt4017", width); + setStaticInt("PacketReader", "anInt10432", height); + setStaticInt("SocketConnector", "anInt3473", width); + setStaticInt("NodeSub22", "anInt6857", height); + setStaticInt("NodeSub48", "anInt7129", 0); + setStaticInt("DisplayModeManagerContainer147", "anInt4167", 0); + // getWindowMode: true → mode 2 (resizable / FS available) + setStaticBoolean("Cp1252Decoder", "fullscreenAvailable", true); + } catch (Throwable ignored) { + } + } + + private static void setStaticInt(String className, String field, int value) throws Exception { + java.lang.reflect.Field f = Class.forName(className).getDeclaredField(field); + f.setAccessible(true); + f.setInt(null, value); + } + + private static void setStaticBoolean(String className, String field, boolean value) throws Exception { + java.lang.reflect.Field f = Class.forName(className).getDeclaredField(field); + f.setAccessible(true); + f.setBoolean(null, value); + } + + public static int[] logicalSize(int surfaceW, int surfaceH) { + surfaceW = Math.max(1, surfaceW); + surfaceH = Math.max(1, surfaceH); + int maxEdge = LOGICAL_MAX_EDGE; + if (maxEdge <= 0) { + return new int[]{surfaceW, surfaceH}; + } + int longEdge = Math.max(surfaceW, surfaceH); + if (longEdge <= maxEdge) { + return new int[]{surfaceW, surfaceH}; + } + float s = maxEdge / (float) longEdge; + return new int[]{ + Math.max(1, Math.round(surfaceW * s)), + Math.max(1, Math.round(surfaceH * s)) + }; + } + + public static void setRoot(Component component) { + root = component; + if (component != null) { + component.setSize(GAME_WIDTH, GAME_HEIGHT); + } + } + + public static void onGameCanvas(Canvas canvas) { + gameCanvas = canvas; + if (canvas != null) { + canvas.setSize(GAME_WIDTH, GAME_HEIGHT); + } + } + + public static void present(int[] pixels, int width, int height) { + Presenter p = presenter; + if (p == null || pixels == null || width <= 0 || height <= 0) { + return; + } + final int[] copy = java.util.Arrays.copyOf(pixels, width * height); + final int fw = width; + final int fh = height; + DispatchQueue.getMainQueue().async(new Runnable() { + public void run() { + p.present(copy, fw, fh); + } + }); + } + + public static void injectRightClick(int x, int y) { + injectMouse(MouseEvent.MOUSE_MOVED, x, y, 0, 0); + injectMouse(MouseEvent.MOUSE_PRESSED, x, y, MouseEvent.BUTTON3, 1); + injectMouse(MouseEvent.MOUSE_RELEASED, x, y, MouseEvent.BUTTON3, 1); + injectMouse(MouseEvent.MOUSE_CLICKED, x, y, MouseEvent.BUTTON3, 1); + } + + public static void injectLeftClick(int x, int y) { + injectMouse(MouseEvent.MOUSE_MOVED, x, y, 0, 0); + injectMouse(MouseEvent.MOUSE_PRESSED, x, y, MouseEvent.BUTTON1, 1); + injectMouse(MouseEvent.MOUSE_RELEASED, x, y, MouseEvent.BUTTON1, 1); + injectMouse(MouseEvent.MOUSE_CLICKED, x, y, MouseEvent.BUTTON1, 1); + } + + public static void injectMouse(int id, int x, int y, int button, int clickCount) { + Component target = gameCanvas != null ? gameCanvas : root; + if (target == null) { + return; + } + int modifiers = 0; + if (button == 1) { + modifiers = 16; // BUTTON1_MASK + } else if (button == 2) { + modifiers = 8; // BUTTON2_MASK + } else if (button == 3) { + modifiers = 4; // BUTTON3_MASK / META_MASK + } + MouseEvent e = new MouseEvent(target, id, System.currentTimeMillis(), modifiers, x, y, clickCount, button == 3, button); + if (id == MouseEvent.MOUSE_WHEEL) { + return; + } + target.dispatchMouse(e); + } + + public static void injectWheel(int x, int y, int rotation) { + Component target = gameCanvas != null ? gameCanvas : root; + if (target == null) { + return; + } + MouseWheelEvent e = new MouseWheelEvent(target, MouseEvent.MOUSE_WHEEL, System.currentTimeMillis(), 0, x, y, 0, false, rotation); + target.dispatchWheel(e); + } + + /** + * Orbit camera by view-pixel deltas (two-finger pan / gamepad right stick). + * Writes {@code Component112.cameraYaw} / {@code DisplayModeManagerContainer154.cameraPitch} + * then clamps via {@code DisplayModeManagerContainer199.clampCameraAngles}. + * Positive dx = look right; positive dy = look down. + */ + public static void injectCameraOrbit(float dx, float dy) { + if (dx == 0f && dy == 0f) { + return; + } + try { + float yawScale = 8f; + float pitchScale = 4f; + Class yawCl = Class.forName("Component112"); + java.lang.reflect.Field yawF = yawCl.getDeclaredField("cameraYaw"); + yawF.setAccessible(true); + yawF.setFloat(null, yawF.getFloat(null) + dx * yawScale); + + Class pitchCl = Class.forName("DisplayModeManagerContainer154"); + java.lang.reflect.Field pitchF = pitchCl.getDeclaredField("cameraPitch"); + pitchF.setAccessible(true); + pitchF.setFloat(null, pitchF.getFloat(null) + dy * pitchScale); + + Class.forName("DisplayModeManagerContainer199") + .getDeclaredMethod("clampCameraAngles", int.class) + .invoke(null, 262144); + } catch (Throwable ignored) { + } + } + + public static void injectKey(int id, int keyCode, char keyChar) { + Component target = gameCanvas != null ? gameCanvas : root; + if (target == null) { + return; + } + KeyEvent e = new KeyEvent(target, id, System.currentTimeMillis(), 0, keyCode, keyChar); + target.dispatchKey(e); + } + + /** Toggle developer console (same as desktop ` key). Used by 4-finger tap on mobile. */ + public static void injectDevConsoleToggle() { + injectKey(KeyEvent.KEY_PRESSED, '`', '`'); + injectKey(KeyEvent.KEY_TYPED, 0, '`'); + injectKey(KeyEvent.KEY_RELEASED, '`', '`'); + } + + /** {@code StringCache.devConsoleOpen} — developer console visible. */ + public static boolean isDevConsoleOpen() { + try { + java.lang.reflect.Field f = Class.forName("StringCache").getDeclaredField("devConsoleOpen"); + f.setAccessible(true); + return f.getBoolean(null); + } catch (Throwable ignored) { + return false; + } + } + + /** + * {@code BuildInfo.isConsolePromptTap} — tap on the {@code -->} strip (not history). + * History taps must not dismiss the IME or the inset→0 race lets the click fall through. + */ + public static boolean isConsolePromptTap(int canvasX, int canvasY) { + try { + java.lang.reflect.Method m = Class.forName("BuildInfo") + .getDeclaredMethod("isConsolePromptTap", int.class, int.class); + m.setAccessible(true); + Object r = m.invoke(null, Integer.valueOf(canvasX), Integer.valueOf(canvasY)); + return Boolean.TRUE.equals(r); + } catch (Throwable ignored) { + return false; + } + } + + /** + * Open/close developer console without injecting {@code `} (avoids console text / IME races). + * Mirrors {@code Component192.openDevConsole} / {@code AbstractShaderSub4.closeDevConsole}. + */ + public static void setDevConsoleOpen(boolean open) { + try { + if (open) { + Class.forName("Component192") + .getDeclaredMethod("openDevConsole", int.class) + .invoke(null, -84); + } else { + Class.forName("AbstractShaderSub4") + .getDeclaredMethod("closeDevConsole", byte.class) + .invoke(null, (byte) -89); + } + } catch (Throwable t) { + injectDevConsoleToggle(); + } + } + + public static void toggleDevConsole() { + setDevConsoleOpen(!isDevConsoleOpen()); + } + + public interface SoftKeyboardListener { + void showSoftKeyboard(String reason); + void hideSoftKeyboard(String reason); + void toggleSoftKeyboard(String reason); + void syncSoftKeyboardToDevConsole(); + } + + public static volatile SoftKeyboardListener softKeyboardListener; + /** Soft-keyboard overlap in view pixels (0 = hidden). Does not resize the canvas. */ + public static volatile int KEYBOARD_INSET_PX; + public static volatile int VIEW_HEIGHT_PX = 1; + /** True while the host soft keyboard is up (for tap-outside dismiss). */ + public static volatile boolean SOFT_KEYBOARD_OPEN; + + public static void setKeyboardInset(int insetPx, int viewHeightPx) { + KEYBOARD_INSET_PX = Math.max(0, insetPx); + VIEW_HEIGHT_PX = Math.max(1, viewHeightPx); + try { + Class.forName("MobileKeyboard") + .getDeclaredMethod("setInset", int.class, int.class) + .invoke(null, Integer.valueOf(KEYBOARD_INSET_PX), Integer.valueOf(VIEW_HEIGHT_PX)); + } catch (Throwable ignored) { + } + } + + public static void requestSoftKeyboard(String reason) { + SoftKeyboardListener l = softKeyboardListener; + if (l != null) { + l.showSoftKeyboard(reason); + } + } + + public static void requestHideSoftKeyboard(String reason) { + SoftKeyboardListener l = softKeyboardListener; + if (l != null) { + l.hideSoftKeyboard(reason); + } + } + + public static void requestToggleSoftKeyboard(String reason) { + SoftKeyboardListener l = softKeyboardListener; + if (l != null) { + l.toggleSoftKeyboard(reason); + } + } + + public static void requestSyncSoftKeyboardToDevConsole() { + SoftKeyboardListener l = softKeyboardListener; + if (l != null) { + l.syncSoftKeyboardToDevConsole(); + } + } + + public static void injectFocus(boolean gained) { + Component target = gameCanvas != null ? gameCanvas : root; + if (target == null) { + return; + } + FocusEvent e = new FocusEvent(target, gained ? FocusEvent.FOCUS_GAINED : FocusEvent.FOCUS_LOST); + target.dispatchFocus(e); + } +} diff --git a/ios/src/main/java/voidawt/Font.java b/ios/src/main/java/voidawt/Font.java new file mode 100644 index 000000000..14019230e --- /dev/null +++ b/ios/src/main/java/voidawt/Font.java @@ -0,0 +1,89 @@ +package voidawt; + +import org.robovm.apple.foundation.NSAttributedString; +import org.robovm.apple.uikit.NSAttributedStringAttributes; +import org.robovm.apple.uikit.UIColor; +import org.robovm.apple.uikit.UIFont; + +/** + * AWT {@code Font} shim for iOS (RoboVM). + *

+ * The 634 client asks for desktop faces like {@code Helvetica} / bold-13 for the + * splash ({@code HelveticaFont}) and for baking toolkit glyphs ({@code FontGlyphCache}). + * There is no java.awt on iOS, so we resolve a real {@link UIFont} and expose it + * to {@link Graphics#drawString} / {@link FontMetrics} via CoreText. + */ +public class Font { + public static final int PLAIN = 0; + public static final int BOLD = 1; + public static final int ITALIC = 2; + + final String name; + final int style; + final int size; + /** Lazily resolved PostScript / system face; cached for the life of this Font. */ + private UIFont uiFont; + + public Font(String name, int style, int size) { + this.name = name == null ? "Helvetica" : name; + this.style = style; + this.size = Math.max(1, size); + } + + public int getSize() { + return size; + } + + public int getStyle() { + return style; + } + + /** + * Map AWT name+style → {@link UIFont}. + * Tries PostScript names ({@code Helvetica-Bold}, …) then falls back to the + * system bold/italic/regular fonts when the named face is missing. + */ + UIFont uiFont() { + if (uiFont != null) { + return uiFont; + } + double pt = size; + UIFont resolved = null; + boolean bold = (style & BOLD) != 0; + boolean italic = (style & ITALIC) != 0; + if (bold && italic) { + resolved = UIFont.getFont(name + "-BoldOblique", pt); + if (resolved == null) { + resolved = UIFont.getFont(name + "-BoldItalic", pt); + } + } else if (bold) { + resolved = UIFont.getFont(name + "-Bold", pt); + if (resolved == null) { + resolved = UIFont.getBoldSystemFont(pt); + } + } else if (italic) { + resolved = UIFont.getFont(name + "-Oblique", pt); + if (resolved == null) { + resolved = UIFont.getFont(name + "-Italic", pt); + } + if (resolved == null) { + resolved = UIFont.getItalicSystemFont(pt); + } + } else { + resolved = UIFont.getFont(name, pt); + } + if (resolved == null) { + resolved = bold ? UIFont.getBoldSystemFont(pt) : UIFont.getSystemFont(pt); + } + uiFont = resolved; + return uiFont; + } + + /** Build a CoreText-ready attributed string (font + foreground). */ + NSAttributedString attributed(String text, UIColor color) { + NSAttributedStringAttributes attrs = new NSAttributedStringAttributes(); + attrs.setFont(uiFont()); + attrs.setForegroundColor(color == null ? UIColor.white() : color); + return new NSAttributedString(text == null ? "" : text, attrs); + } +} diff --git a/ios/src/main/java/voidawt/FontMetrics.java b/ios/src/main/java/voidawt/FontMetrics.java new file mode 100644 index 000000000..b29658f09 --- /dev/null +++ b/ios/src/main/java/voidawt/FontMetrics.java @@ -0,0 +1,57 @@ +package voidawt; + +import org.robovm.apple.coretext.CTLine; +import org.robovm.apple.uikit.UIColor; +import org.robovm.apple.uikit.UIFont; + +/** + * AWT {@code FontMetrics} shim backed by {@link UIFont} / CoreText. + *

+ * Used when the client bakes per-glyph images in {@code FontGlyphCache} + * ({@code charWidth}, ascent, descent) and anywhere else that sizes text + * before {@link Graphics#drawString}. Must match the same face that + * {@code drawString} rasterizes, or glyph crops come out wrong. + */ +public class FontMetrics { + private final Font font; + private final UIFont uiFont; + + FontMetrics(Font font) { + this.font = font == null ? new Font("Helvetica", Font.PLAIN, 12) : font; + this.uiFont = this.font.uiFont(); + } + + public int charWidth(char c) { + return stringWidth(String.valueOf(c)); + } + + /** Advance width via {@link CTLine} (same path as {@code drawString}). */ + public int stringWidth(String s) { + if (s == null || s.length() == 0) { + return 1; + } + CTLine line = CTLine.create(font.attributed(s, UIColor.white())); + return Math.max(1, (int) Math.ceil(line.getWidth())); + } + + public int getAscent() { + return Math.max(1, (int) Math.ceil(uiFont.getAscender())); + } + + public int getMaxAscent() { + return getAscent(); + } + + public int getDescent() { + // UIKit reports descender as a negative offset below the baseline. + return Math.max(1, (int) Math.ceil(-uiFont.getDescender())); + } + + public int getMaxDescent() { + return getDescent(); + } + + public int getHeight() { + return Math.max(getAscent() + getDescent(), (int) Math.ceil(uiFont.getLineHeight())); + } +} diff --git a/ios/src/main/java/voidawt/Graphics.java b/ios/src/main/java/voidawt/Graphics.java new file mode 100644 index 000000000..a173102d3 --- /dev/null +++ b/ios/src/main/java/voidawt/Graphics.java @@ -0,0 +1,253 @@ +package voidawt; + +import org.robovm.apple.coregraphics.CGBitmapContext; +import org.robovm.apple.coregraphics.CGColorSpace; +import org.robovm.apple.coregraphics.CGImage; +import org.robovm.apple.coregraphics.CGImageAlphaInfo; +import org.robovm.apple.coregraphics.CGPoint; +import org.robovm.apple.coregraphics.CGRect; +import org.robovm.apple.coregraphics.CGSize; +import org.robovm.apple.coretext.CTLine; +import org.robovm.apple.foundation.NSAttributedString; +import org.robovm.apple.uikit.UIColor; +import org.robovm.apple.uikit.UIFont; +import org.robovm.apple.uikit.UIGraphics; +import org.robovm.apple.uikit.UIImage; + +import voidawt.image.BufferedImage; +import voidawt.image.ImageObserver; + +/** + * Software AWT {@code Graphics} for the iOS host. + *

+ * Draws into a {@link BufferedImage} {@code int[]} ARGB buffer. The canvas path + * sets {@code presentOnDraw} so {@link #drawImage} pushes frames via + * {@link AwtHost#present}. Splash loading UI ({@code HelveticaFont}) and AWT glyph + * baking ({@code FontGlyphCache}) both go through {@link #drawString}. + */ +public class Graphics { + private final BufferedImage target; + private Color color = Color.black; + private Font font = new Font("Helvetica", Font.PLAIN, 12); + private Shape clip; + /** When true, {@link #drawImage} presents the buffer (game canvas backbuffer). */ + private final boolean presentOnDraw; + + public Graphics(BufferedImage target) { + this(target, false); + } + + public Graphics(BufferedImage target, boolean presentOnDraw) { + this.target = target; + this.presentOnDraw = presentOnDraw; + this.clip = new Rectangle(0, 0, target.getWidth(), target.getHeight()); + } + + public Color getColor() { + return color; + } + + public void setColor(Color color) { + this.color = color == null ? Color.black : color; + } + + public void setFont(Font font) { + if (font != null) { + this.font = font; + } + } + + public Font getFont() { + return font; + } + + public Shape getClip() { + return clip; + } + + public Rectangle getClipBounds() { + return clip == null ? null : clip.getBounds(); + } + + public void setClip(Shape clip) { + this.clip = clip; + } + + public void setClip(int x, int y, int width, int height) { + this.clip = new Rectangle(x, y, width, height); + } + + public void fillRect(int x, int y, int w, int h) { + int[] px = target.peekArgb(); + int tw = target.getWidth(); + int th = target.getHeight(); + int rgb = color.getRGB(); + int x1 = Math.max(0, x); + int y1 = Math.max(0, y); + int x2 = Math.min(tw, x + w); + int y2 = Math.min(th, y + h); + for (int yy = y1; yy < y2; yy++) { + int row = yy * tw; + for (int xx = x1; xx < x2; xx++) { + px[row + xx] = rgb; + } + } + } + + public void drawRect(int x, int y, int w, int h) { + fillRect(x, y, w, 1); + fillRect(x, y + h, w, 1); + fillRect(x, y, 1, h); + fillRect(x + w, y, 1, h); + } + + /** + * Rasterize {@code str} via UIKit ({@link UIGraphics}) into a tight glyph + * bitmap, then blit non-empty pixels into the ARGB target. + *

+ * AWT {@code drawString(x,y)} treats {@code y} as the baseline. + * Raw {@code CGBitmapContext}+{@code CTLine} CTM/text-matrix combos kept + * producing upside-down or empty glyphs on device; {@code UIGraphics} already + * sets a UIKit-flipped context so {@link NSAttributedString#draw(CGPoint)} + * comes out upright. + *

+ * Callers: splash ({@code HelveticaFont}), glyph bake ({@code FontGlyphCache}). + */ + public void drawString(String str, int x, int y) { + if (str == null || str.length() == 0) { + return; + } + UIFont uiFont = font.uiFont(); + UIColor uiColor = UIColor.fromRGBA( + color.getRed() / 255.0, + color.getGreen() / 255.0, + color.getBlue() / 255.0, + 1.0); + NSAttributedString attributed = font.attributed(str, uiColor); + CTLine line = CTLine.create(attributed); + double ascent = Math.max(uiFont.getAscender(), line.getAscent()); + double descent = Math.max(-uiFont.getDescender(), line.getDescent()); + double width = Math.max(1.0, line.getWidth()); + int pad = 2; + int bw = Math.max(1, (int) Math.ceil(width) + pad * 2); + int bh = Math.max(1, (int) Math.ceil(ascent + descent) + pad * 2); + + // opaque=false keeps clear alpha; scale=1 → 1 bitmap px per point. + UIGraphics.beginImageContext(new CGSize(bw, bh), false, 1.0); + byte[] rgba; + try { + // UIKit point = top-left of the line bounding box (not AWT baseline). + attributed.draw(new CGPoint(pad, pad)); + UIImage image = UIGraphics.getImageFromCurrentImageContext(); + if (image == null) { + return; + } + rgba = extractRgba(image, bw, bh); + if (rgba == null) { + return; + } + } finally { + UIGraphics.endImageContext(); + } + + int[] dst = target.peekArgb(); + int tw = target.getWidth(); + int th = target.getHeight(); + int dx0 = x - pad; + int dy0 = y - (int) Math.ceil(ascent) - pad; + for (int row = 0; row < bh; row++) { + int dy = dy0 + row; + if (dy < 0 || dy >= th) { + continue; + } + int dyOff = dy * tw; + int srcRow = row * bw * 4; + for (int col = 0; col < bw; col++) { + int o = srcRow + col * 4; + int a = rgba[o + 3] & 0xff; + if (a == 0) { + continue; + } + int dx = dx0 + col; + if (dx < 0 || dx >= tw) { + continue; + } + int r = rgba[o] & 0xff; + int g = rgba[o + 1] & 0xff; + int b = rgba[o + 2] & 0xff; + dst[dyOff + dx] = (a << 24) | (r << 16) | (g << 8) | b; + } + } + } + + /** + * Copy UIImage → PremultipliedLast RGBA, keeping alpha (unlike + * {@code ArgbBridge.copy}, which forces opaque and would paint black over the splash). + */ + private static byte[] extractRgba(UIImage image, int w, int h) { + CGImage cg = image.getCGImage(); + if (cg == null) { + return null; + } + byte[] rgba = new byte[w * h * 4]; + CGColorSpace space = CGColorSpace.createDeviceRGB(); + CGBitmapContext ctx = CGBitmapContext.create( + rgba, w, h, 8, w * 4L, space, CGImageAlphaInfo.PremultipliedLast); + if (ctx == null) { + return null; + } + // Same path as ArgbBridge.copy: drawImage into default context → top-row-first buffer. + ctx.clearRect(new CGRect(0, 0, w, h)); + ctx.drawImage(new CGRect(0, 0, w, h), cg); + return rgba; + } + + public boolean drawImage(Image img, int x, int y, ImageObserver observer) { + if (img == null) { + return false; + } + int[] src = img.peekArgb(); + int sw = img.getWidth(observer); + int sh = img.getHeight(observer); + if (src == null || sw <= 0 || sh <= 0) { + return false; + } + int[] dst = target.peekArgb(); + int tw = target.getWidth(); + int th = target.getHeight(); + for (int row = 0; row < sh; row++) { + int dy = y + row; + if (dy < 0 || dy >= th) { + continue; + } + int sy = row * sw; + int dyOff = dy * tw; + for (int col = 0; col < sw; col++) { + int dx = x + col; + if (dx < 0 || dx >= tw) { + continue; + } + dst[dyOff + dx] = src[sy + col]; + } + } + if (presentOnDraw) { + AwtHost.present(dst, tw, th); + } + return true; + } + + public boolean drawImage(Image img, int x, int y, int width, int height, ImageObserver observer) { + return drawImage(img, x, y, observer); + } + + public void clipRect(int x, int y, int width, int height) { + setClip(x, y, width, height); + } + + public void clearRect(int x, int y, int w, int h) { + Color old = color; + color = Color.black; + fillRect(x, y, w, h); + color = old; + } +} diff --git a/ios/src/main/java/voidawt/Toolkit.java b/ios/src/main/java/voidawt/Toolkit.java new file mode 100644 index 000000000..56db9e4f1 --- /dev/null +++ b/ios/src/main/java/voidawt/Toolkit.java @@ -0,0 +1,113 @@ +package voidawt; + +import org.robovm.apple.coregraphics.CGImage; +import org.robovm.apple.foundation.NSData; +import org.robovm.apple.uikit.UIImage; + +import voidawt.datatransfer.Clipboard; +import voidawt.image.BufferedImage; +import voidawt.image.ImageProducer; +import world.gregs.voidosrs.ios.ArgbBridge; + +public class Toolkit { + private static final Toolkit INSTANCE = new Toolkit(); + private final Clipboard clipboard = new Clipboard(); + private final EventQueue eventQueue = new EventQueue(); + + public static Toolkit getDefaultToolkit() { + return INSTANCE; + } + + public EventQueue getSystemEventQueue() { + return eventQueue; + } + + public Clipboard getSystemClipboard() { + return clipboard; + } + + public Dimension getScreenSize() { + return new Dimension(AwtHost.GAME_WIDTH, AwtHost.GAME_HEIGHT); + } + + public void sync() { + } + + public Image createImage(byte[] data) { + if (data == null) { + throw new IllegalArgumentException("image data"); + } + UIImage ui = new UIImage(new NSData(data)); + CGImage cg = ui == null ? null : ui.getCGImage(); + if (cg == null) { + throw new IllegalArgumentException("decode failed"); + } + int w = (int) cg.getWidth(); + int h = (int) cg.getHeight(); + BufferedImage image = new BufferedImage(w, h, BufferedImage.TYPE_INT_ARGB); + ArgbBridge.copy(ui, image.peekArgb(), w, h); + int[] pixels = image.peekArgb(); + for (int i = 0; i < pixels.length; i++) { + pixels[i] |= 0xff000000; + } + return image; + } + + public Image createImage(ImageProducer producer) { + if (producer == null) { + return new BufferedImage(1, 1, BufferedImage.TYPE_INT_ARGB); + } + ProducerImage image = new ProducerImage(); + producer.startProduction(image); + return image.image != null ? image.image : new BufferedImage(1, 1, BufferedImage.TYPE_INT_ARGB); + } + + public Cursor createCustomCursor(Image cursor, Point hotSpot, String name) { + return new Cursor(); + } + + public void beep() { + } + + private static final class ProducerImage implements voidawt.image.ImageConsumer { + BufferedImage image; + + public void setDimensions(int width, int height) { + image = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB); + } + + public void setProperties(java.util.Hashtable props) { + } + + public void setColorModel(voidawt.image.ColorModel model) { + } + + public void setHints(int hintflags) { + } + + public void setPixels(int x, int y, int w, int h, voidawt.image.ColorModel model, byte[] pixels, int off, int scansize) { + } + + public void setPixels(int x, int y, int w, int h, voidawt.image.ColorModel model, int[] pixels, int off, int scansize) { + if (image == null) { + setDimensions(x + w, y + h); + } + if (model == null) { + image.setRGB(x, y, w, h, pixels, off, scansize); + return; + } + int[] argb = new int[w * h]; + for (int row = 0; row < h; row++) { + int src = off + row * scansize; + int dst = row * w; + for (int col = 0; col < w; col++) { + argb[dst + col] = model.getRGB(pixels[src + col]); + } + } + image.setRGB(x, y, w, h, argb, 0, w); + } + + public void imageComplete(int status) { + } + } +} diff --git a/ios/src/main/java/voidsound/sampled/PcmSourceDataLine.java b/ios/src/main/java/voidsound/sampled/PcmSourceDataLine.java new file mode 100644 index 000000000..968e0ecf7 --- /dev/null +++ b/ios/src/main/java/voidsound/sampled/PcmSourceDataLine.java @@ -0,0 +1,315 @@ +package voidsound.sampled; + +import java.nio.ByteBuffer; + +import org.robovm.apple.audiotoolbox.AudioQueue; +import org.robovm.apple.audiotoolbox.AudioQueueBuffer; +import org.robovm.apple.avfoundation.AVAudioSession; +import org.robovm.apple.avfoundation.AVAudioSessionCategory; +import org.robovm.apple.avfoundation.AVAudioSessionCategoryOptions; +import org.robovm.apple.coreaudio.AudioFormatFlags; +import org.robovm.apple.coreaudio.AudioStreamBasicDescription; +import org.robovm.apple.corefoundation.OSStatusException; +import org.robovm.apple.dispatch.DispatchQueue; +import org.robovm.apple.foundation.NSThread; +import org.robovm.rt.VM; + +/** + * iOS PCM sink for the 634 mixer ({@code SourceAudioLine}). + *

+ * Uses AudioQueue (16-bit LE PCM) instead of AVAudioEngine — more reliable under + * RoboVM. Hard requirements learned the hard way: + *

    + *
  • Create/dispose the queue on the main thread — mixer-thread + * {@code AudioQueueNewOutput} crashes in {@code objc_retain}.
  • + *
  • Copy PCM into the native buffer via {@link VM#newDirectByteBuffer} — + * RoboVM {@code setAudioData(byte[])} only points at the Java array and + * the GC can reclaim it before Core Audio reads it.
  • + *
  • Keep {@link #callback} as a field so the block marshaler cannot GC it.
  • + *
+ * Android's AudioTrack implementation is excluded in {@code ios/build.gradle}; + * this file is the iOS overlay. + */ +final class PcmSourceDataLine implements SourceDataLine { + private static final int QUEUE_BUFFERS = 3; + private static final int BUFFER_BYTES = 4096; + + private final AudioFormat format; + private final int requestedBufferBytes; + /** Strong ref — RoboVM block marshaler must not GC the OutputCallback. */ + private final AudioQueue.OutputCallback callback = new AudioQueue.OutputCallback() { + public void onOutput(AudioQueue q, long bufferPtr) { + PcmSourceDataLine.this.onOutput(q, bufferPtr); + } + }; + + private ByteRing ring; + private AudioQueue queue; + private volatile boolean running; + private int channels; + private int frameSize; + private int sampleRate; + private int writes; + private int maxPeak; + + /** + * Thin wrapper so we can copy bytes into the Core Audio buffer's native + * memory (RoboVM's AudioQueueBuffer setters are pointer-only). + */ + private static final class NativeBuf extends AudioQueueBuffer { + NativeBuf(long handle) { + super(handle); + } + + void putPcm(byte[] src) { + int cap = getAudioDataBytesCapacity(); + int n = Math.min(src.length, cap); + if (n <= 0) { + return; + } + ByteBuffer dst = VM.newDirectByteBuffer(getDataPointer(), cap); + dst.clear(); + dst.put(src, 0, n); + setAudioDataByteSize(n); + } + } + + PcmSourceDataLine(AudioFormat format, int bufferBytes) { + this.format = format; + this.requestedBufferBytes = bufferBytes; + } + + public void open() throws LineUnavailableException { + synchronized (this) { + if (running) { + return; + } + } + channels = format.getChannels() <= 1 ? 1 : 2; + frameSize = channels * 2; + sampleRate = Math.max(8000, (int) format.getSampleRate()); + int ringBytes = requestedBufferBytes > 0 ? requestedBufferBytes : sampleRate * frameSize / 2; + ringBytes = Math.max(ringBytes, frameSize * 2048); + ring = new ByteRing(ringBytes); + try { + // Mixer thread → hop to main before touching AudioQueue APIs. + runOnMain(new Runnable() { + public void run() { + openOnMain(); + } + }); + } catch (Throwable t) { + close(); + throw new LineUnavailableException(String.valueOf(t)); + } + synchronized (this) { + running = true; + } + System.out.println("void-osrs audio open (AudioQueue/main) " + sampleRate + "Hz ch=" + channels + + " ring=" + ring.capacity()); + } + + private void openOnMain() { + try { + // MixWithOthers so opening the AudioQueue does not steal focus from + // PiP / Spotify / etc. (plain Playback pauses them even at game mute). + AVAudioSession session = AVAudioSession.getSharedInstance(); + session.setCategory(AVAudioSessionCategory.Playback, + AVAudioSessionCategoryOptions.MixWithOthers); + session.setActive(true); + AudioFormatFlags flags = new AudioFormatFlags( + AudioFormatFlags.LinearPCMFormatFlagIsSignedInteger.value() + | AudioFormatFlags.LinearPCMFormatFlagIsPacked.value()); + AudioStreamBasicDescription asbd = new AudioStreamBasicDescription( + sampleRate, + org.robovm.apple.coreaudio.AudioFormat.LinearPCM, + flags, + frameSize, + 1, + frameSize, + channels, + 16); + queue = AudioQueue.createOutput(asbd, callback); + // Prime three buffers so the queue never underruns on start. + byte[] priming = new byte[BUFFER_BYTES]; + fill(priming); + for (int i = 0; i < QUEUE_BUFFERS; i++) { + AudioQueueBuffer buf = queue.allocateBuffer(BUFFER_BYTES); + new NativeBuf(buf.getHandle()).putPcm(priming); + queue.enqueueBuffer(buf, null); + } + queue.start(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new RuntimeException(e); + } + } + + public void close() { + synchronized (this) { + running = false; + } + if (ring != null) { + ring.clear(); + } + try { + runOnMain(new Runnable() { + public void run() { + AudioQueue q = queue; + queue = null; + if (q == null) { + return; + } + try { + q.stop(true); + } catch (Exception ignored) { + } + try { + q.dispose(true); + } catch (Exception ignored) { + } + } + }); + } catch (Throwable ignored) { + } + ring = null; + } + + public void start() { + // AudioQueue starts in openOnMain; nothing else to do. + } + + public void flush() { + if (ring != null) { + ring.clear(); + } + final AudioQueue q = queue; + if (q == null) { + return; + } + try { + runOnMain(new Runnable() { + public void run() { + try { + q.flush(); + } catch (OSStatusException ignored) { + } + } + }); + } catch (Throwable ignored) { + } + } + + /** Free ring space (JavaSound {@code available()}). */ + public int available() { + ByteRing r = ring; + return r == null ? 0 : r.free(); + } + + public int write(byte[] b, int off, int len) { + ByteRing r = ring; + if (r == null || b == null || len <= 0) { + return 0; + } + int p = peak(b, off, len); + if (p > maxPeak) { + maxPeak = p; + } + writes++; + // Sparse logs: splash is peak=0; title music should push peak > 0. + if (writes == 1 || writes == 50 || (writes % 200 == 0)) { + System.out.println("void-osrs audio write#" + writes + " len=" + len + + " peak=" + p + " max=" + maxPeak + " buffered=" + r.used()); + } + return r.write(b, off, len); + } + + /** AudioQueue callback: refill a finished buffer from the ring (or silence). */ + private void onOutput(AudioQueue q, long bufferPtr) { + if (!running || q == null) { + return; + } + NativeBuf buf = new NativeBuf(bufferPtr); + int cap = buf.getAudioDataBytesCapacity(); + if (cap <= 0) { + cap = BUFFER_BYTES; + } + cap -= cap % Math.max(1, frameSize); + byte[] data = new byte[cap]; + fill(data); + buf.putPcm(data); + try { + q.enqueueBuffer(bufferPtr, null); + } catch (OSStatusException e) { + System.out.println("void-osrs audio enqueue failed " + e); + } + } + + private void fill(byte[] dst) { + ByteRing r = ring; + int off = r == null ? 0 : r.read(dst, 0, dst.length); + if (off < dst.length) { + for (int i = off; i < dst.length; i++) { + dst[i] = 0; + } + } + } + + /** Run {@code task} on the main queue and wait (mixer threads call this). */ + private static void runOnMain(final Runnable task) { + if (NSThread.getCurrentThread().isMainThread()) { + task.run(); + return; + } + final RuntimeException[] fail = new RuntimeException[1]; + final boolean[] done = new boolean[1]; + final Object lock = new Object(); + DispatchQueue.getMainQueue().async(new Runnable() { + public void run() { + try { + task.run(); + } catch (RuntimeException e) { + fail[0] = e; + } finally { + synchronized (lock) { + done[0] = true; + lock.notifyAll(); + } + } + } + }); + synchronized (lock) { + long deadline = System.currentTimeMillis() + 8000L; + while (!done[0]) { + long wait = deadline - System.currentTimeMillis(); + if (wait <= 0) { + throw new RuntimeException("main audio timeout"); + } + try { + lock.wait(wait); + } catch (InterruptedException e) { + Thread.currentThread().interrupt(); + throw new RuntimeException(e); + } + } + } + if (fail[0] != null) { + throw fail[0]; + } + } + + /** Max abs amplitude of LE 16-bit samples — debug for silent mixer. */ + private static int peak(byte[] b, int off, int len) { + int peak = 0; + int end = Math.min(b.length, off + len) - 1; + for (int i = off; i < end; i += 2) { + int s = (b[i] & 0xff) | (b[i + 1] << 8); + int a = Math.abs((short) s); + if (a > peak) { + peak = a; + } + } + return peak; + } +} diff --git a/ios/src/main/java/world/gregs/voidosrs/ios/ArgbBridge.java b/ios/src/main/java/world/gregs/voidosrs/ios/ArgbBridge.java new file mode 100644 index 000000000..2b4d5925c --- /dev/null +++ b/ios/src/main/java/world/gregs/voidosrs/ios/ArgbBridge.java @@ -0,0 +1,71 @@ +package world.gregs.voidosrs.ios; + +import org.robovm.apple.coregraphics.CGBitmapContext; +import org.robovm.apple.coregraphics.CGBitmapInfo; +import org.robovm.apple.coregraphics.CGColorRenderingIntent; +import org.robovm.apple.coregraphics.CGColorSpace; +import org.robovm.apple.coregraphics.CGDataProvider; +import org.robovm.apple.coregraphics.CGImage; +import org.robovm.apple.coregraphics.CGImageAlphaInfo; +import org.robovm.apple.coregraphics.CGRect; +import org.robovm.apple.foundation.NSData; +import org.robovm.apple.uikit.UIImage; + +/** + * Pixel bridge between the Java software framebuffer ({@code int[]} ARGB) and UIKit. + *

+ * {@link #toImage} is the present path ({@code AwtHost} → {@code GameView}). + * {@link #copy} decodes PNGs for {@code voidawt.Toolkit} into the same ARGB layout + * the 634 client expects. + */ +public final class ArgbBridge { + private ArgbBridge() { + } + + /** + * ARGB ints → {@link UIImage}. Zero alpha is forced opaque so the software + * renderer’s “clear” blacks don’t punch holes through the UIImageView. + */ + public static UIImage toImage(int[] argb, int w, int h) { + byte[] rgba = new byte[w * h * 4]; + int n = Math.min(argb.length, w * h); + for (int i = 0; i < n; i++) { + int p = argb[i]; + int a = (p >>> 24) & 0xff; + if (a == 0) { + a = 0xff; + } + rgba[i * 4] = (byte) ((p >> 16) & 0xff); + rgba[i * 4 + 1] = (byte) ((p >> 8) & 0xff); + rgba[i * 4 + 2] = (byte) (p & 0xff); + rgba[i * 4 + 3] = (byte) a; + } + NSData data = new NSData(rgba); + CGDataProvider provider = CGDataProvider.create(data); + CGColorSpace space = CGColorSpace.createDeviceRGB(); + CGBitmapInfo info = new CGBitmapInfo(CGImageAlphaInfo.Last.value() | CGBitmapInfo.ByteOrder32Big.value()); + CGImage cg = CGImage.create(w, h, 8, 32, w * 4L, space, info, provider, null, false, CGColorRenderingIntent.Default); + return new UIImage(cg); + } + + /** {@link UIImage} / PNG decode → opaque ARGB ints for {@code Toolkit.createImage}. */ + public static void copy(UIImage image, int[] dest, int w, int h) { + CGImage cg = image.getCGImage(); + if (cg == null || dest == null) { + return; + } + byte[] rgba = new byte[w * h * 4]; + CGColorSpace space = CGColorSpace.createDeviceRGB(); + CGBitmapContext ctx = CGBitmapContext.create(rgba, w, h, 8, w * 4L, space, CGImageAlphaInfo.PremultipliedLast); + ctx.clearRect(new CGRect(0, 0, w, h)); + ctx.drawImage(new CGRect(0, 0, w, h), cg); + int n = Math.min(dest.length, w * h); + for (int i = 0; i < n; i++) { + int o = i * 4; + int r = rgba[o] & 0xff; + int g = rgba[o + 1] & 0xff; + int b = rgba[o + 2] & 0xff; + dest[i] = 0xff000000 | (r << 16) | (g << 8) | b; + } + } +} diff --git a/ios/src/main/java/world/gregs/voidosrs/ios/GameController.java b/ios/src/main/java/world/gregs/voidosrs/ios/GameController.java new file mode 100644 index 000000000..88ac68d21 --- /dev/null +++ b/ios/src/main/java/world/gregs/voidosrs/ios/GameController.java @@ -0,0 +1,758 @@ +package world.gregs.voidosrs.ios; + +import org.robovm.apple.coregraphics.CGAffineTransform; +import org.robovm.apple.coregraphics.CGRect; +import org.robovm.apple.dispatch.DispatchQueue; +import org.robovm.apple.foundation.NSArray; +import org.robovm.apple.foundation.NSObject; +import org.robovm.apple.foundation.NSRange; +import org.robovm.apple.foundation.NSURL; +import org.robovm.apple.uikit.NSLineBreakMode; +import org.robovm.apple.uikit.NSTextAlignment; +import org.robovm.apple.uikit.UIAlertAction; +import org.robovm.apple.uikit.UIAlertActionStyle; +import org.robovm.apple.uikit.UIAlertController; +import org.robovm.apple.uikit.UIAlertControllerStyle; +import org.robovm.apple.uikit.UIButton; +import org.robovm.apple.uikit.UIButtonType; +import org.robovm.apple.uikit.UIColor; +import org.robovm.apple.uikit.UIControl; +import org.robovm.apple.uikit.UIControlState; +import org.robovm.apple.uikit.UIEvent; +import org.robovm.apple.uikit.UIFont; +import org.robovm.apple.uikit.UIInterfaceOrientationMask; +import org.robovm.apple.uikit.UIKeyboardAnimation; +import org.robovm.apple.uikit.UIKeyboardAppearance; +import org.robovm.apple.uikit.UIKeyboardType; +import org.robovm.apple.uikit.UILabel; +import org.robovm.apple.uikit.UIReturnKeyType; +import org.robovm.apple.uikit.UITextAutocapitalizationType; +import org.robovm.apple.uikit.UITextAutocorrectionType; +import org.robovm.apple.uikit.UIControlContentHorizontalAlignment; +import org.robovm.apple.uikit.UITextBorderStyle; +import org.robovm.apple.uikit.UITextFieldViewMode; +import org.robovm.apple.uikit.UITextField; +import org.robovm.apple.uikit.UITextFieldDelegateAdapter; +import org.robovm.apple.uikit.UITextSpellCheckingType; +import org.robovm.apple.uikit.UIView; +import org.robovm.apple.uikit.UIViewController; +import org.robovm.apple.uikit.UIWindow; +import org.robovm.objc.block.VoidBlock1; +import org.robovm.apple.foundation.NSFileManager; +import org.robovm.apple.foundation.NSSearchPathDirectory; +import org.robovm.apple.foundation.NSSearchPathDomainMask; + +import java.util.concurrent.TimeUnit; + +import voidawt.AwtHost; +import voidawt.event.KeyEvent; +import world.gregs.voidosrs.ServerPrefs; + +public class GameController extends UIViewController { + private GameView game; + private UITextField ime; + private UIButton keyboardBall; + private boolean keyboardOpen; + private boolean clientStarted; + private boolean syncingText; + private String typedBuffer = ""; + private UIView serverOverlay; + private UIView serverCard; + private UILabel serverTitle; + private UILabel serverDetail; + private UITextField serverField; + private UIButton serverConnect; + private UIButton serverCancel; + private UIButton changeServerBtn; + private UIButton[] historyBtns; + private UILabel serverRecent; + private boolean loginPollScheduled; + private NSObject keyboardFrameObserver; + private NSObject keyboardDidShowObserver; + private NSObject keyboardWillHideObserver; + + @Override + public void loadView() { + setUserHome(); + UIView root = new UIView(); + root.setBackgroundColor(UIColor.black()); + root.setClipsToBounds(true); + game = new GameView(new CGRect(0, 0, 1, 1)); + game.setSizeListener(new Runnable() { + public void run() { + startClientIfReady(game.viewWidth(), game.viewHeight()); + } + }); + root.addSubview(game); + + ime = new UITextField(new CGRect(0, 0, 1, 1)); + ime.setHidden(true); + ime.setAlpha(0); + ime.setAutocapitalizationType(UITextAutocapitalizationType.None); + ime.setAutocorrectionType(UITextAutocorrectionType.No); + ime.setSpellCheckingType(UITextSpellCheckingType.No); + ime.setKeyboardAppearance(UIKeyboardAppearance.Dark); + ime.setReturnKeyType(UIReturnKeyType.Go); + ime.setDelegate(new UITextFieldDelegateAdapter() { + @Override + public boolean shouldReturn(UITextField textField) { + injectEnter(); + hideKeyboard(); + return true; + } + + @Override + public boolean shouldChangeCharacters(UITextField textField, NSRange range, String string) { + if (syncingText) { + return true; + } + if (string == null) { + string = ""; + } + if (string.length() == 0) { + long removed = range.getLength(); + for (int i = 0; i < removed; i++) { + injectBackspace(); + } + } else { + for (int i = 0; i < string.length(); i++) { + injectChar(string.charAt(i)); + } + } + return true; + } + }); + root.addSubview(ime); + + keyboardBall = new UIButton(UIButtonType.System); + keyboardBall.setTitle("⌨", UIControlState.Normal); + keyboardBall.setTitleColor(UIColor.white(), UIControlState.Normal); + keyboardBall.setBackgroundColor(new UIColor(0.13, 0.13, 0.13, 0.95)); + keyboardBall.getLayer().setCornerRadius(20); + keyboardBall.getLayer().setBorderWidth(1); + keyboardBall.getLayer().setBorderColor(new UIColor(0.88, 0.69, 0.25, 1).getCGColor()); + keyboardBall.getTitleLabel().setTextAlignment(NSTextAlignment.Center); + keyboardBall.addOnTouchUpInsideListener(new UIControl.OnTouchUpInsideListener() { + public void onTouchUpInside(UIControl control, UIEvent event) { + if (keyboardOpen) { + hideKeyboard(); + } else { + showKeyboard(); + } + } + }); + // Keyboard ball hidden — soft keyboard opens on in-game text-field taps. + keyboardBall.setHidden(true); + + changeServerBtn = pillButton("Server"); + changeServerBtn.setHidden(true); + changeServerBtn.setUserInteractionEnabled(true); + changeServerBtn.addOnTouchUpInsideListener(new UIControl.OnTouchUpInsideListener() { + public void onTouchUpInside(UIControl control, UIEvent event) { + showServerOverlay(false); + } + }); + root.addSubview(changeServerBtn); + buildServerOverlay(root); + + setView(root); + if (resolveBootHost() == null) { + showServerOverlay(false); + } + scheduleLoginPoll(); + AwtHost.softKeyboardListener = new AwtHost.SoftKeyboardListener() { + public void showSoftKeyboard(final String reason) { + System.out.println("void-osrs softKeyboard show: " + reason); + DispatchQueue.getMainQueue().async(new Runnable() { + public void run() { + showKeyboard(); + } + }); + } + + public void hideSoftKeyboard(final String reason) { + System.out.println("void-osrs softKeyboard hide: " + reason); + DispatchQueue.getMainQueue().async(new Runnable() { + public void run() { + hideKeyboard(); + } + }); + } + + public void toggleSoftKeyboard(final String reason) { + System.out.println("void-osrs softKeyboard toggle: " + reason + " open=" + keyboardOpen); + DispatchQueue.getMainQueue().async(new Runnable() { + public void run() { + if (keyboardOpen) { + hideKeyboard(); + } else { + showKeyboard(); + } + } + }); + } + + public void syncSoftKeyboardToDevConsole() { + // No-op: delayed sync raced and could re-show the keyboard on close. + } + }; + keyboardFrameObserver = UIWindow.Notifications.observeKeyboardWillChangeFrame( + new VoidBlock1() { + public void invoke(UIKeyboardAnimation animation) { + panGameForKeyboard(animation, false); + } + }); + keyboardDidShowObserver = UIWindow.Notifications.observeKeyboardDidShow( + new VoidBlock1() { + public void invoke(UIKeyboardAnimation animation) { + panGameForKeyboard(animation, false); + } + }); + keyboardWillHideObserver = UIWindow.Notifications.observeKeyboardWillHide( + new VoidBlock1() { + public void invoke(UIKeyboardAnimation animation) { + panGameForKeyboard(animation, true); + } + }); + } + + @Override + public void viewDidLayoutSubviews() { + super.viewDidLayoutSubviews(); + CGRect bounds = getView().getBounds(); + game.setFrame(bounds); + ime.setFrame(new CGRect(0, bounds.getHeight() - 1, 1, 1)); + keyboardBall.setFrame(new CGRect(20, 20, 40, 40)); + layoutServerUi(bounds); + } + + /** + * Keep the game landscape-only. Info.plist still lists all iPad orientations so + * the system allows multitasking / window resize (TN3192); this intersects that set. + */ + @Override + public UIInterfaceOrientationMask getSupportedInterfaceOrientations() { + return UIInterfaceOrientationMask.Landscape; + } + + @Override + public boolean prefersStatusBarHidden() { + return true; + } + + private void showKeyboard() { + if (serverOverlay != null && !serverOverlay.isHidden()) { + return; + } + keyboardOpen = true; + AwtHost.SOFT_KEYBOARD_OPEN = true; + if (keyboardBall != null) { + keyboardBall.setAlpha(0.35); + } + syncingText = true; + ime.setText(typedBuffer); + syncingText = false; + ime.becomeFirstResponder(); + } + + private void hideKeyboard() { + keyboardOpen = false; + AwtHost.SOFT_KEYBOARD_OPEN = false; + if (keyboardBall != null) { + keyboardBall.setAlpha(1); + } + ime.resignFirstResponder(); + clearKeyboardInset(); + } + + private void clearKeyboardInset() { + if (game == null) { + AwtHost.setKeyboardInset(0, 1); + return; + } + game.setTransform(CGAffineTransform.Identity()); + AwtHost.setKeyboardInset(0, Math.max(1, game.viewHeight())); + } + + /** Report IME overlap so the client can lift only the chatbox. */ + private void panGameForKeyboard(UIKeyboardAnimation animation, boolean hiding) { + if (game == null || getView() == null) { + return; + } + game.setTransform(CGAffineTransform.Identity()); + if (hiding || !keyboardOpen) { + clearKeyboardInset(); + System.out.println("void-osrs keyboard pan inset=0 open=" + keyboardOpen + " hide=" + hiding); + return; + } + boolean overlay = serverOverlay != null && !serverOverlay.isHidden(); + int inset = 0; + int viewHpx = Math.max(1, game.viewHeight()); + if (!overlay && animation != null && animation.getEndFrame() != null) { + try { + CGRect local = getView().convertRectFromView(animation.getEndFrame(), null); + double viewH = getView().getBounds().getHeight(); + if (viewH < 32) { + viewH = viewHpx; + } + double kbTop = local.getOrigin().getY(); + double kbH = local.getSize().getHeight(); + double overlap = viewH - kbTop; + if (overlap < 0) { + overlap = 0; + } + if (kbH > 0 && overlap > kbH) { + overlap = kbH; + } + double cap = viewH * 0.45; + if (overlap > cap) { + overlap = cap; + } + if (overlap > 1) { + inset = (int) Math.round(overlap) + 15; + } + } catch (Throwable t) { + t.printStackTrace(); + } + } + System.out.println("void-osrs keyboard pan inset=" + inset + " open=" + keyboardOpen); + AwtHost.setKeyboardInset(inset, viewHpx); + } + + private void injectChar(char c) { + typedBuffer = typedBuffer + c; + int code = Character.toUpperCase(c); + AwtHost.injectKey(KeyEvent.KEY_PRESSED, code, c); + AwtHost.injectKey(KeyEvent.KEY_TYPED, 0, c); + AwtHost.injectKey(KeyEvent.KEY_RELEASED, code, c); + } + + private void injectBackspace() { + if (typedBuffer.length() > 0) { + typedBuffer = typedBuffer.substring(0, typedBuffer.length() - 1); + } + AwtHost.injectKey(KeyEvent.KEY_PRESSED, KeyEvent.VK_BACK_SPACE, '\b'); + AwtHost.injectKey(KeyEvent.KEY_TYPED, 0, '\b'); + AwtHost.injectKey(KeyEvent.KEY_RELEASED, KeyEvent.VK_BACK_SPACE, '\b'); + } + + private void injectEnter() { + AwtHost.injectKey(KeyEvent.KEY_PRESSED, KeyEvent.VK_ENTER, '\n'); + AwtHost.injectKey(KeyEvent.KEY_TYPED, 0, '\n'); + AwtHost.injectKey(KeyEvent.KEY_RELEASED, KeyEvent.VK_ENTER, '\n'); + typedBuffer = ""; + syncingText = true; + ime.setText(""); + syncingText = false; + } + + private static boolean isSimulator() { + return System.getenv("SIMULATOR_DEVICE_NAME") != null + || System.getenv("SIMULATOR_UDID") != null; + } + + private static String defaultHostHint() { + return isSimulator() ? "127.0.0.1" : "192.168.18.188"; + } + + private static String propertyOverride() { + String v = System.getProperty("void.server"); + return ServerPrefs.normalize(v); + } + + private static String resolveBootHost() { + String override = propertyOverride(); + if (override != null) { + return override; + } + return ServerPrefs.load(); + } + + private static UIColor gold() { + return new UIColor(0.83, 0.66, 0.28, 1); + } + + private UIButton pillButton(String title) { + return styleButton(title, false); + } + + private UIButton styleButton(String title, boolean primary) { + UIButton b = new UIButton(UIButtonType.Custom); + b.setTitle(title, UIControlState.Normal); + b.getTitleLabel().setFont(UIFont.getBoldSystemFont(15)); + b.getLayer().setCornerRadius(10); + b.getLayer().setMasksToBounds(true); + if (primary) { + b.setTitleColor(new UIColor(0.10, 0.08, 0.04, 1), UIControlState.Normal); + b.setBackgroundColor(gold()); + b.getLayer().setBorderWidth(0); + } else { + b.setTitleColor(new UIColor(0.92, 0.90, 0.84, 1), UIControlState.Normal); + b.setBackgroundColor(new UIColor(0.14, 0.13, 0.11, 1)); + b.getLayer().setBorderWidth(1); + b.getLayer().setBorderColor(new UIColor(0.83, 0.66, 0.28, 0.45).getCGColor()); + } + return b; + } + + private UIButton historyRowButton() { + UIButton b = new UIButton(UIButtonType.Custom); + b.setTitleColor(new UIColor(0.86, 0.84, 0.78, 1), UIControlState.Normal); + b.getTitleLabel().setFont(UIFont.getSystemFont(14)); + b.setContentHorizontalAlignment(UIControlContentHorizontalAlignment.Left); + b.getLayer().setCornerRadius(10); + b.getLayer().setMasksToBounds(true); + b.setBackgroundColor(new UIColor(0.13, 0.12, 0.10, 1)); + b.getLayer().setBorderWidth(1); + b.getLayer().setBorderColor(new UIColor(1, 1, 1, 0.06).getCGColor()); + return b; + } + + private void styleHistoryRow(UIButton b, String host, String selected) { + boolean on = host != null && host.equals(selected); + b.setTitle(" " + host, UIControlState.Normal); + if (on) { + b.setTitleColor(gold(), UIControlState.Normal); + b.setBackgroundColor(new UIColor(0.83, 0.66, 0.28, 0.14)); + b.getLayer().setBorderColor(gold().getCGColor()); + b.getLayer().setBorderWidth(1); + } else { + b.setTitleColor(new UIColor(0.86, 0.84, 0.78, 1), UIControlState.Normal); + b.setBackgroundColor(new UIColor(0.13, 0.12, 0.10, 1)); + b.getLayer().setBorderColor(new UIColor(1, 1, 1, 0.06).getCGColor()); + b.getLayer().setBorderWidth(1); + } + } + + private void buildServerOverlay(UIView root) { + serverOverlay = new UIView(); + serverOverlay.setBackgroundColor(new UIColor(0.02, 0.01, 0.01, 0.62)); + serverOverlay.setHidden(true); + + serverCard = new UIView(); + serverCard.setBackgroundColor(new UIColor(0.07, 0.06, 0.05, 0.97)); + serverCard.getLayer().setCornerRadius(16); + serverCard.getLayer().setBorderWidth(1); + serverCard.getLayer().setBorderColor(new UIColor(0.83, 0.66, 0.28, 0.7).getCGColor()); + serverCard.getLayer().setMasksToBounds(true); + + serverTitle = new UILabel(); + serverTitle.setText("Server"); + serverTitle.setTextColor(new UIColor(0.97, 0.95, 0.88, 1)); + serverTitle.setFont(UIFont.getBoldSystemFont(22)); + serverTitle.setTextAlignment(NSTextAlignment.Left); + + serverDetail = new UILabel(); + serverDetail.setTextColor(new UIColor(0.93, 0.62, 0.48, 1)); + serverDetail.setFont(UIFont.getSystemFont(13)); + serverDetail.setTextAlignment(NSTextAlignment.Left); + serverDetail.setNumberOfLines(3); + serverDetail.setLineBreakMode(NSLineBreakMode.WordWrapping); + serverDetail.setHidden(true); + + serverField = new UITextField(); + serverField.setPlaceholder(defaultHostHint()); + serverField.setTextColor(new UIColor(0.97, 0.95, 0.88, 1)); + serverField.setBackgroundColor(new UIColor(0.12, 0.11, 0.09, 1)); + serverField.setBorderStyle(UITextBorderStyle.None); + serverField.getLayer().setCornerRadius(10); + serverField.getLayer().setMasksToBounds(true); + serverField.getLayer().setBorderWidth(1); + serverField.getLayer().setBorderColor(new UIColor(0.83, 0.66, 0.28, 0.35).getCGColor()); + UIView pad = new UIView(new CGRect(0, 0, 14, 44)); + serverField.setLeftView(pad); + serverField.setLeftViewMode(UITextFieldViewMode.Always); + serverField.setRightView(new UIView(new CGRect(0, 0, 10, 44))); + serverField.setRightViewMode(UITextFieldViewMode.Always); + serverField.setAutocapitalizationType(UITextAutocapitalizationType.None); + serverField.setAutocorrectionType(UITextAutocorrectionType.No); + serverField.setSpellCheckingType(UITextSpellCheckingType.No); + serverField.setKeyboardAppearance(UIKeyboardAppearance.Dark); + serverField.setKeyboardType(UIKeyboardType.URL); + serverField.setReturnKeyType(UIReturnKeyType.Go); + serverField.setFont(UIFont.getSystemFont(16)); + serverField.setDelegate(new UITextFieldDelegateAdapter() { + @Override + public boolean shouldReturn(UITextField textField) { + applyServerFromOverlay(); + return true; + } + }); + + serverRecent = new UILabel(); + serverRecent.setText("RECENT"); + serverRecent.setTextColor(new UIColor(0.83, 0.66, 0.28, 0.75)); + serverRecent.setFont(UIFont.getBoldSystemFont(11)); + serverRecent.setHidden(true); + + serverConnect = styleButton("Connect", true); + serverConnect.addOnTouchUpInsideListener(new UIControl.OnTouchUpInsideListener() { + public void onTouchUpInside(UIControl control, UIEvent event) { + applyServerFromOverlay(); + } + }); + + serverCancel = styleButton("Cancel", false); + serverCancel.addOnTouchUpInsideListener(new UIControl.OnTouchUpInsideListener() { + public void onTouchUpInside(UIControl control, UIEvent event) { + hideServerOverlay(); + } + }); + + serverCard.addSubview(serverTitle); + serverCard.addSubview(serverDetail); + serverCard.addSubview(serverField); + serverCard.addSubview(serverRecent); + historyBtns = new UIButton[ServerPrefs.MAX_HISTORY]; + for (int i = 0; i < historyBtns.length; i++) { + final int idx = i; + UIButton chip = historyRowButton(); + chip.setHidden(true); + chip.addOnTouchUpInsideListener(new UIControl.OnTouchUpInsideListener() { + public void onTouchUpInside(UIControl control, UIEvent event) { + String t = historyBtns[idx].getTitle(UIControlState.Normal); + if (t != null) { + t = t.trim(); + } + if (t != null && t.length() > 0) { + serverField.setText(t); + layoutServerUi(getView().getBounds()); + } + } + }); + historyBtns[i] = chip; + serverCard.addSubview(chip); + } + serverCard.addSubview(serverConnect); + serverCard.addSubview(serverCancel); + serverOverlay.addSubview(serverCard); + root.addSubview(serverOverlay); + } + + private void layoutServerUi(CGRect bounds) { + double w = bounds.getWidth(); + double h = bounds.getHeight(); + if (changeServerBtn != null) { + changeServerBtn.setFrame(new CGRect(16, 16, 92, 36)); + } + if (serverOverlay == null) { + return; + } + serverOverlay.setFrame(bounds); + String[] history = ServerPrefs.loadAll(); + int shown = 0; + if (historyBtns != null) { + for (int i = 0; i < historyBtns.length; i++) { + if (i < history.length) { + historyBtns[i].setTitle(history[i], UIControlState.Normal); + historyBtns[i].setHidden(false); + shown++; + } else { + historyBtns[i].setHidden(true); + } + } + } + double pad = 22; + double cardW = Math.min(440, w - 48); + double rowH = 40; + double rowGap = 8; + double innerW = cardW - pad * 2; + double y = 20; + serverTitle.setFrame(new CGRect(pad, y, innerW, 28)); + y += 28; + if (serverDetail != null && !serverDetail.isHidden()) { + y += 6; + serverDetail.setFrame(new CGRect(pad, y, innerW, 48)); + y += 48; + } + y += 12; + serverField.setFrame(new CGRect(pad, y, innerW, 44)); + y += 44; + if (shown > 0 && historyBtns != null) { + y += 14; + if (serverRecent != null) { + serverRecent.setHidden(false); + serverRecent.setFrame(new CGRect(pad, y, innerW, 14)); + } + y += 18; + String selected = ServerPrefs.normalize(serverField.getText()); + for (int i = 0; i < shown; i++) { + styleHistoryRow(historyBtns[i], history[i], selected); + historyBtns[i].setFrame(new CGRect(pad, y, innerW, rowH)); + y += rowH + rowGap; + } + } else if (serverRecent != null) { + serverRecent.setHidden(true); + } + y += 10; + double btnW = (innerW - 12) / 2; + if (clientStarted) { + serverCancel.setHidden(false); + serverCancel.setFrame(new CGRect(pad, y, btnW, 44)); + serverConnect.setFrame(new CGRect(pad + btnW + 12, y, btnW, 44)); + } else { + serverCancel.setHidden(true); + serverConnect.setFrame(new CGRect(pad, y, innerW, 44)); + } + y += 44 + 22; + double cardH = y; + double cardX = (w - cardW) / 2; + double cardY = Math.max(12, (h - cardH) / 2 - 12); + serverCard.setFrame(new CGRect(cardX, cardY, cardW, cardH)); + } + + private void showServerOverlay(boolean connectionFailed) { + String current = resolveBootHost(); + if (current == null) { + current = defaultHostHint(); + } + serverField.setText(current); + if (connectionFailed) { + serverTitle.setText("Can't reach server"); + serverDetail.setText(current + " isn't working. Try another server, then reopen the app."); + serverDetail.setHidden(false); + } else { + serverTitle.setText("Server"); + serverDetail.setHidden(true); + } + serverOverlay.setHidden(false); + changeServerBtn.setHidden(true); + hideKeyboard(); + serverField.becomeFirstResponder(); + layoutServerUi(getView().getBounds()); + getView().bringSubviewToFront(serverOverlay); + } + + private void hideServerOverlay() { + serverField.resignFirstResponder(); + serverOverlay.setHidden(true); + getView().sendSubviewToBack(serverOverlay); + } + + private void applyServerFromOverlay() { + String host = ServerPrefs.normalize(serverField.getText()); + if (host == null) { + host = ServerPrefs.normalize(defaultHostHint()); + } + if (host == null) { + return; + } + if (!clientStarted) { + ServerPrefs.save(host); + hideServerOverlay(); + startClientIfReady(game.viewWidth(), game.viewHeight()); + return; + } + String previous = ServerPrefs.load(); + if (host.equals(previous)) { + hideServerOverlay(); + return; + } + final String target = host; + serverField.resignFirstResponder(); + DispatchQueue.getMainQueue().async(new Runnable() { + public void run() { + UIAlertController alert = new UIAlertController( + "Switch server?", + "The app will close. Open it again to connect to the new server.", + UIAlertControllerStyle.Alert); + alert.addAction(new UIAlertAction("Cancel", UIAlertActionStyle.Cancel, null)); + alert.addAction(new UIAlertAction("OK", UIAlertActionStyle.Default, new VoidBlock1() { + public void invoke(UIAlertAction action) { + ServerPrefs.save(target); + hideServerOverlay(); + System.exit(0); + } + })); + presentViewController(alert, true, new Runnable() { + public void run() { + } + }); + } + }); + } + + private void scheduleLoginPoll() { + if (loginPollScheduled) { + return; + } + loginPollScheduled = true; + pollLoginButton(); + } + + private int lastPolledState = Integer.MIN_VALUE; + private boolean connectFailOverlayShown; + + private void pollLoginButton() { + DispatchQueue.getMainQueue().after(200, TimeUnit.MILLISECONDS, new Runnable() { + public void run() { + boolean overlayUp = serverOverlay != null && !serverOverlay.isHidden(); + int state = ServerPrefs.gameState(); + boolean failing = ServerPrefs.isConnectFailing(); + boolean show = clientStarted && !overlayUp && ServerPrefs.showsServerPicker(); + if (ServerPrefs.isLoginScreen()) { + connectFailOverlayShown = false; + } + if (state != lastPolledState) { + lastPolledState = state; + System.out.println("void-osrs loginBtn state=" + state + + " js5fails=" + ServerPrefs.js5FailCount() + + " show=" + show + " started=" + clientStarted + + " overlay=" + overlayUp); + } + if (clientStarted && !overlayUp && failing && !connectFailOverlayShown) { + connectFailOverlayShown = true; + showServerOverlay(true); + pollLoginButton(); + return; + } + if (changeServerBtn != null) { + changeServerBtn.setHidden(!show); + if (show) { + getView().bringSubviewToFront(changeServerBtn); + } + } + pollLoginButton(); + } + }); + } + + private static void setUserHome() { + try { + NSArray urls = NSFileManager.getDefaultManager().getURLsForDirectory( + NSSearchPathDirectory.DocumentDirectory, NSSearchPathDomainMask.UserDomainMask); + if (urls != null && urls.size() > 0) { + System.setProperty("user.home", urls.get(0).getPath()); + } + } catch (Throwable ignored) { + } + } + + private void startClientIfReady(int width, int height) { + if (clientStarted || width <= 0 || height <= 0) { + return; + } + final String server = resolveBootHost(); + if (server == null) { + return; + } + clientStarted = true; + AwtHost.setDisplaySize(width, height); + AwtHost.presenter = game; + new Thread(new Runnable() { + public void run() { + try { + Class loaderCl = Class.forName("Loader"); + loaderCl.getField("address").set(null, server); + loaderCl.getField("debug").set(null, true); + Object loader = loaderCl.getDeclaredConstructor().newInstance(); + loaderCl.getMethod("setSize", int.class, int.class).invoke(loader, AwtHost.GAME_WIDTH, AwtHost.GAME_HEIGHT); + AwtHost.setRoot((voidawt.Component) loader); + loaderCl.getMethod("init").invoke(loader); + } catch (Throwable t) { + t.printStackTrace(); + } + } + }, "void-client").start(); + } +} diff --git a/ios/src/main/java/world/gregs/voidosrs/ios/GameView.java b/ios/src/main/java/world/gregs/voidosrs/ios/GameView.java new file mode 100644 index 000000000..25be9e334 --- /dev/null +++ b/ios/src/main/java/world/gregs/voidosrs/ios/GameView.java @@ -0,0 +1,865 @@ +package world.gregs.voidosrs.ios; + +import org.robovm.apple.coregraphics.CGPoint; +import org.robovm.apple.coregraphics.CGRect; +import org.robovm.apple.dispatch.DispatchQueue; +import org.robovm.apple.foundation.NSArray; +import org.robovm.apple.foundation.NSObject; +import org.robovm.apple.foundation.NSSet; +import org.robovm.apple.gamecontroller.GCController; +import org.robovm.apple.gamecontroller.GCControllerButtonInput; +import org.robovm.apple.gamecontroller.GCControllerDirectionPad; +import org.robovm.apple.gamecontroller.GCExtendedGamepad; +import org.robovm.apple.uikit.UIColor; +import org.robovm.apple.uikit.UIEvent; +import org.robovm.apple.uikit.UIImage; +import org.robovm.apple.uikit.UIImageView; +import org.robovm.apple.uikit.UITouch; +import org.robovm.apple.uikit.UIView; +import org.robovm.apple.uikit.UIViewContentMode; +import org.robovm.objc.block.VoidBlock1; +import org.robovm.objc.block.VoidBlock3; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; + +import voidawt.AwtHost; +import voidawt.event.MouseEvent; + +/** + * iOS game surface: blits each {@link AwtHost} frame into an {@link UIImageView} + * and maps multitouch to AWT mouse / wheel (same gestures as Android). + * + *

Tap → left click, long-press (hold still) → right click, + * one-finger drag → left-button mouse drag (map, items, …), + * two-finger pan → camera orbit, pinch → zoom, + * 4-finger tap → developer console (no auto IME; tap later toggles keyboard). + * Soft keyboard open for chat/login is owned by {@link GameController} / + * {@code MobileKeyboard}; this view dismisses IME on tap-outside while + * {@link AwtHost#SOFT_KEYBOARD_OPEN} is true. + * + *

DualShock / Xbox / MFi (via {@link GCController}): left stick moves a drawn + * cursor, ✕ left-click, ○ right-click, L1/L2 zoom, right stick camera orbit — + * same mapping as Android {@code MainActivity.GameView} pad path. + * + *

Window resize (Stage Manager / split): the image view stretches immediately; + * {@link AwtHost#setDisplaySize} (client layout redraw) runs only after the size + * has been quiet for {@value #RESIZE_SETTLE_MS} ms. + */ +public class GameView extends UIView implements AwtHost.Presenter { + private static final float PINCH_PX_PER_NOTCH = 28f; + private static final float CURSOR_SIZE = 32f; + private static final float CURSOR_HOT_X = 6f; + private static final float CURSOR_HOT_Y = 6f; + /** + * Hold still within this → long-press right-click. + * Move past this before timeout → left-button mouse drag (map, items, …). + * Two-finger pan → camera orbit; pinch → zoom; pad right stick also orbits. + */ + private static final float TOUCH_SLOP = 28f; + /** DualShock / gamepad → virtual mouse (mirrors Android constants). */ + private static final float PAD_DEADZONE = 0.15f; + private static final float PAD_CURSOR_SPEED = 14f; + private static final float PAD_ORBIT_SCALE = 10f; + private static final long PAD_ZOOM_INTERVAL_MS = 90L; + private static final float PAD_TRIGGER_THRESHOLD = 0.35f; + private static final long PAD_TICK_MS = 16L; + + private final UIImageView imageView; + private final UIImageView cursorView; + private final Map active = new LinkedHashMap(); + private boolean down; + private boolean multiTouch; + private boolean dragging; + private boolean longPressFired; + /** Fired once while 4+ fingers are down; reset when all fingers lift. */ + private boolean fourFingerConsoleFired; + private int multiTouchMaxCount; + private boolean ignoreSingleFinger; + private float downVx; + private float downVy; + private int downX; + private int downY; + private float lastPinchDist = -1f; + private float pinchAccum; + /** Midpoint of the last two-finger sample (camera pan). */ + private float lastPanX; + private float lastPanY; + private boolean panTracked; + private int frameW = AwtHost.GAME_WIDTH; + private int frameH = AwtHost.GAME_HEIGHT; + private CGPoint lastTouchPoint = new CGPoint(0, 0); + private Runnable sizeListener; + /** Bumped to cancel a pending long-press callback. */ + private int pressGeneration; + /** + * Last size pushed into {@link AwtHost#setDisplaySize}. While the user is + * still dragging a Stage Manager / split window, we only stretch the + * existing framebuffer ({@link UIViewContentMode#ScaleToFill}) and defer + * the client viewport relayout until the size has been stable for + * {@link #RESIZE_SETTLE_MS}. + */ + private int appliedW; + private int appliedH; + private int pendingW; + private int pendingH; + /** Bumped to cancel a pending settled-resize callback. */ + private int resizeGeneration; + /** Quiet period after the last layout change before adapting the game layout. */ + private static final long RESIZE_SETTLE_MS = 3000; + + // DualShock / gamepad → virtual mouse + private float cursorVx = -1f; + private float cursorVy = -1f; + private boolean padActive; + private GCController padController; + private float stickLX; + private float stickLY; + private float stickRX; + private float stickRY; + private float triggerL2; + private boolean l1Held; + private boolean padLeftDown; + private boolean padRightDown; + private boolean padTickRunning; + private long lastPadZoomAt; + /** Bumped to cancel a pending pad-tick callback. */ + private int padTickGeneration; + private NSObject padConnectObserver; + private NSObject padDisconnectObserver; + + public GameView(CGRect frame) { + super(frame); + setMultipleTouchEnabled(true); + setUserInteractionEnabled(true); + setBackgroundColor(UIColor.black()); + imageView = new UIImageView(getBounds()); + imageView.setContentMode(UIViewContentMode.ScaleToFill); + imageView.setUserInteractionEnabled(false); + addSubview(imageView); + cursorView = new UIImageView(new CGRect(0, 0, CURSOR_SIZE, CURSOR_SIZE)); + UIImage cursor = UIImage.getImage("cursor_normal_select"); + if (cursor == null) { + cursor = UIImage.getImage("cursor_normal_select.png"); + } + cursorView.setImage(cursor); + cursorView.setContentMode(UIViewContentMode.ScaleToFill); + cursorView.setUserInteractionEnabled(false); + cursorView.setHidden(true); + addSubview(cursorView); + startPadListening(); + } + + /** + * Subscribe to {@link GCController} connect/disconnect and pick up any pad + * already paired. Call once from the constructor. + */ + private void startPadListening() { + padConnectObserver = GCController.Notifications.observeDidConnect( + new VoidBlock1() { + public void invoke(GCController controller) { + System.out.println("void-osrs pad connect vendor=" + + (controller != null ? controller.getVendorName() : null)); + attachPad(controller); + } + }); + padDisconnectObserver = GCController.Notifications.observeDidDisconnect( + new VoidBlock1() { + public void invoke(GCController controller) { + System.out.println("void-osrs pad disconnect vendor=" + + (controller != null ? controller.getVendorName() : null)); + if (padController != null && padController.equals(controller)) { + deactivatePad(); + } else if (!anyPadConnected()) { + deactivatePad(); + } + } + }); + // Bluetooth DualShock discovery (no-op if already connected). + GCController.startWirelessControllerDiscovery(new Runnable() { + public void run() { + System.out.println("void-osrs pad wireless discovery finished"); + } + }); + NSArray already = GCController.getControllers(); + if (already != null) { + long n = already.size(); + for (int i = 0; i < n; i++) { + attachPad(already.get(i)); + if (padActive) { + break; + } + } + } + } + + private boolean anyPadConnected() { + NSArray list = GCController.getControllers(); + if (list == null) { + return false; + } + long n = list.size(); + for (int i = 0; i < n; i++) { + GCController c = list.get(i); + if (c != null && c.getExtendedGamepad() != null) { + return true; + } + } + return false; + } + + private void attachPad(GCController controller) { + if (controller == null) { + return; + } + GCExtendedGamepad pad = controller.getExtendedGamepad(); + if (pad == null) { + return; + } + // Prefer the newly connected pad; rebind handlers every time. + if (padController != null && padController != controller) { + clearPadHandlers(padController); + } + padController = controller; + controller.setHandlerQueue(DispatchQueue.getMainQueue()); + bindPadHandlers(pad); + activatePad(); + } + + private void clearPadHandlers(GCController controller) { + if (controller == null) { + return; + } + GCExtendedGamepad pad = controller.getExtendedGamepad(); + if (pad == null) { + return; + } + pad.getLeftThumbstick().setValueChangedHandler(null); + pad.getRightThumbstick().setValueChangedHandler(null); + pad.getButtonA().setPressedChangedHandler(null); + pad.getButtonB().setPressedChangedHandler(null); + pad.getLeftShoulder().setPressedChangedHandler(null); + pad.getLeftTrigger().setValueChangedHandler(null); + pad.getLeftTrigger().setPressedChangedHandler(null); + } + + private void bindPadHandlers(final GCExtendedGamepad pad) { + // GCController Y: +up; screen Y: +down — negate both sticks. + pad.getLeftThumbstick().setValueChangedHandler( + new VoidBlock3() { + public void invoke(GCControllerDirectionPad dpad, Float x, Float y) { + stickLX = x != null ? x.floatValue() : 0f; + stickLY = y != null ? -y.floatValue() : 0f; + startPadTick(); + } + }); + pad.getRightThumbstick().setValueChangedHandler( + new VoidBlock3() { + public void invoke(GCControllerDirectionPad dpad, Float x, Float y) { + stickRX = x != null ? x.floatValue() : 0f; + stickRY = y != null ? -y.floatValue() : 0f; + startPadTick(); + } + }); + // ✕ Cross → left click (Apple maps Cross to buttonA on DualShock) + pad.getButtonA().setPressedChangedHandler( + new VoidBlock3() { + public void invoke(GCControllerButtonInput button, Float value, Boolean pressed) { + onPadClick(true, pressed != null && pressed.booleanValue()); + } + }); + // ○ Circle → right click + pad.getButtonB().setPressedChangedHandler( + new VoidBlock3() { + public void invoke(GCControllerButtonInput button, Float value, Boolean pressed) { + onPadClick(false, pressed != null && pressed.booleanValue()); + } + }); + // L1 → zoom out while held + pad.getLeftShoulder().setPressedChangedHandler( + new VoidBlock3() { + public void invoke(GCControllerButtonInput button, Float value, Boolean pressed) { + l1Held = pressed != null && pressed.booleanValue(); + if (l1Held) { + ensureCursor(); + int[] xy = mapCursor(); + AwtHost.injectWheel(xy[0], xy[1], 1); + lastPadZoomAt = System.currentTimeMillis(); + startPadTick(); + } + } + }); + // L2 analog → zoom in (also treat digital press) + pad.getLeftTrigger().setValueChangedHandler( + new VoidBlock3() { + public void invoke(GCControllerButtonInput button, Float value, Boolean pressed) { + triggerL2 = value != null ? value.floatValue() : 0f; + startPadTick(); + } + }); + pad.getLeftTrigger().setPressedChangedHandler( + new VoidBlock3() { + public void invoke(GCControllerButtonInput button, Float value, Boolean pressed) { + if (pressed != null && pressed.booleanValue()) { + ensureCursor(); + int[] xy = mapCursor(); + AwtHost.injectWheel(xy[0], xy[1], -1); + lastPadZoomAt = System.currentTimeMillis(); + startPadTick(); + } + } + }); + } + + private void onPadClick(boolean left, boolean pressed) { + ensureCursor(); + int[] xy = mapCursor(); + if (left) { + if (pressed) { + padLeftDown = true; + AwtHost.injectMouse(MouseEvent.MOUSE_PRESSED, xy[0], xy[1], MouseEvent.BUTTON1, 1); + } else if (padLeftDown) { + padLeftDown = false; + AwtHost.injectMouse(MouseEvent.MOUSE_RELEASED, xy[0], xy[1], MouseEvent.BUTTON1, 1); + AwtHost.injectMouse(MouseEvent.MOUSE_CLICKED, xy[0], xy[1], MouseEvent.BUTTON1, 1); + } + } else { + if (pressed) { + padRightDown = true; + System.out.println("void-osrs pad ○ right-press @ " + xy[0] + "," + xy[1]); + AwtHost.injectMouse(MouseEvent.MOUSE_MOVED, xy[0], xy[1], 0, 0); + AwtHost.injectMouse(MouseEvent.MOUSE_PRESSED, xy[0], xy[1], MouseEvent.BUTTON3, 1); + } else if (padRightDown) { + padRightDown = false; + AwtHost.injectMouse(MouseEvent.MOUSE_RELEASED, xy[0], xy[1], MouseEvent.BUTTON3, 1); + AwtHost.injectMouse(MouseEvent.MOUSE_CLICKED, xy[0], xy[1], MouseEvent.BUTTON3, 1); + } + } + redrawCursor(); + } + + private void activatePad() { + padActive = true; + ensureCursor(); + startPadTick(); + redrawCursor(); + } + + private void deactivatePad() { + if (!padActive && padController == null) { + return; + } + if (padLeftDown || padRightDown) { + int[] xy = mapCursor(); + if (padLeftDown) { + AwtHost.injectMouse(MouseEvent.MOUSE_RELEASED, xy[0], xy[1], MouseEvent.BUTTON1, 1); + } + if (padRightDown) { + AwtHost.injectMouse(MouseEvent.MOUSE_RELEASED, xy[0], xy[1], MouseEvent.BUTTON3, 1); + } + } + clearPadHandlers(padController); + padActive = false; + padController = null; + stickLX = 0f; + stickLY = 0f; + stickRX = 0f; + stickRY = 0f; + triggerL2 = 0f; + l1Held = false; + padLeftDown = false; + padRightDown = false; + stopPadTick(); + redrawCursor(); + } + + private void ensureCursor() { + float w = Math.max(1f, (float) getBounds().getWidth()); + float h = Math.max(1f, (float) getBounds().getHeight()); + if (cursorVx < 0f || cursorVy < 0f) { + cursorVx = w * 0.5f; + cursorVy = h * 0.5f; + } else { + cursorVx = Math.max(0f, Math.min(w - 1f, cursorVx)); + cursorVy = Math.max(0f, Math.min(h - 1f, cursorVy)); + } + } + + private int[] mapCursor() { + return map(new CGPoint(cursorVx, cursorVy)); + } + + private void redrawCursor() { + setPadCursor(cursorVx, cursorVy, padActive); + } + + private void stopPadTick() { + padTickGeneration++; + padTickRunning = false; + } + + private void startPadTick() { + if (!padActive) { + return; + } + if (padTickRunning) { + return; + } + padTickRunning = true; + final int gen = ++padTickGeneration; + // First tick ASAP (mirrors Android Handler.post); then every PAD_TICK_MS. + DispatchQueue.getMainQueue().async(new Runnable() { + public void run() { + runPadTick(gen); + } + }); + } + + private void runPadTick(final int gen) { + if (gen != padTickGeneration) { + return; + } + boolean keep = tickPad(); + if (!keep) { + padTickRunning = false; + return; + } + DispatchQueue.getMainQueue().after(PAD_TICK_MS, TimeUnit.MILLISECONDS, new Runnable() { + public void run() { + runPadTick(gen); + } + }); + } + + private boolean needsPadTick() { + return Math.abs(stickLX) > PAD_DEADZONE + || Math.abs(stickLY) > PAD_DEADZONE + || Math.abs(stickRX) > PAD_DEADZONE + || Math.abs(stickRY) > PAD_DEADZONE + || triggerL2 > PAD_TRIGGER_THRESHOLD + || l1Held; + } + + private float dead(float v) { + return Math.abs(v) < PAD_DEADZONE ? 0f : v; + } + + private boolean tickPad() { + if (!padActive) { + return false; + } + ensureCursor(); + float lx = dead(stickLX); + float ly = dead(stickLY); + float rx = dead(stickRX); + float ry = dead(stickRY); + boolean moved = false; + + if (lx != 0f || ly != 0f) { + float w = Math.max(1f, (float) getBounds().getWidth()); + float h = Math.max(1f, (float) getBounds().getHeight()); + cursorVx = Math.max(0f, Math.min(w - 1f, cursorVx + lx * PAD_CURSOR_SPEED)); + cursorVy = Math.max(0f, Math.min(h - 1f, cursorVy + ly * PAD_CURSOR_SPEED)); + int[] xy = mapCursor(); + if (padLeftDown) { + AwtHost.injectMouse(MouseEvent.MOUSE_DRAGGED, xy[0], xy[1], MouseEvent.BUTTON1, 0); + } else if (padRightDown) { + AwtHost.injectMouse(MouseEvent.MOUSE_DRAGGED, xy[0], xy[1], MouseEvent.BUTTON3, 0); + } else { + AwtHost.injectMouse(MouseEvent.MOUSE_MOVED, xy[0], xy[1], 0, 0); + } + moved = true; + } + + if (rx != 0f || ry != 0f) { + AwtHost.injectCameraOrbit(rx * PAD_ORBIT_SCALE, ry * PAD_ORBIT_SCALE); + moved = true; + } + + boolean zoomIn = triggerL2 > PAD_TRIGGER_THRESHOLD; + boolean zoomOut = l1Held; + long now = System.currentTimeMillis(); + if ((zoomIn || zoomOut) && now - lastPadZoomAt >= PAD_ZOOM_INTERVAL_MS) { + int[] xy = mapCursor(); + if (zoomIn) { + AwtHost.injectWheel(xy[0], xy[1], -1); + } + if (zoomOut) { + AwtHost.injectWheel(xy[0], xy[1], 1); + } + lastPadZoomAt = now; + moved = true; + } + + if (moved) { + redrawCursor(); + } + return needsPadTick(); + } + + public void setPadCursor(float x, float y, boolean visible) { + cursorView.setHidden(!visible); + if (!visible) { + return; + } + cursorView.setFrame(new CGRect(x - CURSOR_HOT_X, y - CURSOR_HOT_Y, CURSOR_SIZE, CURSOR_SIZE)); + bringSubviewToFront(cursorView); + } + + public void setSizeListener(Runnable listener) { + this.sizeListener = listener; + } + + @Override + public void layoutSubviews() { + super.layoutSubviews(); + CGRect bounds = getBounds(); + imageView.setFrame(bounds); + bringSubviewToFront(cursorView); + int w = Math.max(0, (int) Math.round(bounds.getWidth())); + int h = Math.max(0, (int) Math.round(bounds.getHeight())); + if (w <= 0 || h <= 0) { + return; + } + if (cursorVx >= 0f) { + cursorVx = Math.min(cursorVx, w - 1); + cursorVy = Math.min(cursorVy, h - 1); + if (padActive) { + redrawCursor(); + } + } + pendingW = w; + pendingH = h; + // Boot path: need a real size immediately so Loader can start. + if (appliedW == 0 || appliedH == 0) { + applyDisplaySize(w, h); + return; + } + if (w == appliedW && h == appliedH) { + return; + } + // Still resizing — stretch pixels only; settle before client redraw. + scheduleSettledResize(); + } + + /** + * After {@link #RESIZE_SETTLE_MS} with no further size changes, push the + * pending view size into the AWT / Jagex viewport so HUD / gameframe + * reflow. Cancelled if the user keeps dragging. + */ + private void scheduleSettledResize() { + final int gen = ++resizeGeneration; + DispatchQueue.getMainQueue().after(RESIZE_SETTLE_MS, TimeUnit.MILLISECONDS, new Runnable() { + public void run() { + if (gen != resizeGeneration) { + return; + } + if (pendingW <= 0 || pendingH <= 0) { + return; + } + if (pendingW == appliedW && pendingH == appliedH) { + return; + } + applyDisplaySize(pendingW, pendingH); + } + }); + } + + private void applyDisplaySize(int w, int h) { + appliedW = w; + appliedH = h; + AwtHost.setDisplaySize(w, h); + if (sizeListener != null) { + sizeListener.run(); + } + } + + public int viewWidth() { + return Math.max(1, (int) Math.round(getBounds().getWidth())); + } + + public int viewHeight() { + return Math.max(1, (int) Math.round(getBounds().getHeight())); + } + + public void present(int[] argb, int width, int height) { + frameW = width; + frameH = height; + imageView.setImage(ArgbBridge.toImage(argb, width, height)); + } + + private void scheduleLongPress() { + final int gen = ++pressGeneration; + DispatchQueue.getMainQueue().after(225, TimeUnit.MILLISECONDS, new Runnable() { + public void run() { + if (gen != pressGeneration) { + return; + } + if (!down || multiTouch || dragging || longPressFired || ignoreSingleFinger) { + return; + } + longPressFired = true; + System.out.println("longPress right-click @ " + downX + "," + downY); + AwtHost.injectRightClick(downX, downY); + } + }); + } + + private void cancelLongPress() { + pressGeneration++; + } + + private void maybeFourFingerConsole() { + if (fourFingerConsoleFired || multiTouchMaxCount < 4) { + return; + } + fourFingerConsoleFired = true; + boolean wasOpen = AwtHost.isDevConsoleOpen(); + System.out.println("void-osrs 4-finger tap → developer console (wasOpen=" + wasOpen + ")"); + if (wasOpen) { + AwtHost.setDevConsoleOpen(false); + AwtHost.requestHideSoftKeyboard("dev-console-close"); + } else { + // Open console only — do not raise IME/chat. Tap later toggles keyboard if needed. + AwtHost.setDevConsoleOpen(true); + } + } + + private void finishFourFingerGesture() { + fourFingerConsoleFired = false; + multiTouchMaxCount = 0; + } + + @Override + public void touchesBegan(NSSet touches, UIEvent event) { + updateActive(touches, false); + int count = active.size(); + if (count >= 2) { + cancelLongPress(); + // Second finger: abort any in-progress left drag so BUTTON1 isn't stuck. + if (dragging) { + AwtHost.injectMouse(MouseEvent.MOUSE_RELEASED, downX, downY, MouseEvent.BUTTON1, 1); + } + down = false; + dragging = false; + longPressFired = false; + ignoreSingleFinger = true; + if (!multiTouch) { + multiTouchMaxCount = 0; + } + multiTouch = true; + multiTouchMaxCount = Math.max(multiTouchMaxCount, count); + lastPinchDist = spacing(); + pinchAccum = 0f; + CGPoint mid = midpoint(); + lastPanX = (float) mid.getX(); + lastPanY = (float) mid.getY(); + panTracked = true; + AwtHost.requestHideSoftKeyboard("multi-touch"); + maybeFourFingerConsole(); + return; + } + if (ignoreSingleFinger) { + ignoreSingleFinger = false; + } + CGPoint p = firstPoint(); + int[] xy = map(p); + down = true; + dragging = false; + longPressFired = false; + downVx = (float) p.getX(); + downVy = (float) p.getY(); + downX = xy[0]; + downY = xy[1]; + scheduleLongPress(); + } + + @Override + public void touchesMoved(NSSet touches, UIEvent event) { + updateActive(touches, false); + if (multiTouch) { + multiTouchMaxCount = Math.max(multiTouchMaxCount, active.size()); + maybeFourFingerConsole(); + if (active.size() >= 2) { + CGPoint mid = midpoint(); + float mx = (float) mid.getX(); + float my = (float) mid.getY(); + if (panTracked) { + AwtHost.injectCameraOrbit(mx - lastPanX, my - lastPanY); + } + lastPanX = mx; + lastPanY = my; + panTracked = true; + float dist = spacing(); + if (lastPinchDist > 0f) { + pinchAccum += dist - lastPinchDist; + while (pinchAccum >= PINCH_PX_PER_NOTCH) { + int[] midGame = map(mid); + AwtHost.injectWheel(midGame[0], midGame[1], -1); + pinchAccum -= PINCH_PX_PER_NOTCH; + } + while (pinchAccum <= -PINCH_PX_PER_NOTCH) { + int[] midGame = map(mid); + AwtHost.injectWheel(midGame[0], midGame[1], 1); + pinchAccum += PINCH_PX_PER_NOTCH; + } + } + lastPinchDist = dist; + } + return; + } + if (ignoreSingleFinger || !down || longPressFired) { + return; + } + CGPoint p = firstPoint(); + int[] xy = map(p); + float moved = Math.max(Math.abs((float) p.getX() - downVx), Math.abs((float) p.getY() - downVy)); + if (!dragging && moved > TOUCH_SLOP) { + // Finger slid → left-button drag (same path as pad ✕ held + stick). + dragging = true; + cancelLongPress(); + AwtHost.injectMouse(MouseEvent.MOUSE_MOVED, downX, downY, 0, 0); + AwtHost.injectMouse(MouseEvent.MOUSE_PRESSED, downX, downY, MouseEvent.BUTTON1, 1); + AwtHost.injectMouse(MouseEvent.MOUSE_DRAGGED, xy[0], xy[1], MouseEvent.BUTTON1, 0); + } else if (dragging) { + AwtHost.injectMouse(MouseEvent.MOUSE_DRAGGED, xy[0], xy[1], MouseEvent.BUTTON1, 0); + } + } + + @Override + public void touchesEnded(NSSet touches, UIEvent event) { + finishTouches(touches, false); + } + + @Override + public void touchesCancelled(NSSet touches, UIEvent event) { + finishTouches(touches, true); + } + + private void finishTouches(NSSet touches, boolean cancelled) { + if (multiTouch) { + updateActive(touches, true); + if (active.size() < 2) { + multiTouch = false; + ignoreSingleFinger = active.size() == 1; + down = false; + dragging = false; + longPressFired = false; + lastPinchDist = -1f; + pinchAccum = 0f; + panTracked = false; + cancelLongPress(); + finishFourFingerGesture(); + } else { + lastPinchDist = spacing(); + CGPoint mid = midpoint(); + lastPanX = (float) mid.getX(); + lastPanY = (float) mid.getY(); + panTracked = true; + } + return; + } + if (ignoreSingleFinger) { + updateActive(touches, true); + ignoreSingleFinger = false; + down = false; + dragging = false; + longPressFired = false; + cancelLongPress(); + return; + } + updateActive(touches, true); + cancelLongPress(); + if (!down) { + // leftover + } else if (longPressFired) { + // right-click already injected + } else if (dragging) { + CGPoint p = firstPoint(); + int[] xy = map(p); + AwtHost.injectMouse(MouseEvent.MOUSE_RELEASED, xy[0], xy[1], MouseEvent.BUTTON1, 1); + } else if (!cancelled) { + System.out.println("void-osrs tap left-click @ " + downX + "," + downY + + " frac=" + String.format(java.util.Locale.US, "%.3f,%.3f", + downX / (float) Math.max(1, frameW), + downY / (float) Math.max(1, frameH)) + + " frame=" + frameW + "x" + frameH); + AwtHost.injectLeftClick(downX, downY); + // IME only from the --> write strip. History taps re-run in the client + // and must not raise/hide the keyboard. + if (AwtHost.isDevConsoleOpen()) { + if (AwtHost.isConsolePromptTap(downX, downY)) { + AwtHost.requestToggleSoftKeyboard("dev-console-prompt"); + } + } else if (AwtHost.SOFT_KEYBOARD_OPEN) { + AwtHost.requestHideSoftKeyboard("tap-dismiss"); + } + } + down = false; + dragging = false; + longPressFired = false; + } + + private void updateActive(NSSet touches, boolean remove) { + NSArray arr = touches.getValues(); + int n = (int) arr.size(); + for (int i = 0; i < n; i++) { + UITouch t = arr.get(i); + CGPoint loc = t.getLocationInView(this); + lastTouchPoint = loc; + if (remove) { + active.remove(t.getHandle()); + } else { + active.put(t.getHandle(), loc); + } + } + } + + private CGPoint firstPoint() { + if (active.isEmpty()) { + return lastTouchPoint; + } + return active.values().iterator().next(); + } + + private float spacing() { + List pts = points(); + if (pts.size() < 2) { + return -1f; + } + CGPoint a = pts.get(0); + CGPoint b = pts.get(1); + double dx = a.getX() - b.getX(); + double dy = a.getY() - b.getY(); + return (float) Math.hypot(dx, dy); + } + + private CGPoint midpoint() { + List pts = points(); + if (pts.size() < 2) { + return firstPoint(); + } + CGPoint a = pts.get(0); + CGPoint b = pts.get(1); + return new CGPoint((a.getX() + b.getX()) * 0.5, (a.getY() + b.getY()) * 0.5); + } + + private List points() { + return new ArrayList(active.values()); + } + + private int[] map(CGPoint p) { + int vw = viewWidth(); + int vh = viewHeight(); + int gw = Math.max(1, frameW); + int gh = Math.max(1, frameH); + int x = (int) (p.getX() * gw / (double) vw); + int y = (int) (p.getY() * gh / (double) vh); + x = Math.max(0, Math.min(gw - 1, x)); + y = Math.max(0, Math.min(gh - 1, y)); + return new int[]{x, y}; + } +} diff --git a/ios/src/main/java/world/gregs/voidosrs/ios/Main.java b/ios/src/main/java/world/gregs/voidosrs/ios/Main.java new file mode 100644 index 000000000..831fc8136 --- /dev/null +++ b/ios/src/main/java/world/gregs/voidosrs/ios/Main.java @@ -0,0 +1,47 @@ +package world.gregs.voidosrs.ios; + +import org.robovm.apple.avfoundation.AVAudioSession; +import org.robovm.apple.avfoundation.AVAudioSessionCategory; +import org.robovm.apple.avfoundation.AVAudioSessionCategoryOptions; +import org.robovm.apple.foundation.NSAutoreleasePool; +import org.robovm.apple.uikit.UIApplication; +import org.robovm.apple.uikit.UIApplicationDelegateAdapter; +import org.robovm.apple.uikit.UIApplicationLaunchOptions; +import org.robovm.apple.uikit.UIColor; +import org.robovm.apple.uikit.UIScreen; +import org.robovm.apple.uikit.UIWindow; + +public class Main extends UIApplicationDelegateAdapter { + private UIWindow window; + + @Override + public boolean didFinishLaunching(UIApplication application, UIApplicationLaunchOptions launchOptions) { + System.setProperty("java.net.preferIPv4Stack", "true"); + // Activate Playback early so AudioQueue (voidsound) is not muted / silent + // until the first line opens on the mixer thread. + // MixWithOthers: exclusive Playback interrupts PiP / other apps even when + // in-game volume is 0 — we only need a session for our mixer, not audio focus. + try { + AVAudioSession session = AVAudioSession.getSharedInstance(); + session.setCategory(AVAudioSessionCategory.Playback, + AVAudioSessionCategoryOptions.MixWithOthers); + session.setActive(true); + } catch (Throwable t) { + t.printStackTrace(); + } + window = new UIWindow(UIScreen.getMainScreen().getBounds()); + window.setBackgroundColor(UIColor.black()); + // Keep screen from dimming / sleeping while the game is open + // (UIApplication property — not on UIWindow) + application.setIdleTimerDisabled(true); + window.setRootViewController(new GameController()); + window.makeKeyAndVisible(); + return true; + } + + public static void main(String[] args) { + NSAutoreleasePool pool = new NSAutoreleasePool(); + UIApplication.main(args, null, Main.class); + pool.close(); + } +} diff --git a/ios/tools/patches/DeviceCtl.java b/ios/tools/patches/DeviceCtl.java new file mode 100644 index 000000000..f2de09052 --- /dev/null +++ b/ios/tools/patches/DeviceCtl.java @@ -0,0 +1,168 @@ +/* + * Copyright (C) 2025 The MobiVM Contributors + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +package org.robovm.compiler.target.ios.devicectl; + +import org.apache.commons.exec.ExecuteException; +import org.json.simple.JSONObject; +import org.json.simple.parser.JSONParser; +import org.json.simple.parser.ParseException; +import org.robovm.compiler.log.Logger; +import org.robovm.compiler.util.Executor; + +import java.io.File; +import java.io.IOException; +import java.io.OutputStream; +import java.nio.charset.StandardCharsets; +import java.nio.file.Files; +import java.util.*; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +import java.util.stream.Collectors; + +/** + * Wrapper around `xcrun devicectl` tool + */ +public class DeviceCtl { + + + /** + * json-simple parses JSON numbers via Long.parseLong. Apple's {@code devicectl} + * emits unsigned 64-bit values (notably {@code cpuType.subtype}) that overflow + * signed long — e.g. 18446744071562067970. Quote those literals so parsing + * succeeds; parsers only need fields that fit in long / string anyway. + */ + private static final Pattern JSON_INTEGER = Pattern.compile("(?<=[:\\[,\\s])(-?\\d+)(?=[,\\}\\]\\s])"); + + private static Object parseDevicectlJson(File f) throws IOException, ParseException { + String json = new String(Files.readAllBytes(f.toPath()), StandardCharsets.UTF_8); + Matcher m = JSON_INTEGER.matcher(json); + StringBuffer sb = new StringBuffer(json.length() + 64); + while (m.find()) { + String num = m.group(1); + String replacement = num; + try { + Long.parseLong(num); + } catch (NumberFormatException e) { + replacement = "\"" + num + "\""; + } + m.appendReplacement(sb, Matcher.quoteReplacement(replacement)); + } + m.appendTail(sb); + return new JSONParser().parse(sb.toString()); + } + + /** + * gets list of devices by invoking `xcrun devicectl list devices -j @dest-file` + */ + public static List listDevices(Logger log) throws IOException, ExecuteException, ParseException { + File f = File.createTempFile("robovm-devicectl-", ".list"); + f.delete(); + + new Executor(log, "xcrun") + .args("devicectl", "list", "devices", "-j", f.getAbsolutePath()) + .exec(); + + JSONObject root = (JSONObject) parseDevicectlJson(f); + return DeviceCtlParsers.parseListResponse(root); + } + + /** + * Lists devices, no output to logger, if something goes wrong -- just return empty list + */ + public static List listDevices() { + try { + return listDevices(Logger.NULL_LOGGER); + } catch (Exception e) { + return Collections.emptyList(); + } + } + + public static List listDeviceUDIDs() { + return listDevices().stream().map( d -> d.hardwareProperties.udid).collect(Collectors.toList()); + } + + + public static AppleDevice getDeviceInfo(Logger log, String udid) throws IOException, ExecuteException, ParseException { + File f = File.createTempFile("robovm-devicectl-", ".deviceinfo"); + f.delete(); + + new Executor(log, "xcrun") + .args("devicectl", "device", "info", "details", "-q", "-d", udid, "-j", f.getAbsolutePath()) + .exec(); + + JSONObject root = (JSONObject) parseDevicectlJson(f); + return DeviceCtlParsers.parseDeviceInfoResponse(root); + } + + public static void install(Logger log, String udid, String localAppPath) throws ExecuteException, IOException, ParseException { + File f = File.createTempFile("robovm-devicectl-", ".install"); + f.delete(); + + new Executor(log, "xcrun") + .args("devicectl", "device", "install", "app", "-d", udid, "-j", f.getAbsolutePath(), localAppPath) + .exec(); + // Response unused; still sanitize in case json-simple is invoked later. + parseDevicectlJson(f); + } + + public static void launchAndWait( + Logger log, String udid, String bundleId, + List arguments, + Map env, + OutputStream errStream, + OutputStream outStream + ) throws IOException, ExecuteException { + Executor executor = new Executor(log, "xcrun"); + List args = new ArrayList<>(); + args.add("devicectl"); + args.add("device"); + args.add("process"); + args.add("launch"); + args.add("--device"); + args.add(udid); + args.add("--console"); + args.add("--terminate-existing"); + args.add(bundleId); + if (!arguments.isEmpty()) { + args.add("--"); + args.addAll(arguments); + } + executor.args(args); + if (env != null && !env.isEmpty()) { + Map devEnv = new HashMap<>(); + for (Map.Entry entry : env.entrySet()) { + devEnv.put("DEVICECTL_CHILD_" + entry.getKey(), entry.getValue()); + } + executor.env(devEnv); + } + executor.out(outStream).err(errStream).closeOutputStreams(true).inheritEnv(false); + executor.exec(); + } + + + public static void pairDevice(Logger log, String udid) throws IOException, ExecuteException, ParseException { + new Executor(log, "xcrun") + .args("devicectl", "manage", "pair", "-d", udid) + .exec(); + } + + public static void main(String[] args) { + listDevices().forEach( + d -> System.out.println(d) + ); + } +} diff --git a/ios/tools/patches/apply-devicectl-json-fix.sh b/ios/tools/patches/apply-devicectl-json-fix.sh new file mode 100755 index 000000000..70320f5c3 --- /dev/null +++ b/ios/tools/patches/apply-devicectl-json-fix.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env bash +# Recompile DeviceCtl.java into robovm-gradle-plugin-2.3.25-patched.jar. +# Fixes AppLauncher NumberFormatException on oversized devicectl JSON integers +# (e.g. cpuType.subtype = 18446744071562067970). +set -euo pipefail + +ROOT="$(cd "$(dirname "$0")/.." && pwd)" +JAR="$ROOT/robovm-gradle-plugin-2.3.25-patched.jar" +SRC="$(cd "$(dirname "$0")" && pwd)/DeviceCtl.java" +TMP="$(mktemp -d)" +trap 'rm -rf "$TMP"' EXIT + +test -f "$JAR" || { echo "missing $JAR" >&2; exit 1; } +test -f "$SRC" || { echo "missing $SRC" >&2; exit 1; } + +mkdir -p "$TMP/classes" +javac --release 8 -cp "$JAR" -d "$TMP/classes" "$SRC" +( cd "$TMP/classes" && jar uf "$JAR" org/robovm/compiler/target/ios/devicectl/DeviceCtl.class ) +echo "updated $JAR" +javap -p -cp "$JAR" org.robovm.compiler.target.ios.devicectl.DeviceCtl | grep parseDevicectlJson diff --git a/ios/tools/robovm-gradle-plugin-2.3.25-patched.jar b/ios/tools/robovm-gradle-plugin-2.3.25-patched.jar new file mode 100644 index 000000000..8ed56d2e2 Binary files /dev/null and b/ios/tools/robovm-gradle-plugin-2.3.25-patched.jar differ